@kong-ui-public/documentation 0.7.11 → 0.7.13

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 (43) hide show
  1. package/dist/{arc-DV7YacTO-BuVHIJg9.js → arc-CinmSIDH-xgjhF5JM.js} +30 -30
  2. package/dist/{blockDiagram-6b2b5046-BaoEJc6D-Cy9O-1ZT.js → blockDiagram-6b2b5046-lWu5MHZ2-BV0fChjb.js} +5 -5
  3. package/dist/{c4Diagram-b947cdbb-BJYyVIoS-BfLQE-Bs.js → c4Diagram-b947cdbb-_2ZSBCRj-DsVtFzGl.js} +2 -2
  4. package/dist/{channel-B0mMhQB--9z5Qz0yl.js → channel-DxVjAaZy-CRrui-5B.js} +1 -1
  5. package/dist/{classDiagram-35230388-Dc1FeiVu-9SLJZ_zF.js → classDiagram-35230388-C7cMop8F-DRMii3vX.js} +5 -5
  6. package/dist/{classDiagram-v2-412acd34-CCHNuq3s-ERBtEgJi.js → classDiagram-v2-412acd34-Sr_pGTUt-B5XidFft.js} +5 -5
  7. package/dist/{clone-DCouqj07-CtER8Ceo.js → clone-BaxuDe_X-BxD7U_1o.js} +1 -1
  8. package/dist/{createText-423428c9-wIPueJaZ-DrHAiBNP.js → createText-423428c9-DSXJlj3p-27R-kZcE.js} +1 -1
  9. package/dist/documentation.es.js +2 -2
  10. package/dist/documentation.umd.js +122 -122
  11. package/dist/{edges-d417c7a0-D3EPioug-BX9wZ1IY.js → edges-d417c7a0-D20zX-94-Dhrfy1WO.js} +14 -14
  12. package/dist/{erDiagram-0ea73325-DY9v3vqj-CV-N1VkL.js → erDiagram-0ea73325-p8FwyJvU-DVFt-LEM.js} +320 -314
  13. package/dist/{flowDb-d35e309a-DJwmSO92-DkHuU771.js → flowDb-d35e309a-Ca4FSAVM-DOsp0Vte.js} +1 -1
  14. package/dist/{flowDiagram-d949d7c1-BdlSpX05-C89vCCFN.js → flowDiagram-d949d7c1-OwxKQJQE-CNj1eG9t.js} +6 -6
  15. package/dist/{flowDiagram-v2-49332944-CMx7p7a1-CjIU-hoQ.js → flowDiagram-v2-49332944-CmJFqFX3-Dmvt7Fvy.js} +5 -5
  16. package/dist/{flowchart-elk-definition-27cc417a-CQgAF7oO-0yWVu_cu.js → flowchart-elk-definition-27cc417a-BK-QJI5S-C83-zjaL.js} +4 -4
  17. package/dist/{ganttDiagram-5c869e3b-CFdSz7-F-DLdDNczn.js → ganttDiagram-5c869e3b-DsJMAz4f-CiGlJW0L.js} +2 -2
  18. package/dist/{gitGraphDiagram-b9d81de9-DLrslp_g-_HNyyguC.js → gitGraphDiagram-b9d81de9-CgW7vwTs-B8681ggb.js} +31 -31
  19. package/dist/{graph-DDKwjgNV-CHoG5key.js → graph-_GyIwSxm-SJ7bw9Y3.js} +2 -2
  20. package/dist/{index-8fae9850-CXAONDQ5-Byt_-ZIo.js → index-8fae9850-CyqCz_ca-KiPjjzFu.js} +6 -6
  21. package/dist/{index-DdB0jRF1.js → index-BcjpWjSF.js} +1191 -1174
  22. package/dist/{infoDiagram-db7b18fc-uyeDrELi-8QA75iom.js → infoDiagram-db7b18fc-0P3OTShw-_GrSz1Bt.js} +7 -7
  23. package/dist/{journeyDiagram-d5636530-BQCHCJnM-C3OOwoQp.js → journeyDiagram-d5636530-DaBgA-aj-BpdCViqB.js} +3 -3
  24. package/dist/{layout-BgNLyoWW-CgBWmYzI.js → layout-Bk7AdqJz-BBmLLAeS.js} +2 -2
  25. package/dist/{line-m2yY3Y1V-BlkVWaqq.js → line-B7Dd0TiT-SkA5nzKI.js} +1 -1
  26. package/dist/{linear-BliVwsum-C61YI4UC.js → linear-bMW21eJn-nLz6oKS7.js} +39 -39
  27. package/dist/{mindmap-definition-377f8f1f-B0xusmpj-du7ZMm4a.js → mindmap-definition-377f8f1f-ufN3tUA6-CN-aI3_R.js} +291 -291
  28. package/dist/{pieDiagram-b0208e96-DkMh39v_-B_Jy5oaR.js → pieDiagram-b0208e96-DrO8Y6_Q-Bj7x7QvQ.js} +18 -18
  29. package/dist/{quadrantDiagram-0332be45-DLRQ0XFP-Dq_5O-GK.js → quadrantDiagram-0332be45-DIp67xs6-BFfVz4eq.js} +2 -2
  30. package/dist/{requirementDiagram-bf7890df-Dm79SiEu-rUdImlsN.js → requirementDiagram-bf7890df-BSzVPfZD-DviSmVdF.js} +30 -30
  31. package/dist/{sankeyDiagram-0acdec17-DdsU0AU3-BGeFh2Xv.js → sankeyDiagram-0acdec17-prPA1qqX-CEt_LwwN.js} +1 -1
  32. package/dist/{sequenceDiagram-c18d009d-CuFa0QMQ-DR9Xfluz.js → sequenceDiagram-c18d009d-BAWs2OYL-D76fPCF4.js} +152 -152
  33. package/dist/{stateDiagram-43596fc0-OHGmKLJG-Ceu1nG4Y.js → stateDiagram-43596fc0-DXEJ0R4o-uUCWdrcA.js} +5 -5
  34. package/dist/{stateDiagram-v2-2ead4f9c-tj0rBZDA-DPtpRcSa.js → stateDiagram-v2-2ead4f9c-DnzyCUgr-BdP2xqfq.js} +5 -5
  35. package/dist/style.css +1 -1
  36. package/dist/{styles-6860f46c-CRDU4Xm3-ssXGHdP6.js → styles-6860f46c-DzVPBoYT-DIdoKSW2.js} +11 -11
  37. package/dist/{styles-7383a064-367fcP_o-DhZV74oF.js → styles-7383a064-BL-LjhLx-DyayPgnv.js} +4 -4
  38. package/dist/{styles-b2c874b6-B9uj3N1G-Br32x_mb.js → styles-b2c874b6-BCYk3bdu-CuPAsrKI.js} +1 -1
  39. package/dist/{svgDrawCommon-0ee1b4e9-BMdgToFS-B5DyT5kn.js → svgDrawCommon-0ee1b4e9-CUz2naLo-DOD8u-To.js} +1 -1
  40. package/dist/{timeline-definition-d977decf-BsiOuCJk-ByOSOQEv.js → timeline-definition-d977decf-BSETSy08-dDvvimKr.js} +2 -2
  41. package/dist/types/external-links.d.ts.map +1 -1
  42. package/dist/{xychartDiagram-e50adddc-C3PuUh_C-Dy5TpJjQ.js → xychartDiagram-e50adddc-C82b8cby-Z76__7nm.js} +38 -38
  43. package/package.json +5 -5
@@ -1,10 +1,10 @@
1
- import { ay as Gt, aA as Xo, l as un, c as qi, aJ as Gl, t as Yl, aK as Vr, d as Ur, h as Vl, b4 as Ul, b5 as Xl, b6 as jl, aM as Hl } from "./index-DdB0jRF1.js";
2
- import { U as Wl } from "./createText-423428c9-wIPueJaZ-DrHAiBNP.js";
3
- function ql(e) {
1
+ import { ax as Gt, az as Xo, l as un, c as Wi, aI as Gl, t as Yl, aJ as Vr, d as Ur, h as Vl, b3 as Ul, b4 as Xl, b5 as jl, aL as Hl } from "./index-BcjpWjSF.js";
2
+ import { U as ql } from "./createText-423428c9-DSXJlj3p-27R-kZcE.js";
3
+ function Wl(e) {
4
4
  var t = typeof e;
5
5
  return e != null && (t == "object" || t == "function");
6
6
  }
7
- var sr = ql, $l = typeof Gt == "object" && Gt && Gt.Object === Object && Gt, Kl = $l, Zl = Kl, Ql = typeof self == "object" && self && self.Object === Object && self, Jl = Zl || Ql || Function("return this")(), ti = Jl, eu = ti, tu = function() {
7
+ var sr = Wl, $l = typeof Gt == "object" && Gt && Gt.Object === Object && Gt, Kl = $l, Zl = Kl, Ql = typeof self == "object" && self && self.Object === Object && self, Jl = Zl || Ql || Function("return this")(), ti = Jl, eu = ti, tu = function() {
8
8
  return eu.Date.now();
9
9
  }, nu = tu, ru = /\s/;
10
10
  function iu(e) {
@@ -107,7 +107,7 @@ function Uu(e, t, n) {
107
107
  }
108
108
  return _.cancel = x, _.flush = T, _;
109
109
  }
110
- var Xu = Uu, Wo = { exports: {} };
110
+ var Xu = Uu, qo = { exports: {} };
111
111
  (function(e, t) {
112
112
  (function() {
113
113
  var n, r, i, o, a, s, l, u, c, h, p, d, g, v, b;
@@ -218,10 +218,10 @@ var Xu = Uu, Wo = { exports: {} };
218
218
  return n;
219
219
  });
220
220
  }).call(Gt);
221
- })(Wo);
222
- var ju = Wo.exports, Hu = ju, Wu = Array.isArray, ni = Wu, qu = ni, $u = lr, Ku = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Zu = /^\w*$/;
221
+ })(qo);
222
+ var ju = qo.exports, Hu = ju, qu = Array.isArray, ni = qu, Wu = ni, $u = lr, Ku = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Zu = /^\w*$/;
223
223
  function Qu(e, t) {
224
- if (qu(e))
224
+ if (Wu(e))
225
225
  return !1;
226
226
  var n = typeof e;
227
227
  return n == "number" || n == "symbol" || n == "boolean" || e == null || $u(e) ? !0 : Zu.test(e) || !Ku.test(e) || t != null && e in Object(t);
@@ -290,10 +290,10 @@ function jc(e) {
290
290
  }
291
291
  return Xc.call(t, e) ? t[e] : void 0;
292
292
  }
293
- var Hc = jc, Wc = ri, qc = Object.prototype, $c = qc.hasOwnProperty;
293
+ var Hc = jc, qc = ri, Wc = Object.prototype, $c = Wc.hasOwnProperty;
294
294
  function Kc(e) {
295
295
  var t = this.__data__;
296
- return Wc ? t[e] !== void 0 : $c.call(t, e);
296
+ return qc ? t[e] !== void 0 : $c.call(t, e);
297
297
  }
298
298
  var Zc = Kc, Qc = ri, Jc = "__lodash_hash_undefined__";
