@carbon/charts 1.13.0 → 1.13.2

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.
@@ -1,10 +1,10 @@
1
- import { select as x, pointer as Je, brushX as ms, scaleTime as qs, extent as Qe, area as kt, line as It, axisBottom as Rt, axisLeft as fs, axisTop as Ks, axisRight as Js, scaleLinear as Oe, arc as $e, easeLinear as Qs, path as Dt, interpolateNumber as vs, quantize as en, scaleBand as _t, hierarchy as Pt, pack as tn, pie as sn, interpolate as nn, interpolateRound as an, min as ht, max as Nt, lineRadial as rn, curveLinearClosed as on, cluster as ln, tree as cn, linkHorizontal as dn, treemap as hn, hsl as ys, color as bs, geoPath as un, geoNaturalEarth1 as pn, geoMercator as gn, geoEquirectangular as mn, geoConicEquidistant as fn, geoConicEqualArea as vn, geoAlbers as yn, geoEqualEarth as bn } from "d3";
2
- import { t as Es, i as En, S as Ss, U as Sn, V as xs, W as xn, X as On, Y as Tn, Z as Ln, g as y, d as he, f as Re, F as Ht, _ as Q, z as K, $ as Ge, a0 as Ut, K as de, H as wn, a1 as Os, e as Mn, a2 as ve, L as ut, N as pt, j as pe, a3 as Ve, a4 as ge, l as fe, A as me, a5 as An, n as ke, R as Cn, C as Z, q as ce, a6 as ie, a7 as kn, P as In, B as se, u as Pe, s as He, a8 as zt, a9 as Rn, aa as Ft, D as Ee } from "./color-scale-utils-faf67b75.mjs";
3
- import { y as H, _ as f, K as ee, r as ye, q as Te, L as Dn, A as ue, m as $, s as Se, V as Ie, S as te, e as V, Z as Le, i as le, f as Wt, J as nt, d as _n, F as Ue, n as at, H as it, C as rt, p as ze, b as jt, D as ot, Q as Pn, x as xe, $ as Fe, N as lt } from "./enums-a96ef472.mjs";
1
+ import { select as x, pointer as Je, brushX as ms, scaleTime as qs, extent as Qe, area as It, line as Rt, axisBottom as Dt, axisLeft as fs, axisTop as Ks, axisRight as Js, scaleLinear as Oe, arc as $e, easeLinear as Qs, path as _t, interpolateNumber as vs, quantize as en, scaleBand as Pt, hierarchy as Vt, pack as tn, pie as sn, interpolate as nn, interpolateRound as an, min as ut, max as Ht, lineRadial as rn, curveLinearClosed as on, cluster as ln, tree as cn, linkHorizontal as dn, treemap as hn, hsl as ys, color as bs, geoPath as un, geoNaturalEarth1 as pn, geoMercator as gn, geoEquirectangular as mn, geoConicEquidistant as fn, geoConicEqualArea as vn, geoAlbers as yn, geoEqualEarth as bn } from "d3";
2
+ import { t as Es, i as En, S as Ss, U as Sn, V as xs, W as xn, X as On, Y as Tn, Z as Ln, g as y, d as he, f as Re, F as Ut, _ as Q, z as K, $ as Ge, a0 as zt, K as de, H as wn, a1 as Os, e as Mn, a2 as ve, L as pt, N as gt, j as pe, a3 as Ve, a4 as ge, l as fe, A as me, a5 as An, n as ke, R as Cn, C as Z, q as ce, a6 as ie, a7 as kn, P as In, B as se, u as Pe, s as He, a8 as nt, a9 as Rn, aa as Ft, D as Ee } from "./color-scale-utils-2eb80bd2.mjs";
3
+ import { y as H, _ as f, K as ee, r as ye, q as Te, L as Dn, A as ue, m as $, s as Se, V as Ie, S as te, e as V, Z as Le, i as le, f as Wt, J as at, d as _n, F as Ue, n as it, H as rt, C as ot, p as ze, b as jt, D as lt, Q as Pn, x as xe, $ as Fe, N as ct } from "./enums-a96ef472.mjs";
4
4
  import { R as U } from "./a11y-7bad4f48.mjs";
5
- import { t as ct, D as E, c as gt, G as Zt, a as Vn, p as Y, r as Xt, b as Bn } from "./angle-utils-7844066d.mjs";
5
+ import { t as dt, D as E, c as mt, G as Zt, a as Vn, p as Y, r as Xt, b as Bn } from "./angle-utils-8034b0e5.mjs";
6
6
  import { sankey as $n, sankeyLinkHorizontal as Gn, sankeyJustify as Nn, sankeyLeft as Hn, sankeyRight as Un } from "d3-sankey";
7
- import { b as Ts } from "./_baseEach-76cda8a8.mjs";
7
+ import { b as Ts } from "./_baseEach-8433307e.mjs";
8
8
  import zn from "d3-cloud";
