import{P as f}from"./PlayerNavbar.f112f9a2.js";import{d as g,eA as c,r as h,c as b,ac as y,u as n,a as k,h as v,e as w,f as L,ec as C,j as I,o as i,_ as N}from"./jwt-decode.esm.fbcfeaec.js";import{u as V}from"./workspaceStore.fb02f79a.js";import"./userStore.5192b178.js";import"./metadata.ec598a6c.js";import"./PhWebhooksLogo.vue.b4180f20.js";import"./LoadingOutlined.8738663a.js";import"./PhSignOut.vue.f8e922bc.js";import"./index.1615381a.js";import"./url.90414523.js";import"./colorHelpers.0cd68eec.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="6a930511-ac40-4521-ad2b-0bb3f7ac99aa",a._sentryDebugIdIdentifier="sentry-dbid-6a930511-ac40-4521-ad2b-0bb3f7ac99aa")}catch{}})();const x={class:"main-container"},B={class:"content"},D=g({__name:"Main",setup(a){const e=C(),o=V(),u=c().path,t=h(null),d=async({path:s,id:r})=>{t.value=r,await e.push({path:`/${s}`}),t.value=null},l=()=>{e.push({name:"playerLogin"})},p=()=>{e.push({name:"playerLogin"})},_=b(()=>!!c().meta.hideLogin);return(s,r)=>{const m=I("RouterView");return i(),y("div",x,[n(o).state.workspace?(i(),k(f,{key:0,"current-path":n(u),"hide-login":_.value,"runner-data":n(o).state.workspace,loading:t.value,onNavigate:d,onLoginClick:p,onLogoutClick:l},null,8,["current-path","hide-login","runner-data","loading"])):v("",!0),w("section",B,[L(m)])])}}});const F=N(D,[["__scopeId","data-v-f095bece"]]);export{F as default};
//# sourceMappingURL=Main.caa685df.js.map
