decocms 4.514.1 → 4.514.3

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 (386) hide show
  1. package/dist/client/assets/{ActiveShapeUtils-VLdZwTWH.js → ActiveShapeUtils-CdZfMwxg.js} +1 -1
  2. package/dist/client/assets/{AlertCircle-Chv0zwfM.js → AlertCircle-Xw5avZbK.js} +1 -1
  3. package/dist/client/assets/{AreaChart-xRBpMPmy.js → AreaChart-CLWCrMYY.js} +1 -1
  4. package/dist/client/assets/{ArrowLeft-P5MTc2kM.js → ArrowLeft-CRtiTyx5.js} +1 -1
  5. package/dist/client/assets/{ArrowUp-B9orjFiD.js → ArrowUp-ZBTt_tRr.js} +1 -1
  6. package/dist/client/assets/{BarChart-BLqplpUZ.js → BarChart-D55TXq6X.js} +1 -1
  7. package/dist/client/assets/{Building02-Bhj7SR-R.js → Building02-D3HlsVKC.js} +1 -1
  8. package/dist/client/assets/{CartesianChart-BjPyBEv_.js → CartesianChart-D756EFp0.js} +1 -1
  9. package/dist/client/assets/{CategoricalChart-sikMJnQl.js → CategoricalChart-B8XMBa4H.js} +1 -1
  10. package/dist/client/assets/{CheckCircle-BOOTvtN7.js → CheckCircle-C9KkL-ha.js} +1 -1
  11. package/dist/client/assets/{ChevronSelectorVertical-CKvNz838.js → ChevronSelectorVertical-Dn4fuoEm.js} +1 -1
  12. package/dist/client/assets/{ChevronUp-UOllpHWY.js → ChevronUp-DrJ4ZMnj.js} +1 -1
  13. package/dist/client/assets/{Copy01-CsZzLh_E.js → Copy01-pBwpFr5E.js} +1 -1
  14. package/dist/client/assets/{CreditCard01-Bji4icQZ.js → CreditCard01-BqcZfibd.js} +1 -1
  15. package/dist/client/assets/{DotsVertical-BaN_NJ8K.js → DotsVertical-F1dsSUur.js} +1 -1
  16. package/dist/client/assets/{ErrorBarContext-D_W32jld.js → ErrorBarContext-kB-oacQg.js} +1 -1
  17. package/dist/client/assets/{Globe04-BOt08kHg.js → Globe04-xGJ8qaSX.js} +1 -1
  18. package/dist/client/assets/{Image01-Ffg_Ow_R.js → Image01-Gj57XenJ.js} +1 -1
  19. package/dist/client/assets/{Key01-BVuT8y7b.js → Key01-CQzFU9Dd.js} +1 -1
  20. package/dist/client/assets/{Link01-Du3sgYhY.js → Link01-aU3GjxmN.js} +1 -1
  21. package/dist/client/assets/{LinkBroken01-D3nON0AT.js → LinkBroken01-BLwPVvDX.js} +1 -1
  22. package/dist/client/assets/{Minus-qI5XA_m8.js → Minus-zPVCXAO3.js} +1 -1
  23. package/dist/client/assets/{Monitor01-DPFmNrHU.js → Monitor01-ByAAH3lz.js} +1 -1
  24. package/dist/client/assets/{Play-CKRH5LhK.js → Play-Bx8RMer5.js} +1 -1
  25. package/dist/client/assets/{Plus-Dr-ysAIN.js → Plus-B9TUkipI.js} +1 -1
  26. package/dist/client/assets/{ReferenceLine-DTjjPG4Y.js → ReferenceLine-B1r94G-b.js} +1 -1
  27. package/dist/client/assets/{SearchMd-D_t1juud.js → SearchMd-Ck1yegxo.js} +1 -1
  28. package/dist/client/assets/{Sector-B0wid3BW.js → Sector-r77J6cjI.js} +1 -1
  29. package/dist/client/assets/{ShoppingBag01-CVVvTwrH.js → ShoppingBag01-Cg2jvTDh.js} +1 -1
  30. package/dist/client/assets/{Sun-Cgn1IQVJ.js → Sun-BMOc0yID.js} +1 -1
  31. package/dist/client/assets/{SwitchHorizontal01-CEx9qTgC.js → SwitchHorizontal01-CO62ORXj.js} +1 -1
  32. package/dist/client/assets/{Tool01-Dys7Z5ab.js → Tool01-Dt8T1J90.js} +1 -1
  33. package/dist/client/assets/{Trash01--FklAmhG.js → Trash01-B3jlnF7f.js} +1 -1
  34. package/dist/client/assets/{Upload01-BeT7SqGm.js → Upload01-C28VogbT.js} +1 -1
  35. package/dist/client/assets/{User01-C3IPjJ5l.js → User01-iHpAscCV.js} +1 -1
  36. package/dist/client/assets/{UserSquare-CaU54i61.js → UserSquare-C9OWQv6V.js} +1 -1
  37. package/dist/client/assets/{Users01-BZXT5qAC.js → Users01-CdNcgmGk.js} +1 -1
  38. package/dist/client/assets/{XClose-Cjrx49Z1.js → XClose-CyMpkfM0.js} +1 -1
  39. package/dist/client/assets/{ZoomOut-Bi4ExiY7.js → ZoomOut-BLFKARu6.js} +1 -1
  40. package/dist/client/assets/{access-gate-DMrwc1hr.js → access-gate-ONVQlUZQ.js} +1 -1
  41. package/dist/client/assets/{add-connection-dialog-CtRrIzJJ.js → add-connection-dialog-C21EMYEq.js} +1 -1
  42. package/dist/client/assets/{agent-analytics-Bnwy_Gqw.js → agent-analytics-BTDTho6I.js} +1 -1
  43. package/dist/client/assets/agent-app-BBkRMUvi.js +1 -0
  44. package/dist/client/assets/{agent-assets-DwMNxzbi.js → agent-assets-4trDm0V9.js} +1 -1
  45. package/dist/client/assets/{agent-automation-02Z5hyQu.js → agent-automation-Dja9Xowr.js} +1 -1
  46. package/dist/client/assets/{agent-automations-CFPQlvb2.js → agent-automations-z0VGGanW.js} +1 -1
  47. package/dist/client/assets/{agent-connect-sources-Iuxi1z0Z.js → agent-connect-sources-4z2Phf_7.js} +1 -1
  48. package/dist/client/assets/agent-deck-aEVb2JEC.js +1 -0
  49. package/dist/client/assets/{agent-e2e-CF9xjkgd.js → agent-e2e-BC3cW7KY.js} +1 -1
  50. package/dist/client/assets/{agent-experiments-CFFDp5bP.js → agent-experiments-EtHiIUkw.js} +1 -1
  51. package/dist/client/assets/{agent-file-BMs4cJrj.js → agent-file-Bs6dCKJk.js} +1 -1
  52. package/dist/client/assets/{agent-hosting-BkhWgDEP.js → agent-hosting-FbdebsND.js} +1 -1
  53. package/dist/client/assets/{agent-icon-sWZwj0Es.js → agent-icon-xbJdvE2q.js} +1 -1
  54. package/dist/client/assets/agent-library-file-BIMCM77C.js +1 -0
  55. package/dist/client/assets/agent-library-gEIQPKYq.js +1 -0
  56. package/dist/client/assets/{agent-monitor-5rJ2SPuO.js → agent-monitor-BDAqlG_O.js} +1 -1
  57. package/dist/client/assets/{agent-overview-c6SNk0le.js → agent-overview-C4eNQE5C.js} +1 -1
  58. package/dist/client/assets/{agent-releases-D570Q4Mh.js → agent-releases-DKUqaG24.js} +1 -1
  59. package/dist/client/assets/agent-settings-DpYov89t.js +1 -0
  60. package/dist/client/assets/agent-site-editor-code-BO8MC7Sk.js +2 -0
  61. package/dist/client/assets/agent-site-editor-content-ClWYw6Ft.js +1 -0
  62. package/dist/client/assets/agent-site-editor-preview-CURf68b-.js +1 -0
  63. package/dist/client/assets/{agent-site-editor-uS5XJ69l.js → agent-site-editor-xMS-R2aU.js} +1 -1
  64. package/dist/client/assets/agent-view-CCa9vpy_.js +1 -0
  65. package/dist/client/assets/{agent-view-guard-D6Xp5buw.js → agent-view-guard-3MeZ4aTa.js} +1 -1
  66. package/dist/client/assets/{agents-list-DOombnHa.js → agents-list-D4fToZPl.js} +1 -1
  67. package/dist/client/assets/{ai-providers-tmz_JP24.js → ai-providers-Bv6h-cB1.js} +1 -1
  68. package/dist/client/assets/{alert-VfejUnRf.js → alert-DudHXsvn.js} +1 -1
  69. package/dist/client/assets/{alert-dialog-XdiY2J_y.js → alert-dialog-CIQ4s-Lz.js} +1 -1
  70. package/dist/client/assets/{analytics-sections-ji2C2qln.js → analytics-sections-BNTSghIV.js} +1 -1
  71. package/dist/client/assets/api-keys-Dvlc_2u1.js +1 -0
  72. package/dist/client/assets/{api-keys-DGmfxaaK.js → api-keys-WRhPMB3h.js} +1 -1
  73. package/dist/client/assets/{app-editor-Cu9bylSk.js → app-editor-BSPpTZE1.js} +1 -1
  74. package/dist/client/assets/{asset-utils-CKM5FMXp.js → asset-utils-qR6LoJ_h.js} +1 -1
  75. package/dist/client/assets/{auth-CR47t1GM.js → auth-SJ5HA4qu.js} +1 -1
  76. package/dist/client/assets/{auth-catchall-B1w-i5RZ.js → auth-catchall-DIVLakgR.js} +1 -1
  77. package/dist/client/assets/{auth-entry-oRjY0cnq.js → auth-entry-BUpOhkkF.js} +1 -1
  78. package/dist/client/assets/{auth-split-layout-CiycErWO.js → auth-split-layout-DWmkPlv8.js} +1 -1
  79. package/dist/client/assets/{authenticate-and-persist-oauth-D5GDklWs.js → authenticate-and-persist-oauth-DcGS7xvq.js} +1 -1
  80. package/dist/client/assets/{automation-list-row-CCxYnaw4.js → automation-list-row-C6wkVVM2.js} +1 -1
  81. package/dist/client/assets/{automation-runs-CbO3I7fA.js → automation-runs-DK7hF2re.js} +1 -1
  82. package/dist/client/assets/{automations-DFS7mz__.js → automations-CWsbggve.js} +1 -1
  83. package/dist/client/assets/{autosend-DnRIvL7O.js → autosend-Bdq4AAOA.js} +1 -1
  84. package/dist/client/assets/{avatar-x6P8tYtf.js → avatar-DKhkCIxl.js} +1 -1
  85. package/dist/client/assets/{badge-0pHsypn4.js → badge-BaNfmuO8.js} +1 -1
  86. package/dist/client/assets/{block-document-D_lHlXH9.js → block-document-tHFQej1Z.js} +1 -1
  87. package/dist/client/assets/{blocks-preview-workspace-context--l_lynd7.js → blocks-preview-workspace-context-amn8EPjX.js} +1 -1
  88. package/dist/client/assets/{blocks-tab-states-llhicB0-.js → blocks-tab-states-WwOFnER9.js} +3 -3
  89. package/dist/client/assets/{blog-schema-XUQos-wQ.js → blog-schema-BTTXhi7Z.js} +1 -1
  90. package/dist/client/assets/{buckets-FE463cqq.js → buckets-BJR6Poi_.js} +1 -1
  91. package/dist/client/assets/{build-improve-prompt-doc-R7g2gEoJ.js → build-improve-prompt-doc-XpCWiano.js} +1 -1
  92. package/dist/client/assets/{calendar-Dt43s5dd.js → calendar-CmVMlvDW.js} +1 -1
  93. package/dist/client/assets/{capability-load-error-BwHvNdC3.js → capability-load-error-DLrFY0pE.js} +1 -1
  94. package/dist/client/assets/{category-editor-ChXNS4Vx.js → category-editor-H1K5WyX9.js} +1 -1
  95. package/dist/client/assets/{chart-BtbkFiWd.js → chart-svR9320_.js} +1 -1
  96. package/dist/client/assets/{chat-context-DHXBy843.js → chat-context-BD0enLRD.js} +1 -1
  97. package/dist/client/assets/{chat-draft-DZ2UGoju.js → chat-draft-DLtm127P.js} +1 -1
  98. package/dist/client/assets/{checkbox-J7NM8Nxa.js → checkbox-BkGN5Ij7.js} +1 -1
  99. package/dist/client/assets/{choose-editor-sfJnCc8D.js → choose-editor-Ce-r724F.js} +1 -1
  100. package/dist/client/assets/{cli-auth-success-C3tfQ2C3.js → cli-auth-success-B270ikNy.js} +1 -1
  101. package/dist/client/assets/{client-icons-Cv4YCEZF.js → client-icons-X70m8FwJ.js} +1 -1
  102. package/dist/client/assets/cms-settings-editor-LMTrsj8K.js +1 -0
  103. package/dist/client/assets/{collapsible-C5IcK6_6.js → collapsible-Cb8CG7AM.js} +1 -1
  104. package/dist/client/assets/{collection-detail-CE3RN1bQ.js → collection-detail-CtM9F6Yi.js} +1 -1
  105. package/dist/client/assets/{collection-display-button-XyzcBi3s.js → collection-display-button-CDOjaURj.js} +1 -1
  106. package/dist/client/assets/{collection-search-EaUyhqe3.js → collection-search-BHoJUV7e.js} +1 -1
  107. package/dist/client/assets/{collection-table-wrapper-AoIZEo7k.js → collection-table-wrapper-geIi8_Sw.js} +1 -1
  108. package/dist/client/assets/{collection-tabs-CvrE77Fy.js → collection-tabs-hk_1iOu3.js} +1 -1
  109. package/dist/client/assets/{column-rules-Uuv3kpod.js → column-rules-Cjr0B0gK.js} +1 -1
  110. package/dist/client/assets/{combobox-GJu0SOmd.js → combobox-BO9v7_al.js} +1 -1
  111. package/dist/client/assets/{coming-soon-page-C252kDGK.js → coming-soon-page-DnY9s-rA.js} +1 -1
  112. package/dist/client/assets/{command-CxL64Rh6.js → command-B5YgVfYV.js} +1 -1
  113. package/dist/client/assets/{companion-mcps-section-dLU7TCqp.js → companion-mcps-section-VfZSt4c3.js} +1 -1
  114. package/dist/client/assets/{config-MIIbcSQe.js → config-CpP-SJmf.js} +1 -1
  115. package/dist/client/assets/{connect-CPLWL7jD.js → connect-Dy8DjT_3.js} +1 -1
  116. package/dist/client/assets/{connect-layout-DKbxeOaE.js → connect-layout-CZtnL3s3.js} +1 -1
  117. package/dist/client/assets/{connection-card-Fd6iPvoW.js → connection-card-CYXWmIpu.js} +1 -1
  118. package/dist/client/assets/{connection-detail-2wc1W9tk.js → connection-detail-Cv9EiI-S.js} +1 -1
  119. package/dist/client/assets/{connection-form-helpers-Be0GZ2Fr.js → connection-form-helpers-v7Gk9RBI.js} +1 -1
  120. package/dist/client/assets/{connection-Dwyi3srb.js → connection-lL9WNaUM.js} +1 -1
  121. package/dist/client/assets/{connections-CXtzZLwk.js → connections-C-m4e4hC.js} +1 -1
  122. package/dist/client/assets/{content-tab-C6Yd-gaA.js → content-tab-D8CDOZFu.js} +3 -3
  123. package/dist/client/assets/{context-CTmvExSC.js → context-BKHuX3rA.js} +1 -1
  124. package/dist/client/assets/{context-menu-Sl80TmNB.js → context-menu-B99sLoxc.js} +1 -1
  125. package/dist/client/assets/{context-shell-Luc3_ZNi.js → context-shell-kEzbpVXI.js} +3 -3
  126. package/dist/client/assets/{core.esm-3Ntqpx6o.js → core.esm-B-vvH6U_.js} +1 -1
  127. package/dist/client/assets/{create-organization-dialog-Y8ioappi.js → create-organization-dialog-CYcyvXNd.js} +1 -1
  128. package/dist/client/assets/{daily-pulse-BokyOzAt.js → daily-pulse-DTK39nco.js} +1 -1
  129. package/dist/client/assets/{discover-NdJwdhLd.js → discover-4L6P_izP.js} +1 -1
  130. package/dist/client/assets/{domain-settings-DjKwxNmK.js → domain-settings-CwFmMnsp.js} +1 -1
  131. package/dist/client/assets/{drawer-2qaZT3bV.js → drawer-C8YZqwNU.js} +1 -1
  132. package/dist/client/assets/{editor-D4klHvzy.js → editor-BmGrPmWd.js} +1 -1
  133. package/dist/client/assets/{editor-classes-BBdx-JSY.js → editor-classes-DwAeqyV1.js} +1 -1
  134. package/dist/client/assets/{empty-state-CLeOp2iF.js → empty-state-Cms3wOkC.js} +1 -1
  135. package/dist/client/assets/{empty-state-kKu94zqY.js → empty-state-ZbW7XOFD.js} +1 -1
  136. package/dist/client/assets/{extract-connection-data-BRxw-vDj.js → extract-connection-data-IYfrzLhg.js} +1 -1
  137. package/dist/client/assets/{feature-gate-DtQbinUr.js → feature-gate-CG2VwwWi.js} +1 -1
  138. package/dist/client/assets/{feature-paywall-BvbLf2vN.js → feature-paywall-BpYhCDhe.js} +1 -1
  139. package/dist/client/assets/{file-explorer-CRhBeOh6.js → file-explorer-CLqD64AT.js} +1 -1
  140. package/dist/client/assets/{file-preview-sewMgnQS.js → file-preview-CN6BZe9N.js} +1 -1
  141. package/dist/client/assets/{file-share-button-CvBuOPBB.js → file-share-button-B_aulUCG.js} +1 -1
  142. package/dist/client/assets/{file-type-icon-L81OHsVz.js → file-type-icon-BT_upOOQ.js} +1 -1
  143. package/dist/client/assets/{folder-icon-yKBQ26US.js → folder-icon-Ce9JjNkO.js} +1 -1
  144. package/dist/client/assets/{form-oexeEAr5.js → form-0zQfcME1.js} +1 -1
  145. package/dist/client/assets/{general-DjPGqCh1.js → general-DJ2dQIWU.js} +1 -1
  146. package/dist/client/assets/{home-x3m8wBSJ.js → home-CZ3TorTS.js} +1 -1
  147. package/dist/client/assets/{hosted-publish-feedback-GSHWRd1_.js → hosted-publish-feedback-BhmPHGC1.js} +1 -1
  148. package/dist/client/assets/{icon-button-DfIZISrS.js → icon-button-Ceb9s98X.js} +1 -1
  149. package/dist/client/assets/{index-CiDUJoU5.js → index-6aoTvD2k.js} +1 -1
  150. package/dist/client/assets/{index-B50XV3gp.js → index-BOzfWC0j.js} +1 -1
  151. package/dist/client/assets/{index-DlkvGq_Y.js → index-BRDOglYB.js} +1 -1
  152. package/dist/client/assets/{index-CYAP4xje.js → index-BSNUKIdY.js} +1 -1
  153. package/dist/client/assets/{index-B-ZICxtp.js → index-BaYevbIv.js} +1 -1
  154. package/dist/client/assets/{index-rABmEORU.js → index-CKjmmN2q.js} +1 -1
  155. package/dist/client/assets/{index-DlxFtSYK.js → index-D01CNSUp.js} +1 -1
  156. package/dist/client/assets/{index-BAK2VowX.js → index-D1ExhSbK.js} +1 -1
  157. package/dist/client/assets/{index-BNHeiq0Q.js → index-DMeWvlKI.js} +1 -1
  158. package/dist/client/assets/{index-C0_wKyXa.js → index-DQn7IKTD.js} +1 -1
  159. package/dist/client/assets/{index-DwUSgMrk.js → index-DZmvRzpa.js} +31 -31
  160. package/dist/client/assets/{index-5UrkGUsp.js → index-DhP0NfMa.js} +1 -1
  161. package/dist/client/assets/{index-DpopmD-d.js → index-Gzzgsd4v.js} +1 -1
  162. package/dist/client/assets/{index-Cyd8Z3z7.js → index-c7CAL2jv.js} +1 -1
  163. package/dist/client/assets/{index-no3MX84i.js → index-lR3XPtRX.js} +1 -1
  164. package/dist/client/assets/{index-redirect-B1_VIFp-.js → index-redirect-Beb39sMw.js} +1 -1
  165. package/dist/client/assets/{infiniteQueryObserver-fD19WDlu.js → infiniteQueryObserver-DyhoCK-t.js} +1 -1
  166. package/dist/client/assets/{infra-billing-DeTird2m.js → infra-billing-DaF_KQcU.js} +1 -1
  167. package/dist/client/assets/{input-YsL3Z14x.js → input-BSIw0LEH.js} +1 -1
  168. package/dist/client/assets/{input-BcdjLg5X.js → input-DWCczbBZ.js} +3 -3
  169. package/dist/client/assets/{integration-icon-CGlpUTQF.js → integration-icon-p-7TYx5K.js} +1 -1
  170. package/dist/client/assets/{jira-icon-DpMHb8bf.js → jira-icon-Cqq8p3Nl.js} +1 -1
  171. package/dist/client/assets/{label-9iahSV8V.js → label-Cg6deWT_.js} +1 -1
  172. package/dist/client/assets/{layout-4cUTvlr5.js → layout-BJTmQ-qV.js} +1 -1
  173. package/dist/client/assets/{legacy-agents-deep-CE1ZIf89.js → legacy-agents-deep-CLWnuZog.js} +1 -1
  174. package/dist/client/assets/{legacy-main-redirect-BOOZ04G2.js → legacy-main-redirect-M0crlGVV.js} +1 -1
  175. package/dist/client/assets/library-OCCCr__1.js +1 -0
  176. package/dist/client/assets/{login-Di_zn9Rr.js → login-CUA-boqW.js} +1 -1
  177. package/dist/client/assets/{markdown-DQgkOB--.js → markdown-D8gxQimb.js} +2 -2
  178. package/dist/client/assets/{mcp-app-renderer-E0Rb-X88.js → mcp-app-renderer-DDd6FX5B.js} +1 -1
  179. package/dist/client/assets/{mcp-oauth-Bvn81zXq.js → mcp-oauth-DKeK8Nk2.js} +1 -1
  180. package/dist/client/assets/{mcp-oauth-DQ15yEaL.js → mcp-oauth-sYREX0g8.js} +1 -1
  181. package/dist/client/assets/{members-4brJt64W.js → members-CXVbCVJK.js} +1 -1
  182. package/dist/client/assets/{memory-C7XTx0yg.js → memory-DDKoHpnD.js} +1 -1
  183. package/dist/client/assets/{mini-report-page-Dd9QKBqa.js → mini-report-page-ClYSQn2n.js} +1 -1
  184. package/dist/client/assets/{mock-board-Ds2_Ixhv.js → mock-board-CxTbnv1o.js} +3 -3
  185. package/dist/client/assets/{monaco-editor-pm8M8s-N.js → monaco-editor-B2bJ-Eqz.js} +1 -1
  186. package/dist/client/assets/monitoring-MHNn-843.js +1 -0
  187. package/dist/client/assets/{monitoring-stats-row-DSg2pS6E.js → monitoring-stats-row-Bx_bnBJ1.js} +1 -1
  188. package/dist/client/assets/{multi-select-uR1MVHE3.js → multi-select-CB82ag4Z.js} +1 -1
  189. package/dist/client/assets/{mustache-Kcmg3c_A.js → mustache-CkrthWSN.js} +1 -1
  190. package/dist/client/assets/{new-project-dialog-zI2HVFQT.js → new-project-dialog-fuA-Gj0h.js} +1 -1
  191. package/dist/client/assets/{oauth-callback-B-8An67A.js → oauth-callback-95jl0IsS.js} +1 -1
  192. package/dist/client/assets/{oauth-callback-ai-provider-C2GrwmUm.js → oauth-callback-ai-provider-DBEH1iyi.js} +1 -1
  193. package/dist/client/assets/{onboarding-C5CJ17Jm.js → onboarding-DwULcBev.js} +1 -1
  194. package/dist/client/assets/{openai-conversation-B8Y0DM4W.js → openai-conversation-B_SeMqvD.js} +1 -1
  195. package/dist/client/assets/{optimistic-project-sidebar-views-DbcREcFy.js → optimistic-project-sidebar-views-DGpZf5v4.js} +1 -1
  196. package/dist/client/assets/{order-monitor-day-CkXiopdS.js → order-monitor-day-DM9FR-AU.js} +1 -1
  197. package/dist/client/assets/{organization-choice-BsHIbX2m.js → organization-choice-RIT0XAjx.js} +1 -1
  198. package/dist/client/assets/{orgs-CYS6Kjbu.js → orgs-CBjKEvcF.js} +1 -1
  199. package/dist/client/assets/{page-seo-form-DiFnoI3j.js → page-seo-form-BqdVX8F8.js} +1 -1
  200. package/dist/client/assets/{pair-BVAQv2mv.js → pair-DIXfGUQ-.js} +1 -1
  201. package/dist/client/assets/plan-CCu9ePN6.js +1 -0
  202. package/dist/client/assets/{plan-ladder-hFJpqSg5.js → plan-ladder-C3H9TnAW.js} +1 -1
  203. package/dist/client/assets/{popover-kKTDdvYS.js → popover-BhaAeUe3.js} +1 -1
  204. package/dist/client/assets/{post-calendar-fLDkPFOG.js → post-calendar-YA1vs0N_.js} +1 -1
  205. package/dist/client/assets/{post-editor-kAgu7v4k.js → post-editor-BFIdHYHF.js} +1 -1
  206. package/dist/client/assets/{preview-content-BmpJoYAF.js → preview-content-CSLaGBsw.js} +1 -1
  207. package/dist/client/assets/{preview-dialog-1doPIjMd.js → preview-dialog-npZjjezH.js} +1 -1
  208. package/dist/client/assets/{preview-panel-CD98bDar.js → preview-panel-BAK1_114.js} +1 -1
  209. package/dist/client/assets/{preview-tab-CNqKfb-E.js → preview-tab-BmJ5lvy5.js} +3 -3
  210. package/dist/client/assets/{product-picker-dialog-D5ZR-4jN.js → product-picker-dialog-Bp49rZcw.js} +1 -1
  211. package/dist/client/assets/{profile-Bx09OmQG.js → profile-BhTd8xPX.js} +1 -1
  212. package/dist/client/assets/{project-app-view-i9ZXlEA5.js → project-app-view-CvfGpj95.js} +1 -1
  213. package/dist/client/assets/{project-apps-DjY-pfpC.js → project-apps-BK3RvEKs.js} +1 -1
  214. package/dist/client/assets/{project-feed-AQtypsNP.js → project-feed-dwhzKucL.js} +1 -1
  215. package/dist/client/assets/{project-icon-DzYy4wKu.js → project-icon-CObMLd6k.js} +1 -1
  216. package/dist/client/assets/project-reports-sSfzGGlD.js +1 -0
  217. package/dist/client/assets/project-tasks-CGkytLn4.js +1 -0
  218. package/dist/client/assets/{projects-Bl4qWgcF.js → projects-C6VPqvOv.js} +1 -1
  219. package/dist/client/assets/{projects-empty-state-VSVQUIX3.js → projects-empty-state-DoNhKpfX.js} +1 -1
  220. package/dist/client/assets/{prompts-XJP0lHjx.js → prompts-BzUN-oHO.js} +1 -1
  221. package/dist/client/assets/record-editor-BPBZWeWy.js +1 -0
  222. package/dist/client/assets/{redirect-editor-zBgb8pHu.js → redirect-editor-COLLYslO.js} +1 -1
  223. package/dist/client/assets/{reports-BE9tpjsQ.js → reports--qeckjzQ.js} +1 -1
  224. package/dist/client/assets/reports-C9lGG9vM.js +1 -0
  225. package/dist/client/assets/{reports-onboarding-djvrypII.js → reports-onboarding-DWE6GRTZ.js} +1 -1
  226. package/dist/client/assets/{reports-tab-DTd-sN5F.js → reports-tab-DHTxCBPK.js} +2 -2
  227. package/dist/client/assets/{repositories-lD386pbK.js → repositories-BIX1oEp0.js} +1 -1
  228. package/dist/client/assets/repositories-CC0Tya9B.js +1 -0
  229. package/dist/client/assets/{repository-binding-Ctv5jACU.js → repository-binding-Crzce39j.js} +1 -1
  230. package/dist/client/assets/{repository-import-picker-DXFAIhGC.js → repository-import-picker-Dc-C4u06.js} +1 -1
  231. package/dist/client/assets/{repository-picker-C-87Ak81.js → repository-picker-CcfzDGVl.js} +1 -1
  232. package/dist/client/assets/{require-capability-BOhrH32F.js → require-capability-52b9Xp2K.js} +1 -1
  233. package/dist/client/assets/{required-auth-layout-BOZelCHP.js → required-auth-layout-Cv2nEUpp.js} +1 -1
  234. package/dist/client/assets/{reset-password-D_RSIa3W.js → reset-password-Dfa47yF2.js} +1 -1
  235. package/dist/client/assets/{resizable-CcGplCtq.js → resizable-CD7h3nN-.js} +1 -1
  236. package/dist/client/assets/{resolve-tab-icon-Dy1gZT8r.js → resolve-tab-icon-CqojFXag.js} +1 -1
  237. package/dist/client/assets/{review-settings-DJRBjChO.js → review-settings-BUPBoruP.js} +1 -1
  238. package/dist/client/assets/{roles-IPKUXurs.js → roles-Bf4orU_d.js} +1 -1
  239. package/dist/client/assets/{route-DkxQ33qF.js → route-BDPeidxF.js} +1 -1
  240. package/dist/client/assets/route-C9CXeVDD.js +1 -0
  241. package/dist/client/assets/{route-CEyEwTNJ.js → route-Cb_75el1.js} +1 -1
  242. package/dist/client/assets/{sandbox-lifecycle-context-B_iyl6NM.js → sandbox-lifecycle-context-5lhGd7lA.js} +1 -1
  243. package/dist/client/assets/{schema-C9VtMeBM.js → schema-DQCQDgpQ.js} +1 -1
  244. package/dist/client/assets/{schema-CIU-vy-M.js → schema-DdmMHuHI.js} +1 -1
  245. package/dist/client/assets/{scroll-area-BgPjdFUv.js → scroll-area-BeyMzs7n.js} +1 -1
  246. package/dist/client/assets/{search-input-6roNTbiB.js → search-input-XUsx69AG.js} +1 -1
  247. package/dist/client/assets/{search-toggle-6uVgZqDd.js → search-toggle-BOhPhSK9.js} +1 -1
  248. package/dist/client/assets/{secret-ciphertext-DFilJK15.js → secret-ciphertext-BNqU9z9-.js} +1 -1
  249. package/dist/client/assets/{secret-picker-DRod6Suz.js → secret-picker-BvSb3jCA.js} +1 -1
  250. package/dist/client/assets/{secrets-wckAePsp.js → secrets-Cy-u6BJs.js} +1 -1
  251. package/dist/client/assets/{sections-ogB-svMV.js → sections-BTgfE_FY.js} +1 -1
  252. package/dist/client/assets/{sections-editor-DvRXHJYg.js → sections-editor-BW17NeNz.js} +1 -1
  253. package/dist/client/assets/{select-DSSug2fd.js → select-Cbu3qvFl.js} +1 -1
  254. package/dist/client/assets/{select-model-qiewDWcs.js → select-model-VJ9lYH--.js} +1 -1
  255. package/dist/client/assets/{seo-editor-BTHpHgYq.js → seo-editor-BbRE4kYu.js} +1 -1
  256. package/dist/client/assets/{separator-RD1Gkb6T.js → separator-NxpCq_fX.js} +1 -1
  257. package/dist/client/assets/settings-tab-B6bx84Wa.js +1 -0
  258. package/dist/client/assets/{sheet-B-tTREXV.js → sheet-Bfbvz7qf.js} +1 -1
  259. package/dist/client/assets/{shell-layout-CCN75UAi.js → shell-layout-DIpfnUmp.js} +1 -1
  260. package/dist/client/assets/site-editor-CZkd2V57.js +1 -0
  261. package/dist/client/assets/{site-editor-toast-CWvkPJE7.js → site-editor-toast-DHoj9EWm.js} +1 -1
  262. package/dist/client/assets/{skills-BTCtj4sL.js → skills-AvplbaRb.js} +1 -1
  263. package/dist/client/assets/{slider-axq58KTi.js → slider-zXHlVo80.js} +1 -1
  264. package/dist/client/assets/{sortable.esm-DUpSK4fM.js → sortable.esm-B4CgDU9u.js} +1 -1
  265. package/dist/client/assets/{sso-DIJKG0Gf.js → sso-CQl3dHdZ.js} +1 -1
  266. package/dist/client/assets/{suggestion-Be-l0Vt9.js → suggestion-CYymZPPs.js} +1 -1
  267. package/dist/client/assets/{switch-CPLmKtep.js → switch-rXR8XB2Q.js} +1 -1
  268. package/dist/client/assets/{symbol-Bevi1KjX.js → symbol-CH4Xarnb.js} +1 -1
  269. package/dist/client/assets/{synced-repos-CDGSA9__.js → synced-repos-BgwXL9VR.js} +1 -1
  270. package/dist/client/assets/{tab-icon-glyph-DYfErhsy.js → tab-icon-glyph-O6qURAza.js} +1 -1
  271. package/dist/client/assets/{table-B1WNxn6C.js → table-sMkWni7I.js} +1 -1
  272. package/dist/client/assets/{tabs-CBoEFGVa.js → tabs-DfHCEpge.js} +1 -1
  273. package/dist/client/assets/{task-assignee-avatar-DNUvYoRs.js → task-assignee-avatar-CucOmObw.js} +1 -1
  274. package/dist/client/assets/{task-board-CDUMGTb-.js → task-board-CaPpwq32.js} +1 -1
  275. package/dist/client/assets/{task-route-BpUah0sB.js → task-route-gczEEfKl.js} +1 -1
  276. package/dist/client/assets/{task-status-Bxq1hmIf.js → task-status-Cr_5dDMU.js} +1 -1
  277. package/dist/client/assets/{taskboard-analytics-DiMdGRcj.js → taskboard-analytics-CKXys2LI.js} +1 -1
  278. package/dist/client/assets/tasks-BmTLaa9O.js +1 -0
  279. package/dist/client/assets/{tasks-C43XRe6P.js → tasks-BvctT5rM.js} +1 -1
  280. package/dist/client/assets/{textarea-CQ_TkrdE.js → textarea-CZJdW3O-.js} +1 -1
  281. package/dist/client/assets/{thread-analytics-D_JGJCHX.js → thread-analytics-CLfrgGOI.js} +1 -1
  282. package/dist/client/assets/{thread-intent-DYNUY6FR.js → thread-intent-DSMNbywp.js} +1 -1
  283. package/dist/client/assets/{thread-route-Cr8HKNDQ.js → thread-route-DRHV3UDV.js} +1 -1
  284. package/dist/client/assets/{thread-route-xZCxiRJg.js → thread-route-Raqfujtn.js} +1 -1
  285. package/dist/client/assets/{thread-sheet-body-CRJYPU36.js → thread-sheet-body-BfUatXJK.js} +1 -1
  286. package/dist/client/assets/{time-range-picker-CsKO958P.js → time-range-picker-DTgCqMGh.js} +1 -1
  287. package/dist/client/assets/{toggle-group-CaNHwi3W.js → toggle-group-UTtWLTMA.js} +1 -1
  288. package/dist/client/assets/{tool-namespace-D8-HQWQE.js → tool-namespace-7T90cyyj.js} +1 -1
  289. package/dist/client/assets/{toolbar-icon-button-pGWMZONn.js → toolbar-icon-button-COCtKkJg.js} +1 -1
  290. package/dist/client/assets/{tooltip-7xQKXZXx.js → tooltip-DqIKeyvv.js} +1 -1
  291. package/dist/client/assets/{tooltipContext-BM_DUTQp.js → tooltipContext-ByzabvwH.js} +1 -1
  292. package/dist/client/assets/{track-5WqIg6Tn.js → track-CE4a6gFB.js} +1 -1
  293. package/dist/client/assets/{types-DmsgcF8m.js → types-B6GvJCve.js} +1 -1
  294. package/dist/client/assets/{url-slug-CMhgSj9A.js → url-slug-BEfEZS0k.js} +1 -1
  295. package/dist/client/assets/{usage-stats-BKxLD2_l.js → usage-stats-DMw1RiCl.js} +1 -1
  296. package/dist/client/assets/{use-ai-providers-Dp4Hkjtx.js → use-ai-providers-Cz7SdI5U.js} +1 -1
  297. package/dist/client/assets/{use-automations-J0jLeJwk.js → use-automations-CaTMVisV.js} +1 -1
  298. package/dist/client/assets/{use-autosave-DmDY7YGA.js → use-autosave-Bp_9QeDf.js} +1 -1
  299. package/dist/client/assets/{use-chat-layout-state-DeeoSPAs.js → use-chat-layout-state-D7IRwgFk.js} +1 -1
  300. package/dist/client/assets/{use-clock-tick-C6h2MMIi.js → use-clock-tick-8d4UupB9.js} +1 -1
  301. package/dist/client/assets/{use-connect-companion-hQGadPnV.js → use-connect-companion-DbE19_P8.js} +1 -1
  302. package/dist/client/assets/{use-connection-mXOC3Xuo.js → use-connection-DYi1EUeB.js} +1 -1
  303. package/dist/client/assets/{use-content-sync-mkwV3WFd.js → use-content-sync-BtAVm9GD.js} +1 -1
  304. package/dist/client/assets/{use-copy-D9a2GtFe.js → use-copy-VmXJT7AS.js} +1 -1
  305. package/dist/client/assets/{use-create-virtual-mcp-DtlfKOSb.js → use-create-virtual-mcp-CpPYY-2s.js} +1 -1
  306. package/dist/client/assets/{use-date-fns-locale-Dv1VJI3I.js → use-date-fns-locale-BWpdNWSN.js} +1 -1
  307. package/dist/client/assets/{use-debounced-autosave-BZlwz5E9.js → use-debounced-autosave-C0gIW8oG.js} +1 -1
  308. package/dist/client/assets/{use-debounced-value-DJVnkGFg.js → use-debounced-value-BHvh2vK1.js} +1 -1
  309. package/dist/client/assets/{use-deco-credits-BCAKdpOu.js → use-deco-credits-tDSuXDrd.js} +1 -1
  310. package/dist/client/assets/{use-decopilot-events-DYkAp_m7.js → use-decopilot-events-CsYT9a26.js} +1 -1
  311. package/dist/client/assets/{use-delete-connection-C00H7ulN.js → use-delete-connection-C-ab1vbn.js} +1 -1
  312. package/dist/client/assets/{use-deployment-admin-ByxIcPI9.js → use-deployment-admin-DcCc-te9.js} +1 -1
  313. package/dist/client/assets/{use-fast-preview-draft-url-apL5qVv1.js → use-fast-preview-draft-url-D3EgtvLk.js} +1 -1
  314. package/dist/client/assets/{use-file-configs-DJCoczIU.js → use-file-configs-CjjzAc6B.js} +1 -1
  315. package/dist/client/assets/{use-inbox-feed-CgTcDvrj.js → use-inbox-feed-CyRYIVb_.js} +1 -1
  316. package/dist/client/assets/{use-infinite-scroll-AsnNIlBn.js → use-infinite-scroll-D9DYWBy4.js} +1 -1
  317. package/dist/client/assets/{use-join-requests-BJCQZeJg.js → use-join-requests-D5UEE0T2.js} +1 -1
  318. package/dist/client/assets/{use-main-panel-tabs-CwksoiNK.js → use-main-panel-tabs-lUwy-ryz.js} +1 -1
  319. package/dist/client/assets/{use-main-schema-v8-Cys0il1A.js → use-main-schema-v8-Cujn1YMI.js} +1 -1
  320. package/dist/client/assets/{use-mcp-auth-status-mE5X1aBV.js → use-mcp-auth-status-CS41_0JG.js} +1 -1
  321. package/dist/client/assets/{use-mcp-client-CvE7itXw.js → use-mcp-client-BT4RuJFS.js} +1 -1
  322. package/dist/client/assets/{use-mcp-prompts-B71f8Oap.js → use-mcp-prompts-BdL0ZvlI.js} +1 -1
  323. package/dist/client/assets/{use-mcp-tools-DT06t5rX.js → use-mcp-tools-Dg2LSBdw.js} +1 -1
  324. package/dist/client/assets/{use-members-CAjyx4dy.js → use-members-DU66LWQg.js} +1 -1
  325. package/dist/client/assets/{use-mobile-D6Ou0NEP.js → use-mobile-DOnhL90v.js} +1 -1
  326. package/dist/client/assets/{use-navigate-to-agent-DqPVTZYN.js → use-navigate-to-agent-DWedzlZm.js} +1 -1
  327. package/dist/client/assets/{use-open-billing-url-NfOqGe8U.js → use-open-billing-url-RxIqk0aK.js} +1 -1
  328. package/dist/client/assets/{use-org-auth-client-D54JUqPS.js → use-org-auth-client-13UwIiVz.js} +1 -1
  329. package/dist/client/assets/{use-org-fs-CnHNkGa0.js → use-org-fs-BsQu1cMm.js} +1 -1
  330. package/dist/client/assets/{use-org-repo-syncs-B-iMqLC4.js → use-org-repo-syncs-BpBt_M8G.js} +1 -1
  331. package/dist/client/assets/{use-org-sso-CWjER8s_.js → use-org-sso-CKiaLvrd.js} +1 -1
  332. package/dist/client/assets/{use-organization-roles-BaFyhF9z.js → use-organization-roles-DLFJYhmJ.js} +1 -1
  333. package/dist/client/assets/{use-organization-settings-B4xXaxr4.js → use-organization-settings-DNarTI0R.js} +1 -1
  334. package/dist/client/assets/{use-panel-navigate-CwRBX20z.js → use-panel-navigate-hoQ73K0X.js} +1 -1
  335. package/dist/client/assets/{use-project-native-view-presence-fFpbo52Y.js → use-project-native-view-presence-C1cVhpX7.js} +1 -1
  336. package/dist/client/assets/{use-project-scope-CwXHOags.js → use-project-scope-CKTzlmUI.js} +1 -1
  337. package/dist/client/assets/{use-recent-apps-Bm3Mq1hd.js → use-recent-apps-C71yvJNb.js} +1 -1
  338. package/dist/client/assets/{use-releases-COy4R50l.js → use-releases-D-YqCPLg.js} +1 -1
  339. package/dist/client/assets/{use-reports-diagnostic-Bf7x0h8K.js → use-reports-diagnostic-mzZhX--E.js} +1 -1
  340. package/dist/client/assets/{use-secrets-Db7kDjN7.js → use-secrets-G2i0J5bI.js} +1 -1
  341. package/dist/client/assets/{use-section-preview-base-yuSGDzoI.js → use-section-preview-base-BWDQ6AFY.js} +1 -1
  342. package/dist/client/assets/{use-sidebar-collapsed-2XEtdu2i.js → use-sidebar-collapsed-Dt98A6hq.js} +1 -1
  343. package/dist/client/assets/{use-tags-BPUktrrg.js → use-tags-lwxgkjaZ.js} +1 -1
  344. package/dist/client/assets/{use-task-board-analytics-Dt--SO4K.js → use-task-board-analytics-CwZtEcQw.js} +1 -1
  345. package/dist/client/assets/{use-task-board-events-DHmzNQpi.js → use-task-board-events-B4enp-5b.js} +1 -1
  346. package/dist/client/assets/{use-task-board-item-prs-DpiWhUD6.js → use-task-board-item-prs-DKfeK7Am.js} +1 -1
  347. package/dist/client/assets/{use-task-metadata-DJlGx95B.js → use-task-metadata-B8quLJSv.js} +1 -1
  348. package/dist/client/assets/{use-thread-analytics-RjdStU-G.js → use-thread-analytics-BLKE5cCp.js} +1 -1
  349. package/dist/client/assets/{use-thread-outputs-hOt5_FqT.js → use-thread-outputs-DJNF1vc_.js} +1 -1
  350. package/dist/client/assets/useInfiniteQuery-CGMAVpzD.js +1 -0
  351. package/dist/client/assets/{useQueries-CTk9HeNu.js → useQueries-CJc3gcf_.js} +1 -1
  352. package/dist/client/assets/useSuspenseInfiniteQuery-D7PzoPOt.js +1 -0
  353. package/dist/client/assets/{users-DSisYmgQ.js → users-DvesIcit.js} +1 -1
  354. package/dist/client/assets/{utils-BtlQk18r.js → utils-B__FoBpC.js} +1 -1
  355. package/dist/client/assets/{variant-calendar-DM6JVe9j.js → variant-calendar-CA5ytzTw.js} +1 -1
  356. package/dist/client/assets/{variant-draft-pointer-DGsbM6lw.js → variant-draft-pointer-CGDOT8ZU.js} +1 -1
  357. package/dist/client/assets/{virtual-mcp-C-TlHAqf.js → virtual-mcp-CAxNVU8y.js} +1 -1
  358. package/dist/client/assets/{watch-sse-pool-wUe9D5Rq.js → watch-sse-pool-Oks0hjJI.js} +1 -1
  359. package/dist/client/index.html +1 -1
  360. package/dist/server/server.js +512 -512
  361. package/package.json +1 -1
  362. package/dist/client/assets/agent-app-ZIqUjeyR.js +0 -1
  363. package/dist/client/assets/agent-deck-BbRRpKSj.js +0 -1
  364. package/dist/client/assets/agent-library-B-Wls_Sg.js +0 -1
  365. package/dist/client/assets/agent-library-file-wqWJ8B3w.js +0 -1
  366. package/dist/client/assets/agent-settings-B8J4yqzP.js +0 -1
  367. package/dist/client/assets/agent-site-editor-code-KKCPuRYa.js +0 -2
  368. package/dist/client/assets/agent-site-editor-content-lFAgfEzB.js +0 -1
  369. package/dist/client/assets/agent-site-editor-preview-BtpIiq0Q.js +0 -1
  370. package/dist/client/assets/agent-view-DV9c8H6A.js +0 -1
  371. package/dist/client/assets/api-keys-wu5nx6nR.js +0 -1
  372. package/dist/client/assets/cms-settings-editor-DfS-CnoD.js +0 -1
  373. package/dist/client/assets/library-BzLsSIpk.js +0 -1
  374. package/dist/client/assets/monitoring-GFsyOhLD.js +0 -1
  375. package/dist/client/assets/plan-CFOdn8Gq.js +0 -1
  376. package/dist/client/assets/project-reports-CkkyEEQq.js +0 -1
  377. package/dist/client/assets/project-tasks-C6uZ3VD_.js +0 -1
  378. package/dist/client/assets/record-editor-DQnsC6va.js +0 -1
  379. package/dist/client/assets/reports-BkHs6ceB.js +0 -1
  380. package/dist/client/assets/repositories-jscn92Gx.js +0 -1
  381. package/dist/client/assets/route-DYdh0lyb.js +0 -1
  382. package/dist/client/assets/settings-tab-_PnJc2CP.js +0 -1
  383. package/dist/client/assets/site-editor-59L0Aud8.js +0 -1
  384. package/dist/client/assets/tasks-D3vb1Iwc.js +0 -1
  385. package/dist/client/assets/useInfiniteQuery-DLjfiCcz.js +0 -1
  386. package/dist/client/assets/useSuspenseInfiniteQuery-DJIJLbRA.js +0 -1
