PageSourceSearch

https://glucorelief-support-vinxfj4.gamma.site/_next/static/chunks/8220-0ce1d4296f4ca18f.js

js glucorelief-support-vinxfj4.gamma.site collected 2026-10-03 04:06:22 UTC 8,685 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8220],{98220:function(e,t,n){n.d(t,{H$:function(){return j},h3:function(){return y},mU:function(){return C},tg:function(){return E}});var i=n(52322),a=n(16019),o=n(11919),r=n(36895),l=n(71354),s=n(93319),c=n(91012),d=n(50390),u=n(56133),p=n(40110),v=n(27302),f=n(53738),g=n(25925),h=n(41004),x=n(2784),m=n(71113),I=n(89365),_=n(61149);let b={position:"relative",fontWeight:"500",fontFamily:"p22-mackinac-pro, sans-serif",lineHeight:"1.2em",letterSpacing:"-0.03em",backgroundImage:"linear-gradient(50deg, #2b0aff, #ff5b8a 49%, #ff5b8a 53%, #ff5b8a 55%, #fba64b 77%, #f99b52)",backgroundClip:"text",color:"transparent"},w={enter:e=>({position:"absolute",width:"100%",x:"push"===e?"100%":"-100%",opacity:0}),center:{width:"100%",position:"static",x:0,opacity:1},exit:e=>({width:"100%",position:"absolute",x:"push"===e?"-100%":"100%",opacity:0})},C=(0,x.createContext)({push:()=>{},pop:()=>{}}),j=e=>{let{children:t,scenario:n,...l}=e,s=(0,_.i)({base:!1,lg:!0}),c=(0,x.useRef)(),[d,u]=(0,x.useState)([t]),p=(0,x.useCallback)(e=>{c.current="push",u(t=>[...t,e])},[]),v=(0,x.useCallback)(()=>{c.current="pop",u(e=>e.slice(0,-1))},[]),f=(0,x.useMemo)(()=>({push:p,pop:v}),[p,v]),m=d[d.length-1];return(0,a.r)(()=>{t&&u(e=>[...e.slice(0,-1),t])},[t]),(0,i.jsxs)(o.k,{h:"100vh",justify:"center",children:[(0,i.jsx)(o.k,{bg:"white",flex:1,align:"center",maxW:["auto","auto","container.sm"],justify:"center",...l,children:(0,i.jsx)(C.Provider,{value:f,children:(0,i.jsx)(o.k,{overflow:"hidden",position:"relative",flex:"1",h:"100%",align:"center",justify:"center",children:(0,i.jsx)(g.M,{initial:!1,custom:c.current,children:(0,i.jsx)(h.E.div,{custom:c.current,variants:w,initial:!(d.length<=1)&&"enter",animate:"center",exit:"exit",transition:{default:{duration:.25}},style:{flex:1,display:"flex",height:"100%"},children:(0,i.jsx)(o.k,{flex:1,p:[6,12,24],overflow:"auto",align:"center",children:m})},d.length)})})})}),s&&(0,i.jsxs)(o.k,{bgColor:"linen",bg:"url('https://cdn.gamma.app/theme_images/soft-coal/softcoal-7_ce7c7e95.jpg')",bgSize:"cover",bgRepeat:"no-repeat",bgPosition:"center bottom",flex:1,pos:"relative",overflow:"hidden",children:[(0,i.jsx)(h.E.div,{transition:{ease:"easeInOut",duration:2,repeat:1/0},style:{position:"absolute",bottom:"13px",zIndex:1},children:(0,i.jsx)(r.E,{w:"250px",src:"https://cdn.gamma.app/zc87vhr30n8uf3n/fb59abe02a28477d8092f0e4d817bd78/original/just-the-waves.svg",zIndex:1})}),(0,i.jsx)(h.E.div,{animate:{x:[0,3,0],rotate:[0,1.2,0]},transition:{ease:"easeInOut",duration:3,repeat:1/0},style:{position:"absolute",bottom:"45px"},children:n!==I._M.ACCEPT_WORKSPACE_INVITATION&&n!==I._M.JOIN_WITH_CODE?(0,i.jsx)(r.E,{w:"250px",transform:"translate(30px,8px)",src:"https://cdn.gamma.app/zc87vhr30n8uf3n/98e24af9f2294c14b215d5e51963947d/original/just-the-boat.svg",zIndex:0}):(0,i.jsx)(r.E,{w:"250px",transform:"translate(30px,8px)",src:"https://cdn.gamma.app/zc87vhr30n8uf3n/513eb1d0e658464390df98f35a1bc620/original/Frame-86.svg",zIndex:0})})]})]})},y=e=>{let{lede:t,title:n,children:a,showFooter:o,showLogo:u=!1}=e;return(0,i.jsxs)(l.K,{spacing:"6",flex:1,h:"100%",children:[u&&(0,i.jsx)(r.E,{w:"100px",src:"https://assets.website-files.com/62e823626cd4fdd0e5dc1527/62e823626cd4fdc26bdc1576_Gamma.svg",alt:"Gamma logo"}),(0,i.jsx)(s.L,{}),t&&("string"==typeof t?(0,i.jsx)(c.x,{fontSize:"sm",color:"gray.500",children:t}):t),(0,i.jsx)(d.X,{sx:b,fontSize:["4xl","4xl"],children:n}),a,o&&(0,i.jsx)(O,{})]})},E=e=>{let{children:t}=e;return(0,i.jsx)(u.W,{fontSize:"sm",color:"gray.600",children:(0,i.jsxs)(l.K,{mt:12,children:[(0,i.jsx)(p.i,{borderColor:"gray.300",mb:4}),(0,i.jsx)(v.M,{children:t})]})})},O=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.L,{}),(0,i.jsx)(o.k,{align:"center",justify:"center",children:(0,i.jsx)(f.xu,{w:"10",children:m.TR})}),(0,i.jsxs)(c.x,{fontSize:"xs",textAlign:"center",color:"gray.500",children:["\xa9 ",new Date().getFullYear()," Gamma Tech, Inc."]})]})},89365:function(e,t,n){n.d(t,{DW:function(){return O},Mj:function(){return o},_M:function(){return r},r9:function(){return y}});var i,a,o,r,l=n(14274),s=n(38290),c=n(61233),d=n(17018),u=n(19902),p=n(11050),v=n(36651),f=n(18733),g=n(88640),h=n(88232);let x=null,m=null;(i=o||(o={})).LOGIN_COMPLETE="loginComplete",i.LOGIN_FAILURE="loginFailure",i.SIGNUP_COMPLETE="signupComplete";let I=e=>{if(!e)return;let{userId:t,workspaceId:n}=e;p.co.identify(t,{user_org_id:n,anonymous_user:!1,gamma_user_id:t})},_=(e,t)=>
1(0,s.WQq)().mutate({mutation:s.ftw,variables:{input:{id:e,referrer:t}}}),b=()=>{let e=(0,d.py)(),t=(0,v.Yu)({set:{locale:e}});return(0,s.WQq)().mutate({mutation:s.POY,variables:{patch:t}})},w=e=>["docAccessLink","docInvitation"].includes(e),C=e=>{let{data:t,redirectTo:n}=e,i=n||(0,h.wH)();if(t){let{welcomeDocId:e,newWorkspace:n,signupFlow:a}=t;if(e)try{f.W.setItem(g.H.welcomeDocId,JSON.stringify(e))}catch(e){}if(w(a))return i;n&&(i="/welcome?newWorkspace=true")}return i},j=e=>{var t,n,i,a,r,s,v,f,g,h,x,m,j,y,E,O;let{event:S,errorCallback:k,redirectTo:T,doneCallback:N}=e,P=(0,u.K)(),A=P.get(),{data:L}=S;if(L.type===o.LOGIN_COMPLETE){let e=T||"/";if(I(null==L?void 0:null===(t=L.payload)||void 0===t?void 0:t.data),p.co.track(p.AA.LOGIN,{provider:"google"},{context:A}),!T&&N){N();return}let o=null==L?void 0:null===(i=L.payload)||void 0===i?void 0:null===(n=i.data)||void 0===n?void 0:n.isFirstWorkspace;o&&(null==L?void 0:null===(a=L.payload)||void 0===a?void 0:a.data)&&(e=C({data:null===(r=L.payload)||void 0===r?void 0:r.data,redirectTo:T})),window.location.href=e}if(L.type===o.SIGNUP_COMPLETE){I(null==L?void 0:null===(s=L.payload)||void 0===s?void 0:s.data),p.co.track(p.AA.SIGNUP,{flow:null==L?void 0:null===(f=L.payload)||void 0===f?void 0:null===(v=f.data)||void 0===v?void 0:v.signupFlow,provider:"google"},{context:A});let e=null==L?void 0:null===(h=L.payload)||void 0===h?void 0:null===(g=h.data)||void 0===g?void 0:g.userId,t=e&&l.v.IS_USER_TESTING_SESSION?_(e,"USER_TESTING"):Promise.resolve();e&&(0,d.u_)()&&b();let n=T||"/",i=null==L?void 0:null===(m=L.payload)||void 0===m?void 0:null===(x=m.data)||void 0===x?void 0:x.isFirstWorkspace;if(!T&&N&&!i){N();return}if(i&&(null==L?void 0:null===(j=L.payload)||void 0===j?void 0:j.data)){(0,c.j6)();let{signupFlow:e}=L.payload.data;if(w(e)&&N){N();return}n=C({data:null===(y=L.payload)||void 0===y?void 0:y.data,redirectTo:T})}t.then(()=>{window.location.href=n})}if(L.type===o.LOGIN_FAILURE){let e=null==S?void 0:null===(O=S.data)||void 0===O?void 0:null===(E=O.payload)||void 0===E?void 0:E.code;if(!k){console.error("No error callback defined");return}if(!e){console.error("No code defined");return}k(e)}};(a=r||(r={})).ACCEPT_DOC_INVITATION="accept-doc-invitation",a.ACCEPT_WORKSPACE_INVITATION="accept-workspace-invitation",a.DOC_ACCESS_LINK="doc-access-link",a.JOIN_WITH_CODE="join-with-code",a.DEFAULT_LOGIN="login",a.SIGNUP="signup";let y={"accept-doc-invitation":"docInvitation","accept-workspace-invitation":"workspaceInvitation","doc-access-link":"docAccessLink","join-with-code":"joinLink",login:"signup",signup:"signup"},E=(e,t)=>{switch(e){case r.JOIN_WITH_CODE:{let{workspaceId:e,inviteCode:n,referredByUserId:i}=t,a=new URL("".concat(l.v.API_HOST||"https://gamma.app","/organizations/").concat(e,"/join/").concat(n));return i&&a.searchParams.set("referredByUserId",i),a.toString()}case r.ACCEPT_DOC_INVITATION:{let{docId:e,email:n,inviteCode:i}=t;return"".concat(l.v.API_HOST,"/invitations/docs/").concat(e,"/?inviteCode=").concat(i,"&email=").concat(n)}case r.ACCEPT_WORKSPACE_INVITATION:{let{workspaceId:e,email:n,inviteCode:i}=t;return"".concat(l.v.API_HOST,"/invitations/workspaces/").concat(e,"?inviteCode=").concat(i,"&email=").concat(n)}case r.DOC_ACCESS_LINK:{let{docId:e,shareToken:n}=t;return"".concat(l.v.API_HOST,"/access-links/docs/").concat(e,"/?token=").concat(n)}case r.SIGNUP:{let{inviteCode:e,referredByUserId:n,partnerStackClickId:i,partnerStackPartnerId:a}=t,o=new URL("".concat(l.v.API_HOST||"https://gamma.app","/signup"));return e&&o.searchParams.set("inviteCode",e),n&&o.searchParams.set("referredByUserId",n),i&&o.searchParams.set("partnerStackClickId",i),a&&o.searchParams.set("partnerStackPartnerId",a),o.toString()}default:return"".concat(l.v.API_HOST,"/login")}},O=e=>{let{type:t,params:n,errorCallback:i,redirectTo:a,doneCallback:o}=e,r=E(t,n),l="toolbar=no, menubar=no, width=600, height=700, top=100, left=100";null===x||x.closed?x=window.open(r,t,l):m!==r?null!==(x=window.open(r,t,l))&&x.focus():x.focus(),(0,h.a_)().addEventListener("message",e=>{j({event:e,errorCallback:i,redirectTo:a,doneCallback:o})}),m=r}}}]);
2//# sourceMappingURL=8220-0ce1d4296f4ca18f.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.