@blueking/ai-blueking 2.0.0-dev.2 → 2.0.0-dev.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/dist/vue2/_baseFor-DAbrc8SN.js +309 -0
  2. package/dist/vue2/arc-BqlAOiZb.js +78 -0
  3. package/dist/vue2/architecture-U656AL7Q-Dtuq8BzO.js +7 -0
  4. package/dist/vue2/architectureDiagram-VXUJARFQ-BQS5Ixrn.js +4052 -0
  5. package/dist/vue2/array-TB8zN_HT.js +5 -0
  6. package/dist/vue2/blockDiagram-VD42YOAC-Bp6L6c6e.js +3013 -0
  7. package/dist/vue2/c4Diagram-YG6GDRKO-B15ZDn3Z.js +2956 -0
  8. package/dist/vue2/channel-edTl5mpN.js +3 -0
  9. package/dist/vue2/chunk-4BX2VUAB-eAYYj1bL.js +6 -0
  10. package/dist/vue2/chunk-55IACEB6-CTzuTcHv.js +6 -0
  11. package/dist/vue2/chunk-76Q3JFCE-BrJX66ha.js +19 -0
  12. package/dist/vue2/chunk-ABZYJK2D-gsx40GnJ.js +1971 -0
  13. package/dist/vue2/chunk-ATLVNIR6-CTTwtx-5.js +65 -0
  14. package/dist/vue2/chunk-B4BG7PRW-D8o7VxRH.js +3108 -0
  15. package/dist/vue2/chunk-CVBHYZKI-Cs8lCw3u.js +10 -0
  16. package/dist/vue2/chunk-DI55MBZ5-Dl59YBtR.js +1994 -0
  17. package/dist/vue2/chunk-DNh5sLlG.js +18 -0
  18. package/dist/vue2/chunk-EXTU4WIE-BPc8ye_N.js +7 -0
  19. package/dist/vue2/chunk-FMBD7UC4-PFlLPz_s.js +3 -0
  20. package/dist/vue2/chunk-FPAJGGOC-DPvjUKQ8.js +13428 -0
  21. package/dist/vue2/chunk-FWNWRKHM-BlUTFsPK.js +56 -0
  22. package/dist/vue2/chunk-HN2XXSSU-DueSY85P.js +74 -0
  23. package/dist/vue2/chunk-JA3XYJ7Z-CRet4f6a.js +1845 -0
  24. package/dist/vue2/chunk-JZLCHNYA-Df0-MseJ.js +4861 -0
  25. package/dist/vue2/chunk-LBM3YZW2-B0-w2HZs.js +19 -0
  26. package/dist/vue2/chunk-LHMN2FUI-BOH3yE2u.js +19 -0
  27. package/dist/vue2/chunk-MI3HLSF2-6-T1J0MS.js +1140 -0
  28. package/dist/vue2/chunk-N4CR4FBY-jNnt5D3v.js +39 -0
  29. package/dist/vue2/chunk-O7ZBX7Z2-BEP34BEE.js +26 -0
  30. package/dist/vue2/chunk-QN33PNHL-DsC-XeM9.js +23 -0
  31. package/dist/vue2/chunk-QXUST7PY-DxFRymyS.js +486 -0
  32. package/dist/vue2/chunk-QZHKN3VN-D9B5jQvg.js +11 -0
  33. package/dist/vue2/chunk-S3R3BYOJ-Bs_r55Kk.js +1222 -0
  34. package/dist/vue2/chunk-S6J4BHB3-XXfWHJvh.js +19 -0
  35. package/dist/vue2/chunk-T53DSG4Q-CNvqP6Iy.js +24 -0
  36. package/dist/vue2/chunk-TZMSLE5B-C5ccYWGN.js +55 -0
  37. package/dist/vue2/chunk-XAJISQIX-XsDvU4jW.js +135 -0
  38. package/dist/vue2/classDiagram-2ON5EDUG-Cgf9yVXj.js +33 -0
  39. package/dist/vue2/classDiagram-v2-WZHVMYZB-BtF1_0UK.js +33 -0
  40. package/dist/vue2/clone-Bbr3WSpg.js +7 -0
  41. package/dist/vue2/cose-bilkent-S5V4N54A-Cmf6WLkk.js +2250 -0
  42. package/dist/vue2/cytoscape.esm-nrcriBSO.js +18100 -0
  43. package/dist/vue2/dagre-6UL2VRFP-CTl_U96l.js +298 -0
  44. package/dist/vue2/dagre-DUjlMe_B.js +1496 -0
  45. package/dist/vue2/defaultLocale-BLATqOV5.js +177 -0
  46. package/dist/vue2/diagram-PSM6KHXK-Bl7brR-1.js +497 -0
  47. package/dist/vue2/diagram-QEK2KX5R-CAeywSxy.js +226 -0
  48. package/dist/vue2/diagram-S2PKOQOG-6I6J4WRC.js +144 -0
  49. package/dist/vue2/dist-xWJvauxf.js +49 -0
  50. package/dist/vue2/erDiagram-Q2GNP2WA-C8EbfuTj.js +1603 -0
  51. package/dist/vue2/flatten-CfPhNHUL.js +34 -0
  52. package/dist/vue2/flowDiagram-NV44I4VS-lFr4G2WN.js +4132 -0
  53. package/dist/vue2/ganttDiagram-JELNMOA3-Bvtip7yn.js +3010 -0
  54. package/dist/vue2/gitGraph-F6HP7TQM-OQvD95bN.js +7 -0
  55. package/dist/vue2/gitGraphDiagram-NY62KEGX-Cjvy4fHM.js +634 -0
  56. package/dist/vue2/graphlib-KDKEjVHX.js +344 -0
  57. package/dist/vue2/index.es.min.js +26703 -786
  58. package/dist/vue2/index.umd.min.js +2796 -9
  59. package/dist/vue2/info-NVLQJR56-DBsOnIKy.js +7 -0
  60. package/dist/vue2/infoDiagram-WHAUD3N6-D_isj7oC.js +31 -0
  61. package/dist/vue2/init-hAkIK9Bd.js +13 -0
  62. package/dist/vue2/isEmpty-z27q3o-D.js +32 -0
  63. package/dist/vue2/journeyDiagram-XKPGCS4Q-DlXHMS3v.js +885 -0
  64. package/dist/vue2/kanban-definition-3W4ZIXB7-CV6572lv.js +971 -0
  65. package/dist/vue2/katex-CEAw-xiA.js +22097 -0
  66. package/dist/vue2/katex-D8o5-F7C.js +2 -0
  67. package/dist/vue2/line-wvheYP7S.js +30 -0
  68. package/dist/vue2/linear-STTevhnH.js +250 -0
  69. package/dist/vue2/math-DF_v6dOl.js +8 -0
  70. package/dist/vue2/mermaid-parser.core-VAa8Vi1g.js +48 -0
  71. package/dist/vue2/mermaid.core-vqI6KB9k.js +895 -0
  72. package/dist/vue2/mindmap-definition-VGOIOE7T-gtjvHqQ-.js +960 -0
  73. package/dist/vue2/ordinal-DOM6Fa9P.js +61 -0
  74. package/dist/vue2/packet-BFZMPI3H-CG049KmZ.js +7 -0
  75. package/dist/vue2/path-CW_-_Ti7.js +79 -0
  76. package/dist/vue2/pie-7BOR55EZ-BHq0KcLP.js +7 -0
  77. package/dist/vue2/pieDiagram-ADFJNKIX-CTUoM-kp.js +172 -0
  78. package/dist/vue2/purify.es-Cm_tUMzZ.js +547 -0
  79. package/dist/vue2/quadrantDiagram-AYHSOK5B-Njl7BMW7.js +1971 -0
  80. package/dist/vue2/radar-NHE76QYJ-CUoVtrAx.js +7 -0
  81. package/dist/vue2/reduce-BFKSG9Rs.js +451 -0
  82. package/dist/vue2/requirementDiagram-UZGBJVZJ-DKjE3cDK.js +2194 -0
  83. package/dist/vue2/sankeyDiagram-TZEHDZUN-DW2ap3zY.js +885 -0
  84. package/dist/vue2/sequenceDiagram-WL72ISMW-BjMq4OjH.js +3561 -0
  85. package/dist/vue2/src-VlKYSsxJ.js +1975 -0
  86. package/dist/vue2/stateDiagram-FKZM4ZOC-CnvtGM9U.js +224 -0
  87. package/dist/vue2/stateDiagram-v2-4FDKWEC3-C15xi-04.js +32 -0
  88. package/dist/vue2/style.css +1 -1
  89. package/dist/vue2/timeline-definition-IT6M3QCI-C7q6jdLA.js +831 -0
  90. package/dist/vue2/treemap-KMMF4GRG--FdijCcy.js +7 -0
  91. package/dist/vue2/xychartDiagram-PRI3JC2R-UcfQmj72.js +2022 -0
  92. package/dist/vue3/_baseFor-DAbrc8SN.js +309 -0
  93. package/dist/vue3/arc-BqlAOiZb.js +78 -0
  94. package/dist/vue3/architecture-U656AL7Q-Dtuq8BzO.js +7 -0
  95. package/dist/vue3/architectureDiagram-VXUJARFQ-BQS5Ixrn.js +4052 -0
  96. package/dist/vue3/array-TB8zN_HT.js +5 -0
  97. package/dist/vue3/blockDiagram-VD42YOAC-Bp6L6c6e.js +3013 -0
  98. package/dist/vue3/c4Diagram-YG6GDRKO-B15ZDn3Z.js +2956 -0
  99. package/dist/vue3/channel-edTl5mpN.js +3 -0
  100. package/dist/vue3/chunk-4BX2VUAB-eAYYj1bL.js +6 -0
  101. package/dist/vue3/chunk-55IACEB6-CTzuTcHv.js +6 -0
  102. package/dist/vue3/chunk-76Q3JFCE-BrJX66ha.js +19 -0
  103. package/dist/vue3/chunk-ABZYJK2D-gsx40GnJ.js +1971 -0
  104. package/dist/vue3/chunk-ATLVNIR6-CTTwtx-5.js +65 -0
  105. package/dist/vue3/chunk-B4BG7PRW-D8o7VxRH.js +3108 -0
  106. package/dist/vue3/chunk-CVBHYZKI-Cs8lCw3u.js +10 -0
  107. package/dist/vue3/chunk-DI55MBZ5-Dl59YBtR.js +1994 -0
  108. package/dist/vue3/chunk-DNh5sLlG.js +18 -0
  109. package/dist/vue3/chunk-EXTU4WIE-BPc8ye_N.js +7 -0
  110. package/dist/vue3/chunk-FMBD7UC4-PFlLPz_s.js +3 -0
  111. package/dist/vue3/chunk-FPAJGGOC-DPvjUKQ8.js +13428 -0
  112. package/dist/vue3/chunk-FWNWRKHM-BlUTFsPK.js +56 -0
  113. package/dist/vue3/chunk-HN2XXSSU-DueSY85P.js +74 -0
  114. package/dist/vue3/chunk-JA3XYJ7Z-CRet4f6a.js +1845 -0
  115. package/dist/vue3/chunk-JZLCHNYA-Df0-MseJ.js +4861 -0
  116. package/dist/vue3/chunk-LBM3YZW2-B0-w2HZs.js +19 -0
  117. package/dist/vue3/chunk-LHMN2FUI-BOH3yE2u.js +19 -0
  118. package/dist/vue3/chunk-MI3HLSF2-6-T1J0MS.js +1140 -0
  119. package/dist/vue3/chunk-N4CR4FBY-jNnt5D3v.js +39 -0
  120. package/dist/vue3/chunk-O7ZBX7Z2-BEP34BEE.js +26 -0
  121. package/dist/vue3/chunk-QN33PNHL-DsC-XeM9.js +23 -0
  122. package/dist/vue3/chunk-QXUST7PY-DxFRymyS.js +486 -0
  123. package/dist/vue3/chunk-QZHKN3VN-D9B5jQvg.js +11 -0
  124. package/dist/vue3/chunk-S3R3BYOJ-Bs_r55Kk.js +1222 -0
  125. package/dist/vue3/chunk-S6J4BHB3-XXfWHJvh.js +19 -0
  126. package/dist/vue3/chunk-T53DSG4Q-CNvqP6Iy.js +24 -0
  127. package/dist/vue3/chunk-TZMSLE5B-C5ccYWGN.js +55 -0
  128. package/dist/vue3/chunk-XAJISQIX-XsDvU4jW.js +135 -0
  129. package/dist/vue3/classDiagram-2ON5EDUG-Cgf9yVXj.js +33 -0
  130. package/dist/vue3/classDiagram-v2-WZHVMYZB-BtF1_0UK.js +33 -0
  131. package/dist/vue3/clone-Bbr3WSpg.js +7 -0
  132. package/dist/vue3/cose-bilkent-S5V4N54A-Cmf6WLkk.js +2250 -0
  133. package/dist/vue3/cytoscape.esm-nrcriBSO.js +18100 -0
  134. package/dist/vue3/dagre-6UL2VRFP-CTl_U96l.js +298 -0
  135. package/dist/vue3/dagre-DUjlMe_B.js +1496 -0
  136. package/dist/vue3/defaultLocale-BLATqOV5.js +177 -0
  137. package/dist/vue3/diagram-PSM6KHXK-Bl7brR-1.js +497 -0
  138. package/dist/vue3/diagram-QEK2KX5R-CAeywSxy.js +226 -0
  139. package/dist/vue3/diagram-S2PKOQOG-6I6J4WRC.js +144 -0
  140. package/dist/vue3/dist-xWJvauxf.js +49 -0
  141. package/dist/vue3/erDiagram-Q2GNP2WA-C8EbfuTj.js +1603 -0
  142. package/dist/vue3/flatten-CfPhNHUL.js +34 -0
  143. package/dist/vue3/flowDiagram-NV44I4VS-lFr4G2WN.js +4132 -0
  144. package/dist/vue3/ganttDiagram-JELNMOA3-Bvtip7yn.js +3010 -0
  145. package/dist/vue3/gitGraph-F6HP7TQM-OQvD95bN.js +7 -0
  146. package/dist/vue3/gitGraphDiagram-NY62KEGX-Cjvy4fHM.js +634 -0
  147. package/dist/vue3/graphlib-KDKEjVHX.js +344 -0
  148. package/dist/vue3/index.es.min.js +26730 -813
  149. package/dist/vue3/index.umd.min.js +2796 -9
  150. package/dist/vue3/info-NVLQJR56-DBsOnIKy.js +7 -0
  151. package/dist/vue3/infoDiagram-WHAUD3N6-D_isj7oC.js +31 -0
  152. package/dist/vue3/init-hAkIK9Bd.js +13 -0
  153. package/dist/vue3/isEmpty-z27q3o-D.js +32 -0
  154. package/dist/vue3/journeyDiagram-XKPGCS4Q-DlXHMS3v.js +885 -0
  155. package/dist/vue3/kanban-definition-3W4ZIXB7-CV6572lv.js +971 -0
  156. package/dist/vue3/katex-CEAw-xiA.js +22097 -0
  157. package/dist/vue3/katex-D8o5-F7C.js +2 -0
  158. package/dist/vue3/line-wvheYP7S.js +30 -0
  159. package/dist/vue3/linear-STTevhnH.js +250 -0
  160. package/dist/vue3/math-DF_v6dOl.js +8 -0
  161. package/dist/vue3/mermaid-parser.core-VAa8Vi1g.js +48 -0
  162. package/dist/vue3/mermaid.core-vqI6KB9k.js +895 -0
  163. package/dist/vue3/mindmap-definition-VGOIOE7T-gtjvHqQ-.js +960 -0
  164. package/dist/vue3/ordinal-DOM6Fa9P.js +61 -0
  165. package/dist/vue3/packet-BFZMPI3H-CG049KmZ.js +7 -0
  166. package/dist/vue3/path-CW_-_Ti7.js +79 -0
  167. package/dist/vue3/pie-7BOR55EZ-BHq0KcLP.js +7 -0
  168. package/dist/vue3/pieDiagram-ADFJNKIX-CTUoM-kp.js +172 -0
  169. package/dist/vue3/purify.es-Cm_tUMzZ.js +547 -0
  170. package/dist/vue3/quadrantDiagram-AYHSOK5B-Njl7BMW7.js +1971 -0
  171. package/dist/vue3/radar-NHE76QYJ-CUoVtrAx.js +7 -0
  172. package/dist/vue3/reduce-BFKSG9Rs.js +451 -0
  173. package/dist/vue3/requirementDiagram-UZGBJVZJ-DKjE3cDK.js +2194 -0
  174. package/dist/vue3/sankeyDiagram-TZEHDZUN-DW2ap3zY.js +885 -0
  175. package/dist/vue3/sequenceDiagram-WL72ISMW-BjMq4OjH.js +3561 -0
  176. package/dist/vue3/src-VlKYSsxJ.js +1975 -0
  177. package/dist/vue3/stateDiagram-FKZM4ZOC-CnvtGM9U.js +224 -0
  178. package/dist/vue3/stateDiagram-v2-4FDKWEC3-C15xi-04.js +32 -0
  179. package/dist/vue3/style.css +1 -1
  180. package/dist/vue3/timeline-definition-IT6M3QCI-C7q6jdLA.js +831 -0
  181. package/dist/vue3/treemap-KMMF4GRG--FdijCcy.js +7 -0
  182. package/dist/vue3/xychartDiagram-PRI3JC2R-UcfQmj72.js +2022 -0
  183. package/package.json +1 -1
