import{P as f}from"./PlayerNavbar.40facc51.js";import{d as g,e3 as h,e4 as i,f as y,g as k,r as v,K as b,u as n,c as w,F as L,a as C,b as I,o as c,Q as N}from"./index.6b1213c6.js";import{u as V}from"./workspaceStore.436b122e.js";import"./userStore.c0cb42b5.js";import"./metadata.bd4debbe.js";import"./PhWebhooksLogo.vue.496527e8.js";import"./LoadingOutlined.9f60a7d0.js";import"./PhSignOut.vue.303edbf4.js";import"./index.b230dc7b.js";import"./Avatar.85cb2dd6.js";import"./runnerData.f49521d9.js";import"./url.16d95866.js";import"./colorHelpers.59418473.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]="3031423f-2771-46ae-a897-a6968d50e42e",o._sentryDebugIdIdentifier="sentry-dbid-3031423f-2771-46ae-a897-a6968d50e42e")}catch{}})();const x={class:"main-container"},B={class:"content"},D=g({__name:"Main",setup(o){const e=h(),t=V(),u=i().path,a=y(null),d=async({path:r,id:s})=>{a.value=s,await e.push({path:`/${r}`}),a.value=null},p=()=>{e.push({name:"playerLogin"})},l=()=>{e.push({name:"playerLogin"})},_=k(()=>!!i().meta.hideLogin);return(r,s)=>{const m=v("RouterView");return c(),b("div",x,[n(t).state.workspace?(c(),w(f,{key:0,"current-path":n(u),"hide-login":_.value,"runner-data":n(t).state.workspace,loading:a.value,onNavigate:d,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.d0071009.js.map
