import{P as f}from"./PlayerNavbar.206a5f0a.js";import{d as g,e5 as h,ea as c,r as y,c as k,m as v,a5 as b,u as n,a as w,h as L,e as C,f as I,o as i,_ as N}from"./jwt-decode.esm.aa7cdf41.js";import{u as V}from"./workspaceStore.616f71d7.js";import"./userStore.ce5d0de4.js";import"./metadata.1de7f561.js";import"./PhWebhooksLogo.vue.1c929160.js";import"./LoadingOutlined.abca4734.js";import"./PhSignOut.vue.564181c8.js";import"./index.0117c204.js";import"./url.33429ee0.js";import"./colorHelpers.2fcd0035.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]="8d2749e3-21bd-402f-8c49-ad05a53a384d",o._sentryDebugIdIdentifier="sentry-dbid-8d2749e3-21bd-402f-8c49-ad05a53a384d")}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:s,id:r})=>{a.value=r,await e.push({path:`/${s}`}),a.value=null},l=()=>{e.push({name:"playerLogin"})},p=()=>{e.push({name:"playerLogin"})},_=k(()=>!!c().meta.hideLogin);return(s,r)=>{const m=v("RouterView");return i(),b("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.5211e3d3.js.map
