@leanspec/ui 0.2.23 → 0.2.24

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 (867) hide show
  1. package/README.md +1 -1
  2. package/dist/_baseUniq-0KC2LwTU.js +477 -0
  3. package/dist/arc-BF3pCZeb.js +83 -0
  4. package/dist/architecture-U656AL7Q-Dvz3aEBf.js +5 -0
  5. package/dist/architectureDiagram-VXUJARFQ-DUvgrr6M.js +4661 -0
  6. package/dist/assets/_baseUniq-zaVu3d-8.js +1 -0
  7. package/dist/assets/angular-html-CU67Zn6k.js +1 -0
  8. package/dist/assets/angular-ts-BwZT4LLn.js +1 -0
  9. package/dist/assets/apl-dKokRX4l.js +1 -0
  10. package/dist/assets/arc-CNsbs1Hc.js +1 -0
  11. package/dist/assets/architectureDiagram-VXUJARFQ-CNRNXzWH.js +36 -0
  12. package/dist/assets/astro-CbQHKStN.js +1 -0
  13. package/dist/assets/blade-D4QpJJKB.js +1 -0
  14. package/dist/assets/blockDiagram-VD42YOAC-B-z5fhLO.js +122 -0
  15. package/dist/assets/bsl-BO_Y6i37.js +1 -0
  16. package/dist/assets/c4Diagram-YG6GDRKO-D1wRy3rn.js +10 -0
  17. package/dist/assets/cairo-KRGpt6FW.js +1 -0
  18. package/dist/assets/channel-C1utiKyQ.js +1 -0
  19. package/dist/assets/chunk-4BX2VUAB-Ju0iuf5T.js +1 -0
  20. package/dist/assets/chunk-55IACEB6-BOKBDX1b.js +1 -0
  21. package/dist/assets/chunk-B4BG7PRW-DsLx2FWG.js +165 -0
  22. package/dist/assets/chunk-DI55MBZ5-DVZlU9hx.js +220 -0
  23. package/dist/assets/chunk-FMBD7UC4-DcibvRDC.js +15 -0
  24. package/dist/assets/chunk-QN33PNHL-CNdyoS13.js +1 -0
  25. package/dist/assets/chunk-QZHKN3VN-B6wDkRFR.js +1 -0
  26. package/dist/assets/chunk-TZMSLE5B-DiRAl639.js +1 -0
  27. package/dist/assets/classDiagram-2ON5EDUG-DHe9K9aJ.js +1 -0
  28. package/dist/assets/classDiagram-v2-WZHVMYZB-DHe9K9aJ.js +1 -0
  29. package/dist/assets/clone-BP5MKGQF.js +1 -0
  30. package/dist/assets/cobol-nwyudZeR.js +1 -0
  31. package/dist/assets/code-block-37QAKDTI-D0bYQ3tc.js +2 -0
  32. package/dist/assets/coffee-Ch7k5sss.js +1 -0
  33. package/dist/assets/cose-bilkent-S5V4N54A-C7eFSjsi.js +1 -0
  34. package/dist/assets/cpp-CofmeUqb.js +1 -0
  35. package/dist/assets/crystal-tKQVLTB8.js +1 -0
  36. package/dist/assets/csv-fuZLfV_i.js +1 -0
  37. package/dist/assets/dagre-6UL2VRFP-Chm9A17M.js +4 -0
  38. package/dist/assets/diagram-PSM6KHXK-CCbDlCx9.js +24 -0
  39. package/dist/assets/diagram-QEK2KX5R-Dtd49XA6.js +43 -0
  40. package/dist/assets/diagram-S2PKOQOG-0K2p7g5b.js +24 -0
  41. package/dist/assets/edge-BkV0erSs.js +1 -0
  42. package/dist/assets/elixir-CDX3lj18.js +1 -0
  43. package/dist/assets/elm-DbKCFpqz.js +1 -0
  44. package/dist/assets/erDiagram-Q2GNP2WA-jqGcgMyf.js +60 -0
  45. package/dist/assets/erb-BOJIQeun.js +1 -0
  46. package/dist/assets/erlang-DsQrWhSR.js +1 -0
  47. package/dist/assets/flowDiagram-NV44I4VS-Dq-5nSyY.js +162 -0
  48. package/dist/assets/fortran-fixed-form-CkoXwp7k.js +1 -0
  49. package/dist/assets/fsharp-CXgrBDvD.js +1 -0
  50. package/dist/assets/ganttDiagram-JELNMOA3-I2WySoN5.js +267 -0
  51. package/dist/assets/gdresource-B7Tvp0Sc.js +1 -0
  52. package/dist/assets/git-commit-F4YmCXRG.js +1 -0
  53. package/dist/assets/git-rebase-r7XF79zn.js +1 -0
  54. package/dist/assets/gitGraphDiagram-NY62KEGX-B-rqrf_i.js +65 -0
  55. package/dist/assets/glimmer-js-Rg0-pVw9.js +1 -0
  56. package/dist/assets/glimmer-ts-U6CK756n.js +1 -0
  57. package/dist/assets/glsl-DplSGwfg.js +1 -0
  58. package/dist/assets/graph-BXq8Vy6g.js +1 -0
  59. package/dist/assets/graphql-ChdNCCLP.js +1 -0
  60. package/dist/assets/hack-CaT9iCJl.js +1 -0
  61. package/dist/assets/haml-B8DHNrY2.js +1 -0
  62. package/dist/assets/handlebars-BL8al0AC.js +1 -0
  63. package/dist/assets/html-GMplVEZG.js +1 -0
  64. package/dist/assets/html-derivative-BFtXZ54Q.js +1 -0
  65. package/dist/assets/http-jrhK8wxY.js +1 -0
  66. package/dist/assets/hurl-irOxFIW8.js +1 -0
  67. package/dist/assets/hxml-Bvhsp5Yf.js +1 -0
  68. package/dist/assets/index-CiNlAQ9U.js +2224 -0
  69. package/dist/assets/index-CzAbEYUe.css +1 -0
  70. package/dist/assets/infoDiagram-WHAUD3N6-C7RcpAsC.js +2 -0
  71. package/dist/assets/jinja-4LBKfQ-Z.js +1 -0
  72. package/dist/assets/jison-wvAkD_A8.js +1 -0
  73. package/dist/assets/journeyDiagram-XKPGCS4Q-CzPy13x7.js +139 -0
  74. package/dist/assets/julia-CxzCAyBv.js +1 -0
  75. package/dist/assets/kanban-definition-3W4ZIXB7-BwjszvCG.js +89 -0
  76. package/dist/assets/kdl-DV7GczEv.js +1 -0
  77. package/dist/assets/latex-B4uzh10-.js +1 -0
  78. package/dist/assets/layout-tBkKcjOH.js +1 -0
  79. package/dist/assets/liquid-DYVedYrR.js +1 -0
  80. package/dist/assets/lua-BbnMAYS6.js +1 -0
  81. package/dist/assets/marko-DZsq8hO1.js +1 -0
  82. package/dist/assets/mdc-DUICxH0z.js +1 -0
  83. package/dist/assets/min-L_dIkaz8.js +1 -0
  84. package/dist/assets/mindmap-definition-VGOIOE7T-Dv_R0Kzs.js +68 -0
  85. package/dist/assets/nginx-DknmC5AR.js +1 -0
  86. package/dist/assets/nim-CVrawwO9.js +1 -0
  87. package/dist/assets/perl-C0TMdlhV.js +1 -0
  88. package/dist/assets/php-CDn_0X-4.js +1 -0
  89. package/dist/assets/pieDiagram-ADFJNKIX-DBdEQqzX.js +30 -0
  90. package/dist/assets/pug-CGlum2m_.js +1 -0
  91. package/dist/assets/qml-3beO22l8.js +1 -0
  92. package/dist/assets/quadrantDiagram-AYHSOK5B-DSe0t1Vr.js +7 -0
  93. package/dist/assets/razor-C1TweQQi.js +1 -0
  94. package/dist/assets/requirementDiagram-UZGBJVZJ-DINdLdJg.js +64 -0
  95. package/dist/assets/rst-B0xPkSld.js +1 -0
  96. package/dist/assets/ruby-BvKwtOVI.js +1 -0
  97. package/dist/assets/sankeyDiagram-TZEHDZUN-ByLK18cs.js +10 -0
  98. package/dist/assets/sas-cz2c8ADy.js +1 -0
  99. package/dist/assets/scss-OYdSNvt2.js +1 -0
  100. package/dist/assets/sequenceDiagram-WL72ISMW-BtwZoEF6.js +145 -0
  101. package/dist/assets/shaderlab-Dg9Lc6iA.js +1 -0
  102. package/dist/assets/shellsession-BADoaaVG.js +1 -0
  103. package/dist/assets/soy-Brmx7dQM.js +1 -0
  104. package/dist/assets/sparql-rVzFXLq3.js +1 -0
  105. package/dist/assets/stata-BH5u7GGu.js +1 -0
  106. package/dist/assets/stateDiagram-FKZM4ZOC-B_dGGh5t.js +1 -0
  107. package/dist/assets/stateDiagram-v2-4FDKWEC3-lqWWS4Yz.js +1 -0
  108. package/dist/assets/svelte-zxCyuUbr.js +1 -0
  109. package/dist/assets/talonscript-CkByrt1z.js +1 -0
  110. package/dist/assets/templ-W15q3VgB.js +1 -0
  111. package/dist/assets/tex-CvyZ59Mk.js +1 -0
  112. package/dist/assets/timeline-definition-IT6M3QCI-BKq8fAVj.js +61 -0
  113. package/dist/assets/treemap-KMMF4GRG-DpzypmYP.js +128 -0
  114. package/dist/assets/ts-tags-zn1MmPIZ.js +1 -0
  115. package/dist/assets/twig-CO9l9SDP.js +1 -0
  116. package/dist/assets/vue-DN_0RTcg.js +1 -0
  117. package/dist/assets/vue-html-AaS7Mt5G.js +1 -0
  118. package/dist/assets/vue-vine-CQOfvN7w.js +1 -0
  119. package/dist/assets/xml-sdJ4AIDG.js +1 -0
  120. package/dist/assets/xsl-CtQFsRM5.js +1 -0
  121. package/dist/assets/xychartDiagram-PRI3JC2R-B2nRsBEy.js +7 -0
  122. package/dist/blockDiagram-VD42YOAC-C5CukG0j.js +2256 -0
  123. package/dist/c4Diagram-YG6GDRKO-D700bLUP.js +1580 -0
  124. package/dist/channel-Cti7M2bZ.js +5 -0
  125. package/dist/chunk-4BX2VUAB-CgLsIbqb.js +8 -0
  126. package/dist/chunk-55IACEB6-BlgtjLk2.js +8 -0
  127. package/dist/chunk-B4BG7PRW-B0F1XFJz.js +1375 -0
  128. package/dist/chunk-DI55MBZ5-DHtjqtxd.js +1370 -0
  129. package/dist/chunk-FMBD7UC4-d2R18kU3.js +19 -0
  130. package/dist/chunk-QN33PNHL-hc_HFHv7.js +19 -0
  131. package/dist/chunk-QZHKN3VN-DFrM02dn.js +15 -0
  132. package/dist/chunk-TZMSLE5B-BKKjuHyU.js +64 -0
  133. package/dist/classDiagram-2ON5EDUG-CWBGyk3O.js +16 -0
  134. package/dist/classDiagram-v2-WZHVMYZB-CWBGyk3O.js +16 -0
  135. package/dist/clone-C-SjnjM3.js +8 -0
  136. package/dist/cose-bilkent-S5V4N54A-DP3AP0OF.js +2608 -0
  137. package/dist/cytoscape.esm-Cvf3sx9F.js +18704 -0
  138. package/dist/dagre-6UL2VRFP-D9e9iL9P.js +443 -0
  139. package/dist/defaultLocale-D7EN2tov.js +171 -0
  140. package/dist/diagram-PSM6KHXK-BpO0cxRG.js +531 -0
  141. package/dist/diagram-QEK2KX5R-CSMfjuPl.js +217 -0
  142. package/dist/diagram-S2PKOQOG-Csx2ehrH.js +142 -0
  143. package/dist/erDiagram-Q2GNP2WA-X4t9tzNA.js +841 -0
  144. package/dist/flowDiagram-NV44I4VS-JVEdioX6.js +1620 -0
  145. package/dist/ganttDiagram-JELNMOA3-BksGSOHP.js +2671 -0
  146. package/dist/gitGraph-F6HP7TQM-OK0kClD7.js +5 -0
  147. package/dist/gitGraphDiagram-NY62KEGX-BRpBdTVE.js +699 -0
  148. package/dist/graph-Czb_7a7B.js +381 -0
  149. package/dist/icons/runners/amp.svg +6 -0
  150. package/dist/icons/runners/antigravity.svg +2 -0
  151. package/dist/icons/runners/claude.svg +1 -0
  152. package/dist/icons/runners/codex.svg +1 -0
  153. package/dist/icons/runners/copilot.svg +1 -0
  154. package/dist/icons/runners/cursor.svg +1 -0
  155. package/dist/icons/runners/droid.svg +8 -0
  156. package/dist/icons/runners/gemini.svg +1 -0
  157. package/dist/icons/runners/kiro.svg +11 -0
  158. package/dist/icons/runners/opencode.svg +1 -0
  159. package/dist/icons/runners/windsurf.svg +1 -0
  160. package/dist/index-iCTLJvaV.js +67305 -0
  161. package/dist/index.html +2 -2
  162. package/dist/info-NVLQJR56-BY80xctL.js +5 -0
  163. package/dist/infoDiagram-WHAUD3N6-DWuyY_dJ.js +24 -0
  164. package/dist/init-DjUOC4st.js +16 -0
  165. package/dist/journeyDiagram-XKPGCS4Q-CrnINICH.js +834 -0
  166. package/dist/kanban-definition-3W4ZIXB7-64OgHBcl.js +719 -0
  167. package/dist/katex-r9TeExgs.js +11690 -0
  168. package/dist/layout-Bx4_X9_k.js +1441 -0
  169. package/dist/lib/App.d.ts +2 -0
  170. package/dist/lib/components/badge-config.d.ts +13 -0
  171. package/dist/lib/components/chat/chat-container.d.ts +16 -0
  172. package/dist/lib/components/chat/chat-history.d.ts +1 -0
  173. package/dist/lib/components/chat/chat-input.d.ts +8 -0
  174. package/dist/lib/components/chat/chat-message.d.ts +7 -0
  175. package/dist/lib/components/chat/chat-sidebar.d.ts +1 -0
  176. package/dist/lib/components/chat/enhanced-model-selector.d.ts +13 -0
  177. package/dist/lib/components/chat/index.d.ts +6 -0
  178. package/dist/lib/components/chat/inline-model-selector.d.ts +18 -0
  179. package/dist/lib/components/chat/model-picker.d.ts +13 -0
  180. package/dist/lib/components/chat/resize-handle.d.ts +9 -0
  181. package/dist/lib/components/chat/thinking-indicator.d.ts +4 -0
  182. package/dist/lib/components/chat/tool-result-registry.d.ts +6 -0
  183. package/dist/lib/components/chat/tool-result-utils.d.ts +12 -0
  184. package/dist/lib/components/context/context-client.d.ts +6 -0
  185. package/dist/lib/components/context/context-file-detail.d.ts +8 -0
  186. package/dist/lib/components/dashboard/activity-item.d.ts +9 -0
  187. package/dist/lib/components/dashboard/dashboard-client.d.ts +11 -0
  188. package/dist/lib/components/dashboard/spec-list-item.d.ts +8 -0
  189. package/dist/lib/components/dashboard/stat-card.d.ts +12 -0
  190. package/dist/lib/components/dependencies/constants.d.ts +7 -0
  191. package/dist/lib/components/dependencies/spec-node-types.d.ts +3 -0
  192. package/dist/lib/components/dependencies/spec-node.d.ts +4 -0
  193. package/dist/lib/components/dependencies/spec-sidebar.d.ts +8 -0
  194. package/dist/lib/components/dependencies/types.d.ts +31 -0
  195. package/dist/lib/components/dependencies/utils.d.ts +23 -0
  196. package/dist/lib/components/language-switcher.d.ts +1 -0
  197. package/dist/lib/components/layout.d.ts +13 -0
  198. package/dist/lib/components/library/ai-elements/agent.d.ts +26 -0
  199. package/dist/lib/components/library/ai-elements/artifact.d.ts +23 -0
  200. package/dist/lib/components/library/ai-elements/attachments.d.ts +54 -0
  201. package/dist/lib/components/library/ai-elements/audio-player.d.ts +29 -0
  202. package/dist/lib/components/library/ai-elements/canvas.d.ts +7 -0
  203. package/dist/lib/components/library/ai-elements/chain-of-thought.d.ts +29 -0
  204. package/dist/lib/components/library/ai-elements/checkpoint.d.ts +11 -0
  205. package/dist/lib/components/library/ai-elements/code-block.d.ts +47 -0
  206. package/dist/lib/components/library/ai-elements/commit.d.ts +64 -0
  207. package/dist/lib/components/library/ai-elements/confirmation.d.ts +49 -0
  208. package/dist/lib/components/library/ai-elements/connection.d.ts +2 -0
  209. package/dist/lib/components/library/ai-elements/context.d.ts +32 -0
  210. package/dist/lib/components/library/ai-elements/controls.d.ts +4 -0
  211. package/dist/lib/components/library/ai-elements/conversation.d.ts +15 -0
  212. package/dist/lib/components/library/ai-elements/edge.d.ts +5 -0
  213. package/dist/lib/components/library/ai-elements/environment-variables.d.ts +38 -0
  214. package/dist/lib/components/library/ai-elements/file-tree.d.ts +26 -0
  215. package/dist/lib/components/library/ai-elements/image.d.ts +6 -0
  216. package/dist/lib/components/library/ai-elements/index.d.ts +56 -0
  217. package/dist/lib/components/library/ai-elements/inline-citation.d.ts +38 -0
  218. package/dist/lib/components/library/ai-elements/loader.d.ts +5 -0
  219. package/dist/lib/components/library/ai-elements/message.d.ts +41 -0
  220. package/dist/lib/components/library/ai-elements/mic-selector.d.ts +45 -0
  221. package/dist/lib/components/library/ai-elements/model-selector.d.ts +35 -0
  222. package/dist/lib/components/library/ai-elements/node.d.ts +21 -0
  223. package/dist/lib/components/library/ai-elements/open-in-chat.d.ts +28 -0
  224. package/dist/lib/components/library/ai-elements/package-info.d.ts +29 -0
  225. package/dist/lib/components/library/ai-elements/panel.d.ts +5 -0
  226. package/dist/lib/components/library/ai-elements/persona.d.ts +48 -0
  227. package/dist/lib/components/library/ai-elements/plan.d.ts +25 -0
  228. package/dist/lib/components/library/ai-elements/prompt-input.d.ts +136 -0
  229. package/dist/lib/components/library/ai-elements/queue.d.ts +61 -0
  230. package/dist/lib/components/library/ai-elements/reasoning.d.ts +26 -0
  231. package/dist/lib/components/library/ai-elements/runner-logo.d.ts +33 -0
  232. package/dist/lib/components/library/ai-elements/sandbox.d.ts +24 -0
  233. package/dist/lib/components/library/ai-elements/schema-display.d.ts +55 -0
  234. package/dist/lib/components/library/ai-elements/shimmer.d.ts +9 -0
  235. package/dist/lib/components/library/ai-elements/snippet.d.ts +18 -0
  236. package/dist/lib/components/library/ai-elements/sources.d.ts +12 -0
  237. package/dist/lib/components/library/ai-elements/speech-input.d.ts +58 -0
  238. package/dist/lib/components/library/ai-elements/stack-trace.d.ts +37 -0
  239. package/dist/lib/components/library/ai-elements/suggestion.d.ts +10 -0
  240. package/dist/lib/components/library/ai-elements/task.d.ts +14 -0
  241. package/dist/lib/components/library/ai-elements/terminal.d.ts +27 -0
  242. package/dist/lib/components/library/ai-elements/test-results.d.ts +58 -0
  243. package/dist/lib/components/library/ai-elements/tool-duration.d.ts +12 -0
  244. package/dist/lib/components/library/ai-elements/tool-icon-registry.d.ts +26 -0
  245. package/dist/lib/components/library/ai-elements/tool-input-ui-view.d.ts +10 -0
  246. package/dist/lib/components/library/ai-elements/tool.d.ts +41 -0
  247. package/dist/lib/components/library/ai-elements/toolbar.d.ts +5 -0
  248. package/dist/lib/components/library/ai-elements/transcription.d.ts +16 -0
  249. package/dist/lib/components/library/ai-elements/voice-selector.d.ts +63 -0
  250. package/dist/lib/components/library/ai-elements/web-preview.d.ts +34 -0
  251. package/dist/lib/components/library/graph/dependency-graph.d.ts +26 -0
  252. package/dist/lib/components/library/graph/index.d.ts +2 -0
  253. package/dist/lib/components/library/hierarchy/hierarchy-tree.d.ts +23 -0
  254. package/dist/lib/components/library/hierarchy/index.d.ts +1 -0
  255. package/dist/lib/components/library/index.d.ts +10 -0
  256. package/dist/lib/components/library/layout/empty-state.d.ts +25 -0
  257. package/dist/lib/components/library/layout/index.d.ts +2 -0
  258. package/dist/lib/components/library/layout/loading-skeletons.d.ts +76 -0
  259. package/dist/lib/components/library/navigation/back-to-top.d.ts +15 -0
  260. package/dist/lib/components/library/navigation/index.d.ts +2 -0
  261. package/dist/lib/components/library/navigation/theme-toggle.d.ts +25 -0
  262. package/dist/lib/components/library/project/index.d.ts +4 -0
  263. package/dist/lib/components/library/project/project-avatar.d.ts +17 -0
  264. package/dist/lib/components/library/project/project-card.d.ts +41 -0
  265. package/dist/lib/components/library/project/project-dialog.d.ts +21 -0
  266. package/dist/lib/components/library/project/project-switcher.d.ts +27 -0
  267. package/dist/lib/components/library/search/filter-select.d.ts +27 -0
  268. package/dist/lib/components/library/search/index.d.ts +3 -0
  269. package/dist/lib/components/library/search/search-input.d.ts +22 -0
  270. package/dist/lib/components/library/search/search-results.d.ts +8 -0
  271. package/dist/lib/components/library/spec/index.d.ts +9 -0
  272. package/dist/lib/components/library/spec/priority-badge.d.ts +18 -0
  273. package/dist/lib/components/library/spec/priority-editor.d.ts +11 -0
  274. package/dist/lib/components/library/spec/spec-card.d.ts +16 -0
  275. package/dist/lib/components/library/spec/spec-metadata.d.ts +35 -0
  276. package/dist/lib/components/library/spec/spec-timeline.d.ts +21 -0
  277. package/dist/lib/components/library/spec/status-badge.d.ts +18 -0
  278. package/dist/lib/components/library/spec/status-editor.d.ts +11 -0
  279. package/dist/lib/components/library/spec/tag-badge.d.ts +29 -0
  280. package/dist/lib/components/library/spec/tags-editor.d.ts +23 -0
  281. package/dist/lib/components/library/stats/index.d.ts +3 -0
  282. package/dist/lib/components/library/stats/progress-bar.d.ts +19 -0
  283. package/dist/lib/components/library/stats/stats-card.d.ts +22 -0
  284. package/dist/lib/components/library/stats/stats-overview.d.ts +35 -0
  285. package/dist/lib/components/library/ui/accordion.d.ts +7 -0
  286. package/dist/lib/components/library/ui/alert.d.ts +8 -0
  287. package/dist/lib/components/library/ui/avatar.d.ts +15 -0
  288. package/dist/lib/components/library/ui/badge.d.ts +9 -0
  289. package/dist/lib/components/library/ui/button-group.d.ts +11 -0
  290. package/dist/lib/components/library/ui/button.d.ts +11 -0
  291. package/dist/lib/components/library/ui/card.d.ts +9 -0
  292. package/dist/lib/components/library/ui/carousel.d.ts +18 -0
  293. package/dist/lib/components/library/ui/collapsible.d.ts +5 -0
  294. package/dist/lib/components/library/ui/command.d.ts +80 -0
  295. package/dist/lib/components/library/ui/dialog.d.ts +19 -0
  296. package/dist/lib/components/library/ui/dropdown-menu.d.ts +27 -0
  297. package/dist/lib/components/library/ui/hover-card.d.ts +6 -0
  298. package/dist/lib/components/library/ui/index.d.ts +25 -0
  299. package/dist/lib/components/library/ui/input-group.d.ts +16 -0
  300. package/dist/lib/components/library/ui/input.d.ts +4 -0
  301. package/dist/lib/components/library/ui/popover.d.ts +7 -0
  302. package/dist/lib/components/library/ui/progress.d.ts +4 -0
  303. package/dist/lib/components/library/ui/scroll-area.d.ts +5 -0
  304. package/dist/lib/components/library/ui/select.d.ts +24 -0
  305. package/dist/lib/components/library/ui/separator.d.ts +5 -0
  306. package/dist/lib/components/library/ui/skeleton.d.ts +5 -0
  307. package/dist/lib/components/library/ui/switch.d.ts +4 -0
  308. package/dist/lib/components/library/ui/tabs.d.ts +7 -0
  309. package/dist/lib/components/library/ui/textarea.d.ts +3 -0
  310. package/dist/lib/components/library/ui/tooltip.d.ts +7 -0
  311. package/dist/lib/components/machine-switcher.d.ts +1 -0
  312. package/dist/lib/components/main-sidebar.d.ts +6 -0
  313. package/dist/lib/components/mermaid-diagram.d.ts +6 -0
  314. package/dist/lib/components/metadata-editors/priority-editor.d.ts +11 -0
  315. package/dist/lib/components/metadata-editors/status-editor.d.ts +11 -0
  316. package/dist/lib/components/metadata-editors/tags-editor.d.ts +12 -0
  317. package/dist/lib/components/metrics/token-progress-bar.d.ts +9 -0
  318. package/dist/lib/components/minimal-layout.d.ts +9 -0
  319. package/dist/lib/components/navigation.d.ts +9 -0
  320. package/dist/lib/components/priority-badge.d.ts +10 -0
  321. package/dist/lib/components/project-switcher.d.ts +10 -0
  322. package/dist/lib/components/projects/create-project-dialog.d.ts +6 -0
  323. package/dist/lib/components/projects/directory-picker.d.ts +9 -0
  324. package/dist/lib/components/quick-search.d.ts +1 -0
  325. package/dist/lib/components/relationships/relationship-section.d.ts +17 -0
  326. package/dist/lib/components/relationships/relationships-editor.d.ts +11 -0
  327. package/dist/lib/components/relationships/spec-search-picker.d.ts +11 -0
  328. package/dist/lib/components/root-redirect.d.ts +6 -0
  329. package/dist/lib/components/sessions/session-card.d.ts +7 -0
  330. package/dist/lib/components/sessions/session-create-dialog.d.ts +14 -0
  331. package/dist/lib/components/sessions/session-create-form.d.ts +7 -0
  332. package/dist/lib/components/sessions/session-logs-panel.d.ts +6 -0
  333. package/dist/lib/components/sessions/sessions-drawer.d.ts +1 -0
  334. package/dist/lib/components/settings/appearance-settings-tab.d.ts +1 -0
  335. package/dist/lib/components/settings/models-settings-tab.d.ts +1 -0
  336. package/dist/lib/components/settings/runner-settings-tab.d.ts +1 -0
  337. package/dist/lib/components/shared/back-to-top.d.ts +1 -0
  338. package/dist/lib/components/shared/color-picker.d.ts +7 -0
  339. package/dist/lib/components/shared/empty-state.d.ts +12 -0
  340. package/dist/lib/components/shared/error-boundary.d.ts +14 -0
  341. package/dist/lib/components/shared/markdown/enhanced-code-block.d.ts +7 -0
  342. package/dist/lib/components/shared/markdown/enhanced-table.d.ts +4 -0
  343. package/dist/lib/components/shared/markdown/index.d.ts +4 -0
  344. package/dist/lib/components/shared/markdown/markdown-components.d.ts +27 -0
  345. package/dist/lib/components/shared/markdown/utils.d.ts +3 -0
  346. package/dist/lib/components/shared/page-container.d.ts +10 -0
  347. package/dist/lib/components/shared/page-header.d.ts +8 -0
  348. package/dist/lib/components/shared/page-transition.d.ts +7 -0
  349. package/dist/lib/components/shared/project-avatar.d.ts +10 -0
  350. package/dist/lib/components/shared/search-filter-bar.d.ts +36 -0
  351. package/dist/lib/components/shared/sidebar-link.d.ts +14 -0
  352. package/dist/lib/components/shared/skeletons.d.ts +8 -0
  353. package/dist/lib/components/spec-detail/editable-metadata.d.ts +7 -0
  354. package/dist/lib/components/spec-detail/markdown-renderer.d.ts +9 -0
  355. package/dist/lib/components/spec-detail/session-panel.d.ts +6 -0
  356. package/dist/lib/components/spec-detail/table-of-contents.d.ts +6 -0
  357. package/dist/lib/components/spec-detail-layout.context.d.ts +5 -0
  358. package/dist/lib/components/spec-detail-layout.d.ts +1 -0
  359. package/dist/lib/components/specs/board-view.d.ts +15 -0
  360. package/dist/lib/components/specs/hierarchy-list.d.ts +15 -0
  361. package/dist/lib/components/specs/list-view.d.ts +16 -0
  362. package/dist/lib/components/specs/specs-filters.d.ts +30 -0
  363. package/dist/lib/components/specs/token-details-dialog.d.ts +10 -0
  364. package/dist/lib/components/specs/validation-dialog.d.ts +10 -0
  365. package/dist/lib/components/specs-nav-sidebar.d.ts +6 -0
  366. package/dist/lib/components/status-badge.d.ts +10 -0
  367. package/dist/lib/components/theme-toggle.d.ts +1 -0
  368. package/dist/lib/components/token-badge.d.ts +9 -0
  369. package/dist/lib/components/token-progress-bar.d.ts +8 -0
  370. package/dist/lib/components/tooltip.d.ts +1 -0
  371. package/dist/lib/components/umbrella-badge.d.ts +7 -0
  372. package/dist/lib/components/validation-badge.d.ts +12 -0
  373. package/dist/lib/components/wide-mode-toggle.d.ts +1 -0
  374. package/dist/lib/contexts/ChatContext.d.ts +25 -0
  375. package/dist/lib/contexts/KeyboardShortcutsContext.d.ts +23 -0
  376. package/dist/lib/contexts/ToastContext.d.ts +15 -0
  377. package/dist/lib/contexts/index.d.ts +3 -0
  378. package/dist/lib/hooks/index.d.ts +3 -0
  379. package/dist/lib/hooks/use-debounce.d.ts +8 -0
  380. package/dist/lib/hooks/use-local-storage.d.ts +4 -0
  381. package/dist/lib/hooks/use-media-query.d.ts +1 -0
  382. package/dist/lib/hooks/use-spec-sync.d.ts +12 -0
  383. package/dist/lib/hooks/useAutoTitle.d.ts +8 -0
  384. package/dist/lib/hooks/useChatConfigQuery.d.ts +44 -0
  385. package/dist/lib/hooks/useChatQuery.d.ts +23 -0
  386. package/dist/lib/hooks/useKeyboardShortcuts.d.ts +10 -0
  387. package/dist/lib/hooks/useModelsQuery.d.ts +22 -0
  388. package/dist/lib/hooks/useProjectQuery.d.ts +211 -0
  389. package/dist/lib/hooks/useProjectScopedStorage.d.ts +12 -0
  390. package/dist/lib/hooks/useSessionsQuery.d.ts +29 -0
  391. package/dist/lib/hooks/useSpecActionDialogs.d.ts +14 -0
  392. package/dist/lib/hooks/useSpecsQuery.d.ts +44 -0
  393. package/dist/lib/hooks/useSpecsSSE.d.ts +1 -0
  394. package/dist/lib/index.d.ts +2 -0
  395. package/dist/lib/index.js +567 -0
  396. package/dist/lib/layouts/SettingsLayout.d.ts +1 -0
  397. package/dist/lib/lib/api.d.ts +135 -0
  398. package/dist/lib/lib/backend-adapter/core.d.ts +135 -0
  399. package/dist/lib/lib/backend-adapter/http.d.ts +126 -0
  400. package/dist/lib/lib/backend-adapter/index.d.ts +10 -0
  401. package/dist/lib/lib/backend-adapter/tauri.d.ts +121 -0
  402. package/dist/lib/lib/badge-config.d.ts +20 -0
  403. package/dist/lib/lib/chat-api.d.ts +38 -0
  404. package/dist/lib/lib/color-utils.d.ts +20 -0
  405. package/dist/lib/lib/date-utils.d.ts +16 -0
  406. package/dist/lib/lib/hierarchy.d.ts +17 -0
  407. package/dist/lib/lib/i18n.d.ts +2 -0
  408. package/dist/lib/lib/index.d.ts +5 -0
  409. package/dist/lib/lib/markdown-utils.d.ts +9 -0
  410. package/dist/lib/lib/project-scoped-storage.d.ts +31 -0
  411. package/dist/lib/lib/project-store-sync.d.ts +12 -0
  412. package/dist/lib/lib/query-client.d.ts +2 -0
  413. package/dist/lib/lib/session-utils.d.ts +8 -0
  414. package/dist/lib/lib/storage.d.ts +20 -0
  415. package/dist/lib/lib/sub-spec-utils.d.ts +17 -0
  416. package/dist/lib/lib/token-utils.d.ts +14 -0
  417. package/dist/lib/lib/use-chat.d.ts +41 -0
  418. package/dist/lib/lib/use-models-registry.d.ts +28 -0
  419. package/dist/lib/lib/utils.d.ts +8 -0
  420. package/dist/lib/library.d.ts +4 -0
  421. package/dist/lib/locales/en/common.json.d.ts +1422 -0
  422. package/dist/lib/locales/en/errors.json.d.ts +22 -0
  423. package/dist/lib/locales/en/help.json.d.ts +11 -0
  424. package/dist/lib/locales/zh-CN/common.json.d.ts +1421 -0
  425. package/dist/lib/locales/zh-CN/errors.json.d.ts +22 -0
  426. package/dist/lib/locales/zh-CN/help.json.d.ts +11 -0
  427. package/dist/lib/main.d.ts +0 -0
  428. package/dist/lib/pages/ChatSettingsPage.d.ts +1 -0
  429. package/dist/lib/pages/ContextPage.d.ts +6 -0
  430. package/dist/lib/pages/DashboardPage.d.ts +1 -0
  431. package/dist/lib/pages/DependenciesPage.d.ts +1 -0
  432. package/dist/lib/pages/MachinesPage.d.ts +1 -0
  433. package/dist/lib/pages/ProjectsPage.d.ts +1 -0
  434. package/dist/lib/pages/SessionDetailPage.d.ts +1 -0
  435. package/dist/lib/pages/SessionsPage.d.ts +1 -0
  436. package/dist/lib/pages/SettingsPage.d.ts +1 -0
  437. package/dist/lib/pages/SpecDetailPage.d.ts +1 -0
  438. package/dist/lib/pages/SpecsPage.d.ts +1 -0
  439. package/dist/lib/pages/StatsPage.d.ts +1 -0
  440. package/dist/lib/pages/settings/AppearanceSettingsPage.d.ts +1 -0
  441. package/dist/lib/pages/settings/ModelsSettingsPage.d.ts +1 -0
  442. package/dist/lib/pages/settings/RunnersSettingsPage.d.ts +1 -0
  443. package/dist/lib/router/projectRoutes.d.ts +9 -0
  444. package/dist/lib/router.d.ts +12 -0
  445. package/dist/lib/stores/chat-preferences.d.ts +28 -0
  446. package/dist/lib/stores/display.d.ts +19 -0
  447. package/dist/lib/stores/layout.d.ts +34 -0
  448. package/dist/lib/stores/machine.d.ts +16 -0
  449. package/dist/lib/stores/search.d.ts +19 -0
  450. package/dist/lib/stores/sessions-ui.d.ts +12 -0
  451. package/dist/lib/stores/settings-filters.d.ts +69 -0
  452. package/dist/lib/stores/specs-preferences.d.ts +57 -0
  453. package/dist/lib/stores/theme.d.ts +9 -0
  454. package/dist/lib/types/api.d.ts +294 -0
  455. package/dist/lib/types/chat-config.d.ts +29 -0
  456. package/dist/lib/types/index.d.ts +1 -0
  457. package/dist/lib/types/models-registry.d.ts +65 -0
  458. package/dist/lib/types/specs.d.ts +170 -0
  459. package/dist/linear-D6e8ml0A.js +259 -0
  460. package/dist/logo-dark-bg-dev.svg +28 -0
  461. package/dist/logo-dev.svg +25 -0
  462. package/dist/logo-with-bg-dev.svg +28 -0
  463. package/dist/mermaid-parser.core-CJoVqMU2.js +14177 -0
  464. package/dist/min-D0H_bVmw.js +38 -0
  465. package/dist/mindmap-definition-VGOIOE7T-c7LG-I9l.js +784 -0
  466. package/dist/ordinal-B6-f3MAq.js +61 -0
  467. package/dist/packet-BFZMPI3H-Xg1qsh9M.js +5 -0
  468. package/dist/pie-7BOR55EZ-DTOFOZjt.js +5 -0
  469. package/dist/pieDiagram-ADFJNKIX-Dq5FSMbe.js +161 -0
  470. package/dist/quadrantDiagram-AYHSOK5B-CSC6AaCS.js +1022 -0
  471. package/dist/radar-NHE76QYJ-C6sDWiPq.js +5 -0
  472. package/dist/requirementDiagram-UZGBJVZJ-B1VMLqi1.js +850 -0
  473. package/dist/sankeyDiagram-TZEHDZUN-5yhAl98J.js +810 -0
  474. package/dist/sequenceDiagram-WL72ISMW-BdRUPrKR.js +2511 -0
  475. package/dist/stateDiagram-FKZM4ZOC-ieQQjJqa.js +263 -0
  476. package/dist/stateDiagram-v2-4FDKWEC3-CMJV60i9.js +16 -0
  477. package/dist/timeline-definition-IT6M3QCI-CgpuLO53.js +795 -0
  478. package/dist/treemap-KMMF4GRG-C-mDpIlT.js +5 -0
  479. package/dist/ui.css +1 -0
  480. package/dist/xychartDiagram-PRI3JC2R-CQmC0pjv.js +1340 -0
  481. package/package.json +17 -7
  482. package/src/index.css +615 -0
  483. package/dist/assets/_baseUniq-C4bkXOdh-BJ3-SRjw.js +0 -1
  484. package/dist/assets/_baseUniq-DuAmhUI0.js +0 -1
  485. package/dist/assets/angular-html-DPB4Rf0C-BGgsGAY9.js +0 -1
  486. package/dist/assets/angular-ts-CTOR2ofC-k8fsuEIJ.js +0 -1
  487. package/dist/assets/apl-CjNiDgad-CT4Sbzkr.js +0 -1
  488. package/dist/assets/arc-DFohBtPV-Cpx6wOGp.js +0 -1
  489. package/dist/assets/arc-DlFrPohT.js +0 -1
  490. package/dist/assets/architectureDiagram-VXUJARFQ-DieXp-qW.js +0 -36
  491. package/dist/assets/architectureDiagram-VXUJARFQ-_R9_zrc5-D59ZHzYq.js +0 -36
  492. package/dist/assets/astro-CFFExE8Q-HUi9-hH-.js +0 -1
  493. package/dist/assets/blade-D0HyNvCw-B6w5bG5s.js +0 -1
  494. package/dist/assets/blockDiagram-VD42YOAC-CiyHYW6w-D8Afi1Q2.js +0 -122
  495. package/dist/assets/blockDiagram-VD42YOAC-Cr1Ymz-c.js +0 -122
  496. package/dist/assets/bsl-NkNNwerW-COH_2WFP.js +0 -1
  497. package/dist/assets/c4Diagram-YG6GDRKO-D9NuNc3r-Cre6pw7Q.js +0 -10
  498. package/dist/assets/c4Diagram-YG6GDRKO-w76CB7zN.js +0 -10
  499. package/dist/assets/cairo-DM6WF2e3-DtzH3ucv.js +0 -1
  500. package/dist/assets/channel-C9MJ1fN1.js +0 -1
  501. package/dist/assets/channel-mhjF1lKa-DRGKdmbU.js +0 -1
  502. package/dist/assets/chunk-4BX2VUAB-C4VXUg_9.js +0 -1
  503. package/dist/assets/chunk-4BX2VUAB-D4Zhvat9-CJ2cQFgO.js +0 -1
  504. package/dist/assets/chunk-55IACEB6-C_MzxCLx-DeYSk-O4.js +0 -1
  505. package/dist/assets/chunk-55IACEB6-DUEMD_vX.js +0 -1
  506. package/dist/assets/chunk-B4BG7PRW-DlwRLtQb.js +0 -165
  507. package/dist/assets/chunk-B4BG7PRW-Q8H7OQ1o-CGrle4fB.js +0 -165
  508. package/dist/assets/chunk-DI55MBZ5-DqvoeGRX.js +0 -220
  509. package/dist/assets/chunk-DI55MBZ5-qwPYmgAw-BDnXruql.js +0 -220
  510. package/dist/assets/chunk-FMBD7UC4-DhXvRHU3-Ck_6Dma3.js +0 -15
  511. package/dist/assets/chunk-FMBD7UC4-eFjHw5gB.js +0 -15
  512. package/dist/assets/chunk-QN33PNHL-CLwAcvO2-CC8RVa2u.js +0 -1
  513. package/dist/assets/chunk-QN33PNHL-CXXtNr0q.js +0 -1
  514. package/dist/assets/chunk-QZHKN3VN-3tLb49S_-7wBVjYM3.js +0 -1
  515. package/dist/assets/chunk-QZHKN3VN-HkJTS77T.js +0 -1
  516. package/dist/assets/chunk-TZMSLE5B-CC9IwurK.js +0 -1
  517. package/dist/assets/chunk-TZMSLE5B-DfaYobmr-uCvXwJUe.js +0 -1
  518. package/dist/assets/classDiagram-2ON5EDUG-Dl5mwgLk.js +0 -1
  519. package/dist/assets/classDiagram-2ON5EDUG-xB0RyXwt-B4jZvvsf.js +0 -1
  520. package/dist/assets/classDiagram-v2-WZHVMYZB-Dl5mwgLk.js +0 -1
  521. package/dist/assets/classDiagram-v2-WZHVMYZB-xB0RyXwt-B4jZvvsf.js +0 -1
  522. package/dist/assets/clone-B-ElcgAC.js +0 -1
  523. package/dist/assets/clone-DqT6If4_-aVfgI0F6.js +0 -1
  524. package/dist/assets/cobol-HihOMwht-CEH5cA2t.js +0 -1
  525. package/dist/assets/code-block-37QAKDTI-CWOOD74I-DcBaZRtr.js +0 -2
  526. package/dist/assets/coffee-DGBR_nr_-BGq2hPi0.js +0 -1
  527. package/dist/assets/cose-bilkent-S5V4N54A-BYenyErH.js +0 -1
  528. package/dist/assets/cose-bilkent-S5V4N54A-DBS7wwrE-CwpmLGLG.js +0 -1
  529. package/dist/assets/cpp-Cj177cuW-CX9fafSh.js +0 -1
  530. package/dist/assets/crystal-CRJyc4G--DiK3qIky.js +0 -1
  531. package/dist/assets/csv-CmYOceLb-Co7V7EpZ.js +0 -1
  532. package/dist/assets/cytoscape.esm-Cvf3sx9F-DgU3JdRZ.js +0 -321
  533. package/dist/assets/dagre-6UL2VRFP-DC4sfLGs.js +0 -4
  534. package/dist/assets/dagre-6UL2VRFP-Lv6cE2gX-BtLPrZf0.js +0 -4
  535. package/dist/assets/defaultLocale-D7EN2tov-DTlwZUNI.js +0 -1
  536. package/dist/assets/diagram-PSM6KHXK-8QKT-Vki-CYrLTehq.js +0 -24
  537. package/dist/assets/diagram-PSM6KHXK-DSaG1dLc.js +0 -24
  538. package/dist/assets/diagram-QEK2KX5R-Bqh-tlSV-BSsdJ6p7.js +0 -43
  539. package/dist/assets/diagram-QEK2KX5R-z8D6ilji.js +0 -43
  540. package/dist/assets/diagram-S2PKOQOG-Csj0p-s--BSyJI4Aq.js +0 -24
  541. package/dist/assets/diagram-S2PKOQOG-gFoeY1VL.js +0 -24
  542. package/dist/assets/edge-BYQkOzbF-DYO1BWoQ.js +0 -1
  543. package/dist/assets/elixir-Dh036GMp-Bmki-TVL.js +0 -1
  544. package/dist/assets/elm-BtNbw_Cd-Bp18OckW.js +0 -1
  545. package/dist/assets/erDiagram-Q2GNP2WA-oZvzX2B_.js +0 -60
  546. package/dist/assets/erDiagram-Q2GNP2WA-sDpapMNP-BlW75l-5.js +0 -60
  547. package/dist/assets/erb-CS4zioBv-CIsDXqOo.js +0 -1
  548. package/dist/assets/erlang-DNcDT8Hi-BWqZUIhL.js +0 -1
  549. package/dist/assets/flowDiagram-NV44I4VS-CitCGiJE-2Yn6xqge.js +0 -162
  550. package/dist/assets/flowDiagram-NV44I4VS-DNfZjFHv.js +0 -162
  551. package/dist/assets/fortran-fixed-form-B67KFkXH-D1ymqiEx.js +0 -1
  552. package/dist/assets/fsharp-CYOiIVNx-C_zLmMdw.js +0 -1
  553. package/dist/assets/ganttDiagram-JELNMOA3-CI7qwp_G.js +0 -267
  554. package/dist/assets/ganttDiagram-JELNMOA3-DAaUYzNs-CqERSUiR.js +0 -267
  555. package/dist/assets/gdresource-BwtMIoBm-DAu1Gww7.js +0 -1
  556. package/dist/assets/git-commit-Bd32YZ0K-DKnZnecv.js +0 -1
  557. package/dist/assets/git-rebase-ZWUFO_T4-PODeWoq4.js +0 -1
  558. package/dist/assets/gitGraphDiagram-NY62KEGX-CTRy4vBb.js +0 -65
  559. package/dist/assets/gitGraphDiagram-NY62KEGX-lj732X3H-CLhZmLfE.js +0 -65
  560. package/dist/assets/glimmer-js-DkxNrfPT-CYvKIGv7.js +0 -1
  561. package/dist/assets/glimmer-ts-D6YZEmK_-BwkeDeeu.js +0 -1
  562. package/dist/assets/glsl-CkUcVZNK-Bf0UjSP5.js +0 -1
  563. package/dist/assets/graph-Bg_3T7Ud-8p9G4Jrq.js +0 -1
  564. package/dist/assets/graph-C_DQAJXv.js +0 -1
  565. package/dist/assets/graphql-CBu2ehBn-Cr253Gy9.js +0 -1
  566. package/dist/assets/hack-ItRNKiEb-Dz4s7CVj.js +0 -1
  567. package/dist/assets/haml-NZLVzu_R-C8mKtd0e.js +0 -1
  568. package/dist/assets/handlebars-mxStpSE7-B5GnhLue.js +0 -1
  569. package/dist/assets/html-B50bmoVb-Cb86E5ej.js +0 -1
  570. package/dist/assets/html-derivative-C6bxFbFW-Iy97gZi_.js +0 -1
  571. package/dist/assets/http-DLvAkeD--BNfsu0Nw.js +0 -1
  572. package/dist/assets/hurl-CgkFN90t-RkzLjdXO.js +0 -1
  573. package/dist/assets/hxml-GbqSQCLa-MyDbT556.js +0 -1
  574. package/dist/assets/index-BA4_7VkX.css +0 -1
  575. package/dist/assets/index-BzhKcNOt.js +0 -2548
  576. package/dist/assets/infoDiagram-WHAUD3N6-BbjOpAi3-DFq7Zumb.js +0 -2
  577. package/dist/assets/infoDiagram-WHAUD3N6-BjgZuatx.js +0 -2
  578. package/dist/assets/init-DjUOC4st-DHuO7-vr.js +0 -1
  579. package/dist/assets/jinja-CFW5uAwY-CRnS6Ysd.js +0 -1
  580. package/dist/assets/jison-DdreslRX-C_aDQymB.js +0 -1
  581. package/dist/assets/journeyDiagram-XKPGCS4Q-Cx34P8cj-Cuc55qMS.js +0 -139
  582. package/dist/assets/journeyDiagram-XKPGCS4Q-JTQBV6RS.js +0 -139
  583. package/dist/assets/julia-CZiKXNNP-DuHOepf6.js +0 -1
  584. package/dist/assets/kanban-definition-3W4ZIXB7-BP3ykzKL-BccB0ADl.js +0 -89
  585. package/dist/assets/kanban-definition-3W4ZIXB7-CB7Cc0I4.js +0 -89
  586. package/dist/assets/katex-XbL3y5x-.js +0 -261
  587. package/dist/assets/kdl-BNOv9TC3-U6gkEhfw.js +0 -1
  588. package/dist/assets/latex-DLWszopg-CIi2Hdhz.js +0 -1
  589. package/dist/assets/layout-BDWTKgn6.js +0 -1
  590. package/dist/assets/layout-Bft_7Aja-CYwoLCqB.js +0 -1
  591. package/dist/assets/linear-BDIyMYXP-Va3gUrsu.js +0 -1
  592. package/dist/assets/liquid-CHzkx3jT-zQly3uxw.js +0 -1
  593. package/dist/assets/lua-kX5WP_P5-BiSz3S93.js +0 -1
  594. package/dist/assets/marko-Ns9BYtDO-BWXOr_MP.js +0 -1
  595. package/dist/assets/mdc-uaivvctV-DArzT8kn.js +0 -1
  596. package/dist/assets/min-CzDI_uFs.js +0 -1
  597. package/dist/assets/min-g4o2CnuX-D41MdeNm.js +0 -1
  598. package/dist/assets/mindmap-definition-VGOIOE7T-BFemN0Et.js +0 -68
  599. package/dist/assets/mindmap-definition-VGOIOE7T-CteUNe1z-BgC77XEX.js +0 -68
  600. package/dist/assets/nginx-5vhPAEw3-DWisHew1.js +0 -1
  601. package/dist/assets/nim-QAjRdh9w-DCY1hsTS.js +0 -1
  602. package/dist/assets/ordinal-B6-f3MAq-Pc8f3NoK.js +0 -1
  603. package/dist/assets/perl-DkVrgJBg-BOYFiEPK.js +0 -1
  604. package/dist/assets/php-j2zCzTEz-D4sqbyu8.js +0 -1
  605. package/dist/assets/pieDiagram-ADFJNKIX-2fKAK3CV.js +0 -30
  606. package/dist/assets/pieDiagram-ADFJNKIX-COS6mtim-2rnhimKu.js +0 -30
  607. package/dist/assets/pug-XOw9Q1Ho-ibTSJqKJ.js +0 -1
  608. package/dist/assets/qml-rTNXsquU-ChczqDSS.js +0 -1
  609. package/dist/assets/quadrantDiagram-AYHSOK5B-Del1ofYi.js +0 -7
  610. package/dist/assets/quadrantDiagram-AYHSOK5B-DmRa7VCS-D5jPyfOD.js +0 -7
  611. package/dist/assets/razor-C5CyrFEt-BEqhH4vI.js +0 -1
  612. package/dist/assets/requirementDiagram-UZGBJVZJ-CcQIz-20-DYIFGLWB.js +0 -64
  613. package/dist/assets/requirementDiagram-UZGBJVZJ-aYICY3Ph.js +0 -64
  614. package/dist/assets/rst-CcbeA9zE-DJw32adD.js +0 -1
  615. package/dist/assets/ruby-DMPw6uKF-che4axXI.js +0 -1
  616. package/dist/assets/sankeyDiagram-TZEHDZUN-CSxXWX7b.js +0 -10
  617. package/dist/assets/sankeyDiagram-TZEHDZUN-CpcshR0Z-Ds6_Y4XZ.js +0 -10
  618. package/dist/assets/sas-fpEvgATw-BHxbuS_h.js +0 -1
  619. package/dist/assets/scss-B1FaCqwR-D5j8Lzl0.js +0 -1
  620. package/dist/assets/sequenceDiagram-WL72ISMW-B1iDbV8x-Ba6xj9am.js +0 -145
  621. package/dist/assets/sequenceDiagram-WL72ISMW-_zLrGWf3.js +0 -145
  622. package/dist/assets/shaderlab-Cr62-Wb4-DBlXx3uy.js +0 -1
  623. package/dist/assets/shellsession-DiDJNQdy-DyhC3EVy.js +0 -1
  624. package/dist/assets/soy-C1-6njHa-gzSMiW6X.js +0 -1
  625. package/dist/assets/sparql-B0KWFEri-hRQCfo7w.js +0 -1
  626. package/dist/assets/stata-B8c5fTjX-C93OJGXX.js +0 -1
  627. package/dist/assets/stateDiagram-FKZM4ZOC-DIutB6RS-BM8RqJKW.js +0 -1
  628. package/dist/assets/stateDiagram-FKZM4ZOC-DOd4P3H-.js +0 -1
  629. package/dist/assets/stateDiagram-v2-4FDKWEC3-BKEaZomO-8zJq3ge5.js +0 -1
  630. package/dist/assets/stateDiagram-v2-4FDKWEC3-nRAFnllC.js +0 -1
  631. package/dist/assets/svelte-CYf4HR3U-CATdMkt-.js +0 -1
  632. package/dist/assets/talonscript-CFF3LF_O-Cc6Jm0TJ.js +0 -1
  633. package/dist/assets/templ-peLZIM2D-BFctp3GS.js +0 -1
  634. package/dist/assets/tex-BvKThJ8p-DLMkzFBl.js +0 -1
  635. package/dist/assets/timeline-definition-IT6M3QCI-BKxuM11p.js +0 -61
  636. package/dist/assets/timeline-definition-IT6M3QCI-D1yY4TSO-DoVTwDMg.js +0 -61
  637. package/dist/assets/treemap-KMMF4GRG-ByJ02xk5.js +0 -128
  638. package/dist/assets/treemap-KMMF4GRG-KtkxYt13-CZA1d7fY.js +0 -128
  639. package/dist/assets/ts-tags-ioVe2PKw-KHYt7rNi.js +0 -1
  640. package/dist/assets/twig-CcRLVyUg-C7btHcUR.js +0 -1
  641. package/dist/assets/vue-DXEmyXn9-Bb3W6Xr4.js +0 -1
  642. package/dist/assets/vue-html-j9xNEdu3-CHybns-J.js +0 -1
  643. package/dist/assets/vue-vine-D41-N99t-CQUxmJgq.js +0 -1
  644. package/dist/assets/xml-C2J0sS9M-wPCL2nsB.js +0 -1
  645. package/dist/assets/xsl-BmSZphgC-CVyS_1ZI.js +0 -1
  646. package/dist/assets/xychartDiagram-PRI3JC2R-CGA3Bi-e.js +0 -7
  647. package/dist/assets/xychartDiagram-PRI3JC2R-a_g9ptTp-BX4uGx-D.js +0 -7
  648. /package/dist/assets/{abap-Y8Dl9g_6-BdImnpbu.js → abap-BdImnpbu.js} +0 -0
  649. /package/dist/assets/{actionscript-3-DZzbMeqX-CfeIJUat.js → actionscript-3-CfeIJUat.js} +0 -0
  650. /package/dist/assets/{ada-vP6ak0IW-bCR0ucgS.js → ada-bCR0ucgS.js} +0 -0
  651. /package/dist/assets/{andromeeda-BIpZ7gaU-C-Jbm3Hp.js → andromeeda-C-Jbm3Hp.js} +0 -0
  652. /package/dist/assets/{apache-BUjz-sD2-Pmp26Uib.js → apache-Pmp26Uib.js} +0 -0
  653. /package/dist/assets/{apex-OyTfjCYK-D8_7TLub.js → apex-D8_7TLub.js} +0 -0
  654. /package/dist/assets/{applescript-BPx7YFFu-Co6uUVPk.js → applescript-Co6uUVPk.js} +0 -0
  655. /package/dist/assets/{ara-Z2fSOxSw-BRHolxvo.js → ara-BRHolxvo.js} +0 -0
  656. /package/dist/assets/{asciidoc-B-pCoB3G-Dv7Oe6Be.js → asciidoc-Dv7Oe6Be.js} +0 -0
  657. /package/dist/assets/{asm-BTWLY5ym-D_Q5rh1f.js → asm-D_Q5rh1f.js} +0 -0
  658. /package/dist/assets/{aurora-x-BwoVEUWZ-D-2ljcwZ.js → aurora-x-D-2ljcwZ.js} +0 -0
  659. /package/dist/assets/{awk-Fb0P9dkn-DMzUqQB5.js → awk-DMzUqQB5.js} +0 -0
  660. /package/dist/assets/{ayu-dark-DG7aLdHp-CmMr59Fi.js → ayu-dark-CmMr59Fi.js} +0 -0
  661. /package/dist/assets/{ballerina-oZK-YekG-BFfxhgS-.js → ballerina-BFfxhgS-.js} +0 -0
  662. /package/dist/assets/{bat-0FvbqU9S-BkioyH1T.js → bat-BkioyH1T.js} +0 -0
  663. /package/dist/assets/{beancount-DqJEb89h-k_qm7-4y.js → beancount-k_qm7-4y.js} +0 -0
  664. /package/dist/assets/{berry-DODBq_Ff-uYugtg8r.js → berry-uYugtg8r.js} +0 -0
  665. /package/dist/assets/{bibtex-EULQRLY5-CHM0blh-.js → bibtex-CHM0blh-.js} +0 -0
  666. /package/dist/assets/{bicep-BorU73w0-Bmn6On1c.js → bicep-Bmn6On1c.js} +0 -0
  667. /package/dist/assets/{c-eeMepfLm-BIGW1oBm.js → c-BIGW1oBm.js} +0 -0
  668. /package/dist/assets/{c3-Bt581sCe-VCDPK7BO.js → c3-VCDPK7BO.js} +0 -0
  669. /package/dist/assets/{cadence-02UX7mW8-Bv_4Rxtq.js → cadence-Bv_4Rxtq.js} +0 -0
  670. /package/dist/assets/{catppuccin-frappe-D3cH2rXe-DFWUc33u.js → catppuccin-frappe-DFWUc33u.js} +0 -0
  671. /package/dist/assets/{catppuccin-latte-C0LRGUW4-C9dUb6Cb.js → catppuccin-latte-C9dUb6Cb.js} +0 -0
  672. /package/dist/assets/{catppuccin-macchiato-c5wQ11TT-DQyhUUbL.js → catppuccin-macchiato-DQyhUUbL.js} +0 -0
  673. /package/dist/assets/{catppuccin-mocha-WMD6Qvya-D87Tk5Gz.js → catppuccin-mocha-D87Tk5Gz.js} +0 -0
  674. /package/dist/assets/{clarity-PKm5CwqM-D53aC0YG.js → clarity-D53aC0YG.js} +0 -0
  675. /package/dist/assets/{clojure-CXJfHrL3-P80f7IUj.js → clojure-P80f7IUj.js} +0 -0
  676. /package/dist/assets/{cmake-BJz8BOTU-D1j8_8rp.js → cmake-D1j8_8rp.js} +0 -0
  677. /package/dist/assets/{codeowners-Bt9yU6NX-Bp6g37R7.js → codeowners-Bp6g37R7.js} +0 -0
  678. /package/dist/assets/{codeql-DHkodjjI-DsOJ9woJ.js → codeql-DsOJ9woJ.js} +0 -0
  679. /package/dist/assets/{common-lisp-EVqT9Zhp-Cg-RD9OK.js → common-lisp-Cg-RD9OK.js} +0 -0
  680. /package/dist/assets/{coq-B0L9upzn-DkFqJrB1.js → coq-DkFqJrB1.js} +0 -0
  681. /package/dist/assets/{csharp-C7yUs7-w-K5feNrxe.js → csharp-K5feNrxe.js} +0 -0
  682. /package/dist/assets/{css-CECN5uSL-DPfMkruS.js → css-DPfMkruS.js} +0 -0
  683. /package/dist/assets/{cue-ZzumE7IT-D82EKSYY.js → cue-D82EKSYY.js} +0 -0
  684. /package/dist/assets/{cypher-jpdmjtA6-COkxafJQ.js → cypher-COkxafJQ.js} +0 -0
  685. /package/dist/assets/{d-CBagWSwH-85-TOEBH.js → d-85-TOEBH.js} +0 -0
  686. /package/dist/assets/{dark-plus-pUHDTVV0-C3mMm8J8.js → dark-plus-C3mMm8J8.js} +0 -0
  687. /package/dist/assets/{dart-6ObCrKr9-CF10PKvl.js → dart-CF10PKvl.js} +0 -0
  688. /package/dist/assets/{dax-CcDT-8dH-CEL-wOlO.js → dax-CEL-wOlO.js} +0 -0
  689. /package/dist/assets/{desktop-B93p9R9O-BmXAJ9_W.js → desktop-BmXAJ9_W.js} +0 -0
  690. /package/dist/assets/{diff-BxzP2J8R-D97Zzqfu.js → diff-D97Zzqfu.js} +0 -0
  691. /package/dist/assets/{docker-CsHqm9tx-BcOcwvcX.js → docker-BcOcwvcX.js} +0 -0
  692. /package/dist/assets/{dotenv-BMjVjUL1-Da5cRb03.js → dotenv-Da5cRb03.js} +0 -0
  693. /package/dist/assets/{dracula-BtZx2Kac-BzJJZx-M.js → dracula-BzJJZx-M.js} +0 -0
  694. /package/dist/assets/{dracula-soft-BKa-aqBv-BXkSAIEj.js → dracula-soft-BXkSAIEj.js} +0 -0
  695. /package/dist/assets/{dream-maker-PAx17jaB-BtqSS_iP.js → dream-maker-BtqSS_iP.js} +0 -0
  696. /package/dist/assets/{emacs-lisp-Cfxdx5D--C9XAeP06.js → emacs-lisp-C9XAeP06.js} +0 -0
  697. /package/dist/assets/{everforest-dark-DMCBqXCK-BgDCqdQA.js → everforest-dark-BgDCqdQA.js} +0 -0
  698. /package/dist/assets/{everforest-light-BbXl82Em-C8M2exoo.js → everforest-light-C8M2exoo.js} +0 -0
  699. /package/dist/assets/{fennel-N4WcXuKx-BYunw83y.js → fennel-BYunw83y.js} +0 -0
  700. /package/dist/assets/{fish-BTDEUgqH-BvzEVeQv.js → fish-BvzEVeQv.js} +0 -0
  701. /package/dist/assets/{fluent-BMXUxfv1-C4IJs8-o.js → fluent-C4IJs8-o.js} +0 -0
  702. /package/dist/assets/{fortran-free-form-CwqYvCLJ-BxgE0vQu.js → fortran-free-form-BxgE0vQu.js} +0 -0
  703. /package/dist/assets/{gdscript-BifyeYhI-DTMYz4Jt.js → gdscript-DTMYz4Jt.js} +0 -0
  704. /package/dist/assets/{gdshader-Bk8fF6yr-DkwncUOv.js → gdshader-DkwncUOv.js} +0 -0
  705. /package/dist/assets/{genie-DzUvd7U9-D0YGMca9.js → genie-D0YGMca9.js} +0 -0
  706. /package/dist/assets/{gherkin-DHRaV0YP-DyxjwDmM.js → gherkin-DyxjwDmM.js} +0 -0
  707. /package/dist/assets/{github-dark-DenFmJkN-DHJKELXO.js → github-dark-DHJKELXO.js} +0 -0
  708. /package/dist/assets/{github-dark-default-BJPUVz4H-Cuk6v7N8.js → github-dark-default-Cuk6v7N8.js} +0 -0
  709. /package/dist/assets/{github-dark-dimmed-DUshB20C-DH5Ifo-i.js → github-dark-dimmed-DH5Ifo-i.js} +0 -0
  710. /package/dist/assets/{github-dark-high-contrast-D3aGCnF8-E3gJ1_iC.js → github-dark-high-contrast-E3gJ1_iC.js} +0 -0
  711. /package/dist/assets/{github-light-JYsPkUQd-DAi9KRSo.js → github-light-DAi9KRSo.js} +0 -0
  712. /package/dist/assets/{github-light-default-D99KPAby-D7oLnXFd.js → github-light-default-D7oLnXFd.js} +0 -0
  713. /package/dist/assets/{github-light-high-contrast-BbmZE-Mp-BfjtVDDH.js → github-light-high-contrast-BfjtVDDH.js} +0 -0
  714. /package/dist/assets/{gleam-Bv284lvN-BspZqrRM.js → gleam-BspZqrRM.js} +0 -0
  715. /package/dist/assets/{gn-XtJxiLa4-n2N0HUVH.js → gn-n2N0HUVH.js} +0 -0
  716. /package/dist/assets/{gnuplot-yPG9-sE_-DdkO51Og.js → gnuplot-DdkO51Og.js} +0 -0
  717. /package/dist/assets/{go-ChxJuLYK-Dn2_MT6a.js → go-Dn2_MT6a.js} +0 -0
  718. /package/dist/assets/{groovy-CJQTphOW-gcz8RCvz.js → groovy-gcz8RCvz.js} +0 -0
  719. /package/dist/assets/{gruvbox-dark-hard-C5HOtKIh-CFHQjOhq.js → gruvbox-dark-hard-CFHQjOhq.js} +0 -0
  720. /package/dist/assets/{gruvbox-dark-medium-FVgwJHuz-GsRaNv29.js → gruvbox-dark-medium-GsRaNv29.js} +0 -0
  721. /package/dist/assets/{gruvbox-dark-soft-B46F314v-CVdnzihN.js → gruvbox-dark-soft-CVdnzihN.js} +0 -0
  722. /package/dist/assets/{gruvbox-light-hard-CJD38wDZ-CH1njM8p.js → gruvbox-light-hard-CH1njM8p.js} +0 -0
  723. /package/dist/assets/{gruvbox-light-medium-BlIhMYTA-DRw_LuNl.js → gruvbox-light-medium-DRw_LuNl.js} +0 -0
  724. /package/dist/assets/{gruvbox-light-soft-DoPHyLVZ-hJgmCMqR.js → gruvbox-light-soft-hJgmCMqR.js} +0 -0
  725. /package/dist/assets/{haskell-WeIwNIP6-Df6bDoY_.js → haskell-Df6bDoY_.js} +0 -0
  726. /package/dist/assets/{haxe-TztHsm5T-CzTSHFRz.js → haxe-CzTSHFRz.js} +0 -0
  727. /package/dist/assets/{hcl-D438OF-I-BWvSN4gD.js → hcl-BWvSN4gD.js} +0 -0
  728. /package/dist/assets/{hjson-DYBUbqOl-D5-asLiD.js → hjson-D5-asLiD.js} +0 -0
  729. /package/dist/assets/{hlsl-Bk8TCZNL-D3lLCCz7.js → hlsl-D3lLCCz7.js} +0 -0
  730. /package/dist/assets/{houston-BDYrDoDW-DnULxvSX.js → houston-DnULxvSX.js} +0 -0
  731. /package/dist/assets/{hy-Brt5EZ7--DFXneXwc.js → hy-DFXneXwc.js} +0 -0
  732. /package/dist/assets/{imba-CimUv-Uh-DGztddWO.js → imba-DGztddWO.js} +0 -0
  733. /package/dist/assets/{ini-BZIuRIvJ-BEwlwnbL.js → ini-BEwlwnbL.js} +0 -0
  734. /package/dist/assets/{java-DY6VlHhP-CylS5w8V.js → java-CylS5w8V.js} +0 -0
  735. /package/dist/assets/{javascript-C25yR2R2-wDzz0qaB.js → javascript-wDzz0qaB.js} +0 -0
  736. /package/dist/assets/{json-DxJze_jm-Cp-IABpG.js → json-Cp-IABpG.js} +0 -0
  737. /package/dist/assets/{json5-BT4Fjg39-C9tS-k6U.js → json5-C9tS-k6U.js} +0 -0
  738. /package/dist/assets/{jsonc-CHjZD8gR-Des-eS-w.js → jsonc-Des-eS-w.js} +0 -0
  739. /package/dist/assets/{jsonl-BGuvDmy9-DcaNXYhu.js → jsonl-DcaNXYhu.js} +0 -0
  740. /package/dist/assets/{jsonnet-Bx2cfsXg-DFQXde-d.js → jsonnet-DFQXde-d.js} +0 -0
  741. /package/dist/assets/{jssm-BcADi6EI-C2t-YnRu.js → jssm-C2t-YnRu.js} +0 -0
  742. /package/dist/assets/{jsx-BtKADgXT-g9-lgVsj.js → jsx-g9-lgVsj.js} +0 -0
  743. /package/dist/assets/{kanagawa-dragon-CiKur4Hl-CkXjmgJE.js → kanagawa-dragon-CkXjmgJE.js} +0 -0
  744. /package/dist/assets/{kanagawa-lotus-BKu-smKu-CfQXZHmo.js → kanagawa-lotus-CfQXZHmo.js} +0 -0
  745. /package/dist/assets/{kanagawa-wave-CQwozSzG-DWedfzmr.js → kanagawa-wave-DWedfzmr.js} +0 -0
  746. /package/dist/assets/{kotlin-ByBMgTeR-BdnUsdx6.js → kotlin-BdnUsdx6.js} +0 -0
  747. /package/dist/assets/{kusto-DH_XitHS-DZf3V79B.js → kusto-DZf3V79B.js} +0 -0
  748. /package/dist/assets/{laserwave-6a00oqik-DUszq2jm.js → laserwave-DUszq2jm.js} +0 -0
  749. /package/dist/assets/{lean-BnVxaZxY-BZvkOJ9d.js → lean-BZvkOJ9d.js} +0 -0
  750. /package/dist/assets/{less-B1GLI2Di-B1dDrJ26.js → less-B1dDrJ26.js} +0 -0
  751. /package/dist/assets/{light-plus-CZuVqSLX-B7mTdjB0.js → light-plus-B7mTdjB0.js} +0 -0
  752. /package/dist/assets/{llvm-co1rIKs3-BtvRca6l.js → llvm-BtvRca6l.js} +0 -0
  753. /package/dist/assets/{log-Al8wyEFV-2UxHyX5q.js → log-2UxHyX5q.js} +0 -0
  754. /package/dist/assets/{logo-DBa4JDzV-BtOb2qkB.js → logo-BtOb2qkB.js} +0 -0
  755. /package/dist/assets/{luau-UQyhudEE-C-HG3fhB.js → luau-C-HG3fhB.js} +0 -0
  756. /package/dist/assets/{make-CsMclxtr-CHLpvVh8.js → make-CHLpvVh8.js} +0 -0
  757. /package/dist/assets/{markdown-CrScaQ96-Cvjx9yec.js → markdown-Cvjx9yec.js} +0 -0
  758. /package/dist/assets/{material-theme-D6KBX41T-D5KoaKCx.js → material-theme-D5KoaKCx.js} +0 -0
  759. /package/dist/assets/{material-theme-darker-CkRroheE-BfHTSMKl.js → material-theme-darker-BfHTSMKl.js} +0 -0
  760. /package/dist/assets/{material-theme-lighter-BUBw43Yz-B0m2ddpp.js → material-theme-lighter-B0m2ddpp.js} +0 -0
  761. /package/dist/assets/{material-theme-ocean-ClGX14Ja-CyktbL80.js → material-theme-ocean-CyktbL80.js} +0 -0
  762. /package/dist/assets/{material-theme-palenight-C1RVm8K1-Csfq5Kiy.js → material-theme-palenight-Csfq5Kiy.js} +0 -0
  763. /package/dist/assets/{matlab-BOAaUVP0-D7o27uSR.js → matlab-D7o27uSR.js} +0 -0
  764. /package/dist/assets/{mdx-BOhZZUJ8-Cmh6b_Ma.js → mdx-Cmh6b_Ma.js} +0 -0
  765. /package/dist/assets/{mermaid-C3rz4dYh-mWjccvbQ.js → mermaid-mWjccvbQ.js} +0 -0
  766. /package/dist/assets/{min-dark-C7ak0t6c-CafNBF8u.js → min-dark-CafNBF8u.js} +0 -0
  767. /package/dist/assets/{min-light-CKFxVcPp-CTRr51gU.js → min-light-CTRr51gU.js} +0 -0
  768. /package/dist/assets/{mipsasm-CTx18fBl-CKIfxQSi.js → mipsasm-CKIfxQSi.js} +0 -0
  769. /package/dist/assets/{mojo-CgKe2b8g-B93PlW-d.js → mojo-B93PlW-d.js} +0 -0
  770. /package/dist/assets/{monokai-C1KBYcO0-D4h5O-jR.js → monokai-D4h5O-jR.js} +0 -0
  771. /package/dist/assets/{moonbit-NVPuhMCm-Ba13S78F.js → moonbit-Ba13S78F.js} +0 -0
  772. /package/dist/assets/{move-F-dICmj2-Bu9oaDYs.js → move-Bu9oaDYs.js} +0 -0
  773. /package/dist/assets/{narrat-DmhDCBs--DRg8JJMk.js → narrat-DRg8JJMk.js} +0 -0
  774. /package/dist/assets/{nextflow-DmSVRGjG-BrzmwbiE.js → nextflow-BrzmwbiE.js} +0 -0
  775. /package/dist/assets/{night-owl-Bm2rzalh-C39BiMTA.js → night-owl-C39BiMTA.js} +0 -0
  776. /package/dist/assets/{nix-fTRXMGic-CwoSXNpI.js → nix-CwoSXNpI.js} +0 -0
  777. /package/dist/assets/{nord-CC5OiUXg-Ddv68eIx.js → nord-Ddv68eIx.js} +0 -0
  778. /package/dist/assets/{nushell-D8j3dhT--C-sUppwS.js → nushell-C-sUppwS.js} +0 -0
  779. /package/dist/assets/{objective-c-Itk8tzmv-DXmwc3jG.js → objective-c-DXmwc3jG.js} +0 -0
  780. /package/dist/assets/{objective-cpp-DGt5UKRO-CLxacb5B.js → objective-cpp-CLxacb5B.js} +0 -0
  781. /package/dist/assets/{ocaml-eSVK32Eg-C0hk2d4L.js → ocaml-C0hk2d4L.js} +0 -0
  782. /package/dist/assets/{one-dark-pro-DTA3VF0_-DVMEJ2y_.js → one-dark-pro-DVMEJ2y_.js} +0 -0
  783. /package/dist/assets/{one-light-D9sNaUtq-PoHY5YXO.js → one-light-PoHY5YXO.js} +0 -0
  784. /package/dist/assets/{openscad-Sp5uZ6f2-C4EeE6gA.js → openscad-C4EeE6gA.js} +0 -0
  785. /package/dist/assets/{pascal-xy8pJNns-D93ZcfNL.js → pascal-D93ZcfNL.js} +0 -0
  786. /package/dist/assets/{pkl-C-zSNmaA-u5AG7uiY.js → pkl-u5AG7uiY.js} +0 -0
  787. /package/dist/assets/{plastic-CSTz3KZp-3e1v2bzS.js → plastic-3e1v2bzS.js} +0 -0
  788. /package/dist/assets/{plsql-pVbGZfOv-ChMvpjG-.js → plsql-ChMvpjG-.js} +0 -0
  789. /package/dist/assets/{po-BNfHvqmm-BTJTHyun.js → po-BTJTHyun.js} +0 -0
  790. /package/dist/assets/{poimandres-C-VADXHD-CS3Unz2-.js → poimandres-CS3Unz2-.js} +0 -0
  791. /package/dist/assets/{polar-CAZahv3u-C0HS_06l.js → polar-C0HS_06l.js} +0 -0
  792. /package/dist/assets/{postcss-05aHdL-n-CXtECtnM.js → postcss-CXtECtnM.js} +0 -0
  793. /package/dist/assets/{powerquery-DI9HkTvs-CEu0bR-o.js → powerquery-CEu0bR-o.js} +0 -0
  794. /package/dist/assets/{powershell-Clc4ydu--Dpen1YoG.js → powershell-Dpen1YoG.js} +0 -0
  795. /package/dist/assets/{prisma-FZjmVtSl-Dd19v3D-.js → prisma-Dd19v3D-.js} +0 -0
  796. /package/dist/assets/{prolog-C5-yg4TO-CbFg5uaA.js → prolog-CbFg5uaA.js} +0 -0
  797. /package/dist/assets/{proto-C7QgialS-C7zT0LnQ.js → proto-C7zT0LnQ.js} +0 -0
  798. /package/dist/assets/{puppet-CUJHmnxV-BMWR74SV.js → puppet-BMWR74SV.js} +0 -0
  799. /package/dist/assets/{purescript-rUfGld-4-CklMAg4u.js → purescript-CklMAg4u.js} +0 -0
  800. /package/dist/assets/{python-BFNSHbwJ-B6aJPvgy.js → python-B6aJPvgy.js} +0 -0
  801. /package/dist/assets/{qmldir-BInDYbpo-C8lEn-DE.js → qmldir-C8lEn-DE.js} +0 -0
  802. /package/dist/assets/{qss-AeJTysr_-IeuSbFQv.js → qss-IeuSbFQv.js} +0 -0
  803. /package/dist/assets/{r-CSmzDPi7-Dspwwk_N.js → r-Dspwwk_N.js} +0 -0
  804. /package/dist/assets/{racket-B83wSAja-BqYA7rlc.js → racket-BqYA7rlc.js} +0 -0
  805. /package/dist/assets/{raku-nEQ4ZJJ7-DXvB9xmW.js → raku-DXvB9xmW.js} +0 -0
  806. /package/dist/assets/{red-7y8PH7HH-bN70gL4F.js → red-bN70gL4F.js} +0 -0
  807. /package/dist/assets/{reg-m_s_Kiip-C-SQnVFl.js → reg-C-SQnVFl.js} +0 -0
  808. /package/dist/assets/{regexp-BazyLpPg-CDVJQ6XC.js → regexp-CDVJQ6XC.js} +0 -0
  809. /package/dist/assets/{rel-BcRfyd6Q-C3B-1QV4.js → rel-C3B-1QV4.js} +0 -0
  810. /package/dist/assets/{riscv-Ce8MAQLP-BM1_JUlF.js → riscv-BM1_JUlF.js} +0 -0
  811. /package/dist/assets/{rose-pine-dawn-BulJcPZT-DHQR4-dF.js → rose-pine-dawn-DHQR4-dF.js} +0 -0
  812. /package/dist/assets/{rose-pine-moon-j6jiXKV8-D4_iv3hh.js → rose-pine-moon-D4_iv3hh.js} +0 -0
  813. /package/dist/assets/{rose-pine-BKc3yVeu-qdsjHGoJ.js → rose-pine-qdsjHGoJ.js} +0 -0
  814. /package/dist/assets/{rosmsg-Cz0w1km8-BJDFO7_C.js → rosmsg-BJDFO7_C.js} +0 -0
  815. /package/dist/assets/{rust-CLzF9zIN-B1yitclQ.js → rust-B1yitclQ.js} +0 -0
  816. /package/dist/assets/{sass-DxHp5rTx-Cj5Yp3dK.js → sass-Cj5Yp3dK.js} +0 -0
  817. /package/dist/assets/{scala-D4grkFkl-C151Ov-r.js → scala-C151Ov-r.js} +0 -0
  818. /package/dist/assets/{scheme-BCRWuEm4-C98Dy4si.js → scheme-C98Dy4si.js} +0 -0
  819. /package/dist/assets/{sdbl-B7T8abf4-DVxCFoDh.js → sdbl-DVxCFoDh.js} +0 -0
  820. /package/dist/assets/{shellscript-InADTalH-Yzrsuije.js → shellscript-Yzrsuije.js} +0 -0
  821. /package/dist/assets/{slack-dark-i7wN4OET-BthQWCQV.js → slack-dark-BthQWCQV.js} +0 -0
  822. /package/dist/assets/{slack-ochin-ndHf0LoP-DqwNpetd.js → slack-ochin-DqwNpetd.js} +0 -0
  823. /package/dist/assets/{smalltalk-BlI1_OkM-BERRCDM3.js → smalltalk-BERRCDM3.js} +0 -0
  824. /package/dist/assets/{snazzy-light-BlSJXAu4-Bw305WKR.js → snazzy-light-Bw305WKR.js} +0 -0
  825. /package/dist/assets/{solarized-dark-UTmkh7lw-DXbdFlpD.js → solarized-dark-DXbdFlpD.js} +0 -0
  826. /package/dist/assets/{solarized-light-BheCkDPT-L9t79GZl.js → solarized-light-L9t79GZl.js} +0 -0
  827. /package/dist/assets/{solidity-DUWnFhS6-rGO070M0.js → solidity-rGO070M0.js} +0 -0
  828. /package/dist/assets/{splunk-CRXR8A9s-BtCnVYZw.js → splunk-BtCnVYZw.js} +0 -0
  829. /package/dist/assets/{sql-Cn_v3PB0-BLtJtn59.js → sql-BLtJtn59.js} +0 -0
  830. /package/dist/assets/{ssh-config-DP-hNVbF-_ykCGR6B.js → ssh-config-_ykCGR6B.js} +0 -0
  831. /package/dist/assets/{stylus-CyKEU1Ej-BEDo0Tqx.js → stylus-BEDo0Tqx.js} +0 -0
  832. /package/dist/assets/{swift-9UzSvamq-Dg5xB15N.js → swift-Dg5xB15N.js} +0 -0
  833. /package/dist/assets/{synthwave-84-NU3C_KFZ-CbfX1IO0.js → synthwave-84-CbfX1IO0.js} +0 -0
  834. /package/dist/assets/{system-verilog-BCm7smPJ-CnnmHF94.js → system-verilog-CnnmHF94.js} +0 -0
  835. /package/dist/assets/{systemd-C-4qm6XH-4A_iFExJ.js → systemd-4A_iFExJ.js} +0 -0
  836. /package/dist/assets/{tasl-Cg_WBUAe-QIJgUcNo.js → tasl-QIJgUcNo.js} +0 -0
  837. /package/dist/assets/{tcl-DN7buRTF-dwOrl1Do.js → tcl-dwOrl1Do.js} +0 -0
  838. /package/dist/assets/{terraform-DGvcn9zM-BETggiCN.js → terraform-BETggiCN.js} +0 -0
  839. /package/dist/assets/{tokyo-night-DP4TmcQl-hegEt444.js → tokyo-night-hegEt444.js} +0 -0
  840. /package/dist/assets/{toml-DY62mUL_-vGWfd6FD.js → toml-vGWfd6FD.js} +0 -0
  841. /package/dist/assets/{tsv-BtvSkaG0-B_m7g4N7.js → tsv-B_m7g4N7.js} +0 -0
  842. /package/dist/assets/{tsx-B8rCNbgL-COt5Ahok.js → tsx-COt5Ahok.js} +0 -0
  843. /package/dist/assets/{turtle-_H59FV7D-BsS91CYL.js → turtle-BsS91CYL.js} +0 -0
  844. /package/dist/assets/{typescript-RycA9KXf-BPQ3VLAy.js → typescript-BPQ3VLAy.js} +0 -0
  845. /package/dist/assets/{typespec-DWqp-kUU-BGHnOYBU.js → typespec-BGHnOYBU.js} +0 -0
  846. /package/dist/assets/{typst-D_1QKWns-DHCkPAjA.js → typst-DHCkPAjA.js} +0 -0
  847. /package/dist/assets/{v-BPCNiyYe-BcVCzyr7.js → v-BcVCzyr7.js} +0 -0
  848. /package/dist/assets/{vala-uxaPR7d1-CsfeWuGM.js → vala-CsfeWuGM.js} +0 -0
  849. /package/dist/assets/{vb-D8_c5-KN-D17OF-Vu.js → vb-D17OF-Vu.js} +0 -0
  850. /package/dist/assets/{verilog-B-bybjPF-BQ8w6xss.js → verilog-BQ8w6xss.js} +0 -0
  851. /package/dist/assets/{vesper-BckBta1U-DU1UobuO.js → vesper-DU1UobuO.js} +0 -0
  852. /package/dist/assets/{vhdl-CUlNa8ac-CeAyd5Ju.js → vhdl-CeAyd5Ju.js} +0 -0
  853. /package/dist/assets/{viml-DsfA-sWm-CJc9bBzg.js → viml-CJc9bBzg.js} +0 -0
  854. /package/dist/assets/{vitesse-black-BoGvW84i-Bkuqu6BP.js → vitesse-black-Bkuqu6BP.js} +0 -0
  855. /package/dist/assets/{vitesse-dark-Cym-eLtO-D0r3Knsf.js → vitesse-dark-D0r3Knsf.js} +0 -0
  856. /package/dist/assets/{vitesse-light-CcmG315c-CVO1_9PV.js → vitesse-light-CVO1_9PV.js} +0 -0
  857. /package/dist/assets/{vyper-CPQuu50u-CDx5xZoG.js → vyper-CDx5xZoG.js} +0 -0
  858. /package/dist/assets/{wasm-DQxwEHae-CG6Dc4jp.js → wasm-CG6Dc4jp.js} +0 -0
  859. /package/dist/assets/{wasm-BBXxrAl7-MzD3tlZU.js → wasm-MzD3tlZU.js} +0 -0
  860. /package/dist/assets/{wenyan-pbVjoM9_-BV7otONQ.js → wenyan-BV7otONQ.js} +0 -0
  861. /package/dist/assets/{wgsl-DY4iK1q1-Dx-B1_4e.js → wgsl-Dx-B1_4e.js} +0 -0
  862. /package/dist/assets/{wikitext-Z-MoUasO-BhOHFoWU.js → wikitext-BhOHFoWU.js} +0 -0
  863. /package/dist/assets/{wit-CQMQOlTg-5i3qLPDT.js → wit-5i3qLPDT.js} +0 -0
  864. /package/dist/assets/{wolfram-Dz4KXISs-lXgVvXCa.js → wolfram-lXgVvXCa.js} +0 -0
  865. /package/dist/assets/{yaml-DaO7k5B1-Buea-lGh.js → yaml-Buea-lGh.js} +0 -0
  866. /package/dist/assets/{zenscript-CxBjpf9c-DVFEvuxE.js → zenscript-DVFEvuxE.js} +0 -0
  867. /package/dist/assets/{zig-Vm0PO9wB-VOosw3JB.js → zig-VOosw3JB.js} +0 -0
