import{c as n,j as r,E as d,r as f,u as x,b as j}from"./index-oE_2MbI2.js";import{T as h}from"./tasks-panel-BSvIT8kw.js";import{P as p}from"./index-nULh3Jbz.js";import{B as g,a as b,b as T,c as k}from"./breadcrumb-Bq33GatY.js";import{i as B}from"./Loading01-C5CNb3s-.js";import{u as S}from"./context-3GupwOmI.js";import"./index-B-j6trDA.js";import"./popover-BkEpFI3f.js";import"./skeleton-C27NGY_0.js";import"./spinner-D4_yC4Mh.js";import"./tooltip-CfJyDfiQ.js";import"./index-C61JJs1z.js";import"./constants-uA8MqaDa.js";import"./use-mcp-prompts-CxYW06DO.js";import"./useQuery-B63y3s7J.js";import"./dialog-Dd4Env_T.js";import"./X-yceQDp_o.js";import"./form-CDc5v7vG.js";import"./label-CkkXXU_K.js";import"./input-BC5yyfKN.js";import"./usage-B8eRkRZY.js";import"./ArrowUp-Bc1LEzvX.js";import"./ChevronDown-CJ2cKOCp.js";import"./Edit01-VBYk6Owq.js";import"./Lock01-BOeViK9Y.js";import"./Users03-Dm2iXTgw.js";import"./XCircle-Buzxifsr.js";import"./AlertCircle-D8CXFvYW.js";import"./select-CxPd29YM.js";import"./Check-_ISbUca5.js";import"./use-preferences-wIlCfDgU.js";import"./localstorage-keys-CKFbpBwk.js";import"./useMutation-DdGCKlze.js";import"./ArrowLeft-B2yP6vhy.js";import"./use-copy-Cc7XW2Hc.js";import"./tabs-BTOAzRdU.js";import"./badge-DHsu3lW8.js";import"./collapsible-DTMpeVSV.js";import"./Code01-CfHDXm0H.js";import"./integration-icon-DDvj2Mai.js";import"./Container-JazsSIaU.js";import"./use-virtual-mcp-DTCdJgfP.js";import"./use-collections-BV71cmYk.js";import"./SearchMd-BrEq0pjT.js";import"./use-create-virtual-mcp-tSLE2nnw.js";import"./decopilot-events-DV5WFiTr.js";import"./ChevronRight-BvDz0sNw.js";import"./Copy01-Bc3vF4AL.js";import"./marked.esm-BaswSlok.js";import"./markdown-ITAfYNdc.js";import"./mcp-app-renderer-B-WbfS4U.js";import"./types-CZfjx8QG.js";import"./Eye-ARGTvinm.js";import"./Globe02-CVZ2J37_.js";import"./LayersTwo01-DCvFdGJI.js";import"./XClose-CWdR8ztK.js";import"./collection-search-Dpb-MiLc.js";import"./use-connection-7qXdMybp.js";import"./generate-id-Dyweu44Y.js";import"./Clock-CUBQd8Xv.js";import"./Trash01-CNXXoz2j.js";import"./user-B5rWHRLV.js";import"./avatar-D_GwJ74E.js";import"./format-time-CMKyl-GC.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./CheckCircle-DE93B6bt.js";import"./Plus-DwHqymxX.js";import"./dropdown-menu-CrI0GFHN.js";import"./use-llm-B7UO9DI8.js";import"./use-binding-CD2rnHew.js";import"./binder-GLGY8d7n.js";import"./checkbox-DqLJvt0U.js";import"./AlignLeft-CI8EzNNL.js";import"./Image01-MBqu9WJ7.js";import"./RefreshCcw01-DOnZ44OA.js";import"./Settings01-CPifi92B.js";import"./useSuspenseInfiniteQuery-3Im9HP3l.js";import"./infiniteQueryObserver-BzTvfVsR.js";function v(){const t=n.c(8),{org:o,project:s}=x(),a=j(),{switchToTask:c}=S();let i;t[0]!==a||t[1]!==o.slug||t[2]!==s.slug||t[3]!==c?(i=async u=>{await c(u),a({to:"/$org/$project",params:{org:o.slug,project:s.slug}})},t[0]=a,t[1]=o.slug,t[2]=s.slug,t[3]=c,t[4]=i):i=t[4];const l=i;let m;t[5]===Symbol.for("react.memo_cache_sentinel")?(m=r.jsx(p.Header,{children:r.jsx(p.Header.Left,{children:r.jsx(g,{children:r.jsx(b,{children:r.jsx(T,{children:r.jsx(k,{children:"Tasks"})})})})})}),t[5]=m):m=t[5];let e;return t[6]!==l?(e=r.jsxs(p,{children:[m,r.jsx(p.Content,{children:r.jsx("div",{className:"h-full flex flex-col overflow-hidden",children:r.jsx(h,{onTaskSelect:l})})})]}),t[6]=l,t[7]=e):e=t[7],e}function Vt(){const t=n.c(1);let o;return t[0]===Symbol.for("react.memo_cache_sentinel")?(o=r.jsx(d,{children:r.jsx(f.Suspense,{fallback:r.jsx("div",{className:"flex h-full items-center justify-center",children:r.jsx(B,{size:32,className:"animate-spin text-muted-foreground"})}),children:r.jsx(v,{})})}),t[0]=o):o=t[0],o}export{Vt as default};