@@ -1 +1 @@
1
- import{c as S,b as $,j as s,U as A,af as V,l as R,T as E,B as F,V as _,X as G}from"./index-DwUSgMrk.js";import{i as I,n as L}from"./ArrowUp-B9orjFiD.js";import{i as O,c as P,a as Y}from"./SwitchHorizontal01-CEx9qTgC.js";import{T as K,a as U,b as X,c as q}from"./tooltip-7xQKXZXx.js";import{a as H,T as z}from"./toggle-group-CaNHwi3W.js";import{B as J}from"./badge-0pHsypn4.js";const M=[];function ae(t){const e=S.c(36),{viewMode:i,onViewModeChange:j,sortKey:B,sortDirection:g,onSort:b,sortOptions:D,filters:k}=t,v=D===void 0?M:D,o=k===void 0?M:k,l=$();let N;e[0]!==o?(N=o.filter(W),e[0]=o,e[1]=N):N=e[1];const y=N.length;let r;e[2]!==l?(r=l("collections.collectionDisplayButton.displayAndFilters"),e[2]=l,e[3]=r):r=e[3];let w;e[4]===Symbol.for("react.memo_cache_sentinel")?(w=s.jsx(Y,{size:16}),e[4]=w):w=e[4];let n;e[5]!==y?(n=y>0&&s.jsx(J,{variant:"default",size:"sm",className:"absolute -top-1.5 -right-1.5 min-w-4",children:y}),e[5]=y,e[6]=n):n=e[6];let c;e[7]!==r||e[8]!==n?(c=s.jsx(K,{asChild:!0,children:s.jsx(E,{asChild:!0,children:s.jsxs(F,{variant:"outline",size:"icon",className:"relative","aria-label":r,children:[w,n]})})}),e[7]=r,e[8]=n,e[9]=c):c=e[9];let d;e[10]!==l?(d=l("collections.collectionDisplayButton.displayAndFilters"),e[10]=l,e[11]=d):d=e[11];let m;e[12]!==d?(m=s.jsx(U,{children:d}),e[12]=d,e[13]=m):m=e[13];let x;e[14]!==c||e[15]!==m?(x=s.jsx(X,{children:s.jsxs(q,{children:[c,m]})}),e[14]=c,e[15]=m,e[16]=x):x=e[16];let p;e[17]!==j||e[18]!==l||e[19]!==i?(p=j&&i&&s.jsx("div",{className:"p-2 border-b border-border",children:s.jsxs(H,{type:"single",variant:"segmented",size:"sm",className:"w-full",value:i,onValueChange:a=>{(a==="table"||a==="cards")&&j(a)},children:[s.jsx(z,{value:"table",tooltip:l("collections.collectionDisplayButton.tableView"),className:"flex-1",children:s.jsx(O,{})}),s.jsx(z,{value:"cards",tooltip:l("collections.collectionDisplayButton.cardsView"),className:"flex-1",children:s.jsx(P,{})})]})}),e[17]=j,e[18]=l,e[19]=i,e[20]=p):p=e[20];let u;e[21]!==b||e[22]!==g||e[23]!==B||e[24]!==v||e[25]!==l?(u=v.length>0&&b&&s.jsxs("div",{className:"p-1 flex flex-col gap-0.5 border-b border-border",children:[s.jsx("div",{className:"px-2 py-1.5 font-normal text-meta",children:l("collections.collectionDisplayButton.sortBy")}),v.map(a=>{const C=B===a.id;return s.jsx(A,{onClick:()=>b(a.id),className:R("h-8 px-2 py-0 cursor-pointer",C&&"bg-accent"),children:s.jsxs("div",{className:"flex items-center gap-2 w-full",children:[C&&s.jsx(V,{size:16,className:"text-foreground shrink-0"}),!C&&s.jsx("div",{className:"w-4 shrink-0"}),s.jsx("span",{className:"text-sm text-foreground flex-1",children:a.label}),C&&g&&(g==="asc"?s.jsx(I,{size:16,className:"text-foreground shrink-0"}):s.jsx(L,{size:16,className:"text-foreground shrink-0"}))]})},a.id)})]}),e[21]=b,e[22]=g,e[23]=B,e[24]=v,e[25]=l,e[26]=u):u=e[26];let f;e[27]!==o?(f=o.map(Q),e[27]=o,e[28]=f):f=e[28];let h;e[29]!==p||e[30]!==u||e[31]!==f?(h=s.jsxs(_,{align:"end",className:"w-[200px] p-0 gap-0",children:[p,u,f]}),e[29]=p,e[30]=u,e[31]=f,e[32]=h):h=e[32];let T;return e[33]!==x||e[34]!==h?(T=s.jsxs(G,{children:[x,h]}),e[33]=x,e[34]=h,e[35]=T):T=e[35],T}function Q(t){return s.jsxs("div",{className:"p-1 flex flex-col gap-0.5 border-b border-border last:border-b-0",children:[s.jsx("div",{className:"px-2 py-1.5 font-normal text-meta",children:t.label}),t.options.map(e=>{const i=t.value===e.id;return s.jsx(A,{onClick:()=>t.onChange(e.id),className:R("h-8 px-2 py-0 cursor-pointer",i&&"bg-accent"),children:s.jsxs("div",{className:"flex items-center gap-2 w-full",children:[i&&s.jsx(V,{size:16,className:"text-foreground shrink-0"}),!i&&s.jsx("div",{className:"w-4 shrink-0"}),s.jsx("span",{className:"text-sm text-foreground flex-1",children:e.label})]})},e.id)})]},t.label)}function W(t){return t.value!=="ALL"}export{ae as C};
1
+ import{c as S,b as $,j as s,U as A,af as V,l as R,T as E,B as F,V as _,X as G}from"./index-DZmvRzpa.js";import{i as I,n as L}from"./ArrowUp-ZBTt_tRr.js";import{i as O,c as P,a as Y}from"./SwitchHorizontal01-CO62ORXj.js";import{T as K,a as U,b as X,c as q}from"./tooltip-DqIKeyvv.js";import{a as H,T as z}from"./toggle-group-UTtWLTMA.js";import{B as J}from"./badge-BaNfmuO8.js";const M=[];function ae(t){const e=S.c(36),{viewMode:i,onViewModeChange:j,sortKey:B,sortDirection:g,onSort:b,sortOptions:D,filters:k}=t,v=D===void 0?M:D,o=k===void 0?M:k,l=$();let N;e[0]!==o?(N=o.filter(W),e[0]=o,e[1]=N):N=e[1];const y=N.length;let r;e[2]!==l?(r=l("collections.collectionDisplayButton.displayAndFilters"),e[2]=l,e[3]=r):r=e[3];let w;e[4]===Symbol.for("react.memo_cache_sentinel")?(w=s.jsx(Y,{size:16}),e[4]=w):w=e[4];let n;e[5]!==y?(n=y>0&&s.jsx(J,{variant:"default",size:"sm",className:"absolute -top-1.5 -right-1.5 min-w-4",children:y}),e[5]=y,e[6]=n):n=e[6];let c;e[7]!==r||e[8]!==n?(c=s.jsx(K,{asChild:!0,children:s.jsx(E,{asChild:!0,children:s.jsxs(F,{variant:"outline",size:"icon",className:"relative","aria-label":r,children:[w,n]})})}),e[7]=r,e[8]=n,e[9]=c):c=e[9];let d;e[10]!==l?(d=l("collections.collectionDisplayButton.displayAndFilters"),e[10]=l,e[11]=d):d=e[11];let m;e[12]!==d?(m=s.jsx(U,{children:d}),e[12]=d,e[13]=m):m=e[13];let x;e[14]!==c||e[15]!==m?(x=s.jsx(X,{children:s.jsxs(q,{children:[c,m]})}),e[14]=c,e[15]=m,e[16]=x):x=e[16];let p;e[17]!==j||e[18]!==l||e[19]!==i?(p=j&&i&&s.jsx("div",{className:"p-2 border-b border-border",children:s.jsxs(H,{type:"single",variant:"segmented",size:"sm",className:"w-full",value:i,onValueChange:a=>{(a==="table"||a==="cards")&&j(a)},children:[s.jsx(z,{value:"table",tooltip:l("collections.collectionDisplayButton.tableView"),className:"flex-1",children:s.jsx(O,{})}),s.jsx(z,{value:"cards",tooltip:l("collections.collectionDisplayButton.cardsView"),className:"flex-1",children:s.jsx(P,{})})]})}),e[17]=j,e[18]=l,e[19]=i,e[20]=p):p=e[20];let u;e[21]!==b||e[22]!==g||e[23]!==B||e[24]!==v||e[25]!==l?(u=v.length>0&&b&&s.jsxs("div",{className:"p-1 flex flex-col gap-0.5 border-b border-border",children:[s.jsx("div",{className:"px-2 py-1.5 font-normal text-meta",children:l("collections.collectionDisplayButton.sortBy")}),v.map(a=>{const C=B===a.id;return s.jsx(A,{onClick:()=>b(a.id),className:R("h-8 px-2 py-0 cursor-pointer",C&&"bg-accent"),children:s.jsxs("div",{className:"flex items-center gap-2 w-full",children:[C&&s.jsx(V,{size:16,className:"text-foreground shrink-0"}),!C&&s.jsx("div",{className:"w-4 shrink-0"}),s.jsx("span",{className:"text-sm text-foreground flex-1",children:a.label}),C&&g&&(g==="asc"?s.jsx(I,{size:16,className:"text-foreground shrink-0"}):s.jsx(L,{size:16,className:"text-foreground shrink-0"}))]})},a.id)})]}),e[21]=b,e[22]=g,e[23]=B,e[24]=v,e[25]=l,e[26]=u):u=e[26];let f;e[27]!==o?(f=o.map(Q),e[27]=o,e[28]=f):f=e[28];let h;e[29]!==p||e[30]!==u||e[31]!==f?(h=s.jsxs(_,{align:"end",className:"w-[200px] p-0 gap-0",children:[p,u,f]}),e[29]=p,e[30]=u,e[31]=f,e[32]=h):h=e[32];let T;return e[33]!==x||e[34]!==h?(T=s.jsxs(G,{children:[x,h]}),e[33]=x,e[34]=h,e[35]=T):T=e[35],T}function Q(t){return s.jsxs("div",{className:"p-1 flex flex-col gap-0.5 border-b border-border last:border-b-0",children:[s.jsx("div",{className:"px-2 py-1.5 font-normal text-meta",children:t.label}),t.options.map(e=>{const i=t.value===e.id;return s.jsx(A,{onClick:()=>t.onChange(e.id),className:R("h-8 px-2 py-0 cursor-pointer",i&&"bg-accent"),children:s.jsxs("div",{className:"flex items-center gap-2 w-full",children:[i&&s.jsx(V,{size:16,className:"text-foreground shrink-0"}),!i&&s.jsx("div",{className:"w-4 shrink-0"}),s.jsx("span",{className:"text-sm text-foreground flex-1",children:e.label})]})},e.id)})]},t.label)}function W(t){return t.value!=="ALL"}export{ae as C};
@@ -1 +1 @@
1
- import{c as v,l as b,j as a,h as w}from"./index-DwUSgMrk.js";import{i as C}from"./SearchMd-D_t1juud.js";function y(j){const e=v.c(21),{value:d,onChange:m,placeholder:g,onKeyDown:x,className:u,isSearching:f,disabled:i}=j,h=g===void 0?"Search...":g;let t;e[0]!==u?(t=b("shrink-0 w-full border-b border-border h-12",u),e[0]=u,e[1]=t):t=e[1];const p=i?"cursor-not-allowed opacity-50":"cursor-text";let s;e[2]!==p?(s=b("flex items-center gap-2.5 h-12 px-4",p),e[2]=p,e[3]=s):s=e[3];let l;e[4]!==f?(l=f?a.jsx(w,{className:"size-4 text-muted-foreground shrink-0"}):a.jsx(C,{size:16,className:"text-muted-foreground shrink-0"}),e[4]=f,e[5]=l):l=e[5];let r;e[6]!==m?(r=N=>m(N.target.value),e[6]=m,e[7]=r):r=e[7];let o;e[8]!==i||e[9]!==x||e[10]!==h||e[11]!==r||e[12]!==d?(o=a.jsx("input",{type:"text",value:d,onChange:r,onKeyDown:x,placeholder:h,disabled:i,className:"flex-1 min-w-0 bg-transparent text-sm text-foreground placeholder:text-muted-foreground/50 outline-none"}),e[8]=i,e[9]=x,e[10]=h,e[11]=r,e[12]=d,e[13]=o):o=e[13];let n;e[14]!==s||e[15]!==l||e[16]!==o?(n=a.jsxs("label",{className:s,children:[l,o]}),e[14]=s,e[15]=l,e[16]=o,e[17]=n):n=e[17];let c;return e[18]!==t||e[19]!==n?(c=a.jsx("div",{className:t,children:n}),e[18]=t,e[19]=n,e[20]=c):c=e[20],c}export{y as C};
1
+ import{c as v,l as b,j as a,h as w}from"./index-DZmvRzpa.js";import{i as C}from"./SearchMd-Ck1yegxo.js";function y(j){const e=v.c(21),{value:d,onChange:m,placeholder:g,onKeyDown:x,className:u,isSearching:f,disabled:i}=j,h=g===void 0?"Search...":g;let t;e[0]!==u?(t=b("shrink-0 w-full border-b border-border h-12",u),e[0]=u,e[1]=t):t=e[1];const p=i?"cursor-not-allowed opacity-50":"cursor-text";let s;e[2]!==p?(s=b("flex items-center gap-2.5 h-12 px-4",p),e[2]=p,e[3]=s):s=e[3];let l;e[4]!==f?(l=f?a.jsx(w,{className:"size-4 text-muted-foreground shrink-0"}):a.jsx(C,{size:16,className:"text-muted-foreground shrink-0"}),e[4]=f,e[5]=l):l=e[5];let r;e[6]!==m?(r=N=>m(N.target.value),e[6]=m,e[7]=r):r=e[7];let o;e[8]!==i||e[9]!==x||e[10]!==h||e[11]!==r||e[12]!==d?(o=a.jsx("input",{type:"text",value:d,onChange:r,onKeyDown:x,placeholder:h,disabled:i,className:"flex-1 min-w-0 bg-transparent text-sm text-foreground placeholder:text-muted-foreground/50 outline-none"}),e[8]=i,e[9]=x,e[10]=h,e[11]=r,e[12]=d,e[13]=o):o=e[13];let n;e[14]!==s||e[15]!==l||e[16]!==o?(n=a.jsxs("label",{className:s,children:[l,o]}),e[14]=s,e[15]=l,e[16]=o,e[17]=n):n=e[17];let c;return e[18]!==t||e[19]!==n?(c=a.jsx("div",{className:t,children:n}),e[18]=t,e[19]=n,e[20]=c):c=e[20],c}export{y as C};
@@ -1 +1 @@
1
- import{c as S,j as n,l as y,b as D}from"./index-DwUSgMrk.js";import{T as I,a as R,b as k,c as E,d as H,e as K}from"./table-B1WNxn6C.js";import{i as W,n as z}from"./ArrowUp-B9orjFiD.js";function L(C){const e=S.c(31),{columns:l,data:x,sortKey:u,sortDirection:i,onSort:c,onRowClick:o,rowClassName:f}=C;let p;e[0]!==i?(p=function(t,b){return n.jsx("div",{className:"w-4 flex items-center justify-center",children:b&&i&&(i==="asc"?n.jsx(W,{size:16,className:"text-muted-foreground transition-colors"}):n.jsx(z,{size:16,className:"text-muted-foreground transition-colors"}))})},e[0]=i,e[1]=p):p=e[1];const h=p;let d;e[2]===Symbol.for("react.memo_cache_sentinel")?(d=function(t,b){let v="px-4 py-2 text-left font-normal text-meta h-9";return t===b-1&&(v="px-4 py-2 text-left font-normal text-meta h-9 w-8"),v},e[2]=d):d=e[2];const g=d;let s;if(e[3]!==l||e[4]!==c||e[5]!==h||e[6]!==i||e[7]!==u){let m;e[9]!==l.length||e[10]!==c||e[11]!==h||e[12]!==i||e[13]!==u?(m=(t,b)=>{const v=u===t.id,r=t.sortable&&c;return n.jsx(I,{className:y(g(b,l.length),"group transition-colors select-none",t.sortable&&"hover:bg-accent cursor-pointer",t.rowClassName,t.cellClassName),"aria-sort":v&&i?i==="asc"?"ascending":"descending":t.sortable?"none":void 0,role:r?"button":void 0,tabIndex:r?0:void 0,onClick:r?()=>c(t.id):void 0,onKeyDown:r?T=>{(T.key==="Enter"||T.key===" ")&&(T.preventDefault(),c(t.id))}:void 0,children:n.jsxs("span",{className:"flex items-center gap-1",children:[t.header,t.sortable&&h(t.id,v)]})},t.id)},e[9]=l.length,e[10]=c,e[11]=h,e[12]=i,e[13]=u,e[14]=m):m=e[14],s=l.map(m),e[3]=l,e[4]=c,e[5]=h,e[6]=i,e[7]=u,e[8]=s}else s=e[8];let a;e[15]!==s?(a=n.jsx(R,{className:"border-b-0",children:n.jsx(k,{className:"h-9 hover:bg-transparent border-b border-border",children:s})}),e[15]=s,e[16]=a):a=e[16];let j;if(e[17]!==l||e[18]!==x||e[19]!==o||e[20]!==f){let m;e[22]!==l||e[23]!==o||e[24]!==f?(m=(t,b)=>{const v=f?.(t);return n.jsx(k,{"data-row-index":b,className:y("group/data-row transition-colors border-b-0 hover:bg-accent",o?"cursor-pointer":"",v),role:o?"button":void 0,tabIndex:o?0:void 0,onClick:o?()=>o(t):void 0,onKeyDown:o?r=>{(r.key==="Enter"||r.key===" ")&&(r.preventDefault(),o(t))}:void 0,children:l.map(r=>n.jsx(E,{className:y("px-5 py-4 h-16 align-middle text-sm text-foreground",r.cellClassName,r.wrap?"whitespace-normal wrap-break-word":""),children:n.jsx("div",{className:y(r.wrap?"w-full":"min-w-0",!r.wrap&&"-m-0.5 truncate overflow-hidden whitespace-nowrap p-0.5"),children:r.render?r.render(t):r.accessor?r.accessor(t):null})},r.id))},b)},e[22]=l,e[23]=o,e[24]=f,e[25]=m):m=e[25],j=x.map(m),e[17]=l,e[18]=x,e[19]=o,e[20]=f,e[21]=j}else j=e[21];let N;e[26]!==j?(N=n.jsx(H,{children:j}),e[26]=j,e[27]=N):N=e[27];let w;return e[28]!==a||e[29]!==N?(w=n.jsxs(K,{className:"w-full border-collapse",children:[a,N]}),e[28]=a,e[29]=N,e[30]=w):w=e[30],w}function F(C){const e=S.c(16),{columns:l,data:x,isLoading:u,sortKey:i,sortDirection:c,onSort:o,onRowClick:f,emptyState:p}=C,h=u===void 0?!1:u,d=D();if(h){let s;e[0]!==d?(s=d("collections.collectionTableWrapper.loading"),e[0]=d,e[1]=s):s=e[1];let a;return e[2]!==s?(a=n.jsx("div",{className:"flex items-center justify-center h-full",children:n.jsx("div",{className:"text-muted-foreground",children:s})}),e[2]=s,e[3]=a):a=e[3],a}if(x.length===0){let s;e[4]!==p||e[5]!==d?(s=p||n.jsx("div",{className:"text-center py-12 text-muted-foreground",children:d("collections.collectionTableWrapper.noItemsFound")}),e[4]=p,e[5]=d,e[6]=s):s=e[6];let a;return e[7]!==s?(a=n.jsx("div",{className:"flex items-center justify-center h-full",children:s}),e[7]=s,e[8]=a):a=e[8],a}let g;return e[9]!==l||e[10]!==x||e[11]!==f||e[12]!==o||e[13]!==c||e[14]!==i?(g=n.jsx("div",{className:"flex-1",children:n.jsx(L,{columns:l,data:x,sortKey:i,sortDirection:c,onSort:o,onRowClick:f})}),e[9]=l,e[10]=x,e[11]=f,e[12]=o,e[13]=c,e[14]=i,e[15]=g):g=e[15],g}export{F as C};
1
+ import{c as S,j as n,l as y,b as D}from"./index-DZmvRzpa.js";import{T as I,a as R,b as k,c as E,d as H,e as K}from"./table-sMkWni7I.js";import{i as W,n as z}from"./ArrowUp-ZBTt_tRr.js";function L(C){const e=S.c(31),{columns:l,data:x,sortKey:u,sortDirection:i,onSort:c,onRowClick:o,rowClassName:f}=C;let p;e[0]!==i?(p=function(t,b){return n.jsx("div",{className:"w-4 flex items-center justify-center",children:b&&i&&(i==="asc"?n.jsx(W,{size:16,className:"text-muted-foreground transition-colors"}):n.jsx(z,{size:16,className:"text-muted-foreground transition-colors"}))})},e[0]=i,e[1]=p):p=e[1];const h=p;let d;e[2]===Symbol.for("react.memo_cache_sentinel")?(d=function(t,b){let v="px-4 py-2 text-left font-normal text-meta h-9";return t===b-1&&(v="px-4 py-2 text-left font-normal text-meta h-9 w-8"),v},e[2]=d):d=e[2];const g=d;let s;if(e[3]!==l||e[4]!==c||e[5]!==h||e[6]!==i||e[7]!==u){let m;e[9]!==l.length||e[10]!==c||e[11]!==h||e[12]!==i||e[13]!==u?(m=(t,b)=>{const v=u===t.id,r=t.sortable&&c;return n.jsx(I,{className:y(g(b,l.length),"group transition-colors select-none",t.sortable&&"hover:bg-accent cursor-pointer",t.rowClassName,t.cellClassName),"aria-sort":v&&i?i==="asc"?"ascending":"descending":t.sortable?"none":void 0,role:r?"button":void 0,tabIndex:r?0:void 0,onClick:r?()=>c(t.id):void 0,onKeyDown:r?T=>{(T.key==="Enter"||T.key===" ")&&(T.preventDefault(),c(t.id))}:void 0,children:n.jsxs("span",{className:"flex items-center gap-1",children:[t.header,t.sortable&&h(t.id,v)]})},t.id)},e[9]=l.length,e[10]=c,e[11]=h,e[12]=i,e[13]=u,e[14]=m):m=e[14],s=l.map(m),e[3]=l,e[4]=c,e[5]=h,e[6]=i,e[7]=u,e[8]=s}else s=e[8];let a;e[15]!==s?(a=n.jsx(R,{className:"border-b-0",children:n.jsx(k,{className:"h-9 hover:bg-transparent border-b border-border",children:s})}),e[15]=s,e[16]=a):a=e[16];let j;if(e[17]!==l||e[18]!==x||e[19]!==o||e[20]!==f){let m;e[22]!==l||e[23]!==o||e[24]!==f?(m=(t,b)=>{const v=f?.(t);return n.jsx(k,{"data-row-index":b,className:y("group/data-row transition-colors border-b-0 hover:bg-accent",o?"cursor-pointer":"",v),role:o?"button":void 0,tabIndex:o?0:void 0,onClick:o?()=>o(t):void 0,onKeyDown:o?r=>{(r.key==="Enter"||r.key===" ")&&(r.preventDefault(),o(t))}:void 0,children:l.map(r=>n.jsx(E,{className:y("px-5 py-4 h-16 align-middle text-sm text-foreground",r.cellClassName,r.wrap?"whitespace-normal wrap-break-word":""),children:n.jsx("div",{className:y(r.wrap?"w-full":"min-w-0",!r.wrap&&"-m-0.5 truncate overflow-hidden whitespace-nowrap p-0.5"),children:r.render?r.render(t):r.accessor?r.accessor(t):null})},r.id))},b)},e[22]=l,e[23]=o,e[24]=f,e[25]=m):m=e[25],j=x.map(m),e[17]=l,e[18]=x,e[19]=o,e[20]=f,e[21]=j}else j=e[21];let N;e[26]!==j?(N=n.jsx(H,{children:j}),e[26]=j,e[27]=N):N=e[27];let w;return e[28]!==a||e[29]!==N?(w=n.jsxs(K,{className:"w-full border-collapse",children:[a,N]}),e[28]=a,e[29]=N,e[30]=w):w=e[30],w}function F(C){const e=S.c(16),{columns:l,data:x,isLoading:u,sortKey:i,sortDirection:c,onSort:o,onRowClick:f,emptyState:p}=C,h=u===void 0?!1:u,d=D();if(h){let s;e[0]!==d?(s=d("collections.collectionTableWrapper.loading"),e[0]=d,e[1]=s):s=e[1];let a;return e[2]!==s?(a=n.jsx("div",{className:"flex items-center justify-center h-full",children:n.jsx("div",{className:"text-muted-foreground",children:s})}),e[2]=s,e[3]=a):a=e[3],a}if(x.length===0){let s;e[4]!==p||e[5]!==d?(s=p||n.jsx("div",{className:"text-center py-12 text-muted-foreground",children:d("collections.collectionTableWrapper.noItemsFound")}),e[4]=p,e[5]=d,e[6]=s):s=e[6];let a;return e[7]!==s?(a=n.jsx("div",{className:"flex items-center justify-center h-full",children:s}),e[7]=s,e[8]=a):a=e[8],a}let g;return e[9]!==l||e[10]!==x||e[11]!==f||e[12]!==o||e[13]!==c||e[14]!==i?(g=n.jsx("div",{className:"flex-1",children:n.jsx(L,{columns:l,data:x,sortKey:i,sortDirection:c,onSort:o,onRowClick:f})}),e[9]=l,e[10]=x,e[11]=f,e[12]=o,e[13]=c,e[14]=i,e[15]=g):g=e[15],g}export{F as C};
@@ -1 +1 @@
1
- import{c as b,j as r,n as p,P as j,l as h}from"./index-DwUSgMrk.js";import{B as v}from"./badge-0pHsypn4.js";function P(g){const e=b.c(13),{tabs:d,activeTab:o,onTabChange:s,className:m,placement:u}=g,f=u===void 0?"inline":u;let t;if(e[0]!==o||e[1]!==s||e[2]!==d){let c;e[4]!==o||e[5]!==s?(c=n=>{const x=o===n.id;return r.jsxs(p.Tab,{active:x,onClick:()=>s(n.id),children:[n.label,n.count!==void 0&&r.jsx(v,{variant:"secondary",className:h("h-5 min-w-5 px-1 rounded-full text-2xs font-mono inline-flex items-center justify-center",x?"bg-background text-foreground":"bg-muted-foreground/10 text-muted-foreground"),children:n.count})]},n.id)},e[4]=o,e[5]=s,e[6]=c):c=e[6],t=d.map(c),e[0]=o,e[1]=s,e[2]=d,e[3]=t}else t=e[3];let l;e[7]!==m||e[8]!==t?(l=r.jsx(p.Tabs,{className:m,children:t}),e[7]=m,e[8]=t,e[9]=l):l=e[9];const i=l;let a;return e[10]!==i||e[11]!==f?(a=f==="page"?r.jsx(j.Toolbar.Left.Portal,{fallback:i,children:i}):i,e[10]=i,e[11]=f,e[12]=a):a=e[12],a}export{P as C};
1
+ import{c as b,j as r,n as p,P as j,l as h}from"./index-DZmvRzpa.js";import{B as v}from"./badge-BaNfmuO8.js";function P(g){const e=b.c(13),{tabs:d,activeTab:o,onTabChange:s,className:m,placement:u}=g,f=u===void 0?"inline":u;let t;if(e[0]!==o||e[1]!==s||e[2]!==d){let c;e[4]!==o||e[5]!==s?(c=n=>{const x=o===n.id;return r.jsxs(p.Tab,{active:x,onClick:()=>s(n.id),children:[n.label,n.count!==void 0&&r.jsx(v,{variant:"secondary",className:h("h-5 min-w-5 px-1 rounded-full text-2xs font-mono inline-flex items-center justify-center",x?"bg-background text-foreground":"bg-muted-foreground/10 text-muted-foreground"),children:n.count})]},n.id)},e[4]=o,e[5]=s,e[6]=c):c=e[6],t=d.map(c),e[0]=o,e[1]=s,e[2]=d,e[3]=t}else t=e[3];let l;e[7]!==m||e[8]!==t?(l=r.jsx(p.Tabs,{className:m,children:t}),e[7]=m,e[8]=t,e[9]=l):l=e[9];const i=l;let a;return e[10]!==i||e[11]!==f?(a=f==="page"?r.jsx(j.Toolbar.Left.Portal,{fallback:i,children:i}):i,e[10]=i,e[11]=f,e[12]=a):a=e[12],a}export{P as C};
@@ -1,3 +1,3 @@
1
- import{c as E,a2 as F,an as X,K as z,m as te,o as J,e as se,r as q,b as H,l as D,j as o,t as V,B as Y,fx as le,L as U}from"./index-DwUSgMrk.js";import{s as ae}from"./Plus-Dr-ysAIN.js";import{s as ne}from"./XClose-Cjrx49Z1.js";import{B as K}from"./badge-0pHsypn4.js";import{d as ie,e as oe,c as re,C as ce,a as de,b as me}from"./command-CxL64Rh6.js";import{I as ue}from"./icon-button-DfIZISrS.js";import{c as fe,S as pe,a as xe,b as he,e as ge}from"./sheet-B-tTREXV.js";import{S as je}from"./switch-CPLmKtep.js";import{T as ke}from"./textarea-CQ_TkrdE.js";import{h as Se}from"./task-board-CDUMGTb-.js";import{h as be}from"./use-org-fs-CnHNkGa0.js";import{c as Re}from"./watch-sse-pool-wUe9D5Rq.js";import{u as Z,a as ve}from"./use-automations-J0jLeJwk.js";function Be(){const s=E.c(7),{org:e}=F(),a=X();let t;s[0]!==e.id?(t=z.taskBoardPrompts(e.id),s[0]=e.id,s[1]=t):t=s[1];let n;s[2]!==a?(n=async()=>(await a.call("TASK_BOARD_PROMPT_LIST",{})).prompts,s[2]=a,s[3]=n):n=s[3];let i;return s[4]!==t||s[5]!==n?(i={queryKey:t,staleTime:6e4,queryFn:n},s[4]=t,s[5]=n,s[6]=i):i=s[6],te(i)}function Ce(){const s=E.c(8),{org:e}=F(),a=X(),t=J();let n;s[0]!==a?(n=async c=>{const{columnKey:r,rules:p}=c;if(p){const d=p.prompt.trim();await(d||p.skills.length?a.call("TASK_BOARD_PROMPT_UPSERT",{columnKey:r,prompt:d,skills:p.skills}):a.call("TASK_BOARD_PROMPT_DELETE",{columnKey:r}))}},s[0]=a,s[1]=n):n=s[1];let i;s[2]!==e||s[3]!==t?(i=()=>t.invalidateQueries({queryKey:z.taskBoardPrompts(e.id)}),s[2]=e,s[3]=t,s[4]=i):i=s[4];let l;return s[5]!==n||s[6]!==i?(l={mutationFn:n,onSettled:i},s[5]=n,s[6]=i,s[7]=l):l=s[7],se(l)}const W=()=>0;function Ge(){const s=E.c(6),{org:e}=F(),a=J();let t;s[0]!==e.id||s[1]!==a?(t=()=>a.invalidateQueries({queryKey:z.taskBoardPrompts(e.id)}),s[0]=e.id,s[1]=a,s[2]=t):t=s[2];const n=t;let i;s[3]!==e.slug||s[4]!==n?(i=()=>Re.subscribe(e.slug,n,n),s[3]=e.slug,s[4]=n,s[5]=i):i=s[5];const l=i;q.useSyncExternalStore(l,W,W)}function Ne(s){const e=E.c(8),a=Be();let t;e[0]!==s||e[1]!==a.data?(t=a.data?.find(l=>l.columnKey===s),e[0]=s,e[1]=a.data,e[2]=t):t=e[2];let n;e[3]!==a.data?(n=a.data?.find(Te)?.skills??[],e[3]=a.data,e[4]=n):n=e[4];let i;return e[5]!==t||e[6]!==n?(i={scope:t,boardSkills:n},e[5]=t,e[6]=n,e[7]=i):i=e[7],i}function Te(s){return s.columnKey===null}function Ve(s){const e=E.c(7),{data:a}=Z();let t;e[0]!==a?(t=a??[],e[0]=a,e[1]=t):t=e[1];let n;if(e[2]!==s||e[3]!==t){let i;e[5]!==s?(i=l=>l.board_triggers.some(c=>c.type==="board_column_transition"&&c.column_key===s),e[5]=s,e[6]=i):i=e[6],n=t.filter(i),e[2]=s,e[3]=t,e[4]=n}else n=e[4];return n}function ye(s){const e=E.c(7),{data:a}=Z();let t;e[0]!==a?(t=a??[],e[0]=a,e[1]=t):t=e[1];let n;if(e[2]!==s||e[3]!==t){let i;e[5]!==s?(i=l=>l.board_triggers.some(c=>c.column_key===s),e[5]=s,e[6]=i):i=e[6],n=t.filter(i),e[2]=s,e[3]=t,e[4]=n}else n=e[4];return n}function Pe(s){const e=E.c(33),{columnKey:a}=s,t=H(),{org:n}=F(),i=ye(a),{update:l}=ve();let c;e[0]!==t?(c=t("taskBoard.columnRules.automationsLabel"),e[0]=t,e[1]=c):c=e[1];let r;e[2]!==c?(r=o.jsx(Q,{children:c}),e[2]=c,e[3]=r):r=e[3];let p;if(e[4]!==i||e[5]!==n.slug||e[6]!==t||e[7]!==l){let S;e[9]!==n.slug||e[10]!==t||e[11]!==l?(S=h=>o.jsxs("div",{className:"flex items-center gap-3 rounded-lg border border-border px-3 py-2",children:[o.jsxs(U,{to:"/$org/projects/$agentId/automations/$automationId",params:{org:n.slug,agentId:h.virtual_mcp_id,automationId:h.id},className:"flex min-w-0 flex-1 items-center gap-2 text-sm text-foreground hover:underline",children:[o.jsx("span",{className:"truncate",children:h.name}),h.system_key&&o.jsx(K,{variant:"muted",children:t("automations.builtin.badge")})]}),o.jsx(je,{checked:h.active,disabled:l.isPending,onCheckedChange:R=>l.mutate({id:h.id,active:R}),"aria-label":t("taskBoard.columnRules.toggleAutomation",{name:h.name})})]},h.id),e[9]=n.slug,e[10]=t,e[11]=l,e[12]=S):S=e[12],p=i.map(S),e[4]=i,e[5]=n.slug,e[6]=t,e[7]=l,e[8]=p}else p=e[8];let d;e[13]!==i.length||e[14]!==t?(d=i.length===0&&o.jsxs(o.Fragment,{children:[t("taskBoard.columnRules.noAutomations")," "]}),e[13]=i.length,e[14]=t,e[15]=d):d=e[15];const j=n.slug;let f;e[16]!==n.id?(f=le(n.id),e[16]=n.id,e[17]=f):f=e[17];let x;e[18]!==n.slug||e[19]!==f?(x={org:j,agentId:f},e[18]=n.slug,e[19]=f,e[20]=x):x=e[20];let m;e[21]!==t?(m=t("taskBoard.columnRules.addAutomation"),e[21]=t,e[22]=m):m=e[22];let u;e[23]!==x||e[24]!==m?(u=o.jsx(U,{to:"/$org/projects/$agentId/automations",params:x,className:"text-foreground underline underline-offset-2",children:m}),e[23]=x,e[24]=m,e[25]=u):u=e[25];let k;e[26]!==d||e[27]!==u?(k=o.jsxs("p",{className:"text-meta",children:[d,u]}),e[26]=d,e[27]=u,e[28]=k):k=e[28];let b;return e[29]!==k||e[30]!==r||e[31]!==p?(b=o.jsxs("section",{className:"flex flex-col gap-2",children:[r,p,k]}),e[29]=k,e[30]=r,e[31]=p,e[32]=b):b=e[32],b}function Ye(s){const e=E.c(21),{columnKey:a,label:t,open:n,onOpenChange:i}=s,{scope:l,boardSkills:c}=Ne(a);let r;e[0]!==t?(r=o.jsx(fe,{className:"border-b",children:o.jsx(pe,{children:t})}),e[0]=t,e[1]=r):r=e[1];const p=l?.prompt??"";let d;e[2]!==l?.skills?(d=l?.skills??[],e[2]=l?.skills,e[3]=d):d=e[3];let j;e[4]!==p||e[5]!==d?(j={prompt:p,skills:d},e[4]=p,e[5]=d,e[6]=j):j=e[6];let f;e[7]!==i?(f=()=>i(!1),e[7]=i,e[8]=f):f=e[8];let x;e[9]!==c||e[10]!==a||e[11]!==j||e[12]!==f?(x=o.jsx($e,{columnKey:a,initial:j,boardSkills:c,onDone:f}),e[9]=c,e[10]=a,e[11]=j,e[12]=f,e[13]=x):x=e[13];let m;e[14]!==r||e[15]!==x?(m=o.jsxs(xe,{className:"w-full gap-0 sm:max-w-md","aria-describedby":void 0,children:[r,x]}),e[14]=r,e[15]=x,e[16]=m):m=e[16];let u;return e[17]!==n||e[18]!==i||e[19]!==m?(u=o.jsx(o.Fragment,{children:o.jsx(he,{open:n,onOpenChange:i,children:m})}),e[17]=n,e[18]=i,e[19]=m,e[20]=u):u=e[20],u}function $e(s){const e=E.c(58),{columnKey:a,initial:t,boardSkills:n,onDone:i}=s,l=H(),c=Ce(),[r,p]=q.useState(t.prompt),[d,j]=q.useState(t.skills);let f;e[0]!==a||e[1]!==t.prompt||e[2]!==t.skills||e[3]!==i||e[4]!==r||e[5]!==c||e[6]!==d||e[7]!==l?(f=()=>c.mutate({columnKey:a,...r!==t.prompt||d.join(`
1
+ import{c as E,a2 as F,an as X,K as z,m as te,o as J,e as se,r as q,b as H,l as D,j as o,t as V,B as Y,fx as le,L as U}from"./index-DZmvRzpa.js";import{s as ae}from"./Plus-B9TUkipI.js";import{s as ne}from"./XClose-CyMpkfM0.js";import{B as K}from"./badge-BaNfmuO8.js";import{d as ie,e as oe,c as re,C as ce,a as de,b as me}from"./command-B5YgVfYV.js";import{I as ue}from"./icon-button-Ceb9s98X.js";import{c as fe,S as pe,a as xe,b as he,e as ge}from"./sheet-Bfbvz7qf.js";import{S as je}from"./switch-rXR8XB2Q.js";import{T as ke}from"./textarea-CZJdW3O-.js";import{h as Se}from"./task-board-CaPpwq32.js";import{h as be}from"./use-org-fs-BsQu1cMm.js";import{c as Re}from"./watch-sse-pool-Oks0hjJI.js";import{u as Z,a as ve}from"./use-automations-CaTMVisV.js";function Be(){const s=E.c(7),{org:e}=F(),a=X();let t;s[0]!==e.id?(t=z.taskBoardPrompts(e.id),s[0]=e.id,s[1]=t):t=s[1];let n;s[2]!==a?(n=async()=>(await a.call("TASK_BOARD_PROMPT_LIST",{})).prompts,s[2]=a,s[3]=n):n=s[3];let i;return s[4]!==t||s[5]!==n?(i={queryKey:t,staleTime:6e4,queryFn:n},s[4]=t,s[5]=n,s[6]=i):i=s[6],te(i)}function Ce(){const s=E.c(8),{org:e}=F(),a=X(),t=J();let n;s[0]!==a?(n=async c=>{const{columnKey:r,rules:p}=c;if(p){const d=p.prompt.trim();await(d||p.skills.length?a.call("TASK_BOARD_PROMPT_UPSERT",{columnKey:r,prompt:d,skills:p.skills}):a.call("TASK_BOARD_PROMPT_DELETE",{columnKey:r}))}},s[0]=a,s[1]=n):n=s[1];let i;s[2]!==e||s[3]!==t?(i=()=>t.invalidateQueries({queryKey:z.taskBoardPrompts(e.id)}),s[2]=e,s[3]=t,s[4]=i):i=s[4];let l;return s[5]!==n||s[6]!==i?(l={mutationFn:n,onSettled:i},s[5]=n,s[6]=i,s[7]=l):l=s[7],se(l)}const W=()=>0;function Ge(){const s=E.c(6),{org:e}=F(),a=J();let t;s[0]!==e.id||s[1]!==a?(t=()=>a.invalidateQueries({queryKey:z.taskBoardPrompts(e.id)}),s[0]=e.id,s[1]=a,s[2]=t):t=s[2];const n=t;let i;s[3]!==e.slug||s[4]!==n?(i=()=>Re.subscribe(e.slug,n,n),s[3]=e.slug,s[4]=n,s[5]=i):i=s[5];const l=i;q.useSyncExternalStore(l,W,W)}function Ne(s){const e=E.c(8),a=Be();let t;e[0]!==s||e[1]!==a.data?(t=a.data?.find(l=>l.columnKey===s),e[0]=s,e[1]=a.data,e[2]=t):t=e[2];let n;e[3]!==a.data?(n=a.data?.find(Te)?.skills??[],e[3]=a.data,e[4]=n):n=e[4];let i;return e[5]!==t||e[6]!==n?(i={scope:t,boardSkills:n},e[5]=t,e[6]=n,e[7]=i):i=e[7],i}function Te(s){return s.columnKey===null}function Ve(s){const e=E.c(7),{data:a}=Z();let t;e[0]!==a?(t=a??[],e[0]=a,e[1]=t):t=e[1];let n;if(e[2]!==s||e[3]!==t){let i;e[5]!==s?(i=l=>l.board_triggers.some(c=>c.type==="board_column_transition"&&c.column_key===s),e[5]=s,e[6]=i):i=e[6],n=t.filter(i),e[2]=s,e[3]=t,e[4]=n}else n=e[4];return n}function ye(s){const e=E.c(7),{data:a}=Z();let t;e[0]!==a?(t=a??[],e[0]=a,e[1]=t):t=e[1];let n;if(e[2]!==s||e[3]!==t){let i;e[5]!==s?(i=l=>l.board_triggers.some(c=>c.column_key===s),e[5]=s,e[6]=i):i=e[6],n=t.filter(i),e[2]=s,e[3]=t,e[4]=n}else n=e[4];return n}function Pe(s){const e=E.c(33),{columnKey:a}=s,t=H(),{org:n}=F(),i=ye(a),{update:l}=ve();let c;e[0]!==t?(c=t("taskBoard.columnRules.automationsLabel"),e[0]=t,e[1]=c):c=e[1];let r;e[2]!==c?(r=o.jsx(Q,{children:c}),e[2]=c,e[3]=r):r=e[3];let p;if(e[4]!==i||e[5]!==n.slug||e[6]!==t||e[7]!==l){let S;e[9]!==n.slug||e[10]!==t||e[11]!==l?(S=h=>o.jsxs("div",{className:"flex items-center gap-3 rounded-lg border border-border px-3 py-2",children:[o.jsxs(U,{to:"/$org/projects/$agentId/automations/$automationId",params:{org:n.slug,agentId:h.virtual_mcp_id,automationId:h.id},className:"flex min-w-0 flex-1 items-center gap-2 text-sm text-foreground hover:underline",children:[o.jsx("span",{className:"truncate",children:h.name}),h.system_key&&o.jsx(K,{variant:"muted",children:t("automations.builtin.badge")})]}),o.jsx(je,{checked:h.active,disabled:l.isPending,onCheckedChange:R=>l.mutate({id:h.id,active:R}),"aria-label":t("taskBoard.columnRules.toggleAutomation",{name:h.name})})]},h.id),e[9]=n.slug,e[10]=t,e[11]=l,e[12]=S):S=e[12],p=i.map(S),e[4]=i,e[5]=n.slug,e[6]=t,e[7]=l,e[8]=p}else p=e[8];let d;e[13]!==i.length||e[14]!==t?(d=i.length===0&&o.jsxs(o.Fragment,{children:[t("taskBoard.columnRules.noAutomations")," "]}),e[13]=i.length,e[14]=t,e[15]=d):d=e[15];const j=n.slug;let f;e[16]!==n.id?(f=le(n.id),e[16]=n.id,e[17]=f):f=e[17];let x;e[18]!==n.slug||e[19]!==f?(x={org:j,agentId:f},e[18]=n.slug,e[19]=f,e[20]=x):x=e[20];let m;e[21]!==t?(m=t("taskBoard.columnRules.addAutomation"),e[21]=t,e[22]=m):m=e[22];let u;e[23]!==x||e[24]!==m?(u=o.jsx(U,{to:"/$org/projects/$agentId/automations",params:x,className:"text-foreground underline underline-offset-2",children:m}),e[23]=x,e[24]=m,e[25]=u):u=e[25];let k;e[26]!==d||e[27]!==u?(k=o.jsxs("p",{className:"text-meta",children:[d,u]}),e[26]=d,e[27]=u,e[28]=k):k=e[28];let b;return e[29]!==k||e[30]!==r||e[31]!==p?(b=o.jsxs("section",{className:"flex flex-col gap-2",children:[r,p,k]}),e[29]=k,e[30]=r,e[31]=p,e[32]=b):b=e[32],b}function Ye(s){const e=E.c(21),{columnKey:a,label:t,open:n,onOpenChange:i}=s,{scope:l,boardSkills:c}=Ne(a);let r;e[0]!==t?(r=o.jsx(fe,{className:"border-b",children:o.jsx(pe,{children:t})}),e[0]=t,e[1]=r):r=e[1];const p=l?.prompt??"";let d;e[2]!==l?.skills?(d=l?.skills??[],e[2]=l?.skills,e[3]=d):d=e[3];let j;e[4]!==p||e[5]!==d?(j={prompt:p,skills:d},e[4]=p,e[5]=d,e[6]=j):j=e[6];let f;e[7]!==i?(f=()=>i(!1),e[7]=i,e[8]=f):f=e[8];let x;e[9]!==c||e[10]!==a||e[11]!==j||e[12]!==f?(x=o.jsx($e,{columnKey:a,initial:j,boardSkills:c,onDone:f}),e[9]=c,e[10]=a,e[11]=j,e[12]=f,e[13]=x):x=e[13];let m;e[14]!==r||e[15]!==x?(m=o.jsxs(xe,{className:"w-full gap-0 sm:max-w-md","aria-describedby":void 0,children:[r,x]}),e[14]=r,e[15]=x,e[16]=m):m=e[16];let u;return e[17]!==n||e[18]!==i||e[19]!==m?(u=o.jsx(o.Fragment,{children:o.jsx(he,{open:n,onOpenChange:i,children:m})}),e[17]=n,e[18]=i,e[19]=m,e[20]=u):u=e[20],u}function $e(s){const e=E.c(58),{columnKey:a,initial:t,boardSkills:n,onDone:i}=s,l=H(),c=Ce(),[r,p]=q.useState(t.prompt),[d,j]=q.useState(t.skills);let f;e[0]!==a||e[1]!==t.prompt||e[2]!==t.skills||e[3]!==i||e[4]!==r||e[5]!==c||e[6]!==d||e[7]!==l?(f=()=>c.mutate({columnKey:a,...r!==t.prompt||d.join(`
2
2
  `)!==t.skills.join(`
3
3
  `)?{rules:{prompt:r,skills:d}}:{}},{onSuccess:()=>{V.success(l("taskBoard.columnRules.saved")),i()},onError:g=>V.error(g instanceof Error?g.message:l("taskBoard.columnRules.failed"))}),e[0]=a,e[1]=t.prompt,e[2]=t.skills,e[3]=i,e[4]=r,e[5]=c,e[6]=d,e[7]=l,e[8]=f):f=e[8];const x=f;let m;e[9]!==a?(m=o.jsx(Pe,{columnKey:a}),e[9]=a,e[10]=m):m=e[10];let u;e[11]!==l?(u=l("taskBoard.columnRules.promptLabel"),e[11]=l,e[12]=u):u=e[12];let k;e[13]!==u?(k=o.jsx(Q,{children:u}),e[13]=u,e[14]=k):k=e[14];let b;e[15]===Symbol.for("react.memo_cache_sentinel")?(b=g=>p(g.target.value),e[15]=b):b=e[15];let S;e[16]!==l?(S=l("taskBoard.columnRules.promptPlaceholder"),e[16]=l,e[17]=S):S=e[17];let h;e[18]!==l?(h=l("taskBoard.columnRules.promptLabel"),e[18]=l,e[19]=h):h=e[19];let R;e[20]!==r||e[21]!==S||e[22]!==h?(R=o.jsx(ke,{value:r,rows:5,maxLength:Se,onChange:b,placeholder:S,"aria-label":h}),e[20]=r,e[21]=S,e[22]=h,e[23]=R):R=e[23];let v;e[24]!==k||e[25]!==R?(v=o.jsxs("section",{className:"flex flex-col gap-2",children:[k,R]}),e[24]=k,e[25]=R,e[26]=v):v=e[26];let C;e[27]!==l?(C=l("taskBoard.columnRules.skillsLabel"),e[27]=l,e[28]=C):C=e[28];let N;e[29]!==C?(N=o.jsx(Q,{children:C}),e[29]=C,e[30]=N):N=e[30];let T;e[31]!==n||e[32]!==d?(T=o.jsx(Ee,{fill:!0,value:d,onChange:j,inherited:n}),e[31]=n,e[32]=d,e[33]=T):T=e[33];let y;e[34]!==N||e[35]!==T?(y=o.jsxs("section",{className:"flex min-h-64 flex-1 flex-col gap-2",children:[N,T]}),e[34]=N,e[35]=T,e[36]=y):y=e[36];let A;e[37]!==y||e[38]!==m||e[39]!==v?(A=o.jsxs("div",{className:"flex min-h-0 flex-1 flex-col gap-6 overflow-y-auto p-4",children:[m,v,y]}),e[37]=y,e[38]=m,e[39]=v,e[40]=A):A=e[40];let B;e[41]!==l?(B=l("taskBoard.columnRules.cancel"),e[41]=l,e[42]=B):B=e[42];let w;e[43]!==i||e[44]!==B?(w=o.jsx(Y,{variant:"outline",onClick:i,children:B}),e[43]=i,e[44]=B,e[45]=w):w=e[45];const O=c.isPending;let P;e[46]!==l?(P=l("taskBoard.columnRules.save"),e[46]=l,e[47]=P):P=e[47];let I;e[48]!==c.isPending||e[49]!==x||e[50]!==P?(I=o.jsx(Y,{disabled:O,onClick:x,children:P}),e[48]=c.isPending,e[49]=x,e[50]=P,e[51]=I):I=e[51];let $;e[52]!==w||e[53]!==I?($=o.jsxs(ge,{className:"flex-row justify-end border-t",children:[w,I]}),e[52]=w,e[53]=I,e[54]=$):$=e[54];let L;return e[55]!==A||e[56]!==$?(L=o.jsxs(o.Fragment,{children:[A,$]}),e[55]=A,e[56]=$,e[57]=L):L=e[57],L}function Q(s){const e=E.c(2),{children:a}=s;let t;return e[0]!==a?(t=o.jsx("h3",{className:"text-sm font-medium text-foreground",children:a}),e[0]=a,e[1]=t):t=e[1],t}const Ae=[];function Ee(s){const e=E.c(71),{value:a,onChange:t,inherited:n,fill:i}=s,l=n===void 0?Ae:n,c=i===void 0?!1:i,r=H(),p=be();let d;e[0]!==p.data?(d=B=>p.data?.find(w=>w.id===B)?.name??B,e[0]=p.data,e[1]=d):d=e[1];const j=d;let f,x,m,u,k,b,S,h,R,v;if(e[2]!==p.data||e[3]!==c||e[4]!==l||e[5]!==j||e[6]!==t||e[7]!==r||e[8]!==a){let B;e[19]!==l||e[20]!==a?(B=g=>!g.disableModelInvocation&&!a.includes(g.id)&&!l.includes(g.id),e[19]=l,e[20]=a,e[21]=B):B=e[21];const w=(p.data??[]).filter(B);if(e[22]!==c||e[23]!==l||e[24]!==j||e[25]!==t||e[26]!==r||e[27]!==a){let g;e[30]!==l?(g=_=>!l.includes(_),e[30]=l,e[31]=g):g=e[31];const G=a.filter(g),M=c&&"min-h-0 flex-1";e[32]!==M?(v=D("flex flex-col gap-2",M),e[32]=M,e[33]=v):v=e[33],u=G.length>0&&o.jsx("div",{className:"flex flex-wrap gap-1.5",children:G.map(_=>o.jsxs(K,{variant:"outline",className:"py-0 pr-0 pl-2",children:[j(_),o.jsx(ue,{label:r("taskBoard.columnRules.removeSkill",{skill:j(_)}),onClick:()=>t(a.filter(ee=>ee!==_)),className:"size-5 text-muted-foreground",children:o.jsx(ne,{size:12})})]},_))}),e[22]=c,e[23]=l,e[24]=j,e[25]=t,e[26]=r,e[27]=a,e[28]=u,e[29]=v}else u=e[28],v=e[29];m=ie;const O=c&&"min-h-0 flex-1";e[34]!==O?(h=D("h-auto border",O),e[34]=O,e[35]=h):h=e[35];let P;e[36]!==r?(P=r("taskBoard.columnRules.searchSkills"),e[36]=r,e[37]=P):P=e[37],e[38]!==P?(R=o.jsx(oe,{placeholder:P,className:"h-9"}),e[38]=P,e[39]=R):R=e[39],x=re;const I=c?"max-h-none flex-1":"max-h-56";e[40]!==I?(b=D(I),e[40]=I,e[41]=b):b=e[41];let $;e[42]!==r?($=r("taskBoard.columnRules.noSkills"),e[42]=r,e[43]=$):$=e[43],e[44]!==$?(S=o.jsx(ce,{children:$}),e[44]=$,e[45]=S):S=e[45],f=de;let L;e[46]!==t||e[47]!==a?(L=g=>o.jsxs(me,{value:`${g.name} ${g.id}`,onSelect:()=>t([...a,g.id]),children:[o.jsx(ae,{size:14,className:"shrink-0 text-muted-foreground"}),o.jsxs("span",{className:"flex min-w-0 flex-col",children:[o.jsx("span",{className:"truncate text-sm",children:g.name}),g.description&&o.jsx("span",{className:"text-meta line-clamp-1",children:g.description})]})]},g.id),e[46]=t,e[47]=a,e[48]=L):L=e[48],k=w.map(L),e[2]=p.data,e[3]=c,e[4]=l,e[5]=j,e[6]=t,e[7]=r,e[8]=a,e[9]=f,e[10]=x,e[11]=m,e[12]=u,e[13]=k,e[14]=b,e[15]=S,e[16]=h,e[17]=R,e[18]=v}else f=e[9],x=e[10],m=e[11],u=e[12],k=e[13],b=e[14],S=e[15],h=e[16],R=e[17],v=e[18];let C;e[49]!==f||e[50]!==k?(C=o.jsx(f,{children:k}),e[49]=f,e[50]=k,e[51]=C):C=e[51];let N;e[52]!==x||e[53]!==C||e[54]!==b||e[55]!==S?(N=o.jsxs(x,{className:b,children:[S,C]}),e[52]=x,e[53]=C,e[54]=b,e[55]=S,e[56]=N):N=e[56];let T;e[57]!==m||e[58]!==N||e[59]!==h||e[60]!==R?(T=o.jsxs(m,{className:h,children:[R,N]}),e[57]=m,e[58]=N,e[59]=h,e[60]=R,e[61]=T):T=e[61];let y;e[62]!==l||e[63]!==j||e[64]!==r?(y=l.length>0&&o.jsxs(o.Fragment,{children:[o.jsx("p",{className:"text-meta",children:r("taskBoard.columnRules.inheritedHint")}),o.jsx("div",{className:"flex flex-wrap gap-1.5",children:l.map(B=>o.jsx(K,{variant:"muted",children:j(B)},B))})]}),e[62]=l,e[63]=j,e[64]=r,e[65]=y):y=e[65];let A;return e[66]!==u||e[67]!==T||e[68]!==y||e[69]!==v?(A=o.jsxs("div",{className:v,children:[u,T,y]}),e[66]=u,e[67]=T,e[68]=y,e[69]=v,e[70]=A):A=e[70],A}export{Ye as C,Ee as S,Ve as a,Be as b,Ce as c,Ge as u};
@@ -1 +1 @@
1
- import{c as Q,r as U,j as s,l as S,B as W,af as X}from"./index-DwUSgMrk.js";import{i as Y}from"./ChevronSelectorVertical-CKvNz838.js";import{e as Z,C as _,b as ee,a as se,c as te,d as le}from"./command-CxL64Rh6.js";import{a as ae,P as re,b as oe}from"./popover-kKTDdvYS.js";function me(z){const e=Q.c(48),{options:C,value:l,onChange:j,placeholder:A,triggerClassName:F,contentClassName:w,width:G,renderTrigger:L,renderItem:o,emptyMessage:V,searchPlaceholder:k,filter:P,renderSearchAction:E,onSearchChange:n}=z,D=A===void 0?"Select...":A,H=G===void 0?"w-[200px]":G,O=V===void 0?"No results found.":V,T=k===void 0?"Search...":k;let g;e[0]!==l?(g=a=>a.value===l,e[0]=l,e[1]=g):g=e[1];const I=C.find(g),[B,J]=U.useState(!1);let b;e[2]!==n?(b=a=>{J(a),a||n?.("")},e[2]=n,e[3]=b):b=e[3];const t=b,M=re,R=ae,K=!0,$=L?s.jsx("div",{className:S("cursor-pointer",F),children:L(I)}):s.jsxs(W,{variant:"outline",role:"combobox",className:S("justify-between rounded-[var(--studio-control-radius,var(--radius-lg))]",H,F),children:[I?I.label:D,s.jsx(Y,{className:"opacity-50"})]});let i;e[4]!==R||e[5]!==$?(i=s.jsx(R,{asChild:K,children:$}),e[4]=R,e[5]=$,e[6]=i):i=e[6];let c;e[7]!==w?(c=S("p-0",w),e[7]=w,e[8]=c):c=e[8];let y;e[9]===Symbol.for("react.memo_cache_sentinel")?(y={width:"var(--radix-popover-trigger-width)"},e[9]=y):y=e[9];let d;e[10]!==E||e[11]!==t?(d=E?.(()=>t(!1)),e[10]=E,e[11]=t,e[12]=d):d=e[12];let m;e[13]!==n||e[14]!==T||e[15]!==d?(m=s.jsx(Z,{placeholder:T,className:"h-9",onValueChange:n,action:d}),e[13]=n,e[14]=T,e[15]=d,e[16]=m):m=e[16];let h;e[17]!==O?(h=s.jsx(_,{children:O}),e[17]=O,e[18]=h):h=e[18];let f;if(e[19]!==j||e[20]!==C||e[21]!==o||e[22]!==t||e[23]!==l){let a;e[25]!==j||e[26]!==o||e[27]!==t||e[28]!==l?(a=r=>{const q=l===r.value;return s.jsx(ee,{value:r.label,onSelect:()=>{j(r.value===l?"":r.value),t(!1)},children:o?o(r,q):s.jsxs(s.Fragment,{children:[r.label,s.jsx(X,{className:S("ml-auto",q?"opacity-100":"opacity-0")})]})},r.value)},e[25]=j,e[26]=o,e[27]=t,e[28]=l,e[29]=a):a=e[29],f=C.map(a),e[19]=j,e[20]=C,e[21]=o,e[22]=t,e[23]=l,e[24]=f}else f=e[24];let p;e[30]!==f?(p=s.jsx(se,{children:f}),e[30]=f,e[31]=p):p=e[31];let u;e[32]!==h||e[33]!==p?(u=s.jsxs(te,{children:[h,p]}),e[32]=h,e[33]=p,e[34]=u):u=e[34];let x;e[35]!==P||e[36]!==m||e[37]!==u?(x=s.jsxs(le,{filter:P,children:[m,u]}),e[35]=P,e[36]=m,e[37]=u,e[38]=x):x=e[38];let v;e[39]!==c||e[40]!==x?(v=s.jsx(oe,{className:c,style:y,children:x}),e[39]=c,e[40]=x,e[41]=v):v=e[41];let N;return e[42]!==M||e[43]!==B||e[44]!==t||e[45]!==v||e[46]!==i?(N=s.jsxs(M,{open:B,onOpenChange:t,children:[i,v]}),e[42]=M,e[43]=B,e[44]=t,e[45]=v,e[46]=i,e[47]=N):N=e[47],N}export{me as C};
1
+ import{c as Q,r as U,j as s,l as S,B as W,af as X}from"./index-DZmvRzpa.js";import{i as Y}from"./ChevronSelectorVertical-Dn4fuoEm.js";import{e as Z,C as _,b as ee,a as se,c as te,d as le}from"./command-B5YgVfYV.js";import{a as ae,P as re,b as oe}from"./popover-BhaAeUe3.js";function me(z){const e=Q.c(48),{options:C,value:l,onChange:j,placeholder:A,triggerClassName:F,contentClassName:w,width:G,renderTrigger:L,renderItem:o,emptyMessage:V,searchPlaceholder:k,filter:P,renderSearchAction:E,onSearchChange:n}=z,D=A===void 0?"Select...":A,H=G===void 0?"w-[200px]":G,O=V===void 0?"No results found.":V,T=k===void 0?"Search...":k;let g;e[0]!==l?(g=a=>a.value===l,e[0]=l,e[1]=g):g=e[1];const I=C.find(g),[B,J]=U.useState(!1);let b;e[2]!==n?(b=a=>{J(a),a||n?.("")},e[2]=n,e[3]=b):b=e[3];const t=b,M=re,R=ae,K=!0,$=L?s.jsx("div",{className:S("cursor-pointer",F),children:L(I)}):s.jsxs(W,{variant:"outline",role:"combobox",className:S("justify-between rounded-[var(--studio-control-radius,var(--radius-lg))]",H,F),children:[I?I.label:D,s.jsx(Y,{className:"opacity-50"})]});let i;e[4]!==R||e[5]!==$?(i=s.jsx(R,{asChild:K,children:$}),e[4]=R,e[5]=$,e[6]=i):i=e[6];let c;e[7]!==w?(c=S("p-0",w),e[7]=w,e[8]=c):c=e[8];let y;e[9]===Symbol.for("react.memo_cache_sentinel")?(y={width:"var(--radix-popover-trigger-width)"},e[9]=y):y=e[9];let d;e[10]!==E||e[11]!==t?(d=E?.(()=>t(!1)),e[10]=E,e[11]=t,e[12]=d):d=e[12];let m;e[13]!==n||e[14]!==T||e[15]!==d?(m=s.jsx(Z,{placeholder:T,className:"h-9",onValueChange:n,action:d}),e[13]=n,e[14]=T,e[15]=d,e[16]=m):m=e[16];let h;e[17]!==O?(h=s.jsx(_,{children:O}),e[17]=O,e[18]=h):h=e[18];let f;if(e[19]!==j||e[20]!==C||e[21]!==o||e[22]!==t||e[23]!==l){let a;e[25]!==j||e[26]!==o||e[27]!==t||e[28]!==l?(a=r=>{const q=l===r.value;return s.jsx(ee,{value:r.label,onSelect:()=>{j(r.value===l?"":r.value),t(!1)},children:o?o(r,q):s.jsxs(s.Fragment,{children:[r.label,s.jsx(X,{className:S("ml-auto",q?"opacity-100":"opacity-0")})]})},r.value)},e[25]=j,e[26]=o,e[27]=t,e[28]=l,e[29]=a):a=e[29],f=C.map(a),e[19]=j,e[20]=C,e[21]=o,e[22]=t,e[23]=l,e[24]=f}else f=e[24];let p;e[30]!==f?(p=s.jsx(se,{children:f}),e[30]=f,e[31]=p):p=e[31];let u;e[32]!==h||e[33]!==p?(u=s.jsxs(te,{children:[h,p]}),e[32]=h,e[33]=p,e[34]=u):u=e[34];let x;e[35]!==P||e[36]!==m||e[37]!==u?(x=s.jsxs(le,{filter:P,children:[m,u]}),e[35]=P,e[36]=m,e[37]=u,e[38]=x):x=e[38];let v;e[39]!==c||e[40]!==x?(v=s.jsx(oe,{className:c,style:y,children:x}),e[39]=c,e[40]=x,e[41]=v):v=e[41];let N;return e[42]!==M||e[43]!==B||e[44]!==t||e[45]!==v||e[46]!==i?(N=s.jsxs(M,{open:B,onOpenChange:t,children:[i,v]}),e[42]=M,e[43]=B,e[44]=t,e[45]=v,e[46]=i,e[47]=N):N=e[47],N}export{me as C};
@@ -1 +1 @@
1
- import{c as j,b as C,a2 as P,aa as E,j as t,N as L,a3 as R,n as w,l as N}from"./index-DwUSgMrk.js";import{j as B,h as k,v as D,bK as A}from"./agent-icon-sWZwj0Es.js";import{i as F}from"./CheckCircle-BOOTvtN7.js";import{B as G}from"./badge-0pHsypn4.js";const H={plan:{heading:"home.comingSoon.planHeading",description:"home.comingSoon.planDescription",points:[{Icon:k,labelKey:"home.comingSoon.planGoals",tone:"bg-chart-2/15 text-chart-2"},{Icon:D,labelKey:"home.comingSoon.planTasks",tone:"bg-chart-1/15 text-chart-1"},{Icon:A,labelKey:"home.comingSoon.planProgress",tone:"bg-chart-4/15 text-chart-4"}]},monitor:{heading:"home.comingSoon.monitorHeading",description:"home.comingSoon.monitorDescription",points:[{Icon:B,labelKey:"home.comingSoon.monitorWatch",tone:"bg-chart-2/15 text-chart-2"},{Icon:R,labelKey:"home.comingSoon.monitorSignal",tone:"bg-chart-3/15 text-chart-3"},{Icon:F,labelKey:"home.comingSoon.monitorVerdict",tone:"bg-chart-5/15 text-chart-5"}]}};function S(l){const e=j.c(4),{className:n}=l;let s;e[0]!==n?(s=N("block h-2 rounded-full bg-muted",n),e[0]=n,e[1]=s):s=e[1];let i;return e[2]!==s?(i=t.jsx("span",{className:s}),e[2]=s,e[3]=i):i=e[3],i}const M=[{title:"w-32",fill:"w-[72%]",tone:"bg-chart-2",value:"72%"},{title:"w-24",fill:"w-[45%]",tone:"bg-chart-1",value:"45%"},{title:"w-28",fill:"w-[88%]",tone:"bg-chart-4",value:"88%"}];function O(){const l=j.c(1);let e;return l[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx("div",{className:"flex flex-col gap-5",children:M.map(T)}),l[0]=e):e=l[0],e}function T(l){return t.jsxs("div",{className:"flex flex-col gap-2.5",children:[t.jsxs("div",{className:"flex items-center gap-2.5",children:[t.jsx("span",{className:"flex size-6 items-center justify-center rounded-md bg-muted text-muted-foreground",children:t.jsx(k,{size:14})}),t.jsx(S,{className:l.title}),t.jsx("span",{className:"ml-auto text-xs font-medium tabular-nums text-muted-foreground",children:l.value})]}),t.jsx("div",{className:"h-1.5 overflow-hidden rounded-full bg-muted",children:t.jsx("div",{className:N("h-full rounded-full",l.fill,l.tone)})})]},l.value)}const _="M0 38 C20 34 34 40 52 33 S86 28 104 31 S138 26 156 29 S190 36 208 44 S236 66 260 62";function W(){const l=j.c(3);let e;l[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsxs("svg",{viewBox:"0 0 260 80",className:"h-28 w-full overflow-visible text-chart-2",preserveAspectRatio:"none",children:[t.jsx("path",{d:`${_} L260 80 L0 80 Z`,className:"fill-current opacity-15"}),t.jsx("path",{d:_,fill:"none",stroke:"currentColor",strokeWidth:2,vectorEffect:"non-scaling-stroke"}),t.jsx("line",{x1:0,x2:260,y1:50,y2:50,className:"stroke-destructive/50",strokeDasharray:"4 4",vectorEffect:"non-scaling-stroke"})]}),l[0]=e):e=l[0];let n;l[1]===Symbol.for("react.memo_cache_sentinel")?(n=t.jsxs("div",{className:"relative",children:[e,t.jsxs("span",{className:"absolute top-[62.5%] left-[84.6%] flex size-3 -translate-1/2",children:[t.jsx("span",{className:"absolute inline-flex size-full rounded-full bg-destructive/60 motion-safe:animate-ping"}),t.jsx("span",{className:"relative inline-flex size-3 rounded-full bg-destructive ring-2 ring-card"})]})]}),l[1]=n):n=l[1];let s;return l[2]===Symbol.for("react.memo_cache_sentinel")?(s=t.jsxs("div",{className:"flex flex-col gap-4",children:[n,t.jsx("div",{className:"flex flex-col gap-3 border-t border-border/60 pt-4",children:[{dot:"bg-destructive",line:"w-36"},{dot:"bg-chart-3",line:"w-28"}].map(V)})]}),l[2]=s):s=l[2],s}function V(l){return t.jsxs("div",{className:"flex items-center gap-2.5",children:[t.jsx("span",{className:N("size-2 shrink-0 rounded-full",l.dot)}),t.jsx(S,{className:l.line}),t.jsx(S,{className:"ml-auto w-10"})]},l.line)}function Y(l){const e=j.c(2),{kind:n}=l;switch(n){case"plan":{let s;return e[0]===Symbol.for("react.memo_cache_sentinel")?(s=t.jsx(O,{}),e[0]=s):s=e[0],s}case"monitor":{let s;return e[1]===Symbol.for("react.memo_cache_sentinel")?(s=t.jsx(W,{}),e[1]=s):s=e[1],s}default:return n}}function U(l){const e=j.c(34),{kind:n}=l,s=C(),{org:i}=P(),$=E(),a=H[n];if(!$){let o;return e[0]!==i.slug?(o=t.jsx(L,{to:"/$org/home",params:{org:i.slug},replace:!0}),e[0]=i.slug,e[1]=o):o=e[1],o}let b;e[2]===Symbol.for("react.memo_cache_sentinel")?(b=t.jsx("div",{className:"absolute inset-x-10 -top-4 h-40 rounded-full bg-chart-2/20 blur-3xl"}),e[2]=b):b=e[2];let c;e[3]!==n?(c=t.jsxs("div",{"aria-hidden":!0,className:"relative w-full max-w-md",children:[b,t.jsx("div",{className:"relative surface p-6 [mask-image:linear-gradient(to_bottom,black_65%,transparent)]",children:t.jsx(Y,{kind:n})})]}),e[3]=n,e[4]=c):c=e[4];let r;e[5]!==s?(r=s("home.comingSoon.badge"),e[5]=s,e[6]=r):r=e[6];let m;e[7]!==r?(m=t.jsx(G,{variant:"muted",children:r}),e[7]=r,e[8]=m):m=e[8];let d;e[9]!==a.heading||e[10]!==s?(d=s(a.heading),e[9]=a.heading,e[10]=s,e[11]=d):d=e[11];let f;e[12]!==d?(f=t.jsx("h1",{className:"text-2xl font-medium text-balance text-foreground",children:d}),e[12]=d,e[13]=f):f=e[13];let x;e[14]!==a.description||e[15]!==s?(x=s(a.description),e[14]=a.description,e[15]=s,e[16]=x):x=e[16];let u;e[17]!==x?(u=t.jsx("p",{className:"max-w-md text-sm text-pretty text-muted-foreground",children:x}),e[17]=x,e[18]=u):u=e[18];let h;e[19]!==m||e[20]!==f||e[21]!==u?(h=t.jsxs("div",{className:"flex flex-col items-center gap-3 text-center",children:[m,f,u]}),e[19]=m,e[20]=f,e[21]=u,e[22]=h):h=e[22];let p;if(e[23]!==a.points||e[24]!==s){let o;e[26]!==s?(o=z=>{const{Icon:I,labelKey:y,tone:K}=z;return t.jsxs("li",{className:"flex items-center gap-3 surface p-4 sm:flex-col sm:items-start",children:[t.jsx("span",{className:N("flex size-9 shrink-0 items-center justify-center rounded-lg",K),children:t.jsx(I,{size:18})}),t.jsx("span",{className:"text-sm text-foreground",children:s(y)})]},y)},e[26]=s,e[27]=o):o=e[27],p=a.points.map(o),e[23]=a.points,e[24]=s,e[25]=p}else p=e[25];let g;e[28]!==p?(g=t.jsx("ul",{className:"grid w-full gap-3 sm:grid-cols-3",children:p}),e[28]=p,e[29]=g):g=e[29];let v;return e[30]!==g||e[31]!==c||e[32]!==h?(v=t.jsx(w,{children:t.jsx(w.Content,{children:t.jsxs("div",{className:"mx-auto flex w-full max-w-2xl flex-col items-center gap-10 px-4 pt-12 pb-16 md:pt-20",children:[c,h,g]})})}),e[30]=g,e[31]=c,e[32]=h,e[33]=v):v=e[33],v}export{U as C};
1
+ import{c as j,b as C,a2 as P,aa as E,j as t,N as L,a3 as R,n as w,l as N}from"./index-DZmvRzpa.js";import{j as B,h as k,v as D,bK as A}from"./agent-icon-xbJdvE2q.js";import{i as F}from"./CheckCircle-C9KkL-ha.js";import{B as G}from"./badge-BaNfmuO8.js";const H={plan:{heading:"home.comingSoon.planHeading",description:"home.comingSoon.planDescription",points:[{Icon:k,labelKey:"home.comingSoon.planGoals",tone:"bg-chart-2/15 text-chart-2"},{Icon:D,labelKey:"home.comingSoon.planTasks",tone:"bg-chart-1/15 text-chart-1"},{Icon:A,labelKey:"home.comingSoon.planProgress",tone:"bg-chart-4/15 text-chart-4"}]},monitor:{heading:"home.comingSoon.monitorHeading",description:"home.comingSoon.monitorDescription",points:[{Icon:B,labelKey:"home.comingSoon.monitorWatch",tone:"bg-chart-2/15 text-chart-2"},{Icon:R,labelKey:"home.comingSoon.monitorSignal",tone:"bg-chart-3/15 text-chart-3"},{Icon:F,labelKey:"home.comingSoon.monitorVerdict",tone:"bg-chart-5/15 text-chart-5"}]}};function S(l){const e=j.c(4),{className:n}=l;let s;e[0]!==n?(s=N("block h-2 rounded-full bg-muted",n),e[0]=n,e[1]=s):s=e[1];let i;return e[2]!==s?(i=t.jsx("span",{className:s}),e[2]=s,e[3]=i):i=e[3],i}const M=[{title:"w-32",fill:"w-[72%]",tone:"bg-chart-2",value:"72%"},{title:"w-24",fill:"w-[45%]",tone:"bg-chart-1",value:"45%"},{title:"w-28",fill:"w-[88%]",tone:"bg-chart-4",value:"88%"}];function O(){const l=j.c(1);let e;return l[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx("div",{className:"flex flex-col gap-5",children:M.map(T)}),l[0]=e):e=l[0],e}function T(l){return t.jsxs("div",{className:"flex flex-col gap-2.5",children:[t.jsxs("div",{className:"flex items-center gap-2.5",children:[t.jsx("span",{className:"flex size-6 items-center justify-center rounded-md bg-muted text-muted-foreground",children:t.jsx(k,{size:14})}),t.jsx(S,{className:l.title}),t.jsx("span",{className:"ml-auto text-xs font-medium tabular-nums text-muted-foreground",children:l.value})]}),t.jsx("div",{className:"h-1.5 overflow-hidden rounded-full bg-muted",children:t.jsx("div",{className:N("h-full rounded-full",l.fill,l.tone)})})]},l.value)}const _="M0 38 C20 34 34 40 52 33 S86 28 104 31 S138 26 156 29 S190 36 208 44 S236 66 260 62";function W(){const l=j.c(3);let e;l[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsxs("svg",{viewBox:"0 0 260 80",className:"h-28 w-full overflow-visible text-chart-2",preserveAspectRatio:"none",children:[t.jsx("path",{d:`${_} L260 80 L0 80 Z`,className:"fill-current opacity-15"}),t.jsx("path",{d:_,fill:"none",stroke:"currentColor",strokeWidth:2,vectorEffect:"non-scaling-stroke"}),t.jsx("line",{x1:0,x2:260,y1:50,y2:50,className:"stroke-destructive/50",strokeDasharray:"4 4",vectorEffect:"non-scaling-stroke"})]}),l[0]=e):e=l[0];let n;l[1]===Symbol.for("react.memo_cache_sentinel")?(n=t.jsxs("div",{className:"relative",children:[e,t.jsxs("span",{className:"absolute top-[62.5%] left-[84.6%] flex size-3 -translate-1/2",children:[t.jsx("span",{className:"absolute inline-flex size-full rounded-full bg-destructive/60 motion-safe:animate-ping"}),t.jsx("span",{className:"relative inline-flex size-3 rounded-full bg-destructive ring-2 ring-card"})]})]}),l[1]=n):n=l[1];let s;return l[2]===Symbol.for("react.memo_cache_sentinel")?(s=t.jsxs("div",{className:"flex flex-col gap-4",children:[n,t.jsx("div",{className:"flex flex-col gap-3 border-t border-border/60 pt-4",children:[{dot:"bg-destructive",line:"w-36"},{dot:"bg-chart-3",line:"w-28"}].map(V)})]}),l[2]=s):s=l[2],s}function V(l){return t.jsxs("div",{className:"flex items-center gap-2.5",children:[t.jsx("span",{className:N("size-2 shrink-0 rounded-full",l.dot)}),t.jsx(S,{className:l.line}),t.jsx(S,{className:"ml-auto w-10"})]},l.line)}function Y(l){const e=j.c(2),{kind:n}=l;switch(n){case"plan":{let s;return e[0]===Symbol.for("react.memo_cache_sentinel")?(s=t.jsx(O,{}),e[0]=s):s=e[0],s}case"monitor":{let s;return e[1]===Symbol.for("react.memo_cache_sentinel")?(s=t.jsx(W,{}),e[1]=s):s=e[1],s}default:return n}}function U(l){const e=j.c(34),{kind:n}=l,s=C(),{org:i}=P(),$=E(),a=H[n];if(!$){let o;return e[0]!==i.slug?(o=t.jsx(L,{to:"/$org/home",params:{org:i.slug},replace:!0}),e[0]=i.slug,e[1]=o):o=e[1],o}let b;e[2]===Symbol.for("react.memo_cache_sentinel")?(b=t.jsx("div",{className:"absolute inset-x-10 -top-4 h-40 rounded-full bg-chart-2/20 blur-3xl"}),e[2]=b):b=e[2];let c;e[3]!==n?(c=t.jsxs("div",{"aria-hidden":!0,className:"relative w-full max-w-md",children:[b,t.jsx("div",{className:"relative surface p-6 [mask-image:linear-gradient(to_bottom,black_65%,transparent)]",children:t.jsx(Y,{kind:n})})]}),e[3]=n,e[4]=c):c=e[4];let r;e[5]!==s?(r=s("home.comingSoon.badge"),e[5]=s,e[6]=r):r=e[6];let m;e[7]!==r?(m=t.jsx(G,{variant:"muted",children:r}),e[7]=r,e[8]=m):m=e[8];let d;e[9]!==a.heading||e[10]!==s?(d=s(a.heading),e[9]=a.heading,e[10]=s,e[11]=d):d=e[11];let f;e[12]!==d?(f=t.jsx("h1",{className:"text-2xl font-medium text-balance text-foreground",children:d}),e[12]=d,e[13]=f):f=e[13];let x;e[14]!==a.description||e[15]!==s?(x=s(a.description),e[14]=a.description,e[15]=s,e[16]=x):x=e[16];let u;e[17]!==x?(u=t.jsx("p",{className:"max-w-md text-sm text-pretty text-muted-foreground",children:x}),e[17]=x,e[18]=u):u=e[18];let h;e[19]!==m||e[20]!==f||e[21]!==u?(h=t.jsxs("div",{className:"flex flex-col items-center gap-3 text-center",children:[m,f,u]}),e[19]=m,e[20]=f,e[21]=u,e[22]=h):h=e[22];let p;if(e[23]!==a.points||e[24]!==s){let o;e[26]!==s?(o=z=>{const{Icon:I,labelKey:y,tone:K}=z;return t.jsxs("li",{className:"flex items-center gap-3 surface p-4 sm:flex-col sm:items-start",children:[t.jsx("span",{className:N("flex size-9 shrink-0 items-center justify-center rounded-lg",K),children:t.jsx(I,{size:18})}),t.jsx("span",{className:"text-sm text-foreground",children:s(y)})]},y)},e[26]=s,e[27]=o):o=e[27],p=a.points.map(o),e[23]=a.points,e[24]=s,e[25]=p}else p=e[25];let g;e[28]!==p?(g=t.jsx("ul",{className:"grid w-full gap-3 sm:grid-cols-3",children:p}),e[28]=p,e[29]=g):g=e[29];let v;return e[30]!==g||e[31]!==c||e[32]!==h?(v=t.jsx(w,{children:t.jsx(w.Content,{children:t.jsxs("div",{className:"mx-auto flex w-full max-w-2xl flex-col items-center gap-10 px-4 pt-12 pb-16 md:pt-20",children:[c,h,g]})})}),e[30]=g,e[31]=c,e[32]=h,e[33]=v):v=e[33],v}export{U as C};
@@ -1 +1 @@
1
- import{c as v,j as r,l as h,aU as b,D as j,v as w,aM as y,s as C,q as z}from"./index-DwUSgMrk.js";import{_ as k}from"./index-5UrkGUsp.js";import{i as D}from"./SearchMd-D_t1juud.js";function $(a){const e=v.c(8);let t,s;e[0]!==a?({className:t,...s}=a,e[0]=a,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let l;e[3]!==t?(l=h("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",t),e[3]=t,e[4]=l):l=e[4];let o;return e[5]!==s||e[6]!==l?(o=r.jsx(k,{"data-slot":"command",className:l,...s}),e[5]=s,e[6]=l,e[7]=o):o=e[7],o}function L(a){const e=v.c(28);let t,s,l,o,n,_,u;e[0]!==a?({title:_,description:u,children:t,className:s,filter:l,shouldFilter:n,...o}=a,e[0]=a,e[1]=t,e[2]=s,e[3]=l,e[4]=o,e[5]=n,e[6]=_,e[7]=u):(t=e[1],s=e[2],l=e[3],o=e[4],n=e[5],_=e[6],u=e[7]);const f=_===void 0?"Command Palette":_,x=u===void 0?"Search for a command to run...":u;let g;e[8]!==f?(g=r.jsx(w,{children:f}),e[8]=f,e[9]=g):g=e[9];let i;e[10]!==x?(i=r.jsx(y,{children:x}),e[10]=x,e[11]=i):i=e[11];let d;e[12]!==g||e[13]!==i?(d=r.jsxs(C,{className:"sr-only",children:[g,i]}),e[12]=g,e[13]=i,e[14]=d):d=e[14];let c;e[15]!==s?(c=h("overflow-hidden p-0",s),e[15]=s,e[16]=c):c=e[16];let m;e[17]!==t||e[18]!==l||e[19]!==n?(m=r.jsx($,{filter:l,shouldFilter:n,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:not([class*='size-'])]:h-5 [&_[cmdk-item]_svg:not([class*='size-'])]:w-5",children:t}),e[17]=t,e[18]=l,e[19]=n,e[20]=m):m=e[20];let p;e[21]!==c||e[22]!==m?(p=r.jsx(z,{className:c,closeButtonClassName:"hidden",children:m}),e[21]=c,e[22]=m,e[23]=p):p=e[23];let N;return e[24]!==o||e[25]!==d||e[26]!==p?(N=r.jsxs(j,{...o,children:[d,p]}),e[24]=o,e[25]=d,e[26]=p,e[27]=N):N=e[27],N}function R(a){const e=v.c(23);let t,s,l,o,n;e[0]!==a?({className:s,size:o,variant:n,action:t,...l}=a,e[0]=a,e[1]=t,e[2]=s,e[3]=l,e[4]=o,e[5]=n):(t=e[1],s=e[2],l=e[3],o=e[4],n=e[5]);const _=o===void 0?"default":o,u=n===void 0?"underline":n,f=_==="sm"?"h-9":"h-10",x=u==="boxed",g=x?"rounded-xl border border-input bg-transparent focus-within-ring":"border-b";let i;e[6]!==f||e[7]!==g?(i=h("flex items-center gap-2 px-3",f,g),e[6]=f,e[7]=g,e[8]=i):i=e[8];let d;e[9]!==x?(d=!x&&r.jsx(D,{className:"size-4 shrink-0 text-muted-foreground"}),e[9]=x,e[10]=d):d=e[10];let c;e[11]!==s||e[12]!==f?(c=h("placeholder:text-muted-foreground flex w-full rounded-md bg-transparent text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",f,s),e[11]=s,e[12]=f,e[13]=c):c=e[13];let m;e[14]!==l||e[15]!==c?(m=r.jsx(k.Input,{"data-slot":"command-input",className:c,...l}),e[14]=l,e[15]=c,e[16]=m):m=e[16];let p;return e[17]!==t||e[18]!==i||e[19]!==d||e[20]!==m||e[21]!==u?(p=r.jsxs("div",{"data-slot":"command-input-wrapper","data-variant":u,className:i,children:[d,m,t]}),e[17]=t,e[18]=i,e[19]=d,e[20]=m,e[21]=u,e[22]=p):p=e[22],p}function V(a){const e=v.c(8);let t,s;e[0]!==a?({className:t,...s}=a,e[0]=a,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let l;e[3]!==t?(l=h("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",t),e[3]=t,e[4]=l):l=e[4];let o;return e[5]!==s||e[6]!==l?(o=r.jsx(k.List,{"data-slot":"command-list",className:l,...s}),e[5]=s,e[6]=l,e[7]=o):o=e[7],o}function q(a){const e=v.c(4);let t;e[0]!==a?({...t}=a,e[0]=a,e[1]=t):t=e[1];let s;return e[2]!==t?(s=r.jsx(k.Empty,{"data-slot":"command-empty",className:"text-muted-foreground px-4 py-4 text-center text-sm",...t}),e[2]=t,e[3]=s):s=e[3],s}function B(a){const e=v.c(8);let t,s;e[0]!==a?({className:t,...s}=a,e[0]=a,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let l;e[3]!==t?(l=h("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",t),e[3]=t,e[4]=l):l=e[4];let o;return e[5]!==s||e[6]!==l?(o=r.jsx(k.Group,{"data-slot":"command-group",className:l,...s}),e[5]=s,e[6]=l,e[7]=o):o=e[7],o}function F(a){const e=v.c(8);let t,s;e[0]!==a?({className:t,...s}=a,e[0]=a,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let l;e[3]!==t?(l=h("bg-border -mx-1 h-px",t),e[3]=t,e[4]=l):l=e[4];let o;return e[5]!==s||e[6]!==l?(o=r.jsx(k.Separator,{"data-slot":"command-separator",className:l,...s}),e[5]=s,e[6]=l,e[7]=o):o=e[7],o}const I=b("[&_svg:not([class*='text-'])]:text-muted-foreground relative flex min-h-8 cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{highlight:{selected:"data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground",hover:"w-full hover:bg-accent hover:text-accent-foreground"},size:{default:"",lg:"min-h-11 gap-3 rounded-lg px-2.5 py-2"}},defaultVariants:{highlight:"selected",size:"default"}});function H(a){const e=v.c(10);let t,s,l;e[0]!==a?({className:t,size:l,...s}=a,e[0]=a,e[1]=t,e[2]=s,e[3]=l):(t=e[1],s=e[2],l=e[3]);let o;e[4]!==t||e[5]!==l?(o=h(I({size:l}),t),e[4]=t,e[5]=l,e[6]=o):o=e[6];let n;return e[7]!==s||e[8]!==o?(n=r.jsx(k.Item,{"data-slot":"command-item",className:o,...s}),e[7]=s,e[8]=o,e[9]=n):n=e[9],n}export{q as C,B as a,H as b,V as c,$ as d,R as e,L as f,I as g,F as h};
1
+ import{c as v,j as r,l as h,aU as b,D as j,v as w,aM as y,s as C,q as z}from"./index-DZmvRzpa.js";import{_ as k}from"./index-DhP0NfMa.js";import{i as D}from"./SearchMd-Ck1yegxo.js";function $(a){const e=v.c(8);let t,s;e[0]!==a?({className:t,...s}=a,e[0]=a,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let l;e[3]!==t?(l=h("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",t),e[3]=t,e[4]=l):l=e[4];let o;return e[5]!==s||e[6]!==l?(o=r.jsx(k,{"data-slot":"command",className:l,...s}),e[5]=s,e[6]=l,e[7]=o):o=e[7],o}function L(a){const e=v.c(28);let t,s,l,o,n,_,u;e[0]!==a?({title:_,description:u,children:t,className:s,filter:l,shouldFilter:n,...o}=a,e[0]=a,e[1]=t,e[2]=s,e[3]=l,e[4]=o,e[5]=n,e[6]=_,e[7]=u):(t=e[1],s=e[2],l=e[3],o=e[4],n=e[5],_=e[6],u=e[7]);const f=_===void 0?"Command Palette":_,x=u===void 0?"Search for a command to run...":u;let g;e[8]!==f?(g=r.jsx(w,{children:f}),e[8]=f,e[9]=g):g=e[9];let i;e[10]!==x?(i=r.jsx(y,{children:x}),e[10]=x,e[11]=i):i=e[11];let d;e[12]!==g||e[13]!==i?(d=r.jsxs(C,{className:"sr-only",children:[g,i]}),e[12]=g,e[13]=i,e[14]=d):d=e[14];let c;e[15]!==s?(c=h("overflow-hidden p-0",s),e[15]=s,e[16]=c):c=e[16];let m;e[17]!==t||e[18]!==l||e[19]!==n?(m=r.jsx($,{filter:l,shouldFilter:n,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:not([class*='size-'])]:h-5 [&_[cmdk-item]_svg:not([class*='size-'])]:w-5",children:t}),e[17]=t,e[18]=l,e[19]=n,e[20]=m):m=e[20];let p;e[21]!==c||e[22]!==m?(p=r.jsx(z,{className:c,closeButtonClassName:"hidden",children:m}),e[21]=c,e[22]=m,e[23]=p):p=e[23];let N;return e[24]!==o||e[25]!==d||e[26]!==p?(N=r.jsxs(j,{...o,children:[d,p]}),e[24]=o,e[25]=d,e[26]=p,e[27]=N):N=e[27],N}function R(a){const e=v.c(23);let t,s,l,o,n;e[0]!==a?({className:s,size:o,variant:n,action:t,...l}=a,e[0]=a,e[1]=t,e[2]=s,e[3]=l,e[4]=o,e[5]=n):(t=e[1],s=e[2],l=e[3],o=e[4],n=e[5]);const _=o===void 0?"default":o,u=n===void 0?"underline":n,f=_==="sm"?"h-9":"h-10",x=u==="boxed",g=x?"rounded-xl border border-input bg-transparent focus-within-ring":"border-b";let i;e[6]!==f||e[7]!==g?(i=h("flex items-center gap-2 px-3",f,g),e[6]=f,e[7]=g,e[8]=i):i=e[8];let d;e[9]!==x?(d=!x&&r.jsx(D,{className:"size-4 shrink-0 text-muted-foreground"}),e[9]=x,e[10]=d):d=e[10];let c;e[11]!==s||e[12]!==f?(c=h("placeholder:text-muted-foreground flex w-full rounded-md bg-transparent text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",f,s),e[11]=s,e[12]=f,e[13]=c):c=e[13];let m;e[14]!==l||e[15]!==c?(m=r.jsx(k.Input,{"data-slot":"command-input",className:c,...l}),e[14]=l,e[15]=c,e[16]=m):m=e[16];let p;return e[17]!==t||e[18]!==i||e[19]!==d||e[20]!==m||e[21]!==u?(p=r.jsxs("div",{"data-slot":"command-input-wrapper","data-variant":u,className:i,children:[d,m,t]}),e[17]=t,e[18]=i,e[19]=d,e[20]=m,e[21]=u,e[22]=p):p=e[22],p}function V(a){const e=v.c(8);let t,s;e[0]!==a?({className:t,...s}=a,e[0]=a,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let l;e[3]!==t?(l=h("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",t),e[3]=t,e[4]=l):l=e[4];let o;return e[5]!==s||e[6]!==l?(o=r.jsx(k.List,{"data-slot":"command-list",className:l,...s}),e[5]=s,e[6]=l,e[7]=o):o=e[7],o}function q(a){const e=v.c(4);let t;e[0]!==a?({...t}=a,e[0]=a,e[1]=t):t=e[1];let s;return e[2]!==t?(s=r.jsx(k.Empty,{"data-slot":"command-empty",className:"text-muted-foreground px-4 py-4 text-center text-sm",...t}),e[2]=t,e[3]=s):s=e[3],s}function B(a){const e=v.c(8);let t,s;e[0]!==a?({className:t,...s}=a,e[0]=a,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let l;e[3]!==t?(l=h("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",t),e[3]=t,e[4]=l):l=e[4];let o;return e[5]!==s||e[6]!==l?(o=r.jsx(k.Group,{"data-slot":"command-group",className:l,...s}),e[5]=s,e[6]=l,e[7]=o):o=e[7],o}function F(a){const e=v.c(8);let t,s;e[0]!==a?({className:t,...s}=a,e[0]=a,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let l;e[3]!==t?(l=h("bg-border -mx-1 h-px",t),e[3]=t,e[4]=l):l=e[4];let o;return e[5]!==s||e[6]!==l?(o=r.jsx(k.Separator,{"data-slot":"command-separator",className:l,...s}),e[5]=s,e[6]=l,e[7]=o):o=e[7],o}const I=b("[&_svg:not([class*='text-'])]:text-muted-foreground relative flex min-h-8 cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{highlight:{selected:"data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground",hover:"w-full hover:bg-accent hover:text-accent-foreground"},size:{default:"",lg:"min-h-11 gap-3 rounded-lg px-2.5 py-2"}},defaultVariants:{highlight:"selected",size:"default"}});function H(a){const e=v.c(10);let t,s,l;e[0]!==a?({className:t,size:l,...s}=a,e[0]=a,e[1]=t,e[2]=s,e[3]=l):(t=e[1],s=e[2],l=e[3]);let o;e[4]!==t||e[5]!==l?(o=h(I({size:l}),t),e[4]=t,e[5]=l,e[6]=o):o=e[6];let n;return e[7]!==s||e[8]!==o?(n=r.jsx(k.Item,{"data-slot":"command-item",className:o,...s}),e[7]=s,e[8]=o,e[9]=n):n=e[9],n}export{q as C,B as a,H as b,V as c,$ as d,R as e,L as f,I as g,F as h};
@@ -1 +1 @@
1
- import{c as _,r as T,l as Q,j as s,Q as Y,H as Z,b as U,a as ee,J as te,B as ne}from"./index-DwUSgMrk.js";import{n as se}from"./site-url-en5df9c-.js";import{u as oe}from"./use-mcp-client-CvE7itXw.js";import{u as re,a as le,C as ie,b as ae}from"./use-connect-companion-hQGadPnV.js";function ce(t){const e=_.c(14),{children:n,className:o,wrapperClassName:r}=t,[d,c]=T.useState(!0);let f;e[0]===Symbol.for("react.memo_cache_sentinel")?(f=u=>{if(!u)return;const y=()=>{const j=u.scrollHeight-u.scrollTop-u.clientHeight<8;c(j)};y(),u.addEventListener("scroll",y,{passive:!0});const b=new ResizeObserver(y);b.observe(u);for(const j of Array.from(u.children))b.observe(j);return()=>{u.removeEventListener("scroll",y),b.disconnect()}},e[0]=f):f=e[0];const p=f;let l;e[1]!==r?(l=Q("relative",r),e[1]=r,e[2]=l):l=e[2];let i;e[3]!==n||e[4]!==o?(i=s.jsx("div",{ref:p,className:o,children:n}),e[3]=n,e[4]=o,e[5]=i):i=e[5];const a=d?"opacity-0":"opacity-100";let x;e[6]!==a?(x=Q("pointer-events-none absolute inset-x-0 -bottom-px h-[72px]","bg-gradient-to-t from-sidebar from-[6px] to-transparent","backdrop-blur-[1px] [mask-image:linear-gradient(to_top,black_6px,transparent)]","transition-opacity duration-200",a),e[6]=a,e[7]=x):x=e[7];let m;e[8]!==x?(m=s.jsx("div",{"aria-hidden":!0,className:x}),e[8]=x,e[9]=m):m=e[9];let g;return e[10]!==l||e[11]!==i||e[12]!==m?(g=s.jsxs("div",{className:l,children:[i,m]}),e[10]=l,e[11]=i,e[12]=m,e[13]=g):g=e[13],g}const z="flex min-h-0 flex-1 flex-col gap-6 md:grid md:flex-none md:gap-6";function q(){const t=_.c(4),e=U();let n;t[0]!==e?(n=e("routes.reportsOnboarding.companionSection.title"),t[0]=e,t[1]=n):n=t[1];let o;return t[2]!==n?(o=s.jsx("h1",{className:"text-lg font-medium leading-6 text-foreground lg:text-xl lg:leading-7",children:n}),t[2]=n,t[3]=o):o=t[3],o}function de(){const t=_.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=s.jsx("div",{className:"flex flex-col gap-4",children:[0,1,2,3].map(me)}),t[0]=e):e=t[0],e}function me(t){return s.jsx(ae,{},t)}function fe(){const t=_.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=s.jsxs("div",{className:z,children:[s.jsx(q,{}),s.jsx(de,{})]}),t[0]=e):e=t[0],e}function ue(t){const e=_.c(18),{onRetry:n}=t,o=U();let r;e[0]===Symbol.for("react.memo_cache_sentinel")?(r=s.jsx(q,{}),e[0]=r):r=e[0];let d;e[1]!==o?(d=o("routes.reportsOnboarding.companionSection.loadError"),e[1]=o,e[2]=d):d=e[2];let c;e[3]!==d?(c=s.jsx("p",{className:"text-sm text-foreground",children:d}),e[3]=d,e[4]=c):c=e[4];let f;e[5]!==o?(f=o("routes.reportsOnboarding.companionSection.loadErrorDescription"),e[5]=o,e[6]=f):f=e[6];let p;e[7]!==f?(p=s.jsx("p",{className:"mt-1 text-sm text-muted-foreground",children:f}),e[7]=f,e[8]=p):p=e[8];let l;e[9]!==o?(l=o("routes.reportsOnboarding.companionSection.retry"),e[9]=o,e[10]=l):l=e[10];let i;e[11]!==n||e[12]!==l?(i=s.jsx(ne,{type:"button",variant:"outline",size:"sm",className:"mt-3",onClick:n,children:l}),e[11]=n,e[12]=l,e[13]=i):i=e[13];let a;return e[14]!==c||e[15]!==p||e[16]!==i?(a=s.jsxs("div",{className:z,children:[r,s.jsxs("div",{role:"alert",className:"surface p-4",children:[c,p,i]})]}),e[14]=c,e[15]=p,e[16]=i,e[17]=a):a=e[17],a}function ve(t){const e=_.c(2);let n;return e[0]!==t?(n=s.jsx(Y,{children:o=>{const{reset:r}=o;return s.jsx(Z,{fallback:d=>{const{resetError:c}=d;return s.jsx(ue,{onRetry:()=>{r(),c()}})},children:s.jsx(T.Suspense,{fallback:s.jsx(fe,{}),children:s.jsx(pe,{...t})})})}}),e[0]=t,e[1]=n):n=e[1],n}function pe(t){const e=_.c(60),{org:n,cdConnectionId:o,siteUrl:r,onReadinessChange:d}=t,c=U(),{data:f}=ee.useSession(),p=f?.user?.id??"";let l;if(e[0]!==r){const $=r?se(r):null;if($?.ok)try{l=new URL($.value).hostname}catch{l=void 0}e[0]=r,e[1]=l}else l=e[1];let i;e[2]!==n.id||e[3]!==n.slug?(i={connectionId:te,orgId:n.id,orgSlug:n.slug},e[2]=n.id,e[3]=n.slug,e[4]=i):i=e[4];const a=oe(i);let x;e[5]!==o||e[6]!==n||e[7]!==a||e[8]!==r?(x={selfClient:a,org:n,cdConnectionId:o,siteUrl:r},e[5]=o,e[6]=n,e[7]=a,e[8]=r,e[9]=x):x=e[9];const{cards:m,saStatusUnavailable:g}=re(x);let u;e[10]!==o||e[11]!==n||e[12]!==a||e[13]!==l||e[14]!==r||e[15]!==p?(u={selfClient:a,org:n,userId:p,cdConnectionId:o,domain:l,siteUrl:r},e[10]=o,e[11]=n,e[12]=a,e[13]=l,e[14]=r,e[15]=p,e[16]=u):u=e[16];const{connect:y,connectingFieldKey:b,disconnect:j,disconnectingFieldKey:L,error:N}=le(u),[F,D]=T.useState(null),P=he;let E,R,C,k,K,O,I,w,S,v;if(e[17]!==F||e[18]!==m||e[19]!==y||e[20]!==N||e[21]!==b||e[22]!==j||e[23]!==L||e[24]!==d||e[25]!==n||e[26]!==g||e[27]!==a||e[28]!==r||e[29]!==c){k=Symbol.for("react.early_return_sentinel");e:{const $=m.filter(ge),J=m.filter(xe),G=g||($.length>0?$.every(P):m.length===0||m.some(P));if(d?.(G),m.length===0){k=null;break e}const V=b!==null||L!==null,W=h=>{const X=async()=>{await y(h)&&D(h.fieldKey)};return s.jsx(ie,{card:h,connecting:b===h.fieldKey,disconnecting:L===h.fieldKey,disabled:V&&b!==h.fieldKey&&L!==h.fieldKey,org:n,selfClient:a,siteUrl:r,autoOpenConfigFieldKey:F,onAutoOpenConfigHandled:()=>D(H=>H===h.fieldKey?null:H),onConnect:()=>{X()},onDisconnect:()=>{j(h)}},h.fieldKey)};R=z,e[40]===Symbol.for("react.memo_cache_sentinel")?(C=s.jsx(q,{}),e[40]=C):C=e[40],E=ce,I="flex min-h-0 flex-1 flex-col md:block",w="-mx-1 min-h-0 flex-1 overflow-y-auto px-1 md:max-h-[min(60vh,calc(100dvh-330px))] md:flex-none",e[41]!==N?(S=N&&s.jsx("p",{role:"alert",className:"mb-3 text-sm text-destructive",children:N}),e[41]=N,e[42]=S):S=e[42],e[43]!==g||e[44]!==c?(v=g&&s.jsx("p",{role:"status",className:"mb-3 rounded-lg border border-warning/40 bg-warning/10 p-3 text-sm text-foreground",children:c("routes.reportsOnboarding.companionSection.statusUnavailable")}),e[43]=g,e[44]=c,e[45]=v):v=e[45],K="flex flex-col gap-4 pt-3",O=[...$,...J].map(W)}e[17]=F,e[18]=m,e[19]=y,e[20]=N,e[21]=b,e[22]=j,e[23]=L,e[24]=d,e[25]=n,e[26]=g,e[27]=a,e[28]=r,e[29]=c,e[30]=E,e[31]=R,e[32]=C,e[33]=k,e[34]=K,e[35]=O,e[36]=I,e[37]=w,e[38]=S,e[39]=v}else E=e[30],R=e[31],C=e[32],k=e[33],K=e[34],O=e[35],I=e[36],w=e[37],S=e[38],v=e[39];if(k!==Symbol.for("react.early_return_sentinel"))return k;let A;e[46]!==K||e[47]!==O?(A=s.jsx("div",{className:K,children:O}),e[46]=K,e[47]=O,e[48]=A):A=e[48];let B;e[49]!==E||e[50]!==A||e[51]!==I||e[52]!==w||e[53]!==S||e[54]!==v?(B=s.jsxs(E,{wrapperClassName:I,className:w,children:[S,v,A]}),e[49]=E,e[50]=A,e[51]=I,e[52]=w,e[53]=S,e[54]=v,e[55]=B):B=e[55];let M;return e[56]!==R||e[57]!==C||e[58]!==B?(M=s.jsxs("div",{className:R,children:[C,B]}),e[56]=R,e[57]=C,e[58]=B,e[59]=M):M=e[59],M}function xe(t){return!t.required}function ge(t){return t.required}function he(t){return t.satisfied&&t.configured}export{fe as C,ce as S,ve as a};
1
+ import{c as _,r as T,l as Q,j as s,Q as Y,H as Z,b as U,a as ee,J as te,B as ne}from"./index-DZmvRzpa.js";import{n as se}from"./site-url-en5df9c-.js";import{u as oe}from"./use-mcp-client-BT4RuJFS.js";import{u as re,a as le,C as ie,b as ae}from"./use-connect-companion-DbE19_P8.js";function ce(t){const e=_.c(14),{children:n,className:o,wrapperClassName:r}=t,[d,c]=T.useState(!0);let f;e[0]===Symbol.for("react.memo_cache_sentinel")?(f=u=>{if(!u)return;const y=()=>{const j=u.scrollHeight-u.scrollTop-u.clientHeight<8;c(j)};y(),u.addEventListener("scroll",y,{passive:!0});const b=new ResizeObserver(y);b.observe(u);for(const j of Array.from(u.children))b.observe(j);return()=>{u.removeEventListener("scroll",y),b.disconnect()}},e[0]=f):f=e[0];const p=f;let l;e[1]!==r?(l=Q("relative",r),e[1]=r,e[2]=l):l=e[2];let i;e[3]!==n||e[4]!==o?(i=s.jsx("div",{ref:p,className:o,children:n}),e[3]=n,e[4]=o,e[5]=i):i=e[5];const a=d?"opacity-0":"opacity-100";let x;e[6]!==a?(x=Q("pointer-events-none absolute inset-x-0 -bottom-px h-[72px]","bg-gradient-to-t from-sidebar from-[6px] to-transparent","backdrop-blur-[1px] [mask-image:linear-gradient(to_top,black_6px,transparent)]","transition-opacity duration-200",a),e[6]=a,e[7]=x):x=e[7];let m;e[8]!==x?(m=s.jsx("div",{"aria-hidden":!0,className:x}),e[8]=x,e[9]=m):m=e[9];let g;return e[10]!==l||e[11]!==i||e[12]!==m?(g=s.jsxs("div",{className:l,children:[i,m]}),e[10]=l,e[11]=i,e[12]=m,e[13]=g):g=e[13],g}const z="flex min-h-0 flex-1 flex-col gap-6 md:grid md:flex-none md:gap-6";function q(){const t=_.c(4),e=U();let n;t[0]!==e?(n=e("routes.reportsOnboarding.companionSection.title"),t[0]=e,t[1]=n):n=t[1];let o;return t[2]!==n?(o=s.jsx("h1",{className:"text-lg font-medium leading-6 text-foreground lg:text-xl lg:leading-7",children:n}),t[2]=n,t[3]=o):o=t[3],o}function de(){const t=_.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=s.jsx("div",{className:"flex flex-col gap-4",children:[0,1,2,3].map(me)}),t[0]=e):e=t[0],e}function me(t){return s.jsx(ae,{},t)}function fe(){const t=_.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=s.jsxs("div",{className:z,children:[s.jsx(q,{}),s.jsx(de,{})]}),t[0]=e):e=t[0],e}function ue(t){const e=_.c(18),{onRetry:n}=t,o=U();let r;e[0]===Symbol.for("react.memo_cache_sentinel")?(r=s.jsx(q,{}),e[0]=r):r=e[0];let d;e[1]!==o?(d=o("routes.reportsOnboarding.companionSection.loadError"),e[1]=o,e[2]=d):d=e[2];let c;e[3]!==d?(c=s.jsx("p",{className:"text-sm text-foreground",children:d}),e[3]=d,e[4]=c):c=e[4];let f;e[5]!==o?(f=o("routes.reportsOnboarding.companionSection.loadErrorDescription"),e[5]=o,e[6]=f):f=e[6];let p;e[7]!==f?(p=s.jsx("p",{className:"mt-1 text-sm text-muted-foreground",children:f}),e[7]=f,e[8]=p):p=e[8];let l;e[9]!==o?(l=o("routes.reportsOnboarding.companionSection.retry"),e[9]=o,e[10]=l):l=e[10];let i;e[11]!==n||e[12]!==l?(i=s.jsx(ne,{type:"button",variant:"outline",size:"sm",className:"mt-3",onClick:n,children:l}),e[11]=n,e[12]=l,e[13]=i):i=e[13];let a;return e[14]!==c||e[15]!==p||e[16]!==i?(a=s.jsxs("div",{className:z,children:[r,s.jsxs("div",{role:"alert",className:"surface p-4",children:[c,p,i]})]}),e[14]=c,e[15]=p,e[16]=i,e[17]=a):a=e[17],a}function ve(t){const e=_.c(2);let n;return e[0]!==t?(n=s.jsx(Y,{children:o=>{const{reset:r}=o;return s.jsx(Z,{fallback:d=>{const{resetError:c}=d;return s.jsx(ue,{onRetry:()=>{r(),c()}})},children:s.jsx(T.Suspense,{fallback:s.jsx(fe,{}),children:s.jsx(pe,{...t})})})}}),e[0]=t,e[1]=n):n=e[1],n}function pe(t){const e=_.c(60),{org:n,cdConnectionId:o,siteUrl:r,onReadinessChange:d}=t,c=U(),{data:f}=ee.useSession(),p=f?.user?.id??"";let l;if(e[0]!==r){const $=r?se(r):null;if($?.ok)try{l=new URL($.value).hostname}catch{l=void 0}e[0]=r,e[1]=l}else l=e[1];let i;e[2]!==n.id||e[3]!==n.slug?(i={connectionId:te,orgId:n.id,orgSlug:n.slug},e[2]=n.id,e[3]=n.slug,e[4]=i):i=e[4];const a=oe(i);let x;e[5]!==o||e[6]!==n||e[7]!==a||e[8]!==r?(x={selfClient:a,org:n,cdConnectionId:o,siteUrl:r},e[5]=o,e[6]=n,e[7]=a,e[8]=r,e[9]=x):x=e[9];const{cards:m,saStatusUnavailable:g}=re(x);let u;e[10]!==o||e[11]!==n||e[12]!==a||e[13]!==l||e[14]!==r||e[15]!==p?(u={selfClient:a,org:n,userId:p,cdConnectionId:o,domain:l,siteUrl:r},e[10]=o,e[11]=n,e[12]=a,e[13]=l,e[14]=r,e[15]=p,e[16]=u):u=e[16];const{connect:y,connectingFieldKey:b,disconnect:j,disconnectingFieldKey:L,error:N}=le(u),[F,D]=T.useState(null),P=he;let E,R,C,k,K,O,I,w,S,v;if(e[17]!==F||e[18]!==m||e[19]!==y||e[20]!==N||e[21]!==b||e[22]!==j||e[23]!==L||e[24]!==d||e[25]!==n||e[26]!==g||e[27]!==a||e[28]!==r||e[29]!==c){k=Symbol.for("react.early_return_sentinel");e:{const $=m.filter(ge),J=m.filter(xe),G=g||($.length>0?$.every(P):m.length===0||m.some(P));if(d?.(G),m.length===0){k=null;break e}const V=b!==null||L!==null,W=h=>{const X=async()=>{await y(h)&&D(h.fieldKey)};return s.jsx(ie,{card:h,connecting:b===h.fieldKey,disconnecting:L===h.fieldKey,disabled:V&&b!==h.fieldKey&&L!==h.fieldKey,org:n,selfClient:a,siteUrl:r,autoOpenConfigFieldKey:F,onAutoOpenConfigHandled:()=>D(H=>H===h.fieldKey?null:H),onConnect:()=>{X()},onDisconnect:()=>{j(h)}},h.fieldKey)};R=z,e[40]===Symbol.for("react.memo_cache_sentinel")?(C=s.jsx(q,{}),e[40]=C):C=e[40],E=ce,I="flex min-h-0 flex-1 flex-col md:block",w="-mx-1 min-h-0 flex-1 overflow-y-auto px-1 md:max-h-[min(60vh,calc(100dvh-330px))] md:flex-none",e[41]!==N?(S=N&&s.jsx("p",{role:"alert",className:"mb-3 text-sm text-destructive",children:N}),e[41]=N,e[42]=S):S=e[42],e[43]!==g||e[44]!==c?(v=g&&s.jsx("p",{role:"status",className:"mb-3 rounded-lg border border-warning/40 bg-warning/10 p-3 text-sm text-foreground",children:c("routes.reportsOnboarding.companionSection.statusUnavailable")}),e[43]=g,e[44]=c,e[45]=v):v=e[45],K="flex flex-col gap-4 pt-3",O=[...$,...J].map(W)}e[17]=F,e[18]=m,e[19]=y,e[20]=N,e[21]=b,e[22]=j,e[23]=L,e[24]=d,e[25]=n,e[26]=g,e[27]=a,e[28]=r,e[29]=c,e[30]=E,e[31]=R,e[32]=C,e[33]=k,e[34]=K,e[35]=O,e[36]=I,e[37]=w,e[38]=S,e[39]=v}else E=e[30],R=e[31],C=e[32],k=e[33],K=e[34],O=e[35],I=e[36],w=e[37],S=e[38],v=e[39];if(k!==Symbol.for("react.early_return_sentinel"))return k;let A;e[46]!==K||e[47]!==O?(A=s.jsx("div",{className:K,children:O}),e[46]=K,e[47]=O,e[48]=A):A=e[48];let B;e[49]!==E||e[50]!==A||e[51]!==I||e[52]!==w||e[53]!==S||e[54]!==v?(B=s.jsxs(E,{wrapperClassName:I,className:w,children:[S,v,A]}),e[49]=E,e[50]=A,e[51]=I,e[52]=w,e[53]=S,e[54]=v,e[55]=B):B=e[55];let M;return e[56]!==R||e[57]!==C||e[58]!==B?(M=s.jsxs("div",{className:R,children:[C,B]}),e[56]=R,e[57]=C,e[58]=B,e[59]=M):M=e[59],M}function xe(t){return!t.required}function ge(t){return t.required}function he(t){return t.satisfied&&t.configured}export{fe as C,ce as S,ve as a};
@@ -1 +1 @@
1
- import{p as x,m as k}from"./core.esm-3Ntqpx6o.js";import{i as _}from"./AlertCircle-Chv0zwfM.js";import{aY as v,aZ as K,a_ as g,a$ as B,z as S,E as w,b0 as A,t as L,b1 as I,b2 as O,aL as E,ab as T}from"./agent-icon-sWZwj0Es.js";import{b1 as D,a6 as R,aN as P,dd as y}from"./index-DwUSgMrk.js";import{i as $}from"./CheckCircle-BOOTvtN7.js";import{s as M}from"./Image01-Ffg_Ow_R.js";import{e as F,C as l}from"./task-board-CDUMGTb-.js";const U=D("Bug",[["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}],["path",{d:"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6",key:"xs1cw7"}],["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M17.2 17c2.1.1 3.8 1.9 3.8 4",key:"k3fwyw"}]]),j=["ended_after_delivery","superseded"];function H(e){return!!e&&j.includes(e)}function re(e){return!(e.action==="status_changed"&&typeof e.data?.retry=="number")}function oe(e){return e.failureKind!=="superseded"}function d(e){return e.threads.some(t=>t.status==="requires_action")}function ie(e){return e.status==="in_review"&&!e.assigneeId}function ce(e){return d(e)}function u(e){return e.status==="done"||e.status==="archived"?!1:e.priority==="urgent"||e.type==="security"||d(e)||Y(e)==="failed"}const N="critical:";function W(e){return e!=="done"&&e!=="archived"}function le({overId:e,itemOf:t,fromStatus:a,toStatus:n}){if(e===void 0||!W(n))return null;const s=String(e);if(s.startsWith(N))return"critical";if(a!==n)return null;if(s.startsWith(b))return"improvements";const r=t(s);return r?u(r)?"critical":"improvements":null}function ue(e,t){const a=u(e);return t==="critical"?a?null:"urgent":a?u({...e,priority:"high"})?null:"high":null}function de(e){return e.status==="in_progress"&&d(e)?"text-warning animate-pulse":h(e.status).iconClassName}function Y(e){return e.threads.some(a=>a.status==="in_progress")?"running":e.threads.some(a=>a.status==="failed"&&!H(a.failureKind))?"failed":null}function fe(e,t,a){const n=e.findIndex(o=>o.id===a),s=t===a?e[n+1]?.id??null:t,r=e.filter(o=>o.id!==a),f=s?r.findIndex(o=>o.id===s):-1,m=f===-1?r.length:f,i=r[m-1],c=r[m];return i&&c?(i.sortOrder+c.sortOrder)/2:i?i.sortOrder+1:c?c.sortOrder-1:0}function me(e,t){return Array.from({length:t},(a,n)=>e-(t-1-n)*1e-4)}const q=["archived"],C={triage:{labelKey:"taskBoard.config.statusBacklog",icon:_,iconClassName:"text-muted-foreground"},todo:{labelKey:"taskBoard.config.statusTodo",icon:y,iconClassName:"text-muted-foreground"},in_progress:{labelKey:"taskBoard.config.statusInProgress",icon:T,iconClassName:"text-primary"},in_review:{labelKey:"taskBoard.config.statusInReview",icon:M,iconClassName:"text-warning"},qa:{labelKey:"taskBoard.config.statusQa",icon:E,iconClassName:"text-warning"},customer_approval:{labelKey:"taskBoard.config.statusCustomerApproval",icon:O,iconClassName:"text-warning"},ready_for_deployment:{labelKey:"taskBoard.config.statusReadyForDeployment",icon:I,iconClassName:"text-success"},post_deploy_validation:{labelKey:"taskBoard.config.statusPostDeployValidation",icon:L,iconClassName:"text-warning"},done:{labelKey:"taskBoard.config.statusDone",icon:$,iconClassName:"text-success"},archived:{labelKey:"taskBoard.config.statusArchived",icon:P,iconClassName:"text-muted-foreground"}},G={icon:y,iconClassName:"text-muted-foreground"},V=C;function h(e){return V[e]??G}function ge(e,t){const a=C[e];return{label:a?t(a.labelKey):e,visual:h(e)}}const pe=["bug","feature","chore","spike","security"],ye={bug:{labelKey:"taskBoard.config.typeBug",icon:U,iconClassName:"text-destructive"},feature:{labelKey:"taskBoard.config.typeFeature",icon:A,iconClassName:"text-success"},chore:{labelKey:"taskBoard.config.typeChore",icon:w,iconClassName:"text-muted-foreground"},spike:{labelKey:"taskBoard.config.typeSpike",icon:S,iconClassName:"text-brand-yellow"},security:{labelKey:"taskBoard.config.typeSecurity",icon:R,iconClassName:"text-project-purple"}};function p(e,t){return t[e]??!q.includes(e)}function Ne(e){return{lanes:l.filter(t=>p(t,e)),hidden:l.filter(t=>!p(t,e))}}const z=44;function Ce({lanes:e,collapsed:t,hasHiddenTail:a}){const n=e.map(s=>t.includes(s)?`${z}px`:"minmax(280px, 1fr)");return a&&n.push("280px"),n.join(" ")}const b="lane:",he=e=>{const t=x(e);return t.length>0?t:k(e)};function X(e){return l.includes(e)}function be({overId:e,statusOf:t}){if(e===void 0)return null;const a=String(e),n=[b,N].find(r=>a.startsWith(r)),s=n?a.slice(n.length):t(a);return s!==void 0&&X(s)?s:null}function xe(e,t){return Math.max(0,Math.floor((t-Date.parse(e))/864e5))}const ke=["none","low","medium","high","urgent"],_e={none:{labelKey:"taskBoard.config.priorityNone",flagClassName:"text-muted-foreground",dotClassName:"border border-muted-foreground/50",icon:g,iconClassName:"text-muted-foreground/40"},low:{labelKey:"taskBoard.config.priorityLow",flagClassName:"text-muted-foreground",dotClassName:"bg-muted-foreground/40",icon:B,iconClassName:"text-muted-foreground"},medium:{labelKey:"taskBoard.config.priorityMedium",flagClassName:"text-project-blue",dotClassName:"bg-project-blue",icon:g,iconClassName:"text-project-blue"},high:{labelKey:"taskBoard.config.priorityHigh",flagClassName:"text-warning",dotClassName:"bg-warning",icon:K,iconClassName:"text-warning"},urgent:{labelKey:"taskBoard.config.priorityUrgent",flagClassName:"text-destructive",dotClassName:"bg-destructive",icon:v,iconClassName:"text-destructive"}};function ve(e,t=Date.now()){const a=new Date(e).getTime();return Number.isNaN(a)?null:a<t?"overdue":a-t<=Q*864e5?"soon":null}const Q=3;function Ke(e){return`color-mix(in oklab, ${e??F} var(--user-color-strength), transparent)`}export{N as C,q as H,b as L,ke as P,C as S,pe as T,ie as a,_e as b,ye as c,Y as d,u as e,h as f,oe as g,re as h,d as i,H as j,p as k,ge as l,Ne as m,Ce as n,he as o,ce as p,ue as q,me as r,de as s,Ke as t,fe as u,W as v,be as w,le as x,ve as y,xe as z};
1
+ import{p as x,m as k}from"./core.esm-B-vvH6U_.js";import{i as _}from"./AlertCircle-Xw5avZbK.js";import{aY as v,aZ as K,a_ as g,a$ as B,z as S,E as w,b0 as A,t as L,b1 as I,b2 as O,aL as E,ab as T}from"./agent-icon-xbJdvE2q.js";import{b1 as D,a6 as R,aN as P,dd as y}from"./index-DZmvRzpa.js";import{i as $}from"./CheckCircle-C9KkL-ha.js";import{s as M}from"./Image01-Gj57XenJ.js";import{e as F,C as l}from"./task-board-CaPpwq32.js";const U=D("Bug",[["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}],["path",{d:"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6",key:"xs1cw7"}],["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M17.2 17c2.1.1 3.8 1.9 3.8 4",key:"k3fwyw"}]]),j=["ended_after_delivery","superseded"];function H(e){return!!e&&j.includes(e)}function re(e){return!(e.action==="status_changed"&&typeof e.data?.retry=="number")}function oe(e){return e.failureKind!=="superseded"}function d(e){return e.threads.some(t=>t.status==="requires_action")}function ie(e){return e.status==="in_review"&&!e.assigneeId}function ce(e){return d(e)}function u(e){return e.status==="done"||e.status==="archived"?!1:e.priority==="urgent"||e.type==="security"||d(e)||Y(e)==="failed"}const N="critical:";function W(e){return e!=="done"&&e!=="archived"}function le({overId:e,itemOf:t,fromStatus:a,toStatus:n}){if(e===void 0||!W(n))return null;const s=String(e);if(s.startsWith(N))return"critical";if(a!==n)return null;if(s.startsWith(b))return"improvements";const r=t(s);return r?u(r)?"critical":"improvements":null}function ue(e,t){const a=u(e);return t==="critical"?a?null:"urgent":a?u({...e,priority:"high"})?null:"high":null}function de(e){return e.status==="in_progress"&&d(e)?"text-warning animate-pulse":h(e.status).iconClassName}function Y(e){return e.threads.some(a=>a.status==="in_progress")?"running":e.threads.some(a=>a.status==="failed"&&!H(a.failureKind))?"failed":null}function fe(e,t,a){const n=e.findIndex(o=>o.id===a),s=t===a?e[n+1]?.id??null:t,r=e.filter(o=>o.id!==a),f=s?r.findIndex(o=>o.id===s):-1,m=f===-1?r.length:f,i=r[m-1],c=r[m];return i&&c?(i.sortOrder+c.sortOrder)/2:i?i.sortOrder+1:c?c.sortOrder-1:0}function me(e,t){return Array.from({length:t},(a,n)=>e-(t-1-n)*1e-4)}const q=["archived"],C={triage:{labelKey:"taskBoard.config.statusBacklog",icon:_,iconClassName:"text-muted-foreground"},todo:{labelKey:"taskBoard.config.statusTodo",icon:y,iconClassName:"text-muted-foreground"},in_progress:{labelKey:"taskBoard.config.statusInProgress",icon:T,iconClassName:"text-primary"},in_review:{labelKey:"taskBoard.config.statusInReview",icon:M,iconClassName:"text-warning"},qa:{labelKey:"taskBoard.config.statusQa",icon:E,iconClassName:"text-warning"},customer_approval:{labelKey:"taskBoard.config.statusCustomerApproval",icon:O,iconClassName:"text-warning"},ready_for_deployment:{labelKey:"taskBoard.config.statusReadyForDeployment",icon:I,iconClassName:"text-success"},post_deploy_validation:{labelKey:"taskBoard.config.statusPostDeployValidation",icon:L,iconClassName:"text-warning"},done:{labelKey:"taskBoard.config.statusDone",icon:$,iconClassName:"text-success"},archived:{labelKey:"taskBoard.config.statusArchived",icon:P,iconClassName:"text-muted-foreground"}},G={icon:y,iconClassName:"text-muted-foreground"},V=C;function h(e){return V[e]??G}function ge(e,t){const a=C[e];return{label:a?t(a.labelKey):e,visual:h(e)}}const pe=["bug","feature","chore","spike","security"],ye={bug:{labelKey:"taskBoard.config.typeBug",icon:U,iconClassName:"text-destructive"},feature:{labelKey:"taskBoard.config.typeFeature",icon:A,iconClassName:"text-success"},chore:{labelKey:"taskBoard.config.typeChore",icon:w,iconClassName:"text-muted-foreground"},spike:{labelKey:"taskBoard.config.typeSpike",icon:S,iconClassName:"text-brand-yellow"},security:{labelKey:"taskBoard.config.typeSecurity",icon:R,iconClassName:"text-project-purple"}};function p(e,t){return t[e]??!q.includes(e)}function Ne(e){return{lanes:l.filter(t=>p(t,e)),hidden:l.filter(t=>!p(t,e))}}const z=44;function Ce({lanes:e,collapsed:t,hasHiddenTail:a}){const n=e.map(s=>t.includes(s)?`${z}px`:"minmax(280px, 1fr)");return a&&n.push("280px"),n.join(" ")}const b="lane:",he=e=>{const t=x(e);return t.length>0?t:k(e)};function X(e){return l.includes(e)}function be({overId:e,statusOf:t}){if(e===void 0)return null;const a=String(e),n=[b,N].find(r=>a.startsWith(r)),s=n?a.slice(n.length):t(a);return s!==void 0&&X(s)?s:null}function xe(e,t){return Math.max(0,Math.floor((t-Date.parse(e))/864e5))}const ke=["none","low","medium","high","urgent"],_e={none:{labelKey:"taskBoard.config.priorityNone",flagClassName:"text-muted-foreground",dotClassName:"border border-muted-foreground/50",icon:g,iconClassName:"text-muted-foreground/40"},low:{labelKey:"taskBoard.config.priorityLow",flagClassName:"text-muted-foreground",dotClassName:"bg-muted-foreground/40",icon:B,iconClassName:"text-muted-foreground"},medium:{labelKey:"taskBoard.config.priorityMedium",flagClassName:"text-project-blue",dotClassName:"bg-project-blue",icon:g,iconClassName:"text-project-blue"},high:{labelKey:"taskBoard.config.priorityHigh",flagClassName:"text-warning",dotClassName:"bg-warning",icon:K,iconClassName:"text-warning"},urgent:{labelKey:"taskBoard.config.priorityUrgent",flagClassName:"text-destructive",dotClassName:"bg-destructive",icon:v,iconClassName:"text-destructive"}};function ve(e,t=Date.now()){const a=new Date(e).getTime();return Number.isNaN(a)?null:a<t?"overdue":a-t<=Q*864e5?"soon":null}const Q=3;function Ke(e){return`color-mix(in oklab, ${e??F} var(--user-color-strength), transparent)`}export{N as C,q as H,b as L,ke as P,C as S,pe as T,ie as a,_e as b,ye as c,Y as d,u as e,h as f,oe as g,re as h,d as i,H as j,p as k,ge as l,Ne as m,Ce as n,he as o,ce as p,ue as q,me as r,de as s,Ke as t,fe as u,W as v,be as w,le as x,ve as y,xe as z};
@@ -1,4 +1,4 @@
1
- import{c as k,j as s,b as _,r as J,l as Ce,af as me,g3 as be,a2 as ve,am as Ne,a3 as ke,B as ie,t as fe,eZ as pe,er as we,av as Se}from"./index-DwUSgMrk.js";import{A as $e,b as _e}from"./alert-VfejUnRf.js";import{B as Ke}from"./badge-0pHsypn4.js";import{a as Ae,b as Ie,c as de,d as ze,S as Te}from"./select-DSSug2fd.js";import{c as se,T as oe,a as xe,b as ae}from"./tabs-CBoEFGVa.js";import{u as ge}from"./use-copy-D9a2GtFe.js";import{a as he}from"./Copy01-CsZzLh_E.js";import{i as Le}from"./Key01-BVuT8y7b.js";import{i as Oe}from"./Link01-Du3sgYhY.js";import{C as De,a as Me,b as Ee}from"./client-icons-Cv4YCEZF.js";import{u as Be,a as He,A as Pe}from"./api-keys-DGmfxaaK.js";import{R as Ge}from"./require-capability-BOhrH32F.js";import"./index-BdQq_4o_.js";import"./index-B50XV3gp.js";import"./ChevronUp-UOllpHWY.js";import"./active-indicator-CCMhAsc_.js";import"./AlertCircle-Chv0zwfM.js";import"./Plus-Dr-ysAIN.js";import"./Trash01--FklAmhG.js";import"./empty-state-kKu94zqY.js";import"./alert-dialog-XdiY2J_y.js";import"./label-9iahSV8V.js";import"./use-mcp-client-CvE7itXw.js";import"./auth-CR47t1GM.js";import"./access-gate-DMrwc1hr.js";import"./capability-load-error-BwHvNdC3.js";function Re(){return(typeof window>"u"?"":window.location.hostname||"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")||"studio"}function Ve(t){return`${typeof window>"u"?"http://localhost:3000":window.location.origin}/api/${t}/mcp/self`}function Ue({client:t,mode:e,url:i,apiKey:o}){const n=o??"<paste-your-api-key>",r=Re();if(t==="claude-code")return e==="oauth"?{language:"bash",code:`claude mcp add --transport http --scope user ${r} ${i}`}:{language:"bash",code:`claude mcp add --transport http --scope user ${r} ${i} \\
1
+ import{c as k,j as s,b as _,r as J,l as Ce,af as me,g3 as be,a2 as ve,am as Ne,a3 as ke,B as ie,t as fe,eZ as pe,er as we,av as Se}from"./index-DZmvRzpa.js";import{A as $e,b as _e}from"./alert-DudHXsvn.js";import{B as Ke}from"./badge-BaNfmuO8.js";import{a as Ae,b as Ie,c as de,d as ze,S as Te}from"./select-Cbu3qvFl.js";import{c as se,T as oe,a as xe,b as ae}from"./tabs-DfHCEpge.js";import{u as ge}from"./use-copy-VmXJT7AS.js";import{a as he}from"./Copy01-pBwpFr5E.js";import{i as Le}from"./Key01-CQzFU9Dd.js";import{i as Oe}from"./Link01-aU3GjxmN.js";import{C as De,a as Me,b as Ee}from"./client-icons-X70m8FwJ.js";import{u as Be,a as He,A as Pe}from"./api-keys-WRhPMB3h.js";import{R as Ge}from"./require-capability-52b9Xp2K.js";import"./index-BdQq_4o_.js";import"./index-BOzfWC0j.js";import"./ChevronUp-DrJ4ZMnj.js";import"./active-indicator-CCMhAsc_.js";import"./AlertCircle-Xw5avZbK.js";import"./Plus-B9TUkipI.js";import"./Trash01-B3jlnF7f.js";import"./empty-state-ZbW7XOFD.js";import"./alert-dialog-CIQ4s-Lz.js";import"./label-Cg6deWT_.js";import"./use-mcp-client-BT4RuJFS.js";import"./auth-SJ5HA4qu.js";import"./access-gate-ONVQlUZQ.js";import"./capability-load-error-DLrFY0pE.js";function Re(){return(typeof window>"u"?"":window.location.hostname||"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")||"studio"}function Ve(t){return`${typeof window>"u"?"http://localhost:3000":window.location.origin}/api/${t}/mcp/self`}function Ue({client:t,mode:e,url:i,apiKey:o}){const n=o??"<paste-your-api-key>",r=Re();if(t==="claude-code")return e==="oauth"?{language:"bash",code:`claude mcp add --transport http --scope user ${r} ${i}`}:{language:"bash",code:`claude mcp add --transport http --scope user ${r} ${i} \\
2
2
  --header "Authorization: Bearer ${n}"`};if(t==="cursor"){const l={url:i};return e==="api-key"&&(l.headers={Authorization:`Bearer ${n}`}),{language:"json",pathHint:"~/.cursor/mcp.json",code:JSON.stringify({mcpServers:{[r]:l}},null,2)}}if(t==="codex"){const l=[`[mcp_servers.${r}]`,`url = "${i}"`];return e==="api-key"&&l.push(`http_headers = { "Authorization" = "Bearer ${n}" }`),{language:"toml",pathHint:"~/.codex/config.toml",code:l.join(`
3
3
  `)}}return e==="oauth"?{language:"text",code:`${i}
4
4
 
@@ -1 +1 @@
1
- import{c as v,b as N,j as s,ad as w,aY as k,av as y,B as z}from"./index-DwUSgMrk.js";import{b3 as _,aH as C}from"./agent-icon-sWZwj0Es.js";const S="https://decoims.com/image?src=decocms%2F06b54678-5335-4671-b63a-e13d9e541155%2Fagataesteves.png&quality=original&fit=cover&width=160&height=160";function $(){const t=v.c(13),e=N();let l;t[0]===Symbol.for("react.memo_cache_sentinel")?(l=s.jsx("img",{src:"/logos/summit/monte-carlo.svg",alt:"Monte Carlo",className:"h-14 w-[112px] shrink-0 self-start object-contain object-left brightness-0 invert"}),t[0]=l):l=t[0];let n;t[1]!==e?(n=e("routes.reportsOnboarding.connectModal.quote"),t[1]=e,t[2]=n):n=t[2];let o;t[3]!==n?(o=s.jsxs("blockquote",{className:"text-lg font-medium leading-[1.45] lg:text-xl",children:["“",n,"”"]}),t[3]=n,t[4]=o):o=t[4];let c;t[5]===Symbol.for("react.memo_cache_sentinel")?(c=s.jsx("img",{src:S,alt:"",className:"size-10 shrink-0 rounded-full object-cover",loading:"lazy"}),t[5]=c):c=t[5];let r;t[6]!==e?(r=e("routes.reportsOnboarding.connectModal.quoteAuthor"),t[6]=e,t[7]=r):r=t[7];let i;t[8]!==r?(i=s.jsxs("figcaption",{className:"flex items-center gap-2.5",children:[c,s.jsx("span",{className:"text-base font-medium",children:r})]}),t[8]=r,t[9]=i):i=t[9];let a;return t[10]!==o||t[11]!==i?(a=s.jsxs("div",{className:"relative flex flex-col gap-8 text-white",children:[l,o,i]}),t[10]=o,t[11]=i,t[12]=a):a=t[12],a}function M(){const t=v.c(19),e=N();let l;t[0]!==e?(l=e("routes.reportsOnboarding.connectModal.trustRevoke"),t[0]=e,t[1]=l):l=t[1];let n;t[2]!==l?(n={Icon:_,label:l},t[2]=l,t[3]=n):n=t[3];let o;t[4]!==e?(o=e("routes.reportsOnboarding.connectModal.trustEncrypted"),t[4]=e,t[5]=o):o=t[5];let c;t[6]!==o?(c={Icon:w,label:o},t[6]=o,t[7]=c):c=t[7];let r;t[8]!==e?(r=e("routes.reportsOnboarding.connectModal.trustNeverSold"),t[8]=e,t[9]=r):r=t[9];let i;t[10]!==r?(i={Icon:C,label:r},t[10]=r,t[11]=i):i=t[11];let a;t[12]!==n||t[13]!==c||t[14]!==i?(a=[n,c,i],t[12]=n,t[13]=c,t[14]=i,t[15]=a):a=t[15];const m=a;let f;t[16]===Symbol.for("react.memo_cache_sentinel")?(f=s.jsx("div",{className:"h-px w-full bg-white/15"}),t[16]=f):f=t[16];let d;return t[17]!==m?(d=s.jsxs("div",{className:"relative flex flex-col gap-2.5 text-white",children:[f,s.jsx("ul",{className:"mt-1 flex flex-col gap-2.5",children:m.map(q)})]}),t[17]=m,t[18]=d):d=t[18],d}function q(t){const{Icon:e,label:l}=t;return s.jsxs("li",{className:"flex items-center gap-2.5 text-sm leading-tight text-white/70",children:[s.jsx(e,{className:"size-4 shrink-0 opacity-85"}),l]},l)}function R(t){const e=v.c(22),{siteHost:l,footer:n,onClose:o,children:c}=t,r=N(),i=l?`https://www.google.com/s2/favicons?domain=${l}&sz=128`:null;let a;e[0]!==o||e[1]!==r?(a=o&&s.jsx("button",{type:"button",onClick:o,"aria-label":r("routes.reportsOnboarding.connectModal.close"),className:"absolute right-3 top-3 z-10 flex size-9 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:bg-black/10 hover:text-foreground lg:text-white/80 lg:hover:bg-white/15 lg:hover:text-white",children:s.jsx(k,{size:18})}),e[0]=o,e[1]=r,e[2]=a):a=e[2];let m,f;e[3]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsx("img",{src:"/logos/deco logo.svg",alt:"Deco",className:"size-7 shrink-0 dark:hidden"}),f=s.jsx("img",{src:"/logos/deco logo negative.svg",alt:"Deco",className:"hidden size-7 shrink-0 dark:block"}),e[3]=m,e[4]=f):(m=e[3],f=e[4]);let d;e[5]!==i||e[6]!==l?(d=l&&s.jsxs(s.Fragment,{children:[s.jsx(y,{size:16,className:"shrink-0 text-foreground/25"}),i&&s.jsx("span",{className:"flex size-4 shrink-0 items-center justify-center overflow-hidden rounded bg-white",children:s.jsx("img",{src:i,alt:"",className:"size-full"})}),s.jsx("span",{className:"truncate text-base leading-tight text-muted-foreground",children:l})]}),e[5]=i,e[6]=l,e[7]=d):d=e[7];let x;e[8]!==d?(x=s.jsxs("div",{className:"flex items-center gap-2",children:[m,f,d]}),e[8]=d,e[9]=x):x=e[9];let g;e[10]!==n?(g=s.jsx("div",{className:"flex shrink-0 flex-col gap-3",children:n}),e[10]=n,e[11]=g):g=e[11];let h;e[12]!==c||e[13]!==x||e[14]!==g?(h=s.jsxs("div",{className:"flex min-h-0 flex-1 flex-col gap-8 bg-background p-6 lg:p-8",children:[x,c,g]}),e[12]=c,e[13]=x,e[14]=g,e[15]=h):h=e[15];let u,b;e[16]===Symbol.for("react.memo_cache_sentinel")?(u=s.jsx("img",{src:"https://decoims.com/image?src=decocms%2F8191643a-1947-4c30-afb4-36b8073c90fb%2Fbg-quote.png&quality=original&fit=cover&width=880",alt:"",className:"absolute inset-0 size-full object-cover"}),b=s.jsx("div",{className:"absolute inset-0 bg-black/20"}),e[16]=u,e[17]=b):(u=e[16],b=e[17]);let p;e[18]===Symbol.for("react.memo_cache_sentinel")?(p=s.jsxs("aside",{className:"relative hidden shrink-0 overflow-hidden lg:flex lg:w-[440px] lg:flex-col lg:p-14",children:[u,b,s.jsxs("div",{className:"relative z-10 flex h-full flex-col",children:[s.jsx("div",{className:"flex-1"}),s.jsx($,{}),s.jsx("div",{className:"flex-1"}),s.jsx(M,{})]})]}),e[18]=p):p=e[18];let j;return e[19]!==a||e[20]!==h?(j=s.jsxs("div",{className:"relative flex min-h-0 flex-1 flex-col lg:flex-row",children:[a,h,p]}),e[19]=a,e[20]=h,e[21]=j):j=e[21],j}function A(t){const e=v.c(5),{ready:l,pending:n,label:o,onClick:c,children:r}=t,i=n||!l,a=l&&!n?r:null;let m;return e[0]!==o||e[1]!==c||e[2]!==i||e[3]!==a?(m=s.jsxs(z,{type:"button",size:"lg",className:"h-auto min-h-12 w-full whitespace-normal py-3 text-center text-base font-medium leading-tight",onClick:c,disabled:i,children:[o,a]}),e[0]=o,e[1]=c,e[2]=i,e[3]=a,e[4]=m):m=e[4],m}export{R as C,A as a};
1
+ import{c as v,b as N,j as s,ad as w,aY as k,av as y,B as z}from"./index-DZmvRzpa.js";import{b3 as _,aH as C}from"./agent-icon-xbJdvE2q.js";const S="https://decoims.com/image?src=decocms%2F06b54678-5335-4671-b63a-e13d9e541155%2Fagataesteves.png&quality=original&fit=cover&width=160&height=160";function $(){const t=v.c(13),e=N();let l;t[0]===Symbol.for("react.memo_cache_sentinel")?(l=s.jsx("img",{src:"/logos/summit/monte-carlo.svg",alt:"Monte Carlo",className:"h-14 w-[112px] shrink-0 self-start object-contain object-left brightness-0 invert"}),t[0]=l):l=t[0];let n;t[1]!==e?(n=e("routes.reportsOnboarding.connectModal.quote"),t[1]=e,t[2]=n):n=t[2];let o;t[3]!==n?(o=s.jsxs("blockquote",{className:"text-lg font-medium leading-[1.45] lg:text-xl",children:["“",n,"”"]}),t[3]=n,t[4]=o):o=t[4];let c;t[5]===Symbol.for("react.memo_cache_sentinel")?(c=s.jsx("img",{src:S,alt:"",className:"size-10 shrink-0 rounded-full object-cover",loading:"lazy"}),t[5]=c):c=t[5];let r;t[6]!==e?(r=e("routes.reportsOnboarding.connectModal.quoteAuthor"),t[6]=e,t[7]=r):r=t[7];let i;t[8]!==r?(i=s.jsxs("figcaption",{className:"flex items-center gap-2.5",children:[c,s.jsx("span",{className:"text-base font-medium",children:r})]}),t[8]=r,t[9]=i):i=t[9];let a;return t[10]!==o||t[11]!==i?(a=s.jsxs("div",{className:"relative flex flex-col gap-8 text-white",children:[l,o,i]}),t[10]=o,t[11]=i,t[12]=a):a=t[12],a}function M(){const t=v.c(19),e=N();let l;t[0]!==e?(l=e("routes.reportsOnboarding.connectModal.trustRevoke"),t[0]=e,t[1]=l):l=t[1];let n;t[2]!==l?(n={Icon:_,label:l},t[2]=l,t[3]=n):n=t[3];let o;t[4]!==e?(o=e("routes.reportsOnboarding.connectModal.trustEncrypted"),t[4]=e,t[5]=o):o=t[5];let c;t[6]!==o?(c={Icon:w,label:o},t[6]=o,t[7]=c):c=t[7];let r;t[8]!==e?(r=e("routes.reportsOnboarding.connectModal.trustNeverSold"),t[8]=e,t[9]=r):r=t[9];let i;t[10]!==r?(i={Icon:C,label:r},t[10]=r,t[11]=i):i=t[11];let a;t[12]!==n||t[13]!==c||t[14]!==i?(a=[n,c,i],t[12]=n,t[13]=c,t[14]=i,t[15]=a):a=t[15];const m=a;let f;t[16]===Symbol.for("react.memo_cache_sentinel")?(f=s.jsx("div",{className:"h-px w-full bg-white/15"}),t[16]=f):f=t[16];let d;return t[17]!==m?(d=s.jsxs("div",{className:"relative flex flex-col gap-2.5 text-white",children:[f,s.jsx("ul",{className:"mt-1 flex flex-col gap-2.5",children:m.map(q)})]}),t[17]=m,t[18]=d):d=t[18],d}function q(t){const{Icon:e,label:l}=t;return s.jsxs("li",{className:"flex items-center gap-2.5 text-sm leading-tight text-white/70",children:[s.jsx(e,{className:"size-4 shrink-0 opacity-85"}),l]},l)}function R(t){const e=v.c(22),{siteHost:l,footer:n,onClose:o,children:c}=t,r=N(),i=l?`https://www.google.com/s2/favicons?domain=${l}&sz=128`:null;let a;e[0]!==o||e[1]!==r?(a=o&&s.jsx("button",{type:"button",onClick:o,"aria-label":r("routes.reportsOnboarding.connectModal.close"),className:"absolute right-3 top-3 z-10 flex size-9 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:bg-black/10 hover:text-foreground lg:text-white/80 lg:hover:bg-white/15 lg:hover:text-white",children:s.jsx(k,{size:18})}),e[0]=o,e[1]=r,e[2]=a):a=e[2];let m,f;e[3]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsx("img",{src:"/logos/deco logo.svg",alt:"Deco",className:"size-7 shrink-0 dark:hidden"}),f=s.jsx("img",{src:"/logos/deco logo negative.svg",alt:"Deco",className:"hidden size-7 shrink-0 dark:block"}),e[3]=m,e[4]=f):(m=e[3],f=e[4]);let d;e[5]!==i||e[6]!==l?(d=l&&s.jsxs(s.Fragment,{children:[s.jsx(y,{size:16,className:"shrink-0 text-foreground/25"}),i&&s.jsx("span",{className:"flex size-4 shrink-0 items-center justify-center overflow-hidden rounded bg-white",children:s.jsx("img",{src:i,alt:"",className:"size-full"})}),s.jsx("span",{className:"truncate text-base leading-tight text-muted-foreground",children:l})]}),e[5]=i,e[6]=l,e[7]=d):d=e[7];let x;e[8]!==d?(x=s.jsxs("div",{className:"flex items-center gap-2",children:[m,f,d]}),e[8]=d,e[9]=x):x=e[9];let g;e[10]!==n?(g=s.jsx("div",{className:"flex shrink-0 flex-col gap-3",children:n}),e[10]=n,e[11]=g):g=e[11];let h;e[12]!==c||e[13]!==x||e[14]!==g?(h=s.jsxs("div",{className:"flex min-h-0 flex-1 flex-col gap-8 bg-background p-6 lg:p-8",children:[x,c,g]}),e[12]=c,e[13]=x,e[14]=g,e[15]=h):h=e[15];let u,b;e[16]===Symbol.for("react.memo_cache_sentinel")?(u=s.jsx("img",{src:"https://decoims.com/image?src=decocms%2F8191643a-1947-4c30-afb4-36b8073c90fb%2Fbg-quote.png&quality=original&fit=cover&width=880",alt:"",className:"absolute inset-0 size-full object-cover"}),b=s.jsx("div",{className:"absolute inset-0 bg-black/20"}),e[16]=u,e[17]=b):(u=e[16],b=e[17]);let p;e[18]===Symbol.for("react.memo_cache_sentinel")?(p=s.jsxs("aside",{className:"relative hidden shrink-0 overflow-hidden lg:flex lg:w-[440px] lg:flex-col lg:p-14",children:[u,b,s.jsxs("div",{className:"relative z-10 flex h-full flex-col",children:[s.jsx("div",{className:"flex-1"}),s.jsx($,{}),s.jsx("div",{className:"flex-1"}),s.jsx(M,{})]})]}),e[18]=p):p=e[18];let j;return e[19]!==a||e[20]!==h?(j=s.jsxs("div",{className:"relative flex min-h-0 flex-1 flex-col lg:flex-row",children:[a,h,p]}),e[19]=a,e[20]=h,e[21]=j):j=e[21],j}function A(t){const e=v.c(5),{ready:l,pending:n,label:o,onClick:c,children:r}=t,i=n||!l,a=l&&!n?r:null;let m;return e[0]!==o||e[1]!==c||e[2]!==i||e[3]!==a?(m=s.jsxs(z,{type:"button",size:"lg",className:"h-auto min-h-12 w-full whitespace-normal py-3 text-center text-base font-medium leading-tight",onClick:c,disabled:i,children:[o,a]}),e[0]=o,e[1]=c,e[2]=i,e[3]=a,e[4]=m):m=e[4],m}export{R as C,A as a};
@@ -1 +1 @@
1
- import{c as M,a2 as S,an as $,K as F,ae as R,b as K,l as A,j as c,eZ as q}from"./index-DwUSgMrk.js";import{u as O}from"./useInfiniteQuery-DLjfiCcz.js";import{g as D}from"./connection-slug-CITJ0kGN.js";import{I as z}from"./integration-icon-CGlpUTQF.js";function W(t){const e=M.c(21),{org:s}=S(),o=$();let l;e[0]!==t?(l=t?.trim().split(/\s+/).filter(Boolean)??[],e[0]=t,e[1]=l):l=e[1];const r=l;let n;e[2]!==s.id||e[3]!==t?(n=F.storeDiscovery(s.id,`deco-json:${t??""}`),e[2]=s.id,e[3]=t,e[4]=n):n=e[4];let a;e[5]!==o||e[6]!==r?(a=I=>{const{pageParam:_}=I;return o.call("COLLECTION_REGISTRY_APP_LIST",{limit:24,cursor:_,where:r.length?{operator:"or",conditions:r.flatMap(B)}:void 0})},e[5]=o,e[6]=r,e[7]=a):a=e[7];let u;e[8]!==n||e[9]!==a?(u={queryKey:n,queryFn:a,initialPageParam:void 0,getNextPageParam:Y,staleTime:3e5,placeholderData:R,throwOnError:!0},e[8]=n,e[9]=a,e[10]=u):u=e[10];const i=O(u);let p;e[11]!==i.data?.pages?(p=i.data?.pages.flatMap(V)??[],e[11]=i.data?.pages,e[12]=p):p=e[12];const m=p;let f;e[13]!==i?(f=()=>{i.hasNextPage&&!i.isFetchingNextPage&&i.fetchNextPage()},e[13]=i,e[14]=f):f=e[14];let d;return e[15]!==m||e[16]!==i.hasNextPage||e[17]!==i.isFetchingNextPage||e[18]!==i.isLoading||e[19]!==f?(d={items:m,hasMore:i.hasNextPage,isLoadingMore:i.isFetchingNextPage,isInitialLoading:i.isLoading,loadMore:f},e[15]=m,e[16]=i.hasNextPage,e[17]=i.isFetchingNextPage,e[18]=i.isLoading,e[19]=f,e[20]=d):d=e[20],d}function V(t){return t.items}function Y(t){return t.nextCursor}function B(t){return[["title"],["description"],["id"],["server","name"]].map(e=>({field:e,operator:"contains",value:t}))}function X(t){const e=new Map;for(const l of t){const r=D(l),n=e.get(r);n?n.push(l):e.set(r,[l])}const s=[],o=new Set;for(const l of t){const r=D(l);if(o.has(r))continue;o.add(r);const n=e.get(r),a=n[0];n.length===1?s.push({type:"single",connection:a}):s.push({type:"group",key:r,icon:a.icon,title:a.app_name?a.title.replace(/\s*\(\d+\)\s*$/,""):a.title,connections:n})}return s}function ee(t){const e=M.c(43),{connection:s,onClick:o,headerActions:l,headerActionsAlwaysVisible:r,footer:n,className:a,fallbackIcon:u,selected:i}=t,p=r===void 0?!1:r,m=K(),f=o&&"cursor-pointer hover:bg-accent";let d;e[0]!==a||e[1]!==f?(d=A("transition-colors group overflow-hidden flex flex-col h-full",f,a),e[0]=a,e[1]=f,e[2]=d):d=e[2];const I=o?"button":void 0,_=o?0:void 0,T=o&&i!==void 0?i:void 0;let g;e[3]!==o?(g=o?L=>{L.target===L.currentTarget&&(L.key==="Enter"||L.key===" ")&&(L.preventDefault(),o())}:void 0,e[3]=o,e[4]=g):g=e[4];let x;e[5]!==s.icon||e[6]!==s.title||e[7]!==u?(x=c.jsx(z,{icon:s.icon,name:s.title,size:"sm",className:"shrink-0 shadow-edge",fallbackIcon:u}),e[5]=s.icon,e[6]=s.title,e[7]=u,e[8]=x):x=e[8];let h;e[9]!==l||e[10]!==p?(h=l&&c.jsx("div",{className:A("transition-opacity",!p&&"sm:opacity-0 sm:group-hover:opacity-100 sm:group-focus-within:opacity-100"),onClick:Q,children:l}),e[9]=l,e[10]=p,e[11]=h):h=e[11];let v;e[12]!==h?(v=c.jsx("div",{className:"relative",children:h}),e[12]=h,e[13]=v):v=e[13];let N;e[14]!==v||e[15]!==x?(N=c.jsxs("div",{className:"flex items-start justify-between",children:[x,v]}),e[14]=v,e[15]=x,e[16]=N):N=e[16];let y;e[17]!==s.title?(y=c.jsx("h3",{className:"text-sm font-medium text-foreground truncate",children:s.title}),e[17]=s.title,e[18]=y):y=e[18];let P;e[19]!==s.description||e[20]!==m?(P=s.description||m("connections.connectionCard.noDescription"),e[19]=s.description,e[20]=m,e[21]=P):P=e[21];let j;e[22]!==P?(j=c.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2",children:P}),e[22]=P,e[23]=j):j=e[23];let C;e[24]!==y||e[25]!==j?(C=c.jsxs("div",{className:"flex flex-col gap-1",children:[y,j]}),e[24]=y,e[25]=j,e[26]=C):C=e[26];let b;e[27]!==N||e[28]!==C?(b=c.jsxs("div",{className:"flex flex-col gap-3 p-4.5",children:[N,C]}),e[27]=N,e[28]=C,e[29]=b):b=e[29];let k;e[30]!==n?(k=n&&c.jsx("div",{className:"border-t border-border mt-auto",children:c.jsx("div",{className:"h-14 flex items-center p-4.5",onClick:G,children:n})}),e[30]=n,e[31]=k):k=e[31];let w;e[32]!==b||e[33]!==k?(w=c.jsxs("div",{className:"flex flex-col flex-1",children:[b,k]}),e[32]=b,e[33]=k,e[34]=w):w=e[34];let E;return e[35]!==o||e[36]!==w||e[37]!==d||e[38]!==I||e[39]!==_||e[40]!==T||e[41]!==g?(E=c.jsx(q,{size:"flush",className:d,onClick:o,role:I,tabIndex:_,"aria-pressed":T,onKeyDown:g,children:w}),e[35]=o,e[36]=w,e[37]=d,e[38]=I,e[39]=_,e[40]=T,e[41]=g,e[42]=E):E=e[42],E}function G(t){return t.stopPropagation()}function Q(t){return t.stopPropagation()}export{ee as C,X as g,W as u};
1
+ import{c as M,a2 as S,an as $,K as F,ae as R,b as K,l as A,j as c,eZ as q}from"./index-DZmvRzpa.js";import{u as O}from"./useInfiniteQuery-CGMAVpzD.js";import{g as D}from"./connection-slug-CITJ0kGN.js";import{I as z}from"./integration-icon-p-7TYx5K.js";function W(t){const e=M.c(21),{org:s}=S(),o=$();let l;e[0]!==t?(l=t?.trim().split(/\s+/).filter(Boolean)??[],e[0]=t,e[1]=l):l=e[1];const r=l;let n;e[2]!==s.id||e[3]!==t?(n=F.storeDiscovery(s.id,`deco-json:${t??""}`),e[2]=s.id,e[3]=t,e[4]=n):n=e[4];let a;e[5]!==o||e[6]!==r?(a=I=>{const{pageParam:_}=I;return o.call("COLLECTION_REGISTRY_APP_LIST",{limit:24,cursor:_,where:r.length?{operator:"or",conditions:r.flatMap(B)}:void 0})},e[5]=o,e[6]=r,e[7]=a):a=e[7];let u;e[8]!==n||e[9]!==a?(u={queryKey:n,queryFn:a,initialPageParam:void 0,getNextPageParam:Y,staleTime:3e5,placeholderData:R,throwOnError:!0},e[8]=n,e[9]=a,e[10]=u):u=e[10];const i=O(u);let p;e[11]!==i.data?.pages?(p=i.data?.pages.flatMap(V)??[],e[11]=i.data?.pages,e[12]=p):p=e[12];const m=p;let f;e[13]!==i?(f=()=>{i.hasNextPage&&!i.isFetchingNextPage&&i.fetchNextPage()},e[13]=i,e[14]=f):f=e[14];let d;return e[15]!==m||e[16]!==i.hasNextPage||e[17]!==i.isFetchingNextPage||e[18]!==i.isLoading||e[19]!==f?(d={items:m,hasMore:i.hasNextPage,isLoadingMore:i.isFetchingNextPage,isInitialLoading:i.isLoading,loadMore:f},e[15]=m,e[16]=i.hasNextPage,e[17]=i.isFetchingNextPage,e[18]=i.isLoading,e[19]=f,e[20]=d):d=e[20],d}function V(t){return t.items}function Y(t){return t.nextCursor}function B(t){return[["title"],["description"],["id"],["server","name"]].map(e=>({field:e,operator:"contains",value:t}))}function X(t){const e=new Map;for(const l of t){const r=D(l),n=e.get(r);n?n.push(l):e.set(r,[l])}const s=[],o=new Set;for(const l of t){const r=D(l);if(o.has(r))continue;o.add(r);const n=e.get(r),a=n[0];n.length===1?s.push({type:"single",connection:a}):s.push({type:"group",key:r,icon:a.icon,title:a.app_name?a.title.replace(/\s*\(\d+\)\s*$/,""):a.title,connections:n})}return s}function ee(t){const e=M.c(43),{connection:s,onClick:o,headerActions:l,headerActionsAlwaysVisible:r,footer:n,className:a,fallbackIcon:u,selected:i}=t,p=r===void 0?!1:r,m=K(),f=o&&"cursor-pointer hover:bg-accent";let d;e[0]!==a||e[1]!==f?(d=A("transition-colors group overflow-hidden flex flex-col h-full",f,a),e[0]=a,e[1]=f,e[2]=d):d=e[2];const I=o?"button":void 0,_=o?0:void 0,T=o&&i!==void 0?i:void 0;let g;e[3]!==o?(g=o?L=>{L.target===L.currentTarget&&(L.key==="Enter"||L.key===" ")&&(L.preventDefault(),o())}:void 0,e[3]=o,e[4]=g):g=e[4];let x;e[5]!==s.icon||e[6]!==s.title||e[7]!==u?(x=c.jsx(z,{icon:s.icon,name:s.title,size:"sm",className:"shrink-0 shadow-edge",fallbackIcon:u}),e[5]=s.icon,e[6]=s.title,e[7]=u,e[8]=x):x=e[8];let h;e[9]!==l||e[10]!==p?(h=l&&c.jsx("div",{className:A("transition-opacity",!p&&"sm:opacity-0 sm:group-hover:opacity-100 sm:group-focus-within:opacity-100"),onClick:Q,children:l}),e[9]=l,e[10]=p,e[11]=h):h=e[11];let v;e[12]!==h?(v=c.jsx("div",{className:"relative",children:h}),e[12]=h,e[13]=v):v=e[13];let N;e[14]!==v||e[15]!==x?(N=c.jsxs("div",{className:"flex items-start justify-between",children:[x,v]}),e[14]=v,e[15]=x,e[16]=N):N=e[16];let y;e[17]!==s.title?(y=c.jsx("h3",{className:"text-sm font-medium text-foreground truncate",children:s.title}),e[17]=s.title,e[18]=y):y=e[18];let P;e[19]!==s.description||e[20]!==m?(P=s.description||m("connections.connectionCard.noDescription"),e[19]=s.description,e[20]=m,e[21]=P):P=e[21];let j;e[22]!==P?(j=c.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2",children:P}),e[22]=P,e[23]=j):j=e[23];let C;e[24]!==y||e[25]!==j?(C=c.jsxs("div",{className:"flex flex-col gap-1",children:[y,j]}),e[24]=y,e[25]=j,e[26]=C):C=e[26];let b;e[27]!==N||e[28]!==C?(b=c.jsxs("div",{className:"flex flex-col gap-3 p-4.5",children:[N,C]}),e[27]=N,e[28]=C,e[29]=b):b=e[29];let k;e[30]!==n?(k=n&&c.jsx("div",{className:"border-t border-border mt-auto",children:c.jsx("div",{className:"h-14 flex items-center p-4.5",onClick:G,children:n})}),e[30]=n,e[31]=k):k=e[31];let w;e[32]!==b||e[33]!==k?(w=c.jsxs("div",{className:"flex flex-col flex-1",children:[b,k]}),e[32]=b,e[33]=k,e[34]=w):w=e[34];let E;return e[35]!==o||e[36]!==w||e[37]!==d||e[38]!==I||e[39]!==_||e[40]!==T||e[41]!==g?(E=c.jsx(q,{size:"flush",className:d,onClick:o,role:I,tabIndex:_,"aria-pressed":T,onKeyDown:g,children:w}),e[35]=o,e[36]=w,e[37]=d,e[38]=I,e[39]=_,e[40]=T,e[41]=g,e[42]=E):E=e[42],E}function G(t){return t.stopPropagation()}function Q(t){return t.stopPropagation()}export{ee as C,X as g,W as u};