@loopstack/loopstack-studio 0.25.1 → 0.26.0

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