import{P as b}from"./PlayerNavbar-Dgn84Pnj.js";import{e as h,W as _,r as y,b as k,f as w,q as d,j as v,k as L,s as t,$ as C,N as I,g as s,as as N}from"./jwt-decode.esm-TBTnMpAQ.js";import{u as P}from"./workspaceStore-BFbr_c_Q.js";import"./userStore-CKr6VRns.js";import"./metadata-B6qTvMyo.js";import"./PhWebhooksLogo.vue-Bq0BeCXb.js";import"./PhHouse.vue-cchLsjSO.js";import"./PhMagnifyingGlass.vue-DQLr_-6e.js";import"./LoadingOutlined-BqxBN2hi.js";import"./PhSignOut.vue-CEIxUeiN.js";import"./index-CycazgOp.js";import"./runnerData-5zbRPzoM.js";import"./url-qvab8xVu.js";import"./colorHelpers-BMn7fztv.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]="7df5b9e2-dd0b-40e7-bcfb-2d87a65c03c7",o._sentryDebugIdIdentifier="sentry-dbid-7df5b9e2-dd0b-40e7-bcfb-2d87a65c03c7")}catch{}})();const B={class:"main-container"},D={class:"content"},R=h({__name:"Main",setup(o){const e=I(),a=_(),n=P(),u=a.path,r=y(null),p=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,[t(n).state.workspace&&t(n).state.currentPageType!=="page"?(s(),d(b,{key:0,"current-path":t(u),"hide-login":f.value,"runner-data":t(n).state.workspace,loading:r.value,"show-sidebar":t(n).state.currentPageType==="form",onNavigate:p,onLoginClick:m,onLogoutClick:l},null,8,["current-path","hide-login","runner-data","loading","show-sidebar"])):v("",!0),L("section",D,[(s(),d(g,{key:t(a).fullPath}))])])}}}),H=N(R,[["__scopeId","data-v-4b9b2f4b"]]);export{H as default};
//# sourceMappingURL=Main-BbaUs4TQ.js.map
