@wzh-/ai-chat-example 1.0.2 → 1.0.4

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 (1008) hide show
  1. package/dist/css/index.css +2 -0
  2. package/dist/js/_basePickBy.js +135 -0
  3. package/dist/js/_baseUniq.js +573 -0
  4. package/dist/js/angular-html.js +14 -0
  5. package/dist/js/angular-html2.js +5 -0
  6. package/dist/js/angular-ts.js +19 -0
  7. package/dist/js/apl.js +15 -0
  8. package/dist/js/arc.js +78 -0
  9. package/dist/js/architecture-U656AL7Q.js +8 -0
  10. package/dist/js/architectureDiagram-VXUJARFQ.js +4053 -0
  11. package/dist/js/astro.js +16 -0
  12. package/dist/js/bash.js +2 -0
  13. package/dist/js/blade.js +19 -0
  14. package/dist/js/blockDiagram-VD42YOAC.js +3013 -0
  15. package/dist/js/bsl.js +3 -0
  16. package/dist/js/c.js +2 -0
  17. package/dist/js/c4Diagram-YG6GDRKO.js +2955 -0
  18. package/dist/js/cairo.js +3 -0
  19. package/dist/js/channel.js +3 -0
  20. package/dist/js/chunk-4BX2VUAB.js +6 -0
  21. package/dist/js/chunk-55IACEB6.js +6 -0
  22. package/dist/js/chunk-76Q3JFCE.js +19 -0
  23. package/dist/js/chunk-ABZYJK2D.js +2515 -0
  24. package/dist/js/chunk-ATLVNIR6.js +65 -0
  25. package/dist/js/chunk-B4BG7PRW.js +3108 -0
  26. package/dist/js/chunk-CVBHYZKI.js +10 -0
  27. package/dist/js/chunk-DI55MBZ5.js +1994 -0
  28. package/dist/js/chunk-EXTU4WIE.js +7 -0
  29. package/dist/js/chunk-FMBD7UC4.js +3 -0
  30. package/dist/js/chunk-FPAJGGOC.js +12252 -0
  31. package/dist/js/chunk-FWNWRKHM.js +56 -0
  32. package/dist/js/chunk-HN2XXSSU.js +74 -0
  33. package/dist/js/chunk-JA3XYJ7Z.js +463 -0
  34. package/dist/js/chunk-JZLCHNYA.js +4861 -0
  35. package/dist/js/chunk-LBM3YZW2.js +19 -0
  36. package/dist/js/chunk-LHMN2FUI.js +19 -0
  37. package/dist/js/chunk-MI3HLSF2.js +1140 -0
  38. package/dist/js/chunk-N4CR4FBY.js +39 -0
  39. package/dist/js/chunk-O7ZBX7Z2.js +26 -0
  40. package/dist/js/chunk-QN33PNHL.js +23 -0
  41. package/dist/js/chunk-QXUST7PY.js +486 -0
  42. package/dist/js/chunk-QZHKN3VN.js +11 -0
  43. package/dist/js/chunk-S3R3BYOJ.js +1074 -0
  44. package/dist/js/chunk-S6J4BHB3.js +19 -0
  45. package/dist/js/chunk-T53DSG4Q.js +24 -0
  46. package/dist/js/chunk-TZMSLE5B.js +55 -0
  47. package/dist/js/classDiagram-2ON5EDUG.js +33 -0
  48. package/dist/js/classDiagram-v2-WZHVMYZB.js +33 -0
  49. package/dist/js/clone.js +7 -0
  50. package/dist/js/cmake.js +2 -0
  51. package/dist/js/cobol.js +10 -0
  52. package/dist/js/coffee.js +3 -0
  53. package/dist/js/cose-bilkent-S5V4N54A.js +2250 -0
  54. package/dist/js/cpp.js +16 -0
  55. package/dist/js/cpp2.js +6 -0
  56. package/dist/js/crystal.js +16 -0
  57. package/dist/js/csharp.js +2 -0
  58. package/dist/js/css.js +2 -0
  59. package/dist/js/csv.js +2 -0
  60. package/dist/js/dagre-6UL2VRFP.js +298 -0
  61. package/dist/js/dagre.js +1395 -0
  62. package/dist/js/diagram-PSM6KHXK.js +497 -0
  63. package/dist/js/diagram-QEK2KX5R.js +226 -0
  64. package/dist/js/diagram-S2PKOQOG.js +144 -0
  65. package/dist/js/diff.js +2 -0
  66. package/dist/js/dist.js +49 -0
  67. package/dist/js/edge.js +12 -0
  68. package/dist/js/elixir.js +5 -0
  69. package/dist/js/elm.js +4 -0
  70. package/dist/js/erDiagram-Q2GNP2WA.js +1603 -0
  71. package/dist/js/erb.js +25 -0
  72. package/dist/js/erlang.js +3 -0
  73. package/dist/js/flowDiagram-NV44I4VS.js +4132 -0
  74. package/dist/js/fortran-fixed-form.js +3 -0
  75. package/dist/js/fortran-free-form.js +2 -0
  76. package/dist/js/fsharp.js +3 -0
  77. package/dist/js/ganttDiagram-JELNMOA3.js +3009 -0
  78. package/dist/js/gdresource.js +8 -0
  79. package/dist/js/gdscript.js +2 -0
  80. package/dist/js/gdshader.js +2 -0
  81. package/dist/js/git-commit.js +3 -0
  82. package/dist/js/git-rebase.js +3 -0
  83. package/dist/js/gitGraph-F6HP7TQM.js +8 -0
  84. package/dist/js/gitGraphDiagram-NY62KEGX.js +634 -0
  85. package/dist/js/github-dark.js +2 -0
  86. package/dist/js/github-light.js +2 -0
  87. package/dist/js/glimmer-js.js +12 -0
  88. package/dist/js/glimmer-ts.js +12 -0
  89. package/dist/js/glsl.js +3 -0
  90. package/dist/js/glsl2.js +3 -0
  91. package/dist/js/go.js +2 -0
  92. package/dist/js/graphlib.js +223 -0
  93. package/dist/js/graphql.js +6 -0
  94. package/dist/js/graphql2.js +12 -0
  95. package/dist/js/hack.js +10 -0
  96. package/dist/js/haml.js +4 -0
  97. package/dist/js/haml2.js +8 -0
  98. package/dist/js/handlebars.js +12 -0
  99. package/dist/js/haxe.js +2 -0
  100. package/dist/js/hlsl.js +2 -0
  101. package/dist/js/html-derivative.js +5 -0
  102. package/dist/js/html-derivative2.js +3 -0
  103. package/dist/js/html.js +4 -0
  104. package/dist/js/html2.js +8 -0
  105. package/dist/js/http.js +17 -0
  106. package/dist/js/hurl.js +15 -0
  107. package/dist/js/hxml.js +3 -0
  108. package/dist/js/index.js +37693 -0
  109. package/dist/js/info-NVLQJR56.js +8 -0
  110. package/dist/js/infoDiagram-WHAUD3N6.js +31 -0
  111. package/dist/js/isEmpty.js +32 -0
  112. package/dist/js/java.js +2 -0
  113. package/dist/js/javascript.js +2 -0
  114. package/dist/js/jinja.js +5 -0
  115. package/dist/js/jison.js +3 -0
  116. package/dist/js/journeyDiagram-XKPGCS4Q.js +884 -0
  117. package/dist/js/json.js +2 -0
  118. package/dist/js/jsx.js +2 -0
  119. package/dist/js/julia.js +17 -0
  120. package/dist/js/kanban-definition-3W4ZIXB7.js +971 -0
  121. package/dist/js/katex.js +2 -0
  122. package/dist/js/latex.js +4 -0
  123. package/dist/js/less.js +2 -0
  124. package/dist/js/line.js +30 -0
  125. package/dist/js/linear.js +250 -0
  126. package/dist/js/liquid.js +12 -0
  127. package/dist/js/lua.js +3 -0
  128. package/dist/js/lua2.js +3 -0
  129. package/dist/js/markdown.js +2 -0
  130. package/dist/js/marko.js +12 -0
  131. package/dist/js/mdc.js +13 -0
  132. package/dist/js/mermaid-parser.core.js +48 -0
  133. package/dist/js/mermaid.core.js +895 -0
  134. package/dist/js/mindmap-definition-VGOIOE7T.js +960 -0
  135. package/dist/js/nginx.js +4 -0
  136. package/dist/js/nim.js +19 -0
  137. package/dist/js/ordinal.js +61 -0
  138. package/dist/js/packet-BFZMPI3H.js +8 -0
  139. package/dist/js/perl.js +15 -0
  140. package/dist/js/php.js +9 -0
  141. package/dist/js/php2.js +16 -0
  142. package/dist/js/pie-7BOR55EZ.js +8 -0
  143. package/dist/js/pieDiagram-ADFJNKIX.js +172 -0
  144. package/dist/js/postcss.js +2 -0
  145. package/dist/js/pug.js +10 -0
  146. package/dist/js/python.js +2 -0
  147. package/dist/js/qml.js +3 -0
  148. package/dist/js/quadrantDiagram-AYHSOK5B.js +1970 -0
  149. package/dist/js/r.js +2 -0
  150. package/dist/js/radar-NHE76QYJ.js +8 -0
  151. package/dist/js/razor.js +10 -0
  152. package/dist/js/regexp.js +2 -0
  153. package/dist/js/requirementDiagram-UZGBJVZJ.js +2194 -0
  154. package/dist/js/rst.js +34 -0
  155. package/dist/js/ruby.js +20 -0
  156. package/dist/js/ruby2.js +28 -0
  157. package/dist/js/sankeyDiagram-TZEHDZUN.js +884 -0
  158. package/dist/js/sas.js +3 -0
  159. package/dist/js/scss.js +3 -0
  160. package/dist/js/scss2.js +3 -0
  161. package/dist/js/sdbl.js +2 -0
  162. package/dist/js/sequenceDiagram-WL72ISMW.js +3560 -0
  163. package/dist/js/shaderlab.js +3 -0
  164. package/dist/js/shellscript.js +2 -0
  165. package/dist/js/shellsession.js +3 -0
  166. package/dist/js/soy.js +5 -0
  167. package/dist/js/sparql.js +3 -0
  168. package/dist/js/sql.js +2 -0
  169. package/dist/js/src.js +1975 -0
  170. package/dist/js/stata.js +3 -0
  171. package/dist/js/stateDiagram-FKZM4ZOC.js +224 -0
  172. package/dist/js/stateDiagram-v2-4FDKWEC3.js +32 -0
  173. package/dist/js/stylus.js +2 -0
  174. package/dist/js/svelte.js +12 -0
  175. package/dist/js/templ.js +10 -0
  176. package/dist/js/tex.js +3 -0
  177. package/dist/js/tex2.js +3 -0
  178. package/dist/js/timeline-definition-IT6M3QCI.js +830 -0
  179. package/dist/js/treemap-KMMF4GRG.js +8 -0
  180. package/dist/js/ts-tags.js +38 -0
  181. package/dist/js/tsx.js +2 -0
  182. package/dist/js/turtle.js +2 -0
  183. package/dist/js/twig.js +33 -0
  184. package/dist/js/typescript.js +2 -0
  185. package/dist/js/vue-html.js +13 -0
  186. package/dist/js/vue-vine.js +22 -0
  187. package/dist/js/vue.js +20 -0
  188. package/dist/js/vue2.js +8 -0
  189. package/dist/js/xml.js +3 -0
  190. package/dist/js/xml2.js +3 -0
  191. package/dist/js/xsl.js +4 -0
  192. package/dist/js/xychartDiagram-PRI3JC2R.js +2022 -0
  193. package/dist/js/yaml.js +2 -0
  194. package/dist/types/components/ai-elements/artifact/ArtifactAction.vue.d.ts +32 -0
  195. package/dist/types/components/ai-elements/artifact/ArtifactClose.vue.d.ts +27 -0
  196. package/dist/types/components/ai-elements/checkpoint/CheckpointTrigger.vue.d.ts +27 -0
  197. package/dist/types/components/ai-elements/conversation/Conversation.vue.d.ts +47 -0
  198. package/dist/types/components/ai-elements/message/MessageAction.vue.d.ts +28 -0
  199. package/dist/types/components/ai-elements/prompt-input/PromptInputButton.vue.d.ts +20 -0
  200. package/dist/types/components/ai-elements/prompt-input/PromptInputSubmit.vue.d.ts +30 -0
  201. package/dist/types/components/ai-elements/shimmer/Shimmer.vue.d.ts +28 -0
  202. package/dist/types/components/ai-elements/web-preview/WebPreviewNavigationButton.vue.d.ts +30 -0
  203. package/dist/types/components/ui/badge/index.d.ts +6 -0
  204. package/dist/types/components/ui/button/Button.vue.d.ts +27 -0
  205. package/dist/types/components/ui/button/index.d.ts +7 -0
  206. package/dist/types/components/ui/button-group/ButtonGroupSeparator.vue.d.ts +9 -0
  207. package/dist/types/components/ui/button-group/ButtonGroupText.vue.d.ts +26 -0
  208. package/dist/types/components/ui/button-group/index.d.ts +8 -0
  209. package/dist/types/components/ui/carousel/CarouselNext.vue.d.ts +26 -0
  210. package/dist/types/components/ui/carousel/CarouselPrevious.vue.d.ts +26 -0
  211. package/dist/types/components/ui/input-group/InputGroupButton.vue.d.ts +21 -0
  212. package/dist/types/components/ui/select/Select.vue.d.ts +28 -0
  213. package/dist/types/components/ui/separator/Separator.vue.d.ts +10 -0
  214. package/dist/types/composables/useChat.d.ts +8 -0
  215. package/dist/types/types/css.d.ts +5 -0
  216. package/package.json +12 -6
  217. package/dist/_basePickBy-CkZky1V-.js +0 -135
  218. package/dist/_baseUniq-f11MNaXe.js +0 -573
  219. package/dist/angular-html-C5vmpet2.js +0 -14
  220. package/dist/angular-html-CLTv4jM9.js +0 -5
  221. package/dist/angular-ts-BKqJWrwt.js +0 -19
  222. package/dist/apl-BcJs32yU.js +0 -15
  223. package/dist/arc-Dh_0vvHo.js +0 -78
  224. package/dist/architecture-U656AL7Q-BqUSHYp0.js +0 -8
  225. package/dist/architectureDiagram-VXUJARFQ-BQvEdgpc.js +0 -4053
  226. package/dist/astro-q-huTQEP.js +0 -16
  227. package/dist/bash-DI_p7w58.js +0 -2
  228. package/dist/blade-Ckff5WJQ.js +0 -19
  229. package/dist/blockDiagram-VD42YOAC-DKkDshq3.js +0 -3013
  230. package/dist/bsl-BTNab0FD.js +0 -3
  231. package/dist/c-BYDGkYzS.js +0 -2
  232. package/dist/c4Diagram-YG6GDRKO-KsGqOrVB.js +0 -2955
  233. package/dist/cairo-DUZgbTPW.js +0 -3
  234. package/dist/channel-BrxVk5HC.js +0 -3
  235. package/dist/chunk-4BX2VUAB-BGxl5VGr.js +0 -6
  236. package/dist/chunk-55IACEB6-CDMD5yu1.js +0 -6
  237. package/dist/chunk-76Q3JFCE-Db4Lkmow.js +0 -19
  238. package/dist/chunk-ABZYJK2D-BZvlc6Ej.js +0 -2515
  239. package/dist/chunk-ATLVNIR6-C3g7rsIT.js +0 -65
  240. package/dist/chunk-B4BG7PRW-Dx-bGI1r.js +0 -3108
  241. package/dist/chunk-CVBHYZKI-DxEBlSK7.js +0 -10
  242. package/dist/chunk-DI55MBZ5-CCWuZnfW.js +0 -1994
  243. package/dist/chunk-EXTU4WIE-BjMX7pAs.js +0 -7
  244. package/dist/chunk-FMBD7UC4-Dj3Ok4Bk.js +0 -3
  245. package/dist/chunk-FPAJGGOC-nWbO3e1v.js +0 -12252
  246. package/dist/chunk-FWNWRKHM-CjcwRw2u.js +0 -56
  247. package/dist/chunk-HN2XXSSU-Lv4Ef0co.js +0 -74
  248. package/dist/chunk-JA3XYJ7Z-Dhh1_u_p.js +0 -463
  249. package/dist/chunk-JZLCHNYA-vrb_Ucuc.js +0 -4861
  250. package/dist/chunk-LBM3YZW2-D8lrIfGo.js +0 -19
  251. package/dist/chunk-LHMN2FUI-DLQ0i8hl.js +0 -19
  252. package/dist/chunk-MI3HLSF2-Dy6F9XgR.js +0 -1140
  253. package/dist/chunk-N4CR4FBY-BdaGxHlZ.js +0 -39
  254. package/dist/chunk-O7ZBX7Z2-D8Yaukr5.js +0 -26
  255. package/dist/chunk-QN33PNHL-DnPw7tni.js +0 -23
  256. package/dist/chunk-QXUST7PY-D9mGQ-UP.js +0 -486
  257. package/dist/chunk-QZHKN3VN-ClanGuXA.js +0 -11
  258. package/dist/chunk-S3R3BYOJ-DHTsHczu.js +0 -1074
  259. package/dist/chunk-S6J4BHB3-8RrHs9bD.js +0 -19
  260. package/dist/chunk-T53DSG4Q-C2BDA_QX.js +0 -24
  261. package/dist/chunk-TZMSLE5B-F4nHm7N1.js +0 -55
  262. package/dist/classDiagram-2ON5EDUG-C_ZEMlKu.js +0 -33
  263. package/dist/classDiagram-v2-WZHVMYZB-BHb5nZOM.js +0 -33
  264. package/dist/clone-BRioDvRr.js +0 -7
  265. package/dist/cmake-CA3Lfsq7.js +0 -2
  266. package/dist/cobol-DhzLzJib.js +0 -10
  267. package/dist/coffee-P21KTKMu.js +0 -3
  268. package/dist/components/ai-elements/artifact/ArtifactAction.vue.d.ts +0 -32
  269. package/dist/components/ai-elements/artifact/ArtifactClose.vue.d.ts +0 -27
  270. package/dist/components/ai-elements/checkpoint/CheckpointTrigger.vue.d.ts +0 -27
  271. package/dist/components/ai-elements/conversation/Conversation.vue.d.ts +0 -47
  272. package/dist/components/ai-elements/message/MessageAction.vue.d.ts +0 -28
  273. package/dist/components/ai-elements/prompt-input/PromptInputButton.vue.d.ts +0 -20
  274. package/dist/components/ai-elements/prompt-input/PromptInputSubmit.vue.d.ts +0 -30
  275. package/dist/components/ai-elements/shimmer/Shimmer.vue.d.ts +0 -28
  276. package/dist/components/ai-elements/web-preview/WebPreviewNavigationButton.vue.d.ts +0 -30
  277. package/dist/components/ui/badge/index.d.ts +0 -6
  278. package/dist/components/ui/button/Button.vue.d.ts +0 -27
  279. package/dist/components/ui/button/index.d.ts +0 -7
  280. package/dist/components/ui/button-group/ButtonGroupSeparator.vue.d.ts +0 -9
  281. package/dist/components/ui/button-group/ButtonGroupText.vue.d.ts +0 -26
  282. package/dist/components/ui/button-group/index.d.ts +0 -8
  283. package/dist/components/ui/carousel/CarouselNext.vue.d.ts +0 -26
  284. package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +0 -26
  285. package/dist/components/ui/input-group/InputGroupButton.vue.d.ts +0 -21
  286. package/dist/components/ui/select/Select.vue.d.ts +0 -28
  287. package/dist/components/ui/separator/Separator.vue.d.ts +0 -10
  288. package/dist/composables/useChat.d.ts +0 -8
  289. package/dist/cose-bilkent-S5V4N54A-Dy-do3hl.js +0 -2250
  290. package/dist/cpp-C6JyDxZu.js +0 -16
  291. package/dist/cpp-GAIEvywS.js +0 -6
  292. package/dist/crystal-BJfcoGS4.js +0 -16
  293. package/dist/csharp-JE-9ns6W.js +0 -2
  294. package/dist/css-Cy-fypCV.js +0 -2
  295. package/dist/csv-DJ7xG4PY.js +0 -2
  296. package/dist/dagre-6UL2VRFP-B38_sZWh.js +0 -298
  297. package/dist/dagre-DtvXp3zQ.js +0 -1395
  298. package/dist/diagram-PSM6KHXK-D6swsG-y.js +0 -497
  299. package/dist/diagram-QEK2KX5R-B7Hi0LAL.js +0 -226
  300. package/dist/diagram-S2PKOQOG-DLx7PlpM.js +0 -144
  301. package/dist/diff-COB48_rb.js +0 -2
  302. package/dist/dist-CrnZo_23.js +0 -49
  303. package/dist/edge-Dm7HQa9N.js +0 -12
  304. package/dist/elixir-BkvHyCNd.js +0 -5
  305. package/dist/elm-rz9wTSrn.js +0 -4
  306. package/dist/erDiagram-Q2GNP2WA-B67FD8rh.js +0 -1603
  307. package/dist/erb-DyrwQYVz.js +0 -25
  308. package/dist/erlang-DLFKZs5N.js +0 -3
  309. package/dist/flowDiagram-NV44I4VS-DHXgrdJY.js +0 -4132
  310. package/dist/fortran-fixed-form-SzB0QY3n.js +0 -3
  311. package/dist/fortran-free-form-Js8JrQQE.js +0 -2
  312. package/dist/fsharp-CtWO0jvL.js +0 -3
  313. package/dist/ganttDiagram-JELNMOA3-CGIqBt1P.js +0 -3009
  314. package/dist/gdresource-CgyXKpe4.js +0 -8
  315. package/dist/gdscript-STdmRKv-.js +0 -2
  316. package/dist/gdshader-Bs2s6cSB.js +0 -2
  317. package/dist/git-commit--0GGwZNa.js +0 -3
  318. package/dist/git-rebase-orw-bSIZ.js +0 -3
  319. package/dist/gitGraph-F6HP7TQM-CH5XLm5Z.js +0 -8
  320. package/dist/gitGraphDiagram-NY62KEGX-Cq8AbOhM.js +0 -634
  321. package/dist/github-dark-CMN1tZPn.js +0 -2
  322. package/dist/github-light-Y8g-VxKq.js +0 -2
  323. package/dist/glimmer-js-C6E6wJv0.js +0 -12
  324. package/dist/glimmer-ts-C6GgTGNO.js +0 -12
  325. package/dist/glsl-D8_YBRKT.js +0 -3
  326. package/dist/glsl-rwn_QCp2.js +0 -3
  327. package/dist/go-BhDDN9y4.js +0 -2
  328. package/dist/graphlib-BZdVmxO6.js +0 -223
  329. package/dist/graphql-DQHhbQm2.js +0 -6
  330. package/dist/graphql-DoBLseH6.js +0 -12
  331. package/dist/hack-DEAxoi73.js +0 -10
  332. package/dist/haml-BG2d3iX4.js +0 -4
  333. package/dist/haml-mA656Lm7.js +0 -8
  334. package/dist/handlebars-CO5xAxJ3.js +0 -12
  335. package/dist/haxe-BJVSeYxy.js +0 -2
  336. package/dist/hlsl-Dt9-unql.js +0 -2
  337. package/dist/html-DFCxtjnd.js +0 -4
  338. package/dist/html-DKSj3FeM.js +0 -8
  339. package/dist/html-derivative-BCRkrTcD.js +0 -5
  340. package/dist/html-derivative-C-vidKoA.js +0 -3
  341. package/dist/http-CYP1tEDW.js +0 -17
  342. package/dist/hurl-BJexUSKz.js +0 -15
  343. package/dist/hxml-XfuSEjM-.js +0 -3
  344. package/dist/index.js +0 -2984
  345. package/dist/index.mjs +0 -37693
  346. package/dist/info-NVLQJR56-hEN1y0nS.js +0 -8
  347. package/dist/infoDiagram-WHAUD3N6-btPwHXxp.js +0 -31
  348. package/dist/isEmpty-CCym_WUL.js +0 -32
  349. package/dist/java-DIOGgqAD.js +0 -2
  350. package/dist/javascript-9-JPeKdm.js +0 -2
  351. package/dist/jinja-CVFxFRh6.js +0 -5
  352. package/dist/jison-0X6LppGq.js +0 -3
  353. package/dist/journeyDiagram-XKPGCS4Q-3OxtBx3I.js +0 -884
  354. package/dist/json-DJtYdWQK.js +0 -2
  355. package/dist/jsx-qo0JNHpZ.js +0 -2
  356. package/dist/julia-ChGs-n_c.js +0 -17
  357. package/dist/kanban-definition-3W4ZIXB7-zdtnJaXz.js +0 -971
  358. package/dist/katex-K1dsczyg.js +0 -2
  359. package/dist/latex-BnWZlY4q.js +0 -4
  360. package/dist/less-B4ybD-7s.js +0 -2
  361. package/dist/line-EpckC7pZ.js +0 -30
  362. package/dist/linear-DjVN4o4U.js +0 -250
  363. package/dist/liquid-pc5Mduds.js +0 -12
  364. package/dist/lua-0TqNbT8C.js +0 -3
  365. package/dist/lua-6pXga3HV.js +0 -3
  366. package/dist/markdown-LaaQ4Eua.js +0 -2
  367. package/dist/marko-D8uDUUEs.js +0 -12
  368. package/dist/mdc-Ki3KnB5U.js +0 -13
  369. package/dist/mermaid-parser.core-DVXSGppp.js +0 -48
  370. package/dist/mermaid.core-Ra1JFCui.js +0 -895
  371. package/dist/mindmap-definition-VGOIOE7T-CRPO52xV.js +0 -960
  372. package/dist/nginx-B46vdQ9n.js +0 -4
  373. package/dist/nim-BxQNx10D.js +0 -19
  374. package/dist/ordinal-CYQpsShT.js +0 -61
  375. package/dist/packet-BFZMPI3H-Bnlch4JI.js +0 -8
  376. package/dist/perl-D1bDaADZ.js +0 -15
  377. package/dist/php-BX51InqL.js +0 -9
  378. package/dist/php-D5tmU8Cr.js +0 -16
  379. package/dist/pie-7BOR55EZ-B9egLHl5.js +0 -8
  380. package/dist/pieDiagram-ADFJNKIX-CKSgB7fx.js +0 -172
  381. package/dist/postcss-ainQkoyY.js +0 -2
  382. package/dist/pug-BcLlS7Yb.js +0 -10
  383. package/dist/python-CuBu5pyY.js +0 -2
  384. package/dist/qml-MD0NqqIl.js +0 -3
  385. package/dist/quadrantDiagram-AYHSOK5B-BHzqivzD.js +0 -1970
  386. package/dist/r-CQeHOO4c.js +0 -2
  387. package/dist/radar-NHE76QYJ-DdALhlvV.js +0 -8
  388. package/dist/razor-eRwFWsjJ.js +0 -10
  389. package/dist/regexp-Ca0eDBa2.js +0 -2
  390. package/dist/requirementDiagram-UZGBJVZJ-Darhwvir.js +0 -2194
  391. package/dist/rst-DFmSdXGd.js +0 -34
  392. package/dist/ruby-BAEFomR0.js +0 -20
  393. package/dist/ruby-DDMUvAvC.js +0 -28
  394. package/dist/sankeyDiagram-TZEHDZUN-KiSvBN_C.js +0 -884
  395. package/dist/sas-TjtLSnOp.js +0 -3
  396. package/dist/scss-C-bthdG1.js +0 -3
  397. package/dist/scss-D-6-mg-f.js +0 -3
  398. package/dist/sdbl-gc7zIVWR.js +0 -2
  399. package/dist/sequenceDiagram-WL72ISMW-D2Mo7Vtj.js +0 -3560
  400. package/dist/shaderlab-BRlB5fpk.js +0 -3
  401. package/dist/shellscript-DZa_4vvb.js +0 -2
  402. package/dist/shellsession-CIlmlgbR.js +0 -3
  403. package/dist/soy-DwSCrzEF.js +0 -5
  404. package/dist/sparql-D9kVSpEx.js +0 -3
  405. package/dist/sql-Bi3LyNPb.js +0 -2
  406. package/dist/src-B-SBGd0A.js +0 -1975
  407. package/dist/stata-DkEObyNb.js +0 -3
  408. package/dist/stateDiagram-FKZM4ZOC-BRQN2Npg.js +0 -224
  409. package/dist/stateDiagram-v2-4FDKWEC3-CeeIKiFG.js +0 -32
  410. package/dist/stylus-DEHALDNh.js +0 -2
  411. package/dist/svelte-KFuclcR6.js +0 -12
  412. package/dist/templ-C5mtYbb_.js +0 -10
  413. package/dist/tex-B4uYy1vC.js +0 -3
  414. package/dist/tex-BoVFa1ir.js +0 -3
  415. package/dist/timeline-definition-IT6M3QCI-CSwH0Pnx.js +0 -830
  416. package/dist/treemap-KMMF4GRG-COjpj6-C.js +0 -8
  417. package/dist/ts-tags-DRdTXGhb.js +0 -38
  418. package/dist/tsx-BaaPsUbd.js +0 -2
  419. package/dist/turtle-BRmolh-6.js +0 -2
  420. package/dist/twig-cEhAbahS.js +0 -33
  421. package/dist/typescript-CmJ8D0yY.js +0 -2
  422. package/dist/vue-B3C4YeUK.js +0 -8
  423. package/dist/vue-DMpjAWNv.js +0 -20
  424. package/dist/vue-html-BIZN50ug.js +0 -13
  425. package/dist/vue-vine-DxezWcjL.js +0 -22
  426. package/dist/xml-BglBgo29.js +0 -3
  427. package/dist/xml-BxRdgEAX.js +0 -3
  428. package/dist/xsl-Cni90e0k.js +0 -4
  429. package/dist/xychartDiagram-PRI3JC2R-CGXFYn39.js +0 -2022
  430. package/dist/yaml-DQRfaSRo.js +0 -2
  431. /package/dist/{abap--jVlqvLx.js → js/abap.js} +0 -0
  432. /package/dist/{actionscript-3-N1AoJtTA.js → js/actionscript-3.js} +0 -0
  433. /package/dist/{ada-CYGINLea.js → js/ada.js} +0 -0
  434. /package/dist/{andromeeda-CvsZnG9k.js → js/andromeeda.js} +0 -0
  435. /package/dist/{apache-D6X-_dyJ.js → js/apache.js} +0 -0
  436. /package/dist/{apex-C7VgAgAE.js → js/apex.js} +0 -0
  437. /package/dist/{applescript-DN64Su6U.js → js/applescript.js} +0 -0
  438. /package/dist/{ara-Dm1jHrgg.js → js/ara.js} +0 -0
  439. /package/dist/{array-CkdOJbdT.js → js/array.js} +0 -0
  440. /package/dist/{asciidoc-BpqtqRF5.js → js/asciidoc.js} +0 -0
  441. /package/dist/{asm-DUGlKYIq.js → js/asm.js} +0 -0
  442. /package/dist/{aurora-x-DwOih-un.js → js/aurora-x.js} +0 -0
  443. /package/dist/{awk-DcnVbJrN.js → js/awk.js} +0 -0
  444. /package/dist/{ayu-dark-Bd-89MKE.js → js/ayu-dark.js} +0 -0
  445. /package/dist/{ballerina-BQVdQd9X.js → js/ballerina.js} +0 -0
  446. /package/dist/{bat-juB1J52r.js → js/bat.js} +0 -0
  447. /package/dist/{beancount-ThxIlRc3.js → js/beancount.js} +0 -0
  448. /package/dist/{berry-qC18BfC_.js → js/berry.js} +0 -0
  449. /package/dist/{bibtex-CahMDY_0.js → js/bibtex.js} +0 -0
  450. /package/dist/{bicep-CHLBKS47.js → js/bicep.js} +0 -0
  451. /package/dist/{c-CX6yudYR.js → js/c2.js} +0 -0
  452. /package/dist/{cadence-DA5J9-Di.js → js/cadence.js} +0 -0
  453. /package/dist/{catppuccin-frappe-CE3kxG1f.js → js/catppuccin-frappe.js} +0 -0
  454. /package/dist/{catppuccin-latte-DW2FXeIv.js → js/catppuccin-latte.js} +0 -0
  455. /package/dist/{catppuccin-macchiato-CD5qjRSF.js → js/catppuccin-macchiato.js} +0 -0
  456. /package/dist/{catppuccin-mocha-BYwVJvjI.js → js/catppuccin-mocha.js} +0 -0
  457. /package/dist/{chunk-XAJISQIX-Bz7ki7DY.js → js/chunk-XAJISQIX.js} +0 -0
  458. /package/dist/{chunk-DNh5sLlG.js → js/chunk.js} +0 -0
  459. /package/dist/{clarity-CsFOkG3c.js → js/clarity.js} +0 -0
  460. /package/dist/{clojure-u1TZmmdQ.js → js/clojure.js} +0 -0
  461. /package/dist/{cmake-K1k8HMYR.js → js/cmake2.js} +0 -0
  462. /package/dist/{codeowners-l4eSxhtA.js → js/codeowners.js} +0 -0
  463. /package/dist/{codeql-5CeQaktT.js → js/codeql.js} +0 -0
  464. /package/dist/{common-lisp-BVttGbYJ.js → js/common-lisp.js} +0 -0
  465. /package/dist/{coq-CZjzQDnb.js → js/coq.js} +0 -0
  466. /package/dist/{csharp-BbUwciq4.js → js/csharp2.js} +0 -0
  467. /package/dist/{css-Crp0iO_o.js → js/css2.js} +0 -0
  468. /package/dist/{csv-DtT8LmMi.js → js/csv2.js} +0 -0
  469. /package/dist/{cue-BwjaQTCz.js → js/cue.js} +0 -0
  470. /package/dist/{cypher-B7e06enY.js → js/cypher.js} +0 -0
  471. /package/dist/{cytoscape.esm-CWqS6puh.js → js/cytoscape.esm.js} +0 -0
  472. /package/dist/{d-q60wkid4.js → js/d.js} +0 -0
  473. /package/dist/{dark-plus-D_fA88xf.js → js/dark-plus.js} +0 -0
  474. /package/dist/{dart-DjkWvBgr.js → js/dart.js} +0 -0
  475. /package/dist/{dax-lueLIZQI.js → js/dax.js} +0 -0
  476. /package/dist/{defaultLocale-CoJOMwPq.js → js/defaultLocale.js} +0 -0
  477. /package/dist/{desktop-DaphHKD5.js → js/desktop.js} +0 -0
  478. /package/dist/{diff-DlXnqUMK.js → js/diff2.js} +0 -0
  479. /package/dist/{docker-DZKmuwpA.js → js/docker.js} +0 -0
  480. /package/dist/{dotenv-hmNahw-8.js → js/dotenv.js} +0 -0
  481. /package/dist/{dracula-soft-vfA-TA_S.js → js/dracula-soft.js} +0 -0
  482. /package/dist/{dracula-ddM3a7au.js → js/dracula.js} +0 -0
  483. /package/dist/{dream-maker-Cxa2a8FY.js → js/dream-maker.js} +0 -0
  484. /package/dist/{emacs-lisp-w5URnZPZ.js → js/emacs-lisp.js} +0 -0
  485. /package/dist/{everforest-dark-DAPtv4yI.js → js/everforest-dark.js} +0 -0
  486. /package/dist/{everforest-light-nQzYm8GO.js → js/everforest-light.js} +0 -0
  487. /package/dist/{fennel-CJDNJZTU.js → js/fennel.js} +0 -0
  488. /package/dist/{fish-BkYaLI4-.js → js/fish.js} +0 -0
  489. /package/dist/{fluent-DShra35H.js → js/fluent.js} +0 -0
  490. /package/dist/{fortran-free-form-CgbOAJnm.js → js/fortran-free-form2.js} +0 -0
  491. /package/dist/{gdscript-DnurdQnh.js → js/gdscript2.js} +0 -0
  492. /package/dist/{gdshader-YiVaPq6D.js → js/gdshader2.js} +0 -0
  493. /package/dist/{genie-BppkvzZC.js → js/genie.js} +0 -0
  494. /package/dist/{gherkin-Bp4zdWMb.js → js/gherkin.js} +0 -0
  495. /package/dist/{github-dark-default-DVCJut02.js → js/github-dark-default.js} +0 -0
  496. /package/dist/{github-dark-dimmed-DXu9oDqW.js → js/github-dark-dimmed.js} +0 -0
  497. /package/dist/{github-dark-high-contrast-BBZdE-mX.js → js/github-dark-high-contrast.js} +0 -0
  498. /package/dist/{github-dark-DxCf_Qaz.js → js/github-dark2.js} +0 -0
  499. /package/dist/{github-light-default-BNGkGE--.js → js/github-light-default.js} +0 -0
  500. /package/dist/{github-light-high-contrast-DiSIc-nG.js → js/github-light-high-contrast.js} +0 -0
  501. /package/dist/{github-light-CfdX7txK.js → js/github-light2.js} +0 -0
  502. /package/dist/{gleam-Lw0tKp8T.js → js/gleam.js} +0 -0
  503. /package/dist/{gnuplot-BeA3etmO.js → js/gnuplot.js} +0 -0
  504. /package/dist/{go-xfE7BrfS.js → js/go2.js} +0 -0
  505. /package/dist/{groovy-C5-mv4io.js → js/groovy.js} +0 -0
  506. /package/dist/{gruvbox-dark-hard-CULu6kVy.js → js/gruvbox-dark-hard.js} +0 -0
  507. /package/dist/{gruvbox-dark-medium-BJM4uQXO.js → js/gruvbox-dark-medium.js} +0 -0
  508. /package/dist/{gruvbox-dark-soft-CVaORUwa.js → js/gruvbox-dark-soft.js} +0 -0
  509. /package/dist/{gruvbox-light-hard-B-WJAGLa.js → js/gruvbox-light-hard.js} +0 -0
  510. /package/dist/{gruvbox-light-medium-jc8FWnuC.js → js/gruvbox-light-medium.js} +0 -0
  511. /package/dist/{gruvbox-light-soft-CmvYQK92.js → js/gruvbox-light-soft.js} +0 -0
  512. /package/dist/{haskell-Hsexh2aP.js → js/haskell.js} +0 -0
  513. /package/dist/{haxe-CD_Rs3P5.js → js/haxe2.js} +0 -0
  514. /package/dist/{hcl-D098sJ_J.js → js/hcl.js} +0 -0
  515. /package/dist/{hjson-BwXHX5r6.js → js/hjson.js} +0 -0
  516. /package/dist/{hlsl-B0pnUVYG.js → js/hlsl2.js} +0 -0
  517. /package/dist/{houston-C7hMWO_I.js → js/houston.js} +0 -0
  518. /package/dist/{hy-DPQ04rHt.js → js/hy.js} +0 -0
  519. /package/dist/{imba-Bgu2n5Mo.js → js/imba.js} +0 -0
  520. /package/dist/{ini-g9mZnyrk.js → js/ini.js} +0 -0
  521. /package/dist/{init-CBay3kgM.js → js/init.js} +0 -0
  522. /package/dist/{isArrayLikeObject-Dz_TDfw0.js → js/isArrayLikeObject.js} +0 -0
  523. /package/dist/{java-CUbPyze1.js → js/java2.js} +0 -0
  524. /package/dist/{javascript-De1qhUaI.js → js/javascript2.js} +0 -0
  525. /package/dist/{json-fcFpRaf3.js → js/json2.js} +0 -0
  526. /package/dist/{json5-CPTZJOmf.js → js/json5.js} +0 -0
  527. /package/dist/{jsonc-CYrayg0k.js → js/jsonc.js} +0 -0
  528. /package/dist/{jsonl-Bsv7LjJ3.js → js/jsonl.js} +0 -0
  529. /package/dist/{jsonnet-B7LkHJxg.js → js/jsonnet.js} +0 -0
  530. /package/dist/{jssm-BopKGZKg.js → js/jssm.js} +0 -0
  531. /package/dist/{jsx-Bf3Nk9Di.js → js/jsx2.js} +0 -0
  532. /package/dist/{kanagawa-dragon-CSqqi78I.js → js/kanagawa-dragon.js} +0 -0
  533. /package/dist/{kanagawa-lotus-l2vgoxpH.js → js/kanagawa-lotus.js} +0 -0
  534. /package/dist/{kanagawa-wave-BWhFcnLj.js → js/kanagawa-wave.js} +0 -0
  535. /package/dist/{katex-BcWXJDMd.js → js/katex2.js} +0 -0
  536. /package/dist/{kdl-BbokxoZ9.js → js/kdl.js} +0 -0
  537. /package/dist/{kotlin-3dXKmwyJ.js → js/kotlin.js} +0 -0
  538. /package/dist/{kusto-Os6_yHEz.js → js/kusto.js} +0 -0
  539. /package/dist/{laserwave-8RcN1zf8.js → js/laserwave.js} +0 -0
  540. /package/dist/{lean--0Wr4Cy4.js → js/lean.js} +0 -0
  541. /package/dist/{less-Cb54jO7u.js → js/less2.js} +0 -0
  542. /package/dist/{light-plus-CP_iZQDF.js → js/light-plus.js} +0 -0
  543. /package/dist/{llvm-ILH_SX7E.js → js/llvm.js} +0 -0
  544. /package/dist/{log-DwO_GzA0.js → js/log.js} +0 -0
  545. /package/dist/{logo-B4FeRowR.js → js/logo.js} +0 -0
  546. /package/dist/{luau-DsUEyLJN.js → js/luau.js} +0 -0
  547. /package/dist/{make-p6NYc19I.js → js/make.js} +0 -0
  548. /package/dist/{markdown-CCRtgC0b.js → js/markdown2.js} +0 -0
  549. /package/dist/{marked.esm-D9xINNve.js → js/marked.esm.js} +0 -0
  550. /package/dist/{material-theme-darker-CWC5BoMv.js → js/material-theme-darker.js} +0 -0
  551. /package/dist/{material-theme-lighter-BJrV5b2o.js → js/material-theme-lighter.js} +0 -0
  552. /package/dist/{material-theme-ocean-DYpMfDiX.js → js/material-theme-ocean.js} +0 -0
  553. /package/dist/{material-theme-palenight-3Ix3iI7Q.js → js/material-theme-palenight.js} +0 -0
  554. /package/dist/{material-theme-D__z84-n.js → js/material-theme.js} +0 -0
  555. /package/dist/{math-CJAnbPum.js → js/math.js} +0 -0
  556. /package/dist/{matlab-CL0oMGfq.js → js/matlab.js} +0 -0
  557. /package/dist/{mdx-BTufVkNP.js → js/mdx.js} +0 -0
  558. /package/dist/{mermaid-FCjIh1A7.js → js/mermaid.js} +0 -0
  559. /package/dist/{min-dark-B4KRMcN3.js → js/min-dark.js} +0 -0
  560. /package/dist/{min-light-BQVJODr0.js → js/min-light.js} +0 -0
  561. /package/dist/{mipsasm-Cn6AQ4lM.js → js/mipsasm.js} +0 -0
  562. /package/dist/{mojo-C9IiQhp4.js → js/mojo.js} +0 -0
  563. /package/dist/{monokai-vDwMMRi4.js → js/monokai.js} +0 -0
  564. /package/dist/{move-BdizQ4_I.js → js/move.js} +0 -0
  565. /package/dist/{narrat-BP2kx-u2.js → js/narrat.js} +0 -0
  566. /package/dist/{nextflow-CyRmCGOe.js → js/nextflow.js} +0 -0
  567. /package/dist/{night-owl-DmjkOa5g.js → js/night-owl.js} +0 -0
  568. /package/dist/{nix-qPhlsqZI.js → js/nix.js} +0 -0
  569. /package/dist/{nord-sjxbvIbg.js → js/nord.js} +0 -0
  570. /package/dist/{nushell-puA-1bCW.js → js/nushell.js} +0 -0
  571. /package/dist/{objective-c-D-qDLNy5.js → js/objective-c.js} +0 -0
  572. /package/dist/{objective-cpp-CFxSAM6p.js → js/objective-cpp.js} +0 -0
  573. /package/dist/{ocaml-CsLB7SWJ.js → js/ocaml.js} +0 -0
  574. /package/dist/{one-dark-pro-BHH-VjFD.js → js/one-dark-pro.js} +0 -0
  575. /package/dist/{one-light-BqE6erWk.js → js/one-light.js} +0 -0
  576. /package/dist/{openscad-DJCIQfnJ.js → js/openscad.js} +0 -0
  577. /package/dist/{pascal-CPg9_ZFN.js → js/pascal.js} +0 -0
  578. /package/dist/{path-esxOUfAH.js → js/path.js} +0 -0
  579. /package/dist/{pkl-BQQ96hvn.js → js/pkl.js} +0 -0
  580. /package/dist/{plastic-BrNUBdSC.js → js/plastic.js} +0 -0
  581. /package/dist/{plsql-Co7Bxe7U.js → js/plsql.js} +0 -0
  582. /package/dist/{po-BqzJCro7.js → js/po.js} +0 -0
  583. /package/dist/{poimandres-C_AK8TlO.js → js/poimandres.js} +0 -0
  584. /package/dist/{polar-CtdYIPEe.js → js/polar.js} +0 -0
  585. /package/dist/{postcss-ChqFKb46.js → js/postcss2.js} +0 -0
  586. /package/dist/{powerquery-CDugc1w-.js → js/powerquery.js} +0 -0
  587. /package/dist/{powershell-j5X-IA59.js → js/powershell.js} +0 -0
  588. /package/dist/{prisma-Cyl7YhUw.js → js/prisma.js} +0 -0
  589. /package/dist/{prolog-DELKnUYf.js → js/prolog.js} +0 -0
  590. /package/dist/{proto-C4A_gDBY.js → js/proto.js} +0 -0
  591. /package/dist/{puppet-DFC9LyFj.js → js/puppet.js} +0 -0
  592. /package/dist/{purescript-eECq7_n2.js → js/purescript.js} +0 -0
  593. /package/dist/{python-BhdCuCld.js → js/python2.js} +0 -0
  594. /package/dist/{qmldir-BpJII-Ze.js → js/qmldir.js} +0 -0
  595. /package/dist/{qss-CpMcemMc.js → js/qss.js} +0 -0
  596. /package/dist/{r-D90zdkbN.js → js/r2.js} +0 -0
  597. /package/dist/{racket-COTs6Zfi.js → js/racket.js} +0 -0
  598. /package/dist/{raku-DfOtwMUC.js → js/raku.js} +0 -0
  599. /package/dist/{red-CWGFZsim.js → js/red.js} +0 -0
  600. /package/dist/{reg-BX5DwoEA.js → js/reg.js} +0 -0
  601. /package/dist/{regexp-Cap8fK_2.js → js/regexp2.js} +0 -0
  602. /package/dist/{rel-CzXuLSk3.js → js/rel.js} +0 -0
  603. /package/dist/{riscv-DnFIiqh3.js → js/riscv.js} +0 -0
  604. /package/dist/{rose-pine-dawn-D5sdDB-J.js → js/rose-pine-dawn.js} +0 -0
  605. /package/dist/{rose-pine-moon-2Vb7bLLO.js → js/rose-pine-moon.js} +0 -0
  606. /package/dist/{rose-pine-C4v2iQVe.js → js/rose-pine.js} +0 -0
  607. /package/dist/{rosmsg-D02ul3fM.js → js/rosmsg.js} +0 -0
  608. /package/dist/{rust-s3hBbfQg.js → js/rust.js} +0 -0
  609. /package/dist/{sass-v3HeJ9Fl.js → js/sass.js} +0 -0
  610. /package/dist/{scala-BTIBM_Vn.js → js/scala.js} +0 -0
  611. /package/dist/{scheme-C4NQMf7a.js → js/scheme.js} +0 -0
  612. /package/dist/{sdbl-BA3l-JrH.js → js/sdbl2.js} +0 -0
  613. /package/dist/{shellscript-BQ8mKDAF.js → js/shellscript2.js} +0 -0
  614. /package/dist/{slack-dark-DhXO5DWr.js → js/slack-dark.js} +0 -0
  615. /package/dist/{slack-ochin-aAGl4PPH.js → js/slack-ochin.js} +0 -0
  616. /package/dist/{smalltalk-DbwVUw_i.js → js/smalltalk.js} +0 -0
  617. /package/dist/{snazzy-light-B4S5mk83.js → js/snazzy-light.js} +0 -0
  618. /package/dist/{solarized-dark-Dexkq3Fm.js → js/solarized-dark.js} +0 -0
  619. /package/dist/{solarized-light-I-Bzy8UC.js → js/solarized-light.js} +0 -0
  620. /package/dist/{solidity-SMk0TJDc.js → js/solidity.js} +0 -0
  621. /package/dist/{splunk-DXXu2r7r.js → js/splunk.js} +0 -0
  622. /package/dist/{sql-D0eLHBiZ.js → js/sql2.js} +0 -0
  623. /package/dist/{ssh-config-DyVcFTfI.js → js/ssh-config.js} +0 -0
  624. /package/dist/{stylus-BKTuFHcX.js → js/stylus2.js} +0 -0
  625. /package/dist/{swift-Cenptrnf.js → js/swift.js} +0 -0
  626. /package/dist/{synthwave-84-BRkDuVE-.js → js/synthwave-84.js} +0 -0
  627. /package/dist/{system-verilog-Cvgukx4v.js → js/system-verilog.js} +0 -0
  628. /package/dist/{systemd-BepdslJQ.js → js/systemd.js} +0 -0
  629. /package/dist/{talonscript-Q98m-VXh.js → js/talonscript.js} +0 -0
  630. /package/dist/{tasl-uebrX98X.js → js/tasl.js} +0 -0
  631. /package/dist/{tcl-B1Ny4XFf.js → js/tcl.js} +0 -0
  632. /package/dist/{terraform-0mA5ERTe.js → js/terraform.js} +0 -0
  633. /package/dist/{tokyo-night-D0mU3-u8.js → js/tokyo-night.js} +0 -0
  634. /package/dist/{toml-vMAjra5M.js → js/toml.js} +0 -0
  635. /package/dist/{tsv-BnmbkntZ.js → js/tsv.js} +0 -0
  636. /package/dist/{tsx-C0w0w5St.js → js/tsx2.js} +0 -0
  637. /package/dist/{turtle-4UWi_qX6.js → js/turtle2.js} +0 -0
  638. /package/dist/{typescript-4YtK2JL4.js → js/typescript2.js} +0 -0
  639. /package/dist/{typespec-CILw3zvZ.js → js/typespec.js} +0 -0
  640. /package/dist/{typst-CLajFw6q.js → js/typst.js} +0 -0
  641. /package/dist/{v-MJV2RQvK.js → js/v.js} +0 -0
  642. /package/dist/{vala-Dc1TiHw1.js → js/vala.js} +0 -0
  643. /package/dist/{vb-CoJdNmGs.js → js/vb.js} +0 -0
  644. /package/dist/{verilog-C7aVmiO0.js → js/verilog.js} +0 -0
  645. /package/dist/{vesper-Cvcqyrim.js → js/vesper.js} +0 -0
  646. /package/dist/{vhdl-CYQvzAG1.js → js/vhdl.js} +0 -0
  647. /package/dist/{viml-DOyjiDI8.js → js/viml.js} +0 -0
  648. /package/dist/{vitesse-black-CUYJaB5b.js → js/vitesse-black.js} +0 -0
  649. /package/dist/{vitesse-dark-BNlzDJ1Z.js → js/vitesse-dark.js} +0 -0
  650. /package/dist/{vitesse-light-JU98KqVa.js → js/vitesse-light.js} +0 -0
  651. /package/dist/{vyper-JU_r7Ch6.js → js/vyper.js} +0 -0
  652. /package/dist/{wasm-DJ1S--fN.js → js/wasm.js} +0 -0
  653. /package/dist/{wasm-eLFiAU8u.js → js/wasm2.js} +0 -0
  654. /package/dist/{wenyan-CqkzmyWz.js → js/wenyan.js} +0 -0
  655. /package/dist/{wgsl-gV62iTnF.js → js/wgsl.js} +0 -0
  656. /package/dist/{wikitext-BfUl8La4.js → js/wikitext.js} +0 -0
  657. /package/dist/{wit-kp_bCf2U.js → js/wit.js} +0 -0
  658. /package/dist/{wolfram-aPsN9AKt.js → js/wolfram.js} +0 -0
  659. /package/dist/{yaml-P2kjOPvW.js → js/yaml2.js} +0 -0
  660. /package/dist/{zenscript-BuY4FX-t.js → js/zenscript.js} +0 -0
  661. /package/dist/{zig-CGDGjytz.js → js/zig.js} +0 -0
  662. /package/dist/{App.vue.d.ts → types/App.vue.d.ts} +0 -0
  663. /package/dist/{components → types/components}/ChatConversation/ChatConversation.vue.d.ts +0 -0
  664. /package/dist/{components → types/components}/ChatConversation/index.d.ts +0 -0
  665. /package/dist/{components → types/components}/ChatPromptInputProvider/ChatPromptInputProvider.vue.d.ts +0 -0
  666. /package/dist/{components → types/components}/ChatPromptInputProvider/index.d.ts +0 -0
  667. /package/dist/{components → types/components}/ai-elements/artifact/Artifact.vue.d.ts +0 -0
  668. /package/dist/{components → types/components}/ai-elements/artifact/ArtifactActions.vue.d.ts +0 -0
  669. /package/dist/{components → types/components}/ai-elements/artifact/ArtifactContent.vue.d.ts +0 -0
  670. /package/dist/{components → types/components}/ai-elements/artifact/ArtifactDescription.vue.d.ts +0 -0
  671. /package/dist/{components → types/components}/ai-elements/artifact/ArtifactHeader.vue.d.ts +0 -0
  672. /package/dist/{components → types/components}/ai-elements/artifact/ArtifactTitle.vue.d.ts +0 -0
  673. /package/dist/{components → types/components}/ai-elements/artifact/index.d.ts +0 -0
  674. /package/dist/{components → types/components}/ai-elements/canvas/index.d.ts +0 -0
  675. /package/dist/{components → types/components}/ai-elements/chain-of-thought/ChainOfThought.vue.d.ts +0 -0
  676. /package/dist/{components → types/components}/ai-elements/chain-of-thought/ChainOfThoughtContent.vue.d.ts +0 -0
  677. /package/dist/{components → types/components}/ai-elements/chain-of-thought/ChainOfThoughtHeader.vue.d.ts +0 -0
  678. /package/dist/{components → types/components}/ai-elements/chain-of-thought/ChainOfThoughtImage.vue.d.ts +0 -0
  679. /package/dist/{components → types/components}/ai-elements/chain-of-thought/ChainOfThoughtSearchResult.vue.d.ts +0 -0
  680. /package/dist/{components → types/components}/ai-elements/chain-of-thought/ChainOfThoughtSearchResults.vue.d.ts +0 -0
  681. /package/dist/{components → types/components}/ai-elements/chain-of-thought/ChainOfThoughtStep.vue.d.ts +0 -0
  682. /package/dist/{components → types/components}/ai-elements/chain-of-thought/context.d.ts +0 -0
  683. /package/dist/{components → types/components}/ai-elements/chain-of-thought/index.d.ts +0 -0
  684. /package/dist/{components → types/components}/ai-elements/checkpoint/Checkpoint.vue.d.ts +0 -0
  685. /package/dist/{components → types/components}/ai-elements/checkpoint/CheckpointIcon.vue.d.ts +0 -0
  686. /package/dist/{components → types/components}/ai-elements/checkpoint/index.d.ts +0 -0
  687. /package/dist/{components → types/components}/ai-elements/code-block/CodeBlock.vue.d.ts +0 -0
  688. /package/dist/{components → types/components}/ai-elements/code-block/CodeBlockCopyButton.vue.d.ts +0 -0
  689. /package/dist/{components → types/components}/ai-elements/code-block/context.d.ts +0 -0
  690. /package/dist/{components → types/components}/ai-elements/code-block/index.d.ts +0 -0
  691. /package/dist/{components → types/components}/ai-elements/code-block/utils.d.ts +0 -0
  692. /package/dist/{components → types/components}/ai-elements/confirmation/Confirmation.vue.d.ts +0 -0
  693. /package/dist/{components → types/components}/ai-elements/confirmation/ConfirmationAccepted.vue.d.ts +0 -0
  694. /package/dist/{components → types/components}/ai-elements/confirmation/ConfirmationAction.vue.d.ts +0 -0
  695. /package/dist/{components → types/components}/ai-elements/confirmation/ConfirmationActions.vue.d.ts +0 -0
  696. /package/dist/{components → types/components}/ai-elements/confirmation/ConfirmationRejected.vue.d.ts +0 -0
  697. /package/dist/{components → types/components}/ai-elements/confirmation/ConfirmationRequest.vue.d.ts +0 -0
  698. /package/dist/{components → types/components}/ai-elements/confirmation/ConfirmationTitle.vue.d.ts +0 -0
  699. /package/dist/{components → types/components}/ai-elements/confirmation/context.d.ts +0 -0
  700. /package/dist/{components → types/components}/ai-elements/confirmation/index.d.ts +0 -0
  701. /package/dist/{components → types/components}/ai-elements/connection/Connection.vue.d.ts +0 -0
  702. /package/dist/{components → types/components}/ai-elements/connection/index.d.ts +0 -0
  703. /package/dist/{components → types/components}/ai-elements/context/Context.vue.d.ts +0 -0
  704. /package/dist/{components → types/components}/ai-elements/context/ContextCacheUsage.vue.d.ts +0 -0
  705. /package/dist/{components → types/components}/ai-elements/context/ContextContent.vue.d.ts +0 -0
  706. /package/dist/{components → types/components}/ai-elements/context/ContextContentBody.vue.d.ts +0 -0
  707. /package/dist/{components → types/components}/ai-elements/context/ContextContentFooter.vue.d.ts +0 -0
  708. /package/dist/{components → types/components}/ai-elements/context/ContextContentHeader.vue.d.ts +0 -0
  709. /package/dist/{components → types/components}/ai-elements/context/ContextIcon.vue.d.ts +0 -0
  710. /package/dist/{components → types/components}/ai-elements/context/ContextInputUsage.vue.d.ts +0 -0
  711. /package/dist/{components → types/components}/ai-elements/context/ContextOutputUsage.vue.d.ts +0 -0
  712. /package/dist/{components → types/components}/ai-elements/context/ContextReasoningUsage.vue.d.ts +0 -0
  713. /package/dist/{components → types/components}/ai-elements/context/ContextTrigger.vue.d.ts +0 -0
  714. /package/dist/{components → types/components}/ai-elements/context/TokensWithCost.vue.d.ts +0 -0
  715. /package/dist/{components → types/components}/ai-elements/context/context.d.ts +0 -0
  716. /package/dist/{components → types/components}/ai-elements/context/index.d.ts +0 -0
  717. /package/dist/{components → types/components}/ai-elements/controls/Controls.vue.d.ts +0 -0
  718. /package/dist/{components → types/components}/ai-elements/controls/index.d.ts +0 -0
  719. /package/dist/{components → types/components}/ai-elements/conversation/ConversationContent.vue.d.ts +0 -0
  720. /package/dist/{components → types/components}/ai-elements/conversation/ConversationEmptyState.vue.d.ts +0 -0
  721. /package/dist/{components → types/components}/ai-elements/conversation/ConversationScrollButton.vue.d.ts +0 -0
  722. /package/dist/{components → types/components}/ai-elements/conversation/index.d.ts +0 -0
  723. /package/dist/{components → types/components}/ai-elements/edge/Animated.vue.d.ts +0 -0
  724. /package/dist/{components → types/components}/ai-elements/edge/Temporary.vue.d.ts +0 -0
  725. /package/dist/{components → types/components}/ai-elements/edge/index.d.ts +0 -0
  726. /package/dist/{components → types/components}/ai-elements/image/Image.vue.d.ts +0 -0
  727. /package/dist/{components → types/components}/ai-elements/image/index.d.ts +0 -0
  728. /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitation.vue.d.ts +0 -0
  729. /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitationCard.vue.d.ts +0 -0
  730. /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitationCardBody.vue.d.ts +0 -0
  731. /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitationCardTrigger.vue.d.ts +0 -0
  732. /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitationCarousel.vue.d.ts +0 -0
  733. /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitationCarouselContent.vue.d.ts +0 -0
  734. /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitationCarouselHeader.vue.d.ts +0 -0
  735. /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitationCarouselIndex.vue.d.ts +0 -0
  736. /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitationCarouselItem.vue.d.ts +0 -0
  737. /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitationCarouselNext.vue.d.ts +0 -0
  738. /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitationCarouselPrev.vue.d.ts +0 -0
  739. /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitationQuote.vue.d.ts +0 -0
  740. /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitationSource.vue.d.ts +0 -0
  741. /package/dist/{components → types/components}/ai-elements/inline-citation/InlineCitationText.vue.d.ts +0 -0
  742. /package/dist/{components → types/components}/ai-elements/inline-citation/index.d.ts +0 -0
  743. /package/dist/{components → types/components}/ai-elements/loader/Loader.vue.d.ts +0 -0
  744. /package/dist/{components → types/components}/ai-elements/loader/LoaderIcon.vue.d.ts +0 -0
  745. /package/dist/{components → types/components}/ai-elements/loader/index.d.ts +0 -0
  746. /package/dist/{components → types/components}/ai-elements/message/Message.vue.d.ts +0 -0
  747. /package/dist/{components → types/components}/ai-elements/message/MessageActions.vue.d.ts +0 -0
  748. /package/dist/{components → types/components}/ai-elements/message/MessageAttachment.vue.d.ts +0 -0
  749. /package/dist/{components → types/components}/ai-elements/message/MessageAttachments.vue.d.ts +0 -0
  750. /package/dist/{components → types/components}/ai-elements/message/MessageAvatar.vue.d.ts +0 -0
  751. /package/dist/{components → types/components}/ai-elements/message/MessageBranch.vue.d.ts +0 -0
  752. /package/dist/{components → types/components}/ai-elements/message/MessageBranchContent.vue.d.ts +0 -0
  753. /package/dist/{components → types/components}/ai-elements/message/MessageBranchNext.vue.d.ts +0 -0
  754. /package/dist/{components → types/components}/ai-elements/message/MessageBranchPage.vue.d.ts +0 -0
  755. /package/dist/{components → types/components}/ai-elements/message/MessageBranchPrevious.vue.d.ts +0 -0
  756. /package/dist/{components → types/components}/ai-elements/message/MessageBranchSelector.vue.d.ts +0 -0
  757. /package/dist/{components → types/components}/ai-elements/message/MessageContent.vue.d.ts +0 -0
  758. /package/dist/{components → types/components}/ai-elements/message/MessageResponse.vue.d.ts +0 -0
  759. /package/dist/{components → types/components}/ai-elements/message/MessageToolbar.vue.d.ts +0 -0
  760. /package/dist/{components → types/components}/ai-elements/message/context.d.ts +0 -0
  761. /package/dist/{components → types/components}/ai-elements/message/index.d.ts +0 -0
  762. /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelector.vue.d.ts +0 -0
  763. /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelectorContent.vue.d.ts +0 -0
  764. /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelectorDialog.vue.d.ts +0 -0
  765. /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelectorEmpty.vue.d.ts +0 -0
  766. /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelectorGroup.vue.d.ts +0 -0
  767. /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelectorInput.vue.d.ts +0 -0
  768. /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelectorItem.vue.d.ts +0 -0
  769. /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelectorList.vue.d.ts +0 -0
  770. /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelectorLogo.vue.d.ts +0 -0
  771. /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelectorLogoGroup.vue.d.ts +0 -0
  772. /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelectorName.vue.d.ts +0 -0
  773. /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelectorSeparator.vue.d.ts +0 -0
  774. /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelectorShortcut.vue.d.ts +0 -0
  775. /package/dist/{components → types/components}/ai-elements/model-selector/ModelSelectorTrigger.vue.d.ts +0 -0
  776. /package/dist/{components → types/components}/ai-elements/model-selector/index.d.ts +0 -0
  777. /package/dist/{components → types/components}/ai-elements/node/Node.vue.d.ts +0 -0
  778. /package/dist/{components → types/components}/ai-elements/node/NodeAction.vue.d.ts +0 -0
  779. /package/dist/{components → types/components}/ai-elements/node/NodeContent.vue.d.ts +0 -0
  780. /package/dist/{components → types/components}/ai-elements/node/NodeDescription.vue.d.ts +0 -0
  781. /package/dist/{components → types/components}/ai-elements/node/NodeFooter.vue.d.ts +0 -0
  782. /package/dist/{components → types/components}/ai-elements/node/NodeHeader.vue.d.ts +0 -0
  783. /package/dist/{components → types/components}/ai-elements/node/NodeTitle.vue.d.ts +0 -0
  784. /package/dist/{components → types/components}/ai-elements/node/index.d.ts +0 -0
  785. /package/dist/{components → types/components}/ai-elements/open-in-chat/OpenIn.vue.d.ts +0 -0
  786. /package/dist/{components → types/components}/ai-elements/open-in-chat/OpenInContent.vue.d.ts +0 -0
  787. /package/dist/{components → types/components}/ai-elements/open-in-chat/OpenInItemLink.vue.d.ts +0 -0
  788. /package/dist/{components → types/components}/ai-elements/open-in-chat/OpenInTrigger.vue.d.ts +0 -0
  789. /package/dist/{components → types/components}/ai-elements/open-in-chat/context.d.ts +0 -0
  790. /package/dist/{components → types/components}/ai-elements/open-in-chat/index.d.ts +0 -0
  791. /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/icons/ChatGPT.vue.d.ts +0 -0
  792. /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/icons/Claude.vue.d.ts +0 -0
  793. /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/icons/Cursor.vue.d.ts +0 -0
  794. /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/icons/Github.vue.d.ts +0 -0
  795. /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/icons/Scira.vue.d.ts +0 -0
  796. /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/icons/V0.vue.d.ts +0 -0
  797. /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/icons/index.d.ts +0 -0
  798. /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/index.d.ts +0 -0
  799. /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/items/OpenInChatGPT.vue.d.ts +0 -0
  800. /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/items/OpenInClaude.vue.d.ts +0 -0
  801. /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/items/OpenInCursor.vue.d.ts +0 -0
  802. /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/items/OpenInScira.vue.d.ts +0 -0
  803. /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/items/OpenInT3.vue.d.ts +0 -0
  804. /package/dist/{components → types/components}/ai-elements/open-in-chat/providers/items/OpenInv0.vue.d.ts +0 -0
  805. /package/dist/{components → types/components}/ai-elements/panel/Panel.vue.d.ts +0 -0
  806. /package/dist/{components → types/components}/ai-elements/panel/index.d.ts +0 -0
  807. /package/dist/{components → types/components}/ai-elements/plan/Plan.vue.d.ts +0 -0
  808. /package/dist/{components → types/components}/ai-elements/plan/PlanAction.vue.d.ts +0 -0
  809. /package/dist/{components → types/components}/ai-elements/plan/PlanContent.vue.d.ts +0 -0
  810. /package/dist/{components → types/components}/ai-elements/plan/PlanDescription.vue.d.ts +0 -0
  811. /package/dist/{components → types/components}/ai-elements/plan/PlanFooter.vue.d.ts +0 -0
  812. /package/dist/{components → types/components}/ai-elements/plan/PlanHeader.vue.d.ts +0 -0
  813. /package/dist/{components → types/components}/ai-elements/plan/PlanTitle.vue.d.ts +0 -0
  814. /package/dist/{components → types/components}/ai-elements/plan/PlanTrigger.vue.d.ts +0 -0
  815. /package/dist/{components → types/components}/ai-elements/plan/context.d.ts +0 -0
  816. /package/dist/{components → types/components}/ai-elements/plan/index.d.ts +0 -0
  817. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInput.vue.d.ts +0 -0
  818. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputActionAddAttachments.vue.d.ts +0 -0
  819. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputActionMenu.vue.d.ts +0 -0
  820. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputActionMenuContent.vue.d.ts +0 -0
  821. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputActionMenuItem.vue.d.ts +0 -0
  822. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputActionMenuTrigger.vue.d.ts +0 -0
  823. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputAttachment.vue.d.ts +0 -0
  824. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputAttachments.vue.d.ts +0 -0
  825. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputBody.vue.d.ts +0 -0
  826. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputCommand.vue.d.ts +0 -0
  827. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputCommandEmpty.vue.d.ts +0 -0
  828. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputCommandGroup.vue.d.ts +0 -0
  829. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputCommandInput.vue.d.ts +0 -0
  830. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputCommandItem.vue.d.ts +0 -0
  831. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputCommandList.vue.d.ts +0 -0
  832. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputCommandSeparator.vue.d.ts +0 -0
  833. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputFooter.vue.d.ts +0 -0
  834. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputHeader.vue.d.ts +0 -0
  835. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputHoverCard.vue.d.ts +0 -0
  836. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputHoverCardContent.vue.d.ts +0 -0
  837. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputHoverCardTrigger.vue.d.ts +0 -0
  838. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputProvider.vue.d.ts +0 -0
  839. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputSelect.vue.d.ts +0 -0
  840. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputSelectContent.vue.d.ts +0 -0
  841. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputSelectItem.vue.d.ts +0 -0
  842. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputSelectTrigger.vue.d.ts +0 -0
  843. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputSelectValue.vue.d.ts +0 -0
  844. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputSpeechButton.vue.d.ts +0 -0
  845. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputTab.vue.d.ts +0 -0
  846. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputTabBody.vue.d.ts +0 -0
  847. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputTabItem.vue.d.ts +0 -0
  848. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputTabLabel.vue.d.ts +0 -0
  849. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputTabsList.vue.d.ts +0 -0
  850. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputTextarea.vue.d.ts +0 -0
  851. /package/dist/{components → types/components}/ai-elements/prompt-input/PromptInputTools.vue.d.ts +0 -0
  852. /package/dist/{components → types/components}/ai-elements/prompt-input/context.d.ts +0 -0
  853. /package/dist/{components → types/components}/ai-elements/prompt-input/index.d.ts +0 -0
  854. /package/dist/{components → types/components}/ai-elements/prompt-input/types.d.ts +0 -0
  855. /package/dist/{components → types/components}/ai-elements/queue/Queue.vue.d.ts +0 -0
  856. /package/dist/{components → types/components}/ai-elements/queue/QueueItem.vue.d.ts +0 -0
  857. /package/dist/{components → types/components}/ai-elements/queue/QueueItemAction.vue.d.ts +0 -0
  858. /package/dist/{components → types/components}/ai-elements/queue/QueueItemActions.vue.d.ts +0 -0
  859. /package/dist/{components → types/components}/ai-elements/queue/QueueItemAttachment.vue.d.ts +0 -0
  860. /package/dist/{components → types/components}/ai-elements/queue/QueueItemContent.vue.d.ts +0 -0
  861. /package/dist/{components → types/components}/ai-elements/queue/QueueItemDescription.vue.d.ts +0 -0
  862. /package/dist/{components → types/components}/ai-elements/queue/QueueItemFile.vue.d.ts +0 -0
  863. /package/dist/{components → types/components}/ai-elements/queue/QueueItemImage.vue.d.ts +0 -0
  864. /package/dist/{components → types/components}/ai-elements/queue/QueueItemIndicator.vue.d.ts +0 -0
  865. /package/dist/{components → types/components}/ai-elements/queue/QueueList.vue.d.ts +0 -0
  866. /package/dist/{components → types/components}/ai-elements/queue/QueueSection.vue.d.ts +0 -0
  867. /package/dist/{components → types/components}/ai-elements/queue/QueueSectionContent.vue.d.ts +0 -0
  868. /package/dist/{components → types/components}/ai-elements/queue/QueueSectionLabel.vue.d.ts +0 -0
  869. /package/dist/{components → types/components}/ai-elements/queue/QueueSectionTrigger.vue.d.ts +0 -0
  870. /package/dist/{components → types/components}/ai-elements/queue/index.d.ts +0 -0
  871. /package/dist/{components → types/components}/ai-elements/reasoning/Reasoning.vue.d.ts +0 -0
  872. /package/dist/{components → types/components}/ai-elements/reasoning/ReasoningContent.vue.d.ts +0 -0
  873. /package/dist/{components → types/components}/ai-elements/reasoning/ReasoningTrigger.vue.d.ts +0 -0
  874. /package/dist/{components → types/components}/ai-elements/reasoning/context.d.ts +0 -0
  875. /package/dist/{components → types/components}/ai-elements/reasoning/index.d.ts +0 -0
  876. /package/dist/{components → types/components}/ai-elements/shimmer/index.d.ts +0 -0
  877. /package/dist/{components → types/components}/ai-elements/sources/Source.vue.d.ts +0 -0
  878. /package/dist/{components → types/components}/ai-elements/sources/Sources.vue.d.ts +0 -0
  879. /package/dist/{components → types/components}/ai-elements/sources/SourcesContent.vue.d.ts +0 -0
  880. /package/dist/{components → types/components}/ai-elements/sources/SourcesTrigger.vue.d.ts +0 -0
  881. /package/dist/{components → types/components}/ai-elements/sources/index.d.ts +0 -0
  882. /package/dist/{components → types/components}/ai-elements/suggestion/Suggestion.vue.d.ts +0 -0
  883. /package/dist/{components → types/components}/ai-elements/suggestion/Suggestions.vue.d.ts +0 -0
  884. /package/dist/{components → types/components}/ai-elements/suggestion/index.d.ts +0 -0
  885. /package/dist/{components → types/components}/ai-elements/task/Task.vue.d.ts +0 -0
  886. /package/dist/{components → types/components}/ai-elements/task/TaskContent.vue.d.ts +0 -0
  887. /package/dist/{components → types/components}/ai-elements/task/TaskItem.vue.d.ts +0 -0
  888. /package/dist/{components → types/components}/ai-elements/task/TaskItemFile.vue.d.ts +0 -0
  889. /package/dist/{components → types/components}/ai-elements/task/TaskTrigger.vue.d.ts +0 -0
  890. /package/dist/{components → types/components}/ai-elements/task/index.d.ts +0 -0
  891. /package/dist/{components → types/components}/ai-elements/tool/Tool.vue.d.ts +0 -0
  892. /package/dist/{components → types/components}/ai-elements/tool/ToolContent.vue.d.ts +0 -0
  893. /package/dist/{components → types/components}/ai-elements/tool/ToolHeader.vue.d.ts +0 -0
  894. /package/dist/{components → types/components}/ai-elements/tool/ToolInput.vue.d.ts +0 -0
  895. /package/dist/{components → types/components}/ai-elements/tool/ToolOutput.vue.d.ts +0 -0
  896. /package/dist/{components → types/components}/ai-elements/tool/ToolStatusBadge.vue.d.ts +0 -0
  897. /package/dist/{components → types/components}/ai-elements/tool/index.d.ts +0 -0
  898. /package/dist/{components → types/components}/ai-elements/toolbar/Toolbar.vue.d.ts +0 -0
  899. /package/dist/{components → types/components}/ai-elements/toolbar/index.d.ts +0 -0
  900. /package/dist/{components → types/components}/ai-elements/web-preview/WebPreview.vue.d.ts +0 -0
  901. /package/dist/{components → types/components}/ai-elements/web-preview/WebPreviewBody.vue.d.ts +0 -0
  902. /package/dist/{components → types/components}/ai-elements/web-preview/WebPreviewConsole.vue.d.ts +0 -0
  903. /package/dist/{components → types/components}/ai-elements/web-preview/WebPreviewNavigation.vue.d.ts +0 -0
  904. /package/dist/{components → types/components}/ai-elements/web-preview/WebPreviewUrl.vue.d.ts +0 -0
  905. /package/dist/{components → types/components}/ai-elements/web-preview/context.d.ts +0 -0
  906. /package/dist/{components → types/components}/ai-elements/web-preview/index.d.ts +0 -0
  907. /package/dist/{components → types/components}/ui/alert/Alert.vue.d.ts +0 -0
  908. /package/dist/{components → types/components}/ui/alert/AlertDescription.vue.d.ts +0 -0
  909. /package/dist/{components → types/components}/ui/alert/AlertTitle.vue.d.ts +0 -0
  910. /package/dist/{components → types/components}/ui/alert/index.d.ts +0 -0
  911. /package/dist/{components → types/components}/ui/avatar/Avatar.vue.d.ts +0 -0
  912. /package/dist/{components → types/components}/ui/avatar/AvatarFallback.vue.d.ts +0 -0
  913. /package/dist/{components → types/components}/ui/avatar/AvatarImage.vue.d.ts +0 -0
  914. /package/dist/{components → types/components}/ui/avatar/index.d.ts +0 -0
  915. /package/dist/{components → types/components}/ui/badge/Badge.vue.d.ts +0 -0
  916. /package/dist/{components → types/components}/ui/button-group/ButtonGroup.vue.d.ts +0 -0
  917. /package/dist/{components → types/components}/ui/card/Card.vue.d.ts +0 -0
  918. /package/dist/{components → types/components}/ui/card/CardAction.vue.d.ts +0 -0
  919. /package/dist/{components → types/components}/ui/card/CardContent.vue.d.ts +0 -0
  920. /package/dist/{components → types/components}/ui/card/CardDescription.vue.d.ts +0 -0
  921. /package/dist/{components → types/components}/ui/card/CardFooter.vue.d.ts +0 -0
  922. /package/dist/{components → types/components}/ui/card/CardHeader.vue.d.ts +0 -0
  923. /package/dist/{components → types/components}/ui/card/CardTitle.vue.d.ts +0 -0
  924. /package/dist/{components → types/components}/ui/card/index.d.ts +0 -0
  925. /package/dist/{components → types/components}/ui/carousel/CarouselContent.vue.d.ts +0 -0
  926. /package/dist/{components → types/components}/ui/carousel/CarouselItem.vue.d.ts +0 -0
  927. /package/dist/{components → types/components}/ui/carousel/index.d.ts +0 -0
  928. /package/dist/{components → types/components}/ui/carousel/interface.d.ts +0 -0
  929. /package/dist/{components → types/components}/ui/collapsible/Collapsible.vue.d.ts +0 -0
  930. /package/dist/{components → types/components}/ui/collapsible/CollapsibleContent.vue.d.ts +0 -0
  931. /package/dist/{components → types/components}/ui/collapsible/CollapsibleTrigger.vue.d.ts +0 -0
  932. /package/dist/{components → types/components}/ui/collapsible/index.d.ts +0 -0
  933. /package/dist/{components → types/components}/ui/command/Command.vue.d.ts +0 -0
  934. /package/dist/{components → types/components}/ui/command/CommandDialog.vue.d.ts +0 -0
  935. /package/dist/{components → types/components}/ui/command/CommandEmpty.vue.d.ts +0 -0
  936. /package/dist/{components → types/components}/ui/command/CommandGroup.vue.d.ts +0 -0
  937. /package/dist/{components → types/components}/ui/command/CommandInput.vue.d.ts +0 -0
  938. /package/dist/{components → types/components}/ui/command/CommandItem.vue.d.ts +0 -0
  939. /package/dist/{components → types/components}/ui/command/CommandList.vue.d.ts +0 -0
  940. /package/dist/{components → types/components}/ui/command/CommandSeparator.vue.d.ts +0 -0
  941. /package/dist/{components → types/components}/ui/command/CommandShortcut.vue.d.ts +0 -0
  942. /package/dist/{components → types/components}/ui/command/index.d.ts +0 -0
  943. /package/dist/{components → types/components}/ui/dialog/Dialog.vue.d.ts +0 -0
  944. /package/dist/{components → types/components}/ui/dialog/DialogClose.vue.d.ts +0 -0
  945. /package/dist/{components → types/components}/ui/dialog/DialogContent.vue.d.ts +0 -0
  946. /package/dist/{components → types/components}/ui/dialog/DialogDescription.vue.d.ts +0 -0
  947. /package/dist/{components → types/components}/ui/dialog/DialogFooter.vue.d.ts +0 -0
  948. /package/dist/{components → types/components}/ui/dialog/DialogHeader.vue.d.ts +0 -0
  949. /package/dist/{components → types/components}/ui/dialog/DialogOverlay.vue.d.ts +0 -0
  950. /package/dist/{components → types/components}/ui/dialog/DialogScrollContent.vue.d.ts +0 -0
  951. /package/dist/{components → types/components}/ui/dialog/DialogTitle.vue.d.ts +0 -0
  952. /package/dist/{components → types/components}/ui/dialog/DialogTrigger.vue.d.ts +0 -0
  953. /package/dist/{components → types/components}/ui/dialog/index.d.ts +0 -0
  954. /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenu.vue.d.ts +0 -0
  955. /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +0 -0
  956. /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +0 -0
  957. /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +0 -0
  958. /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +0 -0
  959. /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +0 -0
  960. /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +0 -0
  961. /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +0 -0
  962. /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +0 -0
  963. /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +0 -0
  964. /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +0 -0
  965. /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +0 -0
  966. /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +0 -0
  967. /package/dist/{components → types/components}/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +0 -0
  968. /package/dist/{components → types/components}/ui/dropdown-menu/index.d.ts +0 -0
  969. /package/dist/{components → types/components}/ui/hover-card/HoverCard.vue.d.ts +0 -0
  970. /package/dist/{components → types/components}/ui/hover-card/HoverCardContent.vue.d.ts +0 -0
  971. /package/dist/{components → types/components}/ui/hover-card/HoverCardTrigger.vue.d.ts +0 -0
  972. /package/dist/{components → types/components}/ui/hover-card/index.d.ts +0 -0
  973. /package/dist/{components → types/components}/ui/input/Input.vue.d.ts +0 -0
  974. /package/dist/{components → types/components}/ui/input/index.d.ts +0 -0
  975. /package/dist/{components → types/components}/ui/input-group/InputGroup.vue.d.ts +0 -0
  976. /package/dist/{components → types/components}/ui/input-group/InputGroupAddon.vue.d.ts +0 -0
  977. /package/dist/{components → types/components}/ui/input-group/InputGroupInput.vue.d.ts +0 -0
  978. /package/dist/{components → types/components}/ui/input-group/InputGroupText.vue.d.ts +0 -0
  979. /package/dist/{components → types/components}/ui/input-group/InputGroupTextarea.vue.d.ts +0 -0
  980. /package/dist/{components → types/components}/ui/input-group/index.d.ts +0 -0
  981. /package/dist/{components → types/components}/ui/progress/Progress.vue.d.ts +0 -0
  982. /package/dist/{components → types/components}/ui/progress/index.d.ts +0 -0
  983. /package/dist/{components → types/components}/ui/scroll-area/ScrollArea.vue.d.ts +0 -0
  984. /package/dist/{components → types/components}/ui/scroll-area/ScrollBar.vue.d.ts +0 -0
  985. /package/dist/{components → types/components}/ui/scroll-area/index.d.ts +0 -0
  986. /package/dist/{components → types/components}/ui/select/SelectContent.vue.d.ts +0 -0
  987. /package/dist/{components → types/components}/ui/select/SelectGroup.vue.d.ts +0 -0
  988. /package/dist/{components → types/components}/ui/select/SelectItem.vue.d.ts +0 -0
  989. /package/dist/{components → types/components}/ui/select/SelectItemText.vue.d.ts +0 -0
  990. /package/dist/{components → types/components}/ui/select/SelectLabel.vue.d.ts +0 -0
  991. /package/dist/{components → types/components}/ui/select/SelectScrollDownButton.vue.d.ts +0 -0
  992. /package/dist/{components → types/components}/ui/select/SelectScrollUpButton.vue.d.ts +0 -0
  993. /package/dist/{components → types/components}/ui/select/SelectSeparator.vue.d.ts +0 -0
  994. /package/dist/{components → types/components}/ui/select/SelectTrigger.vue.d.ts +0 -0
  995. /package/dist/{components → types/components}/ui/select/SelectValue.vue.d.ts +0 -0
  996. /package/dist/{components → types/components}/ui/select/index.d.ts +0 -0
  997. /package/dist/{components → types/components}/ui/separator/index.d.ts +0 -0
  998. /package/dist/{components → types/components}/ui/textarea/Textarea.vue.d.ts +0 -0
  999. /package/dist/{components → types/components}/ui/textarea/index.d.ts +0 -0
  1000. /package/dist/{components → types/components}/ui/tooltip/Tooltip.vue.d.ts +0 -0
  1001. /package/dist/{components → types/components}/ui/tooltip/TooltipContent.vue.d.ts +0 -0
  1002. /package/dist/{components → types/components}/ui/tooltip/TooltipProvider.vue.d.ts +0 -0
  1003. /package/dist/{components → types/components}/ui/tooltip/TooltipTrigger.vue.d.ts +0 -0
  1004. /package/dist/{components → types/components}/ui/tooltip/index.d.ts +0 -0
  1005. /package/dist/{index.d.ts → types/index.d.ts} +0 -0
  1006. /package/dist/{lib → types/lib}/utils.d.ts +0 -0
  1007. /package/dist/{main.d.ts → types/main.d.ts} +0 -0
  1008. /package/dist/{request → types/request}/index.d.ts +0 -0
