@marimo-team/islands 0.25.3-dev6 → 0.25.3-dev61

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 (236) hide show
  1. package/dist/{ConnectedDataExplorerComponent-CNMliVzw.js → ConnectedDataExplorerComponent-Da5OoEUL.js} +14 -14
  2. package/dist/{ErrorBoundary-Ca-Sa492.js → ErrorBoundary-BEfUX0zz.js} +8 -8
  3. package/dist/{abnfDiagram-VCTEODGH-D-Ez91gV.js → abnfDiagram-VCTEODGH-Bz3mrprX.js} +2 -2
  4. package/dist/any-language-editor-k2B8YI3Y.js +75 -0
  5. package/dist/{architectureDiagram-5GKGNRK7-CTpcNtO8.js → architectureDiagram-5GKGNRK7-Cs5ujb9K.js} +1 -1
  6. package/dist/{arrays-CN1djC4k.js → arrays-R6JsImiT.js} +8 -0
  7. package/dist/{button-CvjkwdSk.js → button-BxB3RDjN.js} +1 -1
  8. package/dist/{capabilities-CQ5IjhzL.js → capabilities-BgR0osfN.js} +2 -2
  9. package/dist/{chat-ui-0lKdOoQ3.js → chat-ui-C0_lCzql.js} +1139 -1140
  10. package/dist/{check-EDwSwP89.js → check-P35dc2dH.js} +1 -1
  11. package/dist/{chunk-IMKFNOWR-DGxi-zeo.js → chunk-IMKFNOWR-CcTSaxZt.js} +1 -1
  12. package/dist/{chunk-SHT3W25Y-CV9J3rAB.js → chunk-SHT3W25Y-DcJcjOaO.js} +1 -1
  13. package/dist/{chunk-SVP7TREG-BL-9Fqgg.js → chunk-SVP7TREG-BVtDTjaF.js} +1 -1
  14. package/dist/{chunk-TICWLB2K-Cu_XMjDM.js → chunk-TICWLB2K-BkDFkh8q.js} +1 -1
  15. package/dist/{chunk-YOKDWASO-DPZk8vhS.js → chunk-YOKDWASO-DKplTrBY.js} +20 -20
  16. package/dist/{classDiagram-ZZMXUADV-BXXV13Hq.js → classDiagram-ZZMXUADV-CfAt7HT5.js} +2 -2
  17. package/dist/{classDiagram-v2-VYDZK3BY-B7FXJ1Cp.js → classDiagram-v2-VYDZK3BY-CGEjNYa2.js} +2 -2
  18. package/dist/{code-visibility-NGRjhbtA.js → code-visibility-CA0UOEgk.js} +6 -6
  19. package/dist/{common-B7_ZSg0P.js → common-BgoPSdwN.js} +4960 -4835
  20. package/dist/{copy-icon-Ft7t9bqz.js → copy-icon-CPoxUG7G.js} +3 -3
  21. package/dist/{cynefinDiagram-5FMLGOSQ-CH96rwba.js → cynefinDiagram-5FMLGOSQ-BW6NmfJi.js} +1 -1
  22. package/dist/{dagre-GXQ25YYZ-BD3PmpFY.js → dagre-GXQ25YYZ-CWg3CTuF.js} +1 -1
  23. package/dist/{data-grid-overlay-editor-B_cmrkBm.js → data-grid-overlay-editor-CRjm80Ab.js} +5 -5
  24. package/dist/{data-grid-types-BH_r7g7l.js → data-grid-types-0PJ-9N5n.js} +1 -1
  25. package/dist/{diagram-S7CK7UJ4-BsSJJldB.js → diagram-S7CK7UJ4-BPxtoS-z.js} +1 -1
  26. package/dist/{diagram-UQ7AKVKN-muQtNZc4.js → diagram-UQ7AKVKN-DA-vJdFL.js} +1 -1
  27. package/dist/{diagram-VX7I27RA-CdhuZAqR.js → diagram-VX7I27RA-D6bkR84S.js} +1 -1
  28. package/dist/{diagram-Z3DM3KII-BD8mXjOj.js → diagram-Z3DM3KII-m60g4cAT.js} +1 -1
  29. package/dist/{dialog-CEBFZNyc.js → dialog-C1PcpCqX.js} +3 -3
  30. package/dist/{dist-DpBpA_n1.js → dist-Lm-D-Vr6.js} +3 -3
  31. package/dist/{dropdown-menu-CP_qCYHC.js → dropdown-menu-B3eUiVJB.js} +177 -169
  32. package/dist/{ebnfDiagram-PWID7BFC-BIN1sweE.js → ebnfDiagram-PWID7BFC-CK99sho2.js} +2 -2
  33. package/dist/{erDiagram-RLTQ6QDP-Ctp5cfoN.js → erDiagram-RLTQ6QDP-Bryq0tdE.js} +1 -1
  34. package/dist/{error-banner-D-WCIiMt.js → error-banner-Sl2FlSJ4.js} +2 -2
  35. package/dist/{error-entries-DSvFWT_M.js → error-entries-CMNtA8NK.js} +959 -959
  36. package/dist/{feedback-button-CTF2Nj9s.js → feedback-button-CZA7i0Ir.js} +29 -29
  37. package/dist/{flowDiagram-HODETNUW-3EfLrlFb.js → flowDiagram-HODETNUW-D-3aRpfS.js} +2 -2
  38. package/dist/{formats-CeOmU1MU.js → formats-6pLWWrY2.js} +3 -3
  39. package/dist/{ganttDiagram-EL5Y4UJY-BQT16JSc.js → ganttDiagram-EL5Y4UJY-Dh_4cBJZ.js} +2 -2
  40. package/dist/{glide-data-editor-BQHF9puC.js → glide-data-editor-Bd52MLtf.js} +370 -368
  41. package/dist/{glide-utils-DJyqh0EM.js → glide-utils-Bt8_pBa2.js} +16 -16
  42. package/dist/{globals-Cj8iqMEp.js → globals-BvANmUu6.js} +3 -3
  43. package/dist/{highlighted-body-KPVGNVTW-zwjq21tf.js → highlighted-body-KPVGNVTW-3Ziwfz-V.js} +2 -2
  44. package/dist/{html-to-image-B8s5SgGm.js → html-to-image-6xcoTKhC.js} +29 -29
  45. package/dist/{infoDiagram-27XIBGKW-DipQoHxl.js → infoDiagram-27XIBGKW-s1C1kgfU.js} +1 -1
  46. package/dist/{ishikawaDiagram-5VMMS53U-DgFMjSGz.js → ishikawaDiagram-5VMMS53U-CCsRgolY.js} +1 -1
  47. package/dist/{kanban-definition-UXKFOSKX-w1ACVjgl.js → kanban-definition-UXKFOSKX-BrmxDlcc.js} +1 -1
  48. package/dist/{label-BDKF3Afc.js → label-BRnUC0NX.js} +2 -2
  49. package/dist/{linear-Cnaq3Tfb.js → linear-DWERh7eI.js} +121 -73
  50. package/dist/{loader-BQOfjTIJ.js → loader-Bm8cy3e8.js} +12 -12
  51. package/dist/main.js +3177 -2980
  52. package/dist/{mermaid-CHo49Yv-.js → mermaid-DKI0869I.js} +38 -38
  53. package/dist/mermaid-HWGCJPDP-Du3-HPQA.js +2 -0
  54. package/dist/{mindmap-definition-YA3MSWOX-CrT0KSfX.js → mindmap-definition-YA3MSWOX-641xJysF.js} +1 -1
  55. package/dist/{number-overlay-editor-DBcnm0SY.js → number-overlay-editor-C7ffluCS.js} +3 -3
  56. package/dist/{objects-CzUgoMIF.js → objects-DCmMvZtn.js} +1 -3
  57. package/dist/{once-BtE-wKRL.js → once-eG8Vmvjd.js} +1 -1
  58. package/dist/{pegDiagram-XKGWAZYB-BqvywNJA.js → pegDiagram-XKGWAZYB-keVUAUeS.js} +2 -2
  59. package/dist/{pieDiagram-E7YTZNPT-BfxJ_XCc.js → pieDiagram-E7YTZNPT-DHktXPO_.js} +1 -1
  60. package/dist/precisionRound-DhAzeRcm.js +49 -0
  61. package/dist/{process-output-CKRXyszb.js → process-output-BJRJFobf.js} +4 -4
  62. package/dist/{quadrantDiagram-AXDQQJYC-Ccw0xMjN.js → quadrantDiagram-AXDQQJYC-Blrm7V7_.js} +1 -1
  63. package/dist/{railroadDiagram-O6MQD6OU-8vFLVTPu.js → railroadDiagram-O6MQD6OU-BVEF4OV_.js} +2 -2
  64. package/dist/{react-vega-BED0DjiB.js → react-vega-C4T9Rb_w.js} +12284 -12270
  65. package/dist/{requirementDiagram-BXWQKSXE-a_MxGvxe.js → requirementDiagram-BXWQKSXE-CWo-UAKV.js} +1 -1
  66. package/dist/{reveal-component-DTBSuGkC.js → reveal-component-Dfuz8zQ_.js} +19 -19
  67. package/dist/{select-BButFi-d.js → select-B0LRDH0g.js} +4 -4
  68. package/dist/{sequenceDiagram-WJ2MYXX4-CXFMnxGh.js → sequenceDiagram-WJ2MYXX4-CHQvLnq4.js} +1 -1
  69. package/dist/{spec-BwarBpUJ.js → spec-C-LRKGtT.js} +4 -4
  70. package/dist/{stateDiagram-D77RDMKH-DQeA_CwI.js → stateDiagram-D77RDMKH-BOJZgbUJ.js} +2 -2
  71. package/dist/{stateDiagram-v2-MP3YSRHH-BxxQucm1.js → stateDiagram-v2-MP3YSRHH-C53XXdYH.js} +2 -2
  72. package/dist/style.css +1 -1
  73. package/dist/{swimlanes-42K2YHIH-Do6L-cYg.js → swimlanes-42K2YHIH-D2o1gOtw.js} +1 -1
  74. package/dist/{swimlanesDiagram-VR7AAH4N-DUzPvSVU.js → swimlanesDiagram-VR7AAH4N-BHFzN1Wk.js} +2 -2
  75. package/dist/{swiper-component-DKntyn8p.js → swiper-component-DfhRvAFi.js} +2 -2
  76. package/dist/{time-BieKwdYS.js → time-BaMbJs4z.js} +18 -18
  77. package/dist/{timeline-definition-24CTP7MA-D3c46WM5.js → timeline-definition-24CTP7MA-rv7QUa46.js} +1 -1
  78. package/dist/{toDate-vIXljnsr.js → toDate-CjPuEPou.js} +21 -20
  79. package/dist/{toast-B9UMEi8u.js → toast-CFWpihJU.js} +4 -4
  80. package/dist/{tooltip-BO1REbqs.js → tooltip-CKO1pHJo.js} +2 -2
  81. package/dist/{use-restore-focus-BEM7sFWl.js → use-restore-focus-DBCITLeF.js} +1 -1
  82. package/dist/{useAsyncData-Deh5kszT.js → useAsyncData-ChgNtdmE.js} +15 -14
  83. package/dist/{useDateFormatter-D8XruNGG.js → useDateFormatter-c_yJtkAe.js} +2 -2
  84. package/dist/{useDeepCompareMemoize-DXwzRINI.js → useDeepCompareMemoize-Bet7kSsI.js} +1 -1
  85. package/dist/{useIframeCapabilities-DBETvvPl.js → useIframeCapabilities-BkdeVdXC.js} +1 -1
  86. package/dist/{useLifecycle-j7D9uD1o.js → useLifecycle-VVmz_24o.js} +3 -3
  87. package/dist/{useTheme-CRnjkku0.js → useTheme-DympCsQg.js} +5 -5
  88. package/dist/{vega-component-DTG6zxaY.js → vega-component-DnfQeoyt.js} +147 -147
  89. package/dist/{vega-embed-container-BNHE18G9.js → vega-embed-container--LYZqguO.js} +2 -2
  90. package/dist/{vega-loader.browser-DNST6uVf.js → vega-loader.browser-B9Pz0EGP.js} +298 -507
  91. package/dist/{vennDiagram-4TSXK5OY-BSZD8JcZ.js → vennDiagram-4TSXK5OY-D36Zk7t-.js} +1 -1
  92. package/dist/{wardleyDiagram-VM6X3IG4-48cUWkfA.js → wardleyDiagram-VM6X3IG4-BLBolvyQ.js} +1 -1
  93. package/dist/{xychartDiagram-S5SC5T6Z-CswYgYeu.js → xychartDiagram-S5SC5T6Z-CfH57l0v.js} +2 -2
  94. package/package.json +4 -4
  95. package/src/__tests__/host-imports.test.ts +1 -0
  96. package/src/components/app-config/ai-config.tsx +6 -2
  97. package/src/components/chat/__tests__/message-queue.test.tsx +17 -0
  98. package/src/components/chat/chat-panel.tsx +3 -7
  99. package/src/components/chat/chat-utils.ts +4 -8
  100. package/src/components/data-table/__tests__/context-menu-interaction.test.tsx +130 -0
  101. package/src/components/data-table/__tests__/date-popover.test.tsx +72 -0
  102. package/src/components/data-table/__tests__/export-actions.test.tsx +434 -6
  103. package/src/components/data-table/charts/charts.tsx +14 -19
  104. package/src/components/data-table/column-visibility-dropdown.tsx +8 -13
  105. package/src/components/data-table/columns.tsx +2 -1
  106. package/src/components/data-table/context-menu.tsx +36 -20
  107. package/src/components/data-table/date-popover.tsx +6 -4
  108. package/src/components/data-table/export-actions.tsx +267 -163
  109. package/src/components/data-table/row-viewer-panel/row-viewer.tsx +2 -2
  110. package/src/components/data-table/schemas.ts +14 -36
  111. package/src/components/editor/__tests__/dynamic-favicon.test.tsx +111 -18
  112. package/src/components/editor/actions/__tests__/pair-with-agent-modal.test.tsx +24 -0
  113. package/src/components/editor/actions/pair-with-agent-modal.tsx +18 -15
  114. package/src/components/editor/ai/add-cell-with-ai.tsx +3 -3
  115. package/src/components/editor/cell/CreateCellButton.tsx +8 -10
  116. package/src/components/editor/cell/__tests__/useShouldShowInterrupt.test.ts +39 -0
  117. package/src/components/editor/cell/code/__tests__/language-toggle.test.tsx +54 -0
  118. package/src/components/editor/cell/code/cell-editor.tsx +1 -1
  119. package/src/components/editor/cell/code/language-toggle.tsx +8 -7
  120. package/src/components/editor/cell/useShouldShowInterrupt.ts +2 -12
  121. package/src/components/editor/chrome/panels/__tests__/packages-panel.test.tsx +30 -1
  122. package/src/components/editor/chrome/panels/packages-panel.tsx +4 -7
  123. package/src/components/editor/chrome/wrapper/__tests__/attachment-status.test.tsx +12 -18
  124. package/src/components/editor/connections/components.tsx +1 -1
  125. package/src/components/editor/controls/__tests__/command-palette.test.tsx +53 -0
  126. package/src/components/editor/controls/command-palette.tsx +22 -10
  127. package/src/components/editor/dynamic-favicon.tsx +21 -40
  128. package/src/components/editor/errors/__tests__/send-error-report-button.test.tsx +12 -23
  129. package/src/components/editor/file-tree/__tests__/file-explorer-interactions.test.tsx +6 -0
  130. package/src/components/editor/file-tree/__tests__/use-file-search.test.tsx +91 -0
  131. package/src/components/editor/file-tree/file-explorer.tsx +10 -5
  132. package/src/components/editor/file-tree/file-viewer.tsx +4 -2
  133. package/src/components/editor/file-tree/use-file-search.ts +35 -21
  134. package/src/components/editor/output/MarimoTracebackOutput.tsx +1 -1
  135. package/src/components/editor/output/console/ConsoleOutput.tsx +8 -18
  136. package/src/components/icons/__tests__/large-spinner.test.tsx +39 -0
  137. package/src/components/icons/large-spinner.tsx +3 -14
  138. package/src/components/pages/home-page.tsx +4 -4
  139. package/src/components/slides/slide-cell-view.tsx +1 -1
  140. package/src/components/tracing/tracing.tsx +2 -2
  141. package/src/core/attachments/state.ts +5 -8
  142. package/src/core/cells/__tests__/notebook-outline.test.ts +113 -0
  143. package/src/core/cells/cells.ts +2 -1
  144. package/src/core/cells/pending-delete-service.ts +2 -6
  145. package/src/core/datasets/__tests__/data-source-discovery.test.ts +4 -4
  146. package/src/core/datasets/data-source-discovery.ts +4 -6
  147. package/src/core/edit-app.tsx +2 -2
  148. package/src/core/host/AGENTS.md +11 -2
  149. package/src/core/host/__tests__/attachments.test.ts +56 -0
  150. package/src/core/host/__tests__/document.test.ts +126 -0
  151. package/src/core/host/__tests__/events.test.ts +49 -0
  152. package/src/core/host/__tests__/fixtures.ts +41 -0
  153. package/src/core/host/__tests__/notebook-client.test.ts +496 -0
  154. package/src/core/host/connection.ts +81 -0
  155. package/src/core/host/events.ts +68 -0
  156. package/src/core/host/notebook-client.ts +316 -0
  157. package/src/core/host/resources/attachments.ts +19 -0
  158. package/src/core/host/resources/document.ts +101 -0
  159. package/src/core/hotkeys/actions.ts +2 -4
  160. package/src/core/islands/__tests__/bootstrap.test.ts +0 -26
  161. package/src/core/islands/bootstrap.ts +0 -1
  162. package/src/core/network/connection.ts +4 -2
  163. package/src/core/network/useConnectionNotice.ts +8 -2
  164. package/src/core/run-app.tsx +2 -2
  165. package/src/core/runtime/__tests__/runtime.test.ts +5 -12
  166. package/src/core/runtime/runtime.ts +5 -5
  167. package/src/core/static/files.ts +2 -0
  168. package/src/core/websocket/__tests__/{useMarimoKernelConnection.test.ts → connection-state.test.ts} +15 -17
  169. package/src/core/websocket/__tests__/{useWebSocket.test.ts → createConnectionTransport.test.ts} +1 -1
  170. package/src/core/websocket/__tests__/useNotebookClient.hook.test.tsx +149 -0
  171. package/src/core/websocket/__tests__/{useMarimoKernelConnection.hook.test.tsx → useNotebookSession.hook.test.tsx} +168 -253
  172. package/src/core/websocket/connection-state.ts +70 -0
  173. package/src/core/websocket/state.ts +7 -0
  174. package/src/core/websocket/transports/__tests__/sse.test.ts +18 -4
  175. package/src/core/websocket/transports/create.ts +31 -0
  176. package/src/core/websocket/transports/sse.ts +14 -2
  177. package/src/core/websocket/transports/transport.ts +12 -23
  178. package/src/core/websocket/types.ts +9 -39
  179. package/src/core/websocket/useNotebookClient.ts +78 -0
  180. package/src/core/websocket/{useMarimoKernelConnection.tsx → useNotebookSession.tsx} +53 -233
  181. package/src/hooks/__tests__/useAsyncData.test.tsx +148 -0
  182. package/src/hooks/__tests__/useDebounce.test.tsx +51 -0
  183. package/src/hooks/__tests__/useDeepCompareMemoize.test.tsx +39 -0
  184. package/src/hooks/__tests__/useDelayElapsed.test.tsx +28 -0
  185. package/src/hooks/__tests__/useInternalStateWithSync.test.tsx +20 -0
  186. package/src/hooks/__tests__/useScript.test.tsx +77 -0
  187. package/src/hooks/__tests__/useStateForKey.test.tsx +257 -0
  188. package/src/hooks/useAsyncData.ts +3 -3
  189. package/src/hooks/useDataSourceDiscovery.ts +6 -4
  190. package/src/hooks/useDebounce.ts +5 -8
  191. package/src/hooks/useDeepCompareMemoize.ts +1 -1
  192. package/src/hooks/useDelayElapsed.ts +14 -10
  193. package/src/hooks/useElapsedTime.ts +3 -3
  194. package/src/hooks/useInputHistory.ts +4 -7
  195. package/src/hooks/useInternalStateWithSync.ts +6 -6
  196. package/src/hooks/useResizeObserver.ts +4 -7
  197. package/src/hooks/useScript.ts +67 -70
  198. package/src/hooks/useStateForKey.ts +93 -0
  199. package/src/plugins/core/registerReactComponent.tsx +1 -1
  200. package/src/plugins/impl/DataTablePlugin.tsx +14 -15
  201. package/src/plugins/impl/DropdownPlugin.tsx +2 -6
  202. package/src/plugins/impl/FileBrowserPlugin.tsx +4 -16
  203. package/src/plugins/impl/FormPlugin.tsx +1 -1
  204. package/src/plugins/impl/SliderPlugin.tsx +6 -8
  205. package/src/plugins/impl/__tests__/DataTablePlugin.test.tsx +201 -1
  206. package/src/plugins/impl/__tests__/FileBrowserPlugin.test.tsx +45 -0
  207. package/src/plugins/impl/__tests__/SliderPlugin.test.tsx +24 -3
  208. package/src/plugins/impl/anywidget/__tests__/registry.test.ts +2 -0
  209. package/src/plugins/impl/anywidget/__tests__/widget-binding.test.ts +241 -2
  210. package/src/plugins/impl/anywidget/runtime.ts +21 -9
  211. package/src/plugins/impl/anywidget/widget-binding.ts +160 -82
  212. package/src/plugins/impl/chat/__tests__/chat-prompts.test.tsx +93 -0
  213. package/src/plugins/impl/chat/chat-ui.tsx +10 -9
  214. package/src/plugins/impl/code/any-language-editor.tsx +2 -2
  215. package/src/plugins/impl/data-editor/glide-data-editor.tsx +8 -5
  216. package/src/plugins/impl/data-editor/glide-utils.ts +3 -1
  217. package/src/plugins/impl/mpl-interactive/MplInteractivePlugin.tsx +5 -3
  218. package/src/plugins/impl/panel/PanelPlugin.tsx +15 -16
  219. package/src/plugins/impl/panel/__tests__/utils.test.ts +39 -1
  220. package/src/plugins/impl/panel/utils.ts +17 -0
  221. package/src/plugins/impl/vega/make-selectable.ts +3 -6
  222. package/src/stories/__tests__/editor-story.test.tsx +33 -0
  223. package/src/stories/editor.stories.tsx +24 -17
  224. package/src/utils/__tests__/arrays.test.ts +35 -0
  225. package/src/utils/__tests__/numbers.test.ts +48 -1
  226. package/src/utils/__tests__/objects.test.ts +21 -0
  227. package/src/utils/arrays.ts +10 -0
  228. package/src/utils/numbers.ts +28 -17
  229. package/src/utils/objects.ts +3 -7
  230. package/src/utils/once.ts +19 -19
  231. package/dist/any-language-editor-DZ_YTVus.js +0 -76
  232. package/dist/mermaid-HWGCJPDP-ByCsZnYF.js +0 -2
  233. package/dist/precisionRound-DMIVQrt2.js +0 -97
  234. package/src/core/host/__tests__/protocol.test.ts +0 -214
  235. package/src/core/host/protocol.ts +0 -1943
  236. package/src/core/websocket/useWebSocket.tsx +0 -88
