@kong-ui-public/documentation 0.7.83 → 0.7.84

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/_basePickBy-CMfPif8e-CmRJF0Pz.js +151 -0
  2. package/dist/_baseUniq-CXqhI00C-BfnSCqya.js +615 -0
  3. package/dist/arc-JIMrD458-iE0qPqUL.js +83 -0
  4. package/dist/architecture-I3QFYML2-Bgw7-fJd-BmHcSoDq.js +5 -0
  5. package/dist/{architectureDiagram-V6B76FHG-CMXFnETI-RxxML1uW.js → architectureDiagram-AYX4OTIS-XPsSAXrN-CriQXfFm.js} +4 -4
  6. package/dist/blockDiagram-XN6IQ5JY-IfzOVP1S-DoilgKcQ.js +2247 -0
  7. package/dist/{c4Diagram-THADGKDP-BoXI_MdM-85LhjWUD.js → c4Diagram-GPMAACGM-RttNBnvg-DemUG3qf.js} +2 -2
  8. package/dist/{channel-BlAyqTfO-DcF7shsf.js → channel-DEiqvYYf-DqQTZyIM.js} +1 -1
  9. package/dist/{chunk-OQCM5LHU-BXp7HdZf-DAxyAqhb.js → chunk-BAOP5US2-D_mPkUfX-Dlqx79Tr.js} +1 -1
  10. package/dist/chunk-CXDZ2C6O-B6QVQzrJ-CdVn1xaX.js +1301 -0
  11. package/dist/{chunk-DUMQOTYW-BvseU82P-Cv9cgfHg.js → chunk-EICJXIV7-B3uVnKYK-BPFil4EM.js} +1 -1
  12. package/dist/{chunk-2JBRQKJ5-D-tjQIH--CX9PfGSj.js → chunk-JZAHL7AJ-B8L_7Xh_-C2ETRUtV.js} +21 -21
  13. package/dist/{chunk-2RYQ3QTB-CJAPCFIj-C6EEVa0L.js → chunk-RGXPSUNZ-PjQy3A3Y-BiDEi6k5.js} +1 -1
  14. package/dist/{chunk-XVOYOM2C-DSF8EQmO-CJoKjxiE.js → chunk-VCFP4HPQ-qZEjUbIz-7kfkUrsj.js} +1 -1
  15. package/dist/classDiagram-FEGYTUDG-Bu9qKgav-DF2ZcQyp.js +14 -0
  16. package/dist/classDiagram-v2-R65JCUOM-Bu9qKgav-DF2ZcQyp.js +14 -0
  17. package/dist/{clone-BxgFQWIV-C8w0qOf5.js → clone-elND5I63-U8WRvSPu.js} +1 -1
  18. package/dist/dagre-SWNTG5WE-CcKMLYcK-tREOd3Fb.js +447 -0
  19. package/dist/{diagram-QS5GVLUX-Ck_HO8gZ-CFWjkYXj.js → diagram-NZMEDLQF-vjbbgzvH-BDFE_-Eo.js} +6 -6
  20. package/dist/documentation.es.js +1 -1
  21. package/dist/documentation.umd.js +401 -273
  22. package/dist/{erDiagram-62CBQV5Y-CaO8CQzG-DYEXkRnA.js → erDiagram-WO52GFNT-N8TeMKSM-BojFH-Dn.js} +56 -56
  23. package/dist/flowDiagram-TSWR6T2D-DzECWIN--CnDMIIi-.js +1484 -0
  24. package/dist/{ganttDiagram-ASEIQ4P5-BiIuu6iJ-DXC89NBD.js → ganttDiagram-FAOCOTIY-DmxDGUpf-BGJLIQAo.js} +61 -61
  25. package/dist/gitGraph-YCYPL57B-BKlVjqGu-BRRTPERj.js +5 -0
  26. package/dist/{gitGraphDiagram-UL5UFKDR-C4dDL1m3-pGO-Nubf.js → gitGraphDiagram-5C7YHVU6-CfJ_hQ2h-C2aLT5AH.js} +21 -21
  27. package/dist/{graph-BDwITe7N-Dg4ZhErV.js → graph-C5siWsaJ-djbzUgq8.js} +52 -55
  28. package/dist/{index-D1jNpyAG.js → index-BXFfc1qh.js} +17314 -15496
  29. package/dist/info-46DW6VJ7-QBUrqpM0-D7DXfBfh.js +5 -0
  30. package/dist/{infoDiagram-7APDZ6AT-DQAU4aEA-ZuNKK8Q1.js → infoDiagram-P5D6MX3V-CthsN8fk-ju-grajk.js} +2 -2
  31. package/dist/{journeyDiagram-G5LC7W2K-BDjs8Ede-CBVXgKDg.js → journeyDiagram-UIGPPNLY-CB1xWSVF-CnOTIXjT.js} +3 -3
  32. package/dist/kanban-definition-KMT3NSR2-B76JZ_Kx-BuaYPyou.js +718 -0
  33. package/dist/layout-mwnMvyc4-B2PmGvWD.js +1321 -0
  34. package/dist/{linear-DJf2yjqH-Qa8JBmhC.js → linear-XztDb0hj-RsuwoFLQ.js} +46 -46
  35. package/dist/{mermaid-parser.core-DKcB0zTx-Cuc2e_U9.js → mermaid-parser.core-C4mt_cFi-BuaZi6gx.js} +9 -9
  36. package/dist/{mindmap-definition-FCEC46F3-Dfona71I-BMB5v8Sw.js → mindmap-definition-R7LC4OIY-Cg3Nsctr-BcCPx65V.js} +1 -1
  37. package/dist/packet-W2GHVCYJ-BJGXYVlB-DlnQVVmK.js +5 -0
  38. package/dist/pie-BEWT4RHE-XO1bTOj2-DEYSeXSg.js +5 -0
  39. package/dist/{pieDiagram-OZX6XH5M-CVVFrPaX-C40AWUnf.js → pieDiagram-BLWKPB35-Bs5Iyn_g-CnOiPji_.js} +27 -27
  40. package/dist/{quadrantDiagram-VG34DGKC-D_n6ouG0-B7tCVKZS.js → quadrantDiagram-QXWEEFXS-n8j7IqmF-CloVXY0U.js} +16 -16
  41. package/dist/{requirementDiagram-FPZB6IJI-DgzsPnSP-BdT6rZ42.js → requirementDiagram-XAUNFCZY-DI_Pyl2h-D8hqXle2.js} +20 -20
  42. package/dist/{sankeyDiagram-KMMQDL5K-slN_anzC-C8cSA1pn.js → sankeyDiagram-LVV36NHA-Bei7yBJl-DvbyWSci.js} +1 -1
  43. package/dist/{sequenceDiagram-PQT5PN7B-DmYxtSNe-kmiDoefU.js → sequenceDiagram-D25TJ2OB-NAPdhBbI-DQR1b0UZ.js} +21 -21
  44. package/dist/{stateDiagram-TQSDS2D4-DaGylNtS-DZvK22EK.js → stateDiagram-GNSP7T6Y-Dzq9j0YG-BgVCaCOx.js} +14 -15
  45. package/dist/{stateDiagram-v2-J5TZWJW5-CkpV3aOb-CRLcbMy9.js → stateDiagram-v2-HP6YRVRG-Jl4ubGlG-BeMvcZLQ.js} +2 -3
  46. package/dist/{timeline-definition-KYQAIZUX-BbQn7lRo-DdMJtCcZ.js → timeline-definition-27KQCCZ3-Dyj-cUhB-cBpLcB_z.js} +91 -91
  47. package/dist/{xychartDiagram-LESROZAQ-C5RGN8Yc-D1Q0T8zi.js → xychartDiagram-MYLB5AYS-Bc_nZcHL-YLCG5NJT.js} +2 -2
  48. package/package.json +2 -2
  49. package/dist/_basePickBy-C3_IHxiB-Bgb-nBpw.js +0 -143
  50. package/dist/_baseUniq-Cede_3wW-BVX848YU.js +0 -622
  51. package/dist/arc-CFIMKg_S-CJkN7pL8.js +0 -83
  52. package/dist/architecture-I3QFYML2-CsfpifL5-B7ba29Kf.js +0 -5
  53. package/dist/blockDiagram-EN3ZKWFM-CyddtNyi-BO48RJ5X.js +0 -1232
  54. package/dist/chunk-BAVOGKFW-DMR4mnUx-ZqKP-ubQ.js +0 -1092
  55. package/dist/chunk-UGV5ZQQN-DJ9JPuwX-CiNn-tmJ.js +0 -254
  56. package/dist/chunk-YWFND7JV-CJxpOF0s-CKv3TLz3.js +0 -786
  57. package/dist/classDiagram-4BHYIK4I-Bh2E4V_q-Bp1df6xf.js +0 -214
  58. package/dist/classDiagram-v2-FI7KE7WJ-zeS53lAE--zqW0wuN.js +0 -545
  59. package/dist/dagre-P3YPLUS5-DvPNKrZS-BqJ7-FR_.js +0 -421
  60. package/dist/flowDiagram-JSIZSE4D-C3p20RgK-76C6C_fU.js +0 -1380
  61. package/dist/gitGraph-YCYPL57B-BXHaWu1_-L6S_Q-ER.js +0 -5
  62. package/dist/info-46DW6VJ7-gLazUuGQ-CgME-TPe.js +0 -5
  63. package/dist/json-Dg9P6BhK-CcBa4IfV.js +0 -31
  64. package/dist/layout--tn8zpzB-CFuPSG6n.js +0 -1381
  65. package/dist/packet-W2GHVCYJ-Dn1-cCwP-_7hKzD3w.js +0 -5
  66. package/dist/pie-BEWT4RHE-DvPKCMtn-CWoQ7JX6.js +0 -5
