(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,738121,e=>{"use strict";var a=e.i(843476),s=e.i(271645),t=e.i(770703);e.i(253398);var c=e.i(254697);let i=(0,t.default)(()=>e.A(390723),{loadableGenerated:{modules:[984146]},loading:()=>(0,a.jsx)(c.LoadingCard,{})}),n=(0,t.default)(()=>e.A(100237),{loadableGenerated:{modules:[337896]},loading:()=>(0,a.jsx)(c.LoadingCard,{})}),d=(0,t.default)(()=>e.A(608630),{loadableGenerated:{modules:[322344]},loading:()=>(0,a.jsx)(c.LoadingCard,{})});e.s([],744902),e.i(744902),e.s(["default",0,()=>{let[e,t]=(0,s.useState)("SIGNUP"),[c,u]=(0,s.useState)(),[l,r]=(0,s.useState)(),o=(0,s.useCallback)(e=>t(e),[]),[f,h]=(0,s.useState)(),b=(0,s.useRef)({}),[j,k]=(0,s.useState)({});switch(e){case"SIGNUP":default:return(0,a.jsx)(i,{onChangeView:o,onSuccess:({credential:e,callback:a})=>{r(e),u(a)}});case"VERIFY":return(0,a.jsx)(n,{confirmationResult:c,credential:l,onChangeView:o,onSuccess:(e,a)=>{h(e);let s=a||{};b.current=s,k(s)}});case"COMPLETE":return(0,a.jsx)(d,{idToken:f,credential:l,verifyId:j.verifyId||b.current.verifyId,verifyCode:j.verifyCode||b.current.verifyCode})}}],738121)},839442,e=>{e.n(e.i(738121))},390723,e=>{e.v(a=>Promise.all(["static/chunks/3fafd5c573c7b926.js","static/chunks/2d148e7fb77f927c.js","static/chunks/501674ef1aa356ab.js","static/chunks/57c990b980808c50.js","static/chunks/0bb33ff17c98acd6.js","static/chunks/9ea36fb9299760fc.css"].map(a=>e.l(a))).then(()=>a(984146)))},100237,e=>{e.v(a=>Promise.all(["static/chunks/128b3ee9c45a1f23.js","static/chunks/501674ef1aa356ab.js"].map(a=>e.l(a))).then(()=>a(337896)))},608630,e=>{e.v(a=>Promise.all(["static/chunks/1415b04309dd0cad.js","static/chunks/2d148e7fb77f927c.js","static/chunks/501674ef1aa356ab.js","static/chunks/57c990b980808c50.js"].map(a=>e.l(a))).then(()=>a(322344)))}]);