@loopstack/loopstack-studio 0.20.3 → 0.21.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (991) hide show
  1. package/dist/_virtual/rolldown_runtime.js +20 -0
  2. package/dist/components/data-table/ConfirmDialog.js +30 -0
  3. package/dist/components/data-table/DataList.js +216 -0
  4. package/dist/components/data-table/DataTable.js +264 -0
  5. package/dist/components/data-table/DataTableBatchAction.js +32 -0
  6. package/dist/components/data-table/DataTableFilters.js +83 -0
  7. package/dist/components/data-table/DataTablePagination.js +108 -0
  8. package/dist/components/data-table/DataTableToolbar.js +70 -0
  9. package/dist/components/dynamic-form/ArrayController.js +100 -0
  10. package/dist/components/dynamic-form/CodeContent.js +174 -0
  11. package/dist/components/dynamic-form/Form.js +35 -0
  12. package/dist/components/dynamic-form/FormBody.js +26 -0
  13. package/dist/components/dynamic-form/FormElement.js +42 -0
  14. package/dist/components/dynamic-form/FormElementHeader.js +20 -0
  15. package/dist/components/dynamic-form/InputController.js +38 -0
  16. package/dist/components/dynamic-form/MarkdownContent.js +76 -0
  17. package/dist/components/dynamic-form/MermaidDiagram.js +41 -0
  18. package/dist/components/dynamic-form/ObjectController.js +32 -0
  19. package/dist/components/dynamic-form/fields/BaseFieldWrapper.js +47 -0
  20. package/dist/components/dynamic-form/fields/CheckboxField.js +53 -0
  21. package/dist/components/dynamic-form/fields/CodeViewField.js +63 -0
  22. package/dist/components/dynamic-form/fields/InputField.js +105 -0
  23. package/dist/components/dynamic-form/fields/RadioField.js +67 -0
  24. package/dist/components/dynamic-form/fields/SelectField.js +60 -0
  25. package/dist/components/dynamic-form/fields/SliderField.js +112 -0
  26. package/dist/components/dynamic-form/fields/SwitchField.js +66 -0
  27. package/dist/components/dynamic-form/fields/TextareaField.js +77 -0
  28. package/dist/components/dynamic-form/fields/utils/text-validation-utils.js +33 -0
  29. package/dist/components/dynamic-form/hooks/useArrayDefaultValue.js +42 -0
  30. package/dist/components/dynamic-form/hooks/useFieldConfig.js +21 -0
  31. package/dist/components/dynamic-form/hooks/useMergeParentKey.js +5 -0
  32. package/dist/components/dynamic-form/hooks/useSortPropertyNames.js +5 -0
  33. package/dist/components/layout/MainLayout.js +24 -0
  34. package/dist/components/lists/CustomListView.js +87 -0
  35. package/dist/components/lists/ListView.js +118 -0
  36. package/dist/components/page/PageBreadcrumbs.js +41 -0
  37. package/dist/components/snackbars/ErrorSnackbar.js +30 -0
  38. package/dist/components/snackbars/Snackbar.js +44 -0
  39. package/dist/components/ui/alert-dialog.js +121 -0
  40. package/dist/components/ui/badge.js +28 -0
  41. package/dist/components/ui/breadcrumb.js +85 -0
  42. package/dist/components/ui/button.js +47 -0
  43. package/dist/components/ui/card.js +29 -0
  44. package/dist/components/ui/checkbox.js +26 -0
  45. package/dist/components/ui/collapsible.js +32 -0
  46. package/dist/components/ui/dialog.js +88 -0
  47. package/dist/components/ui/input.js +18 -0
  48. package/dist/components/ui/label.js +19 -0
  49. package/dist/components/ui/radio-group.js +38 -0
  50. package/dist/components/ui/select.js +125 -0
  51. package/dist/components/ui/sheet.js +97 -0
  52. package/dist/components/ui/slider.js +35 -0
  53. package/dist/components/ui/switch.js +24 -0
  54. package/dist/components/ui/table.js +81 -0
  55. package/dist/components/ui/textarea.js +17 -0
  56. package/dist/components/ui/tooltip.js +50 -0
  57. package/dist/features/health/LocalHealthCheck.js +95 -0
  58. package/dist/features/workspaces/Workspaces.js +162 -0
  59. package/dist/features/workspaces/components/CreateWorkspace.js +128 -0
  60. package/dist/features/workspaces/components/ExecutionTimeline.js +204 -0
  61. package/dist/features/workspaces/components/NewPipelineRunDialog.js +31 -0
  62. package/dist/features/workspaces/components/PipelineForm.js +152 -0
  63. package/dist/features/workspaces/components/pipeline-form/ArgumentsView.js +75 -0
  64. package/dist/features/workspaces/components/pipeline-form/HeaderSection.js +43 -0
  65. package/dist/features/workspaces/components/pipeline-form/SelectionView.js +105 -0
  66. package/dist/hooks/use-mobile.js +3 -3
  67. package/dist/hooks/useAuth.js +56 -0
  68. package/dist/hooks/useConfig.js +46 -0
  69. package/dist/hooks/useDebounce.js +27 -0
  70. package/dist/hooks/usePipelines.js +117 -0
  71. package/dist/hooks/useProcessor.js +24 -0
  72. package/dist/hooks/useWorkspaces.js +142 -0
  73. package/dist/index.d.ts +7 -0
  74. package/dist/index.js +4 -1
  75. package/dist/lib/utils.js +6 -0
  76. package/dist/loopstack-studio.css +2 -0
  77. package/dist/node_modules/@braintree/sanitize-url/dist/constants.js +6 -0
  78. package/dist/node_modules/@braintree/sanitize-url/dist/index.js +48 -0
  79. package/dist/node_modules/@chevrotain/gast/lib/src/helpers.js +26 -0
  80. package/dist/node_modules/@chevrotain/gast/lib/src/model.js +154 -0
  81. package/dist/node_modules/@chevrotain/gast/lib/src/visitor.js +40 -0
  82. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/api.js +2 -0
  83. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.js +85 -0
  84. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.js +35 -0
  85. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.js +570 -0
  86. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.js +25 -0
  87. package/dist/node_modules/@chevrotain/utils/lib/src/print.js +9 -0
  88. package/dist/node_modules/@chevrotain/utils/lib/src/timer.js +8 -0
  89. package/dist/node_modules/@chevrotain/utils/lib/src/to-fast-properties.js +10 -0
  90. package/dist/node_modules/@iconify/utils/lib/customisations/defaults.js +9 -0
  91. package/dist/node_modules/@iconify/utils/lib/icon/defaults.js +18 -0
  92. package/dist/node_modules/@iconify/utils/lib/icon/merge.js +8 -0
  93. package/dist/node_modules/@iconify/utils/lib/icon/name.js +35 -0
  94. package/dist/node_modules/@iconify/utils/lib/icon/transformations.js +7 -0
  95. package/dist/node_modules/@iconify/utils/lib/icon-set/get-icon.js +15 -0
  96. package/dist/node_modules/@iconify/utils/lib/icon-set/tree.js +14 -0
  97. package/dist/node_modules/@iconify/utils/lib/svg/build.js +54 -0
  98. package/dist/node_modules/@iconify/utils/lib/svg/defs.js +22 -0
  99. package/dist/node_modules/@iconify/utils/lib/svg/html.js +6 -0
  100. package/dist/node_modules/@iconify/utils/lib/svg/id.js +17 -0
  101. package/dist/node_modules/@iconify/utils/lib/svg/size.js +18 -0
  102. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7HQA4BMR.js +3 -0
  103. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-4F5CHEZ2.js +23 -0
  104. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-B2363JML.js +60 -0
  105. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FRFDVMJY.js +23 -0
  106. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-PL6DKKU2.js +28 -0
  107. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-SJTYNZTY.js +23 -0
  108. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TCCFYFTB.js +787 -0
  109. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TQ3KTPDO.js +23 -0
  110. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-UMXZTB3W.js +30 -0
  111. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-G5XIXVHT.js +3 -0
  112. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-VBDWY6EO.js +3 -0
  113. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-DYOGHKS2.js +3 -0
  114. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-VRWISCQL.js +3 -0
  115. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-ZZBFDIW7.js +3 -0
  116. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-GDKQZRPO.js +3 -0
  117. package/dist/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +55 -0
  118. package/dist/node_modules/ccount/index.js +8 -0
  119. package/dist/node_modules/chevrotain/lib/src/api.js +10 -0
  120. package/dist/node_modules/chevrotain/lib/src/lang/lang_extensions.js +10 -0
  121. package/dist/node_modules/chevrotain/lib/src/parse/constants.js +2 -0
  122. package/dist/node_modules/chevrotain/lib/src/parse/cst/cst.js +13 -0
  123. package/dist/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js +58 -0
  124. package/dist/node_modules/chevrotain/lib/src/parse/errors_public.js +75 -0
  125. package/dist/node_modules/chevrotain/lib/src/parse/exceptions_public.js +34 -0
  126. package/dist/node_modules/chevrotain/lib/src/parse/grammar/checks.js +299 -0
  127. package/dist/node_modules/chevrotain/lib/src/parse/grammar/first.js +25 -0
  128. package/dist/node_modules/chevrotain/lib/src/parse/grammar/follow.js +29 -0
  129. package/dist/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js +15 -0
  130. package/dist/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +269 -0
  131. package/dist/node_modules/chevrotain/lib/src/parse/grammar/keys.js +5 -0
  132. package/dist/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js +43 -0
  133. package/dist/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +248 -0
  134. package/dist/node_modules/chevrotain/lib/src/parse/grammar/resolver.js +32 -0
  135. package/dist/node_modules/chevrotain/lib/src/parse/grammar/rest.js +58 -0
  136. package/dist/node_modules/chevrotain/lib/src/parse/parser/parser.js +122 -0
  137. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.js +16 -0
  138. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js +48 -0
  139. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js +172 -0
  140. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js +39 -0
  141. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js +109 -0
  142. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js +22 -0
  143. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js +313 -0
  144. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js +275 -0
  145. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js +144 -0
  146. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js +102 -0
  147. package/dist/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js +11 -0
  148. package/dist/node_modules/chevrotain/lib/src/scan/lexer.js +465 -0
  149. package/dist/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js +9 -0
  150. package/dist/node_modules/chevrotain/lib/src/scan/lexer_public.js +275 -0
  151. package/dist/node_modules/chevrotain/lib/src/scan/reg_exp.js +152 -0
  152. package/dist/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js +15 -0
  153. package/dist/node_modules/chevrotain/lib/src/scan/tokens.js +75 -0
  154. package/dist/node_modules/chevrotain/lib/src/scan/tokens_public.js +42 -0
  155. package/dist/node_modules/chevrotain-allstar/lib/all-star-lookahead.js +346 -0
  156. package/dist/node_modules/chevrotain-allstar/lib/atn.js +194 -0
  157. package/dist/node_modules/chevrotain-allstar/lib/dfa.js +32 -0
  158. package/dist/node_modules/chevrotain-allstar/lib/index.js +1 -0
  159. package/dist/node_modules/comma-separated-tokens/index.js +10 -0
  160. package/dist/node_modules/cose-base/cose-base.js +469 -0
  161. package/dist/node_modules/cytoscape/dist/cytoscape.esm.js +18100 -0
  162. package/dist/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.js +172 -0
  163. package/dist/node_modules/cytoscape-fcose/cytoscape-fcose.js +604 -0
  164. package/dist/node_modules/cytoscape-fcose/node_modules/cose-base/cose-base.js +1142 -0
  165. package/dist/node_modules/cytoscape-fcose/node_modules/layout-base/layout-base.js +1635 -0
  166. package/dist/node_modules/d3/src/index.js +93 -0
  167. package/dist/node_modules/d3-array/src/ascending.js +4 -0
  168. package/dist/node_modules/d3-array/src/bisect.js +8 -0
  169. package/dist/node_modules/d3-array/src/bisector.js +39 -0
  170. package/dist/node_modules/d3-array/src/descending.js +4 -0
  171. package/dist/node_modules/d3-array/src/max.js +10 -0
  172. package/dist/node_modules/d3-array/src/min.js +10 -0
  173. package/dist/node_modules/d3-array/src/number.js +4 -0
  174. package/dist/node_modules/d3-array/src/range.js +6 -0
  175. package/dist/node_modules/d3-array/src/ticks.js +30 -0
  176. package/dist/node_modules/d3-axis/src/axis.js +61 -0
  177. package/dist/node_modules/d3-axis/src/identity.js +4 -0
  178. package/dist/node_modules/d3-brush/src/brush.js +15 -0
  179. package/dist/node_modules/d3-brush/src/index.js +1 -0
  180. package/dist/node_modules/d3-color/src/color.js +287 -0
  181. package/dist/node_modules/d3-color/src/define.js +9 -0
  182. package/dist/node_modules/d3-color/src/lab.js +70 -0
  183. package/dist/node_modules/d3-color/src/math.js +2 -0
  184. package/dist/node_modules/d3-dispatch/src/dispatch.js +64 -0
  185. package/dist/node_modules/d3-ease/src/cubic.js +4 -0
  186. package/dist/node_modules/d3-format/src/defaultLocale.js +11 -0
  187. package/dist/node_modules/d3-format/src/exponent.js +5 -0
  188. package/dist/node_modules/d3-format/src/formatDecimal.js +9 -0
  189. package/dist/node_modules/d3-format/src/formatGroup.js +7 -0
  190. package/dist/node_modules/d3-format/src/formatNumerals.js +8 -0
  191. package/dist/node_modules/d3-format/src/formatPrefixAuto.js +9 -0
  192. package/dist/node_modules/d3-format/src/formatRounded.js +8 -0
  193. package/dist/node_modules/d3-format/src/formatSpecifier.js +25 -0
  194. package/dist/node_modules/d3-format/src/formatTrim.js +16 -0
  195. package/dist/node_modules/d3-format/src/formatTypes.js +19 -0
  196. package/dist/node_modules/d3-format/src/identity.js +4 -0
  197. package/dist/node_modules/d3-format/src/locale.js +82 -0
  198. package/dist/node_modules/d3-format/src/precisionFixed.js +5 -0
  199. package/dist/node_modules/d3-format/src/precisionPrefix.js +5 -0
  200. package/dist/node_modules/d3-format/src/precisionRound.js +5 -0
  201. package/dist/node_modules/d3-hierarchy/src/accessors.js +5 -0
  202. package/dist/node_modules/d3-hierarchy/src/constant.js +9 -0
  203. package/dist/node_modules/d3-hierarchy/src/hierarchy/ancestors.js +5 -0
  204. package/dist/node_modules/d3-hierarchy/src/hierarchy/count.js +10 -0
  205. package/dist/node_modules/d3-hierarchy/src/hierarchy/descendants.js +4 -0
  206. package/dist/node_modules/d3-hierarchy/src/hierarchy/each.js +6 -0
  207. package/dist/node_modules/d3-hierarchy/src/hierarchy/eachAfter.js +6 -0
  208. package/dist/node_modules/d3-hierarchy/src/hierarchy/eachBefore.js +5 -0
  209. package/dist/node_modules/d3-hierarchy/src/hierarchy/find.js +5 -0
  210. package/dist/node_modules/d3-hierarchy/src/hierarchy/index.js +57 -0
  211. package/dist/node_modules/d3-hierarchy/src/hierarchy/iterator.js +7 -0
  212. package/dist/node_modules/d3-hierarchy/src/hierarchy/leaves.js +7 -0
  213. package/dist/node_modules/d3-hierarchy/src/hierarchy/links.js +10 -0
  214. package/dist/node_modules/d3-hierarchy/src/hierarchy/path.js +12 -0
  215. package/dist/node_modules/d3-hierarchy/src/hierarchy/sort.js +6 -0
  216. package/dist/node_modules/d3-hierarchy/src/hierarchy/sum.js +7 -0
  217. package/dist/node_modules/d3-hierarchy/src/treemap/dice.js +4 -0
  218. package/dist/node_modules/d3-hierarchy/src/treemap/index.js +36 -0
  219. package/dist/node_modules/d3-hierarchy/src/treemap/round.js +4 -0
  220. package/dist/node_modules/d3-hierarchy/src/treemap/slice.js +4 -0
  221. package/dist/node_modules/d3-hierarchy/src/treemap/squarify.js +33 -0
  222. package/dist/node_modules/d3-interpolate/src/array.js +11 -0
  223. package/dist/node_modules/d3-interpolate/src/basis.js +12 -0
  224. package/dist/node_modules/d3-interpolate/src/basisClosed.js +9 -0
  225. package/dist/node_modules/d3-interpolate/src/color.js +25 -0
  226. package/dist/node_modules/d3-interpolate/src/constant.js +2 -0
  227. package/dist/node_modules/d3-interpolate/src/date.js +7 -0
  228. package/dist/node_modules/d3-interpolate/src/hcl.js +12 -0
  229. package/dist/node_modules/d3-interpolate/src/number.js +6 -0
  230. package/dist/node_modules/d3-interpolate/src/numberArray.js +12 -0
  231. package/dist/node_modules/d3-interpolate/src/object.js +10 -0
  232. package/dist/node_modules/d3-interpolate/src/rgb.js +15 -0
  233. package/dist/node_modules/d3-interpolate/src/round.js +6 -0
  234. package/dist/node_modules/d3-interpolate/src/string.js +24 -0
  235. package/dist/node_modules/d3-interpolate/src/transform/decompose.js +20 -0
  236. package/dist/node_modules/d3-interpolate/src/transform/index.js +52 -0
  237. package/dist/node_modules/d3-interpolate/src/transform/parse.js +10 -0
  238. package/dist/node_modules/d3-interpolate/src/value.js +14 -0
  239. package/dist/node_modules/d3-path/src/path.js +61 -0
  240. package/dist/node_modules/d3-sankey/node_modules/d3-array/src/max.js +10 -0
  241. package/dist/node_modules/d3-sankey/node_modules/d3-array/src/min.js +10 -0
  242. package/dist/node_modules/d3-sankey/node_modules/d3-array/src/sum.js +10 -0
  243. package/dist/node_modules/d3-sankey/node_modules/d3-path/src/path.js +50 -0
  244. package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/array.js +2 -0
  245. package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/constant.js +6 -0
  246. package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/link/index.js +35 -0
  247. package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/point.js +7 -0
  248. package/dist/node_modules/d3-sankey/src/align.js +17 -0
  249. package/dist/node_modules/d3-sankey/src/constant.js +6 -0
  250. package/dist/node_modules/d3-sankey/src/sankey.js +224 -0
  251. package/dist/node_modules/d3-sankey/src/sankeyLinkHorizontal.js +11 -0
  252. package/dist/node_modules/d3-scale/src/band.js +39 -0
  253. package/dist/node_modules/d3-scale/src/constant.js +6 -0
  254. package/dist/node_modules/d3-scale/src/continuous.js +69 -0
  255. package/dist/node_modules/d3-scale/src/init.js +13 -0
  256. package/dist/node_modules/d3-scale/src/linear.js +32 -0
  257. package/dist/node_modules/d3-scale/src/nice.js +6 -0
  258. package/dist/node_modules/d3-scale/src/number.js +4 -0
  259. package/dist/node_modules/d3-scale/src/ordinal.js +27 -0
  260. package/dist/node_modules/d3-scale/src/tickFormat.js +27 -0
  261. package/dist/node_modules/d3-scale/src/time.js +43 -0
  262. package/dist/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js +3 -0
  263. package/dist/node_modules/d3-scale-chromatic/src/colors.js +5 -0
  264. package/dist/node_modules/d3-selection/src/array.js +4 -0
  265. package/dist/node_modules/d3-selection/src/constant.js +6 -0
  266. package/dist/node_modules/d3-selection/src/creator.js +18 -0
  267. package/dist/node_modules/d3-selection/src/matcher.js +11 -0
  268. package/dist/node_modules/d3-selection/src/namespace.js +9 -0
  269. package/dist/node_modules/d3-selection/src/namespaces.js +8 -0
  270. package/dist/node_modules/d3-selection/src/select.js +5 -0
  271. package/dist/node_modules/d3-selection/src/selection/append.js +8 -0
  272. package/dist/node_modules/d3-selection/src/selection/attr.js +42 -0
  273. package/dist/node_modules/d3-selection/src/selection/call.js +5 -0
  274. package/dist/node_modules/d3-selection/src/selection/classed.js +51 -0
  275. package/dist/node_modules/d3-selection/src/selection/clone.js +12 -0
  276. package/dist/node_modules/d3-selection/src/selection/data.js +34 -0
  277. package/dist/node_modules/d3-selection/src/selection/datum.js +4 -0
  278. package/dist/node_modules/d3-selection/src/selection/dispatch.js +19 -0
  279. package/dist/node_modules/d3-selection/src/selection/each.js +5 -0
  280. package/dist/node_modules/d3-selection/src/selection/empty.js +4 -0
  281. package/dist/node_modules/d3-selection/src/selection/enter.js +24 -0
  282. package/dist/node_modules/d3-selection/src/selection/exit.js +6 -0
  283. package/dist/node_modules/d3-selection/src/selection/filter.js +8 -0
  284. package/dist/node_modules/d3-selection/src/selection/html.js +17 -0
  285. package/dist/node_modules/d3-selection/src/selection/index.js +84 -0
  286. package/dist/node_modules/d3-selection/src/selection/insert.js +12 -0
  287. package/dist/node_modules/d3-selection/src/selection/iterator.js +4 -0
  288. package/dist/node_modules/d3-selection/src/selection/join.js +5 -0
  289. package/dist/node_modules/d3-selection/src/selection/lower.js +7 -0
  290. package/dist/node_modules/d3-selection/src/selection/merge.js +7 -0
  291. package/dist/node_modules/d3-selection/src/selection/node.js +8 -0
  292. package/dist/node_modules/d3-selection/src/selection/nodes.js +4 -0
  293. package/dist/node_modules/d3-selection/src/selection/on.js +54 -0
  294. package/dist/node_modules/d3-selection/src/selection/order.js +5 -0
  295. package/dist/node_modules/d3-selection/src/selection/property.js +20 -0
  296. package/dist/node_modules/d3-selection/src/selection/raise.js +7 -0
  297. package/dist/node_modules/d3-selection/src/selection/remove.js +8 -0
  298. package/dist/node_modules/d3-selection/src/selection/select.js +8 -0
  299. package/dist/node_modules/d3-selection/src/selection/selectAll.js +14 -0
  300. package/dist/node_modules/d3-selection/src/selection/selectChild.js +14 -0
  301. package/dist/node_modules/d3-selection/src/selection/selectChildren.js +14 -0
  302. package/dist/node_modules/d3-selection/src/selection/size.js +6 -0
  303. package/dist/node_modules/d3-selection/src/selection/sort.js +16 -0
  304. package/dist/node_modules/d3-selection/src/selection/sparse.js +4 -0
  305. package/dist/node_modules/d3-selection/src/selection/style.js +24 -0
  306. package/dist/node_modules/d3-selection/src/selection/text.js +17 -0
  307. package/dist/node_modules/d3-selection/src/selector.js +7 -0
  308. package/dist/node_modules/d3-selection/src/selectorAll.js +9 -0
  309. package/dist/node_modules/d3-selection/src/window.js +4 -0
  310. package/dist/node_modules/d3-shape/src/arc.js +79 -0
  311. package/dist/node_modules/d3-shape/src/array.js +5 -0
  312. package/dist/node_modules/d3-shape/src/constant.js +6 -0
  313. package/dist/node_modules/d3-shape/src/curve/basis.js +45 -0
  314. package/dist/node_modules/d3-shape/src/curve/basisClosed.js +46 -0
  315. package/dist/node_modules/d3-shape/src/curve/basisOpen.js +42 -0
  316. package/dist/node_modules/d3-shape/src/curve/bump.js +36 -0
  317. package/dist/node_modules/d3-shape/src/curve/bundle.js +26 -0
  318. package/dist/node_modules/d3-shape/src/curve/cardinal.js +52 -0
  319. package/dist/node_modules/d3-shape/src/curve/cardinalClosed.js +51 -0
  320. package/dist/node_modules/d3-shape/src/curve/cardinalOpen.js +45 -0
  321. package/dist/node_modules/d3-shape/src/curve/catmullRom.js +67 -0
  322. package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.js +56 -0
  323. package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.js +50 -0
  324. package/dist/node_modules/d3-shape/src/curve/linear.js +32 -0
  325. package/dist/node_modules/d3-shape/src/curve/linearClosed.js +21 -0
  326. package/dist/node_modules/d3-shape/src/curve/monotone.js +90 -0
  327. package/dist/node_modules/d3-shape/src/curve/natural.js +35 -0
  328. package/dist/node_modules/d3-shape/src/curve/step.js +43 -0
  329. package/dist/node_modules/d3-shape/src/descending.js +4 -0
  330. package/dist/node_modules/d3-shape/src/identity.js +4 -0
  331. package/dist/node_modules/d3-shape/src/line.js +26 -0
  332. package/dist/node_modules/d3-shape/src/math.js +8 -0
  333. package/dist/node_modules/d3-shape/src/noop.js +2 -0
  334. package/dist/node_modules/d3-shape/src/path.js +15 -0
  335. package/dist/node_modules/d3-shape/src/pie.js +39 -0
  336. package/dist/node_modules/d3-shape/src/point.js +7 -0
  337. package/dist/node_modules/d3-time/src/day.js +17 -0
  338. package/dist/node_modules/d3-time/src/duration.js +2 -0
  339. package/dist/node_modules/d3-time/src/hour.js +15 -0
  340. package/dist/node_modules/d3-time/src/interval.js +24 -0
  341. package/dist/node_modules/d3-time/src/millisecond.js +10 -0
  342. package/dist/node_modules/d3-time/src/minute.js +15 -0
  343. package/dist/node_modules/d3-time/src/month.js +14 -0
  344. package/dist/node_modules/d3-time/src/second.js +9 -0
  345. package/dist/node_modules/d3-time/src/ticks.js +121 -0
  346. package/dist/node_modules/d3-time/src/week.js +21 -0
  347. package/dist/node_modules/d3-time/src/year.js +22 -0
  348. package/dist/node_modules/d3-time-format/src/defaultLocale.js +58 -0
  349. package/dist/node_modules/d3-time-format/src/locale.js +486 -0
  350. package/dist/node_modules/d3-timer/src/timeout.js +8 -0
  351. package/dist/node_modules/d3-timer/src/timer.js +51 -0
  352. package/dist/node_modules/d3-transition/src/index.js +3 -0
  353. package/dist/node_modules/d3-transition/src/interrupt.js +15 -0
  354. package/dist/node_modules/d3-transition/src/selection/index.js +4 -0
  355. package/dist/node_modules/d3-transition/src/selection/interrupt.js +7 -0
  356. package/dist/node_modules/d3-transition/src/selection/transition.js +21 -0
  357. package/dist/node_modules/d3-transition/src/transition/attr.js +47 -0
  358. package/dist/node_modules/d3-transition/src/transition/attrTween.js +36 -0
  359. package/dist/node_modules/d3-transition/src/transition/delay.js +16 -0
  360. package/dist/node_modules/d3-transition/src/transition/duration.js +16 -0
  361. package/dist/node_modules/d3-transition/src/transition/ease.js +12 -0
  362. package/dist/node_modules/d3-transition/src/transition/easeVarying.js +13 -0
  363. package/dist/node_modules/d3-transition/src/transition/end.js +14 -0
  364. package/dist/node_modules/d3-transition/src/transition/filter.js +8 -0
  365. package/dist/node_modules/d3-transition/src/transition/index.js +65 -0
  366. package/dist/node_modules/d3-transition/src/transition/interpolate.js +9 -0
  367. package/dist/node_modules/d3-transition/src/transition/merge.js +8 -0
  368. package/dist/node_modules/d3-transition/src/transition/on.js +19 -0
  369. package/dist/node_modules/d3-transition/src/transition/remove.js +11 -0
  370. package/dist/node_modules/d3-transition/src/transition/schedule.js +67 -0
  371. package/dist/node_modules/d3-transition/src/transition/select.js +10 -0
  372. package/dist/node_modules/d3-transition/src/transition/selectAll.js +13 -0
  373. package/dist/node_modules/d3-transition/src/transition/selection.js +6 -0
  374. package/dist/node_modules/d3-transition/src/transition/style.js +43 -0
  375. package/dist/node_modules/d3-transition/src/transition/styleTween.js +21 -0
  376. package/dist/node_modules/d3-transition/src/transition/text.js +15 -0
  377. package/dist/node_modules/d3-transition/src/transition/textTween.js +21 -0
  378. package/dist/node_modules/d3-transition/src/transition/transition.js +15 -0
  379. package/dist/node_modules/d3-transition/src/transition/tween.js +52 -0
  380. package/dist/node_modules/d3-zoom/src/index.js +2 -0
  381. package/dist/node_modules/d3-zoom/src/transform.js +46 -0
  382. package/dist/node_modules/d3-zoom/src/zoom.js +2 -0
  383. package/dist/node_modules/dagre-d3-es/src/dagre/acyclic.js +34 -0
  384. package/dist/node_modules/dagre-d3-es/src/dagre/add-border-segments.js +22 -0
  385. package/dist/node_modules/dagre-d3-es/src/dagre/coordinate-system.js +44 -0
  386. package/dist/node_modules/dagre-d3-es/src/dagre/data/list.js +25 -0
  387. package/dist/node_modules/dagre-d3-es/src/dagre/greedy-fas.js +69 -0
  388. package/dist/node_modules/dagre-d3-es/src/dagre/index.js +4 -0
  389. package/dist/node_modules/dagre-d3-es/src/dagre/layout.js +241 -0
  390. package/dist/node_modules/dagre-d3-es/src/dagre/nesting-graph.js +66 -0
  391. package/dist/node_modules/dagre-d3-es/src/dagre/normalize.js +32 -0
  392. package/dist/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.js +14 -0
  393. package/dist/node_modules/dagre-d3-es/src/dagre/order/barycenter.js +25 -0
  394. package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.js +25 -0
  395. package/dist/node_modules/dagre-d3-es/src/dagre/order/cross-count.js +33 -0
  396. package/dist/node_modules/dagre-d3-es/src/dagre/order/index.js +44 -0
  397. package/dist/node_modules/dagre-d3-es/src/dagre/order/init-order.js +23 -0
  398. package/dist/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js +55 -0
  399. package/dist/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js +43 -0
  400. package/dist/node_modules/dagre-d3-es/src/dagre/order/sort.js +27 -0
  401. package/dist/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.js +40 -0
  402. package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.js +216 -0
  403. package/dist/node_modules/dagre-d3-es/src/dagre/position/index.js +23 -0
  404. package/dist/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.js +31 -0
  405. package/dist/node_modules/dagre-d3-es/src/dagre/rank/index.js +25 -0
  406. package/dist/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.js +84 -0
  407. package/dist/node_modules/dagre-d3-es/src/dagre/rank/util.js +20 -0
  408. package/dist/node_modules/dagre-d3-es/src/dagre/util.js +117 -0
  409. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dfs.js +16 -0
  410. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra-all.js +1 -0
  411. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.js +2 -0
  412. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.js +2 -0
  413. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/index.js +8 -0
  414. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/is-acyclic.js +1 -0
  415. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/postorder.js +5 -0
  416. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/preorder.js +5 -0
  417. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/prim.js +1 -0
  418. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/topsort.js +15 -0
  419. package/dist/node_modules/dagre-d3-es/src/graphlib/graph.js +228 -0
  420. package/dist/node_modules/dagre-d3-es/src/graphlib/index.js +1 -0
  421. package/dist/node_modules/dagre-d3-es/src/graphlib/json.js +32 -0
  422. package/dist/node_modules/dayjs/dayjs.min.js +298 -0
  423. package/dist/node_modules/dayjs/plugin/advancedFormat.js +37 -0
  424. package/dist/node_modules/dayjs/plugin/customParseFormat.js +160 -0
  425. package/dist/node_modules/dayjs/plugin/duration.js +164 -0
  426. package/dist/node_modules/dayjs/plugin/isoWeek.js +29 -0
  427. package/dist/node_modules/devlop/lib/default.js +2 -0
  428. package/dist/node_modules/dompurify/dist/purify.es.js +547 -0
  429. package/dist/node_modules/hast-util-from-dom/lib/index.js +58 -0
  430. package/dist/node_modules/hast-util-from-html-isomorphic/lib/browser.js +10 -0
  431. package/dist/node_modules/hast-util-is-element/lib/index.js +36 -0
  432. package/dist/node_modules/hast-util-parse-selector/lib/index.js +16 -0
  433. package/dist/node_modules/hast-util-to-text/lib/index.js +104 -0
  434. package/dist/node_modules/hastscript/lib/create-h.js +86 -0
  435. package/dist/node_modules/hastscript/lib/index.js +5 -0
  436. package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +2 -0
  437. package/dist/node_modules/internmap/src/index.js +36 -0
  438. package/dist/node_modules/katex/dist/katex.js +22103 -0
  439. package/dist/node_modules/khroma/dist/channels/index.js +68 -0
  440. package/dist/node_modules/khroma/dist/channels/reusable.js +8 -0
  441. package/dist/node_modules/khroma/dist/channels/type.js +20 -0
  442. package/dist/node_modules/khroma/dist/color/hex.js +22 -0
  443. package/dist/node_modules/khroma/dist/color/hsl.js +36 -0
  444. package/dist/node_modules/khroma/dist/color/index.js +23 -0
  445. package/dist/node_modules/khroma/dist/color/keyword.js +162 -0
  446. package/dist/node_modules/khroma/dist/color/rgb.js +23 -0
  447. package/dist/node_modules/khroma/dist/constants.js +9 -0
  448. package/dist/node_modules/khroma/dist/methods/adjust.js +8 -0
  449. package/dist/node_modules/khroma/dist/methods/adjust_channel.js +7 -0
  450. package/dist/node_modules/khroma/dist/methods/change.js +8 -0
  451. package/dist/node_modules/khroma/dist/methods/channel.js +4 -0
  452. package/dist/node_modules/khroma/dist/methods/darken.js +3 -0
  453. package/dist/node_modules/khroma/dist/methods/invert.js +7 -0
  454. package/dist/node_modules/khroma/dist/methods/is_dark.js +3 -0
  455. package/dist/node_modules/khroma/dist/methods/is_light.js +3 -0
  456. package/dist/node_modules/khroma/dist/methods/lighten.js +3 -0
  457. package/dist/node_modules/khroma/dist/methods/luminance.js +7 -0
  458. package/dist/node_modules/khroma/dist/methods/mix.js +7 -0
  459. package/dist/node_modules/khroma/dist/methods/rgba.js +15 -0
  460. package/dist/node_modules/khroma/dist/utils/channel.js +58 -0
  461. package/dist/node_modules/khroma/dist/utils/index.js +9 -0
  462. package/dist/node_modules/khroma/dist/utils/lang.js +5 -0
  463. package/dist/node_modules/khroma/dist/utils/unit.js +5 -0
  464. package/dist/node_modules/langium/lib/default-module.js +85 -0
  465. package/dist/node_modules/langium/lib/dependency-injection.js +62 -0
  466. package/dist/node_modules/langium/lib/documentation/comment-provider.js +11 -0
  467. package/dist/node_modules/langium/lib/documentation/documentation-provider.js +36 -0
  468. package/dist/node_modules/langium/lib/documentation/jsdoc.js +303 -0
  469. package/dist/node_modules/langium/lib/index.js +182 -0
  470. package/dist/node_modules/langium/lib/languages/generated/ast.js +1089 -0
  471. package/dist/node_modules/langium/lib/languages/grammar-config.js +13 -0
  472. package/dist/node_modules/langium/lib/parser/async-parser.js +83 -0
  473. package/dist/node_modules/langium/lib/parser/completion-parser-builder.js +7 -0
  474. package/dist/node_modules/langium/lib/parser/cst-node-builder.js +160 -0
  475. package/dist/node_modules/langium/lib/parser/indentation-aware.js +141 -0
  476. package/dist/node_modules/langium/lib/parser/langium-parser-builder.js +11 -0
  477. package/dist/node_modules/langium/lib/parser/langium-parser.js +388 -0
  478. package/dist/node_modules/langium/lib/parser/lexer.js +50 -0
  479. package/dist/node_modules/langium/lib/parser/parser-builder-base.js +275 -0
  480. package/dist/node_modules/langium/lib/parser/token-builder.js +61 -0
  481. package/dist/node_modules/langium/lib/parser/value-converter.js +78 -0
  482. package/dist/node_modules/langium/lib/references/linker.js +190 -0
  483. package/dist/node_modules/langium/lib/references/name-provider.js +13 -0
  484. package/dist/node_modules/langium/lib/references/references.js +76 -0
  485. package/dist/node_modules/langium/lib/references/scope-computation.js +35 -0
  486. package/dist/node_modules/langium/lib/references/scope-provider.js +34 -0
  487. package/dist/node_modules/langium/lib/references/scope.js +73 -0
  488. package/dist/node_modules/langium/lib/serializer/hydrator.js +125 -0
  489. package/dist/node_modules/langium/lib/serializer/json-serializer.js +145 -0
  490. package/dist/node_modules/langium/lib/service-registry.js +37 -0
  491. package/dist/node_modules/langium/lib/syntax-tree.js +70 -0
  492. package/dist/node_modules/langium/lib/utils/ast-utils.js +157 -0
  493. package/dist/node_modules/langium/lib/utils/caching.js +91 -0
  494. package/dist/node_modules/langium/lib/utils/cancellation.js +5 -0
  495. package/dist/node_modules/langium/lib/utils/collections.js +85 -0
  496. package/dist/node_modules/langium/lib/utils/cst-utils.js +190 -0
  497. package/dist/node_modules/langium/lib/utils/disposable.js +8 -0
  498. package/dist/node_modules/langium/lib/utils/errors.js +12 -0
  499. package/dist/node_modules/langium/lib/utils/event.js +5 -0
  500. package/dist/node_modules/langium/lib/utils/grammar-loader.js +22 -0
  501. package/dist/node_modules/langium/lib/utils/grammar-utils.js +296 -0
  502. package/dist/node_modules/langium/lib/utils/index.js +53 -0
  503. package/dist/node_modules/langium/lib/utils/promise-utils.js +30 -0
  504. package/dist/node_modules/langium/lib/utils/regexp-utils.js +167 -0
  505. package/dist/node_modules/langium/lib/utils/stream.js +327 -0
  506. package/dist/node_modules/langium/lib/utils/uri-utils.js +107 -0
  507. package/dist/node_modules/langium/lib/validation/document-validator.js +210 -0
  508. package/dist/node_modules/langium/lib/validation/validation-registry.js +87 -0
  509. package/dist/node_modules/langium/lib/workspace/ast-descriptions.js +57 -0
  510. package/dist/node_modules/langium/lib/workspace/ast-node-locator.js +28 -0
  511. package/dist/node_modules/langium/lib/workspace/configuration.js +51 -0
  512. package/dist/node_modules/langium/lib/workspace/document-builder.js +201 -0
  513. package/dist/node_modules/langium/lib/workspace/documents.js +142 -0
  514. package/dist/node_modules/langium/lib/workspace/file-system-provider.js +34 -0
  515. package/dist/node_modules/langium/lib/workspace/index-manager.js +49 -0
  516. package/dist/node_modules/langium/lib/workspace/profiler.js +89 -0
  517. package/dist/node_modules/langium/lib/workspace/workspace-lock.js +42 -0
  518. package/dist/node_modules/langium/lib/workspace/workspace-manager.js +66 -0
  519. package/dist/node_modules/layout-base/layout-base.js +1407 -0
  520. package/dist/node_modules/lodash-es/_DataView.js +4 -0
  521. package/dist/node_modules/lodash-es/_Hash.js +15 -0
  522. package/dist/node_modules/lodash-es/_ListCache.js +15 -0
  523. package/dist/node_modules/lodash-es/_Map.js +4 -0
  524. package/dist/node_modules/lodash-es/_MapCache.js +15 -0
  525. package/dist/node_modules/lodash-es/_Promise.js +4 -0
  526. package/dist/node_modules/lodash-es/_Set.js +4 -0
  527. package/dist/node_modules/lodash-es/_SetCache.js +10 -0
  528. package/dist/node_modules/lodash-es/_Stack.js +12 -0
  529. package/dist/node_modules/lodash-es/_Symbol.js +3 -0
  530. package/dist/node_modules/lodash-es/_Uint8Array.js +3 -0
  531. package/dist/node_modules/lodash-es/_WeakMap.js +4 -0
  532. package/dist/node_modules/lodash-es/_apply.js +11 -0
  533. package/dist/node_modules/lodash-es/_arrayAggregator.js +9 -0
  534. package/dist/node_modules/lodash-es/_arrayEach.js +6 -0
  535. package/dist/node_modules/lodash-es/_arrayEvery.js +6 -0
  536. package/dist/node_modules/lodash-es/_arrayFilter.js +9 -0
  537. package/dist/node_modules/lodash-es/_arrayIncludes.js +6 -0
  538. package/dist/node_modules/lodash-es/_arrayIncludesWith.js +6 -0
  539. package/dist/node_modules/lodash-es/_arrayLikeKeys.js +14 -0
  540. package/dist/node_modules/lodash-es/_arrayMap.js +6 -0
  541. package/dist/node_modules/lodash-es/_arrayPush.js +6 -0
  542. package/dist/node_modules/lodash-es/_arrayReduce.js +7 -0
  543. package/dist/node_modules/lodash-es/_arraySome.js +6 -0
  544. package/dist/node_modules/lodash-es/_asciiSize.js +3 -0
  545. package/dist/node_modules/lodash-es/_assignMergeValue.js +7 -0
  546. package/dist/node_modules/lodash-es/_assignValue.js +9 -0
  547. package/dist/node_modules/lodash-es/_assocIndexOf.js +7 -0
  548. package/dist/node_modules/lodash-es/_baseAggregator.js +8 -0
  549. package/dist/node_modules/lodash-es/_baseAssign.js +7 -0
  550. package/dist/node_modules/lodash-es/_baseAssignIn.js +7 -0
  551. package/dist/node_modules/lodash-es/_baseAssignValue.js +11 -0
  552. package/dist/node_modules/lodash-es/_baseClone.js +56 -0
  553. package/dist/node_modules/lodash-es/_baseCreate.js +12 -0
  554. package/dist/node_modules/lodash-es/_baseDifference.js +22 -0
  555. package/dist/node_modules/lodash-es/_baseEach.js +4 -0
  556. package/dist/node_modules/lodash-es/_baseEvery.js +9 -0
  557. package/dist/node_modules/lodash-es/_baseExtremum.js +10 -0
  558. package/dist/node_modules/lodash-es/_baseFilter.js +9 -0
  559. package/dist/node_modules/lodash-es/_baseFindIndex.js +6 -0
  560. package/dist/node_modules/lodash-es/_baseFlatten.js +12 -0
  561. package/dist/node_modules/lodash-es/_baseFor.js +3 -0
  562. package/dist/node_modules/lodash-es/_baseForOwn.js +7 -0
  563. package/dist/node_modules/lodash-es/_baseGet.js +9 -0
  564. package/dist/node_modules/lodash-es/_baseGetAllKeys.js +8 -0
  565. package/dist/node_modules/lodash-es/_baseGetTag.js +9 -0
  566. package/dist/node_modules/lodash-es/_baseGt.js +5 -0
  567. package/dist/node_modules/lodash-es/_baseHas.js +6 -0
  568. package/dist/node_modules/lodash-es/_baseHasIn.js +5 -0
  569. package/dist/node_modules/lodash-es/_baseIndexOf.js +8 -0
  570. package/dist/node_modules/lodash-es/_baseIsArguments.js +8 -0
  571. package/dist/node_modules/lodash-es/_baseIsEqual.js +7 -0
  572. package/dist/node_modules/lodash-es/_baseIsEqualDeep.js +29 -0
  573. package/dist/node_modules/lodash-es/_baseIsMap.js +8 -0
  574. package/dist/node_modules/lodash-es/_baseIsMatch.js +25 -0
  575. package/dist/node_modules/lodash-es/_baseIsNaN.js +5 -0
  576. package/dist/node_modules/lodash-es/_baseIsNative.js +10 -0
  577. package/dist/node_modules/lodash-es/_baseIsRegExp.js +8 -0
  578. package/dist/node_modules/lodash-es/_baseIsSet.js +8 -0
  579. package/dist/node_modules/lodash-es/_baseIsTypedArray.js +10 -0
  580. package/dist/node_modules/lodash-es/_baseIteratee.js +10 -0
  581. package/dist/node_modules/lodash-es/_baseKeys.js +11 -0
  582. package/dist/node_modules/lodash-es/_baseKeysIn.js +12 -0
  583. package/dist/node_modules/lodash-es/_baseLt.js +5 -0
  584. package/dist/node_modules/lodash-es/_baseMap.js +10 -0
  585. package/dist/node_modules/lodash-es/_baseMatches.js +11 -0
  586. package/dist/node_modules/lodash-es/_baseMatchesProperty.js +16 -0
  587. package/dist/node_modules/lodash-es/_baseMerge.js +18 -0
  588. package/dist/node_modules/lodash-es/_baseMergeDeep.js +30 -0
  589. package/dist/node_modules/lodash-es/_baseOrderBy.js +30 -0
  590. package/dist/node_modules/lodash-es/_basePick.js +9 -0
  591. package/dist/node_modules/lodash-es/_basePickBy.js +12 -0
  592. package/dist/node_modules/lodash-es/_baseProperty.js +7 -0
  593. package/dist/node_modules/lodash-es/_basePropertyDeep.js +8 -0
  594. package/dist/node_modules/lodash-es/_baseRange.js +7 -0
  595. package/dist/node_modules/lodash-es/_baseReduce.js +7 -0
  596. package/dist/node_modules/lodash-es/_baseRest.js +8 -0
  597. package/dist/node_modules/lodash-es/_baseSet.js +21 -0
  598. package/dist/node_modules/lodash-es/_baseSetToString.js +12 -0
  599. package/dist/node_modules/lodash-es/_baseSlice.js +8 -0
  600. package/dist/node_modules/lodash-es/_baseSome.js +9 -0
  601. package/dist/node_modules/lodash-es/_baseSortBy.js +7 -0
  602. package/dist/node_modules/lodash-es/_baseTimes.js +6 -0
  603. package/dist/node_modules/lodash-es/_baseToString.js +14 -0
  604. package/dist/node_modules/lodash-es/_baseTrim.js +7 -0
  605. package/dist/node_modules/lodash-es/_baseUnary.js +7 -0
  606. package/dist/node_modules/lodash-es/_baseUniq.js +26 -0
  607. package/dist/node_modules/lodash-es/_baseValues.js +8 -0
  608. package/dist/node_modules/lodash-es/_baseZipObject.js +9 -0
  609. package/dist/node_modules/lodash-es/_cacheHas.js +5 -0
  610. package/dist/node_modules/lodash-es/_castFunction.js +6 -0
  611. package/dist/node_modules/lodash-es/_castPath.js +9 -0
  612. package/dist/node_modules/lodash-es/_cloneArrayBuffer.js +7 -0
  613. package/dist/node_modules/lodash-es/_cloneBuffer.js +9 -0
  614. package/dist/node_modules/lodash-es/_cloneDataView.js +7 -0
  615. package/dist/node_modules/lodash-es/_cloneRegExp.js +7 -0
  616. package/dist/node_modules/lodash-es/_cloneSymbol.js +7 -0
  617. package/dist/node_modules/lodash-es/_cloneTypedArray.js +7 -0
  618. package/dist/node_modules/lodash-es/_compareAscending.js +11 -0
  619. package/dist/node_modules/lodash-es/_compareMultiple.js +10 -0
  620. package/dist/node_modules/lodash-es/_copyArray.js +7 -0
  621. package/dist/node_modules/lodash-es/_copyObject.js +13 -0
  622. package/dist/node_modules/lodash-es/_copySymbols.js +7 -0
  623. package/dist/node_modules/lodash-es/_copySymbolsIn.js +7 -0
  624. package/dist/node_modules/lodash-es/_coreJsData.js +3 -0
  625. package/dist/node_modules/lodash-es/_createAggregator.js +12 -0
  626. package/dist/node_modules/lodash-es/_createAssigner.js +14 -0
  627. package/dist/node_modules/lodash-es/_createBaseEach.js +11 -0
  628. package/dist/node_modules/lodash-es/_createBaseFor.js +11 -0
  629. package/dist/node_modules/lodash-es/_createFind.js +18 -0
  630. package/dist/node_modules/lodash-es/_createRange.js +10 -0
  631. package/dist/node_modules/lodash-es/_createSet.js +7 -0
  632. package/dist/node_modules/lodash-es/_defineProperty.js +8 -0
  633. package/dist/node_modules/lodash-es/_equalArrays.js +34 -0
  634. package/dist/node_modules/lodash-es/_equalByTag.js +34 -0
  635. package/dist/node_modules/lodash-es/_equalObjects.js +31 -0
  636. package/dist/node_modules/lodash-es/_flatRest.js +8 -0
  637. package/dist/node_modules/lodash-es/_freeGlobal.js +2 -0
  638. package/dist/node_modules/lodash-es/_getAllKeys.js +8 -0
  639. package/dist/node_modules/lodash-es/_getAllKeysIn.js +8 -0
  640. package/dist/node_modules/lodash-es/_getMapData.js +7 -0
  641. package/dist/node_modules/lodash-es/_getMatchData.js +15 -0
  642. package/dist/node_modules/lodash-es/_getNative.js +8 -0
  643. package/dist/node_modules/lodash-es/_getPrototype.js +3 -0
  644. package/dist/node_modules/lodash-es/_getRawTag.js +13 -0
  645. package/dist/node_modules/lodash-es/_getSymbols.js +8 -0
  646. package/dist/node_modules/lodash-es/_getSymbolsIn.js +9 -0
  647. package/dist/node_modules/lodash-es/_getTag.js +21 -0
  648. package/dist/node_modules/lodash-es/_getValue.js +5 -0
  649. package/dist/node_modules/lodash-es/_hasPath.js +17 -0
  650. package/dist/node_modules/lodash-es/_hasUnicode.js +6 -0
  651. package/dist/node_modules/lodash-es/_hashClear.js +6 -0
  652. package/dist/node_modules/lodash-es/_hashDelete.js +6 -0
  653. package/dist/node_modules/lodash-es/_hashGet.js +12 -0
  654. package/dist/node_modules/lodash-es/_hashHas.js +8 -0
  655. package/dist/node_modules/lodash-es/_hashSet.js +8 -0
  656. package/dist/node_modules/lodash-es/_initCloneArray.js +7 -0
  657. package/dist/node_modules/lodash-es/_initCloneByTag.js +32 -0
  658. package/dist/node_modules/lodash-es/_initCloneObject.js +8 -0
  659. package/dist/node_modules/lodash-es/_isFlattenable.js +9 -0
  660. package/dist/node_modules/lodash-es/_isIndex.js +7 -0
  661. package/dist/node_modules/lodash-es/_isIterateeCall.js +11 -0
  662. package/dist/node_modules/lodash-es/_isKey.js +10 -0
  663. package/dist/node_modules/lodash-es/_isKeyable.js +6 -0
  664. package/dist/node_modules/lodash-es/_isMasked.js +10 -0
  665. package/dist/node_modules/lodash-es/_isPrototype.js +7 -0
  666. package/dist/node_modules/lodash-es/_isStrictComparable.js +6 -0
  667. package/dist/node_modules/lodash-es/_listCacheClear.js +5 -0
  668. package/dist/node_modules/lodash-es/_listCacheDelete.js +8 -0
  669. package/dist/node_modules/lodash-es/_listCacheGet.js +7 -0
  670. package/dist/node_modules/lodash-es/_listCacheHas.js +6 -0
  671. package/dist/node_modules/lodash-es/_listCacheSet.js +7 -0
  672. package/dist/node_modules/lodash-es/_mapCacheClear.js +12 -0
  673. package/dist/node_modules/lodash-es/_mapCacheDelete.js +7 -0
  674. package/dist/node_modules/lodash-es/_mapCacheGet.js +6 -0
  675. package/dist/node_modules/lodash-es/_mapCacheHas.js +6 -0
  676. package/dist/node_modules/lodash-es/_mapCacheSet.js +7 -0
  677. package/dist/node_modules/lodash-es/_mapToArray.js +8 -0
  678. package/dist/node_modules/lodash-es/_matchesStrictComparable.js +7 -0
  679. package/dist/node_modules/lodash-es/_memoizeCapped.js +10 -0
  680. package/dist/node_modules/lodash-es/_nativeCreate.js +3 -0
  681. package/dist/node_modules/lodash-es/_nativeKeys.js +3 -0
  682. package/dist/node_modules/lodash-es/_nativeKeysIn.js +7 -0
  683. package/dist/node_modules/lodash-es/_nodeUtil.js +7 -0
  684. package/dist/node_modules/lodash-es/_objectToString.js +6 -0
  685. package/dist/node_modules/lodash-es/_overArg.js +7 -0
  686. package/dist/node_modules/lodash-es/_overRest.js +12 -0
  687. package/dist/node_modules/lodash-es/_root.js +3 -0
  688. package/dist/node_modules/lodash-es/_safeGet.js +5 -0
  689. package/dist/node_modules/lodash-es/_setCacheAdd.js +6 -0
  690. package/dist/node_modules/lodash-es/_setCacheHas.js +5 -0
  691. package/dist/node_modules/lodash-es/_setToArray.js +8 -0
  692. package/dist/node_modules/lodash-es/_setToString.js +4 -0
  693. package/dist/node_modules/lodash-es/_shortOut.js +13 -0
  694. package/dist/node_modules/lodash-es/_stackClear.js +6 -0
  695. package/dist/node_modules/lodash-es/_stackDelete.js +6 -0
  696. package/dist/node_modules/lodash-es/_stackGet.js +5 -0
  697. package/dist/node_modules/lodash-es/_stackHas.js +5 -0
  698. package/dist/node_modules/lodash-es/_stackSet.js +15 -0
  699. package/dist/node_modules/lodash-es/_strictIndexOf.js +6 -0
  700. package/dist/node_modules/lodash-es/_stringSize.js +8 -0
  701. package/dist/node_modules/lodash-es/_stringToPath.js +8 -0
  702. package/dist/node_modules/lodash-es/_toKey.js +9 -0
  703. package/dist/node_modules/lodash-es/_toSource.js +14 -0
  704. package/dist/node_modules/lodash-es/_trimmedEndIndex.js +7 -0
  705. package/dist/node_modules/lodash-es/_unicodeSize.js +17 -0
  706. package/dist/node_modules/lodash-es/assign.js +14 -0
  707. package/dist/node_modules/lodash-es/clone.js +7 -0
  708. package/dist/node_modules/lodash-es/cloneDeep.js +7 -0
  709. package/dist/node_modules/lodash-es/compact.js +9 -0
  710. package/dist/node_modules/lodash-es/constant.js +7 -0
  711. package/dist/node_modules/lodash-es/defaults.js +14 -0
  712. package/dist/node_modules/lodash-es/difference.js +8 -0
  713. package/dist/node_modules/lodash-es/drop.js +8 -0
  714. package/dist/node_modules/lodash-es/dropRight.js +8 -0
  715. package/dist/node_modules/lodash-es/eq.js +5 -0
  716. package/dist/node_modules/lodash-es/every.js +11 -0
  717. package/dist/node_modules/lodash-es/filter.js +9 -0
  718. package/dist/node_modules/lodash-es/find.js +4 -0
  719. package/dist/node_modules/lodash-es/findIndex.js +12 -0
  720. package/dist/node_modules/lodash-es/flatMap.js +7 -0
  721. package/dist/node_modules/lodash-es/flatten.js +6 -0
  722. package/dist/node_modules/lodash-es/forEach.js +9 -0
  723. package/dist/node_modules/lodash-es/forIn.js +8 -0
  724. package/dist/node_modules/lodash-es/forOwn.js +7 -0
  725. package/dist/node_modules/lodash-es/get.js +7 -0
  726. package/dist/node_modules/lodash-es/groupBy.js +6 -0
  727. package/dist/node_modules/lodash-es/has.js +7 -0
  728. package/dist/node_modules/lodash-es/hasIn.js +7 -0
  729. package/dist/node_modules/lodash-es/head.js +5 -0
  730. package/dist/node_modules/lodash-es/identity.js +5 -0
  731. package/dist/node_modules/lodash-es/includes.js +13 -0
  732. package/dist/node_modules/lodash-es/indexOf.js +11 -0
  733. package/dist/node_modules/lodash-es/isArguments.js +8 -0
  734. package/dist/node_modules/lodash-es/isArray.js +2 -0
  735. package/dist/node_modules/lodash-es/isArrayLike.js +7 -0
  736. package/dist/node_modules/lodash-es/isArrayLikeObject.js +7 -0
  737. package/dist/node_modules/lodash-es/isBuffer.js +4 -0
  738. package/dist/node_modules/lodash-es/isEmpty.js +20 -0
  739. package/dist/node_modules/lodash-es/isFunction.js +10 -0
  740. package/dist/node_modules/lodash-es/isLength.js +6 -0
  741. package/dist/node_modules/lodash-es/isMap.js +5 -0
  742. package/dist/node_modules/lodash-es/isObject.js +6 -0
  743. package/dist/node_modules/lodash-es/isObjectLike.js +5 -0
  744. package/dist/node_modules/lodash-es/isPlainObject.js +13 -0
  745. package/dist/node_modules/lodash-es/isRegExp.js +5 -0
  746. package/dist/node_modules/lodash-es/isSet.js +5 -0
  747. package/dist/node_modules/lodash-es/isString.js +9 -0
  748. package/dist/node_modules/lodash-es/isSymbol.js +8 -0
  749. package/dist/node_modules/lodash-es/isTypedArray.js +5 -0
  750. package/dist/node_modules/lodash-es/isUndefined.js +5 -0
  751. package/dist/node_modules/lodash-es/keys.js +8 -0
  752. package/dist/node_modules/lodash-es/keysIn.js +8 -0
  753. package/dist/node_modules/lodash-es/last.js +6 -0
  754. package/dist/node_modules/lodash-es/map.js +9 -0
  755. package/dist/node_modules/lodash-es/mapValues.js +11 -0
  756. package/dist/node_modules/lodash-es/max.js +8 -0
  757. package/dist/node_modules/lodash-es/memoize.js +15 -0
  758. package/dist/node_modules/lodash-es/merge.js +6 -0
  759. package/dist/node_modules/lodash-es/min.js +8 -0
  760. package/dist/node_modules/lodash-es/minBy.js +8 -0
  761. package/dist/node_modules/lodash-es/negate.js +16 -0
  762. package/dist/node_modules/lodash-es/noop.js +3 -0
  763. package/dist/node_modules/lodash-es/now.js +5 -0
  764. package/dist/node_modules/lodash-es/pick.js +6 -0
  765. package/dist/node_modules/lodash-es/pickBy.js +15 -0
  766. package/dist/node_modules/lodash-es/property.js +9 -0
  767. package/dist/node_modules/lodash-es/range.js +3 -0
  768. package/dist/node_modules/lodash-es/reduce.js +11 -0
  769. package/dist/node_modules/lodash-es/reject.js +10 -0
  770. package/dist/node_modules/lodash-es/size.js +14 -0
  771. package/dist/node_modules/lodash-es/some.js +11 -0
  772. package/dist/node_modules/lodash-es/sortBy.js +10 -0
  773. package/dist/node_modules/lodash-es/stubArray.js +5 -0
  774. package/dist/node_modules/lodash-es/stubFalse.js +5 -0
  775. package/dist/node_modules/lodash-es/toFinite.js +7 -0
  776. package/dist/node_modules/lodash-es/toInteger.js +7 -0
  777. package/dist/node_modules/lodash-es/toNumber.js +18 -0
  778. package/dist/node_modules/lodash-es/toPlainObject.js +7 -0
  779. package/dist/node_modules/lodash-es/toString.js +6 -0
  780. package/dist/node_modules/lodash-es/union.js +8 -0
  781. package/dist/node_modules/lodash-es/uniq.js +6 -0
  782. package/dist/node_modules/lodash-es/uniqBy.js +7 -0
  783. package/dist/node_modules/lodash-es/uniqueId.js +8 -0
  784. package/dist/node_modules/lodash-es/values.js +7 -0
  785. package/dist/node_modules/lodash-es/zipObject.js +7 -0
  786. package/dist/node_modules/longest-streak/index.js +7 -0
  787. package/dist/node_modules/markdown-table/index.js +57 -0
  788. package/dist/node_modules/marked/lib/marked.esm.js +1384 -0
  789. package/dist/node_modules/mdast-util-find-and-replace/lib/index.js +59 -0
  790. package/dist/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js +5 -0
  791. package/dist/node_modules/mdast-util-gfm/lib/index.js +24 -0
  792. package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +127 -0
  793. package/dist/node_modules/mdast-util-gfm-footnote/lib/index.js +95 -0
  794. package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.js +47 -0
  795. package/dist/node_modules/mdast-util-gfm-table/lib/index.js +135 -0
  796. package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.js +56 -0
  797. package/dist/node_modules/mdast-util-math/lib/index.js +142 -0
  798. package/dist/node_modules/mdast-util-phrasing/lib/index.js +20 -0
  799. package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +10 -0
  800. package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.js +7 -0
  801. package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.js +34 -0
  802. package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.js +22 -0
  803. package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +23 -0
  804. package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.js +22 -0
  805. package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.js +8 -0
  806. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +21 -0
  807. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.js +26 -0
  808. package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.js +42 -0
  809. package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +17 -0
  810. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +21 -0
  811. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.js +39 -0
  812. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +16 -0
  813. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.js +24 -0
  814. package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +5 -0
  815. package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.js +7 -0
  816. package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.js +23 -0
  817. package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.js +4 -0
  818. package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +7 -0
  819. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +6 -0
  820. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +9 -0
  821. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +6 -0
  822. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +6 -0
  823. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +6 -0
  824. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +6 -0
  825. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +6 -0
  826. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +6 -0
  827. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +6 -0
  828. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +6 -0
  829. package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +4 -0
  830. package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +36 -0
  831. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +4 -0
  832. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +10 -0
  833. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +6 -0
  834. package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +10 -0
  835. package/dist/node_modules/mdast-util-to-string/lib/index.js +22 -0
  836. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-VXUJARFQ.js +673 -0
  837. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VD42YOAC.js +3010 -0
  838. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-YG6GDRKO.js +2955 -0
  839. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.js +6 -0
  840. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.js +8 -0
  841. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.js +1547 -0
  842. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.js +29 -0
  843. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ATLVNIR6.js +65 -0
  844. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-B4BG7PRW.js +3110 -0
  845. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-CVBHYZKI.js +10 -0
  846. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DI55MBZ5.js +1994 -0
  847. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DR5Q36YT.js +135 -0
  848. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EXTU4WIE.js +9 -0
  849. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.js +3 -0
  850. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HN2XXSSU.js +74 -0
  851. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JA3XYJ7Z.js +247 -0
  852. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JZLCHNYA.js +3516 -0
  853. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MI3HLSF2.js +1140 -0
  854. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-N4CR4FBY.js +39 -0
  855. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QN33PNHL.js +23 -0
  856. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QXUST7PY.js +497 -0
  857. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.js +11 -0
  858. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-S3R3BYOJ.js +338 -0
  859. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TZMSLE5B.js +55 -0
  860. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-2ON5EDUG.js +26 -0
  861. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-WZHVMYZB.js +26 -0
  862. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.js +219 -0
  863. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/dagre-6UL2VRFP.js +263 -0
  864. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.js +283 -0
  865. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-QEK2KX5R.js +211 -0
  866. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-S2PKOQOG.js +129 -0
  867. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q2GNP2WA.js +1599 -0
  868. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-NV44I4VS.js +4128 -0
  869. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-JELNMOA3.js +1688 -0
  870. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-V2S2FVAM.js +621 -0
  871. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-HS3SLOUP.js +18 -0
  872. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-XKPGCS4Q.js +883 -0
  873. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-3W4ZIXB7.js +970 -0
  874. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-VGOIOE7T.js +931 -0
  875. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-ADFJNKIX.js +117 -0
  876. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-AYHSOK5B.js +1970 -0
  877. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-UZGBJVZJ.js +2187 -0
  878. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-TZEHDZUN.js +519 -0
  879. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-WL72ISMW.js +3560 -0
  880. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FKZM4ZOC.js +220 -0
  881. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-4FDKWEC3.js +25 -0
  882. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-IT6M3QCI.js +833 -0
  883. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-PRI3JC2R.js +1975 -0
  884. package/dist/node_modules/mermaid/dist/mermaid.core.js +662 -0
  885. package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +16 -0
  886. package/dist/node_modules/micromark-extension-gfm/index.js +16 -0
  887. package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +172 -0
  888. package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +191 -0
  889. package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +94 -0
  890. package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.js +41 -0
  891. package/dist/node_modules/micromark-extension-gfm-table/lib/infer.js +18 -0
  892. package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.js +199 -0
  893. package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +32 -0
  894. package/dist/node_modules/micromark-extension-math/lib/math-flow.js +72 -0
  895. package/dist/node_modules/micromark-extension-math/lib/math-text.js +44 -0
  896. package/dist/node_modules/micromark-extension-math/lib/syntax.js +9 -0
  897. package/dist/node_modules/micromark-factory-space/index.js +12 -0
  898. package/dist/node_modules/micromark-util-character/index.js +21 -0
  899. package/dist/node_modules/micromark-util-chunked/index.js +6 -0
  900. package/dist/node_modules/micromark-util-classify-character/index.js +6 -0
  901. package/dist/node_modules/micromark-util-combine-extensions/index.js +24 -0
  902. package/dist/node_modules/micromark-util-normalize-identifier/index.js +4 -0
  903. package/dist/node_modules/micromark-util-resolve-all/index.js +9 -0
  904. package/dist/node_modules/property-information/index.js +23 -0
  905. package/dist/node_modules/property-information/lib/aria.js +59 -0
  906. package/dist/node_modules/property-information/lib/find.js +29 -0
  907. package/dist/node_modules/property-information/lib/html.js +314 -0
  908. package/dist/node_modules/property-information/lib/normalize.js +4 -0
  909. package/dist/node_modules/property-information/lib/svg.js +560 -0
  910. package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +5 -0
  911. package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +4 -0
  912. package/dist/node_modules/property-information/lib/util/create.js +12 -0
  913. package/dist/node_modules/property-information/lib/util/defined-info.js +16 -0
  914. package/dist/node_modules/property-information/lib/util/info.js +7 -0
  915. package/dist/node_modules/property-information/lib/util/merge.js +7 -0
  916. package/dist/node_modules/property-information/lib/util/schema.js +7 -0
  917. package/dist/node_modules/property-information/lib/util/types.js +15 -0
  918. package/dist/node_modules/property-information/lib/xlink.js +17 -0
  919. package/dist/node_modules/property-information/lib/xml.js +13 -0
  920. package/dist/node_modules/property-information/lib/xmlns.js +12 -0
  921. package/dist/node_modules/rehype-katex/lib/index.js +60 -0
  922. package/dist/node_modules/remark-gfm/lib/index.js +8 -0
  923. package/dist/node_modules/remark-math/lib/index.js +8 -0
  924. package/dist/node_modules/roughjs/bundled/rough.esm.js +1350 -0
  925. package/dist/node_modules/space-separated-tokens/index.js +5 -0
  926. package/dist/node_modules/stylis/src/Enum.js +2 -0
  927. package/dist/node_modules/stylis/src/Parser.js +93 -0
  928. package/dist/node_modules/stylis/src/Serializer.js +19 -0
  929. package/dist/node_modules/stylis/src/Tokenizer.js +104 -0
  930. package/dist/node_modules/stylis/src/Utility.js +26 -0
  931. package/dist/node_modules/ts-dedent/esm/index.js +25 -0
  932. package/dist/node_modules/unist-util-find-after/lib/index.js +10 -0
  933. package/dist/node_modules/unist-util-is/lib/index.js +45 -0
  934. package/dist/node_modules/unist-util-visit/lib/index.js +10 -0
  935. package/dist/node_modules/unist-util-visit-parents/lib/color.js +4 -0
  936. package/dist/node_modules/unist-util-visit-parents/lib/index.js +35 -0
  937. package/dist/node_modules/uuid/dist/esm-browser/native.js +2 -0
  938. package/dist/node_modules/uuid/dist/esm-browser/rng.js +9 -0
  939. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +6 -0
  940. package/dist/node_modules/uuid/dist/esm-browser/v4.js +17 -0
  941. package/dist/node_modules/vscode-jsonrpc/browser.js +7 -0
  942. package/dist/node_modules/vscode-jsonrpc/lib/browser/main.js +52 -0
  943. package/dist/node_modules/vscode-jsonrpc/lib/browser/ril.js +120 -0
  944. package/dist/node_modules/vscode-jsonrpc/lib/common/api.js +337 -0
  945. package/dist/node_modules/vscode-jsonrpc/lib/common/cancellation.js +57 -0
  946. package/dist/node_modules/vscode-jsonrpc/lib/common/connection.js +647 -0
  947. package/dist/node_modules/vscode-jsonrpc/lib/common/disposable.js +13 -0
  948. package/dist/node_modules/vscode-jsonrpc/lib/common/events.js +64 -0
  949. package/dist/node_modules/vscode-jsonrpc/lib/common/is.js +34 -0
  950. package/dist/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +235 -0
  951. package/dist/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +93 -0
  952. package/dist/node_modules/vscode-jsonrpc/lib/common/messageReader.js +129 -0
  953. package/dist/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +85 -0
  954. package/dist/node_modules/vscode-jsonrpc/lib/common/messages.js +161 -0
  955. package/dist/node_modules/vscode-jsonrpc/lib/common/ral.js +18 -0
  956. package/dist/node_modules/vscode-jsonrpc/lib/common/semaphore.js +44 -0
  957. package/dist/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +58 -0
  958. package/dist/node_modules/vscode-languageserver-protocol/lib/browser/main.js +28 -0
  959. package/dist/node_modules/vscode-languageserver-protocol/lib/common/api.js +36 -0
  960. package/dist/node_modules/vscode-languageserver-protocol/lib/common/connection.js +12 -0
  961. package/dist/node_modules/vscode-languageserver-protocol/lib/common/messages.js +31 -0
  962. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +19 -0
  963. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +15 -0
  964. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +11 -0
  965. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +11 -0
  966. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +33 -0
  967. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +35 -0
  968. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +15 -0
  969. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +11 -0
  970. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +19 -0
  971. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +11 -0
  972. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +15 -0
  973. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +674 -0
  974. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +11 -0
  975. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +19 -0
  976. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +126 -0
  977. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +24 -0
  978. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +11 -0
  979. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +31 -0
  980. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +11 -0
  981. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +11 -0
  982. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +19 -0
  983. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +15 -0
  984. package/dist/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +42 -0
  985. package/dist/node_modules/vscode-languageserver-textdocument/lib/esm/main.js +138 -0
  986. package/dist/node_modules/vscode-languageserver-types/lib/esm/main.js +1084 -0
  987. package/dist/node_modules/vscode-uri/lib/esm/index.js +373 -0
  988. package/dist/node_modules/web-namespaces/index.js +9 -0
  989. package/dist/pages/WorkspacePage.js +63 -0
  990. package/dist/pages/WorkspacesPage.js +36 -0
  991. package/package.json +32 -32
