import{g as m}from"./api.e416522b.js";import{u as c}from"./index.6db17c6b.js";import{d as p,eK as u,eE as f,b as d,ew as _,e as l,u as o,c as y,w as b,ey as g,f as h,x as w}from"./outputWidgets.eb498848.js";import{_ as v}from"./Login.vue_vue_type_script_setup_true_lang.4e924163.js";import{a as k}from"./asyncComputed.6b2a5298.js";import{W as x}from"./WidgetsFrame.81c1eb3e.js";import"./runnerData.c01bfcd7.js";import"./url.1d686ce1.js";import"./fetch.fcae2051.js";import"./pubsub.1ca1fb40.js";import"./Link.32e09244.js";import"./Base.60455d70.js";import"./index.d4197b75.js";import"./CircularLoading.cf62d2dd.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]="db634a68-0a7d-43d5-bddf-951bbe58a16c",e._sentryDebugIdIdentifier="sentry-dbid-db634a68-0a7d-43d5-bddf-951bbe58a16c")}catch{}})();const I={class:"login"},C=p({__name:"Login",setup(e){const t=u(),r=f(),{result:a}=k(m),i=async()=>{await c.signUp();const{redirect:s,...n}=r.query;if(s){t.push({path:s,query:n,params:r.params});return}t.push({name:"playerThreads",query:n})};return(s,n)=>(d(),_("div",null,[l("div",I,[o(a)?(d(),y(x,{key:0,"main-color":o(a).mainColor,theme:o(a).theme,"font-family":o(a).fontFamily,style:{width:"100vw"}},{default:b(()=>[h(v,{onDone:i})]),_:1},8,["main-color","theme","font-family"])):g("",!0)])]))}});const $=w(C,[["__scopeId","data-v-ad80aeaa"]]);export{$ as default};
//# sourceMappingURL=Login.92ca3964.js.map
