import{I as e,It as t,O as n,Q as r,S as i,T as a,bt as o,g as s,j as c,k as l,mt as u,t as d,x as f}from"./_plugin-vue_export-helper-BVhEvvHC.js";import{ar as p}from"./src-CD6Jsigc.js";import{t as m}from"./axios-DSyjHw-i.js";import{h,m as g}from"./useApi-CROJJdhE-bFLQvr8j.js";e(),o();var _={class:`wait-screen`},v={class:`wait-content`},y=d(c({__name:`SignUpWait`,setup(e){let o=h(),c=g(),d=f(()=>c.query.authType===`google`);async function y(){try{await m.post(`/account/login/restart`)}catch{}o.push(`/login/oauth2`)}return(e,o)=>(r(),a(`div`,_,[o[5]||=i(`div`,{class:`wait-spinner`},[i(`div`,{class:`wait-ring`})],-1),i(`div`,v,[d.value?(r(),a(s,{key:0},[o[0]||=i(`h2`,{class:`wait-title`},`Opening browser`,-1),o[1]||=i(`p`,{class:`wait-text`},[n(` Please continue signing in using your browser.`),i(`br`),n(` If your browser did not open, please contact us for support. `)],-1)],64)):(r(),a(s,{key:1},[o[2]||=i(`h2`,{class:`wait-title`},`Processing login`,-1),o[3]||=i(`p`,{class:`wait-text`},` Please wait while we verify your credentials. `,-1)],64))]),l(t(p),{variant:`link`,class:`wait-back`,onClick:y},{default:u(()=>[...o[4]||=[n(` Return to Sign In Options `,-1)]]),_:1})]))}}),[[`__scopeId`,`data-v-2eb51555`]]);export{y as default};