@pstdio/ui 0.0.3 → 0.1.0

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 (755) hide show
  1. package/dist/EquationComponent-DeDYHvqY.js +62 -0
  2. package/dist/EquationComponent-DeDYHvqY.js.map +1 -0
  3. package/dist/chat-ui.js +1366 -0
  4. package/dist/chat-ui.js.map +1 -0
  5. package/dist/components/button.stories.d.ts +18 -0
  6. package/dist/components/chat-ui/components/ai-conversation.d.ts +1161 -0
  7. package/dist/components/chat-ui/index.d.ts +13 -0
  8. package/{storybook-static → dist}/components/chat-ui/tool-rendering/build-timeline.d.ts +2 -2
  9. package/dist/components/chat-ui/utils/get-icon.d.ts +34 -0
  10. package/{storybook-static → dist}/components/column-file-browser.d.ts +1 -2
  11. package/dist/components/column-file-browser.stories.d.ts +15 -0
  12. package/dist/components/data-table/build-columns.d.ts +3 -0
  13. package/dist/components/data-table/data-table.d.ts +2 -0
  14. package/{storybook-static/components → dist/components/data-table}/data-table.stories.d.ts +1 -1
  15. package/dist/components/data-table/helpers.d.ts +10 -0
  16. package/dist/components/data-table/index.d.ts +3 -0
  17. package/dist/components/data-table/pagination-footer.d.ts +5 -0
  18. package/dist/components/data-table/selection-toolbar.d.ts +9 -0
  19. package/{storybook-static/components/data-table.d.ts → dist/components/data-table/types.d.ts} +6 -4
  20. package/dist/components/documentation/docs-changelog.d.ts +20 -0
  21. package/dist/components/documentation/docs-changelog.stories.d.ts +15 -0
  22. package/dist/components/documentation/docs-outline.d.ts +13 -0
  23. package/dist/components/documentation/docs-outline.stories.d.ts +16 -0
  24. package/dist/components/documentation/docs-pagination.d.ts +10 -0
  25. package/dist/components/documentation/docs-pagination.stories.d.ts +14 -0
  26. package/dist/components/documentation/docs-sidebar.d.ts +14 -0
  27. package/dist/components/documentation/docs-sidebar.stories.d.ts +7 -0
  28. package/{storybook-static → dist}/components/file-selector.d.ts +1 -2
  29. package/dist/components/file-selector.stories.d.ts +17 -0
  30. package/dist/components/folder-picker-dialog.d.ts +25 -0
  31. package/{storybook-static/components/style-guide.stories.d.ts → dist/components/folder-picker-dialog.stories.d.ts} +2 -5
  32. package/{storybook-static → dist}/components/info-card.d.ts +1 -2
  33. package/dist/components/info-card.stories.d.ts +41 -0
  34. package/{storybook-static → dist}/components/menu-item.d.ts +1 -1
  35. package/dist/components/menu-item.stories.d.ts +72 -0
  36. package/dist/components/number-input.d.ts +8 -0
  37. package/{storybook-static → dist}/components/panel-menu.d.ts +2 -0
  38. package/{storybook-static → dist}/components/panel-menu.stories.d.ts +1 -0
  39. package/{storybook-static → dist}/components/param-editor.stories.d.ts +1 -0
  40. package/{storybook-static → dist}/components/rich-text/collaborative-markdown-editor/collaborative-markdown-editor.d.ts +1 -0
  41. package/{storybook-static → dist}/components/rich-text/markdown-editor/markdown-editor.d.ts +1 -0
  42. package/{storybook-static → dist}/components/rich-text/markdown-editor/markdown-editor.stories.d.ts +1 -0
  43. package/dist/components/rich-text/utils/inferResourceType.d.ts +1 -0
  44. package/dist/components/session-indicator.d.ts +14 -0
  45. package/dist/components/session-indicator.stories.d.ts +11 -0
  46. package/dist/components/slider.stories.d.ts +15 -0
  47. package/dist/components/style-guide.stories.d.ts +28 -0
  48. package/dist/components/switch.d.ts +15 -0
  49. package/dist/components/switch.stories.d.ts +16 -0
  50. package/dist/components/tickets/ticket-board.d.ts +33 -0
  51. package/dist/components/tickets/ticket-board.stories.d.ts +5 -0
  52. package/dist/components/tickets/ticket-card.d.ts +25 -0
  53. package/dist/components/tickets/ticket-card.stories.d.ts +17 -0
  54. package/dist/components/tickets/ticket-list.d.ts +23 -0
  55. package/dist/components/tickets/ticket-list.stories.d.ts +10 -0
  56. package/dist/components/toaster.d.ts +3 -0
  57. package/dist/empty-state-Bu1ocnPz.js +70 -0
  58. package/dist/empty-state-Bu1ocnPz.js.map +1 -0
  59. package/dist/index.d.ts +43 -0
  60. package/dist/index.js +1278 -0
  61. package/dist/index.js.map +1 -0
  62. package/dist/rich-message-CNDoACE7.js +1402 -0
  63. package/dist/rich-message-CNDoACE7.js.map +1 -0
  64. package/dist/rich-text.js +490 -0
  65. package/dist/rich-text.js.map +1 -0
  66. package/dist/style.css +1 -0
  67. package/{storybook-static → dist}/theme/primitives/colors.d.ts +12 -22
  68. package/dist/theme/recipes/menu.d.ts +1 -0
  69. package/{storybook-static → dist}/theme/tokens/borders.d.ts +6 -6
  70. package/{storybook-static → dist}/theme/tokens/colors.d.ts +180 -0
  71. package/dist/theme-C7CIuIPZ.js +2067 -0
  72. package/dist/theme-C7CIuIPZ.js.map +1 -0
  73. package/{src/theme/index.ts → dist/theme.js} +5 -2
  74. package/dist/theme.js.map +1 -0
  75. package/dist/tooltip-Gm7PLwZG.js +51 -0
  76. package/dist/tooltip-Gm7PLwZG.js.map +1 -0
  77. package/{storybook-static/theme/applyThemePreference.d.ts → dist/utils/apply-theme-preference.d.ts} +1 -1
  78. package/{storybook-static/theme → dist/utils}/theme-preference.d.ts +3 -3
  79. package/package.json +9 -8
  80. package/.storybook/main.ts +0 -28
  81. package/.storybook/preview.tsx +0 -28
  82. package/.storybook/vitest.setup.ts +0 -6
  83. package/src/components/alert.tsx +0 -27
  84. package/src/components/breadcrumb.stories.tsx +0 -40
  85. package/src/components/breadcrumb.tsx +0 -67
  86. package/src/components/button.stories.tsx +0 -151
  87. package/src/components/chat-ui/agent-types.ts +0 -231
  88. package/src/components/chat-ui/components/ai-conversation.stories.tsx +0 -49
  89. package/src/components/chat-ui/components/ai-conversation.tsx +0 -68
  90. package/src/components/chat-ui/components/ai-message.stories.tsx +0 -60
  91. package/src/components/chat-ui/components/ai-message.tsx +0 -103
  92. package/src/components/chat-ui/components/ai-response.stories.tsx +0 -48
  93. package/src/components/chat-ui/components/ai-response.tsx +0 -19
  94. package/src/components/chat-ui/components/approval-prompt.tsx +0 -51
  95. package/src/components/chat-ui/components/attachment-list.stories.tsx +0 -24
  96. package/src/components/chat-ui/components/attachment-list.tsx +0 -76
  97. package/src/components/chat-ui/components/auto-scroll.tsx +0 -42
  98. package/src/components/chat-ui/components/chat-input.stories.tsx +0 -114
  99. package/src/components/chat-ui/components/chat-input.tsx +0 -142
  100. package/src/components/chat-ui/components/chat-panel.stories.tsx +0 -396
  101. package/src/components/chat-ui/components/chat-panel.tsx +0 -97
  102. package/src/components/chat-ui/components/message-parts-renderer.stories.tsx +0 -59
  103. package/src/components/chat-ui/components/message-parts-renderer.tsx +0 -133
  104. package/src/components/chat-ui/components/message-types.ts +0 -40
  105. package/src/components/chat-ui/components/model-swap-separator.stories.tsx +0 -27
  106. package/src/components/chat-ui/components/model-swap-separator.tsx +0 -20
  107. package/src/components/chat-ui/components/send-button.tsx +0 -56
  108. package/src/components/chat-ui/components/timeline.tsx +0 -414
  109. package/src/components/chat-ui/components/tool-invocation-timeline.stories.tsx +0 -32
  110. package/src/components/chat-ui/components/tool-invocation-timeline.tsx +0 -16
  111. package/src/components/chat-ui/index.ts +0 -15
  112. package/src/components/chat-ui/mocks/full-conversation-normalized.json +0 -3557
  113. package/src/components/chat-ui/tool-rendering/build-timeline.ts +0 -127
  114. package/src/components/chat-ui/tool-rendering/default-renderers.ts +0 -420
  115. package/src/components/chat-ui/tool-rendering/index.ts +0 -3
  116. package/src/components/chat-ui/tool-rendering/types.ts +0 -19
  117. package/src/components/chat-ui/utils/diff.ts +0 -228
  118. package/src/components/chat-ui/utils/editor-state.ts +0 -5
  119. package/src/components/chat-ui/utils/get-icon.ts +0 -81
  120. package/src/components/code-editor.tsx +0 -147
  121. package/src/components/column-file-browser.stories.tsx +0 -217
  122. package/src/components/column-file-browser.tsx +0 -380
  123. package/src/components/content-placeholder.tsx +0 -21
  124. package/src/components/data-table/build-columns.tsx +0 -78
  125. package/src/components/data-table/data-table.css +0 -51
  126. package/src/components/data-table/data-table.stories.tsx +0 -209
  127. package/src/components/data-table/data-table.tsx +0 -232
  128. package/src/components/data-table/helpers.tsx +0 -69
  129. package/src/components/data-table/index.ts +0 -3
  130. package/src/components/data-table/pagination-footer.tsx +0 -58
  131. package/src/components/data-table/selection-toolbar.tsx +0 -26
  132. package/src/components/data-table/types.ts +0 -21
  133. package/src/components/delete-confirmation-modal.stories.tsx +0 -46
  134. package/src/components/delete-confirmation-modal.tsx +0 -56
  135. package/src/components/diff-bubble.stories.tsx +0 -70
  136. package/src/components/diff-bubble.tsx +0 -70
  137. package/src/components/diff-card.tsx +0 -139
  138. package/src/components/diff-drawer.stories.tsx +0 -106
  139. package/src/components/diff-drawer.tsx +0 -59
  140. package/src/components/diff-editor.tsx +0 -55
  141. package/src/components/drawer-inline.stories.tsx +0 -124
  142. package/src/components/drawer-inline.tsx +0 -90
  143. package/src/components/empty-state.stories.tsx +0 -65
  144. package/src/components/empty-state.tsx +0 -28
  145. package/src/components/error-boundary.tsx +0 -80
  146. package/src/components/file-selector.stories.tsx +0 -166
  147. package/src/components/file-selector.tsx +0 -192
  148. package/src/components/file-tree-helpers.ts +0 -28
  149. package/src/components/horizontal-menu-stack.tsx +0 -15
  150. package/src/components/info-card.stories.tsx +0 -120
  151. package/src/components/info-card.tsx +0 -60
  152. package/src/components/item-section.stories.tsx +0 -57
  153. package/src/components/item-section.tsx +0 -57
  154. package/src/components/layout.stories.tsx +0 -341
  155. package/src/components/layout.tsx +0 -67
  156. package/src/components/menu-item.stories.tsx +0 -162
  157. package/src/components/menu-item.tsx +0 -207
  158. package/src/components/number-input.tsx +0 -21
  159. package/src/components/open-source-notices-screen.stories.tsx +0 -69
  160. package/src/components/open-source-notices-screen.tsx +0 -154
  161. package/src/components/panel-menu.stories.tsx +0 -44
  162. package/src/components/panel-menu.tsx +0 -27
  163. package/src/components/param-editor-color-input.tsx +0 -98
  164. package/src/components/param-editor-date-input.tsx +0 -106
  165. package/src/components/param-editor-horizontal-text-input.tsx +0 -130
  166. package/src/components/param-editor-horizontal.stories.tsx +0 -545
  167. package/src/components/param-editor-horizontal.tsx +0 -137
  168. package/src/components/param-editor-input-group.tsx +0 -145
  169. package/src/components/param-editor-number-input.tsx +0 -145
  170. package/src/components/param-editor-selection-input.tsx +0 -181
  171. package/src/components/param-editor-text-input.tsx +0 -113
  172. package/src/components/param-editor.stories.tsx +0 -986
  173. package/src/components/param-editor.tsx +0 -142
  174. package/src/components/param-editor.types.ts +0 -95
  175. package/src/components/properties.stories.tsx +0 -108
  176. package/src/components/properties.tsx +0 -73
  177. package/src/components/pstdio-logo.tsx +0 -26
  178. package/src/components/resource-badge.stories.tsx +0 -26
  179. package/src/components/resource-badge.tsx +0 -173
  180. package/src/components/rich-text/collaborative-markdown-editor/awareness-cursors.tsx +0 -45
  181. package/src/components/rich-text/collaborative-markdown-editor/collaborative-markdown-editor.stories.tsx +0 -230
  182. package/src/components/rich-text/collaborative-markdown-editor/collaborative-markdown-editor.tsx +0 -131
  183. package/src/components/rich-text/index.ts +0 -14
  184. package/src/components/rich-text/markdown-editor/markdown-editor.stories.tsx +0 -147
  185. package/src/components/rich-text/markdown-editor/markdown-editor.tsx +0 -112
  186. package/src/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkNode.tsx +0 -100
  187. package/src/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.ts +0 -32
  188. package/src/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/index.ts +0 -2
  189. package/src/components/rich-text/prompt-input/commands.ts +0 -44
  190. package/src/components/rich-text/prompt-input/events.ts +0 -21
  191. package/src/components/rich-text/prompt-input/plugins/CommentPlugin/CommentPlugin.tsx +0 -8
  192. package/src/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentCommands.ts +0 -49
  193. package/src/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentSchema.ts +0 -30
  194. package/src/components/rich-text/prompt-input/plugins/CommentPlugin/nodes/CommentNode/CommentNode.tsx +0 -127
  195. package/src/components/rich-text/prompt-input/plugins/ImperativeAPIPlugin.tsx +0 -32
  196. package/src/components/rich-text/prompt-input/plugins/KeyboardShortcutPlugin.tsx +0 -30
  197. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuOption.ts +0 -15
  198. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuPlugin.tsx +0 -88
  199. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenu.tsx +0 -90
  200. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenuItem.tsx +0 -50
  201. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/constants.ts +0 -3
  202. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/hooks/useContextLookup.tsx +0 -50
  203. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/checkForTriggers.ts +0 -45
  204. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/getSortedMenuOptions.ts +0 -20
  205. package/src/components/rich-text/prompt-input/plugins/ReferencePlugin/ReferencePlugin.tsx +0 -50
  206. package/src/components/rich-text/prompt-input/plugins/ReferencePlugin/nodes/ReferenceNode/ReferenceNode.tsx +0 -107
  207. package/src/components/rich-text/prompt-input/plugins/keyboard-shortcuts.ts +0 -13
  208. package/src/components/rich-text/prompt-input/prompt-input.stories.tsx +0 -87
  209. package/src/components/rich-text/prompt-input/prompt-input.tsx +0 -106
  210. package/src/components/rich-text/prompt-input/theme/prompt-input-theme.css +0 -3
  211. package/src/components/rich-text/prompt-input/theme/prompt-input-theme.ts +0 -11
  212. package/src/components/rich-text/prompt-input/utils.ts +0 -158
  213. package/src/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkNode.tsx +0 -100
  214. package/src/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.ts +0 -32
  215. package/src/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/index.ts +0 -2
  216. package/src/components/rich-text/rich-message/rich-message.stories.tsx +0 -146
  217. package/src/components/rich-text/rich-message/rich-message.tsx +0 -118
  218. package/src/components/rich-text/shared/components/content-editable.tsx +0 -28
  219. package/src/components/rich-text/shared/components/default-rich-text-components.tsx +0 -99
  220. package/src/components/rich-text/shared/editor-config.ts +0 -38
  221. package/src/components/rich-text/shared/nodes/DataTableNode.stories.tsx +0 -52
  222. package/src/components/rich-text/shared/nodes/DataTableNode.tsx +0 -73
  223. package/src/components/rich-text/shared/plugins/CodePlugin/CodeBlockPlugin.tsx +0 -22
  224. package/src/components/rich-text/shared/plugins/CodePlugin/CodeNode.tsx +0 -57
  225. package/src/components/rich-text/shared/plugins/EquationPlugin/EquationComponent.tsx +0 -46
  226. package/src/components/rich-text/shared/plugins/EquationPlugin/EquationNode.tsx +0 -161
  227. package/src/components/rich-text/shared/plugins/EquationPlugin/EquationPlugin.css +0 -16
  228. package/src/components/rich-text/shared/plugins/EquationPlugin/EquationPlugin.tsx +0 -45
  229. package/src/components/rich-text/shared/plugins/EquationPlugin/KatexRenderer.tsx +0 -40
  230. package/src/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/FloatingTextFormatToolbarPlugin.css +0 -26
  231. package/src/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/FloatingTextFormatToolbarPlugin.tsx +0 -414
  232. package/src/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/index.ts +0 -1
  233. package/src/components/rich-text/shared/plugins/HorizontalRulePlugin/HorizontalRuleNode.ts +0 -52
  234. package/src/components/rich-text/shared/plugins/HorizontalRulePlugin/horizontalRule.ts +0 -16
  235. package/src/components/rich-text/shared/plugins/LinkEditorPlugin/LinkEditorPlugin.css +0 -163
  236. package/src/components/rich-text/shared/plugins/LinkEditorPlugin/LinkEditorPlugin.tsx +0 -355
  237. package/src/components/rich-text/shared/plugins/LinkEditorPlugin/LinkPlugin.tsx +0 -6
  238. package/src/components/rich-text/shared/plugins/LinkEditorPlugin/utils/getSelectedNode.ts +0 -17
  239. package/src/components/rich-text/shared/plugins/LinkEditorPlugin/utils/setFloatingElemPos.ts +0 -39
  240. package/src/components/rich-text/shared/plugins/LinkEditorPlugin/utils/url.ts +0 -23
  241. package/src/components/rich-text/shared/plugins/StateUpdatePlugin.tsx +0 -21
  242. package/src/components/rich-text/shared/plugins/TableActionMenuPlugin/TableActionMenuPlugin.tsx +0 -224
  243. package/src/components/rich-text/shared/plugins/TableCellResizerPlugin/TableCellResizerPlugin.css +0 -3
  244. package/src/components/rich-text/shared/plugins/TableCellResizerPlugin/TableCellResizerPlugin.tsx +0 -315
  245. package/src/components/rich-text/shared/plugins/ToggleEditablePlugin.tsx +0 -12
  246. package/src/components/rich-text/shared/plugins/TreeViewPlugin/TreeViewPlugin.tsx +0 -20
  247. package/src/components/rich-text/shared/transformers/markdown-transformers.ts +0 -123
  248. package/src/components/rich-text/shared/types/rich-text-components.ts +0 -17
  249. package/src/components/rich-text/theme/report-theme.tsx +0 -81
  250. package/src/components/rich-text/theme/rich-text-theme.css +0 -773
  251. package/src/components/rich-text/theme/rich-text-theme.tsx +0 -81
  252. package/src/components/rich-text/types.ts +0 -9
  253. package/src/components/rich-text/utils/inferResourceType.ts +0 -17
  254. package/src/components/rich-text/utils/markdown.ts +0 -12
  255. package/src/components/rich-text/utils/mediaType.ts +0 -31
  256. package/src/components/session-indicator.stories.tsx +0 -46
  257. package/src/components/session-indicator.tsx +0 -40
  258. package/src/components/slider.stories.tsx +0 -38
  259. package/src/components/slider.tsx +0 -20
  260. package/src/components/style-guide-data.ts +0 -374
  261. package/src/components/style-guide.stories.tsx +0 -212
  262. package/src/components/style-guide.tsx +0 -305
  263. package/src/components/ticket-board.stories.tsx +0 -109
  264. package/src/components/ticket-board.tsx +0 -167
  265. package/src/components/ticket-card.stories.tsx +0 -133
  266. package/src/components/ticket-card.tsx +0 -126
  267. package/src/components/toaster.stories.tsx +0 -79
  268. package/src/components/toaster.tsx +0 -26
  269. package/src/components/tooltip.tsx +0 -43
  270. package/src/index.ts +0 -16
  271. package/src/theme/global.ts +0 -49
  272. package/src/theme/primitives/colors.ts +0 -209
  273. package/src/theme/primitives/fonts.ts +0 -33
  274. package/src/theme/primitives/sizes.ts +0 -49
  275. package/src/theme/recipes/alert.ts +0 -12
  276. package/src/theme/recipes/button.ts +0 -124
  277. package/src/theme/recipes/dialog.ts +0 -11
  278. package/src/theme/recipes/divider.ts +0 -7
  279. package/src/theme/recipes/drawer.ts +0 -16
  280. package/src/theme/recipes/editable.ts +0 -42
  281. package/src/theme/recipes/form.ts +0 -11
  282. package/src/theme/recipes/input.ts +0 -25
  283. package/src/theme/recipes/menu.ts +0 -40
  284. package/src/theme/recipes/popover.ts +0 -46
  285. package/src/theme/recipes/progress-circle.ts +0 -22
  286. package/src/theme/recipes/skeleton.ts +0 -8
  287. package/src/theme/recipes/textarea.ts +0 -29
  288. package/src/theme/recipes/tooltip.ts +0 -15
  289. package/src/theme/theme.ts +0 -70
  290. package/src/theme/tokens/borders.ts +0 -38
  291. package/src/theme/tokens/colors.ts +0 -488
  292. package/src/theme/tokens/layer-styles.ts +0 -15
  293. package/src/theme/tokens/shadows.ts +0 -47
  294. package/src/theme/tokens/text.ts +0 -236
  295. package/src/utils/apply-theme-preference.ts +0 -17
  296. package/src/utils/formats.ts +0 -27
  297. package/src/utils/get-file-type-icon.ts +0 -52
  298. package/src/utils/theme-preference.tsx +0 -60
  299. package/src/vite-env.d.ts +0 -6
  300. package/storybook-static/assets/CodeBlockPlugin-C3OWpvP8.js +0 -281
  301. package/storybook-static/assets/CodeBlockPlugin-e2vWgtYm.css +0 -1
  302. package/storybook-static/assets/DataTableNode.stories-DLgTftOI.js +0 -33
  303. package/storybook-static/assets/EquationComponent-CUFxwyNf.js +0 -1
  304. package/storybook-static/assets/EquationComponent-DWZwfaVI.css +0 -1
  305. package/storybook-static/assets/FloatingTextFormatToolbarPlugin-B6jc8xvg.js +0 -1
  306. package/storybook-static/assets/FloatingTextFormatToolbarPlugin-D2l3--Te.css +0 -1
  307. package/storybook-static/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
  308. package/storybook-static/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
  309. package/storybook-static/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
  310. package/storybook-static/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
  311. package/storybook-static/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
  312. package/storybook-static/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
  313. package/storybook-static/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
  314. package/storybook-static/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
  315. package/storybook-static/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
  316. package/storybook-static/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
  317. package/storybook-static/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
  318. package/storybook-static/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
  319. package/storybook-static/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
  320. package/storybook-static/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
  321. package/storybook-static/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
  322. package/storybook-static/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
  323. package/storybook-static/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
  324. package/storybook-static/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
  325. package/storybook-static/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
  326. package/storybook-static/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
  327. package/storybook-static/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
  328. package/storybook-static/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
  329. package/storybook-static/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
  330. package/storybook-static/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
  331. package/storybook-static/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
  332. package/storybook-static/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
  333. package/storybook-static/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
  334. package/storybook-static/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
  335. package/storybook-static/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
  336. package/storybook-static/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
  337. package/storybook-static/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
  338. package/storybook-static/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
  339. package/storybook-static/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
  340. package/storybook-static/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
  341. package/storybook-static/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
  342. package/storybook-static/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
  343. package/storybook-static/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
  344. package/storybook-static/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
  345. package/storybook-static/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
  346. package/storybook-static/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
  347. package/storybook-static/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
  348. package/storybook-static/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
  349. package/storybook-static/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
  350. package/storybook-static/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
  351. package/storybook-static/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
  352. package/storybook-static/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
  353. package/storybook-static/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
  354. package/storybook-static/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
  355. package/storybook-static/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
  356. package/storybook-static/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
  357. package/storybook-static/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
  358. package/storybook-static/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
  359. package/storybook-static/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
  360. package/storybook-static/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
  361. package/storybook-static/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
  362. package/storybook-static/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
  363. package/storybook-static/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
  364. package/storybook-static/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
  365. package/storybook-static/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
  366. package/storybook-static/assets/LexicalHistoryPlugin.prod-BQAibkDj.js +0 -1
  367. package/storybook-static/assets/TreeViewPlugin-CyVKCrKJ.js +0 -24
  368. package/storybook-static/assets/ai-conversation-DcjS--ee.js +0 -1
  369. package/storybook-static/assets/ai-conversation.stories-COjWuS8V.js +0 -3
  370. package/storybook-static/assets/ai-message-DLdAGhWH.js +0 -1
  371. package/storybook-static/assets/ai-message.stories-CRTyreKL.js +0 -3
  372. package/storybook-static/assets/ai-response-ySM6s0iN.js +0 -1
  373. package/storybook-static/assets/ai-response.stories-DVBYlrGf.js +0 -11
  374. package/storybook-static/assets/attachment-list-1p1601I5.js +0 -1
  375. package/storybook-static/assets/attachment-list.stories-Cydlsnio.js +0 -7
  376. package/storybook-static/assets/badge-CtgJasjB.js +0 -1
  377. package/storybook-static/assets/breadcrumb.stories-SAjB-iqH.js +0 -5
  378. package/storybook-static/assets/button-C7it2n8t.js +0 -1
  379. package/storybook-static/assets/button.stories-BMVbbb4y.js +0 -72
  380. package/storybook-static/assets/chat-input-B-915nCM.js +0 -1
  381. package/storybook-static/assets/chat-input.stories-DrxvpT9p.js +0 -32
  382. package/storybook-static/assets/chat-panel.stories-D0L6eIte.js +0 -96
  383. package/storybook-static/assets/chevron-down-BYCAGyCV.js +0 -1
  384. package/storybook-static/assets/chevron-right-owK1wZnx.js +0 -1
  385. package/storybook-static/assets/collaborative-markdown-editor-Bj0GvTvv.js +0 -41
  386. package/storybook-static/assets/collaborative-markdown-editor.stories-B_MUIC5s.js +0 -11
  387. package/storybook-static/assets/collapsible-DBDG7h1r.js +0 -1
  388. package/storybook-static/assets/collapsible-content-B1Uq3jUM.js +0 -1
  389. package/storybook-static/assets/column-file-browser.stories-DPMQnHCw.js +0 -54
  390. package/storybook-static/assets/compiler-runtime-BXE7OOXE.js +0 -1
  391. package/storybook-static/assets/computed-style-C0hzrq9-.js +0 -1
  392. package/storybook-static/assets/create-recipe-context-BU56IzEo.js +0 -1
  393. package/storybook-static/assets/create-slot-recipe-context-DAhDE6G_.js +0 -1
  394. package/storybook-static/assets/create-split-props-u5h9OPvL.js +0 -1
  395. package/storybook-static/assets/createLucideIcon-CcBBUKX8.js +0 -1
  396. package/storybook-static/assets/data-table-vuIeWXui.css +0 -1
  397. package/storybook-static/assets/data-table.stories-Cs-q7dpj.js +0 -19
  398. package/storybook-static/assets/delete-confirmation-modal.stories-C8vDKFRD.js +0 -14
  399. package/storybook-static/assets/diff-bubble-_zZypMRt.js +0 -1
  400. package/storybook-static/assets/diff-bubble.stories-DfonanIk.js +0 -39
  401. package/storybook-static/assets/diff-drawer.stories-CGDWiKD8.js +0 -38
  402. package/storybook-static/assets/diff-editor-DV9BXqbn.js +0 -11
  403. package/storybook-static/assets/dismissable-layer-Cc5dFRd8.js +0 -1
  404. package/storybook-static/assets/drawer-inline.stories-B3Tp7vjL.js +0 -88
  405. package/storybook-static/assets/empty-state-BXkyq69k.js +0 -1
  406. package/storybook-static/assets/empty-state.stories-6eYYBOWR.js +0 -29
  407. package/storybook-static/assets/factory-BR3bc_RM.js +0 -1
  408. package/storybook-static/assets/factory-DAJZwK4o.js +0 -1
  409. package/storybook-static/assets/file-selector.stories-PKIGBUd5.js +0 -31
  410. package/storybook-static/assets/file-text-D5m8MJlG.js +0 -1
  411. package/storybook-static/assets/flex-DAJL4AFZ.js +0 -1
  412. package/storybook-static/assets/folder-C5dba_Co.js +0 -1
  413. package/storybook-static/assets/form-D_Xln9tK.js +0 -1
  414. package/storybook-static/assets/full-conversation-normalized-LUbl1coD.js +0 -1
  415. package/storybook-static/assets/grid-7OIKBlfh.js +0 -1
  416. package/storybook-static/assets/h-stack-DWHd8f97.js +0 -1
  417. package/storybook-static/assets/horizontal-menu-stack-Cph6x7ui.js +0 -1
  418. package/storybook-static/assets/icon-C8FN9JqD.js +0 -1
  419. package/storybook-static/assets/icon-button-DHiUe7rR.js +0 -1
  420. package/storybook-static/assets/icons-WRA1cA-W.js +0 -1
  421. package/storybook-static/assets/iframe-2XPD_vrQ.css +0 -1
  422. package/storybook-static/assets/iframe-B8FSoBNY.js +0 -1075
  423. package/storybook-static/assets/index-B0y2_lLF.js +0 -1
  424. package/storybook-static/assets/index-CXwl6T4k.js +0 -1
  425. package/storybook-static/assets/index-DaXC_qY_.js +0 -1
  426. package/storybook-static/assets/index-DpB4ozcR.js +0 -1
  427. package/storybook-static/assets/index-cFwdnc0b.js +0 -1
  428. package/storybook-static/assets/info-DlgY5-DW.js +0 -1
  429. package/storybook-static/assets/info-card.stories-Cry0Qfrn.js +0 -55
  430. package/storybook-static/assets/input-ZSs5cSFQ.js +0 -1
  431. package/storybook-static/assets/inter-cyrillic-400-normal-HOLc17fK.woff +0 -0
  432. package/storybook-static/assets/inter-cyrillic-400-normal-obahsSVq.woff2 +0 -0
  433. package/storybook-static/assets/inter-cyrillic-500-normal-BasfLYem.woff2 +0 -0
  434. package/storybook-static/assets/inter-cyrillic-500-normal-CxZf_p3X.woff +0 -0
  435. package/storybook-static/assets/inter-cyrillic-ext-400-normal-BQZuk6qB.woff2 +0 -0
  436. package/storybook-static/assets/inter-cyrillic-ext-400-normal-DQukG94-.woff +0 -0
  437. package/storybook-static/assets/inter-cyrillic-ext-500-normal-B0yAr1jD.woff2 +0 -0
  438. package/storybook-static/assets/inter-cyrillic-ext-500-normal-BmqWE9Dz.woff +0 -0
  439. package/storybook-static/assets/inter-greek-400-normal-B4URO6DV.woff2 +0 -0
  440. package/storybook-static/assets/inter-greek-400-normal-q2sYcFCs.woff +0 -0
  441. package/storybook-static/assets/inter-greek-500-normal-BIZE56-Y.woff2 +0 -0
  442. package/storybook-static/assets/inter-greek-500-normal-Xzm54t5V.woff +0 -0
  443. package/storybook-static/assets/inter-greek-ext-400-normal-DGGRlc-M.woff2 +0 -0
  444. package/storybook-static/assets/inter-greek-ext-400-normal-KugGGMne.woff +0 -0
  445. package/storybook-static/assets/inter-greek-ext-500-normal-2j5mBUwD.woff +0 -0
  446. package/storybook-static/assets/inter-greek-ext-500-normal-C4iEst2y.woff2 +0 -0
  447. package/storybook-static/assets/inter-latin-400-normal-C38fXH4l.woff2 +0 -0
  448. package/storybook-static/assets/inter-latin-400-normal-CyCys3Eg.woff +0 -0
  449. package/storybook-static/assets/inter-latin-500-normal-BL9OpVg8.woff +0 -0
  450. package/storybook-static/assets/inter-latin-500-normal-Cerq10X2.woff2 +0 -0
  451. package/storybook-static/assets/inter-latin-ext-400-normal-77YHD8bZ.woff +0 -0
  452. package/storybook-static/assets/inter-latin-ext-400-normal-C1nco2VV.woff2 +0 -0
  453. package/storybook-static/assets/inter-latin-ext-500-normal-BxGbmqWO.woff +0 -0
  454. package/storybook-static/assets/inter-latin-ext-500-normal-CV4jyFjo.woff2 +0 -0
  455. package/storybook-static/assets/inter-vietnamese-400-normal-Bbgyi5SW.woff +0 -0
  456. package/storybook-static/assets/inter-vietnamese-400-normal-DMkecbls.woff2 +0 -0
  457. package/storybook-static/assets/inter-vietnamese-500-normal-DOriooB6.woff2 +0 -0
  458. package/storybook-static/assets/inter-vietnamese-500-normal-mJboJaSs.woff +0 -0
  459. package/storybook-static/assets/item-section-AoQrVPNJ.js +0 -1
  460. package/storybook-static/assets/item-section.stories-kYTPHRsx.js +0 -24
  461. package/storybook-static/assets/layout.stories-DhSjwzU1.js +0 -3
  462. package/storybook-static/assets/link-DE5grRtm.js +0 -1
  463. package/storybook-static/assets/markdown-BLUemkxK.js +0 -1
  464. package/storybook-static/assets/markdown-editor-Y4eMsgVb.js +0 -1
  465. package/storybook-static/assets/markdown-editor.stories-DIWw-hRP.js +0 -115
  466. package/storybook-static/assets/menu-item-CrqDaj9K.js +0 -1
  467. package/storybook-static/assets/menu-item.stories-D9Isjjrf.js +0 -68
  468. package/storybook-static/assets/message-parts-renderer.stories-CewRvbm7.js +0 -5
  469. package/storybook-static/assets/message-types-CEyA7Qm7.js +0 -60
  470. package/storybook-static/assets/model-swap-separator.stories-DrQW2NWQ.js +0 -9
  471. package/storybook-static/assets/mutation-observer-CAfGweIM.js +0 -1
  472. package/storybook-static/assets/normalize-props-D7NI5JRu.js +0 -1
  473. package/storybook-static/assets/number-C92MPsRM.js +0 -1
  474. package/storybook-static/assets/number-input-D1aC-9ls.js +0 -7
  475. package/storybook-static/assets/onest-cyrillic-400-normal-BxvCLB5P.woff +0 -0
  476. package/storybook-static/assets/onest-cyrillic-400-normal-DH8vlB-A.woff2 +0 -0
  477. package/storybook-static/assets/onest-cyrillic-500-normal-CyY1vN0Q.woff +0 -0
  478. package/storybook-static/assets/onest-cyrillic-500-normal-DHyr8B2c.woff2 +0 -0
  479. package/storybook-static/assets/onest-cyrillic-700-normal-CwpXuTGk.woff2 +0 -0
  480. package/storybook-static/assets/onest-cyrillic-700-normal-DOtXtm0s.woff +0 -0
  481. package/storybook-static/assets/onest-latin-400-normal-BAzPRZHg.woff +0 -0
  482. package/storybook-static/assets/onest-latin-400-normal-bladozIj.woff2 +0 -0
  483. package/storybook-static/assets/onest-latin-500-normal-oFTiz6Nq.woff +0 -0
  484. package/storybook-static/assets/onest-latin-500-normal-qHiQtL66.woff2 +0 -0
  485. package/storybook-static/assets/onest-latin-700-normal-Bd6qVL4Q.woff2 +0 -0
  486. package/storybook-static/assets/onest-latin-700-normal-XTvQgpoh.woff +0 -0
  487. package/storybook-static/assets/onest-latin-ext-400-normal--mQR5RlC.woff2 +0 -0
  488. package/storybook-static/assets/onest-latin-ext-400-normal-BbXTNVXw.woff +0 -0
  489. package/storybook-static/assets/onest-latin-ext-500-normal-BlXa29q8.woff2 +0 -0
  490. package/storybook-static/assets/onest-latin-ext-500-normal-CoujUMv_.woff +0 -0
  491. package/storybook-static/assets/onest-latin-ext-700-normal-C-Tcltod.woff2 +0 -0
  492. package/storybook-static/assets/onest-latin-ext-700-normal-CSGWRWNE.woff +0 -0
  493. package/storybook-static/assets/open-source-notices-screen.stories-BpdJxDZC.js +0 -21
  494. package/storybook-static/assets/overflow-CkG1DOya.js +0 -1
  495. package/storybook-static/assets/panel-menu-CqLSrdTB.js +0 -1
  496. package/storybook-static/assets/panel-menu.stories-CxdWaWjq.js +0 -14
  497. package/storybook-static/assets/param-editor-horizontal.stories-C1o-VOjG.js +0 -561
  498. package/storybook-static/assets/param-editor-selection-input-2pJE1_W1.js +0 -1
  499. package/storybook-static/assets/param-editor.stories-0ae3y4Vu.js +0 -921
  500. package/storybook-static/assets/playfair-display-cyrillic-400-normal-CjW2EstV.woff2 +0 -0
  501. package/storybook-static/assets/playfair-display-cyrillic-400-normal-ZiRag6zj.woff +0 -0
  502. package/storybook-static/assets/playfair-display-cyrillic-600-normal-DbWAkkgN.woff +0 -0
  503. package/storybook-static/assets/playfair-display-cyrillic-600-normal-oLY6jnZ7.woff2 +0 -0
  504. package/storybook-static/assets/playfair-display-cyrillic-700-normal-Dk1mTcxf.woff +0 -0
  505. package/storybook-static/assets/playfair-display-cyrillic-700-normal-Dw3uKy19.woff2 +0 -0
  506. package/storybook-static/assets/playfair-display-latin-400-normal-CFtfchNt.woff2 +0 -0
  507. package/storybook-static/assets/playfair-display-latin-400-normal-DHYHbkg3.woff +0 -0
  508. package/storybook-static/assets/playfair-display-latin-600-normal-CZLGqjJe.woff2 +0 -0
  509. package/storybook-static/assets/playfair-display-latin-600-normal-CxxueQ0Z.woff +0 -0
  510. package/storybook-static/assets/playfair-display-latin-700-normal-Bc_1Q1cG.woff +0 -0
  511. package/storybook-static/assets/playfair-display-latin-700-normal-CuDiGg7c.woff2 +0 -0
  512. package/storybook-static/assets/playfair-display-latin-ext-400-normal-BxlSGspa.woff2 +0 -0
  513. package/storybook-static/assets/playfair-display-latin-ext-400-normal-qdZwdvNS.woff +0 -0
  514. package/storybook-static/assets/playfair-display-latin-ext-600-normal-BumBfC1v.woff +0 -0
  515. package/storybook-static/assets/playfair-display-latin-ext-600-normal-CEjQclLc.woff2 +0 -0
  516. package/storybook-static/assets/playfair-display-latin-ext-700-normal-C58ejOkc.woff2 +0 -0
  517. package/storybook-static/assets/playfair-display-latin-ext-700-normal-D5HUU8GT.woff +0 -0
  518. package/storybook-static/assets/playfair-display-vietnamese-400-normal-BV2APVTb.woff2 +0 -0
  519. package/storybook-static/assets/playfair-display-vietnamese-400-normal-BbvUAu4N.woff +0 -0
  520. package/storybook-static/assets/playfair-display-vietnamese-600-normal-BPJkAZPN.woff +0 -0
  521. package/storybook-static/assets/playfair-display-vietnamese-600-normal-ICsRR-qJ.woff2 +0 -0
  522. package/storybook-static/assets/playfair-display-vietnamese-700-normal-CaKJSIny.woff2 +0 -0
  523. package/storybook-static/assets/playfair-display-vietnamese-700-normal-Cr1rw0mr.woff +0 -0
  524. package/storybook-static/assets/portal-CZHfPTRw.js +0 -1
  525. package/storybook-static/assets/preload-helper-PPVm8Dsz.js +0 -1
  526. package/storybook-static/assets/prompt-input-BLCttowi.js +0 -14
  527. package/storybook-static/assets/prompt-input-BVbz9joI.css +0 -1
  528. package/storybook-static/assets/prompt-input.stories-J8-AMVXy.js +0 -9
  529. package/storybook-static/assets/properties.stories-Bs7ivKgb.js +0 -59
  530. package/storybook-static/assets/react-18-KY0R7ltw.js +0 -9
  531. package/storybook-static/assets/render-strategy-BebqUNCa.js +0 -1
  532. package/storybook-static/assets/resource-badge-Bw5UoU4J.js +0 -1
  533. package/storybook-static/assets/resource-badge.stories-DtSh-RX9.js +0 -9
  534. package/storybook-static/assets/rich-message-BIkzo1SM.js +0 -1
  535. package/storybook-static/assets/rich-message.stories-C9Wc4d3O.js +0 -115
  536. package/storybook-static/assets/rich-text-theme-Bkhh9rAZ.js +0 -14
  537. package/storybook-static/assets/rich-text-theme-K2MBoCbx.css +0 -1
  538. package/storybook-static/assets/separator-CQkMOHNm.js +0 -1
  539. package/storybook-static/assets/settings-DUgg22A7.js +0 -1
  540. package/storybook-static/assets/simple-grid-DIKjhnVI.js +0 -1
  541. package/storybook-static/assets/spinner-ZYH_gvW-.js +0 -1
  542. package/storybook-static/assets/stack-CN4X31TA.js +0 -1
  543. package/storybook-static/assets/star-CvcHIXRa.js +0 -1
  544. package/storybook-static/assets/style-guide.stories-BUvEhZov.js +0 -6
  545. package/storybook-static/assets/tabbable-DHAf8oAu.js +0 -1
  546. package/storybook-static/assets/table-BKNSzs2r.js +0 -1
  547. package/storybook-static/assets/textarea-rqmaWSc5.js +0 -1
  548. package/storybook-static/assets/toaster-d9nN0H7K.js +0 -1
  549. package/storybook-static/assets/toaster.stories-BRVCYyaM.js +0 -52
  550. package/storybook-static/assets/tool-invocation-timeline-B-cS0W6M.js +0 -59
  551. package/storybook-static/assets/tool-invocation-timeline.stories-DXO59O73.js +0 -5
  552. package/storybook-static/assets/tooltip-C_a-XGZ8.js +0 -1
  553. package/storybook-static/assets/tooltip-DZxUoouw.js +0 -1
  554. package/storybook-static/assets/trash-2-BO05slEk.js +0 -1
  555. package/storybook-static/assets/typeahead-CuY9WxfQ.js +0 -1
  556. package/storybook-static/assets/use-field-context-DoxKQlMm.js +0 -1
  557. package/storybook-static/assets/use-presence-context-DK2PGZth.js +0 -1
  558. package/storybook-static/assets/v-stack-Btoq6OB_.js +0 -1
  559. package/storybook-static/assets/x-D42ziktz.js +0 -1
  560. package/storybook-static/components/chat-ui/mocks/full-conversation-normalized.json.d.ts +0 -3560
  561. package/storybook-static/components/rich-text/utils/inferResourceType.d.ts +0 -1
  562. package/storybook-static/favicon-wrapper.svg +0 -46
  563. package/storybook-static/favicon.svg +0 -1
  564. package/storybook-static/iframe.html +0 -705
  565. package/storybook-static/index.d.ts +0 -14
  566. package/storybook-static/index.html +0 -150
  567. package/storybook-static/index.json +0 -1
  568. package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  569. package/storybook-static/nunito-sans-bold.woff2 +0 -0
  570. package/storybook-static/nunito-sans-italic.woff2 +0 -0
  571. package/storybook-static/nunito-sans-regular.woff2 +0 -0
  572. package/storybook-static/project.json +0 -1
  573. package/storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +0 -628
  574. package/storybook-static/sb-addons/themes-1/manager-bundle.js +0 -3
  575. package/storybook-static/sb-addons/vitest-2/manager-bundle.js +0 -3
  576. package/storybook-static/sb-common-assets/favicon-wrapper.svg +0 -46
  577. package/storybook-static/sb-common-assets/favicon.svg +0 -1
  578. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  579. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  580. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  581. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  582. package/storybook-static/sb-manager/globals-runtime.js +0 -77956
  583. package/storybook-static/sb-manager/globals.js +0 -24
  584. package/storybook-static/sb-manager/manager-stores.js +0 -23
  585. package/storybook-static/sb-manager/runtime.js +0 -20422
  586. package/storybook-static/theme/recipes/menu.d.ts +0 -1
  587. package/storybook-static/theme/types.d.ts +0 -1
  588. package/storybook-static/vite-inject-mocker-entry.js +0 -2
  589. package/tsconfig.json +0 -29
  590. package/vite.config.ts +0 -85
  591. package/vitest.shims.d.ts +0 -1
  592. /package/{storybook-static → dist}/components/alert.d.ts +0 -0
  593. /package/{storybook-static → dist}/components/breadcrumb.d.ts +0 -0
  594. /package/{storybook-static → dist}/components/breadcrumb.stories.d.ts +0 -0
  595. /package/{storybook-static → dist}/components/chat-ui/agent-types.d.ts +0 -0
  596. /package/{storybook-static → dist}/components/chat-ui/components/ai-conversation.stories.d.ts +0 -0
  597. /package/{storybook-static → dist}/components/chat-ui/components/ai-message.d.ts +0 -0
  598. /package/{storybook-static → dist}/components/chat-ui/components/ai-message.stories.d.ts +0 -0
  599. /package/{storybook-static → dist}/components/chat-ui/components/ai-response.d.ts +0 -0
  600. /package/{storybook-static → dist}/components/chat-ui/components/ai-response.stories.d.ts +0 -0
  601. /package/{storybook-static → dist}/components/chat-ui/components/approval-prompt.d.ts +0 -0
  602. /package/{storybook-static → dist}/components/chat-ui/components/attachment-list.d.ts +0 -0
  603. /package/{storybook-static → dist}/components/chat-ui/components/attachment-list.stories.d.ts +0 -0
  604. /package/{storybook-static → dist}/components/chat-ui/components/auto-scroll.d.ts +0 -0
  605. /package/{storybook-static → dist}/components/chat-ui/components/chat-input.d.ts +0 -0
  606. /package/{storybook-static → dist}/components/chat-ui/components/chat-input.stories.d.ts +0 -0
  607. /package/{storybook-static → dist}/components/chat-ui/components/chat-panel.d.ts +0 -0
  608. /package/{storybook-static → dist}/components/chat-ui/components/chat-panel.stories.d.ts +0 -0
  609. /package/{storybook-static → dist}/components/chat-ui/components/message-parts-renderer.d.ts +0 -0
  610. /package/{storybook-static → dist}/components/chat-ui/components/message-parts-renderer.stories.d.ts +0 -0
  611. /package/{storybook-static → dist}/components/chat-ui/components/message-types.d.ts +0 -0
  612. /package/{storybook-static → dist}/components/chat-ui/components/model-swap-separator.d.ts +0 -0
  613. /package/{storybook-static → dist}/components/chat-ui/components/model-swap-separator.stories.d.ts +0 -0
  614. /package/{storybook-static → dist}/components/chat-ui/components/send-button.d.ts +0 -0
  615. /package/{storybook-static → dist}/components/chat-ui/components/timeline.d.ts +0 -0
  616. /package/{storybook-static → dist}/components/chat-ui/components/tool-invocation-timeline.d.ts +0 -0
  617. /package/{storybook-static → dist}/components/chat-ui/components/tool-invocation-timeline.stories.d.ts +0 -0
  618. /package/{storybook-static → dist}/components/chat-ui/tool-rendering/default-renderers.d.ts +0 -0
  619. /package/{storybook-static → dist}/components/chat-ui/tool-rendering/index.d.ts +0 -0
  620. /package/{storybook-static → dist}/components/chat-ui/tool-rendering/types.d.ts +0 -0
  621. /package/{storybook-static → dist}/components/chat-ui/utils/diff.d.ts +0 -0
  622. /package/{storybook-static → dist}/components/chat-ui/utils/editor-state.d.ts +0 -0
  623. /package/{storybook-static → dist}/components/code-editor.d.ts +0 -0
  624. /package/{storybook-static → dist}/components/content-placeholder.d.ts +0 -0
  625. /package/{storybook-static → dist}/components/delete-confirmation-modal.d.ts +0 -0
  626. /package/{storybook-static → dist}/components/delete-confirmation-modal.stories.d.ts +0 -0
  627. /package/{storybook-static → dist}/components/diff-bubble.d.ts +0 -0
  628. /package/{storybook-static → dist}/components/diff-bubble.stories.d.ts +0 -0
  629. /package/{storybook-static → dist}/components/diff-card.d.ts +0 -0
  630. /package/{storybook-static → dist}/components/diff-drawer.d.ts +0 -0
  631. /package/{storybook-static → dist}/components/diff-drawer.stories.d.ts +0 -0
  632. /package/{storybook-static → dist}/components/diff-editor.d.ts +0 -0
  633. /package/{storybook-static → dist}/components/drawer-inline.d.ts +0 -0
  634. /package/{storybook-static → dist}/components/drawer-inline.stories.d.ts +0 -0
  635. /package/{storybook-static → dist}/components/empty-state.d.ts +0 -0
  636. /package/{storybook-static → dist}/components/empty-state.stories.d.ts +0 -0
  637. /package/{storybook-static → dist}/components/error-boundary.d.ts +0 -0
  638. /package/{storybook-static → dist}/components/file-tree-helpers.d.ts +0 -0
  639. /package/{storybook-static → dist}/components/horizontal-menu-stack.d.ts +0 -0
  640. /package/{storybook-static → dist}/components/item-section.d.ts +0 -0
  641. /package/{storybook-static → dist}/components/item-section.stories.d.ts +0 -0
  642. /package/{storybook-static → dist}/components/layout.d.ts +0 -0
  643. /package/{storybook-static → dist}/components/layout.stories.d.ts +0 -0
  644. /package/{storybook-static → dist}/components/open-source-notices-screen.d.ts +0 -0
  645. /package/{storybook-static → dist}/components/open-source-notices-screen.stories.d.ts +0 -0
  646. /package/{storybook-static → dist}/components/param-editor-color-input.d.ts +0 -0
  647. /package/{storybook-static → dist}/components/param-editor-date-input.d.ts +0 -0
  648. /package/{storybook-static → dist}/components/param-editor-horizontal-text-input.d.ts +0 -0
  649. /package/{storybook-static → dist}/components/param-editor-horizontal.d.ts +0 -0
  650. /package/{storybook-static → dist}/components/param-editor-horizontal.stories.d.ts +0 -0
  651. /package/{storybook-static → dist}/components/param-editor-input-group.d.ts +0 -0
  652. /package/{storybook-static → dist}/components/param-editor-number-input.d.ts +0 -0
  653. /package/{storybook-static → dist}/components/param-editor-selection-input.d.ts +0 -0
  654. /package/{storybook-static → dist}/components/param-editor-text-input.d.ts +0 -0
  655. /package/{storybook-static → dist}/components/param-editor.d.ts +0 -0
  656. /package/{storybook-static → dist}/components/param-editor.types.d.ts +0 -0
  657. /package/{storybook-static → dist}/components/properties.d.ts +0 -0
  658. /package/{storybook-static → dist}/components/properties.stories.d.ts +0 -0
  659. /package/{storybook-static/components/schub-logo.d.ts → dist/components/pstdio-logo.d.ts} +0 -0
  660. /package/{storybook-static → dist}/components/resource-badge.d.ts +0 -0
  661. /package/{storybook-static → dist}/components/resource-badge.stories.d.ts +0 -0
  662. /package/{storybook-static → dist}/components/rich-text/collaborative-markdown-editor/awareness-cursors.d.ts +0 -0
  663. /package/{storybook-static → dist}/components/rich-text/collaborative-markdown-editor/collaborative-markdown-editor.stories.d.ts +0 -0
  664. /package/{storybook-static → dist}/components/rich-text/index.d.ts +0 -0
  665. /package/{storybook-static → dist}/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkNode.d.ts +0 -0
  666. /package/{storybook-static → dist}/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.d.ts +0 -0
  667. /package/{storybook-static → dist}/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/index.d.ts +0 -0
  668. /package/{storybook-static → dist}/components/rich-text/prompt-input/commands.d.ts +0 -0
  669. /package/{storybook-static → dist}/components/rich-text/prompt-input/events.d.ts +0 -0
  670. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/CommentPlugin/CommentPlugin.d.ts +0 -0
  671. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentCommands.d.ts +0 -0
  672. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentSchema.d.ts +0 -0
  673. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/CommentPlugin/nodes/CommentNode/CommentNode.d.ts +0 -0
  674. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ImperativeAPIPlugin.d.ts +0 -0
  675. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/KeyboardShortcutPlugin.d.ts +0 -0
  676. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuOption.d.ts +0 -0
  677. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuPlugin.d.ts +0 -0
  678. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenu.d.ts +0 -0
  679. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenuItem.d.ts +0 -0
  680. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/constants.d.ts +0 -0
  681. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/hooks/useContextLookup.d.ts +0 -0
  682. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/checkForTriggers.d.ts +0 -0
  683. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/getSortedMenuOptions.d.ts +0 -0
  684. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferencePlugin/ReferencePlugin.d.ts +0 -0
  685. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferencePlugin/nodes/ReferenceNode/ReferenceNode.d.ts +0 -0
  686. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/keyboard-shortcuts.d.ts +0 -0
  687. /package/{storybook-static → dist}/components/rich-text/prompt-input/prompt-input.d.ts +0 -0
  688. /package/{storybook-static → dist}/components/rich-text/prompt-input/prompt-input.stories.d.ts +0 -0
  689. /package/{storybook-static → dist}/components/rich-text/prompt-input/theme/prompt-input-theme.d.ts +0 -0
  690. /package/{storybook-static → dist}/components/rich-text/prompt-input/utils.d.ts +0 -0
  691. /package/{storybook-static → dist}/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkNode.d.ts +0 -0
  692. /package/{storybook-static → dist}/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.d.ts +0 -0
  693. /package/{storybook-static → dist}/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/index.d.ts +0 -0
  694. /package/{storybook-static → dist}/components/rich-text/rich-message/rich-message.d.ts +0 -0
  695. /package/{storybook-static → dist}/components/rich-text/rich-message/rich-message.stories.d.ts +0 -0
  696. /package/{storybook-static → dist}/components/rich-text/shared/components/content-editable.d.ts +0 -0
  697. /package/{storybook-static → dist}/components/rich-text/shared/components/default-rich-text-components.d.ts +0 -0
  698. /package/{storybook-static → dist}/components/rich-text/shared/editor-config.d.ts +0 -0
  699. /package/{storybook-static → dist}/components/rich-text/shared/nodes/DataTableNode.d.ts +0 -0
  700. /package/{storybook-static → dist}/components/rich-text/shared/nodes/DataTableNode.stories.d.ts +0 -0
  701. /package/{storybook-static → dist}/components/rich-text/shared/plugins/CodePlugin/CodeBlockPlugin.d.ts +0 -0
  702. /package/{storybook-static → dist}/components/rich-text/shared/plugins/CodePlugin/CodeNode.d.ts +0 -0
  703. /package/{storybook-static → dist}/components/rich-text/shared/plugins/EquationPlugin/EquationComponent.d.ts +0 -0
  704. /package/{storybook-static → dist}/components/rich-text/shared/plugins/EquationPlugin/EquationNode.d.ts +0 -0
  705. /package/{storybook-static → dist}/components/rich-text/shared/plugins/EquationPlugin/EquationPlugin.d.ts +0 -0
  706. /package/{storybook-static → dist}/components/rich-text/shared/plugins/EquationPlugin/KatexRenderer.d.ts +0 -0
  707. /package/{storybook-static → dist}/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/FloatingTextFormatToolbarPlugin.d.ts +0 -0
  708. /package/{storybook-static → dist}/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/index.d.ts +0 -0
  709. /package/{storybook-static → dist}/components/rich-text/shared/plugins/HorizontalRulePlugin/HorizontalRuleNode.d.ts +0 -0
  710. /package/{storybook-static → dist}/components/rich-text/shared/plugins/HorizontalRulePlugin/horizontalRule.d.ts +0 -0
  711. /package/{storybook-static → dist}/components/rich-text/shared/plugins/LinkEditorPlugin/LinkEditorPlugin.d.ts +0 -0
  712. /package/{storybook-static → dist}/components/rich-text/shared/plugins/LinkEditorPlugin/LinkPlugin.d.ts +0 -0
  713. /package/{storybook-static → dist}/components/rich-text/shared/plugins/LinkEditorPlugin/utils/getSelectedNode.d.ts +0 -0
  714. /package/{storybook-static → dist}/components/rich-text/shared/plugins/LinkEditorPlugin/utils/setFloatingElemPos.d.ts +0 -0
  715. /package/{storybook-static → dist}/components/rich-text/shared/plugins/LinkEditorPlugin/utils/url.d.ts +0 -0
  716. /package/{storybook-static → dist}/components/rich-text/shared/plugins/StateUpdatePlugin.d.ts +0 -0
  717. /package/{storybook-static → dist}/components/rich-text/shared/plugins/TableActionMenuPlugin/TableActionMenuPlugin.d.ts +0 -0
  718. /package/{storybook-static → dist}/components/rich-text/shared/plugins/TableCellResizerPlugin/TableCellResizerPlugin.d.ts +0 -0
  719. /package/{storybook-static → dist}/components/rich-text/shared/plugins/ToggleEditablePlugin.d.ts +0 -0
  720. /package/{storybook-static → dist}/components/rich-text/shared/plugins/TreeViewPlugin/TreeViewPlugin.d.ts +0 -0
  721. /package/{storybook-static → dist}/components/rich-text/shared/transformers/markdown-transformers.d.ts +0 -0
  722. /package/{storybook-static → dist}/components/rich-text/shared/types/rich-text-components.d.ts +0 -0
  723. /package/{storybook-static → dist}/components/rich-text/theme/report-theme.d.ts +0 -0
  724. /package/{storybook-static → dist}/components/rich-text/theme/rich-text-theme.d.ts +0 -0
  725. /package/{storybook-static → dist}/components/rich-text/types.d.ts +0 -0
  726. /package/{storybook-static → dist}/components/rich-text/utils/markdown.d.ts +0 -0
  727. /package/{storybook-static → dist}/components/rich-text/utils/mediaType.d.ts +0 -0
  728. /package/{storybook-static → dist}/components/slider.d.ts +0 -0
  729. /package/{storybook-static → dist}/components/style-guide-data.d.ts +0 -0
  730. /package/{storybook-static → dist}/components/style-guide.d.ts +0 -0
  731. /package/{storybook-static → dist}/components/toaster.stories.d.ts +0 -0
  732. /package/{storybook-static → dist}/components/tooltip.d.ts +0 -0
  733. /package/{storybook-static → dist}/theme/global.d.ts +0 -0
  734. /package/{storybook-static → dist}/theme/index.d.ts +0 -0
  735. /package/{storybook-static → dist}/theme/primitives/fonts.d.ts +0 -0
  736. /package/{storybook-static → dist}/theme/primitives/sizes.d.ts +0 -0
  737. /package/{storybook-static → dist}/theme/recipes/alert.d.ts +0 -0
  738. /package/{storybook-static → dist}/theme/recipes/button.d.ts +0 -0
  739. /package/{storybook-static → dist}/theme/recipes/dialog.d.ts +0 -0
  740. /package/{storybook-static → dist}/theme/recipes/divider.d.ts +0 -0
  741. /package/{storybook-static → dist}/theme/recipes/drawer.d.ts +0 -0
  742. /package/{storybook-static → dist}/theme/recipes/editable.d.ts +0 -0
  743. /package/{storybook-static → dist}/theme/recipes/form.d.ts +0 -0
  744. /package/{storybook-static → dist}/theme/recipes/input.d.ts +0 -0
  745. /package/{storybook-static → dist}/theme/recipes/popover.d.ts +0 -0
  746. /package/{storybook-static → dist}/theme/recipes/progress-circle.d.ts +0 -0
  747. /package/{storybook-static → dist}/theme/recipes/skeleton.d.ts +0 -0
  748. /package/{storybook-static → dist}/theme/recipes/textarea.d.ts +0 -0
  749. /package/{storybook-static → dist}/theme/recipes/tooltip.d.ts +0 -0
  750. /package/{storybook-static → dist}/theme/theme.d.ts +0 -0
  751. /package/{storybook-static → dist}/theme/tokens/layer-styles.d.ts +0 -0
  752. /package/{storybook-static → dist}/theme/tokens/shadows.d.ts +0 -0
  753. /package/{storybook-static → dist}/theme/tokens/text.d.ts +0 -0
  754. /package/{storybook-static → dist}/utils/formats.d.ts +0 -0
  755. /package/{storybook-static → dist}/utils/get-file-type-icon.d.ts +0 -0
