ranui 0.2.1-alpha.1 → 0.2.1-alpha.3

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 (310) hide show
  1. package/dist/abnfDiagram-VRR7QNED-CH_pIv_l.cjs +1 -0
  2. package/dist/abnfDiagram-VRR7QNED-CTsqwzwi.js +95 -0
  3. package/dist/arc-D25LhgTs.cjs +1 -0
  4. package/dist/arc-DRPGof21.js +82 -0
  5. package/dist/architecture-TIHT7OUA-BbBd15_y.cjs +1 -0
  6. package/dist/architecture-TIHT7OUA-pbFO1xSx.js +5 -0
  7. package/dist/architectureDiagram-ZJ3FMSHR-8mjyXr-w.js +4279 -0
  8. package/dist/architectureDiagram-ZJ3FMSHR-D_jWFFZx.cjs +36 -0
  9. package/dist/array-By5736M5.js +7 -0
  10. package/dist/array-C3cbN3GY.cjs +1 -0
  11. package/dist/blockDiagram-677ZJIJ3-3F79MOSt.js +3321 -0
  12. package/dist/blockDiagram-677ZJIJ3-Cx35khWe.cjs +132 -0
  13. package/dist/builder.d.ts +2 -2
  14. package/dist/builder.js +39 -34
  15. package/dist/{builtin-D9djWkCE.js → builtin-BkM0LLof.js} +83 -76
  16. package/dist/button-D0zcnKnG.js +117 -0
  17. package/dist/button.js +1 -1
  18. package/dist/c4Diagram-LMCZKHZV-Cxn_gqu_.js +3064 -0
  19. package/dist/c4Diagram-LMCZKHZV-TRNb3Gvl.cjs +10 -0
  20. package/dist/{card-CqJa4Q_v.js → card-CygMndQS.js} +2 -2
  21. package/dist/card.js +1 -1
  22. package/dist/channel-C9WSNwcS.cjs +1 -0
  23. package/dist/channel-k5-UxdcV.js +5 -0
  24. package/dist/{checkbox-CThC9-vy.js → checkbox-D5om9aJO.js} +10 -10
  25. package/dist/checkbox.js +1 -1
  26. package/dist/chunk-2Q5K7J3B-CTMy5FII.cjs +1 -0
  27. package/dist/chunk-2Q5K7J3B-DlFVJRAn.js +15 -0
  28. package/dist/chunk-32BRIVSS-BXVdG_nV.cjs +1 -0
  29. package/dist/chunk-32BRIVSS-jAuAwMVV.js +68 -0
  30. package/dist/chunk-52WLFC77-BChUrU24.cjs +10 -0
  31. package/dist/chunk-52WLFC77-wpL7en7e.js +630 -0
  32. package/dist/chunk-5VM5RSS4-Cni2Ogq2.js +19 -0
  33. package/dist/chunk-5VM5RSS4-DudUFQ_Z.cjs +15 -0
  34. package/dist/chunk-7BUUIJ7U-9hiBbc7O.js +87 -0
  35. package/dist/chunk-7BUUIJ7U-DMv_UkjI.cjs +1 -0
  36. package/dist/chunk-C7G6YPKG-CA-DNpvI.js +71 -0
  37. package/dist/chunk-C7G6YPKG-CKEeW9TM.cjs +1 -0
  38. package/dist/chunk-EX3LRPZG-BCmf0iDq.js +2137 -0
  39. package/dist/chunk-EX3LRPZG-DbfbNdXo.cjs +231 -0
  40. package/dist/chunk-FWX5IMBZ-D11-gbhc.cjs +1 -0
  41. package/dist/chunk-FWX5IMBZ-DZ5VYvm5.js +60 -0
  42. package/dist/chunk-HOUHSVGY-BGB3dOvI.cjs +1 -0
  43. package/dist/chunk-HOUHSVGY-DRQcQeMT.js +268 -0
  44. package/dist/chunk-ICXQ74PX-BbT9JaEW.cjs +2 -0
  45. package/dist/chunk-ICXQ74PX-DR8rL-xF.js +1377 -0
  46. package/dist/chunk-JWPE2WC7-CGEmUMMZ.js +8 -0
  47. package/dist/chunk-JWPE2WC7-D8EnWK1B.cjs +1 -0
  48. package/dist/chunk-KEIR6QF5-B2Op7cFH.js +22155 -0
  49. package/dist/chunk-KEIR6QF5-C4fcHpY0.cjs +161 -0
  50. package/dist/chunk-MOJQB5TN-BC46HDyu.js +516 -0
  51. package/dist/chunk-MOJQB5TN-oOeq982_.cjs +88 -0
  52. package/dist/chunk-OGEWGWER-BV51ll2w.js +33 -0
  53. package/dist/chunk-OGEWGWER-DX8sW1dT.cjs +1 -0
  54. package/dist/chunk-PUDLZKDR-48YaqVoF.cjs +156 -0
  55. package/dist/chunk-PUDLZKDR-NdMR0Ft5.js +4282 -0
  56. package/dist/chunk-Q4XR5HBZ-3BHjjc9u.js +1709 -0
  57. package/dist/chunk-Q4XR5HBZ-aBnPq509.cjs +70 -0
  58. package/dist/chunk-RYQCIY6F-BER2T9t0.js +246 -0
  59. package/dist/chunk-RYQCIY6F-DVRzSnsI.cjs +1 -0
  60. package/dist/chunk-V7JOEXUC-Cr_hr02u.js +3467 -0
  61. package/dist/chunk-V7JOEXUC-DHizzTla.cjs +206 -0
  62. package/dist/chunk-VAUOI2AC-DfQf5L2_.cjs +1 -0
  63. package/dist/chunk-VAUOI2AC-izt0o4id.js +11 -0
  64. package/dist/chunk-VR4S4FIN-CJi5okl4.js +26 -0
  65. package/dist/chunk-VR4S4FIN-KiwnPF31.cjs +1 -0
  66. package/dist/chunk-WYO6CB5R-DDHkKowO.js +4535 -0
  67. package/dist/chunk-WYO6CB5R-u4mJNOcO.cjs +127 -0
  68. package/dist/chunk-XXDRQBXY-BB1i_53q.js +9 -0
  69. package/dist/chunk-XXDRQBXY-C8VGLZmt.cjs +1 -0
  70. package/dist/chunk-Y2CYZVJY-0JxdZxki.js +13 -0
  71. package/dist/chunk-Y2CYZVJY-DPaYLFFP.cjs +1 -0
  72. package/dist/chunk-ZGVPDNZ5-6uMbTJXy.js +3841 -0
  73. package/dist/chunk-ZGVPDNZ5-Cw5_HJba.cjs +62 -0
  74. package/dist/chunk-ZIRB5QZD-C7OH2FI2.js +1280 -0
  75. package/dist/chunk-ZIRB5QZD-aLu-4ITN.cjs +32 -0
  76. package/dist/classDiagram-OUVF2IWQ-D6rqYIh0.cjs +1 -0
  77. package/dist/classDiagram-OUVF2IWQ-Df0ghim9.js +30 -0
  78. package/dist/classDiagram-v2-EOCWNBFH-D6rqYIh0.cjs +1 -0
  79. package/dist/classDiagram-v2-EOCWNBFH-Df0ghim9.js +30 -0
  80. package/dist/{colorpicker-XNxDRcQ-.js → colorpicker-qWnaTlYX.js} +8 -8
  81. package/dist/colorpicker.js +1 -1
  82. package/dist/components/glass/index.d.ts +52 -0
  83. package/dist/components/icon/core-icons.d.ts +13 -0
  84. package/dist/components/icon/index.d.ts +1 -1
  85. package/dist/components/mermaid/index.d.ts +52 -0
  86. package/dist/components/modal/index.d.ts +9 -0
  87. package/dist/content-Rry-U6ir.js +39 -0
  88. package/dist/content.js +5 -0
  89. package/dist/cose-bilkent-JH36ORCC-BUxFTdey.cjs +1 -0
  90. package/dist/cose-bilkent-JH36ORCC-DTwvJlGw.js +2353 -0
  91. package/dist/cynefin-VYW2F7L2-6c1GOGXW.cjs +1 -0
  92. package/dist/cynefin-VYW2F7L2-ALQKF7N6.js +5 -0
  93. package/dist/cynefinDiagram-TSTJHNR4-Bjt4QTVh.js +355 -0
  94. package/dist/cynefinDiagram-TSTJHNR4-ISDORSxO.cjs +62 -0
  95. package/dist/cytoscape.esm-CFq1_DTa.js +18906 -0
  96. package/dist/cytoscape.esm-pygMw4dR.cjs +321 -0
  97. package/dist/dagre-D1-W1tt6.cjs +1 -0
  98. package/dist/dagre-D8GLTwuf.js +1578 -0
  99. package/dist/dagre-VKFMJZFB-DXI69qAN.cjs +4 -0
  100. package/dist/dagre-VKFMJZFB-Dfku86Az.js +341 -0
  101. package/dist/defaultLocale-0M_kMcEH.js +184 -0
  102. package/dist/defaultLocale-DSqtvhxg.cjs +1 -0
  103. package/dist/diagram-FQU43EPY-BAiRt5eL.cjs +3 -0
  104. package/dist/diagram-FQU43EPY-BvQ5jmVn.js +452 -0
  105. package/dist/diagram-G47NLZAW-DGnmEa8u.cjs +24 -0
  106. package/dist/diagram-G47NLZAW-DT2BBA0T.js +498 -0
  107. package/dist/diagram-NH7WQ7WH-DxgkStA3.cjs +24 -0
  108. package/dist/diagram-NH7WQ7WH-W7jg4Vh8.js +135 -0
  109. package/dist/diagram-OA4YK3LP-DkvFII73.cjs +30 -0
  110. package/dist/diagram-OA4YK3LP-jU--aqQl.js +317 -0
  111. package/dist/diagram-WEI45ONY-C_Qhf4ny.js +215 -0
  112. package/dist/diagram-WEI45ONY-XvzRFmmY.cjs +41 -0
  113. package/dist/dist-C0Fwsvsq.js +70 -0
  114. package/dist/dist-C20XxSsP.cjs +1 -0
  115. package/dist/{dropdown-CCvsambb.js → dropdown-DzdAR1nI.js} +4 -4
  116. package/dist/dropdown.js +1 -1
  117. package/dist/ebnfDiagram-CCIWWBDH-Cu8bAlhC.cjs +1 -0
  118. package/dist/ebnfDiagram-CCIWWBDH-Gnr20Oc1.js +112 -0
  119. package/dist/erDiagram-Q63AITRT-CxLSa9Yv.cjs +85 -0
  120. package/dist/erDiagram-Q63AITRT-D0Hh9b-W.js +1822 -0
  121. package/dist/eventmodeling-45OFAUF4-C6VXxUn1.cjs +1 -0
  122. package/dist/eventmodeling-45OFAUF4-DMpGs2yI.js +5 -0
  123. package/dist/factory-BkvRcCOx.js +482 -0
  124. package/dist/flowDiagram-23GEKE2U-B6gASEYG.cjs +1 -0
  125. package/dist/flowDiagram-23GEKE2U-BY4wE2vw.js +19 -0
  126. package/dist/{form-Ceq3uJzz.js → form-CUJpeQ7Q.js} +5 -5
  127. package/dist/form.js +1 -1
  128. package/dist/ganttDiagram-NO4QXBWP-B40Eabk0.js +3125 -0
  129. package/dist/ganttDiagram-NO4QXBWP-DZT79qJr.cjs +292 -0
  130. package/dist/gitGraph-TEB2WS4Q-BbtF3MDr.cjs +1 -0
  131. package/dist/gitGraph-TEB2WS4Q-D6Ru11Cs.js +5 -0
  132. package/dist/gitGraphDiagram-IHSO6WYX-BUJNSssA.js +754 -0
  133. package/dist/gitGraphDiagram-IHSO6WYX-DW06165m.cjs +106 -0
  134. package/dist/glass-Bj1Zf8Hy.js +115 -0
  135. package/dist/glass.js +5 -0
  136. package/dist/graphlib-CCKThIKP.js +1104 -0
  137. package/dist/graphlib-Du-578Js.cjs +1 -0
  138. package/dist/{icon-C_ENrJ3F.js → icon-CtlZJISZ.js} +77 -25
  139. package/dist/icon.js +1 -1
  140. package/dist/icons.js +1 -1
  141. package/dist/iife/button.iife.js +1 -1
  142. package/dist/iife/card.iife.js +1 -1
  143. package/dist/iife/checkbox.iife.js +1 -1
  144. package/dist/iife/colorpicker.iife.js +2 -2
  145. package/dist/iife/content.iife.js +1 -0
  146. package/dist/iife/dropdown.iife.js +1 -1
  147. package/dist/iife/form.iife.js +1 -1
  148. package/dist/iife/glass.iife.js +1 -0
  149. package/dist/iife/icon.iife.js +1 -1
  150. package/dist/iife/image.iife.js +1 -1
  151. package/dist/iife/input.iife.js +1 -1
  152. package/dist/iife/loading.iife.js +1 -1
  153. package/dist/iife/math.iife.js +14 -14
  154. package/dist/iife/mermaid.iife.js +3535 -0
  155. package/dist/iife/message.iife.js +1 -1
  156. package/dist/iife/modal.iife.js +1 -1
  157. package/dist/iife/player.iife.js +8 -8
  158. package/dist/iife/popover.iife.js +1 -1
  159. package/dist/iife/progress.iife.js +1 -1
  160. package/dist/iife/radar.iife.js +1 -1
  161. package/dist/iife/route.iife.js +1 -1
  162. package/dist/iife/router.iife.js +1 -1
  163. package/dist/iife/scratch.iife.js +1 -1
  164. package/dist/iife/section.iife.js +1 -1
  165. package/dist/iife/select.iife.js +1 -1
  166. package/dist/iife/skeleton.iife.js +1 -1
  167. package/dist/iife/tab.iife.js +1 -1
  168. package/dist/iife/tabpane.iife.js +1 -1
  169. package/dist/{image-B7MBI5n_.js → image-ILZNlaGc.js} +4 -4
  170. package/dist/image.js +1 -1
  171. package/dist/index.cjs +38 -37
  172. package/dist/index.d.ts +8 -0
  173. package/dist/index.iife.js +3623 -88
  174. package/dist/index.js +88 -84
  175. package/dist/info-DKCQHKI2-DNOtUIin.cjs +1 -0
  176. package/dist/info-DKCQHKI2-Df7h9MSE.js +5 -0
  177. package/dist/infoDiagram-FWYZ7A6U-C8dZc-Ki.cjs +2 -0
  178. package/dist/infoDiagram-FWYZ7A6U-Dc0m9qAx.js +21 -0
  179. package/dist/init-1VpIn1S3.js +16 -0
  180. package/dist/init-CbDwVtpO.cjs +1 -0
  181. package/dist/{input-RNqdEHPf.js → input-CDH6zY9I.js} +6 -6
  182. package/dist/input.js +1 -1
  183. package/dist/ishikawaDiagram-FXEZZL3T-BugNyysB.cjs +70 -0
  184. package/dist/ishikawaDiagram-FXEZZL3T-DuFtHOmf.js +742 -0
  185. package/dist/journeyDiagram-5HDEW3XC-Bshelnhq.js +928 -0
  186. package/dist/journeyDiagram-5HDEW3XC-ItmURvA2.cjs +139 -0
  187. package/dist/kanban-definition-HUTT4EX6-BL512R2A.cjs +89 -0
  188. package/dist/kanban-definition-HUTT4EX6-Dogv2paU.js +1050 -0
  189. package/dist/katex-Cq3Y8cmK.cjs +257 -0
  190. package/dist/katex-Pg2EqTH0.js +23485 -0
  191. package/dist/line-BIPmUVxO.js +33 -0
  192. package/dist/line-CAB5QHC6.cjs +1 -0
  193. package/dist/linear-B2AM4ZBe.js +259 -0
  194. package/dist/linear-CSAfNEpl.cjs +1 -0
  195. package/dist/{link-DURZzd7u.js → link-BCrmHvXP.js} +3 -3
  196. package/dist/link.js +1 -1
  197. package/dist/{loading-B9MFI03l.js → loading-DJWGih1g.js} +4 -4
  198. package/dist/loading.js +1 -1
  199. package/dist/map-BC2bk_rV.cjs +1 -0
  200. package/dist/map-DMSWkcq6.js +208 -0
  201. package/dist/{math-CudIwEXZ.js → math-DRmkEDSQ.js} +4 -4
  202. package/dist/math.js +1 -1
  203. package/dist/mermaid-CMhm7npE.js +261 -0
  204. package/dist/mermaid-parser.core-DYumW1vq.cjs +6 -0
  205. package/dist/mermaid-parser.core-uIDZYuBu.js +654 -0
  206. package/dist/mermaid.core-B2d5lQW2.js +1085 -0
  207. package/dist/mermaid.core-a1hgpWfs.cjs +10 -0
  208. package/dist/mermaid.js +5 -0
  209. package/dist/{message-DW7qWpEm.js → message-BpYJBvYn.js} +6 -6
  210. package/dist/message.js +1 -1
  211. package/dist/mindmap-definition-LN4V7U3C-DYZgIZym.cjs +96 -0
  212. package/dist/mindmap-definition-LN4V7U3C-f7s5ZePP.js +1070 -0
  213. package/dist/{modal-CrvGKL2B.js → modal-BeQlDYDP.js} +40 -24
  214. package/dist/modal.js +1 -1
  215. package/dist/ordinal-BMN81JG2.js +64 -0
  216. package/dist/ordinal-BplLHIij.cjs +1 -0
  217. package/dist/packet-7NZHBO7P-4PLslLZJ.js +5 -0
  218. package/dist/packet-7NZHBO7P-DeyLCrSn.cjs +1 -0
  219. package/dist/path-Bja5PoYn.js +82 -0
  220. package/dist/path-DmfWsuKi.cjs +1 -0
  221. package/dist/pegDiagram-2B236MQR-B-Xeh55J.js +107 -0
  222. package/dist/pegDiagram-2B236MQR-Bo5Nj40u.cjs +1 -0
  223. package/dist/pie-RZYD4A2V-DBE9a8Kz.js +5 -0
  224. package/dist/pie-RZYD4A2V-pDNZ2ZyB.cjs +1 -0
  225. package/dist/pieDiagram-ENE6RG2P-BkSiP4iu.cjs +39 -0
  226. package/dist/pieDiagram-ENE6RG2P-CVSE95zc.js +207 -0
  227. package/dist/{player-BKQaaT7o.js → player-CQ4e3Yeo.js} +196 -195
  228. package/dist/player.js +1 -1
  229. package/dist/{popover-CvYIVgUS.js → popover-eZMnL1F3.js} +22 -54
  230. package/dist/popover.js +1 -1
  231. package/dist/{progress-C6jctsFH.js → progress-DyHgW4Ep.js} +5 -5
  232. package/dist/progress.js +1 -1
  233. package/dist/quadrantDiagram-ABIIQ3AL-BDmdDGsh.cjs +7 -0
  234. package/dist/quadrantDiagram-ABIIQ3AL-TJ8FmqES.js +2058 -0
  235. package/dist/{radar-BUb4EzmG.js → radar-D21Rccap.js} +5 -5
  236. package/dist/radar-I7S5WNFK-CY5ycn2a.cjs +1 -0
  237. package/dist/radar-I7S5WNFK-DFTxtd_t.js +5 -0
  238. package/dist/radar.js +1 -1
  239. package/dist/railroad-3IZDKUUU-DALJwv16.js +5 -0
  240. package/dist/railroad-3IZDKUUU-DGzXHqt7.cjs +1 -0
  241. package/dist/railroad-abnf-AHOZXSZD-BCIHdSw6.cjs +1 -0
  242. package/dist/railroad-abnf-AHOZXSZD-CntW2udQ.js +5 -0
  243. package/dist/railroad-ebnf-EBAXGLYW-4vFZrfHF.cjs +1 -0
  244. package/dist/railroad-ebnf-EBAXGLYW-s_1ZOb_9.js +5 -0
  245. package/dist/railroad-peg-LSFZ7HO6-CaM5A0Ml.js +5 -0
  246. package/dist/railroad-peg-LSFZ7HO6-D_oFW1Bo.cjs +1 -0
  247. package/dist/railroadDiagram-RFXS5EU6-0lS5wYI7.js +83 -0
  248. package/dist/railroadDiagram-RFXS5EU6-DJKAtnQk.cjs +1 -0
  249. package/dist/ranui.css +1 -1
  250. package/dist/requirementDiagram-TGXJPOKE-Bg701bNl.cjs +84 -0
  251. package/dist/requirementDiagram-TGXJPOKE-viCQLyJd.js +2301 -0
  252. package/dist/rolldown-runtime-9ZSF5uba.js +16 -0
  253. package/dist/rolldown-runtime-CAnuVJ4g.cjs +1 -0
  254. package/dist/rough.esm-BWe9E0Nz.js +1387 -0
  255. package/dist/rough.esm-BfSi6CZE.cjs +1 -0
  256. package/dist/{route-Djrf9UR_.js → route-pR5P4ann.js} +10 -10
  257. package/dist/route.js +1 -1
  258. package/dist/{router-BU2KhtxV.js → router-CewzSH7O.js} +5 -5
  259. package/dist/router.js +1 -1
  260. package/dist/sankeyDiagram-HTMAVEWB-CV6_AuMF.js +974 -0
  261. package/dist/sankeyDiagram-HTMAVEWB-K-nGMsuS.cjs +40 -0
  262. package/dist/{scratch-CO4I2dIa.js → scratch-BFVsgl-7.js} +2 -2
  263. package/dist/scratch.js +1 -1
  264. package/dist/{section-CsUkp8bv.js → section-DSPCsIxv.js} +2 -2
  265. package/dist/section.js +1 -1
  266. package/dist/{select-Dn26ajJZ.js → select-B58nMfB1.js} +13 -13
  267. package/dist/select.js +1 -1
  268. package/dist/sequenceDiagram-DBY2YBRQ-4GdkLnUr.cjs +162 -0
  269. package/dist/sequenceDiagram-DBY2YBRQ-B9WNesh2.js +4326 -0
  270. package/dist/sizeCapture-X5ZJPWSS-BUY3-n09.cjs +1 -0
  271. package/dist/sizeCapture-X5ZJPWSS-D7rGsqTl.js +48 -0
  272. package/dist/{skeleton-BuMLhvzQ.js → skeleton-DoHYMsTn.js} +5 -5
  273. package/dist/skeleton.js +1 -1
  274. package/dist/src-C9EhKhbk.cjs +1 -0
  275. package/dist/src-DtRLxcYO.js +2104 -0
  276. package/dist/stateDiagram-2N3HPSRC-B7VpgjJu.cjs +1 -0
  277. package/dist/stateDiagram-2N3HPSRC-DxH4BMSh.js +237 -0
  278. package/dist/stateDiagram-v2-6OUMAXLB-CQv7GIaO.cjs +1 -0
  279. package/dist/stateDiagram-v2-6OUMAXLB-CWfn6e7n.js +30 -0
  280. package/dist/swimlanes-5IMT3BWC-DcADNGpg.js +5258 -0
  281. package/dist/swimlanes-5IMT3BWC-o-MjdPlw.cjs +1 -0
  282. package/dist/swimlanesDiagram-G3AALYLV-D-rmAGky.cjs +8 -0
  283. package/dist/swimlanesDiagram-G3AALYLV-DDtDtl1L.js +31 -0
  284. package/dist/{tab-40fDkuox.js → tab-BRPdZ9Ws.js} +5 -5
  285. package/dist/tab.js +1 -1
  286. package/dist/{tabpane-F4Pd7JtC.js → tabpane-Owf72hw_.js} +5 -5
  287. package/dist/tabpane.js +1 -1
  288. package/dist/{theme-switch-B09egc6h.js → theme-switch-CZDIIonc.js} +4 -4
  289. package/dist/theme-switch.js +1 -1
  290. package/dist/timeline-definition-FHXFAJF6-C80VjPLh.js +1119 -0
  291. package/dist/timeline-definition-FHXFAJF6-DOwvOb3S.cjs +120 -0
  292. package/dist/treeView-QDETBFTQ-B1Ejxfpg.cjs +1 -0
  293. package/dist/treeView-QDETBFTQ-vTKOZls1.js +5 -0
  294. package/dist/treemap-6X3UGDF4-D0FeO_NX.cjs +1 -0
  295. package/dist/treemap-6X3UGDF4-Ddzv6Gqd.js +5 -0
  296. package/dist/utils/builder/core.d.ts +133 -3
  297. package/dist/utils/builder/index.d.ts +1 -1
  298. package/dist/{utils-DBfrRFoE.js → utils-D1iZnChu.js} +38 -31
  299. package/dist/vennDiagram-L72KCM5P-BYHB7OW8.js +1955 -0
  300. package/dist/vennDiagram-L72KCM5P-CidVJK6y.cjs +34 -0
  301. package/dist/wardley-OPB4EBWU-C1hXbbD4.cjs +1 -0
  302. package/dist/wardley-OPB4EBWU-DBgFLc64.js +5 -0
  303. package/dist/wardleyDiagram-EHGQE667--ubmCaWM.js +652 -0
  304. package/dist/wardleyDiagram-EHGQE667-K6ckkRZS.cjs +78 -0
  305. package/dist/xychartDiagram-FW5EYKEG-CzdokxrM.cjs +7 -0
  306. package/dist/xychartDiagram-FW5EYKEG-DLqWcTPt.js +2154 -0
  307. package/docs/BUILDER.md +155 -2
  308. package/package.json +7 -1
  309. package/dist/button-BfYw0fes.js +0 -117
  310. package/dist/factory-DCrO37si.js +0 -334