@@ -0,0 +1,1340 @@
1
+ import { _ as a, s as gi, g as xi, q as Xt, p as di, a as fi, b as pi, l as Nt, H as mi, e as yi, y as bi, E as St, D as Yt, F as Ai, K as wi, i as Ci, aA as Si, R as Wt } from "./index-iCTLJvaV.js";
2
+ import { i as _i } from "./init-DjUOC4st.js";
3
+ import { o as ki } from "./ordinal-B6-f3MAq.js";
4
+ import { l as zt } from "./linear-D6e8ml0A.js";
5
+ function Ri(e, t, i) {
6
+ e = +e, t = +t, i = (n = arguments.length) < 2 ? (t = e, e = 0, 1) : n < 3 ? 1 : +i;
7
+ for (var s = -1, n = Math.max(0, Math.ceil((t - e) / i)) | 0, o = new Array(n); ++s < n; )
8
+ o[s] = e + s * i;
9
+ return o;
10
+ }
11
+ function yt() {
12
+ var e = ki().unknown(void 0), t = e.domain, i = e.range, s = 0, n = 1, o, g, m = !1, p = 0, k = 0, v = 0.5;
13
+ delete e.unknown;
14
+ function C() {
15
+ var b = t().length, E = n < s, D = E ? n : s, P = E ? s : n;
16
+ o = (P - D) / Math.max(1, b - p + k * 2), m && (o = Math.floor(o)), D += (P - D - o * (b - p)) * v, g = o * (1 - p), m && (D = Math.round(D), g = Math.round(g));
17
+ var I = Ri(b).map(function(y) {
18
+ return D + o * y;
19
+ });
20
+ return i(E ? I.reverse() : I);
21
+ }
22
+ return e.domain = function(b) {
23
+ return arguments.length ? (t(b), C()) : t();
24
+ }, e.range = function(b) {
25
+ return arguments.length ? ([s, n] = b, s = +s, n = +n, C()) : [s, n];
26
+ }, e.rangeRound = function(b) {
27
+ return [s, n] = b, s = +s, n = +n, m = !0, C();
28
+ }, e.bandwidth = function() {
29
+ return g;
30
+ }, e.step = function() {
31
+ return o;
32
+ }, e.round = function(b) {
33
+ return arguments.length ? (m = !!b, C()) : m;
34
+ }, e.padding = function(b) {
35
+ return arguments.length ? (p = Math.min(1, k = +b), C()) : p;
36
+ }, e.paddingInner = function(b) {
37
+ return arguments.length ? (p = Math.min(1, b), C()) : p;
38
+ }, e.paddingOuter = function(b) {
39
+ return arguments.length ? (k = +b, C()) : k;
40
+ }, e.align = function(b) {
41
+ return arguments.length ? (v = Math.max(0, Math.min(1, b)), C()) : v;
42
+ }, e.copy = function() {
43
+ return yt(t(), [s, n]).round(m).paddingInner(p).paddingOuter(k).align(v);
44
+ }, _i.apply(C(), arguments);
45
+ }
46
+ var bt = (function() {
47
+ var e = /* @__PURE__ */ a(function(F, h, u, x) {
48
+ for (u = u || {}, x = F.length; x--; u[F[x]] = h) ;
49
+ return u;
50
+ }, "o"), t = [1, 10, 12, 14, 16, 18, 19, 21, 23], i = [2, 6], s = [1, 3], n = [1, 5], o = [1, 6], g = [1, 7], m = [1, 5, 10, 12, 14, 16, 18, 19, 21, 23, 34, 35, 36], p = [1, 25], k = [1, 26], v = [1, 28], C = [1, 29], b = [1, 30], E = [1, 31], D = [1, 32], P = [1, 33], I = [1, 34], y = [1, 35], _ = [1, 36], c = [1, 37], W = [1, 43], z = [1, 42], U = [1, 47], X = [1, 50], l = [1, 10, 12, 14, 16, 18, 19, 21, 23, 34, 35, 36], L = [1, 10, 12, 14, 16, 18, 19, 21, 23, 24, 26, 27, 28, 34, 35, 36], S = [1, 10, 12, 14, 16, 18, 19, 21, 23, 24, 26, 27, 28, 34, 35, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50], R = [1, 64], $ = {
51
+ trace: /* @__PURE__ */ a(function() {
52
+ }, "trace"),
53
+ yy: {},
54
+ symbols_: { error: 2, start: 3, eol: 4, XYCHART: 5, chartConfig: 6, document: 7, CHART_ORIENTATION: 8, statement: 9, title: 10, text: 11, X_AXIS: 12, parseXAxis: 13, Y_AXIS: 14, parseYAxis: 15, LINE: 16, plotData: 17, BAR: 18, acc_title: 19, acc_title_value: 20, acc_descr: 21, acc_descr_value: 22, acc_descr_multiline_value: 23, SQUARE_BRACES_START: 24, commaSeparatedNumbers: 25, SQUARE_BRACES_END: 26, NUMBER_WITH_DECIMAL: 27, COMMA: 28, xAxisData: 29, bandData: 30, ARROW_DELIMITER: 31, commaSeparatedTexts: 32, yAxisData: 33, NEWLINE: 34, SEMI: 35, EOF: 36, alphaNum: 37, STR: 38, MD_STR: 39, alphaNumToken: 40, AMP: 41, NUM: 42, ALPHA: 43, PLUS: 44, EQUALS: 45, MULT: 46, DOT: 47, BRKT: 48, MINUS: 49, UNDERSCORE: 50, $accept: 0, $end: 1 },
55
+ terminals_: { 2: "error", 5: "XYCHART", 8: "CHART_ORIENTATION", 10: "title", 12: "X_AXIS", 14: "Y_AXIS", 16: "LINE", 18: "BAR", 19: "acc_title", 20: "acc_title_value", 21: "acc_descr", 22: "acc_descr_value", 23: "acc_descr_multiline_value", 24: "SQUARE_BRACES_START", 26: "SQUARE_BRACES_END", 27: "NUMBER_WITH_DECIMAL", 28: "COMMA", 31: "ARROW_DELIMITER", 34: "NEWLINE", 35: "SEMI", 36: "EOF", 38: "STR", 39: "MD_STR", 41: "AMP", 42: "NUM", 43: "ALPHA", 44: "PLUS", 45: "EQUALS", 46: "MULT", 47: "DOT", 48: "BRKT", 49: "MINUS", 50: "UNDERSCORE" },
56
+ productions_: [0, [3, 2], [3, 3], [3, 2], [3, 1], [6, 1], [7, 0], [7, 2], [9, 2], [9, 2], [9, 2], [9, 2], [9, 2], [9, 3], [9, 2], [9, 3], [9, 2], [9, 2], [9, 1], [17, 3], [25, 3], [25, 1], [13, 1], [13, 2], [13, 1], [29, 1], [29, 3], [30, 3], [32, 3], [32, 1], [15, 1], [15, 2], [15, 1], [33, 3], [4, 1], [4, 1], [4, 1], [11, 1], [11, 1], [11, 1], [37, 1], [37, 2], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1]],
57
+ performAction: /* @__PURE__ */ a(function(h, u, x, d, w, r, at) {
58
+ var f = r.length - 1;
59
+ switch (w) {
60
+ case 5:
61
+ d.setOrientation(r[f]);
62
+ break;
63
+ case 9:
64
+ d.setDiagramTitle(r[f].text.trim());
65
+ break;
66
+ case 12:
67
+ d.setLineData({ text: "", type: "text" }, r[f]);
68
+ break;
69
+ case 13:
70
+ d.setLineData(r[f - 1], r[f]);
71
+ break;
72
+ case 14:
73
+ d.setBarData({ text: "", type: "text" }, r[f]);
74
+ break;
75
+ case 15:
76
+ d.setBarData(r[f - 1], r[f]);
77
+ break;
78
+ case 16:
79
+ this.$ = r[f].trim(), d.setAccTitle(this.$);
80
+ break;
81
+ case 17:
82
+ case 18:
83
+ this.$ = r[f].trim(), d.setAccDescription(this.$);
84
+ break;
85
+ case 19:
86
+ this.$ = r[f - 1];
87
+ break;
88
+ case 20:
89
+ this.$ = [Number(r[f - 2]), ...r[f]];
90
+ break;
91
+ case 21:
92
+ this.$ = [Number(r[f])];
93
+ break;
94
+ case 22:
95
+ d.setXAxisTitle(r[f]);
96
+ break;
97
+ case 23:
98
+ d.setXAxisTitle(r[f - 1]);
99
+ break;
100
+ case 24:
101
+ d.setXAxisTitle({ type: "text", text: "" });
102
+ break;
103
+ case 25:
104
+ d.setXAxisBand(r[f]);
105
+ break;
106
+ case 26:
107
+ d.setXAxisRangeData(Number(r[f - 2]), Number(r[f]));
108
+ break;
109
+ case 27:
110
+ this.$ = r[f - 1];
111
+ break;
112
+ case 28:
113
+ this.$ = [r[f - 2], ...r[f]];
114
+ break;
115
+ case 29:
116
+ this.$ = [r[f]];
117
+ break;
118
+ case 30:
119
+ d.setYAxisTitle(r[f]);
120
+ break;
121
+ case 31:
122
+ d.setYAxisTitle(r[f - 1]);
123
+ break;
124
+ case 32:
125
+ d.setYAxisTitle({ type: "text", text: "" });
126
+ break;
127
+ case 33:
128
+ d.setYAxisRangeData(Number(r[f - 2]), Number(r[f]));
129
+ break;
130
+ case 37:
131
+ this.$ = { text: r[f], type: "text" };
132
+ break;
133
+ case 38:
134
+ this.$ = { text: r[f], type: "text" };
135
+ break;
136
+ case 39:
137
+ this.$ = { text: r[f], type: "markdown" };
138
+ break;
139
+ case 40:
140
+ this.$ = r[f];
141
+ break;
142
+ case 41:
143
+ this.$ = r[f - 1] + "" + r[f];
144
+ break;
145
+ }
146
+ }, "anonymous"),
147
+ table: [e(t, i, { 3: 1, 4: 2, 7: 4, 5: s, 34: n, 35: o, 36: g }), { 1: [3] }, e(t, i, { 4: 2, 7: 4, 3: 8, 5: s, 34: n, 35: o, 36: g }), e(t, i, { 4: 2, 7: 4, 6: 9, 3: 10, 5: s, 8: [1, 11], 34: n, 35: o, 36: g }), { 1: [2, 4], 9: 12, 10: [1, 13], 12: [1, 14], 14: [1, 15], 16: [1, 16], 18: [1, 17], 19: [1, 18], 21: [1, 19], 23: [1, 20] }, e(m, [2, 34]), e(m, [2, 35]), e(m, [2, 36]), { 1: [2, 1] }, e(t, i, { 4: 2, 7: 4, 3: 21, 5: s, 34: n, 35: o, 36: g }), { 1: [2, 3] }, e(m, [2, 5]), e(t, [2, 7], { 4: 22, 34: n, 35: o, 36: g }), { 11: 23, 37: 24, 38: p, 39: k, 40: 27, 41: v, 42: C, 43: b, 44: E, 45: D, 46: P, 47: I, 48: y, 49: _, 50: c }, { 11: 39, 13: 38, 24: W, 27: z, 29: 40, 30: 41, 37: 24, 38: p, 39: k, 40: 27, 41: v, 42: C, 43: b, 44: E, 45: D, 46: P, 47: I, 48: y, 49: _, 50: c }, { 11: 45, 15: 44, 27: U, 33: 46, 37: 24, 38: p, 39: k, 40: 27, 41: v, 42: C, 43: b, 44: E, 45: D, 46: P, 47: I, 48: y, 49: _, 50: c }, { 11: 49, 17: 48, 24: X, 37: 24, 38: p, 39: k, 40: 27, 41: v, 42: C, 43: b, 44: E, 45: D, 46: P, 47: I, 48: y, 49: _, 50: c }, { 11: 52, 17: 51, 24: X, 37: 24, 38: p, 39: k, 40: 27, 41: v, 42: C, 43: b, 44: E, 45: D, 46: P, 47: I, 48: y, 49: _, 50: c }, { 20: [1, 53] }, { 22: [1, 54] }, e(l, [2, 18]), { 1: [2, 2] }, e(l, [2, 8]), e(l, [2, 9]), e(L, [2, 37], { 40: 55, 41: v, 42: C, 43: b, 44: E, 45: D, 46: P, 47: I, 48: y, 49: _, 50: c }), e(L, [2, 38]), e(L, [2, 39]), e(S, [2, 40]), e(S, [2, 42]), e(S, [2, 43]), e(S, [2, 44]), e(S, [2, 45]), e(S, [2, 46]), e(S, [2, 47]), e(S, [2, 48]), e(S, [2, 49]), e(S, [2, 50]), e(S, [2, 51]), e(l, [2, 10]), e(l, [2, 22], { 30: 41, 29: 56, 24: W, 27: z }), e(l, [2, 24]), e(l, [2, 25]), { 31: [1, 57] }, { 11: 59, 32: 58, 37: 24, 38: p, 39: k, 40: 27, 41: v, 42: C, 43: b, 44: E, 45: D, 46: P, 47: I, 48: y, 49: _, 50: c }, e(l, [2, 11]), e(l, [2, 30], { 33: 60, 27: U }), e(l, [2, 32]), { 31: [1, 61] }, e(l, [2, 12]), { 17: 62, 24: X }, { 25: 63, 27: R }, e(l, [2, 14]), { 17: 65, 24: X }, e(l, [2, 16]), e(l, [2, 17]), e(S, [2, 41]), e(l, [2, 23]), { 27: [1, 66] }, { 26: [1, 67] }, { 26: [2, 29], 28: [1, 68] }, e(l, [2, 31]), { 27: [1, 69] }, e(l, [2, 13]), { 26: [1, 70] }, { 26: [2, 21], 28: [1, 71] }, e(l, [2, 15]), e(l, [2, 26]), e(l, [2, 27]), { 11: 59, 32: 72, 37: 24, 38: p, 39: k, 40: 27, 41: v, 42: C, 43: b, 44: E, 45: D, 46: P, 47: I, 48: y, 49: _, 50: c }, e(l, [2, 33]), e(l, [2, 19]), { 25: 73, 27: R }, { 26: [2, 28] }, { 26: [2, 20] }],
148
+ defaultActions: { 8: [2, 1], 10: [2, 3], 21: [2, 2], 72: [2, 28], 73: [2, 20] },
149
+ parseError: /* @__PURE__ */ a(function(h, u) {
150
+ if (u.recoverable)
151
+ this.trace(h);
152
+ else {
153
+ var x = new Error(h);
154
+ throw x.hash = u, x;
155
+ }
156
+ }, "parseError"),
157
+ parse: /* @__PURE__ */ a(function(h) {
158
+ var u = this, x = [0], d = [], w = [null], r = [], at = this.table, f = "", lt = 0, It = 0, hi = 2, Mt = 1, li = r.slice.call(arguments, 1), T = Object.create(this.lexer), Y = { yy: {} };
159
+ for (var dt in this.yy)
160
+ Object.prototype.hasOwnProperty.call(this.yy, dt) && (Y.yy[dt] = this.yy[dt]);
161
+ T.setInput(h, Y.yy), Y.yy.lexer = T, Y.yy.parser = this, typeof T.yylloc > "u" && (T.yylloc = {});
162
+ var ft = T.yylloc;
163
+ r.push(ft);
164
+ var ci = T.options && T.options.ranges;
165
+ typeof Y.yy.parseError == "function" ? this.parseError = Y.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
166
+ function ui(V) {
167
+ x.length = x.length - 2 * V, w.length = w.length - V, r.length = r.length - V;
168
+ }
169
+ a(ui, "popStack");
170
+ function Vt() {
171
+ var V;
172
+ return V = d.pop() || T.lex() || Mt, typeof V != "number" && (V instanceof Array && (d = V, V = d.pop()), V = u.symbols_[V] || V), V;
173
+ }
174
+ a(Vt, "lex");
175
+ for (var M, H, B, pt, q = {}, ct, O, Bt, ut; ; ) {
176
+ if (H = x[x.length - 1], this.defaultActions[H] ? B = this.defaultActions[H] : ((M === null || typeof M > "u") && (M = Vt()), B = at[H] && at[H][M]), typeof B > "u" || !B.length || !B[0]) {
177
+ var mt = "";
178
+ ut = [];
179
+ for (ct in at[H])
180
+ this.terminals_[ct] && ct > hi && ut.push("'" + this.terminals_[ct] + "'");
181
+ T.showPosition ? mt = "Parse error on line " + (lt + 1) + `:
182
+ ` + T.showPosition() + `
183
+ Expecting ` + ut.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : mt = "Parse error on line " + (lt + 1) + ": Unexpected " + (M == Mt ? "end of input" : "'" + (this.terminals_[M] || M) + "'"), this.parseError(mt, {
184
+ text: T.match,
185
+ token: this.terminals_[M] || M,
186
+ line: T.yylineno,
187
+ loc: ft,
188
+ expected: ut
189
+ });
190
+ }
191
+ if (B[0] instanceof Array && B.length > 1)
192
+ throw new Error("Parse Error: multiple actions possible at state: " + H + ", token: " + M);
193
+ switch (B[0]) {
194
+ case 1:
195
+ x.push(M), w.push(T.yytext), r.push(T.yylloc), x.push(B[1]), M = null, It = T.yyleng, f = T.yytext, lt = T.yylineno, ft = T.yylloc;
196
+ break;
197
+ case 2:
198
+ if (O = this.productions_[B[1]][1], q.$ = w[w.length - O], q._$ = {
199
+ first_line: r[r.length - (O || 1)].first_line,
200
+ last_line: r[r.length - 1].last_line,
201
+ first_column: r[r.length - (O || 1)].first_column,
202
+ last_column: r[r.length - 1].last_column
203
+ }, ci && (q._$.range = [
204
+ r[r.length - (O || 1)].range[0],
205
+ r[r.length - 1].range[1]
206
+ ]), pt = this.performAction.apply(q, [
207
+ f,
208
+ It,
209
+ lt,
210
+ Y.yy,
211
+ B[1],
212
+ w,
213
+ r
214
+ ].concat(li)), typeof pt < "u")
215
+ return pt;
216
+ O && (x = x.slice(0, -1 * O * 2), w = w.slice(0, -1 * O), r = r.slice(0, -1 * O)), x.push(this.productions_[B[1]][0]), w.push(q.$), r.push(q._$), Bt = at[x[x.length - 2]][x[x.length - 1]], x.push(Bt);
217
+ break;
218
+ case 3:
219
+ return !0;
220
+ }
221
+ }
222
+ return !0;
223
+ }, "parse")
224
+ }, Et = /* @__PURE__ */ (function() {
225
+ var F = {
226
+ EOF: 1,
227
+ parseError: /* @__PURE__ */ a(function(u, x) {
228
+ if (this.yy.parser)
229
+ this.yy.parser.parseError(u, x);
230
+ else
231
+ throw new Error(u);
232
+ }, "parseError"),
233
+ // resets the lexer, sets new input
234
+ setInput: /* @__PURE__ */ a(function(h, u) {
235
+ return this.yy = u || this.yy || {}, this._input = h, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
236
+ first_line: 1,
237
+ first_column: 0,
238
+ last_line: 1,
239
+ last_column: 0
240
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
241
+ }, "setInput"),
242
+ // consumes and returns one char from the input
243
+ input: /* @__PURE__ */ a(function() {
244
+ var h = this._input[0];
245
+ this.yytext += h, this.yyleng++, this.offset++, this.match += h, this.matched += h;
246
+ var u = h.match(/(?:\r\n?|\n).*/g);
247
+ return u ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), h;
248
+ }, "input"),
249
+ // unshifts one char (or a string) into the input
250
+ unput: /* @__PURE__ */ a(function(h) {
251
+ var u = h.length, x = h.split(/(?:\r\n?|\n)/g);
252
+ this._input = h + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - u), this.offset -= u;
253
+ var d = this.match.split(/(?:\r\n?|\n)/g);
254
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), x.length - 1 && (this.yylineno -= x.length - 1);
255
+ var w = this.yylloc.range;
256
+ return this.yylloc = {
257
+ first_line: this.yylloc.first_line,
258
+ last_line: this.yylineno + 1,
259
+ first_column: this.yylloc.first_column,
260
+ last_column: x ? (x.length === d.length ? this.yylloc.first_column : 0) + d[d.length - x.length].length - x[0].length : this.yylloc.first_column - u
261
+ }, this.options.ranges && (this.yylloc.range = [w[0], w[0] + this.yyleng - u]), this.yyleng = this.yytext.length, this;
262
+ }, "unput"),
263
+ // When called from action, caches matched text and appends it on next action
264
+ more: /* @__PURE__ */ a(function() {
265
+ return this._more = !0, this;
266
+ }, "more"),
267
+ // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
268
+ reject: /* @__PURE__ */ a(function() {
269
+ if (this.options.backtrack_lexer)
270
+ this._backtrack = !0;
271
+ else
272
+ 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).
273
+ ` + this.showPosition(), {
274
+ text: "",
275
+ token: null,
276
+ line: this.yylineno
277
+ });
278
+ return this;
279
+ }, "reject"),
280
+ // retain first n characters of the match
281
+ less: /* @__PURE__ */ a(function(h) {
282
+ this.unput(this.match.slice(h));
283
+ }, "less"),
284
+ // displays already matched input, i.e. for error messages
285
+ pastInput: /* @__PURE__ */ a(function() {
286
+ var h = this.matched.substr(0, this.matched.length - this.match.length);
287
+ return (h.length > 20 ? "..." : "") + h.substr(-20).replace(/\n/g, "");
288
+ }, "pastInput"),
289
+ // displays upcoming input, i.e. for error messages
290
+ upcomingInput: /* @__PURE__ */ a(function() {
291
+ var h = this.match;
292
+ return h.length < 20 && (h += this._input.substr(0, 20 - h.length)), (h.substr(0, 20) + (h.length > 20 ? "..." : "")).replace(/\n/g, "");
293
+ }, "upcomingInput"),
294
+ // displays the character position where the lexing error occurred, i.e. for error messages
295
+ showPosition: /* @__PURE__ */ a(function() {
296
+ var h = this.pastInput(), u = new Array(h.length + 1).join("-");
297
+ return h + this.upcomingInput() + `
298
+ ` + u + "^";
299
+ }, "showPosition"),
300
+ // test the lexed token: return FALSE when not a match, otherwise return token
301
+ test_match: /* @__PURE__ */ a(function(h, u) {
302
+ var x, d, w;
303
+ if (this.options.backtrack_lexer && (w = {
304
+ yylineno: this.yylineno,
305
+ yylloc: {
306
+ first_line: this.yylloc.first_line,
307
+ last_line: this.last_line,
308
+ first_column: this.yylloc.first_column,
309
+ last_column: this.yylloc.last_column
310
+ },
311
+ yytext: this.yytext,
312
+ match: this.match,
313
+ matches: this.matches,
314
+ matched: this.matched,
315
+ yyleng: this.yyleng,
316
+ offset: this.offset,
317
+ _more: this._more,
318
+ _input: this._input,
319
+ yy: this.yy,
320
+ conditionStack: this.conditionStack.slice(0),
321
+ done: this.done
322
+ }, this.options.ranges && (w.yylloc.range = this.yylloc.range.slice(0))), d = h[0].match(/(?:\r\n?|\n).*/g), d && (this.yylineno += d.length), this.yylloc = {
323
+ first_line: this.yylloc.last_line,
324
+ last_line: this.yylineno + 1,
325
+ first_column: this.yylloc.last_column,
326
+ last_column: d ? d[d.length - 1].length - d[d.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + h[0].length
327
+ }, this.yytext += h[0], this.match += h[0], this.matches = h, 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(h[0].length), this.matched += h[0], x = this.performAction.call(this, this.yy, this, u, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), x)
328
+ return x;
329
+ if (this._backtrack) {
330
+ for (var r in w)
331
+ this[r] = w[r];
332
+ return !1;
333
+ }
334
+ return !1;
335
+ }, "test_match"),
336
+ // return next match in input
337
+ next: /* @__PURE__ */ a(function() {
338
+ if (this.done)
339
+ return this.EOF;
340
+ this._input || (this.done = !0);
341
+ var h, u, x, d;
342
+ this._more || (this.yytext = "", this.match = "");
343
+ for (var w = this._currentRules(), r = 0; r < w.length; r++)
344
+ if (x = this._input.match(this.rules[w[r]]), x && (!u || x[0].length > u[0].length)) {
345
+ if (u = x, d = r, this.options.backtrack_lexer) {
346
+ if (h = this.test_match(x, w[r]), h !== !1)
347
+ return h;
348
+ if (this._backtrack) {
349
+ u = !1;
350
+ continue;
351
+ } else
352
+ return !1;
353
+ } else if (!this.options.flex)
354
+ break;
355
+ }
356
+ return u ? (h = this.test_match(u, w[d]), h !== !1 ? h : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
357
+ ` + this.showPosition(), {
358
+ text: "",
359
+ token: null,
360
+ line: this.yylineno
361
+ });
362
+ }, "next"),
363
+ // return next match that has a token
364
+ lex: /* @__PURE__ */ a(function() {
365
+ var u = this.next();
366
+ return u || this.lex();
367
+ }, "lex"),
368
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
369
+ begin: /* @__PURE__ */ a(function(u) {
370
+ this.conditionStack.push(u);
371
+ }, "begin"),
372
+ // pop the previously active lexer condition state off the condition stack
373
+ popState: /* @__PURE__ */ a(function() {
374
+ var u = this.conditionStack.length - 1;
375
+ return u > 0 ? this.conditionStack.pop() : this.conditionStack[0];
376
+ }, "popState"),
377
+ // produce the lexer rule set which is active for the currently active lexer condition state
378
+ _currentRules: /* @__PURE__ */ a(function() {
379
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
380
+ }, "_currentRules"),
381
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
382
+ topState: /* @__PURE__ */ a(function(u) {
383
+ return u = this.conditionStack.length - 1 - Math.abs(u || 0), u >= 0 ? this.conditionStack[u] : "INITIAL";
384
+ }, "topState"),
385
+ // alias for begin(condition)
386
+ pushState: /* @__PURE__ */ a(function(u) {
387
+ this.begin(u);
388
+ }, "pushState"),
389
+ // return the number of states currently on the stack
390
+ stateStackSize: /* @__PURE__ */ a(function() {
391
+ return this.conditionStack.length;
392
+ }, "stateStackSize"),
393
+ options: { "case-insensitive": !0 },
394
+ performAction: /* @__PURE__ */ a(function(u, x, d, w) {
395
+ switch (d) {
396
+ case 0:
397
+ break;
398
+ case 1:
399
+ break;
400
+ case 2:
401
+ return this.popState(), 34;
402
+ case 3:
403
+ return this.popState(), 34;
404
+ case 4:
405
+ return 34;
406
+ case 5:
407
+ break;
408
+ case 6:
409
+ return 10;
410
+ case 7:
411
+ return this.pushState("acc_title"), 19;
412
+ case 8:
413
+ return this.popState(), "acc_title_value";
414
+ case 9:
415
+ return this.pushState("acc_descr"), 21;
416
+ case 10:
417
+ return this.popState(), "acc_descr_value";
418
+ case 11:
419
+ this.pushState("acc_descr_multiline");
420
+ break;
421
+ case 12:
422
+ this.popState();
423
+ break;
424
+ case 13:
425
+ return "acc_descr_multiline_value";
426
+ case 14:
427
+ return 5;
428
+ case 15:
429
+ return 5;
430
+ case 16:
431
+ return 8;
432
+ case 17:
433
+ return this.pushState("axis_data"), "X_AXIS";
434
+ case 18:
435
+ return this.pushState("axis_data"), "Y_AXIS";
436
+ case 19:
437
+ return this.pushState("axis_band_data"), 24;
438
+ case 20:
439
+ return 31;
440
+ case 21:
441
+ return this.pushState("data"), 16;
442
+ case 22:
443
+ return this.pushState("data"), 18;
444
+ case 23:
445
+ return this.pushState("data_inner"), 24;
446
+ case 24:
447
+ return 27;
448
+ case 25:
449
+ return this.popState(), 26;
450
+ case 26:
451
+ this.popState();
452
+ break;
453
+ case 27:
454
+ this.pushState("string");
455
+ break;
456
+ case 28:
457
+ this.popState();
458
+ break;
459
+ case 29:
460
+ return "STR";
461
+ case 30:
462
+ return 24;
463
+ case 31:
464
+ return 26;
465
+ case 32:
466
+ return 43;
467
+ case 33:
468
+ return "COLON";
469
+ case 34:
470
+ return 44;
471
+ case 35:
472
+ return 28;
473
+ case 36:
474
+ return 45;
475
+ case 37:
476
+ return 46;
477
+ case 38:
478
+ return 48;
479
+ case 39:
480
+ return 50;
481
+ case 40:
482
+ return 47;
483
+ case 41:
484
+ return 41;
485
+ case 42:
486
+ return 49;
487
+ case 43:
488
+ return 42;
489
+ case 44:
490
+ break;
491
+ case 45:
492
+ return 35;
493
+ case 46:
494
+ return 36;
495
+ }
496
+ }, "anonymous"),
497
+ rules: [/^(?:%%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:(\r?\n))/i, /^(?:(\r?\n))/i, /^(?:[\n\r]+)/i, /^(?:%%[^\n]*)/i, /^(?:title\b)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:\{)/i, /^(?:[^\}]*)/i, /^(?:xychart-beta\b)/i, /^(?:xychart\b)/i, /^(?:(?:vertical|horizontal))/i, /^(?:x-axis\b)/i, /^(?:y-axis\b)/i, /^(?:\[)/i, /^(?:-->)/i, /^(?:line\b)/i, /^(?:bar\b)/i, /^(?:\[)/i, /^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i, /^(?:\])/i, /^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i, /^(?:["])/i, /^(?:["])/i, /^(?:[^"]*)/i, /^(?:\[)/i, /^(?:\])/i, /^(?:[A-Za-z]+)/i, /^(?::)/i, /^(?:\+)/i, /^(?:,)/i, /^(?:=)/i, /^(?:\*)/i, /^(?:#)/i, /^(?:[\_])/i, /^(?:\.)/i, /^(?:&)/i, /^(?:-)/i, /^(?:[0-9]+)/i, /^(?:\s+)/i, /^(?:;)/i, /^(?:$)/i],
498
+ conditions: { data_inner: { rules: [0, 1, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 21, 22, 24, 25, 26, 27, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46], inclusive: !0 }, data: { rules: [0, 1, 3, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 21, 22, 23, 26, 27, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46], inclusive: !0 }, axis_band_data: { rules: [0, 1, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 21, 22, 25, 26, 27, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46], inclusive: !0 }, axis_data: { rules: [0, 1, 2, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 26, 27, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46], inclusive: !0 }, acc_descr_multiline: { rules: [12, 13], inclusive: !1 }, acc_descr: { rules: [10], inclusive: !1 }, acc_title: { rules: [8], inclusive: !1 }, title: { rules: [], inclusive: !1 }, md_string: { rules: [], inclusive: !1 }, string: { rules: [28, 29], inclusive: !1 }, INITIAL: { rules: [0, 1, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 21, 22, 26, 27, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46], inclusive: !0 } }
499
+ };
500
+ return F;
501
+ })();
502
+ $.lexer = Et;
503
+ function N() {
504
+ this.yy = {};
505
+ }
506
+ return a(N, "Parser"), N.prototype = $, $.Parser = N, new N();
507
+ })();
508
+ bt.parser = bt;
509
+ var Ti = bt;
510
+ function At(e) {
511
+ return e.type === "bar";
512
+ }
513
+ a(At, "isBarPlot");
514
+ function _t(e) {
515
+ return e.type === "band";
516
+ }
517
+ a(_t, "isBandAxisData");
518
+ function G(e) {
519
+ return e.type === "linear";
520
+ }
521
+ a(G, "isLinearAxisData");
522
+ var j, Ht = (j = class {
523
+ constructor(t) {
524
+ this.parentGroup = t;
525
+ }
526
+ getMaxDimension(t, i) {
527
+ if (!this.parentGroup)
528
+ return {
529
+ width: t.reduce((o, g) => Math.max(g.length, o), 0) * i,
530
+ height: i
531
+ };
532
+ const s = {
533
+ width: 0,
534
+ height: 0
535
+ }, n = this.parentGroup.append("g").attr("visibility", "hidden").attr("font-size", i);
536
+ for (const o of t) {
537
+ const g = Si(n, 1, o), m = g ? g.width : o.length * i, p = g ? g.height : i;
538
+ s.width = Math.max(s.width, m), s.height = Math.max(s.height, p);
539
+ }
540
+ return n.remove(), s;
541
+ }
542
+ }, a(j, "TextDimensionCalculatorWithFont"), j), Ft = 0.7, Ot = 0.2, Q, Ut = (Q = class {
543
+ constructor(t, i, s, n) {
544
+ this.axisConfig = t, this.title = i, this.textDimensionCalculator = s, this.axisThemeConfig = n, this.boundingRect = { x: 0, y: 0, width: 0, height: 0 }, 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 = { x: 0, y: 0, width: 0, height: 0 }, this.axisPosition = "left";
545
+ }
546
+ setRange(t) {
547
+ this.range = t, this.axisPosition === "left" || this.axisPosition === "right" ? this.boundingRect.height = t[1] - t[0] : this.boundingRect.width = t[1] - t[0], this.recalculateScale();
548
+ }
549
+ getRange() {
550
+ return [this.range[0] + this.outerPadding, this.range[1] - this.outerPadding];
551
+ }
552
+ setAxisPosition(t) {
553
+ this.axisPosition = t, this.setRange(this.range);
554
+ }
555
+ getTickDistance() {
556
+ const t = this.getRange();
557
+ return Math.abs(t[0] - t[1]) / this.getTickValues().length;
558
+ }
559
+ getAxisOuterPadding() {
560
+ return this.outerPadding;
561
+ }
562
+ getLabelDimension() {
563
+ return this.textDimensionCalculator.getMaxDimension(
564
+ this.getTickValues().map((t) => t.toString()),
565
+ this.axisConfig.labelFontSize
566
+ );
567
+ }
568
+ recalculateOuterPaddingToDrawBar() {
569
+ Ft * this.getTickDistance() > this.outerPadding * 2 && (this.outerPadding = Math.floor(Ft * this.getTickDistance() / 2)), this.recalculateScale();
570
+ }
571
+ calculateSpaceIfDrawnHorizontally(t) {
572
+ let i = t.height;
573
+ if (this.axisConfig.showAxisLine && i > this.axisConfig.axisLineWidth && (i -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
574
+ const s = this.getLabelDimension(), n = Ot * t.width;
575
+ this.outerPadding = Math.min(s.width / 2, n);
576
+ const o = s.height + this.axisConfig.labelPadding * 2;
577
+ this.labelTextHeight = s.height, o <= i && (i -= o, this.showLabel = !0);
578
+ }
579
+ if (this.axisConfig.showTick && i >= this.axisConfig.tickLength && (this.showTick = !0, i -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
580
+ const s = this.textDimensionCalculator.getMaxDimension(
581
+ [this.title],
582
+ this.axisConfig.titleFontSize
583
+ ), n = s.height + this.axisConfig.titlePadding * 2;
584
+ this.titleTextHeight = s.height, n <= i && (i -= n, this.showTitle = !0);
585
+ }
586
+ this.boundingRect.width = t.width, this.boundingRect.height = t.height - i;
587
+ }
588
+ calculateSpaceIfDrawnVertical(t) {
589
+ let i = t.width;
590
+ if (this.axisConfig.showAxisLine && i > this.axisConfig.axisLineWidth && (i -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
591
+ const s = this.getLabelDimension(), n = Ot * t.height;
592
+ this.outerPadding = Math.min(s.height / 2, n);
593
+ const o = s.width + this.axisConfig.labelPadding * 2;
594
+ o <= i && (i -= o, this.showLabel = !0);
595
+ }
596
+ if (this.axisConfig.showTick && i >= this.axisConfig.tickLength && (this.showTick = !0, i -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
597
+ const s = this.textDimensionCalculator.getMaxDimension(
598
+ [this.title],
599
+ this.axisConfig.titleFontSize
600
+ ), n = s.height + this.axisConfig.titlePadding * 2;
601
+ this.titleTextHeight = s.height, n <= i && (i -= n, this.showTitle = !0);
602
+ }
603
+ this.boundingRect.width = t.width - i, this.boundingRect.height = t.height;
604
+ }
605
+ calculateSpace(t) {
606
+ return this.axisPosition === "left" || this.axisPosition === "right" ? this.calculateSpaceIfDrawnVertical(t) : this.calculateSpaceIfDrawnHorizontally(t), this.recalculateScale(), {
607
+ width: this.boundingRect.width,
608
+ height: this.boundingRect.height
609
+ };
610
+ }
611
+ setBoundingBoxXY(t) {
612
+ this.boundingRect.x = t.x, this.boundingRect.y = t.y;
613
+ }
614
+ getDrawableElementsForLeftAxis() {
615
+ const t = [];
616
+ if (this.showAxisLine) {
617
+ const i = this.boundingRect.x + this.boundingRect.width - this.axisConfig.axisLineWidth / 2;
618
+ t.push({
619
+ type: "path",
620
+ groupTexts: ["left-axis", "axisl-line"],
621
+ data: [
622
+ {
623
+ path: `M ${i},${this.boundingRect.y} L ${i},${this.boundingRect.y + this.boundingRect.height} `,
624
+ strokeFill: this.axisThemeConfig.axisLineColor,
625
+ strokeWidth: this.axisConfig.axisLineWidth
626
+ }
627
+ ]
628
+ });
629
+ }
630
+ if (this.showLabel && t.push({
631
+ type: "text",
632
+ groupTexts: ["left-axis", "label"],
633
+ data: this.getTickValues().map((i) => ({
634
+ text: i.toString(),
635
+ 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),
636
+ y: this.getScaleValue(i),
637
+ fill: this.axisThemeConfig.labelColor,
638
+ fontSize: this.axisConfig.labelFontSize,
639
+ rotation: 0,
640
+ verticalPos: "middle",
641
+ horizontalPos: "right"
642
+ }))
643
+ }), this.showTick) {
644
+ const i = this.boundingRect.x + this.boundingRect.width - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0);
645
+ t.push({
646
+ type: "path",
647
+ groupTexts: ["left-axis", "ticks"],
648
+ data: this.getTickValues().map((s) => ({
649
+ path: `M ${i},${this.getScaleValue(s)} L ${i - this.axisConfig.tickLength},${this.getScaleValue(s)}`,
650
+ strokeFill: this.axisThemeConfig.tickColor,
651
+ strokeWidth: this.axisConfig.tickWidth
652
+ }))
653
+ });
654
+ }
655
+ return this.showTitle && t.push({
656
+ type: "text",
657
+ groupTexts: ["left-axis", "title"],
658
+ data: [
659
+ {
660
+ text: this.title,
661
+ x: this.boundingRect.x + this.axisConfig.titlePadding,
662
+ y: this.boundingRect.y + this.boundingRect.height / 2,
663
+ fill: this.axisThemeConfig.titleColor,
664
+ fontSize: this.axisConfig.titleFontSize,
665
+ rotation: 270,
666
+ verticalPos: "top",
667
+ horizontalPos: "center"
668
+ }
669
+ ]
670
+ }), t;
671
+ }
672
+ getDrawableElementsForBottomAxis() {
673
+ const t = [];
674
+ if (this.showAxisLine) {
675
+ const i = this.boundingRect.y + this.axisConfig.axisLineWidth / 2;
676
+ t.push({
677
+ type: "path",
678
+ groupTexts: ["bottom-axis", "axis-line"],
679
+ data: [
680
+ {
681
+ path: `M ${this.boundingRect.x},${i} L ${this.boundingRect.x + this.boundingRect.width},${i}`,
682
+ strokeFill: this.axisThemeConfig.axisLineColor,
683
+ strokeWidth: this.axisConfig.axisLineWidth
684
+ }
685
+ ]
686
+ });
687
+ }
688
+ if (this.showLabel && t.push({
689
+ type: "text",
690
+ groupTexts: ["bottom-axis", "label"],
691
+ data: this.getTickValues().map((i) => ({
692
+ text: i.toString(),
693
+ x: this.getScaleValue(i),
694
+ y: this.boundingRect.y + this.axisConfig.labelPadding + (this.showTick ? this.axisConfig.tickLength : 0) + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0),
695
+ fill: this.axisThemeConfig.labelColor,
696
+ fontSize: this.axisConfig.labelFontSize,
697
+ rotation: 0,
698
+ verticalPos: "top",
699
+ horizontalPos: "center"
700
+ }))
701
+ }), this.showTick) {
702
+ const i = this.boundingRect.y + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0);
703
+ t.push({
704
+ type: "path",
705
+ groupTexts: ["bottom-axis", "ticks"],
706
+ data: this.getTickValues().map((s) => ({
707
+ path: `M ${this.getScaleValue(s)},${i} L ${this.getScaleValue(s)},${i + this.axisConfig.tickLength}`,
708
+ strokeFill: this.axisThemeConfig.tickColor,
709
+ strokeWidth: this.axisConfig.tickWidth
710
+ }))
711
+ });
712
+ }
713
+ return this.showTitle && t.push({
714
+ type: "text",
715
+ groupTexts: ["bottom-axis", "title"],
716
+ data: [
717
+ {
718
+ text: this.title,
719
+ x: this.range[0] + (this.range[1] - this.range[0]) / 2,
720
+ y: this.boundingRect.y + this.boundingRect.height - this.axisConfig.titlePadding - this.titleTextHeight,
721
+ fill: this.axisThemeConfig.titleColor,
722
+ fontSize: this.axisConfig.titleFontSize,
723
+ rotation: 0,
724
+ verticalPos: "top",
725
+ horizontalPos: "center"
726
+ }
727
+ ]
728
+ }), t;
729
+ }
730
+ getDrawableElementsForTopAxis() {
731
+ const t = [];
732
+ if (this.showAxisLine) {
733
+ const i = this.boundingRect.y + this.boundingRect.height - this.axisConfig.axisLineWidth / 2;
734
+ t.push({
735
+ type: "path",
736
+ groupTexts: ["top-axis", "axis-line"],
737
+ data: [
738
+ {
739
+ path: `M ${this.boundingRect.x},${i} L ${this.boundingRect.x + this.boundingRect.width},${i}`,
740
+ strokeFill: this.axisThemeConfig.axisLineColor,
741
+ strokeWidth: this.axisConfig.axisLineWidth
742
+ }
743
+ ]
744
+ });
745
+ }
746
+ if (this.showLabel && t.push({
747
+ type: "text",
748
+ groupTexts: ["top-axis", "label"],
749
+ data: this.getTickValues().map((i) => ({
750
+ text: i.toString(),
751
+ x: this.getScaleValue(i),
752
+ y: this.boundingRect.y + (this.showTitle ? this.titleTextHeight + this.axisConfig.titlePadding * 2 : 0) + this.axisConfig.labelPadding,
753
+ fill: this.axisThemeConfig.labelColor,
754
+ fontSize: this.axisConfig.labelFontSize,
755
+ rotation: 0,
756
+ verticalPos: "top",
757
+ horizontalPos: "center"
758
+ }))
759
+ }), this.showTick) {
760
+ const i = this.boundingRect.y;
761
+ t.push({
762
+ type: "path",
763
+ groupTexts: ["top-axis", "ticks"],
764
+ data: this.getTickValues().map((s) => ({
765
+ path: `M ${this.getScaleValue(s)},${i + this.boundingRect.height - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0)} L ${this.getScaleValue(s)},${i + this.boundingRect.height - this.axisConfig.tickLength - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0)}`,
766
+ strokeFill: this.axisThemeConfig.tickColor,
767
+ strokeWidth: this.axisConfig.tickWidth
768
+ }))
769
+ });
770
+ }
771
+ return this.showTitle && t.push({
772
+ type: "text",
773
+ groupTexts: ["top-axis", "title"],
774
+ data: [
775
+ {
776
+ text: this.title,
777
+ x: this.boundingRect.x + this.boundingRect.width / 2,
778
+ y: this.boundingRect.y + this.axisConfig.titlePadding,
779
+ fill: this.axisThemeConfig.titleColor,
780
+ fontSize: this.axisConfig.titleFontSize,
781
+ rotation: 0,
782
+ verticalPos: "top",
783
+ horizontalPos: "center"
784
+ }
785
+ ]
786
+ }), t;
787
+ }
788
+ getDrawableElements() {
789
+ if (this.axisPosition === "left")
790
+ return this.getDrawableElementsForLeftAxis();
791
+ if (this.axisPosition === "right")
792
+ throw Error("Drawing of right axis is not implemented");
793
+ return this.axisPosition === "bottom" ? this.getDrawableElementsForBottomAxis() : this.axisPosition === "top" ? this.getDrawableElementsForTopAxis() : [];
794
+ }
795
+ }, a(Q, "BaseAxis"), Q), K, Di = (K = class extends Ut {
796
+ constructor(t, i, s, n, o) {
797
+ super(t, n, o, i), this.categories = s, this.scale = yt().domain(this.categories).range(this.getRange());
798
+ }
799
+ setRange(t) {
800
+ super.setRange(t);
801
+ }
802
+ recalculateScale() {
803
+ this.scale = yt().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(0.5), Nt.trace("BandAxis axis final categories, range: ", this.categories, this.getRange());
804
+ }
805
+ getTickValues() {
806
+ return this.categories;
807
+ }
808
+ getScaleValue(t) {
809
+ return this.scale(t) ?? this.getRange()[0];
810
+ }
811
+ }, a(K, "BandAxis"), K), Z, vi = (Z = class extends Ut {
812
+ constructor(t, i, s, n, o) {
813
+ super(t, n, o, i), this.domain = s, this.scale = zt().domain(this.domain).range(this.getRange());
814
+ }
815
+ getTickValues() {
816
+ return this.scale.ticks();
817
+ }
818
+ recalculateScale() {
819
+ const t = [...this.domain];
820
+ this.axisPosition === "left" && t.reverse(), this.scale = zt().domain(t).range(this.getRange());
821
+ }
822
+ getScaleValue(t) {
823
+ return this.scale(t);
824
+ }
825
+ }, a(Z, "LinearAxis"), Z);
826
+ function wt(e, t, i, s) {
827
+ const n = new Ht(s);
828
+ return _t(e) ? new Di(
829
+ t,
830
+ i,
831
+ e.categories,
832
+ e.title,
833
+ n
834
+ ) : new vi(
835
+ t,
836
+ i,
837
+ [e.min, e.max],
838
+ e.title,
839
+ n
840
+ );
841
+ }
842
+ a(wt, "getAxis");
843
+ var J, Pi = (J = class {
844
+ constructor(t, i, s, n) {
845
+ this.textDimensionCalculator = t, this.chartConfig = i, this.chartData = s, this.chartThemeConfig = n, this.boundingRect = {
846
+ x: 0,
847
+ y: 0,
848
+ width: 0,
849
+ height: 0
850
+ }, this.showChartTitle = !1;
851
+ }
852
+ setBoundingBoxXY(t) {
853
+ this.boundingRect.x = t.x, this.boundingRect.y = t.y;
854
+ }
855
+ calculateSpace(t) {
856
+ const i = this.textDimensionCalculator.getMaxDimension(
857
+ [this.chartData.title],
858
+ this.chartConfig.titleFontSize
859
+ ), s = Math.max(i.width, t.width), n = i.height + 2 * this.chartConfig.titlePadding;
860
+ return i.width <= s && i.height <= n && this.chartConfig.showTitle && this.chartData.title && (this.boundingRect.width = s, this.boundingRect.height = n, this.showChartTitle = !0), {
861
+ width: this.boundingRect.width,
862
+ height: this.boundingRect.height
863
+ };
864
+ }
865
+ getDrawableElements() {
866
+ const t = [];
867
+ return this.showChartTitle && t.push({
868
+ groupTexts: ["chart-title"],
869
+ type: "text",
870
+ data: [
871
+ {
872
+ fontSize: this.chartConfig.titleFontSize,
873
+ text: this.chartData.title,
874
+ verticalPos: "middle",
875
+ horizontalPos: "center",
876
+ x: this.boundingRect.x + this.boundingRect.width / 2,
877
+ y: this.boundingRect.y + this.boundingRect.height / 2,
878
+ fill: this.chartThemeConfig.titleColor,
879
+ rotation: 0
880
+ }
881
+ ]
882
+ }), t;
883
+ }
884
+ }, a(J, "ChartTitle"), J);
885
+ function $t(e, t, i, s) {
886
+ const n = new Ht(s);
887
+ return new Pi(n, e, t, i);
888
+ }
889
+ a($t, "getChartTitleComponent");
890
+ var tt, Li = (tt = class {
891
+ constructor(t, i, s, n, o) {
892
+ this.plotData = t, this.xAxis = i, this.yAxis = s, this.orientation = n, this.plotIndex = o;
893
+ }
894
+ getDrawableElement() {
895
+ const t = this.plotData.data.map((s) => [
896
+ this.xAxis.getScaleValue(s[0]),
897
+ this.yAxis.getScaleValue(s[1])
898
+ ]);
899
+ let i;
900
+ return this.orientation === "horizontal" ? i = Wt().y((s) => s[0]).x((s) => s[1])(t) : i = Wt().x((s) => s[0]).y((s) => s[1])(t), i ? [
901
+ {
902
+ groupTexts: ["plot", `line-plot-${this.plotIndex}`],
903
+ type: "path",
904
+ data: [
905
+ {
906
+ path: i,
907
+ strokeFill: this.plotData.strokeFill,
908
+ strokeWidth: this.plotData.strokeWidth
909
+ }
910
+ ]
911
+ }
912
+ ] : [];
913
+ }
914
+ }, a(tt, "LinePlot"), tt), it, Ei = (it = class {
915
+ constructor(t, i, s, n, o, g) {
916
+ this.barData = t, this.boundingRect = i, this.xAxis = s, this.yAxis = n, this.orientation = o, this.plotIndex = g;
917
+ }
918
+ getDrawableElement() {
919
+ const t = this.barData.data.map((o) => [
920
+ this.xAxis.getScaleValue(o[0]),
921
+ this.yAxis.getScaleValue(o[1])
922
+ ]), s = Math.min(this.xAxis.getAxisOuterPadding() * 2, this.xAxis.getTickDistance()) * (1 - 0.05), n = s / 2;
923
+ return this.orientation === "horizontal" ? [
924
+ {
925
+ groupTexts: ["plot", `bar-plot-${this.plotIndex}`],
926
+ type: "rect",
927
+ data: t.map((o) => ({
928
+ x: this.boundingRect.x,
929
+ y: o[0] - n,
930
+ height: s,
931
+ width: o[1] - this.boundingRect.x,
932
+ fill: this.barData.fill,
933
+ strokeWidth: 0,
934
+ strokeFill: this.barData.fill
935
+ }))
936
+ }
937
+ ] : [
938
+ {
939
+ groupTexts: ["plot", `bar-plot-${this.plotIndex}`],
940
+ type: "rect",
941
+ data: t.map((o) => ({
942
+ x: o[0] - n,
943
+ y: o[1],
944
+ width: s,
945
+ height: this.boundingRect.y + this.boundingRect.height - o[1],
946
+ fill: this.barData.fill,
947
+ strokeWidth: 0,
948
+ strokeFill: this.barData.fill
949
+ }))
950
+ }
951
+ ];
952
+ }
953
+ }, a(it, "BarPlot"), it), et, Ii = (et = class {
954
+ constructor(t, i, s) {
955
+ this.chartConfig = t, this.chartData = i, this.chartThemeConfig = s, this.boundingRect = {
956
+ x: 0,
957
+ y: 0,
958
+ width: 0,
959
+ height: 0
960
+ };
961
+ }
962
+ setAxes(t, i) {
963
+ this.xAxis = t, this.yAxis = i;
964
+ }
965
+ setBoundingBoxXY(t) {
966
+ this.boundingRect.x = t.x, this.boundingRect.y = t.y;
967
+ }
968
+ calculateSpace(t) {
969
+ return this.boundingRect.width = t.width, this.boundingRect.height = t.height, {
970
+ width: this.boundingRect.width,
971
+ height: this.boundingRect.height
972
+ };
973
+ }
974
+ getDrawableElements() {
975
+ if (!(this.xAxis && this.yAxis))
976
+ throw Error("Axes must be passed to render Plots");
977
+ const t = [];
978
+ for (const [i, s] of this.chartData.plots.entries())
979
+ switch (s.type) {
980
+ case "line":
981
+ {
982
+ const n = new Li(
983
+ s,
984
+ this.xAxis,
985
+ this.yAxis,
986
+ this.chartConfig.chartOrientation,
987
+ i
988
+ );
989
+ t.push(...n.getDrawableElement());
990
+ }
991
+ break;
992
+ case "bar":
993
+ {
994
+ const n = new Ei(
995
+ s,
996
+ this.boundingRect,
997
+ this.xAxis,
998
+ this.yAxis,
999
+ this.chartConfig.chartOrientation,
1000
+ i
1001
+ );
1002
+ t.push(...n.getDrawableElement());
1003
+ }
1004
+ break;
1005
+ }
1006
+ return t;
1007
+ }
1008
+ }, a(et, "BasePlot"), et);
1009
+ function qt(e, t, i) {
1010
+ return new Ii(e, t, i);
1011
+ }
1012
+ a(qt, "getPlotComponent");
1013
+ var st, Mi = (st = class {
1014
+ constructor(t, i, s, n) {
1015
+ this.chartConfig = t, this.chartData = i, this.componentStore = {
1016
+ title: $t(t, i, s, n),
1017
+ plot: qt(t, i, s),
1018
+ xAxis: wt(
1019
+ i.xAxis,
1020
+ t.xAxis,
1021
+ {
1022
+ titleColor: s.xAxisTitleColor,
1023
+ labelColor: s.xAxisLabelColor,
1024
+ tickColor: s.xAxisTickColor,
1025
+ axisLineColor: s.xAxisLineColor
1026
+ },
1027
+ n
1028
+ ),
1029
+ yAxis: wt(
1030
+ i.yAxis,
1031
+ t.yAxis,
1032
+ {
1033
+ titleColor: s.yAxisTitleColor,
1034
+ labelColor: s.yAxisLabelColor,
1035
+ tickColor: s.yAxisTickColor,
1036
+ axisLineColor: s.yAxisLineColor
1037
+ },
1038
+ n
1039
+ )
1040
+ };
1041
+ }
1042
+ calculateVerticalSpace() {
1043
+ let t = this.chartConfig.width, i = this.chartConfig.height, s = 0, n = 0, o = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), g = Math.floor(
1044
+ i * this.chartConfig.plotReservedSpacePercent / 100
1045
+ ), m = this.componentStore.plot.calculateSpace({
1046
+ width: o,
1047
+ height: g
1048
+ });
1049
+ t -= m.width, i -= m.height, m = this.componentStore.title.calculateSpace({
1050
+ width: this.chartConfig.width,
1051
+ height: i
1052
+ }), n = m.height, i -= m.height, this.componentStore.xAxis.setAxisPosition("bottom"), m = this.componentStore.xAxis.calculateSpace({
1053
+ width: t,
1054
+ height: i
1055
+ }), i -= m.height, this.componentStore.yAxis.setAxisPosition("left"), m = this.componentStore.yAxis.calculateSpace({
1056
+ width: t,
1057
+ height: i
1058
+ }), s = m.width, t -= m.width, t > 0 && (o += t, t = 0), i > 0 && (g += i, i = 0), this.componentStore.plot.calculateSpace({
1059
+ width: o,
1060
+ height: g
1061
+ }), this.componentStore.plot.setBoundingBoxXY({ x: s, y: n }), this.componentStore.xAxis.setRange([s, s + o]), this.componentStore.xAxis.setBoundingBoxXY({ x: s, y: n + g }), this.componentStore.yAxis.setRange([n, n + g]), this.componentStore.yAxis.setBoundingBoxXY({ x: 0, y: n }), this.chartData.plots.some((p) => At(p)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
1062
+ }
1063
+ calculateHorizontalSpace() {
1064
+ let t = this.chartConfig.width, i = this.chartConfig.height, s = 0, n = 0, o = 0, g = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), m = Math.floor(
1065
+ i * this.chartConfig.plotReservedSpacePercent / 100
1066
+ ), p = this.componentStore.plot.calculateSpace({
1067
+ width: g,
1068
+ height: m
1069
+ });
1070
+ t -= p.width, i -= p.height, p = this.componentStore.title.calculateSpace({
1071
+ width: this.chartConfig.width,
1072
+ height: i
1073
+ }), s = p.height, i -= p.height, this.componentStore.xAxis.setAxisPosition("left"), p = this.componentStore.xAxis.calculateSpace({
1074
+ width: t,
1075
+ height: i
1076
+ }), t -= p.width, n = p.width, this.componentStore.yAxis.setAxisPosition("top"), p = this.componentStore.yAxis.calculateSpace({
1077
+ width: t,
1078
+ height: i
1079
+ }), i -= p.height, o = s + p.height, t > 0 && (g += t, t = 0), i > 0 && (m += i, i = 0), this.componentStore.plot.calculateSpace({
1080
+ width: g,
1081
+ height: m
1082
+ }), this.componentStore.plot.setBoundingBoxXY({ x: n, y: o }), this.componentStore.yAxis.setRange([n, n + g]), this.componentStore.yAxis.setBoundingBoxXY({ x: n, y: s }), this.componentStore.xAxis.setRange([o, o + m]), this.componentStore.xAxis.setBoundingBoxXY({ x: 0, y: o }), this.chartData.plots.some((k) => At(k)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
1083
+ }
1084
+ calculateSpace() {
1085
+ this.chartConfig.chartOrientation === "horizontal" ? this.calculateHorizontalSpace() : this.calculateVerticalSpace();
1086
+ }
1087
+ getDrawableElement() {
1088
+ this.calculateSpace();
1089
+ const t = [];
1090
+ this.componentStore.plot.setAxes(this.componentStore.xAxis, this.componentStore.yAxis);
1091
+ for (const i of Object.values(this.componentStore))
1092
+ t.push(...i.getDrawableElements());
1093
+ return t;
1094
+ }
1095
+ }, a(st, "Orchestrator"), st), nt, Vi = (nt = class {
1096
+ static build(t, i, s, n) {
1097
+ return new Mi(t, i, s, n).getDrawableElement();
1098
+ }
1099
+ }, a(nt, "XYChartBuilder"), nt), rt = 0, Gt, ot = Tt(), ht = Rt(), A = Dt(), Ct = ht.plotColorPalette.split(",").map((e) => e.trim()), gt = !1, kt = !1;
1100
+ function Rt() {
1101
+ const e = wi(), t = St();
1102
+ return Yt(e.xyChart, t.themeVariables.xyChart);
1103
+ }
1104
+ a(Rt, "getChartDefaultThemeConfig");
1105
+ function Tt() {
1106
+ const e = St();
1107
+ return Yt(
1108
+ Ai.xyChart,
1109
+ e.xyChart
1110
+ );
1111
+ }
1112
+ a(Tt, "getChartDefaultConfig");
1113
+ function Dt() {
1114
+ return {
1115
+ yAxis: {
1116
+ type: "linear",
1117
+ title: "",
1118
+ min: 1 / 0,
1119
+ max: -1 / 0
1120
+ },
1121
+ xAxis: {
1122
+ type: "band",
1123
+ title: "",
1124
+ categories: []
1125
+ },
1126
+ title: "",
1127
+ plots: []
1128
+ };
1129
+ }
1130
+ a(Dt, "getChartDefaultData");
1131
+ function xt(e) {
1132
+ const t = St();
1133
+ return Ci(e.trim(), t);
1134
+ }
1135
+ a(xt, "textSanitizer");
1136
+ function jt(e) {
1137
+ Gt = e;
1138
+ }
1139
+ a(jt, "setTmpSVGG");
1140
+ function Qt(e) {
1141
+ e === "horizontal" ? ot.chartOrientation = "horizontal" : ot.chartOrientation = "vertical";
1142
+ }
1143
+ a(Qt, "setOrientation");
1144
+ function Kt(e) {
1145
+ A.xAxis.title = xt(e.text);
1146
+ }
1147
+ a(Kt, "setXAxisTitle");
1148
+ function vt(e, t) {
1149
+ A.xAxis = { type: "linear", title: A.xAxis.title, min: e, max: t }, gt = !0;
1150
+ }
1151
+ a(vt, "setXAxisRangeData");
1152
+ function Zt(e) {
1153
+ A.xAxis = {
1154
+ type: "band",
1155
+ title: A.xAxis.title,
1156
+ categories: e.map((t) => xt(t.text))
1157
+ }, gt = !0;
1158
+ }
1159
+ a(Zt, "setXAxisBand");
1160
+ function Jt(e) {
1161
+ A.yAxis.title = xt(e.text);
1162
+ }
1163
+ a(Jt, "setYAxisTitle");
1164
+ function ti(e, t) {
1165
+ A.yAxis = { type: "linear", title: A.yAxis.title, min: e, max: t }, kt = !0;
1166
+ }
1167
+ a(ti, "setYAxisRangeData");
1168
+ function ii(e) {
1169
+ const t = Math.min(...e), i = Math.max(...e), s = G(A.yAxis) ? A.yAxis.min : 1 / 0, n = G(A.yAxis) ? A.yAxis.max : -1 / 0;
1170
+ A.yAxis = {
1171
+ type: "linear",
1172
+ title: A.yAxis.title,
1173
+ min: Math.min(s, t),
1174
+ max: Math.max(n, i)
1175
+ };
1176
+ }
1177
+ a(ii, "setYAxisRangeFromPlotData");
1178
+ function Pt(e) {
1179
+ let t = [];
1180
+ if (e.length === 0)
1181
+ return t;
1182
+ if (!gt) {
1183
+ const i = G(A.xAxis) ? A.xAxis.min : 1 / 0, s = G(A.xAxis) ? A.xAxis.max : -1 / 0;
1184
+ vt(Math.min(i, 1), Math.max(s, e.length));
1185
+ }
1186
+ if (kt || ii(e), _t(A.xAxis) && (t = A.xAxis.categories.map((i, s) => [i, e[s]])), G(A.xAxis)) {
1187
+ const i = A.xAxis.min, s = A.xAxis.max, n = (s - i) / (e.length - 1), o = [];
1188
+ for (let g = i; g <= s; g += n)
1189
+ o.push(`${g}`);
1190
+ t = o.map((g, m) => [g, e[m]]);
1191
+ }
1192
+ return t;
1193
+ }
1194
+ a(Pt, "transformDataWithoutCategory");
1195
+ function Lt(e) {
1196
+ return Ct[e === 0 ? 0 : e % Ct.length];
1197
+ }
1198
+ a(Lt, "getPlotColorFromPalette");
1199
+ function ei(e, t) {
1200
+ const i = Pt(t);
1201
+ A.plots.push({
1202
+ type: "line",
1203
+ strokeFill: Lt(rt),
1204
+ strokeWidth: 2,
1205
+ data: i
1206
+ }), rt++;
1207
+ }
1208
+ a(ei, "setLineData");
1209
+ function si(e, t) {
1210
+ const i = Pt(t);
1211
+ A.plots.push({
1212
+ type: "bar",
1213
+ fill: Lt(rt),
1214
+ data: i
1215
+ }), rt++;
1216
+ }
1217
+ a(si, "setBarData");
1218
+ function ni() {
1219
+ if (A.plots.length === 0)
1220
+ throw Error("No Plot to render, please provide a plot with some data");
1221
+ return A.title = Xt(), Vi.build(ot, A, ht, Gt);
1222
+ }
1223
+ a(ni, "getDrawableElem");
1224
+ function ai() {
1225
+ return ht;
1226
+ }
1227
+ a(ai, "getChartThemeConfig");
1228
+ function ri() {
1229
+ return ot;
1230
+ }
1231
+ a(ri, "getChartConfig");
1232
+ function oi() {
1233
+ return A;
1234
+ }
1235
+ a(oi, "getXYChartData");
1236
+ var Bi = /* @__PURE__ */ a(function() {
1237
+ bi(), rt = 0, ot = Tt(), A = Dt(), ht = Rt(), Ct = ht.plotColorPalette.split(",").map((e) => e.trim()), gt = !1, kt = !1;
1238
+ }, "clear"), Wi = {
1239
+ getDrawableElem: ni,
1240
+ clear: Bi,
1241
+ setAccTitle: pi,
1242
+ getAccTitle: fi,
1243
+ setDiagramTitle: di,
1244
+ getDiagramTitle: Xt,
1245
+ getAccDescription: xi,
1246
+ setAccDescription: gi,
1247
+ setOrientation: Qt,
1248
+ setXAxisTitle: Kt,
1249
+ setXAxisRangeData: vt,
1250
+ setXAxisBand: Zt,
1251
+ setYAxisTitle: Jt,
1252
+ setYAxisRangeData: ti,
1253
+ setLineData: ei,
1254
+ setBarData: si,
1255
+ setTmpSVGG: jt,
1256
+ getChartThemeConfig: ai,
1257
+ getChartConfig: ri,
1258
+ getXYChartData: oi
1259
+ }, zi = /* @__PURE__ */ a((e, t, i, s) => {
1260
+ const n = s.db, o = n.getChartThemeConfig(), g = n.getChartConfig(), m = n.getXYChartData().plots[0].data.map((y) => y[1]);
1261
+ function p(y) {
1262
+ return y === "top" ? "text-before-edge" : "middle";
1263
+ }
1264
+ a(p, "getDominantBaseLine");
1265
+ function k(y) {
1266
+ return y === "left" ? "start" : y === "right" ? "end" : "middle";
1267
+ }
1268
+ a(k, "getTextAnchor");
1269
+ function v(y) {
1270
+ return `translate(${y.x}, ${y.y}) rotate(${y.rotation || 0})`;
1271
+ }
1272
+ a(v, "getTextTransformation"), Nt.debug(`Rendering xychart chart
1273
+ ` + e);
1274
+ const C = mi(t), b = C.append("g").attr("class", "main"), E = b.append("rect").attr("width", g.width).attr("height", g.height).attr("class", "background");
1275
+ yi(C, g.height, g.width, !0), C.attr("viewBox", `0 0 ${g.width} ${g.height}`), E.attr("fill", o.backgroundColor), n.setTmpSVGG(C.append("g").attr("class", "mermaid-tmp-group"));
1276
+ const D = n.getDrawableElem(), P = {};
1277
+ function I(y) {
1278
+ let _ = b, c = "";
1279
+ for (const [W] of y.entries()) {
1280
+ let z = b;
1281
+ W > 0 && P[c] && (z = P[c]), c += y[W], _ = P[c], _ || (_ = P[c] = z.append("g").attr("class", y[W]));
1282
+ }
1283
+ return _;
1284
+ }
1285
+ a(I, "getGroup");
1286
+ for (const y of D) {
1287
+ if (y.data.length === 0)
1288
+ continue;
1289
+ const _ = I(y.groupTexts);
1290
+ switch (y.type) {
1291
+ case "rect":
1292
+ if (_.selectAll("rect").data(y.data).enter().append("rect").attr("x", (c) => c.x).attr("y", (c) => c.y).attr("width", (c) => c.width).attr("height", (c) => c.height).attr("fill", (c) => c.fill).attr("stroke", (c) => c.strokeFill).attr("stroke-width", (c) => c.strokeWidth), g.showDataLabel)
1293
+ if (g.chartOrientation === "horizontal") {
1294
+ let c = function(l, L) {
1295
+ const { data: S, label: R } = l;
1296
+ return L * R.length * W <= S.width - 10;
1297
+ };
1298
+ a(c, "fitsHorizontally");
1299
+ const W = 0.7, z = y.data.map((l, L) => ({ data: l, label: m[L].toString() })).filter((l) => l.data.width > 0 && l.data.height > 0), U = z.map((l) => {
1300
+ const { data: L } = l;
1301
+ let S = L.height * 0.7;
1302
+ for (; !c(l, S) && S > 0; )
1303
+ S -= 1;
1304
+ return S;
1305
+ }), X = Math.floor(Math.min(...U));
1306
+ _.selectAll("text").data(z).enter().append("text").attr("x", (l) => l.data.x + l.data.width - 10).attr("y", (l) => l.data.y + l.data.height / 2).attr("text-anchor", "end").attr("dominant-baseline", "middle").attr("fill", "black").attr("font-size", `${X}px`).text((l) => l.label);
1307
+ } else {
1308
+ let c = function(l, L, S) {
1309
+ const { data: R, label: $ } = l, N = L * $.length * 0.7, F = R.x + R.width / 2, h = F - N / 2, u = F + N / 2, x = h >= R.x && u <= R.x + R.width, d = R.y + S + L <= R.y + R.height;
1310
+ return x && d;
1311
+ };
1312
+ a(c, "fitsInBar");
1313
+ const W = 10, z = y.data.map((l, L) => ({ data: l, label: m[L].toString() })).filter((l) => l.data.width > 0 && l.data.height > 0), U = z.map((l) => {
1314
+ const { data: L, label: S } = l;
1315
+ let R = L.width / (S.length * 0.7);
1316
+ for (; !c(l, R, W) && R > 0; )
1317
+ R -= 1;
1318
+ return R;
1319
+ }), X = Math.floor(Math.min(...U));
1320
+ _.selectAll("text").data(z).enter().append("text").attr("x", (l) => l.data.x + l.data.width / 2).attr("y", (l) => l.data.y + W).attr("text-anchor", "middle").attr("dominant-baseline", "hanging").attr("fill", "black").attr("font-size", `${X}px`).text((l) => l.label);
1321
+ }
1322
+ break;
1323
+ case "text":
1324
+ _.selectAll("text").data(y.data).enter().append("text").attr("x", 0).attr("y", 0).attr("fill", (c) => c.fill).attr("font-size", (c) => c.fontSize).attr("dominant-baseline", (c) => p(c.verticalPos)).attr("text-anchor", (c) => k(c.horizontalPos)).attr("transform", (c) => v(c)).text((c) => c.text);
1325
+ break;
1326
+ case "path":
1327
+ _.selectAll("path").data(y.data).enter().append("path").attr("d", (c) => c.path).attr("fill", (c) => c.fill ? c.fill : "none").attr("stroke", (c) => c.strokeFill).attr("stroke-width", (c) => c.strokeWidth);
1328
+ break;
1329
+ }
1330
+ }
1331
+ }, "draw"), Fi = {
1332
+ draw: zi
1333
+ }, Hi = {
1334
+ parser: Ti,
1335
+ db: Wi,
1336
+ renderer: Fi
1337
+ };
1338
+ export {
1339
+ Hi as diagram
1340
+ };