@pi-outpost/embed 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (250) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +63 -0
  3. package/dist/abnfDiagram-VRR7QNED-BPTALLb_.cjs +1 -0
  4. package/dist/abnfDiagram-VRR7QNED-DlAvVtuC.js +89 -0
  5. package/dist/arc-BBnpgwVQ.js +80 -0
  6. package/dist/arc-DcUn9_NX.cjs +1 -0
  7. package/dist/architecture-TIHT7OUA-D-35jO9Y.cjs +1 -0
  8. package/dist/architecture-TIHT7OUA-DDyMqjR1.js +3 -0
  9. package/dist/architectureDiagram-ZJ3FMSHR-Bh5-VPPg.cjs +36 -0
  10. package/dist/architectureDiagram-ZJ3FMSHR-D7UsY5ua.js +4120 -0
  11. package/dist/array-CApNbSU9.js +6 -0
  12. package/dist/array-DZSRzHA_.cjs +1 -0
  13. package/dist/bash-BLBHkRa_.js +169 -0
  14. package/dist/bash-DHJu-DNv.cjs +1 -0
  15. package/dist/blockDiagram-677ZJIJ3-BrXgigdO.cjs +132 -0
  16. package/dist/blockDiagram-677ZJIJ3-s-fanRPN.js +3160 -0
  17. package/dist/c-4QgYfi8K.cjs +1 -0
  18. package/dist/c-Cw4FsAeJ.js +176 -0
  19. package/dist/c4Diagram-LMCZKHZV-BbZFAi_K.js +2962 -0
  20. package/dist/c4Diagram-LMCZKHZV-DFBVQ9Uo.cjs +10 -0
  21. package/dist/channel-DV0ST12Z.js +5 -0
  22. package/dist/channel-DkMGzfUR.cjs +1 -0
  23. package/dist/chunk-2Q5K7J3B-B8v9mTdK.cjs +1 -0
  24. package/dist/chunk-2Q5K7J3B-DqJF2oYF.js +15 -0
  25. package/dist/chunk-32BRIVSS-Byu3FrKX.js +61 -0
  26. package/dist/chunk-32BRIVSS-oWSJWk-u.cjs +1 -0
  27. package/dist/chunk-52WLFC77-C9zQbcGs.js +590 -0
  28. package/dist/chunk-52WLFC77-D9PTsiCj.cjs +10 -0
  29. package/dist/chunk-5VM5RSS4-BMfgdMFU.js +5 -0
  30. package/dist/chunk-5VM5RSS4-CwDmQ9T_.cjs +15 -0
  31. package/dist/chunk-7BUUIJ7U-BFUeQBoS.js +82 -0
  32. package/dist/chunk-7BUUIJ7U-MzS1pW_S.cjs +1 -0
  33. package/dist/chunk-C7G6YPKG-CDjkH_UW.cjs +1 -0
  34. package/dist/chunk-C7G6YPKG-GTlyrFFt.js +67 -0
  35. package/dist/chunk-EX3LRPZG-BBldDxGh.js +2046 -0
  36. package/dist/chunk-EX3LRPZG-u-BKCEWO.cjs +231 -0
  37. package/dist/chunk-FWX5IMBZ-h3GfgkP2.js +57 -0
  38. package/dist/chunk-FWX5IMBZ-nqBth1J9.cjs +1 -0
  39. package/dist/chunk-HOUHSVGY-CgfXy94u.cjs +1 -0
  40. package/dist/chunk-HOUHSVGY-CtRCnz1G.js +277 -0
  41. package/dist/chunk-ICXQ74PX-BmEfYj-r.cjs +2 -0
  42. package/dist/chunk-ICXQ74PX-CC59NQmW.js +1366 -0
  43. package/dist/chunk-JWPE2WC7-B_J6qwQL.js +8 -0
  44. package/dist/chunk-JWPE2WC7-Cs1kjq8S.cjs +1 -0
  45. package/dist/chunk-KEIR6QF5-BVnxrdHo.js +21388 -0
  46. package/dist/chunk-KEIR6QF5-Cy_QBNG6.cjs +161 -0
  47. package/dist/chunk-MOJQB5TN-D6YxvkUY.js +490 -0
  48. package/dist/chunk-MOJQB5TN-H2vwz-oQ.cjs +88 -0
  49. package/dist/chunk-OGEWGWER-BGdqgMza.js +32 -0
  50. package/dist/chunk-OGEWGWER-BP4o8A-v.cjs +1 -0
  51. package/dist/chunk-PUDLZKDR-C8jMDFq6.js +4142 -0
  52. package/dist/chunk-PUDLZKDR-DtzwSdxX.cjs +156 -0
  53. package/dist/chunk-Q4XR5HBZ-Bk18cMuk.js +1628 -0
  54. package/dist/chunk-Q4XR5HBZ-COrrWZzi.cjs +70 -0
  55. package/dist/chunk-RYQCIY6F-27FDzaaE.cjs +1 -0
  56. package/dist/chunk-RYQCIY6F-C-YC3QS_.js +239 -0
  57. package/dist/chunk-V7JOEXUC-BROsdKzY.js +3357 -0
  58. package/dist/chunk-V7JOEXUC-Cfrm5GQn.cjs +206 -0
  59. package/dist/chunk-VAUOI2AC-05FwamOA.js +10 -0
  60. package/dist/chunk-VAUOI2AC-CBXi4Di2.cjs +1 -0
  61. package/dist/chunk-VR4S4FIN-CSU_1xTZ.cjs +1 -0
  62. package/dist/chunk-VR4S4FIN-Ci491c8N.js +26 -0
  63. package/dist/chunk-WYO6CB5R-BTvDzbWd.cjs +127 -0
  64. package/dist/chunk-WYO6CB5R-Y9HJHB3Q.js +3739 -0
  65. package/dist/chunk-XXDRQBXY-DsVp5qjg.js +9 -0
  66. package/dist/chunk-XXDRQBXY-gWcN0uCZ.cjs +1 -0
  67. package/dist/chunk-Y2CYZVJY-CnmLqFtv.cjs +1 -0
  68. package/dist/chunk-Y2CYZVJY-CwsV_8W4.js +12 -0
  69. package/dist/chunk-ZGVPDNZ5-CDTkXY1G.js +3736 -0
  70. package/dist/chunk-ZGVPDNZ5-COEQX4AZ.cjs +62 -0
  71. package/dist/chunk-ZIRB5QZD-BU6XQUGC.cjs +32 -0
  72. package/dist/chunk-ZIRB5QZD-Cj-y77rH.js +1146 -0
  73. package/dist/classDiagram-OUVF2IWQ-Avsu6OKn.cjs +1 -0
  74. package/dist/classDiagram-OUVF2IWQ-eC72Wwol.js +30 -0
  75. package/dist/classDiagram-v2-EOCWNBFH-Avsu6OKn.cjs +1 -0
  76. package/dist/classDiagram-v2-EOCWNBFH-DsRoQgCt.js +30 -0
  77. package/dist/core-2nR1zkKb.cjs +3 -0
  78. package/dist/core-BO2hTFeF.js +845 -0
  79. package/dist/cose-bilkent-JH36ORCC-AyWV1dUo.cjs +1 -0
  80. package/dist/cose-bilkent-JH36ORCC-BFo5zomD.js +2251 -0
  81. package/dist/cpp-BUtp-HE2.cjs +1 -0
  82. package/dist/cpp-CeyO6lBG.js +225 -0
  83. package/dist/csharp-BJu4kEpt.cjs +1 -0
  84. package/dist/csharp-Ck6Fet_o.js +260 -0
  85. package/dist/css-ClSGJRju.js +140 -0
  86. package/dist/css-DeFr0lev.cjs +1 -0
  87. package/dist/cynefin-VYW2F7L2-DHhUPDgc.cjs +1 -0
  88. package/dist/cynefin-VYW2F7L2-DwiVqvhg.js +3 -0
  89. package/dist/cynefinDiagram-TSTJHNR4-BRUl09PN.js +349 -0
  90. package/dist/cynefinDiagram-TSTJHNR4-rKPqxFde.cjs +62 -0
  91. package/dist/cytoscape.esm-ByjvpCPI.cjs +321 -0
  92. package/dist/cytoscape.esm-asYnbYTy.js +18148 -0
  93. package/dist/dagre-BBlCxSvR.cjs +1 -0
  94. package/dist/dagre-BpqwxFKp.js +1701 -0
  95. package/dist/dagre-VKFMJZFB-BsfMZfPu.cjs +4 -0
  96. package/dist/dagre-VKFMJZFB-ChTkS14y.js +328 -0
  97. package/dist/defaultLocale-u9yUoUmE.cjs +1 -0
  98. package/dist/defaultLocale-up9-vqhM.js +201 -0
  99. package/dist/diagram-FQU43EPY-BnAYoLDy.js +432 -0
  100. package/dist/diagram-FQU43EPY-CdbwLZpm.cjs +3 -0
  101. package/dist/diagram-G47NLZAW-C1ZiELQG.js +525 -0
  102. package/dist/diagram-G47NLZAW-CtWKuxkf.cjs +24 -0
  103. package/dist/diagram-NH7WQ7WH-Be0KXo6w.js +134 -0
  104. package/dist/diagram-NH7WQ7WH-CG6VWVza.cjs +24 -0
  105. package/dist/diagram-OA4YK3LP-B7avlqjG.js +300 -0
  106. package/dist/diagram-OA4YK3LP-Drq_GA6o.cjs +30 -0
  107. package/dist/diagram-WEI45ONY-CoPX6-sx.js +214 -0
  108. package/dist/diagram-WEI45ONY-SJmgVL59.cjs +41 -0
  109. package/dist/dist-D6LMt8nW.js +59 -0
  110. package/dist/dist-DNGlMOWd.cjs +1 -0
  111. package/dist/dockerfile-O4rAswfG.js +34 -0
  112. package/dist/dockerfile-YBgAWga3.cjs +1 -0
  113. package/dist/ebnfDiagram-CCIWWBDH-B-T4_JnX.js +100 -0
  114. package/dist/ebnfDiagram-CCIWWBDH-BY7L3HVQ.cjs +1 -0
  115. package/dist/erDiagram-Q63AITRT-DPgZpeaH.js +1727 -0
  116. package/dist/erDiagram-Q63AITRT-w4C1PxYd.cjs +85 -0
  117. package/dist/eventmodeling-45OFAUF4-COTtdYDJ.js +3 -0
  118. package/dist/eventmodeling-45OFAUF4-CPEyr9kU.cjs +1 -0
  119. package/dist/flowDiagram-23GEKE2U-CQxPdUX4.cjs +1 -0
  120. package/dist/flowDiagram-23GEKE2U-ClCSBl2p.js +17 -0
  121. package/dist/ganttDiagram-NO4QXBWP-BcBp028S.cjs +292 -0
  122. package/dist/ganttDiagram-NO4QXBWP-Cf12fLfa.js +3083 -0
  123. package/dist/gitGraph-TEB2WS4Q-C3qBT0GM.js +3 -0
  124. package/dist/gitGraph-TEB2WS4Q-a8KsoPmR.cjs +1 -0
  125. package/dist/gitGraphDiagram-IHSO6WYX-13ahKewT.js +729 -0
  126. package/dist/gitGraphDiagram-IHSO6WYX-BTtNkGkN.cjs +106 -0
  127. package/dist/go-D-pz-dmd.cjs +1 -0
  128. package/dist/go-rg7jg1mu.js +140 -0
  129. package/dist/graphlib-B0GbLif1.js +1267 -0
  130. package/dist/graphlib-CkkG5MuS.cjs +1 -0
  131. package/dist/info-DKCQHKI2-BEYhR6ip.cjs +1 -0
  132. package/dist/info-DKCQHKI2-BPF6-pOb.js +3 -0
  133. package/dist/infoDiagram-FWYZ7A6U-20rh0VNL.cjs +2 -0
  134. package/dist/infoDiagram-FWYZ7A6U-DcV-eSsb.js +20 -0
  135. package/dist/ini-C1q3_1-Q.js +88 -0
  136. package/dist/ini-nVcUEghj.cjs +1 -0
  137. package/dist/init-07zIhv_j.cjs +1 -0
  138. package/dist/init-CirqLVcp.js +15 -0
  139. package/dist/ishikawaDiagram-FXEZZL3T-BTaBCHIG.js +719 -0
  140. package/dist/ishikawaDiagram-FXEZZL3T-BUq5kcFI.cjs +70 -0
  141. package/dist/java-CUN_usaq.cjs +1 -0
  142. package/dist/java-HguKEfA2.js +169 -0
  143. package/dist/javascript-C8NCH8DE.js +436 -0
  144. package/dist/javascript-UZXSyUuu.cjs +1 -0
  145. package/dist/journeyDiagram-5HDEW3XC-Cl9Z4b58.js +884 -0
  146. package/dist/journeyDiagram-5HDEW3XC-XQa-rhY_.cjs +139 -0
  147. package/dist/json-Cp01TR_B.js +36 -0
  148. package/dist/json-usH_MUzR.cjs +1 -0
  149. package/dist/kanban-definition-HUTT4EX6-CtWnZ0nS.js +975 -0
  150. package/dist/kanban-definition-HUTT4EX6-DVHXUPOt.cjs +89 -0
  151. package/dist/line-Ca8dE_lT.cjs +1 -0
  152. package/dist/line-O2xx2vVQ.js +34 -0
  153. package/dist/linear-CVhyaVzf.js +289 -0
  154. package/dist/linear-Cl2-QuPP.cjs +1 -0
  155. package/dist/map-CwPlMWPw.cjs +1 -0
  156. package/dist/map-DU12fF3s.js +241 -0
  157. package/dist/markdown-CzgRofaE.js +181 -0
  158. package/dist/markdown-qeo95R0i.cjs +1 -0
  159. package/dist/mermaid-parser.core-B8DQcCaz.js +638 -0
  160. package/dist/mermaid-parser.core-Cgsz0CdK.cjs +6 -0
  161. package/dist/mermaid.core-BR-iKb2Q.js +1064 -0
  162. package/dist/mermaid.core-DQrbAA--.cjs +10 -0
  163. package/dist/mindmap-definition-LN4V7U3C-C0I9iWmq.cjs +96 -0
  164. package/dist/mindmap-definition-LN4V7U3C-lkSmRsIC.js +1008 -0
  165. package/dist/mount.d.ts +31 -0
  166. package/dist/ordinal-CCTD6_le.js +65 -0
  167. package/dist/ordinal-CUPR-p0T.cjs +1 -0
  168. package/dist/packet-7NZHBO7P-DqvBYJTR.js +3 -0
  169. package/dist/packet-7NZHBO7P-Dz0O2bgq.cjs +1 -0
  170. package/dist/path-Kklx0M1v.cjs +1 -0
  171. package/dist/path-mKa7UESy.js +85 -0
  172. package/dist/pegDiagram-2B236MQR-BgRCQTZd.js +94 -0
  173. package/dist/pegDiagram-2B236MQR-hlmRl_PA.cjs +1 -0
  174. package/dist/php-C9FOMGEA.js +294 -0
  175. package/dist/php-j6EhDZDE.cjs +2 -0
  176. package/dist/pi-outpost-embed.cjs +305 -0
  177. package/dist/pi-outpost-embed.js +40942 -0
  178. package/dist/pie-RZYD4A2V-Hi9UdoE3.cjs +1 -0
  179. package/dist/pie-RZYD4A2V-qnruo9sH.js +3 -0
  180. package/dist/pieDiagram-ENE6RG2P-BVi7ck2I.js +205 -0
  181. package/dist/pieDiagram-ENE6RG2P-Buuvrs-h.cjs +39 -0
  182. package/dist/plaintext-BYYAHR3Z.js +10 -0
  183. package/dist/plaintext-DmnjizxG.cjs +1 -0
  184. package/dist/python-BYJzTRkK.cjs +1 -0
  185. package/dist/python-DKAazMIE.js +238 -0
  186. package/dist/quadrantDiagram-ABIIQ3AL-DeU97c2B.js +2001 -0
  187. package/dist/quadrantDiagram-ABIIQ3AL-LCbC0LEt.cjs +7 -0
  188. package/dist/radar-I7S5WNFK-Dqdssa34.cjs +1 -0
  189. package/dist/radar-I7S5WNFK-np_pJCO-.js +3 -0
  190. package/dist/railroad-3IZDKUUU-NILjDQft.cjs +1 -0
  191. package/dist/railroad-3IZDKUUU-sjKBeXxB.js +3 -0
  192. package/dist/railroad-abnf-AHOZXSZD-BojH9sxV.cjs +1 -0
  193. package/dist/railroad-abnf-AHOZXSZD-x5cC_e_R.js +3 -0
  194. package/dist/railroad-ebnf-EBAXGLYW-2mlWpz38.js +3 -0
  195. package/dist/railroad-ebnf-EBAXGLYW-BKCSut1M.cjs +1 -0
  196. package/dist/railroad-peg-LSFZ7HO6-CsH-gnsp.cjs +1 -0
  197. package/dist/railroad-peg-LSFZ7HO6-D5vguo03.js +3 -0
  198. package/dist/railroadDiagram-RFXS5EU6-CMTDNjsw.cjs +1 -0
  199. package/dist/railroadDiagram-RFXS5EU6-DNSNpLmQ.js +76 -0
  200. package/dist/requirementDiagram-TGXJPOKE-CdspXMgv.js +2223 -0
  201. package/dist/requirementDiagram-TGXJPOKE-irImpO8w.cjs +84 -0
  202. package/dist/rolldown-runtime-Dqa2HsxW.js +20 -0
  203. package/dist/rolldown-runtime-mLOUI7ql.cjs +1 -0
  204. package/dist/rough.esm-C5XyeDCN.js +1352 -0
  205. package/dist/rough.esm-r0QOSzHM.cjs +1 -0
  206. package/dist/ruby-BAUeZQKZ.js +262 -0
  207. package/dist/ruby-ClR4zp-1.cjs +1 -0
  208. package/dist/rust-DiTjMjP5.js +169 -0
  209. package/dist/rust-ghVvEWhm.cjs +1 -0
  210. package/dist/sankeyDiagram-HTMAVEWB-B0ZJBVpN.cjs +40 -0
  211. package/dist/sankeyDiagram-HTMAVEWB-BQcvUCMA.js +970 -0
  212. package/dist/scss-CKxh5HRg.cjs +1 -0
  213. package/dist/scss-CckAvQOx.js +150 -0
  214. package/dist/sequenceDiagram-DBY2YBRQ-BQFP2DGs.js +4168 -0
  215. package/dist/sequenceDiagram-DBY2YBRQ-C5WukkcA.cjs +162 -0
  216. package/dist/sizeCapture-X5ZJPWSS-DKbHZNyz.js +46 -0
  217. package/dist/sizeCapture-X5ZJPWSS-bJ2ZX4Du.cjs +1 -0
  218. package/dist/sql-B-Rnc2C3.js +118 -0
  219. package/dist/sql-B7syKcd8.cjs +1 -0
  220. package/dist/src-CR--T_NF.cjs +1 -0
  221. package/dist/src-DJ4x3y2O.js +2142 -0
  222. package/dist/stateDiagram-2N3HPSRC-4aBQt5dk.js +220 -0
  223. package/dist/stateDiagram-2N3HPSRC-YbRd67eD.cjs +1 -0
  224. package/dist/stateDiagram-v2-6OUMAXLB-D-c6D5za.js +30 -0
  225. package/dist/stateDiagram-v2-6OUMAXLB-ciXN_270.cjs +1 -0
  226. package/dist/swimlanes-5IMT3BWC-C8zkS7yx.cjs +1 -0
  227. package/dist/swimlanes-5IMT3BWC-aKH3Xgob.js +5066 -0
  228. package/dist/swimlanesDiagram-G3AALYLV-BcgsG1in.js +31 -0
  229. package/dist/swimlanesDiagram-G3AALYLV-CBjVJdH0.cjs +8 -0
  230. package/dist/timeline-definition-FHXFAJF6-DS-X0FCl.cjs +120 -0
  231. package/dist/timeline-definition-FHXFAJF6-Lnag6wiw.js +1069 -0
  232. package/dist/treeView-QDETBFTQ-Cpg_YeQ4.cjs +1 -0
  233. package/dist/treeView-QDETBFTQ-DdpEhzZX.js +3 -0
  234. package/dist/treemap-6X3UGDF4-BeCuRpkA.js +3 -0
  235. package/dist/treemap-6X3UGDF4-CFAmnKaf.cjs +1 -0
  236. package/dist/typescript-clWeqIBY.cjs +1 -0
  237. package/dist/typescript-mdYq8uqf.js +521 -0
  238. package/dist/vennDiagram-L72KCM5P-CF7lC7jn.js +1880 -0
  239. package/dist/vennDiagram-L72KCM5P-DYZP8jT_.cjs +34 -0
  240. package/dist/wardley-OPB4EBWU-B0jnKd8x.cjs +1 -0
  241. package/dist/wardley-OPB4EBWU-DlIk2K0J.js +3 -0
  242. package/dist/wardleyDiagram-EHGQE667-CbtWlMOa.js +645 -0
  243. package/dist/wardleyDiagram-EHGQE667-Dxewrpeh.cjs +78 -0
  244. package/dist/xml-BamqaQOf.cjs +1 -0
  245. package/dist/xml-DVYfB8uY.js +166 -0
  246. package/dist/xychartDiagram-FW5EYKEG-BAnVfMdN.cjs +7 -0
  247. package/dist/xychartDiagram-FW5EYKEG-DmdGPSi6.js +2102 -0
  248. package/dist/yaml-_1BORZTQ.js +144 -0
  249. package/dist/yaml-bAgWofBg.cjs +1 -0
  250. package/package.json +72 -0
