decocms 4.211.13 → 4.212.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/dist/client/assets/{AlertCircle-BMPkNMGJ.js → AlertCircle-WIL6cfet.js} +1 -1
  2. package/dist/client/assets/{AreaChart-488R_nQ_.js → AreaChart-CPaAKTzB.js} +1 -1
  3. package/dist/client/assets/{ArrowLeft-Bo0FpGQs.js → ArrowLeft-CHHWfkpB.js} +1 -1
  4. package/dist/client/assets/{ArrowUp-Cmxc5KIG.js → ArrowUp-iH2L4r6n.js} +1 -1
  5. package/dist/client/assets/{ArrowUpRight-OVKS4c5s.js → ArrowUpRight-BygkhTzB.js} +1 -1
  6. package/dist/client/assets/{Check-CeB_ZeLq.js → Check-CxaYXpCa.js} +1 -1
  7. package/dist/client/assets/{CheckCircle-C9SAYY-W.js → CheckCircle-V1G6vRLw.js} +1 -1
  8. package/dist/client/assets/{ChevronDown-CGwhMiqT.js → ChevronDown-DX-ceh2Z.js} +1 -1
  9. package/dist/client/assets/{ChevronRight-Cux_llMB.js → ChevronRight-Dq2fkwrO.js} +1 -1
  10. package/dist/client/assets/{ChevronUp-3dsPU76D.js → ChevronUp-BBj6JgxI.js} +1 -1
  11. package/dist/client/assets/{Copy01-CXcHnxi0.js → Copy01-CKFmCr1g.js} +1 -1
  12. package/dist/client/assets/{CpuChip01-CGpR8wkh.js → CpuChip01-Dq7zKXwa.js} +1 -1
  13. package/dist/client/assets/{CreditCard01-DSA6UjMO.js → CreditCard01-B9LEr35P.js} +1 -1
  14. package/dist/client/assets/{DotsVertical-9U5tOb04.js → DotsVertical-rZd6Fptu.js} +1 -1
  15. package/dist/client/assets/{Eye-DXWAJYKq.js → Eye-OpHiFNhI.js} +1 -1
  16. package/dist/client/assets/{FilterLines-DZrlB4Kh.js → FilterLines-CNeGl-15.js} +1 -1
  17. package/dist/client/assets/{Globe01-Cm-V-gHj.js → Globe01-DfaBbtRd.js} +1 -1
  18. package/dist/client/assets/{Globe04-m1tzMty0.js → Globe04-DPgOTzrT.js} +1 -1
  19. package/dist/client/assets/{HardDrive-Dvps78YO.js → HardDrive-Cm2nFFdL.js} +1 -1
  20. package/dist/client/assets/{Key01-DY7yaq7L.js → Key01-B88ki6Fp.js} +1 -1
  21. package/dist/client/assets/{LayoutLeft-C0u89h3U.js → LayoutLeft-D7-SVGH-.js} +1 -1
  22. package/dist/client/assets/{LinkExternal01-CLr9HZg0.js → LinkExternal01-NnMSyAQt.js} +1 -1
  23. package/dist/client/assets/{LogOut01-BeE1lxGA.js → LogOut01-BfVuyPyg.js} +1 -1
  24. package/dist/client/assets/{Monitor01-RiuZmvGS.js → Monitor01-BLV4EJBH.js} +1 -1
  25. package/dist/client/assets/{Palette-C8S3zMtK.js → Palette-DR-tCSkP.js} +1 -1
  26. package/dist/client/assets/{Play-B8V74CpU.js → Play-CoNHS2Qn.js} +1 -1
  27. package/dist/client/assets/{Plus-CGrXNe_q.js → Plus-CFl9yMpW.js} +1 -1
  28. package/dist/client/assets/{SearchLg-DrUBeTI6.js → SearchLg-Df6dgRDM.js} +1 -1
  29. package/dist/client/assets/{SearchMd-DFwCvkV1.js → SearchMd-BLnTSrvc.js} +1 -1
  30. package/dist/client/assets/{Settings02-DBlt8Mfk.js → Settings02-UFz5U7L5.js} +1 -1
  31. package/dist/client/assets/{Share07-C1_p27Hs.js → Share07-CbEikcMm.js} +1 -1
  32. package/dist/client/assets/{Shield01-CZr-J1Qk.js → Shield01-G4YJkuxh.js} +1 -1
  33. package/dist/client/assets/{Star01-ClwU4gOx.js → Star01-B-GU7k_K.js} +1 -1
  34. package/dist/client/assets/{Stars01-jLom0LSv.js → Stars01-B5yK5sU3.js} +1 -1
  35. package/dist/client/assets/{Stars02-2eb3r8Gu.js → Stars02-D3JIQ4or.js} +1 -1
  36. package/dist/client/assets/{Sun-m3RjKnDt.js → Sun-CzUyl9bG.js} +1 -1
  37. package/dist/client/assets/{SwitchHorizontal01-D0Mi7oaK.js → SwitchHorizontal01-CajRI1eQ.js} +1 -1
  38. package/dist/client/assets/{Tool01-DMQJZ6a0.js → Tool01-B6qpLzw5.js} +1 -1
  39. package/dist/client/assets/{Tool02-CZZOjaKh.js → Tool02-BDWnkNP4.js} +1 -1
  40. package/dist/client/assets/{Trash01-BCoCDH0H.js → Trash01-uG2e-LVc.js} +1 -1
  41. package/dist/client/assets/{TrendUp01-CYPiI6vW.js → TrendUp01-913WGcDw.js} +1 -1
  42. package/dist/client/assets/{Upload01-mvF19nky.js → Upload01-CHLmEpA0.js} +1 -1
  43. package/dist/client/assets/{User01-UnLfhP79.js → User01-N2Km578M.js} +1 -1
  44. package/dist/client/assets/{Users01-BGTUZMIA.js → Users01-D97rIiW3.js} +1 -1
  45. package/dist/client/assets/{Users03-C0P658nm.js → Users03-BZg-2yj1.js} +1 -1
  46. package/dist/client/assets/{X-CId2-nhW.js → X-DQSyj_H1.js} +1 -1
  47. package/dist/client/assets/{XCircle-DOtlBDfF.js → XCircle-DuqbsXc1.js} +1 -1
  48. package/dist/client/assets/{XClose-BoiJoxeV.js → XClose-BwSfuEMb.js} +1 -1
  49. package/dist/client/assets/{Zap-C6ApHWIY.js → Zap-VnO6gpQC.js} +1 -1
  50. package/dist/client/assets/{ZapSquare-GHgi4Hl7.js → ZapSquare-DT1OZQR4.js} +1 -1
  51. package/dist/client/assets/{access-gate-C95F2WkH.js → access-gate-BS0xGuqy.js} +1 -1
  52. package/dist/client/assets/{agent-icon-D_vHJRnE.js → agent-icon-Bd04PxdB.js} +1 -1
  53. package/dist/client/assets/{agents-list-DkgLS7SC.js → agents-list-C0P08iKg.js} +1 -1
  54. package/dist/client/assets/{ai-providers-Bu525zoa.js → ai-providers-CXH7oK-G.js} +1 -1
  55. package/dist/client/assets/{alert-DbDLUaFg.js → alert-ZBbYuTSY.js} +1 -1
  56. package/dist/client/assets/{alert-dialog-BgN-Tqd-.js → alert-dialog-QC1W-6Pa.js} +1 -1
  57. package/dist/client/assets/{app-editor-BxnAP5XK.js → app-editor-Irg95kYk.js} +1 -1
  58. package/dist/client/assets/{auth-BcPAS4K5.js → auth-BZX0cE3S.js} +1 -1
  59. package/dist/client/assets/{auth-catchall-beEoU58X.js → auth-catchall-vx12oZPU.js} +1 -1
  60. package/dist/client/assets/{auth-entry-Ba9Dx-Qf.js → auth-entry-884Ls1N0.js} +1 -1
  61. package/dist/client/assets/{auth-split-layout-BWtw05-K.js → auth-split-layout-CbMUUsis.js} +1 -1
  62. package/dist/client/assets/{authenticate-and-persist-oauth-COCTTCRF.js → authenticate-and-persist-oauth-D_o3ZfG2.js} +1 -1
  63. package/dist/client/assets/{automation-list-row-BYFAi_YA.js → automation-list-row-Dioka1IJ.js} +1 -1
  64. package/dist/client/assets/{automation-runs-DeLRBvkt.js → automation-runs-CpPPHaaj.js} +1 -1
  65. package/dist/client/assets/{automations-BRAq3s1h.js → automations-DetuemjH.js} +1 -1
  66. package/dist/client/assets/{avatar-CKAwkvrw.js → avatar-ChA3XW15.js} +1 -1
  67. package/dist/client/assets/{badge-CxlSzoE1.js → badge-BxXEgJD5.js} +1 -1
  68. package/dist/client/assets/{billing-B-o9jNmN.js → billing-hQnVcj0R.js} +1 -1
  69. package/dist/client/assets/{block-document-B55t08Gk.js → block-document-zugmjNq1.js} +1 -1
  70. package/dist/client/assets/{brand-context-BFbc6Rr3.js → brand-context-Ck0174hR.js} +1 -1
  71. package/dist/client/assets/{buckets-DPkGfuKn.js → buckets-R0KmBi2V.js} +1 -1
  72. package/dist/client/assets/{bulk-category-panel-DEeeidyr.js → bulk-category-panel-DebNMqV7.js} +1 -1
  73. package/dist/client/assets/{capability-load-error-BJPRtvi9.js → capability-load-error-BdHpqDfW.js} +1 -1
  74. package/dist/client/assets/{card-GrGBYBXG.js → card-D8IT-uY5.js} +1 -1
  75. package/dist/client/assets/{cards-DY2u3Spm.js → cards-BlZkvfAM.js} +1 -1
  76. package/dist/client/assets/{category-editor-ZQJJznra.js → category-editor-JUPkzqLr.js} +1 -1
  77. package/dist/client/assets/{chat-context-cK_4I7Xc.js → chat-context-Cvs4EbTx.js} +1 -1
  78. package/dist/client/assets/{checkbox-DjytOswq.js → checkbox-DmTCNEX3.js} +1 -1
  79. package/dist/client/assets/{cli-auth-success-BM-cW7fp.js → cli-auth-success-lNCvmXGn.js} +1 -1
  80. package/dist/client/assets/{collection-detail-agcgXjLA.js → collection-detail-BJvAeOle.js} +1 -1
  81. package/dist/client/assets/{collection-display-button-C1_cSZ46.js → collection-display-button-D6szfwDF.js} +1 -1
  82. package/dist/client/assets/{collection-search-Cwveue76.js → collection-search-BZpNpsyc.js} +1 -1
  83. package/dist/client/assets/{collection-table-wrapper-rFP3w6Km.js → collection-table-wrapper-IUCETLva.js} +1 -1
  84. package/dist/client/assets/{collection-tabs-DMyjVQaZ.js → collection-tabs-4dV9B3uE.js} +1 -1
  85. package/dist/client/assets/{command-DktWLnIE.js → command-Cwm0AdDf.js} +1 -1
  86. package/dist/client/assets/{commerce-onboarding-m9N-S4Gz.js → commerce-onboarding-BAYpogi0.js} +1 -1
  87. package/dist/client/assets/{connect-D2N1y-Ip.js → connect-DluQYuA-.js} +1 -1
  88. package/dist/client/assets/{connection-xiSJ6-RD.js → connection-Dh_ooe1d.js} +1 -1
  89. package/dist/client/assets/{connection-card-BoEQ2uqc.js → connection-card-drg1d7hg.js} +1 -1
  90. package/dist/client/assets/{connection-detail-CQcpDcrD.js → connection-detail-DDxykiLl.js} +1 -1
  91. package/dist/client/assets/{connection-form-helpers-DB6bc0s9.js → connection-form-helpers-Dkhl5xIg.js} +1 -1
  92. package/dist/client/assets/{connections-Dw0iE25b.js → connections-Bd8HfBgK.js} +1 -1
  93. package/dist/client/assets/{decopilot-sse-pool-CYVKd86r.js → decopilot-sse-pool-Dv0V8xQ-.js} +1 -1
  94. package/dist/client/assets/{dialog-7h2q_S_D.js → dialog-DAc4-g6m.js} +1 -1
  95. package/dist/client/assets/{domain-settings-VApHKPI3.js → domain-settings-DlbxrG4S.js} +1 -1
  96. package/dist/client/assets/{drawer-WhUz4erM.js → drawer-G48IA4Mc.js} +1 -1
  97. package/dist/client/assets/{dropdown-menu-D3TVm231.js → dropdown-menu-C-Pcq4IH.js} +1 -1
  98. package/dist/client/assets/{empty-state-tOcrn7Ci.js → empty-state-LOiFPHZS.js} +1 -1
  99. package/dist/client/assets/{extract-connection-data-BKY0ec6n.js → extract-connection-data-BTqduo0n.js} +1 -1
  100. package/dist/client/assets/{file-explorer-Dq0lQM5q.js → file-explorer-WMg5HmTg.js} +1 -1
  101. package/dist/client/assets/{file-type-icon-CpiTVpKx.js → file-type-icon-W1ZzTIaT.js} +1 -1
  102. package/dist/client/assets/{form-FE1JRkSu.js → form-BYL5XAXX.js} +1 -1
  103. package/dist/client/assets/{general-g40hJC_5.js → general-C975mpR0.js} +1 -1
  104. package/dist/client/assets/{github-repo-picker-BId4yHDh.js → github-repo-picker-CqnMVe6t.js} +1 -1
  105. package/dist/client/assets/{hooks-BTTh4oan.js → hooks-qUcRvsMr.js} +1 -1
  106. package/dist/client/assets/{index-BEYzla8F.js → index-B-rJMZuF.js} +5 -5
  107. package/dist/client/assets/{index-Bfy-Fe7V.js → index-BdpWLlfo.js} +3 -3
  108. package/dist/client/assets/{index-GMtytQiz.js → index-Boo82Stv.js} +1 -1
  109. package/dist/client/assets/index-BzH8uzdn.js +1 -0
  110. package/dist/client/assets/{index-BYGXPjH8.js → index-CMzjjINV.js} +1 -1
  111. package/dist/client/assets/{index-D5KNWpFX.js → index-DDeH6C5P.js} +1 -1
  112. package/dist/client/assets/{index-UyBix6gL.js → index-D_CFS6JI.js} +1 -1
  113. package/dist/client/assets/{index-CGRQEzbN.js → index-D_ugk4gp.js} +1 -1
  114. package/dist/client/assets/{index-BEPKcH_a.js → index-eXep7bvA.js} +1 -1
  115. package/dist/client/assets/{index-Bqv-pFdx.js → index-hxBUwYlX.js} +1 -1
  116. package/dist/client/assets/{index-redirect-ck6OyrmB.js → index-redirect-I38-y9q3.js} +1 -1
  117. package/dist/client/assets/{input-BVD_WyXJ.js → input-DEKGGhZK.js} +1 -1
  118. package/dist/client/assets/{integration-icon-BbWY9vfD.js → integration-icon-BaOIFBaS.js} +1 -1
  119. package/dist/client/assets/{invite-member-dialog-CV1AK1O7.js → invite-member-dialog-C2eQcEHU.js} +1 -1
  120. package/dist/client/assets/{label-Dplc1_oE.js → label-DHPULCw0.js} +1 -1
  121. package/dist/client/assets/{layout-D5YUqSjq.js → layout-CXMta2ST.js} +1 -1
  122. package/dist/client/assets/{login-BhrXfYan.js → login-BjscOAQ6.js} +1 -1
  123. package/dist/client/assets/{mcp-oauth-Bi0vxp4Q.js → mcp-oauth-k8WwWmmz.js} +1 -1
  124. package/dist/client/assets/{members-Ji9eO7Ec.js → members-CO_r93n0.js} +1 -1
  125. package/dist/client/assets/{monaco-editor-a45QrHzb.js → monaco-editor-9VUv5hjp.js} +1 -1
  126. package/dist/client/assets/{monitoring-stats-row-Clyov0L3.js → monitoring-stats-row-BIhMAgn2.js} +1 -1
  127. package/dist/client/assets/{multi-select-CjPTNrcr.js → multi-select-CckhO9Qn.js} +1 -1
  128. package/dist/client/assets/{oauth-callback-DiDAIf8E.js → oauth-callback-D1039wfk.js} +1 -1
  129. package/dist/client/assets/{oauth-callback-ai-provider-IqzbVWPo.js → oauth-callback-ai-provider-Ba09_ZFO.js} +1 -1
  130. package/dist/client/assets/{onboarding-BJiKjmun.js → onboarding-i3z96Qre.js} +1 -1
  131. package/dist/client/assets/{org-layout-PfQPZIP6.js → org-layout-BJ9YNytZ.js} +1 -1
  132. package/dist/client/assets/{organization-choice-gP3A2ZAR.js → organization-choice-BlokjHhS.js} +1 -1
  133. package/dist/client/assets/{orgs-Cr1CFs6W.js → orgs-CFHR2DcV.js} +1 -1
  134. package/dist/client/assets/{page-seo-form-DudbV1zC.js → page-seo-form-B6I-aCLS.js} +1 -1
  135. package/dist/client/assets/{popover-DigaZ5Sb.js → popover-DjWnpEmJ.js} +1 -1
  136. package/dist/client/assets/{post-editor-BWzSgRMR.js → post-editor-DIwE0Ce0.js} +1 -1
  137. package/dist/client/assets/{primitives-J7wgcQJq.js → primitives-DV8n3c4N.js} +1 -1
  138. package/dist/client/assets/{profile-BDbSzozU.js → profile-CrlFx45Q.js} +1 -1
  139. package/dist/client/assets/{project-app-view-DAXzq1Ls.js → project-app-view-BsrXZaIG.js} +1 -1
  140. package/dist/client/assets/record-editor-BJqYf6YT.js +1 -0
  141. package/dist/client/assets/{redirect-editor-pHmu3bPB.js → redirect-editor-BvWoDDRT.js} +1 -1
  142. package/dist/client/assets/registry-CplrzT-y.js +2 -0
  143. package/dist/client/assets/{registry-layout-CpdnxiQT.js → registry-layout-HYIlQinW.js} +1 -1
  144. package/dist/client/assets/{reports-DRHBtKft.js → reports-CKFq3olb.js} +1 -1
  145. package/dist/client/assets/{require-capability-ATUore6a.js → require-capability-CsduCWoY.js} +1 -1
  146. package/dist/client/assets/{required-auth-layout-BFPFAQoy.js → required-auth-layout-Ddvi1F_9.js} +1 -1
  147. package/dist/client/assets/{reset-password-Dqj508VS.js → reset-password-Yu6CU0GW.js} +1 -1
  148. package/dist/client/assets/{roles-CxUv-U9E.js → roles-DYuqLCca.js} +1 -1
  149. package/dist/client/assets/{search-input--fbtpx3Q.js → search-input-Bhw58eHR.js} +1 -1
  150. package/dist/client/assets/{secrets-Bks5AT9o.js → secrets-tkw-CjVl.js} +1 -1
  151. package/dist/client/assets/{sections-editor-D3-0_ytR.js → sections-editor-DrK5E-Hb.js} +1 -1
  152. package/dist/client/assets/{select-wwJ8EUoY.js → select-CBpdZ7o2.js} +1 -1
  153. package/dist/client/assets/{select-model-BpUI37HY.js → select-model-CheXfT8K.js} +1 -1
  154. package/dist/client/assets/{self-tool-result-Cch-sPi1.js → self-tool-result-DFFRnOvl.js} +1 -1
  155. package/dist/client/assets/{seo-editor-B-BXD83I.js → seo-editor-D346GKcE.js} +1 -1
  156. package/dist/client/assets/{settings-layout-ByUBxOIX.js → settings-layout-occgNiTO.js} +1 -1
  157. package/dist/client/assets/{settings-section-CfhHwu3l.js → settings-section-DOaNXejx.js} +1 -1
  158. package/dist/client/assets/{shell-controls-CCkUJzaH.js → shell-controls-CoHd06YQ.js} +1 -1
  159. package/dist/client/assets/{shell-layout-C7FmlawD.js → shell-layout-BUm_6dBQ.js} +1 -1
  160. package/dist/client/assets/{sidebar-CusUIOZL.js → sidebar-_WzLC9pk.js} +1 -1
  161. package/dist/client/assets/{skeleton-Dd2jseki.js → skeleton-lrQT5gcj.js} +1 -1
  162. package/dist/client/assets/{spinner-Cq2vfE1B.js → spinner-B_dab8ke.js} +1 -1
  163. package/dist/client/assets/{sso-B3-RbBmC.js → sso-Dc4jk7wT.js} +1 -1
  164. package/dist/client/assets/store-registry-Bw6zQvn2.js +2 -0
  165. package/dist/client/assets/{store-pPcfwgDj.js → store-zigKdDd7.js} +1 -1
  166. package/dist/client/assets/{studio-tools-BBDHxwPb.js → studio-tools-CeODr8rO.js} +1 -1
  167. package/dist/client/assets/{switch-CAjDqeuV.js → switch-BCfM0l-1.js} +1 -1
  168. package/dist/client/assets/{synced-repos-B2r15ecn.js → synced-repos-B5gVTI7P.js} +1 -1
  169. package/dist/client/assets/{tab-id-BtKEoC5y.js → tab-id-BnJCohG_.js} +1 -1
  170. package/dist/client/assets/{table-DwuSaCi4.js → table-Cu9EWIa1.js} +1 -1
  171. package/dist/client/assets/{tabs-CIxl9qVO.js → tabs-DLaFLm1m.js} +1 -1
  172. package/dist/client/assets/{textarea-BkOjJMTl.js → textarea-BArtrh-R.js} +1 -1
  173. package/dist/client/assets/{toggle-group-znNdMK--.js → toggle-group-DNT1HP1y.js} +1 -1
  174. package/dist/client/assets/{toolbar-CdII6jdL.js → toolbar-CdMdEL2o.js} +1 -1
  175. package/dist/client/assets/{tooltip-F9SMeJ-j.js → tooltip-DdfsISdl.js} +1 -1
  176. package/dist/client/assets/{track-CQoHeM9p.js → track-CssF9gmT.js} +1 -1
  177. package/dist/client/assets/{use-ai-providers-NYX7QSgc.js → use-ai-providers-B3QbnFSg.js} +1 -1
  178. package/dist/client/assets/{use-automations-DoX-Tmqm.js → use-automations-C22lTAVt.js} +1 -1
  179. package/dist/client/assets/{use-autosave-BpJYCCvJ.js → use-autosave-D4dK2ec9.js} +1 -1
  180. package/dist/client/assets/{use-capability-DssZIcHp.js → use-capability-DTZN9m3p.js} +1 -1
  181. package/dist/client/assets/{use-clock-tick-CFTIWs0c.js → use-clock-tick-CnrHrJSt.js} +1 -1
  182. package/dist/client/assets/{use-connection-niAftPf5.js → use-connection-CY0u0E5V.js} +1 -1
  183. package/dist/client/assets/{use-copy-C8wJsCEn.js → use-copy-DnseyEW-.js} +1 -1
  184. package/dist/client/assets/{use-create-virtual-mcp-BeJ2z9vu.js → use-create-virtual-mcp-C-wnV9Zl.js} +1 -1
  185. package/dist/client/assets/{use-debounced-autosave-CGiNF_NH.js → use-debounced-autosave-CON7irHq.js} +1 -1
  186. package/dist/client/assets/{use-debounced-value-BolYSN9R.js → use-debounced-value-DVV-uvkW.js} +1 -1
  187. package/dist/client/assets/{use-deco-credits-De3PrmGo.js → use-deco-credits-DesPz-1R.js} +1 -1
  188. package/dist/client/assets/{use-decopilot-events-UAWY9DUq.js → use-decopilot-events-B83F-TYE.js} +1 -1
  189. package/dist/client/assets/{use-delete-connection-BcCyYYBn.js → use-delete-connection-Bw1AL7n6.js} +1 -1
  190. package/dist/client/assets/{use-deployment-admin-Dkp6hxxc.js → use-deployment-admin-a3HGJDBc.js} +1 -1
  191. package/dist/client/assets/{use-file-configs-Cq0JL4Et.js → use-file-configs-Bit9bppN.js} +1 -1
  192. package/dist/client/assets/{use-infinite-scroll-BMPCHIFs.js → use-infinite-scroll-BuACpKVm.js} +1 -1
  193. package/dist/client/assets/{use-join-requests-BGkaC20q.js → use-join-requests-C3rpQno3.js} +1 -1
  194. package/dist/client/assets/{use-mcp-client-CMZDCFwV.js → use-mcp-client-Bxx6fsF6.js} +1 -1
  195. package/dist/client/assets/{use-mcp-tools-DcIN6xvI.js → use-mcp-tools-B6ezax7-.js} +1 -1
  196. package/dist/client/assets/{use-members-CNN6Y-Zt.js → use-members-Dj59vSPD.js} +1 -1
  197. package/dist/client/assets/{use-mobile-RWxooM53.js → use-mobile-1pXzbrVA.js} +1 -1
  198. package/dist/client/assets/{use-navigate-to-agent-ChzmcYSy.js → use-navigate-to-agent-BTlUGafY.js} +1 -1
  199. package/dist/client/assets/{use-open-billing-url-XDJk2wdH.js → use-open-billing-url-BFwsJQGb.js} +1 -1
  200. package/dist/client/assets/{use-org-auth-client-hxCPh-jf.js → use-org-auth-client-sSkN4xfu.js} +1 -1
  201. package/dist/client/assets/{use-org-sso-FYR_uf1o.js → use-org-sso-BgII0BvC.js} +1 -1
  202. package/dist/client/assets/{use-organization-roles-H8GHPaLQ.js → use-organization-roles-DsaIYSv3.js} +1 -1
  203. package/dist/client/assets/{use-organization-settings-CmS9ohCu.js → use-organization-settings-D5y7ESPS.js} +1 -1
  204. package/dist/client/assets/{use-registry-connections-CvNGLAr0.js → use-registry-connections-CQQ-BeSn.js} +1 -1
  205. package/dist/client/assets/{use-secrets-B-jc_6m7.js → use-secrets-CeCSqutU.js} +1 -1
  206. package/dist/client/assets/{use-section-preview-base-B2DzWzr2.js → use-section-preview-base-BLLzdQOx.js} +1 -1
  207. package/dist/client/assets/{use-status-sounds-UrQRxkaM.js → use-status-sounds-_edoe4rZ.js} +1 -1
  208. package/dist/client/assets/{use-tags-opYrp-Zi.js → use-tags-DvWOTF3X.js} +1 -1
  209. package/dist/client/assets/{use-view-mode-Dgp9VTk6.js → use-view-mode-QLHLQem3.js} +1 -1
  210. package/dist/client/assets/{use-virtual-mcp-CvLFbjo1.js → use-virtual-mcp-D7APgG1m.js} +1 -1
  211. package/dist/client/assets/useInfiniteQuery-Dcs9aui8.js +1 -0
  212. package/dist/client/assets/{useRouterState-rS_ZBcbr.js → useRouterState-DhKILL39.js} +1 -1
  213. package/dist/client/assets/useSuspenseInfiniteQuery-ByfsxxEi.js +1 -0
  214. package/dist/client/assets/{users-BQPiAp2u.js → users-CgmkC3_-.js} +1 -1
  215. package/dist/client/assets/{variant-calendar-DboldH8s.js → variant-calendar-CC484mOK.js} +1 -1
  216. package/dist/client/assets/{view-mode-toggle-DDofaiqJ.js → view-mode-toggle-KjMo42rw.js} +1 -1
  217. package/dist/client/index.html +1 -1
  218. package/dist/server/cli.js +339 -339
  219. package/dist/server/server.js +230 -230
  220. package/package.json +1 -1
  221. package/dist/client/assets/index-C6ZFB-pr.js +0 -1
  222. package/dist/client/assets/record-editor-ppkuJl7e.js +0 -1
  223. package/dist/client/assets/registry-Cd5hmvAQ.js +0 -2
  224. package/dist/client/assets/store-registry-BvvyMLoR.js +0 -2
  225. package/dist/client/assets/useInfiniteQuery-DuCyL_is.js +0 -1
  226. package/dist/client/assets/useSuspenseInfiniteQuery-ByQ627dx.js +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "decocms",
