@readme/markdown 7.10.2 → 7.10.4

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.
@@ -0,0 +1,1616 @@
1
+ "use strict";
2
+ exports.id = 896;
3
+ exports.ids = [896];
4
+ exports.modules = {
5
+
6
+ /***/ 4896:
7
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
8
+
9
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10
+ /* harmony export */ _$: () => (/* binding */ classDiagram_default),
11
+ /* harmony export */ tM: () => (/* binding */ styles_default),
12
+ /* harmony export */ z2: () => (/* binding */ classDb_default)
13
+ /* harmony export */ });
14
+ /* harmony import */ var _chunk_TLUHKHBO_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2843);
15
+ /* harmony import */ var _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6322);
16
+ /* harmony import */ var d3__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8066);
17
+
18
+
19
+
20
+ // src/diagrams/class/parser/classDiagram.jison
21
+ var parser = function() {
22
+ var o = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(k, v, o2, l) {
23
+ for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
24
+ return o2;
25
+ }, "o"), $V0 = [1, 17], $V1 = [1, 18], $V2 = [1, 19], $V3 = [1, 39], $V4 = [1, 40], $V5 = [1, 25], $V6 = [1, 23], $V7 = [1, 24], $V8 = [1, 31], $V9 = [1, 32], $Va = [1, 33], $Vb = [1, 34], $Vc = [1, 35], $Vd = [1, 36], $Ve = [1, 26], $Vf = [1, 27], $Vg = [1, 28], $Vh = [1, 29], $Vi = [1, 43], $Vj = [1, 30], $Vk = [1, 42], $Vl = [1, 44], $Vm = [1, 41], $Vn = [1, 45], $Vo = [1, 9], $Vp = [1, 8, 9], $Vq = [1, 56], $Vr = [1, 57], $Vs = [1, 58], $Vt = [1, 59], $Vu = [1, 60], $Vv = [1, 61], $Vw = [1, 62], $Vx = [1, 8, 9, 40], $Vy = [1, 74], $Vz = [1, 8, 9, 12, 13, 22, 38, 40, 43, 60, 61, 62, 63, 64, 65, 66, 71, 73], $VA = [1, 8, 9, 12, 13, 17, 20, 22, 38, 40, 43, 47, 60, 61, 62, 63, 64, 65, 66, 71, 73, 75, 81, 96, 98, 99], $VB = [13, 75, 81, 96, 98, 99], $VC = [13, 65, 66, 75, 81, 96, 98, 99], $VD = [13, 60, 61, 62, 63, 64, 75, 81, 96, 98, 99], $VE = [1, 94], $VF = [1, 111], $VG = [1, 109], $VH = [1, 103], $VI = [1, 104], $VJ = [1, 105], $VK = [1, 106], $VL = [1, 107], $VM = [1, 108], $VN = [1, 110], $VO = [1, 8, 9, 38, 40, 43], $VP = [1, 8, 9, 22], $VQ = [1, 8, 9, 79], $VR = [1, 8, 9, 22, 74, 75, 79, 81, 82, 83, 84, 85, 86];
26
+ var parser2 = {
27
+ trace: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function trace() {
28
+ }, "trace"),
29
+ yy: {},
30
+ symbols_: { "error": 2, "start": 3, "mermaidDoc": 4, "statements": 5, "graphConfig": 6, "CLASS_DIAGRAM": 7, "NEWLINE": 8, "EOF": 9, "statement": 10, "classLabel": 11, "SQS": 12, "STR": 13, "SQE": 14, "namespaceName": 15, "alphaNumToken": 16, "DOT": 17, "className": 18, "classLiteralName": 19, "GENERICTYPE": 20, "relationStatement": 21, "LABEL": 22, "namespaceStatement": 23, "classStatement": 24, "memberStatement": 25, "annotationStatement": 26, "clickStatement": 27, "styleStatement": 28, "cssClassStatement": 29, "noteStatement": 30, "direction": 31, "acc_title": 32, "acc_title_value": 33, "acc_descr": 34, "acc_descr_value": 35, "acc_descr_multiline_value": 36, "namespaceIdentifier": 37, "STRUCT_START": 38, "classStatements": 39, "STRUCT_STOP": 40, "NAMESPACE": 41, "classIdentifier": 42, "STYLE_SEPARATOR": 43, "members": 44, "CLASS": 45, "ANNOTATION_START": 46, "ANNOTATION_END": 47, "MEMBER": 48, "SEPARATOR": 49, "relation": 50, "NOTE_FOR": 51, "noteText": 52, "NOTE": 53, "direction_tb": 54, "direction_bt": 55, "direction_rl": 56, "direction_lr": 57, "relationType": 58, "lineType": 59, "AGGREGATION": 60, "EXTENSION": 61, "COMPOSITION": 62, "DEPENDENCY": 63, "LOLLIPOP": 64, "LINE": 65, "DOTTED_LINE": 66, "CALLBACK": 67, "LINK": 68, "LINK_TARGET": 69, "CLICK": 70, "CALLBACK_NAME": 71, "CALLBACK_ARGS": 72, "HREF": 73, "STYLE": 74, "ALPHA": 75, "stylesOpt": 76, "CSSCLASS": 77, "style": 78, "COMMA": 79, "styleComponent": 80, "NUM": 81, "COLON": 82, "UNIT": 83, "SPACE": 84, "BRKT": 85, "PCT": 86, "commentToken": 87, "textToken": 88, "graphCodeTokens": 89, "textNoTagsToken": 90, "TAGSTART": 91, "TAGEND": 92, "==": 93, "--": 94, "DEFAULT": 95, "MINUS": 96, "keywords": 97, "UNICODE_TEXT": 98, "BQUOTE_STR": 99, "$accept": 0, "$end": 1 },
31
+ terminals_: { 2: "error", 7: "CLASS_DIAGRAM", 8: "NEWLINE", 9: "EOF", 12: "SQS", 13: "STR", 14: "SQE", 17: "DOT", 20: "GENERICTYPE", 22: "LABEL", 32: "acc_title", 33: "acc_title_value", 34: "acc_descr", 35: "acc_descr_value", 36: "acc_descr_multiline_value", 38: "STRUCT_START", 40: "STRUCT_STOP", 41: "NAMESPACE", 43: "STYLE_SEPARATOR", 45: "CLASS", 46: "ANNOTATION_START", 47: "ANNOTATION_END", 48: "MEMBER", 49: "SEPARATOR", 51: "NOTE_FOR", 53: "NOTE", 54: "direction_tb", 55: "direction_bt", 56: "direction_rl", 57: "direction_lr", 60: "AGGREGATION", 61: "EXTENSION", 62: "COMPOSITION", 63: "DEPENDENCY", 64: "LOLLIPOP", 65: "LINE", 66: "DOTTED_LINE", 67: "CALLBACK", 68: "LINK", 69: "LINK_TARGET", 70: "CLICK", 71: "CALLBACK_NAME", 72: "CALLBACK_ARGS", 73: "HREF", 74: "STYLE", 75: "ALPHA", 77: "CSSCLASS", 79: "COMMA", 81: "NUM", 82: "COLON", 83: "UNIT", 84: "SPACE", 85: "BRKT", 86: "PCT", 89: "graphCodeTokens", 91: "TAGSTART", 92: "TAGEND", 93: "==", 94: "--", 95: "DEFAULT", 96: "MINUS", 97: "keywords", 98: "UNICODE_TEXT", 99: "BQUOTE_STR" },
32
+ productions_: [0, [3, 1], [3, 1], [4, 1], [6, 4], [5, 1], [5, 2], [5, 3], [11, 3], [15, 1], [15, 3], [15, 2], [18, 1], [18, 3], [18, 1], [18, 2], [18, 2], [18, 2], [10, 1], [10, 2], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 2], [10, 2], [10, 1], [23, 4], [23, 5], [37, 2], [39, 1], [39, 2], [39, 3], [24, 1], [24, 3], [24, 4], [24, 6], [42, 2], [42, 3], [26, 4], [44, 1], [44, 2], [25, 1], [25, 2], [25, 1], [25, 1], [21, 3], [21, 4], [21, 4], [21, 5], [30, 3], [30, 2], [31, 1], [31, 1], [31, 1], [31, 1], [50, 3], [50, 2], [50, 2], [50, 1], [58, 1], [58, 1], [58, 1], [58, 1], [58, 1], [59, 1], [59, 1], [27, 3], [27, 4], [27, 3], [27, 4], [27, 4], [27, 5], [27, 3], [27, 4], [27, 4], [27, 5], [27, 4], [27, 5], [27, 5], [27, 6], [28, 3], [29, 3], [76, 1], [76, 3], [78, 1], [78, 2], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [87, 1], [87, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [90, 1], [90, 1], [90, 1], [90, 1], [16, 1], [16, 1], [16, 1], [16, 1], [19, 1], [52, 1]],
33
+ performAction: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
34
+ var $0 = $$.length - 1;
35
+ switch (yystate) {
36
+ case 8:
37
+ this.$ = $$[$0 - 1];
38
+ break;
39
+ case 9:
40
+ case 12:
41
+ case 14:
42
+ this.$ = $$[$0];
43
+ break;
44
+ case 10:
45
+ case 13:
46
+ this.$ = $$[$0 - 2] + "." + $$[$0];
47
+ break;
48
+ case 11:
49
+ case 15:
50
+ this.$ = $$[$0 - 1] + $$[$0];
51
+ break;
52
+ case 16:
53
+ case 17:
54
+ this.$ = $$[$0 - 1] + "~" + $$[$0] + "~";
55
+ break;
56
+ case 18:
57
+ yy.addRelation($$[$0]);
58
+ break;
59
+ case 19:
60
+ $$[$0 - 1].title = yy.cleanupLabel($$[$0]);
61
+ yy.addRelation($$[$0 - 1]);
62
+ break;
63
+ case 29:
64
+ this.$ = $$[$0].trim();
65
+ yy.setAccTitle(this.$);
66
+ break;
67
+ case 30:
68
+ case 31:
69
+ this.$ = $$[$0].trim();
70
+ yy.setAccDescription(this.$);
71
+ break;
72
+ case 32:
73
+ yy.addClassesToNamespace($$[$0 - 3], $$[$0 - 1]);
74
+ break;
75
+ case 33:
76
+ yy.addClassesToNamespace($$[$0 - 4], $$[$0 - 1]);
77
+ break;
78
+ case 34:
79
+ this.$ = $$[$0];
80
+ yy.addNamespace($$[$0]);
81
+ break;
82
+ case 35:
83
+ this.$ = [$$[$0]];
84
+ break;
85
+ case 36:
86
+ this.$ = [$$[$0 - 1]];
87
+ break;
88
+ case 37:
89
+ $$[$0].unshift($$[$0 - 2]);
90
+ this.$ = $$[$0];
91
+ break;
92
+ case 39:
93
+ yy.setCssClass($$[$0 - 2], $$[$0]);
94
+ break;
95
+ case 40:
96
+ yy.addMembers($$[$0 - 3], $$[$0 - 1]);
97
+ break;
98
+ case 41:
99
+ yy.setCssClass($$[$0 - 5], $$[$0 - 3]);
100
+ yy.addMembers($$[$0 - 5], $$[$0 - 1]);
101
+ break;
102
+ case 42:
103
+ this.$ = $$[$0];
104
+ yy.addClass($$[$0]);
105
+ break;
106
+ case 43:
107
+ this.$ = $$[$0 - 1];
108
+ yy.addClass($$[$0 - 1]);
109
+ yy.setClassLabel($$[$0 - 1], $$[$0]);
110
+ break;
111
+ case 44:
112
+ yy.addAnnotation($$[$0], $$[$0 - 2]);
113
+ break;
114
+ case 45:
115
+ this.$ = [$$[$0]];
116
+ break;
117
+ case 46:
118
+ $$[$0].push($$[$0 - 1]);
119
+ this.$ = $$[$0];
120
+ break;
121
+ case 47:
122
+ break;
123
+ case 48:
124
+ yy.addMember($$[$0 - 1], yy.cleanupLabel($$[$0]));
125
+ break;
126
+ case 49:
127
+ break;
128
+ case 50:
129
+ break;
130
+ case 51:
131
+ this.$ = { "id1": $$[$0 - 2], "id2": $$[$0], relation: $$[$0 - 1], relationTitle1: "none", relationTitle2: "none" };
132
+ break;
133
+ case 52:
134
+ this.$ = { id1: $$[$0 - 3], id2: $$[$0], relation: $$[$0 - 1], relationTitle1: $$[$0 - 2], relationTitle2: "none" };
135
+ break;
136
+ case 53:
137
+ this.$ = { id1: $$[$0 - 3], id2: $$[$0], relation: $$[$0 - 2], relationTitle1: "none", relationTitle2: $$[$0 - 1] };
138
+ break;
139
+ case 54:
140
+ this.$ = { id1: $$[$0 - 4], id2: $$[$0], relation: $$[$0 - 2], relationTitle1: $$[$0 - 3], relationTitle2: $$[$0 - 1] };
141
+ break;
142
+ case 55:
143
+ yy.addNote($$[$0], $$[$0 - 1]);
144
+ break;
145
+ case 56:
146
+ yy.addNote($$[$0]);
147
+ break;
148
+ case 57:
149
+ yy.setDirection("TB");
150
+ break;
151
+ case 58:
152
+ yy.setDirection("BT");
153
+ break;
154
+ case 59:
155
+ yy.setDirection("RL");
156
+ break;
157
+ case 60:
158
+ yy.setDirection("LR");
159
+ break;
160
+ case 61:
161
+ this.$ = { type1: $$[$0 - 2], type2: $$[$0], lineType: $$[$0 - 1] };
162
+ break;
163
+ case 62:
164
+ this.$ = { type1: "none", type2: $$[$0], lineType: $$[$0 - 1] };
165
+ break;
166
+ case 63:
167
+ this.$ = { type1: $$[$0 - 1], type2: "none", lineType: $$[$0] };
168
+ break;
169
+ case 64:
170
+ this.$ = { type1: "none", type2: "none", lineType: $$[$0] };
171
+ break;
172
+ case 65:
173
+ this.$ = yy.relationType.AGGREGATION;
174
+ break;
175
+ case 66:
176
+ this.$ = yy.relationType.EXTENSION;
177
+ break;
178
+ case 67:
179
+ this.$ = yy.relationType.COMPOSITION;
180
+ break;
181
+ case 68:
182
+ this.$ = yy.relationType.DEPENDENCY;
183
+ break;
184
+ case 69:
185
+ this.$ = yy.relationType.LOLLIPOP;
186
+ break;
187
+ case 70:
188
+ this.$ = yy.lineType.LINE;
189
+ break;
190
+ case 71:
191
+ this.$ = yy.lineType.DOTTED_LINE;
192
+ break;
193
+ case 72:
194
+ case 78:
195
+ this.$ = $$[$0 - 2];
196
+ yy.setClickEvent($$[$0 - 1], $$[$0]);
197
+ break;
198
+ case 73:
199
+ case 79:
200
+ this.$ = $$[$0 - 3];
201
+ yy.setClickEvent($$[$0 - 2], $$[$0 - 1]);
202
+ yy.setTooltip($$[$0 - 2], $$[$0]);
203
+ break;
204
+ case 74:
205
+ this.$ = $$[$0 - 2];
206
+ yy.setLink($$[$0 - 1], $$[$0]);
207
+ break;
208
+ case 75:
209
+ this.$ = $$[$0 - 3];
210
+ yy.setLink($$[$0 - 2], $$[$0 - 1], $$[$0]);
211
+ break;
212
+ case 76:
213
+ this.$ = $$[$0 - 3];
214
+ yy.setLink($$[$0 - 2], $$[$0 - 1]);
215
+ yy.setTooltip($$[$0 - 2], $$[$0]);
216
+ break;
217
+ case 77:
218
+ this.$ = $$[$0 - 4];
219
+ yy.setLink($$[$0 - 3], $$[$0 - 2], $$[$0]);
220
+ yy.setTooltip($$[$0 - 3], $$[$0 - 1]);
221
+ break;
222
+ case 80:
223
+ this.$ = $$[$0 - 3];
224
+ yy.setClickEvent($$[$0 - 2], $$[$0 - 1], $$[$0]);
225
+ break;
226
+ case 81:
227
+ this.$ = $$[$0 - 4];
228
+ yy.setClickEvent($$[$0 - 3], $$[$0 - 2], $$[$0 - 1]);
229
+ yy.setTooltip($$[$0 - 3], $$[$0]);
230
+ break;
231
+ case 82:
232
+ this.$ = $$[$0 - 3];
233
+ yy.setLink($$[$0 - 2], $$[$0]);
234
+ break;
235
+ case 83:
236
+ this.$ = $$[$0 - 4];
237
+ yy.setLink($$[$0 - 3], $$[$0 - 1], $$[$0]);
238
+ break;
239
+ case 84:
240
+ this.$ = $$[$0 - 4];
241
+ yy.setLink($$[$0 - 3], $$[$0 - 1]);
242
+ yy.setTooltip($$[$0 - 3], $$[$0]);
243
+ break;
244
+ case 85:
245
+ this.$ = $$[$0 - 5];
246
+ yy.setLink($$[$0 - 4], $$[$0 - 2], $$[$0]);
247
+ yy.setTooltip($$[$0 - 4], $$[$0 - 1]);
248
+ break;
249
+ case 86:
250
+ this.$ = $$[$0 - 2];
251
+ yy.setCssStyle($$[$0 - 1], $$[$0]);
252
+ break;
253
+ case 87:
254
+ yy.setCssClass($$[$0 - 1], $$[$0]);
255
+ break;
256
+ case 88:
257
+ this.$ = [$$[$0]];
258
+ break;
259
+ case 89:
260
+ $$[$0 - 2].push($$[$0]);
261
+ this.$ = $$[$0 - 2];
262
+ break;
263
+ case 91:
264
+ this.$ = $$[$0 - 1] + $$[$0];
265
+ break;
266
+ }
267
+ }, "anonymous"),
268
+ table: [{ 3: 1, 4: 2, 5: 3, 6: 4, 7: [1, 6], 10: 5, 16: 37, 18: 20, 19: 38, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: $V0, 34: $V1, 36: $V2, 37: 21, 41: $V3, 42: 22, 45: $V4, 46: $V5, 48: $V6, 49: $V7, 51: $V8, 53: $V9, 54: $Va, 55: $Vb, 56: $Vc, 57: $Vd, 67: $Ve, 68: $Vf, 70: $Vg, 74: $Vh, 75: $Vi, 77: $Vj, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }, { 1: [3] }, { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3] }, o($Vo, [2, 5], { 8: [1, 46] }), { 8: [1, 47] }, o($Vp, [2, 18], { 22: [1, 48] }), o($Vp, [2, 20]), o($Vp, [2, 21]), o($Vp, [2, 22]), o($Vp, [2, 23]), o($Vp, [2, 24]), o($Vp, [2, 25]), o($Vp, [2, 26]), o($Vp, [2, 27]), o($Vp, [2, 28]), { 33: [1, 49] }, { 35: [1, 50] }, o($Vp, [2, 31]), o($Vp, [2, 47], { 50: 51, 58: 54, 59: 55, 13: [1, 52], 22: [1, 53], 60: $Vq, 61: $Vr, 62: $Vs, 63: $Vt, 64: $Vu, 65: $Vv, 66: $Vw }), { 38: [1, 63] }, o($Vx, [2, 38], { 38: [1, 65], 43: [1, 64] }), o($Vp, [2, 49]), o($Vp, [2, 50]), { 16: 66, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm }, { 16: 37, 18: 67, 19: 38, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }, { 16: 37, 18: 68, 19: 38, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }, { 16: 37, 18: 69, 19: 38, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }, { 75: [1, 70] }, { 13: [1, 71] }, { 16: 37, 18: 72, 19: 38, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }, { 13: $Vy, 52: 73 }, o($Vp, [2, 57]), o($Vp, [2, 58]), o($Vp, [2, 59]), o($Vp, [2, 60]), o($Vz, [2, 12], { 16: 37, 19: 38, 18: 76, 17: [1, 75], 20: [1, 77], 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }), o($Vz, [2, 14], { 20: [1, 78] }), { 15: 79, 16: 80, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm }, { 16: 37, 18: 81, 19: 38, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }, o($VA, [2, 114]), o($VA, [2, 115]), o($VA, [2, 116]), o($VA, [2, 117]), o([1, 8, 9, 12, 13, 20, 22, 38, 40, 43, 60, 61, 62, 63, 64, 65, 66, 71, 73], [2, 118]), o($Vo, [2, 6], { 10: 5, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 18: 20, 37: 21, 42: 22, 16: 37, 19: 38, 5: 82, 32: $V0, 34: $V1, 36: $V2, 41: $V3, 45: $V4, 46: $V5, 48: $V6, 49: $V7, 51: $V8, 53: $V9, 54: $Va, 55: $Vb, 56: $Vc, 57: $Vd, 67: $Ve, 68: $Vf, 70: $Vg, 74: $Vh, 75: $Vi, 77: $Vj, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }), { 5: 83, 10: 5, 16: 37, 18: 20, 19: 38, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: $V0, 34: $V1, 36: $V2, 37: 21, 41: $V3, 42: 22, 45: $V4, 46: $V5, 48: $V6, 49: $V7, 51: $V8, 53: $V9, 54: $Va, 55: $Vb, 56: $Vc, 57: $Vd, 67: $Ve, 68: $Vf, 70: $Vg, 74: $Vh, 75: $Vi, 77: $Vj, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }, o($Vp, [2, 19]), o($Vp, [2, 29]), o($Vp, [2, 30]), { 13: [1, 85], 16: 37, 18: 84, 19: 38, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }, { 50: 86, 58: 54, 59: 55, 60: $Vq, 61: $Vr, 62: $Vs, 63: $Vt, 64: $Vu, 65: $Vv, 66: $Vw }, o($Vp, [2, 48]), { 59: 87, 65: $Vv, 66: $Vw }, o($VB, [2, 64], { 58: 88, 60: $Vq, 61: $Vr, 62: $Vs, 63: $Vt, 64: $Vu }), o($VC, [2, 65]), o($VC, [2, 66]), o($VC, [2, 67]), o($VC, [2, 68]), o($VC, [2, 69]), o($VD, [2, 70]), o($VD, [2, 71]), { 8: [1, 90], 24: 91, 39: 89, 42: 22, 45: $V4 }, { 16: 92, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm }, { 44: 93, 48: $VE }, { 47: [1, 95] }, { 13: [1, 96] }, { 13: [1, 97] }, { 71: [1, 98], 73: [1, 99] }, { 22: $VF, 74: $VG, 75: $VH, 76: 100, 78: 101, 80: 102, 81: $VI, 82: $VJ, 83: $VK, 84: $VL, 85: $VM, 86: $VN }, { 75: [1, 112] }, { 13: $Vy, 52: 113 }, o($Vp, [2, 56]), o($Vp, [2, 119]), { 16: 37, 18: 114, 19: 38, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }, o($Vz, [2, 15]), o($Vz, [2, 16]), o($Vz, [2, 17]), { 38: [2, 34] }, { 15: 116, 16: 80, 17: [1, 115], 38: [2, 9], 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm }, o($VO, [2, 42], { 11: 117, 12: [1, 118] }), o($Vo, [2, 7]), { 9: [1, 119] }, o($VP, [2, 51]), { 16: 37, 18: 120, 19: 38, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }, { 13: [1, 122], 16: 37, 18: 121, 19: 38, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }, o($VB, [2, 63], { 58: 123, 60: $Vq, 61: $Vr, 62: $Vs, 63: $Vt, 64: $Vu }), o($VB, [2, 62]), { 40: [1, 124] }, { 24: 91, 39: 125, 42: 22, 45: $V4 }, { 8: [1, 126], 40: [2, 35] }, o($Vx, [2, 39], { 38: [1, 127] }), { 40: [1, 128] }, { 40: [2, 45], 44: 129, 48: $VE }, { 16: 37, 18: 130, 19: 38, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }, o($Vp, [2, 72], { 13: [1, 131] }), o($Vp, [2, 74], { 13: [1, 133], 69: [1, 132] }), o($Vp, [2, 78], { 13: [1, 134], 72: [1, 135] }), { 13: [1, 136] }, o($Vp, [2, 86], { 79: [1, 137] }), o($VQ, [2, 88], { 80: 138, 22: $VF, 74: $VG, 75: $VH, 81: $VI, 82: $VJ, 83: $VK, 84: $VL, 85: $VM, 86: $VN }), o($VR, [2, 90]), o($VR, [2, 92]), o($VR, [2, 93]), o($VR, [2, 94]), o($VR, [2, 95]), o($VR, [2, 96]), o($VR, [2, 97]), o($VR, [2, 98]), o($VR, [2, 99]), o($VR, [2, 100]), o($Vp, [2, 87]), o($Vp, [2, 55]), o($Vz, [2, 13]), { 15: 139, 16: 80, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm }, { 38: [2, 11] }, o($VO, [2, 43]), { 13: [1, 140] }, { 1: [2, 4] }, o($VP, [2, 53]), o($VP, [2, 52]), { 16: 37, 18: 141, 19: 38, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }, o($VB, [2, 61]), o($Vp, [2, 32]), { 40: [1, 142] }, { 24: 91, 39: 143, 40: [2, 36], 42: 22, 45: $V4 }, { 44: 144, 48: $VE }, o($Vx, [2, 40]), { 40: [2, 46] }, o($Vp, [2, 44]), o($Vp, [2, 73]), o($Vp, [2, 75]), o($Vp, [2, 76], { 69: [1, 145] }), o($Vp, [2, 79]), o($Vp, [2, 80], { 13: [1, 146] }), o($Vp, [2, 82], { 13: [1, 148], 69: [1, 147] }), { 22: $VF, 74: $VG, 75: $VH, 78: 149, 80: 102, 81: $VI, 82: $VJ, 83: $VK, 84: $VL, 85: $VM, 86: $VN }, o($VR, [2, 91]), { 38: [2, 10] }, { 14: [1, 150] }, o($VP, [2, 54]), o($Vp, [2, 33]), { 40: [2, 37] }, { 40: [1, 151] }, o($Vp, [2, 77]), o($Vp, [2, 81]), o($Vp, [2, 83]), o($Vp, [2, 84], { 69: [1, 152] }), o($VQ, [2, 89], { 80: 138, 22: $VF, 74: $VG, 75: $VH, 81: $VI, 82: $VJ, 83: $VK, 84: $VL, 85: $VM, 86: $VN }), o($VO, [2, 8]), o($Vx, [2, 41]), o($Vp, [2, 85])],
269
+ defaultActions: { 2: [2, 1], 3: [2, 2], 4: [2, 3], 79: [2, 34], 116: [2, 11], 119: [2, 4], 129: [2, 46], 139: [2, 10], 143: [2, 37] },
270
+ parseError: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function parseError(str, hash) {
271
+ if (hash.recoverable) {
272
+ this.trace(str);
273
+ } else {
274
+ var error = new Error(str);
275
+ error.hash = hash;
276
+ throw error;
277
+ }
278
+ }, "parseError"),
279
+ parse: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function parse(input) {
280
+ var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;
281
+ var args = lstack.slice.call(arguments, 1);
282
+ var lexer2 = Object.create(this.lexer);
283
+ var sharedState = { yy: {} };
284
+ for (var k in this.yy) {
285
+ if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
286
+ sharedState.yy[k] = this.yy[k];
287
+ }
288
+ }
289
+ lexer2.setInput(input, sharedState.yy);
290
+ sharedState.yy.lexer = lexer2;
291
+ sharedState.yy.parser = this;
292
+ if (typeof lexer2.yylloc == "undefined") {
293
+ lexer2.yylloc = {};
294
+ }
295
+ var yyloc = lexer2.yylloc;
296
+ lstack.push(yyloc);
297
+ var ranges = lexer2.options && lexer2.options.ranges;
298
+ if (typeof sharedState.yy.parseError === "function") {
299
+ this.parseError = sharedState.yy.parseError;
300
+ } else {
301
+ this.parseError = Object.getPrototypeOf(this).parseError;
302
+ }
303
+ function popStack(n) {
304
+ stack.length = stack.length - 2 * n;
305
+ vstack.length = vstack.length - n;
306
+ lstack.length = lstack.length - n;
307
+ }
308
+ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(popStack, "popStack");
309
+ function lex() {
310
+ var token;
311
+ token = tstack.pop() || lexer2.lex() || EOF;
312
+ if (typeof token !== "number") {
313
+ if (token instanceof Array) {
314
+ tstack = token;
315
+ token = tstack.pop();
316
+ }
317
+ token = self.symbols_[token] || token;
318
+ }
319
+ return token;
320
+ }
321
+ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(lex, "lex");
322
+ var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;
323
+ while (true) {
324
+ state = stack[stack.length - 1];
325
+ if (this.defaultActions[state]) {
326
+ action = this.defaultActions[state];
327
+ } else {
328
+ if (symbol === null || typeof symbol == "undefined") {
329
+ symbol = lex();
330
+ }
331
+ action = table[state] && table[state][symbol];
332
+ }
333
+ if (typeof action === "undefined" || !action.length || !action[0]) {
334
+ var errStr = "";
335
+ expected = [];
336
+ for (p in table[state]) {
337
+ if (this.terminals_[p] && p > TERROR) {
338
+ expected.push("'" + this.terminals_[p] + "'");
339
+ }
340
+ }
341
+ if (lexer2.showPosition) {
342
+ errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
343
+ } else {
344
+ errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
345
+ }
346
+ this.parseError(errStr, {
347
+ text: lexer2.match,
348
+ token: this.terminals_[symbol] || symbol,
349
+ line: lexer2.yylineno,
350
+ loc: yyloc,
351
+ expected
352
+ });
353
+ }
354
+ if (action[0] instanceof Array && action.length > 1) {
355
+ throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
356
+ }
357
+ switch (action[0]) {
358
+ case 1:
359
+ stack.push(symbol);
360
+ vstack.push(lexer2.yytext);
361
+ lstack.push(lexer2.yylloc);
362
+ stack.push(action[1]);
363
+ symbol = null;
364
+ if (!preErrorSymbol) {
365
+ yyleng = lexer2.yyleng;
366
+ yytext = lexer2.yytext;
367
+ yylineno = lexer2.yylineno;
368
+ yyloc = lexer2.yylloc;
369
+ if (recovering > 0) {
370
+ recovering--;
371
+ }
372
+ } else {
373
+ symbol = preErrorSymbol;
374
+ preErrorSymbol = null;
375
+ }
376
+ break;
377
+ case 2:
378
+ len = this.productions_[action[1]][1];
379
+ yyval.$ = vstack[vstack.length - len];
380
+ yyval._$ = {
381
+ first_line: lstack[lstack.length - (len || 1)].first_line,
382
+ last_line: lstack[lstack.length - 1].last_line,
383
+ first_column: lstack[lstack.length - (len || 1)].first_column,
384
+ last_column: lstack[lstack.length - 1].last_column
385
+ };
386
+ if (ranges) {
387
+ yyval._$.range = [
388
+ lstack[lstack.length - (len || 1)].range[0],
389
+ lstack[lstack.length - 1].range[1]
390
+ ];
391
+ }
392
+ r = this.performAction.apply(yyval, [
393
+ yytext,
394
+ yyleng,
395
+ yylineno,
396
+ sharedState.yy,
397
+ action[1],
398
+ vstack,
399
+ lstack
400
+ ].concat(args));
401
+ if (typeof r !== "undefined") {
402
+ return r;
403
+ }
404
+ if (len) {
405
+ stack = stack.slice(0, -1 * len * 2);
406
+ vstack = vstack.slice(0, -1 * len);
407
+ lstack = lstack.slice(0, -1 * len);
408
+ }
409
+ stack.push(this.productions_[action[1]][0]);
410
+ vstack.push(yyval.$);
411
+ lstack.push(yyval._$);
412
+ newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
413
+ stack.push(newState);
414
+ break;
415
+ case 3:
416
+ return true;
417
+ }
418
+ }
419
+ return true;
420
+ }, "parse")
421
+ };
422
+ var lexer = /* @__PURE__ */ function() {
423
+ var lexer2 = {
424
+ EOF: 1,
425
+ parseError: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function parseError(str, hash) {
426
+ if (this.yy.parser) {
427
+ this.yy.parser.parseError(str, hash);
428
+ } else {
429
+ throw new Error(str);
430
+ }
431
+ }, "parseError"),
432
+ // resets the lexer, sets new input
433
+ setInput: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(input, yy) {
434
+ this.yy = yy || this.yy || {};
435
+ this._input = input;
436
+ this._more = this._backtrack = this.done = false;
437
+ this.yylineno = this.yyleng = 0;
438
+ this.yytext = this.matched = this.match = "";
439
+ this.conditionStack = ["INITIAL"];
440
+ this.yylloc = {
441
+ first_line: 1,
442
+ first_column: 0,
443
+ last_line: 1,
444
+ last_column: 0
445
+ };
446
+ if (this.options.ranges) {
447
+ this.yylloc.range = [0, 0];
448
+ }
449
+ this.offset = 0;
450
+ return this;
451
+ }, "setInput"),
452
+ // consumes and returns one char from the input
453
+ input: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
454
+ var ch = this._input[0];
455
+ this.yytext += ch;
456
+ this.yyleng++;
457
+ this.offset++;
458
+ this.match += ch;
459
+ this.matched += ch;
460
+ var lines = ch.match(/(?:\r\n?|\n).*/g);
461
+ if (lines) {
462
+ this.yylineno++;
463
+ this.yylloc.last_line++;
464
+ } else {
465
+ this.yylloc.last_column++;
466
+ }
467
+ if (this.options.ranges) {
468
+ this.yylloc.range[1]++;
469
+ }
470
+ this._input = this._input.slice(1);
471
+ return ch;
472
+ }, "input"),
473
+ // unshifts one char (or a string) into the input
474
+ unput: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(ch) {
475
+ var len = ch.length;
476
+ var lines = ch.split(/(?:\r\n?|\n)/g);
477
+ this._input = ch + this._input;
478
+ this.yytext = this.yytext.substr(0, this.yytext.length - len);
479
+ this.offset -= len;
480
+ var oldLines = this.match.split(/(?:\r\n?|\n)/g);
481
+ this.match = this.match.substr(0, this.match.length - 1);
482
+ this.matched = this.matched.substr(0, this.matched.length - 1);
483
+ if (lines.length - 1) {
484
+ this.yylineno -= lines.length - 1;
485
+ }
486
+ var r = this.yylloc.range;
487
+ this.yylloc = {
488
+ first_line: this.yylloc.first_line,
489
+ last_line: this.yylineno + 1,
490
+ first_column: this.yylloc.first_column,
491
+ last_column: lines ? (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length : this.yylloc.first_column - len
492
+ };
493
+ if (this.options.ranges) {
494
+ this.yylloc.range = [r[0], r[0] + this.yyleng - len];
495
+ }
496
+ this.yyleng = this.yytext.length;
497
+ return this;
498
+ }, "unput"),
499
+ // When called from action, caches matched text and appends it on next action
500
+ more: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
501
+ this._more = true;
502
+ return this;
503
+ }, "more"),
504
+ // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
505
+ reject: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
506
+ if (this.options.backtrack_lexer) {
507
+ this._backtrack = true;
508
+ } else {
509
+ 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(), {
510
+ text: "",
511
+ token: null,
512
+ line: this.yylineno
513
+ });
514
+ }
515
+ return this;
516
+ }, "reject"),
517
+ // retain first n characters of the match
518
+ less: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(n) {
519
+ this.unput(this.match.slice(n));
520
+ }, "less"),
521
+ // displays already matched input, i.e. for error messages
522
+ pastInput: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
523
+ var past = this.matched.substr(0, this.matched.length - this.match.length);
524
+ return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
525
+ }, "pastInput"),
526
+ // displays upcoming input, i.e. for error messages
527
+ upcomingInput: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
528
+ var next = this.match;
529
+ if (next.length < 20) {
530
+ next += this._input.substr(0, 20 - next.length);
531
+ }
532
+ return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
533
+ }, "upcomingInput"),
534
+ // displays the character position where the lexing error occurred, i.e. for error messages
535
+ showPosition: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
536
+ var pre = this.pastInput();
537
+ var c = new Array(pre.length + 1).join("-");
538
+ return pre + this.upcomingInput() + "\n" + c + "^";
539
+ }, "showPosition"),
540
+ // test the lexed token: return FALSE when not a match, otherwise return token
541
+ test_match: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(match, indexed_rule) {
542
+ var token, lines, backup;
543
+ if (this.options.backtrack_lexer) {
544
+ backup = {
545
+ yylineno: this.yylineno,
546
+ yylloc: {
547
+ first_line: this.yylloc.first_line,
548
+ last_line: this.last_line,
549
+ first_column: this.yylloc.first_column,
550
+ last_column: this.yylloc.last_column
551
+ },
552
+ yytext: this.yytext,
553
+ match: this.match,
554
+ matches: this.matches,
555
+ matched: this.matched,
556
+ yyleng: this.yyleng,
557
+ offset: this.offset,
558
+ _more: this._more,
559
+ _input: this._input,
560
+ yy: this.yy,
561
+ conditionStack: this.conditionStack.slice(0),
562
+ done: this.done
563
+ };
564
+ if (this.options.ranges) {
565
+ backup.yylloc.range = this.yylloc.range.slice(0);
566
+ }
567
+ }
568
+ lines = match[0].match(/(?:\r\n?|\n).*/g);
569
+ if (lines) {
570
+ this.yylineno += lines.length;
571
+ }
572
+ this.yylloc = {
573
+ first_line: this.yylloc.last_line,
574
+ last_line: this.yylineno + 1,
575
+ first_column: this.yylloc.last_column,
576
+ last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
577
+ };
578
+ this.yytext += match[0];
579
+ this.match += match[0];
580
+ this.matches = match;
581
+ this.yyleng = this.yytext.length;
582
+ if (this.options.ranges) {
583
+ this.yylloc.range = [this.offset, this.offset += this.yyleng];
584
+ }
585
+ this._more = false;
586
+ this._backtrack = false;
587
+ this._input = this._input.slice(match[0].length);
588
+ this.matched += match[0];
589
+ token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
590
+ if (this.done && this._input) {
591
+ this.done = false;
592
+ }
593
+ if (token) {
594
+ return token;
595
+ } else if (this._backtrack) {
596
+ for (var k in backup) {
597
+ this[k] = backup[k];
598
+ }
599
+ return false;
600
+ }
601
+ return false;
602
+ }, "test_match"),
603
+ // return next match in input
604
+ next: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
605
+ if (this.done) {
606
+ return this.EOF;
607
+ }
608
+ if (!this._input) {
609
+ this.done = true;
610
+ }
611
+ var token, match, tempMatch, index;
612
+ if (!this._more) {
613
+ this.yytext = "";
614
+ this.match = "";
615
+ }
616
+ var rules = this._currentRules();
617
+ for (var i = 0; i < rules.length; i++) {
618
+ tempMatch = this._input.match(this.rules[rules[i]]);
619
+ if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
620
+ match = tempMatch;
621
+ index = i;
622
+ if (this.options.backtrack_lexer) {
623
+ token = this.test_match(tempMatch, rules[i]);
624
+ if (token !== false) {
625
+ return token;
626
+ } else if (this._backtrack) {
627
+ match = false;
628
+ continue;
629
+ } else {
630
+ return false;
631
+ }
632
+ } else if (!this.options.flex) {
633
+ break;
634
+ }
635
+ }
636
+ }
637
+ if (match) {
638
+ token = this.test_match(match, rules[index]);
639
+ if (token !== false) {
640
+ return token;
641
+ }
642
+ return false;
643
+ }
644
+ if (this._input === "") {
645
+ return this.EOF;
646
+ } else {
647
+ return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
648
+ text: "",
649
+ token: null,
650
+ line: this.yylineno
651
+ });
652
+ }
653
+ }, "next"),
654
+ // return next match that has a token
655
+ lex: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function lex() {
656
+ var r = this.next();
657
+ if (r) {
658
+ return r;
659
+ } else {
660
+ return this.lex();
661
+ }
662
+ }, "lex"),
663
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
664
+ begin: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function begin(condition) {
665
+ this.conditionStack.push(condition);
666
+ }, "begin"),
667
+ // pop the previously active lexer condition state off the condition stack
668
+ popState: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function popState() {
669
+ var n = this.conditionStack.length - 1;
670
+ if (n > 0) {
671
+ return this.conditionStack.pop();
672
+ } else {
673
+ return this.conditionStack[0];
674
+ }
675
+ }, "popState"),
676
+ // produce the lexer rule set which is active for the currently active lexer condition state
677
+ _currentRules: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function _currentRules() {
678
+ if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
679
+ return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
680
+ } else {
681
+ return this.conditions["INITIAL"].rules;
682
+ }
683
+ }, "_currentRules"),
684
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
685
+ topState: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function topState(n) {
686
+ n = this.conditionStack.length - 1 - Math.abs(n || 0);
687
+ if (n >= 0) {
688
+ return this.conditionStack[n];
689
+ } else {
690
+ return "INITIAL";
691
+ }
692
+ }, "topState"),
693
+ // alias for begin(condition)
694
+ pushState: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function pushState(condition) {
695
+ this.begin(condition);
696
+ }, "pushState"),
697
+ // return the number of states currently on the stack
698
+ stateStackSize: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function stateStackSize() {
699
+ return this.conditionStack.length;
700
+ }, "stateStackSize"),
701
+ options: {},
702
+ performAction: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
703
+ var YYSTATE = YY_START;
704
+ switch ($avoiding_name_collisions) {
705
+ case 0:
706
+ return 54;
707
+ break;
708
+ case 1:
709
+ return 55;
710
+ break;
711
+ case 2:
712
+ return 56;
713
+ break;
714
+ case 3:
715
+ return 57;
716
+ break;
717
+ case 4:
718
+ break;
719
+ case 5:
720
+ break;
721
+ case 6:
722
+ this.begin("acc_title");
723
+ return 32;
724
+ break;
725
+ case 7:
726
+ this.popState();
727
+ return "acc_title_value";
728
+ break;
729
+ case 8:
730
+ this.begin("acc_descr");
731
+ return 34;
732
+ break;
733
+ case 9:
734
+ this.popState();
735
+ return "acc_descr_value";
736
+ break;
737
+ case 10:
738
+ this.begin("acc_descr_multiline");
739
+ break;
740
+ case 11:
741
+ this.popState();
742
+ break;
743
+ case 12:
744
+ return "acc_descr_multiline_value";
745
+ break;
746
+ case 13:
747
+ return 8;
748
+ break;
749
+ case 14:
750
+ break;
751
+ case 15:
752
+ return 7;
753
+ break;
754
+ case 16:
755
+ return 7;
756
+ break;
757
+ case 17:
758
+ return "EDGE_STATE";
759
+ break;
760
+ case 18:
761
+ this.begin("callback_name");
762
+ break;
763
+ case 19:
764
+ this.popState();
765
+ break;
766
+ case 20:
767
+ this.popState();
768
+ this.begin("callback_args");
769
+ break;
770
+ case 21:
771
+ return 71;
772
+ break;
773
+ case 22:
774
+ this.popState();
775
+ break;
776
+ case 23:
777
+ return 72;
778
+ break;
779
+ case 24:
780
+ this.popState();
781
+ break;
782
+ case 25:
783
+ return "STR";
784
+ break;
785
+ case 26:
786
+ this.begin("string");
787
+ break;
788
+ case 27:
789
+ return 74;
790
+ break;
791
+ case 28:
792
+ this.begin("namespace");
793
+ return 41;
794
+ break;
795
+ case 29:
796
+ this.popState();
797
+ return 8;
798
+ break;
799
+ case 30:
800
+ break;
801
+ case 31:
802
+ this.begin("namespace-body");
803
+ return 38;
804
+ break;
805
+ case 32:
806
+ this.popState();
807
+ return 40;
808
+ break;
809
+ case 33:
810
+ return "EOF_IN_STRUCT";
811
+ break;
812
+ case 34:
813
+ return 8;
814
+ break;
815
+ case 35:
816
+ break;
817
+ case 36:
818
+ return "EDGE_STATE";
819
+ break;
820
+ case 37:
821
+ this.begin("class");
822
+ return 45;
823
+ break;
824
+ case 38:
825
+ this.popState();
826
+ return 8;
827
+ break;
828
+ case 39:
829
+ break;
830
+ case 40:
831
+ this.popState();
832
+ this.popState();
833
+ return 40;
834
+ break;
835
+ case 41:
836
+ this.begin("class-body");
837
+ return 38;
838
+ break;
839
+ case 42:
840
+ this.popState();
841
+ return 40;
842
+ break;
843
+ case 43:
844
+ return "EOF_IN_STRUCT";
845
+ break;
846
+ case 44:
847
+ return "EDGE_STATE";
848
+ break;
849
+ case 45:
850
+ return "OPEN_IN_STRUCT";
851
+ break;
852
+ case 46:
853
+ break;
854
+ case 47:
855
+ return "MEMBER";
856
+ break;
857
+ case 48:
858
+ return 77;
859
+ break;
860
+ case 49:
861
+ return 67;
862
+ break;
863
+ case 50:
864
+ return 68;
865
+ break;
866
+ case 51:
867
+ return 70;
868
+ break;
869
+ case 52:
870
+ return 51;
871
+ break;
872
+ case 53:
873
+ return 53;
874
+ break;
875
+ case 54:
876
+ return 46;
877
+ break;
878
+ case 55:
879
+ return 47;
880
+ break;
881
+ case 56:
882
+ return 73;
883
+ break;
884
+ case 57:
885
+ this.popState();
886
+ break;
887
+ case 58:
888
+ return "GENERICTYPE";
889
+ break;
890
+ case 59:
891
+ this.begin("generic");
892
+ break;
893
+ case 60:
894
+ this.popState();
895
+ break;
896
+ case 61:
897
+ return "BQUOTE_STR";
898
+ break;
899
+ case 62:
900
+ this.begin("bqstring");
901
+ break;
902
+ case 63:
903
+ return 69;
904
+ break;
905
+ case 64:
906
+ return 69;
907
+ break;
908
+ case 65:
909
+ return 69;
910
+ break;
911
+ case 66:
912
+ return 69;
913
+ break;
914
+ case 67:
915
+ return 61;
916
+ break;
917
+ case 68:
918
+ return 61;
919
+ break;
920
+ case 69:
921
+ return 63;
922
+ break;
923
+ case 70:
924
+ return 63;
925
+ break;
926
+ case 71:
927
+ return 62;
928
+ break;
929
+ case 72:
930
+ return 60;
931
+ break;
932
+ case 73:
933
+ return 64;
934
+ break;
935
+ case 74:
936
+ return 65;
937
+ break;
938
+ case 75:
939
+ return 66;
940
+ break;
941
+ case 76:
942
+ return 22;
943
+ break;
944
+ case 77:
945
+ return 43;
946
+ break;
947
+ case 78:
948
+ return 96;
949
+ break;
950
+ case 79:
951
+ return 17;
952
+ break;
953
+ case 80:
954
+ return "PLUS";
955
+ break;
956
+ case 81:
957
+ return 82;
958
+ break;
959
+ case 82:
960
+ return 79;
961
+ break;
962
+ case 83:
963
+ return 85;
964
+ break;
965
+ case 84:
966
+ return 85;
967
+ break;
968
+ case 85:
969
+ return 86;
970
+ break;
971
+ case 86:
972
+ return "EQUALS";
973
+ break;
974
+ case 87:
975
+ return "EQUALS";
976
+ break;
977
+ case 88:
978
+ return 75;
979
+ break;
980
+ case 89:
981
+ return 12;
982
+ break;
983
+ case 90:
984
+ return 14;
985
+ break;
986
+ case 91:
987
+ return "PUNCTUATION";
988
+ break;
989
+ case 92:
990
+ return 81;
991
+ break;
992
+ case 93:
993
+ return 98;
994
+ break;
995
+ case 94:
996
+ return 84;
997
+ break;
998
+ case 95:
999
+ return 84;
1000
+ break;
1001
+ case 96:
1002
+ return 9;
1003
+ break;
1004
+ }
1005
+ }, "anonymous"),
1006
+ rules: [/^(?:.*direction\s+TB[^\n]*)/, /^(?:.*direction\s+BT[^\n]*)/, /^(?:.*direction\s+RL[^\n]*)/, /^(?:.*direction\s+LR[^\n]*)/, /^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/, /^(?:%%[^\n]*(\r?\n)*)/, /^(?:accTitle\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*\{\s*)/, /^(?:[\}])/, /^(?:[^\}]*)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:classDiagram-v2\b)/, /^(?:classDiagram\b)/, /^(?:\[\*\])/, /^(?:call[\s]+)/, /^(?:\([\s]*\))/, /^(?:\()/, /^(?:[^(]*)/, /^(?:\))/, /^(?:[^)]*)/, /^(?:["])/, /^(?:[^"]*)/, /^(?:["])/, /^(?:style\b)/, /^(?:namespace\b)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:[{])/, /^(?:[}])/, /^(?:$)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:\[\*\])/, /^(?:class\b)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:[}])/, /^(?:[{])/, /^(?:[}])/, /^(?:$)/, /^(?:\[\*\])/, /^(?:[{])/, /^(?:[\n])/, /^(?:[^{}\n]*)/, /^(?:cssClass\b)/, /^(?:callback\b)/, /^(?:link\b)/, /^(?:click\b)/, /^(?:note for\b)/, /^(?:note\b)/, /^(?:<<)/, /^(?:>>)/, /^(?:href\b)/, /^(?:[~])/, /^(?:[^~]*)/, /^(?:~)/, /^(?:[`])/, /^(?:[^`]+)/, /^(?:[`])/, /^(?:_self\b)/, /^(?:_blank\b)/, /^(?:_parent\b)/, /^(?:_top\b)/, /^(?:\s*<\|)/, /^(?:\s*\|>)/, /^(?:\s*>)/, /^(?:\s*<)/, /^(?:\s*\*)/, /^(?:\s*o\b)/, /^(?:\s*\(\))/, /^(?:--)/, /^(?:\.\.)/, /^(?::{1}[^:\n;]+)/, /^(?::{3})/, /^(?:-)/, /^(?:\.)/, /^(?:\+)/, /^(?::)/, /^(?:,)/, /^(?:#)/, /^(?:#)/, /^(?:%)/, /^(?:=)/, /^(?:=)/, /^(?:\w+)/, /^(?:\[)/, /^(?:\])/, /^(?:[!"#$%&'*+,-.`?\\/])/, /^(?:[0-9]+)/, /^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/, /^(?:\s)/, /^(?:\s)/, /^(?:$)/],
1007
+ conditions: { "namespace-body": { "rules": [26, 32, 33, 34, 35, 36, 37, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "namespace": { "rules": [26, 28, 29, 30, 31, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "class-body": { "rules": [26, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "class": { "rules": [26, 38, 39, 40, 41, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "acc_descr_multiline": { "rules": [11, 12, 26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "acc_descr": { "rules": [9, 26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "acc_title": { "rules": [7, 26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "callback_args": { "rules": [22, 23, 26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "callback_name": { "rules": [19, 20, 21, 26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "href": { "rules": [26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "struct": { "rules": [26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "generic": { "rules": [26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "bqstring": { "rules": [26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "string": { "rules": [24, 25, 26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "INITIAL": { "rules": [0, 1, 2, 3, 4, 5, 6, 8, 10, 13, 14, 15, 16, 17, 18, 26, 27, 28, 37, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96], "inclusive": true } }
1008
+ };
1009
+ return lexer2;
1010
+ }();
1011
+ parser2.lexer = lexer;
1012
+ function Parser() {
1013
+ this.yy = {};
1014
+ }
1015
+ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(Parser, "Parser");
1016
+ Parser.prototype = parser2;
1017
+ parser2.Parser = Parser;
1018
+ return new Parser();
1019
+ }();
1020
+ parser.parser = parser;
1021
+ var classDiagram_default = parser;
1022
+
1023
+ // src/diagrams/class/classDb.ts
1024
+
1025
+
1026
+ // src/diagrams/class/classTypes.ts
1027
+ var visibilityValues = ["#", "+", "~", "-", ""];
1028
+ var ClassMember = class {
1029
+ static {
1030
+ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(this, "ClassMember");
1031
+ }
1032
+ constructor(input, memberType) {
1033
+ this.memberType = memberType;
1034
+ this.visibility = "";
1035
+ this.classifier = "";
1036
+ const sanitizedInput = (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .sanitizeText */ .jZ)(input, (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getConfig2 */ .D7)());
1037
+ this.parseMember(sanitizedInput);
1038
+ }
1039
+ getDisplayDetails() {
1040
+ let displayText = this.visibility + (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .parseGenericTypes */ .QO)(this.id);
1041
+ if (this.memberType === "method") {
1042
+ displayText += `(${(0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .parseGenericTypes */ .QO)(this.parameters.trim())})`;
1043
+ if (this.returnType) {
1044
+ displayText += " : " + (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .parseGenericTypes */ .QO)(this.returnType);
1045
+ }
1046
+ }
1047
+ displayText = displayText.trim();
1048
+ const cssStyle = this.parseClassifier();
1049
+ return {
1050
+ displayText,
1051
+ cssStyle
1052
+ };
1053
+ }
1054
+ parseMember(input) {
1055
+ let potentialClassifier = "";
1056
+ if (this.memberType === "method") {
1057
+ const methodRegEx = /([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/;
1058
+ const match = methodRegEx.exec(input);
1059
+ if (match) {
1060
+ const detectedVisibility = match[1] ? match[1].trim() : "";
1061
+ if (visibilityValues.includes(detectedVisibility)) {
1062
+ this.visibility = detectedVisibility;
1063
+ }
1064
+ this.id = match[2].trim();
1065
+ this.parameters = match[3] ? match[3].trim() : "";
1066
+ potentialClassifier = match[4] ? match[4].trim() : "";
1067
+ this.returnType = match[5] ? match[5].trim() : "";
1068
+ if (potentialClassifier === "") {
1069
+ const lastChar = this.returnType.substring(this.returnType.length - 1);
1070
+ if (/[$*]/.exec(lastChar)) {
1071
+ potentialClassifier = lastChar;
1072
+ this.returnType = this.returnType.substring(0, this.returnType.length - 1);
1073
+ }
1074
+ }
1075
+ }
1076
+ } else {
1077
+ const length = input.length;
1078
+ const firstChar = input.substring(0, 1);
1079
+ const lastChar = input.substring(length - 1);
1080
+ if (visibilityValues.includes(firstChar)) {
1081
+ this.visibility = firstChar;
1082
+ }
1083
+ if (/[$*]/.exec(lastChar)) {
1084
+ potentialClassifier = lastChar;
1085
+ }
1086
+ this.id = input.substring(
1087
+ this.visibility === "" ? 0 : 1,
1088
+ potentialClassifier === "" ? length : length - 1
1089
+ );
1090
+ }
1091
+ this.classifier = potentialClassifier;
1092
+ }
1093
+ parseClassifier() {
1094
+ switch (this.classifier) {
1095
+ case "*":
1096
+ return "font-style:italic;";
1097
+ case "$":
1098
+ return "text-decoration:underline;";
1099
+ default:
1100
+ return "";
1101
+ }
1102
+ }
1103
+ };
1104
+
1105
+ // src/diagrams/class/classDb.ts
1106
+ var MERMAID_DOM_ID_PREFIX = "classId-";
1107
+ var relations = [];
1108
+ var classes = /* @__PURE__ */ new Map();
1109
+ var notes = [];
1110
+ var classCounter = 0;
1111
+ var namespaces = /* @__PURE__ */ new Map();
1112
+ var namespaceCounter = 0;
1113
+ var functions = [];
1114
+ var sanitizeText2 = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)((txt) => _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .common_default */ .Y2.sanitizeText(txt, (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getConfig2 */ .D7)()), "sanitizeText");
1115
+ var splitClassNameAndType = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(_id) {
1116
+ const id = _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .common_default */ .Y2.sanitizeText(_id, (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getConfig2 */ .D7)());
1117
+ let genericType = "";
1118
+ let className = id;
1119
+ if (id.indexOf("~") > 0) {
1120
+ const split = id.split("~");
1121
+ className = sanitizeText2(split[0]);
1122
+ genericType = sanitizeText2(split[1]);
1123
+ }
1124
+ return { className, type: genericType };
1125
+ }, "splitClassNameAndType");
1126
+ var setClassLabel = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(_id, label) {
1127
+ const id = _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .common_default */ .Y2.sanitizeText(_id, (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getConfig2 */ .D7)());
1128
+ if (label) {
1129
+ label = sanitizeText2(label);
1130
+ }
1131
+ const { className } = splitClassNameAndType(id);
1132
+ classes.get(className).label = label;
1133
+ }, "setClassLabel");
1134
+ var addClass = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(_id) {
1135
+ const id = _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .common_default */ .Y2.sanitizeText(_id, (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getConfig2 */ .D7)());
1136
+ const { className, type } = splitClassNameAndType(id);
1137
+ if (classes.has(className)) {
1138
+ return;
1139
+ }
1140
+ const name = _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .common_default */ .Y2.sanitizeText(className, (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getConfig2 */ .D7)());
1141
+ classes.set(name, {
1142
+ id: name,
1143
+ type,
1144
+ label: name,
1145
+ cssClasses: [],
1146
+ methods: [],
1147
+ members: [],
1148
+ annotations: [],
1149
+ styles: [],
1150
+ domId: MERMAID_DOM_ID_PREFIX + name + "-" + classCounter
1151
+ });
1152
+ classCounter++;
1153
+ }, "addClass");
1154
+ var lookUpDomId = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(_id) {
1155
+ const id = _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .common_default */ .Y2.sanitizeText(_id, (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getConfig2 */ .D7)());
1156
+ if (classes.has(id)) {
1157
+ return classes.get(id).domId;
1158
+ }
1159
+ throw new Error("Class not found: " + id);
1160
+ }, "lookUpDomId");
1161
+ var clear2 = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
1162
+ relations = [];
1163
+ classes = /* @__PURE__ */ new Map();
1164
+ notes = [];
1165
+ functions = [];
1166
+ functions.push(setupToolTips);
1167
+ namespaces = /* @__PURE__ */ new Map();
1168
+ namespaceCounter = 0;
1169
+ direction = "TB";
1170
+ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .clear */ .IU)();
1171
+ }, "clear");
1172
+ var getClass = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(id) {
1173
+ return classes.get(id);
1174
+ }, "getClass");
1175
+ var getClasses = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
1176
+ return classes;
1177
+ }, "getClasses");
1178
+ var getRelations = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
1179
+ return relations;
1180
+ }, "getRelations");
1181
+ var getNotes = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
1182
+ return notes;
1183
+ }, "getNotes");
1184
+ var addRelation = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(relation) {
1185
+ _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .log */ .Rm.debug("Adding relation: " + JSON.stringify(relation));
1186
+ addClass(relation.id1);
1187
+ addClass(relation.id2);
1188
+ relation.id1 = splitClassNameAndType(relation.id1).className;
1189
+ relation.id2 = splitClassNameAndType(relation.id2).className;
1190
+ relation.relationTitle1 = _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .common_default */ .Y2.sanitizeText(relation.relationTitle1.trim(), (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getConfig2 */ .D7)());
1191
+ relation.relationTitle2 = _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .common_default */ .Y2.sanitizeText(relation.relationTitle2.trim(), (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getConfig2 */ .D7)());
1192
+ relations.push(relation);
1193
+ }, "addRelation");
1194
+ var addAnnotation = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(className, annotation) {
1195
+ const validatedClassName = splitClassNameAndType(className).className;
1196
+ classes.get(validatedClassName).annotations.push(annotation);
1197
+ }, "addAnnotation");
1198
+ var addMember = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(className, member) {
1199
+ addClass(className);
1200
+ const validatedClassName = splitClassNameAndType(className).className;
1201
+ const theClass = classes.get(validatedClassName);
1202
+ if (typeof member === "string") {
1203
+ const memberString = member.trim();
1204
+ if (memberString.startsWith("<<") && memberString.endsWith(">>")) {
1205
+ theClass.annotations.push(sanitizeText2(memberString.substring(2, memberString.length - 2)));
1206
+ } else if (memberString.indexOf(")") > 0) {
1207
+ theClass.methods.push(new ClassMember(memberString, "method"));
1208
+ } else if (memberString) {
1209
+ theClass.members.push(new ClassMember(memberString, "attribute"));
1210
+ }
1211
+ }
1212
+ }, "addMember");
1213
+ var addMembers = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(className, members) {
1214
+ if (Array.isArray(members)) {
1215
+ members.reverse();
1216
+ members.forEach((member) => addMember(className, member));
1217
+ }
1218
+ }, "addMembers");
1219
+ var addNote = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(text, className) {
1220
+ const note = {
1221
+ id: `note${notes.length}`,
1222
+ class: className,
1223
+ text
1224
+ };
1225
+ notes.push(note);
1226
+ }, "addNote");
1227
+ var cleanupLabel = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(label) {
1228
+ if (label.startsWith(":")) {
1229
+ label = label.substring(1);
1230
+ }
1231
+ return sanitizeText2(label.trim());
1232
+ }, "cleanupLabel");
1233
+ var setCssClass = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(ids, className) {
1234
+ ids.split(",").forEach(function(_id) {
1235
+ let id = _id;
1236
+ if (/\d/.exec(_id[0])) {
1237
+ id = MERMAID_DOM_ID_PREFIX + id;
1238
+ }
1239
+ const classNode = classes.get(id);
1240
+ if (classNode) {
1241
+ classNode.cssClasses.push(className);
1242
+ }
1243
+ });
1244
+ }, "setCssClass");
1245
+ var setTooltip = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(ids, tooltip) {
1246
+ ids.split(",").forEach(function(id) {
1247
+ if (tooltip !== void 0) {
1248
+ classes.get(id).tooltip = sanitizeText2(tooltip);
1249
+ }
1250
+ });
1251
+ }, "setTooltip");
1252
+ var getTooltip = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(id, namespace) {
1253
+ if (namespace && namespaces.has(namespace)) {
1254
+ return namespaces.get(namespace).classes.get(id).tooltip;
1255
+ }
1256
+ return classes.get(id).tooltip;
1257
+ }, "getTooltip");
1258
+ var setLink = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(ids, linkStr, target) {
1259
+ const config = (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getConfig2 */ .D7)();
1260
+ ids.split(",").forEach(function(_id) {
1261
+ let id = _id;
1262
+ if (/\d/.exec(_id[0])) {
1263
+ id = MERMAID_DOM_ID_PREFIX + id;
1264
+ }
1265
+ const theClass = classes.get(id);
1266
+ if (theClass) {
1267
+ theClass.link = _chunk_TLUHKHBO_mjs__WEBPACK_IMPORTED_MODULE_0__/* .utils_default */ ._K.formatUrl(linkStr, config);
1268
+ if (config.securityLevel === "sandbox") {
1269
+ theClass.linkTarget = "_top";
1270
+ } else if (typeof target === "string") {
1271
+ theClass.linkTarget = sanitizeText2(target);
1272
+ } else {
1273
+ theClass.linkTarget = "_blank";
1274
+ }
1275
+ }
1276
+ });
1277
+ setCssClass(ids, "clickable");
1278
+ }, "setLink");
1279
+ var setClickEvent = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(ids, functionName, functionArgs) {
1280
+ ids.split(",").forEach(function(id) {
1281
+ setClickFunc(id, functionName, functionArgs);
1282
+ classes.get(id).haveCallback = true;
1283
+ });
1284
+ setCssClass(ids, "clickable");
1285
+ }, "setClickEvent");
1286
+ var setClickFunc = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(_domId, functionName, functionArgs) {
1287
+ const domId = _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .common_default */ .Y2.sanitizeText(_domId, (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getConfig2 */ .D7)());
1288
+ const config = (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getConfig2 */ .D7)();
1289
+ if (config.securityLevel !== "loose") {
1290
+ return;
1291
+ }
1292
+ if (functionName === void 0) {
1293
+ return;
1294
+ }
1295
+ const id = domId;
1296
+ if (classes.has(id)) {
1297
+ const elemId = lookUpDomId(id);
1298
+ let argList = [];
1299
+ if (typeof functionArgs === "string") {
1300
+ argList = functionArgs.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
1301
+ for (let i = 0; i < argList.length; i++) {
1302
+ let item = argList[i].trim();
1303
+ if (item.startsWith('"') && item.endsWith('"')) {
1304
+ item = item.substr(1, item.length - 2);
1305
+ }
1306
+ argList[i] = item;
1307
+ }
1308
+ }
1309
+ if (argList.length === 0) {
1310
+ argList.push(elemId);
1311
+ }
1312
+ functions.push(function() {
1313
+ const elem = document.querySelector(`[id="${elemId}"]`);
1314
+ if (elem !== null) {
1315
+ elem.addEventListener(
1316
+ "click",
1317
+ function() {
1318
+ _chunk_TLUHKHBO_mjs__WEBPACK_IMPORTED_MODULE_0__/* .utils_default */ ._K.runFunc(functionName, ...argList);
1319
+ },
1320
+ false
1321
+ );
1322
+ }
1323
+ });
1324
+ }
1325
+ }, "setClickFunc");
1326
+ var bindFunctions = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(element) {
1327
+ functions.forEach(function(fun) {
1328
+ fun(element);
1329
+ });
1330
+ }, "bindFunctions");
1331
+ var lineType = {
1332
+ LINE: 0,
1333
+ DOTTED_LINE: 1
1334
+ };
1335
+ var relationType = {
1336
+ AGGREGATION: 0,
1337
+ EXTENSION: 1,
1338
+ COMPOSITION: 2,
1339
+ DEPENDENCY: 3,
1340
+ LOLLIPOP: 4
1341
+ };
1342
+ var setupToolTips = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(element) {
1343
+ let tooltipElem = (0,d3__WEBPACK_IMPORTED_MODULE_2__/* .select */ .Ltv)(".mermaidTooltip");
1344
+ if ((tooltipElem._groups || tooltipElem)[0][0] === null) {
1345
+ tooltipElem = (0,d3__WEBPACK_IMPORTED_MODULE_2__/* .select */ .Ltv)("body").append("div").attr("class", "mermaidTooltip").style("opacity", 0);
1346
+ }
1347
+ const svg = (0,d3__WEBPACK_IMPORTED_MODULE_2__/* .select */ .Ltv)(element).select("svg");
1348
+ const nodes = svg.selectAll("g.node");
1349
+ nodes.on("mouseover", function() {
1350
+ const el = (0,d3__WEBPACK_IMPORTED_MODULE_2__/* .select */ .Ltv)(this);
1351
+ const title = el.attr("title");
1352
+ if (title === null) {
1353
+ return;
1354
+ }
1355
+ const rect = this.getBoundingClientRect();
1356
+ tooltipElem.transition().duration(200).style("opacity", ".9");
1357
+ tooltipElem.text(el.attr("title")).style("left", window.scrollX + rect.left + (rect.right - rect.left) / 2 + "px").style("top", window.scrollY + rect.top - 14 + document.body.scrollTop + "px");
1358
+ tooltipElem.html(tooltipElem.html().replace(/&lt;br\/&gt;/g, "<br/>"));
1359
+ el.classed("hover", true);
1360
+ }).on("mouseout", function() {
1361
+ tooltipElem.transition().duration(500).style("opacity", 0);
1362
+ const el = (0,d3__WEBPACK_IMPORTED_MODULE_2__/* .select */ .Ltv)(this);
1363
+ el.classed("hover", false);
1364
+ });
1365
+ }, "setupToolTips");
1366
+ functions.push(setupToolTips);
1367
+ var direction = "TB";
1368
+ var getDirection = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(() => direction, "getDirection");
1369
+ var setDirection = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)((dir) => {
1370
+ direction = dir;
1371
+ }, "setDirection");
1372
+ var addNamespace = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(id) {
1373
+ if (namespaces.has(id)) {
1374
+ return;
1375
+ }
1376
+ namespaces.set(id, {
1377
+ id,
1378
+ classes: /* @__PURE__ */ new Map(),
1379
+ children: {},
1380
+ domId: MERMAID_DOM_ID_PREFIX + id + "-" + namespaceCounter
1381
+ });
1382
+ namespaceCounter++;
1383
+ }, "addNamespace");
1384
+ var getNamespace = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(name) {
1385
+ return namespaces.get(name);
1386
+ }, "getNamespace");
1387
+ var getNamespaces = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
1388
+ return namespaces;
1389
+ }, "getNamespaces");
1390
+ var addClassesToNamespace = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(id, classNames) {
1391
+ if (!namespaces.has(id)) {
1392
+ return;
1393
+ }
1394
+ for (const name of classNames) {
1395
+ const { className } = splitClassNameAndType(name);
1396
+ classes.get(className).parent = id;
1397
+ namespaces.get(id).classes.set(className, classes.get(className));
1398
+ }
1399
+ }, "addClassesToNamespace");
1400
+ var setCssStyle = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(id, styles) {
1401
+ const thisClass = classes.get(id);
1402
+ if (!styles || !thisClass) {
1403
+ return;
1404
+ }
1405
+ for (const s of styles) {
1406
+ if (s.includes(",")) {
1407
+ thisClass.styles.push(...s.split(","));
1408
+ } else {
1409
+ thisClass.styles.push(s);
1410
+ }
1411
+ }
1412
+ }, "setCssStyle");
1413
+ var classDb_default = {
1414
+ setAccTitle: _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .setAccTitle */ .SV,
1415
+ getAccTitle: _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getAccTitle */ .iN,
1416
+ getAccDescription: _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getAccDescription */ .m7,
1417
+ setAccDescription: _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .setAccDescription */ .EI,
1418
+ getConfig: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(() => (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getConfig2 */ .D7)().class, "getConfig"),
1419
+ addClass,
1420
+ bindFunctions,
1421
+ clear: clear2,
1422
+ getClass,
1423
+ getClasses,
1424
+ getNotes,
1425
+ addAnnotation,
1426
+ addNote,
1427
+ getRelations,
1428
+ addRelation,
1429
+ getDirection,
1430
+ setDirection,
1431
+ addMember,
1432
+ addMembers,
1433
+ cleanupLabel,
1434
+ lineType,
1435
+ relationType,
1436
+ setClickEvent,
1437
+ setCssClass,
1438
+ setLink,
1439
+ getTooltip,
1440
+ setTooltip,
1441
+ lookUpDomId,
1442
+ setDiagramTitle: _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .setDiagramTitle */ .ke,
1443
+ getDiagramTitle: _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getDiagramTitle */ .ab,
1444
+ setClassLabel,
1445
+ addNamespace,
1446
+ addClassesToNamespace,
1447
+ getNamespace,
1448
+ getNamespaces,
1449
+ setCssStyle
1450
+ };
1451
+
1452
+ // src/diagrams/class/styles.js
1453
+ var getStyles = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)((options) => `g.classGroup text {
1454
+ fill: ${options.nodeBorder || options.classText};
1455
+ stroke: none;
1456
+ font-family: ${options.fontFamily};
1457
+ font-size: 10px;
1458
+
1459
+ .title {
1460
+ font-weight: bolder;
1461
+ }
1462
+
1463
+ }
1464
+
1465
+ .nodeLabel, .edgeLabel {
1466
+ color: ${options.classText};
1467
+ }
1468
+ .edgeLabel .label rect {
1469
+ fill: ${options.mainBkg};
1470
+ }
1471
+ .label text {
1472
+ fill: ${options.classText};
1473
+ }
1474
+ .edgeLabel .label span {
1475
+ background: ${options.mainBkg};
1476
+ }
1477
+
1478
+ .classTitle {
1479
+ font-weight: bolder;
1480
+ }
1481
+ .node rect,
1482
+ .node circle,
1483
+ .node ellipse,
1484
+ .node polygon,
1485
+ .node path {
1486
+ fill: ${options.mainBkg};
1487
+ stroke: ${options.nodeBorder};
1488
+ stroke-width: 1px;
1489
+ }
1490
+
1491
+
1492
+ .divider {
1493
+ stroke: ${options.nodeBorder};
1494
+ stroke-width: 1;
1495
+ }
1496
+
1497
+ g.clickable {
1498
+ cursor: pointer;
1499
+ }
1500
+
1501
+ g.classGroup rect {
1502
+ fill: ${options.mainBkg};
1503
+ stroke: ${options.nodeBorder};
1504
+ }
1505
+
1506
+ g.classGroup line {
1507
+ stroke: ${options.nodeBorder};
1508
+ stroke-width: 1;
1509
+ }
1510
+
1511
+ .classLabel .box {
1512
+ stroke: none;
1513
+ stroke-width: 0;
1514
+ fill: ${options.mainBkg};
1515
+ opacity: 0.5;
1516
+ }
1517
+
1518
+ .classLabel .label {
1519
+ fill: ${options.nodeBorder};
1520
+ font-size: 10px;
1521
+ }
1522
+
1523
+ .relation {
1524
+ stroke: ${options.lineColor};
1525
+ stroke-width: 1;
1526
+ fill: none;
1527
+ }
1528
+
1529
+ .dashed-line{
1530
+ stroke-dasharray: 3;
1531
+ }
1532
+
1533
+ .dotted-line{
1534
+ stroke-dasharray: 1 2;
1535
+ }
1536
+
1537
+ #compositionStart, .composition {
1538
+ fill: ${options.lineColor} !important;
1539
+ stroke: ${options.lineColor} !important;
1540
+ stroke-width: 1;
1541
+ }
1542
+
1543
+ #compositionEnd, .composition {
1544
+ fill: ${options.lineColor} !important;
1545
+ stroke: ${options.lineColor} !important;
1546
+ stroke-width: 1;
1547
+ }
1548
+
1549
+ #dependencyStart, .dependency {
1550
+ fill: ${options.lineColor} !important;
1551
+ stroke: ${options.lineColor} !important;
1552
+ stroke-width: 1;
1553
+ }
1554
+
1555
+ #dependencyStart, .dependency {
1556
+ fill: ${options.lineColor} !important;
1557
+ stroke: ${options.lineColor} !important;
1558
+ stroke-width: 1;
1559
+ }
1560
+
1561
+ #extensionStart, .extension {
1562
+ fill: transparent !important;
1563
+ stroke: ${options.lineColor} !important;
1564
+ stroke-width: 1;
1565
+ }
1566
+
1567
+ #extensionEnd, .extension {
1568
+ fill: transparent !important;
1569
+ stroke: ${options.lineColor} !important;
1570
+ stroke-width: 1;
1571
+ }
1572
+
1573
+ #aggregationStart, .aggregation {
1574
+ fill: transparent !important;
1575
+ stroke: ${options.lineColor} !important;
1576
+ stroke-width: 1;
1577
+ }
1578
+
1579
+ #aggregationEnd, .aggregation {
1580
+ fill: transparent !important;
1581
+ stroke: ${options.lineColor} !important;
1582
+ stroke-width: 1;
1583
+ }
1584
+
1585
+ #lollipopStart, .lollipop {
1586
+ fill: ${options.mainBkg} !important;
1587
+ stroke: ${options.lineColor} !important;
1588
+ stroke-width: 1;
1589
+ }
1590
+
1591
+ #lollipopEnd, .lollipop {
1592
+ fill: ${options.mainBkg} !important;
1593
+ stroke: ${options.lineColor} !important;
1594
+ stroke-width: 1;
1595
+ }
1596
+
1597
+ .edgeTerminals {
1598
+ font-size: 11px;
1599
+ line-height: initial;
1600
+ }
1601
+
1602
+ .classTitleText {
1603
+ text-anchor: middle;
1604
+ font-size: 18px;
1605
+ fill: ${options.textColor};
1606
+ }
1607
+ `, "getStyles");
1608
+ var styles_default = getStyles;
1609
+
1610
+
1611
+
1612
+
1613
+ /***/ })
1614
+
1615
+ };
1616
+ ;