@loopstack/loopstack-studio 0.20.2 → 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,1975 @@
1
+ import { __name, log } from "./chunk-AGHRB4JF.js";
2
+ import { clear, configureSvgSize, defaultConfig_default, getAccDescription, getAccTitle, getConfig, getDiagramTitle, getThemeVariables3, sanitizeText, setAccDescription, setAccTitle, setDiagramTitle } from "./chunk-ABZYJK2D.js";
3
+ import band from "../../../../d3-scale/src/band.js";
4
+ import linear from "../../../../d3-scale/src/linear.js";
5
+ import line_default from "../../../../d3-shape/src/line.js";
6
+ import "../../../../d3/src/index.js";
7
+ import { selectSvgElement } from "./chunk-EXTU4WIE.js";
8
+ import { cleanAndMerge } from "./chunk-S3R3BYOJ.js";
9
+ import { computeDimensionOfText } from "./chunk-JA3XYJ7Z.js";
10
+ var parser = (function() {
11
+ var S = /* @__PURE__ */ __name(function(e, S, C, w) {
12
+ for (C ||= {}, w = e.length; w--; C[e[w]] = S);
13
+ return C;
14
+ }, "o"), C = [
15
+ 1,
16
+ 10,
17
+ 12,
18
+ 14,
19
+ 16,
20
+ 18,
21
+ 19,
22
+ 21,
23
+ 23
24
+ ], w = [2, 6], T = [1, 3], E = [1, 5], D = [1, 6], O = [1, 7], k = [
25
+ 1,
26
+ 5,
27
+ 10,
28
+ 12,
29
+ 14,
30
+ 16,
31
+ 18,
32
+ 19,
33
+ 21,
34
+ 23,
35
+ 34,
36
+ 35,
37
+ 36
38
+ ], A = [1, 25], j = [1, 26], M = [1, 28], N = [1, 29], P = [1, 30], F = [1, 31], I = [1, 32], L = [1, 33], R = [1, 34], z = [1, 35], B = [1, 36], V = [1, 37], H = [1, 43], U = [1, 42], W = [1, 47], G = [1, 50], K = [
39
+ 1,
40
+ 10,
41
+ 12,
42
+ 14,
43
+ 16,
44
+ 18,
45
+ 19,
46
+ 21,
47
+ 23,
48
+ 34,
49
+ 35,
50
+ 36
51
+ ], q = [
52
+ 1,
53
+ 10,
54
+ 12,
55
+ 14,
56
+ 16,
57
+ 18,
58
+ 19,
59
+ 21,
60
+ 23,
61
+ 24,
62
+ 26,
63
+ 27,
64
+ 28,
65
+ 34,
66
+ 35,
67
+ 36
68
+ ], J = [
69
+ 1,
70
+ 10,
71
+ 12,
72
+ 14,
73
+ 16,
74
+ 18,
75
+ 19,
76
+ 21,
77
+ 23,
78
+ 24,
79
+ 26,
80
+ 27,
81
+ 28,
82
+ 34,
83
+ 35,
84
+ 36,
85
+ 41,
86
+ 42,
87
+ 43,
88
+ 44,
89
+ 45,
90
+ 46,
91
+ 47,
92
+ 48,
93
+ 49,
94
+ 50
95
+ ], Y = [1, 64], X = {
96
+ trace: /* @__PURE__ */ __name(function() {}, "trace"),
97
+ yy: {},
98
+ symbols_: {
99
+ error: 2,
100
+ start: 3,
101
+ eol: 4,
102
+ XYCHART: 5,
103
+ chartConfig: 6,
104
+ document: 7,
105
+ CHART_ORIENTATION: 8,
106
+ statement: 9,
107
+ title: 10,
108
+ text: 11,
109
+ X_AXIS: 12,
110
+ parseXAxis: 13,
111
+ Y_AXIS: 14,
112
+ parseYAxis: 15,
113
+ LINE: 16,
114
+ plotData: 17,
115
+ BAR: 18,
116
+ acc_title: 19,
117
+ acc_title_value: 20,
118
+ acc_descr: 21,
119
+ acc_descr_value: 22,
120
+ acc_descr_multiline_value: 23,
121
+ SQUARE_BRACES_START: 24,
122
+ commaSeparatedNumbers: 25,
123
+ SQUARE_BRACES_END: 26,
124
+ NUMBER_WITH_DECIMAL: 27,
125
+ COMMA: 28,
126
+ xAxisData: 29,
127
+ bandData: 30,
128
+ ARROW_DELIMITER: 31,
129
+ commaSeparatedTexts: 32,
130
+ yAxisData: 33,
131
+ NEWLINE: 34,
132
+ SEMI: 35,
133
+ EOF: 36,
134
+ alphaNum: 37,
135
+ STR: 38,
136
+ MD_STR: 39,
137
+ alphaNumToken: 40,
138
+ AMP: 41,
139
+ NUM: 42,
140
+ ALPHA: 43,
141
+ PLUS: 44,
142
+ EQUALS: 45,
143
+ MULT: 46,
144
+ DOT: 47,
145
+ BRKT: 48,
146
+ MINUS: 49,
147
+ UNDERSCORE: 50,
148
+ $accept: 0,
149
+ $end: 1
150
+ },
151
+ terminals_: {
152
+ 2: "error",
153
+ 5: "XYCHART",
154
+ 8: "CHART_ORIENTATION",
155
+ 10: "title",
156
+ 12: "X_AXIS",
157
+ 14: "Y_AXIS",
158
+ 16: "LINE",
159
+ 18: "BAR",
160
+ 19: "acc_title",
161
+ 20: "acc_title_value",
162
+ 21: "acc_descr",
163
+ 22: "acc_descr_value",
164
+ 23: "acc_descr_multiline_value",
165
+ 24: "SQUARE_BRACES_START",
166
+ 26: "SQUARE_BRACES_END",
167
+ 27: "NUMBER_WITH_DECIMAL",
168
+ 28: "COMMA",
169
+ 31: "ARROW_DELIMITER",
170
+ 34: "NEWLINE",
171
+ 35: "SEMI",
172
+ 36: "EOF",
173
+ 38: "STR",
174
+ 39: "MD_STR",
175
+ 41: "AMP",
176
+ 42: "NUM",
177
+ 43: "ALPHA",
178
+ 44: "PLUS",
179
+ 45: "EQUALS",
180
+ 46: "MULT",
181
+ 47: "DOT",
182
+ 48: "BRKT",
183
+ 49: "MINUS",
184
+ 50: "UNDERSCORE"
185
+ },
186
+ productions_: [
187
+ 0,
188
+ [3, 2],
189
+ [3, 3],
190
+ [3, 2],
191
+ [3, 1],
192
+ [6, 1],
193
+ [7, 0],
194
+ [7, 2],
195
+ [9, 2],
196
+ [9, 2],
197
+ [9, 2],
198
+ [9, 2],
199
+ [9, 2],
200
+ [9, 3],
201
+ [9, 2],
202
+ [9, 3],
203
+ [9, 2],
204
+ [9, 2],
205
+ [9, 1],
206
+ [17, 3],
207
+ [25, 3],
208
+ [25, 1],
209
+ [13, 1],
210
+ [13, 2],
211
+ [13, 1],
212
+ [29, 1],
213
+ [29, 3],
214
+ [30, 3],
215
+ [32, 3],
216
+ [32, 1],
217
+ [15, 1],
218
+ [15, 2],
219
+ [15, 1],
220
+ [33, 3],
221
+ [4, 1],
222
+ [4, 1],
223
+ [4, 1],
224
+ [11, 1],
225
+ [11, 1],
226
+ [11, 1],
227
+ [37, 1],
228
+ [37, 2],
229
+ [40, 1],
230
+ [40, 1],
231
+ [40, 1],
232
+ [40, 1],
233
+ [40, 1],
234
+ [40, 1],
235
+ [40, 1],
236
+ [40, 1],
237
+ [40, 1],
238
+ [40, 1]
239
+ ],
240
+ performAction: /* @__PURE__ */ __name(function(e, S, C, w, T, E, D) {
241
+ var O = E.length - 1;
242
+ switch (T) {
243
+ case 5:
244
+ w.setOrientation(E[O]);
245
+ break;
246
+ case 9:
247
+ w.setDiagramTitle(E[O].text.trim());
248
+ break;
249
+ case 12:
250
+ w.setLineData({
251
+ text: "",
252
+ type: "text"
253
+ }, E[O]);
254
+ break;
255
+ case 13:
256
+ w.setLineData(E[O - 1], E[O]);
257
+ break;
258
+ case 14:
259
+ w.setBarData({
260
+ text: "",
261
+ type: "text"
262
+ }, E[O]);
263
+ break;
264
+ case 15:
265
+ w.setBarData(E[O - 1], E[O]);
266
+ break;
267
+ case 16:
268
+ this.$ = E[O].trim(), w.setAccTitle(this.$);
269
+ break;
270
+ case 17:
271
+ case 18:
272
+ this.$ = E[O].trim(), w.setAccDescription(this.$);
273
+ break;
274
+ case 19:
275
+ this.$ = E[O - 1];
276
+ break;
277
+ case 20:
278
+ this.$ = [Number(E[O - 2]), ...E[O]];
279
+ break;
280
+ case 21:
281
+ this.$ = [Number(E[O])];
282
+ break;
283
+ case 22:
284
+ w.setXAxisTitle(E[O]);
285
+ break;
286
+ case 23:
287
+ w.setXAxisTitle(E[O - 1]);
288
+ break;
289
+ case 24:
290
+ w.setXAxisTitle({
291
+ type: "text",
292
+ text: ""
293
+ });
294
+ break;
295
+ case 25:
296
+ w.setXAxisBand(E[O]);
297
+ break;
298
+ case 26:
299
+ w.setXAxisRangeData(Number(E[O - 2]), Number(E[O]));
300
+ break;
301
+ case 27:
302
+ this.$ = E[O - 1];
303
+ break;
304
+ case 28:
305
+ this.$ = [E[O - 2], ...E[O]];
306
+ break;
307
+ case 29:
308
+ this.$ = [E[O]];
309
+ break;
310
+ case 30:
311
+ w.setYAxisTitle(E[O]);
312
+ break;
313
+ case 31:
314
+ w.setYAxisTitle(E[O - 1]);
315
+ break;
316
+ case 32:
317
+ w.setYAxisTitle({
318
+ type: "text",
319
+ text: ""
320
+ });
321
+ break;
322
+ case 33:
323
+ w.setYAxisRangeData(Number(E[O - 2]), Number(E[O]));
324
+ break;
325
+ case 37:
326
+ this.$ = {
327
+ text: E[O],
328
+ type: "text"
329
+ };
330
+ break;
331
+ case 38:
332
+ this.$ = {
333
+ text: E[O],
334
+ type: "text"
335
+ };
336
+ break;
337
+ case 39:
338
+ this.$ = {
339
+ text: E[O],
340
+ type: "markdown"
341
+ };
342
+ break;
343
+ case 40:
344
+ this.$ = E[O];
345
+ break;
346
+ case 41:
347
+ this.$ = E[O - 1] + "" + E[O];
348
+ break;
349
+ }
350
+ }, "anonymous"),
351
+ table: [
352
+ S(C, w, {
353
+ 3: 1,
354
+ 4: 2,
355
+ 7: 4,
356
+ 5: T,
357
+ 34: E,
358
+ 35: D,
359
+ 36: O
360
+ }),
361
+ { 1: [3] },
362
+ S(C, w, {
363
+ 4: 2,
364
+ 7: 4,
365
+ 3: 8,
366
+ 5: T,
367
+ 34: E,
368
+ 35: D,
369
+ 36: O
370
+ }),
371
+ S(C, w, {
372
+ 4: 2,
373
+ 7: 4,
374
+ 6: 9,
375
+ 3: 10,
376
+ 5: T,
377
+ 8: [1, 11],
378
+ 34: E,
379
+ 35: D,
380
+ 36: O
381
+ }),
382
+ {
383
+ 1: [2, 4],
384
+ 9: 12,
385
+ 10: [1, 13],
386
+ 12: [1, 14],
387
+ 14: [1, 15],
388
+ 16: [1, 16],
389
+ 18: [1, 17],
390
+ 19: [1, 18],
391
+ 21: [1, 19],
392
+ 23: [1, 20]
393
+ },
394
+ S(k, [2, 34]),
395
+ S(k, [2, 35]),
396
+ S(k, [2, 36]),
397
+ { 1: [2, 1] },
398
+ S(C, w, {
399
+ 4: 2,
400
+ 7: 4,
401
+ 3: 21,
402
+ 5: T,
403
+ 34: E,
404
+ 35: D,
405
+ 36: O
406
+ }),
407
+ { 1: [2, 3] },
408
+ S(k, [2, 5]),
409
+ S(C, [2, 7], {
410
+ 4: 22,
411
+ 34: E,
412
+ 35: D,
413
+ 36: O
414
+ }),
415
+ {
416
+ 11: 23,
417
+ 37: 24,
418
+ 38: A,
419
+ 39: j,
420
+ 40: 27,
421
+ 41: M,
422
+ 42: N,
423
+ 43: P,
424
+ 44: F,
425
+ 45: I,
426
+ 46: L,
427
+ 47: R,
428
+ 48: z,
429
+ 49: B,
430
+ 50: V
431
+ },
432
+ {
433
+ 11: 39,
434
+ 13: 38,
435
+ 24: H,
436
+ 27: U,
437
+ 29: 40,
438
+ 30: 41,
439
+ 37: 24,
440
+ 38: A,
441
+ 39: j,
442
+ 40: 27,
443
+ 41: M,
444
+ 42: N,
445
+ 43: P,
446
+ 44: F,
447
+ 45: I,
448
+ 46: L,
449
+ 47: R,
450
+ 48: z,
451
+ 49: B,
452
+ 50: V
453
+ },
454
+ {
455
+ 11: 45,
456
+ 15: 44,
457
+ 27: W,
458
+ 33: 46,
459
+ 37: 24,
460
+ 38: A,
461
+ 39: j,
462
+ 40: 27,
463
+ 41: M,
464
+ 42: N,
465
+ 43: P,
466
+ 44: F,
467
+ 45: I,
468
+ 46: L,
469
+ 47: R,
470
+ 48: z,
471
+ 49: B,
472
+ 50: V
473
+ },
474
+ {
475
+ 11: 49,
476
+ 17: 48,
477
+ 24: G,
478
+ 37: 24,
479
+ 38: A,
480
+ 39: j,
481
+ 40: 27,
482
+ 41: M,
483
+ 42: N,
484
+ 43: P,
485
+ 44: F,
486
+ 45: I,
487
+ 46: L,
488
+ 47: R,
489
+ 48: z,
490
+ 49: B,
491
+ 50: V
492
+ },
493
+ {
494
+ 11: 52,
495
+ 17: 51,
496
+ 24: G,
497
+ 37: 24,
498
+ 38: A,
499
+ 39: j,
500
+ 40: 27,
501
+ 41: M,
502
+ 42: N,
503
+ 43: P,
504
+ 44: F,
505
+ 45: I,
506
+ 46: L,
507
+ 47: R,
508
+ 48: z,
509
+ 49: B,
510
+ 50: V
511
+ },
512
+ { 20: [1, 53] },
513
+ { 22: [1, 54] },
514
+ S(K, [2, 18]),
515
+ { 1: [2, 2] },
516
+ S(K, [2, 8]),
517
+ S(K, [2, 9]),
518
+ S(q, [2, 37], {
519
+ 40: 55,
520
+ 41: M,
521
+ 42: N,
522
+ 43: P,
523
+ 44: F,
524
+ 45: I,
525
+ 46: L,
526
+ 47: R,
527
+ 48: z,
528
+ 49: B,
529
+ 50: V
530
+ }),
531
+ S(q, [2, 38]),
532
+ S(q, [2, 39]),
533
+ S(J, [2, 40]),
534
+ S(J, [2, 42]),
535
+ S(J, [2, 43]),
536
+ S(J, [2, 44]),
537
+ S(J, [2, 45]),
538
+ S(J, [2, 46]),
539
+ S(J, [2, 47]),
540
+ S(J, [2, 48]),
541
+ S(J, [2, 49]),
542
+ S(J, [2, 50]),
543
+ S(J, [2, 51]),
544
+ S(K, [2, 10]),
545
+ S(K, [2, 22], {
546
+ 30: 41,
547
+ 29: 56,
548
+ 24: H,
549
+ 27: U
550
+ }),
551
+ S(K, [2, 24]),
552
+ S(K, [2, 25]),
553
+ { 31: [1, 57] },
554
+ {
555
+ 11: 59,
556
+ 32: 58,
557
+ 37: 24,
558
+ 38: A,
559
+ 39: j,
560
+ 40: 27,
561
+ 41: M,
562
+ 42: N,
563
+ 43: P,
564
+ 44: F,
565
+ 45: I,
566
+ 46: L,
567
+ 47: R,
568
+ 48: z,
569
+ 49: B,
570
+ 50: V
571
+ },
572
+ S(K, [2, 11]),
573
+ S(K, [2, 30], {
574
+ 33: 60,
575
+ 27: W
576
+ }),
577
+ S(K, [2, 32]),
578
+ { 31: [1, 61] },
579
+ S(K, [2, 12]),
580
+ {
581
+ 17: 62,
582
+ 24: G
583
+ },
584
+ {
585
+ 25: 63,
586
+ 27: Y
587
+ },
588
+ S(K, [2, 14]),
589
+ {
590
+ 17: 65,
591
+ 24: G
592
+ },
593
+ S(K, [2, 16]),
594
+ S(K, [2, 17]),
595
+ S(J, [2, 41]),
596
+ S(K, [2, 23]),
597
+ { 27: [1, 66] },
598
+ { 26: [1, 67] },
599
+ {
600
+ 26: [2, 29],
601
+ 28: [1, 68]
602
+ },
603
+ S(K, [2, 31]),
604
+ { 27: [1, 69] },
605
+ S(K, [2, 13]),
606
+ { 26: [1, 70] },
607
+ {
608
+ 26: [2, 21],
609
+ 28: [1, 71]
610
+ },
611
+ S(K, [2, 15]),
612
+ S(K, [2, 26]),
613
+ S(K, [2, 27]),
614
+ {
615
+ 11: 59,
616
+ 32: 72,
617
+ 37: 24,
618
+ 38: A,
619
+ 39: j,
620
+ 40: 27,
621
+ 41: M,
622
+ 42: N,
623
+ 43: P,
624
+ 44: F,
625
+ 45: I,
626
+ 46: L,
627
+ 47: R,
628
+ 48: z,
629
+ 49: B,
630
+ 50: V
631
+ },
632
+ S(K, [2, 33]),
633
+ S(K, [2, 19]),
634
+ {
635
+ 25: 73,
636
+ 27: Y
637
+ },
638
+ { 26: [2, 28] },
639
+ { 26: [2, 20] }
640
+ ],
641
+ defaultActions: {
642
+ 8: [2, 1],
643
+ 10: [2, 3],
644
+ 21: [2, 2],
645
+ 72: [2, 28],
646
+ 73: [2, 20]
647
+ },
648
+ parseError: /* @__PURE__ */ __name(function(e, S) {
649
+ if (S.recoverable) this.trace(e);
650
+ else {
651
+ var C = Error(e);
652
+ throw C.hash = S, C;
653
+ }
654
+ }, "parseError"),
655
+ parse: /* @__PURE__ */ __name(function(S) {
656
+ var C = this, w = [0], T = [], E = [null], D = [], O = this.table, k = "", A = 0, j = 0, M = 0, N = 2, P = 1, F = D.slice.call(arguments, 1), I = Object.create(this.lexer), L = { yy: {} };
657
+ for (var R in this.yy) Object.prototype.hasOwnProperty.call(this.yy, R) && (L.yy[R] = this.yy[R]);
658
+ I.setInput(S, L.yy), L.yy.lexer = I, L.yy.parser = this, I.yylloc === void 0 && (I.yylloc = {});
659
+ var z = I.yylloc;
660
+ D.push(z);
661
+ var B = I.options && I.options.ranges;
662
+ typeof L.yy.parseError == "function" ? this.parseError = L.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
663
+ function V(e) {
664
+ w.length -= 2 * e, E.length -= e, D.length -= e;
665
+ }
666
+ __name(V, "popStack");
667
+ function H() {
668
+ var e = T.pop() || I.lex() || P;
669
+ return typeof e != "number" && (e instanceof Array && (T = e, e = T.pop()), e = C.symbols_[e] || e), e;
670
+ }
671
+ __name(H, "lex");
672
+ for (var U, W, G, K, q, J = {}, Y, X, Z, Q;;) {
673
+ if (G = w[w.length - 1], this.defaultActions[G] ? K = this.defaultActions[G] : (U ??= H(), K = O[G] && O[G][U]), K === void 0 || !K.length || !K[0]) {
674
+ var $ = "";
675
+ for (Y in Q = [], O[G]) this.terminals_[Y] && Y > N && Q.push("'" + this.terminals_[Y] + "'");
676
+ $ = I.showPosition ? "Parse error on line " + (A + 1) + ":\n" + I.showPosition() + "\nExpecting " + Q.join(", ") + ", got '" + (this.terminals_[U] || U) + "'" : "Parse error on line " + (A + 1) + ": Unexpected " + (U == P ? "end of input" : "'" + (this.terminals_[U] || U) + "'"), this.parseError($, {
677
+ text: I.match,
678
+ token: this.terminals_[U] || U,
679
+ line: I.yylineno,
680
+ loc: z,
681
+ expected: Q
682
+ });
683
+ }
684
+ if (K[0] instanceof Array && K.length > 1) throw Error("Parse Error: multiple actions possible at state: " + G + ", token: " + U);
685
+ switch (K[0]) {
686
+ case 1:
687
+ w.push(U), E.push(I.yytext), D.push(I.yylloc), w.push(K[1]), U = null, W ? (U = W, W = null) : (j = I.yyleng, k = I.yytext, A = I.yylineno, z = I.yylloc, M > 0 && M--);
688
+ break;
689
+ case 2:
690
+ if (X = this.productions_[K[1]][1], J.$ = E[E.length - X], J._$ = {
691
+ first_line: D[D.length - (X || 1)].first_line,
692
+ last_line: D[D.length - 1].last_line,
693
+ first_column: D[D.length - (X || 1)].first_column,
694
+ last_column: D[D.length - 1].last_column
695
+ }, B && (J._$.range = [D[D.length - (X || 1)].range[0], D[D.length - 1].range[1]]), q = this.performAction.apply(J, [
696
+ k,
697
+ j,
698
+ A,
699
+ L.yy,
700
+ K[1],
701
+ E,
702
+ D
703
+ ].concat(F)), q !== void 0) return q;
704
+ X && (w = w.slice(0, -1 * X * 2), E = E.slice(0, -1 * X), D = D.slice(0, -1 * X)), w.push(this.productions_[K[1]][0]), E.push(J.$), D.push(J._$), Z = O[w[w.length - 2]][w[w.length - 1]], w.push(Z);
705
+ break;
706
+ case 3: return !0;
707
+ }
708
+ }
709
+ return !0;
710
+ }, "parse")
711
+ };
712
+ X.lexer = /* @__PURE__ */ (function() {
713
+ return {
714
+ EOF: 1,
715
+ parseError: /* @__PURE__ */ __name(function(e, S) {
716
+ if (this.yy.parser) this.yy.parser.parseError(e, S);
717
+ else throw Error(e);
718
+ }, "parseError"),
719
+ setInput: /* @__PURE__ */ __name(function(e, S) {
720
+ return this.yy = S || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
721
+ first_line: 1,
722
+ first_column: 0,
723
+ last_line: 1,
724
+ last_column: 0
725
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
726
+ }, "setInput"),
727
+ input: /* @__PURE__ */ __name(function() {
728
+ var e = this._input[0];
729
+ return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
730
+ }, "input"),
731
+ unput: /* @__PURE__ */ __name(function(e) {
732
+ var S = e.length, C = e.split(/(?:\r\n?|\n)/g);
733
+ this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - S), this.offset -= S;
734
+ var w = this.match.split(/(?:\r\n?|\n)/g);
735
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), C.length - 1 && (this.yylineno -= C.length - 1);
736
+ var T = this.yylloc.range;
737
+ return this.yylloc = {
738
+ first_line: this.yylloc.first_line,
739
+ last_line: this.yylineno + 1,
740
+ first_column: this.yylloc.first_column,
741
+ last_column: C ? (C.length === w.length ? this.yylloc.first_column : 0) + w[w.length - C.length].length - C[0].length : this.yylloc.first_column - S
742
+ }, this.options.ranges && (this.yylloc.range = [T[0], T[0] + this.yyleng - S]), this.yyleng = this.yytext.length, this;
743
+ }, "unput"),
744
+ more: /* @__PURE__ */ __name(function() {
745
+ return this._more = !0, this;
746
+ }, "more"),
747
+ reject: /* @__PURE__ */ __name(function() {
748
+ if (this.options.backtrack_lexer) this._backtrack = !0;
749
+ else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
750
+ text: "",
751
+ token: null,
752
+ line: this.yylineno
753
+ });
754
+ return this;
755
+ }, "reject"),
756
+ less: /* @__PURE__ */ __name(function(e) {
757
+ this.unput(this.match.slice(e));
758
+ }, "less"),
759
+ pastInput: /* @__PURE__ */ __name(function() {
760
+ var e = this.matched.substr(0, this.matched.length - this.match.length);
761
+ return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
762
+ }, "pastInput"),
763
+ upcomingInput: /* @__PURE__ */ __name(function() {
764
+ var e = this.match;
765
+ return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
766
+ }, "upcomingInput"),
767
+ showPosition: /* @__PURE__ */ __name(function() {
768
+ var e = this.pastInput(), S = Array(e.length + 1).join("-");
769
+ return e + this.upcomingInput() + "\n" + S + "^";
770
+ }, "showPosition"),
771
+ test_match: /* @__PURE__ */ __name(function(e, S) {
772
+ var C, w, T;
773
+ if (this.options.backtrack_lexer && (T = {
774
+ yylineno: this.yylineno,
775
+ yylloc: {
776
+ first_line: this.yylloc.first_line,
777
+ last_line: this.last_line,
778
+ first_column: this.yylloc.first_column,
779
+ last_column: this.yylloc.last_column
780
+ },
781
+ yytext: this.yytext,
782
+ match: this.match,
783
+ matches: this.matches,
784
+ matched: this.matched,
785
+ yyleng: this.yyleng,
786
+ offset: this.offset,
787
+ _more: this._more,
788
+ _input: this._input,
789
+ yy: this.yy,
790
+ conditionStack: this.conditionStack.slice(0),
791
+ done: this.done
792
+ }, this.options.ranges && (T.yylloc.range = this.yylloc.range.slice(0))), w = e[0].match(/(?:\r\n?|\n).*/g), w && (this.yylineno += w.length), this.yylloc = {
793
+ first_line: this.yylloc.last_line,
794
+ last_line: this.yylineno + 1,
795
+ first_column: this.yylloc.last_column,
796
+ last_column: w ? w[w.length - 1].length - w[w.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
797
+ }, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], C = this.performAction.call(this, this.yy, this, S, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), C) return C;
798
+ if (this._backtrack) {
799
+ for (var E in T) this[E] = T[E];
800
+ return !1;
801
+ }
802
+ return !1;
803
+ }, "test_match"),
804
+ next: /* @__PURE__ */ __name(function() {
805
+ if (this.done) return this.EOF;
806
+ this._input || (this.done = !0);
807
+ var e, S, C, w;
808
+ this._more || (this.yytext = "", this.match = "");
809
+ for (var T = this._currentRules(), E = 0; E < T.length; E++) if (C = this._input.match(this.rules[T[E]]), C && (!S || C[0].length > S[0].length)) {
810
+ if (S = C, w = E, this.options.backtrack_lexer) {
811
+ if (e = this.test_match(C, T[E]), e !== !1) return e;
812
+ if (this._backtrack) {
813
+ S = !1;
814
+ continue;
815
+ } else return !1;
816
+ } else if (!this.options.flex) break;
817
+ }
818
+ return S ? (e = this.test_match(S, T[w]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
819
+ text: "",
820
+ token: null,
821
+ line: this.yylineno
822
+ });
823
+ }, "next"),
824
+ lex: /* @__PURE__ */ __name(function() {
825
+ return this.next() || this.lex();
826
+ }, "lex"),
827
+ begin: /* @__PURE__ */ __name(function(e) {
828
+ this.conditionStack.push(e);
829
+ }, "begin"),
830
+ popState: /* @__PURE__ */ __name(function() {
831
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
832
+ }, "popState"),
833
+ _currentRules: /* @__PURE__ */ __name(function() {
834
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
835
+ }, "_currentRules"),
836
+ topState: /* @__PURE__ */ __name(function(e) {
837
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
838
+ }, "topState"),
839
+ pushState: /* @__PURE__ */ __name(function(e) {
840
+ this.begin(e);
841
+ }, "pushState"),
842
+ stateStackSize: /* @__PURE__ */ __name(function() {
843
+ return this.conditionStack.length;
844
+ }, "stateStackSize"),
845
+ options: { "case-insensitive": !0 },
846
+ performAction: /* @__PURE__ */ __name(function(e, S, C, w) {
847
+ switch (C) {
848
+ case 0: break;
849
+ case 1: break;
850
+ case 2: return this.popState(), 34;
851
+ case 3: return this.popState(), 34;
852
+ case 4: return 34;
853
+ case 5: break;
854
+ case 6: return 10;
855
+ case 7: return this.pushState("acc_title"), 19;
856
+ case 8: return this.popState(), "acc_title_value";
857
+ case 9: return this.pushState("acc_descr"), 21;
858
+ case 10: return this.popState(), "acc_descr_value";
859
+ case 11:
860
+ this.pushState("acc_descr_multiline");
861
+ break;
862
+ case 12:
863
+ this.popState();
864
+ break;
865
+ case 13: return "acc_descr_multiline_value";
866
+ case 14: return 5;
867
+ case 15: return 5;
868
+ case 16: return 8;
869
+ case 17: return this.pushState("axis_data"), "X_AXIS";
870
+ case 18: return this.pushState("axis_data"), "Y_AXIS";
871
+ case 19: return this.pushState("axis_band_data"), 24;
872
+ case 20: return 31;
873
+ case 21: return this.pushState("data"), 16;
874
+ case 22: return this.pushState("data"), 18;
875
+ case 23: return this.pushState("data_inner"), 24;
876
+ case 24: return 27;
877
+ case 25: return this.popState(), 26;
878
+ case 26:
879
+ this.popState();
880
+ break;
881
+ case 27:
882
+ this.pushState("string");
883
+ break;
884
+ case 28:
885
+ this.popState();
886
+ break;
887
+ case 29: return "STR";
888
+ case 30: return 24;
889
+ case 31: return 26;
890
+ case 32: return 43;
891
+ case 33: return "COLON";
892
+ case 34: return 44;
893
+ case 35: return 28;
894
+ case 36: return 45;
895
+ case 37: return 46;
896
+ case 38: return 48;
897
+ case 39: return 50;
898
+ case 40: return 47;
899
+ case 41: return 41;
900
+ case 42: return 49;
901
+ case 43: return 42;
902
+ case 44: break;
903
+ case 45: return 35;
904
+ case 46: return 36;
905
+ }
906
+ }, "anonymous"),
907
+ rules: [
908
+ /^(?:%%(?!\{)[^\n]*)/i,
909
+ /^(?:[^\}]%%[^\n]*)/i,
910
+ /^(?:(\r?\n))/i,
911
+ /^(?:(\r?\n))/i,
912
+ /^(?:[\n\r]+)/i,
913
+ /^(?:%%[^\n]*)/i,
914
+ /^(?:title\b)/i,
915
+ /^(?:accTitle\s*:\s*)/i,
916
+ /^(?:(?!\n||)*[^\n]*)/i,
917
+ /^(?:accDescr\s*:\s*)/i,
918
+ /^(?:(?!\n||)*[^\n]*)/i,
919
+ /^(?:accDescr\s*\{\s*)/i,
920
+ /^(?:\{)/i,
921
+ /^(?:[^\}]*)/i,
922
+ /^(?:xychart-beta\b)/i,
923
+ /^(?:xychart\b)/i,
924
+ /^(?:(?:vertical|horizontal))/i,
925
+ /^(?:x-axis\b)/i,
926
+ /^(?:y-axis\b)/i,
927
+ /^(?:\[)/i,
928
+ /^(?:-->)/i,
929
+ /^(?:line\b)/i,
930
+ /^(?:bar\b)/i,
931
+ /^(?:\[)/i,
932
+ /^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,
933
+ /^(?:\])/i,
934
+ /^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,
935
+ /^(?:["])/i,
936
+ /^(?:["])/i,
937
+ /^(?:[^"]*)/i,
938
+ /^(?:\[)/i,
939
+ /^(?:\])/i,
940
+ /^(?:[A-Za-z]+)/i,
941
+ /^(?::)/i,
942
+ /^(?:\+)/i,
943
+ /^(?:,)/i,
944
+ /^(?:=)/i,
945
+ /^(?:\*)/i,
946
+ /^(?:#)/i,
947
+ /^(?:[\_])/i,
948
+ /^(?:\.)/i,
949
+ /^(?:&)/i,
950
+ /^(?:-)/i,
951
+ /^(?:[0-9]+)/i,
952
+ /^(?:\s+)/i,
953
+ /^(?:;)/i,
954
+ /^(?:$)/i
955
+ ],
956
+ conditions: {
957
+ data_inner: {
958
+ rules: [
959
+ 0,
960
+ 1,
961
+ 4,
962
+ 5,
963
+ 6,
964
+ 7,
965
+ 9,
966
+ 11,
967
+ 14,
968
+ 15,
969
+ 16,
970
+ 17,
971
+ 18,
972
+ 21,
973
+ 22,
974
+ 24,
975
+ 25,
976
+ 26,
977
+ 27,
978
+ 30,
979
+ 31,
980
+ 32,
981
+ 33,
982
+ 34,
983
+ 35,
984
+ 36,
985
+ 37,
986
+ 38,
987
+ 39,
988
+ 40,
989
+ 41,
990
+ 42,
991
+ 43,
992
+ 44,
993
+ 45,
994
+ 46
995
+ ],
996
+ inclusive: !0
997
+ },
998
+ data: {
999
+ rules: [
1000
+ 0,
1001
+ 1,
1002
+ 3,
1003
+ 4,
1004
+ 5,
1005
+ 6,
1006
+ 7,
1007
+ 9,
1008
+ 11,
1009
+ 14,
1010
+ 15,
1011
+ 16,
1012
+ 17,
1013
+ 18,
1014
+ 21,
1015
+ 22,
1016
+ 23,
1017
+ 26,
1018
+ 27,
1019
+ 30,
1020
+ 31,
1021
+ 32,
1022
+ 33,
1023
+ 34,
1024
+ 35,
1025
+ 36,
1026
+ 37,
1027
+ 38,
1028
+ 39,
1029
+ 40,
1030
+ 41,
1031
+ 42,
1032
+ 43,
1033
+ 44,
1034
+ 45,
1035
+ 46
1036
+ ],
1037
+ inclusive: !0
1038
+ },
1039
+ axis_band_data: {
1040
+ rules: [
1041
+ 0,
1042
+ 1,
1043
+ 4,
1044
+ 5,
1045
+ 6,
1046
+ 7,
1047
+ 9,
1048
+ 11,
1049
+ 14,
1050
+ 15,
1051
+ 16,
1052
+ 17,
1053
+ 18,
1054
+ 21,
1055
+ 22,
1056
+ 25,
1057
+ 26,
1058
+ 27,
1059
+ 30,
1060
+ 31,
1061
+ 32,
1062
+ 33,
1063
+ 34,
1064
+ 35,
1065
+ 36,
1066
+ 37,
1067
+ 38,
1068
+ 39,
1069
+ 40,
1070
+ 41,
1071
+ 42,
1072
+ 43,
1073
+ 44,
1074
+ 45,
1075
+ 46
1076
+ ],
1077
+ inclusive: !0
1078
+ },
1079
+ axis_data: {
1080
+ rules: [
1081
+ 0,
1082
+ 1,
1083
+ 2,
1084
+ 4,
1085
+ 5,
1086
+ 6,
1087
+ 7,
1088
+ 9,
1089
+ 11,
1090
+ 14,
1091
+ 15,
1092
+ 16,
1093
+ 17,
1094
+ 18,
1095
+ 19,
1096
+ 20,
1097
+ 21,
1098
+ 22,
1099
+ 24,
1100
+ 26,
1101
+ 27,
1102
+ 30,
1103
+ 31,
1104
+ 32,
1105
+ 33,
1106
+ 34,
1107
+ 35,
1108
+ 36,
1109
+ 37,
1110
+ 38,
1111
+ 39,
1112
+ 40,
1113
+ 41,
1114
+ 42,
1115
+ 43,
1116
+ 44,
1117
+ 45,
1118
+ 46
1119
+ ],
1120
+ inclusive: !0
1121
+ },
1122
+ acc_descr_multiline: {
1123
+ rules: [12, 13],
1124
+ inclusive: !1
1125
+ },
1126
+ acc_descr: {
1127
+ rules: [10],
1128
+ inclusive: !1
1129
+ },
1130
+ acc_title: {
1131
+ rules: [8],
1132
+ inclusive: !1
1133
+ },
1134
+ title: {
1135
+ rules: [],
1136
+ inclusive: !1
1137
+ },
1138
+ md_string: {
1139
+ rules: [],
1140
+ inclusive: !1
1141
+ },
1142
+ string: {
1143
+ rules: [28, 29],
1144
+ inclusive: !1
1145
+ },
1146
+ INITIAL: {
1147
+ rules: [
1148
+ 0,
1149
+ 1,
1150
+ 4,
1151
+ 5,
1152
+ 6,
1153
+ 7,
1154
+ 9,
1155
+ 11,
1156
+ 14,
1157
+ 15,
1158
+ 16,
1159
+ 17,
1160
+ 18,
1161
+ 21,
1162
+ 22,
1163
+ 26,
1164
+ 27,
1165
+ 30,
1166
+ 31,
1167
+ 32,
1168
+ 33,
1169
+ 34,
1170
+ 35,
1171
+ 36,
1172
+ 37,
1173
+ 38,
1174
+ 39,
1175
+ 40,
1176
+ 41,
1177
+ 42,
1178
+ 43,
1179
+ 44,
1180
+ 45,
1181
+ 46
1182
+ ],
1183
+ inclusive: !0
1184
+ }
1185
+ }
1186
+ };
1187
+ })();
1188
+ function Z() {
1189
+ this.yy = {};
1190
+ }
1191
+ return __name(Z, "Parser"), Z.prototype = X, X.Parser = Z, new Z();
1192
+ })();
1193
+ parser.parser = parser;
1194
+ var xychart_default = parser;
1195
+ function isBarPlot(e) {
1196
+ return e.type === "bar";
1197
+ }
1198
+ __name(isBarPlot, "isBarPlot");
1199
+ function isBandAxisData(e) {
1200
+ return e.type === "band";
1201
+ }
1202
+ __name(isBandAxisData, "isBandAxisData");
1203
+ function isLinearAxisData(e) {
1204
+ return e.type === "linear";
1205
+ }
1206
+ __name(isLinearAxisData, "isLinearAxisData");
1207
+ var TextDimensionCalculatorWithFont = class {
1208
+ constructor(e) {
1209
+ this.parentGroup = e;
1210
+ }
1211
+ static #e = __name(this, "TextDimensionCalculatorWithFont");
1212
+ getMaxDimension(e, S) {
1213
+ if (!this.parentGroup) return {
1214
+ width: e.reduce((e, S) => Math.max(S.length, e), 0) * S,
1215
+ height: S
1216
+ };
1217
+ let C = {
1218
+ width: 0,
1219
+ height: 0
1220
+ }, w = this.parentGroup.append("g").attr("visibility", "hidden").attr("font-size", S);
1221
+ for (let T of e) {
1222
+ let e = computeDimensionOfText(w, 1, T), E = e ? e.width : T.length * S, D = e ? e.height : S;
1223
+ C.width = Math.max(C.width, E), C.height = Math.max(C.height, D);
1224
+ }
1225
+ return w.remove(), C;
1226
+ }
1227
+ }, BAR_WIDTH_TO_TICK_WIDTH_RATIO = .7, MAX_OUTER_PADDING_PERCENT_FOR_WRT_LABEL = .2, BaseAxis = class {
1228
+ constructor(e, S, C, w) {
1229
+ this.axisConfig = e, this.title = S, this.textDimensionCalculator = C, this.axisThemeConfig = w, this.boundingRect = {
1230
+ x: 0,
1231
+ y: 0,
1232
+ width: 0,
1233
+ height: 0
1234
+ }, this.axisPosition = "left", this.showTitle = !1, this.showLabel = !1, this.showTick = !1, this.showAxisLine = !1, this.outerPadding = 0, this.titleTextHeight = 0, this.labelTextHeight = 0, this.range = [0, 10], this.boundingRect = {
1235
+ x: 0,
1236
+ y: 0,
1237
+ width: 0,
1238
+ height: 0
1239
+ }, this.axisPosition = "left";
1240
+ }
1241
+ static #e = __name(this, "BaseAxis");
1242
+ setRange(e) {
1243
+ this.range = e, this.axisPosition === "left" || this.axisPosition === "right" ? this.boundingRect.height = e[1] - e[0] : this.boundingRect.width = e[1] - e[0], this.recalculateScale();
1244
+ }
1245
+ getRange() {
1246
+ return [this.range[0] + this.outerPadding, this.range[1] - this.outerPadding];
1247
+ }
1248
+ setAxisPosition(e) {
1249
+ this.axisPosition = e, this.setRange(this.range);
1250
+ }
1251
+ getTickDistance() {
1252
+ let e = this.getRange();
1253
+ return Math.abs(e[0] - e[1]) / this.getTickValues().length;
1254
+ }
1255
+ getAxisOuterPadding() {
1256
+ return this.outerPadding;
1257
+ }
1258
+ getLabelDimension() {
1259
+ return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map((e) => e.toString()), this.axisConfig.labelFontSize);
1260
+ }
1261
+ recalculateOuterPaddingToDrawBar() {
1262
+ BAR_WIDTH_TO_TICK_WIDTH_RATIO * this.getTickDistance() > this.outerPadding * 2 && (this.outerPadding = Math.floor(BAR_WIDTH_TO_TICK_WIDTH_RATIO * this.getTickDistance() / 2)), this.recalculateScale();
1263
+ }
1264
+ calculateSpaceIfDrawnHorizontally(e) {
1265
+ let S = e.height;
1266
+ if (this.axisConfig.showAxisLine && S > this.axisConfig.axisLineWidth && (S -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
1267
+ let C = this.getLabelDimension(), w = MAX_OUTER_PADDING_PERCENT_FOR_WRT_LABEL * e.width;
1268
+ this.outerPadding = Math.min(C.width / 2, w);
1269
+ let T = C.height + this.axisConfig.labelPadding * 2;
1270
+ this.labelTextHeight = C.height, T <= S && (S -= T, this.showLabel = !0);
1271
+ }
1272
+ if (this.axisConfig.showTick && S >= this.axisConfig.tickLength && (this.showTick = !0, S -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
1273
+ let e = this.textDimensionCalculator.getMaxDimension([this.title], this.axisConfig.titleFontSize), C = e.height + this.axisConfig.titlePadding * 2;
1274
+ this.titleTextHeight = e.height, C <= S && (S -= C, this.showTitle = !0);
1275
+ }
1276
+ this.boundingRect.width = e.width, this.boundingRect.height = e.height - S;
1277
+ }
1278
+ calculateSpaceIfDrawnVertical(e) {
1279
+ let S = e.width;
1280
+ if (this.axisConfig.showAxisLine && S > this.axisConfig.axisLineWidth && (S -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
1281
+ let C = this.getLabelDimension(), w = MAX_OUTER_PADDING_PERCENT_FOR_WRT_LABEL * e.height;
1282
+ this.outerPadding = Math.min(C.height / 2, w);
1283
+ let T = C.width + this.axisConfig.labelPadding * 2;
1284
+ T <= S && (S -= T, this.showLabel = !0);
1285
+ }
1286
+ if (this.axisConfig.showTick && S >= this.axisConfig.tickLength && (this.showTick = !0, S -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
1287
+ let e = this.textDimensionCalculator.getMaxDimension([this.title], this.axisConfig.titleFontSize), C = e.height + this.axisConfig.titlePadding * 2;
1288
+ this.titleTextHeight = e.height, C <= S && (S -= C, this.showTitle = !0);
1289
+ }
1290
+ this.boundingRect.width = e.width - S, this.boundingRect.height = e.height;
1291
+ }
1292
+ calculateSpace(e) {
1293
+ return this.axisPosition === "left" || this.axisPosition === "right" ? this.calculateSpaceIfDrawnVertical(e) : this.calculateSpaceIfDrawnHorizontally(e), this.recalculateScale(), {
1294
+ width: this.boundingRect.width,
1295
+ height: this.boundingRect.height
1296
+ };
1297
+ }
1298
+ setBoundingBoxXY(e) {
1299
+ this.boundingRect.x = e.x, this.boundingRect.y = e.y;
1300
+ }
1301
+ getDrawableElementsForLeftAxis() {
1302
+ let e = [];
1303
+ if (this.showAxisLine) {
1304
+ let S = this.boundingRect.x + this.boundingRect.width - this.axisConfig.axisLineWidth / 2;
1305
+ e.push({
1306
+ type: "path",
1307
+ groupTexts: ["left-axis", "axisl-line"],
1308
+ data: [{
1309
+ path: `M ${S},${this.boundingRect.y} L ${S},${this.boundingRect.y + this.boundingRect.height} `,
1310
+ strokeFill: this.axisThemeConfig.axisLineColor,
1311
+ strokeWidth: this.axisConfig.axisLineWidth
1312
+ }]
1313
+ });
1314
+ }
1315
+ if (this.showLabel && e.push({
1316
+ type: "text",
1317
+ groupTexts: ["left-axis", "label"],
1318
+ data: this.getTickValues().map((e) => ({
1319
+ text: e.toString(),
1320
+ x: this.boundingRect.x + this.boundingRect.width - (this.showLabel ? this.axisConfig.labelPadding : 0) - (this.showTick ? this.axisConfig.tickLength : 0) - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0),
1321
+ y: this.getScaleValue(e),
1322
+ fill: this.axisThemeConfig.labelColor,
1323
+ fontSize: this.axisConfig.labelFontSize,
1324
+ rotation: 0,
1325
+ verticalPos: "middle",
1326
+ horizontalPos: "right"
1327
+ }))
1328
+ }), this.showTick) {
1329
+ let S = this.boundingRect.x + this.boundingRect.width - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0);
1330
+ e.push({
1331
+ type: "path",
1332
+ groupTexts: ["left-axis", "ticks"],
1333
+ data: this.getTickValues().map((e) => ({
1334
+ path: `M ${S},${this.getScaleValue(e)} L ${S - this.axisConfig.tickLength},${this.getScaleValue(e)}`,
1335
+ strokeFill: this.axisThemeConfig.tickColor,
1336
+ strokeWidth: this.axisConfig.tickWidth
1337
+ }))
1338
+ });
1339
+ }
1340
+ return this.showTitle && e.push({
1341
+ type: "text",
1342
+ groupTexts: ["left-axis", "title"],
1343
+ data: [{
1344
+ text: this.title,
1345
+ x: this.boundingRect.x + this.axisConfig.titlePadding,
1346
+ y: this.boundingRect.y + this.boundingRect.height / 2,
1347
+ fill: this.axisThemeConfig.titleColor,
1348
+ fontSize: this.axisConfig.titleFontSize,
1349
+ rotation: 270,
1350
+ verticalPos: "top",
1351
+ horizontalPos: "center"
1352
+ }]
1353
+ }), e;
1354
+ }
1355
+ getDrawableElementsForBottomAxis() {
1356
+ let e = [];
1357
+ if (this.showAxisLine) {
1358
+ let S = this.boundingRect.y + this.axisConfig.axisLineWidth / 2;
1359
+ e.push({
1360
+ type: "path",
1361
+ groupTexts: ["bottom-axis", "axis-line"],
1362
+ data: [{
1363
+ path: `M ${this.boundingRect.x},${S} L ${this.boundingRect.x + this.boundingRect.width},${S}`,
1364
+ strokeFill: this.axisThemeConfig.axisLineColor,
1365
+ strokeWidth: this.axisConfig.axisLineWidth
1366
+ }]
1367
+ });
1368
+ }
1369
+ if (this.showLabel && e.push({
1370
+ type: "text",
1371
+ groupTexts: ["bottom-axis", "label"],
1372
+ data: this.getTickValues().map((e) => ({
1373
+ text: e.toString(),
1374
+ x: this.getScaleValue(e),
1375
+ y: this.boundingRect.y + this.axisConfig.labelPadding + (this.showTick ? this.axisConfig.tickLength : 0) + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0),
1376
+ fill: this.axisThemeConfig.labelColor,
1377
+ fontSize: this.axisConfig.labelFontSize,
1378
+ rotation: 0,
1379
+ verticalPos: "top",
1380
+ horizontalPos: "center"
1381
+ }))
1382
+ }), this.showTick) {
1383
+ let S = this.boundingRect.y + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0);
1384
+ e.push({
1385
+ type: "path",
1386
+ groupTexts: ["bottom-axis", "ticks"],
1387
+ data: this.getTickValues().map((e) => ({
1388
+ path: `M ${this.getScaleValue(e)},${S} L ${this.getScaleValue(e)},${S + this.axisConfig.tickLength}`,
1389
+ strokeFill: this.axisThemeConfig.tickColor,
1390
+ strokeWidth: this.axisConfig.tickWidth
1391
+ }))
1392
+ });
1393
+ }
1394
+ return this.showTitle && e.push({
1395
+ type: "text",
1396
+ groupTexts: ["bottom-axis", "title"],
1397
+ data: [{
1398
+ text: this.title,
1399
+ x: this.range[0] + (this.range[1] - this.range[0]) / 2,
1400
+ y: this.boundingRect.y + this.boundingRect.height - this.axisConfig.titlePadding - this.titleTextHeight,
1401
+ fill: this.axisThemeConfig.titleColor,
1402
+ fontSize: this.axisConfig.titleFontSize,
1403
+ rotation: 0,
1404
+ verticalPos: "top",
1405
+ horizontalPos: "center"
1406
+ }]
1407
+ }), e;
1408
+ }
1409
+ getDrawableElementsForTopAxis() {
1410
+ let e = [];
1411
+ if (this.showAxisLine) {
1412
+ let S = this.boundingRect.y + this.boundingRect.height - this.axisConfig.axisLineWidth / 2;
1413
+ e.push({
1414
+ type: "path",
1415
+ groupTexts: ["top-axis", "axis-line"],
1416
+ data: [{
1417
+ path: `M ${this.boundingRect.x},${S} L ${this.boundingRect.x + this.boundingRect.width},${S}`,
1418
+ strokeFill: this.axisThemeConfig.axisLineColor,
1419
+ strokeWidth: this.axisConfig.axisLineWidth
1420
+ }]
1421
+ });
1422
+ }
1423
+ if (this.showLabel && e.push({
1424
+ type: "text",
1425
+ groupTexts: ["top-axis", "label"],
1426
+ data: this.getTickValues().map((e) => ({
1427
+ text: e.toString(),
1428
+ x: this.getScaleValue(e),
1429
+ y: this.boundingRect.y + (this.showTitle ? this.titleTextHeight + this.axisConfig.titlePadding * 2 : 0) + this.axisConfig.labelPadding,
1430
+ fill: this.axisThemeConfig.labelColor,
1431
+ fontSize: this.axisConfig.labelFontSize,
1432
+ rotation: 0,
1433
+ verticalPos: "top",
1434
+ horizontalPos: "center"
1435
+ }))
1436
+ }), this.showTick) {
1437
+ let S = this.boundingRect.y;
1438
+ e.push({
1439
+ type: "path",
1440
+ groupTexts: ["top-axis", "ticks"],
1441
+ data: this.getTickValues().map((e) => ({
1442
+ path: `M ${this.getScaleValue(e)},${S + this.boundingRect.height - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0)} L ${this.getScaleValue(e)},${S + this.boundingRect.height - this.axisConfig.tickLength - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0)}`,
1443
+ strokeFill: this.axisThemeConfig.tickColor,
1444
+ strokeWidth: this.axisConfig.tickWidth
1445
+ }))
1446
+ });
1447
+ }
1448
+ return this.showTitle && e.push({
1449
+ type: "text",
1450
+ groupTexts: ["top-axis", "title"],
1451
+ data: [{
1452
+ text: this.title,
1453
+ x: this.boundingRect.x + this.boundingRect.width / 2,
1454
+ y: this.boundingRect.y + this.axisConfig.titlePadding,
1455
+ fill: this.axisThemeConfig.titleColor,
1456
+ fontSize: this.axisConfig.titleFontSize,
1457
+ rotation: 0,
1458
+ verticalPos: "top",
1459
+ horizontalPos: "center"
1460
+ }]
1461
+ }), e;
1462
+ }
1463
+ getDrawableElements() {
1464
+ if (this.axisPosition === "left") return this.getDrawableElementsForLeftAxis();
1465
+ if (this.axisPosition === "right") throw Error("Drawing of right axis is not implemented");
1466
+ return this.axisPosition === "bottom" ? this.getDrawableElementsForBottomAxis() : this.axisPosition === "top" ? this.getDrawableElementsForTopAxis() : [];
1467
+ }
1468
+ }, BandAxis = class extends BaseAxis {
1469
+ static #e = __name(this, "BandAxis");
1470
+ constructor(e, S, C, w, T) {
1471
+ super(e, w, T, S), this.categories = C, this.scale = band().domain(this.categories).range(this.getRange());
1472
+ }
1473
+ setRange(e) {
1474
+ super.setRange(e);
1475
+ }
1476
+ recalculateScale() {
1477
+ this.scale = band().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5), log.trace("BandAxis axis final categories, range: ", this.categories, this.getRange());
1478
+ }
1479
+ getTickValues() {
1480
+ return this.categories;
1481
+ }
1482
+ getScaleValue(e) {
1483
+ return this.scale(e) ?? this.getRange()[0];
1484
+ }
1485
+ }, LinearAxis = class extends BaseAxis {
1486
+ static #e = __name(this, "LinearAxis");
1487
+ constructor(e, S, C, w, T) {
1488
+ super(e, w, T, S), this.domain = C, this.scale = linear().domain(this.domain).range(this.getRange());
1489
+ }
1490
+ getTickValues() {
1491
+ return this.scale.ticks();
1492
+ }
1493
+ recalculateScale() {
1494
+ let e = [...this.domain];
1495
+ this.axisPosition === "left" && e.reverse(), this.scale = linear().domain(e).range(this.getRange());
1496
+ }
1497
+ getScaleValue(e) {
1498
+ return this.scale(e);
1499
+ }
1500
+ };
1501
+ function getAxis(e, S, C, w) {
1502
+ let T = new TextDimensionCalculatorWithFont(w);
1503
+ return isBandAxisData(e) ? new BandAxis(S, C, e.categories, e.title, T) : new LinearAxis(S, C, [e.min, e.max], e.title, T);
1504
+ }
1505
+ __name(getAxis, "getAxis");
1506
+ var ChartTitle = class {
1507
+ constructor(e, S, C, w) {
1508
+ this.textDimensionCalculator = e, this.chartConfig = S, this.chartData = C, this.chartThemeConfig = w, this.boundingRect = {
1509
+ x: 0,
1510
+ y: 0,
1511
+ width: 0,
1512
+ height: 0
1513
+ }, this.showChartTitle = !1;
1514
+ }
1515
+ static #e = __name(this, "ChartTitle");
1516
+ setBoundingBoxXY(e) {
1517
+ this.boundingRect.x = e.x, this.boundingRect.y = e.y;
1518
+ }
1519
+ calculateSpace(e) {
1520
+ let S = this.textDimensionCalculator.getMaxDimension([this.chartData.title], this.chartConfig.titleFontSize), C = Math.max(S.width, e.width), w = S.height + 2 * this.chartConfig.titlePadding;
1521
+ return S.width <= C && S.height <= w && this.chartConfig.showTitle && this.chartData.title && (this.boundingRect.width = C, this.boundingRect.height = w, this.showChartTitle = !0), {
1522
+ width: this.boundingRect.width,
1523
+ height: this.boundingRect.height
1524
+ };
1525
+ }
1526
+ getDrawableElements() {
1527
+ let e = [];
1528
+ return this.showChartTitle && e.push({
1529
+ groupTexts: ["chart-title"],
1530
+ type: "text",
1531
+ data: [{
1532
+ fontSize: this.chartConfig.titleFontSize,
1533
+ text: this.chartData.title,
1534
+ verticalPos: "middle",
1535
+ horizontalPos: "center",
1536
+ x: this.boundingRect.x + this.boundingRect.width / 2,
1537
+ y: this.boundingRect.y + this.boundingRect.height / 2,
1538
+ fill: this.chartThemeConfig.titleColor,
1539
+ rotation: 0
1540
+ }]
1541
+ }), e;
1542
+ }
1543
+ };
1544
+ function getChartTitleComponent(e, S, C, w) {
1545
+ return new ChartTitle(new TextDimensionCalculatorWithFont(w), e, S, C);
1546
+ }
1547
+ __name(getChartTitleComponent, "getChartTitleComponent");
1548
+ var LinePlot = class {
1549
+ constructor(e, S, C, w, T) {
1550
+ this.plotData = e, this.xAxis = S, this.yAxis = C, this.orientation = w, this.plotIndex = T;
1551
+ }
1552
+ static #e = __name(this, "LinePlot");
1553
+ getDrawableElement() {
1554
+ let e = this.plotData.data.map((e) => [this.xAxis.getScaleValue(e[0]), this.yAxis.getScaleValue(e[1])]), S;
1555
+ return S = this.orientation === "horizontal" ? line_default().y((e) => e[0]).x((e) => e[1])(e) : line_default().x((e) => e[0]).y((e) => e[1])(e), S ? [{
1556
+ groupTexts: ["plot", `line-plot-${this.plotIndex}`],
1557
+ type: "path",
1558
+ data: [{
1559
+ path: S,
1560
+ strokeFill: this.plotData.strokeFill,
1561
+ strokeWidth: this.plotData.strokeWidth
1562
+ }]
1563
+ }] : [];
1564
+ }
1565
+ }, BarPlot = class {
1566
+ constructor(e, S, C, w, T, E) {
1567
+ this.barData = e, this.boundingRect = S, this.xAxis = C, this.yAxis = w, this.orientation = T, this.plotIndex = E;
1568
+ }
1569
+ static #e = __name(this, "BarPlot");
1570
+ getDrawableElement() {
1571
+ let e = this.barData.data.map((e) => [this.xAxis.getScaleValue(e[0]), this.yAxis.getScaleValue(e[1])]), S = Math.min(this.xAxis.getAxisOuterPadding() * 2, this.xAxis.getTickDistance()) * .95, C = S / 2;
1572
+ return this.orientation === "horizontal" ? [{
1573
+ groupTexts: ["plot", `bar-plot-${this.plotIndex}`],
1574
+ type: "rect",
1575
+ data: e.map((e) => ({
1576
+ x: this.boundingRect.x,
1577
+ y: e[0] - C,
1578
+ height: S,
1579
+ width: e[1] - this.boundingRect.x,
1580
+ fill: this.barData.fill,
1581
+ strokeWidth: 0,
1582
+ strokeFill: this.barData.fill
1583
+ }))
1584
+ }] : [{
1585
+ groupTexts: ["plot", `bar-plot-${this.plotIndex}`],
1586
+ type: "rect",
1587
+ data: e.map((e) => ({
1588
+ x: e[0] - C,
1589
+ y: e[1],
1590
+ width: S,
1591
+ height: this.boundingRect.y + this.boundingRect.height - e[1],
1592
+ fill: this.barData.fill,
1593
+ strokeWidth: 0,
1594
+ strokeFill: this.barData.fill
1595
+ }))
1596
+ }];
1597
+ }
1598
+ }, BasePlot = class {
1599
+ constructor(e, S, C) {
1600
+ this.chartConfig = e, this.chartData = S, this.chartThemeConfig = C, this.boundingRect = {
1601
+ x: 0,
1602
+ y: 0,
1603
+ width: 0,
1604
+ height: 0
1605
+ };
1606
+ }
1607
+ static #e = __name(this, "BasePlot");
1608
+ setAxes(e, S) {
1609
+ this.xAxis = e, this.yAxis = S;
1610
+ }
1611
+ setBoundingBoxXY(e) {
1612
+ this.boundingRect.x = e.x, this.boundingRect.y = e.y;
1613
+ }
1614
+ calculateSpace(e) {
1615
+ return this.boundingRect.width = e.width, this.boundingRect.height = e.height, {
1616
+ width: this.boundingRect.width,
1617
+ height: this.boundingRect.height
1618
+ };
1619
+ }
1620
+ getDrawableElements() {
1621
+ if (!(this.xAxis && this.yAxis)) throw Error("Axes must be passed to render Plots");
1622
+ let e = [];
1623
+ for (let [S, C] of this.chartData.plots.entries()) switch (C.type) {
1624
+ case "line":
1625
+ {
1626
+ let w = new LinePlot(C, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, S);
1627
+ e.push(...w.getDrawableElement());
1628
+ }
1629
+ break;
1630
+ case "bar":
1631
+ {
1632
+ let w = new BarPlot(C, this.boundingRect, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, S);
1633
+ e.push(...w.getDrawableElement());
1634
+ }
1635
+ break;
1636
+ }
1637
+ return e;
1638
+ }
1639
+ };
1640
+ function getPlotComponent(e, S, C) {
1641
+ return new BasePlot(e, S, C);
1642
+ }
1643
+ __name(getPlotComponent, "getPlotComponent");
1644
+ var Orchestrator = class {
1645
+ constructor(e, S, C, w) {
1646
+ this.chartConfig = e, this.chartData = S, this.componentStore = {
1647
+ title: getChartTitleComponent(e, S, C, w),
1648
+ plot: getPlotComponent(e, S, C),
1649
+ xAxis: getAxis(S.xAxis, e.xAxis, {
1650
+ titleColor: C.xAxisTitleColor,
1651
+ labelColor: C.xAxisLabelColor,
1652
+ tickColor: C.xAxisTickColor,
1653
+ axisLineColor: C.xAxisLineColor
1654
+ }, w),
1655
+ yAxis: getAxis(S.yAxis, e.yAxis, {
1656
+ titleColor: C.yAxisTitleColor,
1657
+ labelColor: C.yAxisLabelColor,
1658
+ tickColor: C.yAxisTickColor,
1659
+ axisLineColor: C.yAxisLineColor
1660
+ }, w)
1661
+ };
1662
+ }
1663
+ static #e = __name(this, "Orchestrator");
1664
+ calculateVerticalSpace() {
1665
+ let e = this.chartConfig.width, S = this.chartConfig.height, C = 0, w = 0, T = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), E = Math.floor(S * this.chartConfig.plotReservedSpacePercent / 100), D = this.componentStore.plot.calculateSpace({
1666
+ width: T,
1667
+ height: E
1668
+ });
1669
+ e -= D.width, S -= D.height, D = this.componentStore.title.calculateSpace({
1670
+ width: this.chartConfig.width,
1671
+ height: S
1672
+ }), w = D.height, S -= D.height, this.componentStore.xAxis.setAxisPosition("bottom"), D = this.componentStore.xAxis.calculateSpace({
1673
+ width: e,
1674
+ height: S
1675
+ }), S -= D.height, this.componentStore.yAxis.setAxisPosition("left"), D = this.componentStore.yAxis.calculateSpace({
1676
+ width: e,
1677
+ height: S
1678
+ }), C = D.width, e -= D.width, e > 0 && (T += e, e = 0), S > 0 && (E += S, S = 0), this.componentStore.plot.calculateSpace({
1679
+ width: T,
1680
+ height: E
1681
+ }), this.componentStore.plot.setBoundingBoxXY({
1682
+ x: C,
1683
+ y: w
1684
+ }), this.componentStore.xAxis.setRange([C, C + T]), this.componentStore.xAxis.setBoundingBoxXY({
1685
+ x: C,
1686
+ y: w + E
1687
+ }), this.componentStore.yAxis.setRange([w, w + E]), this.componentStore.yAxis.setBoundingBoxXY({
1688
+ x: 0,
1689
+ y: w
1690
+ }), this.chartData.plots.some((e) => isBarPlot(e)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
1691
+ }
1692
+ calculateHorizontalSpace() {
1693
+ let e = this.chartConfig.width, S = this.chartConfig.height, C = 0, w = 0, T = 0, E = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), D = Math.floor(S * this.chartConfig.plotReservedSpacePercent / 100), O = this.componentStore.plot.calculateSpace({
1694
+ width: E,
1695
+ height: D
1696
+ });
1697
+ e -= O.width, S -= O.height, O = this.componentStore.title.calculateSpace({
1698
+ width: this.chartConfig.width,
1699
+ height: S
1700
+ }), C = O.height, S -= O.height, this.componentStore.xAxis.setAxisPosition("left"), O = this.componentStore.xAxis.calculateSpace({
1701
+ width: e,
1702
+ height: S
1703
+ }), e -= O.width, w = O.width, this.componentStore.yAxis.setAxisPosition("top"), O = this.componentStore.yAxis.calculateSpace({
1704
+ width: e,
1705
+ height: S
1706
+ }), S -= O.height, T = C + O.height, e > 0 && (E += e, e = 0), S > 0 && (D += S, S = 0), this.componentStore.plot.calculateSpace({
1707
+ width: E,
1708
+ height: D
1709
+ }), this.componentStore.plot.setBoundingBoxXY({
1710
+ x: w,
1711
+ y: T
1712
+ }), this.componentStore.yAxis.setRange([w, w + E]), this.componentStore.yAxis.setBoundingBoxXY({
1713
+ x: w,
1714
+ y: C
1715
+ }), this.componentStore.xAxis.setRange([T, T + D]), this.componentStore.xAxis.setBoundingBoxXY({
1716
+ x: 0,
1717
+ y: T
1718
+ }), this.chartData.plots.some((e) => isBarPlot(e)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
1719
+ }
1720
+ calculateSpace() {
1721
+ this.chartConfig.chartOrientation === "horizontal" ? this.calculateHorizontalSpace() : this.calculateVerticalSpace();
1722
+ }
1723
+ getDrawableElement() {
1724
+ this.calculateSpace();
1725
+ let e = [];
1726
+ this.componentStore.plot.setAxes(this.componentStore.xAxis, this.componentStore.yAxis);
1727
+ for (let S of Object.values(this.componentStore)) e.push(...S.getDrawableElements());
1728
+ return e;
1729
+ }
1730
+ }, XYChartBuilder = class {
1731
+ static #e = __name(this, "XYChartBuilder");
1732
+ static build(e, S, C, w) {
1733
+ return new Orchestrator(e, S, C, w).getDrawableElement();
1734
+ }
1735
+ }, plotIndex = 0, tmpSVGGroup, xyChartConfig = getChartDefaultConfig(), xyChartThemeConfig = getChartDefaultThemeConfig(), xyChartData = getChartDefaultData(), plotColorPalette = xyChartThemeConfig.plotColorPalette.split(",").map((e) => e.trim()), hasSetXAxis = !1, hasSetYAxis = !1;
1736
+ function getChartDefaultThemeConfig() {
1737
+ let e = getThemeVariables3(), S = getConfig();
1738
+ return cleanAndMerge(e.xyChart, S.themeVariables.xyChart);
1739
+ }
1740
+ __name(getChartDefaultThemeConfig, "getChartDefaultThemeConfig");
1741
+ function getChartDefaultConfig() {
1742
+ let e = getConfig();
1743
+ return cleanAndMerge(defaultConfig_default.xyChart, e.xyChart);
1744
+ }
1745
+ __name(getChartDefaultConfig, "getChartDefaultConfig");
1746
+ function getChartDefaultData() {
1747
+ return {
1748
+ yAxis: {
1749
+ type: "linear",
1750
+ title: "",
1751
+ min: Infinity,
1752
+ max: -Infinity
1753
+ },
1754
+ xAxis: {
1755
+ type: "band",
1756
+ title: "",
1757
+ categories: []
1758
+ },
1759
+ title: "",
1760
+ plots: []
1761
+ };
1762
+ }
1763
+ __name(getChartDefaultData, "getChartDefaultData");
1764
+ function textSanitizer(e) {
1765
+ let S = getConfig();
1766
+ return sanitizeText(e.trim(), S);
1767
+ }
1768
+ __name(textSanitizer, "textSanitizer");
1769
+ function setTmpSVGG(e) {
1770
+ tmpSVGGroup = e;
1771
+ }
1772
+ __name(setTmpSVGG, "setTmpSVGG");
1773
+ function setOrientation(e) {
1774
+ e === "horizontal" ? xyChartConfig.chartOrientation = "horizontal" : xyChartConfig.chartOrientation = "vertical";
1775
+ }
1776
+ __name(setOrientation, "setOrientation");
1777
+ function setXAxisTitle(e) {
1778
+ xyChartData.xAxis.title = textSanitizer(e.text);
1779
+ }
1780
+ __name(setXAxisTitle, "setXAxisTitle");
1781
+ function setXAxisRangeData(e, S) {
1782
+ xyChartData.xAxis = {
1783
+ type: "linear",
1784
+ title: xyChartData.xAxis.title,
1785
+ min: e,
1786
+ max: S
1787
+ }, hasSetXAxis = !0;
1788
+ }
1789
+ __name(setXAxisRangeData, "setXAxisRangeData");
1790
+ function setXAxisBand(e) {
1791
+ xyChartData.xAxis = {
1792
+ type: "band",
1793
+ title: xyChartData.xAxis.title,
1794
+ categories: e.map((e) => textSanitizer(e.text))
1795
+ }, hasSetXAxis = !0;
1796
+ }
1797
+ __name(setXAxisBand, "setXAxisBand");
1798
+ function setYAxisTitle(e) {
1799
+ xyChartData.yAxis.title = textSanitizer(e.text);
1800
+ }
1801
+ __name(setYAxisTitle, "setYAxisTitle");
1802
+ function setYAxisRangeData(e, S) {
1803
+ xyChartData.yAxis = {
1804
+ type: "linear",
1805
+ title: xyChartData.yAxis.title,
1806
+ min: e,
1807
+ max: S
1808
+ }, hasSetYAxis = !0;
1809
+ }
1810
+ __name(setYAxisRangeData, "setYAxisRangeData");
1811
+ function setYAxisRangeFromPlotData(e) {
1812
+ let S = Math.min(...e), C = Math.max(...e), w = isLinearAxisData(xyChartData.yAxis) ? xyChartData.yAxis.min : Infinity, T = isLinearAxisData(xyChartData.yAxis) ? xyChartData.yAxis.max : -Infinity;
1813
+ xyChartData.yAxis = {
1814
+ type: "linear",
1815
+ title: xyChartData.yAxis.title,
1816
+ min: Math.min(w, S),
1817
+ max: Math.max(T, C)
1818
+ };
1819
+ }
1820
+ __name(setYAxisRangeFromPlotData, "setYAxisRangeFromPlotData");
1821
+ function transformDataWithoutCategory(e) {
1822
+ let S = [];
1823
+ if (e.length === 0) return S;
1824
+ if (!hasSetXAxis) {
1825
+ let S = isLinearAxisData(xyChartData.xAxis) ? xyChartData.xAxis.min : Infinity, C = isLinearAxisData(xyChartData.xAxis) ? xyChartData.xAxis.max : -Infinity;
1826
+ setXAxisRangeData(Math.min(S, 1), Math.max(C, e.length));
1827
+ }
1828
+ if (hasSetYAxis || setYAxisRangeFromPlotData(e), isBandAxisData(xyChartData.xAxis) && (S = xyChartData.xAxis.categories.map((S, C) => [S, e[C]])), isLinearAxisData(xyChartData.xAxis)) {
1829
+ let C = xyChartData.xAxis.min, w = xyChartData.xAxis.max, T = (w - C) / (e.length - 1), E = [];
1830
+ for (let e = C; e <= w; e += T) E.push(`${e}`);
1831
+ S = E.map((S, C) => [S, e[C]]);
1832
+ }
1833
+ return S;
1834
+ }
1835
+ __name(transformDataWithoutCategory, "transformDataWithoutCategory");
1836
+ function getPlotColorFromPalette(e) {
1837
+ return plotColorPalette[e === 0 ? 0 : e % plotColorPalette.length];
1838
+ }
1839
+ __name(getPlotColorFromPalette, "getPlotColorFromPalette");
1840
+ function setLineData(e, S) {
1841
+ let C = transformDataWithoutCategory(S);
1842
+ xyChartData.plots.push({
1843
+ type: "line",
1844
+ strokeFill: getPlotColorFromPalette(plotIndex),
1845
+ strokeWidth: 2,
1846
+ data: C
1847
+ }), plotIndex++;
1848
+ }
1849
+ __name(setLineData, "setLineData");
1850
+ function setBarData(e, S) {
1851
+ let C = transformDataWithoutCategory(S);
1852
+ xyChartData.plots.push({
1853
+ type: "bar",
1854
+ fill: getPlotColorFromPalette(plotIndex),
1855
+ data: C
1856
+ }), plotIndex++;
1857
+ }
1858
+ __name(setBarData, "setBarData");
1859
+ function getDrawableElem() {
1860
+ if (xyChartData.plots.length === 0) throw Error("No Plot to render, please provide a plot with some data");
1861
+ return xyChartData.title = getDiagramTitle(), XYChartBuilder.build(xyChartConfig, xyChartData, xyChartThemeConfig, tmpSVGGroup);
1862
+ }
1863
+ __name(getDrawableElem, "getDrawableElem");
1864
+ function getChartThemeConfig() {
1865
+ return xyChartThemeConfig;
1866
+ }
1867
+ __name(getChartThemeConfig, "getChartThemeConfig");
1868
+ function getChartConfig() {
1869
+ return xyChartConfig;
1870
+ }
1871
+ __name(getChartConfig, "getChartConfig");
1872
+ function getXYChartData() {
1873
+ return xyChartData;
1874
+ }
1875
+ __name(getXYChartData, "getXYChartData");
1876
+ var diagram = {
1877
+ parser: xychart_default,
1878
+ db: {
1879
+ getDrawableElem,
1880
+ clear: /* @__PURE__ */ __name(function() {
1881
+ clear(), plotIndex = 0, xyChartConfig = getChartDefaultConfig(), xyChartData = getChartDefaultData(), xyChartThemeConfig = getChartDefaultThemeConfig(), plotColorPalette = xyChartThemeConfig.plotColorPalette.split(",").map((e) => e.trim()), hasSetXAxis = !1, hasSetYAxis = !1;
1882
+ }, "clear"),
1883
+ setAccTitle,
1884
+ getAccTitle,
1885
+ setDiagramTitle,
1886
+ getDiagramTitle,
1887
+ getAccDescription,
1888
+ setAccDescription,
1889
+ setOrientation,
1890
+ setXAxisTitle,
1891
+ setXAxisRangeData,
1892
+ setXAxisBand,
1893
+ setYAxisTitle,
1894
+ setYAxisRangeData,
1895
+ setLineData,
1896
+ setBarData,
1897
+ setTmpSVGG,
1898
+ getChartThemeConfig,
1899
+ getChartConfig,
1900
+ getXYChartData
1901
+ },
1902
+ renderer: { draw: /* @__PURE__ */ __name((C, T, E, D) => {
1903
+ let O = D.db, k = O.getChartThemeConfig(), A = O.getChartConfig(), j = O.getXYChartData().plots[0].data.map((e) => e[1]);
1904
+ function M(e) {
1905
+ return e === "top" ? "text-before-edge" : "middle";
1906
+ }
1907
+ __name(M, "getDominantBaseLine");
1908
+ function N(e) {
1909
+ return e === "left" ? "start" : e === "right" ? "end" : "middle";
1910
+ }
1911
+ __name(N, "getTextAnchor");
1912
+ function P(e) {
1913
+ return `translate(${e.x}, ${e.y}) rotate(${e.rotation || 0})`;
1914
+ }
1915
+ __name(P, "getTextTransformation"), log.debug("Rendering xychart chart\n" + C);
1916
+ let F = selectSvgElement(T), I = F.append("g").attr("class", "main"), L = I.append("rect").attr("width", A.width).attr("height", A.height).attr("class", "background");
1917
+ configureSvgSize(F, A.height, A.width, !0), F.attr("viewBox", `0 0 ${A.width} ${A.height}`), L.attr("fill", k.backgroundColor), O.setTmpSVGG(F.append("g").attr("class", "mermaid-tmp-group"));
1918
+ let z = O.getDrawableElem(), B = {};
1919
+ function V(e) {
1920
+ let S = I, C = "";
1921
+ for (let [w] of e.entries()) {
1922
+ let T = I;
1923
+ w > 0 && B[C] && (T = B[C]), C += e[w], S = B[C], S ||= B[C] = T.append("g").attr("class", e[w]);
1924
+ }
1925
+ return S;
1926
+ }
1927
+ __name(V, "getGroup");
1928
+ for (let S of z) {
1929
+ if (S.data.length === 0) continue;
1930
+ let C = V(S.groupTexts);
1931
+ switch (S.type) {
1932
+ case "rect":
1933
+ if (C.selectAll("rect").data(S.data).enter().append("rect").attr("x", (e) => e.x).attr("y", (e) => e.y).attr("width", (e) => e.width).attr("height", (e) => e.height).attr("fill", (e) => e.fill).attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth), A.showDataLabel) if (A.chartOrientation === "horizontal") {
1934
+ let w = function(e, S) {
1935
+ let { data: C, label: w } = e;
1936
+ return S * w.length * T <= C.width - 10;
1937
+ };
1938
+ __name(w, "fitsHorizontally");
1939
+ let T = .7, E = S.data.map((e, S) => ({
1940
+ data: e,
1941
+ label: j[S].toString()
1942
+ })).filter((e) => e.data.width > 0 && e.data.height > 0), D = E.map((e) => {
1943
+ let { data: S } = e, C = S.height * .7;
1944
+ for (; !w(e, C) && C > 0;) --C;
1945
+ return C;
1946
+ }), O = Math.floor(Math.min(...D));
1947
+ C.selectAll("text").data(E).enter().append("text").attr("x", (e) => e.data.x + e.data.width - 10).attr("y", (e) => e.data.y + e.data.height / 2).attr("text-anchor", "end").attr("dominant-baseline", "middle").attr("fill", "black").attr("font-size", `${O}px`).text((e) => e.label);
1948
+ } else {
1949
+ let w = function(e, S, C) {
1950
+ let { data: w, label: T } = e, E = S * T.length * .7, D = w.x + w.width / 2, O = D - E / 2, k = D + E / 2, A = O >= w.x && k <= w.x + w.width, j = w.y + C + S <= w.y + w.height;
1951
+ return A && j;
1952
+ };
1953
+ __name(w, "fitsInBar");
1954
+ let T = S.data.map((e, S) => ({
1955
+ data: e,
1956
+ label: j[S].toString()
1957
+ })).filter((e) => e.data.width > 0 && e.data.height > 0), E = T.map((e) => {
1958
+ let { data: S, label: C } = e, T = S.width / (C.length * .7);
1959
+ for (; !w(e, T, 10) && T > 0;) --T;
1960
+ return T;
1961
+ }), D = Math.floor(Math.min(...E));
1962
+ C.selectAll("text").data(T).enter().append("text").attr("x", (e) => e.data.x + e.data.width / 2).attr("y", (e) => e.data.y + 10).attr("text-anchor", "middle").attr("dominant-baseline", "hanging").attr("fill", "black").attr("font-size", `${D}px`).text((e) => e.label);
1963
+ }
1964
+ break;
1965
+ case "text":
1966
+ C.selectAll("text").data(S.data).enter().append("text").attr("x", 0).attr("y", 0).attr("fill", (e) => e.fill).attr("font-size", (e) => e.fontSize).attr("dominant-baseline", (e) => M(e.verticalPos)).attr("text-anchor", (e) => N(e.horizontalPos)).attr("transform", (e) => P(e)).text((e) => e.text);
1967
+ break;
1968
+ case "path":
1969
+ C.selectAll("path").data(S.data).enter().append("path").attr("d", (e) => e.path).attr("fill", (e) => e.fill ? e.fill : "none").attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth);
1970
+ break;
1971
+ }
1972
+ }
1973
+ }, "draw") }
1974
+ };
1975
+ export { diagram };