package/dist/index.js ADDED
@@ -0,0 +1,1278 @@
1
+ import { Alert as Ce, Breadcrumb as fe, Box as B, Text as S, Dialog as Q, CloseButton as Ne, Stack as C, Button as me, Timeline as ae, HStack as te, Image as Ve, List as Ge, Flex as xe, Badge as De, Link as Ee, Heading as Ue, useEnvironmentContext as Ke, Icon as ne, Collapsible as oe, Menu as ue, MenuItem as qe, AbsoluteCenter as Je, Separator as Qe, Switch as pe, Wrap as Xe, IconButton as We, Spacer as Ze, createToaster as et, Portal as tt, Toaster as lt, Toast as we, Spinner as nt } from "@chakra-ui/react";
2
+ import { ChakraProvider as ql } from "@chakra-ui/react";
3
+ import { jsx as l, jsxs as u, Fragment as it } from "react/jsx-runtime";
4
+ import { c as D } from "react/compiler-runtime";
5
+ import * as Me from "react";
6
+ import { useState as Te, useRef as rt, useEffect as ze, Component as ot, createContext as st, useContext as at } from "react";
7
+ import { D as ct } from "./empty-state-Bu1ocnPz.js";
8
+ import { E as Ql } from "./empty-state-Bu1ocnPz.js";
9
+ import { ChevronRight as Pe, FileText as He, ChevronDown as dt, ChevronLeft as ht, FolderOpen as ft, Folder as gt, Home as mt, ChevronUp as ut, Info as pt, CircleCheck as xt, CircleAlert as bt, CircleDashed as St, GitBranchIcon as yt, Plus as vt, MoreHorizontal as Ct } from "lucide-react";
10
+ import { T as _e } from "./tooltip-Gm7PLwZG.js";
11
+ import { useReactTable as wt, getExpandedRowModel as kt, getCoreRowModel as It, flexRender as Tt } from "@tanstack/react-table";
12
+ import "@fontsource/inter/400.css";
13
+ import "@fontsource/inter/500.css";
14
+ import "@fontsource/playfair-display/400.css";
15
+ import "@fontsource/playfair-display/600.css";
16
+ import "@fontsource/playfair-display/700.css";
17
+ import "@fontsource/onest/400.css";
18
+ import "@fontsource/onest/500.css";
19
+ import "@fontsource/onest/700.css";
20
+ import { t as en } from "./theme-C7CIuIPZ.js";
21
+ const _t = Me.forwardRef(function(e, n) {
22
+ const t = D(19);
23
+ let o, s, r, a, c, d;
24
+ t[0] !== e ? ({
25
+ title: d,
26
+ children: o,
27
+ icon: r,
28
+ startElement: c,
29
+ endElement: s,
30
+ ...a
31
+ } = e, t[0] = e, t[1] = o, t[2] = s, t[3] = r, t[4] = a, t[5] = c, t[6] = d) : (o = t[1], s = t[2], r = t[3], a = t[4], c = t[5], d = t[6]);
32
+ let h;
33
+ t[7] !== r || t[8] !== c ? (h = c || /* @__PURE__ */ l(Ce.Indicator, { children: r }), t[7] = r, t[8] = c, t[9] = h) : h = t[9];
34
+ let f;
35
+ t[10] !== o || t[11] !== d ? (f = o ? /* @__PURE__ */ u(Ce.Content, { children: [
36
+ /* @__PURE__ */ l(Ce.Title, { children: d }),
37
+ /* @__PURE__ */ l(Ce.Description, { children: o })
38
+ ] }) : /* @__PURE__ */ l(Ce.Title, { flex: "1", children: d }), t[10] = o, t[11] = d, t[12] = f) : f = t[12];
39
+ let g;
40
+ return t[13] !== s || t[14] !== n || t[15] !== a || t[16] !== h || t[17] !== f ? (g = /* @__PURE__ */ u(Ce.Root, { ref: n, ...a, children: [
41
+ h,
42
+ f,
43
+ s
44
+ ] }), t[13] = s, t[14] = n, t[15] = a, t[16] = h, t[17] = f, t[18] = g) : g = t[18], g;
45
+ }), $l = Me.forwardRef(function(e, n) {
46
+ const t = D(21);
47
+ let o, s, r, a, c;
48
+ t[0] !== e ? ({
49
+ separator: a,
50
+ separatorGap: c,
51
+ items: s,
52
+ linkComponent: o,
53
+ ...r
54
+ } = e, t[0] = e, t[1] = o, t[2] = s, t[3] = r, t[4] = a, t[5] = c) : (o = t[1], s = t[2], r = t[3], a = t[4], c = t[5]);
55
+ let d;
56
+ if (t[6] !== o || t[7] !== s || t[8] !== a) {
57
+ let g;
58
+ t[10] !== o || t[11] !== s.length || t[12] !== a ? (g = (m, p) => {
59
+ const x = p === s.length - 1, b = !!(m.url || m.onClick);
60
+ let y;
61
+ return x && !b ? y = /* @__PURE__ */ l(fe.CurrentLink, { children: m.title }) : m.url ? y = o ? /* @__PURE__ */ l(fe.Link, { asChild: !0, children: /* @__PURE__ */ l(o, { to: m.url, children: m.title }) }) : /* @__PURE__ */ l(fe.Link, { href: m.url, children: m.title }) : m.onClick ? y = /* @__PURE__ */ l(fe.Link, { as: "button", type: "button", onClick: m.onClick, children: m.title }) : y = /* @__PURE__ */ l(fe.Link, { children: m.title }), /* @__PURE__ */ u(fe.Item, { children: [
62
+ y,
63
+ x ? null : /* @__PURE__ */ l(fe.Separator, { as: "span", "aria-hidden": !0, ml: "xs", children: a })
64
+ ] }, p);
65
+ }, t[10] = o, t[11] = s.length, t[12] = a, t[13] = g) : g = t[13], d = s.map(g), t[6] = o, t[7] = s, t[8] = a, t[9] = d;
66
+ } else
67
+ d = t[9];
68
+ let h;
69
+ t[14] !== c || t[15] !== d ? (h = /* @__PURE__ */ l(fe.List, { gap: c, children: d }), t[14] = c, t[15] = d, t[16] = h) : h = t[16];
70
+ let f;
71
+ return t[17] !== n || t[18] !== r || t[19] !== h ? (f = /* @__PURE__ */ l(fe.Root, { ref: n, ...r, children: h }), t[17] = n, t[18] = r, t[19] = h, t[20] = f) : f = t[20], f;
72
+ }), Dt = (i) => {
73
+ const e = D(3);
74
+ let n;
75
+ e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (n = {
76
+ backgroundClip: "padding-box",
77
+ backgroundImage: `url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239C92AC' fill-opacity='0.2' fillRule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E")`,
78
+ display: "flex",
79
+ width: "100%"
80
+ }, e[0] = n) : n = e[0];
81
+ let t;
82
+ return e[1] !== i ? (t = /* @__PURE__ */ l(B, { ...i, css: n }), e[1] = i, e[2] = t) : t = e[2], t;
83
+ }, Ll = (i) => {
84
+ const e = D(2);
85
+ let n;
86
+ return e[0] !== i ? (n = /* @__PURE__ */ l(B, { p: "2", children: /* @__PURE__ */ l(S, { color: "fg.muted", fontWeight: "medium", textStyle: "sm", whiteSpace: "nowrap", ...i }) }), e[0] = i, e[1] = n) : n = e[1], n;
87
+ }, Rl = (i) => {
88
+ const [e, n] = Te(!1), {
89
+ headline: t,
90
+ buttonText: o,
91
+ notificationText: s,
92
+ onDelete: r,
93
+ open: a,
94
+ onClose: c
95
+ } = i, d = async () => {
96
+ n(!0);
97
+ try {
98
+ await r(), c();
99
+ } catch {
100
+ } finally {
101
+ n(!1);
102
+ }
103
+ };
104
+ return /* @__PURE__ */ u(Q.Root, { open: a, onOpenChange: c, children: [
105
+ /* @__PURE__ */ l(Q.Backdrop, {}),
106
+ /* @__PURE__ */ l(Q.Positioner, { children: /* @__PURE__ */ u(Q.Content, { children: [
107
+ /* @__PURE__ */ u(Q.Header, { children: [
108
+ /* @__PURE__ */ l(S, { textStyle: "heading/M", children: t }),
109
+ /* @__PURE__ */ l(Q.CloseTrigger, { asChild: !0, children: /* @__PURE__ */ l(Ne, { size: "sm" }) })
110
+ ] }),
111
+ /* @__PURE__ */ l(Q.Body, { children: s }),
112
+ /* @__PURE__ */ l(Q.Footer, { children: /* @__PURE__ */ u(C, { direction: "row", gap: "1", children: [
113
+ /* @__PURE__ */ l(me, { onClick: c, children: "Close" }),
114
+ /* @__PURE__ */ l(me, { loading: e, variant: "solid", colorPalette: "red", onClick: d, children: o })
115
+ ] }) })
116
+ ] }) })
117
+ ] });
118
+ }, Pt = (i, e) => `${i.version}-${i.date}-${e}`, $t = (i, e) => `${i.title}-${e}`, Be = (i) => {
119
+ const e = D(12);
120
+ let n, t, o;
121
+ e[0] !== i ? ({
122
+ date: n,
123
+ version: o,
124
+ ...t
125
+ } = i, e[0] = i, e[1] = n, e[2] = t, e[3] = o) : (n = e[1], t = e[2], o = e[3]);
126
+ let s;
127
+ e[4] !== n ? (s = /* @__PURE__ */ l(ae.Title, { textStyle: "sm", color: "fg.muted", children: n }), e[4] = n, e[5] = s) : s = e[5];
128
+ let r;
129
+ e[6] !== o ? (r = /* @__PURE__ */ l(xe, { px: "3", py: "2", rounded: "l3", align: "center", justify: "center", borderWidth: "1px", textAlign: "center", alignSelf: "flex-start", children: /* @__PURE__ */ l(ae.Title, { textStyle: "md", fontWeight: "semibold", children: o }) }), e[6] = o, e[7] = r) : r = e[7];
130
+ let a;
131
+ return e[8] !== t || e[9] !== s || e[10] !== r ? (a = /* @__PURE__ */ u(C, { ...t, children: [
132
+ s,
133
+ r
134
+ ] }), e[8] = t, e[9] = s, e[10] = r, e[11] = a) : a = e[11], a;
135
+ }, El = (i) => {
136
+ const e = D(14), {
137
+ entries: n,
138
+ title: t,
139
+ description: o
140
+ } = i;
141
+ let s;
142
+ e[0] !== t ? (s = /* @__PURE__ */ l(Ue, { size: "4xl", children: t }), e[0] = t, e[1] = s) : s = e[1];
143
+ let r;
144
+ e[2] !== o ? (r = o ? /* @__PURE__ */ l(S, { color: "fg.muted", textStyle: "lg", children: o }) : null, e[2] = o, e[3] = r) : r = e[3];
145
+ let a;
146
+ e[4] !== s || e[5] !== r ? (a = /* @__PURE__ */ u(C, { textAlign: "center", children: [
147
+ s,
148
+ r
149
+ ] }), e[4] = s, e[5] = r, e[6] = a) : a = e[6];
150
+ let c;
151
+ e[7] !== n ? (c = n.map(Et), e[7] = n, e[8] = c) : c = e[8];
152
+ let d;
153
+ e[9] !== c ? (d = /* @__PURE__ */ l(B, { position: "relative", children: /* @__PURE__ */ l(ae.Root, { size: "sm", variant: "solid", children: c }) }), e[9] = c, e[10] = d) : d = e[10];
154
+ let h;
155
+ return e[11] !== a || e[12] !== d ? (h = /* @__PURE__ */ u(C, { gap: "20", children: [
156
+ a,
157
+ d
158
+ ] }), e[11] = a, e[12] = d, e[13] = h) : h = e[13], h;
159
+ };
160
+ function Lt(i) {
161
+ return /* @__PURE__ */ l(De, { size: "md", rounded: "l2", variant: "subtle", colorPalette: "gray", textTransform: "capitalize", children: i }, i);
162
+ }
163
+ function Rt(i, e) {
164
+ return /* @__PURE__ */ l(Ge.Item, { children: /* @__PURE__ */ u(C, { gap: "1", children: [
165
+ /* @__PURE__ */ l(S, { color: "fg.muted", fontWeight: "normal", textStyle: "sm", children: i.title }),
166
+ i.description ? /* @__PURE__ */ l(S, { color: "fg.subtle", textStyle: "xs", children: i.description }) : null,
167
+ i.link ? /* @__PURE__ */ l(Ee, { href: i.link, textStyle: "xs", width: "fit-content", children: "Learn more" }) : null
168
+ ] }) }, $t(i, e));
169
+ }
170
+ function Et(i, e) {
171
+ return /* @__PURE__ */ u(ae.Item, { children: [
172
+ /* @__PURE__ */ l(ae.Content, { top: "6", width: "48", flexShrink: "0", hideBelow: "md", position: {
173
+ base: "static",
174
+ md: "sticky"
175
+ }, children: /* @__PURE__ */ l(Be, { hideBelow: "md", date: i.date, version: i.version }) }),
176
+ /* @__PURE__ */ u(ae.Connector, { children: [
177
+ /* @__PURE__ */ l(ae.Separator, {}),
178
+ /* @__PURE__ */ l(ae.Indicator, {})
179
+ ] }),
180
+ /* @__PURE__ */ l(ae.Content, { children: /* @__PURE__ */ u(C, { gap: "4", children: [
181
+ /* @__PURE__ */ l(Be, { hideFrom: "md", date: i.date, version: i.version }),
182
+ /* @__PURE__ */ u(C, { gap: "2", children: [
183
+ /* @__PURE__ */ l(ae.Title, { fontSize: "lg", fontWeight: "medium", children: i.title }),
184
+ i.description ? /* @__PURE__ */ l(S, { color: "fg.muted", textStyle: "sm", children: i.description }) : null
185
+ ] }),
186
+ i.tags && i.tags.length > 0 ? /* @__PURE__ */ l(te, { children: i.tags.map(Lt) }) : null,
187
+ i.image ? /* @__PURE__ */ l(Ve, { rounded: "l2", src: i.image, alt: i.title }) : null,
188
+ i.changes && i.changes.length > 0 ? /* @__PURE__ */ l(Ge.Root, { pl: "4", gap: "4", children: i.changes.map(Rt) }) : null
189
+ ] }) })
190
+ ] }, Pt(i, e));
191
+ }
192
+ const zt = /^(#{1,3})\s+(.+)$/gm, Ht = ".rich-text__h1, .rich-text__h2, .rich-text__h3", Mt = (i, e) => i.classList.contains(`rich-text__h${e}`), Wt = (i) => i.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, ""), Re = (i) => {
193
+ const e = [];
194
+ let n = 0;
195
+ for (const t of i.matchAll(zt)) {
196
+ const o = t[1].length, s = t[2].trim(), a = `${Wt(s) || "heading"}-${n}`;
197
+ e.push({
198
+ id: a,
199
+ level: o,
200
+ text: s
201
+ }), n += 1;
202
+ }
203
+ return e;
204
+ }, Bt = (i, e) => {
205
+ const n = Array.from(e.querySelectorAll(Ht)), t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
206
+ let s = 0;
207
+ for (const r of i)
208
+ for (let a = s; a < n.length; a += 1) {
209
+ const c = n[a], d = c.textContent?.trim();
210
+ if (!(!d || d !== r.text) && Mt(c, r.level)) {
211
+ t.set(r.id, c), o.set(c, r.id), s = a + 1;
212
+ break;
213
+ }
214
+ }
215
+ return {
216
+ elementsByHeadingId: t,
217
+ headingIdByElement: o
218
+ };
219
+ }, Ae = (i) => {
220
+ const e = D(14), {
221
+ heading: n,
222
+ isActive: t,
223
+ emphasized: o,
224
+ variant: s,
225
+ onSelect: r
226
+ } = i, a = s === "line", c = `calc(${n.level} * 0.75rem)`, d = t ? "fg" : "fg.muted", h = t || o ? "medium" : "normal", f = a ? "1px" : "0px", g = a ? t ? "fg" : "bg.muted" : "transparent";
227
+ let m;
228
+ e[0] !== a ? (m = a ? {
229
+ borderStartColor: "bg.emphasized"
230
+ } : {
231
+ color: "fg"
232
+ }, e[0] = a, e[1] = m) : m = e[1];
233
+ let p;
234
+ e[2] !== n.id || e[3] !== r ? (p = () => r(n.id), e[2] = n.id, e[3] = r, e[4] = p) : p = e[4];
235
+ let x;
236
+ return e[5] !== n.text || e[6] !== c || e[7] !== d || e[8] !== h || e[9] !== f || e[10] !== g || e[11] !== m || e[12] !== p ? (x = /* @__PURE__ */ l(B, { as: "button", py: "1.5", px: "0", width: "full", display: "flex", textAlign: "left", textStyle: "sm", cursor: "pointer", textDecoration: "none", transition: "all 0.15s ease", paddingInlineStart: c, color: d, fontWeight: h, borderStartWidth: f, borderStartColor: g, _hover: m, onClick: p, children: n.text }), e[5] = n.text, e[6] = c, e[7] = d, e[8] = h, e[9] = f, e[10] = g, e[11] = m, e[12] = p, e[13] = x) : x = e[13], x;
237
+ }, zl = (i) => {
238
+ const e = D(39), {
239
+ markdown: n,
240
+ title: t,
241
+ rootMargin: o
242
+ } = i, s = t === void 0 ? "On this page" : t, r = o === void 0 ? "-20% 0% -35% 0%" : o, a = Re(n), c = Ke(), [d, h] = Te(a[0]?.id ?? ""), [f, g] = Te(!1);
243
+ let m;
244
+ e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = {
245
+ elementsByHeadingId: /* @__PURE__ */ new Map(),
246
+ headingIdByElement: /* @__PURE__ */ new Map()
247
+ }, e[0] = m) : m = e[0];
248
+ const p = rt(m);
249
+ let x, b;
250
+ e[1] !== n ? (x = () => {
251
+ const $ = Re(n);
252
+ h($[0]?.id ?? "");
253
+ }, b = [n], e[1] = n, e[2] = x, e[3] = b) : (x = e[2], b = e[3]), ze(x, b);
254
+ let y, I;
255
+ if (e[4] !== c || e[5] !== n || e[6] !== r ? (y = () => {
256
+ const $ = Re(n), ie = c.getDocument(), ke = c.getWindow(), re = Bt($, ie);
257
+ if (p.current = re, re.headingIdByElement.size === 0)
258
+ return;
259
+ const ce = new ke.IntersectionObserver((se) => {
260
+ const de = se.filter(At).sort(Ot);
261
+ if (de.length === 0)
262
+ return;
263
+ const ge = de[0].target, he = re.headingIdByElement.get(ge);
264
+ he && h(he);
265
+ }, {
266
+ rootMargin: r
267
+ });
268
+ for (const se of re.headingIdByElement.keys())
269
+ ce.observe(se);
270
+ return () => {
271
+ ce.disconnect();
272
+ };
273
+ }, I = [c, n, r], e[4] = c, e[5] = n, e[6] = r, e[7] = y, e[8] = I) : (y = e[7], I = e[8]), ze(y, I), a.length === 0)
274
+ return null;
275
+ let T;
276
+ e[9] !== d ? (T = ($) => $.id === d, e[9] = d, e[10] = T) : T = e[10];
277
+ const P = a.find(T);
278
+ let k;
279
+ e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (k = ($) => {
280
+ const ie = p.current.elementsByHeadingId.get($);
281
+ h($), g(!1), ie?.scrollIntoView({
282
+ behavior: "smooth",
283
+ block: "start"
284
+ });
285
+ }, e[11] = k) : k = e[11];
286
+ const v = k;
287
+ let _;
288
+ e[12] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = ($) => g($.open), e[12] = _) : _ = e[12];
289
+ let z;
290
+ e[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (z = /* @__PURE__ */ l(ne, { as: He, color: "fg.subtle" }), e[13] = z) : z = e[13];
291
+ let L;
292
+ e[14] !== s ? (L = /* @__PURE__ */ l(S, { textStyle: "sm", fontWeight: "medium", color: "fg", children: s }), e[14] = s, e[15] = L) : L = e[15];
293
+ const Y = f ? null : /* @__PURE__ */ u(it, { children: [
294
+ /* @__PURE__ */ l(ne, { as: Pe, color: "fg.subtle" }),
295
+ /* @__PURE__ */ l(S, { textStyle: "sm", color: "fg.muted", children: P?.text })
296
+ ] });
297
+ let M;
298
+ e[16] !== L || e[17] !== Y ? (M = /* @__PURE__ */ u(te, { children: [
299
+ z,
300
+ L,
301
+ Y
302
+ ] }), e[16] = L, e[17] = Y, e[18] = M) : M = e[18];
303
+ const j = f ? "rotate(180deg)" : "rotate(0deg)";
304
+ let H;
305
+ e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (H = /* @__PURE__ */ l(ne, { as: dt, color: "fg.subtle" }), e[19] = H) : H = e[19];
306
+ let R;
307
+ e[20] !== j ? (R = /* @__PURE__ */ l(B, { transition: "transform 0.2s", transform: j, children: H }), e[20] = j, e[21] = R) : R = e[21];
308
+ let A;
309
+ e[22] !== M || e[23] !== R ? (A = /* @__PURE__ */ u(oe.Trigger, { width: "full", display: "flex", alignItems: "center", justifyContent: "space-between", children: [
310
+ M,
311
+ R
312
+ ] }), e[22] = M, e[23] = R, e[24] = A) : A = e[24];
313
+ let O;
314
+ e[25] !== d ? (O = ($) => /* @__PURE__ */ l(Ae, { heading: $, variant: "minimal", emphasized: !1, isActive: d === $.id, onSelect: v }, $.id), e[25] = d, e[26] = O) : O = e[26];
315
+ const W = B, N = "md", w = "6", G = "xs", Z = "auto", V = "sticky", X = "calc(100vh - 3rem)";
316
+ let U;
317
+ e[27] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (U = /* @__PURE__ */ l(ne, { as: He, color: "fg.subtle" }), e[27] = U) : U = e[27];
318
+ let F;
319
+ e[28] !== s ? (F = /* @__PURE__ */ u(te, { mb: "4", children: [
320
+ U,
321
+ /* @__PURE__ */ l(S, { fontWeight: "medium", textStyle: "sm", children: s })
322
+ ] }), e[28] = s, e[29] = F) : F = e[29];
323
+ const K = C, le = "0";
324
+ let q;
325
+ e[30] !== d ? (q = ($) => /* @__PURE__ */ l(Ae, { heading: $, variant: "line", emphasized: $.level === 1, isActive: d === $.id, onSelect: v }, $.id), e[30] = d, e[31] = q) : q = e[31];
326
+ const ee = a.map(q);
327
+ let J;
328
+ e[32] !== K || e[33] !== ee ? (J = /* @__PURE__ */ l(K, { gap: le, children: ee }), e[32] = K, e[33] = ee, e[34] = J) : J = e[34];
329
+ let E;
330
+ return e[35] !== W || e[36] !== F || e[37] !== J ? (E = /* @__PURE__ */ u(W, { hideBelow: N, top: w, width: G, overflowY: Z, position: V, maxH: X, children: [
331
+ F,
332
+ J
333
+ ] }), e[35] = W, e[36] = F, e[37] = J, e[38] = E) : E = e[38], /* @__PURE__ */ u(C, { gap: "0", width: "full", children: [
334
+ /* @__PURE__ */ l(B, { hideFrom: "md", px: "4", py: "2", w: "full", bg: "bg.subtle", borderWidth: "1px", children: /* @__PURE__ */ u(oe.Root, { open: f, onOpenChange: _, children: [
335
+ A,
336
+ /* @__PURE__ */ l(oe.Content, { children: /* @__PURE__ */ l(B, { mt: "3", maxH: "30vh", overflowY: "auto", children: /* @__PURE__ */ l(C, { gap: "0", children: a.map(O) }) }) })
337
+ ] }) }),
338
+ E
339
+ ] });
340
+ };
341
+ function At(i) {
342
+ return i.isIntersecting;
343
+ }
344
+ function Ot(i, e) {
345
+ return i.boundingClientRect.top - e.boundingClientRect.top;
346
+ }
347
+ const Oe = (i) => {
348
+ const e = D(24), {
349
+ item: n,
350
+ direction: t
351
+ } = i, o = t === "prev", s = o ? "Previous" : "Next", r = o ? "start" : "end", a = o ? "flex-start" : "flex-end";
352
+ let c;
353
+ e[0] !== o ? (c = o ? /* @__PURE__ */ l(ht, { size: 16 }) : null, e[0] = o, e[1] = c) : c = e[1];
354
+ const d = o ? "flex-start" : "flex-end";
355
+ let h;
356
+ e[2] !== s ? (h = /* @__PURE__ */ l(S, { textStyle: "sm", color: "fg.muted", fontWeight: "normal", children: s }), e[2] = s, e[3] = h) : h = e[3];
357
+ let f;
358
+ e[4] !== n.title ? (f = /* @__PURE__ */ l(S, { textStyle: "sm", fontWeight: "medium", children: n.title }), e[4] = n.title, e[5] = f) : f = e[5];
359
+ let g;
360
+ e[6] !== n.description ? (g = n.description ? /* @__PURE__ */ l(S, { textStyle: "xs", color: "fg.subtle", fontWeight: "normal", children: n.description }) : null, e[6] = n.description, e[7] = g) : g = e[7];
361
+ let m;
362
+ e[8] !== d || e[9] !== h || e[10] !== f || e[11] !== g ? (m = /* @__PURE__ */ u(C, { gap: "0", alignItems: d, children: [
363
+ h,
364
+ f,
365
+ g
366
+ ] }), e[8] = d, e[9] = h, e[10] = f, e[11] = g, e[12] = m) : m = e[12];
367
+ let p;
368
+ e[13] !== o ? (p = o ? null : /* @__PURE__ */ l(Pe, { size: 16 }), e[13] = o, e[14] = p) : p = e[14];
369
+ let x;
370
+ e[15] !== n.href || e[16] !== c || e[17] !== m || e[18] !== p ? (x = /* @__PURE__ */ u("a", { href: n.href, children: [
371
+ c,
372
+ m,
373
+ p
374
+ ] }), e[15] = n.href, e[16] = c, e[17] = m, e[18] = p, e[19] = x) : x = e[19];
375
+ let b;
376
+ return e[20] !== r || e[21] !== a || e[22] !== x ? (b = /* @__PURE__ */ l(me, { asChild: !0, variant: "ghost", colorPalette: "gray", gap: "3", size: "sm", h: "auto", py: "2", textAlign: r, justifyContent: a, flex: "1", children: x }), e[20] = r, e[21] = a, e[22] = x, e[23] = b) : b = e[23], b;
377
+ }, Hl = (i) => {
378
+ const e = D(11), {
379
+ previous: n,
380
+ next: t
381
+ } = i;
382
+ if (!n && !t)
383
+ return null;
384
+ let o;
385
+ e[0] !== n ? (o = n ? /* @__PURE__ */ l(Oe, { item: n, direction: "prev" }) : null, e[0] = n, e[1] = o) : o = e[1];
386
+ let s;
387
+ e[2] !== o ? (s = /* @__PURE__ */ l(B, { flex: "1", children: o }), e[2] = o, e[3] = s) : s = e[3];
388
+ let r;
389
+ e[4] !== t ? (r = t ? /* @__PURE__ */ l(Oe, { item: t, direction: "next" }) : null, e[4] = t, e[5] = r) : r = e[5];
390
+ let a;
391
+ e[6] !== r ? (a = /* @__PURE__ */ l(B, { flex: "1", children: r }), e[6] = r, e[7] = a) : a = e[7];
392
+ let c;
393
+ return e[8] !== s || e[9] !== a ? (c = /* @__PURE__ */ u(te, { justify: "space-between", gap: "4", children: [
394
+ s,
395
+ a
396
+ ] }), e[8] = s, e[9] = a, e[10] = c) : c = e[10], c;
397
+ }, Gt = (i) => {
398
+ const e = D(17), {
399
+ children: n,
400
+ title: t,
401
+ defaultOpen: o,
402
+ action: s
403
+ } = i, r = o === void 0 ? !0 : o;
404
+ let a;
405
+ e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = {
406
+ background: "bg.muted"
407
+ }, e[0] = a) : a = e[0];
408
+ let c;
409
+ e[1] !== t ? (c = t && /* @__PURE__ */ l(S, { fontWeight: "600", textStyle: "label/S/medium", children: t }), e[1] = t, e[2] = c) : c = e[2];
410
+ let d;
411
+ e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ l(oe.Indicator, { transition: "transform 0.2s", _open: {
412
+ transform: "rotate(90deg)"
413
+ }, children: /* @__PURE__ */ l(Pe, { size: 16 }) }), e[3] = d) : d = e[3];
414
+ let h;
415
+ e[4] !== c ? (h = /* @__PURE__ */ u(oe.Trigger, { _hover: a, borderRadius: "xs", padding: "sm", height: "2rem", display: "flex", width: "full", gap: "2", alignItems: "center", cursor: "pointer", justifyContent: "space-between", children: [
416
+ c,
417
+ d
418
+ ] }), e[4] = c, e[5] = h) : h = e[5];
419
+ let f;
420
+ e[6] !== s ? (f = s && /* @__PURE__ */ l(B, { marginLeft: "auto", onClick: Xt, children: s }), e[6] = s, e[7] = f) : f = e[7];
421
+ let g;
422
+ e[8] !== h || e[9] !== f ? (g = /* @__PURE__ */ u(xe, { children: [
423
+ h,
424
+ f
425
+ ] }), e[8] = h, e[9] = f, e[10] = g) : g = e[10];
426
+ let m;
427
+ e[11] !== n ? (m = /* @__PURE__ */ l(oe.Content, { children: /* @__PURE__ */ l(ue.Root, { children: /* @__PURE__ */ l(C, { gap: "0", paddingLeft: "xs", paddingY: "xs", children: n }) }) }), e[11] = n, e[12] = m) : m = e[12];
428
+ let p;
429
+ return e[13] !== r || e[14] !== g || e[15] !== m ? (p = /* @__PURE__ */ u(oe.Root, { defaultOpen: r, width: "full", children: [
430
+ g,
431
+ m
432
+ ] }), e[13] = r, e[14] = g, e[15] = m, e[16] = p) : p = e[16], p;
433
+ };
434
+ function Xt(i) {
435
+ return i.stopPropagation();
436
+ }
437
+ const Yt = {
438
+ default: {
439
+ paddingX: "sm",
440
+ paddingY: "xs",
441
+ minHeight: "2rem",
442
+ iconSize: "19px",
443
+ primaryTextStyle: "label/M/regular",
444
+ secondaryMarginLeft: "2px",
445
+ secondaryTextStyle: "label/XS/regular"
446
+ },
447
+ compact: {
448
+ paddingX: "xs",
449
+ paddingY: "2xs",
450
+ minHeight: "1.75rem",
451
+ iconSize: "16px",
452
+ primaryTextStyle: "label/S/regular",
453
+ secondaryMarginLeft: "0",
454
+ secondaryTextStyle: "label/XS/regular"
455
+ }
456
+ }, Le = (i) => {
457
+ const e = D(67), {
458
+ id: n,
459
+ primaryLabel: t,
460
+ tooltipLabel: o,
461
+ secondaryLabel: s,
462
+ leftIcon: r,
463
+ leftSlot: a,
464
+ rightIcon: c,
465
+ leftIconColor: d,
466
+ rightIconColor: h,
467
+ leftIconSize: f,
468
+ rightIconSize: g,
469
+ rightIconAriaLabel: m,
470
+ rightTooltipLabel: p,
471
+ onRightIconClick: x,
472
+ isDisabled: b,
473
+ isSelected: y,
474
+ tagLabel: I,
475
+ tagColorPalette: T,
476
+ tagVariant: P,
477
+ variant: k,
478
+ tabIndex: v,
479
+ width: _,
480
+ maxWidth: z,
481
+ setRefElement: L
482
+ } = i, Y = r === void 0 ? null : r, M = d === void 0 ? "fg.menu-item.default" : d, j = h === void 0 ? "fg.menu-item.default" : h, H = T === void 0 ? "yellow" : T, R = P === void 0 ? "subtle" : P, A = k === void 0 ? "default" : k, {
483
+ onClick: O,
484
+ onMouseDown: W,
485
+ onMouseEnter: N
486
+ } = i, w = Yt[A], G = y ? "bg.menu-item.selected" : "bg.menu-item.default", Z = f ?? w.iconSize, V = g ?? w.iconSize, X = !!(x && c);
487
+ let U;
488
+ e[0] !== X ? (U = (Ie) => {
489
+ X && (Ie.preventDefault(), Ie.stopPropagation());
490
+ }, e[0] = X, e[1] = U) : U = e[1];
491
+ const F = U;
492
+ let K;
493
+ e[2] !== X || e[3] !== x ? (K = (Ie) => {
494
+ !X || !x || (Ie.preventDefault(), Ie.stopPropagation(), x());
495
+ }, e[2] = X, e[3] = x, e[4] = K) : K = e[4];
496
+ const le = K, q = z ?? "20rem", ee = b ? "default" : "pointer", J = n ?? t;
497
+ let E, $;
498
+ e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (E = {
499
+ bg: "bg.menu-item.hover"
500
+ }, $ = {
501
+ bg: "bg.menu-item.focus"
502
+ }, e[5] = E, e[6] = $) : (E = e[5], $ = e[6]);
503
+ let ie;
504
+ e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ie = {
505
+ placement: "right"
506
+ }, e[7] = ie) : ie = e[7];
507
+ const ke = !o;
508
+ let re;
509
+ e[8] !== Y || e[9] !== M || e[10] !== a || e[11] !== Z ? (re = a || (Y ? /* @__PURE__ */ l(ne, { as: Y, boxSize: Z, color: M }) : null), e[8] = Y, e[9] = M, e[10] = a, e[11] = Z, e[12] = re) : re = e[12];
510
+ let ce;
511
+ e[13] !== t || e[14] !== w.primaryTextStyle ? (ce = /* @__PURE__ */ l(S, { lineClamp: 1, textOverflow: "ellipsis", textStyle: w.primaryTextStyle, children: t }), e[13] = t, e[14] = w.primaryTextStyle, e[15] = ce) : ce = e[15];
512
+ let se;
513
+ e[16] !== re || e[17] !== ce ? (se = /* @__PURE__ */ u(xe, { alignItems: "flex-start", gap: "xs", flex: "1", children: [
514
+ re,
515
+ ce
516
+ ] }), e[16] = re, e[17] = ce, e[18] = se) : se = e[18];
517
+ let de;
518
+ e[19] !== s || e[20] !== w.secondaryMarginLeft || e[21] !== w.secondaryTextStyle ? (de = s && /* @__PURE__ */ l(S, { ml: w.secondaryMarginLeft, lineClamp: 1, textOverflow: "ellipsis", textStyle: w.secondaryTextStyle, color: "fg.menu-item.secondary", children: s }), e[19] = s, e[20] = w.secondaryMarginLeft, e[21] = w.secondaryTextStyle, e[22] = de) : de = e[22];
519
+ let ge;
520
+ e[23] !== se || e[24] !== de ? (ge = /* @__PURE__ */ u(C, { gap: "2xs", children: [
521
+ se,
522
+ de
523
+ ] }), e[23] = se, e[24] = de, e[25] = ge) : ge = e[25];
524
+ let he;
525
+ e[26] !== ke || e[27] !== ge || e[28] !== o ? (he = /* @__PURE__ */ l(_e, { positioning: ie, content: o, disabled: ke, children: ge }), e[26] = ke, e[27] = ge, e[28] = o, e[29] = he) : he = e[29];
526
+ let be;
527
+ e[30] !== le || e[31] !== F || e[32] !== X || e[33] !== V || e[34] !== c || e[35] !== m || e[36] !== j || e[37] !== p ? (be = c ? /* @__PURE__ */ l(_e, { positioning: {
528
+ placement: "right"
529
+ }, content: p, disabled: !p, children: /* @__PURE__ */ l(xe, { as: X ? "button" : "div", alignItems: "center", "aria-label": m, cursor: X ? "pointer" : "default", bg: "transparent", borderWidth: "0", padding: "0", onMouseDown: F, onClick: le, children: /* @__PURE__ */ l(ne, { as: c, boxSize: V, color: j }) }) }) : null, e[30] = le, e[31] = F, e[32] = X, e[33] = V, e[34] = c, e[35] = m, e[36] = j, e[37] = p, e[38] = be) : be = e[38];
530
+ let Se;
531
+ e[39] !== be ? (Se = /* @__PURE__ */ l(xe, { justifyContent: "flex-end", color: "fg.menu-item.default", children: be }), e[39] = be, e[40] = Se) : Se = e[40];
532
+ let ye;
533
+ e[41] !== he || e[42] !== Se ? (ye = /* @__PURE__ */ u(xe, { justifyContent: "space-between", alignItems: "center", gap: "xs", flex: "1", children: [
534
+ he,
535
+ Se
536
+ ] }), e[41] = he, e[42] = Se, e[43] = ye) : ye = e[43];
537
+ let ve;
538
+ e[44] !== H || e[45] !== I || e[46] !== R ? (ve = I ? /* @__PURE__ */ l(De, { position: "absolute", top: "xs", right: "sm", textStyle: "label/XS/medium", px: "xs", py: "2px", borderRadius: "md", colorPalette: H, variant: R, pointerEvents: "none", children: I }) : null, e[44] = H, e[45] = I, e[46] = R, e[47] = ve) : ve = e[47];
539
+ let $e;
540
+ return e[48] !== G || e[49] !== n || e[50] !== b || e[51] !== y || e[52] !== O || e[53] !== W || e[54] !== N || e[55] !== L || e[56] !== J || e[57] !== ye || e[58] !== ve || e[59] !== q || e[60] !== ee || e[61] !== v || e[62] !== w.minHeight || e[63] !== w.paddingX || e[64] !== w.paddingY || e[65] !== _ ? ($e = /* @__PURE__ */ u(qe, { id: n, ref: L, tabIndex: v, disabled: b, "aria-selected": y, paddingX: w.paddingX, paddingY: w.paddingY, onClick: O, onMouseDown: W, onMouseEnter: N, height: "auto", minHeight: w.minHeight, role: "option", width: _, maxWidth: q, overflow: "hidden", position: "relative", cursor: ee, value: J, bg: G, _hover: E, _focus: $, children: [
541
+ ye,
542
+ ve
543
+ ] }), e[48] = G, e[49] = n, e[50] = b, e[51] = y, e[52] = O, e[53] = W, e[54] = N, e[55] = L, e[56] = J, e[57] = ye, e[58] = ve, e[59] = q, e[60] = ee, e[61] = v, e[62] = w.minHeight, e[63] = w.paddingX, e[64] = w.paddingY, e[65] = _, e[66] = $e) : $e = e[66], $e;
544
+ }, Ft = {
545
+ default: {
546
+ width: "64",
547
+ headerHeight: "49px",
548
+ headerPadding: "xs",
549
+ headerTextStyle: "label/L/medium",
550
+ contentPadding: "xs",
551
+ contentGap: "xs"
552
+ },
553
+ compact: {
554
+ width: "64",
555
+ headerHeight: "49px",
556
+ headerPadding: "xs",
557
+ headerTextStyle: "label/L/medium",
558
+ contentPadding: "2xs",
559
+ contentGap: "2xs"
560
+ }
561
+ };
562
+ function jt(i) {
563
+ const e = D(13), {
564
+ title: n,
565
+ children: t,
566
+ variant: o
567
+ } = i, r = Ft[o === void 0 ? "default" : o];
568
+ let a;
569
+ e[0] !== r.headerHeight || e[1] !== r.headerPadding || e[2] !== r.headerTextStyle || e[3] !== n ? (a = n && /* @__PURE__ */ l(xe, { height: r.headerHeight, p: r.headerPadding, borderBottomWidth: "1px", alignItems: "center", children: /* @__PURE__ */ l(S, { pb: "0", textStyle: r.headerTextStyle, color: "fg.muted", children: n }) }), e[0] = r.headerHeight, e[1] = r.headerPadding, e[2] = r.headerTextStyle, e[3] = n, e[4] = a) : a = e[4];
570
+ let c;
571
+ e[5] !== t || e[6] !== r.contentGap || e[7] !== r.contentPadding ? (c = t && /* @__PURE__ */ l(C, { p: r.contentPadding, gap: r.contentGap, flex: "1", minH: "0", overflowY: "auto", children: t }), e[5] = t, e[6] = r.contentGap, e[7] = r.contentPadding, e[8] = c) : c = e[8];
572
+ let d;
573
+ return e[9] !== r.width || e[10] !== a || e[11] !== c ? (d = /* @__PURE__ */ u(C, { borderRightWidth: "1px", width: r.width, gap: "0", minH: "0", children: [
574
+ a,
575
+ c
576
+ ] }), e[9] = r.width, e[10] = a, e[11] = c, e[12] = d) : d = e[12], d;
577
+ }
578
+ const Ye = (i) => {
579
+ const e = D(27), {
580
+ item: n,
581
+ activeLink: t,
582
+ onSelectLink: o,
583
+ shouldStartOpen: s
584
+ } = i;
585
+ let r;
586
+ e[0] !== n.items ? (r = n.items ?? [], e[0] = n.items, e[1] = r) : r = e[1];
587
+ const a = r, c = a.length > 0;
588
+ if (!c && n.link) {
589
+ const p = n.link, x = n.link === t;
590
+ let b;
591
+ e[2] !== p || e[3] !== o ? (b = () => o(p), e[2] = p, e[3] = o, e[4] = b) : b = e[4];
592
+ let y;
593
+ return e[5] !== x || e[6] !== n.text || e[7] !== b ? (y = /* @__PURE__ */ l(ue.Root, { children: /* @__PURE__ */ l(Le, { primaryLabel: n.text, isSelected: x, variant: "compact", onClick: b }) }), e[5] = x, e[6] = n.text, e[7] = b, e[8] = y) : y = e[8], y;
594
+ }
595
+ if (!c) {
596
+ let p;
597
+ return e[9] !== n.text ? (p = /* @__PURE__ */ l(ue.Root, { children: /* @__PURE__ */ l(Le, { primaryLabel: n.text, isDisabled: !0, variant: "compact" }) }), e[9] = n.text, e[10] = p) : p = e[10], p;
598
+ }
599
+ let d;
600
+ e[11] !== n || e[12] !== s ? (d = s?.(n) ?? !1, e[11] = n, e[12] = s, e[13] = d) : d = e[13];
601
+ const h = d, f = n.text;
602
+ let g;
603
+ if (e[14] !== t || e[15] !== a || e[16] !== o || e[17] !== s) {
604
+ let p;
605
+ e[19] !== t || e[20] !== o || e[21] !== s ? (p = (x, b) => /* @__PURE__ */ l(Ye, { item: x, activeLink: t, onSelectLink: o, shouldStartOpen: s }, `${x.text}-${x.link ?? b}`), e[19] = t, e[20] = o, e[21] = s, e[22] = p) : p = e[22], g = a.map(p), e[14] = t, e[15] = a, e[16] = o, e[17] = s, e[18] = g;
606
+ } else
607
+ g = e[18];
608
+ let m;
609
+ return e[23] !== h || e[24] !== n.text || e[25] !== g ? (m = /* @__PURE__ */ l(Gt, { title: f, defaultOpen: h, children: g }), e[23] = h, e[24] = n.text, e[25] = g, e[26] = m) : m = e[26], m;
610
+ }, Ml = (i) => {
611
+ const e = D(9), {
612
+ title: n,
613
+ emptyMessage: t,
614
+ menuItems: o,
615
+ activeLink: s,
616
+ onSelectLink: r,
617
+ shouldStartOpen: a
618
+ } = i;
619
+ let c;
620
+ e[0] !== s || e[1] !== t || e[2] !== o || e[3] !== r || e[4] !== a ? (c = o.length === 0 ? /* @__PURE__ */ l(S, { textStyle: "paragraph/S/regular", color: "fg.muted", p: "xs", children: t ?? "No files found" }) : o.map((h, f) => /* @__PURE__ */ l(Ye, { item: h, activeLink: s, onSelectLink: r, shouldStartOpen: a }, `${h.text}-${h.link ?? f}`)), e[0] = s, e[1] = t, e[2] = o, e[3] = r, e[4] = a, e[5] = c) : c = e[5];
621
+ let d;
622
+ return e[6] !== c || e[7] !== n ? (d = /* @__PURE__ */ l(jt, { title: n, variant: "compact", children: c }), e[6] = c, e[7] = n, e[8] = d) : d = e[8], d;
623
+ };
624
+ class Wl extends ot {
625
+ state = {
626
+ error: null
627
+ };
628
+ static getDerivedStateFromError(e) {
629
+ return {
630
+ error: e
631
+ };
632
+ }
633
+ componentDidCatch(e, n) {
634
+ console.error("Dashboard error boundary caught an error", e, n);
635
+ }
636
+ handleReset = () => {
637
+ this.setState({
638
+ error: null
639
+ }), this.props.onReset?.();
640
+ };
641
+ render() {
642
+ const {
643
+ children: e,
644
+ fallback: n,
645
+ label: t
646
+ } = this.props, {
647
+ error: o
648
+ } = this.state;
649
+ return o ? n || /* @__PURE__ */ l(Nt, { error: o, label: t, onReset: this.handleReset }) : e;
650
+ }
651
+ }
652
+ const Nt = (i) => {
653
+ const e = D(12), {
654
+ error: n,
655
+ label: t,
656
+ onReset: o
657
+ } = i, s = t ?? "Something went wrong";
658
+ let r;
659
+ e[0] !== s ? (r = /* @__PURE__ */ l(S, { textStyle: "paragraph/M/medium", children: s }), e[0] = s, e[1] = r) : r = e[1];
660
+ const a = n.message || "An unexpected error occurred while rendering this section.";
661
+ let c;
662
+ e[2] !== a ? (c = /* @__PURE__ */ l(S, { textStyle: "paragraph/S/regular", children: a }), e[2] = a, e[3] = c) : c = e[3];
663
+ let d;
664
+ e[4] !== o ? (d = o ? /* @__PURE__ */ l(me, { size: "sm", variant: "solid", colorScheme: "black", onClick: o, children: "Try again" }) : null, e[4] = o, e[5] = d) : d = e[5];
665
+ let h;
666
+ e[6] !== c || e[7] !== d ? (h = /* @__PURE__ */ u(C, { gap: "sm", children: [
667
+ c,
668
+ d
669
+ ] }), e[6] = c, e[7] = d, e[8] = h) : h = e[8];
670
+ let f;
671
+ return e[9] !== r || e[10] !== h ? (f = /* @__PURE__ */ l(Dt, { height: "100%", width: "100%", children: /* @__PURE__ */ l(Je, { children: /* @__PURE__ */ l(_t, { status: "error", title: r, children: h }) }) }), e[9] = r, e[10] = h, e[11] = f) : f = e[11], f;
672
+ }, Bl = (i) => {
673
+ const e = D(53), {
674
+ open: n,
675
+ title: t,
676
+ description: o,
677
+ currentPath: s,
678
+ entries: r,
679
+ selectedPath: a,
680
+ selectedPaths: c,
681
+ isLoading: d,
682
+ error: h,
683
+ isSelectDisabled: f,
684
+ onClose: g,
685
+ onSelect: m,
686
+ onSelectHomeDirectory: p,
687
+ onSelectParentDirectory: x,
688
+ onEntryClick: b
689
+ } = i, y = t === void 0 ? "Select folder" : t, I = s === void 0 ? "" : s, T = a === void 0 ? null : a;
690
+ let P;
691
+ e[0] !== c ? (P = c === void 0 ? [] : c, e[0] = c, e[1] = P) : P = e[1];
692
+ const k = P, v = d === void 0 ? !1 : d, _ = h === void 0 ? "" : h, z = f === void 0 ? !1 : f;
693
+ let L;
694
+ e[2] !== k ? (L = new Set(k), e[2] = k, e[3] = L) : L = e[3];
695
+ const Y = L;
696
+ let M;
697
+ e[4] !== g ? (M = (E) => !E.open && g(), e[4] = g, e[5] = M) : M = e[5];
698
+ let j;
699
+ e[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (j = /* @__PURE__ */ l(Q.Backdrop, {}), e[6] = j) : j = e[6];
700
+ let H;
701
+ e[7] !== y ? (H = /* @__PURE__ */ l(S, { textStyle: "heading/M", children: y }), e[7] = y, e[8] = H) : H = e[8];
702
+ let R;
703
+ e[9] !== o ? (R = o ? /* @__PURE__ */ l(S, { textStyle: "paragraph/S/regular", color: "fg.muted", children: o }) : null, e[9] = o, e[10] = R) : R = e[10];
704
+ let A;
705
+ e[11] !== H || e[12] !== R ? (A = /* @__PURE__ */ l(Q.Header, { children: /* @__PURE__ */ u(C, { gap: "xs", children: [
706
+ H,
707
+ R
708
+ ] }) }), e[11] = H, e[12] = R, e[13] = A) : A = e[13];
709
+ let O;
710
+ e[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (O = /* @__PURE__ */ l(mt, { size: 16 }), e[14] = O) : O = e[14];
711
+ let W;
712
+ e[15] !== p ? (W = /* @__PURE__ */ l(me, { "aria-label": "Go to home directory", variant: "outline", size: "sm", onClick: p, children: O }), e[15] = p, e[16] = W) : W = e[16];
713
+ const N = !I || I === "/";
714
+ let w;
715
+ e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ l(ut, { size: 16 }), e[17] = w) : w = e[17];
716
+ let G;
717
+ e[18] !== x || e[19] !== N ? (G = /* @__PURE__ */ l(me, { "aria-label": "Go to parent directory", variant: "outline", size: "sm", onClick: x, disabled: N, children: w }), e[18] = x, e[19] = N, e[20] = G) : G = e[20];
718
+ const Z = I || "Home";
719
+ let V;
720
+ e[21] !== Z ? (V = /* @__PURE__ */ l(S, { textStyle: "paragraph/S/regular", color: "fg.muted", flex: "1", lineClamp: 1, children: Z }), e[21] = Z, e[22] = V) : V = e[22];
721
+ let X;
722
+ e[23] !== W || e[24] !== G || e[25] !== V ? (X = /* @__PURE__ */ u(C, { direction: "row", gap: "sm", align: "center", children: [
723
+ W,
724
+ G,
725
+ V
726
+ ] }), e[23] = W, e[24] = G, e[25] = V, e[26] = X) : X = e[26];
727
+ let U;
728
+ e[27] !== r || e[28] !== _ || e[29] !== v || e[30] !== b || e[31] !== T || e[32] !== Y ? (U = /* @__PURE__ */ l(C, { gap: "xs", borderWidth: "1px", borderRadius: "md", borderColor: "border.muted", padding: "sm", maxHeight: "320px", overflowY: "auto", children: v ? /* @__PURE__ */ l(S, { textStyle: "paragraph/S/regular", color: "fg.muted", children: "Loading..." }) : _ ? /* @__PURE__ */ l(S, { textStyle: "paragraph/S/regular", color: "red.500", children: _ }) : r.length === 0 ? /* @__PURE__ */ l(S, { textStyle: "paragraph/S/regular", color: "fg.muted", children: "No entries found." }) : /* @__PURE__ */ l(C, { gap: "xs", children: r.map((E) => {
729
+ const $ = E.isDirectory ? E.isGitRepo ? ft : gt : He, ie = E.isGitRepo && Y.has(E.path);
730
+ return /* @__PURE__ */ l(ue.Root, { children: /* @__PURE__ */ l(Le, { primaryLabel: E.name, leftIcon: $, tagLabel: E.isGitRepo ? "Git repo" : void 0, tagColorPalette: E.isGitRepo ? "green" : void 0, isDisabled: !E.isDirectory || ie, isSelected: T === E.path, width: "100%", maxWidth: "100%", onClick: () => {
731
+ ie || b(E);
732
+ } }) }, E.path);
733
+ }) }) }), e[27] = r, e[28] = _, e[29] = v, e[30] = b, e[31] = T, e[32] = Y, e[33] = U) : U = e[33];
734
+ let F;
735
+ e[34] !== X || e[35] !== U ? (F = /* @__PURE__ */ l(Q.Body, { children: /* @__PURE__ */ u(C, { gap: "md", children: [
736
+ X,
737
+ U
738
+ ] }) }), e[34] = X, e[35] = U, e[36] = F) : F = e[36];
739
+ let K;
740
+ e[37] !== g ? (K = /* @__PURE__ */ l(me, { variant: "outline", onClick: g, children: "Cancel" }), e[37] = g, e[38] = K) : K = e[38];
741
+ let le;
742
+ e[39] !== z || e[40] !== m ? (le = /* @__PURE__ */ l(me, { onClick: m, disabled: z, children: "Select repository" }), e[39] = z, e[40] = m, e[41] = le) : le = e[41];
743
+ let q;
744
+ e[42] !== K || e[43] !== le ? (q = /* @__PURE__ */ l(Q.Footer, { children: /* @__PURE__ */ u(C, { direction: "row", gap: "sm", children: [
745
+ K,
746
+ le
747
+ ] }) }), e[42] = K, e[43] = le, e[44] = q) : q = e[44];
748
+ let ee;
749
+ e[45] !== A || e[46] !== F || e[47] !== q ? (ee = /* @__PURE__ */ l(Q.Positioner, { children: /* @__PURE__ */ u(Q.Content, { children: [
750
+ A,
751
+ F,
752
+ q
753
+ ] }) }), e[45] = A, e[46] = F, e[47] = q, e[48] = ee) : ee = e[48];
754
+ let J;
755
+ return e[49] !== n || e[50] !== ee || e[51] !== M ? (J = /* @__PURE__ */ u(Q.Root, { closeOnInteractOutside: !1, open: n, onOpenChange: M, children: [
756
+ j,
757
+ ee
758
+ ] }), e[49] = n, e[50] = ee, e[51] = M, e[52] = J) : J = e[52], J;
759
+ };
760
+ function Al(i) {
761
+ const e = D(6);
762
+ let n, t;
763
+ e[0] !== i ? ({
764
+ children: n,
765
+ ...t
766
+ } = i, e[0] = i, e[1] = n, e[2] = t) : (n = e[1], t = e[2]);
767
+ let o;
768
+ return e[3] !== n || e[4] !== t ? (o = /* @__PURE__ */ l(te, { ...t, minH: "49px", justify: "space-between", align: "center", borderBottomWidth: "1px", p: "xs", children: n }), e[3] = n, e[4] = t, e[5] = o) : o = e[5], o;
769
+ }
770
+ const Vt = (i, e) => `${i.name}-${i.version ?? "unknown"}-${e}`, Ut = (i) => i.version ? `${i.name} v${i.version}` : i.name, Ol = (i) => {
771
+ const e = D(30), {
772
+ notices: n,
773
+ title: t,
774
+ description: o,
775
+ productName: s,
776
+ productVersion: r,
777
+ generatedAt: a,
778
+ emptyTitle: c,
779
+ emptyDescription: d
780
+ } = i, h = t === void 0 ? "Open Source and Third-Party Notices" : t, f = o === void 0 ? "This product includes software developed by the open source community." : o, g = c === void 0 ? "No third-party notices available" : c, m = d === void 0 ? "No third-party packages were included in this build." : d;
781
+ let p;
782
+ e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = {
783
+ base: "md",
784
+ md: "xl"
785
+ }, e[0] = p) : p = e[0];
786
+ let x;
787
+ e[1] !== h ? (x = /* @__PURE__ */ l(S, { textStyle: "heading/L", children: h }), e[1] = h, e[2] = x) : x = e[2];
788
+ let b;
789
+ e[3] !== f ? (b = /* @__PURE__ */ l(S, { textStyle: "paragraph/S/regular", color: "fg.muted", children: f }), e[3] = f, e[4] = b) : b = e[4];
790
+ let y;
791
+ e[5] !== s ? (y = s ? /* @__PURE__ */ u(S, { textStyle: "label/XS", color: "fg.muted", children: [
792
+ "Product: ",
793
+ s
794
+ ] }) : null, e[5] = s, e[6] = y) : y = e[6];
795
+ let I;
796
+ e[7] !== r ? (I = r ? /* @__PURE__ */ u(S, { textStyle: "label/XS", color: "fg.muted", children: [
797
+ "Version: ",
798
+ r
799
+ ] }) : null, e[7] = r, e[8] = I) : I = e[8];
800
+ let T;
801
+ e[9] !== n.length ? (T = /* @__PURE__ */ u(S, { textStyle: "label/XS", color: "fg.muted", children: [
802
+ "Packages: ",
803
+ n.length
804
+ ] }), e[9] = n.length, e[10] = T) : T = e[10];
805
+ let P;
806
+ e[11] !== a ? (P = a ? /* @__PURE__ */ u(S, { textStyle: "label/XS", color: "fg.muted", children: [
807
+ "Generated: ",
808
+ a
809
+ ] }) : null, e[11] = a, e[12] = P) : P = e[12];
810
+ let k;
811
+ e[13] !== P || e[14] !== y || e[15] !== I || e[16] !== T ? (k = /* @__PURE__ */ u(te, { gap: "md", flexWrap: "wrap", children: [
812
+ y,
813
+ I,
814
+ T,
815
+ P
816
+ ] }), e[13] = P, e[14] = y, e[15] = I, e[16] = T, e[17] = k) : k = e[17];
817
+ let v;
818
+ e[18] !== k || e[19] !== x || e[20] !== b ? (v = /* @__PURE__ */ u(C, { gap: "xs", children: [
819
+ x,
820
+ b,
821
+ k
822
+ ] }), e[18] = k, e[19] = x, e[20] = b, e[21] = v) : v = e[21];
823
+ let _;
824
+ e[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ l(Qe, { borderColor: "border.muted" }), e[22] = _) : _ = e[22];
825
+ let z;
826
+ e[23] !== m || e[24] !== g || e[25] !== n ? (z = n.length === 0 ? /* @__PURE__ */ u(C, { borderWidth: "1px", borderColor: "border.muted", borderRadius: "md", padding: "lg", gap: "xs", children: [
827
+ /* @__PURE__ */ l(S, { textStyle: "label/L/medium", children: g }),
828
+ /* @__PURE__ */ l(S, { textStyle: "paragraph/S/regular", color: "fg.muted", children: m })
829
+ ] }) : /* @__PURE__ */ l(C, { gap: "md", children: n.map(Kt) }), e[23] = m, e[24] = g, e[25] = n, e[26] = z) : z = e[26];
830
+ let L;
831
+ return e[27] !== v || e[28] !== z ? (L = /* @__PURE__ */ u(C, { width: "full", minHeight: "100%", background: "bg", color: "fg", padding: p, gap: "lg", children: [
832
+ v,
833
+ _,
834
+ z
835
+ ] }), e[27] = v, e[28] = z, e[29] = L) : L = e[29], L;
836
+ };
837
+ function Kt(i, e) {
838
+ return /* @__PURE__ */ l(B, { borderWidth: "1px", borderColor: "border.muted", borderRadius: "md", padding: "md", children: /* @__PURE__ */ u(C, { gap: "sm", children: [
839
+ /* @__PURE__ */ u(C, { gap: "2xs", children: [
840
+ /* @__PURE__ */ l(S, { textStyle: "label/L/medium", children: Ut(i) }),
841
+ /* @__PURE__ */ u(S, { textStyle: "label/S/regular", color: "fg.muted", children: [
842
+ "License: ",
843
+ i.license ?? "Unknown"
844
+ ] })
845
+ ] }),
846
+ i.copyright ? /* @__PURE__ */ l(S, { textStyle: "label/S/regular", color: "fg.muted", children: i.copyright }) : null,
847
+ (i.homepageUrl || i.sourceUrl) && /* @__PURE__ */ u(C, { gap: "2xs", children: [
848
+ i.homepageUrl ? /* @__PURE__ */ l(Ee, { href: i.homepageUrl, target: "_blank", rel: "noreferrer", textStyle: "label/S/medium", width: "fit-content", children: "Homepage" }) : null,
849
+ i.sourceUrl ? /* @__PURE__ */ l(Ee, { href: i.sourceUrl, target: "_blank", rel: "noreferrer", textStyle: "label/S/medium", width: "fit-content", children: "Source code" }) : null
850
+ ] }),
851
+ i.attribution ? /* @__PURE__ */ l(B, { background: "bg.muted", borderRadius: "sm", padding: "sm", children: /* @__PURE__ */ l(S, { textStyle: "label/S/regular", whiteSpace: "pre-wrap", children: i.attribution }) }) : null
852
+ ] }) }, Vt(i, e));
853
+ }
854
+ const Gl = (i) => {
855
+ const e = D(14), {
856
+ items: n,
857
+ title: t,
858
+ defaultOpen: o
859
+ } = i, s = o === void 0 ? !0 : o;
860
+ let r;
861
+ e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (r = {
862
+ background: "bg.muted"
863
+ }, e[0] = r) : r = e[0];
864
+ let a;
865
+ e[1] !== t ? (a = t && /* @__PURE__ */ l(S, { fontWeight: "600", textStyle: "label/S/medium", children: t }), e[1] = t, e[2] = a) : a = e[2];
866
+ let c;
867
+ e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ l(oe.Indicator, { transition: "transform 0.2s", _open: {
868
+ transform: "rotate(90deg)"
869
+ }, children: /* @__PURE__ */ l(Pe, { size: 16 }) }), e[3] = c) : c = e[3];
870
+ let d;
871
+ e[4] !== a ? (d = /* @__PURE__ */ u(oe.Trigger, { _hover: r, borderRadius: "xs", padding: "sm", height: "2rem", display: "flex", gap: "2", alignItems: "center", cursor: "pointer", children: [
872
+ a,
873
+ c
874
+ ] }), e[4] = a, e[5] = d) : d = e[5];
875
+ let h;
876
+ e[6] !== n ? (h = n.map(qt), e[6] = n, e[7] = h) : h = e[7];
877
+ let f;
878
+ e[8] !== h ? (f = /* @__PURE__ */ l(oe.Content, { children: /* @__PURE__ */ l(C, { gap: "sm", paddingLeft: "sm", paddingY: "xs", children: h }) }), e[8] = h, e[9] = f) : f = e[9];
879
+ let g;
880
+ return e[10] !== s || e[11] !== d || e[12] !== f ? (g = /* @__PURE__ */ u(oe.Root, { defaultOpen: s, width: "full", children: [
881
+ d,
882
+ f
883
+ ] }), e[10] = s, e[11] = d, e[12] = f, e[13] = g) : g = e[13], g;
884
+ };
885
+ function qt(i, e) {
886
+ return /* @__PURE__ */ u(te, { gap: "md", alignItems: "center", children: [
887
+ /* @__PURE__ */ l(B, { width: "140px", flexShrink: 0, children: /* @__PURE__ */ u(te, { gap: "1", alignItems: "center", children: [
888
+ /* @__PURE__ */ l(S, { textStyle: "label/S/medium", color: "fg.muted", children: i.label }),
889
+ i.description && /* @__PURE__ */ l(_e, { content: i.description, showArrow: !0, children: /* @__PURE__ */ l(ne, { as: pt, boxSize: "12px", color: "fg.muted", opacity: 0.6, cursor: "help" }) })
890
+ ] }) }),
891
+ /* @__PURE__ */ l(B, { flex: "1", children: i.value })
892
+ ] }, `${i.label}-${e}`);
893
+ }
894
+ const Jt = (i) => i === "completed" ? xt : i === "failed" ? bt : St, Qt = (i) => i === "completed" ? "fg.success" : i === "failed" ? "fg.error" : "fg.muted", Zt = (i) => {
895
+ const e = D(11), {
896
+ status: n,
897
+ boxSize: t,
898
+ ariaLabel: o,
899
+ cursor: s,
900
+ onClick: r
901
+ } = i, a = t === void 0 ? "14px" : t, c = o === void 0 ? "Session status" : o;
902
+ let d;
903
+ e[0] !== n ? (d = Jt(n), e[0] = n, e[1] = d) : d = e[1];
904
+ let h;
905
+ e[2] !== n ? (h = Qt(n), e[2] = n, e[3] = h) : h = e[3];
906
+ let f;
907
+ return e[4] !== c || e[5] !== a || e[6] !== s || e[7] !== r || e[8] !== d || e[9] !== h ? (f = /* @__PURE__ */ l(ne, { as: d, boxSize: a, color: h, "aria-label": c, cursor: s, onClick: r }), e[4] = c, e[5] = a, e[6] = s, e[7] = r, e[8] = d, e[9] = h, e[10] = f) : f = e[10], f;
908
+ }, Xl = Me.forwardRef(function(e, n) {
909
+ const t = D(27);
910
+ let o, s, r, a, c, d;
911
+ t[0] !== e ? ({
912
+ inputProps: s,
913
+ children: o,
914
+ rootRef: a,
915
+ trackLabel: d,
916
+ thumbLabel: c,
917
+ ...r
918
+ } = e, t[0] = e, t[1] = o, t[2] = s, t[3] = r, t[4] = a, t[5] = c, t[6] = d) : (o = t[1], s = t[2], r = t[3], a = t[4], c = t[5], d = t[6]);
919
+ let h;
920
+ t[7] !== s || t[8] !== n ? (h = /* @__PURE__ */ l(pe.HiddenInput, { ref: n, ...s }), t[7] = s, t[8] = n, t[9] = h) : h = t[9];
921
+ let f;
922
+ t[10] !== c ? (f = c && /* @__PURE__ */ l(pe.ThumbIndicator, { fallback: c?.off, children: c?.on }), t[10] = c, t[11] = f) : f = t[11];
923
+ let g;
924
+ t[12] !== f ? (g = /* @__PURE__ */ l(pe.Thumb, { borderRadius: "sm", children: f }), t[12] = f, t[13] = g) : g = t[13];
925
+ let m;
926
+ t[14] !== d ? (m = d && /* @__PURE__ */ l(pe.Indicator, { fallback: d.off, children: d.on }), t[14] = d, t[15] = m) : m = t[15];
927
+ let p;
928
+ t[16] !== g || t[17] !== m ? (p = /* @__PURE__ */ u(pe.Control, { borderRadius: "sm", children: [
929
+ g,
930
+ m
931
+ ] }), t[16] = g, t[17] = m, t[18] = p) : p = t[18];
932
+ let x;
933
+ t[19] !== o ? (x = o != null && /* @__PURE__ */ l(pe.Label, { children: o }), t[19] = o, t[20] = x) : x = t[20];
934
+ let b;
935
+ return t[21] !== r || t[22] !== a || t[23] !== h || t[24] !== p || t[25] !== x ? (b = /* @__PURE__ */ u(pe.Root, { ref: a, ...r, children: [
936
+ h,
937
+ p,
938
+ x
939
+ ] }), t[21] = r, t[22] = a, t[23] = h, t[24] = p, t[25] = x, t[26] = b) : b = t[26], b;
940
+ }), el = (i) => {
941
+ const e = D(43), {
942
+ ticketId: n,
943
+ parentPath: t,
944
+ sessionIndicatorLabel: o,
945
+ sessionIndicatorStatus: s,
946
+ title: r,
947
+ badges: a,
948
+ diffAdditions: c,
949
+ diffDeletions: d,
950
+ isSelected: h,
951
+ draggable: f,
952
+ onDragStart: g,
953
+ onDragEnd: m,
954
+ onClick: p,
955
+ onDiffBadgeClick: x,
956
+ onSessionIndicatorClick: b
957
+ } = i;
958
+ let y;
959
+ e[0] !== t ? (y = t === void 0 ? [] : t, e[0] = t, e[1] = y) : y = e[1];
960
+ const I = y;
961
+ let T;
962
+ e[2] !== a ? (T = a === void 0 ? [] : a, e[2] = a, e[3] = T) : T = e[3];
963
+ const P = T, k = h === void 0 ? !1 : h;
964
+ let v;
965
+ e[4] !== x ? (v = (V) => {
966
+ V.stopPropagation(), x?.();
967
+ }, e[4] = x, e[5] = v) : v = e[5];
968
+ const _ = v;
969
+ let z;
970
+ e[6] !== b ? (z = (V) => {
971
+ V.stopPropagation(), b?.();
972
+ }, e[6] = b, e[7] = z) : z = e[7];
973
+ const L = z;
974
+ let Y;
975
+ e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Y = {
976
+ borderColor: "border.blue",
977
+ boxShadow: "mid"
978
+ }, e[8] = Y) : Y = e[8];
979
+ const M = f ? "grab" : p ? "pointer" : "default", j = k ? "true" : void 0;
980
+ let H;
981
+ e[9] !== I ? (H = I.length > 0 && /* @__PURE__ */ u(S, { as: "span", color: "subtle", children: [
982
+ I.join(" / "),
983
+ " /",
984
+ " "
985
+ ] }), e[9] = I, e[10] = H) : H = e[10];
986
+ let R;
987
+ e[11] !== H || e[12] !== n ? (R = /* @__PURE__ */ u(S, { textStyle: "label/S/regular", flexShrink: 0, children: [
988
+ H,
989
+ n
990
+ ] }), e[11] = H, e[12] = n, e[13] = R) : R = e[13];
991
+ let A;
992
+ e[14] !== L || e[15] !== b || e[16] !== o || e[17] !== s ? (A = o ? /* @__PURE__ */ l(_e, { content: `Session ${o}`, children: /* @__PURE__ */ l(Zt, { status: s, boxSize: "12px", "aria-label": `Session ${o}`, cursor: b ? "pointer" : "default", onClick: b ? L : void 0 }) }) : null, e[14] = L, e[15] = b, e[16] = o, e[17] = s, e[18] = A) : A = e[18];
993
+ let O;
994
+ e[19] !== R || e[20] !== A ? (O = /* @__PURE__ */ u(te, { gap: "2xs", flexShrink: 0, children: [
995
+ R,
996
+ A
997
+ ] }), e[19] = R, e[20] = A, e[21] = O) : O = e[21];
998
+ let W;
999
+ e[22] !== c || e[23] !== d || e[24] !== _ ? (W = typeof c == "number" && typeof d == "number" ? /* @__PURE__ */ l(ct, { additions: c, deletions: d, variant: "ghost", size: "small", label: /* @__PURE__ */ l(yt, { size: "12" }), onClick: _, "data-testid": "ticket-diff-badge" }) : null, e[22] = c, e[23] = d, e[24] = _, e[25] = W) : W = e[25];
1000
+ let N;
1001
+ e[26] !== O || e[27] !== W ? (N = /* @__PURE__ */ u(te, { justifyContent: "space-between", gap: "2xs", flexWrap: "wrap", children: [
1002
+ O,
1003
+ W
1004
+ ] }), e[26] = O, e[27] = W, e[28] = N) : N = e[28];
1005
+ let w;
1006
+ e[29] !== r ? (w = /* @__PURE__ */ l(te, { align: "start", gap: "2xs", flexWrap: "wrap", children: /* @__PURE__ */ l(S, { textStyle: "label/S/regular", flex: "1", minW: "0", children: r }) }), e[29] = r, e[30] = w) : w = e[30];
1007
+ let G;
1008
+ e[31] !== P ? (G = P.length > 0 && /* @__PURE__ */ l(Xe, { gap: "2xs", children: P.map(tl) }), e[31] = P, e[32] = G) : G = e[32];
1009
+ let Z;
1010
+ return e[33] !== f || e[34] !== p || e[35] !== m || e[36] !== g || e[37] !== N || e[38] !== w || e[39] !== G || e[40] !== M || e[41] !== j ? (Z = /* @__PURE__ */ u(C, { gap: "xs", padding: "sm", borderRadius: "sm", borderWidth: "1px", width: "calc(100% - 8px)", alignSelf: "center", background: "bg", transition: "box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out", _hover: Y, cursor: M, draggable: f, onDragStart: g, onDragEnd: m, onClick: p, "data-selected": j, children: [
1011
+ N,
1012
+ w,
1013
+ G
1014
+ ] }), e[33] = f, e[34] = p, e[35] = m, e[36] = g, e[37] = N, e[38] = w, e[39] = G, e[40] = M, e[41] = j, e[42] = Z) : Z = e[42], Z;
1015
+ };
1016
+ function tl(i) {
1017
+ return /* @__PURE__ */ l(De, { variant: "subtle", colorPalette: i.color ?? "gray", textStyle: "label/XS/medium", children: i.label }, i.label);
1018
+ }
1019
+ const Yl = (i) => {
1020
+ const e = D(20), {
1021
+ columns: n,
1022
+ selectedItemId: t,
1023
+ onMoveItem: o,
1024
+ onCreateStart: s,
1025
+ onColumnAction: r
1026
+ } = i, a = t === void 0 ? null : t, [c, d] = Te(null), h = nl;
1027
+ let f;
1028
+ e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = () => {
1029
+ d(null);
1030
+ }, e[0] = f) : f = e[0];
1031
+ const g = f;
1032
+ let m;
1033
+ e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = (k) => (v) => {
1034
+ v.preventDefault(), v.dataTransfer.dropEffect = "move", d(k);
1035
+ }, e[1] = m) : m = e[1];
1036
+ const p = m;
1037
+ let x;
1038
+ e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (x = (k) => {
1039
+ k.currentTarget.contains(k.relatedTarget) || d(null);
1040
+ }, e[2] = x) : x = e[2];
1041
+ const b = x;
1042
+ let y;
1043
+ e[3] !== o ? (y = (k) => (v) => {
1044
+ v.preventDefault(), d(null);
1045
+ const _ = v.dataTransfer.getData("text/plain");
1046
+ _ && o?.(_, k);
1047
+ }, e[3] = o, e[4] = y) : y = e[4];
1048
+ const I = y;
1049
+ let T;
1050
+ if (e[5] !== c || e[6] !== n || e[7] !== I || e[8] !== r || e[9] !== s || e[10] !== a) {
1051
+ let k;
1052
+ e[12] !== c || e[13] !== I || e[14] !== r || e[15] !== s || e[16] !== a ? (k = (v) => /* @__PURE__ */ u(C, { gap: "xs", _notFirst: {
1053
+ borderLeft: "1px solid",
1054
+ borderColor: "border"
1055
+ }, background: c === v.id ? "bg.subtle" : "bg", transition: "background 150ms ease", height: "100%", minH: "240px", overflow: "hidden", minW: "260px", flex: "1 0 260px", onDragOver: v.canDragIn ? p(v.id) : void 0, onDragLeave: v.canDragIn ? b : void 0, onDrop: v.canDragIn ? I(v.id) : void 0, children: [
1056
+ /* @__PURE__ */ l(ll, { column: v, onCreateStart: s, onColumnAction: r }),
1057
+ /* @__PURE__ */ l(C, { gap: "sm", flex: "1", minH: "0", overflowY: "auto", children: v.items.map((_) => /* @__PURE__ */ l(el, { ..._.cardProps, isSelected: _.id === a, draggable: v.canDragOut, onDragStart: v.canDragOut ? h(_.id) : void 0, onDragEnd: v.canDragOut ? g : void 0 }, _.id)) })
1058
+ ] }, v.id), e[12] = c, e[13] = I, e[14] = r, e[15] = s, e[16] = a, e[17] = k) : k = e[17], T = n.map(k), e[5] = c, e[6] = n, e[7] = I, e[8] = r, e[9] = s, e[10] = a, e[11] = T;
1059
+ } else
1060
+ T = e[11];
1061
+ let P;
1062
+ return e[18] !== T ? (P = /* @__PURE__ */ l(C, { height: "100%", direction: "row", gap: "0", align: "stretch", overflowX: "auto", overflowY: "hidden", paddingBottom: "2xs", children: T }), e[18] = T, e[19] = P) : P = e[19], P;
1063
+ }, ll = (i) => {
1064
+ const e = D(20), {
1065
+ column: n,
1066
+ onCreateStart: t,
1067
+ onColumnAction: o
1068
+ } = i;
1069
+ let s;
1070
+ e[0] !== n.label ? (s = /* @__PURE__ */ l(S, { textStyle: "label/L/medium", children: n.label }), e[0] = n.label, e[1] = s) : s = e[1];
1071
+ const r = n.color ?? "gray";
1072
+ let a;
1073
+ e[2] !== n.items.length || e[3] !== r ? (a = /* @__PURE__ */ l(De, { variant: "subtle", colorPalette: r, children: n.items.length }), e[2] = n.items.length, e[3] = r, e[4] = a) : a = e[4];
1074
+ let c;
1075
+ e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ l(Ze, {}), e[5] = c) : c = e[5];
1076
+ let d;
1077
+ e[6] !== n.canCreate || e[7] !== n.id || e[8] !== t ? (d = n.canCreate && t && /* @__PURE__ */ l(_e, { content: "Create new ticket", children: /* @__PURE__ */ l(We, { size: "2xs", variant: "outline", onClick: () => t(n.id), "aria-label": "Create ticket", children: /* @__PURE__ */ l(ne, { as: vt, boxSize: "12px" }) }) }), e[6] = n.canCreate, e[7] = n.id, e[8] = t, e[9] = d) : d = e[9];
1078
+ let h;
1079
+ e[10] !== n.actions || e[11] !== n.id || e[12] !== n.label || e[13] !== o ? (h = n.actions.length > 0 && /* @__PURE__ */ u(ue.Root, { children: [
1080
+ /* @__PURE__ */ l(ue.Trigger, { asChild: !0, children: /* @__PURE__ */ l(We, { size: "2xs", variant: "ghost", "aria-label": `Column actions for ${n.label}`, children: /* @__PURE__ */ l(ne, { as: Ct, boxSize: "12px" }) }) }),
1081
+ /* @__PURE__ */ l(ue.Positioner, { children: /* @__PURE__ */ l(ue.Content, { minW: "180px", bg: "bg", children: n.actions.map((g) => /* @__PURE__ */ l(Le, { primaryLabel: g.label, leftIcon: g.icon, onClick: () => o?.(n.id, g.id) }, g.id)) }) })
1082
+ ] }), e[10] = n.actions, e[11] = n.id, e[12] = n.label, e[13] = o, e[14] = h) : h = e[14];
1083
+ let f;
1084
+ return e[15] !== s || e[16] !== a || e[17] !== d || e[18] !== h ? (f = /* @__PURE__ */ u(te, { padding: "xs", gap: "xs", alignItems: "center", children: [
1085
+ s,
1086
+ a,
1087
+ c,
1088
+ d,
1089
+ h
1090
+ ] }), e[15] = s, e[16] = a, e[17] = d, e[18] = h, e[19] = f) : f = e[19], f;
1091
+ };
1092
+ function nl(i) {
1093
+ return (e) => {
1094
+ e.dataTransfer.setData("text/plain", i), e.dataTransfer.effectAllowed = "move";
1095
+ };
1096
+ }
1097
+ const il = [{
1098
+ id: "ticket",
1099
+ header: "",
1100
+ cell: ({
1101
+ row: i
1102
+ }) => /* @__PURE__ */ l(rl, { row: i })
1103
+ }], Fl = (i) => {
1104
+ const {
1105
+ items: e,
1106
+ selectedItemId: n = null,
1107
+ onItemClick: t
1108
+ } = i, o = wt({
1109
+ data: e,
1110
+ columns: il,
1111
+ state: {
1112
+ expanded: !0
1113
+ },
1114
+ getSubRows: (s) => s.children,
1115
+ getCoreRowModel: It(),
1116
+ getExpandedRowModel: kt(),
1117
+ getRowId: (s) => s.id
1118
+ });
1119
+ return /* @__PURE__ */ l(B, { children: o.getRowModel().rows.map((s) => {
1120
+ const r = s.original, a = r.id === n;
1121
+ return /* @__PURE__ */ l(te, { paddingX: "sm", paddingY: "xs", gap: "sm", cursor: "pointer", borderBottomWidth: "1px", borderColor: "border.muted", background: a ? "bg.muted" : "transparent", _hover: {
1122
+ background: "bg.muted"
1123
+ }, onClick: () => {
1124
+ r.onClick?.(), t?.(r);
1125
+ }, "data-selected": a ? "true" : void 0, children: Tt(s.getVisibleCells()[0].column.columnDef.cell, s.getVisibleCells()[0].getContext()) }, s.id);
1126
+ }) });
1127
+ }, rl = (i) => {
1128
+ const e = D(25), {
1129
+ row: n
1130
+ } = i, t = n.original, o = n.depth, s = o > 0 ? `${o * 24}px` : void 0;
1131
+ let r;
1132
+ e[0] !== o || e[1] !== n ? (r = n.getCanExpand() ? /* @__PURE__ */ l(ol, { row: n }) : o > 0 ? /* @__PURE__ */ l(sl, {}) : null, e[0] = o, e[1] = n, e[2] = r) : r = e[2];
1133
+ let a;
1134
+ e[3] !== t.statusColor || e[4] !== t.statusIcon ? (a = t.statusIcon && /* @__PURE__ */ l(ne, { as: t.statusIcon, boxSize: "16px", color: t.statusColor ?? "fg.muted", flexShrink: 0 }), e[3] = t.statusColor, e[4] = t.statusIcon, e[5] = a) : a = e[5];
1135
+ let c;
1136
+ e[6] !== t.ticketId ? (c = /* @__PURE__ */ l(S, { textStyle: "label/S/regular", color: "fg.muted", flexShrink: 0, minW: "70px", children: t.ticketId }), e[6] = t.ticketId, e[7] = c) : c = e[7];
1137
+ let d;
1138
+ e[8] !== t.title ? (d = /* @__PURE__ */ l(S, { textStyle: "label/S/regular", flex: "1", truncate: !0, children: t.title }), e[8] = t.title, e[9] = d) : d = e[9];
1139
+ let h;
1140
+ e[10] !== t.badges ? (h = t.badges && t.badges.length > 0 && /* @__PURE__ */ l(Xe, { gap: "2xs", flexShrink: 0, children: t.badges.map(al) }), e[10] = t.badges, e[11] = h) : h = e[11];
1141
+ let f;
1142
+ e[12] !== t.assigneeIcon ? (f = t.assigneeIcon && /* @__PURE__ */ l(B, { flexShrink: 0, children: t.assigneeIcon }), e[12] = t.assigneeIcon, e[13] = f) : f = e[13];
1143
+ let g;
1144
+ e[14] !== t.date ? (g = t.date && /* @__PURE__ */ l(S, { textStyle: "label/XS/regular", color: "fg.muted", flexShrink: 0, children: t.date }), e[14] = t.date, e[15] = g) : g = e[15];
1145
+ let m;
1146
+ return e[16] !== s || e[17] !== r || e[18] !== a || e[19] !== c || e[20] !== d || e[21] !== h || e[22] !== f || e[23] !== g ? (m = /* @__PURE__ */ u(te, { gap: "sm", flex: "1", paddingLeft: s, children: [
1147
+ r,
1148
+ a,
1149
+ c,
1150
+ d,
1151
+ h,
1152
+ f,
1153
+ g
1154
+ ] }), e[16] = s, e[17] = r, e[18] = a, e[19] = c, e[20] = d, e[21] = h, e[22] = f, e[23] = g, e[24] = m) : m = e[24], m;
1155
+ }, ol = (i) => {
1156
+ const e = D(7), {
1157
+ row: n
1158
+ } = i;
1159
+ let t;
1160
+ e[0] !== n ? (t = (a) => {
1161
+ a.stopPropagation(), n.toggleExpanded();
1162
+ }, e[0] = n, e[1] = t) : t = e[1];
1163
+ const o = n.getIsExpanded() ? "rotate(90deg)" : "rotate(0deg)";
1164
+ let s;
1165
+ e[2] !== o ? (s = /* @__PURE__ */ l(ne, { as: Pe, boxSize: "14px", color: "fg.muted", transform: o, transition: "transform 0.15s ease" }), e[2] = o, e[3] = s) : s = e[3];
1166
+ let r;
1167
+ return e[4] !== t || e[5] !== s ? (r = /* @__PURE__ */ l(B, { as: "button", onClick: t, cursor: "pointer", display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0, width: "16px", height: "16px", children: s }), e[4] = t, e[5] = s, e[6] = r) : r = e[6], r;
1168
+ }, sl = () => {
1169
+ const i = D(1);
1170
+ let e;
1171
+ return i[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ u(B, { width: "16px", height: "16px", position: "relative", flexShrink: 0, children: [
1172
+ /* @__PURE__ */ l(B, { position: "absolute", left: "7px", top: "0", bottom: "50%", borderLeftWidth: "1px", borderColor: "border.muted" }),
1173
+ /* @__PURE__ */ l(B, { position: "absolute", left: "7px", top: "50%", width: "8px", borderBottomWidth: "1px", borderColor: "border.muted" })
1174
+ ] }), i[0] = e) : e = i[0], e;
1175
+ };
1176
+ function al(i) {
1177
+ return /* @__PURE__ */ l(De, { variant: "subtle", colorPalette: i.color ?? "gray", textStyle: "label/XS/medium", children: i.label }, i.label);
1178
+ }
1179
+ const cl = et({
1180
+ placement: "bottom-end",
1181
+ pauseOnPageIdle: !0
1182
+ }), jl = () => {
1183
+ const i = D(1);
1184
+ let e;
1185
+ return i[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ l(tt, { children: /* @__PURE__ */ l(lt, { toaster: cl, insetInline: {
1186
+ mdDown: "4"
1187
+ }, children: dl }) }), i[0] = e) : e = i[0], e;
1188
+ };
1189
+ function dl(i) {
1190
+ return /* @__PURE__ */ u(we.Root, { width: {
1191
+ md: "sm"
1192
+ }, children: [
1193
+ i.type === "loading" ? /* @__PURE__ */ l(nt, { size: "sm", color: "blue.solid" }) : /* @__PURE__ */ l(we.Indicator, {}),
1194
+ /* @__PURE__ */ u(C, { gap: "1", flex: "1", maxWidth: "100%", children: [
1195
+ i.title && /* @__PURE__ */ l(we.Title, { children: i.title }),
1196
+ i.description && /* @__PURE__ */ l(we.Description, { children: i.description })
1197
+ ] }),
1198
+ i.action && /* @__PURE__ */ l(we.ActionTrigger, { children: i.action.label }),
1199
+ i.closable && /* @__PURE__ */ l(we.CloseTrigger, {})
1200
+ ] });
1201
+ }
1202
+ const hl = (i) => {
1203
+ if (typeof document > "u") return;
1204
+ const e = document.documentElement, n = document.body, t = i === "dark" ? "light" : "dark";
1205
+ for (const o of [e, n])
1206
+ o && (o.classList.remove(t), o.classList.add(i), o.setAttribute("data-theme", i), o.style.colorScheme = i);
1207
+ }, Fe = "theme-preference", je = st(null), fl = () => {
1208
+ if (typeof window > "u") return "light";
1209
+ const i = window.localStorage.getItem(Fe);
1210
+ return i === "dark" || i === "light" ? i : typeof window.matchMedia == "function" && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
1211
+ }, Nl = (i) => {
1212
+ const e = D(11), {
1213
+ children: n,
1214
+ initialPreference: t
1215
+ } = i;
1216
+ let o;
1217
+ e[0] !== t ? (o = t === void 0 ? fl() : t, e[0] = t, e[1] = o) : o = e[1];
1218
+ const s = o, [r, a] = Te(s);
1219
+ let c, d;
1220
+ e[2] !== r ? (c = () => {
1221
+ hl(r), typeof window < "u" && window.localStorage.setItem(Fe, r);
1222
+ }, d = [r], e[2] = r, e[3] = c, e[4] = d) : (c = e[3], d = e[4]), ze(c, d);
1223
+ let h;
1224
+ e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = () => a(gl), e[5] = h) : h = e[5];
1225
+ const f = h;
1226
+ let g;
1227
+ e[6] !== r ? (g = {
1228
+ themePreference: r,
1229
+ setThemePreference: a,
1230
+ toggleThemePreference: f
1231
+ }, e[6] = r, e[7] = g) : g = e[7];
1232
+ let m;
1233
+ return e[8] !== n || e[9] !== g ? (m = /* @__PURE__ */ l(je, { value: g, children: n }), e[8] = n, e[9] = g, e[10] = m) : m = e[10], m;
1234
+ }, Vl = () => {
1235
+ const i = at(je);
1236
+ if (!i)
1237
+ throw new Error("useThemePreference must be used within a ThemePreferenceProvider");
1238
+ return i;
1239
+ };
1240
+ function gl(i) {
1241
+ return i === "dark" ? "light" : "dark";
1242
+ }
1243
+ export {
1244
+ _t as AlertMessage,
1245
+ $l as Breadcrumb,
1246
+ ql as ChakraProvider,
1247
+ Dt as ContentPlaceholder,
1248
+ Ll as ContentPlaceholderLabel,
1249
+ Rl as DeleteConfirmationModal,
1250
+ ct as DiffBubble,
1251
+ El as DocsChangelog,
1252
+ zl as DocsOutline,
1253
+ Hl as DocsPagination,
1254
+ Ml as DocsSidebar,
1255
+ Ql as EmptyState,
1256
+ Wl as ErrorBoundary,
1257
+ Bl as FolderPickerDialog,
1258
+ Al as HorizontalMenuStack,
1259
+ Gt as ItemSection,
1260
+ Le as MenuItem,
1261
+ Ol as OpenSourceNoticesScreen,
1262
+ jt as PanelMenu,
1263
+ Gl as Properties,
1264
+ Zt as SessionIndicator,
1265
+ Xl as Switch,
1266
+ Nl as ThemePreferenceProvider,
1267
+ Yl as TicketBoard,
1268
+ el as TicketCard,
1269
+ Fl as TicketList,
1270
+ jl as Toaster,
1271
+ _e as Tooltip,
1272
+ hl as applyThemePreference,
1273
+ fl as getInitialThemePreference,
1274
+ en as psTheme,
1275
+ cl as toaster,
1276
+ Vl as useThemePreference
1277
+ };
1278
+ //# sourceMappingURL=index.js.map