decocms 3.85.1 → 3.86.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. package/dist/client/assets/{AlertCircle-UI_s1A_q.js → AlertCircle-DKDv1c5a.js} +1 -1
  2. package/dist/client/assets/{ArrowUpRight-BGXtWVLq.js → ArrowUpRight-CL_ND2fd.js} +1 -1
  3. package/dist/client/assets/{CheckCircle-BcQG2RQ_.js → CheckCircle-Cf7Vfzh1.js} +1 -1
  4. package/dist/client/assets/{ChevronDown-D0YAzAXq.js → ChevronDown-BZMxGINT.js} +1 -1
  5. package/dist/client/assets/{ChevronLeft-hv_TF25A.js → ChevronLeft-DdoGlJfU.js} +1 -1
  6. package/dist/client/assets/{ChevronRight-DQOBw88M.js → ChevronRight-DW1FHwl9.js} +1 -1
  7. package/dist/client/assets/{ChevronUp-B2D6HqOT.js → ChevronUp-DK-p-OwS.js} +1 -1
  8. package/dist/client/assets/{DotsVertical-b5t2rran.js → DotsVertical-Dj0bH-G-.js} +1 -1
  9. package/dist/client/assets/{Eye-BYzzEm3I.js → Eye-C1cT97Dr.js} +1 -1
  10. package/dist/client/assets/{FilterLines-C9tSEykd.js → FilterLines-BbZdzGgI.js} +1 -1
  11. package/dist/client/assets/{Globe01-DIjRFAXE.js → Globe01-MmdfsJuj.js} +1 -1
  12. package/dist/client/assets/{Globe04-D7R12mcw.js → Globe04-C1xLhm_u.js} +1 -1
  13. package/dist/client/assets/{HardDrive-Cvm-O0cK.js → HardDrive-CTxqPq4g.js} +1 -1
  14. package/dist/client/assets/{Key01-D41rtuFP.js → Key01-D_aQKwoU.js} +1 -1
  15. package/dist/client/assets/{LayoutLeft-DiQZpi5k.js → LayoutLeft-DGVVcFUt.js} +1 -1
  16. package/dist/client/assets/{LinkExternal01-C470omzl.js → LinkExternal01-CjjlbDYr.js} +1 -1
  17. package/dist/client/assets/{Monitor01-DC7VBFXb.js → Monitor01-Bdmau1Kt.js} +1 -1
  18. package/dist/client/assets/{Palette-KMBswWVt.js → Palette-B2UGmW-_.js} +1 -1
  19. package/dist/client/assets/{Play-Bd1FYhKh.js → Play-BMlmnmbt.js} +1 -1
  20. package/dist/client/assets/{Plus-CoKbuJLU.js → Plus-Dw7ZaPZJ.js} +1 -1
  21. package/dist/client/assets/{SearchMd-Cdve7MnI.js → SearchMd-B7uVTp5E.js} +1 -1
  22. package/dist/client/assets/{Settings02-CI_uQmeR.js → Settings02-BOrHnhSy.js} +1 -1
  23. package/dist/client/assets/{Shield01-BZvnvLhB.js → Shield01-DoXHEBfW.js} +1 -1
  24. package/dist/client/assets/{Star01-vvHwZgSL.js → Star01-DNV8Ma9Q.js} +1 -1
  25. package/dist/client/assets/{Stars01-xm4D-cxK.js → Stars01-DkrXqc8-.js} +1 -1
  26. package/dist/client/assets/{Stars02-C-_PT1u9.js → Stars02-Ceo2qvgP.js} +1 -1
  27. package/dist/client/assets/{Sun-CGHCaafi.js → Sun-8teVrEhL.js} +1 -1
  28. package/dist/client/assets/{SwitchHorizontal01-C16CMAte.js → SwitchHorizontal01-DzDSRTn8.js} +1 -1
  29. package/dist/client/assets/{Tool01-Cuf4Loxv.js → Tool01-Cnycw8Ef.js} +1 -1
  30. package/dist/client/assets/{Trash01-C2-KSkpM.js → Trash01-4tPF0VaH.js} +1 -1
  31. package/dist/client/assets/{Upload01-Cxyzcp7U.js → Upload01-CmdzZ7sb.js} +1 -1
  32. package/dist/client/assets/{User01-DQNqyf0z.js → User01-DG6-o1bh.js} +1 -1
  33. package/dist/client/assets/{Users01-Ds21PzyA.js → Users01-Cjr16PQI.js} +1 -1
  34. package/dist/client/assets/{Users03-DVqhqLtY.js → Users03-Hhn2gOWC.js} +1 -1
  35. package/dist/client/assets/{X-D4bcZF2P.js → X-Dothba_A.js} +1 -1
  36. package/dist/client/assets/{XCircle-ChCszrqC.js → XCircle-Et4HA60-.js} +1 -1
  37. package/dist/client/assets/{XClose-BIMV7Dn2.js → XClose-DVjO_TNn.js} +1 -1
  38. package/dist/client/assets/{Zap-BwocpLy_.js → Zap-CxpukXGS.js} +1 -1
  39. package/dist/client/assets/{ZapSquare-CI2Ygkar.js → ZapSquare-CvpHTkF6.js} +1 -1
  40. package/dist/client/assets/{ZoomOut-CCevpFEm.js → ZoomOut-KuF6xRRI.js} +1 -1
  41. package/dist/client/assets/{access-gate-DC5UQYOb.js → access-gate-D0uXb2Ny.js} +1 -1
  42. package/dist/client/assets/{add-section-modal-BQIff8Ku.js → add-section-modal-D1rIVSOl.js} +1 -1
  43. package/dist/client/assets/{agent-icon-DltOZ7gk.js → agent-icon-C9Jofb-u.js} +1 -1
  44. package/dist/client/assets/{agents-list-HUgP9gOt.js → agents-list-4OBz6WwE.js} +1 -1
  45. package/dist/client/assets/{ai-providers-DIxyyZhD.js → ai-providers-BJcuIwEn.js} +1 -1
  46. package/dist/client/assets/{alert-DkTeVwML.js → alert-VMQRKJYl.js} +1 -1
  47. package/dist/client/assets/{alert-dialog-DpS-mMM7.js → alert-dialog-DBza5R0g.js} +1 -1
  48. package/dist/client/assets/{app-editor-DGAKCKE-.js → app-editor-B8_gOBlR.js} +1 -1
  49. package/dist/client/assets/{auth-3Qlzfum0.js → auth-2-m6wz4w.js} +1 -1
  50. package/dist/client/assets/{auth-catchall-k44sYCpM.js → auth-catchall-DFXOmfkX.js} +1 -1
  51. package/dist/client/assets/{auth-entry-DJx0s8hS.js → auth-entry-CrYVmm9E.js} +1 -1
  52. package/dist/client/assets/auth-split-layout-YC_3poi7.js +1 -0
  53. package/dist/client/assets/{authenticate-and-persist-oauth-Czoy-f8w.js → authenticate-and-persist-oauth-jYJBnNn_.js} +1 -1
  54. package/dist/client/assets/{automation-list-row-BrMpZJSX.js → automation-list-row-RLnrAaQk.js} +1 -1
  55. package/dist/client/assets/{automation-runs-W3No-HAO.js → automation-runs-Df9J1bXw.js} +1 -1
  56. package/dist/client/assets/{automations-Dgjltr_b.js → automations-B60pVFVi.js} +1 -1
  57. package/dist/client/assets/{avatar-B442IE73.js → avatar-IZb76xF5.js} +1 -1
  58. package/dist/client/assets/{badge-CuXnSq54.js → badge-DFWqydWM.js} +1 -1
  59. package/dist/client/assets/{block-document-BD7cWULL.js → block-document-CzdI7hiv.js} +1 -1
  60. package/dist/client/assets/{brand-context-Ddq0r4JY.js → brand-context-I2Ic4n1X.js} +1 -1
  61. package/dist/client/assets/{buckets-DGVTtrzw.js → buckets-D5woD5_m.js} +1 -1
  62. package/dist/client/assets/{capability-load-error-BKlkiPcg.js → capability-load-error-B9IOpVHT.js} +1 -1
  63. package/dist/client/assets/{card-CGNymFBN.js → card-CYcWxwTq.js} +1 -1
  64. package/dist/client/assets/category-editor-D0g3eb2o.js +1 -0
  65. package/dist/client/assets/{chat-context-DqwSWwRT.js → chat-context-BUGEnk3o.js} +1 -1
  66. package/dist/client/assets/{checkbox-DX2kNd_o.js → checkbox-D6DN5wX2.js} +1 -1
  67. package/dist/client/assets/{cli-auth-success-Bnjczofu.js → cli-auth-success-DEQ283KZ.js} +1 -1
  68. package/dist/client/assets/{collection-detail-n6014Ts6.js → collection-detail-CId7MJ6g.js} +1 -1
  69. package/dist/client/assets/{collection-display-button-CAbrtWV3.js → collection-display-button-CwjAZxJL.js} +1 -1
  70. package/dist/client/assets/{collection-search--VTqc0O-.js → collection-search-CFs0gBmh.js} +1 -1
  71. package/dist/client/assets/{collection-tabs-Bm2QWW6E.js → collection-tabs-D6hMQ7Uk.js} +1 -1
  72. package/dist/client/assets/{command-DY2CVwyL.js → command-DWtuH3XL.js} +1 -1
  73. package/dist/client/assets/commerce-onboarding-BQr7CbHu.js +1 -0
  74. package/dist/client/assets/{connect-desktop-dialog-Rvz9u_CV.js → connect-desktop-dialog-BQ2QKxzW.js} +1 -1
  75. package/dist/client/assets/{connection-card-BSwF1NNx.js → connection-card-BBo-mCQ3.js} +1 -1
  76. package/dist/client/assets/{connection-detail-0l0C63Md.js → connection-detail-QOqPohJx.js} +1 -1
  77. package/dist/client/assets/{connection-form-helpers-DG0VHHVH.js → connection-form-helpers-BkiVmzh-.js} +1 -1
  78. package/dist/client/assets/{connections-BZRB4P82.js → connections-CmDq1jbC.js} +1 -1
  79. package/dist/client/assets/{context-menu-IZpfekr5.js → context-menu-BcYjb5Fc.js} +1 -1
  80. package/dist/client/assets/{decopilot-Duluf5jH.js → decopilot-C6k4C-5x.js} +1 -1
  81. package/dist/client/assets/{decopilot-sse-pool-D6IMI0f5.js → decopilot-sse-pool-BWdhrrzW.js} +1 -1
  82. package/dist/client/assets/{dialog-DDISKcmV.js → dialog-C6Huna5L.js} +1 -1
  83. package/dist/client/assets/{domain-settings-D5w5Ataa.js → domain-settings-Dirc71GY.js} +1 -1
  84. package/dist/client/assets/{drawer-DKaQPPyr.js → drawer-DSl868BV.js} +1 -1
  85. package/dist/client/assets/{dropdown-menu-10e27AXH.js → dropdown-menu-DZcXfAzz.js} +1 -1
  86. package/dist/client/assets/{empty-state-BdeVb4XA.js → empty-state-CiKyH8Zu.js} +1 -1
  87. package/dist/client/assets/{extract-connection-data-B-8vHcVE.js → extract-connection-data-CxsQnV0o.js} +1 -1
  88. package/dist/client/assets/{file-explorer-Bkk4HZEy.js → file-explorer-DXh9qucR.js} +1 -1
  89. package/dist/client/assets/{file-type-icon-Cll7L0-s.js → file-type-icon-BWw9UmKa.js} +1 -1
  90. package/dist/client/assets/{files-D72DQEPA.js → files-CFA7zBKC.js} +1 -1
  91. package/dist/client/assets/{form-Bx10NpUN.js → form-C0qrZ_x_.js} +1 -1
  92. package/dist/client/assets/{general-BrIfBDVn.js → general-8E2Fd8Xp.js} +1 -1
  93. package/dist/client/assets/{github-repo-picker-Dby0l-at.js → github-repo-picker-D1khnJFy.js} +1 -1
  94. package/dist/client/assets/{hooks-CDzp_brc.js → hooks-DQdOsZp5.js} +1 -1
  95. package/dist/client/assets/{import-from-deco-dialog--s9_66WC.js → import-from-deco-dialog-BO45XrD3.js} +1 -1
  96. package/dist/client/assets/{index-B29SSyAJ.js → index-4sp0XNgi.js} +1 -1
  97. package/dist/client/assets/{index-CQeBRxbZ.js → index-5v8F2WfF.js} +1 -1
  98. package/dist/client/assets/index-B6DoI6qf.css +1 -0
  99. package/dist/client/assets/{index-BAMRmaRC.js → index-B_1K0N-o.js} +1 -1
  100. package/dist/client/assets/{index-D9cO8eeb.js → index-BfcjTli9.js} +1 -1
  101. package/dist/client/assets/{index-26SNxfzY.js → index-C1Ri0RYU.js} +1 -1
  102. package/dist/client/assets/{index-CzhYS8LW.js → index-COzOrUXj.js} +1 -1
  103. package/dist/client/assets/{index-DgTNn2Yb.js → index-CYxs6fVn.js} +5 -5
  104. package/dist/client/assets/{index-CziDwf0M.js → index-CnMpta5V.js} +1 -1
  105. package/dist/client/assets/{index-DtWX_jyh.js → index-CpFSes0G.js} +1 -1
  106. package/dist/client/assets/{index-Cnt3OT0F.js → index-D10xo2Wm.js} +3 -3
  107. package/dist/client/assets/{index-DMv2XL4f.js → index-DA2BVD0O.js} +1 -1
  108. package/dist/client/assets/{index-BYtbVFm5.js → index-DV9_3Xnk.js} +1 -1
  109. package/dist/client/assets/{index-DkZ5fto1.js → index-Dc0NbcTT.js} +1 -1
  110. package/dist/client/assets/{index-W_bLYphM.js → index-Dxusy0LN.js} +1 -1
  111. package/dist/client/assets/{index-redirect-Dw8S6fhp.js → index-redirect-Ej9UkabN.js} +1 -1
  112. package/dist/client/assets/{input-Ckzaub2Q.js → input-D3Hn-5fP.js} +1 -1
  113. package/dist/client/assets/{integration-icon-CynwtIY3.js → integration-icon-D_K0I1bc.js} +1 -1
  114. package/dist/client/assets/{label-D6XLGyJ_.js → label-BaI9WHK8.js} +1 -1
  115. package/dist/client/assets/{login-D7CPOPvJ.js → login-joo9haqp.js} +1 -1
  116. package/dist/client/assets/{mcp-oauth-CshWQNQX.js → mcp-oauth-Ca5pqK3O.js} +1 -1
  117. package/dist/client/assets/{members-CIOeeOmt.js → members-Byfyv7Md.js} +1 -1
  118. package/dist/client/assets/{monaco-editor-D5d0J9gi.js → monaco-editor-C1JQgPRk.js} +1 -1
  119. package/dist/client/assets/{monitoring-stats-row-CoMFi-WF.js → monitoring-stats-row-BStPmHDn.js} +1 -1
  120. package/dist/client/assets/{oauth-callback-D1z0A-2_.js → oauth-callback-D1tHpSQP.js} +1 -1
  121. package/dist/client/assets/{oauth-callback-ai-provider-BJBqEPDJ.js → oauth-callback-ai-provider-BikJ5qDi.js} +1 -1
  122. package/dist/client/assets/{onboarding-TACBZ4SL.js → onboarding-qDsQ0nBN.js} +1 -1
  123. package/dist/client/assets/{org-install-UuxFqv69.js → org-install-Qft7bFjM.js} +1 -1
  124. package/dist/client/assets/{org-layout-DAsu5R1a.js → org-layout-CLW9NRqs.js} +1 -1
  125. package/dist/client/assets/{organization-choice-DZqe8ZRz.js → organization-choice-COn9cJVO.js} +1 -1
  126. package/dist/client/assets/{page-seo-form-MOAczFXF.js → page-seo-form-lit_xaiS.js} +1 -1
  127. package/dist/client/assets/page-seo-sheet-Doai3xQ4.js +1 -0
  128. package/dist/client/assets/{popover-Df7opRcP.js → popover-C5gLQmVJ.js} +1 -1
  129. package/dist/client/assets/{post-editor-_EnxOukw.js → post-editor-BbP_1gEB.js} +1 -1
  130. package/dist/client/assets/{preview-dialog-Qgw8TqgL.js → preview-dialog-DUP6mqXn.js} +1 -1
  131. package/dist/client/assets/{primitives-DS6denQF.js → primitives-CM2raXR1.js} +1 -1
  132. package/dist/client/assets/{profile-Dr1O3hY1.js → profile-CsWpcgUp.js} +1 -1
  133. package/dist/client/assets/project-app-view-CQ4DSeTz.js +1 -0
  134. package/dist/client/assets/record-editor-BEO2w03L.js +1 -0
  135. package/dist/client/assets/{registry-layout-DAw1bfE_.js → registry-layout-IkZHM-V4.js} +1 -1
  136. package/dist/client/assets/registry-m5ukPQJI.js +2 -0
  137. package/dist/client/assets/{require-capability-BS7RYHPw.js → require-capability-0MVu6DnF.js} +1 -1
  138. package/dist/client/assets/{required-auth-layout-DsbnXfHE.js → required-auth-layout-C-olAxiD.js} +1 -1
  139. package/dist/client/assets/{reset-password-B49rCUfQ.js → reset-password-DgcYgCPi.js} +1 -1
  140. package/dist/client/assets/{roles-C7Ng4ibe.js → roles-Bnwxynaw.js} +1 -1
  141. package/dist/client/assets/{save-status-DEjjDdp1.js → save-status-f7sYfXY0.js} +1 -1
  142. package/dist/client/assets/{scroll-area-BrISF3tu.js → scroll-area-C5IE_o87.js} +1 -1
  143. package/dist/client/assets/{search-input-DRdO9fJW.js → search-input-DwJIqEE6.js} +1 -1
  144. package/dist/client/assets/{secrets-DaOAyfQ8.js → secrets--5Lpz1MU.js} +1 -1
  145. package/dist/client/assets/{sections-editor-DNXzKH6w.js → sections-editor-Ct6160yl.js} +1 -1
  146. package/dist/client/assets/{select-CHuOKMsv.js → select-mHWPzm7G.js} +1 -1
  147. package/dist/client/assets/{select-model-DtZt6AUe.js → select-model-Rd3CwALX.js} +1 -1
  148. package/dist/client/assets/{seo-editor-_SGArFUJ.js → seo-editor-BGMBSuKS.js} +1 -1
  149. package/dist/client/assets/{settings-layout-BXRrzxk3.js → settings-layout-BiZ0pREw.js} +1 -1
  150. package/dist/client/assets/{settings-section--x1ye-kF.js → settings-section-Coavx4GZ.js} +1 -1
  151. package/dist/client/assets/{sheet-CHvzyrLe.js → sheet-Cz4-_oqg.js} +1 -1
  152. package/dist/client/assets/{shell-controls-APzM6IIO.js → shell-controls-BlanwPNq.js} +1 -1
  153. package/dist/client/assets/{shell-layout-ldK3sCwM.js → shell-layout-Cwicrerl.js} +1 -1
  154. package/dist/client/assets/{shell-route-loading-0ipm3Rfv.js → shell-route-loading-nz7JKsGk.js} +1 -1
  155. package/dist/client/assets/{sidebar-DijqZtyP.js → sidebar-DUFS7nKD.js} +1 -1
  156. package/dist/client/assets/{skeleton-6Veh4gQ_.js → skeleton-DAm19Q1Q.js} +1 -1
  157. package/dist/client/assets/{sortable.esm-Chkq7OOX.js → sortable.esm-BROfP1EO.js} +1 -1
  158. package/dist/client/assets/{sso-Ck2qsfkc.js → sso-Cyw0tK--.js} +1 -1
  159. package/dist/client/assets/{store-CGQaL51B.js → store-BiRnVl7h.js} +1 -1
  160. package/dist/client/assets/store-registry-DKixrJwi.js +2 -0
  161. package/dist/client/assets/{studio-tools-BrM6IZ-j.js → studio-tools-z5PzgEZo.js} +1 -1
  162. package/dist/client/assets/{switch-DK_nl0S9.js → switch-CNShaHWc.js} +1 -1
  163. package/dist/client/assets/{table-BkUSKkKk.js → table-BybNndQa.js} +1 -1
  164. package/dist/client/assets/{tabs-DTxmuNcP.js → tabs-EKQE067O.js} +1 -1
  165. package/dist/client/assets/{task-status-BCVu6N5i.js → task-status-DjWhdyec.js} +1 -1
  166. package/dist/client/assets/{textarea-haJWQf-v.js → textarea-CVcNewnq.js} +1 -1
  167. package/dist/client/assets/{toggle-group-Da7ARg8s.js → toggle-group-CvHp9qT6.js} +1 -1
  168. package/dist/client/assets/{toolbar-DaTym4hl.js → toolbar-KNQEPZYT.js} +1 -1
  169. package/dist/client/assets/{tooltip-C29fjS_0.js → tooltip-VrGyigcV.js} +1 -1
  170. package/dist/client/assets/{types-Q4TXBJ2s.js → types-DvdTHMVs.js} +1 -1
  171. package/dist/client/assets/{use-ai-providers-DXoG3bLZ.js → use-ai-providers-exBfYy9L.js} +1 -1
  172. package/dist/client/assets/{use-automations-BZ8qDXjU.js → use-automations-SvpwcTEI.js} +1 -1
  173. package/dist/client/assets/{use-capability-DjzugVhc.js → use-capability-DfeHNCP3.js} +1 -1
  174. package/dist/client/assets/{use-clock-tick-bysy1gGp.js → use-clock-tick-6K15zpKz.js} +1 -1
  175. package/dist/client/assets/{use-collections-BVkpsnVZ.js → use-collections-DVArJb6w.js} +1 -1
  176. package/dist/client/assets/{use-connection-Cd7CYacz.js → use-connection-X4N-9XqT.js} +1 -1
  177. package/dist/client/assets/{use-copy-D_DJfVXx.js → use-copy-CmqBXSyr.js} +1 -1
  178. package/dist/client/assets/{use-create-virtual-mcp-Z03LMXnz.js → use-create-virtual-mcp-Bm0kv2kQ.js} +1 -1
  179. package/dist/client/assets/{use-debounced-autosave-Dx7G5YC2.js → use-debounced-autosave-qbwQlmr6.js} +1 -1
  180. package/dist/client/assets/{use-delete-connection-Bg4siIS8.js → use-delete-connection-DPXoOLFF.js} +1 -1
  181. package/dist/client/assets/{use-file-configs-DUs7SMfa.js → use-file-configs-D1wVoLUY.js} +1 -1
  182. package/dist/client/assets/{use-infinite-scroll-C6UYOmGO.js → use-infinite-scroll-nYPek78V.js} +1 -1
  183. package/dist/client/assets/{use-join-requests-D93gALrL.js → use-join-requests-B7A90YDT.js} +1 -1
  184. package/dist/client/assets/{use-mcp-client-DT8D-Rwk.js → use-mcp-client-NkS_1XHm.js} +1 -1
  185. package/dist/client/assets/{use-mcp-prompts-D5Dxa0-R.js → use-mcp-prompts-7I02SPnr.js} +1 -1
  186. package/dist/client/assets/{use-mcp-tools-Di1SYev9.js → use-mcp-tools-Cf3odfCU.js} +1 -1
  187. package/dist/client/assets/{use-members-C-o5r2on.js → use-members-D-sIksyD.js} +1 -1
  188. package/dist/client/assets/{use-navigate-to-agent-DEly-MqA.js → use-navigate-to-agent-DNVrD-VA.js} +1 -1
  189. package/dist/client/assets/{use-org-auth-client-Dmek8f-T.js → use-org-auth-client-DoX-hmrG.js} +1 -1
  190. package/dist/client/assets/{use-org-sso-C3T2dIBY.js → use-org-sso-B_sMXWs_.js} +1 -1
  191. package/dist/client/assets/{use-organization-roles-B8wvwbIk.js → use-organization-roles-DSU5Ysr9.js} +1 -1
  192. package/dist/client/assets/{use-organization-settings-DiF0XLSc.js → use-organization-settings-DCsUye9Y.js} +1 -1
  193. package/dist/client/assets/{use-registry-connections-DT6cG_1r.js → use-registry-connections--RtvB6B0.js} +1 -1
  194. package/dist/client/assets/{use-secrets-m8cO_Wqg.js → use-secrets-9BtDHXYX.js} +1 -1
  195. package/dist/client/assets/{use-status-sounds-BCBlB-5o.js → use-status-sounds-CynODP2T.js} +1 -1
  196. package/dist/client/assets/{use-view-mode-Fw9YXi_l.js → use-view-mode-mNE_J7Nn.js} +1 -1
  197. package/dist/client/assets/{use-virtual-mcp-Dyc4xTRo.js → use-virtual-mcp-Cd0H2SUN.js} +1 -1
  198. package/dist/client/assets/useInfiniteQuery-DrFl9S4A.js +1 -0
  199. package/dist/client/assets/{useQueries-BPXFxPjE.js → useQueries-BRwSjq8w.js} +1 -1
  200. package/dist/client/assets/useSuspenseInfiniteQuery-Cbf8ULb8.js +1 -0
  201. package/dist/client/assets/{variant-calendar-T-NWrWul.js → variant-calendar-C4usc2cz.js} +1 -1
  202. package/dist/client/assets/{view-mode-toggle-Cuao4cr-.js → view-mode-toggle-CUjiraWr.js} +1 -1
  203. package/dist/client/index.html +2 -2
  204. package/dist/server/cli.js +153 -153
  205. package/package.json +1 -1
  206. package/dist/client/assets/auth-split-layout-1KN6oAFe.js +0 -1
  207. package/dist/client/assets/category-editor-DXonE06u.js +0 -1
  208. package/dist/client/assets/commerce-onboarding--wlyfyPZ.js +0 -1
  209. package/dist/client/assets/index-fHHzFvHF.css +0 -1
  210. package/dist/client/assets/page-seo-sheet-XZwVd2HL.js +0 -1
  211. package/dist/client/assets/project-app-view-BmOR7Rz5.js +0 -1
  212. package/dist/client/assets/record-editor-CrUrFl6H.js +0 -1
  213. package/dist/client/assets/registry-BBNKp_JZ.js +0 -2
  214. package/dist/client/assets/store-registry-vYj5JmNx.js +0 -2
  215. package/dist/client/assets/useInfiniteQuery-YHvdCOfz.js +0 -1
  216. package/dist/client/assets/useSuspenseInfiniteQuery-37SjXEvD.js +0 -1
