import{g as m}from"./api.e55a1f3c.js";import{u as c}from"./index.4303c11c.js";import{d as p,eM as f,eG as u,u as r,b as d,c as _,w as l,eA as y,f as b,E as g}from"./outputWidgets.e5f9ffc6.js";import{_ as h}from"./Login.vue_vue_type_script_setup_true_lang.e0dae155.js";import{a as w}from"./asyncComputed.2210bd1a.js";import{W as I}from"./WidgetsFrame.0d60536e.js";import"./runnerData.f991c68f.js";import"./url.c11ddd9f.js";import"./fetch.c1359dac.js";import"./pubsub.75396d00.js";import"./Link.1d347d21.js";import"./Base.d0d329e2.js";import"./index.ff6bc189.js";import"./Paragraph.1cbc8077.js";import"./Text.e6c27a3b.js";import"./Title.f988141d.js";import"./CircularLoading.9832fa98.js";import"./index.aab66451.js";import"./PhArrowClockwise.vue.ebbdd756.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]="f334b4db-7932-4c0e-9257-c95259bfa504",e._sentryDebugIdIdentifier="sentry-dbid-f334b4db-7932-4c0e-9257-c95259bfa504")}catch{}})();const k=p({__name:"Login",setup(e){const t=f(),a=u(),{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)?(d(),_(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 j=g(k,[["__scopeId","data-v-b7ca18fc"]]);export{j as default};
//# sourceMappingURL=Login.f3e059a1.js.map
