import{P as f}from"./PlayerNavbar.c2f8db06.js";import{d as g,e3 as b,e4 as i,f as h,g as y,r as k,K as v,u as a,c as w,F as L,a as C,b as I,o as c,Q as N}from"./index.aa57db48.js";import{u as V}from"./workspaceStore.9f4bc146.js";import"./userStore.c793bb76.js";import"./metadata.bdd70157.js";import"./PhWebhooksLogo.vue.7d3bf500.js";import"./LoadingOutlined.c786b7c6.js";import"./PhSignOut.vue.00d087e9.js";import"./index.7390fe81.js";import"./Avatar.6b2c0a8d.js";import"./url.729c5aa1.js";import"./colorHelpers.9fb3a71f.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]="bf3d1b3b-d927-4178-b294-8e231f3aba45",o._sentryDebugIdIdentifier="sentry-dbid-bf3d1b3b-d927-4178-b294-8e231f3aba45")}catch{}})();const x={class:"main-container"},B={class:"content"},D=g({__name:"Main",setup(o){const e=b(),t=V(),d=i().path,n=h(null),u=async({path:r,id:s})=>{n.value=s,await e.push({path:`/${r}`}),n.value=null},l=()=>{e.push({name:"playerLogin"})},p=()=>{e.push({name:"playerLogin"})},_=y(()=>!!i().meta.hideLogin);return(r,s)=>{const m=k("RouterView");return c(),v("div",x,[a(t).state.workspace?(c(),w(f,{key:0,"current-path":a(d),"hide-login":_.value,"runner-data":a(t).state.workspace,loading:n.value,onNavigate:u,onLoginClick:p,onLogoutClick:l},null,8,["current-path","hide-login","runner-data","loading"])):L("",!0),C("section",B,[I(m)])])}}});const z=N(D,[["__scopeId","data-v-f095bece"]]);export{z as default};
//# sourceMappingURL=Main.75afe986.js.map
