import{_ as d}from"./Login.vue_vue_type_script_setup_true_lang-n0L6Qcmz.js";import{e as i,f as p,v as u,s as t,W as m,N as f,g as l,ar as _}from"./jwt-decode.esm-CX61wVx3.js";import{u as y}from"./workspaceStore-QlTT1mu8.js";import"./OTPInput-2Iwi2IQF.js";import"./Logo-Dr2w7cZG.js";import"./string-BfaOmKtt.js";import"./CircularLoading-CjXNFRbA.js";import"./index-BOb0Rqlm.js";import"./userStore-C3Z0vN5p.js";import"./runnerData-B4AKypWD.js";import"./url-D1jI6Lt8.js";import"./colorHelpers-Dde0Xcnl.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="4787a885-7732-4623-8d53-e38ed965a549",e._sentryDebugIdIdentifier="sentry-dbid-4787a885-7732-4623-8d53-e38ed965a549")}catch{}})();const g={class:"runner"},b=i({__name:"Login",setup(e){const r=f(),o=m(),a=y();a.actions.fetchIfNeeded();const c=async()=>{const{redirect:s,...n}=o.query;if(s){await r.push({path:s,query:n,params:o.params});return}r.push({name:"playerHome",query:n})};return(s,n)=>(l(),p("div",g,[u(d,{"logo-url":t(a).state.workspace?.logoUrl??void 0,"brand-name":t(a).state.workspace?.brandName,locale:t(a).state.workspace?.language??"en",redirect:typeof t(o).query.redirect=="string"?t(o).query.redirect:void 0,onDone:c},null,8,["logo-url","brand-name","locale","redirect"])]))}}),R=_(b,[["__scopeId","data-v-48ff69ca"]]);export{R as default};
//# sourceMappingURL=Login-CsZ_y5Q1.js.map
