{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/0n2awv5IimfHY72OWSlS/YMczl1GWHu5RGeavTcQH/UserProfile.js"],
  "sourcesContent": ["// Import required modules\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{createElement as _createElement}from\"react\";import{useEffect,useState}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";// Create a store to manage authentication state\nconst useAuthStore=createStore({isAuthenticated:false,token:\"\",profile:{}});const useAgentsStore=createStore({agents:{},lastUsedAgents:[]});const useRecentViewStore=createStore({props:{}});let recentAgentsObject=\"\";async function fetchFromBE(url,token){if(!token){throw new Error(\"No authentication token found.\");}try{const response=await fetch(url,{method:\"GET\",headers:{Authorization:`Bearer ${token}`,\"Content-Type\":\"application/json\"}});if(!response.ok){throw new Error(`HTTP error! Status: ${response.status}`);}const data=await response.json();return data;}catch(error){console.error(\"Error fetching data:\",error);throw error;}}// Helper to verify the current session\nasync function verifyToken(){try{// Ensure Amplify is configured properly\nif(window.location.href.includes(\"staging\")){window.aws_amplify.Amplify.configure({Auth:{Cognito:{aws_project_region:\"us-east-1\",aws_cognito_region:\"us-east-1\",aws_user_pools_id:\"us-east-1_Mit61TcFr\",aws_user_pools_web_client_id:\"1l2b3956g9sibcmf9umf9m1d0l\",aws_cognito_domain:\"enso-v2-user-pool-staging.auth.us-east-1.amazoncognito.com\",userPoolClientId:\"1l2b3956g9sibcmf9umf9m1d0l\",userPoolId:\"us-east-1_Mit61TcFr\"},loginWith:{oauth:{domain:\"enso-v2-user-pool-staging.auth.us-east-1.amazoncognito.com\",scopes:[\"aws.cognito.signin.user.admin\",\"openid\",\"email\",\"profile\"],redirectSignIn:window.location.origin+\"/app/callback\",redirectSignOut:window.location.origin+\"/app/auth/signin\",responseType:\"code\"}},region:\"us-east-1\",userPoolId:\"us-east-1_Mit61TcFr\",userPoolWebClientId:\"1l2b3956g9sibcmf9umf9m1d0l\"}});}else{window.aws_amplify.Amplify.configure({Auth:{Cognito:{aws_project_region:\"us-east-1\",aws_cognito_region:\"us-east-1\",aws_user_pools_id:\"us-east-1_f0YJtDSt0\",aws_user_pools_web_client_id:\"2t7fpt25pcq5al9lrqvit1hr1d\",aws_cognito_domain:\"enso-v2-user-pool-prod.auth.us-east-1.amazoncognito.com\",userPoolClientId:\"1l2b3956g9sibcmf9umf9m1d0l\",userPoolId:\"us-east-1_Mit61TcFr\"},region:\"us-east-1\",userPoolId:\"us-east-1_f0YJtDSt0\",loginWith:{oauth:{domain:\"enso-v2-user-pool-prod.auth.us-east-1.amazoncognito.com\",scopes:[\"aws.cognito.signin.user.admin\",\"openid\",\"email\",\"profile\"],redirectSignIn:window.location.origin+\"/app/callback\",redirectSignOut:window.location.origin+\"/app/auth/signin\",responseType:\"code\"}},userPoolWebClientId:\"2t7fpt25pcq5al9lrqvit1hr1d\"}});}// Retrieve current session\nconst session=await window.aws_amplify.Auth.currentSession();const token=session.getAccessToken().getJwtToken();return{isAuth:true,token};}catch(error){console.error(\"Authentication error:\",error);return{isAuth:false,token:\"\"};}}export function withNonAuthView(Component){return props=>{const[authStore,setAuthStore]=useAuthStore();const[isAuthenticated,setIsAuthenticated]=useState(false);useEffect(()=>{verifyToken().then(authenticated=>{setIsAuthenticated(authenticated.isAuth);setAuthStore({isAuthenticated:authenticated.isAuth,token:authenticated.token});});},[]);const handleSignUpClick=()=>{window.location.href=\"/app/auth/signup\";};if(isAuthenticated)return null;return /*#__PURE__*/_jsx(Component,{...props,onClick:e=>{if(props.onClick)props.onClick(e);handleSignUpClick();},style:{cursor:\"pointer\",...props.style}});};}export function withLogout(Component){return props=>{const[authStore,setAuthStore]=useAuthStore();const[isAuthenticated,setIsAuthenticated]=useState(false);const[loading,setLoading]=useState(true);useEffect(()=>{},[]);const handleLogout=async()=>{try{await window.aws_amplify.Auth.signOut({global:true,oauth:{redirectUrl:window.location.origin+\"/app/auth/signin\"}});setAuthStore({isAuthenticated:false,token:\"\"});window.location.reload();}catch(error){console.error(\"Logout error:\",error);}};if(loading)return null;return isAuthenticated?/*#__PURE__*/_jsx(Component,{...props,onClick:handleLogout,style:{cursor:\"pointer\",...props.style}}):null;};}// Higher-order component for authenticated views\nexport function withAuthView(Component){return props=>{const[authStore,setAuthStore]=useAuthStore();const[isAuthenticated,setIsAuthenticated]=useState(false);useEffect(()=>{verifyToken().then(authenticated=>{setIsAuthenticated(authenticated.isAuth);setAuthStore({isAuthenticated:authenticated});});},[]);return isAuthenticated?/*#__PURE__*/_jsx(Component,{...props}):null;};}// Higher-order component for authenticated profile views\nexport function withAuthProfileView(Component){return props=>{const[authStore,setAuthStore]=useAuthStore();useEffect(()=>{verifyToken()// Verify token on mount\n;},[]);if(authStore.isAuthenticated){let logoUrl=authStore?.profile?.logoUrl;if(logoUrl===\"BUSINESS_VALUE_ERROR\"||logoUrl===\"\")logoUrl=\"https://cdn.pixabay.com/photo/2015/10/05/22/37/blank-profile-picture-973460_1280.png\";props.background={...props.background,src:logoUrl??\"https://cdn.pixabay.com/photo/2015/10/05/22/37/blank-profile-picture-973460_1280.png\"};}return authStore.isAuthenticated?/*#__PURE__*/_jsx(\"div\",{className:\"framer-hover-component\",children:/*#__PURE__*/_jsx(Component,{...props})}):null;};}// Higher-order component for authenticated profile views\nexport function withAuthLogoView(Component){return props=>{const[authStore,setAuthStore]=useAuthStore();const[logoURL,setLogoURL]=useState(\"\");useEffect(()=>{if(authStore.isAuthenticated&&authStore?.profile?.logoUrl!==\"BUSINESS_VALUE_ERROR\"){setLogoURL(authStore?.profile?.logoUrl);}},[authStore.profile.logoUrl]);if(authStore.isAuthenticated){props.background={...props.background,src:logoURL};}// TODO - UNCOMMENT TO SHOW THE LOGO IN SMALL ICON\n// return authStore.isAuthenticated ? (\n//     <div className=\"framer-hover-component\">\n//         <Component {...props} />\n//     </div>\n// ) : null\nreturn null;};}// Higher-order component for profile name\nexport function withAuthProfileNameView(Component){return props=>{const[authStore,setAuthStore]=useAuthStore();const[agentsStore,setAgentsStore]=useAgentsStore();const[firstName,setFirstName]=useState(\"Loading...\");const[lastName,setLastName]=useState(\"\");useEffect(()=>{async function fetchAndSetProfile(){try{let profile=null;let lastUsedAgents=null;if(window.location.href.includes(\"staging\")){profile=await fetchFromBE(\"https://staging.enso.bot/users/api/v1/user\",authStore.token);lastUsedAgents=await fetchFromBE(\"https://staging.enso.bot/agents/api/v1/agent/used\",authStore.token);}else{profile=await fetchFromBE(\"https://prod.enso.bot/users/api/v1/user\",authStore.token);lastUsedAgents=await fetchFromBE(\"https://prod.enso.bot/agents/api/v1/agent/used\",authStore.token);}// Update global state\nsetAuthStore(prevStore=>({...prevStore,profile}));// Update global state\nsetAgentsStore(prevStore=>({...prevStore,lastUsedAgents}));// Update local state\nsetFirstName(profile.firstName);setLastName(profile.lastName);}catch(error){console.error(\"Failed to fetch profile:\",error);setFirstName(\"\");}}if(authStore.token){fetchAndSetProfile();}},[authStore.token]);// Dynamically update the placeholder text\nuseEffect(()=>{if(authStore.isAuthenticated){setFirstName(authStore?.profile?.firstName);setLastName(authStore?.profile?.lastName);}},[authStore.profile.firstName]);window.Intercom(\"boot\",{api_base:\"https://api-iam.intercom.io\",app_id:\"v35l34o0\",user_id:authStore?.profile?.email,name:authStore?.profile?.firstName+\" \"+authStore?.profile?.lastName,email:authStore?.profile?.email});// Pass the updated props dynamically\nprops.children.props.children.props.children=firstName;if(lastName){props.children.props.children.props.children+=\" \"+lastName[0];}return authStore.isAuthenticated?/*#__PURE__*/_jsx(\"div\",{className:\"framer-hover-component\",children:/*#__PURE__*/_createElement(Component,{...props,key:firstName})}):null;};}export function withNonAuthSignInView(Component){return props=>{const[authStore,setAuthStore]=useAuthStore();const[isAuthenticated,setIsAuthenticated]=useState(false);// Check authentication state on mount\nuseEffect(()=>{verifyToken().then(authenticated=>{setIsAuthenticated(authenticated.isAuth);setAuthStore({isAuthenticated:authenticated.isAuth,token:authenticated.token});});},[]);// Handle navigation to Sign In\nconst handleSignInClick=()=>{window.location.href=\"/app/auth/signin\";};return!isAuthenticated?/*#__PURE__*/_jsx(\"div\",{onClick:handleSignInClick,style:{cursor:\"pointer\"},children:/*#__PURE__*/_jsx(Component,{...props})}):null;};}export function withNonAuthOverride(Component){return props=>{const[authStore,setAuthStore]=useAuthStore();const[isAuthenticated,setIsAuthenticated]=useState(authStore.isAuthenticated);// Check authentication state on mount\nuseEffect(()=>{verifyToken().then(authenticated=>{setIsAuthenticated(authenticated.isAuth);setAuthStore({isAuthenticated:authenticated.isAuth,token:authenticated.token});});},[]);// Only render the wrapped component if the user is NOT authenticated\nreturn!isAuthenticated?/*#__PURE__*/_jsx(Component,{...props}):null;};}// Higher-order component for business name\nexport function withAuthProfileBusinessNameView(Component){return props=>{const[authStore,setAuthStore]=useAuthStore();const[firstName,setFirstName]=useState(\"\");// Dynamically update the placeholder text\nuseEffect(()=>{if(authStore.isAuthenticated){setFirstName(authStore?.profile?.businessName);}},[authStore.profile.businessName]);// Pass the updated props dynamically\nprops.children.props.children.props.children=firstName;return authStore.isAuthenticated?/*#__PURE__*/_jsx(\"div\",{className:\"framer-hover-component\",children:/*#__PURE__*/_createElement(Component,{...props,key:firstName})}):null;};}// Higher-order component for business name\nexport function getLastUsedAgents(Component){return props=>{const[authStore,setAuthStore]=useAuthStore();const[agentsStore,setAgentsStore]=useAgentsStore();const[lastUsedAgents,setLastUsedAgents]=useState({});useEffect(()=>{if(agentsStore.lastUsedAgents){setLastUsedAgents(agentsStore.lastUsedAgents);}},[agentsStore.lastUsedAgents]);if(agentsStore?.lastUsedAgents.length>0){while(props.children.length>agentsStore?.lastUsedAgents.length){props.children.pop();}for(let i=0;i<props.children.length;i++){window.myNewFunction=props;props.children[i].props.href=window.location.origin+\"/app/agent/\"+agentsStore?.lastUsedAgents[i].agentId;props.children[i].props.children.props.children[0].props.children.props.children[0].props.background.src=agentsStore?.lastUsedAgents?agentsStore?.lastUsedAgents[i].agentBackground:\"\";props.children[i].props.children.props.children[1].props.children.props.children.props.children.props.children=agentsStore?.lastUsedAgents[i]?agentsStore?.lastUsedAgents[i].description:\"\";props.children[i].props.children.props.children[0].props.children.props.children[1].props.children.props.children.props.children=agentsStore?.lastUsedAgents[i]?agentsStore?.lastUsedAgents[i].title:\"\";}}window.myNewFunction=props;return /*#__PURE__*/_createElement(Component,{...props,key:lastUsedAgents[0]?.title});};}export function withAuthViewRecentAgents(Component){return props=>{const[isAuthenticated,setIsAuthenticated]=useState(false);// Check authentication state on mount\nuseEffect(()=>{verifyToken().then(authenticated=>{setIsAuthenticated(authenticated.isAuth);setAuthStore({isAuthenticated:authenticated});});},[]);const[authStore,setAuthStore]=useAuthStore();const[agentsStore,setAgentsStore]=useAgentsStore();const[lastUsedAgents,setLastUsedAgents]=useState({});useEffect(()=>{if(agentsStore.lastUsedAgents){setLastUsedAgents(agentsStore.lastUsedAgents);}},[agentsStore.lastUsedAgents]);if(agentsStore?.lastUsedAgents.length<=0){return null;}return isAuthenticated?/*#__PURE__*/_jsx(Component,{...props}):null;};}\nexport const __FramerMetadata__ = {\"exports\":{\"withAuthLogoView\":{\"type\":\"reactHoc\",\"name\":\"withAuthLogoView\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNonAuthOverride\":{\"type\":\"reactHoc\",\"name\":\"withNonAuthOverride\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAuthProfileView\":{\"type\":\"reactHoc\",\"name\":\"withAuthProfileView\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAuthProfileNameView\":{\"type\":\"reactHoc\",\"name\":\"withAuthProfileNameView\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNonAuthSignInView\":{\"type\":\"reactHoc\",\"name\":\"withNonAuthSignInView\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAuthViewRecentAgents\":{\"type\":\"reactHoc\",\"name\":\"withAuthViewRecentAgents\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNonAuthView\":{\"type\":\"reactHoc\",\"name\":\"withNonAuthView\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAuthProfileBusinessNameView\":{\"type\":\"reactHoc\",\"name\":\"withAuthProfileBusinessNameView\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withLogout\":{\"type\":\"reactHoc\",\"name\":\"withLogout\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAuthView\":{\"type\":\"reactHoc\",\"name\":\"withAuthView\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getLastUsedAgents\":{\"type\":\"reactHoc\",\"name\":\"getLastUsedAgents\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./UserProfile.map"],
  "mappings": "gJAEA,IAAMA,EAAaC,EAAY,CAAC,gBAAgB,GAAM,MAAM,GAAG,QAAQ,CAAC,CAAC,CAAC,EAAQC,EAAeD,EAAY,CAAC,OAAO,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC,EAAQE,EAAmBF,EAAY,CAAC,MAAM,CAAC,CAAC,CAAC,EAA4B,eAAeG,EAAYC,EAAIC,EAAM,CAAC,GAAG,CAACA,EAAO,MAAM,IAAI,MAAM,gCAAgC,EAAG,GAAG,CAAC,IAAMC,EAAS,MAAM,MAAMF,EAAI,CAAC,OAAO,MAAM,QAAQ,CAAC,cAAc,UAAUC,CAAK,GAAG,eAAe,kBAAkB,CAAC,CAAC,EAAE,GAAG,CAACC,EAAS,GAAI,MAAM,IAAI,MAAM,uBAAuBA,EAAS,MAAM,EAAE,EAAoC,OAAtB,MAAMA,EAAS,KAAK,CAAc,OAAOC,EAAM,CAAC,cAAQ,MAAM,uBAAuBA,CAAK,EAAQA,CAAM,CAAC,CAC1nB,eAAeC,GAAa,CAAC,GAAG,CAChC,OAAGC,EAAO,SAAS,KAAK,SAAS,SAAS,EAAGA,EAAO,YAAY,QAAQ,UAAU,CAAC,KAAK,CAAC,QAAQ,CAAC,mBAAmB,YAAY,mBAAmB,YAAY,kBAAkB,sBAAsB,6BAA6B,6BAA6B,mBAAmB,6DAA6D,iBAAiB,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AAGC,EAAM,IAAI0B,CAAS,CAAC,CAAC,CAAC,EAAE,IAAK,CAAE",
  "names": ["useAuthStore", "createStore", "useAgentsStore", "useRecentViewStore", "fetchFromBE", "url", "token", "response", "error", "verifyToken", "window", "withNonAuthView", "Component", "props", "authStore", "setAuthStore", "useAuthStore", "isAuthenticated", "setIsAuthenticated", "ye", "ue", "authenticated", "handleSignUpClick", "p", "e", "withLogout", "loading", "setLoading", "handleLogout", "withAuthView", "withAuthProfileView", "logoUrl", "withAuthLogoView", "logoURL", "setLogoURL", "withAuthProfileNameView", "agentsStore", "setAgentsStore", "useAgentsStore", "firstName", "setFirstName", "lastName", "setLastName", "fetchAndSetProfile", "profile", "lastUsedAgents", "prevStore", "B", "withNonAuthSignInView", "withNonAuthOverride", "withAuthProfileBusinessNameView"]
}
