module.exports=[252033,a=>{"use strict";var b=a.i(187924),c=a.i(572131),d=a.i(819721);a.i(929207);var e=a.i(249839);let f=(0,d.default)(()=>a.A(261396),{loadableGenerated:{modules:[984146]},loading:()=>(0,b.jsx)(e.LoadingCard,{})}),g=(0,d.default)(()=>a.A(644277),{loadableGenerated:{modules:[337896]},loading:()=>(0,b.jsx)(e.LoadingCard,{})}),h=(0,d.default)(()=>a.A(106134),{loadableGenerated:{modules:[322344]},loading:()=>(0,b.jsx)(e.LoadingCard,{})});a.s([],943652),a.i(943652),a.s(["default",0,()=>{let[a,d]=(0,c.useState)("SIGNUP"),[e,i]=(0,c.useState)(),[j,k]=(0,c.useState)(),l=(0,c.useCallback)(a=>d(a),[]),[m,n]=(0,c.useState)(),o=(0,c.useRef)({}),[p,q]=(0,c.useState)({});switch(a){case"SIGNUP":default:return(0,b.jsx)(f,{onChangeView:l,onSuccess:({credential:a,callback:b})=>{k(a),i(b)}});case"VERIFY":return(0,b.jsx)(g,{confirmationResult:e,credential:j,onChangeView:l,onSuccess:(a,b)=>{n(a);let c=b||{};o.current=c,q(c)}});case"COMPLETE":return(0,b.jsx)(h,{idToken:m,credential:j,verifyId:p.verifyId||o.current.verifyId,verifyCode:p.verifyCode||o.current.verifyCode})}}],252033)},530595,a=>{a.n(a.i(252033))},261396,a=>{a.v(b=>Promise.all(["server/chunks/ssr/_81e67f91._.js","server/chunks/ssr/node_modules_@hookform_resolvers_yup_dist_yup_mjs_22e14696._.js","server/chunks/ssr/node_modules_a2e0aac5._.js","server/chunks/ssr/node_modules_@firebase_app_dist_esm_index_esm2017_eed52206.js","server/chunks/ssr/_b1581cd4._.js"].map(b=>a.l(b))).then(()=>b(573626)))},644277,a=>{a.v(b=>Promise.all(["server/chunks/ssr/_a06166dd._.js","server/chunks/ssr/node_modules_@firebase_app_dist_esm_index_esm2017_eed52206.js"].map(b=>a.l(b))).then(()=>b(485726)))},106134,a=>{a.v(b=>Promise.all(["server/chunks/ssr/_b9407fe5._.js","server/chunks/ssr/node_modules_@hookform_resolvers_yup_dist_yup_mjs_22e14696._.js","server/chunks/ssr/node_modules_a2e0aac5._.js","server/chunks/ssr/node_modules_@firebase_app_dist_esm_index_esm2017_eed52206.js"].map(b=>a.l(b))).then(()=>b(591220)))}];

//# sourceMappingURL=components_auth_sign-up_2016dada._.js.map