@@ -1 +1 @@
1
- import{c as V,r as U,j as o,l as J,B as Y}from"./index-Cnt3OT0F.js";import{T as et,f as ct}from"./agent-icon-DltOZ7gk.js";import{n as mt}from"./ChevronLeft-hv_TF25A.js";import{i as dt}from"./ChevronRight-DQOBw88M.js";import{L as ft}from"./label-D6XLGyJ_.js";import{S as nt}from"./scroll-area-BrISF3tu.js";import{S as pt}from"./switch-DK_nl0S9.js";import{T as ut,b as ht,a as gt}from"./tooltip-C29fjS_0.js";import{V as xt}from"./view-mode-toggle-Cuao4cr-.js";import"./AlertCircle-UI_s1A_q.js";import"./Tool01-Cuf4Loxv.js";import"./SwitchHorizontal01-C16CMAte.js";import"./Settings02-CI_uQmeR.js";import"./XCircle-ChCszrqC.js";import"./ArrowUpRight-BGXtWVLq.js";import"./ZapSquare-CI2Ygkar.js";import"./Users03-DVqhqLtY.js";import"./CheckCircle-BcQG2RQ_.js";import"./ChevronUp-B2D6HqOT.js";import"./ChevronDown-D0YAzAXq.js";import"./DotsVertical-b5t2rran.js";import"./Stars02-C-_PT1u9.js";import"./Eye-BYzzEm3I.js";import"./ZoomOut-CCevpFEm.js";import"./Globe01-DIjRFAXE.js";import"./FilterLines-C9tSEykd.js";import"./Star01-vvHwZgSL.js";import"./Globe04-D7R12mcw.js";import"./HardDrive-Cvm-O0cK.js";import"./Key01-D41rtuFP.js";import"./LayoutLeft-DiQZpi5k.js";import"./LinkExternal01-C470omzl.js";import"./Monitor01-DC7VBFXb.js";import"./Sun-CGHCaafi.js";import"./Palette-KMBswWVt.js";import"./Play-Bd1FYhKh.js";import"./Plus-CoKbuJLU.js";import"./SearchMd-Cdve7MnI.js";import"./Shield01-BZvnvLhB.js";import"./Stars01-xm4D-cxK.js";import"./Trash01-C2-KSkpM.js";import"./Upload01-Cxyzcp7U.js";import"./User01-DQNqyf0z.js";import"./Users01-Ds21PzyA.js";import"./XClose-BIMV7Dn2.js";import"./X-D4bcZF2P.js";import"./Zap-BwocpLy_.js";import"./use-clock-tick-bysy1gGp.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-D_DJfVXx.js";import"./file-type-icon-Cll7L0-s.js";import"./dialog-DDISKcmV.js";import"./tab-id-BptcWVWa.js";import"./content-blocks-o63cs2vh.js";import"./types-Q4TXBJ2s.js";import"./use-mcp-client-DT8D-Rwk.js";import"./auth-3Qlzfum0.js";import"./chat-context-DqwSWwRT.js";import"./hooks-CDzp_brc.js";import"./decopilot-sse-pool-D6IMI0f5.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./use-virtual-mcp-Dyc4xTRo.js";import"./use-collections-BVkpsnVZ.js";import"./use-ai-providers-DXoG3bLZ.js";import"./studio-tools-BrM6IZ-j.js";import"./use-organization-settings-DiF0XLSc.js";import"./shell-layout-ldK3sCwM.js";import"./avatar-B442IE73.js";import"./required-auth-layout-DsbnXfHE.js";import"./use-org-sso-C3T2dIBY.js";import"./sheet-CHvzyrLe.js";import"./integration-icon-CynwtIY3.js";import"./use-navigate-to-agent-DEly-MqA.js";import"./use-connection-Cd7CYacz.js";import"./use-mcp-prompts-D5Dxa0-R.js";import"./form-Bx10NpUN.js";import"./input-Ckzaub2Q.js";import"./select-CHuOKMsv.js";const bt=new Set(["website/matchers/date.ts","$live/matchers/MatchDate.ts"]),yt=new Set(["website/matchers/multi.ts","$live/matchers/MatchMulti.ts"]),Tt=new Date(-864e13),vt=new Date(864e13),jt=/\/flags\/multivariate(?:\/[^/]+)?\.ts$/,Nt=/\/flags\/multivariate\.ts$/;function wt(e){let t=e;t.startsWith("pages-")&&(t=t.slice(6).replace(/-\d+$/,""));try{t=decodeURIComponent(t)}catch{}return t}function kt(e){if(!e||typeof e!="object")return null;const{start:t,end:n}=e,r=typeof t=="string",l=typeof n=="string";if(!r&&!l)return null;const s=r?new Date(t):Tt,m=l?new Date(n):vt;return Number.isNaN(s.getTime())||Number.isNaN(m.getTime())||r&&l&&m.getTime()<=s.getTime()?null:{start:s,end:m,openStart:!r,openEnd:!l}}function rt(e,t){if(!e||typeof e!="object")return;const n=e.__resolveType;if(typeof n=="string"){if(bt.has(n)){const r=kt(e);r&&t.push(r);return}if(yt.has(n)){const r=e.matchers;if(Array.isArray(r))for(const l of r)rt(l,t)}}}function _t(e){if(!e||typeof e!="object")return!1;const t=e.__resolveType;if(typeof t!="string"||!jt.test(t))return!1;const n=e.variants;return Array.isArray(n)}function Mt(e){if(typeof e=="string"){const a=e.trim();if(a.length===0)return null;try{const i=new URL(a).pathname.split("/").filter(Boolean),d=i[i.length-1];if(d)return decodeURIComponent(d)}catch{}return a.length>80?`${a.slice(0,77)}…`:a}if(!e||typeof e!="object")return null;const t=e,n=t.config,l=t.desktop?.media,s=[t.title,t.name,t.label,t.alt,n?.title,n?.name,n?.typeAlert?.message,l?.alt,Array.isArray(t.matcher)?t.matcher[0]:void 0];for(const a of s)if(typeof a=="string"&&a.trim().length>0)return a.trim();const m=t.__resolveType;if(typeof m=="string"){const c=(m.split("/").pop()??m).replace(/\.(tsx?|jsx?)$/i,"");if(c.length>0)return c}return null}function St(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n];typeof r=="number"?t.length>0?t[t.length-1]+=`[${r}]`:t.push(`[${r}]`):t.push(r)}return t.join(" · ")}function W(e,t,n,r,l){if(_t(e)){const s=e.variants,m=e.__resolveType,a=Nt.test(m)?"":St(r);s.forEach((c,i)=>{if(!c||typeof c!="object")return;const d=c,f=[];if(rt(d.rule,f),f.length===0)return;const x=Mt(d.value)??(a||n);for(const h of f)l.push({blockKey:t,blockLabel:n,innerPath:a,variantIndex:i,start:h.start,end:h.end,openStart:h.openStart,openEnd:h.openEnd,label:x,flagResolveType:m})});for(let c=0;c<s.length;c++){const i=s[c];i&&typeof i=="object"&&W(i.value,t,n,[...r,"variants",c,"value"],l)}return}if(Array.isArray(e)){for(let s=0;s<e.length;s++)W(e[s],t,n,[...r,s],l);return}if(e&&typeof e=="object")for(const[s,m]of Object.entries(e))s!=="__resolveType"&&W(m,t,n,[...r,s],l)}function Et(e){if(!e)return[];const t=[];for(const[n,r]of Object.entries(e))W(r,n,wt(n),[],t);return t.sort((n,r)=>n.start.getTime()-r.start.getTime())}function At(e){const t=[...new Set(e)].sort(),n=new Map;return t.forEach((r,l)=>{const s=l*137.508%360;n.set(r,{bg:`oklch(0.62 0.14 ${s})`,text:"white",border:`oklch(0.50 0.14 ${s})`})}),n}const Dt={bg:"oklch(0.62 0.14 0)",text:"white",border:"oklch(0.50 0.14 0)"};function st(e,t){return e.get(t)??Dt}const $t=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ot=["January","February","March","April","May","June","July","August","September","October","November","December"],it=1440*60*1e3;function P(e){const t=new Date(e);return t.setHours(0,0,0,0),t}function at(e){return new Date(e.getFullYear(),e.getMonth(),1)}function F(e,t){return new Date(e.getFullYear(),e.getMonth()+t,1)}function z(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function K(e,t){return Math.round((P(e).getTime()-P(t).getTime())/it)}function Ct(e){const t=(e.getTime()-P(e).getTime())/it;return Math.min(Math.max(t,0),1)}function q(e,t){return K(e,t)+Ct(e)}function Rt(e){const t=z(e,-e.getDay()),n=[];for(let r=0;r<6;r++){const l=[];for(let s=0;s<7;s++)l.push(z(t,r*7+s));n.push(l)}for(;n.length>0&&n[n.length-1].every(r=>r.getMonth()!==e.getMonth());)n.pop();return n}function Lt(e,t){const n=P(e[0]),r=z(n,7),l=n.getTime(),s=r.getTime(),m=[];for(const i of t){const d=P(i.start),f=P(i.end);if(f.getTime()<n.getTime()||d.getTime()>=r.getTime())continue;const u=d.getTime()<n.getTime()?n:d,x=f.getTime()>=r.getTime()?z(r,-1):f,h=K(u,n),g=K(x,u)+1;if(g<=0)continue;const b=Math.max(i.start.getTime(),l),y=Math.min(i.end.getTime(),s),T=q(new Date(b),n),p=Math.max(q(new Date(y),n)-T,0);p<=0||m.push({variant:i,startCol:h,span:g,leftUnits:T,widthUnits:p})}m.sort((i,d)=>i.startCol-d.startCol||d.span-i.span||i.variant.blockKey.localeCompare(d.variant.blockKey));const a=[],c=[];for(const i of m){let d=a.findIndex(f=>f<=i.startCol);d===-1&&(d=a.length,a.push(0)),a[d]=i.startCol+i.span,c.push({...i,lane:d})}return c}const Q=new Intl.DateTimeFormat("en",{dateStyle:"medium",timeStyle:"short"});function Ot(e){const t=e.openStart?"Always":Q.format(e.start),n=e.openEnd?"Ongoing":Q.format(e.end);return`${t} → ${n}`}function Pt(e){const t=V.c(17),{variant:n}=e;let r;t[0]!==n.blockLabel?(r=o.jsx("div",{className:"font-semibold",children:n.blockLabel}),t[0]=n.blockLabel,t[1]=r):r=t[1];let l;t[2]!==n.innerPath?(l=n.innerPath&&o.jsx("div",{className:"text-muted-foreground",children:n.innerPath}),t[2]=n.innerPath,t[3]=l):l=t[3];let s;t[4]!==n.blockLabel||t[5]!==n.innerPath||t[6]!==n.label?(s=n.label!==n.blockLabel&&n.label!==n.innerPath&&o.jsx("div",{className:"text-muted-foreground",children:n.label}),t[4]=n.blockLabel,t[5]=n.innerPath,t[6]=n.label,t[7]=s):s=t[7];let m;t[8]!==n?(m=Ot(n),t[8]=n,t[9]=m):m=t[9];let a;t[10]!==m?(a=o.jsx("div",{className:"mt-1",children:m}),t[10]=m,t[11]=a):a=t[11];let c;return t[12]!==r||t[13]!==l||t[14]!==s||t[15]!==a?(c=o.jsx(gt,{children:o.jsxs("div",{className:"text-xs",children:[r,l,s,a]})}),t[12]=r,t[13]=l,t[14]=s,t[15]=a,t[16]=c):c=t[16],c}const X=16;function It(e,t){const n=e?"transparent":"#000 0",r=t?"transparent":"#000 100%";if(!(!e&&!t))return`linear-gradient(to right, ${n}, #000 ${X}px, #000 calc(100% - ${X}px), ${r})`}function lt(e){const t=V.c(26),{variant:n,color:r,style:l,children:s,fadeStart:m,fadeEnd:a}=e,c=m===void 0?!1:m,i=a===void 0?!1:a;let d;t[0]!==i||t[1]!==c?(d=It(c,i),t[0]=i,t[1]=c,t[2]=d):d=t[2];const f=d;let u;t[3]!==c?(u=c&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},t[3]=c,t[4]=u):u=t[4];let x;t[5]!==i?(x=i&&{borderTopRightRadius:0,borderBottomRightRadius:0},t[5]=i,t[6]=x):x=t[6];let h;t[7]!==f?(h=f&&{maskImage:f,WebkitMaskImage:f},t[7]=f,t[8]=h):h=t[8];let g;t[9]!==r.bg||t[10]!==r.text||t[11]!==l||t[12]!==u||t[13]!==x||t[14]!==h?(g={background:r.bg,color:r.text,borderRadius:4,...u,...x,...h,...l},t[9]=r.bg,t[10]=r.text,t[11]=l,t[12]=u,t[13]=x,t[14]=h,t[15]=g):g=t[15];let b;t[16]!==s?(b=o.jsx("span",{className:"truncate",children:s}),t[16]=s,t[17]=b):b=t[17];let y;t[18]!==g||t[19]!==b?(y=o.jsx(ut,{asChild:!0,children:o.jsx("div",{className:"absolute flex items-center px-2 text-[11px] font-medium truncate cursor-default",style:g,children:b})}),t[18]=g,t[19]=b,t[20]=y):y=t[20];let T;t[21]!==n?(T=o.jsx(Pt,{variant:n}),t[21]=n,t[22]=T):T=t[22];let p;return t[23]!==T||t[24]!==y?(p=o.jsxs(ht,{children:[y,T]}),t[23]=T,t[24]=y,t[25]=p):p=t[25],p}function kn(e){const t=V.c(49),{decofile:n}=e,[r,l]=U.useState("calendar"),[s,m]=U.useState(Bt),[a,c]=U.useState(!1);let i,d,f;if(t[0]!==n||t[1]!==a){const E=Et(n);i=E.filter(Ht).length,f=a?E:E.filter(Vt),d=At(f.map(Ft)),t[0]=n,t[1]=a,t[2]=i,t[3]=d,t[4]=f}else i=t[2],d=t[3],f=t[4];const u=d;let x;t[5]===Symbol.for("react.memo_cache_sentinel")?(x=()=>m(at(new Date)),t[5]=x):x=t[5];const h=x;let g;t[6]!==r?(g=()=>m(E=>r==="calendar"?F(E,-1):F(E,-3)),t[6]=r,t[7]=g):g=t[7];const b=g;let y;t[8]!==r?(y=()=>m(E=>r==="calendar"?F(E,1):F(E,3)),t[8]=r,t[9]=y):y=t[9];const T=y;let p;t[10]===Symbol.for("react.memo_cache_sentinel")?(p=o.jsx(Y,{variant:"outline",size:"sm",onClick:h,children:"Today"}),t[10]=p):p=t[10];let w;t[11]===Symbol.for("react.memo_cache_sentinel")?(w=o.jsx(mt,{size:16}),t[11]=w):w=t[11];let k;t[12]!==b?(k=o.jsx(Y,{variant:"ghost",size:"icon",className:"size-8",onClick:b,"aria-label":"Previous",children:w}),t[12]=b,t[13]=k):k=t[13];let _;t[14]===Symbol.for("react.memo_cache_sentinel")?(_=o.jsx(dt,{size:16}),t[14]=_):_=t[14];let M;t[15]!==T?(M=o.jsx(Y,{variant:"ghost",size:"icon",className:"size-8",onClick:T,"aria-label":"Next",children:_}),t[15]=T,t[16]=M):M=t[16];const A=ot[s.getMonth()];let S;t[17]!==s?(S=s.getFullYear(),t[17]=s,t[18]=S):S=t[18];let v;t[19]!==A||t[20]!==S?(v=o.jsxs("h2",{className:"ml-2 text-base font-semibold",children:[A," ",S]}),t[19]=A,t[20]=S,t[21]=v):v=t[21];let j;t[22]!==v||t[23]!==k||t[24]!==M?(j=o.jsxs("div",{className:"flex items-center gap-2",children:[p,k,M,v]}),t[22]=v,t[23]=k,t[24]=M,t[25]=j):j=t[25];let D;t[26]!==i||t[27]!==a?(D=i>0&&o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx(pt,{id:"show-ongoing",checked:a,onCheckedChange:c}),o.jsxs(ft,{htmlFor:"show-ongoing",className:"text-xs text-muted-foreground cursor-pointer",children:["Show ongoing (",i,")"]})]}),t[26]=i,t[27]=a,t[28]=D):D=t[28];let L;t[29]===Symbol.for("react.memo_cache_sentinel")?(L={value:"calendar",icon:o.jsx(et,{}),label:"Calendar"},t[29]=L):L=t[29];let I;t[30]===Symbol.for("react.memo_cache_sentinel")?(I=[L,{value:"timeline",icon:o.jsx(ct,{}),label:"Timeline"}],t[30]=I):I=t[30];let N;t[31]!==r?(N=o.jsx(xt,{value:r,onValueChange:l,options:I}),t[31]=r,t[32]=N):N=t[32];let R;t[33]!==D||t[34]!==N?(R=o.jsxs("div",{className:"flex items-center gap-4",children:[D,N]}),t[33]=D,t[34]=N,t[35]=R):R=t[35];let $;t[36]!==j||t[37]!==R?($=o.jsxs("div",{className:"flex items-center justify-between px-4 h-12 border-b shrink-0",children:[j,R]}),t[36]=j,t[37]=R,t[38]=$):$=t[38];let C;t[39]!==u||t[40]!==s||t[41]!==i||t[42]!==a||t[43]!==f||t[44]!==r?(C=f.length===0?o.jsx(Wt,{hiddenOngoing:a?0:i}):r==="calendar"?o.jsx(Ut,{monthStart:s,variants:f,colorMap:u}):o.jsx(Jt,{monthStart:s,variants:f,colorMap:u}),t[39]=u,t[40]=s,t[41]=i,t[42]=a,t[43]=f,t[44]=r,t[45]=C):C=t[45];let O;return t[46]!==$||t[47]!==C?(O=o.jsxs("div",{className:"flex h-full w-full flex-col",children:[$,C]}),t[46]=$,t[47]=C,t[48]=O):O=t[48],O}function Ft(e){return e.blockKey}function Vt(e){return!e.openEnd}function Ht(e){return e.openEnd}function Bt(){return at(new Date)}function Wt(e){const t=V.c(3),{hiddenOngoing:n}=e,r=n===void 0?0:n;let l;t[0]===Symbol.for("react.memo_cache_sentinel")?(l=o.jsx(et,{size:24,className:"text-muted-foreground/60"}),t[0]=l):l=t[0];let s;return t[1]!==r?(s=o.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center gap-2 text-center text-sm text-muted-foreground p-6",children:[l,r>0?o.jsxs(o.Fragment,{children:[o.jsx("div",{children:"No dated variants in view."}),o.jsxs("div",{className:"text-xs text-muted-foreground/80",children:[r," ongoing"," ",r===1?"variant is":"variants are"," hidden — enable “Show ongoing” to view."]})]}):o.jsxs(o.Fragment,{children:[o.jsx("div",{children:"No scheduled variants."}),o.jsx("div",{className:"text-xs text-muted-foreground/80",children:"Variants gated by a date matcher appear here."})]})]}),t[1]=r,t[2]=s):s=t[2],s}const G=20,Z=2,tt=28,zt=6;function Ut(e){const t=V.c(17),{monthStart:n,variants:r,colorMap:l}=e;let s,m,a,c,i;if(t[0]!==l||t[1]!==n||t[2]!==r){const u=Rt(n),x=P(new Date);s=nt,i="flex-1 min-h-0",m="min-w-[840px]",t[8]===Symbol.for("react.memo_cache_sentinel")?(a=o.jsx("div",{className:"grid grid-cols-7 border-b text-xs text-muted-foreground sticky top-0 bg-background z-10",children:$t.map(Gt)}),t[8]=a):a=t[8],c=u.map((h,g)=>{const b=Lt(h,r),y=b.reduce(Yt,0),T=tt+y*(G+Z)+8;return o.jsxs("div",{className:"grid grid-cols-7 relative border-b",style:{height:T},children:[h.map((p,w)=>{const k=p.getMonth()===n.getMonth(),_=p.getTime()===x.getTime();return o.jsx("div",{className:J("border-r last:border-r-0 px-2 pt-1.5 text-xs",k?"bg-background":"bg-muted/30 text-muted-foreground"),children:o.jsx("span",{className:J("inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1",_&&"bg-primary text-primary-foreground font-semibold"),children:p.getDate()})},w)}),b.map((p,w)=>{const k=st(l,p.variant.blockKey),_=tt+p.lane*(G+Z),M=p.leftUnits/7*100,A=p.widthUnits/7*100,S=p.variant.openStart&&g===0,v=p.variant.openEnd&&g===u.length-1;return o.jsxs(lt,{variant:p.variant,color:k,fadeStart:S,fadeEnd:v,style:{top:_,left:`calc(${M}% + 2px)`,width:`calc(${A}% - 4px)`,minWidth:zt,height:G},children:[p.variant.blockLabel,p.variant.label!==p.variant.blockLabel&&o.jsxs("span",{className:"opacity-70",children:[" · ",p.variant.label]})]},`${g}-${w}`)})]},g)}),t[0]=l,t[1]=n,t[2]=r,t[3]=s,t[4]=m,t[5]=a,t[6]=c,t[7]=i}else s=t[3],m=t[4],a=t[5],c=t[6],i=t[7];let d;t[9]!==m||t[10]!==a||t[11]!==c?(d=o.jsxs("div",{className:m,children:[a,c]}),t[9]=m,t[10]=a,t[11]=c,t[12]=d):d=t[12];let f;return t[13]!==s||t[14]!==i||t[15]!==d?(f=o.jsx(s,{className:i,children:d}),t[13]=s,t[14]=i,t[15]=d,t[16]=f):f=t[16],f}function Yt(e,t){return Math.max(e,t.lane+1)}function Gt(e){return o.jsx("div",{className:"px-2 py-2 text-center uppercase tracking-wide",children:e},e)}const B=4,Kt=32,H=240;function Jt(e){const t=V.c(27),{monthStart:n,variants:r,colorMap:l}=e,s=n;let m,a,c,i,d,f;if(t[0]!==l||t[1]!==n||t[2]!==s||t[3]!==r){const h=F(n,B),g=new Date,b=new Map;for(const v of r){const j=b.get(v.blockKey)??[];j.push(v),b.set(v.blockKey,j)}const y=Array.from(b.entries()).sort(Xt),T=h.getTime()-s.getTime(),p=v=>(Math.max(s.getTime(),Math.min(h.getTime(),v.getTime()))-s.getTime())/T*100;let w;t[10]!==s?(w=(v,j)=>F(s,j),t[10]=s,t[11]=w):w=t[11];const k=Array.from({length:B},w),_=g.getTime()>=s.getTime()&&g.getTime()<=h.getTime()?p(g):null;m=nt,f="flex-1 min-h-0",a="min-w-[900px] relative";let M;t[12]===Symbol.for("react.memo_cache_sentinel")?(M=o.jsx("div",{className:"shrink-0 px-3 py-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground border-r",style:{width:H},children:"Variant / Block"}),t[12]=M):M=t[12];let A;t[13]===Symbol.for("react.memo_cache_sentinel")?(A={gridTemplateColumns:`repeat(${B}, minmax(0, 1fr))`},t[13]=A):A=t[13];const S=k.map(Qt);t[14]!==S?(c=o.jsxs("div",{className:"flex border-b sticky top-0 bg-background z-10",children:[M,o.jsx("div",{className:"flex-1 grid",style:A,children:S})]}),t[14]=S,t[15]=c):c=t[15],t[16]!==_?(i=_!==null&&o.jsx("div",{className:"pointer-events-none absolute top-0 bottom-0 w-px bg-primary/70 z-[5]",style:{left:`calc(${H}px + (100% - ${H}px) * ${_} / 100)`},children:o.jsx("span",{className:"absolute -top-0.5 -translate-x-1/2 rounded-sm bg-primary px-1.5 py-px text-[10px] font-medium text-primary-foreground",children:"Today"})}),t[16]=_,t[17]=i):i=t[17],d=y.map(v=>{const[j,D]=v,L=st(l,j),I=D[0]?.blockLabel??j;return o.jsxs("div",{children:[o.jsx("div",{className:"flex items-center bg-muted/40 border-b text-xs font-semibold uppercase tracking-wide text-muted-foreground",style:{height:28},children:o.jsx("div",{className:"px-3 truncate",style:{width:H},children:I})}),D.map((N,R)=>o.jsxs("div",{className:"flex border-b items-center",style:{height:Kt},children:[o.jsxs("div",{className:"flex items-center gap-2 px-3 text-sm border-r shrink-0",style:{width:H},children:[o.jsx("span",{className:"inline-block h-2 w-2 rounded-full shrink-0",style:{background:L.bg}}),o.jsx("span",{className:"truncate text-foreground/80",children:N.label})]}),o.jsxs("div",{className:"relative flex-1 h-full",children:[o.jsx("div",{className:"absolute inset-0 grid",style:{gridTemplateColumns:`repeat(${B}, minmax(0, 1fr))`},children:k.map(qt)}),(()=>{const $=Math.max(N.start.getTime(),s.getTime()),C=Math.min(N.end.getTime(),h.getTime());if(C<=$)return null;const O=p(new Date($)),E=p(new Date(C))-O;return o.jsx(lt,{variant:N,color:L,fadeStart:N.openStart,fadeEnd:N.openEnd,style:{top:"50%",transform:"translateY(-50%)",left:`${O}%`,width:`calc(${E}% - 2px)`,height:22},children:N.label})})()]})]},R))]},j)}),t[0]=l,t[1]=n,t[2]=s,t[3]=r,t[4]=m,t[5]=a,t[6]=c,t[7]=i,t[8]=d,t[9]=f}else m=t[4],a=t[5],c=t[6],i=t[7],d=t[8],f=t[9];let u;t[18]!==a||t[19]!==c||t[20]!==i||t[21]!==d?(u=o.jsxs("div",{className:a,children:[c,i,d]}),t[18]=a,t[19]=c,t[20]=i,t[21]=d,t[22]=u):u=t[22];let x;return t[23]!==m||t[24]!==f||t[25]!==u?(x=o.jsx(m,{className:f,children:u}),t[23]=m,t[24]=f,t[25]=u,t[26]=x):x=t[26],x}function qt(e,t){return o.jsx("div",{className:"border-r last:border-r-0 border-border/40"},t)}function Qt(e,t){return o.jsxs("div",{className:"px-2 py-2 text-xs uppercase tracking-wide text-muted-foreground border-r last:border-r-0",children:[ot[e.getMonth()]?.slice(0,3)," ",e.getFullYear()]},t)}function Xt(e,t){return e[0].localeCompare(t[0])}export{kn as VariantCalendar};
1
+ import{c as V,r as U,j as o,l as J,B as Y}from"./index-D10xo2Wm.js";import{T as et,f as ct}from"./agent-icon-C9Jofb-u.js";import{n as mt}from"./ChevronLeft-DdoGlJfU.js";import{i as dt}from"./ChevronRight-DW1FHwl9.js";import{L as ft}from"./label-BaI9WHK8.js";import{S as nt}from"./scroll-area-C5IE_o87.js";import{S as pt}from"./switch-CNShaHWc.js";import{T as ut,b as ht,a as gt}from"./tooltip-VrGyigcV.js";import{V as xt}from"./view-mode-toggle-CUjiraWr.js";import"./AlertCircle-DKDv1c5a.js";import"./Tool01-Cnycw8Ef.js";import"./SwitchHorizontal01-DzDSRTn8.js";import"./Settings02-BOrHnhSy.js";import"./XCircle-Et4HA60-.js";import"./ArrowUpRight-CL_ND2fd.js";import"./ZapSquare-CvpHTkF6.js";import"./Users03-Hhn2gOWC.js";import"./CheckCircle-Cf7Vfzh1.js";import"./ChevronUp-DK-p-OwS.js";import"./ChevronDown-BZMxGINT.js";import"./DotsVertical-Dj0bH-G-.js";import"./Stars02-Ceo2qvgP.js";import"./Eye-C1cT97Dr.js";import"./ZoomOut-KuF6xRRI.js";import"./Globe01-MmdfsJuj.js";import"./FilterLines-BbZdzGgI.js";import"./Star01-DNV8Ma9Q.js";import"./Globe04-C1xLhm_u.js";import"./HardDrive-CTxqPq4g.js";import"./Key01-D_aQKwoU.js";import"./LayoutLeft-DGVVcFUt.js";import"./LinkExternal01-CjjlbDYr.js";import"./Monitor01-Bdmau1Kt.js";import"./Sun-8teVrEhL.js";import"./Palette-B2UGmW-_.js";import"./Play-BMlmnmbt.js";import"./Plus-Dw7ZaPZJ.js";import"./SearchMd-B7uVTp5E.js";import"./Shield01-DoXHEBfW.js";import"./Stars01-DkrXqc8-.js";import"./Trash01-4tPF0VaH.js";import"./Upload01-CmdzZ7sb.js";import"./User01-DG6-o1bh.js";import"./Users01-Cjr16PQI.js";import"./XClose-DVjO_TNn.js";import"./X-Dothba_A.js";import"./Zap-CxpukXGS.js";import"./use-clock-tick-6K15zpKz.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-CmqBXSyr.js";import"./file-type-icon-BWw9UmKa.js";import"./dialog-C6Huna5L.js";import"./tab-id-BptcWVWa.js";import"./content-blocks-o63cs2vh.js";import"./types-DvdTHMVs.js";import"./use-mcp-client-NkS_1XHm.js";import"./auth-2-m6wz4w.js";import"./chat-context-BUGEnk3o.js";import"./hooks-DQdOsZp5.js";import"./decopilot-sse-pool-BWdhrrzW.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./use-virtual-mcp-Cd0H2SUN.js";import"./use-collections-DVArJb6w.js";import"./use-ai-providers-exBfYy9L.js";import"./studio-tools-z5PzgEZo.js";import"./use-organization-settings-DCsUye9Y.js";import"./shell-layout-Cwicrerl.js";import"./avatar-IZb76xF5.js";import"./required-auth-layout-C-olAxiD.js";import"./use-org-sso-B_sMXWs_.js";import"./sheet-Cz4-_oqg.js";import"./integration-icon-D_K0I1bc.js";import"./use-navigate-to-agent-DNVrD-VA.js";import"./use-connection-X4N-9XqT.js";import"./use-mcp-prompts-7I02SPnr.js";import"./form-C0qrZ_x_.js";import"./input-D3Hn-5fP.js";import"./select-mHWPzm7G.js";const bt=new Set(["website/matchers/date.ts","$live/matchers/MatchDate.ts"]),yt=new Set(["website/matchers/multi.ts","$live/matchers/MatchMulti.ts"]),Tt=new Date(-864e13),vt=new Date(864e13),jt=/\/flags\/multivariate(?:\/[^/]+)?\.ts$/,Nt=/\/flags\/multivariate\.ts$/;function wt(e){let t=e;t.startsWith("pages-")&&(t=t.slice(6).replace(/-\d+$/,""));try{t=decodeURIComponent(t)}catch{}return t}function kt(e){if(!e||typeof e!="object")return null;const{start:t,end:n}=e,r=typeof t=="string",l=typeof n=="string";if(!r&&!l)return null;const s=r?new Date(t):Tt,m=l?new Date(n):vt;return Number.isNaN(s.getTime())||Number.isNaN(m.getTime())||r&&l&&m.getTime()<=s.getTime()?null:{start:s,end:m,openStart:!r,openEnd:!l}}function rt(e,t){if(!e||typeof e!="object")return;const n=e.__resolveType;if(typeof n=="string"){if(bt.has(n)){const r=kt(e);r&&t.push(r);return}if(yt.has(n)){const r=e.matchers;if(Array.isArray(r))for(const l of r)rt(l,t)}}}function _t(e){if(!e||typeof e!="object")return!1;const t=e.__resolveType;if(typeof t!="string"||!jt.test(t))return!1;const n=e.variants;return Array.isArray(n)}function Mt(e){if(typeof e=="string"){const a=e.trim();if(a.length===0)return null;try{const i=new URL(a).pathname.split("/").filter(Boolean),d=i[i.length-1];if(d)return decodeURIComponent(d)}catch{}return a.length>80?`${a.slice(0,77)}…`:a}if(!e||typeof e!="object")return null;const t=e,n=t.config,l=t.desktop?.media,s=[t.title,t.name,t.label,t.alt,n?.title,n?.name,n?.typeAlert?.message,l?.alt,Array.isArray(t.matcher)?t.matcher[0]:void 0];for(const a of s)if(typeof a=="string"&&a.trim().length>0)return a.trim();const m=t.__resolveType;if(typeof m=="string"){const c=(m.split("/").pop()??m).replace(/\.(tsx?|jsx?)$/i,"");if(c.length>0)return c}return null}function St(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n];typeof r=="number"?t.length>0?t[t.length-1]+=`[${r}]`:t.push(`[${r}]`):t.push(r)}return t.join(" · ")}function W(e,t,n,r,l){if(_t(e)){const s=e.variants,m=e.__resolveType,a=Nt.test(m)?"":St(r);s.forEach((c,i)=>{if(!c||typeof c!="object")return;const d=c,f=[];if(rt(d.rule,f),f.length===0)return;const x=Mt(d.value)??(a||n);for(const h of f)l.push({blockKey:t,blockLabel:n,innerPath:a,variantIndex:i,start:h.start,end:h.end,openStart:h.openStart,openEnd:h.openEnd,label:x,flagResolveType:m})});for(let c=0;c<s.length;c++){const i=s[c];i&&typeof i=="object"&&W(i.value,t,n,[...r,"variants",c,"value"],l)}return}if(Array.isArray(e)){for(let s=0;s<e.length;s++)W(e[s],t,n,[...r,s],l);return}if(e&&typeof e=="object")for(const[s,m]of Object.entries(e))s!=="__resolveType"&&W(m,t,n,[...r,s],l)}function Et(e){if(!e)return[];const t=[];for(const[n,r]of Object.entries(e))W(r,n,wt(n),[],t);return t.sort((n,r)=>n.start.getTime()-r.start.getTime())}function At(e){const t=[...new Set(e)].sort(),n=new Map;return t.forEach((r,l)=>{const s=l*137.508%360;n.set(r,{bg:`oklch(0.62 0.14 ${s})`,text:"white",border:`oklch(0.50 0.14 ${s})`})}),n}const Dt={bg:"oklch(0.62 0.14 0)",text:"white",border:"oklch(0.50 0.14 0)"};function st(e,t){return e.get(t)??Dt}const $t=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ot=["January","February","March","April","May","June","July","August","September","October","November","December"],it=1440*60*1e3;function P(e){const t=new Date(e);return t.setHours(0,0,0,0),t}function at(e){return new Date(e.getFullYear(),e.getMonth(),1)}function F(e,t){return new Date(e.getFullYear(),e.getMonth()+t,1)}function z(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function K(e,t){return Math.round((P(e).getTime()-P(t).getTime())/it)}function Ct(e){const t=(e.getTime()-P(e).getTime())/it;return Math.min(Math.max(t,0),1)}function q(e,t){return K(e,t)+Ct(e)}function Rt(e){const t=z(e,-e.getDay()),n=[];for(let r=0;r<6;r++){const l=[];for(let s=0;s<7;s++)l.push(z(t,r*7+s));n.push(l)}for(;n.length>0&&n[n.length-1].every(r=>r.getMonth()!==e.getMonth());)n.pop();return n}function Lt(e,t){const n=P(e[0]),r=z(n,7),l=n.getTime(),s=r.getTime(),m=[];for(const i of t){const d=P(i.start),f=P(i.end);if(f.getTime()<n.getTime()||d.getTime()>=r.getTime())continue;const u=d.getTime()<n.getTime()?n:d,x=f.getTime()>=r.getTime()?z(r,-1):f,h=K(u,n),g=K(x,u)+1;if(g<=0)continue;const b=Math.max(i.start.getTime(),l),y=Math.min(i.end.getTime(),s),T=q(new Date(b),n),p=Math.max(q(new Date(y),n)-T,0);p<=0||m.push({variant:i,startCol:h,span:g,leftUnits:T,widthUnits:p})}m.sort((i,d)=>i.startCol-d.startCol||d.span-i.span||i.variant.blockKey.localeCompare(d.variant.blockKey));const a=[],c=[];for(const i of m){let d=a.findIndex(f=>f<=i.startCol);d===-1&&(d=a.length,a.push(0)),a[d]=i.startCol+i.span,c.push({...i,lane:d})}return c}const Q=new Intl.DateTimeFormat("en",{dateStyle:"medium",timeStyle:"short"});function Ot(e){const t=e.openStart?"Always":Q.format(e.start),n=e.openEnd?"Ongoing":Q.format(e.end);return`${t} → ${n}`}function Pt(e){const t=V.c(17),{variant:n}=e;let r;t[0]!==n.blockLabel?(r=o.jsx("div",{className:"font-semibold",children:n.blockLabel}),t[0]=n.blockLabel,t[1]=r):r=t[1];let l;t[2]!==n.innerPath?(l=n.innerPath&&o.jsx("div",{className:"text-muted-foreground",children:n.innerPath}),t[2]=n.innerPath,t[3]=l):l=t[3];let s;t[4]!==n.blockLabel||t[5]!==n.innerPath||t[6]!==n.label?(s=n.label!==n.blockLabel&&n.label!==n.innerPath&&o.jsx("div",{className:"text-muted-foreground",children:n.label}),t[4]=n.blockLabel,t[5]=n.innerPath,t[6]=n.label,t[7]=s):s=t[7];let m;t[8]!==n?(m=Ot(n),t[8]=n,t[9]=m):m=t[9];let a;t[10]!==m?(a=o.jsx("div",{className:"mt-1",children:m}),t[10]=m,t[11]=a):a=t[11];let c;return t[12]!==r||t[13]!==l||t[14]!==s||t[15]!==a?(c=o.jsx(gt,{children:o.jsxs("div",{className:"text-xs",children:[r,l,s,a]})}),t[12]=r,t[13]=l,t[14]=s,t[15]=a,t[16]=c):c=t[16],c}const X=16;function It(e,t){const n=e?"transparent":"#000 0",r=t?"transparent":"#000 100%";if(!(!e&&!t))return`linear-gradient(to right, ${n}, #000 ${X}px, #000 calc(100% - ${X}px), ${r})`}function lt(e){const t=V.c(26),{variant:n,color:r,style:l,children:s,fadeStart:m,fadeEnd:a}=e,c=m===void 0?!1:m,i=a===void 0?!1:a;let d;t[0]!==i||t[1]!==c?(d=It(c,i),t[0]=i,t[1]=c,t[2]=d):d=t[2];const f=d;let u;t[3]!==c?(u=c&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},t[3]=c,t[4]=u):u=t[4];let x;t[5]!==i?(x=i&&{borderTopRightRadius:0,borderBottomRightRadius:0},t[5]=i,t[6]=x):x=t[6];let h;t[7]!==f?(h=f&&{maskImage:f,WebkitMaskImage:f},t[7]=f,t[8]=h):h=t[8];let g;t[9]!==r.bg||t[10]!==r.text||t[11]!==l||t[12]!==u||t[13]!==x||t[14]!==h?(g={background:r.bg,color:r.text,borderRadius:4,...u,...x,...h,...l},t[9]=r.bg,t[10]=r.text,t[11]=l,t[12]=u,t[13]=x,t[14]=h,t[15]=g):g=t[15];let b;t[16]!==s?(b=o.jsx("span",{className:"truncate",children:s}),t[16]=s,t[17]=b):b=t[17];let y;t[18]!==g||t[19]!==b?(y=o.jsx(ut,{asChild:!0,children:o.jsx("div",{className:"absolute flex items-center px-2 text-[11px] font-medium truncate cursor-default",style:g,children:b})}),t[18]=g,t[19]=b,t[20]=y):y=t[20];let T;t[21]!==n?(T=o.jsx(Pt,{variant:n}),t[21]=n,t[22]=T):T=t[22];let p;return t[23]!==T||t[24]!==y?(p=o.jsxs(ht,{children:[y,T]}),t[23]=T,t[24]=y,t[25]=p):p=t[25],p}function kn(e){const t=V.c(49),{decofile:n}=e,[r,l]=U.useState("calendar"),[s,m]=U.useState(Bt),[a,c]=U.useState(!1);let i,d,f;if(t[0]!==n||t[1]!==a){const E=Et(n);i=E.filter(Ht).length,f=a?E:E.filter(Vt),d=At(f.map(Ft)),t[0]=n,t[1]=a,t[2]=i,t[3]=d,t[4]=f}else i=t[2],d=t[3],f=t[4];const u=d;let x;t[5]===Symbol.for("react.memo_cache_sentinel")?(x=()=>m(at(new Date)),t[5]=x):x=t[5];const h=x;let g;t[6]!==r?(g=()=>m(E=>r==="calendar"?F(E,-1):F(E,-3)),t[6]=r,t[7]=g):g=t[7];const b=g;let y;t[8]!==r?(y=()=>m(E=>r==="calendar"?F(E,1):F(E,3)),t[8]=r,t[9]=y):y=t[9];const T=y;let p;t[10]===Symbol.for("react.memo_cache_sentinel")?(p=o.jsx(Y,{variant:"outline",size:"sm",onClick:h,children:"Today"}),t[10]=p):p=t[10];let w;t[11]===Symbol.for("react.memo_cache_sentinel")?(w=o.jsx(mt,{size:16}),t[11]=w):w=t[11];let k;t[12]!==b?(k=o.jsx(Y,{variant:"ghost",size:"icon",className:"size-8",onClick:b,"aria-label":"Previous",children:w}),t[12]=b,t[13]=k):k=t[13];let _;t[14]===Symbol.for("react.memo_cache_sentinel")?(_=o.jsx(dt,{size:16}),t[14]=_):_=t[14];let M;t[15]!==T?(M=o.jsx(Y,{variant:"ghost",size:"icon",className:"size-8",onClick:T,"aria-label":"Next",children:_}),t[15]=T,t[16]=M):M=t[16];const A=ot[s.getMonth()];let S;t[17]!==s?(S=s.getFullYear(),t[17]=s,t[18]=S):S=t[18];let v;t[19]!==A||t[20]!==S?(v=o.jsxs("h2",{className:"ml-2 text-base font-semibold",children:[A," ",S]}),t[19]=A,t[20]=S,t[21]=v):v=t[21];let j;t[22]!==v||t[23]!==k||t[24]!==M?(j=o.jsxs("div",{className:"flex items-center gap-2",children:[p,k,M,v]}),t[22]=v,t[23]=k,t[24]=M,t[25]=j):j=t[25];let D;t[26]!==i||t[27]!==a?(D=i>0&&o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx(pt,{id:"show-ongoing",checked:a,onCheckedChange:c}),o.jsxs(ft,{htmlFor:"show-ongoing",className:"text-xs text-muted-foreground cursor-pointer",children:["Show ongoing (",i,")"]})]}),t[26]=i,t[27]=a,t[28]=D):D=t[28];let L;t[29]===Symbol.for("react.memo_cache_sentinel")?(L={value:"calendar",icon:o.jsx(et,{}),label:"Calendar"},t[29]=L):L=t[29];let I;t[30]===Symbol.for("react.memo_cache_sentinel")?(I=[L,{value:"timeline",icon:o.jsx(ct,{}),label:"Timeline"}],t[30]=I):I=t[30];let N;t[31]!==r?(N=o.jsx(xt,{value:r,onValueChange:l,options:I}),t[31]=r,t[32]=N):N=t[32];let R;t[33]!==D||t[34]!==N?(R=o.jsxs("div",{className:"flex items-center gap-4",children:[D,N]}),t[33]=D,t[34]=N,t[35]=R):R=t[35];let $;t[36]!==j||t[37]!==R?($=o.jsxs("div",{className:"flex items-center justify-between px-4 h-12 border-b shrink-0",children:[j,R]}),t[36]=j,t[37]=R,t[38]=$):$=t[38];let C;t[39]!==u||t[40]!==s||t[41]!==i||t[42]!==a||t[43]!==f||t[44]!==r?(C=f.length===0?o.jsx(Wt,{hiddenOngoing:a?0:i}):r==="calendar"?o.jsx(Ut,{monthStart:s,variants:f,colorMap:u}):o.jsx(Jt,{monthStart:s,variants:f,colorMap:u}),t[39]=u,t[40]=s,t[41]=i,t[42]=a,t[43]=f,t[44]=r,t[45]=C):C=t[45];let O;return t[46]!==$||t[47]!==C?(O=o.jsxs("div",{className:"flex h-full w-full flex-col",children:[$,C]}),t[46]=$,t[47]=C,t[48]=O):O=t[48],O}function Ft(e){return e.blockKey}function Vt(e){return!e.openEnd}function Ht(e){return e.openEnd}function Bt(){return at(new Date)}function Wt(e){const t=V.c(3),{hiddenOngoing:n}=e,r=n===void 0?0:n;let l;t[0]===Symbol.for("react.memo_cache_sentinel")?(l=o.jsx(et,{size:24,className:"text-muted-foreground/60"}),t[0]=l):l=t[0];let s;return t[1]!==r?(s=o.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center gap-2 text-center text-sm text-muted-foreground p-6",children:[l,r>0?o.jsxs(o.Fragment,{children:[o.jsx("div",{children:"No dated variants in view."}),o.jsxs("div",{className:"text-xs text-muted-foreground/80",children:[r," ongoing"," ",r===1?"variant is":"variants are"," hidden — enable “Show ongoing” to view."]})]}):o.jsxs(o.Fragment,{children:[o.jsx("div",{children:"No scheduled variants."}),o.jsx("div",{className:"text-xs text-muted-foreground/80",children:"Variants gated by a date matcher appear here."})]})]}),t[1]=r,t[2]=s):s=t[2],s}const G=20,Z=2,tt=28,zt=6;function Ut(e){const t=V.c(17),{monthStart:n,variants:r,colorMap:l}=e;let s,m,a,c,i;if(t[0]!==l||t[1]!==n||t[2]!==r){const u=Rt(n),x=P(new Date);s=nt,i="flex-1 min-h-0",m="min-w-[840px]",t[8]===Symbol.for("react.memo_cache_sentinel")?(a=o.jsx("div",{className:"grid grid-cols-7 border-b text-xs text-muted-foreground sticky top-0 bg-background z-10",children:$t.map(Gt)}),t[8]=a):a=t[8],c=u.map((h,g)=>{const b=Lt(h,r),y=b.reduce(Yt,0),T=tt+y*(G+Z)+8;return o.jsxs("div",{className:"grid grid-cols-7 relative border-b",style:{height:T},children:[h.map((p,w)=>{const k=p.getMonth()===n.getMonth(),_=p.getTime()===x.getTime();return o.jsx("div",{className:J("border-r last:border-r-0 px-2 pt-1.5 text-xs",k?"bg-background":"bg-muted/30 text-muted-foreground"),children:o.jsx("span",{className:J("inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1",_&&"bg-primary text-primary-foreground font-semibold"),children:p.getDate()})},w)}),b.map((p,w)=>{const k=st(l,p.variant.blockKey),_=tt+p.lane*(G+Z),M=p.leftUnits/7*100,A=p.widthUnits/7*100,S=p.variant.openStart&&g===0,v=p.variant.openEnd&&g===u.length-1;return o.jsxs(lt,{variant:p.variant,color:k,fadeStart:S,fadeEnd:v,style:{top:_,left:`calc(${M}% + 2px)`,width:`calc(${A}% - 4px)`,minWidth:zt,height:G},children:[p.variant.blockLabel,p.variant.label!==p.variant.blockLabel&&o.jsxs("span",{className:"opacity-70",children:[" · ",p.variant.label]})]},`${g}-${w}`)})]},g)}),t[0]=l,t[1]=n,t[2]=r,t[3]=s,t[4]=m,t[5]=a,t[6]=c,t[7]=i}else s=t[3],m=t[4],a=t[5],c=t[6],i=t[7];let d;t[9]!==m||t[10]!==a||t[11]!==c?(d=o.jsxs("div",{className:m,children:[a,c]}),t[9]=m,t[10]=a,t[11]=c,t[12]=d):d=t[12];let f;return t[13]!==s||t[14]!==i||t[15]!==d?(f=o.jsx(s,{className:i,children:d}),t[13]=s,t[14]=i,t[15]=d,t[16]=f):f=t[16],f}function Yt(e,t){return Math.max(e,t.lane+1)}function Gt(e){return o.jsx("div",{className:"px-2 py-2 text-center uppercase tracking-wide",children:e},e)}const B=4,Kt=32,H=240;function Jt(e){const t=V.c(27),{monthStart:n,variants:r,colorMap:l}=e,s=n;let m,a,c,i,d,f;if(t[0]!==l||t[1]!==n||t[2]!==s||t[3]!==r){const h=F(n,B),g=new Date,b=new Map;for(const v of r){const j=b.get(v.blockKey)??[];j.push(v),b.set(v.blockKey,j)}const y=Array.from(b.entries()).sort(Xt),T=h.getTime()-s.getTime(),p=v=>(Math.max(s.getTime(),Math.min(h.getTime(),v.getTime()))-s.getTime())/T*100;let w;t[10]!==s?(w=(v,j)=>F(s,j),t[10]=s,t[11]=w):w=t[11];const k=Array.from({length:B},w),_=g.getTime()>=s.getTime()&&g.getTime()<=h.getTime()?p(g):null;m=nt,f="flex-1 min-h-0",a="min-w-[900px] relative";let M;t[12]===Symbol.for("react.memo_cache_sentinel")?(M=o.jsx("div",{className:"shrink-0 px-3 py-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground border-r",style:{width:H},children:"Variant / Block"}),t[12]=M):M=t[12];let A;t[13]===Symbol.for("react.memo_cache_sentinel")?(A={gridTemplateColumns:`repeat(${B}, minmax(0, 1fr))`},t[13]=A):A=t[13];const S=k.map(Qt);t[14]!==S?(c=o.jsxs("div",{className:"flex border-b sticky top-0 bg-background z-10",children:[M,o.jsx("div",{className:"flex-1 grid",style:A,children:S})]}),t[14]=S,t[15]=c):c=t[15],t[16]!==_?(i=_!==null&&o.jsx("div",{className:"pointer-events-none absolute top-0 bottom-0 w-px bg-primary/70 z-[5]",style:{left:`calc(${H}px + (100% - ${H}px) * ${_} / 100)`},children:o.jsx("span",{className:"absolute -top-0.5 -translate-x-1/2 rounded-sm bg-primary px-1.5 py-px text-[10px] font-medium text-primary-foreground",children:"Today"})}),t[16]=_,t[17]=i):i=t[17],d=y.map(v=>{const[j,D]=v,L=st(l,j),I=D[0]?.blockLabel??j;return o.jsxs("div",{children:[o.jsx("div",{className:"flex items-center bg-muted/40 border-b text-xs font-semibold uppercase tracking-wide text-muted-foreground",style:{height:28},children:o.jsx("div",{className:"px-3 truncate",style:{width:H},children:I})}),D.map((N,R)=>o.jsxs("div",{className:"flex border-b items-center",style:{height:Kt},children:[o.jsxs("div",{className:"flex items-center gap-2 px-3 text-sm border-r shrink-0",style:{width:H},children:[o.jsx("span",{className:"inline-block h-2 w-2 rounded-full shrink-0",style:{background:L.bg}}),o.jsx("span",{className:"truncate text-foreground/80",children:N.label})]}),o.jsxs("div",{className:"relative flex-1 h-full",children:[o.jsx("div",{className:"absolute inset-0 grid",style:{gridTemplateColumns:`repeat(${B}, minmax(0, 1fr))`},children:k.map(qt)}),(()=>{const $=Math.max(N.start.getTime(),s.getTime()),C=Math.min(N.end.getTime(),h.getTime());if(C<=$)return null;const O=p(new Date($)),E=p(new Date(C))-O;return o.jsx(lt,{variant:N,color:L,fadeStart:N.openStart,fadeEnd:N.openEnd,style:{top:"50%",transform:"translateY(-50%)",left:`${O}%`,width:`calc(${E}% - 2px)`,height:22},children:N.label})})()]})]},R))]},j)}),t[0]=l,t[1]=n,t[2]=s,t[3]=r,t[4]=m,t[5]=a,t[6]=c,t[7]=i,t[8]=d,t[9]=f}else m=t[4],a=t[5],c=t[6],i=t[7],d=t[8],f=t[9];let u;t[18]!==a||t[19]!==c||t[20]!==i||t[21]!==d?(u=o.jsxs("div",{className:a,children:[c,i,d]}),t[18]=a,t[19]=c,t[20]=i,t[21]=d,t[22]=u):u=t[22];let x;return t[23]!==m||t[24]!==f||t[25]!==u?(x=o.jsx(m,{className:f,children:u}),t[23]=m,t[24]=f,t[25]=u,t[26]=x):x=t[26],x}function qt(e,t){return o.jsx("div",{className:"border-r last:border-r-0 border-border/40"},t)}function Qt(e,t){return o.jsxs("div",{className:"px-2 py-2 text-xs uppercase tracking-wide text-muted-foreground border-r last:border-r-0",children:[ot[e.getMonth()]?.slice(0,3)," ",e.getFullYear()]},t)}function Xt(e,t){return e[0].localeCompare(t[0])}export{kn as VariantCalendar};
@@ -1 +1 @@
1
- import{c as $,r as T,l as f,j as i}from"./index-Cnt3OT0F.js";import{b as k,T as I,a as P}from"./tooltip-C29fjS_0.js";const M={sm:{button:"size-7",buttonWithLabel:"h-7",icon:"size-4"},md:{button:"size-9",buttonWithLabel:"h-9",icon:"size-5"},lg:{button:"size-12",buttonWithLabel:"h-12",icon:"size-6"}};function B(E){const t=$.c(27),{value:s,onValueChange:y,options:o,size:C,fullWidth:L,className:z}=E,_=C===void 0?"sm":C,b=L===void 0?!1:L;let h;t[0]===Symbol.for("react.memo_cache_sentinel")?(h=[],t[0]=h):h=t[0];const R=T.useRef(h);let x;t[1]===Symbol.for("react.memo_cache_sentinel")?(x={left:0,width:0,opacity:0},t[1]=x):x=t[1];const[d,S]=T.useState(x);let g,p;t[2]!==o||t[3]!==s?(g=()=>{const e=o.findIndex(j=>j.value===s),m=R.current[e];m&&S({left:m.offsetLeft,width:m.offsetWidth,opacity:1})},p=[s,o],t[2]=o,t[3]=s,t[4]=g,t[5]=p):(g=t[4],p=t[5]),T.useEffect(g,p);const n=M[_];let l;t[6]!==z?(l=f("relative flex gap-0 bg-muted rounded-lg",z),t[6]=z,t[7]=l):l=t[7];let a;t[8]!==n||t[9]!==b||t[10]!==y||t[11]!==o||t[12]!==s?(a=o.map((e,m)=>{const j=i.jsxs("button",{ref:V=>{R.current[m]=V},type:"button",onClick:()=>y(e.value),className:f("relative z-10 flex items-center justify-center gap-2 rounded-lg transition-colors [transition-timing-function:var(--ease-out-cubic)] duration-200",b?"flex-1 h-12 px-4":e.label?f(n.buttonWithLabel,"px-3"):n.button),children:[i.jsx("span",{className:f("transition-colors ease-out duration-200 flex items-center justify-center [&>svg]:size-[1em]",n.icon,s===e.value?"text-foreground":"text-muted-foreground"),children:e.icon}),e.label&&i.jsx("span",{className:f("text-xs transition-colors ease-out duration-200 whitespace-nowrap",s===e.value?"text-foreground":"text-muted-foreground"),children:e.label})]},e.value);return e.tooltip?i.jsxs(k,{children:[i.jsx(I,{asChild:!0,children:j}),i.jsx(P,{side:"bottom",children:e.tooltip})]},e.value):j}),t[8]=n,t[9]=b,t[10]=y,t[11]=o,t[12]=s,t[13]=a):a=t[13];const w=b?"h-12":n.button;let r;t[14]!==w?(r=f("absolute z-0 bg-background rounded-lg border-shadow transition-all [transition-timing-function:var(--ease-out-cubic)] duration-200",w),t[14]=w,t[15]=r):r=t[15];const W=`${d.left}px`,N=`${d.width}px`;let c;t[16]!==d.opacity||t[17]!==W||t[18]!==N?(c={left:W,width:N,opacity:d.opacity},t[16]=d.opacity,t[17]=W,t[18]=N,t[19]=c):c=t[19];let u;t[20]!==r||t[21]!==c?(u=i.jsx("div",{className:r,style:c}),t[20]=r,t[21]=c,t[22]=u):u=t[22];let v;return t[23]!==u||t[24]!==l||t[25]!==a?(v=i.jsxs("div",{className:l,children:[a,u]}),t[23]=u,t[24]=l,t[25]=a,t[26]=v):v=t[26],v}export{B as V};
1
+ import{c as $,r as T,l as f,j as i}from"./index-D10xo2Wm.js";import{b as k,T as I,a as P}from"./tooltip-VrGyigcV.js";const M={sm:{button:"size-7",buttonWithLabel:"h-7",icon:"size-4"},md:{button:"size-9",buttonWithLabel:"h-9",icon:"size-5"},lg:{button:"size-12",buttonWithLabel:"h-12",icon:"size-6"}};function B(E){const t=$.c(27),{value:s,onValueChange:y,options:o,size:C,fullWidth:L,className:z}=E,_=C===void 0?"sm":C,b=L===void 0?!1:L;let h;t[0]===Symbol.for("react.memo_cache_sentinel")?(h=[],t[0]=h):h=t[0];const R=T.useRef(h);let x;t[1]===Symbol.for("react.memo_cache_sentinel")?(x={left:0,width:0,opacity:0},t[1]=x):x=t[1];const[d,S]=T.useState(x);let g,p;t[2]!==o||t[3]!==s?(g=()=>{const e=o.findIndex(j=>j.value===s),m=R.current[e];m&&S({left:m.offsetLeft,width:m.offsetWidth,opacity:1})},p=[s,o],t[2]=o,t[3]=s,t[4]=g,t[5]=p):(g=t[4],p=t[5]),T.useEffect(g,p);const n=M[_];let l;t[6]!==z?(l=f("relative flex gap-0 bg-muted rounded-lg",z),t[6]=z,t[7]=l):l=t[7];let a;t[8]!==n||t[9]!==b||t[10]!==y||t[11]!==o||t[12]!==s?(a=o.map((e,m)=>{const j=i.jsxs("button",{ref:V=>{R.current[m]=V},type:"button",onClick:()=>y(e.value),className:f("relative z-10 flex items-center justify-center gap-2 rounded-lg transition-colors [transition-timing-function:var(--ease-out-cubic)] duration-200",b?"flex-1 h-12 px-4":e.label?f(n.buttonWithLabel,"px-3"):n.button),children:[i.jsx("span",{className:f("transition-colors ease-out duration-200 flex items-center justify-center [&>svg]:size-[1em]",n.icon,s===e.value?"text-foreground":"text-muted-foreground"),children:e.icon}),e.label&&i.jsx("span",{className:f("text-xs transition-colors ease-out duration-200 whitespace-nowrap",s===e.value?"text-foreground":"text-muted-foreground"),children:e.label})]},e.value);return e.tooltip?i.jsxs(k,{children:[i.jsx(I,{asChild:!0,children:j}),i.jsx(P,{side:"bottom",children:e.tooltip})]},e.value):j}),t[8]=n,t[9]=b,t[10]=y,t[11]=o,t[12]=s,t[13]=a):a=t[13];const w=b?"h-12":n.button;let r;t[14]!==w?(r=f("absolute z-0 bg-background rounded-lg border-shadow transition-all [transition-timing-function:var(--ease-out-cubic)] duration-200",w),t[14]=w,t[15]=r):r=t[15];const W=`${d.left}px`,N=`${d.width}px`;let c;t[16]!==d.opacity||t[17]!==W||t[18]!==N?(c={left:W,width:N,opacity:d.opacity},t[16]=d.opacity,t[17]=W,t[18]=N,t[19]=c):c=t[19];let u;t[20]!==r||t[21]!==c?(u=i.jsx("div",{className:r,style:c}),t[20]=r,t[21]=c,t[22]=u):u=t[22];let v;return t[23]!==u||t[24]!==l||t[25]!==a?(v=i.jsxs("div",{className:l,children:[a,u]}),t[23]=u,t[24]=l,t[25]=a,t[26]=v):v=t[26],v}export{B as V};
@@ -56,8 +56,8 @@
56
56
  <meta name="apple-mobile-web-app-capable" content="yes" />
57
57
  <meta name="apple-mobile-web-app-status-bar-style" content="default" />
58
58
  <meta name="apple-mobile-web-app-title" content="deco Studio" />
59
- <script type="module" crossorigin src="/assets/index-Cnt3OT0F.js"></script>
60
- <link rel="stylesheet" crossorigin href="/assets/index-fHHzFvHF.css">
59
+ <script type="module" crossorigin src="/assets/index-D10xo2Wm.js"></script>
60
+ <link rel="stylesheet" crossorigin href="/assets/index-B6DoI6qf.css">
61
61
  </head>
62
62
  <body>
63
63
  <div id="root"></div>