import{d as b,eI as g,r as y,I as v,b as h,eu as k,f as m,u as a,v as w}from"./outputWidgets.cb8d4118.js";import{g as I}from"./api.00407e52.js";import{a as p}from"./asyncComputed.602f821b.js";import{P as H}from"./PlayerNavbar.19a48ee3.js";import{H as D}from"./HomeContent.bfd39754.js";import{u as s}from"./index.618e9d9e.js";import"./runnerData.c466048a.js";import"./url.f415825b.js";import"./PhKanban.vue.74e2223b.js";import"./PhSignOut.vue.c3e3ed91.js";import"./Text.9ccde808.js";import"./index.b090e533.js";import"./Link.4ac04f66.js";import"./Paragraph.bf76481e.js";import"./Title.0c6e5569.js";import"./index.ec60d2a0.js";import"./PhArrowSquareOut.vue.0c60db01.js";import"./index.c83656b2.js";import"./Card.028b3323.js";import"./index.2e27f524.js";import"./TabPane.50eb1b71.js";import"./hasIn.9378fb46.js";import"./index.20961092.js";import"./pubsub.6650fe4e.js";import"./fetch.a950ecae.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]="be1952f9-6812-4abb-beac-d5f800125841",o._sentryDebugIdIdentifier="sentry-dbid-be1952f9-6812-4abb-beac-d5f800125841")}catch{}})();const x={class:"page"},C=b({__name:"Home",setup(o){const e=g(),r=y(s.getUser()),{result:c,refetch:u}=p(async()=>(await s.allow("kanban")).status==="ALLOWED");v(r,()=>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":a(n),"is-kanban-visible":a(c)||!1,"user-email":(i=r.value)==null?void 0:i.claims.email,onNavigate:l,onLogout:_},null,8,["runner-data","is-kanban-visible","user-email"]),m(D,{workspace:a(n),loading:a(d),onFormClick:f},null,8,["workspace","loading"])])}}});const ee=w(C,[["__scopeId","data-v-f12c98c4"]]);export{ee as default};
//# sourceMappingURL=Home.4add5bfe.js.map
