import{P as g}from"./PlayerNavbar.8f94f069.js";import{d as f,e3 as h,e4 as c,f as b,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 i,Q as N}from"./index.6d326114.js";import{u as V}from"./workspaceStore.94f8f1b9.js";import"./userStore.f4e7e35e.js";import"./metadata.6ff498e4.js";import"./PhWebhooksLogo.vue.01c73189.js";import"./LoadingOutlined.3d93eae2.js";import"./PhSignOut.vue.73884d37.js";import"./index.400cce9f.js";import"./Avatar.4bce660c.js";import"./runnerData.cd569ed1.js";import"./url.fae55cc5.js";import"./colorHelpers.5f920bdf.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]="1999c018-230b-4e94-b18c-8da31b81c5de",o._sentryDebugIdIdentifier="sentry-dbid-1999c018-230b-4e94-b18c-8da31b81c5de")}catch{}})();const x={class:"main-container"},B={class:"content"},D=f({__name:"Main",setup(o){const e=h(),t=V(),d=c().path,n=b(null),u=async({path:r,id:s})=>{n.value=s,await e.push({path:`/${r}`}),n.value=null},p=()=>{e.push({name:"playerLogin"})},l=()=>{e.push({name:"playerLogin"})},_=y(()=>!!c().meta.hideLogin);return(r,s)=>{const m=k("RouterView");return i(),v("div",x,[a(t).state.workspace?(i(),w(g,{key:0,"current-path":a(d),"hide-login":_.value,"runner-data":a(t).state.workspace,loading:n.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.922bdde6.js.map