@@ -0,0 +1,2022 @@
1
+ import "./marked.esm.js";
2
+ import "./isArrayLikeObject.js";
3
+ import { i as cleanAndMerge } from "./chunk-S3R3BYOJ.js";
4
+ import { g as log, h as __name } from "./src.js";
5
+ import { B as setAccTitle, C as getDiagramTitle, I as sanitizeText, T as getThemeVariables3, U as setDiagramTitle, _ as getAccDescription, a as clear, c as configureSvgSize, d as defaultConfig_default, v as getAccTitle, y as getConfig, z as setAccDescription } from "./chunk-ABZYJK2D.js";
6
+ import { t as linear } from "./linear.js";
7
+ import { t as ordinal } from "./ordinal.js";
8
+ import "./path.js";
9
+ import "./defaultLocale.js";
10
+ import { t as initRange } from "./init.js";
11
+ import "./math.js";
12
+ import "./array.js";
13
+ import { t as line_default } from "./line.js";
14
+ import { t as selectSvgElement } from "./chunk-EXTU4WIE.js";
15
+ import "./dist.js";
16
+ import { t as computeDimensionOfText } from "./chunk-JA3XYJ7Z.js";
17
+ function range(e, S, C) {
18
+ e = +e, S = +S, C = (T = arguments.length) < 2 ? (S = e, e = 0, 1) : T < 3 ? 1 : +C;
19
+ for (var w = -1, T = Math.max(0, Math.ceil((S - e) / C)) | 0, E = Array(T); ++w < T;) E[w] = e + w * C;
20
+ return E;
21
+ }
22
+ function band() {
23
+ var e = ordinal().unknown(void 0), S = e.domain, C = e.range, w = 0, T = 1, E, D, O = !1, k = 0, A = 0, j = .5;
24
+ delete e.unknown;
25
+ function M() {
26
+ var e = S().length, M = T < w, N = M ? T : w, P = M ? w : T;
27
+ E = (P - N) / Math.max(1, e - k + A * 2), O && (E = Math.floor(E)), N += (P - N - E * (e - k)) * j, D = E * (1 - k), O && (N = Math.round(N), D = Math.round(D));
28
+ var F = range(e).map(function(e) {
29
+ return N + E * e;
30
+ });
31
+ return C(M ? F.reverse() : F);
32
+ }
33
+ return e.domain = function(e) {
34
+ return arguments.length ? (S(e), M()) : S();
35
+ }, e.range = function(e) {
36
+ return arguments.length ? ([w, T] = e, w = +w, T = +T, M()) : [w, T];
37
+ }, e.rangeRound = function(e) {
38
+ return [w, T] = e, w = +w, T = +T, O = !0, M();
39
+ }, e.bandwidth = function() {
40
+ return D;
41
+ }, e.step = function() {
42
+ return E;
43
+ }, e.round = function(e) {
44
+ return arguments.length ? (O = !!e, M()) : O;
45
+ }, e.padding = function(e) {
46
+ return arguments.length ? (k = Math.min(1, A = +e), M()) : k;
47
+ }, e.paddingInner = function(e) {
48
+ return arguments.length ? (k = Math.min(1, e), M()) : k;
49
+ }, e.paddingOuter = function(e) {
50
+ return arguments.length ? (A = +e, M()) : A;
51
+ }, e.align = function(e) {
52
+ return arguments.length ? (j = Math.max(0, Math.min(1, e)), M()) : j;
53
+ }, e.copy = function() {
54
+ return band(S(), [w, T]).round(O).paddingInner(k).paddingOuter(A).align(j);
55
+ }, initRange.apply(M(), arguments);
56
+ }
57
+ var parser = (function() {
58
+ var e = /* @__PURE__ */ __name(function(e, S, C, w) {
59
+ for (C ||= {}, w = e.length; w--; C[e[w]] = S);
60
+ return C;
61
+ }, "o"), S = [
62
+ 1,
63
+ 10,
64
+ 12,
65
+ 14,
66
+ 16,
67
+ 18,
68
+ 19,
69
+ 21,
70
+ 23
71
+ ], w = [2, 6], T = [1, 3], E = [1, 5], D = [1, 6], O = [1, 7], k = [
72
+ 1,
73
+ 5,
74
+ 10,
75
+ 12,
76
+ 14,
77
+ 16,
78
+ 18,
79
+ 19,
80
+ 21,
81
+ 23,
82
+ 34,
83
+ 35,
84
+ 36
85
+ ], 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 = [
86
+ 1,
87
+ 10,
88
+ 12,
89
+ 14,
90
+ 16,
91
+ 18,
92
+ 19,
93
+ 21,
94
+ 23,
95
+ 34,
96
+ 35,
97
+ 36
98
+ ], q = [
99
+ 1,
100
+ 10,
101
+ 12,
102
+ 14,
103
+ 16,
104
+ 18,
105
+ 19,
106
+ 21,
107
+ 23,
108
+ 24,
109
+ 26,
110
+ 27,
111
+ 28,
112
+ 34,
113
+ 35,
114
+ 36
115
+ ], J = [
116
+ 1,
117
+ 10,
118
+ 12,
119
+ 14,
120
+ 16,
121
+ 18,
122
+ 19,
123
+ 21,
124
+ 23,
125
+ 24,
126
+ 26,
127
+ 27,
128
+ 28,
129
+ 34,
130
+ 35,
131
+ 36,
132
+ 41,
133
+ 42,
134
+ 43,
135
+ 44,
136
+ 45,
137
+ 46,
138
+ 47,
139
+ 48,
140
+ 49,
141
+ 50
142
+ ], Y = [1, 64], X = {
143
+ trace: /* @__PURE__ */ __name(function() {}, "trace"),
144
+ yy: {},
145
+ symbols_: {
146
+ error: 2,
147
+ start: 3,
148
+ eol: 4,
149
+ XYCHART: 5,
150
+ chartConfig: 6,
151
+ document: 7,
152
+ CHART_ORIENTATION: 8,
153
+ statement: 9,
154
+ title: 10,
155
+ text: 11,
156
+ X_AXIS: 12,
157
+ parseXAxis: 13,
158
+ Y_AXIS: 14,
159
+ parseYAxis: 15,
160
+ LINE: 16,
161
+ plotData: 17,
162
+ BAR: 18,
163
+ acc_title: 19,
164
+ acc_title_value: 20,
165
+ acc_descr: 21,
166
+ acc_descr_value: 22,
167
+ acc_descr_multiline_value: 23,
168
+ SQUARE_BRACES_START: 24,
169
+ commaSeparatedNumbers: 25,
170
+ SQUARE_BRACES_END: 26,
171
+ NUMBER_WITH_DECIMAL: 27,
172
+ COMMA: 28,
173
+ xAxisData: 29,
174
+ bandData: 30,
175
+ ARROW_DELIMITER: 31,
176
+ commaSeparatedTexts: 32,
177
+ yAxisData: 33,
178
+ NEWLINE: 34,
179
+ SEMI: 35,
180
+ EOF: 36,
181
+ alphaNum: 37,
182
+ STR: 38,
183
+ MD_STR: 39,
184
+ alphaNumToken: 40,
185
+ AMP: 41,
186
+ NUM: 42,
187
+ ALPHA: 43,
188
+ PLUS: 44,
189
+ EQUALS: 45,
190
+ MULT: 46,
191
+ DOT: 47,
192
+ BRKT: 48,
193
+ MINUS: 49,
194
+ UNDERSCORE: 50,
195
+ $accept: 0,
196
+ $end: 1
197
+ },
198
+ terminals_: {
199
+ 2: "error",
200
+ 5: "XYCHART",
201
+ 8: "CHART_ORIENTATION",
202
+ 10: "title",
203
+ 12: "X_AXIS",
204
+ 14: "Y_AXIS",
205
+ 16: "LINE",
206
+ 18: "BAR",
207
+ 19: "acc_title",
208
+ 20: "acc_title_value",
209
+ 21: "acc_descr",
210
+ 22: "acc_descr_value",
211
+ 23: "acc_descr_multiline_value",
212
+ 24: "SQUARE_BRACES_START",
213
+ 26: "SQUARE_BRACES_END",
214
+ 27: "NUMBER_WITH_DECIMAL",
215
+ 28: "COMMA",
216
+ 31: "ARROW_DELIMITER",
217
+ 34: "NEWLINE",
218
+ 35: "SEMI",
219
+ 36: "EOF",
220
+ 38: "STR",
221
+ 39: "MD_STR",
222
+ 41: "AMP",
223
+ 42: "NUM",
224
+ 43: "ALPHA",
225
+ 44: "PLUS",
226
+ 45: "EQUALS",
227
+ 46: "MULT",
228
+ 47: "DOT",
229
+ 48: "BRKT",
230
+ 49: "MINUS",
231
+ 50: "UNDERSCORE"
232
+ },
233
+ productions_: [
234
+ 0,
235
+ [3, 2],
236
+ [3, 3],
237
+ [3, 2],
238
+ [3, 1],
239
+ [6, 1],
240
+ [7, 0],
241
+ [7, 2],
242
+ [9, 2],
243
+ [9, 2],
244
+ [9, 2],
245
+ [9, 2],
246
+ [9, 2],
247
+ [9, 3],
248
+ [9, 2],
249
+ [9, 3],
250
+ [9, 2],
251
+ [9, 2],
252
+ [9, 1],
253
+ [17, 3],
254
+ [25, 3],
255
+ [25, 1],
256
+ [13, 1],
257
+ [13, 2],
258
+ [13, 1],
259
+ [29, 1],
260
+ [29, 3],
261
+ [30, 3],
262
+ [32, 3],
263
+ [32, 1],
264
+ [15, 1],
265
+ [15, 2],
266
+ [15, 1],
267
+ [33, 3],
268
+ [4, 1],
269
+ [4, 1],
270
+ [4, 1],
271
+ [11, 1],
272
+ [11, 1],
273
+ [11, 1],
274
+ [37, 1],
275
+ [37, 2],
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
+ [40, 1],
285
+ [40, 1]
286
+ ],
287
+ performAction: /* @__PURE__ */ __name(function(e, S, C, w, T, E, D) {
288
+ var O = E.length - 1;
289
+ switch (T) {
290
+ case 5:
291
+ w.setOrientation(E[O]);
292
+ break;
293
+ case 9:
294
+ w.setDiagramTitle(E[O].text.trim());
295
+ break;
296
+ case 12:
297
+ w.setLineData({
298
+ text: "",
299
+ type: "text"
300
+ }, E[O]);
301
+ break;
302
+ case 13:
303
+ w.setLineData(E[O - 1], E[O]);
304
+ break;
305
+ case 14:
306
+ w.setBarData({
307
+ text: "",
308
+ type: "text"
309
+ }, E[O]);
310
+ break;
311
+ case 15:
312
+ w.setBarData(E[O - 1], E[O]);
313
+ break;
314
+ case 16:
315
+ this.$ = E[O].trim(), w.setAccTitle(this.$);
316
+ break;
317
+ case 17:
318
+ case 18:
319
+ this.$ = E[O].trim(), w.setAccDescription(this.$);
320
+ break;
321
+ case 19:
322
+ this.$ = E[O - 1];
323
+ break;
324
+ case 20:
325
+ this.$ = [Number(E[O - 2]), ...E[O]];
326
+ break;
327
+ case 21:
328
+ this.$ = [Number(E[O])];
329
+ break;
330
+ case 22:
331
+ w.setXAxisTitle(E[O]);
332
+ break;
333
+ case 23:
334
+ w.setXAxisTitle(E[O - 1]);
335
+ break;
336
+ case 24:
337
+ w.setXAxisTitle({
338
+ type: "text",
339
+ text: ""
340
+ });
341
+ break;
342
+ case 25:
343
+ w.setXAxisBand(E[O]);
344
+ break;
345
+ case 26:
346
+ w.setXAxisRangeData(Number(E[O - 2]), Number(E[O]));
347
+ break;
348
+ case 27:
349
+ this.$ = E[O - 1];
350
+ break;
351
+ case 28:
352
+ this.$ = [E[O - 2], ...E[O]];
353
+ break;
354
+ case 29:
355
+ this.$ = [E[O]];
356
+ break;
357
+ case 30:
358
+ w.setYAxisTitle(E[O]);
359
+ break;
360
+ case 31:
361
+ w.setYAxisTitle(E[O - 1]);
362
+ break;
363
+ case 32:
364
+ w.setYAxisTitle({
365
+ type: "text",
366
+ text: ""
367
+ });
368
+ break;
369
+ case 33:
370
+ w.setYAxisRangeData(Number(E[O - 2]), Number(E[O]));
371
+ break;
372
+ case 37:
373
+ this.$ = {
374
+ text: E[O],
375
+ type: "text"
376
+ };
377
+ break;
378
+ case 38:
379
+ this.$ = {
380
+ text: E[O],
381
+ type: "text"
382
+ };
383
+ break;
384
+ case 39:
385
+ this.$ = {
386
+ text: E[O],
387
+ type: "markdown"
388
+ };
389
+ break;
390
+ case 40:
391
+ this.$ = E[O];
392
+ break;
393
+ case 41:
394
+ this.$ = E[O - 1] + "" + E[O];
395
+ break;
396
+ }
397
+ }, "anonymous"),
398
+ table: [
399
+ e(S, w, {
400
+ 3: 1,
401
+ 4: 2,
402
+ 7: 4,
403
+ 5: T,
404
+ 34: E,
405
+ 35: D,
406
+ 36: O
407
+ }),
408
+ { 1: [3] },
409
+ e(S, w, {
410
+ 4: 2,
411
+ 7: 4,
412
+ 3: 8,
413
+ 5: T,
414
+ 34: E,
415
+ 35: D,
416
+ 36: O
417
+ }),
418
+ e(S, w, {
419
+ 4: 2,
420
+ 7: 4,
421
+ 6: 9,
422
+ 3: 10,
423
+ 5: T,
424
+ 8: [1, 11],
425
+ 34: E,
426
+ 35: D,
427
+ 36: O
428
+ }),
429
+ {
430
+ 1: [2, 4],
431
+ 9: 12,
432
+ 10: [1, 13],
433
+ 12: [1, 14],
434
+ 14: [1, 15],
435
+ 16: [1, 16],
436
+ 18: [1, 17],
437
+ 19: [1, 18],
438
+ 21: [1, 19],
439
+ 23: [1, 20]
440
+ },
441
+ e(k, [2, 34]),
442
+ e(k, [2, 35]),
443
+ e(k, [2, 36]),
444
+ { 1: [2, 1] },
445
+ e(S, w, {
446
+ 4: 2,
447
+ 7: 4,
448
+ 3: 21,
449
+ 5: T,
450
+ 34: E,
451
+ 35: D,
452
+ 36: O
453
+ }),
454
+ { 1: [2, 3] },
455
+ e(k, [2, 5]),
456
+ e(S, [2, 7], {
457
+ 4: 22,
458
+ 34: E,
459
+ 35: D,
460
+ 36: O
461
+ }),
462
+ {
463
+ 11: 23,
464
+ 37: 24,
465
+ 38: A,
466
+ 39: j,
467
+ 40: 27,
468
+ 41: M,
469
+ 42: N,
470
+ 43: P,
471
+ 44: F,
472
+ 45: I,
473
+ 46: L,
474
+ 47: R,
475
+ 48: z,
476
+ 49: B,
477
+ 50: V
478
+ },
479
+ {
480
+ 11: 39,
481
+ 13: 38,
482
+ 24: H,
483
+ 27: U,
484
+ 29: 40,
485
+ 30: 41,
486
+ 37: 24,
487
+ 38: A,
488
+ 39: j,
489
+ 40: 27,
490
+ 41: M,
491
+ 42: N,
492
+ 43: P,
493
+ 44: F,
494
+ 45: I,
495
+ 46: L,
496
+ 47: R,
497
+ 48: z,
498
+ 49: B,
499
+ 50: V
500
+ },
501
+ {
502
+ 11: 45,
503
+ 15: 44,
504
+ 27: W,
505
+ 33: 46,
506
+ 37: 24,
507
+ 38: A,
508
+ 39: j,
509
+ 40: 27,
510
+ 41: M,
511
+ 42: N,
512
+ 43: P,
513
+ 44: F,
514
+ 45: I,
515
+ 46: L,
516
+ 47: R,
517
+ 48: z,
518
+ 49: B,
519
+ 50: V
520
+ },
521
+ {
522
+ 11: 49,
523
+ 17: 48,
524
+ 24: G,
525
+ 37: 24,
526
+ 38: A,
527
+ 39: j,
528
+ 40: 27,
529
+ 41: M,
530
+ 42: N,
531
+ 43: P,
532
+ 44: F,
533
+ 45: I,
534
+ 46: L,
535
+ 47: R,
536
+ 48: z,
537
+ 49: B,
538
+ 50: V
539
+ },
540
+ {
541
+ 11: 52,
542
+ 17: 51,
543
+ 24: G,
544
+ 37: 24,
545
+ 38: A,
546
+ 39: j,
547
+ 40: 27,
548
+ 41: M,
549
+ 42: N,
550
+ 43: P,
551
+ 44: F,
552
+ 45: I,
553
+ 46: L,
554
+ 47: R,
555
+ 48: z,
556
+ 49: B,
557
+ 50: V
558
+ },
559
+ { 20: [1, 53] },
560
+ { 22: [1, 54] },
561
+ e(K, [2, 18]),
562
+ { 1: [2, 2] },
563
+ e(K, [2, 8]),
564
+ e(K, [2, 9]),
565
+ e(q, [2, 37], {
566
+ 40: 55,
567
+ 41: M,
568
+ 42: N,
569
+ 43: P,
570
+ 44: F,
571
+ 45: I,
572
+ 46: L,
573
+ 47: R,
574
+ 48: z,
575
+ 49: B,
576
+ 50: V
577
+ }),
578
+ e(q, [2, 38]),
579
+ e(q, [2, 39]),
580
+ e(J, [2, 40]),
581
+ e(J, [2, 42]),
582
+ e(J, [2, 43]),
583
+ e(J, [2, 44]),
584
+ e(J, [2, 45]),
585
+ e(J, [2, 46]),
586
+ e(J, [2, 47]),
587
+ e(J, [2, 48]),
588
+ e(J, [2, 49]),
589
+ e(J, [2, 50]),
590
+ e(J, [2, 51]),
591
+ e(K, [2, 10]),
592
+ e(K, [2, 22], {
593
+ 30: 41,
594
+ 29: 56,
595
+ 24: H,
596
+ 27: U
597
+ }),
598
+ e(K, [2, 24]),
599
+ e(K, [2, 25]),
600
+ { 31: [1, 57] },
601
+ {
602
+ 11: 59,
603
+ 32: 58,
604
+ 37: 24,
605
+ 38: A,
606
+ 39: j,
607
+ 40: 27,
608
+ 41: M,
609
+ 42: N,
610
+ 43: P,
611
+ 44: F,
612
+ 45: I,
613
+ 46: L,
614
+ 47: R,
615
+ 48: z,
616
+ 49: B,
617
+ 50: V
618
+ },
619
+ e(K, [2, 11]),
620
+ e(K, [2, 30], {
621
+ 33: 60,
622
+ 27: W
623
+ }),
624
+ e(K, [2, 32]),
625
+ { 31: [1, 61] },
626
+ e(K, [2, 12]),
627
+ {
628
+ 17: 62,
629
+ 24: G
630
+ },
631
+ {
632
+ 25: 63,
633
+ 27: Y
634
+ },
635
+ e(K, [2, 14]),
636
+ {
637
+ 17: 65,
638
+ 24: G
639
+ },
640
+ e(K, [2, 16]),
641
+ e(K, [2, 17]),
642
+ e(J, [2, 41]),
643
+ e(K, [2, 23]),
644
+ { 27: [1, 66] },
645
+ { 26: [1, 67] },
646
+ {
647
+ 26: [2, 29],
648
+ 28: [1, 68]
649
+ },
650
+ e(K, [2, 31]),
651
+ { 27: [1, 69] },
652
+ e(K, [2, 13]),
653
+ { 26: [1, 70] },
654
+ {
655
+ 26: [2, 21],
656
+ 28: [1, 71]
657
+ },
658
+ e(K, [2, 15]),
659
+ e(K, [2, 26]),
660
+ e(K, [2, 27]),
661
+ {
662
+ 11: 59,
663
+ 32: 72,
664
+ 37: 24,
665
+ 38: A,
666
+ 39: j,
667
+ 40: 27,
668
+ 41: M,
669
+ 42: N,
670
+ 43: P,
671
+ 44: F,
672
+ 45: I,
673
+ 46: L,
674
+ 47: R,
675
+ 48: z,
676
+ 49: B,
677
+ 50: V
678
+ },
679
+ e(K, [2, 33]),
680
+ e(K, [2, 19]),
681
+ {
682
+ 25: 73,
683
+ 27: Y
684
+ },
685
+ { 26: [2, 28] },
686
+ { 26: [2, 20] }
687
+ ],
688
+ defaultActions: {
689
+ 8: [2, 1],
690
+ 10: [2, 3],
691
+ 21: [2, 2],
692
+ 72: [2, 28],
693
+ 73: [2, 20]
694
+ },
695
+ parseError: /* @__PURE__ */ __name(function(e, S) {
696
+ if (S.recoverable) this.trace(e);
697
+ else {
698
+ var C = Error(e);
699
+ throw C.hash = S, C;
700
+ }
701
+ }, "parseError"),
702
+ parse: /* @__PURE__ */ __name(function(e) {
703
+ var S = 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: {} };
704
+ for (var R in this.yy) Object.prototype.hasOwnProperty.call(this.yy, R) && (L.yy[R] = this.yy[R]);
705
+ I.setInput(e, L.yy), L.yy.lexer = I, L.yy.parser = this, I.yylloc === void 0 && (I.yylloc = {});
706
+ var z = I.yylloc;
707
+ D.push(z);
708
+ var B = I.options && I.options.ranges;
709
+ typeof L.yy.parseError == "function" ? this.parseError = L.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
710
+ function V(e) {
711
+ w.length -= 2 * e, E.length -= e, D.length -= e;
712
+ }
713
+ __name(V, "popStack");
714
+ function H() {
715
+ var e = T.pop() || I.lex() || P;
716
+ return typeof e != "number" && (e instanceof Array && (T = e, e = T.pop()), e = S.symbols_[e] || e), e;
717
+ }
718
+ __name(H, "lex");
719
+ for (var U, W, G, K, q, J = {}, Y, X, Z, Q;;) {
720
+ 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]) {
721
+ var $ = "";
722
+ for (Y in Q = [], O[G]) this.terminals_[Y] && Y > N && Q.push("'" + this.terminals_[Y] + "'");
723
+ $ = 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($, {
724
+ text: I.match,
725
+ token: this.terminals_[U] || U,
726
+ line: I.yylineno,
727
+ loc: z,
728
+ expected: Q
729
+ });
730
+ }
731
+ if (K[0] instanceof Array && K.length > 1) throw Error("Parse Error: multiple actions possible at state: " + G + ", token: " + U);
732
+ switch (K[0]) {
733
+ case 1:
734
+ 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--);
735
+ break;
736
+ case 2:
737
+ if (X = this.productions_[K[1]][1], J.$ = E[E.length - X], J._$ = {
738
+ first_line: D[D.length - (X || 1)].first_line,
739
+ last_line: D[D.length - 1].last_line,
740
+ first_column: D[D.length - (X || 1)].first_column,
741
+ last_column: D[D.length - 1].last_column
742
+ }, B && (J._$.range = [D[D.length - (X || 1)].range[0], D[D.length - 1].range[1]]), q = this.performAction.apply(J, [
743
+ k,
744
+ j,
745
+ A,
746
+ L.yy,
747
+ K[1],
748
+ E,
749
+ D
750
+ ].concat(F)), q !== void 0) return q;
751
+ 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);
752
+ break;
753
+ case 3: return !0;
754
+ }
755
+ }
756
+ return !0;
757
+ }, "parse")
758
+ };
759
+ X.lexer = /* @__PURE__ */ (function() {
760
+ return {
761
+ EOF: 1,
762
+ parseError: /* @__PURE__ */ __name(function(e, S) {
763
+ if (this.yy.parser) this.yy.parser.parseError(e, S);
764
+ else throw Error(e);
765
+ }, "parseError"),
766
+ setInput: /* @__PURE__ */ __name(function(e, S) {
767
+ 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 = {
768
+ first_line: 1,
769
+ first_column: 0,
770
+ last_line: 1,
771
+ last_column: 0
772
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
773
+ }, "setInput"),
774
+ input: /* @__PURE__ */ __name(function() {
775
+ var e = this._input[0];
776
+ 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;
777
+ }, "input"),
778
+ unput: /* @__PURE__ */ __name(function(e) {
779
+ var S = e.length, C = e.split(/(?:\r\n?|\n)/g);
780
+ this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - S), this.offset -= S;
781
+ var w = this.match.split(/(?:\r\n?|\n)/g);
782
+ 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);
783
+ var T = this.yylloc.range;
784
+ return this.yylloc = {
785
+ first_line: this.yylloc.first_line,
786
+ last_line: this.yylineno + 1,
787
+ first_column: this.yylloc.first_column,
788
+ 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
789
+ }, this.options.ranges && (this.yylloc.range = [T[0], T[0] + this.yyleng - S]), this.yyleng = this.yytext.length, this;
790
+ }, "unput"),
791
+ more: /* @__PURE__ */ __name(function() {
792
+ return this._more = !0, this;
793
+ }, "more"),
794
+ reject: /* @__PURE__ */ __name(function() {
795
+ if (this.options.backtrack_lexer) this._backtrack = !0;
796
+ 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(), {
797
+ text: "",
798
+ token: null,
799
+ line: this.yylineno
800
+ });
801
+ return this;
802
+ }, "reject"),
803
+ less: /* @__PURE__ */ __name(function(e) {
804
+ this.unput(this.match.slice(e));
805
+ }, "less"),
806
+ pastInput: /* @__PURE__ */ __name(function() {
807
+ var e = this.matched.substr(0, this.matched.length - this.match.length);
808
+ return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
809
+ }, "pastInput"),
810
+ upcomingInput: /* @__PURE__ */ __name(function() {
811
+ var e = this.match;
812
+ return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
813
+ }, "upcomingInput"),
814
+ showPosition: /* @__PURE__ */ __name(function() {
815
+ var e = this.pastInput(), S = Array(e.length + 1).join("-");
816
+ return e + this.upcomingInput() + "\n" + S + "^";
817
+ }, "showPosition"),
818
+ test_match: /* @__PURE__ */ __name(function(e, S) {
819
+ var C, w, T;
820
+ if (this.options.backtrack_lexer && (T = {
821
+ yylineno: this.yylineno,
822
+ yylloc: {
823
+ first_line: this.yylloc.first_line,
824
+ last_line: this.last_line,
825
+ first_column: this.yylloc.first_column,
826
+ last_column: this.yylloc.last_column
827
+ },
828
+ yytext: this.yytext,
829
+ match: this.match,
830
+ matches: this.matches,
831
+ matched: this.matched,
832
+ yyleng: this.yyleng,
833
+ offset: this.offset,
834
+ _more: this._more,
835
+ _input: this._input,
836
+ yy: this.yy,
837
+ conditionStack: this.conditionStack.slice(0),
838
+ done: this.done
839
+ }, 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 = {
840
+ first_line: this.yylloc.last_line,
841
+ last_line: this.yylineno + 1,
842
+ first_column: this.yylloc.last_column,
843
+ last_column: w ? w[w.length - 1].length - w[w.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
844
+ }, 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;
845
+ if (this._backtrack) {
846
+ for (var E in T) this[E] = T[E];
847
+ return !1;
848
+ }
849
+ return !1;
850
+ }, "test_match"),
851
+ next: /* @__PURE__ */ __name(function() {
852
+ if (this.done) return this.EOF;
853
+ this._input || (this.done = !0);
854
+ var e, S, C, w;
855
+ this._more || (this.yytext = "", this.match = "");
856
+ 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)) {
857
+ if (S = C, w = E, this.options.backtrack_lexer) {
858
+ if (e = this.test_match(C, T[E]), e !== !1) return e;
859
+ if (this._backtrack) {
860
+ S = !1;
861
+ continue;
862
+ } else return !1;
863
+ } else if (!this.options.flex) break;
864
+ }
865
+ 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(), {
866
+ text: "",
867
+ token: null,
868
+ line: this.yylineno
869
+ });
870
+ }, "next"),
871
+ lex: /* @__PURE__ */ __name(function() {
872
+ return this.next() || this.lex();
873
+ }, "lex"),
874
+ begin: /* @__PURE__ */ __name(function(e) {
875
+ this.conditionStack.push(e);
876
+ }, "begin"),
877
+ popState: /* @__PURE__ */ __name(function() {
878
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
879
+ }, "popState"),
880
+ _currentRules: /* @__PURE__ */ __name(function() {
881
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
882
+ }, "_currentRules"),
883
+ topState: /* @__PURE__ */ __name(function(e) {
884
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
885
+ }, "topState"),
886
+ pushState: /* @__PURE__ */ __name(function(e) {
887
+ this.begin(e);
888
+ }, "pushState"),
889
+ stateStackSize: /* @__PURE__ */ __name(function() {
890
+ return this.conditionStack.length;
891
+ }, "stateStackSize"),
892
+ options: { "case-insensitive": !0 },
893
+ performAction: /* @__PURE__ */ __name(function(e, S, C, w) {
894
+ switch (C) {
895
+ case 0: break;
896
+ case 1: break;
897
+ case 2: return this.popState(), 34;
898
+ case 3: return this.popState(), 34;
899
+ case 4: return 34;
900
+ case 5: break;
901
+ case 6: return 10;
902
+ case 7: return this.pushState("acc_title"), 19;
903
+ case 8: return this.popState(), "acc_title_value";
904
+ case 9: return this.pushState("acc_descr"), 21;
905
+ case 10: return this.popState(), "acc_descr_value";
906
+ case 11:
907
+ this.pushState("acc_descr_multiline");
908
+ break;
909
+ case 12:
910
+ this.popState();
911
+ break;
912
+ case 13: return "acc_descr_multiline_value";
913
+ case 14: return 5;
914
+ case 15: return 5;
915
+ case 16: return 8;
916
+ case 17: return this.pushState("axis_data"), "X_AXIS";
917
+ case 18: return this.pushState("axis_data"), "Y_AXIS";
918
+ case 19: return this.pushState("axis_band_data"), 24;
919
+ case 20: return 31;
920
+ case 21: return this.pushState("data"), 16;
921
+ case 22: return this.pushState("data"), 18;
922
+ case 23: return this.pushState("data_inner"), 24;
923
+ case 24: return 27;
924
+ case 25: return this.popState(), 26;
925
+ case 26:
926
+ this.popState();
927
+ break;
928
+ case 27:
929
+ this.pushState("string");
930
+ break;
931
+ case 28:
932
+ this.popState();
933
+ break;
934
+ case 29: return "STR";
935
+ case 30: return 24;
936
+ case 31: return 26;
937
+ case 32: return 43;
938
+ case 33: return "COLON";
939
+ case 34: return 44;
940
+ case 35: return 28;
941
+ case 36: return 45;
942
+ case 37: return 46;
943
+ case 38: return 48;
944
+ case 39: return 50;
945
+ case 40: return 47;
946
+ case 41: return 41;
947
+ case 42: return 49;
948
+ case 43: return 42;
949
+ case 44: break;
950
+ case 45: return 35;
951
+ case 46: return 36;
952
+ }
953
+ }, "anonymous"),
954
+ rules: [
955
+ /^(?:%%(?!\{)[^\n]*)/i,
956
+ /^(?:[^\}]%%[^\n]*)/i,
957
+ /^(?:(\r?\n))/i,
958
+ /^(?:(\r?\n))/i,
959
+ /^(?:[\n\r]+)/i,
960
+ /^(?:%%[^\n]*)/i,
961
+ /^(?:title\b)/i,
962
+ /^(?:accTitle\s*:\s*)/i,
963
+ /^(?:(?!\n||)*[^\n]*)/i,
964
+ /^(?:accDescr\s*:\s*)/i,
965
+ /^(?:(?!\n||)*[^\n]*)/i,
966
+ /^(?:accDescr\s*\{\s*)/i,
967
+ /^(?:\{)/i,
968
+ /^(?:[^\}]*)/i,
969
+ /^(?:xychart-beta\b)/i,
970
+ /^(?:xychart\b)/i,
971
+ /^(?:(?:vertical|horizontal))/i,
972
+ /^(?:x-axis\b)/i,
973
+ /^(?:y-axis\b)/i,
974
+ /^(?:\[)/i,
975
+ /^(?:-->)/i,
976
+ /^(?:line\b)/i,
977
+ /^(?:bar\b)/i,
978
+ /^(?:\[)/i,
979
+ /^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,
980
+ /^(?:\])/i,
981
+ /^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,
982
+ /^(?:["])/i,
983
+ /^(?:["])/i,
984
+ /^(?:[^"]*)/i,
985
+ /^(?:\[)/i,
986
+ /^(?:\])/i,
987
+ /^(?:[A-Za-z]+)/i,
988
+ /^(?::)/i,
989
+ /^(?:\+)/i,
990
+ /^(?:,)/i,
991
+ /^(?:=)/i,
992
+ /^(?:\*)/i,
993
+ /^(?:#)/i,
994
+ /^(?:[\_])/i,
995
+ /^(?:\.)/i,
996
+ /^(?:&)/i,
997
+ /^(?:-)/i,
998
+ /^(?:[0-9]+)/i,
999
+ /^(?:\s+)/i,
1000
+ /^(?:;)/i,
1001
+ /^(?:$)/i
1002
+ ],
1003
+ conditions: {
1004
+ data_inner: {
1005
+ rules: [
1006
+ 0,
1007
+ 1,
1008
+ 4,
1009
+ 5,
1010
+ 6,
1011
+ 7,
1012
+ 9,
1013
+ 11,
1014
+ 14,
1015
+ 15,
1016
+ 16,
1017
+ 17,
1018
+ 18,
1019
+ 21,
1020
+ 22,
1021
+ 24,
1022
+ 25,
1023
+ 26,
1024
+ 27,
1025
+ 30,
1026
+ 31,
1027
+ 32,
1028
+ 33,
1029
+ 34,
1030
+ 35,
1031
+ 36,
1032
+ 37,
1033
+ 38,
1034
+ 39,
1035
+ 40,
1036
+ 41,
1037
+ 42,
1038
+ 43,
1039
+ 44,
1040
+ 45,
1041
+ 46
1042
+ ],
1043
+ inclusive: !0
1044
+ },
1045
+ data: {
1046
+ rules: [
1047
+ 0,
1048
+ 1,
1049
+ 3,
1050
+ 4,
1051
+ 5,
1052
+ 6,
1053
+ 7,
1054
+ 9,
1055
+ 11,
1056
+ 14,
1057
+ 15,
1058
+ 16,
1059
+ 17,
1060
+ 18,
1061
+ 21,
1062
+ 22,
1063
+ 23,
1064
+ 26,
1065
+ 27,
1066
+ 30,
1067
+ 31,
1068
+ 32,
1069
+ 33,
1070
+ 34,
1071
+ 35,
1072
+ 36,
1073
+ 37,
1074
+ 38,
1075
+ 39,
1076
+ 40,
1077
+ 41,
1078
+ 42,
1079
+ 43,
1080
+ 44,
1081
+ 45,
1082
+ 46
1083
+ ],
1084
+ inclusive: !0
1085
+ },
1086
+ axis_band_data: {
1087
+ rules: [
1088
+ 0,
1089
+ 1,
1090
+ 4,
1091
+ 5,
1092
+ 6,
1093
+ 7,
1094
+ 9,
1095
+ 11,
1096
+ 14,
1097
+ 15,
1098
+ 16,
1099
+ 17,
1100
+ 18,
1101
+ 21,
1102
+ 22,
1103
+ 25,
1104
+ 26,
1105
+ 27,
1106
+ 30,
1107
+ 31,
1108
+ 32,
1109
+ 33,
1110
+ 34,
1111
+ 35,
1112
+ 36,
1113
+ 37,
1114
+ 38,
1115
+ 39,
1116
+ 40,
1117
+ 41,
1118
+ 42,
1119
+ 43,
1120
+ 44,
1121
+ 45,
1122
+ 46
1123
+ ],
1124
+ inclusive: !0
1125
+ },
1126
+ axis_data: {
1127
+ rules: [
1128
+ 0,
1129
+ 1,
1130
+ 2,
1131
+ 4,
1132
+ 5,
1133
+ 6,
1134
+ 7,
1135
+ 9,
1136
+ 11,
1137
+ 14,
1138
+ 15,
1139
+ 16,
1140
+ 17,
1141
+ 18,
1142
+ 19,
1143
+ 20,
1144
+ 21,
1145
+ 22,
1146
+ 24,
1147
+ 26,
1148
+ 27,
1149
+ 30,
1150
+ 31,
1151
+ 32,
1152
+ 33,
1153
+ 34,
1154
+ 35,
1155
+ 36,
1156
+ 37,
1157
+ 38,
1158
+ 39,
1159
+ 40,
1160
+ 41,
1161
+ 42,
1162
+ 43,
1163
+ 44,
1164
+ 45,
1165
+ 46
1166
+ ],
1167
+ inclusive: !0
1168
+ },
1169
+ acc_descr_multiline: {
1170
+ rules: [12, 13],
1171
+ inclusive: !1
1172
+ },
1173
+ acc_descr: {
1174
+ rules: [10],
1175
+ inclusive: !1
1176
+ },
1177
+ acc_title: {
1178
+ rules: [8],
1179
+ inclusive: !1
1180
+ },
1181
+ title: {
1182
+ rules: [],
1183
+ inclusive: !1
1184
+ },
1185
+ md_string: {
1186
+ rules: [],
1187
+ inclusive: !1
1188
+ },
1189
+ string: {
1190
+ rules: [28, 29],
1191
+ inclusive: !1
1192
+ },
1193
+ INITIAL: {
1194
+ rules: [
1195
+ 0,
1196
+ 1,
1197
+ 4,
1198
+ 5,
1199
+ 6,
1200
+ 7,
1201
+ 9,
1202
+ 11,
1203
+ 14,
1204
+ 15,
1205
+ 16,
1206
+ 17,
1207
+ 18,
1208
+ 21,
1209
+ 22,
1210
+ 26,
1211
+ 27,
1212
+ 30,
1213
+ 31,
1214
+ 32,
1215
+ 33,
1216
+ 34,
1217
+ 35,
1218
+ 36,
1219
+ 37,
1220
+ 38,
1221
+ 39,
1222
+ 40,
1223
+ 41,
1224
+ 42,
1225
+ 43,
1226
+ 44,
1227
+ 45,
1228
+ 46
1229
+ ],
1230
+ inclusive: !0
1231
+ }
1232
+ }
1233
+ };
1234
+ })();
1235
+ function Z() {
1236
+ this.yy = {};
1237
+ }
1238
+ return __name(Z, "Parser"), Z.prototype = X, X.Parser = Z, new Z();
1239
+ })();
1240
+ parser.parser = parser;
1241
+ var xychart_default = parser;
1242
+ function isBarPlot(e) {
1243
+ return e.type === "bar";
1244
+ }
1245
+ __name(isBarPlot, "isBarPlot");
1246
+ function isBandAxisData(e) {
1247
+ return e.type === "band";
1248
+ }
1249
+ __name(isBandAxisData, "isBandAxisData");
1250
+ function isLinearAxisData(e) {
1251
+ return e.type === "linear";
1252
+ }
1253
+ __name(isLinearAxisData, "isLinearAxisData");
1254
+ var TextDimensionCalculatorWithFont = class {
1255
+ constructor(e) {
1256
+ this.parentGroup = e;
1257
+ }
1258
+ static #e = __name(this, "TextDimensionCalculatorWithFont");
1259
+ getMaxDimension(e, S) {
1260
+ if (!this.parentGroup) return {
1261
+ width: e.reduce((e, S) => Math.max(S.length, e), 0) * S,
1262
+ height: S
1263
+ };
1264
+ let C = {
1265
+ width: 0,
1266
+ height: 0
1267
+ }, w = this.parentGroup.append("g").attr("visibility", "hidden").attr("font-size", S);
1268
+ for (let T of e) {
1269
+ let e = computeDimensionOfText(w, 1, T), E = e ? e.width : T.length * S, D = e ? e.height : S;
1270
+ C.width = Math.max(C.width, E), C.height = Math.max(C.height, D);
1271
+ }
1272
+ return w.remove(), C;
1273
+ }
1274
+ }, BAR_WIDTH_TO_TICK_WIDTH_RATIO = .7, MAX_OUTER_PADDING_PERCENT_FOR_WRT_LABEL = .2, BaseAxis = class {
1275
+ constructor(e, S, C, w) {
1276
+ this.axisConfig = e, this.title = S, this.textDimensionCalculator = C, this.axisThemeConfig = w, 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 #e = __name(this, "BaseAxis");
1289
+ setRange(e) {
1290
+ 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();
1291
+ }
1292
+ getRange() {
1293
+ return [this.range[0] + this.outerPadding, this.range[1] - this.outerPadding];
1294
+ }
1295
+ setAxisPosition(e) {
1296
+ this.axisPosition = e, this.setRange(this.range);
1297
+ }
1298
+ getTickDistance() {
1299
+ let e = this.getRange();
1300
+ return Math.abs(e[0] - e[1]) / this.getTickValues().length;
1301
+ }
1302
+ getAxisOuterPadding() {
1303
+ return this.outerPadding;
1304
+ }
1305
+ getLabelDimension() {
1306
+ return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map((e) => e.toString()), this.axisConfig.labelFontSize);
1307
+ }
1308
+ recalculateOuterPaddingToDrawBar() {
1309
+ 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();
1310
+ }
1311
+ calculateSpaceIfDrawnHorizontally(e) {
1312
+ let S = e.height;
1313
+ if (this.axisConfig.showAxisLine && S > this.axisConfig.axisLineWidth && (S -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
1314
+ let C = this.getLabelDimension(), w = MAX_OUTER_PADDING_PERCENT_FOR_WRT_LABEL * e.width;
1315
+ this.outerPadding = Math.min(C.width / 2, w);
1316
+ let T = C.height + this.axisConfig.labelPadding * 2;
1317
+ this.labelTextHeight = C.height, T <= S && (S -= T, this.showLabel = !0);
1318
+ }
1319
+ if (this.axisConfig.showTick && S >= this.axisConfig.tickLength && (this.showTick = !0, S -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
1320
+ let e = this.textDimensionCalculator.getMaxDimension([this.title], this.axisConfig.titleFontSize), C = e.height + this.axisConfig.titlePadding * 2;
1321
+ this.titleTextHeight = e.height, C <= S && (S -= C, this.showTitle = !0);
1322
+ }
1323
+ this.boundingRect.width = e.width, this.boundingRect.height = e.height - S;
1324
+ }
1325
+ calculateSpaceIfDrawnVertical(e) {
1326
+ let S = e.width;
1327
+ if (this.axisConfig.showAxisLine && S > this.axisConfig.axisLineWidth && (S -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
1328
+ let C = this.getLabelDimension(), w = MAX_OUTER_PADDING_PERCENT_FOR_WRT_LABEL * e.height;
1329
+ this.outerPadding = Math.min(C.height / 2, w);
1330
+ let T = C.width + this.axisConfig.labelPadding * 2;
1331
+ T <= S && (S -= T, this.showLabel = !0);
1332
+ }
1333
+ if (this.axisConfig.showTick && S >= this.axisConfig.tickLength && (this.showTick = !0, S -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
1334
+ let e = this.textDimensionCalculator.getMaxDimension([this.title], this.axisConfig.titleFontSize), C = e.height + this.axisConfig.titlePadding * 2;
1335
+ this.titleTextHeight = e.height, C <= S && (S -= C, this.showTitle = !0);
1336
+ }
1337
+ this.boundingRect.width = e.width - S, this.boundingRect.height = e.height;
1338
+ }
1339
+ calculateSpace(e) {
1340
+ return this.axisPosition === "left" || this.axisPosition === "right" ? this.calculateSpaceIfDrawnVertical(e) : this.calculateSpaceIfDrawnHorizontally(e), this.recalculateScale(), {
1341
+ width: this.boundingRect.width,
1342
+ height: this.boundingRect.height
1343
+ };
1344
+ }
1345
+ setBoundingBoxXY(e) {
1346
+ this.boundingRect.x = e.x, this.boundingRect.y = e.y;
1347
+ }
1348
+ getDrawableElementsForLeftAxis() {
1349
+ let e = [];
1350
+ if (this.showAxisLine) {
1351
+ let S = this.boundingRect.x + this.boundingRect.width - this.axisConfig.axisLineWidth / 2;
1352
+ e.push({
1353
+ type: "path",
1354
+ groupTexts: ["left-axis", "axisl-line"],
1355
+ data: [{
1356
+ path: `M ${S},${this.boundingRect.y} L ${S},${this.boundingRect.y + this.boundingRect.height} `,
1357
+ strokeFill: this.axisThemeConfig.axisLineColor,
1358
+ strokeWidth: this.axisConfig.axisLineWidth
1359
+ }]
1360
+ });
1361
+ }
1362
+ if (this.showLabel && e.push({
1363
+ type: "text",
1364
+ groupTexts: ["left-axis", "label"],
1365
+ data: this.getTickValues().map((e) => ({
1366
+ text: e.toString(),
1367
+ 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),
1368
+ y: this.getScaleValue(e),
1369
+ fill: this.axisThemeConfig.labelColor,
1370
+ fontSize: this.axisConfig.labelFontSize,
1371
+ rotation: 0,
1372
+ verticalPos: "middle",
1373
+ horizontalPos: "right"
1374
+ }))
1375
+ }), this.showTick) {
1376
+ let S = this.boundingRect.x + this.boundingRect.width - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0);
1377
+ e.push({
1378
+ type: "path",
1379
+ groupTexts: ["left-axis", "ticks"],
1380
+ data: this.getTickValues().map((e) => ({
1381
+ path: `M ${S},${this.getScaleValue(e)} L ${S - this.axisConfig.tickLength},${this.getScaleValue(e)}`,
1382
+ strokeFill: this.axisThemeConfig.tickColor,
1383
+ strokeWidth: this.axisConfig.tickWidth
1384
+ }))
1385
+ });
1386
+ }
1387
+ return this.showTitle && e.push({
1388
+ type: "text",
1389
+ groupTexts: ["left-axis", "title"],
1390
+ data: [{
1391
+ text: this.title,
1392
+ x: this.boundingRect.x + this.axisConfig.titlePadding,
1393
+ y: this.boundingRect.y + this.boundingRect.height / 2,
1394
+ fill: this.axisThemeConfig.titleColor,
1395
+ fontSize: this.axisConfig.titleFontSize,
1396
+ rotation: 270,
1397
+ verticalPos: "top",
1398
+ horizontalPos: "center"
1399
+ }]
1400
+ }), e;
1401
+ }
1402
+ getDrawableElementsForBottomAxis() {
1403
+ let e = [];
1404
+ if (this.showAxisLine) {
1405
+ let S = this.boundingRect.y + this.axisConfig.axisLineWidth / 2;
1406
+ e.push({
1407
+ type: "path",
1408
+ groupTexts: ["bottom-axis", "axis-line"],
1409
+ data: [{
1410
+ path: `M ${this.boundingRect.x},${S} L ${this.boundingRect.x + this.boundingRect.width},${S}`,
1411
+ strokeFill: this.axisThemeConfig.axisLineColor,
1412
+ strokeWidth: this.axisConfig.axisLineWidth
1413
+ }]
1414
+ });
1415
+ }
1416
+ if (this.showLabel && e.push({
1417
+ type: "text",
1418
+ groupTexts: ["bottom-axis", "label"],
1419
+ data: this.getTickValues().map((e) => ({
1420
+ text: e.toString(),
1421
+ x: this.getScaleValue(e),
1422
+ y: this.boundingRect.y + this.axisConfig.labelPadding + (this.showTick ? this.axisConfig.tickLength : 0) + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0),
1423
+ fill: this.axisThemeConfig.labelColor,
1424
+ fontSize: this.axisConfig.labelFontSize,
1425
+ rotation: 0,
1426
+ verticalPos: "top",
1427
+ horizontalPos: "center"
1428
+ }))
1429
+ }), this.showTick) {
1430
+ let S = this.boundingRect.y + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0);
1431
+ e.push({
1432
+ type: "path",
1433
+ groupTexts: ["bottom-axis", "ticks"],
1434
+ data: this.getTickValues().map((e) => ({
1435
+ path: `M ${this.getScaleValue(e)},${S} L ${this.getScaleValue(e)},${S + this.axisConfig.tickLength}`,
1436
+ strokeFill: this.axisThemeConfig.tickColor,
1437
+ strokeWidth: this.axisConfig.tickWidth
1438
+ }))
1439
+ });
1440
+ }
1441
+ return this.showTitle && e.push({
1442
+ type: "text",
1443
+ groupTexts: ["bottom-axis", "title"],
1444
+ data: [{
1445
+ text: this.title,
1446
+ x: this.range[0] + (this.range[1] - this.range[0]) / 2,
1447
+ y: this.boundingRect.y + this.boundingRect.height - this.axisConfig.titlePadding - this.titleTextHeight,
1448
+ fill: this.axisThemeConfig.titleColor,
1449
+ fontSize: this.axisConfig.titleFontSize,
1450
+ rotation: 0,
1451
+ verticalPos: "top",
1452
+ horizontalPos: "center"
1453
+ }]
1454
+ }), e;
1455
+ }
1456
+ getDrawableElementsForTopAxis() {
1457
+ let e = [];
1458
+ if (this.showAxisLine) {
1459
+ let S = this.boundingRect.y + this.boundingRect.height - this.axisConfig.axisLineWidth / 2;
1460
+ e.push({
1461
+ type: "path",
1462
+ groupTexts: ["top-axis", "axis-line"],
1463
+ data: [{
1464
+ path: `M ${this.boundingRect.x},${S} L ${this.boundingRect.x + this.boundingRect.width},${S}`,
1465
+ strokeFill: this.axisThemeConfig.axisLineColor,
1466
+ strokeWidth: this.axisConfig.axisLineWidth
1467
+ }]
1468
+ });
1469
+ }
1470
+ if (this.showLabel && e.push({
1471
+ type: "text",
1472
+ groupTexts: ["top-axis", "label"],
1473
+ data: this.getTickValues().map((e) => ({
1474
+ text: e.toString(),
1475
+ x: this.getScaleValue(e),
1476
+ y: this.boundingRect.y + (this.showTitle ? this.titleTextHeight + this.axisConfig.titlePadding * 2 : 0) + this.axisConfig.labelPadding,
1477
+ fill: this.axisThemeConfig.labelColor,
1478
+ fontSize: this.axisConfig.labelFontSize,
1479
+ rotation: 0,
1480
+ verticalPos: "top",
1481
+ horizontalPos: "center"
1482
+ }))
1483
+ }), this.showTick) {
1484
+ let S = this.boundingRect.y;
1485
+ e.push({
1486
+ type: "path",
1487
+ groupTexts: ["top-axis", "ticks"],
1488
+ data: this.getTickValues().map((e) => ({
1489
+ 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)}`,
1490
+ strokeFill: this.axisThemeConfig.tickColor,
1491
+ strokeWidth: this.axisConfig.tickWidth
1492
+ }))
1493
+ });
1494
+ }
1495
+ return this.showTitle && e.push({
1496
+ type: "text",
1497
+ groupTexts: ["top-axis", "title"],
1498
+ data: [{
1499
+ text: this.title,
1500
+ x: this.boundingRect.x + this.boundingRect.width / 2,
1501
+ y: this.boundingRect.y + this.axisConfig.titlePadding,
1502
+ fill: this.axisThemeConfig.titleColor,
1503
+ fontSize: this.axisConfig.titleFontSize,
1504
+ rotation: 0,
1505
+ verticalPos: "top",
1506
+ horizontalPos: "center"
1507
+ }]
1508
+ }), e;
1509
+ }
1510
+ getDrawableElements() {
1511
+ if (this.axisPosition === "left") return this.getDrawableElementsForLeftAxis();
1512
+ if (this.axisPosition === "right") throw Error("Drawing of right axis is not implemented");
1513
+ return this.axisPosition === "bottom" ? this.getDrawableElementsForBottomAxis() : this.axisPosition === "top" ? this.getDrawableElementsForTopAxis() : [];
1514
+ }
1515
+ }, BandAxis = class extends BaseAxis {
1516
+ static #e = __name(this, "BandAxis");
1517
+ constructor(e, S, C, w, T) {
1518
+ super(e, w, T, S), this.categories = C, this.scale = band().domain(this.categories).range(this.getRange());
1519
+ }
1520
+ setRange(e) {
1521
+ super.setRange(e);
1522
+ }
1523
+ recalculateScale() {
1524
+ 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());
1525
+ }
1526
+ getTickValues() {
1527
+ return this.categories;
1528
+ }
1529
+ getScaleValue(e) {
1530
+ return this.scale(e) ?? this.getRange()[0];
1531
+ }
1532
+ }, LinearAxis = class extends BaseAxis {
1533
+ static #e = __name(this, "LinearAxis");
1534
+ constructor(e, S, C, w, T) {
1535
+ super(e, w, T, S), this.domain = C, this.scale = linear().domain(this.domain).range(this.getRange());
1536
+ }
1537
+ getTickValues() {
1538
+ return this.scale.ticks();
1539
+ }
1540
+ recalculateScale() {
1541
+ let e = [...this.domain];
1542
+ this.axisPosition === "left" && e.reverse(), this.scale = linear().domain(e).range(this.getRange());
1543
+ }
1544
+ getScaleValue(e) {
1545
+ return this.scale(e);
1546
+ }
1547
+ };
1548
+ function getAxis(e, S, C, w) {
1549
+ let T = new TextDimensionCalculatorWithFont(w);
1550
+ return isBandAxisData(e) ? new BandAxis(S, C, e.categories, e.title, T) : new LinearAxis(S, C, [e.min, e.max], e.title, T);
1551
+ }
1552
+ __name(getAxis, "getAxis");
1553
+ var ChartTitle = class {
1554
+ constructor(e, S, C, w) {
1555
+ this.textDimensionCalculator = e, this.chartConfig = S, this.chartData = C, this.chartThemeConfig = w, this.boundingRect = {
1556
+ x: 0,
1557
+ y: 0,
1558
+ width: 0,
1559
+ height: 0
1560
+ }, this.showChartTitle = !1;
1561
+ }
1562
+ static #e = __name(this, "ChartTitle");
1563
+ setBoundingBoxXY(e) {
1564
+ this.boundingRect.x = e.x, this.boundingRect.y = e.y;
1565
+ }
1566
+ calculateSpace(e) {
1567
+ 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;
1568
+ return S.width <= C && S.height <= w && this.chartConfig.showTitle && this.chartData.title && (this.boundingRect.width = C, this.boundingRect.height = w, this.showChartTitle = !0), {
1569
+ width: this.boundingRect.width,
1570
+ height: this.boundingRect.height
1571
+ };
1572
+ }
1573
+ getDrawableElements() {
1574
+ let e = [];
1575
+ return this.showChartTitle && e.push({
1576
+ groupTexts: ["chart-title"],
1577
+ type: "text",
1578
+ data: [{
1579
+ fontSize: this.chartConfig.titleFontSize,
1580
+ text: this.chartData.title,
1581
+ verticalPos: "middle",
1582
+ horizontalPos: "center",
1583
+ x: this.boundingRect.x + this.boundingRect.width / 2,
1584
+ y: this.boundingRect.y + this.boundingRect.height / 2,
1585
+ fill: this.chartThemeConfig.titleColor,
1586
+ rotation: 0
1587
+ }]
1588
+ }), e;
1589
+ }
1590
+ };
1591
+ function getChartTitleComponent(e, S, C, w) {
1592
+ return new ChartTitle(new TextDimensionCalculatorWithFont(w), e, S, C);
1593
+ }
1594
+ __name(getChartTitleComponent, "getChartTitleComponent");
1595
+ var LinePlot = class {
1596
+ constructor(e, S, C, w, T) {
1597
+ this.plotData = e, this.xAxis = S, this.yAxis = C, this.orientation = w, this.plotIndex = T;
1598
+ }
1599
+ static #e = __name(this, "LinePlot");
1600
+ getDrawableElement() {
1601
+ let e = this.plotData.data.map((e) => [this.xAxis.getScaleValue(e[0]), this.yAxis.getScaleValue(e[1])]), S;
1602
+ 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 ? [{
1603
+ groupTexts: ["plot", `line-plot-${this.plotIndex}`],
1604
+ type: "path",
1605
+ data: [{
1606
+ path: S,
1607
+ strokeFill: this.plotData.strokeFill,
1608
+ strokeWidth: this.plotData.strokeWidth
1609
+ }]
1610
+ }] : [];
1611
+ }
1612
+ }, BarPlot = class {
1613
+ constructor(e, S, C, w, T, E) {
1614
+ this.barData = e, this.boundingRect = S, this.xAxis = C, this.yAxis = w, this.orientation = T, this.plotIndex = E;
1615
+ }
1616
+ static #e = __name(this, "BarPlot");
1617
+ getDrawableElement() {
1618
+ 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;
1619
+ return this.orientation === "horizontal" ? [{
1620
+ groupTexts: ["plot", `bar-plot-${this.plotIndex}`],
1621
+ type: "rect",
1622
+ data: e.map((e) => ({
1623
+ x: this.boundingRect.x,
1624
+ y: e[0] - C,
1625
+ height: S,
1626
+ width: e[1] - this.boundingRect.x,
1627
+ fill: this.barData.fill,
1628
+ strokeWidth: 0,
1629
+ strokeFill: this.barData.fill
1630
+ }))
1631
+ }] : [{
1632
+ groupTexts: ["plot", `bar-plot-${this.plotIndex}`],
1633
+ type: "rect",
1634
+ data: e.map((e) => ({
1635
+ x: e[0] - C,
1636
+ y: e[1],
1637
+ width: S,
1638
+ height: this.boundingRect.y + this.boundingRect.height - e[1],
1639
+ fill: this.barData.fill,
1640
+ strokeWidth: 0,
1641
+ strokeFill: this.barData.fill
1642
+ }))
1643
+ }];
1644
+ }
1645
+ }, BasePlot = class {
1646
+ constructor(e, S, C) {
1647
+ this.chartConfig = e, this.chartData = S, this.chartThemeConfig = C, this.boundingRect = {
1648
+ x: 0,
1649
+ y: 0,
1650
+ width: 0,
1651
+ height: 0
1652
+ };
1653
+ }
1654
+ static #e = __name(this, "BasePlot");
1655
+ setAxes(e, S) {
1656
+ this.xAxis = e, this.yAxis = S;
1657
+ }
1658
+ setBoundingBoxXY(e) {
1659
+ this.boundingRect.x = e.x, this.boundingRect.y = e.y;
1660
+ }
1661
+ calculateSpace(e) {
1662
+ return this.boundingRect.width = e.width, this.boundingRect.height = e.height, {
1663
+ width: this.boundingRect.width,
1664
+ height: this.boundingRect.height
1665
+ };
1666
+ }
1667
+ getDrawableElements() {
1668
+ if (!(this.xAxis && this.yAxis)) throw Error("Axes must be passed to render Plots");
1669
+ let e = [];
1670
+ for (let [S, C] of this.chartData.plots.entries()) switch (C.type) {
1671
+ case "line":
1672
+ {
1673
+ let w = new LinePlot(C, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, S);
1674
+ e.push(...w.getDrawableElement());
1675
+ }
1676
+ break;
1677
+ case "bar":
1678
+ {
1679
+ let w = new BarPlot(C, this.boundingRect, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, S);
1680
+ e.push(...w.getDrawableElement());
1681
+ }
1682
+ break;
1683
+ }
1684
+ return e;
1685
+ }
1686
+ };
1687
+ function getPlotComponent(e, S, C) {
1688
+ return new BasePlot(e, S, C);
1689
+ }
1690
+ __name(getPlotComponent, "getPlotComponent");
1691
+ var Orchestrator = class {
1692
+ constructor(e, S, C, w) {
1693
+ this.chartConfig = e, this.chartData = S, this.componentStore = {
1694
+ title: getChartTitleComponent(e, S, C, w),
1695
+ plot: getPlotComponent(e, S, C),
1696
+ xAxis: getAxis(S.xAxis, e.xAxis, {
1697
+ titleColor: C.xAxisTitleColor,
1698
+ labelColor: C.xAxisLabelColor,
1699
+ tickColor: C.xAxisTickColor,
1700
+ axisLineColor: C.xAxisLineColor
1701
+ }, w),
1702
+ yAxis: getAxis(S.yAxis, e.yAxis, {
1703
+ titleColor: C.yAxisTitleColor,
1704
+ labelColor: C.yAxisLabelColor,
1705
+ tickColor: C.yAxisTickColor,
1706
+ axisLineColor: C.yAxisLineColor
1707
+ }, w)
1708
+ };
1709
+ }
1710
+ static #e = __name(this, "Orchestrator");
1711
+ calculateVerticalSpace() {
1712
+ 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({
1713
+ width: T,
1714
+ height: E
1715
+ });
1716
+ e -= D.width, S -= D.height, D = this.componentStore.title.calculateSpace({
1717
+ width: this.chartConfig.width,
1718
+ height: S
1719
+ }), w = D.height, S -= D.height, this.componentStore.xAxis.setAxisPosition("bottom"), D = this.componentStore.xAxis.calculateSpace({
1720
+ width: e,
1721
+ height: S
1722
+ }), S -= D.height, this.componentStore.yAxis.setAxisPosition("left"), D = this.componentStore.yAxis.calculateSpace({
1723
+ width: e,
1724
+ height: S
1725
+ }), C = D.width, e -= D.width, e > 0 && (T += e, e = 0), S > 0 && (E += S, S = 0), this.componentStore.plot.calculateSpace({
1726
+ width: T,
1727
+ height: E
1728
+ }), this.componentStore.plot.setBoundingBoxXY({
1729
+ x: C,
1730
+ y: w
1731
+ }), this.componentStore.xAxis.setRange([C, C + T]), this.componentStore.xAxis.setBoundingBoxXY({
1732
+ x: C,
1733
+ y: w + E
1734
+ }), this.componentStore.yAxis.setRange([w, w + E]), this.componentStore.yAxis.setBoundingBoxXY({
1735
+ x: 0,
1736
+ y: w
1737
+ }), this.chartData.plots.some((e) => isBarPlot(e)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
1738
+ }
1739
+ calculateHorizontalSpace() {
1740
+ 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({
1741
+ width: E,
1742
+ height: D
1743
+ });
1744
+ e -= O.width, S -= O.height, O = this.componentStore.title.calculateSpace({
1745
+ width: this.chartConfig.width,
1746
+ height: S
1747
+ }), C = O.height, S -= O.height, this.componentStore.xAxis.setAxisPosition("left"), O = this.componentStore.xAxis.calculateSpace({
1748
+ width: e,
1749
+ height: S
1750
+ }), e -= O.width, w = O.width, this.componentStore.yAxis.setAxisPosition("top"), O = this.componentStore.yAxis.calculateSpace({
1751
+ width: e,
1752
+ height: S
1753
+ }), S -= O.height, T = C + O.height, e > 0 && (E += e, e = 0), S > 0 && (D += S, S = 0), this.componentStore.plot.calculateSpace({
1754
+ width: E,
1755
+ height: D
1756
+ }), this.componentStore.plot.setBoundingBoxXY({
1757
+ x: w,
1758
+ y: T
1759
+ }), this.componentStore.yAxis.setRange([w, w + E]), this.componentStore.yAxis.setBoundingBoxXY({
1760
+ x: w,
1761
+ y: C
1762
+ }), this.componentStore.xAxis.setRange([T, T + D]), this.componentStore.xAxis.setBoundingBoxXY({
1763
+ x: 0,
1764
+ y: T
1765
+ }), this.chartData.plots.some((e) => isBarPlot(e)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
1766
+ }
1767
+ calculateSpace() {
1768
+ this.chartConfig.chartOrientation === "horizontal" ? this.calculateHorizontalSpace() : this.calculateVerticalSpace();
1769
+ }
1770
+ getDrawableElement() {
1771
+ this.calculateSpace();
1772
+ let e = [];
1773
+ this.componentStore.plot.setAxes(this.componentStore.xAxis, this.componentStore.yAxis);
1774
+ for (let S of Object.values(this.componentStore)) e.push(...S.getDrawableElements());
1775
+ return e;
1776
+ }
1777
+ }, XYChartBuilder = class {
1778
+ static #e = __name(this, "XYChartBuilder");
1779
+ static build(e, S, C, w) {
1780
+ return new Orchestrator(e, S, C, w).getDrawableElement();
1781
+ }
1782
+ }, plotIndex = 0, tmpSVGGroup, xyChartConfig = getChartDefaultConfig(), xyChartThemeConfig = getChartDefaultThemeConfig(), xyChartData = getChartDefaultData(), plotColorPalette = xyChartThemeConfig.plotColorPalette.split(",").map((e) => e.trim()), hasSetXAxis = !1, hasSetYAxis = !1;
1783
+ function getChartDefaultThemeConfig() {
1784
+ let S = getThemeVariables3(), C = getConfig();
1785
+ return cleanAndMerge(S.xyChart, C.themeVariables.xyChart);
1786
+ }
1787
+ __name(getChartDefaultThemeConfig, "getChartDefaultThemeConfig");
1788
+ function getChartDefaultConfig() {
1789
+ let S = getConfig();
1790
+ return cleanAndMerge(defaultConfig_default.xyChart, S.xyChart);
1791
+ }
1792
+ __name(getChartDefaultConfig, "getChartDefaultConfig");
1793
+ function getChartDefaultData() {
1794
+ return {
1795
+ yAxis: {
1796
+ type: "linear",
1797
+ title: "",
1798
+ min: Infinity,
1799
+ max: -Infinity
1800
+ },
1801
+ xAxis: {
1802
+ type: "band",
1803
+ title: "",
1804
+ categories: []
1805
+ },
1806
+ title: "",
1807
+ plots: []
1808
+ };
1809
+ }
1810
+ __name(getChartDefaultData, "getChartDefaultData");
1811
+ function textSanitizer(e) {
1812
+ let S = getConfig();
1813
+ return sanitizeText(e.trim(), S);
1814
+ }
1815
+ __name(textSanitizer, "textSanitizer");
1816
+ function setTmpSVGG(e) {
1817
+ tmpSVGGroup = e;
1818
+ }
1819
+ __name(setTmpSVGG, "setTmpSVGG");
1820
+ function setOrientation(e) {
1821
+ e === "horizontal" ? xyChartConfig.chartOrientation = "horizontal" : xyChartConfig.chartOrientation = "vertical";
1822
+ }
1823
+ __name(setOrientation, "setOrientation");
1824
+ function setXAxisTitle(e) {
1825
+ xyChartData.xAxis.title = textSanitizer(e.text);
1826
+ }
1827
+ __name(setXAxisTitle, "setXAxisTitle");
1828
+ function setXAxisRangeData(e, S) {
1829
+ xyChartData.xAxis = {
1830
+ type: "linear",
1831
+ title: xyChartData.xAxis.title,
1832
+ min: e,
1833
+ max: S
1834
+ }, hasSetXAxis = !0;
1835
+ }
1836
+ __name(setXAxisRangeData, "setXAxisRangeData");
1837
+ function setXAxisBand(e) {
1838
+ xyChartData.xAxis = {
1839
+ type: "band",
1840
+ title: xyChartData.xAxis.title,
1841
+ categories: e.map((e) => textSanitizer(e.text))
1842
+ }, hasSetXAxis = !0;
1843
+ }
1844
+ __name(setXAxisBand, "setXAxisBand");
1845
+ function setYAxisTitle(e) {
1846
+ xyChartData.yAxis.title = textSanitizer(e.text);
1847
+ }
1848
+ __name(setYAxisTitle, "setYAxisTitle");
1849
+ function setYAxisRangeData(e, S) {
1850
+ xyChartData.yAxis = {
1851
+ type: "linear",
1852
+ title: xyChartData.yAxis.title,
1853
+ min: e,
1854
+ max: S
1855
+ }, hasSetYAxis = !0;
1856
+ }
1857
+ __name(setYAxisRangeData, "setYAxisRangeData");
1858
+ function setYAxisRangeFromPlotData(e) {
1859
+ 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;
1860
+ xyChartData.yAxis = {
1861
+ type: "linear",
1862
+ title: xyChartData.yAxis.title,
1863
+ min: Math.min(w, S),
1864
+ max: Math.max(T, C)
1865
+ };
1866
+ }
1867
+ __name(setYAxisRangeFromPlotData, "setYAxisRangeFromPlotData");
1868
+ function transformDataWithoutCategory(e) {
1869
+ let S = [];
1870
+ if (e.length === 0) return S;
1871
+ if (!hasSetXAxis) {
1872
+ let S = isLinearAxisData(xyChartData.xAxis) ? xyChartData.xAxis.min : Infinity, C = isLinearAxisData(xyChartData.xAxis) ? xyChartData.xAxis.max : -Infinity;
1873
+ setXAxisRangeData(Math.min(S, 1), Math.max(C, e.length));
1874
+ }
1875
+ if (hasSetYAxis || setYAxisRangeFromPlotData(e), isBandAxisData(xyChartData.xAxis) && (S = xyChartData.xAxis.categories.map((S, C) => [S, e[C]])), isLinearAxisData(xyChartData.xAxis)) {
1876
+ let C = xyChartData.xAxis.min, w = xyChartData.xAxis.max, T = (w - C) / (e.length - 1), E = [];
1877
+ for (let e = C; e <= w; e += T) E.push(`${e}`);
1878
+ S = E.map((S, C) => [S, e[C]]);
1879
+ }
1880
+ return S;
1881
+ }
1882
+ __name(transformDataWithoutCategory, "transformDataWithoutCategory");
1883
+ function getPlotColorFromPalette(e) {
1884
+ return plotColorPalette[e === 0 ? 0 : e % plotColorPalette.length];
1885
+ }
1886
+ __name(getPlotColorFromPalette, "getPlotColorFromPalette");
1887
+ function setLineData(e, S) {
1888
+ let C = transformDataWithoutCategory(S);
1889
+ xyChartData.plots.push({
1890
+ type: "line",
1891
+ strokeFill: getPlotColorFromPalette(plotIndex),
1892
+ strokeWidth: 2,
1893
+ data: C
1894
+ }), plotIndex++;
1895
+ }
1896
+ __name(setLineData, "setLineData");
1897
+ function setBarData(e, S) {
1898
+ let C = transformDataWithoutCategory(S);
1899
+ xyChartData.plots.push({
1900
+ type: "bar",
1901
+ fill: getPlotColorFromPalette(plotIndex),
1902
+ data: C
1903
+ }), plotIndex++;
1904
+ }
1905
+ __name(setBarData, "setBarData");
1906
+ function getDrawableElem() {
1907
+ if (xyChartData.plots.length === 0) throw Error("No Plot to render, please provide a plot with some data");
1908
+ return xyChartData.title = getDiagramTitle(), XYChartBuilder.build(xyChartConfig, xyChartData, xyChartThemeConfig, tmpSVGGroup);
1909
+ }
1910
+ __name(getDrawableElem, "getDrawableElem");
1911
+ function getChartThemeConfig() {
1912
+ return xyChartThemeConfig;
1913
+ }
1914
+ __name(getChartThemeConfig, "getChartThemeConfig");
1915
+ function getChartConfig() {
1916
+ return xyChartConfig;
1917
+ }
1918
+ __name(getChartConfig, "getChartConfig");
1919
+ function getXYChartData() {
1920
+ return xyChartData;
1921
+ }
1922
+ __name(getXYChartData, "getXYChartData");
1923
+ var diagram = {
1924
+ parser: xychart_default,
1925
+ db: {
1926
+ getDrawableElem,
1927
+ clear: /* @__PURE__ */ __name(function() {
1928
+ clear(), plotIndex = 0, xyChartConfig = getChartDefaultConfig(), xyChartData = getChartDefaultData(), xyChartThemeConfig = getChartDefaultThemeConfig(), plotColorPalette = xyChartThemeConfig.plotColorPalette.split(",").map((e) => e.trim()), hasSetXAxis = !1, hasSetYAxis = !1;
1929
+ }, "clear"),
1930
+ setAccTitle,
1931
+ getAccTitle,
1932
+ setDiagramTitle,
1933
+ getDiagramTitle,
1934
+ getAccDescription,
1935
+ setAccDescription,
1936
+ setOrientation,
1937
+ setXAxisTitle,
1938
+ setXAxisRangeData,
1939
+ setXAxisBand,
1940
+ setYAxisTitle,
1941
+ setYAxisRangeData,
1942
+ setLineData,
1943
+ setBarData,
1944
+ setTmpSVGG,
1945
+ getChartThemeConfig,
1946
+ getChartConfig,
1947
+ getXYChartData
1948
+ },
1949
+ renderer: { draw: /* @__PURE__ */ __name((e, w, T, E) => {
1950
+ let D = E.db, O = D.getChartThemeConfig(), k = D.getChartConfig(), A = D.getXYChartData().plots[0].data.map((e) => e[1]);
1951
+ function M(e) {
1952
+ return e === "top" ? "text-before-edge" : "middle";
1953
+ }
1954
+ __name(M, "getDominantBaseLine");
1955
+ function N(e) {
1956
+ return e === "left" ? "start" : e === "right" ? "end" : "middle";
1957
+ }
1958
+ __name(N, "getTextAnchor");
1959
+ function P(e) {
1960
+ return `translate(${e.x}, ${e.y}) rotate(${e.rotation || 0})`;
1961
+ }
1962
+ __name(P, "getTextTransformation"), log.debug("Rendering xychart chart\n" + e);
1963
+ let F = selectSvgElement(w), I = F.append("g").attr("class", "main"), L = I.append("rect").attr("width", k.width).attr("height", k.height).attr("class", "background");
1964
+ configureSvgSize(F, k.height, k.width, !0), F.attr("viewBox", `0 0 ${k.width} ${k.height}`), L.attr("fill", O.backgroundColor), D.setTmpSVGG(F.append("g").attr("class", "mermaid-tmp-group"));
1965
+ let R = D.getDrawableElem(), z = {};
1966
+ function V(e) {
1967
+ let S = I, C = "";
1968
+ for (let [w] of e.entries()) {
1969
+ let T = I;
1970
+ w > 0 && z[C] && (T = z[C]), C += e[w], S = z[C], S ||= z[C] = T.append("g").attr("class", e[w]);
1971
+ }
1972
+ return S;
1973
+ }
1974
+ __name(V, "getGroup");
1975
+ for (let e of R) {
1976
+ if (e.data.length === 0) continue;
1977
+ let S = V(e.groupTexts);
1978
+ switch (e.type) {
1979
+ case "rect":
1980
+ if (S.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), k.showDataLabel) if (k.chartOrientation === "horizontal") {
1981
+ let w = function(e, S) {
1982
+ let { data: C, label: w } = e;
1983
+ return S * w.length * T <= C.width - 10;
1984
+ };
1985
+ __name(w, "fitsHorizontally");
1986
+ let T = .7, E = e.data.map((e, S) => ({
1987
+ data: e,
1988
+ label: A[S].toString()
1989
+ })).filter((e) => e.data.width > 0 && e.data.height > 0), D = E.map((e) => {
1990
+ let { data: S } = e, C = S.height * .7;
1991
+ for (; !w(e, C) && C > 0;) --C;
1992
+ return C;
1993
+ }), O = Math.floor(Math.min(...D));
1994
+ S.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);
1995
+ } else {
1996
+ let w = function(e, S, C) {
1997
+ 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;
1998
+ return A && j;
1999
+ };
2000
+ __name(w, "fitsInBar");
2001
+ let T = e.data.map((e, S) => ({
2002
+ data: e,
2003
+ label: A[S].toString()
2004
+ })).filter((e) => e.data.width > 0 && e.data.height > 0), E = T.map((e) => {
2005
+ let { data: S, label: C } = e, T = S.width / (C.length * .7);
2006
+ for (; !w(e, T, 10) && T > 0;) --T;
2007
+ return T;
2008
+ }), D = Math.floor(Math.min(...E));
2009
+ S.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);
2010
+ }
2011
+ break;
2012
+ case "text":
2013
+ S.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) => M(e.verticalPos)).attr("text-anchor", (e) => N(e.horizontalPos)).attr("transform", (e) => P(e)).text((e) => e.text);
2014
+ break;
2015
+ case "path":
2016
+ S.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);
2017
+ break;
2018
+ }
2019
+ }
2020
+ }, "draw") }
2021
+ };
2022
+ export { diagram };