import{g as m}from"./api.734f41cc.js";import{u as c}from"./index.98d02c55.js";import{d,f7 as p,f1 as f,u as r,b as u,c as _,w as l,eX as y,f as b,E as g}from"./outputWidgets.a6a6ef30.js";import{_ as h}from"./Login.vue_vue_type_script_setup_true_lang.d8380f3d.js";import{a as w}from"./asyncComputed.d67c847a.js";import{W as I}from"./WidgetsFrame.68dc535a.js";import"./runnerData.09340835.js";import"./url.00089ca9.js";import"./fetch.2cdde52d.js";import"./pubsub.906f7e66.js";import"./CircularLoading.39b4839a.js";import"./index.4934d790.js";import"./PhArrowClockwise.vue.50cc3f5c.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]="2b3a7083-bd21-48b6-9d84-2e01296e5b4d",e._sentryDebugIdIdentifier="sentry-dbid-2b3a7083-bd21-48b6-9d84-2e01296e5b4d")}catch{}})();const k=d({__name:"Login",setup(e){const t=p(),a=f(),{result:o}=w(m),i=async()=>{await c.signUp();const{redirect:s,...n}=a.query;if(s){await t.push({path:s,query:n,params:a.params});return}t.push({name:"playerHome",query:n})};return(s,n)=>r(o)?(u(),_(I,{key:0,"main-color":r(o).mainColor,theme:r(o).theme,"font-family":r(o).fontFamily,class:"runner"},{default:l(()=>[b(h,{onDone:i})]),_:1},8,["main-color","theme","font-family"])):y("",!0)}});const H=g(k,[["__scopeId","data-v-b7ca18fc"]]);export{H as default};
//# sourceMappingURL=Login.609dad09.js.map
