@loopstack/loopstack-studio 0.25.0 → 0.25.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1746) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +20 -0
  2. package/dist/api/auth.js +4 -2
  3. package/dist/api/client.js +9 -7
  4. package/dist/api/config.js +4 -2
  5. package/dist/api/dashboard.js +4 -2
  6. package/dist/api/documents.js +4 -2
  7. package/dist/api/index.js +21 -19
  8. package/dist/api/processor.js +4 -2
  9. package/dist/api/secrets.js +4 -2
  10. package/dist/api/workflows.js +4 -2
  11. package/dist/api/workspaces.js +4 -2
  12. package/dist/app/EnvironmentEmbedRoot.js +24 -31
  13. package/dist/components/ai-elements/code-block.js +53 -71
  14. package/dist/components/ai-elements/message.js +41 -82
  15. package/dist/components/ai-elements/prompt-input.js +162 -253
  16. package/dist/components/ai-elements/reasoning.js +78 -116
  17. package/dist/components/ai-elements/shimmer.js +23 -35
  18. package/dist/components/ai-elements/sources.js +29 -58
  19. package/dist/components/data-table/ConfirmDialog.js +14 -30
  20. package/dist/components/data-table/DataList.js +138 -198
  21. package/dist/components/data-table/DataTable.js +168 -234
  22. package/dist/components/data-table/DataTableBatchAction.js +18 -27
  23. package/dist/components/data-table/DataTableFilters.js +53 -78
  24. package/dist/components/data-table/DataTablePagination.js +72 -104
  25. package/dist/components/data-table/DataTableToolbar.js +53 -65
  26. package/dist/components/dynamic-form/ArrayController.js +85 -103
  27. package/dist/components/dynamic-form/CodeContent.js +28 -36
  28. package/dist/components/dynamic-form/Form.js +43 -56
  29. package/dist/components/dynamic-form/FormBody.js +12 -10
  30. package/dist/components/dynamic-form/FormElement.js +31 -41
  31. package/dist/components/dynamic-form/FormElementHeader.js +12 -20
  32. package/dist/components/dynamic-form/InputController.js +36 -38
  33. package/dist/components/dynamic-form/MarkdownContent.js +53 -74
  34. package/dist/components/dynamic-form/MermaidDiagram.js +22 -24
  35. package/dist/components/dynamic-form/ObjectController.js +24 -32
  36. package/dist/components/dynamic-form/fields/BaseFieldWrapper.js +35 -47
  37. package/dist/components/dynamic-form/fields/CheckboxField.js +39 -48
  38. package/dist/components/dynamic-form/fields/CodeViewField.js +42 -50
  39. package/dist/components/dynamic-form/fields/InputField.js +62 -90
  40. package/dist/components/dynamic-form/fields/MarkdownViewField.js +16 -19
  41. package/dist/components/dynamic-form/fields/RadioField.js +46 -62
  42. package/dist/components/dynamic-form/fields/SelectField.js +40 -58
  43. package/dist/components/dynamic-form/fields/SliderField.js +94 -100
  44. package/dist/components/dynamic-form/fields/SwitchField.js +42 -61
  45. package/dist/components/dynamic-form/fields/TextareaField.js +53 -72
  46. package/dist/components/dynamic-form/fields/utils/text-validation-utils.js +4 -2
  47. package/dist/components/dynamic-form/hooks/useArrayDefaultValue.js +6 -5
  48. package/dist/components/dynamic-form/hooks/useFieldConfig.js +19 -20
  49. package/dist/components/dynamic-form/hooks/useMergeParentKey.js +4 -2
  50. package/dist/components/dynamic-form/hooks/useSortPropertyNames.js +4 -2
  51. package/dist/components/feedback/ErrorAlert.js +11 -17
  52. package/dist/components/feedback/ErrorBoundary.js +16 -14
  53. package/dist/components/feedback/ErrorSnackbar.js +13 -30
  54. package/dist/components/feedback/LoadingCentered.js +15 -28
  55. package/dist/components/feedback/Snackbar.js +43 -44
  56. package/dist/components/feedback/index.js +5 -5
  57. package/dist/components/index.js +47 -47
  58. package/dist/components/layout/MainLayout.js +17 -25
  59. package/dist/components/layout/StudioSidebar.js +132 -202
  60. package/dist/components/lists/CustomListView.js +49 -74
  61. package/dist/components/lists/ListView.js +66 -102
  62. package/dist/components/loopstack-elements/link.js +65 -104
  63. package/dist/components/loopstack-elements/tool.js +70 -142
  64. package/dist/components/messages/CompletionMessagePaper.js +53 -85
  65. package/dist/components/page/PageBreadcrumbs.js +64 -83
  66. package/dist/components/ui/DiscordLogo.js +16 -22
  67. package/dist/components/ui/GoogleLogo.js +40 -44
  68. package/dist/components/ui/accordion.js +31 -52
  69. package/dist/components/ui/alert-dialog.js +59 -109
  70. package/dist/components/ui/alert.js +22 -36
  71. package/dist/components/ui/avatar.js +21 -35
  72. package/dist/components/ui/badge.js +13 -17
  73. package/dist/components/ui/breadcrumb.js +46 -82
  74. package/dist/components/ui/button-group.js +5 -5
  75. package/dist/components/ui/button.js +17 -21
  76. package/dist/components/ui/card.js +40 -74
  77. package/dist/components/ui/checkbox.js +17 -23
  78. package/dist/components/ui/collapsible.js +17 -25
  79. package/dist/components/ui/command.js +1 -2
  80. package/dist/components/ui/context-menu.js +32 -52
  81. package/dist/components/ui/dialog.js +62 -107
  82. package/dist/components/ui/drawer.js +54 -99
  83. package/dist/components/ui/dropdown-menu.js +91 -159
  84. package/dist/components/ui/hover-card.js +1 -2
  85. package/dist/components/ui/input-group.js +36 -56
  86. package/dist/components/ui/input.js +11 -15
  87. package/dist/components/ui/label.js +11 -15
  88. package/dist/components/ui/popover.js +25 -38
  89. package/dist/components/ui/radio-group.js +22 -33
  90. package/dist/components/ui/scroll-area.js +28 -43
  91. package/dist/components/ui/select.js +73 -134
  92. package/dist/components/ui/separator.js +13 -17
  93. package/dist/components/ui/sheet.js +60 -105
  94. package/dist/components/ui/sidebar.js +269 -451
  95. package/dist/components/ui/skeleton.js +10 -14
  96. package/dist/components/ui/slider.js +17 -15
  97. package/dist/components/ui/switch.js +15 -21
  98. package/dist/components/ui/table.js +46 -85
  99. package/dist/components/ui/tabs.js +26 -45
  100. package/dist/components/ui/textarea.js +10 -14
  101. package/dist/components/ui/tooltip.js +26 -41
  102. package/dist/components/ui-widgets/UiActions.js +30 -37
  103. package/dist/components/ui-widgets/UiWidget.js +34 -46
  104. package/dist/components/ui-widgets/widgets/AiPromptInput.js +28 -42
  105. package/dist/components/ui-widgets/widgets/ButtonFullWidth.js +16 -21
  106. package/dist/components/ui-widgets/widgets/SandboxRun.js +19 -26
  107. package/dist/components/ui-widgets/widgets/SubmitButton.js +15 -20
  108. package/dist/events/api-client-events.js +4 -2
  109. package/dist/events/sse-client-events.js +4 -2
  110. package/dist/features/code-explorer/CodeExplorer.js +1 -2
  111. package/dist/features/code-explorer/components/CodeExplorerTree.js +2 -2
  112. package/dist/features/code-explorer/components/CodeExplorerTreeNode.js +31 -29
  113. package/dist/features/code-explorer/components/FileContentViewer.js +108 -148
  114. package/dist/features/code-explorer/components/FileTabsBar.js +1 -2
  115. package/dist/features/code-explorer/components/FileTabsBarBase.js +134 -169
  116. package/dist/features/code-explorer/index.js +1 -1
  117. package/dist/features/code-explorer/providers/CodeExplorerProvider.js +4 -4
  118. package/dist/features/code-explorer/utils/fileIcons.js +41 -39
  119. package/dist/features/dashboard/Dashboard.js +79 -121
  120. package/dist/features/dashboard/RunItem.js +50 -68
  121. package/dist/features/dashboard/RunList.js +17 -28
  122. package/dist/features/debug/components/ConfigFlowViewer.js +49 -67
  123. package/dist/features/debug/components/WorkflowDebugHeader.js +30 -46
  124. package/dist/features/debug/components/WorkflowDebugLegend.js +56 -68
  125. package/dist/features/debug/components/WorkflowFlowViewer.js +76 -96
  126. package/dist/features/debug/components/workflow-flow/StateNode.js +73 -102
  127. package/dist/features/debug/components/workflow-flow/WorkflowGraph.js +35 -40
  128. package/dist/features/debug/components/workflow-flow/WorkflowTransitionEdge.js +61 -94
  129. package/dist/features/debug/index.js +3 -3
  130. package/dist/features/debug/lib/edge-paths.js +33 -31
  131. package/dist/features/debug/lib/flow-utils.js +147 -145
  132. package/dist/features/documents/DocumentRenderer.js +73 -77
  133. package/dist/features/documents/components/DocumentItem.js +21 -24
  134. package/dist/features/documents/components/DocumentList.js +39 -45
  135. package/dist/features/documents/components/DocumentMetadataPills.js +44 -59
  136. package/dist/features/documents/document-details/DocumentDetails.js +298 -413
  137. package/dist/features/documents/document-details/PromptDetails.js +105 -142
  138. package/dist/features/documents/index.js +4 -4
  139. package/dist/features/documents/renderers/AiMessage.js +39 -48
  140. package/dist/features/documents/renderers/AiMessageContent.js +108 -164
  141. package/dist/features/documents/renderers/ChoicesRenderer.js +77 -89
  142. package/dist/features/documents/renderers/ClaudeMessage.js +74 -91
  143. package/dist/features/documents/renderers/ConfirmPromptRenderer.js +44 -53
  144. package/dist/features/documents/renderers/DocumentDebugRenderer.js +26 -30
  145. package/dist/features/documents/renderers/DocumentFormRenderer.js +69 -85
  146. package/dist/features/documents/renderers/DocumentMessageRenderer.js +10 -9
  147. package/dist/features/documents/renderers/ErrorMessageRenderer.js +11 -13
  148. package/dist/features/documents/renderers/LinkMessageRenderer.js +15 -14
  149. package/dist/features/documents/renderers/MarkdownMessageRenderer.js +8 -10
  150. package/dist/features/documents/renderers/PlainMessageRenderer.js +7 -9
  151. package/dist/features/documents/renderers/SecretInputRenderer.js +37 -35
  152. package/dist/features/documents/renderers/TextPromptRenderer.js +45 -54
  153. package/dist/features/documents/renderers/useDocumentTransition.js +9 -7
  154. package/dist/features/health/LocalHealthCheck.js +54 -53
  155. package/dist/features/health/index.js +1 -1
  156. package/dist/features/oauth/OAuthCallbackPage.js +2 -2
  157. package/dist/features/oauth/OAuthPromptRenderer.js +148 -197
  158. package/dist/features/oauth/index.js +2 -2
  159. package/dist/features/oauth/useOAuthPopup.js +52 -71
  160. package/dist/features/runs/Runs.js +145 -187
  161. package/dist/features/workbench/Workbench.js +72 -98
  162. package/dist/features/workbench/WorkflowItem.js +49 -68
  163. package/dist/features/workbench/WorkflowList.js +51 -66
  164. package/dist/features/workbench/components/NewRunDialog.js +212 -309
  165. package/dist/features/workbench/components/RemoteFileTabsBar.js +18 -17
  166. package/dist/features/workbench/components/RemoteFileTree.js +54 -85
  167. package/dist/features/workbench/components/WorkbenchFilesPanel.js +52 -63
  168. package/dist/features/workbench/components/WorkbenchFloatingPanel.js +34 -51
  169. package/dist/features/workbench/components/WorkbenchFlowPanel.js +35 -44
  170. package/dist/features/workbench/components/WorkbenchIconSidebar.js +50 -68
  171. package/dist/features/workbench/components/WorkbenchPreviewPanel.js +51 -49
  172. package/dist/features/workbench/components/WorkbenchSecretsPanel.js +143 -172
  173. package/dist/features/workbench/components/WorkbenchSettingsModal.js +49 -60
  174. package/dist/features/workbench/components/WorkflowForms.js +17 -23
  175. package/dist/features/workbench/components/WorkflowHistoryItem.js +96 -122
  176. package/dist/features/workbench/components/WorkflowHistoryList.js +31 -54
  177. package/dist/features/workbench/components/buttons/WorkflowButtons.js +70 -99
  178. package/dist/features/workbench/hooks/useAutoScrollBottom.js +21 -25
  179. package/dist/features/workbench/hooks/useScrollToListItem.js +20 -21
  180. package/dist/features/workbench/hooks/useWorkflowData.js +31 -44
  181. package/dist/features/workbench/hooks/useWorkflowListState.js +13 -12
  182. package/dist/features/workbench/index.js +7 -7
  183. package/dist/features/workbench/providers/RemoteFileExplorerProvider.js +123 -138
  184. package/dist/features/workbench/providers/ScrollProvider.js +15 -19
  185. package/dist/features/workbench/providers/WorkbenchLayoutProvider.js +76 -75
  186. package/dist/features/workspaces/Workspaces.js +161 -226
  187. package/dist/features/workspaces/components/CreateWorkspace.js +137 -194
  188. package/dist/features/workspaces/components/EnvironmentSlotSelector.js +27 -25
  189. package/dist/features/workspaces/components/ExecutionTimeline.js +143 -185
  190. package/dist/features/workspaces/components/NewWorkflowRunDialog.js +18 -26
  191. package/dist/features/workspaces/components/WorkflowRunForm.js +85 -133
  192. package/dist/features/workspaces/components/WorkspaceHomePage.js +59 -80
  193. package/dist/features/workspaces/components/workflow-form/ArgumentsView.js +52 -69
  194. package/dist/features/workspaces/components/workflow-form/HeaderSection.js +27 -41
  195. package/dist/features/workspaces/components/workflow-form/SelectionView.js +64 -103
  196. package/dist/features/workspaces/index.js +3 -3
  197. package/dist/frontend/studio/node_modules/lodash/_Symbol.js +9 -0
  198. package/dist/frontend/studio/node_modules/lodash/_baseGetTag.js +15 -0
  199. package/dist/frontend/studio/node_modules/lodash/_baseTrim.js +13 -0
  200. package/dist/frontend/studio/node_modules/lodash/_freeGlobal.js +8 -0
  201. package/dist/frontend/studio/node_modules/lodash/_getRawTag.js +19 -0
  202. package/dist/frontend/studio/node_modules/lodash/_objectToString.js +12 -0
  203. package/dist/frontend/studio/node_modules/lodash/_root.js +10 -0
  204. package/dist/frontend/studio/node_modules/lodash/_trimmedEndIndex.js +13 -0
  205. package/dist/{node_modules → frontend/studio/node_modules}/lodash/debounce.js +10 -8
  206. package/dist/frontend/studio/node_modules/lodash/isObject.js +12 -0
  207. package/dist/frontend/studio/node_modules/lodash/isObjectLike.js +11 -0
  208. package/dist/frontend/studio/node_modules/lodash/isSymbol.js +14 -0
  209. package/dist/frontend/studio/node_modules/lodash/now.js +12 -0
  210. package/dist/frontend/studio/node_modules/lodash/toNumber.js +24 -0
  211. package/dist/hooks/index.js +6 -6
  212. package/dist/hooks/query-keys.js +33 -31
  213. package/dist/hooks/use-mobile.js +12 -11
  214. package/dist/hooks/useApi.js +16 -14
  215. package/dist/hooks/useAuth.js +38 -53
  216. package/dist/hooks/useConfig.js +26 -37
  217. package/dist/hooks/useDashboard.js +12 -15
  218. package/dist/hooks/useDebounce.js +12 -11
  219. package/dist/hooks/useDocuments.js +23 -35
  220. package/dist/hooks/useFiles.js +1 -2
  221. package/dist/hooks/useProcessor.js +14 -17
  222. package/dist/hooks/useSecrets.js +45 -64
  223. package/dist/hooks/useWorkflows.js +109 -161
  224. package/dist/hooks/useWorkspaces.js +83 -123
  225. package/dist/index.d.ts +0 -1304
  226. package/dist/index.js +80 -80
  227. package/dist/lib/requireParam.js +4 -2
  228. package/dist/lib/utils.js +7 -5
  229. package/dist/loopstack-studio.css +1 -1
  230. package/dist/node_modules/@braintree/sanitize-url/dist/constants.js +6 -4
  231. package/dist/node_modules/@braintree/sanitize-url/dist/index.js +8 -6
  232. package/dist/node_modules/@chevrotain/gast/lib/src/helpers.js +19 -20
  233. package/dist/node_modules/@chevrotain/gast/lib/src/model.js +87 -88
  234. package/dist/node_modules/@chevrotain/gast/lib/src/visitor.js +16 -13
  235. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/api.js +2 -2
  236. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.js +4 -2
  237. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.js +36 -34
  238. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.js +138 -110
  239. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.js +13 -11
  240. package/dist/node_modules/@chevrotain/utils/lib/src/print.js +5 -3
  241. package/dist/node_modules/@chevrotain/utils/lib/src/timer.js +4 -2
  242. package/dist/node_modules/@chevrotain/utils/lib/src/to-fast-properties.js +4 -2
  243. package/dist/node_modules/@dagrejs/dagre/dist/dagre.esm.js +1812 -1913
  244. package/dist/node_modules/@iconify/utils/lib/customisations/defaults.js +8 -6
  245. package/dist/node_modules/@iconify/utils/lib/icon/defaults.js +10 -8
  246. package/dist/node_modules/@iconify/utils/lib/icon/merge.js +8 -6
  247. package/dist/node_modules/@iconify/utils/lib/icon/name.js +8 -6
  248. package/dist/node_modules/@iconify/utils/lib/icon/transformations.js +4 -2
  249. package/dist/node_modules/@iconify/utils/lib/icon-set/get-icon.js +12 -10
  250. package/dist/node_modules/@iconify/utils/lib/icon-set/tree.js +4 -2
  251. package/dist/node_modules/@iconify/utils/lib/svg/build.js +20 -18
  252. package/dist/node_modules/@iconify/utils/lib/svg/defs.js +8 -6
  253. package/dist/node_modules/@iconify/utils/lib/svg/html.js +4 -2
  254. package/dist/node_modules/@iconify/utils/lib/svg/id.js +10 -8
  255. package/dist/node_modules/@iconify/utils/lib/svg/size.js +7 -5
  256. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-YZFGNWBL.js +3 -0
  257. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2KRD3SAO.js +26 -0
  258. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-67CJDMHE.js +26 -0
  259. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-7N4EOEYR.js +38 -0
  260. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-AA7GKIK3.js +33 -0
  261. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-CIAEETIT.js +26 -0
  262. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FOC6F5B3.js +26 -0
  263. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-K5T4RW27.js +1208 -0
  264. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KGLVRYIC.js +26 -0
  265. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-LIHQZDEY.js +67 -0
  266. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ORNJ4GCN.js +34 -0
  267. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-7Q5UKJZL.js +3 -0
  268. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-OMHHGYJF.js +3 -0
  269. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-4T2RLAQJ.js +3 -0
  270. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-ZZUOXDRM.js +3 -0
  271. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-PYXPWWZC.js +3 -0
  272. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treeView-SZITEDCU.js +3 -0
  273. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-W4RFUUIX.js +3 -0
  274. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-RL74JXVD.js +3 -0
  275. package/dist/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +59 -45
  276. package/dist/node_modules/@shikijs/core/dist/index.js +583 -1119
  277. package/dist/node_modules/@shikijs/engine-oniguruma/dist/index.js +163 -148
  278. package/dist/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.js +4 -2
  279. package/dist/node_modules/@shikijs/langs/dist/abap.js +3 -2
  280. package/dist/node_modules/@shikijs/langs/dist/actionscript-3.js +3 -2
  281. package/dist/node_modules/@shikijs/langs/dist/ada.js +3 -2
  282. package/dist/node_modules/@shikijs/langs/dist/angular-expression.js +3 -2
  283. package/dist/node_modules/@shikijs/langs/dist/angular-html.js +15 -13
  284. package/dist/node_modules/@shikijs/langs/dist/angular-inline-style.js +5 -3
  285. package/dist/node_modules/@shikijs/langs/dist/angular-inline-template.js +9 -7
  286. package/dist/node_modules/@shikijs/langs/dist/angular-let-declaration.js +5 -3
  287. package/dist/node_modules/@shikijs/langs/dist/angular-template-blocks.js +9 -7
  288. package/dist/node_modules/@shikijs/langs/dist/angular-template.js +5 -3
  289. package/dist/node_modules/@shikijs/langs/dist/angular-ts.js +17 -15
  290. package/dist/node_modules/@shikijs/langs/dist/apache.js +3 -2
  291. package/dist/node_modules/@shikijs/langs/dist/apex.js +3 -2
  292. package/dist/node_modules/@shikijs/langs/dist/apl.js +15 -13
  293. package/dist/node_modules/@shikijs/langs/dist/applescript.js +3 -2
  294. package/dist/node_modules/@shikijs/langs/dist/ara.js +3 -2
  295. package/dist/node_modules/@shikijs/langs/dist/asciidoc.js +3 -2
  296. package/dist/node_modules/@shikijs/langs/dist/asm.js +3 -2
  297. package/dist/node_modules/@shikijs/langs/dist/astro.js +17 -15
  298. package/dist/node_modules/@shikijs/langs/dist/awk.js +3 -2
  299. package/dist/node_modules/@shikijs/langs/dist/ballerina.js +3 -2
  300. package/dist/node_modules/@shikijs/langs/dist/bat.js +3 -2
  301. package/dist/node_modules/@shikijs/langs/dist/beancount.js +3 -2
  302. package/dist/node_modules/@shikijs/langs/dist/berry.js +3 -2
  303. package/dist/node_modules/@shikijs/langs/dist/bibtex.js +3 -2
  304. package/dist/node_modules/@shikijs/langs/dist/bicep.js +3 -2
  305. package/dist/node_modules/@shikijs/langs/dist/bird2.js +3 -2
  306. package/dist/node_modules/@shikijs/langs/dist/blade.js +19 -17
  307. package/dist/node_modules/@shikijs/langs/dist/bsl.js +5 -3
  308. package/dist/node_modules/@shikijs/langs/dist/c.js +3 -2
  309. package/dist/node_modules/@shikijs/langs/dist/c3.js +3 -2
  310. package/dist/node_modules/@shikijs/langs/dist/cadence.js +3 -2
  311. package/dist/node_modules/@shikijs/langs/dist/cairo.js +5 -3
  312. package/dist/node_modules/@shikijs/langs/dist/clarity.js +3 -2
  313. package/dist/node_modules/@shikijs/langs/dist/clojure.js +3 -2
  314. package/dist/node_modules/@shikijs/langs/dist/cmake.js +3 -2
  315. package/dist/node_modules/@shikijs/langs/dist/cobol.js +9 -7
  316. package/dist/node_modules/@shikijs/langs/dist/codeowners.js +3 -2
  317. package/dist/node_modules/@shikijs/langs/dist/codeql.js +3 -2
  318. package/dist/node_modules/@shikijs/langs/dist/coffee.js +5 -3
  319. package/dist/node_modules/@shikijs/langs/dist/common-lisp.js +3 -2
  320. package/dist/node_modules/@shikijs/langs/dist/coq.js +3 -2
  321. package/dist/node_modules/@shikijs/langs/dist/cpp-macro.js +11 -9
  322. package/dist/node_modules/@shikijs/langs/dist/cpp.js +13 -11
  323. package/dist/node_modules/@shikijs/langs/dist/crystal.js +17 -15
  324. package/dist/node_modules/@shikijs/langs/dist/csharp.js +3 -2
  325. package/dist/node_modules/@shikijs/langs/dist/css.js +3 -2
  326. package/dist/node_modules/@shikijs/langs/dist/csv.js +3 -2
  327. package/dist/node_modules/@shikijs/langs/dist/cue.js +3 -2
  328. package/dist/node_modules/@shikijs/langs/dist/cypher.js +3 -2
  329. package/dist/node_modules/@shikijs/langs/dist/d.js +3 -2
  330. package/dist/node_modules/@shikijs/langs/dist/dart.js +3 -2
  331. package/dist/node_modules/@shikijs/langs/dist/dax.js +3 -2
  332. package/dist/node_modules/@shikijs/langs/dist/desktop.js +3 -2
  333. package/dist/node_modules/@shikijs/langs/dist/diff.js +3 -2
  334. package/dist/node_modules/@shikijs/langs/dist/docker.js +3 -2
  335. package/dist/node_modules/@shikijs/langs/dist/dotenv.js +3 -2
  336. package/dist/node_modules/@shikijs/langs/dist/dream-maker.js +3 -2
  337. package/dist/node_modules/@shikijs/langs/dist/edge.js +11 -9
  338. package/dist/node_modules/@shikijs/langs/dist/elixir.js +5 -3
  339. package/dist/node_modules/@shikijs/langs/dist/elm.js +5 -3
  340. package/dist/node_modules/@shikijs/langs/dist/emacs-lisp.js +3 -2
  341. package/dist/node_modules/@shikijs/langs/dist/erb.js +9 -7
  342. package/dist/node_modules/@shikijs/langs/dist/erlang.js +5 -3
  343. package/dist/node_modules/@shikijs/langs/dist/es-tag-css.js +11 -9
  344. package/dist/node_modules/@shikijs/langs/dist/es-tag-glsl.js +11 -9
  345. package/dist/node_modules/@shikijs/langs/dist/es-tag-html.js +11 -9
  346. package/dist/node_modules/@shikijs/langs/dist/es-tag-sql.js +9 -7
  347. package/dist/node_modules/@shikijs/langs/dist/es-tag-xml.js +5 -3
  348. package/dist/node_modules/@shikijs/langs/dist/fennel.js +3 -2
  349. package/dist/node_modules/@shikijs/langs/dist/fish.js +3 -2
  350. package/dist/node_modules/@shikijs/langs/dist/fluent.js +3 -2
  351. package/dist/node_modules/@shikijs/langs/dist/fortran-fixed-form.js +5 -3
  352. package/dist/node_modules/@shikijs/langs/dist/fortran-free-form.js +3 -2
  353. package/dist/node_modules/@shikijs/langs/dist/fsharp.js +5 -3
  354. package/dist/node_modules/@shikijs/langs/dist/gdresource.js +9 -7
  355. package/dist/node_modules/@shikijs/langs/dist/gdscript.js +3 -2
  356. package/dist/node_modules/@shikijs/langs/dist/gdshader.js +3 -2
  357. package/dist/node_modules/@shikijs/langs/dist/genie.js +3 -2
  358. package/dist/node_modules/@shikijs/langs/dist/gherkin.js +3 -2
  359. package/dist/node_modules/@shikijs/langs/dist/git-commit.js +5 -3
  360. package/dist/node_modules/@shikijs/langs/dist/git-rebase.js +5 -3
  361. package/dist/node_modules/@shikijs/langs/dist/gleam.js +3 -2
  362. package/dist/node_modules/@shikijs/langs/dist/glimmer-js.js +13 -11
  363. package/dist/node_modules/@shikijs/langs/dist/glimmer-ts.js +13 -11
  364. package/dist/node_modules/@shikijs/langs/dist/glsl.js +5 -3
  365. package/dist/node_modules/@shikijs/langs/dist/gn.js +3 -2
  366. package/dist/node_modules/@shikijs/langs/dist/gnuplot.js +3 -2
  367. package/dist/node_modules/@shikijs/langs/dist/go.js +3 -2
  368. package/dist/node_modules/@shikijs/langs/dist/graphql.js +13 -11
  369. package/dist/node_modules/@shikijs/langs/dist/groovy.js +3 -2
  370. package/dist/node_modules/@shikijs/langs/dist/hack.js +9 -7
  371. package/dist/node_modules/@shikijs/langs/dist/haml.js +9 -7
  372. package/dist/node_modules/@shikijs/langs/dist/handlebars.js +13 -11
  373. package/dist/node_modules/@shikijs/langs/dist/haskell.js +3 -2
  374. package/dist/node_modules/@shikijs/langs/dist/haxe.js +3 -2
  375. package/dist/node_modules/@shikijs/langs/dist/hcl.js +3 -2
  376. package/dist/node_modules/@shikijs/langs/dist/hjson.js +3 -2
  377. package/dist/node_modules/@shikijs/langs/dist/hlsl.js +3 -2
  378. package/dist/node_modules/@shikijs/langs/dist/html-derivative.js +5 -3
  379. package/dist/node_modules/@shikijs/langs/dist/html.js +9 -7
  380. package/dist/node_modules/@shikijs/langs/dist/http.js +13 -11
  381. package/dist/node_modules/@shikijs/langs/dist/hurl.js +11 -9
  382. package/dist/node_modules/@shikijs/langs/dist/hxml.js +5 -3
  383. package/dist/node_modules/@shikijs/langs/dist/hy.js +3 -2
  384. package/dist/node_modules/@shikijs/langs/dist/imba.js +3 -2
  385. package/dist/node_modules/@shikijs/langs/dist/ini.js +3 -2
  386. package/dist/node_modules/@shikijs/langs/dist/java.js +3 -2
  387. package/dist/node_modules/@shikijs/langs/dist/javascript.js +3 -2
  388. package/dist/node_modules/@shikijs/langs/dist/jinja-html.js +5 -3
  389. package/dist/node_modules/@shikijs/langs/dist/jinja.js +5 -3
  390. package/dist/node_modules/@shikijs/langs/dist/jison.js +5 -3
  391. package/dist/node_modules/@shikijs/langs/dist/json.js +3 -2
  392. package/dist/node_modules/@shikijs/langs/dist/json5.js +3 -2
  393. package/dist/node_modules/@shikijs/langs/dist/jsonc.js +3 -2
  394. package/dist/node_modules/@shikijs/langs/dist/jsonl.js +3 -2
  395. package/dist/node_modules/@shikijs/langs/dist/jsonnet.js +3 -2
  396. package/dist/node_modules/@shikijs/langs/dist/jssm.js +3 -2
  397. package/dist/node_modules/@shikijs/langs/dist/jsx.js +3 -2
  398. package/dist/node_modules/@shikijs/langs/dist/julia.js +15 -13
  399. package/dist/node_modules/@shikijs/langs/dist/just.js +17 -15
  400. package/dist/node_modules/@shikijs/langs/dist/kdl.js +3 -2
  401. package/dist/node_modules/@shikijs/langs/dist/kotlin.js +3 -2
  402. package/dist/node_modules/@shikijs/langs/dist/kusto.js +3 -2
  403. package/dist/node_modules/@shikijs/langs/dist/latex.js +5 -3
  404. package/dist/node_modules/@shikijs/langs/dist/lean.js +3 -2
  405. package/dist/node_modules/@shikijs/langs/dist/less.js +3 -2
  406. package/dist/node_modules/@shikijs/langs/dist/liquid.js +13 -11
  407. package/dist/node_modules/@shikijs/langs/dist/llvm.js +3 -2
  408. package/dist/node_modules/@shikijs/langs/dist/log.js +3 -2
  409. package/dist/node_modules/@shikijs/langs/dist/logo.js +3 -2
  410. package/dist/node_modules/@shikijs/langs/dist/lua.js +5 -3
  411. package/dist/node_modules/@shikijs/langs/dist/luau.js +3 -2
  412. package/dist/node_modules/@shikijs/langs/dist/make.js +3 -2
  413. package/dist/node_modules/@shikijs/langs/dist/markdown-nix.js +3 -2
  414. package/dist/node_modules/@shikijs/langs/dist/markdown-vue.js +3 -2
  415. package/dist/node_modules/@shikijs/langs/dist/markdown.js +3 -2
  416. package/dist/node_modules/@shikijs/langs/dist/marko.js +13 -11
  417. package/dist/node_modules/@shikijs/langs/dist/matlab.js +3 -2
  418. package/dist/node_modules/@shikijs/langs/dist/mdc.js +11 -9
  419. package/dist/node_modules/@shikijs/langs/dist/mdx.js +3 -2
  420. package/dist/node_modules/@shikijs/langs/dist/mermaid.js +3 -2
  421. package/dist/node_modules/@shikijs/langs/dist/mipsasm.js +3 -2
  422. package/dist/node_modules/@shikijs/langs/dist/mojo.js +3 -2
  423. package/dist/node_modules/@shikijs/langs/dist/moonbit.js +3 -2
  424. package/dist/node_modules/@shikijs/langs/dist/move.js +3 -2
  425. package/dist/node_modules/@shikijs/langs/dist/narrat.js +3 -2
  426. package/dist/node_modules/@shikijs/langs/dist/nextflow-groovy.js +3 -2
  427. package/dist/node_modules/@shikijs/langs/dist/nextflow.js +5 -3
  428. package/dist/node_modules/@shikijs/langs/dist/nginx.js +5 -3
  429. package/dist/node_modules/@shikijs/langs/dist/nim.js +19 -17
  430. package/dist/node_modules/@shikijs/langs/dist/nix.js +5 -3
  431. package/dist/node_modules/@shikijs/langs/dist/nushell.js +3 -2
  432. package/dist/node_modules/@shikijs/langs/dist/objective-c.js +3 -2
  433. package/dist/node_modules/@shikijs/langs/dist/objective-cpp.js +3 -2
  434. package/dist/node_modules/@shikijs/langs/dist/ocaml.js +3 -2
  435. package/dist/node_modules/@shikijs/langs/dist/odin.js +3 -2
  436. package/dist/node_modules/@shikijs/langs/dist/openscad.js +3 -2
  437. package/dist/node_modules/@shikijs/langs/dist/pascal.js +3 -2
  438. package/dist/node_modules/@shikijs/langs/dist/perl.js +15 -13
  439. package/dist/node_modules/@shikijs/langs/dist/php.js +17 -15
  440. package/dist/node_modules/@shikijs/langs/dist/pkl.js +3 -2
  441. package/dist/node_modules/@shikijs/langs/dist/plsql.js +3 -2
  442. package/dist/node_modules/@shikijs/langs/dist/po.js +3 -2
  443. package/dist/node_modules/@shikijs/langs/dist/polar.js +3 -2
  444. package/dist/node_modules/@shikijs/langs/dist/postcss.js +3 -2
  445. package/dist/node_modules/@shikijs/langs/dist/powerquery.js +3 -2
  446. package/dist/node_modules/@shikijs/langs/dist/powershell.js +3 -2
  447. package/dist/node_modules/@shikijs/langs/dist/prisma.js +3 -2
  448. package/dist/node_modules/@shikijs/langs/dist/prolog.js +3 -2
  449. package/dist/node_modules/@shikijs/langs/dist/proto.js +3 -2
  450. package/dist/node_modules/@shikijs/langs/dist/pug.js +11 -9
  451. package/dist/node_modules/@shikijs/langs/dist/puppet.js +3 -2
  452. package/dist/node_modules/@shikijs/langs/dist/purescript.js +3 -2
  453. package/dist/node_modules/@shikijs/langs/dist/python.js +3 -2
  454. package/dist/node_modules/@shikijs/langs/dist/qml.js +5 -3
  455. package/dist/node_modules/@shikijs/langs/dist/qmldir.js +3 -2
  456. package/dist/node_modules/@shikijs/langs/dist/qss.js +3 -2
  457. package/dist/node_modules/@shikijs/langs/dist/r.js +3 -2
  458. package/dist/node_modules/@shikijs/langs/dist/racket.js +3 -2
  459. package/dist/node_modules/@shikijs/langs/dist/raku.js +3 -2
  460. package/dist/node_modules/@shikijs/langs/dist/razor.js +9 -7
  461. package/dist/node_modules/@shikijs/langs/dist/reg.js +3 -2
  462. package/dist/node_modules/@shikijs/langs/dist/regexp.js +3 -2
  463. package/dist/node_modules/@shikijs/langs/dist/rel.js +3 -2
  464. package/dist/node_modules/@shikijs/langs/dist/riscv.js +3 -2
  465. package/dist/node_modules/@shikijs/langs/dist/ron.js +3 -2
  466. package/dist/node_modules/@shikijs/langs/dist/rosmsg.js +3 -2
  467. package/dist/node_modules/@shikijs/langs/dist/rst.js +21 -19
  468. package/dist/node_modules/@shikijs/langs/dist/ruby.js +29 -27
  469. package/dist/node_modules/@shikijs/langs/dist/rust.js +3 -2
  470. package/dist/node_modules/@shikijs/langs/dist/sas.js +5 -3
  471. package/dist/node_modules/@shikijs/langs/dist/sass.js +3 -2
  472. package/dist/node_modules/@shikijs/langs/dist/scala.js +3 -2
  473. package/dist/node_modules/@shikijs/langs/dist/scheme.js +3 -2
  474. package/dist/node_modules/@shikijs/langs/dist/scss.js +5 -3
  475. package/dist/node_modules/@shikijs/langs/dist/sdbl.js +3 -2
  476. package/dist/node_modules/@shikijs/langs/dist/shaderlab.js +5 -3
  477. package/dist/node_modules/@shikijs/langs/dist/shellscript.js +3 -2
  478. package/dist/node_modules/@shikijs/langs/dist/shellsession.js +5 -3
  479. package/dist/node_modules/@shikijs/langs/dist/smalltalk.js +3 -2
  480. package/dist/node_modules/@shikijs/langs/dist/solidity.js +3 -2
  481. package/dist/node_modules/@shikijs/langs/dist/soy.js +5 -3
  482. package/dist/node_modules/@shikijs/langs/dist/sparql.js +5 -3
  483. package/dist/node_modules/@shikijs/langs/dist/splunk.js +3 -2
  484. package/dist/node_modules/@shikijs/langs/dist/sql.js +3 -2
  485. package/dist/node_modules/@shikijs/langs/dist/ssh-config.js +3 -2
  486. package/dist/node_modules/@shikijs/langs/dist/stata.js +5 -3
  487. package/dist/node_modules/@shikijs/langs/dist/stylus.js +3 -2
  488. package/dist/node_modules/@shikijs/langs/dist/surrealql.js +5 -3
  489. package/dist/node_modules/@shikijs/langs/dist/svelte.js +13 -11
  490. package/dist/node_modules/@shikijs/langs/dist/swift.js +3 -2
  491. package/dist/node_modules/@shikijs/langs/dist/system-verilog.js +3 -2
  492. package/dist/node_modules/@shikijs/langs/dist/systemd.js +3 -2
  493. package/dist/node_modules/@shikijs/langs/dist/talonscript.js +3 -2
  494. package/dist/node_modules/@shikijs/langs/dist/tasl.js +3 -2
  495. package/dist/node_modules/@shikijs/langs/dist/tcl.js +3 -2
  496. package/dist/node_modules/@shikijs/langs/dist/templ.js +11 -9
  497. package/dist/node_modules/@shikijs/langs/dist/terraform.js +3 -2
  498. package/dist/node_modules/@shikijs/langs/dist/tex.js +5 -3
  499. package/dist/node_modules/@shikijs/langs/dist/toml.js +3 -2
  500. package/dist/node_modules/@shikijs/langs/dist/ts-tags.js +17 -15
  501. package/dist/node_modules/@shikijs/langs/dist/tsv.js +3 -2
  502. package/dist/node_modules/@shikijs/langs/dist/tsx.js +3 -2
  503. package/dist/node_modules/@shikijs/langs/dist/turtle.js +3 -2
  504. package/dist/node_modules/@shikijs/langs/dist/twig.js +17 -15
  505. package/dist/node_modules/@shikijs/langs/dist/typescript.js +3 -2
  506. package/dist/node_modules/@shikijs/langs/dist/typespec.js +3 -2
  507. package/dist/node_modules/@shikijs/langs/dist/typst.js +3 -2
  508. package/dist/node_modules/@shikijs/langs/dist/v.js +3 -2
  509. package/dist/node_modules/@shikijs/langs/dist/vala.js +3 -2
  510. package/dist/node_modules/@shikijs/langs/dist/vb.js +3 -2
  511. package/dist/node_modules/@shikijs/langs/dist/verilog.js +3 -2
  512. package/dist/node_modules/@shikijs/langs/dist/vhdl.js +3 -2
  513. package/dist/node_modules/@shikijs/langs/dist/viml.js +3 -2
  514. package/dist/node_modules/@shikijs/langs/dist/vue-directives.js +3 -2
  515. package/dist/node_modules/@shikijs/langs/dist/vue-html.js +5 -3
  516. package/dist/node_modules/@shikijs/langs/dist/vue-interpolations.js +3 -2
  517. package/dist/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.js +5 -3
  518. package/dist/node_modules/@shikijs/langs/dist/vue-vine.js +17 -15
  519. package/dist/node_modules/@shikijs/langs/dist/vue.js +25 -23
  520. package/dist/node_modules/@shikijs/langs/dist/vyper.js +3 -2
  521. package/dist/node_modules/@shikijs/langs/dist/wasm.js +3 -2
  522. package/dist/node_modules/@shikijs/langs/dist/wenyan.js +3 -2
  523. package/dist/node_modules/@shikijs/langs/dist/wgsl.js +3 -2
  524. package/dist/node_modules/@shikijs/langs/dist/wikitext.js +3 -2
  525. package/dist/node_modules/@shikijs/langs/dist/wit.js +3 -2
  526. package/dist/node_modules/@shikijs/langs/dist/wolfram.js +3 -2
  527. package/dist/node_modules/@shikijs/langs/dist/xml.js +5 -3
  528. package/dist/node_modules/@shikijs/langs/dist/xsl.js +5 -3
  529. package/dist/node_modules/@shikijs/langs/dist/yaml.js +3 -2
  530. package/dist/node_modules/@shikijs/langs/dist/zenscript.js +3 -2
  531. package/dist/node_modules/@shikijs/langs/dist/zig.js +3 -2
  532. package/dist/node_modules/@shikijs/primitive/dist/index.js +540 -0
  533. package/dist/node_modules/@shikijs/themes/dist/andromeeda.js +4 -2
  534. package/dist/node_modules/@shikijs/themes/dist/aurora-x.js +4 -2
  535. package/dist/node_modules/@shikijs/themes/dist/ayu-dark.js +4 -2
  536. package/dist/node_modules/@shikijs/themes/dist/ayu-light.js +4 -2
  537. package/dist/node_modules/@shikijs/themes/dist/ayu-mirage.js +4 -2
  538. package/dist/node_modules/@shikijs/themes/dist/catppuccin-frappe.js +4 -2
  539. package/dist/node_modules/@shikijs/themes/dist/catppuccin-latte.js +4 -2
  540. package/dist/node_modules/@shikijs/themes/dist/catppuccin-macchiato.js +4 -2
  541. package/dist/node_modules/@shikijs/themes/dist/catppuccin-mocha.js +4 -2
  542. package/dist/node_modules/@shikijs/themes/dist/dark-plus.js +4 -2
  543. package/dist/node_modules/@shikijs/themes/dist/dracula-soft.js +4 -2
  544. package/dist/node_modules/@shikijs/themes/dist/dracula.js +4 -2
  545. package/dist/node_modules/@shikijs/themes/dist/everforest-dark.js +4 -2
  546. package/dist/node_modules/@shikijs/themes/dist/everforest-light.js +4 -2
  547. package/dist/node_modules/@shikijs/themes/dist/github-dark-default.js +4 -2
  548. package/dist/node_modules/@shikijs/themes/dist/github-dark-dimmed.js +4 -2
  549. package/dist/node_modules/@shikijs/themes/dist/github-dark-high-contrast.js +4 -2
  550. package/dist/node_modules/@shikijs/themes/dist/github-dark.js +4 -2
  551. package/dist/node_modules/@shikijs/themes/dist/github-light-default.js +4 -2
  552. package/dist/node_modules/@shikijs/themes/dist/github-light-high-contrast.js +4 -2
  553. package/dist/node_modules/@shikijs/themes/dist/github-light.js +4 -2
  554. package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.js +4 -2
  555. package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.js +4 -2
  556. package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.js +4 -2
  557. package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-hard.js +4 -2
  558. package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-medium.js +4 -2
  559. package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-soft.js +4 -2
  560. package/dist/node_modules/@shikijs/themes/dist/horizon-bright.js +4 -2
  561. package/dist/node_modules/@shikijs/themes/dist/horizon.js +4 -2
  562. package/dist/node_modules/@shikijs/themes/dist/houston.js +4 -2
  563. package/dist/node_modules/@shikijs/themes/dist/kanagawa-dragon.js +4 -2
  564. package/dist/node_modules/@shikijs/themes/dist/kanagawa-lotus.js +4 -2
  565. package/dist/node_modules/@shikijs/themes/dist/kanagawa-wave.js +4 -2
  566. package/dist/node_modules/@shikijs/themes/dist/laserwave.js +4 -2
  567. package/dist/node_modules/@shikijs/themes/dist/light-plus.js +4 -2
  568. package/dist/node_modules/@shikijs/themes/dist/material-theme-darker.js +4 -2
  569. package/dist/node_modules/@shikijs/themes/dist/material-theme-lighter.js +4 -2
  570. package/dist/node_modules/@shikijs/themes/dist/material-theme-ocean.js +4 -2
  571. package/dist/node_modules/@shikijs/themes/dist/material-theme-palenight.js +4 -2
  572. package/dist/node_modules/@shikijs/themes/dist/material-theme.js +4 -2
  573. package/dist/node_modules/@shikijs/themes/dist/min-dark.js +4 -2
  574. package/dist/node_modules/@shikijs/themes/dist/min-light.js +4 -2
  575. package/dist/node_modules/@shikijs/themes/dist/monokai.js +4 -2
  576. package/dist/node_modules/@shikijs/themes/dist/night-owl-light.js +4 -2
  577. package/dist/node_modules/@shikijs/themes/dist/night-owl.js +4 -2
  578. package/dist/node_modules/@shikijs/themes/dist/nord.js +4 -2
  579. package/dist/node_modules/@shikijs/themes/dist/one-dark-pro.js +4 -2
  580. package/dist/node_modules/@shikijs/themes/dist/one-light.js +4 -2
  581. package/dist/node_modules/@shikijs/themes/dist/plastic.js +4 -2
  582. package/dist/node_modules/@shikijs/themes/dist/poimandres.js +4 -2
  583. package/dist/node_modules/@shikijs/themes/dist/red.js +4 -2
  584. package/dist/node_modules/@shikijs/themes/dist/rose-pine-dawn.js +4 -2
  585. package/dist/node_modules/@shikijs/themes/dist/rose-pine-moon.js +4 -2
  586. package/dist/node_modules/@shikijs/themes/dist/rose-pine.js +4 -2
  587. package/dist/node_modules/@shikijs/themes/dist/slack-dark.js +4 -2
  588. package/dist/node_modules/@shikijs/themes/dist/slack-ochin.js +4 -2
  589. package/dist/node_modules/@shikijs/themes/dist/snazzy-light.js +4 -2
  590. package/dist/node_modules/@shikijs/themes/dist/solarized-dark.js +4 -2
  591. package/dist/node_modules/@shikijs/themes/dist/solarized-light.js +4 -2
  592. package/dist/node_modules/@shikijs/themes/dist/synthwave-84.js +4 -2
  593. package/dist/node_modules/@shikijs/themes/dist/tokyo-night.js +4 -2
  594. package/dist/node_modules/@shikijs/themes/dist/vesper.js +4 -2
  595. package/dist/node_modules/@shikijs/themes/dist/vitesse-black.js +4 -2
  596. package/dist/node_modules/@shikijs/themes/dist/vitesse-dark.js +4 -2
  597. package/dist/node_modules/@shikijs/themes/dist/vitesse-light.js +4 -2
  598. package/dist/node_modules/@shikijs/types/dist/index.js +4 -2
  599. package/dist/node_modules/@shikijs/vscode-textmate/dist/index.js +949 -947
  600. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +30 -30
  601. package/dist/node_modules/@ungap/structured-clone/esm/index.js +6 -4
  602. package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +64 -64
  603. package/dist/node_modules/@upsetjs/venn.js/build/venn.esm.js +905 -0
  604. package/dist/node_modules/@xyflow/react/dist/esm/index.js +904 -901
  605. package/dist/node_modules/@xyflow/system/dist/esm/index.js +1226 -1222
  606. package/dist/node_modules/bail/index.js +4 -2
  607. package/dist/node_modules/ccount/index.js +4 -2
  608. package/dist/node_modules/character-entities-html4/index.js +4 -2
  609. package/dist/node_modules/character-entities-legacy/index.js +4 -2
  610. package/dist/node_modules/chevrotain/lib/src/api.js +10 -10
  611. package/dist/node_modules/chevrotain/lib/src/lang/lang_extensions.js +6 -4
  612. package/dist/node_modules/chevrotain/lib/src/parse/constants.js +4 -2
  613. package/dist/node_modules/chevrotain/lib/src/parse/cst/cst.js +11 -9
  614. package/dist/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js +38 -45
  615. package/dist/node_modules/chevrotain/lib/src/parse/errors_public.js +35 -36
  616. package/dist/node_modules/chevrotain/lib/src/parse/exceptions_public.js +26 -25
  617. package/dist/node_modules/chevrotain/lib/src/parse/grammar/checks.js +204 -226
  618. package/dist/node_modules/chevrotain/lib/src/parse/grammar/first.js +18 -18
  619. package/dist/node_modules/chevrotain/lib/src/parse/grammar/follow.js +20 -19
  620. package/dist/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js +14 -13
  621. package/dist/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +195 -200
  622. package/dist/node_modules/chevrotain/lib/src/parse/grammar/keys.js +5 -4
  623. package/dist/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js +28 -28
  624. package/dist/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +165 -170
  625. package/dist/node_modules/chevrotain/lib/src/parse/grammar/resolver.js +17 -17
  626. package/dist/node_modules/chevrotain/lib/src/parse/grammar/rest.js +50 -50
  627. package/dist/node_modules/chevrotain/lib/src/parse/parser/parser.js +76 -83
  628. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js +21 -21
  629. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js +117 -121
  630. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js +12 -6
  631. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js +51 -51
  632. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js +15 -14
  633. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js +81 -80
  634. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js +229 -217
  635. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js +87 -86
  636. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js +36 -44
  637. package/dist/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js +4 -2
  638. package/dist/node_modules/chevrotain/lib/src/scan/lexer.js +287 -309
  639. package/dist/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js +4 -2
  640. package/dist/node_modules/chevrotain/lib/src/scan/lexer_public.js +115 -126
  641. package/dist/node_modules/chevrotain/lib/src/scan/reg_exp.js +73 -70
  642. package/dist/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js +12 -10
  643. package/dist/node_modules/chevrotain/lib/src/scan/tokens.js +45 -54
  644. package/dist/node_modules/chevrotain/lib/src/scan/tokens_public.js +29 -30
  645. package/dist/node_modules/chevrotain-allstar/lib/all-star-lookahead.js +242 -240
  646. package/dist/node_modules/chevrotain-allstar/lib/atn.js +134 -133
  647. package/dist/node_modules/chevrotain-allstar/lib/dfa.js +11 -10
  648. package/dist/node_modules/chevrotain-allstar/lib/index.js +1 -1
  649. package/dist/node_modules/classcat/index.js +5 -3
  650. package/dist/node_modules/comma-separated-tokens/index.js +5 -3
  651. package/dist/node_modules/cose-base/cose-base.js +21 -21
  652. package/dist/node_modules/cytoscape/dist/cytoscape.esm.js +7935 -7935
  653. package/dist/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.js +8 -6
  654. package/dist/node_modules/cytoscape-fcose/cytoscape-fcose.js +8 -6
  655. package/dist/node_modules/cytoscape-fcose/node_modules/cose-base/cose-base.js +20 -20
  656. package/dist/node_modules/cytoscape-fcose/node_modules/layout-base/layout-base.js +6 -4
  657. package/dist/node_modules/d3/src/index.js +95 -95
  658. package/dist/node_modules/d3-array/src/ascending.js +4 -2
  659. package/dist/node_modules/d3-array/src/bisect.js +8 -8
  660. package/dist/node_modules/d3-array/src/bisector.js +8 -6
  661. package/dist/node_modules/d3-array/src/descending.js +4 -2
  662. package/dist/node_modules/d3-array/src/max.js +4 -2
  663. package/dist/node_modules/d3-array/src/min.js +4 -2
  664. package/dist/node_modules/d3-array/src/number.js +4 -2
  665. package/dist/node_modules/d3-array/src/range.js +4 -2
  666. package/dist/node_modules/d3-array/src/ticks.js +13 -11
  667. package/dist/node_modules/d3-axis/src/axis.js +48 -46
  668. package/dist/node_modules/d3-axis/src/identity.js +4 -2
  669. package/dist/node_modules/d3-brush/src/brush.js +6 -4
  670. package/dist/node_modules/d3-color/src/color.js +86 -84
  671. package/dist/node_modules/d3-color/src/define.js +5 -3
  672. package/dist/node_modules/d3-color/src/lab.js +45 -43
  673. package/dist/node_modules/d3-color/src/math.js +4 -2
  674. package/dist/node_modules/d3-dispatch/src/dispatch.js +18 -17
  675. package/dist/node_modules/d3-drag/src/constant.js +4 -2
  676. package/dist/node_modules/d3-drag/src/drag.js +77 -75
  677. package/dist/node_modules/d3-drag/src/event.js +5 -3
  678. package/dist/node_modules/d3-drag/src/nodrag.js +11 -9
  679. package/dist/node_modules/d3-drag/src/noevent.js +6 -4
  680. package/dist/node_modules/d3-ease/src/cubic.js +4 -2
  681. package/dist/node_modules/d3-format/src/defaultLocale.js +8 -6
  682. package/dist/node_modules/d3-format/src/exponent.js +6 -4
  683. package/dist/node_modules/d3-format/src/formatDecimal.js +5 -3
  684. package/dist/node_modules/d3-format/src/formatGroup.js +4 -2
  685. package/dist/node_modules/d3-format/src/formatNumerals.js +4 -2
  686. package/dist/node_modules/d3-format/src/formatPrefixAuto.js +10 -8
  687. package/dist/node_modules/d3-format/src/formatRounded.js +6 -4
  688. package/dist/node_modules/d3-format/src/formatSpecifier.js +10 -8
  689. package/dist/node_modules/d3-format/src/formatTrim.js +4 -2
  690. package/dist/node_modules/d3-format/src/formatTypes.js +15 -13
  691. package/dist/node_modules/d3-format/src/identity.js +4 -2
  692. package/dist/node_modules/d3-format/src/locale.js +33 -31
  693. package/dist/node_modules/d3-format/src/precisionFixed.js +6 -4
  694. package/dist/node_modules/d3-format/src/precisionPrefix.js +6 -4
  695. package/dist/node_modules/d3-format/src/precisionRound.js +6 -4
  696. package/dist/node_modules/d3-hierarchy/src/accessors.js +4 -2
  697. package/dist/node_modules/d3-hierarchy/src/constant.js +5 -3
  698. package/dist/node_modules/d3-hierarchy/src/hierarchy/ancestors.js +4 -2
  699. package/dist/node_modules/d3-hierarchy/src/hierarchy/count.js +6 -4
  700. package/dist/node_modules/d3-hierarchy/src/hierarchy/descendants.js +4 -2
  701. package/dist/node_modules/d3-hierarchy/src/hierarchy/each.js +4 -2
  702. package/dist/node_modules/d3-hierarchy/src/hierarchy/eachAfter.js +4 -2
  703. package/dist/node_modules/d3-hierarchy/src/hierarchy/eachBefore.js +4 -2
  704. package/dist/node_modules/d3-hierarchy/src/hierarchy/find.js +4 -2
  705. package/dist/node_modules/d3-hierarchy/src/hierarchy/index.js +46 -44
  706. package/dist/node_modules/d3-hierarchy/src/hierarchy/iterator.js +4 -2
  707. package/dist/node_modules/d3-hierarchy/src/hierarchy/leaves.js +4 -2
  708. package/dist/node_modules/d3-hierarchy/src/hierarchy/links.js +4 -2
  709. package/dist/node_modules/d3-hierarchy/src/hierarchy/path.js +6 -4
  710. package/dist/node_modules/d3-hierarchy/src/hierarchy/sort.js +4 -2
  711. package/dist/node_modules/d3-hierarchy/src/hierarchy/sum.js +4 -2
  712. package/dist/node_modules/d3-hierarchy/src/treemap/dice.js +4 -2
  713. package/dist/node_modules/d3-hierarchy/src/treemap/index.js +16 -14
  714. package/dist/node_modules/d3-hierarchy/src/treemap/round.js +4 -2
  715. package/dist/node_modules/d3-hierarchy/src/treemap/slice.js +4 -2
  716. package/dist/node_modules/d3-hierarchy/src/treemap/squarify.js +11 -9
  717. package/dist/node_modules/d3-interpolate/src/array.js +6 -4
  718. package/dist/node_modules/d3-interpolate/src/basis.js +6 -4
  719. package/dist/node_modules/d3-interpolate/src/basisClosed.js +6 -4
  720. package/dist/node_modules/d3-interpolate/src/color.js +19 -17
  721. package/dist/node_modules/d3-interpolate/src/constant.js +4 -2
  722. package/dist/node_modules/d3-interpolate/src/date.js +4 -2
  723. package/dist/node_modules/d3-interpolate/src/hcl.js +8 -6
  724. package/dist/node_modules/d3-interpolate/src/number.js +4 -2
  725. package/dist/node_modules/d3-interpolate/src/numberArray.js +5 -3
  726. package/dist/node_modules/d3-interpolate/src/object.js +6 -4
  727. package/dist/node_modules/d3-interpolate/src/rgb.js +11 -9
  728. package/dist/node_modules/d3-interpolate/src/round.js +4 -2
  729. package/dist/node_modules/d3-interpolate/src/string.js +16 -14
  730. package/dist/node_modules/d3-interpolate/src/transform/decompose.js +7 -5
  731. package/dist/node_modules/d3-interpolate/src/transform/index.js +13 -11
  732. package/dist/node_modules/d3-interpolate/src/transform/parse.js +10 -8
  733. package/dist/node_modules/d3-interpolate/src/value.js +14 -12
  734. package/dist/node_modules/d3-interpolate/src/zoom.js +13 -11
  735. package/dist/node_modules/d3-path/src/path.js +16 -14
  736. package/dist/node_modules/d3-sankey/node_modules/d3-array/src/max.js +4 -2
  737. package/dist/node_modules/d3-sankey/node_modules/d3-array/src/min.js +4 -2
  738. package/dist/node_modules/d3-sankey/node_modules/d3-array/src/sum.js +4 -2
  739. package/dist/node_modules/d3-sankey/node_modules/d3-path/src/path.js +13 -12
  740. package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/array.js +4 -2
  741. package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/constant.js +4 -2
  742. package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/link/index.js +19 -17
  743. package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/point.js +5 -3
  744. package/dist/node_modules/d3-sankey/src/align.js +12 -10
  745. package/dist/node_modules/d3-sankey/src/constant.js +4 -2
  746. package/dist/node_modules/d3-sankey/src/sankey.js +170 -168
  747. package/dist/node_modules/d3-sankey/src/sankeyLinkHorizontal.js +8 -6
  748. package/dist/node_modules/d3-scale/src/band.js +11 -9
  749. package/dist/node_modules/d3-scale/src/constant.js +4 -2
  750. package/dist/node_modules/d3-scale/src/continuous.js +49 -47
  751. package/dist/node_modules/d3-scale/src/init.js +4 -2
  752. package/dist/node_modules/d3-scale/src/linear.js +15 -13
  753. package/dist/node_modules/d3-scale/src/nice.js +4 -2
  754. package/dist/node_modules/d3-scale/src/number.js +4 -2
  755. package/dist/node_modules/d3-scale/src/ordinal.js +18 -16
  756. package/dist/node_modules/d3-scale/src/tickFormat.js +16 -14
  757. package/dist/node_modules/d3-scale/src/time.js +36 -34
  758. package/dist/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js +5 -3
  759. package/dist/node_modules/d3-scale-chromatic/src/colors.js +4 -2
  760. package/dist/node_modules/d3-selection/src/array.js +4 -2
  761. package/dist/node_modules/d3-selection/src/constant.js +4 -2
  762. package/dist/node_modules/d3-selection/src/creator.js +12 -10
  763. package/dist/node_modules/d3-selection/src/matcher.js +5 -3
  764. package/dist/node_modules/d3-selection/src/namespace.js +7 -5
  765. package/dist/node_modules/d3-selection/src/namespaces.js +5 -3
  766. package/dist/node_modules/d3-selection/src/pointer.js +6 -4
  767. package/dist/node_modules/d3-selection/src/select.js +6 -4
  768. package/dist/node_modules/d3-selection/src/selection/append.js +6 -4
  769. package/dist/node_modules/d3-selection/src/selection/attr.js +19 -17
  770. package/dist/node_modules/d3-selection/src/selection/call.js +4 -2
  771. package/dist/node_modules/d3-selection/src/selection/classed.js +25 -23
  772. package/dist/node_modules/d3-selection/src/selection/clone.js +7 -5
  773. package/dist/node_modules/d3-selection/src/selection/data.js +18 -16
  774. package/dist/node_modules/d3-selection/src/selection/datum.js +4 -2
  775. package/dist/node_modules/d3-selection/src/selection/dispatch.js +12 -10
  776. package/dist/node_modules/d3-selection/src/selection/each.js +4 -2
  777. package/dist/node_modules/d3-selection/src/selection/empty.js +4 -2
  778. package/dist/node_modules/d3-selection/src/selection/enter.js +13 -11
  779. package/dist/node_modules/d3-selection/src/selection/exit.js +7 -5
  780. package/dist/node_modules/d3-selection/src/selection/filter.js +8 -6
  781. package/dist/node_modules/d3-selection/src/selection/html.js +8 -6
  782. package/dist/node_modules/d3-selection/src/selection/index.js +80 -79
  783. package/dist/node_modules/d3-selection/src/selection/insert.js +8 -6
  784. package/dist/node_modules/d3-selection/src/selection/iterator.js +4 -2
  785. package/dist/node_modules/d3-selection/src/selection/join.js +4 -2
  786. package/dist/node_modules/d3-selection/src/selection/lower.js +6 -4
  787. package/dist/node_modules/d3-selection/src/selection/merge.js +6 -4
  788. package/dist/node_modules/d3-selection/src/selection/node.js +4 -2
  789. package/dist/node_modules/d3-selection/src/selection/nodes.js +4 -2
  790. package/dist/node_modules/d3-selection/src/selection/on.js +11 -9
  791. package/dist/node_modules/d3-selection/src/selection/order.js +4 -2
  792. package/dist/node_modules/d3-selection/src/selection/property.js +8 -6
  793. package/dist/node_modules/d3-selection/src/selection/raise.js +6 -4
  794. package/dist/node_modules/d3-selection/src/selection/remove.js +6 -4
  795. package/dist/node_modules/d3-selection/src/selection/select.js +8 -6
  796. package/dist/node_modules/d3-selection/src/selection/selectAll.js +11 -9
  797. package/dist/node_modules/d3-selection/src/selection/selectChild.js +10 -8
  798. package/dist/node_modules/d3-selection/src/selection/selectChildren.js +10 -8
  799. package/dist/node_modules/d3-selection/src/selection/size.js +4 -2
  800. package/dist/node_modules/d3-selection/src/selection/sort.js +8 -6
  801. package/dist/node_modules/d3-selection/src/selection/sparse.js +4 -2
  802. package/dist/node_modules/d3-selection/src/selection/style.js +14 -12
  803. package/dist/node_modules/d3-selection/src/selection/text.js +8 -6
  804. package/dist/node_modules/d3-selection/src/selector.js +6 -4
  805. package/dist/node_modules/d3-selection/src/selectorAll.js +6 -4
  806. package/dist/node_modules/d3-selection/src/sourceEvent.js +4 -2
  807. package/dist/node_modules/d3-selection/src/window.js +4 -2
  808. package/dist/node_modules/d3-shape/src/arc.js +38 -36
  809. package/dist/node_modules/d3-shape/src/array.js +3 -2
  810. package/dist/node_modules/d3-shape/src/constant.js +4 -2
  811. package/dist/node_modules/d3-shape/src/curve/basis.js +10 -8
  812. package/dist/node_modules/d3-shape/src/curve/basisClosed.js +18 -16
  813. package/dist/node_modules/d3-shape/src/curve/basisOpen.js +9 -7
  814. package/dist/node_modules/d3-shape/src/curve/bump.js +15 -13
  815. package/dist/node_modules/d3-shape/src/curve/bundle.js +9 -7
  816. package/dist/node_modules/d3-shape/src/curve/cardinal.js +10 -8
  817. package/dist/node_modules/d3-shape/src/curve/cardinalClosed.js +12 -10
  818. package/dist/node_modules/d3-shape/src/curve/cardinalOpen.js +9 -7
  819. package/dist/node_modules/d3-shape/src/curve/catmullRom.js +19 -17
  820. package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.js +13 -11
  821. package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.js +10 -8
  822. package/dist/node_modules/d3-shape/src/curve/linear.js +7 -5
  823. package/dist/node_modules/d3-shape/src/curve/linearClosed.js +12 -10
  824. package/dist/node_modules/d3-shape/src/curve/monotone.js +23 -21
  825. package/dist/node_modules/d3-shape/src/curve/natural.js +9 -7
  826. package/dist/node_modules/d3-shape/src/curve/step.js +19 -17
  827. package/dist/node_modules/d3-shape/src/descending.js +4 -2
  828. package/dist/node_modules/d3-shape/src/identity.js +4 -2
  829. package/dist/node_modules/d3-shape/src/line.js +19 -17
  830. package/dist/node_modules/d3-shape/src/math.js +8 -6
  831. package/dist/node_modules/d3-shape/src/noop.js +4 -2
  832. package/dist/node_modules/d3-shape/src/path.js +6 -4
  833. package/dist/node_modules/d3-shape/src/pie.js +15 -13
  834. package/dist/node_modules/d3-shape/src/point.js +5 -3
  835. package/dist/node_modules/d3-time/src/day.js +17 -15
  836. package/dist/node_modules/d3-time/src/duration.js +4 -2
  837. package/dist/node_modules/d3-time/src/hour.js +16 -14
  838. package/dist/node_modules/d3-time/src/interval.js +7 -5
  839. package/dist/node_modules/d3-time/src/millisecond.js +7 -5
  840. package/dist/node_modules/d3-time/src/minute.js +16 -14
  841. package/dist/node_modules/d3-time/src/month.js +14 -12
  842. package/dist/node_modules/d3-time/src/second.js +9 -7
  843. package/dist/node_modules/d3-time/src/ticks.js +66 -64
  844. package/dist/node_modules/d3-time/src/week.js +21 -19
  845. package/dist/node_modules/d3-time/src/year.js +10 -8
  846. package/dist/node_modules/d3-time-format/src/defaultLocale.js +8 -6
  847. package/dist/node_modules/d3-time-format/src/locale.js +346 -344
  848. package/dist/node_modules/d3-timer/src/timeout.js +6 -4
  849. package/dist/node_modules/d3-timer/src/timer.js +33 -31
  850. package/dist/node_modules/d3-transition/src/index.js +2 -2
  851. package/dist/node_modules/d3-transition/src/interrupt.js +4 -3
  852. package/dist/node_modules/d3-transition/src/selection/index.js +5 -4
  853. package/dist/node_modules/d3-transition/src/selection/interrupt.js +6 -4
  854. package/dist/node_modules/d3-transition/src/selection/transition.js +16 -14
  855. package/dist/node_modules/d3-transition/src/transition/attr.js +28 -26
  856. package/dist/node_modules/d3-transition/src/transition/attrTween.js +13 -11
  857. package/dist/node_modules/d3-transition/src/transition/delay.js +11 -9
  858. package/dist/node_modules/d3-transition/src/transition/duration.js +11 -9
  859. package/dist/node_modules/d3-transition/src/transition/ease.js +8 -6
  860. package/dist/node_modules/d3-transition/src/transition/easeVarying.js +8 -6
  861. package/dist/node_modules/d3-transition/src/transition/end.js +6 -4
  862. package/dist/node_modules/d3-transition/src/transition/filter.js +8 -6
  863. package/dist/node_modules/d3-transition/src/transition/index.js +63 -61
  864. package/dist/node_modules/d3-transition/src/transition/interpolate.js +9 -7
  865. package/dist/node_modules/d3-transition/src/transition/merge.js +6 -4
  866. package/dist/node_modules/d3-transition/src/transition/on.js +9 -7
  867. package/dist/node_modules/d3-transition/src/transition/remove.js +6 -4
  868. package/dist/node_modules/d3-transition/src/transition/schedule.js +20 -18
  869. package/dist/node_modules/d3-transition/src/transition/select.js +10 -8
  870. package/dist/node_modules/d3-transition/src/transition/selectAll.js +10 -8
  871. package/dist/node_modules/d3-transition/src/transition/selection.js +7 -5
  872. package/dist/node_modules/d3-transition/src/transition/style.js +21 -19
  873. package/dist/node_modules/d3-transition/src/transition/styleTween.js +8 -6
  874. package/dist/node_modules/d3-transition/src/transition/text.js +8 -6
  875. package/dist/node_modules/d3-transition/src/transition/textTween.js +8 -6
  876. package/dist/node_modules/d3-transition/src/transition/transition.js +10 -8
  877. package/dist/node_modules/d3-transition/src/transition/tween.js +14 -12
  878. package/dist/node_modules/d3-zoom/src/constant.js +4 -2
  879. package/dist/node_modules/d3-zoom/src/event.js +4 -2
  880. package/dist/node_modules/d3-zoom/src/index.js +2 -2
  881. package/dist/node_modules/d3-zoom/src/noevent.js +5 -3
  882. package/dist/node_modules/d3-zoom/src/transform.js +12 -10
  883. package/dist/node_modules/d3-zoom/src/zoom.js +116 -114
  884. package/dist/node_modules/dagre-d3-es/src/dagre/acyclic.js +14 -12
  885. package/dist/node_modules/dagre-d3-es/src/dagre/add-border-segments.js +11 -9
  886. package/dist/node_modules/dagre-d3-es/src/dagre/coordinate-system.js +36 -34
  887. package/dist/node_modules/dagre-d3-es/src/dagre/data/list.js +9 -7
  888. package/dist/node_modules/dagre-d3-es/src/dagre/greedy-fas.js +51 -49
  889. package/dist/node_modules/dagre-d3-es/src/dagre/index.js +2 -2
  890. package/dist/node_modules/dagre-d3-es/src/dagre/layout.js +165 -163
  891. package/dist/node_modules/dagre-d3-es/src/dagre/nesting-graph.js +45 -43
  892. package/dist/node_modules/dagre-d3-es/src/dagre/normalize.js +12 -10
  893. package/dist/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.js +6 -4
  894. package/dist/node_modules/dagre-d3-es/src/dagre/order/barycenter.js +8 -6
  895. package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.js +14 -12
  896. package/dist/node_modules/dagre-d3-es/src/dagre/order/cross-count.js +22 -20
  897. package/dist/node_modules/dagre-d3-es/src/dagre/order/index.js +36 -34
  898. package/dist/node_modules/dagre-d3-es/src/dagre/order/init-order.js +16 -14
  899. package/dist/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js +32 -30
  900. package/dist/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js +30 -28
  901. package/dist/node_modules/dagre-d3-es/src/dagre/order/sort.js +20 -18
  902. package/dist/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.js +12 -10
  903. package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.js +150 -148
  904. package/dist/node_modules/dagre-d3-es/src/dagre/position/index.js +20 -18
  905. package/dist/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.js +19 -17
  906. package/dist/node_modules/dagre-d3-es/src/dagre/rank/index.js +16 -14
  907. package/dist/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.js +64 -63
  908. package/dist/node_modules/dagre-d3-es/src/dagre/rank/util.js +15 -13
  909. package/dist/node_modules/dagre-d3-es/src/dagre/util.js +84 -82
  910. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dfs.js +15 -13
  911. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.js +3 -2
  912. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.js +3 -2
  913. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/index.js +3 -3
  914. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/postorder.js +6 -4
  915. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/preorder.js +6 -4
  916. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/topsort.js +13 -11
  917. package/dist/node_modules/dagre-d3-es/src/graphlib/graph.js +131 -129
  918. package/dist/node_modules/dagre-d3-es/src/graphlib/index.js +1 -1
  919. package/dist/node_modules/dagre-d3-es/src/graphlib/json.js +23 -21
  920. package/dist/node_modules/dayjs/dayjs.min.js +6 -4
  921. package/dist/node_modules/dayjs/plugin/advancedFormat.js +6 -4
  922. package/dist/node_modules/dayjs/plugin/customParseFormat.js +6 -4
  923. package/dist/node_modules/dayjs/plugin/duration.js +6 -4
  924. package/dist/node_modules/dayjs/plugin/isoWeek.js +6 -4
  925. package/dist/node_modules/decode-named-character-reference/index.dom.js +7 -5
  926. package/dist/node_modules/devlop/lib/default.js +4 -2
  927. package/dist/node_modules/dompurify/dist/purify.es.js +203 -201
  928. package/dist/node_modules/entities/dist/esm/decode-codepoint.js +6 -4
  929. package/dist/node_modules/entities/dist/esm/decode.js +87 -85
  930. package/dist/node_modules/entities/dist/esm/generated/decode-data-html.js +4 -2
  931. package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +6 -4
  932. package/dist/node_modules/extend/index.js +9 -6
  933. package/dist/node_modules/hast-util-from-dom/lib/index.js +32 -30
  934. package/dist/node_modules/hast-util-from-html-isomorphic/lib/browser.js +10 -8
  935. package/dist/node_modules/hast-util-from-parse5/lib/index.js +82 -80
  936. package/dist/node_modules/hast-util-is-element/lib/index.js +17 -15
  937. package/dist/node_modules/hast-util-parse-selector/lib/index.js +7 -5
  938. package/dist/node_modules/hast-util-raw/lib/index.js +136 -134
  939. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.js +23 -21
  940. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/error-codes.js +5 -3
  941. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/foreign-content.js +89 -89
  942. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/html.js +250 -249
  943. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/token.js +6 -4
  944. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/unicode.js +14 -14
  945. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/index.js +4 -4
  946. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/formatting-element-list.js +17 -15
  947. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/index.js +1497 -1495
  948. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/open-element-stack.js +148 -146
  949. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/serializer/index.js +20 -19
  950. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/index.js +800 -798
  951. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/preprocessor.js +33 -31
  952. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tree-adapters/default.js +10 -8
  953. package/dist/node_modules/hast-util-sanitize/lib/index.js +106 -104
  954. package/dist/node_modules/hast-util-sanitize/lib/schema.js +12 -11
  955. package/dist/node_modules/hast-util-to-html/lib/handle/comment.js +9 -7
  956. package/dist/node_modules/hast-util-to-html/lib/handle/doctype.js +4 -2
  957. package/dist/node_modules/hast-util-to-html/lib/handle/element.js +25 -23
  958. package/dist/node_modules/hast-util-to-html/lib/handle/index.js +22 -21
  959. package/dist/node_modules/hast-util-to-html/lib/handle/raw.js +6 -4
  960. package/dist/node_modules/hast-util-to-html/lib/handle/root.js +4 -2
  961. package/dist/node_modules/hast-util-to-html/lib/handle/text.js +7 -5
  962. package/dist/node_modules/hast-util-to-html/lib/index.js +38 -36
  963. package/dist/node_modules/hast-util-to-html/lib/omission/closing.js +70 -68
  964. package/dist/node_modules/hast-util-to-html/lib/omission/omission.js +6 -4
  965. package/dist/node_modules/hast-util-to-html/lib/omission/opening.js +32 -30
  966. package/dist/node_modules/hast-util-to-html/lib/omission/util/siblings.js +10 -9
  967. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +192 -190
  968. package/dist/node_modules/hast-util-to-parse5/lib/index.js +71 -69
  969. package/dist/node_modules/hast-util-to-text/lib/index.js +61 -59
  970. package/dist/node_modules/hast-util-whitespace/lib/index.js +8 -6
  971. package/dist/node_modules/hastscript/lib/create-h.js +26 -24
  972. package/dist/node_modules/hastscript/lib/index.js +7 -5
  973. package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +4 -2
  974. package/dist/node_modules/html-url-attributes/lib/index.js +4 -2
  975. package/dist/node_modules/html-void-elements/index.js +4 -2
  976. package/dist/node_modules/inline-style-parser/cjs/index.js +6 -4
  977. package/dist/node_modules/internmap/src/index.js +22 -20
  978. package/dist/node_modules/katex/dist/katex.js +2914 -2873
  979. package/dist/node_modules/khroma/dist/channels/index.js +23 -21
  980. package/dist/node_modules/khroma/dist/channels/reusable.js +5 -3
  981. package/dist/node_modules/khroma/dist/channels/type.js +7 -5
  982. package/dist/node_modules/khroma/dist/color/hex.js +10 -8
  983. package/dist/node_modules/khroma/dist/color/hsl.js +19 -17
  984. package/dist/node_modules/khroma/dist/color/index.js +17 -15
  985. package/dist/node_modules/khroma/dist/color/keyword.js +10 -8
  986. package/dist/node_modules/khroma/dist/color/rgb.js +14 -12
  987. package/dist/node_modules/khroma/dist/constants.js +7 -5
  988. package/dist/node_modules/khroma/dist/methods/adjust.js +8 -6
  989. package/dist/node_modules/khroma/dist/methods/adjust_channel.js +8 -6
  990. package/dist/node_modules/khroma/dist/methods/change.js +9 -7
  991. package/dist/node_modules/khroma/dist/methods/channel.js +6 -4
  992. package/dist/node_modules/khroma/dist/methods/darken.js +5 -3
  993. package/dist/node_modules/khroma/dist/methods/invert.js +8 -6
  994. package/dist/node_modules/khroma/dist/methods/is_dark.js +5 -3
  995. package/dist/node_modules/khroma/dist/methods/is_light.js +5 -3
  996. package/dist/node_modules/khroma/dist/methods/lighten.js +5 -3
  997. package/dist/node_modules/khroma/dist/methods/luminance.js +8 -6
  998. package/dist/node_modules/khroma/dist/methods/mix.js +8 -6
  999. package/dist/node_modules/khroma/dist/methods/rgba.js +15 -13
  1000. package/dist/node_modules/khroma/dist/methods/transparentize.js +5 -0
  1001. package/dist/node_modules/khroma/dist/utils/channel.js +8 -6
  1002. package/dist/node_modules/khroma/dist/utils/index.js +10 -8
  1003. package/dist/node_modules/khroma/dist/utils/lang.js +4 -2
  1004. package/dist/node_modules/khroma/dist/utils/unit.js +4 -2
  1005. package/dist/node_modules/langium/lib/default-module.js +66 -64
  1006. package/dist/node_modules/langium/lib/dependency-injection.js +37 -39
  1007. package/dist/node_modules/langium/lib/documentation/comment-provider.js +7 -5
  1008. package/dist/node_modules/langium/lib/documentation/documentation-provider.js +8 -6
  1009. package/dist/node_modules/langium/lib/documentation/jsdoc.js +204 -202
  1010. package/dist/node_modules/langium/lib/languages/generated/ast.js +343 -534
  1011. package/dist/node_modules/langium/lib/languages/grammar-config.js +10 -8
  1012. package/dist/node_modules/langium/lib/parser/async-parser.js +4 -76
  1013. package/dist/node_modules/langium/lib/parser/completion-parser-builder.js +8 -6
  1014. package/dist/node_modules/langium/lib/parser/cst-node-builder.js +56 -54
  1015. package/dist/node_modules/langium/lib/parser/langium-parser-builder.js +9 -7
  1016. package/dist/node_modules/langium/lib/parser/langium-parser.js +190 -188
  1017. package/dist/node_modules/langium/lib/parser/lexer.js +25 -25
  1018. package/dist/node_modules/langium/lib/parser/parser-builder-base.js +204 -203
  1019. package/dist/node_modules/langium/lib/parser/token-builder.js +32 -30
  1020. package/dist/node_modules/langium/lib/parser/value-converter.js +17 -15
  1021. package/dist/node_modules/langium/lib/references/linker.js +104 -103
  1022. package/dist/node_modules/langium/lib/references/name-provider.js +9 -7
  1023. package/dist/node_modules/langium/lib/references/references.js +53 -51
  1024. package/dist/node_modules/langium/lib/references/scope-computation.js +14 -12
  1025. package/dist/node_modules/langium/lib/references/scope-provider.js +13 -11
  1026. package/dist/node_modules/langium/lib/references/scope.js +27 -56
  1027. package/dist/node_modules/langium/lib/serializer/hydrator.js +71 -69
  1028. package/dist/node_modules/langium/lib/serializer/json-serializer.js +23 -21
  1029. package/dist/node_modules/langium/lib/service-registry.js +7 -5
  1030. package/dist/node_modules/langium/lib/syntax-tree.js +33 -31
  1031. package/dist/node_modules/langium/lib/utils/ast-utils.js +77 -112
  1032. package/dist/node_modules/langium/lib/utils/caching.js +33 -42
  1033. package/dist/node_modules/langium/lib/utils/cancellation.js +7 -5
  1034. package/dist/node_modules/langium/lib/utils/collections.js +35 -33
  1035. package/dist/node_modules/langium/lib/utils/cst-utils.js +46 -161
  1036. package/dist/node_modules/langium/lib/utils/disposable.js +5 -3
  1037. package/dist/node_modules/langium/lib/utils/errors.js +8 -9
  1038. package/dist/node_modules/langium/lib/utils/event.js +7 -5
  1039. package/dist/node_modules/langium/lib/utils/grammar-loader.js +16 -14
  1040. package/dist/node_modules/langium/lib/utils/grammar-utils.js +172 -249
  1041. package/dist/node_modules/langium/lib/utils/promise-utils.js +18 -19
  1042. package/dist/node_modules/langium/lib/utils/regexp-utils.js +53 -76
  1043. package/dist/node_modules/langium/lib/utils/stream.js +155 -153
  1044. package/dist/node_modules/langium/lib/utils/uri-utils.js +14 -12
  1045. package/dist/node_modules/langium/lib/validation/document-validator.js +104 -103
  1046. package/dist/node_modules/langium/lib/validation/validation-registry.js +15 -14
  1047. package/dist/node_modules/langium/lib/workspace/ast-descriptions.js +19 -17
  1048. package/dist/node_modules/langium/lib/workspace/ast-node-locator.js +4 -2
  1049. package/dist/node_modules/langium/lib/workspace/configuration.js +7 -5
  1050. package/dist/node_modules/langium/lib/workspace/document-builder.js +131 -134
  1051. package/dist/node_modules/langium/lib/workspace/documents.js +85 -83
  1052. package/dist/node_modules/langium/lib/workspace/file-system-provider.js +5 -4
  1053. package/dist/node_modules/langium/lib/workspace/index-manager.js +16 -14
  1054. package/dist/node_modules/langium/lib/workspace/workspace-lock.js +11 -9
  1055. package/dist/node_modules/langium/lib/workspace/workspace-manager.js +35 -33
  1056. package/dist/node_modules/layout-base/layout-base.js +6 -4
  1057. package/dist/node_modules/lodash-es/_DataView.js +6 -4
  1058. package/dist/node_modules/lodash-es/_Hash.js +14 -13
  1059. package/dist/node_modules/lodash-es/_ListCache.js +14 -13
  1060. package/dist/node_modules/lodash-es/_Map.js +6 -4
  1061. package/dist/node_modules/lodash-es/_MapCache.js +14 -13
  1062. package/dist/node_modules/lodash-es/_Promise.js +6 -4
  1063. package/dist/node_modules/lodash-es/_Set.js +6 -4
  1064. package/dist/node_modules/lodash-es/_SetCache.js +10 -9
  1065. package/dist/node_modules/lodash-es/_Stack.js +12 -11
  1066. package/dist/node_modules/lodash-es/_Symbol.js +5 -3
  1067. package/dist/node_modules/lodash-es/_Uint8Array.js +5 -3
  1068. package/dist/node_modules/lodash-es/_WeakMap.js +6 -4
  1069. package/dist/node_modules/lodash-es/_apply.js +4 -3
  1070. package/dist/node_modules/lodash-es/_arrayEach.js +4 -3
  1071. package/dist/node_modules/lodash-es/_arrayFilter.js +4 -3
  1072. package/dist/node_modules/lodash-es/_arrayIncludes.js +6 -5
  1073. package/dist/node_modules/lodash-es/_arrayIncludesWith.js +4 -3
  1074. package/dist/node_modules/lodash-es/_arrayLikeKeys.js +13 -12
  1075. package/dist/node_modules/lodash-es/_arrayMap.js +4 -3
  1076. package/dist/node_modules/lodash-es/_arrayPush.js +4 -3
  1077. package/dist/node_modules/lodash-es/_arrayReduce.js +4 -3
  1078. package/dist/node_modules/lodash-es/_arraySome.js +4 -3
  1079. package/dist/node_modules/lodash-es/_asciiSize.js +5 -3
  1080. package/dist/node_modules/lodash-es/_assignMergeValue.js +7 -6
  1081. package/dist/node_modules/lodash-es/_assignValue.js +8 -7
  1082. package/dist/node_modules/lodash-es/_assocIndexOf.js +6 -5
  1083. package/dist/node_modules/lodash-es/_baseAssign.js +7 -6
  1084. package/dist/node_modules/lodash-es/_baseAssignIn.js +7 -6
  1085. package/dist/node_modules/lodash-es/_baseAssignValue.js +6 -5
  1086. package/dist/node_modules/lodash-es/_baseClone.js +51 -50
  1087. package/dist/node_modules/lodash-es/_baseCreate.js +7 -5
  1088. package/dist/node_modules/lodash-es/_baseEach.js +6 -4
  1089. package/dist/node_modules/lodash-es/_baseExtremum.js +6 -5
  1090. package/dist/node_modules/lodash-es/_baseFilter.js +6 -5
  1091. package/dist/node_modules/lodash-es/_baseFindIndex.js +4 -3
  1092. package/dist/node_modules/lodash-es/_baseFlatten.js +8 -7
  1093. package/dist/node_modules/lodash-es/_baseFor.js +5 -3
  1094. package/dist/node_modules/lodash-es/_baseForOwn.js +7 -6
  1095. package/dist/node_modules/lodash-es/_baseGet.js +8 -7
  1096. package/dist/node_modules/lodash-es/_baseGetAllKeys.js +7 -6
  1097. package/dist/node_modules/lodash-es/_baseGetTag.js +9 -8
  1098. package/dist/node_modules/lodash-es/_baseGt.js +4 -3
  1099. package/dist/node_modules/lodash-es/_baseHas.js +6 -5
  1100. package/dist/node_modules/lodash-es/_baseHasIn.js +4 -3
  1101. package/dist/node_modules/lodash-es/_baseIndexOf.js +8 -7
  1102. package/dist/node_modules/lodash-es/_baseIsArguments.js +8 -7
  1103. package/dist/node_modules/lodash-es/_baseIsEqual.js +7 -6
  1104. package/dist/node_modules/lodash-es/_baseIsEqualDeep.js +23 -22
  1105. package/dist/node_modules/lodash-es/_baseIsMap.js +8 -7
  1106. package/dist/node_modules/lodash-es/_baseIsMatch.js +9 -8
  1107. package/dist/node_modules/lodash-es/_baseIsNaN.js +4 -3
  1108. package/dist/node_modules/lodash-es/_baseIsNative.js +10 -9
  1109. package/dist/node_modules/lodash-es/_baseIsSet.js +8 -7
  1110. package/dist/node_modules/lodash-es/_baseIsTypedArray.js +10 -9
  1111. package/dist/node_modules/lodash-es/_baseIteratee.js +10 -9
  1112. package/dist/node_modules/lodash-es/_baseKeys.js +9 -8
  1113. package/dist/node_modules/lodash-es/_baseKeysIn.js +11 -10
  1114. package/dist/node_modules/lodash-es/_baseLt.js +4 -3
  1115. package/dist/node_modules/lodash-es/_baseMap.js +8 -7
  1116. package/dist/node_modules/lodash-es/_baseMatches.js +10 -9
  1117. package/dist/node_modules/lodash-es/_baseMatchesProperty.js +15 -14
  1118. package/dist/node_modules/lodash-es/_baseMerge.js +16 -15
  1119. package/dist/node_modules/lodash-es/_baseMergeDeep.js +24 -23
  1120. package/dist/node_modules/lodash-es/_baseOrderBy.js +23 -22
  1121. package/dist/node_modules/lodash-es/_basePick.js +8 -7
  1122. package/dist/node_modules/lodash-es/_basePickBy.js +9 -8
  1123. package/dist/node_modules/lodash-es/_baseProperty.js +4 -3
  1124. package/dist/node_modules/lodash-es/_basePropertyDeep.js +6 -5
  1125. package/dist/node_modules/lodash-es/_baseRange.js +6 -5
  1126. package/dist/node_modules/lodash-es/_baseReduce.js +4 -3
  1127. package/dist/node_modules/lodash-es/_baseRest.js +8 -7
  1128. package/dist/node_modules/lodash-es/_baseSet.js +14 -13
  1129. package/dist/node_modules/lodash-es/_baseSetToString.js +10 -8
  1130. package/dist/node_modules/lodash-es/_baseSortBy.js +4 -3
  1131. package/dist/node_modules/lodash-es/_baseTimes.js +4 -3
  1132. package/dist/node_modules/lodash-es/_baseToString.js +13 -12
  1133. package/dist/node_modules/lodash-es/_baseTrim.js +7 -6
  1134. package/dist/node_modules/lodash-es/_baseUnary.js +4 -3
  1135. package/dist/node_modules/lodash-es/_baseUniq.js +17 -16
  1136. package/dist/node_modules/lodash-es/_baseValues.js +6 -5
  1137. package/dist/node_modules/lodash-es/_baseZipObject.js +4 -3
  1138. package/dist/node_modules/lodash-es/_cacheHas.js +4 -3
  1139. package/dist/node_modules/lodash-es/_castFunction.js +6 -5
  1140. package/dist/node_modules/lodash-es/_castPath.js +9 -8
  1141. package/dist/node_modules/lodash-es/_cloneArrayBuffer.js +6 -5
  1142. package/dist/node_modules/lodash-es/_cloneBuffer.js +9 -8
  1143. package/dist/node_modules/lodash-es/_cloneDataView.js +6 -5
  1144. package/dist/node_modules/lodash-es/_cloneRegExp.js +6 -5
  1145. package/dist/node_modules/lodash-es/_cloneSymbol.js +7 -6
  1146. package/dist/node_modules/lodash-es/_cloneTypedArray.js +6 -5
  1147. package/dist/node_modules/lodash-es/_compareAscending.js +6 -5
  1148. package/dist/node_modules/lodash-es/_compareMultiple.js +6 -5
  1149. package/dist/node_modules/lodash-es/_copyArray.js +4 -3
  1150. package/dist/node_modules/lodash-es/_copyObject.js +7 -6
  1151. package/dist/node_modules/lodash-es/_copySymbols.js +7 -6
  1152. package/dist/node_modules/lodash-es/_copySymbolsIn.js +7 -6
  1153. package/dist/node_modules/lodash-es/_coreJsData.js +5 -3
  1154. package/dist/node_modules/lodash-es/_createAssigner.js +8 -7
  1155. package/dist/node_modules/lodash-es/_createBaseEach.js +6 -5
  1156. package/dist/node_modules/lodash-es/_createBaseFor.js +4 -3
  1157. package/dist/node_modules/lodash-es/_createFind.js +10 -9
  1158. package/dist/node_modules/lodash-es/_createRange.js +8 -7
  1159. package/dist/node_modules/lodash-es/_createSet.js +9 -7
  1160. package/dist/node_modules/lodash-es/_defineProperty.js +6 -4
  1161. package/dist/node_modules/lodash-es/_equalArrays.js +12 -11
  1162. package/dist/node_modules/lodash-es/_equalByTag.js +29 -28
  1163. package/dist/node_modules/lodash-es/_equalObjects.js +9 -8
  1164. package/dist/node_modules/lodash-es/_flatRest.js +8 -7
  1165. package/dist/node_modules/lodash-es/_freeGlobal.js +4 -2
  1166. package/dist/node_modules/lodash-es/_getAllKeys.js +8 -7
  1167. package/dist/node_modules/lodash-es/_getAllKeysIn.js +8 -7
  1168. package/dist/node_modules/lodash-es/_getMapData.js +6 -5
  1169. package/dist/node_modules/lodash-es/_getMatchData.js +8 -7
  1170. package/dist/node_modules/lodash-es/_getNative.js +8 -7
  1171. package/dist/node_modules/lodash-es/_getPrototype.js +5 -3
  1172. package/dist/node_modules/lodash-es/_getRawTag.js +10 -9
  1173. package/dist/node_modules/lodash-es/_getSymbols.js +9 -7
  1174. package/dist/node_modules/lodash-es/_getSymbolsIn.js +10 -8
  1175. package/dist/node_modules/lodash-es/_getTag.js +21 -19
  1176. package/dist/node_modules/lodash-es/_getValue.js +4 -3
  1177. package/dist/node_modules/lodash-es/_hasPath.js +13 -12
  1178. package/dist/node_modules/lodash-es/_hasUnicode.js +6 -5
  1179. package/dist/node_modules/lodash-es/_hashClear.js +6 -5
  1180. package/dist/node_modules/lodash-es/_hashDelete.js +5 -4
  1181. package/dist/node_modules/lodash-es/_hashGet.js +9 -8
  1182. package/dist/node_modules/lodash-es/_hashHas.js +7 -6
  1183. package/dist/node_modules/lodash-es/_hashSet.js +7 -6
  1184. package/dist/node_modules/lodash-es/_initCloneArray.js +6 -5
  1185. package/dist/node_modules/lodash-es/_initCloneByTag.js +29 -28
  1186. package/dist/node_modules/lodash-es/_initCloneObject.js +8 -7
  1187. package/dist/node_modules/lodash-es/_isFlattenable.js +9 -8
  1188. package/dist/node_modules/lodash-es/_isIndex.js +6 -5
  1189. package/dist/node_modules/lodash-es/_isIterateeCall.js +10 -9
  1190. package/dist/node_modules/lodash-es/_isKey.js +9 -8
  1191. package/dist/node_modules/lodash-es/_isKeyable.js +4 -3
  1192. package/dist/node_modules/lodash-es/_isMasked.js +9 -8
  1193. package/dist/node_modules/lodash-es/_isPrototype.js +6 -5
  1194. package/dist/node_modules/lodash-es/_isStrictComparable.js +6 -5
  1195. package/dist/node_modules/lodash-es/_listCacheClear.js +4 -3
  1196. package/dist/node_modules/lodash-es/_listCacheDelete.js +8 -7
  1197. package/dist/node_modules/lodash-es/_listCacheGet.js +6 -5
  1198. package/dist/node_modules/lodash-es/_listCacheHas.js +6 -5
  1199. package/dist/node_modules/lodash-es/_listCacheSet.js +6 -5
  1200. package/dist/node_modules/lodash-es/_mapCacheClear.js +10 -9
  1201. package/dist/node_modules/lodash-es/_mapCacheDelete.js +7 -6
  1202. package/dist/node_modules/lodash-es/_mapCacheGet.js +6 -5
  1203. package/dist/node_modules/lodash-es/_mapCacheHas.js +6 -5
  1204. package/dist/node_modules/lodash-es/_mapCacheSet.js +6 -5
  1205. package/dist/node_modules/lodash-es/_mapToArray.js +4 -3
  1206. package/dist/node_modules/lodash-es/_matchesStrictComparable.js +4 -3
  1207. package/dist/node_modules/lodash-es/_memoizeCapped.js +8 -7
  1208. package/dist/node_modules/lodash-es/_nativeCreate.js +5 -3
  1209. package/dist/node_modules/lodash-es/_nativeKeys.js +5 -3
  1210. package/dist/node_modules/lodash-es/_nativeKeysIn.js +4 -3
  1211. package/dist/node_modules/lodash-es/_nodeUtil.js +6 -4
  1212. package/dist/node_modules/lodash-es/_objectToString.js +6 -5
  1213. package/dist/node_modules/lodash-es/_overArg.js +4 -3
  1214. package/dist/node_modules/lodash-es/_overRest.js +9 -8
  1215. package/dist/node_modules/lodash-es/_root.js +5 -3
  1216. package/dist/node_modules/lodash-es/_safeGet.js +4 -3
  1217. package/dist/node_modules/lodash-es/_setCacheAdd.js +6 -5
  1218. package/dist/node_modules/lodash-es/_setCacheHas.js +4 -3
  1219. package/dist/node_modules/lodash-es/_setToArray.js +4 -3
  1220. package/dist/node_modules/lodash-es/_setToString.js +6 -4
  1221. package/dist/node_modules/lodash-es/_shortOut.js +7 -6
  1222. package/dist/node_modules/lodash-es/_stackClear.js +6 -5
  1223. package/dist/node_modules/lodash-es/_stackDelete.js +4 -3
  1224. package/dist/node_modules/lodash-es/_stackGet.js +4 -3
  1225. package/dist/node_modules/lodash-es/_stackHas.js +4 -3
  1226. package/dist/node_modules/lodash-es/_stackSet.js +11 -10
  1227. package/dist/node_modules/lodash-es/_strictIndexOf.js +4 -3
  1228. package/dist/node_modules/lodash-es/_stringSize.js +8 -7
  1229. package/dist/node_modules/lodash-es/_stringToPath.js +7 -5
  1230. package/dist/node_modules/lodash-es/_toKey.js +8 -7
  1231. package/dist/node_modules/lodash-es/_toSource.js +8 -7
  1232. package/dist/node_modules/lodash-es/_trimmedEndIndex.js +6 -5
  1233. package/dist/node_modules/lodash-es/_unicodeSize.js +17 -16
  1234. package/dist/node_modules/lodash-es/clone.js +7 -6
  1235. package/dist/node_modules/lodash-es/cloneDeep.js +7 -6
  1236. package/dist/node_modules/lodash-es/constant.js +4 -3
  1237. package/dist/node_modules/lodash-es/defaults.js +13 -11
  1238. package/dist/node_modules/lodash-es/eq.js +4 -3
  1239. package/dist/node_modules/lodash-es/filter.js +9 -8
  1240. package/dist/node_modules/lodash-es/find.js +6 -4
  1241. package/dist/node_modules/lodash-es/findIndex.js +10 -9
  1242. package/dist/node_modules/lodash-es/flatMap.js +7 -6
  1243. package/dist/node_modules/lodash-es/flatten.js +6 -5
  1244. package/dist/node_modules/lodash-es/forEach.js +9 -8
  1245. package/dist/node_modules/lodash-es/forIn.js +8 -7
  1246. package/dist/node_modules/lodash-es/forOwn.js +7 -6
  1247. package/dist/node_modules/lodash-es/get.js +6 -5
  1248. package/dist/node_modules/lodash-es/has.js +7 -6
  1249. package/dist/node_modules/lodash-es/hasIn.js +7 -6
  1250. package/dist/node_modules/lodash-es/identity.js +4 -3
  1251. package/dist/node_modules/lodash-es/isArguments.js +8 -6
  1252. package/dist/node_modules/lodash-es/isArray.js +4 -2
  1253. package/dist/node_modules/lodash-es/isArrayLike.js +7 -6
  1254. package/dist/node_modules/lodash-es/isArrayLikeObject.js +7 -6
  1255. package/dist/node_modules/lodash-es/isBuffer.js +6 -4
  1256. package/dist/node_modules/lodash-es/isEmpty.js +18 -17
  1257. package/dist/node_modules/lodash-es/isFunction.js +10 -9
  1258. package/dist/node_modules/lodash-es/isLength.js +6 -5
  1259. package/dist/node_modules/lodash-es/isMap.js +7 -5
  1260. package/dist/node_modules/lodash-es/isObject.js +4 -3
  1261. package/dist/node_modules/lodash-es/isObjectLike.js +4 -3
  1262. package/dist/node_modules/lodash-es/isPlainObject.js +13 -12
  1263. package/dist/node_modules/lodash-es/isSet.js +7 -5
  1264. package/dist/node_modules/lodash-es/isString.js +9 -8
  1265. package/dist/node_modules/lodash-es/isSymbol.js +8 -7
  1266. package/dist/node_modules/lodash-es/isTypedArray.js +7 -5
  1267. package/dist/node_modules/lodash-es/isUndefined.js +4 -3
  1268. package/dist/node_modules/lodash-es/keys.js +8 -7
  1269. package/dist/node_modules/lodash-es/keysIn.js +8 -7
  1270. package/dist/node_modules/lodash-es/last.js +4 -3
  1271. package/dist/node_modules/lodash-es/map.js +9 -8
  1272. package/dist/node_modules/lodash-es/mapValues.js +9 -8
  1273. package/dist/node_modules/lodash-es/max.js +8 -7
  1274. package/dist/node_modules/lodash-es/memoize.js +9 -8
  1275. package/dist/node_modules/lodash-es/merge.js +7 -5
  1276. package/dist/node_modules/lodash-es/min.js +8 -7
  1277. package/dist/node_modules/lodash-es/minBy.js +8 -7
  1278. package/dist/node_modules/lodash-es/noop.js +4 -3
  1279. package/dist/node_modules/lodash-es/now.js +6 -4
  1280. package/dist/node_modules/lodash-es/pick.js +7 -5
  1281. package/dist/node_modules/lodash-es/property.js +9 -8
  1282. package/dist/node_modules/lodash-es/range.js +5 -3
  1283. package/dist/node_modules/lodash-es/reduce.js +11 -10
  1284. package/dist/node_modules/lodash-es/size.js +13 -12
  1285. package/dist/node_modules/lodash-es/sortBy.js +9 -7
  1286. package/dist/node_modules/lodash-es/stubArray.js +4 -3
  1287. package/dist/node_modules/lodash-es/stubFalse.js +4 -3
  1288. package/dist/node_modules/lodash-es/toFinite.js +7 -6
  1289. package/dist/node_modules/lodash-es/toInteger.js +6 -5
  1290. package/dist/node_modules/lodash-es/toNumber.js +14 -13
  1291. package/dist/node_modules/lodash-es/toPlainObject.js +7 -6
  1292. package/dist/node_modules/lodash-es/toString.js +6 -5
  1293. package/dist/node_modules/lodash-es/union.js +9 -7
  1294. package/dist/node_modules/lodash-es/uniqBy.js +7 -6
  1295. package/dist/node_modules/lodash-es/uniqueId.js +8 -7
  1296. package/dist/node_modules/lodash-es/values.js +7 -6
  1297. package/dist/node_modules/lodash-es/zipObject.js +7 -6
  1298. package/dist/node_modules/longest-streak/index.js +4 -2
  1299. package/dist/node_modules/markdown-table/index.js +11 -9
  1300. package/dist/node_modules/marked/lib/marked.esm.js +687 -685
  1301. package/dist/node_modules/mdast-util-find-and-replace/lib/index.js +14 -12
  1302. package/dist/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js +4 -2
  1303. package/dist/node_modules/mdast-util-from-markdown/lib/index.js +182 -180
  1304. package/dist/node_modules/mdast-util-gfm/lib/index.js +20 -18
  1305. package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +69 -67
  1306. package/dist/node_modules/mdast-util-gfm-footnote/lib/index.js +47 -45
  1307. package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.js +15 -13
  1308. package/dist/node_modules/mdast-util-gfm-table/lib/index.js +30 -28
  1309. package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.js +16 -14
  1310. package/dist/node_modules/mdast-util-math/lib/index.js +15 -13
  1311. package/dist/node_modules/mdast-util-phrasing/lib/index.js +5 -3
  1312. package/dist/node_modules/mdast-util-to-hast/lib/footer.js +11 -9
  1313. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +4 -2
  1314. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +4 -2
  1315. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +4 -2
  1316. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +4 -2
  1317. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +4 -2
  1318. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +6 -4
  1319. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +4 -2
  1320. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +4 -2
  1321. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +8 -6
  1322. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +6 -4
  1323. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +55 -53
  1324. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +4 -2
  1325. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +8 -6
  1326. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +6 -4
  1327. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +15 -13
  1328. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +4 -2
  1329. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +4 -2
  1330. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +4 -2
  1331. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +4 -2
  1332. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +4 -2
  1333. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +4 -2
  1334. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +6 -4
  1335. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +6 -4
  1336. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +4 -2
  1337. package/dist/node_modules/mdast-util-to-hast/lib/index.js +8 -6
  1338. package/dist/node_modules/mdast-util-to-hast/lib/revert.js +4 -2
  1339. package/dist/node_modules/mdast-util-to-hast/lib/state.js +61 -59
  1340. package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +6 -4
  1341. package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.js +6 -4
  1342. package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.js +18 -16
  1343. package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.js +6 -4
  1344. package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +14 -12
  1345. package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.js +8 -6
  1346. package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.js +6 -4
  1347. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +6 -4
  1348. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.js +8 -6
  1349. package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.js +43 -41
  1350. package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +7 -5
  1351. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +6 -4
  1352. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.js +11 -9
  1353. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +7 -5
  1354. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.js +12 -10
  1355. package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +4 -2
  1356. package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.js +6 -4
  1357. package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.js +14 -12
  1358. package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.js +4 -2
  1359. package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +7 -5
  1360. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +4 -2
  1361. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +6 -4
  1362. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +4 -2
  1363. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +4 -2
  1364. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +4 -2
  1365. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +4 -2
  1366. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +4 -2
  1367. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +4 -2
  1368. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +4 -2
  1369. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +4 -2
  1370. package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +4 -2
  1371. package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +6 -4
  1372. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +4 -2
  1373. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +8 -7
  1374. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +6 -4
  1375. package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +6 -4
  1376. package/dist/node_modules/mdast-util-to-string/lib/index.js +14 -12
  1377. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-Q4EWVU46.js +695 -0
  1378. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-DXYQGD6D.js +3038 -0
  1379. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{c4Diagram-YG6GDRKO.js → c4Diagram-AHTNJAMY.js} +581 -573
  1380. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-336JU56O.js +49 -0
  1381. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-426QAEUC.js +11 -0
  1382. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.js +6 -4
  1383. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-B4BG7PRW.js → chunk-4TB4RGXK.js} +590 -444
  1384. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.js +7 -5
  1385. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5FUZZQ4R.js +3640 -0
  1386. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5PVQY5BW.js +342 -0
  1387. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.js +22 -20
  1388. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-BSJP7CBP.js +82 -0
  1389. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EDXVE4YY.js +25 -0
  1390. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ENJZ2VHE.js +570 -0
  1391. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.js +5 -3
  1392. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ICPOFSXX.js +2348 -0
  1393. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-OYMX7WX6.js +2014 -0
  1394. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.js +8 -4
  1395. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-U2HBQHQK.js +274 -0
  1396. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-X2U36JSP.js +67 -0
  1397. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-XPW4576I.js +1146 -0
  1398. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-YZCP3GAM.js +62 -0
  1399. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ZZ45TVLE.js +32 -0
  1400. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-6PBFFD2Q.js +29 -0
  1401. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-HSJHXN6E.js +29 -0
  1402. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.js +116 -114
  1403. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/dagre-KV5264BT.js +265 -0
  1404. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-5BDNPKRD.js +101 -0
  1405. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-G4DWMVQ6.js +284 -0
  1406. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-MMDJMWI5.js +213 -0
  1407. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-TYMM5635.js +133 -0
  1408. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{erDiagram-Q2GNP2WA.js → erDiagram-SMLLAGMA.js} +549 -445
  1409. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{flowDiagram-NV44I4VS.js → flowDiagram-DWJPFMVM.js} +1366 -1345
  1410. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-T4ZO3ILL.js +1720 -0
  1411. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-UUTBAWPF.js +730 -0
  1412. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-42DDH7IO.js +19 -0
  1413. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ishikawaDiagram-UXIWVN3A.js +718 -0
  1414. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-VCZTEJTY.js +885 -0
  1415. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{kanban-definition-3W4ZIXB7.js → kanban-definition-6JOO6SKY.js} +124 -118
  1416. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{mindmap-definition-VGOIOE7T.js → mindmap-definition-QFDTVHPH.js} +172 -122
  1417. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-DEJITSTG.js +119 -0
  1418. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{quadrantDiagram-AYHSOK5B.js → quadrantDiagram-34T5L4WZ.js} +279 -273
  1419. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{requirementDiagram-UZGBJVZJ.js → requirementDiagram-MS252O5E.js} +100 -66
  1420. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-XADWPNL6.js +529 -0
  1421. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-FGHM5R23.js +4159 -0
  1422. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FHFEXIEX.js +222 -0
  1423. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-QKLJ7IA2.js +27 -0
  1424. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-GMOUNBTQ.js +1073 -0
  1425. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-DHZGUBPP.js +961 -0
  1426. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-NUSXRM2D.js +578 -0
  1427. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-5P7HB3ND.js +2000 -0
  1428. package/dist/node_modules/mermaid/dist/mermaid.core.js +492 -445
  1429. package/dist/node_modules/micromark/lib/constructs.js +80 -79
  1430. package/dist/node_modules/micromark/lib/create-tokenizer.js +14 -12
  1431. package/dist/node_modules/micromark/lib/initialize/content.js +9 -7
  1432. package/dist/node_modules/micromark/lib/initialize/document.js +15 -14
  1433. package/dist/node_modules/micromark/lib/initialize/flow.js +9 -7
  1434. package/dist/node_modules/micromark/lib/initialize/text.js +8 -6
  1435. package/dist/node_modules/micromark/lib/parse.js +20 -18
  1436. package/dist/node_modules/micromark/lib/postprocess.js +6 -4
  1437. package/dist/node_modules/micromark/lib/preprocess.js +6 -4
  1438. package/dist/node_modules/micromark-core-commonmark/lib/attention.js +20 -18
  1439. package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +17 -15
  1440. package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +11 -9
  1441. package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +15 -13
  1442. package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +8 -6
  1443. package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +16 -14
  1444. package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +22 -21
  1445. package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +16 -15
  1446. package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +13 -11
  1447. package/dist/node_modules/micromark-core-commonmark/lib/content.js +18 -17
  1448. package/dist/node_modules/micromark-core-commonmark/lib/definition.js +30 -29
  1449. package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +8 -6
  1450. package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +15 -13
  1451. package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +68 -67
  1452. package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +66 -64
  1453. package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +112 -111
  1454. package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +8 -6
  1455. package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +8 -6
  1456. package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +8 -6
  1457. package/dist/node_modules/micromark-core-commonmark/lib/list.js +32 -31
  1458. package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +12 -10
  1459. package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +11 -9
  1460. package/dist/node_modules/micromark-extension-gfm/index.js +16 -14
  1461. package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +122 -120
  1462. package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +33 -31
  1463. package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +11 -9
  1464. package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.js +6 -4
  1465. package/dist/node_modules/micromark-extension-gfm-table/lib/infer.js +4 -2
  1466. package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.js +36 -34
  1467. package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +20 -18
  1468. package/dist/node_modules/micromark-extension-math/lib/math-flow.js +21 -20
  1469. package/dist/node_modules/micromark-extension-math/lib/math-text.js +11 -9
  1470. package/dist/node_modules/micromark-extension-math/lib/syntax.js +8 -6
  1471. package/dist/node_modules/micromark-factory-destination/index.js +10 -8
  1472. package/dist/node_modules/micromark-factory-label/index.js +7 -5
  1473. package/dist/node_modules/micromark-factory-space/index.js +7 -5
  1474. package/dist/node_modules/micromark-factory-title/index.js +8 -6
  1475. package/dist/node_modules/micromark-factory-whitespace/index.js +7 -5
  1476. package/dist/node_modules/micromark-util-character/index.js +14 -12
  1477. package/dist/node_modules/micromark-util-chunked/index.js +6 -4
  1478. package/dist/node_modules/micromark-util-classify-character/index.js +7 -5
  1479. package/dist/node_modules/micromark-util-combine-extensions/index.js +13 -11
  1480. package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +4 -2
  1481. package/dist/node_modules/micromark-util-decode-string/index.js +11 -9
  1482. package/dist/node_modules/micromark-util-html-tag-name/index.js +4 -2
  1483. package/dist/node_modules/micromark-util-normalize-identifier/index.js +4 -2
  1484. package/dist/node_modules/micromark-util-resolve-all/index.js +4 -2
  1485. package/dist/node_modules/micromark-util-sanitize-uri/index.js +6 -4
  1486. package/dist/node_modules/micromark-util-subtokenize/index.js +10 -8
  1487. package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +10 -8
  1488. package/dist/node_modules/motion/dist/es/react.js +2 -2
  1489. package/dist/node_modules/nanoid/index.browser.js +6 -4
  1490. package/dist/node_modules/nanoid/url-alphabet/index.js +4 -2
  1491. package/dist/node_modules/property-information/index.js +25 -23
  1492. package/dist/node_modules/property-information/lib/aria.js +41 -39
  1493. package/dist/node_modules/property-information/lib/find.js +18 -16
  1494. package/dist/node_modules/property-information/lib/hast-to-react.js +4 -2
  1495. package/dist/node_modules/property-information/lib/html.js +96 -94
  1496. package/dist/node_modules/property-information/lib/normalize.js +4 -2
  1497. package/dist/node_modules/property-information/lib/svg.js +79 -77
  1498. package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +6 -4
  1499. package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +4 -2
  1500. package/dist/node_modules/property-information/lib/util/create.js +10 -8
  1501. package/dist/node_modules/property-information/lib/util/defined-info.js +13 -11
  1502. package/dist/node_modules/property-information/lib/util/info.js +5 -3
  1503. package/dist/node_modules/property-information/lib/util/merge.js +6 -4
  1504. package/dist/node_modules/property-information/lib/util/schema.js +5 -3
  1505. package/dist/node_modules/property-information/lib/util/types.js +15 -14
  1506. package/dist/node_modules/property-information/lib/xlink.js +5 -3
  1507. package/dist/node_modules/property-information/lib/xml.js +5 -3
  1508. package/dist/node_modules/property-information/lib/xmlns.js +7 -5
  1509. package/dist/node_modules/rehype-harden/dist/index.js +47 -45
  1510. package/dist/node_modules/rehype-katex/lib/index.js +25 -23
  1511. package/dist/node_modules/rehype-raw/lib/index.js +6 -4
  1512. package/dist/node_modules/rehype-sanitize/lib/index.js +6 -4
  1513. package/dist/node_modules/remark-gfm/lib/index.js +9 -7
  1514. package/dist/node_modules/remark-math/lib/index.js +9 -7
  1515. package/dist/node_modules/remark-parse/lib/index.js +6 -4
  1516. package/dist/node_modules/remark-rehype/lib/index.js +7 -5
  1517. package/dist/node_modules/remend/dist/index.js +368 -297
  1518. package/dist/node_modules/roughjs/bundled/rough.esm.js +877 -875
  1519. package/dist/node_modules/shiki/dist/bundle-full.js +13 -11
  1520. package/dist/node_modules/shiki/dist/chunk-CtajNgzt.js +17 -0
  1521. package/dist/node_modules/shiki/dist/engine-oniguruma.js +7 -0
  1522. package/dist/node_modules/shiki/dist/{langs.js → langs-bundle-full-DfKZStlK.js} +8 -6
  1523. package/dist/node_modules/shiki/dist/themes.js +6 -4
  1524. package/dist/node_modules/shiki/dist/wasm.js +2 -2
  1525. package/dist/node_modules/space-separated-tokens/index.js +5 -3
  1526. package/dist/node_modules/streamdown/dist/chunk-BO2N2NFS.js +2500 -0
  1527. package/dist/node_modules/streamdown/dist/highlighted-body-OFNGDK62.js +37 -0
  1528. package/dist/node_modules/streamdown/dist/index.js +1 -1
  1529. package/dist/node_modules/streamdown/dist/mermaid-GHXKKRXX.js +3 -0
  1530. package/dist/node_modules/streamdown/node_modules/marked/lib/marked.esm.js +701 -699
  1531. package/dist/node_modules/stringify-entities/lib/constant/dangerous.js +4 -2
  1532. package/dist/node_modules/stringify-entities/lib/core.js +18 -16
  1533. package/dist/node_modules/stringify-entities/lib/index.js +7 -5
  1534. package/dist/node_modules/stringify-entities/lib/util/format-smart.js +10 -8
  1535. package/dist/node_modules/stringify-entities/lib/util/to-decimal.js +6 -4
  1536. package/dist/node_modules/stringify-entities/lib/util/to-hexadecimal.js +6 -4
  1537. package/dist/node_modules/stringify-entities/lib/util/to-named.js +14 -12
  1538. package/dist/node_modules/style-to-js/cjs/index.js +9 -7
  1539. package/dist/node_modules/style-to-js/cjs/utilities.js +6 -4
  1540. package/dist/node_modules/style-to-object/cjs/index.js +8 -6
  1541. package/dist/node_modules/stylis/src/Enum.js +4 -2
  1542. package/dist/node_modules/stylis/src/Parser.js +38 -36
  1543. package/dist/node_modules/stylis/src/Serializer.js +17 -15
  1544. package/dist/node_modules/stylis/src/Tokenizer.js +53 -51
  1545. package/dist/node_modules/stylis/src/Utility.js +17 -15
  1546. package/dist/node_modules/trim-lines/index.js +10 -8
  1547. package/dist/node_modules/trough/lib/index.js +6 -4
  1548. package/dist/node_modules/ts-dedent/esm/index.js +4 -2
  1549. package/dist/node_modules/unified/lib/callable-instance.js +4 -2
  1550. package/dist/node_modules/unified/lib/index.js +102 -101
  1551. package/dist/node_modules/unified/node_modules/is-plain-obj/index.js +4 -2
  1552. package/dist/node_modules/unist-util-find-after/lib/index.js +6 -4
  1553. package/dist/node_modules/unist-util-is/lib/index.js +31 -29
  1554. package/dist/node_modules/unist-util-position/lib/index.js +7 -5
  1555. package/dist/node_modules/unist-util-stringify-position/lib/index.js +10 -8
  1556. package/dist/node_modules/unist-util-visit/lib/index.js +6 -4
  1557. package/dist/node_modules/unist-util-visit-parents/lib/color.js +4 -2
  1558. package/dist/node_modules/unist-util-visit-parents/lib/index.js +21 -20
  1559. package/dist/node_modules/uuid/dist/esm-browser/native.js +3 -2
  1560. package/dist/node_modules/uuid/dist/esm-browser/rng.js +8 -6
  1561. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +7 -5
  1562. package/dist/node_modules/uuid/dist/esm-browser/v4.js +10 -9
  1563. package/dist/node_modules/vaul/dist/index.js +276 -274
  1564. package/dist/node_modules/vfile/lib/index.js +44 -42
  1565. package/dist/node_modules/vfile/lib/minpath.browser.js +22 -20
  1566. package/dist/node_modules/vfile/lib/minproc.browser.js +5 -3
  1567. package/dist/node_modules/vfile/lib/minurl.browser.js +8 -6
  1568. package/dist/node_modules/vfile/lib/minurl.shared.js +4 -2
  1569. package/dist/node_modules/vfile-location/lib/index.js +7 -5
  1570. package/dist/node_modules/vfile-message/lib/index.js +7 -5
  1571. package/dist/node_modules/vscode-jsonrpc/browser.js +8 -6
  1572. package/dist/node_modules/vscode-jsonrpc/lib/browser/main.js +11 -9
  1573. package/dist/node_modules/vscode-jsonrpc/lib/browser/ril.js +8 -6
  1574. package/dist/node_modules/vscode-jsonrpc/lib/common/api.js +28 -26
  1575. package/dist/node_modules/vscode-jsonrpc/lib/common/cancellation.js +17 -15
  1576. package/dist/node_modules/vscode-jsonrpc/lib/common/connection.js +13 -11
  1577. package/dist/node_modules/vscode-jsonrpc/lib/common/disposable.js +6 -4
  1578. package/dist/node_modules/vscode-jsonrpc/lib/common/events.js +8 -6
  1579. package/dist/node_modules/vscode-jsonrpc/lib/common/is.js +6 -4
  1580. package/dist/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +6 -4
  1581. package/dist/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +6 -4
  1582. package/dist/node_modules/vscode-jsonrpc/lib/common/messageReader.js +11 -9
  1583. package/dist/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +31 -29
  1584. package/dist/node_modules/vscode-jsonrpc/lib/common/messages.js +8 -6
  1585. package/dist/node_modules/vscode-jsonrpc/lib/common/ral.js +6 -4
  1586. package/dist/node_modules/vscode-jsonrpc/lib/common/semaphore.js +8 -6
  1587. package/dist/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +8 -6
  1588. package/dist/node_modules/vscode-languageserver-protocol/lib/browser/main.js +10 -8
  1589. package/dist/node_modules/vscode-languageserver-protocol/lib/common/api.js +23 -21
  1590. package/dist/node_modules/vscode-languageserver-protocol/lib/common/connection.js +8 -6
  1591. package/dist/node_modules/vscode-languageserver-protocol/lib/common/messages.js +8 -6
  1592. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +8 -6
  1593. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +8 -6
  1594. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +8 -6
  1595. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +8 -6
  1596. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +14 -12
  1597. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +8 -6
  1598. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +8 -6
  1599. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +8 -6
  1600. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +8 -6
  1601. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +8 -6
  1602. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +8 -6
  1603. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +55 -53
  1604. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +8 -6
  1605. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +8 -6
  1606. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +10 -8
  1607. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +12 -10
  1608. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +8 -6
  1609. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +8 -6
  1610. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +8 -6
  1611. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +8 -6
  1612. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +8 -6
  1613. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +8 -6
  1614. package/dist/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +6 -4
  1615. package/dist/node_modules/vscode-languageserver-textdocument/lib/esm/main.js +21 -19
  1616. package/dist/node_modules/vscode-languageserver-types/lib/esm/main.js +849 -847
  1617. package/dist/node_modules/vscode-uri/lib/esm/index.js +6 -4
  1618. package/dist/node_modules/web-namespaces/index.js +4 -2
  1619. package/dist/node_modules/zwitch/index.js +7 -5
  1620. package/dist/packages/contracts/dist/enums/index.js +14 -12
  1621. package/dist/packages/contracts/dist/enums/registry.enum.js +6 -4
  1622. package/dist/packages/contracts/dist/enums/sort-order.enum.js +6 -4
  1623. package/dist/packages/contracts/dist/enums/user-type.enum.js +6 -4
  1624. package/dist/packages/contracts/dist/enums/workflow-state.enum.js +6 -4
  1625. package/dist/pages/DashboardPage.js +55 -99
  1626. package/dist/pages/DebugPage.js +12 -17
  1627. package/dist/pages/DebugWorkflowDetailsPage.js +91 -119
  1628. package/dist/pages/DebugWorkflowsPage.js +39 -37
  1629. package/dist/pages/EmbedWorkbenchPage.js +48 -62
  1630. package/dist/pages/PreviewWorkbenchPage.js +243 -324
  1631. package/dist/pages/RunsListPage.js +44 -61
  1632. package/dist/pages/RunsPage.js +31 -48
  1633. package/dist/pages/StudioLandingPage.js +97 -132
  1634. package/dist/pages/WorkbenchPage.js +56 -86
  1635. package/dist/pages/WorkflowDebugPage.js +74 -110
  1636. package/dist/pages/WorkspacePage.js +72 -115
  1637. package/dist/pages/WorkspaceRunsPage.js +43 -70
  1638. package/dist/pages/WorkspacesPage.js +24 -35
  1639. package/dist/providers/ComponentOverridesProvider.js +9 -12
  1640. package/dist/providers/InvalidationEventsProvider.js +33 -35
  1641. package/dist/providers/QueryProvider.js +14 -18
  1642. package/dist/providers/SseProvider.js +28 -29
  1643. package/dist/providers/StudioProvider.js +14 -19
  1644. package/dist/routing/LocalRouter.js +6 -9
  1645. package/dist/services/createApiClient.js +7 -5
  1646. package/dist/services/eventEmitter.js +3 -2
  1647. package/dist/services/index.js +2 -2
  1648. package/dist/types/ai.types.js +7 -5
  1649. package/package.json +33 -33
  1650. package/dist/_virtual/rolldown_runtime.js +0 -20
  1651. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7HQA4BMR.js +0 -3
  1652. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-4F5CHEZ2.js +0 -23
  1653. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-B2363JML.js +0 -60
  1654. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FRFDVMJY.js +0 -23
  1655. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-PL6DKKU2.js +0 -28
  1656. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-SJTYNZTY.js +0 -23
  1657. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TCCFYFTB.js +0 -787
  1658. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TQ3KTPDO.js +0 -23
  1659. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-UMXZTB3W.js +0 -30
  1660. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-G5XIXVHT.js +0 -3
  1661. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-VBDWY6EO.js +0 -3
  1662. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-DYOGHKS2.js +0 -3
  1663. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-VRWISCQL.js +0 -3
  1664. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-ZZBFDIW7.js +0 -3
  1665. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-GDKQZRPO.js +0 -3
  1666. package/dist/node_modules/@ungap/structured-clone/esm/types.js +0 -2
  1667. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.js +0 -16
  1668. package/dist/node_modules/langium/lib/index.js +0 -182
  1669. package/dist/node_modules/langium/lib/parser/indentation-aware.js +0 -141
  1670. package/dist/node_modules/langium/lib/utils/index.js +0 -53
  1671. package/dist/node_modules/langium/lib/workspace/profiler.js +0 -89
  1672. package/dist/node_modules/lodash/_Symbol.js +0 -7
  1673. package/dist/node_modules/lodash/_baseGetTag.js +0 -13
  1674. package/dist/node_modules/lodash/_baseTrim.js +0 -11
  1675. package/dist/node_modules/lodash/_freeGlobal.js +0 -6
  1676. package/dist/node_modules/lodash/_getRawTag.js +0 -17
  1677. package/dist/node_modules/lodash/_objectToString.js +0 -10
  1678. package/dist/node_modules/lodash/_root.js +0 -8
  1679. package/dist/node_modules/lodash/_trimmedEndIndex.js +0 -11
  1680. package/dist/node_modules/lodash/isObject.js +0 -10
  1681. package/dist/node_modules/lodash/isObjectLike.js +0 -9
  1682. package/dist/node_modules/lodash/isSymbol.js +0 -12
  1683. package/dist/node_modules/lodash/now.js +0 -10
  1684. package/dist/node_modules/lodash/toNumber.js +0 -22
  1685. package/dist/node_modules/lodash-es/_arrayAggregator.js +0 -9
  1686. package/dist/node_modules/lodash-es/_arrayEvery.js +0 -6
  1687. package/dist/node_modules/lodash-es/_baseAggregator.js +0 -8
  1688. package/dist/node_modules/lodash-es/_baseDifference.js +0 -22
  1689. package/dist/node_modules/lodash-es/_baseEvery.js +0 -9
  1690. package/dist/node_modules/lodash-es/_baseIsRegExp.js +0 -8
  1691. package/dist/node_modules/lodash-es/_baseSlice.js +0 -8
  1692. package/dist/node_modules/lodash-es/_baseSome.js +0 -9
  1693. package/dist/node_modules/lodash-es/_createAggregator.js +0 -12
  1694. package/dist/node_modules/lodash-es/assign.js +0 -14
  1695. package/dist/node_modules/lodash-es/compact.js +0 -9
  1696. package/dist/node_modules/lodash-es/difference.js +0 -8
  1697. package/dist/node_modules/lodash-es/drop.js +0 -8
  1698. package/dist/node_modules/lodash-es/dropRight.js +0 -8
  1699. package/dist/node_modules/lodash-es/every.js +0 -11
  1700. package/dist/node_modules/lodash-es/groupBy.js +0 -6
  1701. package/dist/node_modules/lodash-es/head.js +0 -5
  1702. package/dist/node_modules/lodash-es/includes.js +0 -13
  1703. package/dist/node_modules/lodash-es/indexOf.js +0 -11
  1704. package/dist/node_modules/lodash-es/isRegExp.js +0 -5
  1705. package/dist/node_modules/lodash-es/negate.js +0 -16
  1706. package/dist/node_modules/lodash-es/pickBy.js +0 -15
  1707. package/dist/node_modules/lodash-es/reject.js +0 -10
  1708. package/dist/node_modules/lodash-es/some.js +0 -11
  1709. package/dist/node_modules/lodash-es/uniq.js +0 -6
  1710. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-VXUJARFQ.js +0 -673
  1711. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VD42YOAC.js +0 -3010
  1712. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.js +0 -1547
  1713. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ATLVNIR6.js +0 -65
  1714. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-CVBHYZKI.js +0 -10
  1715. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DI55MBZ5.js +0 -1994
  1716. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DR5Q36YT.js +0 -135
  1717. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EXTU4WIE.js +0 -9
  1718. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HN2XXSSU.js +0 -74
  1719. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JA3XYJ7Z.js +0 -247
  1720. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JZLCHNYA.js +0 -3516
  1721. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MI3HLSF2.js +0 -1140
  1722. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-N4CR4FBY.js +0 -39
  1723. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QN33PNHL.js +0 -23
  1724. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QXUST7PY.js +0 -497
  1725. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-S3R3BYOJ.js +0 -338
  1726. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TZMSLE5B.js +0 -55
  1727. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-2ON5EDUG.js +0 -26
  1728. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-WZHVMYZB.js +0 -26
  1729. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/dagre-6UL2VRFP.js +0 -263
  1730. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.js +0 -283
  1731. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-QEK2KX5R.js +0 -211
  1732. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-S2PKOQOG.js +0 -129
  1733. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-JELNMOA3.js +0 -1688
  1734. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-V2S2FVAM.js +0 -621
  1735. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-HS3SLOUP.js +0 -18
  1736. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-XKPGCS4Q.js +0 -883
  1737. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-ADFJNKIX.js +0 -117
  1738. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-TZEHDZUN.js +0 -519
  1739. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-WL72ISMW.js +0 -3560
  1740. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FKZM4ZOC.js +0 -220
  1741. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-4FDKWEC3.js +0 -25
  1742. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-IT6M3QCI.js +0 -833
  1743. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-PRI3JC2R.js +0 -1975
  1744. package/dist/node_modules/streamdown/dist/chunk-RLXIAIE6.js +0 -2189
  1745. package/dist/node_modules/streamdown/dist/highlighted-body-B3W2YXNL.js +0 -33
  1746. package/dist/node_modules/streamdown/dist/mermaid-3ZIDBTTL.js +0 -3
