PageSourceSearch

https://urlmitra.com/_next/static/chunks/dbb61b0e53528c45.js

js urlmitra.com collected 2026-10-02 01:47:50 UTC 21,737 bytes, 2 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,263488,e=>{"use strict";let t=(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",()=>t],263488)},349559,933325,e=>{"use strict";let t=(0,e.i(475254).default)("fingerprint-pattern",[["path",{d:"M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4",key:"1nerag"}],["path",{d:"M14 13.12c0 2.38 0 6.38-1 8.88",key:"o46ks0"}],["path",{d:"M17.29 21.02c.12-.6.43-2.3.5-3.02",key:"ptglia"}],["path",{d:"M2 12a10 10 0 0 1 18-6",key:"ydlgp0"}],["path",{d:"M2 16h.01",key:"1gqxmh"}],["path",{d:"M21.8 16c.2-2 .131-5.354 0-6",key:"drycrb"}],["path",{d:"M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2",key:"1tidbn"}],["path",{d:"M8.65 22c.21-.66.45-1.32.57-2",key:"13wd9y"}],["path",{d:"M9 6.8a6 6 0 0 1 9 5.2v2",key:"1fr1j5"}]]);function r(e){let t=new Uint8Array(e),r="";for(let e of t)r+=String.fromCharCode(e);return btoa(r).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function a(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),r=(4-t.length%4)%4,a=atob(t.padEnd(t.length+r,"=")),i=new ArrayBuffer(a.length),s=new Uint8Array(i);for(let e=0;e<a.length;e++)s[e]=a.charCodeAt(e);return i}function i(){return s.stubThis(globalThis?.PublicKeyCredential!==void 0&&"function"==typeof globalThis.PublicKeyCredential)}e.s(["Fingerprint",()=>t],349559);let s={stubThis:e=>e};function n(e){let{id:t}=e;return{...e,id:a(t),transports:e.transports,type:e.type}}function l(e){return"localhost"===e||/^((xn--[a-z0-9-]+|[a-z0-9]+(-[a-z0-9]+)*)\.)+([a-z]{2,}|xn--[a-z0-9-]+)$/i.test(e)}class o extends Error{constructor({message:e,code:t,cause:r,name:a}){super(e,{cause:r}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=a??r.name,this.code=t}}let c=new class{constructor(){Object.defineProperty(this,"controller",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}createNewAbortSignal(){if(this.controller){let e=Error("Cancelling existing WebAuthn API call for new one");e.name="AbortError",this.controller.abort(e)}let e=new AbortController;return this.controller=e,e.signal}cancelCeremony(){if(this.controller){let e=Error("Manually cancelling existing WebAuthn API call");e.name="AbortError",this.controller.abort(e),this.controller=void 0}}},d=["cross-platform","platform"];function u(e){if(e&&!(0>d.indexOf(e)))return e}async function h(e){let t,s,d,h,f;!e.optionsJSON&&e.challenge&&(console.warn("startRegistration() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information."),e={optionsJSON:e});let{optionsJSON:g,useAutoRegister:p=!1}=e;if(!i())throw Error("WebAuthn is not supported in this browser");let x={...g,challenge:a(g.challenge),user:{...g.user,id:a(g.user.id)},excludeCredentials:g.excludeCredentials?.map(n)},b={};p&&(b.mediation="conditional"),b.publicKey=x,b.signal=c.createNewAbortSignal();try{t=await navigator.credentials.create(b)}catch(e){throw function({error:e,options:t}){let{publicKey:r}=t;if(!r)throw Error("options was missing required publicKey property");if("AbortError"===e.name){if(t.signal instanceof AbortSignal)return new o({message:"Registration ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else if("ConstraintError"===e.name){if(r.authenticatorSelection?.requireResidentKey===!0)return new o({message:"Discoverable credentials were required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",cause:e});else if("conditional"===t.mediation&&r.authenticatorSelection?.userVerification==="required")return new o({message:"User verification was required during automatic registration but it could not be performed",code:"ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE",cause:e});else if(r.authenticatorSelection?.userVerification==="required")return new o({message:"User verification was required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",cause:e})}else if("InvalidStateError"===e.name)return new o({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:e});else if("NotAllowedError"===e.name)return new o({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});else if("NotSupportedError"===e.name)return new o(0===r.pubKeyCredParams.filter(e=>"public-key"===e.type).length?{message:'No entry in pubKeyCredParams was of type "public-key"',code:"ERROR_MALFORMED_PUBKEYCREDPARAMS",cause:e}:{message:"No available authenticator supported any of the specified pubKeyCredParams algorithms",code:"ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",cause:e});else if("SecurityError"===e.name){let t=globalThis.location.hostname;if(!l(t))return new o({message:`${globalThis.location.hostname}
1 is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e});if(r.rp.id!==t)return new o({message:`The RP ID "${r.rp.id}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else if("TypeError"===e.name){if(r.user.id.byteLength<1||r.user.id.byteLength>64)return new o({message:"User ID was not between 1 and 64 characters",code:"ERROR_INVALID_USER_ID_LENGTH",cause:e})}else if("UnknownError"===e.name)return new o({message:"The authenticator was unable to process the specified options, or could not create a new credential",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e});return e}({error:e,options:b})}if(!t)throw Error("Registration was not completed");let{id:w,rawId:y,response:R,type:E}=t;if("function"==typeof R.getTransports&&(d=R.getTransports()),"function"==typeof R.getPublicKeyAlgorithm)try{h=R.getPublicKeyAlgorithm()}catch(e){m("getPublicKeyAlgorithm()",e)}if("function"==typeof R.getPublicKey)try{let e=R.getPublicKey();null!==e&&(f=r(e))}catch(e){m("getPublicKey()",e)}if("function"==typeof R.getAuthenticatorData)try{s=r(R.getAuthenticatorData())}catch(e){m("getAuthenticatorData()",e)}return{id:w,rawId:r(y),response:{attestationObject:r(R.attestationObject),clientDataJSON:r(R.clientDataJSON),transports:d,publicKeyAlgorithm:h,publicKey:f,authenticatorData:s},type:E,clientExtensionResults:t.getClientExtensionResults(),authenticatorAttachment:u(t.authenticatorAttachment)}}function m(e,t){console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${e}. You should report this error to them.
2`,t)}let f=e=>e;async function g(e){let t,s,d;!e.optionsJSON&&e.challenge&&(console.warn("startAuthentication() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information."),e={optionsJSON:e});let{optionsJSON:h,useBrowserAutofill:m=!1,verifyBrowserAutofillInput:g=!0}=e;if(!i())throw Error("WebAuthn is not supported in this browser");h.allowCredentials?.length!==0&&(t=h.allowCredentials?.map(n));let p={...h,challenge:a(h.challenge),allowCredentials:t},x={};if(m){if(!await function(){if(!i())return f(new Promise(e=>e(!1)));let e=globalThis.PublicKeyCredential;return e?.isConditionalMediationAvailable===void 0?f(new Promise(e=>e(!1))):f(e.isConditionalMediationAvailable())}())throw Error("Browser does not support WebAuthn autofill");if(document.querySelectorAll("input[autocomplete$='webauthn']").length<1&&g)throw Error('No <input> with "webauthn" as the only or last value in its `autocomplete` attribute was detected');x.mediation="conditional",p.allowCredentials=[]}x.publicKey=p,x.signal=c.createNewAbortSignal();try{s=await navigator.credentials.get(x)}catch(e){throw function({error:e,options:t}){let{publicKey:r}=t;if(!r)throw Error("options was missing required publicKey property");if("AbortError"===e.name){if(t.signal instanceof AbortSignal)return new o({message:"Authentication ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else if("NotAllowedError"===e.name)return new o({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});else if("SecurityError"===e.name){let t=globalThis.location.hostname;if(!l(t))return new o({message:`${globalThis.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e});if(r.rpId!==t)return new o({message:`The RP ID "${r.rpId}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else if("UnknownError"===e.name)return new o({message:"The authenticator was unable to process the specified options, or could not create a new assertion signature",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e});return e}({error:e,options:x})}if(!s)throw Error("Authentication was not completed");let{id:b,rawId:w,response:y,type:R}=s;return y.userHandle&&(d=r(y.userHandle)),{id:b,rawId:r(w),response:{authenticatorData:r(y.authenticatorData),clientDataJSON:r(y.clientDataJSON),signature:r(y.signature),userHandle:d},type:R,clientExtensionResults:s.getClientExtensionResults(),authenticatorAttachment:u(s.authenticatorAttachment)}}var p=e.i(554858);let x=async()=>{try{return await (!i()?new Promise(e=>e(!1)):PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable())}catch{return!1}};
2class b extends Error{}function w(e){let t=e?.name;return"NotAllowedError"===t||"AbortError"===t}async function y(e){let t,{data:r}=await p.authApi.passkeyRegisterOptions();try{t=await h({optionsJSON:r})}catch(e){if(w(e))throw new b;throw e}let{data:a}=await p.authApi.passkeyRegisterVerify(t,e);return a}async function R(){let e,{data:t}=await p.authApi.passkeyAuthOptions();try{e=await g({optionsJSON:t})}catch(e){if(w(e))throw new b;throw e}let{data:r}=await p.authApi.passkeyAuthVerify(e);return r?.accessToken&&(0,p.setAccessToken)(r.accessToken),r}e.s(["PasskeyCancelled",()=>b,"hasPlatformAuthenticator",0,x,"registerPasskey",()=>y,"signInWithPasskey",()=>R,"supportsPasskeys",0,()=>i()],933325)},221534,e=>{"use strict";var t=e.i(843476),r=e.i(155086),a=e.i(271645),i=e.i(618566),s=e.i(522016),n=e.i(948148),l=e.i(383642),o=e.i(263488),c=e.i(972520),d=e.i(269638),u=e.i(16715),h=e.i(270756),m=e.i(349559);e.i(404121);var f=e.i(781947),g=e.i(167881),p=e.i(986530),x=e.i(23750),b=e.i(950216),w=e.i(127341),y=e.i(184897),R=e.i(62474),E=e.i(554858),v=e.i(933325),j=e.i(575518),A=e.i(617663);function N(){let e=(0,n.useTranslations)("auth.login"),N=(0,n.useTranslations)("common"),T=(0,i.useRouter)(),k=(0,i.useSearchParams)(),{user:S,isLoading:I,login:C}=(0,l.useAuth)(),[_,O]=(0,a.useState)(""),[P,D]=(0,a.useState)(""),[M,U]=(0,a.useState)("magic-link"),[L,B]=(0,a.useState)(!1),[K,V]=(0,a.useState)(!1),[z,q]=(0,a.useState)(!1),[F,H]=(0,a.useState)(!1),[G,$]=(0,a.useState)(null),[J,W]=(0,a.useState)(null),[Y,Q]=(0,a.useState)(null),[X,Z]=(0,a.useState)(!1);(0,a.useEffect)(()=>{Q((0,v.supportsPasskeys)())},[]);let ee=async()=>{W(null),Z(!0);try{let e=await (0,v.signInWithPasskey)();if(e?.mfaRequired){window.location.href=`/login/mfa?enrolled=${e.mfaEnrolled}`;return}window.location.href="/dashboard"}catch(a){if(a instanceof v.PasskeyCancelled)return;let t=a?.response?.data?.code;if("BETA_PENDING"===t||"BETA_REJECTED"===t)return void T.push(`/pending-approval?status=${"BETA_REJECTED"===t?"rejected":"pending"}`);W((0,r.apiErrorText)(a)||e("passkeyError"))}finally{Z(!1)}};(0,a.useEffect)(()=>{if(!I&&S){let e=k.get("invite");if(e)return void T.push(`/invite/${e}`);let t=k.get("redirect")||"/dashboard";T.push(t)}"true"===k.get("verified")&&$(e("successEmailVerified")),"true"===k.get("reset")&&$(e("successPasswordReset"));let t=k.get("error");if(t)switch(t){case"invalid_link":W(e("errorInvalidMagicLink"));break;case"verification_failed":W(e("errorVerificationFailed"));break;case"google_auth_failed":W(e("errorGoogleAuthFailed"));break;default:W(e("errorSignInFailed"))}},[S,I,T,k,e]);let et=async()=>{if(_){H(!0),W(null);try{await E.authApi.resendVerification(_),$(e("successResentVerification"))}catch{W(e("errorResendVerificationFailed"))}finally{H(!1)}}},er=async t=>{if(t.preventDefault(),_){V(!0),W(null),$(null);try{let t=await fetch("/api/auth/magic-link",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:_})});if(t.ok){let e=await t.json();if(e.waitlisted)return void T.push(`/pending-approval?status=${(e.status||"PENDING").toLowerCase()}`);B(!0)}else{let a=await t.json();W((0,r.errorBodyText)(a)||e("errorSendMagicLinkFailed"))}}catch{W(e("errorNetwork"))}finally{V(!1)}}},ea=async t=>{if(t.preventDefault(),_&&P){q(!0),W(null),$(null);try{await C(_,P);let e=k.get("invite");if(e)return void T.push(`/invite/${e}`);let t=k.get("redirect")||"/dashboard";T.push(t)}catch(a){let t=a.response?.data?.code;if("BETA_PENDING"===t)return void T.push("/pending-approval?status=pending");if("BETA_REJECTED"===t)return void T.push("/pending-approval?status=rejected");W((0,r.apiErrorText)(a)||e("errorInvalid"))}finally{q(!1)}}};if(I)return(0,t.jsx)("div",{className:"min-h-screen bg-background text-foreground flex items-center justify-center",children:(0,t.jsx)(b.Spinner,{size:"lg",className:"text-primary",label:N("loading")})});let ei=!!J&&J.includes("verify");return(0,t.jsxs)("div",{className:"min-h-screen bg-background text-foreground flex flex-col lg:flex-row",children:[(0,t.jsxs)("div",{className:"hidden lg:flex lg:w-1/2 bg-secondary relative overflow-hidden flex-col justify-between p-12 border-r border-border select-none",children:[(0,t.jsx)("div",{children:(0,t.jsxs)(s.default,{href:"/",className:"inline-flex items-center space-x-2.5 group select-none",children:[(0,t.jsx)("div",{className:"w-10 h-10 bg-card rounded-xl border border-border shadow-xs flex items-center justify-center p-1.5 group-hover:border-foreground
2/20 transition-colors",children:(0,t.jsx)(j.URLMitraLogo,{className:"w-full h-full"})}),(0,t.jsx)(A.URLMitraText,{className:"text-lg md:text-lg"})]})}),(0,t.jsxs)("div",{className:"my-auto flex flex-col items-center",children:[(0,t.jsx)("div",{className:"max-w-md w-full bg-card border border-border rounded-2xl overflow-hidden shadow-sm",children:(0,t.jsx)("img",{src:"/link-sage-illustration.png",alt:e("illustrationAlt"),className:"w-full h-auto object-cover max-h-[340px] select-none"})}),(0,t.jsxs)("div",{className:"mt-8 text-center max-w-sm",children:[(0,t.jsx)("h3",{className:"text-xl font-semibold tracking-tight text-foreground mb-2",children:e("illustrationTitle")}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground leading-relaxed",children:e("illustrationDesc")})]})]}),(0,t.jsx)("div",{className:"text-xs text-muted-foreground",children:e("illustrationFooter")})]}),(0,t.jsxs)("div",{className:"flex-1 flex items-center justify-center px-4 py-16 sm:p-8 relative",children:[(0,t.jsxs)("div",{className:"absolute top-4 right-4 sm:top-8 sm:right-8 flex items-center gap-2",children:[(0,t.jsx)(R.ThemeToggle,{}),(0,t.jsx)(y.default,{variant:"icon",align:"right"})]}),(0,t.jsxs)("div",{className:"max-w-md w-full",children:[(0,t.jsxs)("div",{className:"text-center mb-8 lg:hidden",children:[(0,t.jsx)(s.default,{href:"/",className:"inline-flex items-center space-x-2 mb-2",children:(0,t.jsx)("div",{className:"w-14 h-14 bg-card rounded-2xl border border-border shadow-xs flex items-center justify-center p-2.5",children:(0,t.jsx)(j.URLMitraLogo,{className:"w-full h-full"})})}),(0,t.jsx)("h1",{className:"font-semibold tracking-tight text-2xl sm:text-3xl text-foreground mt-4",children:e("title")}),(0,t.jsx)("p",{className:"text-muted-foreground mt-1.5 text-sm",children:e("subtitle")})]}),(0,t.jsxs)("div",{className:"hidden lg:block mb-8",children:[(0,t.jsx)("h1",{className:"font-semibold tracking-tight text-3xl sm:text-4xl text-foreground",children:e("title")}),(0,t.jsx)("p",{className:"text-muted-foreground mt-2 text-base",children:e("subtitle")})]}),G&&(0,t.jsx)(f.Alert,{tone:"success",className:"mb-6",children:G}),J&&(ei?(0,t.jsxs)(f.Alert,{tone:"warning",icon:(0,t.jsx)(o.Mail,{"aria-hidden":!0}),title:e("verificationRequired"),className:"mb-6",children:[(0,t.jsx)("p",{className:"text-muted-foreground",children:e("verificationRequiredDesc")}),(0,t.jsx)(g.Button,{variant:"secondary",block:!0,onClick:et,loading:F,leftIcon:(0,t.jsx)(u.RefreshCw,{}),className:"mt-3",children:F?e("sending"):e("resendVerification")})]}):(0,t.jsx)(f.Alert,{tone:"danger",className:"mb-6",children:J})),(0,t.jsxs)("div",{className:"bg-card rounded-2xl border border-border shadow-xs p-6 sm:p-8 space-y-6",children:[(0,t.jsxs)(w.Tabs,{value:M,onValueChange:e=>U(e),children:[(0,t.jsxs)(w.TabsList,{className:"flex w-full",children:[(0,t.jsx)(w.TabsTrigger,{value:"magic-link",className:"flex-1 justify-center py-2",children:e("magicLinkTab")}),(0,t.jsx)(w.TabsTrigger,{value:"password",className:"flex-1 justify-center py-2",children:e("passwordTab")})]}),(0,t.jsx)(w.TabsContent,{value:"magic-link",className:"mt-6",children:L?(0,t.jsxs)("div",{className:"text-center py-4 space-y-3",children:[(0,t.jsx)("div",{className:"w-14 h-14 mx-auto bg-success/10 border border-success/20 rounded-full flex items-center justify-center",children:(0,t.jsx)(d.CheckCircle,{className:"w-7 h-7 text-success","aria-hidden":!0})}),(0,t.jsx)("h3",{className:"text-lg font-semibold text-foreground",children:e("magicLinkSent")}),(0,t.jsx)("p",{className:"text-muted-foreground text-sm",children:(0,t.jsx)("span",{className:"font-medium text-foreground",children:_})}),(0,t.jsx)(g.Button,{variant:"link",onClick:()=>{B(!1),O("")},className:"text-primary",children:e("useDifferentEmail")})]}):(0,t.jsxs)("form",{onSubmit:er,className:"space-y-5",children:[(0,t.jsx)(p.Field,{label:e("emailLabel"),required:!0,children:(0,t.jsx)(x.Input,{type:"email",size:"lg",autoComplete:"email",leftIcon:(0,t.jsx)(o.Mail,{}),value:_,onChange:e=>O(e.target.value),placeholder:e("emailPlaceholder")})}),(0,t.jsx)(g.Button,{type:"submit",size:"lg",block:!0,disabled:!_,loading:K,rightIcon:K?void 0:(0,t.jsx)(c.ArrowRight,{}),children:e("magicLink")})]})}),(0,t.jsx)(w.TabsContent,{value:"password",className:"mt-6",children:(0,t.jsxs)("form",{onSubmit:ea,className:"space-y-5",children:[(0,t.jsx)(p.Field,{label:e("emailLabel"),required:!0,children:(0,t.jsx)(x.Input,{type:"email",size:"lg",autoComplete:"email",leftIcon:(0,t.jsx)(o.Mail,{}
2),value:_,onChange:e=>O(e.target.value),placeholder:e("emailPlaceholder")})}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(p.Field,{label:e("passwordLabel"),required:!0,children:(0,t.jsx)(x.Input,{type:"password",size:"lg",autoComplete:"current-password",leftIcon:(0,t.jsx)(h.Lock,{}),value:P,onChange:e=>D(e.target.value),placeholder:"••••••••"})}),(0,t.jsx)(s.default,{href:"/forgot-password",className:"absolute right-0 top-0 text-sm font-medium text-primary underline-offset-4 hover:underline",children:e("forgotPassword")})]}),(0,t.jsx)(g.Button,{type:"submit",size:"lg",block:!0,disabled:!_||!P,loading:z,rightIcon:z?void 0:(0,t.jsx)(c.ArrowRight,{}),children:e("submit")})]})})]}),(0,t.jsxs)("div",{className:"relative","aria-hidden":!0,children:[(0,t.jsx)("div",{className:"absolute inset-0 flex items-center",children:(0,t.jsx)("div",{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-card px-3 text-muted-foreground font-medium tracking-wider",children:e("orDivider")})})]}),(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)(g.Button,{variant:"secondary",size:"lg",block:!0,onClick:()=>{window.location.href=`${E.API_URL}/api/auth/google`},leftIcon:(0,t.jsxs)("svg",{viewBox:"0 0 24 24","aria-hidden":!0,children:[(0,t.jsx)("path",{fill:"#4285F4",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"}),(0,t.jsx)("path",{fill:"#34A853",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"}),(0,t.jsx)("path",{fill:"#FBBC05",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"}),(0,t.jsx)("path",{fill:"#EA4335",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"})]}),children:e("googleButton")}),Y&&(0,t.jsx)(g.Button,{variant:"secondary",size:"lg",block:!0,onClick:ee,loading:X,leftIcon:(0,t.jsx)(m.Fingerprint,{}),children:e("passkeyButton")})]}),(0,t.jsxs)("div",{className:"text-center space-y-3 pt-2",children:[(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:e("newHere")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground leading-relaxed",children:e("termsAgreement")})]})]}),(0,t.jsx)("div",{className:"mt-8 text-center select-none",children:(0,t.jsxs)("p",{className:"text-sm text-muted-foreground flex items-center justify-center gap-1.5",children:[e("poweredBy"),(0,t.jsx)(A.URLMitraText,{className:"text-sm md:text-sm inline-flex ml-1 mr-1"}),e("ai")]})})]})]})]})}function T(){let e=(0,n.useTranslations)("common");return(0,t.jsx)("div",{className:"min-h-screen bg-background text-foreground flex items-center justify-center",children:(0,t.jsx)(b.Spinner,{size:"lg",className:"text-primary",label:e("loading")})})}function k(){return(0,t.jsx)(a.Suspense,{fallback:(0,t.jsx)(T,{}),children:(0,t.jsx)(N,{})})}e.s(["default",()=>k])}]);

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.