(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[3035],{379277(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{u:()=>e.u});var e=__webpack_require__(806084)}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},629735(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{V:()=>a});var e=__webpack_require__(303280);__webpack_require__.n(e);var t=__webpack_require__(860012);var i=__webpack_require__(277315);function a(a){let n=(0,e.c)(4);let{enabled:r,onUnsupported:s}=a;let l=r===undefined?!0:r;let c;let u;n[0]!==l||n[1]!==s?(c=()=>{if(!l)return;let e=!1;return(async()=>{let t;try{t=await (0,i.BI)()}catch{}if(e||t!==!1)return;s()})(),()=>{e=!0}},u=[l,s],n[0]=l,n[1]=s,n[2]=c,n[3]=u):(c=n[2],u=n[3]),(0,t.useEffect)(c,u)}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},806084(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{u:()=>h});var e=__webpack_require__(303280);__webpack_require__.n(e);var t=__webpack_require__(860012);var i=__webpack_require__(305142);var a=__webpack_require__(848574);var n=__webpack_require__(556734);var r=__webpack_require__(126528);var s=__webpack_require__(219384);var l=__webpack_require__(68940);function c(e){return e==="success"?t.createElement(r.a,{className:"flex size-11 shrink-0 items-center","data-testid":"passkey-step-indicator-success"},t.createElement(s.I,{name:i.$M.Confirmation,color:i.Li.SuccessDefault,size:i.lK.Lg})):(0,e==="loading")?t.createElement(r.a,{className:"flex size-11 shrink-0 items-center","data-testid":"passkey-step-indicator-loading"},t.createElement(s.I,{name:i.$M.Loading,color:i.Li.IconDefault,size:i.lK.Lg,className:"animate-spin"})):(0,t.createElement(r.a,{className:"flex size-11 shrink-0 items-center","data-testid":"passkey-step-indicator-idle"},t.createElement(s.I,{name:i.$M.FullCircle,color:i.Li.IconMuted,size:i.lK.Lg})))}function u(e){return e==="idle"?a.r7.TextAlternative:(0,e==="success")?a.r7.SuccessDefault:(0,a.r7.TextDefault)}function o(e,i){return t.createElement(r.a,{flexDirection:n.uV.Row,alignItems:n.RE.Center},c(e),t.createElement(l.E,{variant:a.J3.BodyMd,fontWeight:a.IT.Regular,color:u(e)},i))}let h=i=>{let a=(0,e.c)(10);let{registerStatus:s,verifyStatus:l,registerLabel:c,verifyLabel:u,className:h}=i;let d;a[0]!==c||a[1]!==s?(d=o(s,c),a[0]=c,a[1]=s,a[2]=d):d=a[2];let f;a[3]!==u||a[4]!==l?(f=o(l,u),a[3]=u,a[4]=l,a[5]=f):f=a[5];let m;return a[6]!==h||a[7]!==d||a[8]!==f?(m=t.createElement(r.a,{flexDirection:n.uV.Column,gap:2,className:h,"data-testid":"passkey-setup-steps","aria-busy":!0},d,f),a[6]=h,a[7]=d,a[8]=f,a[9]=m):m=a[9],m}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()}}]);