9
9
  function Fn(o, e, t, s) {
10
10
  var n = -1, a = o == null ? 0 : o.length;
@@ -250,7 +250,7 @@ function _a(o, e, t) {
250
250
  return o === o && (t !== void 0 && (o = o <= t ? o : t), e !== void 0 && (o = o >= e ? o : e)), o;
251
251
  }
252
252
  function $s(o, e, t) {
253
- return t === void 0 && (t = e, e = void 0), t !== void 0 && (t = ct(t), t = t === t ? t : 0), e !== void 0 && (e = ct(e), e = e === e ? e : 0), _a(ct(o), e, t);
253
+ return t === void 0 && (t = e, e = void 0), t !== void 0 && (t = dt(t), t = t === t ? t : 0), e !== void 0 && (e = dt(e), e = e === e ? e : 0), _a(dt(o), e, t);
254
254
  }
255
255
  function Pa(o, e) {
256
256
  var t = -1, s = En(o) ? Array(o.length) : [];
@@ -766,7 +766,7 @@ class ic extends z {
766
766
  // @ts-ignore
767
767
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
768
768
  render(e = !1) {
769
- this.getComponentContainer().style("width", `${this.configs.size || Ht.default.size}px`).style("height", `${this.configs.size || Ht.default.size}px`).attr("opacity", 0);
769
+ this.getComponentContainer().style("width", `${this.configs.size || Ut.default.size}px`).style("height", `${this.configs.size || Ut.default.size}px`).attr("opacity", 0);
770
770
  }
771
771
  }
772
772
  var Ua = {
@@ -783,7 +783,7 @@ var Ua = {
783
783
  textarea:not([disabled]),
784
784
  iframe, object, embed, *[tabindex], *[contenteditable=true]
785
785
  `
786
- }, dt = Ua;
786
+ }, ht = Ua;
787
787
  function Qt(o, e) {
788
788
  for (var t = 0; t < e.length; t++) {
789
789
  var s = e[t];
@@ -809,12 +809,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
809
809
  function Za(o, e) {
810
810
  if (o) {
811
811
  if (typeof o == "string")
812
- return mt(o, e);
812
+ return ft(o, e);
813
813
  var t = Object.prototype.toString.call(o).slice(8, -1);
814
814
  if (t === "Object" && o.constructor && (t = o.constructor.name), t === "Map" || t === "Set")
815
815
  return Array.from(o);
816
816
  if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
817
- return mt(o, e);
817
+ return ft(o, e);
818
818
  }
819
819
  }
820
820
  function Xa(o) {
@@ -823,9 +823,9 @@ function Xa(o) {
823
823
  }
824
824
  function Ya(o) {
825
825
  if (Array.isArray(o))
826
- return mt(o);
826
+ return ft(o);
827
827
  }
828
- function mt(o, e) {
828
+ function ft(o, e) {
829
829
  (e == null || e > o.length) && (e = o.length);
830
830
  for (var t = 0, s = new Array(e); t < e; t++)
831
831
  s[t] = o[t];
@@ -848,13 +848,13 @@ function qa() {
848
848
  return za(s);
849
849
  }());
850
850
  }
851
- function ft(o) {
851
+ function vt(o) {
852
852
  "@babel/helpers - typeof";
853
- return ft = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
853
+ return vt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
854
854
  return typeof e;
855
855
  } : function(e) {
856
856
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
857
- }, ft(o);
857
+ }, vt(o);
858
858
  }
859
859
  function Ka(o, e) {
860
860
  if (!(o instanceof e))
@@ -882,12 +882,12 @@ function Qa(o, e) {
882
882
  }
883
883
  }), Object.defineProperty(o, "prototype", {
884
884
  writable: !1
885
- }), e && vt(o, e);
885
+ }), e && yt(o, e);
886
886
  }
887
- function vt(o, e) {
888
- return vt = Object.setPrototypeOf || function(s, n) {
887
+ function yt(o, e) {
888
+ return yt = Object.setPrototypeOf || function(s, n) {
889
889
  return s.__proto__ = n, s;
890
- }, vt(o, e);
890
+ }, yt(o, e);
891
891
  }
892
892
  function ei(o) {
893
893
  var e = si();
@@ -902,7 +902,7 @@ function ei(o) {
902
902
  };
903
903
  }
904
904
  function ti(o, e) {
905
- if (e && (ft(e) === "object" || typeof e == "function"))
905
+ if (e && (vt(e) === "object" || typeof e == "function"))
906
906
  return e;
907
907
  if (e !== void 0)
908
908
  throw new TypeError("Derived constructors may only return object or undefined");
@@ -961,13 +961,13 @@ function ni(o) {
961
961
  }(o);
962
962
  return e;
963
963
  }
964
- function yt(o) {
964
+ function bt(o) {
965
965
  "@babel/helpers - typeof";
966
- return yt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
966
+ return bt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
967
967
  return typeof e;
968
968
  } : function(e) {
969
969
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
970
- }, yt(o);
970
+ }, bt(o);
971
971
  }
972
972
  function ai(o, e) {
973
973
  if (!(o instanceof e))
@@ -1009,12 +1009,12 @@ function oi(o, e) {
1009
1009
  }
1010
1010
  }), Object.defineProperty(o, "prototype", {
1011
1011
  writable: !1
1012
- }), e && bt(o, e);
1012
+ }), e && Et(o, e);
1013
1013
  }
1014
- function bt(o, e) {
1015
- return bt = Object.setPrototypeOf || function(s, n) {
1014
+ function Et(o, e) {
1015
+ return Et = Object.setPrototypeOf || function(s, n) {
1016
1016
  return s.__proto__ = n, s;
1017
- }, bt(o, e);
1017
+ }, Et(o, e);
1018
1018
  }
1019
1019
  function li(o) {
1020
1020
  var e = hi();
@@ -1029,7 +1029,7 @@ function li(o) {
1029
1029
  };
1030
1030
  }
1031
1031
  function ci(o, e) {
1032
- if (e && (yt(e) === "object" || typeof e == "function"))
1032
+ if (e && (bt(e) === "object" || typeof e == "function"))
1033
1033
  return e;
1034
1034
  if (e !== void 0)
1035
1035
  throw new TypeError("Derived constructors may only return object or undefined");
@@ -1111,13 +1111,13 @@ function Be(o) {
1111
1111
  }
1112
1112
  };
1113
1113
  }
1114
- function Et(o) {
1114
+ function St(o) {
1115
1115
  "@babel/helpers - typeof";
1116
- return Et = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1116
+ return St = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1117
1117
  return typeof e;
1118
1118
  } : function(e) {
1119
1119
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1120
- }, Et(o);
1120
+ }, St(o);
1121
1121
  }
1122
1122
  function pi(o) {
1123
1123
  return vi(o) || fi(o) || mi(o) || gi();
@@ -1129,12 +1129,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1129
1129
  function mi(o, e) {
1130
1130
  if (o) {
1131
1131
  if (typeof o == "string")
1132
- return St(o, e);
1132
+ return xt(o, e);
1133
1133
  var t = Object.prototype.toString.call(o).slice(8, -1);
1134
1134
  if (t === "Object" && o.constructor && (t = o.constructor.name), t === "Map" || t === "Set")
1135
1135
  return Array.from(o);
1136
1136
  if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
1137
- return St(o, e);
1137
+ return xt(o, e);
1138
1138
  }
1139
1139
  }
1140
1140
  function fi(o) {
@@ -1143,9 +1143,9 @@ function fi(o) {
1143
1143
  }
1144
1144
  function vi(o) {
1145
1145
  if (Array.isArray(o))
1146
- return St(o);
1146
+ return xt(o);
1147
1147
  }
1148
- function St(o, e) {
1148
+ function xt(o, e) {
1149
1149
  (e == null || e > o.length) && (e = o.length);
1150
1150
  for (var t = 0, s = new Array(e); t < e; t++)
1151
1151
  s[t] = o[t];
@@ -1177,12 +1177,12 @@ function Ei(o, e) {
1177
1177
  }
1178
1178
  }), Object.defineProperty(o, "prototype", {
1179
1179
  writable: !1
1180
- }), e && xt(o, e);
1180
+ }), e && Ot(o, e);
1181
1181
  }
1182
- function xt(o, e) {
1183
- return xt = Object.setPrototypeOf || function(s, n) {
1182
+ function Ot(o, e) {
1183
+ return Ot = Object.setPrototypeOf || function(s, n) {
1184
1184
  return s.__proto__ = n, s;
1185
- }, xt(o, e);
1185
+ }, Ot(o, e);
1186
1186
  }
1187
1187
  function Si(o) {
1188
1188
  var e = Ti();
@@ -1197,7 +1197,7 @@ function Si(o) {
1197
1197
  };
1198
1198
  }
1199
1199
  function xi(o, e) {
1200
- if (e && (Et(e) === "object" || typeof e == "function"))
1200
+ if (e && (St(e) === "object" || typeof e == "function"))
1201
1201
  return e;
1202
1202
  if (e !== void 0)
1203
1203
  throw new TypeError("Derived constructors may only return object or undefined");
@@ -1270,8 +1270,8 @@ function Li(o) {
1270
1270
  var u = {
1271
1271
  group: p && p.group,
1272
1272
  state: d
1273
- }, g = [u.group, d].filter(Boolean).join("-").split("-").map(function(w) {
1274
- return w[0].toUpperCase() + w.substr(1);
1273
+ }, g = [u.group, d].filter(Boolean).join("-").split("-").map(function(M) {
1274
+ return M[0].toUpperCase() + M.substr(1);
1275
1275
  }).join(""), m = new CustomEvent(this.options["eventBefore".concat(g)], {
1276
1276
  bubbles: !0,
1277
1277
  cancelable: !0,
@@ -1309,7 +1309,7 @@ function Li(o) {
1309
1309
  }(o);
1310
1310
  return e;
1311
1311
  }
1312
- function Ot(o, e) {
1312
+ function Tt(o, e) {
1313
1313
  var t = o.target, s = o.currentTarget;
1314
1314
  if (typeof t.matches == "function") {
1315
1315
  if (t.matches(e))
@@ -1337,13 +1337,13 @@ function ns(o) {
1337
1337
  launchingEvent: t
1338
1338
  };
1339
1339
  }
1340
- function Tt(o) {
1340
+ function Lt(o) {
1341
1341
  "@babel/helpers - typeof";
1342
- return Tt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1342
+ return Lt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1343
1343
  return typeof e;
1344
1344
  } : function(e) {
1345
1345
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1346
- }, Tt(o);
1346
+ }, Lt(o);
1347
1347
  }
1348
1348
  function wi(o, e) {
1349
1349
  if (!(o instanceof e))
@@ -1371,12 +1371,12 @@ function Ai(o, e) {
1371
1371
  }
1372
1372
  }), Object.defineProperty(o, "prototype", {
1373
1373
  writable: !1
1374
- }), e && Lt(o, e);
1374
+ }), e && wt(o, e);
1375
1375
  }
1376
- function Lt(o, e) {
1377
- return Lt = Object.setPrototypeOf || function(s, n) {
1376
+ function wt(o, e) {
1377
+ return wt = Object.setPrototypeOf || function(s, n) {
1378
1378
  return s.__proto__ = n, s;
1379
- }, Lt(o, e);
1379
+ }, wt(o, e);
1380
1380
  }
1381
1381
  function Ci(o) {
1382
1382
  var e = Ri();
@@ -1391,7 +1391,7 @@ function Ci(o) {
1391
1391
  };
1392
1392
  }
1393
1393
  function ki(o, e) {
1394
- if (e && (Tt(e) === "object" || typeof e == "function"))
1394
+ if (e && (Lt(e) === "object" || typeof e == "function"))
1395
1395
  return e;
1396
1396
  if (e !== void 0)
1397
1397
  throw new TypeError("Derived constructors may only return object or undefined");
@@ -1487,13 +1487,13 @@ process.env.NODE_ENV !== "production" && (js = function(o, e, t) {
1487
1487
  });
1488
1488
  var Bi = js;
1489
1489
  const $i = /* @__PURE__ */ Vi(Bi);
1490
- function wt(o) {
1490
+ function Mt(o) {
1491
1491
  "@babel/helpers - typeof";
1492
- return wt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1492
+ return Mt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1493
1493
  return typeof e;
1494
1494
  } : function(e) {
1495
1495
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1496
- }, wt(o);
1496
+ }, Mt(o);
1497
1497
  }
1498
1498
  function Gi(o, e) {
1499
1499
  if (!(o instanceof e))
@@ -1521,12 +1521,12 @@ function Hi(o, e) {
1521
1521
  }
1522
1522
  }), Object.defineProperty(o, "prototype", {
1523
1523
  writable: !1
1524
- }), e && Mt(o, e);
1524
+ }), e && At(o, e);
1525
1525
  }
1526
- function Mt(o, e) {
1527
- return Mt = Object.setPrototypeOf || function(s, n) {
1526
+ function At(o, e) {
1527
+ return At = Object.setPrototypeOf || function(s, n) {
1528
1528
  return s.__proto__ = n, s;
1529
- }, Mt(o, e);
1529
+ }, At(o, e);
1530
1530
  }
1531
1531
  function Ui(o) {
1532
1532
  var e = Wi();
@@ -1541,7 +1541,7 @@ function Ui(o) {
1541
1541
  };
1542
1542
  }
1543
1543
  function zi(o, e) {
1544
- if (e && (wt(e) === "object" || typeof e == "function"))
1544
+ if (e && (Mt(e) === "object" || typeof e == "function"))
1545
1545
  return e;
1546
1546
  if (e !== void 0)
1547
1547
  throw new TypeError("Derived constructors may only return object or undefined");
@@ -1603,7 +1603,7 @@ function ji(o) {
1603
1603
  else {
1604
1604
  var d = c.initEventNames.map(function(p) {
1605
1605
  return Be(r, p, function(h) {
1606
- var u = Ot(h, "[".concat(c.attribInitTarget, "]"));
1606
+ var u = Tt(h, "[".concat(c.attribInitTarget, "]"));
1607
1607
  if (u) {
1608
1608
  h.delegateTarget = u;
1609
1609
  var g = u.ownerDocument.querySelectorAll(u.getAttribute(c.attribInitTarget));
@@ -1631,13 +1631,13 @@ function ji(o) {
1631
1631
  }(o);
1632
1632
  return e;
1633
1633
  }
1634
- function At(o) {
1634
+ function Ct(o) {
1635
1635
  "@babel/helpers - typeof";
1636
- return At = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1636
+ return Ct = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1637
1637
  return typeof e;
1638
1638
  } : function(e) {
1639
1639
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1640
- }, At(o);
1640
+ }, Ct(o);
1641
1641
  }
1642
1642
  function Zi(o, e) {
1643
1643
  if (!(o instanceof e))
@@ -1665,12 +1665,12 @@ function Yi(o, e) {
1665
1665
  }
1666
1666
  }), Object.defineProperty(o, "prototype", {
1667
1667
  writable: !1
1668
- }), e && Ct(o, e);
1668
+ }), e && kt(o, e);
1669
1669
  }
1670
- function Ct(o, e) {
1671
- return Ct = Object.setPrototypeOf || function(s, n) {
1670
+ function kt(o, e) {
1671
+ return kt = Object.setPrototypeOf || function(s, n) {
1672
1672
  return s.__proto__ = n, s;
1673
- }, Ct(o, e);
1673
+ }, kt(o, e);
1674
1674
  }
1675
1675
  function qi(o) {
1676
1676
  var e = Qi();
@@ -1685,7 +1685,7 @@ function qi(o) {
1685
1685
  };
1686
1686
  }
1687
1687
  function Ki(o, e) {
1688
- if (e && (At(e) === "object" || typeof e == "function"))
1688
+ if (e && (Ct(e) === "object" || typeof e == "function"))
1689
1689
  return e;
1690
1690
  if (e !== void 0)
1691
1691
  throw new TypeError("Derived constructors may only return object or undefined");
@@ -1721,8 +1721,8 @@ var er = /* @__PURE__ */ function(o) {
1721
1721
  return Zi(this, t), a = e.call(this, s, n), a._handleFocusinListener = void 0, a._handleKeydownListener = void 0, a._handleFocusin = function(i) {
1722
1722
  var r = a.element.querySelector(a.options.selectorModalContainer) || a.element;
1723
1723
  a.element.classList.contains(a.options.classVisible) && !r.contains(i.target) && a.options.selectorsFloatingMenus.every(function(l) {
1724
- return !Ot(i, l);
1725
- }) && a.element.querySelector(dt.selectorTabbable).focus();
1724
+ return !Tt(i, l);
1725
+ }) && a.element.querySelector(ht.selectorTabbable).focus();
1726
1726
  }, a._hookCloseActions(), a;
1727
1727
  }
1728
1728
  return Xi(t, [{
@@ -1759,7 +1759,7 @@ var er = /* @__PURE__ */ function(o) {
1759
1759
  var r = this, l, c = function() {
1760
1760
  if (l && (l = r.unmanage(l).release()), n === "shown" && r.element.offsetWidth > 0 && r.element.offsetHeight > 0) {
1761
1761
  r.previouslyFocusedNode = r.element.ownerDocument.activeElement;
1762
- var u = r.element.querySelector(r.options.selectorPrimaryFocus) || r.element.querySelector(dt.selectorTabbable);
1762
+ var u = r.element.querySelector(r.options.selectorPrimaryFocus) || r.element.querySelector(ht.selectorTabbable);
1763
1763
  u.focus(), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && $i(u, "Modals need to contain a focusable element by either using " + "`".concat(r.options.selectorPrimaryFocus, "` or settings.selectorTabbable."));
1764
1764
  }
1765
1765
  i();
@@ -1775,7 +1775,7 @@ var er = /* @__PURE__ */ function(o) {
1775
1775
  value: function() {
1776
1776
  var n = this;
1777
1777
  this.manage(Be(this.element, "click", function(a) {
1778
- var i = Ot(a, n.options.selectorModalClose);
1778
+ var i = Tt(a, n.options.selectorModalClose);
1779
1779
  i && (a.delegateTarget = i), (i || a.target === n.element) && n.hide(a);
1780
1780
  })), this._handleKeydownListener && (this._handleKeydownListener = this.unmanage(this._handleKeydownListener).release()), this._handleKeydownListener = this.manage(Be(this.element.ownerDocument.body, "keydown", function(a) {
1781
1781
  a.which === 27 && n.shouldStateBeChanged("hidden") && (a.stopPropagation(), n.hide(a));
@@ -1822,7 +1822,7 @@ var er = /* @__PURE__ */ function(o) {
1822
1822
  * without being canceled by the event handler named by `eventBeforeHidden` option (`modal-beinghidden`).
1823
1823
  */
1824
1824
  function() {
1825
- var n = dt.prefix;
1825
+ var n = ht.prefix;
1826
1826
  return {
1827
1827
  selectorInit: "[data-modal]",
1828
1828
  selectorModalClose: "[data-modal-close]",
@@ -2029,18 +2029,18 @@ class nr extends z {
2029
2029
  if (v && i.length) {
2030
2030
  const S = this, T = d.selectAll("div.additional-item").data(v);
2031
2031
  T.exit().remove();
2032
- const w = T.enter().append("div").merge(T).classed("legend-item", !0).classed("additional", !0).attr(
2032
+ const M = T.enter().append("div").merge(T).classed("legend-item", !0).classed("additional", !0).attr(
2033
2033
  "aria-labelledby",
2034
2034
  (k, I) => this.services.domUtils.generateElementIDString(
2035
2035
  `legend-datagroup-${b.size() + I}-title`
2036
2036
  )
2037
2037
  );
2038
- w.selectAll("*").remove();
2038
+ M.selectAll("*").remove();
2039
2039
  let L, O = 1;
2040
- w.append("svg").classed("icon", !0).each(function(k) {
2040
+ M.append("svg").classed("icon", !0).each(function(k) {
2041
2041
  const I = x(this);
2042
2042
  !L || L != k.type ? (L = k.type, O = 1) : O++, S.addAdditionalItem(I, k, O);
2043
- }), w.append("p").merge(w.select("p")), this.truncateLegendText();
2043
+ }), M.append("p").merge(M.select("p")), this.truncateLegendText();
2044
2044
  }
2045
2045
  p.exit().on("mouseover", null).on("click", null).on("mouseout", null).remove(), u && h.size() > 1 && this.addEventListeners();
2046
2046
  }
@@ -2361,10 +2361,10 @@ class ir extends z {
2361
2361
  if (n)
2362
2362
  return n(e, t);
2363
2363
  if (typeof e.getTime == "function")
2364
- return Ut(e, "MMM d, yyyy");
2364
+ return zt(e, "MMM d, yyyy");
2365
2365
  try {
2366
2366
  if (typeof e == "string" && /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/.test(e))
2367
- return Ut(Date.parse(e), "MMM d, yyyy");
2367
+ return zt(Date.parse(e), "MMM d, yyyy");
2368
2368
  } catch {
2369
2369
  }
2370
2370
  return e.toLocaleString();
@@ -2464,13 +2464,13 @@ const Zs = class je extends z {
2464
2464
  [0, 0],
2465
2465
  [r - 1, l]
2466
2466
  ]).on("start brush end", b).on("end.brushed", T), a.call(S));
2467
- const w = this.services.zoom.getZoomRatio();
2467
+ const M = this.services.zoom.getZoomRatio();
2468
2468
  n.on("click", function(L) {
2469
2469
  if (L.shiftKey) {
2470
2470
  const O = this.services.domUtils.getHolder(), k = Je(a.node(), O)[0];
2471
- let I = k - r * w / 2;
2471
+ let I = k - r * M / 2;
2472
2472
  I < 0 && (I = 0);
2473
- let F = k + r * w / 2;
2473
+ let F = k + r * M / 2;
2474
2474
  F > r && (F = r), v(I, F);
2475
2475
  }
2476
2476
  });
@@ -2539,7 +2539,7 @@ class cc extends z {
2539
2539
  },
2540
2540
  { skipUpdate: !0 }
2541
2541
  ), this.xScale.range([c, l]).domain(v), this.maxSelectionRange = this.xScale.range(), this.yScale.range([0, r - 6]).domain(Qe(b, (O) => O.value));
2542
- const w = this.model.get("zoomDomain");
2542
+ const M = this.model.get("zoomDomain");
2543
2543
  if (a === Le.GRAPH_VIEW && (this.renderZoomBarArea(p, "path.zoom-graph-area-unselected", b, null), this.updateClipPath(t, this.clipId, 0, 0, 0, 0), this.renderZoomBarArea(p, "path.zoom-graph-area", b, this.clipId), this.renderZoomBarBaseline(p, c, l), i)) {
2544
2544
  const O = i.highlightStartMapsTo, k = i.highlightEndMapsTo, I = i.color, F = i.labelMapsTo;
2545
2545
  i.data.forEach((P, A) => {
@@ -2555,13 +2555,13 @@ class cc extends z {
2555
2555
  ).style("stroke-dasharray", "2, 2").attr("stroke-width", "1px");
2556
2556
  });
2557
2557
  }
2558
- this.addBrushEventListener(w, c, l);
2558
+ this.addBrushEventListener(M, c, l);
2559
2559
  const L = E.appendOrSelect(t, this.brushSelector).call(this.brush);
2560
- if (w !== void 0)
2561
- if (w[0].valueOf() === w[1].valueOf())
2560
+ if (M !== void 0)
2561
+ if (M[0].valueOf() === M[1].valueOf())
2562
2562
  L.call(this.brush.move, this.xScale.range()), this.updateBrushHandle(this.getComponentContainer(), this.xScale.range());
2563
2563
  else {
2564
- const O = w.map((k) => this.xScale(k));
2564
+ const O = M.map((k) => this.xScale(k));
2565
2565
  O[1] - O[0] < this.MIN_SELECTION_DIFF || (L.call(this.brush.move, O), this.updateBrushHandle(this.getComponentContainer(), O));
2566
2566
  }
2567
2567
  n && (this.brush.filter(() => !1), L.selectAll("rect").attr("cursor", "auto"));
@@ -2629,7 +2629,7 @@ class cc extends z {
2629
2629
  E.appendOrSelect(a, "rect.zoom-slider-selected-area").attr("x", e[0]).attr("y", s / 2 - 1).attr("width", e[1] - e[0]).attr("height", 2);
2630
2630
  }
2631
2631
  renderZoomBarArea(e, t, s, n) {
2632
- const { cartesianScales: a } = this.services, i = a.getMainXAxisPosition(), r = a.getMainYAxisPosition(), l = a.getMainXScaleType(), c = a.getMainYScaleType(), d = (v, S, T) => (w) => a.getValueFromScale(v, S, T, w), p = d(this.xScale, l, i), h = d(this.yScale, c, r), u = y(this.getOptions(), "zoomBar", V.TOP, "type"), g = de.height[u], m = kt().x((v) => p(v)).y0(g).y1((v) => g - h(v)), b = E.appendOrSelect(e, t).datum(s).attr("d", m);
2632
+ const { cartesianScales: a } = this.services, i = a.getMainXAxisPosition(), r = a.getMainYAxisPosition(), l = a.getMainXScaleType(), c = a.getMainYScaleType(), d = (v, S, T) => (M) => a.getValueFromScale(v, S, T, M), p = d(this.xScale, l, i), h = d(this.yScale, c, r), u = y(this.getOptions(), "zoomBar", V.TOP, "type"), g = de.height[u], m = It().x((v) => p(v)).y0(g).y1((v) => g - h(v)), b = E.appendOrSelect(e, t).datum(s).attr("d", m);
2633
2633
  n && b.attr("clip-path", `url(#${n})`);
2634
2634
  }
2635
2635
  updateClipPath(e, t, s, n, a, i) {
@@ -2657,7 +2657,7 @@ class cc extends z {
2657
2657
  "zoomBar",
2658
2658
  V.TOP,
2659
2659
  "type"
2660
- ), i = de.height[a], r = It()([
2660
+ ), i = de.height[a], r = Rt()([
2661
2661
  [t, i],
2662
2662
  [s, i]
2663
2663
  ]);
@@ -2707,24 +2707,24 @@ class dc extends z {
2707
2707
  ), g = p.services.cartesianScales.getScaleTypeByPosition(h);
2708
2708
  let m = null, b = null;
2709
2709
  h === V.LEFT || h === V.RIGHT ? (b = u, m = p.services.cartesianScales.getMainXScale()) : (m = u, b = p.services.cartesianScales.getMainYScale());
2710
- const v = g === te.LABELS, [S, T] = m.range(), [w, L] = b.range(), { cartesianScales: O } = p.services, k = O.getOrientation(), I = (G) => O.getDomainValue(G), F = (G) => O.getRangeValue(G), [P, A] = ve(
2710
+ const v = g === te.LABELS, [S, T] = m.range(), [M, L] = b.range(), { cartesianScales: O } = p.services, k = O.getOrientation(), I = (G) => O.getDomainValue(G), F = (G) => O.getRangeValue(G), [P, A] = ve(
2711
2711
  I,
2712
2712
  F,
2713
2713
  k
2714
- ), M = x(this);
2715
- h === V.TOP || h === V.BOTTOM ? (M.selectAll("line.threshold-line").transition().call(
2714
+ ), w = x(this);
2715
+ h === V.TOP || h === V.BOTTOM ? (w.selectAll("line.threshold-line").transition().call(
2716
2716
  (G) => p.services.transitions.setupTransition({
2717
2717
  transition: G,
2718
2718
  name: "threshold-line-update",
2719
2719
  animate: e
2720
2720
  })
2721
- ).attr("y1", L).attr("y2", w).attr(
2721
+ ).attr("y1", L).attr("y2", M).attr(
2722
2722
  "x1",
2723
2723
  ({ datum: G }) => P(G) + (v ? u.step() / 2 : 0)
2724
2724
  ).attr(
2725
2725
  "x2",
2726
2726
  ({ datum: G }) => P(G) + (v ? u.step() / 2 : 0)
2727
- ).style("stroke", ({ fillColor: G }) => G), M.selectAll("rect.threshold-hoverable-area").attr("x", 0).attr("y", ({ datum: G }) => -P(G)).attr("width", Math.abs(w - L)).classed("rotate", !0)) : (M.selectAll("line.threshold-line").transition().call(
2727
+ ).style("stroke", ({ fillColor: G }) => G), w.selectAll("rect.threshold-hoverable-area").attr("x", 0).attr("y", ({ datum: G }) => -P(G)).attr("width", Math.abs(M - L)).classed("rotate", !0)) : (w.selectAll("line.threshold-line").transition().call(
2728
2728
  (G) => p.services.transitions.setupTransition({
2729
2729
  transition: G,
2730
2730
  name: "threshold-line-update",
@@ -2736,7 +2736,7 @@ class dc extends z {
2736
2736
  ).attr(
2737
2737
  "y2",
2738
2738
  ({ datum: G }) => A(G) + (v ? u.step() / 2 : 0)
2739
- ).style("stroke", ({ fillColor: G }) => G), M.selectAll("rect.threshold-hoverable-area").attr("x", S).attr("y", ({ datum: G }) => A(G)).attr("width", Math.abs(T - S)).classed("rotate", !1));
2739
+ ).style("stroke", ({ fillColor: G }) => G), w.selectAll("rect.threshold-hoverable-area").attr("x", S).attr("y", ({ datum: G }) => A(G)).attr("width", Math.abs(T - S)).classed("rotate", !1));
2740
2740
  }), this.services.events.addEventListener(f.Threshold.SHOW, (h) => {
2741
2741
  this.setThresholdLabelPosition(h.detail), this.label.classed("hidden", !1);
2742
2742
  }), this.services.events.addEventListener(f.Threshold.HIDE, () => {
@@ -2746,11 +2746,11 @@ class dc extends z {
2746
2746
  getFormattedValue(e) {
2747
2747
  const { value: t, axisPosition: s } = e, n = this.getOptions();
2748
2748
  if (this.services.cartesianScales.getScaleTypeByPosition(s) === te.TIME) {
2749
- const i = [V.LEFT, V.RIGHT].includes(s), r = this.services.cartesianScales.getMainXScale(), l = this.services.cartesianScales.getMainYScale(), c = i ? l : r, d = y(n, "timeScale"), p = ut(
2749
+ const i = [V.LEFT, V.RIGHT].includes(s), r = this.services.cartesianScales.getMainXScale(), l = this.services.cartesianScales.getMainYScale(), c = i ? l : r, d = y(n, "timeScale"), p = pt(
2750
2750
  c.ticks(),
2751
2751
  y(d, "timeInterval")
2752
2752
  );
2753
- return pt(t, 0, c.ticks(), p, d);
2753
+ return gt(t, 0, c.ticks(), p, d);
2754
2754
  }
2755
2755
  return t.toLocaleString("en");
2756
2756
  }
@@ -2842,10 +2842,10 @@ class hc extends z {
2842
2842
  c.append("rect").attr("class", "highlight-bar"), c.append("line").attr("class", "highlight-line"), c.merge(l).attr("class", "highlight-group");
2843
2843
  const p = this;
2844
2844
  r.each(function({ axisPosition: h }) {
2845
- const u = p.services.cartesianScales.getMainXScale(), g = p.services.cartesianScales.getMainYScale(), [m, b] = u.range(), [v, S] = g.range(), { cartesianScales: T } = p.services, w = T.getOrientation(), L = (P) => T.getDomainValue(P), O = (P) => T.getRangeValue(P), [k, I] = ve(
2845
+ const u = p.services.cartesianScales.getMainXScale(), g = p.services.cartesianScales.getMainYScale(), [m, b] = u.range(), [v, S] = g.range(), { cartesianScales: T } = p.services, M = T.getOrientation(), L = (P) => T.getDomainValue(P), O = (P) => T.getRangeValue(P), [k, I] = ve(
2846
2846
  L,
2847
2847
  O,
2848
- w
2848
+ M
2849
2849
  ), F = x(this);
2850
2850
  h === V.TOP || h === V.BOTTOM ? F.selectAll("rect.highlight-bar").transition().call(
2851
2851
  (P) => p.services.transitions.setupTransition({
@@ -2855,8 +2855,8 @@ class hc extends z {
2855
2855
  })
2856
2856
  ).attr("y", Math.max(S + p.highlightStrokeWidth, 0)).attr("height", Math.max(v - 2 * p.highlightStrokeWidth, 0)).attr("x", ({ highlightStartMapsTo: P, ...A }) => k(A[P])).attr(
2857
2857
  "width",
2858
- ({ highlightStartMapsTo: P, highlightEndMapsTo: A, ...M }) => Math.max(k(M[A]) - k(M[P]), 0)
2859
- ).style("stroke", ({ color: P, labelMapsTo: A, ...M }) => P && P.scale[M[A]] ? P.scale[M[A]] : null).style("stroke-dasharray", "2, 2").attr("stroke-width", p.highlightStrokeWidth + "px").style("fill-opacity", 0.1).style("fill", ({ color: P, labelMapsTo: A, ...M }) => P && P.scale[M[A]] ? P.scale[M[A]] : null) : F.selectAll("rect.highlight-bar").transition().call(
2858
+ ({ highlightStartMapsTo: P, highlightEndMapsTo: A, ...w }) => Math.max(k(w[A]) - k(w[P]), 0)
2859
+ ).style("stroke", ({ color: P, labelMapsTo: A, ...w }) => P && P.scale[w[A]] ? P.scale[w[A]] : null).style("stroke-dasharray", "2, 2").attr("stroke-width", p.highlightStrokeWidth + "px").style("fill-opacity", 0.1).style("fill", ({ color: P, labelMapsTo: A, ...w }) => P && P.scale[w[A]] ? P.scale[w[A]] : null) : F.selectAll("rect.highlight-bar").transition().call(
2860
2860
  (P) => p.services.transitions.setupTransition({
2861
2861
  transition: P,
2862
2862
  name: "highlight-bar-update",
@@ -2864,8 +2864,8 @@ class hc extends z {
2864
2864
  })
2865
2865
  ).attr("x", m).attr("width", Math.max(b - m, 0)).attr("y", ({ highlightEndMapsTo: P, ...A }) => I(A[P])).attr(
2866
2866
  "height",
2867
- ({ highlightStartMapsTo: P, highlightEndMapsTo: A, ...M }) => Math.max(I(M[P]) - I(M[A]), 0)
2868
- ).style("stroke", ({ color: P, labelMapsTo: A, ...M }) => P && P.scale[M[A]] ? P.scale[M[A]] : null).style("stroke-dasharray", "2, 2").attr("stroke-width", p.highlightStrokeWidth + "px").style("fill-opacity", 0.1).style("fill", ({ color: P, labelMapsTo: A, ...M }) => P && P.scale[M[A]] ? P.scale[M[A]] : null);
2867
+ ({ highlightStartMapsTo: P, highlightEndMapsTo: A, ...w }) => Math.max(I(w[P]) - I(w[A]), 0)
2868
+ ).style("stroke", ({ color: P, labelMapsTo: A, ...w }) => P && P.scale[w[A]] ? P.scale[w[A]] : null).style("stroke-dasharray", "2, 2").attr("stroke-width", p.highlightStrokeWidth + "px").style("fill-opacity", 0.1).style("fill", ({ color: P, labelMapsTo: A, ...w }) => P && P.scale[w[A]] ? P.scale[w[A]] : null);
2869
2869
  });
2870
2870
  }
2871
2871
  }
@@ -3000,9 +3000,9 @@ class pc extends z {
3000
3000
  ).style("font-size", "14px").text((v) => h[v] ? h[v] : "").attr("y", 20).attr("x", (v, S) => {
3001
3001
  const T = this.services.domUtils.generateElementIDString(
3002
3002
  `alluvial-category-${S}`
3003
- ), { width: w } = E.getSVGElementSize(x(`text#${T}`), { useBBox: !0 });
3003
+ ), { width: M } = E.getSVGElementSize(x(`text#${T}`), { useBBox: !0 });
3004
3004
  let L = 0;
3005
- return v + L >= w && (L = -w + 4), L;
3005
+ return v + L >= M && (L = -M + 4), L;
3006
3006
  });
3007
3007
  const g = t.append("g").attr("fill", "none").selectAll("g").data(this.graph.links);
3008
3008
  if (g.exit().remove(), r) {
@@ -3043,18 +3043,18 @@ class pc extends z {
3043
3043
  ).attr("class", "node-text").style("font-size", "12px").attr("text-anchor", "start").attr("fill", "white").attr("x", 4).attr("dy", 13).text((v) => `${v.name} (${v.value})`).attr("aria-label", (v) => `${v.name} (${v.value})`), b.append("rect").classed("node-text-bg", !0).attr("width", (v, S) => {
3044
3044
  const T = this.services.domUtils.generateElementIDString(
3045
3045
  `alluvial-node-text-${S}`
3046
- ), { width: w } = E.getSVGElementSize(x(`text#${T}`), { useBBox: !0 });
3047
- return w + 8;
3046
+ ), { width: M } = E.getSVGElementSize(x(`text#${T}`), { useBBox: !0 });
3047
+ return M + 8;
3048
3048
  }).attr("height", 18).attr("stroke-width", 2).lower(), b.attr("transform", (v, S) => {
3049
3049
  const T = this.services.domUtils.generateElementIDString(
3050
3050
  `alluvial-node-text-${S}`
3051
- ), { width: w } = E.getSVGElementSize(x(`text#${T}`), { useBBox: !0 }), L = (v.y1 - v.y0) / 2 - 9;
3051
+ ), { width: M } = E.getSVGElementSize(x(`text#${T}`), { useBBox: !0 }), L = (v.y1 - v.y0) / 2 - 9;
3052
3052
  let O = v.x1 - v.x0;
3053
- return v.x1 >= w ? O = O - (w + 16) : O += 4, `translate(${O}, ${L})`;
3053
+ return v.x1 >= M ? O = O - (M + 16) : O += 4, `translate(${O}, ${L})`;
3054
3054
  }), this.addLineEventListener(), this.addNodeEventListener();
3055
3055
  }
3056
3056
  addLineEventListener() {
3057
- const e = this.getOptions(), t = this, s = gt((n, a = "mouseover") => {
3057
+ const e = this.getOptions(), t = this, s = mt((n, a = "mouseover") => {
3058
3058
  const i = t.parent.selectAll("path.link").transition().call(
3059
3059
  (r) => t.services.transitions.setupTransition({
3060
3060
  transition: r,
@@ -3112,7 +3112,7 @@ class pc extends z {
3112
3112
  });
3113
3113
  }
3114
3114
  addNodeEventListener() {
3115
- const e = this, t = gt((s = [], n = "mouseover") => {
3115
+ const e = this, t = mt((s = [], n = "mouseover") => {
3116
3116
  if (n === "mouseout" || s.length === 0) {
3117
3117
  e.parent.selectAll("path.link").classed("link-hovered", !1).data(this.graph.links, (i) => i.index).order().style("stroke-opacity", pe.opacity.default);
3118
3118
  return;
@@ -3204,7 +3204,7 @@ class gc extends z {
3204
3204
  this.drawBackdrop(t, s), !(!t && !s) && (t && (E.appendOrSelect(this.backdrop, "g.x.grid"), this.drawXGrid(e)), s && (E.appendOrSelect(this.backdrop, "g.y.grid"), this.drawYGrid(e)));
3205
3205
  }
3206
3206
  drawXGrid(e) {
3207
- const t = this.parent, s = this.backdrop.attr("height"), n = this.services.cartesianScales.getMainXScale(), a = Rt(n).tickSizeInner(-s).tickSizeOuter(0);
3207
+ const t = this.parent, s = this.backdrop.attr("height"), n = this.services.cartesianScales.getMainXScale(), a = Dt(n).tickSizeInner(-s).tickSizeOuter(0);
3208
3208
  if (y(this.getOptions(), "grid", "x", "alignWithAxisTicks")) {
3209
3209
  const l = this.services.cartesianScales.getDomainAxisPosition(), c = y(this.getOptions(), "axes", l, "ticks", "values");
3210
3210
  c && a.tickValues(c);
@@ -3317,7 +3317,7 @@ class mc extends z {
3317
3317
  render(e = !0) {
3318
3318
  const t = this.getComponentContainer({ withinChartClip: !0 }), s = this.getOptions();
3319
3319
  let n = [0, 0];
3320
- const { cartesianScales: a } = this.services, i = a.getOrientation(), r = kt().curve(this.services.curves.getD3Curve()).defined((L) => {
3320
+ const { cartesianScales: a } = this.services, i = a.getOrientation(), r = It().curve(this.services.curves.getD3Curve()).defined((L) => {
3321
3321
  const O = a.getRangeIdentifier(), k = L[O];
3322
3322
  return k != null;
3323
3323
  }), l = this.model.getGroupedData(this.configs.groups), c = y(s, "bounds"), d = c && l && l.length === 1;
@@ -3368,8 +3368,8 @@ class mc extends z {
3368
3368
  this.parent.selectAll("defs linearGradient").empty() || this.parent.selectAll("defs linearGradient").each(function() {
3369
3369
  this.parentNode.remove();
3370
3370
  });
3371
- const T = this, w = v.enter().append("path");
3372
- b ? w.merge(v).style(
3371
+ const T = this, M = v.enter().append("path");
3372
+ b ? M.merge(v).style(
3373
3373
  "fill",
3374
3374
  (L) => `url(#${this.services.domUtils.generateElementIDString(
3375
3375
  `${L.name.replace(" ", "")}_${this.gradient_id}`
@@ -3384,7 +3384,7 @@ class mc extends z {
3384
3384
  ).attr("d", (L) => {
3385
3385
  const { data: O } = L;
3386
3386
  return r(O);
3387
- }) : (w.attr("opacity", 0).merge(v).attr("class", "area").attr(
3387
+ }) : (M.attr("opacity", 0).merge(v).attr("class", "area").attr(
3388
3388
  "class",
3389
3389
  (L) => this.model.getColorClassName({
3390
3390
  classNameTypes: [$.FILL, $.STROKE],
@@ -3400,7 +3400,7 @@ class mc extends z {
3400
3400
  ).attr("opacity", d ? 1 : fe.opacity.selected).attr("d", (L) => {
3401
3401
  const { data: O } = L;
3402
3402
  return r(O);
3403
- }), d && w.attr("fill-opacity", fe.opacity.selected).style("stroke", (L) => T.model.getStrokeColor(L.name)).style("stroke-dasharray", "2, 2").attr("stroke-width", 0.7 + "px"));
3403
+ }), d && M.attr("fill-opacity", fe.opacity.selected).style("stroke", (L) => T.model.getStrokeColor(L.name)).style("stroke-dasharray", "2, 2").attr("stroke-width", 0.7 + "px"));
3404
3404
  }
3405
3405
  destroy() {
3406
3406
  const e = this.services.events;
@@ -3435,7 +3435,7 @@ class fc extends z {
3435
3435
  a,
3436
3436
  i,
3437
3437
  s.getOrientation()
3438
- ), c = this.getOptions(), d = It().x(r).y(l).curve(n.getD3Curve()).defined((g) => {
3438
+ ), c = this.getOptions(), d = Rt().x(r).y(l).curve(n.getD3Curve()).defined((g) => {
3439
3439
  const m = s.getRangeIdentifier(g), b = g[m];
3440
3440
  return b != null;
3441
3441
  });
@@ -3449,12 +3449,12 @@ class fc extends z {
3449
3449
  const S = this.services.cartesianScales.getDomainIdentifier(v), T = this.services.cartesianScales.getRangeIdentifier(v);
3450
3450
  return {
3451
3451
  name: y(v, 0, m),
3452
- data: v.map((w) => ({
3453
- [S]: w.data.sharedStackKey,
3454
- [m]: w[m],
3455
- [T]: w[1]
3452
+ data: v.map((M) => ({
3453
+ [S]: M.data.sharedStackKey,
3454
+ [m]: M[m],
3455
+ [T]: M[1]
3456
3456
  })),
3457
- hidden: !Ha(v, (w) => w[0] !== w[1])
3457
+ hidden: !Ha(v, (M) => M[0] !== M[1])
3458
3458
  };
3459
3459
  });
3460
3460
  } else
@@ -3526,17 +3526,17 @@ class Xs extends z {
3526
3526
  const m = this.pointsWithinLine.reduce((b, v) => {
3527
3527
  if (b.length === 0)
3528
3528
  return b.push(v), b;
3529
- const S = b[0].domainValue, T = Math.abs(d - v.domainValue), w = Math.abs(d - S);
3530
- return T > w || (T < w ? b = [v] : b.push(v)), b;
3529
+ const S = b[0].domainValue, T = Math.abs(d - v.domainValue), M = Math.abs(d - S);
3530
+ return T > M || (T < M ? b = [v] : b.push(v)), b;
3531
3531
  }, []);
3532
3532
  if (m.length > 0) {
3533
- const b = m.map((w) => w.originalData).filter((w) => {
3534
- const L = this.services.cartesianScales.getRangeIdentifier(w), O = w[L];
3533
+ const b = m.map((M) => M.originalData).filter((M) => {
3534
+ const L = this.services.cartesianScales.getRangeIdentifier(M), O = M[L];
3535
3535
  return O != null;
3536
3536
  }), v = m.map(
3537
- (w) => w.domainValue
3538
- ), S = u.filter((w) => {
3539
- const L = this.services.cartesianScales.getDomainValue(w);
3537
+ (M) => M.domainValue
3538
+ ), S = u.filter((M) => {
3539
+ const L = this.services.cartesianScales.getDomainValue(M);
3540
3540
  return v.includes(L);
3541
3541
  });
3542
3542
  this.elementsToHighlight && this.elementsToHighlight.size() > 0 && !Gs(this.elementsToHighlight, S) && this.hideRuler(), S.dispatch("mouseover"), this.elementsToHighlight = S, this.services.events.dispatchEvent(f.Tooltip.SHOW, {
@@ -3581,7 +3581,7 @@ class Xs extends z {
3581
3581
  this.backdrop = E.appendOrSelect(e, "svg.chart-grid-backdrop");
3582
3582
  }
3583
3583
  }
3584
- class Vt extends z {
3584
+ class Bt extends z {
3585
3585
  constructor() {
3586
3586
  super(...arguments), this.type = "scatter", this.renderType = H.SVG, this.handleChartHolderOnHover = () => {
3587
3587
  if (!this.parent)
@@ -3853,7 +3853,7 @@ class Ys extends z {
3853
3853
  h = fs;
3854
3854
  break;
3855
3855
  case V.BOTTOM:
3856
- h = Rt;
3856
+ h = Dt;
3857
3857
  break;
3858
3858
  case V.RIGHT:
3859
3859
  h = Js;
@@ -3871,7 +3871,7 @@ class Ys extends z {
3871
3871
  g.attr("aria-hidden", !0);
3872
3872
  return;
3873
3873
  }
3874
- const w = y(b, "scaleType"), L = y(s, "data", "loading"), O = y(b, "ticks", "number"), k = y(b, "ticks", "values"), I = y(b, "truncation", "type"), F = y(b, "truncation", "threshold"), P = y(b, "truncation", "numCharacter"), A = O !== null, M = y(s, "timeScale"), G = E.appendOrSelect(m, "g.tick"), D = E.appendOrSelect(G, "text").text("0"), X = E.getSVGElementSize(D.node(), {
3874
+ const M = y(b, "scaleType"), L = y(s, "data", "loading"), O = y(b, "ticks", "number"), k = y(b, "ticks", "values"), I = y(b, "truncation", "type"), F = y(b, "truncation", "threshold"), P = y(b, "truncation", "numCharacter"), A = O !== null, w = y(s, "timeScale"), G = E.appendOrSelect(m, "g.tick"), D = E.appendOrSelect(G, "text").text("0"), X = E.getSVGElementSize(D.node(), {
3875
3875
  useBBox: !0
3876
3876
  }).height;
3877
3877
  G.remove();
@@ -3895,17 +3895,17 @@ class Ys extends z {
3895
3895
  let N;
3896
3896
  const ae = y(b, "ticks", "formatter");
3897
3897
  if (v) {
3898
- const B = ut(
3898
+ const B = pt(
3899
3899
  W.tickValues(),
3900
3900
  y(s, "timeScale", "timeInterval")
3901
3901
  );
3902
- ae === null ? N = (j, q) => pt(j, q, W.tickValues(), B, M) : N = (j, q) => {
3903
- const J = pt(
3902
+ ae === null ? N = (j, q) => gt(j, q, W.tickValues(), B, w) : N = (j, q) => {
3903
+ const J = gt(
3904
3904
  j,
3905
3905
  q,
3906
3906
  W.tickValues(),
3907
3907
  B,
3908
- M
3908
+ w
3909
3909
  );
3910
3910
  return ae(j, q, J);
3911
3911
  };
@@ -3922,7 +3922,7 @@ class Ys extends z {
3922
3922
  const j = B.getTime();
3923
3923
  return j >= new Date(tt).getTime() && j <= new Date(st).getTime();
3924
3924
  });
3925
- else if (w === te.LABELS) {
3925
+ else if (M === te.LABELS) {
3926
3926
  const B = this.services.cartesianScales.getScaleByPosition(t).domain();
3927
3927
  _e = k.filter((j) => B.includes(j));
3928
3928
  } else
@@ -3945,10 +3945,10 @@ class Ys extends z {
3945
3945
  g.attr("transform", `translate(0, ${this.margins.top})`);
3946
3946
  break;
3947
3947
  }
3948
- const Gt = this.model.isDataEmpty();
3948
+ const Nt = this.model.isDataEmpty();
3949
3949
  if (b.title) {
3950
3950
  const B = E.appendOrSelect(l, "text.axis-title").html(
3951
- Gt || L ? "" : b.title
3951
+ Nt || L ? "" : b.title
3952
3952
  ), j = y(b, "titleOrientation");
3953
3953
  let q;
3954
3954
  switch (t) {
@@ -3975,10 +3975,10 @@ class Ys extends z {
3975
3975
  }
3976
3976
  }
3977
3977
  if (v) {
3978
- const B = ut(
3978
+ const B = pt(
3979
3979
  W.tickValues(),
3980
3980
  y(s, "timeScale", "timeInterval")
3981
- ), j = M.showDayName, q = g;
3981
+ ), j = w.showDayName, q = g;
3982
3982
  e && (g = g.transition().call(
3983
3983
  (oe) => this.services.transitions.setupTransition({
3984
3984
  transition: oe,
@@ -3997,11 +3997,11 @@ class Ys extends z {
3997
3997
  if (m.call(W), t === V.BOTTOM || t === V.TOP) {
3998
3998
  let B = !1;
3999
3999
  const j = y(b, "ticks", "rotation");
4000
- if (j === nt.ALWAYS)
4000
+ if (j === at.ALWAYS)
4001
4001
  B = !0;
4002
- else if (j === nt.NEVER)
4002
+ else if (j === at.NEVER)
4003
4003
  B = !1;
4004
- else if (!j || j === nt.AUTO)
4004
+ else if (!j || j === at.AUTO)
4005
4005
  if (p.step)
4006
4006
  B = m.selectAll("g.tick text").nodes().some(
4007
4007
  (J) => E.getSVGElementSize(J, {
@@ -4023,7 +4023,7 @@ class Ys extends z {
4023
4023
  this.getNumberOfFittingTicks(i, X, ke.ticks.horizontalSpaceRatio)
4024
4024
  ), m.call(W), g.call(W)), l.selectAll("g.ticks g.tick text").attr("transform", "rotate(-45)").attr("text-anchor", t === V.TOP ? "start" : "end")) : l.selectAll("g.ticks g.tick text").attr("transform", null).attr("text-anchor", null);
4025
4025
  }
4026
- if (L ? l.attr("opacity", 0) : l.attr("opacity", 1), g.selectAll("g.tick").attr("aria-label", (B) => B), m.selectAll("g.tick").attr("aria-label", (B) => B), I !== Ie.NONE && w === te.LABELS && !k) {
4026
+ if (L ? l.attr("opacity", 0) : l.attr("opacity", 1), g.selectAll("g.tick").attr("aria-label", (B) => B), m.selectAll("g.tick").attr("aria-label", (B) => B), I !== Ie.NONE && M === te.LABELS && !k) {
4027
4027
  const B = this.services.cartesianScales.getScaleDomain(t);
4028
4028
  if (B.length > 0) {
4029
4029
  const j = a.select(`g.axis.${t} g.ticks g.tick`).html();
@@ -4368,7 +4368,7 @@ class yc extends z {
4368
4368
  (A) => this.services.cartesianScales.getDomainValue(A),
4369
4369
  (A) => this.services.cartesianScales.getRangeValue(A),
4370
4370
  m
4371
- ), T = Math.floor((b ? h : u) / a.length), w = Math.min(T / 2, 16), L = this.model.getBoxplotData(), O = t.selectAll(".box-group").data(L);
4371
+ ), T = Math.floor((b ? h : u) / a.length), M = Math.min(T / 2, 16), L = this.model.getBoxplotData(), O = t.selectAll(".box-group").data(L);
4372
4372
  O.exit().remove();
4373
4373
  const k = O.enter().append("g").attr("class", "box-group"), I = O.merge(k);
4374
4374
  k.append("path").merge(O.select("path.vertical-line.start")).attr(
@@ -4384,8 +4384,8 @@ class yc extends z {
4384
4384
  animate: e
4385
4385
  })
4386
4386
  ).attr("d", (A) => {
4387
- const M = g.getDomainValue(A[n]), G = M, D = g.getRangeValue(A.whiskers.min), X = g.getRangeValue(A.quartiles.q_25);
4388
- return ie({ x0: M, x1: G, y0: D, y1: X }, m);
4387
+ const w = g.getDomainValue(A[n]), G = w, D = g.getRangeValue(A.whiskers.min), X = g.getRangeValue(A.quartiles.q_25);
4388
+ return ie({ x0: w, x1: G, y0: D, y1: X }, m);
4389
4389
  }), k.append("path").merge(O.select("path.vertical-line.end")).attr(
4390
4390
  "class",
4391
4391
  () => this.model.getColorClassName({
@@ -4399,8 +4399,8 @@ class yc extends z {
4399
4399
  animate: e
4400
4400
  })
4401
4401
  ).attr("d", (A) => {
4402
- const M = g.getDomainValue(A[n]), G = M, D = g.getRangeValue(A.whiskers.max), X = g.getRangeValue(A.quartiles.q_75);
4403
- return ie({ x0: M, x1: G, y0: D, y1: X }, m);
4402
+ const w = g.getDomainValue(A[n]), G = w, D = g.getRangeValue(A.whiskers.max), X = g.getRangeValue(A.quartiles.q_75);
4403
+ return ie({ x0: w, x1: G, y0: D, y1: X }, m);
4404
4404
  }), k.append("path").merge(O.select("path.box")).attr(
4405
4405
  "class",
4406
4406
  () => this.model.getColorClassName({
@@ -4414,15 +4414,15 @@ class yc extends z {
4414
4414
  animate: e
4415
4415
  })
4416
4416
  ).attr("d", (A) => {
4417
- const M = g.getDomainValue(A[n]) - w / 2, G = M + w, D = g.getRangeValue(
4417
+ const w = g.getDomainValue(A[n]) - M / 2, G = w + M, D = g.getRangeValue(
4418
4418
  Math[b ? "max" : "min"](A.quartiles.q_75, A.quartiles.q_25)
4419
4419
  ), X = D + Math.abs(
4420
4420
  g.getRangeValue(A.quartiles.q_75) - g.getRangeValue(A.quartiles.q_25)
4421
4421
  );
4422
- return ie({ x0: M, x1: G, y0: D, y1: X }, m);
4422
+ return ie({ x0: w, x1: G, y0: D, y1: X }, m);
4423
4423
  }), k.append("path").merge(O.select("path.highlight-area")).attr("class", "highlight-area").attr("opacity", 0).attr("d", (A) => {
4424
- const M = g.getDomainValue(A[n]) - w / 2, G = M + w, D = g.getRangeValue(A.whiskers.min), X = g.getRangeValue(A.whiskers.max);
4425
- return ie({ x0: M, x1: G, y0: D, y1: X }, m);
4424
+ const w = g.getDomainValue(A[n]) - M / 2, G = w + M, D = g.getRangeValue(A.whiskers.min), X = g.getRangeValue(A.whiskers.max);
4425
+ return ie({ x0: w, x1: G, y0: D, y1: X }, m);
4426
4426
  }), k.append("path").merge(O.select("path.whisker.start")).attr(
4427
4427
  "class",
4428
4428
  () => this.model.getColorClassName({
@@ -4436,8 +4436,8 @@ class yc extends z {
4436
4436
  animate: e
4437
4437
  })
4438
4438
  ).attr("d", (A) => {
4439
- const M = g.getDomainValue(A[n]) - w / 4, G = M + w / 2, D = g.getRangeValue(A.whiskers.min), X = g.getRangeValue(A.whiskers.min);
4440
- return ie({ x0: M, x1: G, y0: D, y1: X }, m);
4439
+ const w = g.getDomainValue(A[n]) - M / 4, G = w + M / 2, D = g.getRangeValue(A.whiskers.min), X = g.getRangeValue(A.whiskers.min);
4440
+ return ie({ x0: w, x1: G, y0: D, y1: X }, m);
4441
4441
  }), k.append("path").merge(O.select("path.median")).attr("fill", "none").attr(
4442
4442
  "class",
4443
4443
  () => this.model.getColorClassName({
@@ -4451,8 +4451,8 @@ class yc extends z {
4451
4451
  animate: e
4452
4452
  })
4453
4453
  ).attr("d", (A) => {
4454
- const M = g.getDomainValue(A[n]) - w / 2, G = M + w, D = g.getRangeValue(A.quartiles.q_50);
4455
- return ie({ x0: M, x1: G, y0: D, y1: D }, m);
4454
+ const w = g.getDomainValue(A[n]) - M / 2, G = w + M, D = g.getRangeValue(A.quartiles.q_50);
4455
+ return ie({ x0: w, x1: G, y0: D, y1: D }, m);
4456
4456
  }), k.append("path").merge(O.select("path.whisker.end")).attr(
4457
4457
  "class",
4458
4458
  () => this.model.getColorClassName({
@@ -4466,15 +4466,15 @@ class yc extends z {
4466
4466
  animate: e
4467
4467
  })
4468
4468
  ).attr("d", (A) => {
4469
- const M = g.getDomainValue(A[n]) - w / 4, G = M + w / 2, D = g.getRangeValue(A.whiskers.max), X = g.getRangeValue(A.whiskers.max);
4470
- return ie({ x0: M, x1: G, y0: D, y1: X }, m);
4469
+ const w = g.getDomainValue(A[n]) - M / 4, G = w + M / 2, D = g.getRangeValue(A.whiskers.max), X = g.getRangeValue(A.whiskers.max);
4470
+ return ie({ x0: w, x1: G, y0: D, y1: X }, m);
4471
4471
  });
4472
4472
  const F = I.selectAll("circle.outlier").data(
4473
- (A) => A.outliers.map((M) => ({
4473
+ (A) => A.outliers.map((w) => ({
4474
4474
  min: A.whiskers.min,
4475
4475
  max: A.whiskers.max,
4476
4476
  [n]: A[n],
4477
- value: M
4477
+ value: w
4478
4478
  }))
4479
4479
  );
4480
4480
  F.exit().remove();
@@ -4649,7 +4649,7 @@ class bc extends z {
4649
4649
  ).attr("y1", p.y0).attr("y2", p.y1).attr("x1", p.x0).attr("x2", p.x1);
4650
4650
  }
4651
4651
  }
4652
- class Ec extends Vt {
4652
+ class Ec extends Bt {
4653
4653
  constructor() {
4654
4654
  super(...arguments), this.type = "bubble", this.renderType = H.SVG;
4655
4655
  }
@@ -4724,11 +4724,11 @@ class Sc extends z {
4724
4724
  const t = this.getOptions(), { groupMapsTo: s } = t.data, n = this.getComponentContainer({ withinChartClip: !0 }), a = this.model.getDisplayData(this.configs.groups), i = this.services.cartesianScales.getRangeScale(), r = this.services.cartesianScales.getRangeIdentifier(), [l, c] = i.range(), [, d] = i.domain(), p = () => {
4725
4725
  const m = [];
4726
4726
  a.forEach((S) => {
4727
- S.ranges ? S.ranges.forEach((T, w) => {
4727
+ S.ranges ? S.ranges.forEach((T, M) => {
4728
4728
  T != null && T < d && m.push({
4729
4729
  datum: S,
4730
4730
  value: T,
4731
- order: w + 1
4731
+ order: M + 1
4732
4732
  });
4733
4733
  }) : m.push({
4734
4734
  datum: S,
@@ -4743,9 +4743,9 @@ class Sc extends z {
4743
4743
  animate: e
4744
4744
  })
4745
4745
  ).attr("d", (S) => {
4746
- let w, L, O, k;
4747
- return S.order === 1 ? (w = this.services.cartesianScales.getDomainValue(S.datum) - 16 / 2, L = w + 16, O = c - 2, k = l + 1) : (w = this.services.cartesianScales.getDomainValue(S.datum) - 16 / 2, L = w + 16, O = this.services.cartesianScales.getRangeValue(S.value), k = c), ie(
4748
- { x0: w, x1: L, y0: O, y1: k },
4746
+ let M, L, O, k;
4747
+ return S.order === 1 ? (M = this.services.cartesianScales.getDomainValue(S.datum) - 16 / 2, L = M + 16, O = c - 2, k = l + 1) : (M = this.services.cartesianScales.getDomainValue(S.datum) - 16 / 2, L = M + 16, O = this.services.cartesianScales.getRangeValue(S.value), k = c), ie(
4748
+ { x0: M, x1: L, y0: O, y1: k },
4749
4749
  this.services.cartesianScales.getOrientation()
4750
4750
  );
4751
4751
  }).attr("opacity", 1);
@@ -4765,9 +4765,9 @@ class Sc extends z {
4765
4765
  originalClassName: "bar"
4766
4766
  })
4767
4767
  ).style("fill", (v) => this.model.getFillColor(v[s])).attr("d", (v) => {
4768
- const T = this.services.cartesianScales.getDomainValue(v) - 4, w = T + 8, L = this.services.cartesianScales.getRangeValue(0) + 1, O = this.services.cartesianScales.getRangeValue(v);
4768
+ const T = this.services.cartesianScales.getDomainValue(v) - 4, M = T + 8, L = this.services.cartesianScales.getRangeValue(0) + 1, O = this.services.cartesianScales.getRangeValue(v);
4769
4769
  return ie(
4770
- { x0: T, x1: w, y0: L, y1: O },
4770
+ { x0: T, x1: M, y0: L, y1: O },
4771
4771
  this.services.cartesianScales.getOrientation()
4772
4772
  );
4773
4773
  }).attr("opacity", 1).attr("role", U.GRAPHICS_SYMBOL).attr("aria-roledescription", "bar").attr("aria-label", (v) => v.value);
@@ -4783,20 +4783,20 @@ class Sc extends z {
4783
4783
  animate: e
4784
4784
  })
4785
4785
  ).attr("d", (v) => {
4786
- const T = this.services.cartesianScales.getDomainValue(v) - 12, w = T + 24, L = this.services.cartesianScales.getRangeValue(v.marker);
4786
+ const T = this.services.cartesianScales.getDomainValue(v) - 12, M = T + 24, L = this.services.cartesianScales.getRangeValue(v.marker);
4787
4787
  return ie(
4788
- { x0: T, x1: w, y0: L, y1: L },
4788
+ { x0: T, x1: M, y0: L, y1: L },
4789
4789
  this.services.cartesianScales.getOrientation()
4790
4790
  );
4791
4791
  }).attr("opacity", 1);
4792
4792
  }, g = () => {
4793
4793
  let m = [];
4794
4794
  a.filter((S) => y(S, "marker") !== null).forEach((S) => {
4795
- const T = S.marker, w = S[r];
4795
+ const T = S.marker, M = S[r];
4796
4796
  m = m.concat([
4797
- { datum: S, value: T * 0.25, barValue: w },
4798
- { datum: S, value: T * 0.5, barValue: w },
4799
- { datum: S, value: T * 0.75, barValue: w }
4797
+ { datum: S, value: T * 0.25, barValue: M },
4798
+ { datum: S, value: T * 0.5, barValue: M },
4799
+ { datum: S, value: T * 0.75, barValue: M }
4800
4800
  ]);
4801
4801
  });
4802
4802
  const b = E.appendOrSelect(n, "g.quartiles").selectAll("path.quartile").data(m, (S) => S[s]);
@@ -4807,9 +4807,9 @@ class Sc extends z {
4807
4807
  animate: e
4808
4808
  })
4809
4809
  ).attr("d", ({ datum: S, value: T }) => {
4810
- let w = 4;
4811
- S.ranges && S.ranges.indexOf(T) !== -1 && (w = 8);
4812
- const L = this.services.cartesianScales.getDomainValue(S) - w / 2, O = L + w, k = this.services.cartesianScales.getRangeValue(T);
4810
+ let M = 4;
4811
+ S.ranges && S.ranges.indexOf(T) !== -1 && (M = 8);
4812
+ const L = this.services.cartesianScales.getDomainValue(S) - M / 2, O = L + M, k = this.services.cartesianScales.getRangeValue(T);
4813
4813
  return ie(
4814
4814
  { x0: L, x1: O, y0: k, y1: k },
4815
4815
  this.services.cartesianScales.getOrientation()
@@ -4914,10 +4914,10 @@ function ur(o, e) {
4914
4914
  }) } : ds(o, e);
4915
4915
  }
4916
4916
  function ds(o, e) {
4917
- var t = e.id, s = e.bbox, n = e.properties == null ? {} : e.properties, a = Bt(o, e);
4917
+ var t = e.id, s = e.bbox, n = e.properties == null ? {} : e.properties, a = $t(o, e);
4918
4918
  return t == null && s == null ? { type: "Feature", properties: n, geometry: a } : s == null ? { type: "Feature", id: t, properties: n, geometry: a } : { type: "Feature", id: t, bbox: s, properties: n, geometry: a };
4919
4919
  }
4920
- function Bt(o, e) {
4920
+ function $t(o, e) {
4921
4921
  var t = dr(o.transform), s = o.arcs;
4922
4922
  function n(d, p) {
4923
4923
  p.length && p.pop();
@@ -5019,7 +5019,7 @@ function gr(o) {
5019
5019
  return Math.abs(a);
5020
5020
  }
5021
5021
  function mr(o) {
5022
- return Bt(o, fr.apply(this, arguments));
5022
+ return $t(o, fr.apply(this, arguments));
5023
5023
  }
5024
5024
  function fr(o, e) {
5025
5025
  var t = {}, s = [], n = [];
@@ -5045,7 +5045,7 @@ function fr(o, e) {
5045
5045
  }), s.push(l);
5046
5046
  }
5047
5047
  function r(l) {
5048
- return gr(Bt(o, { type: "Polygon", arcs: [l] }).coordinates[0]);
5048
+ return gr($t(o, { type: "Polygon", arcs: [l] }).coordinates[0]);
5049
5049
  }
5050
5050
  return s.forEach(function(l) {
5051
5051
  if (!l._) {
@@ -5096,7 +5096,7 @@ class xc extends Xs {
5096
5096
  });
5097
5097
  if (b.size() > 0) {
5098
5098
  this.elementsToHighlight && this.elementsToHighlight.size() > 0 && !Gs(this.elementsToHighlight, b) && this.hideRuler(), b.dispatch("mouseover"), this.elementsToHighlight = b;
5099
- const v = x(b.nodes()[0]).datum(), S = parseFloat(Q(v, "data.x0")), T = parseFloat(Q(v, "data.x1")), w = this.model.getActiveDataGroupNames(), L = w.reverse().map((k) => ({
5099
+ const v = x(b.nodes()[0]).datum(), S = parseFloat(Q(v, "data.x0")), T = parseFloat(Q(v, "data.x1")), M = this.model.getActiveDataGroupNames(), L = M.reverse().map((k) => ({
5100
5100
  label: k,
5101
5101
  value: Q(v, `data.${k}`),
5102
5102
  class: this.model.getColorClassName({
@@ -5117,7 +5117,7 @@ class xc extends Xs {
5117
5117
  ...y(a, "tooltip", "showTotal") === !0 ? [
5118
5118
  {
5119
5119
  label: Q(a, "tooltip.totalLabel") || "Total",
5120
- value: w.reduce(
5120
+ value: M.reduce(
5121
5121
  (I, F) => I + parseFloat(Q(v, `data.${F}`)),
5122
5122
  0
5123
5123
  )
@@ -5139,13 +5139,13 @@ class Oc extends Xs {
5139
5139
  }
5140
5140
  }
5141
5141
  const Tc = (o, e) => {
5142
- const t = o.x, s = o.y, n = e.x, a = e.y, i = Dt();
5142
+ const t = o.x, s = o.y, n = e.x, a = e.y, i = _t();
5143
5143
  return i.moveTo(t, s), i.lineTo(n, a), i.toString();
5144
5144
  }, Lc = (o, e, t = 0.5) => {
5145
- const s = o.x, n = o.y, a = e.x, i = e.y, r = Dt();
5145
+ const s = o.x, n = o.y, a = e.x, i = e.y, r = _t();
5146
5146
  return r.moveTo(s, n), r.lineTo(s + (a - s) * t, n), r.lineTo(s + (a - s) * t, i), r.lineTo(a, i), r.toString();
5147
5147
  }, wc = (o, e, t, s, n, a) => {
5148
- const i = o.x, r = o.y, l = e.x, c = e.y, d = Dt();
5148
+ const i = o.x, r = o.y, l = e.x, c = e.y, d = _t();
5149
5149
  return d.moveTo(i, r), d.bezierCurveTo(t, s, n, a, l, c), d.toString();
5150
5150
  }, Mc = {
5151
5151
  d: "M7 0v8L0 4z",
@@ -5235,15 +5235,15 @@ class Dc extends nr {
5235
5235
  else
5236
5236
  for (let I = 1; I < S + 1; I++)
5237
5237
  v.push(
5238
- i === at.LINEAR ? `stop-color-${b}-${r}-${I}` : `fill-${b}-${r}-${I}`
5238
+ i === it.LINEAR ? `stop-color-${b}-${r}-${I}` : `fill-${b}-${r}-${I}`
5239
5239
  );
5240
- const T = vs(p[0], p[1]), w = en(T, 3), L = Oe().domain(p).range([0, u]), O = Rt(L).tickSize(0).tickValues(w);
5240
+ const T = vs(p[0], p[1]), M = en(T, 3), L = Oe().domain(p).range([0, u]), O = Dt(L).tickSize(0).tickValues(M);
5241
5241
  let k;
5242
5242
  switch (i) {
5243
- case at.LINEAR:
5243
+ case it.LINEAR:
5244
5244
  this.drawLinear(v, g, u);
5245
5245
  break;
5246
- case at.QUANTIZE:
5246
+ case it.QUANTIZE:
5247
5247
  k = this.drawQuantize(
5248
5248
  v,
5249
5249
  b,
@@ -5271,7 +5271,7 @@ class Dc extends nr {
5271
5271
  */
5272
5272
  drawQuantize(e, t, s, n, a) {
5273
5273
  !s && t === "diverge" && e.splice(e.length / 2, 1);
5274
- const i = _t().domain(e).range([0, a]);
5274
+ const i = Pt().domain(e).range([0, a]);
5275
5275
  return E.appendOrSelect(n, "g.quantized-rect").selectAll("rect").data(i.domain()).join("rect").attr("x", (l) => i(l)).attr("y", 0).attr("width", Math.max(0, i.bandwidth() - 1)).attr("height", K.color.barHeight).attr("class", (l) => l).attr("fill", (l) => l), (!s && t) === "mono" ? i.bandwidth() - 1 : 0;
5276
5276
  }
5277
5277
  destroy() {
@@ -5374,16 +5374,16 @@ class _c extends sr {
5374
5374
  */
5375
5375
  getStatusIconPathString(e) {
5376
5376
  switch (e) {
5377
- case it.SUCCESS:
5377
+ case rt.SUCCESS:
5378
5378
  return "M6.875 11.3125 3.75 8.1875 4.74375 7.25 6.875 9.34375 11.50625 4.75 12.5 5.7375 Z";
5379
- case it.DANGER:
5379
+ case rt.DANGER:
5380
5380
  return "M10.7 11.5 4.5 5.3 5.3 4.5 11.5 10.7 Z";
5381
- case it.WARNING:
5381
+ case rt.WARNING:
5382
5382
  return "M7.9375,11.125 C7.41973305,11.125 7,11.544733 7,12.0625 C7,12.580267 7.41973305,13 7.9375,13 C8.45526695,13 8.875,12.580267 8.875,12.0625 C8.875,11.544733 8.45526695,11.125 7.9375,11.125 M7.3125, 3 8.5625, 3 8.5625, 9.875 7.3125, 9.875, 7.3125, 3 Z";
5383
5383
  }
5384
5384
  }
5385
5385
  }
5386
- class $t extends z {
5386
+ class Gt extends z {
5387
5387
  // Gets the correct width for bars based on options & configurations
5388
5388
  getBarWidth() {
5389
5389
  const e = this.getOptions();
@@ -5440,7 +5440,7 @@ class Pc extends z {
5440
5440
  let a = this.model.getDisplayData();
5441
5441
  const i = this.model.hasParentNode(), r = this.model.getHierarchyLevel(), l = this.getOptions(), c = y(l, "canvasZoom", "enabled");
5442
5442
  i && y(a, 0, "children") && (a = y(a, 0, "children"));
5443
- const d = Pt({ children: a }).sum((m) => m.value).sort((m, b) => b.value - m.value), h = tn().size([s, n]).padding((m) => m.depth >= 1 ? Pe.padding.children + 3 : Pe.padding.mainGroup + 3)(d).descendants().splice(1).filter((m) => m.depth <= r), u = t.selectAll("circle.node").data(h);
5443
+ const d = Vt({ children: a }).sum((m) => m.value).sort((m, b) => b.value - m.value), h = tn().size([s, n]).padding((m) => m.depth >= 1 ? Pe.padding.children + 3 : Pe.padding.mainGroup + 3)(d).descendants().splice(1).filter((m) => m.depth <= r), u = t.selectAll("circle.node").data(h);
5444
5444
  u.exit().attr("width", 0).attr("height", 0).remove();
5445
5445
  const g = u.enter().append("circle").classed("node", !0);
5446
5446
  g.merge(u).attr("class", (m) => {
@@ -5618,49 +5618,57 @@ class yr extends z {
5618
5618
  return Z.innerRadius;
5619
5619
  }
5620
5620
  render(e = !0) {
5621
- const t = this, s = this.getComponentContainer(), n = this.getOptions(), { groupMapsTo: a } = n.data, { valueMapsTo: i } = n.pie, r = this.model.getDisplayData().filter((M) => M[i] > 0), l = this.computeRadius();
5621
+ const t = this, s = this.getComponentContainer(), n = this.getOptions(), { groupMapsTo: a } = n.data, { valueMapsTo: i } = n.pie, r = this.model.getDisplayData().filter((w) => w[i] > 0), l = this.computeRadius();
5622
5622
  this.arc = $e().innerRadius(this.getInnerRadius()).outerRadius(l), this.hoverArc = $e().innerRadius(this.getInnerRadius()).outerRadius(l + Z.hoverArc.outerRadiusOffset);
5623
- const d = sn().value((M) => M[i]).sort(y(n, "pie", "sortFunction")).padAngle(Z.padAngle)(r), h = E.appendOrSelect(s, "g.slices").attr("role", U.GROUP).attr("data-name", "slices").selectAll("path.slice").data(d, (M) => M.data[a]);
5623
+ const d = sn().value((w) => w[i]).sort(y(n, "pie", "sortFunction")).padAngle(Z.padAngle)(r), h = E.appendOrSelect(s, "g.slices").attr("role", U.GROUP).attr("data-name", "slices").selectAll("path.slice").data(d, (w) => w.data[a]);
5624
5624
  h.exit().attr("opacity", 0).remove(), h.enter().append("path").classed("slice", !0).attr("opacity", 0).merge(h).attr(
5625
5625
  "class",
5626
- (M) => this.model.getColorClassName({
5626
+ (w) => this.model.getColorClassName({
5627
5627
  classNameTypes: [$.FILL],
5628
- dataGroupName: M.data[a],
5628
+ dataGroupName: w.data[a],
5629
5629
  originalClassName: "slice"
5630
5630
  })
5631
- ).style("fill", (M) => t.model.getFillColor(M.data[a])).attr("d", this.arc).transition().call(
5632
- (M) => this.services.transitions.setupTransition({
5633
- transition: M,
5631
+ ).style("fill", (w) => t.model.getFillColor(w.data[a])).attr("d", this.arc).transition().call(
5632
+ (w) => this.services.transitions.setupTransition({
5633
+ transition: w,
5634
5634
  name: "pie_slice_enter_update",
5635
5635
  animate: e
5636
5636
  })
5637
5637
  ).attr("opacity", 1).attr("role", U.GRAPHICS_SYMBOL).attr("aria-roledescription", "slice").attr(
5638
5638
  "aria-label",
5639
- (M) => `${M[i]}, ${zt(M.data[i], r, i) + "%"}`
5640
- ).attrTween("d", function(M) {
5641
- return vr.bind(this)(M, t.arc);
5639
+ (w) => `${w[i]}, ${nt(w.data[i], r, i) + "%"}`
5640
+ ).attrTween("d", function(w) {
5641
+ return vr.bind(this)(w, t.arc);
5642
5642
  });
5643
- const m = n.pie.labels.enabled, b = m ? d.filter((M) => M.data[i] > 0) : [], S = E.appendOrSelect(s, "g.labels").attr("role", U.GROUP).attr("data-name", "labels").selectAll("text.pie-label").data(b, (M) => M.data[a]);
5643
+ const m = n.pie.labels.enabled, b = m ? d.filter((w) => w.data[i] > 0) : [], S = E.appendOrSelect(s, "g.labels").attr("role", U.GROUP).attr("data-name", "labels").selectAll("text.pie-label").data(b, (w) => w.data[a]);
5644
5644
  S.exit().attr("opacity", 0).remove();
5645
- const T = S.enter().append("text").classed("pie-label", !0), w = [];
5646
- T.merge(S).style("text-anchor", "middle").text((M) => n.pie.labels.formatter ? n.pie.labels.formatter(M) : zt(M.data[i], r, i) + "%").datum(function(M) {
5647
- const G = l + 7, D = (M.endAngle - M.startAngle) / 2 + M.startAngle, X = D / Math.PI * 180, re = this.getComputedTextLength();
5648
- return M.textOffsetX = re / 2, M.textOffsetY = X > 90 && X < 270 ? 10 : 0, M.xPosition = (M.textOffsetX + G) * Math.sin(D), M.yPosition = (M.textOffsetY + G) * -Math.cos(D), M;
5649
- }).attr("transform", function(M, G) {
5650
- const D = b.length, X = (M.endAngle - M.startAngle) * (180 / Math.PI);
5645
+ const T = S.enter().append("text").classed("pie-label", !0), M = [];
5646
+ T.merge(S).style("text-anchor", "middle").text((w) => n.pie.labels.formatter ? n.pie.labels.formatter({
5647
+ ...w,
5648
+ percentageValue: nt(
5649
+ w.data[i],
5650
+ r,
5651
+ i,
5652
+ !0
5653
+ )
5654
+ }) : nt(w.data[i], r, i) + "%").datum(function(w) {
5655
+ const G = l + 7, D = (w.endAngle - w.startAngle) / 2 + w.startAngle, X = D / Math.PI * 180, re = this.getComputedTextLength();
5656
+ return w.textOffsetX = re / 2, w.textOffsetY = X > 90 && X < 270 ? 10 : 0, w.xPosition = (w.textOffsetX + G) * Math.sin(D), w.yPosition = (w.textOffsetY + G) * -Math.cos(D), w;
5657
+ }).attr("transform", function(w, G) {
5658
+ const D = b.length, X = (w.endAngle - w.startAngle) * (180 / Math.PI);
5651
5659
  if (G >= D - 2 && X < Z.callout.minSliceDegree) {
5652
5660
  let re, W;
5653
- return M.index === D - 1 ? (re = M.xPosition + Z.callout.offsetX + Z.callout.textMargin + M.textOffsetX, W = M.yPosition - Z.callout.offsetY, M.direction = rt.RIGHT, w.push(M)) : (re = M.xPosition - Z.callout.offsetX - M.textOffsetX - Z.callout.textMargin, W = M.yPosition - Z.callout.offsetY, M.direction = rt.LEFT, w.push(M)), `translate(${re}, ${W})`;
5661
+ return w.index === D - 1 ? (re = w.xPosition + Z.callout.offsetX + Z.callout.textMargin + w.textOffsetX, W = w.yPosition - Z.callout.offsetY, w.direction = ot.RIGHT, M.push(w)) : (re = w.xPosition - Z.callout.offsetX - w.textOffsetX - Z.callout.textMargin, W = w.yPosition - Z.callout.offsetY, w.direction = ot.LEFT, M.push(w)), `translate(${re}, ${W})`;
5654
5662
  }
5655
- return `translate(${M.xPosition}, ${M.yPosition})`;
5656
- }), this.renderCallouts(w);
5663
+ return `translate(${w.xPosition}, ${w.yPosition})`;
5664
+ }), this.renderCallouts(M);
5657
5665
  const L = y(n, "donut") ? "donut" : "pie", O = y(n, L, "alignment"), { width: k } = E.getSVGElementSize(this.getParent(), {
5658
5666
  useAttrs: !0
5659
5667
  }), I = m ? Z.xOffset : 0, F = m ? Z.yOffset : 0;
5660
5668
  let P = l + I;
5661
5669
  O === ue.CENTER ? P = k / 2 : O === ue.RIGHT && (P = k - l - Z.xOffset);
5662
5670
  let A = l + F;
5663
- w.length > 0 && (A += Z.yOffsetCallout), s.attr("x", P + 7).attr("y", A), this.addEventListeners();
5671
+ M.length > 0 && (A += Z.yOffsetCallout), s.attr("x", P + 7).attr("y", A), this.addEventListeners();
5664
5672
  }
5665
5673
  renderCallouts(e) {
5666
5674
  const t = E.appendOrSelect(this.getComponentContainer(), "g.callouts").attr("role", U.GROUP).attr("data-name", "callouts"), s = t.selectAll("g.callout").data(e);
@@ -5668,7 +5676,7 @@ class yr extends z {
5668
5676
  const n = s.enter().append("g").classed("callout", !0).attr("role", U.GROUP).attr("aria-roledescription", "label callout");
5669
5677
  n.merge(s).datum(function(r) {
5670
5678
  const { xPosition: l, yPosition: c, direction: d } = r;
5671
- return d === rt.RIGHT ? (r.startPos = {
5679
+ return d === ot.RIGHT ? (r.startPos = {
5672
5680
  x: l,
5673
5681
  y: c + r.textOffsetY
5674
5682
  }, r.endPos = {
@@ -5865,10 +5873,10 @@ class Bc extends z {
5865
5873
  const { width: v } = E.getSVGElementSize(
5866
5874
  E.appendOrSelect(e, "text.gauge-value-number"),
5867
5875
  { useBBox: !0 }
5868
- ), S = u / 2, T = d ? "%" : "", w = E.appendOrSelect(g, "text.gauge-value-symbol").style("font-size", `${S}px`).attr("x", v / 2).text(T), { width: L, height: O } = E.getSVGElementSize(w, {
5876
+ ), S = u / 2, T = d ? "%" : "", M = E.appendOrSelect(g, "text.gauge-value-symbol").style("font-size", `${S}px`).attr("x", v / 2).text(T), { width: L, height: O } = E.getSVGElementSize(M, {
5869
5877
  useBBox: !0
5870
5878
  });
5871
- w.attr("y", `-${O / 2}px`), g.attr("transform", `translate(-${L / 2}, 0)`);
5879
+ M.attr("y", `-${O / 2}px`), g.attr("transform", `translate(-${L / 2}, 0)`);
5872
5880
  }
5873
5881
  /**
5874
5882
  * adds the delta number for the gauge
@@ -5938,7 +5946,7 @@ class Bc extends z {
5938
5946
  return t === ze.SEMI ? Math.min(s / 2, n) : Math.min(s / 2, n / 2);
5939
5947
  }
5940
5948
  }
5941
- class $c extends $t {
5949
+ class $c extends Gt {
5942
5950
  constructor() {
5943
5951
  super(...arguments), this.type = "grouped-bar", this.renderType = H.SVG, this.padding = 5, this.defaultStepFactor = 70, this.handleLegendOnHover = (e) => {
5944
5952
  const { hoveredElement: t } = e.detail, { groupMapsTo: s } = this.getOptions().data;
@@ -6000,8 +6008,8 @@ class $c extends $t {
6000
6008
  originalClassName: "bar"
6001
6009
  })
6002
6010
  ).style("fill", (h) => this.model.getFillColor(h[n])).attr("d", (h) => {
6003
- const u = this.groupScale(h[n]), g = this.getBarWidth(), m = u, b = u + g, v = this.services.cartesianScales.getRangeAxisPosition({ datum: h }), S = this.services.cartesianScales.getValueThroughAxisPosition(v, 0), T = this.services.cartesianScales.getRangeValue(h), w = this.services.cartesianScales.getDomainValue(h) - g / 2, L = w + g;
6004
- if (!this.isOutsideZoomedDomain(w, L))
6011
+ const u = this.groupScale(h[n]), g = this.getBarWidth(), m = u, b = u + g, v = this.services.cartesianScales.getRangeAxisPosition({ datum: h }), S = this.services.cartesianScales.getValueThroughAxisPosition(v, 0), T = this.services.cartesianScales.getRangeValue(h), M = this.services.cartesianScales.getDomainValue(h) - g / 2, L = M + g;
6012
+ if (!this.isOutsideZoomedDomain(M, L))
6005
6013
  return ie(
6006
6014
  { x0: m, x1: b, y0: S, y1: T },
6007
6015
  this.services.cartesianScales.getOrientation()
@@ -6098,7 +6106,7 @@ class $c extends $t {
6098
6106
  }
6099
6107
  setGroupScale() {
6100
6108
  const e = this.model.getActiveDataGroupNames(this.configs.groups);
6101
- this.groupScale = _t().domain(e).rangeRound([0, this.getGroupWidth()]);
6109
+ this.groupScale = Pt().domain(e).rangeRound([0, this.getGroupWidth()]);
6102
6110
  }
6103
6111
  }
6104
6112
  class Gc extends z {
@@ -6127,7 +6135,7 @@ class Gc extends z {
6127
6135
  }
6128
6136
  p += m, h = m < h ? m : h, u = m > u ? m : u;
6129
6137
  }
6130
- })), l(s) !== void 0 ? this.parent.select("g.multi-cell.column-highlight").classed("highlighter-hidden", !1).attr("transform", `translate(${l(s)}, ${ht(c.range())})`) : c(s) !== void 0 && this.parent.select("g.multi-cell.row-highlight").classed("highlighter-hidden", !1).attr("transform", `translate(${ht(l.range())},${c(s)})`), this.services.events.dispatchEvent(f.Tooltip.SHOW, {
6138
+ })), l(s) !== void 0 ? this.parent.select("g.multi-cell.column-highlight").classed("highlighter-hidden", !1).attr("transform", `translate(${l(s)}, ${ut(c.range())})`) : c(s) !== void 0 && this.parent.select("g.multi-cell.row-highlight").classed("highlighter-hidden", !1).attr("transform", `translate(${ut(l.range())},${c(s)})`), this.services.events.dispatchEvent(f.Tooltip.SHOW, {
6131
6139
  event: t.event,
6132
6140
  hoveredElement: x(e.detail.element),
6133
6141
  items: [
@@ -6206,7 +6214,7 @@ class Gc extends z {
6206
6214
  }
6207
6215
  determineDividerStatus() {
6208
6216
  const e = y(this.getOptions(), "heatmap", "divider", "state");
6209
- return e !== ot.OFF && (e === ot.AUTO && Ft.minCellDividerDimension <= this.xBandwidth && Ft.minCellDividerDimension <= this.yBandwidth || e === ot.ON);
6217
+ return e !== lt.OFF && (e === lt.AUTO && Ft.minCellDividerDimension <= this.xBandwidth && Ft.minCellDividerDimension <= this.yBandwidth || e === lt.ON);
6210
6218
  }
6211
6219
  addEventListener() {
6212
6220
  const e = this, { cartesianScales: t } = this.services, s = this.getOptions(), n = Q(s, "tooltip.totalLabel"), a = t.getDomainIdentifier(), i = t.getRangeIdentifier(), r = t.getDomainLabel(), l = t.getRangeLabel();
@@ -6367,7 +6375,7 @@ class Nc extends z {
6367
6375
  e.removeEventListener(f.Legend.ITEM_HOVER, this.handleLegendOnHover), e.removeEventListener(f.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
6368
6376
  }
6369
6377
  }
6370
- class Hc extends Vt {
6378
+ class Hc extends Bt {
6371
6379
  constructor() {
6372
6380
  super(...arguments), this.type = "lollipop", this.renderType = H.SVG, this.handleScatterOnHover = (e) => {
6373
6381
  const t = e.detail, s = this.getOptions(), { groupMapsTo: n } = s.data;
@@ -6603,17 +6611,17 @@ class zc extends z {
6603
6611
  const S = 2 * (this.getLabelDimensions(this.uniqueKeys[0]).height + u), L = (Math.min(s, n) - S) / 2;
6604
6612
  if (L <= 0)
6605
6613
  return;
6606
- const O = _t().domain(this.fullDataNormalized.map((C) => C[d])).range([0, 2 * Math.PI].map((C) => C - Math.PI / 2)), k = ht(this.fullDataNormalized.map((C) => C[p])), I = Oe().domain([
6614
+ const O = Pt().domain(this.fullDataNormalized.map((C) => C[d])).range([0, 2 * Math.PI].map((C) => C - Math.PI / 2)), k = ut(this.fullDataNormalized.map((C) => C[p])), I = Oe().domain([
6607
6615
  k >= 0 ? 0 : k,
6608
- Nt(this.fullDataNormalized.map((C) => C[p]))
6609
- ]).range([m, L]).nice(g), F = I.ticks(g), P = (C) => this.model.getFillColor(C), A = rn().angle((C) => O(C[d]) + Math.PI / 2).radius((C) => I(C[p])).curve(on), M = this.uniqueKeys.map((C) => {
6616
+ Ht(this.fullDataNormalized.map((C) => C[p]))
6617
+ ]).range([m, L]).nice(g), F = I.ticks(g), P = (C) => this.model.getFillColor(C), A = rn().angle((C) => O(C[d]) + Math.PI / 2).radius((C) => I(C[p])).curve(on), w = this.uniqueKeys.map((C) => {
6610
6618
  const R = this.getLabelDimensions(C).width, _ = Vn(
6611
6619
  O(C),
6612
6620
  L
6613
6621
  );
6614
6622
  return R + _;
6615
6623
  }), D = {
6616
- x: Nt(M) + h,
6624
+ x: Ht(w) + h,
6617
6625
  y: n / 2
6618
6626
  }, re = E.appendOrSelect(t, "g.y-axes").attr("role", U.GROUP).selectAll("path").data(F, (C) => C), W = (C) => this.uniqueKeys.map((R) => ({ [d]: R, [p]: C }));
6619
6627
  re.join(
@@ -6890,7 +6898,7 @@ class zc extends z {
6890
6898
  });
6891
6899
  }
6892
6900
  }
6893
- class Fc extends $t {
6901
+ class Fc extends Gt {
6894
6902
  constructor() {
6895
6903
  super(...arguments), this.type = "simple-bar", this.renderType = H.SVG, this.handleLegendOnHover = (e) => {
6896
6904
  const { hoveredElement: t } = e.detail, { groupMapsTo: s } = this.getOptions().data;
@@ -7040,7 +7048,7 @@ class jc extends z {
7040
7048
  percentage: i,
7041
7049
  groups: this.configs.groups
7042
7050
  }), l = y(r, 0, 0), c = this.services.cartesianScales.getDomainAxisPosition({ datum: l }), d = this.services.cartesianScales.getRangeAxisPosition({ datum: l }), p = this.services.cartesianScales.getScaleByPosition(d), h = t.selectAll("path.area").data(r, (g) => y(g, 0, a));
7043
- this.areaGenerator = kt().x(
7051
+ this.areaGenerator = It().x(
7044
7052
  (g) => this.services.cartesianScales.getValueThroughAxisPosition(
7045
7053
  c,
7046
7054
  g.data.sharedStackKey
@@ -7061,7 +7069,7 @@ class jc extends z {
7061
7069
  ).attr("opacity", fe.opacity.selected).attr("d", this.areaGenerator);
7062
7070
  }
7063
7071
  }
7064
- class Zc extends $t {
7072
+ class Zc extends Gt {
7065
7073
  constructor() {
7066
7074
  super(...arguments), this.type = "stacked-bar", this.renderType = H.SVG, this.handleLegendOnHover = (e) => {
7067
7075
  const { hoveredElement: t } = e.detail, { groupMapsTo: s } = this.model.getOptions().data;
@@ -7189,7 +7197,7 @@ class Zc extends $t {
7189
7197
  e.removeEventListener(f.Legend.ITEM_HOVER, this.handleLegendOnHover), e.removeEventListener(f.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
7190
7198
  }
7191
7199
  }
7192
- class Xc extends Vt {
7200
+ class Xc extends Bt {
7193
7201
  constructor() {
7194
7202
  super(...arguments), this.type = "scatter-stacked", this.renderType = H.SVG;
7195
7203
  }
@@ -7271,7 +7279,7 @@ class Yc extends z {
7271
7279
  right: 0,
7272
7280
  bottom: 0,
7273
7281
  left: l > 0 ? l + Ae : 30 - Ae
7274
- }, h = Pt({
7282
+ }, h = Vt({
7275
7283
  name: r,
7276
7284
  children: i
7277
7285
  }), u = 10, g = s / 6, m = (O) => {
@@ -7280,7 +7288,7 @@ class Yc extends z {
7280
7288
  h.eachBefore((N) => {
7281
7289
  N.x < F.x && (F = N), N.x > P.x && (P = N);
7282
7290
  });
7283
- const A = P.x - F.x, M = t.transition().call(
7291
+ const A = P.x - F.x, w = t.transition().call(
7284
7292
  (N) => this.services.transitions.setupTransition({
7285
7293
  transition: N,
7286
7294
  name: "tree-update-viewbox",
@@ -7308,12 +7316,12 @@ class Yc extends z {
7308
7316
  datum: ae
7309
7317
  });
7310
7318
  });
7311
- X.append("circle").attr("r", 2.5).attr("class", (N) => N._children ? "parent" : "child").attr("stroke-width", 10), X.append("text").attr("dy", "0.31em").attr("x", (N) => N._children ? -Ae : Ae).attr("text-anchor", (N) => N._children ? "end" : "start").text((N) => N.data.name).clone(!0).attr("class", "text-stroke").lower(), G.merge(X).transition(M).attr("transform", (N) => `translate(${N.y},${N.x})`).attr("fill-opacity", 1).attr("stroke-opacity", 1), G.exit().transition(M).remove().attr("transform", () => `translate(${O.y},${O.x})`).attr("fill-opacity", 0).attr("stroke-opacity", 0);
7312
- const re = w.selectAll("path").data(I, (N) => N.target.id), W = re.enter().append("path").attr("d", () => {
7319
+ X.append("circle").attr("r", 2.5).attr("class", (N) => N._children ? "parent" : "child").attr("stroke-width", 10), X.append("text").attr("dy", "0.31em").attr("x", (N) => N._children ? -Ae : Ae).attr("text-anchor", (N) => N._children ? "end" : "start").text((N) => N.data.name).clone(!0).attr("class", "text-stroke").lower(), G.merge(X).transition(w).attr("transform", (N) => `translate(${N.y},${N.x})`).attr("fill-opacity", 1).attr("stroke-opacity", 1), G.exit().transition(w).remove().attr("transform", () => `translate(${O.y},${O.x})`).attr("fill-opacity", 0).attr("stroke-opacity", 0);
7320
+ const re = M.selectAll("path").data(I, (N) => N.target.id), W = re.enter().append("path").attr("d", () => {
7313
7321
  const N = { x: O.x0, y: O.y0 };
7314
7322
  return T({ source: N, target: N });
7315
7323
  });
7316
- re.merge(W).transition(M).attr("d", T), re.exit().transition(M).remove().attr("d", () => {
7324
+ re.merge(W).transition(w).attr("d", T), re.exit().transition(w).remove().attr("d", () => {
7317
7325
  const N = { x: O.x, y: O.y };
7318
7326
  return T({ source: N, target: N });
7319
7327
  }), h.eachBefore((N) => {
@@ -7329,7 +7337,7 @@ class Yc extends z {
7329
7337
  h.x0 = g / 2, h.y0 = 0, h.descendants().forEach((O, k) => {
7330
7338
  O.id = k, O._children = O.children;
7331
7339
  }), S(h), t.attr("viewBox", [-p.left, -p.top, s, u]).style("user-select", "none");
7332
- const w = t.append("g").attr("class", "links"), L = t.append("g").attr("class", "nodes");
7340
+ const M = t.append("g").attr("class", "links"), L = t.append("g").attr("class", "nodes");
7333
7341
  m(h);
7334
7342
  }
7335
7343
  }
@@ -7538,7 +7546,7 @@ class qc extends z {
7538
7546
  this.model.getData();
7539
7547
  const s = this.model.getDisplayData(), n = this.model.getOptions(), a = y(window, "location"), { width: i, height: r } = E.getSVGElementSize(t, {
7540
7548
  useAttrs: !0
7541
- }), l = Pt({
7549
+ }), l = Vt({
7542
7550
  name: n.title || "Treemap",
7543
7551
  children: s
7544
7552
  }).sum((m) => m.value).sort((m, b) => b.value - m.value), c = hn().size([i, r]).paddingInner(1).paddingOuter(0).round(!0)(
@@ -7762,7 +7770,7 @@ class Kc extends z {
7762
7770
  return Oe().domain(r).range(i ? t.wordCloud.fontSizeRange(a, e) : [4, 4]);
7763
7771
  }
7764
7772
  addEventListeners() {
7765
- const e = this.getOptions(), { groupMapsTo: t } = e.data, s = this, n = gt((a) => {
7773
+ const e = this.getOptions(), { groupMapsTo: t } = e.data, s = this, n = mt((a) => {
7766
7774
  const i = s.parent.selectAll("text.word").transition("wordcloud-word-mouse-highlight").call(
7767
7775
  (r) => s.services.transitions.setupTransition({
7768
7776
  transition: r,
@@ -7850,7 +7858,7 @@ class Xl extends z {
7850
7858
  const g = this.services.domUtils.generateElementIDString("geo-pattern-stripes"), m = E.appendOrSelect(e, "defs");
7851
7859
  E.appendOrSelect(m, "pattern").attr("id", g).attr("width", 5).attr("height", 10).attr("patternUnits", "userSpaceOnUse").attr("patternTransform", "rotate(45)").append("path").classed("pattern-fill", !0).attr(
7852
7860
  "d",
7853
- It()([
7861
+ Rt()([
7854
7862
  [0, 0],
7855
7863
  [0, 10]
7856
7864
  ])
@@ -7919,7 +7927,7 @@ class Jc extends Xl {
7919
7927
  event: s,
7920
7928
  element: a,
7921
7929
  datum: t[n.properties.NAME]
7922
- }), e.services.events.dispatchEvent(lt.SHOW, {
7930
+ }), e.services.events.dispatchEvent(ct.SHOW, {
7923
7931
  event: s,
7924
7932
  hoveredElement: a,
7925
7933
  items: [
@@ -7934,7 +7942,7 @@ class Jc extends Xl {
7934
7942
  event: s,
7935
7943
  element: x(this),
7936
7944
  datum: t[n.properties.NAME]
7937
- }), e.services.events.dispatchEvent(lt.MOVE, {
7945
+ }), e.services.events.dispatchEvent(ct.MOVE, {
7938
7946
  event: s
7939
7947
  });
7940
7948
  }).on("click", function(s, n) {
@@ -7949,7 +7957,7 @@ class Jc extends Xl {
7949
7957
  event: s,
7950
7958
  element: a,
7951
7959
  datum: t[n.properties.NAME]
7952
- }), e.services.events.dispatchEvent(lt.HIDE, {
7960
+ }), e.services.events.dispatchEvent(ct.HIDE, {
7953
7961
  event: s,
7954
7962
  hoveredElement: a
7955
7963
  });
@@ -7994,7 +8002,7 @@ export {
7994
8002
  Ic as a5,
7995
8003
  Rc as a6,
7996
8004
  Xl as a7,
7997
- $t as a8,
8005
+ Gt as a8,
7998
8006
  z as a9,
7999
8007
  ac as b,
8000
8008
  Da as c,
@@ -8006,7 +8014,7 @@ export {
8006
8014
  vc as i,
8007
8015
  fc as j,
8008
8016
  mc as k,
8009
- Vt as l,
8017
+ Bt as l,
8010
8018
  lr as m,
8011
8019
  bc as n,
8012
8020
  Ec as o,
@@ -8022,4 +8030,4 @@ export {
8022
8030
  Zc as y,
8023
8031
  Bc as z
8024
8032
  };
8025
- //# sourceMappingURL=choropleth-d4b2bac9.mjs.map
8033
+ //# sourceMappingURL=choropleth-75258a8a.mjs.map