@@ -0,0 +1,2000 @@
1
+ import { __name as e, log as t } from "./chunk-AGHRB4JF.js";
2
+ import { clear as n, configureSvgSize as r, defaultConfig_default as i, getAccDescription as a, getAccTitle as o, getConfig as s, getDiagramTitle as c, getThemeVariables3 as l, sanitizeText as u, setAccDescription as d, setAccTitle as f, setDiagramTitle as p } from "./chunk-ICPOFSXX.js";
3
+ import m from "../../../../d3-scale/src/band.js";
4
+ import h from "../../../../d3-scale/src/linear.js";
5
+ import g from "../../../../d3-shape/src/line.js";
6
+ import "../../../../d3/src/index.js";
7
+ import { selectSvgElement as _ } from "./chunk-426QAEUC.js";
8
+ import { cleanAndMerge as v } from "./chunk-5PVQY5BW.js";
9
+ import { computeDimensionOfText as y } from "./chunk-U2HBQHQK.js";
10
+ //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-5P7HB3ND.mjs
11
+ var b = (function() {
12
+ var t = /* @__PURE__ */ e(function(e, t, n, r) {
13
+ for (n ||= {}, r = e.length; r--; n[e[r]] = t);
14
+ return n;
15
+ }, "o"), n = [
16
+ 1,
17
+ 10,
18
+ 12,
19
+ 14,
20
+ 16,
21
+ 18,
22
+ 19,
23
+ 21,
24
+ 23
25
+ ], r = [2, 6], i = [1, 3], a = [1, 5], o = [1, 6], s = [1, 7], c = [
26
+ 1,
27
+ 5,
28
+ 10,
29
+ 12,
30
+ 14,
31
+ 16,
32
+ 18,
33
+ 19,
34
+ 21,
35
+ 23,
36
+ 34,
37
+ 35,
38
+ 36
39
+ ], l = [1, 25], u = [1, 26], d = [1, 28], f = [1, 29], p = [1, 30], m = [1, 31], h = [1, 32], g = [1, 33], _ = [1, 34], v = [1, 35], y = [1, 36], b = [1, 37], x = [1, 43], S = [1, 42], C = [1, 47], w = [1, 50], T = [
40
+ 1,
41
+ 10,
42
+ 12,
43
+ 14,
44
+ 16,
45
+ 18,
46
+ 19,
47
+ 21,
48
+ 23,
49
+ 34,
50
+ 35,
51
+ 36
52
+ ], E = [
53
+ 1,
54
+ 10,
55
+ 12,
56
+ 14,
57
+ 16,
58
+ 18,
59
+ 19,
60
+ 21,
61
+ 23,
62
+ 24,
63
+ 26,
64
+ 27,
65
+ 28,
66
+ 34,
67
+ 35,
68
+ 36
69
+ ], D = [
70
+ 1,
71
+ 10,
72
+ 12,
73
+ 14,
74
+ 16,
75
+ 18,
76
+ 19,
77
+ 21,
78
+ 23,
79
+ 24,
80
+ 26,
81
+ 27,
82
+ 28,
83
+ 34,
84
+ 35,
85
+ 36,
86
+ 41,
87
+ 42,
88
+ 43,
89
+ 44,
90
+ 45,
91
+ 46,
92
+ 47,
93
+ 48,
94
+ 49,
95
+ 50
96
+ ], O = [1, 64], k = {
97
+ trace: /* @__PURE__ */ e(function() {}, "trace"),
98
+ yy: {},
99
+ symbols_: {
100
+ error: 2,
101
+ start: 3,
102
+ eol: 4,
103
+ XYCHART: 5,
104
+ chartConfig: 6,
105
+ document: 7,
106
+ CHART_ORIENTATION: 8,
107
+ statement: 9,
108
+ title: 10,
109
+ text: 11,
110
+ X_AXIS: 12,
111
+ parseXAxis: 13,
112
+ Y_AXIS: 14,
113
+ parseYAxis: 15,
114
+ LINE: 16,
115
+ plotData: 17,
116
+ BAR: 18,
117
+ acc_title: 19,
118
+ acc_title_value: 20,
119
+ acc_descr: 21,
120
+ acc_descr_value: 22,
121
+ acc_descr_multiline_value: 23,
122
+ SQUARE_BRACES_START: 24,
123
+ commaSeparatedNumbers: 25,
124
+ SQUARE_BRACES_END: 26,
125
+ NUMBER_WITH_DECIMAL: 27,
126
+ COMMA: 28,
127
+ xAxisData: 29,
128
+ bandData: 30,
129
+ ARROW_DELIMITER: 31,
130
+ commaSeparatedTexts: 32,
131
+ yAxisData: 33,
132
+ NEWLINE: 34,
133
+ SEMI: 35,
134
+ EOF: 36,
135
+ alphaNum: 37,
136
+ STR: 38,
137
+ MD_STR: 39,
138
+ alphaNumToken: 40,
139
+ AMP: 41,
140
+ NUM: 42,
141
+ ALPHA: 43,
142
+ PLUS: 44,
143
+ EQUALS: 45,
144
+ MULT: 46,
145
+ DOT: 47,
146
+ BRKT: 48,
147
+ MINUS: 49,
148
+ UNDERSCORE: 50,
149
+ $accept: 0,
150
+ $end: 1
151
+ },
152
+ terminals_: {
153
+ 2: "error",
154
+ 5: "XYCHART",
155
+ 8: "CHART_ORIENTATION",
156
+ 10: "title",
157
+ 12: "X_AXIS",
158
+ 14: "Y_AXIS",
159
+ 16: "LINE",
160
+ 18: "BAR",
161
+ 19: "acc_title",
162
+ 20: "acc_title_value",
163
+ 21: "acc_descr",
164
+ 22: "acc_descr_value",
165
+ 23: "acc_descr_multiline_value",
166
+ 24: "SQUARE_BRACES_START",
167
+ 26: "SQUARE_BRACES_END",
168
+ 27: "NUMBER_WITH_DECIMAL",
169
+ 28: "COMMA",
170
+ 31: "ARROW_DELIMITER",
171
+ 34: "NEWLINE",
172
+ 35: "SEMI",
173
+ 36: "EOF",
174
+ 38: "STR",
175
+ 39: "MD_STR",
176
+ 41: "AMP",
177
+ 42: "NUM",
178
+ 43: "ALPHA",
179
+ 44: "PLUS",
180
+ 45: "EQUALS",
181
+ 46: "MULT",
182
+ 47: "DOT",
183
+ 48: "BRKT",
184
+ 49: "MINUS",
185
+ 50: "UNDERSCORE"
186
+ },
187
+ productions_: [
188
+ 0,
189
+ [3, 2],
190
+ [3, 3],
191
+ [3, 2],
192
+ [3, 1],
193
+ [6, 1],
194
+ [7, 0],
195
+ [7, 2],
196
+ [9, 2],
197
+ [9, 2],
198
+ [9, 2],
199
+ [9, 2],
200
+ [9, 2],
201
+ [9, 3],
202
+ [9, 2],
203
+ [9, 3],
204
+ [9, 2],
205
+ [9, 2],
206
+ [9, 1],
207
+ [17, 3],
208
+ [25, 3],
209
+ [25, 1],
210
+ [13, 1],
211
+ [13, 2],
212
+ [13, 1],
213
+ [29, 1],
214
+ [29, 3],
215
+ [30, 3],
216
+ [32, 3],
217
+ [32, 1],
218
+ [15, 1],
219
+ [15, 2],
220
+ [15, 1],
221
+ [33, 3],
222
+ [4, 1],
223
+ [4, 1],
224
+ [4, 1],
225
+ [11, 1],
226
+ [11, 1],
227
+ [11, 1],
228
+ [37, 1],
229
+ [37, 2],
230
+ [40, 1],
231
+ [40, 1],
232
+ [40, 1],
233
+ [40, 1],
234
+ [40, 1],
235
+ [40, 1],
236
+ [40, 1],
237
+ [40, 1],
238
+ [40, 1],
239
+ [40, 1]
240
+ ],
241
+ performAction: /* @__PURE__ */ e(function(e, t, n, r, i, a, o) {
242
+ var s = a.length - 1;
243
+ switch (i) {
244
+ case 5:
245
+ r.setOrientation(a[s]);
246
+ break;
247
+ case 9:
248
+ r.setDiagramTitle(a[s].text.trim());
249
+ break;
250
+ case 12:
251
+ r.setLineData({
252
+ text: "",
253
+ type: "text"
254
+ }, a[s]);
255
+ break;
256
+ case 13:
257
+ r.setLineData(a[s - 1], a[s]);
258
+ break;
259
+ case 14:
260
+ r.setBarData({
261
+ text: "",
262
+ type: "text"
263
+ }, a[s]);
264
+ break;
265
+ case 15:
266
+ r.setBarData(a[s - 1], a[s]);
267
+ break;
268
+ case 16:
269
+ this.$ = a[s].trim(), r.setAccTitle(this.$);
270
+ break;
271
+ case 17:
272
+ case 18:
273
+ this.$ = a[s].trim(), r.setAccDescription(this.$);
274
+ break;
275
+ case 19:
276
+ this.$ = a[s - 1];
277
+ break;
278
+ case 20:
279
+ this.$ = [Number(a[s - 2]), ...a[s]];
280
+ break;
281
+ case 21:
282
+ this.$ = [Number(a[s])];
283
+ break;
284
+ case 22:
285
+ r.setXAxisTitle(a[s]);
286
+ break;
287
+ case 23:
288
+ r.setXAxisTitle(a[s - 1]);
289
+ break;
290
+ case 24:
291
+ r.setXAxisTitle({
292
+ type: "text",
293
+ text: ""
294
+ });
295
+ break;
296
+ case 25:
297
+ r.setXAxisBand(a[s]);
298
+ break;
299
+ case 26:
300
+ r.setXAxisRangeData(Number(a[s - 2]), Number(a[s]));
301
+ break;
302
+ case 27:
303
+ this.$ = a[s - 1];
304
+ break;
305
+ case 28:
306
+ this.$ = [a[s - 2], ...a[s]];
307
+ break;
308
+ case 29:
309
+ this.$ = [a[s]];
310
+ break;
311
+ case 30:
312
+ r.setYAxisTitle(a[s]);
313
+ break;
314
+ case 31:
315
+ r.setYAxisTitle(a[s - 1]);
316
+ break;
317
+ case 32:
318
+ r.setYAxisTitle({
319
+ type: "text",
320
+ text: ""
321
+ });
322
+ break;
323
+ case 33:
324
+ r.setYAxisRangeData(Number(a[s - 2]), Number(a[s]));
325
+ break;
326
+ case 37:
327
+ this.$ = {
328
+ text: a[s],
329
+ type: "text"
330
+ };
331
+ break;
332
+ case 38:
333
+ this.$ = {
334
+ text: a[s],
335
+ type: "text"
336
+ };
337
+ break;
338
+ case 39:
339
+ this.$ = {
340
+ text: a[s],
341
+ type: "markdown"
342
+ };
343
+ break;
344
+ case 40:
345
+ this.$ = a[s];
346
+ break;
347
+ case 41:
348
+ this.$ = a[s - 1] + "" + a[s];
349
+ break;
350
+ }
351
+ }, "anonymous"),
352
+ table: [
353
+ t(n, r, {
354
+ 3: 1,
355
+ 4: 2,
356
+ 7: 4,
357
+ 5: i,
358
+ 34: a,
359
+ 35: o,
360
+ 36: s
361
+ }),
362
+ { 1: [3] },
363
+ t(n, r, {
364
+ 4: 2,
365
+ 7: 4,
366
+ 3: 8,
367
+ 5: i,
368
+ 34: a,
369
+ 35: o,
370
+ 36: s
371
+ }),
372
+ t(n, r, {
373
+ 4: 2,
374
+ 7: 4,
375
+ 6: 9,
376
+ 3: 10,
377
+ 5: i,
378
+ 8: [1, 11],
379
+ 34: a,
380
+ 35: o,
381
+ 36: s
382
+ }),
383
+ {
384
+ 1: [2, 4],
385
+ 9: 12,
386
+ 10: [1, 13],
387
+ 12: [1, 14],
388
+ 14: [1, 15],
389
+ 16: [1, 16],
390
+ 18: [1, 17],
391
+ 19: [1, 18],
392
+ 21: [1, 19],
393
+ 23: [1, 20]
394
+ },
395
+ t(c, [2, 34]),
396
+ t(c, [2, 35]),
397
+ t(c, [2, 36]),
398
+ { 1: [2, 1] },
399
+ t(n, r, {
400
+ 4: 2,
401
+ 7: 4,
402
+ 3: 21,
403
+ 5: i,
404
+ 34: a,
405
+ 35: o,
406
+ 36: s
407
+ }),
408
+ { 1: [2, 3] },
409
+ t(c, [2, 5]),
410
+ t(n, [2, 7], {
411
+ 4: 22,
412
+ 34: a,
413
+ 35: o,
414
+ 36: s
415
+ }),
416
+ {
417
+ 11: 23,
418
+ 37: 24,
419
+ 38: l,
420
+ 39: u,
421
+ 40: 27,
422
+ 41: d,
423
+ 42: f,
424
+ 43: p,
425
+ 44: m,
426
+ 45: h,
427
+ 46: g,
428
+ 47: _,
429
+ 48: v,
430
+ 49: y,
431
+ 50: b
432
+ },
433
+ {
434
+ 11: 39,
435
+ 13: 38,
436
+ 24: x,
437
+ 27: S,
438
+ 29: 40,
439
+ 30: 41,
440
+ 37: 24,
441
+ 38: l,
442
+ 39: u,
443
+ 40: 27,
444
+ 41: d,
445
+ 42: f,
446
+ 43: p,
447
+ 44: m,
448
+ 45: h,
449
+ 46: g,
450
+ 47: _,
451
+ 48: v,
452
+ 49: y,
453
+ 50: b
454
+ },
455
+ {
456
+ 11: 45,
457
+ 15: 44,
458
+ 27: C,
459
+ 33: 46,
460
+ 37: 24,
461
+ 38: l,
462
+ 39: u,
463
+ 40: 27,
464
+ 41: d,
465
+ 42: f,
466
+ 43: p,
467
+ 44: m,
468
+ 45: h,
469
+ 46: g,
470
+ 47: _,
471
+ 48: v,
472
+ 49: y,
473
+ 50: b
474
+ },
475
+ {
476
+ 11: 49,
477
+ 17: 48,
478
+ 24: w,
479
+ 37: 24,
480
+ 38: l,
481
+ 39: u,
482
+ 40: 27,
483
+ 41: d,
484
+ 42: f,
485
+ 43: p,
486
+ 44: m,
487
+ 45: h,
488
+ 46: g,
489
+ 47: _,
490
+ 48: v,
491
+ 49: y,
492
+ 50: b
493
+ },
494
+ {
495
+ 11: 52,
496
+ 17: 51,
497
+ 24: w,
498
+ 37: 24,
499
+ 38: l,
500
+ 39: u,
501
+ 40: 27,
502
+ 41: d,
503
+ 42: f,
504
+ 43: p,
505
+ 44: m,
506
+ 45: h,
507
+ 46: g,
508
+ 47: _,
509
+ 48: v,
510
+ 49: y,
511
+ 50: b
512
+ },
513
+ { 20: [1, 53] },
514
+ { 22: [1, 54] },
515
+ t(T, [2, 18]),
516
+ { 1: [2, 2] },
517
+ t(T, [2, 8]),
518
+ t(T, [2, 9]),
519
+ t(E, [2, 37], {
520
+ 40: 55,
521
+ 41: d,
522
+ 42: f,
523
+ 43: p,
524
+ 44: m,
525
+ 45: h,
526
+ 46: g,
527
+ 47: _,
528
+ 48: v,
529
+ 49: y,
530
+ 50: b
531
+ }),
532
+ t(E, [2, 38]),
533
+ t(E, [2, 39]),
534
+ t(D, [2, 40]),
535
+ t(D, [2, 42]),
536
+ t(D, [2, 43]),
537
+ t(D, [2, 44]),
538
+ t(D, [2, 45]),
539
+ t(D, [2, 46]),
540
+ t(D, [2, 47]),
541
+ t(D, [2, 48]),
542
+ t(D, [2, 49]),
543
+ t(D, [2, 50]),
544
+ t(D, [2, 51]),
545
+ t(T, [2, 10]),
546
+ t(T, [2, 22], {
547
+ 30: 41,
548
+ 29: 56,
549
+ 24: x,
550
+ 27: S
551
+ }),
552
+ t(T, [2, 24]),
553
+ t(T, [2, 25]),
554
+ { 31: [1, 57] },
555
+ {
556
+ 11: 59,
557
+ 32: 58,
558
+ 37: 24,
559
+ 38: l,
560
+ 39: u,
561
+ 40: 27,
562
+ 41: d,
563
+ 42: f,
564
+ 43: p,
565
+ 44: m,
566
+ 45: h,
567
+ 46: g,
568
+ 47: _,
569
+ 48: v,
570
+ 49: y,
571
+ 50: b
572
+ },
573
+ t(T, [2, 11]),
574
+ t(T, [2, 30], {
575
+ 33: 60,
576
+ 27: C
577
+ }),
578
+ t(T, [2, 32]),
579
+ { 31: [1, 61] },
580
+ t(T, [2, 12]),
581
+ {
582
+ 17: 62,
583
+ 24: w
584
+ },
585
+ {
586
+ 25: 63,
587
+ 27: O
588
+ },
589
+ t(T, [2, 14]),
590
+ {
591
+ 17: 65,
592
+ 24: w
593
+ },
594
+ t(T, [2, 16]),
595
+ t(T, [2, 17]),
596
+ t(D, [2, 41]),
597
+ t(T, [2, 23]),
598
+ { 27: [1, 66] },
599
+ { 26: [1, 67] },
600
+ {
601
+ 26: [2, 29],
602
+ 28: [1, 68]
603
+ },
604
+ t(T, [2, 31]),
605
+ { 27: [1, 69] },
606
+ t(T, [2, 13]),
607
+ { 26: [1, 70] },
608
+ {
609
+ 26: [2, 21],
610
+ 28: [1, 71]
611
+ },
612
+ t(T, [2, 15]),
613
+ t(T, [2, 26]),
614
+ t(T, [2, 27]),
615
+ {
616
+ 11: 59,
617
+ 32: 72,
618
+ 37: 24,
619
+ 38: l,
620
+ 39: u,
621
+ 40: 27,
622
+ 41: d,
623
+ 42: f,
624
+ 43: p,
625
+ 44: m,
626
+ 45: h,
627
+ 46: g,
628
+ 47: _,
629
+ 48: v,
630
+ 49: y,
631
+ 50: b
632
+ },
633
+ t(T, [2, 33]),
634
+ t(T, [2, 19]),
635
+ {
636
+ 25: 73,
637
+ 27: O
638
+ },
639
+ { 26: [2, 28] },
640
+ { 26: [2, 20] }
641
+ ],
642
+ defaultActions: {
643
+ 8: [2, 1],
644
+ 10: [2, 3],
645
+ 21: [2, 2],
646
+ 72: [2, 28],
647
+ 73: [2, 20]
648
+ },
649
+ parseError: /* @__PURE__ */ e(function(e, t) {
650
+ if (t.recoverable) this.trace(e);
651
+ else {
652
+ var n = Error(e);
653
+ throw n.hash = t, n;
654
+ }
655
+ }, "parseError"),
656
+ parse: /* @__PURE__ */ e(function(t) {
657
+ var n = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
658
+ for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
659
+ h.setInput(t, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
660
+ var v = h.yylloc;
661
+ o.push(v);
662
+ var y = h.options && h.options.ranges;
663
+ typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
664
+ function b(e) {
665
+ r.length -= 2 * e, a.length -= e, o.length -= e;
666
+ }
667
+ e(b, "popStack");
668
+ function x() {
669
+ var e = i.pop() || h.lex() || p;
670
+ return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
671
+ }
672
+ e(x, "lex");
673
+ for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
674
+ if (w = r[r.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
675
+ var M = "";
676
+ for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
677
+ M = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
678
+ text: h.match,
679
+ token: this.terminals_[S] || S,
680
+ line: h.yylineno,
681
+ loc: v,
682
+ expected: j
683
+ });
684
+ }
685
+ if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
686
+ switch (T[0]) {
687
+ case 1:
688
+ r.push(S), a.push(h.yytext), o.push(h.yylloc), r.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, v = h.yylloc, d > 0 && d--);
689
+ break;
690
+ case 2:
691
+ if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
692
+ first_line: o[o.length - (k || 1)].first_line,
693
+ last_line: o[o.length - 1].last_line,
694
+ first_column: o[o.length - (k || 1)].first_column,
695
+ last_column: o[o.length - 1].last_column
696
+ }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
697
+ c,
698
+ u,
699
+ l,
700
+ g.yy,
701
+ T[1],
702
+ a,
703
+ o
704
+ ].concat(m)), E !== void 0) return E;
705
+ k && (r = r.slice(0, -1 * k * 2), a = a.slice(0, -1 * k), o = o.slice(0, -1 * k)), r.push(this.productions_[T[1]][0]), a.push(D.$), o.push(D._$), A = s[r[r.length - 2]][r[r.length - 1]], r.push(A);
706
+ break;
707
+ case 3: return !0;
708
+ }
709
+ }
710
+ return !0;
711
+ }, "parse")
712
+ };
713
+ k.lexer = /* @__PURE__ */ (function() {
714
+ return {
715
+ EOF: 1,
716
+ parseError: /* @__PURE__ */ e(function(e, t) {
717
+ if (this.yy.parser) this.yy.parser.parseError(e, t);
718
+ else throw Error(e);
719
+ }, "parseError"),
720
+ setInput: /* @__PURE__ */ e(function(e, t) {
721
+ return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
722
+ first_line: 1,
723
+ first_column: 0,
724
+ last_line: 1,
725
+ last_column: 0
726
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
727
+ }, "setInput"),
728
+ input: /* @__PURE__ */ e(function() {
729
+ var e = this._input[0];
730
+ return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
731
+ }, "input"),
732
+ unput: /* @__PURE__ */ e(function(e) {
733
+ var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
734
+ this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
735
+ var r = this.match.split(/(?:\r\n?|\n)/g);
736
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
737
+ var i = this.yylloc.range;
738
+ return this.yylloc = {
739
+ first_line: this.yylloc.first_line,
740
+ last_line: this.yylineno + 1,
741
+ first_column: this.yylloc.first_column,
742
+ last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
743
+ }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
744
+ }, "unput"),
745
+ more: /* @__PURE__ */ e(function() {
746
+ return this._more = !0, this;
747
+ }, "more"),
748
+ reject: /* @__PURE__ */ e(function() {
749
+ if (this.options.backtrack_lexer) this._backtrack = !0;
750
+ else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
751
+ text: "",
752
+ token: null,
753
+ line: this.yylineno
754
+ });
755
+ return this;
756
+ }, "reject"),
757
+ less: /* @__PURE__ */ e(function(e) {
758
+ this.unput(this.match.slice(e));
759
+ }, "less"),
760
+ pastInput: /* @__PURE__ */ e(function() {
761
+ var e = this.matched.substr(0, this.matched.length - this.match.length);
762
+ return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
763
+ }, "pastInput"),
764
+ upcomingInput: /* @__PURE__ */ e(function() {
765
+ var e = this.match;
766
+ return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
767
+ }, "upcomingInput"),
768
+ showPosition: /* @__PURE__ */ e(function() {
769
+ var e = this.pastInput(), t = Array(e.length + 1).join("-");
770
+ return e + this.upcomingInput() + "\n" + t + "^";
771
+ }, "showPosition"),
772
+ test_match: /* @__PURE__ */ e(function(e, t) {
773
+ var n, r, i;
774
+ if (this.options.backtrack_lexer && (i = {
775
+ yylineno: this.yylineno,
776
+ yylloc: {
777
+ first_line: this.yylloc.first_line,
778
+ last_line: this.last_line,
779
+ first_column: this.yylloc.first_column,
780
+ last_column: this.yylloc.last_column
781
+ },
782
+ yytext: this.yytext,
783
+ match: this.match,
784
+ matches: this.matches,
785
+ matched: this.matched,
786
+ yyleng: this.yyleng,
787
+ offset: this.offset,
788
+ _more: this._more,
789
+ _input: this._input,
790
+ yy: this.yy,
791
+ conditionStack: this.conditionStack.slice(0),
792
+ done: this.done
793
+ }, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), r = e[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
794
+ first_line: this.yylloc.last_line,
795
+ last_line: this.yylineno + 1,
796
+ first_column: this.yylloc.last_column,
797
+ last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
798
+ }, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], n = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
799
+ if (this._backtrack) {
800
+ for (var a in i) this[a] = i[a];
801
+ return !1;
802
+ }
803
+ return !1;
804
+ }, "test_match"),
805
+ next: /* @__PURE__ */ e(function() {
806
+ if (this.done) return this.EOF;
807
+ this._input || (this.done = !0);
808
+ var e, t, n, r;
809
+ this._more || (this.yytext = "", this.match = "");
810
+ for (var i = this._currentRules(), a = 0; a < i.length; a++) if (n = this._input.match(this.rules[i[a]]), n && (!t || n[0].length > t[0].length)) {
811
+ if (t = n, r = a, this.options.backtrack_lexer) {
812
+ if (e = this.test_match(n, i[a]), e !== !1) return e;
813
+ if (this._backtrack) {
814
+ t = !1;
815
+ continue;
816
+ } else return !1;
817
+ } else if (!this.options.flex) break;
818
+ }
819
+ return t ? (e = this.test_match(t, i[r]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
820
+ text: "",
821
+ token: null,
822
+ line: this.yylineno
823
+ });
824
+ }, "next"),
825
+ lex: /* @__PURE__ */ e(function() {
826
+ return this.next() || this.lex();
827
+ }, "lex"),
828
+ begin: /* @__PURE__ */ e(function(e) {
829
+ this.conditionStack.push(e);
830
+ }, "begin"),
831
+ popState: /* @__PURE__ */ e(function() {
832
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
833
+ }, "popState"),
834
+ _currentRules: /* @__PURE__ */ e(function() {
835
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
836
+ }, "_currentRules"),
837
+ topState: /* @__PURE__ */ e(function(e) {
838
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
839
+ }, "topState"),
840
+ pushState: /* @__PURE__ */ e(function(e) {
841
+ this.begin(e);
842
+ }, "pushState"),
843
+ stateStackSize: /* @__PURE__ */ e(function() {
844
+ return this.conditionStack.length;
845
+ }, "stateStackSize"),
846
+ options: { "case-insensitive": !0 },
847
+ performAction: /* @__PURE__ */ e(function(e, t, n, r) {
848
+ switch (n) {
849
+ case 0: break;
850
+ case 1: break;
851
+ case 2: return this.popState(), 34;
852
+ case 3: return this.popState(), 34;
853
+ case 4: return 34;
854
+ case 5: break;
855
+ case 6: return 10;
856
+ case 7: return this.pushState("acc_title"), 19;
857
+ case 8: return this.popState(), "acc_title_value";
858
+ case 9: return this.pushState("acc_descr"), 21;
859
+ case 10: return this.popState(), "acc_descr_value";
860
+ case 11:
861
+ this.pushState("acc_descr_multiline");
862
+ break;
863
+ case 12:
864
+ this.popState();
865
+ break;
866
+ case 13: return "acc_descr_multiline_value";
867
+ case 14: return 5;
868
+ case 15: return 5;
869
+ case 16: return 8;
870
+ case 17: return this.pushState("axis_data"), "X_AXIS";
871
+ case 18: return this.pushState("axis_data"), "Y_AXIS";
872
+ case 19: return this.pushState("axis_band_data"), 24;
873
+ case 20: return 31;
874
+ case 21: return this.pushState("data"), 16;
875
+ case 22: return this.pushState("data"), 18;
876
+ case 23: return this.pushState("data_inner"), 24;
877
+ case 24: return 27;
878
+ case 25: return this.popState(), 26;
879
+ case 26:
880
+ this.popState();
881
+ break;
882
+ case 27:
883
+ this.pushState("string");
884
+ break;
885
+ case 28:
886
+ this.popState();
887
+ break;
888
+ case 29: return "STR";
889
+ case 30: return 24;
890
+ case 31: return 26;
891
+ case 32: return 43;
892
+ case 33: return "COLON";
893
+ case 34: return 44;
894
+ case 35: return 28;
895
+ case 36: return 45;
896
+ case 37: return 46;
897
+ case 38: return 48;
898
+ case 39: return 50;
899
+ case 40: return 47;
900
+ case 41: return 41;
901
+ case 42: return 49;
902
+ case 43: return 42;
903
+ case 44: break;
904
+ case 45: return 35;
905
+ case 46: return 36;
906
+ }
907
+ }, "anonymous"),
908
+ rules: [
909
+ /^(?:%%(?!\{)[^\n]*)/i,
910
+ /^(?:[^\}]%%[^\n]*)/i,
911
+ /^(?:(\r?\n))/i,
912
+ /^(?:(\r?\n))/i,
913
+ /^(?:[\n\r]+)/i,
914
+ /^(?:%%[^\n]*)/i,
915
+ /^(?:title\b)/i,
916
+ /^(?:accTitle\s*:\s*)/i,
917
+ /^(?:(?!\n||)*[^\n]*)/i,
918
+ /^(?:accDescr\s*:\s*)/i,
919
+ /^(?:(?!\n||)*[^\n]*)/i,
920
+ /^(?:accDescr\s*\{\s*)/i,
921
+ /^(?:\})/i,
922
+ /^(?:[^\}]*)/i,
923
+ /^(?:xychart-beta\b)/i,
924
+ /^(?:xychart\b)/i,
925
+ /^(?:(?:vertical|horizontal))/i,
926
+ /^(?:x-axis\b)/i,
927
+ /^(?:y-axis\b)/i,
928
+ /^(?:\[)/i,
929
+ /^(?:-->)/i,
930
+ /^(?:line\b)/i,
931
+ /^(?:bar\b)/i,
932
+ /^(?:\[)/i,
933
+ /^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,
934
+ /^(?:\])/i,
935
+ /^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,
936
+ /^(?:["])/i,
937
+ /^(?:["])/i,
938
+ /^(?:[^"]*)/i,
939
+ /^(?:\[)/i,
940
+ /^(?:\])/i,
941
+ /^(?:[A-Za-z]+)/i,
942
+ /^(?::)/i,
943
+ /^(?:\+)/i,
944
+ /^(?:,)/i,
945
+ /^(?:=)/i,
946
+ /^(?:\*)/i,
947
+ /^(?:#)/i,
948
+ /^(?:[\_])/i,
949
+ /^(?:\.)/i,
950
+ /^(?:&)/i,
951
+ /^(?:-)/i,
952
+ /^(?:[0-9]+)/i,
953
+ /^(?:\s+)/i,
954
+ /^(?:;)/i,
955
+ /^(?:$)/i
956
+ ],
957
+ conditions: {
958
+ data_inner: {
959
+ rules: [
960
+ 0,
961
+ 1,
962
+ 4,
963
+ 5,
964
+ 6,
965
+ 7,
966
+ 9,
967
+ 11,
968
+ 14,
969
+ 15,
970
+ 16,
971
+ 17,
972
+ 18,
973
+ 21,
974
+ 22,
975
+ 24,
976
+ 25,
977
+ 26,
978
+ 27,
979
+ 30,
980
+ 31,
981
+ 32,
982
+ 33,
983
+ 34,
984
+ 35,
985
+ 36,
986
+ 37,
987
+ 38,
988
+ 39,
989
+ 40,
990
+ 41,
991
+ 42,
992
+ 43,
993
+ 44,
994
+ 45,
995
+ 46
996
+ ],
997
+ inclusive: !0
998
+ },
999
+ data: {
1000
+ rules: [
1001
+ 0,
1002
+ 1,
1003
+ 3,
1004
+ 4,
1005
+ 5,
1006
+ 6,
1007
+ 7,
1008
+ 9,
1009
+ 11,
1010
+ 14,
1011
+ 15,
1012
+ 16,
1013
+ 17,
1014
+ 18,
1015
+ 21,
1016
+ 22,
1017
+ 23,
1018
+ 26,
1019
+ 27,
1020
+ 30,
1021
+ 31,
1022
+ 32,
1023
+ 33,
1024
+ 34,
1025
+ 35,
1026
+ 36,
1027
+ 37,
1028
+ 38,
1029
+ 39,
1030
+ 40,
1031
+ 41,
1032
+ 42,
1033
+ 43,
1034
+ 44,
1035
+ 45,
1036
+ 46
1037
+ ],
1038
+ inclusive: !0
1039
+ },
1040
+ axis_band_data: {
1041
+ rules: [
1042
+ 0,
1043
+ 1,
1044
+ 4,
1045
+ 5,
1046
+ 6,
1047
+ 7,
1048
+ 9,
1049
+ 11,
1050
+ 14,
1051
+ 15,
1052
+ 16,
1053
+ 17,
1054
+ 18,
1055
+ 21,
1056
+ 22,
1057
+ 25,
1058
+ 26,
1059
+ 27,
1060
+ 30,
1061
+ 31,
1062
+ 32,
1063
+ 33,
1064
+ 34,
1065
+ 35,
1066
+ 36,
1067
+ 37,
1068
+ 38,
1069
+ 39,
1070
+ 40,
1071
+ 41,
1072
+ 42,
1073
+ 43,
1074
+ 44,
1075
+ 45,
1076
+ 46
1077
+ ],
1078
+ inclusive: !0
1079
+ },
1080
+ axis_data: {
1081
+ rules: [
1082
+ 0,
1083
+ 1,
1084
+ 2,
1085
+ 4,
1086
+ 5,
1087
+ 6,
1088
+ 7,
1089
+ 9,
1090
+ 11,
1091
+ 14,
1092
+ 15,
1093
+ 16,
1094
+ 17,
1095
+ 18,
1096
+ 19,
1097
+ 20,
1098
+ 21,
1099
+ 22,
1100
+ 24,
1101
+ 26,
1102
+ 27,
1103
+ 30,
1104
+ 31,
1105
+ 32,
1106
+ 33,
1107
+ 34,
1108
+ 35,
1109
+ 36,
1110
+ 37,
1111
+ 38,
1112
+ 39,
1113
+ 40,
1114
+ 41,
1115
+ 42,
1116
+ 43,
1117
+ 44,
1118
+ 45,
1119
+ 46
1120
+ ],
1121
+ inclusive: !0
1122
+ },
1123
+ acc_descr_multiline: {
1124
+ rules: [12, 13],
1125
+ inclusive: !1
1126
+ },
1127
+ acc_descr: {
1128
+ rules: [10],
1129
+ inclusive: !1
1130
+ },
1131
+ acc_title: {
1132
+ rules: [8],
1133
+ inclusive: !1
1134
+ },
1135
+ title: {
1136
+ rules: [],
1137
+ inclusive: !1
1138
+ },
1139
+ md_string: {
1140
+ rules: [],
1141
+ inclusive: !1
1142
+ },
1143
+ string: {
1144
+ rules: [28, 29],
1145
+ inclusive: !1
1146
+ },
1147
+ INITIAL: {
1148
+ rules: [
1149
+ 0,
1150
+ 1,
1151
+ 4,
1152
+ 5,
1153
+ 6,
1154
+ 7,
1155
+ 9,
1156
+ 11,
1157
+ 14,
1158
+ 15,
1159
+ 16,
1160
+ 17,
1161
+ 18,
1162
+ 21,
1163
+ 22,
1164
+ 26,
1165
+ 27,
1166
+ 30,
1167
+ 31,
1168
+ 32,
1169
+ 33,
1170
+ 34,
1171
+ 35,
1172
+ 36,
1173
+ 37,
1174
+ 38,
1175
+ 39,
1176
+ 40,
1177
+ 41,
1178
+ 42,
1179
+ 43,
1180
+ 44,
1181
+ 45,
1182
+ 46
1183
+ ],
1184
+ inclusive: !0
1185
+ }
1186
+ }
1187
+ };
1188
+ })();
1189
+ function A() {
1190
+ this.yy = {};
1191
+ }
1192
+ return e(A, "Parser"), A.prototype = k, k.Parser = A, new A();
1193
+ })();
1194
+ b.parser = b;
1195
+ var x = b;
1196
+ function S(e) {
1197
+ return e.type === "bar";
1198
+ }
1199
+ e(S, "isBarPlot");
1200
+ function C(e) {
1201
+ return e.type === "band";
1202
+ }
1203
+ e(C, "isBandAxisData");
1204
+ function w(e) {
1205
+ return e.type === "linear";
1206
+ }
1207
+ e(w, "isLinearAxisData");
1208
+ var T = class {
1209
+ constructor(e) {
1210
+ this.parentGroup = e;
1211
+ }
1212
+ static {
1213
+ e(this, "TextDimensionCalculatorWithFont");
1214
+ }
1215
+ getMaxDimension(e, t) {
1216
+ if (!this.parentGroup) return {
1217
+ width: e.reduce((e, t) => Math.max(t.length, e), 0) * t,
1218
+ height: t
1219
+ };
1220
+ let n = {
1221
+ width: 0,
1222
+ height: 0
1223
+ }, r = this.parentGroup.append("g").attr("visibility", "hidden").attr("font-size", t);
1224
+ for (let i of e) {
1225
+ let e = y(r, 1, i), a = e ? e.width : i.length * t, o = e ? e.height : t;
1226
+ n.width = Math.max(n.width, a), n.height = Math.max(n.height, o);
1227
+ }
1228
+ return r.remove(), n;
1229
+ }
1230
+ }, E = .7, D = .2, O = class {
1231
+ constructor(e, t, n, r) {
1232
+ this.axisConfig = e, this.title = t, this.textDimensionCalculator = n, this.axisThemeConfig = r, this.boundingRect = {
1233
+ x: 0,
1234
+ y: 0,
1235
+ width: 0,
1236
+ height: 0
1237
+ }, this.axisPosition = "left", this.showTitle = !1, this.showLabel = !1, this.showTick = !1, this.showAxisLine = !1, this.outerPadding = 0, this.titleTextHeight = 0, this.labelTextHeight = 0, this.range = [0, 10], this.boundingRect = {
1238
+ x: 0,
1239
+ y: 0,
1240
+ width: 0,
1241
+ height: 0
1242
+ }, this.axisPosition = "left";
1243
+ }
1244
+ static {
1245
+ e(this, "BaseAxis");
1246
+ }
1247
+ setRange(e) {
1248
+ this.range = e, this.axisPosition === "left" || this.axisPosition === "right" ? this.boundingRect.height = e[1] - e[0] : this.boundingRect.width = e[1] - e[0], this.recalculateScale();
1249
+ }
1250
+ getRange() {
1251
+ return [this.range[0] + this.outerPadding, this.range[1] - this.outerPadding];
1252
+ }
1253
+ setAxisPosition(e) {
1254
+ this.axisPosition = e, this.setRange(this.range);
1255
+ }
1256
+ getTickDistance() {
1257
+ let e = this.getRange();
1258
+ return Math.abs(e[0] - e[1]) / this.getTickValues().length;
1259
+ }
1260
+ getAxisOuterPadding() {
1261
+ return this.outerPadding;
1262
+ }
1263
+ getLabelDimension() {
1264
+ return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map((e) => e.toString()), this.axisConfig.labelFontSize);
1265
+ }
1266
+ recalculateOuterPaddingToDrawBar() {
1267
+ E * this.getTickDistance() > this.outerPadding * 2 && (this.outerPadding = Math.floor(E * this.getTickDistance() / 2)), this.recalculateScale();
1268
+ }
1269
+ calculateSpaceIfDrawnHorizontally(e) {
1270
+ let t = e.height;
1271
+ if (this.axisConfig.showAxisLine && t > this.axisConfig.axisLineWidth && (t -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
1272
+ let n = this.getLabelDimension(), r = D * e.width;
1273
+ this.outerPadding = Math.min(n.width / 2, r);
1274
+ let i = n.height + this.axisConfig.labelPadding * 2;
1275
+ this.labelTextHeight = n.height, i <= t && (t -= i, this.showLabel = !0);
1276
+ }
1277
+ if (this.axisConfig.showTick && t >= this.axisConfig.tickLength && (this.showTick = !0, t -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
1278
+ let e = this.textDimensionCalculator.getMaxDimension([this.title], this.axisConfig.titleFontSize), n = e.height + this.axisConfig.titlePadding * 2;
1279
+ this.titleTextHeight = e.height, n <= t && (t -= n, this.showTitle = !0);
1280
+ }
1281
+ this.boundingRect.width = e.width, this.boundingRect.height = e.height - t;
1282
+ }
1283
+ calculateSpaceIfDrawnVertical(e) {
1284
+ let t = e.width;
1285
+ if (this.axisConfig.showAxisLine && t > this.axisConfig.axisLineWidth && (t -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
1286
+ let n = this.getLabelDimension(), r = D * e.height;
1287
+ this.outerPadding = Math.min(n.height / 2, r);
1288
+ let i = n.width + this.axisConfig.labelPadding * 2;
1289
+ i <= t && (t -= i, this.showLabel = !0);
1290
+ }
1291
+ if (this.axisConfig.showTick && t >= this.axisConfig.tickLength && (this.showTick = !0, t -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
1292
+ let e = this.textDimensionCalculator.getMaxDimension([this.title], this.axisConfig.titleFontSize), n = e.height + this.axisConfig.titlePadding * 2;
1293
+ this.titleTextHeight = e.height, n <= t && (t -= n, this.showTitle = !0);
1294
+ }
1295
+ this.boundingRect.width = e.width - t, this.boundingRect.height = e.height;
1296
+ }
1297
+ calculateSpace(e) {
1298
+ return this.axisPosition === "left" || this.axisPosition === "right" ? this.calculateSpaceIfDrawnVertical(e) : this.calculateSpaceIfDrawnHorizontally(e), this.recalculateScale(), {
1299
+ width: this.boundingRect.width,
1300
+ height: this.boundingRect.height
1301
+ };
1302
+ }
1303
+ setBoundingBoxXY(e) {
1304
+ this.boundingRect.x = e.x, this.boundingRect.y = e.y;
1305
+ }
1306
+ getDrawableElementsForLeftAxis() {
1307
+ let e = [];
1308
+ if (this.showAxisLine) {
1309
+ let t = this.boundingRect.x + this.boundingRect.width - this.axisConfig.axisLineWidth / 2;
1310
+ e.push({
1311
+ type: "path",
1312
+ groupTexts: ["left-axis", "axisl-line"],
1313
+ data: [{
1314
+ path: `M ${t},${this.boundingRect.y} L ${t},${this.boundingRect.y + this.boundingRect.height} `,
1315
+ strokeFill: this.axisThemeConfig.axisLineColor,
1316
+ strokeWidth: this.axisConfig.axisLineWidth
1317
+ }]
1318
+ });
1319
+ }
1320
+ if (this.showLabel && e.push({
1321
+ type: "text",
1322
+ groupTexts: ["left-axis", "label"],
1323
+ data: this.getTickValues().map((e) => ({
1324
+ text: e.toString(),
1325
+ x: this.boundingRect.x + this.boundingRect.width - (this.showLabel ? this.axisConfig.labelPadding : 0) - (this.showTick ? this.axisConfig.tickLength : 0) - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0),
1326
+ y: this.getScaleValue(e),
1327
+ fill: this.axisThemeConfig.labelColor,
1328
+ fontSize: this.axisConfig.labelFontSize,
1329
+ rotation: 0,
1330
+ verticalPos: "middle",
1331
+ horizontalPos: "right"
1332
+ }))
1333
+ }), this.showTick) {
1334
+ let t = this.boundingRect.x + this.boundingRect.width - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0);
1335
+ e.push({
1336
+ type: "path",
1337
+ groupTexts: ["left-axis", "ticks"],
1338
+ data: this.getTickValues().map((e) => ({
1339
+ path: `M ${t},${this.getScaleValue(e)} L ${t - this.axisConfig.tickLength},${this.getScaleValue(e)}`,
1340
+ strokeFill: this.axisThemeConfig.tickColor,
1341
+ strokeWidth: this.axisConfig.tickWidth
1342
+ }))
1343
+ });
1344
+ }
1345
+ return this.showTitle && e.push({
1346
+ type: "text",
1347
+ groupTexts: ["left-axis", "title"],
1348
+ data: [{
1349
+ text: this.title,
1350
+ x: this.boundingRect.x + this.axisConfig.titlePadding,
1351
+ y: this.boundingRect.y + this.boundingRect.height / 2,
1352
+ fill: this.axisThemeConfig.titleColor,
1353
+ fontSize: this.axisConfig.titleFontSize,
1354
+ rotation: 270,
1355
+ verticalPos: "top",
1356
+ horizontalPos: "center"
1357
+ }]
1358
+ }), e;
1359
+ }
1360
+ getDrawableElementsForBottomAxis() {
1361
+ let e = [];
1362
+ if (this.showAxisLine) {
1363
+ let t = this.boundingRect.y + this.axisConfig.axisLineWidth / 2;
1364
+ e.push({
1365
+ type: "path",
1366
+ groupTexts: ["bottom-axis", "axis-line"],
1367
+ data: [{
1368
+ path: `M ${this.boundingRect.x},${t} L ${this.boundingRect.x + this.boundingRect.width},${t}`,
1369
+ strokeFill: this.axisThemeConfig.axisLineColor,
1370
+ strokeWidth: this.axisConfig.axisLineWidth
1371
+ }]
1372
+ });
1373
+ }
1374
+ if (this.showLabel && e.push({
1375
+ type: "text",
1376
+ groupTexts: ["bottom-axis", "label"],
1377
+ data: this.getTickValues().map((e) => ({
1378
+ text: e.toString(),
1379
+ x: this.getScaleValue(e),
1380
+ y: this.boundingRect.y + this.axisConfig.labelPadding + (this.showTick ? this.axisConfig.tickLength : 0) + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0),
1381
+ fill: this.axisThemeConfig.labelColor,
1382
+ fontSize: this.axisConfig.labelFontSize,
1383
+ rotation: 0,
1384
+ verticalPos: "top",
1385
+ horizontalPos: "center"
1386
+ }))
1387
+ }), this.showTick) {
1388
+ let t = this.boundingRect.y + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0);
1389
+ e.push({
1390
+ type: "path",
1391
+ groupTexts: ["bottom-axis", "ticks"],
1392
+ data: this.getTickValues().map((e) => ({
1393
+ path: `M ${this.getScaleValue(e)},${t} L ${this.getScaleValue(e)},${t + this.axisConfig.tickLength}`,
1394
+ strokeFill: this.axisThemeConfig.tickColor,
1395
+ strokeWidth: this.axisConfig.tickWidth
1396
+ }))
1397
+ });
1398
+ }
1399
+ return this.showTitle && e.push({
1400
+ type: "text",
1401
+ groupTexts: ["bottom-axis", "title"],
1402
+ data: [{
1403
+ text: this.title,
1404
+ x: this.range[0] + (this.range[1] - this.range[0]) / 2,
1405
+ y: this.boundingRect.y + this.boundingRect.height - this.axisConfig.titlePadding - this.titleTextHeight,
1406
+ fill: this.axisThemeConfig.titleColor,
1407
+ fontSize: this.axisConfig.titleFontSize,
1408
+ rotation: 0,
1409
+ verticalPos: "top",
1410
+ horizontalPos: "center"
1411
+ }]
1412
+ }), e;
1413
+ }
1414
+ getDrawableElementsForTopAxis() {
1415
+ let e = [];
1416
+ if (this.showAxisLine) {
1417
+ let t = this.boundingRect.y + this.boundingRect.height - this.axisConfig.axisLineWidth / 2;
1418
+ e.push({
1419
+ type: "path",
1420
+ groupTexts: ["top-axis", "axis-line"],
1421
+ data: [{
1422
+ path: `M ${this.boundingRect.x},${t} L ${this.boundingRect.x + this.boundingRect.width},${t}`,
1423
+ strokeFill: this.axisThemeConfig.axisLineColor,
1424
+ strokeWidth: this.axisConfig.axisLineWidth
1425
+ }]
1426
+ });
1427
+ }
1428
+ if (this.showLabel && e.push({
1429
+ type: "text",
1430
+ groupTexts: ["top-axis", "label"],
1431
+ data: this.getTickValues().map((e) => ({
1432
+ text: e.toString(),
1433
+ x: this.getScaleValue(e),
1434
+ y: this.boundingRect.y + (this.showTitle ? this.titleTextHeight + this.axisConfig.titlePadding * 2 : 0) + this.axisConfig.labelPadding,
1435
+ fill: this.axisThemeConfig.labelColor,
1436
+ fontSize: this.axisConfig.labelFontSize,
1437
+ rotation: 0,
1438
+ verticalPos: "top",
1439
+ horizontalPos: "center"
1440
+ }))
1441
+ }), this.showTick) {
1442
+ let t = this.boundingRect.y;
1443
+ e.push({
1444
+ type: "path",
1445
+ groupTexts: ["top-axis", "ticks"],
1446
+ data: this.getTickValues().map((e) => ({
1447
+ path: `M ${this.getScaleValue(e)},${t + this.boundingRect.height - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0)} L ${this.getScaleValue(e)},${t + this.boundingRect.height - this.axisConfig.tickLength - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0)}`,
1448
+ strokeFill: this.axisThemeConfig.tickColor,
1449
+ strokeWidth: this.axisConfig.tickWidth
1450
+ }))
1451
+ });
1452
+ }
1453
+ return this.showTitle && e.push({
1454
+ type: "text",
1455
+ groupTexts: ["top-axis", "title"],
1456
+ data: [{
1457
+ text: this.title,
1458
+ x: this.boundingRect.x + this.boundingRect.width / 2,
1459
+ y: this.boundingRect.y + this.axisConfig.titlePadding,
1460
+ fill: this.axisThemeConfig.titleColor,
1461
+ fontSize: this.axisConfig.titleFontSize,
1462
+ rotation: 0,
1463
+ verticalPos: "top",
1464
+ horizontalPos: "center"
1465
+ }]
1466
+ }), e;
1467
+ }
1468
+ getDrawableElements() {
1469
+ if (this.axisPosition === "left") return this.getDrawableElementsForLeftAxis();
1470
+ if (this.axisPosition === "right") throw Error("Drawing of right axis is not implemented");
1471
+ return this.axisPosition === "bottom" ? this.getDrawableElementsForBottomAxis() : this.axisPosition === "top" ? this.getDrawableElementsForTopAxis() : [];
1472
+ }
1473
+ }, k = class extends O {
1474
+ static {
1475
+ e(this, "BandAxis");
1476
+ }
1477
+ constructor(e, t, n, r, i) {
1478
+ super(e, r, i, t), this.categories = n, this.scale = m().domain(this.categories).range(this.getRange());
1479
+ }
1480
+ setRange(e) {
1481
+ super.setRange(e);
1482
+ }
1483
+ recalculateScale() {
1484
+ this.scale = m().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5), t.trace("BandAxis axis final categories, range: ", this.categories, this.getRange());
1485
+ }
1486
+ getTickValues() {
1487
+ return this.categories;
1488
+ }
1489
+ getScaleValue(e) {
1490
+ return this.scale(e) ?? this.getRange()[0];
1491
+ }
1492
+ }, A = class extends O {
1493
+ static {
1494
+ e(this, "LinearAxis");
1495
+ }
1496
+ constructor(e, t, n, r, i) {
1497
+ super(e, r, i, t), this.domain = n, this.scale = h().domain(this.domain).range(this.getRange());
1498
+ }
1499
+ getTickValues() {
1500
+ return this.scale.ticks();
1501
+ }
1502
+ recalculateScale() {
1503
+ let e = [...this.domain];
1504
+ this.axisPosition === "left" && e.reverse(), this.scale = h().domain(e).range(this.getRange());
1505
+ }
1506
+ getScaleValue(e) {
1507
+ return this.scale(e);
1508
+ }
1509
+ };
1510
+ function j(e, t, n, r) {
1511
+ let i = new T(r);
1512
+ return C(e) ? new k(t, n, e.categories, e.title, i) : new A(t, n, [e.min, e.max], e.title, i);
1513
+ }
1514
+ e(j, "getAxis");
1515
+ var M = class {
1516
+ constructor(e, t, n, r) {
1517
+ this.textDimensionCalculator = e, this.chartConfig = t, this.chartData = n, this.chartThemeConfig = r, this.boundingRect = {
1518
+ x: 0,
1519
+ y: 0,
1520
+ width: 0,
1521
+ height: 0
1522
+ }, this.showChartTitle = !1;
1523
+ }
1524
+ static {
1525
+ e(this, "ChartTitle");
1526
+ }
1527
+ setBoundingBoxXY(e) {
1528
+ this.boundingRect.x = e.x, this.boundingRect.y = e.y;
1529
+ }
1530
+ calculateSpace(e) {
1531
+ let t = this.textDimensionCalculator.getMaxDimension([this.chartData.title], this.chartConfig.titleFontSize), n = Math.max(t.width, e.width), r = t.height + 2 * this.chartConfig.titlePadding;
1532
+ return t.width <= n && t.height <= r && this.chartConfig.showTitle && this.chartData.title && (this.boundingRect.width = n, this.boundingRect.height = r, this.showChartTitle = !0), {
1533
+ width: this.boundingRect.width,
1534
+ height: this.boundingRect.height
1535
+ };
1536
+ }
1537
+ getDrawableElements() {
1538
+ let e = [];
1539
+ return this.showChartTitle && e.push({
1540
+ groupTexts: ["chart-title"],
1541
+ type: "text",
1542
+ data: [{
1543
+ fontSize: this.chartConfig.titleFontSize,
1544
+ text: this.chartData.title,
1545
+ verticalPos: "middle",
1546
+ horizontalPos: "center",
1547
+ x: this.boundingRect.x + this.boundingRect.width / 2,
1548
+ y: this.boundingRect.y + this.boundingRect.height / 2,
1549
+ fill: this.chartThemeConfig.titleColor,
1550
+ rotation: 0
1551
+ }]
1552
+ }), e;
1553
+ }
1554
+ };
1555
+ function N(e, t, n, r) {
1556
+ return new M(new T(r), e, t, n);
1557
+ }
1558
+ e(N, "getChartTitleComponent");
1559
+ var ee = class {
1560
+ constructor(e, t, n, r, i) {
1561
+ this.plotData = e, this.xAxis = t, this.yAxis = n, this.orientation = r, this.plotIndex = i;
1562
+ }
1563
+ static {
1564
+ e(this, "LinePlot");
1565
+ }
1566
+ getDrawableElement() {
1567
+ let e = this.plotData.data.map((e) => [this.xAxis.getScaleValue(e[0]), this.yAxis.getScaleValue(e[1])]), t;
1568
+ return t = this.orientation === "horizontal" ? g().y((e) => e[0]).x((e) => e[1])(e) : g().x((e) => e[0]).y((e) => e[1])(e), t ? [{
1569
+ groupTexts: ["plot", `line-plot-${this.plotIndex}`],
1570
+ type: "path",
1571
+ data: [{
1572
+ path: t,
1573
+ strokeFill: this.plotData.strokeFill,
1574
+ strokeWidth: this.plotData.strokeWidth
1575
+ }]
1576
+ }] : [];
1577
+ }
1578
+ }, te = class {
1579
+ constructor(e, t, n, r, i, a) {
1580
+ this.barData = e, this.boundingRect = t, this.xAxis = n, this.yAxis = r, this.orientation = i, this.plotIndex = a;
1581
+ }
1582
+ static {
1583
+ e(this, "BarPlot");
1584
+ }
1585
+ getDrawableElement() {
1586
+ let e = this.barData.data.map((e) => [this.xAxis.getScaleValue(e[0]), this.yAxis.getScaleValue(e[1])]), t = Math.min(this.xAxis.getAxisOuterPadding() * 2, this.xAxis.getTickDistance()) * .95, n = t / 2;
1587
+ return this.orientation === "horizontal" ? [{
1588
+ groupTexts: ["plot", `bar-plot-${this.plotIndex}`],
1589
+ type: "rect",
1590
+ data: e.map((e) => ({
1591
+ x: this.boundingRect.x,
1592
+ y: e[0] - n,
1593
+ height: t,
1594
+ width: e[1] - this.boundingRect.x,
1595
+ fill: this.barData.fill,
1596
+ strokeWidth: 0,
1597
+ strokeFill: this.barData.fill
1598
+ }))
1599
+ }] : [{
1600
+ groupTexts: ["plot", `bar-plot-${this.plotIndex}`],
1601
+ type: "rect",
1602
+ data: e.map((e) => ({
1603
+ x: e[0] - n,
1604
+ y: e[1],
1605
+ width: t,
1606
+ height: this.boundingRect.y + this.boundingRect.height - e[1],
1607
+ fill: this.barData.fill,
1608
+ strokeWidth: 0,
1609
+ strokeFill: this.barData.fill
1610
+ }))
1611
+ }];
1612
+ }
1613
+ }, ne = class {
1614
+ constructor(e, t, n) {
1615
+ this.chartConfig = e, this.chartData = t, this.chartThemeConfig = n, this.boundingRect = {
1616
+ x: 0,
1617
+ y: 0,
1618
+ width: 0,
1619
+ height: 0
1620
+ };
1621
+ }
1622
+ static {
1623
+ e(this, "BasePlot");
1624
+ }
1625
+ setAxes(e, t) {
1626
+ this.xAxis = e, this.yAxis = t;
1627
+ }
1628
+ setBoundingBoxXY(e) {
1629
+ this.boundingRect.x = e.x, this.boundingRect.y = e.y;
1630
+ }
1631
+ calculateSpace(e) {
1632
+ return this.boundingRect.width = e.width, this.boundingRect.height = e.height, {
1633
+ width: this.boundingRect.width,
1634
+ height: this.boundingRect.height
1635
+ };
1636
+ }
1637
+ getDrawableElements() {
1638
+ if (!(this.xAxis && this.yAxis)) throw Error("Axes must be passed to render Plots");
1639
+ let e = [];
1640
+ for (let [t, n] of this.chartData.plots.entries()) switch (n.type) {
1641
+ case "line":
1642
+ {
1643
+ let r = new ee(n, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, t);
1644
+ e.push(...r.getDrawableElement());
1645
+ }
1646
+ break;
1647
+ case "bar":
1648
+ {
1649
+ let r = new te(n, this.boundingRect, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, t);
1650
+ e.push(...r.getDrawableElement());
1651
+ }
1652
+ break;
1653
+ }
1654
+ return e;
1655
+ }
1656
+ };
1657
+ function re(e, t, n) {
1658
+ return new ne(e, t, n);
1659
+ }
1660
+ e(re, "getPlotComponent");
1661
+ var ie = class {
1662
+ constructor(e, t, n, r) {
1663
+ this.chartConfig = e, this.chartData = t, this.componentStore = {
1664
+ title: N(e, t, n, r),
1665
+ plot: re(e, t, n),
1666
+ xAxis: j(t.xAxis, e.xAxis, {
1667
+ titleColor: n.xAxisTitleColor,
1668
+ labelColor: n.xAxisLabelColor,
1669
+ tickColor: n.xAxisTickColor,
1670
+ axisLineColor: n.xAxisLineColor
1671
+ }, r),
1672
+ yAxis: j(t.yAxis, e.yAxis, {
1673
+ titleColor: n.yAxisTitleColor,
1674
+ labelColor: n.yAxisLabelColor,
1675
+ tickColor: n.yAxisTickColor,
1676
+ axisLineColor: n.yAxisLineColor
1677
+ }, r)
1678
+ };
1679
+ }
1680
+ static {
1681
+ e(this, "Orchestrator");
1682
+ }
1683
+ calculateVerticalSpace() {
1684
+ let e = this.chartConfig.width, t = this.chartConfig.height, n = 0, r = 0, i = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), a = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), o = this.componentStore.plot.calculateSpace({
1685
+ width: i,
1686
+ height: a
1687
+ });
1688
+ e -= o.width, t -= o.height, o = this.componentStore.title.calculateSpace({
1689
+ width: this.chartConfig.width,
1690
+ height: t
1691
+ }), r = o.height, t -= o.height, this.componentStore.xAxis.setAxisPosition("bottom"), o = this.componentStore.xAxis.calculateSpace({
1692
+ width: e,
1693
+ height: t
1694
+ }), t -= o.height, this.componentStore.yAxis.setAxisPosition("left"), o = this.componentStore.yAxis.calculateSpace({
1695
+ width: e,
1696
+ height: t
1697
+ }), n = o.width, e -= o.width, e > 0 && (i += e, e = 0), t > 0 && (a += t, t = 0), this.componentStore.plot.calculateSpace({
1698
+ width: i,
1699
+ height: a
1700
+ }), this.componentStore.plot.setBoundingBoxXY({
1701
+ x: n,
1702
+ y: r
1703
+ }), this.componentStore.xAxis.setRange([n, n + i]), this.componentStore.xAxis.setBoundingBoxXY({
1704
+ x: n,
1705
+ y: r + a
1706
+ }), this.componentStore.yAxis.setRange([r, r + a]), this.componentStore.yAxis.setBoundingBoxXY({
1707
+ x: 0,
1708
+ y: r
1709
+ }), this.chartData.plots.some((e) => S(e)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
1710
+ }
1711
+ calculateHorizontalSpace() {
1712
+ let e = this.chartConfig.width, t = this.chartConfig.height, n = 0, r = 0, i = 0, a = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), o = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), s = this.componentStore.plot.calculateSpace({
1713
+ width: a,
1714
+ height: o
1715
+ });
1716
+ e -= s.width, t -= s.height, s = this.componentStore.title.calculateSpace({
1717
+ width: this.chartConfig.width,
1718
+ height: t
1719
+ }), n = s.height, t -= s.height, this.componentStore.xAxis.setAxisPosition("left"), s = this.componentStore.xAxis.calculateSpace({
1720
+ width: e,
1721
+ height: t
1722
+ }), e -= s.width, r = s.width, this.componentStore.yAxis.setAxisPosition("top"), s = this.componentStore.yAxis.calculateSpace({
1723
+ width: e,
1724
+ height: t
1725
+ }), t -= s.height, i = n + s.height, e > 0 && (a += e, e = 0), t > 0 && (o += t, t = 0), this.componentStore.plot.calculateSpace({
1726
+ width: a,
1727
+ height: o
1728
+ }), this.componentStore.plot.setBoundingBoxXY({
1729
+ x: r,
1730
+ y: i
1731
+ }), this.componentStore.yAxis.setRange([r, r + a]), this.componentStore.yAxis.setBoundingBoxXY({
1732
+ x: r,
1733
+ y: n
1734
+ }), this.componentStore.xAxis.setRange([i, i + o]), this.componentStore.xAxis.setBoundingBoxXY({
1735
+ x: 0,
1736
+ y: i
1737
+ }), this.chartData.plots.some((e) => S(e)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
1738
+ }
1739
+ calculateSpace() {
1740
+ this.chartConfig.chartOrientation === "horizontal" ? this.calculateHorizontalSpace() : this.calculateVerticalSpace();
1741
+ }
1742
+ getDrawableElement() {
1743
+ this.calculateSpace();
1744
+ let e = [];
1745
+ this.componentStore.plot.setAxes(this.componentStore.xAxis, this.componentStore.yAxis);
1746
+ for (let t of Object.values(this.componentStore)) e.push(...t.getDrawableElements());
1747
+ return e;
1748
+ }
1749
+ }, ae = class {
1750
+ static {
1751
+ e(this, "XYChartBuilder");
1752
+ }
1753
+ static build(e, t, n, r) {
1754
+ return new ie(e, t, n, r).getDrawableElement();
1755
+ }
1756
+ }, P = 0, F, I = U(), L = H(), R = W(), z = L.plotColorPalette.split(",").map((e) => e.trim()), B = !1, V = !1;
1757
+ function H() {
1758
+ let e = l(), t = s();
1759
+ return v(e.xyChart, t.themeVariables.xyChart);
1760
+ }
1761
+ e(H, "getChartDefaultThemeConfig");
1762
+ function U() {
1763
+ let e = s();
1764
+ return v(i.xyChart, e.xyChart);
1765
+ }
1766
+ e(U, "getChartDefaultConfig");
1767
+ function W() {
1768
+ return {
1769
+ yAxis: {
1770
+ type: "linear",
1771
+ title: "",
1772
+ min: Infinity,
1773
+ max: -Infinity
1774
+ },
1775
+ xAxis: {
1776
+ type: "band",
1777
+ title: "",
1778
+ categories: []
1779
+ },
1780
+ title: "",
1781
+ plots: []
1782
+ };
1783
+ }
1784
+ e(W, "getChartDefaultData");
1785
+ function G(e) {
1786
+ let t = s();
1787
+ return u(e.trim(), t);
1788
+ }
1789
+ e(G, "textSanitizer");
1790
+ function K(e) {
1791
+ F = e;
1792
+ }
1793
+ e(K, "setTmpSVGG");
1794
+ function q(e) {
1795
+ e === "horizontal" ? I.chartOrientation = "horizontal" : I.chartOrientation = "vertical";
1796
+ }
1797
+ e(q, "setOrientation");
1798
+ function J(e) {
1799
+ R.xAxis.title = G(e.text);
1800
+ }
1801
+ e(J, "setXAxisTitle");
1802
+ function Y(e, t) {
1803
+ R.xAxis = {
1804
+ type: "linear",
1805
+ title: R.xAxis.title,
1806
+ min: e,
1807
+ max: t
1808
+ }, B = !0;
1809
+ }
1810
+ e(Y, "setXAxisRangeData");
1811
+ function X(e) {
1812
+ R.xAxis = {
1813
+ type: "band",
1814
+ title: R.xAxis.title,
1815
+ categories: e.map((e) => G(e.text))
1816
+ }, B = !0;
1817
+ }
1818
+ e(X, "setXAxisBand");
1819
+ function oe(e) {
1820
+ R.yAxis.title = G(e.text);
1821
+ }
1822
+ e(oe, "setYAxisTitle");
1823
+ function se(e, t) {
1824
+ R.yAxis = {
1825
+ type: "linear",
1826
+ title: R.yAxis.title,
1827
+ min: e,
1828
+ max: t
1829
+ }, V = !0;
1830
+ }
1831
+ e(se, "setYAxisRangeData");
1832
+ function ce(e) {
1833
+ let t = Math.min(...e), n = Math.max(...e), r = w(R.yAxis) ? R.yAxis.min : Infinity, i = w(R.yAxis) ? R.yAxis.max : -Infinity;
1834
+ R.yAxis = {
1835
+ type: "linear",
1836
+ title: R.yAxis.title,
1837
+ min: Math.min(r, t),
1838
+ max: Math.max(i, n)
1839
+ };
1840
+ }
1841
+ e(ce, "setYAxisRangeFromPlotData");
1842
+ function Z(e) {
1843
+ let t = [];
1844
+ if (e.length === 0) return t;
1845
+ if (!B) {
1846
+ let t = w(R.xAxis) ? R.xAxis.min : Infinity, n = w(R.xAxis) ? R.xAxis.max : -Infinity;
1847
+ Y(Math.min(t, 1), Math.max(n, e.length));
1848
+ }
1849
+ if (V || ce(e), C(R.xAxis) && (t = R.xAxis.categories.map((t, n) => [t, e[n]])), w(R.xAxis)) {
1850
+ let n = R.xAxis.min, r = R.xAxis.max, i = (r - n) / (e.length - 1), a = [];
1851
+ for (let e = n; e <= r; e += i) a.push(`${e}`);
1852
+ t = a.map((t, n) => [t, e[n]]);
1853
+ }
1854
+ return t;
1855
+ }
1856
+ e(Z, "transformDataWithoutCategory");
1857
+ function Q(e) {
1858
+ return z[e === 0 ? 0 : e % z.length];
1859
+ }
1860
+ e(Q, "getPlotColorFromPalette");
1861
+ function le(e, t) {
1862
+ let n = Z(t);
1863
+ R.plots.push({
1864
+ type: "line",
1865
+ strokeFill: Q(P),
1866
+ strokeWidth: 2,
1867
+ data: n
1868
+ }), P++;
1869
+ }
1870
+ e(le, "setLineData");
1871
+ function $(e, t) {
1872
+ let n = Z(t);
1873
+ R.plots.push({
1874
+ type: "bar",
1875
+ fill: Q(P),
1876
+ data: n
1877
+ }), P++;
1878
+ }
1879
+ e($, "setBarData");
1880
+ function ue() {
1881
+ if (R.plots.length === 0) throw Error("No Plot to render, please provide a plot with some data");
1882
+ return R.title = c(), ae.build(I, R, L, F);
1883
+ }
1884
+ e(ue, "getDrawableElem");
1885
+ function de() {
1886
+ return L;
1887
+ }
1888
+ e(de, "getChartThemeConfig");
1889
+ function fe() {
1890
+ return I;
1891
+ }
1892
+ e(fe, "getChartConfig");
1893
+ function pe() {
1894
+ return R;
1895
+ }
1896
+ e(pe, "getXYChartData");
1897
+ var me = {
1898
+ parser: x,
1899
+ db: {
1900
+ getDrawableElem: ue,
1901
+ clear: /* @__PURE__ */ e(function() {
1902
+ n(), P = 0, I = U(), R = W(), L = H(), z = L.plotColorPalette.split(",").map((e) => e.trim()), B = !1, V = !1;
1903
+ }, "clear"),
1904
+ setAccTitle: f,
1905
+ getAccTitle: o,
1906
+ setDiagramTitle: p,
1907
+ getDiagramTitle: c,
1908
+ getAccDescription: a,
1909
+ setAccDescription: d,
1910
+ setOrientation: q,
1911
+ setXAxisTitle: J,
1912
+ setXAxisRangeData: Y,
1913
+ setXAxisBand: X,
1914
+ setYAxisTitle: oe,
1915
+ setYAxisRangeData: se,
1916
+ setLineData: le,
1917
+ setBarData: $,
1918
+ setTmpSVGG: K,
1919
+ getChartThemeConfig: de,
1920
+ getChartConfig: fe,
1921
+ getXYChartData: pe
1922
+ },
1923
+ renderer: { draw: /* @__PURE__ */ e((n, i, a, o) => {
1924
+ let s = o.db, c = s.getChartThemeConfig(), l = s.getChartConfig(), u = s.getXYChartData().plots[0].data.map((e) => e[1]);
1925
+ function d(e) {
1926
+ return e === "top" ? "text-before-edge" : "middle";
1927
+ }
1928
+ e(d, "getDominantBaseLine");
1929
+ function f(e) {
1930
+ return e === "left" ? "start" : e === "right" ? "end" : "middle";
1931
+ }
1932
+ e(f, "getTextAnchor");
1933
+ function p(e) {
1934
+ return `translate(${e.x}, ${e.y}) rotate(${e.rotation || 0})`;
1935
+ }
1936
+ e(p, "getTextTransformation"), t.debug("Rendering xychart chart\n" + n);
1937
+ let m = _(i), h = m.append("g").attr("class", "main"), g = h.append("rect").attr("width", l.width).attr("height", l.height).attr("class", "background");
1938
+ r(m, l.height, l.width, !0), m.attr("viewBox", `0 0 ${l.width} ${l.height}`), g.attr("fill", c.backgroundColor), s.setTmpSVGG(m.append("g").attr("class", "mermaid-tmp-group"));
1939
+ let v = s.getDrawableElem(), y = {};
1940
+ function b(e) {
1941
+ let t = h, n = "";
1942
+ for (let [r] of e.entries()) {
1943
+ let i = h;
1944
+ r > 0 && y[n] && (i = y[n]), n += e[r], t = y[n], t ||= y[n] = i.append("g").attr("class", e[r]);
1945
+ }
1946
+ return t;
1947
+ }
1948
+ e(b, "getGroup");
1949
+ for (let t of v) {
1950
+ if (t.data.length === 0) continue;
1951
+ let n = b(t.groupTexts);
1952
+ switch (t.type) {
1953
+ case "rect":
1954
+ if (n.selectAll("rect").data(t.data).enter().append("rect").attr("x", (e) => e.x).attr("y", (e) => e.y).attr("width", (e) => e.width).attr("height", (e) => e.height).attr("fill", (e) => e.fill).attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth), l.showDataLabel) {
1955
+ let r = l.showDataLabelOutsideBar;
1956
+ if (l.chartOrientation === "horizontal") {
1957
+ let i = function(e, t) {
1958
+ let { data: n, label: r } = e;
1959
+ return t * r.length * a <= n.width - o;
1960
+ };
1961
+ e(i, "fitsHorizontally");
1962
+ let a = .7, o = 10, s = t.data.map((e, t) => ({
1963
+ data: e,
1964
+ label: u[t].toString()
1965
+ })).filter((e) => e.data.width > 0 && e.data.height > 0), l = s.map((e) => {
1966
+ let { data: t } = e, n = t.height * .7;
1967
+ for (; !i(e, n) && n > 0;) --n;
1968
+ return n;
1969
+ }), d = Math.floor(Math.min(...l)), f = /* @__PURE__ */ e((e) => r ? e.data.x + e.data.width + 10 : e.data.x + e.data.width - 10, "determineLabelXPosition");
1970
+ n.selectAll("text").data(s).enter().append("text").attr("x", f).attr("y", (e) => e.data.y + e.data.height / 2).attr("text-anchor", r ? "start" : "end").attr("dominant-baseline", "middle").attr("fill", c.dataLabelColor).attr("font-size", `${d}px`).text((e) => e.label);
1971
+ } else {
1972
+ let i = function(e, t, n) {
1973
+ let { data: r, label: i } = e, a = t * i.length * .7, o = r.x + r.width / 2, s = o - a / 2, c = o + a / 2, l = s >= r.x && c <= r.x + r.width, u = r.y + n + t <= r.y + r.height;
1974
+ return l && u;
1975
+ };
1976
+ e(i, "fitsInBar");
1977
+ let a = t.data.map((e, t) => ({
1978
+ data: e,
1979
+ label: u[t].toString()
1980
+ })).filter((e) => e.data.width > 0 && e.data.height > 0), o = a.map((e) => {
1981
+ let { data: t, label: n } = e, r = t.width / (n.length * .7);
1982
+ for (; !i(e, r, 10) && r > 0;) --r;
1983
+ return r;
1984
+ }), s = Math.floor(Math.min(...o)), l = /* @__PURE__ */ e((e) => r ? e.data.y - 10 : e.data.y + 10, "determineLabelYPosition");
1985
+ n.selectAll("text").data(a).enter().append("text").attr("x", (e) => e.data.x + e.data.width / 2).attr("y", l).attr("text-anchor", "middle").attr("dominant-baseline", r ? "auto" : "hanging").attr("fill", c.dataLabelColor).attr("font-size", `${s}px`).text((e) => e.label);
1986
+ }
1987
+ }
1988
+ break;
1989
+ case "text":
1990
+ n.selectAll("text").data(t.data).enter().append("text").attr("x", 0).attr("y", 0).attr("fill", (e) => e.fill).attr("font-size", (e) => e.fontSize).attr("dominant-baseline", (e) => d(e.verticalPos)).attr("text-anchor", (e) => f(e.horizontalPos)).attr("transform", (e) => p(e)).text((e) => e.text);
1991
+ break;
1992
+ case "path":
1993
+ n.selectAll("path").data(t.data).enter().append("path").attr("d", (e) => e.path).attr("fill", (e) => e.fill ? e.fill : "none").attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth);
1994
+ break;
1995
+ }
1996
+ }
1997
+ }, "draw") }
1998
+ };
1999
+ //#endregion
2000
+ export { me as diagram };