import{P as g}from"./PlayerNavbar-BzeRBCuX.js";import{e as _,an as i,r as h,b as k,f as y,n as b,j as v,k as w,p as n,v as L,a9 as C,aj as I,g as c,aP as N}from"./jwt-decode.esm-BRUlSnzg.js";import{u as V}from"./workspaceStore-Bajie-jR.js";import"./userStore-D7pvsc_P.js";import"./metadata-C84_YCTY.js";import"./PhHouse.vue-CuzNBzEb.js";import"./PhMagnifyingGlass.vue-BnTGqrsi.js";import"./PhWebhooksLogo.vue-Cm17Y4kR.js";import"./LoadingOutlined-Ctp4stKr.js";import"./PhSignOut.vue-mJRyF-c4.js";import"./index-DPk8CxvG.js";import"./runnerData-CSHExhs1.js";import"./url-CZn5CS3s.js";import"./colorHelpers-BdA9gsBC.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="04f5fa98-c66f-4f87-b730-ce1a25ee45aa",o._sentryDebugIdIdentifier="sentry-dbid-04f5fa98-c66f-4f87-b730-ce1a25ee45aa")}catch{}})();const B={class:"main-container"},D={class:"content"},P=_({__name:"Main",setup(o){const e=I(),t=V(),p=i().path,a=h(null),u=async({path:r,id:s})=>{a.value=s,await e.push({path:`/${r}`}),a.value=null},l=()=>{e.push({name:"playerLogin"})},d=()=>{e.push({name:"playerLogin"})},m=k(()=>!!i().meta.hideLogin);return(r,s)=>{const f=C("RouterView");return c(),y("div",B,[n(t).state.workspace?(c(),b(g,{key:0,"current-path":n(p),"hide-login":m.value,"runner-data":n(t).state.workspace,loading:a.value,onNavigate:u,onLoginClick:d,onLogoutClick:l},null,8,["current-path","hide-login","runner-data","loading"])):v("",!0),w("section",D,[L(f)])])}}}),J=N(P,[["__scopeId","data-v-f095bece"]]);export{J as default};
//# sourceMappingURL=Main-CYvZIu4Z.js.map
