import{P as m}from"./PlayerNavbar.02dea6c3.js";import{d as g,eo as h,ea as c,e as y,f as b,r as k,o as i,Y as v,u as n,c as w,S as L,a as C,b as I,a0 as N}from"./index.e1ec3e10.js";import{u as V}from"./workspaceStore.104b1723.js";import"./metadata.19ba303f.js";import"./PhWebhooksLogo.vue.c94412aa.js";import"./LoadingOutlined.952c460f.js";import"./PhSignOut.vue.988a35f9.js";import"./index.3550deea.js";import"./Avatar.c727ae9f.js";import"./url.ab92de50.js";import"./colorHelpers.d32fa46a.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]="b836af64-6d79-4f25-a9f5-bfe6902c7df5",o._sentryDebugIdIdentifier="sentry-dbid-b836af64-6d79-4f25-a9f5-bfe6902c7df5")}catch{}})();const x={class:"main-container"},B={class:"content"},D=g({__name:"Main",setup(o){const e=h(),t=V(),d=c().path,a=y(null),u=async({path:s,id:r})=>{a.value=r,await e.push({path:`/${s}`}),a.value=null},l=()=>{e.push({name:"playerLogin"})},p=()=>{e.push({name:"playerLogin"})},f=b(()=>!!c().meta.hideLogin);return(s,r)=>{const _=k("RouterView");return i(),v("div",x,[n(t).state.workspace?(i(),w(m,{key:0,"current-path":n(d),"hide-login":f.value,"runner-data":n(t).state.workspace,loading:a.value,onNavigate:u,onLoginClick:p,onLogoutClick:l},null,8,["current-path","hide-login","runner-data","loading"])):L("",!0),C("section",B,[I(_)])])}}});const A=N(D,[["__scopeId","data-v-f095bece"]]);export{A as default};
//# sourceMappingURL=Main.2841ea11.js.map
