import{P as m}from"./PlayerNavbar.11eba0e9.js";import{d as g,e3 as h,e4 as c,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 i,Q as N}from"./index.79dc3613.js";import{u as V}from"./workspaceStore.527cc49d.js";import"./userStore.d0fdc011.js";import"./metadata.f9b15aa3.js";import"./PhWebhooksLogo.vue.3b2d5a30.js";import"./LoadingOutlined.40ef64a4.js";import"./PhSignOut.vue.99fa5266.js";import"./index.714d59d0.js";import"./Avatar.8fd674fe.js";import"./url.c29c9736.js";import"./colorHelpers.473bf6ef.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="bcb7295a-6faf-4156-9981-f7cfa6aa660a",a._sentryDebugIdIdentifier="sentry-dbid-bcb7295a-6faf-4156-9981-f7cfa6aa660a")}catch{}})();const x={class:"main-container"},B={class:"content"},D=g({__name:"Main",setup(a){const e=h(),o=V(),u=c().path,t=y(null),d=async({path:r,id:s})=>{t.value=s,await e.push({path:`/${r}`}),t.value=null},l=()=>{e.push({name:"playerLogin"})},p=()=>{e.push({name:"playerLogin"})},_=b(()=>!!c().meta.hideLogin);return(r,s)=>{const f=k("RouterView");return i(),v("div",x,[n(o).state.workspace?(i(),w(m,{key:0,"current-path":n(u),"hide-login":_.value,"runner-data":n(o).state.workspace,loading:t.value,onNavigate:d,onLoginClick:p,onLogoutClick:l},null,8,["current-path","hide-login","runner-data","loading"])):L("",!0),C("section",B,[I(f)])])}}});const z=N(D,[["__scopeId","data-v-f095bece"]]);export{z as default};
//# sourceMappingURL=Main.a97c9b32.js.map
