import{u as o,a as l}from"./index.6db17c6b.js";import{d as w,r as u,b as n,ew as h,f as c,u as a,e as K,c as d,ey as b,L as A}from"./outputWidgets.eb498848.js";import{P as B}from"./PlayerNavbar.f03d8458.js";import{K as D,_ as I,A as L,P as N}from"./TableView.vue_vue_type_script_setup_true_lang.93aa6776.js";import{a as S}from"./asyncComputed.6b2a5298.js";import{g as x}from"./api.e416522b.js";import{A as P}from"./index.989087d2.js";import"./fetch.fcae2051.js";import"./pubsub.1ca1fb40.js";import"./PhKanban.vue.7f700aad.js";import"./PhSignOut.vue.91be2cfd.js";import"./Text.c3630863.js";import"./Base.60455d70.js";import"./index.9769729d.js";import"./Link.32e09244.js";import"./Paragraph.82d8120c.js";import"./Title.ef0a0830.js";import"./index.c6702b27.js";import"./vuedraggable.umd.398c0f07.js";import"./workspaces.04f3ac75.js";import"./runnerData.c01bfcd7.js";import"./url.1d686ce1.js";import"./record.7cc6fca0.js";import"./scripts.359c9293.js";import"./envVars.a4215f23.js";import"./api.bd012050.js";import"./metadata.a6b955d8.js";import"./PhCheckCircle.vue.1326e657.js";import"./PhScroll.vue.4a38c5cc.js";import"./PhWebhooksLogo.vue.2e5fb5d0.js";import"./ant-design.202cf9c9.js";import"./index.052e9e26.js";import"./Modal.19adabd3.js";import"./index.60acdd5f.js";import"./index.98ba73a6.js";import"./index.0ba4493c.js";import"./index.848452e5.js";import"./CollapsePanel.0c6453f7.js";import"./index.23dbc6cf.js";import"./index.698da965.js";import"./isNumeric.75337b1e.js";import"./Card.70a00c39.js";import"./TabPane.73c86943.js";import"./hasIn.ceb11556.js";import"./LoadingOutlined.b83eebe6.js";import"./index.672ac057.js";import"./Form.bd9a7b94.js";import"./string.b8fb39c3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="508fe50d-68c4-4c65-8112-68afbf968c96",e._sentryDebugIdIdentifier="sentry-dbid-508fe50d-68c4-4c65-8112-68afbf968c96")}catch{}})();const T={style:{padding:"20px"}},Le=w({__name:"Threads",setup(e){const t=new N(o),s=new A(L,"kanban-selected-stages"),f=u(o.getUser()),g=["Kanban","Table view"],r=u("Kanban"),{result:y}=S(x),v=({path:i})=>{l.push({name:"form",params:{path:i.split("/")}})},k=()=>{o.removeUser(),l.push({name:"playerHome"})};return(i,m)=>{var p;return n(),h("div",null,[c(B,{"runner-data":a(y),"is-kanban-visible":!1,"user-email":(p=f.value)==null?void 0:p.claims.email,onLogout:k,onNavigate:v},null,8,["runner-data","user-email"]),K("div",T,[c(a(P),{value:r.value,"onUpdate:value":m[0]||(m[0]=_=>r.value=_),options:g,style:{"margin-bottom":"16px"}},null,8,["value"]),r.value==="Kanban"?(n(),d(D,{key:0,"kanban-repository":a(t),"kanban-stages-storage":a(s)},null,8,["kanban-repository","kanban-stages-storage"])):b("",!0),r.value==="Table view"?(n(),d(I,{key:1,"kanban-repository":a(t)},null,8,["kanban-repository"])):b("",!0)])])}}});export{Le as default};
//# sourceMappingURL=Threads.d57b2880.js.map
