import{P as f}from"./PlayerNavbar.117f184b.js";import{d as g,ec as h,ei as c,r as y,c as k,j as v,ac as w,u as n,a as b,h as L,e as C,f as I,o as i,_ as N}from"./jwt-decode.esm.c9c37cdc.js";import{u as V}from"./workspaceStore.5a435520.js";import"./userStore.d962fba4.js";import"./metadata.e627ddda.js";import"./PhWebhooksLogo.vue.e4752384.js";import"./LoadingOutlined.e309ab16.js";import"./PhSignOut.vue.2af17bd7.js";import"./index.e5cb42a1.js";import"./url.9e033350.js";import"./colorHelpers.8ba18214.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="367a9556-a683-4a65-acfe-67de53134a73",a._sentryDebugIdIdentifier="sentry-dbid-367a9556-a683-4a65-acfe-67de53134a73")}catch{}})();const x={class:"main-container"},B={class:"content"},D=g({__name:"Main",setup(a){const e=h(),o=V(),u=c().path,t=y(null),d=async({path:s,id:r})=>{t.value=r,await e.push({path:`/${s}`}),t.value=null},l=()=>{e.push({name:"playerLogin"})},p=()=>{e.push({name:"playerLogin"})},_=k(()=>!!c().meta.hideLogin);return(s,r)=>{const m=v("RouterView");return i(),w("div",x,[n(o).state.workspace?(i(),b(f,{key:0,"current-path":n(u),"hide-login":_.value,"runner-data":n(o).state.workspace,loading:t.value,onNavigate:d,onLoginClick:p,onLogoutClick:l},null,8,["current-path","hide-login","runner-data","loading"])):L("",!0),C("section",B,[I(m)])])}}});const F=N(D,[["__scopeId","data-v-f095bece"]]);export{F as default};
//# sourceMappingURL=Main.44b7640e.js.map
