PageSourceSearch

https://gaiafamily.com/en-us/_next/static/chunks/app/portal/login/…?dpl=dpl_CJPurkrPeaL5jw4oF8DS75wyXHbC

js gaiafamily.com collected 2026-09-24 21:51:18 UTC 10,175 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ed1a6a36-6446-445b-acb7-2ddc3f076edc",e._sentryDebugIdIdentifier="sentry-dbid-ed1a6a36-6446-445b-acb7-2ddc3f076edc")}catch(e){}{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=Object.assign({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:gaia-app":!0})}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7183],{3595:(e,t,a)=>{"use strict";a.d(t,{$:()=>d,r:()=>o});var n=a(95155),s=a(18940),i=a(49692),r=a(32467),l=a(83101);a(12115);let o=(0,l.F)("cursor-pointer inline-flex items-center justify-center gap-2 p-4 whitespace-nowrap uppercase text-sm tracking-wide leading-120 transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 aria-invalid:border-destructive",{variants:{variant:{default:"bg-gaia-soft-black text-gaia-soft-white shadow-xs hover:bg-gaia-soft-black/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:text-accent-foreground",link:"bg-interactive text-interactive-foreground hover:bg-interactive/90"},size:{default:"h-auto",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default"}});function d(e){let{className:t,variant:a,asChild:l=!1,size:d="default",loading:c=!1,loadingText:u,disabled:m,children:g,...f}=e,x=l?r.Slot:"button",b=m||c,p=c&&!l?(0,n.jsxs)("span",{className:"flex items-center gap-2",children:[(0,n.jsx)(s.I,{name:"spinner",className:"size-4 animate-spin"}),u]}):g;return(0,n.jsx)(x,{"data-slot":"button",className:(0,i.cn)(o({variant:a,size:d,className:t})),tabIndex:0,disabled:b,...f,children:p})}},18940:(e,t,a)=>{"use strict";a.d(t,{I:()=>i});var n=a(95155),s=a(49692);let i=(0,a(12115).forwardRef)((e,t)=>{let{className:a,style:i={},noMask:r,...l}=e;return(0,n.jsx)("span",{ref:t,className:(0,s.cn)("pointer-events-none block [contain:strict] flex-shrink-0",{"[mask-image:var(--image)] [mask-size:contain] [mask-position:center] [mask-repeat:no-repeat] bg-current":!r,"[background-image:var(--image)] [background-size:contain] [background-position:center] [background-repeat:no-repeat]":r},a),style:{...i,"--image":'url("'.concat(e.path?e.path:"/en-us/icons/".concat(e.name,".svg"),'")')},...l})});i.displayName="Icon"},42307:(e,t,a)=>{"use strict";a.d(t,{p:()=>o});var n=a(95155),s=a(49692),i=a(35299),r=a(12115);let l="file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground flex w-full min-w-0 p-4 rounded-3 border border-gaia-soft-black bg-transparent text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 aria-invalid:border-destructive",o=(0,r.forwardRef)((e,t)=>{let{className:a,type:r,isLoading:o,icon:d,...c}=e;return o||d?(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)("input",{ref:t,type:r,"data-slot":"input",disabled:o,className:(0,s.cn)(l,o&&"pl-12",a),...c,value:o?"Loading...":c.value}),(0,n.jsxs)("div",{className:"absolute left-4 top-1/2 -translate-y-1/2 flex items-center gap-2",children:[!o&&d,o&&(0,n.jsx)(i.A,{className:"h-4 w-4 animate-spin"})]})]}):(0,n.jsx)("input",{ref:t,type:r,"data-slot":"input",className:(0,s.cn)(l,a),...c})});o.displayName="Input"},54626:(e,t,a)=>{"use strict";a.d(t,{PatientPortalLogin:()=>j});var n=a(95155),s=a(76924),i=a(3595),r=a(57817),l=a(42307),o=a(66942),d=a(11149),c=a.n(d),u=a(12115),m=a(22544),g=a(15653);let f=g.z.object({email:g.z.string().email({message:"Please enter a valid email address"})}),x=e=>{let{onSubmit:t,isLoading:a=!1}=e,[d,g]=(0,u.useState)(null),x=(0,m.mN)({resolver:(0,o.u)(f),defaultValues:{email:""}}),b=x.handleSubmit(e=>{if(!d){let t=c().run({email:e.email});if(null==t?void 0:t.full)return void g(t.full)}t(e.email)});return(0,n.jsxs)(r.lV,{...x,children:[(0,n.jsx)("h1",{className:"text-4xl",children:"Log in to Gaia"}),(0,n.jsxs)("form",{className:"flex flex-col gap-y-6",onSubmit:b,children:[(0,n.jsx)(r.zB,{control:x.control,name:"email",render:e=>{let{field:t}=e;return(0,n.jsxs)(r.eI,{children:[(0,n.jsx)(r.lR,{className:"text-base",children:"Email address"}),(0,n.jsx)(r.MJ,{children:(0,n.jsx)(l.p,{type:"email",placeholder:"[email protected]",...t,onChange:e=>
1{t.onChange(e),g(null)},onBlur:e=>{var a;t.onBlur();let n=c().run({email:e.target.value});g(null!=(a=null==n?void 0:n.full)?a:null)},className:"w-full bg-white",disabled:a})}),(0,n.jsx)(r.C5,{}),d&&(0,n.jsxs)("button",{type:"button",onClick:()=>{x.setValue("email",d,{shouldValidate:!0}),g(null)},className:"justify-self-start text-left cursor-pointer font-sans text-sm leading-140 text-gaia-soft-black-700 underline underline-offset-2 rounded-3 transition-colors hover:text-gaia-soft-black outline-none focus-visible:ring-2 focus-visible:ring-ring/50",children:["Did you mean ",d,"?"]})]})}}),(0,n.jsx)(i.$,{type:"submit",className:"w-full tracking-widest font-mono",loading:a,loadingText:"Sending...",children:"Send Magic Link"})]}),(0,n.jsx)(s.a3,{className:"text-center text-gaia-soft-black-700",children:"We’ll email you a link to log in to Gaia."})]})};var b=a(49692);let p=e=>{let{email:t,resend:a,isLoading:s=!1}=e,[i,r]=(0,u.useState)(20);(0,u.useEffect)(()=>{let e;return i>0&&(e=setInterval(()=>{r(e=>e-1)},1e3)),()=>{e&&clearInterval(e)}},[i]);let l=s||i>0,o=(0,u.useMemo)(()=>s?"Sending...":i>0?"Please check your email (".concat(i,"s)"):"Didn't receive an email? Click here",[s,i]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("img",{src:"/en-us/images/letter.webp",alt:"Mail letter",className:"w-[144px] mx-auto"}),(0,n.jsx)("h1",{className:"text-center text-4xl",children:"Check your email"}),(0,n.jsxs)("div",{className:"flex flex-col gap-y-2 text-center",children:[(0,n.jsxs)("p",{className:"text-pretty leading-140",children:["We’ve sent a login link to ",(0,n.jsx)("span",{className:"font-medium leading-140",children:t})]}),(0,n.jsx)("p",{className:"text-pretty max-w-sm mx-auto leading-140",children:"Click on the link in the email to log in to Gaia."}),(0,n.jsx)("button",{type:"button",onClick:()=>{a(),r(20)},className:(0,b.cn)("cursor-pointer text-primary font-sans underline mt-4",{"text-gaia-soft-black-500 cursor-not-allowed":l}),disabled:l,children:o})]})]})};var v=a(32813),h=a(27122),y=a(80549);let j=()=>{let[e,t]=(0,u.useState)(""),a=(0,y.n)({mutationFn:v.Tr,onSuccess:(e,a)=>{t(a)},onError:e=>{h.Cp(e,{tags:{location:"PatientPortalLogin",action:"sendMagicLink"}})}});return e?(0,n.jsx)(p,{email:e,resend:()=>a.mutate(e),isLoading:a.isPending}):(0,n.jsx)(x,{onSubmit:e=>a.mutate(e),isLoading:a.isPending})}},57817:(e,t,a)=>{"use strict";a.d(t,{C5:()=>v,MJ:()=>b,Rr:()=>p,Wd:()=>m,eI:()=>f,lR:()=>x,lV:()=>d,zB:()=>u});var n=a(95155),s=a(97241),i=a(49692),r=a(32467),l=a(12115),o=a(22544);let d=o.Op,c=l.createContext({}),u=e=>{let{...t}=e;return(0,n.jsx)(c.Provider,{value:{name:t.name},children:(0,n.jsx)(o.xI,{...t})})},m=()=>{let e=l.useContext(c),t=l.useContext(g),{getFieldState:a}=(0,o.xW)(),n=(0,o.lN)({name:e.name}),s=a(e.name,n);if(!e)throw Error("useFormField should be used within <FormField>");let{id:i}=t;return{id:i,name:e.name,formItemId:"".concat(i,"-form-item"),formDescriptionId:"".concat(i,"-form-item-description"),formMessageId:"".concat(i,"-form-item-message"),...s}},g=l.createContext({});function f(e){let{className:t,...a}=e,s=l.useId();return(0,n.jsx)(g.Provider,{value:{id:s},children:(0,n.jsx)("div",{"data-slot":"form-item",className:(0,i.cn)("grid gap-2",t),...a})})}function x(e){let{className:t,...a}=e,{error:r,formItemId:l}=m();return(0,n.jsx)(s.J,{"data-slot":"form-label","data-error":!!r,className:(0,i.cn)("data-[error=true]:text-destructive",t),htmlFor:l,...a})}function b(e){let{...t}=e,{error:a,formItemId:s,formDescriptionId:i,formMessageId:l}=m();return(0,n.jsx)(r.Slot,{"data-slot":"form-control",id:s,"aria-describedby":a?"".concat(i," ").concat(l):"".concat(i),"aria-invalid":!!a,...t})}function p(e){let{className:t,...a}=e,{formDescriptionId:s}=m();return(0,n.jsx)("p",{"data-slot":"form-description",id:s,className:(0,i.cn)("text-muted-foreground text-sm",t),...a})}function v(e){var t;let{className:a,...s}=e,{error:r,formMessageId:l}=m(),o=r?String(null!=(t=null==r?void 0:r.message)?t:""):s.children;return o?(0,n.jsx)("p",{"data-slot":"form-message",id:l,className:(0,i.cn)("text-destructive text-sm",a),...s,children:o}):null}},79936:(e,t,a)=>{Promise.resolve().then(a.bind(a,32467)),Promise.resolve().then(a.t.bind(a,52619,23)),Promise.resolve().then(a.t.bind(a,81356,23)),Promise.resolve().then(a.bind(a,54626)),Promise.resolve().then(a.bind(a,74468)),Promise.resolve().then(a.bind(a,14441))},97241:(e,t,a)=>{"use strict";a.d(t,{J:()=>r});var n=a(95155),s=a(49692),i=a(32894);function r(e){let{className:t,...a}=e;return(0,n.jsx)(i.b,{"data-slot":"label",className:(0,s.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",t),...a})}a(12115)}},e=>{e.O(0,[1356,4909,5653,3421,5812,9951,5333,3106,6489,3363,3555,9692,7172,2374,4850,8441,8229,7956,7358],()=>e(e.s=79936)),_N_E=e.O()}]);

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.