1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,58379,e=>{"use strict";let t=(0,e.i(56420).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,t])},76639,e=>{"use strict";var t=e.i(43476),r=e.i(71645),s=e.i(74080),n=e.i(75157);e.s(["Dialog",0,function({open:e,onOpenChange:n,children:i}){let[l,a]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{a(!0)},[]),(0,r.useEffect)(()=>{if(!l||!e)return;let t=document.body,r=document.documentElement,s=t.style.overflow,n=r.style.overflow,i=t.style.paddingRight,a=window.innerWidth-r.clientWidth;return r.style.overflow="hidden",t.style.overflow="hidden",a>0&&(t.style.paddingRight=`${a}px`),()=>{t.style.overflow=s,r.style.overflow=n,t.style.paddingRight=i}},[l,e]),e&&l)?(0,s.createPortal)((0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"fixed inset-0 z-[200] bg-black/50",onClick:()=>n(!1)}),(0,t.jsx)("div",{className:"fixed inset-0 z-[200] flex items-center justify-center p-4",children:i})]}),document.body):null},"DialogContent",0,function({className:e,children:r}){return(0,t.jsx)("div",{className:(0,n.cn)("relative z-50 w-full rounded-lg border border-[var(--theme_border)] bg-white shadow-lg",e),onClick:e=>e.stopPropagation(),children:r})},"DialogFooter",0,function({className:e,children:r}){return(0,t.jsx)("div",{className:(0,n.cn)("border-t border-[var(--theme_border)] px-6 py-4 flex flex-row gap-2 justify-end",e),children:r})},"DialogHeader",0,function({className:e,children:r}){return(0,t.jsx)("div",{className:(0,n.cn)("border-b border-[var(--theme_border)] px-6 py-4",e),children:r})},"DialogTitle",0,function({className:e,children:r}){return(0,t.jsx)("h2",{className:(0,n.cn)("text-lg font-semibold",e),children:r})}])},11568,e=>{"use strict";var t=e.i(58379);e.s(["LoaderCircle",()=>t.default])},64942,e=>{"use strict";var t=e.i(43476),r=e.i(57951);function s(){return(0,t.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true",children:[(0,t.jsx)("path",{fill:"#4285F4",d:"M23.49 12.27c0-.79-.07-1.55-.2-2.27H12v4.3h6.44a5.51 5.51 0 0 1-2.39 3.62v3h3.86c2.26-2.08 3.58-5.15 3.58-8.65Z"}),(0,t.jsx)("path",{fill:"#34A853",d:"M12 24c3.24 0 5.95-1.07 7.93-2.9l-3.86-3A7.17 7.17 0 0 1 12 19.44a7.2 7.2 0 0 1-6.77-4.97H1.24v3.1A12 12 0 0 0 12 24Z"}),(0,t.jsx)("path",{fill:"#FBBC05",d:"M5.23 14.47A7.2 7.2 0 0 1 4.84 12c0-.86.15-1.7.39-2.47v-3.1H1.24A12 12 0 0 0 0 12c0 1.93.46 3.75 1.24 5.53l3.99-3.06Z"}),(0,t.jsx)("path",{fill:"#EA4335",d:"M12 4.77c1.76 0 3.34.61 4.58 1.8l3.44-3.44C17.95 1.18 15.24 0 12 0A12 12 0 0 0 1.24 6.47l3.99 3.06A7.2 7.2 0 0 1 12 4.77Z"})]})}e.s(["default",0,function({callbackUrl:e="/account",label:n="Continue with Google"}){let{signInWithGoogle:i}=(0,r.useAuthContext)();return(0,t.jsxs)("button",{type:"button",onClick:()=>i(e),className:"inline-flex w-full items-center justify-center gap-2 rounded-lg border border-input bg-background px-4 py-2.5 text-sm font-medium text-foreground transition-colors hover:bg-secondary",children:[(0,t.jsx)(s,{}),n]})}])},94765,e=>{"use strict";var t=e.i(43476),r=e.i(22016),s=e.i(71645),n=e.i(18566),i=e.i(48148),l=e.i(11568),a=e.i(46696),o=e.i(57951),d=e.i(64942);e.s(["default",0,function({onSwitchToSignup:e=null,onForgotPasswordNavigate:u=null,onSuccess:c}){let m=(0,i.useTranslations)("auth.login"),x=(0,i.useTranslations)("auth.errors"),g=(0,n.useRouter)(),f=(0,n.useSearchParams)(),{signInWithEmail:h,loading:p}=(0,o.useAuthContext)(),[b,v]=(0,s.useState)(""),[j,y]=(0,s.useState)(""),[N,w]=(0,s.useState)(""),[C,k]=(0,s.useState)(!1),S=(0,s.useMemo)(()=>{let e=f.get("callbackUrl");return e&&e.startsWith("/")?e:"/account"},[f]);async function _(e){e.preventDefault(),w(""),k(!0);let t=await h(b,j);if(k(!1),t.error){var r;return void w("CredentialsSignin"===(r=t.error)?x("CredentialsSignin"):"EmailNotVerified"===r?x("EmailNotVerified"):"EmailAlreadyInUse"===r?x("EmailAlreadyInUse"):r)}c?.(),g.push(S)}(0,s.useEffect)(()=>{"redeem"===f.get("loginRequired")&&a.toast.error(m("redeem_required"))},[f,m]);let A=p||C;return(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"mb-6",children:[(0,t.jsx)("h2",{className:"text-2xl font-bold tracking-tight text-foreground",children:m("title")}),(0,t.jsx)("p",{className:"mt-1.5 text-sm text-muted-foreground",children:m("subtitle")})]}),(0,t.jsxs)("form",{onSubmit:_,className:"space-y-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"mb-1.5 block text-sm font-medium text-foreground",children:m("email")}),(0,t.jsx)("input",{type:"email",value:b,onChange:e=>v(e.target.value),required:!0,autoComplete:"email",placeholder:"[email protected]",className:"w-full rounded-lg border border-input bg-background px-3 py-2 text-sm placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"mb-1.5 block text-sm font-medium text-foreground",children:m("password")}),(0,t.jsx)("input",{type:"password",value:j,onChange:e=>y(e.target.value),required:!0,minLength:8,autoComplete:"current-password",className:"w-full rounded-lg border border-input bg-background px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-ring"})]}),N&&(0,t.jsx)("p",{className:"rounded-lg bg-destructive/10 px-3 py-2 text-sm text-destructive",children:N}),(0,t.jsxs)("button",{type:"submit",disabled:A,className:"inline-flex w-full items-center justify-center gap-2 rounded-lg bg-primary px-4 py-2.5 text-sm font-medium text-primary-foreground transition-opacity disabled:opacity-60",children:[A&&(0,t.jsx)(l.L
1oaderCircle,{size:14,className:"animate-spin"}),A?m("signing_in"):m("sign_in")]}),(0,t.jsx)("div",{className:"-mt-1 text-right",children:u?(0,t.jsx)("button",{type:"button",onClick:()=>{u(),g.push("/auth/forgot-password")},className:"text-xs text-muted-foreground transition-colors hover:text-foreground",children:m("forgot_password")}):(0,t.jsx)(r.default,{href:"/auth/forgot-password",className:"text-xs text-muted-foreground transition-colors hover:text-foreground",children:m("forgot_password")})})]}),(0,t.jsxs)("div",{className:"mt-5",children:[(0,t.jsxs)("div",{className:"mb-4 relative",children:[(0,t.jsx)("div",{className:"absolute inset-0 flex items-center",children:(0,t.jsx)("span",{className:"w-full border-t border-border"})}),(0,t.jsx)("div",{className:"relative flex justify-center text-xs uppercase tracking-[0.24px]",children:(0,t.jsx)("span",{className:"bg-white px-2 text-muted-foreground",children:"or"})})]}),(0,t.jsx)(d.default,{callbackUrl:S})]}),(0,t.jsxs)("p",{className:"mt-5 text-center text-sm text-muted-foreground",children:[m("no_account")," ",e?(0,t.jsx)("button",{type:"button",onClick:e,className:"text-primary hover:underline",children:m("sign_up")}):(0,t.jsx)(r.default,{href:"/auth/signup",className:"text-primary hover:underline",children:m("sign_up")})]})]})}])},54493,e=>{"use strict";var t=e.i(43476),r=e.i(22016),s=e.i(71645),n=e.i(48148),i=e.i(11568),l=e.i(57951),a=e.i(64942);e.s(["default",0,function({onSwitchToLogin:e=null}){let o=(0,n.useTranslations)("auth.signup"),{signUpWithEmail:d,loading:u}=(0,l.useAuthContext)(),[c,m]=(0,s.useState)(""),[x,g]=(0,s.useState)(""),[f,h]=(0,s.useState)(""),[p,b]=(0,s.useState)(""),[v,j]=(0,s.useState)(!1),[y,N]=(0,s.useState)(!1);async function w(e){if(e.preventDefault(),b(""),f.length<8)return void b(o("password_min_length")||"Password must be at least 8 characters.");N(!0);let t=await d(x,f,c||void 0);(N(!1),t.error)?b(t.error):j(!0)}let C=u||y;return v?(0,t.jsxs)("div",{className:"py-4 text-center",children:[(0,t.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:o("check_email_title")}),(0,t.jsx)("p",{className:"mt-2 text-sm text-muted-foreground",children:o("check_email_body")}),e&&(0,t.jsx)("button",{type:"button",onClick:e,className:"mt-4 text-sm text-primary hover:underline",children:o("sign_in")})]}):(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"mb-6",children:(0,t.jsx)("h2",{className:"text-2xl font-bold tracking-tight text-foreground",children:o("title")})}),(0,t.jsxs)("form",{onSubmit:w,className:"space-y-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"mb-1.5 block text-sm font-medium text-foreground",children:o("name")}),(0,t.jsx)("input",{type:"text",value:c,onChange:e=>m(e.target.value),autoComplete:"name",placeholder:o("name_placeholder"),className:"w-full rounded-lg border border-input bg-background px-3 py-2 text-sm placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"mb-1.5 block text-sm font-medium text-foreground",children:o("email")}),(0,t.jsx)("input",{type:"email",value:x,onChange:e=>g(e.target.value),required:!0,autoComplete:"email",className:"w-full rounded-lg border border-input bg-background px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-ring"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"mb-1.5 block text-sm font-medium text-foreground",children:o("password")}),(0,t.jsx)("input",{type:"password",value:f,onChange:e=>h(e.target.value),required:!0,minLength:8,autoComplete:"new-password",className:"w-full rounded-lg border border-input bg-background px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-ring"})]}),p&&(0,t.jsx)("p",{className:"rounded-lg bg-destructive/10 px-3 py-2 text-sm text-destructive",children:p}),(0,t.jsxs)("button",{type:"submit",disabled:C,className:"inline-flex w-full items-center justify-center gap-2 rounded-lg bg-primary px-4 py-2.5 text-sm font-medium text-primary-foreground transition-opacity disabled:opacity-60",children:[C&&(0,t.jsx)(i.LoaderCircle,{size:14,className:"animate-spin"}),C?o("creating"):o("create_account")]})]}),(0,t.jsxs)("div",{className:"mt-4 space-y-4",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"absolute inset-0 flex items-center",children:(0,t.jsx)("span",{className:"w-full border-t border-border"})}),(0,t.jsx)("div",{className:"relative flex justify-center text-xs uppercase",children:(0,t.jsx)("span",{className:"bg-white px-2 text-muted-foreground",children:"or"})})]}),(0,t.jsx)(a.default,{callbackUrl:"/account"})]}),(0,t.jsxs)("p",{className:"mt-5 text-center text-sm text-muted-foreground",children:[o("has_account")," ",e?(0,t.jsx)("button",{type:"button",onClick:e,className:"text-primary hover:underline",children:o("sign_in")}):(0,t.jsx)(r.default,{href:"/auth/login",className:"text-primary hover:underline",children:o("sign_in")})]})]})}])},65405,e=>{"use strict";var t=e.i(43476),r=e.i(71645),s=e.i(63676),n=e.i(76639),i=e.i(94765),l=e.i(54493);e.s(["default",0,function({open:e,onOpenChange:a,defaultTab:o="login"}){let[d,u]=(0,r.useState)(o),[c,m]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{e&&u(o)},[o,e]),(0,r.useEffect)(()=>
1{if(!e)return void m(!1);m(!1);let t=requestAnimationFrame(()=>m(!0));return()=>cancelAnimationFrame(t)},[e,d]),(0,t.jsx)(n.Dialog,{open:e,onOpenChange:a,children:(0,t.jsxs)(n.DialogContent,{className:"relative max-h-[90vh] w-full max-w-md overflow-y-auto",children:[(0,t.jsx)("button",{type:"button",onClick:()=>a(!1),className:"absolute right-4 top-4 z-10 rounded-lg p-1.5 text-muted-foreground transition-colors hover:bg-secondary hover:text-foreground","aria-label":"Close",children:(0,t.jsx)(s.X,{size:16})}),(0,t.jsx)("div",{className:"px-6 pb-6 pt-8 transition-all duration-200 ease-out",children:"login"===d?(0,t.jsx)(i.default,{onSwitchToSignup:()=>u("signup"),onForgotPasswordNavigate:()=>a(!1),onSuccess:()=>a(!1)}):(0,t.jsx)(l.default,{onSwitchToLogin:()=>u("login")})},d)]})})}])},7451,e=>{e.n(e.i(65405))}]);
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.