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