import{P as h}from"./PlayerNavbar-Lj41B_2k.js";import{e as _,aj as b,r as y,b as k,f as w,n as u,j as v,k as L,p as o,a3 as C,af as I,g as s,aM as N}from"./jwt-decode.esm-1W9iq5Oc.js";import{u as P}from"./workspaceStore-C4LuPoiS.js";import"./userStore-0WDgP3uZ.js";import"./metadata-XBQ8tyCG.js";import"./PhCursorClick.vue-BxKOQQJi.js";import"./PhHouse.vue-DygTdzfS.js";import"./PhMagnifyingGlass.vue-B46Ao4sH.js";import"./PhWebhooksLogo.vue-DVvBLIKM.js";import"./LoadingOutlined-D2k5aCqC.js";import"./PhSignOut.vue-hYuUamNc.js";import"./index-CmBL5IQ0.js";import"./runnerData-DgRTB2fA.js";import"./url-emG1RSF5.js";import"./colorHelpers-DT7BywO0.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="87673c89-8cde-408f-b845-6fb6471fc5d0",t._sentryDebugIdIdentifier="sentry-dbid-87673c89-8cde-408f-b845-6fb6471fc5d0")}catch{}})();const B={class:"main-container"},D={class:"content"},R=_({__name:"Main",setup(t){const e=I(),a=b(),n=P(),p=a.path,r=y(null),d=async({path:i,id:c})=>{r.value=c,await e.push({path:`/${i}`}),r.value=null},l=()=>{e.push({name:"playerLogin"})},m=()=>{e.push({name:"playerLogin"})},f=k(()=>!!a.meta.hideLogin);return(i,c)=>{const g=C("RouterView");return s(),w("div",B,[o(n).state.workspace?(s(),u(h,{key:0,"current-path":o(p),"hide-login":f.value,"runner-data":o(n).state.workspace,loading:r.value,"show-sidebar":o(n).state.currentPageType==="form",onNavigate:d,onLoginClick:m,onLogoutClick:l},null,8,["current-path","hide-login","runner-data","loading","show-sidebar"])):v("",!0),L("section",D,[(s(),u(g,{key:o(a).fullPath}))])])}}}),J=N(R,[["__scopeId","data-v-ba04162e"]]);export{J as default};
//# sourceMappingURL=Main-DwRPEcNh.js.map
