import{g as m}from"./api.9febf9ca.js";import{u as d}from"./index.380e90d4.js";import{d as f,eJ as p,eD as u,b as i,ev as l,e as _,u as s,c as y,w as g,ex as h,f as w,v as b}from"./outputWidgets.a321903e.js";import{P as v}from"./Passwordless.80953058.js";import{a as k}from"./asyncComputed.78ec0807.js";import{W as x}from"./WidgetsFrame.08a9ab91.js";import"./runnerData.60d212c9.js";import"./url.d108fea5.js";import"./fetch.bf5f2911.js";import"./pubsub.df0290b2.js";import"./index.67ace725.js";import"./CircularLoading.32efcc83.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="28ac674f-c3e2-443c-931f-87e07b0f3a59",e._sentryDebugIdIdentifier="sentry-dbid-28ac674f-c3e2-443c-931f-87e07b0f3a59")}catch{}})();const D={class:"login"},I=f({__name:"Login",setup(e){const t=p(),a=u(),{result:o}=k(m),c=async()=>{await d.signUp();const{redirect:r,...n}=a.query;if(r){t.push({path:r,query:n,params:a.params});return}t.push({name:"playerThreads",query:n})};return(r,n)=>(i(),l("div",null,[_("div",D,[s(o)?(i(),y(x,{key:0,"main-color":s(o).mainColor,theme:s(o).theme,"font-family":s(o).fontFamily,style:{width:"100vw"}},{default:g(()=>[w(v,{onDone:c})]),_:1},8,["main-color","theme","font-family"])):h("",!0)])]))}});const M=b(I,[["__scopeId","data-v-487a9e48"]]);export{M as default};
//# sourceMappingURL=Login.ca91118f.js.map
