1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a411fa15-017b-44ed-a7d2-5f25919223f9",e._sentryDebugIdIdentifier="sentry-dbid-a411fa15-017b-44ed-a7d2-5f25919223f9")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9457],{15351:(e,t,n)=>{n.r(t),n.d(t,{SignInCtaLabel:()=>i,SignUpCtaLabel:()=>l});var r=n(35424),a=n(6005);let i=e=>{let{methods:t,preAuthOrgSelection:n=!1}=e;return!t.sso||t.magicAuth||t.password||t.passkey?(0,r.jsx)(a.wD,{defaultMessage:"Continue with email",description:"Button text to continue signing in with email",id:"BkUtrk"}):n?(0,r.jsx)(a.wD,{defaultMessage:"Continue",description:"Button text to continue signing in",id:"xIHpJj"}):(0,r.jsx)(a.wD,{defaultMessage:"Continue with SSO",description:"Button text to continue with single sign-on",id:"eBOxSg"})},l=e=>{let{methods:t}=e;return t.password||t.passkey||t.sso?(0,r.jsx)(a.wD,{defaultMessage:"Continue",description:"Button text to continue with sign-up",id:"VAbimY"}):(0,r.jsx)(a.wD,{defaultMessage:"Send email code",description:"Button text to send email verification code",id:"XHqICK"})}},20269:(e,t,n)=>{n.r(t),n.d(t,{Input:()=>g,Root:()=>h});var r=n(35424),a=n(63771),i=n(78588),l=n(2681),o=n(95212),u=n(13340),s=n(32610),d=n(56818);let c=o.createContext(void 0),f={valid:"green",invalid:"red"};function p(e,t,n){switch(t){case"digits":return e.replace(/[^\d]/g,"").slice(0,n);case"characters":return e.replace(/[^A-Za-z0-9]/g,"").slice(0,n).toUpperCase();default:return(0,a.HB)(t)}}function m(e,t){return Array.from({length:t},(t,n)=>e[n]??"")}let h=o.forwardRef(function(e,t){let n,i,{name:d,id:f,defaultValue:h,value:g,onValueChange:v,onChange:w,onInvalid:y,autoSubmit:x,autoFocus:C,autoComplete:k="off",children:E,readOnly:M,state:R,mode:j="digits",suppressPasswordManagers:T=!1,"aria-label":A,"aria-describedby":L,"aria-invalid":D,"data-test":B,title:I,...S}=e,O=o.Children.toArray(E).filter(b).length,H=o.useCallback(e=>p(e,j,O),[j,O]),N=void 0!==g,[F,P]=o.useState(()=>m(p(g??h??"",j,O),O)),q=N?m(p(g??"",j,O),O):F,z=q.join(""),[V,U]=o.useState(!1),[K,_]=o.useState(0),Y=o.useRef(0),$=o.useRef(q);$.current=q;let Z=o.useCallback(e=>{let t=Math.max(0,Math.min(e,Math.max(O-1,0)));Y.current=t,_(t)},[O]),G=o.useRef(!1),X=o.useRef(null),J=o.useRef(null),Q=o.useRef(!1),W=o.useRef(!1),ee=o.useRef(!1),[et,en]=o.useState(0),er=o.useRef(M);er.current=M;let ea=o.useCallback(e=>{let t=X.current;if(!t||t.value===e)return;let n=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value")?.set;n?n.call(t,e):t.value=e},[]),ei=o.useCallback((e,t,n)=>{Q.current=!0,ee.current=n;let r=e.join("");ea(r),$.current=e,P(e),Z(t),en(e=>e+1),v?.(r)},[ea,Z,v]),el=o.useCallback(e=>{let t=H(e);ei(m(t,O),Math.min(t.length,Math.max(O-1,0)),!0)},[H,ei,O]),eo=o.useCallback(()=>{let e=X.current;e&&(W.current=!0,e.dispatchEvent(new Event("input",{bubbles:!0})),W.current=!1)},[]),eu=o.useCallback(e=>{let t=Array.from(J.current?.querySelectorAll(".ak-OtpInput")??[]),n=t[t.length-1];if(!n||e>n.getBoundingClientRect().right)return null;for(let n=0;n<t.length;n++){let r=t[n];if(r&&e<=r.getBoundingClientRect().right)return n}return Math.max(t.length-1,0)},[]),es=o.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!x||er.current||0===O||z.length!==O||!e&&(!Q.current||!ee.current))return;let t=X.current?.form;if(!t)return;if("requestSubmit"in HTMLFormElement.prototype)return void t.requestSubmit();let n=document.createElement("input");n.type="submit",n.style.display="none",t.appendChild(n),n.click(),t.removeChild(n)},[x,O,z]);o.useEffect(()=>{0!==et&&es()},[es,et]),o.useEffect(()=>{let e=X.current;if(!e)return;let t=t=>{!e.readOnly&&t.data&&t.data.length>1&&(t.preventDefault(),el(t.data),eo())};return e.addEventListener("beforeinput",t),()=>e.removeEventListener("beforeinput",t)},[el,eo]),o.useLayoutEffect(()=>
1{C&&!s.H()&&X.current?.focus()},[C]),o.useEffect(()=>{if(!s.H())return;let e=()=>{document.activeElement===X.current&&X.current?.blur()};return document.addEventListener("visibilitychange",e),()=>document.removeEventListener("visibilitychange",e)},[]);let ed=o.useMemo(()=>({slots:q,childCount:O,mode:j,readOnly:M,state:R,isFocused:V,activeIndex:K}),[q,O,j,M,R,V,K]);if("digits"===j)n="numeric",i=`\\d{${O}}`;else{if("characters"!==j)return(0,a.HB)(j);n="text",i=`[A-Za-z0-9]{${O}}`}let ec=0,ef=o.Children.map(E,e=>b(e)?o.cloneElement(e,{index:ec++}):e);return(0,r.jsx)(c.Provider,{value:ed,children:(0,r.jsxs)(u.s,{...S,className:"ak-OtpSingle",dir:"ltr",position:"relative",ref:J,children:[ef,(0,r.jsx)("input",{...T?{"data-1p-ignore":"true","data-lpignore":"true","data-protonpass-ignore":"true","data-bwignore":"true"}:{},ref:(0,l.t)(t,X),"aria-describedby":L,"aria-invalid":D,"aria-label":A,autoComplete:k,className:"ak-OtpHiddenInput","data-test":B,dir:"ltr",id:f,inputMode:n,maxLength:O,minLength:O,name:d,pattern:i,readOnly:M,title:I,type:"text",value:z,onBlur:()=>U(!1),onChange:e=>{if(W.current){W.current=!1,w?.(e);return}if(M){let e=X.current;e&&(e.value=z);return}let t=e.target.value;el(t),H(t)===t?w?.(e):eo()},onFocus:()=>{var e;let t;U(!0);let n=X.current,r=s.H();G.current||Z(-1===(t=(e=$.current).indexOf(""))?Math.max(e.length-1,0):t),G.current=!1,n&&r&&s.T(n)},onInvalid:y,onKeyDown:e=>{if("Enter"===e.key)return M?void e.preventDefault():void(x&&z.length===O&&(e.preventDefault(),es(!0)));if(M||e.ctrlKey||e.metaKey||e.altKey)return;if("ArrowLeft"===e.key){e.preventDefault(),Z(Y.current-1);return}if("ArrowRight"===e.key){e.preventDefault(),Z(Y.current+1);return}if("Backspace"===e.key){e.preventDefault();let t=Y.current,n=$.current;if(""!==n[t]){let e=[...n];e[t]="",ei(e,t,!1),eo()}else if(t>0){let e=[...n];e[t-1]="",ei(e,t-1,!1),eo()}return}if("Delete"===e.key){e.preventDefault();let t=Y.current,n=$.current;if(""!==n[t]){let e=[...n];e[t]="",ei(e,t,!1),eo()}return}if(1!==e.key.length||(e.preventDefault(),!("digits"===j?/\d/.test(e.key):/[A-Za-z0-9]/.test(e.key))))return;let t="characters"===j?e.key.toUpperCase():e.key,n=Y.current,r=[...$.current];r[n]=t,ei(r,Math.min(n+1,Math.max(O-1,0)),n===O-1),eo()},onPointerDown:e=>{if("touch"===e.pointerType)return;let t=eu(e.clientX);if(null===t)return;e.preventDefault();let n=X.current;n&&(G.current=document.activeElement!==n,n.focus(),Z(t))},onPaste:e=>{e.preventDefault(),M||(el(e.clipboardData.getData("Text")),eo())}})]})})}),g=o.forwardRef(function(e,t){let{style:n,readOnly:a,index:l=-1,autoComplete:o,...u}=e,s=v(),{slots:c,childCount:p,state:m,isFocused:h,activeIndex:g}=s,b=c[l]??"",w=c.every(e=>""!==e),y=h&&"valid"!==m&&l>=0&&l===g&&!(w&&l===p-1),x=y&&""===b;return(0,r.jsx)(d.Root,{suppressPasswordManagers:!0,ref:t,"aria-hidden":!0,autoComplete:"off",className:i("ak-OtpInput",m&&`ak-OtpInput--${m}`),color:m?f[m]:void 0,"data-active":y||void 0,readOnly:a??s.readOnly,size:"3",style:{pointerEvents:"none",...n},tabIndex:-1,value:b,onChange:()=>void 0,...u,children:x?(0,r.jsx)("span",{"aria-hidden":!0,className:"ak-OtpCaret"}):null})}),v=()=>{let e=o.useContext(c);if(!e)throw Error("OtpInput compound components cannot be rendered outside the OtpRoot component");return e};function b(e){return o.isValidElement(e)&&e.type===g}},32610:(e,t,n)=>{n.d(t,{H:()=>r,T:()=>p});let r=()=>window.matchMedia("(pointer: coarse)").matches,a=e=>window.innerHeight-(e.offsetTop+e.height),i=null,l=null,o=null,u=null,s=!1,d=()=>{i&&(i.remove(),i=null)},c=!1,f=()=>{if(o?.(),o=null,c)return;let e=u;u=null,l?.(),l=null;let t=window.scrollY;if(null===e||1>Math.abs(e-t))return void d();let n=e-t,r=performance.now();c=!0;let a=e=>{let i=Math.min(1,(e-r)/380);window.scrollTo(0,t+i*i*i*(i*(6*i-15)+10)*n),i<1?requestAnimationFrame(a):(c=!1,d())};requestAnimationFrame(a)},p=e=>{if(!((/iPhone|iPad|iPod/.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!/CriOS|FxiOS|EdgiOS|OPiOS|GSA|DuckDuckGo|YaBrowser|Brave/.test(navigator.userAgent))||s)return;s=!0;let t=window.visualViewport;if(t&&t.scale>1.1)return;let n=performance.now(),r=n,d="",c=0,p=!1,m=null,h=!1;o=()=>{h=!0};let g=()=>{if(h||document.activeElement!==e)return;let o=performance.now(),s=Math.max(1,o-r);r=o,t&&a(t)>100&&(p=!0);let v=[Math.round(t?.offsetTop??-1),Math.round(t?.height??-1)].join(",");c=v===d?c+1:0,d=v;let b=o-n>=900;if(!p&&!b)return void requestAnimationFrame(g);let{visibleTop:w,visibleBottom:y}=t&&a(t)>100?{visibleTop:t.offsetTop,visibleBottom:t.offsetTop+t.height}:{visibleTop:0,visibleBottom:.5*window.innerHeight},x=e.getBoundingClientRect().top-(w+(y-w)*.28),C=c>=2;if(null===m){if(x<=4){if(C||b)return;requestAnimationFrame(g);return}m=o,null===u&&(u=window.scrollY),(()=>{if(l)return;
1let e=window.visualViewport,t=()=>{(!e||100>=a(e))&&f()},n=()=>{requestAnimationFrame(()=>{let e=document.activeElement;e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable||f()})};e?.addEventListener("resize",t),document.addEventListener("focusout",n),window.addEventListener("pagehide",f),l=()=>{e?.removeEventListener("resize",t),document.removeEventListener("focusout",n),window.removeEventListener("pagehide",f)}})()}if((!(x<=4)||!C&&!b)&&!(o-m>=1200)){if(x>0){let e,t=document.scrollingElement??document.documentElement,n=t.scrollHeight-t.clientHeight-window.scrollY;x>n&&(i||((i=document.createElement("div")).setAttribute("aria-hidden","true"),i.style.cssText="width:1px;pointer-events:none;flex:none",document.body.appendChild(i)),e=Number.parseFloat(i.style.height)||0,i.style.height=`${Math.ceil(e+(x-n+40))}px`,document.documentElement.scrollHeight),window.scrollBy(0,x*(1-Math.exp(-s/150)))}requestAnimationFrame(g)}};g()}},41277:(e,t,n)=>{n.r(t),n.d(t,{Input:()=>h,Root:()=>m});var r=n(35424),a=n(63771),i=n(78588),l=n(30924),o=n(2681),u=n(95212),s=n(13340),d=n(56818);let c=u.createContext(void 0),f=[],p={valid:"green",invalid:"red"},m=u.forwardRef(function(e,t){let{name:n,id:a,defaultValue:i,value:d,onValueChange:p,autoSubmit:m,children:g,readOnly:v,state:x,mode:C="digits",...k}=e,[E,M]=u.useState(0),[R,j]=u.useState(!1),T=u.Children.toArray(g).filter(e=>u.isValidElement(e)&&e.type===h).length,[A,L]=(0,l.i)({prop:w(d,T),defaultProp:w(i,T)??f,onChange:e=>p?.(e.join(""))}),D=u.useRef(null),B=u.useRef([]),I=u.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(m&&A&&A.length===T&&A.every(e=>""!==e)&&(e||E+1===T)){let e=D.current?.form;if(!e)return;if("requestSubmit"in HTMLFormElement.prototype)return void e.requestSubmit();let t=document.createElement("input");t.type="submit",t.style.display="none",e.appendChild(t),t.click(),e.removeChild(t)}},[A,T,E,m]),S=u.useCallback(()=>I(!0),[I]),O=u.useCallback(e=>{e?(e.dataset.index=`${B.current.length}`,B.current.push(e)):B.current.pop(),B.current.length===T&&j(!0)},[T]),H=u.useCallback((e,t)=>{L(n=>{let r=[...n??y(T)];return r[t]=e,r}),M(t)},[T,L]),N=u.useCallback(e=>{let t=b(e,C).slice(0,T);L(t.padEnd(T,"#").split("").map(e=>"#"===e?"":e)),M(t.length-1);let n=Math.min(t.length,T-1);B.current?.[n]?.focus()},[C,T,L]),F=u.useMemo(()=>({value:A??y(T),readOnly:v,state:x,allChildrenAdded:R,mode:C,childCount:T,onEnterPressed:S,onChildAdd:O,onCharChange:H,onValueFill:N,childrenRefs:B}),[A,R,C,v,x,T,S,O,H,N]);return u.useEffect(I,[I]),u.useEffect(()=>{if(!window.matchMedia("(pointer: coarse)").matches)return;let e=()=>{document.activeElement instanceof HTMLInputElement&&B.current?.includes(document.activeElement)&&document.activeElement.blur()};return document.addEventListener("visibilitychange",e),()=>document.removeEventListener("visibilitychange",e)},[]),(0,r.jsx)(c.Provider,{value:F,children:(0,r.jsxs)(s.s,{...k,className:"ak-Otp",dir:"ltr",onPaste:e=>{e.preventDefault(),N(e.clipboardData.getData("Text"))},children:[g,(0,r.jsx)("input",{ref:(0,o.t)(t,D),defaultValue:A?.join(""),minLength:T,name:n,type:"hidden"})]})})}),h=u.forwardRef(function(e,t){let n,l,{style:s,readOnly:c,autoComplete:f="off",...m}=e,h=g(),w=h.childrenRefs,y=u.useRef(null),x=(0,o.s)(t,y,h.onChildAdd),C=Number(y.current?.dataset.index??-1),k=h.value[C]??"",E=0===C&&"off"!==f;if("digits"===h.mode)n="numeric",l="\\d{1}";else{if("characters"!==h.mode)return(0,a.HB)(h.mode);n="text",l="[A-Za-z0-9]{1}"}return(0,r.jsx)(d.Root,{ref:x,autoComplete:E?f:"off",className:i("ak-OtpInput",h.state&&`ak-OtpInput--${h.state}`),color:h.state?p[h.state]:void 0,inputMode:n,maxLength:E&&""===k?h.childCount:1,pattern:l,readOnly:c??h.readOnly,size:"3",value:k,onChange:e=>{let t=e.target.value;if(t.length>1){let n=b(t,h.mode);if(n.length>1)h.onValueFill(t);else if(1===n.length){let t=Number(e.target.dataset.index??-1);h.onCharChange(n,t),v(w,e.currentTarget)}return}if(e.target.validity.valid){let n=t.toUpperCase(),r=Number(e.target.dataset.index??-1);h.onCharChange(n,r),""!==n&&v(w,e.currentTarget,{back:""===n})}},onKeyDown:e=>{"ArrowLeft"===e.key?(v(w,e.currentTarget,{back:!0}),e.preventDefault()):"ArrowRight"===e.key?(v(w,e.currentTarget),e.preventDefault()):"Backspace"===e.key&&""===k?v(w,e.currentTarget,{back:!0}):"Enter"===e.key&&""!==k&&h.onEnterPressed()},...m})}),g=()=>{let e=u.useContext(c);if(!e)throw Error("OtpInput compound components cannot be rendered outside the OtpRoot component");return e};function v(e,t){let{back:n=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=e.current??[],a=Number(t.dataset.index??-1);if(!Number.isInteger(a)||-1===a)return;let i=n?r[Math.max(0,a-1)]:r[Math.min(r.length-1,a+1)];i&&i instanceof HTMLInputElement&&(i?.focus(),i?.select())}function b(e,t){switch(t){case"digits":return e.replace(/[^\d]/g,"");case"characters":return e.replace(/[^A-Za-z0-9]/g,"").toUpperCase();default:return(0,a.HB)(t)}}let w=(e,t)=>{if(e)return y(t).map((t,n)=>e?.[n]??"")},y=e=>Array.from({length:e}).fill("")},50035:(e,t,n)=>{n.r(t),n.d(t,{Button:()=>d,Icon:()=>f,Label:()=>c,Root:()=>s});var r=n(35424),a=n(95918),i=n(6683),l=n(6005),o=n(78588),u=n(95212);let s=u.forwardRef(function(e,t){let{children:n,className:a,...i}=e;return(0,r.jsx)("div",{ref:t,className:o("ak-SelectionCardRoot",a),...i,children:n})}),d=u.forwardRef(function(e,t){let{children:n,className:a,disabled:i,...l}=e;return(0,r.jsx)("button",{ref:t,className:o("ak-SelectionCardButton","rt-reset",a),disabled:i||void 0,...l,children:n})}),c=u.forwardRef(function(e,t){let{children:n,className:a,...i}=e;return(0,r.jsx)("span",{ref:t,className:o("ak-SelectionCardButtonLabel",a),...i,children:n})}),f=u.forwardRef(function(e,t){let{children:n,className:u,...s}=e;return"ltr"===(0,l.Ym)().dir?(0,r.jsx)(a.A,{...s,ref:t,className:o("ak-SelectionCardButtonIcon",u)}):(0,r.jsx)(i.A,{...s,ref:t,className:o("ak-SelectionCardButtonIcon",u)})})},56818:(e,t,n)=>{n.r(t),n.d(t,{Root:()=>s,Slot:()=>d,isUsingCoarsePointer:()=>
1u.H,scrollFieldIntoViewAboveKeyboard:()=>u.T});var r=n(35424),a=n(79880),i=n(42508),l=n(78588),o=n(95212),u=n(32610);let s=o.forwardRef(function(e,t){let{autoFocus:n,className:s,onFocus:d,suppressPasswordManagers:c=!1,...f}=e,p=o.useRef(null),m=(0,a.s)(t,p);o.useLayoutEffect(()=>{n&&!(0,u.H)()&&p.current?.focus()},[n]);let h=o.useCallback(e=>{d?.(e),p.current&&(0,u.H)()&&(0,u.T)(p.current)},[d]);return(0,r.jsx)(i.b,{...c?{"data-1p-ignore":"true","data-lpignore":"true","data-protonpass-ignore":"true","data-bwignore":"true"}:{},...f,ref:m,className:l("ak-TextField",s),onFocus:h})}),d=o.forwardRef(function(e,t){let{className:n,...a}=e;return(0,r.jsx)(i.D,{...a,ref:t,className:l("ak-TextFieldSlot",n)})})},67141:(e,t,n)=>{n.r(t),n.d(t,{Favicon:()=>a});var r=n(35424);let a=e=>{let{lightFaviconPath:t,darkFaviconPath:n}=e;return t??n?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("link",{href:t??n,rel:"icon"}),t&&(0,r.jsx)("link",{href:t,media:"(prefers-color-scheme: light)",rel:"icon"}),n&&(0,r.jsx)("link",{href:n,media:"(prefers-color-scheme: dark)",rel:"icon"})]}):null}},72477:(e,t,n)=>{n.r(t),n.d(t,{LastUsedBadge:()=>o});var r=n(35424),a=n(6005),i=n(78588),l=n(40658);let o=e=>{let{centered:t=!1,className:n,disabled:o=!1}=e;return(0,r.jsx)(l.E,{className:i("ak-LastUsedBadge",n),"data-disabled":o||void 0,size:"1",style:t?{top:"-16px",left:"50%",transform:"translateX(-50%)"}:{top:"-12px",right:"-12px"},variant:"solid",children:(0,r.jsx)(a.wD,{defaultMessage:"Last used",description:"A badge displayed on a button indicating it was the last authentication method used.",id:"Jru8dC"})})}},99833:(e,t,n)=>{n.r(t),n.d(t,{CopyButton:()=>f});var r=n(35424),a=n(88933),i=n(12813),l=n(20496),o=n(6005),u=n(80144),s=n(95212),d=n(28077),c=n(22541);let f=e=>{let{copyLabel:t,onClick:n,value:f,...p}=e,m=(0,o.Bd)(),[h,g]=s.useState(),v=s.useRef(void 0),b=s.useRef(0),w=s.useRef(!0);s.useEffect(()=>(w.current=!0,()=>{w.current=!1,window.clearTimeout(v.current)}),[]);let y={copied:m({defaultMessage:"Copied",description:"Confirmation shown after the copy button writes its value to the clipboard",id:"VGAttR"}),failed:m({defaultMessage:"The value could not be copied. Copy it manually instead.",description:"Error shown when the copy button cannot write the value to the clipboard",id:"gRbi4Y"})},x={copied:(0,r.jsx)(a.A,{}),failed:(0,r.jsx)(i.A,{})},C=h?y[h]:t;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.m,{content:C,children:(0,r.jsx)(d.K,{"aria-label":C,onClick:e=>{if(n?.(e),!e.defaultPrevented){let e=b.current+1;function t(t){w.current&&b.current===e&&(window.clearTimeout(v.current),g(t),v.current=window.setTimeout(()=>g(void 0),2e3))}b.current=e,(navigator.clipboard?.writeText(f)??Promise.reject(Error("The clipboard API is unavailable."))).then(()=>t("copied"),()=>t("failed"))}},...p,color:"failed"===h?"red":p.color,children:h?x[h]:(0,r.jsx)(l.A,{})})}),(0,r.jsx)(u.bL,{role:"status",children:h?y[h]:null})]})}}}]);
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.