@loopstack/loopstack-studio 0.24.0 → 0.25.1

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