@@ -0,0 +1,1384 @@
1
+ function L() {
2
+ return {
3
+ async: !1,
4
+ breaks: !1,
5
+ extensions: null,
6
+ gfm: !0,
7
+ hooks: null,
8
+ pedantic: !1,
9
+ renderer: null,
10
+ silent: !1,
11
+ tokenizer: null,
12
+ walkTokens: null
13
+ };
14
+ }
15
+ var T = L();
16
+ function G(e) {
17
+ T = e;
18
+ }
19
+ var E = { exec: () => null };
20
+ function d(e, l = "") {
21
+ let u = typeof e == "string" ? e : e.source, f = {
22
+ replace: (e, l) => {
23
+ let p = typeof l == "string" ? l : l.source;
24
+ return p = p.replace(m.caret, "$1"), u = u.replace(e, p), f;
25
+ },
26
+ getRegex: () => new RegExp(u, l)
27
+ };
28
+ return f;
29
+ }
30
+ var be = (() => {
31
+ try {
32
+ return !0;
33
+ } catch {
34
+ return !1;
35
+ }
36
+ })(), m = {
37
+ codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm,
38
+ outputLinkReplace: /\\([\[\]])/g,
39
+ indentCodeCompensation: /^(\s+)(?:```)/,
40
+ beginningSpace: /^\s+/,
41
+ endingHash: /#$/,
42
+ startingSpaceChar: /^ /,
43
+ endingSpaceChar: / $/,
44
+ nonSpaceChar: /[^ ]/,
45
+ newLineCharGlobal: /\n/g,
46
+ tabCharGlobal: /\t/g,
47
+ multipleSpaceGlobal: /\s+/g,
48
+ blankLine: /^[ \t]*$/,
49
+ doubleBlankLine: /\n[ \t]*\n[ \t]*$/,
50
+ blockquoteStart: /^ {0,3}>/,
51
+ blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g,
52
+ blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm,
53
+ listReplaceTabs: /^\t+/,
54
+ listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g,
55
+ listIsTask: /^\[[ xX]\] /,
56
+ listReplaceTask: /^\[[ xX]\] +/,
57
+ anyLine: /\n.*\n/,
58
+ hrefBrackets: /^<(.*)>$/,
59
+ tableDelimiter: /[:|]/,
60
+ tableAlignChars: /^\||\| *$/g,
61
+ tableRowBlankLine: /\n[ \t]*$/,
62
+ tableAlignRight: /^ *-+: *$/,
63
+ tableAlignCenter: /^ *:-+: *$/,
64
+ tableAlignLeft: /^ *:-+ *$/,
65
+ startATag: /^<a /i,
66
+ endATag: /^<\/a>/i,
67
+ startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i,
68
+ endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i,
69
+ startAngleBracket: /^</,
70
+ endAngleBracket: />$/,
71
+ pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/,
72
+ unicodeAlphaNumeric: /[\p{L}\p{N}]/u,
73
+ escapeTest: /[&<>"']/,
74
+ escapeReplace: /[&<>"']/g,
75
+ escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,
76
+ escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,
77
+ unescapeTest: /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,
78
+ caret: /(^|[^\[])\^/g,
79
+ percentDecode: /%25/g,
80
+ findPipe: /\|/g,
81
+ splitPipe: / \|/,
82
+ slashPipe: /\\\|/g,
83
+ carriageReturn: /\r\n|\r/g,
84
+ spaceLine: /^ +$/gm,
85
+ notSpaceStart: /^\S*/,
86
+ 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)}}#`),
92
+ htmlBeginRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}<(?:[a-z].*>|!--)`, "i")
93
+ }, Re = /^(?:[ \t]*(?:\n|$))+/, Te = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Oe = /^ {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+|$)/, we = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, F = /(?:[*+-]|\d{1,9}[.)])/, ie = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, oe = d(ie).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(), ye = d(ie).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(), j = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Pe = /^[^\n]+/, Q = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, Se = d(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Q).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), $e = d(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, F).getRegex(), v = "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", U = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, _e = d("^ {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", U).replace("tag", v).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), ae = d(j).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[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex(), K = {
94
+ blockquote: d(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", ae).getRegex(),
95
+ code: Te,
96
+ def: Se,
97
+ fences: Oe,
98
+ heading: we,
99
+ hr: I,
100
+ html: _e,
101
+ lheading: oe,
102
+ list: $e,
103
+ newline: Re,
104
+ paragraph: ae,
105
+ table: E,
106
+ text: Pe
107
+ }, re = d("^ *([^\\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[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex(), Me = {
108
+ ...K,
109
+ lheading: ye,
110
+ table: re,
111
+ paragraph: d(j).replace("hr", I).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", re).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex()
112
+ }, ze = {
113
+ ...K,
114
+ html: d("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", U).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(),
115
+ def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
116
+ heading: /^(#{1,6})(.*)(?:\n+|$)/,
117
+ fences: E,
118
+ lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
119
+ paragraph: d(j).replace("hr", I).replace("heading", " *#{1,6} *[^\n]").replace("lheading", oe).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
120
+ }, Ae = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ee = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, le = /^( {2,}|\\)\n(?!\s*$)/, Ie = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, D = /[\p{P}\p{S}]/u, W = /[\s\p{P}\p{S}]/u, ue = /[^\s\p{P}\p{S}]/u, Ce = d(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, W).getRegex(), pe = /(?!~)[\p{P}\p{S}]/u, Be = /(?!~)[\s\p{P}\p{S}]/u, qe = /(?:[^\s\p{P}\p{S}]|~)/u, ve = d(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", be ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), ce = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, De = d(ce, "u").replace(/punct/g, D).getRegex(), He = d(ce, "u").replace(/punct/g, pe).getRegex(), he = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Ze = d(he, "gu").replace(/notPunctSpace/g, ue).replace(/punctSpace/g, W).replace(/punct/g, D).getRegex(), Ge = d(he, "gu").replace(/notPunctSpace/g, qe).replace(/punctSpace/g, Be).replace(/punct/g, pe).getRegex(), Ne = d("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, ue).replace(/punctSpace/g, W).replace(/punct/g, D).getRegex(), Fe = d(/\\(punct)/, "gu").replace(/punct/g, D).getRegex(), je = d(/^<(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(), Qe = d(U).replace("(?:-->|$)", "-->").getRegex(), Ue = d("^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", Qe).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), q = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/, Ke = d(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", q).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), de = d(/^!?\[(label)\]\[(ref)\]/).replace("label", q).replace("ref", Q).getRegex(), ke = d(/^!?\[(ref)\](?:\[\])?/).replace("ref", Q).getRegex(), We = d("reflink|nolink(?!\\()", "g").replace("reflink", de).replace("nolink", ke).getRegex(), se = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, X = {
121
+ _backpedal: E,
122
+ anyPunctuation: Fe,
123
+ autolink: je,
124
+ blockSkip: ve,
125
+ br: le,
126
+ code: Ee,
127
+ del: E,
128
+ emStrongLDelim: De,
129
+ emStrongRDelimAst: Ze,
130
+ emStrongRDelimUnd: Ne,
131
+ escape: Ae,
132
+ link: Ke,
133
+ nolink: ke,
134
+ punctuation: Ce,
135
+ reflink: de,
136
+ reflinkSearch: We,
137
+ tag: Ue,
138
+ text: Ie,
139
+ url: E
140
+ }, Xe = {
141
+ ...X,
142
+ link: d(/^!?\[(label)\]\((.*?)\)/).replace("label", q).getRegex(),
143
+ reflink: d(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", q).getRegex()
144
+ }, N = {
145
+ ...X,
146
+ emStrongRDelimAst: Ge,
147
+ emStrongLDelim: He,
148
+ url: d(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", se).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
149
+ _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
150
+ del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,
151
+ text: d(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", se).getRegex()
152
+ }, Je = {
153
+ ...N,
154
+ br: d(le).replace("{2,}", "*").getRegex(),
155
+ text: d(N.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
156
+ }, C = {
157
+ normal: K,
158
+ gfm: Me,
159
+ pedantic: ze
160
+ }, M = {
161
+ normal: X,
162
+ gfm: N,
163
+ breaks: Je,
164
+ pedantic: Xe
165
+ }, Ve = {
166
+ "&": "&amp;",
167
+ "<": "&lt;",
168
+ ">": "&gt;",
169
+ "\"": "&quot;",
170
+ "'": "&#39;"
171
+ }, ge = (e) => Ve[e];
172
+ function w(e, l) {
173
+ if (l) {
174
+ if (m.escapeTest.test(e)) return e.replace(m.escapeReplace, ge);
175
+ } else if (m.escapeTestNoEncode.test(e)) return e.replace(m.escapeReplaceNoEncode, ge);
176
+ return e;
177
+ }
178
+ function J(e) {
179
+ try {
180
+ e = encodeURI(e).replace(m.percentDecode, "%");
181
+ } catch {
182
+ return null;
183
+ }
184
+ return e;
185
+ }
186
+ function V(e, l) {
187
+ let u = e.replace(m.findPipe, (e, l, u) => {
188
+ let f = !1, p = l;
189
+ for (; --p >= 0 && u[p] === "\\";) f = !f;
190
+ return f ? "|" : " |";
191
+ }).split(m.splitPipe), f = 0;
192
+ if (u[0].trim() || u.shift(), u.length > 0 && !u.at(-1)?.trim() && u.pop(), l) if (u.length > l) u.splice(l);
193
+ else for (; u.length < l;) u.push("");
194
+ for (; f < u.length; f++) u[f] = u[f].trim().replace(m.slashPipe, "|");
195
+ return u;
196
+ }
197
+ function z(e, l, u) {
198
+ let f = e.length;
199
+ if (f === 0) return "";
200
+ let p = 0;
201
+ for (; p < f;) {
202
+ let h = e.charAt(f - p - 1);
203
+ if (h === l && !u) p++;
204
+ else if (h !== l && u) p++;
205
+ else break;
206
+ }
207
+ return e.slice(0, f - p);
208
+ }
209
+ function fe(e, l) {
210
+ if (e.indexOf(l[1]) === -1) return -1;
211
+ let u = 0;
212
+ for (let f = 0; f < e.length; f++) if (e[f] === "\\") f++;
213
+ else if (e[f] === l[0]) u++;
214
+ else if (e[f] === l[1] && (u--, u < 0)) return f;
215
+ return u > 0 ? -2 : -1;
216
+ }
217
+ function me(e, l, u, f, p) {
218
+ let h = l.href, g = l.title || null, O = e[1].replace(p.other.outputLinkReplace, "$1");
219
+ f.state.inLink = !0;
220
+ let A = {
221
+ type: e[0].charAt(0) === "!" ? "image" : "link",
222
+ raw: u,
223
+ href: h,
224
+ title: g,
225
+ text: O,
226
+ tokens: f.inlineTokens(O)
227
+ };
228
+ return f.state.inLink = !1, A;
229
+ }
230
+ function Ye(e, l, u) {
231
+ let f = e.match(u.other.indentCodeCompensation);
232
+ if (f === null) return l;
233
+ let p = f[1];
234
+ return l.split("\n").map((e) => {
235
+ let l = e.match(u.other.beginningSpace);
236
+ if (l === null) return e;
237
+ let [f] = l;
238
+ return f.length >= p.length ? e.slice(p.length) : e;
239
+ }).join("\n");
240
+ }
241
+ var y = class {
242
+ options;
243
+ rules;
244
+ lexer;
245
+ constructor(e) {
246
+ this.options = e || T;
247
+ }
248
+ space(e) {
249
+ let l = this.rules.block.newline.exec(e);
250
+ if (l && l[0].length > 0) return {
251
+ type: "space",
252
+ raw: l[0]
253
+ };
254
+ }
255
+ code(e) {
256
+ let l = this.rules.block.code.exec(e);
257
+ if (l) {
258
+ let e = l[0].replace(this.rules.other.codeRemoveIndent, "");
259
+ return {
260
+ type: "code",
261
+ raw: l[0],
262
+ codeBlockStyle: "indented",
263
+ text: this.options.pedantic ? e : z(e, "\n")
264
+ };
265
+ }
266
+ }
267
+ fences(e) {
268
+ let l = this.rules.block.fences.exec(e);
269
+ if (l) {
270
+ let e = l[0], u = Ye(e, l[3] || "", this.rules);
271
+ return {
272
+ type: "code",
273
+ raw: e,
274
+ lang: l[2] ? l[2].trim().replace(this.rules.inline.anyPunctuation, "$1") : l[2],
275
+ text: u
276
+ };
277
+ }
278
+ }
279
+ heading(e) {
280
+ let l = this.rules.block.heading.exec(e);
281
+ if (l) {
282
+ let e = l[2].trim();
283
+ if (this.rules.other.endingHash.test(e)) {
284
+ let l = z(e, "#");
285
+ (this.options.pedantic || !l || this.rules.other.endingSpaceChar.test(l)) && (e = l.trim());
286
+ }
287
+ return {
288
+ type: "heading",
289
+ raw: l[0],
290
+ depth: l[1].length,
291
+ text: e,
292
+ tokens: this.lexer.inline(e)
293
+ };
294
+ }
295
+ }
296
+ hr(e) {
297
+ let l = this.rules.block.hr.exec(e);
298
+ if (l) return {
299
+ type: "hr",
300
+ raw: z(l[0], "\n")
301
+ };
302
+ }
303
+ blockquote(e) {
304
+ let l = this.rules.block.blockquote.exec(e);
305
+ if (l) {
306
+ let e = z(l[0], "\n").split("\n"), u = "", f = "", p = [];
307
+ for (; e.length > 0;) {
308
+ let l = !1, h = [], g;
309
+ for (g = 0; g < e.length; g++) if (this.rules.other.blockquoteStart.test(e[g])) h.push(e[g]), l = !0;
310
+ else if (!l) h.push(e[g]);
311
+ else break;
312
+ e = e.slice(g);
313
+ let O = h.join("\n"), A = O.replace(this.rules.other.blockquoteSetextReplace, "\n $1").replace(this.rules.other.blockquoteSetextReplace2, "");
314
+ u = u ? `${u}
315
+ ${O}` : O, f = f ? `${f}
316
+ ${A}` : A;
317
+ let R = this.lexer.state.top;
318
+ if (this.lexer.state.top = !0, this.lexer.blockTokens(A, p, !0), this.lexer.state.top = R, e.length === 0) break;
319
+ let B = p.at(-1);
320
+ if (B?.type === "code") break;
321
+ if (B?.type === "blockquote") {
322
+ let l = B, h = l.raw + "\n" + e.join("\n"), g = this.blockquote(h);
323
+ p[p.length - 1] = g, u = u.substring(0, u.length - l.raw.length) + g.raw, f = f.substring(0, f.length - l.text.length) + g.text;
324
+ break;
325
+ } else if (B?.type === "list") {
326
+ let l = B, h = l.raw + "\n" + e.join("\n"), g = this.list(h);
327
+ p[p.length - 1] = g, u = u.substring(0, u.length - B.raw.length) + g.raw, f = f.substring(0, f.length - l.raw.length) + g.raw, e = h.substring(p.at(-1).raw.length).split("\n");
328
+ continue;
329
+ }
330
+ }
331
+ return {
332
+ type: "blockquote",
333
+ raw: u,
334
+ tokens: p,
335
+ text: f
336
+ };
337
+ }
338
+ }
339
+ list(e) {
340
+ let l = this.rules.block.list.exec(e);
341
+ if (l) {
342
+ let u = l[1].trim(), f = u.length > 1, p = {
343
+ type: "list",
344
+ raw: "",
345
+ ordered: f,
346
+ start: f ? +u.slice(0, -1) : "",
347
+ loose: !1,
348
+ items: []
349
+ };
350
+ u = f ? `\\d{1,9}\\${u.slice(-1)}` : `\\${u}`, this.options.pedantic && (u = f ? u : "[*+-]");
351
+ let h = this.rules.other.listItemRegex(u), g = !1;
352
+ for (; e;) {
353
+ let u = !1, f = "", O = "";
354
+ if (!(l = h.exec(e)) || this.rules.block.hr.test(e)) break;
355
+ f = l[0], e = e.substring(f.length);
356
+ let A = l[2].split("\n", 1)[0].replace(this.rules.other.listReplaceTabs, (e) => " ".repeat(3 * e.length)), R = e.split("\n", 1)[0], B = !A.trim(), H = 0;
357
+ if (this.options.pedantic ? (H = 2, O = A.trimStart()) : B ? H = l[1].length + 1 : (H = l[2].search(this.rules.other.nonSpaceChar), H = H > 4 ? 1 : H, O = A.slice(H), H += l[1].length), B && this.rules.other.blankLine.test(R) && (f += R + "\n", e = e.substring(R.length + 1), u = !0), !u) {
358
+ let l = this.rules.other.nextBulletRegex(H), u = this.rules.other.hrRegex(H), p = this.rules.other.fencesBeginRegex(H), h = this.rules.other.headingBeginRegex(H), g = this.rules.other.htmlBeginRegex(H);
359
+ for (; e;) {
360
+ let Y = e.split("\n", 1)[0], Z;
361
+ if (R = Y, this.options.pedantic ? (R = R.replace(this.rules.other.listReplaceNesting, " "), Z = R) : Z = R.replace(this.rules.other.tabCharGlobal, " "), p.test(R) || h.test(R) || g.test(R) || l.test(R) || u.test(R)) break;
362
+ if (Z.search(this.rules.other.nonSpaceChar) >= H || !R.trim()) O += "\n" + Z.slice(H);
363
+ else {
364
+ if (B || A.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || p.test(A) || h.test(A) || u.test(A)) break;
365
+ O += "\n" + R;
366
+ }
367
+ !B && !R.trim() && (B = !0), f += Y + "\n", e = e.substring(Y.length + 1), A = Z.slice(H);
368
+ }
369
+ }
370
+ p.loose || (g ? p.loose = !0 : this.rules.other.doubleBlankLine.test(f) && (g = !0));
371
+ let Y = null, Z;
372
+ this.options.gfm && (Y = this.rules.other.listIsTask.exec(O), Y && (Z = Y[0] !== "[ ] ", O = O.replace(this.rules.other.listReplaceTask, ""))), p.items.push({
373
+ type: "list_item",
374
+ raw: f,
375
+ task: !!Y,
376
+ checked: Z,
377
+ loose: !1,
378
+ text: O,
379
+ tokens: []
380
+ }), p.raw += f;
381
+ }
382
+ let O = p.items.at(-1);
383
+ if (O) O.raw = O.raw.trimEnd(), O.text = O.text.trimEnd();
384
+ else return;
385
+ p.raw = p.raw.trimEnd();
386
+ for (let e = 0; e < p.items.length; e++) if (this.lexer.state.top = !1, p.items[e].tokens = this.lexer.blockTokens(p.items[e].text, []), !p.loose) {
387
+ let l = p.items[e].tokens.filter((e) => e.type === "space");
388
+ p.loose = l.length > 0 && l.some((e) => this.rules.other.anyLine.test(e.raw));
389
+ }
390
+ if (p.loose) for (let e = 0; e < p.items.length; e++) p.items[e].loose = !0;
391
+ return p;
392
+ }
393
+ }
394
+ html(e) {
395
+ let l = this.rules.block.html.exec(e);
396
+ if (l) return {
397
+ type: "html",
398
+ block: !0,
399
+ raw: l[0],
400
+ pre: l[1] === "pre" || l[1] === "script" || l[1] === "style",
401
+ text: l[0]
402
+ };
403
+ }
404
+ def(e) {
405
+ let l = this.rules.block.def.exec(e);
406
+ if (l) {
407
+ let e = l[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal, " "), u = l[2] ? l[2].replace(this.rules.other.hrefBrackets, "$1").replace(this.rules.inline.anyPunctuation, "$1") : "", f = l[3] ? l[3].substring(1, l[3].length - 1).replace(this.rules.inline.anyPunctuation, "$1") : l[3];
408
+ return {
409
+ type: "def",
410
+ tag: e,
411
+ raw: l[0],
412
+ href: u,
413
+ title: f
414
+ };
415
+ }
416
+ }
417
+ table(e) {
418
+ let l = this.rules.block.table.exec(e);
419
+ if (!l || !this.rules.other.tableDelimiter.test(l[2])) return;
420
+ let u = V(l[1]), f = l[2].replace(this.rules.other.tableAlignChars, "").split("|"), p = l[3]?.trim() ? l[3].replace(this.rules.other.tableRowBlankLine, "").split("\n") : [], h = {
421
+ type: "table",
422
+ raw: l[0],
423
+ header: [],
424
+ align: [],
425
+ rows: []
426
+ };
427
+ if (u.length === f.length) {
428
+ for (let e of f) this.rules.other.tableAlignRight.test(e) ? h.align.push("right") : this.rules.other.tableAlignCenter.test(e) ? h.align.push("center") : this.rules.other.tableAlignLeft.test(e) ? h.align.push("left") : h.align.push(null);
429
+ for (let e = 0; e < u.length; e++) h.header.push({
430
+ text: u[e],
431
+ tokens: this.lexer.inline(u[e]),
432
+ header: !0,
433
+ align: h.align[e]
434
+ });
435
+ for (let e of p) h.rows.push(V(e, h.header.length).map((e, l) => ({
436
+ text: e,
437
+ tokens: this.lexer.inline(e),
438
+ header: !1,
439
+ align: h.align[l]
440
+ })));
441
+ return h;
442
+ }
443
+ }
444
+ lheading(e) {
445
+ let l = this.rules.block.lheading.exec(e);
446
+ if (l) return {
447
+ type: "heading",
448
+ raw: l[0],
449
+ depth: l[2].charAt(0) === "=" ? 1 : 2,
450
+ text: l[1],
451
+ tokens: this.lexer.inline(l[1])
452
+ };
453
+ }
454
+ paragraph(e) {
455
+ let l = this.rules.block.paragraph.exec(e);
456
+ if (l) {
457
+ let e = l[1].charAt(l[1].length - 1) === "\n" ? l[1].slice(0, -1) : l[1];
458
+ return {
459
+ type: "paragraph",
460
+ raw: l[0],
461
+ text: e,
462
+ tokens: this.lexer.inline(e)
463
+ };
464
+ }
465
+ }
466
+ text(e) {
467
+ let l = this.rules.block.text.exec(e);
468
+ if (l) return {
469
+ type: "text",
470
+ raw: l[0],
471
+ text: l[0],
472
+ tokens: this.lexer.inline(l[0])
473
+ };
474
+ }
475
+ escape(e) {
476
+ let l = this.rules.inline.escape.exec(e);
477
+ if (l) return {
478
+ type: "escape",
479
+ raw: l[0],
480
+ text: l[1]
481
+ };
482
+ }
483
+ tag(e) {
484
+ let l = this.rules.inline.tag.exec(e);
485
+ if (l) return !this.lexer.state.inLink && this.rules.other.startATag.test(l[0]) ? this.lexer.state.inLink = !0 : this.lexer.state.inLink && this.rules.other.endATag.test(l[0]) && (this.lexer.state.inLink = !1), !this.lexer.state.inRawBlock && this.rules.other.startPreScriptTag.test(l[0]) ? this.lexer.state.inRawBlock = !0 : this.lexer.state.inRawBlock && this.rules.other.endPreScriptTag.test(l[0]) && (this.lexer.state.inRawBlock = !1), {
486
+ type: "html",
487
+ raw: l[0],
488
+ inLink: this.lexer.state.inLink,
489
+ inRawBlock: this.lexer.state.inRawBlock,
490
+ block: !1,
491
+ text: l[0]
492
+ };
493
+ }
494
+ link(e) {
495
+ let l = this.rules.inline.link.exec(e);
496
+ if (l) {
497
+ let e = l[2].trim();
498
+ if (!this.options.pedantic && this.rules.other.startAngleBracket.test(e)) {
499
+ if (!this.rules.other.endAngleBracket.test(e)) return;
500
+ let l = z(e.slice(0, -1), "\\");
501
+ if ((e.length - l.length) % 2 == 0) return;
502
+ } else {
503
+ let e = fe(l[2], "()");
504
+ if (e === -2) return;
505
+ if (e > -1) {
506
+ let u = (l[0].indexOf("!") === 0 ? 5 : 4) + l[1].length + e;
507
+ l[2] = l[2].substring(0, e), l[0] = l[0].substring(0, u).trim(), l[3] = "";
508
+ }
509
+ }
510
+ let u = l[2], f = "";
511
+ if (this.options.pedantic) {
512
+ let e = this.rules.other.pedanticHrefTitle.exec(u);
513
+ e && (u = e[1], f = e[3]);
514
+ } else f = l[3] ? l[3].slice(1, -1) : "";
515
+ return u = u.trim(), this.rules.other.startAngleBracket.test(u) && (u = this.options.pedantic && !this.rules.other.endAngleBracket.test(e) ? u.slice(1) : u.slice(1, -1)), me(l, {
516
+ href: u && u.replace(this.rules.inline.anyPunctuation, "$1"),
517
+ title: f && f.replace(this.rules.inline.anyPunctuation, "$1")
518
+ }, l[0], this.lexer, this.rules);
519
+ }
520
+ }
521
+ reflink(e, l) {
522
+ let u;
523
+ if ((u = this.rules.inline.reflink.exec(e)) || (u = this.rules.inline.nolink.exec(e))) {
524
+ let e = l[(u[2] || u[1]).replace(this.rules.other.multipleSpaceGlobal, " ").toLowerCase()];
525
+ if (!e) {
526
+ let e = u[0].charAt(0);
527
+ return {
528
+ type: "text",
529
+ raw: e,
530
+ text: e
531
+ };
532
+ }
533
+ return me(u, e, u[0], this.lexer, this.rules);
534
+ }
535
+ }
536
+ emStrong(e, l, u = "") {
537
+ let f = this.rules.inline.emStrongLDelim.exec(e);
538
+ if (!(!f || f[3] && u.match(this.rules.other.unicodeAlphaNumeric)) && (!(f[1] || f[2]) || !u || this.rules.inline.punctuation.exec(u))) {
539
+ let u = [...f[0]].length - 1, p, h, g = u, O = 0, A = f[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
540
+ for (A.lastIndex = 0, l = l.slice(-1 * e.length + u); (f = A.exec(l)) != null;) {
541
+ if (p = f[1] || f[2] || f[3] || f[4] || f[5] || f[6], !p) continue;
542
+ if (h = [...p].length, f[3] || f[4]) {
543
+ g += h;
544
+ continue;
545
+ } else if ((f[5] || f[6]) && u % 3 && !((u + h) % 3)) {
546
+ O += h;
547
+ continue;
548
+ }
549
+ if (g -= h, g > 0) continue;
550
+ h = Math.min(h, h + g + O);
551
+ let l = [...f[0]][0].length, A = e.slice(0, u + f.index + l + h);
552
+ if (Math.min(u, h) % 2) {
553
+ let e = A.slice(1, -1);
554
+ return {
555
+ type: "em",
556
+ raw: A,
557
+ text: e,
558
+ tokens: this.lexer.inlineTokens(e)
559
+ };
560
+ }
561
+ let R = A.slice(2, -2);
562
+ return {
563
+ type: "strong",
564
+ raw: A,
565
+ text: R,
566
+ tokens: this.lexer.inlineTokens(R)
567
+ };
568
+ }
569
+ }
570
+ }
571
+ codespan(e) {
572
+ let l = this.rules.inline.code.exec(e);
573
+ if (l) {
574
+ let e = l[2].replace(this.rules.other.newLineCharGlobal, " "), u = this.rules.other.nonSpaceChar.test(e), f = this.rules.other.startingSpaceChar.test(e) && this.rules.other.endingSpaceChar.test(e);
575
+ return u && f && (e = e.substring(1, e.length - 1)), {
576
+ type: "codespan",
577
+ raw: l[0],
578
+ text: e
579
+ };
580
+ }
581
+ }
582
+ br(e) {
583
+ let l = this.rules.inline.br.exec(e);
584
+ if (l) return {
585
+ type: "br",
586
+ raw: l[0]
587
+ };
588
+ }
589
+ del(e) {
590
+ let l = this.rules.inline.del.exec(e);
591
+ if (l) return {
592
+ type: "del",
593
+ raw: l[0],
594
+ text: l[2],
595
+ tokens: this.lexer.inlineTokens(l[2])
596
+ };
597
+ }
598
+ autolink(e) {
599
+ let l = this.rules.inline.autolink.exec(e);
600
+ if (l) {
601
+ let e, u;
602
+ return l[2] === "@" ? (e = l[1], u = "mailto:" + e) : (e = l[1], u = e), {
603
+ type: "link",
604
+ raw: l[0],
605
+ text: e,
606
+ href: u,
607
+ tokens: [{
608
+ type: "text",
609
+ raw: e,
610
+ text: e
611
+ }]
612
+ };
613
+ }
614
+ }
615
+ url(e) {
616
+ let l;
617
+ if (l = this.rules.inline.url.exec(e)) {
618
+ let e, u;
619
+ if (l[2] === "@") e = l[0], u = "mailto:" + e;
620
+ else {
621
+ let f;
622
+ do
623
+ f = l[0], l[0] = this.rules.inline._backpedal.exec(l[0])?.[0] ?? "";
624
+ while (f !== l[0]);
625
+ e = l[0], u = l[1] === "www." ? "http://" + l[0] : l[0];
626
+ }
627
+ return {
628
+ type: "link",
629
+ raw: l[0],
630
+ text: e,
631
+ href: u,
632
+ tokens: [{
633
+ type: "text",
634
+ raw: e,
635
+ text: e
636
+ }]
637
+ };
638
+ }
639
+ }
640
+ inlineText(e) {
641
+ let l = this.rules.inline.text.exec(e);
642
+ if (l) {
643
+ let e = this.lexer.state.inRawBlock;
644
+ return {
645
+ type: "text",
646
+ raw: l[0],
647
+ text: l[0],
648
+ escaped: e
649
+ };
650
+ }
651
+ }
652
+ }, x = class e {
653
+ tokens;
654
+ options;
655
+ state;
656
+ tokenizer;
657
+ inlineQueue;
658
+ constructor(e) {
659
+ this.tokens = [], this.tokens.links = Object.create(null), this.options = e || T, this.options.tokenizer = this.options.tokenizer || new y(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
660
+ inLink: !1,
661
+ inRawBlock: !1,
662
+ top: !0
663
+ };
664
+ let u = {
665
+ other: m,
666
+ block: C.normal,
667
+ inline: M.normal
668
+ };
669
+ this.options.pedantic ? (u.block = C.pedantic, u.inline = M.pedantic) : this.options.gfm && (u.block = C.gfm, this.options.breaks ? u.inline = M.breaks : u.inline = M.gfm), this.tokenizer.rules = u;
670
+ }
671
+ static get rules() {
672
+ return {
673
+ block: C,
674
+ inline: M
675
+ };
676
+ }
677
+ static lex(l, u) {
678
+ return new e(u).lex(l);
679
+ }
680
+ static lexInline(l, u) {
681
+ return new e(u).inlineTokens(l);
682
+ }
683
+ lex(e) {
684
+ e = e.replace(m.carriageReturn, "\n"), this.blockTokens(e, this.tokens);
685
+ for (let e = 0; e < this.inlineQueue.length; e++) {
686
+ let l = this.inlineQueue[e];
687
+ this.inlineTokens(l.src, l.tokens);
688
+ }
689
+ return this.inlineQueue = [], this.tokens;
690
+ }
691
+ blockTokens(e, l = [], u = !1) {
692
+ for (this.options.pedantic && (e = e.replace(m.tabCharGlobal, " ").replace(m.spaceLine, "")); e;) {
693
+ let f;
694
+ if (this.options.extensions?.block?.some((u) => (f = u.call({ lexer: this }, e, l)) ? (e = e.substring(f.raw.length), l.push(f), !0) : !1)) continue;
695
+ if (f = this.tokenizer.space(e)) {
696
+ e = e.substring(f.raw.length);
697
+ let u = l.at(-1);
698
+ f.raw.length === 1 && u !== void 0 ? u.raw += "\n" : l.push(f);
699
+ continue;
700
+ }
701
+ if (f = this.tokenizer.code(e)) {
702
+ e = e.substring(f.raw.length);
703
+ let u = l.at(-1);
704
+ u?.type === "paragraph" || u?.type === "text" ? (u.raw += (u.raw.endsWith("\n") ? "" : "\n") + f.raw, u.text += "\n" + f.text, this.inlineQueue.at(-1).src = u.text) : l.push(f);
705
+ continue;
706
+ }
707
+ if (f = this.tokenizer.fences(e)) {
708
+ e = e.substring(f.raw.length), l.push(f);
709
+ continue;
710
+ }
711
+ if (f = this.tokenizer.heading(e)) {
712
+ e = e.substring(f.raw.length), l.push(f);
713
+ continue;
714
+ }
715
+ if (f = this.tokenizer.hr(e)) {
716
+ e = e.substring(f.raw.length), l.push(f);
717
+ continue;
718
+ }
719
+ if (f = this.tokenizer.blockquote(e)) {
720
+ e = e.substring(f.raw.length), l.push(f);
721
+ continue;
722
+ }
723
+ if (f = this.tokenizer.list(e)) {
724
+ e = e.substring(f.raw.length), l.push(f);
725
+ continue;
726
+ }
727
+ if (f = this.tokenizer.html(e)) {
728
+ e = e.substring(f.raw.length), l.push(f);
729
+ continue;
730
+ }
731
+ if (f = this.tokenizer.def(e)) {
732
+ e = e.substring(f.raw.length);
733
+ let u = l.at(-1);
734
+ u?.type === "paragraph" || u?.type === "text" ? (u.raw += (u.raw.endsWith("\n") ? "" : "\n") + f.raw, u.text += "\n" + f.raw, this.inlineQueue.at(-1).src = u.text) : this.tokens.links[f.tag] || (this.tokens.links[f.tag] = {
735
+ href: f.href,
736
+ title: f.title
737
+ }, l.push(f));
738
+ continue;
739
+ }
740
+ if (f = this.tokenizer.table(e)) {
741
+ e = e.substring(f.raw.length), l.push(f);
742
+ continue;
743
+ }
744
+ if (f = this.tokenizer.lheading(e)) {
745
+ e = e.substring(f.raw.length), l.push(f);
746
+ continue;
747
+ }
748
+ let p = e;
749
+ if (this.options.extensions?.startBlock) {
750
+ let l = Infinity, u = e.slice(1), f;
751
+ this.options.extensions.startBlock.forEach((e) => {
752
+ f = e.call({ lexer: this }, u), typeof f == "number" && f >= 0 && (l = Math.min(l, f));
753
+ }), l < Infinity && l >= 0 && (p = e.substring(0, l + 1));
754
+ }
755
+ if (this.state.top && (f = this.tokenizer.paragraph(p))) {
756
+ let h = l.at(-1);
757
+ u && h?.type === "paragraph" ? (h.raw += (h.raw.endsWith("\n") ? "" : "\n") + f.raw, h.text += "\n" + f.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = h.text) : l.push(f), u = p.length !== e.length, e = e.substring(f.raw.length);
758
+ continue;
759
+ }
760
+ if (f = this.tokenizer.text(e)) {
761
+ e = e.substring(f.raw.length);
762
+ let u = l.at(-1);
763
+ u?.type === "text" ? (u.raw += (u.raw.endsWith("\n") ? "" : "\n") + f.raw, u.text += "\n" + f.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = u.text) : l.push(f);
764
+ continue;
765
+ }
766
+ if (e) {
767
+ let l = "Infinite loop on byte: " + e.charCodeAt(0);
768
+ if (this.options.silent) {
769
+ console.error(l);
770
+ break;
771
+ } else throw Error(l);
772
+ }
773
+ }
774
+ return this.state.top = !0, l;
775
+ }
776
+ inline(e, l = []) {
777
+ return this.inlineQueue.push({
778
+ src: e,
779
+ tokens: l
780
+ }), l;
781
+ }
782
+ inlineTokens(e, l = []) {
783
+ let u = e, f = null;
784
+ if (this.tokens.links) {
785
+ let e = Object.keys(this.tokens.links);
786
+ if (e.length > 0) for (; (f = this.tokenizer.rules.inline.reflinkSearch.exec(u)) != null;) e.includes(f[0].slice(f[0].lastIndexOf("[") + 1, -1)) && (u = u.slice(0, f.index) + "[" + "a".repeat(f[0].length - 2) + "]" + u.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex));
787
+ }
788
+ for (; (f = this.tokenizer.rules.inline.anyPunctuation.exec(u)) != null;) u = u.slice(0, f.index) + "++" + u.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);
789
+ let p;
790
+ for (; (f = this.tokenizer.rules.inline.blockSkip.exec(u)) != null;) p = f[2] ? f[2].length : 0, u = u.slice(0, f.index + p) + "[" + "a".repeat(f[0].length - p - 2) + "]" + u.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
791
+ u = this.options.hooks?.emStrongMask?.call({ lexer: this }, u) ?? u;
792
+ let h = !1, g = "";
793
+ for (; e;) {
794
+ h || (g = ""), h = !1;
795
+ let f;
796
+ if (this.options.extensions?.inline?.some((u) => (f = u.call({ lexer: this }, e, l)) ? (e = e.substring(f.raw.length), l.push(f), !0) : !1)) continue;
797
+ if (f = this.tokenizer.escape(e)) {
798
+ e = e.substring(f.raw.length), l.push(f);
799
+ continue;
800
+ }
801
+ if (f = this.tokenizer.tag(e)) {
802
+ e = e.substring(f.raw.length), l.push(f);
803
+ continue;
804
+ }
805
+ if (f = this.tokenizer.link(e)) {
806
+ e = e.substring(f.raw.length), l.push(f);
807
+ continue;
808
+ }
809
+ if (f = this.tokenizer.reflink(e, this.tokens.links)) {
810
+ e = e.substring(f.raw.length);
811
+ let u = l.at(-1);
812
+ f.type === "text" && u?.type === "text" ? (u.raw += f.raw, u.text += f.text) : l.push(f);
813
+ continue;
814
+ }
815
+ if (f = this.tokenizer.emStrong(e, u, g)) {
816
+ e = e.substring(f.raw.length), l.push(f);
817
+ continue;
818
+ }
819
+ if (f = this.tokenizer.codespan(e)) {
820
+ e = e.substring(f.raw.length), l.push(f);
821
+ continue;
822
+ }
823
+ if (f = this.tokenizer.br(e)) {
824
+ e = e.substring(f.raw.length), l.push(f);
825
+ continue;
826
+ }
827
+ if (f = this.tokenizer.del(e)) {
828
+ e = e.substring(f.raw.length), l.push(f);
829
+ continue;
830
+ }
831
+ if (f = this.tokenizer.autolink(e)) {
832
+ e = e.substring(f.raw.length), l.push(f);
833
+ continue;
834
+ }
835
+ if (!this.state.inLink && (f = this.tokenizer.url(e))) {
836
+ e = e.substring(f.raw.length), l.push(f);
837
+ continue;
838
+ }
839
+ let p = e;
840
+ if (this.options.extensions?.startInline) {
841
+ let l = Infinity, u = e.slice(1), f;
842
+ this.options.extensions.startInline.forEach((e) => {
843
+ f = e.call({ lexer: this }, u), typeof f == "number" && f >= 0 && (l = Math.min(l, f));
844
+ }), l < Infinity && l >= 0 && (p = e.substring(0, l + 1));
845
+ }
846
+ if (f = this.tokenizer.inlineText(p)) {
847
+ e = e.substring(f.raw.length), f.raw.slice(-1) !== "_" && (g = f.raw.slice(-1)), h = !0;
848
+ let u = l.at(-1);
849
+ u?.type === "text" ? (u.raw += f.raw, u.text += f.text) : l.push(f);
850
+ continue;
851
+ }
852
+ if (e) {
853
+ let l = "Infinite loop on byte: " + e.charCodeAt(0);
854
+ if (this.options.silent) {
855
+ console.error(l);
856
+ break;
857
+ } else throw Error(l);
858
+ }
859
+ }
860
+ return l;
861
+ }
862
+ }, P = class {
863
+ options;
864
+ parser;
865
+ constructor(e) {
866
+ this.options = e || T;
867
+ }
868
+ space(e) {
869
+ return "";
870
+ }
871
+ code({ text: e, lang: l, escaped: u }) {
872
+ let f = (l || "").match(m.notSpaceStart)?.[0], p = e.replace(m.endingNewline, "") + "\n";
873
+ return f ? "<pre><code class=\"language-" + w(f) + "\">" + (u ? p : w(p, !0)) + "</code></pre>\n" : "<pre><code>" + (u ? p : w(p, !0)) + "</code></pre>\n";
874
+ }
875
+ blockquote({ tokens: e }) {
876
+ return `<blockquote>
877
+ ${this.parser.parse(e)}</blockquote>
878
+ `;
879
+ }
880
+ html({ text: e }) {
881
+ return e;
882
+ }
883
+ def(e) {
884
+ return "";
885
+ }
886
+ heading({ tokens: e, depth: l }) {
887
+ return `<h${l}>${this.parser.parseInline(e)}</h${l}>
888
+ `;
889
+ }
890
+ hr(e) {
891
+ return "<hr>\n";
892
+ }
893
+ list(e) {
894
+ let l = e.ordered, u = e.start, f = "";
895
+ for (let l = 0; l < e.items.length; l++) {
896
+ let u = e.items[l];
897
+ f += this.listitem(u);
898
+ }
899
+ let p = l ? "ol" : "ul", h = l && u !== 1 ? " start=\"" + u + "\"" : "";
900
+ return "<" + p + h + ">\n" + f + "</" + p + ">\n";
901
+ }
902
+ listitem(e) {
903
+ let l = "";
904
+ if (e.task) {
905
+ let u = this.checkbox({ checked: !!e.checked });
906
+ e.loose ? e.tokens[0]?.type === "paragraph" ? (e.tokens[0].text = u + " " + e.tokens[0].text, e.tokens[0].tokens && e.tokens[0].tokens.length > 0 && e.tokens[0].tokens[0].type === "text" && (e.tokens[0].tokens[0].text = u + " " + w(e.tokens[0].tokens[0].text), e.tokens[0].tokens[0].escaped = !0)) : e.tokens.unshift({
907
+ type: "text",
908
+ raw: u + " ",
909
+ text: u + " ",
910
+ escaped: !0
911
+ }) : l += u + " ";
912
+ }
913
+ return l += this.parser.parse(e.tokens, !!e.loose), `<li>${l}</li>
914
+ `;
915
+ }
916
+ checkbox({ checked: e }) {
917
+ return "<input " + (e ? "checked=\"\" " : "") + "disabled=\"\" type=\"checkbox\">";
918
+ }
919
+ paragraph({ tokens: e }) {
920
+ return `<p>${this.parser.parseInline(e)}</p>
921
+ `;
922
+ }
923
+ table(e) {
924
+ let l = "", u = "";
925
+ for (let l = 0; l < e.header.length; l++) u += this.tablecell(e.header[l]);
926
+ l += this.tablerow({ text: u });
927
+ let f = "";
928
+ for (let l = 0; l < e.rows.length; l++) {
929
+ let p = e.rows[l];
930
+ u = "";
931
+ for (let e = 0; e < p.length; e++) u += this.tablecell(p[e]);
932
+ f += this.tablerow({ text: u });
933
+ }
934
+ return f &&= `<tbody>${f}</tbody>`, "<table>\n<thead>\n" + l + "</thead>\n" + f + "</table>\n";
935
+ }
936
+ tablerow({ text: e }) {
937
+ return `<tr>
938
+ ${e}</tr>
939
+ `;
940
+ }
941
+ tablecell(e) {
942
+ let l = this.parser.parseInline(e.tokens), u = e.header ? "th" : "td";
943
+ return (e.align ? `<${u} align="${e.align}">` : `<${u}>`) + l + `</${u}>
944
+ `;
945
+ }
946
+ strong({ tokens: e }) {
947
+ return `<strong>${this.parser.parseInline(e)}</strong>`;
948
+ }
949
+ em({ tokens: e }) {
950
+ return `<em>${this.parser.parseInline(e)}</em>`;
951
+ }
952
+ codespan({ text: e }) {
953
+ return `<code>${w(e, !0)}</code>`;
954
+ }
955
+ br(e) {
956
+ return "<br>";
957
+ }
958
+ del({ tokens: e }) {
959
+ return `<del>${this.parser.parseInline(e)}</del>`;
960
+ }
961
+ link({ href: e, title: l, tokens: u }) {
962
+ let f = this.parser.parseInline(u), p = J(e);
963
+ if (p === null) return f;
964
+ e = p;
965
+ let h = "<a href=\"" + e + "\"";
966
+ return l && (h += " title=\"" + w(l) + "\""), h += ">" + f + "</a>", h;
967
+ }
968
+ image({ href: e, title: l, text: u, tokens: f }) {
969
+ f && (u = this.parser.parseInline(f, this.parser.textRenderer));
970
+ let p = J(e);
971
+ if (p === null) return w(u);
972
+ e = p;
973
+ let h = `<img src="${e}" alt="${u}"`;
974
+ return l && (h += ` title="${w(l)}"`), h += ">", h;
975
+ }
976
+ text(e) {
977
+ return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text : w(e.text);
978
+ }
979
+ }, $ = class {
980
+ strong({ text: e }) {
981
+ return e;
982
+ }
983
+ em({ text: e }) {
984
+ return e;
985
+ }
986
+ codespan({ text: e }) {
987
+ return e;
988
+ }
989
+ del({ text: e }) {
990
+ return e;
991
+ }
992
+ html({ text: e }) {
993
+ return e;
994
+ }
995
+ text({ text: e }) {
996
+ return e;
997
+ }
998
+ link({ text: e }) {
999
+ return "" + e;
1000
+ }
1001
+ image({ text: e }) {
1002
+ return "" + e;
1003
+ }
1004
+ br() {
1005
+ return "";
1006
+ }
1007
+ }, b = class e {
1008
+ options;
1009
+ renderer;
1010
+ textRenderer;
1011
+ constructor(e) {
1012
+ this.options = e || T, this.options.renderer = this.options.renderer || new P(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new $();
1013
+ }
1014
+ static parse(l, u) {
1015
+ return new e(u).parse(l);
1016
+ }
1017
+ static parseInline(l, u) {
1018
+ return new e(u).parseInline(l);
1019
+ }
1020
+ parse(e, l = !0) {
1021
+ let u = "";
1022
+ for (let f = 0; f < e.length; f++) {
1023
+ let p = e[f];
1024
+ if (this.options.extensions?.renderers?.[p.type]) {
1025
+ let e = p, l = this.options.extensions.renderers[e.type].call({ parser: this }, e);
1026
+ if (l !== !1 || ![
1027
+ "space",
1028
+ "hr",
1029
+ "heading",
1030
+ "code",
1031
+ "table",
1032
+ "blockquote",
1033
+ "list",
1034
+ "html",
1035
+ "def",
1036
+ "paragraph",
1037
+ "text"
1038
+ ].includes(e.type)) {
1039
+ u += l || "";
1040
+ continue;
1041
+ }
1042
+ }
1043
+ let h = p;
1044
+ switch (h.type) {
1045
+ case "space":
1046
+ u += this.renderer.space(h);
1047
+ continue;
1048
+ case "hr":
1049
+ u += this.renderer.hr(h);
1050
+ continue;
1051
+ case "heading":
1052
+ u += this.renderer.heading(h);
1053
+ continue;
1054
+ case "code":
1055
+ u += this.renderer.code(h);
1056
+ continue;
1057
+ case "table":
1058
+ u += this.renderer.table(h);
1059
+ continue;
1060
+ case "blockquote":
1061
+ u += this.renderer.blockquote(h);
1062
+ continue;
1063
+ case "list":
1064
+ u += this.renderer.list(h);
1065
+ continue;
1066
+ case "html":
1067
+ u += this.renderer.html(h);
1068
+ continue;
1069
+ case "def":
1070
+ u += this.renderer.def(h);
1071
+ continue;
1072
+ case "paragraph":
1073
+ u += this.renderer.paragraph(h);
1074
+ continue;
1075
+ case "text": {
1076
+ let p = h, g = this.renderer.text(p);
1077
+ for (; f + 1 < e.length && e[f + 1].type === "text";) p = e[++f], g += "\n" + this.renderer.text(p);
1078
+ l ? u += this.renderer.paragraph({
1079
+ type: "paragraph",
1080
+ raw: g,
1081
+ text: g,
1082
+ tokens: [{
1083
+ type: "text",
1084
+ raw: g,
1085
+ text: g,
1086
+ escaped: !0
1087
+ }]
1088
+ }) : u += g;
1089
+ continue;
1090
+ }
1091
+ default: {
1092
+ let e = "Token with \"" + h.type + "\" type was not found.";
1093
+ if (this.options.silent) return console.error(e), "";
1094
+ throw Error(e);
1095
+ }
1096
+ }
1097
+ }
1098
+ return u;
1099
+ }
1100
+ parseInline(e, l = this.renderer) {
1101
+ let u = "";
1102
+ for (let f = 0; f < e.length; f++) {
1103
+ let p = e[f];
1104
+ if (this.options.extensions?.renderers?.[p.type]) {
1105
+ let e = this.options.extensions.renderers[p.type].call({ parser: this }, p);
1106
+ if (e !== !1 || ![
1107
+ "escape",
1108
+ "html",
1109
+ "link",
1110
+ "image",
1111
+ "strong",
1112
+ "em",
1113
+ "codespan",
1114
+ "br",
1115
+ "del",
1116
+ "text"
1117
+ ].includes(p.type)) {
1118
+ u += e || "";
1119
+ continue;
1120
+ }
1121
+ }
1122
+ let h = p;
1123
+ switch (h.type) {
1124
+ case "escape":
1125
+ u += l.text(h);
1126
+ break;
1127
+ case "html":
1128
+ u += l.html(h);
1129
+ break;
1130
+ case "link":
1131
+ u += l.link(h);
1132
+ break;
1133
+ case "image":
1134
+ u += l.image(h);
1135
+ break;
1136
+ case "strong":
1137
+ u += l.strong(h);
1138
+ break;
1139
+ case "em":
1140
+ u += l.em(h);
1141
+ break;
1142
+ case "codespan":
1143
+ u += l.codespan(h);
1144
+ break;
1145
+ case "br":
1146
+ u += l.br(h);
1147
+ break;
1148
+ case "del":
1149
+ u += l.del(h);
1150
+ break;
1151
+ case "text":
1152
+ u += l.text(h);
1153
+ break;
1154
+ default: {
1155
+ let e = "Token with \"" + h.type + "\" type was not found.";
1156
+ if (this.options.silent) return console.error(e), "";
1157
+ throw Error(e);
1158
+ }
1159
+ }
1160
+ }
1161
+ return u;
1162
+ }
1163
+ }, S = class {
1164
+ options;
1165
+ block;
1166
+ constructor(e) {
1167
+ this.options = e || T;
1168
+ }
1169
+ static passThroughHooks = new Set([
1170
+ "preprocess",
1171
+ "postprocess",
1172
+ "processAllTokens",
1173
+ "emStrongMask"
1174
+ ]);
1175
+ static passThroughHooksRespectAsync = new Set([
1176
+ "preprocess",
1177
+ "postprocess",
1178
+ "processAllTokens"
1179
+ ]);
1180
+ preprocess(e) {
1181
+ return e;
1182
+ }
1183
+ postprocess(e) {
1184
+ return e;
1185
+ }
1186
+ processAllTokens(e) {
1187
+ return e;
1188
+ }
1189
+ emStrongMask(e) {
1190
+ return e;
1191
+ }
1192
+ provideLexer() {
1193
+ return this.block ? x.lex : x.lexInline;
1194
+ }
1195
+ provideParser() {
1196
+ return this.block ? b.parse : b.parseInline;
1197
+ }
1198
+ }, _ = new class {
1199
+ defaults = L();
1200
+ options = this.setOptions;
1201
+ parse = this.parseMarkdown(!0);
1202
+ parseInline = this.parseMarkdown(!1);
1203
+ Parser = b;
1204
+ Renderer = P;
1205
+ TextRenderer = $;
1206
+ Lexer = x;
1207
+ Tokenizer = y;
1208
+ Hooks = S;
1209
+ constructor(...e) {
1210
+ this.use(...e);
1211
+ }
1212
+ walkTokens(e, l) {
1213
+ let u = [];
1214
+ for (let f of e) switch (u = u.concat(l.call(this, f)), f.type) {
1215
+ case "table": {
1216
+ let e = f;
1217
+ for (let f of e.header) u = u.concat(this.walkTokens(f.tokens, l));
1218
+ for (let f of e.rows) for (let e of f) u = u.concat(this.walkTokens(e.tokens, l));
1219
+ break;
1220
+ }
1221
+ case "list": {
1222
+ let e = f;
1223
+ u = u.concat(this.walkTokens(e.items, l));
1224
+ break;
1225
+ }
1226
+ default: {
1227
+ let e = f;
1228
+ this.defaults.extensions?.childTokens?.[e.type] ? this.defaults.extensions.childTokens[e.type].forEach((f) => {
1229
+ let p = e[f].flat(Infinity);
1230
+ u = u.concat(this.walkTokens(p, l));
1231
+ }) : e.tokens && (u = u.concat(this.walkTokens(e.tokens, l)));
1232
+ }
1233
+ }
1234
+ return u;
1235
+ }
1236
+ use(...e) {
1237
+ let l = this.defaults.extensions || {
1238
+ renderers: {},
1239
+ childTokens: {}
1240
+ };
1241
+ return e.forEach((e) => {
1242
+ let u = { ...e };
1243
+ if (u.async = this.defaults.async || u.async || !1, e.extensions && (e.extensions.forEach((e) => {
1244
+ if (!e.name) throw Error("extension name required");
1245
+ if ("renderer" in e) {
1246
+ let u = l.renderers[e.name];
1247
+ u ? l.renderers[e.name] = function(...l) {
1248
+ let f = e.renderer.apply(this, l);
1249
+ return f === !1 && (f = u.apply(this, l)), f;
1250
+ } : l.renderers[e.name] = e.renderer;
1251
+ }
1252
+ if ("tokenizer" in e) {
1253
+ if (!e.level || e.level !== "block" && e.level !== "inline") throw Error("extension level must be 'block' or 'inline'");
1254
+ let u = l[e.level];
1255
+ u ? u.unshift(e.tokenizer) : l[e.level] = [e.tokenizer], e.start && (e.level === "block" ? l.startBlock ? l.startBlock.push(e.start) : l.startBlock = [e.start] : e.level === "inline" && (l.startInline ? l.startInline.push(e.start) : l.startInline = [e.start]));
1256
+ }
1257
+ "childTokens" in e && e.childTokens && (l.childTokens[e.name] = e.childTokens);
1258
+ }), u.extensions = l), e.renderer) {
1259
+ let l = this.defaults.renderer || new P(this.defaults);
1260
+ for (let u in e.renderer) {
1261
+ if (!(u in l)) throw Error(`renderer '${u}' does not exist`);
1262
+ if (["options", "parser"].includes(u)) continue;
1263
+ let f = u, p = e.renderer[f], h = l[f];
1264
+ l[f] = (...e) => {
1265
+ let u = p.apply(l, e);
1266
+ return u === !1 && (u = h.apply(l, e)), u || "";
1267
+ };
1268
+ }
1269
+ u.renderer = l;
1270
+ }
1271
+ if (e.tokenizer) {
1272
+ let l = this.defaults.tokenizer || new y(this.defaults);
1273
+ for (let u in e.tokenizer) {
1274
+ if (!(u in l)) throw Error(`tokenizer '${u}' does not exist`);
1275
+ if ([
1276
+ "options",
1277
+ "rules",
1278
+ "lexer"
1279
+ ].includes(u)) continue;
1280
+ let f = u, p = e.tokenizer[f], h = l[f];
1281
+ l[f] = (...e) => {
1282
+ let u = p.apply(l, e);
1283
+ return u === !1 && (u = h.apply(l, e)), u;
1284
+ };
1285
+ }
1286
+ u.tokenizer = l;
1287
+ }
1288
+ if (e.hooks) {
1289
+ let l = this.defaults.hooks || new S();
1290
+ for (let u in e.hooks) {
1291
+ if (!(u in l)) throw Error(`hook '${u}' does not exist`);
1292
+ if (["options", "block"].includes(u)) continue;
1293
+ let f = u, p = e.hooks[f], h = l[f];
1294
+ S.passThroughHooks.has(u) ? l[f] = (e) => {
1295
+ if (this.defaults.async && S.passThroughHooksRespectAsync.has(u)) return (async () => {
1296
+ let u = await p.call(l, e);
1297
+ return h.call(l, u);
1298
+ })();
1299
+ let f = p.call(l, e);
1300
+ return h.call(l, f);
1301
+ } : l[f] = (...e) => {
1302
+ if (this.defaults.async) return (async () => {
1303
+ let u = await p.apply(l, e);
1304
+ return u === !1 && (u = await h.apply(l, e)), u;
1305
+ })();
1306
+ let u = p.apply(l, e);
1307
+ return u === !1 && (u = h.apply(l, e)), u;
1308
+ };
1309
+ }
1310
+ u.hooks = l;
1311
+ }
1312
+ if (e.walkTokens) {
1313
+ let l = this.defaults.walkTokens, f = e.walkTokens;
1314
+ u.walkTokens = function(e) {
1315
+ let u = [];
1316
+ return u.push(f.call(this, e)), l && (u = u.concat(l.call(this, e))), u;
1317
+ };
1318
+ }
1319
+ this.defaults = {
1320
+ ...this.defaults,
1321
+ ...u
1322
+ };
1323
+ }), this;
1324
+ }
1325
+ setOptions(e) {
1326
+ return this.defaults = {
1327
+ ...this.defaults,
1328
+ ...e
1329
+ }, this;
1330
+ }
1331
+ lexer(e, l) {
1332
+ return x.lex(e, l ?? this.defaults);
1333
+ }
1334
+ parser(e, l) {
1335
+ return b.parse(e, l ?? this.defaults);
1336
+ }
1337
+ parseMarkdown(e) {
1338
+ return (l, u) => {
1339
+ let f = { ...u }, p = {
1340
+ ...this.defaults,
1341
+ ...f
1342
+ }, h = this.onError(!!p.silent, !!p.async);
1343
+ if (this.defaults.async === !0 && f.async === !1) return h(/* @__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."));
1344
+ if (typeof l > "u" || l === null) return h(/* @__PURE__ */ Error("marked(): input parameter is undefined or null"));
1345
+ if (typeof l != "string") return h(/* @__PURE__ */ Error("marked(): input parameter is of type " + Object.prototype.toString.call(l) + ", string expected"));
1346
+ if (p.hooks && (p.hooks.options = p, p.hooks.block = e), p.async) return (async () => {
1347
+ let u = p.hooks ? await p.hooks.preprocess(l) : l, f = await (p.hooks ? await p.hooks.provideLexer() : e ? x.lex : x.lexInline)(u, p), h = p.hooks ? await p.hooks.processAllTokens(f) : f;
1348
+ p.walkTokens && await Promise.all(this.walkTokens(h, p.walkTokens));
1349
+ let g = await (p.hooks ? await p.hooks.provideParser() : e ? b.parse : b.parseInline)(h, p);
1350
+ return p.hooks ? await p.hooks.postprocess(g) : g;
1351
+ })().catch(h);
1352
+ try {
1353
+ p.hooks && (l = p.hooks.preprocess(l));
1354
+ let u = (p.hooks ? p.hooks.provideLexer() : e ? x.lex : x.lexInline)(l, p);
1355
+ p.hooks && (u = p.hooks.processAllTokens(u)), p.walkTokens && this.walkTokens(u, p.walkTokens);
1356
+ let f = (p.hooks ? p.hooks.provideParser() : e ? b.parse : b.parseInline)(u, p);
1357
+ return p.hooks && (f = p.hooks.postprocess(f)), f;
1358
+ } catch (e) {
1359
+ return h(e);
1360
+ }
1361
+ };
1362
+ }
1363
+ onError(e, l) {
1364
+ return (u) => {
1365
+ if (u.message += "\nPlease report this to https://github.com/markedjs/marked.", e) {
1366
+ let e = "<p>An error occurred:</p><pre>" + w(u.message + "", !0) + "</pre>";
1367
+ return l ? Promise.resolve(e) : e;
1368
+ }
1369
+ if (l) return Promise.reject(u);
1370
+ throw u;
1371
+ };
1372
+ }
1373
+ }();
1374
+ function k(e, l) {
1375
+ return _.parse(e, l);
1376
+ }
1377
+ k.options = k.setOptions = function(e) {
1378
+ return _.setOptions(e), k.defaults = _.defaults, G(k.defaults), k;
1379
+ }, k.getDefaults = L, k.defaults = T, k.use = function(...e) {
1380
+ return _.use(...e), k.defaults = _.defaults, G(k.defaults), k;
1381
+ }, k.walkTokens = function(e, l) {
1382
+ return _.walkTokens(e, l);
1383
+ }, k.parseInline = _.parseInline, k.Parser = b, k.parser = b.parse, k.Renderer = P, k.TextRenderer = $, k.Lexer = x, k.lexer = x.lex, k.Tokenizer = y, k.Hooks = S, k.parse = k, k.options, k.setOptions, k.use, k.walkTokens, k.parseInline, b.parse, x.lex;
1384
+ export { k };