299
299
  function eh(e, t) {
@@ -321,7 +321,7 @@ var uh = lh;
321
321
  function ch(e, t) {
322
322
  return e === t || e !== e && t !== t;
323
323
  }
324
- var qo = ch, hh = qo;
324
+ var Wo = ch, hh = Wo;
325
325
  function dh(e, t) {
326
326
  for (var n = e.length; n--; )
327
327
  if (hh(e[n][0], t))
@@ -386,9 +386,9 @@ function Hh(e) {
386
386
  var t = jh(this, e).delete(e);
387
387
  return this.size -= t ? 1 : 0, t;
388
388
  }
389
- var Wh = Hh, qh = ai;
389
+ var qh = Hh, Wh = ai;
390
390
  function $h(e) {
391
- return qh(this, e).get(e);
391
+ return Wh(this, e).get(e);
392
392
  }
393
393
  var Kh = $h, Zh = ai;
394
394
  function Qh(e) {
@@ -399,7 +399,7 @@ function td(e, t) {
399
399
  var n = ed(this, e), r = n.size;
400
400
  return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
401
401
  }
402
- var nd = td, rd = Gh, id = Wh, ad = Kh, od = Jh, sd = nd;
402
+ var nd = td, rd = Gh, id = qh, ad = Kh, od = Jh, sd = nd;
403
403
  function Nn(e) {
404
404
  var t = -1, n = e == null ? 0 : e.length;
405
405
  for (this.clear(); ++t < n; ) {
@@ -497,10 +497,10 @@ function jd(e, t, n) {
497
497
  writable: !0
498
498
  }) : e[t] = n;
499
499
  }
500
- var Hd = jd, Wd = Hd, qd = qo, $d = Object.prototype, Kd = $d.hasOwnProperty;
500
+ var Hd = jd, qd = Hd, Wd = Wo, $d = Object.prototype, Kd = $d.hasOwnProperty;
501
501
  function Zd(e, t, n) {
502
502
  var r = e[t];
503
- (!(Kd.call(e, t) && qd(r, n)) || n === void 0 && !(t in e)) && Wd(e, t, n);
503
+ (!(Kd.call(e, t) && Wd(r, n)) || n === void 0 && !(t in e)) && qd(e, t, n);
504
504
  }
505
505
  var Qd = Zd, Jd = 9007199254740991, ep = /^(?:0|[1-9]\d*)$/;
506
506
  function tp(e, t) {
@@ -696,7 +696,7 @@ var Rp = Ye(""), ns = Ye({}), Bp = Ye(function() {
696
696
  return e + "$" + t;
697
697
  }), Ga = function(e) {
698
698
  return Xt(e) ? e : e.charAt(0).toUpperCase() + e.substring(1);
699
- }, Ge = "(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))", Hp = "rgb[a]?\\((" + Ge + "[%]?)\\s*,\\s*(" + Ge + "[%]?)\\s*,\\s*(" + Ge + "[%]?)(?:\\s*,\\s*(" + Ge + "))?\\)", Wp = "rgb[a]?\\((?:" + Ge + "[%]?)\\s*,\\s*(?:" + Ge + "[%]?)\\s*,\\s*(?:" + Ge + "[%]?)(?:\\s*,\\s*(?:" + Ge + "))?\\)", qp = "hsl[a]?\\((" + Ge + ")\\s*,\\s*(" + Ge + "[%])\\s*,\\s*(" + Ge + "[%])(?:\\s*,\\s*(" + Ge + "))?\\)", $p = "hsl[a]?\\((?:" + Ge + ")\\s*,\\s*(?:" + Ge + "[%])\\s*,\\s*(?:" + Ge + "[%])(?:\\s*,\\s*(?:" + Ge + "))?\\)", Kp = "\\#[0-9a-fA-F]{3}", Zp = "\\#[0-9a-fA-F]{6}", os = function(e, t) {
699
+ }, Ge = "(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))", Hp = "rgb[a]?\\((" + Ge + "[%]?)\\s*,\\s*(" + Ge + "[%]?)\\s*,\\s*(" + Ge + "[%]?)(?:\\s*,\\s*(" + Ge + "))?\\)", qp = "rgb[a]?\\((?:" + Ge + "[%]?)\\s*,\\s*(?:" + Ge + "[%]?)\\s*,\\s*(?:" + Ge + "[%]?)(?:\\s*,\\s*(?:" + Ge + "))?\\)", Wp = "hsl[a]?\\((" + Ge + ")\\s*,\\s*(" + Ge + "[%])\\s*,\\s*(" + Ge + "[%])(?:\\s*,\\s*(" + Ge + "))?\\)", $p = "hsl[a]?\\((?:" + Ge + ")\\s*,\\s*(?:" + Ge + "[%])\\s*,\\s*(?:" + Ge + "[%])(?:\\s*,\\s*(?:" + Ge + "))?\\)", Kp = "\\#[0-9a-fA-F]{3}", Zp = "\\#[0-9a-fA-F]{6}", os = function(e, t) {
700
700
  return e < t ? -1 : e > t ? 1 : 0;
701
701
  }, Qp = function(e, t) {
702
702
  return -1 * os(e, t);
@@ -720,7 +720,7 @@ var Rp = Ye(""), ns = Ye({}), Bp = Ye(function() {
720
720
  function u(d, g, v) {
721
721
  return v < 0 && (v += 1), v > 1 && (v -= 1), v < 1 / 6 ? d + (g - d) * 6 * v : v < 1 / 2 ? g : v < 2 / 3 ? d + (g - d) * (2 / 3 - v) * 6 : d;
722
722
  }
723
- var c = new RegExp("^" + qp + "$").exec(e);
723
+ var c = new RegExp("^" + Wp + "$").exec(e);
724
724
  if (c) {
725
725
  if (n = parseInt(c[1]), n < 0 ? n = (360 - -1 * n % 360) % 360 : n > 360 && (n = n % 360), n /= 360, r = parseFloat(c[2]), r < 0 || r > 100 || (r = r / 100, i = parseFloat(c[3]), i < 0 || i > 100) || (i = i / 100, o = c[4], o !== void 0 && (o = parseFloat(o), o < 0 || o > 1)))
726
726
  return;
@@ -1515,9 +1515,9 @@ var mg = $e({
1515
1515
  return Q.collection();
1516
1516
  if (f[F * u + U] == null)
1517
1517
  return t.collection();
1518
- var z = t.collection(), q = F, H;
1518
+ var z = t.collection(), W = F, H;
1519
1519
  for (z.merge(Q); F !== U; )
1520
- q = F, F = f[F * u + U], H = m[q * u + F], z.merge(H), z.merge(p(F));
1520
+ W = F, F = f[F * u + U], H = m[W * u + F], z.merge(H), z.merge(p(F));
1521
1521
  return z;
1522
1522
  }
1523
1523
  };
@@ -1577,7 +1577,7 @@ var mg = $e({
1577
1577
  if (g || (Le("Graph contains a negative weight cycle for Bellman-Ford"), g = !0), e.findNegativeWeightCycles !== !1) {
1578
1578
  var z = [];
1579
1579
  U + F < Q && z.push(B), !i && Q + F < U && z.push(V);
1580
- for (var q = z.length, H = 0; H < q; H++) {
1580
+ for (var W = z.length, H = 0; H < W; H++) {
1581
1581
  var $ = z[H], Z = [$];
1582
1582
  Z.push(f($).edge);
1583
1583
  for (var te = f($).pred; Z.indexOf(te) === -1; )
@@ -1915,7 +1915,7 @@ var mg = $e({
1915
1915
  return;
1916
1916
  }
1917
1917
  s = -s, u = s * s * s, u = Math.acos(l / Math.sqrt(u)), d = 2 * Math.sqrt(s), i[0] = -p + d * Math.cos(u / 3), i[2] = -p + d * Math.cos((u + 2 * Math.PI) / 3), i[4] = -p + d * Math.cos((u + 4 * Math.PI) / 3);
1918
- }, Wg = function(e, t, n, r, i, o, a, s) {
1918
+ }, qg = function(e, t, n, r, i, o, a, s) {
1919
1919
  var l = 1 * n * n - 4 * n * i + 2 * n * a + 4 * i * i - 4 * i * a + a * a + r * r - 4 * r * o + 2 * r * s + 4 * o * o - 4 * o * s + s * s, u = 1 * 9 * n * i - 3 * n * n - 3 * n * a - 6 * i * i + 3 * i * a + 9 * r * o - 3 * r * r - 3 * r * s - 6 * o * o + 3 * o * s, c = 1 * 3 * n * n - 6 * n * i + n * a - n * e + 2 * i * i + 2 * i * e - a * e + 3 * r * r - 6 * r * o + r * s - r * t + 2 * o * o + 2 * o * t - s * t, h = 1 * n * i - n * n + n * e - i * e + r * o - r * r + r * t - o * t, p = [];
1920
1920
  Hg(l, u, c, h, p);
1921
1921
  for (var d = 1e-7, g = [], v = 0; v < 6; v += 2)
@@ -1924,7 +1924,7 @@ var mg = $e({
1924
1924
  for (var b = -1, f, m, x, T = 0; T < g.length; T++)
1925
1925
  f = Math.pow(1 - g[T], 2) * n + 2 * (1 - g[T]) * g[T] * i + g[T] * g[T] * a, m = Math.pow(1 - g[T], 2) * r + 2 * (1 - g[T]) * g[T] * o + g[T] * g[T] * s, x = Math.pow(f - e, 2) + Math.pow(m - t, 2), b >= 0 ? x < b && (b = x) : b = x;
1926
1926
  return b;
1927
- }, qg = function(e, t, n, r, i, o) {
1927
+ }, Wg = function(e, t, n, r, i, o) {
1928
1928
  var a = [e - n, t - r], s = [i - n, o - r], l = s[0] * s[0] + s[1] * s[1], u = a[0] * a[0] + a[1] * a[1], c = a[0] * s[0] + a[1] * s[1], h = c * c / l;
1929
1929
  return c < 0 ? u : h > l ? (e - i) * (e - i) + (t - o) * (t - o) : u - h;
1930
1930
  }, lt = function(e, t, n) {
@@ -1942,8 +1942,8 @@ var mg = $e({
1942
1942
  u[d * 2] = o / 2 * (n[d * 2] * h - n[d * 2 + 1] * p), u[d * 2 + 1] = a / 2 * (n[d * 2 + 1] * h + n[d * 2] * p), u[d * 2] += r, u[d * 2 + 1] += i;
1943
1943
  var g;
1944
1944
  if (l > 0) {
1945
- var v = qr(u, -l);
1946
- g = Wr(v);
1945
+ var v = Wr(u, -l);
1946
+ g = qr(v);
1947
1947
  } else
1948
1948
  g = u;
1949
1949
  return lt(e, t, g);
@@ -1960,14 +1960,14 @@ var mg = $e({
1960
1960
  return !0;
1961
1961
  }
1962
1962
  return lt(e, t, s);
1963
- }, Wr = function(e) {
1963
+ }, qr = function(e) {
1964
1964
  for (var t = new Array(e.length / 2), n, r, i, o, a, s, l, u, c = 0; c < e.length / 4; c++) {
1965
1965
  n = e[c * 4], r = e[c * 4 + 1], i = e[c * 4 + 2], o = e[c * 4 + 3], c < e.length / 4 - 1 ? (a = e[(c + 1) * 4], s = e[(c + 1) * 4 + 1], l = e[(c + 1) * 4 + 2], u = e[(c + 1) * 4 + 3]) : (a = e[0], s = e[1], l = e[2], u = e[3]);
1966
1966
  var h = Yt(n, r, i, o, a, s, l, u, !0);
1967
1967
  t[c * 2] = h[0], t[c * 2 + 1] = h[1];
1968
1968
  }
1969
1969
  return t;
1970
- }, qr = function(e, t) {
1970
+ }, Wr = function(e, t) {
1971
1971
  for (var n = new Array(e.length * 2), r, i, o, a, s = 0; s < e.length / 2; s++) {
1972
1972
  r = e[s * 2], i = e[s * 2 + 1], s < e.length / 2 - 1 ? (o = e[(s + 1) * 2], a = e[(s + 1) * 2 + 1]) : (o = e[0], a = e[1]);
1973
1973
  var l = a - i, u = -(o - r), c = Math.sqrt(l * l + u * u), h = l / c, p = u / c;
@@ -2016,8 +2016,8 @@ var mg = $e({
2016
2016
  for (var d = 0; d < c.length / 2; d++)
2017
2017
  c[d * 2] = n[d * 2] * o + r, c[d * 2 + 1] = n[d * 2 + 1] * a + i;
2018
2018
  if (s > 0) {
2019
- var g = qr(c, -s);
2020
- p = Wr(g);
2019
+ var g = Wr(c, -s);
2020
+ p = qr(g);
2021
2021
  } else
2022
2022
  p = c;
2023
2023
  } else
@@ -2126,8 +2126,8 @@ var mg = $e({
2126
2126
  O[F] += d[Q] * I[U];
2127
2127
  }
2128
2128
  Rg(O), M = I, I = O, O = M;
2129
- for (var z = 0, q = 0; q < c; q++) {
2130
- var H = M[q] - I[q];
2129
+ for (var z = 0, W = 0; W < c; W++) {
2130
+ var H = M[W] - I[W];
2131
2131
  z += H * H;
2132
2132
  }
2133
2133
  if (z < r)
@@ -2400,7 +2400,7 @@ var nf = $e({
2400
2400
  for (var n = 0; n < e.length; n++)
2401
2401
  t != n && df(e[t], e[n]) && e.splice(n, 1);
2402
2402
  return e;
2403
- }, Wa = function(e) {
2403
+ }, qa = function(e) {
2404
2404
  for (var t = this.nodes(), n = this.edges(), r = this.cy(), i = rf(e), o = {}, a = 0; a < t.length; a++)
2405
2405
  o[t[a].id()] = a;
2406
2406
  for (var s = t.length, l = s * s, u = new Array(l), c, h = 0; h < l; h++)
@@ -2415,13 +2415,13 @@ var nf = $e({
2415
2415
  var x = hf(u, s, t, r);
2416
2416
  return x = pf(x), x;
2417
2417
  }, gf = {
2418
- markovClustering: Wa,
2419
- mcl: Wa
2418
+ markovClustering: qa,
2419
+ mcl: qa
2420
2420
  }, ff = function(e) {
2421
2421
  return e;
2422
2422
  }, Ds = function(e, t) {
2423
2423
  return Math.abs(t - e);
2424
- }, qa = function(e, t, n) {
2424
+ }, Wa = function(e, t, n) {
2425
2425
  return e + Ds(t, n);
2426
2426
  }, $a = function(e, t, n) {
2427
2427
  return e + Math.pow(n - t, 2);
@@ -2435,13 +2435,13 @@ var nf = $e({
2435
2435
  return o(a);
2436
2436
  }, Cn = {
2437
2437
  euclidean: function(e, t, n) {
2438
- return e >= 2 ? Yn(e, t, n, 0, $a, vf) : Yn(e, t, n, 0, qa);
2438
+ return e >= 2 ? Yn(e, t, n, 0, $a, vf) : Yn(e, t, n, 0, Wa);
2439
2439
  },
2440
2440
  squaredEuclidean: function(e, t, n) {
2441
2441
  return Yn(e, t, n, 0, $a);
2442
2442
  },
2443
2443
  manhattan: function(e, t, n) {
2444
- return Yn(e, t, n, 0, qa);
2444
+ return Yn(e, t, n, 0, Wa);
2445
2445
  },
2446
2446
  max: function(e, t, n) {
2447
2447
  return Yn(e, t, n, -1 / 0, yf);
@@ -2868,10 +2868,10 @@ var mf = $e({
2868
2868
  break;
2869
2869
  }
2870
2870
  }
2871
- for (var z = Ff(a, c, h), q = zf(a, l, z), H = {}, $ = 0; $ < z.length; $++)
2871
+ for (var z = Ff(a, c, h), W = zf(a, l, z), H = {}, $ = 0; $ < z.length; $++)
2872
2872
  H[z[$]] = [];
2873
2873
  for (var Z = 0; Z < n.length; Z++) {
2874
- var te = i[n[Z].id()], pe = q[te];
2874
+ var te = i[n[Z].id()], pe = W[te];
2875
2875
  pe != null && H[pe].push(n[Z]);
2876
2876
  }
2877
2877
  for (var ue = new Array(z.length), J = 0; J < z.length; J++)
@@ -3393,7 +3393,7 @@ var Hf = {
3393
3393
  };
3394
3394
  }
3395
3395
  // stop
3396
- }, Wf = {
3396
+ }, qf = {
3397
3397
  // access data field
3398
3398
  data: function(e) {
3399
3399
  var t = {
@@ -3496,7 +3496,7 @@ var Hf = {
3496
3496
  };
3497
3497
  }
3498
3498
  // removeData
3499
- }, qf = {
3499
+ }, Wf = {
3500
3500
  eventAliasesOn: function(e) {
3501
3501
  var t = e;
3502
3502
  t.addListener = t.listen = t.bind = t.on, t.unlisten = t.unbind = t.off = t.removeListener, t.trigger = t.emit, t.pon = t.promiseOn = function(n, r) {
@@ -3510,7 +3510,7 @@ var Hf = {
3510
3510
  };
3511
3511
  }
3512
3512
  }, ke = {};
3513
- [Hf, Wf, qf].forEach(function(e) {
3513
+ [Hf, qf, Wf].forEach(function(e) {
3514
3514
  de(ke, e);
3515
3515
  });
3516
3516
  var $f = {
@@ -4337,26 +4337,26 @@ var sv = function(e) {
4337
4337
  value: e
4338
4338
  }]
4339
4339
  }) : le(e) ? this.parse(e) || (this.invalid = !0) : Re("A selector must be created from a string; found "));
4340
- }, Wt = Ht.prototype;
4340
+ }, qt = Ht.prototype;
4341
4341
  [rv, uv].forEach(function(e) {
4342
- return de(Wt, e);
4342
+ return de(qt, e);
4343
4343
  });
4344
- Wt.text = function() {
4344
+ qt.text = function() {
4345
4345
  return this.inputText;
4346
4346
  };
4347
- Wt.size = function() {
4347
+ qt.size = function() {
4348
4348
  return this.length;
4349
4349
  };
4350
- Wt.eq = function(e) {
4350
+ qt.eq = function(e) {
4351
4351
  return this[e];
4352
4352
  };
4353
- Wt.sameText = function(e) {
4353
+ qt.sameText = function(e) {
4354
4354
  return !this.invalid && !e.invalid && this.text() === e.text();
4355
4355
  };
4356
- Wt.addQuery = function(e) {
4356
+ qt.addQuery = function(e) {
4357
4357
  this[this.length++] = e;
4358
4358
  };
4359
- Wt.selector = Wt.toString;
4359
+ qt.selector = qt.toString;
4360
4360
  var Vt = {
4361
4361
  allAre: function(e) {
4362
4362
  var t = new Ht(e);
@@ -5003,8 +5003,8 @@ var pt = function(e) {
5003
5003
  x: te * G - pe * B + V,
5004
5004
  y: te * B + pe * G + F
5005
5005
  };
5006
- }, Q = U(C, k), z = U(C, S), q = U(A, k), H = U(A, S);
5007
- C = Math.min(Q.x, z.x, q.x, H.x), A = Math.max(Q.x, z.x, q.x, H.x), k = Math.min(Q.y, z.y, q.y, H.y), S = Math.max(Q.y, z.y, q.y, H.y);
5006
+ }, Q = U(C, k), z = U(C, S), W = U(A, k), H = U(A, S);
5007
+ C = Math.min(Q.x, z.x, W.x, H.x), A = Math.max(Q.x, z.x, W.x, H.x), k = Math.min(Q.y, z.y, W.y, H.y), S = Math.max(Q.y, z.y, W.y, H.y);
5008
5008
  }
5009
5009
  var $ = N + "Rot", Z = P[$] = P[$] || {};
5010
5010
  Z.x1 = C, Z.y1 = k, Z.x2 = A, Z.y2 = S, Z.w = A - C, Z.h = S - k, xt(e, C, k, A, S), xt(i.labelBounds.all, C, k, A, S);
@@ -5080,8 +5080,8 @@ var pt = function(e) {
5080
5080
  u = c, c = z;
5081
5081
  }
5082
5082
  if (h > p) {
5083
- var q = h;
5084
- h = p, p = q;
5083
+ var W = h;
5084
+ h = p, p = W;
5085
5085
  }
5086
5086
  u -= w, c += w, h -= w, p += w, xt(o, u, h, c, p);
5087
5087
  }
@@ -5184,10 +5184,10 @@ $t.boundingBoxAt = function(e) {
5184
5184
  };
5185
5185
  Tn.boundingbox = Tn.bb = Tn.boundingBox;
5186
5186
  Tn.renderedBoundingbox = Tn.renderedBoundingBox;
5187
- var fv = $t, Wn, gr;
5188
- Wn = gr = {};
5187
+ var fv = $t, qn, gr;
5188
+ qn = gr = {};
5189
5189
  var Ys = function(e) {
5190
- e.uppercaseName = Ga(e.name), e.autoName = "auto" + e.uppercaseName, e.labelName = "label" + e.uppercaseName, e.outerName = "outer" + e.uppercaseName, e.uppercaseOuterName = Ga(e.outerName), Wn[e.name] = function() {
5190
+ e.uppercaseName = Ga(e.name), e.autoName = "auto" + e.uppercaseName, e.labelName = "label" + e.uppercaseName, e.outerName = "outer" + e.uppercaseName, e.uppercaseOuterName = Ga(e.outerName), qn[e.name] = function() {
5191
5191
  var t = this[0], n = t._private, r = n.cy, i = r._private.styleEnabled;
5192
5192
  if (t)
5193
5193
  if (i) {
@@ -5202,7 +5202,7 @@ var Ys = function(e) {
5202
5202
  }
5203
5203
  } else
5204
5204
  return 1;
5205
- }, Wn["outer" + e.uppercaseName] = function() {
5205
+ }, qn["outer" + e.uppercaseName] = function() {
5206
5206
  var t = this[0], n = t._private, r = n.cy, i = r._private.styleEnabled;
5207
5207
  if (t)
5208
5208
  if (i) {
@@ -5210,13 +5210,13 @@ var Ys = function(e) {
5210
5210
  return o + a + s;
5211
5211
  } else
5212
5212
  return 1;
5213
- }, Wn["rendered" + e.uppercaseName] = function() {
5213
+ }, qn["rendered" + e.uppercaseName] = function() {
5214
5214
  var t = this[0];
5215
5215
  if (t) {
5216
5216
  var n = t[e.name]();
5217
5217
  return n * this.cy().zoom();
5218
5218
  }
5219
- }, Wn["rendered" + e.uppercaseOuterName] = function() {
5219
+ }, qn["rendered" + e.uppercaseOuterName] = function() {
5220
5220
  var t = this[0];
5221
5221
  if (t) {
5222
5222
  var n = t[e.outerName]();
@@ -5375,7 +5375,7 @@ function di() {
5375
5375
  }
5376
5376
  this.context = t || this.context, this.listeners = [], this.emitting = 0;
5377
5377
  }
5378
- var qt = di.prototype, js = function(e, t, n, r, i, o, a) {
5378
+ var Wt = di.prototype, js = function(e, t, n, r, i, o, a) {
5379
5379
  Me(r) && (i = r, r = null), a && (o == null ? o = a : o = de({}, o, a));
5380
5380
  for (var s = Se(n) ? n : n.split(/\s+/), l = 0; l < s.length; l++) {
5381
5381
  var u = s[l];
@@ -5413,7 +5413,7 @@ var qt = di.prototype, js = function(e, t, n, r, i, o, a) {
5413
5413
  }
5414
5414
  }
5415
5415
  };
5416
- qt.on = qt.addListener = function(e, t, n, r, i) {
5416
+ Wt.on = Wt.addListener = function(e, t, n, r, i) {
5417
5417
  return js(this, function(o, a, s, l, u, c, h) {
5418
5418
  Me(c) && o.listeners.push({
5419
5419
  event: a,
@@ -5431,12 +5431,12 @@ qt.on = qt.addListener = function(e, t, n, r, i) {
5431
5431
  });
5432
5432
  }, e, t, n, r, i), this;
5433
5433
  };
5434
- qt.one = function(e, t, n, r) {
5434
+ Wt.one = function(e, t, n, r) {
5435
5435
  return this.on(e, t, n, r, {
5436
5436
  one: !0
5437
5437
  });
5438
5438
  };
5439
- qt.removeListener = qt.off = function(e, t, n, r) {
5439
+ Wt.removeListener = Wt.off = function(e, t, n, r) {
5440
5440
  var i = this;
5441
5441
  this.emitting !== 0 && (this.listeners = dg(this.listeners));
5442
5442
  for (var o = this.listeners, a = function(l) {
@@ -5449,10 +5449,10 @@ qt.removeListener = qt.off = function(e, t, n, r) {
5449
5449
  a(s);
5450
5450
  return this;
5451
5451
  };
5452
- qt.removeAllListeners = function() {
5452
+ Wt.removeAllListeners = function() {
5453
5453
  return this.removeListener("*");
5454
5454
  };
5455
- qt.emit = qt.trigger = function(e, t, n) {
5455
+ Wt.emit = Wt.trigger = function(e, t, n) {
5456
5456
  var r = this.listeners, i = r.length;
5457
5457
  return this.emitting++, Se(t) || (t = [t]), Nv(this, function(o, a) {
5458
5458
  n != null && (r = [{
@@ -5562,7 +5562,7 @@ var Sv = {
5562
5562
  }
5563
5563
  };
5564
5564
  ke.eventAliasesOn(Hs);
5565
- var Ws = {
5565
+ var qs = {
5566
5566
  nodes: function(e) {
5567
5567
  return this.filter(function(t) {
5568
5568
  return t.isNode();
@@ -5759,7 +5759,7 @@ var Ws = {
5759
5759
  ele: r
5760
5760
  };
5761
5761
  }
5762
- }, Ae = Ws;
5762
+ }, Ae = qs;
5763
5763
  Ae.u = Ae["|"] = Ae["+"] = Ae.union = Ae.or = Ae.add;
5764
5764
  Ae["\\"] = Ae["!"] = Ae["-"] = Ae.difference = Ae.relativeComplement = Ae.subtract = Ae.not;
5765
5765
  Ae.n = Ae["&"] = Ae["."] = Ae.and = Ae.intersection = Ae.intersect;
@@ -5784,7 +5784,7 @@ var Iv = {
5784
5784
  if (e)
5785
5785
  return e._private.group;
5786
5786
  }
5787
- }, qs = function(e, t) {
5787
+ }, Ws = function(e, t) {
5788
5788
  var n = e.cy(), r = n.hasCompoundNodes();
5789
5789
  function i(u) {
5790
5790
  var c = u.pstyle("z-compound-depth");
@@ -5849,7 +5849,7 @@ var Iv = {
5849
5849
  return this.spawn(t);
5850
5850
  },
5851
5851
  sortByZIndex: function() {
5852
- return this.sort(qs);
5852
+ return this.sort(Ws);
5853
5853
  },
5854
5854
  zDepth: function() {
5855
5855
  var e = this[0];
@@ -6031,7 +6031,7 @@ function gi(e, t) {
6031
6031
  return $s(e, n, r);
6032
6032
  };
6033
6033
  }
6034
- var We = {
6034
+ var qe = {
6035
6035
  recalculateRenderedStyle: function(e) {
6036
6036
  var t = this.cy(), n = t.renderer(), r = t.styleEnabled();
6037
6037
  return n && r && n.recalculateRenderedStyle(this, e), this;
@@ -6216,7 +6216,7 @@ function da(e) {
6216
6216
  var Pn = pi("eleTakesUpSpace", function(e) {
6217
6217
  return e.pstyle("display").value === "element" && e.width() !== 0 && (e.isNode() ? e.height() !== 0 : !0);
6218
6218
  });
6219
- We.takesUpSpace = gi("takesUpSpace", da({
6219
+ qe.takesUpSpace = gi("takesUpSpace", da({
6220
6220
  ok: Pn
6221
6221
  }));
6222
6222
  var Mv = pi("eleInteractive", function(e) {
@@ -6224,12 +6224,12 @@ var Mv = pi("eleInteractive", function(e) {
6224
6224
  }), Rv = pi("parentInteractive", function(e) {
6225
6225
  return e.pstyle("visibility").value === "visible" && Pn(e);
6226
6226
  });
6227
- We.interactive = gi("interactive", da({
6227
+ qe.interactive = gi("interactive", da({
6228
6228
  ok: Mv,
6229
6229
  parentOk: Rv,
6230
6230
  edgeOkViaNode: Pn
6231
6231
  }));
6232
- We.noninteractive = function() {
6232
+ qe.noninteractive = function() {
6233
6233
  var e = this[0];
6234
6234
  if (e)
6235
6235
  return !e.interactive();
@@ -6237,22 +6237,22 @@ We.noninteractive = function() {
6237
6237
  var Bv = pi("eleVisible", function(e) {
6238
6238
  return e.pstyle("visibility").value === "visible" && e.pstyle("opacity").pfValue !== 0 && Pn(e);
6239
6239
  }), Fv = Pn;
6240
- We.visible = gi("visible", da({
6240
+ qe.visible = gi("visible", da({
6241
6241
  ok: Bv,
6242
6242
  edgeOkViaNode: Fv
6243
6243
  }));
6244
- We.hidden = function() {
6244
+ qe.hidden = function() {
6245
6245
  var e = this[0];
6246
6246
  if (e)
6247
6247
  return !e.visible();
6248
6248
  };
6249
- We.isBundledBezier = gi("isBundledBezier", function() {
6249
+ qe.isBundledBezier = gi("isBundledBezier", function() {
6250
6250
  return this.cy().styleEnabled() ? !this.removed() && this.pstyle("curve-style").value === "bezier" && this.takesUpSpace() : !1;
6251
6251
  });
6252
- We.bypass = We.css = We.style;
6253
- We.renderedCss = We.renderedStyle;
6254
- We.removeBypass = We.removeCss = We.removeStyle;
6255
- We.pstyle = We.parsedStyle;
6252
+ qe.bypass = qe.css = qe.style;
6253
+ qe.renderedCss = qe.renderedStyle;
6254
+ qe.removeBypass = qe.removeCss = qe.removeStyle;
6255
+ qe.pstyle = qe.parsedStyle;
6256
6256
  var Ut = {};
6257
6257
  function go(e) {
6258
6258
  return function() {
@@ -6571,7 +6571,7 @@ de(et, {
6571
6571
  }
6572
6572
  });
6573
6573
  et.componentsOf = et.components;
6574
- var qe = function(e, t) {
6574
+ var We = function(e, t) {
6575
6575
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1, r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1;
6576
6576
  if (e === void 0) {
6577
6577
  Re("A collection must have a reference to the core");
@@ -6625,12 +6625,12 @@ var qe = function(e, t) {
6625
6625
  }
6626
6626
  }
6627
6627
  }, n && (this._private.map = i), o && !r && this.restore();
6628
- }, Pe = li.prototype = qe.prototype = Object.create(Array.prototype);
6628
+ }, Pe = li.prototype = We.prototype = Object.create(Array.prototype);
6629
6629
  Pe.instanceString = function() {
6630
6630
  return "collection";
6631
6631
  };
6632
6632
  Pe.spawn = function(e, t) {
6633
- return new qe(this.cy(), e, t);
6633
+ return new We(this.cy(), e, t);
6634
6634
  };
6635
6635
  Pe.spawnSelf = function() {
6636
6636
  return this.spawn(this);
@@ -6645,10 +6645,10 @@ Pe.element = function() {
6645
6645
  return this[0];
6646
6646
  };
6647
6647
  Pe.collection = function() {
6648
- return rs(this) ? this : new qe(this._private.cy, [this]);
6648
+ return rs(this) ? this : new We(this._private.cy, [this]);
6649
6649
  };
6650
6650
  Pe.unique = function() {
6651
- return new qe(this._private.cy, this, !0);
6651
+ return new We(this._private.cy, this, !0);
6652
6652
  };
6653
6653
  Pe.hasElementWithId = function(e) {
6654
6654
  return e = "" + e, this._private.map.has(e);
@@ -6656,7 +6656,7 @@ Pe.hasElementWithId = function(e) {
6656
6656
  Pe.getElementById = function(e) {
6657
6657
  e = "" + e;
6658
6658
  var t = this._private.cy, n = this._private.map.get(e);
6659
- return n ? n.ele : new qe(t);
6659
+ return n ? n.ele : new We(t);
6660
6660
  };
6661
6661
  Pe.$id = Pe.getElementById;
6662
6662
  Pe.poolIndex = function() {
@@ -6729,7 +6729,7 @@ Pe.clone = function() {
6729
6729
  var r = this[n], i = r.json(), o = new li(e, i, !1);
6730
6730
  t.push(o);
6731
6731
  }
6732
- return new qe(e, t);
6732
+ return new We(e, t);
6733
6733
  };
6734
6734
  Pe.copy = Pe.clone;
6735
6735
  Pe.restore = function() {
@@ -6801,7 +6801,7 @@ Pe.restore = function() {
6801
6801
  }
6802
6802
  }
6803
6803
  if (s.length > 0) {
6804
- for (var M = s.length === n.length ? n : new qe(r, s), G = 0; G < M.length; G++) {
6804
+ for (var M = s.length === n.length ? n : new We(r, s), G = 0; G < M.length; G++) {
6805
6805
  var B = M[G];
6806
6806
  B.isNode() || (B.parallelEdges().clearTraversalCache(), B.source().clearTraversalCache(), B.target().clearTraversalCache());
6807
6807
  }
@@ -6875,7 +6875,7 @@ Pe.remove = function() {
6875
6875
  break;
6876
6876
  }
6877
6877
  }
6878
- var A = new qe(this.cy(), r);
6878
+ var A = new We(this.cy(), r);
6879
6879
  A.size() > 0 && (e ? A.emitAndNotify("remove") : t && A.emit("remove"));
6880
6880
  for (var k = 0; k < g.length; k++) {
6881
6881
  var S = g[k];
@@ -6914,7 +6914,7 @@ Pe.move = function(e) {
6914
6914
  }
6915
6915
  return this;
6916
6916
  };
6917
- [ks, $f, Rr, Vt, An, hv, hi, Av, Hs, Ws, Iv, Kr, Br, We, Ut, et].forEach(function(e) {
6917
+ [ks, $f, Rr, Vt, An, hv, hi, Av, Hs, qs, Iv, Kr, Br, qe, Ut, et].forEach(function(e) {
6918
6918
  de(Pe, e);
6919
6919
  });
6920
6920
  var zv = {
@@ -6929,11 +6929,11 @@ var zv = {
6929
6929
  var a = r[o];
6930
6930
  i.push(a.json());
6931
6931
  }
6932
- t = new qe(n, i);
6932
+ t = new We(n, i);
6933
6933
  }
6934
6934
  } else if (Se(e)) {
6935
6935
  var s = e;
6936
- t = new qe(n, s);
6936
+ t = new We(n, s);
6937
6937
  } else if (_e(e) && (Se(e.nodes) || Se(e.edges))) {
6938
6938
  for (var l = e, u = [], c = ["nodes", "edges"], h = 0, p = c.length; h < p; h++) {
6939
6939
  var d = c[h], g = l[d];
@@ -6945,7 +6945,7 @@ var zv = {
6945
6945
  u.push(f);
6946
6946
  }
6947
6947
  }
6948
- t = new qe(n, u);
6948
+ t = new We(n, u);
6949
6949
  } else {
6950
6950
  var m = e;
6951
6951
  t = new li(n, m).collection();
@@ -7397,7 +7397,7 @@ var Hv = {
7397
7397
  }
7398
7398
  });
7399
7399
  }
7400
- }, Wv = $e({
7400
+ }, qv = $e({
7401
7401
  hideEdgesOnViewport: !1,
7402
7402
  textureOnViewport: !1,
7403
7403
  motionBlur: !1,
@@ -7429,7 +7429,7 @@ var Hv = {
7429
7429
  return;
7430
7430
  }
7431
7431
  e.wheelSensitivity !== void 0 && Le("You have set a custom wheel sensitivity. This will make your app zoom unnaturally when using mainstream mice. You should change this value from the default only if you can guarantee that all your users will use the same hardware and OS configuration as your current machine.");
7432
- var r = Wv(e);
7432
+ var r = qv(e);
7433
7433
  r.cy = t, t._private.renderer = new n(r), this.notify("init");
7434
7434
  },
7435
7435
  destroyRenderer: function() {
@@ -7458,7 +7458,7 @@ var Gr = {
7458
7458
  // - collection of elements in the graph on selector arg
7459
7459
  // - guarantee a returned collection when elements or collection specified
7460
7460
  collection: function(e, t) {
7461
- return le(e) ? this.$(e) : ct(e) ? e.collection() : Se(e) ? (t || (t = {}), new qe(this, e, t.unique, t.removed)) : new qe(this);
7461
+ return le(e) ? this.$(e) : ct(e) ? e.collection() : Se(e) ? (t || (t = {}), new We(this, e, t.unique, t.removed)) : new We(this);
7462
7462
  },
7463
7463
  nodes: function(e) {
7464
7464
  var t = this.$(function(n) {
@@ -7482,7 +7482,7 @@ var Gr = {
7482
7482
  }
7483
7483
  };
7484
7484
  Gr.elements = Gr.filter = Gr.$;
7485
- var nt = {}, $n = "t", qv = "f";
7485
+ var nt = {}, $n = "t", Wv = "f";
7486
7486
  nt.apply = function(e) {
7487
7487
  for (var t = this, n = t._private, r = n.cy, i = r.collection(), o = 0; o < e.length; o++) {
7488
7488
  var a = e[o], s = t.getContextMeta(a);
@@ -7519,7 +7519,7 @@ nt.getPropertiesDiff = function(e, t) {
7519
7519
  nt.getContextMeta = function(e) {
7520
7520
  for (var t = this, n = "", r, i = e._private.styleCxtKey || "", o = 0; o < t.length; o++) {
7521
7521
  var a = t[o], s = a.selector && a.selector.matches(e);
7522
- s ? n += $n : n += qv;
7522
+ s ? n += $n : n += Wv;
7523
7523
  }
7524
7524
  return r = t.getPropertiesDiff(i, n), e._private.styleCxtKey = n, {
7525
7525
  key: n,
@@ -7628,7 +7628,7 @@ nt.updateStyleHints = function(e) {
7628
7628
  t.targetLabelKey = Bt(B), t.targetLabelStyleKey = Bt(_r(O.commonLabel, B));
7629
7629
  }
7630
7630
  if (s) {
7631
- var V = t.styleKeys, F = V.nodeBody, U = V.nodeBorder, Q = V.nodeOutline, z = V.backgroundImage, q = V.compound, H = V.pie, $ = [F, U, Q, z, q, H].filter(function(Z) {
7631
+ var V = t.styleKeys, F = V.nodeBody, U = V.nodeBorder, Q = V.nodeOutline, z = V.backgroundImage, W = V.compound, H = V.pie, $ = [F, U, Q, z, W, H].filter(function(Z) {
7632
7632
  return Z != null;
7633
7633
  }).reduce(_r, [mn, jn]);
7634
7634
  t.nodeKey = Bt($), t.hasPie = H != null && H[0] !== mn && H[1] !== jn;
@@ -8038,7 +8038,7 @@ ga.fromString = function(e) {
8038
8038
  };
8039
8039
  var He = {};
8040
8040
  (function() {
8041
- var e = Ge, t = Wp, n = $p, r = Kp, i = Zp, o = function(H) {
8041
+ var e = Ge, t = qp, n = $p, r = Kp, i = Zp, o = function(H) {
8042
8042
  return "^" + H + "\\s*\\(\\s*([\\w\\.]+)\\s*\\)$";
8043
8043
  }, a = function(H) {
8044
8044
  var $ = e + "|\\w+|" + t + "|" + n + "|" + r + "|" + i;
@@ -9042,12 +9042,12 @@ var He = {};
9042
9042
  I[F.name] = F;
9043
9043
  }
9044
9044
  for (var U = 0; U < B.length; U++) {
9045
- var Q = B[U], z = I[Q.pointsTo], q = {
9045
+ var Q = B[U], z = I[Q.pointsTo], W = {
9046
9046
  name: Q.name,
9047
9047
  alias: !0,
9048
9048
  pointsTo: z
9049
9049
  };
9050
- I.push(q), I[Q.name] = q;
9050
+ I.push(W), I[Q.name] = W;
9051
9051
  }
9052
9052
  })();
9053
9053
  He.getDefaultProperty = function(e) {
@@ -9468,11 +9468,11 @@ vi.parseImpl = function(e, t, n, r) {
9468
9468
  return F;
9469
9469
  }
9470
9470
  for (var U = u.regexes ? u.regexes : [u.regex], Q = 0; Q < U.length; Q++) {
9471
- var z = new RegExp(U[Q]), q = z.exec(t);
9472
- if (q)
9471
+ var z = new RegExp(U[Q]), W = z.exec(t);
9472
+ if (W)
9473
9473
  return {
9474
9474
  name: e,
9475
- value: u.singleRegexMatchValue ? q[1] : q,
9475
+ value: u.singleRegexMatchValue ? W[1] : W,
9476
9476
  strValue: "" + t,
9477
9477
  bypass: n
9478
9478
  };
@@ -9938,11 +9938,11 @@ var or = function(e) {
9938
9938
  // whether ready has been triggered
9939
9939
  options: a,
9940
9940
  // cached options
9941
- elements: new qe(this),
9941
+ elements: new We(this),
9942
9942
  // elements in the graph
9943
9943
  listeners: [],
9944
9944
  // list of listeners
9945
- aniEles: new qe(this),
9945
+ aniEles: new We(this),
9946
9946
  // elements being animated
9947
9947
  data: a.data || {},
9948
9948
  // data for the core
@@ -10339,9 +10339,9 @@ Zs.prototype.run = function() {
10339
10339
  t.depthSort !== void 0 && (Q = t.depthSort);
10340
10340
  for (var z = 0; z < f.length; z++)
10341
10341
  f[z].sort(Q), E(z);
10342
- for (var q = [], H = 0; H < _.length; H++)
10343
- q.push(_[H]);
10344
- f.unshift(q), w();
10342
+ for (var W = [], H = 0; H < _.length; H++)
10343
+ W.push(_[H]);
10344
+ f.unshift(W), w();
10345
10345
  for (var $ = 0, Z = 0; Z < f.length; Z++)
10346
10346
  $ = Math.max(f[Z].length, $);
10347
10347
  var te = {
@@ -10553,8 +10553,8 @@ Js.prototype.run = function() {
10553
10553
  }
10554
10554
  }
10555
10555
  for (var Q = {}, z = 0; z < f.length; z++)
10556
- for (var q = f[z], H = q.dTheta, $ = q.r, Z = 0; Z < q.length; Z++) {
10557
- var te = q[Z], pe = t.startAngle + (n ? 1 : -1) * H * Z, ue = {
10556
+ for (var W = f[z], H = W.dTheta, $ = W.r, Z = 0; Z < W.length; Z++) {
10557
+ var te = W[Z], pe = t.startAngle + (n ? 1 : -1) * H * Z, ue = {
10558
10558
  x: s.x + $ * Math.cos(pe),
10559
10559
  y: s.y + $ * Math.sin(pe)
10560
10560
  };
@@ -11079,9 +11079,9 @@ tl.prototype.run = function() {
11079
11079
  var Q, z;
11080
11080
  if (F.locked() || F.isParent())
11081
11081
  return !1;
11082
- var q = I[F.id()];
11083
- if (q)
11084
- Q = q.col * m + m / 2 + o.x1, z = q.row * x + x / 2 + o.y1;
11082
+ var W = I[F.id()];
11083
+ if (W)
11084
+ Q = W.col * m + m / 2 + o.x1, z = W.row * x + x / 2 + o.y1;
11085
11085
  else {
11086
11086
  for (; k(N, P); )
11087
11087
  R();
@@ -11472,11 +11472,11 @@ cn.findNearestElements = function(e, t, n, r) {
11472
11472
  var E = y._private, w = E.rscratch, C = y.pstyle("width").pfValue, A = y.pstyle("arrow-scale").value, k = C / 2 + c, S = k * k, N = k * 2, P = E.source, R = E.target, I;
11473
11473
  if (w.edgeType === "segments" || w.edgeType === "straight" || w.edgeType === "haystack") {
11474
11474
  for (var O = w.allpts, M = 0; M + 3 < O.length; M += 2)
11475
- if (Ug(e, t, O[M], O[M + 1], O[M + 2], O[M + 3], N) && S > (I = qg(e, t, O[M], O[M + 1], O[M + 2], O[M + 3])))
11475
+ if (Ug(e, t, O[M], O[M + 1], O[M + 2], O[M + 3], N) && S > (I = Wg(e, t, O[M], O[M + 1], O[M + 2], O[M + 3])))
11476
11476
  return b(y, I), !0;
11477
11477
  } else if (w.edgeType === "bezier" || w.edgeType === "multibezier" || w.edgeType === "self" || w.edgeType === "compound") {
11478
11478
  for (var O = w.allpts, M = 0; M + 5 < w.allpts.length; M += 4)
11479
- if (Xg(e, t, O[M], O[M + 1], O[M + 2], O[M + 3], O[M + 4], O[M + 5], N) && S > (I = Wg(e, t, O[M], O[M + 1], O[M + 2], O[M + 3], O[M + 4], O[M + 5])))
11479
+ if (Xg(e, t, O[M], O[M + 1], O[M + 2], O[M + 3], O[M + 4], O[M + 5], N) && S > (I = qg(e, t, O[M], O[M + 1], O[M + 2], O[M + 3], O[M + 4], O[M + 5])))
11480
11480
  return b(y, I), !0;
11481
11481
  }
11482
11482
  for (var P = P || E.source, R = R || E.target, G = i.getArrowWidth(C, A), B = [{
@@ -11527,10 +11527,10 @@ cn.findNearestElements = function(e, t, n, r) {
11527
11527
  x: pe * U - ue * Q + P,
11528
11528
  y: pe * Q + ue * U + R
11529
11529
  };
11530
- }, q = z(G, V), H = z(G, F), $ = z(B, V), Z = z(B, F), te = [
11530
+ }, W = z(G, V), H = z(G, F), $ = z(B, V), Z = z(B, F), te = [
11531
11531
  // with the margin added after the rotation is applied
11532
- q.x + O,
11533
- q.y + M,
11532
+ W.x + O,
11533
+ W.y + M,
11534
11534
  $.x + O,
11535
11535
  $.y + M,
11536
11536
  Z.x + O,
@@ -11743,8 +11743,8 @@ rt.findBezierPoints = function(e, t, n, r, i) {
11743
11743
  rt.findTaxiPoints = function(e, t) {
11744
11744
  var n = e._private.rscratch;
11745
11745
  n.edgeType = "segments";
11746
- var r = "vertical", i = "horizontal", o = "leftward", a = "rightward", s = "downward", l = "upward", u = "auto", c = t.posPts, h = t.srcW, p = t.srcH, d = t.tgtW, g = t.tgtH, v = e.pstyle("edge-distances").value, b = v !== "node-position", f = e.pstyle("taxi-direction").value, m = f, x = e.pstyle("taxi-turn"), T = x.units === "%", _ = x.pfValue, D = _ < 0, y = e.pstyle("taxi-turn-min-distance").pfValue, E = b ? (h + d) / 2 : 0, w = b ? (p + g) / 2 : 0, C = c.x2 - c.x1, A = c.y2 - c.y1, k = function(W, ie) {
11747
- return W > 0 ? Math.max(W - ie, 0) : Math.min(W + ie, 0);
11746
+ var r = "vertical", i = "horizontal", o = "leftward", a = "rightward", s = "downward", l = "upward", u = "auto", c = t.posPts, h = t.srcW, p = t.srcH, d = t.tgtW, g = t.tgtH, v = e.pstyle("edge-distances").value, b = v !== "node-position", f = e.pstyle("taxi-direction").value, m = f, x = e.pstyle("taxi-turn"), T = x.units === "%", _ = x.pfValue, D = _ < 0, y = e.pstyle("taxi-turn-min-distance").pfValue, E = b ? (h + d) / 2 : 0, w = b ? (p + g) / 2 : 0, C = c.x2 - c.x1, A = c.y2 - c.y1, k = function(q, ie) {
11747
+ return q > 0 ? Math.max(q - ie, 0) : Math.min(q + ie, 0);
11748
11748
  }, S = k(C, E), N = k(A, w), P = !1;
11749
11749
  m === u ? f = Math.abs(S) > Math.abs(N) ? i : r : m === l || m === s ? (f = r, P = !0) : (m === o || m === a) && (f = i, P = !0);
11750
11750
  var R = f === r, I = R ? N : S, O = R ? A : C, M = ms(O), G = !1;
@@ -11757,10 +11757,10 @@ rt.findTaxiPoints = function(e, t) {
11757
11757
  var F = _ < 0 ? I : 0;
11758
11758
  B = F + _ * M;
11759
11759
  }
11760
- var U = function(W) {
11761
- return Math.abs(W) < y || Math.abs(W) >= Math.abs(I);
11762
- }, Q = U(B), z = U(Math.abs(I) - Math.abs(B)), q = Q || z;
11763
- if (q && !G)
11760
+ var U = function(q) {
11761
+ return Math.abs(q) < y || Math.abs(q) >= Math.abs(I);
11762
+ }, Q = U(B), z = U(Math.abs(I) - Math.abs(B)), W = Q || z;
11763
+ if (W && !G)
11764
11764
  if (R) {
11765
11765
  var H = Math.abs(O) <= p / 2, $ = Math.abs(C) <= d / 2;
11766
11766
  if (H) {
@@ -11922,7 +11922,7 @@ rt.findEdgeControlPoints = function(e) {
11922
11922
  southeast: 0
11923
11923
  };
11924
11924
  for (var F = 0; F < E.eles.length; F++) {
11925
- var U = E.eles[F], Q = U[0]._private.rscratch, z = U.pstyle("curve-style").value, q = z === "unbundled-bezier" || z === "segments" || z === "taxi", H = !k.same(U.source());
11925
+ var U = E.eles[F], Q = U[0]._private.rscratch, z = U.pstyle("curve-style").value, W = z === "unbundled-bezier" || z === "segments" || z === "taxi", H = !k.same(U.source());
11926
11926
  if (!E.calculatedIntersection && k !== S && (E.hasBezier || E.hasUnbundled)) {
11927
11927
  E.calculatedIntersection = !0;
11928
11928
  var $ = B.intersectLine(P.x, P.y, I, O, R.x, R.y, 0), Z = E.srcIntn = $, te = V.intersectLine(R.x, R.y, M, G, P.x, P.y, 0), pe = E.tgtIntn = te, ue = E.intersectionPts = {
@@ -11989,7 +11989,7 @@ rt.findEdgeControlPoints = function(e) {
11989
11989
  };
11990
11990
  }
11991
11991
  var be = H ? w : E;
11992
- Q.nodesOverlap = be.nodesOverlap, Q.srcIntn = be.srcIntn, Q.tgtIntn = be.tgtIntn, i && (k.isParent() || k.isChild() || S.isParent() || S.isChild()) && (k.parents().anySame(S) || S.parents().anySame(k) || k.same(S) && k.isParent()) ? t.findCompoundLoopPoints(U, be, F, q) : k === S ? t.findLoopPoints(U, be, F, q) : z === "segments" ? t.findSegmentsPoints(U, be) : z === "taxi" ? t.findTaxiPoints(U, be) : z === "straight" || !q && E.eles.length % 2 === 1 && F === Math.floor(E.eles.length / 2) ? t.findStraightEdgePoints(U) : t.findBezierPoints(U, be, F, q, H), t.findEndpoints(U), t.tryToCorrectInvalidPoints(U, be), t.checkForInvalidEdgeWarning(U), t.storeAllpts(U), t.storeEdgeProjections(U), t.calculateArrowAngles(U), t.recalculateEdgeLabelProjections(U), t.calculateLabelAngles(U);
11992
+ Q.nodesOverlap = be.nodesOverlap, Q.srcIntn = be.srcIntn, Q.tgtIntn = be.tgtIntn, i && (k.isParent() || k.isChild() || S.isParent() || S.isChild()) && (k.parents().anySame(S) || S.parents().anySame(k) || k.same(S) && k.isParent()) ? t.findCompoundLoopPoints(U, be, F, W) : k === S ? t.findLoopPoints(U, be, F, W) : z === "segments" ? t.findSegmentsPoints(U, be) : z === "taxi" ? t.findTaxiPoints(U, be) : z === "straight" || !W && E.eles.length % 2 === 1 && F === Math.floor(E.eles.length / 2) ? t.findStraightEdgePoints(U) : t.findBezierPoints(U, be, F, W, H), t.findEndpoints(U), t.tryToCorrectInvalidPoints(U, be), t.checkForInvalidEdgeWarning(U), t.storeAllpts(U), t.storeEdgeProjections(U), t.calculateArrowAngles(U), t.recalculateEdgeLabelProjections(U), t.calculateLabelAngles(U);
11993
11993
  }
11994
11994
  }, _ = 0; _ < a.length; _++)
11995
11995
  T(_);
@@ -12061,15 +12061,15 @@ vr.findEndpoints = function(e) {
12061
12061
  Q === "top" ? V -= U : Q === "bottom" && (V += U);
12062
12062
  var z = i.pstyle("text-halign").value;
12063
12063
  z === "left" ? B -= F : z === "right" && (B += F);
12064
- var q = nr(k[0], k[1], [B - F, V - U, B + F, V - U, B + F, V + U, B - F, V + U], a.x, a.y);
12065
- if (q.length > 0) {
12066
- var H = o, $ = Jt(H, bn(n)), Z = Jt(H, bn(q)), te = $;
12067
- if (Z < $ && (n = q, te = Z), q.length > 2) {
12064
+ var W = nr(k[0], k[1], [B - F, V - U, B + F, V - U, B + F, V + U, B - F, V + U], a.x, a.y);
12065
+ if (W.length > 0) {
12066
+ var H = o, $ = Jt(H, bn(n)), Z = Jt(H, bn(W)), te = $;
12067
+ if (Z < $ && (n = W, te = Z), W.length > 2) {
12068
12068
  var pe = Jt(H, {
12069
- x: q[2],
12070
- y: q[3]
12069
+ x: W[2],
12070
+ y: W[3]
12071
12071
  });
12072
- pe < te && (n = [q[2], q[3]]);
12072
+ pe < te && (n = [W[2], W[3]]);
12073
12073
  }
12074
12074
  }
12075
12075
  }
@@ -12097,8 +12097,8 @@ vr.findEndpoints = function(e) {
12097
12097
  }
12098
12098
  }
12099
12099
  }
12100
- var W = Dr(n, A, t.arrowShapes[l].spacing(e) + c), ie = Dr(n, A, t.arrowShapes[l].gap(e) + c);
12101
- p.startX = ie[0], p.startY = ie[1], p.arrowStartX = W[0], p.arrowStartY = W[1], T && (!ee(p.startX) || !ee(p.startY) || !ee(p.endX) || !ee(p.endY) ? p.badLine = !0 : p.badLine = !1);
12100
+ var q = Dr(n, A, t.arrowShapes[l].spacing(e) + c), ie = Dr(n, A, t.arrowShapes[l].gap(e) + c);
12101
+ p.startX = ie[0], p.startY = ie[1], p.arrowStartX = q[0], p.arrowStartY = q[1], T && (!ee(p.startX) || !ee(p.startY) || !ee(p.endX) || !ee(p.endY) ? p.badLine = !0 : p.badLine = !1);
12102
12102
  };
12103
12103
  vr.getSourceEndpoint = function(e) {
12104
12104
  var t = e[0]._private.rscratch;
@@ -12515,7 +12515,7 @@ bi.invalidateCachedZSortedEles = function() {
12515
12515
  bi.getCachedZSortedEles = function(e) {
12516
12516
  if (e || !this.cachedZSortedEles) {
12517
12517
  var t = this.cy.mutableElements().toArray();
12518
- t.sort(qs), t.interactive = t.filter(function(n) {
12518
+ t.sort(Ws), t.interactive = t.filter(function(n) {
12519
12519
  return n.interactive();
12520
12520
  }), this.cachedZSortedEles = t, this.updateCachedGrabbedEles();
12521
12521
  } else
@@ -12695,8 +12695,8 @@ Mn.load = function() {
12695
12695
  var E = function() {
12696
12696
  return e.selection[4] !== 0;
12697
12697
  }, w = function(L) {
12698
- for (var Y = e.findContainerClientCoords(), K = Y[0], X = Y[1], j = Y[2], se = Y[3], W = L.touches ? L.touches : [L], ie = !1, xe = 0; xe < W.length; xe++) {
12699
- var Te = W[xe];
12698
+ for (var Y = e.findContainerClientCoords(), K = Y[0], X = Y[1], j = Y[2], se = Y[3], q = L.touches ? L.touches : [L], ie = !1, xe = 0; xe < q.length; xe++) {
12699
+ var Te = q[xe];
12700
12700
  if (K <= Te.clientX && Te.clientX <= K + j && X <= Te.clientY && Te.clientY <= X + se) {
12701
12701
  ie = !0;
12702
12702
  break;
@@ -12716,7 +12716,7 @@ Mn.load = function() {
12716
12716
  e.registerBinding(e.container, "mousedown", function(L) {
12717
12717
  if (w(L)) {
12718
12718
  L.preventDefault(), m(), e.hoverData.capture = !0, e.hoverData.which = L.which;
12719
- var Y = e.cy, K = [L.clientX, L.clientY], X = e.projectIntoViewport(K[0], K[1]), j = e.selection, se = e.findNearestElements(X[0], X[1], !0, !1), W = se[0], ie = e.dragData.possibleDragElements;
12719
+ var Y = e.cy, K = [L.clientX, L.clientY], X = e.projectIntoViewport(K[0], K[1]), j = e.selection, se = e.findNearestElements(X[0], X[1], !0, !1), q = se[0], ie = e.dragData.possibleDragElements;
12720
12720
  e.hoverData.mdownPos = X, e.hoverData.mdownGPos = K;
12721
12721
  var xe = function() {
12722
12722
  e.hoverData.tapholdCancelled = !1, clearTimeout(e.hoverData.tapholdTimeout), e.hoverData.tapholdTimeout = setTimeout(function() {
@@ -12750,11 +12750,11 @@ Mn.load = function() {
12750
12750
  y: X[1]
12751
12751
  }
12752
12752
  };
12753
- W ? (W.activate(), W.emit(Te), e.hoverData.down = W) : Y.emit(Te), e.hoverData.downTime = (/* @__PURE__ */ new Date()).getTime(), e.hoverData.cxtDragged = !1;
12753
+ q ? (q.activate(), q.emit(Te), e.hoverData.down = q) : Y.emit(Te), e.hoverData.downTime = (/* @__PURE__ */ new Date()).getTime(), e.hoverData.cxtDragged = !1;
12754
12754
  } else if (L.which == 1) {
12755
- W && W.activate();
12755
+ q && q.activate();
12756
12756
  {
12757
- if (W != null && e.nodeIsGrabbable(W)) {
12757
+ if (q != null && e.nodeIsGrabbable(q)) {
12758
12758
  var ve = function(ge) {
12759
12759
  return {
12760
12760
  originalEvent: L,
@@ -12767,10 +12767,10 @@ Mn.load = function() {
12767
12767
  }, De = function(ge) {
12768
12768
  ge.emit(ve("grab"));
12769
12769
  };
12770
- if (c(W), !W.selected())
12771
- ie = e.dragData.possibleDragElements = Y.collection(), v(W, {
12770
+ if (c(q), !q.selected())
12771
+ ie = e.dragData.possibleDragElements = Y.collection(), v(q, {
12772
12772
  addToList: ie
12773
- }), W.emit(ve("grabon")).emit(ve("grab"));
12773
+ }), q.emit(ve("grabon")).emit(ve("grab"));
12774
12774
  else {
12775
12775
  ie = e.dragData.possibleDragElements = Y.collection();
12776
12776
  var ye = Y.$(function(ge) {
@@ -12778,28 +12778,28 @@ Mn.load = function() {
12778
12778
  });
12779
12779
  g(ye, {
12780
12780
  addToList: ie
12781
- }), W.emit(ve("grabon")), ye.forEach(De);
12781
+ }), q.emit(ve("grabon")), ye.forEach(De);
12782
12782
  }
12783
12783
  e.redrawHint("eles", !0), e.redrawHint("drag", !0);
12784
12784
  }
12785
- e.hoverData.down = W, e.hoverData.downs = se, e.hoverData.downTime = (/* @__PURE__ */ new Date()).getTime();
12785
+ e.hoverData.down = q, e.hoverData.downs = se, e.hoverData.downTime = (/* @__PURE__ */ new Date()).getTime();
12786
12786
  }
12787
- r(W, ["mousedown", "tapstart", "vmousedown"], L, {
12787
+ r(q, ["mousedown", "tapstart", "vmousedown"], L, {
12788
12788
  x: X[0],
12789
12789
  y: X[1]
12790
- }), W == null ? (j[4] = 1, e.data.bgActivePosistion = {
12790
+ }), q == null ? (j[4] = 1, e.data.bgActivePosistion = {
12791
12791
  x: X[0],
12792
12792
  y: X[1]
12793
- }, e.redrawHint("select", !0), e.redraw()) : W.pannable() && (j[4] = 1), xe();
12793
+ }, e.redrawHint("select", !0), e.redraw()) : q.pannable() && (j[4] = 1), xe();
12794
12794
  }
12795
12795
  j[0] = j[2] = X[0], j[1] = j[3] = X[1];
12796
12796
  }
12797
12797
  }, !1), e.registerBinding(t, "mousemove", function(L) {
12798
12798
  var Y = e.hoverData.capture;
12799
12799
  if (!(!Y && !w(L))) {
12800
- var K = !1, X = e.cy, j = X.zoom(), se = [L.clientX, L.clientY], W = e.projectIntoViewport(se[0], se[1]), ie = e.hoverData.mdownPos, xe = e.hoverData.mdownGPos, Te = e.selection, ve = null;
12801
- !e.hoverData.draggingEles && !e.hoverData.dragging && !e.hoverData.selecting && (ve = e.findNearestElement(W[0], W[1], !0, !1));
12802
- var De = e.hoverData.last, ye = e.hoverData.down, ge = [W[0] - Te[2], W[1] - Te[3]], Xe = e.dragData.possibleDragElements, at;
12800
+ var K = !1, X = e.cy, j = X.zoom(), se = [L.clientX, L.clientY], q = e.projectIntoViewport(se[0], se[1]), ie = e.hoverData.mdownPos, xe = e.hoverData.mdownGPos, Te = e.selection, ve = null;
12801
+ !e.hoverData.draggingEles && !e.hoverData.dragging && !e.hoverData.selecting && (ve = e.findNearestElement(q[0], q[1], !0, !1));
12802
+ var De = e.hoverData.last, ye = e.hoverData.down, ge = [q[0] - Te[2], q[1] - Te[3]], Xe = e.dragData.possibleDragElements, at;
12803
12803
  if (xe) {
12804
12804
  var ft = se[0] - xe[0], vt = ft * ft, je = se[1] - xe[1], dt = je * je, Ze = vt + dt;
12805
12805
  e.hoverData.isOverThresholdDrag = at = Ze >= e.desktopTapThreshold2;
@@ -12811,16 +12811,16 @@ Mn.load = function() {
12811
12811
  Rt.length === 0 ? (Rt.push(ge[0]), Rt.push(ge[1])) : (Rt[0] += ge[0], Rt[1] += ge[1]);
12812
12812
  };
12813
12813
  K = !0, r(ve, ["mousemove", "vmousemove", "tapdrag"], L, {
12814
- x: W[0],
12815
- y: W[1]
12814
+ x: q[0],
12815
+ y: q[1]
12816
12816
  });
12817
12817
  var Mt = function() {
12818
12818
  e.data.bgActivePosistion = void 0, e.hoverData.selecting || X.emit({
12819
12819
  originalEvent: L,
12820
12820
  type: "boxstart",
12821
12821
  position: {
12822
- x: W[0],
12823
- y: W[1]
12822
+ x: q[0],
12823
+ y: q[1]
12824
12824
  }
12825
12825
  }), Te[4] = 1, e.hoverData.selecting = !0, e.redrawHint("select", !0), e.redraw();
12826
12826
  };
@@ -12830,23 +12830,23 @@ Mn.load = function() {
12830
12830
  originalEvent: L,
12831
12831
  type: "cxtdrag",
12832
12832
  position: {
12833
- x: W[0],
12834
- y: W[1]
12833
+ x: q[0],
12834
+ y: q[1]
12835
12835
  }
12836
12836
  };
12837
12837
  ye ? ye.emit(br) : X.emit(br), e.hoverData.cxtDragged = !0, (!e.hoverData.cxtOver || ve !== e.hoverData.cxtOver) && (e.hoverData.cxtOver && e.hoverData.cxtOver.emit({
12838
12838
  originalEvent: L,
12839
12839
  type: "cxtdragout",
12840
12840
  position: {
12841
- x: W[0],
12842
- y: W[1]
12841
+ x: q[0],
12842
+ y: q[1]
12843
12843
  }
12844
12844
  }), e.hoverData.cxtOver = ve, ve && ve.emit({
12845
12845
  originalEvent: L,
12846
12846
  type: "cxtdragover",
12847
12847
  position: {
12848
- x: W[0],
12849
- y: W[1]
12848
+ x: q[0],
12849
+ y: q[1]
12850
12850
  }
12851
12851
  }));
12852
12852
  }
@@ -12856,8 +12856,8 @@ Mn.load = function() {
12856
12856
  if (e.hoverData.justStartedPan) {
12857
12857
  var xr = e.hoverData.mdownPos;
12858
12858
  dn = {
12859
- x: (W[0] - xr[0]) * j,
12860
- y: (W[1] - xr[1]) * j
12859
+ x: (q[0] - xr[0]) * j,
12860
+ y: (q[1] - xr[1]) * j
12861
12861
  }, e.hoverData.justStartedPan = !1;
12862
12862
  } else
12863
12863
  dn = {
@@ -12866,7 +12866,7 @@ Mn.load = function() {
12866
12866
  };
12867
12867
  X.panBy(dn), X.emit("dragpan"), e.hoverData.dragged = !0;
12868
12868
  }
12869
- W = e.projectIntoViewport(L.clientX, L.clientY);
12869
+ q = e.projectIntoViewport(L.clientX, L.clientY);
12870
12870
  } else if (Te[4] == 1 && (ye == null || ye.pannable())) {
12871
12871
  if (at) {
12872
12872
  if (!e.hoverData.dragging && X.boxSelectionEnabled() && (Zt || !X.panningEnabled() || !X.userPanningEnabled()))
@@ -12879,11 +12879,11 @@ Mn.load = function() {
12879
12879
  }
12880
12880
  } else {
12881
12881
  if (ye && ye.pannable() && ye.active() && ye.unactivate(), (!ye || !ye.grabbed()) && ve != De && (De && r(De, ["mouseout", "tapdragout"], L, {
12882
- x: W[0],
12883
- y: W[1]
12882
+ x: q[0],
12883
+ y: q[1]
12884
12884
  }), ve && r(ve, ["mouseover", "tapdragover"], L, {
12885
- x: W[0],
12886
- y: W[1]
12885
+ x: q[0],
12886
+ y: q[1]
12887
12887
  }), e.hoverData.last = ve), ye)
12888
12888
  if (at) {
12889
12889
  if (X.boxSelectionEnabled() && Zt)
@@ -12907,7 +12907,7 @@ Mn.load = function() {
12907
12907
  Ot();
12908
12908
  K = !0;
12909
12909
  }
12910
- if (Te[2] = W[0], Te[3] = W[1], K)
12910
+ if (Te[2] = q[0], Te[3] = q[1], K)
12911
12911
  return L.stopPropagation && L.stopPropagation(), L.preventDefault && L.preventDefault(), !1;
12912
12912
  }
12913
12913
  }, !1);
@@ -12916,7 +12916,7 @@ Mn.load = function() {
12916
12916
  var Y = e.hoverData.capture;
12917
12917
  if (Y) {
12918
12918
  e.hoverData.capture = !1;
12919
- var K = e.cy, X = e.projectIntoViewport(L.clientX, L.clientY), j = e.selection, se = e.findNearestElement(X[0], X[1], !0, !1), W = e.dragData.possibleDragElements, ie = e.hoverData.down, xe = i(L);
12919
+ var K = e.cy, X = e.projectIntoViewport(L.clientX, L.clientY), j = e.selection, se = e.findNearestElement(X[0], X[1], !0, !1), q = e.dragData.possibleDragElements, ie = e.hoverData.down, xe = i(L);
12920
12920
  if (e.data.bgActivePosistion && (e.redrawHint("select", !0), e.redraw()), e.hoverData.tapholdCancelled = !0, e.data.bgActivePosistion = void 0, ie && ie.unactivate(), e.hoverData.which === 3) {
12921
12921
  var Te = {
12922
12922
  originalEvent: L,
@@ -12956,7 +12956,7 @@ Mn.load = function() {
12956
12956
  x: X[0],
12957
12957
  y: X[1]
12958
12958
  });
12959
- }, K.multiClickDebounceTime()), k = L.timeStamp)), ie == null && !e.dragData.didDrag && !e.hoverData.selecting && !e.hoverData.dragged && !i(L) && (K.$(n).unselect(["tapunselect"]), W.length > 0 && e.redrawHint("eles", !0), e.dragData.possibleDragElements = W = K.collection()), se == ie && !e.dragData.didDrag && !e.hoverData.selecting && se != null && se._private.selectable && (e.hoverData.dragging || (K.selectionType() === "additive" || xe ? se.selected() ? se.unselect(["tapunselect"]) : se.select(["tapselect"]) : xe || (K.$(n).unmerge(se).unselect(["tapunselect"]), se.select(["tapselect"]))), e.redrawHint("eles", !0)), e.hoverData.selecting) {
12959
+ }, K.multiClickDebounceTime()), k = L.timeStamp)), ie == null && !e.dragData.didDrag && !e.hoverData.selecting && !e.hoverData.dragged && !i(L) && (K.$(n).unselect(["tapunselect"]), q.length > 0 && e.redrawHint("eles", !0), e.dragData.possibleDragElements = q = K.collection()), se == ie && !e.dragData.didDrag && !e.hoverData.selecting && se != null && se._private.selectable && (e.hoverData.dragging || (K.selectionType() === "additive" || xe ? se.selected() ? se.unselect(["tapunselect"]) : se.select(["tapselect"]) : xe || (K.$(n).unmerge(se).unselect(["tapunselect"]), se.select(["tapselect"]))), e.redrawHint("eles", !0)), e.hoverData.selecting) {
12960
12960
  var De = K.collection(e.getAllInBox(j[0], j[1], j[2], j[3]));
12961
12961
  e.redrawHint("select", !0), De.length > 0 && e.redrawHint("eles", !0), K.emit({
12962
12962
  type: "boxend",
@@ -12974,7 +12974,7 @@ Mn.load = function() {
12974
12974
  if (e.hoverData.dragging && (e.hoverData.dragging = !1, e.redrawHint("select", !0), e.redrawHint("eles", !0), e.redraw()), !j[4]) {
12975
12975
  e.redrawHint("drag", !0), e.redrawHint("eles", !0);
12976
12976
  var ge = ie && ie.grabbed();
12977
- b(W), ge && (ie.emit("freeon"), W.emit("free"), e.dragData.didDrag && (ie.emit("dragfreeon"), W.emit("dragfree")));
12977
+ b(q), ge && (ie.emit("freeon"), q.emit("free"), e.dragData.didDrag && (ie.emit("dragfreeon"), q.emit("dragfree")));
12978
12978
  }
12979
12979
  }
12980
12980
  j[4] = 0, e.hoverData.down = null, e.hoverData.cxtStarted = !1, e.hoverData.draggingEles = !1, e.hoverData.selecting = !1, e.hoverData.isOverThresholdDrag = !1, e.dragData.didDrag = !1, e.hoverData.dragged = !1, e.hoverData.dragDelta = [], e.hoverData.mdownPos = null, e.hoverData.mdownGPos = null;
@@ -12991,11 +12991,11 @@ Mn.load = function() {
12991
12991
  L.preventDefault(), e.data.wheelZooming = !0, clearTimeout(e.data.wheelTimeout), e.data.wheelTimeout = setTimeout(function() {
12992
12992
  e.data.wheelZooming = !1, e.redrawHint("eles", !0), e.redraw();
12993
12993
  }, 150);
12994
- var W;
12995
- L.deltaY != null ? W = L.deltaY / -250 : L.wheelDeltaY != null ? W = L.wheelDeltaY / 1e3 : W = L.wheelDelta / 1e3, W = W * e.wheelSensitivity;
12994
+ var q;
12995
+ L.deltaY != null ? q = L.deltaY / -250 : L.wheelDeltaY != null ? q = L.wheelDeltaY / 1e3 : q = L.wheelDelta / 1e3, q = q * e.wheelSensitivity;
12996
12996
  var ie = L.deltaMode === 1;
12997
- ie && (W *= 33);
12998
- var xe = Y.zoom() * Math.pow(10, W);
12997
+ ie && (q *= 33);
12998
+ var xe = Y.zoom() * Math.pow(10, q);
12999
12999
  L.type === "gesturechange" && (xe = e.gestureStartZoom * L.scale), Y.zoom({
13000
13000
  level: xe,
13001
13001
  renderedPosition: {
@@ -13035,7 +13035,7 @@ Mn.load = function() {
13035
13035
  }
13036
13036
  });
13037
13037
  }, !1);
13038
- var N, P, R, I, O, M, G, B, V, F, U, Q, z, q = function(L, Y, K, X) {
13038
+ var N, P, R, I, O, M, G, B, V, F, U, Q, z, W = function(L, Y, K, X) {
13039
13039
  return Math.sqrt((K - L) * (K - L) + (X - Y) * (X - Y));
13040
13040
  }, H = function(L, Y, K, X) {
13041
13041
  return (K - L) * (K - L) + (X - Y) * (X - Y);
@@ -13060,8 +13060,8 @@ Mn.load = function() {
13060
13060
  e.touchData.singleTouchMoved = !0, b(e.dragData.touchDragEles);
13061
13061
  var se = e.findContainerClientCoords();
13062
13062
  V = se[0], F = se[1], U = se[2], Q = se[3], N = L.touches[0].clientX - V, P = L.touches[0].clientY - F, R = L.touches[1].clientX - V, I = L.touches[1].clientY - F, z = 0 <= N && N <= U && 0 <= R && R <= U && 0 <= P && P <= Q && 0 <= I && I <= Q;
13063
- var W = Y.pan(), ie = Y.zoom();
13064
- O = q(N, P, R, I), M = H(N, P, R, I), G = [(N + R) / 2, (P + I) / 2], B = [(G[0] - W.x) / ie, (G[1] - W.y) / ie];
13063
+ var q = Y.pan(), ie = Y.zoom();
13064
+ O = W(N, P, R, I), M = H(N, P, R, I), G = [(N + R) / 2, (P + I) / 2], B = [(G[0] - q.x) / ie, (G[1] - q.y) / ie];
13065
13065
  var xe = 200, Te = xe * xe;
13066
13066
  if (M < Te && !L.touches[2]) {
13067
13067
  var ve = e.findNearestElement(K[0], K[1], !0, !0), De = e.findNearestElement(K[2], K[3], !0, !0);
@@ -13142,7 +13142,7 @@ Mn.load = function() {
13142
13142
  e.registerBinding(window, "touchmove", Z = function(L) {
13143
13143
  var Y = e.touchData.capture;
13144
13144
  if (!(!Y && !w(L))) {
13145
- var K = e.selection, X = e.cy, j = e.touchData.now, se = e.touchData.earlier, W = X.zoom();
13145
+ var K = e.selection, X = e.cy, j = e.touchData.now, se = e.touchData.earlier, q = X.zoom();
13146
13146
  if (L.touches[0]) {
13147
13147
  var ie = e.projectIntoViewport(L.touches[0].clientX, L.touches[0].clientY);
13148
13148
  j[0] = ie[0], j[1] = ie[1];
@@ -13223,7 +13223,7 @@ Mn.load = function() {
13223
13223
  Rt.grabbed = !1, Rt.rscratch.inDragLayer = !1;
13224
13224
  }
13225
13225
  }
13226
- var wr = e.touchData.start, vt = L.touches[0].clientX - V, je = L.touches[0].clientY - F, dt = L.touches[1].clientX - V, Ze = L.touches[1].clientY - F, xa = q(vt, je, dt, Ze), Sl = xa / O;
13226
+ var wr = e.touchData.start, vt = L.touches[0].clientX - V, je = L.touches[0].clientY - F, dt = L.touches[1].clientX - V, Ze = L.touches[1].clientY - F, xa = W(vt, je, dt, Ze), Sl = xa / O;
13227
13227
  if (z) {
13228
13228
  var Il = vt - N, Pl = je - P, Ol = dt - R, Ml = Ze - I, Rl = (Il + Ol) / 2, Bl = (Pl + Ml) / 2, Fn = X.zoom(), xi = Fn * Sl, Er = X.pan(), wa = B[0] * Fn + Er.x, Ea = B[1] * Fn + Er.y, Fl = {
13229
13229
  x: -xi / Fn * (wa - Er.x - Rl) + wa,
@@ -13296,11 +13296,11 @@ Mn.load = function() {
13296
13296
  if (Y && (yt == null || yt.pannable()) && X.panningEnabled() && X.userPanningEnabled()) {
13297
13297
  var zl = o(yt, e.touchData.starts);
13298
13298
  zl && (L.preventDefault(), e.data.bgActivePosistion || (e.data.bgActivePosistion = bn(e.touchData.startPosition)), e.swipePanning ? (X.panBy({
13299
- x: ve[0] * W,
13300
- y: ve[1] * W
13299
+ x: ve[0] * q,
13300
+ y: ve[1] * q
13301
13301
  }), X.emit("dragpan")) : Te && (e.swipePanning = !0, X.panBy({
13302
- x: ye * W,
13303
- y: Xe * W
13302
+ x: ye * q,
13303
+ y: Xe * q
13304
13304
  }), X.emit("dragpan"), yt && (yt.unactivate(), e.redrawHint("select", !0), e.touchData.start = null)));
13305
13305
  var ie = e.projectIntoViewport(L.touches[0].clientX, L.touches[0].clientY);
13306
13306
  j[0] = ie[0], j[1] = ie[1];
@@ -13325,18 +13325,18 @@ Mn.load = function() {
13325
13325
  return;
13326
13326
  var X = e.selection;
13327
13327
  e.swipePanning = !1, e.hoverData.draggingEles = !1;
13328
- var j = e.cy, se = j.zoom(), W = e.touchData.now, ie = e.touchData.earlier;
13328
+ var j = e.cy, se = j.zoom(), q = e.touchData.now, ie = e.touchData.earlier;
13329
13329
  if (L.touches[0]) {
13330
13330
  var xe = e.projectIntoViewport(L.touches[0].clientX, L.touches[0].clientY);
13331
- W[0] = xe[0], W[1] = xe[1];
13331
+ q[0] = xe[0], q[1] = xe[1];
13332
13332
  }
13333
13333
  if (L.touches[1]) {
13334
13334
  var xe = e.projectIntoViewport(L.touches[1].clientX, L.touches[1].clientY);
13335
- W[2] = xe[0], W[3] = xe[1];
13335
+ q[2] = xe[0], q[3] = xe[1];
13336
13336
  }
13337
13337
  if (L.touches[2]) {
13338
13338
  var xe = e.projectIntoViewport(L.touches[2].clientX, L.touches[2].clientY);
13339
- W[4] = xe[0], W[5] = xe[1];
13339
+ q[4] = xe[0], q[5] = xe[1];
13340
13340
  }
13341
13341
  Y && Y.unactivate();
13342
13342
  var Te;
@@ -13345,16 +13345,16 @@ Mn.load = function() {
13345
13345
  originalEvent: L,
13346
13346
  type: "cxttapend",
13347
13347
  position: {
13348
- x: W[0],
13349
- y: W[1]
13348
+ x: q[0],
13349
+ y: q[1]
13350
13350
  }
13351
13351
  }, Y ? Y.emit(Te) : j.emit(Te), !e.touchData.cxtDragged) {
13352
13352
  var ve = {
13353
13353
  originalEvent: L,
13354
13354
  type: "cxttap",
13355
13355
  position: {
13356
- x: W[0],
13357
- y: W[1]
13356
+ x: q[0],
13357
+ y: q[1]
13358
13358
  }
13359
13359
  };
13360
13360
  Y ? Y.emit(ve) : j.emit(ve);
@@ -13369,8 +13369,8 @@ Mn.load = function() {
13369
13369
  type: "boxend",
13370
13370
  originalEvent: L,
13371
13371
  position: {
13372
- x: W[0],
13373
- y: W[1]
13372
+ x: q[0],
13373
+ y: q[1]
13374
13374
  }
13375
13375
  });
13376
13376
  var ye = function(Mt) {
@@ -13386,32 +13386,32 @@ Mn.load = function() {
13386
13386
  if (Y != null) {
13387
13387
  var Xe = Y._private.grabbed;
13388
13388
  b(ge), e.redrawHint("drag", !0), e.redrawHint("eles", !0), Xe && (Y.emit("freeon"), ge.emit("free"), e.dragData.didDrag && (Y.emit("dragfreeon"), ge.emit("dragfree"))), r(Y, ["touchend", "tapend", "vmouseup", "tapdragout"], L, {
13389
- x: W[0],
13390
- y: W[1]
13389
+ x: q[0],
13390
+ y: q[1]
13391
13391
  }), Y.unactivate(), e.touchData.start = null;
13392
13392
  } else {
13393
- var at = e.findNearestElement(W[0], W[1], !0, !0);
13393
+ var at = e.findNearestElement(q[0], q[1], !0, !0);
13394
13394
  r(at, ["touchend", "tapend", "vmouseup", "tapdragout"], L, {
13395
- x: W[0],
13396
- y: W[1]
13395
+ x: q[0],
13396
+ y: q[1]
13397
13397
  });
13398
13398
  }
13399
- var ft = e.touchData.startPosition[0] - W[0], vt = ft * ft, je = e.touchData.startPosition[1] - W[1], dt = je * je, Ze = vt + dt, Zt = Ze * se * se;
13399
+ var ft = e.touchData.startPosition[0] - q[0], vt = ft * ft, je = e.touchData.startPosition[1] - q[1], dt = je * je, Ze = vt + dt, Zt = Ze * se * se;
13400
13400
  e.touchData.singleTouchMoved || (Y || j.$(":selected").unselect(["tapunselect"]), r(Y, ["tap", "vclick"], L, {
13401
- x: W[0],
13402
- y: W[1]
13401
+ x: q[0],
13402
+ y: q[1]
13403
13403
  }), ue = !1, L.timeStamp - oe <= j.multiClickDebounceTime() ? (J && clearTimeout(J), ue = !0, oe = null, r(Y, ["dbltap", "vdblclick"], L, {
13404
- x: W[0],
13405
- y: W[1]
13404
+ x: q[0],
13405
+ y: q[1]
13406
13406
  })) : (J = setTimeout(function() {
13407
13407
  ue || r(Y, ["onetap", "voneclick"], L, {
13408
- x: W[0],
13409
- y: W[1]
13408
+ x: q[0],
13409
+ y: q[1]
13410
13410
  });
13411
13411
  }, j.multiClickDebounceTime()), oe = L.timeStamp)), Y != null && !e.dragData.didDrag && Y._private.selectable && Zt < e.touchTapThreshold2 && !e.pinching && (j.selectionType() === "single" ? (j.$(n).unmerge(Y).unselect(["tapunselect"]), Y.select(["tapselect"])) : Y.selected() ? Y.unselect(["tapunselect"]) : Y.select(["tapselect"]), e.redrawHint("eles", !0)), e.touchData.singleTouchMoved = !0;
13412
13412
  }
13413
- for (var Ot = 0; Ot < W.length; Ot++)
13414
- ie[Ot] = W[Ot];
13413
+ for (var Ot = 0; Ot < q.length; Ot++)
13414
+ ie[Ot] = q[Ot];
13415
13415
  e.dragData.didDrag = !1, L.touches.length === 0 && (e.touchData.dragDelta = [], e.touchData.startPosition = [null, null, null, null, null, null], e.touchData.startGPosition = null, e.touchData.didSelect = !1), L.touches.length < 2 && (L.touches.length === 1 && (e.touchData.startGPosition = [L.touches[0].clientX, L.touches[0].clientY]), e.pinching = !1, e.redrawHint("eles", !0), e.redraw());
13416
13416
  }, !1), typeof TouchEvent > "u") {
13417
13417
  var ne = [], ce = function(L) {
@@ -13990,12 +13990,12 @@ var Ii = 1e3 / 60, dl = {
13990
13990
  isVisible: ps,
13991
13991
  allowEdgeTxrCaching: !0,
13992
13992
  allowParentTxrCaching: !0
13993
- }), qn = function(e, t) {
13993
+ }), Wn = function(e, t) {
13994
13994
  var n = this;
13995
13995
  n.renderer = e, n.onDequeues = [];
13996
13996
  var r = Y0(t);
13997
13997
  de(n, r), n.lookup = new C0(r.getKey, r.doesEleInvalidateKey), n.setupDequeueing();
13998
- }, Ve = qn.prototype;
13998
+ }, Ve = Wn.prototype;
13999
13999
  Ve.reasons = xn;
14000
14000
  Ve.getTextureQueue = function(e) {
14001
14001
  var t = this;
@@ -14193,7 +14193,7 @@ Ve.setupDequeueing = dl.setupDequeueing({
14193
14193
  return e.renderer.beforeRenderPriorities.eleTxrDeq;
14194
14194
  }
14195
14195
  });
14196
- var V0 = 1, Kn = -4, ei = 2, U0 = 3.99, X0 = 50, j0 = 50, H0 = 0.15, W0 = 0.1, q0 = 0.9, $0 = 0.9, K0 = 1, Po = 250, Z0 = 4e3 * 4e3, Q0 = !0, pl = function(e) {
14196
+ var V0 = 1, Kn = -4, ei = 2, U0 = 3.99, X0 = 50, j0 = 50, H0 = 0.15, q0 = 0.1, W0 = 0.9, $0 = 0.9, K0 = 1, Po = 250, Z0 = 4e3 * 4e3, Q0 = !0, pl = function(e) {
14197
14197
  var t = this, n = t.renderer = e, r = n.cy;
14198
14198
  t.layersByLevel = {}, t.firstGet = !0, t.lastInvalidationTime = Lt() - 2 * Po, t.skipping = !1, t.eleTxrDeqs = r.collection(), t.scheduleElementRefinement = oi.default(function() {
14199
14199
  t.refineElementTextures(t.eleTxrDeqs), t.eleTxrDeqs.unmerge(t.eleTxrDeqs);
@@ -14420,8 +14420,8 @@ Ke.requestRedraw = oi.default(function() {
14420
14420
  Ke.setupDequeueing = dl.setupDequeueing({
14421
14421
  deqRedrawThreshold: X0,
14422
14422
  deqCost: H0,
14423
- deqAvgCost: W0,
14424
- deqNoDrawCost: q0,
14423
+ deqAvgCost: q0,
14424
+ deqNoDrawCost: W0,
14425
14425
  deqFastCost: $0,
14426
14426
  deq: function(e, t) {
14427
14427
  return e.dequeue(t);
@@ -14841,8 +14841,8 @@ hn.drawText = function(e, t, n) {
14841
14841
  }
14842
14842
  var U = 2 * t.pstyle("text-outline-width").pfValue;
14843
14843
  if (U > 0 && (e.lineWidth = U), t.pstyle("text-wrap").value === "wrap") {
14844
- var Q = wt(a, "labelWrapCachedLines", n), z = wt(a, "labelLineHeight", n), q = g / 2, H = this.getLabelJustification(t);
14845
- switch (H === "auto" || (x === "left" ? H === "left" ? l += -g : H === "center" && (l += -q) : x === "center" ? H === "left" ? l += -q : H === "right" && (l += q) : x === "right" && (H === "center" ? l += q : H === "right" && (l += g))), T) {
14844
+ var Q = wt(a, "labelWrapCachedLines", n), z = wt(a, "labelLineHeight", n), W = g / 2, H = this.getLabelJustification(t);
14845
+ switch (H === "auto" || (x === "left" ? H === "left" ? l += -g : H === "center" && (l += -W) : x === "center" ? H === "left" ? l += -W : H === "right" && (l += W) : x === "right" && (H === "center" ? l += W : H === "right" && (l += g))), T) {
14846
14846
  case "top":
14847
14847
  u -= (Q.length - 1) * z;
14848
14848
  break;
@@ -14888,15 +14888,15 @@ Bn.drawNode = function(e, t, n) {
14888
14888
  var ae = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : G;
14889
14889
  a.colorStrokeStyle(e, O[0], O[1], O[2], ae);
14890
14890
  }, Q = function(ae, L, Y, K) {
14891
- var X = a.nodePathCache = a.nodePathCache || [], j = ds(Y === "polygon" ? Y + "," + K.join(",") : Y, "" + L, "" + ae), se = X[j], W, ie = !1;
14892
- return se != null ? (W = se, ie = !0, c.pathCache = W) : (W = new Path2D(), X[j] = c.pathCache = W), {
14893
- path: W,
14891
+ var X = a.nodePathCache = a.nodePathCache || [], j = ds(Y === "polygon" ? Y + "," + K.join(",") : Y, "" + L, "" + ae), se = X[j], q, ie = !1;
14892
+ return se != null ? (q = se, ie = !0, c.pathCache = q) : (q = new Path2D(), X[j] = c.pathCache = q), {
14893
+ path: q,
14894
14894
  cacheHit: ie
14895
14895
  };
14896
- }, z = t.pstyle("shape").strValue, q = t.pstyle("shape-polygon-points").pfValue;
14896
+ }, z = t.pstyle("shape").strValue, W = t.pstyle("shape-polygon-points").pfValue;
14897
14897
  if (d) {
14898
14898
  e.translate(h.x, h.y);
14899
- var H = Q(s, l, z, q);
14899
+ var H = Q(s, l, z, W);
14900
14900
  g = H.path, v = H.cacheHit;
14901
14901
  }
14902
14902
  var $ = function() {
@@ -14966,35 +14966,35 @@ Bn.drawNode = function(e, t, n) {
14966
14966
  x: 0,
14967
14967
  y: 0
14968
14968
  });
14969
- var L = a.getNodeShape(t), Y = (s + k + (I + B)) / s, K = (l + k + (I + B)) / l, X = s * Y, j = l * K, se = a.nodeShapes[L].points, W;
14969
+ var L = a.getNodeShape(t), Y = (s + k + (I + B)) / s, K = (l + k + (I + B)) / l, X = s * Y, j = l * K, se = a.nodeShapes[L].points, q;
14970
14970
  if (d) {
14971
14971
  var ie = Q(X, j, L, se);
14972
- W = ie.path;
14972
+ q = ie.path;
14973
14973
  }
14974
14974
  if (L === "ellipse")
14975
- a.drawEllipsePath(W || e, ae.x, ae.y, X, j);
14975
+ a.drawEllipsePath(q || e, ae.x, ae.y, X, j);
14976
14976
  else if (["round-diamond", "round-heptagon", "round-hexagon", "round-octagon", "round-pentagon", "round-polygon", "round-triangle", "round-tag"].includes(L)) {
14977
14977
  var xe = 0, Te = 0, ve = 0;
14978
- L === "round-diamond" ? xe = (k + B + I) * 1.4 : L === "round-heptagon" ? (xe = (k + B + I) * 1.075, ve = -(k / 2 + B + I) / 35) : L === "round-hexagon" ? xe = (k + B + I) * 1.12 : L === "round-pentagon" ? (xe = (k + B + I) * 1.13, ve = -(k / 2 + B + I) / 15) : L === "round-tag" ? (xe = (k + B + I) * 1.12, Te = (k / 2 + I + B) * 0.07) : L === "round-triangle" && (xe = (k + B + I) * (Math.PI / 2), ve = -(k + B / 2 + I) / Math.PI), xe !== 0 && (Y = (s + xe) / s, K = (l + xe) / l), a.drawRoundPolygonPath(W || e, ae.x + Te, ae.y + ve, s * Y, l * K, se);
14978
+ L === "round-diamond" ? xe = (k + B + I) * 1.4 : L === "round-heptagon" ? (xe = (k + B + I) * 1.075, ve = -(k / 2 + B + I) / 35) : L === "round-hexagon" ? xe = (k + B + I) * 1.12 : L === "round-pentagon" ? (xe = (k + B + I) * 1.13, ve = -(k / 2 + B + I) / 15) : L === "round-tag" ? (xe = (k + B + I) * 1.12, Te = (k / 2 + I + B) * 0.07) : L === "round-triangle" && (xe = (k + B + I) * (Math.PI / 2), ve = -(k + B / 2 + I) / Math.PI), xe !== 0 && (Y = (s + xe) / s, K = (l + xe) / l), a.drawRoundPolygonPath(q || e, ae.x + Te, ae.y + ve, s * Y, l * K, se);
14979
14979
  } else if (["roundrectangle", "round-rectangle"].includes(L))
14980
- a.drawRoundRectanglePath(W || e, ae.x, ae.y, X, j);
14980
+ a.drawRoundRectanglePath(q || e, ae.x, ae.y, X, j);
14981
14981
  else if (["cutrectangle", "cut-rectangle"].includes(L))
14982
- a.drawCutRectanglePath(W || e, ae.x, ae.y, X, j);
14982
+ a.drawCutRectanglePath(q || e, ae.x, ae.y, X, j);
14983
14983
  else if (["bottomroundrectangle", "bottom-round-rectangle"].includes(L))
14984
- a.drawBottomRoundRectanglePath(W || e, ae.x, ae.y, X, j);
14984
+ a.drawBottomRoundRectanglePath(q || e, ae.x, ae.y, X, j);
14985
14985
  else if (L === "barrel")
14986
- a.drawBarrelPath(W || e, ae.x, ae.y, X, j);
14986
+ a.drawBarrelPath(q || e, ae.x, ae.y, X, j);
14987
14987
  else if (L.startsWith("polygon") || ["rhomboid", "right-rhomboid", "round-tag", "tag", "vee"].includes(L)) {
14988
14988
  var De = (k + I + B) / s;
14989
- se = Wr(qr(se, De)), a.drawPolygonPath(W || e, ae.x, ae.y, s, l, se);
14989
+ se = qr(Wr(se, De)), a.drawPolygonPath(q || e, ae.x, ae.y, s, l, se);
14990
14990
  } else {
14991
14991
  var ye = (k + I + B) / s;
14992
- se = Wr(qr(se, -ye)), a.drawPolygonPath(W || e, ae.x, ae.y, s, l, se);
14992
+ se = qr(Wr(se, -ye)), a.drawPolygonPath(q || e, ae.x, ae.y, s, l, se);
14993
14993
  }
14994
- if (d ? e.stroke(W) : e.stroke(), M === "double") {
14994
+ if (d ? e.stroke(q) : e.stroke(), M === "double") {
14995
14995
  e.lineWidth = k / 3;
14996
14996
  var ge = e.globalCompositeOperation;
14997
- e.globalCompositeOperation = "destination-out", d ? e.stroke(W) : e.stroke(), e.globalCompositeOperation = ge;
14997
+ e.globalCompositeOperation = "destination-out", d ? e.stroke(q) : e.stroke(), e.globalCompositeOperation = ge;
14998
14998
  }
14999
14999
  e.setLineDash && e.setLineDash([]);
15000
15000
  }
@@ -15261,10 +15261,10 @@ ht.render = function(e) {
15261
15261
  var z = a.lastRedrawTime;
15262
15262
  if (a.showFps && z) {
15263
15263
  z = Math.round(z);
15264
- var q = Math.round(1e3 / z);
15265
- N.setTransform(1, 0, 0, 1, 0, 0), N.fillStyle = "rgba(255, 0, 0, 0.75)", N.strokeStyle = "rgba(255, 0, 0, 0.75)", N.lineWidth = 1, N.fillText("1 frame = " + z + " ms = " + q + " fps", 0, 20);
15264
+ var W = Math.round(1e3 / z);
15265
+ N.setTransform(1, 0, 0, 1, 0, 0), N.fillStyle = "rgba(255, 0, 0, 0.75)", N.strokeStyle = "rgba(255, 0, 0, 0.75)", N.lineWidth = 1, N.fillText("1 frame = " + z + " ms = " + W + " fps", 0, 20);
15266
15266
  var H = 60;
15267
- N.strokeRect(0, 30, 250, 20), N.fillRect(0, 30, 250 * Math.min(q / H, 1), 20);
15267
+ N.strokeRect(0, 30, 250, 20), N.fillRect(0, 30, 250 * Math.min(W / H, 1), 20);
15268
15268
  }
15269
15269
  n || (c[a.SELECT_BOX] = !1);
15270
15270
  }
@@ -15490,7 +15490,7 @@ function xl(e) {
15490
15490
  y: -z.h / 2
15491
15491
  };
15492
15492
  }, p = function(z) {
15493
- var q = z[0]._private, H = q.oldBackgroundTimestamp === q.backgroundTimestamp;
15493
+ var W = z[0]._private, H = W.oldBackgroundTimestamp === W.backgroundTimestamp;
15494
15494
  return !H;
15495
15495
  }, d = function(z) {
15496
15496
  return z[0]._private.nodeKey;
@@ -15500,14 +15500,14 @@ function xl(e) {
15500
15500
  return z[0]._private.sourceLabelStyleKey;
15501
15501
  }, b = function(z) {
15502
15502
  return z[0]._private.targetLabelStyleKey;
15503
- }, f = function(z, q, H, $, Z) {
15504
- return t.drawElement(z, q, H, !1, !1, Z);
15505
- }, m = function(z, q, H, $, Z) {
15506
- return t.drawElementText(z, q, H, $, "main", Z);
15507
- }, x = function(z, q, H, $, Z) {
15508
- return t.drawElementText(z, q, H, $, "source", Z);
15509
- }, T = function(z, q, H, $, Z) {
15510
- return t.drawElementText(z, q, H, $, "target", Z);
15503
+ }, f = function(z, W, H, $, Z) {
15504
+ return t.drawElement(z, W, H, !1, !1, Z);
15505
+ }, m = function(z, W, H, $, Z) {
15506
+ return t.drawElementText(z, W, H, $, "main", Z);
15507
+ }, x = function(z, W, H, $, Z) {
15508
+ return t.drawElementText(z, W, H, $, "source", Z);
15509
+ }, T = function(z, W, H, $, Z) {
15510
+ return t.drawElementText(z, W, H, $, "target", Z);
15511
15511
  }, _ = function(z) {
15512
15512
  return z.boundingBox(), z[0]._private.bodyBounds;
15513
15513
  }, D = function(z) {
@@ -15516,20 +15516,20 @@ function xl(e) {
15516
15516
  return z.boundingBox(), z[0]._private.labelBounds.source || u;
15517
15517
  }, E = function(z) {
15518
15518
  return z.boundingBox(), z[0]._private.labelBounds.target || u;
15519
- }, w = function(z, q) {
15520
- return q;
15519
+ }, w = function(z, W) {
15520
+ return W;
15521
15521
  }, C = function(z) {
15522
15522
  return c(_(z));
15523
- }, A = function(z, q, H) {
15523
+ }, A = function(z, W, H) {
15524
15524
  var $ = z ? z + "-" : "";
15525
15525
  return {
15526
- x: q.x + H.pstyle($ + "text-margin-x").pfValue,
15527
- y: q.y + H.pstyle($ + "text-margin-y").pfValue
15526
+ x: W.x + H.pstyle($ + "text-margin-x").pfValue,
15527
+ y: W.y + H.pstyle($ + "text-margin-y").pfValue
15528
15528
  };
15529
- }, k = function(z, q, H) {
15529
+ }, k = function(z, W, H) {
15530
15530
  var $ = z[0]._private.rscratch;
15531
15531
  return {
15532
- x: $[q],
15532
+ x: $[W],
15533
15533
  y: $[H]
15534
15534
  };
15535
15535
  }, S = function(z) {
@@ -15545,11 +15545,11 @@ function xl(e) {
15545
15545
  }, O = function(z) {
15546
15546
  return h(E(z));
15547
15547
  }, M = function(z) {
15548
- var q = D(z), H = h(D(z));
15548
+ var W = D(z), H = h(D(z));
15549
15549
  if (z.isNode()) {
15550
15550
  switch (z.pstyle("text-halign").value) {
15551
15551
  case "left":
15552
- H.x = -q.w;
15552
+ H.x = -W.w;
15553
15553
  break;
15554
15554
  case "right":
15555
15555
  H.x = 0;
@@ -15557,7 +15557,7 @@ function xl(e) {
15557
15557
  }
15558
15558
  switch (z.pstyle("text-valign").value) {
15559
15559
  case "top":
15560
- H.y = -q.h;
15560
+ H.y = -W.h;
15561
15561
  break;
15562
15562
  case "bottom":
15563
15563
  H.y = 0;
@@ -15565,7 +15565,7 @@ function xl(e) {
15565
15565
  }
15566
15566
  }
15567
15567
  return H;
15568
- }, G = t.data.eleTxrCache = new qn(t, {
15568
+ }, G = t.data.eleTxrCache = new Wn(t, {
15569
15569
  getKey: d,
15570
15570
  doesEleInvalidateKey: p,
15571
15571
  drawElement: f,
@@ -15574,21 +15574,21 @@ function xl(e) {
15574
15574
  getRotationOffset: R,
15575
15575
  allowEdgeTxrCaching: !1,
15576
15576
  allowParentTxrCaching: !1
15577
- }), B = t.data.lblTxrCache = new qn(t, {
15577
+ }), B = t.data.lblTxrCache = new Wn(t, {
15578
15578
  getKey: g,
15579
15579
  drawElement: m,
15580
15580
  getBoundingBox: D,
15581
15581
  getRotationPoint: S,
15582
15582
  getRotationOffset: M,
15583
15583
  isVisible: w
15584
- }), V = t.data.slbTxrCache = new qn(t, {
15584
+ }), V = t.data.slbTxrCache = new Wn(t, {
15585
15585
  getKey: v,
15586
15586
  drawElement: x,
15587
15587
  getBoundingBox: y,
15588
15588
  getRotationPoint: N,
15589
15589
  getRotationOffset: I,
15590
15590
  isVisible: w
15591
- }), F = t.data.tlbTxrCache = new qn(t, {
15591
+ }), F = t.data.tlbTxrCache = new Wn(t, {
15592
15592
  getKey: b,
15593
15593
  drawElement: T,
15594
15594
  getBoundingBox: E,
@@ -15596,16 +15596,16 @@ function xl(e) {
15596
15596
  getRotationOffset: O,
15597
15597
  isVisible: w
15598
15598
  }), U = t.data.lyrTxrCache = new pl(t);
15599
- t.onUpdateEleCalcs(function(z, q) {
15600
- G.invalidateElements(q), B.invalidateElements(q), V.invalidateElements(q), F.invalidateElements(q), U.invalidateElements(q);
15601
- for (var H = 0; H < q.length; H++) {
15602
- var $ = q[H]._private;
15599
+ t.onUpdateEleCalcs(function(z, W) {
15600
+ G.invalidateElements(W), B.invalidateElements(W), V.invalidateElements(W), F.invalidateElements(W), U.invalidateElements(W);
15601
+ for (var H = 0; H < W.length; H++) {
15602
+ var $ = W[H]._private;
15603
15603
  $.oldBackgroundTimestamp = $.backgroundTimestamp;
15604
15604
  }
15605
15605
  });
15606
15606
  var Q = function(z) {
15607
- for (var q = 0; q < z.length; q++)
15608
- U.enqueueElementRefinement(z[q].ele);
15607
+ for (var W = 0; W < z.length; W++)
15608
+ U.enqueueElementRefinement(z[W].ele);
15609
15609
  };
15610
15610
  G.onDequeue(Q), B.onDequeue(Q), V.onDequeue(Q), F.onDequeue(Q);
15611
15611
  }
@@ -15670,9 +15670,9 @@ function _l(e, t, n) {
15670
15670
  return i(t);
15671
15671
  or.prototype[t] = n;
15672
15672
  } else if (e === "collection") {
15673
- if (qe.prototype[t])
15673
+ if (We.prototype[t])
15674
15674
  return i(t);
15675
- qe.prototype[t] = n;
15675
+ We.prototype[t] = n;
15676
15676
  } else if (e === "layout") {
15677
15677
  for (var o = function(y) {
15678
15678
  this.options = y, n.call(this, y), _e(this._private) || (this._private = {}), this._private.cy = y.cy, this._private.listeners = [], this.createEmitter();
@@ -17785,8 +17785,8 @@ function xy() {
17785
17785
  Q >= 0 && O.splice(Q, 1), B--, M--;
17786
17786
  }
17787
17787
  E != null ? V = (O.indexOf(F[0]) + 1) % B : V = 0;
17788
- for (var z = Math.abs(C - w) / M, q = V; G != M; q = ++q % B) {
17789
- var H = O[q].getOtherEnd(y);
17788
+ for (var z = Math.abs(C - w) / M, W = V; G != M; W = ++W % B) {
17789
+ var H = O[W].getOtherEnd(y);
17790
17790
  if (H != E) {
17791
17791
  var $ = (w + G * z) % 360, Z = ($ + z) % 360;
17792
17792
  _.branchRadialLayout(H, y, $, Z, A + k, k), G++;
@@ -18196,7 +18196,7 @@ function xy() {
18196
18196
  var V = D.layout.getPositionsData();
18197
18197
  T.eles.nodes().positions(function(F, U) {
18198
18198
  if (typeof F == "number" && (F = U), !F.isParent()) {
18199
- for (var Q = F.id(), z = V[Q], q = F; z == null && (z = V[q.data("parent")] || V["DummyCompound_" + q.data("parent")], V[Q] = z, q = q.parent()[0], q != null); )
18199
+ for (var Q = F.id(), z = V[Q], W = F; z == null && (z = V[W.data("parent")] || V["DummyCompound_" + W.data("parent")], V[Q] = z, W = W.parent()[0], W != null); )
18200
18200
  ;
18201
18201
  return z != null ? {
18202
18202
  x: z.x,
@@ -18253,7 +18253,7 @@ function xy() {
18253
18253
  })(Al);
18254
18254
  var wy = Al.exports;
18255
18255
  const Ey = /* @__PURE__ */ Xo(wy);
18256
- var Wi = function() {
18256
+ var qi = function() {
18257
18257
  var e = function(T, _, D, y) {
18258
18258
  for (D = D || {}, y = T.length; y--; D[T[y]] = _)
18259
18259
  ;
@@ -18336,7 +18336,7 @@ var Wi = function() {
18336
18336
  var ue;
18337
18337
  return ue = y.pop() || I.lex() || P, typeof ue != "number" && (ue instanceof Array && (y = ue, ue = y.pop()), ue = _.symbols_[ue] || ue), ue;
18338
18338
  }
18339
- for (var F, U, Q, z, q = {}, H, $, Z, te; ; ) {
18339
+ for (var F, U, Q, z, W = {}, H, $, Z, te; ; ) {
18340
18340
  if (U = D[D.length - 1], this.defaultActions[U] ? Q = this.defaultActions[U] : ((F === null || typeof F > "u") && (F = V()), Q = C[U] && C[U][F]), typeof Q > "u" || !Q.length || !Q[0]) {
18341
18341
  var pe = "";
18342
18342
  te = [];
@@ -18359,15 +18359,15 @@ Expecting ` + te.join(", ") + ", got '" + (this.terminals_[F] || F) + "'" : pe =
18359
18359
  D.push(F), E.push(I.yytext), w.push(I.yylloc), D.push(Q[1]), F = null, S = I.yyleng, A = I.yytext, k = I.yylineno, G = I.yylloc;
18360
18360
  break;
18361
18361
  case 2:
18362
- if ($ = this.productions_[Q[1]][1], q.$ = E[E.length - $], q._$ = {
18362
+ if ($ = this.productions_[Q[1]][1], W.$ = E[E.length - $], W._$ = {
18363
18363
  first_line: w[w.length - ($ || 1)].first_line,
18364
18364
  last_line: w[w.length - 1].last_line,
18365
18365
  first_column: w[w.length - ($ || 1)].first_column,
18366
18366
  last_column: w[w.length - 1].last_column
18367
- }, B && (q._$.range = [
18367
+ }, B && (W._$.range = [
18368
18368
  w[w.length - ($ || 1)].range[0],
18369
18369
  w[w.length - 1].range[1]
18370
- ]), z = this.performAction.apply(q, [
18370
+ ]), z = this.performAction.apply(W, [
18371
18371
  A,
18372
18372
  S,
18373
18373
  k,
@@ -18377,7 +18377,7 @@ Expecting ` + te.join(", ") + ", got '" + (this.terminals_[F] || F) + "'" : pe =
18377
18377
  w
18378
18378
  ].concat(R)), typeof z < "u")
18379
18379
  return z;
18380
- $ && (D = D.slice(0, -1 * $ * 2), E = E.slice(0, -1 * $), w = w.slice(0, -1 * $)), D.push(this.productions_[Q[1]][0]), E.push(q.$), w.push(q._$), Z = C[D[D.length - 2]][D[D.length - 1]], D.push(Z);
18380
+ $ && (D = D.slice(0, -1 * $ * 2), E = E.slice(0, -1 * $), w = w.slice(0, -1 * $)), D.push(this.productions_[Q[1]][0]), E.push(W.$), w.push(W._$), Z = C[D[D.length - 2]][D[D.length - 1]], D.push(Z);
18381
18381
  break;
18382
18382
  case 3:
18383
18383
  return !0;
@@ -18652,8 +18652,8 @@ Expecting ` + te.join(", ") + ", got '" + (this.terminals_[F] || F) + "'" : pe =
18652
18652
  }
18653
18653
  return x.prototype = f, f.Parser = x, new x();
18654
18654
  }();
18655
- Wi.parser = Wi;
18656
- const _y = Wi;
18655
+ qi.parser = qi;
18656
+ const _y = qi;
18657
18657
  let _t = [], kl = 0, ba = {};
18658
18658
  const Ty = () => {
18659
18659
  _t = [], kl = 0, ba = {};
@@ -18665,7 +18665,7 @@ const Ty = () => {
18665
18665
  }, Cy = () => _t.length > 0 ? _t[0] : null, Ay = (e, t, n, r) => {
18666
18666
  var i, o;
18667
18667
  un.info("addNode", e, t, n, r);
18668
- const a = qi();
18668
+ const a = Wi();
18669
18669
  let s = ((i = a.mindmap) == null ? void 0 : i.padding) ?? Vr.mindmap.padding;
18670
18670
  switch (r) {
18671
18671
  case ze.ROUNDED_RECT:
@@ -18722,7 +18722,7 @@ const Ty = () => {
18722
18722
  }, Ny = (e) => {
18723
18723
  if (!e)
18724
18724
  return;
18725
- const t = qi(), n = _t[_t.length - 1];
18725
+ const t = Wi(), n = _t[_t.length - 1];
18726
18726
  e.icon && (n.icon = Ur(e.icon, t)), e.class && (n.class = Ur(e.class, t));
18727
18727
  }, Sy = (e) => {
18728
18728
  switch (e) {
@@ -18835,7 +18835,7 @@ const Uy = function(e, t, n) {
18835
18835
  a < 0 && (l += " section-root"), s.attr("class", (n.class ? n.class + " " : "") + "mindmap-node " + l);
18836
18836
  const u = s.append("g"), c = s.append("g"), h = n.descr.replace(/(<br\/*>)/g, `
18837
18837
  `);
18838
- Wl(c, h, {
18838
+ ql(c, h, {
18839
18839
  useHtmlLabels: o,
18840
18840
  width: n.width,
18841
18841
  classes: "mindmap-node-label"
@@ -18898,7 +18898,7 @@ function Ll(e, t, n, r, i) {
18898
18898
  Ll(e, t, o, r < 0 ? a : r, i);
18899
18899
  });
18900
18900
  }
18901
- function Wy(e, t) {
18901
+ function qy(e, t) {
18902
18902
  t.edges().map((n, r) => {
18903
18903
  const i = n.data();
18904
18904
  if (n[0]._private.bodyBounds) {
@@ -18940,7 +18940,7 @@ function Nl(e, t, n, r) {
18940
18940
  });
18941
18941
  });
18942
18942
  }
18943
- function qy(e, t) {
18943
+ function Wy(e, t) {
18944
18944
  return new Promise((n) => {
18945
18945
  const r = Vl("body").append("div").attr("id", "cy").attr("style", "display:none"), i = Cl({
18946
18946
  container: document.getElementById("cy"),
@@ -18988,14 +18988,14 @@ const Ky = async (e, t, n, r) => {
18988
18988
  const a = r.db, s = a.getMindmap();
18989
18989
  if (!s)
18990
18990
  return;
18991
- const l = qi();
18991
+ const l = Wi();
18992
18992
  l.htmlLabels = !1;
18993
18993
  const u = Gl(t), c = u.append("g");
18994
18994
  c.attr("class", "mindmap-edges");
18995
18995
  const h = u.append("g");
18996
18996
  h.attr("class", "mindmap-nodes"), Ll(a, h, s, -1, l);
18997
- const p = await qy(s, l);
18998
- Wy(c, p), $y(a, p), Yl(
18997
+ const p = await Wy(s, l);
18998
+ qy(c, p), $y(a, p), Yl(
18999
18999
  void 0,
19000
19000
  u,
19001
19001
  ((i = l.mindmap) == null ? void 0 : i.padding) ?? Vr.mindmap.padding,