import{P as f}from"./PlayerNavbar.b15bb1f3.js";import{d as g,e5 as h,eb as c,r as b,c as y,m as k,a5 as v,u as a,a as w,h as L,e as C,f as I,o as i,_ as N}from"./jwt-decode.esm.bcf2db26.js";import{u as V}from"./workspaceStore.7283625b.js";import"./userStore.5dca7ff0.js";import"./index.227be58a.js";import"./metadata.77edb2ef.js";import"./PhUserList.vue.907c1a2b.js";import"./PhWebhooksLogo.vue.1134426a.js";import"./LoadingOutlined.398021fd.js";import"./PhSignOut.vue.87084f39.js";import"./index.440bd76c.js";import"./url.79c72bde.js";import"./colorHelpers.eb706cff.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]="0b01fd03-db09-451f-b836-07cc79654756",o._sentryDebugIdIdentifier="sentry-dbid-0b01fd03-db09-451f-b836-07cc79654756")}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},p=()=>{e.push({name:"playerLogin"})},l=()=>{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:l,onLogoutClick:p},null,8,["current-path","hide-login","runner-data","loading"])):L("",!0),C("section",B,[I(m)])])}}});const H=N(D,[["__scopeId","data-v-f095bece"]]);export{H as default};
//# sourceMappingURL=Main.17024018.js.map