@@ -0,0 +1,3108 @@
1
+ import { g as log, h as __name, p as select_default } from "./src-VlKYSsxJ.js";
2
+ import { A as parseGenericTypes, B as setAccTitle, C as getDiagramTitle, I as sanitizeText, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, s as common_default, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-gsx40GnJ.js";
3
+ import { c as getEdgeId, g as utils_default } from "./chunk-S3R3BYOJ-Bs_r55Kk.js";
4
+ import { t as getIconStyles } from "./chunk-FMBD7UC4-PFlLPz_s.js";
5
+ import { t as getDiagramElement } from "./chunk-55IACEB6-CTzuTcHv.js";
6
+ import { t as setupViewPortForSVG } from "./chunk-QN33PNHL-DsC-XeM9.js";
7
+ import { r as render, t as getRegisteredLayoutAlgorithm } from "./chunk-N4CR4FBY-jNnt5D3v.js";
8
+ var parser = (function() {
9
+ var e = /* @__PURE__ */ __name(function(e, t, n, r) {
10
+ for (n ||= {}, r = e.length; r--; n[e[r]] = t);
11
+ return n;
12
+ }, "o"), n = [1, 18], r = [1, 19], i = [1, 20], a = [1, 41], o = [1, 42], s = [1, 26], 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 = [
13
+ 1,
14
+ 8,
15
+ 9
16
+ ], k = [1, 58], A = [1, 59], j = [1, 60], M = [1, 61], N = [1, 62], P = [1, 63], F = [1, 64], I = [
17
+ 1,
18
+ 8,
19
+ 9,
20
+ 41
21
+ ], ee = [1, 76], L = [
22
+ 1,
23
+ 8,
24
+ 9,
25
+ 12,
26
+ 13,
27
+ 22,
28
+ 39,
29
+ 41,
30
+ 44,
31
+ 68,
32
+ 69,
33
+ 70,
34
+ 71,
35
+ 72,
36
+ 73,
37
+ 74,
38
+ 79,
39
+ 81
40
+ ], R = [
41
+ 1,
42
+ 8,
43
+ 9,
44
+ 12,
45
+ 13,
46
+ 18,
47
+ 20,
48
+ 22,
49
+ 39,
50
+ 41,
51
+ 44,
52
+ 50,
53
+ 60,
54
+ 68,
55
+ 69,
56
+ 70,
57
+ 71,
58
+ 72,
59
+ 73,
60
+ 74,
61
+ 79,
62
+ 81,
63
+ 86,
64
+ 100,
65
+ 102,
66
+ 103
67
+ ], z = [
68
+ 13,
69
+ 60,
70
+ 86,
71
+ 100,
72
+ 102,
73
+ 103
74
+ ], B = [
75
+ 13,
76
+ 60,
77
+ 73,
78
+ 74,
79
+ 86,
80
+ 100,
81
+ 102,
82
+ 103
83
+ ], te = [
84
+ 13,
85
+ 60,
86
+ 68,
87
+ 69,
88
+ 70,
89
+ 71,
90
+ 72,
91
+ 86,
92
+ 100,
93
+ 102,
94
+ 103
95
+ ], V = [1, 100], H = [1, 117], U = [1, 113], W = [1, 109], G = [1, 115], K = [1, 110], q = [1, 111], J = [1, 112], Y = [1, 114], X = [1, 116], ne = [
96
+ 22,
97
+ 48,
98
+ 60,
99
+ 61,
100
+ 82,
101
+ 86,
102
+ 87,
103
+ 88,
104
+ 89,
105
+ 90
106
+ ], re = [
107
+ 1,
108
+ 8,
109
+ 9,
110
+ 39,
111
+ 41,
112
+ 44
113
+ ], Z = [
114
+ 1,
115
+ 8,
116
+ 9,
117
+ 22
118
+ ], ie = [1, 145], ae = [
119
+ 1,
120
+ 8,
121
+ 9,
122
+ 61
123
+ ], Q = [
124
+ 1,
125
+ 8,
126
+ 9,
127
+ 22,
128
+ 48,
129
+ 60,
130
+ 61,
131
+ 82,
132
+ 86,
133
+ 87,
134
+ 88,
135
+ 89,
136
+ 90
137
+ ], oe = {
138
+ trace: /* @__PURE__ */ __name(function() {}, "trace"),
139
+ yy: {},
140
+ symbols_: {
141
+ error: 2,
142
+ start: 3,
143
+ mermaidDoc: 4,
144
+ statements: 5,
145
+ graphConfig: 6,
146
+ CLASS_DIAGRAM: 7,
147
+ NEWLINE: 8,
148
+ EOF: 9,
149
+ statement: 10,
150
+ classLabel: 11,
151
+ SQS: 12,
152
+ STR: 13,
153
+ SQE: 14,
154
+ namespaceName: 15,
155
+ alphaNumToken: 16,
156
+ classLiteralName: 17,
157
+ DOT: 18,
158
+ className: 19,
159
+ GENERICTYPE: 20,
160
+ relationStatement: 21,
161
+ LABEL: 22,
162
+ namespaceStatement: 23,
163
+ classStatement: 24,
164
+ memberStatement: 25,
165
+ annotationStatement: 26,
166
+ clickStatement: 27,
167
+ styleStatement: 28,
168
+ cssClassStatement: 29,
169
+ noteStatement: 30,
170
+ classDefStatement: 31,
171
+ direction: 32,
172
+ acc_title: 33,
173
+ acc_title_value: 34,
174
+ acc_descr: 35,
175
+ acc_descr_value: 36,
176
+ acc_descr_multiline_value: 37,
177
+ namespaceIdentifier: 38,
178
+ STRUCT_START: 39,
179
+ classStatements: 40,
180
+ STRUCT_STOP: 41,
181
+ NAMESPACE: 42,
182
+ classIdentifier: 43,
183
+ STYLE_SEPARATOR: 44,
184
+ members: 45,
185
+ CLASS: 46,
186
+ emptyBody: 47,
187
+ SPACE: 48,
188
+ ANNOTATION_START: 49,
189
+ ANNOTATION_END: 50,
190
+ MEMBER: 51,
191
+ SEPARATOR: 52,
192
+ relation: 53,
193
+ NOTE_FOR: 54,
194
+ noteText: 55,
195
+ NOTE: 56,
196
+ CLASSDEF: 57,
197
+ classList: 58,
198
+ stylesOpt: 59,
199
+ ALPHA: 60,
200
+ COMMA: 61,
201
+ direction_tb: 62,
202
+ direction_bt: 63,
203
+ direction_rl: 64,
204
+ direction_lr: 65,
205
+ relationType: 66,
206
+ lineType: 67,
207
+ AGGREGATION: 68,
208
+ EXTENSION: 69,
209
+ COMPOSITION: 70,
210
+ DEPENDENCY: 71,
211
+ LOLLIPOP: 72,
212
+ LINE: 73,
213
+ DOTTED_LINE: 74,
214
+ CALLBACK: 75,
215
+ LINK: 76,
216
+ LINK_TARGET: 77,
217
+ CLICK: 78,
218
+ CALLBACK_NAME: 79,
219
+ CALLBACK_ARGS: 80,
220
+ HREF: 81,
221
+ STYLE: 82,
222
+ CSSCLASS: 83,
223
+ style: 84,
224
+ styleComponent: 85,
225
+ NUM: 86,
226
+ COLON: 87,
227
+ UNIT: 88,
228
+ BRKT: 89,
229
+ PCT: 90,
230
+ commentToken: 91,
231
+ textToken: 92,
232
+ graphCodeTokens: 93,
233
+ textNoTagsToken: 94,
234
+ TAGSTART: 95,
235
+ TAGEND: 96,
236
+ "==": 97,
237
+ "--": 98,
238
+ DEFAULT: 99,
239
+ MINUS: 100,
240
+ keywords: 101,
241
+ UNICODE_TEXT: 102,
242
+ BQUOTE_STR: 103,
243
+ $accept: 0,
244
+ $end: 1
245
+ },
246
+ terminals_: {
247
+ 2: "error",
248
+ 7: "CLASS_DIAGRAM",
249
+ 8: "NEWLINE",
250
+ 9: "EOF",
251
+ 12: "SQS",
252
+ 13: "STR",
253
+ 14: "SQE",
254
+ 18: "DOT",
255
+ 20: "GENERICTYPE",
256
+ 22: "LABEL",
257
+ 33: "acc_title",
258
+ 34: "acc_title_value",
259
+ 35: "acc_descr",
260
+ 36: "acc_descr_value",
261
+ 37: "acc_descr_multiline_value",
262
+ 39: "STRUCT_START",
263
+ 41: "STRUCT_STOP",
264
+ 42: "NAMESPACE",
265
+ 44: "STYLE_SEPARATOR",
266
+ 46: "CLASS",
267
+ 48: "SPACE",
268
+ 49: "ANNOTATION_START",
269
+ 50: "ANNOTATION_END",
270
+ 51: "MEMBER",
271
+ 52: "SEPARATOR",
272
+ 54: "NOTE_FOR",
273
+ 56: "NOTE",
274
+ 57: "CLASSDEF",
275
+ 60: "ALPHA",
276
+ 61: "COMMA",
277
+ 62: "direction_tb",
278
+ 63: "direction_bt",
279
+ 64: "direction_rl",
280
+ 65: "direction_lr",
281
+ 68: "AGGREGATION",
282
+ 69: "EXTENSION",
283
+ 70: "COMPOSITION",
284
+ 71: "DEPENDENCY",
285
+ 72: "LOLLIPOP",
286
+ 73: "LINE",
287
+ 74: "DOTTED_LINE",
288
+ 75: "CALLBACK",
289
+ 76: "LINK",
290
+ 77: "LINK_TARGET",
291
+ 78: "CLICK",
292
+ 79: "CALLBACK_NAME",
293
+ 80: "CALLBACK_ARGS",
294
+ 81: "HREF",
295
+ 82: "STYLE",
296
+ 83: "CSSCLASS",
297
+ 86: "NUM",
298
+ 87: "COLON",
299
+ 88: "UNIT",
300
+ 89: "BRKT",
301
+ 90: "PCT",
302
+ 93: "graphCodeTokens",
303
+ 95: "TAGSTART",
304
+ 96: "TAGEND",
305
+ 97: "==",
306
+ 98: "--",
307
+ 99: "DEFAULT",
308
+ 100: "MINUS",
309
+ 101: "keywords",
310
+ 102: "UNICODE_TEXT",
311
+ 103: "BQUOTE_STR"
312
+ },
313
+ productions_: [
314
+ 0,
315
+ [3, 1],
316
+ [3, 1],
317
+ [4, 1],
318
+ [6, 4],
319
+ [5, 1],
320
+ [5, 2],
321
+ [5, 3],
322
+ [11, 3],
323
+ [15, 1],
324
+ [15, 1],
325
+ [15, 3],
326
+ [15, 2],
327
+ [19, 1],
328
+ [19, 3],
329
+ [19, 1],
330
+ [19, 2],
331
+ [19, 2],
332
+ [19, 2],
333
+ [10, 1],
334
+ [10, 2],
335
+ [10, 1],
336
+ [10, 1],
337
+ [10, 1],
338
+ [10, 1],
339
+ [10, 1],
340
+ [10, 1],
341
+ [10, 1],
342
+ [10, 1],
343
+ [10, 1],
344
+ [10, 1],
345
+ [10, 2],
346
+ [10, 2],
347
+ [10, 1],
348
+ [23, 4],
349
+ [23, 5],
350
+ [38, 2],
351
+ [40, 1],
352
+ [40, 2],
353
+ [40, 3],
354
+ [24, 1],
355
+ [24, 3],
356
+ [24, 4],
357
+ [24, 3],
358
+ [24, 6],
359
+ [43, 2],
360
+ [43, 3],
361
+ [47, 0],
362
+ [47, 2],
363
+ [47, 2],
364
+ [26, 4],
365
+ [45, 1],
366
+ [45, 2],
367
+ [25, 1],
368
+ [25, 2],
369
+ [25, 1],
370
+ [25, 1],
371
+ [21, 3],
372
+ [21, 4],
373
+ [21, 4],
374
+ [21, 5],
375
+ [30, 3],
376
+ [30, 2],
377
+ [31, 3],
378
+ [58, 1],
379
+ [58, 3],
380
+ [32, 1],
381
+ [32, 1],
382
+ [32, 1],
383
+ [32, 1],
384
+ [53, 3],
385
+ [53, 2],
386
+ [53, 2],
387
+ [53, 1],
388
+ [66, 1],
389
+ [66, 1],
390
+ [66, 1],
391
+ [66, 1],
392
+ [66, 1],
393
+ [67, 1],
394
+ [67, 1],
395
+ [27, 3],
396
+ [27, 4],
397
+ [27, 3],
398
+ [27, 4],
399
+ [27, 4],
400
+ [27, 5],
401
+ [27, 3],
402
+ [27, 4],
403
+ [27, 4],
404
+ [27, 5],
405
+ [27, 4],
406
+ [27, 5],
407
+ [27, 5],
408
+ [27, 6],
409
+ [28, 3],
410
+ [29, 3],
411
+ [59, 1],
412
+ [59, 3],
413
+ [84, 1],
414
+ [84, 2],
415
+ [85, 1],
416
+ [85, 1],
417
+ [85, 1],
418
+ [85, 1],
419
+ [85, 1],
420
+ [85, 1],
421
+ [85, 1],
422
+ [85, 1],
423
+ [85, 1],
424
+ [91, 1],
425
+ [91, 1],
426
+ [92, 1],
427
+ [92, 1],
428
+ [92, 1],
429
+ [92, 1],
430
+ [92, 1],
431
+ [92, 1],
432
+ [92, 1],
433
+ [94, 1],
434
+ [94, 1],
435
+ [94, 1],
436
+ [94, 1],
437
+ [16, 1],
438
+ [16, 1],
439
+ [16, 1],
440
+ [16, 1],
441
+ [17, 1],
442
+ [55, 1]
443
+ ],
444
+ performAction: /* @__PURE__ */ __name(function(e, t, n, r, i, a, o) {
445
+ var s = a.length - 1;
446
+ switch (i) {
447
+ case 8:
448
+ this.$ = a[s - 1];
449
+ break;
450
+ case 9:
451
+ case 10:
452
+ case 13:
453
+ case 15:
454
+ this.$ = a[s];
455
+ break;
456
+ case 11:
457
+ case 14:
458
+ this.$ = a[s - 2] + "." + a[s];
459
+ break;
460
+ case 12:
461
+ case 16:
462
+ this.$ = a[s - 1] + a[s];
463
+ break;
464
+ case 17:
465
+ case 18:
466
+ this.$ = a[s - 1] + "~" + a[s] + "~";
467
+ break;
468
+ case 19:
469
+ r.addRelation(a[s]);
470
+ break;
471
+ case 20:
472
+ a[s - 1].title = r.cleanupLabel(a[s]), r.addRelation(a[s - 1]);
473
+ break;
474
+ case 31:
475
+ this.$ = a[s].trim(), r.setAccTitle(this.$);
476
+ break;
477
+ case 32:
478
+ case 33:
479
+ this.$ = a[s].trim(), r.setAccDescription(this.$);
480
+ break;
481
+ case 34:
482
+ r.addClassesToNamespace(a[s - 3], a[s - 1]);
483
+ break;
484
+ case 35:
485
+ r.addClassesToNamespace(a[s - 4], a[s - 1]);
486
+ break;
487
+ case 36:
488
+ this.$ = a[s], r.addNamespace(a[s]);
489
+ break;
490
+ case 37:
491
+ this.$ = [a[s]];
492
+ break;
493
+ case 38:
494
+ this.$ = [a[s - 1]];
495
+ break;
496
+ case 39:
497
+ a[s].unshift(a[s - 2]), this.$ = a[s];
498
+ break;
499
+ case 41:
500
+ r.setCssClass(a[s - 2], a[s]);
501
+ break;
502
+ case 42:
503
+ r.addMembers(a[s - 3], a[s - 1]);
504
+ break;
505
+ case 44:
506
+ r.setCssClass(a[s - 5], a[s - 3]), r.addMembers(a[s - 5], a[s - 1]);
507
+ break;
508
+ case 45:
509
+ this.$ = a[s], r.addClass(a[s]);
510
+ break;
511
+ case 46:
512
+ this.$ = a[s - 1], r.addClass(a[s - 1]), r.setClassLabel(a[s - 1], a[s]);
513
+ break;
514
+ case 50:
515
+ r.addAnnotation(a[s], a[s - 2]);
516
+ break;
517
+ case 51:
518
+ case 64:
519
+ this.$ = [a[s]];
520
+ break;
521
+ case 52:
522
+ a[s].push(a[s - 1]), this.$ = a[s];
523
+ break;
524
+ case 53: break;
525
+ case 54:
526
+ r.addMember(a[s - 1], r.cleanupLabel(a[s]));
527
+ break;
528
+ case 55: break;
529
+ case 56: break;
530
+ case 57:
531
+ this.$ = {
532
+ id1: a[s - 2],
533
+ id2: a[s],
534
+ relation: a[s - 1],
535
+ relationTitle1: "none",
536
+ relationTitle2: "none"
537
+ };
538
+ break;
539
+ case 58:
540
+ this.$ = {
541
+ id1: a[s - 3],
542
+ id2: a[s],
543
+ relation: a[s - 1],
544
+ relationTitle1: a[s - 2],
545
+ relationTitle2: "none"
546
+ };
547
+ break;
548
+ case 59:
549
+ this.$ = {
550
+ id1: a[s - 3],
551
+ id2: a[s],
552
+ relation: a[s - 2],
553
+ relationTitle1: "none",
554
+ relationTitle2: a[s - 1]
555
+ };
556
+ break;
557
+ case 60:
558
+ this.$ = {
559
+ id1: a[s - 4],
560
+ id2: a[s],
561
+ relation: a[s - 2],
562
+ relationTitle1: a[s - 3],
563
+ relationTitle2: a[s - 1]
564
+ };
565
+ break;
566
+ case 61:
567
+ r.addNote(a[s], a[s - 1]);
568
+ break;
569
+ case 62:
570
+ r.addNote(a[s]);
571
+ break;
572
+ case 63:
573
+ this.$ = a[s - 2], r.defineClass(a[s - 1], a[s]);
574
+ break;
575
+ case 65:
576
+ this.$ = a[s - 2].concat([a[s]]);
577
+ break;
578
+ case 66:
579
+ r.setDirection("TB");
580
+ break;
581
+ case 67:
582
+ r.setDirection("BT");
583
+ break;
584
+ case 68:
585
+ r.setDirection("RL");
586
+ break;
587
+ case 69:
588
+ r.setDirection("LR");
589
+ break;
590
+ case 70:
591
+ this.$ = {
592
+ type1: a[s - 2],
593
+ type2: a[s],
594
+ lineType: a[s - 1]
595
+ };
596
+ break;
597
+ case 71:
598
+ this.$ = {
599
+ type1: "none",
600
+ type2: a[s],
601
+ lineType: a[s - 1]
602
+ };
603
+ break;
604
+ case 72:
605
+ this.$ = {
606
+ type1: a[s - 1],
607
+ type2: "none",
608
+ lineType: a[s]
609
+ };
610
+ break;
611
+ case 73:
612
+ this.$ = {
613
+ type1: "none",
614
+ type2: "none",
615
+ lineType: a[s]
616
+ };
617
+ break;
618
+ case 74:
619
+ this.$ = r.relationType.AGGREGATION;
620
+ break;
621
+ case 75:
622
+ this.$ = r.relationType.EXTENSION;
623
+ break;
624
+ case 76:
625
+ this.$ = r.relationType.COMPOSITION;
626
+ break;
627
+ case 77:
628
+ this.$ = r.relationType.DEPENDENCY;
629
+ break;
630
+ case 78:
631
+ this.$ = r.relationType.LOLLIPOP;
632
+ break;
633
+ case 79:
634
+ this.$ = r.lineType.LINE;
635
+ break;
636
+ case 80:
637
+ this.$ = r.lineType.DOTTED_LINE;
638
+ break;
639
+ case 81:
640
+ case 87:
641
+ this.$ = a[s - 2], r.setClickEvent(a[s - 1], a[s]);
642
+ break;
643
+ case 82:
644
+ case 88:
645
+ this.$ = a[s - 3], r.setClickEvent(a[s - 2], a[s - 1]), r.setTooltip(a[s - 2], a[s]);
646
+ break;
647
+ case 83:
648
+ this.$ = a[s - 2], r.setLink(a[s - 1], a[s]);
649
+ break;
650
+ case 84:
651
+ this.$ = a[s - 3], r.setLink(a[s - 2], a[s - 1], a[s]);
652
+ break;
653
+ case 85:
654
+ this.$ = a[s - 3], r.setLink(a[s - 2], a[s - 1]), r.setTooltip(a[s - 2], a[s]);
655
+ break;
656
+ case 86:
657
+ this.$ = a[s - 4], r.setLink(a[s - 3], a[s - 2], a[s]), r.setTooltip(a[s - 3], a[s - 1]);
658
+ break;
659
+ case 89:
660
+ this.$ = a[s - 3], r.setClickEvent(a[s - 2], a[s - 1], a[s]);
661
+ break;
662
+ case 90:
663
+ this.$ = a[s - 4], r.setClickEvent(a[s - 3], a[s - 2], a[s - 1]), r.setTooltip(a[s - 3], a[s]);
664
+ break;
665
+ case 91:
666
+ this.$ = a[s - 3], r.setLink(a[s - 2], a[s]);
667
+ break;
668
+ case 92:
669
+ this.$ = a[s - 4], r.setLink(a[s - 3], a[s - 1], a[s]);
670
+ break;
671
+ case 93:
672
+ this.$ = a[s - 4], r.setLink(a[s - 3], a[s - 1]), r.setTooltip(a[s - 3], a[s]);
673
+ break;
674
+ case 94:
675
+ this.$ = a[s - 5], r.setLink(a[s - 4], a[s - 2], a[s]), r.setTooltip(a[s - 4], a[s - 1]);
676
+ break;
677
+ case 95:
678
+ this.$ = a[s - 2], r.setCssStyle(a[s - 1], a[s]);
679
+ break;
680
+ case 96:
681
+ r.setCssClass(a[s - 1], a[s]);
682
+ break;
683
+ case 97:
684
+ this.$ = [a[s]];
685
+ break;
686
+ case 98:
687
+ a[s - 2].push(a[s]), this.$ = a[s - 2];
688
+ break;
689
+ case 100:
690
+ this.$ = a[s - 1] + a[s];
691
+ break;
692
+ }
693
+ }, "anonymous"),
694
+ table: [
695
+ {
696
+ 3: 1,
697
+ 4: 2,
698
+ 5: 3,
699
+ 6: 4,
700
+ 7: [1, 6],
701
+ 10: 5,
702
+ 16: 39,
703
+ 17: 40,
704
+ 19: 21,
705
+ 21: 7,
706
+ 23: 8,
707
+ 24: 9,
708
+ 25: 10,
709
+ 26: 11,
710
+ 27: 12,
711
+ 28: 13,
712
+ 29: 14,
713
+ 30: 15,
714
+ 31: 16,
715
+ 32: 17,
716
+ 33: n,
717
+ 35: r,
718
+ 37: i,
719
+ 38: 22,
720
+ 42: a,
721
+ 43: 23,
722
+ 46: o,
723
+ 49: s,
724
+ 51: c,
725
+ 52: l,
726
+ 54: u,
727
+ 56: d,
728
+ 57: f,
729
+ 60: p,
730
+ 62: m,
731
+ 63: h,
732
+ 64: g,
733
+ 65: _,
734
+ 75: v,
735
+ 76: y,
736
+ 78: b,
737
+ 82: x,
738
+ 83: S,
739
+ 86: C,
740
+ 100: w,
741
+ 102: T,
742
+ 103: E
743
+ },
744
+ { 1: [3] },
745
+ { 1: [2, 1] },
746
+ { 1: [2, 2] },
747
+ { 1: [2, 3] },
748
+ e(D, [2, 5], { 8: [1, 48] }),
749
+ { 8: [1, 49] },
750
+ e(O, [2, 19], { 22: [1, 50] }),
751
+ e(O, [2, 21]),
752
+ e(O, [2, 22]),
753
+ e(O, [2, 23]),
754
+ e(O, [2, 24]),
755
+ e(O, [2, 25]),
756
+ e(O, [2, 26]),
757
+ e(O, [2, 27]),
758
+ e(O, [2, 28]),
759
+ e(O, [2, 29]),
760
+ e(O, [2, 30]),
761
+ { 34: [1, 51] },
762
+ { 36: [1, 52] },
763
+ e(O, [2, 33]),
764
+ e(O, [2, 53], {
765
+ 53: 53,
766
+ 66: 56,
767
+ 67: 57,
768
+ 13: [1, 54],
769
+ 22: [1, 55],
770
+ 68: k,
771
+ 69: A,
772
+ 70: j,
773
+ 71: M,
774
+ 72: N,
775
+ 73: P,
776
+ 74: F
777
+ }),
778
+ { 39: [1, 65] },
779
+ e(I, [2, 40], {
780
+ 39: [1, 67],
781
+ 44: [1, 66]
782
+ }),
783
+ e(O, [2, 55]),
784
+ e(O, [2, 56]),
785
+ {
786
+ 16: 68,
787
+ 60: p,
788
+ 86: C,
789
+ 100: w,
790
+ 102: T
791
+ },
792
+ {
793
+ 16: 39,
794
+ 17: 40,
795
+ 19: 69,
796
+ 60: p,
797
+ 86: C,
798
+ 100: w,
799
+ 102: T,
800
+ 103: E
801
+ },
802
+ {
803
+ 16: 39,
804
+ 17: 40,
805
+ 19: 70,
806
+ 60: p,
807
+ 86: C,
808
+ 100: w,
809
+ 102: T,
810
+ 103: E
811
+ },
812
+ {
813
+ 16: 39,
814
+ 17: 40,
815
+ 19: 71,
816
+ 60: p,
817
+ 86: C,
818
+ 100: w,
819
+ 102: T,
820
+ 103: E
821
+ },
822
+ { 60: [1, 72] },
823
+ { 13: [1, 73] },
824
+ {
825
+ 16: 39,
826
+ 17: 40,
827
+ 19: 74,
828
+ 60: p,
829
+ 86: C,
830
+ 100: w,
831
+ 102: T,
832
+ 103: E
833
+ },
834
+ {
835
+ 13: ee,
836
+ 55: 75
837
+ },
838
+ {
839
+ 58: 77,
840
+ 60: [1, 78]
841
+ },
842
+ e(O, [2, 66]),
843
+ e(O, [2, 67]),
844
+ e(O, [2, 68]),
845
+ e(O, [2, 69]),
846
+ e(L, [2, 13], {
847
+ 16: 39,
848
+ 17: 40,
849
+ 19: 80,
850
+ 18: [1, 79],
851
+ 20: [1, 81],
852
+ 60: p,
853
+ 86: C,
854
+ 100: w,
855
+ 102: T,
856
+ 103: E
857
+ }),
858
+ e(L, [2, 15], { 20: [1, 82] }),
859
+ {
860
+ 15: 83,
861
+ 16: 84,
862
+ 17: 85,
863
+ 60: p,
864
+ 86: C,
865
+ 100: w,
866
+ 102: T,
867
+ 103: E
868
+ },
869
+ {
870
+ 16: 39,
871
+ 17: 40,
872
+ 19: 86,
873
+ 60: p,
874
+ 86: C,
875
+ 100: w,
876
+ 102: T,
877
+ 103: E
878
+ },
879
+ e(R, [2, 123]),
880
+ e(R, [2, 124]),
881
+ e(R, [2, 125]),
882
+ e(R, [2, 126]),
883
+ e([
884
+ 1,
885
+ 8,
886
+ 9,
887
+ 12,
888
+ 13,
889
+ 20,
890
+ 22,
891
+ 39,
892
+ 41,
893
+ 44,
894
+ 68,
895
+ 69,
896
+ 70,
897
+ 71,
898
+ 72,
899
+ 73,
900
+ 74,
901
+ 79,
902
+ 81
903
+ ], [2, 127]),
904
+ e(D, [2, 6], {
905
+ 10: 5,
906
+ 21: 7,
907
+ 23: 8,
908
+ 24: 9,
909
+ 25: 10,
910
+ 26: 11,
911
+ 27: 12,
912
+ 28: 13,
913
+ 29: 14,
914
+ 30: 15,
915
+ 31: 16,
916
+ 32: 17,
917
+ 19: 21,
918
+ 38: 22,
919
+ 43: 23,
920
+ 16: 39,
921
+ 17: 40,
922
+ 5: 87,
923
+ 33: n,
924
+ 35: r,
925
+ 37: i,
926
+ 42: a,
927
+ 46: o,
928
+ 49: s,
929
+ 51: c,
930
+ 52: l,
931
+ 54: u,
932
+ 56: d,
933
+ 57: f,
934
+ 60: p,
935
+ 62: m,
936
+ 63: h,
937
+ 64: g,
938
+ 65: _,
939
+ 75: v,
940
+ 76: y,
941
+ 78: b,
942
+ 82: x,
943
+ 83: S,
944
+ 86: C,
945
+ 100: w,
946
+ 102: T,
947
+ 103: E
948
+ }),
949
+ {
950
+ 5: 88,
951
+ 10: 5,
952
+ 16: 39,
953
+ 17: 40,
954
+ 19: 21,
955
+ 21: 7,
956
+ 23: 8,
957
+ 24: 9,
958
+ 25: 10,
959
+ 26: 11,
960
+ 27: 12,
961
+ 28: 13,
962
+ 29: 14,
963
+ 30: 15,
964
+ 31: 16,
965
+ 32: 17,
966
+ 33: n,
967
+ 35: r,
968
+ 37: i,
969
+ 38: 22,
970
+ 42: a,
971
+ 43: 23,
972
+ 46: o,
973
+ 49: s,
974
+ 51: c,
975
+ 52: l,
976
+ 54: u,
977
+ 56: d,
978
+ 57: f,
979
+ 60: p,
980
+ 62: m,
981
+ 63: h,
982
+ 64: g,
983
+ 65: _,
984
+ 75: v,
985
+ 76: y,
986
+ 78: b,
987
+ 82: x,
988
+ 83: S,
989
+ 86: C,
990
+ 100: w,
991
+ 102: T,
992
+ 103: E
993
+ },
994
+ e(O, [2, 20]),
995
+ e(O, [2, 31]),
996
+ e(O, [2, 32]),
997
+ {
998
+ 13: [1, 90],
999
+ 16: 39,
1000
+ 17: 40,
1001
+ 19: 89,
1002
+ 60: p,
1003
+ 86: C,
1004
+ 100: w,
1005
+ 102: T,
1006
+ 103: E
1007
+ },
1008
+ {
1009
+ 53: 91,
1010
+ 66: 56,
1011
+ 67: 57,
1012
+ 68: k,
1013
+ 69: A,
1014
+ 70: j,
1015
+ 71: M,
1016
+ 72: N,
1017
+ 73: P,
1018
+ 74: F
1019
+ },
1020
+ e(O, [2, 54]),
1021
+ {
1022
+ 67: 92,
1023
+ 73: P,
1024
+ 74: F
1025
+ },
1026
+ e(z, [2, 73], {
1027
+ 66: 93,
1028
+ 68: k,
1029
+ 69: A,
1030
+ 70: j,
1031
+ 71: M,
1032
+ 72: N
1033
+ }),
1034
+ e(B, [2, 74]),
1035
+ e(B, [2, 75]),
1036
+ e(B, [2, 76]),
1037
+ e(B, [2, 77]),
1038
+ e(B, [2, 78]),
1039
+ e(te, [2, 79]),
1040
+ e(te, [2, 80]),
1041
+ {
1042
+ 8: [1, 95],
1043
+ 24: 96,
1044
+ 40: 94,
1045
+ 43: 23,
1046
+ 46: o
1047
+ },
1048
+ {
1049
+ 16: 97,
1050
+ 60: p,
1051
+ 86: C,
1052
+ 100: w,
1053
+ 102: T
1054
+ },
1055
+ {
1056
+ 41: [1, 99],
1057
+ 45: 98,
1058
+ 51: V
1059
+ },
1060
+ { 50: [1, 101] },
1061
+ { 13: [1, 102] },
1062
+ { 13: [1, 103] },
1063
+ {
1064
+ 79: [1, 104],
1065
+ 81: [1, 105]
1066
+ },
1067
+ {
1068
+ 22: H,
1069
+ 48: U,
1070
+ 59: 106,
1071
+ 60: W,
1072
+ 82: G,
1073
+ 84: 107,
1074
+ 85: 108,
1075
+ 86: K,
1076
+ 87: q,
1077
+ 88: J,
1078
+ 89: Y,
1079
+ 90: X
1080
+ },
1081
+ { 60: [1, 118] },
1082
+ {
1083
+ 13: ee,
1084
+ 55: 119
1085
+ },
1086
+ e(O, [2, 62]),
1087
+ e(O, [2, 128]),
1088
+ {
1089
+ 22: H,
1090
+ 48: U,
1091
+ 59: 120,
1092
+ 60: W,
1093
+ 61: [1, 121],
1094
+ 82: G,
1095
+ 84: 107,
1096
+ 85: 108,
1097
+ 86: K,
1098
+ 87: q,
1099
+ 88: J,
1100
+ 89: Y,
1101
+ 90: X
1102
+ },
1103
+ e(ne, [2, 64]),
1104
+ {
1105
+ 16: 39,
1106
+ 17: 40,
1107
+ 19: 122,
1108
+ 60: p,
1109
+ 86: C,
1110
+ 100: w,
1111
+ 102: T,
1112
+ 103: E
1113
+ },
1114
+ e(L, [2, 16]),
1115
+ e(L, [2, 17]),
1116
+ e(L, [2, 18]),
1117
+ { 39: [2, 36] },
1118
+ {
1119
+ 15: 124,
1120
+ 16: 84,
1121
+ 17: 85,
1122
+ 18: [1, 123],
1123
+ 39: [2, 9],
1124
+ 60: p,
1125
+ 86: C,
1126
+ 100: w,
1127
+ 102: T,
1128
+ 103: E
1129
+ },
1130
+ { 39: [2, 10] },
1131
+ e(re, [2, 45], {
1132
+ 11: 125,
1133
+ 12: [1, 126]
1134
+ }),
1135
+ e(D, [2, 7]),
1136
+ { 9: [1, 127] },
1137
+ e(Z, [2, 57]),
1138
+ {
1139
+ 16: 39,
1140
+ 17: 40,
1141
+ 19: 128,
1142
+ 60: p,
1143
+ 86: C,
1144
+ 100: w,
1145
+ 102: T,
1146
+ 103: E
1147
+ },
1148
+ {
1149
+ 13: [1, 130],
1150
+ 16: 39,
1151
+ 17: 40,
1152
+ 19: 129,
1153
+ 60: p,
1154
+ 86: C,
1155
+ 100: w,
1156
+ 102: T,
1157
+ 103: E
1158
+ },
1159
+ e(z, [2, 72], {
1160
+ 66: 131,
1161
+ 68: k,
1162
+ 69: A,
1163
+ 70: j,
1164
+ 71: M,
1165
+ 72: N
1166
+ }),
1167
+ e(z, [2, 71]),
1168
+ { 41: [1, 132] },
1169
+ {
1170
+ 24: 96,
1171
+ 40: 133,
1172
+ 43: 23,
1173
+ 46: o
1174
+ },
1175
+ {
1176
+ 8: [1, 134],
1177
+ 41: [2, 37]
1178
+ },
1179
+ e(I, [2, 41], { 39: [1, 135] }),
1180
+ { 41: [1, 136] },
1181
+ e(I, [2, 43]),
1182
+ {
1183
+ 41: [2, 51],
1184
+ 45: 137,
1185
+ 51: V
1186
+ },
1187
+ {
1188
+ 16: 39,
1189
+ 17: 40,
1190
+ 19: 138,
1191
+ 60: p,
1192
+ 86: C,
1193
+ 100: w,
1194
+ 102: T,
1195
+ 103: E
1196
+ },
1197
+ e(O, [2, 81], { 13: [1, 139] }),
1198
+ e(O, [2, 83], {
1199
+ 13: [1, 141],
1200
+ 77: [1, 140]
1201
+ }),
1202
+ e(O, [2, 87], {
1203
+ 13: [1, 142],
1204
+ 80: [1, 143]
1205
+ }),
1206
+ { 13: [1, 144] },
1207
+ e(O, [2, 95], { 61: ie }),
1208
+ e(ae, [2, 97], {
1209
+ 85: 146,
1210
+ 22: H,
1211
+ 48: U,
1212
+ 60: W,
1213
+ 82: G,
1214
+ 86: K,
1215
+ 87: q,
1216
+ 88: J,
1217
+ 89: Y,
1218
+ 90: X
1219
+ }),
1220
+ e(Q, [2, 99]),
1221
+ e(Q, [2, 101]),
1222
+ e(Q, [2, 102]),
1223
+ e(Q, [2, 103]),
1224
+ e(Q, [2, 104]),
1225
+ e(Q, [2, 105]),
1226
+ e(Q, [2, 106]),
1227
+ e(Q, [2, 107]),
1228
+ e(Q, [2, 108]),
1229
+ e(Q, [2, 109]),
1230
+ e(O, [2, 96]),
1231
+ e(O, [2, 61]),
1232
+ e(O, [2, 63], { 61: ie }),
1233
+ { 60: [1, 147] },
1234
+ e(L, [2, 14]),
1235
+ {
1236
+ 15: 148,
1237
+ 16: 84,
1238
+ 17: 85,
1239
+ 60: p,
1240
+ 86: C,
1241
+ 100: w,
1242
+ 102: T,
1243
+ 103: E
1244
+ },
1245
+ { 39: [2, 12] },
1246
+ e(re, [2, 46]),
1247
+ { 13: [1, 149] },
1248
+ { 1: [2, 4] },
1249
+ e(Z, [2, 59]),
1250
+ e(Z, [2, 58]),
1251
+ {
1252
+ 16: 39,
1253
+ 17: 40,
1254
+ 19: 150,
1255
+ 60: p,
1256
+ 86: C,
1257
+ 100: w,
1258
+ 102: T,
1259
+ 103: E
1260
+ },
1261
+ e(z, [2, 70]),
1262
+ e(O, [2, 34]),
1263
+ { 41: [1, 151] },
1264
+ {
1265
+ 24: 96,
1266
+ 40: 152,
1267
+ 41: [2, 38],
1268
+ 43: 23,
1269
+ 46: o
1270
+ },
1271
+ {
1272
+ 45: 153,
1273
+ 51: V
1274
+ },
1275
+ e(I, [2, 42]),
1276
+ { 41: [2, 52] },
1277
+ e(O, [2, 50]),
1278
+ e(O, [2, 82]),
1279
+ e(O, [2, 84]),
1280
+ e(O, [2, 85], { 77: [1, 154] }),
1281
+ e(O, [2, 88]),
1282
+ e(O, [2, 89], { 13: [1, 155] }),
1283
+ e(O, [2, 91], {
1284
+ 13: [1, 157],
1285
+ 77: [1, 156]
1286
+ }),
1287
+ {
1288
+ 22: H,
1289
+ 48: U,
1290
+ 60: W,
1291
+ 82: G,
1292
+ 84: 158,
1293
+ 85: 108,
1294
+ 86: K,
1295
+ 87: q,
1296
+ 88: J,
1297
+ 89: Y,
1298
+ 90: X
1299
+ },
1300
+ e(Q, [2, 100]),
1301
+ e(ne, [2, 65]),
1302
+ { 39: [2, 11] },
1303
+ { 14: [1, 159] },
1304
+ e(Z, [2, 60]),
1305
+ e(O, [2, 35]),
1306
+ { 41: [2, 39] },
1307
+ { 41: [1, 160] },
1308
+ e(O, [2, 86]),
1309
+ e(O, [2, 90]),
1310
+ e(O, [2, 92]),
1311
+ e(O, [2, 93], { 77: [1, 161] }),
1312
+ e(ae, [2, 98], {
1313
+ 85: 146,
1314
+ 22: H,
1315
+ 48: U,
1316
+ 60: W,
1317
+ 82: G,
1318
+ 86: K,
1319
+ 87: q,
1320
+ 88: J,
1321
+ 89: Y,
1322
+ 90: X
1323
+ }),
1324
+ e(re, [2, 8]),
1325
+ e(I, [2, 44]),
1326
+ e(O, [2, 94])
1327
+ ],
1328
+ defaultActions: {
1329
+ 2: [2, 1],
1330
+ 3: [2, 2],
1331
+ 4: [2, 3],
1332
+ 83: [2, 36],
1333
+ 85: [2, 10],
1334
+ 124: [2, 12],
1335
+ 127: [2, 4],
1336
+ 137: [2, 52],
1337
+ 148: [2, 11],
1338
+ 152: [2, 39]
1339
+ },
1340
+ parseError: /* @__PURE__ */ __name(function(e, t) {
1341
+ if (t.recoverable) this.trace(e);
1342
+ else {
1343
+ var n = Error(e);
1344
+ throw n.hash = t, n;
1345
+ }
1346
+ }, "parseError"),
1347
+ parse: /* @__PURE__ */ __name(function(e) {
1348
+ 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: {} };
1349
+ for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
1350
+ h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
1351
+ var v = h.yylloc;
1352
+ o.push(v);
1353
+ var y = h.options && h.options.ranges;
1354
+ typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1355
+ function b(e) {
1356
+ r.length -= 2 * e, a.length -= e, o.length -= e;
1357
+ }
1358
+ __name(b, "popStack");
1359
+ function x() {
1360
+ var e = i.pop() || h.lex() || p;
1361
+ return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
1362
+ }
1363
+ __name(x, "lex");
1364
+ for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
1365
+ 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]) {
1366
+ var M = "";
1367
+ for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
1368
+ 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, {
1369
+ text: h.match,
1370
+ token: this.terminals_[S] || S,
1371
+ line: h.yylineno,
1372
+ loc: v,
1373
+ expected: j
1374
+ });
1375
+ }
1376
+ if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
1377
+ switch (T[0]) {
1378
+ case 1:
1379
+ 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--);
1380
+ break;
1381
+ case 2:
1382
+ if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
1383
+ first_line: o[o.length - (k || 1)].first_line,
1384
+ last_line: o[o.length - 1].last_line,
1385
+ first_column: o[o.length - (k || 1)].first_column,
1386
+ last_column: o[o.length - 1].last_column
1387
+ }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
1388
+ c,
1389
+ u,
1390
+ l,
1391
+ g.yy,
1392
+ T[1],
1393
+ a,
1394
+ o
1395
+ ].concat(m)), E !== void 0) return E;
1396
+ 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);
1397
+ break;
1398
+ case 3: return !0;
1399
+ }
1400
+ }
1401
+ return !0;
1402
+ }, "parse")
1403
+ };
1404
+ oe.lexer = /* @__PURE__ */ (function() {
1405
+ return {
1406
+ EOF: 1,
1407
+ parseError: /* @__PURE__ */ __name(function(e, t) {
1408
+ if (this.yy.parser) this.yy.parser.parseError(e, t);
1409
+ else throw Error(e);
1410
+ }, "parseError"),
1411
+ setInput: /* @__PURE__ */ __name(function(e, t) {
1412
+ 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 = {
1413
+ first_line: 1,
1414
+ first_column: 0,
1415
+ last_line: 1,
1416
+ last_column: 0
1417
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1418
+ }, "setInput"),
1419
+ input: /* @__PURE__ */ __name(function() {
1420
+ var e = this._input[0];
1421
+ 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;
1422
+ }, "input"),
1423
+ unput: /* @__PURE__ */ __name(function(e) {
1424
+ var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
1425
+ this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
1426
+ var r = this.match.split(/(?:\r\n?|\n)/g);
1427
+ 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);
1428
+ var i = this.yylloc.range;
1429
+ return this.yylloc = {
1430
+ first_line: this.yylloc.first_line,
1431
+ last_line: this.yylineno + 1,
1432
+ first_column: this.yylloc.first_column,
1433
+ 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
1434
+ }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
1435
+ }, "unput"),
1436
+ more: /* @__PURE__ */ __name(function() {
1437
+ return this._more = !0, this;
1438
+ }, "more"),
1439
+ reject: /* @__PURE__ */ __name(function() {
1440
+ if (this.options.backtrack_lexer) this._backtrack = !0;
1441
+ 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(), {
1442
+ text: "",
1443
+ token: null,
1444
+ line: this.yylineno
1445
+ });
1446
+ return this;
1447
+ }, "reject"),
1448
+ less: /* @__PURE__ */ __name(function(e) {
1449
+ this.unput(this.match.slice(e));
1450
+ }, "less"),
1451
+ pastInput: /* @__PURE__ */ __name(function() {
1452
+ var e = this.matched.substr(0, this.matched.length - this.match.length);
1453
+ return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
1454
+ }, "pastInput"),
1455
+ upcomingInput: /* @__PURE__ */ __name(function() {
1456
+ var e = this.match;
1457
+ return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
1458
+ }, "upcomingInput"),
1459
+ showPosition: /* @__PURE__ */ __name(function() {
1460
+ var e = this.pastInput(), t = Array(e.length + 1).join("-");
1461
+ return e + this.upcomingInput() + "\n" + t + "^";
1462
+ }, "showPosition"),
1463
+ test_match: /* @__PURE__ */ __name(function(e, t) {
1464
+ var n, r, i;
1465
+ if (this.options.backtrack_lexer && (i = {
1466
+ yylineno: this.yylineno,
1467
+ yylloc: {
1468
+ first_line: this.yylloc.first_line,
1469
+ last_line: this.last_line,
1470
+ first_column: this.yylloc.first_column,
1471
+ last_column: this.yylloc.last_column
1472
+ },
1473
+ yytext: this.yytext,
1474
+ match: this.match,
1475
+ matches: this.matches,
1476
+ matched: this.matched,
1477
+ yyleng: this.yyleng,
1478
+ offset: this.offset,
1479
+ _more: this._more,
1480
+ _input: this._input,
1481
+ yy: this.yy,
1482
+ conditionStack: this.conditionStack.slice(0),
1483
+ done: this.done
1484
+ }, 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 = {
1485
+ first_line: this.yylloc.last_line,
1486
+ last_line: this.yylineno + 1,
1487
+ first_column: this.yylloc.last_column,
1488
+ last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
1489
+ }, 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;
1490
+ if (this._backtrack) {
1491
+ for (var a in i) this[a] = i[a];
1492
+ return !1;
1493
+ }
1494
+ return !1;
1495
+ }, "test_match"),
1496
+ next: /* @__PURE__ */ __name(function() {
1497
+ if (this.done) return this.EOF;
1498
+ this._input || (this.done = !0);
1499
+ var e, t, n, r;
1500
+ this._more || (this.yytext = "", this.match = "");
1501
+ 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)) {
1502
+ if (t = n, r = a, this.options.backtrack_lexer) {
1503
+ if (e = this.test_match(n, i[a]), e !== !1) return e;
1504
+ if (this._backtrack) {
1505
+ t = !1;
1506
+ continue;
1507
+ } else return !1;
1508
+ } else if (!this.options.flex) break;
1509
+ }
1510
+ 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(), {
1511
+ text: "",
1512
+ token: null,
1513
+ line: this.yylineno
1514
+ });
1515
+ }, "next"),
1516
+ lex: /* @__PURE__ */ __name(function() {
1517
+ return this.next() || this.lex();
1518
+ }, "lex"),
1519
+ begin: /* @__PURE__ */ __name(function(e) {
1520
+ this.conditionStack.push(e);
1521
+ }, "begin"),
1522
+ popState: /* @__PURE__ */ __name(function() {
1523
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1524
+ }, "popState"),
1525
+ _currentRules: /* @__PURE__ */ __name(function() {
1526
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1527
+ }, "_currentRules"),
1528
+ topState: /* @__PURE__ */ __name(function(e) {
1529
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
1530
+ }, "topState"),
1531
+ pushState: /* @__PURE__ */ __name(function(e) {
1532
+ this.begin(e);
1533
+ }, "pushState"),
1534
+ stateStackSize: /* @__PURE__ */ __name(function() {
1535
+ return this.conditionStack.length;
1536
+ }, "stateStackSize"),
1537
+ options: {},
1538
+ performAction: /* @__PURE__ */ __name(function(e, t, n, r) {
1539
+ switch (n) {
1540
+ case 0: return 62;
1541
+ case 1: return 63;
1542
+ case 2: return 64;
1543
+ case 3: return 65;
1544
+ case 4: break;
1545
+ case 5: break;
1546
+ case 6: return this.begin("acc_title"), 33;
1547
+ case 7: return this.popState(), "acc_title_value";
1548
+ case 8: return this.begin("acc_descr"), 35;
1549
+ case 9: return this.popState(), "acc_descr_value";
1550
+ case 10:
1551
+ this.begin("acc_descr_multiline");
1552
+ break;
1553
+ case 11:
1554
+ this.popState();
1555
+ break;
1556
+ case 12: return "acc_descr_multiline_value";
1557
+ case 13: return 8;
1558
+ case 14: break;
1559
+ case 15: return 7;
1560
+ case 16: return 7;
1561
+ case 17: return "EDGE_STATE";
1562
+ case 18:
1563
+ this.begin("callback_name");
1564
+ break;
1565
+ case 19:
1566
+ this.popState();
1567
+ break;
1568
+ case 20:
1569
+ this.popState(), this.begin("callback_args");
1570
+ break;
1571
+ case 21: return 79;
1572
+ case 22:
1573
+ this.popState();
1574
+ break;
1575
+ case 23: return 80;
1576
+ case 24:
1577
+ this.popState();
1578
+ break;
1579
+ case 25: return "STR";
1580
+ case 26:
1581
+ this.begin("string");
1582
+ break;
1583
+ case 27: return 82;
1584
+ case 28: return 57;
1585
+ case 29: return this.begin("namespace"), 42;
1586
+ case 30: return this.popState(), 8;
1587
+ case 31: break;
1588
+ case 32: return this.begin("namespace-body"), 39;
1589
+ case 33: return this.popState(), 41;
1590
+ case 34: return "EOF_IN_STRUCT";
1591
+ case 35: return 8;
1592
+ case 36: break;
1593
+ case 37: return "EDGE_STATE";
1594
+ case 38: return this.begin("class"), 46;
1595
+ case 39: return this.popState(), 8;
1596
+ case 40: break;
1597
+ case 41: return this.popState(), this.popState(), 41;
1598
+ case 42: return this.begin("class-body"), 39;
1599
+ case 43: return this.popState(), 41;
1600
+ case 44: return "EOF_IN_STRUCT";
1601
+ case 45: return "EDGE_STATE";
1602
+ case 46: return "OPEN_IN_STRUCT";
1603
+ case 47: break;
1604
+ case 48: return "MEMBER";
1605
+ case 49: return 83;
1606
+ case 50: return 75;
1607
+ case 51: return 76;
1608
+ case 52: return 78;
1609
+ case 53: return 54;
1610
+ case 54: return 56;
1611
+ case 55: return 49;
1612
+ case 56: return 50;
1613
+ case 57: return 81;
1614
+ case 58:
1615
+ this.popState();
1616
+ break;
1617
+ case 59: return "GENERICTYPE";
1618
+ case 60:
1619
+ this.begin("generic");
1620
+ break;
1621
+ case 61:
1622
+ this.popState();
1623
+ break;
1624
+ case 62: return "BQUOTE_STR";
1625
+ case 63:
1626
+ this.begin("bqstring");
1627
+ break;
1628
+ case 64: return 77;
1629
+ case 65: return 77;
1630
+ case 66: return 77;
1631
+ case 67: return 77;
1632
+ case 68: return 69;
1633
+ case 69: return 69;
1634
+ case 70: return 71;
1635
+ case 71: return 71;
1636
+ case 72: return 70;
1637
+ case 73: return 68;
1638
+ case 74: return 72;
1639
+ case 75: return 73;
1640
+ case 76: return 74;
1641
+ case 77: return 22;
1642
+ case 78: return 44;
1643
+ case 79: return 100;
1644
+ case 80: return 18;
1645
+ case 81: return "PLUS";
1646
+ case 82: return 87;
1647
+ case 83: return 61;
1648
+ case 84: return 89;
1649
+ case 85: return 89;
1650
+ case 86: return 90;
1651
+ case 87: return "EQUALS";
1652
+ case 88: return "EQUALS";
1653
+ case 89: return 60;
1654
+ case 90: return 12;
1655
+ case 91: return 14;
1656
+ case 92: return "PUNCTUATION";
1657
+ case 93: return 86;
1658
+ case 94: return 102;
1659
+ case 95: return 48;
1660
+ case 96: return 48;
1661
+ case 97: return 9;
1662
+ }
1663
+ }, "anonymous"),
1664
+ rules: [
1665
+ /^(?:.*direction\s+TB[^\n]*)/,
1666
+ /^(?:.*direction\s+BT[^\n]*)/,
1667
+ /^(?:.*direction\s+RL[^\n]*)/,
1668
+ /^(?:.*direction\s+LR[^\n]*)/,
1669
+ /^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,
1670
+ /^(?:%%[^\n]*(\r?\n)*)/,
1671
+ /^(?:accTitle\s*:\s*)/,
1672
+ /^(?:(?!\n||)*[^\n]*)/,
1673
+ /^(?:accDescr\s*:\s*)/,
1674
+ /^(?:(?!\n||)*[^\n]*)/,
1675
+ /^(?:accDescr\s*\{\s*)/,
1676
+ /^(?:[\}])/,
1677
+ /^(?:[^\}]*)/,
1678
+ /^(?:\s*(\r?\n)+)/,
1679
+ /^(?:\s+)/,
1680
+ /^(?:classDiagram-v2\b)/,
1681
+ /^(?:classDiagram\b)/,
1682
+ /^(?:\[\*\])/,
1683
+ /^(?:call[\s]+)/,
1684
+ /^(?:\([\s]*\))/,
1685
+ /^(?:\()/,
1686
+ /^(?:[^(]*)/,
1687
+ /^(?:\))/,
1688
+ /^(?:[^)]*)/,
1689
+ /^(?:["])/,
1690
+ /^(?:[^"]*)/,
1691
+ /^(?:["])/,
1692
+ /^(?:style\b)/,
1693
+ /^(?:classDef\b)/,
1694
+ /^(?:namespace\b)/,
1695
+ /^(?:\s*(\r?\n)+)/,
1696
+ /^(?:\s+)/,
1697
+ /^(?:[{])/,
1698
+ /^(?:[}])/,
1699
+ /^(?:$)/,
1700
+ /^(?:\s*(\r?\n)+)/,
1701
+ /^(?:\s+)/,
1702
+ /^(?:\[\*\])/,
1703
+ /^(?:class\b)/,
1704
+ /^(?:\s*(\r?\n)+)/,
1705
+ /^(?:\s+)/,
1706
+ /^(?:[}])/,
1707
+ /^(?:[{])/,
1708
+ /^(?:[}])/,
1709
+ /^(?:$)/,
1710
+ /^(?:\[\*\])/,
1711
+ /^(?:[{])/,
1712
+ /^(?:[\n])/,
1713
+ /^(?:[^{}\n]*)/,
1714
+ /^(?:cssClass\b)/,
1715
+ /^(?:callback\b)/,
1716
+ /^(?:link\b)/,
1717
+ /^(?:click\b)/,
1718
+ /^(?:note for\b)/,
1719
+ /^(?:note\b)/,
1720
+ /^(?:<<)/,
1721
+ /^(?:>>)/,
1722
+ /^(?:href\b)/,
1723
+ /^(?:[~])/,
1724
+ /^(?:[^~]*)/,
1725
+ /^(?:~)/,
1726
+ /^(?:[`])/,
1727
+ /^(?:[^`]+)/,
1728
+ /^(?:[`])/,
1729
+ /^(?:_self\b)/,
1730
+ /^(?:_blank\b)/,
1731
+ /^(?:_parent\b)/,
1732
+ /^(?:_top\b)/,
1733
+ /^(?:\s*<\|)/,
1734
+ /^(?:\s*\|>)/,
1735
+ /^(?:\s*>)/,
1736
+ /^(?:\s*<)/,
1737
+ /^(?:\s*\*)/,
1738
+ /^(?:\s*o\b)/,
1739
+ /^(?:\s*\(\))/,
1740
+ /^(?:--)/,
1741
+ /^(?:\.\.)/,
1742
+ /^(?::{1}[^:\n;]+)/,
1743
+ /^(?::{3})/,
1744
+ /^(?:-)/,
1745
+ /^(?:\.)/,
1746
+ /^(?:\+)/,
1747
+ /^(?::)/,
1748
+ /^(?:,)/,
1749
+ /^(?:#)/,
1750
+ /^(?:#)/,
1751
+ /^(?:%)/,
1752
+ /^(?:=)/,
1753
+ /^(?:=)/,
1754
+ /^(?:\w+)/,
1755
+ /^(?:\[)/,
1756
+ /^(?:\])/,
1757
+ /^(?:[!"#$%&'*+,-.`?\\/])/,
1758
+ /^(?:[0-9]+)/,
1759
+ /^(?:[\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])/,
1760
+ /^(?:\s)/,
1761
+ /^(?:\s)/,
1762
+ /^(?:$)/
1763
+ ],
1764
+ conditions: {
1765
+ "namespace-body": {
1766
+ rules: [
1767
+ 26,
1768
+ 33,
1769
+ 34,
1770
+ 35,
1771
+ 36,
1772
+ 37,
1773
+ 38,
1774
+ 49,
1775
+ 50,
1776
+ 51,
1777
+ 52,
1778
+ 53,
1779
+ 54,
1780
+ 55,
1781
+ 56,
1782
+ 57,
1783
+ 60,
1784
+ 63,
1785
+ 64,
1786
+ 65,
1787
+ 66,
1788
+ 67,
1789
+ 68,
1790
+ 69,
1791
+ 70,
1792
+ 71,
1793
+ 72,
1794
+ 73,
1795
+ 74,
1796
+ 75,
1797
+ 76,
1798
+ 77,
1799
+ 78,
1800
+ 79,
1801
+ 80,
1802
+ 81,
1803
+ 86,
1804
+ 87,
1805
+ 88,
1806
+ 89,
1807
+ 90,
1808
+ 91,
1809
+ 92,
1810
+ 93,
1811
+ 94,
1812
+ 95,
1813
+ 97
1814
+ ],
1815
+ inclusive: !1
1816
+ },
1817
+ namespace: {
1818
+ rules: [
1819
+ 26,
1820
+ 29,
1821
+ 30,
1822
+ 31,
1823
+ 32,
1824
+ 49,
1825
+ 50,
1826
+ 51,
1827
+ 52,
1828
+ 53,
1829
+ 54,
1830
+ 55,
1831
+ 56,
1832
+ 57,
1833
+ 60,
1834
+ 63,
1835
+ 64,
1836
+ 65,
1837
+ 66,
1838
+ 67,
1839
+ 68,
1840
+ 69,
1841
+ 70,
1842
+ 71,
1843
+ 72,
1844
+ 73,
1845
+ 74,
1846
+ 75,
1847
+ 76,
1848
+ 77,
1849
+ 78,
1850
+ 79,
1851
+ 80,
1852
+ 81,
1853
+ 86,
1854
+ 87,
1855
+ 88,
1856
+ 89,
1857
+ 90,
1858
+ 91,
1859
+ 92,
1860
+ 93,
1861
+ 94,
1862
+ 95,
1863
+ 97
1864
+ ],
1865
+ inclusive: !1
1866
+ },
1867
+ "class-body": {
1868
+ rules: [
1869
+ 26,
1870
+ 43,
1871
+ 44,
1872
+ 45,
1873
+ 46,
1874
+ 47,
1875
+ 48,
1876
+ 49,
1877
+ 50,
1878
+ 51,
1879
+ 52,
1880
+ 53,
1881
+ 54,
1882
+ 55,
1883
+ 56,
1884
+ 57,
1885
+ 60,
1886
+ 63,
1887
+ 64,
1888
+ 65,
1889
+ 66,
1890
+ 67,
1891
+ 68,
1892
+ 69,
1893
+ 70,
1894
+ 71,
1895
+ 72,
1896
+ 73,
1897
+ 74,
1898
+ 75,
1899
+ 76,
1900
+ 77,
1901
+ 78,
1902
+ 79,
1903
+ 80,
1904
+ 81,
1905
+ 86,
1906
+ 87,
1907
+ 88,
1908
+ 89,
1909
+ 90,
1910
+ 91,
1911
+ 92,
1912
+ 93,
1913
+ 94,
1914
+ 95,
1915
+ 97
1916
+ ],
1917
+ inclusive: !1
1918
+ },
1919
+ class: {
1920
+ rules: [
1921
+ 26,
1922
+ 39,
1923
+ 40,
1924
+ 41,
1925
+ 42,
1926
+ 49,
1927
+ 50,
1928
+ 51,
1929
+ 52,
1930
+ 53,
1931
+ 54,
1932
+ 55,
1933
+ 56,
1934
+ 57,
1935
+ 60,
1936
+ 63,
1937
+ 64,
1938
+ 65,
1939
+ 66,
1940
+ 67,
1941
+ 68,
1942
+ 69,
1943
+ 70,
1944
+ 71,
1945
+ 72,
1946
+ 73,
1947
+ 74,
1948
+ 75,
1949
+ 76,
1950
+ 77,
1951
+ 78,
1952
+ 79,
1953
+ 80,
1954
+ 81,
1955
+ 86,
1956
+ 87,
1957
+ 88,
1958
+ 89,
1959
+ 90,
1960
+ 91,
1961
+ 92,
1962
+ 93,
1963
+ 94,
1964
+ 95,
1965
+ 97
1966
+ ],
1967
+ inclusive: !1
1968
+ },
1969
+ acc_descr_multiline: {
1970
+ rules: [
1971
+ 11,
1972
+ 12,
1973
+ 26,
1974
+ 49,
1975
+ 50,
1976
+ 51,
1977
+ 52,
1978
+ 53,
1979
+ 54,
1980
+ 55,
1981
+ 56,
1982
+ 57,
1983
+ 60,
1984
+ 63,
1985
+ 64,
1986
+ 65,
1987
+ 66,
1988
+ 67,
1989
+ 68,
1990
+ 69,
1991
+ 70,
1992
+ 71,
1993
+ 72,
1994
+ 73,
1995
+ 74,
1996
+ 75,
1997
+ 76,
1998
+ 77,
1999
+ 78,
2000
+ 79,
2001
+ 80,
2002
+ 81,
2003
+ 86,
2004
+ 87,
2005
+ 88,
2006
+ 89,
2007
+ 90,
2008
+ 91,
2009
+ 92,
2010
+ 93,
2011
+ 94,
2012
+ 95,
2013
+ 97
2014
+ ],
2015
+ inclusive: !1
2016
+ },
2017
+ acc_descr: {
2018
+ rules: [
2019
+ 9,
2020
+ 26,
2021
+ 49,
2022
+ 50,
2023
+ 51,
2024
+ 52,
2025
+ 53,
2026
+ 54,
2027
+ 55,
2028
+ 56,
2029
+ 57,
2030
+ 60,
2031
+ 63,
2032
+ 64,
2033
+ 65,
2034
+ 66,
2035
+ 67,
2036
+ 68,
2037
+ 69,
2038
+ 70,
2039
+ 71,
2040
+ 72,
2041
+ 73,
2042
+ 74,
2043
+ 75,
2044
+ 76,
2045
+ 77,
2046
+ 78,
2047
+ 79,
2048
+ 80,
2049
+ 81,
2050
+ 86,
2051
+ 87,
2052
+ 88,
2053
+ 89,
2054
+ 90,
2055
+ 91,
2056
+ 92,
2057
+ 93,
2058
+ 94,
2059
+ 95,
2060
+ 97
2061
+ ],
2062
+ inclusive: !1
2063
+ },
2064
+ acc_title: {
2065
+ rules: [
2066
+ 7,
2067
+ 26,
2068
+ 49,
2069
+ 50,
2070
+ 51,
2071
+ 52,
2072
+ 53,
2073
+ 54,
2074
+ 55,
2075
+ 56,
2076
+ 57,
2077
+ 60,
2078
+ 63,
2079
+ 64,
2080
+ 65,
2081
+ 66,
2082
+ 67,
2083
+ 68,
2084
+ 69,
2085
+ 70,
2086
+ 71,
2087
+ 72,
2088
+ 73,
2089
+ 74,
2090
+ 75,
2091
+ 76,
2092
+ 77,
2093
+ 78,
2094
+ 79,
2095
+ 80,
2096
+ 81,
2097
+ 86,
2098
+ 87,
2099
+ 88,
2100
+ 89,
2101
+ 90,
2102
+ 91,
2103
+ 92,
2104
+ 93,
2105
+ 94,
2106
+ 95,
2107
+ 97
2108
+ ],
2109
+ inclusive: !1
2110
+ },
2111
+ callback_args: {
2112
+ rules: [
2113
+ 22,
2114
+ 23,
2115
+ 26,
2116
+ 49,
2117
+ 50,
2118
+ 51,
2119
+ 52,
2120
+ 53,
2121
+ 54,
2122
+ 55,
2123
+ 56,
2124
+ 57,
2125
+ 60,
2126
+ 63,
2127
+ 64,
2128
+ 65,
2129
+ 66,
2130
+ 67,
2131
+ 68,
2132
+ 69,
2133
+ 70,
2134
+ 71,
2135
+ 72,
2136
+ 73,
2137
+ 74,
2138
+ 75,
2139
+ 76,
2140
+ 77,
2141
+ 78,
2142
+ 79,
2143
+ 80,
2144
+ 81,
2145
+ 86,
2146
+ 87,
2147
+ 88,
2148
+ 89,
2149
+ 90,
2150
+ 91,
2151
+ 92,
2152
+ 93,
2153
+ 94,
2154
+ 95,
2155
+ 97
2156
+ ],
2157
+ inclusive: !1
2158
+ },
2159
+ callback_name: {
2160
+ rules: [
2161
+ 19,
2162
+ 20,
2163
+ 21,
2164
+ 26,
2165
+ 49,
2166
+ 50,
2167
+ 51,
2168
+ 52,
2169
+ 53,
2170
+ 54,
2171
+ 55,
2172
+ 56,
2173
+ 57,
2174
+ 60,
2175
+ 63,
2176
+ 64,
2177
+ 65,
2178
+ 66,
2179
+ 67,
2180
+ 68,
2181
+ 69,
2182
+ 70,
2183
+ 71,
2184
+ 72,
2185
+ 73,
2186
+ 74,
2187
+ 75,
2188
+ 76,
2189
+ 77,
2190
+ 78,
2191
+ 79,
2192
+ 80,
2193
+ 81,
2194
+ 86,
2195
+ 87,
2196
+ 88,
2197
+ 89,
2198
+ 90,
2199
+ 91,
2200
+ 92,
2201
+ 93,
2202
+ 94,
2203
+ 95,
2204
+ 97
2205
+ ],
2206
+ inclusive: !1
2207
+ },
2208
+ href: {
2209
+ rules: [
2210
+ 26,
2211
+ 49,
2212
+ 50,
2213
+ 51,
2214
+ 52,
2215
+ 53,
2216
+ 54,
2217
+ 55,
2218
+ 56,
2219
+ 57,
2220
+ 60,
2221
+ 63,
2222
+ 64,
2223
+ 65,
2224
+ 66,
2225
+ 67,
2226
+ 68,
2227
+ 69,
2228
+ 70,
2229
+ 71,
2230
+ 72,
2231
+ 73,
2232
+ 74,
2233
+ 75,
2234
+ 76,
2235
+ 77,
2236
+ 78,
2237
+ 79,
2238
+ 80,
2239
+ 81,
2240
+ 86,
2241
+ 87,
2242
+ 88,
2243
+ 89,
2244
+ 90,
2245
+ 91,
2246
+ 92,
2247
+ 93,
2248
+ 94,
2249
+ 95,
2250
+ 97
2251
+ ],
2252
+ inclusive: !1
2253
+ },
2254
+ struct: {
2255
+ rules: [
2256
+ 26,
2257
+ 49,
2258
+ 50,
2259
+ 51,
2260
+ 52,
2261
+ 53,
2262
+ 54,
2263
+ 55,
2264
+ 56,
2265
+ 57,
2266
+ 60,
2267
+ 63,
2268
+ 64,
2269
+ 65,
2270
+ 66,
2271
+ 67,
2272
+ 68,
2273
+ 69,
2274
+ 70,
2275
+ 71,
2276
+ 72,
2277
+ 73,
2278
+ 74,
2279
+ 75,
2280
+ 76,
2281
+ 77,
2282
+ 78,
2283
+ 79,
2284
+ 80,
2285
+ 81,
2286
+ 86,
2287
+ 87,
2288
+ 88,
2289
+ 89,
2290
+ 90,
2291
+ 91,
2292
+ 92,
2293
+ 93,
2294
+ 94,
2295
+ 95,
2296
+ 97
2297
+ ],
2298
+ inclusive: !1
2299
+ },
2300
+ generic: {
2301
+ rules: [
2302
+ 26,
2303
+ 49,
2304
+ 50,
2305
+ 51,
2306
+ 52,
2307
+ 53,
2308
+ 54,
2309
+ 55,
2310
+ 56,
2311
+ 57,
2312
+ 58,
2313
+ 59,
2314
+ 60,
2315
+ 63,
2316
+ 64,
2317
+ 65,
2318
+ 66,
2319
+ 67,
2320
+ 68,
2321
+ 69,
2322
+ 70,
2323
+ 71,
2324
+ 72,
2325
+ 73,
2326
+ 74,
2327
+ 75,
2328
+ 76,
2329
+ 77,
2330
+ 78,
2331
+ 79,
2332
+ 80,
2333
+ 81,
2334
+ 86,
2335
+ 87,
2336
+ 88,
2337
+ 89,
2338
+ 90,
2339
+ 91,
2340
+ 92,
2341
+ 93,
2342
+ 94,
2343
+ 95,
2344
+ 97
2345
+ ],
2346
+ inclusive: !1
2347
+ },
2348
+ bqstring: {
2349
+ rules: [
2350
+ 26,
2351
+ 49,
2352
+ 50,
2353
+ 51,
2354
+ 52,
2355
+ 53,
2356
+ 54,
2357
+ 55,
2358
+ 56,
2359
+ 57,
2360
+ 60,
2361
+ 61,
2362
+ 62,
2363
+ 63,
2364
+ 64,
2365
+ 65,
2366
+ 66,
2367
+ 67,
2368
+ 68,
2369
+ 69,
2370
+ 70,
2371
+ 71,
2372
+ 72,
2373
+ 73,
2374
+ 74,
2375
+ 75,
2376
+ 76,
2377
+ 77,
2378
+ 78,
2379
+ 79,
2380
+ 80,
2381
+ 81,
2382
+ 86,
2383
+ 87,
2384
+ 88,
2385
+ 89,
2386
+ 90,
2387
+ 91,
2388
+ 92,
2389
+ 93,
2390
+ 94,
2391
+ 95,
2392
+ 97
2393
+ ],
2394
+ inclusive: !1
2395
+ },
2396
+ string: {
2397
+ rules: [
2398
+ 24,
2399
+ 25,
2400
+ 26,
2401
+ 49,
2402
+ 50,
2403
+ 51,
2404
+ 52,
2405
+ 53,
2406
+ 54,
2407
+ 55,
2408
+ 56,
2409
+ 57,
2410
+ 60,
2411
+ 63,
2412
+ 64,
2413
+ 65,
2414
+ 66,
2415
+ 67,
2416
+ 68,
2417
+ 69,
2418
+ 70,
2419
+ 71,
2420
+ 72,
2421
+ 73,
2422
+ 74,
2423
+ 75,
2424
+ 76,
2425
+ 77,
2426
+ 78,
2427
+ 79,
2428
+ 80,
2429
+ 81,
2430
+ 86,
2431
+ 87,
2432
+ 88,
2433
+ 89,
2434
+ 90,
2435
+ 91,
2436
+ 92,
2437
+ 93,
2438
+ 94,
2439
+ 95,
2440
+ 97
2441
+ ],
2442
+ inclusive: !1
2443
+ },
2444
+ INITIAL: {
2445
+ rules: [
2446
+ 0,
2447
+ 1,
2448
+ 2,
2449
+ 3,
2450
+ 4,
2451
+ 5,
2452
+ 6,
2453
+ 8,
2454
+ 10,
2455
+ 13,
2456
+ 14,
2457
+ 15,
2458
+ 16,
2459
+ 17,
2460
+ 18,
2461
+ 26,
2462
+ 27,
2463
+ 28,
2464
+ 29,
2465
+ 38,
2466
+ 49,
2467
+ 50,
2468
+ 51,
2469
+ 52,
2470
+ 53,
2471
+ 54,
2472
+ 55,
2473
+ 56,
2474
+ 57,
2475
+ 60,
2476
+ 63,
2477
+ 64,
2478
+ 65,
2479
+ 66,
2480
+ 67,
2481
+ 68,
2482
+ 69,
2483
+ 70,
2484
+ 71,
2485
+ 72,
2486
+ 73,
2487
+ 74,
2488
+ 75,
2489
+ 76,
2490
+ 77,
2491
+ 78,
2492
+ 79,
2493
+ 80,
2494
+ 81,
2495
+ 82,
2496
+ 83,
2497
+ 84,
2498
+ 85,
2499
+ 86,
2500
+ 87,
2501
+ 88,
2502
+ 89,
2503
+ 90,
2504
+ 91,
2505
+ 92,
2506
+ 93,
2507
+ 94,
2508
+ 95,
2509
+ 96,
2510
+ 97
2511
+ ],
2512
+ inclusive: !0
2513
+ }
2514
+ }
2515
+ };
2516
+ })();
2517
+ function $() {
2518
+ this.yy = {};
2519
+ }
2520
+ return __name($, "Parser"), $.prototype = oe, oe.Parser = $, new $();
2521
+ })();
2522
+ parser.parser = parser;
2523
+ var classDiagram_default = parser, visibilityValues = [
2524
+ "#",
2525
+ "+",
2526
+ "~",
2527
+ "-",
2528
+ ""
2529
+ ], ClassMember = class {
2530
+ static #e = __name(this, "ClassMember");
2531
+ constructor(e, t) {
2532
+ this.memberType = t, this.visibility = "", this.classifier = "", this.text = "";
2533
+ let n = sanitizeText(e, getConfig2());
2534
+ this.parseMember(n);
2535
+ }
2536
+ getDisplayDetails() {
2537
+ let e = this.visibility + parseGenericTypes(this.id);
2538
+ this.memberType === "method" && (e += `(${parseGenericTypes(this.parameters.trim())})`, this.returnType && (e += " : " + parseGenericTypes(this.returnType))), e = e.trim();
2539
+ let t = this.parseClassifier();
2540
+ return {
2541
+ displayText: e,
2542
+ cssStyle: t
2543
+ };
2544
+ }
2545
+ parseMember(e) {
2546
+ let t = "";
2547
+ if (this.memberType === "method") {
2548
+ let n = /([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(e);
2549
+ if (n) {
2550
+ let e = n[1] ? n[1].trim() : "";
2551
+ if (visibilityValues.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 === "") {
2552
+ let e = this.returnType.substring(this.returnType.length - 1);
2553
+ /[$*]/.exec(e) && (t = e, this.returnType = this.returnType.substring(0, this.returnType.length - 1));
2554
+ }
2555
+ }
2556
+ } else {
2557
+ let n = e.length, r = e.substring(0, 1), i = e.substring(n - 1);
2558
+ visibilityValues.includes(r) && (this.visibility = r), /[$*]/.exec(i) && (t = i), this.id = e.substring(this.visibility === "" ? 0 : 1, t === "" ? n : n - 1);
2559
+ }
2560
+ this.classifier = t, this.id = this.id.startsWith(" ") ? " " + this.id.trim() : this.id.trim(), this.text = `${this.visibility ? "\\" + this.visibility : ""}${parseGenericTypes(this.id)}${this.memberType === "method" ? `(${parseGenericTypes(this.parameters)})${this.returnType ? " : " + parseGenericTypes(this.returnType) : ""}` : ""}`.replaceAll("<", "&lt;").replaceAll(">", "&gt;"), this.text.startsWith("\\&lt;") && (this.text = this.text.replace("\\&lt;", "~"));
2561
+ }
2562
+ parseClassifier() {
2563
+ switch (this.classifier) {
2564
+ case "*": return "font-style:italic;";
2565
+ case "$": return "text-decoration:underline;";
2566
+ default: return "";
2567
+ }
2568
+ }
2569
+ }, MERMAID_DOM_ID_PREFIX = "classId-", classCounter = 0, sanitizeText2 = /* @__PURE__ */ __name((e) => common_default.sanitizeText(e, getConfig2()), "sanitizeText"), ClassDB = class {
2570
+ constructor() {
2571
+ this.relations = [], this.classes = /* @__PURE__ */ new Map(), this.styleClasses = /* @__PURE__ */ new Map(), this.notes = [], this.interfaces = [], this.namespaces = /* @__PURE__ */ new Map(), this.namespaceCounter = 0, this.functions = [], this.lineType = {
2572
+ LINE: 0,
2573
+ DOTTED_LINE: 1
2574
+ }, this.relationType = {
2575
+ AGGREGATION: 0,
2576
+ EXTENSION: 1,
2577
+ COMPOSITION: 2,
2578
+ DEPENDENCY: 3,
2579
+ LOLLIPOP: 4
2580
+ }, this.setupToolTips = /* @__PURE__ */ __name((e) => {
2581
+ let t = select_default(".mermaidTooltip");
2582
+ (t._groups || t)[0][0] === null && (t = select_default("body").append("div").attr("class", "mermaidTooltip").style("opacity", 0)), select_default(e).select("svg").selectAll("g.node").on("mouseover", (e) => {
2583
+ let r = select_default(e.currentTarget);
2584
+ if (r.attr("title") === null) return;
2585
+ let i = this.getBoundingClientRect();
2586
+ t.transition().duration(200).style("opacity", ".9"), t.text(r.attr("title")).style("left", window.scrollX + i.left + (i.right - i.left) / 2 + "px").style("top", window.scrollY + i.top - 14 + document.body.scrollTop + "px"), t.html(t.html().replace(/&lt;br\/&gt;/g, "<br/>")), r.classed("hover", !0);
2587
+ }).on("mouseout", (e) => {
2588
+ t.transition().duration(500).style("opacity", 0), select_default(e.currentTarget).classed("hover", !1);
2589
+ });
2590
+ }, "setupToolTips"), this.direction = "TB", this.setAccTitle = setAccTitle, this.getAccTitle = getAccTitle, this.setAccDescription = setAccDescription, this.getAccDescription = getAccDescription, this.setDiagramTitle = setDiagramTitle, this.getDiagramTitle = getDiagramTitle, this.getConfig = /* @__PURE__ */ __name(() => getConfig2().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.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);
2591
+ }
2592
+ static #e = __name(this, "ClassDB");
2593
+ splitClassNameAndType(e) {
2594
+ let t = common_default.sanitizeText(e, getConfig2()), n = "", r = t;
2595
+ if (t.indexOf("~") > 0) {
2596
+ let e = t.split("~");
2597
+ r = sanitizeText2(e[0]), n = sanitizeText2(e[1]);
2598
+ }
2599
+ return {
2600
+ className: r,
2601
+ type: n
2602
+ };
2603
+ }
2604
+ setClassLabel(e, t) {
2605
+ let n = common_default.sanitizeText(e, getConfig2());
2606
+ t &&= sanitizeText2(t);
2607
+ let { className: r } = this.splitClassNameAndType(n);
2608
+ this.classes.get(r).label = t, this.classes.get(r).text = `${t}${this.classes.get(r).type ? `<${this.classes.get(r).type}>` : ""}`;
2609
+ }
2610
+ addClass(e) {
2611
+ let t = common_default.sanitizeText(e, getConfig2()), { className: n, type: r } = this.splitClassNameAndType(t);
2612
+ if (this.classes.has(n)) return;
2613
+ let i = common_default.sanitizeText(n, getConfig2());
2614
+ this.classes.set(i, {
2615
+ id: i,
2616
+ type: r,
2617
+ label: i,
2618
+ text: `${i}${r ? `&lt;${r}&gt;` : ""}`,
2619
+ shape: "classBox",
2620
+ cssClasses: "default",
2621
+ methods: [],
2622
+ members: [],
2623
+ annotations: [],
2624
+ styles: [],
2625
+ domId: MERMAID_DOM_ID_PREFIX + i + "-" + classCounter
2626
+ }), classCounter++;
2627
+ }
2628
+ addInterface(e, t) {
2629
+ let n = {
2630
+ id: `interface${this.interfaces.length}`,
2631
+ label: e,
2632
+ classId: t
2633
+ };
2634
+ this.interfaces.push(n);
2635
+ }
2636
+ lookUpDomId(e) {
2637
+ let t = common_default.sanitizeText(e, getConfig2());
2638
+ if (this.classes.has(t)) return this.classes.get(t).domId;
2639
+ throw Error("Class not found: " + t);
2640
+ }
2641
+ clear() {
2642
+ this.relations = [], this.classes = /* @__PURE__ */ new Map(), this.notes = [], this.interfaces = [], this.functions = [], this.functions.push(this.setupToolTips.bind(this)), this.namespaces = /* @__PURE__ */ new Map(), this.namespaceCounter = 0, this.direction = "TB", clear();
2643
+ }
2644
+ getClass(e) {
2645
+ return this.classes.get(e);
2646
+ }
2647
+ getClasses() {
2648
+ return this.classes;
2649
+ }
2650
+ getRelations() {
2651
+ return this.relations;
2652
+ }
2653
+ getNotes() {
2654
+ return this.notes;
2655
+ }
2656
+ addRelation(t) {
2657
+ log.debug("Adding relation: " + JSON.stringify(t));
2658
+ let n = [
2659
+ this.relationType.LOLLIPOP,
2660
+ this.relationType.AGGREGATION,
2661
+ this.relationType.COMPOSITION,
2662
+ this.relationType.DEPENDENCY,
2663
+ this.relationType.EXTENSION
2664
+ ];
2665
+ t.relation.type1 === this.relationType.LOLLIPOP && !n.includes(t.relation.type2) ? (this.addClass(t.id2), this.addInterface(t.id1, t.id2), t.id1 = `interface${this.interfaces.length - 1}`) : t.relation.type2 === this.relationType.LOLLIPOP && !n.includes(t.relation.type1) ? (this.addClass(t.id1), this.addInterface(t.id2, t.id1), t.id2 = `interface${this.interfaces.length - 1}`) : (this.addClass(t.id1), this.addClass(t.id2)), t.id1 = this.splitClassNameAndType(t.id1).className, t.id2 = this.splitClassNameAndType(t.id2).className, t.relationTitle1 = common_default.sanitizeText(t.relationTitle1.trim(), getConfig2()), t.relationTitle2 = common_default.sanitizeText(t.relationTitle2.trim(), getConfig2()), this.relations.push(t);
2666
+ }
2667
+ addAnnotation(e, t) {
2668
+ let n = this.splitClassNameAndType(e).className;
2669
+ this.classes.get(n).annotations.push(t);
2670
+ }
2671
+ addMember(e, t) {
2672
+ this.addClass(e);
2673
+ let n = this.splitClassNameAndType(e).className, r = this.classes.get(n);
2674
+ if (typeof t == "string") {
2675
+ let e = t.trim();
2676
+ e.startsWith("<<") && e.endsWith(">>") ? r.annotations.push(sanitizeText2(e.substring(2, e.length - 2))) : e.indexOf(")") > 0 ? r.methods.push(new ClassMember(e, "method")) : e && r.members.push(new ClassMember(e, "attribute"));
2677
+ }
2678
+ }
2679
+ addMembers(e, t) {
2680
+ Array.isArray(t) && (t.reverse(), t.forEach((t) => this.addMember(e, t)));
2681
+ }
2682
+ addNote(e, t) {
2683
+ let n = {
2684
+ id: `note${this.notes.length}`,
2685
+ class: t,
2686
+ text: e
2687
+ };
2688
+ this.notes.push(n);
2689
+ }
2690
+ cleanupLabel(e) {
2691
+ return e.startsWith(":") && (e = e.substring(1)), sanitizeText2(e.trim());
2692
+ }
2693
+ setCssClass(e, t) {
2694
+ e.split(",").forEach((e) => {
2695
+ let n = e;
2696
+ /\d/.exec(e[0]) && (n = MERMAID_DOM_ID_PREFIX + n);
2697
+ let r = this.classes.get(n);
2698
+ r && (r.cssClasses += " " + t);
2699
+ });
2700
+ }
2701
+ defineClass(e, t) {
2702
+ for (let n of e) {
2703
+ let e = this.styleClasses.get(n);
2704
+ e === void 0 && (e = {
2705
+ id: n,
2706
+ styles: [],
2707
+ textStyles: []
2708
+ }, this.styleClasses.set(n, e)), t && t.forEach((t) => {
2709
+ if (/color/.exec(t)) {
2710
+ let n = t.replace("fill", "bgFill");
2711
+ e.textStyles.push(n);
2712
+ }
2713
+ e.styles.push(t);
2714
+ }), this.classes.forEach((e) => {
2715
+ e.cssClasses.includes(n) && e.styles.push(...t.flatMap((e) => e.split(",")));
2716
+ });
2717
+ }
2718
+ }
2719
+ setTooltip(e, t) {
2720
+ e.split(",").forEach((e) => {
2721
+ t !== void 0 && (this.classes.get(e).tooltip = sanitizeText2(t));
2722
+ });
2723
+ }
2724
+ getTooltip(e, t) {
2725
+ return t && this.namespaces.has(t) ? this.namespaces.get(t).classes.get(e).tooltip : this.classes.get(e).tooltip;
2726
+ }
2727
+ setLink(e, t, n) {
2728
+ let r = getConfig2();
2729
+ e.split(",").forEach((e) => {
2730
+ let i = e;
2731
+ /\d/.exec(e[0]) && (i = MERMAID_DOM_ID_PREFIX + i);
2732
+ let a = this.classes.get(i);
2733
+ a && (a.link = utils_default.formatUrl(t, r), r.securityLevel === "sandbox" ? a.linkTarget = "_top" : typeof n == "string" ? a.linkTarget = sanitizeText2(n) : a.linkTarget = "_blank");
2734
+ }), this.setCssClass(e, "clickable");
2735
+ }
2736
+ setClickEvent(e, t, n) {
2737
+ e.split(",").forEach((e) => {
2738
+ this.setClickFunc(e, t, n), this.classes.get(e).haveCallback = !0;
2739
+ }), this.setCssClass(e, "clickable");
2740
+ }
2741
+ setClickFunc(e, t, n) {
2742
+ let r = common_default.sanitizeText(e, getConfig2());
2743
+ if (getConfig2().securityLevel !== "loose" || t === void 0) return;
2744
+ let i = r;
2745
+ if (this.classes.has(i)) {
2746
+ let e = this.lookUpDomId(i), r = [];
2747
+ if (typeof n == "string") {
2748
+ r = n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
2749
+ for (let e = 0; e < r.length; e++) {
2750
+ let t = r[e].trim();
2751
+ t.startsWith("\"") && t.endsWith("\"") && (t = t.substr(1, t.length - 2)), r[e] = t;
2752
+ }
2753
+ }
2754
+ r.length === 0 && r.push(e), this.functions.push(() => {
2755
+ let n = document.querySelector(`[id="${e}"]`);
2756
+ n !== null && n.addEventListener("click", () => {
2757
+ utils_default.runFunc(t, ...r);
2758
+ }, !1);
2759
+ });
2760
+ }
2761
+ }
2762
+ bindFunctions(e) {
2763
+ this.functions.forEach((t) => {
2764
+ t(e);
2765
+ });
2766
+ }
2767
+ getDirection() {
2768
+ return this.direction;
2769
+ }
2770
+ setDirection(e) {
2771
+ this.direction = e;
2772
+ }
2773
+ addNamespace(e) {
2774
+ this.namespaces.has(e) || (this.namespaces.set(e, {
2775
+ id: e,
2776
+ classes: /* @__PURE__ */ new Map(),
2777
+ children: {},
2778
+ domId: MERMAID_DOM_ID_PREFIX + e + "-" + this.namespaceCounter
2779
+ }), this.namespaceCounter++);
2780
+ }
2781
+ getNamespace(e) {
2782
+ return this.namespaces.get(e);
2783
+ }
2784
+ getNamespaces() {
2785
+ return this.namespaces;
2786
+ }
2787
+ addClassesToNamespace(e, t) {
2788
+ if (this.namespaces.has(e)) for (let n of t) {
2789
+ let { className: t } = this.splitClassNameAndType(n);
2790
+ this.classes.get(t).parent = e, this.namespaces.get(e).classes.set(t, this.classes.get(t));
2791
+ }
2792
+ }
2793
+ setCssStyle(e, t) {
2794
+ let n = this.classes.get(e);
2795
+ if (!(!t || !n)) for (let e of t) e.includes(",") ? n.styles.push(...e.split(",")) : n.styles.push(e);
2796
+ }
2797
+ getArrowMarker(e) {
2798
+ let t;
2799
+ switch (e) {
2800
+ case 0:
2801
+ t = "aggregation";
2802
+ break;
2803
+ case 1:
2804
+ t = "extension";
2805
+ break;
2806
+ case 2:
2807
+ t = "composition";
2808
+ break;
2809
+ case 3:
2810
+ t = "dependency";
2811
+ break;
2812
+ case 4:
2813
+ t = "lollipop";
2814
+ break;
2815
+ default: t = "none";
2816
+ }
2817
+ return t;
2818
+ }
2819
+ getData() {
2820
+ let e = [], t = [], n = getConfig2();
2821
+ for (let t of this.namespaces.keys()) {
2822
+ let r = this.namespaces.get(t);
2823
+ if (r) {
2824
+ let t = {
2825
+ id: r.id,
2826
+ label: r.id,
2827
+ isGroup: !0,
2828
+ padding: n.class.padding ?? 16,
2829
+ shape: "rect",
2830
+ cssStyles: ["fill: none", "stroke: black"],
2831
+ look: n.look
2832
+ };
2833
+ e.push(t);
2834
+ }
2835
+ }
2836
+ for (let t of this.classes.keys()) {
2837
+ let r = this.classes.get(t);
2838
+ if (r) {
2839
+ let t = r;
2840
+ t.parentId = r.parent, t.look = n.look, e.push(t);
2841
+ }
2842
+ }
2843
+ let r = 0;
2844
+ for (let i of this.notes) {
2845
+ r++;
2846
+ let a = {
2847
+ id: i.id,
2848
+ label: i.text,
2849
+ isGroup: !1,
2850
+ shape: "note",
2851
+ padding: n.class.padding ?? 6,
2852
+ cssStyles: [
2853
+ "text-align: left",
2854
+ "white-space: nowrap",
2855
+ `fill: ${n.themeVariables.noteBkgColor}`,
2856
+ `stroke: ${n.themeVariables.noteBorderColor}`
2857
+ ],
2858
+ look: n.look
2859
+ };
2860
+ e.push(a);
2861
+ let o = this.classes.get(i.class)?.id ?? "";
2862
+ if (o) {
2863
+ let e = {
2864
+ id: `edgeNote${r}`,
2865
+ start: i.id,
2866
+ end: o,
2867
+ type: "normal",
2868
+ thickness: "normal",
2869
+ classes: "relation",
2870
+ arrowTypeStart: "none",
2871
+ arrowTypeEnd: "none",
2872
+ arrowheadStyle: "",
2873
+ labelStyle: [""],
2874
+ style: ["fill: none"],
2875
+ pattern: "dotted",
2876
+ look: n.look
2877
+ };
2878
+ t.push(e);
2879
+ }
2880
+ }
2881
+ for (let t of this.interfaces) {
2882
+ let r = {
2883
+ id: t.id,
2884
+ label: t.label,
2885
+ isGroup: !1,
2886
+ shape: "rect",
2887
+ cssStyles: ["opacity: 0;"],
2888
+ look: n.look
2889
+ };
2890
+ e.push(r);
2891
+ }
2892
+ r = 0;
2893
+ for (let e of this.relations) {
2894
+ r++;
2895
+ let i = {
2896
+ id: getEdgeId(e.id1, e.id2, {
2897
+ prefix: "id",
2898
+ counter: r
2899
+ }),
2900
+ start: e.id1,
2901
+ end: e.id2,
2902
+ type: "normal",
2903
+ label: e.title,
2904
+ labelpos: "c",
2905
+ thickness: "normal",
2906
+ classes: "relation",
2907
+ arrowTypeStart: this.getArrowMarker(e.relation.type1),
2908
+ arrowTypeEnd: this.getArrowMarker(e.relation.type2),
2909
+ startLabelRight: e.relationTitle1 === "none" ? "" : e.relationTitle1,
2910
+ endLabelLeft: e.relationTitle2 === "none" ? "" : e.relationTitle2,
2911
+ arrowheadStyle: "",
2912
+ labelStyle: ["display: inline-block"],
2913
+ style: e.style || "",
2914
+ pattern: e.relation.lineType == 1 ? "dashed" : "solid",
2915
+ look: n.look
2916
+ };
2917
+ t.push(i);
2918
+ }
2919
+ return {
2920
+ nodes: e,
2921
+ edges: t,
2922
+ other: {},
2923
+ config: n,
2924
+ direction: this.getDirection()
2925
+ };
2926
+ }
2927
+ }, styles_default = /* @__PURE__ */ __name((e) => `g.classGroup text {
2928
+ fill: ${e.nodeBorder || e.classText};
2929
+ stroke: none;
2930
+ font-family: ${e.fontFamily};
2931
+ font-size: 10px;
2932
+
2933
+ .title {
2934
+ font-weight: bolder;
2935
+ }
2936
+
2937
+ }
2938
+
2939
+ .nodeLabel, .edgeLabel {
2940
+ color: ${e.classText};
2941
+ }
2942
+ .edgeLabel .label rect {
2943
+ fill: ${e.mainBkg};
2944
+ }
2945
+ .label text {
2946
+ fill: ${e.classText};
2947
+ }
2948
+
2949
+ .labelBkg {
2950
+ background: ${e.mainBkg};
2951
+ }
2952
+ .edgeLabel .label span {
2953
+ background: ${e.mainBkg};
2954
+ }
2955
+
2956
+ .classTitle {
2957
+ font-weight: bolder;
2958
+ }
2959
+ .node rect,
2960
+ .node circle,
2961
+ .node ellipse,
2962
+ .node polygon,
2963
+ .node path {
2964
+ fill: ${e.mainBkg};
2965
+ stroke: ${e.nodeBorder};
2966
+ stroke-width: 1px;
2967
+ }
2968
+
2969
+
2970
+ .divider {
2971
+ stroke: ${e.nodeBorder};
2972
+ stroke-width: 1;
2973
+ }
2974
+
2975
+ g.clickable {
2976
+ cursor: pointer;
2977
+ }
2978
+
2979
+ g.classGroup rect {
2980
+ fill: ${e.mainBkg};
2981
+ stroke: ${e.nodeBorder};
2982
+ }
2983
+
2984
+ g.classGroup line {
2985
+ stroke: ${e.nodeBorder};
2986
+ stroke-width: 1;
2987
+ }
2988
+
2989
+ .classLabel .box {
2990
+ stroke: none;
2991
+ stroke-width: 0;
2992
+ fill: ${e.mainBkg};
2993
+ opacity: 0.5;
2994
+ }
2995
+
2996
+ .classLabel .label {
2997
+ fill: ${e.nodeBorder};
2998
+ font-size: 10px;
2999
+ }
3000
+
3001
+ .relation {
3002
+ stroke: ${e.lineColor};
3003
+ stroke-width: 1;
3004
+ fill: none;
3005
+ }
3006
+
3007
+ .dashed-line{
3008
+ stroke-dasharray: 3;
3009
+ }
3010
+
3011
+ .dotted-line{
3012
+ stroke-dasharray: 1 2;
3013
+ }
3014
+
3015
+ #compositionStart, .composition {
3016
+ fill: ${e.lineColor} !important;
3017
+ stroke: ${e.lineColor} !important;
3018
+ stroke-width: 1;
3019
+ }
3020
+
3021
+ #compositionEnd, .composition {
3022
+ fill: ${e.lineColor} !important;
3023
+ stroke: ${e.lineColor} !important;
3024
+ stroke-width: 1;
3025
+ }
3026
+
3027
+ #dependencyStart, .dependency {
3028
+ fill: ${e.lineColor} !important;
3029
+ stroke: ${e.lineColor} !important;
3030
+ stroke-width: 1;
3031
+ }
3032
+
3033
+ #dependencyStart, .dependency {
3034
+ fill: ${e.lineColor} !important;
3035
+ stroke: ${e.lineColor} !important;
3036
+ stroke-width: 1;
3037
+ }
3038
+
3039
+ #extensionStart, .extension {
3040
+ fill: transparent !important;
3041
+ stroke: ${e.lineColor} !important;
3042
+ stroke-width: 1;
3043
+ }
3044
+
3045
+ #extensionEnd, .extension {
3046
+ fill: transparent !important;
3047
+ stroke: ${e.lineColor} !important;
3048
+ stroke-width: 1;
3049
+ }
3050
+
3051
+ #aggregationStart, .aggregation {
3052
+ fill: transparent !important;
3053
+ stroke: ${e.lineColor} !important;
3054
+ stroke-width: 1;
3055
+ }
3056
+
3057
+ #aggregationEnd, .aggregation {
3058
+ fill: transparent !important;
3059
+ stroke: ${e.lineColor} !important;
3060
+ stroke-width: 1;
3061
+ }
3062
+
3063
+ #lollipopStart, .lollipop {
3064
+ fill: ${e.mainBkg} !important;
3065
+ stroke: ${e.lineColor} !important;
3066
+ stroke-width: 1;
3067
+ }
3068
+
3069
+ #lollipopEnd, .lollipop {
3070
+ fill: ${e.mainBkg} !important;
3071
+ stroke: ${e.lineColor} !important;
3072
+ stroke-width: 1;
3073
+ }
3074
+
3075
+ .edgeTerminals {
3076
+ font-size: 11px;
3077
+ line-height: initial;
3078
+ }
3079
+
3080
+ .classTitleText {
3081
+ text-anchor: middle;
3082
+ font-size: 18px;
3083
+ fill: ${e.textColor};
3084
+ }
3085
+ ${getIconStyles()}
3086
+ `, "getStyles"), classRenderer_v3_unified_default = {
3087
+ getClasses: /* @__PURE__ */ __name(function(e, t) {
3088
+ return t.db.getClasses();
3089
+ }, "getClasses"),
3090
+ draw: /* @__PURE__ */ __name(async function(t, n, r, i) {
3091
+ log.info("REF0:"), log.info("Drawing class diagram (v3)", n);
3092
+ let { securityLevel: a, state: o, layout: s } = getConfig2(), c = i.db.getData(), l = getDiagramElement(n, a);
3093
+ c.type = i.type, c.layoutAlgorithm = getRegisteredLayoutAlgorithm(s), c.nodeSpacing = o?.nodeSpacing || 50, c.rankSpacing = o?.rankSpacing || 50, c.markers = [
3094
+ "aggregation",
3095
+ "extension",
3096
+ "composition",
3097
+ "dependency",
3098
+ "lollipop"
3099
+ ], c.diagramId = n, await render(c, l), utils_default.insertTitle(l, "classDiagramTitleText", o?.titleTopMargin ?? 25, i.db.getDiagramTitle()), setupViewPortForSVG(l, 8, "classDiagram", o?.useMaxWidth ?? !0);
3100
+ }, "draw"),
3101
+ getDir: /* @__PURE__ */ __name((e, t = "TB") => {
3102
+ if (!e.doc) return t;
3103
+ let n = t;
3104
+ for (let t of e.doc) t.stmt === "dir" && (n = t.value);
3105
+ return n;
3106
+ }, "getDir")
3107
+ };
3108
+ export { styles_default as i, classDiagram_default as n, classRenderer_v3_unified_default as r, ClassDB as t };