3
- "version": "4.211.13",
3
+ "version": "4.212.1",
4
4
  "description": "Deco CMS — Self-hostable MCP Gateway for managing AI connections and tools",
5
5
  "author": "Deco team",
6
6
  "repository": {
@@ -1 +0,0 @@
1
- import{c as M,d as Me,F as pe,b as W,G as hl,j as s,B as $s,r as L,E as as,H as xl,x as gl,K as Ds,e as xs,p as ce,I as Bt,m as G,a as Ft,J as bl,v as jl,t as Ht,M as vl,P as yl,n as _l,R as Sl,k as Nl,U as Cl,f as kl,u as Es,O as wl,W as Ml}from"./index-Bfy-Fe7V.js";import{u as Ct,S as cs,a as ds,b as ue,c as de,d as ne,e as zs,f as Al,g as Rs,h as Tl,i as ls,j as Il,k as Pl,l as Ol}from"./sidebar-CusUIOZL.js";import{u as Fs}from"./use-mobile-RWxooM53.js";import{a as $l,p as Zt,s as Dl,b as El,n as zl}from"./self-tool-result-Cch-sPi1.js";import{f as Rl,b as Ls,e as Gs,g as Fl,h as Ll,a as Gl,d as Bl}from"./dialog-7h2q_S_D.js";import{f as Hl,i as Ul,D as Wl}from"./tab-id-BtKEoC5y.js";import{C as Kl,W as Bs,g as Vl,u as ql,S as Yl,a as Xl}from"./use-mcp-client-CMZDCFwV.js";import{i as Hs}from"./XCircle-DOtlBDfF.js";import{u as Ql,a as ms}from"./use-organization-settings-CmS9ohCu.js";import{C as Jl,a as Zl,O as ns,A as fs,u as en,b as tn,c as sn,d as ln}from"./use-deco-credits-De3PrmGo.js";import{S as _e}from"./skeleton-Dd2jseki.js";import{i as Us}from"./LayoutLeft-C0u89h3U.js";import{T as Ut,a as St}from"./toolbar-CdII6jdL.js";import{P as Ws,a as Ks,b as Vs}from"./popover-DigaZ5Sb.js";import{D as nn,a as on,b as rn}from"./drawer-WhUz4erM.js";import{A as is}from"./avatar-CKAwkvrw.js";import{T as Wt,a as Kt,b as qs,c as Vt}from"./tooltip-F9SMeJ-j.js";import{a as an}from"./Copy01-CXcHnxi0.js";import{n as cn,i as dn}from"./Globe01-Cm-V-gHj.js";import{t as mn,i as fn,a as un,b as pn,c as hn,d as Ys,A as Lt,e as gs,s as xn,f as gn,g as bn}from"./agent-icon-D_vHJRnE.js";import{n as jn}from"./LinkExternal01-CLr9HZg0.js";import{i as bs}from"./LogOut01-BeE1lxGA.js";import{i as vn}from"./Monitor01-RiuZmvGS.js";import{n as yn,a as _n}from"./Sun-m3RjKnDt.js";import{a as qt}from"./Settings02-DBlt8Mfk.js";import{i as Sn}from"./Shield01-CZr-J1Qk.js";import{a as Nn}from"./Users03-C0P658nm.js";import{u as Cn}from"./use-deployment-admin-Dkp6hxxc.js";import{u as kn}from"./use-is-desktop-app-BNujXJc_.js";import{a as wn}from"./ZapSquare-GHgi4Hl7.js";import{I as Xs}from"./invite-member-dialog-CV1AK1O7.js";import{i as Mn}from"./FilterLines-DZrlB4Kh.js";import{T as An,a as Tn}from"./toggle-group-znNdMK--.js";import{u as In,a as Qs,b as Pn,T as On}from"./hooks-BTTh4oan.js";import{u as Js,f as $n}from"./shell-layout-C7FmlawD.js";import{C as Dn,a as En,b as zn,c as Rn,d as Fn,e as Ln}from"./command-DktWLnIE.js";import{u as us}from"./studio-tools-BBDHxwPb.js";import{u as Zs}from"./use-virtual-mcp-CvLFbjo1.js";import{i as el}from"./Zap-C6ApHWIY.js";import{S as tl,M as Gn}from"./shell-controls-CCkUJzaH.js";import{n as Bn}from"./Stars02-2eb3r8Gu.js";import{g as Hn,u as Un,S as Wn}from"./use-clock-tick-CFTIWs0c.js";import{a as Kn}from"./format-time-BnbuEtat.js";import{g as Vn}from"./agent-capabilities-cXfbMfjV.js";import{t as qn}from"./ChevronDown-CGwhMiqT.js";import{i as Yn}from"./ChevronRight-Cux_llMB.js";import{A as Xn,a as Qn,b as Jn,c as Zn,d as ei,e as ti,f as si,g as li}from"./alert-dialog-BgN-Tqd-.js";import{S as sl}from"./use-navigate-to-agent-ChzmcYSy.js";import{C as ni}from"./chat-context-cK_4I7Xc.js";import"./X-CId2-nhW.js";import"./form-FE1JRkSu.js";import"./label-Dplc1_oE.js";import"./input-BVD_WyXJ.js";import"./spinner-Cq2vfE1B.js";import"./integration-icon-BbWY9vfD.js";import"./Tool02-CZZOjaKh.js";import"./extract-connection-data-BKY0ec6n.js";import"./metadata-dUsYcpuu.js";import"./provision-repo-scoped-github-connection-C2HwF4Ce.js";import"./CheckCircle-C9SAYY-W.js";import"./Check-CeB_ZeLq.js";import"./Eye-DXWAJYKq.js";import"./use-debounced-value-BolYSN9R.js";import"./authenticate-and-persist-oauth-COCTTCRF.js";import"./mcp-oauth-Bi0vxp4Q.js";import"./auth-BcPAS4K5.js";import"./track-CQoHeM9p.js";import"./Plus-CGrXNe_q.js";import"./SearchMd-DFwCvkV1.js";import"./XClose-BoiJoxeV.js";import"./github-repo-picker-BId4yHDh.js";import"./collection-search-Cwveue76.js";import"./use-connection-niAftPf5.js";import"./ArrowLeft-Bo0FpGQs.js";import"./Share07-C1_p27Hs.js";import"./use-mcp-tools-DcIN6xvI.js";import"./reusable-new-chat-CouMjkYR.js";import"./connection-card-BoEQ2uqc.js";import"./use-registry-connections-CvNGLAr0.js";import"./useInfiniteQuery-DuCyL_is.js";import"./use-infinite-scroll-BMPCHIFs.js";import"./retry-CErkP7V6.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./connection-slug-eyAPH6o3.js";import"./card-GrGBYBXG.js";import"./select-wwJ8EUoY.js";import"./ChevronUp-3dsPU76D.js";import"./textarea-BkOjJMTl.js";import"./Star01-ClwU4gOx.js";import"./connection-form-helpers-DB6bc0s9.js";import"./Trash01-BCoCDH0H.js";import"./collection-tabs-DMyjVQaZ.js";import"./badge-CxlSzoE1.js";import"./useSuspenseInfiniteQuery-ByQ627dx.js";import"./use-ai-providers-NYX7QSgc.js";import"./User01-UnLfhP79.js";import"./AlertCircle-BMPkNMGJ.js";import"./Tool01-DMQJZ6a0.js";import"./ArrowUp-Cmxc5KIG.js";import"./ArrowUpRight-OVKS4c5s.js";import"./TrendUp01-CYPiI6vW.js";import"./DotsVertical-9U5tOb04.js";import"./CpuChip01-CGpR8wkh.js";import"./CreditCard01-DSA6UjMO.js";import"./Globe04-m1tzMty0.js";import"./SwitchHorizontal01-D0Mi7oaK.js";import"./HardDrive-Dvps78YO.js";import"./Key01-DY7yaq7L.js";import"./Palette-C8S3zMtK.js";import"./Play-B8V74CpU.js";import"./SearchLg-DrUBeTI6.js";import"./Stars01-jLom0LSv.js";import"./Upload01-mvF19nky.js";import"./Users01-BGTUZMIA.js";import"./use-org-auth-client-hxCPh-jf.js";import"./use-organization-roles-H8GHPaLQ.js";import"./decopilot-sse-pool-CYVKd86r.js";import"./required-auth-layout-BFPFAQoy.js";import"./use-org-sso-FYR_uf1o.js";import"./index-Bqv-pFdx.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-decopilot-events-UAWY9DUq.js";function ii(t){const e=M.c(22),{siteUrl:l}=t,i=Me(),{org:n}=pe(),r=W();let o;e[0]!==i||e[1]!==n.id||e[2]!==n.slug?(o=()=>{localStorage.setItem(hl.sidebarOpen(),JSON.stringify(!1)),i({to:"/$org/$taskId",params:{org:n.slug,taskId:crypto.randomUUID()},search:{virtualmcpid:Vl(n.id),main:Hl(Bs.COMMERCE_DISCOVERY(n.id),Kl),sidepanel:0}})},e[0]=i,e[1]=n.id,e[2]=n.slug,e[3]=o):o=e[3];const a=o;let m;e[4]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsx(Rl,{className:"bg-black/15 backdrop-blur-sm"}),e[4]=m):m=e[4];let c;e[5]!==r?(c=r("routes.commerceOnboarding.connectModal.dialogTitle"),e[5]=r,e[6]=c):c=e[6];let d;e[7]!==c?(d=s.jsx(Ls,{className:"sr-only",children:c}),e[7]=c,e[8]=d):d=e[8];let f;e[9]!==a||e[10]!==r?(f=()=>s.jsxs("div",{className:"grid gap-4 p-6",children:[s.jsx("p",{className:"text-sm text-muted-foreground",children:r("routes.commerceOnboarding.connectModal.loadError")}),s.jsxs($s,{type:"button",size:"xl",className:"w-full",onClick:a,children:[r("routes.commerceOnboarding.connectModal.continueButton"),s.jsx(Hs,{size:18})]})]}),e[9]=a,e[10]=r,e[11]=f):f=e[11];let u;e[12]===Symbol.for("react.memo_cache_sentinel")?(u=s.jsx($l,{}),e[12]=u):u=e[12];let p;e[13]!==a||e[14]!==l?(p=s.jsx(L.Suspense,{fallback:u,children:s.jsx(ci,{siteUrlFromUrl:l,onComplete:a})}),e[13]=a,e[14]=l,e[15]=p):p=e[15];let h;e[16]!==f||e[17]!==p?(h=s.jsx(as,{fallback:f,children:p}),e[16]=f,e[17]=p,e[18]=h):h=e[18];let b;return e[19]!==d||e[20]!==h?(b=s.jsx(Gs,{open:!0,children:s.jsxs(Fl,{children:[m,s.jsxs(xl,{"data-slot":"commerce-connect-modal",onEscapeKeyDown:ai,onPointerDownOutside:ri,onInteractOutside:oi,className:"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 flex h-[calc(100dvh-1rem)] w-full max-w-[calc(100%-1rem)] translate-x-[-50%] translate-y-[-50%] flex-col overflow-hidden rounded-2xl border p-0 shadow-md duration-200 sm:max-w-lg md:h-auto md:max-h-[calc(100dvh-2rem)] lg:max-h-[calc(100dvh-4rem)] lg:max-w-5xl",children:[d,h]})]})}),e[19]=d,e[20]=h,e[21]=b):b=e[21],b}function oi(t){return t.preventDefault()}function ri(t){return t.preventDefault()}function ai(t){return t.preventDefault()}function ci({siteUrlFromUrl:t,onComplete:e}){const l=W(),{org:i}=pe(),n=Bs.COMMERCE_DISCOVERY(i.id),r=ql({connectionId:Yl,orgId:i.id,orgSlug:i.slug}),a=gl({queryKey:Ds.commerceDiscoveryConnection(i.id,n),queryFn:async()=>{const v=await r.callTool({name:"COLLECTION_CONNECTIONS_GET",arguments:{id:n}});return Zt(v)},retry:!1}).data.item,m=typeof a?.metadata?.siteUrl=="string"?a.metadata.siteUrl:void 0,c=t||m,d=Dl(c),[f,u]=L.useState(!0),[p,h]=L.useState(null),b=xs({mutationFn:async v=>Zt(await r.callTool({name:"COMMERCE_DISCOVERY_SETUP",arguments:{siteUrl:v}})),retry:!1}),g=xs({mutationFn:async v=>Zt(await r.callTool({name:"COMMERCE_DISCOVERY_RUN",arguments:{siteUrl:v}})),retry:!1}),x=async()=>{h(null),ce("commerce_onboarding_open_report_clicked",{domain:d??void 0,organization_id:i.id});const v=c?zl(c):null;if(v?.ok)try{let _=await g.mutateAsync(v.value);if(_.triggered||(ce("commerce_onboarding_run_reclaim",{domain:d??void 0,organization_id:i.id,reason:_.reason??"not_upgraded"}),await b.mutateAsync(v.value),_=await g.mutateAsync(v.value)),!_.triggered){ce("commerce_onboarding_run_failed",{domain:d??void 0,organization_id:i.id,error:_.reason??"not_triggered"}),h(l("routes.commerceOnboarding.connectModal.couldNotGenerateReport"));return}}catch(_){ce("commerce_onboarding_run_failed",{domain:d??void 0,organization_id:i.id,error:_ instanceof Error?_.message:String(_)}),h(l("routes.commerceOnboarding.connectModal.somethingWentWrong"));return}e()},j=Ql("demo_mode"),y=f||j;return s.jsx(Jl,{siteHost:d,footer:s.jsxs(s.Fragment,{children:[p?s.jsx("p",{className:"text-sm leading-5 text-destructive",role:"alert",children:p}):null,s.jsxs("div",{className:"flex gap-3",children:[s.jsx("div",{className:"min-w-0 flex-1",children:s.jsx(Zl,{ready:y,pending:g.isPending,label:g.isPending?l("routes.commerceOnboarding.connectModal.openingReport"):l("routes.commerceOnboarding.connectModal.viewDiagnostic"),onClick:()=>{x()},children:s.jsx(Hs,{size:18})})}),y?null:s.jsx($s,{type:"button",variant:"secondary",size:"lg",className:"h-auto min-h-12 shrink-0 rounded-lg py-3 text-base font-medium leading-tight",disabled:g.isPending,onClick:()=>{x()},children:l("routes.commerceOnboarding.connectModal.skip")})]})]}),children:s.jsx(El,{org:i,cdConnectionId:n,siteUrl:c,onReadinessChange:u})})}function di(t){const e=M.c(11),{onPointerDown:l,onDoubleClick:i}=t,n=W(),{state:r,isMobile:o}=Ct();if(o||r==="collapsed")return null;let a;e[0]!==n?(a=n("sidebar.sidebarResizeHandle.ariaLabel"),e[0]=n,e[1]=a):a=e[1];let m;e[2]!==n?(m=n("sidebar.sidebarResizeHandle.title"),e[2]=n,e[3]=m):m=e[3];let c,d;e[4]===Symbol.for("react.memo_cache_sentinel")?(c={left:"var(--sidebar-width)"},d=s.jsx("span",{className:"pointer-events-none absolute inset-y-0 left-1/2 w-px -translate-x-1/2 bg-transparent transition-colors duration-150 group-hover/resize:bg-border group-active/resize:bg-border"}),e[4]=c,e[5]=d):(c=e[4],d=e[5]);let f;return e[6]!==i||e[7]!==l||e[8]!==a||e[9]!==m?(f=s.jsx("div",{role:"separator","aria-orientation":"vertical","aria-label":a,title:m,onPointerDown:l,onDoubleClick:i,className:"group/resize absolute top-0 z-20 h-full w-2 -translate-x-1/2 cursor-col-resize",style:c,children:d}),e[6]=i,e[7]=l,e[8]=a,e[9]=m,e[10]=f):f=e[10],f}const ps=240,mi=400,fi="sidebar.width";function wt(t){return Math.max(ps,Math.min(mi,t))}function ui(){const t=M.c(11),[e,l]=Bt(fi,pi),i=L.useRef(null);let n;t[0]!==l||t[1]!==e?(n=d=>{d.preventDefault();const f=d.clientX,u=wt(e),p=i.current??(typeof document<"u"?document.querySelector('[data-slot="sidebar-wrapper"]'):null),h=p?Array.from(p.querySelectorAll('[data-slot="sidebar"], [data-slot="sidebar-container"]')):[];for(const x of h)x.style.transition="none";const b=x=>{const j=wt(u+(x.clientX-f));p?.style.setProperty("--sidebar-width",`${j}px`)},g=x=>{const j=wt(u+(x.clientX-f));l(j);for(const y of h)y.style.transition="";window.removeEventListener("pointermove",b),window.removeEventListener("pointerup",g),document.body.style.userSelect="",document.body.style.cursor=""};document.body.style.userSelect="none",document.body.style.cursor="col-resize",window.addEventListener("pointermove",b),window.addEventListener("pointerup",g)},t[0]=l,t[1]=e,t[2]=n):n=t[2];const r=n;let o;t[3]!==l?(o=()=>{l(ps)},t[3]=l,t[4]=o):o=t[4];const a=o;let m;t[5]!==e?(m=wt(e),t[5]=e,t[6]=m):m=t[6];let c;return t[7]!==r||t[8]!==a||t[9]!==m?(c={width:m,wrapperRef:i,onStartResize:r,resetWidth:a},t[7]=r,t[8]=a,t[9]=m,t[10]=c):c=t[10],c}function pi(t){return typeof t=="number"?wt(t):ps}function ll(){return[]}function nl(t){const e=M.c(3),{children:l}=t;let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i=s.jsx("div",{className:"flex h-6 items-center",children:s.jsx("div",{className:"h-0.5 w-16 rounded-full bg-sidebar-foreground/15"})}),e[0]=i):i=e[0];let n;return e[1]!==l?(n=s.jsxs(cs,{className:"pt-0 pr-0 pb-2 pl-0 mt-2",children:[i,s.jsx(ds,{children:s.jsx(ue,{className:"gap-0.5",children:l})})]}),e[1]=l,e[2]=n):n=e[2],n}function il(t){const e=M.c(18),{item:l}=t,{isMobile:i,setOpenMobile:n}=Ct();let r;e[0]!==i||e[1]!==l||e[2]!==n?(r=()=>{ce("nav_item_clicked",{nav_key:l.key,nav_label:l.label,is_active:!!l.isActive,is_mobile:i}),l.onClick?.(),i&&n(!1)},e[0]=i,e[1]=l,e[2]=n,e[3]=r):r=e[3];const o=r,a=l.key,m=l.isActive&&"z-10";let c;e[4]!==m?(c=G(m),e[4]=m,e[5]=c):c=e[5];let d;e[6]!==l.label?(d=s.jsx("span",{children:l.label}),e[6]=l.label,e[7]=d):d=e[7];let f;e[8]!==o||e[9]!==l.icon||e[10]!==l.isActive||e[11]!==l.label||e[12]!==d?(f=s.jsxs(de,{onClick:o,isActive:l.isActive,tooltip:l.label,children:[l.icon,d]}),e[8]=o,e[9]=l.icon,e[10]=l.isActive,e[11]=l.label,e[12]=d,e[13]=f):f=e[13];let u;return e[14]!==l.key||e[15]!==c||e[16]!==f?(u=s.jsx(ne,{className:c,children:f},a),e[14]=l.key,e[15]=c,e[16]=f,e[17]=u):u=e[17],u}function hi(t){const e=M.c(12),{section:l}=t;switch(l.type){case"divider":{let i;return e[0]===Symbol.for("react.memo_cache_sentinel")?(i=s.jsx(zs,{className:"my-2"}),e[0]=i):i=e[0],i}case"spacer":{let i;return e[1]===Symbol.for("react.memo_cache_sentinel")?(i=s.jsx("div",{className:"flex-1"}),e[1]=i):i=e[1],i}case"group":{const i=l.group.label,n=l.group.defaultExpanded;let r;e[2]!==l.group.items?(r=l.group.items.map(gi),e[2]=l.group.items,e[3]=r):r=e[3];let o;return e[4]!==l.group.defaultExpanded||e[5]!==l.group.label||e[6]!==r?(o=s.jsx(nl,{label:i,defaultExpanded:n,children:r}),e[4]=l.group.defaultExpanded,e[5]=l.group.label,e[6]=r,e[7]=o):o=e[7],o}case"items":{let i;e[8]!==l.items?(i=l.items.map(xi),e[8]=l.items,e[9]=i):i=e[9];let n;return e[10]!==i?(n=s.jsx(cs,{className:"pt-0 pr-0 pb-0 pl-0",children:s.jsx(ds,{children:s.jsx(ue,{className:"gap-1.5",children:i})})}),e[10]=i,e[11]=n):n=e[11],n}case"custom":return l.content}}function xi(t){return s.jsx(il,{item:t},t.key)}function gi(t){return s.jsx(il,{item:t},t.key)}function bi(t){const e=M.c(17),{sections:l,footer:i,additionalContent:n,header:r,variant:o,contentClassName:a}=t,m=o===void 0?"sidebar":o;let c;e[0]!==r?(c=r&&s.jsx(Al,{className:"shrink-0 h-12 flex flex-row items-center px-2 py-0 group-data-[collapsible=icon]/sidebar:hidden",children:r}),e[0]=r,e[1]=c):c=e[1];let d;e[2]!==a?(d=G("flex flex-col flex-1 px-2 pb-2 gap-0.5",a),e[2]=a,e[3]=d):d=e[3];let f;e[4]!==l?(f=l.map(ji),e[4]=l,e[5]=f):f=e[5];let u;e[6]!==n?(u=n&&s.jsx("div",{className:"flex flex-col flex-1 min-h-0 group-data-[state=collapsed]/sidebar:mt-1 group-data-[state=expanded]/sidebar:mt-2",children:n}),e[6]=n,e[7]=u):u=e[7];let p;e[8]!==d||e[9]!==f||e[10]!==u?(p=s.jsxs(Rs,{className:d,children:[f,u]}),e[8]=d,e[9]=f,e[10]=u,e[11]=p):p=e[11];let h;return e[12]!==i||e[13]!==c||e[14]!==p||e[15]!==m?(h=s.jsxs(Tl,{variant:m,children:[c,p,i]}),e[12]=i,e[13]=c,e[14]=p,e[15]=m,e[16]=h):h=e[16],h}function ji(t,e){return s.jsx(hi,{section:t},e)}function ol(t){const e=M.c(2);let l;return e[0]!==t?(l=s.jsx(bi,{...t}),e[0]=t,e[1]=l):l=e[1],l}ol.Skeleton=function(){return s.jsx("div",{className:"flex flex-col gap-0.5",children:Array.from({length:8}).map((e,l)=>s.jsx("div",{className:"w-full h-8",children:s.jsx(_e,{className:"h-full bg-sidebar-accent rounded-md"})},l))})};function js(t){const e=M.c(18),{item:l,onClose:i}=t,n=l.isActive&&"z-10";let r;e[0]!==n?(r=G(n),e[0]=n,e[1]=r):r=e[1];let o;e[2]!==l||e[3]!==i?(o=()=>{l.onClick?.(),i()},e[2]=l,e[3]=i,e[4]=o):o=e[4];let a;e[5]!==l.icon?(a=s.jsx("span",{className:"[&>svg]:size-5 shrink-0",children:l.icon}),e[5]=l.icon,e[6]=a):a=e[6];let m;e[7]!==l.label?(m=s.jsx("span",{children:l.label}),e[7]=l.label,e[8]=m):m=e[8];let c;e[9]!==l.isActive||e[10]!==l.label||e[11]!==o||e[12]!==a||e[13]!==m?(c=s.jsxs(de,{onClick:o,isActive:l.isActive,tooltip:l.label,className:"h-10! text-sm!",children:[a,m]}),e[9]=l.isActive,e[10]=l.label,e[11]=o,e[12]=a,e[13]=m,e[14]=c):c=e[14];let d;return e[15]!==r||e[16]!==c?(d=s.jsx(ne,{className:r,children:c}),e[15]=r,e[16]=c,e[17]=d):d=e[17],d}function vi(t){const e=M.c(18),{section:l,onClose:i}=t;switch(l.type){case"divider":{let n;return e[0]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsx(zs,{className:"my-2"}),e[0]=n):n=e[0],n}case"spacer":{let n;return e[1]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsx("div",{className:"flex-1"}),e[1]=n):n=e[1],n}case"group":{const n=l.group.label,r=l.group.defaultExpanded;let o;if(e[2]!==i||e[3]!==l.group.items){let m;e[5]!==i?(m=c=>s.jsx(js,{item:c,onClose:i},c.key),e[5]=i,e[6]=m):m=e[6],o=l.group.items.map(m),e[2]=i,e[3]=l.group.items,e[4]=o}else o=e[4];let a;return e[7]!==l.group.defaultExpanded||e[8]!==l.group.label||e[9]!==o?(a=s.jsx(nl,{label:n,defaultExpanded:r,children:o}),e[7]=l.group.defaultExpanded,e[8]=l.group.label,e[9]=o,e[10]=a):a=e[10],a}case"items":{let n;if(e[11]!==i||e[12]!==l.items){let o;e[14]!==i?(o=a=>s.jsx(js,{item:a,onClose:i},a.key),e[14]=i,e[15]=o):o=e[15],n=l.items.map(o),e[11]=i,e[12]=l.items,e[13]=n}else n=e[13];let r;return e[16]!==n?(r=s.jsx(cs,{className:"pt-0 pr-0 pb-0 pl-0",children:s.jsx(ds,{children:s.jsx(ue,{className:"gap-1.5",children:n})})}),e[16]=n,e[17]=r):r=e[17],r}case"custom":return l.content}}function yi(t){const e=M.c(27),{sections:l,onClose:i,footer:n,additionalContent:r}=t;let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(ns,{}),e[0]=o):o=e[0];let a;e[1]!==i?(a=s.jsx(fs,{onNavigate:i}),e[1]=i,e[2]=a):a=e[2];let m;e[3]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsx("div",{className:"flex-1"}),e[3]=m):m=e[3];const c=W();let d;e[4]!==c?(d=c("sidebar.navigationMobile.closeSidebar"),e[4]=c,e[5]=d):d=e[5];let f;e[6]===Symbol.for("react.memo_cache_sentinel")?(f=s.jsx(Us,{size:16}),e[6]=f):f=e[6];let u;e[7]!==i||e[8]!==d?(u=s.jsx(Ut,{onClick:i,"aria-label":d,children:f}),e[7]=i,e[8]=d,e[9]=u):u=e[9];let p;e[10]!==a||e[11]!==u?(p=s.jsxs("div",{className:"flex h-12 shrink-0 items-center gap-0.5 px-1.5",children:[o,a,m,u]}),e[10]=a,e[11]=u,e[12]=p):p=e[12];let h;if(e[13]!==i||e[14]!==l){let j;e[16]!==i?(j=(y,v)=>s.jsx(vi,{section:y,onClose:i},v),e[16]=i,e[17]=j):j=e[17],h=l.map(j),e[13]=i,e[14]=l,e[15]=h}else h=e[15];let b;e[18]!==r?(b=r&&s.jsx("div",{className:"mt-3 flex flex-col flex-1 min-h-0",children:r}),e[18]=r,e[19]=b):b=e[19];let g;e[20]!==b||e[21]!==h?(g=s.jsxs(Rs,{className:"flex flex-col flex-1 px-2 py-2 gap-0",children:[h,b]}),e[20]=b,e[21]=h,e[22]=g):g=e[22];let x;return e[23]!==n||e[24]!==g||e[25]!==p?(x=s.jsxs("div",{className:"bg-sidebar flex h-full w-full flex-col","data-sidebar":"sidebar",children:[p,g,n]}),e[23]=n,e[24]=g,e[25]=p,e[26]=x):x=e[26],x}function Nt(t){const e=M.c(26),{item:l,onClose:i}=t;let n;e[0]!==l.className?(n=G("flex items-center gap-2.5 px-3 py-2 rounded-md text-sm text-left w-full transition-colors text-foreground/80 hover:bg-sidebar-accent hover:text-foreground",l.className),e[0]=l.className,e[1]=n):n=e[1];const r=n;if(l.href){const d=l.external?"_blank":void 0,f=l.external?"noopener noreferrer":void 0;let u;e[2]!==l.icon?(u=s.jsx("span",{className:"shrink-0 text-muted-foreground",children:l.icon}),e[2]=l.icon,e[3]=u):u=e[3];let p;e[4]!==l.label?(p=s.jsx("span",{className:"flex-1",children:l.label}),e[4]=l.label,e[5]=p):p=e[5];let h;return e[6]!==r||e[7]!==l.href||e[8]!==i||e[9]!==d||e[10]!==f||e[11]!==u||e[12]!==p?(h=s.jsxs("a",{href:l.href,target:d,rel:f,className:r,onClick:i,children:[u,p]}),e[6]=r,e[7]=l.href,e[8]=i,e[9]=d,e[10]=f,e[11]=u,e[12]=p,e[13]=h):h=e[13],h}let o;e[14]!==l||e[15]!==i?(o=()=>{l.onClick?.(),i()},e[14]=l,e[15]=i,e[16]=o):o=e[16];let a;e[17]!==l.icon?(a=s.jsx("span",{className:"shrink-0 text-muted-foreground",children:l.icon}),e[17]=l.icon,e[18]=a):a=e[18];let m;e[19]!==l.label?(m=s.jsx("span",{className:"flex-1",children:l.label}),e[19]=l.label,e[20]=m):m=e[20];let c;return e[21]!==r||e[22]!==o||e[23]!==a||e[24]!==m?(c=s.jsxs("button",{type:"button",onClick:o,className:r,children:[a,m]}),e[21]=r,e[22]=o,e[23]=a,e[24]=m,e[25]=c):c=e[25],c}function _i(){const t=M.c(4),e=W();let l;t[0]!==e?(l=e("common.accountPopover.impersonating"),t[0]=e,t[1]=l):l=t[1];let i;return t[2]!==l?(i=s.jsx("span",{className:"shrink-0 inline-flex items-center rounded-full bg-warning/10 px-2 py-0.5 text-[10px] font-medium text-warning",children:l}),t[2]=l,t[3]=i):i=t[3],i}function vs(t){const e=M.c(38),{user:l,userImage:i,isImpersonating:n,isMobile:r}=t,o=W(),a=r?"py-4 border-b border-border":"py-3 mx-1 mt-1";let m;e[0]!==a?(m=G("flex items-center gap-3 px-4",a),e[0]=a,e[1]=m):m=e[1];const c=l?.name??"U";let d;e[2]!==c||e[3]!==i?(d=s.jsx(is,{url:i,fallback:c,shape:"circle",size:"sm",className:"shrink-0"}),e[2]=c,e[3]=i,e[4]=d):d=e[4];let f;e[5]!==o||e[6]!==l?.name?(f=l?.name??o("common.accountPopover.defaultUserName"),e[5]=o,e[6]=l?.name,e[7]=f):f=e[7];let u;e[8]!==f?(u=s.jsx("p",{className:"text-sm font-medium truncate",children:f}),e[8]=f,e[9]=u):u=e[9];let p;e[10]!==n?(p=n&&s.jsx(_i,{}),e[10]=n,e[11]=p):p=e[11];let h;e[12]!==u||e[13]!==p?(h=s.jsxs("div",{className:"flex items-center gap-2",children:[u,p]}),e[12]=u,e[13]=p,e[14]=h):h=e[14];const b=l?.email;let g;e[15]!==b?(g=s.jsx("p",{className:"text-xs text-muted-foreground truncate",children:b}),e[15]=b,e[16]=g):g=e[16];let x;e[17]!==g||e[18]!==h?(x=s.jsxs("div",{className:"flex-1 min-w-0",children:[h,g]}),e[17]=g,e[18]=h,e[19]=x):x=e[19];let j;e[20]!==o||e[21]!==l?(j=()=>{l?.id&&navigator.clipboard.writeText(l.id).then(()=>{Ht.success(o("common.accountPopover.userIdCopied"))})},e[20]=o,e[21]=l,e[22]=j):j=e[22];let y;e[23]===Symbol.for("react.memo_cache_sentinel")?(y=s.jsx(an,{size:14}),e[23]=y):y=e[23];let v;e[24]!==j?(v=s.jsx(Wt,{asChild:!0,children:s.jsx("button",{type:"button",tabIndex:-1,onClick:j,className:"shrink-0 text-muted-foreground hover:text-foreground transition-colors",children:y})}),e[24]=j,e[25]=v):v=e[25];let _;e[26]!==o?(_=o("common.accountPopover.copyUserId"),e[26]=o,e[27]=_):_=e[27];let k;e[28]!==_?(k=s.jsx(Kt,{side:"right",children:s.jsx("p",{className:"text-xs",children:_})}),e[28]=_,e[29]=k):k=e[29];let S;e[30]!==v||e[31]!==k?(S=s.jsx(qs,{delayDuration:300,children:s.jsxs(Vt,{children:[v,k]})}),e[30]=v,e[31]=k,e[32]=S):S=e[32];let C;return e[33]!==x||e[34]!==S||e[35]!==m||e[36]!==d?(C=s.jsxs("div",{className:m,children:[d,x,S]}),e[33]=x,e[34]=S,e[35]=m,e[36]=d,e[37]=C):C=e[37],C}function ys(t){const e=M.c(35),{themeOptions:l,preferences:i,setPreferences:n,isMobile:r}=t,o=W(),a=r?"size-8":"size-7",m=r?"px-3 py-3":"px-2 py-1.5";let c;e[0]!==m?(c=G("flex items-center justify-between border-t border-border/50",m),e[0]=m,e[1]=c):c=e[1];let d;if(e[2]!==a||e[3]!==i.theme||e[4]!==n||e[5]!==l){let _;e[7]!==a||e[8]!==i.theme||e[9]!==n?(_=k=>{const{value:S,icon:C,label:N}=k;return s.jsx("button",{type:"button","aria-label":N,onClick:()=>n(A=>({...A,theme:S})),className:G(a,"rounded-md flex items-center justify-center transition-colors",i.theme===S?"bg-sidebar-accent text-foreground":"text-muted-foreground hover:bg-sidebar-accent/50 hover:text-foreground"),children:C},S)},e[7]=a,e[8]=i.theme,e[9]=n,e[10]=_):_=e[10],d=l.map(_),e[2]=a,e[3]=i.theme,e[4]=n,e[5]=l,e[6]=d}else d=e[6];let f;e[11]!==d?(f=s.jsx("div",{className:"flex items-center gap-0.5",children:d}),e[11]=d,e[12]=f):f=e[12];let u;e[13]!==i.enableSounds||e[14]!==o?(u=i.enableSounds?o("common.accountPopover.disableSounds"):o("common.accountPopover.enableSounds"),e[13]=i.enableSounds,e[14]=o,e[15]=u):u=e[15];let p;e[16]!==n?(p=()=>n(Si),e[16]=n,e[17]=p):p=e[17];const h=i.enableSounds?"text-foreground hover:bg-sidebar-accent/50":"text-muted-foreground hover:bg-sidebar-accent/50 hover:text-foreground";let b;e[18]!==a||e[19]!==h?(b=G(a,"rounded-md flex items-center justify-center transition-colors",h),e[18]=a,e[19]=h,e[20]=b):b=e[20];let g;e[21]!==i.enableSounds?(g=i.enableSounds?s.jsx(un,{size:14}):s.jsx(pn,{size:14}),e[21]=i.enableSounds,e[22]=g):g=e[22];let x;e[23]!==u||e[24]!==p||e[25]!==b||e[26]!==g?(x=s.jsx("button",{type:"button","aria-label":u,onClick:p,className:b,children:g}),e[23]=u,e[24]=p,e[25]=b,e[26]=g,e[27]=x):x=e[27];let j;e[28]===Symbol.for("react.memo_cache_sentinel")?(j=s.jsxs("span",{className:"text-xs text-muted-foreground/60",children:["v","4.211.13"]}),e[28]=j):j=e[28];let y;e[29]!==x?(y=s.jsxs("div",{className:"flex items-center gap-2",children:[x,j]}),e[29]=x,e[30]=y):y=e[30];let v;return e[31]!==y||e[32]!==c||e[33]!==f?(v=s.jsxs("div",{className:c,children:[f,y]}),e[31]=y,e[32]=c,e[33]=f,e[34]=v):v=e[34],v}function Si(t){return{...t,enableSounds:!t.enableSounds}}function _s(t){const e=M.c(54),{user:l,userImage:i,menuItems:n,signOutItem:r,stopImpersonatingItem:o,isImpersonating:a,themeOptions:m,preferences:c,setPreferences:d,close:f,isMobile:u}=t;if(u){let v;e[0]!==a||e[1]!==l||e[2]!==i?(v=s.jsx(vs,{user:l,userImage:i,isImpersonating:a,isMobile:!0}),e[0]=a,e[1]=l,e[2]=i,e[3]=v):v=e[3];let _;if(e[4]!==f||e[5]!==n){let O;e[7]!==f?(O=P=>s.jsx(Nt,{item:P,onClose:f},P.key),e[7]=f,e[8]=O):O=e[8],_=n.map(O),e[4]=f,e[5]=n,e[6]=_}else _=e[6];let k;e[9]!==f||e[10]!==o?(k=o&&s.jsx(Nt,{item:o,onClose:f}),e[9]=f,e[10]=o,e[11]=k):k=e[11];let S;e[12]!==f||e[13]!==r?(S=s.jsx(Nt,{item:r,onClose:f}),e[12]=f,e[13]=r,e[14]=S):S=e[14];let C;e[15]!==_||e[16]!==k||e[17]!==S?(C=s.jsx("div",{className:"flex-1 min-h-0 overflow-y-auto",children:s.jsxs("nav",{className:"flex flex-col px-2 pt-2 pb-2 gap-0.5",children:[_,k,S]})}),e[15]=_,e[16]=k,e[17]=S,e[18]=C):C=e[18];let N;e[19]!==c||e[20]!==d||e[21]!==m?(N=s.jsx(ys,{themeOptions:m,preferences:c,setPreferences:d,isMobile:!0}),e[19]=c,e[20]=d,e[21]=m,e[22]=N):N=e[22];let A;return e[23]!==v||e[24]!==C||e[25]!==N?(A=s.jsxs("div",{className:"flex flex-col h-full overflow-hidden",children:[v,C,N]}),e[23]=v,e[24]=C,e[25]=N,e[26]=A):A=e[26],A}let p;e[27]!==a||e[28]!==l||e[29]!==i?(p=s.jsx(vs,{user:l,userImage:i,isImpersonating:a,isMobile:!1}),e[27]=a,e[28]=l,e[29]=i,e[30]=p):p=e[30];let h;if(e[31]!==f||e[32]!==n){let v;e[34]!==f?(v=_=>s.jsx(Nt,{item:_,onClose:f},_.key),e[34]=f,e[35]=v):v=e[35],h=n.map(v),e[31]=f,e[32]=n,e[33]=h}else h=e[33];let b;e[36]!==f||e[37]!==o?(b=o&&s.jsx(Nt,{item:o,onClose:f}),e[36]=f,e[37]=o,e[38]=b):b=e[38];let g;e[39]!==f||e[40]!==r?(g=s.jsx(Nt,{item:r,onClose:f}),e[39]=f,e[40]=r,e[41]=g):g=e[41];let x;e[42]!==h||e[43]!==b||e[44]!==g?(x=s.jsxs("nav",{className:"flex-1 flex flex-col px-2 pt-1 overflow-y-auto",children:[h,b,g]}),e[42]=h,e[43]=b,e[44]=g,e[45]=x):x=e[45];let j;e[46]!==c||e[47]!==d||e[48]!==m?(j=s.jsx(ys,{themeOptions:m,preferences:c,setPreferences:d,isMobile:!1}),e[46]=c,e[47]=d,e[48]=m,e[49]=j):j=e[49];let y;return e[50]!==p||e[51]!==x||e[52]!==j?(y=s.jsx("div",{className:"flex w-full flex-col overflow-hidden",children:s.jsxs("div",{className:"flex flex-col",children:[p,x,j]})}),e[50]=p,e[51]=x,e[52]=j,e[53]=y):y=e[53],y}function os(){const t=M.c(107),e=W(),{data:l}=Ft.useSession(),{org:i}=pe(),n=Me();let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r={from:"/shell/$org",shouldThrow:!1},t[0]=r):r=t[0];const a=bl(r)?.params.org,[m,c]=jl(),d=Fs(),{isAdmin:f}=Cn(),u=kn(),[p,h]=L.useState(!1),[b,g]=L.useState(!1),x=l?.user,j=x?.image,y=!!l?.session?.impersonatedBy;let v;t[1]===Symbol.for("react.memo_cache_sentinel")?(v=()=>h(!1),t[1]=v):v=t[1];const _=v;let k;t[2]!==e?(k=e("common.accountPopover.preferences"),t[2]=e,t[3]=k):k=t[3];let S;t[4]===Symbol.for("react.memo_cache_sentinel")?(S=s.jsx(qt,{size:16}),t[4]=S):S=t[4];let C;t[5]!==n||t[6]!==a?(C=()=>{n({to:"/$org/settings/profile",params:{org:a??""}})},t[5]=n,t[6]=a,t[7]=C):C=t[7];let N;t[8]!==k||t[9]!==C?(N={key:"preferences",label:k,icon:S,onClick:C},t[8]=k,t[9]=C,t[10]=N):N=t[10];let A;t[11]!==i||t[12]!==n?(A=i?[{key:"connect-clients",label:"Connect to Agents",icon:s.jsx(jn,{size:16}),onClick:()=>{n({to:"/$org/settings/connect",params:{org:i.slug}})}}]:[],t[11]=i,t[12]=n,t[13]=A):A=t[13];let O;t[14]!==u||t[15]!==e?(O=Ul()&&!u?[{key:"install-on-mac",label:e("downloadApp.installOnMac"),icon:s.jsx(cn,{size:16}),onClick:()=>g(!0)}]:[],t[14]=u,t[15]=e,t[16]=O):O=t[16];let P;t[17]!==e?(P=e("common.accountPopover.termsOfUse"),t[17]=e,t[18]=P):P=t[18];let $;t[19]===Symbol.for("react.memo_cache_sentinel")?($=s.jsx(fn,{size:16}),t[19]=$):$=t[19];let E;t[20]!==P?(E={key:"terms",label:P,icon:$,href:"https://www.decocms.com/terms-of-use",external:!0},t[20]=P,t[21]=E):E=t[21];let T;t[22]!==e?(T=e("common.accountPopover.privacyPolicy"),t[22]=e,t[23]=T):T=t[23];let z;t[24]===Symbol.for("react.memo_cache_sentinel")?(z=s.jsx(Sn,{size:16}),t[24]=z):z=t[24];let D;t[25]!==T?(D={key:"privacy",label:T,icon:z,href:"https://www.decocms.com/privacy-policy",external:!0},t[25]=T,t[26]=D):D=t[26];let I;t[27]!==e?(I=e("common.accountPopover.githubRepo"),t[27]=e,t[28]=I):I=t[28];let B;t[29]===Symbol.for("react.memo_cache_sentinel")?(B=s.jsx(vl,{className:"w-4 h-4"}),t[29]=B):B=t[29];let Y;t[30]!==I?(Y={key:"github",label:I,icon:B,href:"https://github.com/decocms/studio",external:!0},t[30]=I,t[31]=Y):Y=t[31];let F;t[32]!==e?(F=e("common.accountPopover.community"),t[32]=e,t[33]=F):F=t[33];let H;t[34]===Symbol.for("react.memo_cache_sentinel")?(H=s.jsx(Nn,{size:16}),t[34]=H):H=t[34];let V;t[35]!==F?(V={key:"community",label:F,icon:H,href:"https://decocms.com/discord",external:!0},t[35]=F,t[36]=V):V=t[36];let Q;t[37]!==e?(Q=e("common.accountPopover.homepage"),t[37]=e,t[38]=Q):Q=t[38];let se;t[39]===Symbol.for("react.memo_cache_sentinel")?(se=s.jsx(dn,{size:16}),t[39]=se):se=t[39];let J;t[40]!==Q?(J={key:"homepage",label:Q,icon:se,href:"https://decocms.com",external:!0},t[40]=Q,t[41]=J):J=t[41];let me;t[42]!==f||t[43]!==n||t[44]!==e?(me=f?[{key:"admin-dashboard",label:e("common.accountPopover.adminDashboard"),icon:s.jsx(mn,{size:16}),onClick:()=>n({to:"/_admin"}),className:"text-warning"}]:[],t[42]=f,t[43]=n,t[44]=e,t[45]=me):me=t[45];let he;t[46]!==E||t[47]!==D||t[48]!==Y||t[49]!==V||t[50]!==J||t[51]!==me||t[52]!==N||t[53]!==A||t[54]!==O?(he=[N,...A,...O,E,D,Y,V,J,...me],t[46]=E,t[47]=D,t[48]=Y,t[49]=V,t[50]=J,t[51]=me,t[52]=N,t[53]=A,t[54]=O,t[55]=he):he=t[55];const fe=he;let xe;t[56]!==e?(xe=e("common.accountPopover.signOut"),t[56]=e,t[57]=xe):xe=t[57];let ge;t[58]===Symbol.for("react.memo_cache_sentinel")?(ge=s.jsx(bs,{size:16}),t[58]=ge):ge=t[58];let Ae;t[59]!==xe?(Ae={key:"logout",label:xe,icon:ge,onClick:Ci},t[59]=xe,t[60]=Ae):Ae=t[60];const Se=Ae;let ke;t[61]!==y||t[62]!==e?(ke=y?{key:"stop-impersonating",label:e("common.accountPopover.stopImpersonation"),icon:s.jsx(bs,{size:16}),onClick:async()=>{const{error:Ie}=await Ft.admin.stopImpersonating();if(Ie){Ht.error(Ie.message||e("common.accountPopover.failedToStopImpersonation"));return}window.location.href="/"},className:"text-warning"}:null,t[61]=y,t[62]=e,t[63]=ke):ke=t[63];const kt=ke;let Te;t[64]===Symbol.for("react.memo_cache_sentinel")?(Te=s.jsx(yn,{size:14}),t[64]=Te):Te=t[64];let Ne;t[65]!==e?(Ne=e("common.accountPopover.lightTheme"),t[65]=e,t[66]=Ne):Ne=t[66];let q;t[67]!==Ne?(q={value:"light",icon:Te,label:Ne},t[67]=Ne,t[68]=q):q=t[68];let be;t[69]===Symbol.for("react.memo_cache_sentinel")?(be=s.jsx(_n,{size:14}),t[69]=be):be=t[69];let Z;t[70]!==e?(Z=e("common.accountPopover.darkTheme"),t[70]=e,t[71]=Z):Z=t[71];let ie;t[72]!==Z?(ie={value:"dark",icon:be,label:Z},t[72]=Z,t[73]=ie):ie=t[73];let Ce;t[74]===Symbol.for("react.memo_cache_sentinel")?(Ce=s.jsx(vn,{size:14}),t[74]=Ce):Ce=t[74];let oe;t[75]!==e?(oe=e("common.accountPopover.systemTheme"),t[75]=e,t[76]=oe):oe=t[76];let ee;t[77]!==oe?(ee={value:"system",icon:Ce,label:oe},t[77]=oe,t[78]=ee):ee=t[78];let je;t[79]!==q||t[80]!==ie||t[81]!==ee?(je=[q,ie,ee],t[79]=q,t[80]=ie,t[81]=ee,t[82]=je):je=t[82];const we=je;let ve;t[83]!==y||t[84]!==d||t[85]!==fe||t[86]!==m||t[87]!==c||t[88]!==Se||t[89]!==kt||t[90]!==we||t[91]!==x||t[92]!==j?(ve={user:x,userImage:j,menuItems:fe,signOutItem:Se,stopImpersonatingItem:kt,isImpersonating:y,themeOptions:we,preferences:m,setPreferences:c,close:_,isMobile:d},t[83]=y,t[84]=d,t[85]=fe,t[86]=m,t[87]=c,t[88]=Se,t[89]=kt,t[90]=we,t[91]=x,t[92]=j,t[93]=ve):ve=t[93];const X=ve;let re;t[94]!==y||t[95]!==d||t[96]!==p||t[97]!==X||t[98]!==e||t[99]!==x?.name||t[100]!==j?(re=d?s.jsxs(nn,{open:p,onOpenChange:h,direction:"bottom",children:[s.jsxs("button",{type:"button",onClick:()=>h(!0),className:G("flex items-center gap-3 w-full px-3 py-2.5 rounded-lg transition-colors text-sm text-sidebar-foreground/70 hover:bg-sidebar-accent hover:text-sidebar-foreground",y&&"border-2 border-dashed border-warning"),children:[s.jsx(is,{url:j,fallback:x?.name??"U",shape:"circle",size:"2xs",className:"shrink-0"}),s.jsx("span",{className:"truncate",children:x?.name??e("common.accountPopover.defaultAccountLabel")})]}),s.jsxs(on,{className:"h-[80dvh] p-0",children:[s.jsx(rn,{className:"sr-only",children:e("common.accountPopover.account")}),s.jsx(_s,{...X})]})]}):s.jsxs(Ws,{open:p,onOpenChange:h,children:[s.jsx(Ks,{asChild:!0,children:s.jsxs(de,{tooltip:x?.name??e("common.accountPopover.defaultAccountLabel"),className:G("rounded-md",y&&"border-2 border-dashed border-warning"),children:[s.jsx(is,{url:j,fallback:x?.name??"U",shape:"circle",size:"xs",className:"shrink-0"}),s.jsx("span",{className:"truncate",children:x?.name??e("common.accountPopover.defaultAccountLabel")})]})}),s.jsx(Vs,{side:"right",align:"end",sideOffset:18,collisionPadding:16,className:"w-[280px] p-0 flex flex-col max-h-[520px]",onCloseAutoFocus:Ni,children:s.jsx(_s,{...X})})]}),t[94]=y,t[95]=d,t[96]=p,t[97]=X,t[98]=e,t[99]=x?.name,t[100]=j,t[101]=re):re=t[101];let te;t[102]!==b?(te=s.jsx(Wl,{open:b,onOpenChange:g}),t[102]=b,t[103]=te):te=t[103];let ye;return t[104]!==re||t[105]!==te?(ye=s.jsxs(s.Fragment,{children:[re,te]}),t[104]=re,t[105]=te,t[106]=ye):ye=t[106],ye}function Ni(t){return t.preventDefault()}function Ci(){ce("signed_out",{source:"account_popover"}),yl(),Ft.signOut()}class ki extends L.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,l){}render(){return this.state.hasError?null:this.props.children}}function wi(t){return t<=1?"text-destructive":t<=5?"text-warning":"text-foreground/70"}function Mi(){const t=M.c(17),e=Me(),{org:l}=pe(),{hasDecoKey:i,balanceDollars:n}=en();if(!i)return null;let r;t[0]!==n?(r=n!=null?`Credits: $${n.toFixed(2)}`:"Credits",t[0]=n,t[1]=r):r=t[1];let o;t[2]!==n?(o=G(n!=null&&wi(n)),t[2]=n,t[3]=o):o=t[3];let a;t[4]!==e||t[5]!==l.slug?(a=()=>e({to:"/$org/settings/ai-providers",params:{org:l.slug}}),t[4]=e,t[5]=l.slug,t[6]=a):a=t[6];let m;t[7]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsx(hn,{}),t[7]=m):m=t[7];let c;t[8]!==n?(c=n!=null?`$${n.toFixed(2)}`:"Credits",t[8]=n,t[9]=c):c=t[9];let d;t[10]!==c?(d=s.jsx("span",{children:c}),t[10]=c,t[11]=d):d=t[11];let f;return t[12]!==r||t[13]!==o||t[14]!==a||t[15]!==d?(f=s.jsx(ue,{children:s.jsx(ne,{children:s.jsxs(de,{tooltip:r,className:o,onClick:a,children:[m,d]})})}),t[12]=r,t[13]=o,t[14]=a,t[15]=d,t[16]=f):f=t[16],f}function Ss(){const t=M.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=s.jsx(ki,{children:s.jsx(L.Suspense,{fallback:null,children:s.jsx(Mi,{})})}),t[0]=e):e=t[0],e}function Ai(){const t=M.c(14),e=W(),l=Me(),{org:i}=pe();let n;t[0]!==e?(n=e("sidebar.sidebarFooter.settings"),t[0]=e,t[1]=n):n=t[1];let r;t[2]!==l||t[3]!==i.slug?(r=()=>l({to:"/$org/settings",params:{org:i.slug}}),t[2]=l,t[3]=i.slug,t[4]=r):r=t[4];let o;t[5]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(qt,{}),t[5]=o):o=t[5];let a;t[6]!==e?(a=e("sidebar.sidebarFooter.settings"),t[6]=e,t[7]=a):a=t[7];let m;t[8]!==a?(m=s.jsx("span",{children:a}),t[8]=a,t[9]=m):m=t[9];let c;return t[10]!==n||t[11]!==r||t[12]!==m?(c=s.jsxs(de,{tooltip:n,onClick:r,children:[o,m]}),t[10]=n,t[11]=r,t[12]=m,t[13]=c):c=t[13],c}function Ti(){const t=M.c(9),e=W(),l=Me(),{org:i}=pe();let n;t[0]!==e?(n=e("sidebar.sidebarFooter.settings"),t[0]=e,t[1]=n):n=t[1];let r;t[2]!==l||t[3]!==i.slug?(r=()=>l({to:"/$org/settings",params:{org:i.slug}}),t[2]=l,t[3]=i.slug,t[4]=r):r=t[4];let o;t[5]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(qt,{size:15}),t[5]=o):o=t[5];let a;return t[6]!==n||t[7]!==r?(a=s.jsx("button",{type:"button","aria-label":n,onClick:r,className:"shrink-0 flex items-center justify-center size-7 rounded-md text-sidebar-foreground/60 hover:bg-sidebar-accent hover:text-sidebar-foreground transition-colors",children:o}),t[6]=n,t[7]=r,t[8]=a):a=t[8],a}function Ns(){const t=M.c(29),e=W(),[l,i]=L.useState(!1);let n;t[0]!==e?(n=e("sidebar.sidebarFooter.inviteMembers"),t[0]=e,t[1]=n):n=t[1];let r;t[2]===Symbol.for("react.memo_cache_sentinel")?(r=s.jsx(Ys,{}),t[2]=r):r=t[2];let o;t[3]!==e?(o=e("sidebar.sidebarFooter.inviteMembers"),t[3]=e,t[4]=o):o=t[4];let a;t[5]!==o?(a=s.jsx("span",{children:o}),t[5]=o,t[6]=a):a=t[6];let m;t[7]!==n||t[8]!==a?(m=s.jsx(ne,{children:s.jsx(Xs,{trigger:s.jsxs(de,{tooltip:n,children:[r,a]})})}),t[7]=n,t[8]=a,t[9]=m):m=t[9];let c;t[10]!==e?(c=e("sidebar.sidebarFooter.addConnection"),t[10]=e,t[11]=c):c=t[11];let d,f;t[12]===Symbol.for("react.memo_cache_sentinel")?(d=()=>i(!0),f=s.jsx(wn,{}),t[12]=d,t[13]=f):(d=t[12],f=t[13]);let u;t[14]!==e?(u=e("sidebar.sidebarFooter.addConnection"),t[14]=e,t[15]=u):u=t[15];let p;t[16]!==u?(p=s.jsx("span",{children:u}),t[16]=u,t[17]=p):p=t[17];let h;t[18]!==c||t[19]!==p?(h=s.jsx(ne,{children:s.jsxs(de,{tooltip:c,onClick:d,children:[f,p]})}),t[18]=c,t[19]=p,t[20]=h):h=t[20];let b;t[21]!==h||t[22]!==m?(b=s.jsxs(ue,{className:"gap-0.5",children:[m,h]}),t[21]=h,t[22]=m,t[23]=b):b=t[23];let g;t[24]!==l?(g=s.jsx(tn,{open:l,onOpenChange:i,mode:"browse"}),t[24]=l,t[25]=g):g=t[25];let x;return t[26]!==b||t[27]!==g?(x=s.jsxs(s.Fragment,{children:[b,g]}),t[26]=b,t[27]=g,t[28]=x):x=t[28],x}function Cs(){const t=M.c(10),e=W();let l;t[0]!==e?(l=e("sidebar.sidebarFooter.inviteMembers"),t[0]=e,t[1]=l):l=t[1];let i;t[2]===Symbol.for("react.memo_cache_sentinel")?(i=s.jsx(Ys,{}),t[2]=i):i=t[2];let n;t[3]!==e?(n=e("sidebar.sidebarFooter.inviteMembers"),t[3]=e,t[4]=n):n=t[4];let r;t[5]!==n?(r=s.jsx("span",{children:n}),t[5]=n,t[6]=r):r=t[6];let o;return t[7]!==l||t[8]!==r?(o=s.jsx(ue,{className:"gap-0.5",children:s.jsx(ne,{children:s.jsx(Xs,{trigger:s.jsxs(de,{tooltip:l,children:[i,r]})})})}),t[7]=l,t[8]=r,t[9]=o):o=t[9],o}function Ii(){const t=M.c(17),{state:e}=Ct(),l=e==="collapsed",i=ms(),n=!i;if(l){let c;t[0]!==n?(c=n&&s.jsx(Ss,{}),t[0]=n,t[1]=c):c=t[1];let d;t[2]!==i?(d=i?s.jsx(Cs,{}):s.jsx(Ns,{}),t[2]=i,t[3]=d):d=t[3];let f;t[4]===Symbol.for("react.memo_cache_sentinel")?(f=s.jsx(ne,{children:s.jsx(Ai,{})}),t[4]=f):f=t[4];let u;t[5]===Symbol.for("react.memo_cache_sentinel")?(u=s.jsxs(ue,{children:[f,s.jsx(ne,{children:s.jsx(os,{})})]}),t[5]=u):u=t[5];let p;return t[6]!==c||t[7]!==d?(p=s.jsxs(ls,{className:"px-2 pb-3 gap-1",children:[c,d,u]}),t[6]=c,t[7]=d,t[8]=p):p=t[8],p}let r;t[9]!==n?(r=n&&s.jsx(Ss,{}),t[9]=n,t[10]=r):r=t[10];let o;t[11]!==i?(o=i?s.jsx(Cs,{}):s.jsx(Ns,{}),t[11]=i,t[12]=o):o=t[12];let a;t[13]===Symbol.for("react.memo_cache_sentinel")?(a=s.jsx(ue,{className:"gap-0.5",children:s.jsx(ne,{children:s.jsxs("div",{className:"flex items-center gap-1",children:[s.jsx("div",{className:"flex-1 min-w-0",children:s.jsx(os,{})}),s.jsx(Ti,{})]})})}),t[13]=a):a=t[13];let m;return t[14]!==r||t[15]!==o?(m=s.jsxs(ls,{className:"px-2 pb-3 gap-0.5",children:[r,o,a]}),t[14]=r,t[15]=o,t[16]=m):m=t[16],m}function Pi(){const t=M.c(11),e=W(),l=Me(),{org:i}=pe(),{setOpenMobile:n}=Ct();let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=s.jsx("div",{className:"flex-1 min-w-0",children:s.jsx(ue,{children:s.jsx(ne,{children:s.jsx(os,{})})})}),t[0]=r):r=t[0];let o;t[1]!==e?(o=e("sidebar.sidebarFooterMobile.settings"),t[1]=e,t[2]=o):o=t[2];let a;t[3]!==l||t[4]!==i.slug||t[5]!==n?(a=()=>{l({to:"/$org/settings",params:{org:i.slug}}),n(!1)},t[3]=l,t[4]=i.slug,t[5]=n,t[6]=a):a=t[6];let m;t[7]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsx(qt,{className:"size-4"}),t[7]=m):m=t[7];let c;return t[8]!==o||t[9]!==a?(c=s.jsx(ls,{className:"px-2 pb-3",children:s.jsxs("div",{className:"flex items-center gap-1",children:[r,s.jsx(Ut,{"aria-label":o,onClick:a,children:m})]})}),t[8]=o,t[9]=a,t[10]=c):c=t[10],c}function ks(t){const e=M.c(15),{className:l,wrapperClassName:i,children:n}=t,[r,o]=L.useState(!1);let a;e[0]===Symbol.for("react.memo_cache_sentinel")?(a=x=>{x&&o(x.scrollHeight>x.clientHeight+1)},e[0]=a):a=e[0];const m=a;let c;e[1]===Symbol.for("react.memo_cache_sentinel")?(c=x=>{const j=x.currentTarget;o(j.scrollHeight-j.scrollTop>j.clientHeight+1)},e[1]=c):c=e[1];const d=c;let f;e[2]!==i?(f=G("relative",i),e[2]=i,e[3]=f):f=e[3];let u;e[4]!==n||e[5]!==l?(u=s.jsx("div",{ref:m,onScroll:d,className:l,children:n}),e[4]=n,e[5]=l,e[6]=u):u=e[6];const p=r?"opacity-100":"opacity-0";let h;e[7]!==p?(h=G("pointer-events-none absolute right-0 bottom-0 left-0 h-10 bg-gradient-to-t from-sidebar to-transparent transition-opacity duration-150",p),e[7]=p,e[8]=h):h=e[8];let b;e[9]!==h?(b=s.jsx("div",{"aria-hidden":!0,className:h}),e[9]=h,e[10]=b):b=e[10];let g;return e[11]!==f||e[12]!==u||e[13]!==b?(g=s.jsxs("div",{className:f,children:[u,b]}),e[11]=f,e[12]=u,e[13]=b,e[14]=g):g=e[14],g}function Oi(t){const e=M.c(9),{virtualMcpId:l,size:i,showAutomationBadge:n}=t,r=i===void 0?"sm":i,o=W();let a;e[0]!==r||e[1]!==l?(a=l?s.jsx($i,{virtualMcpId:l,size:r}):s.jsx(Lt,{icon:null,name:"?",size:r}),e[0]=r,e[1]=l,e[2]=a):a=e[2];let m;e[3]!==n||e[4]!==o?(m=n&&s.jsx("span",{"aria-label":o("tasksPanel.mcpAvatar.automationTriggered"),className:"absolute -bottom-0.5 -right-0.5 flex size-4 items-center justify-center rounded-full bg-blue-500 border border-blue-600 text-white",children:s.jsx(el,{size:10,className:"text-white"})}),e[3]=n,e[4]=o,e[5]=m):m=e[5];let c;return e[6]!==a||e[7]!==m?(c=s.jsxs("div",{className:"relative shrink-0",children:[a,m]}),e[6]=a,e[7]=m,e[8]=c):c=e[8],c}function $i(t){const e=M.c(6),{virtualMcpId:l,size:i}=t,n=Zs(l);if(!n){let a;return e[0]!==i?(a=s.jsx(Lt,{icon:null,name:"?",size:i}),e[0]=i,e[1]=a):a=e[1],a}const r=n.icon??null;let o;return e[2]!==n.title||e[3]!==i||e[4]!==r?(o=s.jsx(Lt,{icon:r,name:n.title,size:i}),e[2]=n.title,e[3]=i,e[4]=r,e[5]=o):o=e[5],o}function es(t){const e=M.c(51),{open:l,onOpenChange:i}=t,[n,r]=L.useState(""),{org:o}=pe(),{setTaskId:a}=Js(),m=us(),c=W();let d,f,u;e[0]!==o.id||e[1]!==n?(u=n.trim(),f=_l,d=Ds.globalSearch(o.id,u),e[0]=o.id,e[1]=n,e[2]=d,e[3]=f,e[4]=u):(d=e[2],f=e[3],u=e[4]);let p;e[5]!==m||e[6]!==u?(p=async()=>await m.call("GLOBAL_SEARCH",{query:u,limit:u?20:10}),e[5]=m,e[6]=u,e[7]=p):p=e[7];let h;e[8]!==l||e[9]!==d||e[10]!==p?(h={queryKey:d,enabled:l,queryFn:p,staleTime:1e4},e[8]=l,e[9]=d,e[10]=p,e[11]=h):h=e[11];const{data:b,isFetching:g}=f(h);let x;e[12]!==b?.items?(x=b?.items??[],e[12]=b?.items,e[13]=x):x=e[13];const j=x;let y;e[14]!==i?(y=I=>{I||r(""),i(I)},e[14]=i,e[15]=y):y=e[15];const v=y;let _;e[16]!==v||e[17]!==a?(_=I=>{v(!1),a(I.id,I.virtual_mcp_id??void 0)},e[16]=v,e[17]=a,e[18]=_):_=e[18];const k=_;let S;e[19]!==c?(S=c("tasksPanel.globalSearchDialog.title"),e[19]=c,e[20]=S):S=e[20];let C;e[21]!==S?(C=s.jsx(Ls,{children:S}),e[21]=S,e[22]=C):C=e[22];let N;e[23]!==c?(N=c("tasksPanel.globalSearchDialog.description"),e[23]=c,e[24]=N):N=e[24];let A;e[25]!==N?(A=s.jsx(Ll,{children:N}),e[25]=N,e[26]=A):A=e[26];let O;e[27]!==A||e[28]!==C?(O=s.jsxs(Gl,{className:"sr-only",children:[C,A]}),e[27]=A,e[28]=C,e[29]=O):O=e[29];let P;e[30]!==c?(P=c("tasksPanel.globalSearchDialog.placeholder"),e[30]=c,e[31]=P):P=e[31];let $;e[32]!==n||e[33]!==P?($=s.jsx(Fn,{value:n,onValueChange:r,placeholder:P}),e[32]=n,e[33]=P,e[34]=$):$=e[34];let E;e[35]!==k||e[36]!==g||e[37]!==j||e[38]!==c||e[39]!==u?(E=s.jsx(Dn,{children:g&&j.length===0?s.jsx("div",{className:"py-6 text-center text-sm text-muted-foreground",children:c("tasksPanel.globalSearchDialog.searching")}):j.length===0?s.jsx(En,{children:c("tasksPanel.globalSearchDialog.noResults")}):s.jsx(zn,{heading:u?void 0:c("tasksPanel.globalSearchDialog.recent"),children:j.map(I=>I.type==="thread"?s.jsxs(Rn,{value:`thread:${I.id}:${I.title}`,onSelect:()=>k(I),className:"gap-2.5",children:[s.jsx(Oi,{virtualMcpId:I.virtual_mcp_id,size:"xs"}),s.jsx("div",{className:"flex-1 min-w-0",children:s.jsx("div",{className:"text-sm text-foreground truncate",children:I.title||c("tasksPanel.globalSearchDialog.untitledChat")})}),s.jsx("span",{className:"text-xs text-muted-foreground shrink-0",children:new Date(I.updated_at).toLocaleDateString("en-US",{month:"short",day:"numeric"})})]},`thread:${I.id}`):null)})}),e[35]=k,e[36]=g,e[37]=j,e[38]=c,e[39]=u,e[40]=E):E=e[40];let T;e[41]!==$||e[42]!==E?(T=s.jsxs(Ln,{shouldFilter:!1,className:"[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:[$,E]}),e[41]=$,e[42]=E,e[43]=T):T=e[43];let z;e[44]!==O||e[45]!==T?(z=s.jsxs(Bl,{className:"overflow-hidden p-0",closeButtonClassName:"hidden",children:[O,T]}),e[44]=O,e[45]=T,e[46]=z):z=e[46];let D;return e[47]!==v||e[48]!==l||e[49]!==z?(D=s.jsx(Gs,{open:l,onOpenChange:v,children:z}),e[47]=v,e[48]=l,e[49]=z,e[50]=D):D=e[50],D}function Di(t){return t==="ephemeral"||t.startsWith("thread:")}function rl(t){const e=M.c(45),{task:l,isActive:i,onClick:n,onArchive:r,showAutomationBadge:o,showAgentIcon:a,hideStatusIdle:m,indented:c}=t,d=W(),f=Hn(l.status),u=f.icon,p=l.metadata?.kind==="tool_call_run",h=Zs(p?void 0:l.virtual_mcp_id);let b;e[0]!==h?(b=Vn(h),e[0]=h,e[1]=b):b=e[1];const g=b;Un(6e4);const x=o||!!l.trigger_id,j=l.id,y="button",v=0;let _;e[2]!==n?(_=F=>{F.target===F.currentTarget&&(F.key==="Enter"||F.key===" ")&&(F.preventDefault(),n())},e[2]=n,e[3]=_):_=e[3];const k=c?"-ml-4 pl-6":"pl-[7px]",S=i?"bg-accent text-accent-foreground":"hover:bg-accent/60";let C;e[4]!==k||e[5]!==S?(C=G("group/row flex items-center gap-2 py-1.5 rounded-md cursor-pointer transition-colors",k,"focus-visible:outline-none focus-visible:inset-ring-2 focus-visible:inset-ring-ring/50",S),e[4]=k,e[5]=S,e[6]=C):C=e[6];let N;e[7]!==p||e[8]!==a||e[9]!==h?.icon||e[10]!==h?.title?(N=a&&!p&&s.jsx(Lt,{icon:h?.icon??null,name:h?.title??"?",size:"2xs"}),e[7]=p,e[8]=a,e[9]=h?.icon,e[10]=h?.title,e[11]=N):N=e[11];let A;e[12]!==x||e[13]!==d?(A=x&&s.jsx(el,{size:12,"aria-label":d("tasksPanel.taskRow.automationTriggered"),className:"shrink-0 text-blue-500"}),e[12]=x,e[13]=d,e[14]=A):A=e[14];let O;e[15]!==d||e[16]!==l.title?(O=l.title||d("tasksPanel.taskRow.untitledTask"),e[15]=d,e[16]=l.title,e[17]=O):O=e[17];let P;e[18]!==O?(P=s.jsx("div",{className:"text-sm text-foreground truncate",children:O}),e[18]=O,e[19]=P):P=e[19];let $;e[20]!==A||e[21]!==P?($=s.jsxs("div",{className:"flex items-center gap-1.5 min-w-0",children:[A,P]}),e[20]=A,e[21]=P,e[22]=$):$=e[22];let E;e[23]!==g||e[24]!==i||e[25]!==l.branch||e[26]!==l.updated_at?(E=l.updated_at&&s.jsxs("div",{className:G("flex items-center gap-1 text-[11px] min-w-0",i?"text-accent-foreground/70":"text-muted-foreground/60"),children:[l.branch&&!Di(l.branch)?s.jsxs(s.Fragment,{children:[s.jsx("span",{className:"truncate font-mono",children:l.branch}),s.jsx("span",{className:"shrink-0",children:"·"})]}):g?s.jsxs(s.Fragment,{children:[s.jsxs("span",{className:"truncate",children:[g.owner,"/",g.name]}),s.jsx("span",{className:"shrink-0",children:"·"})]}):null,s.jsx("span",{className:"shrink-0",children:Kn(new Date(l.updated_at))})]}),e[23]=g,e[24]=i,e[25]=l.branch,e[26]=l.updated_at,e[27]=E):E=e[27];let T;e[28]!==$||e[29]!==E?(T=s.jsxs("div",{className:"flex-1 min-w-0",children:[$,E]}),e[28]=$,e[29]=E,e[30]=T):T=e[30];const z="shrink-0 grid [grid-template-areas:'slot'] items-center justify-items-center",D=!m&&s.jsx("span",{className:G("[grid-area:slot] flex size-8 items-center justify-center pointer-events-none transition-opacity",r&&"group-hover/row:opacity-0"),"aria-label":d("tasksPanel.taskRow.statusLabel",{status:f.label}),children:s.jsx(u,{size:14,className:G(f.iconClassName,l.status==="in_progress"&&"animate-spin")})});let I;e[31]!==r||e[32]!==d?(I=r&&s.jsxs(Vt,{children:[s.jsx(Wt,{asChild:!0,children:s.jsx("button",{type:"button","aria-label":d("tasksPanel.taskRow.archiveTask"),onClick:F=>{F.stopPropagation(),r()},className:"[grid-area:slot] opacity-0 pointer-events-none group-hover/row:opacity-100 group-hover/row:pointer-events-auto focus-visible:opacity-100 focus-visible:pointer-events-auto transition-opacity flex size-8 items-center justify-center rounded-md text-muted-foreground hover:text-foreground hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50",children:s.jsx(Sl,{size:14})})}),s.jsx(Kt,{side:"right",children:d("tasksPanel.taskRow.archive")})]}),e[31]=r,e[32]=d,e[33]=I):I=e[33];let B;e[34]!==D||e[35]!==I?(B=s.jsxs("div",{className:z,children:[D,I]}),e[34]=D,e[35]=I,e[36]=B):B=e[36];let Y;return e[37]!==n||e[38]!==T||e[39]!==B||e[40]!==_||e[41]!==C||e[42]!==N||e[43]!==l.id?(Y=s.jsxs("div",{"data-task-id":j,role:y,tabIndex:v,onClick:n,onKeyDown:_,className:C,children:[N,T,B]}),e[37]=n,e[38]=T,e[39]=B,e[40]=_,e[41]=C,e[42]=N,e[43]=l.id,e[44]=Y):Y=e[44],Y}const ws=["requires_action","in_progress","failed","expired","completed"];function Ei(t){const e=new Map(ws.map(l=>[l,[]]));for(const l of t){const i=l.status??"completed";(e.get(i)??e.get("completed")).push(l)}return ws.map(l=>({status:l,threads:e.get(l)}))}const zi="sidebar.group.expanded.";function Ri(t,e){const l=M.c(3),[i,n]=Bt(`${zi}${t}`,e);let r;return l[0]!==i||l[1]!==n?(r=[i,n],l[0]=i,l[1]=n,l[2]=r):r=l[2],r}function al(t){const e=M.c(18),{onClick:l,isFetching:i,indented:n}=t,r=W();let o;e[0]!==r?(o=r("sidebar.showMoreButton.ariaLabel"),e[0]=r,e[1]=o):o=e[1];const a=n?"-ml-4 pl-6 pr-2":"px-2";let m;e[2]!==a?(m=G("flex items-center gap-2 py-1.5 rounded-md text-sm text-muted-foreground",a,"hover:bg-accent/60 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50","transition-colors disabled:cursor-progress disabled:opacity-60"),e[2]=a,e[3]=m):m=e[3];let c;e[4]!==i?(c=i&&s.jsx(Nl,{size:14,className:"animate-spin"}),e[4]=i,e[5]=c):c=e[5];let d;e[6]!==i||e[7]!==r?(d=r(i?"sidebar.showMoreButton.loading":"sidebar.showMoreButton.showMore"),e[6]=i,e[7]=r,e[8]=d):d=e[8];let f;e[9]!==d?(f=s.jsx("span",{children:d}),e[9]=d,e[10]=f):f=e[10];let u;return e[11]!==i||e[12]!==l||e[13]!==o||e[14]!==m||e[15]!==c||e[16]!==f?(u=s.jsxs("button",{type:"button","aria-label":o,onClick:l,disabled:i,className:m,children:[c,f]}),e[11]=i,e[12]=l,e[13]=o,e[14]=m,e[15]=c,e[16]=f,e[17]=u):u=e[17],u}function Fi(t,e,l,i){return[t,e,l,i.type,i.member,i.currentUserId??""].join("|")}function Li(t){return t.member==="mine"&&!t.currentUserId}const cl=4;let Rt=0;const rs=[];function Gi(){for(;Rt<cl&&rs.length>0;){const t=rs.shift();t&&t()}}function dl(t){return new Promise((e,l)=>{const i=()=>{Rt++,t().then(e,l).finally(()=>{Rt--,Gi()})};Rt<cl?i():rs.push(i)})}const Yt=10;function Ms(t,e,l,i,n){const r={hidden:!1};i.member==="mine"&&i.currentUserId&&(r.created_by=i.currentUserId),i.type==="automation"&&(r.has_trigger=!0),i.type==="manual"&&(r.has_trigger=!1);const o={where:r,limit:n,offset:l,orderBy:[{field:["updated_at"],direction:"desc"}]};return o.status=e,o}function Bi(t,e,l,i){let n=0;for(const r of t)ml(r,e,l,i)&&n++;return n}function ts(t,e,l,i){return Bi(t,e,l,i)}function Hi(t,e){return!!(t>=Yt||t===0&&e)}function As(t,e){return t<e}function Ui(t,e){return e===!1?!1:e===!0?!0:t}function ml(t,e,l,i){return!(t.hidden||(t.status??"completed")!==l||i.member==="mine"&&i.currentUserId&&t.created_by!==i.currentUserId||i.type==="automation"&&!t.trigger_id||i.type==="manual"&&t.trigger_id)}const Gt=new Map,zt=new Map;function Wi(t,e){return e?t>=Yt?!0:null:!1}function Ts(t){return Gt.get(t)}function Ki(t,e){Gt.set(t,e)}function Vi(t,e,l){const i=Gt.get(t);if(i!==void 0){l(i);return}let n=zt.get(t);n||(n=dl(e).then(r=>(Gt.set(t,r),zt.delete(t),r)).catch(()=>(zt.delete(t),Promise.reject(new Error("group probe failed")))),zt.set(t,n)),n.then(l,()=>l(!1))}function Is(t){const e=t,l=Array.isArray(e.items)?e.items:[];return{items:l,hasMore:e.hasMore??l.length===Yt,totalCount:typeof e.totalCount=="number"?e.totalCount:void 0}}function qi(t,e,l,i,n){let r=0;for(const o of t)e.has(o.id)||ml(o,l,i,n)&&r++;return r}function Yi(t,e,l,i){const n=M.c(8),{org:r}=pe(),o=Fi(r.id,t,e,l);let a;n[0]!==l?(a=Li(l),n[0]=l,n[1]=a):a=n[1];const m=a,[c,d]=L.useState({isFetching:!1,isProbing:!1,identity:o,probeSubscribedIdentity:null,serverHasMore:null});c.identity!==o&&d({isFetching:!1,isProbing:!1,identity:o,probeSubscribedIdentity:null,serverHasMore:null});const f=In(),{threads:u,hasMore:p}=Qs(),h=ts(u,t,e,l),b=Hi(h,p),g=Wi(h,p),x=us();if(c.identity===o&&c.serverHasMore===null){const S=g??Ts(o);S!==void 0&&d({isFetching:!1,isProbing:!1,identity:o,probeSubscribedIdentity:c.probeSubscribedIdentity,serverHasMore:S})}!m&&c.identity===o&&c.serverHasMore===null&&g===null&&Ts(o)===void 0&&c.probeSubscribedIdentity!==o&&(d(S=>S.identity===o?{...S,isProbing:!0,probeSubscribedIdentity:o}:S),Vi(o,async()=>{const S=Ms(t,e,0,l,1),C=await x.call("COLLECTION_THREADS_LIST",S),{totalCount:N}=Is(C),A=ts(f.threads.get(),t,e,l);return N===void 0?!1:As(A,N)},S=>{d(C=>C.identity!==o?C:{...C,isProbing:!1,serverHasMore:S})}));const y=async function(){if(c.isFetching||c.isProbing||m)return;const C=o;d(N=>N.identity===C?{...N,isFetching:!0}:N);try{const N=ts(u,t,e,l),A=Ms(t,e,N,l,Yt),O=await dl(()=>x.call("COLLECTION_THREADS_LIST",A)),{items:P,hasMore:$,totalCount:E}=Is(O),T=new Set(u.map(Xi)),z=qi(P,T,t,e,l),D=N;f.mergeThreads(P),d(I=>{if(I.identity!==C)return I;let B;return E!==void 0?B=As(D+z,E):B=P.length===0||z===0?!1:$,Ki(C,B),{...I,isFetching:!1,serverHasMore:B}})}catch(N){const A=N,O=A instanceof Error?A.message:String(A);Ht.error(`Could not load more tasks: ${O}`),d(P=>P.identity===C?{...P,isFetching:!1}:P)}},v=c.isFetching||c.isProbing,_=!m&&!v&&Ui(b,c.serverHasMore);let k;return n[2]!==v||n[3]!==y||n[4]!==_||n[5]!==c.isProbing||n[6]!==c.serverHasMore?(k={hasMore:_,isFetching:v,isProbing:c.isProbing,serverHasMore:c.serverHasMore,loadMore:y},n[2]=v,n[3]=y,n[4]=_,n[5]=c.isProbing,n[6]=c.serverHasMore,n[7]=k):k=n[7],k}function Xi(t){return t.id}function Qi(t){const e=M.c(20),{status:l,threads:i,activeTaskId:n,onSelectTask:r,onArchiveTask:o,canArchive:a,filters:m}=t,{isFetching:c,isProbing:d,loadMore:f,hasMore:u,serverHasMore:p}=Yi("status",l,m),[h,b]=L.useState(!1);!h&&i.length===0&&p===!0&&!c&&!d&&(b(!0),queueMicrotask(()=>{f()}));let g;if(e[0]!==n||e[1]!==a||e[2]!==m||e[3]!==o||e[4]!==r||e[5]!==i){let y;e[7]!==n||e[8]!==a||e[9]!==m||e[10]!==o||e[11]!==r?(y=v=>s.jsx(rl,{task:v,isActive:n===v.id,onClick:()=>r(v),onArchive:a&&v.created_by===m.currentUserId?()=>o(v):void 0,showAutomationBadge:!!v.trigger_id,showAgentIcon:!0,hideStatusIdle:!0,indented:!0},v.id),e[7]=n,e[8]=a,e[9]=m,e[10]=o,e[11]=r,e[12]=y):y=e[12],g=i.map(y),e[0]=n,e[1]=a,e[2]=m,e[3]=o,e[4]=r,e[5]=i,e[6]=g}else g=e[6];let x;e[13]!==u||e[14]!==c||e[15]!==f?(x=(u||c)&&s.jsx(al,{onClick:()=>{f()},isFetching:c,indented:!0}),e[13]=u,e[14]=c,e[15]=f,e[16]=x):x=e[16];let j;return e[17]!==g||e[18]!==x?(j=s.jsxs(s.Fragment,{children:[g,x]}),e[17]=g,e[18]=x,e[19]=j):j=e[19],j}function Ji(t){const e=M.c(36),{status:l,threads:i,activeTaskId:n,onSelectTask:r,onArchiveTask:o,canArchive:a,filters:m}=t,c=Wn[l],d=c.icon,[f,u]=Ri(`status-${l}`,!1);let p;e[0]!==f||e[1]!==u?(p=function(){u(!f)},e[0]=f,e[1]=u,e[2]=p):p=e[2];const h=p;let b;e[3]!==h?(b=C=>{C.target===C.currentTarget&&(C.key==="Enter"||C.key===" ")&&(C.preventDefault(),h())},e[3]=h,e[4]=b):b=e[4];let g;e[5]!==d||e[6]!==c.iconClassName?(g=s.jsx("span",{className:"absolute inset-0 flex items-center justify-center transition-opacity group-hover/group:opacity-0",children:s.jsx(d,{size:12,className:c.iconClassName})}),e[5]=d,e[6]=c.iconClassName,e[7]=g):g=e[7];let x;e[8]!==f?(x=s.jsx("span",{className:"absolute inset-0 flex items-center justify-center text-muted-foreground opacity-0 transition-opacity group-hover/group:opacity-100",children:f?s.jsx(qn,{size:14}):s.jsx(Yn,{size:14})}),e[8]=f,e[9]=x):x=e[9];let j;e[10]!==g||e[11]!==x?(j=s.jsxs("div",{className:"relative size-5 shrink-0 flex items-center justify-center",children:[g,x]}),e[10]=g,e[11]=x,e[12]=j):j=e[12];let y;e[13]!==c.label?(y=s.jsx("span",{className:"flex-1 truncate",children:c.label}),e[13]=c.label,e[14]=y):y=e[14];let v;e[15]!==i.length?(v=s.jsx("div",{className:"size-5 shrink-0 flex items-center justify-center",children:s.jsx("span",{className:"text-xs text-muted-foreground tabular-nums",children:i.length})}),e[15]=i.length,e[16]=v):v=e[16];let _;e[17]!==f||e[18]!==h||e[19]!==b||e[20]!==j||e[21]!==y||e[22]!==v?(_=s.jsxs("div",{role:"button",tabIndex:0,"aria-expanded":f,onClick:h,onKeyDown:b,className:"group/group flex items-center gap-2 px-2 py-1.5 rounded-md text-sm font-medium text-foreground cursor-pointer hover:bg-accent/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50 transition-colors",children:[j,y,v]}),e[17]=f,e[18]=h,e[19]=b,e[20]=j,e[21]=y,e[22]=v,e[23]=_):_=e[23];let k;e[24]!==n||e[25]!==a||e[26]!==f||e[27]!==m||e[28]!==o||e[29]!==r||e[30]!==l||e[31]!==i?(k=f&&s.jsx("div",{className:"flex flex-col gap-0.5 pb-1 pl-4",children:s.jsx(Qi,{status:l,threads:i,activeTaskId:n,onSelectTask:r,onArchiveTask:o,canArchive:a,filters:m})}),e[24]=n,e[25]=a,e[26]=f,e[27]=m,e[28]=o,e[29]=r,e[30]=l,e[31]=i,e[32]=k):k=e[32];let S;return e[33]!==_||e[34]!==k?(S=s.jsxs("div",{className:"flex flex-col gap-0.5",children:[_,k]}),e[33]=_,e[34]=k,e[35]=S):S=e[35],S}function Ps(t){const e=M.c(38),{threads:l,groupBy:i,activeTaskId:n,onSelectTask:r,onArchiveTask:o,filters:a,hasMore:m,isFetchingMore:c,onLoadMore:d,filtersActive:f}=t;if(l.length===0&&!m&&!c){let g;e[0]===Symbol.for("react.memo_cache_sentinel")?(g=s.jsx(Bn,{className:"size-6 opacity-60"}),e[0]=g):g=e[0];const x=f?"No chats match your filters":"No chats yet";let j;return e[1]!==x?(j=s.jsxs("div",{className:"flex flex-col items-center justify-center gap-2 px-4 py-12 text-center text-muted-foreground",children:[g,s.jsx("p",{className:"text-sm",children:x})]}),e[1]=x,e[2]=j):j=e[2],j}const u=l.length>1||m;if(i==="status"){let g;if(e[3]!==n||e[4]!==u||e[5]!==a||e[6]!==o||e[7]!==r||e[8]!==l){let j;e[10]!==n||e[11]!==u||e[12]!==a||e[13]!==o||e[14]!==r?(j=y=>s.jsx(Ji,{status:y.status,threads:y.threads,activeTaskId:n,onSelectTask:r,onArchiveTask:o,canArchive:u,filters:a},y.status),e[10]=n,e[11]=u,e[12]=a,e[13]=o,e[14]=r,e[15]=j):j=e[15],g=Ei(l).map(j),e[3]=n,e[4]=u,e[5]=a,e[6]=o,e[7]=r,e[8]=l,e[9]=g}else g=e[9];let x;return e[16]!==g?(x=s.jsx(s.Fragment,{children:g}),e[16]=g,e[17]=x):x=e[17],x}let p;if(e[18]!==n||e[19]!==u||e[20]!==a||e[21]!==o||e[22]!==r||e[23]!==l){let g;e[25]!==n||e[26]!==u||e[27]!==a||e[28]!==o||e[29]!==r?(g=x=>s.jsx(rl,{task:x,isActive:n===x.id,onClick:()=>r(x),onArchive:u&&x.created_by===a.currentUserId?()=>o(x):void 0,showAutomationBadge:!!x.trigger_id,showAgentIcon:!0},x.id),e[25]=n,e[26]=u,e[27]=a,e[28]=o,e[29]=r,e[30]=g):g=e[30],p=l.map(g),e[18]=n,e[19]=u,e[20]=a,e[21]=o,e[22]=r,e[23]=l,e[24]=p}else p=e[24];let h;e[31]!==m||e[32]!==c||e[33]!==d?(h=(m||c)&&s.jsx(al,{onClick:d,isFetching:c}),e[31]=m,e[32]=c,e[33]=d,e[34]=h):h=e[34];let b;return e[35]!==p||e[36]!==h?(b=s.jsxs(s.Fragment,{children:[p,h]}),e[35]=p,e[36]=h,e[37]=b):b=e[37],b}function Zi(t,e,l){if(!l)return;const i=t.findIndex(n=>n.id===e);if(i!==-1){for(let n=i+1;n<t.length;n++){const r=t[n];if(r?.created_by===l)return r}for(let n=i-1;n>=0;n--){const r=t[n];if(r?.created_by===l)return r}}}function eo(t){const e=M.c(43),{branch:l,onOutcome:i}=t,n=W();let r;e[0]!==i?(r=S=>{S||i("cancel")},e[0]=i,e[1]=r):r=e[1];let o;e[2]!==n?(o=n("sidebar.archiveWorktreeDialog.title"),e[2]=n,e[3]=o):o=e[3];let a;e[4]!==o?(a=s.jsx(Xn,{children:o}),e[4]=o,e[5]=a):a=e[5];let m;e[6]!==n?(m=n("sidebar.archiveWorktreeDialog.stopsAndDeletesBefore"),e[6]=n,e[7]=m):m=e[7];let c;e[8]!==l?(c=s.jsx("span",{className:"font-mono",children:l}),e[8]=l,e[9]=c):c=e[9];let d;e[10]!==n?(d=n("sidebar.archiveWorktreeDialog.stopsAndDeletesAfter"),e[10]=n,e[11]=d):d=e[11];let f;e[12]!==m||e[13]!==c||e[14]!==d?(f=s.jsxs(Qn,{children:[m," ",c," ",d]}),e[12]=m,e[13]=c,e[14]=d,e[15]=f):f=e[15];let u;e[16]!==a||e[17]!==f?(u=s.jsxs(Jn,{children:[a,f]}),e[16]=a,e[17]=f,e[18]=u):u=e[18];let p;e[19]!==i?(p=()=>i("cancel"),e[19]=i,e[20]=p):p=e[20];let h;e[21]!==n?(h=n("sidebar.archiveWorktreeDialog.cancel"),e[21]=n,e[22]=h):h=e[22];let b;e[23]!==h||e[24]!==p?(b=s.jsx(Zn,{onClick:p,children:h}),e[23]=h,e[24]=p,e[25]=b):b=e[25];let g;e[26]===Symbol.for("react.memo_cache_sentinel")?(g=G(Cl({variant:"destructive"})),e[26]=g):g=e[26];let x;e[27]!==i?(x=()=>i("confirm"),e[27]=i,e[28]=x):x=e[28];let j;e[29]!==n?(j=n("sidebar.archiveWorktreeDialog.confirm"),e[29]=n,e[30]=j):j=e[30];let y;e[31]!==x||e[32]!==j?(y=s.jsx(ei,{className:g,onClick:x,children:j}),e[31]=x,e[32]=j,e[33]=y):y=e[33];let v;e[34]!==b||e[35]!==y?(v=s.jsxs(ti,{children:[b,y]}),e[34]=b,e[35]=y,e[36]=v):v=e[36];let _;e[37]!==v||e[38]!==u?(_=s.jsxs(si,{children:[u,v]}),e[37]=v,e[38]=u,e[39]=_):_=e[39];let k;return e[40]!==r||e[41]!==_?(k=s.jsx(li,{open:!0,onOpenChange:r,children:_}),e[40]=r,e[41]=_,e[42]=k):k=e[42],k}function to(t,e){return null}function so(t,e){return t.some(l=>l.id!==e.taskId&&!l.hidden&&l.branch===e.branch&&l.virtual_mcp_id===e.virtualMcpId)}const lo=["archive","reclaim-worktree"],no=[];function io(t){return t==="confirm"?lo:no}function Os(t){const e=M.c(17),{label:l,onClick:i,active:n,children:r}=t,[o,a]=L.useState(!1);let m,c,d,f;e[0]===Symbol.for("react.memo_cache_sentinel")?(m=()=>a(!0),c=()=>a(!1),d=()=>a(!0),f=()=>a(!1),e[0]=m,e[1]=c,e[2]=d,e[3]=f):(m=e[0],c=e[1],d=e[2],f=e[3]);const u=n&&"bg-sidebar-accent text-foreground";let p;e[4]!==u?(p=G("md:size-[34px] rounded-lg",u),e[4]=u,e[5]=p):p=e[5];let h;e[6]!==r||e[7]!==l||e[8]!==i||e[9]!==p?(h=s.jsx(Wt,{asChild:!0,children:s.jsx(Ut,{"aria-label":l,onClick:i,onPointerEnter:m,onPointerLeave:c,onFocus:d,onBlur:f,className:p,children:r})}),e[6]=r,e[7]=l,e[8]=i,e[9]=p,e[10]=h):h=e[10];let b;e[11]!==l?(b=s.jsx(Kt,{side:"bottom",children:l}),e[11]=l,e[12]=b):b=e[12];let g;return e[13]!==o||e[14]!==h||e[15]!==b?(g=s.jsxs(Vt,{open:o,children:[h,b]}),e[13]=o,e[14]=h,e[15]=b,e[16]=g):g=e[16],g}function ss(t){const e=M.c(13),{label:l,value:i,onChange:n,options:r}=t;let o;e[0]!==l?(o=s.jsx("span",{className:"text-sm text-muted-foreground",children:l}),e[0]=l,e[1]=o):o=e[1];let a;e[2]!==n?(a=f=>f&&n(f),e[2]=n,e[3]=a):a=e[3];let m;e[4]!==r?(m=r.map(oo),e[4]=r,e[5]=m):m=e[5];let c;e[6]!==a||e[7]!==m||e[8]!==i?(c=s.jsx(Tn,{type:"single",size:"sm",value:i,onValueChange:a,className:"gap-0.5 rounded-lg border border-border bg-muted/50 p-0.5",children:m}),e[6]=a,e[7]=m,e[8]=i,e[9]=c):c=e[9];let d;return e[10]!==o||e[11]!==c?(d=s.jsxs("div",{className:"flex items-center justify-between gap-3",children:[o,c]}),e[10]=o,e[11]=c,e[12]=d):d=e[12],d}function oo(t){return s.jsxs(An,{value:t.value,className:"h-6 gap-1.5 rounded-md border border-transparent px-2 text-xs font-medium text-muted-foreground hover:bg-transparent data-[state=on]:border-border data-[state=on]:bg-background data-[state=on]:text-foreground data-[state=on]:shadow-sm",children:[t.icon,t.label]},t.value)}function fl(t){const e=M.c(239);let l;e[0]!==t?(l=t===void 0?{}:t,e[0]=t,e[1]=l):l=e[1];const{onNavigate:i}=l,n=W(),{data:r}=Ft.useSession(),o=r?.user?.id,{org:a}=pe();let m;e[2]!==a.id?(m=Xl(a.id),e[2]=a.id,e[3]=m):m=e[3];const c=m.id,{threads:d,hasMore:f,isFetchingMore:u,fetchNextPage:p}=Qs(),h=d.filter(mo),{hide:b,setScope:g}=Pn(),x=Me(),j=us(),{setTaskId:y,createNewTask:v}=Js();let _;e[4]===Symbol.for("react.memo_cache_sentinel")?(_={strict:!1},e[4]=_):_=e[4];const k=kl(_);let S;e[5]===Symbol.for("react.memo_cache_sentinel")?(S={strict:!1},e[5]=S):S=e[5];const C=Es(S),N=k.taskId??null;let A;e[6]!==N||e[7]!==d||e[8]!==C.virtualmcpid?(A=C.virtualmcpid??d.find(w=>w.id===N)?.virtual_mcp_id??null,e[6]=N,e[7]=d,e[8]=C.virtualmcpid,e[9]=A):A=e[9];const O=A;let P;e[10]!==i?(P=()=>{i?.()},e[10]=i,e[11]=P):P=e[11];const $=P,E=[...h].sort(co),[T,z]=L.useState("all"),[D,I]=L.useState("flat"),[B,Y]=Bt("sidebar-threads-scope-all",!1),[F,H]=L.useState(!1),[V,Q]=L.useState(!1),[se,J]=L.useState(null),me=o??null;let he;e[12]!==me||e[13]!==T?(he={type:T,member:"mine",currentUserId:me},e[12]=me,e[13]=T,e[14]=he):he=e[14];const fe=he,xe={};B||(xe.created_by="me"),g(xe);let ge;e[15]!==o?(ge=w=>o?w.filter(R=>R.created_by===o):[],e[15]=o,e[16]=ge):ge=e[16];const Ae=ge;let Se;e[17]!==T?(Se=w=>T==="automation"?w.filter(ao):T==="manual"?w.filter(ro):w,e[17]=T,e[18]=Se):Se=e[18];const ke=Se,kt=Ae(E),Te=ke(kt),Ne=ke(E),q=B?Ne:Te;let be;e[19]!==N||e[20]!==$||e[21]!==o||e[22]!==b||e[23]!==x||e[24]!==a.slug||e[25]!==y||e[26]!==q?(be=w=>{const R=w.id===N,U=b(w.id);if($n(w.id),!R)return U;const K=Zi(q,w.id,o);return $(),K?y(K.id,K.virtual_mcp_id):x({to:"/$org",params:{org:a.slug}}),U},e[19]=N,e[20]=$,e[21]=o,e[22]=b,e[23]=x,e[24]=a.slug,e[25]=y,e[26]=q,e[27]=be):be=e[27];const Z=be;let ie;e[28]!==j||e[29]!==n?(ie=async w=>{try{await j.call("SANDBOX_DELETE",{virtualMcpId:w.virtualMcpId,branch:w.branch,sandboxProviderKind:"user-desktop",removeWorktree:!0})}catch{Ht.error(n("sidebar.archiveWorktreeDialog.reclaimFailed",{branch:w.branch}))}},e[28]=j,e[29]=n,e[30]=ie):ie=e[30];const Ce=ie;let oe;e[31]!==d||e[32]!==Z||e[33]!==o||e[34]!==J?(oe=w=>{if(o&&w.created_by&&w.created_by!==o)return;const R=to();if(!R||so(d,R)){Z(w);return}J({task:w,target:R})},e[31]=d,e[32]=Z,e[33]=o,e[34]=J,e[35]=oe):oe=e[35];const ee=oe;let je;e[36]!==Z||e[37]!==se||e[38]!==Ce||e[39]!==J?(je=w=>{const R=se;R&&(J(null),(async()=>{for(const U of io(w))if(U==="archive")try{await Z(R.task)}catch{return}else await Ce(R.target)})())},e[36]=Z,e[37]=se,e[38]=Ce,e[39]=J,e[40]=je):je=e[40];const we=je;let ve;e[41]!==we||e[42]!==se?(ve=se?s.jsx(eo,{branch:se.target.branch,onOutcome:we}):null,e[41]=we,e[42]=se,e[43]=ve):ve=e[43];const X=ve;let re;e[44]!==$||e[45]!==y?(re=w=>{$(),y(w.id,w.virtual_mcp_id)},e[44]=$,e[45]=y,e[46]=re):re=e[46];const te=re;let ye;e[47]!==O||e[48]!==N||e[49]!==d||e[50]!==$||e[51]!==v||e[52]!==c?(ye=()=>{const w=O??c,R=d.find(U=>U.id===N)?.branch??null;ce("sidebar_new_thread_clicked",{virtual_mcp_id:w}),$(),v(w,R)},e[47]=O,e[48]=N,e[49]=d,e[50]=$,e[51]=v,e[52]=c,e[53]=ye):ye=e[53];const Ie=ye,{state:pl,isMobile:hs,toggleSidebar:Xt}=Ct();if(pl==="collapsed"&&!hs){let w;e[54]!==a?(w=s.jsx(ln,{org:a,size:"sm"}),e[54]=a,e[55]=w):w=e[55];let R;e[56]!==a.name||e[57]!==w?(R=s.jsx(de,{tooltip:a.name,children:w}),e[56]=a.name,e[57]=w,e[58]=R):R=e[58];let U;e[59]!==a.slug||e[60]!==R?(U=s.jsx("div",{className:"flex h-12 shrink-0 items-center justify-center",children:s.jsx(sn,{orgParam:a.slug,side:"right",align:"start",trigger:R})}),e[59]=a.slug,e[60]=R,e[61]=U):U=e[61];let K;e[62]!==n?(K=n("sidebar.taskGroupsList.toggleSidebar"),e[62]=n,e[63]=K):K=e[63];let ae;e[64]!==n?(ae=n("sidebar.taskGroupsList.toggleSidebar"),e[64]=n,e[65]=ae):ae=e[65];let $t;e[66]===Symbol.for("react.memo_cache_sentinel")?($t=s.jsx(Us,{size:16}),e[66]=$t):$t=e[66];let xt;e[67]!==K||e[68]!==ae||e[69]!==Xt?(xt=s.jsx(ne,{children:s.jsx(de,{"aria-label":K,tooltip:ae,onClick:Xt,children:$t})}),e[67]=K,e[68]=ae,e[69]=Xt,e[70]=xt):xt=e[70];let gt;e[71]!==n?(gt=n("sidebar.taskGroupsList.searchChats"),e[71]=n,e[72]=gt):gt=e[72];let bt;e[73]!==n?(bt=n("sidebar.taskGroupsList.searchChats"),e[73]=n,e[74]=bt):bt=e[74];let jt;e[75]!==Q||e[76]!==H?(jt=()=>{ce("tasks_panel_search_opened"),Q(!0),H(!0)},e[75]=Q,e[76]=H,e[77]=jt):jt=e[77];let Dt;e[78]===Symbol.for("react.memo_cache_sentinel")?(Dt=s.jsx(gs,{size:16}),e[78]=Dt):Dt=e[78];let vt;e[79]!==gt||e[80]!==bt||e[81]!==jt?(vt=s.jsx(ne,{children:s.jsx(de,{"aria-label":gt,tooltip:bt,onClick:jt,children:Dt})}),e[79]=gt,e[80]=bt,e[81]=jt,e[82]=vt):vt=e[82];let yt;e[83]!==xt||e[84]!==vt?(yt=s.jsxs(ue,{className:"mt-2 min-h-0 gap-1.5 overflow-y-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:[xt,vt]}),e[83]=xt,e[84]=vt,e[85]=yt):yt=e[85];let _t;e[86]!==V||e[87]!==F||e[88]!==H?(_t=V&&s.jsx(es,{open:F,onOpenChange:H}),e[86]=V,e[87]=F,e[88]=H,e[89]=_t):_t=e[89];let Et;return e[90]!==X||e[91]!==U||e[92]!==yt||e[93]!==_t?(Et=s.jsxs("div",{className:"flex flex-col min-h-0 flex-1 -mt-1 w-[calc(var(--sidebar-width-icon)-1rem)]",children:[U,yt,_t,X]}),e[90]=X,e[91]=U,e[92]=yt,e[93]=_t,e[94]=Et):Et=e[94],Et}const le=D!=="flat"||T!=="all"||B===!0;let Pe;e[95]!==n?(Pe=n("sidebar.taskGroupsList.filterChats"),e[95]=n,e[96]=Pe):Pe=e[96];let Mt;e[97]===Symbol.for("react.memo_cache_sentinel")?(Mt=s.jsx(Mn,{size:16}),e[97]=Mt):Mt=e[97];let Oe;e[98]!==le?(Oe=le&&s.jsx("span",{className:"absolute right-1 top-1 size-1.5 rounded-full bg-primary ring-2 ring-sidebar"}),e[98]=le,e[99]=Oe):Oe=e[99];let $e;e[100]!==le||e[101]!==Pe||e[102]!==Oe?($e=s.jsx(Wt,{asChild:!0,children:s.jsx(Ks,{asChild:!0,children:s.jsxs(Ut,{"aria-label":Pe,active:le,className:"md:size-[34px] rounded-lg",children:[Mt,Oe]})})}),e[100]=le,e[101]=Pe,e[102]=Oe,e[103]=$e):$e=e[103];let De;e[104]!==n?(De=n("sidebar.taskGroupsList.filterChats"),e[104]=n,e[105]=De):De=e[105];let Ee;e[106]!==De?(Ee=s.jsx(Kt,{side:"bottom",children:De}),e[106]=De,e[107]=Ee):Ee=e[107];let ze;e[108]!==$e||e[109]!==Ee?(ze=s.jsxs(Vt,{children:[$e,Ee]}),e[108]=$e,e[109]=Ee,e[110]=ze):ze=e[110];let Re;e[111]!==n?(Re=n("sidebar.taskGroupsList.filterView"),e[111]=n,e[112]=Re):Re=e[112];let Fe;e[113]!==I?(Fe=w=>{ce("tasks_panel_group_by_changed",{to_value:w}),I(w)},e[113]=I,e[114]=Fe):Fe=e[114];let Le;e[115]!==n?(Le=n("sidebar.taskGroupsList.viewList"),e[115]=n,e[116]=Le):Le=e[116];let At;e[117]===Symbol.for("react.memo_cache_sentinel")?(At=s.jsx(xn,{size:13}),e[117]=At):At=e[117];let Ge;e[118]!==Le?(Ge={value:"flat",label:Le,icon:At},e[118]=Le,e[119]=Ge):Ge=e[119];let Be;e[120]!==n?(Be=n("sidebar.taskGroupsList.viewStatus"),e[120]=n,e[121]=Be):Be=e[121];let Tt;e[122]===Symbol.for("react.memo_cache_sentinel")?(Tt=s.jsx(gn,{size:13}),e[122]=Tt):Tt=e[122];let He;e[123]!==Be?(He={value:"status",label:Be,icon:Tt},e[123]=Be,e[124]=He):He=e[124];let Ue;e[125]!==Ge||e[126]!==He?(Ue=[Ge,He],e[125]=Ge,e[126]=He,e[127]=Ue):Ue=e[127];let We;e[128]!==D||e[129]!==Re||e[130]!==Fe||e[131]!==Ue?(We=s.jsx(ss,{label:Re,value:D,onChange:Fe,options:Ue}),e[128]=D,e[129]=Re,e[130]=Fe,e[131]=Ue,e[132]=We):We=e[132];let Ke;e[133]!==n?(Ke=n("sidebar.taskGroupsList.filterType"),e[133]=n,e[134]=Ke):Ke=e[134];let Ve;e[135]!==z?(Ve=w=>{ce("tasks_panel_filter_changed",{to_value:w}),z(w)},e[135]=z,e[136]=Ve):Ve=e[136];let qe;e[137]!==n?(qe=n("sidebar.taskGroupsList.typeAll"),e[137]=n,e[138]=qe):qe=e[138];let Ye;e[139]!==qe?(Ye={value:"all",label:qe},e[139]=qe,e[140]=Ye):Ye=e[140];let Xe;e[141]!==n?(Xe=n("sidebar.taskGroupsList.typeChats"),e[141]=n,e[142]=Xe):Xe=e[142];let Qe;e[143]!==Xe?(Qe={value:"manual",label:Xe},e[143]=Xe,e[144]=Qe):Qe=e[144];let Je;e[145]!==n?(Je=n("sidebar.taskGroupsList.typeAuto"),e[145]=n,e[146]=Je):Je=e[146];let Ze;e[147]!==Je?(Ze={value:"automation",label:Je},e[147]=Je,e[148]=Ze):Ze=e[148];let et;e[149]!==Ye||e[150]!==Qe||e[151]!==Ze?(et=[Ye,Qe,Ze],e[149]=Ye,e[150]=Qe,e[151]=Ze,e[152]=et):et=e[152];let tt;e[153]!==Ke||e[154]!==Ve||e[155]!==et||e[156]!==T?(tt=s.jsx(ss,{label:Ke,value:T,onChange:Ve,options:et}),e[153]=Ke,e[154]=Ve,e[155]=et,e[156]=T,e[157]=tt):tt=e[157];let st;e[158]!==n?(st=n("sidebar.taskGroupsList.filterScope"),e[158]=n,e[159]=st):st=e[159];const Qt=B?"team":"mine";let lt;e[160]!==Y?(lt=w=>Y(w==="team"),e[160]=Y,e[161]=lt):lt=e[161];let nt;e[162]!==n?(nt=n("sidebar.taskGroupsList.scopeMine"),e[162]=n,e[163]=nt):nt=e[163];let it;e[164]!==nt?(it={value:"mine",label:nt},e[164]=nt,e[165]=it):it=e[165];let ot;e[166]!==n?(ot=n("sidebar.taskGroupsList.scopeTeam"),e[166]=n,e[167]=ot):ot=e[167];let rt;e[168]!==ot?(rt={value:"team",label:ot},e[168]=ot,e[169]=rt):rt=e[169];let at;e[170]!==it||e[171]!==rt?(at=[it,rt],e[170]=it,e[171]=rt,e[172]=at):at=e[172];let ct;e[173]!==st||e[174]!==Qt||e[175]!==lt||e[176]!==at?(ct=s.jsx(ss,{label:st,value:Qt,onChange:lt,options:at}),e[173]=st,e[174]=Qt,e[175]=lt,e[176]=at,e[177]=ct):ct=e[177];let dt;e[178]!==We||e[179]!==tt||e[180]!==ct?(dt=s.jsxs(Vs,{align:"start",className:"w-64 flex flex-col gap-3 p-3",children:[We,tt,ct]}),e[178]=We,e[179]=tt,e[180]=ct,e[181]=dt):dt=e[181];let It;e[182]!==ze||e[183]!==dt?(It=s.jsxs(Ws,{children:[ze,dt]}),e[182]=ze,e[183]=dt,e[184]=It):It=e[184];const Jt=It;let Pt;e[185]!==Jt||e[186]!==Ie||e[187]!==Q||e[188]!==H||e[189]!==n?(Pt=w=>s.jsx(qs,{delayDuration:300,children:s.jsxs("div",{className:G("shrink-0 flex items-center justify-between",w?"h-10":"h-10 md:h-[34px] mb-2"),children:[s.jsxs("div",{className:"flex items-center gap-0.5",children:[!w&&s.jsx(tl,{className:"md:size-[34px] rounded-lg"}),Jt]}),s.jsxs("div",{className:"flex items-center gap-0.5",children:[s.jsx(Os,{label:n("sidebar.taskGroupsList.searchChats"),onClick:()=>{ce("tasks_panel_search_opened"),Q(!0),H(!0)},children:s.jsx(gs,{size:16})}),s.jsx(Os,{label:n("sidebar.taskGroupsList.newChat"),onClick:()=>{Ie()},children:s.jsx(bn,{size:16})})]})]})}),e[185]=Jt,e[186]=Ie,e[187]=Q,e[188]=H,e[189]=n,e[190]=Pt):Pt=e[190];const mt=Pt;if(hs){let w;e[191]!==mt?(w=mt(!0),e[191]=mt,e[192]=w):w=e[192];let R;e[193]!==p?(R=()=>{p()},e[193]=p,e[194]=R):R=e[194];let U;e[195]!==N||e[196]!==fe||e[197]!==le||e[198]!==D||e[199]!==ee||e[200]!==te||e[201]!==f||e[202]!==u||e[203]!==R||e[204]!==q?(U=s.jsx(ks,{wrapperClassName:"flex-1 min-h-0",className:"flex flex-col gap-0.5 overflow-y-auto overscroll-contain px-1 h-full",children:s.jsx(Ps,{threads:q,groupBy:D,activeTaskId:N,onSelectTask:te,onArchiveTask:ee,filters:fe,hasMore:f,isFetchingMore:u,onLoadMore:R,filtersActive:le})}),e[195]=N,e[196]=fe,e[197]=le,e[198]=D,e[199]=ee,e[200]=te,e[201]=f,e[202]=u,e[203]=R,e[204]=q,e[205]=U):U=e[205];let K;e[206]!==V||e[207]!==F||e[208]!==H?(K=V&&s.jsx(es,{open:F,onOpenChange:H}),e[206]=V,e[207]=F,e[208]=H,e[209]=K):K=e[209];let ae;return e[210]!==X||e[211]!==w||e[212]!==U||e[213]!==K?(ae=s.jsxs("div",{className:"flex flex-col h-full min-h-0",children:[w,U,K,X]}),e[210]=X,e[211]=w,e[212]=U,e[213]=K,e[214]=ae):ae=e[214],ae}let ft;e[215]!==mt?(ft=mt(!1),e[215]=mt,e[216]=ft):ft=e[216];let ut;e[217]!==p?(ut=()=>{p()},e[217]=p,e[218]=ut):ut=e[218];let pt;e[219]!==N||e[220]!==fe||e[221]!==le||e[222]!==D||e[223]!==ee||e[224]!==te||e[225]!==f||e[226]!==u||e[227]!==ut||e[228]!==q?(pt=s.jsx("div",{className:"flex-1 min-h-0 flex flex-col gap-0.5 -mr-2 pr-2",children:s.jsx(ks,{wrapperClassName:"flex-1 min-h-0",className:"flex flex-col gap-0.5 overflow-y-auto overscroll-contain h-full",children:s.jsx(Ps,{threads:q,groupBy:D,activeTaskId:N,onSelectTask:te,onArchiveTask:ee,filters:fe,hasMore:f,isFetchingMore:u,onLoadMore:ut,filtersActive:le})})}),e[219]=N,e[220]=fe,e[221]=le,e[222]=D,e[223]=ee,e[224]=te,e[225]=f,e[226]=u,e[227]=ut,e[228]=q,e[229]=pt):pt=e[229];let ht;e[230]!==V||e[231]!==F||e[232]!==H?(ht=V&&s.jsx(es,{open:F,onOpenChange:H}),e[230]=V,e[231]=F,e[232]=H,e[233]=ht):ht=e[233];let Ot;return e[234]!==X||e[235]!==ft||e[236]!==pt||e[237]!==ht?(Ot=s.jsxs("div",{className:"flex flex-col h-full min-h-0",children:[ft,pt,ht,X]}),e[234]=X,e[235]=ft,e[236]=pt,e[237]=ht,e[238]=Ot):Ot=e[238],Ot}function ro(t){return!t.trigger_id}function ao(t){return!!t.trigger_id}function co(t,e){return(e.updated_at??"").localeCompare(t.updated_at??"")}function mo(t){return!t.hidden}const fo=5,uo=[{nameWidth:"w-24",taskRows:2},{nameWidth:"w-28",taskRows:0},{nameWidth:"w-20",taskRows:1},{nameWidth:"w-32",taskRows:0},{nameWidth:"w-24",taskRows:0}];function ul(){const t=M.c(3),{state:e}=Ct();if(e==="collapsed"){let n;return t[0]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsx("div",{className:"flex flex-col gap-1.5",children:Array.from({length:fo}).map(xo)}),t[0]=n):n=t[0],n}let l;t[1]===Symbol.for("react.memo_cache_sentinel")?(l=s.jsxs("div",{className:"shrink-0 px-1 h-10 md:h-7 mb-2 flex items-center justify-between",children:[s.jsxs("div",{className:"flex items-center gap-1",children:[s.jsx(_e,{className:"size-6 rounded-md"}),s.jsx(_e,{className:"size-6 rounded-md"}),s.jsx(_e,{className:"size-6 rounded-md"})]}),s.jsx(_e,{className:"h-6 w-20 rounded-md"})]}),t[1]=l):l=t[1];let i;return t[2]===Symbol.for("react.memo_cache_sentinel")?(i=s.jsxs("div",{className:"flex flex-col h-full min-h-0",children:[l,s.jsx("div",{className:"flex flex-col gap-0.5",children:uo.map(po)})]}),t[2]=i):i=t[2],i}function po(t,e){return s.jsxs("div",{className:"flex flex-col gap-0.5",children:[s.jsxs("div",{className:"flex items-center gap-2 px-2 py-1.5",children:[s.jsx(_e,{className:"size-5 rounded-full shrink-0"}),s.jsx(_e,{className:G("h-3",t.nameWidth,"rounded-sm")})]}),t.taskRows>0&&s.jsx("div",{className:"flex flex-col gap-0.5 pb-1 pl-4",children:Array.from({length:t.taskRows}).map(ho)})]},e)}function ho(t,e){return s.jsx("div",{className:"flex items-center gap-2 px-2 py-1.5",children:s.jsx(_e,{className:"h-3 flex-1 rounded-sm"})},e)}function xo(t,e){return s.jsx(_e,{className:"size-10 rounded-lg mx-auto"},e)}function go(){const t=M.c(2);if(ms()){let i;return t[0]===Symbol.for("react.memo_cache_sentinel")?(i=s.jsx(ns,{showName:!0}),t[0]=i):i=t[0],i}let l;return t[1]===Symbol.for("react.memo_cache_sentinel")?(l=s.jsxs(s.Fragment,{children:[s.jsx(ns,{}),s.jsx(fs,{})]}),t[1]=l):l=t[1],l}function bo(){const t=M.c(5),e=ll();let l,i;t[0]===Symbol.for("react.memo_cache_sentinel")?(l=s.jsx(Ii,{}),i=s.jsx(go,{}),t[0]=l,t[1]=i):(l=t[0],i=t[1]);let n;t[2]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsx(as,{children:s.jsx(L.Suspense,{fallback:s.jsx(ul,{}),children:s.jsx(fl,{})})}),t[2]=n):n=t[2];let r;return t[3]!==e?(r=s.jsx(sl,{children:s.jsx(ol,{sections:e,footer:l,header:i,additionalContent:n})}),t[3]=e,t[4]=r):r=t[4],r}function jo(t){const e=M.c(8),{onClose:l}=t,i=ll();let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsx(Pi,{}),e[0]=n):n=e[0];let r;e[1]===Symbol.for("react.memo_cache_sentinel")?(r=s.jsx(ul,{}),e[1]=r):r=e[1];let o;e[2]!==l?(o=s.jsx(as,{children:s.jsx(L.Suspense,{fallback:r,children:s.jsx(fl,{onNavigate:l})})}),e[2]=l,e[3]=o):o=e[3];let a;return e[4]!==l||e[5]!==i||e[6]!==o?(a=s.jsx(sl,{children:s.jsx(yi,{sections:i,onClose:l,footer:n,additionalContent:o})}),e[4]=l,e[5]=i,e[6]=o,e[7]=a):a=e[7],a}const vo="sidebar.open";function yo(){const t=M.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=s.jsx(Ml,{}),t[0]=e):e=t[0],e}function Fa(){const t=M.c(36),e=Fs(),l=ms();let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i={strict:!1},t[0]=i):i=t[0];const{connect:n,siteUrl:r}=Es(i),o=n==="1",[a,m]=Bt(vo,!1),{width:c,wrapperRef:d,onStartResize:f,resetWidth:u}=ui(),p=e;let h;t[1]===Symbol.for("react.memo_cache_sentinel")?(h=s.jsx(tl,{}),t[1]=h):h=t[1];let b;t[2]!==l?(b=!l&&s.jsx("div",{className:"flex min-w-0 flex-1 items-center",children:s.jsx(fs,{})}),t[2]=l,t[3]=b):b=t[3];let g,x,j,y;t[4]===Symbol.for("react.memo_cache_sentinel")?(g=s.jsx(St.TogglesSlot,{}),x=s.jsx(St.TabsSlot,{className:"shrink-0"}),j=s.jsx(St.CenterSlot,{}),y=s.jsx(St.RightSlot,{}),t[4]=g,t[5]=x,t[6]=j,t[7]=y):(g=t[4],x=t[5],j=t[6],y=t[7]);let v;t[8]!==b?(v=s.jsx(St.Header,{className:"grid-cols-1 px-1",children:s.jsxs("div",{className:"flex w-full min-w-0 items-center gap-1",children:[h,b,g,x,j,y]})}),t[8]=b,t[9]=v):v=t[9];const _=v;let k;t[10]===Symbol.for("react.memo_cache_sentinel")?(k={background:"transparent",containerType:"inline-size"},t[10]=k):k=t[10];let S;t[11]===Symbol.for("react.memo_cache_sentinel")?(S=s.jsx(Il,{className:"flex flex-col min-h-0",style:k,children:s.jsx("div",{className:"flex flex-col h-full min-h-0",children:s.jsx("div",{className:"relative flex-1 min-h-0 flex flex-row",children:s.jsx(L.Suspense,{fallback:s.jsx(yo,{}),children:s.jsx(wl,{})})})})}),t[11]=S):S=t[11];const C=S,N=p&&_,A=`${c}px`;let O;t[12]!==A?(O={"--sidebar-width":A,"--sidebar-width-icon":"3.125rem"},t[12]=A,t[13]=O):O=t[13];const P=O;let $;t[14]!==e||t[15]!==f||t[16]!==u?($=!e&&s.jsxs(s.Fragment,{children:[s.jsx(bo,{}),s.jsx(di,{onPointerDown:f,onDoubleClick:u})]}),t[14]=e,t[15]=f,t[16]=u,t[17]=$):$=t[17];let E;t[18]!==P||t[19]!==$||t[20]!==d?(E=s.jsxs(Pl,{ref:d,className:"flex-1 bg-sidebar relative min-h-0",style:P,children:[$,C]}),t[18]=P,t[19]=$,t[20]=d,t[21]=E):E=t[21];let T;t[22]!==e?(T=e&&s.jsx(Gn,{renderSidebar:_o}),t[22]=e,t[23]=T):T=t[23];let z;t[24]!==r||t[25]!==o?(z=o&&s.jsx(ii,{siteUrl:r}),t[24]=r,t[25]=o,t[26]=z):z=t[26];let D;t[27]!==N||t[28]!==E||t[29]!==T||t[30]!==z?(D=s.jsx(ni,{children:s.jsxs("div",{className:"app-shell-root flex flex-col h-dvh overflow-hidden",children:[N,E,T,z]})}),t[27]=N,t[28]=E,t[29]=T,t[30]=z,t[31]=D):D=t[31];let I;return t[32]!==m||t[33]!==a||t[34]!==D?(I=s.jsx(On,{children:s.jsx(St.Provider,{children:s.jsx(Ol,{open:a,onOpenChange:m,children:D})})}),t[32]=m,t[33]=a,t[34]=D,t[35]=I):I=t[35],I}function _o(t){const{onClose:e}=t;return s.jsx("div",{className:"flex h-full",children:s.jsx("div",{className:"w-full bg-sidebar flex flex-col overflow-y-auto group/sidebar","data-state":"expanded",children:s.jsx(jo,{onClose:e})})})}export{Fa as default};
@@ -1 +0,0 @@
1
- import{c as L,b as R,j as r}from"./index-Bfy-Fe7V.js";import{I as A}from"./input-BVD_WyXJ.js";import{L as I}from"./label-Dplc1_oE.js";import{S as z,a as J,b as O,c as V,d as $}from"./select-wwJ8EUoY.js";import{T as D}from"./textarea-BkOjJMTl.js";import{R as M,T as U,U as W,J as q,W as G,$ as H}from"./index-BEYzla8F.js";import{s as F}from"./primitives-J7wgcQJq.js";import{u as Q}from"./use-autosave-BpJYCCvJ.js";import"./tooltip-F9SMeJ-j.js";import"./Check-CeB_ZeLq.js";import"./ChevronDown-CGwhMiqT.js";import"./ChevronUp-3dsPU76D.js";import"./ArrowUp-Cmxc5KIG.js";import"./chat-context-cK_4I7Xc.js";import"./tab-id-BtKEoC5y.js";import"./dialog-7h2q_S_D.js";import"./X-CId2-nhW.js";import"./Copy01-CXcHnxi0.js";import"./hooks-BTTh4oan.js";import"./use-mcp-client-CMZDCFwV.js";import"./auth-BcPAS4K5.js";import"./decopilot-sse-pool-CYVKd86r.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./use-is-desktop-app-BNujXJc_.js";import"./use-virtual-mcp-CvLFbjo1.js";import"./use-ai-providers-NYX7QSgc.js";import"./studio-tools-BBDHxwPb.js";import"./use-decopilot-events-UAWY9DUq.js";import"./use-organization-settings-CmS9ohCu.js";import"./automation-runs-DeLRBvkt.js";import"./agent-icon-D_vHJRnE.js";import"./AlertCircle-BMPkNMGJ.js";import"./Tool01-DMQJZ6a0.js";import"./ArrowLeft-Bo0FpGQs.js";import"./Tool02-CZZOjaKh.js";import"./XCircle-DOtlBDfF.js";import"./ArrowUpRight-OVKS4c5s.js";import"./TrendUp01-CYPiI6vW.js";import"./ZapSquare-GHgi4Hl7.js";import"./Users03-C0P658nm.js";import"./CheckCircle-C9SAYY-W.js";import"./ChevronRight-Cux_llMB.js";import"./DotsVertical-9U5tOb04.js";import"./Stars02-2eb3r8Gu.js";import"./CpuChip01-CGpR8wkh.js";import"./CreditCard01-DSA6UjMO.js";import"./Globe01-Cm-V-gHj.js";import"./Settings02-DBlt8Mfk.js";import"./Eye-DXWAJYKq.js";import"./FilterLines-DZrlB4Kh.js";import"./Share07-C1_p27Hs.js";import"./Star01-ClwU4gOx.js";import"./Globe04-m1tzMty0.js";import"./SwitchHorizontal01-D0Mi7oaK.js";import"./HardDrive-Dvps78YO.js";import"./Key01-DY7yaq7L.js";import"./LayoutLeft-C0u89h3U.js";import"./LinkExternal01-CLr9HZg0.js";import"./LogOut01-BeE1lxGA.js";import"./Monitor01-RiuZmvGS.js";import"./Sun-m3RjKnDt.js";import"./Palette-C8S3zMtK.js";import"./Play-B8V74CpU.js";import"./Plus-CGrXNe_q.js";import"./SearchLg-DrUBeTI6.js";import"./SearchMd-DFwCvkV1.js";import"./Shield01-CZr-J1Qk.js";import"./Stars01-jLom0LSv.js";import"./Trash01-BCoCDH0H.js";import"./Upload01-mvF19nky.js";import"./User01-UnLfhP79.js";import"./Users01-BGTUZMIA.js";import"./XClose-BoiJoxeV.js";import"./Zap-C6ApHWIY.js";import"./useInfiniteQuery-DuCyL_is.js";import"./use-infinite-scroll-BMPCHIFs.js";import"./use-connection-niAftPf5.js";import"./card-GrGBYBXG.js";import"./sidebar-CusUIOZL.js";import"./use-mobile-RWxooM53.js";import"./table-DwuSaCi4.js";import"./empty-state-tOcrn7Ci.js";import"./use-members-CNN6Y-Zt.js";import"./use-org-auth-client-hxCPh-jf.js";import"./use-clock-tick-CFTIWs0c.js";import"./use-automations-DoX-Tmqm.js";import"./useSuspenseInfiniteQuery-ByQ627dx.js";import"./avatar-CKAwkvrw.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-C8wJsCEn.js";import"./monaco-editor-a45QrHzb.js";import"./spinner-Cq2vfE1B.js";import"./index-GMtytQiz.js";import"./shell-layout-C7FmlawD.js";import"./required-auth-layout-BFPFAQoy.js";import"./use-org-sso-FYR_uf1o.js";import"./integration-icon-BbWY9vfD.js";import"./use-navigate-to-agent-ChzmcYSy.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-488R_nQ_.js";import"./form-FE1JRkSu.js";import"./file-type-icon-CpiTVpKx.js";import"./drawer-WhUz4erM.js";import"./collection-search-Cwveue76.js";import"./deco-site-production-url-BjY4ZYd-.js";import"./tabs-CIxl9qVO.js";import"./toggle-group-znNdMK--.js";import"./use-deco-credits-De3PrmGo.js";import"./popover-DigaZ5Sb.js";import"./self-tool-result-Cch-sPi1.js";import"./alert-dialog-BgN-Tqd-.js";import"./extract-connection-data-BKY0ec6n.js";import"./metadata-dUsYcpuu.js";import"./provision-repo-scoped-github-connection-C2HwF4Ce.js";import"./use-debounced-value-BolYSN9R.js";import"./authenticate-and-persist-oauth-COCTTCRF.js";import"./mcp-oauth-Bi0vxp4Q.js";import"./track-CQoHeM9p.js";import"./toolbar-CdII6jdL.js";import"./skeleton-Dd2jseki.js";import"./github-repo-picker-BId4yHDh.js";import"./use-mcp-tools-DcIN6xvI.js";import"./agent-capabilities-cXfbMfjV.js";import"./connection-card-BoEQ2uqc.js";import"./use-registry-connections-CvNGLAr0.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./connection-form-helpers-DB6bc0s9.js";import"./collection-tabs-DMyjVQaZ.js";import"./badge-CxlSzoE1.js";import"./use-open-billing-url-XDJk2wdH.js";import"./select-model-BpUI37HY.js";import"./checkbox-DjytOswq.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-CfhHwu3l.js";import"./cards-DY2u3Spm.js";import"./dropdown-menu-D3TVm231.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-UrQRxkaM.js";import"./use-capability-DssZIcHp.js";import"./pt-BR-CLy76QW2.js";import"./switch-CAjDqeuV.js";import"./use-debounced-autosave-CGiNF_NH.js";import"./index-D5KNWpFX.js";import"./search-input--fbtpx3Q.js";import"./index-BEPKcH_a.js";import"./use-secrets-B-jc_6m7.js";import"./use-tags-opYrp-Zi.js";import"./get-initials-D-f_fDFw.js";import"./command-DktWLnIE.js";import"./index-Bqv-pFdx.js";import"./use-file-configs-Cq0JL4Et.js";import"./automation-list-row-BYFAi_YA.js";const X={authors:[{key:"name",labelKey:"sandbox.recordEditor.fieldName",widget:"text"},{key:"type",labelKey:"sandbox.recordEditor.fieldType",widget:"select",options:[{value:"Person",labelKey:"sandbox.recordEditor.optionPerson"},{value:"Organization",labelKey:"sandbox.recordEditor.optionOrganization"}]},{key:"email",labelKey:"sandbox.recordEditor.fieldEmail",widget:"text",placeholderKey:"sandbox.recordEditor.placeholderEmail"},{key:"jobTitle",labelKey:"sandbox.recordEditor.fieldJobTitle",widget:"text"},{key:"company",labelKey:"sandbox.recordEditor.fieldCompany",widget:"text"},{key:"avatar",labelKey:"sandbox.recordEditor.fieldAvatar",widget:"image"}]},Y={authors:"sandbox.recordEditor.titleAuthor"};function qr(C){const t=L.c(40),{orgSlug:K,virtualMcpId:h,branch:w,kind:a,blockKey:g,block:f}=C,i=R(),P=M(h);let b;t[0]!==w||t[1]!==K||t[2]!==P||t[3]!==h?(b={orgSlug:K,virtualMcpId:h,branch:w,packagePath:P},t[0]=w,t[1]=K,t[2]=P,t[3]=h,t[4]=b):b=t[4];const p=U(b);let k;t[5]!==f||t[6]!==a?(k=W(f,a),t[5]=f,t[6]=a,t[7]=k):k=t[7];const B=k;let v;t[8]!==g||t[9]!==a||t[10]!==p?(v=l=>{p.mutate({blockKey:g,data:G(g,a,l)})},t[8]=g,t[9]=a,t[10]=p,t[11]=v):v=t[11];const[e,S]=Q(B,v);let j;t[12]!==e||t[13]!==S?(j=(l,o)=>S({...e,[l]:o}),t[12]=e,t[13]=S,t[14]=j):j=t[14];const s=j,T=Y[a];let n;t[15]!==i||t[16]!==T?(n=i(T),t[15]=i,t[16]=T,t[17]=n):n=t[17];let c;t[18]!==n?(c=r.jsx("span",{className:"text-sm font-medium",children:n}),t[18]=n,t[19]=c):c=t[19];let d;t[20]!==p.isError||t[21]!==p.isPending?(d=r.jsx(q,{isPending:p.isPending,isError:p.isError}),t[20]=p.isError,t[21]=p.isPending,t[22]=d):d=t[22];let y;t[23]!==c||t[24]!==d?(y=r.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between border-b px-6",children:[c,d]}),t[23]=c,t[24]=d,t[25]=y):y=t[25];const N=X[a];let x;if(t[26]!==e||t[27]!==s||t[28]!==i||t[29]!==N){let l;t[31]!==e||t[32]!==s||t[33]!==i?(l=o=>r.jsx("div",{className:"space-y-2",children:o.widget==="image"?r.jsx(H,{schema:{type:"string",format:"image-uri",title:i(o.labelKey)},value:e[o.key],onChange:m=>s(o.key,m),path:o.key,label:i(o.labelKey)}):o.widget==="select"?r.jsxs(r.Fragment,{children:[r.jsx(I,{htmlFor:o.key,children:i(o.labelKey)}),r.jsxs(z,{value:F(e[o.key])||o.options?.[0]?.value,onValueChange:m=>s(o.key,m),children:[r.jsx(J,{id:o.key,className:"h-10 w-full",children:r.jsx(O,{placeholder:i(o.labelKey)})}),r.jsx(V,{children:(o.options??[]).map(m=>r.jsx($,{value:m.value,children:i(m.labelKey)},m.value))})]})]}):r.jsxs(r.Fragment,{children:[r.jsx(I,{htmlFor:o.key,children:i(o.labelKey)}),o.widget==="textarea"?r.jsx(D,{id:o.key,value:F(e[o.key]),onChange:m=>s(o.key,m.target.value),rows:3}):r.jsx(A,{id:o.key,value:F(e[o.key]),placeholder:o.placeholderKey?i(o.placeholderKey):void 0,onChange:m=>s(o.key,m.target.value),className:"h-10"})]})},o.key),t[31]=e,t[32]=s,t[33]=i,t[34]=l):l=t[34],x=N.map(l),t[26]=e,t[27]=s,t[28]=i,t[29]=N,t[30]=x}else x=t[30];let u;t[35]!==x?(u=r.jsx("div",{className:"min-w-0 flex-1 overflow-y-auto px-6 py-6",children:r.jsx("div",{className:"mx-auto max-w-xl space-y-6",children:x})}),t[35]=x,t[36]=u):u=t[36];let E;return t[37]!==y||t[38]!==u?(E=r.jsxs("div",{className:"flex h-full flex-col",children:[y,u]}),t[37]=y,t[38]=u,t[39]=E):E=t[39],E}export{qr as RecordEditor};
@@ -1,2 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-CpdnxiQT.js","assets/index-Bfy-Fe7V.js","assets/index-DJP7bbyy.css","assets/Tool02-CZZOjaKh.js","assets/CheckCircle-C9SAYY-W.js","assets/Settings02-DBlt8Mfk.js","assets/use-mcp-client-CMZDCFwV.js","assets/auth-BcPAS4K5.js","assets/useInfiniteQuery-DuCyL_is.js","assets/use-infinite-scroll-BMPCHIFs.js","assets/studio-tools-BBDHxwPb.js","assets/badge-CxlSzoE1.js","assets/input-BVD_WyXJ.js","assets/dropdown-menu-D3TVm231.js","assets/Check-CeB_ZeLq.js","assets/ChevronRight-Cux_llMB.js","assets/DotsVertical-9U5tOb04.js","assets/table-DwuSaCi4.js","assets/toggle-group-znNdMK--.js","assets/use-view-mode-Dgp9VTk6.js","assets/use-mobile-RWxooM53.js","assets/FilterLines-DZrlB4Kh.js","assets/Globe01-Cm-V-gHj.js","assets/SearchMd-DFwCvkV1.js","assets/dialog-7h2q_S_D.js","assets/X-CId2-nhW.js","assets/AlertCircle-BMPkNMGJ.js","assets/Upload01-mvF19nky.js","assets/metadata-dUsYcpuu.js","assets/alert-dialog-BgN-Tqd-.js","assets/card-GrGBYBXG.js","assets/Trash01-BCoCDH0H.js","assets/label-Dplc1_oE.js","assets/select-wwJ8EUoY.js","assets/tooltip-F9SMeJ-j.js","assets/ChevronDown-CGwhMiqT.js","assets/ChevronUp-3dsPU76D.js","assets/switch-CAjDqeuV.js","assets/textarea-BkOjJMTl.js","assets/ArrowLeft-Bo0FpGQs.js","assets/XCircle-DOtlBDfF.js","assets/checkbox-DjytOswq.js","assets/Eye-DXWAJYKq.js","assets/LinkExternal01-CLr9HZg0.js","assets/use-copy-C8wJsCEn.js","assets/Copy01-CXcHnxi0.js","assets/Key01-DY7yaq7L.js","assets/Plus-CGrXNe_q.js","assets/mcp-oauth-Bi0vxp4Q.js","assets/Play-B8V74CpU.js"])))=>i.map(i=>d[i]);
2
- import{c as i,j as e,r as s,k as a,aG as o}from"./index-Bfy-Fe7V.js";import{R as m}from"./require-capability-ATUore6a.js";import"./use-capability-DssZIcHp.js";import"./access-gate-C95F2WkH.js";import"./capability-load-error-BJPRtvi9.js";const n=s.lazy(()=>o(()=>import("./registry-layout-CpdnxiQT.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49])));function f(){const r=i.c(1);let t;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=e.jsx(m,{capability:"registry:manage",area:"the registry",children:e.jsx(s.Suspense,{fallback:e.jsx("div",{className:"flex-1 flex items-center justify-center",children:e.jsx(a,{size:20,className:"animate-spin text-muted-foreground"})}),children:e.jsx(n,{})})}),r[0]=t):t=r[0],t}export{f as default};
@@ -1,2 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-CpdnxiQT.js","assets/index-Bfy-Fe7V.js","assets/index-DJP7bbyy.css","assets/Tool02-CZZOjaKh.js","assets/CheckCircle-C9SAYY-W.js","assets/Settings02-DBlt8Mfk.js","assets/use-mcp-client-CMZDCFwV.js","assets/auth-BcPAS4K5.js","assets/useInfiniteQuery-DuCyL_is.js","assets/use-infinite-scroll-BMPCHIFs.js","assets/studio-tools-BBDHxwPb.js","assets/badge-CxlSzoE1.js","assets/input-BVD_WyXJ.js","assets/dropdown-menu-D3TVm231.js","assets/Check-CeB_ZeLq.js","assets/ChevronRight-Cux_llMB.js","assets/DotsVertical-9U5tOb04.js","assets/table-DwuSaCi4.js","assets/toggle-group-znNdMK--.js","assets/use-view-mode-Dgp9VTk6.js","assets/use-mobile-RWxooM53.js","assets/FilterLines-DZrlB4Kh.js","assets/Globe01-Cm-V-gHj.js","assets/SearchMd-DFwCvkV1.js","assets/dialog-7h2q_S_D.js","assets/X-CId2-nhW.js","assets/AlertCircle-BMPkNMGJ.js","assets/Upload01-mvF19nky.js","assets/metadata-dUsYcpuu.js","assets/alert-dialog-BgN-Tqd-.js","assets/card-GrGBYBXG.js","assets/Trash01-BCoCDH0H.js","assets/label-Dplc1_oE.js","assets/select-wwJ8EUoY.js","assets/tooltip-F9SMeJ-j.js","assets/ChevronDown-CGwhMiqT.js","assets/ChevronUp-3dsPU76D.js","assets/switch-CAjDqeuV.js","assets/textarea-BkOjJMTl.js","assets/ArrowLeft-Bo0FpGQs.js","assets/XCircle-DOtlBDfF.js","assets/checkbox-DjytOswq.js","assets/Eye-DXWAJYKq.js","assets/LinkExternal01-CLr9HZg0.js","assets/use-copy-C8wJsCEn.js","assets/Copy01-CXcHnxi0.js","assets/Key01-DY7yaq7L.js","assets/Plus-CGrXNe_q.js","assets/mcp-oauth-Bi0vxp4Q.js","assets/Play-B8V74CpU.js"])))=>i.map(i=>d[i]);
2
- import{c as m,d as n,f as c,j as t,k as f,r as l,aG as p}from"./index-Bfy-Fe7V.js";import{R as u}from"./require-capability-ATUore6a.js";import"./use-capability-DssZIcHp.js";import"./access-gate-C95F2WkH.js";import"./capability-load-error-BJPRtvi9.js";const g=l.lazy(()=>p(()=>import("./registry-layout-CpdnxiQT.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49])));function j(){const e=m.c(5),i=n();let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s={from:"/shell/$org"},e[0]=s):s=e[0];const{org:o}=c(s);let r;e[1]===Symbol.for("react.memo_cache_sentinel")?(r=t.jsx("div",{className:"h-full flex items-center justify-center",children:t.jsx(f,{size:20,className:"animate-spin text-muted-foreground"})}),e[1]=r):r=e[1];let a;return e[2]!==i||e[3]!==o?(a=t.jsx(u,{capability:"registry:manage",area:"the registry",children:t.jsx(l.Suspense,{fallback:r,children:t.jsx(g,{onBack:()=>i({to:"/$org/settings/store",params:{org:o}})})})}),e[2]=i,e[3]=o,e[4]=a):a=e[4],a}export{j as default};
@@ -1 +0,0 @@
1
- import{I as u}from"./use-infinite-scroll-BMPCHIFs.js";import{e5 as i}from"./index-Bfy-Fe7V.js";function t(e,r){return i(e,u,r)}export{t as u};
@@ -1 +0,0 @@
1
- import{I as s}from"./use-infinite-scroll-BMPCHIFs.js";import{e5 as u,b2 as n}from"./index-Bfy-Fe7V.js";function a(e,r){return u({...e,enabled:!0,suspense:!0,throwOnError:n},s,r)}export{a as u};