@carbon/charts-react 1.14.2 → 1.14.4

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
@@ -2,19 +2,19 @@ var W0 = Object.defineProperty;
2
2
  var q0 = (e, t, n) => t in e ? W0(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var Jo = (e, t, n) => (q0(e, typeof t != "symbol" ? t + "" : t, n), n);
4
4
  import Aa from "react";
5
- var Ep = /* @__PURE__ */ ((e) => (e.RENDER_FINISHED = "render-finished", e.RESIZE = "chart-resize", e.MOUSEOVER = "chart-mouseover", e.MOUSEOUT = "chart-mouseout", e))(Ep || {}), _p = /* @__PURE__ */ ((e) => (e.SHOW = "show-modal", e.HIDE = "hide-modal", e))(_p || {}), wp = /* @__PURE__ */ ((e) => (e.UPDATE = "model-update", e))(wp || {}), Sp = /* @__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))(Sp || {}), Op = /* @__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))(Op || {}), Tp = /* @__PURE__ */ ((e) => (e.CHANGE = "zoom-domain-change", e))(Tp || {}), Mp = /* @__PURE__ */ ((e) => (e.CANVAS_ZOOM_IN = "canvas-zoom-in", e.CANVAS_ZOOM_OUT = "canvas-zoom-out", e))(Mp || {}), Cp = /* @__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))(Cp || {}), Ap = /* @__PURE__ */ ((e) => (e.POINT_MOUSEOVER = "scatter-mouseover", e.POINT_MOUSEMOVE = "scatter-mousemove", e.POINT_CLICK = "scatter-click", e.POINT_MOUSEOUT = "scatter-mouseout", e))(Ap || {}), $p = /* @__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))($p || {}), Lp = /* @__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))(Lp || {}), Rp = /* @__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))(Rp || {}), Dp = /* @__PURE__ */ ((e) => (e.BAR_MOUSEOVER = "bar-mouseover", e.BAR_MOUSEMOVE = "bar-mousemove", e.BAR_CLICK = "bar-click", e.BAR_MOUSEOUT = "bar-mouseout", e))(Dp || {}), 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 || {}), Ip = /* @__PURE__ */ ((e) => (e.SCATTER_MOUSEOVER = "scatter-mouseover", e.SCATTER_MOUSEMOVE = "scatter-mousemove", e.SCATTER_CLICK = "scatter-click", e.SCATTER_MOUSEOUT = "scatter-mouseout", e))(Ip || {}), Np = /* @__PURE__ */ ((e) => (e.POINT_MOUSEOVER = "scatter-mouseover", e.POINT_MOUSEMOVE = "scatter-mousemove", e.POINT_CLICK = "scatter-click", e.POINT_MOUSEOUT = "scatter-mouseout", e))(Np || {}), Pp = /* @__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))(Pp || {}), Up = /* @__PURE__ */ ((e) => (e.NODE_MOUSEOVER = "tree-node-mouseover", e.NODE_CLICK = "tree-node-click", e.NODE_MOUSEOUT = "tree-node-mouseout", e))(Up || {}), Bp = /* @__PURE__ */ ((e) => (e.LEAF_MOUSEOVER = "leaf-mouseover", e.LEAF_MOUSEMOVE = "leaf-mousemove", e.LEAF_CLICK = "leaf-click", e.LEAF_MOUSEOUT = "leaf-mouseout", e))(Bp || {}), Qi = /* @__PURE__ */ ((e) => (e.SHOW = "show-tooltip", e.MOVE = "move-tooltip", e.HIDE = "hide-tooltip", e))(Qi || {}), Vp = /* @__PURE__ */ ((e) => (e.SHOW = "show-threshold", e.HIDE = "hide-threshold", e))(Vp || {}), Hp = /* @__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))(Hp || {}), Fp = /* @__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))(Fp || {}), zp = /* @__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))(zp || {}), Gp = /* @__PURE__ */ ((e) => (e.METER_MOUSEOVER = "meter-mouseover", e.METER_CLICK = "meter-click", e.METER_MOUSEOUT = "meter-mouseout", e.METER_MOUSEMOVE = "meter-mousemove", e))(Gp || {}), jp = /* @__PURE__ */ ((e) => (e.HEATMAP_MOUSEOVER = "heatmap-mouseover", e.HEATMAP_CLICK = "heatmap-click", e.HEATMAP_MOUSEOUT = "heatmap-mouseout", e.HEATMAP_MOUSEMOVE = "hetmap-mousemove", e))(jp || {}), zr = /* @__PURE__ */ ((e) => (e.CHOROPLETH_MOUSEOVER = "choropleth-mouseover", e.CHOROPLETH_CLICK = "choropleth-click", e.CHOROPLETH_MOUSEOUT = "choropleth-mouseout", e.CHOROPLETH_MOUSEMOVE = "choropleth-mousemove", e))(zr || {});
5
+ var Ep = /* @__PURE__ */ ((e) => (e.RENDER_FINISHED = "render-finished", e.RESIZE = "chart-resize", e.MOUSEOVER = "chart-mouseover", e.MOUSEOUT = "chart-mouseout", e))(Ep || {}), _p = /* @__PURE__ */ ((e) => (e.SHOW = "show-modal", e.HIDE = "hide-modal", e))(_p || {}), wp = /* @__PURE__ */ ((e) => (e.UPDATE = "model-update", e))(wp || {}), Sp = /* @__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))(Sp || {}), Op = /* @__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))(Op || {}), Tp = /* @__PURE__ */ ((e) => (e.CHANGE = "zoom-domain-change", e))(Tp || {}), Mp = /* @__PURE__ */ ((e) => (e.CANVAS_ZOOM_IN = "canvas-zoom-in", e.CANVAS_ZOOM_OUT = "canvas-zoom-out", e))(Mp || {}), Cp = /* @__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))(Cp || {}), Ap = /* @__PURE__ */ ((e) => (e.POINT_MOUSEOVER = "scatter-mouseover", e.POINT_MOUSEMOVE = "scatter-mousemove", e.POINT_CLICK = "scatter-click", e.POINT_MOUSEOUT = "scatter-mouseout", e))(Ap || {}), $p = /* @__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))($p || {}), Lp = /* @__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))(Lp || {}), Dp = /* @__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))(Dp || {}), Rp = /* @__PURE__ */ ((e) => (e.BAR_MOUSEOVER = "bar-mouseover", e.BAR_MOUSEMOVE = "bar-mousemove", e.BAR_CLICK = "bar-click", e.BAR_MOUSEOUT = "bar-mouseout", e))(Rp || {}), 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 || {}), Ip = /* @__PURE__ */ ((e) => (e.SCATTER_MOUSEOVER = "scatter-mouseover", e.SCATTER_MOUSEMOVE = "scatter-mousemove", e.SCATTER_CLICK = "scatter-click", e.SCATTER_MOUSEOUT = "scatter-mouseout", e))(Ip || {}), Np = /* @__PURE__ */ ((e) => (e.POINT_MOUSEOVER = "scatter-mouseover", e.POINT_MOUSEMOVE = "scatter-mousemove", e.POINT_CLICK = "scatter-click", e.POINT_MOUSEOUT = "scatter-mouseout", e))(Np || {}), Pp = /* @__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))(Pp || {}), Up = /* @__PURE__ */ ((e) => (e.NODE_MOUSEOVER = "tree-node-mouseover", e.NODE_CLICK = "tree-node-click", e.NODE_MOUSEOUT = "tree-node-mouseout", e))(Up || {}), Bp = /* @__PURE__ */ ((e) => (e.LEAF_MOUSEOVER = "leaf-mouseover", e.LEAF_MOUSEMOVE = "leaf-mousemove", e.LEAF_CLICK = "leaf-click", e.LEAF_MOUSEOUT = "leaf-mouseout", e))(Bp || {}), Qi = /* @__PURE__ */ ((e) => (e.SHOW = "show-tooltip", e.MOVE = "move-tooltip", e.HIDE = "hide-tooltip", e))(Qi || {}), Vp = /* @__PURE__ */ ((e) => (e.SHOW = "show-threshold", e.HIDE = "hide-threshold", e))(Vp || {}), Hp = /* @__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))(Hp || {}), Fp = /* @__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))(Fp || {}), zp = /* @__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))(zp || {}), Gp = /* @__PURE__ */ ((e) => (e.METER_MOUSEOVER = "meter-mouseover", e.METER_CLICK = "meter-click", e.METER_MOUSEOUT = "meter-mouseout", e.METER_MOUSEMOVE = "meter-mousemove", e))(Gp || {}), jp = /* @__PURE__ */ ((e) => (e.HEATMAP_MOUSEOVER = "heatmap-mouseover", e.HEATMAP_CLICK = "heatmap-click", e.HEATMAP_MOUSEOUT = "heatmap-mouseout", e.HEATMAP_MOUSEMOVE = "hetmap-mousemove", e))(jp || {}), zr = /* @__PURE__ */ ((e) => (e.CHOROPLETH_MOUSEOVER = "choropleth-mouseover", e.CHOROPLETH_CLICK = "choropleth-click", e.CHOROPLETH_MOUSEOUT = "choropleth-mouseout", e.CHOROPLETH_MOUSEMOVE = "choropleth-mousemove", e))(zr || {});
6
6
  const Y0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7
7
  __proto__: null,
8
8
  Alluvial: zp,
9
9
  Area: Ap,
10
10
  Axis: Cp,
11
- Bar: Dp,
11
+ Bar: Rp,
12
12
  Boxplot: kp,
13
13
  CanvasZoom: Mp,
14
14
  Chart: Ep,
15
15
  Choropleth: zr,
16
16
  CirclePack: Fp,
17
- Gauge: Rp,
17
+ Gauge: Dp,
18
18
  Heatmap: jp,
19
19
  Legend: Hp,
20
20
  Line: Np,
