import{P as f}from"./PlayerNavbar.2e8d9615.js";import{d as g,e5 as h,ea as c,r as b,c as y,m as k,a5 as v,u as n,a as w,h as L,e as C,f as I,o as i,_ as N}from"./jwt-decode.esm.d9ea36e7.js";import{u as V}from"./workspaceStore.5e0b5980.js";import"./userStore.42272cda.js";import"./index.e07a2022.js";import"./metadata.8584104a.js";import"./PhWebhooksLogo.vue.a5aec2ca.js";import"./LoadingOutlined.39fad823.js";import"./PhSignOut.vue.46959cea.js";import"./index.62bc11b5.js";import"./url.d9dc5833.js";import"./colorHelpers.f415589c.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]="5e97a6eb-dc9a-45b2-abaa-fea33f5efc77",a._sentryDebugIdIdentifier="sentry-dbid-5e97a6eb-dc9a-45b2-abaa-fea33f5efc77")}catch{}})();const x={class:"main-container"},B={class:"content"},D=g({__name:"Main",setup(a){const e=h(),o=V(),u=c().path,t=b(null),d=async({path:r,id:s})=>{t.value=s,await e.push({path:`/${r}`}),t.value=null},l=()=>{e.push({name:"playerLogin"})},p=()=>{e.push({name:"playerLogin"})},_=y(()=>!!c().meta.hideLogin);return(r,s)=>{const m=k("RouterView");return i(),v("div",x,[n(o).state.workspace?(i(),w(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 G=N(D,[["__scopeId","data-v-f095bece"]]);export{G as default};
//# sourceMappingURL=Main.d9fc5f59.js.map
