@marimo-team/islands 0.12.1-dev2 → 0.12.1-dev21

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