@@ -1,1092 +0,0 @@
1
- import { _ as r, ae as at, g as D, aB as ve, a5 as ot, a6 as ct, a7 as lt, a8 as ht, al as At, am as pt, ab as x, ao as dt, l as yt, an as Ve, af as U } from "./index-D1jNpyAG.js";
2
- var Pe = function() {
3
- var e = /* @__PURE__ */ r(function($, u, o, i) {
4
- for (o = o || {}, i = $.length; i--; o[$[i]] = u) ;
5
- return o;
6
- }, "o"), n = [1, 17], a = [1, 18], c = [1, 19], h = [1, 39], T = [1, 40], g = [1, 25], _ = [1, 23], N = [1, 24], de = [1, 31], ye = [1, 32], Ee = [1, 33], Ce = [1, 34], me = [1, 35], ge = [1, 36], be = [1, 26], fe = [1, 27], ke = [1, 28], Te = [1, 29], d = [1, 43], Fe = [1, 30], y = [1, 42], E = [1, 44], C = [1, 41], b = [1, 45], De = [1, 9], l = [1, 8, 9], K = [1, 56], Y = [1, 57], Q = [1, 58], j = [1, 59], X = [1, 60], Be = [1, 61], _e = [1, 62], W = [1, 8, 9, 39], ze = [1, 74], M = [1, 8, 9, 12, 13, 21, 37, 39, 42, 59, 60, 61, 62, 63, 64, 65, 70, 72], H = [1, 8, 9, 12, 13, 19, 21, 37, 39, 42, 46, 59, 60, 61, 62, 63, 64, 65, 70, 72, 74, 80, 95, 97, 98], q = [13, 74, 80, 95, 97, 98], G = [13, 64, 65, 74, 80, 95, 97, 98], Ke = [13, 59, 60, 61, 62, 63, 74, 80, 95, 97, 98], Se = [1, 93], J = [1, 110], V = [1, 108], Z = [1, 102], ee = [1, 103], te = [1, 104], se = [1, 105], ie = [1, 106], ne = [1, 107], ue = [1, 109], Ne = [1, 8, 9, 37, 39, 42], re = [1, 8, 9, 21], Ye = [1, 8, 9, 78], S = [1, 8, 9, 21, 73, 74, 78, 80, 81, 82, 83, 84, 85], $e = {
7
- trace: /* @__PURE__ */ r(function() {
8
- }, "trace"),
9
- yy: {},
10
- 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, className: 17, classLiteralName: 18, GENERICTYPE: 19, relationStatement: 20, LABEL: 21, namespaceStatement: 22, classStatement: 23, memberStatement: 24, annotationStatement: 25, clickStatement: 26, styleStatement: 27, cssClassStatement: 28, noteStatement: 29, direction: 30, acc_title: 31, acc_title_value: 32, acc_descr: 33, acc_descr_value: 34, acc_descr_multiline_value: 35, namespaceIdentifier: 36, STRUCT_START: 37, classStatements: 38, STRUCT_STOP: 39, NAMESPACE: 40, classIdentifier: 41, STYLE_SEPARATOR: 42, members: 43, CLASS: 44, ANNOTATION_START: 45, ANNOTATION_END: 46, MEMBER: 47, SEPARATOR: 48, relation: 49, NOTE_FOR: 50, noteText: 51, NOTE: 52, direction_tb: 53, direction_bt: 54, direction_rl: 55, direction_lr: 56, relationType: 57, lineType: 58, AGGREGATION: 59, EXTENSION: 60, COMPOSITION: 61, DEPENDENCY: 62, LOLLIPOP: 63, LINE: 64, DOTTED_LINE: 65, CALLBACK: 66, LINK: 67, LINK_TARGET: 68, CLICK: 69, CALLBACK_NAME: 70, CALLBACK_ARGS: 71, HREF: 72, STYLE: 73, ALPHA: 74, stylesOpt: 75, CSSCLASS: 76, style: 77, COMMA: 78, styleComponent: 79, NUM: 80, COLON: 81, UNIT: 82, SPACE: 83, BRKT: 84, PCT: 85, commentToken: 86, textToken: 87, graphCodeTokens: 88, textNoTagsToken: 89, TAGSTART: 90, TAGEND: 91, "==": 92, "--": 93, DEFAULT: 94, MINUS: 95, keywords: 96, UNICODE_TEXT: 97, BQUOTE_STR: 98, $accept: 0, $end: 1 },
11
- terminals_: { 2: "error", 7: "CLASS_DIAGRAM", 8: "NEWLINE", 9: "EOF", 12: "SQS", 13: "STR", 14: "SQE", 19: "GENERICTYPE", 21: "LABEL", 31: "acc_title", 32: "acc_title_value", 33: "acc_descr", 34: "acc_descr_value", 35: "acc_descr_multiline_value", 37: "STRUCT_START", 39: "STRUCT_STOP", 40: "NAMESPACE", 42: "STYLE_SEPARATOR", 44: "CLASS", 45: "ANNOTATION_START", 46: "ANNOTATION_END", 47: "MEMBER", 48: "SEPARATOR", 50: "NOTE_FOR", 52: "NOTE", 53: "direction_tb", 54: "direction_bt", 55: "direction_rl", 56: "direction_lr", 59: "AGGREGATION", 60: "EXTENSION", 61: "COMPOSITION", 62: "DEPENDENCY", 63: "LOLLIPOP", 64: "LINE", 65: "DOTTED_LINE", 66: "CALLBACK", 67: "LINK", 68: "LINK_TARGET", 69: "CLICK", 70: "CALLBACK_NAME", 71: "CALLBACK_ARGS", 72: "HREF", 73: "STYLE", 74: "ALPHA", 76: "CSSCLASS", 78: "COMMA", 80: "NUM", 81: "COLON", 82: "UNIT", 83: "SPACE", 84: "BRKT", 85: "PCT", 88: "graphCodeTokens", 90: "TAGSTART", 91: "TAGEND", 92: "==", 93: "--", 94: "DEFAULT", 95: "MINUS", 96: "keywords", 97: "UNICODE_TEXT", 98: "BQUOTE_STR" },
12
- productions_: [0, [3, 1], [3, 1], [4, 1], [6, 4], [5, 1], [5, 2], [5, 3], [11, 3], [15, 1], [15, 2], [17, 1], [17, 1], [17, 2], [17, 2], [17, 2], [10, 1], [10, 2], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 2], [10, 2], [10, 1], [22, 4], [22, 5], [36, 2], [38, 1], [38, 2], [38, 3], [23, 1], [23, 3], [23, 4], [23, 6], [41, 2], [41, 3], [25, 4], [43, 1], [43, 2], [24, 1], [24, 2], [24, 1], [24, 1], [20, 3], [20, 4], [20, 4], [20, 5], [29, 3], [29, 2], [30, 1], [30, 1], [30, 1], [30, 1], [49, 3], [49, 2], [49, 2], [49, 1], [57, 1], [57, 1], [57, 1], [57, 1], [57, 1], [58, 1], [58, 1], [26, 3], [26, 4], [26, 3], [26, 4], [26, 4], [26, 5], [26, 3], [26, 4], [26, 4], [26, 5], [26, 4], [26, 5], [26, 5], [26, 6], [27, 3], [28, 3], [75, 1], [75, 3], [77, 1], [77, 2], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [86, 1], [86, 1], [87, 1], [87, 1], [87, 1], [87, 1], [87, 1], [87, 1], [87, 1], [89, 1], [89, 1], [89, 1], [89, 1], [16, 1], [16, 1], [16, 1], [16, 1], [18, 1], [51, 1]],
13
- performAction: /* @__PURE__ */ r(function($, u, o, i, A, t, f) {
14
- var s = t.length - 1;
15
- switch (A) {
16
- case 8:
17
- this.$ = t[s - 1];
18
- break;
19
- case 9:
20
- case 11:
21
- case 12:
22
- this.$ = t[s];
23
- break;
24
- case 10:
25
- case 13:
26
- this.$ = t[s - 1] + t[s];
27
- break;
28
- case 14:
29
- case 15:
30
- this.$ = t[s - 1] + "~" + t[s] + "~";
31
- break;
32
- case 16:
33
- i.addRelation(t[s]);
34
- break;
35
- case 17:
36
- t[s - 1].title = i.cleanupLabel(t[s]), i.addRelation(t[s - 1]);
37
- break;
38
- case 27:
39
- this.$ = t[s].trim(), i.setAccTitle(this.$);
40
- break;
41
- case 28:
42
- case 29:
43
- this.$ = t[s].trim(), i.setAccDescription(this.$);
44
- break;
45
- case 30:
46
- i.addClassesToNamespace(t[s - 3], t[s - 1]);
47
- break;
48
- case 31:
49
- i.addClassesToNamespace(t[s - 4], t[s - 1]);
50
- break;
51
- case 32:
52
- this.$ = t[s], i.addNamespace(t[s]);
53
- break;
54
- case 33:
55
- this.$ = [t[s]];
56
- break;
57
- case 34:
58
- this.$ = [t[s - 1]];
59
- break;
60
- case 35:
61
- t[s].unshift(t[s - 2]), this.$ = t[s];
62
- break;
63
- case 37:
64
- i.setCssClass(t[s - 2], t[s]);
65
- break;
66
- case 38:
67
- i.addMembers(t[s - 3], t[s - 1]);
68
- break;
69
- case 39:
70
- i.setCssClass(t[s - 5], t[s - 3]), i.addMembers(t[s - 5], t[s - 1]);
71
- break;
72
- case 40:
73
- this.$ = t[s], i.addClass(t[s]);
74
- break;
75
- case 41:
76
- this.$ = t[s - 1], i.addClass(t[s - 1]), i.setClassLabel(t[s - 1], t[s]);
77
- break;
78
- case 42:
79
- i.addAnnotation(t[s], t[s - 2]);
80
- break;
81
- case 43:
82
- this.$ = [t[s]];
83
- break;
84
- case 44:
85
- t[s].push(t[s - 1]), this.$ = t[s];
86
- break;
87
- case 45:
88
- break;
89
- case 46:
90
- i.addMember(t[s - 1], i.cleanupLabel(t[s]));
91
- break;
92
- case 47:
93
- break;
94
- case 48:
95
- break;
96
- case 49:
97
- this.$ = { id1: t[s - 2], id2: t[s], relation: t[s - 1], relationTitle1: "none", relationTitle2: "none" };
98
- break;
99
- case 50:
100
- this.$ = { id1: t[s - 3], id2: t[s], relation: t[s - 1], relationTitle1: t[s - 2], relationTitle2: "none" };
101
- break;
102
- case 51:
103
- this.$ = { id1: t[s - 3], id2: t[s], relation: t[s - 2], relationTitle1: "none", relationTitle2: t[s - 1] };
104
- break;
105
- case 52:
106
- this.$ = { id1: t[s - 4], id2: t[s], relation: t[s - 2], relationTitle1: t[s - 3], relationTitle2: t[s - 1] };
107
- break;
108
- case 53:
109
- i.addNote(t[s], t[s - 1]);
110
- break;
111
- case 54:
112
- i.addNote(t[s]);
113
- break;
114
- case 55:
115
- i.setDirection("TB");
116
- break;
117
- case 56:
118
- i.setDirection("BT");
119
- break;
120
- case 57:
121
- i.setDirection("RL");
122
- break;
123
- case 58:
124
- i.setDirection("LR");
125
- break;
126
- case 59:
127
- this.$ = { type1: t[s - 2], type2: t[s], lineType: t[s - 1] };
128
- break;
129
- case 60:
130
- this.$ = { type1: "none", type2: t[s], lineType: t[s - 1] };
131
- break;
132
- case 61:
133
- this.$ = { type1: t[s - 1], type2: "none", lineType: t[s] };
134
- break;
135
- case 62:
136
- this.$ = { type1: "none", type2: "none", lineType: t[s] };
137
- break;
138
- case 63:
139
- this.$ = i.relationType.AGGREGATION;
140
- break;
141
- case 64:
142
- this.$ = i.relationType.EXTENSION;
143
- break;
144
- case 65:
145
- this.$ = i.relationType.COMPOSITION;
146
- break;
147
- case 66:
148
- this.$ = i.relationType.DEPENDENCY;
149
- break;
150
- case 67:
151
- this.$ = i.relationType.LOLLIPOP;
152
- break;
153
- case 68:
154
- this.$ = i.lineType.LINE;
155
- break;
156
- case 69:
157
- this.$ = i.lineType.DOTTED_LINE;
158
- break;
159
- case 70:
160
- case 76:
161
- this.$ = t[s - 2], i.setClickEvent(t[s - 1], t[s]);
162
- break;
163
- case 71:
164
- case 77:
165
- this.$ = t[s - 3], i.setClickEvent(t[s - 2], t[s - 1]), i.setTooltip(t[s - 2], t[s]);
166
- break;
167
- case 72:
168
- this.$ = t[s - 2], i.setLink(t[s - 1], t[s]);
169
- break;
170
- case 73:
171
- this.$ = t[s - 3], i.setLink(t[s - 2], t[s - 1], t[s]);
172
- break;
173
- case 74:
174
- this.$ = t[s - 3], i.setLink(t[s - 2], t[s - 1]), i.setTooltip(t[s - 2], t[s]);
175
- break;
176
- case 75:
177
- this.$ = t[s - 4], i.setLink(t[s - 3], t[s - 2], t[s]), i.setTooltip(t[s - 3], t[s - 1]);
178
- break;
179
- case 78:
180
- this.$ = t[s - 3], i.setClickEvent(t[s - 2], t[s - 1], t[s]);
181
- break;
182
- case 79:
183
- this.$ = t[s - 4], i.setClickEvent(t[s - 3], t[s - 2], t[s - 1]), i.setTooltip(t[s - 3], t[s]);
184
- break;
185
- case 80:
186
- this.$ = t[s - 3], i.setLink(t[s - 2], t[s]);
187
- break;
188
- case 81:
189
- this.$ = t[s - 4], i.setLink(t[s - 3], t[s - 1], t[s]);
190
- break;
191
- case 82:
192
- this.$ = t[s - 4], i.setLink(t[s - 3], t[s - 1]), i.setTooltip(t[s - 3], t[s]);
193
- break;
194
- case 83:
195
- this.$ = t[s - 5], i.setLink(t[s - 4], t[s - 2], t[s]), i.setTooltip(t[s - 4], t[s - 1]);
196
- break;
197
- case 84:
198
- this.$ = t[s - 2], i.setCssStyle(t[s - 1], t[s]);
199
- break;
200
- case 85:
201
- i.setCssClass(t[s - 1], t[s]);
202
- break;
203
- case 86:
204
- this.$ = [t[s]];
205
- break;
206
- case 87:
207
- t[s - 2].push(t[s]), this.$ = t[s - 2];
208
- break;
209
- case 89:
210
- this.$ = t[s - 1] + t[s];
211
- break;
212
- }
213
- }, "anonymous"),
214
- table: [{ 3: 1, 4: 2, 5: 3, 6: 4, 7: [1, 6], 10: 5, 16: 37, 17: 20, 18: 38, 20: 7, 22: 8, 23: 9, 24: 10, 25: 11, 26: 12, 27: 13, 28: 14, 29: 15, 30: 16, 31: n, 33: a, 35: c, 36: 21, 40: h, 41: 22, 44: T, 45: g, 47: _, 48: N, 50: de, 52: ye, 53: Ee, 54: Ce, 55: me, 56: ge, 66: be, 67: fe, 69: ke, 73: Te, 74: d, 76: Fe, 80: y, 95: E, 97: C, 98: b }, { 1: [3] }, { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3] }, e(De, [2, 5], { 8: [1, 46] }), { 8: [1, 47] }, e(l, [2, 16], { 21: [1, 48] }), e(l, [2, 18]), e(l, [2, 19]), e(l, [2, 20]), e(l, [2, 21]), e(l, [2, 22]), e(l, [2, 23]), e(l, [2, 24]), e(l, [2, 25]), e(l, [2, 26]), { 32: [1, 49] }, { 34: [1, 50] }, e(l, [2, 29]), e(l, [2, 45], { 49: 51, 57: 54, 58: 55, 13: [1, 52], 21: [1, 53], 59: K, 60: Y, 61: Q, 62: j, 63: X, 64: Be, 65: _e }), { 37: [1, 63] }, e(W, [2, 36], { 37: [1, 65], 42: [1, 64] }), e(l, [2, 47]), e(l, [2, 48]), { 16: 66, 74: d, 80: y, 95: E, 97: C }, { 16: 37, 17: 67, 18: 38, 74: d, 80: y, 95: E, 97: C, 98: b }, { 16: 37, 17: 68, 18: 38, 74: d, 80: y, 95: E, 97: C, 98: b }, { 16: 37, 17: 69, 18: 38, 74: d, 80: y, 95: E, 97: C, 98: b }, { 74: [1, 70] }, { 13: [1, 71] }, { 16: 37, 17: 72, 18: 38, 74: d, 80: y, 95: E, 97: C, 98: b }, { 13: ze, 51: 73 }, e(l, [2, 55]), e(l, [2, 56]), e(l, [2, 57]), e(l, [2, 58]), e(M, [2, 11], { 16: 37, 18: 38, 17: 75, 19: [1, 76], 74: d, 80: y, 95: E, 97: C, 98: b }), e(M, [2, 12], { 19: [1, 77] }), { 15: 78, 16: 79, 74: d, 80: y, 95: E, 97: C }, { 16: 37, 17: 80, 18: 38, 74: d, 80: y, 95: E, 97: C, 98: b }, e(H, [2, 112]), e(H, [2, 113]), e(H, [2, 114]), e(H, [2, 115]), e([1, 8, 9, 12, 13, 19, 21, 37, 39, 42, 59, 60, 61, 62, 63, 64, 65, 70, 72], [2, 116]), e(De, [2, 6], { 10: 5, 20: 7, 22: 8, 23: 9, 24: 10, 25: 11, 26: 12, 27: 13, 28: 14, 29: 15, 30: 16, 17: 20, 36: 21, 41: 22, 16: 37, 18: 38, 5: 81, 31: n, 33: a, 35: c, 40: h, 44: T, 45: g, 47: _, 48: N, 50: de, 52: ye, 53: Ee, 54: Ce, 55: me, 56: ge, 66: be, 67: fe, 69: ke, 73: Te, 74: d, 76: Fe, 80: y, 95: E, 97: C, 98: b }), { 5: 82, 10: 5, 16: 37, 17: 20, 18: 38, 20: 7, 22: 8, 23: 9, 24: 10, 25: 11, 26: 12, 27: 13, 28: 14, 29: 15, 30: 16, 31: n, 33: a, 35: c, 36: 21, 40: h, 41: 22, 44: T, 45: g, 47: _, 48: N, 50: de, 52: ye, 53: Ee, 54: Ce, 55: me, 56: ge, 66: be, 67: fe, 69: ke, 73: Te, 74: d, 76: Fe, 80: y, 95: E, 97: C, 98: b }, e(l, [2, 17]), e(l, [2, 27]), e(l, [2, 28]), { 13: [1, 84], 16: 37, 17: 83, 18: 38, 74: d, 80: y, 95: E, 97: C, 98: b }, { 49: 85, 57: 54, 58: 55, 59: K, 60: Y, 61: Q, 62: j, 63: X, 64: Be, 65: _e }, e(l, [2, 46]), { 58: 86, 64: Be, 65: _e }, e(q, [2, 62], { 57: 87, 59: K, 60: Y, 61: Q, 62: j, 63: X }), e(G, [2, 63]), e(G, [2, 64]), e(G, [2, 65]), e(G, [2, 66]), e(G, [2, 67]), e(Ke, [2, 68]), e(Ke, [2, 69]), { 8: [1, 89], 23: 90, 38: 88, 41: 22, 44: T }, { 16: 91, 74: d, 80: y, 95: E, 97: C }, { 43: 92, 47: Se }, { 46: [1, 94] }, { 13: [1, 95] }, { 13: [1, 96] }, { 70: [1, 97], 72: [1, 98] }, { 21: J, 73: V, 74: Z, 75: 99, 77: 100, 79: 101, 80: ee, 81: te, 82: se, 83: ie, 84: ne, 85: ue }, { 74: [1, 111] }, { 13: ze, 51: 112 }, e(l, [2, 54]), e(l, [2, 117]), e(M, [2, 13]), e(M, [2, 14]), e(M, [2, 15]), { 37: [2, 32] }, { 15: 113, 16: 79, 37: [2, 9], 74: d, 80: y, 95: E, 97: C }, e(Ne, [2, 40], { 11: 114, 12: [1, 115] }), e(De, [2, 7]), { 9: [1, 116] }, e(re, [2, 49]), { 16: 37, 17: 117, 18: 38, 74: d, 80: y, 95: E, 97: C, 98: b }, { 13: [1, 119], 16: 37, 17: 118, 18: 38, 74: d, 80: y, 95: E, 97: C, 98: b }, e(q, [2, 61], { 57: 120, 59: K, 60: Y, 61: Q, 62: j, 63: X }), e(q, [2, 60]), { 39: [1, 121] }, { 23: 90, 38: 122, 41: 22, 44: T }, { 8: [1, 123], 39: [2, 33] }, e(W, [2, 37], { 37: [1, 124] }), { 39: [1, 125] }, { 39: [2, 43], 43: 126, 47: Se }, { 16: 37, 17: 127, 18: 38, 74: d, 80: y, 95: E, 97: C, 98: b }, e(l, [2, 70], { 13: [1, 128] }), e(l, [2, 72], { 13: [1, 130], 68: [1, 129] }), e(l, [2, 76], { 13: [1, 131], 71: [1, 132] }), { 13: [1, 133] }, e(l, [2, 84], { 78: [1, 134] }), e(Ye, [2, 86], { 79: 135, 21: J, 73: V, 74: Z, 80: ee, 81: te, 82: se, 83: ie, 84: ne, 85: ue }), e(S, [2, 88]), e(S, [2, 90]), e(S, [2, 91]), e(S, [2, 92]), e(S, [2, 93]), e(S, [2, 94]), e(S, [2, 95]), e(S, [2, 96]), e(S, [2, 97]), e(S, [2, 98]), e(l, [2, 85]), e(l, [2, 53]), { 37: [2, 10] }, e(Ne, [2, 41]), { 13: [1, 136] }, { 1: [2, 4] }, e(re, [2, 51]), e(re, [2, 50]), { 16: 37, 17: 137, 18: 38, 74: d, 80: y, 95: E, 97: C, 98: b }, e(q, [2, 59]), e(l, [2, 30]), { 39: [1, 138] }, { 23: 90, 38: 139, 39: [2, 34], 41: 22, 44: T }, { 43: 140, 47: Se }, e(W, [2, 38]), { 39: [2, 44] }, e(l, [2, 42]), e(l, [2, 71]), e(l, [2, 73]), e(l, [2, 74], { 68: [1, 141] }), e(l, [2, 77]), e(l, [2, 78], { 13: [1, 142] }), e(l, [2, 80], { 13: [1, 144], 68: [1, 143] }), { 21: J, 73: V, 74: Z, 77: 145, 79: 101, 80: ee, 81: te, 82: se, 83: ie, 84: ne, 85: ue }, e(S, [2, 89]), { 14: [1, 146] }, e(re, [2, 52]), e(l, [2, 31]), { 39: [2, 35] }, { 39: [1, 147] }, e(l, [2, 75]), e(l, [2, 79]), e(l, [2, 81]), e(l, [2, 82], { 68: [1, 148] }), e(Ye, [2, 87], { 79: 135, 21: J, 73: V, 74: Z, 80: ee, 81: te, 82: se, 83: ie, 84: ne, 85: ue }), e(Ne, [2, 8]), e(W, [2, 39]), e(l, [2, 83])],
215
- defaultActions: { 2: [2, 1], 3: [2, 2], 4: [2, 3], 78: [2, 32], 113: [2, 10], 116: [2, 4], 126: [2, 44], 139: [2, 35] },
216
- parseError: /* @__PURE__ */ r(function($, u) {
217
- if (u.recoverable)
218
- this.trace($);
219
- else {
220
- var o = new Error($);
221
- throw o.hash = u, o;
222
- }
223
- }, "parseError"),
224
- parse: /* @__PURE__ */ r(function($) {
225
- var u = this, o = [0], i = [], A = [null], t = [], f = this.table, s = "", oe = 0, Qe = 0, it = 2, je = 1, nt = t.slice.call(arguments, 1), m = Object.create(this.lexer), O = { yy: {} };
226
- for (var Le in this.yy)
227
- Object.prototype.hasOwnProperty.call(this.yy, Le) && (O.yy[Le] = this.yy[Le]);
228
- m.setInput($, O.yy), O.yy.lexer = m, O.yy.parser = this, typeof m.yylloc > "u" && (m.yylloc = {});
229
- var xe = m.yylloc;
230
- t.push(xe);
231
- var ut = m.options && m.options.ranges;
232
- typeof O.yy.parseError == "function" ? this.parseError = O.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
233
- function rt(F) {
234
- o.length = o.length - 2 * F, A.length = A.length - F, t.length = t.length - F;
235
- }
236
- r(rt, "popStack");
237
- function Xe() {
238
- var F;
239
- return F = i.pop() || m.lex() || je, typeof F != "number" && (F instanceof Array && (i = F, F = i.pop()), F = u.symbols_[F] || F), F;
240
- }
241
- r(Xe, "lex");
242
- for (var k, v, B, Ie, w = {}, ce, L, We, le; ; ) {
243
- if (v = o[o.length - 1], this.defaultActions[v] ? B = this.defaultActions[v] : ((k === null || typeof k > "u") && (k = Xe()), B = f[v] && f[v][k]), typeof B > "u" || !B.length || !B[0]) {
244
- var Oe = "";
245
- le = [];
246
- for (ce in f[v])
247
- this.terminals_[ce] && ce > it && le.push("'" + this.terminals_[ce] + "'");
248
- m.showPosition ? Oe = "Parse error on line " + (oe + 1) + `:
249
- ` + m.showPosition() + `
250
- Expecting ` + le.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : Oe = "Parse error on line " + (oe + 1) + ": Unexpected " + (k == je ? "end of input" : "'" + (this.terminals_[k] || k) + "'"), this.parseError(Oe, {
251
- text: m.match,
252
- token: this.terminals_[k] || k,
253
- line: m.yylineno,
254
- loc: xe,
255
- expected: le
256
- });
257
- }
258
- if (B[0] instanceof Array && B.length > 1)
259
- throw new Error("Parse Error: multiple actions possible at state: " + v + ", token: " + k);
260
- switch (B[0]) {
261
- case 1:
262
- o.push(k), A.push(m.yytext), t.push(m.yylloc), o.push(B[1]), k = null, Qe = m.yyleng, s = m.yytext, oe = m.yylineno, xe = m.yylloc;
263
- break;
264
- case 2:
265
- if (L = this.productions_[B[1]][1], w.$ = A[A.length - L], w._$ = {
266
- first_line: t[t.length - (L || 1)].first_line,
267
- last_line: t[t.length - 1].last_line,
268
- first_column: t[t.length - (L || 1)].first_column,
269
- last_column: t[t.length - 1].last_column
270
- }, ut && (w._$.range = [
271
- t[t.length - (L || 1)].range[0],
272
- t[t.length - 1].range[1]
273
- ]), Ie = this.performAction.apply(w, [
274
- s,
275
- Qe,
276
- oe,
277
- O.yy,
278
- B[1],
279
- A,
280
- t
281
- ].concat(nt)), typeof Ie < "u")
282
- return Ie;
283
- L && (o = o.slice(0, -1 * L * 2), A = A.slice(0, -1 * L), t = t.slice(0, -1 * L)), o.push(this.productions_[B[1]][0]), A.push(w.$), t.push(w._$), We = f[o[o.length - 2]][o[o.length - 1]], o.push(We);
284
- break;
285
- case 3:
286
- return !0;
287
- }
288
- }
289
- return !0;
290
- }, "parse")
291
- }, st = /* @__PURE__ */ function() {
292
- var $ = {
293
- EOF: 1,
294
- parseError: /* @__PURE__ */ r(function(u, o) {
295
- if (this.yy.parser)
296
- this.yy.parser.parseError(u, o);
297
- else
298
- throw new Error(u);
299
- }, "parseError"),
300
- // resets the lexer, sets new input
301
- setInput: /* @__PURE__ */ r(function(u, o) {
302
- return this.yy = o || this.yy || {}, this._input = u, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
303
- first_line: 1,
304
- first_column: 0,
305
- last_line: 1,
306
- last_column: 0
307
- }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
308
- }, "setInput"),
309
- // consumes and returns one char from the input
310
- input: /* @__PURE__ */ r(function() {
311
- var u = this._input[0];
312
- this.yytext += u, this.yyleng++, this.offset++, this.match += u, this.matched += u;
313
- var o = u.match(/(?:\r\n?|\n).*/g);
314
- return o ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), u;
315
- }, "input"),
316
- // unshifts one char (or a string) into the input
317
- unput: /* @__PURE__ */ r(function(u) {
318
- var o = u.length, i = u.split(/(?:\r\n?|\n)/g);
319
- this._input = u + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - o), this.offset -= o;
320
- var A = this.match.split(/(?:\r\n?|\n)/g);
321
- this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), i.length - 1 && (this.yylineno -= i.length - 1);
322
- var t = this.yylloc.range;
323
- return this.yylloc = {
324
- first_line: this.yylloc.first_line,
325
- last_line: this.yylineno + 1,
326
- first_column: this.yylloc.first_column,
327
- last_column: i ? (i.length === A.length ? this.yylloc.first_column : 0) + A[A.length - i.length].length - i[0].length : this.yylloc.first_column - o
328
- }, this.options.ranges && (this.yylloc.range = [t[0], t[0] + this.yyleng - o]), this.yyleng = this.yytext.length, this;
329
- }, "unput"),
330
- // When called from action, caches matched text and appends it on next action
331
- more: /* @__PURE__ */ r(function() {
332
- return this._more = !0, this;
333
- }, "more"),
334
- // 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.
335
- reject: /* @__PURE__ */ r(function() {
336
- if (this.options.backtrack_lexer)
337
- this._backtrack = !0;
338
- else
339
- 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).
340
- ` + this.showPosition(), {
341
- text: "",
342
- token: null,
343
- line: this.yylineno
344
- });
345
- return this;
346
- }, "reject"),
347
- // retain first n characters of the match
348
- less: /* @__PURE__ */ r(function(u) {
349
- this.unput(this.match.slice(u));
350
- }, "less"),
351
- // displays already matched input, i.e. for error messages
352
- pastInput: /* @__PURE__ */ r(function() {
353
- var u = this.matched.substr(0, this.matched.length - this.match.length);
354
- return (u.length > 20 ? "..." : "") + u.substr(-20).replace(/\n/g, "");
355
- }, "pastInput"),
356
- // displays upcoming input, i.e. for error messages
357
- upcomingInput: /* @__PURE__ */ r(function() {
358
- var u = this.match;
359
- return u.length < 20 && (u += this._input.substr(0, 20 - u.length)), (u.substr(0, 20) + (u.length > 20 ? "..." : "")).replace(/\n/g, "");
360
- }, "upcomingInput"),
361
- // displays the character position where the lexing error occurred, i.e. for error messages
362
- showPosition: /* @__PURE__ */ r(function() {
363
- var u = this.pastInput(), o = new Array(u.length + 1).join("-");
364
- return u + this.upcomingInput() + `
365
- ` + o + "^";
366
- }, "showPosition"),
367
- // test the lexed token: return FALSE when not a match, otherwise return token
368
- test_match: /* @__PURE__ */ r(function(u, o) {
369
- var i, A, t;
370
- if (this.options.backtrack_lexer && (t = {
371
- yylineno: this.yylineno,
372
- yylloc: {
373
- first_line: this.yylloc.first_line,
374
- last_line: this.last_line,
375
- first_column: this.yylloc.first_column,
376
- last_column: this.yylloc.last_column
377
- },
378
- yytext: this.yytext,
379
- match: this.match,
380
- matches: this.matches,
381
- matched: this.matched,
382
- yyleng: this.yyleng,
383
- offset: this.offset,
384
- _more: this._more,
385
- _input: this._input,
386
- yy: this.yy,
387
- conditionStack: this.conditionStack.slice(0),
388
- done: this.done
389
- }, this.options.ranges && (t.yylloc.range = this.yylloc.range.slice(0))), A = u[0].match(/(?:\r\n?|\n).*/g), A && (this.yylineno += A.length), this.yylloc = {
390
- first_line: this.yylloc.last_line,
391
- last_line: this.yylineno + 1,
392
- first_column: this.yylloc.last_column,
393
- last_column: A ? A[A.length - 1].length - A[A.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + u[0].length
394
- }, this.yytext += u[0], this.match += u[0], this.matches = u, 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(u[0].length), this.matched += u[0], i = this.performAction.call(this, this.yy, this, o, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), i)
395
- return i;
396
- if (this._backtrack) {
397
- for (var f in t)
398
- this[f] = t[f];
399
- return !1;
400
- }
401
- return !1;
402
- }, "test_match"),
403
- // return next match in input
404
- next: /* @__PURE__ */ r(function() {
405
- if (this.done)
406
- return this.EOF;
407
- this._input || (this.done = !0);
408
- var u, o, i, A;
409
- this._more || (this.yytext = "", this.match = "");
410
- for (var t = this._currentRules(), f = 0; f < t.length; f++)
411
- if (i = this._input.match(this.rules[t[f]]), i && (!o || i[0].length > o[0].length)) {
412
- if (o = i, A = f, this.options.backtrack_lexer) {
413
- if (u = this.test_match(i, t[f]), u !== !1)
414
- return u;
415
- if (this._backtrack) {
416
- o = !1;
417
- continue;
418
- } else
419
- return !1;
420
- } else if (!this.options.flex)
421
- break;
422
- }
423
- return o ? (u = this.test_match(o, t[A]), u !== !1 ? u : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
424
- ` + this.showPosition(), {
425
- text: "",
426
- token: null,
427
- line: this.yylineno
428
- });
429
- }, "next"),
430
- // return next match that has a token
431
- lex: /* @__PURE__ */ r(function() {
432
- var u = this.next();
433
- return u || this.lex();
434
- }, "lex"),
435
- // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
436
- begin: /* @__PURE__ */ r(function(u) {
437
- this.conditionStack.push(u);
438
- }, "begin"),
439
- // pop the previously active lexer condition state off the condition stack
440
- popState: /* @__PURE__ */ r(function() {
441
- var u = this.conditionStack.length - 1;
442
- return u > 0 ? this.conditionStack.pop() : this.conditionStack[0];
443
- }, "popState"),
444
- // produce the lexer rule set which is active for the currently active lexer condition state
445
- _currentRules: /* @__PURE__ */ r(function() {
446
- return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
447
- }, "_currentRules"),
448
- // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
449
- topState: /* @__PURE__ */ r(function(u) {
450
- return u = this.conditionStack.length - 1 - Math.abs(u || 0), u >= 0 ? this.conditionStack[u] : "INITIAL";
451
- }, "topState"),
452
- // alias for begin(condition)
453
- pushState: /* @__PURE__ */ r(function(u) {
454
- this.begin(u);
455
- }, "pushState"),
456
- // return the number of states currently on the stack
457
- stateStackSize: /* @__PURE__ */ r(function() {
458
- return this.conditionStack.length;
459
- }, "stateStackSize"),
460
- options: {},
461
- performAction: /* @__PURE__ */ r(function(u, o, i, A) {
462
- switch (i) {
463
- case 0:
464
- return 53;
465
- case 1:
466
- return 54;
467
- case 2:
468
- return 55;
469
- case 3:
470
- return 56;
471
- case 4:
472
- break;
473
- case 5:
474
- break;
475
- case 6:
476
- return this.begin("acc_title"), 31;
477
- case 7:
478
- return this.popState(), "acc_title_value";
479
- case 8:
480
- return this.begin("acc_descr"), 33;
481
- case 9:
482
- return this.popState(), "acc_descr_value";
483
- case 10:
484
- this.begin("acc_descr_multiline");
485
- break;
486
- case 11:
487
- this.popState();
488
- break;
489
- case 12:
490
- return "acc_descr_multiline_value";
491
- case 13:
492
- return 8;
493
- case 14:
494
- break;
495
- case 15:
496
- return 7;
497
- case 16:
498
- return 7;
499
- case 17:
500
- return "EDGE_STATE";
501
- case 18:
502
- this.begin("callback_name");
503
- break;
504
- case 19:
505
- this.popState();
506
- break;
507
- case 20:
508
- this.popState(), this.begin("callback_args");
509
- break;
510
- case 21:
511
- return 70;
512
- case 22:
513
- this.popState();
514
- break;
515
- case 23:
516
- return 71;
517
- case 24:
518
- this.popState();
519
- break;
520
- case 25:
521
- return "STR";
522
- case 26:
523
- this.begin("string");
524
- break;
525
- case 27:
526
- return 73;
527
- case 28:
528
- return this.begin("namespace"), 40;
529
- case 29:
530
- return this.popState(), 8;
531
- case 30:
532
- break;
533
- case 31:
534
- return this.begin("namespace-body"), 37;
535
- case 32:
536
- return this.popState(), 39;
537
- case 33:
538
- return "EOF_IN_STRUCT";
539
- case 34:
540
- return 8;
541
- case 35:
542
- break;
543
- case 36:
544
- return "EDGE_STATE";
545
- case 37:
546
- return this.begin("class"), 44;
547
- case 38:
548
- return this.popState(), 8;
549
- case 39:
550
- break;
551
- case 40:
552
- return this.popState(), this.popState(), 39;
553
- case 41:
554
- return this.begin("class-body"), 37;
555
- case 42:
556
- return this.popState(), 39;
557
- case 43:
558
- return "EOF_IN_STRUCT";
559
- case 44:
560
- return "EDGE_STATE";
561
- case 45:
562
- return "OPEN_IN_STRUCT";
563
- case 46:
564
- break;
565
- case 47:
566
- return "MEMBER";
567
- case 48:
568
- return 76;
569
- case 49:
570
- return 66;
571
- case 50:
572
- return 67;
573
- case 51:
574
- return 69;
575
- case 52:
576
- return 50;
577
- case 53:
578
- return 52;
579
- case 54:
580
- return 45;
581
- case 55:
582
- return 46;
583
- case 56:
584
- return 72;
585
- case 57:
586
- this.popState();
587
- break;
588
- case 58:
589
- return "GENERICTYPE";
590
- case 59:
591
- this.begin("generic");
592
- break;
593
- case 60:
594
- this.popState();
595
- break;
596
- case 61:
597
- return "BQUOTE_STR";
598
- case 62:
599
- this.begin("bqstring");
600
- break;
601
- case 63:
602
- return 68;
603
- case 64:
604
- return 68;
605
- case 65:
606
- return 68;
607
- case 66:
608
- return 68;
609
- case 67:
610
- return 60;
611
- case 68:
612
- return 60;
613
- case 69:
614
- return 62;
615
- case 70:
616
- return 62;
617
- case 71:
618
- return 61;
619
- case 72:
620
- return 59;
621
- case 73:
622
- return 63;
623
- case 74:
624
- return 64;
625
- case 75:
626
- return 65;
627
- case 76:
628
- return 21;
629
- case 77:
630
- return 42;
631
- case 78:
632
- return 95;
633
- case 79:
634
- return "DOT";
635
- case 80:
636
- return "PLUS";
637
- case 81:
638
- return 81;
639
- case 82:
640
- return 78;
641
- case 83:
642
- return 84;
643
- case 84:
644
- return 84;
645
- case 85:
646
- return 85;
647
- case 86:
648
- return "EQUALS";
649
- case 87:
650
- return "EQUALS";
651
- case 88:
652
- return 74;
653
- case 89:
654
- return 12;
655
- case 90:
656
- return 14;
657
- case 91:
658
- return "PUNCTUATION";
659
- case 92:
660
- return 80;
661
- case 93:
662
- return 97;
663
- case 94:
664
- return 83;
665
- case 95:
666
- return 83;
667
- case 96:
668
- return 9;
669
- }
670
- }, "anonymous"),
671
- rules: [/^(?:.*direction\s+TB[^\n]*)/, /^(?:.*direction\s+BT[^\n]*)/, /^(?:.*direction\s+RL[^\n]*)/, /^(?:.*direction\s+LR[^\n]*)/, /^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/, /^(?:%%[^\n]*(\r?\n)*)/, /^(?:accTitle\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*\{\s*)/, /^(?:[\}])/, /^(?:[^\}]*)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:classDiagram-v2\b)/, /^(?:classDiagram\b)/, /^(?:\[\*\])/, /^(?:call[\s]+)/, /^(?:\([\s]*\))/, /^(?:\()/, /^(?:[^(]*)/, /^(?:\))/, /^(?:[^)]*)/, /^(?:["])/, /^(?:[^"]*)/, /^(?:["])/, /^(?:style\b)/, /^(?:namespace\b)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:[{])/, /^(?:[}])/, /^(?:$)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:\[\*\])/, /^(?:class\b)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:[}])/, /^(?:[{])/, /^(?:[}])/, /^(?:$)/, /^(?:\[\*\])/, /^(?:[{])/, /^(?:[\n])/, /^(?:[^{}\n]*)/, /^(?:cssClass\b)/, /^(?:callback\b)/, /^(?:link\b)/, /^(?:click\b)/, /^(?:note for\b)/, /^(?:note\b)/, /^(?:<<)/, /^(?:>>)/, /^(?:href\b)/, /^(?:[~])/, /^(?:[^~]*)/, /^(?:~)/, /^(?:[`])/, /^(?:[^`]+)/, /^(?:[`])/, /^(?:_self\b)/, /^(?:_blank\b)/, /^(?:_parent\b)/, /^(?:_top\b)/, /^(?:\s*<\|)/, /^(?:\s*\|>)/, /^(?:\s*>)/, /^(?:\s*<)/, /^(?:\s*\*)/, /^(?:\s*o\b)/, /^(?:\s*\(\))/, /^(?:--)/, /^(?:\.\.)/, /^(?::{1}[^:\n;]+)/, /^(?::{3})/, /^(?:-)/, /^(?:\.)/, /^(?:\+)/, /^(?::)/, /^(?:,)/, /^(?:#)/, /^(?:#)/, /^(?:%)/, /^(?:=)/, /^(?:=)/, /^(?:\w+)/, /^(?:\[)/, /^(?:\])/, /^(?:[!"#$%&'*+,-.`?\\/])/, /^(?:[0-9]+)/, /^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/, /^(?:\s)/, /^(?:\s)/, /^(?:$)/],
672
- conditions: { "namespace-body": { rules: [26, 32, 33, 34, 35, 36, 37, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], inclusive: !1 }, namespace: { rules: [26, 28, 29, 30, 31, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], inclusive: !1 }, "class-body": { rules: [26, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], inclusive: !1 }, class: { rules: [26, 38, 39, 40, 41, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], inclusive: !1 }, acc_descr_multiline: { rules: [11, 12, 26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], inclusive: !1 }, acc_descr: { rules: [9, 26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], inclusive: !1 }, acc_title: { rules: [7, 26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], inclusive: !1 }, callback_args: { rules: [22, 23, 26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], inclusive: !1 }, callback_name: { rules: [19, 20, 21, 26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], inclusive: !1 }, href: { rules: [26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], inclusive: !1 }, struct: { rules: [26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], inclusive: !1 }, generic: { rules: [26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], inclusive: !1 }, bqstring: { rules: [26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], inclusive: !1 }, string: { rules: [24, 25, 26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 8, 10, 13, 14, 15, 16, 17, 18, 26, 27, 28, 37, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96], inclusive: !0 } }
673
- };
674
- return $;
675
- }();
676
- $e.lexer = st;
677
- function ae() {
678
- this.yy = {};
679
- }
680
- return r(ae, "Parser"), ae.prototype = $e, $e.Parser = ae, new ae();
681
- }();
682
- Pe.parser = Pe;
683
- var Yt = Pe, He = ["#", "+", "~", "-", ""], Re, qe = (Re = class {
684
- constructor(e, n) {
685
- this.memberType = n, this.visibility = "", this.classifier = "";
686
- const a = at(e, D());
687
- this.parseMember(a);
688
- }
689
- getDisplayDetails() {
690
- let e = this.visibility + ve(this.id);
691
- this.memberType === "method" && (e += `(${ve(this.parameters.trim())})`, this.returnType && (e += " : " + ve(this.returnType))), e = e.trim();
692
- const n = this.parseClassifier();
693
- return {
694
- displayText: e,
695
- cssStyle: n
696
- };
697
- }
698
- parseMember(e) {
699
- let n = "";
700
- if (this.memberType === "method") {
701
- const a = /([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(e);
702
- if (a) {
703
- const c = a[1] ? a[1].trim() : "";
704
- if (He.includes(c) && (this.visibility = c), this.id = a[2].trim(), this.parameters = a[3] ? a[3].trim() : "", n = a[4] ? a[4].trim() : "", this.returnType = a[5] ? a[5].trim() : "", n === "") {
705
- const h = this.returnType.substring(this.returnType.length - 1);
706
- /[$*]/.exec(h) && (n = h, this.returnType = this.returnType.substring(0, this.returnType.length - 1));
707
- }
708
- }
709
- } else {
710
- const a = e.length, c = e.substring(0, 1), h = e.substring(a - 1);
711
- He.includes(c) && (this.visibility = c), /[$*]/.exec(h) && (n = h), this.id = e.substring(
712
- this.visibility === "" ? 0 : 1,
713
- n === "" ? a : a - 1
714
- );
715
- }
716
- this.classifier = n;
717
- }
718
- parseClassifier() {
719
- switch (this.classifier) {
720
- case "*":
721
- return "font-style:italic;";
722
- case "$":
723
- return "text-decoration:underline;";
724
- default:
725
- return "";
726
- }
727
- }
728
- }, r(Re, "ClassMember"), Re), pe = "classId-", Me = [], p = /* @__PURE__ */ new Map(), he = [], Je = 0, I = /* @__PURE__ */ new Map(), we = 0, z = [], R = /* @__PURE__ */ r((e) => x.sanitizeText(e, D()), "sanitizeText"), P = /* @__PURE__ */ r(function(e) {
729
- const n = x.sanitizeText(e, D());
730
- let a = "", c = n;
731
- if (n.indexOf("~") > 0) {
732
- const h = n.split("~");
733
- c = R(h[0]), a = R(h[1]);
734
- }
735
- return { className: c, type: a };
736
- }, "splitClassNameAndType"), Et = /* @__PURE__ */ r(function(e, n) {
737
- const a = x.sanitizeText(e, D());
738
- n && (n = R(n));
739
- const { className: c } = P(a);
740
- p.get(c).label = n;
741
- }, "setClassLabel"), Ae = /* @__PURE__ */ r(function(e) {
742
- const n = x.sanitizeText(e, D()), { className: a, type: c } = P(n);
743
- if (p.has(a))
744
- return;
745
- const h = x.sanitizeText(a, D());
746
- p.set(h, {
747
- id: h,
748
- type: c,
749
- label: h,
750
- cssClasses: [],
751
- methods: [],
752
- members: [],
753
- annotations: [],
754
- styles: [],
755
- domId: pe + h + "-" + Je
756
- }), Je++;
757
- }, "addClass"), Ze = /* @__PURE__ */ r(function(e) {
758
- const n = x.sanitizeText(e, D());
759
- if (p.has(n))
760
- return p.get(n).domId;
761
- throw new Error("Class not found: " + n);
762
- }, "lookUpDomId"), Ct = /* @__PURE__ */ r(function() {
763
- Me = [], p = /* @__PURE__ */ new Map(), he = [], z = [], z.push(tt), I = /* @__PURE__ */ new Map(), we = 0, Ue = "TB", dt();
764
- }, "clear"), mt = /* @__PURE__ */ r(function(e) {
765
- return p.get(e);
766
- }, "getClass"), gt = /* @__PURE__ */ r(function() {
767
- return p;
768
- }, "getClasses"), bt = /* @__PURE__ */ r(function() {
769
- return Me;
770
- }, "getRelations"), ft = /* @__PURE__ */ r(function() {
771
- return he;
772
- }, "getNotes"), kt = /* @__PURE__ */ r(function(e) {
773
- yt.debug("Adding relation: " + JSON.stringify(e)), Ae(e.id1), Ae(e.id2), e.id1 = P(e.id1).className, e.id2 = P(e.id2).className, e.relationTitle1 = x.sanitizeText(e.relationTitle1.trim(), D()), e.relationTitle2 = x.sanitizeText(e.relationTitle2.trim(), D()), Me.push(e);
774
- }, "addRelation"), Tt = /* @__PURE__ */ r(function(e, n) {
775
- const a = P(e).className;
776
- p.get(a).annotations.push(n);
777
- }, "addAnnotation"), et = /* @__PURE__ */ r(function(e, n) {
778
- Ae(e);
779
- const a = P(e).className, c = p.get(a);
780
- if (typeof n == "string") {
781
- const h = n.trim();
782
- h.startsWith("<<") && h.endsWith(">>") ? c.annotations.push(R(h.substring(2, h.length - 2))) : h.indexOf(")") > 0 ? c.methods.push(new qe(h, "method")) : h && c.members.push(new qe(h, "attribute"));
783
- }
784
- }, "addMember"), Ft = /* @__PURE__ */ r(function(e, n) {
785
- Array.isArray(n) && (n.reverse(), n.forEach((a) => et(e, a)));
786
- }, "addMembers"), Dt = /* @__PURE__ */ r(function(e, n) {
787
- const a = {
788
- id: `note${he.length}`,
789
- class: n,
790
- text: e
791
- };
792
- he.push(a);
793
- }, "addNote"), Bt = /* @__PURE__ */ r(function(e) {
794
- return e.startsWith(":") && (e = e.substring(1)), R(e.trim());
795
- }, "cleanupLabel"), Ge = /* @__PURE__ */ r(function(e, n) {
796
- e.split(",").forEach(function(a) {
797
- let c = a;
798
- /\d/.exec(a[0]) && (c = pe + c);
799
- const h = p.get(c);
800
- h && h.cssClasses.push(n);
801
- });
802
- }, "setCssClass"), _t = /* @__PURE__ */ r(function(e, n) {
803
- e.split(",").forEach(function(a) {
804
- n !== void 0 && (p.get(a).tooltip = R(n));
805
- });
806
- }, "setTooltip"), St = /* @__PURE__ */ r(function(e, n) {
807
- return n && I.has(n) ? I.get(n).classes.get(e).tooltip : p.get(e).tooltip;
808
- }, "getTooltip"), Nt = /* @__PURE__ */ r(function(e, n, a) {
809
- const c = D();
810
- e.split(",").forEach(function(h) {
811
- let T = h;
812
- /\d/.exec(h[0]) && (T = pe + T);
813
- const g = p.get(T);
814
- g && (g.link = Ve.formatUrl(n, c), c.securityLevel === "sandbox" ? g.linkTarget = "_top" : typeof a == "string" ? g.linkTarget = R(a) : g.linkTarget = "_blank");
815
- }), Ge(e, "clickable");
816
- }, "setLink"), $t = /* @__PURE__ */ r(function(e, n, a) {
817
- e.split(",").forEach(function(c) {
818
- Lt(c, n, a), p.get(c).haveCallback = !0;
819
- }), Ge(e, "clickable");
820
- }, "setClickEvent"), Lt = /* @__PURE__ */ r(function(e, n, a) {
821
- const c = x.sanitizeText(e, D());
822
- if (D().securityLevel !== "loose" || n === void 0)
823
- return;
824
- const h = c;
825
- if (p.has(h)) {
826
- const T = Ze(h);
827
- let g = [];
828
- if (typeof a == "string") {
829
- g = a.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
830
- for (let _ = 0; _ < g.length; _++) {
831
- let N = g[_].trim();
832
- N.startsWith('"') && N.endsWith('"') && (N = N.substr(1, N.length - 2)), g[_] = N;
833
- }
834
- }
835
- g.length === 0 && g.push(T), z.push(function() {
836
- const _ = document.querySelector(`[id="${T}"]`);
837
- _ !== null && _.addEventListener(
838
- "click",
839
- function() {
840
- Ve.runFunc(n, ...g);
841
- },
842
- !1
843
- );
844
- });
845
- }
846
- }, "setClickFunc"), xt = /* @__PURE__ */ r(function(e) {
847
- z.forEach(function(n) {
848
- n(e);
849
- });
850
- }, "bindFunctions"), It = {
851
- LINE: 0,
852
- DOTTED_LINE: 1
853
- }, Ot = {
854
- AGGREGATION: 0,
855
- EXTENSION: 1,
856
- COMPOSITION: 2,
857
- DEPENDENCY: 3,
858
- LOLLIPOP: 4
859
- }, tt = /* @__PURE__ */ r(function(e) {
860
- let n = U(".mermaidTooltip");
861
- (n._groups || n)[0][0] === null && (n = U("body").append("div").attr("class", "mermaidTooltip").style("opacity", 0)), U(e).select("svg").selectAll("g.node").on("mouseover", function() {
862
- const a = U(this);
863
- if (a.attr("title") === null)
864
- return;
865
- const c = this.getBoundingClientRect();
866
- n.transition().duration(200).style("opacity", ".9"), n.text(a.attr("title")).style("left", window.scrollX + c.left + (c.right - c.left) / 2 + "px").style("top", window.scrollY + c.top - 14 + document.body.scrollTop + "px"), n.html(n.html().replace(/&lt;br\/&gt;/g, "<br/>")), a.classed("hover", !0);
867
- }).on("mouseout", function() {
868
- n.transition().duration(500).style("opacity", 0), U(this).classed("hover", !1);
869
- });
870
- }, "setupToolTips");
871
- z.push(tt);
872
- var Ue = "TB", vt = /* @__PURE__ */ r(() => Ue, "getDirection"), Rt = /* @__PURE__ */ r((e) => {
873
- Ue = e;
874
- }, "setDirection"), Pt = /* @__PURE__ */ r(function(e) {
875
- I.has(e) || (I.set(e, {
876
- id: e,
877
- classes: /* @__PURE__ */ new Map(),
878
- children: {},
879
- domId: pe + e + "-" + we
880
- }), we++);
881
- }, "addNamespace"), wt = /* @__PURE__ */ r(function(e) {
882
- return I.get(e);
883
- }, "getNamespace"), Mt = /* @__PURE__ */ r(function() {
884
- return I;
885
- }, "getNamespaces"), Gt = /* @__PURE__ */ r(function(e, n) {
886
- if (I.has(e))
887
- for (const a of n) {
888
- const { className: c } = P(a);
889
- p.get(c).parent = e, I.get(e).classes.set(c, p.get(c));
890
- }
891
- }, "addClassesToNamespace"), Ut = /* @__PURE__ */ r(function(e, n) {
892
- const a = p.get(e);
893
- if (!(!n || !a))
894
- for (const c of n)
895
- c.includes(",") ? a.styles.push(...c.split(",")) : a.styles.push(c);
896
- }, "setCssStyle"), Qt = {
897
- setAccTitle: ot,
898
- getAccTitle: ct,
899
- getAccDescription: lt,
900
- setAccDescription: ht,
901
- getConfig: /* @__PURE__ */ r(() => D().class, "getConfig"),
902
- addClass: Ae,
903
- bindFunctions: xt,
904
- clear: Ct,
905
- getClass: mt,
906
- getClasses: gt,
907
- getNotes: ft,
908
- addAnnotation: Tt,
909
- addNote: Dt,
910
- getRelations: bt,
911
- addRelation: kt,
912
- getDirection: vt,
913
- setDirection: Rt,
914
- addMember: et,
915
- addMembers: Ft,
916
- cleanupLabel: Bt,
917
- lineType: It,
918
- relationType: Ot,
919
- setClickEvent: $t,
920
- setCssClass: Ge,
921
- setLink: Nt,
922
- getTooltip: St,
923
- setTooltip: _t,
924
- lookUpDomId: Ze,
925
- setDiagramTitle: At,
926
- getDiagramTitle: pt,
927
- setClassLabel: Et,
928
- addNamespace: Pt,
929
- addClassesToNamespace: Gt,
930
- getNamespace: wt,
931
- getNamespaces: Mt,
932
- setCssStyle: Ut
933
- }, zt = /* @__PURE__ */ r((e) => `g.classGroup text {
934
- fill: ${e.nodeBorder || e.classText};
935
- stroke: none;
936
- font-family: ${e.fontFamily};
937
- font-size: 10px;
938
-
939
- .title {
940
- font-weight: bolder;
941
- }
942
-
943
- }
944
-
945
- .nodeLabel, .edgeLabel {
946
- color: ${e.classText};
947
- }
948
- .edgeLabel .label rect {
949
- fill: ${e.mainBkg};
950
- }
951
- .label text {
952
- fill: ${e.classText};
953
- }
954
- .edgeLabel .label span {
955
- background: ${e.mainBkg};
956
- }
957
-
958
- .classTitle {
959
- font-weight: bolder;
960
- }
961
- .node rect,
962
- .node circle,
963
- .node ellipse,
964
- .node polygon,
965
- .node path {
966
- fill: ${e.mainBkg};
967
- stroke: ${e.nodeBorder};
968
- stroke-width: 1px;
969
- }
970
-
971
-
972
- .divider {
973
- stroke: ${e.nodeBorder};
974
- stroke-width: 1;
975
- }
976
-
977
- g.clickable {
978
- cursor: pointer;
979
- }
980
-
981
- g.classGroup rect {
982
- fill: ${e.mainBkg};
983
- stroke: ${e.nodeBorder};
984
- }
985
-
986
- g.classGroup line {
987
- stroke: ${e.nodeBorder};
988
- stroke-width: 1;
989
- }
990
-
991
- .classLabel .box {
992
- stroke: none;
993
- stroke-width: 0;
994
- fill: ${e.mainBkg};
995
- opacity: 0.5;
996
- }
997
-
998
- .classLabel .label {
999
- fill: ${e.nodeBorder};
1000
- font-size: 10px;
1001
- }
1002
-
1003
- .relation {
1004
- stroke: ${e.lineColor};
1005
- stroke-width: 1;
1006
- fill: none;
1007
- }
1008
-
1009
- .dashed-line{
1010
- stroke-dasharray: 3;
1011
- }
1012
-
1013
- .dotted-line{
1014
- stroke-dasharray: 1 2;
1015
- }
1016
-
1017
- #compositionStart, .composition {
1018
- fill: ${e.lineColor} !important;
1019
- stroke: ${e.lineColor} !important;
1020
- stroke-width: 1;
1021
- }
1022
-
1023
- #compositionEnd, .composition {
1024
- fill: ${e.lineColor} !important;
1025
- stroke: ${e.lineColor} !important;
1026
- stroke-width: 1;
1027
- }
1028
-
1029
- #dependencyStart, .dependency {
1030
- fill: ${e.lineColor} !important;
1031
- stroke: ${e.lineColor} !important;
1032
- stroke-width: 1;
1033
- }
1034
-
1035
- #dependencyStart, .dependency {
1036
- fill: ${e.lineColor} !important;
1037
- stroke: ${e.lineColor} !important;
1038
- stroke-width: 1;
1039
- }
1040
-
1041
- #extensionStart, .extension {
1042
- fill: transparent !important;
1043
- stroke: ${e.lineColor} !important;
1044
- stroke-width: 1;
1045
- }
1046
-
1047
- #extensionEnd, .extension {
1048
- fill: transparent !important;
1049
- stroke: ${e.lineColor} !important;
1050
- stroke-width: 1;
1051
- }
1052
-
1053
- #aggregationStart, .aggregation {
1054
- fill: transparent !important;
1055
- stroke: ${e.lineColor} !important;
1056
- stroke-width: 1;
1057
- }
1058
-
1059
- #aggregationEnd, .aggregation {
1060
- fill: transparent !important;
1061
- stroke: ${e.lineColor} !important;
1062
- stroke-width: 1;
1063
- }
1064
-
1065
- #lollipopStart, .lollipop {
1066
- fill: ${e.mainBkg} !important;
1067
- stroke: ${e.lineColor} !important;
1068
- stroke-width: 1;
1069
- }
1070
-
1071
- #lollipopEnd, .lollipop {
1072
- fill: ${e.mainBkg} !important;
1073
- stroke: ${e.lineColor} !important;
1074
- stroke-width: 1;
1075
- }
1076
-
1077
- .edgeTerminals {
1078
- font-size: 11px;
1079
- line-height: initial;
1080
- }
1081
-
1082
- .classTitleText {
1083
- text-anchor: middle;
1084
- font-size: 18px;
1085
- fill: ${e.textColor};
1086
- }
1087
- `, "getStyles"), jt = zt;
1088
- export {
1089
- Qt as Q,
1090
- jt as X,
1091
- Yt as j
1092
- };