import{P as f}from"./PlayerNavbar.979a431f.js";import{d as g,eH as h,e3 as c,f as b,g as y,r as k,o as i,K as v,u as a,c as w,F as L,a as C,b as I,Q as N}from"./index.ca490e8a.js";import{u as V}from"./workspaceStore.189a35d4.js";import"./userStore.30731d20.js";import"./metadata.10e0cc73.js";import"./PhWebhooksLogo.vue.26672f6f.js";import"./LoadingOutlined.bee0cc47.js";import"./PhSignOut.vue.53cd8471.js";import"./index.81a4072c.js";import"./Avatar.cc928982.js";import"./url.5dfb0e00.js";import"./colorHelpers.10a20e96.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]="cf534b20-19c0-41fb-b1ad-cdee85da49c5",o._sentryDebugIdIdentifier="sentry-dbid-cf534b20-19c0-41fb-b1ad-cdee85da49c5")}catch{}})();const x={class:"main-container"},B={class:"content"},D=g({__name:"Main",setup(o){const e=h(),t=V(),d=c().path,n=b(null),u=async({path:r,id:s})=>{n.value=s,await e.push({path:`/${r}`}),n.value=null},l=()=>{e.push({name:"playerLogin"})},p=()=>{e.push({name:"playerLogin"})},_=y(()=>!!c().meta.hideLogin);return(r,s)=>{const m=k("RouterView");return i(),v("div",x,[a(t).state.workspace?(i(),w(f,{key:0,"current-path":a(d),"hide-login":_.value,"runner-data":a(t).state.workspace,loading:n.value,onNavigate:u,onLoginClick:p,onLogoutClick:l},null,8,["current-path","hide-login","runner-data","loading"])):L("",!0),C("section",B,[I(m)])])}}});const q=N(D,[["__scopeId","data-v-f095bece"]]);export{q as default};
//# sourceMappingURL=Main.c487e548.js.map
