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

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