import{P as f}from"./PlayerNavbar.76ab8a0e.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.3d66ab3f.js";import{u as V}from"./workspaceStore.65715da4.js";import"./metadata.c758068d.js";import"./PhRobot.vue.532d7e89.js";import"./PhWebhooksLogo.vue.38225a65.js";import"./LoadingOutlined.7160f40d.js";import"./PhSignOut.vue.0a7ccc74.js";import"./index.56cb97c5.js";import"./Avatar.3702ea95.js";import"./url.64c961af.js";import"./colorHelpers.a7cf0bfe.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]="c6281d00-05d1-425e-a166-d9beaec441c2",o._sentryDebugIdIdentifier="sentry-dbid-c6281d00-05d1-425e-a166-d9beaec441c2")}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.7909f9e2.js.map
