@sme.up/ketchup2 2.0.0 → 2.1.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 (365) hide show
  1. package/dist/arc-CqG9Hxdf.cjs +1 -0
  2. package/dist/arc-Klgb378K.js +80 -0
  3. package/dist/architecture-YZFGNWBL-BRqToLcm.js +3 -0
  4. package/dist/architecture-YZFGNWBL-BTOWQWD9.cjs +1 -0
  5. package/dist/architectureDiagram-Q4EWVU46-JSjagcXX.cjs +36 -0
  6. package/dist/architectureDiagram-Q4EWVU46-u2vgZv3N.js +4057 -0
  7. package/dist/array-D8NZ46Ht.js +6 -0
  8. package/dist/array-Dxz0O8Q3.cjs +1 -0
  9. package/dist/assets/imageListAssets.d.ts +3 -1
  10. package/dist/assets/imageListAssets.d.ts.map +1 -1
  11. package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
  12. package/dist/basic-components/list/list-types.d.ts +0 -1
  13. package/dist/basic-components/list/list-types.d.ts.map +1 -1
  14. package/dist/basic-components/list/list.d.ts.map +1 -1
  15. package/dist/basic-components/notification/notification.assets.d.ts.map +1 -1
  16. package/dist/basic-components/select/select.d.ts.map +1 -1
  17. package/dist/basic-components/text-editor/text-editor-utils.d.ts.map +1 -1
  18. package/dist/blockDiagram-DXYQGD6D-BpB6_kTP.js +3033 -0
  19. package/dist/blockDiagram-DXYQGD6D-DlcDXSwH.cjs +132 -0
  20. package/dist/c4Diagram-AHTNJAMY-B5Z8nO1s.js +2961 -0
  21. package/dist/c4Diagram-AHTNJAMY-CX5IjREU.cjs +10 -0
  22. package/dist/channel-BY9Lkyz7.cjs +1 -0
  23. package/dist/channel-BqNr2cYO.js +5 -0
  24. package/dist/chunk-2KRD3SAO-Ca3zDQyj.js +23 -0
  25. package/dist/chunk-2KRD3SAO-oZrIWZvV.cjs +1 -0
  26. package/dist/chunk-336JU56O-CuXRn1VH.cjs +1 -0
  27. package/dist/chunk-336JU56O-xKPgkG3O.js +49 -0
  28. package/dist/chunk-426QAEUC-Df31vuwu.cjs +1 -0
  29. package/dist/chunk-426QAEUC-JjFVHKYG.js +9 -0
  30. package/dist/chunk-4BX2VUAB-BW54-JWg.js +8 -0
  31. package/dist/chunk-4BX2VUAB-Qba52sxc.cjs +1 -0
  32. package/dist/chunk-4TB4RGXK-CKyHmNcP.js +3253 -0
  33. package/dist/chunk-4TB4RGXK-DdKJIFS5.cjs +206 -0
  34. package/dist/chunk-55IACEB6-Bu3k0Yz5.js +8 -0
  35. package/dist/chunk-55IACEB6-DPatBzu7.cjs +1 -0
  36. package/dist/chunk-5FUZZQ4R-2kdZJWq2.js +3638 -0
  37. package/dist/chunk-5FUZZQ4R-D_vnCbAb.cjs +62 -0
  38. package/dist/chunk-5PVQY5BW-C5U7sJAA.js +1299 -0
  39. package/dist/chunk-5PVQY5BW-CfQDYQZt.cjs +2 -0
  40. package/dist/chunk-67CJDMHE-2Qg7i1xJ.cjs +1 -0
  41. package/dist/chunk-67CJDMHE-YMBkJcAO.js +23 -0
  42. package/dist/chunk-7N4EOEYR-C-GuhRgW.js +35 -0
  43. package/dist/chunk-7N4EOEYR-jNBQwvHx.cjs +1 -0
  44. package/dist/chunk-AA7GKIK3-B_ZB6dou.js +30 -0
  45. package/dist/chunk-AA7GKIK3-dqnTmnvO.cjs +1 -0
  46. package/dist/chunk-BSJP7CBP-CFzYPvgr.cjs +1 -0
  47. package/dist/chunk-BSJP7CBP-oNTXVRA7.js +82 -0
  48. package/dist/chunk-CIAEETIT-ClHUj0Su.cjs +1 -0
  49. package/dist/chunk-CIAEETIT-XlxsAz-4.js +23 -0
  50. package/dist/chunk-D-IZpNpi.cjs +1 -0
  51. package/dist/chunk-EDXVE4YY-BZsJORf8.cjs +1 -0
  52. package/dist/chunk-EDXVE4YY-Bzf4FU3i.js +25 -0
  53. package/dist/chunk-ENJZ2VHE-BluGQPyl.js +560 -0
  54. package/dist/chunk-ENJZ2VHE-CwgVASaU.cjs +10 -0
  55. package/dist/{chunk-FMBD7UC4-C1wIcaJH.js → chunk-FMBD7UC4-CS9_r76V.cjs} +2 -6
  56. package/dist/chunk-FMBD7UC4-RRSc9jqt.js +5 -0
  57. package/dist/chunk-FOC6F5B3-DcZs851j.cjs +1 -0
  58. package/dist/chunk-FOC6F5B3-E9n6-juB.js +23 -0
  59. package/dist/chunk-ICPOFSXX-CoaJw-IT.cjs +122 -0
  60. package/dist/chunk-ICPOFSXX-Sn6LWD0k.js +3316 -0
  61. package/dist/chunk-K5T4RW27-BzDQkjC7.cjs +94 -0
  62. package/dist/chunk-K5T4RW27-DY7TOEqa.js +16070 -0
  63. package/dist/chunk-KGLVRYIC-5OJpfQCj.js +23 -0
  64. package/dist/chunk-KGLVRYIC-DnbIkai8.cjs +1 -0
  65. package/dist/chunk-LIHQZDEY-59I4-LWb.js +64 -0
  66. package/dist/chunk-LIHQZDEY-CrogR3nT.cjs +1 -0
  67. package/dist/chunk-ORNJ4GCN-CcrEtiCn.cjs +1 -0
  68. package/dist/chunk-ORNJ4GCN-CwkOSFbS.js +31 -0
  69. package/dist/chunk-OYMX7WX6-BCT45RPu.cjs +231 -0
  70. package/dist/chunk-OYMX7WX6-BQADsxYi.js +2014 -0
  71. package/dist/chunk-QZHKN3VN-Bx8I6l3c.js +15 -0
  72. package/dist/chunk-QZHKN3VN-CSMKL2rB.cjs +1 -0
  73. package/dist/chunk-U2HBQHQK-BZ3YFMXB.js +1879 -0
  74. package/dist/chunk-U2HBQHQK-D0AoQWxK.cjs +70 -0
  75. package/dist/chunk-WQLz0Won.js +20 -0
  76. package/dist/chunk-X2U36JSP-CY7mJR8m.js +67 -0
  77. package/dist/chunk-X2U36JSP-D1RYKjVc.cjs +1 -0
  78. package/dist/chunk-XPW4576I-BcWkx-AL.js +1146 -0
  79. package/dist/chunk-XPW4576I-D8Pp6a3j.cjs +32 -0
  80. package/dist/chunk-YZCP3GAM-9K9WNdyN.js +60 -0
  81. package/dist/chunk-YZCP3GAM-BmaAafMm.cjs +1 -0
  82. package/dist/chunk-ZZ45TVLE-AQQsnXy4.cjs +1 -0
  83. package/dist/chunk-ZZ45TVLE-CIYrdg-O.js +32 -0
  84. package/dist/classDiagram-6PBFFD2Q-B6betnLH.cjs +1 -0
  85. package/dist/classDiagram-6PBFFD2Q-XGxl_AeB.js +29 -0
  86. package/dist/classDiagram-v2-HSJHXN6E-CwayYG4G.js +29 -0
  87. package/dist/classDiagram-v2-HSJHXN6E-Dda8WDvn.cjs +1 -0
  88. package/dist/clone-Dn__H8fX.js +8 -0
  89. package/dist/clone-lShkT11Q.cjs +1 -0
  90. package/dist/components/image-list/components/image-list-command-panel.d.ts +15 -0
  91. package/dist/components/image-list/components/image-list-command-panel.d.ts.map +1 -0
  92. package/dist/components/image-list/components/image-list-command-trigger.d.ts +16 -0
  93. package/dist/components/image-list/components/image-list-command-trigger.d.ts.map +1 -0
  94. package/dist/components/image-list/components/image-list-filter-picker.d.ts +14 -0
  95. package/dist/components/image-list/components/image-list-filter-picker.d.ts.map +1 -0
  96. package/dist/components/image-list/components/image-list-h-strip.d.ts.map +1 -1
  97. package/dist/components/image-list/components/image-list-json-viewer.d.ts +11 -0
  98. package/dist/components/image-list/components/image-list-json-viewer.d.ts.map +1 -0
  99. package/dist/components/image-list/components/image-list-menu.d.ts.map +1 -1
  100. package/dist/components/image-list/components/image-list-navigation-picker.d.ts +6 -2
  101. package/dist/components/image-list/components/image-list-navigation-picker.d.ts.map +1 -1
  102. package/dist/components/image-list/components/image-list-sort-picker.d.ts +14 -0
  103. package/dist/components/image-list/components/image-list-sort-picker.d.ts.map +1 -0
  104. package/dist/components/image-list/components/image-list-v-strip.d.ts.map +1 -1
  105. package/dist/components/image-list/components/items/image-list-card-item.d.ts +5 -0
  106. package/dist/components/image-list/components/items/image-list-card-item.d.ts.map +1 -0
  107. package/dist/components/image-list/components/items/image-list-folder-item.d.ts.map +1 -1
  108. package/dist/components/image-list/components/items/image-list-item.d.ts.map +1 -1
  109. package/dist/components/image-list/components/menu-nav-item.d.ts.map +1 -1
  110. package/dist/components/image-list/components/navigation-modes/image-list-catalog.d.ts.map +1 -1
  111. package/dist/components/image-list/components/navigation-modes/image-list-explorer.d.ts.map +1 -1
  112. package/dist/components/image-list/components/navigation-modes/image-list-tree.d.ts.map +1 -1
  113. package/dist/components/image-list/components/strip-item.d.ts.map +1 -1
  114. package/dist/components/image-list/hooks/useCommandPickers.d.ts +13 -0
  115. package/dist/components/image-list/hooks/useCommandPickers.d.ts.map +1 -0
  116. package/dist/components/image-list/image-list-column-utils.d.ts +9 -0
  117. package/dist/components/image-list/image-list-column-utils.d.ts.map +1 -0
  118. package/dist/components/image-list/image-list-context.d.ts +5 -2
  119. package/dist/components/image-list/image-list-context.d.ts.map +1 -1
  120. package/dist/components/image-list/image-list-debug-utils.d.ts +13 -0
  121. package/dist/components/image-list/image-list-debug-utils.d.ts.map +1 -0
  122. package/dist/components/image-list/image-list-filter-context.d.ts +9 -0
  123. package/dist/components/image-list/image-list-filter-context.d.ts.map +1 -0
  124. package/dist/components/image-list/image-list-filter-utils.d.ts +12 -0
  125. package/dist/components/image-list/image-list-filter-utils.d.ts.map +1 -0
  126. package/dist/components/image-list/image-list-sort-context.d.ts +9 -0
  127. package/dist/components/image-list/image-list-sort-context.d.ts.map +1 -0
  128. package/dist/components/image-list/image-list-sort-utils.d.ts +13 -0
  129. package/dist/components/image-list/image-list-sort-utils.d.ts.map +1 -0
  130. package/dist/components/image-list/image-list-state-context.d.ts +5 -0
  131. package/dist/components/image-list/image-list-state-context.d.ts.map +1 -0
  132. package/dist/components/image-list/image-list-types.d.ts +45 -2
  133. package/dist/components/image-list/image-list-types.d.ts.map +1 -1
  134. package/dist/components/image-list/image-list-utils.d.ts +24 -1
  135. package/dist/components/image-list/image-list-utils.d.ts.map +1 -1
  136. package/dist/components/image-list/image-list.d.ts +1 -1
  137. package/dist/components/image-list/image-list.d.ts.map +1 -1
  138. package/dist/cose-bilkent-S5V4N54A-B30Rh9DR.js +2250 -0
  139. package/dist/cose-bilkent-S5V4N54A-Bhdp-wcb.cjs +1 -0
  140. package/dist/cytoscape.esm-CPjF_mSK.js +18100 -0
  141. package/dist/cytoscape.esm-CrBwLFXE.cjs +321 -0
  142. package/dist/dagre-BjnWDdkw.cjs +1 -0
  143. package/dist/dagre-DVLnxd7n.js +1606 -0
  144. package/dist/dagre-KV5264BT-BjqayRYC.js +293 -0
  145. package/dist/dagre-KV5264BT-BvInGAUC.cjs +4 -0
  146. package/dist/defaultLocale-Dcyuaxxg.js +201 -0
  147. package/dist/defaultLocale-DtzyZW63.cjs +1 -0
  148. package/dist/diagram-5BDNPKRD-Bk7depC0.js +101 -0
  149. package/dist/diagram-5BDNPKRD-D6EXksHo.cjs +10 -0
  150. package/dist/diagram-G4DWMVQ6-BkQnbCLv.js +524 -0
  151. package/dist/diagram-G4DWMVQ6-CJASbR70.cjs +24 -0
  152. package/dist/diagram-MMDJMWI5-DEt7jQx9.cjs +43 -0
  153. package/dist/diagram-MMDJMWI5-DUUVPi55.js +213 -0
  154. package/dist/diagram-TYMM5635-5auoAFCi.cjs +24 -0
  155. package/dist/diagram-TYMM5635-Cpj8wfoJ.js +133 -0
  156. package/dist/dist-BgvMZbfo.cjs +1 -0
  157. package/dist/dist-DL30VIBI.js +60 -0
  158. package/dist/erDiagram-SMLLAGMA-DVUT6TBy.cjs +85 -0
  159. package/dist/erDiagram-SMLLAGMA-D_ByPk0C.js +1700 -0
  160. package/dist/flatten-BE1bWL-7.js +40 -0
  161. package/dist/flatten-DxvYSoR8.cjs +1 -0
  162. package/dist/flowDiagram-DWJPFMVM-BWrkDnqc.js +4145 -0
  163. package/dist/flowDiagram-DWJPFMVM-BbK42NaF.cjs +162 -0
  164. package/dist/functional-components/action/action-types.d.ts +6 -1
  165. package/dist/functional-components/action/action-types.d.ts.map +1 -1
  166. package/dist/functional-components/action/action.d.ts.map +1 -1
  167. package/dist/ganttDiagram-T4ZO3ILL-DUi8jF9H.cjs +292 -0
  168. package/dist/ganttDiagram-T4ZO3ILL-LuaYkUvj.js +3077 -0
  169. package/dist/gitGraph-7Q5UKJZL-DZea3ltD.cjs +1 -0
  170. package/dist/gitGraph-7Q5UKJZL-sjlqDwJ_.js +3 -0
  171. package/dist/gitGraphDiagram-UUTBAWPF-D-tMWUQ1.cjs +106 -0
  172. package/dist/gitGraphDiagram-UUTBAWPF-DKkENwcV.js +728 -0
  173. package/dist/graphlib-Cpifseqb.js +373 -0
  174. package/dist/graphlib-HdfvGLpV.cjs +1 -0
  175. package/dist/hooks/useClickOutside.d.ts.map +1 -1
  176. package/dist/identity-KQSjemTb.cjs +1 -0
  177. package/dist/identity-g0dsMjx7.js +393 -0
  178. package/dist/info-OMHHGYJF-Bk0VWVNW.js +3 -0
  179. package/dist/info-OMHHGYJF-C8QtwF0k.cjs +1 -0
  180. package/dist/infoDiagram-42DDH7IO-CH5xHj8H.cjs +2 -0
  181. package/dist/infoDiagram-42DDH7IO-CLkQPFe0.js +19 -0
  182. package/dist/init-B2MubQrj.cjs +1 -0
  183. package/dist/init-BO60vQHJ.js +15 -0
  184. package/dist/isEmpty-CA3kJuev.cjs +1 -0
  185. package/dist/isEmpty-RwX-oIQS.js +35 -0
  186. package/dist/ishikawaDiagram-UXIWVN3A-Cl3Ivm8H.cjs +70 -0
  187. package/dist/ishikawaDiagram-UXIWVN3A-DqbVPChK.js +718 -0
  188. package/dist/journeyDiagram-VCZTEJTY-DudduR0c.js +883 -0
  189. package/dist/journeyDiagram-VCZTEJTY-XRc0J8gM.cjs +139 -0
  190. package/dist/kanban-definition-6JOO6SKY-Br87atRc.cjs +89 -0
  191. package/dist/kanban-definition-6JOO6SKY-DzEqE64J.js +973 -0
  192. package/dist/katex-Du5WiYIy.js +22000 -0
  193. package/dist/katex-SAH56fvc.cjs +257 -0
  194. package/dist/ketchup2.cjs.js +190 -1
  195. package/dist/ketchup2.css +2 -1
  196. package/dist/ketchup2.es.js +132419 -52
  197. package/dist/line-BbHmiwbs.cjs +1 -0
  198. package/dist/line-JyRBGWft.js +34 -0
  199. package/dist/linear-BsPvNLJv.js +289 -0
  200. package/dist/linear-CxHa1DsM.cjs +1 -0
  201. package/dist/mermaid-parser.core-CERDf-UG.js +69 -0
  202. package/dist/mermaid-parser.core-DHpvGOZR.cjs +3 -0
  203. package/dist/mindmap-definition-QFDTVHPH-BCq8zmLt.cjs +96 -0
  204. package/dist/mindmap-definition-QFDTVHPH-NGjPQ5SM.js +978 -0
  205. package/dist/ordinal-C-VoL0XF.js +65 -0
  206. package/dist/ordinal-Civr0hZL.cjs +1 -0
  207. package/dist/packet-4T2RLAQJ-X0BMsNFj.js +3 -0
  208. package/dist/packet-4T2RLAQJ-lvmQnXPI.cjs +1 -0
  209. package/dist/path-Civic7PQ.cjs +1 -0
  210. package/dist/path-CvfwEr8y.js +85 -0
  211. package/dist/pie-ZZUOXDRM-CJ_fU5k1.js +3 -0
  212. package/dist/pie-ZZUOXDRM-Dp4APKqR.cjs +1 -0
  213. package/dist/pieDiagram-DEJITSTG-CK4xy0PS.cjs +30 -0
  214. package/dist/pieDiagram-DEJITSTG-DTeyzHmB.js +165 -0
  215. package/dist/quadrantDiagram-34T5L4WZ-CCcJIf91.js +1974 -0
  216. package/dist/quadrantDiagram-34T5L4WZ-D-_iiK79.cjs +7 -0
  217. package/dist/radar-PYXPWWZC-BHWJy_E1.cjs +1 -0
  218. package/dist/radar-PYXPWWZC-DgZIW9Ah.js +3 -0
  219. package/dist/reduce-B7WW9rkU.cjs +1 -0
  220. package/dist/reduce-DNnkcf3M.js +532 -0
  221. package/dist/requirementDiagram-MS252O5E-BdOanuYe.js +2221 -0
  222. package/dist/requirementDiagram-MS252O5E-EfY029Xj.cjs +84 -0
  223. package/dist/rough.esm-1mqTSjCt.js +1352 -0
  224. package/dist/rough.esm-BLKo1fIQ.cjs +1 -0
  225. package/dist/sankeyDiagram-XADWPNL6-3jlM2UcU.cjs +10 -0
  226. package/dist/sankeyDiagram-XADWPNL6-3wviN_U4.js +920 -0
  227. package/dist/sequenceDiagram-FGHM5R23-DC8SjhFN.js +4157 -0
  228. package/dist/sequenceDiagram-FGHM5R23-lK1G3QLN.cjs +157 -0
  229. package/dist/src-BQiFKP24.js +2146 -0
  230. package/dist/src-DFxq-N5I.cjs +1 -0
  231. package/dist/stateDiagram-FHFEXIEX-DnkzFphf.js +217 -0
  232. package/dist/stateDiagram-FHFEXIEX-DsQigFuR.cjs +1 -0
  233. package/dist/stateDiagram-v2-QKLJ7IA2-2v8JiIJr.js +27 -0
  234. package/dist/stateDiagram-v2-QKLJ7IA2-UKKfWPoT.cjs +1 -0
  235. package/dist/timeline-definition-GMOUNBTQ-CBnYBWN0.js +1068 -0
  236. package/dist/timeline-definition-GMOUNBTQ-DWpngnE4.cjs +120 -0
  237. package/dist/treeView-SZITEDCU-CT5vX0q9.cjs +1 -0
  238. package/dist/treeView-SZITEDCU-Df3xzFtO.js +3 -0
  239. package/dist/treemap-W4RFUUIX-Bk_jVZ7D.cjs +1 -0
  240. package/dist/treemap-W4RFUUIX-ClUtdSdn.js +3 -0
  241. package/dist/utils/translation.d.ts.map +1 -1
  242. package/dist/v4-6yr83DbP.cjs +1 -0
  243. package/dist/v4-BR71w5_q.js +33 -0
  244. package/dist/vennDiagram-DHZGUBPP-D-kj-sVU.cjs +34 -0
  245. package/dist/vennDiagram-DHZGUBPP-M-kkEkXj.js +1858 -0
  246. package/dist/wardley-RL74JXVD-BtHQbnUy.js +3 -0
  247. package/dist/wardley-RL74JXVD-y8RO5Iqv.cjs +1 -0
  248. package/dist/wardleyDiagram-NUSXRM2D-CUX1SYhw.js +578 -0
  249. package/dist/wardleyDiagram-NUSXRM2D-thoOuA_D.cjs +20 -0
  250. package/dist/xychartDiagram-5P7HB3ND-1cXRZ1bi.js +2044 -0
  251. package/dist/xychartDiagram-5P7HB3ND-BF2WmJ4-.cjs +7 -0
  252. package/package.json +31 -31
  253. package/dist/_basePickBy-CPekwY_Z.js +0 -151
  254. package/dist/_basePickBy-DDhgLyLp.cjs +0 -1
  255. package/dist/_baseUniq-CAhfZr5S.js +0 -614
  256. package/dist/_baseUniq-bLb2QO_4.cjs +0 -1
  257. package/dist/arc-CnmUepZA.cjs +0 -1
  258. package/dist/arc-Md6Ds0JZ.js +0 -83
  259. package/dist/architecture-7HQA4BMR-DLImbuCr.js +0 -6
  260. package/dist/architecture-7HQA4BMR-zD1jCFXs.cjs +0 -1
  261. package/dist/architectureDiagram-VXUJARFQ-BkTy7RJA.js +0 -4661
  262. package/dist/architectureDiagram-VXUJARFQ-Vl-ya9R6.cjs +0 -36
  263. package/dist/blockDiagram-VD42YOAC-C9AJNM79.js +0 -2256
  264. package/dist/blockDiagram-VD42YOAC-D_EmYywD.cjs +0 -122
  265. package/dist/c4Diagram-YG6GDRKO-BfwBYulK.cjs +0 -10
  266. package/dist/c4Diagram-YG6GDRKO-YW-l-SYp.js +0 -1580
  267. package/dist/channel-BGeX_R6w.cjs +0 -1
  268. package/dist/channel-lqmaHMPZ.js +0 -5
  269. package/dist/chunk-4BX2VUAB-C6nahV0u.cjs +0 -1
  270. package/dist/chunk-4BX2VUAB-UMbIiF-V.js +0 -8
  271. package/dist/chunk-55IACEB6-CH_wWg2p.js +0 -8
  272. package/dist/chunk-55IACEB6-Cxt8uWHb.cjs +0 -1
  273. package/dist/chunk-B4BG7PRW-CTNZzNh0.js +0 -1375
  274. package/dist/chunk-B4BG7PRW-ekpXKNa3.cjs +0 -165
  275. package/dist/chunk-DI55MBZ5-BrLh6Fue.js +0 -1370
  276. package/dist/chunk-DI55MBZ5-TYqUGYGr.cjs +0 -220
  277. package/dist/chunk-FMBD7UC4-D0Nmh8EL.cjs +0 -15
  278. package/dist/chunk-QN33PNHL-B91UelWj.js +0 -19
  279. package/dist/chunk-QN33PNHL-KGNgU1-8.cjs +0 -1
  280. package/dist/chunk-QZHKN3VN-IV7jnz-R.js +0 -15
  281. package/dist/chunk-QZHKN3VN-ajuovO9B.cjs +0 -1
  282. package/dist/chunk-TZMSLE5B-Bkf7U79o.cjs +0 -1
  283. package/dist/chunk-TZMSLE5B-DArsm2Pn.js +0 -64
  284. package/dist/classDiagram-2ON5EDUG-C0_Gqd5k.js +0 -16
  285. package/dist/classDiagram-2ON5EDUG-Cnous8-m.cjs +0 -1
  286. package/dist/classDiagram-v2-WZHVMYZB-C0_Gqd5k.js +0 -16
  287. package/dist/classDiagram-v2-WZHVMYZB-Cnous8-m.cjs +0 -1
  288. package/dist/clone-B_MxWhab.js +0 -8
  289. package/dist/clone-D6gFD6F-.cjs +0 -1
  290. package/dist/cose-bilkent-S5V4N54A-DHZ_jZYH.js +0 -2608
  291. package/dist/cose-bilkent-S5V4N54A-Da7jSuau.cjs +0 -1
  292. package/dist/cytoscape.esm-CNUX3VTg.cjs +0 -321
  293. package/dist/cytoscape.esm-Cvf3sx9F.js +0 -18704
  294. package/dist/dagre-6UL2VRFP-CI2ww-SU.js +0 -444
  295. package/dist/dagre-6UL2VRFP-qOR4yAIQ.cjs +0 -4
  296. package/dist/defaultLocale-D7EN2tov.js +0 -171
  297. package/dist/defaultLocale-DIVzfLaQ.cjs +0 -1
  298. package/dist/diagram-PSM6KHXK-1g8345m3.js +0 -531
  299. package/dist/diagram-PSM6KHXK-DHWL3g5V.cjs +0 -24
  300. package/dist/diagram-QEK2KX5R-B-VP4dVY.js +0 -217
  301. package/dist/diagram-QEK2KX5R-DDWbMmAv.cjs +0 -43
  302. package/dist/diagram-S2PKOQOG-BbSGqLET.js +0 -142
  303. package/dist/diagram-S2PKOQOG-Djw9RGNh.cjs +0 -24
  304. package/dist/erDiagram-Q2GNP2WA-CxY1P4hJ.js +0 -841
  305. package/dist/erDiagram-Q2GNP2WA-Pw9i-eBN.cjs +0 -60
  306. package/dist/flowDiagram-NV44I4VS-BOr3T0H8.js +0 -1620
  307. package/dist/flowDiagram-NV44I4VS-D9VKU1cV.cjs +0 -162
  308. package/dist/ganttDiagram-JELNMOA3-B4T6J11z.js +0 -2670
  309. package/dist/ganttDiagram-JELNMOA3-C4Y4VT0h.cjs +0 -267
  310. package/dist/gitGraph-G5XIXVHT-C5QaeLIs.cjs +0 -1
  311. package/dist/gitGraph-G5XIXVHT-bOZ2ppp1.js +0 -6
  312. package/dist/gitGraphDiagram-V2S2FVAM-CteUW9ML.js +0 -699
  313. package/dist/gitGraphDiagram-V2S2FVAM-D_v6ae_z.cjs +0 -65
  314. package/dist/graph-BBPk5jyk.cjs +0 -1
  315. package/dist/graph-h6vsxKyr.js +0 -247
  316. package/dist/index-CYQM-t1d.cjs +0 -390
  317. package/dist/index-FiV1b00w.js +0 -133122
  318. package/dist/info-VBDWY6EO-BEIYBsnB.cjs +0 -1
  319. package/dist/info-VBDWY6EO-BQAW_660.js +0 -6
  320. package/dist/infoDiagram-HS3SLOUP-DMalb3kC.js +0 -24
  321. package/dist/infoDiagram-HS3SLOUP-Tepm6ygN.cjs +0 -2
  322. package/dist/init-CHZsXQcr.cjs +0 -1
  323. package/dist/init-DjUOC4st.js +0 -16
  324. package/dist/journeyDiagram-XKPGCS4Q-CzePcKne.cjs +0 -139
  325. package/dist/journeyDiagram-XKPGCS4Q-D0u-RLFV.js +0 -834
  326. package/dist/kanban-definition-3W4ZIXB7-BSCzAsMJ.js +0 -719
  327. package/dist/kanban-definition-3W4ZIXB7-DdbH9sci.cjs +0 -89
  328. package/dist/katex-C2g-EhzP.cjs +0 -261
  329. package/dist/katex-CUSbq6rG.js +0 -11692
  330. package/dist/layout-6z7-eUnZ.js +0 -1335
  331. package/dist/layout-DbcrMh5B.cjs +0 -1
  332. package/dist/linear-BKevCbhh.js +0 -259
  333. package/dist/linear-C7uVEtWW.cjs +0 -1
  334. package/dist/mermaid-parser.core-Cwy51n_e.js +0 -17907
  335. package/dist/mermaid-parser.core-DQ2yhapR.cjs +0 -160
  336. package/dist/mindmap-definition-VGOIOE7T-CcEisj0R.cjs +0 -68
  337. package/dist/mindmap-definition-VGOIOE7T-xp6GmSIx.js +0 -758
  338. package/dist/ordinal-B6-f3MAq.js +0 -61
  339. package/dist/ordinal-CagbB1m8.cjs +0 -1
  340. package/dist/packet-DYOGHKS2-BGgwnMhM.js +0 -6
  341. package/dist/packet-DYOGHKS2-BWg8qxI8.cjs +0 -1
  342. package/dist/pie-VRWISCQL-DhM8CUW4.cjs +0 -1
  343. package/dist/pie-VRWISCQL-DrWIWm7W.js +0 -6
  344. package/dist/pieDiagram-ADFJNKIX-BdvacM-Z.cjs +0 -30
  345. package/dist/pieDiagram-ADFJNKIX-D6Fa7W_r.js +0 -161
  346. package/dist/quadrantDiagram-AYHSOK5B-CHMoSBvg.js +0 -1022
  347. package/dist/quadrantDiagram-AYHSOK5B-ddq5zZEg.cjs +0 -7
  348. package/dist/radar-ZZBFDIW7-CPvW4Njh.js +0 -6
  349. package/dist/radar-ZZBFDIW7-YJK72BlV.cjs +0 -1
  350. package/dist/requirementDiagram-UZGBJVZJ-Cr9HnGVO.js +0 -850
  351. package/dist/requirementDiagram-UZGBJVZJ-NdpzVbnf.cjs +0 -64
  352. package/dist/sankeyDiagram-TZEHDZUN-3f19WwKd.js +0 -810
  353. package/dist/sankeyDiagram-TZEHDZUN-D2Hzq4Kr.cjs +0 -10
  354. package/dist/sequenceDiagram-WL72ISMW-Cu-7V--6.js +0 -2511
  355. package/dist/sequenceDiagram-WL72ISMW-Nk6vhSK9.cjs +0 -145
  356. package/dist/stateDiagram-FKZM4ZOC-BSnDKUaW.cjs +0 -1
  357. package/dist/stateDiagram-FKZM4ZOC-BleTIniP.js +0 -263
  358. package/dist/stateDiagram-v2-4FDKWEC3-7EjW078x.js +0 -16
  359. package/dist/stateDiagram-v2-4FDKWEC3-BJPzO53y.cjs +0 -1
  360. package/dist/timeline-definition-IT6M3QCI-CFTjPpKy.js +0 -795
  361. package/dist/timeline-definition-IT6M3QCI-CfaGtuF2.cjs +0 -61
  362. package/dist/treemap-GDKQZRPO-CtDdEOaj.cjs +0 -1
  363. package/dist/treemap-GDKQZRPO-DlODAdQ2.js +0 -6
  364. package/dist/xychartDiagram-PRI3JC2R-mShGv2CD.cjs +0 -7
  365. package/dist/xychartDiagram-PRI3JC2R-vEJER5zT.js +0 -1340