@@ -384,15 +384,15 @@ function _y() {
384
384
  function Eo(e, t) {
385
385
  var n = [], r = null, i = null, s = 6, a = 6, o = 3, l = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, c = e === pa || e === Bi ? -1 : 1, u = e === Bi || e === ma ? "x" : "y", d = e === pa || e === jl ? yy : xy;
386
386
  function h(f) {
387
- var p = r ?? (t.ticks ? t.ticks.apply(t, n) : t.domain()), v = i ?? (t.tickFormat ? t.tickFormat.apply(t, n) : vy), m = Math.max(s, 0) + o, y = t.range(), g = +y[0] + l, x = +y[y.length - 1] + l, w = (t.bandwidth ? Ey : by)(t.copy(), l), _ = f.selection ? f.selection() : f, S = _.selectAll(".domain").data([null]), A = _.selectAll(".tick").data(p, t).order(), k = A.exit(), D = A.enter().append("g").attr("class", "tick"), R = A.select("line"), T = A.select("text");
388
- S = S.merge(S.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), A = A.merge(D), R = R.merge(D.append("line").attr("stroke", "currentColor").attr(u + "2", c * s)), T = T.merge(D.append("text").attr("fill", "currentColor").attr(u, c * m).attr("dy", e === pa ? "0em" : e === jl ? "0.71em" : "0.32em")), f !== _ && (S = S.transition(f), A = A.transition(f), R = R.transition(f), T = T.transition(f), k = k.transition(f).attr("opacity", fh).attr("transform", function(H) {
387
+ var p = r ?? (t.ticks ? t.ticks.apply(t, n) : t.domain()), v = i ?? (t.tickFormat ? t.tickFormat.apply(t, n) : vy), m = Math.max(s, 0) + o, y = t.range(), g = +y[0] + l, x = +y[y.length - 1] + l, w = (t.bandwidth ? Ey : by)(t.copy(), l), _ = f.selection ? f.selection() : f, S = _.selectAll(".domain").data([null]), A = _.selectAll(".tick").data(p, t).order(), k = A.exit(), R = A.enter().append("g").attr("class", "tick"), D = A.select("line"), T = A.select("text");
388
+ S = S.merge(S.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), A = A.merge(R), D = D.merge(R.append("line").attr("stroke", "currentColor").attr(u + "2", c * s)), T = T.merge(R.append("text").attr("fill", "currentColor").attr(u, c * m).attr("dy", e === pa ? "0em" : e === jl ? "0.71em" : "0.32em")), f !== _ && (S = S.transition(f), A = A.transition(f), D = D.transition(f), T = T.transition(f), k = k.transition(f).attr("opacity", fh).attr("transform", function(H) {
389
389
  return isFinite(H = w(H)) ? d(H + l) : this.getAttribute("transform");
390
- }), D.attr("opacity", fh).attr("transform", function(H) {
390
+ }), R.attr("opacity", fh).attr("transform", function(H) {
391
391
  var P = this.parentNode.__axis;
392
392
  return d((P && isFinite(P = P(H)) ? P : w(H)) + l);
393
393
  })), k.remove(), S.attr("d", e === Bi || e === ma ? a ? "M" + c * a + "," + g + "H" + l + "V" + x + "H" + c * a : "M" + l + "," + g + "V" + x : a ? "M" + g + "," + c * a + "V" + l + "H" + x + "V" + c * a : "M" + g + "," + l + "H" + x), A.attr("opacity", 1).attr("transform", function(H) {
394
394
  return d(w(H) + l);
395
- }), R.attr(u + "2", c * s), T.attr(u, c * m).text(v), _.filter(_y).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", e === ma ? "start" : e === Bi ? "end" : "middle"), _.each(function() {
395
+ }), D.attr(u + "2", c * s), T.attr(u, c * m).text(v), _.filter(_y).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", e === ma ? "start" : e === Bi ? "end" : "middle"), _.each(function() {
396
396
  this.__axis = w;
397
397
  });
398
398
  }
@@ -547,20 +547,20 @@ function Ly(e) {
547
547
  (l = s[u]) && (c = e.call(l, l.__data__, u, s)) && ("__data__" in l && (c.__data__ = l.__data__), o[u] = c);
548
548
  return new Ae(r, this._parents);
549
549
  }
550
- function Ry(e) {
550
+ function Dy(e) {
551
551
  return e == null ? [] : Array.isArray(e) ? e : Array.from(e);
552
552
  }
553
- function Dy() {
553
+ function Ry() {
554
554
  return [];
555
555
  }
556
556
  function Qp(e) {
557
- return e == null ? Dy : function() {
557
+ return e == null ? Ry : function() {
558
558
  return this.querySelectorAll(e);
559
559
  };
560
560
  }
561
561
  function ky(e) {
562
562
  return function() {
563
- return Ry(e.apply(this, arguments));
563
+ return Dy(e.apply(this, arguments));
564
564
  };
565
565
  }
566
566
  function Iy(e) {
@@ -617,11 +617,11 @@ function em(e) {
617
617
  function jy() {
618
618
  return new Ae(this._enter || this._groups.map(em), this._parents);
619
619
  }
620
- function Ra(e, t) {
620
+ function Da(e, t) {
621
621
  this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = t;
622
622
  }
623
- Ra.prototype = {
624
- constructor: Ra,
623
+ Da.prototype = {
624
+ constructor: Da,
625
625
  appendChild: function(e) {
626
626
  return this._parent.insertBefore(e, this._next);
627
627
  },
@@ -642,7 +642,7 @@ function Wy(e) {
642
642
  }
643
643
  function qy(e, t, n, r, i, s) {
644
644
  for (var a = 0, o, l = t.length, c = s.length; a < c; ++a)
645
- (o = t[a]) ? (o.__data__ = s[a], r[a] = o) : n[a] = new Ra(e, s[a]);
645
+ (o = t[a]) ? (o.__data__ = s[a], r[a] = o) : n[a] = new Da(e, s[a]);
646
646
  for (; a < l; ++a)
647
647
  (o = t[a]) && (i[a] = o);
648
648
  }
@@ -651,7 +651,7 @@ function Yy(e, t, n, r, i, s, a) {
651
651
  for (o = 0; o < u; ++o)
652
652
  (l = t[o]) && (h[o] = f = a.call(l, l.__data__, o, t) + "", c.has(f) ? i[o] = l : c.set(f, l));
653
653
  for (o = 0; o < d; ++o)
654
- f = a.call(e, s[o], o, s) + "", (l = c.get(f)) ? (r[o] = l, l.__data__ = s[o], c.delete(f)) : n[o] = new Ra(e, s[o]);
654
+ f = a.call(e, s[o], o, s) + "", (l = c.get(f)) ? (r[o] = l, l.__data__ = s[o], c.delete(f)) : n[o] = new Da(e, s[o]);
655
655
  for (o = 0; o < u; ++o)
656
656
  (l = t[o]) && c.get(h[o]) === l && (i[o] = l);
657
657
  }
@@ -898,10 +898,10 @@ function L1(e) {
898
898
  this.textContent = t ?? "";
899
899
  };
900
900
  }
901
- function R1(e) {
901
+ function D1(e) {
902
902
  return arguments.length ? this.each(e == null ? A1 : (typeof e == "function" ? L1 : $1)(e)) : this.node().textContent;
903
903
  }
904
- function D1() {
904
+ function R1() {
905
905
  this.innerHTML = "";
906
906
  }
907
907
  function k1(e) {
@@ -916,7 +916,7 @@ function I1(e) {
916
916
  };
917
917
  }
918
918
  function N1(e) {
919
- return arguments.length ? this.each(e == null ? D1 : (typeof e == "function" ? I1 : k1)(e)) : this.node().innerHTML;
919
+ return arguments.length ? this.each(e == null ? R1 : (typeof e == "function" ? I1 : k1)(e)) : this.node().innerHTML;
920
920
  }
921
921
  function P1() {
922
922
  this.nextSibling && this.parentNode.appendChild(this);
@@ -1073,7 +1073,7 @@ Ae.prototype = ws.prototype = {
1073
1073
  style: b1,
1074
1074
  property: S1,
1075
1075
  classed: C1,
1076
- text: R1,
1076
+ text: D1,
1077
1077
  html: N1,
1078
1078
  raise: U1,
1079
1079
  lower: V1,
@@ -1134,7 +1134,7 @@ function cm(e, t) {
1134
1134
  }
1135
1135
  function Ss() {
1136
1136
  }
1137
- var cs = 0.7, Da = 1 / cs, Kr = "\\s*([+-]?\\d+)\\s*", us = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", on = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", cx = /^#([0-9a-f]{3,8})$/, ux = new RegExp(`^rgb\\(${Kr},${Kr},${Kr}\\)$`), hx = new RegExp(`^rgb\\(${on},${on},${on}\\)$`), dx = new RegExp(`^rgba\\(${Kr},${Kr},${Kr},${us}\\)$`), fx = new RegExp(`^rgba\\(${on},${on},${on},${us}\\)$`), px = new RegExp(`^hsl\\(${us},${on},${on}\\)$`), mx = new RegExp(`^hsla\\(${us},${on},${on},${us}\\)$`), gh = {
1137
+ var cs = 0.7, Ra = 1 / cs, Kr = "\\s*([+-]?\\d+)\\s*", us = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", on = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", cx = /^#([0-9a-f]{3,8})$/, ux = new RegExp(`^rgb\\(${Kr},${Kr},${Kr}\\)$`), hx = new RegExp(`^rgb\\(${on},${on},${on}\\)$`), dx = new RegExp(`^rgba\\(${Kr},${Kr},${Kr},${us}\\)$`), fx = new RegExp(`^rgba\\(${on},${on},${on},${us}\\)$`), px = new RegExp(`^hsl\\(${us},${on},${on}\\)$`), mx = new RegExp(`^hsla\\(${us},${on},${on},${us}\\)$`), gh = {
1138
1138
  aliceblue: 15792383,
1139
1139
  antiquewhite: 16444375,
1140
1140
  aqua: 65535,
@@ -1332,7 +1332,7 @@ function ve(e, t, n, r) {
1332
1332
  }
1333
1333
  hu(ve, Xl, cm(Ss, {
1334
1334
  brighter(e) {
1335
- return e = e == null ? Da : Math.pow(Da, e), new ve(this.r * e, this.g * e, this.b * e, this.opacity);
1335
+ return e = e == null ? Ra : Math.pow(Ra, e), new ve(this.r * e, this.g * e, this.b * e, this.opacity);
1336
1336
  },
1337
1337
  darker(e) {
1338
1338
  return e = e == null ? cs : Math.pow(cs, e), new ve(this.r * e, this.g * e, this.b * e, this.opacity);
@@ -1394,7 +1394,7 @@ function Fe(e, t, n, r) {
1394
1394
  }
1395
1395
  hu(Fe, du, cm(Ss, {
1396
1396
  brighter(e) {
1397
- return e = e == null ? Da : Math.pow(Da, e), new Fe(this.h, this.s, this.l * e, this.opacity);
1397
+ return e = e == null ? Ra : Math.pow(Ra, e), new Fe(this.h, this.s, this.l * e, this.opacity);
1398
1398
  },
1399
1399
  darker(e) {
1400
1400
  return e = e == null ? cs : Math.pow(cs, e), new Fe(this.h, this.s, this.l * e, this.opacity);
@@ -1594,7 +1594,7 @@ function mm(e, t, n, r) {
1594
1594
  };
1595
1595
  };
1596
1596
  }
1597
- var Rx = mm($x, "px, ", "px)", "deg)"), Dx = mm(Lx, ", ", ")", ")");
1597
+ var Dx = mm($x, "px, ", "px)", "deg)"), Rx = mm(Lx, ", ", ")", ")");
1598
1598
  function kx(e, t) {
1599
1599
  for (var n = new Array(t), r = 0; r < t; ++r)
1600
1600
  n[r] = e(r / (t - 1));
@@ -1854,7 +1854,7 @@ function Kx(e, t, n) {
1854
1854
  };
1855
1855
  }
1856
1856
  function Qx(e, t) {
1857
- var n = _o(e), r = n === "transform" ? Dx : bm;
1857
+ var n = _o(e), r = n === "transform" ? Rx : bm;
1858
1858
  return this.attrTween(e, typeof t == "function" ? (n.local ? Kx : Zx)(n, r, gu(this, "attr." + e, t)) : t == null ? (n.local ? qx : Wx)(n) : (n.local ? Xx : Yx)(n, r, t));
1859
1859
  }
1860
1860
  function Jx(e, t) {
@@ -2050,7 +2050,7 @@ function Cb(e, t) {
2050
2050
  };
2051
2051
  }
2052
2052
  function Ab(e, t, n) {
2053
- var r = (e += "") == "transform" ? Rx : bm;
2053
+ var r = (e += "") == "transform" ? Dx : bm;
2054
2054
  return t == null ? this.styleTween(e, Ob(e, r)).on("end.style." + e, Em(e)) : typeof t == "function" ? this.styleTween(e, Mb(e, r, gu(this, "style." + e, t))).each(Cb(this._id, e)) : this.styleTween(e, Tb(e, r, t), n).on("end.style." + e, null);
2055
2055
  }
2056
2056
  function $b(e, t, n) {
@@ -2066,7 +2066,7 @@ function Lb(e, t, n) {
2066
2066
  }
2067
2067
  return s._value = t, s;
2068
2068
  }
2069
- function Rb(e, t, n) {
2069
+ function Db(e, t, n) {
2070
2070
  var r = "style." + (e += "");
2071
2071
  if (arguments.length < 2)
2072
2072
  return (r = this.tween(r)) && r._value;
@@ -2076,7 +2076,7 @@ function Rb(e, t, n) {
2076
2076
  throw new Error();
2077
2077
  return this.tween(r, Lb(e, t, n ?? ""));
2078
2078
  }
2079
- function Db(e) {
2079
+ function Rb(e) {
2080
2080
  return function() {
2081
2081
  this.textContent = e;
2082
2082
  };
@@ -2088,7 +2088,7 @@ function kb(e) {
2088
2088
  };
2089
2089
  }
2090
2090
  function Ib(e) {
2091
- return this.tween("text", typeof e == "function" ? kb(gu(this, "text", e)) : Db(e == null ? "" : e + ""));
2091
+ return this.tween("text", typeof e == "function" ? kb(gu(this, "text", e)) : Rb(e == null ? "" : e + ""));
2092
2092
  }
2093
2093
  function Nb(e) {
2094
2094
  return function(t) {
@@ -2167,7 +2167,7 @@ Cn.prototype = {
2167
2167
  attr: Qx,
2168
2168
  attrTween: rb,
2169
2169
  style: Ab,
2170
- styleTween: Rb,
2170
+ styleTween: Db,
2171
2171
  text: Ib,
2172
2172
  textTween: Ub,
2173
2173
  remove: bb,
@@ -2229,12 +2229,12 @@ function qb(e) {
2229
2229
  function sl(e) {
2230
2230
  e.preventDefault(), e.stopImmediatePropagation();
2231
2231
  }
2232
- var Ah = { name: "drag" }, al = { name: "space" }, Rr = { name: "handle" }, Dr = { name: "center" };
2232
+ var Ah = { name: "drag" }, al = { name: "space" }, Dr = { name: "handle" }, Rr = { name: "center" };
2233
2233
  const { abs: $h, max: ae, min: oe } = Math;
2234
2234
  function Lh(e) {
2235
2235
  return [+e[0], +e[1]];
2236
2236
  }
2237
- function Rh(e) {
2237
+ function Dh(e) {
2238
2238
  return [Lh(e[0]), Lh(e[1])];
2239
2239
  }
2240
2240
  var xa = {
@@ -2266,7 +2266,7 @@ var xa = {
2266
2266
  ne: "nesw-resize",
2267
2267
  se: "nwse-resize",
2268
2268
  sw: "nesw-resize"
2269
- }, Dh = {
2269
+ }, Rh = {
2270
2270
  e: "w",
2271
2271
  w: "e",
2272
2272
  nw: "ne",
@@ -2352,10 +2352,10 @@ function tE(e) {
2352
2352
  u(this, arguments).end(x);
2353
2353
  }).tween("brush", function() {
2354
2354
  var x = this, w = x.__brush, _ = u(x, arguments), S = w.selection, A = e.input(typeof y == "function" ? y.apply(this, arguments) : y, w.extent), k = Os(S, A);
2355
- function D(R) {
2356
- w.selection = R === 1 && A === null ? null : k(R), c.call(x), _.brush();
2355
+ function R(D) {
2356
+ w.selection = D === 1 && A === null ? null : k(D), c.call(x), _.brush();
2357
2357
  }
2358
- return S !== null && A !== null ? D : D(1);
2358
+ return S !== null && A !== null ? R : R(1);
2359
2359
  }) : m.each(function() {
2360
2360
  var x = this, w = arguments, _ = x.__brush, S = e.input(typeof y == "function" ? y.apply(x, w) : y, _.extent), A = u(x, w).beforestart();
2361
2361
  ec(x), _.selection = S === null ? null : S, c.call(x), A.start(g).brush(g).end(g);
@@ -2414,9 +2414,9 @@ function tE(e) {
2414
2414
  function h(m) {
2415
2415
  if (o && !m.touches || !n.apply(this, arguments))
2416
2416
  return;
2417
- var y = this, g = m.target.__data__.type, x = (i && m.metaKey ? g = "overlay" : g) === "selection" ? Ah : i && m.altKey ? Dr : Rr, w = e === ol ? null : Yb[g], _ = e === xa ? null : Xb[g], S = ll(y), A = S.extent, k = S.selection, D = A[0][0], R, T, H = A[0][1], P, V, E = A[1][0], L, $, U = A[1][1], B, X, Y = 0, it = 0, et, dt = w && _ && i && m.shiftKey, yt, K, J = Array.from(m.touches || [m], (rt) => {
2418
- const Rt = rt.identifier;
2419
- return rt = vr(rt, y), rt.point0 = rt.slice(), rt.identifier = Rt, rt;
2417
+ var y = this, g = m.target.__data__.type, x = (i && m.metaKey ? g = "overlay" : g) === "selection" ? Ah : i && m.altKey ? Rr : Dr, w = e === ol ? null : Yb[g], _ = e === xa ? null : Xb[g], S = ll(y), A = S.extent, k = S.selection, R = A[0][0], D, T, H = A[0][1], P, V, E = A[1][0], L, $, U = A[1][1], B, X, Y = 0, it = 0, et, dt = w && _ && i && m.shiftKey, yt, K, J = Array.from(m.touches || [m], (rt) => {
2418
+ const Dt = rt.identifier;
2419
+ return rt = vr(rt, y), rt.point0 = rt.slice(), rt.identifier = Dt, rt;
2420
2420
  });
2421
2421
  ec(y);
2422
2422
  var pt = u(y, arguments, !0).beforestart();
@@ -2424,15 +2424,15 @@ function tE(e) {
2424
2424
  k && (et = !0);
2425
2425
  const rt = [J[0], J[1] || J[0]];
2426
2426
  S.selection = k = [[
2427
- R = e === ol ? D : oe(rt[0][0], rt[1][0]),
2427
+ D = e === ol ? R : oe(rt[0][0], rt[1][0]),
2428
2428
  P = e === xa ? H : oe(rt[0][1], rt[1][1])
2429
2429
  ], [
2430
2430
  L = e === ol ? E : ae(rt[0][0], rt[1][0]),
2431
2431
  B = e === xa ? U : ae(rt[0][1], rt[1][1])
2432
2432
  ]], J.length > 1 && Lt(m);
2433
2433
  } else
2434
- R = k[0][0], P = k[0][1], L = k[1][0], B = k[1][1];
2435
- T = R, V = P, $ = L, X = B;
2434
+ D = k[0][0], P = k[0][1], L = k[1][0], B = k[1][1];
2435
+ T = D, V = P, $ = L, X = B;
2436
2436
  var q = I(y).attr("pointer-events", "none"), Q = q.selectAll(".overlay").attr("cursor", gn[g]);
2437
2437
  if (m.touches)
2438
2438
  pt.moved = G, pt.ended = vt;
@@ -2442,36 +2442,36 @@ function tE(e) {
2442
2442
  }
2443
2443
  c.call(y), pt.start(m, x.name);
2444
2444
  function G(rt) {
2445
- for (const Rt of rt.changedTouches || [rt])
2446
- for (const Re of J)
2447
- Re.identifier === Rt.identifier && (Re.cur = vr(Rt, y));
2445
+ for (const Dt of rt.changedTouches || [rt])
2446
+ for (const De of J)
2447
+ De.identifier === Dt.identifier && (De.cur = vr(Dt, y));
2448
2448
  if (dt && !yt && !K && J.length === 1) {
2449
- const Rt = J[0];
2450
- $h(Rt.cur[0] - Rt[0]) > $h(Rt.cur[1] - Rt[1]) ? K = !0 : yt = !0;
2449
+ const Dt = J[0];
2450
+ $h(Dt.cur[0] - Dt[0]) > $h(Dt.cur[1] - Dt[1]) ? K = !0 : yt = !0;
2451
2451
  }
2452
- for (const Rt of J)
2453
- Rt.cur && (Rt[0] = Rt.cur[0], Rt[1] = Rt.cur[1]);
2452
+ for (const Dt of J)
2453
+ Dt.cur && (Dt[0] = Dt.cur[0], Dt[1] = Dt.cur[1]);
2454
2454
  et = !0, sl(rt), Lt(rt);
2455
2455
  }
2456
2456
  function Lt(rt) {
2457
- const Rt = J[0], Re = Rt.point0;
2457
+ const Dt = J[0], De = Dt.point0;
2458
2458
  var me;
2459
- switch (Y = Rt[0] - Re[0], it = Rt[1] - Re[1], x) {
2459
+ switch (Y = Dt[0] - De[0], it = Dt[1] - De[1], x) {
2460
2460
  case al:
2461
2461
  case Ah: {
2462
- w && (Y = ae(D - R, oe(E - L, Y)), T = R + Y, $ = L + Y), _ && (it = ae(H - P, oe(U - B, it)), V = P + it, X = B + it);
2462
+ w && (Y = ae(R - D, oe(E - L, Y)), T = D + Y, $ = L + Y), _ && (it = ae(H - P, oe(U - B, it)), V = P + it, X = B + it);
2463
2463
  break;
2464
2464
  }
2465
- case Rr: {
2466
- J[1] ? (w && (T = ae(D, oe(E, J[0][0])), $ = ae(D, oe(E, J[1][0])), w = 1), _ && (V = ae(H, oe(U, J[0][1])), X = ae(H, oe(U, J[1][1])), _ = 1)) : (w < 0 ? (Y = ae(D - R, oe(E - R, Y)), T = R + Y, $ = L) : w > 0 && (Y = ae(D - L, oe(E - L, Y)), T = R, $ = L + Y), _ < 0 ? (it = ae(H - P, oe(U - P, it)), V = P + it, X = B) : _ > 0 && (it = ae(H - B, oe(U - B, it)), V = P, X = B + it));
2465
+ case Dr: {
2466
+ J[1] ? (w && (T = ae(R, oe(E, J[0][0])), $ = ae(R, oe(E, J[1][0])), w = 1), _ && (V = ae(H, oe(U, J[0][1])), X = ae(H, oe(U, J[1][1])), _ = 1)) : (w < 0 ? (Y = ae(R - D, oe(E - D, Y)), T = D + Y, $ = L) : w > 0 && (Y = ae(R - L, oe(E - L, Y)), T = D, $ = L + Y), _ < 0 ? (it = ae(H - P, oe(U - P, it)), V = P + it, X = B) : _ > 0 && (it = ae(H - B, oe(U - B, it)), V = P, X = B + it));
2467
2467
  break;
2468
2468
  }
2469
- case Dr: {
2470
- w && (T = ae(D, oe(E, R - Y * w)), $ = ae(D, oe(E, L + Y * w))), _ && (V = ae(H, oe(U, P - it * _)), X = ae(H, oe(U, B + it * _)));
2469
+ case Rr: {
2470
+ w && (T = ae(R, oe(E, D - Y * w)), $ = ae(R, oe(E, L + Y * w))), _ && (V = ae(H, oe(U, P - it * _)), X = ae(H, oe(U, B + it * _)));
2471
2471
  break;
2472
2472
  }
2473
2473
  }
2474
- $ < T && (w *= -1, me = R, R = L, L = me, me = T, T = $, $ = me, g in Dh && Q.attr("cursor", gn[g = Dh[g]])), X < V && (_ *= -1, me = P, P = B, B = me, me = V, V = X, X = me, g in kh && Q.attr("cursor", gn[g = kh[g]])), S.selection && (k = S.selection), yt && (T = k[0][0], $ = k[1][0]), K && (V = k[0][1], X = k[1][1]), (k[0][0] !== T || k[0][1] !== V || k[1][0] !== $ || k[1][1] !== X) && (S.selection = [[T, V], [$, X]], c.call(y), pt.brush(rt, x.name));
2474
+ $ < T && (w *= -1, me = D, D = L, L = me, me = T, T = $, $ = me, g in Rh && Q.attr("cursor", gn[g = Rh[g]])), X < V && (_ *= -1, me = P, P = B, B = me, me = V, V = X, X = me, g in kh && Q.attr("cursor", gn[g = kh[g]])), S.selection && (k = S.selection), yt && (T = k[0][0], $ = k[1][0]), K && (V = k[0][1], X = k[1][1]), (k[0][0] !== T || k[0][1] !== V || k[1][0] !== $ || k[1][1] !== X) && (S.selection = [[T, V], [$, X]], c.call(y), pt.brush(rt, x.name));
2475
2475
  }
2476
2476
  function vt(rt) {
2477
2477
  if (qb(rt), rt.touches) {
@@ -2491,11 +2491,11 @@ function tE(e) {
2491
2491
  break;
2492
2492
  }
2493
2493
  case 18: {
2494
- x === Rr && (w && (L = $ - Y * w, R = T + Y * w), _ && (B = X - it * _, P = V + it * _), x = Dr, Lt(rt));
2494
+ x === Dr && (w && (L = $ - Y * w, D = T + Y * w), _ && (B = X - it * _, P = V + it * _), x = Rr, Lt(rt));
2495
2495
  break;
2496
2496
  }
2497
2497
  case 32: {
2498
- (x === Rr || x === Dr) && (w < 0 ? L = $ - Y : w > 0 && (R = T - Y), _ < 0 ? B = X - it : _ > 0 && (P = V - it), x = al, Q.attr("cursor", gn.selection), Lt(rt));
2498
+ (x === Dr || x === Rr) && (w < 0 ? L = $ - Y : w > 0 && (D = T - Y), _ < 0 ? B = X - it : _ > 0 && (P = V - it), x = al, Q.attr("cursor", gn.selection), Lt(rt));
2499
2499
  break;
2500
2500
  }
2501
2501
  default:
@@ -2510,11 +2510,11 @@ function tE(e) {
2510
2510
  break;
2511
2511
  }
2512
2512
  case 18: {
2513
- x === Dr && (w < 0 ? L = $ : w > 0 && (R = T), _ < 0 ? B = X : _ > 0 && (P = V), x = Rr, Lt(rt));
2513
+ x === Rr && (w < 0 ? L = $ : w > 0 && (D = T), _ < 0 ? B = X : _ > 0 && (P = V), x = Dr, Lt(rt));
2514
2514
  break;
2515
2515
  }
2516
2516
  case 32: {
2517
- x === al && (rt.altKey ? (w && (L = $ - Y * w, R = T + Y * w), _ && (B = X - it * _, P = V + it * _), x = Dr) : (w < 0 ? L = $ : w > 0 && (R = T), _ < 0 ? B = X : _ > 0 && (P = V), x = Rr), Q.attr("cursor", gn[g]), Lt(rt));
2517
+ x === al && (rt.altKey ? (w && (L = $ - Y * w, D = T + Y * w), _ && (B = X - it * _, P = V + it * _), x = Rr) : (w < 0 ? L = $ : w > 0 && (D = T), _ < 0 ? B = X : _ > 0 && (P = V), x = Dr), Q.attr("cursor", gn[g]), Lt(rt));
2518
2518
  break;
2519
2519
  }
2520
2520
  default:
@@ -2531,10 +2531,10 @@ function tE(e) {
2531
2531
  }
2532
2532
  function v() {
2533
2533
  var m = this.__brush || { selection: null };
2534
- return m.extent = Rh(t.apply(this, arguments)), m.dim = e, m;
2534
+ return m.extent = Dh(t.apply(this, arguments)), m.dim = e, m;
2535
2535
  }
2536
2536
  return l.extent = function(m) {
2537
- return arguments.length ? (t = typeof m == "function" ? m : il(Rh(m)), l) : t;
2537
+ return arguments.length ? (t = typeof m == "function" ? m : il(Dh(m)), l) : t;
2538
2538
  }, l.filter = function(m) {
2539
2539
  return arguments.length ? (n = typeof m == "function" ? m : il(!!m), l) : n;
2540
2540
  }, l.touchable = function(m) {
@@ -2730,16 +2730,16 @@ function cE(e) {
2730
2730
  d = ds(d);
2731
2731
  var h = d.fill, f = d.align, p = d.sign, v = d.symbol, m = d.zero, y = d.width, g = d.comma, x = d.precision, w = d.trim, _ = d.type;
2732
2732
  _ === "n" ? (g = !0, _ = "g") : Nh[_] || (x === void 0 && (x = 12), w = !0, _ = "g"), (m || h === "0" && f === "=") && (m = !0, h = "0", f = "=");
2733
- var S = v === "$" ? n : v === "#" && /[boxX]/.test(_) ? "0" + _.toLowerCase() : "", A = v === "$" ? r : /[%p]/.test(_) ? a : "", k = Nh[_], D = /[defgprs%]/.test(_);
2733
+ var S = v === "$" ? n : v === "#" && /[boxX]/.test(_) ? "0" + _.toLowerCase() : "", A = v === "$" ? r : /[%p]/.test(_) ? a : "", k = Nh[_], R = /[defgprs%]/.test(_);
2734
2734
  x = x === void 0 ? 6 : /[gprs]/.test(_) ? Math.max(1, Math.min(21, x)) : Math.max(0, Math.min(20, x));
2735
- function R(T) {
2735
+ function D(T) {
2736
2736
  var H = S, P = A, V, E, L;
2737
2737
  if (_ === "c")
2738
2738
  P = k(T) + P, T = "";
2739
2739
  else {
2740
2740
  T = +T;
2741
2741
  var $ = T < 0 || 1 / T < 0;
2742
- if (T = isNaN(T) ? l : k(Math.abs(T), x), w && (T = oE(T)), $ && +T == 0 && p !== "+" && ($ = !1), H = ($ ? p === "(" ? p : o : p === "-" || p === "(" ? "" : p) + H, P = (_ === "s" ? Bh[8 + Mm / 3] : "") + P + ($ && p === "(" ? ")" : ""), D) {
2742
+ if (T = isNaN(T) ? l : k(Math.abs(T), x), w && (T = oE(T)), $ && +T == 0 && p !== "+" && ($ = !1), H = ($ ? p === "(" ? p : o : p === "-" || p === "(" ? "" : p) + H, P = (_ === "s" ? Bh[8 + Mm / 3] : "") + P + ($ && p === "(" ? ")" : ""), R) {
2743
2743
  for (V = -1, E = T.length; ++V < E; )
2744
2744
  if (L = T.charCodeAt(V), 48 > L || L > 57) {
2745
2745
  P = (L === 46 ? i + T.slice(V + 1) : T.slice(V)) + P, T = T.slice(0, V);
@@ -2765,9 +2765,9 @@ function cE(e) {
2765
2765
  }
2766
2766
  return s(T);
2767
2767
  }
2768
- return R.toString = function() {
2768
+ return D.toString = function() {
2769
2769
  return d + "";
2770
- }, R;
2770
+ }, D;
2771
2771
  }
2772
2772
  function u(d, h) {
2773
2773
  var f = c((d = ds(d), d.type = "f", d)), p = Math.max(-8, Math.min(8, Math.floor(ri(h) / 3))) * 3, v = Math.pow(10, -p), m = Bh[8 + p / 3];
@@ -2798,7 +2798,7 @@ function dE(e, t) {
2798
2798
  function fE(e, t) {
2799
2799
  return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, ri(t) - ri(e)) + 1;
2800
2800
  }
2801
- var At = 1e-6, Am = 1e-12, bt = Math.PI, ye = bt / 2, Vh = bt / 4, $e = bt * 2, he = 180 / bt, Xt = bt / 180, $t = Math.abs, $m = Math.atan, xr = Math.atan2, Dt = Math.cos, pE = Math.exp, mE = Math.log, Tt = Math.sin, Wn = Math.sign || function(e) {
2801
+ var At = 1e-6, Am = 1e-12, bt = Math.PI, ye = bt / 2, Vh = bt / 4, $e = bt * 2, he = 180 / bt, Xt = bt / 180, $t = Math.abs, $m = Math.atan, xr = Math.atan2, Rt = Math.cos, pE = Math.exp, mE = Math.log, Tt = Math.sin, Wn = Math.sign || function(e) {
2802
2802
  return e > 0 ? 1 : e < 0 ? -1 : 0;
2803
2803
  }, Ye = Math.sqrt, gE = Math.tan;
2804
2804
  function vE(e) {
@@ -2869,8 +2869,8 @@ function sc(e) {
2869
2869
  return [xr(e[1], e[0]), An(e[2])];
2870
2870
  }
2871
2871
  function ii(e) {
2872
- var t = e[0], n = e[1], r = Dt(n);
2873
- return [r * Dt(t), r * Tt(t), Tt(n)];
2872
+ var t = e[0], n = e[1], r = Rt(n);
2873
+ return [r * Rt(t), r * Tt(t), Tt(n)];
2874
2874
  }
2875
2875
  function Xs(e, t) {
2876
2876
  return e[0] * t[0] + e[1] * t[1] + e[2] * t[2];
@@ -2913,16 +2913,16 @@ function jh(e) {
2913
2913
  return t.invert = Gh(-e), t;
2914
2914
  }
2915
2915
  function Wh(e, t) {
2916
- var n = Dt(e), r = Tt(e), i = Dt(t), s = Tt(t);
2916
+ var n = Rt(e), r = Tt(e), i = Rt(t), s = Tt(t);
2917
2917
  function a(o, l) {
2918
- var c = Dt(l), u = Dt(o) * c, d = Tt(o) * c, h = Tt(l), f = h * n + u * r;
2918
+ var c = Rt(l), u = Rt(o) * c, d = Tt(o) * c, h = Tt(l), f = h * n + u * r;
2919
2919
  return [
2920
2920
  xr(d * i - f * s, u * n - h * r),
2921
2921
  An(f * i + d * s)
2922
2922
  ];
2923
2923
  }
2924
2924
  return a.invert = function(o, l) {
2925
- var c = Dt(l), u = Dt(o) * c, d = Tt(o) * c, h = Tt(l), f = h * i - d * s;
2925
+ var c = Rt(l), u = Rt(o) * c, d = Tt(o) * c, h = Tt(l), f = h * i - d * s;
2926
2926
  return [
2927
2927
  xr(d * i + h * s, u * n + f * r),
2928
2928
  An(f * n - u * r)
@@ -2940,10 +2940,10 @@ function yE(e) {
2940
2940
  }
2941
2941
  function xE(e, t, n, r, i, s) {
2942
2942
  if (n) {
2943
- var a = Dt(t), o = Tt(t), l = r * n;
2943
+ var a = Rt(t), o = Tt(t), l = r * n;
2944
2944
  i == null ? (i = t + r * $e, s = t - l / 2) : (i = qh(a, i), s = qh(a, s), (r > 0 ? i < s : i > s) && (i += r * $e));
2945
2945
  for (var c, u = i; r > 0 ? u > s : u < s; u -= l)
2946
- c = sc([a, -o * Dt(u), -o * Tt(u)]), e.point(c[0], c[1]);
2946
+ c = sc([a, -o * Rt(u), -o * Tt(u)]), e.point(c[0], c[1]);
2947
2947
  }
2948
2948
  }
2949
2949
  function qh(e, t) {
@@ -2951,7 +2951,7 @@ function qh(e, t) {
2951
2951
  var n = vE(-t[1]);
2952
2952
  return ((-t[2] < 0 ? -n : n) + $e - At) % $e;
2953
2953
  }
2954
- function Rm() {
2954
+ function Dm() {
2955
2955
  var e = [], t;
2956
2956
  return {
2957
2957
  point: function(n, r, i) {
@@ -2976,7 +2976,7 @@ function ba(e, t) {
2976
2976
  function Ks(e, t, n, r) {
2977
2977
  this.x = e, this.z = t, this.o = n, this.e = r, this.v = !1, this.n = this.p = null;
2978
2978
  }
2979
- function Dm(e, t, n, r, i) {
2979
+ function Rm(e, t, n, r, i) {
2980
2980
  var s = [], a = [], o, l;
2981
2981
  if (e.forEach(function(p) {
2982
2982
  if (!((v = p.length - 1) <= 0)) {
@@ -3033,13 +3033,13 @@ function ul(e) {
3033
3033
  return $t(e[0]) <= bt ? e[0] : Wn(e[0]) * (($t(e[0]) + bt) % $e - bt);
3034
3034
  }
3035
3035
  function bE(e, t) {
3036
- var n = ul(t), r = t[1], i = Tt(r), s = [Tt(n), -Dt(n), 0], a = 0, o = 0, l = new mr();
3036
+ var n = ul(t), r = t[1], i = Tt(r), s = [Tt(n), -Rt(n), 0], a = 0, o = 0, l = new mr();
3037
3037
  i === 1 ? r = ye + At : i === -1 && (r = -ye - At);
3038
3038
  for (var c = 0, u = e.length; c < u; ++c)
3039
3039
  if (h = (d = e[c]).length)
3040
- for (var d, h, f = d[h - 1], p = ul(f), v = f[1] / 2 + Vh, m = Tt(v), y = Dt(v), g = 0; g < h; ++g, p = w, m = S, y = A, f = x) {
3041
- var x = d[g], w = ul(x), _ = x[1] / 2 + Vh, S = Tt(_), A = Dt(_), k = w - p, D = k >= 0 ? 1 : -1, R = D * k, T = R > bt, H = m * S;
3042
- if (l.add(xr(H * D * Tt(R), y * A + H * Dt(R))), a += T ? k + D * $e : k, T ^ p >= n ^ w >= n) {
3040
+ for (var d, h, f = d[h - 1], p = ul(f), v = f[1] / 2 + Vh, m = Tt(v), y = Rt(v), g = 0; g < h; ++g, p = w, m = S, y = A, f = x) {
3041
+ var x = d[g], w = ul(x), _ = x[1] / 2 + Vh, S = Tt(_), A = Rt(_), k = w - p, R = k >= 0 ? 1 : -1, D = R * k, T = D > bt, H = m * S;
3042
+ if (l.add(xr(H * R * Tt(D), y * A + H * Rt(D))), a += T ? k + R * $e : k, T ^ p >= n ^ w >= n) {
3043
3043
  var P = Fa(ii(f), ii(x));
3044
3044
  ac(P);
3045
3045
  var V = Fa(s, P);
@@ -3052,7 +3052,7 @@ function bE(e, t) {
3052
3052
  }
3053
3053
  function km(e, t, n, r) {
3054
3054
  return function(i) {
3055
- var s = t(i), a = Rm(), o = t(a), l = !1, c, u, d, h = {
3055
+ var s = t(i), a = Dm(), o = t(a), l = !1, c, u, d, h = {
3056
3056
  point: f,
3057
3057
  lineStart: v,
3058
3058
  lineEnd: m,
@@ -3062,7 +3062,7 @@ function km(e, t, n, r) {
3062
3062
  polygonEnd: function() {
3063
3063
  h.point = f, h.lineStart = v, h.lineEnd = m, u = Xp(u);
3064
3064
  var w = bE(c, r);
3065
- u.length ? (l || (i.polygonStart(), l = !0), Dm(u, _E, w, n, i)) : w && (l || (i.polygonStart(), l = !0), i.lineStart(), n(null, null, 1, i), i.lineEnd()), l && (i.polygonEnd(), l = !1), u = c = null;
3065
+ u.length ? (l || (i.polygonStart(), l = !0), Rm(u, _E, w, n, i)) : w && (l || (i.polygonStart(), l = !0), i.lineStart(), n(null, null, 1, i), i.lineEnd()), l && (i.polygonEnd(), l = !1), u = c = null;
3066
3066
  },
3067
3067
  sphere: function() {
3068
3068
  i.polygonStart(), i.lineStart(), n(null, null, 1, i), i.lineEnd(), i.polygonEnd();
@@ -3088,12 +3088,12 @@ function km(e, t, n, r) {
3088
3088
  }
3089
3089
  function x() {
3090
3090
  y(d[0][0], d[0][1]), o.lineEnd();
3091
- var w = o.clean(), _ = a.result(), S, A = _.length, k, D, R;
3091
+ var w = o.clean(), _ = a.result(), S, A = _.length, k, R, D;
3092
3092
  if (d.pop(), c.push(d), d = null, !!A) {
3093
3093
  if (w & 1) {
3094
- if (D = _[0], (k = D.length - 1) > 0) {
3094
+ if (R = _[0], (k = R.length - 1) > 0) {
3095
3095
  for (l || (i.polygonStart(), l = !0), i.lineStart(), S = 0; S < k; ++S)
3096
- i.point((R = D[S])[0], R[1]);
3096
+ i.point((D = R[S])[0], D[1]);
3097
3097
  i.lineEnd();
3098
3098
  }
3099
3099
  return;
@@ -3138,7 +3138,7 @@ function wE(e) {
3138
3138
  }
3139
3139
  function SE(e, t, n, r) {
3140
3140
  var i, s, a = Tt(e - n);
3141
- return $t(a) > At ? $m((Tt(t) * (s = Dt(r)) * Tt(n) - Tt(r) * (i = Dt(t)) * Tt(e)) / (i * s * a)) : (t + r) / 2;
3141
+ return $t(a) > At ? $m((Tt(t) * (s = Rt(r)) * Tt(n) - Tt(r) * (i = Rt(t)) * Tt(e)) / (i * s * a)) : (t + r) / 2;
3142
3142
  }
3143
3143
  function OE(e, t, n, r) {
3144
3144
  var i;
@@ -3151,12 +3151,12 @@ function OE(e, t, n, r) {
3151
3151
  r.point(t[0], t[1]);
3152
3152
  }
3153
3153
  function TE(e) {
3154
- var t = Dt(e), n = 6 * Xt, r = t > 0, i = $t(t) > At;
3154
+ var t = Rt(e), n = 6 * Xt, r = t > 0, i = $t(t) > At;
3155
3155
  function s(u, d, h, f) {
3156
3156
  xE(f, e, n, h, u, d);
3157
3157
  }
3158
3158
  function a(u, d) {
3159
- return Dt(u) * Dt(d) > t;
3159
+ return Rt(u) * Rt(d) > t;
3160
3160
  }
3161
3161
  function o(u) {
3162
3162
  var d, h, f, p, v;
@@ -3190,16 +3190,16 @@ function TE(e) {
3190
3190
  return !h && u;
3191
3191
  var w = t * y / x, _ = -t * g / x, S = Fa(v, m), A = Zs(v, w), k = Zs(m, _);
3192
3192
  cl(A, k);
3193
- var D = S, R = Xs(A, D), T = Xs(D, D), H = R * R - T * (Xs(A, A) - 1);
3193
+ var R = S, D = Xs(A, R), T = Xs(R, R), H = D * D - T * (Xs(A, A) - 1);
3194
3194
  if (!(H < 0)) {
3195
- var P = Ye(H), V = Zs(D, (-R - P) / T);
3195
+ var P = Ye(H), V = Zs(R, (-D - P) / T);
3196
3196
  if (cl(V, A), V = sc(V), !h)
3197
3197
  return V;
3198
3198
  var E = u[0], L = d[0], $ = u[1], U = d[1], B;
3199
3199
  L < E && (B = E, E = L, L = B);
3200
3200
  var X = L - E, Y = $t(X - bt) < At, it = Y || X < At;
3201
3201
  if (!Y && U < $ && (B = $, $ = U, U = B), it ? Y ? $ + U > 0 ^ V[1] < ($t(V[0] - E) < At ? $ : U) : $ <= V[1] && V[1] <= U : X > bt ^ (E <= V[0] && V[0] <= L)) {
3202
- var et = Zs(D, (-R + P) / T);
3202
+ var et = Zs(R, (-D + P) / T);
3203
3203
  return cl(et, A), [V, sc(et)];
3204
3204
  }
3205
3205
  }
@@ -3283,28 +3283,28 @@ function CE(e, t, n, r) {
3283
3283
  return d !== h ? d - h : d === 0 ? u[1] - c[1] : d === 1 ? c[0] - u[0] : d === 2 ? c[1] - u[1] : u[0] - c[0];
3284
3284
  }
3285
3285
  return function(c) {
3286
- var u = c, d = Rm(), h, f, p, v, m, y, g, x, w, _, S, A = {
3286
+ var u = c, d = Dm(), h, f, p, v, m, y, g, x, w, _, S, A = {
3287
3287
  point: k,
3288
3288
  lineStart: H,
3289
3289
  lineEnd: P,
3290
- polygonStart: R,
3290
+ polygonStart: D,
3291
3291
  polygonEnd: T
3292
3292
  };
3293
3293
  function k(E, L) {
3294
3294
  i(E, L) && u.point(E, L);
3295
3295
  }
3296
- function D() {
3296
+ function R() {
3297
3297
  for (var E = 0, L = 0, $ = f.length; L < $; ++L)
3298
3298
  for (var U = f[L], B = 1, X = U.length, Y = U[0], it, et, dt = Y[0], yt = Y[1]; B < X; ++B)
3299
3299
  it = dt, et = yt, Y = U[B], dt = Y[0], yt = Y[1], et <= r ? yt > r && (dt - it) * (r - et) > (yt - et) * (e - it) && ++E : yt <= r && (dt - it) * (r - et) < (yt - et) * (e - it) && --E;
3300
3300
  return E;
3301
3301
  }
3302
- function R() {
3302
+ function D() {
3303
3303
  u = d, h = [], f = [], S = !0;
3304
3304
  }
3305
3305
  function T() {
3306
- var E = D(), L = S && E, $ = (h = Xp(h)).length;
3307
- (L || $) && (c.polygonStart(), L && (c.lineStart(), s(null, null, 1, c), c.lineEnd()), $ && Dm(h, o, E, s, c), c.polygonEnd()), u = c, h = f = p = null;
3306
+ var E = R(), L = S && E, $ = (h = Xp(h)).length;
3307
+ (L || $) && (c.polygonStart(), L && (c.lineStart(), s(null, null, 1, c), c.lineEnd()), $ && Rm(h, o, E, s, c), c.polygonEnd()), u = c, h = f = p = null;
3308
3308
  }
3309
3309
  function H() {
3310
3310
  A.point = V, f && f.push(p = []), _ = !0, w = !1, g = x = NaN;
@@ -3356,8 +3356,8 @@ function LE() {
3356
3356
  Pm(Im, Nm);
3357
3357
  }
3358
3358
  const Zh = jn;
3359
- var si = 1 / 0, za = si, fs = -si, Ga = fs, RE = {
3360
- point: DE,
3359
+ var si = 1 / 0, za = si, fs = -si, Ga = fs, DE = {
3360
+ point: RE,
3361
3361
  lineStart: Ie,
3362
3362
  lineEnd: Ie,
3363
3363
  polygonStart: Ie,
@@ -3367,10 +3367,10 @@ var si = 1 / 0, za = si, fs = -si, Ga = fs, RE = {
3367
3367
  return fs = Ga = -(za = si = 1 / 0), e;
3368
3368
  }
3369
3369
  };
3370
- function DE(e, t) {
3370
+ function RE(e, t) {
3371
3371
  e < si && (si = e), e > fs && (fs = e), t < za && (za = t), t > Ga && (Ga = t);
3372
3372
  }
3373
- const ja = RE;
3373
+ const ja = DE;
3374
3374
  var fc = 0, pc = 0, zi = 0, Wa = 0, qa = 0, jr = 0, mc = 0, gc = 0, Gi = 0, Um, Bm, sn, an, ze = {
3375
3375
  point: br,
3376
3376
  lineStart: Kh,
@@ -3637,7 +3637,7 @@ function GE(e, t, n) {
3637
3637
  e.scale(150 * s).translate([a, o]);
3638
3638
  }, n);
3639
3639
  }
3640
- var sd = 16, jE = Dt(30 * Xt);
3640
+ var sd = 16, jE = Rt(30 * Xt);
3641
3641
  function ad(e, t) {
3642
3642
  return +t ? qE(e, t) : WE(e);
3643
3643
  }
@@ -3652,8 +3652,8 @@ function qE(e, t) {
3652
3652
  function n(r, i, s, a, o, l, c, u, d, h, f, p, v, m) {
3653
3653
  var y = c - r, g = u - i, x = y * y + g * g;
3654
3654
  if (x > 4 * t && v--) {
3655
- var w = a + h, _ = o + f, S = l + p, A = Ye(w * w + _ * _ + S * S), k = An(S /= A), D = $t($t(S) - 1) < At || $t(s - d) < At ? (s + d) / 2 : xr(_, w), R = e(D, k), T = R[0], H = R[1], P = T - r, V = H - i, E = g * P - y * V;
3656
- (E * E / x > t || $t((y * P + g * V) / x - 0.5) > 0.3 || a * h + o * f + l * p < jE) && (n(r, i, s, a, o, l, T, H, D, w /= A, _ /= A, S, v, m), m.point(T, H), n(T, H, D, w, _, S, c, u, d, h, f, p, v, m));
3655
+ var w = a + h, _ = o + f, S = l + p, A = Ye(w * w + _ * _ + S * S), k = An(S /= A), R = $t($t(S) - 1) < At || $t(s - d) < At ? (s + d) / 2 : xr(_, w), D = e(R, k), T = D[0], H = D[1], P = T - r, V = H - i, E = g * P - y * V;
3656
+ (E * E / x > t || $t((y * P + g * V) / x - 0.5) > 0.3 || a * h + o * f + l * p < jE) && (n(r, i, s, a, o, l, T, H, R, w /= A, _ /= A, S, v, m), m.point(T, H), n(T, H, R, w, _, S, c, u, d, h, f, p, v, m));
3657
3657
  }
3658
3658
  }
3659
3659
  return function(r) {
@@ -3668,15 +3668,15 @@ function qE(e, t) {
3668
3668
  r.polygonEnd(), m.lineStart = g;
3669
3669
  }
3670
3670
  };
3671
- function y(k, D) {
3672
- k = e(k, D), r.point(k[0], k[1]);
3671
+ function y(k, R) {
3672
+ k = e(k, R), r.point(k[0], k[1]);
3673
3673
  }
3674
3674
  function g() {
3675
3675
  d = NaN, m.point = x, r.lineStart();
3676
3676
  }
3677
- function x(k, D) {
3678
- var R = ii([k, D]), T = e(k, D);
3679
- n(d, h, u, f, p, v, d = T[0], h = T[1], u = k, f = R[0], p = R[1], v = R[2], sd, r), r.point(d, h);
3677
+ function x(k, R) {
3678
+ var D = ii([k, R]), T = e(k, R);
3679
+ n(d, h, u, f, p, v, d = T[0], h = T[1], u = k, f = D[0], p = D[1], v = D[2], sd, r), r.point(d, h);
3680
3680
  }
3681
3681
  function w() {
3682
3682
  m.point = y, r.lineEnd();
@@ -3684,8 +3684,8 @@ function qE(e, t) {
3684
3684
  function _() {
3685
3685
  g(), m.point = S, m.lineEnd = A;
3686
3686
  }
3687
- function S(k, D) {
3688
- x(i = k, D), s = d, a = h, o = f, l = p, c = v, m.point = x;
3687
+ function S(k, R) {
3688
+ x(i = k, R), s = d, a = h, o = f, l = p, c = v, m.point = x;
3689
3689
  }
3690
3690
  function A() {
3691
3691
  n(d, h, u, f, p, v, s, a, i, o, l, c, sd, r), m.lineEnd = w, w();
@@ -3717,7 +3717,7 @@ function ZE(e, t, n, r, i) {
3717
3717
  function od(e, t, n, r, i, s) {
3718
3718
  if (!s)
3719
3719
  return ZE(e, t, n, r, i);
3720
- var a = Dt(s), o = Tt(s), l = a * e, c = o * e, u = a / e, d = o / e, h = (o * n - a * t) / e, f = (o * t + a * n) / e;
3720
+ var a = Rt(s), o = Tt(s), l = a * e, c = o * e, u = a / e, d = o / e, h = (o * n - a * t) / e, f = (o * t + a * n) / e;
3721
3721
  function p(v, m) {
3722
3722
  return v *= r, m *= i, [l * v - c * m + t, n - c * v - l * m];
3723
3723
  }
@@ -3731,7 +3731,7 @@ function Oo(e) {
3731
3731
  })();
3732
3732
  }
3733
3733
  function qm(e) {
3734
- var t, n = 150, r = 480, i = 250, s = 0, a = 0, o = 0, l = 0, c = 0, u, d = 0, h = 1, f = 1, p = null, v = Xh, m = null, y, g, x, w = cc, _ = 0.5, S, A, k, D, R;
3734
+ var t, n = 150, r = 480, i = 250, s = 0, a = 0, o = 0, l = 0, c = 0, u, d = 0, h = 1, f = 1, p = null, v = Xh, m = null, y, g, x, w = cc, _ = 0.5, S, A, k, R, D;
3735
3735
  function T(E) {
3736
3736
  return k(E[0] * Xt, E[1] * Xt);
3737
3737
  }
@@ -3739,7 +3739,7 @@ function qm(e) {
3739
3739
  return E = k.invert(E[0], E[1]), E && [E[0] * he, E[1] * he];
3740
3740
  }
3741
3741
  T.stream = function(E) {
3742
- return D && R === E ? D : D = YE(XE(u)(v(S(w(R = E)))));
3742
+ return R && D === E ? R : R = YE(XE(u)(v(S(w(D = E)))));
3743
3743
  }, T.preclip = function(E) {
3744
3744
  return arguments.length ? (v = E, p = void 0, V()) : v;
3745
3745
  }, T.postclip = function(E) {
@@ -3778,7 +3778,7 @@ function qm(e) {
3778
3778
  return u = Lm(o, l, c), A = oc(t, L), k = oc(u, A), S = ad(A, _), V();
3779
3779
  }
3780
3780
  function V() {
3781
- return D = R = null, T;
3781
+ return R = D = null, T;
3782
3782
  }
3783
3783
  return function() {
3784
3784
  return t = e.apply(this, arguments), T.invert = t.invert && H, P();
@@ -3791,7 +3791,7 @@ function Ym(e) {
3791
3791
  }, i;
3792
3792
  }
3793
3793
  function KE(e) {
3794
- var t = Dt(e);
3794
+ var t = Rt(e);
3795
3795
  function n(r, i) {
3796
3796
  return [r * t, Tt(i) / t];
3797
3797
  }
@@ -3806,7 +3806,7 @@ function QE(e, t) {
3806
3806
  var i = 1 + n * (2 * r - n), s = Ye(i) / r;
3807
3807
  function a(o, l) {
3808
3808
  var c = Ye(i - 2 * r * Tt(l)) / r;
3809
- return [c * Tt(o *= r), s - c * Dt(o)];
3809
+ return [c * Tt(o *= r), s - c * Rt(o)];
3810
3810
  }
3811
3811
  return a.invert = function(o, l) {
3812
3812
  var c = s - l, u = xr(o, $t(c)) * Wn(c);
@@ -3853,12 +3853,12 @@ function n_() {
3853
3853
  return Oo(Za).scale(152.63);
3854
3854
  }
3855
3855
  function r_(e, t) {
3856
- var n = Dt(e), r = e === t ? Tt(e) : (n - Dt(t)) / (t - e), i = n / r + e;
3856
+ var n = Rt(e), r = e === t ? Tt(e) : (n - Rt(t)) / (t - e), i = n / r + e;
3857
3857
  if ($t(r) < At)
3858
3858
  return Za;
3859
3859
  function s(a, o) {
3860
3860
  var l = i - o, c = r * a;
3861
- return [l * Tt(c), i - l * Dt(c)];
3861
+ return [l * Tt(c), i - l * Rt(c)];
3862
3862
  }
3863
3863
  return s.invert = function(a, o) {
3864
3864
  var l = i - o, c = xr(a, $t(l)) * Wn(l);
@@ -3872,7 +3872,7 @@ var es = 1.340264, ns = -0.081106, rs = 893e-6, is = 3796e-6, Ka = Ye(3) / 2, s_
3872
3872
  function Zm(e, t) {
3873
3873
  var n = An(Ka * Tt(t)), r = n * n, i = r * r * r;
3874
3874
  return [
3875
- e * Dt(n) / (Ka * (es + 3 * ns * r + i * (7 * rs + 9 * is * r))),
3875
+ e * Rt(n) / (Ka * (es + 3 * ns * r + i * (7 * rs + 9 * is * r))),
3876
3876
  n * (es + ns * r + i * (rs + is * r))
3877
3877
  ];
3878
3878
  }
@@ -3880,7 +3880,7 @@ Zm.invert = function(e, t) {
3880
3880
  for (var n = t, r = n * n, i = r * r * r, s = 0, a, o, l; s < s_ && (o = n * (es + ns * r + i * (rs + is * r)) - t, l = es + 3 * ns * r + i * (7 * rs + 9 * is * r), n -= a = o / l, r = n * n, i = r * r * r, !($t(a) < Am)); ++s)
3881
3881
  ;
3882
3882
  return [
3883
- Ka * e * (es + 3 * ns * r + i * (7 * rs + 9 * is * r)) / Dt(n),
3883
+ Ka * e * (es + 3 * ns * r + i * (7 * rs + 9 * is * r)) / Rt(n),
3884
3884
  An(Tt(n) / Ka)
3885
3885
  ];
3886
3886
  };
@@ -4053,7 +4053,7 @@ function* $_() {
4053
4053
  while (n.length);
4054
4054
  }
4055
4055
  function Ts(e, t) {
4056
- e instanceof Map ? (e = [void 0, e], t === void 0 && (t = D_)) : t === void 0 && (t = R_);
4056
+ e instanceof Map ? (e = [void 0, e], t === void 0 && (t = R_)) : t === void 0 && (t = D_);
4057
4057
  for (var n = new ps(e), r, i = [n], s, a, o, l; r = i.pop(); )
4058
4058
  if ((a = t(r.data)) && (l = (a = Array.from(a)).length))
4059
4059
  for (r.children = a, o = l - 1; o >= 0; --o)
@@ -4063,10 +4063,10 @@ function Ts(e, t) {
4063
4063
  function L_() {
4064
4064
  return Ts(this).eachBefore(k_);
4065
4065
  }
4066
- function R_(e) {
4066
+ function D_(e) {
4067
4067
  return e.children;
4068
4068
  }
4069
- function D_(e) {
4069
+ function R_(e) {
4070
4070
  return Array.isArray(e) ? e[1] : null;
4071
4071
  }
4072
4072
  function k_(e) {
@@ -4186,10 +4186,10 @@ function qi(e, t) {
4186
4186
  };
4187
4187
  }
4188
4188
  function tg(e, t, n) {
4189
- 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, f = r - c, p = i - o, v = i - u, m = l - s, y = d - s, g = r * r + i * i - s * s, x = g - a * a - o * o + l * l, w = g - c * c - u * u + d * d, _ = f * p - h * v, S = (p * w - v * x) / (_ * 2) - r, A = (v * m - p * y) / _, k = (f * x - h * w) / (_ * 2) - i, D = (h * y - f * m) / _, R = A * A + D * D - 1, T = 2 * (s + S * A + k * D), H = S * S + k * k - s * s, P = -(Math.abs(R) > 1e-6 ? (T + Math.sqrt(T * T - 4 * R * H)) / (2 * R) : H / T);
4189
+ 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, f = r - c, p = i - o, v = i - u, m = l - s, y = d - s, g = r * r + i * i - s * s, x = g - a * a - o * o + l * l, w = g - c * c - u * u + d * d, _ = f * p - h * v, S = (p * w - v * x) / (_ * 2) - r, A = (v * m - p * y) / _, k = (f * x - h * w) / (_ * 2) - i, R = (h * y - f * m) / _, D = A * A + R * R - 1, T = 2 * (s + S * A + k * R), H = S * S + k * k - s * s, P = -(Math.abs(D) > 1e-6 ? (T + Math.sqrt(T * T - 4 * D * H)) / (2 * D) : H / T);
4190
4190
  return {
4191
4191
  x: r + S + A * P,
4192
- y: i + k + D * P,
4192
+ y: i + k + R * P,
4193
4193
  r: P
4194
4194
  };
4195
4195
  }
@@ -4905,7 +4905,7 @@ Er.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : Jt((t) => {
4905
4905
  t.setUTCFullYear(t.getUTCFullYear() + n * e);
4906
4906
  });
4907
4907
  Er.range;
4908
- function Rw(e, t, n, r, i, s) {
4908
+ function Dw(e, t, n, r, i, s) {
4909
4909
  const a = [
4910
4910
  [qr, 1, wn],
4911
4911
  [qr, 5, 5 * wn],
@@ -4943,7 +4943,7 @@ function Rw(e, t, n, r, i, s) {
4943
4943
  }
4944
4944
  return [o, l];
4945
4945
  }
4946
- const [Dw, kw] = Rw(Ln, Au, Mo, Cs, Mu, Tu);
4946
+ const [Rw, kw] = Dw(Ln, Au, Mo, Cs, Mu, Tu);
4947
4947
  function bl(e) {
4948
4948
  if (0 <= e.y && e.y < 100) {
4949
4949
  var t = new Date(-1, e.m, e.d, e.H, e.M, e.S, e.L);
@@ -5005,7 +5005,7 @@ function Iw(e) {
5005
5005
  e: Td,
5006
5006
  f: ES,
5007
5007
  g: LS,
5008
- G: DS,
5008
+ G: RS,
5009
5009
  H: yS,
5010
5010
  I: xS,
5011
5011
  j: bS,
@@ -5025,11 +5025,11 @@ function Iw(e) {
5025
5025
  x: null,
5026
5026
  X: null,
5027
5027
  y: $S,
5028
- Y: RS,
5028
+ Y: DS,
5029
5029
  Z: kS,
5030
5030
  "%": Md
5031
5031
  }, _ = {
5032
- a: R,
5032
+ a: D,
5033
5033
  A: T,
5034
5034
  b: H,
5035
5035
  B: P,
@@ -5045,7 +5045,7 @@ function Iw(e) {
5045
5045
  L: Zw,
5046
5046
  m: Ww,
5047
5047
  M: Yw,
5048
- p: D,
5048
+ p: R,
5049
5049
  q: jw,
5050
5050
  Q: Jw,
5051
5051
  s: tS,
@@ -5065,9 +5065,9 @@ function Iw(e) {
5065
5065
  x.x = S(n, x), x.X = S(r, x), x.c = S(t, x), w.x = S(n, w), w.X = S(r, w), w.c = S(t, w);
5066
5066
  function S(q, Q) {
5067
5067
  return function(at) {
5068
- var G = [], Lt = -1, vt = 0, Ut = q.length, Bt, rt, Rt;
5068
+ var G = [], Lt = -1, vt = 0, Ut = q.length, Bt, rt, Dt;
5069
5069
  for (at instanceof Date || (at = /* @__PURE__ */ new Date(+at)); ++Lt < Ut; )
5070
- q.charCodeAt(Lt) === 37 && (G.push(q.slice(vt, Lt)), (rt = bd[Bt = q.charAt(++Lt)]) != null ? Bt = q.charAt(++Lt) : rt = Bt === "e" ? " " : "0", (Rt = Q[Bt]) && (Bt = Rt(at, rt)), G.push(Bt), vt = Lt + 1);
5070
+ q.charCodeAt(Lt) === 37 && (G.push(q.slice(vt, Lt)), (rt = bd[Bt = q.charAt(++Lt)]) != null ? Bt = q.charAt(++Lt) : rt = Bt === "e" ? " " : "0", (Dt = Q[Bt]) && (Bt = Dt(at, rt)), G.push(Bt), vt = Lt + 1);
5071
5071
  return G.push(q.slice(vt, Lt)), G.join("");
5072
5072
  };
5073
5073
  }
@@ -5101,11 +5101,11 @@ function Iw(e) {
5101
5101
  }
5102
5102
  return G;
5103
5103
  }
5104
- function D(q, Q, at) {
5104
+ function R(q, Q, at) {
5105
5105
  var G = c.exec(Q.slice(at));
5106
5106
  return G ? (q.p = u.get(G[0].toLowerCase()), at + G[0].length) : -1;
5107
5107
  }
5108
- function R(q, Q, at) {
5108
+ function D(q, Q, at) {
5109
5109
  var G = f.exec(Q.slice(at));
5110
5110
  return G ? (q.w = p.get(G[0].toLowerCase()), at + G[0].length) : -1;
5111
5111
  }
@@ -5404,10 +5404,10 @@ function $S(e, t) {
5404
5404
  function LS(e, t) {
5405
5405
  return e = ug(e), Ot(e.getUTCFullYear() % 100, t, 2);
5406
5406
  }
5407
- function RS(e, t) {
5407
+ function DS(e, t) {
5408
5408
  return Ot(e.getUTCFullYear() % 1e4, t, 4);
5409
5409
  }
5410
- function DS(e, t) {
5410
+ function RS(e, t) {
5411
5411
  var n = e.getUTCDay();
5412
5412
  return e = n >= 4 || n === 0 ? oi(e) : oi.ceil(e), Ot(e.getUTCFullYear() % 1e4, t, 4);
5413
5413
  }
@@ -5465,7 +5465,7 @@ function dg(e, t, n, r, i, s, a, o, l, c) {
5465
5465
  }, u;
5466
5466
  }
5467
5467
  function fg() {
5468
- return pi.apply(dg(Dw, kw, Ln, Au, Mo, Cs, Mu, Tu, qr, hg).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
5468
+ return pi.apply(dg(Rw, kw, Ln, Au, Mo, Cs, Mu, Tu, qr, hg).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
5469
5469
  }
5470
5470
  function gt(e) {
5471
5471
  return function() {
@@ -5516,14 +5516,14 @@ function jS(e, t, n, r, i, s, a, o) {
5516
5516
  return h = (u * (t - s) - d * (e - i)) / h, [e + h * l, t + h * c];
5517
5517
  }
5518
5518
  function ea(e, t, n, r, i, s, a) {
5519
- var o = e - n, l = t - r, c = (a ? s : -s) / Yr(o * o + l * l), u = c * l, d = -c * o, h = e + u, f = t + d, p = n + u, v = r + d, m = (h + p) / 2, y = (f + v) / 2, g = p - h, x = v - f, w = g * g + x * x, _ = i - s, S = h * v - p * f, A = (x < 0 ? -1 : 1) * Yr(US(0, _ * _ * w - S * S)), k = (S * x - g * A) / w, D = (-S * g - x * A) / w, R = (S * x + g * A) / w, T = (-S * g + x * A) / w, H = k - m, P = D - y, V = R - m, E = T - y;
5520
- return H * H + P * P > V * V + E * E && (k = R, D = T), {
5519
+ var o = e - n, l = t - r, c = (a ? s : -s) / Yr(o * o + l * l), u = c * l, d = -c * o, h = e + u, f = t + d, p = n + u, v = r + d, m = (h + p) / 2, y = (f + v) / 2, g = p - h, x = v - f, w = g * g + x * x, _ = i - s, S = h * v - p * f, A = (x < 0 ? -1 : 1) * Yr(US(0, _ * _ * w - S * S)), k = (S * x - g * A) / w, R = (-S * g - x * A) / w, D = (S * x + g * A) / w, T = (-S * g + x * A) / w, H = k - m, P = R - y, V = D - m, E = T - y;
5520
+ return H * H + P * P > V * V + E * E && (k = D, R = T), {
5521
5521
  cx: k,
5522
- cy: D,
5522
+ cy: R,
5523
5523
  x01: -u,
5524
5524
  y01: -d,
5525
5525
  x11: k * (i / _ - 1),
5526
- y11: D * (i / _ - 1)
5526
+ y11: R * (i / _ - 1)
5527
5527
  };
5528
5528
  }
5529
5529
  function gs() {
@@ -5535,22 +5535,22 @@ function gs() {
5535
5535
  else if (m > _a - ce)
5536
5536
  o.moveTo(f * ir(p), f * nn(p)), o.arc(0, 0, f, p, v, !y), h > ce && (o.moveTo(h * ir(v), h * nn(v)), o.arc(0, 0, h, v, p, y));
5537
5537
  else {
5538
- var g = p, x = v, w = p, _ = v, S = m, A = m, k = a.apply(this, arguments) / 2, D = k > ce && (r ? +r.apply(this, arguments) : Yr(h * h + f * f)), R = _l($d(f - h) / 2, +n.apply(this, arguments)), T = R, H = R, P, V;
5539
- if (D > ce) {
5540
- var E = Ld(D / h * nn(k)), L = Ld(D / f * nn(k));
5538
+ var g = p, x = v, w = p, _ = v, S = m, A = m, k = a.apply(this, arguments) / 2, R = k > ce && (r ? +r.apply(this, arguments) : Yr(h * h + f * f)), D = _l($d(f - h) / 2, +n.apply(this, arguments)), T = D, H = D, P, V;
5539
+ if (R > ce) {
5540
+ var E = Ld(R / h * nn(k)), L = Ld(R / f * nn(k));
5541
5541
  (S -= E * 2) > ce ? (E *= y ? 1 : -1, w += E, _ -= E) : (S = 0, w = _ = (p + v) / 2), (A -= L * 2) > ce ? (L *= y ? 1 : -1, g += L, x -= L) : (A = 0, g = x = (p + v) / 2);
5542
5542
  }
5543
5543
  var $ = f * ir(g), U = f * nn(g), B = h * ir(_), X = h * nn(_);
5544
- if (R > ce) {
5544
+ if (D > ce) {
5545
5545
  var Y = f * ir(x), it = f * nn(x), et = h * ir(w), dt = h * nn(w), yt;
5546
5546
  if (m < ms)
5547
5547
  if (yt = jS($, U, et, dt, Y, it, B, X)) {
5548
5548
  var K = $ - yt[0], J = U - yt[1], pt = Y - yt[0], q = it - yt[1], Q = 1 / nn(BS((K * pt + J * q) / (Yr(K * K + J * J) * Yr(pt * pt + q * q))) / 2), at = Yr(yt[0] * yt[0] + yt[1] * yt[1]);
5549
- T = _l(R, (h - at) / (Q - 1)), H = _l(R, (f - at) / (Q + 1));
5549
+ T = _l(D, (h - at) / (Q - 1)), H = _l(D, (f - at) / (Q + 1));
5550
5550
  } else
5551
5551
  T = H = 0;
5552
5552
  }
5553
- A > ce ? H > ce ? (P = ea(et, dt, $, U, f, H, y), V = ea(Y, it, B, X, f, H, y), o.moveTo(P.cx + P.x01, P.cy + P.y01), H < R ? o.arc(P.cx, P.cy, H, le(P.y01, P.x01), le(V.y01, V.x01), !y) : (o.arc(P.cx, P.cy, H, le(P.y01, P.x01), le(P.y11, P.x11), !y), o.arc(0, 0, f, le(P.cy + P.y11, P.cx + P.x11), le(V.cy + V.y11, V.cx + V.x11), !y), o.arc(V.cx, V.cy, H, le(V.y11, V.x11), le(V.y01, V.x01), !y))) : (o.moveTo($, U), o.arc(0, 0, f, g, x, !y)) : o.moveTo($, U), !(h > ce) || !(S > ce) ? o.lineTo(B, X) : T > ce ? (P = ea(B, X, Y, it, h, -T, y), V = ea($, U, et, dt, h, -T, y), o.lineTo(P.cx + P.x01, P.cy + P.y01), T < R ? o.arc(P.cx, P.cy, T, le(P.y01, P.x01), le(V.y01, V.x01), !y) : (o.arc(P.cx, P.cy, T, le(P.y01, P.x01), le(P.y11, P.x11), !y), o.arc(0, 0, h, le(P.cy + P.y11, P.cx + P.x11), le(V.cy + V.y11, V.cx + V.x11), y), o.arc(V.cx, V.cy, T, le(V.y11, V.x11), le(V.y01, V.x01), !y))) : o.arc(0, 0, h, _, w, y);
5553
+ A > ce ? H > ce ? (P = ea(et, dt, $, U, f, H, y), V = ea(Y, it, B, X, f, H, y), o.moveTo(P.cx + P.x01, P.cy + P.y01), H < D ? o.arc(P.cx, P.cy, H, le(P.y01, P.x01), le(V.y01, V.x01), !y) : (o.arc(P.cx, P.cy, H, le(P.y01, P.x01), le(P.y11, P.x11), !y), o.arc(0, 0, f, le(P.cy + P.y11, P.cx + P.x11), le(V.cy + V.y11, V.cx + V.x11), !y), o.arc(V.cx, V.cy, H, le(V.y11, V.x11), le(V.y01, V.x01), !y))) : (o.moveTo($, U), o.arc(0, 0, f, g, x, !y)) : o.moveTo($, U), !(h > ce) || !(S > ce) ? o.lineTo(B, X) : T > ce ? (P = ea(B, X, Y, it, h, -T, y), V = ea($, U, et, dt, h, -T, y), o.lineTo(P.cx + P.x01, P.cy + P.y01), T < D ? o.arc(P.cx, P.cy, T, le(P.y01, P.x01), le(V.y01, V.x01), !y) : (o.arc(P.cx, P.cy, T, le(P.y01, P.x01), le(P.y11, P.x11), !y), o.arc(0, 0, h, le(P.cy + P.y11, P.cx + P.x11), le(V.cy + V.y11, V.cx + V.x11), y), o.arc(V.cx, V.cy, T, le(V.y11, V.x11), le(V.y01, V.x01), !y))) : o.arc(0, 0, h, _, w, y);
5554
5554
  }
5555
5555
  if (o.closePath(), u)
5556
5556
  return o = null, u + "" || null;
@@ -5640,7 +5640,7 @@ function As(e, t) {
5640
5640
  return arguments.length ? (l == null ? r = s = null : s = i(r = l), o) : r;
5641
5641
  }, o;
5642
5642
  }
5643
- function Ru(e, t, n) {
5643
+ function Du(e, t, n) {
5644
5644
  var r = null, i = gt(!0), s = null, a = $o, o = null, l = Co(c);
5645
5645
  e = typeof e == "function" ? e : e === void 0 ? $u : gt(+e), t = typeof t == "function" ? t : gt(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? Lu : gt(+n);
5646
5646
  function c(d) {
@@ -6010,10 +6010,10 @@ function ro(e, t, n) {
6010
6010
  e._y2
6011
6011
  );
6012
6012
  }
6013
- function Du(e, t) {
6013
+ function Ru(e, t) {
6014
6014
  this._context = e, this._k = (1 - t) / 6;
6015
6015
  }
6016
- Du.prototype = {
6016
+ Ru.prototype = {
6017
6017
  areaStart: function() {
6018
6018
  this._line = 0;
6019
6019
  },
@@ -6053,7 +6053,7 @@ Du.prototype = {
6053
6053
  };
6054
6054
  const cO = function e(t) {
6055
6055
  function n(r) {
6056
- return new Du(r, t);
6056
+ return new Ru(r, t);
6057
6057
  }
6058
6058
  return n.tension = function(r) {
6059
6059
  return e(+r);
@@ -6213,7 +6213,7 @@ bg.prototype = {
6213
6213
  };
6214
6214
  const dO = function e(t) {
6215
6215
  function n(r) {
6216
- return t ? new bg(r, t) : new Du(r, 0);
6216
+ return t ? new bg(r, t) : new Ru(r, 0);
6217
6217
  }
6218
6218
  return n.alpha = function(r) {
6219
6219
  return e(+r);
@@ -6341,12 +6341,12 @@ wg.prototype = {
6341
6341
  function Sg(e) {
6342
6342
  return new wg(e);
6343
6343
  }
6344
- function Rd(e) {
6344
+ function Dd(e) {
6345
6345
  return e < 0 ? -1 : 1;
6346
6346
  }
6347
- function Dd(e, t, n) {
6347
+ function Rd(e, t, n) {
6348
6348
  var r = e._x1 - e._x0, i = t - e._x1, s = (e._y1 - e._y0) / (r || i < 0 && -0), a = (n - e._y1) / (i || r < 0 && -0), o = (s * i + a * r) / (r + i);
6349
- return (Rd(s) + Rd(a)) * Math.min(Math.abs(s), Math.abs(a), 0.5 * Math.abs(o)) || 0;
6349
+ return (Dd(s) + Dd(a)) * Math.min(Math.abs(s), Math.abs(a), 0.5 * Math.abs(o)) || 0;
6350
6350
  }
6351
6351
  function kd(e, t) {
6352
6352
  var n = e._x1 - e._x0;
@@ -6391,10 +6391,10 @@ io.prototype = {
6391
6391
  this._point = 2;
6392
6392
  break;
6393
6393
  case 2:
6394
- this._point = 3, wl(this, kd(this, n = Dd(this, e, t)), n);
6394
+ this._point = 3, wl(this, kd(this, n = Rd(this, e, t)), n);
6395
6395
  break;
6396
6396
  default:
6397
- wl(this, this._t0, n = Dd(this, e, t));
6397
+ wl(this, this._t0, n = Rd(this, e, t));
6398
6398
  break;
6399
6399
  }
6400
6400
  this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
@@ -6472,10 +6472,10 @@ function Id(e) {
6472
6472
  function vO(e) {
6473
6473
  return new Mg(e);
6474
6474
  }
6475
- function Ro(e, t) {
6475
+ function Do(e, t) {
6476
6476
  this._context = e, this._t = t;
6477
6477
  }
6478
- Ro.prototype = {
6478
+ Do.prototype = {
6479
6479
  areaStart: function() {
6480
6480
  this._line = 0;
6481
6481
  },
@@ -6509,13 +6509,13 @@ Ro.prototype = {
6509
6509
  }
6510
6510
  };
6511
6511
  function yO(e) {
6512
- return new Ro(e, 0.5);
6512
+ return new Do(e, 0.5);
6513
6513
  }
6514
6514
  function xO(e) {
6515
- return new Ro(e, 0);
6515
+ return new Do(e, 0);
6516
6516
  }
6517
6517
  function bO(e) {
6518
- return new Ro(e, 1);
6518
+ return new Do(e, 1);
6519
6519
  }
6520
6520
  function Nd(e, t) {
6521
6521
  if ((a = e.length) > 1)
@@ -6670,12 +6670,12 @@ function St(e) {
6670
6670
  return e instanceof Date || typeof e == "object" && t === "[object Date]" ? new e.constructor(+e) : typeof e == "number" || t === "[object Number]" || typeof e == "string" || t === "[object String]" ? new Date(e) : /* @__PURE__ */ new Date(NaN);
6671
6671
  }
6672
6672
  let MO = {};
6673
- function Do() {
6673
+ function Ro() {
6674
6674
  return MO;
6675
6675
  }
6676
6676
  function vs(e, t) {
6677
6677
  var n, r, i, s;
6678
- const a = Do(), o = (t == null ? void 0 : t.weekStartsOn) ?? ((r = (n = t == null ? void 0 : t.locale) == null ? void 0 : n.options) == null ? void 0 : r.weekStartsOn) ?? a.weekStartsOn ?? ((s = (i = a.locale) == null ? void 0 : i.options) == null ? void 0 : s.weekStartsOn) ?? 0, l = St(e), c = l.getDay(), u = (c < o ? 7 : 0) + c - o;
6678
+ const a = Ro(), o = (t == null ? void 0 : t.weekStartsOn) ?? ((r = (n = t == null ? void 0 : t.locale) == null ? void 0 : n.options) == null ? void 0 : r.weekStartsOn) ?? a.weekStartsOn ?? ((s = (i = a.locale) == null ? void 0 : i.options) == null ? void 0 : s.weekStartsOn) ?? 0, l = St(e), c = l.getDay(), u = (c < o ? 7 : 0) + c - o;
6679
6679
  return l.setDate(l.getDate() - u), l.setHours(0, 0, 0, 0), l;
6680
6680
  }
6681
6681
  const CO = {
@@ -6751,11 +6751,11 @@ const CO = {
6751
6751
  tomorrow: "'tomorrow at' p",
6752
6752
  nextWeek: "eeee 'at' p",
6753
6753
  other: "P"
6754
- }, LO = (e, t, n, r) => $O[e], RO = {
6754
+ }, LO = (e, t, n, r) => $O[e], DO = {
6755
6755
  narrow: ["B", "A"],
6756
6756
  abbreviated: ["BC", "AD"],
6757
6757
  wide: ["Before Christ", "Anno Domini"]
6758
- }, DO = {
6758
+ }, RO = {
6759
6759
  narrow: ["1", "2", "3", "4"],
6760
6760
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
6761
6761
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
@@ -6879,11 +6879,11 @@ const CO = {
6879
6879
  }, BO = {
6880
6880
  ordinalNumber: UO,
6881
6881
  era: $i({
6882
- values: RO,
6882
+ values: DO,
6883
6883
  defaultWidth: "wide"
6884
6884
  }),
6885
6885
  quarter: $i({
6886
- values: DO,
6886
+ values: RO,
6887
6887
  defaultWidth: "wide",
6888
6888
  argumentCallback: (e) => e - 1
6889
6889
  }),
@@ -7051,16 +7051,16 @@ var iT = typeof self == "object" && self && self.Object === Object && self, sT =
7051
7051
  const Je = sT;
7052
7052
  var aT = Je.Symbol;
7053
7053
  const Pe = aT;
7054
- var $g = Object.prototype, oT = $g.hasOwnProperty, lT = $g.toString, Ri = Pe ? Pe.toStringTag : void 0;
7054
+ var $g = Object.prototype, oT = $g.hasOwnProperty, lT = $g.toString, Di = Pe ? Pe.toStringTag : void 0;
7055
7055
  function cT(e) {
7056
- var t = oT.call(e, Ri), n = e[Ri];
7056
+ var t = oT.call(e, Di), n = e[Di];
7057
7057
  try {
7058
- e[Ri] = void 0;
7058
+ e[Di] = void 0;
7059
7059
  var r = !0;
7060
7060
  } catch {
7061
7061
  }
7062
7062
  var i = lT.call(e);
7063
- return r && (t ? e[Ri] = n : delete e[Ri]), i;
7063
+ return r && (t ? e[Di] = n : delete e[Di]), i;
7064
7064
  }
7065
7065
  var uT = Object.prototype, hT = uT.toString;
7066
7066
  function dT(e) {
@@ -7085,11 +7085,11 @@ function Lg(e, t) {
7085
7085
  var gT = Array.isArray;
7086
7086
  const ie = gT;
7087
7087
  var vT = 1 / 0, Bd = Pe ? Pe.prototype : void 0, Vd = Bd ? Bd.toString : void 0;
7088
- function Rg(e) {
7088
+ function Dg(e) {
7089
7089
  if (typeof e == "string")
7090
7090
  return e;
7091
7091
  if (ie(e))
7092
- return Lg(e, Rg) + "";
7092
+ return Lg(e, Dg) + "";
7093
7093
  if (ko(e))
7094
7094
  return Vd ? Vd.call(e) : "";
7095
7095
  var t = e + "";
@@ -7132,13 +7132,13 @@ function Mr(e) {
7132
7132
  }
7133
7133
  return "";
7134
7134
  }
7135
- var TT = /[\\^$.*+?()[\]{}|]/g, MT = /^\[object .+?Constructor\]$/, CT = Function.prototype, AT = Object.prototype, $T = CT.toString, LT = AT.hasOwnProperty, RT = RegExp(
7135
+ var TT = /[\\^$.*+?()[\]{}|]/g, MT = /^\[object .+?Constructor\]$/, CT = Function.prototype, AT = Object.prototype, $T = CT.toString, LT = AT.hasOwnProperty, DT = RegExp(
7136
7136
  "^" + $T.call(LT).replace(TT, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
7137
7137
  );
7138
- function DT(e) {
7138
+ function RT(e) {
7139
7139
  if (!Ue(e) || wT(e))
7140
7140
  return !1;
7141
- var t = Uu(e) ? RT : MT;
7141
+ var t = Uu(e) ? DT : MT;
7142
7142
  return t.test(Mr(e));
7143
7143
  }
7144
7144
  function kT(e, t) {
@@ -7146,7 +7146,7 @@ function kT(e, t) {
7146
7146
  }
7147
7147
  function Cr(e, t) {
7148
7148
  var n = kT(e, t);
7149
- return DT(n) ? n : void 0;
7149
+ return RT(n) ? n : void 0;
7150
7150
  }
7151
7151
  var IT = Cr(Je, "WeakMap");
7152
7152
  const bc = IT;
@@ -7179,7 +7179,7 @@ function UT(e, t, n) {
7179
7179
  }
7180
7180
  function BT() {
7181
7181
  }
7182
- function Dg(e, t) {
7182
+ function Rg(e, t) {
7183
7183
  var n = -1, r = e.length;
7184
7184
  for (t || (t = Array(r)); ++n < r; )
7185
7185
  t[n] = e[n];
@@ -7341,9 +7341,9 @@ function mM() {
7341
7341
  }
7342
7342
  var Ug = typeof exports == "object" && exports && !exports.nodeType && exports, jd = Ug && typeof module == "object" && module && !module.nodeType && module, gM = jd && jd.exports === Ug, Wd = gM ? Je.Buffer : void 0, vM = Wd ? Wd.isBuffer : void 0, yM = vM || mM;
7343
7343
  const ci = yM;
7344
- var xM = "[object Arguments]", bM = "[object Array]", EM = "[object Boolean]", _M = "[object Date]", wM = "[object Error]", SM = "[object Function]", OM = "[object Map]", TM = "[object Number]", MM = "[object Object]", CM = "[object RegExp]", AM = "[object Set]", $M = "[object String]", LM = "[object WeakMap]", RM = "[object ArrayBuffer]", DM = "[object DataView]", kM = "[object Float32Array]", IM = "[object Float64Array]", NM = "[object Int8Array]", PM = "[object Int16Array]", UM = "[object Int32Array]", BM = "[object Uint8Array]", VM = "[object Uint8ClampedArray]", HM = "[object Uint16Array]", FM = "[object Uint32Array]", Vt = {};
7344
+ var xM = "[object Arguments]", bM = "[object Array]", EM = "[object Boolean]", _M = "[object Date]", wM = "[object Error]", SM = "[object Function]", OM = "[object Map]", TM = "[object Number]", MM = "[object Object]", CM = "[object RegExp]", AM = "[object Set]", $M = "[object String]", LM = "[object WeakMap]", DM = "[object ArrayBuffer]", RM = "[object DataView]", kM = "[object Float32Array]", IM = "[object Float64Array]", NM = "[object Int8Array]", PM = "[object Int16Array]", UM = "[object Int32Array]", BM = "[object Uint8Array]", VM = "[object Uint8ClampedArray]", HM = "[object Uint16Array]", FM = "[object Uint32Array]", Vt = {};
7345
7345
  Vt[kM] = Vt[IM] = Vt[NM] = Vt[PM] = Vt[UM] = Vt[BM] = Vt[VM] = Vt[HM] = Vt[FM] = !0;
7346
- Vt[xM] = Vt[bM] = Vt[RM] = Vt[EM] = Vt[DM] = Vt[_M] = Vt[wM] = Vt[SM] = Vt[OM] = Vt[TM] = Vt[MM] = Vt[CM] = Vt[AM] = Vt[$M] = Vt[LM] = !1;
7346
+ Vt[xM] = Vt[bM] = Vt[DM] = Vt[EM] = Vt[RM] = Vt[_M] = Vt[wM] = Vt[SM] = Vt[OM] = Vt[TM] = Vt[MM] = Vt[CM] = Vt[AM] = Vt[$M] = Vt[LM] = !1;
7347
7347
  function zM(e) {
7348
7348
  return un(e) && Vu(e.length) && !!Vt[Tr(e)];
7349
7349
  }
@@ -7389,7 +7389,7 @@ function Fg(e) {
7389
7389
  QM.call(e, n) && n != "constructor" && t.push(n);
7390
7390
  return t;
7391
7391
  }
7392
- function Rs(e) {
7392
+ function Ds(e) {
7393
7393
  return Ar(e) ? Vg(e) : Fg(e);
7394
7394
  }
7395
7395
  function JM(e) {
@@ -7408,7 +7408,7 @@ function nC(e) {
7408
7408
  r == "constructor" && (t || !eC.call(e, r)) || n.push(r);
7409
7409
  return n;
7410
7410
  }
7411
- function Ds(e) {
7411
+ function Rs(e) {
7412
7412
  return Ar(e) ? Vg(e, !0) : nC(e);
7413
7413
  }
7414
7414
  var rC = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, iC = /^\w*$/;
@@ -7555,14 +7555,14 @@ function zu(e, t) {
7555
7555
  return n.cache = new (zu.Cache || In)(), n;
7556
7556
  }
7557
7557
  zu.Cache = In;
7558
- var RC = 500;
7559
- function DC(e) {
7558
+ var DC = 500;
7559
+ function RC(e) {
7560
7560
  var t = zu(e, function(r) {
7561
- return n.size === RC && n.clear(), r;
7561
+ return n.size === DC && n.clear(), r;
7562
7562
  }), n = t.cache;
7563
7563
  return t;
7564
7564
  }
7565
- var kC = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, IC = /\\(\\)?/g, NC = DC(function(e) {
7565
+ var kC = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, IC = /\\(\\)?/g, NC = RC(function(e) {
7566
7566
  var t = [];
7567
7567
  return e.charCodeAt(0) === 46 && t.push(""), e.replace(kC, function(n, r, i, s) {
7568
7568
  t.push(i ? s.replace(IC, "$1") : r || n);
@@ -7570,7 +7570,7 @@ var kC = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=
7570
7570
  });
7571
7571
  const PC = NC;
7572
7572
  function ks(e) {
7573
- return e == null ? "" : Rg(e);
7573
+ return e == null ? "" : Dg(e);
7574
7574
  }
7575
7575
  function zg(e, t) {
7576
7576
  return ie(e) ? e : Fu(e, t) ? [e] : PC(ks(e));
@@ -7655,10 +7655,10 @@ qe.prototype.get = XC;
7655
7655
  qe.prototype.has = ZC;
7656
7656
  qe.prototype.set = QC;
7657
7657
  function JC(e, t) {
7658
- return e && Ls(t, Rs(t), e);
7658
+ return e && Ls(t, Ds(t), e);
7659
7659
  }
7660
7660
  function tA(e, t) {
7661
- return e && Ls(t, Ds(t), e);
7661
+ return e && Ls(t, Rs(t), e);
7662
7662
  }
7663
7663
  var Wg = typeof exports == "object" && exports && !exports.nodeType && exports, Xd = Wg && typeof module == "object" && module && !module.nodeType && module, eA = Xd && Xd.exports === Wg, Zd = eA ? Je.Buffer : void 0, Kd = Zd ? Zd.allocUnsafe : void 0;
7664
7664
  function qg(e, t) {
@@ -7700,10 +7700,10 @@ function Zg(e, t, n) {
7700
7700
  return ie(e) ? r : Gu(r, n(e));
7701
7701
  }
7702
7702
  function Ec(e) {
7703
- return Zg(e, Rs, Wu);
7703
+ return Zg(e, Ds, Wu);
7704
7704
  }
7705
7705
  function uA(e) {
7706
- return Zg(e, Ds, Xg);
7706
+ return Zg(e, Rs, Xg);
7707
7707
  }
7708
7708
  var hA = Cr(Je, "DataView");
7709
7709
  const _c = hA;
@@ -7758,7 +7758,7 @@ function Kg(e, t) {
7758
7758
  var n = t ? qu(e.buffer) : e.buffer;
7759
7759
  return new e.constructor(n, e.byteOffset, e.length);
7760
7760
  }
7761
- var CA = "[object Boolean]", AA = "[object Date]", $A = "[object Map]", LA = "[object Number]", RA = "[object RegExp]", DA = "[object Set]", kA = "[object String]", IA = "[object Symbol]", NA = "[object ArrayBuffer]", PA = "[object DataView]", UA = "[object Float32Array]", BA = "[object Float64Array]", VA = "[object Int8Array]", HA = "[object Int16Array]", FA = "[object Int32Array]", zA = "[object Uint8Array]", GA = "[object Uint8ClampedArray]", jA = "[object Uint16Array]", WA = "[object Uint32Array]";
7761
+ var CA = "[object Boolean]", AA = "[object Date]", $A = "[object Map]", LA = "[object Number]", DA = "[object RegExp]", RA = "[object Set]", kA = "[object String]", IA = "[object Symbol]", NA = "[object ArrayBuffer]", PA = "[object DataView]", UA = "[object Float32Array]", BA = "[object Float64Array]", VA = "[object Int8Array]", HA = "[object Int16Array]", FA = "[object Int32Array]", zA = "[object Uint8Array]", GA = "[object Uint8ClampedArray]", jA = "[object Uint16Array]", WA = "[object Uint32Array]";
7762
7762
  function qA(e, t, n) {
7763
7763
  var r = e.constructor;
7764
7764
  switch (t) {
@@ -7784,9 +7784,9 @@ function qA(e, t, n) {
7784
7784
  case LA:
7785
7785
  case kA:
7786
7786
  return new r(e);
7787
- case RA:
7788
- return TA(e);
7789
7787
  case DA:
7788
+ return TA(e);
7789
+ case RA:
7790
7790
  return new r();
7791
7791
  case IA:
7792
7792
  return MA(e);
@@ -7819,7 +7819,7 @@ function wa(e, t, n, r, i, s) {
7819
7819
  var u = ie(e);
7820
7820
  if (u) {
7821
7821
  if (a = _A(e), !o)
7822
- return Dg(e, a);
7822
+ return Rg(e, a);
7823
7823
  } else {
7824
7824
  var d = hi(e), h = d == tv || d == c2;
7825
7825
  if (ci(e))
@@ -7842,20 +7842,20 @@ function wa(e, t, n, r, i, s) {
7842
7842
  }) : KA(e) && e.forEach(function(m, y) {
7843
7843
  a.set(y, wa(m, t, n, y, e, s));
7844
7844
  });
7845
- var p = c ? l ? uA : Ec : l ? Ds : Rs, v = u ? void 0 : p(e);
7845
+ var p = c ? l ? uA : Ec : l ? Rs : Ds, v = u ? void 0 : p(e);
7846
7846
  return ZT(v || e, function(m, y) {
7847
7847
  v && (y = m, m = e[y]), kg(a, y, wa(m, t, n, y, e, s));
7848
7848
  }), a;
7849
7849
  }
7850
7850
  var C2 = 1, A2 = 4;
7851
- function Rn(e) {
7851
+ function Dn(e) {
7852
7852
  return wa(e, C2 | A2);
7853
7853
  }
7854
7854
  var $2 = "__lodash_hash_undefined__";
7855
7855
  function L2(e) {
7856
7856
  return this.__data__.set(e, $2), this;
7857
7857
  }
7858
- function R2(e) {
7858
+ function D2(e) {
7859
7859
  return this.__data__.has(e);
7860
7860
  }
7861
7861
  function bs(e) {
@@ -7864,7 +7864,7 @@ function bs(e) {
7864
7864
  this.add(e[t]);
7865
7865
  }
7866
7866
  bs.prototype.add = bs.prototype.push = L2;
7867
- bs.prototype.has = R2;
7867
+ bs.prototype.has = D2;
7868
7868
  function nv(e, t) {
7869
7869
  for (var n = -1, r = e == null ? 0 : e.length; ++n < r; )
7870
7870
  if (t(e[n], n, e))
@@ -7874,9 +7874,9 @@ function nv(e, t) {
7874
7874
  function rv(e, t) {
7875
7875
  return e.has(t);
7876
7876
  }
7877
- var D2 = 1, k2 = 2;
7877
+ var R2 = 1, k2 = 2;
7878
7878
  function iv(e, t, n, r, i, s) {
7879
- var a = n & D2, o = e.length, l = t.length;
7879
+ var a = n & R2, o = e.length, l = t.length;
7880
7880
  if (o != l && !(a && l > o))
7881
7881
  return !1;
7882
7882
  var c = s.get(e), u = s.get(t);
@@ -8042,7 +8042,7 @@ function sv(e) {
8042
8042
  return e === e && !Ue(e);
8043
8043
  }
8044
8044
  function a$(e) {
8045
- for (var t = Rs(e), n = t.length; n--; ) {
8045
+ for (var t = Ds(e), n = t.length; n--; ) {
8046
8046
  var r = t[n], i = e[r];
8047
8047
  t[n] = [r, i, sv(i)];
8048
8048
  }
@@ -8121,7 +8121,7 @@ function Tc(e, t) {
8121
8121
  return e[t];
8122
8122
  }
8123
8123
  function x$(e) {
8124
- return Ls(e, Ds(e));
8124
+ return Ls(e, Rs(e));
8125
8125
  }
8126
8126
  function b$(e, t, n, r, i, s, a) {
8127
8127
  var o = Tc(e, n), l = Tc(t, n), c = a.get(l);
@@ -8132,7 +8132,7 @@ function b$(e, t, n, r, i, s, a) {
8132
8132
  var u = s ? s(o, l, n + "", e, t, a) : void 0, d = u === void 0;
8133
8133
  if (d) {
8134
8134
  var h = ie(l), f = !h && ci(l), p = !h && !f && Po(l);
8135
- u = l, h || f || p ? ie(o) ? u = o : Oc(o) ? u = Dg(o) : f ? (d = !1, u = qg(l, !0)) : p ? (d = !1, u = Kg(l, !0)) : u = [] : WC(l) || li(l) ? (u = o, li(o) ? u = x$(o) : (!Ue(o) || Uu(o)) && (u = Qg(l))) : d = !1;
8135
+ u = l, h || f || p ? ie(o) ? u = o : Oc(o) ? u = Rg(o) : f ? (d = !1, u = qg(l, !0)) : p ? (d = !1, u = Kg(l, !0)) : u = [] : WC(l) || li(l) ? (u = o, li(o) ? u = x$(o) : (!Ue(o) || Uu(o)) && (u = Qg(l))) : d = !1;
8136
8136
  }
8137
8137
  d && (a.set(l, u), i(u, l, r, s, a), a.delete(l)), Sc(e, n, u);
8138
8138
  }
@@ -8144,7 +8144,7 @@ function lv(e, t, n, r, i) {
8144
8144
  var o = r ? r(Tc(e, a), s, a + "", e, t, i) : void 0;
8145
8145
  o === void 0 && (o = s), Sc(e, a, o);
8146
8146
  }
8147
- }, Ds);
8147
+ }, Rs);
8148
8148
  }
8149
8149
  function E$(e, t, n) {
8150
8150
  for (var r = -1, i = e == null ? 0 : e.length; ++r < i; )
@@ -8205,11 +8205,11 @@ function cv(e, t, n) {
8205
8205
  }
8206
8206
  return o;
8207
8207
  }
8208
- var R$ = Ig(function(e) {
8208
+ var D$ = Ig(function(e) {
8209
8209
  var t = _$(e);
8210
8210
  return Oc(t) && (t = void 0), cv(Ho(e, 1, Oc, !0), zo(t));
8211
8211
  });
8212
- const D$ = R$;
8212
+ const R$ = D$;
8213
8213
  function Es(e) {
8214
8214
  return e && e.length ? cv(e) : [];
8215
8215
  }
@@ -8258,7 +8258,7 @@ const ge = "cds", _n = {
8258
8258
  "5-color": 2,
8259
8259
  "14-color": 1
8260
8260
  }
8261
- }, De = {
8261
+ }, Re = {
8262
8262
  circle: {
8263
8263
  radius: 4,
8264
8264
  opacity: {
@@ -9037,7 +9037,7 @@ function lL(e, t, n) {
9037
9037
  }
9038
9038
  function Gt(e, t) {
9039
9039
  var n;
9040
- const r = Rn(e), i = Object.keys(t.axes || {});
9040
+ const r = Dn(e), i = Object.keys(t.axes || {});
9041
9041
  (n = t == null ? void 0 : t.toolbar) != null && n.controls && delete r.toolbar.controls, i.length === 0 && delete r.axes;
9042
9042
  for (const s in r.axes)
9043
9043
  if (i.includes(s)) {
@@ -9099,7 +9099,7 @@ function Zu(e, t) {
9099
9099
  const i = r.map((o) => o.type), s = n.map((o) => o.type), a = N$.filter(
9100
9100
  (o) => s.includes(o.type) && !i.includes(o.type)
9101
9101
  );
9102
- e.legend.additionalItems = a, t.legend.additionalItems = D$(
9102
+ e.legend.additionalItems = a, t.legend.additionalItems = R$(
9103
9103
  a,
9104
9104
  r,
9105
9105
  "name"
@@ -9184,7 +9184,7 @@ function fL(e) {
9184
9184
  }
9185
9185
  function Ov(e, t) {
9186
9186
  var n, r, i, s;
9187
- const a = St(e), o = a.getFullYear(), l = Do(), c = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((r = (n = t == null ? void 0 : t.locale) == null ? void 0 : n.options) == null ? void 0 : r.firstWeekContainsDate) ?? l.firstWeekContainsDate ?? ((s = (i = l.locale) == null ? void 0 : i.options) == null ? void 0 : s.firstWeekContainsDate) ?? 1, u = Ze(e, 0);
9187
+ const a = St(e), o = a.getFullYear(), l = Ro(), c = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((r = (n = t == null ? void 0 : t.locale) == null ? void 0 : n.options) == null ? void 0 : r.firstWeekContainsDate) ?? l.firstWeekContainsDate ?? ((s = (i = l.locale) == null ? void 0 : i.options) == null ? void 0 : s.firstWeekContainsDate) ?? 1, u = Ze(e, 0);
9188
9188
  u.setFullYear(o + 1, 0, c), u.setHours(0, 0, 0, 0);
9189
9189
  const d = vs(u, t), h = Ze(e, 0);
9190
9190
  h.setFullYear(o, 0, c), h.setHours(0, 0, 0, 0);
@@ -9193,7 +9193,7 @@ function Ov(e, t) {
9193
9193
  }
9194
9194
  function pL(e, t) {
9195
9195
  var n, r, i, s;
9196
- const a = Do(), o = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((r = (n = t == null ? void 0 : t.locale) == null ? void 0 : n.options) == null ? void 0 : r.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((s = (i = a.locale) == null ? void 0 : i.options) == null ? void 0 : s.firstWeekContainsDate) ?? 1, l = Ov(e, t), c = Ze(e, 0);
9196
+ const a = Ro(), o = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((r = (n = t == null ? void 0 : t.locale) == null ? void 0 : n.options) == null ? void 0 : r.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((s = (i = a.locale) == null ? void 0 : i.options) == null ? void 0 : s.firstWeekContainsDate) ?? 1, l = Ov(e, t), c = Ze(e, 0);
9197
9197
  return c.setFullYear(l, 0, o), c.setHours(0, 0, 0, 0), vs(c, t);
9198
9198
  }
9199
9199
  function mL(e, t) {
@@ -9842,7 +9842,7 @@ function TL(e) {
9842
9842
  const ML = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, CL = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, AL = /^'([^]*?)'?$/, $L = /''/g, LL = /[a-zA-Z]/;
9843
9843
  function Mc(e, t, n) {
9844
9844
  var r, i, s, a, o, l, c, u;
9845
- const d = Do(), h = (n == null ? void 0 : n.locale) ?? d.locale ?? Cg, f = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((i = (r = n == null ? void 0 : n.locale) == null ? void 0 : r.options) == null ? void 0 : i.firstWeekContainsDate) ?? d.firstWeekContainsDate ?? ((a = (s = d.locale) == null ? void 0 : s.options) == null ? void 0 : a.firstWeekContainsDate) ?? 1, p = (n == null ? void 0 : n.weekStartsOn) ?? ((l = (o = n == null ? void 0 : n.locale) == null ? void 0 : o.options) == null ? void 0 : l.weekStartsOn) ?? d.weekStartsOn ?? ((u = (c = d.locale) == null ? void 0 : c.options) == null ? void 0 : u.weekStartsOn) ?? 0, v = St(e);
9845
+ const d = Ro(), h = (n == null ? void 0 : n.locale) ?? d.locale ?? Cg, f = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((i = (r = n == null ? void 0 : n.locale) == null ? void 0 : r.options) == null ? void 0 : i.firstWeekContainsDate) ?? d.firstWeekContainsDate ?? ((a = (s = d.locale) == null ? void 0 : s.options) == null ? void 0 : a.firstWeekContainsDate) ?? 1, p = (n == null ? void 0 : n.weekStartsOn) ?? ((l = (o = n == null ? void 0 : n.locale) == null ? void 0 : o.options) == null ? void 0 : l.weekStartsOn) ?? d.weekStartsOn ?? ((u = (c = d.locale) == null ? void 0 : c.options) == null ? void 0 : u.weekStartsOn) ?? 0, v = St(e);
9846
9846
  if (!TL(v))
9847
9847
  throw new RangeError("Invalid time value");
9848
9848
  let m = t.match(CL).map((g) => {
@@ -9857,7 +9857,7 @@ function Mc(e, t, n) {
9857
9857
  return { isToken: !1, value: "'" };
9858
9858
  const x = g[0];
9859
9859
  if (x === "'")
9860
- return { isToken: !1, value: RL(g) };
9860
+ return { isToken: !1, value: DL(g) };
9861
9861
  if (yf[x])
9862
9862
  return { isToken: !0, value: g };
9863
9863
  if (x.match(LL))
@@ -9881,7 +9881,7 @@ function Mc(e, t, n) {
9881
9881
  return w(v, x, h.localize, y);
9882
9882
  }).join("");
9883
9883
  }
9884
- function RL(e) {
9884
+ function DL(e) {
9885
9885
  const t = e.match(AL);
9886
9886
  return t ? t[1].replace($L, "'") : e;
9887
9887
  }
@@ -9900,15 +9900,15 @@ function Cv(e, t, n, r, i) {
9900
9900
  const s = t === 0, a = Number(Mc(new Date(e), "c")) === 2, o = Number(Mc(new Date(e), "q")) === 1, l = t !== 0 ? n[t - 1] : null;
9901
9901
  switch (r) {
9902
9902
  case "15seconds":
9903
- return s || ra(e) || Di(e, l) || Fn(e);
9903
+ return s || ra(e) || Ri(e, l) || Fn(e);
9904
9904
  case "minute":
9905
- return s || ra(e) || Di(e, l) || Fn(e);
9905
+ return s || ra(e) || Ri(e, l) || Fn(e);
9906
9906
  case "30minutes":
9907
- return s || ra(e) || Di(e, l) || Fn(e);
9907
+ return s || ra(e) || Ri(e, l) || Fn(e);
9908
9908
  case "hourly":
9909
- return s || ra(e) || Di(e, l) || Fn(e);
9909
+ return s || ra(e) || Ri(e, l) || Fn(e);
9910
9910
  case "daily":
9911
- return i ? s || a || Fn(e) : s || Di(e, l) || Fn(e);
9911
+ return i ? s || a || Fn(e) : s || Ri(e, l) || Fn(e);
9912
9912
  case "weekly":
9913
9913
  return s || a || Fn(e);
9914
9914
  case "monthly":
@@ -9950,7 +9950,7 @@ function lo(e) {
9950
9950
  // seconds: 0-59
9951
9951
  };
9952
9952
  }
9953
- function DL(e) {
9953
+ function RL(e) {
9954
9954
  if (e)
9955
9955
  return e.slice(1).map((t, n) => t - e[n]);
9956
9956
  }
@@ -9966,14 +9966,14 @@ function Ac(e, t) {
9966
9966
  return t;
9967
9967
  if (e.length === 1)
9968
9968
  return "15seconds";
9969
- const n = DL(e), r = Yn(n);
9969
+ const n = RL(e), r = Yn(n);
9970
9970
  return kL(r);
9971
9971
  }
9972
9972
  function ra(e) {
9973
9973
  const { s: t, m: n, H: r } = lo(e);
9974
9974
  return r === 0 && n === 0 && t === 0;
9975
9975
  }
9976
- function Di(e, t) {
9976
+ function Ri(e, t) {
9977
9977
  const n = lo(e).M, r = lo(t).M;
9978
9978
  return n !== r;
9979
9979
  }
@@ -10007,7 +10007,7 @@ function $v(e, t) {
10007
10007
  }
10008
10008
  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 || {});
10009
10009
  function IL(e, t) {
10010
- return e && ov(e, t, Rs);
10010
+ return e && ov(e, t, Ds);
10011
10011
  }
10012
10012
  function NL(e, t) {
10013
10013
  return function(n, r) {
@@ -10127,7 +10127,7 @@ let dn = class {
10127
10127
  * @param newData The new raw data to be set
10128
10128
  */
10129
10129
  setData(t) {
10130
- const n = this.sanitize(Rn(t)), r = this.generateDataGroups(n);
10130
+ const n = this.sanitize(Dn(t)), r = this.generateDataGroups(n);
10131
10131
  return this.set({
10132
10132
  data: n,
10133
10133
  dataGroups: r
@@ -10504,7 +10504,7 @@ let dn = class {
10504
10504
  * @param zoomBarData any special zoom bar data to use instead of the model data
10505
10505
  */
10506
10506
  setZoomBarData(t) {
10507
- const n = t ? this.sanitize(Rn(t)) : this.getDisplayData();
10507
+ const n = t ? this.sanitize(Dn(t)) : this.getDisplayData();
10508
10508
  let r = n;
10509
10509
  const { cartesianScales: i } = this.services;
10510
10510
  if (n && i.domainAxisPosition && i.rangeAxisPosition) {
@@ -10833,7 +10833,7 @@ let dn = class {
10833
10833
  ];
10834
10834
  return super.formatTable({ headers: a, cells: o });
10835
10835
  }
10836
- }, tR = class extends $r {
10836
+ }, tD = class extends $r {
10837
10837
  constructor(t) {
10838
10838
  super(t), this.axisFlavor = bo.HOVERABLE, this._colorScale = void 0, this._domains = [], this._ranges = [], this._matrix = {};
10839
10839
  const n = b(this.getOptions(), "axes");
@@ -10907,7 +10907,7 @@ let dn = class {
10907
10907
  index: -1
10908
10908
  };
10909
10909
  }), t.forEach((a) => {
10910
- this._matrix[a] = Rn(s);
10910
+ this._matrix[a] = Dn(s);
10911
10911
  }), this.getDisplayData().forEach((a, o) => {
10912
10912
  this._matrix[a[r]][a[i]] = {
10913
10913
  value: a.value,
@@ -10922,7 +10922,7 @@ let dn = class {
10922
10922
  * @param newData The new raw data to be set
10923
10923
  */
10924
10924
  setData(t) {
10925
- const n = this.sanitize(Rn(t)), r = this.generateDataGroups(n);
10925
+ const n = this.sanitize(Dn(t)), r = this.generateDataGroups(n);
10926
10926
  return this.set({
10927
10927
  data: n,
10928
10928
  dataGroups: r
@@ -10978,7 +10978,7 @@ let dn = class {
10978
10978
  const l = b(this.getOptions(), "color");
10979
10979
  this._colorScale = $v(this.getDisplayData(), l);
10980
10980
  }
10981
- }, eR = class extends $r {
10981
+ }, eD = class extends $r {
10982
10982
  getTabularDataArray() {
10983
10983
  const t = this.getOptions(), { groupMapsTo: n } = t.data, { number: r, code: i } = b(this.getOptions(), "locale"), s = this.getBinnedStackedData(), a = [
10984
10984
  _t(t, "bins.rangeLabel") || "Range",
@@ -10996,7 +10996,7 @@ let dn = class {
10996
10996
  ];
10997
10997
  return super.formatTable({ headers: a, cells: o });
10998
10998
  }
10999
- }, nR = class extends dn {
10999
+ }, nD = class extends dn {
11000
11000
  constructor(t) {
11001
11001
  super(t);
11002
11002
  }
@@ -11052,7 +11052,7 @@ let dn = class {
11052
11052
  ];
11053
11053
  return super.formatTable({ headers: l, cells: c });
11054
11054
  }
11055
- }, rR = class extends $r {
11055
+ }, rD = class extends $r {
11056
11056
  constructor(t) {
11057
11057
  super(t);
11058
11058
  }
@@ -11067,7 +11067,7 @@ let dn = class {
11067
11067
  ];
11068
11068
  return super.formatTable({ headers: l, cells: c });
11069
11069
  }
11070
- }, iR = class extends dn {
11070
+ }, iD = class extends dn {
11071
11071
  constructor(t) {
11072
11072
  super(t);
11073
11073
  }
@@ -11087,7 +11087,7 @@ let dn = class {
11087
11087
  this.getChildrenDatums(r, n), n.push([r.name, t.name]);
11088
11088
  });
11089
11089
  }
11090
- }, sR = class extends dn {
11090
+ }, sD = class extends dn {
11091
11091
  constructor(t) {
11092
11092
  super(t);
11093
11093
  }
@@ -11099,7 +11099,7 @@ let dn = class {
11099
11099
  }) : b(a.name) !== null && b(a.value) && s.push(["–", a.name, n(a.value, r)]);
11100
11100
  }), super.formatTable({ headers: i, cells: s });
11101
11101
  }
11102
- }, aR = class extends dn {
11102
+ }, aD = class extends dn {
11103
11103
  constructor(t) {
11104
11104
  super(t);
11105
11105
  }
@@ -11114,17 +11114,17 @@ let dn = class {
11114
11114
  return super.formatTable({ headers: l, cells: c });
11115
11115
  }
11116
11116
  };
11117
- var oR = /\s/;
11118
- function lR(e) {
11119
- for (var t = e.length; t-- && oR.test(e.charAt(t)); )
11117
+ var oD = /\s/;
11118
+ function lD(e) {
11119
+ for (var t = e.length; t-- && oD.test(e.charAt(t)); )
11120
11120
  ;
11121
11121
  return t;
11122
11122
  }
11123
- var cR = /^\s+/;
11124
- function uR(e) {
11125
- return e && e.slice(0, lR(e) + 1).replace(cR, "");
11123
+ var cD = /^\s+/;
11124
+ function uD(e) {
11125
+ return e && e.slice(0, lD(e) + 1).replace(cD, "");
11126
11126
  }
11127
- var wf = NaN, hR = /^[-+]0x[0-9a-f]+$/i, dR = /^0b[01]+$/i, fR = /^0o[0-7]+$/i, pR = parseInt;
11127
+ var wf = NaN, hD = /^[-+]0x[0-9a-f]+$/i, dD = /^0b[01]+$/i, fD = /^0o[0-7]+$/i, pD = parseInt;
11128
11128
  function as(e) {
11129
11129
  if (typeof e == "number")
11130
11130
  return e;
@@ -11136,20 +11136,20 @@ function as(e) {
11136
11136
  }
11137
11137
  if (typeof e != "string")
11138
11138
  return e === 0 ? e : +e;
11139
- e = uR(e);
11140
- var n = dR.test(e);
11141
- return n || fR.test(e) ? pR(e.slice(2), n ? 2 : 8) : hR.test(e) ? wf : +e;
11139
+ e = uD(e);
11140
+ var n = dD.test(e);
11141
+ return n || fD.test(e) ? pD(e.slice(2), n ? 2 : 8) : hD.test(e) ? wf : +e;
11142
11142
  }
11143
- var mR = function() {
11143
+ var mD = function() {
11144
11144
  return Je.Date.now();
11145
11145
  };
11146
- const Ll = mR;
11147
- var gR = "Expected a function", vR = Math.max, yR = Math.min;
11146
+ const Ll = mD;
11147
+ var gD = "Expected a function", vD = Math.max, yD = Math.min;
11148
11148
  function co(e, t, n) {
11149
11149
  var r, i, s, a, o, l, c = 0, u = !1, d = !1, h = !0;
11150
11150
  if (typeof e != "function")
11151
- throw new TypeError(gR);
11152
- t = as(t) || 0, Ue(n) && (u = !!n.leading, d = "maxWait" in n, s = d ? vR(as(n.maxWait) || 0, t) : s, h = "trailing" in n ? !!n.trailing : h);
11151
+ throw new TypeError(gD);
11152
+ t = as(t) || 0, Ue(n) && (u = !!n.leading, d = "maxWait" in n, s = d ? vD(as(n.maxWait) || 0, t) : s, h = "trailing" in n ? !!n.trailing : h);
11153
11153
  function f(S) {
11154
11154
  var A = r, k = i;
11155
11155
  return r = i = void 0, c = S, a = e.apply(k, A), a;
@@ -11158,8 +11158,8 @@ function co(e, t, n) {
11158
11158
  return c = S, o = setTimeout(y, t), u ? f(S) : a;
11159
11159
  }
11160
11160
  function v(S) {
11161
- var A = S - l, k = S - c, D = t - A;
11162
- return d ? yR(D, s - k) : D;
11161
+ var A = S - l, k = S - c, R = t - A;
11162
+ return d ? yD(R, s - k) : R;
11163
11163
  }
11164
11164
  function m(S) {
11165
11165
  var A = S - l, k = S - c;
@@ -11192,7 +11192,7 @@ function co(e, t, n) {
11192
11192
  }
11193
11193
  return _.cancel = x, _.flush = w, _;
11194
11194
  }
11195
- function xR(e, t) {
11195
+ function xD(e, t) {
11196
11196
  if (e.match(/^[a-z]+:\/\//i))
11197
11197
  return e;
11198
11198
  if (e.match(/^\/\//))
@@ -11202,7 +11202,7 @@ function xR(e, t) {
11202
11202
  const n = document.implementation.createHTMLDocument(), r = n.createElement("base"), i = n.createElement("a");
11203
11203
  return n.head.appendChild(r), n.body.appendChild(i), t && (r.href = t), i.href = e, i.href;
11204
11204
  }
11205
- const bR = /* @__PURE__ */ (() => {
11205
+ const bD = /* @__PURE__ */ (() => {
11206
11206
  let e = 0;
11207
11207
  const t = () => (
11208
11208
  // eslint-disable-next-line no-bitwise
@@ -11220,19 +11220,19 @@ function uo(e, t) {
11220
11220
  const n = (e.ownerDocument.defaultView || window).getComputedStyle(e).getPropertyValue(t);
11221
11221
  return n ? parseFloat(n.replace("px", "")) : 0;
11222
11222
  }
11223
- function ER(e) {
11223
+ function ED(e) {
11224
11224
  const t = uo(e, "border-left-width"), n = uo(e, "border-right-width");
11225
11225
  return e.clientWidth + t + n;
11226
11226
  }
11227
- function _R(e) {
11227
+ function _D(e) {
11228
11228
  const t = uo(e, "border-top-width"), n = uo(e, "border-bottom-width");
11229
11229
  return e.clientHeight + t + n;
11230
11230
  }
11231
11231
  function Lv(e, t = {}) {
11232
- const n = t.width || ER(e), r = t.height || _R(e);
11232
+ const n = t.width || ED(e), r = t.height || _D(e);
11233
11233
  return { width: n, height: r };
11234
11234
  }
11235
- function wR() {
11235
+ function wD() {
11236
11236
  let e, t;
11237
11237
  try {
11238
11238
  t = process;
@@ -11242,7 +11242,7 @@ function wR() {
11242
11242
  return n && (e = parseInt(n, 10), Number.isNaN(e) && (e = 1)), e || window.devicePixelRatio || 1;
11243
11243
  }
11244
11244
  const Se = 16384;
11245
- function SR(e) {
11245
+ function SD(e) {
11246
11246
  (e.width > Se || e.height > Se) && (e.width > Se && e.height > Se ? e.width > e.height ? (e.height *= Se / e.width, e.width = Se) : (e.width *= Se / e.height, e.height = Se) : e.width > Se ? (e.height *= Se / e.width, e.width = Se) : (e.width *= Se / e.height, e.height = Se));
11247
11247
  }
11248
11248
  function ho(e) {
@@ -11251,12 +11251,12 @@ function ho(e) {
11251
11251
  r.decode = () => t(r), r.onload = () => t(r), r.onerror = n, r.crossOrigin = "anonymous", r.decoding = "async", r.src = e;
11252
11252
  });
11253
11253
  }
11254
- async function OR(e) {
11254
+ async function OD(e) {
11255
11255
  return Promise.resolve().then(() => new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then((t) => `data:image/svg+xml;charset=utf-8,${t}`);
11256
11256
  }
11257
- async function TR(e, t, n) {
11257
+ async function TD(e, t, n) {
11258
11258
  const r = "http://www.w3.org/2000/svg", i = document.createElementNS(r, "svg"), s = document.createElementNS(r, "foreignObject");
11259
- return i.setAttribute("width", `${t}`), i.setAttribute("height", `${n}`), i.setAttribute("viewBox", `0 0 ${t} ${n}`), s.setAttribute("width", "100%"), s.setAttribute("height", "100%"), s.setAttribute("x", "0"), s.setAttribute("y", "0"), s.setAttribute("externalResourcesRequired", "true"), i.appendChild(s), s.appendChild(e), OR(i);
11259
+ return i.setAttribute("width", `${t}`), i.setAttribute("height", `${n}`), i.setAttribute("viewBox", `0 0 ${t} ${n}`), s.setAttribute("width", "100%"), s.setAttribute("height", "100%"), s.setAttribute("x", "0"), s.setAttribute("y", "0"), s.setAttribute("externalResourcesRequired", "true"), i.appendChild(s), s.appendChild(e), OD(i);
11260
11260
  }
11261
11261
  const xe = (e, t) => {
11262
11262
  if (e instanceof t)
@@ -11264,37 +11264,37 @@ const xe = (e, t) => {
11264
11264
  const n = Object.getPrototypeOf(e);
11265
11265
  return n === null ? !1 : n.constructor.name === t.name || xe(n, t);
11266
11266
  };
11267
- function MR(e) {
11267
+ function MD(e) {
11268
11268
  const t = e.getPropertyValue("content");
11269
11269
  return `${e.cssText} content: '${t.replace(/'|"/g, "")}';`;
11270
11270
  }
11271
- function CR(e) {
11271
+ function CD(e) {
11272
11272
  return Tn(e).map((t) => {
11273
11273
  const n = e.getPropertyValue(t), r = e.getPropertyPriority(t);
11274
11274
  return `${t}: ${n}${r ? " !important" : ""};`;
11275
11275
  }).join(" ");
11276
11276
  }
11277
- function AR(e, t, n) {
11278
- const r = `.${e}:${t}`, i = n.cssText ? MR(n) : CR(n);
11277
+ function AD(e, t, n) {
11278
+ const r = `.${e}:${t}`, i = n.cssText ? MD(n) : CD(n);
11279
11279
  return document.createTextNode(`${r}{${i}}`);
11280
11280
  }
11281
11281
  function Sf(e, t, n) {
11282
11282
  const r = window.getComputedStyle(e, n), i = r.getPropertyValue("content");
11283
11283
  if (i === "" || i === "none")
11284
11284
  return;
11285
- const s = bR();
11285
+ const s = bD();
11286
11286
  try {
11287
11287
  t.className = `${t.className} ${s}`;
11288
11288
  } catch {
11289
11289
  return;
11290
11290
  }
11291
11291
  const a = document.createElement("style");
11292
- a.appendChild(AR(s, n, r)), t.appendChild(a);
11292
+ a.appendChild(AD(s, n, r)), t.appendChild(a);
11293
11293
  }
11294
- function $R(e, t) {
11294
+ function $D(e, t) {
11295
11295
  Sf(e, t, ":before"), Sf(e, t, ":after");
11296
11296
  }
11297
- const Of = "application/font-woff", Tf = "image/jpeg", LR = {
11297
+ const Of = "application/font-woff", Tf = "image/jpeg", LD = {
11298
11298
  woff: Of,
11299
11299
  woff2: Of,
11300
11300
  ttf: "application/font-truetype",
@@ -11307,24 +11307,24 @@ const Of = "application/font-woff", Tf = "image/jpeg", LR = {
11307
11307
  svg: "image/svg+xml",
11308
11308
  webp: "image/webp"
11309
11309
  };
11310
- function RR(e) {
11310
+ function DD(e) {
11311
11311
  const t = /\.([^./]*?)$/g.exec(e);
11312
11312
  return t ? t[1] : "";
11313
11313
  }
11314
11314
  function Qu(e) {
11315
- const t = RR(e).toLowerCase();
11316
- return LR[t] || "";
11315
+ const t = DD(e).toLowerCase();
11316
+ return LD[t] || "";
11317
11317
  }
11318
- function DR(e) {
11318
+ function RD(e) {
11319
11319
  return e.split(/,/)[1];
11320
11320
  }
11321
11321
  function $c(e) {
11322
11322
  return e.search(/^(data:)/) !== -1;
11323
11323
  }
11324
- function Rv(e, t) {
11324
+ function Dv(e, t) {
11325
11325
  return `data:${t};base64,${e}`;
11326
11326
  }
11327
- async function Dv(e, t, n) {
11327
+ async function Rv(e, t, n) {
11328
11328
  const r = await fetch(e, t);
11329
11329
  if (r.status === 404)
11330
11330
  throw new Error(`Resource "${r.url}" not found`);
@@ -11340,32 +11340,32 @@ async function Dv(e, t, n) {
11340
11340
  }, o.readAsDataURL(i);
11341
11341
  });
11342
11342
  }
11343
- const Rl = {};
11344
- function kR(e, t, n) {
11343
+ const Dl = {};
11344
+ function kD(e, t, n) {
11345
11345
  let r = e.replace(/\?.*/, "");
11346
11346
  return n && (r = e), /ttf|otf|eot|woff2?/i.test(r) && (r = r.replace(/.*\//, "")), t ? `[${t}]${r}` : r;
11347
11347
  }
11348
11348
  async function Ju(e, t, n) {
11349
- const r = kR(e, t, n.includeQueryParams);
11350
- if (Rl[r] != null)
11351
- return Rl[r];
11349
+ const r = kD(e, t, n.includeQueryParams);
11350
+ if (Dl[r] != null)
11351
+ return Dl[r];
11352
11352
  n.cacheBust && (e += (/\?/.test(e) ? "&" : "?") + (/* @__PURE__ */ new Date()).getTime());
11353
11353
  let i;
11354
11354
  try {
11355
- const s = await Dv(e, n.fetchRequestInit, ({ res: a, result: o }) => (t || (t = a.headers.get("Content-Type") || ""), DR(o)));
11356
- i = Rv(s, t);
11355
+ const s = await Rv(e, n.fetchRequestInit, ({ res: a, result: o }) => (t || (t = a.headers.get("Content-Type") || ""), RD(o)));
11356
+ i = Dv(s, t);
11357
11357
  } catch (s) {
11358
11358
  i = n.imagePlaceholder || "";
11359
11359
  let a = `Failed to fetch resource: ${e}`;
11360
11360
  s && (a = typeof s == "string" ? s : s.message), a && console.warn(a);
11361
11361
  }
11362
- return Rl[r] = i, i;
11362
+ return Dl[r] = i, i;
11363
11363
  }
11364
- async function IR(e) {
11364
+ async function ID(e) {
11365
11365
  const t = e.toDataURL();
11366
11366
  return t === "data:," ? e.cloneNode(!1) : ho(t);
11367
11367
  }
11368
- async function NR(e, t) {
11368
+ async function ND(e, t) {
11369
11369
  if (e.currentSrc) {
11370
11370
  const s = document.createElement("canvas"), a = s.getContext("2d");
11371
11371
  s.width = e.clientWidth, s.height = e.clientHeight, a == null || a.drawImage(e, 0, 0, s.width, s.height);
@@ -11375,7 +11375,7 @@ async function NR(e, t) {
11375
11375
  const n = e.poster, r = Qu(n), i = await Ju(n, r, t);
11376
11376
  return ho(i);
11377
11377
  }
11378
- async function PR(e) {
11378
+ async function PD(e) {
11379
11379
  var t;
11380
11380
  try {
11381
11381
  if (!((t = e == null ? void 0 : e.contentDocument) === null || t === void 0) && t.body)
@@ -11384,18 +11384,18 @@ async function PR(e) {
11384
11384
  }
11385
11385
  return e.cloneNode(!1);
11386
11386
  }
11387
- async function UR(e, t) {
11388
- return xe(e, HTMLCanvasElement) ? IR(e) : xe(e, HTMLVideoElement) ? NR(e, t) : xe(e, HTMLIFrameElement) ? PR(e) : e.cloneNode(!1);
11387
+ async function UD(e, t) {
11388
+ return xe(e, HTMLCanvasElement) ? ID(e) : xe(e, HTMLVideoElement) ? ND(e, t) : xe(e, HTMLIFrameElement) ? PD(e) : e.cloneNode(!1);
11389
11389
  }
11390
- const BR = (e) => e.tagName != null && e.tagName.toUpperCase() === "SLOT";
11391
- async function VR(e, t, n) {
11390
+ const BD = (e) => e.tagName != null && e.tagName.toUpperCase() === "SLOT";
11391
+ async function VD(e, t, n) {
11392
11392
  var r, i;
11393
11393
  let s = [];
11394
- return BR(e) && e.assignedNodes ? s = Tn(e.assignedNodes()) : xe(e, HTMLIFrameElement) && !((r = e.contentDocument) === null || r === void 0) && r.body ? s = Tn(e.contentDocument.body.childNodes) : s = Tn(((i = e.shadowRoot) !== null && i !== void 0 ? i : e).childNodes), s.length === 0 || xe(e, HTMLVideoElement) || await s.reduce((a, o) => a.then(() => jo(o, n)).then((l) => {
11394
+ return BD(e) && e.assignedNodes ? s = Tn(e.assignedNodes()) : xe(e, HTMLIFrameElement) && !((r = e.contentDocument) === null || r === void 0) && r.body ? s = Tn(e.contentDocument.body.childNodes) : s = Tn(((i = e.shadowRoot) !== null && i !== void 0 ? i : e).childNodes), s.length === 0 || xe(e, HTMLVideoElement) || await s.reduce((a, o) => a.then(() => jo(o, n)).then((l) => {
11395
11395
  l && t.appendChild(l);
11396
11396
  }), Promise.resolve()), t;
11397
11397
  }
11398
- function HR(e, t) {
11398
+ function HD(e, t) {
11399
11399
  const n = t.style;
11400
11400
  if (!n)
11401
11401
  return;
@@ -11405,19 +11405,19 @@ function HR(e, t) {
11405
11405
  i === "font-size" && s.endsWith("px") && (s = `${Math.floor(parseFloat(s.substring(0, s.length - 2))) - 0.1}px`), xe(e, HTMLIFrameElement) && i === "display" && s === "inline" && (s = "block"), i === "d" && t.getAttribute("d") && (s = `path(${t.getAttribute("d")})`), n.setProperty(i, s, r.getPropertyPriority(i));
11406
11406
  });
11407
11407
  }
11408
- function FR(e, t) {
11408
+ function FD(e, t) {
11409
11409
  xe(e, HTMLTextAreaElement) && (t.innerHTML = e.value), xe(e, HTMLInputElement) && t.setAttribute("value", e.value);
11410
11410
  }
11411
- function zR(e, t) {
11411
+ function zD(e, t) {
11412
11412
  if (xe(e, HTMLSelectElement)) {
11413
11413
  const n = t, r = Array.from(n.children).find((i) => e.value === i.getAttribute("value"));
11414
11414
  r && r.setAttribute("selected", "");
11415
11415
  }
11416
11416
  }
11417
- function GR(e, t) {
11418
- return xe(t, Element) && (HR(e, t), $R(e, t), FR(e, t), zR(e, t)), t;
11417
+ function GD(e, t) {
11418
+ return xe(t, Element) && (HD(e, t), $D(e, t), FD(e, t), zD(e, t)), t;
11419
11419
  }
11420
- async function jR(e, t) {
11420
+ async function jD(e, t) {
11421
11421
  const n = e.querySelectorAll ? e.querySelectorAll("use") : [];
11422
11422
  if (n.length === 0)
11423
11423
  return e;
@@ -11442,35 +11442,35 @@ async function jR(e, t) {
11442
11442
  return e;
11443
11443
  }
11444
11444
  async function jo(e, t, n) {
11445
- return !n && t.filter && !t.filter(e) ? null : Promise.resolve(e).then((r) => UR(r, t)).then((r) => VR(e, r, t)).then((r) => GR(e, r)).then((r) => jR(r, t));
11445
+ return !n && t.filter && !t.filter(e) ? null : Promise.resolve(e).then((r) => UD(r, t)).then((r) => VD(e, r, t)).then((r) => GD(e, r)).then((r) => jD(r, t));
11446
11446
  }
11447
- const kv = /url\((['"]?)([^'"]+?)\1\)/g, WR = /url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g, qR = /src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;
11448
- function YR(e) {
11447
+ const kv = /url\((['"]?)([^'"]+?)\1\)/g, WD = /url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g, qD = /src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;
11448
+ function YD(e) {
11449
11449
  const t = e.replace(/([.*+?^${}()|\[\]\/\\])/g, "\\$1");
11450
11450
  return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`, "g");
11451
11451
  }
11452
- function XR(e) {
11452
+ function XD(e) {
11453
11453
  const t = [];
11454
11454
  return e.replace(kv, (n, r, i) => (t.push(i), n)), t.filter((n) => !$c(n));
11455
11455
  }
11456
- async function ZR(e, t, n, r, i) {
11456
+ async function ZD(e, t, n, r, i) {
11457
11457
  try {
11458
- const s = n ? xR(t, n) : t, a = Qu(t);
11458
+ const s = n ? xD(t, n) : t, a = Qu(t);
11459
11459
  let o;
11460
11460
  if (i) {
11461
11461
  const l = await i(s);
11462
- o = Rv(l, a);
11462
+ o = Dv(l, a);
11463
11463
  } else
11464
11464
  o = await Ju(s, a, r);
11465
- return e.replace(YR(t), `$1${o}$3`);
11465
+ return e.replace(YD(t), `$1${o}$3`);
11466
11466
  } catch {
11467
11467
  }
11468
11468
  return e;
11469
11469
  }
11470
- function KR(e, { preferredFontFormat: t }) {
11471
- return t ? e.replace(qR, (n) => {
11470
+ function KD(e, { preferredFontFormat: t }) {
11471
+ return t ? e.replace(qD, (n) => {
11472
11472
  for (; ; ) {
11473
- const [r, , i] = WR.exec(n) || [];
11473
+ const [r, , i] = WD.exec(n) || [];
11474
11474
  if (!i)
11475
11475
  return "";
11476
11476
  if (i === t)
@@ -11484,8 +11484,8 @@ function Iv(e) {
11484
11484
  async function Nv(e, t, n) {
11485
11485
  if (!Iv(e))
11486
11486
  return e;
11487
- const r = KR(e, n);
11488
- return XR(r).reduce((i, s) => i.then((a) => ZR(a, s, t, n)), Promise.resolve(r));
11487
+ const r = KD(e, n);
11488
+ return XD(r).reduce((i, s) => i.then((a) => ZD(a, s, t, n)), Promise.resolve(r));
11489
11489
  }
11490
11490
  async function ia(e, t, n) {
11491
11491
  var r;
@@ -11496,10 +11496,10 @@ async function ia(e, t, n) {
11496
11496
  }
11497
11497
  return !1;
11498
11498
  }
11499
- async function QR(e, t) {
11499
+ async function QD(e, t) {
11500
11500
  await ia("background", e, t) || await ia("background-image", e, t), await ia("mask", e, t) || await ia("mask-image", e, t);
11501
11501
  }
11502
- async function JR(e, t) {
11502
+ async function JD(e, t) {
11503
11503
  const n = xe(e, HTMLImageElement);
11504
11504
  if (!(n && !$c(e.src)) && !(xe(e, SVGImageElement) && !$c(e.href.baseVal)))
11505
11505
  return;
@@ -11510,14 +11510,14 @@ async function JR(e, t) {
11510
11510
  o.decode && (o.decode = s), o.loading === "lazy" && (o.loading = "eager"), n ? (e.srcset = "", e.src = i) : e.href.baseVal = i;
11511
11511
  });
11512
11512
  }
11513
- async function tD(e, t) {
11513
+ async function tR(e, t) {
11514
11514
  const n = Tn(e.childNodes).map((r) => Pv(r, t));
11515
11515
  await Promise.all(n).then(() => e);
11516
11516
  }
11517
11517
  async function Pv(e, t) {
11518
- xe(e, Element) && (await QR(e, t), await JR(e, t), await tD(e, t));
11518
+ xe(e, Element) && (await QD(e, t), await JD(e, t), await tR(e, t));
11519
11519
  }
11520
- function eD(e, t) {
11520
+ function eR(e, t) {
11521
11521
  const { style: n } = e;
11522
11522
  t.backgroundColor && (n.backgroundColor = t.backgroundColor), t.width && (n.width = `${t.width}px`), t.height && (n.height = `${t.height}px`);
11523
11523
  const r = t.style;
@@ -11537,7 +11537,7 @@ async function Af(e, t) {
11537
11537
  let n = e.cssText;
11538
11538
  const r = /url\(["']?([^"')]+)["']?\)/g, i = (n.match(/url\([^)]+\)/g) || []).map(async (s) => {
11539
11539
  let a = s.replace(r, "$1");
11540
- return a.startsWith("https://") || (a = new URL(a, e.url).href), Dv(a, t.fetchRequestInit, ({ result: o }) => (n = n.replace(s, `url(${o})`), [s, o]));
11540
+ return a.startsWith("https://") || (a = new URL(a, e.url).href), Rv(a, t.fetchRequestInit, ({ result: o }) => (n = n.replace(s, `url(${o})`), [s, o]));
11541
11541
  });
11542
11542
  return Promise.all(i).then(() => n);
11543
11543
  }
@@ -11567,7 +11567,7 @@ function $f(e) {
11567
11567
  }
11568
11568
  return t;
11569
11569
  }
11570
- async function nD(e, t) {
11570
+ async function nR(e, t) {
11571
11571
  const n = [], r = [];
11572
11572
  return e.forEach((i) => {
11573
11573
  if ("cssRules" in i)
@@ -11609,42 +11609,42 @@ async function nD(e, t) {
11609
11609
  }
11610
11610
  }), n));
11611
11611
  }
11612
- function rD(e) {
11612
+ function rR(e) {
11613
11613
  return e.filter((t) => t.type === CSSRule.FONT_FACE_RULE).filter((t) => Iv(t.style.getPropertyValue("src")));
11614
11614
  }
11615
- async function iD(e, t) {
11615
+ async function iR(e, t) {
11616
11616
  if (e.ownerDocument == null)
11617
11617
  throw new Error("Provided element is not within a Document");
11618
- const n = Tn(e.ownerDocument.styleSheets), r = await nD(n, t);
11619
- return rD(r);
11618
+ const n = Tn(e.ownerDocument.styleSheets), r = await nR(n, t);
11619
+ return rR(r);
11620
11620
  }
11621
- async function sD(e, t) {
11622
- const n = await iD(e, t);
11621
+ async function sR(e, t) {
11622
+ const n = await iR(e, t);
11623
11623
  return (await Promise.all(n.map((r) => {
11624
11624
  const i = r.parentStyleSheet ? r.parentStyleSheet.href : null;
11625
11625
  return Nv(r.cssText, i, t);
11626
11626
  }))).join(`
11627
11627
  `);
11628
11628
  }
11629
- async function aD(e, t) {
11630
- const n = t.fontEmbedCSS != null ? t.fontEmbedCSS : t.skipFonts ? null : await sD(e, t);
11629
+ async function aR(e, t) {
11630
+ const n = t.fontEmbedCSS != null ? t.fontEmbedCSS : t.skipFonts ? null : await sR(e, t);
11631
11631
  if (n) {
11632
11632
  const r = document.createElement("style"), i = document.createTextNode(n);
11633
11633
  r.appendChild(i), e.firstChild ? e.insertBefore(r, e.firstChild) : e.appendChild(r);
11634
11634
  }
11635
11635
  }
11636
- async function oD(e, t = {}) {
11636
+ async function oR(e, t = {}) {
11637
11637
  const { width: n, height: r } = Lv(e, t), i = await jo(e, t, !0);
11638
- return await aD(i, t), await Pv(i, t), eD(i, t), await TR(i, n, r);
11638
+ return await aR(i, t), await Pv(i, t), eR(i, t), await TD(i, n, r);
11639
11639
  }
11640
11640
  async function Uv(e, t = {}) {
11641
- const { width: n, height: r } = Lv(e, t), i = await oD(e, t), s = await ho(i), a = document.createElement("canvas"), o = a.getContext("2d"), l = t.pixelRatio || wR(), c = t.canvasWidth || n, u = t.canvasHeight || r;
11642
- return a.width = c * l, a.height = u * l, t.skipAutoScale || SR(a), a.style.width = `${c}`, a.style.height = `${u}`, t.backgroundColor && (o.fillStyle = t.backgroundColor, o.fillRect(0, 0, a.width, a.height)), o.drawImage(s, 0, 0, a.width, a.height), a;
11641
+ const { width: n, height: r } = Lv(e, t), i = await oR(e, t), s = await ho(i), a = document.createElement("canvas"), o = a.getContext("2d"), l = t.pixelRatio || wD(), c = t.canvasWidth || n, u = t.canvasHeight || r;
11642
+ return a.width = c * l, a.height = u * l, t.skipAutoScale || SD(a), a.style.width = `${c}`, a.style.height = `${u}`, t.backgroundColor && (o.fillStyle = t.backgroundColor, o.fillRect(0, 0, a.width, a.height)), o.drawImage(s, 0, 0, a.width, a.height), a;
11643
11643
  }
11644
- async function lD(e, t = {}) {
11644
+ async function lR(e, t = {}) {
11645
11645
  return (await Uv(e, t)).toDataURL();
11646
11646
  }
11647
- async function cD(e, t = {}) {
11647
+ async function cR(e, t = {}) {
11648
11648
  return (await Uv(e, t)).toDataURL("image/jpeg", t.quality || 1);
11649
11649
  }
11650
11650
  class Nn {
@@ -11664,7 +11664,7 @@ class Nn {
11664
11664
  this.services = t;
11665
11665
  }
11666
11666
  }
11667
- const uD = "DONT_STYLE_ME_css_styles_verifier";
11667
+ const uR = "DONT_STYLE_ME_css_styles_verifier";
11668
11668
  let N = class Lc extends Nn {
11669
11669
  // initialized in initializeID() called by init()
11670
11670
  constructor(t, n) {
@@ -11761,7 +11761,7 @@ let N = class Lc extends Nn {
11761
11761
  }
11762
11762
  addMainContainer() {
11763
11763
  const t = this.model.getOptions(), n = b(t, "style", "prefix"), r = I(this.getHolder()).append("div").classed(`${ge}--${n}--chart-wrapper`, !0).attr("id", `chart-${this.getChartID()}`).style("height", "100%").style("width", "100%");
11764
- r.append("g").attr("class", uD), this.mainContainer = r.node();
11764
+ r.append("g").attr("class", uR), this.mainContainer = r.node();
11765
11765
  }
11766
11766
  update() {
11767
11767
  this.styleHolderElement();
@@ -11775,7 +11775,7 @@ let N = class Lc extends Nn {
11775
11775
  }
11776
11776
  exportToJPG() {
11777
11777
  const t = this, n = this.model.getOptions(), r = this.getHolder(), i = I(r);
11778
- i.classed("filled", !0), cD(this.getMainContainer(), {
11778
+ i.classed("filled", !0), cR(this.getMainContainer(), {
11779
11779
  quality: 1,
11780
11780
  // Remove toolbar
11781
11781
  filter: (s) => !(s.classList && s.classList.contains("cds--cc--toolbar"))
@@ -11788,7 +11788,7 @@ let N = class Lc extends Nn {
11788
11788
  }
11789
11789
  exportToPNG() {
11790
11790
  const t = this, n = this.model.getOptions(), r = this.getHolder(), i = I(r);
11791
- i.classed("filled", !0), lD(this.getMainContainer(), {
11791
+ i.classed("filled", !0), lR(this.getMainContainer(), {
11792
11792
  quality: 1,
11793
11793
  // Remove toolbar
11794
11794
  filter: (s) => !(s.classList && s.classList.contains("cds--cc--toolbar"))
@@ -11856,7 +11856,7 @@ let N = class Lc extends Nn {
11856
11856
  }, 12.5);
11857
11857
  new ResizeObserver(i).observe(t);
11858
11858
  }
11859
- }, Rc = class Bv extends Nn {
11859
+ }, Dc = class Bv extends Nn {
11860
11860
  static appendOrUpdateLinearGradient(t) {
11861
11861
  let n = t.svg.select(`defs linearGradient#${t.id}`);
11862
11862
  n.empty() && (n = t.svg.append("defs").append("linearGradient").attr("id", t.id).attr("x1", t.x1).attr("x2", t.x2).attr("y1", t.y1).attr("y2", t.y2)), n.selectAll("stop").remove(), n.selectAll("stop").data(t.stops).enter().append("stop").attr("offset", (r) => r.offset).style("stop-color", (r) => r.color).style("stop-opacity", (r) => r.opacity);
@@ -11898,7 +11898,7 @@ let N = class Lc extends Nn {
11898
11898
  }
11899
11899
  };
11900
11900
  function Lf(e) {
11901
- const t = hD(Vv(e), 360);
11901
+ const t = hR(Vv(e), 360);
11902
11902
  return zn(t, [0, 10]) || zn(t, [350, 0]) ? {
11903
11903
  textAnchor: vn.START,
11904
11904
  dominantBaseline: yn.MIDDLE
@@ -11925,7 +11925,7 @@ function Lf(e) {
11925
11925
  dominantBaseline: yn.BASELINE
11926
11926
  };
11927
11927
  }
11928
- function hD(e, t) {
11928
+ function hR(e, t) {
11929
11929
  return (e % t + t) % t;
11930
11930
  }
11931
11931
  function zn(e, [t, n]) {
@@ -11938,10 +11938,10 @@ function Yt(e, t, n = { x: 0, y: 0 }) {
11938
11938
  const r = t * Math.cos(e) + n.x, i = t * Math.sin(e) + n.y;
11939
11939
  return { x: isNaN(r) ? 0 : r, y: isNaN(i) ? 0 : i };
11940
11940
  }
11941
- function dD(e, t) {
11941
+ function dR(e, t) {
11942
11942
  return t * Math.sin(e - Math.PI / 2);
11943
11943
  }
11944
- function Rf(e, t) {
11944
+ function Df(e, t) {
11945
11945
  let n;
11946
11946
  if (t === void 0)
11947
11947
  for (const r of e)
@@ -11953,7 +11953,7 @@ function Rf(e, t) {
11953
11953
  }
11954
11954
  return n;
11955
11955
  }
11956
- function fD(e, t) {
11956
+ function fR(e, t) {
11957
11957
  let n;
11958
11958
  if (t === void 0)
11959
11959
  for (const r of e)
@@ -11965,7 +11965,7 @@ function fD(e, t) {
11965
11965
  }
11966
11966
  return n;
11967
11967
  }
11968
- function Dl(e, t) {
11968
+ function Rl(e, t) {
11969
11969
  let n = 0;
11970
11970
  if (t === void 0)
11971
11971
  for (let r of e)
@@ -11977,10 +11977,10 @@ function Dl(e, t) {
11977
11977
  }
11978
11978
  return n;
11979
11979
  }
11980
- function pD(e) {
11980
+ function pR(e) {
11981
11981
  return e.depth;
11982
11982
  }
11983
- function mD(e, t) {
11983
+ function mR(e, t) {
11984
11984
  return t - 1 - e.height;
11985
11985
  }
11986
11986
  function Hv(e, t) {
@@ -11991,7 +11991,7 @@ function sa(e) {
11991
11991
  return e;
11992
11992
  };
11993
11993
  }
11994
- function Df(e, t) {
11994
+ function Rf(e, t) {
11995
11995
  return fo(e.source, t.source) || e.index - t.index;
11996
11996
  }
11997
11997
  function kf(e, t) {
@@ -12003,13 +12003,13 @@ function fo(e, t) {
12003
12003
  function kl(e) {
12004
12004
  return e.value;
12005
12005
  }
12006
- function gD(e) {
12006
+ function gR(e) {
12007
12007
  return e.index;
12008
12008
  }
12009
- function vD(e) {
12009
+ function vR(e) {
12010
12010
  return e.nodes;
12011
12011
  }
12012
- function yD(e) {
12012
+ function yR(e) {
12013
12013
  return e.links;
12014
12014
  }
12015
12015
  function If(e, t) {
@@ -12027,8 +12027,8 @@ function Nf({ nodes: e }) {
12027
12027
  i.y1 = r + i.width / 2, r += i.width;
12028
12028
  }
12029
12029
  }
12030
- function xD() {
12031
- let e = 0, t = 0, n = 1, r = 1, i = 24, s = 8, a, o = gD, l = Hv, c, u, d = vD, h = yD, f = 6;
12030
+ function xR() {
12031
+ let e = 0, t = 0, n = 1, r = 1, i = 24, s = 8, a, o = gR, l = Hv, c, u, d = vR, h = yR, f = 6;
12032
12032
  function p() {
12033
12033
  const E = { nodes: d.apply(null, arguments), links: h.apply(null, arguments) };
12034
12034
  return v(E), m(E), y(E), g(E), _(E), Nf(E), E;
@@ -12073,7 +12073,7 @@ function xD() {
12073
12073
  }
12074
12074
  function m({ nodes: E }) {
12075
12075
  for (const L of E)
12076
- L.value = L.fixedValue === void 0 ? Math.max(Dl(L.sourceLinks, kl), Dl(L.targetLinks, kl)) : L.fixedValue;
12076
+ L.value = L.fixedValue === void 0 ? Math.max(Rl(L.sourceLinks, kl), Rl(L.targetLinks, kl)) : L.fixedValue;
12077
12077
  }
12078
12078
  function y({ nodes: E }) {
12079
12079
  const L = E.length;
@@ -12104,7 +12104,7 @@ function xD() {
12104
12104
  }
12105
12105
  }
12106
12106
  function x({ nodes: E }) {
12107
- const L = Rf(E, (B) => B.depth) + 1, $ = (n - e - i) / (L - 1), U = new Array(L);
12107
+ const L = Df(E, (B) => B.depth) + 1, $ = (n - e - i) / (L - 1), U = new Array(L);
12108
12108
  for (const B of E) {
12109
12109
  const X = Math.max(0, Math.min(L - 1, Math.floor(l.call(null, B, L))));
12110
12110
  B.layer = X, B.x0 = e + X * $, B.x1 = B.x0 + i, U[X] ? U[X].push(B) : U[X] = [B];
@@ -12115,7 +12115,7 @@ function xD() {
12115
12115
  return U;
12116
12116
  }
12117
12117
  function w(E) {
12118
- const L = fD(E, ($) => (r - t - ($.length - 1) * a) / Dl($, kl));
12118
+ const L = fR(E, ($) => (r - t - ($.length - 1) * a) / Rl($, kl));
12119
12119
  for (const $ of E) {
12120
12120
  let U = t;
12121
12121
  for (const B of $) {
@@ -12133,7 +12133,7 @@ function xD() {
12133
12133
  }
12134
12134
  function _(E) {
12135
12135
  const L = x(E);
12136
- a = Math.min(s, (r - t) / (Rf(L, ($) => $.length) - 1)), w(L);
12136
+ a = Math.min(s, (r - t) / (Df(L, ($) => $.length) - 1)), w(L);
12137
12137
  for (let $ = 0; $ < f; ++$) {
12138
12138
  const U = Math.pow(0.99, $), B = Math.max(1 - U, ($ + 1) / f);
12139
12139
  A(L, U, B), S(L, U, B);
@@ -12175,15 +12175,15 @@ function xD() {
12175
12175
  }
12176
12176
  function k(E, L) {
12177
12177
  const $ = E.length >> 1, U = E[$];
12178
- R(E, U.y0 - a, $ - 1, L), D(E, U.y1 + a, $ + 1, L), R(E, r, E.length - 1, L), D(E, t, 0, L);
12178
+ D(E, U.y0 - a, $ - 1, L), R(E, U.y1 + a, $ + 1, L), D(E, r, E.length - 1, L), R(E, t, 0, L);
12179
12179
  }
12180
- function D(E, L, $, U) {
12180
+ function R(E, L, $, U) {
12181
12181
  for (; $ < E.length; ++$) {
12182
12182
  const B = E[$], X = (L - B.y0) * U;
12183
12183
  X > 1e-6 && (B.y0 += X, B.y1 += X), L = B.y1 + a;
12184
12184
  }
12185
12185
  }
12186
- function R(E, L, $, U) {
12186
+ function D(E, L, $, U) {
12187
12187
  for (; $ >= 0; --$) {
12188
12188
  const B = E[$], X = (B.y1 - L) * U;
12189
12189
  X > 1e-6 && (B.y0 -= X, B.y1 -= X), L = B.y0 - a;
@@ -12194,13 +12194,13 @@ function xD() {
12194
12194
  for (const { source: { sourceLinks: $ } } of L)
12195
12195
  $.sort(kf);
12196
12196
  for (const { target: { targetLinks: $ } } of E)
12197
- $.sort(Df);
12197
+ $.sort(Rf);
12198
12198
  }
12199
12199
  }
12200
12200
  function H(E) {
12201
12201
  if (u === void 0)
12202
12202
  for (const { sourceLinks: L, targetLinks: $ } of E)
12203
- L.sort(kf), $.sort(Df);
12203
+ L.sort(kf), $.sort(Rf);
12204
12204
  }
12205
12205
  function P(E, L) {
12206
12206
  let $ = E.y0 - (E.sourceLinks.length - 1) * a / 2;
@@ -12232,7 +12232,7 @@ function xD() {
12232
12232
  }
12233
12233
  return p;
12234
12234
  }
12235
- var Dc = Math.PI, kc = 2 * Dc, cr = 1e-6, bD = kc - cr;
12235
+ var Rc = Math.PI, kc = 2 * Rc, cr = 1e-6, bR = kc - cr;
12236
12236
  function Ic() {
12237
12237
  this._x0 = this._y0 = // start of current subpath
12238
12238
  this._x1 = this._y1 = null, this._ = "";
@@ -12268,7 +12268,7 @@ Ic.prototype = Fv.prototype = {
12268
12268
  if (!(Math.abs(u * o - l * c) > cr) || !i)
12269
12269
  this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
12270
12270
  else {
12271
- var h = n - s, f = r - a, p = o * o + l * l, v = h * h + f * f, m = Math.sqrt(p), y = Math.sqrt(d), g = i * Math.tan((Dc - Math.acos((p + d - v) / (2 * m * y))) / 2), x = g / y, w = g / m;
12271
+ var h = n - s, f = r - a, p = o * o + l * l, v = h * h + f * f, m = Math.sqrt(p), y = Math.sqrt(d), g = i * Math.tan((Rc - Math.acos((p + d - v) / (2 * m * y))) / 2), x = g / y, w = g / m;
12272
12272
  Math.abs(x - 1) > cr && (this._ += "L" + (e + x * c) + "," + (t + x * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * h > c * f) + "," + (this._x1 = e + w * o) + "," + (this._y1 = t + w * l);
12273
12273
  }
12274
12274
  },
@@ -12277,7 +12277,7 @@ Ic.prototype = Fv.prototype = {
12277
12277
  var a = n * Math.cos(r), o = n * Math.sin(r), l = e + a, c = t + o, u = 1 ^ s, d = s ? r - i : i - r;
12278
12278
  if (n < 0)
12279
12279
  throw new Error("negative radius: " + n);
12280
- this._x1 === null ? this._ += "M" + l + "," + c : (Math.abs(this._x1 - l) > cr || Math.abs(this._y1 - c) > cr) && (this._ += "L" + l + "," + c), n && (d < 0 && (d = d % kc + kc), d > bD ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - a) + "," + (t - o) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = l) + "," + (this._y1 = c) : d > cr && (this._ += "A" + n + "," + n + ",0," + +(d >= Dc) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
12280
+ this._x1 === null ? this._ += "M" + l + "," + c : (Math.abs(this._x1 - l) > cr || Math.abs(this._y1 - c) > cr) && (this._ += "L" + l + "," + c), n && (d < 0 && (d = d % kc + kc), d > bR ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - a) + "," + (t - o) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = l) + "," + (this._y1 = c) : d > cr && (this._ += "A" + n + "," + n + ",0," + +(d >= Rc) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
12281
12281
  },
12282
12282
  rect: function(e, t, n, r) {
12283
12283
  this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t) + "h" + +n + "v" + +r + "h" + -n + "Z";
@@ -12291,23 +12291,23 @@ function Pf(e) {
12291
12291
  return e;
12292
12292
  };
12293
12293
  }
12294
- function ED(e) {
12294
+ function ER(e) {
12295
12295
  return e[0];
12296
12296
  }
12297
- function _D(e) {
12297
+ function _R(e) {
12298
12298
  return e[1];
12299
12299
  }
12300
- var wD = Array.prototype.slice;
12301
- function SD(e) {
12300
+ var wR = Array.prototype.slice;
12301
+ function SR(e) {
12302
12302
  return e.source;
12303
12303
  }
12304
- function OD(e) {
12304
+ function OR(e) {
12305
12305
  return e.target;
12306
12306
  }
12307
- function TD(e) {
12308
- var t = SD, n = OD, r = ED, i = _D, s = null;
12307
+ function TR(e) {
12308
+ var t = SR, n = OR, r = ER, i = _R, s = null;
12309
12309
  function a() {
12310
- var o, l = wD.call(arguments), c = t.apply(this, l), u = n.apply(this, l);
12310
+ var o, l = wR.call(arguments), c = t.apply(this, l), u = n.apply(this, l);
12311
12311
  if (s || (s = o = Fv()), e(s, +r.apply(this, (l[0] = c, l)), +i.apply(this, l), +r.apply(this, (l[0] = u, l)), +i.apply(this, l)), o)
12312
12312
  return s = null, o + "" || null;
12313
12313
  }
@@ -12323,25 +12323,25 @@ function TD(e) {
12323
12323
  return arguments.length ? (s = o ?? null, a) : s;
12324
12324
  }, a;
12325
12325
  }
12326
- function MD(e, t, n, r, i) {
12326
+ function MR(e, t, n, r, i) {
12327
12327
  e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
12328
12328
  }
12329
- function CD() {
12330
- return TD(MD);
12329
+ function CR() {
12330
+ return TR(MR);
12331
12331
  }
12332
- function AD(e) {
12332
+ function AR(e) {
12333
12333
  return [e.source.x1, e.y0];
12334
12334
  }
12335
- function $D(e) {
12335
+ function $R(e) {
12336
12336
  return [e.target.x0, e.y1];
12337
12337
  }
12338
- function LD() {
12339
- return CD().source(AD).target($D);
12338
+ function LR() {
12339
+ return CR().source(AR).target($R);
12340
12340
  }
12341
12341
  function zv(e) {
12342
12342
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
12343
12343
  }
12344
- function RD(e) {
12344
+ function DR(e) {
12345
12345
  if (e.__esModule)
12346
12346
  return e;
12347
12347
  var t = e.default;
@@ -12362,7 +12362,7 @@ function RD(e) {
12362
12362
  });
12363
12363
  }), n;
12364
12364
  }
12365
- var DD = { value: function() {
12365
+ var RR = { value: function() {
12366
12366
  } };
12367
12367
  function Gv() {
12368
12368
  for (var e = 0, t = arguments.length, n = {}, r; e < t; ++e) {
@@ -12375,7 +12375,7 @@ function Gv() {
12375
12375
  function Sa(e) {
12376
12376
  this._ = e;
12377
12377
  }
12378
- function kD(e, t) {
12378
+ function kR(e, t) {
12379
12379
  return e.trim().split(/^|\s+/).map(function(n) {
12380
12380
  var r = "", i = n.indexOf(".");
12381
12381
  if (i >= 0 && (r = n.slice(i + 1), n = n.slice(0, i)), n && !t.hasOwnProperty(n))
@@ -12386,10 +12386,10 @@ function kD(e, t) {
12386
12386
  Sa.prototype = Gv.prototype = {
12387
12387
  constructor: Sa,
12388
12388
  on: function(e, t) {
12389
- var n = this._, r = kD(e + "", n), i, s = -1, a = r.length;
12389
+ var n = this._, r = kR(e + "", n), i, s = -1, a = r.length;
12390
12390
  if (arguments.length < 2) {
12391
12391
  for (; ++s < a; )
12392
- if ((i = (e = r[s]).type) && (i = ID(n[i], e.name)))
12392
+ if ((i = (e = r[s]).type) && (i = IR(n[i], e.name)))
12393
12393
  return i;
12394
12394
  return;
12395
12395
  }
@@ -12425,7 +12425,7 @@ Sa.prototype = Gv.prototype = {
12425
12425
  r[i].value.apply(t, n);
12426
12426
  }
12427
12427
  };
12428
- function ID(e, t) {
12428
+ function IR(e, t) {
12429
12429
  for (var n = 0, r = e.length, i; n < r; ++n)
12430
12430
  if ((i = e[n]).name === t)
12431
12431
  return i.value;
@@ -12433,33 +12433,33 @@ function ID(e, t) {
12433
12433
  function Uf(e, t, n) {
12434
12434
  for (var r = 0, i = e.length; r < i; ++r)
12435
12435
  if (e[r].name === t) {
12436
- e[r] = DD, e = e.slice(0, r).concat(e.slice(r + 1));
12436
+ e[r] = RR, e = e.slice(0, r).concat(e.slice(r + 1));
12437
12437
  break;
12438
12438
  }
12439
12439
  return n != null && e.push({ name: t, value: n }), e;
12440
12440
  }
12441
- const ND = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12441
+ const NR = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12442
12442
  __proto__: null,
12443
12443
  dispatch: Gv
12444
- }, Symbol.toStringTag, { value: "Module" })), PD = /* @__PURE__ */ RD(ND), UD = PD.dispatch, Il = Math.PI / 180, BD = {
12444
+ }, Symbol.toStringTag, { value: "Module" })), PR = /* @__PURE__ */ DR(NR), UR = PR.dispatch, Il = Math.PI / 180, BR = {
12445
12445
  archimedean: jv,
12446
- rectangular: ZD
12446
+ rectangular: ZR
12447
12447
  }, Zi = 64, Oa = 2048;
12448
- var VD = function() {
12449
- var e = [256, 256], t = HD, n = FD, r = zD, i = Bf, s = Bf, a = GD, o = jD, l = jv, c = [], u = 1 / 0, d = UD("word", "end"), h = null, f = Math.random, p = {}, v = QD;
12448
+ var VR = function() {
12449
+ var e = [256, 256], t = HR, n = FR, r = zR, i = Bf, s = Bf, a = GR, o = jR, l = jv, c = [], u = 1 / 0, d = UR("word", "end"), h = null, f = Math.random, p = {}, v = QR;
12450
12450
  p.canvas = function(g) {
12451
12451
  return arguments.length ? (v = Gn(g), p) : v;
12452
12452
  }, p.start = function() {
12453
- var g = m(v()), x = KD((e[0] >> 5) * e[1]), w = null, _ = c.length, S = -1, A = [], k = c.map(function(R, T) {
12454
- return R.text = t.call(this, R, T), R.font = n.call(this, R, T), R.style = i.call(this, R, T), R.weight = s.call(this, R, T), R.rotate = a.call(this, R, T), R.size = ~~r.call(this, R, T), R.padding = o.call(this, R, T), R;
12455
- }).sort(function(R, T) {
12456
- return T.size - R.size;
12453
+ var g = m(v()), x = KR((e[0] >> 5) * e[1]), w = null, _ = c.length, S = -1, A = [], k = c.map(function(D, T) {
12454
+ return D.text = t.call(this, D, T), D.font = n.call(this, D, T), D.style = i.call(this, D, T), D.weight = s.call(this, D, T), D.rotate = a.call(this, D, T), D.size = ~~r.call(this, D, T), D.padding = o.call(this, D, T), D;
12455
+ }).sort(function(D, T) {
12456
+ return T.size - D.size;
12457
12457
  });
12458
- return h && clearInterval(h), h = setInterval(D, 0), D(), p;
12459
- function D() {
12460
- for (var R = Date.now(); Date.now() - R < u && ++S < _ && h; ) {
12458
+ return h && clearInterval(h), h = setInterval(R, 0), R(), p;
12459
+ function R() {
12460
+ for (var D = Date.now(); Date.now() - D < u && ++S < _ && h; ) {
12461
12461
  var T = k[S];
12462
- T.x = e[0] * (f() + 0.5) >> 1, T.y = e[1] * (f() + 0.5) >> 1, WD(g, T, k, S), T.hasText && y(x, T, w) && (A.push(T), d.call("word", p, T), w ? YD(w, T) : w = [{ x: T.x + T.x0, y: T.y + T.y0 }, { x: T.x + T.x1, y: T.y + T.y1 }], T.x -= e[0] >> 1, T.y -= e[1] >> 1);
12462
+ T.x = e[0] * (f() + 0.5) >> 1, T.y = e[1] * (f() + 0.5) >> 1, WR(g, T, k, S), T.hasText && y(x, T, w) && (A.push(T), d.call("word", p, T), w ? YR(w, T) : w = [{ x: T.x + T.x0, y: T.y + T.y0 }, { x: T.x + T.x1, y: T.y + T.y1 }], T.x -= e[0] >> 1, T.y -= e[1] >> 1);
12463
12463
  }
12464
12464
  S >= _ && (p.stop(), d.call("end", p, A, w));
12465
12465
  }
@@ -12477,8 +12477,8 @@ var VD = function() {
12477
12477
  }
12478
12478
  function y(g, x, w) {
12479
12479
  e[0], e[1];
12480
- for (var _ = x.x, S = x.y, A = Math.sqrt(e[0] * e[0] + e[1] * e[1]), k = l(e), D = f() < 0.5 ? 1 : -1, R = -D, T, H, P; (T = k(R += D)) && (H = ~~T[0], P = ~~T[1], !(Math.min(Math.abs(H), Math.abs(P)) >= A)); )
12481
- if (x.x = _ + H, x.y = S + P, !(x.x + x.x0 < 0 || x.y + x.y0 < 0 || x.x + x.x1 > e[0] || x.y + x.y1 > e[1]) && (!w || XD(x, w)) && !qD(x, g, e[0])) {
12480
+ for (var _ = x.x, S = x.y, A = Math.sqrt(e[0] * e[0] + e[1] * e[1]), k = l(e), R = f() < 0.5 ? 1 : -1, D = -R, T, H, P; (T = k(D += R)) && (H = ~~T[0], P = ~~T[1], !(Math.min(Math.abs(H), Math.abs(P)) >= A)); )
12481
+ if (x.x = _ + H, x.y = S + P, !(x.x + x.x0 < 0 || x.y + x.y0 < 0 || x.x + x.x1 > e[0] || x.y + x.y1 > e[1]) && (!w || XR(x, w)) && !qR(x, g, e[0])) {
12482
12482
  for (var V = x.sprite, E = x.width >> 5, L = e[0] >> 5, $ = x.x - (E << 4), U = $ & 127, B = 32 - U, X = x.y1 - x.y0, Y = (x.y + x.y0) * L + ($ >> 5), it, et = 0; et < X; et++) {
12483
12483
  it = 0;
12484
12484
  for (var dt = 0; dt <= E; dt++)
@@ -12506,7 +12506,7 @@ var VD = function() {
12506
12506
  }, p.text = function(g) {
12507
12507
  return arguments.length ? (t = Gn(g), p) : t;
12508
12508
  }, p.spiral = function(g) {
12509
- return arguments.length ? (l = BD[g] || g, p) : l;
12509
+ return arguments.length ? (l = BR[g] || g, p) : l;
12510
12510
  }, p.fontSize = function(g) {
12511
12511
  return arguments.length ? (r = Gn(g), p) : r;
12512
12512
  }, p.padding = function(g) {
@@ -12518,25 +12518,25 @@ var VD = function() {
12518
12518
  return g === d ? p : g;
12519
12519
  }, p;
12520
12520
  };
12521
- function HD(e) {
12521
+ function HR(e) {
12522
12522
  return e.text;
12523
12523
  }
12524
- function FD() {
12524
+ function FR() {
12525
12525
  return "serif";
12526
12526
  }
12527
12527
  function Bf() {
12528
12528
  return "normal";
12529
12529
  }
12530
- function zD(e) {
12530
+ function zR(e) {
12531
12531
  return Math.sqrt(e.value);
12532
12532
  }
12533
- function GD() {
12533
+ function GR() {
12534
12534
  return (~~(random() * 6) - 3) * 30;
12535
12535
  }
12536
- function jD() {
12536
+ function jR() {
12537
12537
  return 1;
12538
12538
  }
12539
- function WD(e, t, n, r) {
12539
+ function WR(e, t, n, r) {
12540
12540
  if (!t.sprite) {
12541
12541
  var i = e.context, s = e.ratio;
12542
12542
  i.clearRect(0, 0, (Zi << 5) / s, Oa / s);
@@ -12563,8 +12563,8 @@ function WD(e, t, n, r) {
12563
12563
  o = t.yoff;
12564
12564
  for (var S = 0, A = -1, k = 0; k < w; k++) {
12565
12565
  for (var _ = 0; _ < g; _++) {
12566
- var D = x * k + (_ >> 5), R = m[(o + k) * (Zi << 5) + (a + _) << 2] ? 1 << 31 - _ % 32 : 0;
12567
- y[D] |= R, S |= R;
12566
+ var R = x * k + (_ >> 5), D = m[(o + k) * (Zi << 5) + (a + _) << 2] ? 1 << 31 - _ % 32 : 0;
12567
+ y[R] |= D, S |= D;
12568
12568
  }
12569
12569
  S ? A = k : (t.y0++, w--, k--, o++);
12570
12570
  }
@@ -12572,7 +12572,7 @@ function WD(e, t, n, r) {
12572
12572
  }
12573
12573
  }
12574
12574
  }
12575
- function qD(e, t, n) {
12575
+ function qR(e, t, n) {
12576
12576
  n >>= 5;
12577
12577
  for (var r = e.sprite, i = e.width >> 5, s = e.x - (i << 4), a = s & 127, o = 32 - a, l = e.y1 - e.y0, c = (e.y + e.y0) * n + (s >> 5), u, d = 0; d < l; d++) {
12578
12578
  u = 0;
@@ -12583,11 +12583,11 @@ function qD(e, t, n) {
12583
12583
  }
12584
12584
  return !1;
12585
12585
  }
12586
- function YD(e, t) {
12586
+ function YR(e, t) {
12587
12587
  var n = e[0], r = e[1];
12588
12588
  t.x + t.x0 < n.x && (n.x = t.x + t.x0), t.y + t.y0 < n.y && (n.y = t.y + t.y0), t.x + t.x1 > r.x && (r.x = t.x + t.x1), t.y + t.y1 > r.y && (r.y = t.y + t.y1);
12589
12589
  }
12590
- function XD(e, t) {
12590
+ function XR(e, t) {
12591
12591
  return e.x + e.x1 > t[0].x && e.x + e.x0 < t[1].x && e.y + e.y1 > t[0].y && e.y + e.y0 < t[1].y;
12592
12592
  }
12593
12593
  function jv(e) {
@@ -12596,7 +12596,7 @@ function jv(e) {
12596
12596
  return [t * (n *= 0.1) * Math.cos(n), n * Math.sin(n)];
12597
12597
  };
12598
12598
  }
12599
- function ZD(e) {
12599
+ function ZR(e) {
12600
12600
  var t = 4, n = t * e[0] / e[1], r = 0, i = 0;
12601
12601
  return function(s) {
12602
12602
  var a = s < 0 ? -1 : 1;
@@ -12617,12 +12617,12 @@ function ZD(e) {
12617
12617
  return [r, i];
12618
12618
  };
12619
12619
  }
12620
- function KD(e) {
12620
+ function KR(e) {
12621
12621
  for (var t = [], n = -1; ++n < e; )
12622
12622
  t[n] = 0;
12623
12623
  return t;
12624
12624
  }
12625
- function QD() {
12625
+ function QR() {
12626
12626
  return document.createElement("canvas");
12627
12627
  }
12628
12628
  function Gn(e) {
@@ -12630,7 +12630,7 @@ function Gn(e) {
12630
12630
  return e;
12631
12631
  };
12632
12632
  }
12633
- const JD = /* @__PURE__ */ zv(VD);
12633
+ const JR = /* @__PURE__ */ zv(VR);
12634
12634
  function tk(e, t, n, r) {
12635
12635
  var i = -1, s = e == null ? 0 : e.length;
12636
12636
  for (r && s && (n = e[++i]); ++i < s; )
@@ -12849,9 +12849,9 @@ var mk = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
12849
12849
  function gk(e) {
12850
12850
  return mk.test(e);
12851
12851
  }
12852
- var Wv = "\\ud800-\\udfff", vk = "\\u0300-\\u036f", yk = "\\ufe20-\\ufe2f", xk = "\\u20d0-\\u20ff", bk = vk + yk + xk, qv = "\\u2700-\\u27bf", Yv = "a-z\\xdf-\\xf6\\xf8-\\xff", Ek = "\\xac\\xb1\\xd7\\xf7", _k = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", wk = "\\u2000-\\u206f", Sk = " \\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", Xv = "A-Z\\xc0-\\xd6\\xd8-\\xde", Ok = "\\ufe0e\\ufe0f", Zv = Ek + _k + wk + Sk, Kv = "['’]", Vf = "[" + Zv + "]", Tk = "[" + bk + "]", Qv = "\\d+", Mk = "[" + qv + "]", Jv = "[" + Yv + "]", t0 = "[^" + Wv + Zv + Qv + qv + Yv + Xv + "]", Ck = "\\ud83c[\\udffb-\\udfff]", Ak = "(?:" + Tk + "|" + Ck + ")", $k = "[^" + Wv + "]", e0 = "(?:\\ud83c[\\udde6-\\uddff]){2}", n0 = "[\\ud800-\\udbff][\\udc00-\\udfff]", Fr = "[" + Xv + "]", Lk = "\\u200d", Hf = "(?:" + Jv + "|" + t0 + ")", Rk = "(?:" + Fr + "|" + t0 + ")", Ff = "(?:" + Kv + "(?:d|ll|m|re|s|t|ve))?", zf = "(?:" + Kv + "(?:D|LL|M|RE|S|T|VE))?", r0 = Ak + "?", i0 = "[" + Ok + "]?", Dk = "(?:" + Lk + "(?:" + [$k, e0, n0].join("|") + ")" + i0 + r0 + ")*", kk = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Ik = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Nk = i0 + r0 + Dk, Pk = "(?:" + [Mk, e0, n0].join("|") + ")" + Nk, Uk = RegExp([
12852
+ var Wv = "\\ud800-\\udfff", vk = "\\u0300-\\u036f", yk = "\\ufe20-\\ufe2f", xk = "\\u20d0-\\u20ff", bk = vk + yk + xk, qv = "\\u2700-\\u27bf", Yv = "a-z\\xdf-\\xf6\\xf8-\\xff", Ek = "\\xac\\xb1\\xd7\\xf7", _k = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", wk = "\\u2000-\\u206f", Sk = " \\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", Xv = "A-Z\\xc0-\\xd6\\xd8-\\xde", Ok = "\\ufe0e\\ufe0f", Zv = Ek + _k + wk + Sk, Kv = "['’]", Vf = "[" + Zv + "]", Tk = "[" + bk + "]", Qv = "\\d+", Mk = "[" + qv + "]", Jv = "[" + Yv + "]", t0 = "[^" + Wv + Zv + Qv + qv + Yv + Xv + "]", Ck = "\\ud83c[\\udffb-\\udfff]", Ak = "(?:" + Tk + "|" + Ck + ")", $k = "[^" + Wv + "]", e0 = "(?:\\ud83c[\\udde6-\\uddff]){2}", n0 = "[\\ud800-\\udbff][\\udc00-\\udfff]", Fr = "[" + Xv + "]", Lk = "\\u200d", Hf = "(?:" + Jv + "|" + t0 + ")", Dk = "(?:" + Fr + "|" + t0 + ")", Ff = "(?:" + Kv + "(?:d|ll|m|re|s|t|ve))?", zf = "(?:" + Kv + "(?:D|LL|M|RE|S|T|VE))?", r0 = Ak + "?", i0 = "[" + Ok + "]?", Rk = "(?:" + Lk + "(?:" + [$k, e0, n0].join("|") + ")" + i0 + r0 + ")*", kk = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Ik = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Nk = i0 + r0 + Rk, Pk = "(?:" + [Mk, e0, n0].join("|") + ")" + Nk, Uk = RegExp([
12853
12853
  Fr + "?" + Jv + "+" + Ff + "(?=" + [Vf, Fr, "$"].join("|") + ")",
12854
- Rk + "+" + zf + "(?=" + [Vf, Fr + Hf, "$"].join("|") + ")",
12854
+ Dk + "+" + zf + "(?=" + [Vf, Fr + Hf, "$"].join("|") + ")",
12855
12855
  Fr + "?" + Hf + "+" + Ff,
12856
12856
  Fr + "+" + zf,
12857
12857
  Ik,
@@ -13130,9 +13130,9 @@ function d0() {
13130
13130
  createDocumentFragment: A,
13131
13131
  getElementsByTagName: k
13132
13132
  } = n, {
13133
- importNode: D
13133
+ importNode: R
13134
13134
  } = r;
13135
- let R = {};
13135
+ let D = {};
13136
13136
  t.isSupported = typeof l0 == "function" && typeof g == "function" && _ && _.createHTMLDocument !== void 0;
13137
13137
  const {
13138
13138
  MUSTACHE_EXPR: T,
@@ -13168,8 +13168,8 @@ function d0() {
13168
13168
  enumerable: !0,
13169
13169
  value: !1
13170
13170
  }
13171
- })), dt = null, yt = null, K = !0, J = !0, pt = !1, q = !0, Q = !1, at = !1, G = !1, Lt = !1, vt = !1, Ut = !1, Bt = !1, rt = !0, Rt = !1;
13172
- const Re = "user-content-";
13171
+ })), dt = null, yt = null, K = !0, J = !0, pt = !1, q = !0, Q = !1, at = !1, G = !1, Lt = !1, vt = !1, Ut = !1, Bt = !1, rt = !0, Dt = !1;
13172
+ const De = "user-content-";
13173
13173
  let me = !0, Jn = !1, en = {}, Pn = null;
13174
13174
  const Ps = xt({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
13175
13175
  let vi = null;
@@ -13201,7 +13201,7 @@ function d0() {
13201
13201
  // eslint-disable-line indent
13202
13202
  Wt
13203
13203
  // eslint-disable-line indent
13204
- ) : yi, Pn = "FORBID_CONTENTS" in M ? xt({}, M.FORBID_CONTENTS, Wt) : Ps, dt = "FORBID_TAGS" in M ? xt({}, M.FORBID_TAGS, Wt) : {}, yt = "FORBID_ATTR" in M ? xt({}, M.FORBID_ATTR, Wt) : {}, en = "USE_PROFILES" in M ? M.USE_PROFILES : !1, K = M.ALLOW_ARIA_ATTR !== !1, J = M.ALLOW_DATA_ATTR !== !1, pt = M.ALLOW_UNKNOWN_PROTOCOLS || !1, q = M.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Q = M.SAFE_FOR_TEMPLATES || !1, at = M.WHOLE_DOCUMENT || !1, vt = M.RETURN_DOM || !1, Ut = M.RETURN_DOM_FRAGMENT || !1, Bt = M.RETURN_TRUSTED_TYPE || !1, Lt = M.FORCE_BODY || !1, rt = M.SANITIZE_DOM !== !1, Rt = M.SANITIZE_NAMED_PROPS || !1, me = M.KEEP_CONTENT !== !1, Jn = M.IN_PLACE || !1, U = M.ALLOWED_URI_REGEXP || u0, Un = M.NAMESPACE || _e, et = M.CUSTOM_ELEMENT_HANDLING || {}, M.CUSTOM_ELEMENT_HANDLING && Lr(M.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (et.tagNameCheck = M.CUSTOM_ELEMENT_HANDLING.tagNameCheck), M.CUSTOM_ELEMENT_HANDLING && Lr(M.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (et.attributeNameCheck = M.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), M.CUSTOM_ELEMENT_HANDLING && typeof M.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (et.allowCustomizedBuiltInElements = M.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Q && (J = !1), Ut && (vt = !0), en && (B = xt({}, qf), Y = [], en.html === !0 && (xt(B, Wf), xt(Y, Yf)), en.svg === !0 && (xt(B, Pl), xt(Y, Vl), xt(Y, la)), en.svgFilters === !0 && (xt(B, Ul), xt(Y, Vl), xt(Y, la)), en.mathMl === !0 && (xt(B, Bl), xt(Y, Xf), xt(Y, la))), M.ADD_TAGS && (B === X && (B = ur(B)), xt(B, M.ADD_TAGS, Wt)), M.ADD_ATTR && (Y === it && (Y = ur(Y)), xt(Y, M.ADD_ATTR, Wt)), M.ADD_URI_SAFE_ATTR && xt(fn, M.ADD_URI_SAFE_ATTR, Wt), M.FORBID_CONTENTS && (Pn === Ps && (Pn = ur(Pn)), xt(Pn, M.FORBID_CONTENTS, Wt)), me && (B["#text"] = !0), at && xt(B, ["html", "head", "body"]), B.table && (xt(B, ["tbody"]), delete dt.tbody), M.TRUSTED_TYPES_POLICY) {
13204
+ ) : yi, Pn = "FORBID_CONTENTS" in M ? xt({}, M.FORBID_CONTENTS, Wt) : Ps, dt = "FORBID_TAGS" in M ? xt({}, M.FORBID_TAGS, Wt) : {}, yt = "FORBID_ATTR" in M ? xt({}, M.FORBID_ATTR, Wt) : {}, en = "USE_PROFILES" in M ? M.USE_PROFILES : !1, K = M.ALLOW_ARIA_ATTR !== !1, J = M.ALLOW_DATA_ATTR !== !1, pt = M.ALLOW_UNKNOWN_PROTOCOLS || !1, q = M.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Q = M.SAFE_FOR_TEMPLATES || !1, at = M.WHOLE_DOCUMENT || !1, vt = M.RETURN_DOM || !1, Ut = M.RETURN_DOM_FRAGMENT || !1, Bt = M.RETURN_TRUSTED_TYPE || !1, Lt = M.FORCE_BODY || !1, rt = M.SANITIZE_DOM !== !1, Dt = M.SANITIZE_NAMED_PROPS || !1, me = M.KEEP_CONTENT !== !1, Jn = M.IN_PLACE || !1, U = M.ALLOWED_URI_REGEXP || u0, Un = M.NAMESPACE || _e, et = M.CUSTOM_ELEMENT_HANDLING || {}, M.CUSTOM_ELEMENT_HANDLING && Lr(M.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (et.tagNameCheck = M.CUSTOM_ELEMENT_HANDLING.tagNameCheck), M.CUSTOM_ELEMENT_HANDLING && Lr(M.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (et.attributeNameCheck = M.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), M.CUSTOM_ELEMENT_HANDLING && typeof M.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (et.allowCustomizedBuiltInElements = M.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Q && (J = !1), Ut && (vt = !0), en && (B = xt({}, qf), Y = [], en.html === !0 && (xt(B, Wf), xt(Y, Yf)), en.svg === !0 && (xt(B, Pl), xt(Y, Vl), xt(Y, la)), en.svgFilters === !0 && (xt(B, Ul), xt(Y, Vl), xt(Y, la)), en.mathMl === !0 && (xt(B, Bl), xt(Y, Xf), xt(Y, la))), M.ADD_TAGS && (B === X && (B = ur(B)), xt(B, M.ADD_TAGS, Wt)), M.ADD_ATTR && (Y === it && (Y = ur(Y)), xt(Y, M.ADD_ATTR, Wt)), M.ADD_URI_SAFE_ATTR && xt(fn, M.ADD_URI_SAFE_ATTR, Wt), M.FORBID_CONTENTS && (Pn === Ps && (Pn = ur(Pn)), xt(Pn, M.FORBID_CONTENTS, Wt)), me && (B["#text"] = !0), at && xt(B, ["html", "head", "body"]), B.table && (xt(B, ["tbody"]), delete dt.tbody), M.TRUSTED_TYPES_POLICY) {
13205
13205
  if (typeof M.TRUSTED_TYPES_POLICY.createHTML != "function")
13206
13206
  throw Ni('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
13207
13207
  if (typeof M.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -13288,7 +13288,7 @@ function d0() {
13288
13288
  }, Gs = function(M) {
13289
13289
  return typeof o == "function" && M instanceof o;
13290
13290
  }, Ve = function(M, j, F) {
13291
- R[M] && aa(R[M], (ct) => {
13291
+ D[M] && aa(D[M], (ct) => {
13292
13292
  ct.call(t, j, F, pn);
13293
13293
  });
13294
13294
  }, C = function(M) {
@@ -13371,7 +13371,7 @@ function d0() {
13371
13371
  });
13372
13372
  const uh = Wt(M.nodeName);
13373
13373
  if (W(uh, we, Ft)) {
13374
- if (Rt && (we === "id" || we === "name") && (wi(ft, M), Ft = Re + Ft), x && typeof f == "object" && typeof f.getAttributeType == "function" && !qt)
13374
+ if (Dt && (we === "id" || we === "name") && (wi(ft, M), Ft = De + Ft), x && typeof f == "object" && typeof f.getAttributeType == "function" && !qt)
13375
13375
  switch (f.getAttributeType(uh, we)) {
13376
13376
  case "TrustedHTML": {
13377
13377
  Ft = x.createHTML(Ft);
@@ -13433,7 +13433,7 @@ function d0() {
13433
13433
  ft.appendChild(F.firstChild);
13434
13434
  else
13435
13435
  ft = F;
13436
- return (Y.shadowroot || Y.shadowrootmode) && (ft = D.call(r, ft, !0)), ft;
13436
+ return (Y.shadowroot || Y.shadowrootmode) && (ft = R.call(r, ft, !0)), ft;
13437
13437
  }
13438
13438
  let se = at ? F.outerHTML : F.innerHTML;
13439
13439
  return at && B["!doctype"] && F.ownerDocument && F.ownerDocument.doctype && F.ownerDocument.doctype.name && Oe(h0, F.ownerDocument.doctype.name) && (se = "<!DOCTYPE " + F.ownerDocument.doctype.name + `>
@@ -13450,14 +13450,14 @@ function d0() {
13450
13450
  const ct = Wt(M), mt = Wt(j);
13451
13451
  return W(ct, mt, F);
13452
13452
  }, t.addHook = function(M, j) {
13453
- typeof j == "function" && (R[M] = R[M] || [], ki(R[M], j));
13453
+ typeof j == "function" && (D[M] = D[M] || [], ki(D[M], j));
13454
13454
  }, t.removeHook = function(M) {
13455
- if (R[M])
13456
- return jf(R[M]);
13455
+ if (D[M])
13456
+ return jf(D[M]);
13457
13457
  }, t.removeHooks = function(M) {
13458
- R[M] && (R[M] = []);
13458
+ D[M] && (D[M] = []);
13459
13459
  }, t.removeAllHooks = function() {
13460
- R = {};
13460
+ D = {};
13461
13461
  }, t;
13462
13462
  }
13463
13463
  var eh = d0();
@@ -13503,7 +13503,7 @@ const ca = (e) => eh.sanitize(e, {
13503
13503
  const s = n.selectAll("div.toolbar-control").data(r, (l) => l.id);
13504
13504
  s.exit().remove();
13505
13505
  const a = s.enter().append("div").attr("class", "toolbar-control cds--overflow-menu cds--overflow-menu"), o = this;
13506
- a.merge(s).classed("disabled", (l) => l.shouldBeDisabled()).attr("aria-disabled", (l) => l.shouldBeDisabled()).attr("aria-label", (l) => l.title).html((l) => `
13506
+ a.merge(s).classed("disabled", (l) => l.shouldBeDisabled()).attr("role", "button").attr("aria-disabled", (l) => l.shouldBeDisabled()).attr("aria-label", (l) => l.title).html((l) => `
13507
13507
  <button
13508
13508
  class="cds--overflow-menu__trigger cds--overflow-menu__trigger"
13509
13509
  aria-haspopup="true" aria-expanded="false" id="${this.services.domUtils.generateElementIDString(
@@ -13912,7 +13912,7 @@ const m0 = class g0 extends Et {
13912
13912
  };
13913
13913
  m0.instanceID = Math.floor(Math.random() * 99999999999);
13914
13914
  let Ce = m0;
13915
- class Dn extends Et {
13915
+ class Rn extends Et {
13916
13916
  constructor() {
13917
13917
  super(...arguments), this.type = "spacer";
13918
13918
  }
@@ -14123,7 +14123,7 @@ function Hc(e) {
14123
14123
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
14124
14124
  }, Hc(e);
14125
14125
  }
14126
- function RI(e, t) {
14126
+ function DI(e, t) {
14127
14127
  if (!(e instanceof t))
14128
14128
  throw new TypeError("Cannot call a class as a function");
14129
14129
  }
@@ -14133,7 +14133,7 @@ function Jf(e, t) {
14133
14133
  r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
14134
14134
  }
14135
14135
  }
14136
- function DI(e, t, n) {
14136
+ function RI(e, t, n) {
14137
14137
  return t && Jf(e.prototype, t), n && Jf(e, n), Object.defineProperty(e, "prototype", {
14138
14138
  writable: !1
14139
14139
  }), e;
@@ -14217,12 +14217,12 @@ function VI(e) {
14217
14217
  var r = NI(i);
14218
14218
  function i() {
14219
14219
  var s;
14220
- RI(this, i);
14220
+ DI(this, i);
14221
14221
  for (var a = arguments.length, o = new Array(a), l = 0; l < a; l++)
14222
14222
  o[l] = arguments[l];
14223
14223
  return s = r.call.apply(r, [this].concat(o)), s.handles = /* @__PURE__ */ new Set(), s;
14224
14224
  }
14225
- return DI(i, [{
14225
+ return RI(i, [{
14226
14226
  key: "manage",
14227
14227
  value: (
14228
14228
  /**
@@ -15623,10 +15623,10 @@ const E0 = class Ca extends Et {
15623
15623
  const v = (_) => {
15624
15624
  const S = _[1] - _[0];
15625
15625
  let A = "0," + S.toString();
15626
- const k = Math.floor(l / Ca.DASH_LENGTH), D = k * Ca.DASH_LENGTH;
15627
- for (let R = 0; R < k; R++)
15626
+ const k = Math.floor(l / Ca.DASH_LENGTH), R = k * Ca.DASH_LENGTH;
15627
+ for (let D = 0; D < k; D++)
15628
15628
  A += "," + Ca.DASH_LENGTH;
15629
- A += "," + (l - D), k % 2 === 1 && (A += ",0"), A += "," + S.toString(), A += "," + l.toString(), f.attr("stroke-dasharray", A);
15629
+ A += "," + (l - R), k % 2 === 1 && (A += ",0"), A += "," + S.toString(), A += "," + l.toString(), f.attr("stroke-dasharray", A);
15630
15630
  }, m = (_) => {
15631
15631
  const S = _.selection;
15632
15632
  S === null || S[0] === S[1] || (f.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), v(S));
@@ -15650,8 +15650,8 @@ const E0 = class Ca extends Et {
15650
15650
  const S = this.services.domUtils.getHolder(), A = vr(s.node(), S)[0];
15651
15651
  let k = A - o * w / 2;
15652
15652
  k < 0 && (k = 0);
15653
- let D = A + o * w / 2;
15654
- D > o && (D = o), y(k, D);
15653
+ let R = A + o * w / 2;
15654
+ R > o && (R = o), y(k, R);
15655
15655
  }
15656
15656
  });
15657
15657
  }
@@ -15659,7 +15659,7 @@ const E0 = class Ca extends Et {
15659
15659
  };
15660
15660
  E0.DASH_LENGTH = 4;
15661
15661
  let LN = E0;
15662
- class RN extends Et {
15662
+ class DN extends Et {
15663
15663
  constructor() {
15664
15664
  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 = Sm(), this.highlightStrokeWidth = 1;
15665
15665
  }
@@ -15721,17 +15721,17 @@ class RN extends Et {
15721
15721
  ), this.xScale.range([c, l]).domain(y), this.maxSelectionRange = this.xScale.range(), this.yScale.range([0, o - 6]).domain(We(m, (S) => S.value));
15722
15722
  const w = this.model.get("zoomDomain");
15723
15723
  if (s === rn.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)) {
15724
- const S = a.highlightStartMapsTo, A = a.highlightEndMapsTo, k = a.color, D = a.labelMapsTo;
15725
- a.data.forEach((R, T) => {
15726
- N.appendOrSelect(d, `rect.highlight-${T}`).attr("height", o - 2 * this.highlightStrokeWidth).attr("y", this.highlightStrokeWidth).attr("x", this.xScale(R[S])).attr(
15724
+ const S = a.highlightStartMapsTo, A = a.highlightEndMapsTo, k = a.color, R = a.labelMapsTo;
15725
+ a.data.forEach((D, T) => {
15726
+ N.appendOrSelect(d, `rect.highlight-${T}`).attr("height", o - 2 * this.highlightStrokeWidth).attr("y", this.highlightStrokeWidth).attr("x", this.xScale(D[S])).attr(
15727
15727
  "width",
15728
- this.xScale(R[A]) - this.xScale(R[S])
15728
+ this.xScale(D[A]) - this.xScale(D[S])
15729
15729
  ).style(
15730
15730
  "fill",
15731
- k && k.scale[R[D]] ? k.scale[R[D]] : null
15731
+ k && k.scale[D[R]] ? k.scale[D[R]] : null
15732
15732
  ).style("fill-opacity", 0.1).style(
15733
15733
  "stroke",
15734
- k && k.scale[R[D]] ? k.scale[R[D]] : null
15734
+ k && k.scale[D[R]] ? k.scale[D[R]] : null
15735
15735
  ).style("stroke-dasharray", "2, 2").attr("stroke-width", "1px");
15736
15736
  });
15737
15737
  }
@@ -15809,7 +15809,7 @@ class RN extends Et {
15809
15809
  N.appendOrSelect(i, "rect.zoom-slider-selected-area").attr("x", t[0]).attr("y", r / 2 - 1).attr("width", t[1] - t[0]).attr("height", 2);
15810
15810
  }
15811
15811
  renderZoomBarArea(t, n, r, i) {
15812
- const { cartesianScales: s } = this.services, a = s.getMainXAxisPosition(), o = s.getMainYAxisPosition(), l = s.getMainXScaleType(), c = s.getMainYScaleType(), u = (y, g, x) => (w) => s.getValueFromScale(y, g, x, w), d = u(this.xScale, l, a), h = u(this.yScale, c, o), f = b(this.getOptions(), "zoomBar", z.TOP, "type"), p = Te.height[f], v = Ru().x((y) => d(y)).y0(p).y1((y) => p - h(y)), m = N.appendOrSelect(t, n).datum(r).attr("d", v);
15812
+ const { cartesianScales: s } = this.services, a = s.getMainXAxisPosition(), o = s.getMainYAxisPosition(), l = s.getMainXScaleType(), c = s.getMainYScaleType(), u = (y, g, x) => (w) => s.getValueFromScale(y, g, x, w), d = u(this.xScale, l, a), h = u(this.yScale, c, o), f = b(this.getOptions(), "zoomBar", z.TOP, "type"), p = Te.height[f], v = Du().x((y) => d(y)).y0(p).y1((y) => p - h(y)), m = N.appendOrSelect(t, n).datum(r).attr("d", v);
15813
15813
  i && m.attr("clip-path", `url(#${i})`);
15814
15814
  }
15815
15815
  updateClipPath(t, n, r, i, s, a) {
@@ -15820,7 +15820,7 @@ class RN extends Et {
15820
15820
  compensateDataForDefaultDomain(t, n) {
15821
15821
  if (!t || t.length < 2)
15822
15822
  return;
15823
- const r = Rn(t), i = this.services.cartesianScales.getDomainIdentifier(), s = this.services.cartesianScales.getRangeIdentifier();
15823
+ const r = Dn(t), i = this.services.cartesianScales.getDomainIdentifier(), s = this.services.cartesianScales.getRangeIdentifier();
15824
15824
  if (Number(n[0]) < Number(r[0][i])) {
15825
15825
  const a = {};
15826
15826
  a[i] = n[0], a[s] = 0, r.unshift(a);
@@ -15853,7 +15853,7 @@ class RN extends Et {
15853
15853
  this.brush.on("start brush end", null), this.services.events.removeEventListener(O.ZoomBar.UPDATE, this.render.bind(this));
15854
15854
  }
15855
15855
  }
15856
- class DN extends Et {
15856
+ class RN extends Et {
15857
15857
  constructor(t, n) {
15858
15858
  super(t, n), this.type = "threshold", this.renderType = nt.SVG, this.positionService = new Yo();
15859
15859
  }
@@ -15887,36 +15887,36 @@ class DN extends Et {
15887
15887
  ), d = l.services.cartesianScales.getScaleTypeByPosition(c);
15888
15888
  let h = null, f = null;
15889
15889
  c === z.LEFT || c === z.RIGHT ? (f = u, h = l.services.cartesianScales.getMainXScale()) : (h = u, f = l.services.cartesianScales.getMainYScale());
15890
- const p = d === tt.LABELS, [v, m] = h.range(), [y, g] = f.range(), { cartesianScales: x } = l.services, w = x.getOrientation(), _ = (R) => x.getDomainValue(R), S = (R) => x.getRangeValue(R), [A, k] = On(
15890
+ const p = d === tt.LABELS, [v, m] = h.range(), [y, g] = f.range(), { cartesianScales: x } = l.services, w = x.getOrientation(), _ = (D) => x.getDomainValue(D), S = (D) => x.getRangeValue(D), [A, k] = On(
15891
15891
  _,
15892
15892
  S,
15893
15893
  w
15894
- ), D = I(this);
15895
- c === z.TOP || c === z.BOTTOM ? (D.selectAll("line.threshold-line").transition().call(
15896
- (R) => l.services.transitions.setupTransition({
15897
- transition: R,
15894
+ ), R = I(this);
15895
+ c === z.TOP || c === z.BOTTOM ? (R.selectAll("line.threshold-line").transition().call(
15896
+ (D) => l.services.transitions.setupTransition({
15897
+ transition: D,
15898
15898
  name: "threshold-line-update",
15899
15899
  animate: t
15900
15900
  })
15901
15901
  ).attr("y1", g).attr("y2", y).attr(
15902
15902
  "x1",
15903
- ({ datum: R }) => A(R) + (p ? u.step() / 2 : 0)
15903
+ ({ datum: D }) => A(D) + (p ? u.step() / 2 : 0)
15904
15904
  ).attr(
15905
15905
  "x2",
15906
- ({ datum: R }) => A(R) + (p ? u.step() / 2 : 0)
15907
- ).style("stroke", ({ fillColor: R }) => R), D.selectAll("rect.threshold-hoverable-area").attr("x", 0).attr("y", ({ datum: R }) => -A(R)).attr("width", Math.abs(y - g)).classed("rotate", !0)) : (D.selectAll("line.threshold-line").transition().call(
15908
- (R) => l.services.transitions.setupTransition({
15909
- transition: R,
15906
+ ({ datum: D }) => A(D) + (p ? u.step() / 2 : 0)
15907
+ ).style("stroke", ({ fillColor: D }) => D), R.selectAll("rect.threshold-hoverable-area").attr("x", 0).attr("y", ({ datum: D }) => -A(D)).attr("width", Math.abs(y - g)).classed("rotate", !0)) : (R.selectAll("line.threshold-line").transition().call(
15908
+ (D) => l.services.transitions.setupTransition({
15909
+ transition: D,
15910
15910
  name: "threshold-line-update",
15911
15911
  animate: t
15912
15912
  })
15913
15913
  ).attr("x1", v).attr("x2", m).attr(
15914
15914
  "y1",
15915
- ({ datum: R }) => k(R) + (p ? u.step() / 2 : 0)
15915
+ ({ datum: D }) => k(D) + (p ? u.step() / 2 : 0)
15916
15916
  ).attr(
15917
15917
  "y2",
15918
- ({ datum: R }) => k(R) + (p ? u.step() / 2 : 0)
15919
- ).style("stroke", ({ fillColor: R }) => R), D.selectAll("rect.threshold-hoverable-area").attr("x", v).attr("y", ({ datum: R }) => k(R)).attr("width", Math.abs(m - v)).classed("rotate", !1));
15918
+ ({ datum: D }) => k(D) + (p ? u.step() / 2 : 0)
15919
+ ).style("stroke", ({ fillColor: D }) => D), R.selectAll("rect.threshold-hoverable-area").attr("x", v).attr("y", ({ datum: D }) => k(D)).attr("width", Math.abs(m - v)).classed("rotate", !1));
15920
15920
  }), this.services.events.addEventListener(O.Threshold.SHOW, (c) => {
15921
15921
  this.setThresholdLabelPosition(c.detail), this.label.classed("hidden", !1);
15922
15922
  }), this.services.events.addEventListener(O.Threshold.HIDE, () => {
@@ -16035,8 +16035,8 @@ class kN extends Et {
16035
16035
  })
16036
16036
  ).attr("y", Math.max(v + l.highlightStrokeWidth, 0)).attr("height", Math.max(p - 2 * l.highlightStrokeWidth, 0)).attr("x", ({ highlightStartMapsTo: A, ...k }) => w(k[A])).attr(
16037
16037
  "width",
16038
- ({ highlightStartMapsTo: A, highlightEndMapsTo: k, ...D }) => Math.max(w(D[k]) - w(D[A]), 0)
16039
- ).style("stroke", ({ color: A, labelMapsTo: k, ...D }) => A && A.scale[D[k]] ? A.scale[D[k]] : null).style("stroke-dasharray", "2, 2").attr("stroke-width", l.highlightStrokeWidth + "px").style("fill-opacity", 0.1).style("fill", ({ color: A, labelMapsTo: k, ...D }) => A && A.scale[D[k]] ? A.scale[D[k]] : null) : S.selectAll("rect.highlight-bar").transition().call(
16038
+ ({ highlightStartMapsTo: A, highlightEndMapsTo: k, ...R }) => Math.max(w(R[k]) - w(R[A]), 0)
16039
+ ).style("stroke", ({ color: A, labelMapsTo: k, ...R }) => A && A.scale[R[k]] ? A.scale[R[k]] : null).style("stroke-dasharray", "2, 2").attr("stroke-width", l.highlightStrokeWidth + "px").style("fill-opacity", 0.1).style("fill", ({ color: A, labelMapsTo: k, ...R }) => A && A.scale[R[k]] ? A.scale[R[k]] : null) : S.selectAll("rect.highlight-bar").transition().call(
16040
16040
  (A) => l.services.transitions.setupTransition({
16041
16041
  transition: A,
16042
16042
  name: "highlight-bar-update",
@@ -16044,8 +16044,8 @@ class kN extends Et {
16044
16044
  })
16045
16045
  ).attr("x", h).attr("width", Math.max(f - h, 0)).attr("y", ({ highlightEndMapsTo: A, ...k }) => _(k[A])).attr(
16046
16046
  "height",
16047
- ({ highlightStartMapsTo: A, highlightEndMapsTo: k, ...D }) => Math.max(_(D[A]) - _(D[k]), 0)
16048
- ).style("stroke", ({ color: A, labelMapsTo: k, ...D }) => A && A.scale[D[k]] ? A.scale[D[k]] : null).style("stroke-dasharray", "2, 2").attr("stroke-width", l.highlightStrokeWidth + "px").style("fill-opacity", 0.1).style("fill", ({ color: A, labelMapsTo: k, ...D }) => A && A.scale[D[k]] ? A.scale[D[k]] : null);
16047
+ ({ highlightStartMapsTo: A, highlightEndMapsTo: k, ...R }) => Math.max(_(R[A]) - _(R[k]), 0)
16048
+ ).style("stroke", ({ color: A, labelMapsTo: k, ...R }) => A && A.scale[R[k]] ? A.scale[R[k]] : null).style("stroke-dasharray", "2, 2").attr("stroke-width", l.highlightStrokeWidth + "px").style("fill-opacity", 0.1).style("fill", ({ color: A, labelMapsTo: k, ...R }) => A && A.scale[R[k]] ? A.scale[R[k]] : null);
16049
16049
  });
16050
16050
  }
16051
16051
  }
@@ -16161,8 +16161,8 @@ class IN extends Et {
16161
16161
  s.alluvial.nodePadding > He.minNodePadding && (l = s.alluvial.nodePadding);
16162
16162
  const c = b(s, "alluvial", "nodeAlignment");
16163
16163
  let u = Hv;
16164
- c === Qt.LEFT ? u = pD : c === Qt.RIGHT && (u = mD);
16165
- const d = xD().nodeId((g) => g.name).nodeWidth(He.nodeWidth).nodePadding(l).nodeAlign(u).extent([
16164
+ c === Qt.LEFT ? u = pR : c === Qt.RIGHT && (u = mR);
16165
+ const d = xR().nodeId((g) => g.name).nodeWidth(He.nodeWidth).nodePadding(l).nodeAlign(u).extent([
16166
16166
  [2, 30],
16167
16167
  [r - 2, i]
16168
16168
  ]);
@@ -16195,7 +16195,7 @@ class IN extends Et {
16195
16195
  (x) => x.append("stop").attr("offset", "100%").attr("stop-color", (w) => g[w.target.name])
16196
16196
  ), f.exit().remove();
16197
16197
  }
16198
- f.enter().append("path").classed("link", !0).attr("d", LD()).attr(
16198
+ f.enter().append("path").classed("link", !0).attr("d", LR()).attr(
16199
16199
  "id",
16200
16200
  (g) => this.services.domUtils.generateElementIDString(`alluvial-line-${g.index}`)
16201
16201
  ).attr("class", (g) => s.alluvial.monochrome ? this.model.getColorClassName({
@@ -16503,7 +16503,7 @@ class w0 extends Et {
16503
16503
  render(t = !0) {
16504
16504
  const n = this.getComponentContainer({ withinChartClip: !0 }), r = this.getOptions();
16505
16505
  let i = [0, 0];
16506
- const { cartesianScales: s } = this.services, a = s.getOrientation(), o = Ru().curve(this.services.curves.getD3Curve()).defined((_) => {
16506
+ const { cartesianScales: s } = this.services, a = s.getOrientation(), o = Du().curve(this.services.curves.getD3Curve()).defined((_) => {
16507
16507
  const S = s.getRangeIdentifier();
16508
16508
  return _[S] != null;
16509
16509
  }), l = this.model.getGroupedData(this.configs.groups), c = b(r, "bounds"), u = c && l && l.length === 1;
@@ -16539,7 +16539,7 @@ class w0 extends Et {
16539
16539
  S = A[k[0]];
16540
16540
  }
16541
16541
  }
16542
- Rc.appendOrUpdateLinearGradient({
16542
+ Dc.appendOrUpdateLinearGradient({
16543
16543
  svg: this.parent,
16544
16544
  id: this.services.domUtils.generateElementIDString(
16545
16545
  `${l[0].name.replace(" ", "")}_${this.gradient_id}`
@@ -16548,7 +16548,7 @@ class w0 extends Et {
16548
16548
  x2: "0%",
16549
16549
  y1: "0%",
16550
16550
  y2: "100%",
16551
- stops: Rc.getStops(i, S)
16551
+ stops: Dc.getStops(i, S)
16552
16552
  });
16553
16553
  } else
16554
16554
  this.parent.selectAll("defs linearGradient").empty() || this.parent.selectAll("defs linearGradient").each(function() {
@@ -17063,7 +17063,7 @@ class S0 extends Et {
17063
17063
  p.attr("aria-hidden", !0);
17064
17064
  return;
17065
17065
  }
17066
- const w = b(m, "scaleType"), _ = b(r, "data", "loading"), S = b(m, "ticks", "number"), A = b(m, "ticks", "values"), k = b(m, "truncation", "type"), D = b(m, "truncation", "threshold"), R = b(m, "truncation", "numCharacter"), T = S !== null, H = b(r, "timeScale"), P = N.appendOrSelect(v, "g.tick"), V = N.appendOrSelect(P, "text").text("0"), E = N.getSVGElementSize(V.node(), {
17066
+ const w = b(m, "scaleType"), _ = b(r, "data", "loading"), S = b(m, "ticks", "number"), A = b(m, "ticks", "values"), k = b(m, "truncation", "type"), R = b(m, "truncation", "threshold"), D = b(m, "truncation", "numCharacter"), T = S !== null, H = b(r, "timeScale"), P = N.appendOrSelect(v, "g.tick"), V = N.appendOrSelect(P, "text").text("0"), E = N.getSVGElementSize(V.node(), {
17067
17067
  useBBox: !0
17068
17068
  }).height;
17069
17069
  P.remove();
@@ -17223,9 +17223,9 @@ class S0 extends Et {
17223
17223
  l.selectAll("g.ticks g.tick").html(J);
17224
17224
  const pt = this;
17225
17225
  l.selectAll("g.tick text").data(K).text(function(q) {
17226
- return q.length > D ? (pt.truncation[n] = !0, _s(q, k, R)) : q;
17226
+ return q.length > R ? (pt.truncation[n] = !0, _s(q, k, D)) : q;
17227
17227
  }), this.getInvisibleAxisRef().selectAll("g.tick text").data(K).text(function(q) {
17228
- return q.length > D ? _s(q, k, R) : q;
17228
+ return q.length > R ? _s(q, k, D) : q;
17229
17229
  }), l.selectAll("g.ticks").html(this.getInvisibleAxisRef().html()), l.selectAll("g.tick text").data(K);
17230
17230
  }
17231
17231
  }
@@ -17572,7 +17572,7 @@ class UN extends Et {
17572
17572
  classNameTypes: [st.STROKE],
17573
17573
  originalClassName: "vertical-line start"
17574
17574
  })
17575
- ).attr("stroke-width", De.strokeWidth.default).attr("fill", "none").transition().call(
17575
+ ).attr("stroke-width", Re.strokeWidth.default).attr("fill", "none").transition().call(
17576
17576
  (T) => this.services.transitions.setupTransition({
17577
17577
  transition: T,
17578
17578
  name: "boxplot-update-verticalstartline",
@@ -17587,7 +17587,7 @@ class UN extends Et {
17587
17587
  classNameTypes: [st.STROKE],
17588
17588
  originalClassName: "vertical-line end"
17589
17589
  })
17590
- ).attr("stroke-width", De.strokeWidth.default).attr("fill", "none").transition().call(
17590
+ ).attr("stroke-width", Re.strokeWidth.default).attr("fill", "none").transition().call(
17591
17591
  (T) => this.services.transitions.setupTransition({
17592
17592
  transition: T,
17593
17593
  name: "boxplot-update-verticalendline",
@@ -17602,7 +17602,7 @@ class UN extends Et {
17602
17602
  classNameTypes: [st.FILL, st.STROKE],
17603
17603
  originalClassName: "box"
17604
17604
  })
17605
- ).attr("fill-opacity", De.box.opacity.default).attr("stroke-width", De.strokeWidth.default).attr("role", ht.GRAPHICS_SYMBOL).attr("aria-roledescription", "box").attr("aria-label", (T) => T[i]).transition().call(
17605
+ ).attr("fill-opacity", Re.box.opacity.default).attr("stroke-width", Re.strokeWidth.default).attr("role", ht.GRAPHICS_SYMBOL).attr("aria-roledescription", "box").attr("aria-label", (T) => T[i]).transition().call(
17606
17606
  (T) => this.services.transitions.setupTransition({
17607
17607
  transition: T,
17608
17608
  name: "boxplot-update-quartiles",
@@ -17624,7 +17624,7 @@ class UN extends Et {
17624
17624
  classNameTypes: [st.STROKE],
17625
17625
  originalClassName: "whisker start"
17626
17626
  })
17627
- ).attr("stroke-width", De.strokeWidth.thicker).attr("fill", "none").transition().call(
17627
+ ).attr("stroke-width", Re.strokeWidth.thicker).attr("fill", "none").transition().call(
17628
17628
  (T) => this.services.transitions.setupTransition({
17629
17629
  transition: T,
17630
17630
  name: "boxplot-update-startingwhisker",
@@ -17654,7 +17654,7 @@ class UN extends Et {
17654
17654
  classNameTypes: [st.STROKE],
17655
17655
  originalClassName: "whisker end"
17656
17656
  })
17657
- ).attr("stroke-width", De.strokeWidth.thicker).attr("fill", "none").transition().call(
17657
+ ).attr("stroke-width", Re.strokeWidth.thicker).attr("fill", "none").transition().call(
17658
17658
  (T) => this.services.transitions.setupTransition({
17659
17659
  transition: T,
17660
17660
  name: "boxplot-update-endingwhisker",
@@ -17664,7 +17664,7 @@ class UN extends Et {
17664
17664
  const H = p.getDomainValue(T[i]) - w / 4, P = H + w / 2, V = p.getRangeValue(T.whiskers.max), E = p.getRangeValue(T.whiskers.max);
17665
17665
  return de({ x0: H, x1: P, y0: V, y1: E }, v);
17666
17666
  });
17667
- const D = k.selectAll("circle.outlier").data(
17667
+ const R = k.selectAll("circle.outlier").data(
17668
17668
  (T) => T.outliers.map((H) => ({
17669
17669
  min: T.whiskers.min,
17670
17670
  max: T.whiskers.max,
@@ -17672,15 +17672,15 @@ class UN extends Et {
17672
17672
  value: H
17673
17673
  }))
17674
17674
  );
17675
- D.exit().remove();
17676
- const R = D.enter().append("circle");
17677
- D.merge(R).attr("r", De.circle.radius).attr(
17675
+ R.exit().remove();
17676
+ const D = R.enter().append("circle");
17677
+ R.merge(D).attr("r", Re.circle.radius).attr(
17678
17678
  "class",
17679
17679
  () => this.model.getColorClassName({
17680
17680
  classNameTypes: [st.FILL, st.STROKE],
17681
17681
  originalClassName: "outlier"
17682
17682
  })
17683
- ).attr("fill-opacity", De.circle.opacity.default).attr("cx", y).transition().call(
17683
+ ).attr("fill-opacity", Re.circle.opacity.default).attr("cx", y).transition().call(
17684
17684
  (T) => this.services.transitions.setupTransition({
17685
17685
  transition: T,
17686
17686
  name: "boxplot-update-circles",
@@ -17692,7 +17692,7 @@ class UN extends Et {
17692
17692
  const t = this, n = this.getOptions(), { groupMapsTo: r } = n.data;
17693
17693
  this.parent.selectAll("path.highlight-area").on("mouseover", function(i, s) {
17694
17694
  const a = I(this);
17695
- I(this.parentNode).select("path.box").classed("hovered", !0).attr("fill-opacity", De.box.opacity.hovered), t.services.events.dispatchEvent(O.Tooltip.SHOW, {
17695
+ I(this.parentNode).select("path.box").classed("hovered", !0).attr("fill-opacity", Re.box.opacity.hovered), t.services.events.dispatchEvent(O.Tooltip.SHOW, {
17696
17696
  event: i,
17697
17697
  hoveredElement: a,
17698
17698
  items: [
@@ -17750,7 +17750,7 @@ class UN extends Et {
17750
17750
  });
17751
17751
  }).on("mouseout", function(i, s) {
17752
17752
  const a = I(this);
17753
- I(this.parentNode).select("path.box").classed("hovered", !1).attr("fill-opacity", De.box.opacity.default), t.services.events.dispatchEvent(O.Boxplot.BOX_MOUSEOUT, {
17753
+ I(this.parentNode).select("path.box").classed("hovered", !1).attr("fill-opacity", Re.box.opacity.default), t.services.events.dispatchEvent(O.Boxplot.BOX_MOUSEOUT, {
17754
17754
  event: i,
17755
17755
  element: a,
17756
17756
  datum: s
@@ -17763,7 +17763,7 @@ class UN extends Et {
17763
17763
  const t = this, n = this.getOptions(), { groupMapsTo: r } = n.data, i = this.services.cartesianScales.getRangeIdentifier();
17764
17764
  this.parent.selectAll("circle").on("mouseover", function(s, a) {
17765
17765
  const o = I(this);
17766
- o.classed("hovered", !0).attr("fill-opacity", De.circle.opacity.hovered).classed("unfilled", !1), t.services.events.dispatchEvent(O.Tooltip.SHOW, {
17766
+ o.classed("hovered", !0).attr("fill-opacity", Re.circle.opacity.hovered).classed("unfilled", !1), t.services.events.dispatchEvent(O.Tooltip.SHOW, {
17767
17767
  event: s,
17768
17768
  hoveredElement: o,
17769
17769
  items: [
@@ -17801,7 +17801,7 @@ class UN extends Et {
17801
17801
  });
17802
17802
  }).on("mouseout", function(s, a) {
17803
17803
  const o = I(this);
17804
- o.classed("hovered", !1).attr("fill-opacity", De.circle.opacity.default), t.services.events.dispatchEvent(O.Boxplot.OUTLIER_MOUSEOUT, {
17804
+ o.classed("hovered", !1).attr("fill-opacity", Re.circle.opacity.default), t.services.events.dispatchEvent(O.Boxplot.OUTLIER_MOUSEOUT, {
17805
17805
  event: s,
17806
17806
  element: o,
17807
17807
  datum: a
@@ -18404,8 +18404,8 @@ class O0 extends nh {
18404
18404
  }
18405
18405
  const c = !Ge(s), u = Av(this.model.getDisplayData()), d = !(i <= jt.color.barWidth), h = d ? jt.color.barWidth : i, f = N.appendOrSelect(r, "g.legend"), p = N.appendOrSelect(f, "g.legend-axis");
18406
18406
  if (l) {
18407
- const D = N.appendOrSelect(r, "g.legend-title");
18408
- N.appendOrSelect(D, "text").text(l).attr("dy", "0.7em"), f.attr("transform", "translate(0, 16)");
18407
+ const R = N.appendOrSelect(r, "g.legend-title");
18408
+ N.appendOrSelect(R, "text").text(l).attr("dy", "0.7em"), f.attr("transform", "translate(0, 16)");
18409
18409
  }
18410
18410
  const v = u[0] < 0 && u[1] > 0 ? "diverge" : "mono";
18411
18411
  (o < 1 && o > 4 && v === "mono" || o < 1 && o > 2 && v === "diverge") && (o = 1);
@@ -18414,12 +18414,12 @@ class O0 extends nh {
18414
18414
  if (c)
18415
18415
  m = s;
18416
18416
  else
18417
- for (let D = 1; D < y + 1; D++)
18417
+ for (let R = 1; R < y + 1; R++)
18418
18418
  m.push(
18419
- a === fa.LINEAR ? `stop-color-${v}-${o}-${D}` : `fill-${v}-${o}-${D}`
18419
+ a === fa.LINEAR ? `stop-color-${v}-${o}-${R}` : `fill-${v}-${o}-${R}`
18420
18420
  );
18421
18421
  const g = Me(u[0], u[1]), x = kx(g, 3), w = Xe().domain(u).range([0, h]), _ = ou(w).tickSize(0).tickValues(x), { code: S, number: A } = b(n, "locale");
18422
- _.tickFormat((D) => A(D, S));
18422
+ _.tickFormat((R) => A(R, S));
18423
18423
  let k;
18424
18424
  switch (a) {
18425
18425
  case fa.LINEAR:
@@ -18799,52 +18799,52 @@ class T0 extends Et {
18799
18799
  return Nt.innerRadius;
18800
18800
  }
18801
18801
  render(t = !0) {
18802
- const n = this, r = this.getComponentContainer(), i = this.getOptions(), { groupMapsTo: s } = i.data, { valueMapsTo: a } = i.pie, o = this.model.getDisplayData().filter((D) => D[a] > 0), l = this.computeRadius();
18802
+ const n = this, r = this.getComponentContainer(), i = this.getOptions(), { groupMapsTo: s } = i.data, { valueMapsTo: a } = i.pie, o = this.model.getDisplayData().filter((R) => R[a] > 0), l = this.computeRadius();
18803
18803
  this.arc = gs().innerRadius(this.getInnerRadius()).outerRadius(l), this.hoverArc = gs().innerRadius(this.getInnerRadius()).outerRadius(l + Nt.hoverArc.outerRadiusOffset);
18804
- const c = XS().value((D) => D[a]).sort(b(i, "pie", "sortFunction")).padAngle(Nt.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]);
18804
+ const c = XS().value((R) => R[a]).sort(b(i, "pie", "sortFunction")).padAngle(Nt.padAngle)(o), u = N.appendOrSelect(r, "g.slices").attr("role", ht.GROUP).attr("data-name", "slices").selectAll("path.slice").data(c, (R) => R.data[s]);
18805
18805
  u.exit().attr("opacity", 0).remove(), u.enter().append("path").classed("slice", !0).attr("opacity", 0).merge(u).attr(
18806
18806
  "class",
18807
- (D) => this.model.getColorClassName({
18807
+ (R) => this.model.getColorClassName({
18808
18808
  classNameTypes: [st.FILL],
18809
- dataGroupName: D.data[s],
18809
+ dataGroupName: R.data[s],
18810
18810
  originalClassName: "slice"
18811
18811
  })
18812
- ).style("fill", (D) => n.model.getFillColor(D.data[s])).attr("d", this.arc).transition().call(
18813
- (D) => this.services.transitions.setupTransition({
18814
- transition: D,
18812
+ ).style("fill", (R) => n.model.getFillColor(R.data[s])).attr("d", this.arc).transition().call(
18813
+ (R) => this.services.transitions.setupTransition({
18814
+ transition: R,
18815
18815
  name: "pie_slice_enter_update",
18816
18816
  animate: t
18817
18817
  })
18818
18818
  ).attr("opacity", 1).attr("role", ht.GRAPHICS_SYMBOL).attr("aria-roledescription", "slice").attr(
18819
18819
  "aria-label",
18820
- (D) => `${D[a]}, ${Al(D.data[a], o, a) + "%"}`
18821
- ).attrTween("d", function(D) {
18822
- return sP.bind(this)(D, n.arc);
18820
+ (R) => `${R[a]}, ${Al(R.data[a], o, a) + "%"}`
18821
+ ).attrTween("d", function(R) {
18822
+ return sP.bind(this)(R, n.arc);
18823
18823
  });
18824
- const { code: d, number: h } = b(i, "locale"), f = i.pie.labels.enabled, p = f ? c.filter((D) => D.data[a] > 0) : [], v = N.appendOrSelect(r, "g.labels").attr("role", ht.GROUP).attr("data-name", "labels").selectAll("text.pie-label").data(p, (D) => D.data[s]);
18824
+ const { code: d, number: h } = b(i, "locale"), f = i.pie.labels.enabled, p = f ? c.filter((R) => R.data[a] > 0) : [], v = N.appendOrSelect(r, "g.labels").attr("role", ht.GROUP).attr("data-name", "labels").selectAll("text.pie-label").data(p, (R) => R.data[s]);
18825
18825
  v.exit().attr("opacity", 0).remove();
18826
18826
  const m = v.enter().append("text").classed("pie-label", !0), y = [];
18827
- m.merge(v).style("text-anchor", "middle").text((D) => i.pie.labels.formatter ? i.pie.labels.formatter({
18828
- ...D,
18827
+ m.merge(v).style("text-anchor", "middle").text((R) => i.pie.labels.formatter ? i.pie.labels.formatter({
18828
+ ...R,
18829
18829
  percentageValue: Al(
18830
- D.data[a],
18830
+ R.data[a],
18831
18831
  o,
18832
18832
  a,
18833
18833
  !0
18834
18834
  )
18835
18835
  }) : h(
18836
- Al(D.data[a], o, a),
18836
+ Al(R.data[a], o, a),
18837
18837
  d
18838
- ) + "%").datum(function(D) {
18839
- const R = l + 7, T = (D.endAngle - D.startAngle) / 2 + D.startAngle, H = T / Math.PI * 180, P = this.getComputedTextLength();
18840
- return D.textOffsetX = P / 2, D.textOffsetY = H > 90 && H < 270 ? 10 : 0, D.xPosition = (D.textOffsetX + R) * Math.sin(T), D.yPosition = (D.textOffsetY + R) * -Math.cos(T), D;
18841
- }).attr("transform", function(D, R) {
18842
- const T = p.length, H = (D.endAngle - D.startAngle) * (180 / Math.PI);
18843
- if (R >= T - 2 && H < Nt.callout.minSliceDegree) {
18838
+ ) + "%").datum(function(R) {
18839
+ const D = l + 7, T = (R.endAngle - R.startAngle) / 2 + R.startAngle, H = T / Math.PI * 180, P = this.getComputedTextLength();
18840
+ return R.textOffsetX = P / 2, R.textOffsetY = H > 90 && H < 270 ? 10 : 0, R.xPosition = (R.textOffsetX + D) * Math.sin(T), R.yPosition = (R.textOffsetY + D) * -Math.cos(T), R;
18841
+ }).attr("transform", function(R, D) {
18842
+ const T = p.length, H = (R.endAngle - R.startAngle) * (180 / Math.PI);
18843
+ if (D >= T - 2 && H < Nt.callout.minSliceDegree) {
18844
18844
  let P, V;
18845
- return D.index === T - 1 ? (P = D.xPosition + Nt.callout.offsetX + Nt.callout.textMargin + D.textOffsetX, V = D.yPosition - Nt.callout.offsetY, D.direction = ua.RIGHT, y.push(D)) : (P = D.xPosition - Nt.callout.offsetX - D.textOffsetX - Nt.callout.textMargin, V = D.yPosition - Nt.callout.offsetY, D.direction = ua.LEFT, y.push(D)), `translate(${P}, ${V})`;
18845
+ return R.index === T - 1 ? (P = R.xPosition + Nt.callout.offsetX + Nt.callout.textMargin + R.textOffsetX, V = R.yPosition - Nt.callout.offsetY, R.direction = ua.RIGHT, y.push(R)) : (P = R.xPosition - Nt.callout.offsetX - R.textOffsetX - Nt.callout.textMargin, V = R.yPosition - Nt.callout.offsetY, R.direction = ua.LEFT, y.push(R)), `translate(${P}, ${V})`;
18846
18846
  }
18847
- return `translate(${D.xPosition}, ${D.yPosition})`;
18847
+ return `translate(${R.xPosition}, ${R.yPosition})`;
18848
18848
  }), this.renderCallouts(y);
18849
18849
  const g = b(i, "donut") ? "donut" : "pie", x = b(i, g, "alignment"), { width: w } = N.getSVGElementSize(this.getParent(), {
18850
18850
  useAttrs: !0
@@ -19053,7 +19053,7 @@ class oP extends Et {
19053
19053
  "transform",
19054
19054
  `translate(0, ${d})`
19055
19055
  ), f = o(a), p = N.appendOrSelect(h, "g.gauge-value-number"), { code: v, number: m } = b(n, "locale"), y = b(n, "gauge", "numberFormatter"), g = p.selectAll("text.gauge-value-number").data([i]);
19056
- g.enter().append("text").attr("class", "gauge-value-number").merge(g).style("font-size", `${f}px`).attr("text-anchor", "middle").text((D) => m(Number(y(D)), v));
19056
+ g.enter().append("text").attr("class", "gauge-value-number").merge(g).style("font-size", `${f}px`).attr("text-anchor", "middle").text((R) => m(Number(y(R)), v));
19057
19057
  const { width: x } = N.getSVGElementSize(
19058
19058
  N.appendOrSelect(t, "text.gauge-value-number"),
19059
19059
  { useBBox: !0 }
@@ -19795,18 +19795,18 @@ class dP extends Et {
19795
19795
  const x = Ms().domain(this.fullDataNormalized.map((E) => E[u])).range([0, 2 * Math.PI].map((E) => E - Math.PI / 2)), w = Yn(this.fullDataNormalized.map((E) => E[d])), _ = Xe().domain([
19796
19796
  w >= 0 ? 0 : w,
19797
19797
  gr(this.fullDataNormalized.map((E) => E[d]))
19798
- ]).range([v, g]).nice(p), S = _.ticks(p), A = (E) => this.model.getFillColor(E), k = QS().angle((E) => x(E[u]) + Math.PI / 2).radius((E) => _(E[d])).curve(Sg), D = this.uniqueKeys.map((E) => {
19799
- const L = this.getLabelDimensions(E).width, $ = dD(
19798
+ ]).range([v, g]).nice(p), S = _.ticks(p), A = (E) => this.model.getFillColor(E), k = QS().angle((E) => x(E[u]) + Math.PI / 2).radius((E) => _(E[d])).curve(Sg), R = this.uniqueKeys.map((E) => {
19799
+ const L = this.getLabelDimensions(E).width, $ = dR(
19800
19800
  x(E),
19801
19801
  g
19802
19802
  );
19803
19803
  return L + $;
19804
- }), R = {
19805
- x: gr(D) + h,
19804
+ }), D = {
19805
+ x: gr(R) + h,
19806
19806
  y: i / 2
19807
19807
  }, T = N.appendOrSelect(n, "g.y-axes").attr("role", ht.GROUP).selectAll("path").data(S, (E) => E), H = (E) => this.uniqueKeys.map((L) => ({ [u]: L, [d]: E }));
19808
19808
  T.join(
19809
- (E) => E.append("path").attr("opacity", 0).attr("transform", `translate(${R.x}, ${R.y})`).attr("fill", "none").call(
19809
+ (E) => E.append("path").attr("opacity", 0).attr("transform", `translate(${D.x}, ${D.y})`).attr("fill", "none").call(
19810
19810
  (L) => L.transition().call(
19811
19811
  ($) => this.services.transitions.setupTransition({
19812
19812
  transition: $,
@@ -19822,7 +19822,7 @@ class dP extends Et {
19822
19822
  name: "radar_y_axes_update",
19823
19823
  animate: t
19824
19824
  })
19825
- ).attr("opacity", 1).attr("transform", `translate(${R.x}, ${R.y})`).attr("d", ($) => k(H($)))
19825
+ ).attr("opacity", 1).attr("transform", `translate(${D.x}, ${D.y})`).attr("d", ($) => k(H($)))
19826
19826
  ),
19827
19827
  (E) => E.call(
19828
19828
  (L) => L.transition().call(
@@ -19834,14 +19834,14 @@ class dP extends Et {
19834
19834
  ).attr("d", ($) => k(H($))).attr("opacity", 0).remove()
19835
19835
  )
19836
19836
  ), N.appendOrSelect(n, "g.x-axes").attr("role", ht.GROUP).selectAll("line").data(this.uniqueKeys, (E) => E).join(
19837
- (E) => E.append("line").attr("opacity", 0).attr("class", (L) => `x-axis-${Nr(L)}`).attr("stroke-dasharray", "0").attr("x1", (L) => Yt(x(L), 0, R).x).attr("y1", (L) => Yt(x(L), 0, R).y).attr("x2", (L) => Yt(x(L), 0, R).x).attr("y2", (L) => Yt(x(L), 0, R).y).call(
19837
+ (E) => E.append("line").attr("opacity", 0).attr("class", (L) => `x-axis-${Nr(L)}`).attr("stroke-dasharray", "0").attr("x1", (L) => Yt(x(L), 0, D).x).attr("y1", (L) => Yt(x(L), 0, D).y).attr("x2", (L) => Yt(x(L), 0, D).x).attr("y2", (L) => Yt(x(L), 0, D).y).call(
19838
19838
  (L) => L.transition().call(
19839
19839
  ($) => this.services.transitions.setupTransition({
19840
19840
  transition: $,
19841
19841
  name: "radar_x_axes_enter",
19842
19842
  animate: t
19843
19843
  })
19844
- ).attr("opacity", 1).attr("x1", ($) => Yt(x($), _.range()[0], R).x).attr("y1", ($) => Yt(x($), _.range()[0], R).y).attr("x2", ($) => Yt(x($), _.range()[1], R).x).attr("y2", ($) => Yt(x($), _.range()[1], R).y)
19844
+ ).attr("opacity", 1).attr("x1", ($) => Yt(x($), _.range()[0], D).x).attr("y1", ($) => Yt(x($), _.range()[0], D).y).attr("x2", ($) => Yt(x($), _.range()[1], D).x).attr("y2", ($) => Yt(x($), _.range()[1], D).y)
19845
19845
  ),
19846
19846
  (E) => E.call(
19847
19847
  (L) => L.transition().call(
@@ -19850,7 +19850,7 @@ class dP extends Et {
19850
19850
  name: "radar_x_axes_update",
19851
19851
  animate: t
19852
19852
  })
19853
- ).attr("opacity", 1).attr("x1", ($) => Yt(x($), _.range()[0], R).x).attr("y1", ($) => Yt(x($), _.range()[0], R).y).attr("x2", ($) => Yt(x($), _.range()[1], R).x).attr("y2", ($) => Yt(x($), _.range()[1], R).y)
19853
+ ).attr("opacity", 1).attr("x1", ($) => Yt(x($), _.range()[0], D).x).attr("y1", ($) => Yt(x($), _.range()[0], D).y).attr("x2", ($) => Yt(x($), _.range()[1], D).x).attr("y2", ($) => Yt(x($), _.range()[1], D).y)
19854
19854
  ),
19855
19855
  (E) => E.call(
19856
19856
  (L) => L.transition().call(
@@ -19864,10 +19864,10 @@ class dP extends Et {
19864
19864
  ), N.appendOrSelect(n, "g.x-labels").attr("role", ht.GROUP).selectAll("text").data(this.uniqueKeys).join(
19865
19865
  (E) => E.append("text").text((L) => L).attr("opacity", 0).attr(
19866
19866
  "x",
19867
- (L) => Yt(x(L), _.range()[1] + h, R).x
19867
+ (L) => Yt(x(L), _.range()[1] + h, D).x
19868
19868
  ).attr(
19869
19869
  "y",
19870
- (L) => Yt(x(L), _.range()[1] + h, R).y
19870
+ (L) => Yt(x(L), _.range()[1] + h, D).y
19871
19871
  ).style("text-anchor", (L) => Lf(x(L)).textAnchor).style(
19872
19872
  "dominant-baseline",
19873
19873
  (L) => Lf(x(L)).dominantBaseline
@@ -19889,10 +19889,10 @@ class dP extends Et {
19889
19889
  })
19890
19890
  ).attr("opacity", 1).attr(
19891
19891
  "x",
19892
- ($) => Yt(x($), _.range()[1] + h, R).x
19892
+ ($) => Yt(x($), _.range()[1] + h, D).x
19893
19893
  ).attr(
19894
19894
  "y",
19895
- ($) => Yt(x($), _.range()[1] + h, R).y
19895
+ ($) => Yt(x($), _.range()[1] + h, D).y
19896
19896
  ).end().finally(() => {
19897
19897
  const $ = b(o, "radar", "alignment"), U = this.getAlignmentXOffset($, n, this.getParent());
19898
19898
  n.attr("x", U);
@@ -19917,7 +19917,7 @@ class dP extends Et {
19917
19917
  })
19918
19918
  ).attr("role", ht.GRAPHICS_SYMBOL).attr("aria-label", (L) => L.name).attr("opacity", 0).attr(
19919
19919
  "transform",
19920
- t ? () => `translate(${R.x}, ${R.y}) scale(${1 + Math.random() * 0.35})` : `translate(${R.x}, ${R.y})`
19920
+ t ? () => `translate(${D.x}, ${D.y}) scale(${1 + Math.random() * 0.35})` : `translate(${D.x}, ${D.y})`
19921
19921
  ).style("fill", (L) => A(L.name)).style("fill-opacity", sr.opacity.selected).style("stroke", (L) => A(L.name)).call((L) => {
19922
19922
  const $ = L.transition().call(
19923
19923
  (U) => this.services.transitions.setupTransition({
@@ -19926,7 +19926,7 @@ class dP extends Et {
19926
19926
  animate: t
19927
19927
  })
19928
19928
  );
19929
- t && $.delay(() => Math.random() * 30).attr("transform", `translate(${R.x}, ${R.y})`), $.attr("opacity", 1).attr("d", (U) => k(U.data));
19929
+ t && $.delay(() => Math.random() * 30).attr("transform", `translate(${D.x}, ${D.y})`), $.attr("opacity", 1).attr("d", (U) => k(U.data));
19930
19930
  }),
19931
19931
  (E) => (E.attr(
19932
19932
  "class",
@@ -19942,7 +19942,7 @@ class dP extends Et {
19942
19942
  name: "radar_blobs_update",
19943
19943
  animate: t
19944
19944
  })
19945
- ).attr("opacity", 1).attr("transform", `translate(${R.x}, ${R.y})`).attr("d", ($) => k($.data))
19945
+ ).attr("opacity", 1).attr("transform", `translate(${D.x}, ${D.y})`).attr("d", ($) => k($.data))
19946
19946
  ), E),
19947
19947
  (E) => E.call((L) => {
19948
19948
  const $ = L.transition().call(
@@ -19954,7 +19954,7 @@ class dP extends Et {
19954
19954
  );
19955
19955
  t && $.delay(() => Math.random() * 30).attr(
19956
19956
  "transform",
19957
- () => `translate(${R.x}, ${R.y}) scale(${1 + Math.random() * 0.35})`
19957
+ () => `translate(${D.x}, ${D.y}) scale(${1 + Math.random() * 0.35})`
19958
19958
  ), $.attr("opacity", 0).remove();
19959
19959
  })
19960
19960
  ), N.appendOrSelect(n, "g.dots").attr("role", ht.GROUP).selectAll("circle").data(this.fullDataNormalized.filter((E) => b(E, d) !== null)).join(
@@ -19968,17 +19968,17 @@ class dP extends Et {
19968
19968
  dataGroupName: E[l],
19969
19969
  originalClassName: Nr(E[u])
19970
19970
  })
19971
- ).attr("cx", (E) => Yt(x(E[u]), _(E[d]), R).x).attr("cy", (E) => Yt(x(E[u]), _(E[d]), R).y).attr("r", 0).attr("opacity", 0).style("fill", (E) => A(E[l])), N.appendOrSelect(n, "g.x-axes-rect").attr("role", ht.GROUP).selectAll("rect").data(this.uniqueKeys).join(
19971
+ ).attr("cx", (E) => Yt(x(E[u]), _(E[d]), D).x).attr("cy", (E) => Yt(x(E[u]), _(E[d]), D).y).attr("r", 0).attr("opacity", 0).style("fill", (E) => A(E[l])), N.appendOrSelect(n, "g.x-axes-rect").attr("role", ht.GROUP).selectAll("rect").data(this.uniqueKeys).join(
19972
19972
  (E) => E.append("rect"),
19973
19973
  (E) => E,
19974
19974
  (E) => E.remove()
19975
- ).attr("x", R.x).attr("y", R.y - m / 2).attr("width", _.range()[1]).attr("height", m).style("fill", "red").style("fill-opacity", 0).attr("transform", (E) => `rotate(${Vv(x(E))}, ${R.x}, ${R.y})`);
19975
+ ).attr("x", D.x).attr("y", D.y - m / 2).attr("width", _.range()[1]).attr("height", m).style("fill", "red").style("fill-opacity", 0).attr("transform", (E) => `rotate(${Vv(x(E))}, ${D.x}, ${D.y})`);
19976
19976
  const { code: P, number: V } = b(o, "locale");
19977
19977
  N.appendOrSelect(n, "g.y-labels").attr("role", ht.GROUP).selectAll("text").data(We(S)).join(
19978
19978
  (E) => E.append("text").attr("opacity", 0).text((L) => V(L, P)).attr(
19979
19979
  "x",
19980
- (L) => Yt(-Math.PI / 2, _(L), R).x + f
19981
- ).attr("y", (L) => Yt(-Math.PI / 2, _(L), R).y).style("text-anchor", "start").style("dominant-baseline", "middle").call(
19980
+ (L) => Yt(-Math.PI / 2, _(L), D).x + f
19981
+ ).attr("y", (L) => Yt(-Math.PI / 2, _(L), D).y).style("text-anchor", "start").style("dominant-baseline", "middle").call(
19982
19982
  (L) => L.transition().call(
19983
19983
  ($) => this.services.transitions.setupTransition({
19984
19984
  transition: $,
@@ -19996,8 +19996,8 @@ class dP extends Et {
19996
19996
  })
19997
19997
  ).text(($) => $).attr("opacity", 1).attr(
19998
19998
  "x",
19999
- ($) => Yt(-Math.PI / 2, _($), R).x + f
20000
- ).attr("y", ($) => Yt(-Math.PI / 2, _($), R).y)
19999
+ ($) => Yt(-Math.PI / 2, _($), D).x + f
20000
+ ).attr("y", ($) => Yt(-Math.PI / 2, _($), D).y)
20001
20001
  ),
20002
20002
  (E) => E.call(
20003
20003
  (L) => L.transition().call(
@@ -20231,7 +20231,7 @@ class A0 extends Et {
20231
20231
  percentage: a,
20232
20232
  groups: this.configs.groups
20233
20233
  }), l = b(o, 0, 0), c = this.services.cartesianScales.getDomainAxisPosition({ datum: l }), u = this.services.cartesianScales.getRangeAxisPosition({ datum: l }), d = this.services.cartesianScales.getScaleByPosition(u), h = n.selectAll("path.area").data(o, (f) => b(f, 0, s));
20234
- this.areaGenerator = Ru().x(
20234
+ this.areaGenerator = Du().x(
20235
20235
  (f) => this.services.cartesianScales.getValueThroughAxisPosition(
20236
20236
  c,
20237
20237
  f.data.sharedStackKey
@@ -20467,17 +20467,17 @@ class pP extends Et {
20467
20467
  children: a
20468
20468
  }), f = 10, p = r / 6, v = (S) => {
20469
20469
  const A = h.descendants().reverse(), k = h.links();
20470
- let D = h, R = h;
20470
+ let R = h, D = h;
20471
20471
  h.eachBefore((U) => {
20472
- U.x < D.x && (D = U), U.x > R.x && (R = U);
20472
+ U.x < R.x && (R = U), U.x > D.x && (D = U);
20473
20473
  });
20474
- const T = R.x - D.x, H = n.transition().call(
20474
+ const T = D.x - R.x, H = n.transition().call(
20475
20475
  (U) => this.services.transitions.setupTransition({
20476
20476
  transition: U,
20477
20477
  name: "tree-update-viewbox",
20478
20478
  animate: !0
20479
20479
  })
20480
- ).attr("viewBox", [-d.left, D.x, r, T].join(" ")), P = _.selectAll("g").data(A, (U) => U.id), V = this, E = P.enter().append("g").attr("transform", () => `translate(${S.y0},${S.x0})`).attr(
20480
+ ).attr("viewBox", [-d.left, R.x, r, T].join(" ")), P = _.selectAll("g").data(A, (U) => U.id), V = this, E = P.enter().append("g").attr("transform", () => `translate(${S.y0},${S.x0})`).attr(
20481
20481
  "class",
20482
20482
  (U) => U.depth !== 0 && U.children && U.children.length > 0 ? "clickable" : null
20483
20483
  ).on("mouseover", function(U, B) {
@@ -20535,13 +20535,13 @@ var mP = "#000000", gP = "#ffffff", vP = "#fcf4d6", yP = "#fddc69", xP = "#f1c21
20535
20535
  80: SP,
20536
20536
  90: OP,
20537
20537
  100: TP
20538
- }, CP = "#fff2e8", AP = "#ffd9be", $P = "#ffb784", LP = "#ff832b", RP = "#eb6200", DP = "#ba4e00", kP = "#8a3800", IP = "#5e2900", NP = "#3e1a00", PP = "#231000", UP = {
20538
+ }, CP = "#fff2e8", AP = "#ffd9be", $P = "#ffb784", LP = "#ff832b", DP = "#eb6200", RP = "#ba4e00", kP = "#8a3800", IP = "#5e2900", NP = "#3e1a00", PP = "#231000", UP = {
20539
20539
  10: CP,
20540
20540
  20: AP,
20541
20541
  30: $P,
20542
20542
  40: LP,
20543
- 50: RP,
20544
- 60: DP,
20543
+ 50: DP,
20544
+ 60: RP,
20545
20545
  70: kP,
20546
20546
  80: IP,
20547
20547
  90: NP,
@@ -20590,12 +20590,12 @@ var mP = "#000000", gP = "#ffffff", vP = "#fcf4d6", yP = "#fddc69", xP = "#f1c21
20590
20590
  80: OU,
20591
20591
  90: TU,
20592
20592
  100: MU
20593
- }, AU = "#e5f6ff", $U = "#bae6ff", LU = "#82cfff", RU = "#33b1ff", DU = "#1192e8", kU = "#0072c3", IU = "#00539a", NU = "#003a6d", PU = "#012749", UU = "#061727", BU = {
20593
+ }, AU = "#e5f6ff", $U = "#bae6ff", LU = "#82cfff", DU = "#33b1ff", RU = "#1192e8", kU = "#0072c3", IU = "#00539a", NU = "#003a6d", PU = "#012749", UU = "#061727", BU = {
20594
20594
  10: AU,
20595
20595
  20: $U,
20596
20596
  30: LU,
20597
- 40: RU,
20598
- 50: DU,
20597
+ 40: DU,
20598
+ 50: RU,
20599
20599
  60: kU,
20600
20600
  70: IU,
20601
20601
  80: NU,
@@ -20645,11 +20645,11 @@ var mP = "#000000", gP = "#ffffff", vP = "#fcf4d6", yP = "#fddc69", xP = "#f1c21
20645
20645
  80: TB,
20646
20646
  90: MB,
20647
20647
  100: CB
20648
- }, $B = "#f7f3f2", LB = "#e5e0df", RB = "#cac5c4", DB = "#ada8a8", kB = "#8f8b8b", IB = "#726e6e", NB = "#565151", PB = "#3c3838", UB = "#272525", BB = "#171414", VB = {
20648
+ }, $B = "#f7f3f2", LB = "#e5e0df", DB = "#cac5c4", RB = "#ada8a8", kB = "#8f8b8b", IB = "#726e6e", NB = "#565151", PB = "#3c3838", UB = "#272525", BB = "#171414", VB = {
20649
20649
  10: $B,
20650
20650
  20: LB,
20651
- 30: RB,
20652
- 40: DB,
20651
+ 30: DB,
20652
+ 40: RB,
20653
20653
  50: kB,
20654
20654
  60: IB,
20655
20655
  70: NB,
@@ -20909,7 +20909,7 @@ class GB extends Et {
20909
20909
  });
20910
20910
  if (u === 0 || d === 0)
20911
20911
  return;
20912
- const h = JD().size([u, d]).words(
20912
+ const h = JR().size([u, d]).words(
20913
20913
  i.map(function(p) {
20914
20914
  const v = p[o];
20915
20915
  if (typeof p[o] != "number")
@@ -21147,7 +21147,7 @@ class WB extends jB {
21147
21147
  });
21148
21148
  }
21149
21149
  }
21150
- function R0(e) {
21150
+ function D0(e) {
21151
21151
  var t = e == null ? 0 : e.length;
21152
21152
  return t ? Ho(e, 1) : [];
21153
21153
  }
@@ -21271,11 +21271,11 @@ function ah(e, t) {
21271
21271
  r
21272
21272
  ), n);
21273
21273
  }
21274
- function D0(e, t) {
21274
+ function R0(e, t) {
21275
21275
  return ah(e, t * 12);
21276
21276
  }
21277
21277
  function JB(e, t) {
21278
- return D0(e, -t);
21278
+ return R0(e, -t);
21279
21279
  }
21280
21280
  function t3(e, t) {
21281
21281
  const n = St(e), r = St(t), i = n.getFullYear() - r.getFullYear(), s = n.getMonth() - r.getMonth();
@@ -21624,11 +21624,11 @@ class u3 extends Nn {
21624
21624
  g.forEach((_) => {
21625
21625
  const { ...S } = _;
21626
21626
  let A = 0, k = 0;
21627
- Object.values(S).forEach((D) => {
21628
- isNaN(D) || (D < 0 ? k += D : A += D);
21627
+ Object.values(S).forEach((R) => {
21628
+ isNaN(R) || (R < 0 ? k += R : A += R);
21629
21629
  }), w.push([k, A]);
21630
21630
  }), v = [
21631
- ...R0(w),
21631
+ ...D0(w),
21632
21632
  ...x.map((_) => _[c])
21633
21633
  ];
21634
21634
  } else
@@ -21673,7 +21673,7 @@ class u3 extends Nn {
21673
21673
  }
21674
21674
  function h3(e, t) {
21675
21675
  const n = new Date(e[0]), r = new Date(e[1]);
21676
- return QB(r, n) > 1 ? [JB(n, t), D0(r, t)] : i3(r, n) > 1 ? [s3(n, t), ah(r, t)] : a3(r, n) > 1 ? [o3(n, t), k0(r, t)] : l3(r, n) > 1 ? [c3(n, t), I0(r, t)] : pp(r, n) > 30 ? [
21676
+ return QB(r, n) > 1 ? [JB(n, t), R0(r, t)] : i3(r, n) > 1 ? [s3(n, t), ah(r, t)] : a3(r, n) > 1 ? [o3(n, t), k0(r, t)] : l3(r, n) > 1 ? [c3(n, t), I0(r, t)] : pp(r, n) > 30 ? [
21677
21677
  mp(n, t * 30),
21678
21678
  Jc(r, t * 30)
21679
21679
  ] : pp(r, n) > 1 ? [mp(n, t), Jc(r, t)] : gp(r, n) > 15 ? [
@@ -21857,7 +21857,7 @@ function N0(e) {
21857
21857
  function O3(e) {
21858
21858
  return e.split("");
21859
21859
  }
21860
- var P0 = "\\ud800-\\udfff", T3 = "\\u0300-\\u036f", M3 = "\\ufe20-\\ufe2f", C3 = "\\u20d0-\\u20ff", A3 = T3 + M3 + C3, $3 = "\\ufe0e\\ufe0f", L3 = "[" + P0 + "]", eu = "[" + A3 + "]", nu = "\\ud83c[\\udffb-\\udfff]", R3 = "(?:" + eu + "|" + nu + ")", U0 = "[^" + P0 + "]", B0 = "(?:\\ud83c[\\udde6-\\uddff]){2}", V0 = "[\\ud800-\\udbff][\\udc00-\\udfff]", D3 = "\\u200d", H0 = R3 + "?", F0 = "[" + $3 + "]?", k3 = "(?:" + D3 + "(?:" + [U0, B0, V0].join("|") + ")" + F0 + H0 + ")*", I3 = F0 + H0 + k3, N3 = "(?:" + [U0 + eu + "?", eu, B0, V0, L3].join("|") + ")", P3 = RegExp(nu + "(?=" + nu + ")|" + N3 + I3, "g");
21860
+ var P0 = "\\ud800-\\udfff", T3 = "\\u0300-\\u036f", M3 = "\\ufe20-\\ufe2f", C3 = "\\u20d0-\\u20ff", A3 = T3 + M3 + C3, $3 = "\\ufe0e\\ufe0f", L3 = "[" + P0 + "]", eu = "[" + A3 + "]", nu = "\\ud83c[\\udffb-\\udfff]", D3 = "(?:" + eu + "|" + nu + ")", U0 = "[^" + P0 + "]", B0 = "(?:\\ud83c[\\udde6-\\uddff]){2}", V0 = "[\\ud800-\\udbff][\\udc00-\\udfff]", R3 = "\\u200d", H0 = D3 + "?", F0 = "[" + $3 + "]?", k3 = "(?:" + R3 + "(?:" + [U0, B0, V0].join("|") + ")" + F0 + H0 + ")*", I3 = F0 + H0 + k3, N3 = "(?:" + [U0 + eu + "?", eu, B0, V0, L3].join("|") + ")", P3 = RegExp(nu + "(?=" + nu + ")|" + N3 + I3, "g");
21861
21861
  function U3(e) {
21862
21862
  return e.match(P3) || [];
21863
21863
  }
@@ -21890,7 +21890,7 @@ class tn {
21890
21890
  domUtils: N,
21891
21891
  events: YB,
21892
21892
  files: XB,
21893
- gradientUtils: Rc,
21893
+ gradientUtils: Dc,
21894
21894
  transitions: ZB
21895
21895
  }, this.model = new dn(this.services);
21896
21896
  }
@@ -21969,7 +21969,7 @@ class tn {
21969
21969
  }
21970
21970
  const p = {
21971
21971
  id: "spacer",
21972
- components: [new Dn(this.model, this.services)],
21972
+ components: [new Rn(this.model, this.services)],
21973
21973
  growth: ut.PREFERRED
21974
21974
  }, v = {
21975
21975
  id: "full-frame",
@@ -21994,7 +21994,7 @@ class tn {
21994
21994
  const y = {
21995
21995
  id: "spacer",
21996
21996
  components: [
21997
- new Dn(this.model, this.services, i ? { size: 15 } : void 0)
21997
+ new Rn(this.model, this.services, i ? { size: 15 } : void 0)
21998
21998
  ],
21999
21999
  growth: ut.PREFERRED
22000
22000
  };
@@ -22054,7 +22054,7 @@ class Ee extends tn {
22054
22054
  l && !c && t.push(
22055
22055
  new b0(this.model, this.services),
22056
22056
  new LN(this.model, this.services)
22057
- ), t.push(new DN(this.model, this.services)), t.push(new kN(this.model, this.services));
22057
+ ), t.push(new RN(this.model, this.services)), t.push(new kN(this.model, this.services));
22058
22058
  const v = {
22059
22059
  id: "graph-frame",
22060
22060
  components: t,
@@ -22068,7 +22068,7 @@ class Ee extends tn {
22068
22068
  }
22069
22069
  const g = {
22070
22070
  id: "spacer",
22071
- components: [new Dn(this.model, this.services)],
22071
+ components: [new Rn(this.model, this.services)],
22072
22072
  growth: ut.PREFERRED
22073
22073
  }, x = {
22074
22074
  id: "full-frame",
@@ -22089,7 +22089,7 @@ class Ee extends tn {
22089
22089
  growth: ut.STRETCH
22090
22090
  }, w = {
22091
22091
  id: "zoom-bar",
22092
- components: [new RN(this.model, this.services)],
22092
+ components: [new DN(this.model, this.services)],
22093
22093
  growth: ut.PREFERRED,
22094
22094
  renderType: nt.SVG
22095
22095
  }, _ = [];
@@ -22098,7 +22098,7 @@ class Ee extends tn {
22098
22098
  const S = {
22099
22099
  id: "spacer",
22100
22100
  components: [
22101
- new Dn(this.model, this.services, s ? { size: 15 } : void 0)
22101
+ new Rn(this.model, this.services, s ? { size: 15 } : void 0)
22102
22102
  ],
22103
22103
  growth: ut.PREFERRED
22104
22104
  };
@@ -22127,7 +22127,7 @@ class W3 extends tn {
22127
22127
  class q3 extends Ee {
22128
22128
  constructor(t, n) {
22129
22129
  super(t, n), this.model.setOptions(
22130
- Gt(Rn(kt.areaChart), n.options)
22130
+ Gt(Dn(kt.areaChart), n.options)
22131
22131
  ), this.init(t, n);
22132
22132
  }
22133
22133
  getComponents() {
@@ -22251,9 +22251,9 @@ class K3 extends tn {
22251
22251
  components: t,
22252
22252
  growth: ut.STRETCH,
22253
22253
  renderType: nt.SVG
22254
- }, d = b(n, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1, h = Pt.COLUMN_REVERSE, f = {
22254
+ }, d = b(n, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1 && this.model.getData().length > 0, h = Pt.COLUMN_REVERSE, f = {
22255
22255
  id: "spacer",
22256
- components: [new Dn(this.model, this.services, { size: 15 })],
22256
+ components: [new Rn(this.model, this.services, { size: 15 })],
22257
22257
  growth: ut.PREFERRED
22258
22258
  }, p = {
22259
22259
  id: "full-frame",
@@ -22278,7 +22278,7 @@ class K3 extends tn {
22278
22278
  const m = {
22279
22279
  id: "spacer",
22280
22280
  components: [
22281
- new Dn(this.model, this.services, i ? { size: 15 } : void 0)
22281
+ new Rn(this.model, this.services, i ? { size: 15 } : void 0)
22282
22282
  ],
22283
22283
  growth: ut.PREFERRED
22284
22284
  };
@@ -22349,7 +22349,7 @@ class J3 extends Ee {
22349
22349
  options: a
22350
22350
  });
22351
22351
  }).filter((i) => i !== null);
22352
- return R0(r);
22352
+ return D0(r);
22353
22353
  }
22354
22354
  getComponents() {
22355
22355
  const { comboChartTypes: t } = this.model.getOptions(), n = t.some(
@@ -22423,7 +22423,7 @@ class nV extends Ee {
22423
22423
  }
22424
22424
  class rV extends Ee {
22425
22425
  constructor(t, n) {
22426
- super(t, n), this.model = new tR(this.services), this.model.setOptions(
22426
+ super(t, n), this.model = new tD(this.services), this.model.setOptions(
22427
22427
  Gt(kt.heatmapChart, n.options)
22428
22428
  ), this.init(t, n);
22429
22429
  }
@@ -22472,9 +22472,9 @@ class rV extends Ee {
22472
22472
  components: t,
22473
22473
  growth: ut.STRETCH,
22474
22474
  renderType: nt.SVG
22475
- }, d = b(n, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1, h = Pt.COLUMN_REVERSE, f = {
22475
+ }, d = b(n, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1 && this.model.getData().length > 0, h = Pt.COLUMN_REVERSE, f = {
22476
22476
  id: "spacer",
22477
- components: [new Dn(this.model, this.services, { size: 15 })],
22477
+ components: [new Rn(this.model, this.services, { size: 15 })],
22478
22478
  growth: ut.PREFERRED
22479
22479
  }, p = {
22480
22480
  id: "full-frame",
@@ -22499,7 +22499,7 @@ class rV extends Ee {
22499
22499
  const m = {
22500
22500
  id: "spacer",
22501
22501
  components: [
22502
- new Dn(this.model, this.services, i ? { size: 15 } : void 0)
22502
+ new Rn(this.model, this.services, i ? { size: 15 } : void 0)
22503
22503
  ],
22504
22504
  growth: ut.PREFERRED
22505
22505
  };
@@ -22523,7 +22523,7 @@ class rV extends Ee {
22523
22523
  }
22524
22524
  class iV extends Ee {
22525
22525
  constructor(t, n) {
22526
- super(t, n), this.model = new eR(this.services), this.model.setOptions(Gt(kt.histogramChart, n.options)), this.init(t, n), this.update();
22526
+ super(t, n), this.model = new eD(this.services), this.model.setOptions(Gt(kt.histogramChart, n.options)), this.init(t, n), this.update();
22527
22527
  }
22528
22528
  getComponents() {
22529
22529
  const t = [
@@ -22573,8 +22573,8 @@ class aV extends Ee {
22573
22573
  class oV extends tn {
22574
22574
  constructor(t, n) {
22575
22575
  var r;
22576
- super(t, n), this.model = new nR(this.services);
22577
- const i = (r = n.options.meter) != null && r.proportional ? lt(Rn(kt.proportionalMeterChart), n.options) : lt(Rn(kt.meterChart), n.options);
22576
+ super(t, n), this.model = new nD(this.services);
22577
+ const i = (r = n.options.meter) != null && r.proportional ? lt(Dn(kt.proportionalMeterChart), n.options) : lt(Dn(kt.meterChart), n.options);
22578
22578
  this.model.setOptions(i), this.init(t, n);
22579
22579
  }
22580
22580
  getComponents() {
@@ -22591,7 +22591,7 @@ class oV extends tn {
22591
22591
  {
22592
22592
  id: "spacer",
22593
22593
  components: [
22594
- new Dn(this.model, this.services, {
22594
+ new Rn(this.model, this.services, {
22595
22595
  size: 8
22596
22596
  })
22597
22597
  ],
@@ -22617,7 +22617,7 @@ class oV extends tn {
22617
22617
  }
22618
22618
  class lV extends tn {
22619
22619
  constructor(t, n) {
22620
- super(t, n), this.model = new rR(this.services), this.model.setOptions(Gt(kt.radarChart, n.options)), this.init(t, n);
22620
+ super(t, n), this.model = new rD(this.services), this.model.setOptions(Gt(kt.radarChart, n.options)), this.init(t, n);
22621
22621
  }
22622
22622
  getComponents() {
22623
22623
  const t = [new dP(this.model, this.services)];
@@ -22643,7 +22643,7 @@ class cV extends Ee {
22643
22643
  }
22644
22644
  class uV extends tn {
22645
22645
  constructor(t, n) {
22646
- super(t, n), this.model = new iR(this.services), this.model.setOptions(Gt(kt.treeChart, n.options)), this.init(t, n);
22646
+ super(t, n), this.model = new iD(this.services), this.model.setOptions(Gt(kt.treeChart, n.options)), this.init(t, n);
22647
22647
  }
22648
22648
  getComponents() {
22649
22649
  const t = [new pP(this.model, this.services)];
@@ -22654,7 +22654,7 @@ class uV extends tn {
22654
22654
  }
22655
22655
  class hV extends tn {
22656
22656
  constructor(t, n) {
22657
- super(t, n), this.model = new sR(this.services), this.model.setOptions(Gt(kt.treemapChart, n.options)), this.init(t, n);
22657
+ super(t, n), this.model = new sD(this.services), this.model.setOptions(Gt(kt.treemapChart, n.options)), this.init(t, n);
22658
22658
  }
22659
22659
  getComponents() {
22660
22660
  const t = [new zB(this.model, this.services)];
@@ -22721,7 +22721,7 @@ class pV extends Ee {
22721
22721
  }
22722
22722
  class mV extends tn {
22723
22723
  constructor(t, n) {
22724
- super(t, n), this.model = new aR(this.services), this.model.setOptions(Gt(kt.wordCloudChart, n.options)), this.init(t, n);
22724
+ super(t, n), this.model = new aD(this.services), this.model.setOptions(Gt(kt.wordCloudChart, n.options)), this.init(t, n);
22725
22725
  }
22726
22726
  getComponents() {
22727
22727
  const t = [
@@ -22771,14 +22771,14 @@ function gV() {
22771
22771
  M.unshift("Warning: " + W), Function.prototype.apply.call(console[C], console, M);
22772
22772
  }
22773
22773
  }
22774
- var w = !1, _ = !1, S = !1, A = !1, k = !1, D;
22775
- D = Symbol.for("react.module.reference");
22776
- function R(C) {
22774
+ var w = !1, _ = !1, S = !1, A = !1, k = !1, R;
22775
+ R = Symbol.for("react.module.reference");
22776
+ function D(C) {
22777
22777
  return !!(typeof C == "string" || typeof C == "function" || C === r || C === s || k || C === i || C === c || C === u || A || C === f || w || _ || S || typeof C == "object" && C !== null && (C.$$typeof === h || C.$$typeof === d || C.$$typeof === a || C.$$typeof === o || C.$$typeof === l || // This needs to include all possible module reference object
22778
22778
  // types supported by any Flight configuration anywhere since
22779
22779
  // we don't know which Flight build this will end up being used
22780
22780
  // with.
22781
- C.$$typeof === D || C.getModuleId !== void 0));
22781
+ C.$$typeof === R || C.getModuleId !== void 0));
22782
22782
  }
22783
22783
  function T(C, W, Z) {
22784
22784
  var ot = C.displayName;
@@ -23023,13 +23023,13 @@ function gV() {
23023
23023
  }
23024
23024
  return "";
23025
23025
  }
23026
- var Bt = Object.prototype.hasOwnProperty, rt = {}, Rt = y.ReactDebugCurrentFrame;
23027
- function Re(C) {
23026
+ var Bt = Object.prototype.hasOwnProperty, rt = {}, Dt = y.ReactDebugCurrentFrame;
23027
+ function De(C) {
23028
23028
  if (C) {
23029
23029
  var W = C._owner, Z = Ut(C.type, C._source, W ? W.type : null);
23030
- Rt.setExtraStackFrame(Z);
23030
+ Dt.setExtraStackFrame(Z);
23031
23031
  } else
23032
- Rt.setExtraStackFrame(null);
23032
+ Dt.setExtraStackFrame(null);
23033
23033
  }
23034
23034
  function me(C, W, Z, ot, wt) {
23035
23035
  {
@@ -23046,7 +23046,7 @@ function gV() {
23046
23046
  } catch (mt) {
23047
23047
  F = mt;
23048
23048
  }
23049
- F && !(F instanceof Error) && (Re(wt), g("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ot || "React class", Z, j, typeof F), Re(null)), F instanceof Error && !(F.message in rt) && (rt[F.message] = !0, Re(wt), g("Failed %s type: %s", Z, F.message), Re(null));
23049
+ F && !(F instanceof Error) && (De(wt), g("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ot || "React class", Z, j, typeof F), De(null)), F instanceof Error && !(F.message in rt) && (rt[F.message] = !0, De(wt), g("Failed %s type: %s", Z, F.message), De(null));
23050
23050
  }
23051
23051
  }
23052
23052
  }
@@ -23292,7 +23292,7 @@ Check the top-level render call using <` + Z + ">.");
23292
23292
  }
23293
23293
  function Si(C, W, Z, ot, wt, M) {
23294
23294
  {
23295
- var j = R(C);
23295
+ var j = D(C);
23296
23296
  if (!j) {
23297
23297
  var F = "";
23298
23298
  (C === void 0 || typeof C == "object" && C !== null && Object.keys(C).length === 0) && (F += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");