@@ -1,4 +1,4 @@
1
- import { h as e } from "./tooltip-BO1REbqs.js";
1
+ import { h as e } from "./tooltip-CKO1pHJo.js";
2
2
  var t = e("check", [["path", {
3
3
  d: "M20 6 9 17l-5-5",
4
4
  key: "1gmf2c"
@@ -3,7 +3,7 @@ import { g as t, s as n } from "./chunk-75Z2AOVW-D7gxIs2Q.js";
3
3
  import { n as r, t as i } from "./src-CA_m4ONl.js";
4
4
  import { n as a } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
5
5
  import { H as o, K as s, U as c, a as l, s as u, v as d, w as f, x as p, y as m } from "./chunk-DU6HZSFF-BwiyaNpg.js";
6
- import { r as h } from "./mermaid-CHo49Yv-.js";
6
+ import { r as h } from "./mermaid-DKI0869I.js";
7
7
  import { t as g } from "./chunk-F27PBJKO-ufseIn5y.js";
8
8
  import { t as _ } from "./chunk-XXDRQBXY-Dnl5VBqG.js";
9
9
  import { t as v } from "./chunk-POPQ4Y6H-hYOXbYH_.js";
@@ -5,7 +5,7 @@ import { n as a } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
5
5
  import { G as o, H as s, K as c, U as l, a as u, d, k as f, rt as p, s as ee, v as m, w as h, x as g, y as _ } from "./chunk-DU6HZSFF-BwiyaNpg.js";
6
6
  import { t as te } from "./channel-CPObtJXj.js";
7
7
  import { i as ne } from "./chunk-4HAMMTFA-D4eFPyFh.js";
8
- import { a as re, i as v, n as y, r as b } from "./mermaid-CHo49Yv-.js";
8
+ import { a as re, i as v, n as y, r as b } from "./mermaid-DKI0869I.js";
9
9
  import { t as x } from "./chunk-5VM5RSS4-DKsmPCL6.js";
10
10
  import { t as S } from "./chunk-F27PBJKO-ufseIn5y.js";
11
11
  import { t as C } from "./chunk-XXDRQBXY-Dnl5VBqG.js";
@@ -1,7 +1,7 @@
1
1
  import { n as e } from "./src-CA_m4ONl.js";
2
2
  import { n as t } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
3
3
  import { D as n, a as r, b as i, c as a, x as o, z as s } from "./chunk-DU6HZSFF-BwiyaNpg.js";
4
- import { p as c } from "./mermaid-CHo49Yv-.js";
4
+ import { p as c } from "./mermaid-DKI0869I.js";
5
5
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/chunk-SVP7TREG.mjs
6
6
  var l = "", u = "", d = "", f = [], p = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ t((e) => s(e, o()), "sanitizeText"), h = /* @__PURE__ */ t((e) => {
7
7
  switch (e.type) {
@@ -3,7 +3,7 @@ import { c as t, g as n } from "./chunk-75Z2AOVW-D7gxIs2Q.js";
3
3
  import { n as r, t as i } from "./src-CA_m4ONl.js";
4
4
  import { n as a } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
5
5
  import { H as o, K as s, M as c, U as l, a as u, s as d, v as f, w as p, x as m, y as h, z as g } from "./chunk-DU6HZSFF-BwiyaNpg.js";
6
- import { n as _, r as v } from "./mermaid-CHo49Yv-.js";
6
+ import { n as _, r as v } from "./mermaid-DKI0869I.js";
7
7
  import { t as y } from "./chunk-5VM5RSS4-DKsmPCL6.js";
8
8
  import { t as b } from "./chunk-F27PBJKO-ufseIn5y.js";
9
9
  import { t as x } from "./chunk-XXDRQBXY-Dnl5VBqG.js";
@@ -7015,7 +7015,7 @@ function $o(e) {
7015
7015
  return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
7016
7016
  }
7017
7017
  //#endregion
7018
- //#region ../node_modules/.pnpm/mdast-util-gfm-footnote@2.1.0/node_modules/mdast-util-gfm-footnote/lib/index.js
7018
+ //#region ../node_modules/.pnpm/mdast-util-gfm-footnote@2.1.0_supports-color@10.0.0/node_modules/mdast-util-gfm-footnote/lib/index.js
7019
7019
  ls.peek = cs;
7020
7020
  function es() {
7021
7021
  this.buffer();
@@ -7109,7 +7109,7 @@ function ps(e, t, n) {
7109
7109
  return (n ? "" : " ") + e;
7110
7110
  }
7111
7111
  //#endregion
7112
- //#region ../node_modules/.pnpm/mdast-util-gfm-strikethrough@2.0.0/node_modules/mdast-util-gfm-strikethrough/lib/index.js
7112
+ //#region ../node_modules/.pnpm/mdast-util-gfm-strikethrough@2.0.0_supports-color@10.0.0/node_modules/mdast-util-gfm-strikethrough/lib/index.js
7113
7113
  var ms = [
7114
7114
  "autolink",
7115
7115
  "destinationLiteral",
@@ -7787,7 +7787,7 @@ function Ac(e, t, n) {
7787
7787
  return Ec(n) || e;
7788
7788
  }
7789
7789
  //#endregion
7790
- //#region ../node_modules/.pnpm/mdast-util-gfm-table@2.0.0/node_modules/mdast-util-gfm-table/lib/index.js
7790
+ //#region ../node_modules/.pnpm/mdast-util-gfm-table@2.0.0_supports-color@10.0.0/node_modules/mdast-util-gfm-table/lib/index.js
7791
7791
  function jc() {
7792
7792
  return {
7793
7793
  enter: {
@@ -7920,7 +7920,7 @@ function zc(e) {
7920
7920
  }
7921
7921
  }
7922
7922
  //#endregion
7923
- //#region ../node_modules/.pnpm/mdast-util-gfm-task-list-item@2.0.0/node_modules/mdast-util-gfm-task-list-item/lib/index.js
7923
+ //#region ../node_modules/.pnpm/mdast-util-gfm-task-list-item@2.0.0_supports-color@10.0.0/node_modules/mdast-util-gfm-task-list-item/lib/index.js
7924
7924
  function Bc() {
7925
7925
  return { exit: {
7926
7926
  taskListCheckValueChecked: Hc,
@@ -7975,7 +7975,7 @@ function Wc(e, t, n, r) {
7975
7975
  }
7976
7976
  }
7977
7977
  //#endregion
7978
- //#region ../node_modules/.pnpm/mdast-util-gfm@3.1.0/node_modules/mdast-util-gfm/lib/index.js
7978
+ //#region ../node_modules/.pnpm/mdast-util-gfm@3.1.0_supports-color@10.0.0/node_modules/mdast-util-gfm/lib/index.js
7979
7979
  function Gc() {
7980
7980
  return [
7981
7981
  zo(),
@@ -10142,7 +10142,7 @@ function Ad(e) {
10142
10142
  ]);
10143
10143
  }
10144
10144
  //#endregion
10145
- //#region ../node_modules/.pnpm/remark-gfm@4.0.1/node_modules/remark-gfm/lib/index.js
10145
+ //#region ../node_modules/.pnpm/remark-gfm@4.0.1_supports-color@10.0.0/node_modules/remark-gfm/lib/index.js
10146
10146
  var jd = {};
10147
10147
  function Md(e) {
10148
10148
  let t = this, n = e || jd, r = t.data(), i = r.micromarkExtensions ||= [], a = r.fromMarkdownExtensions ||= [], o = r.toMarkdownExtensions ||= [];
@@ -12470,7 +12470,7 @@ var ih = class extends Error {
12470
12470
  };
12471
12471
  ih.prototype.file = "", ih.prototype.name = "", ih.prototype.reason = "", ih.prototype.message = "", ih.prototype.stack = "", ih.prototype.column = void 0, ih.prototype.line = void 0, ih.prototype.ancestors = void 0, ih.prototype.cause = void 0, ih.prototype.fatal = void 0, ih.prototype.place = void 0, ih.prototype.ruleId = void 0, ih.prototype.source = void 0;
12472
12472
  //#endregion
12473
- //#region ../node_modules/.pnpm/hast-util-to-jsx-runtime@2.3.6/node_modules/hast-util-to-jsx-runtime/lib/index.js
12473
+ //#region ../node_modules/.pnpm/hast-util-to-jsx-runtime@2.3.6_supports-color@10.0.0/node_modules/hast-util-to-jsx-runtime/lib/index.js
12474
12474
  var ah = {}.hasOwnProperty, oh = /* @__PURE__ */ new Map(), sh = /[A-Z]/g, ch = /* @__PURE__ */ new Set([
12475
12475
  "table",
12476
12476
  "tbody",
@@ -12775,7 +12775,7 @@ function Fh(e) {
12775
12775
  }
12776
12776
  }
12777
12777
  //#endregion
12778
- //#region ../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/document.js
12778
+ //#region ../node_modules/.pnpm/micromark@4.0.2_supports-color@10.0.0/node_modules/micromark/lib/initialize/document.js
12779
12779
  var Ih = { tokenize: Rh }, Lh = { tokenize: zh };
12780
12780
  function Rh(e) {
12781
12781
  let t = this, n = [], r = 0, i, a, o;
@@ -12873,7 +12873,7 @@ function zh(e, t, n) {
12873
12873
  return E(e, e.attempt(this.parser.constructs.document, t, n), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
12874
12874
  }
12875
12875
  //#endregion
12876
- //#region ../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/flow.js
12876
+ //#region ../node_modules/.pnpm/micromark@4.0.2_supports-color@10.0.0/node_modules/micromark/lib/initialize/flow.js
12877
12877
  var Bh = { tokenize: Vh };
12878
12878
  function Vh(e) {
12879
12879
  let t = this, n = e.attempt(jl, r, e.attempt(this.parser.constructs.flowInitial, i, E(e, e.attempt(this.parser.constructs.flow, i, e.attempt(ru, i)), "linePrefix")));
@@ -12894,7 +12894,7 @@ function Vh(e) {
12894
12894
  }
12895
12895
  }
12896
12896
  //#endregion
12897
- //#region ../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/text.js
12897
+ //#region ../node_modules/.pnpm/micromark@4.0.2_supports-color@10.0.0/node_modules/micromark/lib/initialize/text.js
12898
12898
  var Hh = { resolveAll: Kh() }, Uh = Gh("string"), Wh = Gh("text");
12899
12899
  function Gh(e) {
12900
12900
  return {
@@ -12979,7 +12979,7 @@ function qh(e, t) {
12979
12979
  return e;
12980
12980
  }
12981
12981
  //#endregion
12982
- //#region ../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/constructs.js
12982
+ //#region ../node_modules/.pnpm/micromark@4.0.2_supports-color@10.0.0/node_modules/micromark/lib/constructs.js
12983
12983
  var Jh = /* @__PURE__ */ t({
12984
12984
  attentionMarkers: () => ng,
12985
12985
  contentInitial: () => Xh,
@@ -13036,7 +13036,7 @@ var Jh = /* @__PURE__ */ t({
13036
13036
  96: Yl
13037
13037
  }, tg = { null: [Tl, Hh] }, ng = { null: [42, 95] }, rg = { null: [] };
13038
13038
  //#endregion
13039
- //#region ../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/create-tokenizer.js
13039
+ //#region ../node_modules/.pnpm/micromark@4.0.2_supports-color@10.0.0/node_modules/micromark/lib/create-tokenizer.js
13040
13040
  function ig(e, t, n) {
13041
13041
  let r = {
13042
13042
  _bufferIndex: -1,
@@ -13209,7 +13209,7 @@ function og(e, t) {
13209
13209
  return r.join("");
13210
13210
  }
13211
13211
  //#endregion
13212
- //#region ../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/parse.js
13212
+ //#region ../node_modules/.pnpm/micromark@4.0.2_supports-color@10.0.0/node_modules/micromark/lib/parse.js
13213
13213
  function sg(e) {
13214
13214
  let t = {
13215
13215
  constructs: Xc([Jh, ...(e || {}).extensions || []]),
@@ -13230,13 +13230,13 @@ function sg(e) {
13230
13230
  }
13231
13231
  }
13232
13232
  //#endregion
13233
- //#region ../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/postprocess.js
13233
+ //#region ../node_modules/.pnpm/micromark@4.0.2_supports-color@10.0.0/node_modules/micromark/lib/postprocess.js
13234
13234
  function cg(e) {
13235
13235
  for (; !tu(e););
13236
13236
  return e;
13237
13237
  }
13238
13238
  //#endregion
13239
- //#region ../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/preprocess.js
13239
+ //#region ../node_modules/.pnpm/micromark@4.0.2_supports-color@10.0.0/node_modules/micromark/lib/preprocess.js
13240
13240
  var lg = /[\0\t\n\r]/g;
13241
13241
  function ug() {
13242
13242
  let e = 1, t = "", n = !0, r;
@@ -13267,7 +13267,7 @@ function ug() {
13267
13267
  }
13268
13268
  }
13269
13269
  //#endregion
13270
- //#region ../node_modules/.pnpm/mdast-util-from-markdown@2.0.2/node_modules/mdast-util-from-markdown/lib/index.js
13270
+ //#region ../node_modules/.pnpm/mdast-util-from-markdown@2.0.2_supports-color@10.0.0/node_modules/mdast-util-from-markdown/lib/index.js
13271
13271
  var dg = {}.hasOwnProperty;
13272
13272
  function fg(e, t, n) {
13273
13273
  return typeof t != "string" && (n = t, t = void 0), pg(n)(cg(sg(n).document().write(ug()(e, t, !0))));
@@ -13814,7 +13814,7 @@ function _g(e, t) {
13814
13814
  }) + ") is still open");
13815
13815
  }
13816
13816
  //#endregion
13817
- //#region ../node_modules/.pnpm/remark-parse@11.0.0/node_modules/remark-parse/lib/index.js
13817
+ //#region ../node_modules/.pnpm/remark-parse@11.0.0_supports-color@10.0.0/node_modules/remark-parse/lib/index.js
13818
13818
  function vg(e) {
13819
13819
  let t = this;
13820
13820
  t.parser = n;
@@ -16406,7 +16406,7 @@ Z.options = Z.setOptions = function(e) {
16406
16406
  return _y.walkTokens(e, t);
16407
16407
  }, Z.parseInline = _y.parseInline, Z.Parser = hy, Z.parser = hy.parse, Z.Renderer = py, Z.TextRenderer = my, Z.Lexer = fy, Z.lexer = fy.lex, Z.Tokenizer = dy, Z.Hooks = gy, Z.parse = Z, Z.options, Z.setOptions, Z.use, Z.walkTokens, Z.parseInline, hy.parse, fy.lex;
16408
16408
  //#endregion
16409
- //#region ../node_modules/.pnpm/streamdown@2.6.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/streamdown/dist/chunk-YOKDWASO.js
16409
+ //#region ../node_modules/.pnpm/streamdown@2.6.0_react-dom@19.3.0_react@19.3.0__react@19.3.0_supports-color@10.0.0/node_modules/streamdown/dist/chunk-YOKDWASO.js
16410
16410
  var vy = 300, yy = "300px", by = 500;
16411
16411
  function xy(e = {}) {
16412
16412
  let { immediate: t = !1, debounceDelay: n = vy, rootMargin: r = yy, idleTimeout: i = by } = e, [a, o] = (0, N.useState)(!1), s = (0, N.useRef)(null), c = (0, N.useRef)(null), l = (0, N.useRef)(null), u = (0, N.useMemo)(() => (e) => {
@@ -16788,7 +16788,7 @@ var Yy = (0, N.createContext)(!1), Xy = () => (0, N.useContext)(Yy), Zy = (...e)
16788
16788
  let t = e.length;
16789
16789
  for (; t > 0 && e[t - 1] === "\n";) t--;
16790
16790
  return e.slice(0, t);
16791
- }, mb = (0, N.lazy)(() => import("./highlighted-body-KPVGNVTW-zwjq21tf.js").then((e) => ({ default: e.HighlightedCodeBlockBody }))), hb = ({ code: e, language: t, className: n, children: r, isIncomplete: i = !1, startLine: a, lineNumbers: o, ...s }) => {
16791
+ }, mb = (0, N.lazy)(() => import("./highlighted-body-KPVGNVTW-3Ziwfz-V.js").then((e) => ({ default: e.HighlightedCodeBlockBody }))), hb = ({ code: e, language: t, className: n, children: r, isIncomplete: i = !1, startLine: a, lineNumbers: o, ...s }) => {
16792
16792
  let c = Q(), { codeBlockMaxHeight: l } = (0, N.useContext)(WS), u = (0, N.useMemo)(() => pb(e), [e]), d = (0, N.useMemo)(() => ({
16793
16793
  bg: "transparent",
16794
16794
  fg: "inherit",
@@ -18101,7 +18101,7 @@ var Gb = (e) => {
18101
18101
  })
18102
18102
  })]
18103
18103
  });
18104
- }, tx = /startLine=(\d+)/, nx = /\bnoLineNumbers\b/, rx = (0, N.lazy)(() => import("./mermaid-HWGCJPDP-ByCsZnYF.js").then((e) => ({ default: e.Mermaid }))), ix = /language-([^\s]+)/, ax = "node";
18104
+ }, tx = /startLine=(\d+)/, nx = /\bnoLineNumbers\b/, rx = (0, N.lazy)(() => import("./mermaid-HWGCJPDP-Du3-HPQA.js").then((e) => ({ default: e.Mermaid }))), ix = /language-([^\s]+)/, ax = "node";
18105
18105
  function $(e, t) {
18106
18106
  let n = Object.keys(e);
18107
18107
  if (n.length !== Object.keys(t).length) return !1;
@@ -9,11 +9,11 @@ import "./chunk-4HAMMTFA-D4eFPyFh.js";
9
9
  import "./chunk-GVQU2GXP-Cwbt-lF0.js";
10
10
  import "./chunk-L3NEJ4N5-n-zgIVSy.js";
11
11
  import "./chunk-OSK3NFVY-DXa-Cxbn.js";
12
- import "./mermaid-CHo49Yv-.js";
12
+ import "./mermaid-DKI0869I.js";
13
13
  import "./chunk-F27PBJKO-ufseIn5y.js";
14
14
  import "./chunk-XXDRQBXY-Dnl5VBqG.js";
15
15
  import "./chunk-POPQ4Y6H-hYOXbYH_.js";
16
- import { i as t, n, r, t as i } from "./chunk-TICWLB2K-Cu_XMjDM.js";
16
+ import { i as t, n, r, t as i } from "./chunk-TICWLB2K-BkDFkh8q.js";
17
17
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-ZZMXUADV.mjs
18
18
  var a = {
19
19
  parser: n,
@@ -9,11 +9,11 @@ import "./chunk-4HAMMTFA-D4eFPyFh.js";
9
9
  import "./chunk-GVQU2GXP-Cwbt-lF0.js";
10
10
  import "./chunk-L3NEJ4N5-n-zgIVSy.js";
11
11
  import "./chunk-OSK3NFVY-DXa-Cxbn.js";
12
- import "./mermaid-CHo49Yv-.js";
12
+ import "./mermaid-DKI0869I.js";
13
13
  import "./chunk-F27PBJKO-ufseIn5y.js";
14
14
  import "./chunk-XXDRQBXY-Dnl5VBqG.js";
15
15
  import "./chunk-POPQ4Y6H-hYOXbYH_.js";
16
- import { i as t, n, r, t as i } from "./chunk-TICWLB2K-Cu_XMjDM.js";
16
+ import { i as t, n, r, t as i } from "./chunk-TICWLB2K-BkDFkh8q.js";
17
17
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-VYDZK3BY.mjs
18
18
  var a = {
19
19
  parser: n,
@@ -1,9 +1,9 @@
1
- import { g as e } from "./button-CvjkwdSk.js";
1
+ import { g as e } from "./button-BxB3RDjN.js";
2
2
  import { t } from "./compiler-runtime-CldRdSsv.js";
3
- import { G as n, q as r } from "./error-entries-DSvFWT_M.js";
4
- import { C as i } from "./select-BButFi-d.js";
5
- import { _ as a, c as o, x as s, y as c } from "./toDate-vIXljnsr.js";
6
- import { C as l, E as u, a as d, b as f } from "./useTheme-CRnjkku0.js";
3
+ import { G as n, K as r } from "./error-entries-CMNtA8NK.js";
4
+ import { C as i } from "./select-B0LRDH0g.js";
5
+ import { _ as a, c as o, x as s, y as c } from "./toDate-CjPuEPou.js";
6
+ import { C as l, E as u, a as d, b as f } from "./useTheme-DympCsQg.js";
7
7
  //#region src/core/islands/state.ts
8
8
  var p = t(), m = u(!1), h = u(/* @__PURE__ */ new Set()), g = u((e) => e(h)?.size === 0), _ = u(!1), v = u((e) => e(_) && e(m) === !1), y = u({
9
9
  isInstantiated: !1,
@@ -18,7 +18,7 @@ function x() {
18
18
  return e.warn("Failed to get version from mount config"), null;
19
19
  }
20
20
  }
21
- var S = x() || "0.25.3-dev6", C = u(S), w = u(!0);
21
+ var S = x() || "0.25.3-dev61", C = u(S), w = u(!0);
22
22
  u(null);
23
23
  //#endregion
24
24
  //#region src/core/wasm/state.ts