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