import{d as _,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.67d01534.js";import{g as I}from"./api.149f0325.js";import{a as p}from"./asyncComputed.9c2e7c90.js";import{P as H}from"./PlayerNavbar.39918cc6.js";import{H as D}from"./HomeContent.b161c23f.js";import{u as s}from"./index.4eebfe3f.js";import"./runnerData.0c424852.js";import"./url.df413b89.js";import"./PhKanban.vue.01a8c7a1.js";import"./PhSignOut.vue.09fa917c.js";import"./Text.fce07a64.js";import"./index.a9d2fb7a.js";import"./Link.1ec60047.js";import"./Paragraph.5d6efe5b.js";import"./Title.3431c309.js";import"./index.cf78c4e6.js";import"./PhArrowSquareOut.vue.e9645c16.js";import"./index.a0d94146.js";import"./Card.e0b50de4.js";import"./index.e94f56d7.js";import"./TabPane.3015bf00.js";import"./hasIn.18867aca.js";import"./index.3dca3a8f.js";import"./pubsub.ce0b10ac.js";import"./fetch.03065101.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]="b952b483-79e7-4cb9-821d-c2b0ab3177ba",o._sentryDebugIdIdentifier="sentry-dbid-b952b483-79e7-4cb9-821d-c2b0ab3177ba")}catch{}})();const x={class:"page"},C=_({__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),b=t=>{e.push({path:`/${t}`})},f=()=>{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:f},null,8,["runner-data","is-kanban-visible","user-email"]),m(D,{workspace:a(n),loading:a(d),onFormClick:b},null,8,["workspace","loading"])])}}});const ee=w(C,[["__scopeId","data-v-f12c98c4"]]);export{ee as default};
//# sourceMappingURL=Home.a85061ba.js.map
