@belonguniverseai/react-sdk 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (848) hide show
  1. package/README.md +47 -0
  2. package/dist/api/agent-grants.d.ts +61 -0
  3. package/dist/api/api-context.d.ts +9 -0
  4. package/dist/api/client.d.ts +2053 -0
  5. package/dist/api/mutations.d.ts +3 -0
  6. package/dist/api/queries.d.ts +21 -0
  7. package/dist/api/query-keys.d.ts +13 -0
  8. package/dist/api/report-client-error.d.ts +23 -0
  9. package/dist/api/skills.d.ts +23 -0
  10. package/dist/api/workspace-files.d.ts +9 -0
  11. package/dist/app/BelongDock.d.ts +29 -0
  12. package/dist/app/VoiceOverlay.d.ts +18 -0
  13. package/dist/app/providers.d.ts +12 -0
  14. package/dist/app/router.d.ts +2 -0
  15. package/dist/browser/control-channel.d.ts +29 -0
  16. package/dist/browser/dom-bridge.d.ts +6 -0
  17. package/dist/browser/spa-navigate.d.ts +87 -0
  18. package/dist/component/BelongWidget.d.ts +27 -0
  19. package/dist/component/abap-BqLfTM3_.js +9 -0
  20. package/dist/component/abap-Dosx9LfS.js +9 -0
  21. package/dist/component/actionscript-3-CFt6EqSB.js +9 -0
  22. package/dist/component/actionscript-3-CShGOdtT.js +9 -0
  23. package/dist/component/ada-8tCnwMXx.js +9 -0
  24. package/dist/component/ada-DaqFF2jd.js +9 -0
  25. package/dist/component/andromeeda-BxBtQ0rC.js +7 -0
  26. package/dist/component/andromeeda-Dx5fm3r-.js +7 -0
  27. package/dist/component/angular-html-CAoRrq6i.js +35 -0
  28. package/dist/component/angular-html-DG52iVg8.js +35 -0
  29. package/dist/component/angular-ts-BvOrReBc.js +24 -0
  30. package/dist/component/angular-ts-LQyiJZqb.js +24 -0
  31. package/dist/component/apache-HdVsAIQf.js +9 -0
  32. package/dist/component/apache-c3M5d5MN.js +9 -0
  33. package/dist/component/apex-B-y6HhVC.js +9 -0
  34. package/dist/component/apex-DXDfZUnb.js +9 -0
  35. package/dist/component/apl-BnXq3ZtQ.js +19 -0
  36. package/dist/component/apl-D7VFrOyT.js +19 -0
  37. package/dist/component/applescript-BZbrjHcY.js +9 -0
  38. package/dist/component/applescript-Bo1adDet.js +9 -0
  39. package/dist/component/ara-C1QNxHcU.js +9 -0
  40. package/dist/component/ara-ZjRpP-93.js +9 -0
  41. package/dist/component/arc-DGQIe3ON.js +86 -0
  42. package/dist/component/architectureDiagram-3BPJPVTR-C3uLEfb1.js +4697 -0
  43. package/dist/component/asciidoc-2fV_Cv2j.js +9 -0
  44. package/dist/component/asciidoc-D7PshqvO.js +9 -0
  45. package/dist/component/asm-ClEowkZP.js +9 -0
  46. package/dist/component/asm-DmyJawQj.js +9 -0
  47. package/dist/component/astro-9MHfKoOi.js +21 -0
  48. package/dist/component/astro-Bi3QRBCO.js +21 -0
  49. package/dist/component/aurora-x-BGO53J2I.js +7 -0
  50. package/dist/component/aurora-x-C98he-36.js +7 -0
  51. package/dist/component/awk-CIiDOfUC.js +9 -0
  52. package/dist/component/awk-DnzYQYUx.js +9 -0
  53. package/dist/component/ayu-dark-CK1VRikm.js +7 -0
  54. package/dist/component/ayu-dark-J6FX8oSr.js +7 -0
  55. package/dist/component/ayu-light-DIKBJiwH.js +7 -0
  56. package/dist/component/ayu-light-x4Q5N51d.js +7 -0
  57. package/dist/component/ayu-mirage-C5_fPLwf.js +7 -0
  58. package/dist/component/ayu-mirage-DhPHVcGJ.js +7 -0
  59. package/dist/component/ballerina-CeqVHW9D.js +9 -0
  60. package/dist/component/ballerina-epCf0_WV.js +9 -0
  61. package/dist/component/bat-Cuej7k1C.js +9 -0
  62. package/dist/component/bat-Dai7pznF.js +9 -0
  63. package/dist/component/beancount-CpREEZMl.js +9 -0
  64. package/dist/component/beancount-CwiYx9PE.js +9 -0
  65. package/dist/component/berry-BoYGiG42.js +9 -0
  66. package/dist/component/berry-DFo_i8CN.js +9 -0
  67. package/dist/component/bibtex-2bgmGv5w.js +9 -0
  68. package/dist/component/bibtex-BkTrlnvh.js +9 -0
  69. package/dist/component/bicep-C80YQkEm.js +9 -0
  70. package/dist/component/bicep-DYkQKpr8.js +9 -0
  71. package/dist/component/bird2-5AxdId5f.js +9 -0
  72. package/dist/component/bird2-CjcgWn0f.js +9 -0
  73. package/dist/component/blade-BdUlKesy.js +23 -0
  74. package/dist/component/blade-DNMMxdfa.js +23 -0
  75. package/dist/component/blockDiagram-GPEHLZMM-YerYvLm_.js +2421 -0
  76. package/dist/component/bsl-CYB_gPZn.js +11 -0
  77. package/dist/component/bsl-DJ4bR5oi.js +11 -0
  78. package/dist/component/c-C4AMyX3G.js +9 -0
  79. package/dist/component/c-C7DfT4H8.js +9 -0
  80. package/dist/component/c3-DDixCt0K.js +9 -0
  81. package/dist/component/c3-xeavH2G2.js +9 -0
  82. package/dist/component/c4Diagram-AAUBKEIU-p8UR34Zq.js +1586 -0
  83. package/dist/component/cadence-Cy8toSoU.js +9 -0
  84. package/dist/component/cadence-xq71MyIp.js +9 -0
  85. package/dist/component/cairo-B1qo5_uz.js +11 -0
  86. package/dist/component/cairo-CZSJv_Y_.js +11 -0
  87. package/dist/component/catppuccin-frappe-BGDzipYl.js +7 -0
  88. package/dist/component/catppuccin-frappe-DZ2VPnzg.js +7 -0
  89. package/dist/component/catppuccin-latte-9zQ0xneh.js +7 -0
  90. package/dist/component/catppuccin-latte-CK4XjBXq.js +7 -0
  91. package/dist/component/catppuccin-macchiato-CIKuiG5O.js +7 -0
  92. package/dist/component/catppuccin-macchiato-D1xBlgUI.js +7 -0
  93. package/dist/component/catppuccin-mocha-CQk3ku6b.js +7 -0
  94. package/dist/component/catppuccin-mocha-Dr22M_MR.js +7 -0
  95. package/dist/component/channel-ahmILYyG.js +8 -0
  96. package/dist/component/chunk-2J33WTMH-CGaAxoSO.js +22 -0
  97. package/dist/component/chunk-4BX2VUAB-gRTK7Di9.js +11 -0
  98. package/dist/component/chunk-55IACEB6-XfJuuv6Y.js +11 -0
  99. package/dist/component/chunk-727SXJPM-Cy0hXMuO.js +1537 -0
  100. package/dist/component/chunk-AQP2D5EJ-CZHGw4se.js +1396 -0
  101. package/dist/component/chunk-FMBD7UC4-CyqtPCO0.js +22 -0
  102. package/dist/component/chunk-ND2GUHAM-CzTviSBV.js +71 -0
  103. package/dist/component/chunk-QZHKN3VN-CHDEerWv.js +21 -0
  104. package/dist/component/clarity-Dmd3VcKv.js +9 -0
  105. package/dist/component/clarity-FR-MQPIo.js +9 -0
  106. package/dist/component/classDiagram-4FO5ZUOK-BDzl1OcC.js +19 -0
  107. package/dist/component/classDiagram-v2-Q7XG4LA2-BDzl1OcC.js +19 -0
  108. package/dist/component/clojure-CZ5pqCKI.js +9 -0
  109. package/dist/component/clojure-DUXXPerS.js +9 -0
  110. package/dist/component/cmake-DeSLuBit.js +9 -0
  111. package/dist/component/cmake-Dh5RXd_q.js +9 -0
  112. package/dist/component/cobol-B0R9veOS.js +13 -0
  113. package/dist/component/cobol-DayClXiO.js +13 -0
  114. package/dist/component/codeowners-C5Gg1qBb.js +9 -0
  115. package/dist/component/codeowners-RGJbf4XS.js +9 -0
  116. package/dist/component/codeql-1OtYEVEY.js +9 -0
  117. package/dist/component/codeql-CoCy8yp4.js +9 -0
  118. package/dist/component/coffee-kdLRO3eV.js +11 -0
  119. package/dist/component/coffee-tRjJZw7o.js +11 -0
  120. package/dist/component/common-lisp-BeJe0ab6.js +9 -0
  121. package/dist/component/common-lisp-GbfS1OBj.js +9 -0
  122. package/dist/component/coq-B0RJLsKz.js +9 -0
  123. package/dist/component/coq-DMlFNAl3.js +9 -0
  124. package/dist/component/cose-bilkent-S5V4N54A-4R0ErgrZ.js +2611 -0
  125. package/dist/component/cpp-BpiKH-9I.js +21 -0
  126. package/dist/component/cpp-BwGJQL2p.js +21 -0
  127. package/dist/component/crystal-Bb_LifhW.js +21 -0
  128. package/dist/component/crystal-D0cTXans.js +21 -0
  129. package/dist/component/csharp-5kMbpBNi.js +9 -0
  130. package/dist/component/csharp-UFMQzTVu.js +9 -0
  131. package/dist/component/css-B2ckPEoZ.js +9 -0
  132. package/dist/component/css-MDiv-Xmm.js +9 -0
  133. package/dist/component/csv-Ba1T94jM.js +9 -0
  134. package/dist/component/csv-DZ-mzuKa.js +9 -0
  135. package/dist/component/cue-CtGb6f31.js +9 -0
  136. package/dist/component/cue-DbYr629m.js +9 -0
  137. package/dist/component/cypher-7eGqJtNJ.js +9 -0
  138. package/dist/component/cypher-pD9MnYc_.js +9 -0
  139. package/dist/component/cytoscape.esm-C31R6JOv.js +18772 -0
  140. package/dist/component/d-BefBLeap.js +9 -0
  141. package/dist/component/d-Dij3nCx4.js +9 -0
  142. package/dist/component/dagre-BM42HDAG-BcJQXGn3.js +448 -0
  143. package/dist/component/dark-plus-C9nS7rhq.js +7 -0
  144. package/dist/component/dark-plus-L3JON0ir.js +7 -0
  145. package/dist/component/dart-BWNSliXX.js +9 -0
  146. package/dist/component/dart-DCRAsZQK.js +9 -0
  147. package/dist/component/dax-CWdGoxkM.js +9 -0
  148. package/dist/component/dax-pykceZLM.js +9 -0
  149. package/dist/component/defaultLocale-BXpxsZAK.js +174 -0
  150. package/dist/component/desktop-4j8jFU02.js +9 -0
  151. package/dist/component/desktop-B3AeStqn.js +9 -0
  152. package/dist/component/diagram-2AECGRRQ-Cld7-k7F.js +220 -0
  153. package/dist/component/diagram-5GNKFQAL-d7JtHVRK.js +126 -0
  154. package/dist/component/diagram-KO2AKTUF-Avxzz4xw.js +464 -0
  155. package/dist/component/diagram-LMA3HP47-Cy_E5-rU.js +148 -0
  156. package/dist/component/diagram-OG6HWLK6-DUsJK7Js.js +534 -0
  157. package/dist/component/diff-DuoPSmgL.js +9 -0
  158. package/dist/component/diff-IyCSM08A.js +9 -0
  159. package/dist/component/docker-BSrvy0o9.js +9 -0
  160. package/dist/component/docker-Ca4vT6OJ.js +9 -0
  161. package/dist/component/dotenv-CUP-PB19.js +9 -0
  162. package/dist/component/dotenv-aA3GGxJM.js +9 -0
  163. package/dist/component/dracula-2BaSCSav.js +7 -0
  164. package/dist/component/dracula-Lg7_DbOD.js +7 -0
  165. package/dist/component/dracula-soft-AsPqNBvZ.js +7 -0
  166. package/dist/component/dracula-soft-n6R-sBGM.js +7 -0
  167. package/dist/component/dream-maker-B2xERNvR.js +9 -0
  168. package/dist/component/dream-maker-Jadq_Ln7.js +9 -0
  169. package/dist/component/edge-B-amp2rn.js +15 -0
  170. package/dist/component/edge-Bol1lNG-.js +15 -0
  171. package/dist/component/elixir-DSzpv_bE.js +11 -0
  172. package/dist/component/elixir-t5YY_ese.js +11 -0
  173. package/dist/component/elm-DNaka8RZ.js +11 -0
  174. package/dist/component/elm-JLsvCHy1.js +11 -0
  175. package/dist/component/emacs-lisp-C6XZT609.js +9 -0
  176. package/dist/component/emacs-lisp-DWDtb5kD.js +9 -0
  177. package/dist/component/erDiagram-TEJ5UH35-DEdqrWqp.js +905 -0
  178. package/dist/component/erb-BJ95qgrJ.js +13 -0
  179. package/dist/component/erb-rGIYAeIa.js +13 -0
  180. package/dist/component/erlang-By5grfmz.js +11 -0
  181. package/dist/component/erlang-rAClsghX.js +11 -0
  182. package/dist/component/everforest-dark-DBhTz0Lt.js +7 -0
  183. package/dist/component/everforest-dark-_A43rkLf.js +7 -0
  184. package/dist/component/everforest-light-Bep_XOgu.js +7 -0
  185. package/dist/component/everforest-light-DHbrW2te.js +7 -0
  186. package/dist/component/fennel-CeQPNUU9.js +9 -0
  187. package/dist/component/fennel-QllfYze1.js +9 -0
  188. package/dist/component/fish-BXP1eRyz.js +9 -0
  189. package/dist/component/fish-DkfR0DRL.js +9 -0
  190. package/dist/component/flowDiagram-I6XJVG4X-BWzYDsjP.js +1634 -0
  191. package/dist/component/fluent-Ih0R99Ix.js +9 -0
  192. package/dist/component/fluent-RduSrzCZ.js +9 -0
  193. package/dist/component/fortran-fixed-form-C3I8YlEU.js +11 -0
  194. package/dist/component/fortran-fixed-form-D7OlW0lw.js +11 -0
  195. package/dist/component/fortran-free-form-CXj2ku4f.js +9 -0
  196. package/dist/component/fortran-free-form-DifCDW_P.js +9 -0
  197. package/dist/component/fsharp-65O4P3S5.js +11 -0
  198. package/dist/component/fsharp-CXzwUWsC.js +11 -0
  199. package/dist/component/ganttDiagram-6RSMTGT7-DzfeVIgF.js +2709 -0
  200. package/dist/component/gdresource-Bn5VhPaI.js +13 -0
  201. package/dist/component/gdresource-kUFIn9eK.js +13 -0
  202. package/dist/component/gdscript-BNGA6E65.js +9 -0
  203. package/dist/component/gdscript-LjKsfw3O.js +9 -0
  204. package/dist/component/gdshader-C-Gp5-Ot.js +9 -0
  205. package/dist/component/gdshader-C1lRZRQz.js +9 -0
  206. package/dist/component/genie-B8viIUNC.js +9 -0
  207. package/dist/component/genie-eR37RVXX.js +9 -0
  208. package/dist/component/gherkin-BVA-IOor.js +9 -0
  209. package/dist/component/gherkin-CuORnKvF.js +9 -0
  210. package/dist/component/git-commit-BNPqpLhi.js +11 -0
  211. package/dist/component/git-commit-Dh7BfmB9.js +11 -0
  212. package/dist/component/git-rebase-B5TXZutB.js +11 -0
  213. package/dist/component/git-rebase-DhwWS8MC.js +11 -0
  214. package/dist/component/gitGraphDiagram-PVQCEYII-CKzbGWcQ.js +818 -0
  215. package/dist/component/github-dark-5b4g_bOp.js +7 -0
  216. package/dist/component/github-dark-default-6zDGR7DJ.js +7 -0
  217. package/dist/component/github-dark-default-H56pGX_M.js +7 -0
  218. package/dist/component/github-dark-dimmed-B1iXBBmo.js +7 -0
  219. package/dist/component/github-dark-dimmed-DjYa1rhk.js +7 -0
  220. package/dist/component/github-dark-high-contrast-BuNi_Wj5.js +7 -0
  221. package/dist/component/github-dark-high-contrast-DvpYRI-4.js +7 -0
  222. package/dist/component/github-dark-mxHsWyJ4.js +7 -0
  223. package/dist/component/github-light-CTdjTVPf.js +7 -0
  224. package/dist/component/github-light-KqdY1rAV.js +7 -0
  225. package/dist/component/github-light-default-BlRYTBRQ.js +7 -0
  226. package/dist/component/github-light-default-Drw5Jl_p.js +7 -0
  227. package/dist/component/github-light-high-contrast-9d8ktz0h.js +7 -0
  228. package/dist/component/github-light-high-contrast-ColFVC7A.js +7 -0
  229. package/dist/component/gleam-BXQHq2ZT.js +9 -0
  230. package/dist/component/gleam-RfA2dpfH.js +9 -0
  231. package/dist/component/glimmer-js-BHZ1FuRp.js +17 -0
  232. package/dist/component/glimmer-js-Gdq_UYVf.js +17 -0
  233. package/dist/component/glimmer-ts-D6H7q5ls.js +17 -0
  234. package/dist/component/glimmer-ts-DdmgeZua.js +17 -0
  235. package/dist/component/glsl-D1RRylbk.js +11 -0
  236. package/dist/component/glsl-MDSU_3-y.js +11 -0
  237. package/dist/component/gn-D8VPrt1o.js +9 -0
  238. package/dist/component/gn-DJpTAp5e.js +9 -0
  239. package/dist/component/gnuplot-BNzwvBx5.js +9 -0
  240. package/dist/component/gnuplot-Iqvzplz-.js +9 -0
  241. package/dist/component/go-D-G7cxeA.js +9 -0
  242. package/dist/component/go-TNOI7pQc.js +9 -0
  243. package/dist/component/graph-BZLHvygk.js +1548 -0
  244. package/dist/component/graphql-CW6tYk7X.js +17 -0
  245. package/dist/component/graphql-DGugpl40.js +17 -0
  246. package/dist/component/groovy-5_UI-q3N.js +9 -0
  247. package/dist/component/groovy-D7GH48W8.js +9 -0
  248. package/dist/component/gruvbox-dark-hard-Ch2GYDcJ.js +7 -0
  249. package/dist/component/gruvbox-dark-hard-Dpxv_Il6.js +7 -0
  250. package/dist/component/gruvbox-dark-medium-DqoxKYPx.js +7 -0
  251. package/dist/component/gruvbox-dark-medium-eGVEUM8W.js +7 -0
  252. package/dist/component/gruvbox-dark-soft-BA9DdijB.js +7 -0
  253. package/dist/component/gruvbox-dark-soft-DRaJAZcW.js +7 -0
  254. package/dist/component/gruvbox-light-hard-BJXIrqpz.js +7 -0
  255. package/dist/component/gruvbox-light-hard-_qNpoYJy.js +7 -0
  256. package/dist/component/gruvbox-light-medium-39dkJwxv.js +7 -0
  257. package/dist/component/gruvbox-light-medium-IkDFQhcB.js +7 -0
  258. package/dist/component/gruvbox-light-soft-DWPQo7Dn.js +7 -0
  259. package/dist/component/gruvbox-light-soft-Dpz5D6wP.js +7 -0
  260. package/dist/component/hack-BSrzyV-l.js +13 -0
  261. package/dist/component/hack-CJNnfXZh.js +13 -0
  262. package/dist/component/haml-DL-NAYVg.js +13 -0
  263. package/dist/component/haml-DYkTKupK.js +13 -0
  264. package/dist/component/handlebars-B2Z6CWhc.js +17 -0
  265. package/dist/component/handlebars-Cwj0qzUo.js +17 -0
  266. package/dist/component/haskell-Cj3J4fKD.js +9 -0
  267. package/dist/component/haskell-h36TjJLk.js +9 -0
  268. package/dist/component/haxe-CcifGI6O.js +9 -0
  269. package/dist/component/haxe-Coqw0Tt8.js +9 -0
  270. package/dist/component/hcl-BPVqiZDb.js +9 -0
  271. package/dist/component/hcl-DaPl6lOC.js +9 -0
  272. package/dist/component/highlighted-body-OFNGDK62-BkGwwkHo.js +22 -0
  273. package/dist/component/hjson-CfcQXz3-.js +9 -0
  274. package/dist/component/hjson-DsTgWNxt.js +9 -0
  275. package/dist/component/hlsl-CLzjZIQL.js +9 -0
  276. package/dist/component/hlsl-DVyuzW8h.js +9 -0
  277. package/dist/component/horizon-DaNatiIz.js +7 -0
  278. package/dist/component/horizon-bright-CthJh1Qp.js +7 -0
  279. package/dist/component/horizon-bright-DMKA6ab6.js +7 -0
  280. package/dist/component/horizon-q20CuJTh.js +7 -0
  281. package/dist/component/houston-CjpgGYwZ.js +7 -0
  282. package/dist/component/houston-DnIZxOiF.js +7 -0
  283. package/dist/component/html-DSjghx6n.js +13 -0
  284. package/dist/component/html-derivative-CxizaS1Z.js +11 -0
  285. package/dist/component/html-derivative-DDrVhQXu.js +11 -0
  286. package/dist/component/html-tY6fNMOn.js +13 -0
  287. package/dist/component/http-CLvA54iU.js +17 -0
  288. package/dist/component/http-CPkD6MSf.js +17 -0
  289. package/dist/component/hurl-CuuCK9Id.js +15 -0
  290. package/dist/component/hurl-LcD0R7wh.js +15 -0
  291. package/dist/component/hxml-CJz9SfqN.js +11 -0
  292. package/dist/component/hxml-DLsAgg8X.js +11 -0
  293. package/dist/component/hy-CAEey4h7.js +9 -0
  294. package/dist/component/hy-Dm2IGIb-.js +9 -0
  295. package/dist/component/imba-5G9Fs_nr.js +9 -0
  296. package/dist/component/imba-CH2D1ce9.js +9 -0
  297. package/dist/component/index.d.ts +3 -0
  298. package/dist/component/index.js +8 -0
  299. package/dist/component/infoDiagram-5YYISTIA-D9xN-Pqc.js +27 -0
  300. package/dist/component/ini-Dt2l3RWi.js +9 -0
  301. package/dist/component/ini-kgvXisvj.js +9 -0
  302. package/dist/component/init-BOu0eQYQ.js +19 -0
  303. package/dist/component/ishikawaDiagram-YF4QCWOH--YDYWDwv.js +627 -0
  304. package/dist/component/java-BKLcvtEM.js +9 -0
  305. package/dist/component/java-oSN7P0Od.js +9 -0
  306. package/dist/component/javascript-CyaMmpOO.js +9 -0
  307. package/dist/component/javascript-DFm3DOoX.js +9 -0
  308. package/dist/component/jinja-Ch28RrFG.js +14 -0
  309. package/dist/component/jinja-CsTh8Ahj.js +14 -0
  310. package/dist/component/jison-Bu0o8a1Z.js +11 -0
  311. package/dist/component/jison-DLgrOJpy.js +11 -0
  312. package/dist/component/journeyDiagram-JHISSGLW-B9-CHfSv.js +837 -0
  313. package/dist/component/json-D-WsbO45.js +9 -0
  314. package/dist/component/json-rmrBoeO_.js +9 -0
  315. package/dist/component/json5-B1J6XVPd.js +9 -0
  316. package/dist/component/json5-B3-n7IrD.js +9 -0
  317. package/dist/component/jsonc-BgfI3zjg.js +9 -0
  318. package/dist/component/jsonc-HFvGREK8.js +9 -0
  319. package/dist/component/jsonl-DHttz8sH.js +9 -0
  320. package/dist/component/jsonl-l_eIcPip.js +9 -0
  321. package/dist/component/jsonnet-D6SNIhw0.js +9 -0
  322. package/dist/component/jsonnet-DO8Zfk6p.js +9 -0
  323. package/dist/component/jssm-CKRLojKZ.js +9 -0
  324. package/dist/component/jssm-Dy1zjXNg.js +9 -0
  325. package/dist/component/jsx-CpVvoVGp.js +9 -0
  326. package/dist/component/jsx-si2wS7pt.js +9 -0
  327. package/dist/component/julia-BPzvBJ4R.js +19 -0
  328. package/dist/component/julia-CfyFig21.js +19 -0
  329. package/dist/component/just-D5rIv9U4.js +21 -0
  330. package/dist/component/just-fRm_weEQ.js +21 -0
  331. package/dist/component/kanagawa-dragon-BOBo9JLg.js +7 -0
  332. package/dist/component/kanagawa-dragon-BWPCHB_7.js +7 -0
  333. package/dist/component/kanagawa-lotus-8m_3LhhF.js +7 -0
  334. package/dist/component/kanagawa-lotus-B5o1JCNj.js +7 -0
  335. package/dist/component/kanagawa-wave-BSP7z6KH.js +7 -0
  336. package/dist/component/kanagawa-wave-ClYLx7ql.js +7 -0
  337. package/dist/component/kanban-definition-UN3LZRKU-Cmh8twbq.js +727 -0
  338. package/dist/component/kdl-GafIF83C.js +9 -0
  339. package/dist/component/kdl-_X6wsgV0.js +9 -0
  340. package/dist/component/kotlin-B3jfEOcv.js +9 -0
  341. package/dist/component/kotlin-BWMoZeA3.js +9 -0
  342. package/dist/component/kusto-Bkz9eBch.js +9 -0
  343. package/dist/component/kusto-ohiqZ64l.js +9 -0
  344. package/dist/component/laserwave-BmajecBZ.js +7 -0
  345. package/dist/component/laserwave-Bp21zlIO.js +7 -0
  346. package/dist/component/latex-BYzveWoN.js +11 -0
  347. package/dist/component/latex-Bi4Lg68B.js +11 -0
  348. package/dist/component/layout-Bu6nRdWm.js +1731 -0
  349. package/dist/component/lean-BBkk0btj.js +9 -0
  350. package/dist/component/lean-DFmhzmny.js +9 -0
  351. package/dist/component/less-ChX34X5W.js +9 -0
  352. package/dist/component/less-kqPRXL1K.js +9 -0
  353. package/dist/component/light-plus-DFxAowZg.js +7 -0
  354. package/dist/component/light-plus-_t1yKirF.js +7 -0
  355. package/dist/component/linear-BDyEUcVD.js +262 -0
  356. package/dist/component/liquid-Bri_C9oi.js +17 -0
  357. package/dist/component/liquid-f2WMwCDi.js +17 -0
  358. package/dist/component/llvm-COuD10ql.js +9 -0
  359. package/dist/component/llvm-dub2631B.js +9 -0
  360. package/dist/component/log-A8St-vyh.js +9 -0
  361. package/dist/component/log-g58LFxM8.js +9 -0
  362. package/dist/component/logo-DZmThwvl.js +9 -0
  363. package/dist/component/logo-x6YxnKST.js +9 -0
  364. package/dist/component/lua-Bj2G8q-Z.js +11 -0
  365. package/dist/component/lua-CyXCKT0u.js +11 -0
  366. package/dist/component/luau-B8fyn01D.js +9 -0
  367. package/dist/component/luau-C5q2C4N6.js +9 -0
  368. package/dist/component/make-DOTJ8IeI.js +9 -0
  369. package/dist/component/make-DTiRnfNf.js +9 -0
  370. package/dist/component/markdown-D3u32LKS.js +9 -0
  371. package/dist/component/markdown-DHm1k_6p.js +9 -0
  372. package/dist/component/marko-CUgdvzuR.js +17 -0
  373. package/dist/component/marko-SwZmWzIv.js +17 -0
  374. package/dist/component/material-theme-BIfRQKI0.js +7 -0
  375. package/dist/component/material-theme-CxS7GniW.js +7 -0
  376. package/dist/component/material-theme-darker-DKP5DIOi.js +7 -0
  377. package/dist/component/material-theme-darker-DkNB3xjL.js +7 -0
  378. package/dist/component/material-theme-lighter-3I4JYnlq.js +7 -0
  379. package/dist/component/material-theme-lighter-D5xivCfx.js +7 -0
  380. package/dist/component/material-theme-ocean-B31yuEXO.js +7 -0
  381. package/dist/component/material-theme-ocean-rw0kJPZg.js +7 -0
  382. package/dist/component/material-theme-palenight-BfunK0Uo.js +7 -0
  383. package/dist/component/material-theme-palenight-COTbh91p.js +7 -0
  384. package/dist/component/matlab-CkKSQcnX.js +9 -0
  385. package/dist/component/matlab-DCF6d5YL.js +9 -0
  386. package/dist/component/mdc-D92XwdT9.js +15 -0
  387. package/dist/component/mdc-gb_v49HI.js +15 -0
  388. package/dist/component/mdx-C6kH9TSz.js +9 -0
  389. package/dist/component/mdx-Dqb5H0t-.js +9 -0
  390. package/dist/component/mermaid-0bkYzXfL.js +9 -0
  391. package/dist/component/mermaid-GHXKKRXX-C5Y3BZXR.js +107122 -0
  392. package/dist/component/mermaid-N7-yWHiu.js +9 -0
  393. package/dist/component/min-dark-CqEfelDe.js +7 -0
  394. package/dist/component/min-dark-FAglrjWz.js +7 -0
  395. package/dist/component/min-light-BmdYN58_.js +7 -0
  396. package/dist/component/min-light-CcJCxfWw.js +7 -0
  397. package/dist/component/mindmap-definition-RKZ34NQL-CnFpVFpl.js +833 -0
  398. package/dist/component/mipsasm-BYNReuUT.js +9 -0
  399. package/dist/component/mipsasm-CKzkMNWr.js +9 -0
  400. package/dist/component/mojo-0URGVph7.js +9 -0
  401. package/dist/component/mojo-C563AncR.js +9 -0
  402. package/dist/component/monokai-D3_c3OUm.js +7 -0
  403. package/dist/component/monokai-ugSJFofr.js +7 -0
  404. package/dist/component/moonbit-BkJk2kyS.js +9 -0
  405. package/dist/component/moonbit-DlIX78rk.js +9 -0
  406. package/dist/component/move-BQAHOJb2.js +9 -0
  407. package/dist/component/move-eiW4QYDW.js +9 -0
  408. package/dist/component/narrat-2oVindvn.js +9 -0
  409. package/dist/component/narrat-Dc4cTFeW.js +9 -0
  410. package/dist/component/nextflow-B4caLl5A.js +11 -0
  411. package/dist/component/nextflow-Bk0ryO1R.js +11 -0
  412. package/dist/component/nextflow-groovy-BnXf2WiC.js +9 -0
  413. package/dist/component/nextflow-groovy-DIMIAEOy.js +9 -0
  414. package/dist/component/nginx-BaGEfT9r.js +11 -0
  415. package/dist/component/nginx-Dprlne5J.js +11 -0
  416. package/dist/component/night-owl-B6L5FL5v.js +7 -0
  417. package/dist/component/night-owl-CB_IXuNH.js +7 -0
  418. package/dist/component/night-owl-light-BZxeyl5X.js +7 -0
  419. package/dist/component/night-owl-light-CoPr05P4.js +7 -0
  420. package/dist/component/nim-BKvvFCe_.js +23 -0
  421. package/dist/component/nim-CQZqLxeE.js +23 -0
  422. package/dist/component/nix-Cp8a0vy5.js +12 -0
  423. package/dist/component/nix-DEY1zukk.js +12 -0
  424. package/dist/component/nord-D3PAEvHH.js +7 -0
  425. package/dist/component/nord-DPPgRakM.js +7 -0
  426. package/dist/component/nushell-BdsblUId.js +9 -0
  427. package/dist/component/nushell-DUUbmBaO.js +9 -0
  428. package/dist/component/objective-c-CNN3tl1v.js +9 -0
  429. package/dist/component/objective-c-D_6I2dsG.js +9 -0
  430. package/dist/component/objective-cpp-BjicYcS7.js +9 -0
  431. package/dist/component/objective-cpp-z4LTaUcg.js +9 -0
  432. package/dist/component/ocaml-BnD9haV8.js +9 -0
  433. package/dist/component/ocaml-DZseEUty.js +9 -0
  434. package/dist/component/odin-CnsCKboc.js +9 -0
  435. package/dist/component/odin-P2WSXO4H.js +9 -0
  436. package/dist/component/one-dark-pro-C_eaQ16k.js +7 -0
  437. package/dist/component/one-dark-pro-OimEv0Ou.js +7 -0
  438. package/dist/component/one-light-B0ti6b9S.js +7 -0
  439. package/dist/component/one-light-j3UfPQB3.js +7 -0
  440. package/dist/component/openscad-2vaKslxR.js +9 -0
  441. package/dist/component/openscad-jE6oRbDv.js +9 -0
  442. package/dist/component/ordinal-D0x7izaa.js +64 -0
  443. package/dist/component/pascal-8jl8irAj.js +9 -0
  444. package/dist/component/pascal-d7SASCGO.js +9 -0
  445. package/dist/component/perl-DHC1BZ_5.js +19 -0
  446. package/dist/component/perl-DVm7Pq-D.js +19 -0
  447. package/dist/component/php-BF_l-EgM.js +21 -0
  448. package/dist/component/php-BtpW2-DO.js +21 -0
  449. package/dist/component/pieDiagram-4H26LBE5-u-blLkni.js +166 -0
  450. package/dist/component/pkl-CoBnC_8G.js +9 -0
  451. package/dist/component/pkl-DZdA2Trc.js +9 -0
  452. package/dist/component/plastic-3IjBbwNP.js +7 -0
  453. package/dist/component/plastic-CixB-AlW.js +7 -0
  454. package/dist/component/plsql-Cv-ZxhCL.js +9 -0
  455. package/dist/component/plsql-CzeGyK0m.js +9 -0
  456. package/dist/component/po-eb_Amfj2.js +9 -0
  457. package/dist/component/po-moSB12fi.js +9 -0
  458. package/dist/component/poimandres-C03Jy3KZ.js +7 -0
  459. package/dist/component/poimandres-CKZ3f48N.js +7 -0
  460. package/dist/component/polar-BKFAKBSA.js +9 -0
  461. package/dist/component/polar-CsPCUbKt.js +9 -0
  462. package/dist/component/postcss-CytNqPC0.js +9 -0
  463. package/dist/component/postcss-D3_LY2LH.js +9 -0
  464. package/dist/component/powerquery-CpTndMW_.js +9 -0
  465. package/dist/component/powerquery-f-cemdrG.js +9 -0
  466. package/dist/component/powershell-B-JkstDq.js +9 -0
  467. package/dist/component/powershell-BkDB3ZO9.js +9 -0
  468. package/dist/component/prisma-B4mlcaEB.js +9 -0
  469. package/dist/component/prisma-BX88wNNq.js +9 -0
  470. package/dist/component/prolog-ZYcjPjsY.js +9 -0
  471. package/dist/component/prolog-ftPRGVaT.js +9 -0
  472. package/dist/component/proto-B5SG7zCc.js +9 -0
  473. package/dist/component/proto-DpTcjJFH.js +9 -0
  474. package/dist/component/pug-BziTjzcZ.js +15 -0
  475. package/dist/component/pug-XUdLuJ2s.js +15 -0
  476. package/dist/component/puppet-BeyD5DhV.js +9 -0
  477. package/dist/component/puppet-DjFvC8zy.js +9 -0
  478. package/dist/component/purescript-BBRU0YyZ.js +9 -0
  479. package/dist/component/purescript-Bf3WPYAV.js +9 -0
  480. package/dist/component/python-C7yusFoO.js +9 -0
  481. package/dist/component/python-CuNbg5wx.js +9 -0
  482. package/dist/component/qml-Cu9RjXOs.js +11 -0
  483. package/dist/component/qml-Z-uvElxQ.js +11 -0
  484. package/dist/component/qmldir-BHp2usxt.js +9 -0
  485. package/dist/component/qmldir-C6P--W6X.js +9 -0
  486. package/dist/component/qss-CgcBaeYL.js +9 -0
  487. package/dist/component/qss-iWzt-Nzy.js +9 -0
  488. package/dist/component/quadrantDiagram-W4KKPZXB-Bpq-EoMM.js +1033 -0
  489. package/dist/component/r-8lH98zbN.js +9 -0
  490. package/dist/component/r-CyFkAlMF.js +9 -0
  491. package/dist/component/racket-DaWPCRlQ.js +9 -0
  492. package/dist/component/racket-effgGH8q.js +9 -0
  493. package/dist/component/raku-DXM7wT4g.js +9 -0
  494. package/dist/component/raku-GZVvT-nH.js +9 -0
  495. package/dist/component/razor-CYq4jbLW.js +13 -0
  496. package/dist/component/razor-DQFDiXM1.js +13 -0
  497. package/dist/component/red-B9TgEgRC.js +7 -0
  498. package/dist/component/red-BNC90Lxb.js +7 -0
  499. package/dist/component/reg-C62uOG3A.js +9 -0
  500. package/dist/component/reg-CQgRgzkw.js +9 -0
  501. package/dist/component/regexp-D8jeZrvm.js +9 -0
  502. package/dist/component/regexp-UNvxOND4.js +9 -0
  503. package/dist/component/rel-BRyuNjQD.js +9 -0
  504. package/dist/component/rel-Cyzm_Cno.js +9 -0
  505. package/dist/component/requirementDiagram-4Y6WPE33-B8V7mLRY.js +888 -0
  506. package/dist/component/riscv-BHdC-Wfh.js +9 -0
  507. package/dist/component/riscv-BZ9l50bA.js +9 -0
  508. package/dist/component/ron--0kZyCV0.js +9 -0
  509. package/dist/component/ron-CJx-eqt3.js +9 -0
  510. package/dist/component/rose-pine-XHcBRH-D.js +7 -0
  511. package/dist/component/rose-pine-dawn-Bz77Igqs.js +7 -0
  512. package/dist/component/rose-pine-dawn-RL42yTas.js +7 -0
  513. package/dist/component/rose-pine-ksWn8nuO.js +7 -0
  514. package/dist/component/rose-pine-moon-BtSW__9n.js +7 -0
  515. package/dist/component/rose-pine-moon-QJS0aJgR.js +7 -0
  516. package/dist/component/rosmsg-BPUqDEe2.js +9 -0
  517. package/dist/component/rosmsg-CM65NRE0.js +9 -0
  518. package/dist/component/rst-CqXkCW5F.js +25 -0
  519. package/dist/component/rst-DQATMrFw.js +25 -0
  520. package/dist/component/ruby-B09XKrLg.js +33 -0
  521. package/dist/component/ruby-BJtrPIFQ.js +33 -0
  522. package/dist/component/rust-3aEF0O7t.js +9 -0
  523. package/dist/component/rust-XKBJng8W.js +9 -0
  524. package/dist/component/sankeyDiagram-5OEKKPKP-C-TbMbsr.js +862 -0
  525. package/dist/component/sas-COkwgxe_.js +11 -0
  526. package/dist/component/sas-DDLczODn.js +11 -0
  527. package/dist/component/sass-BIT8Mghp.js +9 -0
  528. package/dist/component/sass-CbXM5obh.js +9 -0
  529. package/dist/component/scala-CWyCExvl.js +9 -0
  530. package/dist/component/scala-DmAjX8OM.js +9 -0
  531. package/dist/component/scheme-BLXiZF3M.js +9 -0
  532. package/dist/component/scheme-ERi8vGmO.js +9 -0
  533. package/dist/component/scss-BX4eQ0c3.js +11 -0
  534. package/dist/component/scss-Biq-xkEY.js +11 -0
  535. package/dist/component/sdbl-B4TEJKGi.js +9 -0
  536. package/dist/component/sdbl-tnLxE-ur.js +9 -0
  537. package/dist/component/sequenceDiagram-3UESZ5HK-UHhixLbD.js +2897 -0
  538. package/dist/component/shaderlab-DMYXUCqo.js +11 -0
  539. package/dist/component/shaderlab-DqcfJRqk.js +11 -0
  540. package/dist/component/shellscript-B533aeAq.js +9 -0
  541. package/dist/component/shellscript-B8M9FK6Q.js +9 -0
  542. package/dist/component/shellsession-CvrLJEnp.js +11 -0
  543. package/dist/component/shellsession-Cy0cdv3D.js +11 -0
  544. package/dist/component/slack-dark-9TBiD8mL.js +7 -0
  545. package/dist/component/slack-dark-DN-r2Kgp.js +7 -0
  546. package/dist/component/slack-ochin-9pgdwMdj.js +7 -0
  547. package/dist/component/slack-ochin-DoqPjNJD.js +7 -0
  548. package/dist/component/smalltalk-Bbm0pJzJ.js +9 -0
  549. package/dist/component/smalltalk-BgwWJ0LQ.js +9 -0
  550. package/dist/component/snazzy-light-CRiZMLw1.js +7 -0
  551. package/dist/component/snazzy-light-D2QxPpzI.js +7 -0
  552. package/dist/component/solarized-dark-CpiZBbF-.js +7 -0
  553. package/dist/component/solarized-dark-DrZ258Kz.js +7 -0
  554. package/dist/component/solarized-light-940Q0ET-.js +7 -0
  555. package/dist/component/solarized-light-CZjXGjG0.js +7 -0
  556. package/dist/component/solidity-BiVIJAyo.js +9 -0
  557. package/dist/component/solidity-DsGO0zKs.js +9 -0
  558. package/dist/component/soy-B8d9iNux.js +11 -0
  559. package/dist/component/soy-CrWxFFIL.js +11 -0
  560. package/dist/component/sparql-C9-sbVPb.js +11 -0
  561. package/dist/component/sparql-D4y9QLpW.js +11 -0
  562. package/dist/component/splunk-8ZGt17T1.js +9 -0
  563. package/dist/component/splunk-CoLR9YoS.js +9 -0
  564. package/dist/component/sql-kcHmCqqm.js +9 -0
  565. package/dist/component/sql-vg8sPfqQ.js +9 -0
  566. package/dist/component/ssh-config-CaXR5cZI.js +9 -0
  567. package/dist/component/ssh-config-DIPB8nWv.js +9 -0
  568. package/dist/component/stata-DTwlvRC-.js +11 -0
  569. package/dist/component/stata-wXDnjjLv.js +11 -0
  570. package/dist/component/stateDiagram-AJRCARHV-DBGVr_mf.js +266 -0
  571. package/dist/component/stateDiagram-v2-BHNVJYJU-BasSd11t.js +19 -0
  572. package/dist/component/stylus-BVi_fesw.js +9 -0
  573. package/dist/component/stylus-WAexVQ6f.js +9 -0
  574. package/dist/component/surrealql-BMPoOZ16.js +11 -0
  575. package/dist/component/surrealql-CoR3cmJl.js +11 -0
  576. package/dist/component/svelte-BXoajfvD.js +17 -0
  577. package/dist/component/svelte-CSNEH6tH.js +17 -0
  578. package/dist/component/swift-C1L5BrdG.js +9 -0
  579. package/dist/component/swift-DvqRLmJa.js +9 -0
  580. package/dist/component/synthwave-84-CjU0tbaA.js +7 -0
  581. package/dist/component/synthwave-84-D0HCetP1.js +7 -0
  582. package/dist/component/system-verilog-BlCQhLvC.js +9 -0
  583. package/dist/component/system-verilog-NfYSOS9X.js +9 -0
  584. package/dist/component/systemd-C-VULMOV.js +9 -0
  585. package/dist/component/systemd-DPQeba_a.js +9 -0
  586. package/dist/component/talonscript-0iKTliWA.js +9 -0
  587. package/dist/component/talonscript-Dcq0YJ69.js +9 -0
  588. package/dist/component/tasl-CBnjmw_u.js +9 -0
  589. package/dist/component/tasl-DPTcRLbU.js +9 -0
  590. package/dist/component/tcl-B8YZq0wg.js +9 -0
  591. package/dist/component/tcl-D3IfUIUn.js +9 -0
  592. package/dist/component/templ-BWrZoBOl.js +15 -0
  593. package/dist/component/templ-CNKcDxHw.js +15 -0
  594. package/dist/component/terraform-BBGJbbOd.js +9 -0
  595. package/dist/component/terraform-CpHfbII0.js +9 -0
  596. package/dist/component/tex-Do7cxq2n.js +11 -0
  597. package/dist/component/tex-DotwMf2L.js +11 -0
  598. package/dist/component/timeline-definition-PNZ67QCA-BTzUH3cf.js +1058 -0
  599. package/dist/component/tokyo-night-50KL4qXP.js +7 -0
  600. package/dist/component/tokyo-night-CFdInRHE.js +7 -0
  601. package/dist/component/toml-BgG8u2uy.js +9 -0
  602. package/dist/component/toml-Cdrl1XDU.js +9 -0
  603. package/dist/component/ts-tags-CZ_-X2Or.js +44 -0
  604. package/dist/component/ts-tags-JQGxDVZd.js +44 -0
  605. package/dist/component/tsv-CH-Gpfzn.js +9 -0
  606. package/dist/component/tsv-DXq61Z_y.js +9 -0
  607. package/dist/component/tsx-B6WYiHjH.js +9 -0
  608. package/dist/component/tsx-BI2vzHzF.js +9 -0
  609. package/dist/component/turtle-BLh3UAZ1.js +9 -0
  610. package/dist/component/turtle-DuS0HQ9p.js +9 -0
  611. package/dist/component/twig-BA9yPOhQ.js +21 -0
  612. package/dist/component/twig-F0j_PXgJ.js +21 -0
  613. package/dist/component/typescript-Bt_Em9TU.js +9 -0
  614. package/dist/component/typescript-BxspRrVw.js +9 -0
  615. package/dist/component/typespec-CBQfkfKg.js +9 -0
  616. package/dist/component/typespec-ChsG4DJP.js +9 -0
  617. package/dist/component/typst-CLNdxZpy.js +9 -0
  618. package/dist/component/typst-rCvFF3Ml.js +9 -0
  619. package/dist/component/v-Bc8b7HcA.js +9 -0
  620. package/dist/component/v-DkBTCxRz.js +9 -0
  621. package/dist/component/vala-Bf6duLsN.js +9 -0
  622. package/dist/component/vala-D3NFAJvZ.js +9 -0
  623. package/dist/component/vb-CbCKaE0V.js +9 -0
  624. package/dist/component/vb-DoG_86dU.js +9 -0
  625. package/dist/component/vennDiagram-CIIHVFJN-CVh3weJ2.js +1560 -0
  626. package/dist/component/verilog-BsnhA3AJ.js +9 -0
  627. package/dist/component/verilog-nZodAh2g.js +9 -0
  628. package/dist/component/vesper-C9xEuBGK.js +7 -0
  629. package/dist/component/vesper-DGjNIaCs.js +7 -0
  630. package/dist/component/vhdl-D19XVLHt.js +9 -0
  631. package/dist/component/vhdl-mXcQB2Fg.js +9 -0
  632. package/dist/component/viml-8k_5DKNK.js +9 -0
  633. package/dist/component/viml-COJbZm0U.js +9 -0
  634. package/dist/component/vitesse-black-Bct4R3m4.js +7 -0
  635. package/dist/component/vitesse-black-heVxAgDf.js +7 -0
  636. package/dist/component/vitesse-dark-DdWh6SFL.js +7 -0
  637. package/dist/component/vitesse-dark-DiXBkaTo.js +7 -0
  638. package/dist/component/vitesse-light-CerMU32A.js +7 -0
  639. package/dist/component/vitesse-light-Eee3KZAP.js +7 -0
  640. package/dist/component/vue-DjB6jmJ7.js +34 -0
  641. package/dist/component/vue-YqIdEku3.js +34 -0
  642. package/dist/component/vue-html-BkvRG1qx.js +11 -0
  643. package/dist/component/vue-html-CXFz0iVx.js +11 -0
  644. package/dist/component/vue-vine-CFD4nsF4.js +21 -0
  645. package/dist/component/vue-vine-lE-jUeB6.js +21 -0
  646. package/dist/component/vyper-DTCkLS2f.js +9 -0
  647. package/dist/component/vyper-_vSvOdCD.js +9 -0
  648. package/dist/component/wardley-L42UT6IY-HA1eSIS_.js +23141 -0
  649. package/dist/component/wardleyDiagram-YWT4CUSO-Uu5KXQum.js +681 -0
  650. package/dist/component/wasm-BEUtLzBq.js +10 -0
  651. package/dist/component/wasm-Bw9k5bmy.js +9 -0
  652. package/dist/component/wasm-NiufRxKC.js +9 -0
  653. package/dist/component/wasm-rA9i46L9.js +10 -0
  654. package/dist/component/wenyan-BAnK6VvJ.js +9 -0
  655. package/dist/component/wenyan-EBJbIPqf.js +9 -0
  656. package/dist/component/wgsl-B9MSpOv3.js +9 -0
  657. package/dist/component/wgsl-Dlg8zdV4.js +9 -0
  658. package/dist/component/wikitext-C8AvgBS7.js +9 -0
  659. package/dist/component/wikitext-sNd9wc1e.js +9 -0
  660. package/dist/component/wit-BM4EHoLb.js +9 -0
  661. package/dist/component/wit-BUXWAgVD.js +9 -0
  662. package/dist/component/wolfram-Ba-Qm5eW.js +9 -0
  663. package/dist/component/wolfram-CKRVXwGa.js +9 -0
  664. package/dist/component/xml-CE4MTCb-.js +11 -0
  665. package/dist/component/xml-DXvCmeFI.js +11 -0
  666. package/dist/component/xsl-BrFD-9o5.js +11 -0
  667. package/dist/component/xsl-CHBQO4kd.js +11 -0
  668. package/dist/component/xychartDiagram-2RQKCTM6-IkxwUbCF.js +1375 -0
  669. package/dist/component/yaml-CF4mYNnF.js +9 -0
  670. package/dist/component/yaml-XzfbPk1C.js +9 -0
  671. package/dist/component/zenscript-C0pvNsdh.js +9 -0
  672. package/dist/component/zenscript-xkkNgCqg.js +9 -0
  673. package/dist/component/zig-Bz6GLPWH.js +9 -0
  674. package/dist/component/zig-oixaTxav.js +9 -0
  675. package/dist/components/ai-elements/attachments.d.ts +54 -0
  676. package/dist/components/ai-elements/code-block.d.ts +46 -0
  677. package/dist/components/ai-elements/conversation.d.ts +23 -0
  678. package/dist/components/ai-elements/copy-button.d.ts +6 -0
  679. package/dist/components/ai-elements/file-tree.d.ts +26 -0
  680. package/dist/components/ai-elements/link-safety-modal.d.ts +8 -0
  681. package/dist/components/ai-elements/message.d.ts +38 -0
  682. package/dist/components/ai-elements/plan.d.ts +25 -0
  683. package/dist/components/ai-elements/prompt-input.d.ts +158 -0
  684. package/dist/components/ai-elements/reasoning.d.ts +26 -0
  685. package/dist/components/ai-elements/shell-highlight.d.ts +3 -0
  686. package/dist/components/ai-elements/shimmer.d.ts +9 -0
  687. package/dist/components/ai-elements/suggestion.d.ts +10 -0
  688. package/dist/components/ai-elements/task.d.ts +14 -0
  689. package/dist/components/ai-elements/terminal-task.d.ts +5 -0
  690. package/dist/components/ai-elements/tool.d.ts +31 -0
  691. package/dist/components/embed/AgentGrantCard.d.ts +25 -0
  692. package/dist/components/embed/AtMentionMenu.d.ts +13 -0
  693. package/dist/components/embed/BelongMark.d.ts +4 -0
  694. package/dist/components/embed/BrandMark.d.ts +11 -0
  695. package/dist/components/embed/CapabilityHints.d.ts +1 -0
  696. package/dist/components/embed/ComposerMenu.d.ts +36 -0
  697. package/dist/components/embed/CsvTable.d.ts +10 -0
  698. package/dist/components/embed/EmbedAvatar.d.ts +35 -0
  699. package/dist/components/embed/EmbedComposer.d.ts +31 -0
  700. package/dist/components/embed/EmbedConversation.d.ts +31 -0
  701. package/dist/components/embed/EmbedFiles.d.ts +28 -0
  702. package/dist/components/embed/EmbedHeader.d.ts +11 -0
  703. package/dist/components/embed/EmbedLogin.d.ts +11 -0
  704. package/dist/components/embed/EmbedRail.d.ts +49 -0
  705. package/dist/components/embed/EmbedSessions.d.ts +23 -0
  706. package/dist/components/embed/FilePreview.d.ts +12 -0
  707. package/dist/components/embed/FilePreviewDialog.d.ts +19 -0
  708. package/dist/components/embed/MentionInput.d.ts +23 -0
  709. package/dist/components/embed/MentionPill.d.ts +25 -0
  710. package/dist/components/embed/OnboardingOverlay.d.ts +21 -0
  711. package/dist/components/embed/OnboardingTour.d.ts +24 -0
  712. package/dist/components/embed/OnboardingWelcome.d.ts +23 -0
  713. package/dist/components/embed/PlanCue.d.ts +9 -0
  714. package/dist/components/embed/PlanPanel.d.ts +13 -0
  715. package/dist/components/embed/PlanView.d.ts +16 -0
  716. package/dist/components/embed/PoweredByBelong.d.ts +7 -0
  717. package/dist/components/embed/PreviewContent.d.ts +26 -0
  718. package/dist/components/embed/PreviewPanel.d.ts +17 -0
  719. package/dist/components/embed/ProgressRing.d.ts +13 -0
  720. package/dist/components/embed/SlashCommandMenu.d.ts +13 -0
  721. package/dist/components/embed/UploadedFiles.d.ts +9 -0
  722. package/dist/components/embed/UsageMeter.d.ts +9 -0
  723. package/dist/components/embed/WelcomeIntro.d.ts +10 -0
  724. package/dist/components/embed/WorkspaceTree.d.ts +22 -0
  725. package/dist/components/embed/__plan-test-utils__.d.ts +13 -0
  726. package/dist/components/embed/dev-runtime-bar.d.ts +21 -0
  727. package/dist/components/embed/embed-composer.fixtures.d.ts +3 -0
  728. package/dist/components/embed/embed-rail.fixtures.d.ts +3 -0
  729. package/dist/components/embed/file-preview-kind.d.ts +7 -0
  730. package/dist/components/embed/onboarding-story-dock.d.ts +20 -0
  731. package/dist/components/embed/onboarding.fixtures.d.ts +9 -0
  732. package/dist/components/embed/parse-csv.d.ts +10 -0
  733. package/dist/components/embed/preview-content-kind.d.ts +15 -0
  734. package/dist/components/embed/use-panel-resize.d.ts +4 -0
  735. package/dist/components/embed/use-preview-bytes.d.ts +39 -0
  736. package/dist/components/feedback/feedback-metadata.d.ts +37 -0
  737. package/dist/components/feedback/message-feedback.d.ts +9 -0
  738. package/dist/components/ui/accordion.d.ts +7 -0
  739. package/dist/components/ui/alert.d.ts +9 -0
  740. package/dist/components/ui/avatar.d.ts +11 -0
  741. package/dist/components/ui/badge.d.ts +9 -0
  742. package/dist/components/ui/button-group.d.ts +11 -0
  743. package/dist/components/ui/button.d.ts +10 -0
  744. package/dist/components/ui/card.d.ts +9 -0
  745. package/dist/components/ui/carousel.d.ts +19 -0
  746. package/dist/components/ui/checkbox.d.ts +4 -0
  747. package/dist/components/ui/collapsible.d.ts +5 -0
  748. package/dist/components/ui/command.d.ts +18 -0
  749. package/dist/components/ui/dialog.d.ts +17 -0
  750. package/dist/components/ui/dropdown-menu.d.ts +25 -0
  751. package/dist/components/ui/hover-card.d.ts +6 -0
  752. package/dist/components/ui/input-group.d.ts +16 -0
  753. package/dist/components/ui/input.d.ts +3 -0
  754. package/dist/components/ui/popover.d.ts +10 -0
  755. package/dist/components/ui/progress.d.ts +4 -0
  756. package/dist/components/ui/radio-group.d.ts +5 -0
  757. package/dist/components/ui/scroll-area.d.ts +5 -0
  758. package/dist/components/ui/select.d.ts +15 -0
  759. package/dist/components/ui/separator.d.ts +4 -0
  760. package/dist/components/ui/spinner.d.ts +2 -0
  761. package/dist/components/ui/switch.d.ts +6 -0
  762. package/dist/components/ui/tabs.d.ts +11 -0
  763. package/dist/components/ui/textarea.d.ts +3 -0
  764. package/dist/components/ui/tooltip.d.ts +7 -0
  765. package/dist/dev-main.d.ts +0 -0
  766. package/dist/embed/agent-grant-refresh.d.ts +37 -0
  767. package/dist/embed/at-mentions.d.ts +80 -0
  768. package/dist/embed/auth0-refresh.d.ts +78 -0
  769. package/dist/embed/auto-embed.d.ts +19 -0
  770. package/dist/embed/bootstrap.d.ts +10 -0
  771. package/dist/embed/brand-marks.d.ts +11 -0
  772. package/dist/embed/build-info.d.ts +30 -0
  773. package/dist/embed/build-version.d.ts +28 -0
  774. package/dist/embed/chat-mode.d.ts +46 -0
  775. package/dist/embed/composer-focus.d.ts +14 -0
  776. package/dist/embed/copy.d.ts +84 -0
  777. package/dist/embed/custom-css.d.ts +2 -0
  778. package/dist/embed/debug-overrides.d.ts +11 -0
  779. package/dist/embed/dev-mode.d.ts +56 -0
  780. package/dist/embed/dock-layout.d.ts +30 -0
  781. package/dist/embed/dock-state.d.ts +32 -0
  782. package/dist/embed/download-url.d.ts +9 -0
  783. package/dist/embed/file-type-icon.d.ts +29 -0
  784. package/dist/embed/format-bytes.d.ts +2 -0
  785. package/dist/embed/global.d.ts +79 -0
  786. package/dist/embed/locale.d.ts +18 -0
  787. package/dist/embed/logo.d.ts +1 -0
  788. package/dist/embed/mic-press.d.ts +27 -0
  789. package/dist/embed/onboarding-prefs.d.ts +52 -0
  790. package/dist/embed/onboarding-steps.d.ts +27 -0
  791. package/dist/embed/onboarding-store.d.ts +39 -0
  792. package/dist/embed/plan-auto-open.d.ts +8 -0
  793. package/dist/embed/plan-decision.d.ts +10 -0
  794. package/dist/embed/plan-intent.d.ts +17 -0
  795. package/dist/embed/portal-container.d.ts +23 -0
  796. package/dist/embed/presets.d.ts +29 -0
  797. package/dist/embed/session-record.d.ts +16 -0
  798. package/dist/embed/shadow-mount.d.ts +37 -0
  799. package/dist/embed/slash-commands.d.ts +49 -0
  800. package/dist/embed/theme.d.ts +40 -0
  801. package/dist/embed/universe-origin.d.ts +24 -0
  802. package/dist/embed/use-workspace-file-download.d.ts +16 -0
  803. package/dist/embed/voice/audio-forwarder.worklet.d.ts +22 -0
  804. package/dist/embed/voice/audio-utils.d.ts +38 -0
  805. package/dist/embed/voice/deepgram-stt.d.ts +69 -0
  806. package/dist/embed/voice/mic-capture.d.ts +34 -0
  807. package/dist/embed/voice/sentence-split.d.ts +11 -0
  808. package/dist/embed/voice/voice-http.d.ts +8 -0
  809. package/dist/embed/voice/voice-token.d.ts +40 -0
  810. package/dist/embed/voice-bus.d.ts +75 -0
  811. package/dist/embed/voice-config.d.ts +52 -0
  812. package/dist/embed/voice-fillers.d.ts +2 -0
  813. package/dist/embed/voice-prefs.d.ts +55 -0
  814. package/dist/embed/voice-tts.d.ts +101 -0
  815. package/dist/embed/workspace-paths.d.ts +9 -0
  816. package/dist/infrastructure/telemetry/session-span-processor.d.ts +11 -0
  817. package/dist/infrastructure/telemetry/web-sdk.d.ts +29 -0
  818. package/dist/lib/belong.d.ts +12 -0
  819. package/dist/lib/tab-leadership.d.ts +46 -0
  820. package/dist/lib/use-tab-leadership.d.ts +8 -0
  821. package/dist/lib/utils.d.ts +9 -0
  822. package/dist/public-api.d.ts +3 -0
  823. package/dist/routes/chat-attachment-chip.d.ts +9 -0
  824. package/dist/routes/chat.d.ts +29 -0
  825. package/dist/routes/documents.d.ts +16 -0
  826. package/dist/routes/files.d.ts +14 -0
  827. package/dist/routes/sample-artifact.d.ts +7 -0
  828. package/dist/routes/sessions.d.ts +4 -0
  829. package/dist/routes/static-chat-fixture.d.ts +26 -0
  830. package/dist/stream/ai-sdk-part-renderers.d.ts +66 -0
  831. package/dist/stream/belong-chat-transport.d.ts +679 -0
  832. package/dist/stream/belong-data-parts.d.ts +207 -0
  833. package/dist/stream/chat-upload.d.ts +35 -0
  834. package/dist/stream/plan-panel-store.d.ts +11 -0
  835. package/dist/stream/plan-progress-store.d.ts +4 -0
  836. package/dist/stream/plan-progress.d.ts +25 -0
  837. package/dist/stream/plan-store.d.ts +16 -0
  838. package/dist/stream/preview-panel-store.d.ts +50 -0
  839. package/dist/stream/sandbox-output.d.ts +32 -0
  840. package/dist/stream/select-latest-plan.d.ts +17 -0
  841. package/dist/stream/select-session-usage.d.ts +23 -0
  842. package/dist/stream/session-title.d.ts +15 -0
  843. package/dist/stream/stream-state-store.d.ts +67 -0
  844. package/dist/stream/tool-io.d.ts +7 -0
  845. package/dist/test/render.d.ts +23 -0
  846. package/dist/test-setup.d.ts +1 -0
  847. package/dist/types/public.d.ts +189 -0
  848. package/package.json +38 -0
