@prefecthq/prefab-ui-docs 0.16.3 → 0.18.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 (66) hide show
  1. package/dist/_renderer/_basePickBy-fiErwOTY.mjs +151 -0
  2. package/dist/_renderer/_baseUniq-Iy7gOYgw.mjs +614 -0
  3. package/dist/_renderer/arc-BYm2F1-h.mjs +83 -0
  4. package/dist/_renderer/architectureDiagram-2XIMDMQ5-BKR0-ZSX.mjs +4683 -0
  5. package/dist/_renderer/band-TE_TbDmh.mjs +56 -0
  6. package/dist/_renderer/blockDiagram-WCTKOSBZ-BruGG_9M.mjs +2298 -0
  7. package/dist/_renderer/c4Diagram-IC4MRINW-K4nxeBNU.mjs +1581 -0
  8. package/dist/_renderer/channel-D4_UYSAN.mjs +5 -0
  9. package/dist/_renderer/charts-CPJdqwrq.mjs +19182 -0
  10. package/dist/_renderer/chunk-4BX2VUAB-mqLb5fm9.mjs +9 -0
  11. package/dist/_renderer/chunk-55IACEB6-Bxgi9T70.mjs +8 -0
  12. package/dist/_renderer/chunk-FMBD7UC4-Dsah75wQ.mjs +19 -0
  13. package/dist/_renderer/chunk-JSJVCQXG-Bsg6dsjU.mjs +68 -0
  14. package/dist/_renderer/chunk-KX2RTZJC-DvDXsxvC.mjs +20 -0
  15. package/dist/_renderer/chunk-NQ4KR5QH-CwFlbBfF.mjs +1384 -0
  16. package/dist/_renderer/chunk-QZHKN3VN-CYPyScRI.mjs +15 -0
  17. package/dist/_renderer/chunk-WL4C6EOR-2eYOPJVd.mjs +1430 -0
  18. package/dist/_renderer/classDiagram-VBA2DB6C-Dj8h8-wl.mjs +16 -0
  19. package/dist/_renderer/classDiagram-v2-RAHNMMFH-Dj8h8-wl.mjs +16 -0
  20. package/dist/_renderer/clone-BmajYOc3.mjs +8 -0
  21. package/dist/_renderer/{compound-calendar-Cn18AoRs.mjs → compound-calendar-8CggRUlt.mjs} +3 -3
  22. package/dist/_renderer/{content-e43PvxaF.mjs → content-BPYMcbeG.mjs} +6 -6
  23. package/dist/_renderer/cose-bilkent-S5V4N54A-BLhD0lt7.mjs +2609 -0
  24. package/dist/_renderer/cytoscape.esm-CjI2IsL8.mjs +18735 -0
  25. package/dist/_renderer/dagre-KLK3FWXG-DCIde85z.mjs +447 -0
  26. package/dist/_renderer/defaultLocale-BgPVtth8.mjs +171 -0
  27. package/dist/_renderer/diagram-E7M64L7V-BbWs-jbo.mjs +533 -0
  28. package/dist/_renderer/diagram-IFDJBPK2-Sfx8kanl.mjs +221 -0
  29. package/dist/_renderer/diagram-P4PSJMXO-DCqYaW3Z.mjs +143 -0
  30. package/dist/_renderer/{embed-DRE2wKZJ.mjs → embed-hOWEFnqe.mjs} +4474 -4439
  31. package/dist/_renderer/embed.mjs +1 -1
  32. package/dist/_renderer/erDiagram-INFDFZHY-D8cdLSCi.mjs +863 -0
  33. package/dist/_renderer/flowDiagram-PKNHOUZH-B_rW2Xww.mjs +1647 -0
  34. package/dist/_renderer/ganttDiagram-A5KZAMGK-Be_Svnat.mjs +1964 -0
  35. package/dist/_renderer/gitGraphDiagram-K3NZZRJ6--wMgYsSv.mjs +709 -0
  36. package/dist/_renderer/graph-alLjIojU.mjs +604 -0
  37. package/dist/_renderer/{icons-CImNZgDa.mjs → icons-w8tvN_30.mjs} +155 -135
  38. package/dist/_renderer/infoDiagram-LFFYTUFH-QW1PzgNF.mjs +24 -0
  39. package/dist/_renderer/init-DxzjmxYy.mjs +32 -0
  40. package/dist/_renderer/ishikawaDiagram-PHBUUO56-xY8fsGh3.mjs +621 -0
  41. package/dist/_renderer/journeyDiagram-4ABVD52K-7XeHSH9G.mjs +834 -0
  42. package/dist/_renderer/kanban-definition-K7BYSVSG-Cn7INDI0.mjs +723 -0
  43. package/dist/_renderer/katex-AQJr8RMF.mjs +11623 -0
  44. package/dist/_renderer/layout-Bspk8k85.mjs +1335 -0
  45. package/dist/_renderer/linear-CVnzSbdA.mjs +275 -0
  46. package/dist/_renderer/mermaid-C_GnErbP.mjs +48 -0
  47. package/dist/_renderer/mermaid.core-BzbdT8_O.mjs +13838 -0
  48. package/dist/_renderer/mindmap-definition-YRQLILUH-CVIMKVZI.mjs +788 -0
  49. package/dist/_renderer/ordinal-Bq0KrZxK.mjs +62 -0
  50. package/dist/_renderer/pieDiagram-SKSYHLDU-CL_luPJM.mjs +162 -0
  51. package/dist/_renderer/{svg-BL0kMZ_p.mjs → purify.es-M2Bspgo5.mjs} +222 -240
  52. package/dist/_renderer/quadrantDiagram-337W2JSQ-BQWFWFNU.mjs +1024 -0
  53. package/dist/_renderer/requirementDiagram-Z7DCOOCP-Di29RxJ6.mjs +862 -0
  54. package/dist/_renderer/sankeyDiagram-WA2Y5GQK-DY4kgDbR.mjs +810 -0
  55. package/dist/_renderer/sequenceDiagram-2WXFIKYE-vjbD37pn.mjs +2823 -0
  56. package/dist/_renderer/stateDiagram-RAJIS63D-BQ9BAuO6.mjs +264 -0
  57. package/dist/_renderer/stateDiagram-v2-FVOUBMTO-Bs26kEor.mjs +16 -0
  58. package/dist/_renderer/string-kGvNrjOo.mjs +934 -0
  59. package/dist/_renderer/svg-BTtf8EdH.mjs +22 -0
  60. package/dist/_renderer/time-sQ_UKgU4.mjs +765 -0
  61. package/dist/_renderer/timeline-definition-YZTLITO2-CJfaRgME.mjs +799 -0
  62. package/dist/_renderer/treemap-KZPCXAKY-DQq6TCTm.mjs +17996 -0
  63. package/dist/_renderer/vennDiagram-LZ73GAT5-BkBksHrj.mjs +1564 -0
  64. package/dist/_renderer/xychartDiagram-JWTSCODW-Boo1R-nF.mjs +1299 -0
  65. package/package.json +1 -1
  66. package/dist/_renderer/charts-Dr57vKmb.mjs +0 -21311
