1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="ca44918c-e731-5fb6-3775-f102f3b99b99")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,743294,e=>{"use strict";e.s(["ArrowLeft01Icon",0,[["path",{d:"M15 6C15 6 9.00001 10.4189 9 12C8.99999 13.5812 15 18 15 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]],743294)},76814,148323,184647,42045,913526,287028,161416,e=>{"use strict";function t(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 r(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),r=(4-t.length%4)%4,o=atob(t.padEnd(t.length+r,"=")),n=new ArrayBuffer(o.length),i=new Uint8Array(n);for(let e=0;e<o.length;e++)i[e]=o.charCodeAt(e);return n}function o(){return n.stubThis(globalThis?.PublicKeyCredential!==void 0&&"function"==typeof globalThis.PublicKeyCredential)}e.s(["FingerPrintIcon",0,[["path",{d:"M7.42857 3.36201C11.3996 0.664089 17.136 2.12432 19.2301 6.41803M10.8571 21.9236C15.5839 22.5822 20 18.8952 20 14.2103V10.3333M7.42857 20.6058C5.35602 19.1977 4 16.8583 4 14.2103V9.75757C4 8.57285 4.27144 7.44988 4.75704 6.44444",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M16 13.8C16 16.1196 14.2091 18 12 18C9.79086 18 8 16.1196 8 13.8V10.2C8 9.55584 8.13811 8.94555 8.38493 8.4M12 6C14.2091 6 16 7.8804 16 10.2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12 10.5L12 13.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]],76814);let n={stubThis:e=>e};function i(e){let{id:t}=e;return{...e,id:r(t),transports:e.transports,type:e.type}}function s(e){return"localhost"===e||/^((xn--[a-z0-9-]+|[a-z0-9]+(-[a-z0-9]+)*)\.)+([a-z]{2,}|xn--[a-z0-9-]+)$/i.test(e)}e.s(["browserSupportsWebAuthn",0,o],148323);class a extends Error{constructor({message:e,code:t,cause:r,name:o}){super(e,{cause:r}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=o??r.name,this.code=t}}let l=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}}};e.s(["WebAuthnAbortService",0,l],184647);let c=["cross-platform","platform"];function u(e){if(e&&!(0>c.indexOf(e)))return e}async function d(e){let n,c,d,m,p;!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:f,useAutoRegister:g=!1}=e;if(!o())throw Error("WebAuthn is not supported in this browser");let y={...f,challenge:r(f.challenge),user:{...f.user,id:r(f.user.id)},excludeCredentials:f.excludeCredentials?.map(i)},w={};g&&(w.mediation="conditional"),w.publicKey=y,w.signal=l.createNewAbortSignal();try{n=await navigator.credentials.create(w)}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 a({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 a({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 a({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 a({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 a({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:e});else if("NotAllowedError"===e.name)return new a({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});else if("NotSupportedError"===e.name)return new a(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(!s(t))return new a({message:`${globalThis.location.hostname}
2 is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e});if(r.rp.id!==t)return new a({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 a({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 a({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:w})}if(!n)throw Error("Registration was not completed");let{id:b,rawId:x,response:E,type:R}=n;if("function"==typeof E.getTransports&&(d=E.getTransports()),"function"==typeof E.getPublicKeyAlgorithm)try{m=E.getPublicKeyAlgorithm()}catch(e){h("getPublicKeyAlgorithm()",e)}if("function"==typeof E.getPublicKey)try{let e=E.getPublicKey();null!==e&&(p=t(e))}catch(e){h("getPublicKey()",e)}if("function"==typeof E.getAuthenticatorData)try{c=t(E.getAuthenticatorData())}catch(e){h("getAuthenticatorData()",e)}return{id:b,rawId:t(x),response:{attestationObject:t(E.attestationObject),clientDataJSON:t(E.clientDataJSON),transports:d,publicKeyAlgorithm:m,publicKey:p,authenticatorData:c},type:R,clientExtensionResults:n.getClientExtensionResults(),authenticatorAttachment:u(n.authenticatorAttachment)}}function h(e,t){console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${e}. You should report this error to them. 3`,t)}function m(){if(!o())return p.stubThis(new Promise(e=>e(!1)));let e=globalThis.PublicKeyCredential;return e?.isConditionalMediationAvailable===void 0?p.stubThis(new Promise(e=>e(!1))):p.stubThis(e.isConditionalMediationAvailable())}e.s(["startRegistration",0,d],42045);let p={stubThis:e=>e};async function f(e){let n,c,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:p=!1,verifyBrowserAutofillInput:f=!0}=e;if(!o())throw Error("WebAuthn is not supported in this browser");h.allowCredentials?.length!==0&&(n=h.allowCredentials?.map(i));let g={...h,challenge:r(h.challenge),allowCredentials:n},y={};if(p){if(!await m())throw Error("Browser does not support WebAuthn autofill");if(document.querySelectorAll("input[autocomplete$='webauthn']").length<1&&f)throw Error('No <input> with "webauthn" as the only or last value in its `autocomplete` attribute was detected');y.mediation="conditional",g.allowCredentials=[]}y.publicKey=g,y.signal=l.createNewAbortSignal();try{c=await navigator.credentials.get(y)}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 a({message:"Authentication ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else if("NotAllowedError"===e.name)return new a({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});else if("SecurityError"===e.name){let t=globalThis.location.hostname;if(!s(t))return new a({message:`${globalThis.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e});if(r.rpId!==t)return new a({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 a({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:y})}if(!c)throw Error("Authentication was not completed");let{id:w,rawId:b,response:x,type:E}=c;return x.userHandle&&(d=t(x.userHandle)),{id:w,rawId:t(b),response:{authenticatorData:t(x.authenticatorData),clientDataJSON:t(x.clientDataJSON),signature:t(x.signature),userHandle:d},type:E,clientExtensionResults:c.getClientExtensionResults(),authenticatorAttachment:u(c.authenticatorAttachment)}}e.s(["browserSupportsWebAuthnAutofill",0,m],913526),e.s(["startAuthentication",0,f],287028),e.s([],161416)},292403,e=>{"use strict";e.s(["LockPasswordIcon",0,[["path",{d:"M4.26781 18.8447C4.49269 20.515 5.87613 21.8235 7.55966 21.9009C8.97627 21.966 10.4153 22 12 22C13.5847 22 15.0237 21.966 16.4403 21.9009C18.1239 21.8235 19.5073 20.515 19.7322 18.8447C19.879 17.7547 20 16.6376 20 15.5C20 14.3624 19.879 13.2453 19.7322 12.1553C19.5073 10.485 18.1239 9.17649 16.4403 9.09909C15.0237 9.03397 13.5847 9 12 9C10.4153 9 8.97627 9.03397 7.55966 9.09909C5.87613 9.17649 4.49269 10.485 4.26781 12.1553C4.12105 13.2453 4 14.3624 4 15.5C4 16.6376 4.12105 17.7547 4.26781 18.8447Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M7.5 9V6.5C7.5 4.01472 9.51472 2 12 2C14.4853 2 16.5 4.01472 16.5 6.5V9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12.125 15.5H12M12.25 15.5C12.25 15.6381 12.1381 15.75 12 15.75C11.8619 15.75 11.75 15.6381 11.75 15.5C11.75 15.3619 11.8619 15.25 12 15.25C12.1381 15.25 12.25 15.3619 12.25 15.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M8.125 15.5H8M8.25 15.5C8.25 15.6381 8.13807 15.75 8 15.75C7.86193 15.75 7.75 15.6381 7.75 15.5C7.75 15.3619 7.86193 15.25 8 15.25C8.13807 15.25 8.25 15.3619 8.25 15.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M16.125 15.5H16M16.25 15.5C16.25 15.6381 16.1381 15.75 16 15.75C15.8619 15.75 15.75 15.6381 15.75 15.5C15.75 15.3619 15.8619 15.25 16 15.25C16.1381 15.25 16.25 15.3619 16.25 15.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}]]],292403)},785894,e=>{"use strict";var t=e.i(308918),r=e.i(877992),o=e.i(690388),n=e.i(24375),i=e.i(783427),s=e.i(627052),a=e.i(369008),l=r,c=e.i(719560);function u(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class d extends l.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,a.isHTMLElement)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,r=(0,a.isHTMLElement)(e)&&e.offsetWidth||0,o=(0,a.isHTMLElement)(e)&&e.offsetHeight||0,n=getComputedStyle(t),i=this.props.sizeRef.current;i.height=parseFloat(n.height),i.width=parseFloat(n.width),i.top=t.offsetTop,i.left=t.offsetLeft,i.right=r-i.width-i.left,i.bottom=o-i.height-i.top,i.direction=n.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function h({children:e,isPresent:o,anchorX:n,anchorY:i,root:s,pop:a}){let m=(0,l.useId)(),p=(0,l.useRef)(null),f=(0,l.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:g}=(0,l.useContext)(c.MotionConfigContext),y=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,o=e.map(e=>{let o=u(e,t);return r||"function"!=typeof o||(r=!0),o});if(r)return()=>{for(let t=0;t<o.length;t++){let r=o[t];"function"==typeof r?r():u(e[t],null)}}}}(...e),e)}(p,!1!==a?e.props?.ref??e?.ref:void 0);return(0,l.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:l,right:c,bottom:u,direction:d}=f.current;if(o||!1===a||!p.current||!e||!t)return;
3let h="rtl"===d,y="left"===n?h?`right: ${c}`:`left: ${l}`:h?`left: ${l}`:`right: ${c}`,w="bottom"===i?`bottom: ${u}`:`top: ${r}`;p.current.dataset.motionPopId=m;let b=document.createElement("style");g&&(b.nonce=g);let x=s??document.head;return x.appendChild(b),b.sheet&&b.sheet.insertRule(` 4 [data-motion-pop-id="${m}"] { 5 position: absolute !important; 6 width: ${e}px !important; 7 height: ${t}px !important; 8 ${y}px !important; 9 ${w}px !important; 10 } 11 `),()=>{p.current?.removeAttribute("data-motion-pop-id"),x.contains(b)&&x.removeChild(b)}},[o]),(0,t.jsx)(d,{isPresent:o,childRef:p,sizeRef:f,pop:a,children:!1===a?e:l.cloneElement(e,{ref:y})})}let m=({children:e,initial:o,isPresent:a,onExitComplete:l,custom:c,presenceAffectsLayout:u,mode:d,anchorX:m,anchorY:f,root:g})=>{let y=(0,n.useConstant)(p),w=(0,r.useId)(),b=(0,r.useRef)(a),x=(0,r.useRef)(l);(0,i.useIsomorphicLayoutEffect)(()=>{b.current=a,x.current=l});let E=!0,R=(0,r.useMemo)(()=>(E=!1,{id:w,initial:o,isPresent:a,custom:c,onExitComplete:e=>{for(let t of(y.set(e,!0),y.values()))if(!t)return;l&&l()},register:e=>(y.set(e,!1),()=>{y.delete(e),b.current||y.size||x.current?.()})}),[a,y,l]);return u&&E&&(R={...R}),(0,r.useMemo)(()=>{y.forEach((e,t)=>y.set(t,!1))},[a]),r.useEffect(()=>{a||y.size||!l||l()},[a]),e=(0,t.jsx)(h,{pop:"popLayout"===d,isPresent:a,anchorX:m,anchorY:f,root:g,children:e}),(0,t.jsx)(s.PresenceContext.Provider,{value:R,children:e})};function p(){return new Map}var f=e.i(171377);let g=e=>e.key||"";function y(e){let t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}e.s(["AnimatePresence",0,({children:e,custom:s,initial:a=!0,onExitComplete:l,presenceAffectsLayout:c=!0,mode:u="sync",propagate:d=!1,anchorX:h="left",anchorY:p="top",root:w})=>{let[b,x]=(0,f.usePresence)(d),E=(0,r.useMemo)(()=>y(e),[e]),R=d&&!b?[]:E.map(g),C=(0,r.useRef)(!0),S=(0,r.useRef)(E),v=(0,n.useConstant)(()=>new Map),k=(0,r.useRef)(new Set),[A,j]=(0,r.useState)(E),[P,_]=(0,r.useState)(E);(0,i.useIsomorphicLayoutEffect)(()=>{!d||b||P.length||x?.()},[b,d,P.length,x]),(0,i.useIsomorphicLayoutEffect)(()=>{C.current=!1,S.current=E;for(let e=0;e<P.length;e++){let t=g(P[e]);R.includes(t)?(v.delete(t),k.current.delete(t)):!0!==v.get(t)&&v.set(t,!1)}},[P,R.length,R.join("-")]);let N=[];if(E!==A){let e=[...E],t=0;for(let r of P){let o=R.indexOf(g(r));-1===o?(e.splice(t++,0,r),N.push(r)):t=o+N.length+1}return"wait"===u&&N.length&&(e=N),_(y(e)),j(E),null}let{forceRender:I}=(0,r.useContext)(o.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:P.map(e=>{let r=g(e),o=(!d||!!b)&&(E===P||R.includes(r));return(0,t.jsx)(m,{isPresent:o,initial:(!C.current||!!a)&&void 0,custom:s,presenceAffectsLayout:c,mode:u,root:w,onExitComplete:o?void 0:()=>{if(k.current.has(r)||!v.has(r))return;k.current.add(r),v.set(r,!0);let e=!0;v.forEach(t=>{t||(e=!1)}),e&&(I?.(),_(S.current),d&&x?.(),l&&l())},anchorX:h,anchorY:p,children:e},r)})})}],785894)},299112,e=>{"use strict";var t=e.i(308918),r=e.i(354810),o=e.i(877992),n=e.i(944650),i=e.i(218142),s=e.i(162173),a=e.i(14400),l=e.i(257679),c=e.i(24092),u=e.i(76814),d=e.i(472637),h=e.i(292403),m=e.i(16250);e.i(149494);var p=e.i(555488),f=e.i(620041),g=e.i(485548),y=e.i(785894),w=e.i(255738),b=e.i(717053),x=e.i(77829),E=e.i(814325),R=e.i(103282),C=e.i(460822),S=e.i(180876),v=e.i(542450),k=e.i(743173),A=e.i(725863),j=e.i(519455),P=e.i(750048),_=e.i(316094),N=e.i(686681),I=e.i(800290),O=e.i(623668),T=e.i(208424),L=e.i(28179);e.i(926930);var M=e.i(526416);let F=x.z.object({email:x.z.email({error:"Please enter a valid email address."}),password:x.z.string().optional()}).required({email:!0});function D(e){let n,D,U,z,V,W,B,H,$,K,q,G,J,Y,Z,X,Q,ee,et,er,eo,en,ei,es,ea,el,ec,eu,ed,eh,em,ep,ef,eg,ey,ew,eb,ex,eE,eR,eC,eS,ev,ek,eA,ej=(0,r.c)(116),{invite:eP,onTwoFactor:e_,onPasskeyChallenge:eN}=e,eI=(0,_.useApiClient)(),eO=(0,a.useSearchParams)();ej[0]!==eO?(n=eO.get("account_proof"),ej[0]=eO,ej[1]=n):n=ej[1];let eT="1"===n,eL=(0,L.usePasskeySupport)(),eM="supported"===eL,[eF,eD]=(0,o.useState)(null);ej[2]===Symbol.for("react.memo_cache_sentinel")?(D={resolver:(0,l.zodResolver)(F),defaultValues:{email:"",password:""}},ej[2]=D):D=ej[2];let eU=(0,b.useForm)(D),{isReady:ez}=eU.formState;ej[3]!==eU||ej[4]!==eP?(U=()=>{!eP?.email_hint||eU.getValues("email")||eU.setValue("email",eP.email_hint,{shouldDirty:!1,shouldTouch:!1,shouldValidate:!1})},ej[3]=eU,ej[4]=eP,ej[5]=U):U=ej[5];let eV=eP?.email_hint;ej[6]!==eU||ej[7]!==eV?(z=[eU,eV],ej[6]=eU,ej[7]=eV,ej[8]=z):z=ej[8],(0,o.useEffect)(U,z),ej[9]!==eI?(V=()=>{let e=!0;return async function(){if(await (0,O.isPasskeyAutofillSupported)())try{await (0,O.signInWithPasskey)({client:eI,useBrowserAutofill:!0}),e&&(window.location.href=await (0,I.consumeReturnTo)())}catch(e){(0,T.isPasskeyAbortError)(e)}}(),()=>{e=!1,(0,O.cancelPasskeyRequest)()}},W=[eI],ej[9]=eI,ej[10]=V,ej[11]=W):(V=ej[10],W=ej[11]),(0,o.useEffect)(V,W),ej[12]!==eI?(B=(0,g.loginStoreMutation)({client:eI}),ej[12]=eI,ej[13]=B):B=ej[13],ej[14]!==eN||ej[15]!==e_?(H=async e=>{if("object"==typeof e&&null!==e&&"two_factor"in e&&!0===e.two_factor){await (0,N.refreshCsrfToken)(),e_();return}"object"==typeof e&&null!==e&&"passkey_challenge"in e&&!0===e.passkey_challenge?(await (0,N.refreshCsrfToken)(),eN()):window.location.href=await (0,I.consumeReturnTo)()},ej[14]=eN,ej[15]=e_,ej[16]=H):H=ej[16],ej[17]!==eU.setError||ej[18]!==B||ej[19]!==H?($={...B,onSuccess:H,onError(e){(0,P.setFormErrors)(e,eU.setError)}},ej[17]=eU.setError,ej[18]=B,ej[19]=H,ej[20]=$):$=ej[20];let{mutate:eW,status:eB,error:eH}=(0,f.useMutation)($),e$="pending"===eB||"success"===eB;
11ej[21]!==eI?(K=(0,g.lookupSsoProviderMutation)({client:eI}),ej[21]=eI,ej[22]=K):K=ej[22],ej[23]!==K?(q={...K},ej[23]=K,ej[24]=q):q=ej[24];let{mutate:eK}=(0,f.useMutation)(q);ej[25]!==eI?(G=(0,g.getSsoRedirectUriMutation)({client:eI}),ej[25]=eI,ej[26]=G):G=ej[26],ej[27]!==G?(J={...G,onSuccess(e){let t=(0,P.getSafeSsoRedirectUri)(e.data.uri);t?window.location.href=t:M.default.error("Invalid SSO redirect")},onError(e){M.default.error((0,P.getErrorMessage)(e,"Could not start SSO sign-in."))}},ej[27]=G,ej[28]=J):J=ej[28];let eq=(0,f.useMutation)(J);ej[29]!==eI?(Y={mutationFn:()=>(0,O.signInWithPasskey)({client:eI}),async onSuccess(){window.location.href=await (0,I.consumeReturnTo)()}},ej[29]=eI,ej[30]=Y):Y=ej[30];let eG=(0,f.useMutation)(Y);ej[31]!==eU.control?(Z={control:eU.control,name:"email"},ej[31]=eU.control,ej[32]=Z):Z=ej[32];let eJ=(0,b.useWatch)(Z);if(ej[33]!==eJ){let e=x.z.email().safeParse(eJ);X=e.success?e.data.trim().toLowerCase():null,ej[33]=eJ,ej[34]=X}else X=ej[34];let eY=X,eZ=!eT&&eY&&eF?.email===eY?eF.provider:null;ej[35]!==eT||ej[36]!==eU||ej[37]!==eK||ej[38]!==eY?(Q=()=>{if(!eY||eT)return;let e=!0,t=window.setTimeout(()=>{eK({body:{email:eY}},{onSuccess(t){if(e&&eU.getValues("email").trim().toLowerCase()===eY){if(t.data.enabled&&"provider"in t.data){eD({email:eY,provider:t.data.provider}),eU.clearErrors("password"),eU.setValue("password","",{shouldDirty:!1,shouldTouch:!1,shouldValidate:!1});return}eD(null)}},onError(){e&&eD(null)}})},300);return()=>{e=!1,window.clearTimeout(t)}},ee=[eT,eU,eK,eY],ej[35]=eT,ej[36]=eU,ej[37]=eK,ej[38]=eY,ej[39]=Q,ej[40]=ee):(Q=ej[39],ee=ej[40]),(0,o.useEffect)(Q,ee),ej[41]!==eq||ej[42]!==eU||ej[43]!==eW||ej[44]!==eZ?(et=function(e){eZ?eq.mutate({path:{identityProvider:eZ.id},body:{email:e.email}}):e.password?eW({body:{email:e.email,password:e.password,remember:!0}}):eU.setError("password",{type:"required",message:"Please enter your password."})},ej[41]=eq,ej[42]=eU,ej[43]=eW,ej[44]=eZ,ej[45]=et):et=ej[45];let eX=et;ej[46]!==eP?(er=(0,t.jsx)(i.InviteAuthStrip,{invite:eP,mode:"login"}),ej[46]=eP,ej[47]=er):er=ej[47];let eQ=eP?"Sign in to accept invite":"Sign in";ej[48]!==eQ?(eo=(0,t.jsx)("h1",{className:"font-heading text-body text-4xl leading-tight font-bold",children:eQ}),ej[48]=eQ,ej[49]=eo):eo=ej[49],ej[50]===Symbol.for("react.memo_cache_sentinel")?(en=(0,t.jsxs)("p",{className:"text-muted text-[1rem] font-medium",children:["Don't have an account?"," ",(0,t.jsx)(s.default,{href:"/register",className:"text-primary font-medium hover:underline",children:"Create an account"}),"."]}),ej[50]=en):en=ej[50],ej[51]!==eo?(ei=(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[eo,en]}),ej[51]=eo,ej[52]=ei):ei=ej[52],ej[53]!==eH||ej[54]!==eU?(es=eH&&(0,t.jsx)("div",{className:"mt-6",children:(0,t.jsx)(A.ErrorAlert,{error:eH,form:eU})}),ej[53]=eH,ej[54]=eU,ej[55]=es):es=ej[55],ej[56]!==eU||ej[57]!==eX?(ea=eU.handleSubmit(eX),ej[56]=eU,ej[57]=eX,ej[58]=ea):ea=ej[58],ej[59]===Symbol.for("react.memo_cache_sentinel")?(el={layout:{duration:.24,ease:[.16,1,.3,1]}},ej[59]=el):el=ej[59],ej[60]===Symbol.for("react.memo_cache_sentinel")?(ec=(0,t.jsx)(v.FieldLabel,{htmlFor:"login-email",children:"Email address"}),ej[60]=ec):ec=ej[60];let e1=!ez,e0=!!eU.formState.errors.email;ej[61]!==eU?(eu=eU.register("email"),ej[61]=eU,ej[62]=eu):eu=ej[62],ej[63]!==e1||ej[
1164]!==e0||ej[65]!==eu?(ed=(0,t.jsx)(C.AuthInput,{id:"login-email",disabled:e1,type:"email",autoComplete:"email webauthn",placeholder:"Enter your email address",icon:m.Mail01Icon,animation:S.authInputAnimations.email,invalid:e0,...eu}),ej[63]=e1,ej[64]=e0,ej[65]=eu,ej[66]=ed):ed=ej[66],ej[67]!==eU.formState.errors.email?(eh=eU.formState.errors.email&&(0,t.jsx)(k.FormError,{children:eU.formState.errors.email.message}),ej[67]=eU.formState.errors.email,ej[68]=eh):eh=ej[68],ej[69]!==ed||ej[70]!==eh?(em=(0,t.jsxs)(v.Field,{children:[ec,(0,t.jsxs)(v.FieldContent,{children:[ed,eh]})]}),ej[69]=ed,ej[70]=eh,ej[71]=em):em=ej[71],ej[72]!==eU||ej[73]!==ez||ej[74]!==eZ?(ep=!eZ&&(0,t.jsx)(w.motion.div,{initial:{height:0,opacity:0,y:-4},animate:{height:"auto",opacity:1,y:0},exit:{height:0,opacity:0,y:-4},transition:{height:{duration:.24,ease:[.16,1,.3,1]},opacity:{duration:.16},y:{duration:.2,ease:[.16,1,.3,1]}},className:"overflow-hidden",children:(0,t.jsxs)(v.Field,{children:[(0,t.jsx)(v.FieldLabel,{htmlFor:"login-password",children:"Password"}),(0,t.jsxs)(v.FieldContent,{children:[(0,t.jsx)(C.AuthInput,{id:"login-password",disabled:!ez,type:"password",autoComplete:"current-password",placeholder:"Enter your password",icon:h.LockPasswordIcon,animation:S.authInputAnimations.password,invalid:!!eU.formState.errors.password,...eU.register("password")}),eU.formState.errors.password&&(0,t.jsx)(k.FormError,{children:eU.formState.errors.password.message})]})]})},"password-field"),ej[72]=eU,ej[73]=ez,ej[74]=eZ,ej[75]=ep):ep=ej[75],ej[76]!==ep?(ef=(0,t.jsx)(y.AnimatePresence,{initial:!1,children:ep}),ej[76]=ep,ej[77]=ef):ef=ej[77],ej[78]!==eZ?(eg=eZ&&(0,t.jsx)(w.motion.p,{initial:{opacity:0,y:-3},animate:{opacity:1,y:0},exit:{opacity:0,y:-3},transition:{duration:.18,ease:[.16,1,.3,1]},className:"text-muted text-sm font-medium",children:"This account uses Single Sign-On (SSO)."},"sso-provider-notice"),ej[78]=eZ,ej[79]=eg):eg=ej[79],ej[80]!==eg?(ey=(0,t.jsx)(y.AnimatePresence,{initial:!1,children:eg}),ej[80]=eg,ej[81]=ey):ey=ej[81];let e2=!ez||(eZ?eq.isPending:e$),e5=eZ?eq.isPending?"Redirecting...":"Continue with SSO":e$?"Signing in...":"Log in";ej[82]!==eq||ej[83]!==e$?(ew=!e$&&!eq.isPending&&(0,t.jsx)(p.HugeiconsIcon,{icon:c.ArrowRight01Icon,size:18,strokeWidth:2}),ej[82]=eq,ej[83]=e$,ej[84]=ew):ew=ej[84],ej[85]!==e2||ej[86]!==e5||ej[87]!==ew?(eb=(0,t.jsxs)(j.Button,{type:"submit",disabled:e2,size:"lg",className:`${R.authButtonClass} mt-3 w-full`,children:[e5,ew]}),ej[85]=e2,ej[86]=e5,ej[87]=ew,ej[88]=eb):eb=ej[88],ej[89]!==eZ?(ex=!eZ&&(0,t.jsx)(s.default,{href:"/forgot-password",className:"text-muted hover:text-primary justify-self-center text-xs font-medium",children:"Forgot your password?"}),ej[89]=eZ,ej[90]=ex):ex=ej[90],ej[91]!==ea||ej[92]!==em||ej[93]!==ef||ej[94]!==ey||ej[95]!==eb||ej[96]!==ex?(eE=(0,t.jsxs)(w.motion.form,{layout:!0,onSubmit:ea,className:"mt-10 grid gap-5",transition:el,children:[em,ef,ey,eb,ex]}),ej[91]=ea,ej[92]=em,ej[93]=ef,ej[94]=ey,ej[95]=eb,ej[96]=ex,ej[97]=eE):eE=ej[97],ej[98]===Symbol.for("react.memo_cache_sentinel")?(eR=(0,t.jsx)("div",{className:"absolute inset-0 flex items-center",children:(0,t.jsx)("span",{className:"border-border w-full border-t"})}),ej[98]=eR):eR=ej[98],ej[99]===Symbol.for("react.memo_cache_sentinel")?(eC=(0,t.jsxs)("div",{className:"relative my-8",children:[eR,(0,t.jsx)("div",{className:"relative flex justify-center",children:(0,t.jsx)("span",{className:"text-muted/60 bg-white px-3 text-sm font-medium",children:"Or continue with"})})]}),ej[99]=eC):eC=ej[99];let e4="checking"===eL;return ej[100]!==eG||ej[101]!==eM?(eS=eM?(0,t.jsxs)(j.Button,{type:"button",variant:"outline",size:"lg",className:`${R.authButtonClass} w-full gap-2`,disabled:eG.isPending,onClick:()=>{(0,O.cancelPasskeyRequest)(),eG.mutate()},children:[(0,t.jsx)(p.HugeiconsIcon,{icon:eG.isPending?d.Loading03Icon:u.FingerPrintIcon,size:18,strokeWidth:2,className:eG.isPending?"animate-spin":void 0}),"Passkey"]}):void 0,ej[100]=eG,ej[101]=eM,ej[102]=eS):eS=ej[102],ej[103]!==e4||ej[104]!==eS?(ev=(0,t.jsx)(E.default,{isPreparing:e4,trailingOption:eS}),ej[103]=e4,ej[104]=eS,ej[105]=ev):ev=ej[105],ej[106]!==eG||ej[107]!==eM?(ek=eM&&eG.error&&(0,t.jsx)("p",{className:"text-destructive mt-3 text-sm font-medium",children:(0,T.getPasskeyErrorMessage)(eG.error,"Could not sign in with that passkey.")}),ej[106]=eG,ej[107]=eM,ej[108]=ek):ek=ej[108],ej[109]!==er||ej[110]!==ei||ej[111]!==es||ej[112]!==eE||ej[113]!==ev||ej[114]!==ek?(eA=(0,t.jsxs)(t.Fragment,{children:[er,ei,es,eE,eC,ev,ek]}),ej[109]=er,ej[110]=ei,ej[111]=es,ej[112]=eE,ej[113]=ev,ej[114]=ek,ej[115]=eA):eA=ej[115],eA}var U=e.i(743294);function z(e){let o,n,i,s,a,l,c,d,h,m,g=(0,r.c)(25),{onBack:y}=e,w=(0,_.useApiClient)(),b=(0,L.usePasskeySupport)(),x="supported"===b;g[0]!==w?(o={mutationFn:()=>(0,O.verifyPendingPasskeyLogin)(w),async onSuccess(){window.location.href=await (0,I.consumeReturnTo)()}},g[0]=w,g[1]=o):o=g[1];let E=(0,f.useMutation)(o),C="pending"===E.status||"success"===E.status;g[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsx)("h1",{className:"font-heading text-body text-4xl leading-tight font-bold",children:"Verify with passkey"}),(0,t.jsx)("p",{className:"text-muted text-[1rem] font-medium",children:"Use a passkey registered to this account to finish signing in."})]}),g[2]=n):n=g[2],g[3]!==E.error?(i=E.error&&(0,t.jsx)("div",{className:"border-destructive/20 bg-destructive/5 text-destructive mt-6 rounded-lg border px-4 py-3 text-sm font-medium",children:(0,T.getPasskeyErrorMessage)(E.error,"Passkey verification failed.")}),g[3]=E.error,g[4]=i):i=g[4],g[5]!==b?(s="unsupported"===b&&(0,t.jsx)("div",{className:"border-border bg-canvas text-muted mt-6 rounded-lg border px-4 py-3 text-sm font-medium",children:"This browser does not support passkeys."}),g[5]=b,g[6]=s):s=g[6];let S=!x||C;g[7]!==E?(a=()=>E.mutate(),g[7]=E,g[8]=a):a=g[8];let v=C?"Verifying...":"Use passkey";return g[9]!==C?(l=!C&&(0,t.jsx)(p.HugeiconsIcon,{icon:u.FingerPrintIcon,size:18,strokeWidth:2}),g[9]=C,g[10]=l):l=g[10],g[11]!==S||g[12]!==a||g[13]!==v||g[14]!==l?(c=(0,t.jsxs)(j.Button,{type:"button",disabled:S,size:"lg",className:`${R.authButtonClass} w-full`,onClick:a,children:[v,l]}
11),g[11]=S,g[12]=a,g[13]=v,g[14]=l,g[15]=c):c=g[15],g[16]!==y?(d=y&&(0,t.jsxs)(j.Button,{type:"button",variant:"outline",size:"lg",className:`${R.authButtonClass} w-full`,onClick:y,children:[(0,t.jsx)(p.HugeiconsIcon,{icon:U.ArrowLeft01Icon,size:18,strokeWidth:2}),"Back"]}),g[16]=y,g[17]=d):d=g[17],g[18]!==d||g[19]!==c?(h=(0,t.jsxs)("div",{className:"mt-10 flex flex-col gap-3",children:[c,d]}),g[18]=d,g[19]=c,g[20]=h):h=g[20],g[21]!==h||g[22]!==i||g[23]!==s?(m=(0,t.jsxs)(t.Fragment,{children:[n,i,s,h]}),g[21]=h,g[22]=i,g[23]=s,g[24]=m):m=g[24],m}let V=x.z.object({code:x.z.string().min(6,{error:"Enter the 6-digit code from your authenticator app."})}),W=x.z.object({recovery_code:x.z.string().min(1,{error:"Enter a recovery code."})});function B(e){let n,i,s,a,u,d,h,m,y,w,x,E,C=(0,r.c)(34),{onBack:S}=e,N=(0,_.useApiClient)(),[O,T]=(0,o.useState)("code");C[0]===Symbol.for("react.memo_cache_sentinel")?(n={resolver:(0,l.zodResolver)(V),defaultValues:{code:""}},C[0]=n):n=C[0];let L=(0,b.useForm)(n);C[1]===Symbol.for("react.memo_cache_sentinel")?(i={resolver:(0,l.zodResolver)(W),defaultValues:{recovery_code:""}},C[1]=i):i=C[1];let M=(0,b.useForm)(i);C[2]!==N?(s=(0,g.twoFactorLoginStoreMutation)({client:N}),C[2]=N,C[3]=s):s=C[3],C[4]!==L||C[5]!==O||C[6]!==M||C[7]!==s?(a={...s,async onSuccess(){window.location.href=await (0,I.consumeReturnTo)()},onError(e){"code"===O?(0,P.setFormErrors)(e,L.setError):(0,P.setFormErrors)(e,M.setError)}},C[4]=L,C[5]=O,C[6]=M,C[7]=s,C[8]=a):a=C[8];let{mutate:F,status:D,error:U}=(0,f.useMutation)(a),z="pending"===D||"success"===D;C[9]!==F?(u=function(e){F({body:{code:e.code}})},C[9]=F,C[10]=u):u=C[10];let B=u;C[11]!==F?(d=function(e){F({body:{recovery_code:e.recovery_code}})},C[11]=F,C[12]=d):d=C[12];let $=d;C[13]===Symbol.for("react.memo_cache_sentinel")?(h=function(){T(H)},C[13]=h):h=C[13];let K=h;C[14]===Symbol.for("react.memo_cache_sentinel")?(m=(0,t.jsx)("h1",{className:"font-heading text-body text-4xl leading-tight font-bold",children:"Two-factor authentication"}),C[14]=m):m=C[14];let q="code"===O?"Enter the 6-digit code from your authenticator app to finish signing in.":"Enter one of your recovery codes to finish signing in.";return C[15]!==q?(y=(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[m,(0,t.jsx)("p",{className:"text-muted text-[1rem] font-medium",children:q})]}),C[15]=q,C[16]=y):y=C[16],C[17]!==L||C[18]!==U||C[19]!==O||C[20]!==M?(w=U&&(0,t.jsx)("div",{className:"mt-6",children:"code"===O?(0,t.jsx)(A.ErrorAlert,{error:U,form:L}):(0,t.jsx)(A.ErrorAlert,{error:U,form:M})}),C[17]=L,C[18]=U,C[19]=O,C[20]=M,C[21]=w):w=C[21],C[22]!==L||C[23]!==z||C[24]!==O||C[25]!==S||C[26]!==B||C[27]!==$||C[28]!==M?(x="code"===O?(0,t.jsxs)("form",{onSubmit:L.handleSubmit(B),className:"mt-10 grid gap-6",children:[(0,t.jsxs)(v.Field,{children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)(v.FieldLabel,{htmlFor:"login-2fa",children:"Verification code"}),(0,t.jsx)("button",{type:"button",onClick:K,className:"text-muted hover:text-primary text-xs font-medium",children:"Use a recovery code"})]}),(0,t.jsxs)(v.FieldContent,{children:[(0,t.jsx)("input",{id:"login-2fa",inputMode:"numeric",autoComplete:"one-time-code",maxLength:6,placeholder:"123456","aria-invalid":!!L.formState.errors.code,...L.register("code"),className:"border-border focus:border-primary aria-invalid:border-destructive h-12 w-full rounded-lg border bg-white px-4 text-center text-2xl font-medium tracking-[0.4em] transition-colors outline-none"}),L.formState.errors.code&&(0,t.jsx)(k.FormError,{children:L.formState.errors.code.message})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsxs)(j.Button,{type:"submit",disabled:z,size:"lg",className:`${R.authButtonClass} w-full`,children:[z?"Verifying...":"Verify and continue",!z&&(0,t.jsx)(p.HugeiconsIcon,{icon:c.ArrowRight01Icon,size:18,strokeWidth:2})]}),S&&(0,t.jsx)(j.Button,{type:"button",variant:"outline",size:"lg",className:`${R.authButtonClass} w-full`,onClick:S,children:"Back"})]})]},"code"):(0,t.jsxs)("form",{onSubmit:M.handleSubmit($),className:"mt-10 grid gap-6",children:[(0,t.jsxs)(v.Field,{children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)(v.FieldLabel,{htmlFor:"login-recovery",children:"Recovery code"}),(0,t.jsx)("button",{type:"button",onClick:K,className:"text-muted hover:text-primary text-xs font-medium",children:"Use authenticator code"})]}),(0,t.jsxs)(v.FieldContent,{children:[(0,t.jsx)("input",{id:"login-recovery",autoComplete:"one-time-code",placeholder:"Enter a recovery code","aria-invalid":!!M.formState.errors.recovery_code,...M.register("recovery_code"),className:"border-border focus:border-primary aria-invalid:border-destructive h-12 w-full rounded-lg border bg-white px-4 text-sm font-medium tracking-wider transition-colors outline-none"}),M.formState.errors.recovery_code&&(0,t.jsx)(k.FormError,{children:M.formState.errors.recovery_code.message})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsxs)(j.Button,{type:"submit",disabled:z,size:"lg",className:`${R.authButtonClass}
11 w-full`,children:[z?"Verifying...":"Verify and continue",!z&&(0,t.jsx)(p.HugeiconsIcon,{icon:c.ArrowRight01Icon,size:18,strokeWidth:2})]}),S&&(0,t.jsx)(j.Button,{type:"button",variant:"outline",size:"lg",className:`${R.authButtonClass} w-full`,onClick:S,children:"Back"})]})]},"recovery"),C[22]=L,C[23]=z,C[24]=O,C[25]=S,C[26]=B,C[27]=$,C[28]=M,C[29]=x):x=C[29],C[30]!==y||C[31]!==w||C[32]!==x?(E=(0,t.jsxs)(t.Fragment,{children:[y,w,x]}),C[30]=y,C[31]=w,C[32]=x,C[33]=E):E=C[33],E}function H(e){return"code"===e?"recovery":"code"}e.s(["default",0,function(){let e,s=(0,r.c)(3),[a,l]=(0,o.useState)("login"),{invite:c}=(0,i.useInviteAuthContext)();return s[0]!==c||s[1]!==a?(e=(0,t.jsx)(n.AuthCard,{children:"login"===a?(0,t.jsx)(D,{invite:c,onTwoFactor:()=>l("two-factor"),onPasskeyChallenge:()=>l("passkey")}):"two-factor"===a?(0,t.jsx)(B,{onBack:()=>l("login")}):(0,t.jsx)(z,{onBack:()=>l("login")})}),s[0]=c,s[1]=a,s[2]=e):e=s[2],e}],299112)},208424,e=>{"use strict";var t=e.i(750048);let r=/operation either timed out or was not allowed|privacy-considerations-client|webauthn/i;function o(e){if("u">typeof DOMException&&e instanceof DOMException)return e.name;if("object"!=typeof e||null===e||!("name"in e))return null;let t=e.name;return"string"==typeof t?t:null}e.s(["getPasskeyErrorMessage",0,function(e,n="Could not complete passkey verification."){let i=o(e),s=(0,t.getErrorMessage)(e,n);return"NotAllowedError"===i||r.test(s)?"No passkey was selected. Try again when you're ready.":"AbortError"===i?"Passkey verification was cancelled.":"SecurityError"===i?"This passkey cannot be used from this browser or domain.":"InvalidStateError"===i?"That passkey is already registered. Try another one.":"NotSupportedError"===i?"This browser does not support passkeys.":s},"isPasskeyAbortError",0,function(e){return"AbortError"===o(e)}])},623668,e=>{"use strict";let t=new Set(["ble","cable","hybrid","internal","nfc","smart-card","usb"]);e.i(164152);var r=e.i(311094);e.i(161416);var o=e.i(148323),n=e.i(913526),i=e.i(287028),s=e.i(42045),a=e.i(184647);async function l(){return(0,o.browserSupportsWebAuthn)()&&await (0,n.browserSupportsWebAuthnAutofill)()}async function c({client:e,remember:t=!0,useBrowserAutofill:o=!1}){let{data:n}=await (0,r.passkeyLoginOptions)({client:e,throwOnError:!0}),s=await (0,i.startAuthentication)({optionsJSON:n.options,useBrowserAutofill:o});return(await (0,r.passkeyLogin)({client:e,throwOnError:!0,body:{credential:s,remember:t}})).data}async function u(e){let{data:t}=await (0,r.passkeyLoginChallengeOptions)({client:e,throwOnError:!0}),o=await (0,i.startAuthentication)({optionsJSON:t.options});return(await (0,r.passkeyLoginChallengeStore)({client:e,throwOnError:!0,body:{credential:o}})).data}async function d(e){let{data:t}=await (0,r.userPasskeysIndex)({client:e,throwOnError:!0});return t.data}async function h(e,o="Passkey"){let{data:n}=await (0,r.passkeyRegistrationOptions)({client:e,throwOnError:!0}),i=await (0,s.startRegistration)({optionsJSON:n.options});return(await (0,r.passkeyStore)({client:e,throwOnError:!0,body:{name:o,credential:{...i,response:{...i.response,transports:i.response.transports?.filter(e=>t.has(e))}}}})).data}async function m(e,t,o){return(await (0,r.userPasskeysUpdate)({client:e,throwOnError:!0,path:{passkey:t},body:{name:o}})).data}async function p(e,t){await (0,r.passkeyDestroy)({client:e,throwOnError:!0,path:{passkey:t}})}e.s(["cancelPasskeyRequest",0,function(){a.WebAuthnAbortService.cancelCeremony()},"deletePasskey",0,p,"isPasskeyAutofillSupported",0,l,"isPasskeySupported",0,function(){return(0,o.browserSupportsWebAuthn)()},"listPasskeys",0,d,"registerPasskey",0,h,"renamePasskey",0,m,"signInWithPasskey",0,c,"verifyPendingPasskeyLogin",0,u],623668)},28179,e=>{"use strict";var t=e.i(354810),r=e.i(877992),o=e.i(623668);e.s(["usePasskeySupport",0,function(){let e,n,i=(0,t.c)(2),[s,a]=(0,r.useState)("checking");return i[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{let e=window.requestAnimationFrame(()=>{a((0,o.isPasskeySupported)()?"supported":"unsupported")});return()=>window.cancelAnimationFrame(e)},n=[],i[0]=e,i[1]=n):(e=i[0],n=i[1]),(0,r.useEffect)(e,n),s}])}]); 12 13//# debugId=ca44918c-e731-5fb6-3775-f102f3b99b99
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.