import{g as i}from"./api.e24c8192.js";import{u as m}from"./index.d904323b.js";import{d as f,f7 as p,f1 as u,u as r,b as d,c as _,w as l,eX as y,f as g,E as b}from"./outputWidgets.025875ae.js";import{_ as h}from"./Login.vue_vue_type_script_setup_true_lang.c719fc30.js";import{a as w}from"./asyncComputed.462004f9.js";import{W as I}from"./WidgetsFrame.35e28a56.js";import"./runnerData.27977465.js";import"./url.53dfb2e6.js";import"./fetch.feaee3bc.js";import"./pubsub.6d633724.js";import"./CircularLoading.6574de6a.js";import"./index.f776627f.js";import"./PhArrowClockwise.vue.c0185d99.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]="c08fe5e2-9c73-4d8e-8dc5-6a20e0f3e66b",e._sentryDebugIdIdentifier="sentry-dbid-c08fe5e2-9c73-4d8e-8dc5-6a20e0f3e66b")}catch{}})();const k=f({__name:"Login",setup(e){const t=p(),a=u(),{result:o}=w(i),c=async()=>{await m.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)?(d(),_(I,{key:0,"main-color":r(o).mainColor,theme:r(o).theme,"font-family":r(o).fontFamily,class:"runner"},{default:l(()=>[g(h,{onDone:c})]),_:1},8,["main-color","theme","font-family"])):y("",!0)}});const H=b(k,[["__scopeId","data-v-b7ca18fc"]]);export{H as default};
//# sourceMappingURL=Login.b95597b0.js.map