@@ -0,0 +1,1430 @@
1
+ import { g as et } from "./chunk-FMBD7UC4-Dsah75wQ.mjs";
2
+ import { c as tt } from "./chunk-JSJVCQXG-Bsg6dsjU.mjs";
3
+ import { g as st } from "./chunk-55IACEB6-Bxgi9T70.mjs";
4
+ import { s as it } from "./chunk-KX2RTZJC-DvDXsxvC.mjs";
5
+ import { _ as A, l as Oe, c as F, o as at, r as rt, u as we, d as de, b as nt, a as ut, s as lt, g as ot, p as ct, q as ht, k as v, y as dt, x as pt, i as At, Q as G } from "./mermaid.core-BzbdT8_O.mjs";
6
+ import { p as ft } from "./purify.es-M2Bspgo5.mjs";
7
+ var Ve = (function() {
8
+ var s = /* @__PURE__ */ A(function(O, c, h, p) {
9
+ for (h = h || {}, p = O.length; p--; h[O[p]] = c) ;
10
+ return h;
11
+ }, "o"), i = [1, 18], a = [1, 19], u = [1, 20], l = [1, 41], r = [1, 42], o = [1, 26], f = [1, 24], C = [1, 25], k = [1, 32], B = [1, 33], Ae = [1, 34], m = [1, 45], fe = [1, 35], ge = [1, 36], Ce = [1, 37], me = [1, 38], be = [1, 27], Ee = [1, 28], ye = [1, 29], ke = [1, 30], Te = [1, 31], b = [1, 44], E = [1, 46], y = [1, 43], T = [1, 47], De = [1, 9], d = [1, 8, 9], ee = [1, 58], te = [1, 59], se = [1, 60], ie = [1, 61], ae = [1, 62], Fe = [1, 63], Be = [1, 64], I = [1, 8, 9, 41], Me = [1, 76], P = [1, 8, 9, 12, 13, 22, 39, 41, 44, 68, 69, 70, 71, 72, 73, 74, 79, 81], re = [1, 8, 9, 12, 13, 18, 20, 22, 39, 41, 44, 50, 60, 68, 69, 70, 71, 72, 73, 74, 79, 81, 86, 100, 102, 103], ne = [13, 60, 86, 100, 102, 103], Y = [13, 60, 73, 74, 86, 100, 102, 103], Pe = [13, 60, 68, 69, 70, 71, 72, 86, 100, 102, 103], _e = [1, 101], K = [1, 118], Q = [1, 114], W = [1, 110], j = [1, 116], X = [1, 111], q = [1, 112], H = [1, 113], J = [1, 115], Z = [1, 117], Re = [22, 48, 60, 61, 82, 86, 87, 88, 89, 90], Se = [1, 8, 9, 39, 41, 44], ue = [1, 8, 9, 22], Ge = [1, 147], Ue = [1, 8, 9, 61], x = [1, 8, 9, 22, 48, 60, 61, 82, 86, 87, 88, 89, 90], Ne = {
12
+ trace: /* @__PURE__ */ A(function() {
13
+ }, "trace"),
14
+ yy: {},
15
+ 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, classLiteralName: 17, DOT: 18, className: 19, GENERICTYPE: 20, relationStatement: 21, LABEL: 22, namespaceStatement: 23, classStatement: 24, memberStatement: 25, annotationStatement: 26, clickStatement: 27, styleStatement: 28, cssClassStatement: 29, noteStatement: 30, classDefStatement: 31, direction: 32, acc_title: 33, acc_title_value: 34, acc_descr: 35, acc_descr_value: 36, acc_descr_multiline_value: 37, namespaceIdentifier: 38, STRUCT_START: 39, classStatements: 40, STRUCT_STOP: 41, NAMESPACE: 42, classIdentifier: 43, STYLE_SEPARATOR: 44, members: 45, CLASS: 46, emptyBody: 47, SPACE: 48, ANNOTATION_START: 49, ANNOTATION_END: 50, MEMBER: 51, SEPARATOR: 52, relation: 53, NOTE_FOR: 54, noteText: 55, NOTE: 56, CLASSDEF: 57, classList: 58, stylesOpt: 59, ALPHA: 60, COMMA: 61, direction_tb: 62, direction_bt: 63, direction_rl: 64, direction_lr: 65, relationType: 66, lineType: 67, AGGREGATION: 68, EXTENSION: 69, COMPOSITION: 70, DEPENDENCY: 71, LOLLIPOP: 72, LINE: 73, DOTTED_LINE: 74, CALLBACK: 75, LINK: 76, LINK_TARGET: 77, CLICK: 78, CALLBACK_NAME: 79, CALLBACK_ARGS: 80, HREF: 81, STYLE: 82, CSSCLASS: 83, style: 84, styleComponent: 85, NUM: 86, COLON: 87, UNIT: 88, BRKT: 89, PCT: 90, commentToken: 91, textToken: 92, graphCodeTokens: 93, textNoTagsToken: 94, TAGSTART: 95, TAGEND: 96, "==": 97, "--": 98, DEFAULT: 99, MINUS: 100, keywords: 101, UNICODE_TEXT: 102, BQUOTE_STR: 103, $accept: 0, $end: 1 },
16
+ terminals_: { 2: "error", 7: "CLASS_DIAGRAM", 8: "NEWLINE", 9: "EOF", 12: "SQS", 13: "STR", 14: "SQE", 18: "DOT", 20: "GENERICTYPE", 22: "LABEL", 33: "acc_title", 34: "acc_title_value", 35: "acc_descr", 36: "acc_descr_value", 37: "acc_descr_multiline_value", 39: "STRUCT_START", 41: "STRUCT_STOP", 42: "NAMESPACE", 44: "STYLE_SEPARATOR", 46: "CLASS", 48: "SPACE", 49: "ANNOTATION_START", 50: "ANNOTATION_END", 51: "MEMBER", 52: "SEPARATOR", 54: "NOTE_FOR", 56: "NOTE", 57: "CLASSDEF", 60: "ALPHA", 61: "COMMA", 62: "direction_tb", 63: "direction_bt", 64: "direction_rl", 65: "direction_lr", 68: "AGGREGATION", 69: "EXTENSION", 70: "COMPOSITION", 71: "DEPENDENCY", 72: "LOLLIPOP", 73: "LINE", 74: "DOTTED_LINE", 75: "CALLBACK", 76: "LINK", 77: "LINK_TARGET", 78: "CLICK", 79: "CALLBACK_NAME", 80: "CALLBACK_ARGS", 81: "HREF", 82: "STYLE", 83: "CSSCLASS", 86: "NUM", 87: "COLON", 88: "UNIT", 89: "BRKT", 90: "PCT", 93: "graphCodeTokens", 95: "TAGSTART", 96: "TAGEND", 97: "==", 98: "--", 99: "DEFAULT", 100: "MINUS", 101: "keywords", 102: "UNICODE_TEXT", 103: "BQUOTE_STR" },
17
+ productions_: [0, [3, 1], [3, 1], [4, 1], [6, 4], [5, 1], [5, 2], [5, 3], [11, 3], [15, 1], [15, 1], [15, 3], [15, 2], [19, 1], [19, 3], [19, 1], [19, 2], [19, 2], [19, 2], [10, 1], [10, 2], [10, 1], [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], [38, 2], [40, 1], [40, 2], [40, 3], [40, 1], [40, 2], [40, 3], [24, 1], [24, 3], [24, 4], [24, 3], [24, 6], [43, 2], [43, 3], [47, 0], [47, 2], [47, 2], [26, 4], [45, 1], [45, 2], [25, 1], [25, 2], [25, 1], [25, 1], [21, 3], [21, 4], [21, 4], [21, 5], [30, 3], [30, 2], [31, 3], [58, 1], [58, 3], [32, 1], [32, 1], [32, 1], [32, 1], [53, 3], [53, 2], [53, 2], [53, 1], [66, 1], [66, 1], [66, 1], [66, 1], [66, 1], [67, 1], [67, 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], [59, 1], [59, 3], [84, 1], [84, 2], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [91, 1], [91, 1], [92, 1], [92, 1], [92, 1], [92, 1], [92, 1], [92, 1], [92, 1], [94, 1], [94, 1], [94, 1], [94, 1], [16, 1], [16, 1], [16, 1], [16, 1], [17, 1], [55, 1]],
18
+ performAction: /* @__PURE__ */ A(function(c, h, p, n, g, e, $) {
19
+ var t = e.length - 1;
20
+ switch (g) {
21
+ case 8:
22
+ this.$ = e[t - 1];
23
+ break;
24
+ case 9:
25
+ case 10:
26
+ case 13:
27
+ case 15:
28
+ this.$ = e[t];
29
+ break;
30
+ case 11:
31
+ case 14:
32
+ this.$ = e[t - 2] + "." + e[t];
33
+ break;
34
+ case 12:
35
+ case 16:
36
+ this.$ = e[t - 1] + e[t];
37
+ break;
38
+ case 17:
39
+ case 18:
40
+ this.$ = e[t - 1] + "~" + e[t] + "~";
41
+ break;
42
+ case 19:
43
+ n.addRelation(e[t]);
44
+ break;
45
+ case 20:
46
+ e[t - 1].title = n.cleanupLabel(e[t]), n.addRelation(e[t - 1]);
47
+ break;
48
+ case 31:
49
+ this.$ = e[t].trim(), n.setAccTitle(this.$);
50
+ break;
51
+ case 32:
52
+ case 33:
53
+ this.$ = e[t].trim(), n.setAccDescription(this.$);
54
+ break;
55
+ case 34:
56
+ n.addClassesToNamespace(e[t - 3], e[t - 1][0], e[t - 1][1]);
57
+ break;
58
+ case 35:
59
+ n.addClassesToNamespace(e[t - 4], e[t - 1][0], e[t - 1][1]);
60
+ break;
61
+ case 36:
62
+ this.$ = e[t], n.addNamespace(e[t]);
63
+ break;
64
+ case 37:
65
+ this.$ = [[e[t]], []];
66
+ break;
67
+ case 38:
68
+ this.$ = [[e[t - 1]], []];
69
+ break;
70
+ case 39:
71
+ e[t][0].unshift(e[t - 2]), this.$ = e[t];
72
+ break;
73
+ case 40:
74
+ this.$ = [[], [e[t]]];
75
+ break;
76
+ case 41:
77
+ this.$ = [[], [e[t - 1]]];
78
+ break;
79
+ case 42:
80
+ e[t][1].unshift(e[t - 2]), this.$ = e[t];
81
+ break;
82
+ case 44:
83
+ n.setCssClass(e[t - 2], e[t]);
84
+ break;
85
+ case 45:
86
+ n.addMembers(e[t - 3], e[t - 1]);
87
+ break;
88
+ case 47:
89
+ n.setCssClass(e[t - 5], e[t - 3]), n.addMembers(e[t - 5], e[t - 1]);
90
+ break;
91
+ case 48:
92
+ this.$ = e[t], n.addClass(e[t]);
93
+ break;
94
+ case 49:
95
+ this.$ = e[t - 1], n.addClass(e[t - 1]), n.setClassLabel(e[t - 1], e[t]);
96
+ break;
97
+ case 53:
98
+ n.addAnnotation(e[t], e[t - 2]);
99
+ break;
100
+ case 54:
101
+ case 67:
102
+ this.$ = [e[t]];
103
+ break;
104
+ case 55:
105
+ e[t].push(e[t - 1]), this.$ = e[t];
106
+ break;
107
+ case 56:
108
+ break;
109
+ case 57:
110
+ n.addMember(e[t - 1], n.cleanupLabel(e[t]));
111
+ break;
112
+ case 58:
113
+ break;
114
+ case 59:
115
+ break;
116
+ case 60:
117
+ this.$ = { id1: e[t - 2], id2: e[t], relation: e[t - 1], relationTitle1: "none", relationTitle2: "none" };
118
+ break;
119
+ case 61:
120
+ this.$ = { id1: e[t - 3], id2: e[t], relation: e[t - 1], relationTitle1: e[t - 2], relationTitle2: "none" };
121
+ break;
122
+ case 62:
123
+ this.$ = { id1: e[t - 3], id2: e[t], relation: e[t - 2], relationTitle1: "none", relationTitle2: e[t - 1] };
124
+ break;
125
+ case 63:
126
+ this.$ = { id1: e[t - 4], id2: e[t], relation: e[t - 2], relationTitle1: e[t - 3], relationTitle2: e[t - 1] };
127
+ break;
128
+ case 64:
129
+ this.$ = n.addNote(e[t], e[t - 1]);
130
+ break;
131
+ case 65:
132
+ this.$ = n.addNote(e[t]);
133
+ break;
134
+ case 66:
135
+ this.$ = e[t - 2], n.defineClass(e[t - 1], e[t]);
136
+ break;
137
+ case 68:
138
+ this.$ = e[t - 2].concat([e[t]]);
139
+ break;
140
+ case 69:
141
+ n.setDirection("TB");
142
+ break;
143
+ case 70:
144
+ n.setDirection("BT");
145
+ break;
146
+ case 71:
147
+ n.setDirection("RL");
148
+ break;
149
+ case 72:
150
+ n.setDirection("LR");
151
+ break;
152
+ case 73:
153
+ this.$ = { type1: e[t - 2], type2: e[t], lineType: e[t - 1] };
154
+ break;
155
+ case 74:
156
+ this.$ = { type1: "none", type2: e[t], lineType: e[t - 1] };
157
+ break;
158
+ case 75:
159
+ this.$ = { type1: e[t - 1], type2: "none", lineType: e[t] };
160
+ break;
161
+ case 76:
162
+ this.$ = { type1: "none", type2: "none", lineType: e[t] };
163
+ break;
164
+ case 77:
165
+ this.$ = n.relationType.AGGREGATION;
166
+ break;
167
+ case 78:
168
+ this.$ = n.relationType.EXTENSION;
169
+ break;
170
+ case 79:
171
+ this.$ = n.relationType.COMPOSITION;
172
+ break;
173
+ case 80:
174
+ this.$ = n.relationType.DEPENDENCY;
175
+ break;
176
+ case 81:
177
+ this.$ = n.relationType.LOLLIPOP;
178
+ break;
179
+ case 82:
180
+ this.$ = n.lineType.LINE;
181
+ break;
182
+ case 83:
183
+ this.$ = n.lineType.DOTTED_LINE;
184
+ break;
185
+ case 84:
186
+ case 90:
187
+ this.$ = e[t - 2], n.setClickEvent(e[t - 1], e[t]);
188
+ break;
189
+ case 85:
190
+ case 91:
191
+ this.$ = e[t - 3], n.setClickEvent(e[t - 2], e[t - 1]), n.setTooltip(e[t - 2], e[t]);
192
+ break;
193
+ case 86:
194
+ this.$ = e[t - 2], n.setLink(e[t - 1], e[t]);
195
+ break;
196
+ case 87:
197
+ this.$ = e[t - 3], n.setLink(e[t - 2], e[t - 1], e[t]);
198
+ break;
199
+ case 88:
200
+ this.$ = e[t - 3], n.setLink(e[t - 2], e[t - 1]), n.setTooltip(e[t - 2], e[t]);
201
+ break;
202
+ case 89:
203
+ this.$ = e[t - 4], n.setLink(e[t - 3], e[t - 2], e[t]), n.setTooltip(e[t - 3], e[t - 1]);
204
+ break;
205
+ case 92:
206
+ this.$ = e[t - 3], n.setClickEvent(e[t - 2], e[t - 1], e[t]);
207
+ break;
208
+ case 93:
209
+ this.$ = e[t - 4], n.setClickEvent(e[t - 3], e[t - 2], e[t - 1]), n.setTooltip(e[t - 3], e[t]);
210
+ break;
211
+ case 94:
212
+ this.$ = e[t - 3], n.setLink(e[t - 2], e[t]);
213
+ break;
214
+ case 95:
215
+ this.$ = e[t - 4], n.setLink(e[t - 3], e[t - 1], e[t]);
216
+ break;
217
+ case 96:
218
+ this.$ = e[t - 4], n.setLink(e[t - 3], e[t - 1]), n.setTooltip(e[t - 3], e[t]);
219
+ break;
220
+ case 97:
221
+ this.$ = e[t - 5], n.setLink(e[t - 4], e[t - 2], e[t]), n.setTooltip(e[t - 4], e[t - 1]);
222
+ break;
223
+ case 98:
224
+ this.$ = e[t - 2], n.setCssStyle(e[t - 1], e[t]);
225
+ break;
226
+ case 99:
227
+ n.setCssClass(e[t - 1], e[t]);
228
+ break;
229
+ case 100:
230
+ this.$ = [e[t]];
231
+ break;
232
+ case 101:
233
+ e[t - 2].push(e[t]), this.$ = e[t - 2];
234
+ break;
235
+ case 103:
236
+ this.$ = e[t - 1] + e[t];
237
+ break;
238
+ }
239
+ }, "anonymous"),
240
+ table: [{ 3: 1, 4: 2, 5: 3, 6: 4, 7: [1, 6], 10: 5, 16: 39, 17: 40, 19: 21, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 33: i, 35: a, 37: u, 38: 22, 42: l, 43: 23, 46: r, 49: o, 51: f, 52: C, 54: k, 56: B, 57: Ae, 60: m, 62: fe, 63: ge, 64: Ce, 65: me, 75: be, 76: Ee, 78: ye, 82: ke, 83: Te, 86: b, 100: E, 102: y, 103: T }, { 1: [3] }, { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3] }, s(De, [2, 5], { 8: [1, 48] }), { 8: [1, 49] }, s(d, [2, 19], { 22: [1, 50] }), s(d, [2, 21]), s(d, [2, 22]), s(d, [2, 23]), s(d, [2, 24]), s(d, [2, 25]), s(d, [2, 26]), s(d, [2, 27]), s(d, [2, 28]), s(d, [2, 29]), s(d, [2, 30]), { 34: [1, 51] }, { 36: [1, 52] }, s(d, [2, 33]), s(d, [2, 56], { 53: 53, 66: 56, 67: 57, 13: [1, 54], 22: [1, 55], 68: ee, 69: te, 70: se, 71: ie, 72: ae, 73: Fe, 74: Be }), { 39: [1, 65] }, s(I, [2, 43], { 39: [1, 67], 44: [1, 66] }), s(d, [2, 58]), s(d, [2, 59]), { 16: 68, 60: m, 86: b, 100: E, 102: y }, { 16: 39, 17: 40, 19: 69, 60: m, 86: b, 100: E, 102: y, 103: T }, { 16: 39, 17: 40, 19: 70, 60: m, 86: b, 100: E, 102: y, 103: T }, { 16: 39, 17: 40, 19: 71, 60: m, 86: b, 100: E, 102: y, 103: T }, { 60: [1, 72] }, { 13: [1, 73] }, { 16: 39, 17: 40, 19: 74, 60: m, 86: b, 100: E, 102: y, 103: T }, { 13: Me, 55: 75 }, { 58: 77, 60: [1, 78] }, s(d, [2, 69]), s(d, [2, 70]), s(d, [2, 71]), s(d, [2, 72]), s(P, [2, 13], { 16: 39, 17: 40, 19: 80, 18: [1, 79], 20: [1, 81], 60: m, 86: b, 100: E, 102: y, 103: T }), s(P, [2, 15], { 20: [1, 82] }), { 15: 83, 16: 84, 17: 85, 60: m, 86: b, 100: E, 102: y, 103: T }, { 16: 39, 17: 40, 19: 86, 60: m, 86: b, 100: E, 102: y, 103: T }, s(re, [2, 126]), s(re, [2, 127]), s(re, [2, 128]), s(re, [2, 129]), s([1, 8, 9, 12, 13, 20, 22, 39, 41, 44, 68, 69, 70, 71, 72, 73, 74, 79, 81], [2, 130]), s(De, [2, 6], { 10: 5, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 19: 21, 38: 22, 43: 23, 16: 39, 17: 40, 5: 87, 33: i, 35: a, 37: u, 42: l, 46: r, 49: o, 51: f, 52: C, 54: k, 56: B, 57: Ae, 60: m, 62: fe, 63: ge, 64: Ce, 65: me, 75: be, 76: Ee, 78: ye, 82: ke, 83: Te, 86: b, 100: E, 102: y, 103: T }), { 5: 88, 10: 5, 16: 39, 17: 40, 19: 21, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 33: i, 35: a, 37: u, 38: 22, 42: l, 43: 23, 46: r, 49: o, 51: f, 52: C, 54: k, 56: B, 57: Ae, 60: m, 62: fe, 63: ge, 64: Ce, 65: me, 75: be, 76: Ee, 78: ye, 82: ke, 83: Te, 86: b, 100: E, 102: y, 103: T }, s(d, [2, 20]), s(d, [2, 31]), s(d, [2, 32]), { 13: [1, 90], 16: 39, 17: 40, 19: 89, 60: m, 86: b, 100: E, 102: y, 103: T }, { 53: 91, 66: 56, 67: 57, 68: ee, 69: te, 70: se, 71: ie, 72: ae, 73: Fe, 74: Be }, s(d, [2, 57]), { 67: 92, 73: Fe, 74: Be }, s(ne, [2, 76], { 66: 93, 68: ee, 69: te, 70: se, 71: ie, 72: ae }), s(Y, [2, 77]), s(Y, [2, 78]), s(Y, [2, 79]), s(Y, [2, 80]), s(Y, [2, 81]), s(Pe, [2, 82]), s(Pe, [2, 83]), { 8: [1, 95], 24: 96, 30: 97, 40: 94, 43: 23, 46: r, 54: k, 56: B }, { 16: 98, 60: m, 86: b, 100: E, 102: y }, { 41: [1, 100], 45: 99, 51: _e }, { 50: [1, 102] }, { 13: [1, 103] }, { 13: [1, 104] }, { 79: [1, 105], 81: [1, 106] }, { 22: K, 48: Q, 59: 107, 60: W, 82: j, 84: 108, 85: 109, 86: X, 87: q, 88: H, 89: J, 90: Z }, { 60: [1, 119] }, { 13: Me, 55: 120 }, s(I, [2, 65]), s(I, [2, 131]), { 22: K, 48: Q, 59: 121, 60: W, 61: [1, 122], 82: j, 84: 108, 85: 109, 86: X, 87: q, 88: H, 89: J, 90: Z }, s(Re, [2, 67]), { 16: 39, 17: 40, 19: 123, 60: m, 86: b, 100: E, 102: y, 103: T }, s(P, [2, 16]), s(P, [2, 17]), s(P, [2, 18]), { 39: [2, 36] }, { 15: 125, 16: 84, 17: 85, 18: [1, 124], 39: [2, 9], 60: m, 86: b, 100: E, 102: y, 103: T }, { 39: [2, 10] }, s(Se, [2, 48], { 11: 126, 12: [1, 127] }), s(De, [2, 7]), { 9: [1, 128] }, s(ue, [2, 60]), { 16: 39, 17: 40, 19: 129, 60: m, 86: b, 100: E, 102: y, 103: T }, { 13: [1, 131], 16: 39, 17: 40, 19: 130, 60: m, 86: b, 100: E, 102: y, 103: T }, s(ne, [2, 75], { 66: 132, 68: ee, 69: te, 70: se, 71: ie, 72: ae }), s(ne, [2, 74]), { 41: [1, 133] }, { 24: 96, 30: 97, 40: 134, 43: 23, 46: r, 54: k, 56: B }, { 8: [1, 135], 41: [2, 37] }, { 8: [1, 136], 41: [2, 40] }, s(I, [2, 44], { 39: [1, 137] }), { 41: [1, 138] }, s(I, [2, 46]), { 41: [2, 54], 45: 139, 51: _e }, { 16: 39, 17: 40, 19: 140, 60: m, 86: b, 100: E, 102: y, 103: T }, s(d, [2, 84], { 13: [1, 141] }), s(d, [2, 86], { 13: [1, 143], 77: [1, 142] }), s(d, [2, 90], { 13: [1, 144], 80: [1, 145] }), { 13: [1, 146] }, s(d, [2, 98], { 61: Ge }), s(Ue, [2, 100], { 85: 148, 22: K, 48: Q, 60: W, 82: j, 86: X, 87: q, 88: H, 89: J, 90: Z }), s(x, [2, 102]), s(x, [2, 104]), s(x, [2, 105]), s(x, [2, 106]), s(x, [2, 107]), s(x, [2, 108]), s(x, [2, 109]), s(x, [2, 110]), s(x, [2, 111]), s(x, [2, 112]), s(d, [2, 99]), s(I, [2, 64]), s(d, [2, 66], { 61: Ge }), { 60: [1, 149] }, s(P, [2, 14]), { 15: 150, 16: 84, 17: 85, 60: m, 86: b, 100: E, 102: y, 103: T }, { 39: [2, 12] }, s(Se, [2, 49]), { 13: [1, 151] }, { 1: [2, 4] }, s(ue, [2, 62]), s(ue, [2, 61]), { 16: 39, 17: 40, 19: 152, 60: m, 86: b, 100: E, 102: y, 103: T }, s(ne, [2, 73]), s(d, [2, 34]), { 41: [1, 153] }, { 24: 96, 30: 97, 40: 154, 41: [2, 38], 43: 23, 46: r, 54: k, 56: B }, { 24: 96, 30: 97, 40: 155, 41: [2, 41], 43: 23, 46: r, 54: k, 56: B }, { 45: 156, 51: _e }, s(I, [2, 45]), { 41: [2, 55] }, s(d, [2, 53]), s(d, [2, 85]), s(d, [2, 87]), s(d, [2, 88], { 77: [1, 157] }), s(d, [2, 91]), s(d, [2, 92], { 13: [1, 158] }), s(d, [2, 94], { 13: [1, 160], 77: [1, 159] }), { 22: K, 48: Q, 60: W, 82: j, 84: 161, 85: 109, 86: X, 87: q, 88: H, 89: J, 90: Z }, s(x, [2, 103]), s(Re, [2, 68]), { 39: [2, 11] }, { 14: [1, 162] }, s(ue, [2, 63]), s(d, [2, 35]), { 41: [2, 39] }, { 41: [2, 42] }, { 41: [1, 163] }, s(d, [2, 89]), s(d, [2, 93]), s(d, [2, 95]), s(d, [2, 96], { 77: [1, 164] }), s(Ue, [2, 101], { 85: 148, 22: K, 48: Q, 60: W, 82: j, 86: X, 87: q, 88: H, 89: J, 90: Z }), s(Se, [2, 8]), s(I, [2, 47]), s(d, [2, 97])],
241
+ defaultActions: { 2: [2, 1], 3: [2, 2], 4: [2, 3], 83: [2, 36], 85: [2, 10], 125: [2, 12], 128: [2, 4], 139: [2, 55], 150: [2, 11], 154: [2, 39], 155: [2, 42] },
242
+ parseError: /* @__PURE__ */ A(function(c, h) {
243
+ if (h.recoverable)
244
+ this.trace(c);
245
+ else {
246
+ var p = new Error(c);
247
+ throw p.hash = h, p;
248
+ }
249
+ }, "parseError"),
250
+ parse: /* @__PURE__ */ A(function(c) {
251
+ var h = this, p = [0], n = [], g = [null], e = [], $ = this.table, t = "", oe = 0, ze = 0, He = 2, Ye = 1, Je = e.slice.call(arguments, 1), D = Object.create(this.lexer), w = { yy: {} };
252
+ for (var xe in this.yy)
253
+ Object.prototype.hasOwnProperty.call(this.yy, xe) && (w.yy[xe] = this.yy[xe]);
254
+ D.setInput(c, w.yy), w.yy.lexer = D, w.yy.parser = this, typeof D.yylloc > "u" && (D.yylloc = {});
255
+ var Le = D.yylloc;
256
+ e.push(Le);
257
+ var Ze = D.options && D.options.ranges;
258
+ typeof w.yy.parseError == "function" ? this.parseError = w.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
259
+ function $e(S) {
260
+ p.length = p.length - 2 * S, g.length = g.length - S, e.length = e.length - S;
261
+ }
262
+ A($e, "popStack");
263
+ function Ke() {
264
+ var S;
265
+ return S = n.pop() || D.lex() || Ye, typeof S != "number" && (S instanceof Array && (n = S, S = n.pop()), S = h.symbols_[S] || S), S;
266
+ }
267
+ A(Ke, "lex");
268
+ for (var _, V, N, ve, R = {}, ce, L, Qe, he; ; ) {
269
+ if (V = p[p.length - 1], this.defaultActions[V] ? N = this.defaultActions[V] : ((_ === null || typeof _ > "u") && (_ = Ke()), N = $[V] && $[V][_]), typeof N > "u" || !N.length || !N[0]) {
270
+ var Ie = "";
271
+ he = [];
272
+ for (ce in $[V])
273
+ this.terminals_[ce] && ce > He && he.push("'" + this.terminals_[ce] + "'");
274
+ D.showPosition ? Ie = "Parse error on line " + (oe + 1) + `:
275
+ ` + D.showPosition() + `
276
+ Expecting ` + he.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : Ie = "Parse error on line " + (oe + 1) + ": Unexpected " + (_ == Ye ? "end of input" : "'" + (this.terminals_[_] || _) + "'"), this.parseError(Ie, {
277
+ text: D.match,
278
+ token: this.terminals_[_] || _,
279
+ line: D.yylineno,
280
+ loc: Le,
281
+ expected: he
282
+ });
283
+ }
284
+ if (N[0] instanceof Array && N.length > 1)
285
+ throw new Error("Parse Error: multiple actions possible at state: " + V + ", token: " + _);
286
+ switch (N[0]) {
287
+ case 1:
288
+ p.push(_), g.push(D.yytext), e.push(D.yylloc), p.push(N[1]), _ = null, ze = D.yyleng, t = D.yytext, oe = D.yylineno, Le = D.yylloc;
289
+ break;
290
+ case 2:
291
+ if (L = this.productions_[N[1]][1], R.$ = g[g.length - L], R._$ = {
292
+ first_line: e[e.length - (L || 1)].first_line,
293
+ last_line: e[e.length - 1].last_line,
294
+ first_column: e[e.length - (L || 1)].first_column,
295
+ last_column: e[e.length - 1].last_column
296
+ }, Ze && (R._$.range = [
297
+ e[e.length - (L || 1)].range[0],
298
+ e[e.length - 1].range[1]
299
+ ]), ve = this.performAction.apply(R, [
300
+ t,
301
+ ze,
302
+ oe,
303
+ w.yy,
304
+ N[1],
305
+ g,
306
+ e
307
+ ].concat(Je)), typeof ve < "u")
308
+ return ve;
309
+ L && (p = p.slice(0, -1 * L * 2), g = g.slice(0, -1 * L), e = e.slice(0, -1 * L)), p.push(this.productions_[N[1]][0]), g.push(R.$), e.push(R._$), Qe = $[p[p.length - 2]][p[p.length - 1]], p.push(Qe);
310
+ break;
311
+ case 3:
312
+ return !0;
313
+ }
314
+ }
315
+ return !0;
316
+ }, "parse")
317
+ }, qe = /* @__PURE__ */ (function() {
318
+ var O = {
319
+ EOF: 1,
320
+ parseError: /* @__PURE__ */ A(function(h, p) {
321
+ if (this.yy.parser)
322
+ this.yy.parser.parseError(h, p);
323
+ else
324
+ throw new Error(h);
325
+ }, "parseError"),
326
+ // resets the lexer, sets new input
327
+ setInput: /* @__PURE__ */ A(function(c, h) {
328
+ return this.yy = h || this.yy || {}, this._input = c, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
329
+ first_line: 1,
330
+ first_column: 0,
331
+ last_line: 1,
332
+ last_column: 0
333
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
334
+ }, "setInput"),
335
+ // consumes and returns one char from the input
336
+ input: /* @__PURE__ */ A(function() {
337
+ var c = this._input[0];
338
+ this.yytext += c, this.yyleng++, this.offset++, this.match += c, this.matched += c;
339
+ var h = c.match(/(?:\r\n?|\n).*/g);
340
+ return h ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), c;
341
+ }, "input"),
342
+ // unshifts one char (or a string) into the input
343
+ unput: /* @__PURE__ */ A(function(c) {
344
+ var h = c.length, p = c.split(/(?:\r\n?|\n)/g);
345
+ this._input = c + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - h), this.offset -= h;
346
+ var n = this.match.split(/(?:\r\n?|\n)/g);
347
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), p.length - 1 && (this.yylineno -= p.length - 1);
348
+ var g = this.yylloc.range;
349
+ return this.yylloc = {
350
+ first_line: this.yylloc.first_line,
351
+ last_line: this.yylineno + 1,
352
+ first_column: this.yylloc.first_column,
353
+ last_column: p ? (p.length === n.length ? this.yylloc.first_column : 0) + n[n.length - p.length].length - p[0].length : this.yylloc.first_column - h
354
+ }, this.options.ranges && (this.yylloc.range = [g[0], g[0] + this.yyleng - h]), this.yyleng = this.yytext.length, this;
355
+ }, "unput"),
356
+ // When called from action, caches matched text and appends it on next action
357
+ more: /* @__PURE__ */ A(function() {
358
+ return this._more = !0, this;
359
+ }, "more"),
360
+ // 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.
361
+ reject: /* @__PURE__ */ A(function() {
362
+ if (this.options.backtrack_lexer)
363
+ this._backtrack = !0;
364
+ else
365
+ 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).
366
+ ` + this.showPosition(), {
367
+ text: "",
368
+ token: null,
369
+ line: this.yylineno
370
+ });
371
+ return this;
372
+ }, "reject"),
373
+ // retain first n characters of the match
374
+ less: /* @__PURE__ */ A(function(c) {
375
+ this.unput(this.match.slice(c));
376
+ }, "less"),
377
+ // displays already matched input, i.e. for error messages
378
+ pastInput: /* @__PURE__ */ A(function() {
379
+ var c = this.matched.substr(0, this.matched.length - this.match.length);
380
+ return (c.length > 20 ? "..." : "") + c.substr(-20).replace(/\n/g, "");
381
+ }, "pastInput"),
382
+ // displays upcoming input, i.e. for error messages
383
+ upcomingInput: /* @__PURE__ */ A(function() {
384
+ var c = this.match;
385
+ return c.length < 20 && (c += this._input.substr(0, 20 - c.length)), (c.substr(0, 20) + (c.length > 20 ? "..." : "")).replace(/\n/g, "");
386
+ }, "upcomingInput"),
387
+ // displays the character position where the lexing error occurred, i.e. for error messages
388
+ showPosition: /* @__PURE__ */ A(function() {
389
+ var c = this.pastInput(), h = new Array(c.length + 1).join("-");
390
+ return c + this.upcomingInput() + `
391
+ ` + h + "^";
392
+ }, "showPosition"),
393
+ // test the lexed token: return FALSE when not a match, otherwise return token
394
+ test_match: /* @__PURE__ */ A(function(c, h) {
395
+ var p, n, g;
396
+ if (this.options.backtrack_lexer && (g = {
397
+ yylineno: this.yylineno,
398
+ yylloc: {
399
+ first_line: this.yylloc.first_line,
400
+ last_line: this.last_line,
401
+ first_column: this.yylloc.first_column,
402
+ last_column: this.yylloc.last_column
403
+ },
404
+ yytext: this.yytext,
405
+ match: this.match,
406
+ matches: this.matches,
407
+ matched: this.matched,
408
+ yyleng: this.yyleng,
409
+ offset: this.offset,
410
+ _more: this._more,
411
+ _input: this._input,
412
+ yy: this.yy,
413
+ conditionStack: this.conditionStack.slice(0),
414
+ done: this.done
415
+ }, this.options.ranges && (g.yylloc.range = this.yylloc.range.slice(0))), n = c[0].match(/(?:\r\n?|\n).*/g), n && (this.yylineno += n.length), this.yylloc = {
416
+ first_line: this.yylloc.last_line,
417
+ last_line: this.yylineno + 1,
418
+ first_column: this.yylloc.last_column,
419
+ last_column: n ? n[n.length - 1].length - n[n.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + c[0].length
420
+ }, this.yytext += c[0], this.match += c[0], this.matches = c, 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(c[0].length), this.matched += c[0], p = this.performAction.call(this, this.yy, this, h, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), p)
421
+ return p;
422
+ if (this._backtrack) {
423
+ for (var e in g)
424
+ this[e] = g[e];
425
+ return !1;
426
+ }
427
+ return !1;
428
+ }, "test_match"),
429
+ // return next match in input
430
+ next: /* @__PURE__ */ A(function() {
431
+ if (this.done)
432
+ return this.EOF;
433
+ this._input || (this.done = !0);
434
+ var c, h, p, n;
435
+ this._more || (this.yytext = "", this.match = "");
436
+ for (var g = this._currentRules(), e = 0; e < g.length; e++)
437
+ if (p = this._input.match(this.rules[g[e]]), p && (!h || p[0].length > h[0].length)) {
438
+ if (h = p, n = e, this.options.backtrack_lexer) {
439
+ if (c = this.test_match(p, g[e]), c !== !1)
440
+ return c;
441
+ if (this._backtrack) {
442
+ h = !1;
443
+ continue;
444
+ } else
445
+ return !1;
446
+ } else if (!this.options.flex)
447
+ break;
448
+ }
449
+ return h ? (c = this.test_match(h, g[n]), c !== !1 ? c : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
450
+ ` + this.showPosition(), {
451
+ text: "",
452
+ token: null,
453
+ line: this.yylineno
454
+ });
455
+ }, "next"),
456
+ // return next match that has a token
457
+ lex: /* @__PURE__ */ A(function() {
458
+ var h = this.next();
459
+ return h || this.lex();
460
+ }, "lex"),
461
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
462
+ begin: /* @__PURE__ */ A(function(h) {
463
+ this.conditionStack.push(h);
464
+ }, "begin"),
465
+ // pop the previously active lexer condition state off the condition stack
466
+ popState: /* @__PURE__ */ A(function() {
467
+ var h = this.conditionStack.length - 1;
468
+ return h > 0 ? this.conditionStack.pop() : this.conditionStack[0];
469
+ }, "popState"),
470
+ // produce the lexer rule set which is active for the currently active lexer condition state
471
+ _currentRules: /* @__PURE__ */ A(function() {
472
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
473
+ }, "_currentRules"),
474
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
475
+ topState: /* @__PURE__ */ A(function(h) {
476
+ return h = this.conditionStack.length - 1 - Math.abs(h || 0), h >= 0 ? this.conditionStack[h] : "INITIAL";
477
+ }, "topState"),
478
+ // alias for begin(condition)
479
+ pushState: /* @__PURE__ */ A(function(h) {
480
+ this.begin(h);
481
+ }, "pushState"),
482
+ // return the number of states currently on the stack
483
+ stateStackSize: /* @__PURE__ */ A(function() {
484
+ return this.conditionStack.length;
485
+ }, "stateStackSize"),
486
+ options: {},
487
+ performAction: /* @__PURE__ */ A(function(h, p, n, g) {
488
+ switch (n) {
489
+ case 0:
490
+ return 62;
491
+ case 1:
492
+ return 63;
493
+ case 2:
494
+ return 64;
495
+ case 3:
496
+ return 65;
497
+ case 4:
498
+ break;
499
+ case 5:
500
+ break;
501
+ case 6:
502
+ return this.begin("acc_title"), 33;
503
+ case 7:
504
+ return this.popState(), "acc_title_value";
505
+ case 8:
506
+ return this.begin("acc_descr"), 35;
507
+ case 9:
508
+ return this.popState(), "acc_descr_value";
509
+ case 10:
510
+ this.begin("acc_descr_multiline");
511
+ break;
512
+ case 11:
513
+ this.popState();
514
+ break;
515
+ case 12:
516
+ return "acc_descr_multiline_value";
517
+ case 13:
518
+ return 8;
519
+ case 14:
520
+ break;
521
+ case 15:
522
+ return 7;
523
+ case 16:
524
+ return 7;
525
+ case 17:
526
+ return "EDGE_STATE";
527
+ case 18:
528
+ this.begin("callback_name");
529
+ break;
530
+ case 19:
531
+ this.popState();
532
+ break;
533
+ case 20:
534
+ this.popState(), this.begin("callback_args");
535
+ break;
536
+ case 21:
537
+ return 79;
538
+ case 22:
539
+ this.popState();
540
+ break;
541
+ case 23:
542
+ return 80;
543
+ case 24:
544
+ this.popState();
545
+ break;
546
+ case 25:
547
+ return "STR";
548
+ case 26:
549
+ this.begin("string");
550
+ break;
551
+ case 27:
552
+ return 82;
553
+ case 28:
554
+ return 57;
555
+ case 29:
556
+ return this.begin("namespace"), 42;
557
+ case 30:
558
+ return this.popState(), 8;
559
+ case 31:
560
+ break;
561
+ case 32:
562
+ return this.begin("namespace-body"), 39;
563
+ case 33:
564
+ return this.popState(), 41;
565
+ case 34:
566
+ return "EOF_IN_STRUCT";
567
+ case 35:
568
+ return 8;
569
+ case 36:
570
+ break;
571
+ case 37:
572
+ return "EDGE_STATE";
573
+ case 38:
574
+ return this.begin("class"), 46;
575
+ case 39:
576
+ return this.popState(), 8;
577
+ case 40:
578
+ break;
579
+ case 41:
580
+ return this.popState(), this.popState(), 41;
581
+ case 42:
582
+ return this.begin("class-body"), 39;
583
+ case 43:
584
+ return this.popState(), 41;
585
+ case 44:
586
+ return "EOF_IN_STRUCT";
587
+ case 45:
588
+ return "EDGE_STATE";
589
+ case 46:
590
+ return "OPEN_IN_STRUCT";
591
+ case 47:
592
+ break;
593
+ case 48:
594
+ return "MEMBER";
595
+ case 49:
596
+ return 83;
597
+ case 50:
598
+ return 75;
599
+ case 51:
600
+ return 76;
601
+ case 52:
602
+ return 78;
603
+ case 53:
604
+ return 54;
605
+ case 54:
606
+ return 56;
607
+ case 55:
608
+ return 49;
609
+ case 56:
610
+ return 50;
611
+ case 57:
612
+ return 81;
613
+ case 58:
614
+ this.popState();
615
+ break;
616
+ case 59:
617
+ return "GENERICTYPE";
618
+ case 60:
619
+ this.begin("generic");
620
+ break;
621
+ case 61:
622
+ this.popState();
623
+ break;
624
+ case 62:
625
+ return "BQUOTE_STR";
626
+ case 63:
627
+ this.begin("bqstring");
628
+ break;
629
+ case 64:
630
+ return 77;
631
+ case 65:
632
+ return 77;
633
+ case 66:
634
+ return 77;
635
+ case 67:
636
+ return 77;
637
+ case 68:
638
+ return 69;
639
+ case 69:
640
+ return 69;
641
+ case 70:
642
+ return 71;
643
+ case 71:
644
+ return 71;
645
+ case 72:
646
+ return 70;
647
+ case 73:
648
+ return 68;
649
+ case 74:
650
+ return 72;
651
+ case 75:
652
+ return 73;
653
+ case 76:
654
+ return 74;
655
+ case 77:
656
+ return 22;
657
+ case 78:
658
+ return 44;
659
+ case 79:
660
+ return 100;
661
+ case 80:
662
+ return 18;
663
+ case 81:
664
+ return "PLUS";
665
+ case 82:
666
+ return 87;
667
+ case 83:
668
+ return 61;
669
+ case 84:
670
+ return 89;
671
+ case 85:
672
+ return 89;
673
+ case 86:
674
+ return 90;
675
+ case 87:
676
+ return "EQUALS";
677
+ case 88:
678
+ return "EQUALS";
679
+ case 89:
680
+ return 60;
681
+ case 90:
682
+ return 12;
683
+ case 91:
684
+ return 14;
685
+ case 92:
686
+ return "PUNCTUATION";
687
+ case 93:
688
+ return 86;
689
+ case 94:
690
+ return 102;
691
+ case 95:
692
+ return 48;
693
+ case 96:
694
+ return 48;
695
+ case 97:
696
+ return 9;
697
+ }
698
+ }, "anonymous"),
699
+ 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)/, /^(?:classDef\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)/, /^(?:$)/],
700
+ conditions: { "namespace-body": { rules: [26, 33, 34, 35, 36, 37, 38, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, namespace: { rules: [26, 29, 30, 31, 32, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, "class-body": { rules: [26, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, class: { rules: [26, 39, 40, 41, 42, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, acc_descr_multiline: { rules: [11, 12, 26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, acc_descr: { rules: [9, 26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, acc_title: { rules: [7, 26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, callback_args: { rules: [22, 23, 26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, callback_name: { rules: [19, 20, 21, 26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, href: { rules: [26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, struct: { rules: [26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, generic: { rules: [26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, bqstring: { rules: [26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, string: { rules: [24, 25, 26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 8, 10, 13, 14, 15, 16, 17, 18, 26, 27, 28, 29, 38, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 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, 97], inclusive: !0 } }
701
+ };
702
+ return O;
703
+ })();
704
+ Ne.lexer = qe;
705
+ function le() {
706
+ this.yy = {};
707
+ }
708
+ return A(le, "Parser"), le.prototype = Ne, Ne.Parser = le, new le();
709
+ })();
710
+ Ve.parser = Ve;
711
+ var Bt = Ve, We = ["#", "+", "~", "-", ""], U, je = (U = class {
712
+ constructor(i, a) {
713
+ this.memberType = a, this.visibility = "", this.classifier = "", this.text = "";
714
+ const u = At(i, F());
715
+ this.parseMember(u);
716
+ }
717
+ getDisplayDetails() {
718
+ let i = this.visibility + G(this.id);
719
+ this.memberType === "method" && (i += `(${G(this.parameters.trim())})`, this.returnType && (i += " : " + G(this.returnType))), i = i.trim();
720
+ const a = this.parseClassifier();
721
+ return {
722
+ displayText: i,
723
+ cssStyle: a
724
+ };
725
+ }
726
+ parseMember(i) {
727
+ let a = "";
728
+ if (this.memberType === "method") {
729
+ const r = /([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(i);
730
+ if (r) {
731
+ const o = r[1] ? r[1].trim() : "";
732
+ if (We.includes(o) && (this.visibility = o), this.id = r[2], this.parameters = r[3] ? r[3].trim() : "", a = r[4] ? r[4].trim() : "", this.returnType = r[5] ? r[5].trim() : "", a === "") {
733
+ const f = this.returnType.substring(this.returnType.length - 1);
734
+ /[$*]/.exec(f) && (a = f, this.returnType = this.returnType.substring(0, this.returnType.length - 1));
735
+ }
736
+ }
737
+ } else {
738
+ const l = i.length, r = i.substring(0, 1), o = i.substring(l - 1);
739
+ We.includes(r) && (this.visibility = r), /[$*]/.exec(o) && (a = o), this.id = i.substring(
740
+ this.visibility === "" ? 0 : 1,
741
+ a === "" ? l : l - 1
742
+ );
743
+ }
744
+ this.classifier = a, this.id = this.id.startsWith(" ") ? " " + this.id.trim() : this.id.trim();
745
+ const u = `${this.visibility ? "\\" + this.visibility : ""}${G(this.id)}${this.memberType === "method" ? `(${G(this.parameters)})${this.returnType ? " : " + G(this.returnType) : ""}` : ""}`;
746
+ this.text = u.replaceAll("<", "&lt;").replaceAll(">", "&gt;"), this.text.startsWith("\\&lt;") && (this.text = this.text.replace("\\&lt;", "~"));
747
+ }
748
+ parseClassifier() {
749
+ switch (this.classifier) {
750
+ case "*":
751
+ return "font-style:italic;";
752
+ case "$":
753
+ return "text-decoration:underline;";
754
+ default:
755
+ return "";
756
+ }
757
+ }
758
+ }, A(U, "ClassMember"), U), pe = "classId-", Xe = 0, M = /* @__PURE__ */ A((s) => v.sanitizeText(s, F()), "sanitizeText"), z, _t = (z = class {
759
+ constructor() {
760
+ 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.functions = [], this.lineType = {
761
+ LINE: 0,
762
+ DOTTED_LINE: 1
763
+ }, this.relationType = {
764
+ AGGREGATION: 0,
765
+ EXTENSION: 1,
766
+ COMPOSITION: 2,
767
+ DEPENDENCY: 3,
768
+ LOLLIPOP: 4
769
+ }, this.setupToolTips = /* @__PURE__ */ A((i) => {
770
+ const a = tt();
771
+ de(i).select("svg").selectAll("g").filter(function() {
772
+ return de(this).attr("title") !== null;
773
+ }).on("mouseover", (r) => {
774
+ const o = de(r.currentTarget), f = o.attr("title");
775
+ if (!f)
776
+ return;
777
+ const C = r.currentTarget.getBoundingClientRect();
778
+ a.transition().duration(200).style("opacity", ".9"), a.html(ft.sanitize(f)).style("left", `${window.scrollX + C.left + C.width / 2}px`).style("top", `${window.scrollY + C.bottom + 4}px`), o.classed("hover", !0);
779
+ }).on("mouseout", (r) => {
780
+ a.transition().duration(500).style("opacity", 0), de(r.currentTarget).classed("hover", !1);
781
+ });
782
+ }, "setupToolTips"), this.direction = "TB", this.setAccTitle = nt, this.getAccTitle = ut, this.setAccDescription = lt, this.getAccDescription = ot, this.setDiagramTitle = ct, this.getDiagramTitle = ht, this.getConfig = /* @__PURE__ */ A(() => F().class, "getConfig"), this.functions.push(this.setupToolTips.bind(this)), this.clear(), this.addRelation = this.addRelation.bind(this), this.addClassesToNamespace = this.addClassesToNamespace.bind(this), this.addNamespace = this.addNamespace.bind(this), this.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);
783
+ }
784
+ splitClassNameAndType(i) {
785
+ const a = v.sanitizeText(i, F());
786
+ let u = "", l = a;
787
+ if (a.indexOf("~") > 0) {
788
+ const r = a.split("~");
789
+ l = M(r[0]), u = M(r[1]);
790
+ }
791
+ return { className: l, type: u };
792
+ }
793
+ setClassLabel(i, a) {
794
+ const u = v.sanitizeText(i, F());
795
+ a && (a = M(a));
796
+ const { className: l } = this.splitClassNameAndType(u);
797
+ this.classes.get(l).label = a, this.classes.get(l).text = `${a}${this.classes.get(l).type ? `<${this.classes.get(l).type}>` : ""}`;
798
+ }
799
+ /**
800
+ * Function called by parser when a node definition has been found.
801
+ *
802
+ * @param id - ID of the class to add
803
+ * @public
804
+ */
805
+ addClass(i) {
806
+ const a = v.sanitizeText(i, F()), { className: u, type: l } = this.splitClassNameAndType(a);
807
+ if (this.classes.has(u))
808
+ return;
809
+ const r = v.sanitizeText(u, F());
810
+ this.classes.set(r, {
811
+ id: r,
812
+ type: l,
813
+ label: r,
814
+ text: `${r}${l ? `&lt;${l}&gt;` : ""}`,
815
+ shape: "classBox",
816
+ cssClasses: "default",
817
+ methods: [],
818
+ members: [],
819
+ annotations: [],
820
+ styles: [],
821
+ domId: pe + r + "-" + Xe
822
+ }), Xe++;
823
+ }
824
+ addInterface(i, a) {
825
+ const u = {
826
+ id: `interface${this.interfaces.length}`,
827
+ label: i,
828
+ classId: a
829
+ };
830
+ this.interfaces.push(u);
831
+ }
832
+ /**
833
+ * Function to lookup domId from id in the graph definition.
834
+ *
835
+ * @param id - class ID to lookup
836
+ * @public
837
+ */
838
+ lookUpDomId(i) {
839
+ const a = v.sanitizeText(i, F());
840
+ if (this.classes.has(a))
841
+ return this.classes.get(a).domId;
842
+ throw new Error("Class not found: " + a);
843
+ }
844
+ clear() {
845
+ 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.direction = "TB", dt();
846
+ }
847
+ getClass(i) {
848
+ return this.classes.get(i);
849
+ }
850
+ getClasses() {
851
+ return this.classes;
852
+ }
853
+ getRelations() {
854
+ return this.relations;
855
+ }
856
+ getNote(i) {
857
+ const a = typeof i == "number" ? `note${i}` : i;
858
+ return this.notes.get(a);
859
+ }
860
+ getNotes() {
861
+ return this.notes;
862
+ }
863
+ addRelation(i) {
864
+ Oe.debug("Adding relation: " + JSON.stringify(i));
865
+ const a = [
866
+ this.relationType.LOLLIPOP,
867
+ this.relationType.AGGREGATION,
868
+ this.relationType.COMPOSITION,
869
+ this.relationType.DEPENDENCY,
870
+ this.relationType.EXTENSION
871
+ ];
872
+ i.relation.type1 === this.relationType.LOLLIPOP && !a.includes(i.relation.type2) ? (this.addClass(i.id2), this.addInterface(i.id1, i.id2), i.id1 = `interface${this.interfaces.length - 1}`) : i.relation.type2 === this.relationType.LOLLIPOP && !a.includes(i.relation.type1) ? (this.addClass(i.id1), this.addInterface(i.id2, i.id1), i.id2 = `interface${this.interfaces.length - 1}`) : (this.addClass(i.id1), this.addClass(i.id2)), i.id1 = this.splitClassNameAndType(i.id1).className, i.id2 = this.splitClassNameAndType(i.id2).className, i.relationTitle1 = v.sanitizeText(
873
+ i.relationTitle1.trim(),
874
+ F()
875
+ ), i.relationTitle2 = v.sanitizeText(
876
+ i.relationTitle2.trim(),
877
+ F()
878
+ ), this.relations.push(i);
879
+ }
880
+ /**
881
+ * Adds an annotation to the specified class Annotations mark special properties of the given type
882
+ * (like 'interface' or 'service')
883
+ *
884
+ * @param className - The class name
885
+ * @param annotation - The name of the annotation without any brackets
886
+ * @public
887
+ */
888
+ addAnnotation(i, a) {
889
+ const u = this.splitClassNameAndType(i).className;
890
+ this.classes.get(u).annotations.push(a);
891
+ }
892
+ /**
893
+ * Adds a member to the specified class
894
+ *
895
+ * @param className - The class name
896
+ * @param member - The full name of the member. If the member is enclosed in `<<brackets>>` it is
897
+ * treated as an annotation If the member is ending with a closing bracket ) it is treated as a
898
+ * method Otherwise the member will be treated as a normal property
899
+ * @public
900
+ */
901
+ addMember(i, a) {
902
+ this.addClass(i);
903
+ const u = this.splitClassNameAndType(i).className, l = this.classes.get(u);
904
+ if (typeof a == "string") {
905
+ const r = a.trim();
906
+ r.startsWith("<<") && r.endsWith(">>") ? l.annotations.push(M(r.substring(2, r.length - 2))) : r.indexOf(")") > 0 ? l.methods.push(new je(r, "method")) : r && l.members.push(new je(r, "attribute"));
907
+ }
908
+ }
909
+ addMembers(i, a) {
910
+ Array.isArray(a) && (a.reverse(), a.forEach((u) => this.addMember(i, u)));
911
+ }
912
+ addNote(i, a) {
913
+ const u = this.notes.size, l = {
914
+ id: `note${u}`,
915
+ class: a,
916
+ text: i,
917
+ index: u
918
+ };
919
+ return this.notes.set(l.id, l), l.id;
920
+ }
921
+ cleanupLabel(i) {
922
+ return i.startsWith(":") && (i = i.substring(1)), M(i.trim());
923
+ }
924
+ /**
925
+ * Called by parser when assigning cssClass to a class
926
+ *
927
+ * @param ids - Comma separated list of ids
928
+ * @param className - Class to add
929
+ */
930
+ setCssClass(i, a) {
931
+ i.split(",").forEach((u) => {
932
+ let l = u;
933
+ /\d/.exec(u[0]) && (l = pe + l);
934
+ const r = this.classes.get(l);
935
+ r && (r.cssClasses += " " + a);
936
+ });
937
+ }
938
+ defineClass(i, a) {
939
+ for (const u of i) {
940
+ let l = this.styleClasses.get(u);
941
+ l === void 0 && (l = { id: u, styles: [], textStyles: [] }, this.styleClasses.set(u, l)), a && a.forEach((r) => {
942
+ if (/color/.exec(r)) {
943
+ const o = r.replace("fill", "bgFill");
944
+ l.textStyles.push(o);
945
+ }
946
+ l.styles.push(r);
947
+ }), this.classes.forEach((r) => {
948
+ r.cssClasses.includes(u) && r.styles.push(...a.flatMap((o) => o.split(",")));
949
+ });
950
+ }
951
+ }
952
+ /**
953
+ * Called by parser when a tooltip is found, e.g. a clickable element.
954
+ *
955
+ * @param ids - Comma separated list of ids
956
+ * @param tooltip - Tooltip to add
957
+ */
958
+ setTooltip(i, a) {
959
+ i.split(",").forEach((u) => {
960
+ a !== void 0 && (this.classes.get(u).tooltip = M(a));
961
+ });
962
+ }
963
+ getTooltip(i, a) {
964
+ return a && this.namespaces.has(a) ? this.namespaces.get(a).classes.get(i).tooltip : this.classes.get(i).tooltip;
965
+ }
966
+ /**
967
+ * Called by parser when a link is found. Adds the URL to the vertex data.
968
+ *
969
+ * @param ids - Comma separated list of ids
970
+ * @param linkStr - URL to create a link for
971
+ * @param target - Target of the link, _blank by default as originally defined in the svgDraw.js file
972
+ */
973
+ setLink(i, a, u) {
974
+ const l = F();
975
+ i.split(",").forEach((r) => {
976
+ let o = r;
977
+ /\d/.exec(r[0]) && (o = pe + o);
978
+ const f = this.classes.get(o);
979
+ f && (f.link = we.formatUrl(a, l), l.securityLevel === "sandbox" ? f.linkTarget = "_top" : typeof u == "string" ? f.linkTarget = M(u) : f.linkTarget = "_blank");
980
+ }), this.setCssClass(i, "clickable");
981
+ }
982
+ /**
983
+ * Called by parser when a click definition is found. Registers an event handler.
984
+ *
985
+ * @param ids - Comma separated list of ids
986
+ * @param functionName - Function to be called on click
987
+ * @param functionArgs - Function args the function should be called with
988
+ */
989
+ setClickEvent(i, a, u) {
990
+ i.split(",").forEach((l) => {
991
+ this.setClickFunc(l, a, u), this.classes.get(l).haveCallback = !0;
992
+ }), this.setCssClass(i, "clickable");
993
+ }
994
+ setClickFunc(i, a, u) {
995
+ const l = v.sanitizeText(i, F());
996
+ if (F().securityLevel !== "loose" || a === void 0)
997
+ return;
998
+ const o = l;
999
+ if (this.classes.has(o)) {
1000
+ const f = this.lookUpDomId(o);
1001
+ let C = [];
1002
+ if (typeof u == "string") {
1003
+ C = u.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
1004
+ for (let k = 0; k < C.length; k++) {
1005
+ let B = C[k].trim();
1006
+ B.startsWith('"') && B.endsWith('"') && (B = B.substr(1, B.length - 2)), C[k] = B;
1007
+ }
1008
+ }
1009
+ C.length === 0 && C.push(f), this.functions.push(() => {
1010
+ const k = document.querySelector(`[id="${f}"]`);
1011
+ k !== null && k.addEventListener(
1012
+ "click",
1013
+ () => {
1014
+ we.runFunc(a, ...C);
1015
+ },
1016
+ !1
1017
+ );
1018
+ });
1019
+ }
1020
+ }
1021
+ bindFunctions(i) {
1022
+ this.functions.forEach((a) => {
1023
+ a(i);
1024
+ });
1025
+ }
1026
+ // Utility function to escape HTML meta-characters
1027
+ escapeHtml(i) {
1028
+ return i.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;");
1029
+ }
1030
+ getDirection() {
1031
+ return this.direction;
1032
+ }
1033
+ setDirection(i) {
1034
+ this.direction = i;
1035
+ }
1036
+ /**
1037
+ * Function called by parser when a namespace definition has been found.
1038
+ *
1039
+ * @param id - ID of the namespace to add
1040
+ * @public
1041
+ */
1042
+ addNamespace(i) {
1043
+ this.namespaces.has(i) || (this.namespaces.set(i, {
1044
+ id: i,
1045
+ classes: /* @__PURE__ */ new Map(),
1046
+ notes: /* @__PURE__ */ new Map(),
1047
+ children: /* @__PURE__ */ new Map(),
1048
+ domId: pe + i + "-" + this.namespaceCounter
1049
+ }), this.namespaceCounter++);
1050
+ }
1051
+ getNamespace(i) {
1052
+ return this.namespaces.get(i);
1053
+ }
1054
+ getNamespaces() {
1055
+ return this.namespaces;
1056
+ }
1057
+ /**
1058
+ * Function called by parser when a namespace definition has been found.
1059
+ *
1060
+ * @param id - ID of the namespace to add
1061
+ * @param classNames - IDs of the class to add
1062
+ * @param noteNames - IDs of the notes to add
1063
+ * @public
1064
+ */
1065
+ addClassesToNamespace(i, a, u) {
1066
+ if (this.namespaces.has(i)) {
1067
+ for (const l of a) {
1068
+ const { className: r } = this.splitClassNameAndType(l), o = this.getClass(r);
1069
+ o.parent = i, this.namespaces.get(i).classes.set(r, o);
1070
+ }
1071
+ for (const l of u) {
1072
+ const r = this.getNote(l);
1073
+ r.parent = i, this.namespaces.get(i).notes.set(l, r);
1074
+ }
1075
+ }
1076
+ }
1077
+ setCssStyle(i, a) {
1078
+ const u = this.classes.get(i);
1079
+ if (!(!a || !u))
1080
+ for (const l of a)
1081
+ l.includes(",") ? u.styles.push(...l.split(",")) : u.styles.push(l);
1082
+ }
1083
+ /**
1084
+ * Gets the arrow marker for a type index
1085
+ *
1086
+ * @param type - The type to look for
1087
+ * @returns The arrow marker
1088
+ */
1089
+ getArrowMarker(i) {
1090
+ let a;
1091
+ switch (i) {
1092
+ case 0:
1093
+ a = "aggregation";
1094
+ break;
1095
+ case 1:
1096
+ a = "extension";
1097
+ break;
1098
+ case 2:
1099
+ a = "composition";
1100
+ break;
1101
+ case 3:
1102
+ a = "dependency";
1103
+ break;
1104
+ case 4:
1105
+ a = "lollipop";
1106
+ break;
1107
+ default:
1108
+ a = "none";
1109
+ }
1110
+ return a;
1111
+ }
1112
+ getData() {
1113
+ var r;
1114
+ const i = [], a = [], u = F();
1115
+ for (const o of this.namespaces.values()) {
1116
+ const f = {
1117
+ id: o.id,
1118
+ label: o.id,
1119
+ isGroup: !0,
1120
+ padding: u.class.padding ?? 16,
1121
+ // parent node must be one of [rect, roundedWithTitle, noteGroup, divider]
1122
+ shape: "rect",
1123
+ cssStyles: [],
1124
+ look: u.look
1125
+ };
1126
+ i.push(f);
1127
+ }
1128
+ for (const o of this.classes.values()) {
1129
+ const f = {
1130
+ ...o,
1131
+ type: void 0,
1132
+ isGroup: !1,
1133
+ parentId: o.parent,
1134
+ look: u.look
1135
+ };
1136
+ i.push(f);
1137
+ }
1138
+ for (const o of this.notes.values()) {
1139
+ const f = {
1140
+ id: o.id,
1141
+ label: o.text,
1142
+ isGroup: !1,
1143
+ shape: "note",
1144
+ padding: u.class.padding ?? 6,
1145
+ cssStyles: [
1146
+ "text-align: left",
1147
+ "white-space: nowrap",
1148
+ `fill: ${u.themeVariables.noteBkgColor}`,
1149
+ `stroke: ${u.themeVariables.noteBorderColor}`
1150
+ ],
1151
+ look: u.look,
1152
+ parentId: o.parent,
1153
+ labelType: "markdown"
1154
+ };
1155
+ i.push(f);
1156
+ const C = (r = this.classes.get(o.class)) == null ? void 0 : r.id;
1157
+ if (C) {
1158
+ const k = {
1159
+ id: `edgeNote${o.index}`,
1160
+ start: o.id,
1161
+ end: C,
1162
+ type: "normal",
1163
+ thickness: "normal",
1164
+ classes: "relation",
1165
+ arrowTypeStart: "none",
1166
+ arrowTypeEnd: "none",
1167
+ arrowheadStyle: "",
1168
+ labelStyle: [""],
1169
+ style: ["fill: none"],
1170
+ pattern: "dotted",
1171
+ look: u.look
1172
+ };
1173
+ a.push(k);
1174
+ }
1175
+ }
1176
+ for (const o of this.interfaces) {
1177
+ const f = {
1178
+ id: o.id,
1179
+ label: o.label,
1180
+ isGroup: !1,
1181
+ shape: "rect",
1182
+ cssStyles: ["opacity: 0;"],
1183
+ look: u.look
1184
+ };
1185
+ i.push(f);
1186
+ }
1187
+ let l = 0;
1188
+ for (const o of this.relations) {
1189
+ l++;
1190
+ const f = {
1191
+ id: pt(o.id1, o.id2, {
1192
+ prefix: "id",
1193
+ counter: l
1194
+ }),
1195
+ start: o.id1,
1196
+ end: o.id2,
1197
+ type: "normal",
1198
+ label: o.title,
1199
+ labelpos: "c",
1200
+ thickness: "normal",
1201
+ classes: "relation",
1202
+ arrowTypeStart: this.getArrowMarker(o.relation.type1),
1203
+ arrowTypeEnd: this.getArrowMarker(o.relation.type2),
1204
+ startLabelRight: o.relationTitle1 === "none" ? "" : o.relationTitle1,
1205
+ endLabelLeft: o.relationTitle2 === "none" ? "" : o.relationTitle2,
1206
+ arrowheadStyle: "",
1207
+ labelStyle: ["display: inline-block"],
1208
+ style: o.style || "",
1209
+ pattern: o.relation.lineType == 1 ? "dashed" : "solid",
1210
+ look: u.look,
1211
+ labelType: "markdown"
1212
+ };
1213
+ a.push(f);
1214
+ }
1215
+ return { nodes: i, edges: a, other: {}, config: u, direction: this.getDirection() };
1216
+ }
1217
+ }, A(z, "ClassDB"), z), gt = /* @__PURE__ */ A((s) => `g.classGroup text {
1218
+ fill: ${s.nodeBorder || s.classText};
1219
+ stroke: none;
1220
+ font-family: ${s.fontFamily};
1221
+ font-size: 10px;
1222
+
1223
+ .title {
1224
+ font-weight: bolder;
1225
+ }
1226
+
1227
+ }
1228
+
1229
+ .cluster-label text {
1230
+ fill: ${s.titleColor};
1231
+ }
1232
+ .cluster-label span {
1233
+ color: ${s.titleColor};
1234
+ }
1235
+ .cluster-label span p {
1236
+ background-color: transparent;
1237
+ }
1238
+
1239
+ .cluster rect {
1240
+ fill: ${s.clusterBkg};
1241
+ stroke: ${s.clusterBorder};
1242
+ stroke-width: 1px;
1243
+ }
1244
+
1245
+ .cluster text {
1246
+ fill: ${s.titleColor};
1247
+ }
1248
+
1249
+ .cluster span {
1250
+ color: ${s.titleColor};
1251
+ }
1252
+
1253
+ .nodeLabel, .edgeLabel {
1254
+ color: ${s.classText};
1255
+ }
1256
+ .edgeLabel .label rect {
1257
+ fill: ${s.mainBkg};
1258
+ }
1259
+ .label text {
1260
+ fill: ${s.classText};
1261
+ }
1262
+
1263
+ .labelBkg {
1264
+ background: ${s.mainBkg};
1265
+ }
1266
+ .edgeLabel .label span {
1267
+ background: ${s.mainBkg};
1268
+ }
1269
+
1270
+ .classTitle {
1271
+ font-weight: bolder;
1272
+ }
1273
+ .node rect,
1274
+ .node circle,
1275
+ .node ellipse,
1276
+ .node polygon,
1277
+ .node path {
1278
+ fill: ${s.mainBkg};
1279
+ stroke: ${s.nodeBorder};
1280
+ stroke-width: 1px;
1281
+ }
1282
+
1283
+
1284
+ .divider {
1285
+ stroke: ${s.nodeBorder};
1286
+ stroke-width: 1;
1287
+ }
1288
+
1289
+ g.clickable {
1290
+ cursor: pointer;
1291
+ }
1292
+
1293
+ g.classGroup rect {
1294
+ fill: ${s.mainBkg};
1295
+ stroke: ${s.nodeBorder};
1296
+ }
1297
+
1298
+ g.classGroup line {
1299
+ stroke: ${s.nodeBorder};
1300
+ stroke-width: 1;
1301
+ }
1302
+
1303
+ .classLabel .box {
1304
+ stroke: none;
1305
+ stroke-width: 0;
1306
+ fill: ${s.mainBkg};
1307
+ opacity: 0.5;
1308
+ }
1309
+
1310
+ .classLabel .label {
1311
+ fill: ${s.nodeBorder};
1312
+ font-size: 10px;
1313
+ }
1314
+
1315
+ .relation {
1316
+ stroke: ${s.lineColor};
1317
+ stroke-width: 1;
1318
+ fill: none;
1319
+ }
1320
+
1321
+ .dashed-line{
1322
+ stroke-dasharray: 3;
1323
+ }
1324
+
1325
+ .dotted-line{
1326
+ stroke-dasharray: 1 2;
1327
+ }
1328
+
1329
+ #compositionStart, .composition {
1330
+ fill: ${s.lineColor} !important;
1331
+ stroke: ${s.lineColor} !important;
1332
+ stroke-width: 1;
1333
+ }
1334
+
1335
+ #compositionEnd, .composition {
1336
+ fill: ${s.lineColor} !important;
1337
+ stroke: ${s.lineColor} !important;
1338
+ stroke-width: 1;
1339
+ }
1340
+
1341
+ #dependencyStart, .dependency {
1342
+ fill: ${s.lineColor} !important;
1343
+ stroke: ${s.lineColor} !important;
1344
+ stroke-width: 1;
1345
+ }
1346
+
1347
+ #dependencyStart, .dependency {
1348
+ fill: ${s.lineColor} !important;
1349
+ stroke: ${s.lineColor} !important;
1350
+ stroke-width: 1;
1351
+ }
1352
+
1353
+ #extensionStart, .extension {
1354
+ fill: transparent !important;
1355
+ stroke: ${s.lineColor} !important;
1356
+ stroke-width: 1;
1357
+ }
1358
+
1359
+ #extensionEnd, .extension {
1360
+ fill: transparent !important;
1361
+ stroke: ${s.lineColor} !important;
1362
+ stroke-width: 1;
1363
+ }
1364
+
1365
+ #aggregationStart, .aggregation {
1366
+ fill: transparent !important;
1367
+ stroke: ${s.lineColor} !important;
1368
+ stroke-width: 1;
1369
+ }
1370
+
1371
+ #aggregationEnd, .aggregation {
1372
+ fill: transparent !important;
1373
+ stroke: ${s.lineColor} !important;
1374
+ stroke-width: 1;
1375
+ }
1376
+
1377
+ #lollipopStart, .lollipop {
1378
+ fill: ${s.mainBkg} !important;
1379
+ stroke: ${s.lineColor} !important;
1380
+ stroke-width: 1;
1381
+ }
1382
+
1383
+ #lollipopEnd, .lollipop {
1384
+ fill: ${s.mainBkg} !important;
1385
+ stroke: ${s.lineColor} !important;
1386
+ stroke-width: 1;
1387
+ }
1388
+
1389
+ .edgeTerminals {
1390
+ font-size: 11px;
1391
+ line-height: initial;
1392
+ }
1393
+
1394
+ .classTitleText {
1395
+ text-anchor: middle;
1396
+ font-size: 18px;
1397
+ fill: ${s.textColor};
1398
+ }
1399
+ ${et()}
1400
+ `, "getStyles"), St = gt, Ct = /* @__PURE__ */ A((s, i = "TB") => {
1401
+ if (!s.doc)
1402
+ return i;
1403
+ let a = i;
1404
+ for (const u of s.doc)
1405
+ u.stmt === "dir" && (a = u.value);
1406
+ return a;
1407
+ }, "getDir"), mt = /* @__PURE__ */ A(function(s, i) {
1408
+ return i.db.getClasses();
1409
+ }, "getClasses"), bt = /* @__PURE__ */ A(async function(s, i, a, u) {
1410
+ Oe.info("REF0:"), Oe.info("Drawing class diagram (v3)", i);
1411
+ const { securityLevel: l, state: r, layout: o } = F(), f = u.db.getData(), C = st(i, l);
1412
+ f.type = u.type, f.layoutAlgorithm = at(o), f.nodeSpacing = (r == null ? void 0 : r.nodeSpacing) || 50, f.rankSpacing = (r == null ? void 0 : r.rankSpacing) || 50, f.markers = ["aggregation", "extension", "composition", "dependency", "lollipop"], f.diagramId = i, await rt(f, C);
1413
+ const k = 8;
1414
+ we.insertTitle(
1415
+ C,
1416
+ "classDiagramTitleText",
1417
+ (r == null ? void 0 : r.titleTopMargin) ?? 25,
1418
+ u.db.getDiagramTitle()
1419
+ ), it(C, k, "classDiagram", (r == null ? void 0 : r.useMaxWidth) ?? !0);
1420
+ }, "draw"), Nt = {
1421
+ getClasses: mt,
1422
+ draw: bt,
1423
+ getDir: Ct
1424
+ };
1425
+ export {
1426
+ _t as C,
1427
+ Bt as a,
1428
+ Nt as c,
1429
+ St as s
1430
+ };