import{P as f}from"./PlayerNavbar.a38d21fd.js";import{u as m,i as g}from"./workspaceStore.63bcaaff.js";import{d as h,eq as y,ed as c,e as v,f as k,r as w,X as b,u as n,c as L,R as I,a as N,b as C,o as i,$ as R}from"./vue-router.5a4c25bd.js";import"./metadata.f07b2846.js";import"./PhBug.vue.bf61fb7d.js";import"./PhCheckCircle.vue.dd5bf70b.js";import"./PhKanban.vue.284e7873.js";import"./PhWebhooksLogo.vue.4a3d2ebb.js";import"./LoadingOutlined.a7db242f.js";import"./PhSignOut.vue.187269b9.js";import"./index.6b98d29c.js";import"./Avatar.6f93778e.js";import"./url.bd3666a7.js";import"./colorHelpers.147ae7b4.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]="72dc5c5f-471f-4e99-96f0-0325d333809c",t._sentryDebugIdIdentifier="sentry-dbid-72dc5c5f-471f-4e99-96f0-0325d333809c")}catch{}})();const V={class:"main-container"},x={class:"content"},B=h({__name:"Main",setup(t){const e=y(),o=m(),d=c().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=k(()=>!!c().meta.hideLogin);return g(()=>e.push({name:"playerLogin"})),(r,s)=>{const _=w("RouterView");return i(),b("div",V,[n(o).state.workspace?(i(),L(f,{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.3a96a6f5.js.map