@@ -0,0 +1,3467 @@
1
+ import { n as f } from "./chunk-Y2CYZVJY-0JxdZxki.js";
2
+ import { m as Oe, p as de } from "./src-DtRLxcYO.js";
3
+ import { $ as st, H as it, K as at, M as G, U as rt, a as nt, s as O, v as ut, w as lt, x as _, y as ct, z as ot } from "./chunk-WYO6CB5R-DDHkKowO.js";
4
+ import { c as ht, g as we } from "./chunk-ICXQ74PX-DR8rL-xF.js";
5
+ import { t as dt } from "./chunk-5VM5RSS4-Cni2Ogq2.js";
6
+ import { t as pt } from "./chunk-32BRIVSS-jAuAwMVV.js";
7
+ import { t as At } from "./chunk-XXDRQBXY-BB1i_53q.js";
8
+ import { t as ft } from "./chunk-VR4S4FIN-CJi5okl4.js";
9
+ import { r as mt, t as gt } from "./chunk-FWX5IMBZ-DZ5VYvm5.js";
10
+ var Ve = (function() {
11
+ var t = /* @__PURE__ */ f(function(o, d, m, A) {
12
+ for (m = m || {}, A = o.length; A--; m[o[A]] = d) ;
13
+ return m;
14
+ }, "o"), i = [1, 18], r = [1, 19], a = [1, 20], n = [1, 41], c = [1, 26], u = [1, 42], p = [1, 24], g = [1, 25], F = [1, 32], N = [1, 33], Ae = [1, 34], C = [1, 45], fe = [1, 35], me = [1, 36], ge = [1, 37], Ce = [1, 38], be = [1, 27], ke = [1, 28], Ee = [1, 29], Te = [1, 30], ye = [1, 31], b = [1, 44], k = [1, 46], E = [1, 43], y = [1, 47], De = [1, 9], h = [
15
+ 1,
16
+ 8,
17
+ 9
18
+ ], Z = [1, 58], $ = [1, 59], ee = [1, 60], te = [1, 61], se = [1, 62], Fe = [1, 63], Be = [1, 64], S = [
19
+ 1,
20
+ 8,
21
+ 9,
22
+ 41
23
+ ], Me = [1, 77], M = [
24
+ 1,
25
+ 8,
26
+ 9,
27
+ 12,
28
+ 13,
29
+ 22,
30
+ 39,
31
+ 41,
32
+ 44,
33
+ 46,
34
+ 68,
35
+ 69,
36
+ 70,
37
+ 71,
38
+ 72,
39
+ 73,
40
+ 74,
41
+ 79,
42
+ 81
43
+ ], ie = [
44
+ 1,
45
+ 8,
46
+ 9,
47
+ 12,
48
+ 13,
49
+ 18,
50
+ 20,
51
+ 22,
52
+ 39,
53
+ 41,
54
+ 44,
55
+ 46,
56
+ 47,
57
+ 60,
58
+ 68,
59
+ 69,
60
+ 70,
61
+ 71,
62
+ 72,
63
+ 73,
64
+ 74,
65
+ 79,
66
+ 81,
67
+ 86,
68
+ 100,
69
+ 102,
70
+ 103
71
+ ], ae = [
72
+ 13,
73
+ 60,
74
+ 86,
75
+ 100,
76
+ 102,
77
+ 103
78
+ ], U = [
79
+ 13,
80
+ 60,
81
+ 73,
82
+ 74,
83
+ 86,
84
+ 100,
85
+ 102,
86
+ 103
87
+ ], Re = [
88
+ 13,
89
+ 60,
90
+ 68,
91
+ 69,
92
+ 70,
93
+ 71,
94
+ 72,
95
+ 86,
96
+ 100,
97
+ 102,
98
+ 103
99
+ ], re = [1, 103], z = [1, 121], K = [1, 117], Y = [1, 113], W = [1, 119], Q = [1, 114], j = [1, 115], X = [1, 116], H = [1, 118], q = [1, 120], Ge = [
100
+ 22,
101
+ 50,
102
+ 60,
103
+ 61,
104
+ 82,
105
+ 86,
106
+ 87,
107
+ 88,
108
+ 89,
109
+ 90
110
+ ], Ue = [1, 128], ne = [12, 39], _e = [
111
+ 1,
112
+ 8,
113
+ 9,
114
+ 39,
115
+ 41,
116
+ 44,
117
+ 46
118
+ ], ue = [
119
+ 1,
120
+ 8,
121
+ 9,
122
+ 22
123
+ ], ze = [1, 153], Ke = [
124
+ 1,
125
+ 8,
126
+ 9,
127
+ 61
128
+ ], I = [
129
+ 1,
130
+ 8,
131
+ 9,
132
+ 22,
133
+ 50,
134
+ 60,
135
+ 61,
136
+ 82,
137
+ 86,
138
+ 87,
139
+ 88,
140
+ 89,
141
+ 90
142
+ ], Se = {
143
+ trace: /* @__PURE__ */ f(function() {
144
+ }, "trace"),
145
+ yy: {},
146
+ symbols_: {
147
+ error: 2,
148
+ start: 3,
149
+ mermaidDoc: 4,
150
+ statements: 5,
151
+ graphConfig: 6,
152
+ CLASS_DIAGRAM: 7,
153
+ NEWLINE: 8,
154
+ EOF: 9,
155
+ statement: 10,
156
+ classLabel: 11,
157
+ SQS: 12,
158
+ STR: 13,
159
+ SQE: 14,
160
+ namespaceName: 15,
161
+ alphaNumToken: 16,
162
+ classLiteralName: 17,
163
+ DOT: 18,
164
+ className: 19,
165
+ GENERICTYPE: 20,
166
+ relationStatement: 21,
167
+ LABEL: 22,
168
+ namespaceStatement: 23,
169
+ classStatement: 24,
170
+ memberStatement: 25,
171
+ annotationStatement: 26,
172
+ clickStatement: 27,
173
+ styleStatement: 28,
174
+ cssClassStatement: 29,
175
+ noteStatement: 30,
176
+ classDefStatement: 31,
177
+ direction: 32,
178
+ acc_title: 33,
179
+ acc_title_value: 34,
180
+ acc_descr: 35,
181
+ acc_descr_value: 36,
182
+ acc_descr_multiline_value: 37,
183
+ namespaceIdentifier: 38,
184
+ STRUCT_START: 39,
185
+ classStatements: 40,
186
+ STRUCT_STOP: 41,
187
+ NAMESPACE: 42,
188
+ classIdentifier: 43,
189
+ STYLE_SEPARATOR: 44,
190
+ members: 45,
191
+ ANNOTATION_START: 46,
192
+ ANNOTATION_END: 47,
193
+ CLASS: 48,
194
+ emptyBody: 49,
195
+ SPACE: 50,
196
+ MEMBER: 51,
197
+ SEPARATOR: 52,
198
+ relation: 53,
199
+ NOTE_FOR: 54,
200
+ noteText: 55,
201
+ NOTE: 56,
202
+ CLASSDEF: 57,
203
+ classList: 58,
204
+ stylesOpt: 59,
205
+ ALPHA: 60,
206
+ COMMA: 61,
207
+ direction_tb: 62,
208
+ direction_bt: 63,
209
+ direction_rl: 64,
210
+ direction_lr: 65,
211
+ relationType: 66,
212
+ lineType: 67,
213
+ AGGREGATION: 68,
214
+ EXTENSION: 69,
215
+ COMPOSITION: 70,
216
+ DEPENDENCY: 71,
217
+ LOLLIPOP: 72,
218
+ LINE: 73,
219
+ DOTTED_LINE: 74,
220
+ CALLBACK: 75,
221
+ LINK: 76,
222
+ LINK_TARGET: 77,
223
+ CLICK: 78,
224
+ CALLBACK_NAME: 79,
225
+ CALLBACK_ARGS: 80,
226
+ HREF: 81,
227
+ STYLE: 82,
228
+ CSSCLASS: 83,
229
+ style: 84,
230
+ styleComponent: 85,
231
+ NUM: 86,
232
+ COLON: 87,
233
+ UNIT: 88,
234
+ BRKT: 89,
235
+ PCT: 90,
236
+ commentToken: 91,
237
+ textToken: 92,
238
+ graphCodeTokens: 93,
239
+ textNoTagsToken: 94,
240
+ TAGSTART: 95,
241
+ TAGEND: 96,
242
+ "==": 97,
243
+ "--": 98,
244
+ DEFAULT: 99,
245
+ MINUS: 100,
246
+ keywords: 101,
247
+ UNICODE_TEXT: 102,
248
+ BQUOTE_STR: 103,
249
+ $accept: 0,
250
+ $end: 1
251
+ },
252
+ terminals_: {
253
+ 2: "error",
254
+ 7: "CLASS_DIAGRAM",
255
+ 8: "NEWLINE",
256
+ 9: "EOF",
257
+ 12: "SQS",
258
+ 13: "STR",
259
+ 14: "SQE",
260
+ 18: "DOT",
261
+ 20: "GENERICTYPE",
262
+ 22: "LABEL",
263
+ 33: "acc_title",
264
+ 34: "acc_title_value",
265
+ 35: "acc_descr",
266
+ 36: "acc_descr_value",
267
+ 37: "acc_descr_multiline_value",
268
+ 39: "STRUCT_START",
269
+ 41: "STRUCT_STOP",
270
+ 42: "NAMESPACE",
271
+ 44: "STYLE_SEPARATOR",
272
+ 46: "ANNOTATION_START",
273
+ 47: "ANNOTATION_END",
274
+ 48: "CLASS",
275
+ 50: "SPACE",
276
+ 51: "MEMBER",
277
+ 52: "SEPARATOR",
278
+ 54: "NOTE_FOR",
279
+ 56: "NOTE",
280
+ 57: "CLASSDEF",
281
+ 60: "ALPHA",
282
+ 61: "COMMA",
283
+ 62: "direction_tb",
284
+ 63: "direction_bt",
285
+ 64: "direction_rl",
286
+ 65: "direction_lr",
287
+ 68: "AGGREGATION",
288
+ 69: "EXTENSION",
289
+ 70: "COMPOSITION",
290
+ 71: "DEPENDENCY",
291
+ 72: "LOLLIPOP",
292
+ 73: "LINE",
293
+ 74: "DOTTED_LINE",
294
+ 75: "CALLBACK",
295
+ 76: "LINK",
296
+ 77: "LINK_TARGET",
297
+ 78: "CLICK",
298
+ 79: "CALLBACK_NAME",
299
+ 80: "CALLBACK_ARGS",
300
+ 81: "HREF",
301
+ 82: "STYLE",
302
+ 83: "CSSCLASS",
303
+ 86: "NUM",
304
+ 87: "COLON",
305
+ 88: "UNIT",
306
+ 89: "BRKT",
307
+ 90: "PCT",
308
+ 93: "graphCodeTokens",
309
+ 95: "TAGSTART",
310
+ 96: "TAGEND",
311
+ 97: "==",
312
+ 98: "--",
313
+ 99: "DEFAULT",
314
+ 100: "MINUS",
315
+ 101: "keywords",
316
+ 102: "UNICODE_TEXT",
317
+ 103: "BQUOTE_STR"
318
+ },
319
+ productions_: [
320
+ 0,
321
+ [3, 1],
322
+ [3, 1],
323
+ [4, 1],
324
+ [6, 4],
325
+ [5, 1],
326
+ [5, 2],
327
+ [5, 3],
328
+ [11, 3],
329
+ [15, 1],
330
+ [15, 1],
331
+ [15, 3],
332
+ [15, 2],
333
+ [19, 1],
334
+ [19, 3],
335
+ [19, 1],
336
+ [19, 2],
337
+ [19, 2],
338
+ [19, 2],
339
+ [10, 1],
340
+ [10, 2],
341
+ [10, 1],
342
+ [10, 1],
343
+ [10, 1],
344
+ [10, 1],
345
+ [10, 1],
346
+ [10, 1],
347
+ [10, 1],
348
+ [10, 1],
349
+ [10, 1],
350
+ [10, 1],
351
+ [10, 2],
352
+ [10, 2],
353
+ [10, 1],
354
+ [23, 4],
355
+ [23, 5],
356
+ [38, 2],
357
+ [38, 3],
358
+ [40, 1],
359
+ [40, 2],
360
+ [40, 3],
361
+ [40, 1],
362
+ [40, 2],
363
+ [40, 3],
364
+ [40, 1],
365
+ [40, 2],
366
+ [40, 3],
367
+ [24, 1],
368
+ [24, 3],
369
+ [24, 4],
370
+ [24, 3],
371
+ [24, 6],
372
+ [24, 4],
373
+ [24, 7],
374
+ [24, 6],
375
+ [43, 2],
376
+ [43, 3],
377
+ [49, 0],
378
+ [49, 2],
379
+ [49, 2],
380
+ [26, 4],
381
+ [45, 1],
382
+ [45, 2],
383
+ [25, 1],
384
+ [25, 2],
385
+ [25, 1],
386
+ [25, 1],
387
+ [21, 3],
388
+ [21, 4],
389
+ [21, 4],
390
+ [21, 5],
391
+ [30, 3],
392
+ [30, 2],
393
+ [31, 3],
394
+ [58, 1],
395
+ [58, 3],
396
+ [32, 1],
397
+ [32, 1],
398
+ [32, 1],
399
+ [32, 1],
400
+ [53, 3],
401
+ [53, 2],
402
+ [53, 2],
403
+ [53, 1],
404
+ [66, 1],
405
+ [66, 1],
406
+ [66, 1],
407
+ [66, 1],
408
+ [66, 1],
409
+ [67, 1],
410
+ [67, 1],
411
+ [27, 3],
412
+ [27, 4],
413
+ [27, 3],
414
+ [27, 4],
415
+ [27, 4],
416
+ [27, 5],
417
+ [27, 3],
418
+ [27, 4],
419
+ [27, 4],
420
+ [27, 5],
421
+ [27, 4],
422
+ [27, 5],
423
+ [27, 5],
424
+ [27, 6],
425
+ [28, 3],
426
+ [29, 3],
427
+ [59, 1],
428
+ [59, 3],
429
+ [84, 1],
430
+ [84, 2],
431
+ [85, 1],
432
+ [85, 1],
433
+ [85, 1],
434
+ [85, 1],
435
+ [85, 1],
436
+ [85, 1],
437
+ [85, 1],
438
+ [85, 1],
439
+ [85, 1],
440
+ [91, 1],
441
+ [91, 1],
442
+ [92, 1],
443
+ [92, 1],
444
+ [92, 1],
445
+ [92, 1],
446
+ [92, 1],
447
+ [92, 1],
448
+ [92, 1],
449
+ [94, 1],
450
+ [94, 1],
451
+ [94, 1],
452
+ [94, 1],
453
+ [16, 1],
454
+ [16, 1],
455
+ [16, 1],
456
+ [16, 1],
457
+ [17, 1],
458
+ [55, 1]
459
+ ],
460
+ performAction: /* @__PURE__ */ f(function(d, m, A, l, T, e, J) {
461
+ var s = e.length - 1;
462
+ switch (T) {
463
+ case 8:
464
+ this.$ = e[s - 1];
465
+ break;
466
+ case 9:
467
+ case 10:
468
+ case 13:
469
+ case 15:
470
+ this.$ = e[s];
471
+ break;
472
+ case 11:
473
+ case 14:
474
+ this.$ = e[s - 2] + "." + e[s];
475
+ break;
476
+ case 12:
477
+ case 16:
478
+ this.$ = e[s - 1] + e[s];
479
+ break;
480
+ case 17:
481
+ case 18:
482
+ this.$ = e[s - 1] + "~" + e[s] + "~";
483
+ break;
484
+ case 19:
485
+ l.addRelation(e[s]);
486
+ break;
487
+ case 20:
488
+ e[s - 1].title = l.cleanupLabel(e[s]), l.addRelation(e[s - 1]);
489
+ break;
490
+ case 31:
491
+ this.$ = e[s].trim(), l.setAccTitle(this.$);
492
+ break;
493
+ case 32:
494
+ case 33:
495
+ this.$ = e[s].trim(), l.setAccDescription(this.$);
496
+ break;
497
+ case 34:
498
+ l.addClassesToNamespace(e[s - 3], e[s - 1][0], e[s - 1][1]), l.popNamespace();
499
+ break;
500
+ case 35:
501
+ l.addClassesToNamespace(e[s - 4], e[s - 1][0], e[s - 1][1]), l.popNamespace();
502
+ break;
503
+ case 36:
504
+ this.$ = l.addNamespace(e[s]);
505
+ break;
506
+ case 37:
507
+ this.$ = l.addNamespace(e[s - 1], e[s]);
508
+ break;
509
+ case 38:
510
+ this.$ = [[e[s]], []];
511
+ break;
512
+ case 39:
513
+ this.$ = [[e[s - 1]], []];
514
+ break;
515
+ case 40:
516
+ e[s][0].unshift(e[s - 2]), this.$ = e[s];
517
+ break;
518
+ case 41:
519
+ this.$ = [[], [e[s]]];
520
+ break;
521
+ case 42:
522
+ this.$ = [[], [e[s - 1]]];
523
+ break;
524
+ case 43:
525
+ e[s][1].unshift(e[s - 2]), this.$ = e[s];
526
+ break;
527
+ case 44:
528
+ case 45:
529
+ this.$ = [[], []];
530
+ break;
531
+ case 46:
532
+ this.$ = e[s];
533
+ break;
534
+ case 48:
535
+ l.setCssClass(e[s - 2], e[s]);
536
+ break;
537
+ case 49:
538
+ l.addMembers(e[s - 3], e[s - 1]);
539
+ break;
540
+ case 51:
541
+ l.setCssClass(e[s - 5], e[s - 3]), l.addMembers(e[s - 5], e[s - 1]);
542
+ break;
543
+ case 52:
544
+ l.addAnnotation(e[s - 3], e[s - 1]);
545
+ break;
546
+ case 53:
547
+ l.addAnnotation(e[s - 6], e[s - 4]), l.addMembers(e[s - 6], e[s - 1]);
548
+ break;
549
+ case 54:
550
+ l.addAnnotation(e[s - 5], e[s - 3]);
551
+ break;
552
+ case 55:
553
+ this.$ = e[s], l.addClass(e[s]);
554
+ break;
555
+ case 56:
556
+ this.$ = e[s - 1], l.addClass(e[s - 1]), l.setClassLabel(e[s - 1], e[s]);
557
+ break;
558
+ case 60:
559
+ l.addAnnotation(e[s], e[s - 2]);
560
+ break;
561
+ case 61:
562
+ case 74:
563
+ this.$ = [e[s]];
564
+ break;
565
+ case 62:
566
+ e[s].push(e[s - 1]), this.$ = e[s];
567
+ break;
568
+ case 63:
569
+ break;
570
+ case 64:
571
+ l.addMember(e[s - 1], l.cleanupLabel(e[s]));
572
+ break;
573
+ case 65:
574
+ break;
575
+ case 66:
576
+ break;
577
+ case 67:
578
+ this.$ = {
579
+ id1: e[s - 2],
580
+ id2: e[s],
581
+ relation: e[s - 1],
582
+ relationTitle1: "none",
583
+ relationTitle2: "none"
584
+ };
585
+ break;
586
+ case 68:
587
+ this.$ = {
588
+ id1: e[s - 3],
589
+ id2: e[s],
590
+ relation: e[s - 1],
591
+ relationTitle1: e[s - 2],
592
+ relationTitle2: "none"
593
+ };
594
+ break;
595
+ case 69:
596
+ this.$ = {
597
+ id1: e[s - 3],
598
+ id2: e[s],
599
+ relation: e[s - 2],
600
+ relationTitle1: "none",
601
+ relationTitle2: e[s - 1]
602
+ };
603
+ break;
604
+ case 70:
605
+ this.$ = {
606
+ id1: e[s - 4],
607
+ id2: e[s],
608
+ relation: e[s - 2],
609
+ relationTitle1: e[s - 3],
610
+ relationTitle2: e[s - 1]
611
+ };
612
+ break;
613
+ case 71:
614
+ this.$ = l.addNote(e[s], e[s - 1]);
615
+ break;
616
+ case 72:
617
+ this.$ = l.addNote(e[s]);
618
+ break;
619
+ case 73:
620
+ this.$ = e[s - 2], l.defineClass(e[s - 1], e[s]);
621
+ break;
622
+ case 75:
623
+ this.$ = e[s - 2].concat([e[s]]);
624
+ break;
625
+ case 76:
626
+ l.setDirection("TB");
627
+ break;
628
+ case 77:
629
+ l.setDirection("BT");
630
+ break;
631
+ case 78:
632
+ l.setDirection("RL");
633
+ break;
634
+ case 79:
635
+ l.setDirection("LR");
636
+ break;
637
+ case 80:
638
+ this.$ = {
639
+ type1: e[s - 2],
640
+ type2: e[s],
641
+ lineType: e[s - 1]
642
+ };
643
+ break;
644
+ case 81:
645
+ this.$ = {
646
+ type1: "none",
647
+ type2: e[s],
648
+ lineType: e[s - 1]
649
+ };
650
+ break;
651
+ case 82:
652
+ this.$ = {
653
+ type1: e[s - 1],
654
+ type2: "none",
655
+ lineType: e[s]
656
+ };
657
+ break;
658
+ case 83:
659
+ this.$ = {
660
+ type1: "none",
661
+ type2: "none",
662
+ lineType: e[s]
663
+ };
664
+ break;
665
+ case 84:
666
+ this.$ = l.relationType.AGGREGATION;
667
+ break;
668
+ case 85:
669
+ this.$ = l.relationType.EXTENSION;
670
+ break;
671
+ case 86:
672
+ this.$ = l.relationType.COMPOSITION;
673
+ break;
674
+ case 87:
675
+ this.$ = l.relationType.DEPENDENCY;
676
+ break;
677
+ case 88:
678
+ this.$ = l.relationType.LOLLIPOP;
679
+ break;
680
+ case 89:
681
+ this.$ = l.lineType.LINE;
682
+ break;
683
+ case 90:
684
+ this.$ = l.lineType.DOTTED_LINE;
685
+ break;
686
+ case 91:
687
+ case 97:
688
+ this.$ = e[s - 2], l.setClickEvent(e[s - 1], e[s]);
689
+ break;
690
+ case 92:
691
+ case 98:
692
+ this.$ = e[s - 3], l.setClickEvent(e[s - 2], e[s - 1]), l.setTooltip(e[s - 2], e[s]);
693
+ break;
694
+ case 93:
695
+ this.$ = e[s - 2], l.setLink(e[s - 1], e[s]);
696
+ break;
697
+ case 94:
698
+ this.$ = e[s - 3], l.setLink(e[s - 2], e[s - 1], e[s]);
699
+ break;
700
+ case 95:
701
+ this.$ = e[s - 3], l.setLink(e[s - 2], e[s - 1]), l.setTooltip(e[s - 2], e[s]);
702
+ break;
703
+ case 96:
704
+ this.$ = e[s - 4], l.setLink(e[s - 3], e[s - 2], e[s]), l.setTooltip(e[s - 3], e[s - 1]);
705
+ break;
706
+ case 99:
707
+ this.$ = e[s - 3], l.setClickEvent(e[s - 2], e[s - 1], e[s]);
708
+ break;
709
+ case 100:
710
+ this.$ = e[s - 4], l.setClickEvent(e[s - 3], e[s - 2], e[s - 1]), l.setTooltip(e[s - 3], e[s]);
711
+ break;
712
+ case 101:
713
+ this.$ = e[s - 3], l.setLink(e[s - 2], e[s]);
714
+ break;
715
+ case 102:
716
+ this.$ = e[s - 4], l.setLink(e[s - 3], e[s - 1], e[s]);
717
+ break;
718
+ case 103:
719
+ this.$ = e[s - 4], l.setLink(e[s - 3], e[s - 1]), l.setTooltip(e[s - 3], e[s]);
720
+ break;
721
+ case 104:
722
+ this.$ = e[s - 5], l.setLink(e[s - 4], e[s - 2], e[s]), l.setTooltip(e[s - 4], e[s - 1]);
723
+ break;
724
+ case 105:
725
+ this.$ = e[s - 2], l.setCssStyle(e[s - 1], e[s]);
726
+ break;
727
+ case 106:
728
+ l.setCssClass(e[s - 1], e[s]);
729
+ break;
730
+ case 107:
731
+ this.$ = [e[s]];
732
+ break;
733
+ case 108:
734
+ e[s - 2].push(e[s]), this.$ = e[s - 2];
735
+ break;
736
+ case 110:
737
+ this.$ = e[s - 1] + e[s];
738
+ break;
739
+ }
740
+ }, "anonymous"),
741
+ table: [
742
+ {
743
+ 3: 1,
744
+ 4: 2,
745
+ 5: 3,
746
+ 6: 4,
747
+ 7: [1, 6],
748
+ 10: 5,
749
+ 16: 39,
750
+ 17: 40,
751
+ 19: 21,
752
+ 21: 7,
753
+ 23: 8,
754
+ 24: 9,
755
+ 25: 10,
756
+ 26: 11,
757
+ 27: 12,
758
+ 28: 13,
759
+ 29: 14,
760
+ 30: 15,
761
+ 31: 16,
762
+ 32: 17,
763
+ 33: i,
764
+ 35: r,
765
+ 37: a,
766
+ 38: 22,
767
+ 42: n,
768
+ 43: 23,
769
+ 46: c,
770
+ 48: u,
771
+ 51: p,
772
+ 52: g,
773
+ 54: F,
774
+ 56: N,
775
+ 57: Ae,
776
+ 60: C,
777
+ 62: fe,
778
+ 63: me,
779
+ 64: ge,
780
+ 65: Ce,
781
+ 75: be,
782
+ 76: ke,
783
+ 78: Ee,
784
+ 82: Te,
785
+ 83: ye,
786
+ 86: b,
787
+ 100: k,
788
+ 102: E,
789
+ 103: y
790
+ },
791
+ { 1: [3] },
792
+ { 1: [2, 1] },
793
+ { 1: [2, 2] },
794
+ { 1: [2, 3] },
795
+ t(De, [2, 5], { 8: [1, 48] }),
796
+ { 8: [1, 49] },
797
+ t(h, [2, 19], { 22: [1, 50] }),
798
+ t(h, [2, 21]),
799
+ t(h, [2, 22]),
800
+ t(h, [2, 23]),
801
+ t(h, [2, 24]),
802
+ t(h, [2, 25]),
803
+ t(h, [2, 26]),
804
+ t(h, [2, 27]),
805
+ t(h, [2, 28]),
806
+ t(h, [2, 29]),
807
+ t(h, [2, 30]),
808
+ { 34: [1, 51] },
809
+ { 36: [1, 52] },
810
+ t(h, [2, 33]),
811
+ t(h, [2, 63], {
812
+ 53: 53,
813
+ 66: 56,
814
+ 67: 57,
815
+ 13: [1, 54],
816
+ 22: [1, 55],
817
+ 68: Z,
818
+ 69: $,
819
+ 70: ee,
820
+ 71: te,
821
+ 72: se,
822
+ 73: Fe,
823
+ 74: Be
824
+ }),
825
+ { 39: [1, 65] },
826
+ t(S, [2, 47], {
827
+ 39: [1, 67],
828
+ 44: [1, 66],
829
+ 46: [1, 68]
830
+ }),
831
+ t(h, [2, 65]),
832
+ t(h, [2, 66]),
833
+ {
834
+ 16: 69,
835
+ 60: C,
836
+ 86: b,
837
+ 100: k,
838
+ 102: E
839
+ },
840
+ {
841
+ 16: 39,
842
+ 17: 40,
843
+ 19: 70,
844
+ 60: C,
845
+ 86: b,
846
+ 100: k,
847
+ 102: E,
848
+ 103: y
849
+ },
850
+ {
851
+ 16: 39,
852
+ 17: 40,
853
+ 19: 71,
854
+ 60: C,
855
+ 86: b,
856
+ 100: k,
857
+ 102: E,
858
+ 103: y
859
+ },
860
+ {
861
+ 16: 39,
862
+ 17: 40,
863
+ 19: 72,
864
+ 60: C,
865
+ 86: b,
866
+ 100: k,
867
+ 102: E,
868
+ 103: y
869
+ },
870
+ { 60: [1, 73] },
871
+ { 13: [1, 74] },
872
+ {
873
+ 16: 39,
874
+ 17: 40,
875
+ 19: 75,
876
+ 60: C,
877
+ 86: b,
878
+ 100: k,
879
+ 102: E,
880
+ 103: y
881
+ },
882
+ {
883
+ 13: Me,
884
+ 55: 76
885
+ },
886
+ {
887
+ 58: 78,
888
+ 60: [1, 79]
889
+ },
890
+ t(h, [2, 76]),
891
+ t(h, [2, 77]),
892
+ t(h, [2, 78]),
893
+ t(h, [2, 79]),
894
+ t(M, [2, 13], {
895
+ 16: 39,
896
+ 17: 40,
897
+ 19: 81,
898
+ 18: [1, 80],
899
+ 20: [1, 82],
900
+ 60: C,
901
+ 86: b,
902
+ 100: k,
903
+ 102: E,
904
+ 103: y
905
+ }),
906
+ t(M, [2, 15], { 20: [1, 83] }),
907
+ {
908
+ 15: 84,
909
+ 16: 85,
910
+ 17: 86,
911
+ 60: C,
912
+ 86: b,
913
+ 100: k,
914
+ 102: E,
915
+ 103: y
916
+ },
917
+ {
918
+ 16: 39,
919
+ 17: 40,
920
+ 19: 87,
921
+ 60: C,
922
+ 86: b,
923
+ 100: k,
924
+ 102: E,
925
+ 103: y
926
+ },
927
+ t(ie, [2, 133]),
928
+ t(ie, [2, 134]),
929
+ t(ie, [2, 135]),
930
+ t(ie, [2, 136]),
931
+ t([
932
+ 1,
933
+ 8,
934
+ 9,
935
+ 12,
936
+ 13,
937
+ 20,
938
+ 22,
939
+ 39,
940
+ 41,
941
+ 44,
942
+ 46,
943
+ 68,
944
+ 69,
945
+ 70,
946
+ 71,
947
+ 72,
948
+ 73,
949
+ 74,
950
+ 79,
951
+ 81
952
+ ], [2, 137]),
953
+ t(De, [2, 6], {
954
+ 10: 5,
955
+ 21: 7,
956
+ 23: 8,
957
+ 24: 9,
958
+ 25: 10,
959
+ 26: 11,
960
+ 27: 12,
961
+ 28: 13,
962
+ 29: 14,
963
+ 30: 15,
964
+ 31: 16,
965
+ 32: 17,
966
+ 19: 21,
967
+ 38: 22,
968
+ 43: 23,
969
+ 16: 39,
970
+ 17: 40,
971
+ 5: 88,
972
+ 33: i,
973
+ 35: r,
974
+ 37: a,
975
+ 42: n,
976
+ 46: c,
977
+ 48: u,
978
+ 51: p,
979
+ 52: g,
980
+ 54: F,
981
+ 56: N,
982
+ 57: Ae,
983
+ 60: C,
984
+ 62: fe,
985
+ 63: me,
986
+ 64: ge,
987
+ 65: Ce,
988
+ 75: be,
989
+ 76: ke,
990
+ 78: Ee,
991
+ 82: Te,
992
+ 83: ye,
993
+ 86: b,
994
+ 100: k,
995
+ 102: E,
996
+ 103: y
997
+ }),
998
+ {
999
+ 5: 89,
1000
+ 10: 5,
1001
+ 16: 39,
1002
+ 17: 40,
1003
+ 19: 21,
1004
+ 21: 7,
1005
+ 23: 8,
1006
+ 24: 9,
1007
+ 25: 10,
1008
+ 26: 11,
1009
+ 27: 12,
1010
+ 28: 13,
1011
+ 29: 14,
1012
+ 30: 15,
1013
+ 31: 16,
1014
+ 32: 17,
1015
+ 33: i,
1016
+ 35: r,
1017
+ 37: a,
1018
+ 38: 22,
1019
+ 42: n,
1020
+ 43: 23,
1021
+ 46: c,
1022
+ 48: u,
1023
+ 51: p,
1024
+ 52: g,
1025
+ 54: F,
1026
+ 56: N,
1027
+ 57: Ae,
1028
+ 60: C,
1029
+ 62: fe,
1030
+ 63: me,
1031
+ 64: ge,
1032
+ 65: Ce,
1033
+ 75: be,
1034
+ 76: ke,
1035
+ 78: Ee,
1036
+ 82: Te,
1037
+ 83: ye,
1038
+ 86: b,
1039
+ 100: k,
1040
+ 102: E,
1041
+ 103: y
1042
+ },
1043
+ t(h, [2, 20]),
1044
+ t(h, [2, 31]),
1045
+ t(h, [2, 32]),
1046
+ {
1047
+ 13: [1, 91],
1048
+ 16: 39,
1049
+ 17: 40,
1050
+ 19: 90,
1051
+ 60: C,
1052
+ 86: b,
1053
+ 100: k,
1054
+ 102: E,
1055
+ 103: y
1056
+ },
1057
+ {
1058
+ 53: 92,
1059
+ 66: 56,
1060
+ 67: 57,
1061
+ 68: Z,
1062
+ 69: $,
1063
+ 70: ee,
1064
+ 71: te,
1065
+ 72: se,
1066
+ 73: Fe,
1067
+ 74: Be
1068
+ },
1069
+ t(h, [2, 64]),
1070
+ {
1071
+ 67: 93,
1072
+ 73: Fe,
1073
+ 74: Be
1074
+ },
1075
+ t(ae, [2, 83], {
1076
+ 66: 94,
1077
+ 68: Z,
1078
+ 69: $,
1079
+ 70: ee,
1080
+ 71: te,
1081
+ 72: se
1082
+ }),
1083
+ t(U, [2, 84]),
1084
+ t(U, [2, 85]),
1085
+ t(U, [2, 86]),
1086
+ t(U, [2, 87]),
1087
+ t(U, [2, 88]),
1088
+ t(Re, [2, 89]),
1089
+ t(Re, [2, 90]),
1090
+ {
1091
+ 8: [1, 96],
1092
+ 23: 99,
1093
+ 24: 97,
1094
+ 30: 98,
1095
+ 38: 22,
1096
+ 40: 95,
1097
+ 42: n,
1098
+ 43: 23,
1099
+ 48: u,
1100
+ 54: F,
1101
+ 56: N
1102
+ },
1103
+ {
1104
+ 16: 100,
1105
+ 60: C,
1106
+ 86: b,
1107
+ 100: k,
1108
+ 102: E
1109
+ },
1110
+ {
1111
+ 41: [1, 102],
1112
+ 45: 101,
1113
+ 51: re
1114
+ },
1115
+ {
1116
+ 16: 104,
1117
+ 60: C,
1118
+ 86: b,
1119
+ 100: k,
1120
+ 102: E
1121
+ },
1122
+ { 47: [1, 105] },
1123
+ { 13: [1, 106] },
1124
+ { 13: [1, 107] },
1125
+ {
1126
+ 79: [1, 108],
1127
+ 81: [1, 109]
1128
+ },
1129
+ {
1130
+ 22: z,
1131
+ 50: K,
1132
+ 59: 110,
1133
+ 60: Y,
1134
+ 82: W,
1135
+ 84: 111,
1136
+ 85: 112,
1137
+ 86: Q,
1138
+ 87: j,
1139
+ 88: X,
1140
+ 89: H,
1141
+ 90: q
1142
+ },
1143
+ { 60: [1, 122] },
1144
+ {
1145
+ 13: Me,
1146
+ 55: 123
1147
+ },
1148
+ t(S, [2, 72]),
1149
+ t(S, [2, 138]),
1150
+ {
1151
+ 22: z,
1152
+ 50: K,
1153
+ 59: 124,
1154
+ 60: Y,
1155
+ 61: [1, 125],
1156
+ 82: W,
1157
+ 84: 111,
1158
+ 85: 112,
1159
+ 86: Q,
1160
+ 87: j,
1161
+ 88: X,
1162
+ 89: H,
1163
+ 90: q
1164
+ },
1165
+ t(Ge, [2, 74]),
1166
+ {
1167
+ 16: 39,
1168
+ 17: 40,
1169
+ 19: 126,
1170
+ 60: C,
1171
+ 86: b,
1172
+ 100: k,
1173
+ 102: E,
1174
+ 103: y
1175
+ },
1176
+ t(M, [2, 16]),
1177
+ t(M, [2, 17]),
1178
+ t(M, [2, 18]),
1179
+ {
1180
+ 11: 127,
1181
+ 12: Ue,
1182
+ 39: [2, 36]
1183
+ },
1184
+ t(ne, [2, 9], {
1185
+ 16: 85,
1186
+ 17: 86,
1187
+ 15: 130,
1188
+ 18: [1, 129],
1189
+ 60: C,
1190
+ 86: b,
1191
+ 100: k,
1192
+ 102: E,
1193
+ 103: y
1194
+ }),
1195
+ t(ne, [2, 10]),
1196
+ t(_e, [2, 55], {
1197
+ 11: 131,
1198
+ 12: Ue
1199
+ }),
1200
+ t(De, [2, 7]),
1201
+ { 9: [1, 132] },
1202
+ t(ue, [2, 67]),
1203
+ {
1204
+ 16: 39,
1205
+ 17: 40,
1206
+ 19: 133,
1207
+ 60: C,
1208
+ 86: b,
1209
+ 100: k,
1210
+ 102: E,
1211
+ 103: y
1212
+ },
1213
+ {
1214
+ 13: [1, 135],
1215
+ 16: 39,
1216
+ 17: 40,
1217
+ 19: 134,
1218
+ 60: C,
1219
+ 86: b,
1220
+ 100: k,
1221
+ 102: E,
1222
+ 103: y
1223
+ },
1224
+ t(ae, [2, 82], {
1225
+ 66: 136,
1226
+ 68: Z,
1227
+ 69: $,
1228
+ 70: ee,
1229
+ 71: te,
1230
+ 72: se
1231
+ }),
1232
+ t(ae, [2, 81]),
1233
+ { 41: [1, 137] },
1234
+ {
1235
+ 23: 99,
1236
+ 24: 97,
1237
+ 30: 98,
1238
+ 38: 22,
1239
+ 40: 138,
1240
+ 42: n,
1241
+ 43: 23,
1242
+ 48: u,
1243
+ 54: F,
1244
+ 56: N
1245
+ },
1246
+ {
1247
+ 8: [1, 139],
1248
+ 41: [2, 38]
1249
+ },
1250
+ {
1251
+ 8: [1, 140],
1252
+ 41: [2, 41]
1253
+ },
1254
+ {
1255
+ 8: [1, 141],
1256
+ 41: [2, 44]
1257
+ },
1258
+ t(S, [2, 48], { 39: [1, 142] }),
1259
+ { 41: [1, 143] },
1260
+ t(S, [2, 50]),
1261
+ {
1262
+ 41: [2, 61],
1263
+ 45: 144,
1264
+ 51: re
1265
+ },
1266
+ { 47: [1, 145] },
1267
+ {
1268
+ 16: 39,
1269
+ 17: 40,
1270
+ 19: 146,
1271
+ 60: C,
1272
+ 86: b,
1273
+ 100: k,
1274
+ 102: E,
1275
+ 103: y
1276
+ },
1277
+ t(h, [2, 91], { 13: [1, 147] }),
1278
+ t(h, [2, 93], {
1279
+ 13: [1, 149],
1280
+ 77: [1, 148]
1281
+ }),
1282
+ t(h, [2, 97], {
1283
+ 13: [1, 150],
1284
+ 80: [1, 151]
1285
+ }),
1286
+ { 13: [1, 152] },
1287
+ t(h, [2, 105], { 61: ze }),
1288
+ t(Ke, [2, 107], {
1289
+ 85: 154,
1290
+ 22: z,
1291
+ 50: K,
1292
+ 60: Y,
1293
+ 82: W,
1294
+ 86: Q,
1295
+ 87: j,
1296
+ 88: X,
1297
+ 89: H,
1298
+ 90: q
1299
+ }),
1300
+ t(I, [2, 109]),
1301
+ t(I, [2, 111]),
1302
+ t(I, [2, 112]),
1303
+ t(I, [2, 113]),
1304
+ t(I, [2, 114]),
1305
+ t(I, [2, 115]),
1306
+ t(I, [2, 116]),
1307
+ t(I, [2, 117]),
1308
+ t(I, [2, 118]),
1309
+ t(I, [2, 119]),
1310
+ t(h, [2, 106]),
1311
+ t(S, [2, 71]),
1312
+ t(h, [2, 73], { 61: ze }),
1313
+ { 60: [1, 155] },
1314
+ t(M, [2, 14]),
1315
+ { 39: [2, 37] },
1316
+ { 13: [1, 156] },
1317
+ {
1318
+ 15: 157,
1319
+ 16: 85,
1320
+ 17: 86,
1321
+ 60: C,
1322
+ 86: b,
1323
+ 100: k,
1324
+ 102: E,
1325
+ 103: y
1326
+ },
1327
+ t(ne, [2, 12]),
1328
+ t(_e, [2, 56]),
1329
+ { 1: [2, 4] },
1330
+ t(ue, [2, 69]),
1331
+ t(ue, [2, 68]),
1332
+ {
1333
+ 16: 39,
1334
+ 17: 40,
1335
+ 19: 158,
1336
+ 60: C,
1337
+ 86: b,
1338
+ 100: k,
1339
+ 102: E,
1340
+ 103: y
1341
+ },
1342
+ t(ae, [2, 80]),
1343
+ t(S, [2, 34]),
1344
+ { 41: [1, 159] },
1345
+ {
1346
+ 23: 99,
1347
+ 24: 97,
1348
+ 30: 98,
1349
+ 38: 22,
1350
+ 40: 160,
1351
+ 41: [2, 39],
1352
+ 42: n,
1353
+ 43: 23,
1354
+ 48: u,
1355
+ 54: F,
1356
+ 56: N
1357
+ },
1358
+ {
1359
+ 23: 99,
1360
+ 24: 97,
1361
+ 30: 98,
1362
+ 38: 22,
1363
+ 40: 161,
1364
+ 41: [2, 42],
1365
+ 42: n,
1366
+ 43: 23,
1367
+ 48: u,
1368
+ 54: F,
1369
+ 56: N
1370
+ },
1371
+ {
1372
+ 23: 99,
1373
+ 24: 97,
1374
+ 30: 98,
1375
+ 38: 22,
1376
+ 40: 162,
1377
+ 41: [2, 45],
1378
+ 42: n,
1379
+ 43: 23,
1380
+ 48: u,
1381
+ 54: F,
1382
+ 56: N
1383
+ },
1384
+ {
1385
+ 45: 163,
1386
+ 51: re
1387
+ },
1388
+ t(S, [2, 49]),
1389
+ { 41: [2, 62] },
1390
+ t(S, [2, 52], { 39: [1, 164] }),
1391
+ t(h, [2, 60]),
1392
+ t(h, [2, 92]),
1393
+ t(h, [2, 94]),
1394
+ t(h, [2, 95], { 77: [1, 165] }),
1395
+ t(h, [2, 98]),
1396
+ t(h, [2, 99], { 13: [1, 166] }),
1397
+ t(h, [2, 101], {
1398
+ 13: [1, 168],
1399
+ 77: [1, 167]
1400
+ }),
1401
+ {
1402
+ 22: z,
1403
+ 50: K,
1404
+ 60: Y,
1405
+ 82: W,
1406
+ 84: 169,
1407
+ 85: 112,
1408
+ 86: Q,
1409
+ 87: j,
1410
+ 88: X,
1411
+ 89: H,
1412
+ 90: q
1413
+ },
1414
+ t(I, [2, 110]),
1415
+ t(Ge, [2, 75]),
1416
+ { 14: [1, 170] },
1417
+ t(ne, [2, 11]),
1418
+ t(ue, [2, 70]),
1419
+ t(S, [2, 35]),
1420
+ { 41: [2, 40] },
1421
+ { 41: [2, 43] },
1422
+ { 41: [2, 46] },
1423
+ { 41: [1, 171] },
1424
+ {
1425
+ 41: [1, 173],
1426
+ 45: 172,
1427
+ 51: re
1428
+ },
1429
+ t(h, [2, 96]),
1430
+ t(h, [2, 100]),
1431
+ t(h, [2, 102]),
1432
+ t(h, [2, 103], { 77: [1, 174] }),
1433
+ t(Ke, [2, 108], {
1434
+ 85: 154,
1435
+ 22: z,
1436
+ 50: K,
1437
+ 60: Y,
1438
+ 82: W,
1439
+ 86: Q,
1440
+ 87: j,
1441
+ 88: X,
1442
+ 89: H,
1443
+ 90: q
1444
+ }),
1445
+ t(_e, [2, 8]),
1446
+ t(S, [2, 51]),
1447
+ { 41: [1, 175] },
1448
+ t(S, [2, 54]),
1449
+ t(h, [2, 104]),
1450
+ t(S, [2, 53])
1451
+ ],
1452
+ defaultActions: {
1453
+ 2: [2, 1],
1454
+ 3: [2, 2],
1455
+ 4: [2, 3],
1456
+ 127: [2, 37],
1457
+ 132: [2, 4],
1458
+ 144: [2, 62],
1459
+ 160: [2, 40],
1460
+ 161: [2, 43],
1461
+ 162: [2, 46]
1462
+ },
1463
+ parseError: /* @__PURE__ */ f(function(d, m) {
1464
+ if (m.recoverable) this.trace(d);
1465
+ else {
1466
+ var A = new Error(d);
1467
+ throw A.hash = m, A;
1468
+ }
1469
+ }, "parseError"),
1470
+ parse: /* @__PURE__ */ f(function(d) {
1471
+ var m = this, A = [0], l = [], T = [null], e = [], J = this.table, s = "", ce = 0, Ye = 0, We = 0, Ze = 2, Qe = 1, $e = e.slice.call(arguments, 1), D = Object.create(this.lexer), w = { yy: {} };
1472
+ for (var Ne in this.yy) Object.prototype.hasOwnProperty.call(this.yy, Ne) && (w.yy[Ne] = this.yy[Ne]);
1473
+ D.setInput(d, w.yy), w.yy.lexer = D, w.yy.parser = this, typeof D.yylloc > "u" && (D.yylloc = {});
1474
+ var Le = D.yylloc;
1475
+ e.push(Le);
1476
+ var et = D.options && D.options.ranges;
1477
+ typeof w.yy.parseError == "function" ? this.parseError = w.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1478
+ function tt(x) {
1479
+ A.length = A.length - 2 * x, T.length = T.length - x, e.length = e.length - x;
1480
+ }
1481
+ f(tt, "popStack");
1482
+ function je() {
1483
+ var x = l.pop() || D.lex() || Qe;
1484
+ return typeof x != "number" && (x instanceof Array && (l = x, x = l.pop()), x = m.symbols_[x] || x), x;
1485
+ }
1486
+ f(je, "lex");
1487
+ for (var B, xe, V, L, Ie, R = {}, oe, v, Xe, he; ; ) {
1488
+ if (V = A[A.length - 1], this.defaultActions[V] ? L = this.defaultActions[V] : ((B === null || typeof B > "u") && (B = je()), L = J[V] && J[V][B]), typeof L > "u" || !L.length || !L[0]) {
1489
+ var ve = "";
1490
+ he = [];
1491
+ for (oe in J[V]) this.terminals_[oe] && oe > Ze && he.push("'" + this.terminals_[oe] + "'");
1492
+ D.showPosition ? ve = "Parse error on line " + (ce + 1) + `:
1493
+ ` + D.showPosition() + `
1494
+ Expecting ` + he.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : ve = "Parse error on line " + (ce + 1) + ": Unexpected " + (B == Qe ? "end of input" : "'" + (this.terminals_[B] || B) + "'"), this.parseError(ve, {
1495
+ text: D.match,
1496
+ token: this.terminals_[B] || B,
1497
+ line: D.yylineno,
1498
+ loc: Le,
1499
+ expected: he
1500
+ });
1501
+ }
1502
+ if (L[0] instanceof Array && L.length > 1) throw new Error("Parse Error: multiple actions possible at state: " + V + ", token: " + B);
1503
+ switch (L[0]) {
1504
+ case 1:
1505
+ A.push(B), T.push(D.yytext), e.push(D.yylloc), A.push(L[1]), B = null, xe ? (B = xe, xe = null) : (Ye = D.yyleng, s = D.yytext, ce = D.yylineno, Le = D.yylloc, We > 0 && We--);
1506
+ break;
1507
+ case 2:
1508
+ if (v = this.productions_[L[1]][1], R.$ = T[T.length - v], R._$ = {
1509
+ first_line: e[e.length - (v || 1)].first_line,
1510
+ last_line: e[e.length - 1].last_line,
1511
+ first_column: e[e.length - (v || 1)].first_column,
1512
+ last_column: e[e.length - 1].last_column
1513
+ }, et && (R._$.range = [e[e.length - (v || 1)].range[0], e[e.length - 1].range[1]]), Ie = this.performAction.apply(R, [
1514
+ s,
1515
+ Ye,
1516
+ ce,
1517
+ w.yy,
1518
+ L[1],
1519
+ T,
1520
+ e
1521
+ ].concat($e)), typeof Ie < "u") return Ie;
1522
+ v && (A = A.slice(0, -1 * v * 2), T = T.slice(0, -1 * v), e = e.slice(0, -1 * v)), A.push(this.productions_[L[1]][0]), T.push(R.$), e.push(R._$), Xe = J[A[A.length - 2]][A[A.length - 1]], A.push(Xe);
1523
+ break;
1524
+ case 3:
1525
+ return !0;
1526
+ }
1527
+ }
1528
+ return !0;
1529
+ }, "parse")
1530
+ };
1531
+ Se.lexer = /* @__PURE__ */ (function() {
1532
+ return {
1533
+ EOF: 1,
1534
+ parseError: /* @__PURE__ */ f(function(d, m) {
1535
+ if (this.yy.parser) this.yy.parser.parseError(d, m);
1536
+ else throw new Error(d);
1537
+ }, "parseError"),
1538
+ setInput: /* @__PURE__ */ f(function(o, d) {
1539
+ return this.yy = d || 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 = {
1540
+ first_line: 1,
1541
+ first_column: 0,
1542
+ last_line: 1,
1543
+ last_column: 0
1544
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1545
+ }, "setInput"),
1546
+ input: /* @__PURE__ */ f(function() {
1547
+ var o = this._input[0];
1548
+ return this.yytext += o, this.yyleng++, this.offset++, this.match += o, this.matched += o, o.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), o;
1549
+ }, "input"),
1550
+ unput: /* @__PURE__ */ f(function(o) {
1551
+ var d = o.length, m = o.split(/(?:\r\n?|\n)/g);
1552
+ this._input = o + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - d), this.offset -= d;
1553
+ var A = this.match.split(/(?:\r\n?|\n)/g);
1554
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), m.length - 1 && (this.yylineno -= m.length - 1);
1555
+ var l = this.yylloc.range;
1556
+ return this.yylloc = {
1557
+ first_line: this.yylloc.first_line,
1558
+ last_line: this.yylineno + 1,
1559
+ first_column: this.yylloc.first_column,
1560
+ last_column: m ? (m.length === A.length ? this.yylloc.first_column : 0) + A[A.length - m.length].length - m[0].length : this.yylloc.first_column - d
1561
+ }, this.options.ranges && (this.yylloc.range = [l[0], l[0] + this.yyleng - d]), this.yyleng = this.yytext.length, this;
1562
+ }, "unput"),
1563
+ more: /* @__PURE__ */ f(function() {
1564
+ return this._more = !0, this;
1565
+ }, "more"),
1566
+ reject: /* @__PURE__ */ f(function() {
1567
+ if (this.options.backtrack_lexer) this._backtrack = !0;
1568
+ else return this.parseError("Lexical error on line " + (this.yylineno + 1) + `. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
1569
+ ` + this.showPosition(), {
1570
+ text: "",
1571
+ token: null,
1572
+ line: this.yylineno
1573
+ });
1574
+ return this;
1575
+ }, "reject"),
1576
+ less: /* @__PURE__ */ f(function(o) {
1577
+ this.unput(this.match.slice(o));
1578
+ }, "less"),
1579
+ pastInput: /* @__PURE__ */ f(function() {
1580
+ var o = this.matched.substr(0, this.matched.length - this.match.length);
1581
+ return (o.length > 20 ? "..." : "") + o.substr(-20).replace(/\n/g, "");
1582
+ }, "pastInput"),
1583
+ upcomingInput: /* @__PURE__ */ f(function() {
1584
+ var o = this.match;
1585
+ return o.length < 20 && (o += this._input.substr(0, 20 - o.length)), (o.substr(0, 20) + (o.length > 20 ? "..." : "")).replace(/\n/g, "");
1586
+ }, "upcomingInput"),
1587
+ showPosition: /* @__PURE__ */ f(function() {
1588
+ var o = this.pastInput(), d = new Array(o.length + 1).join("-");
1589
+ return o + this.upcomingInput() + `
1590
+ ` + d + "^";
1591
+ }, "showPosition"),
1592
+ test_match: /* @__PURE__ */ f(function(o, d) {
1593
+ var m, A, l;
1594
+ if (this.options.backtrack_lexer && (l = {
1595
+ yylineno: this.yylineno,
1596
+ yylloc: {
1597
+ first_line: this.yylloc.first_line,
1598
+ last_line: this.last_line,
1599
+ first_column: this.yylloc.first_column,
1600
+ last_column: this.yylloc.last_column
1601
+ },
1602
+ yytext: this.yytext,
1603
+ match: this.match,
1604
+ matches: this.matches,
1605
+ matched: this.matched,
1606
+ yyleng: this.yyleng,
1607
+ offset: this.offset,
1608
+ _more: this._more,
1609
+ _input: this._input,
1610
+ yy: this.yy,
1611
+ conditionStack: this.conditionStack.slice(0),
1612
+ done: this.done
1613
+ }, this.options.ranges && (l.yylloc.range = this.yylloc.range.slice(0))), A = o[0].match(/(?:\r\n?|\n).*/g), A && (this.yylineno += A.length), this.yylloc = {
1614
+ first_line: this.yylloc.last_line,
1615
+ last_line: this.yylineno + 1,
1616
+ first_column: this.yylloc.last_column,
1617
+ last_column: A ? A[A.length - 1].length - A[A.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + o[0].length
1618
+ }, 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], m = this.performAction.call(this, this.yy, this, d, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), m) return m;
1619
+ if (this._backtrack) {
1620
+ for (var T in l) this[T] = l[T];
1621
+ return !1;
1622
+ }
1623
+ return !1;
1624
+ }, "test_match"),
1625
+ next: /* @__PURE__ */ f(function() {
1626
+ if (this.done) return this.EOF;
1627
+ this._input || (this.done = !0);
1628
+ var o, d, m, A;
1629
+ this._more || (this.yytext = "", this.match = "");
1630
+ for (var l = this._currentRules(), T = 0; T < l.length; T++)
1631
+ if (m = this._input.match(this.rules[l[T]]), m && (!d || m[0].length > d[0].length)) {
1632
+ if (d = m, A = T, this.options.backtrack_lexer) {
1633
+ if (o = this.test_match(m, l[T]), o !== !1) return o;
1634
+ if (this._backtrack) {
1635
+ d = !1;
1636
+ continue;
1637
+ } else return !1;
1638
+ } else if (!this.options.flex) break;
1639
+ }
1640
+ return d ? (o = this.test_match(d, l[A]), o !== !1 ? o : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
1641
+ ` + this.showPosition(), {
1642
+ text: "",
1643
+ token: null,
1644
+ line: this.yylineno
1645
+ });
1646
+ }, "next"),
1647
+ lex: /* @__PURE__ */ f(function() {
1648
+ var d = this.next();
1649
+ return d || this.lex();
1650
+ }, "lex"),
1651
+ begin: /* @__PURE__ */ f(function(d) {
1652
+ this.conditionStack.push(d);
1653
+ }, "begin"),
1654
+ popState: /* @__PURE__ */ f(function() {
1655
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1656
+ }, "popState"),
1657
+ _currentRules: /* @__PURE__ */ f(function() {
1658
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1659
+ }, "_currentRules"),
1660
+ topState: /* @__PURE__ */ f(function(d) {
1661
+ return d = this.conditionStack.length - 1 - Math.abs(d || 0), d >= 0 ? this.conditionStack[d] : "INITIAL";
1662
+ }, "topState"),
1663
+ pushState: /* @__PURE__ */ f(function(d) {
1664
+ this.begin(d);
1665
+ }, "pushState"),
1666
+ stateStackSize: /* @__PURE__ */ f(function() {
1667
+ return this.conditionStack.length;
1668
+ }, "stateStackSize"),
1669
+ options: {},
1670
+ performAction: /* @__PURE__ */ f(function(d, m, A, l) {
1671
+ switch (A) {
1672
+ case 0:
1673
+ return 62;
1674
+ case 1:
1675
+ return 63;
1676
+ case 2:
1677
+ return 64;
1678
+ case 3:
1679
+ return 65;
1680
+ case 4:
1681
+ break;
1682
+ case 5:
1683
+ break;
1684
+ case 6:
1685
+ return this.begin("acc_title"), 33;
1686
+ case 7:
1687
+ return this.popState(), "acc_title_value";
1688
+ case 8:
1689
+ return this.begin("acc_descr"), 35;
1690
+ case 9:
1691
+ return this.popState(), "acc_descr_value";
1692
+ case 10:
1693
+ this.begin("acc_descr_multiline");
1694
+ break;
1695
+ case 11:
1696
+ this.popState();
1697
+ break;
1698
+ case 12:
1699
+ return "acc_descr_multiline_value";
1700
+ case 13:
1701
+ return 8;
1702
+ case 14:
1703
+ break;
1704
+ case 15:
1705
+ return 7;
1706
+ case 16:
1707
+ return 7;
1708
+ case 17:
1709
+ return "EDGE_STATE";
1710
+ case 18:
1711
+ this.begin("callback_name");
1712
+ break;
1713
+ case 19:
1714
+ this.popState();
1715
+ break;
1716
+ case 20:
1717
+ this.popState(), this.begin("callback_args");
1718
+ break;
1719
+ case 21:
1720
+ return 79;
1721
+ case 22:
1722
+ this.popState();
1723
+ break;
1724
+ case 23:
1725
+ return 80;
1726
+ case 24:
1727
+ this.popState();
1728
+ break;
1729
+ case 25:
1730
+ return "STR";
1731
+ case 26:
1732
+ this.begin("string");
1733
+ break;
1734
+ case 27:
1735
+ return 82;
1736
+ case 28:
1737
+ return 57;
1738
+ case 29:
1739
+ return this.begin("namespace"), 42;
1740
+ case 30:
1741
+ return this.popState(), 8;
1742
+ case 31:
1743
+ break;
1744
+ case 32:
1745
+ return this.begin("namespace-body"), 39;
1746
+ case 33:
1747
+ this.popState(), this.less(0);
1748
+ break;
1749
+ case 34:
1750
+ return this.popState(), 41;
1751
+ case 35:
1752
+ return "EOF_IN_STRUCT";
1753
+ case 36:
1754
+ return 8;
1755
+ case 37:
1756
+ break;
1757
+ case 38:
1758
+ return "EDGE_STATE";
1759
+ case 39:
1760
+ return this.begin("class"), 48;
1761
+ case 40:
1762
+ return this.popState(), 8;
1763
+ case 41:
1764
+ break;
1765
+ case 42:
1766
+ return this.popState(), this.popState(), 41;
1767
+ case 43:
1768
+ return this.begin("class-body"), 39;
1769
+ case 44:
1770
+ return this.popState(), 41;
1771
+ case 45:
1772
+ return "EOF_IN_STRUCT";
1773
+ case 46:
1774
+ return "EDGE_STATE";
1775
+ case 47:
1776
+ return "OPEN_IN_STRUCT";
1777
+ case 48:
1778
+ break;
1779
+ case 49:
1780
+ return "MEMBER";
1781
+ case 50:
1782
+ return 83;
1783
+ case 51:
1784
+ return 75;
1785
+ case 52:
1786
+ return 76;
1787
+ case 53:
1788
+ return 78;
1789
+ case 54:
1790
+ return 54;
1791
+ case 55:
1792
+ return 56;
1793
+ case 56:
1794
+ return 46;
1795
+ case 57:
1796
+ return 47;
1797
+ case 58:
1798
+ return 81;
1799
+ case 59:
1800
+ this.popState();
1801
+ break;
1802
+ case 60:
1803
+ return "GENERICTYPE";
1804
+ case 61:
1805
+ this.begin("generic");
1806
+ break;
1807
+ case 62:
1808
+ this.popState();
1809
+ break;
1810
+ case 63:
1811
+ return "BQUOTE_STR";
1812
+ case 64:
1813
+ this.begin("bqstring");
1814
+ break;
1815
+ case 65:
1816
+ return 77;
1817
+ case 66:
1818
+ return 77;
1819
+ case 67:
1820
+ return 77;
1821
+ case 68:
1822
+ return 77;
1823
+ case 69:
1824
+ return 69;
1825
+ case 70:
1826
+ return 69;
1827
+ case 71:
1828
+ return 71;
1829
+ case 72:
1830
+ return 71;
1831
+ case 73:
1832
+ return 70;
1833
+ case 74:
1834
+ return 68;
1835
+ case 75:
1836
+ return 72;
1837
+ case 76:
1838
+ return 73;
1839
+ case 77:
1840
+ return 74;
1841
+ case 78:
1842
+ return 22;
1843
+ case 79:
1844
+ return 44;
1845
+ case 80:
1846
+ return 100;
1847
+ case 81:
1848
+ return 18;
1849
+ case 82:
1850
+ return "PLUS";
1851
+ case 83:
1852
+ return 87;
1853
+ case 84:
1854
+ return 61;
1855
+ case 85:
1856
+ return 89;
1857
+ case 86:
1858
+ return 89;
1859
+ case 87:
1860
+ return 90;
1861
+ case 88:
1862
+ return "EQUALS";
1863
+ case 89:
1864
+ return "EQUALS";
1865
+ case 90:
1866
+ return 60;
1867
+ case 91:
1868
+ return 12;
1869
+ case 92:
1870
+ return 14;
1871
+ case 93:
1872
+ return "PUNCTUATION";
1873
+ case 94:
1874
+ return 86;
1875
+ case 95:
1876
+ return 102;
1877
+ case 96:
1878
+ return 50;
1879
+ case 97:
1880
+ return 50;
1881
+ case 98:
1882
+ return 9;
1883
+ }
1884
+ }, "anonymous"),
1885
+ rules: [
1886
+ /^(?:.*direction\s+TB[^\n]*)/,
1887
+ /^(?:.*direction\s+BT[^\n]*)/,
1888
+ /^(?:.*direction\s+RL[^\n]*)/,
1889
+ /^(?:.*direction\s+LR[^\n]*)/,
1890
+ /^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,
1891
+ /^(?:%%[^\n]*(\r?\n)*)/,
1892
+ /^(?:accTitle\s*:\s*)/,
1893
+ /^(?:(?!\n||)*[^\n]*)/,
1894
+ /^(?:accDescr\s*:\s*)/,
1895
+ /^(?:(?!\n||)*[^\n]*)/,
1896
+ /^(?:accDescr\s*\{\s*)/,
1897
+ /^(?:[\}])/,
1898
+ /^(?:[^\}]*)/,
1899
+ /^(?:\s*(\r?\n)+)/,
1900
+ /^(?:\s+)/,
1901
+ /^(?:classDiagram-v2\b)/,
1902
+ /^(?:classDiagram\b)/,
1903
+ /^(?:\[\*\])/,
1904
+ /^(?:call[\s]+)/,
1905
+ /^(?:\([\s]*\))/,
1906
+ /^(?:\()/,
1907
+ /^(?:[^(]*)/,
1908
+ /^(?:\))/,
1909
+ /^(?:[^)]*)/,
1910
+ /^(?:["])/,
1911
+ /^(?:[^"]*)/,
1912
+ /^(?:["])/,
1913
+ /^(?:style\b)/,
1914
+ /^(?:classDef\b)/,
1915
+ /^(?:namespace\b)/,
1916
+ /^(?:\s*(\r?\n)+)/,
1917
+ /^(?:\s+)/,
1918
+ /^(?:[{])/,
1919
+ /^(?:[}])/,
1920
+ /^(?:[}])/,
1921
+ /^(?:$)/,
1922
+ /^(?:\s*(\r?\n)+)/,
1923
+ /^(?:\s+)/,
1924
+ /^(?:\[\*\])/,
1925
+ /^(?:class\b)/,
1926
+ /^(?:\s*(\r?\n)+)/,
1927
+ /^(?:\s+)/,
1928
+ /^(?:[}])/,
1929
+ /^(?:[{])/,
1930
+ /^(?:[}])/,
1931
+ /^(?:$)/,
1932
+ /^(?:\[\*\])/,
1933
+ /^(?:[{])/,
1934
+ /^(?:[\n])/,
1935
+ /^(?:[^{}\n]*)/,
1936
+ /^(?:cssClass\b)/,
1937
+ /^(?:callback\b)/,
1938
+ /^(?:link\b)/,
1939
+ /^(?:click\b)/,
1940
+ /^(?:note for\b)/,
1941
+ /^(?:note\b)/,
1942
+ /^(?:<<)/,
1943
+ /^(?:>>)/,
1944
+ /^(?:href\b)/,
1945
+ /^(?:[~])/,
1946
+ /^(?:[^~]*)/,
1947
+ /^(?:~)/,
1948
+ /^(?:[`])/,
1949
+ /^(?:[^`]+)/,
1950
+ /^(?:[`])/,
1951
+ /^(?:_self\b)/,
1952
+ /^(?:_blank\b)/,
1953
+ /^(?:_parent\b)/,
1954
+ /^(?:_top\b)/,
1955
+ /^(?:\s*<\|)/,
1956
+ /^(?:\s*\|>)/,
1957
+ /^(?:\s*>)/,
1958
+ /^(?:\s*<)/,
1959
+ /^(?:\s*\*)/,
1960
+ /^(?:\s*o\b)/,
1961
+ /^(?:\s*\(\))/,
1962
+ /^(?:--)/,
1963
+ /^(?:\.\.)/,
1964
+ /^(?::{1}[^:\n;]+)/,
1965
+ /^(?::{3})/,
1966
+ /^(?:-)/,
1967
+ /^(?:\.)/,
1968
+ /^(?:\+)/,
1969
+ /^(?::)/,
1970
+ /^(?:,)/,
1971
+ /^(?:#)/,
1972
+ /^(?:#)/,
1973
+ /^(?:%)/,
1974
+ /^(?:=)/,
1975
+ /^(?:=)/,
1976
+ /^(?:\w+)/,
1977
+ /^(?:\[)/,
1978
+ /^(?:\])/,
1979
+ /^(?:[!"#$%&'*+,-.`?\\/])/,
1980
+ /^(?:[0-9]+)/,
1981
+ /^(?:[\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])/,
1982
+ /^(?:\s)/,
1983
+ /^(?:\s)/,
1984
+ /^(?:$)/
1985
+ ],
1986
+ conditions: {
1987
+ "namespace-body": {
1988
+ rules: [
1989
+ 26,
1990
+ 29,
1991
+ 34,
1992
+ 35,
1993
+ 36,
1994
+ 37,
1995
+ 38,
1996
+ 39,
1997
+ 50,
1998
+ 51,
1999
+ 52,
2000
+ 53,
2001
+ 54,
2002
+ 55,
2003
+ 56,
2004
+ 57,
2005
+ 58,
2006
+ 61,
2007
+ 64,
2008
+ 65,
2009
+ 66,
2010
+ 67,
2011
+ 68,
2012
+ 69,
2013
+ 70,
2014
+ 71,
2015
+ 72,
2016
+ 73,
2017
+ 74,
2018
+ 75,
2019
+ 76,
2020
+ 77,
2021
+ 78,
2022
+ 79,
2023
+ 80,
2024
+ 81,
2025
+ 82,
2026
+ 87,
2027
+ 88,
2028
+ 89,
2029
+ 90,
2030
+ 91,
2031
+ 92,
2032
+ 93,
2033
+ 94,
2034
+ 95,
2035
+ 96,
2036
+ 98
2037
+ ],
2038
+ inclusive: !1
2039
+ },
2040
+ namespace: {
2041
+ rules: [
2042
+ 26,
2043
+ 29,
2044
+ 30,
2045
+ 31,
2046
+ 32,
2047
+ 33,
2048
+ 50,
2049
+ 51,
2050
+ 52,
2051
+ 53,
2052
+ 54,
2053
+ 55,
2054
+ 56,
2055
+ 57,
2056
+ 58,
2057
+ 61,
2058
+ 64,
2059
+ 65,
2060
+ 66,
2061
+ 67,
2062
+ 68,
2063
+ 69,
2064
+ 70,
2065
+ 71,
2066
+ 72,
2067
+ 73,
2068
+ 74,
2069
+ 75,
2070
+ 76,
2071
+ 77,
2072
+ 78,
2073
+ 79,
2074
+ 80,
2075
+ 81,
2076
+ 82,
2077
+ 87,
2078
+ 88,
2079
+ 89,
2080
+ 90,
2081
+ 91,
2082
+ 92,
2083
+ 93,
2084
+ 94,
2085
+ 95,
2086
+ 96,
2087
+ 98
2088
+ ],
2089
+ inclusive: !1
2090
+ },
2091
+ "class-body": {
2092
+ rules: [
2093
+ 26,
2094
+ 44,
2095
+ 45,
2096
+ 46,
2097
+ 47,
2098
+ 48,
2099
+ 49,
2100
+ 50,
2101
+ 51,
2102
+ 52,
2103
+ 53,
2104
+ 54,
2105
+ 55,
2106
+ 56,
2107
+ 57,
2108
+ 58,
2109
+ 61,
2110
+ 64,
2111
+ 65,
2112
+ 66,
2113
+ 67,
2114
+ 68,
2115
+ 69,
2116
+ 70,
2117
+ 71,
2118
+ 72,
2119
+ 73,
2120
+ 74,
2121
+ 75,
2122
+ 76,
2123
+ 77,
2124
+ 78,
2125
+ 79,
2126
+ 80,
2127
+ 81,
2128
+ 82,
2129
+ 87,
2130
+ 88,
2131
+ 89,
2132
+ 90,
2133
+ 91,
2134
+ 92,
2135
+ 93,
2136
+ 94,
2137
+ 95,
2138
+ 96,
2139
+ 98
2140
+ ],
2141
+ inclusive: !1
2142
+ },
2143
+ class: {
2144
+ rules: [
2145
+ 26,
2146
+ 40,
2147
+ 41,
2148
+ 42,
2149
+ 43,
2150
+ 50,
2151
+ 51,
2152
+ 52,
2153
+ 53,
2154
+ 54,
2155
+ 55,
2156
+ 56,
2157
+ 57,
2158
+ 58,
2159
+ 61,
2160
+ 64,
2161
+ 65,
2162
+ 66,
2163
+ 67,
2164
+ 68,
2165
+ 69,
2166
+ 70,
2167
+ 71,
2168
+ 72,
2169
+ 73,
2170
+ 74,
2171
+ 75,
2172
+ 76,
2173
+ 77,
2174
+ 78,
2175
+ 79,
2176
+ 80,
2177
+ 81,
2178
+ 82,
2179
+ 87,
2180
+ 88,
2181
+ 89,
2182
+ 90,
2183
+ 91,
2184
+ 92,
2185
+ 93,
2186
+ 94,
2187
+ 95,
2188
+ 96,
2189
+ 98
2190
+ ],
2191
+ inclusive: !1
2192
+ },
2193
+ acc_descr_multiline: {
2194
+ rules: [
2195
+ 11,
2196
+ 12,
2197
+ 26,
2198
+ 50,
2199
+ 51,
2200
+ 52,
2201
+ 53,
2202
+ 54,
2203
+ 55,
2204
+ 56,
2205
+ 57,
2206
+ 58,
2207
+ 61,
2208
+ 64,
2209
+ 65,
2210
+ 66,
2211
+ 67,
2212
+ 68,
2213
+ 69,
2214
+ 70,
2215
+ 71,
2216
+ 72,
2217
+ 73,
2218
+ 74,
2219
+ 75,
2220
+ 76,
2221
+ 77,
2222
+ 78,
2223
+ 79,
2224
+ 80,
2225
+ 81,
2226
+ 82,
2227
+ 87,
2228
+ 88,
2229
+ 89,
2230
+ 90,
2231
+ 91,
2232
+ 92,
2233
+ 93,
2234
+ 94,
2235
+ 95,
2236
+ 96,
2237
+ 98
2238
+ ],
2239
+ inclusive: !1
2240
+ },
2241
+ acc_descr: {
2242
+ rules: [
2243
+ 9,
2244
+ 26,
2245
+ 50,
2246
+ 51,
2247
+ 52,
2248
+ 53,
2249
+ 54,
2250
+ 55,
2251
+ 56,
2252
+ 57,
2253
+ 58,
2254
+ 61,
2255
+ 64,
2256
+ 65,
2257
+ 66,
2258
+ 67,
2259
+ 68,
2260
+ 69,
2261
+ 70,
2262
+ 71,
2263
+ 72,
2264
+ 73,
2265
+ 74,
2266
+ 75,
2267
+ 76,
2268
+ 77,
2269
+ 78,
2270
+ 79,
2271
+ 80,
2272
+ 81,
2273
+ 82,
2274
+ 87,
2275
+ 88,
2276
+ 89,
2277
+ 90,
2278
+ 91,
2279
+ 92,
2280
+ 93,
2281
+ 94,
2282
+ 95,
2283
+ 96,
2284
+ 98
2285
+ ],
2286
+ inclusive: !1
2287
+ },
2288
+ acc_title: {
2289
+ rules: [
2290
+ 7,
2291
+ 26,
2292
+ 50,
2293
+ 51,
2294
+ 52,
2295
+ 53,
2296
+ 54,
2297
+ 55,
2298
+ 56,
2299
+ 57,
2300
+ 58,
2301
+ 61,
2302
+ 64,
2303
+ 65,
2304
+ 66,
2305
+ 67,
2306
+ 68,
2307
+ 69,
2308
+ 70,
2309
+ 71,
2310
+ 72,
2311
+ 73,
2312
+ 74,
2313
+ 75,
2314
+ 76,
2315
+ 77,
2316
+ 78,
2317
+ 79,
2318
+ 80,
2319
+ 81,
2320
+ 82,
2321
+ 87,
2322
+ 88,
2323
+ 89,
2324
+ 90,
2325
+ 91,
2326
+ 92,
2327
+ 93,
2328
+ 94,
2329
+ 95,
2330
+ 96,
2331
+ 98
2332
+ ],
2333
+ inclusive: !1
2334
+ },
2335
+ callback_args: {
2336
+ rules: [
2337
+ 22,
2338
+ 23,
2339
+ 26,
2340
+ 50,
2341
+ 51,
2342
+ 52,
2343
+ 53,
2344
+ 54,
2345
+ 55,
2346
+ 56,
2347
+ 57,
2348
+ 58,
2349
+ 61,
2350
+ 64,
2351
+ 65,
2352
+ 66,
2353
+ 67,
2354
+ 68,
2355
+ 69,
2356
+ 70,
2357
+ 71,
2358
+ 72,
2359
+ 73,
2360
+ 74,
2361
+ 75,
2362
+ 76,
2363
+ 77,
2364
+ 78,
2365
+ 79,
2366
+ 80,
2367
+ 81,
2368
+ 82,
2369
+ 87,
2370
+ 88,
2371
+ 89,
2372
+ 90,
2373
+ 91,
2374
+ 92,
2375
+ 93,
2376
+ 94,
2377
+ 95,
2378
+ 96,
2379
+ 98
2380
+ ],
2381
+ inclusive: !1
2382
+ },
2383
+ callback_name: {
2384
+ rules: [
2385
+ 19,
2386
+ 20,
2387
+ 21,
2388
+ 26,
2389
+ 50,
2390
+ 51,
2391
+ 52,
2392
+ 53,
2393
+ 54,
2394
+ 55,
2395
+ 56,
2396
+ 57,
2397
+ 58,
2398
+ 61,
2399
+ 64,
2400
+ 65,
2401
+ 66,
2402
+ 67,
2403
+ 68,
2404
+ 69,
2405
+ 70,
2406
+ 71,
2407
+ 72,
2408
+ 73,
2409
+ 74,
2410
+ 75,
2411
+ 76,
2412
+ 77,
2413
+ 78,
2414
+ 79,
2415
+ 80,
2416
+ 81,
2417
+ 82,
2418
+ 87,
2419
+ 88,
2420
+ 89,
2421
+ 90,
2422
+ 91,
2423
+ 92,
2424
+ 93,
2425
+ 94,
2426
+ 95,
2427
+ 96,
2428
+ 98
2429
+ ],
2430
+ inclusive: !1
2431
+ },
2432
+ href: {
2433
+ rules: [
2434
+ 26,
2435
+ 50,
2436
+ 51,
2437
+ 52,
2438
+ 53,
2439
+ 54,
2440
+ 55,
2441
+ 56,
2442
+ 57,
2443
+ 58,
2444
+ 61,
2445
+ 64,
2446
+ 65,
2447
+ 66,
2448
+ 67,
2449
+ 68,
2450
+ 69,
2451
+ 70,
2452
+ 71,
2453
+ 72,
2454
+ 73,
2455
+ 74,
2456
+ 75,
2457
+ 76,
2458
+ 77,
2459
+ 78,
2460
+ 79,
2461
+ 80,
2462
+ 81,
2463
+ 82,
2464
+ 87,
2465
+ 88,
2466
+ 89,
2467
+ 90,
2468
+ 91,
2469
+ 92,
2470
+ 93,
2471
+ 94,
2472
+ 95,
2473
+ 96,
2474
+ 98
2475
+ ],
2476
+ inclusive: !1
2477
+ },
2478
+ struct: {
2479
+ rules: [
2480
+ 26,
2481
+ 50,
2482
+ 51,
2483
+ 52,
2484
+ 53,
2485
+ 54,
2486
+ 55,
2487
+ 56,
2488
+ 57,
2489
+ 58,
2490
+ 61,
2491
+ 64,
2492
+ 65,
2493
+ 66,
2494
+ 67,
2495
+ 68,
2496
+ 69,
2497
+ 70,
2498
+ 71,
2499
+ 72,
2500
+ 73,
2501
+ 74,
2502
+ 75,
2503
+ 76,
2504
+ 77,
2505
+ 78,
2506
+ 79,
2507
+ 80,
2508
+ 81,
2509
+ 82,
2510
+ 87,
2511
+ 88,
2512
+ 89,
2513
+ 90,
2514
+ 91,
2515
+ 92,
2516
+ 93,
2517
+ 94,
2518
+ 95,
2519
+ 96,
2520
+ 98
2521
+ ],
2522
+ inclusive: !1
2523
+ },
2524
+ generic: {
2525
+ rules: [
2526
+ 26,
2527
+ 50,
2528
+ 51,
2529
+ 52,
2530
+ 53,
2531
+ 54,
2532
+ 55,
2533
+ 56,
2534
+ 57,
2535
+ 58,
2536
+ 59,
2537
+ 60,
2538
+ 61,
2539
+ 64,
2540
+ 65,
2541
+ 66,
2542
+ 67,
2543
+ 68,
2544
+ 69,
2545
+ 70,
2546
+ 71,
2547
+ 72,
2548
+ 73,
2549
+ 74,
2550
+ 75,
2551
+ 76,
2552
+ 77,
2553
+ 78,
2554
+ 79,
2555
+ 80,
2556
+ 81,
2557
+ 82,
2558
+ 87,
2559
+ 88,
2560
+ 89,
2561
+ 90,
2562
+ 91,
2563
+ 92,
2564
+ 93,
2565
+ 94,
2566
+ 95,
2567
+ 96,
2568
+ 98
2569
+ ],
2570
+ inclusive: !1
2571
+ },
2572
+ bqstring: {
2573
+ rules: [
2574
+ 26,
2575
+ 50,
2576
+ 51,
2577
+ 52,
2578
+ 53,
2579
+ 54,
2580
+ 55,
2581
+ 56,
2582
+ 57,
2583
+ 58,
2584
+ 61,
2585
+ 62,
2586
+ 63,
2587
+ 64,
2588
+ 65,
2589
+ 66,
2590
+ 67,
2591
+ 68,
2592
+ 69,
2593
+ 70,
2594
+ 71,
2595
+ 72,
2596
+ 73,
2597
+ 74,
2598
+ 75,
2599
+ 76,
2600
+ 77,
2601
+ 78,
2602
+ 79,
2603
+ 80,
2604
+ 81,
2605
+ 82,
2606
+ 87,
2607
+ 88,
2608
+ 89,
2609
+ 90,
2610
+ 91,
2611
+ 92,
2612
+ 93,
2613
+ 94,
2614
+ 95,
2615
+ 96,
2616
+ 98
2617
+ ],
2618
+ inclusive: !1
2619
+ },
2620
+ string: {
2621
+ rules: [
2622
+ 24,
2623
+ 25,
2624
+ 26,
2625
+ 50,
2626
+ 51,
2627
+ 52,
2628
+ 53,
2629
+ 54,
2630
+ 55,
2631
+ 56,
2632
+ 57,
2633
+ 58,
2634
+ 61,
2635
+ 64,
2636
+ 65,
2637
+ 66,
2638
+ 67,
2639
+ 68,
2640
+ 69,
2641
+ 70,
2642
+ 71,
2643
+ 72,
2644
+ 73,
2645
+ 74,
2646
+ 75,
2647
+ 76,
2648
+ 77,
2649
+ 78,
2650
+ 79,
2651
+ 80,
2652
+ 81,
2653
+ 82,
2654
+ 87,
2655
+ 88,
2656
+ 89,
2657
+ 90,
2658
+ 91,
2659
+ 92,
2660
+ 93,
2661
+ 94,
2662
+ 95,
2663
+ 96,
2664
+ 98
2665
+ ],
2666
+ inclusive: !1
2667
+ },
2668
+ INITIAL: {
2669
+ rules: [
2670
+ 0,
2671
+ 1,
2672
+ 2,
2673
+ 3,
2674
+ 4,
2675
+ 5,
2676
+ 6,
2677
+ 8,
2678
+ 10,
2679
+ 13,
2680
+ 14,
2681
+ 15,
2682
+ 16,
2683
+ 17,
2684
+ 18,
2685
+ 26,
2686
+ 27,
2687
+ 28,
2688
+ 29,
2689
+ 39,
2690
+ 50,
2691
+ 51,
2692
+ 52,
2693
+ 53,
2694
+ 54,
2695
+ 55,
2696
+ 56,
2697
+ 57,
2698
+ 58,
2699
+ 61,
2700
+ 64,
2701
+ 65,
2702
+ 66,
2703
+ 67,
2704
+ 68,
2705
+ 69,
2706
+ 70,
2707
+ 71,
2708
+ 72,
2709
+ 73,
2710
+ 74,
2711
+ 75,
2712
+ 76,
2713
+ 77,
2714
+ 78,
2715
+ 79,
2716
+ 80,
2717
+ 81,
2718
+ 82,
2719
+ 83,
2720
+ 84,
2721
+ 85,
2722
+ 86,
2723
+ 87,
2724
+ 88,
2725
+ 89,
2726
+ 90,
2727
+ 91,
2728
+ 92,
2729
+ 93,
2730
+ 94,
2731
+ 95,
2732
+ 96,
2733
+ 97,
2734
+ 98
2735
+ ],
2736
+ inclusive: !0
2737
+ }
2738
+ }
2739
+ };
2740
+ })();
2741
+ function le() {
2742
+ this.yy = {};
2743
+ }
2744
+ return f(le, "Parser"), le.prototype = Se, Se.Parser = le, new le();
2745
+ })();
2746
+ Ve.parser = Ve;
2747
+ var _t = Ve, He = [
2748
+ "#",
2749
+ "+",
2750
+ "~",
2751
+ "-",
2752
+ ""
2753
+ ], qe = class {
2754
+ static {
2755
+ f(this, "ClassMember");
2756
+ }
2757
+ constructor(t, i) {
2758
+ this.memberType = i, this.visibility = "", this.classifier = "", this.text = "";
2759
+ const r = ot(t, _());
2760
+ this.parseMember(r);
2761
+ }
2762
+ getDisplayDetails() {
2763
+ let t = this.visibility + G(this.id);
2764
+ this.memberType === "method" && (t += `(${G(this.parameters.trim())})`, this.returnType && (t += " : " + G(this.returnType))), t = t.trim();
2765
+ const i = this.parseClassifier();
2766
+ return {
2767
+ displayText: t,
2768
+ cssStyle: i
2769
+ };
2770
+ }
2771
+ parseMember(t) {
2772
+ let i = "";
2773
+ if (this.memberType === "method") {
2774
+ const a = /([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(t);
2775
+ if (a) {
2776
+ const n = a[1] ? a[1].trim() : "";
2777
+ if (He.includes(n) && (this.visibility = n), this.id = a[2], this.parameters = a[3] ? a[3].trim() : "", i = a[4] ? a[4].trim() : "", this.returnType = a[5] ? a[5].trim() : "", i === "") {
2778
+ const c = this.returnType.substring(this.returnType.length - 1);
2779
+ /[$*]/.exec(c) && (i = c, this.returnType = this.returnType.substring(0, this.returnType.length - 1));
2780
+ }
2781
+ }
2782
+ } else {
2783
+ const a = t.length, n = t.substring(0, 1), c = t.substring(a - 1);
2784
+ He.includes(n) && (this.visibility = n), /[$*]/.exec(c) && (i = c), this.id = t.substring(this.visibility === "" ? 0 : 1, i === "" ? a : a - 1);
2785
+ }
2786
+ this.classifier = i, this.id = this.id.startsWith(" ") ? " " + this.id.trim() : this.id.trim();
2787
+ const r = `${this.visibility ? "\\" + this.visibility : ""}${G(this.id)}${this.memberType === "method" ? `(${G(this.parameters)})${this.returnType ? " : " + G(this.returnType) : ""}` : ""}`;
2788
+ this.text = r.replaceAll("<", "&lt;").replaceAll(">", "&gt;"), this.text.startsWith("\\&lt;") && (this.text = this.text.replace("\\&lt;", "~"));
2789
+ }
2790
+ parseClassifier() {
2791
+ switch (this.classifier) {
2792
+ case "*":
2793
+ return "font-style:italic;";
2794
+ case "$":
2795
+ return "text-decoration:underline;";
2796
+ default:
2797
+ return "";
2798
+ }
2799
+ }
2800
+ }, pe = "classId-", Je = 0, P = /* @__PURE__ */ f((t) => O.sanitizeText(t, _()), "sanitizeText"), St = class Pe {
2801
+ constructor() {
2802
+ 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 = {
2803
+ LINE: 0,
2804
+ DOTTED_LINE: 1
2805
+ }, this.relationType = {
2806
+ AGGREGATION: 0,
2807
+ EXTENSION: 1,
2808
+ COMPOSITION: 2,
2809
+ DEPENDENCY: 3,
2810
+ LOLLIPOP: 4
2811
+ }, this.setupToolTips = /* @__PURE__ */ f((i) => {
2812
+ const r = pt();
2813
+ de(i).select("svg").selectAll("g").filter(function() {
2814
+ return de(this).attr("title") !== null;
2815
+ }).on("mouseover", (a) => {
2816
+ const n = de(a.currentTarget), c = n.attr("title");
2817
+ if (!c) return;
2818
+ const u = a.currentTarget.getBoundingClientRect();
2819
+ r.transition().duration(200).style("opacity", ".9"), r.html(st.sanitize(c)).style("left", `${window.scrollX + u.left + u.width / 2}px`).style("top", `${window.scrollY + u.bottom + 4}px`), n.classed("hover", !0);
2820
+ }).on("mouseout", (a) => {
2821
+ r.transition().duration(500).style("opacity", 0), de(a.currentTarget).classed("hover", !1);
2822
+ });
2823
+ }, "setupToolTips"), this.direction = "TB", this.setAccTitle = rt, this.getAccTitle = ct, this.setAccDescription = it, this.getAccDescription = ut, this.setDiagramTitle = at, this.getDiagramTitle = lt, this.getConfig = /* @__PURE__ */ 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);
2824
+ }
2825
+ static {
2826
+ f(this, "ClassDB");
2827
+ }
2828
+ splitClassNameAndType(i) {
2829
+ const r = O.sanitizeText(i, _());
2830
+ let a = "", n = r;
2831
+ if (r.indexOf("~") > 0) {
2832
+ const c = r.split("~");
2833
+ n = P(c[0]), a = P(c[1]);
2834
+ }
2835
+ return {
2836
+ className: n,
2837
+ type: a
2838
+ };
2839
+ }
2840
+ setClassLabel(i, r) {
2841
+ const a = O.sanitizeText(i, _());
2842
+ r && (r = P(r));
2843
+ const { className: n } = this.splitClassNameAndType(a);
2844
+ this.classes.get(n).label = r, this.classes.get(n).text = `${r}${this.classes.get(n).type ? `<${this.classes.get(n).type}>` : ""}`;
2845
+ }
2846
+ addClass(i) {
2847
+ const r = O.sanitizeText(i, _()), { className: a, type: n } = this.splitClassNameAndType(r);
2848
+ if (this.classes.has(a)) return;
2849
+ const c = O.sanitizeText(a, _());
2850
+ this.classes.set(c, {
2851
+ id: c,
2852
+ type: n,
2853
+ label: c,
2854
+ text: `${c}${n ? `&lt;${n}&gt;` : ""}`,
2855
+ shape: "classBox",
2856
+ cssClasses: "default",
2857
+ methods: [],
2858
+ members: [],
2859
+ annotations: [],
2860
+ styles: [],
2861
+ domId: pe + c + "-" + Je
2862
+ }), Je++;
2863
+ }
2864
+ addInterface(i, r) {
2865
+ const a = {
2866
+ id: `interface${this.interfaces.length}`,
2867
+ label: i,
2868
+ classId: r
2869
+ };
2870
+ this.interfaces.push(a);
2871
+ }
2872
+ setDiagramId(i) {
2873
+ this.diagramId = i;
2874
+ }
2875
+ lookUpDomId(i) {
2876
+ const r = O.sanitizeText(i, _());
2877
+ if (this.classes.has(r)) {
2878
+ const a = this.classes.get(r).domId;
2879
+ return this.diagramId ? `${this.diagramId}-${a}` : a;
2880
+ }
2881
+ throw new Error("Class not found: " + r);
2882
+ }
2883
+ clear() {
2884
+ 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", nt();
2885
+ }
2886
+ getClass(i) {
2887
+ return this.classes.get(i);
2888
+ }
2889
+ getClasses() {
2890
+ return this.classes;
2891
+ }
2892
+ getRelations() {
2893
+ return this.relations;
2894
+ }
2895
+ getNote(i) {
2896
+ const r = typeof i == "number" ? `note${i}` : i;
2897
+ return this.notes.get(r);
2898
+ }
2899
+ getNotes() {
2900
+ return this.notes;
2901
+ }
2902
+ addRelation(i) {
2903
+ Oe.debug("Adding relation: " + JSON.stringify(i));
2904
+ const r = [
2905
+ this.relationType.LOLLIPOP,
2906
+ this.relationType.AGGREGATION,
2907
+ this.relationType.COMPOSITION,
2908
+ this.relationType.DEPENDENCY,
2909
+ this.relationType.EXTENSION
2910
+ ];
2911
+ i.relation.type1 === this.relationType.LOLLIPOP && !r.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 && !r.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 = O.sanitizeText(i.relationTitle1.trim(), _()), i.relationTitle2 = O.sanitizeText(i.relationTitle2.trim(), _()), this.relations.push(i);
2912
+ }
2913
+ addAnnotation(i, r) {
2914
+ const a = this.splitClassNameAndType(i).className;
2915
+ this.classes.get(a).annotations.push(r);
2916
+ }
2917
+ addMember(i, r) {
2918
+ this.addClass(i);
2919
+ const a = this.splitClassNameAndType(i).className, n = this.classes.get(a);
2920
+ if (typeof r == "string") {
2921
+ const c = r.trim();
2922
+ c.startsWith("<<") && c.endsWith(">>") ? n.annotations.push(P(c.substring(2, c.length - 2))) : c.indexOf(")") > 0 ? n.methods.push(new qe(c, "method")) : c && n.members.push(new qe(c, "attribute"));
2923
+ }
2924
+ }
2925
+ addMembers(i, r) {
2926
+ Array.isArray(r) && (r.reverse(), r.forEach((a) => this.addMember(i, a)));
2927
+ }
2928
+ addNote(i, r) {
2929
+ const a = this.notes.size, n = {
2930
+ id: `note${a}`,
2931
+ class: r,
2932
+ text: i,
2933
+ index: a
2934
+ };
2935
+ return this.notes.set(n.id, n), n.id;
2936
+ }
2937
+ cleanupLabel(i) {
2938
+ return i.startsWith(":") && (i = i.substring(1)), P(i.trim());
2939
+ }
2940
+ setCssClass(i, r) {
2941
+ i.split(",").forEach((a) => {
2942
+ let n = a;
2943
+ /\d/.exec(a[0]) && (n = pe + n), n = this.splitClassNameAndType(n).className;
2944
+ const c = this.classes.get(n);
2945
+ c && (c.cssClasses += " " + r);
2946
+ });
2947
+ }
2948
+ defineClass(i, r) {
2949
+ for (const a of i) {
2950
+ let n = this.styleClasses.get(a);
2951
+ n === void 0 && (n = {
2952
+ id: a,
2953
+ styles: [],
2954
+ textStyles: []
2955
+ }, this.styleClasses.set(a, n)), r && r.forEach((c) => {
2956
+ if (/color/.exec(c)) {
2957
+ const u = c.replace("fill", "bgFill");
2958
+ n.textStyles.push(u);
2959
+ }
2960
+ n.styles.push(c);
2961
+ }), this.classes.forEach((c) => {
2962
+ c.cssClasses.includes(a) && c.styles.push(...r.flatMap((u) => u.split(",")));
2963
+ });
2964
+ }
2965
+ }
2966
+ setTooltip(i, r) {
2967
+ i.split(",").forEach((a) => {
2968
+ if (r !== void 0) {
2969
+ const n = this.splitClassNameAndType(a).className, c = this.classes.get(n);
2970
+ c && (c.tooltip = P(r));
2971
+ }
2972
+ });
2973
+ }
2974
+ getTooltip(i, r) {
2975
+ return r && this.namespaces.has(r) ? this.namespaces.get(r).classes.get(i).tooltip : this.classes.get(i).tooltip;
2976
+ }
2977
+ setLink(i, r, a) {
2978
+ const n = _();
2979
+ i.split(",").forEach((c) => {
2980
+ let u = c;
2981
+ /\d/.exec(c[0]) && (u = pe + u), u = this.splitClassNameAndType(u).className;
2982
+ const p = this.classes.get(u);
2983
+ p && (p.link = we.formatUrl(r, n), n.securityLevel === "sandbox" ? p.linkTarget = "_top" : typeof a == "string" ? p.linkTarget = P(a) : p.linkTarget = "_blank");
2984
+ }), this.setCssClass(i, "clickable");
2985
+ }
2986
+ setClickEvent(i, r, a) {
2987
+ i.split(",").forEach((n) => {
2988
+ this.setClickFunc(n, r, a);
2989
+ const c = this.splitClassNameAndType(n).className, u = this.classes.get(c);
2990
+ u && (u.haveCallback = !0);
2991
+ }), this.setCssClass(i, "clickable");
2992
+ }
2993
+ setClickFunc(i, r, a) {
2994
+ const n = O.sanitizeText(i, _());
2995
+ if (_().securityLevel !== "loose" || r === void 0) return;
2996
+ const c = this.splitClassNameAndType(n).className;
2997
+ if (this.classes.has(c)) {
2998
+ let u = [];
2999
+ if (typeof a == "string") {
3000
+ u = a.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
3001
+ for (let p = 0; p < u.length; p++) {
3002
+ let g = u[p].trim();
3003
+ g.startsWith('"') && g.endsWith('"') && (g = g.substr(1, g.length - 2)), u[p] = g;
3004
+ }
3005
+ }
3006
+ u.length === 0 && u.push(c), this.functions.push(() => {
3007
+ const p = this.lookUpDomId(c), g = document.querySelector(`[id="${p}"]`);
3008
+ g !== null && g.addEventListener("click", () => {
3009
+ we.runFunc(r, ...u);
3010
+ }, !1);
3011
+ });
3012
+ }
3013
+ }
3014
+ bindFunctions(i) {
3015
+ this.functions.forEach((r) => {
3016
+ r(i);
3017
+ });
3018
+ }
3019
+ escapeHtml(i) {
3020
+ return i.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;");
3021
+ }
3022
+ getDirection() {
3023
+ return this.direction;
3024
+ }
3025
+ setDirection(i) {
3026
+ this.direction = i;
3027
+ }
3028
+ static resolveQualifiedId(i, r) {
3029
+ const a = r.at(-1);
3030
+ return a ? `${a}.${i}` : i;
3031
+ }
3032
+ static getAncestorIds(i) {
3033
+ const r = i.split("."), a = new Array(r.length);
3034
+ a[0] = r[0];
3035
+ for (let n = 1; n < r.length; n++) a[n] = `${a[n - 1]}.${r[n]}`;
3036
+ return a;
3037
+ }
3038
+ createNamespaceNode(i, r, a, n = !1) {
3039
+ return {
3040
+ id: i,
3041
+ label: r,
3042
+ classes: /* @__PURE__ */ new Map(),
3043
+ notes: /* @__PURE__ */ new Map(),
3044
+ children: /* @__PURE__ */ new Map(),
3045
+ domId: pe + i + "-" + this.namespaceCounter++,
3046
+ parent: a,
3047
+ explicit: n
3048
+ };
3049
+ }
3050
+ linkParentChild(i, r) {
3051
+ const a = this.namespaces.get(i), n = this.namespaces.get(r);
3052
+ !a || !n || (a.children.has(r) || a.children.set(r, n), n.parent ??= i);
3053
+ }
3054
+ addNamespace(i, r) {
3055
+ const a = Pe.resolveQualifiedId(i, this.namespaceStack);
3056
+ if (this.namespaceStack.push(a), this.namespaces.has(a)) {
3057
+ const u = this.namespaces.get(a);
3058
+ return u.explicit = !0, r && (u.label = r), a;
3059
+ }
3060
+ const n = a.split("."), c = Pe.getAncestorIds(a);
3061
+ for (let u = 0; u < c.length; u++) {
3062
+ const p = c[u], g = u > 0 ? c[u - 1] : void 0, F = u === c.length - 1, N = F && r ? r : n[u];
3063
+ this.namespaces.has(p) ? F && (this.namespaces.get(p).explicit = !0) : this.namespaces.set(p, this.createNamespaceNode(p, N, g, F)), g && this.linkParentChild(g, p);
3064
+ }
3065
+ return a;
3066
+ }
3067
+ popNamespace() {
3068
+ this.namespaceStack.pop();
3069
+ }
3070
+ getNamespace(i) {
3071
+ return this.namespaces.get(i);
3072
+ }
3073
+ getNamespaces() {
3074
+ return this.namespaces;
3075
+ }
3076
+ addClassesToNamespace(i, r, a) {
3077
+ if (this.namespaces.has(i)) {
3078
+ for (const n of r) {
3079
+ const { className: c } = this.splitClassNameAndType(n), u = this.getClass(c);
3080
+ u.parent = i, this.namespaces.get(i).classes.set(c, u);
3081
+ }
3082
+ for (const n of a) {
3083
+ const c = this.getNote(n);
3084
+ c.parent = i, this.namespaces.get(i).notes.set(n, c);
3085
+ }
3086
+ }
3087
+ }
3088
+ setCssStyle(i, r) {
3089
+ const a = this.classes.get(i);
3090
+ if (!(!r || !a))
3091
+ for (const n of r) n.includes(",") ? a.styles.push(...n.split(",")) : a.styles.push(n);
3092
+ }
3093
+ getArrowMarker(i) {
3094
+ let r;
3095
+ switch (i) {
3096
+ case 0:
3097
+ r = "aggregation";
3098
+ break;
3099
+ case 1:
3100
+ r = "extension";
3101
+ break;
3102
+ case 2:
3103
+ r = "composition";
3104
+ break;
3105
+ case 3:
3106
+ r = "dependency";
3107
+ break;
3108
+ case 4:
3109
+ r = "lollipop";
3110
+ break;
3111
+ default:
3112
+ r = "none";
3113
+ }
3114
+ return r;
3115
+ }
3116
+ resolveExplicitAncestor(i) {
3117
+ let r = i;
3118
+ for (; r; ) {
3119
+ const a = this.namespaces.get(r);
3120
+ if (!a) return;
3121
+ if (a.explicit) return r;
3122
+ r = a.parent;
3123
+ }
3124
+ }
3125
+ getData() {
3126
+ const i = [], r = [], a = _(), n = a.class?.hierarchicalNamespaces ?? !0;
3127
+ for (const u of this.namespaces.values()) {
3128
+ if (!n && !u.explicit) continue;
3129
+ const p = {
3130
+ id: u.id,
3131
+ label: n ? u.label : u.id,
3132
+ isGroup: !0,
3133
+ padding: a.class.padding ?? 16,
3134
+ shape: "rect",
3135
+ cssStyles: [],
3136
+ look: a.look,
3137
+ parentId: n ? u.parent : void 0
3138
+ };
3139
+ i.push(p);
3140
+ }
3141
+ for (const u of this.classes.values()) {
3142
+ const p = n ? u.parent : this.resolveExplicitAncestor(u.parent), g = {
3143
+ ...u,
3144
+ type: void 0,
3145
+ isGroup: !1,
3146
+ parentId: p,
3147
+ look: a.look
3148
+ };
3149
+ i.push(g);
3150
+ }
3151
+ for (const u of this.notes.values()) {
3152
+ const p = n ? u.parent : this.resolveExplicitAncestor(u.parent), g = {
3153
+ id: u.id,
3154
+ label: u.text,
3155
+ isGroup: !1,
3156
+ shape: "note",
3157
+ padding: a.class.padding ?? 6,
3158
+ cssStyles: [
3159
+ "text-align: left",
3160
+ "white-space: nowrap",
3161
+ `fill: ${a.themeVariables.noteBkgColor}`,
3162
+ `stroke: ${a.themeVariables.noteBorderColor}`
3163
+ ],
3164
+ look: a.look,
3165
+ parentId: p,
3166
+ labelType: "markdown"
3167
+ };
3168
+ i.push(g);
3169
+ const F = this.classes.get(u.class)?.id;
3170
+ if (F) {
3171
+ const N = {
3172
+ id: `edgeNote${u.index}`,
3173
+ start: u.id,
3174
+ end: F,
3175
+ type: "normal",
3176
+ thickness: "normal",
3177
+ classes: "relation",
3178
+ arrowTypeStart: "none",
3179
+ arrowTypeEnd: "none",
3180
+ arrowheadStyle: "",
3181
+ labelStyle: [""],
3182
+ style: ["fill: none"],
3183
+ pattern: "dotted",
3184
+ look: a.look
3185
+ };
3186
+ r.push(N);
3187
+ }
3188
+ }
3189
+ for (const u of this.interfaces) {
3190
+ const p = {
3191
+ id: u.id,
3192
+ label: u.label,
3193
+ isGroup: !1,
3194
+ shape: "rect",
3195
+ cssStyles: ["opacity: 0;"],
3196
+ look: a.look
3197
+ };
3198
+ i.push(p);
3199
+ }
3200
+ let c = 0;
3201
+ for (const u of this.relations) {
3202
+ c++;
3203
+ const p = {
3204
+ id: ht(u.id1, u.id2, {
3205
+ prefix: "id",
3206
+ counter: c
3207
+ }),
3208
+ start: u.id1,
3209
+ end: u.id2,
3210
+ type: "normal",
3211
+ label: u.title,
3212
+ labelpos: "c",
3213
+ thickness: "normal",
3214
+ classes: "relation",
3215
+ arrowTypeStart: this.getArrowMarker(u.relation.type1),
3216
+ arrowTypeEnd: this.getArrowMarker(u.relation.type2),
3217
+ startLabelRight: u.relationTitle1 === "none" ? "" : u.relationTitle1,
3218
+ endLabelLeft: u.relationTitle2 === "none" ? "" : u.relationTitle2,
3219
+ arrowheadStyle: "",
3220
+ labelStyle: ["display: inline-block"],
3221
+ style: u.style || "",
3222
+ pattern: u.relation.lineType == 1 ? "dashed" : "solid",
3223
+ look: a.look,
3224
+ labelType: "markdown"
3225
+ };
3226
+ r.push(p);
3227
+ }
3228
+ return {
3229
+ nodes: i,
3230
+ edges: r,
3231
+ other: {},
3232
+ config: a,
3233
+ direction: this.getDirection()
3234
+ };
3235
+ }
3236
+ }, Nt = /* @__PURE__ */ f((t) => `g.classGroup text {
3237
+ fill: ${t.nodeBorder || t.classText};
3238
+ stroke: none;
3239
+ font-family: ${t.fontFamily};
3240
+ font-size: 10px;
3241
+
3242
+ .title {
3243
+ font-weight: bolder;
3244
+ }
3245
+
3246
+ }
3247
+
3248
+ .cluster-label text {
3249
+ fill: ${t.titleColor};
3250
+ }
3251
+ .cluster-label span {
3252
+ color: ${t.titleColor};
3253
+ }
3254
+ .cluster-label span p {
3255
+ background-color: transparent;
3256
+ }
3257
+
3258
+ .cluster rect {
3259
+ fill: ${t.clusterBkg};
3260
+ stroke: ${t.clusterBorder};
3261
+ stroke-width: 1px;
3262
+ }
3263
+
3264
+ .cluster text {
3265
+ fill: ${t.titleColor};
3266
+ }
3267
+
3268
+ .cluster span {
3269
+ color: ${t.titleColor};
3270
+ }
3271
+
3272
+ .nodeLabel, .edgeLabel {
3273
+ color: ${t.classText};
3274
+ }
3275
+
3276
+ .noteLabel .nodeLabel, .noteLabel .edgeLabel {
3277
+ color: ${t.noteTextColor};
3278
+ }
3279
+ .edgeLabel .label rect {
3280
+ fill: ${t.mainBkg};
3281
+ }
3282
+ .label text {
3283
+ fill: ${t.classText};
3284
+ }
3285
+
3286
+ .labelBkg {
3287
+ background: ${t.mainBkg};
3288
+ }
3289
+ .edgeLabel .label span {
3290
+ background: ${t.mainBkg};
3291
+ }
3292
+
3293
+ .classTitle {
3294
+ font-weight: bolder;
3295
+ }
3296
+ .node rect,
3297
+ .node circle,
3298
+ .node ellipse,
3299
+ .node polygon,
3300
+ .node path {
3301
+ fill: ${t.mainBkg};
3302
+ stroke: ${t.nodeBorder};
3303
+ stroke-width: ${t.strokeWidth};
3304
+ }
3305
+
3306
+
3307
+ .divider {
3308
+ stroke: ${t.nodeBorder};
3309
+ stroke-width: 1;
3310
+ }
3311
+
3312
+ g.clickable {
3313
+ cursor: pointer;
3314
+ }
3315
+
3316
+ g.classGroup rect {
3317
+ fill: ${t.mainBkg};
3318
+ stroke: ${t.nodeBorder};
3319
+ }
3320
+
3321
+ g.classGroup line {
3322
+ stroke: ${t.nodeBorder};
3323
+ stroke-width: 1;
3324
+ }
3325
+
3326
+ .classLabel .box {
3327
+ stroke: none;
3328
+ stroke-width: 0;
3329
+ fill: ${t.mainBkg};
3330
+ opacity: 0.5;
3331
+ }
3332
+
3333
+ .classLabel .label {
3334
+ fill: ${t.nodeBorder};
3335
+ font-size: 10px;
3336
+ }
3337
+
3338
+ .relation {
3339
+ stroke: ${t.lineColor};
3340
+ stroke-width: ${t.strokeWidth};
3341
+ fill: none;
3342
+ }
3343
+
3344
+ .dashed-line{
3345
+ stroke-dasharray: 3;
3346
+ }
3347
+
3348
+ .dotted-line{
3349
+ stroke-dasharray: 1 2;
3350
+ }
3351
+
3352
+ [id$="-compositionStart"], .composition {
3353
+ fill: ${t.lineColor} !important;
3354
+ stroke: ${t.lineColor} !important;
3355
+ stroke-width: 1;
3356
+ }
3357
+
3358
+ [id$="-compositionEnd"], .composition {
3359
+ fill: ${t.lineColor} !important;
3360
+ stroke: ${t.lineColor} !important;
3361
+ stroke-width: 1;
3362
+ }
3363
+
3364
+ [id$="-dependencyStart"], .dependency {
3365
+ fill: ${t.lineColor} !important;
3366
+ stroke: ${t.lineColor} !important;
3367
+ stroke-width: 1;
3368
+ }
3369
+
3370
+ [id$="-dependencyEnd"], .dependency {
3371
+ fill: ${t.lineColor} !important;
3372
+ stroke: ${t.lineColor} !important;
3373
+ stroke-width: 1;
3374
+ }
3375
+
3376
+ [id$="-extensionStart"], .extension {
3377
+ fill: transparent !important;
3378
+ stroke: ${t.lineColor} !important;
3379
+ stroke-width: 1;
3380
+ }
3381
+
3382
+ [id$="-extensionEnd"], .extension {
3383
+ fill: transparent !important;
3384
+ stroke: ${t.lineColor} !important;
3385
+ stroke-width: 1;
3386
+ }
3387
+
3388
+ [id$="-aggregationStart"], .aggregation {
3389
+ fill: transparent !important;
3390
+ stroke: ${t.lineColor} !important;
3391
+ stroke-width: 1;
3392
+ }
3393
+
3394
+ [id$="-aggregationEnd"], .aggregation {
3395
+ fill: transparent !important;
3396
+ stroke: ${t.lineColor} !important;
3397
+ stroke-width: 1;
3398
+ }
3399
+
3400
+ [id$="-lollipopStart"], .lollipop {
3401
+ fill: ${t.mainBkg} !important;
3402
+ stroke: ${t.lineColor} !important;
3403
+ stroke-width: 1;
3404
+ }
3405
+
3406
+ [id$="-lollipopEnd"], .lollipop {
3407
+ fill: ${t.mainBkg} !important;
3408
+ stroke: ${t.lineColor} !important;
3409
+ stroke-width: 1;
3410
+ }
3411
+
3412
+ .edgeTerminals {
3413
+ font-size: 11px;
3414
+ line-height: initial;
3415
+ }
3416
+
3417
+ .classTitleText {
3418
+ text-anchor: middle;
3419
+ font-size: 18px;
3420
+ fill: ${t.textColor};
3421
+ }
3422
+
3423
+ .edgeLabel[data-look="neo"] {
3424
+ background-color: ${t.edgeLabelBackground};
3425
+ p {
3426
+ background-color: ${t.edgeLabelBackground};
3427
+ }
3428
+ rect {
3429
+ opacity: 0.5;
3430
+ background-color: ${t.edgeLabelBackground};
3431
+ fill: ${t.edgeLabelBackground};
3432
+ }
3433
+ text-align: center;
3434
+ }
3435
+ ${dt()}
3436
+ `, "getStyles"), Lt = {
3437
+ getClasses: /* @__PURE__ */ f(function(t, i) {
3438
+ return i.db.getClasses();
3439
+ }, "getClasses"),
3440
+ draw: /* @__PURE__ */ f(async function(t, i, r, a) {
3441
+ Oe.info("REF0:"), Oe.info("Drawing class diagram (v3)", i);
3442
+ const { securityLevel: n, state: c, layout: u } = _();
3443
+ a.db.setDiagramId(i);
3444
+ const p = a.db.getData(), g = At(i, n);
3445
+ p.type = a.type, p.layoutAlgorithm = gt(u), p.nodeSpacing = c?.nodeSpacing || 50, p.rankSpacing = c?.rankSpacing || 50, p.markers = [
3446
+ "aggregation",
3447
+ "extension",
3448
+ "composition",
3449
+ "dependency",
3450
+ "lollipop"
3451
+ ], p.diagramId = i, await mt(p, g);
3452
+ const F = 8;
3453
+ we.insertTitle(g, "classDiagramTitleText", c?.titleTopMargin ?? 25, a.db.getDiagramTitle()), ft(g, F, "classDiagram", c?.useMaxWidth ?? !0);
3454
+ }, "draw"),
3455
+ getDir: /* @__PURE__ */ f((t, i = "TB") => {
3456
+ if (!t.doc) return i;
3457
+ let r = i;
3458
+ for (const a of t.doc) a.stmt === "dir" && (r = a.value);
3459
+ return r;
3460
+ }, "getDir")
3461
+ };
3462
+ export {
3463
+ Nt as i,
3464
+ _t as n,
3465
+ Lt as r,
3466
+ St as t
3467
+ };