@carbon/charts-vue 1.27.13 → 1.27.15

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.
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as p1, ref as Du, toRefs as f1, onMounted as m1, watch as ku } from "vue";
1
+ import { defineComponent as p1, ref as Lu, toRefs as f1, onMounted as m1, watch as ku } from "vue";
2
2
  var Bp = /* @__PURE__ */ ((e) => (e.RENDER_FINISHED = "render-finished", e.RESIZE = "chart-resize", e.MOUSEOVER = "chart-mouseover", e.MOUSEOUT = "chart-mouseout", e))(Bp || {}), Up = /* @__PURE__ */ ((e) => (e.SHOW = "show-modal", e.HIDE = "hide-modal", e))(Up || {}), Hp = /* @__PURE__ */ ((e) => (e.UPDATE = "model-update", e))(Hp || {}), Vp = /* @__PURE__ */ ((e) => (e.SHOW_OVERFLOW_MENU = "show-toolbar-overflow-menu", e.HIDE_OVERFLOW_MENU = "hide-toolbar-overflow-menu", e.BUTTON_CLICK = "toolbar-button-click", e.SHOW_TOOLTIP = "toolbar-show-tooltip", e.HIDE_TOOLTIP = "toolbar-hide-tooltip", e))(Vp || {}), Gp = /* @__PURE__ */ ((e) => (e.UPDATE = "zoom-bar-update", e.SELECTION_START = "zoom-bar-selection-start", e.SELECTION_IN_PROGRESS = "zoom-bar-selection-in-progress", e.SELECTION_END = "zoom-bar-selection-end", e))(Gp || {}), Fp = /* @__PURE__ */ ((e) => (e.CHANGE = "zoom-domain-change", e))(Fp || {}), zp = /* @__PURE__ */ ((e) => (e.CANVAS_ZOOM_IN = "canvas-zoom-in", e.CANVAS_ZOOM_OUT = "canvas-zoom-out", e))(zp || {}), jp = /* @__PURE__ */ ((e) => (e.LABEL_MOUSEOVER = "axis-label-mouseover", e.LABEL_MOUSEMOVE = "axis-label-mousemove", e.LABEL_CLICK = "axis-label-click", e.LABEL_MOUSEOUT = "axis-label-mouseout", e.LABEL_FOCUS = "axis-label-focus", e.LABEL_BLUR = "axis-label-blur", e.RENDER_COMPLETE = "axis-render-complete", e))(jp || {}), Wp = /* @__PURE__ */ ((e) => (e.POINT_MOUSEOVER = "scatter-mouseover", e.POINT_MOUSEMOVE = "scatter-mousemove", e.POINT_CLICK = "scatter-click", e.POINT_MOUSEOUT = "scatter-mouseout", e))(Wp || {}), qp = /* @__PURE__ */ ((e) => (e.WORD_MOUSEOVER = "wordcloud-word-mouseover", e.WORD_MOUSEMOVE = "wordcloud-word-mousemove", e.WORD_CLICK = "wordcloud-word-click", e.WORD_MOUSEOUT = "wordcloud-word-mouseout", e))(qp || {}), Yp = /* @__PURE__ */ ((e) => (e.SLICE_MOUSEOVER = "pie-slice-mouseover", e.SLICE_MOUSEMOVE = "pie-slice-mousemove", e.SLICE_CLICK = "pie-slice-click", e.SLICE_MOUSEOUT = "pie-slice-mouseout", e))(Yp || {}), Xp = /* @__PURE__ */ ((e) => (e.ARC_MOUSEOVER = "gauge-arc-mouseover", e.ARC_MOUSEMOVE = "gauge-arc-mousemove", e.ARC_CLICK = "gauge-arc-click", e.ARC_MOUSEOUT = "gauge-arc-mouseout", e))(Xp || {}), Zp = /* @__PURE__ */ ((e) => (e.BAR_MOUSEOVER = "bar-mouseover", e.BAR_MOUSEMOVE = "bar-mousemove", e.BAR_CLICK = "bar-click", e.BAR_MOUSEOUT = "bar-mouseout", e))(Zp || {}), Kp = /* @__PURE__ */ ((e) => (e.BOX_MOUSEOVER = "box-mouseover", e.BOX_MOUSEMOVE = "box-mousemove", e.BOX_CLICK = "box-click", e.BOX_MOUSEOUT = "box-mouseout", e.OUTLIER_MOUSEOVER = "outlier-mouseover", e.OUTLIER_MOUSEMOVE = "outlier-mousemove", e.OUTLIER_CLICK = "outlier-click", e.OUTLIER_MOUSEOUT = "outlier-mouseout", e))(Kp || {}), Qp = /* @__PURE__ */ ((e) => (e.SCATTER_MOUSEOVER = "scatter-mouseover", e.SCATTER_MOUSEMOVE = "scatter-mousemove", e.SCATTER_CLICK = "scatter-click", e.SCATTER_MOUSEOUT = "scatter-mouseout", e))(Qp || {}), Jp = /* @__PURE__ */ ((e) => (e.POINT_MOUSEOVER = "scatter-mouseover", e.POINT_MOUSEMOVE = "scatter-mousemove", e.POINT_CLICK = "scatter-click", e.POINT_MOUSEOUT = "scatter-mouseout", e))(Jp || {}), tf = /* @__PURE__ */ ((e) => (e.X_AXIS_MOUSEOVER = "radar-x-axis-mouseover", e.X_AXIS_MOUSEMOVE = "radar-x-axis-mousemove", e.X_AXIS_CLICK = "radar-x-axis-click", e.X_AXIS_MOUSEOUT = "radar-x-axis-mouseout", e))(tf || {}), ef = /* @__PURE__ */ ((e) => (e.NODE_MOUSEOVER = "tree-node-mouseover", e.NODE_CLICK = "tree-node-click", e.NODE_MOUSEOUT = "tree-node-mouseout", e))(ef || {}), nf = /* @__PURE__ */ ((e) => (e.LEAF_MOUSEOVER = "leaf-mouseover", e.LEAF_MOUSEMOVE = "leaf-mousemove", e.LEAF_CLICK = "leaf-click", e.LEAF_MOUSEOUT = "leaf-mouseout", e))(nf || {}), Hi = /* @__PURE__ */ ((e) => (e.SHOW = "show-tooltip", e.MOVE = "move-tooltip", e.HIDE = "hide-tooltip", e))(Hi || {}), rf = /* @__PURE__ */ ((e) => (e.SHOW = "show-threshold", e.HIDE = "hide-threshold", e))(rf || {}), sf = /* @__PURE__ */ ((e) => (e.ITEM_HOVER = "legend-item-onhover", e.ITEM_CLICK = "legend-item-onclick", e.ITEM_MOUSEOUT = "legend-item-onmouseout", e.ITEMS_UPDATE = "legend-items-update", e))(sf || {}), af = /* @__PURE__ */ ((e) => (e.CIRCLE_MOUSEOVER = "circle-leaf-mouseover", e.CIRCLE_CLICK = "circle-leaf-click", e.CIRCLE_MOUSEOUT = "circle-leaf-mouseout", e.CIRCLE_MOUSEMOVE = "circle-leaf-mousemove", e))(af || {}), of = /* @__PURE__ */ ((e) => (e.NODE_MOUSEOVER = "alluvial-node-mouseover", e.NODE_CLICK = "alluvial-node-click", e.NODE_MOUSEOUT = "alluvial-node-mouseout", e.NODE_MOUSEMOVE = "alluvial-node-mousemove", e.LINE_MOUSEOVER = "alluvial-line-mouseover", e.LINE_CLICK = "alluvial-line-click", e.LINE_MOUSEOUT = "alluvial-line-mouseout", e.LINE_MOUSEMOVE = "alluvial-line-mousemove", e))(of || {}), lf = /* @__PURE__ */ ((e) => (e.METER_MOUSEOVER = "meter-mouseover", e.METER_CLICK = "meter-click", e.METER_MOUSEOUT = "meter-mouseout", e.METER_MOUSEMOVE = "meter-mousemove", e))(lf || {}), cf = /* @__PURE__ */ ((e) => (e.HEATMAP_MOUSEOVER = "heatmap-mouseover", e.HEATMAP_CLICK = "heatmap-click", e.HEATMAP_MOUSEOUT = "heatmap-mouseout", e.HEATMAP_MOUSEMOVE = "hetmap-mousemove", e))(cf || {}), Pr = /* @__PURE__ */ ((e) => (e.CHOROPLETH_MOUSEOVER = "choropleth-mouseover", e.CHOROPLETH_CLICK = "choropleth-click", e.CHOROPLETH_MOUSEOUT = "choropleth-mouseout", e.CHOROPLETH_MOUSEMOVE = "choropleth-mousemove", e))(Pr || {});
3
3
  const g1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4
4
  __proto__: null,
@@ -269,7 +269,7 @@ const E1 = {
269
269
  evening: "evening",
270
270
  night: "night"
271
271
  }
272
- }, L1 = {
272
+ }, D1 = {
273
273
  narrow: {
274
274
  am: "a",
275
275
  pm: "p",
@@ -300,7 +300,7 @@ const E1 = {
300
300
  evening: "in the evening",
301
301
  night: "at night"
302
302
  }
303
- }, D1 = (e, t) => {
303
+ }, L1 = (e, t) => {
304
304
  const n = Number(e), r = n % 100;
305
305
  if (r > 20 || r < 10)
306
306
  switch (r % 10) {
@@ -313,7 +313,7 @@ const E1 = {
313
313
  }
314
314
  return n + "th";
315
315
  }, k1 = {
316
- ordinalNumber: D1,
316
+ ordinalNumber: L1,
317
317
  era: mi({
318
318
  values: w1,
319
319
  defaultWidth: "wide"
@@ -334,7 +334,7 @@ const E1 = {
334
334
  dayPeriod: mi({
335
335
  values: A1,
336
336
  defaultWidth: "wide",
337
- formattingValues: L1,
337
+ formattingValues: D1,
338
338
  defaultFormattingWidth: "wide"
339
339
  })
340
340
  }, R1 = /^(\d+)(th|st|nd|rd)?/i, I1 = /\d+/i, N1 = {
@@ -632,15 +632,15 @@ var aa = function() {
632
632
  return e({}, "", {}), e;
633
633
  } catch {
634
634
  }
635
- }(), L0 = aa ? function(e, t) {
635
+ }(), D0 = aa ? function(e, t) {
636
636
  return aa(e, "toString", {
637
637
  configurable: !0,
638
638
  enumerable: !1,
639
639
  value: A0(t),
640
640
  writable: !0
641
641
  });
642
- } : mc, bf = C0(L0);
643
- function D0(e, t) {
642
+ } : mc, bf = C0(D0);
643
+ function L0(e, t) {
644
644
  for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1; )
645
645
  ;
646
646
  return e;
@@ -756,11 +756,11 @@ var Of = Object.prototype, Y0 = Of.hasOwnProperty, X0 = Of.propertyIsEnumerable,
756
756
  function Z0() {
757
757
  return !1;
758
758
  }
759
- var Tf = typeof exports == "object" && exports && !exports.nodeType && exports, Gu = Tf && typeof module == "object" && module && !module.nodeType && module, K0 = Gu && Gu.exports === Tf, Fu = K0 ? We.Buffer : void 0, Q0 = Fu ? Fu.isBuffer : void 0, Zr = Q0 || Z0, J0 = "[object Arguments]", ty = "[object Array]", ey = "[object Boolean]", ny = "[object Date]", ry = "[object Error]", iy = "[object Function]", sy = "[object Map]", ay = "[object Number]", oy = "[object Object]", ly = "[object RegExp]", cy = "[object Set]", uy = "[object String]", hy = "[object WeakMap]", dy = "[object ArrayBuffer]", py = "[object DataView]", fy = "[object Float32Array]", my = "[object Float64Array]", gy = "[object Int8Array]", vy = "[object Int16Array]", yy = "[object Int32Array]", xy = "[object Uint8Array]", by = "[object Uint8ClampedArray]", _y = "[object Uint16Array]", Ey = "[object Uint32Array]", Lt = {};
760
- Lt[fy] = Lt[my] = Lt[gy] = Lt[vy] = Lt[yy] = Lt[xy] = Lt[by] = Lt[_y] = Lt[Ey] = !0;
761
- Lt[J0] = Lt[ty] = Lt[dy] = Lt[ey] = Lt[py] = Lt[ny] = Lt[ry] = Lt[iy] = Lt[sy] = Lt[ay] = Lt[oy] = Lt[ly] = Lt[cy] = Lt[uy] = Lt[hy] = !1;
759
+ var Tf = typeof exports == "object" && exports && !exports.nodeType && exports, Gu = Tf && typeof module == "object" && module && !module.nodeType && module, K0 = Gu && Gu.exports === Tf, Fu = K0 ? We.Buffer : void 0, Q0 = Fu ? Fu.isBuffer : void 0, Zr = Q0 || Z0, J0 = "[object Arguments]", ty = "[object Array]", ey = "[object Boolean]", ny = "[object Date]", ry = "[object Error]", iy = "[object Function]", sy = "[object Map]", ay = "[object Number]", oy = "[object Object]", ly = "[object RegExp]", cy = "[object Set]", uy = "[object String]", hy = "[object WeakMap]", dy = "[object ArrayBuffer]", py = "[object DataView]", fy = "[object Float32Array]", my = "[object Float64Array]", gy = "[object Int8Array]", vy = "[object Int16Array]", yy = "[object Int32Array]", xy = "[object Uint8Array]", by = "[object Uint8ClampedArray]", _y = "[object Uint16Array]", Ey = "[object Uint32Array]", Dt = {};
760
+ Dt[fy] = Dt[my] = Dt[gy] = Dt[vy] = Dt[yy] = Dt[xy] = Dt[by] = Dt[_y] = Dt[Ey] = !0;
761
+ Dt[J0] = Dt[ty] = Dt[dy] = Dt[ey] = Dt[py] = Dt[ny] = Dt[ry] = Dt[iy] = Dt[sy] = Dt[ay] = Dt[oy] = Dt[ly] = Dt[cy] = Dt[uy] = Dt[hy] = !1;
762
762
  function Oy(e) {
763
- return an(e) && xc(e.length) && !!Lt[hr(e)];
763
+ return an(e) && xc(e.length) && !!Dt[hr(e)];
764
764
  }
765
765
  function bc(e) {
766
766
  return function(t) {
@@ -808,13 +808,13 @@ function Ay(e) {
808
808
  t.push(n);
809
809
  return t;
810
810
  }
811
- var Ly = Object.prototype, Dy = Ly.hasOwnProperty;
811
+ var Dy = Object.prototype, Ly = Dy.hasOwnProperty;
812
812
  function ky(e) {
813
813
  if (!Ne(e))
814
814
  return Ay(e);
815
815
  var t = ja(e), n = [];
816
816
  for (var r in e)
817
- r == "constructor" && (t || !Dy.call(e, r)) || n.push(r);
817
+ r == "constructor" && (t || !Ly.call(e, r)) || n.push(r);
818
818
  return n;
819
819
  }
820
820
  function ms(e) {
@@ -894,23 +894,23 @@ function Jy(e, t) {
894
894
  var n = this.__data__, r = qa(n, e);
895
895
  return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
896
896
  }
897
- function Dn(e) {
897
+ function Ln(e) {
898
898
  var t = -1, n = e == null ? 0 : e.length;
899
899
  for (this.clear(); ++t < n; ) {
900
900
  var r = e[t];
901
901
  this.set(r[0], r[1]);
902
902
  }
903
903
  }
904
- Dn.prototype.clear = qy;
905
- Dn.prototype.delete = Zy;
906
- Dn.prototype.get = Ky;
907
- Dn.prototype.has = Qy;
908
- Dn.prototype.set = Jy;
904
+ Ln.prototype.clear = qy;
905
+ Ln.prototype.delete = Zy;
906
+ Ln.prototype.get = Ky;
907
+ Ln.prototype.has = Qy;
908
+ Ln.prototype.set = Jy;
909
909
  var Ji = pr(We, "Map");
910
910
  function tx() {
911
911
  this.size = 0, this.__data__ = {
912
912
  hash: new er(),
913
- map: new (Ji || Dn)(),
913
+ map: new (Ji || Ln)(),
914
914
  string: new er()
915
915
  };
916
916
  }
@@ -1025,7 +1025,7 @@ function Af(e) {
1025
1025
  return typeof n == "function" && n instanceof n && Cf.call(n) == vx;
1026
1026
  }
1027
1027
  function yx() {
1028
- this.__data__ = new Dn(), this.size = 0;
1028
+ this.__data__ = new Ln(), this.size = 0;
1029
1029
  }
1030
1030
  function xx(e) {
1031
1031
  var t = this.__data__, n = t.delete(e);
@@ -1040,7 +1040,7 @@ function _x(e) {
1040
1040
  var Ex = 200;
1041
1041
  function Ox(e, t) {
1042
1042
  var n = this.__data__;
1043
- if (n instanceof Dn) {
1043
+ if (n instanceof Ln) {
1044
1044
  var r = n.__data__;
1045
1045
  if (!Ji || r.length < Ex - 1)
1046
1046
  return r.push([e, t]), this.size = ++n.size, this;
@@ -1049,7 +1049,7 @@ function Ox(e, t) {
1049
1049
  return n.set(e, t), this.size = n.size, this;
1050
1050
  }
1051
1051
  function Ge(e) {
1052
- var t = this.__data__ = new Dn(e);
1052
+ var t = this.__data__ = new Ln(e);
1053
1053
  this.size = t.size;
1054
1054
  }
1055
1055
  Ge.prototype.clear = yx;
@@ -1063,8 +1063,8 @@ function Tx(e, t) {
1063
1063
  function Sx(e, t) {
1064
1064
  return e && ci(t, ms(t), e);
1065
1065
  }
1066
- var Lf = typeof exports == "object" && exports && !exports.nodeType && exports, Wu = Lf && typeof module == "object" && module && !module.nodeType && module, wx = Wu && Wu.exports === Lf, qu = wx ? We.Buffer : void 0, Yu = qu ? qu.allocUnsafe : void 0;
1067
- function Df(e, t) {
1066
+ var Df = typeof exports == "object" && exports && !exports.nodeType && exports, Wu = Df && typeof module == "object" && module && !module.nodeType && module, wx = Wu && Wu.exports === Df, qu = wx ? We.Buffer : void 0, Yu = qu ? qu.allocUnsafe : void 0;
1067
+ function Lf(e, t) {
1068
1068
  if (t)
1069
1069
  return e.slice();
1070
1070
  var n = e.length, r = Yu ? Yu(n) : new e.constructor(n);
@@ -1088,12 +1088,12 @@ var Mx = Object.prototype, Cx = Mx.propertyIsEnumerable, Xu = Object.getOwnPrope
1088
1088
  function Ax(e, t) {
1089
1089
  return ci(e, wc(e), t);
1090
1090
  }
1091
- var Lx = Object.getOwnPropertySymbols, Rf = Lx ? function(e) {
1091
+ var Dx = Object.getOwnPropertySymbols, Rf = Dx ? function(e) {
1092
1092
  for (var t = []; e; )
1093
1093
  Tc(t, wc(e)), e = Sc(e);
1094
1094
  return t;
1095
1095
  } : kf;
1096
- function Dx(e, t) {
1096
+ function Lx(e, t) {
1097
1097
  return ci(e, Rf(e), t);
1098
1098
  }
1099
1099
  function If(e, t, n) {
@@ -1196,9 +1196,9 @@ var rh = Kr && Kr.isMap, fb = rh ? bc(rh) : pb, mb = "[object Set]";
1196
1196
  function gb(e) {
1197
1197
  return an(e) && Ae(e) == mb;
1198
1198
  }
1199
- var ih = Kr && Kr.isSet, vb = ih ? bc(ih) : gb, yb = 1, xb = 2, bb = 4, Uf = "[object Arguments]", _b = "[object Array]", Eb = "[object Boolean]", Ob = "[object Date]", Tb = "[object Error]", Hf = "[object Function]", Sb = "[object GeneratorFunction]", wb = "[object Map]", $b = "[object Number]", Vf = "[object Object]", Mb = "[object RegExp]", Cb = "[object Set]", Ab = "[object String]", Lb = "[object Symbol]", Db = "[object WeakMap]", kb = "[object ArrayBuffer]", Rb = "[object DataView]", Ib = "[object Float32Array]", Nb = "[object Float64Array]", Pb = "[object Int8Array]", Bb = "[object Int16Array]", Ub = "[object Int32Array]", Hb = "[object Uint8Array]", Vb = "[object Uint8ClampedArray]", Gb = "[object Uint16Array]", Fb = "[object Uint32Array]", Mt = {};
1200
- Mt[Uf] = Mt[_b] = Mt[kb] = Mt[Rb] = Mt[Eb] = Mt[Ob] = Mt[Ib] = Mt[Nb] = Mt[Pb] = Mt[Bb] = Mt[Ub] = Mt[wb] = Mt[$b] = Mt[Vf] = Mt[Mb] = Mt[Cb] = Mt[Ab] = Mt[Lb] = Mt[Hb] = Mt[Vb] = Mt[Gb] = Mt[Fb] = !0;
1201
- Mt[Tb] = Mt[Hf] = Mt[Db] = !1;
1199
+ var ih = Kr && Kr.isSet, vb = ih ? bc(ih) : gb, yb = 1, xb = 2, bb = 4, Uf = "[object Arguments]", _b = "[object Array]", Eb = "[object Boolean]", Ob = "[object Date]", Tb = "[object Error]", Hf = "[object Function]", Sb = "[object GeneratorFunction]", wb = "[object Map]", $b = "[object Number]", Vf = "[object Object]", Mb = "[object RegExp]", Cb = "[object Set]", Ab = "[object String]", Db = "[object Symbol]", Lb = "[object WeakMap]", kb = "[object ArrayBuffer]", Rb = "[object DataView]", Ib = "[object Float32Array]", Nb = "[object Float64Array]", Pb = "[object Int8Array]", Bb = "[object Int16Array]", Ub = "[object Int32Array]", Hb = "[object Uint8Array]", Vb = "[object Uint8ClampedArray]", Gb = "[object Uint16Array]", Fb = "[object Uint32Array]", Mt = {};
1200
+ Mt[Uf] = Mt[_b] = Mt[kb] = Mt[Rb] = Mt[Eb] = Mt[Ob] = Mt[Ib] = Mt[Nb] = Mt[Pb] = Mt[Bb] = Mt[Ub] = Mt[wb] = Mt[$b] = Mt[Vf] = Mt[Mb] = Mt[Cb] = Mt[Ab] = Mt[Db] = Mt[Hb] = Mt[Vb] = Mt[Gb] = Mt[Fb] = !0;
1201
+ Mt[Tb] = Mt[Hf] = Mt[Lb] = !1;
1202
1202
  function zi(e, t, n, r, i, s) {
1203
1203
  var a, o = t & yb, l = t & xb, c = t & bb;
1204
1204
  if (n && (a = i ? n(e, r, i, s) : n(e)), a !== void 0)
@@ -1212,10 +1212,10 @@ function zi(e, t, n, r, i, s) {
1212
1212
  } else {
1213
1213
  var d = Ae(e), h = d == Hf || d == Sb;
1214
1214
  if (Zr(e))
1215
- return Df(e, o);
1215
+ return Lf(e, o);
1216
1216
  if (d == Vf || d == Uf || h && !i) {
1217
1217
  if (a = l || h ? {} : Bf(e), !o)
1218
- return l ? Dx(e, Sx(a, e)) : Ax(e, Tx(a, e));
1218
+ return l ? Lx(e, Sx(a, e)) : Ax(e, Tx(a, e));
1219
1219
  } else {
1220
1220
  if (!Mt[d])
1221
1221
  return i ? e : {};
@@ -1232,7 +1232,7 @@ function zi(e, t, n, r, i, s) {
1232
1232
  a.set(v, zi(m, t, n, v, e, s));
1233
1233
  });
1234
1234
  var f = c ? l ? Nf : gl : l ? ms : fs, g = u ? void 0 : f(e);
1235
- return D0(g || e, function(m, v) {
1235
+ return L0(g || e, function(m, v) {
1236
1236
  g && (v = m, m = e[v]), _f(a, v, zi(m, t, n, v, e, s));
1237
1237
  }), a;
1238
1238
  }
@@ -1474,16 +1474,16 @@ function A_(e) {
1474
1474
  return t?.[e];
1475
1475
  };
1476
1476
  }
1477
- function L_(e) {
1477
+ function D_(e) {
1478
1478
  return function(t) {
1479
1479
  return Oc(t, e);
1480
1480
  };
1481
1481
  }
1482
- function D_(e) {
1483
- return _c(e) ? A_(Qr(e)) : L_(e);
1482
+ function L_(e) {
1483
+ return _c(e) ? A_(Qr(e)) : D_(e);
1484
1484
  }
1485
1485
  function Qa(e) {
1486
- return typeof e == "function" ? e : e == null ? mc : typeof e == "object" ? te(e) ? C_(e[0], e[1]) : O_(e) : D_(e);
1486
+ return typeof e == "function" ? e : e == null ? mc : typeof e == "object" ? te(e) ? C_(e[0], e[1]) : O_(e) : L_(e);
1487
1487
  }
1488
1488
  function k_(e) {
1489
1489
  return function(t, n, r) {
@@ -1518,7 +1518,7 @@ function I_(e, t, n, r, i, s, a) {
1518
1518
  var u = s ? s(o, l, n + "", e, t, a) : void 0, d = u === void 0;
1519
1519
  if (d) {
1520
1520
  var h = te(l), p = !h && Zr(l), f = !h && !p && Wa(l);
1521
- u = l, h || p || f ? te(o) ? u = o : bl(o) ? u = xf(o) : p ? (d = !1, u = Df(l, !0)) : f ? (d = !1, u = Pf(l, !0)) : u = [] : Af(l) || Xr(l) ? (u = o, Xr(o) ? u = R_(o) : (!Ne(o) || gc(o)) && (u = Bf(l))) : d = !1;
1521
+ u = l, h || p || f ? te(o) ? u = o : bl(o) ? u = xf(o) : p ? (d = !1, u = Lf(l, !0)) : f ? (d = !1, u = Pf(l, !0)) : u = [] : Af(l) || Xr(l) ? (u = o, Xr(o) ? u = R_(o) : (!Ne(o) || gc(o)) && (u = Bf(l))) : d = !1;
1522
1522
  }
1523
1523
  d && (a.set(l, u), i(u, l, r, s, a), a.delete(l)), xl(e, n, u);
1524
1524
  }
@@ -1723,7 +1723,7 @@ function Vn(e, t) {
1723
1723
  }
1724
1724
  var eE = { value: () => {
1725
1725
  } };
1726
- function Lc() {
1726
+ function Dc() {
1727
1727
  for (var e = 0, t = arguments.length, n = {}, r; e < t; ++e) {
1728
1728
  if (!(r = arguments[e] + "") || r in n || /[\s.]/.test(r)) throw new Error("illegal type: " + r);
1729
1729
  n[r] = [];
@@ -1740,7 +1740,7 @@ function nE(e, t) {
1740
1740
  return { type: n, name: r };
1741
1741
  });
1742
1742
  }
1743
- Xs.prototype = Lc.prototype = {
1743
+ Xs.prototype = Dc.prototype = {
1744
1744
  constructor: Xs,
1745
1745
  on: function(e, t) {
1746
1746
  var n = this._, r = nE(e + "", n), i, s = -1, a = r.length;
@@ -1811,13 +1811,13 @@ function Kf(e) {
1811
1811
  }
1812
1812
  function aE() {
1813
1813
  }
1814
- function Dc(e) {
1814
+ function Lc(e) {
1815
1815
  return e == null ? aE : function() {
1816
1816
  return this.querySelector(e);
1817
1817
  };
1818
1818
  }
1819
1819
  function oE(e) {
1820
- typeof e != "function" && (e = Dc(e));
1820
+ typeof e != "function" && (e = Lc(e));
1821
1821
  for (var t = this._groups, n = t.length, r = new Array(n), i = 0; i < n; ++i)
1822
1822
  for (var s = t[i], a = s.length, o = r[i] = new Array(a), l, c, u = 0; u < a; ++u)
1823
1823
  (l = s[u]) && (c = e.call(l, l.__data__, u, s)) && ("__data__" in l && (c.__data__ = l.__data__), o[u] = c);
@@ -1967,13 +1967,13 @@ function AE(e) {
1967
1967
  o[l] = n[l];
1968
1968
  return new Te(o, this._parents);
1969
1969
  }
1970
- function LE() {
1970
+ function DE() {
1971
1971
  for (var e = this._groups, t = -1, n = e.length; ++t < n; )
1972
1972
  for (var r = e[t], i = r.length - 1, s = r[i], a; --i >= 0; )
1973
1973
  (a = r[i]) && (s && a.compareDocumentPosition(s) ^ 4 && s.parentNode.insertBefore(a, s), s = a);
1974
1974
  return this;
1975
1975
  }
1976
- function DE(e) {
1976
+ function LE(e) {
1977
1977
  e || (e = kE);
1978
1978
  function t(d, h) {
1979
1979
  return d && h ? e(d.__data__, h.__data__) : !d - !h;
@@ -2208,7 +2208,7 @@ function yO() {
2208
2208
  return null;
2209
2209
  }
2210
2210
  function xO(e, t) {
2211
- var n = typeof e == "function" ? e : Kf(e), r = t == null ? yO : typeof t == "function" ? t : Dc(t);
2211
+ var n = typeof e == "function" ? e : Kf(e), r = t == null ? yO : typeof t == "function" ? t : Lc(t);
2212
2212
  return this.select(function() {
2213
2213
  return this.insertBefore(n.apply(this, arguments), r.apply(this, arguments) || null);
2214
2214
  });
@@ -2287,18 +2287,18 @@ function om(e, t, n) {
2287
2287
  var r = nm(e), i = r.CustomEvent;
2288
2288
  typeof i == "function" ? i = new i(t, n) : (i = r.document.createEvent("Event"), n ? (i.initEvent(t, n.bubbles, n.cancelable), i.detail = n.detail) : i.initEvent(t, !1, !1)), e.dispatchEvent(i);
2289
2289
  }
2290
- function LO(e, t) {
2290
+ function DO(e, t) {
2291
2291
  return function() {
2292
2292
  return om(this, e, t);
2293
2293
  };
2294
2294
  }
2295
- function DO(e, t) {
2295
+ function LO(e, t) {
2296
2296
  return function() {
2297
2297
  return om(this, e, t.apply(this, arguments));
2298
2298
  };
2299
2299
  }
2300
2300
  function kO(e, t) {
2301
- return this.each((typeof t == "function" ? DO : LO)(e, t));
2301
+ return this.each((typeof t == "function" ? LO : DO)(e, t));
2302
2302
  }
2303
2303
  function* RO() {
2304
2304
  for (var e = this._groups, t = 0, n = e.length; t < n; ++t)
@@ -2328,8 +2328,8 @@ Te.prototype = vs.prototype = {
2328
2328
  join: CE,
2329
2329
  merge: AE,
2330
2330
  selection: IO,
2331
- order: LE,
2332
- sort: DE,
2331
+ order: DE,
2332
+ sort: LE,
2333
2333
  call: RE,
2334
2334
  nodes: IE,
2335
2335
  node: NE,
@@ -2744,7 +2744,7 @@ function eT(e, t) {
2744
2744
  return r;
2745
2745
  };
2746
2746
  }
2747
- var Sl = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, Lo = new RegExp(Sl.source, "g");
2747
+ var Sl = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, Do = new RegExp(Sl.source, "g");
2748
2748
  function nT(e) {
2749
2749
  return function() {
2750
2750
  return e;
@@ -2756,9 +2756,9 @@ function rT(e) {
2756
2756
  };
2757
2757
  }
2758
2758
  function pm(e, t) {
2759
- var n = Sl.lastIndex = Lo.lastIndex = 0, r, i, s, a = -1, o = [], l = [];
2760
- for (e = e + "", t = t + ""; (r = Sl.exec(e)) && (i = Lo.exec(t)); )
2761
- (s = i.index) > n && (s = t.slice(n, s), o[a] ? o[a] += s : o[++a] = s), (r = r[0]) === (i = i[0]) ? o[a] ? o[a] += i : o[++a] = i : (o[++a] = null, l.push({ i: a, x: Ee(r, i) })), n = Lo.lastIndex;
2759
+ var n = Sl.lastIndex = Do.lastIndex = 0, r, i, s, a = -1, o = [], l = [];
2760
+ for (e = e + "", t = t + ""; (r = Sl.exec(e)) && (i = Do.exec(t)); )
2761
+ (s = i.index) > n && (s = t.slice(n, s), o[a] ? o[a] += s : o[++a] = s), (r = r[0]) === (i = i[0]) ? o[a] ? o[a] += i : o[++a] = i : (o[++a] = null, l.push({ i: a, x: Ee(r, i) })), n = Do.lastIndex;
2762
2762
  return n < t.length && (s = t.slice(n), o[a] ? o[a] += s : o[++a] = s), o.length < 2 ? l[0] ? rT(l[0].x) : nT(t) : (t = l.length, function(c) {
2763
2763
  for (var u = 0, d; u < t; ++u) o[(d = l[u]).i] = d.x(c);
2764
2764
  return o.join("");
@@ -2892,7 +2892,7 @@ function Oh(e, t, n) {
2892
2892
  r.stop(), e(i + t);
2893
2893
  }, t, n), r;
2894
2894
  }
2895
- var dT = Lc("start", "end", "cancel", "interrupt"), pT = [], _m = 0, Th = 1, $l = 2, Zs = 3, Sh = 4, Ml = 5, Ks = 6;
2895
+ var dT = Dc("start", "end", "cancel", "interrupt"), pT = [], _m = 0, Th = 1, $l = 2, Zs = 3, Sh = 4, Ml = 5, Ks = 6;
2896
2896
  function eo(e, t, n, r, i, s) {
2897
2897
  var a = e.__transition;
2898
2898
  if (!a) e.__transition = {};
@@ -3111,19 +3111,19 @@ function AT(e, t) {
3111
3111
  var r = Ja(e);
3112
3112
  return this.tween(n, (r.local ? MT : CT)(r, t));
3113
3113
  }
3114
- function LT(e, t) {
3114
+ function DT(e, t) {
3115
3115
  return function() {
3116
3116
  Pc(this, e).delay = +t.apply(this, arguments);
3117
3117
  };
3118
3118
  }
3119
- function DT(e, t) {
3119
+ function LT(e, t) {
3120
3120
  return t = +t, function() {
3121
3121
  Pc(this, e).delay = t;
3122
3122
  };
3123
3123
  }
3124
3124
  function kT(e) {
3125
3125
  var t = this._id;
3126
- return arguments.length ? this.each((typeof e == "function" ? LT : DT)(t, e)) : qe(this.node(), t).delay;
3126
+ return arguments.length ? this.each((typeof e == "function" ? DT : LT)(t, e)) : qe(this.node(), t).delay;
3127
3127
  }
3128
3128
  function RT(e, t) {
3129
3129
  return function() {
@@ -3205,7 +3205,7 @@ function qT() {
3205
3205
  }
3206
3206
  function YT(e) {
3207
3207
  var t = this._name, n = this._id;
3208
- typeof e != "function" && (e = Dc(e));
3208
+ typeof e != "function" && (e = Lc(e));
3209
3209
  for (var r = this._groups, i = r.length, s = new Array(i), a = 0; a < i; ++a)
3210
3210
  for (var o = r[a], l = o.length, c = s[a] = new Array(l), u, d, h = 0; h < l; ++h)
3211
3211
  (u = o[h]) && (d = e.call(u, u.__data__, h, o)) && ("__data__" in u && (d.__data__ = u.__data__), c[h] = d, eo(c[h], t, n, h, c, qe(u, n)));
@@ -3516,16 +3516,16 @@ function TS(e) {
3516
3516
  d = ss(d);
3517
3517
  var h = d.fill, p = d.align, f = d.sign, g = d.symbol, m = d.zero, v = d.width, b = d.comma, _ = d.precision, E = d.trim, x = d.type;
3518
3518
  x === "n" ? (b = !0, x = "g") : $h[x] || (_ === void 0 && (_ = 12), E = !0, x = "g"), (m || h === "0" && p === "=") && (m = !0, h = "0", p = "=");
3519
- var T = g === "$" ? n : g === "#" && /[boxX]/.test(x) ? "0" + x.toLowerCase() : "", M = g === "$" ? r : /[%p]/.test(x) ? a : "", D = $h[x], A = /[defgprs%]/.test(x);
3519
+ var T = g === "$" ? n : g === "#" && /[boxX]/.test(x) ? "0" + x.toLowerCase() : "", M = g === "$" ? r : /[%p]/.test(x) ? a : "", k = $h[x], D = /[defgprs%]/.test(x);
3520
3520
  _ = _ === void 0 ? 6 : /[gprs]/.test(x) ? Math.max(1, Math.min(21, _)) : Math.max(0, Math.min(20, _));
3521
- function R(C) {
3521
+ function L(C) {
3522
3522
  var H = T, P = M, U, O, $;
3523
3523
  if (x === "c")
3524
- P = D(C) + P, C = "";
3524
+ P = k(C) + P, C = "";
3525
3525
  else {
3526
3526
  C = +C;
3527
- var L = C < 0 || 1 / C < 0;
3528
- if (C = isNaN(C) ? l : D(Math.abs(C), _), E && (C = ES(C)), L && +C == 0 && f !== "+" && (L = !1), H = (L ? f === "(" ? f : o : f === "-" || f === "(" ? "" : f) + H, P = (x === "s" ? Ah[8 + wm / 3] : "") + P + (L && f === "(" ? ")" : ""), A) {
3527
+ var A = C < 0 || 1 / C < 0;
3528
+ if (C = isNaN(C) ? l : k(Math.abs(C), _), E && (C = ES(C)), A && +C == 0 && f !== "+" && (A = !1), H = (A ? f === "(" ? f : o : f === "-" || f === "(" ? "" : f) + H, P = (x === "s" ? Ah[8 + wm / 3] : "") + P + (A && f === "(" ? ")" : ""), D) {
3529
3529
  for (U = -1, O = C.length; ++U < O; )
3530
3530
  if ($ = C.charCodeAt(U), 48 > $ || $ > 57) {
3531
3531
  P = ($ === 46 ? i + C.slice(U + 1) : C.slice(U)) + P, C = C.slice(0, U);
@@ -3534,7 +3534,7 @@ function TS(e) {
3534
3534
  }
3535
3535
  }
3536
3536
  b && !m && (C = t(C, 1 / 0));
3537
- var k = H.length + C.length + P.length, B = k < v ? new Array(v - k + 1).join(h) : "";
3537
+ var R = H.length + C.length + P.length, B = R < v ? new Array(v - R + 1).join(h) : "";
3538
3538
  switch (b && m && (C = t(B + C, B.length ? v - P.length : 1 / 0), B = ""), p) {
3539
3539
  case "<":
3540
3540
  C = H + C + P + B;
@@ -3543,7 +3543,7 @@ function TS(e) {
3543
3543
  C = H + B + C + P;
3544
3544
  break;
3545
3545
  case "^":
3546
- C = B.slice(0, k = B.length >> 1) + H + C + P + B.slice(k);
3546
+ C = B.slice(0, R = B.length >> 1) + H + C + P + B.slice(R);
3547
3547
  break;
3548
3548
  default:
3549
3549
  C = B + H + C + P;
@@ -3551,9 +3551,9 @@ function TS(e) {
3551
3551
  }
3552
3552
  return s(C);
3553
3553
  }
3554
- return R.toString = function() {
3554
+ return L.toString = function() {
3555
3555
  return d + "";
3556
- }, R;
3556
+ }, L;
3557
3557
  }
3558
3558
  function u(d, h) {
3559
3559
  var p = c((d = ss(d), d.type = "f", d)), f = Math.max(-8, Math.min(8, Math.floor(ni(h) / 3))) * 3, g = Math.pow(10, -f), m = Ah[8 + f / 3];
@@ -3566,14 +3566,14 @@ function TS(e) {
3566
3566
  formatPrefix: u
3567
3567
  };
3568
3568
  }
3569
- var Ls, Hc, $m;
3569
+ var Ds, Hc, $m;
3570
3570
  SS({
3571
3571
  thousands: ",",
3572
3572
  grouping: [3],
3573
3573
  currency: ["$", ""]
3574
3574
  });
3575
3575
  function SS(e) {
3576
- return Ls = TS(e), Hc = Ls.format, $m = Ls.formatPrefix, Ls;
3576
+ return Ds = TS(e), Hc = Ds.format, $m = Ds.formatPrefix, Ds;
3577
3577
  }
3578
3578
  function wS(e) {
3579
3579
  return Math.max(0, -ni(Math.abs(e)));
@@ -3597,13 +3597,13 @@ function ui(e, t) {
3597
3597
  }
3598
3598
  return this;
3599
3599
  }
3600
- const Lh = Symbol("implicit");
3600
+ const Dh = Symbol("implicit");
3601
3601
  function no() {
3602
- var e = new ch(), t = [], n = [], r = Lh;
3602
+ var e = new ch(), t = [], n = [], r = Dh;
3603
3603
  function i(s) {
3604
3604
  let a = e.get(s);
3605
3605
  if (a === void 0) {
3606
- if (r !== Lh) return r;
3606
+ if (r !== Dh) return r;
3607
3607
  e.set(s, a = t.push(s) - 1);
3608
3608
  }
3609
3609
  return n[a % n.length];
@@ -3630,7 +3630,7 @@ function CS(e) {
3630
3630
  function AS(e) {
3631
3631
  return +e;
3632
3632
  }
3633
- var Dh = [0, 1];
3633
+ var Lh = [0, 1];
3634
3634
  function Ur(e) {
3635
3635
  return e;
3636
3636
  }
@@ -3639,13 +3639,13 @@ function Al(e, t) {
3639
3639
  return (n - e) / t;
3640
3640
  } : CS(isNaN(t) ? NaN : 0.5);
3641
3641
  }
3642
- function LS(e, t) {
3642
+ function DS(e, t) {
3643
3643
  var n;
3644
3644
  return e > t && (n = e, e = t, t = n), function(r) {
3645
3645
  return Math.max(e, Math.min(t, r));
3646
3646
  };
3647
3647
  }
3648
- function DS(e, t, n) {
3648
+ function LS(e, t, n) {
3649
3649
  var r = e[0], i = e[1], s = t[0], a = t[1];
3650
3650
  return i < r ? (r = Al(i, r), s = n(a, s)) : (r = Al(r, i), s = n(s, a)), function(o) {
3651
3651
  return s(r(o));
@@ -3664,10 +3664,10 @@ function Vc(e, t) {
3664
3664
  return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());
3665
3665
  }
3666
3666
  function Mm() {
3667
- var e = Dh, t = Dh, n = xs, r, i, s, a = Ur, o, l, c;
3667
+ var e = Lh, t = Lh, n = xs, r, i, s, a = Ur, o, l, c;
3668
3668
  function u() {
3669
3669
  var h = Math.min(e.length, t.length);
3670
- return a !== Ur && (a = LS(e[0], e[h - 1])), o = h > 2 ? kS : DS, l = c = null, d;
3670
+ return a !== Ur && (a = DS(e[0], e[h - 1])), o = h > 2 ? kS : LS, l = c = null, d;
3671
3671
  }
3672
3672
  function d(h) {
3673
3673
  return h == null || isNaN(h = +h) ? s : (l || (l = o(e.map(r), t, n)))(r(a(h)));
@@ -3835,7 +3835,7 @@ const fe = "cds", xn = {
3835
3835
  duration: 1e3,
3836
3836
  ease: Sm,
3837
3837
  zoomLevel: 3
3838
- }, Lr = {
3838
+ }, Dr = {
3839
3839
  circles: {
3840
3840
  fillOpacity: 0.3,
3841
3841
  hover: {
@@ -3847,7 +3847,7 @@ const fe = "cds", xn = {
3847
3847
  children: 2
3848
3848
  },
3849
3849
  depth: 2
3850
- }, Lm = {
3850
+ }, Dm = {
3851
3851
  pairingOptions: {
3852
3852
  "1-color": 4,
3853
3853
  "2-color": 5,
@@ -4058,7 +4058,7 @@ const fe = "cds", xn = {
4058
4058
  type: Ve.END_LINE,
4059
4059
  threshold: 16,
4060
4060
  numCharacter: 14
4061
- }, Dm = 4, PS = {
4061
+ }, Lm = 4, PS = {
4062
4062
  code: typeof navigator < "u" && navigator?.language || "en-US",
4063
4063
  // read from browser's navigator.language
4064
4064
  number: (e, t = navigator?.language || "en-US") => e?.toLocaleString?.(t),
@@ -4570,7 +4570,7 @@ const se = {
4570
4570
  data: at(se.data, {
4571
4571
  groupMapsTo: "name"
4572
4572
  })
4573
- }), iw = at({}, se, Lr, {
4573
+ }), iw = at({}, se, Dr, {
4574
4574
  data: at(se.data, {
4575
4575
  groupMapsTo: "name"
4576
4576
  })
@@ -4671,7 +4671,7 @@ function gn(e) {
4671
4671
  }
4672
4672
  return null;
4673
4673
  }
4674
- function Li(e) {
4674
+ function Di(e) {
4675
4675
  const t = /\(([^)]+)\)/.exec(e);
4676
4676
  if (t && t.length > 1) {
4677
4677
  const n = t[1].split(",");
@@ -4683,7 +4683,7 @@ function Li(e) {
4683
4683
  }
4684
4684
  return { x: 0, y: 0 };
4685
4685
  }
4686
- function Do(e, t, n = "value", r = !1) {
4686
+ function Lo(e, t, n = "value", r = !1) {
4687
4687
  const i = e / t.reduce((s, a) => s + a[n], 0) * 100;
4688
4688
  return r ? i : i % 1 !== 0 ? parseFloat(i.toFixed(1)) : i;
4689
4689
  }
@@ -5503,7 +5503,7 @@ function Sw(e) {
5503
5503
  return !(!Tw(e) && typeof e != "number" || isNaN(+Ht(e)));
5504
5504
  }
5505
5505
  const ww = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, $w = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Mw = /^'([^]*?)'?$/, Cw = /''/g, Aw = /[a-zA-Z]/;
5506
- function Ll(e, t, n) {
5506
+ function Dl(e, t, n) {
5507
5507
  const r = Fa(), i = n?.locale ?? r.locale ?? mf, s = n?.firstWeekContainsDate ?? n?.locale?.options?.firstWeekContainsDate ?? r.firstWeekContainsDate ?? r.locale?.options?.firstWeekContainsDate ?? 1, a = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? r.weekStartsOn ?? r.locale?.options?.weekStartsOn ?? 0, o = Ht(e, n?.in);
5508
5508
  if (!Sw(o))
5509
5509
  throw new RangeError("Invalid time value");
@@ -5519,7 +5519,7 @@ function Ll(e, t, n) {
5519
5519
  return { isToken: !1, value: "'" };
5520
5520
  const d = u[0];
5521
5521
  if (d === "'")
5522
- return { isToken: !1, value: Lw(u) };
5522
+ return { isToken: !1, value: Dw(u) };
5523
5523
  if (Uh[d])
5524
5524
  return { isToken: !0, value: u };
5525
5525
  if (d.match(Aw))
@@ -5542,7 +5542,7 @@ function Ll(e, t, n) {
5542
5542
  return h(o, d, i.localize, c);
5543
5543
  }).join("");
5544
5544
  }
5545
- function Lw(e) {
5545
+ function Dw(e) {
5546
5546
  const t = e.match(Mw);
5547
5547
  return t ? t[1].replace(Cw, "'") : e;
5548
5548
  }
@@ -5557,16 +5557,16 @@ const ko = [
5557
5557
  ["yearly", 360 * 24 * 60 * 60 * 1e3]
5558
5558
  ];
5559
5559
  function Wm(e, t, n, r, i) {
5560
- const s = t === 0, a = Number(Ll(new Date(e), "c")) === 2, o = Number(Ll(new Date(e), "q")) === 1, l = t !== 0 ? n[t - 1] : null;
5560
+ const s = t === 0, a = Number(Dl(new Date(e), "c")) === 2, o = Number(Dl(new Date(e), "q")) === 1, l = t !== 0 ? n[t - 1] : null;
5561
5561
  switch (r) {
5562
5562
  case "15seconds":
5563
- return s || Ds(e) || xi(e, l) || Pn(e);
5563
+ return s || Ls(e) || xi(e, l) || Pn(e);
5564
5564
  case "minute":
5565
- return s || Ds(e) || xi(e, l) || Pn(e);
5565
+ return s || Ls(e) || xi(e, l) || Pn(e);
5566
5566
  case "30minutes":
5567
- return s || Ds(e) || xi(e, l) || Pn(e);
5567
+ return s || Ls(e) || xi(e, l) || Pn(e);
5568
5568
  case "hourly":
5569
- return s || Ds(e) || xi(e, l) || Pn(e);
5569
+ return s || Ls(e) || xi(e, l) || Pn(e);
5570
5570
  case "daily":
5571
5571
  return i ? s || a || Pn(e) : s || xi(e, l) || Pn(e);
5572
5572
  case "weekly":
@@ -5581,13 +5581,13 @@ function Wm(e, t, n, r, i) {
5581
5581
  throw new Error(`${r} is not a valid time interval.`);
5582
5582
  }
5583
5583
  }
5584
- function Dl(e, t, n, r, i, s) {
5584
+ function Ll(e, t, n, r, i, s) {
5585
5585
  const a = i.showDayName, o = r === "daily" && a ? "weekly" : r, l = new Date(e), c = y(i, "timeIntervalFormats")[o], u = y(c, "primary"), d = y(c, "secondary"), h = Wm(e, t, n, r, a);
5586
5586
  let p = h ? u : d;
5587
5587
  r === "15seconds" && l.getMilliseconds() !== 0 && (p = p.replace("pp", "h:mm:ss.SSS a"));
5588
5588
  const f = i.localeObject, { code: g, optionsObject: m } = s, v = m[r].type, b = m[r][h ? "primary" : "secondary"][p];
5589
5589
  if (r === "quarterly" || !b) {
5590
- const _ = Ll(l, p, { locale: f }).split("").map((E) => {
5590
+ const _ = Dl(l, p, { locale: f }).split("").map((E) => {
5591
5591
  const x = Number(E);
5592
5592
  return E !== " " && !Number.isNaN(x) ? x?.toLocaleString?.(g) : E;
5593
5593
  });
@@ -5610,7 +5610,7 @@ function xa(e) {
5610
5610
  // seconds: 0-59
5611
5611
  };
5612
5612
  }
5613
- function Dw(e) {
5613
+ function Lw(e) {
5614
5614
  if (e)
5615
5615
  return e.slice(1).map((t, n) => t - e[n]);
5616
5616
  }
@@ -5626,10 +5626,10 @@ function kl(e, t) {
5626
5626
  return t;
5627
5627
  if (e.length === 1)
5628
5628
  return "15seconds";
5629
- const n = Dw(e), r = Vn(n);
5629
+ const n = Lw(e), r = Vn(n);
5630
5630
  return kw(r);
5631
5631
  }
5632
- function Ds(e) {
5632
+ function Ls(e) {
5633
5633
  const { s: t, m: n, H: r } = xa(e);
5634
5634
  return r === 0 && n === 0 && t === 0;
5635
5635
  }
@@ -5644,26 +5644,22 @@ function Pn(e) {
5644
5644
  function Fh(e) {
5645
5645
  return e === void 0 ? "" : e.toISOString();
5646
5646
  }
5647
- function qm(e) {
5648
- const t = Fe(e, (r) => r.value), n = ze().domain(t).nice().domain();
5649
- if (n[0] > 0)
5650
- n[0] = 0;
5651
- else if (n[0] === 0 && n[1] === 0)
5652
- return [0, 1];
5653
- return n[0] < 0 && n[1] > 0 && (Math.abs(n[0]) > n[1] ? n[1] = Math.abs(n[0]) : n[0] = -n[1]), n;
5654
- }
5655
- function Ym(e, t) {
5656
- const n = y(t, "gradient", "colors"), r = !Ue(n);
5657
- let i = y(t, "pairing", "option");
5658
- const s = qm(e), a = s[0] < 0 && s[1] > 0 ? "diverge" : "mono";
5659
- (i < 1 && i > 4 && a === "mono" || i < 1 && i > 2 && a === "diverge") && (i = 1);
5660
- const o = r ? n : [];
5661
- if (!r) {
5662
- const l = a === "diverge" ? 17 : 11;
5663
- for (let c = 1; c < l + 1; c++)
5664
- o.push(`fill-${a}-${i}-${c}`);
5665
- }
5666
- return Gc().domain(s).range(o);
5647
+ function qm(e, t) {
5648
+ const n = Fe(e, (i) => i.value), r = ze().domain(n).nice().domain();
5649
+ return r[0] > 0 ? r[0] = 0 : r[0] === 0 && r[1] === 0 && (r[0] = 0, r[1] = 1), r[0] < 0 && r[1] > 0 && (Math.abs(r[0]) > r[1] ? r[1] = Math.abs(r[0]) : r[0] = -r[1]), t && (typeof t.min == "number" && (r[0] = t.min), typeof t.max == "number" && (r[1] = t.max)), r;
5650
+ }
5651
+ function Ym(e, t, n) {
5652
+ const r = y(t, "gradient", "colors"), i = !Ue(r);
5653
+ let s = y(t, "pairing", "option");
5654
+ const a = qm(e, n), o = a[0] < 0 && a[1] > 0 ? "diverge" : "mono";
5655
+ (s < 1 && s > 4 && o === "mono" || s < 1 && s > 2 && o === "diverge") && (s = 1);
5656
+ const l = i ? r : [];
5657
+ if (!i) {
5658
+ const c = o === "diverge" ? 17 : 11;
5659
+ for (let u = 1; u < c + 1; u++)
5660
+ l.push(`fill-${o}-${s}-${u}`);
5661
+ }
5662
+ return Gc().domain(a).range(l);
5667
5663
  }
5668
5664
  var ht = /* @__PURE__ */ ((e) => (e.GRAPHICS_DOCUMENT = "graphics-document", e.GRAPHICS_OBJECT = "graphics-object", e.GRAPHICS_SYMBOL = "graphics-symbol", e.GROUP = "group", e.DOCUMENT = "document", e.CHECKBOX = "checkbox", e.BUTTON = "button", e.MENU = "menu", e.MENU_ITEM = "menuitem", e.IMG = "img", e))(ht || {});
5669
5665
  function Rw(e, t) {
@@ -6270,7 +6266,7 @@ class ln {
6270
6266
  let n = y(t, "numberOfVariants");
6271
6267
  (!n || n < this.allDataGroups.length) && (n = this.allDataGroups.length);
6272
6268
  let r = y(t, "option");
6273
- const i = Lm.pairingOptions, s = n > 5 ? 14 : n, a = `${s}-color`;
6269
+ const i = Dm.pairingOptions, s = n > 5 ? 14 : n, a = `${s}-color`;
6274
6270
  r = r <= i[a] ? r : 1;
6275
6271
  const o = this.allDataGroups.map(
6276
6272
  (l, c) => `${s}-${r}-${c % 14 + 1}`
@@ -6457,7 +6453,7 @@ let n$ = class extends mr {
6457
6453
  setColorClassNames() {
6458
6454
  const t = y(this.getOptions(), "color", "pairing");
6459
6455
  let n = y(t, "option");
6460
- const r = Lm.pairingOptions;
6456
+ const r = Dm.pairingOptions;
6461
6457
  n = n <= r["1-color"] ? n : 1;
6462
6458
  const i = this.allDataGroups.map(() => `1-${n}-1`);
6463
6459
  this.colorClassNames = no().range(i).domain(this.allDataGroups);
@@ -6688,17 +6684,23 @@ let c$ = class extends mr {
6688
6684
  if (y(n, "left", "scaleType") && y(n, "left", "scaleType") !== et.LABELS || y(n, "right", "scaleType") && y(n, "right", "scaleType") !== et.LABELS || y(n, "top", "scaleType") && y(n, "top", "scaleType") !== et.LABELS || y(n, "bottom", "scaleType") && y(n, "bottom", "scaleType") !== et.LABELS)
6689
6685
  throw Error("Heatmap only supports label scaletypes.");
6690
6686
  }
6687
+ /**
6688
+ * Get the custom color domain options from chart configuration
6689
+ * @returns ColorDomainOptions or undefined
6690
+ */
6691
+ getColorDomainOptions() {
6692
+ const t = this.getOptions();
6693
+ return y(t, "heatmap", "colorDomain");
6694
+ }
6691
6695
  /**
6692
6696
  * Get min and maximum value of the display data
6693
- * @returns Array consisting of smallest and largest values in data
6697
+ * @returns Array consisting of smallest and largest values in data
6694
6698
  */
6695
6699
  getValueDomain() {
6696
- const t = Fe(this.getDisplayData(), (r) => r.value), n = ze().domain(t).nice().domain();
6697
- if (n[0] > 0)
6698
- n[0] = 0;
6699
- else if (n[0] === 0 && n[1] === 0)
6700
- return [0, 1];
6701
- return n[0] < 0 && n[1] > 0 && (Math.abs(n[0]) > n[1] ? n[1] = Math.abs(n[0]) : n[0] = -n[1]), n;
6700
+ const t = Fe(this.getDisplayData(), (i) => i.value), n = ze().domain(t).nice().domain();
6701
+ n[0] > 0 ? n[0] = 0 : n[0] === 0 && n[1] === 0 && (n[0] = 0, n[1] = 1), n[0] < 0 && n[1] > 0 && (Math.abs(n[0]) > n[1] ? n[1] = Math.abs(n[0]) : n[0] = -n[1]);
6702
+ const r = this.getColorDomainOptions();
6703
+ return r && (typeof r.min == "number" && (n[0] = r.min), typeof r.max == "number" && (n[1] = r.max)), n;
6702
6704
  }
6703
6705
  /**
6704
6706
  * @override
@@ -6824,13 +6826,13 @@ let c$ = class extends mr {
6824
6826
  (i < 1 && i > 4 && a === "mono" || i < 1 && i > 2 && a === "diverge") && (i = 1);
6825
6827
  const o = r ? n : [];
6826
6828
  if (!r) {
6827
- const c = a === "diverge" ? 17 : 11;
6828
- for (let u = 1; u < c + 1; u++)
6829
- o.push(`fill-${a}-${i}-${u}`);
6829
+ const u = a === "diverge" ? 17 : 11;
6830
+ for (let d = 1; d < u + 1; d++)
6831
+ o.push(`fill-${a}-${i}-${d}`);
6830
6832
  }
6831
6833
  this._colorScale = Gc().domain(s).range(o);
6832
- const l = y(this.getOptions(), "color");
6833
- this._colorScale = Ym(this.getDisplayData(), l);
6834
+ const l = y(this.getOptions(), "color"), c = this.getColorDomainOptions();
6835
+ this._colorScale = Ym(this.getDisplayData(), l, c);
6834
6836
  }
6835
6837
  }, u$ = class extends mr {
6836
6838
  getTabularDataArray() {
@@ -7018,19 +7020,19 @@ function ba(e, t, n) {
7018
7020
  throw new TypeError(T$);
7019
7021
  t = qr(t) || 0, Ne(n) && (u = !!n.leading, d = "maxWait" in n, s = d ? S$(qr(n.maxWait) || 0, t) : s, h = "trailing" in n ? !!n.trailing : h);
7020
7022
  function p(T) {
7021
- var M = r, D = i;
7022
- return r = i = void 0, c = T, a = e.apply(D, M), a;
7023
+ var M = r, k = i;
7024
+ return r = i = void 0, c = T, a = e.apply(k, M), a;
7023
7025
  }
7024
7026
  function f(T) {
7025
7027
  return c = T, o = setTimeout(v, t), u ? p(T) : a;
7026
7028
  }
7027
7029
  function g(T) {
7028
- var M = T - l, D = T - c, A = t - M;
7029
- return d ? w$(A, s - D) : A;
7030
+ var M = T - l, k = T - c, D = t - M;
7031
+ return d ? w$(D, s - k) : D;
7030
7032
  }
7031
7033
  function m(T) {
7032
- var M = T - l, D = T - c;
7033
- return l === void 0 || M >= t || M < 0 || d && D >= s;
7034
+ var M = T - l, k = T - c;
7035
+ return l === void 0 || M >= t || M < 0 || d && k >= s;
7034
7036
  }
7035
7037
  function v() {
7036
7038
  var T = Po();
@@ -7146,7 +7148,7 @@ _a.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ?
7146
7148
  t.setTime(+t + n * e);
7147
7149
  }, (t, n) => (n - t) / e) : _a);
7148
7150
  _a.range;
7149
- const _n = 1e3, De = _n * 60, En = De * 60, Mn = En * 24, Wc = Mn * 7, qh = Mn * 30, Ho = Mn * 365, Gr = Yt((e) => {
7151
+ const _n = 1e3, Le = _n * 60, En = Le * 60, Mn = En * 24, Wc = Mn * 7, qh = Mn * 30, Ho = Mn * 365, Gr = Yt((e) => {
7150
7152
  e.setTime(e - e.getMilliseconds());
7151
7153
  }, (e, t) => {
7152
7154
  e.setTime(+e + t * _n);
@@ -7155,17 +7157,17 @@ Gr.range;
7155
7157
  const qc = Yt((e) => {
7156
7158
  e.setTime(e - e.getMilliseconds() - e.getSeconds() * _n);
7157
7159
  }, (e, t) => {
7158
- e.setTime(+e + t * De);
7159
- }, (e, t) => (t - e) / De, (e) => e.getMinutes());
7160
+ e.setTime(+e + t * Le);
7161
+ }, (e, t) => (t - e) / Le, (e) => e.getMinutes());
7160
7162
  qc.range;
7161
7163
  const M$ = Yt((e) => {
7162
7164
  e.setUTCSeconds(0, 0);
7163
7165
  }, (e, t) => {
7164
- e.setTime(+e + t * De);
7165
- }, (e, t) => (t - e) / De, (e) => e.getUTCMinutes());
7166
+ e.setTime(+e + t * Le);
7167
+ }, (e, t) => (t - e) / Le, (e) => e.getUTCMinutes());
7166
7168
  M$.range;
7167
7169
  const Yc = Yt((e) => {
7168
- e.setTime(e - e.getMilliseconds() - e.getSeconds() * _n - e.getMinutes() * De);
7170
+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * _n - e.getMinutes() * Le);
7169
7171
  }, (e, t) => {
7170
7172
  e.setTime(+e + t * En);
7171
7173
  }, (e, t) => (t - e) / En, (e) => e.getHours());
@@ -7179,7 +7181,7 @@ C$.range;
7179
7181
  const _s = Yt(
7180
7182
  (e) => e.setHours(0, 0, 0, 0),
7181
7183
  (e, t) => e.setDate(e.getDate() + t),
7182
- (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * De) / Mn,
7184
+ (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * Le) / Mn,
7183
7185
  (e) => e.getDate() - 1
7184
7186
  );
7185
7187
  _s.range;
@@ -7200,13 +7202,13 @@ function gr(e) {
7200
7202
  t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);
7201
7203
  }, (t, n) => {
7202
7204
  t.setDate(t.getDate() + n * 7);
7203
- }, (t, n) => (n - t - (n.getTimezoneOffset() - t.getTimezoneOffset()) * De) / Wc);
7205
+ }, (t, n) => (n - t - (n.getTimezoneOffset() - t.getTimezoneOffset()) * Le) / Wc);
7204
7206
  }
7205
- const so = gr(0), Ea = gr(1), L$ = gr(2), D$ = gr(3), ii = gr(4), k$ = gr(5), R$ = gr(6);
7207
+ const so = gr(0), Ea = gr(1), D$ = gr(2), L$ = gr(3), ii = gr(4), k$ = gr(5), R$ = gr(6);
7206
7208
  so.range;
7207
7209
  Ea.range;
7208
- L$.range;
7209
7210
  D$.range;
7211
+ L$.range;
7210
7212
  ii.range;
7211
7213
  k$.range;
7212
7214
  R$.range;
@@ -7265,10 +7267,10 @@ function H$(e, t, n, r, i, s) {
7265
7267
  [Gr, 5, 5 * _n],
7266
7268
  [Gr, 15, 15 * _n],
7267
7269
  [Gr, 30, 30 * _n],
7268
- [s, 1, De],
7269
- [s, 5, 5 * De],
7270
- [s, 15, 15 * De],
7271
- [s, 30, 30 * De],
7270
+ [s, 1, Le],
7271
+ [s, 5, 5 * Le],
7272
+ [s, 15, 15 * Le],
7273
+ [s, 30, 30 * Le],
7272
7274
  [i, 1, En],
7273
7275
  [i, 3, 3 * En],
7274
7276
  [i, 6, 6 * En],
@@ -7315,8 +7317,8 @@ function _i(e, t, n) {
7315
7317
  }
7316
7318
  function F$(e) {
7317
7319
  var t = e.dateTime, n = e.date, r = e.time, i = e.periods, s = e.days, a = e.shortDays, o = e.months, l = e.shortMonths, c = Ei(i), u = Oi(i), d = Ei(s), h = Oi(s), p = Ei(a), f = Oi(a), g = Ei(o), m = Oi(o), v = Ei(l), b = Oi(l), _ = {
7318
- a: L,
7319
- A: k,
7320
+ a: A,
7321
+ A: R,
7320
7322
  b: B,
7321
7323
  B: K,
7322
7324
  c: null,
@@ -7363,12 +7365,12 @@ function F$(e) {
7363
7365
  j: MM,
7364
7366
  L: eg,
7365
7367
  m: AM,
7366
- M: LM,
7368
+ M: DM,
7367
7369
  p: tt,
7368
7370
  q: it,
7369
7371
  Q: nd,
7370
7372
  s: rd,
7371
- S: DM,
7373
+ S: LM,
7372
7374
  u: kM,
7373
7375
  U: RM,
7374
7376
  V: IM,
@@ -7381,7 +7383,7 @@ function F$(e) {
7381
7383
  Z: GM,
7382
7384
  "%": ed
7383
7385
  }, x = {
7384
- a: R,
7386
+ a: L,
7385
7387
  A: C,
7386
7388
  b: H,
7387
7389
  B: P,
@@ -7397,7 +7399,7 @@ function F$(e) {
7397
7399
  L: iM,
7398
7400
  m: tM,
7399
7401
  M: nM,
7400
- p: A,
7402
+ p: D,
7401
7403
  q: J$,
7402
7404
  Q: oM,
7403
7405
  s: lM,
@@ -7425,7 +7427,7 @@ function F$(e) {
7425
7427
  }
7426
7428
  function M(F, W) {
7427
7429
  return function(Z) {
7428
- var G = _i(1900, void 0, 1), ct = D(G, F, Z += "", 0), ot, St;
7430
+ var G = _i(1900, void 0, 1), ct = k(G, F, Z += "", 0), ot, St;
7429
7431
  if (ct != Z.length) return null;
7430
7432
  if ("Q" in G) return new Date(G.Q);
7431
7433
  if ("s" in G) return new Date(G.s * 1e3 + ("L" in G ? G.L : 0));
@@ -7436,7 +7438,7 @@ function F$(e) {
7436
7438
  return "Z" in G ? (G.H += G.Z / 100 | 0, G.M += G.Z % 100, Go(G)) : Vo(G);
7437
7439
  };
7438
7440
  }
7439
- function D(F, W, Z, G) {
7441
+ function k(F, W, Z, G) {
7440
7442
  for (var ct = 0, ot = W.length, St = Z.length, Nt, rt; ct < ot; ) {
7441
7443
  if (G >= St) return -1;
7442
7444
  if (Nt = W.charCodeAt(ct++), Nt === 37) {
@@ -7446,11 +7448,11 @@ function F$(e) {
7446
7448
  }
7447
7449
  return G;
7448
7450
  }
7449
- function A(F, W, Z) {
7451
+ function D(F, W, Z) {
7450
7452
  var G = c.exec(W.slice(Z));
7451
7453
  return G ? (F.p = u.get(G[0].toLowerCase()), Z + G[0].length) : -1;
7452
7454
  }
7453
- function R(F, W, Z) {
7455
+ function L(F, W, Z) {
7454
7456
  var G = p.exec(W.slice(Z));
7455
7457
  return G ? (F.w = f.get(G[0].toLowerCase()), Z + G[0].length) : -1;
7456
7458
  }
@@ -7467,18 +7469,18 @@ function F$(e) {
7467
7469
  return G ? (F.m = m.get(G[0].toLowerCase()), Z + G[0].length) : -1;
7468
7470
  }
7469
7471
  function U(F, W, Z) {
7470
- return D(F, t, W, Z);
7472
+ return k(F, t, W, Z);
7471
7473
  }
7472
7474
  function O(F, W, Z) {
7473
- return D(F, n, W, Z);
7475
+ return k(F, n, W, Z);
7474
7476
  }
7475
7477
  function $(F, W, Z) {
7476
- return D(F, r, W, Z);
7478
+ return k(F, r, W, Z);
7477
7479
  }
7478
- function L(F) {
7480
+ function A(F) {
7479
7481
  return a[F.getDay()];
7480
7482
  }
7481
- function k(F) {
7483
+ function R(F) {
7482
7484
  return s[F.getDay()];
7483
7485
  }
7484
7486
  function B(F) {
@@ -7717,10 +7719,10 @@ function CM(e, t) {
7717
7719
  function AM(e, t) {
7718
7720
  return yt(e.getUTCMonth() + 1, t, 2);
7719
7721
  }
7720
- function LM(e, t) {
7722
+ function DM(e, t) {
7721
7723
  return yt(e.getUTCMinutes(), t, 2);
7722
7724
  }
7723
- function DM(e, t) {
7725
+ function LM(e, t) {
7724
7726
  return yt(e.getUTCSeconds(), t, 2);
7725
7727
  }
7726
7728
  function kM(e) {
@@ -8193,7 +8195,7 @@ async function A2(e, t) {
8193
8195
  async function fg(e, t) {
8194
8196
  ve(e, Element) && (await M2(e, t), await C2(e, t), await A2(e, t));
8195
8197
  }
8196
- function L2(e, t) {
8198
+ function D2(e, t) {
8197
8199
  const { style: n } = e;
8198
8200
  t.backgroundColor && (n.backgroundColor = t.backgroundColor), t.width && (n.width = `${t.width}px`), t.height && (n.height = `${t.height}px`);
8199
8201
  const r = t.style;
@@ -8243,7 +8245,7 @@ function dd(e) {
8243
8245
  }
8244
8246
  return t;
8245
8247
  }
8246
- async function D2(e, t) {
8248
+ async function L2(e, t) {
8247
8249
  const n = [], r = [];
8248
8250
  return e.forEach((i) => {
8249
8251
  if ("cssRules" in i)
@@ -8291,7 +8293,7 @@ function k2(e) {
8291
8293
  async function R2(e, t) {
8292
8294
  if (e.ownerDocument == null)
8293
8295
  throw new Error("Provided element is not within a Document");
8294
- const n = Tn(e.ownerDocument.styleSheets), r = await D2(n, t);
8296
+ const n = Tn(e.ownerDocument.styleSheets), r = await L2(n, t);
8295
8297
  return k2(r);
8296
8298
  }
8297
8299
  async function I2(e, t) {
@@ -8311,7 +8313,7 @@ async function N2(e, t) {
8311
8313
  }
8312
8314
  async function P2(e, t = {}) {
8313
8315
  const { width: n, height: r } = cg(e, t), i = await oo(e, t, !0);
8314
- return await N2(i, t), await fg(i, t), L2(i, t), await e2(i, n, r);
8316
+ return await N2(i, t), await fg(i, t), D2(i, t), await e2(i, n, r);
8315
8317
  }
8316
8318
  async function mg(e, t = {}) {
8317
8319
  const { width: n, height: r } = cg(e, t), i = await P2(e, t), s = await wa(i), a = document.createElement("canvas"), o = a.getContext("2d"), l = t.pixelRatio || QM(), c = t.canvasWidth || n, u = t.canvasHeight || r;
@@ -8837,11 +8839,11 @@ var rC = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
8837
8839
  function iC(e) {
8838
8840
  return rC.test(e);
8839
8841
  }
8840
- var yg = "\\ud800-\\udfff", sC = "\\u0300-\\u036f", aC = "\\ufe20-\\ufe2f", oC = "\\u20d0-\\u20ff", lC = sC + aC + oC, xg = "\\u2700-\\u27bf", bg = "a-z\\xdf-\\xf6\\xf8-\\xff", cC = "\\xac\\xb1\\xd7\\xf7", uC = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", hC = "\\u2000-\\u206f", dC = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", _g = "A-Z\\xc0-\\xd6\\xd8-\\xde", pC = "\\ufe0e\\ufe0f", Eg = cC + uC + hC + dC, Og = "['’]", fd = "[" + Eg + "]", fC = "[" + lC + "]", Tg = "\\d+", mC = "[" + xg + "]", Sg = "[" + bg + "]", wg = "[^" + yg + Eg + Tg + xg + bg + _g + "]", gC = "\\ud83c[\\udffb-\\udfff]", vC = "(?:" + fC + "|" + gC + ")", yC = "[^" + yg + "]", $g = "(?:\\ud83c[\\udde6-\\uddff]){2}", Mg = "[\\ud800-\\udbff][\\udc00-\\udfff]", Dr = "[" + _g + "]", xC = "\\u200d", md = "(?:" + Sg + "|" + wg + ")", bC = "(?:" + Dr + "|" + wg + ")", gd = "(?:" + Og + "(?:d|ll|m|re|s|t|ve))?", vd = "(?:" + Og + "(?:D|LL|M|RE|S|T|VE))?", Cg = vC + "?", Ag = "[" + pC + "]?", _C = "(?:" + xC + "(?:" + [yC, $g, Mg].join("|") + ")" + Ag + Cg + ")*", EC = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", OC = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", TC = Ag + Cg + _C, SC = "(?:" + [mC, $g, Mg].join("|") + ")" + TC, wC = RegExp([
8841
- Dr + "?" + Sg + "+" + gd + "(?=" + [fd, Dr, "$"].join("|") + ")",
8842
- bC + "+" + vd + "(?=" + [fd, Dr + md, "$"].join("|") + ")",
8843
- Dr + "?" + md + "+" + gd,
8844
- Dr + "+" + vd,
8842
+ var yg = "\\ud800-\\udfff", sC = "\\u0300-\\u036f", aC = "\\ufe20-\\ufe2f", oC = "\\u20d0-\\u20ff", lC = sC + aC + oC, xg = "\\u2700-\\u27bf", bg = "a-z\\xdf-\\xf6\\xf8-\\xff", cC = "\\xac\\xb1\\xd7\\xf7", uC = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", hC = "\\u2000-\\u206f", dC = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", _g = "A-Z\\xc0-\\xd6\\xd8-\\xde", pC = "\\ufe0e\\ufe0f", Eg = cC + uC + hC + dC, Og = "['’]", fd = "[" + Eg + "]", fC = "[" + lC + "]", Tg = "\\d+", mC = "[" + xg + "]", Sg = "[" + bg + "]", wg = "[^" + yg + Eg + Tg + xg + bg + _g + "]", gC = "\\ud83c[\\udffb-\\udfff]", vC = "(?:" + fC + "|" + gC + ")", yC = "[^" + yg + "]", $g = "(?:\\ud83c[\\udde6-\\uddff]){2}", Mg = "[\\ud800-\\udbff][\\udc00-\\udfff]", Lr = "[" + _g + "]", xC = "\\u200d", md = "(?:" + Sg + "|" + wg + ")", bC = "(?:" + Lr + "|" + wg + ")", gd = "(?:" + Og + "(?:d|ll|m|re|s|t|ve))?", vd = "(?:" + Og + "(?:D|LL|M|RE|S|T|VE))?", Cg = vC + "?", Ag = "[" + pC + "]?", _C = "(?:" + xC + "(?:" + [yC, $g, Mg].join("|") + ")" + Ag + Cg + ")*", EC = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", OC = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", TC = Ag + Cg + _C, SC = "(?:" + [mC, $g, Mg].join("|") + ")" + TC, wC = RegExp([
8843
+ Lr + "?" + Sg + "+" + gd + "(?=" + [fd, Lr, "$"].join("|") + ")",
8844
+ bC + "+" + vd + "(?=" + [fd, Lr + md, "$"].join("|") + ")",
8845
+ Lr + "?" + md + "+" + gd,
8846
+ Lr + "+" + vd,
8845
8847
  OC,
8846
8848
  EC,
8847
8849
  Tg,
@@ -8854,21 +8856,21 @@ function MC(e, t, n) {
8854
8856
  return e = gs(e), t = t, t === void 0 ? iC(e) ? $C(e) : nC(e) : e.match(t) || [];
8855
8857
  }
8856
8858
  var CC = "['’]", AC = RegExp(CC, "g");
8857
- function Lg(e) {
8859
+ function Dg(e) {
8858
8860
  return function(t) {
8859
8861
  return F2(MC(tC(t).replace(AC, "")), e, "");
8860
8862
  };
8861
8863
  }
8862
- function LC(e, t, n) {
8864
+ function DC(e, t, n) {
8863
8865
  return e === e && (n !== void 0 && (e = e <= n ? e : n), t !== void 0 && (e = e >= t ? e : t)), e;
8864
8866
  }
8865
- function Dg(e, t, n) {
8866
- return n === void 0 && (n = t, t = void 0), n !== void 0 && (n = qr(n), n = n === n ? n : 0), t !== void 0 && (t = qr(t), t = t === t ? t : 0), LC(qr(e), t, n);
8867
+ function Lg(e, t, n) {
8868
+ return n === void 0 && (n = t, t = void 0), n !== void 0 && (n = qr(n), n = n === n ? n : 0), t !== void 0 && (t = qr(t), t = t === t ? t : 0), DC(qr(e), t, n);
8867
8869
  }
8868
- var DC = "Expected a function";
8870
+ var LC = "Expected a function";
8869
8871
  function kC(e, t, n) {
8870
8872
  if (typeof e != "function")
8871
- throw new TypeError(DC);
8873
+ throw new TypeError(LC);
8872
8874
  return setTimeout(function() {
8873
8875
  e.apply(void 0, n);
8874
8876
  }, t);
@@ -8893,7 +8895,7 @@ function BC(e, t) {
8893
8895
  function kg(e, t) {
8894
8896
  return Ka(e, t);
8895
8897
  }
8896
- var Sr = Lg(function(e, t, n) {
8898
+ var Sr = Dg(function(e, t, n) {
8897
8899
  return e + (n ? "-" : "") + t.toLowerCase();
8898
8900
  });
8899
8901
  function UC(e, t) {
@@ -8940,7 +8942,7 @@ function Rg(e) {
8940
8942
  function GC(e) {
8941
8943
  return e;
8942
8944
  }
8943
- var Js = 1, ta = 2, Pl = 3, Di = 4, yd = 1e-6;
8945
+ var Js = 1, ta = 2, Pl = 3, Li = 4, yd = 1e-6;
8944
8946
  function FC(e) {
8945
8947
  return "translate(" + e + ",0)";
8946
8948
  }
@@ -8957,17 +8959,17 @@ function qC() {
8957
8959
  return !this.__axis;
8958
8960
  }
8959
8961
  function lo(e, t) {
8960
- var n = [], r = null, i = null, s = 6, a = 6, o = 3, l = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, c = e === Js || e === Di ? -1 : 1, u = e === Di || e === ta ? "x" : "y", d = e === Js || e === Pl ? FC : zC;
8962
+ var n = [], r = null, i = null, s = 6, a = 6, o = 3, l = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, c = e === Js || e === Li ? -1 : 1, u = e === Li || e === ta ? "x" : "y", d = e === Js || e === Pl ? FC : zC;
8961
8963
  function h(p) {
8962
- var f = r ?? (t.ticks ? t.ticks.apply(t, n) : t.domain()), g = i ?? (t.tickFormat ? t.tickFormat.apply(t, n) : GC), m = Math.max(s, 0) + o, v = t.range(), b = +v[0] + l, _ = +v[v.length - 1] + l, E = (t.bandwidth ? WC : jC)(t.copy(), l), x = p.selection ? p.selection() : p, T = x.selectAll(".domain").data([null]), M = x.selectAll(".tick").data(f, t).order(), D = M.exit(), A = M.enter().append("g").attr("class", "tick"), R = M.select("line"), C = M.select("text");
8963
- T = T.merge(T.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), M = M.merge(A), R = R.merge(A.append("line").attr("stroke", "currentColor").attr(u + "2", c * s)), C = C.merge(A.append("text").attr("fill", "currentColor").attr(u, c * m).attr("dy", e === Js ? "0em" : e === Pl ? "0.71em" : "0.32em")), p !== x && (T = T.transition(p), M = M.transition(p), R = R.transition(p), C = C.transition(p), D = D.transition(p).attr("opacity", yd).attr("transform", function(H) {
8964
+ var f = r ?? (t.ticks ? t.ticks.apply(t, n) : t.domain()), g = i ?? (t.tickFormat ? t.tickFormat.apply(t, n) : GC), m = Math.max(s, 0) + o, v = t.range(), b = +v[0] + l, _ = +v[v.length - 1] + l, E = (t.bandwidth ? WC : jC)(t.copy(), l), x = p.selection ? p.selection() : p, T = x.selectAll(".domain").data([null]), M = x.selectAll(".tick").data(f, t).order(), k = M.exit(), D = M.enter().append("g").attr("class", "tick"), L = M.select("line"), C = M.select("text");
8965
+ T = T.merge(T.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), M = M.merge(D), L = L.merge(D.append("line").attr("stroke", "currentColor").attr(u + "2", c * s)), C = C.merge(D.append("text").attr("fill", "currentColor").attr(u, c * m).attr("dy", e === Js ? "0em" : e === Pl ? "0.71em" : "0.32em")), p !== x && (T = T.transition(p), M = M.transition(p), L = L.transition(p), C = C.transition(p), k = k.transition(p).attr("opacity", yd).attr("transform", function(H) {
8964
8966
  return isFinite(H = E(H)) ? d(H + l) : this.getAttribute("transform");
8965
- }), A.attr("opacity", yd).attr("transform", function(H) {
8967
+ }), D.attr("opacity", yd).attr("transform", function(H) {
8966
8968
  var P = this.parentNode.__axis;
8967
8969
  return d((P && isFinite(P = P(H)) ? P : E(H)) + l);
8968
- })), D.remove(), T.attr("d", e === Di || e === ta ? a ? "M" + c * a + "," + b + "H" + l + "V" + _ + "H" + c * a : "M" + l + "," + b + "V" + _ : a ? "M" + b + "," + c * a + "V" + l + "H" + _ + "V" + c * a : "M" + b + "," + l + "H" + _), M.attr("opacity", 1).attr("transform", function(H) {
8970
+ })), k.remove(), T.attr("d", e === Li || e === ta ? a ? "M" + c * a + "," + b + "H" + l + "V" + _ + "H" + c * a : "M" + l + "," + b + "V" + _ : a ? "M" + b + "," + c * a + "V" + l + "H" + _ + "V" + c * a : "M" + b + "," + l + "H" + _), M.attr("opacity", 1).attr("transform", function(H) {
8969
8971
  return d(E(H) + l);
8970
- }), R.attr(u + "2", c * s), C.attr(u, c * m).text(g), x.filter(qC).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", e === ta ? "start" : e === Di ? "end" : "middle"), x.each(function() {
8972
+ }), L.attr(u + "2", c * s), C.attr(u, c * m).text(g), x.filter(qC).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", e === ta ? "start" : e === Li ? "end" : "middle"), x.each(function() {
8971
8973
  this.__axis = E;
8972
8974
  });
8973
8975
  }
@@ -9003,7 +9005,7 @@ function Jc(e) {
9003
9005
  return lo(Pl, e);
9004
9006
  }
9005
9007
  function Ig(e) {
9006
- return lo(Di, e);
9008
+ return lo(Li, e);
9007
9009
  }
9008
9010
  const Bl = { capture: !0, passive: !1 };
9009
9011
  function Ul(e) {
@@ -9135,7 +9137,7 @@ function Ng() {
9135
9137
  return lA(ea);
9136
9138
  }
9137
9139
  function lA(e) {
9138
- var t = sA, n = iA, r = aA, i = !0, s = Lc("start", "brush", "end"), a = 6, o;
9140
+ var t = sA, n = iA, r = aA, i = !0, s = Dc("start", "brush", "end"), a = 6, o;
9139
9141
  function l(m) {
9140
9142
  var v = m.property("__brush", g).selectAll(".overlay").data([Hl("overlay")]);
9141
9143
  v.enter().append("rect").attr("class", "overlay").attr("pointer-events", "all").attr("cursor", pn.overlay).merge(v).each(function() {
@@ -9157,11 +9159,11 @@ function lA(e) {
9157
9159
  }).on("interrupt.brush end.brush", function(_) {
9158
9160
  u(this, arguments).end(_);
9159
9161
  }).tween("brush", function() {
9160
- var _ = this, E = _.__brush, x = u(_, arguments), T = E.selection, M = e.input(typeof v == "function" ? v.apply(this, arguments) : v, E.extent), D = xs(T, M);
9161
- function A(R) {
9162
- E.selection = R === 1 && M === null ? null : D(R), c.call(_), x.brush();
9162
+ var _ = this, E = _.__brush, x = u(_, arguments), T = E.selection, M = e.input(typeof v == "function" ? v.apply(this, arguments) : v, E.extent), k = xs(T, M);
9163
+ function D(L) {
9164
+ E.selection = L === 1 && M === null ? null : k(L), c.call(_), x.brush();
9163
9165
  }
9164
- return T !== null && M !== null ? A : A(1);
9166
+ return T !== null && M !== null ? D : D(1);
9165
9167
  }) : m.each(function() {
9166
9168
  var _ = this, E = arguments, x = _.__brush, T = e.input(typeof v == "function" ? v.apply(_, E) : v, x.extent), M = u(_, E).beforestart();
9167
9169
  Cl(_), x.selection = T === null ? null : T, c.call(_), M.start(b).brush(b).end(b);
@@ -9219,25 +9221,25 @@ function lA(e) {
9219
9221
  };
9220
9222
  function h(m) {
9221
9223
  if (o && !m.touches || !n.apply(this, arguments)) return;
9222
- var v = this, b = m.target.__data__.type, _ = (i && m.metaKey ? b = "overlay" : b) === "selection" ? xd : i && m.altKey ? $r : wr, E = e === Yo ? null : nA[b], x = e === ea ? null : rA[b], T = Xo(v), M = T.extent, D = T.selection, A = M[0][0], R, C, H = M[0][1], P, U, O = M[1][0], $, L, k = M[1][1], B, K, j = 0, z = 0, X, lt = E && x && i && m.shiftKey, J, Y, tt = Array.from(m.touches || [m], (rt) => {
9224
+ var v = this, b = m.target.__data__.type, _ = (i && m.metaKey ? b = "overlay" : b) === "selection" ? xd : i && m.altKey ? $r : wr, E = e === Yo ? null : nA[b], x = e === ea ? null : rA[b], T = Xo(v), M = T.extent, k = T.selection, D = M[0][0], L, C, H = M[0][1], P, U, O = M[1][0], $, A, R = M[1][1], B, K, j = 0, z = 0, X, lt = E && x && i && m.shiftKey, J, Y, tt = Array.from(m.touches || [m], (rt) => {
9223
9225
  const vt = rt.identifier;
9224
9226
  return rt = rr(rt, v), rt.point0 = rt.slice(), rt.identifier = vt, rt;
9225
9227
  });
9226
9228
  Cl(v);
9227
9229
  var it = u(v, arguments, !0).beforestart();
9228
9230
  if (b === "overlay") {
9229
- D && (X = !0);
9231
+ k && (X = !0);
9230
9232
  const rt = [tt[0], tt[1] || tt[0]];
9231
- T.selection = D = [[
9232
- R = e === Yo ? A : re(rt[0][0], rt[1][0]),
9233
+ T.selection = k = [[
9234
+ L = e === Yo ? D : re(rt[0][0], rt[1][0]),
9233
9235
  P = e === ea ? H : re(rt[0][1], rt[1][1])
9234
9236
  ], [
9235
9237
  $ = e === Yo ? O : ne(rt[0][0], rt[1][0]),
9236
- B = e === ea ? k : ne(rt[0][1], rt[1][1])
9238
+ B = e === ea ? R : ne(rt[0][1], rt[1][1])
9237
9239
  ]], tt.length > 1 && ct(m);
9238
9240
  } else
9239
- R = D[0][0], P = D[0][1], $ = D[1][0], B = D[1][1];
9240
- C = R, U = P, L = $, K = B;
9241
+ L = k[0][0], P = k[0][1], $ = k[1][0], B = k[1][1];
9242
+ C = L, U = P, A = $, K = B;
9241
9243
  var F = I(v).attr("pointer-events", "none"), W = F.selectAll(".overlay").attr("cursor", pn[b]);
9242
9244
  if (m.touches)
9243
9245
  it.moved = G, it.ended = ot;
@@ -9264,19 +9266,19 @@ function lA(e) {
9264
9266
  switch (j = vt[0] - $e[0], z = vt[1] - $e[1], _) {
9265
9267
  case qo:
9266
9268
  case xd: {
9267
- E && (j = ne(A - R, re(O - $, j)), C = R + j, L = $ + j), x && (z = ne(H - P, re(k - B, z)), U = P + z, K = B + z);
9269
+ E && (j = ne(D - L, re(O - $, j)), C = L + j, A = $ + j), x && (z = ne(H - P, re(R - B, z)), U = P + z, K = B + z);
9268
9270
  break;
9269
9271
  }
9270
9272
  case wr: {
9271
- tt[1] ? (E && (C = ne(A, re(O, tt[0][0])), L = ne(A, re(O, tt[1][0])), E = 1), x && (U = ne(H, re(k, tt[0][1])), K = ne(H, re(k, tt[1][1])), x = 1)) : (E < 0 ? (j = ne(A - R, re(O - R, j)), C = R + j, L = $) : E > 0 && (j = ne(A - $, re(O - $, j)), C = R, L = $ + j), x < 0 ? (z = ne(H - P, re(k - P, z)), U = P + z, K = B) : x > 0 && (z = ne(H - B, re(k - B, z)), U = P, K = B + z));
9273
+ tt[1] ? (E && (C = ne(D, re(O, tt[0][0])), A = ne(D, re(O, tt[1][0])), E = 1), x && (U = ne(H, re(R, tt[0][1])), K = ne(H, re(R, tt[1][1])), x = 1)) : (E < 0 ? (j = ne(D - L, re(O - L, j)), C = L + j, A = $) : E > 0 && (j = ne(D - $, re(O - $, j)), C = L, A = $ + j), x < 0 ? (z = ne(H - P, re(R - P, z)), U = P + z, K = B) : x > 0 && (z = ne(H - B, re(R - B, z)), U = P, K = B + z));
9272
9274
  break;
9273
9275
  }
9274
9276
  case $r: {
9275
- E && (C = ne(A, re(O, R - j * E)), L = ne(A, re(O, $ + j * E))), x && (U = ne(H, re(k, P - z * x)), K = ne(H, re(k, B + z * x)));
9277
+ E && (C = ne(D, re(O, L - j * E)), A = ne(D, re(O, $ + j * E))), x && (U = ne(H, re(R, P - z * x)), K = ne(H, re(R, B + z * x)));
9276
9278
  break;
9277
9279
  }
9278
9280
  }
9279
- L < C && (E *= -1, ae = R, R = $, $ = ae, ae = C, C = L, L = ae, b in Od && W.attr("cursor", pn[b = Od[b]])), K < U && (x *= -1, ae = P, P = B, B = ae, ae = U, U = K, K = ae, b in Td && W.attr("cursor", pn[b = Td[b]])), T.selection && (D = T.selection), J && (C = D[0][0], L = D[1][0]), Y && (U = D[0][1], K = D[1][1]), (D[0][0] !== C || D[0][1] !== U || D[1][0] !== L || D[1][1] !== K) && (T.selection = [[C, U], [L, K]], c.call(v), it.brush(rt, _.name));
9281
+ A < C && (E *= -1, ae = L, L = $, $ = ae, ae = C, C = A, A = ae, b in Od && W.attr("cursor", pn[b = Od[b]])), K < U && (x *= -1, ae = P, P = B, B = ae, ae = U, U = K, K = ae, b in Td && W.attr("cursor", pn[b = Td[b]])), T.selection && (k = T.selection), J && (C = k[0][0], A = k[1][0]), Y && (U = k[0][1], K = k[1][1]), (k[0][0] !== C || k[0][1] !== U || k[1][0] !== A || k[1][1] !== K) && (T.selection = [[C, U], [A, K]], c.call(v), it.brush(rt, _.name));
9280
9282
  }
9281
9283
  function ot(rt) {
9282
9284
  if (eA(rt), rt.touches) {
@@ -9286,7 +9288,7 @@ function lA(e) {
9286
9288
  }, 500);
9287
9289
  } else
9288
9290
  KC(rt.view, X), Z.on("keydown.brush keyup.brush mousemove.brush mouseup.brush", null);
9289
- F.attr("pointer-events", "all"), W.attr("cursor", pn.overlay), T.selection && (D = T.selection), oA(D) && (T.selection = null, c.call(v)), it.end(rt, _.name);
9291
+ F.attr("pointer-events", "all"), W.attr("cursor", pn.overlay), T.selection && (k = T.selection), oA(k) && (T.selection = null, c.call(v)), it.end(rt, _.name);
9290
9292
  }
9291
9293
  function St(rt) {
9292
9294
  switch (rt.keyCode) {
@@ -9295,11 +9297,11 @@ function lA(e) {
9295
9297
  break;
9296
9298
  }
9297
9299
  case 18: {
9298
- _ === wr && (E && ($ = L - j * E, R = C + j * E), x && (B = K - z * x, P = U + z * x), _ = $r, ct(rt));
9300
+ _ === wr && (E && ($ = A - j * E, L = C + j * E), x && (B = K - z * x, P = U + z * x), _ = $r, ct(rt));
9299
9301
  break;
9300
9302
  }
9301
9303
  case 32: {
9302
- (_ === wr || _ === $r) && (E < 0 ? $ = L - j : E > 0 && (R = C - j), x < 0 ? B = K - z : x > 0 && (P = U - z), _ = qo, W.attr("cursor", pn.selection), ct(rt));
9304
+ (_ === wr || _ === $r) && (E < 0 ? $ = A - j : E > 0 && (L = C - j), x < 0 ? B = K - z : x > 0 && (P = U - z), _ = qo, W.attr("cursor", pn.selection), ct(rt));
9303
9305
  break;
9304
9306
  }
9305
9307
  default:
@@ -9314,11 +9316,11 @@ function lA(e) {
9314
9316
  break;
9315
9317
  }
9316
9318
  case 18: {
9317
- _ === $r && (E < 0 ? $ = L : E > 0 && (R = C), x < 0 ? B = K : x > 0 && (P = U), _ = wr, ct(rt));
9319
+ _ === $r && (E < 0 ? $ = A : E > 0 && (L = C), x < 0 ? B = K : x > 0 && (P = U), _ = wr, ct(rt));
9318
9320
  break;
9319
9321
  }
9320
9322
  case 32: {
9321
- _ === qo && (rt.altKey ? (E && ($ = L - j * E, R = C + j * E), x && (B = K - z * x, P = U + z * x), _ = $r) : (E < 0 ? $ = L : E > 0 && (R = C), x < 0 ? B = K : x > 0 && (P = U), _ = wr), W.attr("cursor", pn[b]), ct(rt));
9323
+ _ === qo && (rt.altKey ? (E && ($ = A - j * E, L = C + j * E), x && (B = K - z * x, P = U + z * x), _ = $r) : (E < 0 ? $ = A : E > 0 && (L = C), x < 0 ? B = K : x > 0 && (P = U), _ = wr), W.attr("cursor", pn[b]), ct(rt));
9322
9324
  break;
9323
9325
  }
9324
9326
  default:
@@ -9509,7 +9511,7 @@ function ql(e, t) {
9509
9511
  }
9510
9512
  ql.invert = ql;
9511
9513
  function Hg(e, t, n) {
9512
- return (e %= Se) ? t || n ? Wl(Ad(e), Ld(t, n)) : Ad(e) : t || n ? Ld(t, n) : ql;
9514
+ return (e %= Se) ? t || n ? Wl(Ad(e), Dd(t, n)) : Ad(e) : t || n ? Dd(t, n) : ql;
9513
9515
  }
9514
9516
  function Cd(e) {
9515
9517
  return function(t, n) {
@@ -9520,7 +9522,7 @@ function Ad(e) {
9520
9522
  var t = Cd(e);
9521
9523
  return t.invert = Cd(-e), t;
9522
9524
  }
9523
- function Ld(e, t) {
9525
+ function Dd(e, t) {
9524
9526
  var n = wt(e), r = xt(e), i = wt(t), s = xt(t);
9525
9527
  function a(o, l) {
9526
9528
  var c = wt(l), u = wt(o) * c, d = xt(o) * c, h = xt(l), p = h * n + u * r;
@@ -9549,12 +9551,12 @@ function gA(e) {
9549
9551
  function vA(e, t, n, r, i, s) {
9550
9552
  if (n) {
9551
9553
  var a = wt(t), o = xt(t), l = r * n;
9552
- i == null ? (i = t + r * Se, s = t - l / 2) : (i = Dd(a, i), s = Dd(a, s), (r > 0 ? i < s : i > s) && (i += r * Se));
9554
+ i == null ? (i = t + r * Se, s = t - l / 2) : (i = Ld(a, i), s = Ld(a, s), (r > 0 ? i < s : i > s) && (i += r * Se));
9553
9555
  for (var c, u = i; r > 0 ? u > s : u < s; u -= l)
9554
9556
  c = zl([a, -o * wt(u), -o * xt(u)]), e.point(c[0], c[1]);
9555
9557
  }
9556
9558
  }
9557
- function Dd(e, t) {
9559
+ function Ld(e, t) {
9558
9560
  t = ai(t), t[0] -= e, jl(t);
9559
9561
  var n = mA(-t[1]);
9560
9562
  return ((-t[2] < 0 ? -n : n) + Se - Ot) % Se;
@@ -9641,14 +9643,14 @@ function yA(e, t) {
9641
9643
  for (var c = 0, u = e.length; c < u; ++c)
9642
9644
  if (h = (d = e[c]).length)
9643
9645
  for (var d, h, p = d[h - 1], f = Ko(p), g = p[1] / 2 + Sd, m = xt(g), v = wt(g), b = 0; b < h; ++b, f = E, m = T, v = M, p = _) {
9644
- var _ = d[b], E = Ko(_), x = _[1] / 2 + Sd, T = xt(x), M = wt(x), D = E - f, A = D >= 0 ? 1 : -1, R = A * D, C = R > ft, H = m * T;
9645
- if (l.add(lr(H * A * xt(R), v * M + H * wt(R))), a += C ? D + A * Se : D, C ^ f >= n ^ E >= n) {
9646
+ var _ = d[b], E = Ko(_), x = _[1] / 2 + Sd, T = xt(x), M = wt(x), k = E - f, D = k >= 0 ? 1 : -1, L = D * k, C = L > ft, H = m * T;
9647
+ if (l.add(lr(H * D * xt(L), v * M + H * wt(L))), a += C ? k + D * Se : k, C ^ f >= n ^ E >= n) {
9646
9648
  var P = Ma(ai(p), ai(_));
9647
9649
  jl(P);
9648
9650
  var U = Ma(s, P);
9649
9651
  jl(U);
9650
- var O = (C ^ D >= 0 ? -1 : 1) * An(U[2]);
9651
- (r > O || r === O && (P[0] || P[1])) && (o += C ^ D >= 0 ? 1 : -1);
9652
+ var O = (C ^ k >= 0 ? -1 : 1) * An(U[2]);
9653
+ (r > O || r === O && (P[0] || P[1])) && (o += C ^ k >= 0 ? 1 : -1);
9652
9654
  }
9653
9655
  }
9654
9656
  return (a < -Ot || a < Ot && l < -Bg) ^ o & 1;
@@ -9691,11 +9693,11 @@ function Fg(e, t, n, r) {
9691
9693
  }
9692
9694
  function _() {
9693
9695
  v(d[0][0], d[0][1]), o.lineEnd();
9694
- var E = o.clean(), x = a.result(), T, M = x.length, D, A, R;
9696
+ var E = o.clean(), x = a.result(), T, M = x.length, k, D, L;
9695
9697
  if (d.pop(), c.push(d), d = null, !!M) {
9696
9698
  if (E & 1) {
9697
- if (A = x[0], (D = A.length - 1) > 0) {
9698
- for (l || (i.polygonStart(), l = !0), i.lineStart(), T = 0; T < D; ++T) i.point((R = A[T])[0], R[1]);
9699
+ if (D = x[0], (k = D.length - 1) > 0) {
9700
+ for (l || (i.polygonStart(), l = !0), i.lineStart(), T = 0; T < k; ++T) i.point((L = D[T])[0], L[1]);
9699
9701
  i.lineEnd();
9700
9702
  }
9701
9703
  return;
@@ -9789,17 +9791,17 @@ function TA(e) {
9789
9791
  function l(u, d, h) {
9790
9792
  var p = ai(u), f = ai(d), g = [1, 0, 0], m = Ma(p, f), v = Rs(m, m), b = m[0], _ = v - b * b;
9791
9793
  if (!_) return !h && u;
9792
- var E = t * v / _, x = -t * b / _, T = Ma(g, m), M = Is(g, E), D = Is(m, x);
9793
- Zo(M, D);
9794
- var A = T, R = Rs(M, A), C = Rs(A, A), H = R * R - C * (Rs(M, M) - 1);
9794
+ var E = t * v / _, x = -t * b / _, T = Ma(g, m), M = Is(g, E), k = Is(m, x);
9795
+ Zo(M, k);
9796
+ var D = T, L = Rs(M, D), C = Rs(D, D), H = L * L - C * (Rs(M, M) - 1);
9795
9797
  if (!(H < 0)) {
9796
- var P = je(H), U = Is(A, (-R - P) / C);
9798
+ var P = je(H), U = Is(D, (-L - P) / C);
9797
9799
  if (Zo(U, M), U = zl(U), !h) return U;
9798
- var O = u[0], $ = d[0], L = u[1], k = d[1], B;
9800
+ var O = u[0], $ = d[0], A = u[1], R = d[1], B;
9799
9801
  $ < O && (B = O, O = $, $ = B);
9800
9802
  var K = $ - O, j = Tt(K - ft) < Ot, z = j || K < Ot;
9801
- if (!j && k < L && (B = L, L = k, k = B), z ? j ? L + k > 0 ^ U[1] < (Tt(U[0] - O) < Ot ? L : k) : L <= U[1] && U[1] <= k : K > ft ^ (O <= U[0] && U[0] <= $)) {
9802
- var X = Is(A, (-R + P) / C);
9803
+ if (!j && R < A && (B = A, A = R, R = B), z ? j ? A + R > 0 ^ U[1] < (Tt(U[0] - O) < Ot ? A : R) : A <= U[1] && U[1] <= R : K > ft ^ (O <= U[0] && U[0] <= $)) {
9804
+ var X = Is(D, (-L + P) / C);
9803
9805
  return Zo(X, M), [U, zl(X)];
9804
9806
  }
9805
9807
  }
@@ -9876,44 +9878,44 @@ function wA(e, t, n, r) {
9876
9878
  }
9877
9879
  return function(c) {
9878
9880
  var u = c, d = Vg(), h, p, f, g, m, v, b, _, E, x, T, M = {
9879
- point: D,
9881
+ point: k,
9880
9882
  lineStart: H,
9881
9883
  lineEnd: P,
9882
- polygonStart: R,
9884
+ polygonStart: L,
9883
9885
  polygonEnd: C
9884
9886
  };
9885
- function D(O, $) {
9887
+ function k(O, $) {
9886
9888
  i(O, $) && u.point(O, $);
9887
9889
  }
9888
- function A() {
9889
- for (var O = 0, $ = 0, L = p.length; $ < L; ++$)
9890
- for (var k = p[$], B = 1, K = k.length, j = k[0], z, X, lt = j[0], J = j[1]; B < K; ++B)
9891
- z = lt, X = J, j = k[B], lt = j[0], J = j[1], X <= r ? J > r && (lt - z) * (r - X) > (J - X) * (e - z) && ++O : J <= r && (lt - z) * (r - X) < (J - X) * (e - z) && --O;
9890
+ function D() {
9891
+ for (var O = 0, $ = 0, A = p.length; $ < A; ++$)
9892
+ for (var R = p[$], B = 1, K = R.length, j = R[0], z, X, lt = j[0], J = j[1]; B < K; ++B)
9893
+ z = lt, X = J, j = R[B], lt = j[0], J = j[1], X <= r ? J > r && (lt - z) * (r - X) > (J - X) * (e - z) && ++O : J <= r && (lt - z) * (r - X) < (J - X) * (e - z) && --O;
9892
9894
  return O;
9893
9895
  }
9894
- function R() {
9896
+ function L() {
9895
9897
  u = d, h = [], p = [], T = !0;
9896
9898
  }
9897
9899
  function C() {
9898
- var O = A(), $ = T && O, L = (h = Rg(h)).length;
9899
- ($ || L) && (c.polygonStart(), $ && (c.lineStart(), s(null, null, 1, c), c.lineEnd()), L && Gg(h, o, O, s, c), c.polygonEnd()), u = c, h = p = f = null;
9900
+ var O = D(), $ = T && O, A = (h = Rg(h)).length;
9901
+ ($ || A) && (c.polygonStart(), $ && (c.lineStart(), s(null, null, 1, c), c.lineEnd()), A && Gg(h, o, O, s, c), c.polygonEnd()), u = c, h = p = f = null;
9900
9902
  }
9901
9903
  function H() {
9902
9904
  M.point = U, p && p.push(f = []), x = !0, E = !1, b = _ = NaN;
9903
9905
  }
9904
9906
  function P() {
9905
- h && (U(g, m), v && E && d.rejoin(), h.push(d.result())), M.point = D, E && u.lineEnd();
9907
+ h && (U(g, m), v && E && d.rejoin(), h.push(d.result())), M.point = k, E && u.lineEnd();
9906
9908
  }
9907
9909
  function U(O, $) {
9908
- var L = i(O, $);
9910
+ var A = i(O, $);
9909
9911
  if (p && f.push([O, $]), x)
9910
- g = O, m = $, v = L, x = !1, L && (u.lineStart(), u.point(O, $));
9911
- else if (L && E) u.point(O, $);
9912
+ g = O, m = $, v = A, x = !1, A && (u.lineStart(), u.point(O, $));
9913
+ else if (A && E) u.point(O, $);
9912
9914
  else {
9913
- var k = [b = Math.max(Ps, Math.min(ki, b)), _ = Math.max(Ps, Math.min(ki, _))], B = [O = Math.max(Ps, Math.min(ki, O)), $ = Math.max(Ps, Math.min(ki, $))];
9914
- SA(k, B, e, t, n, r) ? (E || (u.lineStart(), u.point(k[0], k[1])), u.point(B[0], B[1]), L || u.lineEnd(), T = !1) : L && (u.lineStart(), u.point(O, $), T = !1);
9915
+ var R = [b = Math.max(Ps, Math.min(ki, b)), _ = Math.max(Ps, Math.min(ki, _))], B = [O = Math.max(Ps, Math.min(ki, O)), $ = Math.max(Ps, Math.min(ki, $))];
9916
+ SA(R, B, e, t, n, r) ? (E || (u.lineStart(), u.point(R[0], R[1])), u.point(B[0], B[1]), A || u.lineEnd(), T = !1) : A && (u.lineStart(), u.point(O, $), T = !1);
9915
9917
  }
9916
- b = O, _ = $, E = L;
9918
+ b = O, _ = $, E = A;
9917
9919
  }
9918
9920
  return M;
9919
9921
  };
@@ -9946,7 +9948,7 @@ function Wg(e, t) {
9946
9948
  function CA() {
9947
9949
  Wg(zg, jg);
9948
9950
  }
9949
- var oi = 1 / 0, Ca = oi, ls = -oi, Aa = ls, La = {
9951
+ var oi = 1 / 0, Ca = oi, ls = -oi, Aa = ls, Da = {
9950
9952
  point: AA,
9951
9953
  lineStart: ke,
9952
9954
  lineEnd: ke,
@@ -9960,49 +9962,49 @@ var oi = 1 / 0, Ca = oi, ls = -oi, Aa = ls, La = {
9960
9962
  function AA(e, t) {
9961
9963
  e < oi && (oi = e), e > ls && (ls = e), t < Ca && (Ca = t), t > Aa && (Aa = t);
9962
9964
  }
9963
- var Ql = 0, Jl = 0, Ri = 0, Da = 0, ka = 0, zr = 0, tc = 0, ec = 0, Ii = 0, qg, Yg, tn, en, Le = {
9965
+ var Ql = 0, Jl = 0, Ri = 0, La = 0, ka = 0, zr = 0, tc = 0, ec = 0, Ii = 0, qg, Yg, tn, en, De = {
9964
9966
  point: cr,
9965
9967
  lineStart: Id,
9966
9968
  lineEnd: Nd,
9967
9969
  polygonStart: function() {
9968
- Le.lineStart = kA, Le.lineEnd = RA;
9970
+ De.lineStart = kA, De.lineEnd = RA;
9969
9971
  },
9970
9972
  polygonEnd: function() {
9971
- Le.point = cr, Le.lineStart = Id, Le.lineEnd = Nd;
9973
+ De.point = cr, De.lineStart = Id, De.lineEnd = Nd;
9972
9974
  },
9973
9975
  result: function() {
9974
- var e = Ii ? [tc / Ii, ec / Ii] : zr ? [Da / zr, ka / zr] : Ri ? [Ql / Ri, Jl / Ri] : [NaN, NaN];
9975
- return Ql = Jl = Ri = Da = ka = zr = tc = ec = Ii = 0, e;
9976
+ var e = Ii ? [tc / Ii, ec / Ii] : zr ? [La / zr, ka / zr] : Ri ? [Ql / Ri, Jl / Ri] : [NaN, NaN];
9977
+ return Ql = Jl = Ri = La = ka = zr = tc = ec = Ii = 0, e;
9976
9978
  }
9977
9979
  };
9978
9980
  function cr(e, t) {
9979
9981
  Ql += e, Jl += t, ++Ri;
9980
9982
  }
9981
9983
  function Id() {
9982
- Le.point = LA;
9983
- }
9984
- function LA(e, t) {
9985
- Le.point = DA, cr(tn = e, en = t);
9984
+ De.point = DA;
9986
9985
  }
9987
9986
  function DA(e, t) {
9987
+ De.point = LA, cr(tn = e, en = t);
9988
+ }
9989
+ function LA(e, t) {
9988
9990
  var n = e - tn, r = t - en, i = je(n * n + r * r);
9989
- Da += i * (tn + e) / 2, ka += i * (en + t) / 2, zr += i, cr(tn = e, en = t);
9991
+ La += i * (tn + e) / 2, ka += i * (en + t) / 2, zr += i, cr(tn = e, en = t);
9990
9992
  }
9991
9993
  function Nd() {
9992
- Le.point = cr;
9994
+ De.point = cr;
9993
9995
  }
9994
9996
  function kA() {
9995
- Le.point = IA;
9997
+ De.point = IA;
9996
9998
  }
9997
9999
  function RA() {
9998
10000
  Xg(qg, Yg);
9999
10001
  }
10000
10002
  function IA(e, t) {
10001
- Le.point = Xg, cr(qg = tn = e, Yg = en = t);
10003
+ De.point = Xg, cr(qg = tn = e, Yg = en = t);
10002
10004
  }
10003
10005
  function Xg(e, t) {
10004
10006
  var n = e - tn, r = t - en, i = je(n * n + r * r);
10005
- Da += i * (tn + e) / 2, ka += i * (en + t) / 2, zr += i, i = en * e - tn * t, tc += i * (tn + e), ec += i * (en + t), Ii += i * 3, cr(tn = e, en = t);
10007
+ La += i * (tn + e) / 2, ka += i * (en + t) / 2, zr += i, i = en * e - tn * t, tc += i * (tn + e), ec += i * (en + t), Ii += i * 3, cr(tn = e, en = t);
10006
10008
  }
10007
10009
  function Zg(e) {
10008
10010
  this._context = e;
@@ -10143,9 +10145,9 @@ function BA(e, t) {
10143
10145
  }, a.measure = function(o) {
10144
10146
  return kr(o, i(cs)), cs.result();
10145
10147
  }, a.bounds = function(o) {
10146
- return kr(o, i(La)), La.result();
10148
+ return kr(o, i(Da)), Da.result();
10147
10149
  }, a.centroid = function(o) {
10148
- return kr(o, i(Le)), Le.result();
10150
+ return kr(o, i(De)), De.result();
10149
10151
  }, a.projection = function(o) {
10150
10152
  return arguments.length ? (i = o == null ? (e = null, Yl) : (e = o).stream, a) : e;
10151
10153
  }, a.context = function(o) {
@@ -10195,7 +10197,7 @@ rc.prototype = {
10195
10197
  };
10196
10198
  function eu(e, t, n) {
10197
10199
  var r = e.clipExtent && e.clipExtent();
10198
- return e.scale(150).translate([0, 0]), r != null && e.clipExtent(null), kr(n, e.stream(La)), t(La.result()), r != null && e.clipExtent(r), e;
10200
+ return e.scale(150).translate([0, 0]), r != null && e.clipExtent(null), kr(n, e.stream(Da)), t(Da.result()), r != null && e.clipExtent(r), e;
10199
10201
  }
10200
10202
  function ev(e, t, n) {
10201
10203
  return eu(e, function(r) {
@@ -10233,8 +10235,8 @@ function zA(e, t) {
10233
10235
  function n(r, i, s, a, o, l, c, u, d, h, p, f, g, m) {
10234
10236
  var v = c - r, b = u - i, _ = v * v + b * b;
10235
10237
  if (_ > 4 * t && g--) {
10236
- var E = a + h, x = o + p, T = l + f, M = je(E * E + x * x + T * T), D = An(T /= M), A = Tt(Tt(T) - 1) < Ot || Tt(s - d) < Ot ? (s + d) / 2 : lr(x, E), R = e(A, D), C = R[0], H = R[1], P = C - r, U = H - i, O = b * P - v * U;
10237
- (O * O / _ > t || Tt((v * P + b * U) / _ - 0.5) > 0.3 || a * h + o * p + l * f < GA) && (n(r, i, s, a, o, l, C, H, A, E /= M, x /= M, T, g, m), m.point(C, H), n(C, H, A, E, x, T, c, u, d, h, p, f, g, m));
10238
+ var E = a + h, x = o + p, T = l + f, M = je(E * E + x * x + T * T), k = An(T /= M), D = Tt(Tt(T) - 1) < Ot || Tt(s - d) < Ot ? (s + d) / 2 : lr(x, E), L = e(D, k), C = L[0], H = L[1], P = C - r, U = H - i, O = b * P - v * U;
10239
+ (O * O / _ > t || Tt((v * P + b * U) / _ - 0.5) > 0.3 || a * h + o * p + l * f < GA) && (n(r, i, s, a, o, l, C, H, D, E /= M, x /= M, T, g, m), m.point(C, H), n(C, H, D, E, x, T, c, u, d, h, p, f, g, m));
10238
10240
  }
10239
10241
  }
10240
10242
  return function(r) {
@@ -10249,15 +10251,15 @@ function zA(e, t) {
10249
10251
  r.polygonEnd(), m.lineStart = b;
10250
10252
  }
10251
10253
  };
10252
- function v(D, A) {
10253
- D = e(D, A), r.point(D[0], D[1]);
10254
+ function v(k, D) {
10255
+ k = e(k, D), r.point(k[0], k[1]);
10254
10256
  }
10255
10257
  function b() {
10256
10258
  d = NaN, m.point = _, r.lineStart();
10257
10259
  }
10258
- function _(D, A) {
10259
- var R = ai([D, A]), C = e(D, A);
10260
- n(d, h, u, p, f, g, d = C[0], h = C[1], u = D, p = R[0], f = R[1], g = R[2], Vd, r), r.point(d, h);
10260
+ function _(k, D) {
10261
+ var L = ai([k, D]), C = e(k, D);
10262
+ n(d, h, u, p, f, g, d = C[0], h = C[1], u = k, p = L[0], f = L[1], g = L[2], Vd, r), r.point(d, h);
10261
10263
  }
10262
10264
  function E() {
10263
10265
  m.point = v, r.lineEnd();
@@ -10265,8 +10267,8 @@ function zA(e, t) {
10265
10267
  function x() {
10266
10268
  b(), m.point = T, m.lineEnd = M;
10267
10269
  }
10268
- function T(D, A) {
10269
- _(i = D, A), s = d, a = h, o = p, l = f, c = g, m.point = _;
10270
+ function T(k, D) {
10271
+ _(i = k, D), s = d, a = h, o = p, l = f, c = g, m.point = _;
10270
10272
  }
10271
10273
  function M() {
10272
10274
  n(d, h, u, p, f, g, s, a, i, o, l, c, Vd, r), m.lineEnd = E, E();
@@ -10311,15 +10313,15 @@ function co(e) {
10311
10313
  })();
10312
10314
  }
10313
10315
  function nv(e) {
10314
- var t, n = 150, r = 480, i = 250, s = 0, a = 0, o = 0, l = 0, c = 0, u, d = 0, h = 1, p = 1, f = null, g = Rd, m = null, v, b, _, E = Yl, x = 0.5, T, M, D, A, R;
10316
+ var t, n = 150, r = 480, i = 250, s = 0, a = 0, o = 0, l = 0, c = 0, u, d = 0, h = 1, p = 1, f = null, g = Rd, m = null, v, b, _, E = Yl, x = 0.5, T, M, k, D, L;
10315
10317
  function C(O) {
10316
- return D(O[0] * Ut, O[1] * Ut);
10318
+ return k(O[0] * Ut, O[1] * Ut);
10317
10319
  }
10318
10320
  function H(O) {
10319
- return O = D.invert(O[0], O[1]), O && [O[0] * ce, O[1] * ce];
10321
+ return O = k.invert(O[0], O[1]), O && [O[0] * ce, O[1] * ce];
10320
10322
  }
10321
10323
  C.stream = function(O) {
10322
- return A && R === O ? A : A = jA(WA(u)(g(T(E(R = O)))));
10324
+ return D && L === O ? D : D = jA(WA(u)(g(T(E(L = O)))));
10323
10325
  }, C.preclip = function(O) {
10324
10326
  return arguments.length ? (g = O, f = void 0, U()) : g;
10325
10327
  }, C.postclip = function(O) {
@@ -10355,10 +10357,10 @@ function nv(e) {
10355
10357
  };
10356
10358
  function P() {
10357
10359
  var O = Fd(n, 0, 0, h, p, d).apply(null, t(s, a)), $ = Fd(n, r - O[0], i - O[1], h, p, d);
10358
- return u = Hg(o, l, c), M = Wl(t, $), D = Wl(u, M), T = Gd(M, x), U();
10360
+ return u = Hg(o, l, c), M = Wl(t, $), k = Wl(u, M), T = Gd(M, x), U();
10359
10361
  }
10360
10362
  function U() {
10361
- return A = R = null, C;
10363
+ return D = L = null, C;
10362
10364
  }
10363
10365
  return function() {
10364
10366
  return t = e.apply(this, arguments), C.invert = t.invert && H, P();
@@ -10431,7 +10433,7 @@ Ia.invert = Ia;
10431
10433
  function JA() {
10432
10434
  return co(Ia).scale(152.63);
10433
10435
  }
10434
- function tL(e, t) {
10436
+ function tD(e, t) {
10435
10437
  var n = wt(e), r = e === t ? xt(e) : (n - wt(t)) / (t - e), i = n / r + e;
10436
10438
  if (Tt(r) < Ot) return Ia;
10437
10439
  function s(a, o) {
@@ -10443,10 +10445,10 @@ function tL(e, t) {
10443
10445
  return l * r < 0 && (c -= ft * Hn(a) * Hn(l)), [c / r, i - Hn(r) * je(a * a + l * l)];
10444
10446
  }, s;
10445
10447
  }
10446
- function eL() {
10447
- return rv(tL).scale(131.154).center([0, 13.9389]);
10448
+ function eD() {
10449
+ return rv(tD).scale(131.154).center([0, 13.9389]);
10448
10450
  }
10449
- var ji = 1.340264, Wi = -0.081106, qi = 893e-6, Yi = 3796e-6, Na = je(3) / 2, nL = 12;
10451
+ var ji = 1.340264, Wi = -0.081106, qi = 893e-6, Yi = 3796e-6, Na = je(3) / 2, nD = 12;
10450
10452
  function sv(e, t) {
10451
10453
  var n = An(Na * xt(t)), r = n * n, i = r * r * r;
10452
10454
  return [
@@ -10455,14 +10457,14 @@ function sv(e, t) {
10455
10457
  ];
10456
10458
  }
10457
10459
  sv.invert = function(e, t) {
10458
- for (var n = t, r = n * n, i = r * r * r, s = 0, a, o, l; s < nL && (o = n * (ji + Wi * r + i * (qi + Yi * r)) - t, l = ji + 3 * Wi * r + i * (7 * qi + 9 * Yi * r), n -= a = o / l, r = n * n, i = r * r * r, !(Tt(a) < Bg)); ++s)
10460
+ for (var n = t, r = n * n, i = r * r * r, s = 0, a, o, l; s < nD && (o = n * (ji + Wi * r + i * (qi + Yi * r)) - t, l = ji + 3 * Wi * r + i * (7 * qi + 9 * Yi * r), n -= a = o / l, r = n * n, i = r * r * r, !(Tt(a) < Bg)); ++s)
10459
10461
  ;
10460
10462
  return [
10461
10463
  Na * e * (ji + 3 * Wi * r + i * (7 * qi + 9 * Yi * r)) / wt(n),
10462
10464
  An(xt(n) / Na)
10463
10465
  ];
10464
10466
  };
10465
- function rL() {
10467
+ function rD() {
10466
10468
  return co(sv).scale(177.158);
10467
10469
  }
10468
10470
  function av(e, t) {
@@ -10483,41 +10485,41 @@ av.invert = function(e, t) {
10483
10485
  n
10484
10486
  ];
10485
10487
  };
10486
- function iL() {
10488
+ function iD() {
10487
10489
  return co(av).scale(175.295);
10488
10490
  }
10489
- function sL(e, t) {
10491
+ function sD(e, t) {
10490
10492
  return e.parent === t.parent ? 1 : 2;
10491
10493
  }
10492
- function aL(e) {
10493
- return e.reduce(oL, 0) / e.length;
10494
+ function aD(e) {
10495
+ return e.reduce(oD, 0) / e.length;
10494
10496
  }
10495
- function oL(e, t) {
10497
+ function oD(e, t) {
10496
10498
  return e + t.x;
10497
10499
  }
10498
- function lL(e) {
10499
- return 1 + e.reduce(cL, 0);
10500
+ function lD(e) {
10501
+ return 1 + e.reduce(cD, 0);
10500
10502
  }
10501
- function cL(e, t) {
10503
+ function cD(e, t) {
10502
10504
  return Math.max(e, t.y);
10503
10505
  }
10504
- function uL(e) {
10506
+ function uD(e) {
10505
10507
  for (var t; t = e.children; ) e = t[0];
10506
10508
  return e;
10507
10509
  }
10508
- function hL(e) {
10510
+ function hD(e) {
10509
10511
  for (var t; t = e.children; ) e = t[t.length - 1];
10510
10512
  return e;
10511
10513
  }
10512
- function dL() {
10513
- var e = sL, t = 1, n = 1, r = !1;
10514
+ function dD() {
10515
+ var e = sD, t = 1, n = 1, r = !1;
10514
10516
  function i(s) {
10515
10517
  var a, o = 0;
10516
10518
  s.eachAfter(function(h) {
10517
10519
  var p = h.children;
10518
- p ? (h.x = aL(p), h.y = lL(p)) : (h.x = a ? o += e(h, a) : 0, h.y = 0, a = h);
10520
+ p ? (h.x = aD(p), h.y = lD(p)) : (h.x = a ? o += e(h, a) : 0, h.y = 0, a = h);
10519
10521
  });
10520
- var l = uL(s), c = hL(s), u = l.x - e(l, c) / 2, d = c.x + e(c, l) / 2;
10522
+ var l = uD(s), c = hD(s), u = l.x - e(l, c) / 2, d = c.x + e(c, l) / 2;
10521
10523
  return s.eachAfter(r ? function(h) {
10522
10524
  h.x = (h.x - s.x) * t, h.y = (s.y - h.y) * n;
10523
10525
  } : function(h) {
@@ -10532,29 +10534,29 @@ function dL() {
10532
10534
  return arguments.length ? (r = !0, t = +s[0], n = +s[1], i) : r ? [t, n] : null;
10533
10535
  }, i;
10534
10536
  }
10535
- function pL(e) {
10537
+ function pD(e) {
10536
10538
  var t = 0, n = e.children, r = n && n.length;
10537
10539
  if (!r) t = 1;
10538
10540
  else for (; --r >= 0; ) t += n[r].value;
10539
10541
  e.value = t;
10540
10542
  }
10541
- function fL() {
10542
- return this.eachAfter(pL);
10543
+ function fD() {
10544
+ return this.eachAfter(pD);
10543
10545
  }
10544
- function mL(e, t) {
10546
+ function mD(e, t) {
10545
10547
  let n = -1;
10546
10548
  for (const r of this)
10547
10549
  e.call(t, r, ++n, this);
10548
10550
  return this;
10549
10551
  }
10550
- function gL(e, t) {
10552
+ function gD(e, t) {
10551
10553
  for (var n = this, r = [n], i, s, a = -1; n = r.pop(); )
10552
10554
  if (e.call(t, n, ++a, this), i = n.children)
10553
10555
  for (s = i.length - 1; s >= 0; --s)
10554
10556
  r.push(i[s]);
10555
10557
  return this;
10556
10558
  }
10557
- function vL(e, t) {
10559
+ function vD(e, t) {
10558
10560
  for (var n = this, r = [n], i = [], s, a, o, l = -1; n = r.pop(); )
10559
10561
  if (i.push(n), s = n.children)
10560
10562
  for (a = 0, o = s.length; a < o; ++a)
@@ -10563,58 +10565,58 @@ function vL(e, t) {
10563
10565
  e.call(t, n, ++l, this);
10564
10566
  return this;
10565
10567
  }
10566
- function yL(e, t) {
10568
+ function yD(e, t) {
10567
10569
  let n = -1;
10568
10570
  for (const r of this)
10569
10571
  if (e.call(t, r, ++n, this))
10570
10572
  return r;
10571
10573
  }
10572
- function xL(e) {
10574
+ function xD(e) {
10573
10575
  return this.eachAfter(function(t) {
10574
10576
  for (var n = +e(t.data) || 0, r = t.children, i = r && r.length; --i >= 0; ) n += r[i].value;
10575
10577
  t.value = n;
10576
10578
  });
10577
10579
  }
10578
- function bL(e) {
10580
+ function bD(e) {
10579
10581
  return this.eachBefore(function(t) {
10580
10582
  t.children && t.children.sort(e);
10581
10583
  });
10582
10584
  }
10583
- function _L(e) {
10584
- for (var t = this, n = EL(t, e), r = [t]; t !== n; )
10585
+ function _D(e) {
10586
+ for (var t = this, n = ED(t, e), r = [t]; t !== n; )
10585
10587
  t = t.parent, r.push(t);
10586
10588
  for (var i = r.length; e !== n; )
10587
10589
  r.splice(i, 0, e), e = e.parent;
10588
10590
  return r;
10589
10591
  }
10590
- function EL(e, t) {
10592
+ function ED(e, t) {
10591
10593
  if (e === t) return e;
10592
10594
  var n = e.ancestors(), r = t.ancestors(), i = null;
10593
10595
  for (e = n.pop(), t = r.pop(); e === t; )
10594
10596
  i = e, e = n.pop(), t = r.pop();
10595
10597
  return i;
10596
10598
  }
10597
- function OL() {
10599
+ function OD() {
10598
10600
  for (var e = this, t = [e]; e = e.parent; )
10599
10601
  t.push(e);
10600
10602
  return t;
10601
10603
  }
10602
- function TL() {
10604
+ function TD() {
10603
10605
  return Array.from(this);
10604
10606
  }
10605
- function SL() {
10607
+ function SD() {
10606
10608
  var e = [];
10607
10609
  return this.eachBefore(function(t) {
10608
10610
  t.children || e.push(t);
10609
10611
  }), e;
10610
10612
  }
10611
- function wL() {
10613
+ function wD() {
10612
10614
  var e = this, t = [];
10613
10615
  return e.each(function(n) {
10614
10616
  n !== e && t.push({ source: n.parent, target: n });
10615
10617
  }), t;
10616
10618
  }
10617
- function* $L() {
10619
+ function* $D() {
10618
10620
  var e = this, t, n = [e], r, i, s;
10619
10621
  do
10620
10622
  for (t = n.reverse(), n = []; e = t.pop(); )
@@ -10624,26 +10626,26 @@ function* $L() {
10624
10626
  while (n.length);
10625
10627
  }
10626
10628
  function Es(e, t) {
10627
- e instanceof Map ? (e = [void 0, e], t === void 0 && (t = AL)) : t === void 0 && (t = CL);
10629
+ e instanceof Map ? (e = [void 0, e], t === void 0 && (t = AD)) : t === void 0 && (t = CD);
10628
10630
  for (var n = new us(e), r, i = [n], s, a, o, l; r = i.pop(); )
10629
10631
  if ((a = t(r.data)) && (l = (a = Array.from(a)).length))
10630
10632
  for (r.children = a, o = l - 1; o >= 0; --o)
10631
10633
  i.push(s = a[o] = new us(a[o])), s.parent = r, s.depth = r.depth + 1;
10632
- return n.eachBefore(DL);
10634
+ return n.eachBefore(LD);
10633
10635
  }
10634
- function ML() {
10635
- return Es(this).eachBefore(LL);
10636
+ function MD() {
10637
+ return Es(this).eachBefore(DD);
10636
10638
  }
10637
- function CL(e) {
10639
+ function CD(e) {
10638
10640
  return e.children;
10639
10641
  }
10640
- function AL(e) {
10642
+ function AD(e) {
10641
10643
  return Array.isArray(e) ? e[1] : null;
10642
10644
  }
10643
- function LL(e) {
10645
+ function DD(e) {
10644
10646
  e.data.value !== void 0 && (e.value = e.data.value), e.data = e.data.data;
10645
10647
  }
10646
- function DL(e) {
10648
+ function LD(e) {
10647
10649
  var t = 0;
10648
10650
  do
10649
10651
  e.height = t;
@@ -10654,22 +10656,22 @@ function us(e) {
10654
10656
  }
10655
10657
  us.prototype = Es.prototype = {
10656
10658
  constructor: us,
10657
- count: fL,
10658
- each: mL,
10659
- eachAfter: vL,
10660
- eachBefore: gL,
10661
- find: yL,
10662
- sum: xL,
10663
- sort: bL,
10664
- path: _L,
10665
- ancestors: OL,
10666
- descendants: TL,
10667
- leaves: SL,
10668
- links: wL,
10669
- copy: ML,
10670
- [Symbol.iterator]: $L
10659
+ count: fD,
10660
+ each: mD,
10661
+ eachAfter: vD,
10662
+ eachBefore: gD,
10663
+ find: yD,
10664
+ sum: xD,
10665
+ sort: bD,
10666
+ path: _D,
10667
+ ancestors: OD,
10668
+ descendants: TD,
10669
+ leaves: SD,
10670
+ links: wD,
10671
+ copy: MD,
10672
+ [Symbol.iterator]: $D
10671
10673
  };
10672
- function kL(e) {
10674
+ function kD(e) {
10673
10675
  return e == null ? null : ov(e);
10674
10676
  }
10675
10677
  function ov(e) {
@@ -10684,26 +10686,26 @@ function Rr(e) {
10684
10686
  return e;
10685
10687
  };
10686
10688
  }
10687
- const RL = 1664525, IL = 1013904223, zd = 4294967296;
10688
- function NL() {
10689
+ const RD = 1664525, ID = 1013904223, zd = 4294967296;
10690
+ function ND() {
10689
10691
  let e = 1;
10690
- return () => (e = (RL * e + IL) % zd) / zd;
10692
+ return () => (e = (RD * e + ID) % zd) / zd;
10691
10693
  }
10692
- function PL(e) {
10694
+ function PD(e) {
10693
10695
  return typeof e == "object" && "length" in e ? e : Array.from(e);
10694
10696
  }
10695
- function BL(e, t) {
10697
+ function BD(e, t) {
10696
10698
  let n = e.length, r, i;
10697
10699
  for (; n; )
10698
10700
  i = t() * n-- | 0, r = e[n], e[n] = e[i], e[i] = r;
10699
10701
  return e;
10700
10702
  }
10701
- function UL(e, t) {
10702
- for (var n = 0, r = (e = BL(Array.from(e), t)).length, i = [], s, a; n < r; )
10703
- s = e[n], a && lv(a, s) ? ++n : (a = VL(i = HL(i, s)), n = 0);
10703
+ function UD(e, t) {
10704
+ for (var n = 0, r = (e = BD(Array.from(e), t)).length, i = [], s, a; n < r; )
10705
+ s = e[n], a && lv(a, s) ? ++n : (a = VD(i = HD(i, s)), n = 0);
10704
10706
  return a;
10705
10707
  }
10706
- function HL(e, t) {
10708
+ function HD(e, t) {
10707
10709
  var n, r;
10708
10710
  if (tl(t, e)) return [t];
10709
10711
  for (n = 0; n < e.length; ++n)
@@ -10729,17 +10731,17 @@ function tl(e, t) {
10729
10731
  return !1;
10730
10732
  return !0;
10731
10733
  }
10732
- function VL(e) {
10734
+ function VD(e) {
10733
10735
  switch (e.length) {
10734
10736
  case 1:
10735
- return GL(e[0]);
10737
+ return GD(e[0]);
10736
10738
  case 2:
10737
10739
  return Bi(e[0], e[1]);
10738
10740
  case 3:
10739
10741
  return cv(e[0], e[1], e[2]);
10740
10742
  }
10741
10743
  }
10742
- function GL(e) {
10744
+ function GD(e) {
10743
10745
  return {
10744
10746
  x: e.x,
10745
10747
  y: e.y,
@@ -10755,10 +10757,10 @@ function Bi(e, t) {
10755
10757
  };
10756
10758
  }
10757
10759
  function cv(e, t, n) {
10758
- var r = e.x, i = e.y, s = e.r, a = t.x, o = t.y, l = t.r, c = n.x, u = n.y, d = n.r, h = r - a, p = r - c, f = i - o, g = i - u, m = l - s, v = d - s, b = r * r + i * i - s * s, _ = b - a * a - o * o + l * l, E = b - c * c - u * u + d * d, x = p * f - h * g, T = (f * E - g * _) / (x * 2) - r, M = (g * m - f * v) / x, D = (p * _ - h * E) / (x * 2) - i, A = (h * v - p * m) / x, R = M * M + A * A - 1, C = 2 * (s + T * M + D * A), H = T * T + D * D - s * s, P = -(Math.abs(R) > 1e-6 ? (C + Math.sqrt(C * C - 4 * R * H)) / (2 * R) : H / C);
10760
+ var r = e.x, i = e.y, s = e.r, a = t.x, o = t.y, l = t.r, c = n.x, u = n.y, d = n.r, h = r - a, p = r - c, f = i - o, g = i - u, m = l - s, v = d - s, b = r * r + i * i - s * s, _ = b - a * a - o * o + l * l, E = b - c * c - u * u + d * d, x = p * f - h * g, T = (f * E - g * _) / (x * 2) - r, M = (g * m - f * v) / x, k = (p * _ - h * E) / (x * 2) - i, D = (h * v - p * m) / x, L = M * M + D * D - 1, C = 2 * (s + T * M + k * D), H = T * T + k * k - s * s, P = -(Math.abs(L) > 1e-6 ? (C + Math.sqrt(C * C - 4 * L * H)) / (2 * L) : H / C);
10759
10761
  return {
10760
10762
  x: r + T + M * P,
10761
- y: i + D + A * P,
10763
+ y: i + k + D * P,
10762
10764
  r: P
10763
10765
  };
10764
10766
  }
@@ -10777,8 +10779,8 @@ function qd(e) {
10777
10779
  function Us(e) {
10778
10780
  this._ = e, this.next = null, this.previous = null;
10779
10781
  }
10780
- function FL(e, t) {
10781
- if (!(s = (e = PL(e)).length)) return 0;
10782
+ function FD(e, t) {
10783
+ if (!(s = (e = PD(e)).length)) return 0;
10782
10784
  var n, r, i, s, a, o, l, c, u, d, h;
10783
10785
  if (n = e[0], n.x = 0, n.y = 0, !(s > 1)) return n.r;
10784
10786
  if (r = e[1], n.x = -r.r, r.x = n.r, r.y = 0, !(s > 2)) return n.r + r.r;
@@ -10805,20 +10807,20 @@ function FL(e, t) {
10805
10807
  r = n.next;
10806
10808
  }
10807
10809
  for (n = [r._], i = r; (i = i.next) !== r; ) n.push(i._);
10808
- for (i = UL(n, t), l = 0; l < s; ++l) n = e[l], n.x -= i.x, n.y -= i.y;
10810
+ for (i = UD(n, t), l = 0; l < s; ++l) n = e[l], n.x -= i.x, n.y -= i.y;
10809
10811
  return i.r;
10810
10812
  }
10811
- function zL(e) {
10813
+ function zD(e) {
10812
10814
  return Math.sqrt(e.value);
10813
10815
  }
10814
- function jL() {
10816
+ function jD() {
10815
10817
  var e = null, t = 1, n = 1, r = Kn;
10816
10818
  function i(s) {
10817
- const a = NL();
10818
- return s.x = t / 2, s.y = n / 2, e ? s.eachBefore(Yd(e)).eachAfter(el(r, 0.5, a)).eachBefore(Xd(1)) : s.eachBefore(Yd(zL)).eachAfter(el(Kn, 1, a)).eachAfter(el(r, s.r / Math.min(t, n), a)).eachBefore(Xd(Math.min(t, n) / (2 * s.r))), s;
10819
+ const a = ND();
10820
+ return s.x = t / 2, s.y = n / 2, e ? s.eachBefore(Yd(e)).eachAfter(el(r, 0.5, a)).eachBefore(Xd(1)) : s.eachBefore(Yd(zD)).eachAfter(el(Kn, 1, a)).eachAfter(el(r, s.r / Math.min(t, n), a)).eachBefore(Xd(Math.min(t, n) / (2 * s.r))), s;
10819
10821
  }
10820
10822
  return i.radius = function(s) {
10821
- return arguments.length ? (e = kL(s), i) : e;
10823
+ return arguments.length ? (e = kD(s), i) : e;
10822
10824
  }, i.size = function(s) {
10823
10825
  return arguments.length ? (t = +s[0], n = +s[1], i) : [t, n];
10824
10826
  }, i.padding = function(s) {
@@ -10835,7 +10837,7 @@ function el(e, t, n) {
10835
10837
  if (i = r.children) {
10836
10838
  var i, s, a = i.length, o = e(r) * t || 0, l;
10837
10839
  if (o) for (s = 0; s < a; ++s) i[s].r += o;
10838
- if (l = FL(i, n), o) for (s = 0; s < a; ++s) i[s].r -= o;
10840
+ if (l = FD(i, n), o) for (s = 0; s < a; ++s) i[s].r -= o;
10839
10841
  r.r = l + o;
10840
10842
  }
10841
10843
  };
@@ -10846,14 +10848,14 @@ function Xd(e) {
10846
10848
  t.r *= e, n && (t.x = n.x + e * t.x, t.y = n.y + e * t.y);
10847
10849
  };
10848
10850
  }
10849
- function WL(e) {
10851
+ function WD(e) {
10850
10852
  e.x0 = Math.round(e.x0), e.y0 = Math.round(e.y0), e.x1 = Math.round(e.x1), e.y1 = Math.round(e.y1);
10851
10853
  }
10852
- function qL(e, t, n, r, i) {
10854
+ function qD(e, t, n, r, i) {
10853
10855
  for (var s = e.children, a, o = -1, l = s.length, c = e.value && (r - t) / e.value; ++o < l; )
10854
10856
  a = s[o], a.y0 = n, a.y1 = i, a.x0 = t, a.x1 = t += a.value * c;
10855
10857
  }
10856
- function YL(e, t) {
10858
+ function YD(e, t) {
10857
10859
  return e.parent === t.parent ? 1 : 2;
10858
10860
  }
10859
10861
  function nl(e) {
@@ -10864,32 +10866,32 @@ function rl(e) {
10864
10866
  var t = e.children;
10865
10867
  return t ? t[t.length - 1] : e.t;
10866
10868
  }
10867
- function XL(e, t, n) {
10869
+ function XD(e, t, n) {
10868
10870
  var r = n / (t.i - e.i);
10869
10871
  t.c -= r, t.s += n, e.c += r, t.z += n, t.m += n;
10870
10872
  }
10871
- function ZL(e) {
10873
+ function ZD(e) {
10872
10874
  for (var t = 0, n = 0, r = e.children, i = r.length, s; --i >= 0; )
10873
10875
  s = r[i], s.z += t, s.m += t, t += s.s + (n += s.c);
10874
10876
  }
10875
- function KL(e, t, n) {
10877
+ function KD(e, t, n) {
10876
10878
  return e.a.parent === t.parent ? e.a : n;
10877
10879
  }
10878
10880
  function ra(e, t) {
10879
10881
  this._ = e, this.parent = null, this.children = null, this.A = null, this.a = this, this.z = 0, this.m = 0, this.c = 0, this.s = 0, this.t = null, this.i = t;
10880
10882
  }
10881
10883
  ra.prototype = Object.create(us.prototype);
10882
- function QL(e) {
10884
+ function QD(e) {
10883
10885
  for (var t = new ra(e, 0), n, r = [t], i, s, a, o; n = r.pop(); )
10884
10886
  if (s = n._.children)
10885
10887
  for (n.children = new Array(o = s.length), a = o - 1; a >= 0; --a)
10886
10888
  r.push(i = n.children[a] = new ra(s[a], a)), i.parent = n;
10887
10889
  return (t.parent = new ra(null, 0)).children = [t], t;
10888
10890
  }
10889
- function JL() {
10890
- var e = YL, t = 1, n = 1, r = null;
10891
+ function JD() {
10892
+ var e = YD, t = 1, n = 1, r = null;
10891
10893
  function i(c) {
10892
- var u = QL(c);
10894
+ var u = QD(c);
10893
10895
  if (u.eachAfter(s), u.parent.m = -u.z, u.eachBefore(a), r) c.eachBefore(l);
10894
10896
  else {
10895
10897
  var d = c, h = c, p = c;
@@ -10906,7 +10908,7 @@ function JL() {
10906
10908
  function s(c) {
10907
10909
  var u = c.children, d = c.parent.children, h = c.i ? d[c.i - 1] : null;
10908
10910
  if (u) {
10909
- ZL(c);
10911
+ ZD(c);
10910
10912
  var p = (u[0].z + u[u.length - 1].z) / 2;
10911
10913
  h ? (c.z = h.z + e(c._, h._), c.m = c.z - p) : c.z = p;
10912
10914
  } else h && (c.z = h.z + e(c._, h._));
@@ -10918,7 +10920,7 @@ function JL() {
10918
10920
  function o(c, u, d) {
10919
10921
  if (u) {
10920
10922
  for (var h = c, p = c, f = u, g = h.parent.children[0], m = h.m, v = p.m, b = f.m, _ = g.m, E; f = rl(f), h = nl(h), f && h; )
10921
- g = nl(g), p = rl(p), p.a = c, E = f.z + b - h.z - m + e(f._, h._), E > 0 && (XL(KL(f, c, d), c, E), m += E, v += E), b += f.m, m += h.m, _ += g.m, v += p.m;
10923
+ g = nl(g), p = rl(p), p.a = c, E = f.z + b - h.z - m + e(f._, h._), E > 0 && (XD(KD(f, c, d), c, E), m += E, v += E), b += f.m, m += h.m, _ += g.m, v += p.m;
10922
10924
  f && !rl(p) && (p.t = f, p.m += b - v), h && !nl(g) && (g.t = h, g.m += m - _, d = c);
10923
10925
  }
10924
10926
  return d;
@@ -10934,12 +10936,12 @@ function JL() {
10934
10936
  return arguments.length ? (r = !0, t = +c[0], n = +c[1], i) : r ? [t, n] : null;
10935
10937
  }, i;
10936
10938
  }
10937
- function tD(e, t, n, r, i) {
10939
+ function tL(e, t, n, r, i) {
10938
10940
  for (var s = e.children, a, o = -1, l = s.length, c = e.value && (i - n) / e.value; ++o < l; )
10939
10941
  a = s[o], a.x0 = t, a.x1 = r, a.y0 = n, a.y1 = n += a.value * c;
10940
10942
  }
10941
- var eD = (1 + Math.sqrt(5)) / 2;
10942
- function nD(e, t, n, r, i, s) {
10943
+ var eL = (1 + Math.sqrt(5)) / 2;
10944
+ function nL(e, t, n, r, i, s) {
10943
10945
  for (var a = [], o = t.children, l, c, u = 0, d = 0, h = o.length, p, f, g = t.value, m, v, b, _, E, x, T; u < h; ) {
10944
10946
  p = i - n, f = s - r;
10945
10947
  do
@@ -10952,22 +10954,22 @@ function nD(e, t, n, r, i, s) {
10952
10954
  }
10953
10955
  E = _;
10954
10956
  }
10955
- a.push(l = { value: m, dice: p < f, children: o.slice(u, d) }), l.dice ? qL(l, n, r, i, g ? r += f * m / g : s) : tD(l, n, r, g ? n += p * m / g : i, s), g -= m, u = d;
10957
+ a.push(l = { value: m, dice: p < f, children: o.slice(u, d) }), l.dice ? qD(l, n, r, i, g ? r += f * m / g : s) : tL(l, n, r, g ? n += p * m / g : i, s), g -= m, u = d;
10956
10958
  }
10957
10959
  return a;
10958
10960
  }
10959
- const rD = function e(t) {
10961
+ const rL = function e(t) {
10960
10962
  function n(r, i, s, a, o) {
10961
- nD(t, r, i, s, a, o);
10963
+ nL(t, r, i, s, a, o);
10962
10964
  }
10963
10965
  return n.ratio = function(r) {
10964
10966
  return e((r = +r) > 1 ? r : 1);
10965
10967
  }, n;
10966
- }(eD);
10967
- function iD() {
10968
- var e = rD, t = !1, n = 1, r = 1, i = [0], s = Kn, a = Kn, o = Kn, l = Kn, c = Kn;
10968
+ }(eL);
10969
+ function iL() {
10970
+ var e = rL, t = !1, n = 1, r = 1, i = [0], s = Kn, a = Kn, o = Kn, l = Kn, c = Kn;
10969
10971
  function u(h) {
10970
- return h.x0 = h.y0 = 0, h.x1 = n, h.y1 = r, h.eachBefore(d), i = [0], t && h.eachBefore(WL), h;
10972
+ return h.x0 = h.y0 = 0, h.x1 = n, h.y1 = r, h.eachBefore(d), i = [0], t && h.eachBefore(WD), h;
10971
10973
  }
10972
10974
  function d(h) {
10973
10975
  var p = i[h.depth], f = h.x0 + p, g = h.y0 + p, m = h.x1 - p, v = h.y1 - p;
@@ -11009,61 +11011,61 @@ function uo(e) {
11009
11011
  return e;
11010
11012
  }, () => new hA(t);
11011
11013
  }
11012
- function sD(e) {
11014
+ function sL(e) {
11013
11015
  return e.innerRadius;
11014
11016
  }
11015
- function aD(e) {
11017
+ function aL(e) {
11016
11018
  return e.outerRadius;
11017
11019
  }
11018
- function oD(e) {
11020
+ function oL(e) {
11019
11021
  return e.startAngle;
11020
11022
  }
11021
- function lD(e) {
11023
+ function lL(e) {
11022
11024
  return e.endAngle;
11023
11025
  }
11024
- function cD(e) {
11026
+ function cL(e) {
11025
11027
  return e && e.padAngle;
11026
11028
  }
11027
- function uD(e, t, n, r, i, s, a, o) {
11029
+ function uL(e, t, n, r, i, s, a, o) {
11028
11030
  var l = n - e, c = r - t, u = a - i, d = o - s, h = d * l - u * c;
11029
11031
  if (!(h * h < ie))
11030
11032
  return h = (u * (t - s) - d * (e - i)) / h, [e + h * l, t + h * c];
11031
11033
  }
11032
11034
  function Hs(e, t, n, r, i, s, a) {
11033
- var o = e - n, l = t - r, c = (a ? s : -s) / Fr(o * o + l * l), u = c * l, d = -c * o, h = e + u, p = t + d, f = n + u, g = r + d, m = (h + f) / 2, v = (p + g) / 2, b = f - h, _ = g - p, E = b * b + _ * _, x = i - s, T = h * g - f * p, M = (_ < 0 ? -1 : 1) * Fr(WM(0, x * x * E - T * T)), D = (T * _ - b * M) / E, A = (-T * b - _ * M) / E, R = (T * _ + b * M) / E, C = (-T * b + _ * M) / E, H = D - m, P = A - v, U = R - m, O = C - v;
11034
- return H * H + P * P > U * U + O * O && (D = R, A = C), {
11035
- cx: D,
11036
- cy: A,
11035
+ var o = e - n, l = t - r, c = (a ? s : -s) / Fr(o * o + l * l), u = c * l, d = -c * o, h = e + u, p = t + d, f = n + u, g = r + d, m = (h + f) / 2, v = (p + g) / 2, b = f - h, _ = g - p, E = b * b + _ * _, x = i - s, T = h * g - f * p, M = (_ < 0 ? -1 : 1) * Fr(WM(0, x * x * E - T * T)), k = (T * _ - b * M) / E, D = (-T * b - _ * M) / E, L = (T * _ + b * M) / E, C = (-T * b + _ * M) / E, H = k - m, P = D - v, U = L - m, O = C - v;
11036
+ return H * H + P * P > U * U + O * O && (k = L, D = C), {
11037
+ cx: k,
11038
+ cy: D,
11037
11039
  x01: -u,
11038
11040
  y01: -d,
11039
- x11: D * (i / x - 1),
11040
- y11: A * (i / x - 1)
11041
+ x11: k * (i / x - 1),
11042
+ y11: D * (i / x - 1)
11041
11043
  };
11042
11044
  }
11043
11045
  function hs() {
11044
- var e = sD, t = aD, n = pt(0), r = null, i = oD, s = lD, a = cD, o = null, l = uo(c);
11046
+ var e = sL, t = aL, n = pt(0), r = null, i = oL, s = lL, a = cL, o = null, l = uo(c);
11045
11047
  function c() {
11046
11048
  var u, d, h = +e.apply(this, arguments), p = +t.apply(this, arguments), f = i.apply(this, arguments) - Ta, g = s.apply(this, arguments) - Ta, m = id(g - f), v = g > f;
11047
11049
  if (o || (o = u = l()), p < h && (d = p, p = h, h = d), !(p > ie)) o.moveTo(0, 0);
11048
11050
  else if (m > Qs - ie)
11049
11051
  o.moveTo(p * qn(f), p * Qe(f)), o.arc(0, 0, p, f, g, !v), h > ie && (o.moveTo(h * qn(g), h * Qe(g)), o.arc(0, 0, h, g, f, v));
11050
11052
  else {
11051
- var b = f, _ = g, E = f, x = g, T = m, M = m, D = a.apply(this, arguments) / 2, A = D > ie && (r ? +r.apply(this, arguments) : Fr(h * h + p * p)), R = Fo(id(p - h) / 2, +n.apply(this, arguments)), C = R, H = R, P, U;
11052
- if (A > ie) {
11053
- var O = sd(A / h * Qe(D)), $ = sd(A / p * Qe(D));
11053
+ var b = f, _ = g, E = f, x = g, T = m, M = m, k = a.apply(this, arguments) / 2, D = k > ie && (r ? +r.apply(this, arguments) : Fr(h * h + p * p)), L = Fo(id(p - h) / 2, +n.apply(this, arguments)), C = L, H = L, P, U;
11054
+ if (D > ie) {
11055
+ var O = sd(D / h * Qe(k)), $ = sd(D / p * Qe(k));
11054
11056
  (T -= O * 2) > ie ? (O *= v ? 1 : -1, E += O, x -= O) : (T = 0, E = x = (f + g) / 2), (M -= $ * 2) > ie ? ($ *= v ? 1 : -1, b += $, _ -= $) : (M = 0, b = _ = (f + g) / 2);
11055
11057
  }
11056
- var L = p * qn(b), k = p * Qe(b), B = h * qn(x), K = h * Qe(x);
11057
- if (R > ie) {
11058
+ var A = p * qn(b), R = p * Qe(b), B = h * qn(x), K = h * Qe(x);
11059
+ if (L > ie) {
11058
11060
  var j = p * qn(_), z = p * Qe(_), X = h * qn(E), lt = h * Qe(E), J;
11059
11061
  if (m < os)
11060
- if (J = uD(L, k, X, lt, j, z, B, K)) {
11061
- var Y = L - J[0], tt = k - J[1], it = j - J[0], F = z - J[1], W = 1 / Qe(qM((Y * it + tt * F) / (Fr(Y * Y + tt * tt) * Fr(it * it + F * F))) / 2), Z = Fr(J[0] * J[0] + J[1] * J[1]);
11062
- C = Fo(R, (h - Z) / (W - 1)), H = Fo(R, (p - Z) / (W + 1));
11062
+ if (J = uL(A, R, X, lt, j, z, B, K)) {
11063
+ var Y = A - J[0], tt = R - J[1], it = j - J[0], F = z - J[1], W = 1 / Qe(qM((Y * it + tt * F) / (Fr(Y * Y + tt * tt) * Fr(it * it + F * F))) / 2), Z = Fr(J[0] * J[0] + J[1] * J[1]);
11064
+ C = Fo(L, (h - Z) / (W - 1)), H = Fo(L, (p - Z) / (W + 1));
11063
11065
  } else
11064
11066
  C = H = 0;
11065
11067
  }
11066
- M > ie ? H > ie ? (P = Hs(X, lt, L, k, p, H, v), U = Hs(j, z, B, K, p, H, v), o.moveTo(P.cx + P.x01, P.cy + P.y01), H < R ? o.arc(P.cx, P.cy, H, ee(P.y01, P.x01), ee(U.y01, U.x01), !v) : (o.arc(P.cx, P.cy, H, ee(P.y01, P.x01), ee(P.y11, P.x11), !v), o.arc(0, 0, p, ee(P.cy + P.y11, P.cx + P.x11), ee(U.cy + U.y11, U.cx + U.x11), !v), o.arc(U.cx, U.cy, H, ee(U.y11, U.x11), ee(U.y01, U.x01), !v))) : (o.moveTo(L, k), o.arc(0, 0, p, b, _, !v)) : o.moveTo(L, k), !(h > ie) || !(T > ie) ? o.lineTo(B, K) : C > ie ? (P = Hs(B, K, j, z, h, -C, v), U = Hs(L, k, X, lt, h, -C, v), o.lineTo(P.cx + P.x01, P.cy + P.y01), C < R ? o.arc(P.cx, P.cy, C, ee(P.y01, P.x01), ee(U.y01, U.x01), !v) : (o.arc(P.cx, P.cy, C, ee(P.y01, P.x01), ee(P.y11, P.x11), !v), o.arc(0, 0, h, ee(P.cy + P.y11, P.cx + P.x11), ee(U.cy + U.y11, U.cx + U.x11), v), o.arc(U.cx, U.cy, C, ee(U.y11, U.x11), ee(U.y01, U.x01), !v))) : o.arc(0, 0, h, x, E, v);
11068
+ M > ie ? H > ie ? (P = Hs(X, lt, A, R, p, H, v), U = Hs(j, z, B, K, p, H, v), o.moveTo(P.cx + P.x01, P.cy + P.y01), H < L ? o.arc(P.cx, P.cy, H, ee(P.y01, P.x01), ee(U.y01, U.x01), !v) : (o.arc(P.cx, P.cy, H, ee(P.y01, P.x01), ee(P.y11, P.x11), !v), o.arc(0, 0, p, ee(P.cy + P.y11, P.cx + P.x11), ee(U.cy + U.y11, U.cx + U.x11), !v), o.arc(U.cx, U.cy, H, ee(U.y11, U.x11), ee(U.y01, U.x01), !v))) : (o.moveTo(A, R), o.arc(0, 0, p, b, _, !v)) : o.moveTo(A, R), !(h > ie) || !(T > ie) ? o.lineTo(B, K) : C > ie ? (P = Hs(B, K, j, z, h, -C, v), U = Hs(A, R, X, lt, h, -C, v), o.lineTo(P.cx + P.x01, P.cy + P.y01), C < L ? o.arc(P.cx, P.cy, C, ee(P.y01, P.x01), ee(U.y01, U.x01), !v) : (o.arc(P.cx, P.cy, C, ee(P.y01, P.x01), ee(P.y11, P.x11), !v), o.arc(0, 0, h, ee(P.cy + P.y11, P.cx + P.x11), ee(U.cy + U.y11, U.cx + U.x11), v), o.arc(U.cx, U.cy, C, ee(U.y11, U.x11), ee(U.y01, U.x01), !v))) : o.arc(0, 0, h, x, E, v);
11067
11069
  }
11068
11070
  if (o.closePath(), u) return o = null, u + "" || null;
11069
11071
  }
@@ -11162,14 +11164,14 @@ function su(e, t, n) {
11162
11164
  return arguments.length ? (d == null ? s = o = null : o = a(s = d), c) : s;
11163
11165
  }, c;
11164
11166
  }
11165
- function hD(e, t) {
11167
+ function hL(e, t) {
11166
11168
  return t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN;
11167
11169
  }
11168
- function dD(e) {
11170
+ function dL(e) {
11169
11171
  return e;
11170
11172
  }
11171
- function pD() {
11172
- var e = dD, t = hD, n = null, r = pt(0), i = pt(Qs), s = pt(0);
11173
+ function pL() {
11174
+ var e = dL, t = hL, n = null, r = pt(0), i = pt(Qs), s = pt(0);
11173
11175
  function a(o) {
11174
11176
  var l, c = (o = io(o)).length, u, d, h = 0, p = new Array(c), f = new Array(c), g = +r.apply(this, arguments), m = Math.min(Qs, Math.max(-Qs, i.apply(this, arguments) - g)), v, b = Math.min(Math.abs(m) / c, s.apply(this, arguments)), _ = b * (m < 0 ? -1 : 1), E;
11175
11177
  for (l = 0; l < c; ++l)
@@ -11203,7 +11205,7 @@ function pD() {
11203
11205
  return arguments.length ? (s = typeof o == "function" ? o : pt(+o), a) : s;
11204
11206
  }, a;
11205
11207
  }
11206
- var fD = hv(ao);
11208
+ var fL = hv(ao);
11207
11209
  function uv(e) {
11208
11210
  this._curve = e;
11209
11211
  }
@@ -11230,16 +11232,16 @@ function hv(e) {
11230
11232
  }
11231
11233
  return t._curve = e, t;
11232
11234
  }
11233
- function mD(e) {
11235
+ function mL(e) {
11234
11236
  var t = e.curve;
11235
11237
  return e.angle = e.x, delete e.x, e.radius = e.y, delete e.y, e.curve = function(n) {
11236
11238
  return arguments.length ? t(hv(n)) : t()._curve;
11237
11239
  }, e;
11238
11240
  }
11239
- function gD() {
11240
- return mD(Os().curve(fD));
11241
+ function gL() {
11242
+ return mL(Os().curve(fL));
11241
11243
  }
11242
- class vD {
11244
+ class vL {
11243
11245
  constructor(t, n) {
11244
11246
  this._context = t, this._x = n;
11245
11247
  }
@@ -11272,17 +11274,17 @@ class vD {
11272
11274
  this._x0 = t, this._y0 = n;
11273
11275
  }
11274
11276
  }
11275
- function yD(e) {
11276
- return new vD(e, !0);
11277
+ function yL(e) {
11278
+ return new vL(e, !0);
11277
11279
  }
11278
- function xD(e) {
11280
+ function xL(e) {
11279
11281
  return e.source;
11280
11282
  }
11281
- function bD(e) {
11283
+ function bL(e) {
11282
11284
  return e.target;
11283
11285
  }
11284
- function _D(e) {
11285
- let t = xD, n = bD, r = ru, i = iu, s = null, a = null, o = uo(l);
11286
+ function _L(e) {
11287
+ let t = xL, n = bL, r = ru, i = iu, s = null, a = null, o = uo(l);
11286
11288
  function l() {
11287
11289
  let c;
11288
11290
  const u = Nw.call(arguments), d = t.apply(this, u), h = n.apply(this, u);
@@ -11300,8 +11302,8 @@ function _D(e) {
11300
11302
  return arguments.length ? (c == null ? s = a = null : a = e(s = c), l) : s;
11301
11303
  }, l;
11302
11304
  }
11303
- function ED() {
11304
- return _D(yD);
11305
+ function EL() {
11306
+ return _L(yL);
11305
11307
  }
11306
11308
  let mt = class {
11307
11309
  constructor(t, n, r) {
@@ -11376,9 +11378,9 @@ let mt = class {
11376
11378
  const {
11377
11379
  entries: dv,
11378
11380
  setPrototypeOf: Zd,
11379
- isFrozen: OD,
11380
- getPrototypeOf: TD,
11381
- getOwnPropertyDescriptor: SD
11381
+ isFrozen: OL,
11382
+ getPrototypeOf: TL,
11383
+ getOwnPropertyDescriptor: SL
11382
11384
  } = Object;
11383
11385
  let {
11384
11386
  freeze: he,
@@ -11404,7 +11406,7 @@ sc || (sc = function(e) {
11404
11406
  n[r - 1] = arguments[r];
11405
11407
  return new e(...n);
11406
11408
  });
11407
- const Ti = Gt(Array.prototype.forEach), wD = Gt(Array.prototype.lastIndexOf), Kd = Gt(Array.prototype.pop), Si = Gt(Array.prototype.push), $D = Gt(Array.prototype.splice), le = Array.isArray, Ui = Gt(String.prototype.toLowerCase), il = Gt(String.prototype.toString), Qd = Gt(String.prototype.match), Mr = Gt(String.prototype.replace), Jd = Gt(String.prototype.indexOf), MD = Gt(String.prototype.trim), CD = Gt(Number.prototype.toString), AD = Gt(Boolean.prototype.toString), tp = typeof BigInt > "u" ? null : Gt(BigInt.prototype.toString), ep = typeof Symbol > "u" ? null : Gt(Symbol.prototype.toString), Bt = Gt(Object.prototype.hasOwnProperty), wi = Gt(Object.prototype.toString), Qt = Gt(RegExp.prototype.test), Vs = LD(TypeError);
11409
+ const Ti = Gt(Array.prototype.forEach), wL = Gt(Array.prototype.lastIndexOf), Kd = Gt(Array.prototype.pop), Si = Gt(Array.prototype.push), $L = Gt(Array.prototype.splice), le = Array.isArray, Ui = Gt(String.prototype.toLowerCase), il = Gt(String.prototype.toString), Qd = Gt(String.prototype.match), Mr = Gt(String.prototype.replace), Jd = Gt(String.prototype.indexOf), ML = Gt(String.prototype.trim), CL = Gt(Number.prototype.toString), AL = Gt(Boolean.prototype.toString), tp = typeof BigInt > "u" ? null : Gt(BigInt.prototype.toString), ep = typeof Symbol > "u" ? null : Gt(Symbol.prototype.toString), Bt = Gt(Object.prototype.hasOwnProperty), wi = Gt(Object.prototype.toString), Qt = Gt(RegExp.prototype.test), Vs = DL(TypeError);
11408
11410
  function Gt(e) {
11409
11411
  return function(t) {
11410
11412
  t instanceof RegExp && (t.lastIndex = 0);
@@ -11413,7 +11415,7 @@ function Gt(e) {
11413
11415
  return ic(e, t, r);
11414
11416
  };
11415
11417
  }
11416
- function LD(e) {
11418
+ function DL(e) {
11417
11419
  return function() {
11418
11420
  for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
11419
11421
  n[r] = arguments[r];
@@ -11429,13 +11431,13 @@ function dt(e, t) {
11429
11431
  let i = t[r];
11430
11432
  if (typeof i == "string") {
11431
11433
  const s = n(i);
11432
- s !== i && (OD(t) || (t[r] = s), i = s);
11434
+ s !== i && (OL(t) || (t[r] = s), i = s);
11433
11435
  }
11434
11436
  e[i] = !0;
11435
11437
  }
11436
11438
  return e;
11437
11439
  }
11438
- function DD(e) {
11440
+ function LL(e) {
11439
11441
  for (let t = 0; t < e.length; t++)
11440
11442
  Bt(e, t) || (e[t] = null);
11441
11443
  return e;
@@ -11443,17 +11445,17 @@ function DD(e) {
11443
11445
  function pe(e) {
11444
11446
  const t = Ir(null);
11445
11447
  for (const [n, r] of dv(e))
11446
- Bt(e, n) && (le(r) ? t[n] = DD(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = pe(r) : t[n] = r);
11448
+ Bt(e, n) && (le(r) ? t[n] = LL(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = pe(r) : t[n] = r);
11447
11449
  return t;
11448
11450
  }
11449
- function kD(e) {
11451
+ function kL(e) {
11450
11452
  switch (typeof e) {
11451
11453
  case "string":
11452
11454
  return e;
11453
11455
  case "number":
11454
- return CD(e);
11456
+ return CL(e);
11455
11457
  case "boolean":
11456
- return AD(e);
11458
+ return AL(e);
11457
11459
  case "bigint":
11458
11460
  return tp ? tp(e) : "0";
11459
11461
  case "symbol":
@@ -11477,46 +11479,46 @@ function kD(e) {
11477
11479
  }
11478
11480
  function Nr(e, t) {
11479
11481
  for (; e !== null; ) {
11480
- const r = SD(e, t);
11482
+ const r = SL(e, t);
11481
11483
  if (r) {
11482
11484
  if (r.get)
11483
11485
  return Gt(r.get);
11484
11486
  if (typeof r.value == "function")
11485
11487
  return Gt(r.value);
11486
11488
  }
11487
- e = TD(e);
11489
+ e = TL(e);
11488
11490
  }
11489
11491
  function n() {
11490
11492
  return null;
11491
11493
  }
11492
11494
  return n;
11493
11495
  }
11494
- function RD(e) {
11496
+ function RL(e) {
11495
11497
  try {
11496
11498
  return Qt(e, ""), !0;
11497
11499
  } catch {
11498
11500
  return !1;
11499
11501
  }
11500
11502
  }
11501
- const np = he(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), sl = he(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), al = he(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), ID = he(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), ol = he(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), ND = he(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), rp = he(["#text"]), ip = he(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns"]), ll = he(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), sp = he(["accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Gs = he(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), PD = Pe(/\{\{[\w\W]*|[\w\W]*\}\}/gm), BD = Pe(/<%[\w\W]*|[\w\W]*%>/gm), UD = Pe(/\$\{[\w\W]*/gm), HD = Pe(/^data-[\-\w.\u00B7-\uFFFF]+$/), VD = Pe(/^aria-[\-\w]+$/), pv = Pe(
11503
+ const np = he(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), sl = he(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), al = he(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), IL = he(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), ol = he(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), NL = he(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), rp = he(["#text"]), ip = he(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns"]), ll = he(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), sp = he(["accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Gs = he(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), PL = Pe(/\{\{[\w\W]*|[\w\W]*\}\}/gm), BL = Pe(/<%[\w\W]*|[\w\W]*%>/gm), UL = Pe(/\$\{[\w\W]*/gm), HL = Pe(/^data-[\-\w.\u00B7-\uFFFF]+$/), VL = Pe(/^aria-[\-\w]+$/), pv = Pe(
11502
11504
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
11503
11505
  // eslint-disable-line no-useless-escape
11504
- ), GD = Pe(/^(?:\w+script|data):/i), FD = Pe(
11506
+ ), GL = Pe(/^(?:\w+script|data):/i), FL = Pe(
11505
11507
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
11506
11508
  // eslint-disable-line no-control-regex
11507
- ), fv = Pe(/^html$/i), zD = Pe(/^[a-z][.\w]*(-[.\w]+)+$/i);
11509
+ ), fv = Pe(/^html$/i), zL = Pe(/^[a-z][.\w]*(-[.\w]+)+$/i);
11508
11510
  var ap = /* @__PURE__ */ Object.freeze({
11509
11511
  __proto__: null,
11510
- ARIA_ATTR: VD,
11511
- ATTR_WHITESPACE: FD,
11512
- CUSTOM_ELEMENT: zD,
11513
- DATA_ATTR: HD,
11512
+ ARIA_ATTR: VL,
11513
+ ATTR_WHITESPACE: FL,
11514
+ CUSTOM_ELEMENT: zL,
11515
+ DATA_ATTR: HL,
11514
11516
  DOCTYPE_NAME: fv,
11515
- ERB_EXPR: BD,
11517
+ ERB_EXPR: BL,
11516
11518
  IS_ALLOWED_URI: pv,
11517
- IS_SCRIPT_OR_DATA: GD,
11518
- MUSTACHE_EXPR: PD,
11519
- TMPLIT_EXPR: UD
11519
+ IS_SCRIPT_OR_DATA: GL,
11520
+ MUSTACHE_EXPR: PL,
11521
+ TMPLIT_EXPR: UL
11520
11522
  });
11521
11523
  const $i = {
11522
11524
  element: 1,
@@ -11525,9 +11527,9 @@ const $i = {
11525
11527
  progressingInstruction: 7,
11526
11528
  comment: 8,
11527
11529
  document: 9
11528
- }, jD = function() {
11530
+ }, jL = function() {
11529
11531
  return typeof window > "u" ? null : window;
11530
- }, WD = function(e, t) {
11532
+ }, WL = function(e, t) {
11531
11533
  if (typeof e != "object" || typeof e.createPolicy != "function")
11532
11534
  return null;
11533
11535
  let n = null;
@@ -11560,7 +11562,7 @@ const $i = {
11560
11562
  };
11561
11563
  };
11562
11564
  function mv() {
11563
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : jD();
11565
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : jL();
11564
11566
  const t = (w) => mv(w);
11565
11567
  if (t.version = "3.4.2", t.removed = [], !e || !e.document || e.document.nodeType !== $i.document || !e.Element)
11566
11568
  return t.isSupported = !1, t;
@@ -11586,10 +11588,10 @@ function mv() {
11586
11588
  const {
11587
11589
  implementation: T,
11588
11590
  createNodeIterator: M,
11589
- createDocumentFragment: D,
11590
- getElementsByTagName: A
11591
+ createDocumentFragment: k,
11592
+ getElementsByTagName: D
11591
11593
  } = n, {
11592
- importNode: R
11594
+ importNode: L
11593
11595
  } = r;
11594
11596
  let C = op();
11595
11597
  t.isSupported = typeof dv == "function" && typeof _ == "function" && T && T.createHTMLDocument !== void 0;
@@ -11599,8 +11601,8 @@ function mv() {
11599
11601
  TMPLIT_EXPR: U,
11600
11602
  DATA_ATTR: O,
11601
11603
  ARIA_ATTR: $,
11602
- IS_SCRIPT_OR_DATA: L,
11603
- ATTR_WHITESPACE: k,
11604
+ IS_SCRIPT_OR_DATA: A,
11605
+ ATTR_WHITESPACE: R,
11604
11606
  CUSTOM_ELEMENT: B
11605
11607
  } = ap;
11606
11608
  let {
@@ -11665,7 +11667,7 @@ function mv() {
11665
11667
  if (Er && Er === w)
11666
11668
  return;
11667
11669
  (!w || typeof w != "object") && (w = {}), w = pe(w), fi = // eslint-disable-next-line unicorn/prefer-includes
11668
- o1.indexOf(w.PARSER_MEDIA_TYPE) === -1 ? l1 : w.PARSER_MEDIA_TYPE, Ft = fi === "application/xhtml+xml" ? il : Ui, j = Bt(w, "ALLOWED_TAGS") && le(w.ALLOWED_TAGS) ? dt({}, w.ALLOWED_TAGS, Ft) : z, X = Bt(w, "ALLOWED_ATTR") && le(w.ALLOWED_ATTR) ? dt({}, w.ALLOWED_ATTR, Ft) : lt, bo = Bt(w, "ALLOWED_NAMESPACES") && le(w.ALLOWED_NAMESPACES) ? dt({}, w.ALLOWED_NAMESPACES, il) : s1, yo = Bt(w, "ADD_URI_SAFE_ATTR") && le(w.ADD_URI_SAFE_ATTR) ? dt(pe(bu), w.ADD_URI_SAFE_ATTR, Ft) : bu, yu = Bt(w, "ADD_DATA_URI_TAGS") && le(w.ADD_DATA_URI_TAGS) ? dt(pe(xu), w.ADD_DATA_URI_TAGS, Ft) : xu, Xe = Bt(w, "FORBID_CONTENTS") && le(w.FORBID_CONTENTS) ? dt({}, w.FORBID_CONTENTS, Ft) : vo, Y = Bt(w, "FORBID_TAGS") && le(w.FORBID_TAGS) ? dt({}, w.FORBID_TAGS, Ft) : pe({}), tt = Bt(w, "FORBID_ATTR") && le(w.FORBID_ATTR) ? dt({}, w.FORBID_ATTR, Ft) : pe({}), br = Bt(w, "USE_PROFILES") ? w.USE_PROFILES && typeof w.USE_PROFILES == "object" ? pe(w.USE_PROFILES) : w.USE_PROFILES : !1, F = w.ALLOW_ARIA_ATTR !== !1, W = w.ALLOW_DATA_ATTR !== !1, Z = w.ALLOW_UNKNOWN_PROTOCOLS || !1, G = w.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ct = w.SAFE_FOR_TEMPLATES || !1, ot = w.SAFE_FOR_XML !== !1, St = w.WHOLE_DOCUMENT || !1, vt = w.RETURN_DOM || !1, $e = w.RETURN_DOM_FRAGMENT || !1, ae = w.RETURN_TRUSTED_TYPE || !1, rt = w.FORCE_BODY || !1, di = w.SANITIZE_DOM !== !1, yr = w.SANITIZE_NAMED_PROPS || !1, cn = w.KEEP_CONTENT !== !1, pi = w.IN_PLACE || !1, K = RD(w.ALLOWED_URI_REGEXP) ? w.ALLOWED_URI_REGEXP : pv, _r = typeof w.NAMESPACE == "string" ? w.NAMESPACE : Ze, _o = Bt(w, "MATHML_TEXT_INTEGRATION_POINTS") && w.MATHML_TEXT_INTEGRATION_POINTS && typeof w.MATHML_TEXT_INTEGRATION_POINTS == "object" ? pe(w.MATHML_TEXT_INTEGRATION_POINTS) : dt({}, ["mi", "mo", "mn", "ms", "mtext"]), Eo = Bt(w, "HTML_INTEGRATION_POINTS") && w.HTML_INTEGRATION_POINTS && typeof w.HTML_INTEGRATION_POINTS == "object" ? pe(w.HTML_INTEGRATION_POINTS) : dt({}, ["annotation-xml"]);
11670
+ o1.indexOf(w.PARSER_MEDIA_TYPE) === -1 ? l1 : w.PARSER_MEDIA_TYPE, Ft = fi === "application/xhtml+xml" ? il : Ui, j = Bt(w, "ALLOWED_TAGS") && le(w.ALLOWED_TAGS) ? dt({}, w.ALLOWED_TAGS, Ft) : z, X = Bt(w, "ALLOWED_ATTR") && le(w.ALLOWED_ATTR) ? dt({}, w.ALLOWED_ATTR, Ft) : lt, bo = Bt(w, "ALLOWED_NAMESPACES") && le(w.ALLOWED_NAMESPACES) ? dt({}, w.ALLOWED_NAMESPACES, il) : s1, yo = Bt(w, "ADD_URI_SAFE_ATTR") && le(w.ADD_URI_SAFE_ATTR) ? dt(pe(bu), w.ADD_URI_SAFE_ATTR, Ft) : bu, yu = Bt(w, "ADD_DATA_URI_TAGS") && le(w.ADD_DATA_URI_TAGS) ? dt(pe(xu), w.ADD_DATA_URI_TAGS, Ft) : xu, Xe = Bt(w, "FORBID_CONTENTS") && le(w.FORBID_CONTENTS) ? dt({}, w.FORBID_CONTENTS, Ft) : vo, Y = Bt(w, "FORBID_TAGS") && le(w.FORBID_TAGS) ? dt({}, w.FORBID_TAGS, Ft) : pe({}), tt = Bt(w, "FORBID_ATTR") && le(w.FORBID_ATTR) ? dt({}, w.FORBID_ATTR, Ft) : pe({}), br = Bt(w, "USE_PROFILES") ? w.USE_PROFILES && typeof w.USE_PROFILES == "object" ? pe(w.USE_PROFILES) : w.USE_PROFILES : !1, F = w.ALLOW_ARIA_ATTR !== !1, W = w.ALLOW_DATA_ATTR !== !1, Z = w.ALLOW_UNKNOWN_PROTOCOLS || !1, G = w.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ct = w.SAFE_FOR_TEMPLATES || !1, ot = w.SAFE_FOR_XML !== !1, St = w.WHOLE_DOCUMENT || !1, vt = w.RETURN_DOM || !1, $e = w.RETURN_DOM_FRAGMENT || !1, ae = w.RETURN_TRUSTED_TYPE || !1, rt = w.FORCE_BODY || !1, di = w.SANITIZE_DOM !== !1, yr = w.SANITIZE_NAMED_PROPS || !1, cn = w.KEEP_CONTENT !== !1, pi = w.IN_PLACE || !1, K = RL(w.ALLOWED_URI_REGEXP) ? w.ALLOWED_URI_REGEXP : pv, _r = typeof w.NAMESPACE == "string" ? w.NAMESPACE : Ze, _o = Bt(w, "MATHML_TEXT_INTEGRATION_POINTS") && w.MATHML_TEXT_INTEGRATION_POINTS && typeof w.MATHML_TEXT_INTEGRATION_POINTS == "object" ? pe(w.MATHML_TEXT_INTEGRATION_POINTS) : dt({}, ["mi", "mo", "mn", "ms", "mtext"]), Eo = Bt(w, "HTML_INTEGRATION_POINTS") && w.HTML_INTEGRATION_POINTS && typeof w.HTML_INTEGRATION_POINTS == "object" ? pe(w.HTML_INTEGRATION_POINTS) : dt({}, ["annotation-xml"]);
11669
11671
  const q = Bt(w, "CUSTOM_ELEMENT_HANDLING") && w.CUSTOM_ELEMENT_HANDLING && typeof w.CUSTOM_ELEMENT_HANDLING == "object" ? pe(w.CUSTOM_ELEMENT_HANDLING) : Ir(null);
11670
11672
  if (J = Ir(null), Bt(q, "tagNameCheck") && _u(q.tagNameCheck) && (J.tagNameCheck = q.tagNameCheck), Bt(q, "attributeNameCheck") && _u(q.attributeNameCheck) && (J.attributeNameCheck = q.attributeNameCheck), Bt(q, "allowCustomizedBuiltInElements") && typeof q.allowCustomizedBuiltInElements == "boolean" && (J.allowCustomizedBuiltInElements = q.allowCustomizedBuiltInElements), ct && (W = !1), $e && (vt = !0), br && (j = dt({}, rp), X = Ir(null), br.html === !0 && (dt(j, np), dt(X, ip)), br.svg === !0 && (dt(j, sl), dt(X, ll), dt(X, Gs)), br.svgFilters === !0 && (dt(j, al), dt(X, ll), dt(X, Gs)), br.mathMl === !0 && (dt(j, ol), dt(X, sp), dt(X, Gs))), it.tagCheck = null, it.attributeCheck = null, Bt(w, "ADD_TAGS") && (typeof w.ADD_TAGS == "function" ? it.tagCheck = w.ADD_TAGS : le(w.ADD_TAGS) && (j === z && (j = pe(j)), dt(j, w.ADD_TAGS, Ft))), Bt(w, "ADD_ATTR") && (typeof w.ADD_ATTR == "function" ? it.attributeCheck = w.ADD_ATTR : le(w.ADD_ATTR) && (X === lt && (X = pe(X)), dt(X, w.ADD_ATTR, Ft))), Bt(w, "ADD_URI_SAFE_ATTR") && le(w.ADD_URI_SAFE_ATTR) && dt(yo, w.ADD_URI_SAFE_ATTR, Ft), Bt(w, "FORBID_CONTENTS") && le(w.FORBID_CONTENTS) && (Xe === vo && (Xe = pe(Xe)), dt(Xe, w.FORBID_CONTENTS, Ft)), Bt(w, "ADD_FORBID_CONTENTS") && le(w.ADD_FORBID_CONTENTS) && (Xe === vo && (Xe = pe(Xe)), dt(Xe, w.ADD_FORBID_CONTENTS, Ft)), cn && (j["#text"] = !0), St && dt(j, ["html", "head", "body"]), j.table && (dt(j, ["tbody"]), delete Y.tbody), w.TRUSTED_TYPES_POLICY) {
11671
11673
  if (typeof w.TRUSTED_TYPES_POLICY.createHTML != "function")
@@ -11674,9 +11676,9 @@ function mv() {
11674
11676
  throw Vs('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
11675
11677
  E = w.TRUSTED_TYPES_POLICY, x = E.createHTML("");
11676
11678
  } else
11677
- E === void 0 && (E = WD(p, i)), E !== null && typeof x == "string" && (x = E.createHTML(""));
11679
+ E === void 0 && (E = WL(p, i)), E !== null && typeof x == "string" && (x = E.createHTML(""));
11678
11680
  he && he(w), Er = w;
11679
- }, Eu = dt({}, [...sl, ...al, ...ID]), Ou = dt({}, [...ol, ...ND]), u1 = function(w) {
11681
+ }, Eu = dt({}, [...sl, ...al, ...IL]), Ou = dt({}, [...ol, ...NL]), u1 = function(w) {
11680
11682
  let q = _(w);
11681
11683
  (!q || !q.tagName) && (q = {
11682
11684
  namespaceURI: _r,
@@ -11739,7 +11741,7 @@ function mv() {
11739
11741
  }
11740
11742
  }
11741
11743
  const Kt = q.body || q.documentElement;
11742
- return w && Q && Kt.insertBefore(n.createTextNode(Q), Kt.childNodes[0] || null), _r === Ze ? A.call(q, St ? "html" : "body")[0] : St ? q.documentElement : Kt;
11744
+ return w && Q && Kt.insertBefore(n.createTextNode(Q), Kt.childNodes[0] || null), _r === Ze ? D.call(q, St ? "html" : "body")[0] : St ? q.documentElement : Kt;
11743
11745
  }, Su = function(w) {
11744
11746
  return M.call(
11745
11747
  w.ownerDocument || w,
@@ -11802,7 +11804,7 @@ function mv() {
11802
11804
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
11803
11805
  q === "is" && J.allowCustomizedBuiltInElements && (J.tagNameCheck instanceof RegExp && Qt(J.tagNameCheck, Q) || J.tagNameCheck instanceof Function && J.tagNameCheck(Q)))
11804
11806
  ) return !1;
11805
- } else if (!yo[q] && !Qt(K, Mr(Q, k, "")) && !((q === "src" || q === "xlink:href" || q === "href") && w !== "script" && Jd(Q, "data:") === 0 && yu[w]) && !(Z && !Qt(L, Mr(Q, k, ""))) && Q)
11807
+ } else if (!yo[q] && !Qt(K, Mr(Q, R, "")) && !((q === "src" || q === "xlink:href" || q === "href") && w !== "script" && Jd(Q, "data:") === 0 && yu[w]) && !(Z && !Qt(A, Mr(Q, R, ""))) && Q)
11806
11808
  return !1;
11807
11809
  }
11808
11810
  return !0;
@@ -11829,7 +11831,7 @@ function mv() {
11829
11831
  namespaceURI: hn,
11830
11832
  value: Ke
11831
11833
  } = Kt, oe = Ft(Rt), In = Ke;
11832
- let Xt = Rt === "value" ? In : MD(In);
11834
+ let Xt = Rt === "value" ? In : ML(In);
11833
11835
  if (Q.attrName = oe, Q.attrValue = Xt, Q.keepAttr = !0, Q.forceKeepAttr = void 0, un(C.uponSanitizeAttribute, w, Q), Xt = Q.attrValue, yr && (oe === "id" || oe === "name") && Jd(Xt, xr) !== 0 && (jn(Rt, w), Xt = xr + Xt), ot && Qt(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, Xt)) {
11834
11836
  jn(Rt, w);
11835
11837
  continue;
@@ -11851,13 +11853,13 @@ function mv() {
11851
11853
  ct && Ti([H, P, U], (d1) => {
11852
11854
  Xt = Mr(Xt, d1, " ");
11853
11855
  });
11854
- const Lu = Ft(w.nodeName);
11855
- if (!$u(Lu, oe, Xt)) {
11856
+ const Du = Ft(w.nodeName);
11857
+ if (!$u(Du, oe, Xt)) {
11856
11858
  jn(Rt, w);
11857
11859
  continue;
11858
11860
  }
11859
11861
  if (E && typeof p == "object" && typeof p.getAttributeType == "function" && !hn)
11860
- switch (p.getAttributeType(Lu, oe)) {
11862
+ switch (p.getAttributeType(Du, oe)) {
11861
11863
  case "TrustedHTML": {
11862
11864
  Xt = E.createHTML(Xt);
11863
11865
  break;
@@ -11884,7 +11886,7 @@ function mv() {
11884
11886
  };
11885
11887
  return t.sanitize = function(w) {
11886
11888
  let q = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, Q = null, bt = null, Kt = null, Rt = null;
11887
- if (xo = !w, xo && (w = "<!-->"), typeof w != "string" && !So(w) && (w = kD(w), typeof w != "string"))
11889
+ if (xo = !w, xo && (w = "<!-->"), typeof w != "string" && !So(w) && (w = kL(w), typeof w != "string"))
11888
11890
  throw Vs("dirty is not a string, aborting");
11889
11891
  if (!t.isSupported)
11890
11892
  return w;
@@ -11919,11 +11921,11 @@ function mv() {
11919
11921
  }), Q.innerHTML = oe;
11920
11922
  }
11921
11923
  if ($e)
11922
- for (Rt = D.call(Q.ownerDocument); Q.firstChild; )
11924
+ for (Rt = k.call(Q.ownerDocument); Q.firstChild; )
11923
11925
  Rt.appendChild(Q.firstChild);
11924
11926
  else
11925
11927
  Rt = Q;
11926
- return (X.shadowroot || X.shadowrootmode) && (Rt = R.call(r, Rt, !0)), Rt;
11928
+ return (X.shadowroot || X.shadowrootmode) && (Rt = L.call(r, Rt, !0)), Rt;
11927
11929
  }
11928
11930
  let Ke = St ? Q.outerHTML : Q.innerHTML;
11929
11931
  return St && j["!doctype"] && Q.ownerDocument && Q.ownerDocument.doctype && Q.ownerDocument.doctype.name && Qt(fv, Q.ownerDocument.doctype.name) && (Ke = "<!DOCTYPE " + Q.ownerDocument.doctype.name + `>
@@ -11943,8 +11945,8 @@ function mv() {
11943
11945
  typeof q == "function" && Si(C[w], q);
11944
11946
  }, t.removeHook = function(w, q) {
11945
11947
  if (q !== void 0) {
11946
- const Q = wD(C[w], q);
11947
- return Q === -1 ? void 0 : $D(C[w], Q, 1)[0];
11948
+ const Q = wL(C[w], q);
11949
+ return Q === -1 ? void 0 : $L(C[w], Q, 1)[0];
11948
11950
  }
11949
11951
  return Kd(C[w]);
11950
11952
  }, t.removeHooks = function(w) {
@@ -11960,7 +11962,7 @@ const Fs = (e) => au.sanitize(e, {
11960
11962
  svg: !0,
11961
11963
  svgFilters: !0
11962
11964
  }
11963
- }), qD = (e) => au.sanitize(e, {
11965
+ }), qL = (e) => au.sanitize(e, {
11964
11966
  NAMESPACE: "http://www.w3.org/2000/svg",
11965
11967
  USE_PROFILES: {
11966
11968
  html: !0,
@@ -12006,7 +12008,7 @@ const Fs = (e) => au.sanitize(e, {
12006
12008
  `control-${rn(l.id)}`
12007
12009
  )}" aria-label="${rn(l.title)}">
12008
12010
  <svg focusable="false" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" class="cds--overflow-menu__icon cds--overflow-menu__icon" viewBox="0 0 32 32" aria-hidden="true">
12009
- ${qD(l.iconSVG.content)}
12011
+ ${qL(l.iconSVG.content)}
12010
12012
  </svg>
12011
12013
  </button>`).each(function(l, c) {
12012
12014
  I(this).select("svg").style("pointer-events", "none").style("will-change", "transform").style("width", l.iconSVG.width !== void 0 ? l.iconSVG.width : "20px").style("height", l.iconSVG.height !== void 0 ? l.iconSVG.height : "20px"), I(this).select("button").on("mouseover focus", function(u) {
@@ -12433,7 +12435,7 @@ const yv = class xv extends mt {
12433
12435
  };
12434
12436
  yv.instanceID = Math.floor(Math.random() * 99999999999);
12435
12437
  let Oe = yv;
12436
- class Ln extends mt {
12438
+ class Dn extends mt {
12437
12439
  constructor() {
12438
12440
  super(...arguments), this.type = "spacer";
12439
12441
  }
@@ -12644,15 +12646,15 @@ class ou extends mt {
12644
12646
  _.exit().remove();
12645
12647
  const E = _.enter().append("div").merge(_).classed("legend-item", !0).classed("additional", !0).attr("role", "img").attr(
12646
12648
  "aria-labelledby",
12647
- (M, D) => this.services.domUtils.generateElementIDString(
12648
- `legend-datagroup-${m.size() + D}-title`
12649
+ (M, k) => this.services.domUtils.generateElementIDString(
12650
+ `legend-datagroup-${m.size() + k}-title`
12649
12651
  )
12650
12652
  );
12651
12653
  E.selectAll("*").remove();
12652
12654
  let x, T = 1;
12653
12655
  E.append("svg").classed("icon", !0).each(function(M) {
12654
- const D = I(this);
12655
- !x || x != M.type ? (x = M.type, T = 1) : T++, b.addAdditionalItem(D, M, T);
12656
+ const k = I(this);
12657
+ !x || x != M.type ? (x = M.type, T = 1) : T++, b.addAdditionalItem(k, M, T);
12656
12658
  }), E.append("p").merge(E.select("p")), this.truncateLegendText();
12657
12659
  }
12658
12660
  d.exit().on("mouseover", null).on("click", null).on("mouseout", null).remove(), p && h.size() > 1 && this.addEventListeners();
@@ -12779,7 +12781,7 @@ class bv extends mt {
12779
12781
  a - s > 0 && c.attr("x", s).attr("y", l).attr("width", a - s).attr("height", o - l), this.chartClipPath.merge(c).lower();
12780
12782
  }
12781
12783
  }
12782
- class YD extends bv {
12784
+ class YL extends bv {
12783
12785
  constructor() {
12784
12786
  super(...arguments), this.type = "canvas-chart-clip", this.chartClipId = "canvas-chart-clip-id-" + Math.floor(Math.random() * 99999999999);
12785
12787
  }
@@ -13100,17 +13102,17 @@ const _v = class ia extends mt {
13100
13102
  const g = (x) => {
13101
13103
  const T = x[1] - x[0];
13102
13104
  let M = "0," + T.toString();
13103
- const D = Math.floor(l / ia.DASH_LENGTH), A = D * ia.DASH_LENGTH;
13104
- for (let R = 0; R < D; R++)
13105
+ const k = Math.floor(l / ia.DASH_LENGTH), D = k * ia.DASH_LENGTH;
13106
+ for (let L = 0; L < k; L++)
13105
13107
  M += "," + ia.DASH_LENGTH;
13106
- M += "," + (l - A), D % 2 === 1 && (M += ",0"), M += "," + T.toString(), M += "," + l.toString(), p.attr("stroke-dasharray", M);
13108
+ M += "," + (l - D), k % 2 === 1 && (M += ",0"), M += "," + T.toString(), M += "," + l.toString(), p.attr("stroke-dasharray", M);
13107
13109
  }, m = (x) => {
13108
13110
  const T = x.selection;
13109
13111
  T === null || T[0] === T[1] || (p.attr("x", parseFloat(a.attr("x")) + parseFloat(i.attr("x"))).attr("y", a.attr("y")).attr("width", a.attr("width")).attr("height", a.attr("height")).style("cursor", "pointer").style("display", null), g(T));
13110
13112
  }, v = (x, T) => {
13111
13113
  const M = sg().range([0, o]).domain(f);
13112
- let D = [M.invert(x), M.invert(T)], A = "manual";
13113
- D[0].valueOf() === D[1].valueOf() ? (D = this.services.zoom.getDefaultZoomBarDomain(), A = "reset") : A = "manual", (f[0].valueOf() !== D[0].valueOf() || f[1].valueOf() !== D[1].valueOf()) && this.services.zoom.handleDomainChange(D, { dispatchEvent: !0, type: A });
13114
+ let k = [M.invert(x), M.invert(T)], D = "manual";
13115
+ k[0].valueOf() === k[1].valueOf() ? (k = this.services.zoom.getDefaultZoomBarDomain(), D = "reset") : D = "manual", (f[0].valueOf() !== k[0].valueOf() || f[1].valueOf() !== k[1].valueOf()) && this.services.zoom.handleDomainChange(k, { dispatchEvent: !0, type: D });
13114
13116
  };
13115
13117
  let b;
13116
13118
  const _ = (x) => {
@@ -13125,18 +13127,18 @@ const _v = class ia extends mt {
13125
13127
  i.on("click", function(x) {
13126
13128
  if (x.shiftKey) {
13127
13129
  const T = this.services.domUtils.getHolder(), M = rr(s.node(), T)[0];
13128
- let D = M - o * E / 2;
13129
- D < 0 && (D = 0);
13130
- let A = M + o * E / 2;
13131
- A > o && (A = o), v(D, A);
13130
+ let k = M - o * E / 2;
13131
+ k < 0 && (k = 0);
13132
+ let D = M + o * E / 2;
13133
+ D > o && (D = o), v(k, D);
13132
13134
  }
13133
13135
  });
13134
13136
  }
13135
13137
  }
13136
13138
  };
13137
13139
  _v.DASH_LENGTH = 4;
13138
- let XD = _v;
13139
- class ZD extends mt {
13140
+ let XL = _v;
13141
+ class ZL extends mt {
13140
13142
  constructor() {
13141
13143
  super(...arguments), this.type = "zoom-bar", this.renderType = nt.SVG, this.MIN_SELECTION_DIFF = 9e-10, this.brushSelector = "g.zoom-bar-brush", this.clipId = "zoomBarClip-" + Math.floor(Math.random() * 99999999999), this.brush = Ng(), this.highlightStrokeWidth = 1;
13142
13144
  }
@@ -13200,17 +13202,17 @@ class ZD extends mt {
13200
13202
  ), this.xScale.range([c, l]).domain(v), this.maxSelectionRange = this.xScale.range(), this.yScale.range([0, o - 6]).domain(Fe(m, (T) => T.value));
13201
13203
  const E = this.model.get("zoomDomain");
13202
13204
  if (s === Je.GRAPH_VIEW && (this.renderZoomBarArea(d, "path.zoom-graph-area-unselected", m, null), this.updateClipPath(n, this.clipId, 0, 0, 0, 0), this.renderZoomBarArea(d, "path.zoom-graph-area", m, this.clipId), this.renderZoomBarBaseline(d, c, l), a)) {
13203
- const T = a.highlightStartMapsTo, M = a.highlightEndMapsTo, D = a.color, A = a.labelMapsTo;
13204
- a.data.forEach((R, C) => {
13205
- N.appendOrSelect(d, `rect.highlight-${C}`).attr("height", o - 2 * this.highlightStrokeWidth).attr("y", this.highlightStrokeWidth).attr("x", this.xScale(R[T])).attr(
13205
+ const T = a.highlightStartMapsTo, M = a.highlightEndMapsTo, k = a.color, D = a.labelMapsTo;
13206
+ a.data.forEach((L, C) => {
13207
+ N.appendOrSelect(d, `rect.highlight-${C}`).attr("height", o - 2 * this.highlightStrokeWidth).attr("y", this.highlightStrokeWidth).attr("x", this.xScale(L[T])).attr(
13206
13208
  "width",
13207
- this.xScale(R[M]) - this.xScale(R[T])
13209
+ this.xScale(L[M]) - this.xScale(L[T])
13208
13210
  ).style(
13209
13211
  "fill",
13210
- D && D.scale[R[A]] ? D.scale[R[A]] : null
13212
+ k && k.scale[L[D]] ? k.scale[L[D]] : null
13211
13213
  ).style("fill-opacity", 0.1).style(
13212
13214
  "stroke",
13213
- D && D.scale[R[A]] ? D.scale[R[A]] : null
13215
+ k && k.scale[L[D]] ? k.scale[L[D]] : null
13214
13216
  ).style("stroke-dasharray", "2, 2").attr("stroke-width", "1px");
13215
13217
  });
13216
13218
  }
@@ -13338,7 +13340,7 @@ class ZD extends mt {
13338
13340
  this.brush.on("start brush end", null), this.services.events.removeEventListener(S.ZoomBar.UPDATE, this.render.bind(this));
13339
13341
  }
13340
13342
  }
13341
- class KD extends mt {
13343
+ class KL extends mt {
13342
13344
  constructor(t, n) {
13343
13345
  super(t, n), this.type = "threshold", this.renderType = nt.SVG, this.positionService = new fo();
13344
13346
  }
@@ -13375,36 +13377,36 @@ class KD extends mt {
13375
13377
  ), d = l.services.cartesianScales.getScaleTypeByPosition(c);
13376
13378
  let h = null, p = null;
13377
13379
  c === V.LEFT || c === V.RIGHT ? (p = u, h = l.services.cartesianScales.getMainXScale()) : (h = u, p = l.services.cartesianScales.getMainYScale());
13378
- const f = d === et.LABELS, [g, m] = h.range(), [v, b] = p.range(), { cartesianScales: _ } = l.services, E = _.getOrientation(), x = (R) => _.getDomainValue(R), T = (R) => _.getRangeValue(R), [M, D] = On(
13380
+ const f = d === et.LABELS, [g, m] = h.range(), [v, b] = p.range(), { cartesianScales: _ } = l.services, E = _.getOrientation(), x = (L) => _.getDomainValue(L), T = (L) => _.getRangeValue(L), [M, k] = On(
13379
13381
  x,
13380
13382
  T,
13381
13383
  E
13382
- ), A = I(this);
13383
- c === V.TOP || c === V.BOTTOM ? (A.selectAll("line.threshold-line").transition().call(
13384
- (R) => l.services.transitions.setupTransition({
13385
- transition: R,
13384
+ ), D = I(this);
13385
+ c === V.TOP || c === V.BOTTOM ? (D.selectAll("line.threshold-line").transition().call(
13386
+ (L) => l.services.transitions.setupTransition({
13387
+ transition: L,
13386
13388
  name: "threshold-line-update",
13387
13389
  animate: t
13388
13390
  })
13389
13391
  ).attr("y1", b).attr("y2", v).attr(
13390
13392
  "x1",
13391
- ({ datum: R }) => M(R) + (f ? u.step() / 2 : 0)
13393
+ ({ datum: L }) => M(L) + (f ? u.step() / 2 : 0)
13392
13394
  ).attr(
13393
13395
  "x2",
13394
- ({ datum: R }) => M(R) + (f ? u.step() / 2 : 0)
13395
- ).style("stroke", ({ fillColor: R }) => R), A.selectAll("rect.threshold-hoverable-area").attr("x", 0).attr("y", ({ datum: R }) => -M(R)).attr("width", Math.abs(v - b)).classed("rotate", !0)) : (A.selectAll("line.threshold-line").transition().call(
13396
- (R) => l.services.transitions.setupTransition({
13397
- transition: R,
13396
+ ({ datum: L }) => M(L) + (f ? u.step() / 2 : 0)
13397
+ ).style("stroke", ({ fillColor: L }) => L), D.selectAll("rect.threshold-hoverable-area").attr("x", 0).attr("y", ({ datum: L }) => -M(L)).attr("width", Math.abs(v - b)).classed("rotate", !0)) : (D.selectAll("line.threshold-line").transition().call(
13398
+ (L) => l.services.transitions.setupTransition({
13399
+ transition: L,
13398
13400
  name: "threshold-line-update",
13399
13401
  animate: t
13400
13402
  })
13401
13403
  ).attr("x1", g).attr("x2", m).attr(
13402
13404
  "y1",
13403
- ({ datum: R }) => D(R) + (f ? u.step() / 2 : 0)
13405
+ ({ datum: L }) => k(L) + (f ? u.step() / 2 : 0)
13404
13406
  ).attr(
13405
13407
  "y2",
13406
- ({ datum: R }) => D(R) + (f ? u.step() / 2 : 0)
13407
- ).style("stroke", ({ fillColor: R }) => R), A.selectAll("rect.threshold-hoverable-area").attr("x", g).attr("y", ({ datum: R }) => D(R)).attr("width", Math.abs(m - g)).classed("rotate", !1));
13408
+ ({ datum: L }) => k(L) + (f ? u.step() / 2 : 0)
13409
+ ).style("stroke", ({ fillColor: L }) => L), D.selectAll("rect.threshold-hoverable-area").attr("x", g).attr("y", ({ datum: L }) => k(L)).attr("width", Math.abs(m - g)).classed("rotate", !1));
13408
13410
  }), this.services.events.addEventListener(S.Threshold.SHOW, (c) => {
13409
13411
  this.setThresholdLabelPosition(c.detail), this.label.classed("hidden", !1);
13410
13412
  }), this.services.events.addEventListener(S.Threshold.HIDE, () => {
@@ -13418,7 +13420,7 @@ class KD extends mt {
13418
13420
  d.ticks(),
13419
13421
  y(h, "timeInterval")
13420
13422
  );
13421
- return Dl(n, 0, d.ticks(), p, h, i.locale);
13423
+ return Ll(n, 0, d.ticks(), p, h, i.locale);
13422
13424
  }
13423
13425
  return o(n, a);
13424
13426
  }
@@ -13479,7 +13481,7 @@ class KD extends mt {
13479
13481
  });
13480
13482
  }
13481
13483
  }
13482
- class QD extends mt {
13484
+ class QL extends mt {
13483
13485
  constructor(t, n) {
13484
13486
  super(t, n), this.type = "highlight", this.renderType = nt.SVG, this.positionService = new fo(), this.highlightStrokeWidth = 1;
13485
13487
  }
@@ -13524,19 +13526,19 @@ class QD extends mt {
13524
13526
  name: "highlight-bar-update",
13525
13527
  animate: t
13526
13528
  })
13527
- ).attr("y", Math.max(g + l.highlightStrokeWidth, 0)).attr("height", Math.max(f - 2 * l.highlightStrokeWidth, 0)).attr("x", ({ highlightStartMapsTo: M, ...D }) => E(D[M])).attr(
13529
+ ).attr("y", Math.max(g + l.highlightStrokeWidth, 0)).attr("height", Math.max(f - 2 * l.highlightStrokeWidth, 0)).attr("x", ({ highlightStartMapsTo: M, ...k }) => E(k[M])).attr(
13528
13530
  "width",
13529
- ({ highlightStartMapsTo: M, highlightEndMapsTo: D, ...A }) => Math.max(E(A[D]) - E(A[M]), 0)
13530
- ).style("stroke", ({ color: M, labelMapsTo: D, ...A }) => M && M.scale[A[D]] ? M.scale[A[D]] : null).style("stroke-dasharray", "2, 2").attr("stroke-width", l.highlightStrokeWidth + "px").style("fill-opacity", 0.1).style("fill", ({ color: M, labelMapsTo: D, ...A }) => M && M.scale[A[D]] ? M.scale[A[D]] : null) : T.selectAll("rect.highlight-bar").transition().call(
13531
+ ({ highlightStartMapsTo: M, highlightEndMapsTo: k, ...D }) => Math.max(E(D[k]) - E(D[M]), 0)
13532
+ ).style("stroke", ({ color: M, labelMapsTo: k, ...D }) => M && M.scale[D[k]] ? M.scale[D[k]] : null).style("stroke-dasharray", "2, 2").attr("stroke-width", l.highlightStrokeWidth + "px").style("fill-opacity", 0.1).style("fill", ({ color: M, labelMapsTo: k, ...D }) => M && M.scale[D[k]] ? M.scale[D[k]] : null) : T.selectAll("rect.highlight-bar").transition().call(
13531
13533
  (M) => l.services.transitions.setupTransition({
13532
13534
  transition: M,
13533
13535
  name: "highlight-bar-update",
13534
13536
  animate: t
13535
13537
  })
13536
- ).attr("x", h).attr("width", Math.max(p - h, 0)).attr("y", ({ highlightEndMapsTo: M, ...D }) => x(D[M])).attr(
13538
+ ).attr("x", h).attr("width", Math.max(p - h, 0)).attr("y", ({ highlightEndMapsTo: M, ...k }) => x(k[M])).attr(
13537
13539
  "height",
13538
- ({ highlightStartMapsTo: M, highlightEndMapsTo: D, ...A }) => Math.max(x(A[M]) - x(A[D]), 0)
13539
- ).style("stroke", ({ color: M, labelMapsTo: D, ...A }) => M && M.scale[A[D]] ? M.scale[A[D]] : null).style("stroke-dasharray", "2, 2").attr("stroke-width", l.highlightStrokeWidth + "px").style("fill-opacity", 0.1).style("fill", ({ color: M, labelMapsTo: D, ...A }) => M && M.scale[A[D]] ? M.scale[A[D]] : null);
13540
+ ({ highlightStartMapsTo: M, highlightEndMapsTo: k, ...D }) => Math.max(x(D[M]) - x(D[k]), 0)
13541
+ ).style("stroke", ({ color: M, labelMapsTo: k, ...D }) => M && M.scale[D[k]] ? M.scale[D[k]] : null).style("stroke-dasharray", "2, 2").attr("stroke-width", l.highlightStrokeWidth + "px").style("fill-opacity", 0.1).style("fill", ({ color: M, labelMapsTo: k, ...D }) => M && M.scale[D[k]] ? M.scale[D[k]] : null);
13540
13542
  });
13541
13543
  }
13542
13544
  }
@@ -13640,7 +13642,7 @@ function up(e, t) {
13640
13642
  }
13641
13643
  return n;
13642
13644
  }
13643
- function JD(e, t) {
13645
+ function JL(e, t) {
13644
13646
  let n;
13645
13647
  if (t === void 0)
13646
13648
  for (const r of e)
@@ -13745,17 +13747,17 @@ function sk() {
13745
13747
  return arguments.length ? (p = +O, f) : p;
13746
13748
  };
13747
13749
  function g({ nodes: O, links: $ }) {
13748
- for (const [k, B] of O.entries())
13749
- B.index = k, B.sourceLinks = [], B.targetLinks = [];
13750
- const L = new Map(O.map((k, B) => [o(k, B, O), k]));
13751
- for (const [k, B] of $.entries()) {
13752
- B.index = k;
13750
+ for (const [R, B] of O.entries())
13751
+ B.index = R, B.sourceLinks = [], B.targetLinks = [];
13752
+ const A = new Map(O.map((R, B) => [o(R, B, O), R]));
13753
+ for (const [R, B] of $.entries()) {
13754
+ B.index = R;
13753
13755
  let { source: K, target: j } = B;
13754
- typeof K != "object" && (K = B.source = pp(L, K)), typeof j != "object" && (j = B.target = pp(L, j)), K.sourceLinks.push(B), j.targetLinks.push(B);
13756
+ typeof K != "object" && (K = B.source = pp(A, K)), typeof j != "object" && (j = B.target = pp(A, j)), K.sourceLinks.push(B), j.targetLinks.push(B);
13755
13757
  }
13756
13758
  if (u != null)
13757
- for (const { sourceLinks: k, targetLinks: B } of O)
13758
- k.sort(u), B.sort(u);
13759
+ for (const { sourceLinks: R, targetLinks: B } of O)
13760
+ R.sort(u), B.sort(u);
13759
13761
  }
13760
13762
  function m({ nodes: O }) {
13761
13763
  for (const $ of O)
@@ -13763,68 +13765,68 @@ function sk() {
13763
13765
  }
13764
13766
  function v({ nodes: O }) {
13765
13767
  const $ = O.length;
13766
- let L = new Set(O), k = /* @__PURE__ */ new Set(), B = 0;
13767
- for (; L.size; ) {
13768
- for (const K of L) {
13768
+ let A = new Set(O), R = /* @__PURE__ */ new Set(), B = 0;
13769
+ for (; A.size; ) {
13770
+ for (const K of A) {
13769
13771
  K.depth = B;
13770
13772
  for (const { target: j } of K.sourceLinks)
13771
- k.add(j);
13773
+ R.add(j);
13772
13774
  }
13773
13775
  if (++B > $) throw new Error("circular link");
13774
- L = k, k = /* @__PURE__ */ new Set();
13776
+ A = R, R = /* @__PURE__ */ new Set();
13775
13777
  }
13776
13778
  }
13777
13779
  function b({ nodes: O }) {
13778
13780
  const $ = O.length;
13779
- let L = new Set(O), k = /* @__PURE__ */ new Set(), B = 0;
13780
- for (; L.size; ) {
13781
- for (const K of L) {
13781
+ let A = new Set(O), R = /* @__PURE__ */ new Set(), B = 0;
13782
+ for (; A.size; ) {
13783
+ for (const K of A) {
13782
13784
  K.height = B;
13783
13785
  for (const { source: j } of K.targetLinks)
13784
- k.add(j);
13786
+ R.add(j);
13785
13787
  }
13786
13788
  if (++B > $) throw new Error("circular link");
13787
- L = k, k = /* @__PURE__ */ new Set();
13789
+ A = R, R = /* @__PURE__ */ new Set();
13788
13790
  }
13789
13791
  }
13790
13792
  function _({ nodes: O }) {
13791
- const $ = up(O, (B) => B.depth) + 1, L = (n - e - i) / ($ - 1), k = new Array($);
13793
+ const $ = up(O, (B) => B.depth) + 1, A = (n - e - i) / ($ - 1), R = new Array($);
13792
13794
  for (const B of O) {
13793
13795
  const K = Math.max(0, Math.min($ - 1, Math.floor(l.call(null, B, $))));
13794
- B.layer = K, B.x0 = e + K * L, B.x1 = B.x0 + i, k[K] ? k[K].push(B) : k[K] = [B];
13796
+ B.layer = K, B.x0 = e + K * A, B.x1 = B.x0 + i, R[K] ? R[K].push(B) : R[K] = [B];
13795
13797
  }
13796
- if (c) for (const B of k)
13798
+ if (c) for (const B of R)
13797
13799
  B.sort(c);
13798
- return k;
13800
+ return R;
13799
13801
  }
13800
13802
  function E(O) {
13801
- const $ = JD(O, (L) => (r - t - (L.length - 1) * a) / cl(L, ul));
13802
- for (const L of O) {
13803
- let k = t;
13804
- for (const B of L) {
13805
- B.y0 = k, B.y1 = k + B.value * $, k = B.y1 + a;
13803
+ const $ = JL(O, (A) => (r - t - (A.length - 1) * a) / cl(A, ul));
13804
+ for (const A of O) {
13805
+ let R = t;
13806
+ for (const B of A) {
13807
+ B.y0 = R, B.y1 = R + B.value * $, R = B.y1 + a;
13806
13808
  for (const K of B.sourceLinks)
13807
13809
  K.width = K.value * $;
13808
13810
  }
13809
- k = (r - k + a) / (L.length + 1);
13810
- for (let B = 0; B < L.length; ++B) {
13811
- const K = L[B];
13812
- K.y0 += k * (B + 1), K.y1 += k * (B + 1);
13811
+ R = (r - R + a) / (A.length + 1);
13812
+ for (let B = 0; B < A.length; ++B) {
13813
+ const K = A[B];
13814
+ K.y0 += R * (B + 1), K.y1 += R * (B + 1);
13813
13815
  }
13814
- H(L);
13816
+ H(A);
13815
13817
  }
13816
13818
  }
13817
13819
  function x(O) {
13818
13820
  const $ = _(O);
13819
- a = Math.min(s, (r - t) / (up($, (L) => L.length) - 1)), E($);
13820
- for (let L = 0; L < p; ++L) {
13821
- const k = Math.pow(0.99, L), B = Math.max(1 - k, (L + 1) / p);
13822
- M($, k, B), T($, k, B);
13821
+ a = Math.min(s, (r - t) / (up($, (A) => A.length) - 1)), E($);
13822
+ for (let A = 0; A < p; ++A) {
13823
+ const R = Math.pow(0.99, A), B = Math.max(1 - R, (A + 1) / p);
13824
+ M($, R, B), T($, R, B);
13823
13825
  }
13824
13826
  }
13825
- function T(O, $, L) {
13826
- for (let k = 1, B = O.length; k < B; ++k) {
13827
- const K = O[k];
13827
+ function T(O, $, A) {
13828
+ for (let R = 1, B = O.length; R < B; ++R) {
13829
+ const K = O[R];
13828
13830
  for (const j of K) {
13829
13831
  let z = 0, X = 0;
13830
13832
  for (const { source: J, value: Y } of j.targetLinks) {
@@ -13835,11 +13837,11 @@ function sk() {
13835
13837
  let lt = (z / X - j.y0) * $;
13836
13838
  j.y0 += lt, j.y1 += lt, C(j);
13837
13839
  }
13838
- c === void 0 && K.sort(Pa), D(K, L);
13840
+ c === void 0 && K.sort(Pa), k(K, A);
13839
13841
  }
13840
13842
  }
13841
- function M(O, $, L) {
13842
- for (let k = O.length, B = k - 2; B >= 0; --B) {
13843
+ function M(O, $, A) {
13844
+ for (let R = O.length, B = R - 2; B >= 0; --B) {
13843
13845
  const K = O[B];
13844
13846
  for (const j of K) {
13845
13847
  let z = 0, X = 0;
@@ -13851,61 +13853,61 @@ function sk() {
13851
13853
  let lt = (z / X - j.y0) * $;
13852
13854
  j.y0 += lt, j.y1 += lt, C(j);
13853
13855
  }
13854
- c === void 0 && K.sort(Pa), D(K, L);
13856
+ c === void 0 && K.sort(Pa), k(K, A);
13855
13857
  }
13856
13858
  }
13857
- function D(O, $) {
13858
- const L = O.length >> 1, k = O[L];
13859
- R(O, k.y0 - a, L - 1, $), A(O, k.y1 + a, L + 1, $), R(O, r, O.length - 1, $), A(O, t, 0, $);
13859
+ function k(O, $) {
13860
+ const A = O.length >> 1, R = O[A];
13861
+ L(O, R.y0 - a, A - 1, $), D(O, R.y1 + a, A + 1, $), L(O, r, O.length - 1, $), D(O, t, 0, $);
13860
13862
  }
13861
- function A(O, $, L, k) {
13862
- for (; L < O.length; ++L) {
13863
- const B = O[L], K = ($ - B.y0) * k;
13863
+ function D(O, $, A, R) {
13864
+ for (; A < O.length; ++A) {
13865
+ const B = O[A], K = ($ - B.y0) * R;
13864
13866
  K > 1e-6 && (B.y0 += K, B.y1 += K), $ = B.y1 + a;
13865
13867
  }
13866
13868
  }
13867
- function R(O, $, L, k) {
13868
- for (; L >= 0; --L) {
13869
- const B = O[L], K = (B.y1 - $) * k;
13869
+ function L(O, $, A, R) {
13870
+ for (; A >= 0; --A) {
13871
+ const B = O[A], K = (B.y1 - $) * R;
13870
13872
  K > 1e-6 && (B.y0 -= K, B.y1 -= K), $ = B.y0 - a;
13871
13873
  }
13872
13874
  }
13873
13875
  function C({ sourceLinks: O, targetLinks: $ }) {
13874
13876
  if (u === void 0) {
13875
- for (const { source: { sourceLinks: L } } of $)
13876
- L.sort(dp);
13877
- for (const { target: { targetLinks: L } } of O)
13878
- L.sort(hp);
13877
+ for (const { source: { sourceLinks: A } } of $)
13878
+ A.sort(dp);
13879
+ for (const { target: { targetLinks: A } } of O)
13880
+ A.sort(hp);
13879
13881
  }
13880
13882
  }
13881
13883
  function H(O) {
13882
13884
  if (u === void 0)
13883
- for (const { sourceLinks: $, targetLinks: L } of O)
13884
- $.sort(dp), L.sort(hp);
13885
+ for (const { sourceLinks: $, targetLinks: A } of O)
13886
+ $.sort(dp), A.sort(hp);
13885
13887
  }
13886
13888
  function P(O, $) {
13887
- let L = O.y0 - (O.sourceLinks.length - 1) * a / 2;
13888
- for (const { target: k, width: B } of O.sourceLinks) {
13889
- if (k === $) break;
13890
- L += B + a;
13889
+ let A = O.y0 - (O.sourceLinks.length - 1) * a / 2;
13890
+ for (const { target: R, width: B } of O.sourceLinks) {
13891
+ if (R === $) break;
13892
+ A += B + a;
13891
13893
  }
13892
- for (const { source: k, width: B } of $.targetLinks) {
13893
- if (k === O) break;
13894
- L -= B;
13894
+ for (const { source: R, width: B } of $.targetLinks) {
13895
+ if (R === O) break;
13896
+ A -= B;
13895
13897
  }
13896
- return L;
13898
+ return A;
13897
13899
  }
13898
13900
  function U(O, $) {
13899
- let L = $.y0 - ($.targetLinks.length - 1) * a / 2;
13900
- for (const { source: k, width: B } of $.targetLinks) {
13901
- if (k === O) break;
13902
- L += B + a;
13901
+ let A = $.y0 - ($.targetLinks.length - 1) * a / 2;
13902
+ for (const { source: R, width: B } of $.targetLinks) {
13903
+ if (R === O) break;
13904
+ A += B + a;
13903
13905
  }
13904
- for (const { target: k, width: B } of O.sourceLinks) {
13905
- if (k === $) break;
13906
- L -= B;
13906
+ for (const { target: R, width: B } of O.sourceLinks) {
13907
+ if (R === $) break;
13908
+ A -= B;
13907
13909
  }
13908
- return L;
13910
+ return A;
13909
13911
  }
13910
13912
  return f;
13911
13913
  }
@@ -14194,11 +14196,11 @@ class yk extends mt {
14194
14196
  t.parent.selectAll(".node-group").on("mouseover", function(r, i) {
14195
14197
  const s = I(this), a = [];
14196
14198
  if (t.traverse({ link: "sourceLinks", node: "target" }, i, a), t.traverse({ link: "targetLinks", node: "source" }, i, a), a.length) {
14197
- const o = Li(s.attr("transform"));
14199
+ const o = Di(s.attr("transform"));
14198
14200
  if (s.attr("transform", `translate(${o.x - 2}, ${o.y})`), s.classed("node-hovered", !0).selectAll("rect.node").attr("width", 8), i.x0 - 2 === 0) {
14199
14201
  const c = t.services.domUtils.generateElementIDString(
14200
14202
  `alluvial-node-title-${i.index}`
14201
- ), u = t.parent.select(`g#${c}`), d = Li(u.attr("transform"));
14203
+ ), u = t.parent.select(`g#${c}`), d = Di(u.attr("transform"));
14202
14204
  u.attr("transform", `translate(${d.x + 4},${d.y})`);
14203
14205
  }
14204
14206
  const l = t.services.domUtils.generateElementIDString(
@@ -14225,11 +14227,11 @@ class yk extends mt {
14225
14227
  datum: i
14226
14228
  });
14227
14229
  }).on("mouseout", function(r, i) {
14228
- const s = I(this), a = Li(s.attr("transform"));
14230
+ const s = I(this), a = Di(s.attr("transform"));
14229
14231
  if (s.classed("node-hovered", !1).attr("transform", `translate(${a.x + 2}, ${a.y})`).select("rect.node").attr("width", Be.nodeWidth), i.x0 - 2 === 0) {
14230
14232
  const l = t.services.domUtils.generateElementIDString(
14231
14233
  `alluvial-node-title-${i.index}`
14232
- ), c = t.parent.select(`g#${l}`), u = Li(c.attr("transform"));
14234
+ ), c = t.parent.select(`g#${l}`), u = Di(c.attr("transform"));
14233
14235
  c.attr("transform", `translate(${u.x - 4},${u.y})`);
14234
14236
  }
14235
14237
  const o = t.services.domUtils.generateElementIDString(
@@ -14417,8 +14419,8 @@ class Sv extends mt {
14417
14419
  else {
14418
14420
  const M = y(this.model.getOptions(), "color", "scale");
14419
14421
  if (M !== null) {
14420
- const D = Object.keys(M);
14421
- T = M[D[0]];
14422
+ const k = Object.keys(M);
14423
+ T = M[k[0]];
14422
14424
  }
14423
14425
  }
14424
14426
  Nl.appendOrUpdateLinearGradient({
@@ -14928,39 +14930,39 @@ class wv extends mt {
14928
14930
  f.attr("aria-hidden", !0);
14929
14931
  return;
14930
14932
  }
14931
- const E = y(m, "scaleType"), x = y(r, "data", "loading"), T = y(m, "ticks", "number"), M = y(m, "ticks", "values"), D = y(m, "truncation", "type"), A = y(m, "truncation", "threshold"), R = y(m, "truncation", "numCharacter"), C = T !== null, H = y(r, "timeScale"), P = N.appendOrSelect(g, "g.tick"), U = N.appendOrSelect(P, "text").text("0"), O = N.getSVGElementSize(U.node(), {
14933
+ const E = y(m, "scaleType"), x = y(r, "data", "loading"), T = y(m, "ticks", "number"), M = y(m, "ticks", "values"), k = y(m, "truncation", "type"), D = y(m, "truncation", "threshold"), L = y(m, "truncation", "numCharacter"), C = T !== null, H = y(r, "timeScale"), P = N.appendOrSelect(g, "g.tick"), U = N.appendOrSelect(P, "text").text("0"), O = N.getSVGElementSize(U.node(), {
14932
14934
  useBBox: !0
14933
14935
  }).height;
14934
14936
  P.remove();
14935
- const $ = this.scaleType || m.scaleType || et.LINEAR, L = h(d).tickSizeOuter(0);
14937
+ const $ = this.scaleType || m.scaleType || et.LINEAR, A = h(d).tickSizeOuter(0);
14936
14938
  if (d.ticks) {
14937
14939
  let Y;
14938
14940
  if (C ? Y = T : (Y = Un.ticks.number, b && (Y = this.getNumberOfFittingTicks(
14939
14941
  o,
14940
14942
  O,
14941
14943
  Un.ticks.verticalSpaceRatio
14942
- ))), d.ticks().length === 1 && d.ticks()[0] === 0 && (Y = 0), L.ticks(Y), v)
14944
+ ))), d.ticks().length === 1 && d.ticks()[0] === 0 && (Y = 0), A.ticks(Y), v)
14943
14945
  if (!d.ticks(Y).length)
14944
- L.tickValues([]);
14946
+ A.tickValues([]);
14945
14947
  else {
14946
14948
  const tt = y(r, "timeScale", "addSpaceOnEdges"), it = y(r, "axes", n, "domain"), F = d.copy();
14947
14949
  tt && !it && F.nice(Y);
14948
14950
  const W = F.ticks(Y);
14949
- tt && W.length > 2 && !it && (W.splice(W.length - 1, 1), W.splice(0, 1)), L.tickValues(W);
14951
+ tt && W.length > 2 && !it && (W.splice(W.length - 1, 1), W.splice(0, 1)), A.tickValues(W);
14950
14952
  }
14951
14953
  }
14952
- let k;
14954
+ let R;
14953
14955
  const B = y(m, "ticks", "formatter"), { code: K, number: j } = y(r, "locale");
14954
14956
  if (v) {
14955
14957
  const Y = kl(
14956
- L.tickValues(),
14958
+ A.tickValues(),
14957
14959
  y(r, "timeScale", "timeInterval")
14958
14960
  );
14959
- B === null ? k = (tt, it) => Dl(tt, it, L.tickValues(), Y, H, r.locale) : k = (tt, it) => {
14960
- const F = Dl(
14961
+ B === null ? R = (tt, it) => Ll(tt, it, A.tickValues(), Y, H, r.locale) : R = (tt, it) => {
14962
+ const F = Ll(
14961
14963
  tt,
14962
14964
  it,
14963
- L.tickValues(),
14965
+ A.tickValues(),
14964
14966
  Y,
14965
14967
  H,
14966
14968
  r.locale
@@ -14968,8 +14970,8 @@ class wv extends mt {
14968
14970
  return B(tt, it, F);
14969
14971
  };
14970
14972
  } else
14971
- B === null ? $ === et.LINEAR && (k = (Y) => j(Y, K)) : k = B;
14972
- L.tickFormat(k);
14973
+ B === null ? $ === et.LINEAR && (R = (Y) => j(Y, K)) : R = B;
14974
+ A.tickFormat(R);
14973
14975
  const [z, X] = this.services.cartesianScales.getScaleByPosition(n).domain();
14974
14976
  let lt;
14975
14977
  if (M) {
@@ -14987,7 +14989,7 @@ class wv extends mt {
14987
14989
  lt = M.filter(
14988
14990
  (Y) => Y >= z && Y <= X
14989
14991
  );
14990
- L.tickValues(lt);
14992
+ A.tickValues(lt);
14991
14993
  }
14992
14994
  switch (n) {
14993
14995
  case V.LEFT:
@@ -15014,7 +15016,7 @@ class wv extends mt {
15014
15016
  tt === fl.RIGHT ? Y.attr("transform", "rotate(90)").attr("y", 0).attr("x", d.range()[0] / 2).attr("dy", "-0.5em").style("text-anchor", "middle") : Y.attr("transform", "rotate(-90)").attr("y", 0).attr("x", -(d.range()[0] / 2)).attr("dy", "0.75em").style("text-anchor", "middle");
15015
15017
  break;
15016
15018
  case V.BOTTOM:
15017
- const F = o - Dm;
15019
+ const F = o - Lm;
15018
15020
  Y.attr(
15019
15021
  "transform",
15020
15022
  `translate(${this.margins.left / 2 + d.range()[1] / 2}, ${F})`
@@ -15035,7 +15037,7 @@ class wv extends mt {
15035
15037
  }
15036
15038
  if (v) {
15037
15039
  const Y = kl(
15038
- L.tickValues(),
15040
+ A.tickValues(),
15039
15041
  y(r, "timeScale", "timeInterval")
15040
15042
  ), tt = H.showDayName, it = f;
15041
15043
  t && (f = f.transition().call(
@@ -15044,19 +15046,19 @@ class wv extends mt {
15044
15046
  name: "axis-update",
15045
15047
  animate: t
15046
15048
  })
15047
- )), f = f.call(L), it.selectAll(".tick").data(L.tickValues(), d).order().select("text").attr(
15049
+ )), f = f.call(A), it.selectAll(".tick").data(A.tickValues(), d).order().select("text").attr(
15048
15050
  "class",
15049
- (F, W) => Wm(F, W, L.tickValues(), Y, tt) ? "tick-label--primary" : "tick-label"
15051
+ (F, W) => Wm(F, W, A.tickValues(), Y, tt) ? "tick-label--primary" : "tick-label"
15050
15052
  );
15051
15053
  } else
15052
- !t || !p ? f = f.call(L) : f = f.transition().call(
15054
+ !t || !p ? f = f.call(A) : f = f.transition().call(
15053
15055
  (Y) => this.services.transitions.setupTransition({
15054
15056
  transition: Y,
15055
15057
  name: "axis-update",
15056
15058
  animate: t
15057
15059
  })
15058
- ).call(L);
15059
- if (g.call(L), n === V.BOTTOM || n === V.TOP) {
15060
+ ).call(A);
15061
+ if (g.call(A), n === V.BOTTOM || n === V.TOP) {
15060
15062
  let Y = !1;
15061
15063
  const tt = y(m, "ticks", "rotation");
15062
15064
  if (tt === qs.ALWAYS)
@@ -15081,20 +15083,20 @@ class wv extends mt {
15081
15083
  G !== null && W + Z.text().length * F * 0.8 >= G && (Y = !0), W = G;
15082
15084
  }), it.remove();
15083
15085
  }
15084
- Y ? (C || (L.ticks(
15086
+ Y ? (C || (A.ticks(
15085
15087
  this.getNumberOfFittingTicks(a, O, Un.ticks.horizontalSpaceRatio)
15086
- ), g.call(L), f.call(L)), l.selectAll("g.ticks g.tick text").attr("transform", "rotate(-45)").attr("text-anchor", n === V.TOP ? "start" : "end")) : l.selectAll("g.ticks g.tick text").attr("transform", null).attr("text-anchor", null);
15088
+ ), g.call(A), f.call(A)), l.selectAll("g.ticks g.tick text").attr("transform", "rotate(-45)").attr("text-anchor", n === V.TOP ? "start" : "end")) : l.selectAll("g.ticks g.tick text").attr("transform", null).attr("text-anchor", null);
15087
15089
  }
15088
- if (x ? l.attr("opacity", 0) : l.attr("opacity", 1), f.selectAll("g.tick").attr("aria-label", (Y) => Y), g.selectAll("g.tick").attr("aria-label", (Y) => Y), D !== Ve.NONE && E === et.LABELS && !M) {
15090
+ if (x ? l.attr("opacity", 0) : l.attr("opacity", 1), f.selectAll("g.tick").attr("aria-label", (Y) => Y), g.selectAll("g.tick").attr("aria-label", (Y) => Y), k !== Ve.NONE && E === et.LABELS && !M) {
15089
15091
  const Y = this.services.cartesianScales.getScaleDomain(n);
15090
15092
  if (Y.length > 0) {
15091
15093
  const tt = s.select(`g.axis.${n} g.ticks g.tick`).html();
15092
15094
  l.selectAll("g.ticks g.tick").html(tt);
15093
15095
  const it = this;
15094
15096
  l.selectAll("g.tick text").data(Y).text(function(F) {
15095
- return F.length > A ? (it.truncation[n] = !0, as(F, D, R)) : F;
15097
+ return F.length > D ? (it.truncation[n] = !0, as(F, k, L)) : F;
15096
15098
  }), this.getInvisibleAxisRef().selectAll("g.tick text").data(Y).text(function(F) {
15097
- return F.length > A ? as(F, D, R) : F;
15099
+ return F.length > D ? as(F, k, L) : F;
15098
15100
  }), l.selectAll("g.ticks").html(this.getInvisibleAxisRef().html()), l.selectAll("g.tick text").data(Y);
15099
15101
  }
15100
15102
  }
@@ -15144,7 +15146,7 @@ class wv extends mt {
15144
15146
  }
15145
15147
  getNumberOfFittingTicks(t, n, r) {
15146
15148
  const i = Math.floor(t / (n * r));
15147
- return Dg(i, 2, Un.ticks.number);
15149
+ return Lg(i, 2, Un.ticks.number);
15148
15150
  }
15149
15151
  destroy() {
15150
15152
  const t = this.getComponentContainer(), { position: n } = this.configs;
@@ -15294,7 +15296,7 @@ class ye extends mt {
15294
15296
  const g = N.getSVGElementSize(o.getTitleRef(), {
15295
15297
  useBBox: !0
15296
15298
  }).height;
15297
- l === V.LEFT || l === V.RIGHT ? h = g + 5 : l === V.BOTTOM ? h = g + Dm : h = g;
15299
+ l === V.LEFT || l === V.RIGHT ? h = g + 5 : l === V.BOTTOM ? h = g + Lm : h = g;
15298
15300
  }
15299
15301
  const p = u, f = d;
15300
15302
  switch (l) {
@@ -15444,7 +15446,7 @@ class _k extends mt {
15444
15446
  g
15445
15447
  ), _ = Math.floor((m ? h : p) / s.length), E = Math.min(_ / 2, 16), x = this.model.getBoxplotData(), T = n.selectAll(".box-group").data(x);
15446
15448
  T.exit().remove();
15447
- const M = T.enter().append("g").attr("class", "box-group"), D = T.merge(M);
15449
+ const M = T.enter().append("g").attr("class", "box-group"), k = T.merge(M);
15448
15450
  M.append("path").merge(T.select("path.vertical-line.start")).attr(
15449
15451
  "class",
15450
15452
  () => this.model.getColorClassName({
@@ -15543,7 +15545,7 @@ class _k extends mt {
15543
15545
  const H = f.getDomainValue(C[i]) - E / 4, P = H + E / 2, U = f.getRangeValue(C.whiskers.max), O = f.getRangeValue(C.whiskers.max);
15544
15546
  return ue({ x0: H, x1: P, y0: U, y1: O }, g);
15545
15547
  });
15546
- const A = D.selectAll("circle.outlier").data(
15548
+ const D = k.selectAll("circle.outlier").data(
15547
15549
  (C) => C.outliers.map((H) => ({
15548
15550
  min: C.whiskers.min,
15549
15551
  max: C.whiskers.max,
@@ -15551,9 +15553,9 @@ class _k extends mt {
15551
15553
  value: H
15552
15554
  }))
15553
15555
  );
15554
- A.exit().remove();
15555
- const R = A.enter().append("circle");
15556
- A.merge(R).attr("r", Me.circle.radius).attr(
15556
+ D.exit().remove();
15557
+ const L = D.enter().append("circle");
15558
+ D.merge(L).attr("r", Me.circle.radius).attr(
15557
15559
  "class",
15558
15560
  () => this.model.getColorClassName({
15559
15561
  classNameTypes: [st.FILL, st.STROKE],
@@ -16092,9 +16094,9 @@ function Ck(e) {
16092
16094
  return Math.abs(s);
16093
16095
  }
16094
16096
  function Ak(e) {
16095
- return cu(e, Lk.apply(this, arguments));
16097
+ return cu(e, Dk.apply(this, arguments));
16096
16098
  }
16097
- function Lk(e, t) {
16099
+ function Dk(e, t) {
16098
16100
  var n = {}, r = [], i = [];
16099
16101
  t.forEach(s);
16100
16102
  function s(l) {
@@ -16153,7 +16155,7 @@ function Lk(e, t) {
16153
16155
  })
16154
16156
  };
16155
16157
  }
16156
- class Dk extends Fn {
16158
+ class Lk extends Fn {
16157
16159
  constructor() {
16158
16160
  super(...arguments), this.type = "ruler-binned", this.renderType = nt.SVG;
16159
16161
  }
@@ -16196,14 +16198,14 @@ class Dk extends Fn {
16196
16198
  );
16197
16199
  if (T) {
16198
16200
  const M = _.map(
16199
- (D) => ({
16200
- [D]: parseFloat(gt(m, `data.${D}`))
16201
+ (k) => ({
16202
+ [k]: parseFloat(gt(m, `data.${k}`))
16201
16203
  })
16202
16204
  );
16203
16205
  return T(M);
16204
16206
  } else
16205
16207
  return _.reduce(
16206
- (M, D) => M + parseFloat(gt(m, `data.${D}`)),
16208
+ (M, k) => M + parseFloat(gt(m, `data.${k}`)),
16207
16209
  0
16208
16210
  );
16209
16211
  })()
@@ -16261,44 +16263,48 @@ class $v extends ou {
16261
16263
  r.html("");
16262
16264
  return;
16263
16265
  }
16264
- const c = !Ue(s), u = qm(this.model.getDisplayData()), d = !(i <= It.color.barWidth), h = d ? It.color.barWidth : i, p = N.appendOrSelect(r, "g.legend"), f = N.appendOrSelect(p, "g.legend-axis");
16266
+ const c = !Ue(s), u = y(
16267
+ n,
16268
+ this.chartType,
16269
+ "colorDomain"
16270
+ ), d = qm(this.model.getDisplayData(), u), h = !(i <= It.color.barWidth), p = h ? It.color.barWidth : i, f = N.appendOrSelect(r, "g.legend"), g = N.appendOrSelect(f, "g.legend-axis");
16265
16271
  if (l) {
16266
- const A = N.appendOrSelect(r, "g.legend-title");
16267
- N.appendOrSelect(A, "text").text(l).attr("dy", "0.7em"), p.attr("transform", "translate(0, 16)");
16272
+ const L = N.appendOrSelect(r, "g.legend-title");
16273
+ N.appendOrSelect(L, "text").text(l).attr("dy", "0.7em"), f.attr("transform", "translate(0, 16)");
16268
16274
  }
16269
- const g = u[0] < 0 && u[1] > 0 ? "diverge" : "mono";
16270
- (o < 1 && o > 4 && g === "mono" || o < 1 && o > 2 && g === "diverge") && (o = 1);
16271
- let m = [];
16272
- const v = g === "diverge" ? 17 : 11;
16275
+ const m = d[0] < 0 && d[1] > 0 ? "diverge" : "mono";
16276
+ (o < 1 && o > 4 && m === "mono" || o < 1 && o > 2 && m === "diverge") && (o = 1);
16277
+ let v = [];
16278
+ const b = m === "diverge" ? 17 : 11;
16273
16279
  if (c)
16274
- m = s;
16280
+ v = s;
16275
16281
  else
16276
- for (let A = 1; A < v + 1; A++)
16277
- m.push(
16278
- a === Ys.LINEAR ? `stop-color-${g}-${o}-${A}` : `fill-${g}-${o}-${A}`
16282
+ for (let L = 1; L < b + 1; L++)
16283
+ v.push(
16284
+ a === Ys.LINEAR ? `stop-color-${m}-${o}-${L}` : `fill-${m}-${o}-${L}`
16279
16285
  );
16280
- const b = Ee(u[0], u[1]), _ = QC(b, 3), E = ze().domain(u).range([0, h]), x = Jc(E).tickSize(0).tickValues(_), { code: T, number: M } = y(n, "locale");
16281
- x.tickFormat((A) => M(A, T));
16286
+ const _ = Ee(d[0], d[1]), E = QC(_, 3), x = ze().domain(d).range([0, p]), T = Jc(x).tickSize(0).tickValues(E), { code: M, number: k } = y(n, "locale");
16287
+ T.tickFormat((L) => k(L, M));
16282
16288
  let D;
16283
16289
  switch (a) {
16284
16290
  case Ys.LINEAR:
16285
- this.drawLinear(m, p, h);
16291
+ this.drawLinear(v, f, p);
16286
16292
  break;
16287
16293
  case Ys.QUANTIZE:
16288
16294
  D = this.drawQuantize(
16295
+ v,
16289
16296
  m,
16290
- g,
16291
16297
  c,
16292
- p,
16293
- h
16294
- ), E.range([D, h]);
16298
+ f,
16299
+ p
16300
+ ), x.range([D, p]);
16295
16301
  break;
16296
16302
  default:
16297
16303
  throw Error("Entered color legend type is not supported.");
16298
16304
  }
16299
- f.attr("transform", `translate(0,${It.color.axisYTranslation})`).call(x), f.select(".domain").remove(), f.select("g.tick:last-of-type text").style("text-anchor", d ? "middle" : "end"), f.select("g.tick:first-of-type text").style(
16305
+ g.attr("transform", `translate(0,${It.color.axisYTranslation})`).call(T), g.select(".domain").remove(), g.select("g.tick:last-of-type text").style("text-anchor", h ? "middle" : "end"), g.select("g.tick:first-of-type text").style(
16300
16306
  "text-anchor",
16301
- d && this.chartType !== "choropleth" ? "middle" : "start"
16307
+ h && this.chartType !== "choropleth" ? "middle" : "start"
16302
16308
  );
16303
16309
  }
16304
16310
  // Renders gradient legend
@@ -16459,7 +16465,7 @@ class Rk extends mt {
16459
16465
  transition: r,
16460
16466
  name: "legend-hover-circlepack"
16461
16467
  })
16462
- ).attr("opacity", (r) => r.data.dataGroupName === n.datum().name ? 1 : Lr.circles.fillOpacity);
16468
+ ).attr("opacity", (r) => r.data.dataGroupName === n.datum().name ? 1 : Dr.circles.fillOpacity);
16463
16469
  }, this.handleLegendMouseOut = () => {
16464
16470
  this.parent.selectAll("circle.node").transition("legend-mouseout-circlepack").call(
16465
16471
  (t) => this.services.transitions.setupTransition({
@@ -16484,7 +16490,7 @@ class Rk extends mt {
16484
16490
  let s = this.model.getDisplayData();
16485
16491
  const a = this.model.hasParentNode(), o = this.model.getHierarchyLevel(), l = this.getOptions(), c = y(l, "canvasZoom", "enabled");
16486
16492
  a && y(s, 0, "children") && (s = y(s, 0, "children"));
16487
- const u = Es({ children: s }).sum((f) => f.value).sort((f, g) => g.value - f.value), d = jL().size([r, i]).padding((f) => f.depth >= 1 ? Lr.padding.children + 3 : Lr.padding.mainGroup + 3)(u).descendants().splice(1).filter((f) => f.depth <= o), h = n.selectAll("circle.node").data(d);
16493
+ const u = Es({ children: s }).sum((f) => f.value).sort((f, g) => g.value - f.value), d = jD().size([r, i]).padding((f) => f.depth >= 1 ? Dr.padding.children + 3 : Dr.padding.mainGroup + 3)(u).descendants().splice(1).filter((f) => f.depth <= o), h = n.selectAll("circle.node").data(d);
16488
16494
  h.exit().attr("width", 0).attr("height", 0).remove();
16489
16495
  const p = h.enter().append("circle").classed("node", !0);
16490
16496
  p.merge(h).attr("class", (f) => {
@@ -16499,7 +16505,7 @@ class Rk extends mt {
16499
16505
  transition: f,
16500
16506
  name: "circlepack-leaf-update-enter"
16501
16507
  })
16502
- ).attr("r", (f) => f.r).attr("opacity", 1).attr("fill-opacity", Lr.circles.fillOpacity), c === !0 && this.focal && (this.services.canvasZoom.zoomIn(this.focal, p, Hr), this.setBackgroundListeners()), a || this.addLegendListeners(), this.addEventListeners();
16508
+ ).attr("r", (f) => f.r).attr("opacity", 1).attr("fill-opacity", Dr.circles.fillOpacity), c === !0 && this.focal && (this.services.canvasZoom.zoomIn(this.focal, p, Hr), this.setBackgroundListeners()), a || this.addLegendListeners(), this.addEventListeners();
16503
16509
  }
16504
16510
  // turn off the highlight class on children circles
16505
16511
  unhighlightChildren(t) {
@@ -16509,7 +16515,7 @@ class Rk extends mt {
16509
16515
  // highlight the children circles with a stroke
16510
16516
  highlightChildren(t) {
16511
16517
  const n = t.map((r) => r.data);
16512
- this.parent.selectAll("circle.node").filter((r) => n.some((i) => i === r.data) && r.depth > 1).style("stroke", Lr.circles.hover.stroke);
16518
+ this.parent.selectAll("circle.node").filter((r) => n.some((i) => i === r.data) && r.depth > 1).style("stroke", Dr.circles.hover.stroke);
16513
16519
  }
16514
16520
  getZoomClass(t) {
16515
16521
  return this.model.getHierarchyLevel() === 3 && this.focal && (t.data === this.focal.data || this.focal.children.some((n) => n.data === t.data)) ? "focal" : "non-focal";
@@ -16666,63 +16672,63 @@ class Mv extends mt {
16666
16672
  ariaLabel: "pie graph"
16667
16673
  }), i = this.getOptions(), { groupMapsTo: s } = i.data, { valueMapsTo: a } = i.pie;
16668
16674
  this.isRendering = !0;
16669
- const o = this.model.getDisplayData().filter((A) => A[a] > 0), l = this.computeRadius();
16675
+ const o = this.model.getDisplayData().filter((D) => D[a] > 0), l = this.computeRadius();
16670
16676
  this.arc = hs().innerRadius(this.getInnerRadius()).outerRadius(l), this.hoverArc = hs().innerRadius(this.getInnerRadius()).outerRadius(l + Ct.hoverArc.outerRadiusOffset);
16671
- const c = pD().value((A) => A[a]).sort(y(i, "pie", "sortFunction")).padAngle(Ct.padAngle)(o), u = N.appendOrSelect(r, "g.slices").attr("role", ht.GROUP).attr("data-name", "slices").selectAll("path.slice").data(c, (A) => A.data[s]);
16677
+ const c = pL().value((D) => D[a]).sort(y(i, "pie", "sortFunction")).padAngle(Ct.padAngle)(o), u = N.appendOrSelect(r, "g.slices").attr("role", ht.GROUP).attr("data-name", "slices").selectAll("path.slice").data(c, (D) => D.data[s]);
16672
16678
  u.exit().attr("opacity", 0).remove(), u.enter().append("path").classed("slice", !0).attr("opacity", 0).merge(u).attr(
16673
16679
  "class",
16674
- (A) => this.model.getColorClassName({
16680
+ (D) => this.model.getColorClassName({
16675
16681
  classNameTypes: [st.FILL],
16676
- dataGroupName: A.data[s],
16682
+ dataGroupName: D.data[s],
16677
16683
  originalClassName: "slice"
16678
16684
  })
16679
- ).style("fill", (A) => n.model.getFillColor(A.data[s], null, A.data)).attr("d", this.arc).transition().call(
16680
- (A) => this.services.transitions.setupTransition({
16681
- transition: A,
16685
+ ).style("fill", (D) => n.model.getFillColor(D.data[s], null, D.data)).attr("d", this.arc).transition().call(
16686
+ (D) => this.services.transitions.setupTransition({
16687
+ transition: D,
16682
16688
  name: "pie_slice_enter_update",
16683
16689
  animate: t
16684
16690
  })
16685
- ).attr("opacity", 1).attr("role", ht.GRAPHICS_SYMBOL).attr("aria-roledescription", "slice").attr("aria-label", (A) => [
16686
- A[a],
16687
- Do(A.data[a], o, a) + "%",
16688
- A.data[s]
16689
- ].filter(Boolean).join(", ")).attrTween("d", function(A) {
16690
- return Ik.bind(this)(A, n.arc);
16691
+ ).attr("opacity", 1).attr("role", ht.GRAPHICS_SYMBOL).attr("aria-roledescription", "slice").attr("aria-label", (D) => [
16692
+ D[a],
16693
+ Lo(D.data[a], o, a) + "%",
16694
+ D.data[s]
16695
+ ].filter(Boolean).join(", ")).attrTween("d", function(D) {
16696
+ return Ik.bind(this)(D, n.arc);
16691
16697
  }).on("end", () => {
16692
16698
  n.isRendering = !1;
16693
16699
  });
16694
- const { code: d, number: h } = y(i, "locale"), p = i.pie.labels.enabled, f = p ? c.filter((A) => A.data[a] > 0) : [], g = N.appendOrSelect(r, "g.labels").attr("role", ht.GROUP).attr("data-name", "labels").selectAll("text.pie-label").data(f, (A) => A.data[s]);
16700
+ const { code: d, number: h } = y(i, "locale"), p = i.pie.labels.enabled, f = p ? c.filter((D) => D.data[a] > 0) : [], g = N.appendOrSelect(r, "g.labels").attr("role", ht.GROUP).attr("data-name", "labels").selectAll("text.pie-label").data(f, (D) => D.data[s]);
16695
16701
  g.exit().attr("opacity", 0).remove();
16696
16702
  const m = g.enter().append("text").classed("pie-label", !0), v = [];
16697
- m.merge(g).style("text-anchor", "middle").text((A) => i.pie.labels.formatter ? i.pie.labels.formatter({
16698
- ...A,
16699
- percentageValue: Do(
16700
- A.data[a],
16703
+ m.merge(g).style("text-anchor", "middle").text((D) => i.pie.labels.formatter ? i.pie.labels.formatter({
16704
+ ...D,
16705
+ percentageValue: Lo(
16706
+ D.data[a],
16701
16707
  o,
16702
16708
  a,
16703
16709
  !0
16704
16710
  )
16705
16711
  }) : h(
16706
- Do(A.data[a], o, a),
16712
+ Lo(D.data[a], o, a),
16707
16713
  d
16708
- ) + "%").datum(function(A) {
16709
- const R = l + 7, C = (A.endAngle - A.startAngle) / 2 + A.startAngle, H = C / Math.PI * 180, P = this.getComputedTextLength();
16710
- return A.textOffsetX = P / 2, A.textOffsetY = H > 90 && H < 270 ? 10 : 0, A.xPosition = (A.textOffsetX + R) * Math.sin(C), A.yPosition = (A.textOffsetY + R) * -Math.cos(C), A;
16711
- }).attr("transform", function(A, R) {
16712
- const C = f.length, H = (A.endAngle - A.startAngle) * (180 / Math.PI);
16713
- if (R >= C - 2 && H < Ct.callout.minSliceDegree) {
16714
+ ) + "%").datum(function(D) {
16715
+ const L = l + 7, C = (D.endAngle - D.startAngle) / 2 + D.startAngle, H = C / Math.PI * 180, P = this.getComputedTextLength();
16716
+ return D.textOffsetX = P / 2, D.textOffsetY = H > 90 && H < 270 ? 10 : 0, D.xPosition = (D.textOffsetX + L) * Math.sin(C), D.yPosition = (D.textOffsetY + L) * -Math.cos(C), D;
16717
+ }).attr("transform", function(D, L) {
16718
+ const C = f.length, H = (D.endAngle - D.startAngle) * (180 / Math.PI);
16719
+ if (L >= C - 2 && H < Ct.callout.minSliceDegree) {
16714
16720
  let P, U;
16715
- return A.index === C - 1 ? (P = A.xPosition + Ct.callout.offsetX + Ct.callout.textMargin + A.textOffsetX, U = A.yPosition - Ct.callout.offsetY, A.direction = js.RIGHT, v.push(A)) : (P = A.xPosition - Ct.callout.offsetX - A.textOffsetX - Ct.callout.textMargin, U = A.yPosition - Ct.callout.offsetY, A.direction = js.LEFT, v.push(A)), `translate(${P}, ${U})`;
16721
+ return D.index === C - 1 ? (P = D.xPosition + Ct.callout.offsetX + Ct.callout.textMargin + D.textOffsetX, U = D.yPosition - Ct.callout.offsetY, D.direction = js.RIGHT, v.push(D)) : (P = D.xPosition - Ct.callout.offsetX - D.textOffsetX - Ct.callout.textMargin, U = D.yPosition - Ct.callout.offsetY, D.direction = js.LEFT, v.push(D)), `translate(${P}, ${U})`;
16716
16722
  }
16717
- return `translate(${A.xPosition}, ${A.yPosition})`;
16723
+ return `translate(${D.xPosition}, ${D.yPosition})`;
16718
16724
  }), this.renderCallouts(v);
16719
16725
  const b = y(i, "donut") ? "donut" : "pie", _ = y(i, b, "alignment"), { width: E } = N.getSVGElementSize(this.getParent(), {
16720
16726
  useAttrs: !0
16721
16727
  }), x = p ? Ct.xOffset : 0, T = p ? Ct.yOffset : 0;
16722
16728
  let M = l + x;
16723
16729
  _ === qt.CENTER ? M = E / 2 : _ === qt.RIGHT && (M = E - l - Ct.xOffset);
16724
- let D = l + T;
16725
- v.length > 0 && (D += Ct.yOffsetCallout), r.attr("x", M + 7).attr("y", D), this.addEventListeners();
16730
+ let k = l + T;
16731
+ v.length > 0 && (k += Ct.yOffsetCallout), r.attr("x", M + 7).attr("y", k), this.addEventListeners();
16726
16732
  }
16727
16733
  renderCallouts(t) {
16728
16734
  const n = N.appendOrSelect(this.getComponentContainer(), "g.callouts").attr("role", ht.GROUP).attr("data-name", "callouts"), r = n.selectAll("g.callout").data(t);
@@ -16875,7 +16881,7 @@ class Pk extends mt {
16875
16881
  return this.model.getData().find((t) => t.group === "value")?.value ?? null;
16876
16882
  }
16877
16883
  getValueRatio() {
16878
- return Dg(this.getValue(), 0, 100) / 100;
16884
+ return Lg(this.getValue(), 0, 100) / 100;
16879
16885
  }
16880
16886
  getDelta() {
16881
16887
  return this.model.getData().find((t) => t.group === "delta")?.value ?? null;
@@ -16937,17 +16943,17 @@ class Pk extends mt {
16937
16943
  "transform",
16938
16944
  `translate(0, ${d})`
16939
16945
  ), p = o(a), f = N.appendOrSelect(h, "g.gauge-value-number"), { code: g, number: m } = y(n, "locale"), v = y(n, "gauge", "numberFormatter"), b = f.selectAll("text.gauge-value-number").data([i]);
16940
- b.enter().append("text").attr("class", "gauge-value-number").merge(b).style("font-size", `${p}px`).attr("text-anchor", "middle").text((A) => {
16941
- let R;
16942
- return A != null ? R = Number(A.toFixed(2)) % 1 !== 0 ? A.toFixed(2) : A.toFixed() : R = 0, v ? v(R) : m(Number(R), g);
16946
+ b.enter().append("text").attr("class", "gauge-value-number").merge(b).style("font-size", `${p}px`).attr("text-anchor", "middle").text((D) => {
16947
+ let L;
16948
+ return D != null ? L = Number(D.toFixed(2)) % 1 !== 0 ? D.toFixed(2) : D.toFixed() : L = 0, v ? v(L) : m(Number(L), g);
16943
16949
  });
16944
16950
  const { width: _ } = N.getSVGElementSize(
16945
16951
  N.appendOrSelect(t, "text.gauge-value-number"),
16946
16952
  { useBBox: !0 }
16947
- ), E = p / 2, x = u ? "%" : "", T = N.appendOrSelect(f, "text.gauge-value-symbol").style("font-size", `${E}px`).attr("x", _ / 2).text(x), { width: M, height: D } = N.getSVGElementSize(T, {
16953
+ ), E = p / 2, x = u ? "%" : "", T = N.appendOrSelect(f, "text.gauge-value-symbol").style("font-size", `${E}px`).attr("x", _ / 2).text(x), { width: M, height: k } = N.getSVGElementSize(T, {
16948
16954
  useBBox: !0
16949
16955
  });
16950
- T.attr("y", `-${D / 2}px`), f.attr("transform", `translate(-${M / 2}, 0)`);
16956
+ T.attr("y", `-${k / 2}px`), f.attr("transform", `translate(-${M / 2}, 0)`);
16951
16957
  }
16952
16958
  /**
16953
16959
  * adds the delta number for the gauge
@@ -17311,7 +17317,7 @@ class Bk extends mt {
17311
17317
  this.parent.selectAll("g.cell").on("mouseover", function(c, u) {
17312
17318
  const d = I(this), h = d.select("rect.heat");
17313
17319
  if (!h.classed("null-state")) {
17314
- const p = Li(d.attr("transform"));
17320
+ const p = Di(d.attr("transform"));
17315
17321
  t.parent.select("g.cell-highlight").attr(
17316
17322
  "transform",
17317
17323
  `translate(${p.x + t.translationUnits.x}, ${p.y + t.translationUnits.y})`
@@ -17707,67 +17713,67 @@ class Gk extends mt {
17707
17713
  const _ = ri().domain(this.fullDataNormalized.map((O) => O[u])).range([0, 2 * Math.PI].map((O) => O - Math.PI / 2)), E = Vn(this.fullDataNormalized.map((O) => O[d])), x = ze().domain([
17708
17714
  E >= 0 ? 0 : E,
17709
17715
  nr(this.fullDataNormalized.map((O) => O[d]))
17710
- ]).range([g, b]).nice(f), T = x.ticks(f), M = (O, $, L) => this.model.getFillColor(O, $, L), D = gD().angle((O) => _(O[u]) + Math.PI / 2).radius((O) => x(O[d])).curve(lg), A = this.uniqueKeys.map((O) => {
17711
- const $ = this.getLabelDimensions(O).width, L = G2(
17716
+ ]).range([g, b]).nice(f), T = x.ticks(f), M = (O, $, A) => this.model.getFillColor(O, $, A), k = gL().angle((O) => _(O[u]) + Math.PI / 2).radius((O) => x(O[d])).curve(lg), D = this.uniqueKeys.map((O) => {
17717
+ const $ = this.getLabelDimensions(O).width, A = G2(
17712
17718
  _(O),
17713
17719
  b
17714
17720
  );
17715
- return $ + L;
17716
- }), R = {
17717
- x: nr(A) + h,
17721
+ return $ + A;
17722
+ }), L = {
17723
+ x: nr(D) + h,
17718
17724
  y: i / 2
17719
17725
  }, C = N.appendOrSelect(n, "g.y-axes").attr("role", ht.GROUP).selectAll("path").data(T, (O) => O), H = (O) => this.uniqueKeys.map(($) => ({ [u]: $, [d]: O }));
17720
17726
  C.join(
17721
- (O) => O.append("path").attr("opacity", 0).attr("transform", `translate(${R.x}, ${R.y})`).attr("fill", "none").call(
17727
+ (O) => O.append("path").attr("opacity", 0).attr("transform", `translate(${L.x}, ${L.y})`).attr("fill", "none").call(
17722
17728
  ($) => $.transition().call(
17723
- (L) => this.services.transitions.setupTransition({
17724
- transition: L,
17729
+ (A) => this.services.transitions.setupTransition({
17730
+ transition: A,
17725
17731
  name: "radar_y_axes_enter",
17726
17732
  animate: t
17727
17733
  })
17728
- ).attr("opacity", 1).attr("d", (L) => D(H(L)))
17734
+ ).attr("opacity", 1).attr("d", (A) => k(H(A)))
17729
17735
  ),
17730
17736
  (O) => O.call(
17731
17737
  ($) => $.transition().call(
17732
- (L) => this.services.transitions.setupTransition({
17733
- transition: L,
17738
+ (A) => this.services.transitions.setupTransition({
17739
+ transition: A,
17734
17740
  name: "radar_y_axes_update",
17735
17741
  animate: t
17736
17742
  })
17737
- ).attr("opacity", 1).attr("transform", `translate(${R.x}, ${R.y})`).attr("d", (L) => D(H(L)))
17743
+ ).attr("opacity", 1).attr("transform", `translate(${L.x}, ${L.y})`).attr("d", (A) => k(H(A)))
17738
17744
  ),
17739
17745
  (O) => O.call(
17740
17746
  ($) => $.transition().call(
17741
- (L) => this.services.transitions.setupTransition({
17742
- transition: L,
17747
+ (A) => this.services.transitions.setupTransition({
17748
+ transition: A,
17743
17749
  name: "radar_y_axes_exit",
17744
17750
  animate: t
17745
17751
  })
17746
- ).attr("d", (L) => D(H(L))).attr("opacity", 0).remove()
17752
+ ).attr("d", (A) => k(H(A))).attr("opacity", 0).remove()
17747
17753
  )
17748
17754
  ), N.appendOrSelect(n, "g.x-axes").attr("role", ht.GROUP).selectAll("line").data(this.uniqueKeys, (O) => O).join(
17749
- (O) => O.append("line").attr("opacity", 0).attr("class", ($) => `x-axis-${Sr($)}`).attr("stroke-dasharray", "0").attr("x1", ($) => Pt(_($), 0, R).x).attr("y1", ($) => Pt(_($), 0, R).y).attr("x2", ($) => Pt(_($), 0, R).x).attr("y2", ($) => Pt(_($), 0, R).y).call(
17755
+ (O) => O.append("line").attr("opacity", 0).attr("class", ($) => `x-axis-${Sr($)}`).attr("stroke-dasharray", "0").attr("x1", ($) => Pt(_($), 0, L).x).attr("y1", ($) => Pt(_($), 0, L).y).attr("x2", ($) => Pt(_($), 0, L).x).attr("y2", ($) => Pt(_($), 0, L).y).call(
17750
17756
  ($) => $.transition().call(
17751
- (L) => this.services.transitions.setupTransition({
17752
- transition: L,
17757
+ (A) => this.services.transitions.setupTransition({
17758
+ transition: A,
17753
17759
  name: "radar_x_axes_enter",
17754
17760
  animate: t
17755
17761
  })
17756
- ).attr("opacity", 1).attr("x1", (L) => Pt(_(L), x.range()[0], R).x).attr("y1", (L) => Pt(_(L), x.range()[0], R).y).attr("x2", (L) => Pt(_(L), x.range()[1], R).x).attr("y2", (L) => Pt(_(L), x.range()[1], R).y)
17762
+ ).attr("opacity", 1).attr("x1", (A) => Pt(_(A), x.range()[0], L).x).attr("y1", (A) => Pt(_(A), x.range()[0], L).y).attr("x2", (A) => Pt(_(A), x.range()[1], L).x).attr("y2", (A) => Pt(_(A), x.range()[1], L).y)
17757
17763
  ),
17758
17764
  (O) => O.call(
17759
17765
  ($) => $.transition().call(
17760
- (L) => this.services.transitions.setupTransition({
17761
- transition: L,
17766
+ (A) => this.services.transitions.setupTransition({
17767
+ transition: A,
17762
17768
  name: "radar_x_axes_update",
17763
17769
  animate: t
17764
17770
  })
17765
- ).attr("opacity", 1).attr("x1", (L) => Pt(_(L), x.range()[0], R).x).attr("y1", (L) => Pt(_(L), x.range()[0], R).y).attr("x2", (L) => Pt(_(L), x.range()[1], R).x).attr("y2", (L) => Pt(_(L), x.range()[1], R).y)
17771
+ ).attr("opacity", 1).attr("x1", (A) => Pt(_(A), x.range()[0], L).x).attr("y1", (A) => Pt(_(A), x.range()[0], L).y).attr("x2", (A) => Pt(_(A), x.range()[1], L).x).attr("y2", (A) => Pt(_(A), x.range()[1], L).y)
17766
17772
  ),
17767
17773
  (O) => O.call(
17768
17774
  ($) => $.transition().call(
17769
- (L) => this.services.transitions.setupTransition({
17770
- transition: L,
17775
+ (A) => this.services.transitions.setupTransition({
17776
+ transition: A,
17771
17777
  name: "radar_x_axes_exit",
17772
17778
  animate: t
17773
17779
  })
@@ -17776,17 +17782,17 @@ class Gk extends mt {
17776
17782
  ), N.appendOrSelect(n, "g.x-labels").attr("role", ht.GROUP).selectAll("text").data(this.uniqueKeys).join(
17777
17783
  (O) => O.append("text").text(($) => $).attr("opacity", 0).attr(
17778
17784
  "x",
17779
- ($) => Pt(_($), x.range()[1] + h, R).x
17785
+ ($) => Pt(_($), x.range()[1] + h, L).x
17780
17786
  ).attr(
17781
17787
  "y",
17782
- ($) => Pt(_($), x.range()[1] + h, R).y
17788
+ ($) => Pt(_($), x.range()[1] + h, L).y
17783
17789
  ).style("text-anchor", ($) => pd(_($)).textAnchor).style(
17784
17790
  "dominant-baseline",
17785
17791
  ($) => pd(_($)).dominantBaseline
17786
17792
  ).call(
17787
17793
  ($) => $.transition().call(
17788
- (L) => this.services.transitions.setupTransition({
17789
- transition: L,
17794
+ (A) => this.services.transitions.setupTransition({
17795
+ transition: A,
17790
17796
  name: "radar_x_labels_enter",
17791
17797
  animate: t
17792
17798
  })
@@ -17794,26 +17800,26 @@ class Gk extends mt {
17794
17800
  ),
17795
17801
  (O) => O.call(
17796
17802
  ($) => $.transition().call(
17797
- (L) => this.services.transitions.setupTransition({
17798
- transition: L,
17803
+ (A) => this.services.transitions.setupTransition({
17804
+ transition: A,
17799
17805
  name: "radar_x_labels_update",
17800
17806
  animate: t
17801
17807
  })
17802
17808
  ).attr("opacity", 1).attr(
17803
17809
  "x",
17804
- (L) => Pt(_(L), x.range()[1] + h, R).x
17810
+ (A) => Pt(_(A), x.range()[1] + h, L).x
17805
17811
  ).attr(
17806
17812
  "y",
17807
- (L) => Pt(_(L), x.range()[1] + h, R).y
17813
+ (A) => Pt(_(A), x.range()[1] + h, L).y
17808
17814
  ).end().finally(() => {
17809
- const L = y(o, "radar", "alignment"), k = this.getAlignmentXOffset(L, n, this.getParent());
17810
- n.attr("x", k);
17815
+ const A = y(o, "radar", "alignment"), R = this.getAlignmentXOffset(A, n, this.getParent());
17816
+ n.attr("x", R);
17811
17817
  })
17812
17818
  ),
17813
17819
  (O) => O.call(
17814
17820
  ($) => $.transition().call(
17815
- (L) => this.services.transitions.setupTransition({
17816
- transition: L,
17821
+ (A) => this.services.transitions.setupTransition({
17822
+ transition: A,
17817
17823
  name: "radar_x_labels_exit",
17818
17824
  animate: t
17819
17825
  })
@@ -17829,16 +17835,16 @@ class Gk extends mt {
17829
17835
  })
17830
17836
  ).attr("role", ht.GRAPHICS_SYMBOL).attr("aria-label", ($) => $.name).attr("opacity", 0).attr(
17831
17837
  "transform",
17832
- t ? () => `translate(${R.x}, ${R.y}) scale(${1 + Math.random() * 0.35})` : `translate(${R.x}, ${R.y})`
17838
+ t ? () => `translate(${L.x}, ${L.y}) scale(${1 + Math.random() * 0.35})` : `translate(${L.x}, ${L.y})`
17833
17839
  ).style("fill", ($) => M($.name, null, $.data)).style("fill-opacity", Wn.opacity.selected).style("stroke", ($) => M($.name, null, $.data)).call(($) => {
17834
- const L = $.transition().call(
17835
- (k) => this.services.transitions.setupTransition({
17836
- transition: k,
17840
+ const A = $.transition().call(
17841
+ (R) => this.services.transitions.setupTransition({
17842
+ transition: R,
17837
17843
  name: "radar_blobs_enter",
17838
17844
  animate: t
17839
17845
  })
17840
17846
  );
17841
- t && L.delay(() => Math.random() * 30).attr("transform", `translate(${R.x}, ${R.y})`), L.attr("opacity", 1).attr("d", (k) => D(k.data));
17847
+ t && A.delay(() => Math.random() * 30).attr("transform", `translate(${L.x}, ${L.y})`), A.attr("opacity", 1).attr("d", (R) => k(R.data));
17842
17848
  }),
17843
17849
  (O) => (O.attr(
17844
17850
  "class",
@@ -17849,25 +17855,25 @@ class Gk extends mt {
17849
17855
  })
17850
17856
  ).style("fill", ($) => M($.name, null, $.data)).style("stroke", ($) => M($.name, null, $.data)), O.call(
17851
17857
  ($) => $.transition().call(
17852
- (L) => this.services.transitions.setupTransition({
17853
- transition: L,
17858
+ (A) => this.services.transitions.setupTransition({
17859
+ transition: A,
17854
17860
  name: "radar_blobs_update",
17855
17861
  animate: t
17856
17862
  })
17857
- ).attr("opacity", 1).attr("transform", `translate(${R.x}, ${R.y})`).attr("d", (L) => D(L.data))
17863
+ ).attr("opacity", 1).attr("transform", `translate(${L.x}, ${L.y})`).attr("d", (A) => k(A.data))
17858
17864
  ), O),
17859
17865
  (O) => O.call(($) => {
17860
- const L = $.transition().call(
17861
- (k) => this.services.transitions.setupTransition({
17862
- transition: k,
17866
+ const A = $.transition().call(
17867
+ (R) => this.services.transitions.setupTransition({
17868
+ transition: R,
17863
17869
  name: "radar_blobs_exit",
17864
17870
  animate: t
17865
17871
  })
17866
17872
  );
17867
- t && L.delay(() => Math.random() * 30).attr(
17873
+ t && A.delay(() => Math.random() * 30).attr(
17868
17874
  "transform",
17869
- () => `translate(${R.x}, ${R.y}) scale(${1 + Math.random() * 0.35})`
17870
- ), L.attr("opacity", 0).remove();
17875
+ () => `translate(${L.x}, ${L.y}) scale(${1 + Math.random() * 0.35})`
17876
+ ), A.attr("opacity", 0).remove();
17871
17877
  })
17872
17878
  ), N.appendOrSelect(n, "g.dots").attr("role", ht.GROUP).selectAll("circle").data(this.fullDataNormalized.filter((O) => y(O, d) !== null)).join(
17873
17879
  (O) => O.append("circle").attr("role", ht.GRAPHICS_SYMBOL).attr("aria-label", ($) => $[c]),
@@ -17880,20 +17886,20 @@ class Gk extends mt {
17880
17886
  dataGroupName: O[l],
17881
17887
  originalClassName: Sr(O[u])
17882
17888
  })
17883
- ).attr("cx", (O) => Pt(_(O[u]), x(O[d]), R).x).attr("cy", (O) => Pt(_(O[u]), x(O[d]), R).y).attr("r", 0).attr("opacity", 0).style("fill", (O) => M(O[l])), N.appendOrSelect(n, "g.x-axes-rect").attr("role", ht.GROUP).selectAll("rect").data(this.uniqueKeys).join(
17889
+ ).attr("cx", (O) => Pt(_(O[u]), x(O[d]), L).x).attr("cy", (O) => Pt(_(O[u]), x(O[d]), L).y).attr("r", 0).attr("opacity", 0).style("fill", (O) => M(O[l])), N.appendOrSelect(n, "g.x-axes-rect").attr("role", ht.GROUP).selectAll("rect").data(this.uniqueKeys).join(
17884
17890
  (O) => O.append("rect"),
17885
17891
  (O) => O,
17886
17892
  (O) => O.remove()
17887
- ).attr("x", R.x).attr("y", R.y - m / 2).attr("width", x.range()[1]).attr("height", m).style("fill", "red").style("fill-opacity", 0).attr("transform", (O) => `rotate(${vg(_(O))}, ${R.x}, ${R.y})`);
17893
+ ).attr("x", L.x).attr("y", L.y - m / 2).attr("width", x.range()[1]).attr("height", m).style("fill", "red").style("fill-opacity", 0).attr("transform", (O) => `rotate(${vg(_(O))}, ${L.x}, ${L.y})`);
17888
17894
  const { code: P, number: U } = y(o, "locale");
17889
17895
  N.appendOrSelect(n, "g.y-labels").attr("role", ht.GROUP).selectAll("text").data(Fe(T)).join(
17890
17896
  (O) => O.append("text").attr("opacity", 0).text(($) => U($, P)).attr(
17891
17897
  "x",
17892
- ($) => Pt(-Math.PI / 2, x($), R).x + p
17893
- ).attr("y", ($) => Pt(-Math.PI / 2, x($), R).y).style("text-anchor", "start").style("dominant-baseline", "middle").call(
17898
+ ($) => Pt(-Math.PI / 2, x($), L).x + p
17899
+ ).attr("y", ($) => Pt(-Math.PI / 2, x($), L).y).style("text-anchor", "start").style("dominant-baseline", "middle").call(
17894
17900
  ($) => $.transition().call(
17895
- (L) => this.services.transitions.setupTransition({
17896
- transition: L,
17901
+ (A) => this.services.transitions.setupTransition({
17902
+ transition: A,
17897
17903
  name: "radar_y_labels_enter",
17898
17904
  animate: t
17899
17905
  })
@@ -17901,20 +17907,20 @@ class Gk extends mt {
17901
17907
  ),
17902
17908
  (O) => O.call(
17903
17909
  ($) => $.transition().call(
17904
- (L) => this.services.transitions.setupTransition({
17905
- transition: L,
17910
+ (A) => this.services.transitions.setupTransition({
17911
+ transition: A,
17906
17912
  name: "radar_y_labels_update",
17907
17913
  animate: t
17908
17914
  })
17909
- ).text((L) => L).attr("opacity", 1).attr(
17915
+ ).text((A) => A).attr("opacity", 1).attr(
17910
17916
  "x",
17911
- (L) => Pt(-Math.PI / 2, x(L), R).x + p
17912
- ).attr("y", (L) => Pt(-Math.PI / 2, x(L), R).y)
17917
+ (A) => Pt(-Math.PI / 2, x(A), L).x + p
17918
+ ).attr("y", (A) => Pt(-Math.PI / 2, x(A), L).y)
17913
17919
  ),
17914
17920
  (O) => O.call(
17915
17921
  ($) => $.transition().call(
17916
- (L) => this.services.transitions.setupTransition({
17917
- transition: L,
17922
+ (A) => this.services.transitions.setupTransition({
17923
+ transition: A,
17918
17924
  name: "radar_y_labels_exit",
17919
17925
  animate: t
17920
17926
  })
@@ -18124,7 +18130,7 @@ class Fk extends de {
18124
18130
  ), N.appendOrSelect(this.backdrop, "rect.chart-skeleton-backdrop").classed("shimmer-effect-lines", !1).classed("shimmer-effect-sparkline", !0).style("stroke", null);
18125
18131
  }
18126
18132
  }
18127
- class Lv extends mt {
18133
+ class Dv extends mt {
18128
18134
  constructor() {
18129
18135
  super(...arguments), this.type = "area-stacked", this.renderType = nt.SVG, this.handleLegendOnHover = (t) => {
18130
18136
  const { hoveredElement: n } = t.detail, r = this.getOptions(), { groupMapsTo: i } = r.data;
@@ -18176,7 +18182,7 @@ class Lv extends mt {
18176
18182
  ).attr("opacity", xn.opacity.selected).attr("d", this.areaGenerator);
18177
18183
  }
18178
18184
  }
18179
- class Dv extends uu {
18185
+ class Lv extends uu {
18180
18186
  constructor() {
18181
18187
  super(...arguments), this.type = "stacked-bar", this.renderType = nt.SVG, this.handleLegendOnHover = (t) => {
18182
18188
  const { hoveredElement: n } = t.detail, { groupMapsTo: r } = this.model.getOptions().data;
@@ -18394,57 +18400,57 @@ class zk extends mt {
18394
18400
  name: o,
18395
18401
  children: a
18396
18402
  }), p = 10, f = r / 6, g = (T) => {
18397
- const M = h.descendants().reverse(), D = h.links();
18398
- let A = h, R = h;
18399
- h.eachBefore((k) => {
18400
- k.x < A.x && (A = k), k.x > R.x && (R = k);
18403
+ const M = h.descendants().reverse(), k = h.links();
18404
+ let D = h, L = h;
18405
+ h.eachBefore((R) => {
18406
+ R.x < D.x && (D = R), R.x > L.x && (L = R);
18401
18407
  });
18402
- const C = R.x - A.x, H = n.transition().call(
18403
- (k) => this.services.transitions.setupTransition({
18404
- transition: k,
18408
+ const C = L.x - D.x, H = n.transition().call(
18409
+ (R) => this.services.transitions.setupTransition({
18410
+ transition: R,
18405
18411
  name: "tree-update-viewbox",
18406
18412
  animate: !0
18407
18413
  })
18408
- ).attr("viewBox", [-d.left, A.x, r, C].join(" ")), P = x.selectAll("g").data(M, (k) => k.id), U = this, O = P.enter().append("g").attr("transform", () => `translate(${T.y0},${T.x0})`).attr(
18414
+ ).attr("viewBox", [-d.left, D.x, r, C].join(" ")), P = x.selectAll("g").data(M, (R) => R.id), U = this, O = P.enter().append("g").attr("transform", () => `translate(${T.y0},${T.x0})`).attr(
18409
18415
  "class",
18410
- (k) => k.depth !== 0 && k.children && k.children.length > 0 ? "clickable" : null
18411
- ).on("mouseover", function(k, B) {
18416
+ (R) => R.depth !== 0 && R.children && R.children.length > 0 ? "clickable" : null
18417
+ ).on("mouseover", function(R, B) {
18412
18418
  U.services.events.dispatchEvent(S.Tree.NODE_MOUSEOVER, {
18413
- event: k,
18419
+ event: R,
18414
18420
  element: I(this),
18415
18421
  datum: B
18416
18422
  });
18417
- }).on("click", function(k, B) {
18423
+ }).on("click", function(R, B) {
18418
18424
  B.depth !== 0 && (B.children = B.children ? null : B._children, g(B)), U.services.events.dispatchEvent(S.Tree.NODE_CLICK, {
18419
- event: k,
18425
+ event: R,
18420
18426
  element: I(this),
18421
18427
  datum: B
18422
18428
  });
18423
- }).on("mouseout", function(k, B) {
18429
+ }).on("mouseout", function(R, B) {
18424
18430
  U.services.events.dispatchEvent(S.Tree.NODE_MOUSEOUT, {
18425
- event: k,
18431
+ event: R,
18426
18432
  element: I(this),
18427
18433
  datum: B
18428
18434
  });
18429
18435
  });
18430
- O.append("circle").attr("r", 2.5).attr("class", (k) => k._children ? "parent" : "child").attr("stroke-width", 10), O.append("text").attr("dy", "0.31em").attr("x", (k) => k._children ? -Ar : Ar).attr("text-anchor", (k) => k._children ? "end" : "start").text((k) => k.data.name).clone(!0).attr("class", "text-stroke").lower(), P.merge(O).transition(H).attr("transform", (k) => `translate(${k.y},${k.x})`).attr("fill-opacity", 1).attr("stroke-opacity", 1), P.exit().transition(H).remove().attr("transform", () => `translate(${T.y},${T.x})`).attr("fill-opacity", 0).attr("stroke-opacity", 0);
18431
- const $ = E.selectAll("path").data(D, (k) => k.target.id), L = $.enter().append("path").attr("d", () => {
18432
- const k = { x: T.x0, y: T.y0 };
18433
- return _({ source: k, target: k });
18436
+ O.append("circle").attr("r", 2.5).attr("class", (R) => R._children ? "parent" : "child").attr("stroke-width", 10), O.append("text").attr("dy", "0.31em").attr("x", (R) => R._children ? -Ar : Ar).attr("text-anchor", (R) => R._children ? "end" : "start").text((R) => R.data.name).clone(!0).attr("class", "text-stroke").lower(), P.merge(O).transition(H).attr("transform", (R) => `translate(${R.y},${R.x})`).attr("fill-opacity", 1).attr("stroke-opacity", 1), P.exit().transition(H).remove().attr("transform", () => `translate(${T.y},${T.x})`).attr("fill-opacity", 0).attr("stroke-opacity", 0);
18437
+ const $ = E.selectAll("path").data(k, (R) => R.target.id), A = $.enter().append("path").attr("d", () => {
18438
+ const R = { x: T.x0, y: T.y0 };
18439
+ return _({ source: R, target: R });
18434
18440
  });
18435
- $.merge(L).transition(H).attr("d", _), $.exit().transition(H).remove().attr("d", () => {
18436
- const k = { x: T.x, y: T.y };
18437
- return _({ source: k, target: k });
18438
- }), h.eachBefore((k) => {
18439
- k.x0 = k.x, k.y0 = k.y;
18441
+ $.merge(A).transition(H).attr("d", _), $.exit().transition(H).remove().attr("d", () => {
18442
+ const R = { x: T.x, y: T.y };
18443
+ return _({ source: R, target: R });
18444
+ }), h.eachBefore((R) => {
18445
+ R.x0 = R.x, R.y0 = R.y;
18440
18446
  });
18441
- }, m = h.descendants(), v = m[m.length - 1].depth, b = y(s, "tree", "type") === pc.DENDROGRAM ? dL().size([
18447
+ }, m = h.descendants(), v = m[m.length - 1].depth, b = y(s, "tree", "type") === pc.DENDROGRAM ? dD().size([
18442
18448
  i,
18443
18449
  r - u - v * Ar - l
18444
- ]) : JL().nodeSize([p, f]).size([
18450
+ ]) : JD().nodeSize([p, f]).size([
18445
18451
  i,
18446
18452
  r - u - v * Ar - l
18447
- ]), _ = ED().x((T) => T.y).y((T) => T.x);
18453
+ ]), _ = EL().x((T) => T.y).y((T) => T.x);
18448
18454
  h.x0 = f / 2, h.y0 = 0, h.descendants().forEach((T, M) => {
18449
18455
  T.id = M, T._children = T.children;
18450
18456
  }), b(h), n.attr("viewBox", [-d.left, -0, r, p]).style("user-select", "none");
@@ -18485,14 +18491,14 @@ var jk = "#000000", Wk = "#ffffff", qk = "#fcf4d6", Yk = "#fddc69", Xk = "#f1c21
18485
18491
  80: ER,
18486
18492
  90: OR,
18487
18493
  100: TR
18488
- }, wR = "#fff0f7", $R = "#ffd6e8", MR = "#ffafd2", CR = "#ff7eb6", AR = "#ee5396", LR = "#d02670", DR = "#9f1853", kR = "#740937", RR = "#510224", IR = "#2a0a18", NR = {
18494
+ }, wR = "#fff0f7", $R = "#ffd6e8", MR = "#ffafd2", CR = "#ff7eb6", AR = "#ee5396", DR = "#d02670", LR = "#9f1853", kR = "#740937", RR = "#510224", IR = "#2a0a18", NR = {
18489
18495
  10: wR,
18490
18496
  20: $R,
18491
18497
  30: MR,
18492
18498
  40: CR,
18493
18499
  50: AR,
18494
- 60: LR,
18495
- 70: DR,
18500
+ 60: DR,
18501
+ 70: LR,
18496
18502
  80: kR,
18497
18503
  90: RR,
18498
18504
  100: IR
@@ -18540,13 +18546,13 @@ var jk = "#000000", Wk = "#ffffff", qk = "#fcf4d6", Yk = "#fddc69", Xk = "#f1c21
18540
18546
  80: OI,
18541
18547
  90: TI,
18542
18548
  100: SI
18543
- }, $I = "#defbe6", MI = "#a7f0ba", CI = "#6fdc8c", AI = "#42be65", LI = "#24a148", DI = "#198038", kI = "#0e6027", RI = "#044317", II = "#022d0d", NI = "#071908", PI = {
18549
+ }, $I = "#defbe6", MI = "#a7f0ba", CI = "#6fdc8c", AI = "#42be65", DI = "#24a148", LI = "#198038", kI = "#0e6027", RI = "#044317", II = "#022d0d", NI = "#071908", PI = {
18544
18550
  10: $I,
18545
18551
  20: MI,
18546
18552
  30: CI,
18547
18553
  40: AI,
18548
- 50: LI,
18549
- 60: DI,
18554
+ 50: DI,
18555
+ 60: LI,
18550
18556
  70: kI,
18551
18557
  80: RI,
18552
18558
  90: II,
@@ -18660,7 +18666,7 @@ class xN extends mt {
18660
18666
  }), l = Es({
18661
18667
  name: i.title || "Treemap",
18662
18668
  children: r
18663
- }).sum((p) => p.value).sort((p, f) => f.value - p.value), c = iD().size([a, o]).paddingInner(1).paddingOuter(0).round(!0)(
18669
+ }).sum((p) => p.value).sort((p, f) => f.value - p.value), c = iL().size([a, o]).paddingInner(1).paddingOuter(0).round(!0)(
18664
18670
  l
18665
18671
  ), u = n.selectAll("g[data-name='leaf']").data(c.leaves(), (p) => p.data.name);
18666
18672
  u.exit().attr("opacity", 0).remove();
@@ -18903,28 +18909,28 @@ function $N() {
18903
18909
  rectangular: m
18904
18910
  }, r = 64, i = 2048;
18905
18911
  hl = function() {
18906
- var E = [256, 256], x = s, T = a, M = l, D = o, A = o, R = c, C = u, H = g, P = [], U = 1 / 0, O = e("word", "end"), $ = null, L = Math.random, k = {}, B = b;
18907
- k.canvas = function(z) {
18908
- return arguments.length ? (B = _(z), k) : B;
18909
- }, k.start = function() {
18912
+ var E = [256, 256], x = s, T = a, M = l, k = o, D = o, L = c, C = u, H = g, P = [], U = 1 / 0, O = e("word", "end"), $ = null, A = Math.random, R = {}, B = b;
18913
+ R.canvas = function(z) {
18914
+ return arguments.length ? (B = _(z), R) : B;
18915
+ }, R.start = function() {
18910
18916
  var z = K(B()), X = v((E[0] >> 5) * E[1]), lt = null, J = P.length, Y = -1, tt = [], it = P.map(function(W, Z) {
18911
- return W.text = x.call(this, W, Z), W.font = T.call(this, W, Z), W.style = D.call(this, W, Z), W.weight = A.call(this, W, Z), W.rotate = R.call(this, W, Z), W.size = ~~M.call(this, W, Z), W.padding = C.call(this, W, Z), W;
18917
+ return W.text = x.call(this, W, Z), W.font = T.call(this, W, Z), W.style = k.call(this, W, Z), W.weight = D.call(this, W, Z), W.rotate = L.call(this, W, Z), W.size = ~~M.call(this, W, Z), W.padding = C.call(this, W, Z), W;
18912
18918
  }).sort(function(W, Z) {
18913
18919
  return Z.size - W.size;
18914
18920
  });
18915
- return $ && clearInterval($), $ = setInterval(F, 0), F(), k;
18921
+ return $ && clearInterval($), $ = setInterval(F, 0), F(), R;
18916
18922
  function F() {
18917
18923
  for (var W = Date.now(); Date.now() - W < U && ++Y < J && $; ) {
18918
18924
  var Z = it[Y];
18919
- Z.x = E[0] * (L() + 0.5) >> 1, Z.y = E[1] * (L() + 0.5) >> 1, d(z, Z, it, Y), Z.hasText && j(X, Z, lt) && (tt.push(Z), O.call("word", k, Z), lt ? p(lt, Z) : lt = [{ x: Z.x + Z.x0, y: Z.y + Z.y0 }, { x: Z.x + Z.x1, y: Z.y + Z.y1 }], Z.x -= E[0] >> 1, Z.y -= E[1] >> 1);
18925
+ Z.x = E[0] * (A() + 0.5) >> 1, Z.y = E[1] * (A() + 0.5) >> 1, d(z, Z, it, Y), Z.hasText && j(X, Z, lt) && (tt.push(Z), O.call("word", R, Z), lt ? p(lt, Z) : lt = [{ x: Z.x + Z.x0, y: Z.y + Z.y0 }, { x: Z.x + Z.x1, y: Z.y + Z.y1 }], Z.x -= E[0] >> 1, Z.y -= E[1] >> 1);
18920
18926
  }
18921
- Y >= J && (k.stop(), O.call("end", k, tt, lt));
18927
+ Y >= J && (R.stop(), O.call("end", R, tt, lt));
18922
18928
  }
18923
- }, k.stop = function() {
18929
+ }, R.stop = function() {
18924
18930
  $ && (clearInterval($), $ = null);
18925
18931
  for (const z of P)
18926
18932
  delete z.sprite;
18927
- return k;
18933
+ return R;
18928
18934
  };
18929
18935
  function K(z) {
18930
18936
  const X = z.getContext("2d", { willReadFrequently: !0 });
@@ -18934,7 +18940,7 @@ function $N() {
18934
18940
  }
18935
18941
  function j(z, X, lt) {
18936
18942
  E[0], E[1];
18937
- for (var J = X.x, Y = X.y, tt = Math.sqrt(E[0] * E[0] + E[1] * E[1]), it = H(E), F = L() < 0.5 ? 1 : -1, W = -F, Z, G, ct; (Z = it(W += F)) && (G = ~~Z[0], ct = ~~Z[1], !(Math.min(Math.abs(G), Math.abs(ct)) >= tt)); )
18943
+ for (var J = X.x, Y = X.y, tt = Math.sqrt(E[0] * E[0] + E[1] * E[1]), it = H(E), F = A() < 0.5 ? 1 : -1, W = -F, Z, G, ct; (Z = it(W += F)) && (G = ~~Z[0], ct = ~~Z[1], !(Math.min(Math.abs(G), Math.abs(ct)) >= tt)); )
18938
18944
  if (X.x = J + G, X.y = Y + ct, !(X.x + X.x0 < 0 || X.y + X.y0 < 0 || X.x + X.x1 > E[0] || X.y + X.y1 > E[1]) && (!lt || f(X, lt)) && !h(X, z, E[0])) {
18939
18945
  for (var ot = X.sprite, St = X.width >> 5, Nt = E[0] >> 5, rt = X.x - (St << 4), vt = rt & 127, $e = 32 - vt, ae = X.y1 - X.y0, di = (X.y + X.y0) * Nt + (rt >> 5), yr, xr = 0; xr < ae; xr++) {
18940
18946
  yr = 0;
@@ -18946,34 +18952,34 @@ function $N() {
18946
18952
  }
18947
18953
  return !1;
18948
18954
  }
18949
- return k.timeInterval = function(z) {
18950
- return arguments.length ? (U = z ?? 1 / 0, k) : U;
18951
- }, k.words = function(z) {
18952
- return arguments.length ? (P = z, k) : P;
18953
- }, k.size = function(z) {
18954
- return arguments.length ? (E = [+z[0], +z[1]], k) : E;
18955
- }, k.font = function(z) {
18956
- return arguments.length ? (T = _(z), k) : T;
18957
- }, k.fontStyle = function(z) {
18958
- return arguments.length ? (D = _(z), k) : D;
18959
- }, k.fontWeight = function(z) {
18960
- return arguments.length ? (A = _(z), k) : A;
18961
- }, k.rotate = function(z) {
18962
- return arguments.length ? (R = _(z), k) : R;
18963
- }, k.text = function(z) {
18964
- return arguments.length ? (x = _(z), k) : x;
18965
- }, k.spiral = function(z) {
18966
- return arguments.length ? (H = n[z] || z, k) : H;
18967
- }, k.fontSize = function(z) {
18968
- return arguments.length ? (M = _(z), k) : M;
18969
- }, k.padding = function(z) {
18970
- return arguments.length ? (C = _(z), k) : C;
18971
- }, k.random = function(z) {
18972
- return arguments.length ? (L = z, k) : L;
18973
- }, k.on = function() {
18955
+ return R.timeInterval = function(z) {
18956
+ return arguments.length ? (U = z ?? 1 / 0, R) : U;
18957
+ }, R.words = function(z) {
18958
+ return arguments.length ? (P = z, R) : P;
18959
+ }, R.size = function(z) {
18960
+ return arguments.length ? (E = [+z[0], +z[1]], R) : E;
18961
+ }, R.font = function(z) {
18962
+ return arguments.length ? (T = _(z), R) : T;
18963
+ }, R.fontStyle = function(z) {
18964
+ return arguments.length ? (k = _(z), R) : k;
18965
+ }, R.fontWeight = function(z) {
18966
+ return arguments.length ? (D = _(z), R) : D;
18967
+ }, R.rotate = function(z) {
18968
+ return arguments.length ? (L = _(z), R) : L;
18969
+ }, R.text = function(z) {
18970
+ return arguments.length ? (x = _(z), R) : x;
18971
+ }, R.spiral = function(z) {
18972
+ return arguments.length ? (H = n[z] || z, R) : H;
18973
+ }, R.fontSize = function(z) {
18974
+ return arguments.length ? (M = _(z), R) : M;
18975
+ }, R.padding = function(z) {
18976
+ return arguments.length ? (C = _(z), R) : C;
18977
+ }, R.random = function(z) {
18978
+ return arguments.length ? (A = z, R) : A;
18979
+ }, R.on = function() {
18974
18980
  var z = O.on.apply(O, arguments);
18975
- return z === O ? k : z;
18976
- }, k;
18981
+ return z === O ? R : z;
18982
+ }, R;
18977
18983
  };
18978
18984
  function s(E) {
18979
18985
  return E.text;
@@ -18995,29 +19001,29 @@ function $N() {
18995
19001
  }
18996
19002
  function d(E, x, T, M) {
18997
19003
  if (!x.sprite) {
18998
- var D = E.context, A = E.ratio;
18999
- D.clearRect(0, 0, (r << 5) / A, i / A);
19000
- var R = 0, C = 0, H = 0, P = T.length;
19004
+ var k = E.context, D = E.ratio;
19005
+ k.clearRect(0, 0, (r << 5) / D, i / D);
19006
+ var L = 0, C = 0, H = 0, P = T.length;
19001
19007
  for (--M; ++M < P; ) {
19002
- x = T[M], D.save(), D.font = x.style + " " + x.weight + " " + ~~((x.size + 1) / A) + "px " + x.font;
19003
- const Z = D.measureText(x.text), G = -Math.floor(Z.width / 2);
19004
- let ct = (Z.width + 1) * A, ot = x.size << 1;
19008
+ x = T[M], k.save(), k.font = x.style + " " + x.weight + " " + ~~((x.size + 1) / D) + "px " + x.font;
19009
+ const Z = k.measureText(x.text), G = -Math.floor(Z.width / 2);
19010
+ let ct = (Z.width + 1) * D, ot = x.size << 1;
19005
19011
  if (x.rotate) {
19006
- var U = Math.sin(x.rotate * t), O = Math.cos(x.rotate * t), $ = ct * O, L = ct * U, k = ot * O, B = ot * U;
19007
- ct = Math.max(Math.abs($ + B), Math.abs($ - B)) + 31 >> 5 << 5, ot = ~~Math.max(Math.abs(L + k), Math.abs(L - k));
19012
+ var U = Math.sin(x.rotate * t), O = Math.cos(x.rotate * t), $ = ct * O, A = ct * U, R = ot * O, B = ot * U;
19013
+ ct = Math.max(Math.abs($ + B), Math.abs($ - B)) + 31 >> 5 << 5, ot = ~~Math.max(Math.abs(A + R), Math.abs(A - R));
19008
19014
  } else
19009
19015
  ct = ct + 31 >> 5 << 5;
19010
- if (ot > H && (H = ot), R + ct >= r << 5 && (R = 0, C += H, H = 0), C + ot >= i) break;
19011
- D.translate((R + (ct >> 1)) / A, (C + (ot >> 1)) / A), x.rotate && D.rotate(x.rotate * t), D.fillText(x.text, G, 0), x.padding && (D.lineWidth = 2 * x.padding, D.strokeText(x.text, G, 0)), D.restore(), x.width = ct, x.height = ot, x.xoff = R, x.yoff = C, x.x1 = ct >> 1, x.y1 = ot >> 1, x.x0 = -x.x1, x.y0 = -x.y1, x.hasText = !0, R += ct;
19016
+ if (ot > H && (H = ot), L + ct >= r << 5 && (L = 0, C += H, H = 0), C + ot >= i) break;
19017
+ k.translate((L + (ct >> 1)) / D, (C + (ot >> 1)) / D), x.rotate && k.rotate(x.rotate * t), k.fillText(x.text, G, 0), x.padding && (k.lineWidth = 2 * x.padding, k.strokeText(x.text, G, 0)), k.restore(), x.width = ct, x.height = ot, x.xoff = L, x.yoff = C, x.x1 = ct >> 1, x.y1 = ot >> 1, x.x0 = -x.x1, x.y0 = -x.y1, x.hasText = !0, L += ct;
19012
19018
  }
19013
- for (var K = D.getImageData(0, 0, (r << 5) / A, i / A).data, j = []; --M >= 0; )
19019
+ for (var K = k.getImageData(0, 0, (r << 5) / D, i / D).data, j = []; --M >= 0; )
19014
19020
  if (x = T[M], !!x.hasText) {
19015
19021
  for (var z = x.width, X = z >> 5, lt = x.y1 - x.y0, J = 0; J < lt * X; J++) j[J] = 0;
19016
- if (R = x.xoff, R == null) return;
19022
+ if (L = x.xoff, L == null) return;
19017
19023
  C = x.yoff;
19018
19024
  for (var Y = 0, tt = -1, it = 0; it < lt; it++) {
19019
19025
  for (var J = 0; J < z; J++) {
19020
- var F = X * it + (J >> 5), W = K[(C + it) * (r << 5) + (R + J) << 2] ? 1 << 31 - J % 32 : 0;
19026
+ var F = X * it + (J >> 5), W = K[(C + it) * (r << 5) + (L + J) << 2] ? 1 << 31 - J % 32 : 0;
19021
19027
  j[F] |= W, Y |= W;
19022
19028
  }
19023
19029
  Y ? tt = it : (x.y0++, lt--, it--, C++);
@@ -19028,10 +19034,10 @@ function $N() {
19028
19034
  }
19029
19035
  function h(E, x, T) {
19030
19036
  T >>= 5;
19031
- for (var M = E.sprite, D = E.width >> 5, A = E.x - (D << 4), R = A & 127, C = 32 - R, H = E.y1 - E.y0, P = (E.y + E.y0) * T + (A >> 5), U, O = 0; O < H; O++) {
19037
+ for (var M = E.sprite, k = E.width >> 5, D = E.x - (k << 4), L = D & 127, C = 32 - L, H = E.y1 - E.y0, P = (E.y + E.y0) * T + (D >> 5), U, O = 0; O < H; O++) {
19032
19038
  U = 0;
19033
- for (var $ = 0; $ <= D; $++)
19034
- if ((U << C | ($ < D ? (U = M[O * D + $]) >>> R : 0)) & x[P + $]) return !0;
19039
+ for (var $ = 0; $ <= k; $++)
19040
+ if ((U << C | ($ < k ? (U = M[O * k + $]) >>> L : 0)) & x[P + $]) return !0;
19035
19041
  P += T;
19036
19042
  }
19037
19043
  return !1;
@@ -19050,24 +19056,24 @@ function $N() {
19050
19056
  };
19051
19057
  }
19052
19058
  function m(E) {
19053
- var x = 4, T = x * E[0] / E[1], M = 0, D = 0;
19054
- return function(A) {
19055
- var R = A < 0 ? -1 : 1;
19056
- switch (Math.sqrt(1 + 4 * R * A) - R & 3) {
19059
+ var x = 4, T = x * E[0] / E[1], M = 0, k = 0;
19060
+ return function(D) {
19061
+ var L = D < 0 ? -1 : 1;
19062
+ switch (Math.sqrt(1 + 4 * L * D) - L & 3) {
19057
19063
  case 0:
19058
19064
  M += T;
19059
19065
  break;
19060
19066
  case 1:
19061
- D += x;
19067
+ k += x;
19062
19068
  break;
19063
19069
  case 2:
19064
19070
  M -= T;
19065
19071
  break;
19066
19072
  default:
19067
- D -= x;
19073
+ k -= x;
19068
19074
  break;
19069
19075
  }
19070
- return [M, D];
19076
+ return [M, k];
19071
19077
  };
19072
19078
  }
19073
19079
  function v(E) {
@@ -19226,7 +19232,7 @@ class AN extends mt {
19226
19232
  });
19227
19233
  }
19228
19234
  }
19229
- class LN extends mt {
19235
+ class DN extends mt {
19230
19236
  constructor() {
19231
19237
  super(...arguments), this.type = "geo", this.renderType = nt.SVG;
19232
19238
  }
@@ -19272,7 +19278,7 @@ class LN extends mt {
19272
19278
  switch (y(this.getOptions(), "thematic", "projection")) {
19273
19279
  // Azimuthal Projections
19274
19280
  case vn.geoEqualEarth:
19275
- t = rL();
19281
+ t = rD();
19276
19282
  break;
19277
19283
  // Conic Projections
19278
19284
  case vn.geoAlbers:
@@ -19282,7 +19288,7 @@ class LN extends mt {
19282
19288
  t = iv();
19283
19289
  break;
19284
19290
  case vn.geoConicEquidistant:
19285
- t = eL();
19291
+ t = eD();
19286
19292
  break;
19287
19293
  // Cyndrical projections
19288
19294
  case vn.geoEquirectangular:
@@ -19292,7 +19298,7 @@ class LN extends mt {
19292
19298
  t = KA();
19293
19299
  break;
19294
19300
  case vn.geoNaturalEarth1:
19295
- t = iL();
19301
+ t = iD();
19296
19302
  break;
19297
19303
  default:
19298
19304
  throw new Error("Projection is not supported.");
@@ -19300,7 +19306,7 @@ class LN extends mt {
19300
19306
  return t;
19301
19307
  }
19302
19308
  }
19303
- class DN extends LN {
19309
+ class LN extends DN {
19304
19310
  constructor() {
19305
19311
  super(...arguments), this.type = "choropleth";
19306
19312
  }
@@ -20331,14 +20337,14 @@ function TP(e, t, n) {
20331
20337
  n?.in,
20332
20338
  e,
20333
20339
  t
20334
- ), s = Lp(r, i), a = Math.abs(
20340
+ ), s = Dp(r, i), a = Math.abs(
20335
20341
  Gm(r, i)
20336
20342
  );
20337
20343
  r.setDate(r.getDate() - s * a);
20338
- const o = +(Lp(r, i) === -s), l = s * (a - o);
20344
+ const o = +(Dp(r, i) === -s), l = s * (a - o);
20339
20345
  return l === 0 ? 0 : l;
20340
20346
  }
20341
- function Lp(e, t) {
20347
+ function Dp(e, t) {
20342
20348
  const n = e.getFullYear() - t.getFullYear() || e.getMonth() - t.getMonth() || e.getDate() - t.getDate() || e.getHours() - t.getHours() || e.getMinutes() - t.getMinutes() || e.getSeconds() - t.getSeconds() || e.getMilliseconds() - t.getMilliseconds();
20343
20349
  return n < 0 ? -1 : n > 0 ? 1 : n;
20344
20350
  }
@@ -20375,7 +20381,7 @@ function $P(e, t, n) {
20375
20381
  function Zv(e, t) {
20376
20382
  return +Ht(e) - +Ht(t);
20377
20383
  }
20378
- function Dp(e, t, n) {
20384
+ function Lp(e, t, n) {
20379
20385
  const r = Zv(e, t) / pf;
20380
20386
  return vu()(r);
20381
20387
  }
@@ -20648,10 +20654,10 @@ class MP extends Rn {
20648
20654
  ), E = [];
20649
20655
  b.forEach((x) => {
20650
20656
  const { ...T } = x;
20651
- let M = 0, D = 0;
20652
- Object.values(GN(T, "sharedStackKey")).forEach((A) => {
20653
- isNaN(A) || (A < 0 ? D += A : M += A);
20654
- }), E.push([D, M]);
20657
+ let M = 0, k = 0;
20658
+ Object.values(GN(T, "sharedStackKey")).forEach((D) => {
20659
+ isNaN(D) || (D < 0 ? k += D : M += D);
20660
+ }), E.push([k, M]);
20655
20661
  }), g = [
20656
20662
  ...hu(E),
20657
20663
  ..._.map((x) => x[c])
@@ -20702,10 +20708,10 @@ class MP extends Rn {
20702
20708
  }
20703
20709
  function CP(e, t) {
20704
20710
  const n = new Date(e[0]), r = new Date(e[1]);
20705
- return gP(r, n) > 1 ? [vP(n, t), Wv(r, t)] : EP(r, n) > 1 ? [OP(n, t), gu(r, t)] : TP(r, n) > 1 ? [SP(n, t), qv(r, t)] : wP(r, n) > 1 ? [$P(n, t), Xv(r, t)] : Dp(r, n) > 30 ? [
20711
+ return gP(r, n) > 1 ? [vP(n, t), Wv(r, t)] : EP(r, n) > 1 ? [OP(n, t), gu(r, t)] : TP(r, n) > 1 ? [SP(n, t), qv(r, t)] : wP(r, n) > 1 ? [$P(n, t), Xv(r, t)] : Lp(r, n) > 30 ? [
20706
20712
  kp(n, t * 30),
20707
20713
  cc(r, t * 30)
20708
- ] : Dp(r, n) > 1 ? [kp(n, t), cc(r, t)] : Rp(r, n) > 15 ? [
20714
+ ] : Lp(r, n) > 1 ? [kp(n, t), cc(r, t)] : Rp(r, n) > 15 ? [
20709
20715
  Ip(n, t * 15),
20710
20716
  uc(r, t * 15)
20711
20717
  ] : Rp(r, n) > 1 ? [Ip(n, t), uc(r, t)] : [n, r];
@@ -20720,7 +20726,7 @@ function AP([e, t], n, r) {
20720
20726
  }
20721
20727
  return [a, s];
20722
20728
  }
20723
- class LP extends Rn {
20729
+ class DP extends Rn {
20724
20730
  constructor() {
20725
20731
  super(...arguments), this.curveTypes = {
20726
20732
  curveLinear: ao,
@@ -20755,7 +20761,7 @@ class LP extends Rn {
20755
20761
  return console.warn(`The curve type '${t}' is invalid, using 'curveLinear' instead`), this.curveTypes.curveLinear;
20756
20762
  }
20757
20763
  }
20758
- class DP extends Rn {
20764
+ class LP extends Rn {
20759
20765
  isZoomBarEnabled() {
20760
20766
  if (!this.services.cartesianScales || !y(this.model.getOptions(), "zoomBar", "top", "enabled"))
20761
20767
  return !1;
@@ -20891,7 +20897,7 @@ var i3 = r3("toUpperCase");
20891
20897
  function s3(e) {
20892
20898
  return i3(gs(e).toLowerCase());
20893
20899
  }
20894
- var a3 = Lg(function(e, t, n) {
20900
+ var a3 = Dg(function(e, t, n) {
20895
20901
  return t = t.toLowerCase(), e + (n ? s3(t) : t);
20896
20902
  });
20897
20903
  class Ye {
@@ -20948,7 +20954,7 @@ class Ye {
20948
20954
  components: [new ou(this.model, this.services)],
20949
20955
  growth: ut.PREFERRED
20950
20956
  }, a = y(r, "canvasZoom", "enabled");
20951
- a && a === !0 && t.push(new YD(this.model, this.services));
20957
+ a && a === !0 && t.push(new YL(this.model, this.services));
20952
20958
  const o = !!this.model.getOptions().title, l = {
20953
20959
  id: "title",
20954
20960
  components: [new Ts(this.model, this.services)],
@@ -20988,7 +20994,7 @@ class Ye {
20988
20994
  }
20989
20995
  const f = {
20990
20996
  id: "spacer",
20991
- components: [new Ln(this.model, this.services)],
20997
+ components: [new Dn(this.model, this.services)],
20992
20998
  growth: ut.PREFERRED
20993
20999
  }, g = {
20994
21000
  id: "full-frame",
@@ -21013,7 +21019,7 @@ class Ye {
21013
21019
  const v = {
21014
21020
  id: "spacer",
21015
21021
  components: [
21016
- new Ln(this.model, this.services, i ? { size: 15 } : void 0)
21022
+ new Dn(this.model, this.services, i ? { size: 15 } : void 0)
21017
21023
  ],
21018
21024
  growth: ut.PREFERRED
21019
21025
  };
@@ -21032,8 +21038,8 @@ class xe extends Ye {
21032
21038
  constructor(t, n) {
21033
21039
  super(t, n), this.services = Object.assign(this.services, {
21034
21040
  cartesianScales: MP,
21035
- curves: LP,
21036
- zoom: DP
21041
+ curves: DP,
21042
+ zoom: LP
21037
21043
  }), this.model = new mr(this.services);
21038
21044
  }
21039
21045
  getAxisChartComponents(t, n) {
@@ -21072,8 +21078,8 @@ class xe extends Ye {
21072
21078
  };
21073
21079
  l && !c && t.push(
21074
21080
  new bv(this.model, this.services),
21075
- new XD(this.model, this.services)
21076
- ), t.push(new KD(this.model, this.services)), t.push(new QD(this.model, this.services));
21081
+ new XL(this.model, this.services)
21082
+ ), t.push(new KL(this.model, this.services)), t.push(new QL(this.model, this.services));
21077
21083
  const g = {
21078
21084
  id: "graph-frame",
21079
21085
  components: t,
@@ -21087,7 +21093,7 @@ class xe extends Ye {
21087
21093
  }
21088
21094
  const b = {
21089
21095
  id: "spacer",
21090
- components: [new Ln(this.model, this.services)],
21096
+ components: [new Dn(this.model, this.services)],
21091
21097
  growth: ut.PREFERRED
21092
21098
  }, _ = {
21093
21099
  id: "full-frame",
@@ -21108,7 +21114,7 @@ class xe extends Ye {
21108
21114
  growth: ut.STRETCH
21109
21115
  }, E = {
21110
21116
  id: "zoom-bar",
21111
- components: [new ZD(this.model, this.services)],
21117
+ components: [new ZL(this.model, this.services)],
21112
21118
  growth: ut.PREFERRED,
21113
21119
  renderType: nt.SVG
21114
21120
  }, x = [];
@@ -21117,7 +21123,7 @@ class xe extends Ye {
21117
21123
  const T = {
21118
21124
  id: "spacer",
21119
21125
  components: [
21120
- new Ln(this.model, this.services, s ? { size: 15 } : void 0)
21126
+ new Dn(this.model, this.services, s ? { size: 15 } : void 0)
21121
21127
  ],
21122
21128
  growth: ut.PREFERRED
21123
21129
  };
@@ -21297,7 +21303,7 @@ class d3 extends Ye {
21297
21303
  renderType: nt.SVG
21298
21304
  }, d = y(n, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1 && this.model.getData().length > 0, h = At.COLUMN_REVERSE, p = {
21299
21305
  id: "spacer",
21300
- components: [new Ln(this.model, this.services, { size: 15 })],
21306
+ components: [new Dn(this.model, this.services, { size: 15 })],
21301
21307
  growth: ut.PREFERRED
21302
21308
  }, f = {
21303
21309
  id: "full-frame",
@@ -21322,7 +21328,7 @@ class d3 extends Ye {
21322
21328
  const m = {
21323
21329
  id: "spacer",
21324
21330
  components: [
21325
- new Ln(this.model, this.services, i ? { size: 15 } : void 0)
21331
+ new Dn(this.model, this.services, i ? { size: 15 } : void 0)
21326
21332
  ],
21327
21333
  growth: ut.PREFERRED
21328
21334
  };
@@ -21342,7 +21348,7 @@ class d3 extends Ye {
21342
21348
  * @returns {Component[]} An array of components to be rendered.
21343
21349
  */
21344
21350
  getComponents() {
21345
- const t = [new DN(this.model, this.services)];
21351
+ const t = [new LN(this.model, this.services)];
21346
21352
  return this.getChartComponents(t);
21347
21353
  }
21348
21354
  }
@@ -21364,10 +21370,10 @@ const Np = {
21364
21370
  [Ce.LINE]: [Yr, sn],
21365
21371
  [Ce.SCATTER]: [sn],
21366
21372
  [Ce.AREA]: [Sv, Yr, sn],
21367
- [Ce.STACKED_AREA]: [Lv, Yr, kv, Ba],
21373
+ [Ce.STACKED_AREA]: [Dv, Yr, kv, Ba],
21368
21374
  [Ce.SIMPLE_BAR]: [Av],
21369
21375
  [Ce.GROUPED_BAR]: [Cv, hi],
21370
- [Ce.STACKED_BAR]: [Dv, Ba]
21376
+ [Ce.STACKED_BAR]: [Lv, Ba]
21371
21377
  };
21372
21378
  class f3 extends xe {
21373
21379
  constructor(t, n) {
@@ -21553,7 +21559,7 @@ class y3 extends xe {
21553
21559
  renderType: nt.SVG
21554
21560
  }, d = y(n, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1 && this.model.getData().length > 0, h = At.COLUMN_REVERSE, p = {
21555
21561
  id: "spacer",
21556
- components: [new Ln(this.model, this.services, { size: 15 })],
21562
+ components: [new Dn(this.model, this.services, { size: 15 })],
21557
21563
  growth: ut.PREFERRED
21558
21564
  }, f = {
21559
21565
  id: "full-frame",
@@ -21578,7 +21584,7 @@ class y3 extends xe {
21578
21584
  const m = {
21579
21585
  id: "spacer",
21580
21586
  components: [
21581
- new Ln(this.model, this.services, i ? { size: 15 } : void 0)
21587
+ new Dn(this.model, this.services, i ? { size: 15 } : void 0)
21582
21588
  ],
21583
21589
  growth: ut.PREFERRED
21584
21590
  };
@@ -21618,7 +21624,7 @@ class x3 extends xe {
21618
21624
  const t = [
21619
21625
  new ye(this.model, this.services),
21620
21626
  new we(this.model, this.services),
21621
- new Dk(this.model, this.services),
21627
+ new Lk(this.model, this.services),
21622
21628
  new Uk(this.model, this.services)
21623
21629
  ];
21624
21630
  return this.getAxisChartComponents(t);
@@ -21694,7 +21700,7 @@ class E3 extends Ye {
21694
21700
  {
21695
21701
  id: "spacer",
21696
21702
  components: [
21697
- new Ln(this.model, this.services, {
21703
+ new Dn(this.model, this.services, {
21698
21704
  size: 8
21699
21705
  })
21700
21706
  ],
@@ -21820,7 +21826,7 @@ class M3 extends xe {
21820
21826
  new ye(this.model, this.services),
21821
21827
  new we(this.model, this.services),
21822
21828
  new Ba(this.model, this.services),
21823
- new Lv(this.model, this.services),
21829
+ new Dv(this.model, this.services),
21824
21830
  new Yr(this.model, this.services, { stacked: !0 }),
21825
21831
  new kv(this.model, this.services, {
21826
21832
  fadeInOnChartHolderMouseover: !0,
@@ -21848,7 +21854,7 @@ class C3 extends xe {
21848
21854
  new ye(this.model, this.services),
21849
21855
  new we(this.model, this.services),
21850
21856
  new Ba(this.model, this.services),
21851
- new Dv(this.model, this.services),
21857
+ new Lv(this.model, this.services),
21852
21858
  new de(this.model, this.services, {
21853
21859
  skeleton: jt.VERT_OR_HORIZ
21854
21860
  }),
@@ -21876,7 +21882,7 @@ class A3 extends Ye {
21876
21882
  return this.getChartComponents(t);
21877
21883
  }
21878
21884
  }
21879
- function Dt(e, t) {
21885
+ function Lt(e, t) {
21880
21886
  return p1({
21881
21887
  name: t,
21882
21888
  props: {
@@ -21890,7 +21896,7 @@ function Dt(e, t) {
21890
21896
  }
21891
21897
  },
21892
21898
  setup(n) {
21893
- const r = Du(null), i = Du(null), { data: s, options: a } = f1(n);
21899
+ const r = Lu(null), i = Lu(null), { data: s, options: a } = f1(n);
21894
21900
  return m1(() => {
21895
21901
  r.value && (i.value = new e(r.value, {
21896
21902
  data: s.value,
@@ -21909,15 +21915,15 @@ function Dt(e, t) {
21909
21915
  template: '<div ref="chartDiv"></div>'
21910
21916
  });
21911
21917
  }
21912
- const L3 = Dt(o3, "CcvAlluvialChart"), D3 = Dt(l3, "CcvAreaChart"), k3 = Dt(c3, "CcvBoxplotChart"), R3 = Dt(u3, "CcvBubbleChart"), I3 = Dt(h3, "CcvBulletChart"), Pp = Dt(
21918
+ const D3 = Lt(o3, "CcvAlluvialChart"), L3 = Lt(l3, "CcvAreaChart"), k3 = Lt(c3, "CcvBoxplotChart"), R3 = Lt(u3, "CcvBubbleChart"), I3 = Lt(h3, "CcvBulletChart"), Pp = Lt(
21913
21919
  d3,
21914
21920
  "ExperimentalCcvChoroplethChart"
21915
- ), N3 = Dt(p3, "CcvCirclePackChart"), P3 = Dt(f3, "CcvComboChart"), B3 = Dt(m3, "CcvDonutChart"), U3 = Dt(g3, "CcvGaugeChart"), H3 = Dt(v3, "CcvGroupedBarChart"), V3 = Dt(y3, "CcvHeatmapChart"), G3 = Dt(x3, "CcvHistogramChart"), F3 = Dt(b3, "CcvLineChart"), z3 = Dt(_3, "CcvLollipopChart"), j3 = Dt(E3, "CcvMeterChart"), W3 = Dt(i1, "CcvPieChart"), q3 = Dt(O3, "CcvRadarChart"), Y3 = Dt(T3, "CcvScatterChart"), X3 = Dt($3, "CcvSimpleBarChart"), Z3 = Dt(M3, "CcvStackedAreaChart"), K3 = Dt(C3, "CcvStackedBarChart"), Q3 = Dt(S3, "CcvTreeChart"), J3 = Dt(w3, "CcvTreemapChart"), tB = Dt(
21921
+ ), N3 = Lt(p3, "CcvCirclePackChart"), P3 = Lt(f3, "CcvComboChart"), B3 = Lt(m3, "CcvDonutChart"), U3 = Lt(g3, "CcvGaugeChart"), H3 = Lt(v3, "CcvGroupedBarChart"), V3 = Lt(y3, "CcvHeatmapChart"), G3 = Lt(x3, "CcvHistogramChart"), F3 = Lt(b3, "CcvLineChart"), z3 = Lt(_3, "CcvLollipopChart"), j3 = Lt(E3, "CcvMeterChart"), W3 = Lt(i1, "CcvPieChart"), q3 = Lt(O3, "CcvRadarChart"), Y3 = Lt(T3, "CcvScatterChart"), X3 = Lt($3, "CcvSimpleBarChart"), Z3 = Lt(M3, "CcvStackedAreaChart"), K3 = Lt(C3, "CcvStackedBarChart"), Q3 = Lt(S3, "CcvTreeChart"), J3 = Lt(w3, "CcvTreemapChart"), tB = Lt(
21916
21922
  A3,
21917
21923
  "CcvWordCloudChart"
21918
21924
  ), eB = [
21919
- L3,
21920
21925
  D3,
21926
+ L3,
21921
21927
  k3,
21922
21928
  R3,
21923
21929
  I3,
@@ -21961,8 +21967,8 @@ export {
21961
21967
  js as CalloutDirections,
21962
21968
  zp as CanvasZoomEvent,
21963
21969
  Wt as CartesianOrientations,
21964
- L3 as CcvAlluvialChart,
21965
- D3 as CcvAreaChart,
21970
+ D3 as CcvAlluvialChart,
21971
+ L3 as CcvAreaChart,
21966
21972
  k3 as CcvBoxplotChart,
21967
21973
  R3 as CcvBubbleChart,
21968
21974
  I3 as CcvBulletChart,