import{P as f}from"./PlayerNavbar.de2148b9.js";import{d as g,e3 as h,e4 as i,f as y,g as b,r as k,K as v,u as n,c as w,F as L,a as C,b as I,o as c,Q as N}from"./index.dac48cf7.js";import{u as V}from"./workspaceStore.cf197afe.js";import"./userStore.c377c1d0.js";import"./metadata.12393afb.js";import"./PhWebhooksLogo.vue.924aafd8.js";import"./LoadingOutlined.1dc1df5c.js";import"./PhSignOut.vue.402b0a19.js";import"./index.8e83ee1e.js";import"./Avatar.814de28d.js";import"./runnerData.ae189abc.js";import"./url.1e47d6e4.js";import"./colorHelpers.5e2e7ccf.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]="8578d9a0-8f4a-4d83-a6fd-6ea4edbbe72c",o._sentryDebugIdIdentifier="sentry-dbid-8578d9a0-8f4a-4d83-a6fd-6ea4edbbe72c")}catch{}})();const x={class:"main-container"},B={class:"content"},D=g({__name:"Main",setup(o){const e=h(),t=V(),d=i().path,a=y(null),u=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"})},_=b(()=>!!i().meta.hideLogin);return(r,s)=>{const m=k("RouterView");return c(),v("div",x,[n(t).state.workspace?(c(),w(f,{key:0,"current-path":n(d),"hide-login":_.value,"runner-data":n(t).state.workspace,loading:a.value,onNavigate:u,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.f0538412.js.map
