import{P as _}from"./PlayerNavbar-CKaPHXdE.js";import{e as f,an as i,r as h,b,f as k,n as y,j as v,k as w,p as n,v as L,a9 as C,aj as I,g as c,aQ as N}from"./jwt-decode.esm-Dwzi-xky.js";import{u as V}from"./workspaceStore-BPtCmoi9.js";import"./userStore-DCfchFeR.js";import"./metadata-uhV_Ahv9.js";import"./PhHouse.vue-BdlRSFhB.js";import"./PhMagnifyingGlass.vue-DslYR1A6.js";import"./PhWebhooksLogo.vue-Bhh9eztd.js";import"./LoadingOutlined-C30AH7Ka.js";import"./PhSignOut.vue-B9bYuzWW.js";import"./index-DB9FWOd8.js";import"./runnerData-DgQOUFhY.js";import"./url-BS2CA8Zo.js";import"./colorHelpers-C3Rgr1MS.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]="216b501d-68e7-4bd6-a19a-8ba13820c4ab",o._sentryDebugIdIdentifier="sentry-dbid-216b501d-68e7-4bd6-a19a-8ba13820c4ab")}catch{}})();const B={class:"main-container"},D={class:"content"},R=f({__name:"Main",setup(o){const e=I(),t=V(),d=i().path,a=h(null),p=async({path:r,id:s})=>{a.value=s,await e.push({path:`/${r}`}),a.value=null},u=()=>{e.push({name:"playerLogin"})},l=()=>{e.push({name:"playerLogin"})},m=b(()=>!!i().meta.hideLogin);return(r,s)=>{const g=C("RouterView");return c(),k("div",B,[n(t).state.workspace?(c(),y(_,{key:0,"current-path":n(d),"hide-login":m.value,"runner-data":n(t).state.workspace,loading:a.value,onNavigate:p,onLoginClick:l,onLogoutClick:u},null,8,["current-path","hide-login","runner-data","loading"])):v("",!0),w("section",D,[L(g)])])}}}),H=N(R,[["__scopeId","data-v-f095bece"]]);export{H as default};
//# sourceMappingURL=Main-Fdv0a8si.js.map
