import{g as m}from"./api.eaccf0ba.js";import{u as f}from"./index.db651dd8.js";import{d as c,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.ebb9dc3f.js";import{_ as h}from"./Login.vue_vue_type_script_setup_true_lang.b127403b.js";import{a as w}from"./asyncComputed.0cb7aad7.js";import{W as I}from"./WidgetsFrame.e4f34a36.js";import"./runnerData.9ef49090.js";import"./url.f808e39f.js";import"./fetch.976c6f1b.js";import"./pubsub.5478cedc.js";import"./CircularLoading.adac289b.js";import"./index.4cc60584.js";import"./PhArrowClockwise.vue.de952e35.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]="de3f1957-d7ef-4375-9eb5-09b58425603e",e._sentryDebugIdIdentifier="sentry-dbid-de3f1957-d7ef-4375-9eb5-09b58425603e")}catch{}})();const k=c({__name:"Login",setup(e){const t=p(),a=u(),{result:o}=w(m),i=async()=>{await f.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:i})]),_:1},8,["main-color","theme","font-family"])):y("",!0)}});const H=b(k,[["__scopeId","data-v-b7ca18fc"]]);export{H as default};
//# sourceMappingURL=Login.67171618.js.map
