@kong-ui-public/documentation 0.7.20 → 0.7.21

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 (47) hide show
  1. package/dist/{Tableau10-GLA_9iAD-BMurskAd.js → Tableau10-D7jGxypv-D3w6FIcJ.js} +1 -2
  2. package/dist/arc-CJ96KFKf-ZAEyyrBI.js +84 -0
  3. package/dist/{blockDiagram-6b2b5046-ZGxr7RGf-D4pbh8vR.js → blockDiagram-9f4a6865-DOUkHJlG-BPuF5-tK.js} +107 -108
  4. package/dist/{c4Diagram-b947cdbb-Bo6xALld-D8DXBmHw.js → c4Diagram-ae766693-qW59_Cjl-BSBtINzy.js} +133 -132
  5. package/dist/{channel-BX3TjCqa-Cdtt6hB1.js → channel-BkEGjNbZ-CzBFLYvk.js} +1 -1
  6. package/dist/{classDiagram-35230388-C60SAKfJ-FQHXcc4J.js → classDiagram-fb54d2a0-DaEnSnV7-BgUSoTGU.js} +8 -7
  7. package/dist/{classDiagram-v2-412acd34-CHK1KDqU-CiKmarbv.js → classDiagram-v2-a2b738ad-DVF-sdZH-lL0m0fQD.js} +8 -8
  8. package/dist/{clone-BSWoNj0I-CW2QP79u.js → clone-Bz5840kP-D3Uvm_gp.js} +1 -1
  9. package/dist/{createText-423428c9-DeHbckoy-r2CCACGx.js → createText-ca0c5216-DGjoI7Oz-8Az9WSXK.js} +14 -20
  10. package/dist/documentation.es.js +3 -3
  11. package/dist/documentation.umd.js +993 -723
  12. package/dist/{edges-d417c7a0-D7e9Y4V--DVOSTCB5.js → edges-066a5561-ByMuMaff-ipHdGCa_.js} +28 -27
  13. package/dist/{erDiagram-0ea73325-E3jchkiK-CfTqZxm6.js → erDiagram-09d1c15f-Ctl-zT4O-B9E7LRcs.js} +71 -72
  14. package/dist/{flowDb-d35e309a-Dch1VW7i-Bk557s4E.js → flowDb-c1833063-nJUM9bYy-B5f_hjwI.js} +4 -4
  15. package/dist/{flowDiagram-d949d7c1-CxjmKfBF-CuFUEya4.js → flowDiagram-b222e15a-BlrP8xne-DJ_sATm6.js} +339 -333
  16. package/dist/{flowDiagram-v2-49332944-Duf6j7PN-DgsEJ4Bo.js → flowDiagram-v2-13329dc7-DlqVPxH6-CgXruRZr.js} +5 -5
  17. package/dist/{flowchart-elk-definition-27cc417a-M-lK4i48-Bs8Ix10e.js → flowchart-elk-definition-ae0efee6-B2FZpaI4-C8o8y5J1.js} +343 -590
  18. package/dist/{ganttDiagram-5c869e3b-CgjZsm2H-Bon0v47P.js → ganttDiagram-b62c793e-BUkrtLIU-roFbcEhP.js} +513 -534
  19. package/dist/gitGraphDiagram-942e62fe-BIndO562-dNVJJzzm.js +1264 -0
  20. package/dist/{graph-Ch18bQn5-BLEKw6WT.js → graph-BN58fiEq-CyCz6HB3.js} +3 -4
  21. package/dist/{index-8fae9850-kUIz8xNo-CDn9_qZB.js → index-01f381cb-DHHDXut0-C1FToHnX.js} +11 -11
  22. package/dist/{index-CVS7cBlb.js → index-Dz46e5bv.js} +2354 -2515
  23. package/dist/{infoDiagram-db7b18fc-BpBtHVy2-DuX4gmA7.js → infoDiagram-94cd232f-CSzv-wTE-Bnonj1Cb.js} +7 -7
  24. package/dist/{journeyDiagram-d5636530-CZUFMDTA-D5VAFQAG.js → journeyDiagram-6625b456-Ca9U8tWI-DoKEPckV.js} +16 -16
  25. package/dist/katex-BXNjbZo7-CF_fuFJb.js +11637 -0
  26. package/dist/{layout-BzV691RN-Br8Ir03a.js → layout-DU4VNk5y-DEbr0_Pk.js} +112 -114
  27. package/dist/{line-JCh8JM-V-T9MVIZIE.js → line-CwSAou3c-dgS2jcU_.js} +3 -4
  28. package/dist/{linear-cwTFOJBq-B6q6qtlZ.js → linear-CngEzq0a-B6fRdJQY.js} +70 -94
  29. package/dist/{mindmap-definition-377f8f1f-BzIPdpBG-DD8FIpST.js → mindmap-definition-307c710a-CvpxqRPj-AB15RcM6.js} +343 -378
  30. package/dist/{ordinal-MUacOSdK-B1MUT0BL.js → ordinal-DfAQgscy-BEJTu10r.js} +3 -7
  31. package/dist/{path-Crsf9Nsj-SiSjwXsf.js → path-DLwuMfdd-EbErTa4c.js} +12 -19
  32. package/dist/{pieDiagram-b0208e96-BQfpnZHG-E8AMqTd3.js → pieDiagram-bb1d19e5-LP-9WGAS-DwilsWxb.js} +61 -61
  33. package/dist/{quadrantDiagram-0332be45-CNL4JCrn-BYyiYlYH.js → quadrantDiagram-c759a472-B_TsLXO0-BviiuQRe.js} +2 -2
  34. package/dist/{requirementDiagram-bf7890df-NBqqCuPF-CIHJhGNa.js → requirementDiagram-87253d64-o6jrBKBt-BDXpXGpQ.js} +30 -30
  35. package/dist/{sankeyDiagram-0acdec17-YE0ROy8d-CU1TmQZx.js → sankeyDiagram-707fac0f-BoEHDAJv-BBNylsjT.js} +44 -58
  36. package/dist/{sequenceDiagram-c18d009d-Yucxrjw7-D_cnXQcd.js → sequenceDiagram-6894f283-Dsj52Wsi-TDdIX1Wn.js} +845 -812
  37. package/dist/{stateDiagram-43596fc0-D9IY4Ssi-KJp_o1Vc.js → stateDiagram-5dee940d-COfohDXu-Dra8cHnR.js} +54 -54
  38. package/dist/{stateDiagram-v2-2ead4f9c-5IZQWbnV-Chm6qgaK.js → stateDiagram-v2-1992cada-v9z1blk7-b2WlcHGI.js} +12 -12
  39. package/dist/{styles-b2c874b6-pUAi9-OK-C7HwN-ih.js → styles-0784dbeb-DHDYpA72-BTX0XQJ5.js} +24 -24
  40. package/dist/{styles-7383a064-DLbSva3T-DWY6NPMf.js → styles-483fbfea-DUrqZeOP-BPfiLFkT.js} +140 -137
  41. package/dist/{styles-6860f46c-DHqkrPDU-JiuD19BB.js → styles-b83b31c9-R9NNyYA0-DnoGi25s.js} +29 -29
  42. package/dist/{svgDrawCommon-0ee1b4e9-rbw7BPwi-Boin581S.js → svgDrawCommon-5e1cfd1d-DeHC_PTd-44CTrnyq.js} +5 -5
  43. package/dist/{timeline-definition-d977decf-CtlVf6FF-BqqlH53Y.js → timeline-definition-bf702344-BzpRV6Z8-DHqazJ7N.js} +2 -2
  44. package/dist/{xychartDiagram-e50adddc-B9qgoJob-CqAKcFLo.js → xychartDiagram-f11f50a6-BMDfQSWf-CixUys_w.js} +40 -40
  45. package/package.json +6 -6
  46. package/dist/arc-TomPQHIy-B0wkvDWU.js +0 -86
  47. package/dist/gitGraphDiagram-b9d81de9-DhOfBQfl-BvCcUYjg.js +0 -1262
