import{P as g}from"./PlayerNavbar.cb7a0a7e.js";import{d as f,e3 as h,e4 as i,f as y,g as b,r as k,K as v,u as n,c as w,F as L,a as C,b as I,o as c,Q as N}from"./index.0aa22eb1.js";import{u as V}from"./workspaceStore.0248ee27.js";import"./userStore.c3b84f68.js";import"./metadata.5b7cd725.js";import"./PhWebhooksLogo.vue.8a33b13c.js";import"./LoadingOutlined.24a46756.js";import"./PhSignOut.vue.7fb426a0.js";import"./index.27527eec.js";import"./Avatar.478b3c49.js";import"./runnerData.c985992f.js";import"./url.1b0df002.js";import"./colorHelpers.c0ab2983.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]="44c5aa67-9d31-4dd1-a96d-b407b5e99d6a",o._sentryDebugIdIdentifier="sentry-dbid-44c5aa67-9d31-4dd1-a96d-b407b5e99d6a")}catch{}})();const x={class:"main-container"},B={class:"content"},D=f({__name:"Main",setup(o){const e=h(),t=V(),d=i().path,a=y(null),u=async({path:r,id:s})=>{a.value=s,await e.push({path:`/${r}`}),a.value=null},p=()=>{e.push({name:"playerLogin"})},l=()=>{e.push({name:"playerLogin"})},_=b(()=>!!i().meta.hideLogin);return(r,s)=>{const m=k("RouterView");return c(),v("div",x,[n(t).state.workspace?(c(),w(g,{key:0,"current-path":n(d),"hide-login":_.value,"runner-data":n(t).state.workspace,loading:a.value,onNavigate:u,onLoginClick:l,onLogoutClick:p},null,8,["current-path","hide-login","runner-data","loading"])):L("",!0),C("section",B,[I(m)])])}}});const A=N(D,[["__scopeId","data-v-f095bece"]]);export{A as default};
//# sourceMappingURL=Main.907a4bbe.js.map
