1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1972],{20063:(e,t,r)=>{var a=r(47260);r.o(a,"useParams")&&r.d(t,{useParams:function(){return a.useParams}}),r.o(a,"usePathname")&&r.d(t,{usePathname:function(){return a.usePathname}}),r.o(a,"useRouter")&&r.d(t,{useRouter:function(){return a.useRouter}}),r.o(a,"useSearchParams")&&r.d(t,{useSearchParams:function(){return a.useSearchParams}})},23664:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(71847).A)("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]])},30926:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{callServer:function(){return a.callServer},createServerReference:function(){return s.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}});let a=r(41209),n=r(85153),s=r(77197)},35299:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(71847).A)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},37494:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(71847).A)("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]])},52056:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(71847).A)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},55867:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(71847).A)("KeyRound",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]])},57828:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(71847).A)("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},58347:(e,t,r)=>{r.d(t,{Jv:()=>Q}),r(95155);var a,n,s,o,c,l=r(12115),i=r.t(l,2);class d extends Error{constructor(e,t){e instanceof Error?super(void 0,{cause:{err:e,...e.cause,...t}}):"string"==typeof e?(t instanceof Error&&(t={err:t,...t.cause}),super(e,t)):super(void 0,e),this.name=this.constructor.name,this.type=this.constructor.type??"AuthError",this.kind=this.constructor.kind??"error",Error.captureStackTrace?.(this,this.constructor);let r=`https://errors.authjs.dev#${this.type.toLowerCase()}`;this.message+=`${this.message?". ":""}Read more at ${r}`}}class u extends d{}u.kind="signIn";class h extends d{}h.type="AdapterError";class p extends d{}p.type="AccessDenied";class y extends d{}y.type="CallbackRouteError";class k extends d{}k.type="ErrorPageLoop";class f extends d{}f.type="EventError";class m extends d{}m.type="InvalidCallbackUrl";class v extends u{constructor(){super(...arguments),this.code="credentials"}}v.type="CredentialsSignin";class w extends d{}w.type="InvalidEndpoints";class A extends d{}A.type="InvalidCheck";class g extends d{}g.type="JWTSessionError";class x extends d{}x.type="MissingAdapter";class E extends d{}E.type="MissingAdapterMethods";class R extends d{}R.type="MissingAuthorize";class U extends d{}U.type="MissingSecret";class b extends u{}b.type="OAuthAccountNotLinked";class L extends u{}L.type="OAuthCallbackError";class S extends d{}S.type="OAuthProfileParseError";class M extends d{}M.type="SessionTokenError";class P extends u{}P.type="OAuthSignInError";class T extends u{}T.type="EmailSignInError";class C extends d{}C.type="SignOutError";class N extends d{}N.type="UnknownAction";class _ extends d{}_.type="UnsupportedStrategy";class j extends d{}j.type="InvalidProvider";class O extends d{}O.type="UntrustedHost";class I extends d{}I.type="Verification";class z extends u{}z.type="MissingCSRF";class H extends d{}H.type="DuplicateConditionalUI";class X extends d{}X.type="MissingWebAuthnAutocomplete";class V extends d{}V.type="WebAuthnVerificationError";class W extends u{}W.type="AccountNotLinked";class $ extends d{}$.type="ExperimentalFeatureNotEnabled";class J extends d{}async function q(e,t,r){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},n="".concat(t.basePath,"/").concat(e);try{var s;let e={headers:{"Content-Type":"application/json",...(null==a||null==(s=a.headers)?void 0:s.cookie)?{cookie:a.headers.cookie}:{}}};(null==a?void 0:a.body)&&(e.body=JSON.stringify(a.body),e.method="POST");let t=await fetch(n,e),r=await t.json();if(!t.ok)throw r;return r}catch(e){return r.error(new J(e.message,e)),null}}function D(e){let t=new URL("http://localhost:3000/api/auth");e&&!e.startsWith("http")&&(e="https://".concat(e));let r=new URL(e||t),a=("/"===r.pathname?t.pathname:r.pathname).replace(/\/$/,""),n="".concat(r.origin).concat(a);return{origin:r.origin,host:r.host,path:a,base:n,toString:()=>n}}var F=r(95704);let Z={baseUrl:D(null!=(n=F.env.NEXTAUTH_URL)?n:F.env.VERCEL_URL).origin,basePath:D(F.env.NEXTAUTH_URL).path,baseUrlServer:D(null!=(o=null!=(s=F.env.NEXTAUTH_URL_INTERNAL)?s:F.env.NEXTAUTH_URL)?o:F.env.VERCEL_URL).origin,basePathServer:D(null!=(c=F.env.NEXTAUTH_URL_INTERNAL)?c:F.env.NEXTAUTH_URL).path,_lastSync:0,_session:void 0,_getSession:()=>{}},B={debug:console.debug,error:console.error,warn:console.warn};async function K(){var e;let t=await q("csrf",Z,B);return null!=(e=null==t?void 0:t.csrfToken)?e:""}async function G(){return q("providers",Z,B)}async function Q(e,t,r){var a,n,s;let{redirect:o=!0}=null!=t?t:{}
1,c=null!=(n=null!=(a=null==t?void 0:t.redirectTo)?a:null==t?void 0:t.callbackUrl)?n:window.location.href,l=Z.basePath,i=await G();if(!i){window.location.href="".concat(l,"/error");return}if(!e||!(e in i)){window.location.href="".concat(l,"/signin?").concat(new URLSearchParams({callbackUrl:c}));return}let d="credentials"===i[e].type,u="email"===i[e].type,h="".concat(l,"/").concat(d?"callback":"signin","/").concat(e),p=await K(),y=await fetch("".concat(h,"?").concat(new URLSearchParams(r)),{method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded","X-Auth-Return-Redirect":"1"},body:new URLSearchParams({...t,csrfToken:p,callbackUrl:c})}),k=await y.json();if(o||!(d||u)){let e=null!=(s=k.url)?s:c;window.location.href=e,e.includes("#")&&window.location.reload();return}let f=new URL(k.url).searchParams.get("error"),m=new URL(k.url).searchParams.get("code");return y.ok&&await Z._getSession({event:"storage"}),{error:f,code:m,status:y.status,ok:y.ok,url:f?null:k.url}}null==(a=l.createContext)||a.call(i,void 0)},59427:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(71847).A)("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]])},70532:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(71847).A)("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]])},71847:(e,t,r)=>{r.d(t,{A:()=>c});var a=r(12115);let n=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()};var s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let o=(0,a.forwardRef)((e,t)=>{let{color:r="currentColor",size:o=24,strokeWidth:c=2,absoluteStrokeWidth:l,className:i="",children:d,iconNode:u,...h}=e;return(0,a.createElement)("svg",{ref:t,...s,width:o,height:o,stroke:r,strokeWidth:l?24*Number(c)/Number(o):c,className:n("lucide",i),...h},[...u.map(e=>{let[t,r]=e;return(0,a.createElement)(t,r)}),...Array.isArray(d)?d:[d]])}),c=(e,t)=>{let r=(0,a.forwardRef)((r,s)=>{let{className:c,...l}=r;return(0,a.createElement)(o,{ref:s,iconNode:t,className:n("lucide-".concat(e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),c),...l})});return r.displayName="".concat(e),r}},73577:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(71847).A)("MailCheck",[["path",{d:"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8",key:"12jkf8"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}]])}}]);
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.