@@ -1,36 +1,36 @@
1
- import { Y as P } from "./graph-Ch18bQn5-BLEKw6WT.js";
2
- import { o as A, l as g, p as F, c as _, j as D, q as $, r as C, h as T, y as G, t as V, af as j, ag as M, ah as R, ai as Y, aj as U, J } from "./index-CVS7cBlb.js";
3
- import { b as Q } from "./index-8fae9850-kUIz8xNo-CDn9_qZB.js";
4
- import { t as W } from "./channel-BX3TjCqa-Cdtt6hB1.js";
5
- function X(e) {
6
- return typeof e == "string" ? new j([document.querySelectorAll(e)], [document.documentElement]) : new j([R(e)], M);
1
+ import { Y as F } from "./graph-BN58fiEq-CyCz6HB3.js";
2
+ import { o as E, l as g, p as V, c as v, j as z, r as I, q as C, t as A, h as _, z as G, u as M, ag as D, ah as R, ai as K, aj as U, ak as Y, K as W } from "./index-Dz46e5bv.js";
3
+ import { b as X } from "./index-01f381cb-DHHDXut0-C1FToHnX.js";
4
+ import { t as Z } from "./channel-BkEGjNbZ-CzBFLYvk.js";
5
+ function H(e) {
6
+ return typeof e == "string" ? new D([document.querySelectorAll(e)], [document.documentElement]) : new D([K(e)], R);
7
7
  }
8
- function ce(e, o) {
8
+ function de(e, o) {
9
9
  return !!e.children(o).length;
10
10
  }
11
- function de(e) {
12
- return E(e.v) + ":" + E(e.w) + ":" + E(e.name);
11
+ function pe(e) {
12
+ return B(e.v) + ":" + B(e.w) + ":" + B(e.name);
13
13
  }
14
- var Z = /:/g;
15
- function E(e) {
16
- return e ? String(e).replace(Z, "\\:") : "";
14
+ var J = /:/g;
15
+ function B(e) {
16
+ return e ? String(e).replace(J, "\\:") : "";
17
17
  }
18
- function H(e, o) {
18
+ function Q(e, o) {
19
19
  o && e.attr("style", o);
20
20
  }
21
- function pe(e, o, c) {
21
+ function be(e, o, c) {
22
22
  o && e.attr("class", o).attr("class", c + " " + e.attr("class"));
23
23
  }
24
- function be(e, o) {
24
+ function we(e, o) {
25
25
  var c = o.graph();
26
- if (U(c)) {
26
+ if (Y(c)) {
27
27
  var a = c.transition;
28
- if (J(a))
28
+ if (W(a))
29
29
  return a(e);
30
30
  }
31
31
  return e;
32
32
  }
33
- function K(e, o) {
33
+ function ee(e, o) {
34
34
  var c = e.append("foreignObject").attr("width", "100000"), a = c.append("xhtml:div");
35
35
  a.attr("xmlns", "http://www.w3.org/1999/xhtml");
36
36
  var i = o.label;
@@ -46,46 +46,42 @@ function K(e, o) {
46
46
  default:
47
47
  a.html(i);
48
48
  }
49
- H(a, o.labelStyle), a.style("display", "inline-block"), a.style("white-space", "nowrap");
50
- var d = a.node().getBoundingClientRect();
51
- return c.attr("width", d.width).attr("height", d.height), c;
49
+ Q(a, o.labelStyle), a.style("display", "inline-block"), a.style("white-space", "nowrap");
50
+ var p = a.node().getBoundingClientRect();
51
+ return c.attr("width", p.width).attr("height", p.height), c;
52
52
  }
53
- const z = {}, ee = function(e) {
53
+ const O = {}, te = function(e) {
54
54
  const o = Object.keys(e);
55
55
  for (const c of o)
56
- z[c] = e[c];
57
- }, I = function(e, o, c, a, i, d) {
58
- const b = a.select(`[id="${c}"]`);
59
- Object.keys(e).forEach(function(n) {
60
- const r = e[n];
61
- let u = "default";
62
- r.classes.length > 0 && (u = r.classes.join(" ")), u = u + " flowchart-label";
63
- const h = A(r.styles);
64
- let y = r.text !== void 0 ? r.text : r.id, t;
56
+ O[c] = e[c];
57
+ }, P = async function(e, o, c, a, i, p) {
58
+ const u = a.select(`[id="${c}"]`), n = Object.keys(e);
59
+ for (const b of n) {
60
+ const r = e[b];
61
+ let y = "default";
62
+ r.classes.length > 0 && (y = r.classes.join(" ")), y = y + " flowchart-label";
63
+ const f = E(r.styles);
64
+ let t = r.text !== void 0 ? r.text : r.id, s;
65
65
  if (g.info("vertex", r, r.labelType), r.labelType === "markdown")
66
66
  g.info("vertex", r, r.labelType);
67
- else if (F(_().flowchart.htmlLabels)) {
68
- const w = {
69
- label: y.replace(
70
- /fa[blrs]?:fa-[\w-]+/g,
71
- (S) => `<i class='${S.replace(":", " ")}'></i>`
72
- )
73
- };
74
- t = K(b, w).node(), t.parentNode.removeChild(t);
75
- } else {
76
- const w = i.createElementNS("http://www.w3.org/2000/svg", "text");
77
- w.setAttribute("style", h.labelStyle.replace("color:", "fill:"));
78
- const S = y.split(D.lineBreakRegex);
79
- for (const m of S) {
80
- const x = i.createElementNS("http://www.w3.org/2000/svg", "tspan");
81
- x.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve"), x.setAttribute("dy", "1em"), x.setAttribute("x", "1"), x.textContent = m, w.appendChild(x);
67
+ else if (V(v().flowchart.htmlLabels))
68
+ s = ee(u, {
69
+ label: t
70
+ }).node(), s.parentNode.removeChild(s);
71
+ else {
72
+ const k = i.createElementNS("http://www.w3.org/2000/svg", "text");
73
+ k.setAttribute("style", f.labelStyle.replace("color:", "fill:"));
74
+ const T = t.split(z.lineBreakRegex);
75
+ for (const $ of T) {
76
+ const d = i.createElementNS("http://www.w3.org/2000/svg", "tspan");
77
+ d.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve"), d.setAttribute("dy", "1em"), d.setAttribute("x", "1"), d.textContent = $, k.appendChild(d);
82
78
  }
83
- t = w;
79
+ s = k;
84
80
  }
85
- let s = 0, l = "";
81
+ let w = 0, l = "";
86
82
  switch (r.type) {
87
83
  case "round":
88
- s = 5, l = "rect";
84
+ w = 5, l = "rect";
89
85
  break;
90
86
  case "square":
91
87
  l = "rect";
@@ -138,58 +134,59 @@ const z = {}, ee = function(e) {
138
134
  default:
139
135
  l = "rect";
140
136
  }
137
+ const S = await I(t, v());
141
138
  o.setNode(r.id, {
142
- labelStyle: h.labelStyle,
139
+ labelStyle: f.labelStyle,
143
140
  shape: l,
144
- labelText: y,
141
+ labelText: S,
145
142
  labelType: r.labelType,
146
- rx: s,
147
- ry: s,
148
- class: u,
149
- style: h.style,
143
+ rx: w,
144
+ ry: w,
145
+ class: y,
146
+ style: f.style,
150
147
  id: r.id,
151
148
  link: r.link,
152
149
  linkTarget: r.linkTarget,
153
- tooltip: d.db.getTooltip(r.id) || "",
154
- domId: d.db.lookUpDomId(r.id),
150
+ tooltip: p.db.getTooltip(r.id) || "",
151
+ domId: p.db.lookUpDomId(r.id),
155
152
  haveCallback: r.haveCallback,
156
153
  width: r.type === "group" ? 500 : void 0,
157
154
  dir: r.dir,
158
155
  type: r.type,
159
156
  props: r.props,
160
- padding: _().flowchart.padding
157
+ padding: v().flowchart.padding
161
158
  }), g.info("setNode", {
162
- labelStyle: h.labelStyle,
159
+ labelStyle: f.labelStyle,
163
160
  labelType: r.labelType,
164
161
  shape: l,
165
- labelText: y,
166
- rx: s,
167
- ry: s,
168
- class: u,
169
- style: h.style,
162
+ labelText: S,
163
+ rx: w,
164
+ ry: w,
165
+ class: y,
166
+ style: f.style,
170
167
  id: r.id,
171
- domId: d.db.lookUpDomId(r.id),
168
+ domId: p.db.lookUpDomId(r.id),
172
169
  width: r.type === "group" ? 500 : void 0,
173
170
  type: r.type,
174
171
  dir: r.dir,
175
172
  props: r.props,
176
- padding: _().flowchart.padding
173
+ padding: v().flowchart.padding
177
174
  });
178
- });
179
- }, q = function(e, o, c) {
175
+ }
176
+ }, q = async function(e, o, c) {
180
177
  g.info("abc78 edges = ", e);
181
- let a = 0, i = {}, d, b;
178
+ let a = 0, i = {}, p, u;
182
179
  if (e.defaultStyle !== void 0) {
183
- const n = A(e.defaultStyle);
184
- d = n.style, b = n.labelStyle;
180
+ const n = E(e.defaultStyle);
181
+ p = n.style, u = n.labelStyle;
185
182
  }
186
- e.forEach(function(n) {
183
+ for (const n of e) {
187
184
  a++;
188
- const r = "L-" + n.start + "-" + n.end;
189
- i[r] === void 0 ? (i[r] = 0, g.info("abc78 new entry", r, i[r])) : (i[r]++, g.info("abc78 new entry", r, i[r]));
190
- let u = r + "-" + i[r];
191
- g.info("abc78 new link id to be used is", r, u, i[r]);
192
- const h = "LS-" + n.start, y = "LE-" + n.end, t = { style: "", labelStyle: "" };
185
+ const b = "L-" + n.start + "-" + n.end;
186
+ i[b] === void 0 ? (i[b] = 0, g.info("abc78 new entry", b, i[b])) : (i[b]++, g.info("abc78 new entry", b, i[b]));
187
+ let r = b + "-" + i[b];
188
+ g.info("abc78 new link id to be used is", b, r, i[b]);
189
+ const y = "LS-" + n.start, f = "LE-" + n.end, t = { style: "", labelStyle: "" };
193
190
  switch (t.minlen = n.length || 1, n.type === "arrow_open" ? t.arrowhead = "none" : t.arrowhead = "normal", t.arrowTypeStart = "arrow_open", t.arrowTypeEnd = "arrow_open", n.type) {
194
191
  case "double_arrow_cross":
195
192
  t.arrowTypeStart = "arrow_cross";
@@ -207,10 +204,10 @@ const z = {}, ee = function(e) {
207
204
  t.arrowTypeEnd = "arrow_circle";
208
205
  break;
209
206
  }
210
- let s = "", l = "";
207
+ let s = "", w = "";
211
208
  switch (n.stroke) {
212
209
  case "normal":
213
- s = "fill:none;", d !== void 0 && (s = d), b !== void 0 && (l = b), t.thickness = "normal", t.pattern = "solid";
210
+ s = "fill:none;", p !== void 0 && (s = p), u !== void 0 && (w = u), t.thickness = "normal", t.pattern = "solid";
214
211
  break;
215
212
  case "dotted":
216
213
  t.thickness = "normal", t.pattern = "dotted", t.style = "fill:none;stroke-width:2px;stroke-dasharray:3;";
@@ -223,38 +220,38 @@ const z = {}, ee = function(e) {
223
220
  break;
224
221
  }
225
222
  if (n.style !== void 0) {
226
- const w = A(n.style);
227
- s = w.style, l = w.labelStyle;
223
+ const l = E(n.style);
224
+ s = l.style, w = l.labelStyle;
228
225
  }
229
- t.style = t.style += s, t.labelStyle = t.labelStyle += l, n.interpolate !== void 0 ? t.curve = $(n.interpolate, C) : e.defaultInterpolate !== void 0 ? t.curve = $(e.defaultInterpolate, C) : t.curve = $(z.curve, C), n.text === void 0 ? n.style !== void 0 && (t.arrowheadStyle = "fill: #333") : (t.arrowheadStyle = "fill: #333", t.labelpos = "c"), t.labelType = n.labelType, t.label = n.text.replace(D.lineBreakRegex, `
230
- `), n.style === void 0 && (t.style = t.style || "stroke: #333; stroke-width: 1.5px;fill:none;"), t.labelStyle = t.labelStyle.replace("color:", "fill:"), t.id = u, t.classes = "flowchart-link " + h + " " + y, o.setEdge(n.start, n.end, t, a);
231
- });
232
- }, te = function(e, o) {
226
+ t.style = t.style += s, t.labelStyle = t.labelStyle += w, n.interpolate !== void 0 ? t.curve = C(n.interpolate, A) : e.defaultInterpolate !== void 0 ? t.curve = C(e.defaultInterpolate, A) : t.curve = C(O.curve, A), n.text === void 0 ? n.style !== void 0 && (t.arrowheadStyle = "fill: #333") : (t.arrowheadStyle = "fill: #333", t.labelpos = "c"), t.labelType = n.labelType, t.label = await I(n.text.replace(z.lineBreakRegex, `
227
+ `), v()), n.style === void 0 && (t.style = t.style || "stroke: #333; stroke-width: 1.5px;fill:none;"), t.labelStyle = t.labelStyle.replace("color:", "fill:"), t.id = r, t.classes = "flowchart-link " + y + " " + f, o.setEdge(n.start, n.end, t, a);
228
+ }
229
+ }, re = function(e, o) {
233
230
  return o.db.getClasses();
234
- }, re = async function(e, o, c, a) {
231
+ }, oe = async function(e, o, c, a) {
235
232
  g.info("Drawing flowchart");
236
233
  let i = a.db.getDirection();
237
234
  i === void 0 && (i = "TD");
238
- const { securityLevel: d, flowchart: b } = _(), n = b.nodeSpacing || 50, r = b.rankSpacing || 50;
239
- let u;
240
- d === "sandbox" && (u = T("#i" + o));
241
- const h = d === "sandbox" ? T(u.nodes()[0].contentDocument.body) : T("body"), y = d === "sandbox" ? u.nodes()[0].contentDocument : document, t = new P({
235
+ const { securityLevel: p, flowchart: u } = v(), n = u.nodeSpacing || 50, b = u.rankSpacing || 50;
236
+ let r;
237
+ p === "sandbox" && (r = _("#i" + o));
238
+ const y = p === "sandbox" ? _(r.nodes()[0].contentDocument.body) : _("body"), f = p === "sandbox" ? r.nodes()[0].contentDocument : document, t = new F({
242
239
  multigraph: !0,
243
240
  compound: !0
244
241
  }).setGraph({
245
242
  rankdir: i,
246
243
  nodesep: n,
247
- ranksep: r,
244
+ ranksep: b,
248
245
  marginx: 0,
249
246
  marginy: 0
250
247
  }).setDefaultEdgeLabel(function() {
251
248
  return {};
252
249
  });
253
250
  let s;
254
- const l = a.db.getSubGraphs();
255
- g.info("Subgraphs - ", l);
256
- for (let p = l.length - 1; p >= 0; p--)
257
- s = l[p], g.info("Subgraph - ", s), a.db.addVertex(
251
+ const w = a.db.getSubGraphs();
252
+ g.info("Subgraphs - ", w);
253
+ for (let d = w.length - 1; d >= 0; d--)
254
+ s = w[d], g.info("Subgraph - ", s), a.db.addVertex(
258
255
  s.id,
259
256
  { text: s.title, type: s.labelType },
260
257
  "group",
@@ -262,52 +259,52 @@ const z = {}, ee = function(e) {
262
259
  s.classes,
263
260
  s.dir
264
261
  );
265
- const w = a.db.getVertices(), S = a.db.getEdges();
262
+ const l = a.db.getVertices(), S = a.db.getEdges();
266
263
  g.info("Edges", S);
267
- let m = 0;
268
- for (m = l.length - 1; m >= 0; m--) {
269
- s = l[m], X("cluster").append("text");
270
- for (let p = 0; p < s.nodes.length; p++)
271
- g.info("Setting up subgraphs", s.nodes[p], s.id), t.setParent(s.nodes[p], s.id);
264
+ let k = 0;
265
+ for (k = w.length - 1; k >= 0; k--) {
266
+ s = w[k], H("cluster").append("text");
267
+ for (let d = 0; d < s.nodes.length; d++)
268
+ g.info("Setting up subgraphs", s.nodes[d], s.id), t.setParent(s.nodes[d], s.id);
272
269
  }
273
- I(w, t, o, h, y, a), q(S, t);
274
- const x = h.select(`[id="${o}"]`), O = h.select("#" + o + " g");
275
- if (await Q(O, t, ["point", "circle", "cross"], "flowchart", o), G.insertTitle(x, "flowchartTitleText", b.titleTopMargin, a.db.getDiagramTitle()), V(t, x, b.diagramPadding, b.useMaxWidth), a.db.indexNodes("subGraph" + m), !b.htmlLabels) {
276
- const p = y.querySelectorAll('[id="' + o + '"] .edgeLabel .label');
277
- for (const k of p) {
278
- const v = k.getBBox(), f = y.createElementNS("http://www.w3.org/2000/svg", "rect");
279
- f.setAttribute("rx", 0), f.setAttribute("ry", 0), f.setAttribute("width", v.width), f.setAttribute("height", v.height), k.insertBefore(f, k.firstChild);
270
+ await P(l, t, o, y, f, a), await q(S, t);
271
+ const T = y.select(`[id="${o}"]`), $ = y.select("#" + o + " g");
272
+ if (await X($, t, ["point", "circle", "cross"], "flowchart", o), G.insertTitle(T, "flowchartTitleText", u.titleTopMargin, a.db.getDiagramTitle()), M(t, T, u.diagramPadding, u.useMaxWidth), a.db.indexNodes("subGraph" + k), !u.htmlLabels) {
273
+ const d = f.querySelectorAll('[id="' + o + '"] .edgeLabel .label');
274
+ for (const x of d) {
275
+ const m = x.getBBox(), h = f.createElementNS("http://www.w3.org/2000/svg", "rect");
276
+ h.setAttribute("rx", 0), h.setAttribute("ry", 0), h.setAttribute("width", m.width), h.setAttribute("height", m.height), x.insertBefore(h, x.firstChild);
280
277
  }
281
278
  }
282
- Object.keys(w).forEach(function(p) {
283
- const k = w[p];
284
- if (k.link) {
285
- const v = T("#" + o + ' [id="' + p + '"]');
286
- if (v) {
287
- const f = y.createElementNS("http://www.w3.org/2000/svg", "a");
288
- f.setAttributeNS("http://www.w3.org/2000/svg", "class", k.classes.join(" ")), f.setAttributeNS("http://www.w3.org/2000/svg", "href", k.link), f.setAttributeNS("http://www.w3.org/2000/svg", "rel", "noopener"), d === "sandbox" ? f.setAttributeNS("http://www.w3.org/2000/svg", "target", "_top") : k.linkTarget && f.setAttributeNS("http://www.w3.org/2000/svg", "target", k.linkTarget);
289
- const B = v.insert(function() {
290
- return f;
291
- }, ":first-child"), L = v.select(".label-container");
292
- L && B.append(function() {
293
- return L.node();
294
- });
295
- const N = v.select(".label");
296
- N && B.append(function() {
279
+ Object.keys(l).forEach(function(d) {
280
+ const x = l[d];
281
+ if (x.link) {
282
+ const m = _("#" + o + ' [id="' + d + '"]');
283
+ if (m) {
284
+ const h = f.createElementNS("http://www.w3.org/2000/svg", "a");
285
+ h.setAttributeNS("http://www.w3.org/2000/svg", "class", x.classes.join(" ")), h.setAttributeNS("http://www.w3.org/2000/svg", "href", x.link), h.setAttributeNS("http://www.w3.org/2000/svg", "rel", "noopener"), p === "sandbox" ? h.setAttributeNS("http://www.w3.org/2000/svg", "target", "_top") : x.linkTarget && h.setAttributeNS("http://www.w3.org/2000/svg", "target", x.linkTarget);
286
+ const L = m.insert(function() {
287
+ return h;
288
+ }, ":first-child"), N = m.select(".label-container");
289
+ N && L.append(function() {
297
290
  return N.node();
298
291
  });
292
+ const j = m.select(".label");
293
+ j && L.append(function() {
294
+ return j.node();
295
+ });
299
296
  }
300
297
  }
301
298
  });
302
299
  }, ue = {
303
- setConf: ee,
304
- addVertices: I,
300
+ setConf: te,
301
+ addVertices: P,
305
302
  addEdges: q,
306
- getClasses: te,
307
- draw: re
308
- }, oe = (e, o) => {
309
- const c = W, a = c(e, "r"), i = c(e, "g"), d = c(e, "b");
310
- return Y(a, i, d, o);
303
+ getClasses: re,
304
+ draw: oe
305
+ }, ae = (e, o) => {
306
+ const c = Z, a = c(e, "r"), i = c(e, "g"), p = c(e, "b");
307
+ return U(a, i, p, o);
311
308
  }, le = (e) => `.label {
312
309
  font-family: ${e.fontFamily};
313
310
  color: ${e.nodeTextColor || e.textColor};
@@ -343,6 +340,12 @@ const z = {}, ee = function(e) {
343
340
  // text-anchor: start;
344
341
  // }
345
342
 
343
+ .node .katex path {
344
+ fill: #000;
345
+ stroke: #000;
346
+ stroke-width: 1px;
347
+ }
348
+
346
349
  .node .label {
347
350
  text-align: center;
348
351
  }
@@ -376,7 +379,7 @@ const z = {}, ee = function(e) {
376
379
 
377
380
  /* For html labels only */
378
381
  .labelBkg {
379
- background-color: ${oe(e.edgeLabelBackground, 0.5)};
382
+ background-color: ${ae(e.edgeLabelBackground, 0.5)};
380
383
  // background-color:
381
384
  }
382
385
 
@@ -416,15 +419,15 @@ const z = {}, ee = function(e) {
416
419
  font-size: 18px;
417
420
  fill: ${e.textColor};
418
421
  }
419
- `, we = le;
422
+ `, fe = le;
420
423
  export {
421
- K as O,
422
- X as Q,
423
424
  H as Z,
424
425
  pe as b,
425
- ce as d,
426
+ Q as e,
426
427
  be as f,
428
+ fe as h,
427
429
  de as p,
428
- ue as u,
429
- we as w
430
+ ee as t,
431
+ we as u,
432
+ ue as w
430
433
  };
@@ -1,10 +1,10 @@
1
- import { s as ut, g as nt, a as rt, b as at, c as F, v as ot, x as ct, j as L, z as lt, l as ht, y as qe, h as M, d as At, aq as xe } from "./index-CVS7cBlb.js";
1
+ import { s as ut, g as nt, a as rt, b as at, c as F, x as ot, y as ct, j as L, A as lt, l as ht, z as He, h as M, d as At, ar as ve } from "./index-Dz46e5bv.js";
2
2
  var Ie = function() {
3
3
  var e = function(S, n, c, i) {
4
4
  for (c = c || {}, i = S.length; i--; c[S[i]] = n)
5
5
  ;
6
6
  return c;
7
- }, u = [1, 17], r = [1, 18], a = [1, 19], l = [1, 39], p = [1, 40], b = [1, 25], D = [1, 23], B = [1, 24], Ae = [1, 31], pe = [1, 32], de = [1, 33], ye = [1, 34], Ee = [1, 35], Ce = [1, 36], me = [1, 26], be = [1, 27], fe = [1, 28], ge = [1, 29], d = [1, 43], ke = [1, 30], y = [1, 42], E = [1, 44], C = [1, 41], f = [1, 45], Fe = [1, 9], o = [1, 8, 9], z = [1, 56], K = [1, 57], Y = [1, 58], Q = [1, 59], j = [1, 60], Te = [1, 61], De = [1, 62], X = [1, 8, 9, 39], Ge = [1, 74], P = [1, 8, 9, 12, 13, 21, 37, 39, 42, 59, 60, 61, 62, 63, 64, 65, 70, 72], q = [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], H = [13, 74, 80, 95, 97, 98], G = [13, 64, 65, 74, 80, 95, 97, 98], Me = [13, 59, 60, 61, 62, 63, 74, 80, 95, 97, 98], Be = [1, 93], W = [1, 110], J = [1, 108], V = [1, 102], Z = [1, 103], ee = [1, 104], te = [1, 105], se = [1, 106], ie = [1, 107], ue = [1, 109], _e = [1, 8, 9, 37, 39, 42], ne = [1, 8, 9, 21], Ue = [1, 8, 9, 78], _ = [1, 8, 9, 21, 73, 74, 78, 80, 81, 82, 83, 84, 85], Se = {
7
+ }, u = [1, 17], r = [1, 18], a = [1, 19], l = [1, 39], p = [1, 40], b = [1, 25], D = [1, 23], B = [1, 24], Ae = [1, 31], pe = [1, 32], de = [1, 33], ye = [1, 34], Ee = [1, 35], Ce = [1, 36], me = [1, 26], be = [1, 27], fe = [1, 28], ge = [1, 29], d = [1, 43], ke = [1, 30], y = [1, 42], E = [1, 44], C = [1, 41], f = [1, 45], Fe = [1, 9], o = [1, 8, 9], z = [1, 56], K = [1, 57], Y = [1, 58], Q = [1, 59], j = [1, 60], Te = [1, 61], De = [1, 62], X = [1, 8, 9, 39], Ge = [1, 74], P = [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], W = [13, 74, 80, 95, 97, 98], G = [13, 64, 65, 74, 80, 95, 97, 98], Me = [13, 59, 60, 61, 62, 63, 74, 80, 95, 97, 98], Be = [1, 93], q = [1, 110], J = [1, 108], V = [1, 102], Z = [1, 103], ee = [1, 104], te = [1, 105], se = [1, 106], ie = [1, 107], ue = [1, 109], _e = [1, 8, 9, 37, 39, 42], ne = [1, 8, 9, 21], Ue = [1, 8, 9, 78], _ = [1, 8, 9, 21, 73, 74, 78, 80, 81, 82, 83, 84, 85], Se = {
8
8
  trace: function() {
9
9
  },
10
10
  yy: {},
@@ -212,7 +212,7 @@ var Ie = function() {
212
212
  break;
213
213
  }
214
214
  },
215
- 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: u, 33: r, 35: a, 36: 21, 40: l, 41: 22, 44: p, 45: b, 47: D, 48: B, 50: Ae, 52: pe, 53: de, 54: ye, 55: Ee, 56: Ce, 66: me, 67: be, 69: fe, 73: ge, 74: d, 76: ke, 80: y, 95: E, 97: C, 98: f }, { 1: [3] }, { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3] }, e(Fe, [2, 5], { 8: [1, 46] }), { 8: [1, 47] }, e(o, [2, 16], { 21: [1, 48] }), e(o, [2, 18]), e(o, [2, 19]), e(o, [2, 20]), e(o, [2, 21]), e(o, [2, 22]), e(o, [2, 23]), e(o, [2, 24]), e(o, [2, 25]), e(o, [2, 26]), { 32: [1, 49] }, { 34: [1, 50] }, e(o, [2, 29]), e(o, [2, 45], { 49: 51, 57: 54, 58: 55, 13: [1, 52], 21: [1, 53], 59: z, 60: K, 61: Y, 62: Q, 63: j, 64: Te, 65: De }), { 37: [1, 63] }, e(X, [2, 36], { 37: [1, 65], 42: [1, 64] }), e(o, [2, 47]), e(o, [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: f }, { 16: 37, 17: 68, 18: 38, 74: d, 80: y, 95: E, 97: C, 98: f }, { 16: 37, 17: 69, 18: 38, 74: d, 80: y, 95: E, 97: C, 98: f }, { 74: [1, 70] }, { 13: [1, 71] }, { 16: 37, 17: 72, 18: 38, 74: d, 80: y, 95: E, 97: C, 98: f }, { 13: Ge, 51: 73 }, e(o, [2, 55]), e(o, [2, 56]), e(o, [2, 57]), e(o, [2, 58]), e(P, [2, 11], { 16: 37, 18: 38, 17: 75, 19: [1, 76], 74: d, 80: y, 95: E, 97: C, 98: f }), e(P, [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: f }, e(q, [2, 112]), e(q, [2, 113]), e(q, [2, 114]), e(q, [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(Fe, [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: u, 33: r, 35: a, 40: l, 44: p, 45: b, 47: D, 48: B, 50: Ae, 52: pe, 53: de, 54: ye, 55: Ee, 56: Ce, 66: me, 67: be, 69: fe, 73: ge, 74: d, 76: ke, 80: y, 95: E, 97: C, 98: f }), { 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: u, 33: r, 35: a, 36: 21, 40: l, 41: 22, 44: p, 45: b, 47: D, 48: B, 50: Ae, 52: pe, 53: de, 54: ye, 55: Ee, 56: Ce, 66: me, 67: be, 69: fe, 73: ge, 74: d, 76: ke, 80: y, 95: E, 97: C, 98: f }, e(o, [2, 17]), e(o, [2, 27]), e(o, [2, 28]), { 13: [1, 84], 16: 37, 17: 83, 18: 38, 74: d, 80: y, 95: E, 97: C, 98: f }, { 49: 85, 57: 54, 58: 55, 59: z, 60: K, 61: Y, 62: Q, 63: j, 64: Te, 65: De }, e(o, [2, 46]), { 58: 86, 64: Te, 65: De }, e(H, [2, 62], { 57: 87, 59: z, 60: K, 61: Y, 62: Q, 63: j }), e(G, [2, 63]), e(G, [2, 64]), e(G, [2, 65]), e(G, [2, 66]), e(G, [2, 67]), e(Me, [2, 68]), e(Me, [2, 69]), { 8: [1, 89], 23: 90, 38: 88, 41: 22, 44: p }, { 16: 91, 74: d, 80: y, 95: E, 97: C }, { 43: 92, 47: Be }, { 46: [1, 94] }, { 13: [1, 95] }, { 13: [1, 96] }, { 70: [1, 97], 72: [1, 98] }, { 21: W, 73: J, 74: V, 75: 99, 77: 100, 79: 101, 80: Z, 81: ee, 82: te, 83: se, 84: ie, 85: ue }, { 74: [1, 111] }, { 13: Ge, 51: 112 }, e(o, [2, 54]), e(o, [2, 117]), e(P, [2, 13]), e(P, [2, 14]), e(P, [2, 15]), { 37: [2, 32] }, { 15: 113, 16: 79, 37: [2, 9], 74: d, 80: y, 95: E, 97: C }, e(_e, [2, 40], { 11: 114, 12: [1, 115] }), e(Fe, [2, 7]), { 9: [1, 116] }, e(ne, [2, 49]), { 16: 37, 17: 117, 18: 38, 74: d, 80: y, 95: E, 97: C, 98: f }, { 13: [1, 119], 16: 37, 17: 118, 18: 38, 74: d, 80: y, 95: E, 97: C, 98: f }, e(H, [2, 61], { 57: 120, 59: z, 60: K, 61: Y, 62: Q, 63: j }), e(H, [2, 60]), { 39: [1, 121] }, { 23: 90, 38: 122, 41: 22, 44: p }, { 8: [1, 123], 39: [2, 33] }, e(X, [2, 37], { 37: [1, 124] }), { 39: [1, 125] }, { 39: [2, 43], 43: 126, 47: Be }, { 16: 37, 17: 127, 18: 38, 74: d, 80: y, 95: E, 97: C, 98: f }, e(o, [2, 70], { 13: [1, 128] }), e(o, [2, 72], { 13: [1, 130], 68: [1, 129] }), e(o, [2, 76], { 13: [1, 131], 71: [1, 132] }), { 13: [1, 133] }, e(o, [2, 84], { 78: [1, 134] }), e(Ue, [2, 86], { 79: 135, 21: W, 73: J, 74: V, 80: Z, 81: ee, 82: te, 83: se, 84: ie, 85: ue }), e(_, [2, 88]), e(_, [2, 90]), e(_, [2, 91]), e(_, [2, 92]), e(_, [2, 93]), e(_, [2, 94]), e(_, [2, 95]), e(_, [2, 96]), e(_, [2, 97]), e(_, [2, 98]), e(o, [2, 85]), e(o, [2, 53]), { 37: [2, 10] }, e(_e, [2, 41]), { 13: [1, 136] }, { 1: [2, 4] }, e(ne, [2, 51]), e(ne, [2, 50]), { 16: 37, 17: 137, 18: 38, 74: d, 80: y, 95: E, 97: C, 98: f }, e(H, [2, 59]), e(o, [2, 30]), { 39: [1, 138] }, { 23: 90, 38: 139, 39: [2, 34], 41: 22, 44: p }, { 43: 140, 47: Be }, e(X, [2, 38]), { 39: [2, 44] }, e(o, [2, 42]), e(o, [2, 71]), e(o, [2, 73]), e(o, [2, 74], { 68: [1, 141] }), e(o, [2, 77]), e(o, [2, 78], { 13: [1, 142] }), e(o, [2, 80], { 13: [1, 144], 68: [1, 143] }), { 21: W, 73: J, 74: V, 77: 145, 79: 101, 80: Z, 81: ee, 82: te, 83: se, 84: ie, 85: ue }, e(_, [2, 89]), { 14: [1, 146] }, e(ne, [2, 52]), e(o, [2, 31]), { 39: [2, 35] }, { 39: [1, 147] }, e(o, [2, 75]), e(o, [2, 79]), e(o, [2, 81]), e(o, [2, 82], { 68: [1, 148] }), e(Ue, [2, 87], { 79: 135, 21: W, 73: J, 74: V, 80: Z, 81: ee, 82: te, 83: se, 84: ie, 85: ue }), e(_e, [2, 8]), e(X, [2, 39]), e(o, [2, 83])],
215
+ 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: u, 33: r, 35: a, 36: 21, 40: l, 41: 22, 44: p, 45: b, 47: D, 48: B, 50: Ae, 52: pe, 53: de, 54: ye, 55: Ee, 56: Ce, 66: me, 67: be, 69: fe, 73: ge, 74: d, 76: ke, 80: y, 95: E, 97: C, 98: f }, { 1: [3] }, { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3] }, e(Fe, [2, 5], { 8: [1, 46] }), { 8: [1, 47] }, e(o, [2, 16], { 21: [1, 48] }), e(o, [2, 18]), e(o, [2, 19]), e(o, [2, 20]), e(o, [2, 21]), e(o, [2, 22]), e(o, [2, 23]), e(o, [2, 24]), e(o, [2, 25]), e(o, [2, 26]), { 32: [1, 49] }, { 34: [1, 50] }, e(o, [2, 29]), e(o, [2, 45], { 49: 51, 57: 54, 58: 55, 13: [1, 52], 21: [1, 53], 59: z, 60: K, 61: Y, 62: Q, 63: j, 64: Te, 65: De }), { 37: [1, 63] }, e(X, [2, 36], { 37: [1, 65], 42: [1, 64] }), e(o, [2, 47]), e(o, [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: f }, { 16: 37, 17: 68, 18: 38, 74: d, 80: y, 95: E, 97: C, 98: f }, { 16: 37, 17: 69, 18: 38, 74: d, 80: y, 95: E, 97: C, 98: f }, { 74: [1, 70] }, { 13: [1, 71] }, { 16: 37, 17: 72, 18: 38, 74: d, 80: y, 95: E, 97: C, 98: f }, { 13: Ge, 51: 73 }, e(o, [2, 55]), e(o, [2, 56]), e(o, [2, 57]), e(o, [2, 58]), e(P, [2, 11], { 16: 37, 18: 38, 17: 75, 19: [1, 76], 74: d, 80: y, 95: E, 97: C, 98: f }), e(P, [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: f }, 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(Fe, [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: u, 33: r, 35: a, 40: l, 44: p, 45: b, 47: D, 48: B, 50: Ae, 52: pe, 53: de, 54: ye, 55: Ee, 56: Ce, 66: me, 67: be, 69: fe, 73: ge, 74: d, 76: ke, 80: y, 95: E, 97: C, 98: f }), { 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: u, 33: r, 35: a, 36: 21, 40: l, 41: 22, 44: p, 45: b, 47: D, 48: B, 50: Ae, 52: pe, 53: de, 54: ye, 55: Ee, 56: Ce, 66: me, 67: be, 69: fe, 73: ge, 74: d, 76: ke, 80: y, 95: E, 97: C, 98: f }, e(o, [2, 17]), e(o, [2, 27]), e(o, [2, 28]), { 13: [1, 84], 16: 37, 17: 83, 18: 38, 74: d, 80: y, 95: E, 97: C, 98: f }, { 49: 85, 57: 54, 58: 55, 59: z, 60: K, 61: Y, 62: Q, 63: j, 64: Te, 65: De }, e(o, [2, 46]), { 58: 86, 64: Te, 65: De }, e(W, [2, 62], { 57: 87, 59: z, 60: K, 61: Y, 62: Q, 63: j }), e(G, [2, 63]), e(G, [2, 64]), e(G, [2, 65]), e(G, [2, 66]), e(G, [2, 67]), e(Me, [2, 68]), e(Me, [2, 69]), { 8: [1, 89], 23: 90, 38: 88, 41: 22, 44: p }, { 16: 91, 74: d, 80: y, 95: E, 97: C }, { 43: 92, 47: Be }, { 46: [1, 94] }, { 13: [1, 95] }, { 13: [1, 96] }, { 70: [1, 97], 72: [1, 98] }, { 21: q, 73: J, 74: V, 75: 99, 77: 100, 79: 101, 80: Z, 81: ee, 82: te, 83: se, 84: ie, 85: ue }, { 74: [1, 111] }, { 13: Ge, 51: 112 }, e(o, [2, 54]), e(o, [2, 117]), e(P, [2, 13]), e(P, [2, 14]), e(P, [2, 15]), { 37: [2, 32] }, { 15: 113, 16: 79, 37: [2, 9], 74: d, 80: y, 95: E, 97: C }, e(_e, [2, 40], { 11: 114, 12: [1, 115] }), e(Fe, [2, 7]), { 9: [1, 116] }, e(ne, [2, 49]), { 16: 37, 17: 117, 18: 38, 74: d, 80: y, 95: E, 97: C, 98: f }, { 13: [1, 119], 16: 37, 17: 118, 18: 38, 74: d, 80: y, 95: E, 97: C, 98: f }, e(W, [2, 61], { 57: 120, 59: z, 60: K, 61: Y, 62: Q, 63: j }), e(W, [2, 60]), { 39: [1, 121] }, { 23: 90, 38: 122, 41: 22, 44: p }, { 8: [1, 123], 39: [2, 33] }, e(X, [2, 37], { 37: [1, 124] }), { 39: [1, 125] }, { 39: [2, 43], 43: 126, 47: Be }, { 16: 37, 17: 127, 18: 38, 74: d, 80: y, 95: E, 97: C, 98: f }, e(o, [2, 70], { 13: [1, 128] }), e(o, [2, 72], { 13: [1, 130], 68: [1, 129] }), e(o, [2, 76], { 13: [1, 131], 71: [1, 132] }), { 13: [1, 133] }, e(o, [2, 84], { 78: [1, 134] }), e(Ue, [2, 86], { 79: 135, 21: q, 73: J, 74: V, 80: Z, 81: ee, 82: te, 83: se, 84: ie, 85: ue }), e(_, [2, 88]), e(_, [2, 90]), e(_, [2, 91]), e(_, [2, 92]), e(_, [2, 93]), e(_, [2, 94]), e(_, [2, 95]), e(_, [2, 96]), e(_, [2, 97]), e(_, [2, 98]), e(o, [2, 85]), e(o, [2, 53]), { 37: [2, 10] }, e(_e, [2, 41]), { 13: [1, 136] }, { 1: [2, 4] }, e(ne, [2, 51]), e(ne, [2, 50]), { 16: 37, 17: 137, 18: 38, 74: d, 80: y, 95: E, 97: C, 98: f }, e(W, [2, 59]), e(o, [2, 30]), { 39: [1, 138] }, { 23: 90, 38: 139, 39: [2, 34], 41: 22, 44: p }, { 43: 140, 47: Be }, e(X, [2, 38]), { 39: [2, 44] }, e(o, [2, 42]), e(o, [2, 71]), e(o, [2, 73]), e(o, [2, 74], { 68: [1, 141] }), e(o, [2, 77]), e(o, [2, 78], { 13: [1, 142] }), e(o, [2, 80], { 13: [1, 144], 68: [1, 143] }), { 21: q, 73: J, 74: V, 77: 145, 79: 101, 80: Z, 81: ee, 82: te, 83: se, 84: ie, 85: ue }, e(_, [2, 89]), { 14: [1, 146] }, e(ne, [2, 52]), e(o, [2, 31]), { 39: [2, 35] }, { 39: [1, 147] }, e(o, [2, 75]), e(o, [2, 79]), e(o, [2, 81]), e(o, [2, 82], { 68: [1, 148] }), e(Ue, [2, 87], { 79: 135, 21: q, 73: J, 74: V, 80: Z, 81: ee, 82: te, 83: se, 84: ie, 85: ue }), e(_e, [2, 8]), e(X, [2, 39]), e(o, [2, 83])],
216
216
  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] },
217
217
  parseError: function(S, n) {
218
218
  if (n.recoverable)
@@ -223,27 +223,27 @@ var Ie = function() {
223
223
  }
224
224
  },
225
225
  parse: function(S) {
226
- var n = this, c = [0], i = [], h = [null], t = [], g = this.table, s = "", re = 0, ze = 0, et = 2, Ke = 1, tt = t.slice.call(arguments, 1), m = Object.create(this.lexer), v = { yy: {} };
226
+ var n = this, c = [0], i = [], h = [null], t = [], g = this.table, s = "", re = 0, ze = 0, et = 2, Ke = 1, tt = t.slice.call(arguments, 1), m = Object.create(this.lexer), x = { yy: {} };
227
227
  for (var $e in this.yy)
228
- Object.prototype.hasOwnProperty.call(this.yy, $e) && (v.yy[$e] = this.yy[$e]);
229
- m.setInput(S, v.yy), v.yy.lexer = m, v.yy.parser = this, typeof m.yylloc > "u" && (m.yylloc = {});
228
+ Object.prototype.hasOwnProperty.call(this.yy, $e) && (x.yy[$e] = this.yy[$e]);
229
+ m.setInput(S, x.yy), x.yy.lexer = m, x.yy.parser = this, typeof m.yylloc > "u" && (m.yylloc = {});
230
230
  var Le = m.yylloc;
231
231
  t.push(Le);
232
232
  var st = m.options && m.options.ranges;
233
- typeof v.yy.parseError == "function" ? this.parseError = v.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
233
+ typeof x.yy.parseError == "function" ? this.parseError = x.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
234
234
  function it() {
235
235
  var $;
236
236
  return $ = i.pop() || m.lex() || Ke, typeof $ != "number" && ($ instanceof Array && (i = $, $ = i.pop()), $ = n.symbols_[$] || $), $;
237
237
  }
238
- for (var k, x, T, Oe, w = {}, ae, N, Ye, oe; ; ) {
239
- if (x = c[c.length - 1], this.defaultActions[x] ? T = this.defaultActions[x] : ((k === null || typeof k > "u") && (k = it()), T = g[x] && g[x][k]), typeof T > "u" || !T.length || !T[0]) {
240
- var ve = "";
238
+ for (var k, v, T, Oe, w = {}, ae, N, Ye, oe; ; ) {
239
+ if (v = c[c.length - 1], this.defaultActions[v] ? T = this.defaultActions[v] : ((k === null || typeof k > "u") && (k = it()), T = g[v] && g[v][k]), typeof T > "u" || !T.length || !T[0]) {
240
+ var xe = "";
241
241
  oe = [];
242
- for (ae in g[x])
242
+ for (ae in g[v])
243
243
  this.terminals_[ae] && ae > et && oe.push("'" + this.terminals_[ae] + "'");
244
- m.showPosition ? ve = "Parse error on line " + (re + 1) + `:
244
+ m.showPosition ? xe = "Parse error on line " + (re + 1) + `:
245
245
  ` + m.showPosition() + `
246
- Expecting ` + oe.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : ve = "Parse error on line " + (re + 1) + ": Unexpected " + (k == Ke ? "end of input" : "'" + (this.terminals_[k] || k) + "'"), this.parseError(ve, {
246
+ Expecting ` + oe.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : xe = "Parse error on line " + (re + 1) + ": Unexpected " + (k == Ke ? "end of input" : "'" + (this.terminals_[k] || k) + "'"), this.parseError(xe, {
247
247
  text: m.match,
248
248
  token: this.terminals_[k] || k,
249
249
  line: m.yylineno,
@@ -252,7 +252,7 @@ Expecting ` + oe.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : ve =
252
252
  });
253
253
  }
254
254
  if (T[0] instanceof Array && T.length > 1)
255
- throw new Error("Parse Error: multiple actions possible at state: " + x + ", token: " + k);
255
+ throw new Error("Parse Error: multiple actions possible at state: " + v + ", token: " + k);
256
256
  switch (T[0]) {
257
257
  case 1:
258
258
  c.push(k), h.push(m.yytext), t.push(m.yylloc), c.push(T[1]), k = null, ze = m.yyleng, s = m.yytext, re = m.yylineno, Le = m.yylloc;
@@ -270,7 +270,7 @@ Expecting ` + oe.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : ve =
270
270
  s,
271
271
  ze,
272
272
  re,
273
- v.yy,
273
+ x.yy,
274
274
  T[1],
275
275
  h,
276
276
  t
@@ -684,8 +684,8 @@ class je {
684
684
  this.parseMember(a);
685
685
  }
686
686
  getDisplayDetails() {
687
- let u = this.visibility + xe(this.id);
688
- this.memberType === "method" && (u += `(${xe(this.parameters.trim())})`, this.returnType && (u += " : " + xe(this.returnType))), u = u.trim();
687
+ let u = this.visibility + ve(this.id);
688
+ this.memberType === "method" && (u += `(${ve(this.parameters.trim())})`, this.returnType && (u += " : " + ve(this.returnType))), u = u.trim();
689
689
  const r = this.parseClassifier();
690
690
  return {
691
691
  displayText: u,
@@ -754,7 +754,7 @@ const I = (e) => L.sanitizeText(e, F()), R = function(e) {
754
754
  styles: [],
755
755
  domId: he + l + "-" + Xe
756
756
  }, Xe++;
757
- }, He = function(e) {
757
+ }, We = function(e) {
758
758
  const u = L.sanitizeText(e, F());
759
759
  if (u in A)
760
760
  return A[u].domId;
@@ -774,7 +774,7 @@ const I = (e) => L.sanitizeText(e, F()), R = function(e) {
774
774
  }, ft = function(e, u) {
775
775
  const r = R(e).className;
776
776
  A[r].annotations.push(u);
777
- }, We = function(e, u) {
777
+ }, qe = function(e, u) {
778
778
  le(e);
779
779
  const r = R(e).className, a = A[r];
780
780
  if (typeof u == "string") {
@@ -782,7 +782,7 @@ const I = (e) => L.sanitizeText(e, F()), R = function(e) {
782
782
  l.startsWith("<<") && l.endsWith(">>") ? a.annotations.push(I(l.substring(2, l.length - 2))) : l.indexOf(")") > 0 ? a.methods.push(new je(l, "method")) : l && a.members.push(new je(l, "attribute"));
783
783
  }
784
784
  }, gt = function(e, u) {
785
- Array.isArray(u) && (u.reverse(), u.forEach((r) => We(e, r)));
785
+ Array.isArray(u) && (u.reverse(), u.forEach((r) => qe(e, r)));
786
786
  }, kt = function(e, u) {
787
787
  const r = {
788
788
  id: `note${ce.length}`,
@@ -807,7 +807,7 @@ const I = (e) => L.sanitizeText(e, F()), R = function(e) {
807
807
  const a = F();
808
808
  e.split(",").forEach(function(l) {
809
809
  let p = l;
810
- l[0].match(/\d/) && (p = he + p), A[p] !== void 0 && (A[p].link = qe.formatUrl(u, a), a.securityLevel === "sandbox" ? A[p].linkTarget = "_top" : typeof r == "string" ? A[p].linkTarget = I(r) : A[p].linkTarget = "_blank");
810
+ l[0].match(/\d/) && (p = he + p), A[p] !== void 0 && (A[p].link = He.formatUrl(u, a), a.securityLevel === "sandbox" ? A[p].linkTarget = "_top" : typeof r == "string" ? A[p].linkTarget = I(r) : A[p].linkTarget = "_blank");
811
811
  }), Pe(e, "clickable");
812
812
  }, _t = function(e, u, r) {
813
813
  e.split(",").forEach(function(a) {
@@ -819,7 +819,7 @@ const I = (e) => L.sanitizeText(e, F()), R = function(e) {
819
819
  return;
820
820
  const l = a;
821
821
  if (A[l] !== void 0) {
822
- const p = He(l);
822
+ const p = We(l);
823
823
  let b = [];
824
824
  if (typeof r == "string") {
825
825
  b = r.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
@@ -833,7 +833,7 @@ const I = (e) => L.sanitizeText(e, F()), R = function(e) {
833
833
  D !== null && D.addEventListener(
834
834
  "click",
835
835
  function() {
836
- qe.runFunc(u, ...b);
836
+ He.runFunc(u, ...b);
837
837
  },
838
838
  !1
839
839
  );
@@ -866,9 +866,9 @@ const I = (e) => L.sanitizeText(e, F()), R = function(e) {
866
866
  };
867
867
  U.push(Je);
868
868
  let Ve = "TB";
869
- const Ot = () => Ve, vt = (e) => {
869
+ const Ot = () => Ve, xt = (e) => {
870
870
  Ve = e;
871
- }, xt = function(e) {
871
+ }, vt = function(e) {
872
872
  O[e] === void 0 && (O[e] = {
873
873
  id: e,
874
874
  classes: {},
@@ -907,8 +907,8 @@ const Ot = () => Ve, vt = (e) => {
907
907
  getRelations: Ct,
908
908
  addRelation: bt,
909
909
  getDirection: Ot,
910
- setDirection: vt,
911
- addMember: We,
910
+ setDirection: xt,
911
+ addMember: qe,
912
912
  addMembers: gt,
913
913
  cleanupLabel: Ft,
914
914
  lineType: $t,
@@ -918,11 +918,11 @@ const Ot = () => Ve, vt = (e) => {
918
918
  setLink: Bt,
919
919
  getTooltip: Dt,
920
920
  setTooltip: Tt,
921
- lookUpDomId: He,
921
+ lookUpDomId: We,
922
922
  setDiagramTitle: ot,
923
923
  getDiagramTitle: ct,
924
924
  setClassLabel: pt,
925
- addNamespace: xt,
925
+ addNamespace: vt,
926
926
  addClassesToNamespace: wt,
927
927
  getNamespace: It,
928
928
  getNamespaces: Rt,
@@ -1,7 +1,7 @@
1
- import { m as i, n as o } from "./index-CVS7cBlb.js";
1
+ import { m as i, n as o } from "./index-Dz46e5bv.js";
2
2
  const x = (e, t) => {
3
3
  const r = e.append("rect");
4
- if (r.attr("x", t.x), r.attr("y", t.y), r.attr("fill", t.fill), r.attr("stroke", t.stroke), r.attr("width", t.width), r.attr("height", t.height), t.rx !== void 0 && r.attr("rx", t.rx), t.ry !== void 0 && r.attr("ry", t.ry), t.attrs !== void 0)
4
+ if (r.attr("x", t.x), r.attr("y", t.y), r.attr("fill", t.fill), r.attr("stroke", t.stroke), r.attr("width", t.width), r.attr("height", t.height), t.name && r.attr("name", t.name), t.rx !== void 0 && r.attr("rx", t.rx), t.ry !== void 0 && r.attr("ry", t.ry), t.attrs !== void 0)
5
5
  for (const a in t.attrs)
6
6
  r.attr(a, t.attrs[a]);
7
7
  return t.class !== void 0 && r.attr("class", t.class), r;
@@ -54,11 +54,11 @@ const x = (e, t) => {
54
54
  tspan: !0
55
55
  });
56
56
  export {
57
- x as c,
58
57
  h as d,
59
- p as g,
58
+ g,
60
59
  y as h,
61
- g as p,
60
+ x as l,
61
+ p,
62
62
  c as x,
63
63
  d as y
64
64
  };