import{P as f}from"./PlayerNavbar.7fd08dee.js";import{d as g,eA 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.5572dd7e.js";import{u as V}from"./workspaceStore.911f36b5.js";import"./metadata.630b4d92.js";import"./PhRobot.vue.b6d33908.js";import"./PhWebhooksLogo.vue.7feade71.js";import"./LoadingOutlined.cfab984f.js";import"./PhSignOut.vue.0ef21df7.js";import"./index.b832bc30.js";import"./Avatar.4c9fea1d.js";import"./url.d80febd7.js";import"./colorHelpers.b1f37418.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]="aece735a-8cd3-4128-8ffd-0360e5b85642",o._sentryDebugIdIdentifier="sentry-dbid-aece735a-8cd3-4128-8ffd-0360e5b85642")}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:r,id:s})=>{a.value=s,await e.push({path:`/${r}`}),a.value=null},l=()=>{e.push({name:"playerLogin"})},p=()=>{e.push({name:"playerLogin"})},_=b(()=>!!c().meta.hideLogin);return(r,s)=>{const m=k("RouterView");return i(),v("div",x,[n(t).state.workspace?(i(),w(f,{key:0,"current-path":n(d),"hide-login":_.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(m)])])}}});const F=N(D,[["__scopeId","data-v-f095bece"]]);export{F as default};
//# sourceMappingURL=Main.d7d797eb.js.map