@@ -0,0 +1,2044 @@
1
+ import { B as e, C as t, E as n, L as r, V as i, W as a, _ as o, a as s, c, d as l, v as u, y as d } from "./chunk-ICPOFSXX-Sn6LWD0k.js";
2
+ import { g as f, h as p } from "./src-BQiFKP24.js";
3
+ import { t as m } from "./linear-BsPvNLJv.js";
4
+ import { t as h } from "./ordinal-C-VoL0XF.js";
5
+ import { t as g } from "./init-BO60vQHJ.js";
6
+ import { r as _ } from "./chunk-5PVQY5BW-C5U7sJAA.js";
7
+ import { t as v } from "./line-JyRBGWft.js";
8
+ import { t as y } from "./chunk-426QAEUC-JjFVHKYG.js";
9
+ import { t as b } from "./chunk-U2HBQHQK-BZ3YFMXB.js";
10
+ //#region node_modules/d3-array/src/range.js
11
+ function x(e, t, n) {
12
+ e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;
13
+ for (var r = -1, i = Math.max(0, Math.ceil((t - e) / n)) | 0, a = Array(i); ++r < i;) a[r] = e + r * n;
14
+ return a;
15
+ }
16
+ //#endregion
17
+ //#region node_modules/d3-scale/src/band.js
18
+ function S() {
19
+ var e = h().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;
20
+ delete e.unknown;
21
+ function d() {
22
+ var e = t().length, d = i < r, f = d ? i : r, p = d ? r : i;
23
+ a = (p - f) / Math.max(1, e - c + l * 2), s && (a = Math.floor(a)), f += (p - f - a * (e - c)) * u, o = a * (1 - c), s && (f = Math.round(f), o = Math.round(o));
24
+ var m = x(e).map(function(e) {
25
+ return f + a * e;
26
+ });
27
+ return n(d ? m.reverse() : m);
28
+ }
29
+ return e.domain = function(e) {
30
+ return arguments.length ? (t(e), d()) : t();
31
+ }, e.range = function(e) {
32
+ return arguments.length ? ([r, i] = e, r = +r, i = +i, d()) : [r, i];
33
+ }, e.rangeRound = function(e) {
34
+ return [r, i] = e, r = +r, i = +i, s = !0, d();
35
+ }, e.bandwidth = function() {
36
+ return o;
37
+ }, e.step = function() {
38
+ return a;
39
+ }, e.round = function(e) {
40
+ return arguments.length ? (s = !!e, d()) : s;
41
+ }, e.padding = function(e) {
42
+ return arguments.length ? (c = Math.min(1, l = +e), d()) : c;
43
+ }, e.paddingInner = function(e) {
44
+ return arguments.length ? (c = Math.min(1, e), d()) : c;
45
+ }, e.paddingOuter = function(e) {
46
+ return arguments.length ? (l = +e, d()) : l;
47
+ }, e.align = function(e) {
48
+ return arguments.length ? (u = Math.max(0, Math.min(1, e)), d()) : u;
49
+ }, e.copy = function() {
50
+ return S(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);
51
+ }, g.apply(d(), arguments);
52
+ }
53
+ //#endregion
54
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-5P7HB3ND.mjs
55
+ var C = (function() {
56
+ var e = /* @__PURE__ */ p(function(e, t, n, r) {
57
+ for (n ||= {}, r = e.length; r--; n[e[r]] = t);
58
+ return n;
59
+ }, "o"), t = [
60
+ 1,
61
+ 10,
62
+ 12,
63
+ 14,
64
+ 16,
65
+ 18,
66
+ 19,
67
+ 21,
68
+ 23
69
+ ], n = [2, 6], r = [1, 3], i = [1, 5], a = [1, 6], o = [1, 7], s = [
70
+ 1,
71
+ 5,
72
+ 10,
73
+ 12,
74
+ 14,
75
+ 16,
76
+ 18,
77
+ 19,
78
+ 21,
79
+ 23,
80
+ 34,
81
+ 35,
82
+ 36
83
+ ], c = [1, 25], l = [1, 26], u = [1, 28], d = [1, 29], f = [1, 30], m = [1, 31], h = [1, 32], g = [1, 33], _ = [1, 34], v = [1, 35], y = [1, 36], b = [1, 37], x = [1, 43], S = [1, 42], C = [1, 47], w = [1, 50], T = [
84
+ 1,
85
+ 10,
86
+ 12,
87
+ 14,
88
+ 16,
89
+ 18,
90
+ 19,
91
+ 21,
92
+ 23,
93
+ 34,
94
+ 35,
95
+ 36
96
+ ], E = [
97
+ 1,
98
+ 10,
99
+ 12,
100
+ 14,
101
+ 16,
102
+ 18,
103
+ 19,
104
+ 21,
105
+ 23,
106
+ 24,
107
+ 26,
108
+ 27,
109
+ 28,
110
+ 34,
111
+ 35,
112
+ 36
113
+ ], D = [
114
+ 1,
115
+ 10,
116
+ 12,
117
+ 14,
118
+ 16,
119
+ 18,
120
+ 19,
121
+ 21,
122
+ 23,
123
+ 24,
124
+ 26,
125
+ 27,
126
+ 28,
127
+ 34,
128
+ 35,
129
+ 36,
130
+ 41,
131
+ 42,
132
+ 43,
133
+ 44,
134
+ 45,
135
+ 46,
136
+ 47,
137
+ 48,
138
+ 49,
139
+ 50
140
+ ], O = [1, 64], k = {
141
+ trace: /* @__PURE__ */ p(function() {}, "trace"),
142
+ yy: {},
143
+ symbols_: {
144
+ error: 2,
145
+ start: 3,
146
+ eol: 4,
147
+ XYCHART: 5,
148
+ chartConfig: 6,
149
+ document: 7,
150
+ CHART_ORIENTATION: 8,
151
+ statement: 9,
152
+ title: 10,
153
+ text: 11,
154
+ X_AXIS: 12,
155
+ parseXAxis: 13,
156
+ Y_AXIS: 14,
157
+ parseYAxis: 15,
158
+ LINE: 16,
159
+ plotData: 17,
160
+ BAR: 18,
161
+ acc_title: 19,
162
+ acc_title_value: 20,
163
+ acc_descr: 21,
164
+ acc_descr_value: 22,
165
+ acc_descr_multiline_value: 23,
166
+ SQUARE_BRACES_START: 24,
167
+ commaSeparatedNumbers: 25,
168
+ SQUARE_BRACES_END: 26,
169
+ NUMBER_WITH_DECIMAL: 27,
170
+ COMMA: 28,
171
+ xAxisData: 29,
172
+ bandData: 30,
173
+ ARROW_DELIMITER: 31,
174
+ commaSeparatedTexts: 32,
175
+ yAxisData: 33,
176
+ NEWLINE: 34,
177
+ SEMI: 35,
178
+ EOF: 36,
179
+ alphaNum: 37,
180
+ STR: 38,
181
+ MD_STR: 39,
182
+ alphaNumToken: 40,
183
+ AMP: 41,
184
+ NUM: 42,
185
+ ALPHA: 43,
186
+ PLUS: 44,
187
+ EQUALS: 45,
188
+ MULT: 46,
189
+ DOT: 47,
190
+ BRKT: 48,
191
+ MINUS: 49,
192
+ UNDERSCORE: 50,
193
+ $accept: 0,
194
+ $end: 1
195
+ },
196
+ terminals_: {
197
+ 2: "error",
198
+ 5: "XYCHART",
199
+ 8: "CHART_ORIENTATION",
200
+ 10: "title",
201
+ 12: "X_AXIS",
202
+ 14: "Y_AXIS",
203
+ 16: "LINE",
204
+ 18: "BAR",
205
+ 19: "acc_title",
206
+ 20: "acc_title_value",
207
+ 21: "acc_descr",
208
+ 22: "acc_descr_value",
209
+ 23: "acc_descr_multiline_value",
210
+ 24: "SQUARE_BRACES_START",
211
+ 26: "SQUARE_BRACES_END",
212
+ 27: "NUMBER_WITH_DECIMAL",
213
+ 28: "COMMA",
214
+ 31: "ARROW_DELIMITER",
215
+ 34: "NEWLINE",
216
+ 35: "SEMI",
217
+ 36: "EOF",
218
+ 38: "STR",
219
+ 39: "MD_STR",
220
+ 41: "AMP",
221
+ 42: "NUM",
222
+ 43: "ALPHA",
223
+ 44: "PLUS",
224
+ 45: "EQUALS",
225
+ 46: "MULT",
226
+ 47: "DOT",
227
+ 48: "BRKT",
228
+ 49: "MINUS",
229
+ 50: "UNDERSCORE"
230
+ },
231
+ productions_: [
232
+ 0,
233
+ [3, 2],
234
+ [3, 3],
235
+ [3, 2],
236
+ [3, 1],
237
+ [6, 1],
238
+ [7, 0],
239
+ [7, 2],
240
+ [9, 2],
241
+ [9, 2],
242
+ [9, 2],
243
+ [9, 2],
244
+ [9, 2],
245
+ [9, 3],
246
+ [9, 2],
247
+ [9, 3],
248
+ [9, 2],
249
+ [9, 2],
250
+ [9, 1],
251
+ [17, 3],
252
+ [25, 3],
253
+ [25, 1],
254
+ [13, 1],
255
+ [13, 2],
256
+ [13, 1],
257
+ [29, 1],
258
+ [29, 3],
259
+ [30, 3],
260
+ [32, 3],
261
+ [32, 1],
262
+ [15, 1],
263
+ [15, 2],
264
+ [15, 1],
265
+ [33, 3],
266
+ [4, 1],
267
+ [4, 1],
268
+ [4, 1],
269
+ [11, 1],
270
+ [11, 1],
271
+ [11, 1],
272
+ [37, 1],
273
+ [37, 2],
274
+ [40, 1],
275
+ [40, 1],
276
+ [40, 1],
277
+ [40, 1],
278
+ [40, 1],
279
+ [40, 1],
280
+ [40, 1],
281
+ [40, 1],
282
+ [40, 1],
283
+ [40, 1]
284
+ ],
285
+ performAction: /* @__PURE__ */ p(function(e, t, n, r, i, a, o) {
286
+ var s = a.length - 1;
287
+ switch (i) {
288
+ case 5:
289
+ r.setOrientation(a[s]);
290
+ break;
291
+ case 9:
292
+ r.setDiagramTitle(a[s].text.trim());
293
+ break;
294
+ case 12:
295
+ r.setLineData({
296
+ text: "",
297
+ type: "text"
298
+ }, a[s]);
299
+ break;
300
+ case 13:
301
+ r.setLineData(a[s - 1], a[s]);
302
+ break;
303
+ case 14:
304
+ r.setBarData({
305
+ text: "",
306
+ type: "text"
307
+ }, a[s]);
308
+ break;
309
+ case 15:
310
+ r.setBarData(a[s - 1], a[s]);
311
+ break;
312
+ case 16:
313
+ this.$ = a[s].trim(), r.setAccTitle(this.$);
314
+ break;
315
+ case 17:
316
+ case 18:
317
+ this.$ = a[s].trim(), r.setAccDescription(this.$);
318
+ break;
319
+ case 19:
320
+ this.$ = a[s - 1];
321
+ break;
322
+ case 20:
323
+ this.$ = [Number(a[s - 2]), ...a[s]];
324
+ break;
325
+ case 21:
326
+ this.$ = [Number(a[s])];
327
+ break;
328
+ case 22:
329
+ r.setXAxisTitle(a[s]);
330
+ break;
331
+ case 23:
332
+ r.setXAxisTitle(a[s - 1]);
333
+ break;
334
+ case 24:
335
+ r.setXAxisTitle({
336
+ type: "text",
337
+ text: ""
338
+ });
339
+ break;
340
+ case 25:
341
+ r.setXAxisBand(a[s]);
342
+ break;
343
+ case 26:
344
+ r.setXAxisRangeData(Number(a[s - 2]), Number(a[s]));
345
+ break;
346
+ case 27:
347
+ this.$ = a[s - 1];
348
+ break;
349
+ case 28:
350
+ this.$ = [a[s - 2], ...a[s]];
351
+ break;
352
+ case 29:
353
+ this.$ = [a[s]];
354
+ break;
355
+ case 30:
356
+ r.setYAxisTitle(a[s]);
357
+ break;
358
+ case 31:
359
+ r.setYAxisTitle(a[s - 1]);
360
+ break;
361
+ case 32:
362
+ r.setYAxisTitle({
363
+ type: "text",
364
+ text: ""
365
+ });
366
+ break;
367
+ case 33:
368
+ r.setYAxisRangeData(Number(a[s - 2]), Number(a[s]));
369
+ break;
370
+ case 37:
371
+ this.$ = {
372
+ text: a[s],
373
+ type: "text"
374
+ };
375
+ break;
376
+ case 38:
377
+ this.$ = {
378
+ text: a[s],
379
+ type: "text"
380
+ };
381
+ break;
382
+ case 39:
383
+ this.$ = {
384
+ text: a[s],
385
+ type: "markdown"
386
+ };
387
+ break;
388
+ case 40:
389
+ this.$ = a[s];
390
+ break;
391
+ case 41:
392
+ this.$ = a[s - 1] + "" + a[s];
393
+ break;
394
+ }
395
+ }, "anonymous"),
396
+ table: [
397
+ e(t, n, {
398
+ 3: 1,
399
+ 4: 2,
400
+ 7: 4,
401
+ 5: r,
402
+ 34: i,
403
+ 35: a,
404
+ 36: o
405
+ }),
406
+ { 1: [3] },
407
+ e(t, n, {
408
+ 4: 2,
409
+ 7: 4,
410
+ 3: 8,
411
+ 5: r,
412
+ 34: i,
413
+ 35: a,
414
+ 36: o
415
+ }),
416
+ e(t, n, {
417
+ 4: 2,
418
+ 7: 4,
419
+ 6: 9,
420
+ 3: 10,
421
+ 5: r,
422
+ 8: [1, 11],
423
+ 34: i,
424
+ 35: a,
425
+ 36: o
426
+ }),
427
+ {
428
+ 1: [2, 4],
429
+ 9: 12,
430
+ 10: [1, 13],
431
+ 12: [1, 14],
432
+ 14: [1, 15],
433
+ 16: [1, 16],
434
+ 18: [1, 17],
435
+ 19: [1, 18],
436
+ 21: [1, 19],
437
+ 23: [1, 20]
438
+ },
439
+ e(s, [2, 34]),
440
+ e(s, [2, 35]),
441
+ e(s, [2, 36]),
442
+ { 1: [2, 1] },
443
+ e(t, n, {
444
+ 4: 2,
445
+ 7: 4,
446
+ 3: 21,
447
+ 5: r,
448
+ 34: i,
449
+ 35: a,
450
+ 36: o
451
+ }),
452
+ { 1: [2, 3] },
453
+ e(s, [2, 5]),
454
+ e(t, [2, 7], {
455
+ 4: 22,
456
+ 34: i,
457
+ 35: a,
458
+ 36: o
459
+ }),
460
+ {
461
+ 11: 23,
462
+ 37: 24,
463
+ 38: c,
464
+ 39: l,
465
+ 40: 27,
466
+ 41: u,
467
+ 42: d,
468
+ 43: f,
469
+ 44: m,
470
+ 45: h,
471
+ 46: g,
472
+ 47: _,
473
+ 48: v,
474
+ 49: y,
475
+ 50: b
476
+ },
477
+ {
478
+ 11: 39,
479
+ 13: 38,
480
+ 24: x,
481
+ 27: S,
482
+ 29: 40,
483
+ 30: 41,
484
+ 37: 24,
485
+ 38: c,
486
+ 39: l,
487
+ 40: 27,
488
+ 41: u,
489
+ 42: d,
490
+ 43: f,
491
+ 44: m,
492
+ 45: h,
493
+ 46: g,
494
+ 47: _,
495
+ 48: v,
496
+ 49: y,
497
+ 50: b
498
+ },
499
+ {
500
+ 11: 45,
501
+ 15: 44,
502
+ 27: C,
503
+ 33: 46,
504
+ 37: 24,
505
+ 38: c,
506
+ 39: l,
507
+ 40: 27,
508
+ 41: u,
509
+ 42: d,
510
+ 43: f,
511
+ 44: m,
512
+ 45: h,
513
+ 46: g,
514
+ 47: _,
515
+ 48: v,
516
+ 49: y,
517
+ 50: b
518
+ },
519
+ {
520
+ 11: 49,
521
+ 17: 48,
522
+ 24: w,
523
+ 37: 24,
524
+ 38: c,
525
+ 39: l,
526
+ 40: 27,
527
+ 41: u,
528
+ 42: d,
529
+ 43: f,
530
+ 44: m,
531
+ 45: h,
532
+ 46: g,
533
+ 47: _,
534
+ 48: v,
535
+ 49: y,
536
+ 50: b
537
+ },
538
+ {
539
+ 11: 52,
540
+ 17: 51,
541
+ 24: w,
542
+ 37: 24,
543
+ 38: c,
544
+ 39: l,
545
+ 40: 27,
546
+ 41: u,
547
+ 42: d,
548
+ 43: f,
549
+ 44: m,
550
+ 45: h,
551
+ 46: g,
552
+ 47: _,
553
+ 48: v,
554
+ 49: y,
555
+ 50: b
556
+ },
557
+ { 20: [1, 53] },
558
+ { 22: [1, 54] },
559
+ e(T, [2, 18]),
560
+ { 1: [2, 2] },
561
+ e(T, [2, 8]),
562
+ e(T, [2, 9]),
563
+ e(E, [2, 37], {
564
+ 40: 55,
565
+ 41: u,
566
+ 42: d,
567
+ 43: f,
568
+ 44: m,
569
+ 45: h,
570
+ 46: g,
571
+ 47: _,
572
+ 48: v,
573
+ 49: y,
574
+ 50: b
575
+ }),
576
+ e(E, [2, 38]),
577
+ e(E, [2, 39]),
578
+ e(D, [2, 40]),
579
+ e(D, [2, 42]),
580
+ e(D, [2, 43]),
581
+ e(D, [2, 44]),
582
+ e(D, [2, 45]),
583
+ e(D, [2, 46]),
584
+ e(D, [2, 47]),
585
+ e(D, [2, 48]),
586
+ e(D, [2, 49]),
587
+ e(D, [2, 50]),
588
+ e(D, [2, 51]),
589
+ e(T, [2, 10]),
590
+ e(T, [2, 22], {
591
+ 30: 41,
592
+ 29: 56,
593
+ 24: x,
594
+ 27: S
595
+ }),
596
+ e(T, [2, 24]),
597
+ e(T, [2, 25]),
598
+ { 31: [1, 57] },
599
+ {
600
+ 11: 59,
601
+ 32: 58,
602
+ 37: 24,
603
+ 38: c,
604
+ 39: l,
605
+ 40: 27,
606
+ 41: u,
607
+ 42: d,
608
+ 43: f,
609
+ 44: m,
610
+ 45: h,
611
+ 46: g,
612
+ 47: _,
613
+ 48: v,
614
+ 49: y,
615
+ 50: b
616
+ },
617
+ e(T, [2, 11]),
618
+ e(T, [2, 30], {
619
+ 33: 60,
620
+ 27: C
621
+ }),
622
+ e(T, [2, 32]),
623
+ { 31: [1, 61] },
624
+ e(T, [2, 12]),
625
+ {
626
+ 17: 62,
627
+ 24: w
628
+ },
629
+ {
630
+ 25: 63,
631
+ 27: O
632
+ },
633
+ e(T, [2, 14]),
634
+ {
635
+ 17: 65,
636
+ 24: w
637
+ },
638
+ e(T, [2, 16]),
639
+ e(T, [2, 17]),
640
+ e(D, [2, 41]),
641
+ e(T, [2, 23]),
642
+ { 27: [1, 66] },
643
+ { 26: [1, 67] },
644
+ {
645
+ 26: [2, 29],
646
+ 28: [1, 68]
647
+ },
648
+ e(T, [2, 31]),
649
+ { 27: [1, 69] },
650
+ e(T, [2, 13]),
651
+ { 26: [1, 70] },
652
+ {
653
+ 26: [2, 21],
654
+ 28: [1, 71]
655
+ },
656
+ e(T, [2, 15]),
657
+ e(T, [2, 26]),
658
+ e(T, [2, 27]),
659
+ {
660
+ 11: 59,
661
+ 32: 72,
662
+ 37: 24,
663
+ 38: c,
664
+ 39: l,
665
+ 40: 27,
666
+ 41: u,
667
+ 42: d,
668
+ 43: f,
669
+ 44: m,
670
+ 45: h,
671
+ 46: g,
672
+ 47: _,
673
+ 48: v,
674
+ 49: y,
675
+ 50: b
676
+ },
677
+ e(T, [2, 33]),
678
+ e(T, [2, 19]),
679
+ {
680
+ 25: 73,
681
+ 27: O
682
+ },
683
+ { 26: [2, 28] },
684
+ { 26: [2, 20] }
685
+ ],
686
+ defaultActions: {
687
+ 8: [2, 1],
688
+ 10: [2, 3],
689
+ 21: [2, 2],
690
+ 72: [2, 28],
691
+ 73: [2, 20]
692
+ },
693
+ parseError: /* @__PURE__ */ p(function(e, t) {
694
+ if (t.recoverable) this.trace(e);
695
+ else {
696
+ var n = Error(e);
697
+ throw n.hash = t, n;
698
+ }
699
+ }, "parseError"),
700
+ parse: /* @__PURE__ */ p(function(e) {
701
+ var t = this, n = [0], r = [], i = [null], a = [], o = this.table, s = "", c = 0, l = 0, u = 0, d = 2, f = 1, m = a.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
702
+ for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
703
+ h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
704
+ var v = h.yylloc;
705
+ a.push(v);
706
+ var y = h.options && h.options.ranges;
707
+ typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
708
+ function b(e) {
709
+ n.length -= 2 * e, i.length -= e, a.length -= e;
710
+ }
711
+ p(b, "popStack");
712
+ function x() {
713
+ var e = r.pop() || h.lex() || f;
714
+ return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
715
+ }
716
+ p(x, "lex");
717
+ for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
718
+ if (w = n[n.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = o[w] && o[w][S]), T === void 0 || !T.length || !T[0]) {
719
+ var M = "";
720
+ for (O in j = [], o[w]) this.terminals_[O] && O > d && j.push("'" + this.terminals_[O] + "'");
721
+ M = h.showPosition ? "Parse error on line " + (c + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (c + 1) + ": Unexpected " + (S == f ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
722
+ text: h.match,
723
+ token: this.terminals_[S] || S,
724
+ line: h.yylineno,
725
+ loc: v,
726
+ expected: j
727
+ });
728
+ }
729
+ if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
730
+ switch (T[0]) {
731
+ case 1:
732
+ n.push(S), i.push(h.yytext), a.push(h.yylloc), n.push(T[1]), S = null, C ? (S = C, C = null) : (l = h.yyleng, s = h.yytext, c = h.yylineno, v = h.yylloc, u > 0 && u--);
733
+ break;
734
+ case 2:
735
+ if (k = this.productions_[T[1]][1], D.$ = i[i.length - k], D._$ = {
736
+ first_line: a[a.length - (k || 1)].first_line,
737
+ last_line: a[a.length - 1].last_line,
738
+ first_column: a[a.length - (k || 1)].first_column,
739
+ last_column: a[a.length - 1].last_column
740
+ }, y && (D._$.range = [a[a.length - (k || 1)].range[0], a[a.length - 1].range[1]]), E = this.performAction.apply(D, [
741
+ s,
742
+ l,
743
+ c,
744
+ g.yy,
745
+ T[1],
746
+ i,
747
+ a
748
+ ].concat(m)), E !== void 0) return E;
749
+ k && (n = n.slice(0, -1 * k * 2), i = i.slice(0, -1 * k), a = a.slice(0, -1 * k)), n.push(this.productions_[T[1]][0]), i.push(D.$), a.push(D._$), A = o[n[n.length - 2]][n[n.length - 1]], n.push(A);
750
+ break;
751
+ case 3: return !0;
752
+ }
753
+ }
754
+ return !0;
755
+ }, "parse")
756
+ };
757
+ k.lexer = /* @__PURE__ */ (function() {
758
+ return {
759
+ EOF: 1,
760
+ parseError: /* @__PURE__ */ p(function(e, t) {
761
+ if (this.yy.parser) this.yy.parser.parseError(e, t);
762
+ else throw Error(e);
763
+ }, "parseError"),
764
+ setInput: /* @__PURE__ */ p(function(e, t) {
765
+ return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
766
+ first_line: 1,
767
+ first_column: 0,
768
+ last_line: 1,
769
+ last_column: 0
770
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
771
+ }, "setInput"),
772
+ input: /* @__PURE__ */ p(function() {
773
+ var e = this._input[0];
774
+ 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;
775
+ }, "input"),
776
+ unput: /* @__PURE__ */ p(function(e) {
777
+ var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
778
+ this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
779
+ var r = this.match.split(/(?:\r\n?|\n)/g);
780
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
781
+ var i = this.yylloc.range;
782
+ return this.yylloc = {
783
+ first_line: this.yylloc.first_line,
784
+ last_line: this.yylineno + 1,
785
+ first_column: this.yylloc.first_column,
786
+ last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
787
+ }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
788
+ }, "unput"),
789
+ more: /* @__PURE__ */ p(function() {
790
+ return this._more = !0, this;
791
+ }, "more"),
792
+ reject: /* @__PURE__ */ p(function() {
793
+ if (this.options.backtrack_lexer) this._backtrack = !0;
794
+ 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(), {
795
+ text: "",
796
+ token: null,
797
+ line: this.yylineno
798
+ });
799
+ return this;
800
+ }, "reject"),
801
+ less: /* @__PURE__ */ p(function(e) {
802
+ this.unput(this.match.slice(e));
803
+ }, "less"),
804
+ pastInput: /* @__PURE__ */ p(function() {
805
+ var e = this.matched.substr(0, this.matched.length - this.match.length);
806
+ return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
807
+ }, "pastInput"),
808
+ upcomingInput: /* @__PURE__ */ p(function() {
809
+ var e = this.match;
810
+ return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
811
+ }, "upcomingInput"),
812
+ showPosition: /* @__PURE__ */ p(function() {
813
+ var e = this.pastInput(), t = Array(e.length + 1).join("-");
814
+ return e + this.upcomingInput() + "\n" + t + "^";
815
+ }, "showPosition"),
816
+ test_match: /* @__PURE__ */ p(function(e, t) {
817
+ var n, r, i;
818
+ if (this.options.backtrack_lexer && (i = {
819
+ yylineno: this.yylineno,
820
+ yylloc: {
821
+ first_line: this.yylloc.first_line,
822
+ last_line: this.last_line,
823
+ first_column: this.yylloc.first_column,
824
+ last_column: this.yylloc.last_column
825
+ },
826
+ yytext: this.yytext,
827
+ match: this.match,
828
+ matches: this.matches,
829
+ matched: this.matched,
830
+ yyleng: this.yyleng,
831
+ offset: this.offset,
832
+ _more: this._more,
833
+ _input: this._input,
834
+ yy: this.yy,
835
+ conditionStack: this.conditionStack.slice(0),
836
+ done: this.done
837
+ }, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), r = e[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
838
+ first_line: this.yylloc.last_line,
839
+ last_line: this.yylineno + 1,
840
+ first_column: this.yylloc.last_column,
841
+ last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
842
+ }, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], n = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
843
+ if (this._backtrack) {
844
+ for (var a in i) this[a] = i[a];
845
+ return !1;
846
+ }
847
+ return !1;
848
+ }, "test_match"),
849
+ next: /* @__PURE__ */ p(function() {
850
+ if (this.done) return this.EOF;
851
+ this._input || (this.done = !0);
852
+ var e, t, n, r;
853
+ this._more || (this.yytext = "", this.match = "");
854
+ for (var i = this._currentRules(), a = 0; a < i.length; a++) if (n = this._input.match(this.rules[i[a]]), n && (!t || n[0].length > t[0].length)) {
855
+ if (t = n, r = a, this.options.backtrack_lexer) {
856
+ if (e = this.test_match(n, i[a]), e !== !1) return e;
857
+ if (this._backtrack) {
858
+ t = !1;
859
+ continue;
860
+ } else return !1;
861
+ } else if (!this.options.flex) break;
862
+ }
863
+ return t ? (e = this.test_match(t, i[r]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
864
+ text: "",
865
+ token: null,
866
+ line: this.yylineno
867
+ });
868
+ }, "next"),
869
+ lex: /* @__PURE__ */ p(function() {
870
+ return this.next() || this.lex();
871
+ }, "lex"),
872
+ begin: /* @__PURE__ */ p(function(e) {
873
+ this.conditionStack.push(e);
874
+ }, "begin"),
875
+ popState: /* @__PURE__ */ p(function() {
876
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
877
+ }, "popState"),
878
+ _currentRules: /* @__PURE__ */ p(function() {
879
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
880
+ }, "_currentRules"),
881
+ topState: /* @__PURE__ */ p(function(e) {
882
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
883
+ }, "topState"),
884
+ pushState: /* @__PURE__ */ p(function(e) {
885
+ this.begin(e);
886
+ }, "pushState"),
887
+ stateStackSize: /* @__PURE__ */ p(function() {
888
+ return this.conditionStack.length;
889
+ }, "stateStackSize"),
890
+ options: { "case-insensitive": !0 },
891
+ performAction: /* @__PURE__ */ p(function(e, t, n, r) {
892
+ switch (n) {
893
+ case 0: break;
894
+ case 1: break;
895
+ case 2: return this.popState(), 34;
896
+ case 3: return this.popState(), 34;
897
+ case 4: return 34;
898
+ case 5: break;
899
+ case 6: return 10;
900
+ case 7: return this.pushState("acc_title"), 19;
901
+ case 8: return this.popState(), "acc_title_value";
902
+ case 9: return this.pushState("acc_descr"), 21;
903
+ case 10: return this.popState(), "acc_descr_value";
904
+ case 11:
905
+ this.pushState("acc_descr_multiline");
906
+ break;
907
+ case 12:
908
+ this.popState();
909
+ break;
910
+ case 13: return "acc_descr_multiline_value";
911
+ case 14: return 5;
912
+ case 15: return 5;
913
+ case 16: return 8;
914
+ case 17: return this.pushState("axis_data"), "X_AXIS";
915
+ case 18: return this.pushState("axis_data"), "Y_AXIS";
916
+ case 19: return this.pushState("axis_band_data"), 24;
917
+ case 20: return 31;
918
+ case 21: return this.pushState("data"), 16;
919
+ case 22: return this.pushState("data"), 18;
920
+ case 23: return this.pushState("data_inner"), 24;
921
+ case 24: return 27;
922
+ case 25: return this.popState(), 26;
923
+ case 26:
924
+ this.popState();
925
+ break;
926
+ case 27:
927
+ this.pushState("string");
928
+ break;
929
+ case 28:
930
+ this.popState();
931
+ break;
932
+ case 29: return "STR";
933
+ case 30: return 24;
934
+ case 31: return 26;
935
+ case 32: return 43;
936
+ case 33: return "COLON";
937
+ case 34: return 44;
938
+ case 35: return 28;
939
+ case 36: return 45;
940
+ case 37: return 46;
941
+ case 38: return 48;
942
+ case 39: return 50;
943
+ case 40: return 47;
944
+ case 41: return 41;
945
+ case 42: return 49;
946
+ case 43: return 42;
947
+ case 44: break;
948
+ case 45: return 35;
949
+ case 46: return 36;
950
+ }
951
+ }, "anonymous"),
952
+ rules: [
953
+ /^(?:%%(?!\{)[^\n]*)/i,
954
+ /^(?:[^\}]%%[^\n]*)/i,
955
+ /^(?:(\r?\n))/i,
956
+ /^(?:(\r?\n))/i,
957
+ /^(?:[\n\r]+)/i,
958
+ /^(?:%%[^\n]*)/i,
959
+ /^(?:title\b)/i,
960
+ /^(?:accTitle\s*:\s*)/i,
961
+ /^(?:(?!\n||)*[^\n]*)/i,
962
+ /^(?:accDescr\s*:\s*)/i,
963
+ /^(?:(?!\n||)*[^\n]*)/i,
964
+ /^(?:accDescr\s*\{\s*)/i,
965
+ /^(?:\})/i,
966
+ /^(?:[^\}]*)/i,
967
+ /^(?:xychart-beta\b)/i,
968
+ /^(?:xychart\b)/i,
969
+ /^(?:(?:vertical|horizontal))/i,
970
+ /^(?:x-axis\b)/i,
971
+ /^(?:y-axis\b)/i,
972
+ /^(?:\[)/i,
973
+ /^(?:-->)/i,
974
+ /^(?:line\b)/i,
975
+ /^(?:bar\b)/i,
976
+ /^(?:\[)/i,
977
+ /^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,
978
+ /^(?:\])/i,
979
+ /^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,
980
+ /^(?:["])/i,
981
+ /^(?:["])/i,
982
+ /^(?:[^"]*)/i,
983
+ /^(?:\[)/i,
984
+ /^(?:\])/i,
985
+ /^(?:[A-Za-z]+)/i,
986
+ /^(?::)/i,
987
+ /^(?:\+)/i,
988
+ /^(?:,)/i,
989
+ /^(?:=)/i,
990
+ /^(?:\*)/i,
991
+ /^(?:#)/i,
992
+ /^(?:[\_])/i,
993
+ /^(?:\.)/i,
994
+ /^(?:&)/i,
995
+ /^(?:-)/i,
996
+ /^(?:[0-9]+)/i,
997
+ /^(?:\s+)/i,
998
+ /^(?:;)/i,
999
+ /^(?:$)/i
1000
+ ],
1001
+ conditions: {
1002
+ data_inner: {
1003
+ rules: [
1004
+ 0,
1005
+ 1,
1006
+ 4,
1007
+ 5,
1008
+ 6,
1009
+ 7,
1010
+ 9,
1011
+ 11,
1012
+ 14,
1013
+ 15,
1014
+ 16,
1015
+ 17,
1016
+ 18,
1017
+ 21,
1018
+ 22,
1019
+ 24,
1020
+ 25,
1021
+ 26,
1022
+ 27,
1023
+ 30,
1024
+ 31,
1025
+ 32,
1026
+ 33,
1027
+ 34,
1028
+ 35,
1029
+ 36,
1030
+ 37,
1031
+ 38,
1032
+ 39,
1033
+ 40,
1034
+ 41,
1035
+ 42,
1036
+ 43,
1037
+ 44,
1038
+ 45,
1039
+ 46
1040
+ ],
1041
+ inclusive: !0
1042
+ },
1043
+ data: {
1044
+ rules: [
1045
+ 0,
1046
+ 1,
1047
+ 3,
1048
+ 4,
1049
+ 5,
1050
+ 6,
1051
+ 7,
1052
+ 9,
1053
+ 11,
1054
+ 14,
1055
+ 15,
1056
+ 16,
1057
+ 17,
1058
+ 18,
1059
+ 21,
1060
+ 22,
1061
+ 23,
1062
+ 26,
1063
+ 27,
1064
+ 30,
1065
+ 31,
1066
+ 32,
1067
+ 33,
1068
+ 34,
1069
+ 35,
1070
+ 36,
1071
+ 37,
1072
+ 38,
1073
+ 39,
1074
+ 40,
1075
+ 41,
1076
+ 42,
1077
+ 43,
1078
+ 44,
1079
+ 45,
1080
+ 46
1081
+ ],
1082
+ inclusive: !0
1083
+ },
1084
+ axis_band_data: {
1085
+ rules: [
1086
+ 0,
1087
+ 1,
1088
+ 4,
1089
+ 5,
1090
+ 6,
1091
+ 7,
1092
+ 9,
1093
+ 11,
1094
+ 14,
1095
+ 15,
1096
+ 16,
1097
+ 17,
1098
+ 18,
1099
+ 21,
1100
+ 22,
1101
+ 25,
1102
+ 26,
1103
+ 27,
1104
+ 30,
1105
+ 31,
1106
+ 32,
1107
+ 33,
1108
+ 34,
1109
+ 35,
1110
+ 36,
1111
+ 37,
1112
+ 38,
1113
+ 39,
1114
+ 40,
1115
+ 41,
1116
+ 42,
1117
+ 43,
1118
+ 44,
1119
+ 45,
1120
+ 46
1121
+ ],
1122
+ inclusive: !0
1123
+ },
1124
+ axis_data: {
1125
+ rules: [
1126
+ 0,
1127
+ 1,
1128
+ 2,
1129
+ 4,
1130
+ 5,
1131
+ 6,
1132
+ 7,
1133
+ 9,
1134
+ 11,
1135
+ 14,
1136
+ 15,
1137
+ 16,
1138
+ 17,
1139
+ 18,
1140
+ 19,
1141
+ 20,
1142
+ 21,
1143
+ 22,
1144
+ 24,
1145
+ 26,
1146
+ 27,
1147
+ 30,
1148
+ 31,
1149
+ 32,
1150
+ 33,
1151
+ 34,
1152
+ 35,
1153
+ 36,
1154
+ 37,
1155
+ 38,
1156
+ 39,
1157
+ 40,
1158
+ 41,
1159
+ 42,
1160
+ 43,
1161
+ 44,
1162
+ 45,
1163
+ 46
1164
+ ],
1165
+ inclusive: !0
1166
+ },
1167
+ acc_descr_multiline: {
1168
+ rules: [12, 13],
1169
+ inclusive: !1
1170
+ },
1171
+ acc_descr: {
1172
+ rules: [10],
1173
+ inclusive: !1
1174
+ },
1175
+ acc_title: {
1176
+ rules: [8],
1177
+ inclusive: !1
1178
+ },
1179
+ title: {
1180
+ rules: [],
1181
+ inclusive: !1
1182
+ },
1183
+ md_string: {
1184
+ rules: [],
1185
+ inclusive: !1
1186
+ },
1187
+ string: {
1188
+ rules: [28, 29],
1189
+ inclusive: !1
1190
+ },
1191
+ INITIAL: {
1192
+ rules: [
1193
+ 0,
1194
+ 1,
1195
+ 4,
1196
+ 5,
1197
+ 6,
1198
+ 7,
1199
+ 9,
1200
+ 11,
1201
+ 14,
1202
+ 15,
1203
+ 16,
1204
+ 17,
1205
+ 18,
1206
+ 21,
1207
+ 22,
1208
+ 26,
1209
+ 27,
1210
+ 30,
1211
+ 31,
1212
+ 32,
1213
+ 33,
1214
+ 34,
1215
+ 35,
1216
+ 36,
1217
+ 37,
1218
+ 38,
1219
+ 39,
1220
+ 40,
1221
+ 41,
1222
+ 42,
1223
+ 43,
1224
+ 44,
1225
+ 45,
1226
+ 46
1227
+ ],
1228
+ inclusive: !0
1229
+ }
1230
+ }
1231
+ };
1232
+ })();
1233
+ function A() {
1234
+ this.yy = {};
1235
+ }
1236
+ return p(A, "Parser"), A.prototype = k, k.Parser = A, new A();
1237
+ })();
1238
+ C.parser = C;
1239
+ var w = C;
1240
+ function T(e) {
1241
+ return e.type === "bar";
1242
+ }
1243
+ p(T, "isBarPlot");
1244
+ function E(e) {
1245
+ return e.type === "band";
1246
+ }
1247
+ p(E, "isBandAxisData");
1248
+ function D(e) {
1249
+ return e.type === "linear";
1250
+ }
1251
+ p(D, "isLinearAxisData");
1252
+ var O = class {
1253
+ constructor(e) {
1254
+ this.parentGroup = e;
1255
+ }
1256
+ static {
1257
+ p(this, "TextDimensionCalculatorWithFont");
1258
+ }
1259
+ getMaxDimension(e, t) {
1260
+ if (!this.parentGroup) return {
1261
+ width: e.reduce((e, t) => Math.max(t.length, e), 0) * t,
1262
+ height: t
1263
+ };
1264
+ let n = {
1265
+ width: 0,
1266
+ height: 0
1267
+ }, r = this.parentGroup.append("g").attr("visibility", "hidden").attr("font-size", t);
1268
+ for (let i of e) {
1269
+ let e = b(r, 1, i), a = e ? e.width : i.length * t, o = e ? e.height : t;
1270
+ n.width = Math.max(n.width, a), n.height = Math.max(n.height, o);
1271
+ }
1272
+ return r.remove(), n;
1273
+ }
1274
+ }, k = .7, A = .2, j = class {
1275
+ constructor(e, t, n, r) {
1276
+ this.axisConfig = e, this.title = t, this.textDimensionCalculator = n, this.axisThemeConfig = r, this.boundingRect = {
1277
+ x: 0,
1278
+ y: 0,
1279
+ width: 0,
1280
+ height: 0
1281
+ }, 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 = {
1282
+ x: 0,
1283
+ y: 0,
1284
+ width: 0,
1285
+ height: 0
1286
+ }, this.axisPosition = "left";
1287
+ }
1288
+ static {
1289
+ p(this, "BaseAxis");
1290
+ }
1291
+ setRange(e) {
1292
+ 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();
1293
+ }
1294
+ getRange() {
1295
+ return [this.range[0] + this.outerPadding, this.range[1] - this.outerPadding];
1296
+ }
1297
+ setAxisPosition(e) {
1298
+ this.axisPosition = e, this.setRange(this.range);
1299
+ }
1300
+ getTickDistance() {
1301
+ let e = this.getRange();
1302
+ return Math.abs(e[0] - e[1]) / this.getTickValues().length;
1303
+ }
1304
+ getAxisOuterPadding() {
1305
+ return this.outerPadding;
1306
+ }
1307
+ getLabelDimension() {
1308
+ return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map((e) => e.toString()), this.axisConfig.labelFontSize);
1309
+ }
1310
+ recalculateOuterPaddingToDrawBar() {
1311
+ k * this.getTickDistance() > this.outerPadding * 2 && (this.outerPadding = Math.floor(k * this.getTickDistance() / 2)), this.recalculateScale();
1312
+ }
1313
+ calculateSpaceIfDrawnHorizontally(e) {
1314
+ let t = e.height;
1315
+ if (this.axisConfig.showAxisLine && t > this.axisConfig.axisLineWidth && (t -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
1316
+ let n = this.getLabelDimension(), r = A * e.width;
1317
+ this.outerPadding = Math.min(n.width / 2, r);
1318
+ let i = n.height + this.axisConfig.labelPadding * 2;
1319
+ this.labelTextHeight = n.height, i <= t && (t -= i, this.showLabel = !0);
1320
+ }
1321
+ if (this.axisConfig.showTick && t >= this.axisConfig.tickLength && (this.showTick = !0, t -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
1322
+ let e = this.textDimensionCalculator.getMaxDimension([this.title], this.axisConfig.titleFontSize), n = e.height + this.axisConfig.titlePadding * 2;
1323
+ this.titleTextHeight = e.height, n <= t && (t -= n, this.showTitle = !0);
1324
+ }
1325
+ this.boundingRect.width = e.width, this.boundingRect.height = e.height - t;
1326
+ }
1327
+ calculateSpaceIfDrawnVertical(e) {
1328
+ let t = e.width;
1329
+ if (this.axisConfig.showAxisLine && t > this.axisConfig.axisLineWidth && (t -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
1330
+ let n = this.getLabelDimension(), r = A * e.height;
1331
+ this.outerPadding = Math.min(n.height / 2, r);
1332
+ let i = n.width + this.axisConfig.labelPadding * 2;
1333
+ i <= t && (t -= i, this.showLabel = !0);
1334
+ }
1335
+ if (this.axisConfig.showTick && t >= this.axisConfig.tickLength && (this.showTick = !0, t -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
1336
+ let e = this.textDimensionCalculator.getMaxDimension([this.title], this.axisConfig.titleFontSize), n = e.height + this.axisConfig.titlePadding * 2;
1337
+ this.titleTextHeight = e.height, n <= t && (t -= n, this.showTitle = !0);
1338
+ }
1339
+ this.boundingRect.width = e.width - t, this.boundingRect.height = e.height;
1340
+ }
1341
+ calculateSpace(e) {
1342
+ return this.axisPosition === "left" || this.axisPosition === "right" ? this.calculateSpaceIfDrawnVertical(e) : this.calculateSpaceIfDrawnHorizontally(e), this.recalculateScale(), {
1343
+ width: this.boundingRect.width,
1344
+ height: this.boundingRect.height
1345
+ };
1346
+ }
1347
+ setBoundingBoxXY(e) {
1348
+ this.boundingRect.x = e.x, this.boundingRect.y = e.y;
1349
+ }
1350
+ getDrawableElementsForLeftAxis() {
1351
+ let e = [];
1352
+ if (this.showAxisLine) {
1353
+ let t = this.boundingRect.x + this.boundingRect.width - this.axisConfig.axisLineWidth / 2;
1354
+ e.push({
1355
+ type: "path",
1356
+ groupTexts: ["left-axis", "axisl-line"],
1357
+ data: [{
1358
+ path: `M ${t},${this.boundingRect.y} L ${t},${this.boundingRect.y + this.boundingRect.height} `,
1359
+ strokeFill: this.axisThemeConfig.axisLineColor,
1360
+ strokeWidth: this.axisConfig.axisLineWidth
1361
+ }]
1362
+ });
1363
+ }
1364
+ if (this.showLabel && e.push({
1365
+ type: "text",
1366
+ groupTexts: ["left-axis", "label"],
1367
+ data: this.getTickValues().map((e) => ({
1368
+ text: e.toString(),
1369
+ 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),
1370
+ y: this.getScaleValue(e),
1371
+ fill: this.axisThemeConfig.labelColor,
1372
+ fontSize: this.axisConfig.labelFontSize,
1373
+ rotation: 0,
1374
+ verticalPos: "middle",
1375
+ horizontalPos: "right"
1376
+ }))
1377
+ }), this.showTick) {
1378
+ let t = this.boundingRect.x + this.boundingRect.width - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0);
1379
+ e.push({
1380
+ type: "path",
1381
+ groupTexts: ["left-axis", "ticks"],
1382
+ data: this.getTickValues().map((e) => ({
1383
+ path: `M ${t},${this.getScaleValue(e)} L ${t - this.axisConfig.tickLength},${this.getScaleValue(e)}`,
1384
+ strokeFill: this.axisThemeConfig.tickColor,
1385
+ strokeWidth: this.axisConfig.tickWidth
1386
+ }))
1387
+ });
1388
+ }
1389
+ return this.showTitle && e.push({
1390
+ type: "text",
1391
+ groupTexts: ["left-axis", "title"],
1392
+ data: [{
1393
+ text: this.title,
1394
+ x: this.boundingRect.x + this.axisConfig.titlePadding,
1395
+ y: this.boundingRect.y + this.boundingRect.height / 2,
1396
+ fill: this.axisThemeConfig.titleColor,
1397
+ fontSize: this.axisConfig.titleFontSize,
1398
+ rotation: 270,
1399
+ verticalPos: "top",
1400
+ horizontalPos: "center"
1401
+ }]
1402
+ }), e;
1403
+ }
1404
+ getDrawableElementsForBottomAxis() {
1405
+ let e = [];
1406
+ if (this.showAxisLine) {
1407
+ let t = this.boundingRect.y + this.axisConfig.axisLineWidth / 2;
1408
+ e.push({
1409
+ type: "path",
1410
+ groupTexts: ["bottom-axis", "axis-line"],
1411
+ data: [{
1412
+ path: `M ${this.boundingRect.x},${t} L ${this.boundingRect.x + this.boundingRect.width},${t}`,
1413
+ strokeFill: this.axisThemeConfig.axisLineColor,
1414
+ strokeWidth: this.axisConfig.axisLineWidth
1415
+ }]
1416
+ });
1417
+ }
1418
+ if (this.showLabel && e.push({
1419
+ type: "text",
1420
+ groupTexts: ["bottom-axis", "label"],
1421
+ data: this.getTickValues().map((e) => ({
1422
+ text: e.toString(),
1423
+ x: this.getScaleValue(e),
1424
+ y: this.boundingRect.y + this.axisConfig.labelPadding + (this.showTick ? this.axisConfig.tickLength : 0) + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0),
1425
+ fill: this.axisThemeConfig.labelColor,
1426
+ fontSize: this.axisConfig.labelFontSize,
1427
+ rotation: 0,
1428
+ verticalPos: "top",
1429
+ horizontalPos: "center"
1430
+ }))
1431
+ }), this.showTick) {
1432
+ let t = this.boundingRect.y + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0);
1433
+ e.push({
1434
+ type: "path",
1435
+ groupTexts: ["bottom-axis", "ticks"],
1436
+ data: this.getTickValues().map((e) => ({
1437
+ path: `M ${this.getScaleValue(e)},${t} L ${this.getScaleValue(e)},${t + this.axisConfig.tickLength}`,
1438
+ strokeFill: this.axisThemeConfig.tickColor,
1439
+ strokeWidth: this.axisConfig.tickWidth
1440
+ }))
1441
+ });
1442
+ }
1443
+ return this.showTitle && e.push({
1444
+ type: "text",
1445
+ groupTexts: ["bottom-axis", "title"],
1446
+ data: [{
1447
+ text: this.title,
1448
+ x: this.range[0] + (this.range[1] - this.range[0]) / 2,
1449
+ y: this.boundingRect.y + this.boundingRect.height - this.axisConfig.titlePadding - this.titleTextHeight,
1450
+ fill: this.axisThemeConfig.titleColor,
1451
+ fontSize: this.axisConfig.titleFontSize,
1452
+ rotation: 0,
1453
+ verticalPos: "top",
1454
+ horizontalPos: "center"
1455
+ }]
1456
+ }), e;
1457
+ }
1458
+ getDrawableElementsForTopAxis() {
1459
+ let e = [];
1460
+ if (this.showAxisLine) {
1461
+ let t = this.boundingRect.y + this.boundingRect.height - this.axisConfig.axisLineWidth / 2;
1462
+ e.push({
1463
+ type: "path",
1464
+ groupTexts: ["top-axis", "axis-line"],
1465
+ data: [{
1466
+ path: `M ${this.boundingRect.x},${t} L ${this.boundingRect.x + this.boundingRect.width},${t}`,
1467
+ strokeFill: this.axisThemeConfig.axisLineColor,
1468
+ strokeWidth: this.axisConfig.axisLineWidth
1469
+ }]
1470
+ });
1471
+ }
1472
+ if (this.showLabel && e.push({
1473
+ type: "text",
1474
+ groupTexts: ["top-axis", "label"],
1475
+ data: this.getTickValues().map((e) => ({
1476
+ text: e.toString(),
1477
+ x: this.getScaleValue(e),
1478
+ y: this.boundingRect.y + (this.showTitle ? this.titleTextHeight + this.axisConfig.titlePadding * 2 : 0) + this.axisConfig.labelPadding,
1479
+ fill: this.axisThemeConfig.labelColor,
1480
+ fontSize: this.axisConfig.labelFontSize,
1481
+ rotation: 0,
1482
+ verticalPos: "top",
1483
+ horizontalPos: "center"
1484
+ }))
1485
+ }), this.showTick) {
1486
+ let t = this.boundingRect.y;
1487
+ e.push({
1488
+ type: "path",
1489
+ groupTexts: ["top-axis", "ticks"],
1490
+ data: this.getTickValues().map((e) => ({
1491
+ path: `M ${this.getScaleValue(e)},${t + this.boundingRect.height - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0)} L ${this.getScaleValue(e)},${t + this.boundingRect.height - this.axisConfig.tickLength - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0)}`,
1492
+ strokeFill: this.axisThemeConfig.tickColor,
1493
+ strokeWidth: this.axisConfig.tickWidth
1494
+ }))
1495
+ });
1496
+ }
1497
+ return this.showTitle && e.push({
1498
+ type: "text",
1499
+ groupTexts: ["top-axis", "title"],
1500
+ data: [{
1501
+ text: this.title,
1502
+ x: this.boundingRect.x + this.boundingRect.width / 2,
1503
+ y: this.boundingRect.y + this.axisConfig.titlePadding,
1504
+ fill: this.axisThemeConfig.titleColor,
1505
+ fontSize: this.axisConfig.titleFontSize,
1506
+ rotation: 0,
1507
+ verticalPos: "top",
1508
+ horizontalPos: "center"
1509
+ }]
1510
+ }), e;
1511
+ }
1512
+ getDrawableElements() {
1513
+ if (this.axisPosition === "left") return this.getDrawableElementsForLeftAxis();
1514
+ if (this.axisPosition === "right") throw Error("Drawing of right axis is not implemented");
1515
+ return this.axisPosition === "bottom" ? this.getDrawableElementsForBottomAxis() : this.axisPosition === "top" ? this.getDrawableElementsForTopAxis() : [];
1516
+ }
1517
+ }, M = class extends j {
1518
+ static {
1519
+ p(this, "BandAxis");
1520
+ }
1521
+ constructor(e, t, n, r, i) {
1522
+ super(e, r, i, t), this.categories = n, this.scale = S().domain(this.categories).range(this.getRange());
1523
+ }
1524
+ setRange(e) {
1525
+ super.setRange(e);
1526
+ }
1527
+ recalculateScale() {
1528
+ this.scale = S().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5), f.trace("BandAxis axis final categories, range: ", this.categories, this.getRange());
1529
+ }
1530
+ getTickValues() {
1531
+ return this.categories;
1532
+ }
1533
+ getScaleValue(e) {
1534
+ return this.scale(e) ?? this.getRange()[0];
1535
+ }
1536
+ }, ee = class extends j {
1537
+ static {
1538
+ p(this, "LinearAxis");
1539
+ }
1540
+ constructor(e, t, n, r, i) {
1541
+ super(e, r, i, t), this.domain = n, this.scale = m().domain(this.domain).range(this.getRange());
1542
+ }
1543
+ getTickValues() {
1544
+ return this.scale.ticks();
1545
+ }
1546
+ recalculateScale() {
1547
+ let e = [...this.domain];
1548
+ this.axisPosition === "left" && e.reverse(), this.scale = m().domain(e).range(this.getRange());
1549
+ }
1550
+ getScaleValue(e) {
1551
+ return this.scale(e);
1552
+ }
1553
+ };
1554
+ function N(e, t, n, r) {
1555
+ let i = new O(r);
1556
+ return E(e) ? new M(t, n, e.categories, e.title, i) : new ee(t, n, [e.min, e.max], e.title, i);
1557
+ }
1558
+ p(N, "getAxis");
1559
+ var te = class {
1560
+ constructor(e, t, n, r) {
1561
+ this.textDimensionCalculator = e, this.chartConfig = t, this.chartData = n, this.chartThemeConfig = r, this.boundingRect = {
1562
+ x: 0,
1563
+ y: 0,
1564
+ width: 0,
1565
+ height: 0
1566
+ }, this.showChartTitle = !1;
1567
+ }
1568
+ static {
1569
+ p(this, "ChartTitle");
1570
+ }
1571
+ setBoundingBoxXY(e) {
1572
+ this.boundingRect.x = e.x, this.boundingRect.y = e.y;
1573
+ }
1574
+ calculateSpace(e) {
1575
+ let t = this.textDimensionCalculator.getMaxDimension([this.chartData.title], this.chartConfig.titleFontSize), n = Math.max(t.width, e.width), r = t.height + 2 * this.chartConfig.titlePadding;
1576
+ return t.width <= n && t.height <= r && this.chartConfig.showTitle && this.chartData.title && (this.boundingRect.width = n, this.boundingRect.height = r, this.showChartTitle = !0), {
1577
+ width: this.boundingRect.width,
1578
+ height: this.boundingRect.height
1579
+ };
1580
+ }
1581
+ getDrawableElements() {
1582
+ let e = [];
1583
+ return this.showChartTitle && e.push({
1584
+ groupTexts: ["chart-title"],
1585
+ type: "text",
1586
+ data: [{
1587
+ fontSize: this.chartConfig.titleFontSize,
1588
+ text: this.chartData.title,
1589
+ verticalPos: "middle",
1590
+ horizontalPos: "center",
1591
+ x: this.boundingRect.x + this.boundingRect.width / 2,
1592
+ y: this.boundingRect.y + this.boundingRect.height / 2,
1593
+ fill: this.chartThemeConfig.titleColor,
1594
+ rotation: 0
1595
+ }]
1596
+ }), e;
1597
+ }
1598
+ };
1599
+ function ne(e, t, n, r) {
1600
+ return new te(new O(r), e, t, n);
1601
+ }
1602
+ p(ne, "getChartTitleComponent");
1603
+ var re = class {
1604
+ constructor(e, t, n, r, i) {
1605
+ this.plotData = e, this.xAxis = t, this.yAxis = n, this.orientation = r, this.plotIndex = i;
1606
+ }
1607
+ static {
1608
+ p(this, "LinePlot");
1609
+ }
1610
+ getDrawableElement() {
1611
+ let e = this.plotData.data.map((e) => [this.xAxis.getScaleValue(e[0]), this.yAxis.getScaleValue(e[1])]), t;
1612
+ return t = this.orientation === "horizontal" ? v().y((e) => e[0]).x((e) => e[1])(e) : v().x((e) => e[0]).y((e) => e[1])(e), t ? [{
1613
+ groupTexts: ["plot", `line-plot-${this.plotIndex}`],
1614
+ type: "path",
1615
+ data: [{
1616
+ path: t,
1617
+ strokeFill: this.plotData.strokeFill,
1618
+ strokeWidth: this.plotData.strokeWidth
1619
+ }]
1620
+ }] : [];
1621
+ }
1622
+ }, ie = class {
1623
+ constructor(e, t, n, r, i, a) {
1624
+ this.barData = e, this.boundingRect = t, this.xAxis = n, this.yAxis = r, this.orientation = i, this.plotIndex = a;
1625
+ }
1626
+ static {
1627
+ p(this, "BarPlot");
1628
+ }
1629
+ getDrawableElement() {
1630
+ let e = this.barData.data.map((e) => [this.xAxis.getScaleValue(e[0]), this.yAxis.getScaleValue(e[1])]), t = Math.min(this.xAxis.getAxisOuterPadding() * 2, this.xAxis.getTickDistance()) * .95, n = t / 2;
1631
+ return this.orientation === "horizontal" ? [{
1632
+ groupTexts: ["plot", `bar-plot-${this.plotIndex}`],
1633
+ type: "rect",
1634
+ data: e.map((e) => ({
1635
+ x: this.boundingRect.x,
1636
+ y: e[0] - n,
1637
+ height: t,
1638
+ width: e[1] - this.boundingRect.x,
1639
+ fill: this.barData.fill,
1640
+ strokeWidth: 0,
1641
+ strokeFill: this.barData.fill
1642
+ }))
1643
+ }] : [{
1644
+ groupTexts: ["plot", `bar-plot-${this.plotIndex}`],
1645
+ type: "rect",
1646
+ data: e.map((e) => ({
1647
+ x: e[0] - n,
1648
+ y: e[1],
1649
+ width: t,
1650
+ height: this.boundingRect.y + this.boundingRect.height - e[1],
1651
+ fill: this.barData.fill,
1652
+ strokeWidth: 0,
1653
+ strokeFill: this.barData.fill
1654
+ }))
1655
+ }];
1656
+ }
1657
+ }, ae = class {
1658
+ constructor(e, t, n) {
1659
+ this.chartConfig = e, this.chartData = t, this.chartThemeConfig = n, this.boundingRect = {
1660
+ x: 0,
1661
+ y: 0,
1662
+ width: 0,
1663
+ height: 0
1664
+ };
1665
+ }
1666
+ static {
1667
+ p(this, "BasePlot");
1668
+ }
1669
+ setAxes(e, t) {
1670
+ this.xAxis = e, this.yAxis = t;
1671
+ }
1672
+ setBoundingBoxXY(e) {
1673
+ this.boundingRect.x = e.x, this.boundingRect.y = e.y;
1674
+ }
1675
+ calculateSpace(e) {
1676
+ return this.boundingRect.width = e.width, this.boundingRect.height = e.height, {
1677
+ width: this.boundingRect.width,
1678
+ height: this.boundingRect.height
1679
+ };
1680
+ }
1681
+ getDrawableElements() {
1682
+ if (!(this.xAxis && this.yAxis)) throw Error("Axes must be passed to render Plots");
1683
+ let e = [];
1684
+ for (let [t, n] of this.chartData.plots.entries()) switch (n.type) {
1685
+ case "line":
1686
+ {
1687
+ let r = new re(n, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, t);
1688
+ e.push(...r.getDrawableElement());
1689
+ }
1690
+ break;
1691
+ case "bar":
1692
+ {
1693
+ let r = new ie(n, this.boundingRect, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, t);
1694
+ e.push(...r.getDrawableElement());
1695
+ }
1696
+ break;
1697
+ }
1698
+ return e;
1699
+ }
1700
+ };
1701
+ function P(e, t, n) {
1702
+ return new ae(e, t, n);
1703
+ }
1704
+ p(P, "getPlotComponent");
1705
+ var oe = class {
1706
+ constructor(e, t, n, r) {
1707
+ this.chartConfig = e, this.chartData = t, this.componentStore = {
1708
+ title: ne(e, t, n, r),
1709
+ plot: P(e, t, n),
1710
+ xAxis: N(t.xAxis, e.xAxis, {
1711
+ titleColor: n.xAxisTitleColor,
1712
+ labelColor: n.xAxisLabelColor,
1713
+ tickColor: n.xAxisTickColor,
1714
+ axisLineColor: n.xAxisLineColor
1715
+ }, r),
1716
+ yAxis: N(t.yAxis, e.yAxis, {
1717
+ titleColor: n.yAxisTitleColor,
1718
+ labelColor: n.yAxisLabelColor,
1719
+ tickColor: n.yAxisTickColor,
1720
+ axisLineColor: n.yAxisLineColor
1721
+ }, r)
1722
+ };
1723
+ }
1724
+ static {
1725
+ p(this, "Orchestrator");
1726
+ }
1727
+ calculateVerticalSpace() {
1728
+ let e = this.chartConfig.width, t = this.chartConfig.height, n = 0, r = 0, i = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), a = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), o = this.componentStore.plot.calculateSpace({
1729
+ width: i,
1730
+ height: a
1731
+ });
1732
+ e -= o.width, t -= o.height, o = this.componentStore.title.calculateSpace({
1733
+ width: this.chartConfig.width,
1734
+ height: t
1735
+ }), r = o.height, t -= o.height, this.componentStore.xAxis.setAxisPosition("bottom"), o = this.componentStore.xAxis.calculateSpace({
1736
+ width: e,
1737
+ height: t
1738
+ }), t -= o.height, this.componentStore.yAxis.setAxisPosition("left"), o = this.componentStore.yAxis.calculateSpace({
1739
+ width: e,
1740
+ height: t
1741
+ }), n = o.width, e -= o.width, e > 0 && (i += e, e = 0), t > 0 && (a += t, t = 0), this.componentStore.plot.calculateSpace({
1742
+ width: i,
1743
+ height: a
1744
+ }), this.componentStore.plot.setBoundingBoxXY({
1745
+ x: n,
1746
+ y: r
1747
+ }), this.componentStore.xAxis.setRange([n, n + i]), this.componentStore.xAxis.setBoundingBoxXY({
1748
+ x: n,
1749
+ y: r + a
1750
+ }), this.componentStore.yAxis.setRange([r, r + a]), this.componentStore.yAxis.setBoundingBoxXY({
1751
+ x: 0,
1752
+ y: r
1753
+ }), this.chartData.plots.some((e) => T(e)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
1754
+ }
1755
+ calculateHorizontalSpace() {
1756
+ let e = this.chartConfig.width, t = this.chartConfig.height, n = 0, r = 0, i = 0, a = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), o = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), s = this.componentStore.plot.calculateSpace({
1757
+ width: a,
1758
+ height: o
1759
+ });
1760
+ e -= s.width, t -= s.height, s = this.componentStore.title.calculateSpace({
1761
+ width: this.chartConfig.width,
1762
+ height: t
1763
+ }), n = s.height, t -= s.height, this.componentStore.xAxis.setAxisPosition("left"), s = this.componentStore.xAxis.calculateSpace({
1764
+ width: e,
1765
+ height: t
1766
+ }), e -= s.width, r = s.width, this.componentStore.yAxis.setAxisPosition("top"), s = this.componentStore.yAxis.calculateSpace({
1767
+ width: e,
1768
+ height: t
1769
+ }), t -= s.height, i = n + s.height, e > 0 && (a += e, e = 0), t > 0 && (o += t, t = 0), this.componentStore.plot.calculateSpace({
1770
+ width: a,
1771
+ height: o
1772
+ }), this.componentStore.plot.setBoundingBoxXY({
1773
+ x: r,
1774
+ y: i
1775
+ }), this.componentStore.yAxis.setRange([r, r + a]), this.componentStore.yAxis.setBoundingBoxXY({
1776
+ x: r,
1777
+ y: n
1778
+ }), this.componentStore.xAxis.setRange([i, i + o]), this.componentStore.xAxis.setBoundingBoxXY({
1779
+ x: 0,
1780
+ y: i
1781
+ }), this.chartData.plots.some((e) => T(e)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
1782
+ }
1783
+ calculateSpace() {
1784
+ this.chartConfig.chartOrientation === "horizontal" ? this.calculateHorizontalSpace() : this.calculateVerticalSpace();
1785
+ }
1786
+ getDrawableElement() {
1787
+ this.calculateSpace();
1788
+ let e = [];
1789
+ this.componentStore.plot.setAxes(this.componentStore.xAxis, this.componentStore.yAxis);
1790
+ for (let t of Object.values(this.componentStore)) e.push(...t.getDrawableElements());
1791
+ return e;
1792
+ }
1793
+ }, se = class {
1794
+ static {
1795
+ p(this, "XYChartBuilder");
1796
+ }
1797
+ static build(e, t, n, r) {
1798
+ return new oe(e, t, n, r).getDrawableElement();
1799
+ }
1800
+ }, F = 0, I, L = W(), R = U(), z = G(), B = R.plotColorPalette.split(",").map((e) => e.trim()), V = !1, H = !1;
1801
+ function U() {
1802
+ let e = n(), t = d();
1803
+ return _(e.xyChart, t.themeVariables.xyChart);
1804
+ }
1805
+ p(U, "getChartDefaultThemeConfig");
1806
+ function W() {
1807
+ let e = d();
1808
+ return _(l.xyChart, e.xyChart);
1809
+ }
1810
+ p(W, "getChartDefaultConfig");
1811
+ function G() {
1812
+ return {
1813
+ yAxis: {
1814
+ type: "linear",
1815
+ title: "",
1816
+ min: Infinity,
1817
+ max: -Infinity
1818
+ },
1819
+ xAxis: {
1820
+ type: "band",
1821
+ title: "",
1822
+ categories: []
1823
+ },
1824
+ title: "",
1825
+ plots: []
1826
+ };
1827
+ }
1828
+ p(G, "getChartDefaultData");
1829
+ function K(e) {
1830
+ let t = d();
1831
+ return r(e.trim(), t);
1832
+ }
1833
+ p(K, "textSanitizer");
1834
+ function q(e) {
1835
+ I = e;
1836
+ }
1837
+ p(q, "setTmpSVGG");
1838
+ function J(e) {
1839
+ e === "horizontal" ? L.chartOrientation = "horizontal" : L.chartOrientation = "vertical";
1840
+ }
1841
+ p(J, "setOrientation");
1842
+ function Y(e) {
1843
+ z.xAxis.title = K(e.text);
1844
+ }
1845
+ p(Y, "setXAxisTitle");
1846
+ function X(e, t) {
1847
+ z.xAxis = {
1848
+ type: "linear",
1849
+ title: z.xAxis.title,
1850
+ min: e,
1851
+ max: t
1852
+ }, V = !0;
1853
+ }
1854
+ p(X, "setXAxisRangeData");
1855
+ function ce(e) {
1856
+ z.xAxis = {
1857
+ type: "band",
1858
+ title: z.xAxis.title,
1859
+ categories: e.map((e) => K(e.text))
1860
+ }, V = !0;
1861
+ }
1862
+ p(ce, "setXAxisBand");
1863
+ function le(e) {
1864
+ z.yAxis.title = K(e.text);
1865
+ }
1866
+ p(le, "setYAxisTitle");
1867
+ function ue(e, t) {
1868
+ z.yAxis = {
1869
+ type: "linear",
1870
+ title: z.yAxis.title,
1871
+ min: e,
1872
+ max: t
1873
+ }, H = !0;
1874
+ }
1875
+ p(ue, "setYAxisRangeData");
1876
+ function de(e) {
1877
+ let t = Math.min(...e), n = Math.max(...e), r = D(z.yAxis) ? z.yAxis.min : Infinity, i = D(z.yAxis) ? z.yAxis.max : -Infinity;
1878
+ z.yAxis = {
1879
+ type: "linear",
1880
+ title: z.yAxis.title,
1881
+ min: Math.min(r, t),
1882
+ max: Math.max(i, n)
1883
+ };
1884
+ }
1885
+ p(de, "setYAxisRangeFromPlotData");
1886
+ function Z(e) {
1887
+ let t = [];
1888
+ if (e.length === 0) return t;
1889
+ if (!V) {
1890
+ let t = D(z.xAxis) ? z.xAxis.min : Infinity, n = D(z.xAxis) ? z.xAxis.max : -Infinity;
1891
+ X(Math.min(t, 1), Math.max(n, e.length));
1892
+ }
1893
+ if (H || de(e), E(z.xAxis) && (t = z.xAxis.categories.map((t, n) => [t, e[n]])), D(z.xAxis)) {
1894
+ let n = z.xAxis.min, r = z.xAxis.max, i = (r - n) / (e.length - 1), a = [];
1895
+ for (let e = n; e <= r; e += i) a.push(`${e}`);
1896
+ t = a.map((t, n) => [t, e[n]]);
1897
+ }
1898
+ return t;
1899
+ }
1900
+ p(Z, "transformDataWithoutCategory");
1901
+ function Q(e) {
1902
+ return B[e === 0 ? 0 : e % B.length];
1903
+ }
1904
+ p(Q, "getPlotColorFromPalette");
1905
+ function fe(e, t) {
1906
+ let n = Z(t);
1907
+ z.plots.push({
1908
+ type: "line",
1909
+ strokeFill: Q(F),
1910
+ strokeWidth: 2,
1911
+ data: n
1912
+ }), F++;
1913
+ }
1914
+ p(fe, "setLineData");
1915
+ function pe(e, t) {
1916
+ let n = Z(t);
1917
+ z.plots.push({
1918
+ type: "bar",
1919
+ fill: Q(F),
1920
+ data: n
1921
+ }), F++;
1922
+ }
1923
+ p(pe, "setBarData");
1924
+ function me() {
1925
+ if (z.plots.length === 0) throw Error("No Plot to render, please provide a plot with some data");
1926
+ return z.title = t(), se.build(L, z, R, I);
1927
+ }
1928
+ p(me, "getDrawableElem");
1929
+ function he() {
1930
+ return R;
1931
+ }
1932
+ p(he, "getChartThemeConfig");
1933
+ function ge() {
1934
+ return L;
1935
+ }
1936
+ p(ge, "getChartConfig");
1937
+ function $() {
1938
+ return z;
1939
+ }
1940
+ p($, "getXYChartData");
1941
+ var _e = {
1942
+ parser: w,
1943
+ db: {
1944
+ getDrawableElem: me,
1945
+ clear: /* @__PURE__ */ p(function() {
1946
+ s(), F = 0, L = W(), z = G(), R = U(), B = R.plotColorPalette.split(",").map((e) => e.trim()), V = !1, H = !1;
1947
+ }, "clear"),
1948
+ setAccTitle: i,
1949
+ getAccTitle: u,
1950
+ setDiagramTitle: a,
1951
+ getDiagramTitle: t,
1952
+ getAccDescription: o,
1953
+ setAccDescription: e,
1954
+ setOrientation: J,
1955
+ setXAxisTitle: Y,
1956
+ setXAxisRangeData: X,
1957
+ setXAxisBand: ce,
1958
+ setYAxisTitle: le,
1959
+ setYAxisRangeData: ue,
1960
+ setLineData: fe,
1961
+ setBarData: pe,
1962
+ setTmpSVGG: q,
1963
+ getChartThemeConfig: he,
1964
+ getChartConfig: ge,
1965
+ getXYChartData: $
1966
+ },
1967
+ renderer: { draw: /* @__PURE__ */ p((e, t, n, r) => {
1968
+ let i = r.db, a = i.getChartThemeConfig(), o = i.getChartConfig(), s = i.getXYChartData().plots[0].data.map((e) => e[1]);
1969
+ function l(e) {
1970
+ return e === "top" ? "text-before-edge" : "middle";
1971
+ }
1972
+ p(l, "getDominantBaseLine");
1973
+ function u(e) {
1974
+ return e === "left" ? "start" : e === "right" ? "end" : "middle";
1975
+ }
1976
+ p(u, "getTextAnchor");
1977
+ function d(e) {
1978
+ return `translate(${e.x}, ${e.y}) rotate(${e.rotation || 0})`;
1979
+ }
1980
+ p(d, "getTextTransformation"), f.debug("Rendering xychart chart\n" + e);
1981
+ let m = y(t), h = m.append("g").attr("class", "main"), g = h.append("rect").attr("width", o.width).attr("height", o.height).attr("class", "background");
1982
+ c(m, o.height, o.width, !0), m.attr("viewBox", `0 0 ${o.width} ${o.height}`), g.attr("fill", a.backgroundColor), i.setTmpSVGG(m.append("g").attr("class", "mermaid-tmp-group"));
1983
+ let _ = i.getDrawableElem(), v = {};
1984
+ function b(e) {
1985
+ let t = h, n = "";
1986
+ for (let [r] of e.entries()) {
1987
+ let i = h;
1988
+ r > 0 && v[n] && (i = v[n]), n += e[r], t = v[n], t ||= v[n] = i.append("g").attr("class", e[r]);
1989
+ }
1990
+ return t;
1991
+ }
1992
+ p(b, "getGroup");
1993
+ for (let e of _) {
1994
+ if (e.data.length === 0) continue;
1995
+ let t = b(e.groupTexts);
1996
+ switch (e.type) {
1997
+ case "rect":
1998
+ if (t.selectAll("rect").data(e.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), o.showDataLabel) {
1999
+ let n = o.showDataLabelOutsideBar;
2000
+ if (o.chartOrientation === "horizontal") {
2001
+ let r = function(e, t) {
2002
+ let { data: n, label: r } = e;
2003
+ return t * r.length * i <= n.width - o;
2004
+ };
2005
+ p(r, "fitsHorizontally");
2006
+ let i = .7, o = 10, c = e.data.map((e, t) => ({
2007
+ data: e,
2008
+ label: s[t].toString()
2009
+ })).filter((e) => e.data.width > 0 && e.data.height > 0), l = c.map((e) => {
2010
+ let { data: t } = e, n = t.height * .7;
2011
+ for (; !r(e, n) && n > 0;) --n;
2012
+ return n;
2013
+ }), u = Math.floor(Math.min(...l)), d = /* @__PURE__ */ p((e) => n ? e.data.x + e.data.width + 10 : e.data.x + e.data.width - 10, "determineLabelXPosition");
2014
+ t.selectAll("text").data(c).enter().append("text").attr("x", d).attr("y", (e) => e.data.y + e.data.height / 2).attr("text-anchor", n ? "start" : "end").attr("dominant-baseline", "middle").attr("fill", a.dataLabelColor).attr("font-size", `${u}px`).text((e) => e.label);
2015
+ } else {
2016
+ let r = function(e, t, n) {
2017
+ let { data: r, label: i } = e, a = t * i.length * .7, o = r.x + r.width / 2, s = o - a / 2, c = o + a / 2, l = s >= r.x && c <= r.x + r.width, u = r.y + n + t <= r.y + r.height;
2018
+ return l && u;
2019
+ };
2020
+ p(r, "fitsInBar");
2021
+ let i = e.data.map((e, t) => ({
2022
+ data: e,
2023
+ label: s[t].toString()
2024
+ })).filter((e) => e.data.width > 0 && e.data.height > 0), o = i.map((e) => {
2025
+ let { data: t, label: n } = e, i = t.width / (n.length * .7);
2026
+ for (; !r(e, i, 10) && i > 0;) --i;
2027
+ return i;
2028
+ }), c = Math.floor(Math.min(...o)), l = /* @__PURE__ */ p((e) => n ? e.data.y - 10 : e.data.y + 10, "determineLabelYPosition");
2029
+ t.selectAll("text").data(i).enter().append("text").attr("x", (e) => e.data.x + e.data.width / 2).attr("y", l).attr("text-anchor", "middle").attr("dominant-baseline", n ? "auto" : "hanging").attr("fill", a.dataLabelColor).attr("font-size", `${c}px`).text((e) => e.label);
2030
+ }
2031
+ }
2032
+ break;
2033
+ case "text":
2034
+ t.selectAll("text").data(e.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) => l(e.verticalPos)).attr("text-anchor", (e) => u(e.horizontalPos)).attr("transform", (e) => d(e)).text((e) => e.text);
2035
+ break;
2036
+ case "path":
2037
+ t.selectAll("path").data(e.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);
2038
+ break;
2039
+ }
2040
+ }
2041
+ }, "draw") }
2042
+ };
2043
+ //#endregion
2044
+ export { _e as diagram };