@@ -0,0 +1,1537 @@
1
+ import { g as tt } from "./chunk-FMBD7UC4-CyqtPCO0.js";
2
+ import { c as st } from "./chunk-ND2GUHAM-CzTviSBV.js";
3
+ import { g as it } from "./chunk-55IACEB6-XfJuuv6Y.js";
4
+ import { s as at } from "./chunk-2J33WTMH-CGaAxoSO.js";
5
+ import { _ as f, l as Ie, c as F, p as rt, r as nt, u as Oe, d as de, z as ut, b as lt, a as ct, s as ot, g as ht, q as dt, t as pt, k as I, B as At, y as ft, i as gt, ab as G } from "./mermaid-GHXKKRXX-C5Y3BZXR.js";
6
+ globalThis.process = globalThis.process || { env: {} };
7
+ globalThis.global = globalThis.global || globalThis;
8
+ var we = (function() {
9
+ var t = /* @__PURE__ */ f(function(O, o, h, p) {
10
+ for (h = h || {}, p = O.length; p--; h[O[p]] = o) ;
11
+ return h;
12
+ }, "o"), i = [1, 18], a = [1, 19], r = [1, 20], n = [1, 41], c = [1, 26], l = [1, 42], d = [1, 24], m = [1, 25], g = [1, 32], N = [1, 33], Ae = [1, 34], C = [1, 45], fe = [1, 35], ge = [1, 36], me = [1, 37], be = [1, 38], Ce = [1, 27], ke = [1, 28], Ee = [1, 29], Te = [1, 30], ye = [1, 31], k = [1, 44], E = [1, 46], T = [1, 43], y = [1, 47], De = [1, 9], A = [1, 8, 9], Z = [1, 58], $ = [1, 59], ee = [1, 60], te = [1, 61], se = [1, 62], Fe = [1, 63], Be = [1, 64], _ = [1, 8, 9, 41], Pe = [1, 77], M = [1, 8, 9, 12, 13, 22, 39, 41, 44, 46, 68, 69, 70, 71, 72, 73, 74, 79, 81], ie = [1, 8, 9, 12, 13, 18, 20, 22, 39, 41, 44, 46, 47, 60, 68, 69, 70, 71, 72, 73, 74, 79, 81, 86, 100, 102, 103], ae = [13, 60, 86, 100, 102, 103], U = [13, 60, 73, 74, 86, 100, 102, 103], Me = [13, 60, 68, 69, 70, 71, 72, 86, 100, 102, 103], re = [1, 103], z = [1, 121], Y = [1, 117], K = [1, 113], W = [1, 119], Q = [1, 114], j = [1, 115], X = [1, 116], q = [1, 118], H = [1, 120], Re = [22, 50, 60, 61, 82, 86, 87, 88, 89, 90], Ge = [1, 128], ne = [12, 39], _e = [1, 8, 9, 39, 41, 44, 46], ue = [1, 8, 9, 22], Ue = [1, 153], ze = [1, 8, 9, 61], x = [1, 8, 9, 22, 50, 60, 61, 82, 86, 87, 88, 89, 90], Se = {
13
+ trace: /* @__PURE__ */ f(function() {
14
+ }, "trace"),
15
+ yy: {},
16
+ symbols_: { error: 2, start: 3, mermaidDoc: 4, statements: 5, graphConfig: 6, CLASS_DIAGRAM: 7, NEWLINE: 8, EOF: 9, statement: 10, classLabel: 11, SQS: 12, STR: 13, SQE: 14, namespaceName: 15, alphaNumToken: 16, classLiteralName: 17, DOT: 18, className: 19, GENERICTYPE: 20, relationStatement: 21, LABEL: 22, namespaceStatement: 23, classStatement: 24, memberStatement: 25, annotationStatement: 26, clickStatement: 27, styleStatement: 28, cssClassStatement: 29, noteStatement: 30, classDefStatement: 31, direction: 32, acc_title: 33, acc_title_value: 34, acc_descr: 35, acc_descr_value: 36, acc_descr_multiline_value: 37, namespaceIdentifier: 38, STRUCT_START: 39, classStatements: 40, STRUCT_STOP: 41, NAMESPACE: 42, classIdentifier: 43, STYLE_SEPARATOR: 44, members: 45, ANNOTATION_START: 46, ANNOTATION_END: 47, CLASS: 48, emptyBody: 49, SPACE: 50, MEMBER: 51, SEPARATOR: 52, relation: 53, NOTE_FOR: 54, noteText: 55, NOTE: 56, CLASSDEF: 57, classList: 58, stylesOpt: 59, ALPHA: 60, COMMA: 61, direction_tb: 62, direction_bt: 63, direction_rl: 64, direction_lr: 65, relationType: 66, lineType: 67, AGGREGATION: 68, EXTENSION: 69, COMPOSITION: 70, DEPENDENCY: 71, LOLLIPOP: 72, LINE: 73, DOTTED_LINE: 74, CALLBACK: 75, LINK: 76, LINK_TARGET: 77, CLICK: 78, CALLBACK_NAME: 79, CALLBACK_ARGS: 80, HREF: 81, STYLE: 82, CSSCLASS: 83, style: 84, styleComponent: 85, NUM: 86, COLON: 87, UNIT: 88, BRKT: 89, PCT: 90, commentToken: 91, textToken: 92, graphCodeTokens: 93, textNoTagsToken: 94, TAGSTART: 95, TAGEND: 96, "==": 97, "--": 98, DEFAULT: 99, MINUS: 100, keywords: 101, UNICODE_TEXT: 102, BQUOTE_STR: 103, $accept: 0, $end: 1 },
17
+ terminals_: { 2: "error", 7: "CLASS_DIAGRAM", 8: "NEWLINE", 9: "EOF", 12: "SQS", 13: "STR", 14: "SQE", 18: "DOT", 20: "GENERICTYPE", 22: "LABEL", 33: "acc_title", 34: "acc_title_value", 35: "acc_descr", 36: "acc_descr_value", 37: "acc_descr_multiline_value", 39: "STRUCT_START", 41: "STRUCT_STOP", 42: "NAMESPACE", 44: "STYLE_SEPARATOR", 46: "ANNOTATION_START", 47: "ANNOTATION_END", 48: "CLASS", 50: "SPACE", 51: "MEMBER", 52: "SEPARATOR", 54: "NOTE_FOR", 56: "NOTE", 57: "CLASSDEF", 60: "ALPHA", 61: "COMMA", 62: "direction_tb", 63: "direction_bt", 64: "direction_rl", 65: "direction_lr", 68: "AGGREGATION", 69: "EXTENSION", 70: "COMPOSITION", 71: "DEPENDENCY", 72: "LOLLIPOP", 73: "LINE", 74: "DOTTED_LINE", 75: "CALLBACK", 76: "LINK", 77: "LINK_TARGET", 78: "CLICK", 79: "CALLBACK_NAME", 80: "CALLBACK_ARGS", 81: "HREF", 82: "STYLE", 83: "CSSCLASS", 86: "NUM", 87: "COLON", 88: "UNIT", 89: "BRKT", 90: "PCT", 93: "graphCodeTokens", 95: "TAGSTART", 96: "TAGEND", 97: "==", 98: "--", 99: "DEFAULT", 100: "MINUS", 101: "keywords", 102: "UNICODE_TEXT", 103: "BQUOTE_STR" },
18
+ productions_: [0, [3, 1], [3, 1], [4, 1], [6, 4], [5, 1], [5, 2], [5, 3], [11, 3], [15, 1], [15, 1], [15, 3], [15, 2], [19, 1], [19, 3], [19, 1], [19, 2], [19, 2], [19, 2], [10, 1], [10, 2], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 2], [10, 2], [10, 1], [23, 4], [23, 5], [38, 2], [38, 3], [40, 1], [40, 2], [40, 3], [40, 1], [40, 2], [40, 3], [40, 1], [40, 2], [40, 3], [24, 1], [24, 3], [24, 4], [24, 3], [24, 6], [24, 4], [24, 7], [24, 6], [43, 2], [43, 3], [49, 0], [49, 2], [49, 2], [26, 4], [45, 1], [45, 2], [25, 1], [25, 2], [25, 1], [25, 1], [21, 3], [21, 4], [21, 4], [21, 5], [30, 3], [30, 2], [31, 3], [58, 1], [58, 3], [32, 1], [32, 1], [32, 1], [32, 1], [53, 3], [53, 2], [53, 2], [53, 1], [66, 1], [66, 1], [66, 1], [66, 1], [66, 1], [67, 1], [67, 1], [27, 3], [27, 4], [27, 3], [27, 4], [27, 4], [27, 5], [27, 3], [27, 4], [27, 4], [27, 5], [27, 4], [27, 5], [27, 5], [27, 6], [28, 3], [29, 3], [59, 1], [59, 3], [84, 1], [84, 2], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [91, 1], [91, 1], [92, 1], [92, 1], [92, 1], [92, 1], [92, 1], [92, 1], [92, 1], [94, 1], [94, 1], [94, 1], [94, 1], [16, 1], [16, 1], [16, 1], [16, 1], [17, 1], [55, 1]],
19
+ performAction: /* @__PURE__ */ f(function(o, h, p, u, b, e, J) {
20
+ var s = e.length - 1;
21
+ switch (b) {
22
+ case 8:
23
+ this.$ = e[s - 1];
24
+ break;
25
+ case 9:
26
+ case 10:
27
+ case 13:
28
+ case 15:
29
+ this.$ = e[s];
30
+ break;
31
+ case 11:
32
+ case 14:
33
+ this.$ = e[s - 2] + "." + e[s];
34
+ break;
35
+ case 12:
36
+ case 16:
37
+ this.$ = e[s - 1] + e[s];
38
+ break;
39
+ case 17:
40
+ case 18:
41
+ this.$ = e[s - 1] + "~" + e[s] + "~";
42
+ break;
43
+ case 19:
44
+ u.addRelation(e[s]);
45
+ break;
46
+ case 20:
47
+ e[s - 1].title = u.cleanupLabel(e[s]), u.addRelation(e[s - 1]);
48
+ break;
49
+ case 31:
50
+ this.$ = e[s].trim(), u.setAccTitle(this.$);
51
+ break;
52
+ case 32:
53
+ case 33:
54
+ this.$ = e[s].trim(), u.setAccDescription(this.$);
55
+ break;
56
+ case 34:
57
+ u.addClassesToNamespace(e[s - 3], e[s - 1][0], e[s - 1][1]), u.popNamespace();
58
+ break;
59
+ case 35:
60
+ u.addClassesToNamespace(e[s - 4], e[s - 1][0], e[s - 1][1]), u.popNamespace();
61
+ break;
62
+ case 36:
63
+ this.$ = u.addNamespace(e[s]);
64
+ break;
65
+ case 37:
66
+ this.$ = u.addNamespace(e[s - 1], e[s]);
67
+ break;
68
+ case 38:
69
+ this.$ = [[e[s]], []];
70
+ break;
71
+ case 39:
72
+ this.$ = [[e[s - 1]], []];
73
+ break;
74
+ case 40:
75
+ e[s][0].unshift(e[s - 2]), this.$ = e[s];
76
+ break;
77
+ case 41:
78
+ this.$ = [[], [e[s]]];
79
+ break;
80
+ case 42:
81
+ this.$ = [[], [e[s - 1]]];
82
+ break;
83
+ case 43:
84
+ e[s][1].unshift(e[s - 2]), this.$ = e[s];
85
+ break;
86
+ case 44:
87
+ case 45:
88
+ this.$ = [[], []];
89
+ break;
90
+ case 46:
91
+ this.$ = e[s];
92
+ break;
93
+ case 48:
94
+ u.setCssClass(e[s - 2], e[s]);
95
+ break;
96
+ case 49:
97
+ u.addMembers(e[s - 3], e[s - 1]);
98
+ break;
99
+ case 51:
100
+ u.setCssClass(e[s - 5], e[s - 3]), u.addMembers(e[s - 5], e[s - 1]);
101
+ break;
102
+ case 52:
103
+ u.addAnnotation(e[s - 3], e[s - 1]);
104
+ break;
105
+ case 53:
106
+ u.addAnnotation(e[s - 6], e[s - 4]), u.addMembers(e[s - 6], e[s - 1]);
107
+ break;
108
+ case 54:
109
+ u.addAnnotation(e[s - 5], e[s - 3]);
110
+ break;
111
+ case 55:
112
+ this.$ = e[s], u.addClass(e[s]);
113
+ break;
114
+ case 56:
115
+ this.$ = e[s - 1], u.addClass(e[s - 1]), u.setClassLabel(e[s - 1], e[s]);
116
+ break;
117
+ case 60:
118
+ u.addAnnotation(e[s], e[s - 2]);
119
+ break;
120
+ case 61:
121
+ case 74:
122
+ this.$ = [e[s]];
123
+ break;
124
+ case 62:
125
+ e[s].push(e[s - 1]), this.$ = e[s];
126
+ break;
127
+ case 63:
128
+ break;
129
+ case 64:
130
+ u.addMember(e[s - 1], u.cleanupLabel(e[s]));
131
+ break;
132
+ case 65:
133
+ break;
134
+ case 66:
135
+ break;
136
+ case 67:
137
+ this.$ = { id1: e[s - 2], id2: e[s], relation: e[s - 1], relationTitle1: "none", relationTitle2: "none" };
138
+ break;
139
+ case 68:
140
+ this.$ = { id1: e[s - 3], id2: e[s], relation: e[s - 1], relationTitle1: e[s - 2], relationTitle2: "none" };
141
+ break;
142
+ case 69:
143
+ this.$ = { id1: e[s - 3], id2: e[s], relation: e[s - 2], relationTitle1: "none", relationTitle2: e[s - 1] };
144
+ break;
145
+ case 70:
146
+ this.$ = { id1: e[s - 4], id2: e[s], relation: e[s - 2], relationTitle1: e[s - 3], relationTitle2: e[s - 1] };
147
+ break;
148
+ case 71:
149
+ this.$ = u.addNote(e[s], e[s - 1]);
150
+ break;
151
+ case 72:
152
+ this.$ = u.addNote(e[s]);
153
+ break;
154
+ case 73:
155
+ this.$ = e[s - 2], u.defineClass(e[s - 1], e[s]);
156
+ break;
157
+ case 75:
158
+ this.$ = e[s - 2].concat([e[s]]);
159
+ break;
160
+ case 76:
161
+ u.setDirection("TB");
162
+ break;
163
+ case 77:
164
+ u.setDirection("BT");
165
+ break;
166
+ case 78:
167
+ u.setDirection("RL");
168
+ break;
169
+ case 79:
170
+ u.setDirection("LR");
171
+ break;
172
+ case 80:
173
+ this.$ = { type1: e[s - 2], type2: e[s], lineType: e[s - 1] };
174
+ break;
175
+ case 81:
176
+ this.$ = { type1: "none", type2: e[s], lineType: e[s - 1] };
177
+ break;
178
+ case 82:
179
+ this.$ = { type1: e[s - 1], type2: "none", lineType: e[s] };
180
+ break;
181
+ case 83:
182
+ this.$ = { type1: "none", type2: "none", lineType: e[s] };
183
+ break;
184
+ case 84:
185
+ this.$ = u.relationType.AGGREGATION;
186
+ break;
187
+ case 85:
188
+ this.$ = u.relationType.EXTENSION;
189
+ break;
190
+ case 86:
191
+ this.$ = u.relationType.COMPOSITION;
192
+ break;
193
+ case 87:
194
+ this.$ = u.relationType.DEPENDENCY;
195
+ break;
196
+ case 88:
197
+ this.$ = u.relationType.LOLLIPOP;
198
+ break;
199
+ case 89:
200
+ this.$ = u.lineType.LINE;
201
+ break;
202
+ case 90:
203
+ this.$ = u.lineType.DOTTED_LINE;
204
+ break;
205
+ case 91:
206
+ case 97:
207
+ this.$ = e[s - 2], u.setClickEvent(e[s - 1], e[s]);
208
+ break;
209
+ case 92:
210
+ case 98:
211
+ this.$ = e[s - 3], u.setClickEvent(e[s - 2], e[s - 1]), u.setTooltip(e[s - 2], e[s]);
212
+ break;
213
+ case 93:
214
+ this.$ = e[s - 2], u.setLink(e[s - 1], e[s]);
215
+ break;
216
+ case 94:
217
+ this.$ = e[s - 3], u.setLink(e[s - 2], e[s - 1], e[s]);
218
+ break;
219
+ case 95:
220
+ this.$ = e[s - 3], u.setLink(e[s - 2], e[s - 1]), u.setTooltip(e[s - 2], e[s]);
221
+ break;
222
+ case 96:
223
+ this.$ = e[s - 4], u.setLink(e[s - 3], e[s - 2], e[s]), u.setTooltip(e[s - 3], e[s - 1]);
224
+ break;
225
+ case 99:
226
+ this.$ = e[s - 3], u.setClickEvent(e[s - 2], e[s - 1], e[s]);
227
+ break;
228
+ case 100:
229
+ this.$ = e[s - 4], u.setClickEvent(e[s - 3], e[s - 2], e[s - 1]), u.setTooltip(e[s - 3], e[s]);
230
+ break;
231
+ case 101:
232
+ this.$ = e[s - 3], u.setLink(e[s - 2], e[s]);
233
+ break;
234
+ case 102:
235
+ this.$ = e[s - 4], u.setLink(e[s - 3], e[s - 1], e[s]);
236
+ break;
237
+ case 103:
238
+ this.$ = e[s - 4], u.setLink(e[s - 3], e[s - 1]), u.setTooltip(e[s - 3], e[s]);
239
+ break;
240
+ case 104:
241
+ this.$ = e[s - 5], u.setLink(e[s - 4], e[s - 2], e[s]), u.setTooltip(e[s - 4], e[s - 1]);
242
+ break;
243
+ case 105:
244
+ this.$ = e[s - 2], u.setCssStyle(e[s - 1], e[s]);
245
+ break;
246
+ case 106:
247
+ u.setCssClass(e[s - 1], e[s]);
248
+ break;
249
+ case 107:
250
+ this.$ = [e[s]];
251
+ break;
252
+ case 108:
253
+ e[s - 2].push(e[s]), this.$ = e[s - 2];
254
+ break;
255
+ case 110:
256
+ this.$ = e[s - 1] + e[s];
257
+ break;
258
+ }
259
+ }, "anonymous"),
260
+ table: [{ 3: 1, 4: 2, 5: 3, 6: 4, 7: [1, 6], 10: 5, 16: 39, 17: 40, 19: 21, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 33: i, 35: a, 37: r, 38: 22, 42: n, 43: 23, 46: c, 48: l, 51: d, 52: m, 54: g, 56: N, 57: Ae, 60: C, 62: fe, 63: ge, 64: me, 65: be, 75: Ce, 76: ke, 78: Ee, 82: Te, 83: ye, 86: k, 100: E, 102: T, 103: y }, { 1: [3] }, { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3] }, t(De, [2, 5], { 8: [1, 48] }), { 8: [1, 49] }, t(A, [2, 19], { 22: [1, 50] }), t(A, [2, 21]), t(A, [2, 22]), t(A, [2, 23]), t(A, [2, 24]), t(A, [2, 25]), t(A, [2, 26]), t(A, [2, 27]), t(A, [2, 28]), t(A, [2, 29]), t(A, [2, 30]), { 34: [1, 51] }, { 36: [1, 52] }, t(A, [2, 33]), t(A, [2, 63], { 53: 53, 66: 56, 67: 57, 13: [1, 54], 22: [1, 55], 68: Z, 69: $, 70: ee, 71: te, 72: se, 73: Fe, 74: Be }), { 39: [1, 65] }, t(_, [2, 47], { 39: [1, 67], 44: [1, 66], 46: [1, 68] }), t(A, [2, 65]), t(A, [2, 66]), { 16: 69, 60: C, 86: k, 100: E, 102: T }, { 16: 39, 17: 40, 19: 70, 60: C, 86: k, 100: E, 102: T, 103: y }, { 16: 39, 17: 40, 19: 71, 60: C, 86: k, 100: E, 102: T, 103: y }, { 16: 39, 17: 40, 19: 72, 60: C, 86: k, 100: E, 102: T, 103: y }, { 60: [1, 73] }, { 13: [1, 74] }, { 16: 39, 17: 40, 19: 75, 60: C, 86: k, 100: E, 102: T, 103: y }, { 13: Pe, 55: 76 }, { 58: 78, 60: [1, 79] }, t(A, [2, 76]), t(A, [2, 77]), t(A, [2, 78]), t(A, [2, 79]), t(M, [2, 13], { 16: 39, 17: 40, 19: 81, 18: [1, 80], 20: [1, 82], 60: C, 86: k, 100: E, 102: T, 103: y }), t(M, [2, 15], { 20: [1, 83] }), { 15: 84, 16: 85, 17: 86, 60: C, 86: k, 100: E, 102: T, 103: y }, { 16: 39, 17: 40, 19: 87, 60: C, 86: k, 100: E, 102: T, 103: y }, t(ie, [2, 133]), t(ie, [2, 134]), t(ie, [2, 135]), t(ie, [2, 136]), t([1, 8, 9, 12, 13, 20, 22, 39, 41, 44, 46, 68, 69, 70, 71, 72, 73, 74, 79, 81], [2, 137]), t(De, [2, 6], { 10: 5, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 19: 21, 38: 22, 43: 23, 16: 39, 17: 40, 5: 88, 33: i, 35: a, 37: r, 42: n, 46: c, 48: l, 51: d, 52: m, 54: g, 56: N, 57: Ae, 60: C, 62: fe, 63: ge, 64: me, 65: be, 75: Ce, 76: ke, 78: Ee, 82: Te, 83: ye, 86: k, 100: E, 102: T, 103: y }), { 5: 89, 10: 5, 16: 39, 17: 40, 19: 21, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 33: i, 35: a, 37: r, 38: 22, 42: n, 43: 23, 46: c, 48: l, 51: d, 52: m, 54: g, 56: N, 57: Ae, 60: C, 62: fe, 63: ge, 64: me, 65: be, 75: Ce, 76: ke, 78: Ee, 82: Te, 83: ye, 86: k, 100: E, 102: T, 103: y }, t(A, [2, 20]), t(A, [2, 31]), t(A, [2, 32]), { 13: [1, 91], 16: 39, 17: 40, 19: 90, 60: C, 86: k, 100: E, 102: T, 103: y }, { 53: 92, 66: 56, 67: 57, 68: Z, 69: $, 70: ee, 71: te, 72: se, 73: Fe, 74: Be }, t(A, [2, 64]), { 67: 93, 73: Fe, 74: Be }, t(ae, [2, 83], { 66: 94, 68: Z, 69: $, 70: ee, 71: te, 72: se }), t(U, [2, 84]), t(U, [2, 85]), t(U, [2, 86]), t(U, [2, 87]), t(U, [2, 88]), t(Me, [2, 89]), t(Me, [2, 90]), { 8: [1, 96], 23: 99, 24: 97, 30: 98, 38: 22, 40: 95, 42: n, 43: 23, 48: l, 54: g, 56: N }, { 16: 100, 60: C, 86: k, 100: E, 102: T }, { 41: [1, 102], 45: 101, 51: re }, { 16: 104, 60: C, 86: k, 100: E, 102: T }, { 47: [1, 105] }, { 13: [1, 106] }, { 13: [1, 107] }, { 79: [1, 108], 81: [1, 109] }, { 22: z, 50: Y, 59: 110, 60: K, 82: W, 84: 111, 85: 112, 86: Q, 87: j, 88: X, 89: q, 90: H }, { 60: [1, 122] }, { 13: Pe, 55: 123 }, t(_, [2, 72]), t(_, [2, 138]), { 22: z, 50: Y, 59: 124, 60: K, 61: [1, 125], 82: W, 84: 111, 85: 112, 86: Q, 87: j, 88: X, 89: q, 90: H }, t(Re, [2, 74]), { 16: 39, 17: 40, 19: 126, 60: C, 86: k, 100: E, 102: T, 103: y }, t(M, [2, 16]), t(M, [2, 17]), t(M, [2, 18]), { 11: 127, 12: Ge, 39: [2, 36] }, t(ne, [2, 9], { 16: 85, 17: 86, 15: 130, 18: [1, 129], 60: C, 86: k, 100: E, 102: T, 103: y }), t(ne, [2, 10]), t(_e, [2, 55], { 11: 131, 12: Ge }), t(De, [2, 7]), { 9: [1, 132] }, t(ue, [2, 67]), { 16: 39, 17: 40, 19: 133, 60: C, 86: k, 100: E, 102: T, 103: y }, { 13: [1, 135], 16: 39, 17: 40, 19: 134, 60: C, 86: k, 100: E, 102: T, 103: y }, t(ae, [2, 82], { 66: 136, 68: Z, 69: $, 70: ee, 71: te, 72: se }), t(ae, [2, 81]), { 41: [1, 137] }, { 23: 99, 24: 97, 30: 98, 38: 22, 40: 138, 42: n, 43: 23, 48: l, 54: g, 56: N }, { 8: [1, 139], 41: [2, 38] }, { 8: [1, 140], 41: [2, 41] }, { 8: [1, 141], 41: [2, 44] }, t(_, [2, 48], { 39: [1, 142] }), { 41: [1, 143] }, t(_, [2, 50]), { 41: [2, 61], 45: 144, 51: re }, { 47: [1, 145] }, { 16: 39, 17: 40, 19: 146, 60: C, 86: k, 100: E, 102: T, 103: y }, t(A, [2, 91], { 13: [1, 147] }), t(A, [2, 93], { 13: [1, 149], 77: [1, 148] }), t(A, [2, 97], { 13: [1, 150], 80: [1, 151] }), { 13: [1, 152] }, t(A, [2, 105], { 61: Ue }), t(ze, [2, 107], { 85: 154, 22: z, 50: Y, 60: K, 82: W, 86: Q, 87: j, 88: X, 89: q, 90: H }), t(x, [2, 109]), t(x, [2, 111]), t(x, [2, 112]), t(x, [2, 113]), t(x, [2, 114]), t(x, [2, 115]), t(x, [2, 116]), t(x, [2, 117]), t(x, [2, 118]), t(x, [2, 119]), t(A, [2, 106]), t(_, [2, 71]), t(A, [2, 73], { 61: Ue }), { 60: [1, 155] }, t(M, [2, 14]), { 39: [2, 37] }, { 13: [1, 156] }, { 15: 157, 16: 85, 17: 86, 60: C, 86: k, 100: E, 102: T, 103: y }, t(ne, [2, 12]), t(_e, [2, 56]), { 1: [2, 4] }, t(ue, [2, 69]), t(ue, [2, 68]), { 16: 39, 17: 40, 19: 158, 60: C, 86: k, 100: E, 102: T, 103: y }, t(ae, [2, 80]), t(_, [2, 34]), { 41: [1, 159] }, { 23: 99, 24: 97, 30: 98, 38: 22, 40: 160, 41: [2, 39], 42: n, 43: 23, 48: l, 54: g, 56: N }, { 23: 99, 24: 97, 30: 98, 38: 22, 40: 161, 41: [2, 42], 42: n, 43: 23, 48: l, 54: g, 56: N }, { 23: 99, 24: 97, 30: 98, 38: 22, 40: 162, 41: [2, 45], 42: n, 43: 23, 48: l, 54: g, 56: N }, { 45: 163, 51: re }, t(_, [2, 49]), { 41: [2, 62] }, t(_, [2, 52], { 39: [1, 164] }), t(A, [2, 60]), t(A, [2, 92]), t(A, [2, 94]), t(A, [2, 95], { 77: [1, 165] }), t(A, [2, 98]), t(A, [2, 99], { 13: [1, 166] }), t(A, [2, 101], { 13: [1, 168], 77: [1, 167] }), { 22: z, 50: Y, 60: K, 82: W, 84: 169, 85: 112, 86: Q, 87: j, 88: X, 89: q, 90: H }, t(x, [2, 110]), t(Re, [2, 75]), { 14: [1, 170] }, t(ne, [2, 11]), t(ue, [2, 70]), t(_, [2, 35]), { 41: [2, 40] }, { 41: [2, 43] }, { 41: [2, 46] }, { 41: [1, 171] }, { 41: [1, 173], 45: 172, 51: re }, t(A, [2, 96]), t(A, [2, 100]), t(A, [2, 102]), t(A, [2, 103], { 77: [1, 174] }), t(ze, [2, 108], { 85: 154, 22: z, 50: Y, 60: K, 82: W, 86: Q, 87: j, 88: X, 89: q, 90: H }), t(_e, [2, 8]), t(_, [2, 51]), { 41: [1, 175] }, t(_, [2, 54]), t(A, [2, 104]), t(_, [2, 53])],
261
+ defaultActions: { 2: [2, 1], 3: [2, 2], 4: [2, 3], 127: [2, 37], 132: [2, 4], 144: [2, 62], 160: [2, 40], 161: [2, 43], 162: [2, 46] },
262
+ parseError: /* @__PURE__ */ f(function(o, h) {
263
+ if (h.recoverable)
264
+ this.trace(o);
265
+ else {
266
+ var p = new Error(o);
267
+ throw p.hash = h, p;
268
+ }
269
+ }, "parseError"),
270
+ parse: /* @__PURE__ */ f(function(o) {
271
+ var h = this, p = [0], u = [], b = [null], e = [], J = this.table, s = "", ce = 0, Ye = 0, Je = 2, Ke = 1, Ze = e.slice.call(arguments, 1), D = Object.create(this.lexer), w = { yy: {} };
272
+ for (var Ne in this.yy)
273
+ Object.prototype.hasOwnProperty.call(this.yy, Ne) && (w.yy[Ne] = this.yy[Ne]);
274
+ D.setInput(o, w.yy), w.yy.lexer = D, w.yy.parser = this, typeof D.yylloc > "u" && (D.yylloc = {});
275
+ var Le = D.yylloc;
276
+ e.push(Le);
277
+ var $e = D.options && D.options.ranges;
278
+ typeof w.yy.parseError == "function" ? this.parseError = w.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
279
+ function et(S) {
280
+ p.length = p.length - 2 * S, b.length = b.length - S, e.length = e.length - S;
281
+ }
282
+ f(et, "popStack");
283
+ function We() {
284
+ var S;
285
+ return S = u.pop() || D.lex() || Ke, typeof S != "number" && (S instanceof Array && (u = S, S = u.pop()), S = h.symbols_[S] || S), S;
286
+ }
287
+ f(We, "lex");
288
+ for (var B, V, L, xe, R = {}, oe, v, Qe, he; ; ) {
289
+ if (V = p[p.length - 1], this.defaultActions[V] ? L = this.defaultActions[V] : ((B === null || typeof B > "u") && (B = We()), L = J[V] && J[V][B]), typeof L > "u" || !L.length || !L[0]) {
290
+ var ve = "";
291
+ he = [];
292
+ for (oe in J[V])
293
+ this.terminals_[oe] && oe > Je && he.push("'" + this.terminals_[oe] + "'");
294
+ D.showPosition ? ve = "Parse error on line " + (ce + 1) + `:
295
+ ` + D.showPosition() + `
296
+ Expecting ` + he.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : ve = "Parse error on line " + (ce + 1) + ": Unexpected " + (B == Ke ? "end of input" : "'" + (this.terminals_[B] || B) + "'"), this.parseError(ve, {
297
+ text: D.match,
298
+ token: this.terminals_[B] || B,
299
+ line: D.yylineno,
300
+ loc: Le,
301
+ expected: he
302
+ });
303
+ }
304
+ if (L[0] instanceof Array && L.length > 1)
305
+ throw new Error("Parse Error: multiple actions possible at state: " + V + ", token: " + B);
306
+ switch (L[0]) {
307
+ case 1:
308
+ p.push(B), b.push(D.yytext), e.push(D.yylloc), p.push(L[1]), B = null, Ye = D.yyleng, s = D.yytext, ce = D.yylineno, Le = D.yylloc;
309
+ break;
310
+ case 2:
311
+ if (v = this.productions_[L[1]][1], R.$ = b[b.length - v], R._$ = {
312
+ first_line: e[e.length - (v || 1)].first_line,
313
+ last_line: e[e.length - 1].last_line,
314
+ first_column: e[e.length - (v || 1)].first_column,
315
+ last_column: e[e.length - 1].last_column
316
+ }, $e && (R._$.range = [
317
+ e[e.length - (v || 1)].range[0],
318
+ e[e.length - 1].range[1]
319
+ ]), xe = this.performAction.apply(R, [
320
+ s,
321
+ Ye,
322
+ ce,
323
+ w.yy,
324
+ L[1],
325
+ b,
326
+ e
327
+ ].concat(Ze)), typeof xe < "u")
328
+ return xe;
329
+ v && (p = p.slice(0, -1 * v * 2), b = b.slice(0, -1 * v), e = e.slice(0, -1 * v)), p.push(this.productions_[L[1]][0]), b.push(R.$), e.push(R._$), Qe = J[p[p.length - 2]][p[p.length - 1]], p.push(Qe);
330
+ break;
331
+ case 3:
332
+ return !0;
333
+ }
334
+ }
335
+ return !0;
336
+ }, "parse")
337
+ }, He = /* @__PURE__ */ (function() {
338
+ var O = {
339
+ EOF: 1,
340
+ parseError: /* @__PURE__ */ f(function(h, p) {
341
+ if (this.yy.parser)
342
+ this.yy.parser.parseError(h, p);
343
+ else
344
+ throw new Error(h);
345
+ }, "parseError"),
346
+ // resets the lexer, sets new input
347
+ setInput: /* @__PURE__ */ f(function(o, h) {
348
+ return this.yy = h || this.yy || {}, this._input = o, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
349
+ first_line: 1,
350
+ first_column: 0,
351
+ last_line: 1,
352
+ last_column: 0
353
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
354
+ }, "setInput"),
355
+ // consumes and returns one char from the input
356
+ input: /* @__PURE__ */ f(function() {
357
+ var o = this._input[0];
358
+ this.yytext += o, this.yyleng++, this.offset++, this.match += o, this.matched += o;
359
+ var h = o.match(/(?:\r\n?|\n).*/g);
360
+ return h ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), o;
361
+ }, "input"),
362
+ // unshifts one char (or a string) into the input
363
+ unput: /* @__PURE__ */ f(function(o) {
364
+ var h = o.length, p = o.split(/(?:\r\n?|\n)/g);
365
+ this._input = o + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - h), this.offset -= h;
366
+ var u = this.match.split(/(?:\r\n?|\n)/g);
367
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), p.length - 1 && (this.yylineno -= p.length - 1);
368
+ var b = this.yylloc.range;
369
+ return this.yylloc = {
370
+ first_line: this.yylloc.first_line,
371
+ last_line: this.yylineno + 1,
372
+ first_column: this.yylloc.first_column,
373
+ last_column: p ? (p.length === u.length ? this.yylloc.first_column : 0) + u[u.length - p.length].length - p[0].length : this.yylloc.first_column - h
374
+ }, this.options.ranges && (this.yylloc.range = [b[0], b[0] + this.yyleng - h]), this.yyleng = this.yytext.length, this;
375
+ }, "unput"),
376
+ // When called from action, caches matched text and appends it on next action
377
+ more: /* @__PURE__ */ f(function() {
378
+ return this._more = !0, this;
379
+ }, "more"),
380
+ // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
381
+ reject: /* @__PURE__ */ f(function() {
382
+ if (this.options.backtrack_lexer)
383
+ this._backtrack = !0;
384
+ else
385
+ 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).
386
+ ` + this.showPosition(), {
387
+ text: "",
388
+ token: null,
389
+ line: this.yylineno
390
+ });
391
+ return this;
392
+ }, "reject"),
393
+ // retain first n characters of the match
394
+ less: /* @__PURE__ */ f(function(o) {
395
+ this.unput(this.match.slice(o));
396
+ }, "less"),
397
+ // displays already matched input, i.e. for error messages
398
+ pastInput: /* @__PURE__ */ f(function() {
399
+ var o = this.matched.substr(0, this.matched.length - this.match.length);
400
+ return (o.length > 20 ? "..." : "") + o.substr(-20).replace(/\n/g, "");
401
+ }, "pastInput"),
402
+ // displays upcoming input, i.e. for error messages
403
+ upcomingInput: /* @__PURE__ */ f(function() {
404
+ var o = this.match;
405
+ return o.length < 20 && (o += this._input.substr(0, 20 - o.length)), (o.substr(0, 20) + (o.length > 20 ? "..." : "")).replace(/\n/g, "");
406
+ }, "upcomingInput"),
407
+ // displays the character position where the lexing error occurred, i.e. for error messages
408
+ showPosition: /* @__PURE__ */ f(function() {
409
+ var o = this.pastInput(), h = new Array(o.length + 1).join("-");
410
+ return o + this.upcomingInput() + `
411
+ ` + h + "^";
412
+ }, "showPosition"),
413
+ // test the lexed token: return FALSE when not a match, otherwise return token
414
+ test_match: /* @__PURE__ */ f(function(o, h) {
415
+ var p, u, b;
416
+ if (this.options.backtrack_lexer && (b = {
417
+ yylineno: this.yylineno,
418
+ yylloc: {
419
+ first_line: this.yylloc.first_line,
420
+ last_line: this.last_line,
421
+ first_column: this.yylloc.first_column,
422
+ last_column: this.yylloc.last_column
423
+ },
424
+ yytext: this.yytext,
425
+ match: this.match,
426
+ matches: this.matches,
427
+ matched: this.matched,
428
+ yyleng: this.yyleng,
429
+ offset: this.offset,
430
+ _more: this._more,
431
+ _input: this._input,
432
+ yy: this.yy,
433
+ conditionStack: this.conditionStack.slice(0),
434
+ done: this.done
435
+ }, this.options.ranges && (b.yylloc.range = this.yylloc.range.slice(0))), u = o[0].match(/(?:\r\n?|\n).*/g), u && (this.yylineno += u.length), this.yylloc = {
436
+ first_line: this.yylloc.last_line,
437
+ last_line: this.yylineno + 1,
438
+ first_column: this.yylloc.last_column,
439
+ last_column: u ? u[u.length - 1].length - u[u.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + o[0].length
440
+ }, this.yytext += o[0], this.match += o[0], this.matches = o, 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(o[0].length), this.matched += o[0], p = this.performAction.call(this, this.yy, this, h, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), p)
441
+ return p;
442
+ if (this._backtrack) {
443
+ for (var e in b)
444
+ this[e] = b[e];
445
+ return !1;
446
+ }
447
+ return !1;
448
+ }, "test_match"),
449
+ // return next match in input
450
+ next: /* @__PURE__ */ f(function() {
451
+ if (this.done)
452
+ return this.EOF;
453
+ this._input || (this.done = !0);
454
+ var o, h, p, u;
455
+ this._more || (this.yytext = "", this.match = "");
456
+ for (var b = this._currentRules(), e = 0; e < b.length; e++)
457
+ if (p = this._input.match(this.rules[b[e]]), p && (!h || p[0].length > h[0].length)) {
458
+ if (h = p, u = e, this.options.backtrack_lexer) {
459
+ if (o = this.test_match(p, b[e]), o !== !1)
460
+ return o;
461
+ if (this._backtrack) {
462
+ h = !1;
463
+ continue;
464
+ } else
465
+ return !1;
466
+ } else if (!this.options.flex)
467
+ break;
468
+ }
469
+ return h ? (o = this.test_match(h, b[u]), o !== !1 ? o : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
470
+ ` + this.showPosition(), {
471
+ text: "",
472
+ token: null,
473
+ line: this.yylineno
474
+ });
475
+ }, "next"),
476
+ // return next match that has a token
477
+ lex: /* @__PURE__ */ f(function() {
478
+ var h = this.next();
479
+ return h || this.lex();
480
+ }, "lex"),
481
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
482
+ begin: /* @__PURE__ */ f(function(h) {
483
+ this.conditionStack.push(h);
484
+ }, "begin"),
485
+ // pop the previously active lexer condition state off the condition stack
486
+ popState: /* @__PURE__ */ f(function() {
487
+ var h = this.conditionStack.length - 1;
488
+ return h > 0 ? this.conditionStack.pop() : this.conditionStack[0];
489
+ }, "popState"),
490
+ // produce the lexer rule set which is active for the currently active lexer condition state
491
+ _currentRules: /* @__PURE__ */ f(function() {
492
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
493
+ }, "_currentRules"),
494
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
495
+ topState: /* @__PURE__ */ f(function(h) {
496
+ return h = this.conditionStack.length - 1 - Math.abs(h || 0), h >= 0 ? this.conditionStack[h] : "INITIAL";
497
+ }, "topState"),
498
+ // alias for begin(condition)
499
+ pushState: /* @__PURE__ */ f(function(h) {
500
+ this.begin(h);
501
+ }, "pushState"),
502
+ // return the number of states currently on the stack
503
+ stateStackSize: /* @__PURE__ */ f(function() {
504
+ return this.conditionStack.length;
505
+ }, "stateStackSize"),
506
+ options: {},
507
+ performAction: /* @__PURE__ */ f(function(h, p, u, b) {
508
+ switch (u) {
509
+ case 0:
510
+ return 62;
511
+ case 1:
512
+ return 63;
513
+ case 2:
514
+ return 64;
515
+ case 3:
516
+ return 65;
517
+ case 4:
518
+ break;
519
+ case 5:
520
+ break;
521
+ case 6:
522
+ return this.begin("acc_title"), 33;
523
+ case 7:
524
+ return this.popState(), "acc_title_value";
525
+ case 8:
526
+ return this.begin("acc_descr"), 35;
527
+ case 9:
528
+ return this.popState(), "acc_descr_value";
529
+ case 10:
530
+ this.begin("acc_descr_multiline");
531
+ break;
532
+ case 11:
533
+ this.popState();
534
+ break;
535
+ case 12:
536
+ return "acc_descr_multiline_value";
537
+ case 13:
538
+ return 8;
539
+ case 14:
540
+ break;
541
+ case 15:
542
+ return 7;
543
+ case 16:
544
+ return 7;
545
+ case 17:
546
+ return "EDGE_STATE";
547
+ case 18:
548
+ this.begin("callback_name");
549
+ break;
550
+ case 19:
551
+ this.popState();
552
+ break;
553
+ case 20:
554
+ this.popState(), this.begin("callback_args");
555
+ break;
556
+ case 21:
557
+ return 79;
558
+ case 22:
559
+ this.popState();
560
+ break;
561
+ case 23:
562
+ return 80;
563
+ case 24:
564
+ this.popState();
565
+ break;
566
+ case 25:
567
+ return "STR";
568
+ case 26:
569
+ this.begin("string");
570
+ break;
571
+ case 27:
572
+ return 82;
573
+ case 28:
574
+ return 57;
575
+ case 29:
576
+ return this.begin("namespace"), 42;
577
+ case 30:
578
+ return this.popState(), 8;
579
+ case 31:
580
+ break;
581
+ case 32:
582
+ return this.begin("namespace-body"), 39;
583
+ case 33:
584
+ this.popState(), this.less(0);
585
+ break;
586
+ case 34:
587
+ return this.popState(), 41;
588
+ case 35:
589
+ return "EOF_IN_STRUCT";
590
+ case 36:
591
+ return 8;
592
+ case 37:
593
+ break;
594
+ case 38:
595
+ return "EDGE_STATE";
596
+ case 39:
597
+ return this.begin("class"), 48;
598
+ case 40:
599
+ return this.popState(), 8;
600
+ case 41:
601
+ break;
602
+ case 42:
603
+ return this.popState(), this.popState(), 41;
604
+ case 43:
605
+ return this.begin("class-body"), 39;
606
+ case 44:
607
+ return this.popState(), 41;
608
+ case 45:
609
+ return "EOF_IN_STRUCT";
610
+ case 46:
611
+ return "EDGE_STATE";
612
+ case 47:
613
+ return "OPEN_IN_STRUCT";
614
+ case 48:
615
+ break;
616
+ case 49:
617
+ return "MEMBER";
618
+ case 50:
619
+ return 83;
620
+ case 51:
621
+ return 75;
622
+ case 52:
623
+ return 76;
624
+ case 53:
625
+ return 78;
626
+ case 54:
627
+ return 54;
628
+ case 55:
629
+ return 56;
630
+ case 56:
631
+ return 46;
632
+ case 57:
633
+ return 47;
634
+ case 58:
635
+ return 81;
636
+ case 59:
637
+ this.popState();
638
+ break;
639
+ case 60:
640
+ return "GENERICTYPE";
641
+ case 61:
642
+ this.begin("generic");
643
+ break;
644
+ case 62:
645
+ this.popState();
646
+ break;
647
+ case 63:
648
+ return "BQUOTE_STR";
649
+ case 64:
650
+ this.begin("bqstring");
651
+ break;
652
+ case 65:
653
+ return 77;
654
+ case 66:
655
+ return 77;
656
+ case 67:
657
+ return 77;
658
+ case 68:
659
+ return 77;
660
+ case 69:
661
+ return 69;
662
+ case 70:
663
+ return 69;
664
+ case 71:
665
+ return 71;
666
+ case 72:
667
+ return 71;
668
+ case 73:
669
+ return 70;
670
+ case 74:
671
+ return 68;
672
+ case 75:
673
+ return 72;
674
+ case 76:
675
+ return 73;
676
+ case 77:
677
+ return 74;
678
+ case 78:
679
+ return 22;
680
+ case 79:
681
+ return 44;
682
+ case 80:
683
+ return 100;
684
+ case 81:
685
+ return 18;
686
+ case 82:
687
+ return "PLUS";
688
+ case 83:
689
+ return 87;
690
+ case 84:
691
+ return 61;
692
+ case 85:
693
+ return 89;
694
+ case 86:
695
+ return 89;
696
+ case 87:
697
+ return 90;
698
+ case 88:
699
+ return "EQUALS";
700
+ case 89:
701
+ return "EQUALS";
702
+ case 90:
703
+ return 60;
704
+ case 91:
705
+ return 12;
706
+ case 92:
707
+ return 14;
708
+ case 93:
709
+ return "PUNCTUATION";
710
+ case 94:
711
+ return 86;
712
+ case 95:
713
+ return 102;
714
+ case 96:
715
+ return 50;
716
+ case 97:
717
+ return 50;
718
+ case 98:
719
+ return 9;
720
+ }
721
+ }, "anonymous"),
722
+ rules: [/^(?:.*direction\s+TB[^\n]*)/, /^(?:.*direction\s+BT[^\n]*)/, /^(?:.*direction\s+RL[^\n]*)/, /^(?:.*direction\s+LR[^\n]*)/, /^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/, /^(?:%%[^\n]*(\r?\n)*)/, /^(?:accTitle\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*\{\s*)/, /^(?:[\}])/, /^(?:[^\}]*)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:classDiagram-v2\b)/, /^(?:classDiagram\b)/, /^(?:\[\*\])/, /^(?:call[\s]+)/, /^(?:\([\s]*\))/, /^(?:\()/, /^(?:[^(]*)/, /^(?:\))/, /^(?:[^)]*)/, /^(?:["])/, /^(?:[^"]*)/, /^(?:["])/, /^(?:style\b)/, /^(?:classDef\b)/, /^(?:namespace\b)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:[{])/, /^(?:[}])/, /^(?:[}])/, /^(?:$)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:\[\*\])/, /^(?:class\b)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:[}])/, /^(?:[{])/, /^(?:[}])/, /^(?:$)/, /^(?:\[\*\])/, /^(?:[{])/, /^(?:[\n])/, /^(?:[^{}\n]*)/, /^(?:cssClass\b)/, /^(?:callback\b)/, /^(?:link\b)/, /^(?:click\b)/, /^(?:note for\b)/, /^(?:note\b)/, /^(?:<<)/, /^(?:>>)/, /^(?:href\b)/, /^(?:[~])/, /^(?:[^~]*)/, /^(?:~)/, /^(?:[`])/, /^(?:[^`]+)/, /^(?:[`])/, /^(?:_self\b)/, /^(?:_blank\b)/, /^(?:_parent\b)/, /^(?:_top\b)/, /^(?:\s*<\|)/, /^(?:\s*\|>)/, /^(?:\s*>)/, /^(?:\s*<)/, /^(?:\s*\*)/, /^(?:\s*o\b)/, /^(?:\s*\(\))/, /^(?:--)/, /^(?:\.\.)/, /^(?::{1}[^:\n;]+)/, /^(?::{3})/, /^(?:-)/, /^(?:\.)/, /^(?:\+)/, /^(?::)/, /^(?:,)/, /^(?:#)/, /^(?:#)/, /^(?:%)/, /^(?:=)/, /^(?:=)/, /^(?:\w+)/, /^(?:\[)/, /^(?:\])/, /^(?:[!"#$%&'*+,-.`?\\/])/, /^(?:[0-9]+)/, /^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/, /^(?:\s)/, /^(?:\s)/, /^(?:$)/],
723
+ conditions: { "namespace-body": { rules: [26, 29, 34, 35, 36, 37, 38, 39, 50, 51, 52, 53, 54, 55, 56, 57, 58, 61, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 98], inclusive: !1 }, namespace: { rules: [26, 29, 30, 31, 32, 33, 50, 51, 52, 53, 54, 55, 56, 57, 58, 61, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 98], inclusive: !1 }, "class-body": { rules: [26, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 61, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 98], inclusive: !1 }, class: { rules: [26, 40, 41, 42, 43, 50, 51, 52, 53, 54, 55, 56, 57, 58, 61, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 98], inclusive: !1 }, acc_descr_multiline: { rules: [11, 12, 26, 50, 51, 52, 53, 54, 55, 56, 57, 58, 61, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 98], inclusive: !1 }, acc_descr: { rules: [9, 26, 50, 51, 52, 53, 54, 55, 56, 57, 58, 61, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 98], inclusive: !1 }, acc_title: { rules: [7, 26, 50, 51, 52, 53, 54, 55, 56, 57, 58, 61, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 98], inclusive: !1 }, callback_args: { rules: [22, 23, 26, 50, 51, 52, 53, 54, 55, 56, 57, 58, 61, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 98], inclusive: !1 }, callback_name: { rules: [19, 20, 21, 26, 50, 51, 52, 53, 54, 55, 56, 57, 58, 61, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 98], inclusive: !1 }, href: { rules: [26, 50, 51, 52, 53, 54, 55, 56, 57, 58, 61, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 98], inclusive: !1 }, struct: { rules: [26, 50, 51, 52, 53, 54, 55, 56, 57, 58, 61, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 98], inclusive: !1 }, generic: { rules: [26, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 98], inclusive: !1 }, bqstring: { rules: [26, 50, 51, 52, 53, 54, 55, 56, 57, 58, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 98], inclusive: !1 }, string: { rules: [24, 25, 26, 50, 51, 52, 53, 54, 55, 56, 57, 58, 61, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 98], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 8, 10, 13, 14, 15, 16, 17, 18, 26, 27, 28, 29, 39, 50, 51, 52, 53, 54, 55, 56, 57, 58, 61, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98], inclusive: !0 } }
724
+ };
725
+ return O;
726
+ })();
727
+ Se.lexer = He;
728
+ function le() {
729
+ this.yy = {};
730
+ }
731
+ return f(le, "Parser"), le.prototype = Se, Se.Parser = le, new le();
732
+ })();
733
+ we.parser = we;
734
+ var Bt = we, je = ["#", "+", "~", "-", ""], Xe = class {
735
+ static {
736
+ f(this, "ClassMember");
737
+ }
738
+ constructor(t, i) {
739
+ this.memberType = i, this.visibility = "", this.classifier = "", this.text = "";
740
+ const a = gt(t, F());
741
+ this.parseMember(a);
742
+ }
743
+ getDisplayDetails() {
744
+ let t = this.visibility + G(this.id);
745
+ this.memberType === "method" && (t += `(${G(this.parameters.trim())})`, this.returnType && (t += " : " + G(this.returnType))), t = t.trim();
746
+ const i = this.parseClassifier();
747
+ return {
748
+ displayText: t,
749
+ cssStyle: i
750
+ };
751
+ }
752
+ parseMember(t) {
753
+ let i = "";
754
+ if (this.memberType === "method") {
755
+ const n = /([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(t);
756
+ if (n) {
757
+ const c = n[1] ? n[1].trim() : "";
758
+ if (je.includes(c) && (this.visibility = c), this.id = n[2], this.parameters = n[3] ? n[3].trim() : "", i = n[4] ? n[4].trim() : "", this.returnType = n[5] ? n[5].trim() : "", i === "") {
759
+ const l = this.returnType.substring(this.returnType.length - 1);
760
+ /[$*]/.exec(l) && (i = l, this.returnType = this.returnType.substring(0, this.returnType.length - 1));
761
+ }
762
+ }
763
+ } else {
764
+ const r = t.length, n = t.substring(0, 1), c = t.substring(r - 1);
765
+ je.includes(n) && (this.visibility = n), /[$*]/.exec(c) && (i = c), this.id = t.substring(
766
+ this.visibility === "" ? 0 : 1,
767
+ i === "" ? r : r - 1
768
+ );
769
+ }
770
+ this.classifier = i, this.id = this.id.startsWith(" ") ? " " + this.id.trim() : this.id.trim();
771
+ const a = `${this.visibility ? "\\" + this.visibility : ""}${G(this.id)}${this.memberType === "method" ? `(${G(this.parameters)})${this.returnType ? " : " + G(this.returnType) : ""}` : ""}`;
772
+ this.text = a.replaceAll("<", "&lt;").replaceAll(">", "&gt;"), this.text.startsWith("\\&lt;") && (this.text = this.text.replace("\\&lt;", "~"));
773
+ }
774
+ parseClassifier() {
775
+ switch (this.classifier) {
776
+ case "*":
777
+ return "font-style:italic;";
778
+ case "$":
779
+ return "text-decoration:underline;";
780
+ default:
781
+ return "";
782
+ }
783
+ }
784
+ }, pe = "classId-", qe = 0, P = /* @__PURE__ */ f((t) => I.sanitizeText(t, F()), "sanitizeText"), _t = class Ve {
785
+ constructor() {
786
+ this.relations = [], this.classes = /* @__PURE__ */ new Map(), this.styleClasses = /* @__PURE__ */ new Map(), this.notes = /* @__PURE__ */ new Map(), this.interfaces = [], this.namespaces = /* @__PURE__ */ new Map(), this.namespaceCounter = 0, this.namespaceStack = [], this.diagramId = "", this.functions = [], this.lineType = {
787
+ LINE: 0,
788
+ DOTTED_LINE: 1
789
+ }, this.relationType = {
790
+ AGGREGATION: 0,
791
+ EXTENSION: 1,
792
+ COMPOSITION: 2,
793
+ DEPENDENCY: 3,
794
+ LOLLIPOP: 4
795
+ }, this.setupToolTips = /* @__PURE__ */ f((i) => {
796
+ const a = st();
797
+ de(i).select("svg").selectAll("g").filter(function() {
798
+ return de(this).attr("title") !== null;
799
+ }).on("mouseover", (c) => {
800
+ const l = de(c.currentTarget), d = l.attr("title");
801
+ if (!d)
802
+ return;
803
+ const m = c.currentTarget.getBoundingClientRect();
804
+ a.transition().duration(200).style("opacity", ".9"), a.html(ut.sanitize(d)).style("left", `${window.scrollX + m.left + m.width / 2}px`).style("top", `${window.scrollY + m.bottom + 4}px`), l.classed("hover", !0);
805
+ }).on("mouseout", (c) => {
806
+ a.transition().duration(500).style("opacity", 0), de(c.currentTarget).classed("hover", !1);
807
+ });
808
+ }, "setupToolTips"), this.direction = "TB", this.setAccTitle = lt, this.getAccTitle = ct, this.setAccDescription = ot, this.getAccDescription = ht, this.setDiagramTitle = dt, this.getDiagramTitle = pt, this.getConfig = /* @__PURE__ */ f(() => F().class, "getConfig"), this.functions.push(this.setupToolTips.bind(this)), this.clear(), this.addRelation = this.addRelation.bind(this), this.addClassesToNamespace = this.addClassesToNamespace.bind(this), this.addNamespace = this.addNamespace.bind(this), this.popNamespace = this.popNamespace.bind(this), this.setCssClass = this.setCssClass.bind(this), this.addMembers = this.addMembers.bind(this), this.addClass = this.addClass.bind(this), this.setClassLabel = this.setClassLabel.bind(this), this.addAnnotation = this.addAnnotation.bind(this), this.addMember = this.addMember.bind(this), this.cleanupLabel = this.cleanupLabel.bind(this), this.addNote = this.addNote.bind(this), this.defineClass = this.defineClass.bind(this), this.setDirection = this.setDirection.bind(this), this.setLink = this.setLink.bind(this), this.bindFunctions = this.bindFunctions.bind(this), this.clear = this.clear.bind(this), this.setTooltip = this.setTooltip.bind(this), this.setClickEvent = this.setClickEvent.bind(this), this.setCssStyle = this.setCssStyle.bind(this);
809
+ }
810
+ static {
811
+ f(this, "ClassDB");
812
+ }
813
+ splitClassNameAndType(i) {
814
+ const a = I.sanitizeText(i, F());
815
+ let r = "", n = a;
816
+ if (a.indexOf("~") > 0) {
817
+ const c = a.split("~");
818
+ n = P(c[0]), r = P(c[1]);
819
+ }
820
+ return { className: n, type: r };
821
+ }
822
+ setClassLabel(i, a) {
823
+ const r = I.sanitizeText(i, F());
824
+ a && (a = P(a));
825
+ const { className: n } = this.splitClassNameAndType(r);
826
+ this.classes.get(n).label = a, this.classes.get(n).text = `${a}${this.classes.get(n).type ? `<${this.classes.get(n).type}>` : ""}`;
827
+ }
828
+ /**
829
+ * Function called by parser when a node definition has been found.
830
+ *
831
+ * @param id - ID of the class to add
832
+ * @public
833
+ */
834
+ addClass(i) {
835
+ const a = I.sanitizeText(i, F()), { className: r, type: n } = this.splitClassNameAndType(a);
836
+ if (this.classes.has(r))
837
+ return;
838
+ const c = I.sanitizeText(r, F());
839
+ this.classes.set(c, {
840
+ id: c,
841
+ type: n,
842
+ label: c,
843
+ text: `${c}${n ? `&lt;${n}&gt;` : ""}`,
844
+ shape: "classBox",
845
+ cssClasses: "default",
846
+ methods: [],
847
+ members: [],
848
+ annotations: [],
849
+ styles: [],
850
+ domId: pe + c + "-" + qe
851
+ }), qe++;
852
+ }
853
+ addInterface(i, a) {
854
+ const r = {
855
+ id: `interface${this.interfaces.length}`,
856
+ label: i,
857
+ classId: a
858
+ };
859
+ this.interfaces.push(r);
860
+ }
861
+ /**
862
+ * Sets the diagram's SVG element ID, used to prefix domIds for uniqueness
863
+ * across multiple diagrams on the same page.
864
+ */
865
+ setDiagramId(i) {
866
+ this.diagramId = i;
867
+ }
868
+ /**
869
+ * Function to lookup domId from id in the graph definition.
870
+ * When diagramId is set, returns the prefixed version for DOM uniqueness.
871
+ *
872
+ * @param id - class ID to lookup
873
+ * @public
874
+ */
875
+ lookUpDomId(i) {
876
+ const a = I.sanitizeText(i, F());
877
+ if (this.classes.has(a)) {
878
+ const r = this.classes.get(a).domId;
879
+ return this.diagramId ? `${this.diagramId}-${r}` : r;
880
+ }
881
+ throw new Error("Class not found: " + a);
882
+ }
883
+ clear() {
884
+ this.relations = [], this.classes = /* @__PURE__ */ new Map(), this.notes = /* @__PURE__ */ new Map(), this.interfaces = [], this.functions = [], this.functions.push(this.setupToolTips.bind(this)), this.namespaces = /* @__PURE__ */ new Map(), this.namespaceCounter = 0, this.namespaceStack = [], this.diagramId = "", this.direction = "TB", At();
885
+ }
886
+ getClass(i) {
887
+ return this.classes.get(i);
888
+ }
889
+ getClasses() {
890
+ return this.classes;
891
+ }
892
+ getRelations() {
893
+ return this.relations;
894
+ }
895
+ getNote(i) {
896
+ const a = typeof i == "number" ? `note${i}` : i;
897
+ return this.notes.get(a);
898
+ }
899
+ getNotes() {
900
+ return this.notes;
901
+ }
902
+ addRelation(i) {
903
+ Ie.debug("Adding relation: " + JSON.stringify(i));
904
+ const a = [
905
+ this.relationType.LOLLIPOP,
906
+ this.relationType.AGGREGATION,
907
+ this.relationType.COMPOSITION,
908
+ this.relationType.DEPENDENCY,
909
+ this.relationType.EXTENSION
910
+ ];
911
+ i.relation.type1 === this.relationType.LOLLIPOP && !a.includes(i.relation.type2) ? (this.addClass(i.id2), this.addInterface(i.id1, i.id2), i.id1 = `interface${this.interfaces.length - 1}`) : i.relation.type2 === this.relationType.LOLLIPOP && !a.includes(i.relation.type1) ? (this.addClass(i.id1), this.addInterface(i.id2, i.id1), i.id2 = `interface${this.interfaces.length - 1}`) : (this.addClass(i.id1), this.addClass(i.id2)), i.id1 = this.splitClassNameAndType(i.id1).className, i.id2 = this.splitClassNameAndType(i.id2).className, i.relationTitle1 = I.sanitizeText(
912
+ i.relationTitle1.trim(),
913
+ F()
914
+ ), i.relationTitle2 = I.sanitizeText(
915
+ i.relationTitle2.trim(),
916
+ F()
917
+ ), this.relations.push(i);
918
+ }
919
+ /**
920
+ * Adds an annotation to the specified class Annotations mark special properties of the given type
921
+ * (like 'interface' or 'service')
922
+ *
923
+ * @param className - The class name
924
+ * @param annotation - The name of the annotation without any brackets
925
+ * @public
926
+ */
927
+ addAnnotation(i, a) {
928
+ const r = this.splitClassNameAndType(i).className;
929
+ this.classes.get(r).annotations.push(a);
930
+ }
931
+ /**
932
+ * Adds a member to the specified class
933
+ *
934
+ * @param className - The class name
935
+ * @param member - The full name of the member. If the member is enclosed in `<<brackets>>` it is
936
+ * treated as an annotation If the member is ending with a closing bracket ) it is treated as a
937
+ * method Otherwise the member will be treated as a normal property
938
+ * @public
939
+ */
940
+ addMember(i, a) {
941
+ this.addClass(i);
942
+ const r = this.splitClassNameAndType(i).className, n = this.classes.get(r);
943
+ if (typeof a == "string") {
944
+ const c = a.trim();
945
+ c.startsWith("<<") && c.endsWith(">>") ? n.annotations.push(P(c.substring(2, c.length - 2))) : c.indexOf(")") > 0 ? n.methods.push(new Xe(c, "method")) : c && n.members.push(new Xe(c, "attribute"));
946
+ }
947
+ }
948
+ addMembers(i, a) {
949
+ Array.isArray(a) && (a.reverse(), a.forEach((r) => this.addMember(i, r)));
950
+ }
951
+ addNote(i, a) {
952
+ const r = this.notes.size, n = {
953
+ id: `note${r}`,
954
+ class: a,
955
+ text: i,
956
+ index: r
957
+ };
958
+ return this.notes.set(n.id, n), n.id;
959
+ }
960
+ cleanupLabel(i) {
961
+ return i.startsWith(":") && (i = i.substring(1)), P(i.trim());
962
+ }
963
+ /**
964
+ * Called by parser when assigning cssClass to a class
965
+ *
966
+ * @param ids - Comma separated list of ids
967
+ * @param className - Class to add
968
+ */
969
+ setCssClass(i, a) {
970
+ i.split(",").forEach((r) => {
971
+ let n = r;
972
+ /\d/.exec(r[0]) && (n = pe + n);
973
+ const c = this.classes.get(n);
974
+ c && (c.cssClasses += " " + a);
975
+ });
976
+ }
977
+ defineClass(i, a) {
978
+ for (const r of i) {
979
+ let n = this.styleClasses.get(r);
980
+ n === void 0 && (n = { id: r, styles: [], textStyles: [] }, this.styleClasses.set(r, n)), a && a.forEach((c) => {
981
+ if (/color/.exec(c)) {
982
+ const l = c.replace("fill", "bgFill");
983
+ n.textStyles.push(l);
984
+ }
985
+ n.styles.push(c);
986
+ }), this.classes.forEach((c) => {
987
+ c.cssClasses.includes(r) && c.styles.push(...a.flatMap((l) => l.split(",")));
988
+ });
989
+ }
990
+ }
991
+ /**
992
+ * Called by parser when a tooltip is found, e.g. a clickable element.
993
+ *
994
+ * @param ids - Comma separated list of ids
995
+ * @param tooltip - Tooltip to add
996
+ */
997
+ setTooltip(i, a) {
998
+ i.split(",").forEach((r) => {
999
+ a !== void 0 && (this.classes.get(r).tooltip = P(a));
1000
+ });
1001
+ }
1002
+ getTooltip(i, a) {
1003
+ return a && this.namespaces.has(a) ? this.namespaces.get(a).classes.get(i).tooltip : this.classes.get(i).tooltip;
1004
+ }
1005
+ /**
1006
+ * Called by parser when a link is found. Adds the URL to the vertex data.
1007
+ *
1008
+ * @param ids - Comma separated list of ids
1009
+ * @param linkStr - URL to create a link for
1010
+ * @param target - Target of the link, _blank by default as originally defined in the svgDraw.js file
1011
+ */
1012
+ setLink(i, a, r) {
1013
+ const n = F();
1014
+ i.split(",").forEach((c) => {
1015
+ let l = c;
1016
+ /\d/.exec(c[0]) && (l = pe + l);
1017
+ const d = this.classes.get(l);
1018
+ d && (d.link = Oe.formatUrl(a, n), n.securityLevel === "sandbox" ? d.linkTarget = "_top" : typeof r == "string" ? d.linkTarget = P(r) : d.linkTarget = "_blank");
1019
+ }), this.setCssClass(i, "clickable");
1020
+ }
1021
+ /**
1022
+ * Called by parser when a click definition is found. Registers an event handler.
1023
+ *
1024
+ * @param ids - Comma separated list of ids
1025
+ * @param functionName - Function to be called on click
1026
+ * @param functionArgs - Function args the function should be called with
1027
+ */
1028
+ setClickEvent(i, a, r) {
1029
+ i.split(",").forEach((n) => {
1030
+ this.setClickFunc(n, a, r), this.classes.get(n).haveCallback = !0;
1031
+ }), this.setCssClass(i, "clickable");
1032
+ }
1033
+ setClickFunc(i, a, r) {
1034
+ const n = I.sanitizeText(i, F());
1035
+ if (F().securityLevel !== "loose" || a === void 0)
1036
+ return;
1037
+ const l = n;
1038
+ if (this.classes.has(l)) {
1039
+ let d = [];
1040
+ if (typeof r == "string") {
1041
+ d = r.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
1042
+ for (let m = 0; m < d.length; m++) {
1043
+ let g = d[m].trim();
1044
+ g.startsWith('"') && g.endsWith('"') && (g = g.substr(1, g.length - 2)), d[m] = g;
1045
+ }
1046
+ }
1047
+ d.length === 0 && d.push(l), this.functions.push(() => {
1048
+ const m = this.lookUpDomId(l), g = document.querySelector(`[id="${m}"]`);
1049
+ g !== null && g.addEventListener(
1050
+ "click",
1051
+ () => {
1052
+ Oe.runFunc(a, ...d);
1053
+ },
1054
+ !1
1055
+ );
1056
+ });
1057
+ }
1058
+ }
1059
+ bindFunctions(i) {
1060
+ this.functions.forEach((a) => {
1061
+ a(i);
1062
+ });
1063
+ }
1064
+ // Utility function to escape HTML meta-characters
1065
+ escapeHtml(i) {
1066
+ return i.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;");
1067
+ }
1068
+ getDirection() {
1069
+ return this.direction;
1070
+ }
1071
+ setDirection(i) {
1072
+ this.direction = i;
1073
+ }
1074
+ static resolveQualifiedId(i, a) {
1075
+ const r = a.at(-1);
1076
+ return r ? `${r}.${i}` : i;
1077
+ }
1078
+ static getAncestorIds(i) {
1079
+ const a = i.split("."), r = new Array(a.length);
1080
+ r[0] = a[0];
1081
+ for (let n = 1; n < a.length; n++)
1082
+ r[n] = `${r[n - 1]}.${a[n]}`;
1083
+ return r;
1084
+ }
1085
+ createNamespaceNode(i, a, r, n = !1) {
1086
+ return {
1087
+ id: i,
1088
+ label: a,
1089
+ classes: /* @__PURE__ */ new Map(),
1090
+ notes: /* @__PURE__ */ new Map(),
1091
+ children: /* @__PURE__ */ new Map(),
1092
+ domId: pe + i + "-" + this.namespaceCounter++,
1093
+ parent: r,
1094
+ explicit: n
1095
+ };
1096
+ }
1097
+ linkParentChild(i, a) {
1098
+ const r = this.namespaces.get(i), n = this.namespaces.get(a);
1099
+ !r || !n || (r.children.has(a) || r.children.set(a, n), n.parent ??= i);
1100
+ }
1101
+ addNamespace(i, a) {
1102
+ const r = Ve.resolveQualifiedId(i, this.namespaceStack);
1103
+ if (this.namespaceStack.push(r), this.namespaces.has(r)) {
1104
+ const l = this.namespaces.get(r);
1105
+ return l.explicit = !0, a && (l.label = a), r;
1106
+ }
1107
+ const n = r.split("."), c = Ve.getAncestorIds(r);
1108
+ for (let l = 0; l < c.length; l++) {
1109
+ const d = c[l], m = l > 0 ? c[l - 1] : void 0, g = l === c.length - 1, N = g && a ? a : n[l];
1110
+ this.namespaces.has(d) ? g && (this.namespaces.get(d).explicit = !0) : this.namespaces.set(
1111
+ d,
1112
+ this.createNamespaceNode(d, N, m, g)
1113
+ ), m && this.linkParentChild(m, d);
1114
+ }
1115
+ return r;
1116
+ }
1117
+ popNamespace() {
1118
+ this.namespaceStack.pop();
1119
+ }
1120
+ getNamespace(i) {
1121
+ return this.namespaces.get(i);
1122
+ }
1123
+ getNamespaces() {
1124
+ return this.namespaces;
1125
+ }
1126
+ /**
1127
+ * Function called by parser when a namespace definition has been found.
1128
+ *
1129
+ * @param id - ID of the namespace to add
1130
+ * @param classNames - IDs of the class to add
1131
+ * @param noteNames - IDs of the notes to add
1132
+ * @public
1133
+ */
1134
+ addClassesToNamespace(i, a, r) {
1135
+ if (this.namespaces.has(i)) {
1136
+ for (const n of a) {
1137
+ const { className: c } = this.splitClassNameAndType(n), l = this.getClass(c);
1138
+ l.parent = i, this.namespaces.get(i).classes.set(c, l);
1139
+ }
1140
+ for (const n of r) {
1141
+ const c = this.getNote(n);
1142
+ c.parent = i, this.namespaces.get(i).notes.set(n, c);
1143
+ }
1144
+ }
1145
+ }
1146
+ setCssStyle(i, a) {
1147
+ const r = this.classes.get(i);
1148
+ if (!(!a || !r))
1149
+ for (const n of a)
1150
+ n.includes(",") ? r.styles.push(...n.split(",")) : r.styles.push(n);
1151
+ }
1152
+ /**
1153
+ * Gets the arrow marker for a type index
1154
+ *
1155
+ * @param type - The type to look for
1156
+ * @returns The arrow marker
1157
+ */
1158
+ getArrowMarker(i) {
1159
+ let a;
1160
+ switch (i) {
1161
+ case 0:
1162
+ a = "aggregation";
1163
+ break;
1164
+ case 1:
1165
+ a = "extension";
1166
+ break;
1167
+ case 2:
1168
+ a = "composition";
1169
+ break;
1170
+ case 3:
1171
+ a = "dependency";
1172
+ break;
1173
+ case 4:
1174
+ a = "lollipop";
1175
+ break;
1176
+ default:
1177
+ a = "none";
1178
+ }
1179
+ return a;
1180
+ }
1181
+ /**
1182
+ * Walks up the namespace tree from the given id and returns the nearest ancestor
1183
+ * (or the id itself) that is marked as explicit. Used by compact rendering mode
1184
+ * to reassign children to the nearest user-declared namespace.
1185
+ */
1186
+ resolveExplicitAncestor(i) {
1187
+ let a = i;
1188
+ for (; a; ) {
1189
+ const r = this.namespaces.get(a);
1190
+ if (!r)
1191
+ return;
1192
+ if (r.explicit)
1193
+ return a;
1194
+ a = r.parent;
1195
+ }
1196
+ }
1197
+ getData() {
1198
+ const i = [], a = [], r = F(), n = r.class?.hierarchicalNamespaces ?? !0;
1199
+ for (const l of this.namespaces.values()) {
1200
+ if (!n && !l.explicit)
1201
+ continue;
1202
+ const d = {
1203
+ id: l.id,
1204
+ label: n ? l.label : l.id,
1205
+ isGroup: !0,
1206
+ padding: r.class.padding ?? 16,
1207
+ // parent node must be one of [rect, roundedWithTitle, noteGroup, divider]
1208
+ shape: "rect",
1209
+ cssStyles: [],
1210
+ look: r.look,
1211
+ parentId: n ? l.parent : void 0
1212
+ };
1213
+ i.push(d);
1214
+ }
1215
+ for (const l of this.classes.values()) {
1216
+ const d = n ? l.parent : this.resolveExplicitAncestor(l.parent), m = {
1217
+ ...l,
1218
+ type: void 0,
1219
+ isGroup: !1,
1220
+ parentId: d,
1221
+ look: r.look
1222
+ };
1223
+ i.push(m);
1224
+ }
1225
+ for (const l of this.notes.values()) {
1226
+ const d = n ? l.parent : this.resolveExplicitAncestor(l.parent), m = {
1227
+ id: l.id,
1228
+ label: l.text,
1229
+ isGroup: !1,
1230
+ shape: "note",
1231
+ padding: r.class.padding ?? 6,
1232
+ cssStyles: [
1233
+ "text-align: left",
1234
+ "white-space: nowrap",
1235
+ `fill: ${r.themeVariables.noteBkgColor}`,
1236
+ `stroke: ${r.themeVariables.noteBorderColor}`
1237
+ ],
1238
+ look: r.look,
1239
+ parentId: d,
1240
+ labelType: "markdown"
1241
+ };
1242
+ i.push(m);
1243
+ const g = this.classes.get(l.class)?.id;
1244
+ if (g) {
1245
+ const N = {
1246
+ id: `edgeNote${l.index}`,
1247
+ start: l.id,
1248
+ end: g,
1249
+ type: "normal",
1250
+ thickness: "normal",
1251
+ classes: "relation",
1252
+ arrowTypeStart: "none",
1253
+ arrowTypeEnd: "none",
1254
+ arrowheadStyle: "",
1255
+ labelStyle: [""],
1256
+ style: ["fill: none"],
1257
+ pattern: "dotted",
1258
+ look: r.look
1259
+ };
1260
+ a.push(N);
1261
+ }
1262
+ }
1263
+ for (const l of this.interfaces) {
1264
+ const d = {
1265
+ id: l.id,
1266
+ label: l.label,
1267
+ isGroup: !1,
1268
+ shape: "rect",
1269
+ cssStyles: ["opacity: 0;"],
1270
+ look: r.look
1271
+ };
1272
+ i.push(d);
1273
+ }
1274
+ let c = 0;
1275
+ for (const l of this.relations) {
1276
+ c++;
1277
+ const d = {
1278
+ id: ft(l.id1, l.id2, {
1279
+ prefix: "id",
1280
+ counter: c
1281
+ }),
1282
+ start: l.id1,
1283
+ end: l.id2,
1284
+ type: "normal",
1285
+ label: l.title,
1286
+ labelpos: "c",
1287
+ thickness: "normal",
1288
+ classes: "relation",
1289
+ arrowTypeStart: this.getArrowMarker(l.relation.type1),
1290
+ arrowTypeEnd: this.getArrowMarker(l.relation.type2),
1291
+ startLabelRight: l.relationTitle1 === "none" ? "" : l.relationTitle1,
1292
+ endLabelLeft: l.relationTitle2 === "none" ? "" : l.relationTitle2,
1293
+ arrowheadStyle: "",
1294
+ labelStyle: ["display: inline-block"],
1295
+ style: l.style || "",
1296
+ pattern: l.relation.lineType == 1 ? "dashed" : "solid",
1297
+ look: r.look,
1298
+ labelType: "markdown"
1299
+ };
1300
+ a.push(d);
1301
+ }
1302
+ return { nodes: i, edges: a, other: {}, config: r, direction: this.getDirection() };
1303
+ }
1304
+ }, mt = /* @__PURE__ */ f((t) => `g.classGroup text {
1305
+ fill: ${t.nodeBorder || t.classText};
1306
+ stroke: none;
1307
+ font-family: ${t.fontFamily};
1308
+ font-size: 10px;
1309
+
1310
+ .title {
1311
+ font-weight: bolder;
1312
+ }
1313
+
1314
+ }
1315
+
1316
+ .cluster-label text {
1317
+ fill: ${t.titleColor};
1318
+ }
1319
+ .cluster-label span {
1320
+ color: ${t.titleColor};
1321
+ }
1322
+ .cluster-label span p {
1323
+ background-color: transparent;
1324
+ }
1325
+
1326
+ .cluster rect {
1327
+ fill: ${t.clusterBkg};
1328
+ stroke: ${t.clusterBorder};
1329
+ stroke-width: 1px;
1330
+ }
1331
+
1332
+ .cluster text {
1333
+ fill: ${t.titleColor};
1334
+ }
1335
+
1336
+ .cluster span {
1337
+ color: ${t.titleColor};
1338
+ }
1339
+
1340
+ .nodeLabel, .edgeLabel {
1341
+ color: ${t.classText};
1342
+ }
1343
+
1344
+ .noteLabel .nodeLabel, .noteLabel .edgeLabel {
1345
+ color: ${t.noteTextColor};
1346
+ }
1347
+ .edgeLabel .label rect {
1348
+ fill: ${t.mainBkg};
1349
+ }
1350
+ .label text {
1351
+ fill: ${t.classText};
1352
+ }
1353
+
1354
+ .labelBkg {
1355
+ background: ${t.mainBkg};
1356
+ }
1357
+ .edgeLabel .label span {
1358
+ background: ${t.mainBkg};
1359
+ }
1360
+
1361
+ .classTitle {
1362
+ font-weight: bolder;
1363
+ }
1364
+ .node rect,
1365
+ .node circle,
1366
+ .node ellipse,
1367
+ .node polygon,
1368
+ .node path {
1369
+ fill: ${t.mainBkg};
1370
+ stroke: ${t.nodeBorder};
1371
+ stroke-width: ${t.strokeWidth};
1372
+ }
1373
+
1374
+
1375
+ .divider {
1376
+ stroke: ${t.nodeBorder};
1377
+ stroke-width: 1;
1378
+ }
1379
+
1380
+ g.clickable {
1381
+ cursor: pointer;
1382
+ }
1383
+
1384
+ g.classGroup rect {
1385
+ fill: ${t.mainBkg};
1386
+ stroke: ${t.nodeBorder};
1387
+ }
1388
+
1389
+ g.classGroup line {
1390
+ stroke: ${t.nodeBorder};
1391
+ stroke-width: 1;
1392
+ }
1393
+
1394
+ .classLabel .box {
1395
+ stroke: none;
1396
+ stroke-width: 0;
1397
+ fill: ${t.mainBkg};
1398
+ opacity: 0.5;
1399
+ }
1400
+
1401
+ .classLabel .label {
1402
+ fill: ${t.nodeBorder};
1403
+ font-size: 10px;
1404
+ }
1405
+
1406
+ .relation {
1407
+ stroke: ${t.lineColor};
1408
+ stroke-width: ${t.strokeWidth};
1409
+ fill: none;
1410
+ }
1411
+
1412
+ .dashed-line{
1413
+ stroke-dasharray: 3;
1414
+ }
1415
+
1416
+ .dotted-line{
1417
+ stroke-dasharray: 1 2;
1418
+ }
1419
+
1420
+ [id$="-compositionStart"], .composition {
1421
+ fill: ${t.lineColor} !important;
1422
+ stroke: ${t.lineColor} !important;
1423
+ stroke-width: 1;
1424
+ }
1425
+
1426
+ [id$="-compositionEnd"], .composition {
1427
+ fill: ${t.lineColor} !important;
1428
+ stroke: ${t.lineColor} !important;
1429
+ stroke-width: 1;
1430
+ }
1431
+
1432
+ [id$="-dependencyStart"], .dependency {
1433
+ fill: ${t.lineColor} !important;
1434
+ stroke: ${t.lineColor} !important;
1435
+ stroke-width: 1;
1436
+ }
1437
+
1438
+ [id$="-dependencyEnd"], .dependency {
1439
+ fill: ${t.lineColor} !important;
1440
+ stroke: ${t.lineColor} !important;
1441
+ stroke-width: 1;
1442
+ }
1443
+
1444
+ [id$="-extensionStart"], .extension {
1445
+ fill: transparent !important;
1446
+ stroke: ${t.lineColor} !important;
1447
+ stroke-width: 1;
1448
+ }
1449
+
1450
+ [id$="-extensionEnd"], .extension {
1451
+ fill: transparent !important;
1452
+ stroke: ${t.lineColor} !important;
1453
+ stroke-width: 1;
1454
+ }
1455
+
1456
+ [id$="-aggregationStart"], .aggregation {
1457
+ fill: transparent !important;
1458
+ stroke: ${t.lineColor} !important;
1459
+ stroke-width: 1;
1460
+ }
1461
+
1462
+ [id$="-aggregationEnd"], .aggregation {
1463
+ fill: transparent !important;
1464
+ stroke: ${t.lineColor} !important;
1465
+ stroke-width: 1;
1466
+ }
1467
+
1468
+ [id$="-lollipopStart"], .lollipop {
1469
+ fill: ${t.mainBkg} !important;
1470
+ stroke: ${t.lineColor} !important;
1471
+ stroke-width: 1;
1472
+ }
1473
+
1474
+ [id$="-lollipopEnd"], .lollipop {
1475
+ fill: ${t.mainBkg} !important;
1476
+ stroke: ${t.lineColor} !important;
1477
+ stroke-width: 1;
1478
+ }
1479
+
1480
+ .edgeTerminals {
1481
+ font-size: 11px;
1482
+ line-height: initial;
1483
+ }
1484
+
1485
+ .classTitleText {
1486
+ text-anchor: middle;
1487
+ font-size: 18px;
1488
+ fill: ${t.textColor};
1489
+ }
1490
+
1491
+ .edgeLabel[data-look="neo"] {
1492
+ background-color: ${t.edgeLabelBackground};
1493
+ p {
1494
+ background-color: ${t.edgeLabelBackground};
1495
+ }
1496
+ rect {
1497
+ opacity: 0.5;
1498
+ background-color: ${t.edgeLabelBackground};
1499
+ fill: ${t.edgeLabelBackground};
1500
+ }
1501
+ text-align: center;
1502
+ }
1503
+ ${tt()}
1504
+ `, "getStyles"), St = mt, bt = /* @__PURE__ */ f((t, i = "TB") => {
1505
+ if (!t.doc)
1506
+ return i;
1507
+ let a = i;
1508
+ for (const r of t.doc)
1509
+ r.stmt === "dir" && (a = r.value);
1510
+ return a;
1511
+ }, "getDir"), Ct = /* @__PURE__ */ f(function(t, i) {
1512
+ return i.db.getClasses();
1513
+ }, "getClasses"), kt = /* @__PURE__ */ f(async function(t, i, a, r) {
1514
+ Ie.info("REF0:"), Ie.info("Drawing class diagram (v3)", i);
1515
+ const { securityLevel: n, state: c, layout: l } = F();
1516
+ r.db.setDiagramId(i);
1517
+ const d = r.db.getData(), m = it(i, n);
1518
+ d.type = r.type, d.layoutAlgorithm = rt(l), d.nodeSpacing = c?.nodeSpacing || 50, d.rankSpacing = c?.rankSpacing || 50, d.markers = ["aggregation", "extension", "composition", "dependency", "lollipop"], d.diagramId = i, await nt(d, m);
1519
+ const g = 8;
1520
+ Oe.insertTitle(
1521
+ m,
1522
+ "classDiagramTitleText",
1523
+ c?.titleTopMargin ?? 25,
1524
+ r.db.getDiagramTitle()
1525
+ ), at(m, g, "classDiagram", c?.useMaxWidth ?? !0);
1526
+ }, "draw"), Nt = {
1527
+ getClasses: Ct,
1528
+ draw: kt,
1529
+ getDir: bt
1530
+ };
1531
+ export {
1532
+ _t as C,
1533
+ Bt as a,
1534
+ Nt as c,
1535
+ St as s
1536
+ };
1537
+ //# sourceMappingURL=chunk-727SXJPM-Cy0hXMuO.js.map