@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,9 +1,7 @@
1
1
  import { t as l } from "./init-DjUOC4st-C8Nwz6AJ.js";
2
2
  class o extends Map {
3
3
  constructor(t, e = p) {
4
- if (super(), Object.defineProperties(this, { _intern: { value: /* @__PURE__ */ new Map() }, _key: { value: e } }), t != null)
5
- for (const [r, s] of t)
6
- this.set(r, s);
4
+ if (super(), Object.defineProperties(this, { _intern: { value: /* @__PURE__ */ new Map() }, _key: { value: e } }), t != null) for (const [r, s] of t) this.set(r, s);
7
5
  }
8
6
  get(t) {
9
7
  return super.get(c(this, t));
@@ -39,15 +37,13 @@ function g() {
39
37
  function s(u) {
40
38
  let i = n.get(u);
41
39
  if (i === void 0) {
42
- if (r !== f)
43
- return r;
40
+ if (r !== f) return r;
44
41
  n.set(u, i = t.push(u) - 1);
45
42
  }
46
43
  return e[i % e.length];
47
44
  }
48
45
  return s.domain = function(u) {
49
- if (!arguments.length)
50
- return t.slice();
46
+ if (!arguments.length) return t.slice();
51
47
  t = [], n = new o();
52
48
  for (const i of u)
53
49
  n.has(i) || n.set(i, t.push(i) - 1);
@@ -6,10 +6,8 @@ function T(n) {
6
6
  }
7
7
  function E(n) {
8
8
  let t = Math.floor(n);
9
- if (!(t >= 0))
10
- throw new Error(`invalid digits: ${n}`);
11
- if (t > 15)
12
- return T;
9
+ if (!(t >= 0)) throw new Error(`invalid digits: ${n}`);
10
+ if (t > 15) return T;
13
11
  const i = 10 ** t;
14
12
  return function(s) {
15
13
  this._ += s[0];
@@ -38,22 +36,19 @@ class L {
38
36
  this._append`C${+t},${+i},${+s},${+h},${this._x1 = +_},${this._y1 = +a}`;
39
37
  }
40
38
  arcTo(t, i, s, h, _) {
41
- if (t = +t, i = +i, s = +s, h = +h, _ = +_, _ < 0)
42
- throw new Error(`negative radius: ${_}`);
39
+ if (t = +t, i = +i, s = +s, h = +h, _ = +_, _ < 0) throw new Error(`negative radius: ${_}`);
43
40
  let a = this._x1, u = this._y1, l = s - t, $ = h - i, e = a - t, o = u - i, r = e * e + o * o;
44
41
  if (this._x1 === null)
45
42
  this._append`M${this._x1 = t},${this._y1 = i}`;
46
- else if (r > p)
47
- if (!(Math.abs(o * l - $ * e) > p) || !_)
48
- this._append`L${this._x1 = t},${this._y1 = i}`;
49
- else {
50
- let d = s - a, x = h - u, y = l * l + $ * $, m = d * d + x * x, g = Math.sqrt(y), w = Math.sqrt(r), v = _ * Math.tan((f - Math.acos((y + r - m) / (2 * g * w))) / 2), c = v / w, b = v / g;
51
- Math.abs(c - 1) > p && this._append`L${t + c * e},${i + c * o}`, this._append`A${_},${_},0,0,${+(o * d > e * x)},${this._x1 = t + b * l},${this._y1 = i + b * $}`;
52
- }
43
+ else if (r > p) if (!(Math.abs(o * l - $ * e) > p) || !_)
44
+ this._append`L${this._x1 = t},${this._y1 = i}`;
45
+ else {
46
+ let d = s - a, x = h - u, y = l * l + $ * $, m = d * d + x * x, g = Math.sqrt(y), w = Math.sqrt(r), v = _ * Math.tan((f - Math.acos((y + r - m) / (2 * g * w))) / 2), c = v / w, b = v / g;
47
+ Math.abs(c - 1) > p && this._append`L${t + c * e},${i + c * o}`, this._append`A${_},${_},0,0,${+(o * d > e * x)},${this._x1 = t + b * l},${this._y1 = i + b * $}`;
48
+ }
53
49
  }
54
50
  arc(t, i, s, h, _, a) {
55
- if (t = +t, i = +i, s = +s, a = !!a, s < 0)
56
- throw new Error(`negative radius: ${s}`);
51
+ if (t = +t, i = +i, s = +s, a = !!a, s < 0) throw new Error(`negative radius: ${s}`);
57
52
  let u = s * Math.cos(h), l = s * Math.sin(h), $ = t + u, e = i + l, o = 1 ^ a, r = a ? h - _ : _ - h;
58
53
  this._x1 === null ? this._append`M${$},${e}` : (Math.abs(this._x1 - $) > p || Math.abs(this._y1 - e) > p) && this._append`L${$},${e}`, s && (r < 0 && (r = r % M + M), r > A ? this._append`A${s},${s},0,1,${o},${t - u},${i - l}A${s},${s},0,1,${o},${this._x1 = $},${this._y1 = e}` : r > p && this._append`A${s},${s},0,${+(r >= f)},${o},${this._x1 = t + s * Math.cos(_)},${this._y1 = i + s * Math.sin(_)}`);
59
54
  }
@@ -72,14 +67,12 @@ function q(n) {
72
67
  function C(n) {
73
68
  let t = 3;
74
69
  return n.digits = function(i) {
75
- if (!arguments.length)
76
- return t;
70
+ if (!arguments.length) return t;
77
71
  if (i == null)
78
72
  t = null;
79
73
  else {
80
74
  const s = Math.floor(i);
81
- if (!(s >= 0))
82
- throw new RangeError(`invalid digits: ${i}`);
75
+ if (!(s >= 0)) throw new RangeError(`invalid digits: ${i}`);
83
76
  t = s;
84
77
  }
85
78
  return n;
@@ -1,26 +1,26 @@
1
- import { aJ as rt, v as at, x as lt, s as ct, g as ot, b as ht, a as ut, z as yt, d as pt, c as tt, l as et, aK as gt, aI as ft, aL as mt, i as dt, aM as H } from "./index-CVS7cBlb.js";
2
- import { v as Z } from "./arc-TomPQHIy-B0wkvDWU.js";
3
- import { h as _t } from "./ordinal-MUacOSdK-B1MUT0BL.js";
1
+ import { aK as rt, x as at, y as lt, s as ct, g as ot, b as ht, a as ut, A as yt, d as pt, c as tt, l as et, aL as gt, aJ as ft, aM as mt, i as dt, aN as B } from "./index-Dz46e5bv.js";
2
+ import { v as Z } from "./arc-CJ96KFKf-ZAEyyrBI.js";
3
+ import { h as _t } from "./ordinal-DfAQgscy-BEJTu10r.js";
4
4
  import { t as bt } from "./array-CqVTtuYm-fKLgkG2b.js";
5
- import { P as R } from "./path-Crsf9Nsj-SiSjwXsf.js";
6
- function vt(e, h) {
5
+ import { P as R } from "./path-DLwuMfdd-EbErTa4c.js";
6
+ function xt(e, h) {
7
7
  return h < e ? -1 : h > e ? 1 : h >= e ? 0 : NaN;
8
8
  }
9
- function xt(e) {
9
+ function vt(e) {
10
10
  return e;
11
11
  }
12
12
  function kt() {
13
- var e = xt, h = vt, p = null, w = R(0), k = R(H), S = R(0);
13
+ var e = vt, h = xt, p = null, w = R(0), k = R(B), A = R(0);
14
14
  function u(r) {
15
- var l, m = (r = bt(r)).length, d, I, T = 0, _ = new Array(m), v = new Array(m), c = +w.apply(this, arguments), A = Math.min(H, Math.max(-H, k.apply(this, arguments) - c)), D, E = Math.min(Math.abs(A) / m, S.apply(this, arguments)), f = E * (A < 0 ? -1 : 1), t;
15
+ var l, m = (r = bt(r)).length, d, I, T = 0, _ = new Array(m), x = new Array(m), c = +w.apply(this, arguments), S = Math.min(B, Math.max(-B, k.apply(this, arguments) - c)), D, E = Math.min(Math.abs(S) / m, A.apply(this, arguments)), f = E * (S < 0 ? -1 : 1), t;
16
16
  for (l = 0; l < m; ++l)
17
- (t = v[_[l] = l] = +e(r[l], l, r)) > 0 && (T += t);
17
+ (t = x[_[l] = l] = +e(r[l], l, r)) > 0 && (T += t);
18
18
  for (h != null ? _.sort(function(i, s) {
19
- return h(v[i], v[s]);
19
+ return h(x[i], x[s]);
20
20
  }) : p != null && _.sort(function(i, s) {
21
21
  return p(r[i], r[s]);
22
- }), l = 0, I = T ? (A - m * f) / T : 0; l < m; ++l, c = D)
23
- d = _[l], t = v[d], D = c + (t > 0 ? t * I : 0) + f, v[d] = {
22
+ }), l = 0, I = T ? (S - m * f) / T : 0; l < m; ++l, c = D)
23
+ d = _[l], t = x[d], D = c + (t > 0 ? t * I : 0) + f, x[d] = {
24
24
  data: r[d],
25
25
  index: l,
26
26
  value: t,
@@ -28,7 +28,7 @@ function kt() {
28
28
  endAngle: D,
29
29
  padAngle: E
30
30
  };
31
- return v;
31
+ return x;
32
32
  }
33
33
  return u.value = function(r) {
34
34
  return arguments.length ? (e = typeof r == "function" ? r : R(+r), u) : e;
@@ -41,15 +41,15 @@ function kt() {
41
41
  }, u.endAngle = function(r) {
42
42
  return arguments.length ? (k = typeof r == "function" ? r : R(+r), u) : k;
43
43
  }, u.padAngle = function(r) {
44
- return arguments.length ? (S = typeof r == "function" ? r : R(+r), u) : S;
44
+ return arguments.length ? (A = typeof r == "function" ? r : R(+r), u) : A;
45
45
  }, u;
46
46
  }
47
- var Q = function() {
47
+ var H = function() {
48
48
  var e = function(f, t, i, s) {
49
49
  for (i = i || {}, s = f.length; s--; i[f[s]] = t)
50
50
  ;
51
51
  return i;
52
- }, h = [1, 3], p = [1, 4], w = [1, 5], k = [1, 6], S = [1, 10, 12, 14, 16, 18, 19, 20, 21, 22], u = [2, 4], r = [1, 5, 10, 12, 14, 16, 18, 19, 20, 21, 22], l = [20, 21, 22], m = [2, 7], d = [1, 12], I = [1, 13], T = [1, 14], _ = [1, 15], v = [1, 16], c = [1, 17], A = {
52
+ }, h = [1, 3], p = [1, 4], w = [1, 5], k = [1, 6], A = [1, 10, 12, 14, 16, 18, 19, 20, 21, 22], u = [2, 4], r = [1, 5, 10, 12, 14, 16, 18, 19, 20, 21, 22], l = [20, 21, 22], m = [2, 7], d = [1, 12], I = [1, 13], T = [1, 14], _ = [1, 15], x = [1, 16], c = [1, 17], S = {
53
53
  trace: function() {
54
54
  },
55
55
  yy: {},
@@ -57,33 +57,33 @@ var Q = function() {
57
57
  terminals_: { 2: "error", 5: "PIE", 7: "showData", 10: "txt", 11: "value", 12: "title", 13: "title_value", 14: "acc_title", 15: "acc_title_value", 16: "acc_descr", 17: "acc_descr_value", 18: "acc_descr_multiline_value", 19: "section", 20: "NEWLINE", 21: ";", 22: "EOF" },
58
58
  productions_: [0, [3, 2], [3, 2], [3, 3], [6, 0], [6, 2], [8, 2], [9, 0], [9, 2], [9, 2], [9, 2], [9, 2], [9, 1], [9, 1], [4, 1], [4, 1], [4, 1]],
59
59
  performAction: function(f, t, i, s, a, n, y) {
60
- var x = n.length - 1;
60
+ var v = n.length - 1;
61
61
  switch (a) {
62
62
  case 3:
63
63
  s.setShowData(!0);
64
64
  break;
65
65
  case 6:
66
- this.$ = n[x - 1];
66
+ this.$ = n[v - 1];
67
67
  break;
68
68
  case 8:
69
- s.addSection(n[x - 1], s.cleanupValue(n[x]));
69
+ s.addSection(n[v - 1], s.cleanupValue(n[v]));
70
70
  break;
71
71
  case 9:
72
- this.$ = n[x].trim(), s.setDiagramTitle(this.$);
72
+ this.$ = n[v].trim(), s.setDiagramTitle(this.$);
73
73
  break;
74
74
  case 10:
75
- this.$ = n[x].trim(), s.setAccTitle(this.$);
75
+ this.$ = n[v].trim(), s.setAccTitle(this.$);
76
76
  break;
77
77
  case 11:
78
78
  case 12:
79
- this.$ = n[x].trim(), s.setAccDescription(this.$);
79
+ this.$ = n[v].trim(), s.setAccDescription(this.$);
80
80
  break;
81
81
  case 13:
82
- s.addSection(n[x].substr(8)), this.$ = n[x].substr(8);
82
+ s.addSection(n[v].substr(8)), this.$ = n[v].substr(8);
83
83
  break;
84
84
  }
85
85
  },
86
- table: [{ 3: 1, 4: 2, 5: h, 20: p, 21: w, 22: k }, { 1: [3] }, { 3: 7, 4: 2, 5: h, 20: p, 21: w, 22: k }, e(S, u, { 6: 8, 7: [1, 9] }), e(r, [2, 14]), e(r, [2, 15]), e(r, [2, 16]), { 1: [2, 1] }, e(l, m, { 8: 10, 9: 11, 1: [2, 2], 10: d, 12: I, 14: T, 16: _, 18: v, 19: c }), e(S, u, { 6: 18 }), e(S, [2, 5]), { 4: 19, 20: p, 21: w, 22: k }, { 11: [1, 20] }, { 13: [1, 21] }, { 15: [1, 22] }, { 17: [1, 23] }, e(l, [2, 12]), e(l, [2, 13]), e(l, m, { 8: 10, 9: 11, 1: [2, 3], 10: d, 12: I, 14: T, 16: _, 18: v, 19: c }), e(S, [2, 6]), e(l, [2, 8]), e(l, [2, 9]), e(l, [2, 10]), e(l, [2, 11])],
86
+ table: [{ 3: 1, 4: 2, 5: h, 20: p, 21: w, 22: k }, { 1: [3] }, { 3: 7, 4: 2, 5: h, 20: p, 21: w, 22: k }, e(A, u, { 6: 8, 7: [1, 9] }), e(r, [2, 14]), e(r, [2, 15]), e(r, [2, 16]), { 1: [2, 1] }, e(l, m, { 8: 10, 9: 11, 1: [2, 2], 10: d, 12: I, 14: T, 16: _, 18: x, 19: c }), e(A, u, { 6: 18 }), e(A, [2, 5]), { 4: 19, 20: p, 21: w, 22: k }, { 11: [1, 20] }, { 13: [1, 21] }, { 15: [1, 22] }, { 17: [1, 23] }, e(l, [2, 12]), e(l, [2, 13]), e(l, m, { 8: 10, 9: 11, 1: [2, 3], 10: d, 12: I, 14: T, 16: _, 18: x, 19: c }), e(A, [2, 6]), e(l, [2, 8]), e(l, [2, 9]), e(l, [2, 10]), e(l, [2, 11])],
87
87
  defaultActions: { 7: [2, 1] },
88
88
  parseError: function(f, t) {
89
89
  if (t.recoverable)
@@ -94,7 +94,7 @@ var Q = function() {
94
94
  }
95
95
  },
96
96
  parse: function(f) {
97
- var t = this, i = [0], s = [], a = [null], n = [], y = this.table, x = "", N = 0, g = 0, V = 2, M = 1, W = n.slice.call(arguments, 1), o = Object.create(this.lexer), O = { yy: {} };
97
+ var t = this, i = [0], s = [], a = [null], n = [], y = this.table, v = "", N = 0, g = 0, V = 2, M = 1, Y = n.slice.call(arguments, 1), o = Object.create(this.lexer), O = { yy: {} };
98
98
  for (var J in this.yy)
99
99
  Object.prototype.hasOwnProperty.call(this.yy, J) && (O.yy[J] = this.yy[J]);
100
100
  o.setInput(f, O.yy), O.yy.lexer = o, O.yy.parser = this, typeof o.yylloc > "u" && (o.yylloc = {});
@@ -106,12 +106,12 @@ var Q = function() {
106
106
  var P;
107
107
  return P = s.pop() || o.lex() || M, typeof P != "number" && (P instanceof Array && (s = P, P = s.pop()), P = t.symbols_[P] || P), P;
108
108
  }
109
- for (var b, F, $, G, z = {}, j, C, q, L; ; ) {
109
+ for (var b, F, $, G, j = {}, z, C, q, L; ; ) {
110
110
  if (F = i[i.length - 1], this.defaultActions[F] ? $ = this.defaultActions[F] : ((b === null || typeof b > "u") && (b = st()), $ = y[F] && y[F][b]), typeof $ > "u" || !$.length || !$[0]) {
111
111
  var X = "";
112
112
  L = [];
113
- for (j in y[F])
114
- this.terminals_[j] && j > V && L.push("'" + this.terminals_[j] + "'");
113
+ for (z in y[F])
114
+ this.terminals_[z] && z > V && L.push("'" + this.terminals_[z] + "'");
115
115
  o.showPosition ? X = "Parse error on line " + (N + 1) + `:
116
116
  ` + o.showPosition() + `
117
117
  Expecting ` + L.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : X = "Parse error on line " + (N + 1) + ": Unexpected " + (b == M ? "end of input" : "'" + (this.terminals_[b] || b) + "'"), this.parseError(X, {
@@ -126,28 +126,28 @@ Expecting ` + L.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : X = "
126
126
  throw new Error("Parse Error: multiple actions possible at state: " + F + ", token: " + b);
127
127
  switch ($[0]) {
128
128
  case 1:
129
- i.push(b), a.push(o.yytext), n.push(o.yylloc), i.push($[1]), b = null, g = o.yyleng, x = o.yytext, N = o.yylineno, K = o.yylloc;
129
+ i.push(b), a.push(o.yytext), n.push(o.yylloc), i.push($[1]), b = null, g = o.yyleng, v = o.yytext, N = o.yylineno, K = o.yylloc;
130
130
  break;
131
131
  case 2:
132
- if (C = this.productions_[$[1]][1], z.$ = a[a.length - C], z._$ = {
132
+ if (C = this.productions_[$[1]][1], j.$ = a[a.length - C], j._$ = {
133
133
  first_line: n[n.length - (C || 1)].first_line,
134
134
  last_line: n[n.length - 1].last_line,
135
135
  first_column: n[n.length - (C || 1)].first_column,
136
136
  last_column: n[n.length - 1].last_column
137
- }, nt && (z._$.range = [
137
+ }, nt && (j._$.range = [
138
138
  n[n.length - (C || 1)].range[0],
139
139
  n[n.length - 1].range[1]
140
- ]), G = this.performAction.apply(z, [
141
- x,
140
+ ]), G = this.performAction.apply(j, [
141
+ v,
142
142
  g,
143
143
  N,
144
144
  O.yy,
145
145
  $[1],
146
146
  a,
147
147
  n
148
- ].concat(W)), typeof G < "u")
148
+ ].concat(Y)), typeof G < "u")
149
149
  return G;
150
- C && (i = i.slice(0, -1 * C * 2), a = a.slice(0, -1 * C), n = n.slice(0, -1 * C)), i.push(this.productions_[$[1]][0]), a.push(z.$), n.push(z._$), q = y[i[i.length - 2]][i[i.length - 1]], i.push(q);
150
+ C && (i = i.slice(0, -1 * C * 2), a = a.slice(0, -1 * C), n = n.slice(0, -1 * C)), i.push(this.productions_[$[1]][0]), a.push(j.$), n.push(j._$), q = y[i[i.length - 2]][i[i.length - 1]], i.push(q);
151
151
  break;
152
152
  case 3:
153
153
  return !0;
@@ -380,28 +380,28 @@ Expecting ` + L.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : X = "
380
380
  };
381
381
  return f;
382
382
  }();
383
- A.lexer = D;
383
+ S.lexer = D;
384
384
  function E() {
385
385
  this.yy = {};
386
386
  }
387
- return E.prototype = A, A.Parser = E, new E();
387
+ return E.prototype = S, S.Parser = E, new E();
388
388
  }();
389
- Q.parser = Q;
390
- const $t = Q, it = rt.pie, B = {
389
+ H.parser = H;
390
+ const $t = H, it = rt.pie, U = {
391
391
  sections: {},
392
392
  showData: !1,
393
393
  config: it
394
394
  };
395
- let U = B.sections, Y = B.showData;
396
- const wt = structuredClone(it), St = () => structuredClone(wt), At = () => {
397
- U = structuredClone(B.sections), Y = B.showData, yt();
395
+ let W = U.sections, Q = U.showData;
396
+ const wt = structuredClone(it), At = () => structuredClone(wt), St = () => {
397
+ W = structuredClone(U.sections), Q = U.showData, yt();
398
398
  }, Et = (e, h) => {
399
- e = pt(e, tt()), U[e] === void 0 && (U[e] = h, et.debug(`added new section: ${e}, with value: ${h}`));
400
- }, Tt = () => U, It = (e) => (e.substring(0, 1) === ":" && (e = e.substring(1).trim()), Number(e.trim())), Ot = (e) => {
401
- Y = e;
402
- }, Ct = () => Y, Pt = {
403
- getConfig: St,
404
- clear: At,
399
+ e = pt(e, tt()), W[e] === void 0 && (W[e] = h, et.debug(`added new section: ${e}, with value: ${h}`));
400
+ }, Tt = () => W, It = (e) => (e.substring(0, 1) === ":" && (e = e.substring(1).trim()), Number(e.trim())), Ot = (e) => {
401
+ Q = e;
402
+ }, Ct = () => Q, Pt = {
403
+ getConfig: At,
404
+ clear: St,
405
405
  setDiagramTitle: at,
406
406
  getDiagramTitle: lt,
407
407
  setAccTitle: ct,
@@ -452,14 +452,14 @@ const wt = structuredClone(it), St = () => structuredClone(wt), At = () => {
452
452
  }, Ft = (e, h, p, w) => {
453
453
  et.debug(`rendering pie chart
454
454
  ` + e);
455
- const k = w.db, S = tt(), u = gt(k.getConfig(), S.pie), r = 40, l = 18, m = 4, d = 450, I = d, T = ft(h), _ = T.append("g"), v = k.getSections();
455
+ const k = w.db, A = tt(), u = gt(k.getConfig(), A.pie), r = 40, l = 18, m = 4, d = 450, I = d, T = ft(h), _ = T.append("g"), x = k.getSections();
456
456
  _.attr("transform", "translate(" + I / 2 + "," + d / 2 + ")");
457
- const { themeVariables: c } = S;
458
- let [A] = mt(c.pieOuterStrokeWidth);
459
- A ?? (A = 2);
457
+ const { themeVariables: c } = A;
458
+ let [S] = mt(c.pieOuterStrokeWidth);
459
+ S ?? (S = 2);
460
460
  const D = u.textPosition, E = Math.min(I, d) / 2 - r, f = Z().innerRadius(0).outerRadius(E), t = Z().innerRadius(E * D).outerRadius(E * D);
461
- _.append("circle").attr("cx", 0).attr("cy", 0).attr("r", E + A / 2).attr("class", "pieOuterCircle");
462
- const i = Mt(v), s = [
461
+ _.append("circle").attr("cx", 0).attr("cy", 0).attr("r", E + S / 2).attr("class", "pieOuterCircle");
462
+ const i = Mt(x), s = [
463
463
  c.pie1,
464
464
  c.pie2,
465
465
  c.pie3,
@@ -475,27 +475,27 @@ const wt = structuredClone(it), St = () => structuredClone(wt), At = () => {
475
475
  ], a = _t(s);
476
476
  _.selectAll("mySlices").data(i).enter().append("path").attr("d", f).attr("fill", (g) => a(g.data.label)).attr("class", "pieCircle");
477
477
  let n = 0;
478
- Object.keys(v).forEach((g) => {
479
- n += v[g];
478
+ Object.keys(x).forEach((g) => {
479
+ n += x[g];
480
480
  }), _.selectAll("mySlices").data(i).enter().append("text").text((g) => (g.data.value / n * 100).toFixed(0) + "%").attr("transform", (g) => "translate(" + t.centroid(g) + ")").style("text-anchor", "middle").attr("class", "slice"), _.append("text").text(k.getDiagramTitle()).attr("x", 0).attr("y", -(d - 50) / 2).attr("class", "pieTitleText");
481
481
  const y = _.selectAll(".legend").data(a.domain()).enter().append("g").attr("class", "legend").attr("transform", (g, V) => {
482
- const M = l + m, W = M * a.domain().length / 2, o = 12 * l, O = V * M - W;
482
+ const M = l + m, Y = M * a.domain().length / 2, o = 12 * l, O = V * M - Y;
483
483
  return "translate(" + o + "," + O + ")";
484
484
  });
485
485
  y.append("rect").attr("width", l).attr("height", l).style("fill", a).style("stroke", a), y.data(i).append("text").attr("x", l + m).attr("y", l - m).text((g) => {
486
486
  const { label: V, value: M } = g.data;
487
487
  return k.getShowData() ? `${V} [${M}]` : V;
488
488
  });
489
- const x = Math.max(
489
+ const v = Math.max(
490
490
  ...y.selectAll("text").nodes().map((g) => (g == null ? void 0 : g.getBoundingClientRect().width) ?? 0)
491
- ), N = I + r + l + m + x;
491
+ ), N = I + r + l + m + v;
492
492
  T.attr("viewBox", `0 0 ${N} ${d}`), dt(T, d, N, u.useMaxWidth);
493
- }, Rt = { draw: Ft }, Ut = {
493
+ }, Rt = { draw: Ft }, Wt = {
494
494
  parser: $t,
495
495
  db: Pt,
496
496
  renderer: Rt,
497
497
  styles: Nt
498
498
  };
499
499
  export {
500
- Ut as diagram
500
+ Wt as diagram
501
501
  };
@@ -1,5 +1,5 @@
1
- import { aZ as Pt, c as yt, aJ as D, l as lt, s as vt, g as Ct, v as Lt, x as At, a as zt, b as Dt, z as Et, h as gt, i as It, d as Bt } from "./index-CVS7cBlb.js";
2
- import { Z as mt } from "./linear-cwTFOJBq-B6q6qtlZ.js";
1
+ import { a_ as Pt, c as yt, aK as D, l as lt, s as vt, g as Ct, x as Lt, y as At, a as zt, b as Dt, A as Et, h as gt, i as It, d as Bt } from "./index-Dz46e5bv.js";
2
+ import { Z as mt } from "./linear-CngEzq0a-B6fRdJQY.js";
3
3
  var ft = function() {
4
4
  var i = function(O, a, s, l) {
5
5
  for (s = s || {}, l = O.length; l--; s[O[l]] = a)
@@ -1,13 +1,13 @@
1
- import { c as Tt, s as Ct, g as Mt, b as Ft, a as Dt, l as Nt, z as Pt, h as ot, i as Vt, j as bt } from "./index-CVS7cBlb.js";
2
- import { Y as Yt } from "./graph-Ch18bQn5-BLEKw6WT.js";
3
- import { O as Ut } from "./layout-BzV691RN-Br8Ir03a.js";
4
- import { P as Bt } from "./line-JCh8JM-V-T9MVIZIE.js";
1
+ import { c as Tt, s as Ct, g as Mt, b as Ft, a as Dt, l as Nt, A as Pt, h as ot, i as Vt, j as bt } from "./index-Dz46e5bv.js";
2
+ import { Y as Yt } from "./graph-BN58fiEq-CyCz6HB3.js";
3
+ import { O as Ut } from "./layout-DU4VNk5y-DEbr0_Pk.js";
4
+ import { P as Bt } from "./line-CwSAou3c-dgS2jcU_.js";
5
5
  var ct = function() {
6
6
  var t = function(x, e, s, r) {
7
7
  for (s = s || {}, r = x.length; r--; s[x[r]] = e)
8
8
  ;
9
9
  return s;
10
- }, i = [1, 3], o = [1, 4], c = [1, 5], l = [1, 6], u = [5, 6, 8, 9, 11, 13, 31, 32, 33, 34, 35, 36, 44, 62, 63], h = [1, 18], a = [2, 7], y = [1, 22], g = [1, 23], R = [1, 24], T = [1, 25], N = [1, 26], A = [1, 27], v = [1, 20], S = [1, 28], q = [1, 29], F = [62, 63], ut = [5, 8, 9, 11, 13, 31, 32, 33, 34, 35, 36, 44, 51, 53, 62, 63], yt = [1, 47], dt = [1, 48], pt = [1, 49], _t = [1, 50], gt = [1, 51], Et = [1, 52], Rt = [1, 53], w = [53, 54], D = [1, 64], P = [1, 60], V = [1, 61], Y = [1, 62], U = [1, 63], B = [1, 65], j = [1, 69], G = [1, 70], z = [1, 67], X = [1, 68], m = [5, 8, 9, 11, 13, 31, 32, 33, 34, 35, 36, 44, 62, 63], et = {
10
+ }, i = [1, 3], o = [1, 4], c = [1, 5], l = [1, 6], u = [5, 6, 8, 9, 11, 13, 31, 32, 33, 34, 35, 36, 44, 62, 63], h = [1, 18], a = [2, 7], y = [1, 22], E = [1, 23], R = [1, 24], T = [1, 25], N = [1, 26], A = [1, 27], v = [1, 20], S = [1, 28], q = [1, 29], F = [62, 63], ut = [5, 8, 9, 11, 13, 31, 32, 33, 34, 35, 36, 44, 51, 53, 62, 63], yt = [1, 47], dt = [1, 48], pt = [1, 49], _t = [1, 50], Et = [1, 51], gt = [1, 52], Rt = [1, 53], w = [53, 54], D = [1, 64], P = [1, 60], V = [1, 61], Y = [1, 62], U = [1, 63], B = [1, 65], j = [1, 69], G = [1, 70], z = [1, 67], X = [1, 68], m = [5, 8, 9, 11, 13, 31, 32, 33, 34, 35, 36, 44, 62, 63], et = {
11
11
  trace: function() {
12
12
  },
13
13
  yy: {},
@@ -119,7 +119,7 @@ var ct = function() {
119
119
  break;
120
120
  }
121
121
  },
122
- table: [{ 3: 1, 4: 2, 6: i, 9: o, 11: c, 13: l }, { 1: [3] }, { 3: 8, 4: 2, 5: [1, 7], 6: i, 9: o, 11: c, 13: l }, { 5: [1, 9] }, { 10: [1, 10] }, { 12: [1, 11] }, t(u, [2, 6]), { 3: 12, 4: 2, 6: i, 9: o, 11: c, 13: l }, { 1: [2, 2] }, { 4: 17, 5: h, 7: 13, 8: a, 9: o, 11: c, 13: l, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: y, 32: g, 33: R, 34: T, 35: N, 36: A, 44: v, 62: S, 63: q }, t(u, [2, 4]), t(u, [2, 5]), { 1: [2, 1] }, { 8: [1, 30] }, { 4: 17, 5: h, 7: 31, 8: a, 9: o, 11: c, 13: l, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: y, 32: g, 33: R, 34: T, 35: N, 36: A, 44: v, 62: S, 63: q }, { 4: 17, 5: h, 7: 32, 8: a, 9: o, 11: c, 13: l, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: y, 32: g, 33: R, 34: T, 35: N, 36: A, 44: v, 62: S, 63: q }, { 4: 17, 5: h, 7: 33, 8: a, 9: o, 11: c, 13: l, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: y, 32: g, 33: R, 34: T, 35: N, 36: A, 44: v, 62: S, 63: q }, { 4: 17, 5: h, 7: 34, 8: a, 9: o, 11: c, 13: l, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: y, 32: g, 33: R, 34: T, 35: N, 36: A, 44: v, 62: S, 63: q }, { 4: 17, 5: h, 7: 35, 8: a, 9: o, 11: c, 13: l, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: y, 32: g, 33: R, 34: T, 35: N, 36: A, 44: v, 62: S, 63: q }, { 18: 36, 62: [1, 37], 63: [1, 38] }, { 45: 39, 62: [1, 40], 63: [1, 41] }, { 51: [1, 42], 53: [1, 43] }, t(F, [2, 20]), t(F, [2, 21]), t(F, [2, 22]), t(F, [2, 23]), t(F, [2, 24]), t(F, [2, 25]), t(ut, [2, 49]), t(ut, [2, 50]), { 1: [2, 3] }, { 8: [2, 8] }, { 8: [2, 9] }, { 8: [2, 10] }, { 8: [2, 11] }, { 8: [2, 12] }, { 19: [1, 44] }, { 19: [2, 47] }, { 19: [2, 48] }, { 19: [1, 45] }, { 19: [2, 53] }, { 19: [2, 54] }, { 52: 46, 55: yt, 56: dt, 57: pt, 58: _t, 59: gt, 60: Et, 61: Rt }, { 52: 54, 55: yt, 56: dt, 57: pt, 58: _t, 59: gt, 60: Et, 61: Rt }, { 5: [1, 55] }, { 5: [1, 56] }, { 53: [1, 57] }, t(w, [2, 40]), t(w, [2, 41]), t(w, [2, 42]), t(w, [2, 43]), t(w, [2, 44]), t(w, [2, 45]), t(w, [2, 46]), { 54: [1, 58] }, { 5: D, 20: 59, 21: P, 24: V, 26: Y, 28: U, 30: B }, { 5: j, 30: G, 46: 66, 47: z, 49: X }, { 23: 71, 62: S, 63: q }, { 23: 72, 62: S, 63: q }, t(m, [2, 13]), { 22: [1, 73] }, { 22: [1, 74] }, { 22: [1, 75] }, { 22: [1, 76] }, { 5: D, 20: 77, 21: P, 24: V, 26: Y, 28: U, 30: B }, t(m, [2, 19]), t(m, [2, 33]), { 22: [1, 78] }, { 22: [1, 79] }, { 5: j, 30: G, 46: 80, 47: z, 49: X }, t(m, [2, 37]), t(m, [2, 38]), t(m, [2, 39]), { 23: 81, 62: S, 63: q }, { 25: 82, 62: [1, 83], 63: [1, 84] }, { 27: 85, 37: [1, 86], 38: [1, 87], 39: [1, 88] }, { 29: 89, 40: [1, 90], 41: [1, 91], 42: [1, 92], 43: [1, 93] }, t(m, [2, 18]), { 48: 94, 62: [1, 95], 63: [1, 96] }, { 50: 97, 62: [1, 98], 63: [1, 99] }, t(m, [2, 36]), { 5: [1, 100] }, { 5: [1, 101] }, { 5: [2, 51] }, { 5: [2, 52] }, { 5: [1, 102] }, { 5: [2, 26] }, { 5: [2, 27] }, { 5: [2, 28] }, { 5: [1, 103] }, { 5: [2, 29] }, { 5: [2, 30] }, { 5: [2, 31] }, { 5: [2, 32] }, { 5: [1, 104] }, { 5: [2, 55] }, { 5: [2, 56] }, { 5: [1, 105] }, { 5: [2, 57] }, { 5: [2, 58] }, { 5: D, 20: 106, 21: P, 24: V, 26: Y, 28: U, 30: B }, { 5: D, 20: 107, 21: P, 24: V, 26: Y, 28: U, 30: B }, { 5: D, 20: 108, 21: P, 24: V, 26: Y, 28: U, 30: B }, { 5: D, 20: 109, 21: P, 24: V, 26: Y, 28: U, 30: B }, { 5: j, 30: G, 46: 110, 47: z, 49: X }, { 5: j, 30: G, 46: 111, 47: z, 49: X }, t(m, [2, 14]), t(m, [2, 15]), t(m, [2, 16]), t(m, [2, 17]), t(m, [2, 34]), t(m, [2, 35])],
122
+ table: [{ 3: 1, 4: 2, 6: i, 9: o, 11: c, 13: l }, { 1: [3] }, { 3: 8, 4: 2, 5: [1, 7], 6: i, 9: o, 11: c, 13: l }, { 5: [1, 9] }, { 10: [1, 10] }, { 12: [1, 11] }, t(u, [2, 6]), { 3: 12, 4: 2, 6: i, 9: o, 11: c, 13: l }, { 1: [2, 2] }, { 4: 17, 5: h, 7: 13, 8: a, 9: o, 11: c, 13: l, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: y, 32: E, 33: R, 34: T, 35: N, 36: A, 44: v, 62: S, 63: q }, t(u, [2, 4]), t(u, [2, 5]), { 1: [2, 1] }, { 8: [1, 30] }, { 4: 17, 5: h, 7: 31, 8: a, 9: o, 11: c, 13: l, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: y, 32: E, 33: R, 34: T, 35: N, 36: A, 44: v, 62: S, 63: q }, { 4: 17, 5: h, 7: 32, 8: a, 9: o, 11: c, 13: l, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: y, 32: E, 33: R, 34: T, 35: N, 36: A, 44: v, 62: S, 63: q }, { 4: 17, 5: h, 7: 33, 8: a, 9: o, 11: c, 13: l, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: y, 32: E, 33: R, 34: T, 35: N, 36: A, 44: v, 62: S, 63: q }, { 4: 17, 5: h, 7: 34, 8: a, 9: o, 11: c, 13: l, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: y, 32: E, 33: R, 34: T, 35: N, 36: A, 44: v, 62: S, 63: q }, { 4: 17, 5: h, 7: 35, 8: a, 9: o, 11: c, 13: l, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: y, 32: E, 33: R, 34: T, 35: N, 36: A, 44: v, 62: S, 63: q }, { 18: 36, 62: [1, 37], 63: [1, 38] }, { 45: 39, 62: [1, 40], 63: [1, 41] }, { 51: [1, 42], 53: [1, 43] }, t(F, [2, 20]), t(F, [2, 21]), t(F, [2, 22]), t(F, [2, 23]), t(F, [2, 24]), t(F, [2, 25]), t(ut, [2, 49]), t(ut, [2, 50]), { 1: [2, 3] }, { 8: [2, 8] }, { 8: [2, 9] }, { 8: [2, 10] }, { 8: [2, 11] }, { 8: [2, 12] }, { 19: [1, 44] }, { 19: [2, 47] }, { 19: [2, 48] }, { 19: [1, 45] }, { 19: [2, 53] }, { 19: [2, 54] }, { 52: 46, 55: yt, 56: dt, 57: pt, 58: _t, 59: Et, 60: gt, 61: Rt }, { 52: 54, 55: yt, 56: dt, 57: pt, 58: _t, 59: Et, 60: gt, 61: Rt }, { 5: [1, 55] }, { 5: [1, 56] }, { 53: [1, 57] }, t(w, [2, 40]), t(w, [2, 41]), t(w, [2, 42]), t(w, [2, 43]), t(w, [2, 44]), t(w, [2, 45]), t(w, [2, 46]), { 54: [1, 58] }, { 5: D, 20: 59, 21: P, 24: V, 26: Y, 28: U, 30: B }, { 5: j, 30: G, 46: 66, 47: z, 49: X }, { 23: 71, 62: S, 63: q }, { 23: 72, 62: S, 63: q }, t(m, [2, 13]), { 22: [1, 73] }, { 22: [1, 74] }, { 22: [1, 75] }, { 22: [1, 76] }, { 5: D, 20: 77, 21: P, 24: V, 26: Y, 28: U, 30: B }, t(m, [2, 19]), t(m, [2, 33]), { 22: [1, 78] }, { 22: [1, 79] }, { 5: j, 30: G, 46: 80, 47: z, 49: X }, t(m, [2, 37]), t(m, [2, 38]), t(m, [2, 39]), { 23: 81, 62: S, 63: q }, { 25: 82, 62: [1, 83], 63: [1, 84] }, { 27: 85, 37: [1, 86], 38: [1, 87], 39: [1, 88] }, { 29: 89, 40: [1, 90], 41: [1, 91], 42: [1, 92], 43: [1, 93] }, t(m, [2, 18]), { 48: 94, 62: [1, 95], 63: [1, 96] }, { 50: 97, 62: [1, 98], 63: [1, 99] }, t(m, [2, 36]), { 5: [1, 100] }, { 5: [1, 101] }, { 5: [2, 51] }, { 5: [2, 52] }, { 5: [1, 102] }, { 5: [2, 26] }, { 5: [2, 27] }, { 5: [2, 28] }, { 5: [1, 103] }, { 5: [2, 29] }, { 5: [2, 30] }, { 5: [2, 31] }, { 5: [2, 32] }, { 5: [1, 104] }, { 5: [2, 55] }, { 5: [2, 56] }, { 5: [1, 105] }, { 5: [2, 57] }, { 5: [2, 58] }, { 5: D, 20: 106, 21: P, 24: V, 26: Y, 28: U, 30: B }, { 5: D, 20: 107, 21: P, 24: V, 26: Y, 28: U, 30: B }, { 5: D, 20: 108, 21: P, 24: V, 26: Y, 28: U, 30: B }, { 5: D, 20: 109, 21: P, 24: V, 26: Y, 28: U, 30: B }, { 5: j, 30: G, 46: 110, 47: z, 49: X }, { 5: j, 30: G, 46: 111, 47: z, 49: X }, t(m, [2, 14]), t(m, [2, 15]), t(m, [2, 16]), t(m, [2, 17]), t(m, [2, 34]), t(m, [2, 35])],
123
123
  defaultActions: { 8: [2, 2], 12: [2, 1], 30: [2, 3], 31: [2, 8], 32: [2, 9], 33: [2, 10], 34: [2, 11], 35: [2, 12], 37: [2, 47], 38: [2, 48], 40: [2, 53], 41: [2, 54], 83: [2, 51], 84: [2, 52], 86: [2, 26], 87: [2, 27], 88: [2, 28], 90: [2, 29], 91: [2, 30], 92: [2, 31], 93: [2, 32], 95: [2, 55], 96: [2, 56], 98: [2, 57], 99: [2, 58] },
124
124
  parseError: function(x, e) {
125
125
  if (e.recoverable)
@@ -130,17 +130,17 @@ var ct = function() {
130
130
  }
131
131
  },
132
132
  parse: function(x) {
133
- var e = this, s = [0], r = [], d = [null], n = [], f = this.table, _ = "", J = 0, mt = 0, $t = 2, ft = 1, Ot = n.slice.call(arguments, 1), E = Object.create(this.lexer), C = { yy: {} };
133
+ var e = this, s = [0], r = [], d = [null], n = [], f = this.table, _ = "", J = 0, mt = 0, $t = 2, ft = 1, Ot = n.slice.call(arguments, 1), g = Object.create(this.lexer), C = { yy: {} };
134
134
  for (var rt in this.yy)
135
135
  Object.prototype.hasOwnProperty.call(this.yy, rt) && (C.yy[rt] = this.yy[rt]);
136
- E.setInput(x, C.yy), C.yy.lexer = E, C.yy.parser = this, typeof E.yylloc > "u" && (E.yylloc = {});
137
- var nt = E.yylloc;
136
+ g.setInput(x, C.yy), C.yy.lexer = g, C.yy.parser = this, typeof g.yylloc > "u" && (g.yylloc = {});
137
+ var nt = g.yylloc;
138
138
  n.push(nt);
139
- var Lt = E.options && E.options.ranges;
139
+ var Lt = g.options && g.options.ranges;
140
140
  typeof C.yy.parseError == "function" ? this.parseError = C.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
141
141
  function wt() {
142
142
  var O;
143
- return O = r.pop() || E.lex() || ft, typeof O != "number" && (O instanceof Array && (r = O, O = r.pop()), O = e.symbols_[O] || O), O;
143
+ return O = r.pop() || g.lex() || ft, typeof O != "number" && (O instanceof Array && (r = O, O = r.pop()), O = e.symbols_[O] || O), O;
144
144
  }
145
145
  for (var I, M, k, st, H = {}, Z, $, It, tt; ; ) {
146
146
  if (M = s[s.length - 1], this.defaultActions[M] ? k = this.defaultActions[M] : ((I === null || typeof I > "u") && (I = wt()), k = f[M] && f[M][I]), typeof k > "u" || !k.length || !k[0]) {
@@ -148,12 +148,12 @@ var ct = function() {
148
148
  tt = [];
149
149
  for (Z in f[M])
150
150
  this.terminals_[Z] && Z > $t && tt.push("'" + this.terminals_[Z] + "'");
151
- E.showPosition ? at = "Parse error on line " + (J + 1) + `:
152
- ` + E.showPosition() + `
151
+ g.showPosition ? at = "Parse error on line " + (J + 1) + `:
152
+ ` + g.showPosition() + `
153
153
  Expecting ` + tt.join(", ") + ", got '" + (this.terminals_[I] || I) + "'" : at = "Parse error on line " + (J + 1) + ": Unexpected " + (I == ft ? "end of input" : "'" + (this.terminals_[I] || I) + "'"), this.parseError(at, {
154
- text: E.match,
154
+ text: g.match,
155
155
  token: this.terminals_[I] || I,
156
- line: E.yylineno,
156
+ line: g.yylineno,
157
157
  loc: nt,
158
158
  expected: tt
159
159
  });
@@ -162,7 +162,7 @@ Expecting ` + tt.join(", ") + ", got '" + (this.terminals_[I] || I) + "'" : at =
162
162
  throw new Error("Parse Error: multiple actions possible at state: " + M + ", token: " + I);
163
163
  switch (k[0]) {
164
164
  case 1:
165
- s.push(I), d.push(E.yytext), n.push(E.yylloc), s.push(k[1]), I = null, mt = E.yyleng, _ = E.yytext, J = E.yylineno, nt = E.yylloc;
165
+ s.push(I), d.push(g.yytext), n.push(g.yylloc), s.push(k[1]), I = null, mt = g.yyleng, _ = g.yytext, J = g.yylineno, nt = g.yylloc;
166
166
  break;
167
167
  case 2:
168
168
  if ($ = this.productions_[k[1]][1], H.$ = d[d.length - $], H._$ = {
@@ -625,8 +625,8 @@ const Wt = {
625
625
  let p = {}, kt = 0;
626
626
  const xt = (t, i) => t.insert("rect", "#" + i).attr("class", "req reqBox").attr("x", 0).attr("y", 0).attr("width", p.rect_min_width + "px").attr("height", p.rect_min_height + "px"), At = (t, i, o) => {
627
627
  let c = p.rect_min_width / 2, l = t.append("text").attr("class", "req reqLabel reqTitle").attr("id", i).attr("x", c).attr("y", p.rect_padding).attr("dominant-baseline", "hanging"), u = 0;
628
- o.forEach((g) => {
629
- u == 0 ? l.append("tspan").attr("text-anchor", "middle").attr("x", p.rect_min_width / 2).attr("dy", 0).text(g) : l.append("tspan").attr("text-anchor", "middle").attr("x", p.rect_min_width / 2).attr("dy", p.line_height * 0.75).text(g), u++;
628
+ o.forEach((E) => {
629
+ u == 0 ? l.append("tspan").attr("text-anchor", "middle").attr("x", p.rect_min_width / 2).attr("dy", 0).text(E) : l.append("tspan").attr("text-anchor", "middle").attr("x", p.rect_min_width / 2).attr("dy", p.line_height * 0.75).text(E), u++;
630
630
  });
631
631
  let h = 1.5 * p.rect_padding, a = u * p.line_height * 0.75, y = h + a;
632
632
  return t.append("line").attr("class", "req-title-line").attr("x1", "0").attr("x2", p.rect_min_width).attr("y1", y).attr("y2", y), {
@@ -638,10 +638,10 @@ const xt = (t, i) => t.insert("rect", "#" + i).attr("class", "req reqBox").attr(
638
638
  const h = 30;
639
639
  let a = [];
640
640
  return o.forEach((y) => {
641
- let g = y.length;
642
- for (; g > h && u < 3; ) {
641
+ let E = y.length;
642
+ for (; E > h && u < 3; ) {
643
643
  let R = y.substring(0, h);
644
- y = y.substring(h, y.length), g = y.length, a[a.length] = R, u++;
644
+ y = y.substring(h, y.length), E = y.length, a[a.length] = R, u++;
645
645
  }
646
646
  if (u == 3) {
647
647
  let R = a[a.length - 1];
@@ -690,10 +690,10 @@ const xt = (t, i) => t.insert("rect", "#" + i).attr("class", "req reqBox").attr(
690
690
  ],
691
691
  y.y
692
692
  );
693
- const g = a.node().getBBox();
693
+ const E = a.node().getBBox();
694
694
  i.setNode(c, {
695
- width: g.width,
696
- height: g.height,
695
+ width: E.width,
696
+ height: E.height,
697
697
  shape: "rect",
698
698
  id: c
699
699
  });
@@ -702,12 +702,12 @@ const xt = (t, i) => t.insert("rect", "#" + i).attr("class", "req reqBox").attr(
702
702
  Object.keys(t).forEach((c) => {
703
703
  let l = t[c];
704
704
  const u = W(c), h = o.append("g").attr("id", u), a = "element-" + u, y = xt(h, a);
705
- let g = At(h, a + "_title", ["<<Element>>", `${c}`]);
705
+ let E = At(h, a + "_title", ["<<Element>>", `${c}`]);
706
706
  vt(
707
707
  h,
708
708
  a + "_body",
709
709
  [`Type: ${l.type || "Not Specified"}`, `Doc Ref: ${l.docRef || "None"}`],
710
- g.y
710
+ E.y
711
711
  );
712
712
  const R = y.node().getBBox();
713
713
  i.setNode(u, {
@@ -717,10 +717,10 @@ const xt = (t, i) => t.insert("rect", "#" + i).attr("class", "req reqBox").attr(
717
717
  id: u
718
718
  });
719
719
  });
720
- }, ge = (t, i) => (t.forEach(function(o) {
720
+ }, Ee = (t, i) => (t.forEach(function(o) {
721
721
  let c = W(o.src), l = W(o.dst);
722
722
  i.setEdge(c, l, { relationship: o });
723
- }), t), Ee = function(t, i) {
723
+ }), t), ge = function(t, i) {
724
724
  i.nodes().forEach(function(o) {
725
725
  o !== void 0 && i.node(o) !== void 0 && (t.select("#" + o), t.select("#" + o).attr(
726
726
  "transform",
@@ -748,8 +748,8 @@ const xt = (t, i) => t.insert("rect", "#" + i).attr("class", "req reqBox").attr(
748
748
  }).setDefaultEdgeLabel(function() {
749
749
  return {};
750
750
  });
751
- let y = c.db.getRequirements(), g = c.db.getElements(), R = c.db.getRelationships();
752
- pe(y, a, h), _e(g, a, h), ge(R, a), Ut(a), Ee(h, a), R.forEach(function(S) {
751
+ let y = c.db.getRequirements(), E = c.db.getElements(), R = c.db.getRelationships();
752
+ pe(y, a, h), _e(E, a, h), Ee(R, a), Ut(a), ge(h, a), R.forEach(function(S) {
753
753
  de(h, S, a, i, c);
754
754
  });
755
755
  const T = p.rect_padding, N = h.node().getBBox(), A = N.width + T * 2, v = N.height + T * 2;