import{P as m}from"./PlayerNavbar.9d0a510e.js";import{u as f,i as g}from"./workspaceStore.8573c4fd.js";import{d as h,eq as y,ed as i,e as v,f as b,r as k,X as w,u as n,c as L,R as I,a as N,b as C,o as c,$ as R}from"./vue-router.af270c71.js";import"./metadata.f724a12f.js";import"./PhBug.vue.722ec43c.js";import"./PhCheckCircle.vue.5fb5511e.js";import"./PhKanban.vue.a32e59cb.js";import"./PhWebhooksLogo.vue.02da95ab.js";import"./LoadingOutlined.7878a115.js";import"./PhSignOut.vue.e2b51ad3.js";import"./index.29233d1a.js";import"./Avatar.f7302592.js";import"./url.cabef638.js";import"./colorHelpers.d66a37b3.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="360dd647-2eec-413b-b939-a9e1c9f4d8e0",t._sentryDebugIdIdentifier="sentry-dbid-360dd647-2eec-413b-b939-a9e1c9f4d8e0")}catch{}})();const V={class:"main-container"},x={class:"content"},B=h({__name:"Main",setup(t){const e=y(),o=f(),d=i().path,a=v(null),u=async({path:r,id:s})=>{a.value=s,await e.push({path:`/${r}`}),a.value=null},p=()=>{e.push({name:"playerLogin"})},l=b(()=>!!i().meta.hideLogin);return g(()=>e.push({name:"playerLogin"})),(r,s)=>{const _=k("RouterView");return c(),w("div",V,[n(o).state.workspace?(c(),L(m,{key:0,"current-path":n(d),"hide-login":l.value,"runner-data":n(o).state.workspace,loading:a.value,onNavigate:u,onLoginClick:p},null,8,["current-path","hide-login","runner-data","loading"])):I("",!0),N("section",x,[C(_)])])}}});const H=R(B,[["__scopeId","data-v-f6aef10c"]]);export{H as default};
//# sourceMappingURL=Main.8901da16.js.map
