import{d as b,eI as g,r as y,I as v,b as h,eu as k,f as m,u as r,v as w}from"./outputWidgets.3681a2a5.js";import{g as I}from"./api.bbe4582c.js";import{a as p}from"./asyncComputed.317e87c5.js";import{P as H}from"./PlayerNavbar.eeb66ae5.js";import{H as D}from"./HomeContent.c33916dc.js";import{u as s}from"./index.79a6117b.js";import"./runnerData.f97328a2.js";import"./url.ec571b6b.js";import"./PhKanban.vue.792b9c22.js";import"./PhSignOut.vue.3019c4e7.js";import"./Text.1bf2a6e4.js";import"./index.28b53c50.js";import"./Link.5ffe898a.js";import"./Paragraph.326f3875.js";import"./Title.142e78f1.js";import"./index.b62ed045.js";import"./PhArrowSquareOut.vue.5596feda.js";import"./index.a1980417.js";import"./Card.f6d00432.js";import"./index.e0dbbf8d.js";import"./TabPane.ad3a7f71.js";import"./hasIn.127ddf2a.js";import"./index.4f6b4519.js";import"./pubsub.916b1e4d.js";import"./fetch.d0b5bb7a.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]="45c3e599-e790-4b2b-9b03-abd246e14642",o._sentryDebugIdIdentifier="sentry-dbid-45c3e599-e790-4b2b-9b03-abd246e14642")}catch{}})();const x={class:"page"},C=b({__name:"Home",setup(o){const e=g(),a=y(s.getUser()),{result:c,refetch:u}=p(async()=>(await s.allow("kanban")).status==="ALLOWED");v(a,()=>u());const l=({path:t})=>{e.push({name:"form",params:{path:t.split("/")}})},{result:n,loading:d}=p(I),f=t=>{e.push({path:`/${t}`})},_=()=>{s.removeUser(),e.push({name:"playerHome"})};return(t,L)=>{var i;return h(),k("div",x,[m(H,{"runner-data":r(n),"is-kanban-visible":r(c)||!1,"user-email":(i=a.value)==null?void 0:i.claims.email,onNavigate:l,onLogout:_},null,8,["runner-data","is-kanban-visible","user-email"]),m(D,{workspace:r(n),loading:r(d),onFormClick:f},null,8,["workspace","loading"])])}}});const ee=w(C,[["__scopeId","data-v-f12c98c4"]]);export{ee as default};
//# sourceMappingURL=Home.6998a1b1.js.map
