PageSourceSearch

https://nextoath.ai/_next/static/chunks/2vxtiwbvelg81.js

js nextoath.ai collected 2026-10-05 15:40:49 UTC 20,320 bytes, 3 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,15881,e=>{"use strict";var t=e.i(43476),a=e.i(71645),s=e.i(22016),r=e.i(14900);e.s(["AgeGate",0,function({onConfirm:e,homeHref:l="/"}){let[i,n]=(0,a.useState)(!1),[o,c]=(0,a.useState)(!1),d=(0,a.useId)();return o?(0,t.jsxs)("div",{className:"text-white",children:[(0,t.jsx)("h2",{className:"text-lg font-semibold mb-3",children:"Thanks for checking"}),(0,t.jsx)("p",{className:"text-sm text-gray-300 mb-5",children:"NextOath is currently intended for players 16 and older. You can return when you are eligible."}),(0,t.jsx)(s.default,{href:l,className:"btn-secondary w-full inline-block text-center",children:"Back to home"})]}):(0,t.jsxs)("div",{className:"text-white",children:[(0,t.jsx)("h2",{className:"text-lg font-semibold mb-3",children:"Enter the Oath"}),(0,t.jsx)("p",{className:"text-sm text-gray-300 mb-4",children:"NextOath is a strategy storytelling game for players 16 and older. It includes player-written content, competitive choices, and AI-generated narrative consequences."}),(0,t.jsxs)("label",{htmlFor:d,className:"flex items-start gap-3 mb-5 cursor-pointer rounded-md p-2 -mx-2 hover:bg-gray-800/60 focus-within:ring-2 focus-within:ring-blue-500 focus-within:ring-offset-2 focus-within:ring-offset-gray-900",children:[(0,t.jsx)("input",{id:d,type:"checkbox",checked:i,onChange:e=>n(e.target.checked),className:"mt-0.5 h-4 w-4 rounded border-gray-600 bg-gray-800 text-blue-500 focus:ring-blue-500"}),(0,t.jsx)("span",{className:"text-sm text-gray-200 select-none",children:"I confirm that I am 16 or older."})]}),(0,t.jsx)("button",{className:"btn-primary w-full mb-2 disabled:opacity-50 disabled:cursor-not-allowed",disabled:!i,onClick:()=>{(0,r.markAgeGatePassed)(),e()},children:"Continue"}),(0,t.jsx)("button",{type:"button",className:"btn-secondary w-full mb-4 text-sm",onClick:()=>c(!0),children:"Not eligible"}),(0,t.jsx)("p",{className:"text-xs text-gray-400 text-center",children:"We only use this confirmation to decide whether you can continue. Do not enter a false age."})]})}])},91696,e=>{"use strict";var t=e.i(43476),a=e.i(71645),s=e.i(74080),r=e.i(26588);e.s(["SignInButton",0,function({children:e}){let[l,i]=(0,a.useState)(!1);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{onClick:()=>i(!0),className:"inline-block cursor-pointer",children:e}),l&&"u">typeof document?(0,s.createPortal)((0,t.jsx)(r.SignInModal,{onClose:()=>i(!1)}),document.body):null]})}])},26588,e=>{"use strict";var t=e.i(43476),a=e.i(71645),s=e.i(73922),r=e.i(15881),l=e.i(14900),i=e.i(65258);function n({className:e}){return(0,t.jsxs)("svg",{className:e,viewBox:"0 0 48 48","aria-hidden":"true",children:[(0,t.jsx)("path",{fill:"#EA4335",d:"M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"}),(0,t.jsx)("path",{fill:"#4285F4",d:"M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"}),(0,t.jsx)("path",{fill:"#FBBC05",d:"M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"}),(0,t.jsx)("path",{fill:"#34A853",d:"M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"})]})}e.s(["SignInModal",0,function({onClose:e}){let{user:o}=(0,i.useCurrentFirebaseUser)(),c=!!o?.isAnonymous,[d,h]=(0,a.useState)("signin"),[x,u]=(0,a.useState)(""),[m,g]=(0,a.useState)(""),[f,p]=(0,a.useState)(null),[b,y]=(0,a.useState)(!1),[j,w]=(0,a.useState)(!1),[N,v]=(0,a.useState)(!1);async function k(t){p(null),y(!0);try{await t(),j||e()}catch(e){p(e instanceof Error?e.message:"Sign-in failed")}finally{y(!1)}}return(0,a.useEffect)(()=>{v((0,l.hasPassedAgeGate)())},[]),(0,t.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/70 p-4",onClick:e,children:(0,t.jsxs)("div",{className:"w-full max-w-sm plate-lg plate-edge-lg [--plate-edge:var(--color-gray-700)] bg-gray-900 p-6 text-white",onClick:e=>e.stopPropagation(),children:[(0,t.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,t.jsx)("h2",{className:"text-lg font-semibold",children:N?j?"Check your email":"signin"===d?"Sign in":"Create an account":""}),(0,t.jsx)("button",{onClick:e,"aria-label":"Close",className:"text-gray-400 hover:text-white focus:outline-hidden focu
1s:ring-2 focus:ring-blue-500 rounded",children:"×"})]}),N?j?(0,t.jsxs)("div",{children:[(0,t.jsxs)("p",{className:"text-sm text-gray-200 mb-3",children:["We sent a sign-in link to"," ",(0,t.jsx)("span",{className:"font-semibold text-white",children:x}),". Click the link in that email to finish signing in."]}),(0,t.jsx)("p",{className:"text-xs text-gray-400 mb-4",children:"Don't see it? Check your spam or junk folder — it can take a minute to arrive."}),(0,t.jsx)("button",{className:"btn-primary w-full",onClick:e,children:"Got it"})]}):(0,t.jsxs)(t.Fragment,{children:[c&&(0,t.jsx)("p",{className:"mb-3 text-xs text-gray-400 leading-relaxed",children:"Your guest progress carries over with Google or a new account. Signing in to an existing account continues from that account instead."}),(0,t.jsxs)("button",{className:"flex w-full items-center justify-center gap-3 rounded-md border border-white/15 bg-[#131314] px-4 py-2.5 text-sm font-medium text-white transition-colors hover:bg-[#1f1f20] focus:outline-hidden focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed mb-3",disabled:b,onClick:()=>k(async()=>void await (0,s.linkAnonymousWithGoogle)()),children:[(0,t.jsx)(n,{className:"h-5 w-5"}),"Sign in with Google"]}),(0,t.jsxs)("div",{className:"my-3 flex items-center gap-2 text-xs text-gray-500",children:[(0,t.jsx)("div",{className:"flex-1 border-t border-gray-700"}),(0,t.jsx)("span",{children:"or"}),(0,t.jsx)("div",{className:"flex-1 border-t border-gray-700"})]}),(0,t.jsx)("input",{type:"email",placeholder:"Email",value:x,onChange:e=>u(e.target.value),className:"w-full mb-2 rounded border border-gray-700 bg-gray-800 px-3 py-2 text-sm"}),(0,t.jsx)("input",{type:"password",placeholder:"Password",value:m,onChange:e=>g(e.target.value),className:"w-full mb-3 rounded border border-gray-700 bg-gray-800 px-3 py-2 text-sm"}),(0,t.jsx)("button",{className:"btn-primary w-full mb-2",disabled:b||!x||!m,onClick:()=>k(()=>"signin"===d?(0,s.signInWithEmailPassword)(x,m):(0,s.signUpWithEmailPassword)(x,m)),children:"signin"===d?"Sign in":"Sign up"}),(0,t.jsx)("button",{className:"btn-secondary w-full mb-2 text-sm",disabled:b,onClick:()=>{let e=x.trim();e?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)?k(async()=>{await (0,s.sendEmailSignInLink)(e),w(!0)}):p("That doesn't look like a valid email address."):p("Enter your email address to receive a sign-in link.")},children:"Send sign-in link to email"}),f&&(0,t.jsx)("div",{className:"text-xs text-red-400 mb-2",children:f}),(0,t.jsx)("div",{className:"text-xs text-gray-400 text-center mt-3",children:"signin"===d?(0,t.jsxs)(t.Fragment,{children:["No account?"," ",(0,t.jsx)("button",{onClick:()=>h("signup"),className:"underline hover:text-white",children:"Create one"})]}):(0,t.jsxs)(t.Fragment,{children:["Already have one?"," ",(0,t.jsx)("button",{onClick:()=>h("signin"),className:"underline hover:text-white",children:"Sign in"})]})})]}):(0,t.jsx)(r.AgeGate,{onConfirm:()=>v(!0)})]})})}])},88478,e=>{"use strict";var t=e.i(43476),a=e.i(22016),s=e.i(18566),r=e.i(68232);function l({className:e}){return(0,t.jsx)("button",{type:"button",onClick:()=>(0,r.openCookiePreferences)(),className:e??"text-sm text-gray-400 hover:text-white transition-colors text-left",children:"Cookie Preferences"})}function i({href:e,label:r}){return(0,s.usePathname)()===e?(0,t.jsx)("span",{"aria-current":"page",className:"text-sm text-white font-medium",children:r}):(0,t.jsx)(a.default,{href:e,className:"text-sm text-gray-400 hover:text-white transition-colors",children:r})}let n=[{title:"Product",links:[{href:"/play",label:"Try Free"},{href:"/pricing",label:"Pricing"},{href:"/dreaming",label:"Dream"},{href:"/changelog",label:"Changelog"}]},{title:"Resources",links:[{href:"/help",label:"How to Play"},{href:"/help/strategy",label:"Strategy Board"},{href:"/blog",label:"Blog"},{href:"/support",label:"Support"}]},{title:"Legal",links:[{href:"/legal/terms-of-service",label:"Terms of Service"},{href:"/legal/eula",label:"EULA"},{href:"/legal/privacy-policy",label:"Privacy Policy"},{href:"/legal/cookie-policy",label:"Cookie Policy"},{href:"/legal/subprocessors",label:"Subprocessors"},{href:"/legal/do-not-sell",label:"Do Not Sell or Share"}]},{title:"Company",links:[{href:"/about",label:"About"},{href:"/press",label:"Press Kit"}]}],o="@AlternateThread",c="r/NextOath",d="@nextoath";function h(){return(0,t.jsx)("footer",{className:"border-t",style:{borderColor:"rgba(100,160,255,0.08)",background:"rgba(6,10,16,0.9)"},children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12",children:[(0,t.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-8",children:n.map(e=>(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-white uppercase tracking-wider mb-4",children:e.title}),(0,t.jsxs)("ul",{className:"space-y-2",children:[e.links.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(i,{href:e.href,label:e.label})},e.href)),"Legal"===e.title?(0,t.jsx)("li",{children:(0,t.jsx)(l,{})}):null]}),"Company"===e.title?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-white uppercase tracking-wider mt-8 mb-4",children:"Follow"}),(0,t.jsxs)("ul",{className:"space-y-2",children:[(0,t.jsx)("li",{children:(0,t.jsxs)("a",{href:"https://www.youtube.com/@AlternateThread",target:"_blank",rel:"noopener noreferrer","aria-label":`YouTube — ${o}`,className:"group inline-flex items-center gap-2 text-sm text-gray-400 hover:text-white transition-colors",children:[(0,t.jsx)("svg",{className:"w-4 h-4 shrink-0 text-gray-500 group-hover:text-red-500 transition-colors",viewBox:"0 0 24 24",fill:"
1currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814ZM9.546 15.568V8.432L15.818 12l-6.272 3.568Z"})}),(0,t.jsx)("span",{children:o})]})}),(0,t.jsx)("li",{children:(0,t.jsxs)("a",{href:"https://www.reddit.com/r/NextOath/",target:"_blank",rel:"noopener noreferrer","aria-label":`Reddit — ${c}`,className:"group inline-flex items-center gap-2 text-sm text-gray-400 hover:text-white transition-colors",children:[(0,t.jsx)("svg",{className:"w-4 h-4 shrink-0 text-gray-500 group-hover:text-orange-500 transition-colors",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M12 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0zm5.01 4.744c.688 0 1.25.561 1.25 1.249a1.25 1.25 0 0 1-2.498.056l-2.597-.547-.8 3.747c1.824.07 3.48.632 4.674 1.488.308-.309.73-.491 1.207-.491.968 0 1.754.786 1.754 1.754 0 .716-.435 1.333-1.01 1.614a3.111 3.111 0 0 1 .042.52c0 2.694-3.13 4.87-7.004 4.87-3.874 0-7.004-2.176-7.004-4.87 0-.183.015-.366.043-.534A1.748 1.748 0 0 1 4.028 12c0-.968.786-1.754 1.754-1.754.463 0 .898.196 1.207.49 1.207-.883 2.878-1.43 4.744-1.487l.885-4.182a.342.342 0 0 1 .14-.197.35.35 0 0 1 .238-.042l2.906.617a1.214 1.214 0 0 1 1.108-.701zM9.25 12C8.561 12 8 12.562 8 13.25c0 .687.561 1.248 1.25 1.248.687 0 1.248-.561 1.248-1.249 0-.688-.561-1.249-1.249-1.249zm5.5 0c-.687 0-1.248.561-1.248 1.25 0 .687.561 1.248 1.249 1.248.688 0 1.249-.561 1.249-1.249 0-.687-.562-1.249-1.25-1.249zm-5.466 3.99a.327.327 0 0 0-.231.094.33.33 0 0 0 0 .463c.842.842 2.484.913 2.961.913.477 0 2.105-.056 2.961-.913a.361.361 0 0 0 .029-.463.33.33 0 0 0-.464 0c-.547.533-1.684.73-2.512.73-.828 0-1.979-.196-2.512-.73a.326.326 0 0 0-.232-.095z"})}),(0,t.jsx)("span",{children:c})]})}),(0,t.jsx)("li",{children:(0,t.jsxs)("a",{href:"https://suno.com/@nextoath",target:"_blank",rel:"noopener noreferrer","aria-label":`Suno — ${d}`,className:"group inline-flex items-center gap-2 text-sm text-gray-400 hover:text-white transition-colors",children:[(0,t.jsxs)("svg",{className:"w-4 h-4 shrink-0 text-gray-500 group-hover:text-white transition-colors",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:[(0,t.jsx)("rect",{x:"2.5",y:"9",width:"2.5",height:"6",rx:"1.25"}),(0,t.jsx)("rect",{x:"8",y:"5",width:"2.5",height:"14",rx:"1.25"}),(0,t.jsx)("rect",{x:"13.5",y:"2",width:"2.5",height:"20",rx:"1.25"}),(0,t.jsx)("rect",{x:"19",y:"7",width:"2.5",height:"10",rx:"1.25"})]}),(0,t.jsx)("span",{children:d})]})})]})]}):null]},e.title))}),(0,t.jsxs)("div",{className:"mt-12 pt-8 border-t border-gray-700/50 flex flex-col sm:flex-row justify-between items-center gap-4",children:[(0,t.jsx)("div",{className:"flex items-center gap-2",children:(0,t.jsxs)("span",{className:"text-lg font-bold text-white",children:["Next",(0,t.jsx)("span",{className:"text-blue-400",children:"Oath"})]})}),(0,t.jsxs)("p",{className:"text-sm text-gray-500",children:["© ",new Date().getFullYear()," NextOath. A studio project by"," ",(0,t.jsx)("a",{href:"https://alternatethread.com",target:"_blank",rel:"noopener noreferrer",className:"text-gray-400 hover:text-white transition-colors",children:"Alternate Thread"}),". All rights reserved."]})]})]})})}function x(){let e="text-gray-500 hover:text-gray-300 transition-colors";return(0,t.jsx)("footer",{className:"border-t",style:{borderColor:"rgba(100,160,255,0.08)",background:"rgba(6,10,16,0.9)"},children:(0,t.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6",children:(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-x-5 gap-y-2 text-[13px]",children:[(0,t.jsxs)("span",{className:"text-gray-500",children:["© ",new Date().getFullYear()," NextOath"]}),(0,t.jsx)(a.default,{href:"/legal/terms-of-service",className:e,children:"Terms"}),(0,t.jsx)(a.default,{href:"/legal/privacy-policy",className:e,children:"Privacy"}),(0,t.jsx)(a.default,{href:"/legal/do-not-sell",className:e,children:"Do Not Sell or Share"}),(0,t.jsx)(l,{className:e}),(0,t.jsx)(a.default,{href:"/explore",className:e,children:"Explore"})]})})})}e.s(["FooterSwitch",0,function(){return"/"===(0,s.usePathname)()?(0,t.jsx)(x,{}):(0,t.jsx)(h,{})}],88478)},61625,e=>{"use strict";var t=e.i(43476),a=e.i(22016),s=e.i(91696),r=e.i(18566),l=e.i(71645),i=e.i(6
15258),n=e.i(22275);let o=[{href:"/help",label:"How to Play"},{href:"/pricing",label:"Pricing"},{href:"/dreaming",label:"Dream"},{href:"/support",label:"Support"}];e.s(["MarketingNav",0,function(){let e=(0,r.usePathname)(),[c,d]=(0,l.useState)(!1),{isSignedIn:h}=(0,i.useCurrentFirebaseUser)(),x="/"===e;return(0,t.jsxs)("nav",{className:"sticky top-0 z-50 border-b backdrop-blur-xl",style:{borderColor:"rgba(100,160,255,0.08)",background:"rgba(6,10,16,0.85)"},children:[(0,t.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"flex justify-between h-16 items-center",children:[(0,t.jsx)(a.default,{href:x?"/explore":"/","aria-label":x?"Explore NextOath":"NextOath home",className:"flex items-center shrink-0",children:(0,t.jsxs)("span",{className:"text-lg font-bold tracking-tight text-white",children:["Next",(0,t.jsx)("span",{className:"text-blue-400",children:"Oath"})]})}),!x&&(0,t.jsx)("div",{className:"hidden md:flex items-center space-x-1",children:o.map(s=>(0,t.jsx)(a.default,{href:s.href,className:`px-3 py-2 rounded-md text-sm font-medium transition-colors
2                    ${e===s.href?"bg-gray-800 text-white":"text-gray-300 hover:bg-gray-800 hover:text-white"}`,children:s.label},s.href))}),(0,t.jsx)("div",{className:`${x?"flex":"hidden md:flex"} items-center gap-3`,children:h?(0,t.jsx)(n.PlateLink,{href:"/games/active",faceClassName:"!px-4 !py-2",children:"Play Now"}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.SignInButton,{children:(0,t.jsx)("button",{className:"px-3 py-2 text-sm font-medium text-gray-300 hover:text-white transition-colors",children:"Sign In"})}),(0,t.jsx)(n.PlateLink,{href:"/play?go=tutorial",faceClassName:"!px-4 !py-2",children:"Try Free"})]})}),!x&&(0,t.jsx)("button",{className:"md:hidden p-2 text-gray-300 hover:text-white",onClick:()=>d(!c),"aria-label":"Toggle menu","aria-expanded":c,"aria-controls":"marketing-mobile-menu",children:(0,t.jsx)("svg",{className:"w-6 h-6",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:c?(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}):(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"})})})]})}),!x&&c&&(0,t.jsx)("div",{id:"marketing-mobile-menu",className:"md:hidden border-t border-gray-700/50 bg-gray-900/95 backdrop-blur-md",children:(0,t.jsxs)("div",{className:"px-4 py-3 space-y-1",children:[o.map(s=>(0,t.jsx)(a.default,{href:s.href,onClick:()=>d(!1),className:`block px-3 py-2 rounded-md text-sm font-medium transition-colors
3                  ${e===s.href?"bg-gray-800 text-white":"text-gray-300 hover:bg-gray-800 hover:text-white"}`,children:s.label},s.href)),(0,t.jsx)("div",{className:"pt-3 border-t border-gray-700/50 flex flex-col gap-2",children:h?(0,t.jsx)(n.PlateLink,{href:"/games/active",onClick:()=>d(!1),className:"w-full",faceClassName:"w-full !px-4 !py-2",children:"Play Now"}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.SignInButton,{children:(0,t.jsx)("button",{className:"w-full px-3 py-2 text-sm font-medium text-gray-300 hover:text-white text-left",children:"Sign In"})}),(0,t.jsx)(n.PlateLink,{href:"/play?go=tutorial",onClick:()=>d(!1),className:"w-full",faceClassName:"w-full !px-4 !py-2",children:"Try Free"})]})})]})})]})}])},14900,e=>{"use strict";let t="nextoath:ageGatePassedAt";e.s(["hasPassedAgeGate",0,function(){try{return!!window.localStorage.getItem(t)}catch{return!1}},"markAgeGatePassed",0,function(){try{window.localStorage.setItem(t,new Date().toISOString())}catch{}}])},73922,e=>{"use strict";e.i(51718);var t=e.i(58528),t=t,a=t,s=t,r=t,l=t,i=t,n=t,o=t,c=t,d=t,h=t,x=t,u=t,m=e.i(29371);let g="nextoath:emailForSignIn";async function f(e,t){await (0,r.af)(m.auth,e,t)}async function p(e,t){let a=m.auth.currentUser;a?.isAnonymous?await (0,h.V)(a,u.d.credential(e,t)):await (0,l.x)(m.auth,e,t)}async function b(e){let t=`${window.location.origin}/auth/email-callback`;await (0,i.aa)(m.auth,e,{url:t,handleCodeInApp:!0}),window.localStorage.setItem(g,e)}async function y(e,t){if(!(0,n.U)(m.auth,e))return!1;let a=t??window.localStorage.getItem(g);if(!a)throw Error("Missing email — enter the address you used to sign in.");return await (0,o.ag)(m.auth,a,e),window.localStorage.removeItem(g),!0}async function j(){await (0,s.ak)(m.auth)}async function w(){await (0,c.ac)(m.auth)}async function N(){let e=m.auth.currentUser,s=new t.f;if(!e||!e.isAnonymous)return await (0,a.ai)(m.auth,s),"signed-in-existing";
3try{return await (0,d.X)(e,s),"linked"}catch(e){if("auth/credential-already-in-use"===e?.code){let a=t.f.credentialFromError(e);if(a)return await (0,x.ad)(m.auth,a),"signed-in-existing"}throw e}}e.s(["completeEmailLinkSignIn",0,y,"linkAnonymousWithGoogle",0,N,"sendEmailSignInLink",0,b,"signInAnonymouslyUser",0,w,"signInWithEmailPassword",0,f,"signOutUser",0,j,"signUpWithEmailPassword",0,p],73922)},65258,e=>{"use strict";var t=e.i(71645);e.i(51718);var a=e.i(62969),s=e.i(29371);e.s(["useCurrentFirebaseUser",0,function(){let[e,r]=(0,t.useState)({isLoading:!0,isSignedIn:!1,user:null,userId:null,displayName:null,email:null});return(0,t.useEffect)(()=>(0,a.onIdTokenChanged)(s.auth,e=>{e?r({isLoading:!1,isSignedIn:!0,user:e,userId:e.uid,displayName:e.displayName??e.email?.split("@")[0]??null,email:e.email??null}):r({isLoading:!1,isSignedIn:!1,user:null,userId:null,displayName:null,email:null})}),[]),e}])},62969,e=>{"use strict";var t=e.i(58528);e.s(["onIdTokenChanged",()=>t.$])},18566,(e,t,a)=>{t.exports=e.r(76562)}]);

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.