@@ -0,0 +1,3357 @@
1
+ import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
2
+ import { m as t, p as n } from "./src-DJ4x3y2O.js";
3
+ import { $ as r, H as i, K as a, M as o, U as s, a as c, s as l, v as u, w as d, x as f, y as p, z as m } from "./chunk-WYO6CB5R-Y9HJHB3Q.js";
4
+ import { c as h, g } from "./chunk-ICXQ74PX-CC59NQmW.js";
5
+ import { t as _ } from "./chunk-5VM5RSS4-BMfgdMFU.js";
6
+ import { t as v } from "./chunk-32BRIVSS-Byu3FrKX.js";
7
+ import { t as y } from "./chunk-XXDRQBXY-DsVp5qjg.js";
8
+ import { t as b } from "./chunk-VR4S4FIN-Ci491c8N.js";
9
+ import { r as x, t as S } from "./chunk-FWX5IMBZ-h3GfgkP2.js";
10
+ //#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-V7JOEXUC.mjs
11
+ var C = (function() {
12
+ var t = /* @__PURE__ */ e(function(e, t, n, r) {
13
+ for (n ||= {}, r = e.length; r--; n[e[r]] = t);
14
+ return n;
15
+ }, "o"), n = [1, 18], r = [1, 19], i = [1, 20], a = [1, 41], o = [1, 26], s = [1, 42], c = [1, 24], l = [1, 25], u = [1, 32], d = [1, 33], f = [1, 34], p = [1, 45], m = [1, 35], h = [1, 36], g = [1, 37], _ = [1, 38], v = [1, 27], y = [1, 28], b = [1, 29], x = [1, 30], S = [1, 31], C = [1, 44], w = [1, 46], T = [1, 43], E = [1, 47], D = [1, 9], O = [
16
+ 1,
17
+ 8,
18
+ 9
19
+ ], k = [1, 58], A = [1, 59], j = [1, 60], M = [1, 61], N = [1, 62], P = [1, 63], ee = [1, 64], F = [
20
+ 1,
21
+ 8,
22
+ 9,
23
+ 41
24
+ ], te = [1, 77], I = [
25
+ 1,
26
+ 8,
27
+ 9,
28
+ 12,
29
+ 13,
30
+ 22,
31
+ 39,
32
+ 41,
33
+ 44,
34
+ 46,
35
+ 68,
36
+ 69,
37
+ 70,
38
+ 71,
39
+ 72,
40
+ 73,
41
+ 74,
42
+ 79,
43
+ 81
44
+ ], L = [
45
+ 1,
46
+ 8,
47
+ 9,
48
+ 12,
49
+ 13,
50
+ 18,
51
+ 20,
52
+ 22,
53
+ 39,
54
+ 41,
55
+ 44,
56
+ 46,
57
+ 47,
58
+ 60,
59
+ 68,
60
+ 69,
61
+ 70,
62
+ 71,
63
+ 72,
64
+ 73,
65
+ 74,
66
+ 79,
67
+ 81,
68
+ 86,
69
+ 100,
70
+ 102,
71
+ 103
72
+ ], R = [
73
+ 13,
74
+ 60,
75
+ 86,
76
+ 100,
77
+ 102,
78
+ 103
79
+ ], z = [
80
+ 13,
81
+ 60,
82
+ 73,
83
+ 74,
84
+ 86,
85
+ 100,
86
+ 102,
87
+ 103
88
+ ], ne = [
89
+ 13,
90
+ 60,
91
+ 68,
92
+ 69,
93
+ 70,
94
+ 71,
95
+ 72,
96
+ 86,
97
+ 100,
98
+ 102,
99
+ 103
100
+ ], B = [1, 103], V = [1, 121], H = [1, 117], U = [1, 113], W = [1, 119], G = [1, 114], K = [1, 115], q = [1, 116], J = [1, 118], Y = [1, 120], re = [
101
+ 22,
102
+ 50,
103
+ 60,
104
+ 61,
105
+ 82,
106
+ 86,
107
+ 87,
108
+ 88,
109
+ 89,
110
+ 90
111
+ ], ie = [1, 128], X = [12, 39], ae = [
112
+ 1,
113
+ 8,
114
+ 9,
115
+ 39,
116
+ 41,
117
+ 44,
118
+ 46
119
+ ], Z = [
120
+ 1,
121
+ 8,
122
+ 9,
123
+ 22
124
+ ], oe = [1, 153], se = [
125
+ 1,
126
+ 8,
127
+ 9,
128
+ 61
129
+ ], Q = [
130
+ 1,
131
+ 8,
132
+ 9,
133
+ 22,
134
+ 50,
135
+ 60,
136
+ 61,
137
+ 82,
138
+ 86,
139
+ 87,
140
+ 88,
141
+ 89,
142
+ 90
143
+ ], ce = {
144
+ trace: /* @__PURE__ */ e(function() {}, "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__ */ e(function(e, t, n, r, i, a, o) {
461
+ var s = a.length - 1;
462
+ switch (i) {
463
+ case 8:
464
+ this.$ = a[s - 1];
465
+ break;
466
+ case 9:
467
+ case 10:
468
+ case 13:
469
+ case 15:
470
+ this.$ = a[s];
471
+ break;
472
+ case 11:
473
+ case 14:
474
+ this.$ = a[s - 2] + "." + a[s];
475
+ break;
476
+ case 12:
477
+ case 16:
478
+ this.$ = a[s - 1] + a[s];
479
+ break;
480
+ case 17:
481
+ case 18:
482
+ this.$ = a[s - 1] + "~" + a[s] + "~";
483
+ break;
484
+ case 19:
485
+ r.addRelation(a[s]);
486
+ break;
487
+ case 20:
488
+ a[s - 1].title = r.cleanupLabel(a[s]), r.addRelation(a[s - 1]);
489
+ break;
490
+ case 31:
491
+ this.$ = a[s].trim(), r.setAccTitle(this.$);
492
+ break;
493
+ case 32:
494
+ case 33:
495
+ this.$ = a[s].trim(), r.setAccDescription(this.$);
496
+ break;
497
+ case 34:
498
+ r.addClassesToNamespace(a[s - 3], a[s - 1][0], a[s - 1][1]), r.popNamespace();
499
+ break;
500
+ case 35:
501
+ r.addClassesToNamespace(a[s - 4], a[s - 1][0], a[s - 1][1]), r.popNamespace();
502
+ break;
503
+ case 36:
504
+ this.$ = r.addNamespace(a[s]);
505
+ break;
506
+ case 37:
507
+ this.$ = r.addNamespace(a[s - 1], a[s]);
508
+ break;
509
+ case 38:
510
+ this.$ = [[a[s]], []];
511
+ break;
512
+ case 39:
513
+ this.$ = [[a[s - 1]], []];
514
+ break;
515
+ case 40:
516
+ a[s][0].unshift(a[s - 2]), this.$ = a[s];
517
+ break;
518
+ case 41:
519
+ this.$ = [[], [a[s]]];
520
+ break;
521
+ case 42:
522
+ this.$ = [[], [a[s - 1]]];
523
+ break;
524
+ case 43:
525
+ a[s][1].unshift(a[s - 2]), this.$ = a[s];
526
+ break;
527
+ case 44:
528
+ case 45:
529
+ this.$ = [[], []];
530
+ break;
531
+ case 46:
532
+ this.$ = a[s];
533
+ break;
534
+ case 48:
535
+ r.setCssClass(a[s - 2], a[s]);
536
+ break;
537
+ case 49:
538
+ r.addMembers(a[s - 3], a[s - 1]);
539
+ break;
540
+ case 51:
541
+ r.setCssClass(a[s - 5], a[s - 3]), r.addMembers(a[s - 5], a[s - 1]);
542
+ break;
543
+ case 52:
544
+ r.addAnnotation(a[s - 3], a[s - 1]);
545
+ break;
546
+ case 53:
547
+ r.addAnnotation(a[s - 6], a[s - 4]), r.addMembers(a[s - 6], a[s - 1]);
548
+ break;
549
+ case 54:
550
+ r.addAnnotation(a[s - 5], a[s - 3]);
551
+ break;
552
+ case 55:
553
+ this.$ = a[s], r.addClass(a[s]);
554
+ break;
555
+ case 56:
556
+ this.$ = a[s - 1], r.addClass(a[s - 1]), r.setClassLabel(a[s - 1], a[s]);
557
+ break;
558
+ case 60:
559
+ r.addAnnotation(a[s], a[s - 2]);
560
+ break;
561
+ case 61:
562
+ case 74:
563
+ this.$ = [a[s]];
564
+ break;
565
+ case 62:
566
+ a[s].push(a[s - 1]), this.$ = a[s];
567
+ break;
568
+ case 63: break;
569
+ case 64:
570
+ r.addMember(a[s - 1], r.cleanupLabel(a[s]));
571
+ break;
572
+ case 65: break;
573
+ case 66: break;
574
+ case 67:
575
+ this.$ = {
576
+ id1: a[s - 2],
577
+ id2: a[s],
578
+ relation: a[s - 1],
579
+ relationTitle1: "none",
580
+ relationTitle2: "none"
581
+ };
582
+ break;
583
+ case 68:
584
+ this.$ = {
585
+ id1: a[s - 3],
586
+ id2: a[s],
587
+ relation: a[s - 1],
588
+ relationTitle1: a[s - 2],
589
+ relationTitle2: "none"
590
+ };
591
+ break;
592
+ case 69:
593
+ this.$ = {
594
+ id1: a[s - 3],
595
+ id2: a[s],
596
+ relation: a[s - 2],
597
+ relationTitle1: "none",
598
+ relationTitle2: a[s - 1]
599
+ };
600
+ break;
601
+ case 70:
602
+ this.$ = {
603
+ id1: a[s - 4],
604
+ id2: a[s],
605
+ relation: a[s - 2],
606
+ relationTitle1: a[s - 3],
607
+ relationTitle2: a[s - 1]
608
+ };
609
+ break;
610
+ case 71:
611
+ this.$ = r.addNote(a[s], a[s - 1]);
612
+ break;
613
+ case 72:
614
+ this.$ = r.addNote(a[s]);
615
+ break;
616
+ case 73:
617
+ this.$ = a[s - 2], r.defineClass(a[s - 1], a[s]);
618
+ break;
619
+ case 75:
620
+ this.$ = a[s - 2].concat([a[s]]);
621
+ break;
622
+ case 76:
623
+ r.setDirection("TB");
624
+ break;
625
+ case 77:
626
+ r.setDirection("BT");
627
+ break;
628
+ case 78:
629
+ r.setDirection("RL");
630
+ break;
631
+ case 79:
632
+ r.setDirection("LR");
633
+ break;
634
+ case 80:
635
+ this.$ = {
636
+ type1: a[s - 2],
637
+ type2: a[s],
638
+ lineType: a[s - 1]
639
+ };
640
+ break;
641
+ case 81:
642
+ this.$ = {
643
+ type1: "none",
644
+ type2: a[s],
645
+ lineType: a[s - 1]
646
+ };
647
+ break;
648
+ case 82:
649
+ this.$ = {
650
+ type1: a[s - 1],
651
+ type2: "none",
652
+ lineType: a[s]
653
+ };
654
+ break;
655
+ case 83:
656
+ this.$ = {
657
+ type1: "none",
658
+ type2: "none",
659
+ lineType: a[s]
660
+ };
661
+ break;
662
+ case 84:
663
+ this.$ = r.relationType.AGGREGATION;
664
+ break;
665
+ case 85:
666
+ this.$ = r.relationType.EXTENSION;
667
+ break;
668
+ case 86:
669
+ this.$ = r.relationType.COMPOSITION;
670
+ break;
671
+ case 87:
672
+ this.$ = r.relationType.DEPENDENCY;
673
+ break;
674
+ case 88:
675
+ this.$ = r.relationType.LOLLIPOP;
676
+ break;
677
+ case 89:
678
+ this.$ = r.lineType.LINE;
679
+ break;
680
+ case 90:
681
+ this.$ = r.lineType.DOTTED_LINE;
682
+ break;
683
+ case 91:
684
+ case 97:
685
+ this.$ = a[s - 2], r.setClickEvent(a[s - 1], a[s]);
686
+ break;
687
+ case 92:
688
+ case 98:
689
+ this.$ = a[s - 3], r.setClickEvent(a[s - 2], a[s - 1]), r.setTooltip(a[s - 2], a[s]);
690
+ break;
691
+ case 93:
692
+ this.$ = a[s - 2], r.setLink(a[s - 1], a[s]);
693
+ break;
694
+ case 94:
695
+ this.$ = a[s - 3], r.setLink(a[s - 2], a[s - 1], a[s]);
696
+ break;
697
+ case 95:
698
+ this.$ = a[s - 3], r.setLink(a[s - 2], a[s - 1]), r.setTooltip(a[s - 2], a[s]);
699
+ break;
700
+ case 96:
701
+ this.$ = a[s - 4], r.setLink(a[s - 3], a[s - 2], a[s]), r.setTooltip(a[s - 3], a[s - 1]);
702
+ break;
703
+ case 99:
704
+ this.$ = a[s - 3], r.setClickEvent(a[s - 2], a[s - 1], a[s]);
705
+ break;
706
+ case 100:
707
+ this.$ = a[s - 4], r.setClickEvent(a[s - 3], a[s - 2], a[s - 1]), r.setTooltip(a[s - 3], a[s]);
708
+ break;
709
+ case 101:
710
+ this.$ = a[s - 3], r.setLink(a[s - 2], a[s]);
711
+ break;
712
+ case 102:
713
+ this.$ = a[s - 4], r.setLink(a[s - 3], a[s - 1], a[s]);
714
+ break;
715
+ case 103:
716
+ this.$ = a[s - 4], r.setLink(a[s - 3], a[s - 1]), r.setTooltip(a[s - 3], a[s]);
717
+ break;
718
+ case 104:
719
+ this.$ = a[s - 5], r.setLink(a[s - 4], a[s - 2], a[s]), r.setTooltip(a[s - 4], a[s - 1]);
720
+ break;
721
+ case 105:
722
+ this.$ = a[s - 2], r.setCssStyle(a[s - 1], a[s]);
723
+ break;
724
+ case 106:
725
+ r.setCssClass(a[s - 1], a[s]);
726
+ break;
727
+ case 107:
728
+ this.$ = [a[s]];
729
+ break;
730
+ case 108:
731
+ a[s - 2].push(a[s]), this.$ = a[s - 2];
732
+ break;
733
+ case 110:
734
+ this.$ = a[s - 1] + a[s];
735
+ break;
736
+ }
737
+ }, "anonymous"),
738
+ table: [
739
+ {
740
+ 3: 1,
741
+ 4: 2,
742
+ 5: 3,
743
+ 6: 4,
744
+ 7: [1, 6],
745
+ 10: 5,
746
+ 16: 39,
747
+ 17: 40,
748
+ 19: 21,
749
+ 21: 7,
750
+ 23: 8,
751
+ 24: 9,
752
+ 25: 10,
753
+ 26: 11,
754
+ 27: 12,
755
+ 28: 13,
756
+ 29: 14,
757
+ 30: 15,
758
+ 31: 16,
759
+ 32: 17,
760
+ 33: n,
761
+ 35: r,
762
+ 37: i,
763
+ 38: 22,
764
+ 42: a,
765
+ 43: 23,
766
+ 46: o,
767
+ 48: s,
768
+ 51: c,
769
+ 52: l,
770
+ 54: u,
771
+ 56: d,
772
+ 57: f,
773
+ 60: p,
774
+ 62: m,
775
+ 63: h,
776
+ 64: g,
777
+ 65: _,
778
+ 75: v,
779
+ 76: y,
780
+ 78: b,
781
+ 82: x,
782
+ 83: S,
783
+ 86: C,
784
+ 100: w,
785
+ 102: T,
786
+ 103: E
787
+ },
788
+ { 1: [3] },
789
+ { 1: [2, 1] },
790
+ { 1: [2, 2] },
791
+ { 1: [2, 3] },
792
+ t(D, [2, 5], { 8: [1, 48] }),
793
+ { 8: [1, 49] },
794
+ t(O, [2, 19], { 22: [1, 50] }),
795
+ t(O, [2, 21]),
796
+ t(O, [2, 22]),
797
+ t(O, [2, 23]),
798
+ t(O, [2, 24]),
799
+ t(O, [2, 25]),
800
+ t(O, [2, 26]),
801
+ t(O, [2, 27]),
802
+ t(O, [2, 28]),
803
+ t(O, [2, 29]),
804
+ t(O, [2, 30]),
805
+ { 34: [1, 51] },
806
+ { 36: [1, 52] },
807
+ t(O, [2, 33]),
808
+ t(O, [2, 63], {
809
+ 53: 53,
810
+ 66: 56,
811
+ 67: 57,
812
+ 13: [1, 54],
813
+ 22: [1, 55],
814
+ 68: k,
815
+ 69: A,
816
+ 70: j,
817
+ 71: M,
818
+ 72: N,
819
+ 73: P,
820
+ 74: ee
821
+ }),
822
+ { 39: [1, 65] },
823
+ t(F, [2, 47], {
824
+ 39: [1, 67],
825
+ 44: [1, 66],
826
+ 46: [1, 68]
827
+ }),
828
+ t(O, [2, 65]),
829
+ t(O, [2, 66]),
830
+ {
831
+ 16: 69,
832
+ 60: p,
833
+ 86: C,
834
+ 100: w,
835
+ 102: T
836
+ },
837
+ {
838
+ 16: 39,
839
+ 17: 40,
840
+ 19: 70,
841
+ 60: p,
842
+ 86: C,
843
+ 100: w,
844
+ 102: T,
845
+ 103: E
846
+ },
847
+ {
848
+ 16: 39,
849
+ 17: 40,
850
+ 19: 71,
851
+ 60: p,
852
+ 86: C,
853
+ 100: w,
854
+ 102: T,
855
+ 103: E
856
+ },
857
+ {
858
+ 16: 39,
859
+ 17: 40,
860
+ 19: 72,
861
+ 60: p,
862
+ 86: C,
863
+ 100: w,
864
+ 102: T,
865
+ 103: E
866
+ },
867
+ { 60: [1, 73] },
868
+ { 13: [1, 74] },
869
+ {
870
+ 16: 39,
871
+ 17: 40,
872
+ 19: 75,
873
+ 60: p,
874
+ 86: C,
875
+ 100: w,
876
+ 102: T,
877
+ 103: E
878
+ },
879
+ {
880
+ 13: te,
881
+ 55: 76
882
+ },
883
+ {
884
+ 58: 78,
885
+ 60: [1, 79]
886
+ },
887
+ t(O, [2, 76]),
888
+ t(O, [2, 77]),
889
+ t(O, [2, 78]),
890
+ t(O, [2, 79]),
891
+ t(I, [2, 13], {
892
+ 16: 39,
893
+ 17: 40,
894
+ 19: 81,
895
+ 18: [1, 80],
896
+ 20: [1, 82],
897
+ 60: p,
898
+ 86: C,
899
+ 100: w,
900
+ 102: T,
901
+ 103: E
902
+ }),
903
+ t(I, [2, 15], { 20: [1, 83] }),
904
+ {
905
+ 15: 84,
906
+ 16: 85,
907
+ 17: 86,
908
+ 60: p,
909
+ 86: C,
910
+ 100: w,
911
+ 102: T,
912
+ 103: E
913
+ },
914
+ {
915
+ 16: 39,
916
+ 17: 40,
917
+ 19: 87,
918
+ 60: p,
919
+ 86: C,
920
+ 100: w,
921
+ 102: T,
922
+ 103: E
923
+ },
924
+ t(L, [2, 133]),
925
+ t(L, [2, 134]),
926
+ t(L, [2, 135]),
927
+ t(L, [2, 136]),
928
+ t([
929
+ 1,
930
+ 8,
931
+ 9,
932
+ 12,
933
+ 13,
934
+ 20,
935
+ 22,
936
+ 39,
937
+ 41,
938
+ 44,
939
+ 46,
940
+ 68,
941
+ 69,
942
+ 70,
943
+ 71,
944
+ 72,
945
+ 73,
946
+ 74,
947
+ 79,
948
+ 81
949
+ ], [2, 137]),
950
+ t(D, [2, 6], {
951
+ 10: 5,
952
+ 21: 7,
953
+ 23: 8,
954
+ 24: 9,
955
+ 25: 10,
956
+ 26: 11,
957
+ 27: 12,
958
+ 28: 13,
959
+ 29: 14,
960
+ 30: 15,
961
+ 31: 16,
962
+ 32: 17,
963
+ 19: 21,
964
+ 38: 22,
965
+ 43: 23,
966
+ 16: 39,
967
+ 17: 40,
968
+ 5: 88,
969
+ 33: n,
970
+ 35: r,
971
+ 37: i,
972
+ 42: a,
973
+ 46: o,
974
+ 48: s,
975
+ 51: c,
976
+ 52: l,
977
+ 54: u,
978
+ 56: d,
979
+ 57: f,
980
+ 60: p,
981
+ 62: m,
982
+ 63: h,
983
+ 64: g,
984
+ 65: _,
985
+ 75: v,
986
+ 76: y,
987
+ 78: b,
988
+ 82: x,
989
+ 83: S,
990
+ 86: C,
991
+ 100: w,
992
+ 102: T,
993
+ 103: E
994
+ }),
995
+ {
996
+ 5: 89,
997
+ 10: 5,
998
+ 16: 39,
999
+ 17: 40,
1000
+ 19: 21,
1001
+ 21: 7,
1002
+ 23: 8,
1003
+ 24: 9,
1004
+ 25: 10,
1005
+ 26: 11,
1006
+ 27: 12,
1007
+ 28: 13,
1008
+ 29: 14,
1009
+ 30: 15,
1010
+ 31: 16,
1011
+ 32: 17,
1012
+ 33: n,
1013
+ 35: r,
1014
+ 37: i,
1015
+ 38: 22,
1016
+ 42: a,
1017
+ 43: 23,
1018
+ 46: o,
1019
+ 48: s,
1020
+ 51: c,
1021
+ 52: l,
1022
+ 54: u,
1023
+ 56: d,
1024
+ 57: f,
1025
+ 60: p,
1026
+ 62: m,
1027
+ 63: h,
1028
+ 64: g,
1029
+ 65: _,
1030
+ 75: v,
1031
+ 76: y,
1032
+ 78: b,
1033
+ 82: x,
1034
+ 83: S,
1035
+ 86: C,
1036
+ 100: w,
1037
+ 102: T,
1038
+ 103: E
1039
+ },
1040
+ t(O, [2, 20]),
1041
+ t(O, [2, 31]),
1042
+ t(O, [2, 32]),
1043
+ {
1044
+ 13: [1, 91],
1045
+ 16: 39,
1046
+ 17: 40,
1047
+ 19: 90,
1048
+ 60: p,
1049
+ 86: C,
1050
+ 100: w,
1051
+ 102: T,
1052
+ 103: E
1053
+ },
1054
+ {
1055
+ 53: 92,
1056
+ 66: 56,
1057
+ 67: 57,
1058
+ 68: k,
1059
+ 69: A,
1060
+ 70: j,
1061
+ 71: M,
1062
+ 72: N,
1063
+ 73: P,
1064
+ 74: ee
1065
+ },
1066
+ t(O, [2, 64]),
1067
+ {
1068
+ 67: 93,
1069
+ 73: P,
1070
+ 74: ee
1071
+ },
1072
+ t(R, [2, 83], {
1073
+ 66: 94,
1074
+ 68: k,
1075
+ 69: A,
1076
+ 70: j,
1077
+ 71: M,
1078
+ 72: N
1079
+ }),
1080
+ t(z, [2, 84]),
1081
+ t(z, [2, 85]),
1082
+ t(z, [2, 86]),
1083
+ t(z, [2, 87]),
1084
+ t(z, [2, 88]),
1085
+ t(ne, [2, 89]),
1086
+ t(ne, [2, 90]),
1087
+ {
1088
+ 8: [1, 96],
1089
+ 23: 99,
1090
+ 24: 97,
1091
+ 30: 98,
1092
+ 38: 22,
1093
+ 40: 95,
1094
+ 42: a,
1095
+ 43: 23,
1096
+ 48: s,
1097
+ 54: u,
1098
+ 56: d
1099
+ },
1100
+ {
1101
+ 16: 100,
1102
+ 60: p,
1103
+ 86: C,
1104
+ 100: w,
1105
+ 102: T
1106
+ },
1107
+ {
1108
+ 41: [1, 102],
1109
+ 45: 101,
1110
+ 51: B
1111
+ },
1112
+ {
1113
+ 16: 104,
1114
+ 60: p,
1115
+ 86: C,
1116
+ 100: w,
1117
+ 102: T
1118
+ },
1119
+ { 47: [1, 105] },
1120
+ { 13: [1, 106] },
1121
+ { 13: [1, 107] },
1122
+ {
1123
+ 79: [1, 108],
1124
+ 81: [1, 109]
1125
+ },
1126
+ {
1127
+ 22: V,
1128
+ 50: H,
1129
+ 59: 110,
1130
+ 60: U,
1131
+ 82: W,
1132
+ 84: 111,
1133
+ 85: 112,
1134
+ 86: G,
1135
+ 87: K,
1136
+ 88: q,
1137
+ 89: J,
1138
+ 90: Y
1139
+ },
1140
+ { 60: [1, 122] },
1141
+ {
1142
+ 13: te,
1143
+ 55: 123
1144
+ },
1145
+ t(F, [2, 72]),
1146
+ t(F, [2, 138]),
1147
+ {
1148
+ 22: V,
1149
+ 50: H,
1150
+ 59: 124,
1151
+ 60: U,
1152
+ 61: [1, 125],
1153
+ 82: W,
1154
+ 84: 111,
1155
+ 85: 112,
1156
+ 86: G,
1157
+ 87: K,
1158
+ 88: q,
1159
+ 89: J,
1160
+ 90: Y
1161
+ },
1162
+ t(re, [2, 74]),
1163
+ {
1164
+ 16: 39,
1165
+ 17: 40,
1166
+ 19: 126,
1167
+ 60: p,
1168
+ 86: C,
1169
+ 100: w,
1170
+ 102: T,
1171
+ 103: E
1172
+ },
1173
+ t(I, [2, 16]),
1174
+ t(I, [2, 17]),
1175
+ t(I, [2, 18]),
1176
+ {
1177
+ 11: 127,
1178
+ 12: ie,
1179
+ 39: [2, 36]
1180
+ },
1181
+ t(X, [2, 9], {
1182
+ 16: 85,
1183
+ 17: 86,
1184
+ 15: 130,
1185
+ 18: [1, 129],
1186
+ 60: p,
1187
+ 86: C,
1188
+ 100: w,
1189
+ 102: T,
1190
+ 103: E
1191
+ }),
1192
+ t(X, [2, 10]),
1193
+ t(ae, [2, 55], {
1194
+ 11: 131,
1195
+ 12: ie
1196
+ }),
1197
+ t(D, [2, 7]),
1198
+ { 9: [1, 132] },
1199
+ t(Z, [2, 67]),
1200
+ {
1201
+ 16: 39,
1202
+ 17: 40,
1203
+ 19: 133,
1204
+ 60: p,
1205
+ 86: C,
1206
+ 100: w,
1207
+ 102: T,
1208
+ 103: E
1209
+ },
1210
+ {
1211
+ 13: [1, 135],
1212
+ 16: 39,
1213
+ 17: 40,
1214
+ 19: 134,
1215
+ 60: p,
1216
+ 86: C,
1217
+ 100: w,
1218
+ 102: T,
1219
+ 103: E
1220
+ },
1221
+ t(R, [2, 82], {
1222
+ 66: 136,
1223
+ 68: k,
1224
+ 69: A,
1225
+ 70: j,
1226
+ 71: M,
1227
+ 72: N
1228
+ }),
1229
+ t(R, [2, 81]),
1230
+ { 41: [1, 137] },
1231
+ {
1232
+ 23: 99,
1233
+ 24: 97,
1234
+ 30: 98,
1235
+ 38: 22,
1236
+ 40: 138,
1237
+ 42: a,
1238
+ 43: 23,
1239
+ 48: s,
1240
+ 54: u,
1241
+ 56: d
1242
+ },
1243
+ {
1244
+ 8: [1, 139],
1245
+ 41: [2, 38]
1246
+ },
1247
+ {
1248
+ 8: [1, 140],
1249
+ 41: [2, 41]
1250
+ },
1251
+ {
1252
+ 8: [1, 141],
1253
+ 41: [2, 44]
1254
+ },
1255
+ t(F, [2, 48], { 39: [1, 142] }),
1256
+ { 41: [1, 143] },
1257
+ t(F, [2, 50]),
1258
+ {
1259
+ 41: [2, 61],
1260
+ 45: 144,
1261
+ 51: B
1262
+ },
1263
+ { 47: [1, 145] },
1264
+ {
1265
+ 16: 39,
1266
+ 17: 40,
1267
+ 19: 146,
1268
+ 60: p,
1269
+ 86: C,
1270
+ 100: w,
1271
+ 102: T,
1272
+ 103: E
1273
+ },
1274
+ t(O, [2, 91], { 13: [1, 147] }),
1275
+ t(O, [2, 93], {
1276
+ 13: [1, 149],
1277
+ 77: [1, 148]
1278
+ }),
1279
+ t(O, [2, 97], {
1280
+ 13: [1, 150],
1281
+ 80: [1, 151]
1282
+ }),
1283
+ { 13: [1, 152] },
1284
+ t(O, [2, 105], { 61: oe }),
1285
+ t(se, [2, 107], {
1286
+ 85: 154,
1287
+ 22: V,
1288
+ 50: H,
1289
+ 60: U,
1290
+ 82: W,
1291
+ 86: G,
1292
+ 87: K,
1293
+ 88: q,
1294
+ 89: J,
1295
+ 90: Y
1296
+ }),
1297
+ t(Q, [2, 109]),
1298
+ t(Q, [2, 111]),
1299
+ t(Q, [2, 112]),
1300
+ t(Q, [2, 113]),
1301
+ t(Q, [2, 114]),
1302
+ t(Q, [2, 115]),
1303
+ t(Q, [2, 116]),
1304
+ t(Q, [2, 117]),
1305
+ t(Q, [2, 118]),
1306
+ t(Q, [2, 119]),
1307
+ t(O, [2, 106]),
1308
+ t(F, [2, 71]),
1309
+ t(O, [2, 73], { 61: oe }),
1310
+ { 60: [1, 155] },
1311
+ t(I, [2, 14]),
1312
+ { 39: [2, 37] },
1313
+ { 13: [1, 156] },
1314
+ {
1315
+ 15: 157,
1316
+ 16: 85,
1317
+ 17: 86,
1318
+ 60: p,
1319
+ 86: C,
1320
+ 100: w,
1321
+ 102: T,
1322
+ 103: E
1323
+ },
1324
+ t(X, [2, 12]),
1325
+ t(ae, [2, 56]),
1326
+ { 1: [2, 4] },
1327
+ t(Z, [2, 69]),
1328
+ t(Z, [2, 68]),
1329
+ {
1330
+ 16: 39,
1331
+ 17: 40,
1332
+ 19: 158,
1333
+ 60: p,
1334
+ 86: C,
1335
+ 100: w,
1336
+ 102: T,
1337
+ 103: E
1338
+ },
1339
+ t(R, [2, 80]),
1340
+ t(F, [2, 34]),
1341
+ { 41: [1, 159] },
1342
+ {
1343
+ 23: 99,
1344
+ 24: 97,
1345
+ 30: 98,
1346
+ 38: 22,
1347
+ 40: 160,
1348
+ 41: [2, 39],
1349
+ 42: a,
1350
+ 43: 23,
1351
+ 48: s,
1352
+ 54: u,
1353
+ 56: d
1354
+ },
1355
+ {
1356
+ 23: 99,
1357
+ 24: 97,
1358
+ 30: 98,
1359
+ 38: 22,
1360
+ 40: 161,
1361
+ 41: [2, 42],
1362
+ 42: a,
1363
+ 43: 23,
1364
+ 48: s,
1365
+ 54: u,
1366
+ 56: d
1367
+ },
1368
+ {
1369
+ 23: 99,
1370
+ 24: 97,
1371
+ 30: 98,
1372
+ 38: 22,
1373
+ 40: 162,
1374
+ 41: [2, 45],
1375
+ 42: a,
1376
+ 43: 23,
1377
+ 48: s,
1378
+ 54: u,
1379
+ 56: d
1380
+ },
1381
+ {
1382
+ 45: 163,
1383
+ 51: B
1384
+ },
1385
+ t(F, [2, 49]),
1386
+ { 41: [2, 62] },
1387
+ t(F, [2, 52], { 39: [1, 164] }),
1388
+ t(O, [2, 60]),
1389
+ t(O, [2, 92]),
1390
+ t(O, [2, 94]),
1391
+ t(O, [2, 95], { 77: [1, 165] }),
1392
+ t(O, [2, 98]),
1393
+ t(O, [2, 99], { 13: [1, 166] }),
1394
+ t(O, [2, 101], {
1395
+ 13: [1, 168],
1396
+ 77: [1, 167]
1397
+ }),
1398
+ {
1399
+ 22: V,
1400
+ 50: H,
1401
+ 60: U,
1402
+ 82: W,
1403
+ 84: 169,
1404
+ 85: 112,
1405
+ 86: G,
1406
+ 87: K,
1407
+ 88: q,
1408
+ 89: J,
1409
+ 90: Y
1410
+ },
1411
+ t(Q, [2, 110]),
1412
+ t(re, [2, 75]),
1413
+ { 14: [1, 170] },
1414
+ t(X, [2, 11]),
1415
+ t(Z, [2, 70]),
1416
+ t(F, [2, 35]),
1417
+ { 41: [2, 40] },
1418
+ { 41: [2, 43] },
1419
+ { 41: [2, 46] },
1420
+ { 41: [1, 171] },
1421
+ {
1422
+ 41: [1, 173],
1423
+ 45: 172,
1424
+ 51: B
1425
+ },
1426
+ t(O, [2, 96]),
1427
+ t(O, [2, 100]),
1428
+ t(O, [2, 102]),
1429
+ t(O, [2, 103], { 77: [1, 174] }),
1430
+ t(se, [2, 108], {
1431
+ 85: 154,
1432
+ 22: V,
1433
+ 50: H,
1434
+ 60: U,
1435
+ 82: W,
1436
+ 86: G,
1437
+ 87: K,
1438
+ 88: q,
1439
+ 89: J,
1440
+ 90: Y
1441
+ }),
1442
+ t(ae, [2, 8]),
1443
+ t(F, [2, 51]),
1444
+ { 41: [1, 175] },
1445
+ t(F, [2, 54]),
1446
+ t(O, [2, 104]),
1447
+ t(F, [2, 53])
1448
+ ],
1449
+ defaultActions: {
1450
+ 2: [2, 1],
1451
+ 3: [2, 2],
1452
+ 4: [2, 3],
1453
+ 127: [2, 37],
1454
+ 132: [2, 4],
1455
+ 144: [2, 62],
1456
+ 160: [2, 40],
1457
+ 161: [2, 43],
1458
+ 162: [2, 46]
1459
+ },
1460
+ parseError: /* @__PURE__ */ e(function(e, t) {
1461
+ if (t.recoverable) this.trace(e);
1462
+ else {
1463
+ var n = Error(e);
1464
+ throw n.hash = t, n;
1465
+ }
1466
+ }, "parseError"),
1467
+ parse: /* @__PURE__ */ e(function(t) {
1468
+ var n = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
1469
+ for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
1470
+ h.setInput(t, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
1471
+ var v = h.yylloc;
1472
+ o.push(v);
1473
+ var y = h.options && h.options.ranges;
1474
+ typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1475
+ function b(e) {
1476
+ r.length -= 2 * e, a.length -= e, o.length -= e;
1477
+ }
1478
+ e(b, "popStack");
1479
+ function x() {
1480
+ var e = i.pop() || h.lex() || p;
1481
+ return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
1482
+ }
1483
+ e(x, "lex");
1484
+ for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
1485
+ if (w = r[r.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
1486
+ var M = "";
1487
+ for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
1488
+ M = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
1489
+ text: h.match,
1490
+ token: this.terminals_[S] || S,
1491
+ line: h.yylineno,
1492
+ loc: v,
1493
+ expected: j
1494
+ });
1495
+ }
1496
+ if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
1497
+ switch (T[0]) {
1498
+ case 1:
1499
+ r.push(S), a.push(h.yytext), o.push(h.yylloc), r.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, v = h.yylloc, d > 0 && d--);
1500
+ break;
1501
+ case 2:
1502
+ if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
1503
+ first_line: o[o.length - (k || 1)].first_line,
1504
+ last_line: o[o.length - 1].last_line,
1505
+ first_column: o[o.length - (k || 1)].first_column,
1506
+ last_column: o[o.length - 1].last_column
1507
+ }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
1508
+ c,
1509
+ u,
1510
+ l,
1511
+ g.yy,
1512
+ T[1],
1513
+ a,
1514
+ o
1515
+ ].concat(m)), E !== void 0) return E;
1516
+ k && (r = r.slice(0, -1 * k * 2), a = a.slice(0, -1 * k), o = o.slice(0, -1 * k)), r.push(this.productions_[T[1]][0]), a.push(D.$), o.push(D._$), A = s[r[r.length - 2]][r[r.length - 1]], r.push(A);
1517
+ break;
1518
+ case 3: return !0;
1519
+ }
1520
+ }
1521
+ return !0;
1522
+ }, "parse")
1523
+ };
1524
+ ce.lexer = /* @__PURE__ */ (function() {
1525
+ return {
1526
+ EOF: 1,
1527
+ parseError: /* @__PURE__ */ e(function(e, t) {
1528
+ if (this.yy.parser) this.yy.parser.parseError(e, t);
1529
+ else throw Error(e);
1530
+ }, "parseError"),
1531
+ setInput: /* @__PURE__ */ e(function(e, t) {
1532
+ return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
1533
+ first_line: 1,
1534
+ first_column: 0,
1535
+ last_line: 1,
1536
+ last_column: 0
1537
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1538
+ }, "setInput"),
1539
+ input: /* @__PURE__ */ e(function() {
1540
+ var e = this._input[0];
1541
+ return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
1542
+ }, "input"),
1543
+ unput: /* @__PURE__ */ e(function(e) {
1544
+ var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
1545
+ this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
1546
+ var r = this.match.split(/(?:\r\n?|\n)/g);
1547
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
1548
+ var i = this.yylloc.range;
1549
+ return this.yylloc = {
1550
+ first_line: this.yylloc.first_line,
1551
+ last_line: this.yylineno + 1,
1552
+ first_column: this.yylloc.first_column,
1553
+ last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
1554
+ }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
1555
+ }, "unput"),
1556
+ more: /* @__PURE__ */ e(function() {
1557
+ return this._more = !0, this;
1558
+ }, "more"),
1559
+ reject: /* @__PURE__ */ e(function() {
1560
+ if (this.options.backtrack_lexer) this._backtrack = !0;
1561
+ else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
1562
+ text: "",
1563
+ token: null,
1564
+ line: this.yylineno
1565
+ });
1566
+ return this;
1567
+ }, "reject"),
1568
+ less: /* @__PURE__ */ e(function(e) {
1569
+ this.unput(this.match.slice(e));
1570
+ }, "less"),
1571
+ pastInput: /* @__PURE__ */ e(function() {
1572
+ var e = this.matched.substr(0, this.matched.length - this.match.length);
1573
+ return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
1574
+ }, "pastInput"),
1575
+ upcomingInput: /* @__PURE__ */ e(function() {
1576
+ var e = this.match;
1577
+ return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
1578
+ }, "upcomingInput"),
1579
+ showPosition: /* @__PURE__ */ e(function() {
1580
+ var e = this.pastInput(), t = Array(e.length + 1).join("-");
1581
+ return e + this.upcomingInput() + "\n" + t + "^";
1582
+ }, "showPosition"),
1583
+ test_match: /* @__PURE__ */ e(function(e, t) {
1584
+ var n, r, i;
1585
+ if (this.options.backtrack_lexer && (i = {
1586
+ yylineno: this.yylineno,
1587
+ yylloc: {
1588
+ first_line: this.yylloc.first_line,
1589
+ last_line: this.last_line,
1590
+ first_column: this.yylloc.first_column,
1591
+ last_column: this.yylloc.last_column
1592
+ },
1593
+ yytext: this.yytext,
1594
+ match: this.match,
1595
+ matches: this.matches,
1596
+ matched: this.matched,
1597
+ yyleng: this.yyleng,
1598
+ offset: this.offset,
1599
+ _more: this._more,
1600
+ _input: this._input,
1601
+ yy: this.yy,
1602
+ conditionStack: this.conditionStack.slice(0),
1603
+ done: this.done
1604
+ }, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), r = e[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
1605
+ first_line: this.yylloc.last_line,
1606
+ last_line: this.yylineno + 1,
1607
+ first_column: this.yylloc.last_column,
1608
+ last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
1609
+ }, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], n = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
1610
+ if (this._backtrack) {
1611
+ for (var a in i) this[a] = i[a];
1612
+ return !1;
1613
+ }
1614
+ return !1;
1615
+ }, "test_match"),
1616
+ next: /* @__PURE__ */ e(function() {
1617
+ if (this.done) return this.EOF;
1618
+ this._input || (this.done = !0);
1619
+ var e, t, n, r;
1620
+ this._more || (this.yytext = "", this.match = "");
1621
+ for (var i = this._currentRules(), a = 0; a < i.length; a++) if (n = this._input.match(this.rules[i[a]]), n && (!t || n[0].length > t[0].length)) {
1622
+ if (t = n, r = a, this.options.backtrack_lexer) {
1623
+ if (e = this.test_match(n, i[a]), e !== !1) return e;
1624
+ if (this._backtrack) {
1625
+ t = !1;
1626
+ continue;
1627
+ } else return !1;
1628
+ } else if (!this.options.flex) break;
1629
+ }
1630
+ return t ? (e = this.test_match(t, i[r]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
1631
+ text: "",
1632
+ token: null,
1633
+ line: this.yylineno
1634
+ });
1635
+ }, "next"),
1636
+ lex: /* @__PURE__ */ e(function() {
1637
+ return this.next() || this.lex();
1638
+ }, "lex"),
1639
+ begin: /* @__PURE__ */ e(function(e) {
1640
+ this.conditionStack.push(e);
1641
+ }, "begin"),
1642
+ popState: /* @__PURE__ */ e(function() {
1643
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1644
+ }, "popState"),
1645
+ _currentRules: /* @__PURE__ */ e(function() {
1646
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1647
+ }, "_currentRules"),
1648
+ topState: /* @__PURE__ */ e(function(e) {
1649
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
1650
+ }, "topState"),
1651
+ pushState: /* @__PURE__ */ e(function(e) {
1652
+ this.begin(e);
1653
+ }, "pushState"),
1654
+ stateStackSize: /* @__PURE__ */ e(function() {
1655
+ return this.conditionStack.length;
1656
+ }, "stateStackSize"),
1657
+ options: {},
1658
+ performAction: /* @__PURE__ */ e(function(e, t, n, r) {
1659
+ switch (n) {
1660
+ case 0: return 62;
1661
+ case 1: return 63;
1662
+ case 2: return 64;
1663
+ case 3: return 65;
1664
+ case 4: break;
1665
+ case 5: break;
1666
+ case 6: return this.begin("acc_title"), 33;
1667
+ case 7: return this.popState(), "acc_title_value";
1668
+ case 8: return this.begin("acc_descr"), 35;
1669
+ case 9: return this.popState(), "acc_descr_value";
1670
+ case 10:
1671
+ this.begin("acc_descr_multiline");
1672
+ break;
1673
+ case 11:
1674
+ this.popState();
1675
+ break;
1676
+ case 12: return "acc_descr_multiline_value";
1677
+ case 13: return 8;
1678
+ case 14: break;
1679
+ case 15: return 7;
1680
+ case 16: return 7;
1681
+ case 17: return "EDGE_STATE";
1682
+ case 18:
1683
+ this.begin("callback_name");
1684
+ break;
1685
+ case 19:
1686
+ this.popState();
1687
+ break;
1688
+ case 20:
1689
+ this.popState(), this.begin("callback_args");
1690
+ break;
1691
+ case 21: return 79;
1692
+ case 22:
1693
+ this.popState();
1694
+ break;
1695
+ case 23: return 80;
1696
+ case 24:
1697
+ this.popState();
1698
+ break;
1699
+ case 25: return "STR";
1700
+ case 26:
1701
+ this.begin("string");
1702
+ break;
1703
+ case 27: return 82;
1704
+ case 28: return 57;
1705
+ case 29: return this.begin("namespace"), 42;
1706
+ case 30: return this.popState(), 8;
1707
+ case 31: break;
1708
+ case 32: return this.begin("namespace-body"), 39;
1709
+ case 33:
1710
+ this.popState(), this.less(0);
1711
+ break;
1712
+ case 34: return this.popState(), 41;
1713
+ case 35: return "EOF_IN_STRUCT";
1714
+ case 36: return 8;
1715
+ case 37: break;
1716
+ case 38: return "EDGE_STATE";
1717
+ case 39: return this.begin("class"), 48;
1718
+ case 40: return this.popState(), 8;
1719
+ case 41: break;
1720
+ case 42: return this.popState(), this.popState(), 41;
1721
+ case 43: return this.begin("class-body"), 39;
1722
+ case 44: return this.popState(), 41;
1723
+ case 45: return "EOF_IN_STRUCT";
1724
+ case 46: return "EDGE_STATE";
1725
+ case 47: return "OPEN_IN_STRUCT";
1726
+ case 48: break;
1727
+ case 49: return "MEMBER";
1728
+ case 50: return 83;
1729
+ case 51: return 75;
1730
+ case 52: return 76;
1731
+ case 53: return 78;
1732
+ case 54: return 54;
1733
+ case 55: return 56;
1734
+ case 56: return 46;
1735
+ case 57: return 47;
1736
+ case 58: return 81;
1737
+ case 59:
1738
+ this.popState();
1739
+ break;
1740
+ case 60: return "GENERICTYPE";
1741
+ case 61:
1742
+ this.begin("generic");
1743
+ break;
1744
+ case 62:
1745
+ this.popState();
1746
+ break;
1747
+ case 63: return "BQUOTE_STR";
1748
+ case 64:
1749
+ this.begin("bqstring");
1750
+ break;
1751
+ case 65: return 77;
1752
+ case 66: return 77;
1753
+ case 67: return 77;
1754
+ case 68: return 77;
1755
+ case 69: return 69;
1756
+ case 70: return 69;
1757
+ case 71: return 71;
1758
+ case 72: return 71;
1759
+ case 73: return 70;
1760
+ case 74: return 68;
1761
+ case 75: return 72;
1762
+ case 76: return 73;
1763
+ case 77: return 74;
1764
+ case 78: return 22;
1765
+ case 79: return 44;
1766
+ case 80: return 100;
1767
+ case 81: return 18;
1768
+ case 82: return "PLUS";
1769
+ case 83: return 87;
1770
+ case 84: return 61;
1771
+ case 85: return 89;
1772
+ case 86: return 89;
1773
+ case 87: return 90;
1774
+ case 88: return "EQUALS";
1775
+ case 89: return "EQUALS";
1776
+ case 90: return 60;
1777
+ case 91: return 12;
1778
+ case 92: return 14;
1779
+ case 93: return "PUNCTUATION";
1780
+ case 94: return 86;
1781
+ case 95: return 102;
1782
+ case 96: return 50;
1783
+ case 97: return 50;
1784
+ case 98: return 9;
1785
+ }
1786
+ }, "anonymous"),
1787
+ rules: [
1788
+ /^(?:.*direction\s+TB[^\n]*)/,
1789
+ /^(?:.*direction\s+BT[^\n]*)/,
1790
+ /^(?:.*direction\s+RL[^\n]*)/,
1791
+ /^(?:.*direction\s+LR[^\n]*)/,
1792
+ /^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,
1793
+ /^(?:%%[^\n]*(\r?\n)*)/,
1794
+ /^(?:accTitle\s*:\s*)/,
1795
+ /^(?:(?!\n||)*[^\n]*)/,
1796
+ /^(?:accDescr\s*:\s*)/,
1797
+ /^(?:(?!\n||)*[^\n]*)/,
1798
+ /^(?:accDescr\s*\{\s*)/,
1799
+ /^(?:[\}])/,
1800
+ /^(?:[^\}]*)/,
1801
+ /^(?:\s*(\r?\n)+)/,
1802
+ /^(?:\s+)/,
1803
+ /^(?:classDiagram-v2\b)/,
1804
+ /^(?:classDiagram\b)/,
1805
+ /^(?:\[\*\])/,
1806
+ /^(?:call[\s]+)/,
1807
+ /^(?:\([\s]*\))/,
1808
+ /^(?:\()/,
1809
+ /^(?:[^(]*)/,
1810
+ /^(?:\))/,
1811
+ /^(?:[^)]*)/,
1812
+ /^(?:["])/,
1813
+ /^(?:[^"]*)/,
1814
+ /^(?:["])/,
1815
+ /^(?:style\b)/,
1816
+ /^(?:classDef\b)/,
1817
+ /^(?:namespace\b)/,
1818
+ /^(?:\s*(\r?\n)+)/,
1819
+ /^(?:\s+)/,
1820
+ /^(?:[{])/,
1821
+ /^(?:[}])/,
1822
+ /^(?:[}])/,
1823
+ /^(?:$)/,
1824
+ /^(?:\s*(\r?\n)+)/,
1825
+ /^(?:\s+)/,
1826
+ /^(?:\[\*\])/,
1827
+ /^(?:class\b)/,
1828
+ /^(?:\s*(\r?\n)+)/,
1829
+ /^(?:\s+)/,
1830
+ /^(?:[}])/,
1831
+ /^(?:[{])/,
1832
+ /^(?:[}])/,
1833
+ /^(?:$)/,
1834
+ /^(?:\[\*\])/,
1835
+ /^(?:[{])/,
1836
+ /^(?:[\n])/,
1837
+ /^(?:[^{}\n]*)/,
1838
+ /^(?:cssClass\b)/,
1839
+ /^(?:callback\b)/,
1840
+ /^(?:link\b)/,
1841
+ /^(?:click\b)/,
1842
+ /^(?:note for\b)/,
1843
+ /^(?:note\b)/,
1844
+ /^(?:<<)/,
1845
+ /^(?:>>)/,
1846
+ /^(?:href\b)/,
1847
+ /^(?:[~])/,
1848
+ /^(?:[^~]*)/,
1849
+ /^(?:~)/,
1850
+ /^(?:[`])/,
1851
+ /^(?:[^`]+)/,
1852
+ /^(?:[`])/,
1853
+ /^(?:_self\b)/,
1854
+ /^(?:_blank\b)/,
1855
+ /^(?:_parent\b)/,
1856
+ /^(?:_top\b)/,
1857
+ /^(?:\s*<\|)/,
1858
+ /^(?:\s*\|>)/,
1859
+ /^(?:\s*>)/,
1860
+ /^(?:\s*<)/,
1861
+ /^(?:\s*\*)/,
1862
+ /^(?:\s*o\b)/,
1863
+ /^(?:\s*\(\))/,
1864
+ /^(?:--)/,
1865
+ /^(?:\.\.)/,
1866
+ /^(?::{1}[^:\n;]+)/,
1867
+ /^(?::{3})/,
1868
+ /^(?:-)/,
1869
+ /^(?:\.)/,
1870
+ /^(?:\+)/,
1871
+ /^(?::)/,
1872
+ /^(?:,)/,
1873
+ /^(?:#)/,
1874
+ /^(?:#)/,
1875
+ /^(?:%)/,
1876
+ /^(?:=)/,
1877
+ /^(?:=)/,
1878
+ /^(?:\w+)/,
1879
+ /^(?:\[)/,
1880
+ /^(?:\])/,
1881
+ /^(?:[!"#$%&'*+,-.`?\\/])/,
1882
+ /^(?:[0-9]+)/,
1883
+ /^(?:[\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])/,
1884
+ /^(?:\s)/,
1885
+ /^(?:\s)/,
1886
+ /^(?:$)/
1887
+ ],
1888
+ conditions: {
1889
+ "namespace-body": {
1890
+ rules: [
1891
+ 26,
1892
+ 29,
1893
+ 34,
1894
+ 35,
1895
+ 36,
1896
+ 37,
1897
+ 38,
1898
+ 39,
1899
+ 50,
1900
+ 51,
1901
+ 52,
1902
+ 53,
1903
+ 54,
1904
+ 55,
1905
+ 56,
1906
+ 57,
1907
+ 58,
1908
+ 61,
1909
+ 64,
1910
+ 65,
1911
+ 66,
1912
+ 67,
1913
+ 68,
1914
+ 69,
1915
+ 70,
1916
+ 71,
1917
+ 72,
1918
+ 73,
1919
+ 74,
1920
+ 75,
1921
+ 76,
1922
+ 77,
1923
+ 78,
1924
+ 79,
1925
+ 80,
1926
+ 81,
1927
+ 82,
1928
+ 87,
1929
+ 88,
1930
+ 89,
1931
+ 90,
1932
+ 91,
1933
+ 92,
1934
+ 93,
1935
+ 94,
1936
+ 95,
1937
+ 96,
1938
+ 98
1939
+ ],
1940
+ inclusive: !1
1941
+ },
1942
+ namespace: {
1943
+ rules: [
1944
+ 26,
1945
+ 29,
1946
+ 30,
1947
+ 31,
1948
+ 32,
1949
+ 33,
1950
+ 50,
1951
+ 51,
1952
+ 52,
1953
+ 53,
1954
+ 54,
1955
+ 55,
1956
+ 56,
1957
+ 57,
1958
+ 58,
1959
+ 61,
1960
+ 64,
1961
+ 65,
1962
+ 66,
1963
+ 67,
1964
+ 68,
1965
+ 69,
1966
+ 70,
1967
+ 71,
1968
+ 72,
1969
+ 73,
1970
+ 74,
1971
+ 75,
1972
+ 76,
1973
+ 77,
1974
+ 78,
1975
+ 79,
1976
+ 80,
1977
+ 81,
1978
+ 82,
1979
+ 87,
1980
+ 88,
1981
+ 89,
1982
+ 90,
1983
+ 91,
1984
+ 92,
1985
+ 93,
1986
+ 94,
1987
+ 95,
1988
+ 96,
1989
+ 98
1990
+ ],
1991
+ inclusive: !1
1992
+ },
1993
+ "class-body": {
1994
+ rules: [
1995
+ 26,
1996
+ 44,
1997
+ 45,
1998
+ 46,
1999
+ 47,
2000
+ 48,
2001
+ 49,
2002
+ 50,
2003
+ 51,
2004
+ 52,
2005
+ 53,
2006
+ 54,
2007
+ 55,
2008
+ 56,
2009
+ 57,
2010
+ 58,
2011
+ 61,
2012
+ 64,
2013
+ 65,
2014
+ 66,
2015
+ 67,
2016
+ 68,
2017
+ 69,
2018
+ 70,
2019
+ 71,
2020
+ 72,
2021
+ 73,
2022
+ 74,
2023
+ 75,
2024
+ 76,
2025
+ 77,
2026
+ 78,
2027
+ 79,
2028
+ 80,
2029
+ 81,
2030
+ 82,
2031
+ 87,
2032
+ 88,
2033
+ 89,
2034
+ 90,
2035
+ 91,
2036
+ 92,
2037
+ 93,
2038
+ 94,
2039
+ 95,
2040
+ 96,
2041
+ 98
2042
+ ],
2043
+ inclusive: !1
2044
+ },
2045
+ class: {
2046
+ rules: [
2047
+ 26,
2048
+ 40,
2049
+ 41,
2050
+ 42,
2051
+ 43,
2052
+ 50,
2053
+ 51,
2054
+ 52,
2055
+ 53,
2056
+ 54,
2057
+ 55,
2058
+ 56,
2059
+ 57,
2060
+ 58,
2061
+ 61,
2062
+ 64,
2063
+ 65,
2064
+ 66,
2065
+ 67,
2066
+ 68,
2067
+ 69,
2068
+ 70,
2069
+ 71,
2070
+ 72,
2071
+ 73,
2072
+ 74,
2073
+ 75,
2074
+ 76,
2075
+ 77,
2076
+ 78,
2077
+ 79,
2078
+ 80,
2079
+ 81,
2080
+ 82,
2081
+ 87,
2082
+ 88,
2083
+ 89,
2084
+ 90,
2085
+ 91,
2086
+ 92,
2087
+ 93,
2088
+ 94,
2089
+ 95,
2090
+ 96,
2091
+ 98
2092
+ ],
2093
+ inclusive: !1
2094
+ },
2095
+ acc_descr_multiline: {
2096
+ rules: [
2097
+ 11,
2098
+ 12,
2099
+ 26,
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
+ acc_descr: {
2144
+ rules: [
2145
+ 9,
2146
+ 26,
2147
+ 50,
2148
+ 51,
2149
+ 52,
2150
+ 53,
2151
+ 54,
2152
+ 55,
2153
+ 56,
2154
+ 57,
2155
+ 58,
2156
+ 61,
2157
+ 64,
2158
+ 65,
2159
+ 66,
2160
+ 67,
2161
+ 68,
2162
+ 69,
2163
+ 70,
2164
+ 71,
2165
+ 72,
2166
+ 73,
2167
+ 74,
2168
+ 75,
2169
+ 76,
2170
+ 77,
2171
+ 78,
2172
+ 79,
2173
+ 80,
2174
+ 81,
2175
+ 82,
2176
+ 87,
2177
+ 88,
2178
+ 89,
2179
+ 90,
2180
+ 91,
2181
+ 92,
2182
+ 93,
2183
+ 94,
2184
+ 95,
2185
+ 96,
2186
+ 98
2187
+ ],
2188
+ inclusive: !1
2189
+ },
2190
+ acc_title: {
2191
+ rules: [
2192
+ 7,
2193
+ 26,
2194
+ 50,
2195
+ 51,
2196
+ 52,
2197
+ 53,
2198
+ 54,
2199
+ 55,
2200
+ 56,
2201
+ 57,
2202
+ 58,
2203
+ 61,
2204
+ 64,
2205
+ 65,
2206
+ 66,
2207
+ 67,
2208
+ 68,
2209
+ 69,
2210
+ 70,
2211
+ 71,
2212
+ 72,
2213
+ 73,
2214
+ 74,
2215
+ 75,
2216
+ 76,
2217
+ 77,
2218
+ 78,
2219
+ 79,
2220
+ 80,
2221
+ 81,
2222
+ 82,
2223
+ 87,
2224
+ 88,
2225
+ 89,
2226
+ 90,
2227
+ 91,
2228
+ 92,
2229
+ 93,
2230
+ 94,
2231
+ 95,
2232
+ 96,
2233
+ 98
2234
+ ],
2235
+ inclusive: !1
2236
+ },
2237
+ callback_args: {
2238
+ rules: [
2239
+ 22,
2240
+ 23,
2241
+ 26,
2242
+ 50,
2243
+ 51,
2244
+ 52,
2245
+ 53,
2246
+ 54,
2247
+ 55,
2248
+ 56,
2249
+ 57,
2250
+ 58,
2251
+ 61,
2252
+ 64,
2253
+ 65,
2254
+ 66,
2255
+ 67,
2256
+ 68,
2257
+ 69,
2258
+ 70,
2259
+ 71,
2260
+ 72,
2261
+ 73,
2262
+ 74,
2263
+ 75,
2264
+ 76,
2265
+ 77,
2266
+ 78,
2267
+ 79,
2268
+ 80,
2269
+ 81,
2270
+ 82,
2271
+ 87,
2272
+ 88,
2273
+ 89,
2274
+ 90,
2275
+ 91,
2276
+ 92,
2277
+ 93,
2278
+ 94,
2279
+ 95,
2280
+ 96,
2281
+ 98
2282
+ ],
2283
+ inclusive: !1
2284
+ },
2285
+ callback_name: {
2286
+ rules: [
2287
+ 19,
2288
+ 20,
2289
+ 21,
2290
+ 26,
2291
+ 50,
2292
+ 51,
2293
+ 52,
2294
+ 53,
2295
+ 54,
2296
+ 55,
2297
+ 56,
2298
+ 57,
2299
+ 58,
2300
+ 61,
2301
+ 64,
2302
+ 65,
2303
+ 66,
2304
+ 67,
2305
+ 68,
2306
+ 69,
2307
+ 70,
2308
+ 71,
2309
+ 72,
2310
+ 73,
2311
+ 74,
2312
+ 75,
2313
+ 76,
2314
+ 77,
2315
+ 78,
2316
+ 79,
2317
+ 80,
2318
+ 81,
2319
+ 82,
2320
+ 87,
2321
+ 88,
2322
+ 89,
2323
+ 90,
2324
+ 91,
2325
+ 92,
2326
+ 93,
2327
+ 94,
2328
+ 95,
2329
+ 96,
2330
+ 98
2331
+ ],
2332
+ inclusive: !1
2333
+ },
2334
+ href: {
2335
+ rules: [
2336
+ 26,
2337
+ 50,
2338
+ 51,
2339
+ 52,
2340
+ 53,
2341
+ 54,
2342
+ 55,
2343
+ 56,
2344
+ 57,
2345
+ 58,
2346
+ 61,
2347
+ 64,
2348
+ 65,
2349
+ 66,
2350
+ 67,
2351
+ 68,
2352
+ 69,
2353
+ 70,
2354
+ 71,
2355
+ 72,
2356
+ 73,
2357
+ 74,
2358
+ 75,
2359
+ 76,
2360
+ 77,
2361
+ 78,
2362
+ 79,
2363
+ 80,
2364
+ 81,
2365
+ 82,
2366
+ 87,
2367
+ 88,
2368
+ 89,
2369
+ 90,
2370
+ 91,
2371
+ 92,
2372
+ 93,
2373
+ 94,
2374
+ 95,
2375
+ 96,
2376
+ 98
2377
+ ],
2378
+ inclusive: !1
2379
+ },
2380
+ struct: {
2381
+ rules: [
2382
+ 26,
2383
+ 50,
2384
+ 51,
2385
+ 52,
2386
+ 53,
2387
+ 54,
2388
+ 55,
2389
+ 56,
2390
+ 57,
2391
+ 58,
2392
+ 61,
2393
+ 64,
2394
+ 65,
2395
+ 66,
2396
+ 67,
2397
+ 68,
2398
+ 69,
2399
+ 70,
2400
+ 71,
2401
+ 72,
2402
+ 73,
2403
+ 74,
2404
+ 75,
2405
+ 76,
2406
+ 77,
2407
+ 78,
2408
+ 79,
2409
+ 80,
2410
+ 81,
2411
+ 82,
2412
+ 87,
2413
+ 88,
2414
+ 89,
2415
+ 90,
2416
+ 91,
2417
+ 92,
2418
+ 93,
2419
+ 94,
2420
+ 95,
2421
+ 96,
2422
+ 98
2423
+ ],
2424
+ inclusive: !1
2425
+ },
2426
+ generic: {
2427
+ rules: [
2428
+ 26,
2429
+ 50,
2430
+ 51,
2431
+ 52,
2432
+ 53,
2433
+ 54,
2434
+ 55,
2435
+ 56,
2436
+ 57,
2437
+ 58,
2438
+ 59,
2439
+ 60,
2440
+ 61,
2441
+ 64,
2442
+ 65,
2443
+ 66,
2444
+ 67,
2445
+ 68,
2446
+ 69,
2447
+ 70,
2448
+ 71,
2449
+ 72,
2450
+ 73,
2451
+ 74,
2452
+ 75,
2453
+ 76,
2454
+ 77,
2455
+ 78,
2456
+ 79,
2457
+ 80,
2458
+ 81,
2459
+ 82,
2460
+ 87,
2461
+ 88,
2462
+ 89,
2463
+ 90,
2464
+ 91,
2465
+ 92,
2466
+ 93,
2467
+ 94,
2468
+ 95,
2469
+ 96,
2470
+ 98
2471
+ ],
2472
+ inclusive: !1
2473
+ },
2474
+ bqstring: {
2475
+ rules: [
2476
+ 26,
2477
+ 50,
2478
+ 51,
2479
+ 52,
2480
+ 53,
2481
+ 54,
2482
+ 55,
2483
+ 56,
2484
+ 57,
2485
+ 58,
2486
+ 61,
2487
+ 62,
2488
+ 63,
2489
+ 64,
2490
+ 65,
2491
+ 66,
2492
+ 67,
2493
+ 68,
2494
+ 69,
2495
+ 70,
2496
+ 71,
2497
+ 72,
2498
+ 73,
2499
+ 74,
2500
+ 75,
2501
+ 76,
2502
+ 77,
2503
+ 78,
2504
+ 79,
2505
+ 80,
2506
+ 81,
2507
+ 82,
2508
+ 87,
2509
+ 88,
2510
+ 89,
2511
+ 90,
2512
+ 91,
2513
+ 92,
2514
+ 93,
2515
+ 94,
2516
+ 95,
2517
+ 96,
2518
+ 98
2519
+ ],
2520
+ inclusive: !1
2521
+ },
2522
+ string: {
2523
+ rules: [
2524
+ 24,
2525
+ 25,
2526
+ 26,
2527
+ 50,
2528
+ 51,
2529
+ 52,
2530
+ 53,
2531
+ 54,
2532
+ 55,
2533
+ 56,
2534
+ 57,
2535
+ 58,
2536
+ 61,
2537
+ 64,
2538
+ 65,
2539
+ 66,
2540
+ 67,
2541
+ 68,
2542
+ 69,
2543
+ 70,
2544
+ 71,
2545
+ 72,
2546
+ 73,
2547
+ 74,
2548
+ 75,
2549
+ 76,
2550
+ 77,
2551
+ 78,
2552
+ 79,
2553
+ 80,
2554
+ 81,
2555
+ 82,
2556
+ 87,
2557
+ 88,
2558
+ 89,
2559
+ 90,
2560
+ 91,
2561
+ 92,
2562
+ 93,
2563
+ 94,
2564
+ 95,
2565
+ 96,
2566
+ 98
2567
+ ],
2568
+ inclusive: !1
2569
+ },
2570
+ INITIAL: {
2571
+ rules: [
2572
+ 0,
2573
+ 1,
2574
+ 2,
2575
+ 3,
2576
+ 4,
2577
+ 5,
2578
+ 6,
2579
+ 8,
2580
+ 10,
2581
+ 13,
2582
+ 14,
2583
+ 15,
2584
+ 16,
2585
+ 17,
2586
+ 18,
2587
+ 26,
2588
+ 27,
2589
+ 28,
2590
+ 29,
2591
+ 39,
2592
+ 50,
2593
+ 51,
2594
+ 52,
2595
+ 53,
2596
+ 54,
2597
+ 55,
2598
+ 56,
2599
+ 57,
2600
+ 58,
2601
+ 61,
2602
+ 64,
2603
+ 65,
2604
+ 66,
2605
+ 67,
2606
+ 68,
2607
+ 69,
2608
+ 70,
2609
+ 71,
2610
+ 72,
2611
+ 73,
2612
+ 74,
2613
+ 75,
2614
+ 76,
2615
+ 77,
2616
+ 78,
2617
+ 79,
2618
+ 80,
2619
+ 81,
2620
+ 82,
2621
+ 83,
2622
+ 84,
2623
+ 85,
2624
+ 86,
2625
+ 87,
2626
+ 88,
2627
+ 89,
2628
+ 90,
2629
+ 91,
2630
+ 92,
2631
+ 93,
2632
+ 94,
2633
+ 95,
2634
+ 96,
2635
+ 97,
2636
+ 98
2637
+ ],
2638
+ inclusive: !0
2639
+ }
2640
+ }
2641
+ };
2642
+ })();
2643
+ function $() {
2644
+ this.yy = {};
2645
+ }
2646
+ return e($, "Parser"), $.prototype = ce, ce.Parser = $, new $();
2647
+ })();
2648
+ C.parser = C;
2649
+ var w = C, T = [
2650
+ "#",
2651
+ "+",
2652
+ "~",
2653
+ "-",
2654
+ ""
2655
+ ], E = class {
2656
+ static {
2657
+ e(this, "ClassMember");
2658
+ }
2659
+ constructor(e, t) {
2660
+ this.memberType = t, this.visibility = "", this.classifier = "", this.text = "";
2661
+ let n = m(e, f());
2662
+ this.parseMember(n);
2663
+ }
2664
+ getDisplayDetails() {
2665
+ let e = this.visibility + o(this.id);
2666
+ this.memberType === "method" && (e += `(${o(this.parameters.trim())})`, this.returnType && (e += " : " + o(this.returnType))), e = e.trim();
2667
+ let t = this.parseClassifier();
2668
+ return {
2669
+ displayText: e,
2670
+ cssStyle: t
2671
+ };
2672
+ }
2673
+ parseMember(e) {
2674
+ let t = "";
2675
+ if (this.memberType === "method") {
2676
+ let n = /([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(e);
2677
+ if (n) {
2678
+ let e = n[1] ? n[1].trim() : "";
2679
+ if (T.includes(e) && (this.visibility = e), this.id = n[2], this.parameters = n[3] ? n[3].trim() : "", t = n[4] ? n[4].trim() : "", this.returnType = n[5] ? n[5].trim() : "", t === "") {
2680
+ let e = this.returnType.substring(this.returnType.length - 1);
2681
+ /[$*]/.exec(e) && (t = e, this.returnType = this.returnType.substring(0, this.returnType.length - 1));
2682
+ }
2683
+ }
2684
+ } else {
2685
+ let n = e.length, r = e.substring(0, 1), i = e.substring(n - 1);
2686
+ T.includes(r) && (this.visibility = r), /[$*]/.exec(i) && (t = i), this.id = e.substring(this.visibility === "" ? 0 : 1, t === "" ? n : n - 1);
2687
+ }
2688
+ this.classifier = t, this.id = this.id.startsWith(" ") ? " " + this.id.trim() : this.id.trim();
2689
+ let n = `${this.visibility ? "\\" + this.visibility : ""}${o(this.id)}${this.memberType === "method" ? `(${o(this.parameters)})${this.returnType ? " : " + o(this.returnType) : ""}` : ""}`;
2690
+ this.text = n.replaceAll("<", "&lt;").replaceAll(">", "&gt;"), this.text.startsWith("\\&lt;") && (this.text = this.text.replace("\\&lt;", "~"));
2691
+ }
2692
+ parseClassifier() {
2693
+ switch (this.classifier) {
2694
+ case "*": return "font-style:italic;";
2695
+ case "$": return "text-decoration:underline;";
2696
+ default: return "";
2697
+ }
2698
+ }
2699
+ }, D = "classId-", O = 0, k = /* @__PURE__ */ e((e) => l.sanitizeText(e, f()), "sanitizeText"), A = class o {
2700
+ constructor() {
2701
+ 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 = {
2702
+ LINE: 0,
2703
+ DOTTED_LINE: 1
2704
+ }, this.relationType = {
2705
+ AGGREGATION: 0,
2706
+ EXTENSION: 1,
2707
+ COMPOSITION: 2,
2708
+ DEPENDENCY: 3,
2709
+ LOLLIPOP: 4
2710
+ }, this.setupToolTips = /* @__PURE__ */ e((e) => {
2711
+ let t = v();
2712
+ n(e).select("svg").selectAll("g").filter(function() {
2713
+ return n(this).attr("title") !== null;
2714
+ }).on("mouseover", (e) => {
2715
+ let i = n(e.currentTarget), a = i.attr("title");
2716
+ if (!a) return;
2717
+ let o = e.currentTarget.getBoundingClientRect();
2718
+ t.transition().duration(200).style("opacity", ".9"), t.html(r.sanitize(a)).style("left", `${window.scrollX + o.left + o.width / 2}px`).style("top", `${window.scrollY + o.bottom + 4}px`), i.classed("hover", !0);
2719
+ }).on("mouseout", (e) => {
2720
+ t.transition().duration(500).style("opacity", 0), n(e.currentTarget).classed("hover", !1);
2721
+ });
2722
+ }, "setupToolTips"), this.direction = "TB", this.setAccTitle = s, this.getAccTitle = p, this.setAccDescription = i, this.getAccDescription = u, this.setDiagramTitle = a, this.getDiagramTitle = d, this.getConfig = /* @__PURE__ */ e(() => 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);
2723
+ }
2724
+ static {
2725
+ e(this, "ClassDB");
2726
+ }
2727
+ splitClassNameAndType(e) {
2728
+ let t = l.sanitizeText(e, f()), n = "", r = t;
2729
+ if (t.indexOf("~") > 0) {
2730
+ let e = t.split("~");
2731
+ r = k(e[0]), n = k(e[1]);
2732
+ }
2733
+ return {
2734
+ className: r,
2735
+ type: n
2736
+ };
2737
+ }
2738
+ setClassLabel(e, t) {
2739
+ let n = l.sanitizeText(e, f());
2740
+ t &&= k(t);
2741
+ let { className: r } = this.splitClassNameAndType(n);
2742
+ this.classes.get(r).label = t, this.classes.get(r).text = `${t}${this.classes.get(r).type ? `<${this.classes.get(r).type}>` : ""}`;
2743
+ }
2744
+ addClass(e) {
2745
+ let t = l.sanitizeText(e, f()), { className: n, type: r } = this.splitClassNameAndType(t);
2746
+ if (this.classes.has(n)) return;
2747
+ let i = l.sanitizeText(n, f());
2748
+ this.classes.set(i, {
2749
+ id: i,
2750
+ type: r,
2751
+ label: i,
2752
+ text: `${i}${r ? `&lt;${r}&gt;` : ""}`,
2753
+ shape: "classBox",
2754
+ cssClasses: "default",
2755
+ methods: [],
2756
+ members: [],
2757
+ annotations: [],
2758
+ styles: [],
2759
+ domId: D + i + "-" + O
2760
+ }), O++;
2761
+ }
2762
+ addInterface(e, t) {
2763
+ let n = {
2764
+ id: `interface${this.interfaces.length}`,
2765
+ label: e,
2766
+ classId: t
2767
+ };
2768
+ this.interfaces.push(n);
2769
+ }
2770
+ setDiagramId(e) {
2771
+ this.diagramId = e;
2772
+ }
2773
+ lookUpDomId(e) {
2774
+ let t = l.sanitizeText(e, f());
2775
+ if (this.classes.has(t)) {
2776
+ let e = this.classes.get(t).domId;
2777
+ return this.diagramId ? `${this.diagramId}-${e}` : e;
2778
+ }
2779
+ throw Error("Class not found: " + t);
2780
+ }
2781
+ clear() {
2782
+ 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", c();
2783
+ }
2784
+ getClass(e) {
2785
+ return this.classes.get(e);
2786
+ }
2787
+ getClasses() {
2788
+ return this.classes;
2789
+ }
2790
+ getRelations() {
2791
+ return this.relations;
2792
+ }
2793
+ getNote(e) {
2794
+ let t = typeof e == "number" ? `note${e}` : e;
2795
+ return this.notes.get(t);
2796
+ }
2797
+ getNotes() {
2798
+ return this.notes;
2799
+ }
2800
+ addRelation(e) {
2801
+ t.debug("Adding relation: " + JSON.stringify(e));
2802
+ let n = [
2803
+ this.relationType.LOLLIPOP,
2804
+ this.relationType.AGGREGATION,
2805
+ this.relationType.COMPOSITION,
2806
+ this.relationType.DEPENDENCY,
2807
+ this.relationType.EXTENSION
2808
+ ];
2809
+ e.relation.type1 === this.relationType.LOLLIPOP && !n.includes(e.relation.type2) ? (this.addClass(e.id2), this.addInterface(e.id1, e.id2), e.id1 = `interface${this.interfaces.length - 1}`) : e.relation.type2 === this.relationType.LOLLIPOP && !n.includes(e.relation.type1) ? (this.addClass(e.id1), this.addInterface(e.id2, e.id1), e.id2 = `interface${this.interfaces.length - 1}`) : (this.addClass(e.id1), this.addClass(e.id2)), e.id1 = this.splitClassNameAndType(e.id1).className, e.id2 = this.splitClassNameAndType(e.id2).className, e.relationTitle1 = l.sanitizeText(e.relationTitle1.trim(), f()), e.relationTitle2 = l.sanitizeText(e.relationTitle2.trim(), f()), this.relations.push(e);
2810
+ }
2811
+ addAnnotation(e, t) {
2812
+ let n = this.splitClassNameAndType(e).className;
2813
+ this.classes.get(n).annotations.push(t);
2814
+ }
2815
+ addMember(e, t) {
2816
+ this.addClass(e);
2817
+ let n = this.splitClassNameAndType(e).className, r = this.classes.get(n);
2818
+ if (typeof t == "string") {
2819
+ let e = t.trim();
2820
+ e.startsWith("<<") && e.endsWith(">>") ? r.annotations.push(k(e.substring(2, e.length - 2))) : e.indexOf(")") > 0 ? r.methods.push(new E(e, "method")) : e && r.members.push(new E(e, "attribute"));
2821
+ }
2822
+ }
2823
+ addMembers(e, t) {
2824
+ Array.isArray(t) && (t.reverse(), t.forEach((t) => this.addMember(e, t)));
2825
+ }
2826
+ addNote(e, t) {
2827
+ let n = this.notes.size, r = {
2828
+ id: `note${n}`,
2829
+ class: t,
2830
+ text: e,
2831
+ index: n
2832
+ };
2833
+ return this.notes.set(r.id, r), r.id;
2834
+ }
2835
+ cleanupLabel(e) {
2836
+ return e.startsWith(":") && (e = e.substring(1)), k(e.trim());
2837
+ }
2838
+ setCssClass(e, t) {
2839
+ e.split(",").forEach((e) => {
2840
+ let n = e;
2841
+ /\d/.exec(e[0]) && (n = D + n), n = this.splitClassNameAndType(n).className;
2842
+ let r = this.classes.get(n);
2843
+ r && (r.cssClasses += " " + t);
2844
+ });
2845
+ }
2846
+ defineClass(e, t) {
2847
+ for (let n of e) {
2848
+ let e = this.styleClasses.get(n);
2849
+ e === void 0 && (e = {
2850
+ id: n,
2851
+ styles: [],
2852
+ textStyles: []
2853
+ }, this.styleClasses.set(n, e)), t && t.forEach((t) => {
2854
+ if (/color/.exec(t)) {
2855
+ let n = t.replace("fill", "bgFill");
2856
+ e.textStyles.push(n);
2857
+ }
2858
+ e.styles.push(t);
2859
+ }), this.classes.forEach((e) => {
2860
+ e.cssClasses.includes(n) && e.styles.push(...t.flatMap((e) => e.split(",")));
2861
+ });
2862
+ }
2863
+ }
2864
+ setTooltip(e, t) {
2865
+ e.split(",").forEach((e) => {
2866
+ if (t !== void 0) {
2867
+ let n = this.splitClassNameAndType(e).className, r = this.classes.get(n);
2868
+ r && (r.tooltip = k(t));
2869
+ }
2870
+ });
2871
+ }
2872
+ getTooltip(e, t) {
2873
+ return t && this.namespaces.has(t) ? this.namespaces.get(t).classes.get(e).tooltip : this.classes.get(e).tooltip;
2874
+ }
2875
+ setLink(e, t, n) {
2876
+ let r = f();
2877
+ e.split(",").forEach((e) => {
2878
+ let i = e;
2879
+ /\d/.exec(e[0]) && (i = D + i), i = this.splitClassNameAndType(i).className;
2880
+ let a = this.classes.get(i);
2881
+ a && (a.link = g.formatUrl(t, r), r.securityLevel === "sandbox" ? a.linkTarget = "_top" : typeof n == "string" ? a.linkTarget = k(n) : a.linkTarget = "_blank");
2882
+ }), this.setCssClass(e, "clickable");
2883
+ }
2884
+ setClickEvent(e, t, n) {
2885
+ e.split(",").forEach((e) => {
2886
+ this.setClickFunc(e, t, n);
2887
+ let r = this.splitClassNameAndType(e).className, i = this.classes.get(r);
2888
+ i && (i.haveCallback = !0);
2889
+ }), this.setCssClass(e, "clickable");
2890
+ }
2891
+ setClickFunc(e, t, n) {
2892
+ let r = l.sanitizeText(e, f());
2893
+ if (f().securityLevel !== "loose" || t === void 0) return;
2894
+ let i = this.splitClassNameAndType(r).className;
2895
+ if (this.classes.has(i)) {
2896
+ let e = [];
2897
+ if (typeof n == "string") {
2898
+ e = n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
2899
+ for (let t = 0; t < e.length; t++) {
2900
+ let n = e[t].trim();
2901
+ n.startsWith("\"") && n.endsWith("\"") && (n = n.substr(1, n.length - 2)), e[t] = n;
2902
+ }
2903
+ }
2904
+ e.length === 0 && e.push(i), this.functions.push(() => {
2905
+ let n = this.lookUpDomId(i), r = document.querySelector(`[id="${n}"]`);
2906
+ r !== null && r.addEventListener("click", () => {
2907
+ g.runFunc(t, ...e);
2908
+ }, !1);
2909
+ });
2910
+ }
2911
+ }
2912
+ bindFunctions(e) {
2913
+ this.functions.forEach((t) => {
2914
+ t(e);
2915
+ });
2916
+ }
2917
+ escapeHtml(e) {
2918
+ return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;");
2919
+ }
2920
+ getDirection() {
2921
+ return this.direction;
2922
+ }
2923
+ setDirection(e) {
2924
+ this.direction = e;
2925
+ }
2926
+ static resolveQualifiedId(e, t) {
2927
+ let n = t.at(-1);
2928
+ return n ? `${n}.${e}` : e;
2929
+ }
2930
+ static getAncestorIds(e) {
2931
+ let t = e.split("."), n = Array(t.length);
2932
+ n[0] = t[0];
2933
+ for (let e = 1; e < t.length; e++) n[e] = `${n[e - 1]}.${t[e]}`;
2934
+ return n;
2935
+ }
2936
+ createNamespaceNode(e, t, n, r = !1) {
2937
+ return {
2938
+ id: e,
2939
+ label: t,
2940
+ classes: /* @__PURE__ */ new Map(),
2941
+ notes: /* @__PURE__ */ new Map(),
2942
+ children: /* @__PURE__ */ new Map(),
2943
+ domId: D + e + "-" + this.namespaceCounter++,
2944
+ parent: n,
2945
+ explicit: r
2946
+ };
2947
+ }
2948
+ linkParentChild(e, t) {
2949
+ let n = this.namespaces.get(e), r = this.namespaces.get(t);
2950
+ !n || !r || (n.children.has(t) || n.children.set(t, r), r.parent ??= e);
2951
+ }
2952
+ addNamespace(e, t) {
2953
+ let n = o.resolveQualifiedId(e, this.namespaceStack);
2954
+ if (this.namespaceStack.push(n), this.namespaces.has(n)) {
2955
+ let e = this.namespaces.get(n);
2956
+ return e.explicit = !0, t && (e.label = t), n;
2957
+ }
2958
+ let r = n.split("."), i = o.getAncestorIds(n);
2959
+ for (let e = 0; e < i.length; e++) {
2960
+ let n = i[e], a = e > 0 ? i[e - 1] : void 0, o = e === i.length - 1, s = o && t ? t : r[e];
2961
+ this.namespaces.has(n) ? o && (this.namespaces.get(n).explicit = !0) : this.namespaces.set(n, this.createNamespaceNode(n, s, a, o)), a && this.linkParentChild(a, n);
2962
+ }
2963
+ return n;
2964
+ }
2965
+ popNamespace() {
2966
+ this.namespaceStack.pop();
2967
+ }
2968
+ getNamespace(e) {
2969
+ return this.namespaces.get(e);
2970
+ }
2971
+ getNamespaces() {
2972
+ return this.namespaces;
2973
+ }
2974
+ addClassesToNamespace(e, t, n) {
2975
+ if (this.namespaces.has(e)) {
2976
+ for (let n of t) {
2977
+ let { className: t } = this.splitClassNameAndType(n), r = this.getClass(t);
2978
+ r.parent = e, this.namespaces.get(e).classes.set(t, r);
2979
+ }
2980
+ for (let t of n) {
2981
+ let n = this.getNote(t);
2982
+ n.parent = e, this.namespaces.get(e).notes.set(t, n);
2983
+ }
2984
+ }
2985
+ }
2986
+ setCssStyle(e, t) {
2987
+ let n = this.classes.get(e);
2988
+ if (!(!t || !n)) for (let e of t) e.includes(",") ? n.styles.push(...e.split(",")) : n.styles.push(e);
2989
+ }
2990
+ getArrowMarker(e) {
2991
+ let t;
2992
+ switch (e) {
2993
+ case 0:
2994
+ t = "aggregation";
2995
+ break;
2996
+ case 1:
2997
+ t = "extension";
2998
+ break;
2999
+ case 2:
3000
+ t = "composition";
3001
+ break;
3002
+ case 3:
3003
+ t = "dependency";
3004
+ break;
3005
+ case 4:
3006
+ t = "lollipop";
3007
+ break;
3008
+ default: t = "none";
3009
+ }
3010
+ return t;
3011
+ }
3012
+ resolveExplicitAncestor(e) {
3013
+ let t = e;
3014
+ for (; t;) {
3015
+ let e = this.namespaces.get(t);
3016
+ if (!e) return;
3017
+ if (e.explicit) return t;
3018
+ t = e.parent;
3019
+ }
3020
+ }
3021
+ getData() {
3022
+ let e = [], t = [], n = f(), r = n.class?.hierarchicalNamespaces ?? !0;
3023
+ for (let t of this.namespaces.values()) {
3024
+ if (!r && !t.explicit) continue;
3025
+ let i = {
3026
+ id: t.id,
3027
+ label: r ? t.label : t.id,
3028
+ isGroup: !0,
3029
+ padding: n.class.padding ?? 16,
3030
+ shape: "rect",
3031
+ cssStyles: [],
3032
+ look: n.look,
3033
+ parentId: r ? t.parent : void 0
3034
+ };
3035
+ e.push(i);
3036
+ }
3037
+ for (let t of this.classes.values()) {
3038
+ let i = r ? t.parent : this.resolveExplicitAncestor(t.parent), a = {
3039
+ ...t,
3040
+ type: void 0,
3041
+ isGroup: !1,
3042
+ parentId: i,
3043
+ look: n.look
3044
+ };
3045
+ e.push(a);
3046
+ }
3047
+ for (let i of this.notes.values()) {
3048
+ let a = r ? i.parent : this.resolveExplicitAncestor(i.parent), o = {
3049
+ id: i.id,
3050
+ label: i.text,
3051
+ isGroup: !1,
3052
+ shape: "note",
3053
+ padding: n.class.padding ?? 6,
3054
+ cssStyles: [
3055
+ "text-align: left",
3056
+ "white-space: nowrap",
3057
+ `fill: ${n.themeVariables.noteBkgColor}`,
3058
+ `stroke: ${n.themeVariables.noteBorderColor}`
3059
+ ],
3060
+ look: n.look,
3061
+ parentId: a,
3062
+ labelType: "markdown"
3063
+ };
3064
+ e.push(o);
3065
+ let s = this.classes.get(i.class)?.id;
3066
+ if (s) {
3067
+ let e = {
3068
+ id: `edgeNote${i.index}`,
3069
+ start: i.id,
3070
+ end: s,
3071
+ type: "normal",
3072
+ thickness: "normal",
3073
+ classes: "relation",
3074
+ arrowTypeStart: "none",
3075
+ arrowTypeEnd: "none",
3076
+ arrowheadStyle: "",
3077
+ labelStyle: [""],
3078
+ style: ["fill: none"],
3079
+ pattern: "dotted",
3080
+ look: n.look
3081
+ };
3082
+ t.push(e);
3083
+ }
3084
+ }
3085
+ for (let t of this.interfaces) {
3086
+ let r = {
3087
+ id: t.id,
3088
+ label: t.label,
3089
+ isGroup: !1,
3090
+ shape: "rect",
3091
+ cssStyles: ["opacity: 0;"],
3092
+ look: n.look
3093
+ };
3094
+ e.push(r);
3095
+ }
3096
+ let i = 0;
3097
+ for (let e of this.relations) {
3098
+ i++;
3099
+ let r = {
3100
+ id: h(e.id1, e.id2, {
3101
+ prefix: "id",
3102
+ counter: i
3103
+ }),
3104
+ start: e.id1,
3105
+ end: e.id2,
3106
+ type: "normal",
3107
+ label: e.title,
3108
+ labelpos: "c",
3109
+ thickness: "normal",
3110
+ classes: "relation",
3111
+ arrowTypeStart: this.getArrowMarker(e.relation.type1),
3112
+ arrowTypeEnd: this.getArrowMarker(e.relation.type2),
3113
+ startLabelRight: e.relationTitle1 === "none" ? "" : e.relationTitle1,
3114
+ endLabelLeft: e.relationTitle2 === "none" ? "" : e.relationTitle2,
3115
+ arrowheadStyle: "",
3116
+ labelStyle: ["display: inline-block"],
3117
+ style: e.style || "",
3118
+ pattern: e.relation.lineType == 1 ? "dashed" : "solid",
3119
+ look: n.look,
3120
+ labelType: "markdown"
3121
+ };
3122
+ t.push(r);
3123
+ }
3124
+ return {
3125
+ nodes: e,
3126
+ edges: t,
3127
+ other: {},
3128
+ config: n,
3129
+ direction: this.getDirection()
3130
+ };
3131
+ }
3132
+ }, j = /* @__PURE__ */ e((e) => `g.classGroup text {
3133
+ fill: ${e.nodeBorder || e.classText};
3134
+ stroke: none;
3135
+ font-family: ${e.fontFamily};
3136
+ font-size: 10px;
3137
+
3138
+ .title {
3139
+ font-weight: bolder;
3140
+ }
3141
+
3142
+ }
3143
+
3144
+ .cluster-label text {
3145
+ fill: ${e.titleColor};
3146
+ }
3147
+ .cluster-label span {
3148
+ color: ${e.titleColor};
3149
+ }
3150
+ .cluster-label span p {
3151
+ background-color: transparent;
3152
+ }
3153
+
3154
+ .cluster rect {
3155
+ fill: ${e.clusterBkg};
3156
+ stroke: ${e.clusterBorder};
3157
+ stroke-width: 1px;
3158
+ }
3159
+
3160
+ .cluster text {
3161
+ fill: ${e.titleColor};
3162
+ }
3163
+
3164
+ .cluster span {
3165
+ color: ${e.titleColor};
3166
+ }
3167
+
3168
+ .nodeLabel, .edgeLabel {
3169
+ color: ${e.classText};
3170
+ }
3171
+
3172
+ .noteLabel .nodeLabel, .noteLabel .edgeLabel {
3173
+ color: ${e.noteTextColor};
3174
+ }
3175
+ .edgeLabel .label rect {
3176
+ fill: ${e.mainBkg};
3177
+ }
3178
+ .label text {
3179
+ fill: ${e.classText};
3180
+ }
3181
+
3182
+ .labelBkg {
3183
+ background: ${e.mainBkg};
3184
+ }
3185
+ .edgeLabel .label span {
3186
+ background: ${e.mainBkg};
3187
+ }
3188
+
3189
+ .classTitle {
3190
+ font-weight: bolder;
3191
+ }
3192
+ .node rect,
3193
+ .node circle,
3194
+ .node ellipse,
3195
+ .node polygon,
3196
+ .node path {
3197
+ fill: ${e.mainBkg};
3198
+ stroke: ${e.nodeBorder};
3199
+ stroke-width: ${e.strokeWidth};
3200
+ }
3201
+
3202
+
3203
+ .divider {
3204
+ stroke: ${e.nodeBorder};
3205
+ stroke-width: 1;
3206
+ }
3207
+
3208
+ g.clickable {
3209
+ cursor: pointer;
3210
+ }
3211
+
3212
+ g.classGroup rect {
3213
+ fill: ${e.mainBkg};
3214
+ stroke: ${e.nodeBorder};
3215
+ }
3216
+
3217
+ g.classGroup line {
3218
+ stroke: ${e.nodeBorder};
3219
+ stroke-width: 1;
3220
+ }
3221
+
3222
+ .classLabel .box {
3223
+ stroke: none;
3224
+ stroke-width: 0;
3225
+ fill: ${e.mainBkg};
3226
+ opacity: 0.5;
3227
+ }
3228
+
3229
+ .classLabel .label {
3230
+ fill: ${e.nodeBorder};
3231
+ font-size: 10px;
3232
+ }
3233
+
3234
+ .relation {
3235
+ stroke: ${e.lineColor};
3236
+ stroke-width: ${e.strokeWidth};
3237
+ fill: none;
3238
+ }
3239
+
3240
+ .dashed-line{
3241
+ stroke-dasharray: 3;
3242
+ }
3243
+
3244
+ .dotted-line{
3245
+ stroke-dasharray: 1 2;
3246
+ }
3247
+
3248
+ [id$="-compositionStart"], .composition {
3249
+ fill: ${e.lineColor} !important;
3250
+ stroke: ${e.lineColor} !important;
3251
+ stroke-width: 1;
3252
+ }
3253
+
3254
+ [id$="-compositionEnd"], .composition {
3255
+ fill: ${e.lineColor} !important;
3256
+ stroke: ${e.lineColor} !important;
3257
+ stroke-width: 1;
3258
+ }
3259
+
3260
+ [id$="-dependencyStart"], .dependency {
3261
+ fill: ${e.lineColor} !important;
3262
+ stroke: ${e.lineColor} !important;
3263
+ stroke-width: 1;
3264
+ }
3265
+
3266
+ [id$="-dependencyEnd"], .dependency {
3267
+ fill: ${e.lineColor} !important;
3268
+ stroke: ${e.lineColor} !important;
3269
+ stroke-width: 1;
3270
+ }
3271
+
3272
+ [id$="-extensionStart"], .extension {
3273
+ fill: transparent !important;
3274
+ stroke: ${e.lineColor} !important;
3275
+ stroke-width: 1;
3276
+ }
3277
+
3278
+ [id$="-extensionEnd"], .extension {
3279
+ fill: transparent !important;
3280
+ stroke: ${e.lineColor} !important;
3281
+ stroke-width: 1;
3282
+ }
3283
+
3284
+ [id$="-aggregationStart"], .aggregation {
3285
+ fill: transparent !important;
3286
+ stroke: ${e.lineColor} !important;
3287
+ stroke-width: 1;
3288
+ }
3289
+
3290
+ [id$="-aggregationEnd"], .aggregation {
3291
+ fill: transparent !important;
3292
+ stroke: ${e.lineColor} !important;
3293
+ stroke-width: 1;
3294
+ }
3295
+
3296
+ [id$="-lollipopStart"], .lollipop {
3297
+ fill: ${e.mainBkg} !important;
3298
+ stroke: ${e.lineColor} !important;
3299
+ stroke-width: 1;
3300
+ }
3301
+
3302
+ [id$="-lollipopEnd"], .lollipop {
3303
+ fill: ${e.mainBkg} !important;
3304
+ stroke: ${e.lineColor} !important;
3305
+ stroke-width: 1;
3306
+ }
3307
+
3308
+ .edgeTerminals {
3309
+ font-size: 11px;
3310
+ line-height: initial;
3311
+ }
3312
+
3313
+ .classTitleText {
3314
+ text-anchor: middle;
3315
+ font-size: 18px;
3316
+ fill: ${e.textColor};
3317
+ }
3318
+
3319
+ .edgeLabel[data-look="neo"] {
3320
+ background-color: ${e.edgeLabelBackground};
3321
+ p {
3322
+ background-color: ${e.edgeLabelBackground};
3323
+ }
3324
+ rect {
3325
+ opacity: 0.5;
3326
+ background-color: ${e.edgeLabelBackground};
3327
+ fill: ${e.edgeLabelBackground};
3328
+ }
3329
+ text-align: center;
3330
+ }
3331
+ ${_()}
3332
+ `, "getStyles"), M = {
3333
+ getClasses: /* @__PURE__ */ e(function(e, t) {
3334
+ return t.db.getClasses();
3335
+ }, "getClasses"),
3336
+ draw: /* @__PURE__ */ e(async function(e, n, r, i) {
3337
+ t.info("REF0:"), t.info("Drawing class diagram (v3)", n);
3338
+ let { securityLevel: a, state: o, layout: s } = f();
3339
+ i.db.setDiagramId(n);
3340
+ let c = i.db.getData(), l = y(n, a);
3341
+ c.type = i.type, c.layoutAlgorithm = S(s), c.nodeSpacing = o?.nodeSpacing || 50, c.rankSpacing = o?.rankSpacing || 50, c.markers = [
3342
+ "aggregation",
3343
+ "extension",
3344
+ "composition",
3345
+ "dependency",
3346
+ "lollipop"
3347
+ ], c.diagramId = n, await x(c, l), g.insertTitle(l, "classDiagramTitleText", o?.titleTopMargin ?? 25, i.db.getDiagramTitle()), b(l, 8, "classDiagram", o?.useMaxWidth ?? !0);
3348
+ }, "draw"),
3349
+ getDir: /* @__PURE__ */ e((e, t = "TB") => {
3350
+ if (!e.doc) return t;
3351
+ let n = t;
3352
+ for (let t of e.doc) t.stmt === "dir" && (n = t.value);
3353
+ return n;
3354
+ }, "getDir")
3355
+ };
3356
+ //#endregion
3357
+ export { j as i, w as n, M as r, A as t };