https://triviatango.app/_next/static/chunks/969c7e0decd2fefd.js?dpl=dpl_48XzmxC4iN8WUP6uYmrQ84h1HQve
1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,998183,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={assign:function(){return l},searchParamsToUrlQuery:function(){return n},urlQueryToSearchParams:function(){return s}};for(var o in a)Object.defineProperty(t,o,{enumerable:!0,get:a[o]});function n(e){let r={};for(let[t,a]of e.entries()){let e=r[t];void 0===e?r[t]=a:Array.isArray(e)?e.push(a):r[t]=[e,a]}return r}function i(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function s(e){let r=new URLSearchParams;for(let[t,a]of Object.entries(e))if(Array.isArray(a))for(let e of a)r.append(t,i(e));else r.set(t,i(a));return r}function l(e,...r){for(let t of r){for(let r of t.keys())e.delete(r);for(let[r,a]of t.entries())e.append(r,a)}return e}},195057,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={formatUrl:function(){return s},formatWithValidation:function(){return c},urlObjectKeys:function(){return l}};for(var o in a)Object.defineProperty(t,o,{enumerable:!0,get:a[o]});let n=e.r(190809)._(e.r(998183)),i=/https?|ftp|gopher|file/;function s(e){let{auth:r,hostname:t}=e,a=e.protocol||"",o=e.pathname||"",s=e.hash||"",l=e.query||"",c=!1;r=r?encodeURIComponent(r).replace(/%3A/i,":")+"@":"",e.host?c=r+e.host:t&&(c=r+(~t.indexOf(":")?`[${t}]`:t),e.port&&(c+=":"+e.port)),l&&"object"==typeof l&&(l=String(n.urlQueryToSearchParams(l)));let u=e.search||l&&`?${l}`||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||i.test(a))&&!1!==c?(c="//"+(c||""),o&&"/"!==o[0]&&(o="/"+o)):c||(c=""),s&&"#"!==s[0]&&(s="#"+s),u&&"?"!==u[0]&&(u="?"+u),o=o.replace(/[?#]/g,encodeURIComponent),u=u.replace("#","%23"),`${a}${c}${o}${u}${s}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return s(e)}},718967,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={DecodeError:function(){return y},MiddlewareNotFoundError:function(){return j},MissingStaticPage:function(){return b},NormalizeError:function(){return v},PageNotFoundError:function(){return x},SP:function(){return h},ST:function(){return g},WEB_VITALS:function(){return n},execOnce:function(){return i},getDisplayName:function(){return d},getLocationOrigin:function(){return c},getURL:function(){return u},isAbsoluteUrl:function(){return l},isResSent:function(){return f},loadGetInitialProps:function(){return m},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return E}};for(var o in a)Object.defineProperty(t,o,{enumerable:!0,get:a[o]});let n=["CLS","FCP","FID","INP","LCP","TTFB"];function i(e){let r,t=!1;return(...a)=>(t||(t=!0,r=e(...a)),r)}let s=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>s.test(e);function c(){let{protocol:e,hostname:r,port:t}=window.location;return`${e}//${r}${t?":"+t:""}`}function u(){let{href:e}=window.location,r=c();return e.substring(r.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function p(e){let r=e.split("?");return r[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(r[1]?`?${r.slice(1).join("?")}`:"")}async function m(e,r){let t=r.res||r.ctx&&r.ctx.res;if(!e.getInitialProps)return r.ctx&&r.Component?{pageProps:await m(r.Component,r.ctx)}:{};let a=await e.getInitialProps(r);if(t&&f(t))return a;if(!a)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${a}" instead.`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return a}let h="u">typeof performance,g=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class y extends Error{}class v extends Error{}class x extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class b extends Error{constructor(e,r){super(),this.message=`Failed to load static file for page: ${e} ${r}`}}class j extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function E(e){return JSON.stringify({message:e.message,stack:e.stack})}},573668,(e,r,t)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return n}});let a=e.r(718967),o=e.r(652817);function n(e){if(!(0,a.isAbsoluteUrl)(e))return!0;try{let r=(0,a.getLocationOrigin)(),t=new URL(e,r);return t.origin===r&&(0,o.hasBasePath)(t.pathname)}catch(e){return!1}}},284508,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return a}});let a=e=>{}},522016,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={default:function(){return y},useLinkStatus:function(){return x}};for(var o in a)Object.defineProperty(t,o,{enumerable:!0,get:a[o]});let n=e.r(190809),i=e.r(843476),s=n._(e.r(271645)),l=e.r(195057),c=e.r(8372),u=e.r(818581),d=e.r(718967),f=e.r(405550);e.r(233525);let p=e.r(91949),m=e.r(573668),h=e.r(509396);function g(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}function y(r){var t;let a,o,n,[l,y]=(0,s.useOptimistic)(p.IDLE_LINK_STATUS),x=(0,s.useRef)(null),{href:b,as:j,children:E,prefetch:w=null,passHref:N,replace:T,shallow:P,scroll:_,onClick:S,onMouseEnter:C,onTouchStart:O,legacyBehavior:R=!1,onNavigate:F,ref:A,unstable_dynamicOnHover:M,...k}=r;a=E,R&&("string"==typeof a||"number"==typeof a)&&(a=(0,i.jsx)("a",{children:a}));let I=s.default.useContext(c.AppRouterContext),L=!1!==w,U=!1!==w?null===(t=w)||"auto"===t?h.FetchStrategy.PPR:h.FetchStrategy.Full:h.FetchStrategy.PPR,{href:$,as:B}=s.default.useMemo(()=>{let e=g(b);return{href:e,as:j?g(j):e}},[b,j]);if(R){if(a?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=s.default.Children.only(a)}let K=R?o&&"object"==typeof o&&o.ref:A,G=s.default.useCallback(e=>(null!==I&&(x.current=(0,p.mountLinkInstance)(e,$,I,U,L,y)),()=>{x.current&&((0,p.unmountLinkForCurrentNavigation)(x.current),x.current=null),(0,p.unmountPrefetchableInstance)(e)}),[L,$,I,U,y]),z={ref:(0,u.useMergedRef)(G,K),onClick(r){R||"function"!=typeof S||S(r),R&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(r),!I||r.defaultPrevented||function(r,t,a,o,n,i,l){if("u">typeof window){let c,{nodeName:u}=r.currentTarget;if("A"===u.toUpperCase()&&((c=r.currentTarget.getAttribute("target"))&&"_self"!==c||r.metaKey||r.ctrlKey||r.shiftKey||r.altKey||r.nativeEvent&&2===r.nativeEvent.which)||r.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(t)){n&&(r.preventDefault(),location.replace(t));return}if(r.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(699781);s.default.startTransition(()=>{d(a||t,n?"replace":"push",i??!0,o.current)})}}(r,$,B,x,T,_,F)},onMouseEnter(e){R||"function"!=typeof C||C(e),R&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),I&&L&&(0,p.onNavigationIntent)(e.currentTarget,!0===M)},onTouchStart:function(e){R||"function"!=typeof O||O(e),R&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),I&&L&&(0,p.onNavigationIntent)(e.currentTarget,!0===M)}};return(0,d.isAbsoluteUrl)(B)?z.href=B:R&&!N&&("a"!==o.type||"href"in o.props)||(z.href=(0,f.addBasePath)(B)),n=R?s.default.cloneElement(o,z):(0,i.jsx)("a",{...k,...z,children:a}),(0,i.jsx)(v.Provider,{value:l,children:n})}e.r(284508);let v=(0,s.createContext)(p.IDLE_LINK_STATUS),x=()=>(0,s.useContext)(v);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),r.exports=t.default)},618566,(e,r,t)=>{r.exports=e.r(976562)},316199,e=>{"use strict";var r=e.i(247167);let t={name:"Trivia Tango",displayName:"Trivia Tango",tagline:"Challenge your knowledge",description:"Play free trivia on Trivia Tango â thousands of questions across history, science, pop culture, sports and more. Challenge friends and learn with every answer.",logo:"/app-logo.png",domain:"triviatango.app",supportEmail:"[email protected]",noReplyEmail:"[email protected]",social:{twitter:"https://twitter.com/triviatango",instagram:"https://instagram.com/triviatango",discord:"https://discord.gg/triviatango"},seo:{defaultTitle:"Trivia Tango",titleTemplate:"Trivia Tango | %s",siteName:"Trivia Tango"},appStore:{ios:"https://apps.apple.com/us/app/trivia-tango-fun-quiz-duels/id6762547360",android:"https://play.google.com/store/apps/details?id=triviatango.benjamin.com"}},a="https://www.triviatango.app".replace(/\/+$/,"");(r.default.env.NEXT_PUBLIC_SITE_URL||`https://${t.domain}`).replace(/\/+$/,""),e.s(["APP_METADATA",0,t,"APP_URL",0,a])},263488,e=>{"use strict";let r=(0,e.i(475254).default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);e.s(["Mail",()=>r],263488)},286536,e=>{"use strict";let r=(0,e.i(475254).default)("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"}]]);e.s(["Eye",()=>r],286536)},77705,e=>{"use strict";let r=(0,e.i(475254).default)("eye-off",[["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"}]]);e.s(["EyeOff",()=>r],77705)},17797,e=>{"use strict";var r=e.i(64107);let t="pending-deep-link";function a(e){e&&r.storage.set(t,e)}function o(){let e=r.storage.get(t);return e&&r.storage.remove(t),e??null}e.s(["consumePendingLink",()=>o,"stashPendingLink",()=>a])},131311,e=>{"use strict";var r=e.i(271645),t=e.i(524990),a=e.i(686111);function o(){let[e,o]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=!0;return(0,t.initRemoteConfig)().finally(()=>{e&&o(!0)}),()=>{e=!1}},[]),{ready:e,liveTeamTriviaEnabled:(0,t.getFlagBoolean)(a.REMOTE_CONFIG_KEYS.liveTeamTriviaEnabled),liveFtaTriviaEnabled:(0,t.getFlagBoolean)(a.REMOTE_CONFIG_KEYS.liveFtaTriviaEnabled),requireEmailVerification:(0,t.getFlagBoolean)(a.REMOTE_CONFIG_KEYS.requireEmailVerification),teamGameTransport:(0,t.getFlagString)(a.REMOTE_CONFIG_KEYS.teamGameTransport),ftaGameTransport:(0,t.getFlagString)(a.REMOTE_CONFIG_KEYS.ftaGameTransport),appCheckEnabled:(0,t.getFlagBoolean)(a.REMOTE_CONFIG_KEYS.appCheckEnabled),adsEnabled:(0,t.getFlagBoolean)(a.REMOTE_CONFIG_KEYS.adsEnabled),adsFreeGamesAtStart:(0,t.getFlagNumber)(a.REMOTE_CONFIG_KEYS.adsFreeGamesAtStart),adsVideoThreshold:(0,t.getFlagNumber)(a.REMOTE_CONFIG_KEYS.adsVideoThreshold),adsWindowMinutes:(0,t.getFlagNumber)(a.REMOTE_CONFIG_KEYS.adsWindowMinutes)}}e.s(["useRemoteConfig",()=>o])},534652,e=>{"use strict";var r=e.i(843476),t=e.i(271645),a=e.i(618566),o=e.i(861668),n=e.i(131311),i=e.i(17797);function s({children:e,requireProfile:s=!0}){let{isLoading:l,isAuthenticated:c,profile:d,needsOnboarding:f,firebaseUser:p}=(0,o.useAuth)(),{requireEmailVerification:m}=(0,n.useRemoteConfig)(),h=(0,a.useRouter)(),g=(0,a.usePathname)(),y=m&&!!p&&!p.emailVerified&&!!p?.providerData?.some(e=>"password"===e.providerId);return((0,t.useEffect)(()=>
1{if(!l){if(!c){let e=encodeURIComponent(g);h.replace(`/login?returnUrl=${e}`);return}if(s&&f)return void h.replace("/welcome");y&&h.replace("/verify-email")}},[l,c,d,f,s,y,h,g]),(0,t.useEffect)(()=>{if(l||!c||s&&f||y)return;let e=(0,i.consumePendingLink)();e&&e!==g&&h.replace(e)},[l,c,s,f,y,g,h]),l)?(0,r.jsx)("div",{className:"flex min-h-screen items-center justify-center",children:(0,r.jsx)(u,{})}):!c||s&&f||y?null:(0,r.jsx)(r.Fragment,{children:e})}function l({children:e}){let{isLoading:n,isAuthenticated:i,needsOnboarding:s}=(0,o.useAuth)(),l=(0,a.useRouter)();return((0,t.useEffect)(()=>{!n&&i&&(s?l.replace("/welcome"):l.replace("/home"))},[n,i,s,l]),n)?(0,r.jsx)("div",{className:"flex min-h-screen items-center justify-center",children:(0,r.jsx)(u,{})}):i?null:(0,r.jsx)(r.Fragment,{children:e})}function c({children:e}){let{isLoading:n,isAuthenticated:i,needsOnboarding:s}=(0,o.useAuth)(),l=(0,a.useRouter)();return((0,t.useEffect)(()=>{if(!n){if(!i)return void l.replace("/login");s||l.replace("/home")}},[n,i,s,l]),n)?(0,r.jsx)("div",{className:"flex min-h-screen items-center justify-center",children:(0,r.jsx)(u,{})}):i&&s?(0,r.jsx)(r.Fragment,{children:e}):null}function u(){return(0,r.jsx)("div",{className:"h-8 w-8 animate-spin rounded-full border-4 border-[var(--color-border)] border-t-[var(--color-primary)]",role:"status","aria-label":"Loading"})}e.s(["AuthRoute",()=>l,"OnboardingRoute",()=>c,"ProtectedRoute",()=>s])},523426,e=>{"use strict";var r=e.i(843476),t=e.i(271645),a=e.i(522016),o=e.i(657688),n=e.i(618566),i=e.i(6
153145);e.i(250825);var s=e.i(492327),l=e.i(286536),c=e.i(77705),u=e.i(263488),d=e.i(861668),f=e.i(534652),p=e.i(64107),m=e.i(316199);let h=s.z.object({email:s.z.email("Please enter a valid email address"),password:s.z.string().min(1,"Password is required")});function g(){return(0,r.jsx)(f.AuthRoute,{children:(0,r.jsx)(y,{})})}function y(){let e=(0,n.useRouter)(),s=(0,n.useSearchParams)().get("returnUrl")||"/home",{signInWithEmail:f,signInWithGoogle:g,signInWithApple:y,error:b,clearError:j}=(0,d.useAuth)(),[E,w]=(0,t.useState)(!1),[N,T]=(0,t.useState)(!1),[P,_]=(0,t.useState)(!1),[S,C]=(0,t.useState)(!1),{register:O,handleSubmit:R,formState:{errors:F}}=(0,i.useForm)(),A=async r=>{if(h.safeParse(r).success){T(!0),j();try{await f(r.email,r.password),e.push(s)}catch{}finally{T(!1)}}},M=async()=>{_(!0),j();try{await g(),e.push(s)}catch{}finally{_(!1)}},k=async()=>{C(!0),j();try{await y(),e.push(s)}catch{}finally{C(!1)}};return(0,r.jsx)("main",{className:"flex flex-1 flex-col items-center justify-center px-4 py-8",children:(0,r.jsxs)("div",{className:"w-full max-w-sm space-y-8",children:[(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)(o.default,{src:m.APP_METADATA.logo,alt:m.APP_METADATA.name,width:64,height:64,className:"mx-auto mb-4 rounded-2xl"}),(0,r.jsx)("h1",{className:"text-title-1 text-[var(--color-text-primary)]",children:"Welcome back"}),(0,r.jsx)("p",{className:"mt-2 text-body text-[var(--color-text-secondary)]",children:"Sign in to continue playing"})]}),b&&(0,r.jsx)("div",{className:"rounded-lg bg-[var(--color-error)]/10 p-4 text-sm text-[var(--color-error)]",children:b}),(0,r.jsxs)("form",{onSubmit:R(A),className:"space-y-4",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"email",className:"mb-2 block text-caption font-medium text-[var(--color-text-primary)]",children:"Email"}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(u.Mail,{className:"absolute left-3 top-1/2 h-5 w-5 -translate-y-1/2 text-[var(--color-text-tertiary)]"}),(0,r.jsx)("input",{id:"email",type:"email",autoComplete:"email",placeholder:"[email protected]",className:(0,p.cn)("h-12 w-full rounded-lg border bg-[var(--color-bg-secondary)] pl-10 pr-4 text-body text-[var(--color-text-primary)] placeholder:text-[var(--color-text-tertiary)] focus:border-[var(--color-primary)] focus:outline-none focus:ring-2 focus:ring-[var(--color-primary)]/20",F.email?"border-[var(--color-error)]":"border-[var(--color-border)]"),...O("email")})]}),F.email&&(0,r.jsx)("p",{className:"mt-1 text-small text-[var(--color-error)]",children:F.email.message})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"password",className:"mb-2 block text-caption font-medium text-[var(--color-text-primary)]",children:"Password"}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("input",{id:"password",type:E?"text":"password",autoComplete:"current-password",placeholder:"Enter your password",className:(0,p.cn)("h-12 w-full rounded-lg border bg-[var(--color-bg-secondary)] px-4 pr-12 text-body text-[var(--color-text-primary)] placeholder:text-[var(--color-text-tertiary)] focus:border-[var(--color-primary)] focus:outline-none focus:ring-2 focus:ring-[var(--color-primary)]/20",F.password?"border-[var(--color-error)]":"border-[var(--color-border)]"),...O("password")}),(0,r.jsx)("button",{type:"button",onClick:()=>w(!E),className:"absolute right-3 top-1/2 -translate-y-1/2 p-1 text-[var(--color-text-tertiary)] hover:text-[var(--color-text-secondary)]","aria-label":E?"Hide password":"Show password",children:E?(0,r.jsx)(c.EyeOff,{className:"h-5 w-5"}):(0,r.jsx)(l.Eye,{className:"h-5 w-5"})})]}),F.password&&(0,r.jsx)("p",{className:"mt-1 text-small text-[var(--color-error)]",children:F.password.message})]}),(0,r.jsx)("div",{className:"text-right",children:(0,r.jsx)(a.default,{href:"/forgot-password",className:"text-caption text-[var(--color-primary)] hover:underline",children:"Forgot password?"})}),(0,r.jsx)("button",{type:"submit",disabled:N,className:"flex h-12 w-full items-center justify-center rounded-lg bg-[var(--color-primary)] text-body font-medium text-[var(--color-text-inverse)] transition-colors hover:bg-[var(--color-primary-hover)] disabled:cursor-not-allowed disabled:opacity-50",children:N?(0,r.jsx)("div",{className:"h-5 w-5 animate-spin rounded-full border-2 border-white/30 border-t-white"}):"Sign In"})]}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{className:"absolute inset-0 flex items-center",children:(0,r.jsx)("div",{className:"w-full border-t border-[var(--color-border)]"})}),(0,r.jsx)("div",{className:"relative flex justify-center text-small",children:(0,r.jsx)("span",{className:"bg-[var(--color-bg-primary)] px-4 text-[var(--color-text-tertiary)]",children:"or continue with"})})]}),(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsx)("button",{type:"button",onClick:M,disabled:P||S,className:"flex h-12 w-full items-center justify-center gap-3 rounded-lg border border-[var(--color-border)] bg-[var(--color-bg-secondary)] text-body font-medium text-[var(--color-text-primary)] transition-colors hover:bg-[var(--color-bg-tertiary)] disabled:cursor-not-allowed disabled:opacity-50",children:P?(0,r.jsx)("div",{className:"h-5 w-5 animate-spin rounded-full border-2 border-[var(--color-border)] border-t-[var(--color-text-primary)]"}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(v,{}),"Continue with Google"]})}),(0,r.jsx)("button",{type:"button",onClick:k,disabled:P||S,className:"flex h-12 w-full items-center justify-center gap-3 rounded-lg border border-[var(--color-border)] bg-[var(--color-bg-secondary)] text-body font-medium text-[var(--color-text-primary)] transition-colors hover:bg-[var(--color-bg-tertiary)] disabled:cursor-not-allowed disabled:opacity-50",children:S?(0,r.jsx)("div",{className:"h-5 w-5 animate-spin rounded-full border-2 border-[var(--color-border)] border-t-[var(--color-text-primary)]"}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(x,{}),"Continue with Apple"]})})]}),(0,r.jsxs)("p",{className:"text-center text-body text-[var(--color-text-secondary)]",children:["Don't have an account?"," ",(0,r.jsx)(a.default,{href:"/signup",className:"font-medium text-[var(--color-primary)] hover:underline",children:"Sign up"})]}),(0,r.jsxs)("p",{className:"text-center text-small text-[var(--color-text-tertiary)]",children:["By signing in, you agree to our"," ",(0,r.jsx)(a.default,{href:"/terms",target:"_blank",rel:"noopener noreferrer",className:"underline hover:text-[var(--color-text-secondary)]",children:"Terms of Service"})," ","and"," ",(0,r.jsx)(a.default,{href:"/privacy",target:"_blank",rel:"noopener noreferrer",className:"underline hover:text-[var(--color-text-secondary)]",children:"Privacy Policy"})]})]})})}function v(){return(0,r.jsxs)("svg",{className:"h-5 w-5",viewBox:"0 0 24 24",children:[(0,r.jsx)("path",{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z",fill:"#4285F4"}),(0,r.jsx)("path",{d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"}),(0,r.jsx)("path",{d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z",fill:"#FBBC05"}),(0,r.jsx)("path",{d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",fill:"#EA4335"})]})}function x(){return(0,r.jsx)("svg",{className:"h-5 w-5",viewBox:"0 0 24 24",fill:"
1currentColor","aria-hidden":"true",children:(0,r.jsx)("path",{d:"M17.05 12.04c-.03-2.6 2.12-3.85 2.22-3.91-1.21-1.77-3.09-2.01-3.76-2.04-1.6-.16-3.12.94-3.93.94-.81 0-2.06-.92-3.39-.9-1.74.03-3.35 1.01-4.25 2.57-1.81 3.14-.46 7.79 1.3 10.34.86 1.25 1.88 2.65 3.22 2.6 1.29-.05 1.78-.83 3.34-.83 1.56 0 2 .83 3.37.81 1.39-.03 2.27-1.27 3.12-2.53.98-1.45 1.39-2.85 1.41-2.92-.03-.01-2.71-1.04-2.74-4.13-.02-2.58 2.11-3.82 2.2-3.88-1.2-1.77-3.07-1.96-3.73-2.01M14.53 4.4c.71-.86 1.19-2.06 1.06-3.25-1.02.04-2.26.68-3 1.54-.66.76-1.24 1.98-1.08 3.15 1.14.09 2.3-.58 3.02-1.44"})})}e.s(["default",()=>g])}]);
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.