@carbon/charts-vue 1.13.30 → 1.13.32

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
@@ -30,7 +30,7 @@ const I0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
30
30
  ZoomBar: op,
31
31
  ZoomDomain: lp
32
32
  }, Symbol.toStringTag, { value: "Module" })), O = I0;
33
- var K = /* @__PURE__ */ ((e) => (e.HTML = "html", e.SVG = "svg", e))(K || {}), Cp = /* @__PURE__ */ ((e) => (e.WHITE = "white", e.G100 = "g100", e.G90 = "g90", e.G10 = "g10", e))(Cp || {}), nt = /* @__PURE__ */ ((e) => (e.BACKGROUND = "background", e.FILL = "fill", e.STROKE = "stroke", e.TOOLTIP = "tooltip", e))(nt || {}), V = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e.TOP = "top", e.BOTTOM = "bottom", e))(V || {}), je = /* @__PURE__ */ ((e) => (e.GRAPH_VIEW = "graph_view", e.SLIDER_VIEW = "slider_view", e))(je || {}), ke = /* @__PURE__ */ ((e) => (e.END_LINE = "end_line", e.MID_LINE = "mid_line", e.FRONT_LINE = "front_line", e.NONE = "none", e))(ke || {}), jt = /* @__PURE__ */ ((e) => (e.VERTICAL = "vertical", e.HORIZONTAL = "horizontal", e))(jt || {}), Z = /* @__PURE__ */ ((e) => (e.TIME = "time", e.LINEAR = "linear", e.LOG = "log", e.LABELS = "labels", e.LABELS_RATIO = "labels-ratio", e))(Z || {}), Ai = /* @__PURE__ */ ((e) => (e.RIGHT = "right", e.LEFT = "left", e.TOP = "top", e.BOTTOM = "bottom", e))(Ai || {}), Ft = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.CENTER = "center", e.RIGHT = "right", e))(Ft || {}), Ui = /* @__PURE__ */ ((e) => (e.HORIZONTAL = "horizontal", e.VERTICAL = "vertical", e))(Ui || {}), Oc = /* @__PURE__ */ ((e) => (e.TREE = "tree", e.DENDROGRAM = "dendrogram", e))(Oc || {}), Mt = /* @__PURE__ */ ((e) => (e.ROW = "row", e.COLUMN = "column", e.ROW_REVERSE = "row-reverse", e.COLUMN_REVERSE = "column-reverse", e))(Mt || {}), at = /* @__PURE__ */ ((e) => (e.FIXED = "fixed", e.PREFERRED = "preferred", e.STRETCH = "stretch", e))(at || {}), Qr = /* @__PURE__ */ ((e) => (e.CENTER = "center", e))(Qr || {}), Rs = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(Rs || {}), Vt = /* @__PURE__ */ ((e) => (e.GRID = "grid", e.VERT_OR_HORIZ = "vertOrHoriz", e.PIE = "pie", e.DONUT = "donut", e))(Vt || {}), on = /* @__PURE__ */ ((e) => (e.START = "start", e.MIDDLE = "middle", e.END = "end", e))(on || {}), ln = /* @__PURE__ */ ((e) => (e.BASELINE = "baseline", e.MIDDLE = "middle", e.HANGING = "hanging", e))(ln || {}), Cr = /* @__PURE__ */ ((e) => (e.SEMI = "semi", e.FULL = "full", e))(Cr || {}), hl = /* @__PURE__ */ ((e) => (e.UP = "up", e.DOWN = "down", e))(hl || {}), Is = /* @__PURE__ */ ((e) => (e.SUCCESS = "success", e.WARNING = "warning", e.DANGER = "danger", e))(Is || {}), Ns = /* @__PURE__ */ ((e) => (e.ALWAYS = "always", e.AUTO = "auto", e.NEVER = "never", e))(Ns || {}), we = /* @__PURE__ */ ((e) => (e.SCATTER = "scatter", e.LINE = "line", e.SIMPLE_BAR = "simple-bar", e.STACKED_BAR = "stacked-bar", e.GROUPED_BAR = "grouped-bar", e.AREA = "area", e.STACKED_AREA = "stacked-area", e))(we || {}), kt = /* @__PURE__ */ ((e) => (e.EXPORT_CSV = "Export as CSV", e.EXPORT_PNG = "Export as PNG", e.EXPORT_JPG = "Export as JPG", e.ZOOM_IN = "Zoom in", e.ZOOM_OUT = "Zoom out", e.RESET_ZOOM = "Reset zoom", e.MAKE_FULLSCREEN = "Make fullscreen", e.SHOW_AS_DATATABLE = "Show as data-table", e.CUSTOM = "Custom", e))(kt || {}), dl = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(dl || {}), Ht = /* @__PURE__ */ ((e) => (e.CHECKBOX = "checkbox", e.RADIUS = "radius", e.AREA = "area", e.SIZE = "size", e.LINE = "line", e.QUARTILE = "quartile", e.ZOOM = "zoom", e))(Ht || {}), Ps = /* @__PURE__ */ ((e) => (e.LINEAR = "linear", e.QUANTIZE = "quantize", e))(Ps || {}), $i = /* @__PURE__ */ ((e) => (e.ON = "on", e.AUTO = "auto", e.OFF = "off", e))($i || {}), Fa = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.HOVERABLE = "hoverable", e))(Fa || {}), un = /* @__PURE__ */ ((e) => (e.geoEqualEarth = "geoEqualEarth", e.geoAlbers = "geoAlbers", e.geoConicEqualArea = "geoConicEqualArea", e.geoConicEquidistant = "geoConicEquidistant", e.geoEquirectangular = "geoEquirectangular", e.geoMercator = "geoMercator", e.geoNaturalEarth1 = "geoNaturalEarth1", e))(un || {});
33
+ var K = /* @__PURE__ */ ((e) => (e.HTML = "html", e.SVG = "svg", e))(K || {}), Cp = /* @__PURE__ */ ((e) => (e.WHITE = "white", e.G100 = "g100", e.G90 = "g90", e.G10 = "g10", e))(Cp || {}), nt = /* @__PURE__ */ ((e) => (e.BACKGROUND = "background", e.FILL = "fill", e.STROKE = "stroke", e.TOOLTIP = "tooltip", e))(nt || {}), V = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e.TOP = "top", e.BOTTOM = "bottom", e))(V || {}), je = /* @__PURE__ */ ((e) => (e.GRAPH_VIEW = "graph_view", e.SLIDER_VIEW = "slider_view", e))(je || {}), ke = /* @__PURE__ */ ((e) => (e.END_LINE = "end_line", e.MID_LINE = "mid_line", e.FRONT_LINE = "front_line", e.NONE = "none", e))(ke || {}), jt = /* @__PURE__ */ ((e) => (e.VERTICAL = "vertical", e.HORIZONTAL = "horizontal", e))(jt || {}), Z = /* @__PURE__ */ ((e) => (e.TIME = "time", e.LINEAR = "linear", e.LOG = "log", e.LABELS = "labels", e.LABELS_RATIO = "labels-ratio", e))(Z || {}), Ai = /* @__PURE__ */ ((e) => (e.RIGHT = "right", e.LEFT = "left", e.TOP = "top", e.BOTTOM = "bottom", e))(Ai || {}), Ft = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.CENTER = "center", e.RIGHT = "right", e))(Ft || {}), Ui = /* @__PURE__ */ ((e) => (e.HORIZONTAL = "horizontal", e.VERTICAL = "vertical", e))(Ui || {}), Oc = /* @__PURE__ */ ((e) => (e.TREE = "tree", e.DENDROGRAM = "dendrogram", e))(Oc || {}), Ct = /* @__PURE__ */ ((e) => (e.ROW = "row", e.COLUMN = "column", e.ROW_REVERSE = "row-reverse", e.COLUMN_REVERSE = "column-reverse", e))(Ct || {}), at = /* @__PURE__ */ ((e) => (e.FIXED = "fixed", e.PREFERRED = "preferred", e.STRETCH = "stretch", e))(at || {}), Qr = /* @__PURE__ */ ((e) => (e.CENTER = "center", e))(Qr || {}), Rs = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(Rs || {}), Vt = /* @__PURE__ */ ((e) => (e.GRID = "grid", e.VERT_OR_HORIZ = "vertOrHoriz", e.PIE = "pie", e.DONUT = "donut", e))(Vt || {}), on = /* @__PURE__ */ ((e) => (e.START = "start", e.MIDDLE = "middle", e.END = "end", e))(on || {}), ln = /* @__PURE__ */ ((e) => (e.BASELINE = "baseline", e.MIDDLE = "middle", e.HANGING = "hanging", e))(ln || {}), Cr = /* @__PURE__ */ ((e) => (e.SEMI = "semi", e.FULL = "full", e))(Cr || {}), hl = /* @__PURE__ */ ((e) => (e.UP = "up", e.DOWN = "down", e))(hl || {}), Is = /* @__PURE__ */ ((e) => (e.SUCCESS = "success", e.WARNING = "warning", e.DANGER = "danger", e))(Is || {}), Ns = /* @__PURE__ */ ((e) => (e.ALWAYS = "always", e.AUTO = "auto", e.NEVER = "never", e))(Ns || {}), we = /* @__PURE__ */ ((e) => (e.SCATTER = "scatter", e.LINE = "line", e.SIMPLE_BAR = "simple-bar", e.STACKED_BAR = "stacked-bar", e.GROUPED_BAR = "grouped-bar", e.AREA = "area", e.STACKED_AREA = "stacked-area", e))(we || {}), yt = /* @__PURE__ */ ((e) => (e.EXPORT_CSV = "Export as CSV", e.EXPORT_PNG = "Export as PNG", e.EXPORT_JPG = "Export as JPG", e.ZOOM_IN = "Zoom in", e.ZOOM_OUT = "Zoom out", e.RESET_ZOOM = "Reset zoom", e.MAKE_FULLSCREEN = "Make fullscreen", e.EXIT_FULLSCREEN = "Exit fullscreen", e.SHOW_AS_DATATABLE = "Show as data-table", e.CUSTOM = "Custom", e))(yt || {}), dl = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(dl || {}), Ht = /* @__PURE__ */ ((e) => (e.CHECKBOX = "checkbox", e.RADIUS = "radius", e.AREA = "area", e.SIZE = "size", e.LINE = "line", e.QUARTILE = "quartile", e.ZOOM = "zoom", e))(Ht || {}), Ps = /* @__PURE__ */ ((e) => (e.LINEAR = "linear", e.QUANTIZE = "quantize", e))(Ps || {}), $i = /* @__PURE__ */ ((e) => (e.ON = "on", e.AUTO = "auto", e.OFF = "off", e))($i || {}), Fa = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.HOVERABLE = "hoverable", e))(Fa || {}), un = /* @__PURE__ */ ((e) => (e.geoEqualEarth = "geoEqualEarth", e.geoAlbers = "geoAlbers", e.geoConicEqualArea = "geoConicEqualArea", e.geoConicEquidistant = "geoConicEquidistant", e.geoEquirectangular = "geoEquirectangular", e.geoMercator = "geoMercator", e.geoNaturalEarth1 = "geoNaturalEarth1", e))(un || {});
34
34
  function qn(e, t) {
35
35
  return e == null || t == null ? NaN : e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
36
36
  }
@@ -1083,7 +1083,7 @@ ye.prototype = Ji.prototype = {
1083
1083
  dispatch: z1,
1084
1084
  [Symbol.iterator]: j1
1085
1085
  };
1086
- function k(e) {
1086
+ function D(e) {
1087
1087
  return typeof e == "string" ? new ye([[document.querySelector(e)]], [document.documentElement]) : new ye([[e]], zp);
1088
1088
  }
1089
1089
  function q1(e) {
@@ -1111,11 +1111,11 @@ function vl(e) {
1111
1111
  e.preventDefault(), e.stopImmediatePropagation();
1112
1112
  }
1113
1113
  function Y1(e) {
1114
- var t = e.document.documentElement, n = k(e).on("dragstart.drag", vl, gl);
1114
+ var t = e.document.documentElement, n = D(e).on("dragstart.drag", vl, gl);
1115
1115
  "onselectstart" in t ? n.on("selectstart.drag", vl, gl) : (t.__noselect = t.style.MozUserSelect, t.style.MozUserSelect = "none");
1116
1116
  }
1117
1117
  function X1(e, t) {
1118
- var n = e.document.documentElement, r = k(e).on("dragstart.drag", null);
1118
+ var n = e.document.documentElement, r = D(e).on("dragstart.drag", null);
1119
1119
  t && (r.on("click.drag", vl, gl), setTimeout(function() {
1120
1120
  r.on("click.drag", null);
1121
1121
  }, 0)), "onselectstart" in n ? r.on("selectstart.drag", null) : (n.style.MozUserSelect = n.__noselect, delete n.__noselect);
@@ -2331,7 +2331,7 @@ function Vb(e) {
2331
2331
  var v = m.property("__brush", g).selectAll(".overlay").data([la("overlay")]);
2332
2332
  v.enter().append("rect").attr("class", "overlay").attr("pointer-events", "all").attr("cursor", an.overlay).merge(v).each(function() {
2333
2333
  var y = Lo(this).extent;
2334
- k(this).attr("x", y[0][0]).attr("y", y[0][1]).attr("width", y[1][0] - y[0][0]).attr("height", y[1][1] - y[0][1]);
2334
+ D(this).attr("x", y[0][0]).attr("y", y[0][1]).attr("width", y[1][0] - y[0][0]).attr("height", y[1][1] - y[0][1]);
2335
2335
  }), m.selectAll(".selection").data([la("selection")]).enter().append("rect").attr("class", "selection").attr("cursor", an.selection).attr("fill", "#777").attr("fill-opacity", 0.3).attr("stroke", "#fff").attr("shape-rendering", "crispEdges");
2336
2336
  var x = m.selectAll(".handle").data(e.handles, function(y) {
2337
2337
  return y.type;
@@ -2361,7 +2361,7 @@ function Vb(e) {
2361
2361
  l.move(m, null, v);
2362
2362
  };
2363
2363
  function c() {
2364
- var m = k(this), v = Lo(this).selection;
2364
+ var m = D(this), v = Lo(this).selection;
2365
2365
  v ? (m.selectAll(".selection").style("display", null).attr("x", v[0][0]).attr("y", v[0][1]).attr("width", v[1][0] - v[0][0]).attr("height", v[1][1] - v[0][1]), m.selectAll(".handle").style("display", null).attr("x", function(x) {
2366
2366
  return x.type[x.type.length - 1] === "e" ? v[1][0] - a / 2 : v[0][0] - a / 2;
2367
2367
  }).attr("y", function(x) {
@@ -2393,7 +2393,7 @@ function Vb(e) {
2393
2393
  return --this.active === 0 && (delete this.state.emitter, this.emit("end", m, v)), this;
2394
2394
  },
2395
2395
  emit: function(m, v, x) {
2396
- var y = k(this.that).datum();
2396
+ var y = D(this.that).datum();
2397
2397
  s.call(
2398
2398
  m,
2399
2399
  this.that,
@@ -2412,11 +2412,11 @@ function Vb(e) {
2412
2412
  if (o && !m.touches || !n.apply(this, arguments))
2413
2413
  return;
2414
2414
  var v = this, x = m.target.__data__.type, y = (i && m.metaKey ? x = "overlay" : x) === "selection" ? fh : i && m.altKey ? vr : gr, w = e === $o ? null : Ib[x], _ = e === Gs ? null : Nb[x], S = Lo(v), T = S.extent, R = S.selection, P = T[0][0], $, C, H = T[0][1], M, L, E = T[1][0], U, B, N = T[1][1], I, j, G = 0, tt = 0, J, z = w && _ && i && m.shiftKey, X, ct, rt = Array.from(m.touches || [m], (et) => {
2415
- const At = et.identifier;
2416
- return et = Kn(et, v), et.point0 = et.slice(), et.identifier = At, et;
2415
+ const $t = et.identifier;
2416
+ return et = Kn(et, v), et.point0 = et.slice(), et.identifier = $t, et;
2417
2417
  });
2418
2418
  Sl(v);
2419
- var Ct = u(v, arguments, !0).beforestart();
2419
+ var At = u(v, arguments, !0).beforestart();
2420
2420
  if (x === "overlay") {
2421
2421
  R && (J = !0);
2422
2422
  const et = [rt[0], rt[1] || rt[0]];
@@ -2426,34 +2426,34 @@ function Vb(e) {
2426
2426
  ], [
2427
2427
  U = e === $o ? E : Kt(et[0][0], et[1][0]),
2428
2428
  I = e === Gs ? N : Kt(et[0][1], et[1][1])
2429
- ]], rt.length > 1 && wt(m);
2429
+ ]], rt.length > 1 && St(m);
2430
2430
  } else
2431
2431
  $ = R[0][0], M = R[0][1], U = R[1][0], I = R[1][1];
2432
2432
  C = $, L = M, B = U, j = I;
2433
- var q = k(v).attr("pointer-events", "none"), Q = q.selectAll(".overlay").attr("cursor", an[x]);
2433
+ var q = D(v).attr("pointer-events", "none"), Q = q.selectAll(".overlay").attr("cursor", an[x]);
2434
2434
  if (m.touches)
2435
- Ct.moved = F, Ct.ended = ft;
2435
+ At.moved = F, At.ended = ft;
2436
2436
  else {
2437
- var st = k(m.view).on("mousemove.brush", F, !0).on("mouseup.brush", ft, !0);
2437
+ var st = D(m.view).on("mousemove.brush", F, !0).on("mouseup.brush", ft, !0);
2438
2438
  i && st.on("keydown.brush", Pt, !0).on("keyup.brush", Ut, !0), Y1(m.view);
2439
2439
  }
2440
- c.call(v), Ct.start(m, y.name);
2440
+ c.call(v), At.start(m, y.name);
2441
2441
  function F(et) {
2442
- for (const At of et.changedTouches || [et])
2442
+ for (const $t of et.changedTouches || [et])
2443
2443
  for (const Pn of rt)
2444
- Pn.identifier === At.identifier && (Pn.cur = Kn(At, v));
2444
+ Pn.identifier === $t.identifier && (Pn.cur = Kn($t, v));
2445
2445
  if (z && !X && !ct && rt.length === 1) {
2446
- const At = rt[0];
2447
- ph(At.cur[0] - At[0]) > ph(At.cur[1] - At[1]) ? ct = !0 : X = !0;
2446
+ const $t = rt[0];
2447
+ ph($t.cur[0] - $t[0]) > ph($t.cur[1] - $t[1]) ? ct = !0 : X = !0;
2448
2448
  }
2449
- for (const At of rt)
2450
- At.cur && (At[0] = At.cur[0], At[1] = At.cur[1]);
2451
- J = !0, Co(et), wt(et);
2449
+ for (const $t of rt)
2450
+ $t.cur && ($t[0] = $t.cur[0], $t[1] = $t.cur[1]);
2451
+ J = !0, Co(et), St(et);
2452
2452
  }
2453
- function wt(et) {
2454
- const At = rt[0], Pn = At.point0;
2453
+ function St(et) {
2454
+ const $t = rt[0], Pn = $t.point0;
2455
2455
  var Ee;
2456
- switch (G = At[0] - Pn[0], tt = At[1] - Pn[1], y) {
2456
+ switch (G = $t[0] - Pn[0], tt = $t[1] - Pn[1], y) {
2457
2457
  case Ao:
2458
2458
  case fh: {
2459
2459
  w && (G = Kt(P - $, Qt(E - U, G)), C = $ + G, B = U + G), _ && (tt = Kt(H - M, Qt(N - I, tt)), L = M + tt, j = I + tt);
@@ -2468,7 +2468,7 @@ function Vb(e) {
2468
2468
  break;
2469
2469
  }
2470
2470
  }
2471
- B < C && (w *= -1, Ee = $, $ = U, U = Ee, Ee = C, C = B, B = Ee, x in vh && Q.attr("cursor", an[x = vh[x]])), j < L && (_ *= -1, Ee = M, M = I, I = Ee, Ee = L, L = j, j = Ee, x in yh && Q.attr("cursor", an[x = yh[x]])), S.selection && (R = S.selection), X && (C = R[0][0], B = R[1][0]), ct && (L = R[0][1], j = R[1][1]), (R[0][0] !== C || R[0][1] !== L || R[1][0] !== B || R[1][1] !== j) && (S.selection = [[C, L], [B, j]], c.call(v), Ct.brush(et, y.name));
2471
+ B < C && (w *= -1, Ee = $, $ = U, U = Ee, Ee = C, C = B, B = Ee, x in vh && Q.attr("cursor", an[x = vh[x]])), j < L && (_ *= -1, Ee = M, M = I, I = Ee, Ee = L, L = j, j = Ee, x in yh && Q.attr("cursor", an[x = yh[x]])), S.selection && (R = S.selection), X && (C = R[0][0], B = R[1][0]), ct && (L = R[0][1], j = R[1][1]), (R[0][0] !== C || R[0][1] !== L || R[1][0] !== B || R[1][1] !== j) && (S.selection = [[C, L], [B, j]], c.call(v), At.brush(et, y.name));
2472
2472
  }
2473
2473
  function ft(et) {
2474
2474
  if (Rb(et), et.touches) {
@@ -2479,7 +2479,7 @@ function Vb(e) {
2479
2479
  }, 500);
2480
2480
  } else
2481
2481
  X1(et.view, J), st.on("keydown.brush keyup.brush mousemove.brush mouseup.brush", null);
2482
- q.attr("pointer-events", "all"), Q.attr("cursor", an.overlay), S.selection && (R = S.selection), Hb(R) && (S.selection = null, c.call(v)), Ct.end(et, y.name);
2482
+ q.attr("pointer-events", "all"), Q.attr("cursor", an.overlay), S.selection && (R = S.selection), Hb(R) && (S.selection = null, c.call(v)), At.end(et, y.name);
2483
2483
  }
2484
2484
  function Pt(et) {
2485
2485
  switch (et.keyCode) {
@@ -2488,11 +2488,11 @@ function Vb(e) {
2488
2488
  break;
2489
2489
  }
2490
2490
  case 18: {
2491
- y === gr && (w && (U = B - G * w, $ = C + G * w), _ && (I = j - tt * _, M = L + tt * _), y = vr, wt(et));
2491
+ y === gr && (w && (U = B - G * w, $ = C + G * w), _ && (I = j - tt * _, M = L + tt * _), y = vr, St(et));
2492
2492
  break;
2493
2493
  }
2494
2494
  case 32: {
2495
- (y === gr || y === vr) && (w < 0 ? U = B - G : w > 0 && ($ = C - G), _ < 0 ? I = j - tt : _ > 0 && (M = L - tt), y = Ao, Q.attr("cursor", an.selection), wt(et));
2495
+ (y === gr || y === vr) && (w < 0 ? U = B - G : w > 0 && ($ = C - G), _ < 0 ? I = j - tt : _ > 0 && (M = L - tt), y = Ao, Q.attr("cursor", an.selection), St(et));
2496
2496
  break;
2497
2497
  }
2498
2498
  default:
@@ -2503,15 +2503,15 @@ function Vb(e) {
2503
2503
  function Ut(et) {
2504
2504
  switch (et.keyCode) {
2505
2505
  case 16: {
2506
- z && (X = ct = z = !1, wt(et));
2506
+ z && (X = ct = z = !1, St(et));
2507
2507
  break;
2508
2508
  }
2509
2509
  case 18: {
2510
- y === vr && (w < 0 ? U = B : w > 0 && ($ = C), _ < 0 ? I = j : _ > 0 && (M = L), y = gr, wt(et));
2510
+ y === vr && (w < 0 ? U = B : w > 0 && ($ = C), _ < 0 ? I = j : _ > 0 && (M = L), y = gr, St(et));
2511
2511
  break;
2512
2512
  }
2513
2513
  case 32: {
2514
- y === Ao && (et.altKey ? (w && (U = B - G * w, $ = C + G * w), _ && (I = j - tt * _, M = L + tt * _), y = vr) : (w < 0 ? U = B : w > 0 && ($ = C), _ < 0 ? I = j : _ > 0 && (M = L), y = gr), Q.attr("cursor", an[x]), wt(et));
2514
+ y === Ao && (et.altKey ? (w && (U = B - G * w, $ = C + G * w), _ && (I = j - tt * _, M = L + tt * _), y = vr) : (w < 0 ? U = B : w > 0 && ($ = C), _ < 0 ? I = j : _ > 0 && (M = L), y = gr), Q.attr("cursor", an[x]), St(et));
2515
2515
  break;
2516
2516
  }
2517
2517
  default:
@@ -2791,7 +2791,7 @@ function tE(e, t) {
2791
2791
  function eE(e, t) {
2792
2792
  return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, Vr(t) - Vr(e)) + 1;
2793
2793
  }
2794
- var xt = 1e-6, um = 1e-12, ht = Math.PI, ce = ht / 2, Sh = ht / 4, xe = ht * 2, ne = 180 / ht, Nt = ht / 180, bt = Math.abs, hm = Math.atan, Jn = Math.atan2, Et = Math.cos, nE = Math.exp, rE = Math.log, gt = Math.sin, Dn = Math.sign || function(e) {
2794
+ var bt = 1e-6, um = 1e-12, ht = Math.PI, ce = ht / 2, Sh = ht / 4, xe = ht * 2, ne = 180 / ht, Nt = ht / 180, Et = Math.abs, hm = Math.atan, Jn = Math.atan2, _t = Math.cos, nE = Math.exp, rE = Math.log, gt = Math.sin, Dn = Math.sign || function(e) {
2795
2795
  return e > 0 ? 1 : e < 0 ? -1 : 0;
2796
2796
  }, Ne = Math.sqrt, iE = Math.tan;
2797
2797
  function sE(e) {
@@ -2862,8 +2862,8 @@ function Cl(e) {
2862
2862
  return [Jn(e[1], e[0]), xn(e[2])];
2863
2863
  }
2864
2864
  function Fr(e) {
2865
- var t = e[0], n = e[1], r = Et(n);
2866
- return [r * Et(t), r * gt(t), gt(n)];
2865
+ var t = e[0], n = e[1], r = _t(n);
2866
+ return [r * _t(t), r * gt(t), gt(n)];
2867
2867
  }
2868
2868
  function xs(e, t) {
2869
2869
  return e[0] * t[0] + e[1] * t[1] + e[2] * t[2];
@@ -2890,7 +2890,7 @@ function $l(e, t) {
2890
2890
  }), n;
2891
2891
  }
2892
2892
  function Ll(e, t) {
2893
- return bt(e) > ht && (e -= Math.round(e / xe) * xe), [e, t];
2893
+ return Et(e) > ht && (e -= Math.round(e / xe) * xe), [e, t];
2894
2894
  }
2895
2895
  Ll.invert = Ll;
2896
2896
  function dm(e, t, n) {
@@ -2898,7 +2898,7 @@ function dm(e, t, n) {
2898
2898
  }
2899
2899
  function Ch(e) {
2900
2900
  return function(t, n) {
2901
- return t += e, bt(t) > ht && (t -= Math.round(t / xe) * xe), [t, n];
2901
+ return t += e, Et(t) > ht && (t -= Math.round(t / xe) * xe), [t, n];
2902
2902
  };
2903
2903
  }
2904
2904
  function Ah(e) {
@@ -2906,16 +2906,16 @@ function Ah(e) {
2906
2906
  return t.invert = Ch(-e), t;
2907
2907
  }
2908
2908
  function $h(e, t) {
2909
- var n = Et(e), r = gt(e), i = Et(t), s = gt(t);
2909
+ var n = _t(e), r = gt(e), i = _t(t), s = gt(t);
2910
2910
  function a(o, l) {
2911
- var c = Et(l), u = Et(o) * c, d = gt(o) * c, h = gt(l), f = h * n + u * r;
2911
+ var c = _t(l), u = _t(o) * c, d = gt(o) * c, h = gt(l), f = h * n + u * r;
2912
2912
  return [
2913
2913
  Jn(d * i - f * s, u * n - h * r),
2914
2914
  xn(f * i + d * s)
2915
2915
  ];
2916
2916
  }
2917
2917
  return a.invert = function(o, l) {
2918
- var c = Et(l), u = Et(o) * c, d = gt(o) * c, h = gt(l), f = h * i - d * s;
2918
+ var c = _t(l), u = _t(o) * c, d = gt(o) * c, h = gt(l), f = h * i - d * s;
2919
2919
  return [
2920
2920
  Jn(d * i + h * s, u * n + f * r),
2921
2921
  xn(f * n - u * r)
@@ -2933,16 +2933,16 @@ function aE(e) {
2933
2933
  }
2934
2934
  function oE(e, t, n, r, i, s) {
2935
2935
  if (n) {
2936
- var a = Et(t), o = gt(t), l = r * n;
2936
+ var a = _t(t), o = gt(t), l = r * n;
2937
2937
  i == null ? (i = t + r * xe, s = t - l / 2) : (i = Lh(a, i), s = Lh(a, s), (r > 0 ? i < s : i > s) && (i += r * xe));
2938
2938
  for (var c, u = i; r > 0 ? u > s : u < s; u -= l)
2939
- c = Cl([a, -o * Et(u), -o * gt(u)]), e.point(c[0], c[1]);
2939
+ c = Cl([a, -o * _t(u), -o * gt(u)]), e.point(c[0], c[1]);
2940
2940
  }
2941
2941
  }
2942
2942
  function Lh(e, t) {
2943
2943
  t = Fr(t), t[0] -= e, Al(t);
2944
2944
  var n = sE(-t[1]);
2945
- return ((-t[2] < 0 ? -n : n) + xe - xt) % xe;
2945
+ return ((-t[2] < 0 ? -n : n) + xe - bt) % xe;
2946
2946
  }
2947
2947
  function fm() {
2948
2948
  var e = [], t;
@@ -2964,7 +2964,7 @@ function fm() {
2964
2964
  };
2965
2965
  }
2966
2966
  function zs(e, t) {
2967
- return bt(e[0] - t[0]) < xt && bt(e[1] - t[1]) < xt;
2967
+ return Et(e[0] - t[0]) < bt && Et(e[1] - t[1]) < bt;
2968
2968
  }
2969
2969
  function Es(e, t, n, r) {
2970
2970
  this.x = e, this.z = t, this.o = n, this.e = r, this.v = !1, this.n = this.p = null;
@@ -2981,7 +2981,7 @@ function pm(e, t, n, r, i) {
2981
2981
  i.lineEnd();
2982
2982
  return;
2983
2983
  }
2984
- v[0] += 2 * xt;
2984
+ v[0] += 2 * bt;
2985
2985
  }
2986
2986
  s.push(x = new Es(m, p, null, !0)), a.push(x.o = new Es(m, null, x, !1)), s.push(x = new Es(v, p, null, !1)), a.push(x.o = new Es(v, null, x, !0));
2987
2987
  }
@@ -3023,16 +3023,16 @@ function Dh(e) {
3023
3023
  }
3024
3024
  }
3025
3025
  function ko(e) {
3026
- return bt(e[0]) <= ht ? e[0] : Dn(e[0]) * ((bt(e[0]) + ht) % xe - ht);
3026
+ return Et(e[0]) <= ht ? e[0] : Dn(e[0]) * ((Et(e[0]) + ht) % xe - ht);
3027
3027
  }
3028
3028
  function lE(e, t) {
3029
- var n = ko(t), r = t[1], i = gt(r), s = [gt(n), -Et(n), 0], a = 0, o = 0, l = new Xn();
3030
- i === 1 ? r = ce + xt : i === -1 && (r = -ce - xt);
3029
+ var n = ko(t), r = t[1], i = gt(r), s = [gt(n), -_t(n), 0], a = 0, o = 0, l = new Xn();
3030
+ i === 1 ? r = ce + bt : i === -1 && (r = -ce - bt);
3031
3031
  for (var c = 0, u = e.length; c < u; ++c)
3032
3032
  if (h = (d = e[c]).length)
3033
- for (var d, h, f = d[h - 1], p = ko(f), g = f[1] / 2 + Sh, m = gt(g), v = Et(g), x = 0; x < h; ++x, p = w, m = S, v = T, f = y) {
3034
- var y = d[x], w = ko(y), _ = y[1] / 2 + Sh, S = gt(_), T = Et(_), R = w - p, P = R >= 0 ? 1 : -1, $ = P * R, C = $ > ht, H = m * S;
3035
- if (l.add(Jn(H * P * gt($), v * T + H * Et($))), a += C ? R + P * xe : R, C ^ p >= n ^ w >= n) {
3033
+ for (var d, h, f = d[h - 1], p = ko(f), g = f[1] / 2 + Sh, m = gt(g), v = _t(g), x = 0; x < h; ++x, p = w, m = S, v = T, f = y) {
3034
+ var y = d[x], w = ko(y), _ = y[1] / 2 + Sh, S = gt(_), T = _t(_), R = w - p, P = R >= 0 ? 1 : -1, $ = P * R, C = $ > ht, H = m * S;
3035
+ if (l.add(Jn(H * P * gt($), v * T + H * _t($))), a += C ? R + P * xe : R, C ^ p >= n ^ w >= n) {
3036
3036
  var M = ha(Fr(f), Fr(y));
3037
3037
  Al(M);
3038
3038
  var L = ha(s, M);
@@ -3041,7 +3041,7 @@ function lE(e, t) {
3041
3041
  (r > E || r === E && (M[0] || M[1])) && (o += C ^ R >= 0 ? 1 : -1);
3042
3042
  }
3043
3043
  }
3044
- return (a < -xt || a < xt && l < -um) ^ o & 1;
3044
+ return (a < -bt || a < bt && l < -um) ^ o & 1;
3045
3045
  }
3046
3046
  function mm(e, t, n, r) {
3047
3047
  return function(i) {
@@ -3101,7 +3101,7 @@ function cE(e) {
3101
3101
  return e.length > 1;
3102
3102
  }
3103
3103
  function uE(e, t) {
3104
- return ((e = e.x)[0] < 0 ? e[1] - ce - xt : ce - e[1]) - ((t = t.x)[0] < 0 ? t[1] - ce - xt : ce - t[1]);
3104
+ return ((e = e.x)[0] < 0 ? e[1] - ce - bt : ce - e[1]) - ((t = t.x)[0] < 0 ? t[1] - ce - bt : ce - t[1]);
3105
3105
  }
3106
3106
  const kh = mm(
3107
3107
  function() {
@@ -3118,8 +3118,8 @@ function hE(e) {
3118
3118
  e.lineStart(), i = 1;
3119
3119
  },
3120
3120
  point: function(s, a) {
3121
- var o = s > 0 ? ht : -ht, l = bt(s - t);
3122
- bt(l - ht) < xt ? (e.point(t, n = (n + a) / 2 > 0 ? ce : -ce), e.point(r, n), e.lineEnd(), e.lineStart(), e.point(o, n), e.point(s, n), i = 0) : r !== o && l >= ht && (bt(t - r) < xt && (t -= r * xt), bt(s - o) < xt && (s -= o * xt), n = dE(t, n, s, a), e.point(r, n), e.lineEnd(), e.lineStart(), e.point(o, n), i = 0), e.point(t = s, n = a), r = o;
3121
+ var o = s > 0 ? ht : -ht, l = Et(s - t);
3122
+ Et(l - ht) < bt ? (e.point(t, n = (n + a) / 2 > 0 ? ce : -ce), e.point(r, n), e.lineEnd(), e.lineStart(), e.point(o, n), e.point(s, n), i = 0) : r !== o && l >= ht && (Et(t - r) < bt && (t -= r * bt), Et(s - o) < bt && (s -= o * bt), n = dE(t, n, s, a), e.point(r, n), e.lineEnd(), e.lineStart(), e.point(o, n), i = 0), e.point(t = s, n = a), r = o;
3123
3123
  },
3124
3124
  lineEnd: function() {
3125
3125
  e.lineEnd(), t = n = NaN;
@@ -3131,25 +3131,25 @@ function hE(e) {
3131
3131
  }
3132
3132
  function dE(e, t, n, r) {
3133
3133
  var i, s, a = gt(e - n);
3134
- return bt(a) > xt ? hm((gt(t) * (s = Et(r)) * gt(n) - gt(r) * (i = Et(t)) * gt(e)) / (i * s * a)) : (t + r) / 2;
3134
+ return Et(a) > bt ? hm((gt(t) * (s = _t(r)) * gt(n) - gt(r) * (i = _t(t)) * gt(e)) / (i * s * a)) : (t + r) / 2;
3135
3135
  }
3136
3136
  function fE(e, t, n, r) {
3137
3137
  var i;
3138
3138
  if (e == null)
3139
3139
  i = n * ce, r.point(-ht, i), r.point(0, i), r.point(ht, i), r.point(ht, 0), r.point(ht, -i), r.point(0, -i), r.point(-ht, -i), r.point(-ht, 0), r.point(-ht, i);
3140
- else if (bt(e[0] - t[0]) > xt) {
3140
+ else if (Et(e[0] - t[0]) > bt) {
3141
3141
  var s = e[0] < t[0] ? ht : -ht;
3142
3142
  i = n * s / 2, r.point(-s, i), r.point(0, i), r.point(s, i);
3143
3143
  } else
3144
3144
  r.point(t[0], t[1]);
3145
3145
  }
3146
3146
  function pE(e) {
3147
- var t = Et(e), n = 6 * Nt, r = t > 0, i = bt(t) > xt;
3147
+ var t = _t(e), n = 6 * Nt, r = t > 0, i = Et(t) > bt;
3148
3148
  function s(u, d, h, f) {
3149
3149
  oE(f, e, n, h, u, d);
3150
3150
  }
3151
3151
  function a(u, d) {
3152
- return Et(u) * Et(d) > t;
3152
+ return _t(u) * _t(d) > t;
3153
3153
  }
3154
3154
  function o(u) {
3155
3155
  var d, h, f, p, g;
@@ -3190,8 +3190,8 @@ function pE(e) {
3190
3190
  return L;
3191
3191
  var E = u[0], U = d[0], B = u[1], N = d[1], I;
3192
3192
  U < E && (I = E, E = U, U = I);
3193
- var j = U - E, G = bt(j - ht) < xt, tt = G || j < xt;
3194
- if (!G && N < B && (I = B, B = N, N = I), tt ? G ? B + N > 0 ^ L[1] < (bt(L[0] - E) < xt ? B : N) : B <= L[1] && L[1] <= N : j > ht ^ (E <= L[0] && L[0] <= U)) {
3193
+ var j = U - E, G = Et(j - ht) < bt, tt = G || j < bt;
3194
+ if (!G && N < B && (I = B, B = N, N = I), tt ? G ? B + N > 0 ^ L[1] < (Et(L[0] - E) < bt ? B : N) : B <= L[1] && L[1] <= N : j > ht ^ (E <= L[0] && L[0] <= U)) {
3195
3195
  var J = bs(P, (-$ + M) / C);
3196
3196
  return Do(J, T), [L, Cl(J)];
3197
3197
  }
@@ -3266,7 +3266,7 @@ function gE(e, t, n, r) {
3266
3266
  h.point(u[0], u[1]);
3267
3267
  }
3268
3268
  function a(c, u) {
3269
- return bt(c[0] - e) < xt ? u > 0 ? 0 : 3 : bt(c[0] - n) < xt ? u > 0 ? 2 : 1 : bt(c[1] - t) < xt ? u > 0 ? 1 : 0 : u > 0 ? 3 : 2;
3269
+ return Et(c[0] - e) < bt ? u > 0 ? 0 : 3 : Et(c[0] - n) < bt ? u > 0 ? 2 : 1 : Et(c[1] - t) < bt ? u > 0 ? 1 : 0 : u > 0 ? 3 : 2;
3270
3270
  }
3271
3271
  function o(c, u) {
3272
3272
  return l(c.x, u.x);
@@ -3329,7 +3329,7 @@ var Ro = new Xn(), kl = new Xn(), gm, vm, Rl, Il, Ln = {
3329
3329
  Ln.lineStart = vE, Ln.lineEnd = xE;
3330
3330
  },
3331
3331
  polygonEnd: function() {
3332
- Ln.lineStart = Ln.lineEnd = Ln.point = Se, Ro.add(bt(kl)), kl = new Xn();
3332
+ Ln.lineStart = Ln.lineEnd = Ln.point = Se, Ro.add(Et(kl)), kl = new Xn();
3333
3333
  },
3334
3334
  result: function() {
3335
3335
  var e = Ro / 2;
@@ -3630,7 +3630,7 @@ function DE(e, t, n) {
3630
3630
  e.scale(150 * s).translate([a, o]);
3631
3631
  }, n);
3632
3632
  }
3633
- var Gh = 16, kE = Et(30 * Nt);
3633
+ var Gh = 16, kE = _t(30 * Nt);
3634
3634
  function zh(e, t) {
3635
3635
  return +t ? IE(e, t) : RE(e);
3636
3636
  }
@@ -3645,8 +3645,8 @@ function IE(e, t) {
3645
3645
  function n(r, i, s, a, o, l, c, u, d, h, f, p, g, m) {
3646
3646
  var v = c - r, x = u - i, y = v * v + x * x;
3647
3647
  if (y > 4 * t && g--) {
3648
- var w = a + h, _ = o + f, S = l + p, T = Ne(w * w + _ * _ + S * S), R = xn(S /= T), P = bt(bt(S) - 1) < xt || bt(s - d) < xt ? (s + d) / 2 : Jn(_, w), $ = e(P, R), C = $[0], H = $[1], M = C - r, L = H - i, E = x * M - v * L;
3649
- (E * E / y > t || bt((v * M + x * L) / y - 0.5) > 0.3 || a * h + o * f + l * p < kE) && (n(r, i, s, a, o, l, C, H, P, w /= T, _ /= T, S, g, m), m.point(C, H), n(C, H, P, w, _, S, c, u, d, h, f, p, g, m));
3648
+ var w = a + h, _ = o + f, S = l + p, T = Ne(w * w + _ * _ + S * S), R = xn(S /= T), P = Et(Et(S) - 1) < bt || Et(s - d) < bt ? (s + d) / 2 : Jn(_, w), $ = e(P, R), C = $[0], H = $[1], M = C - r, L = H - i, E = x * M - v * L;
3649
+ (E * E / y > t || Et((v * M + x * L) / y - 0.5) > 0.3 || a * h + o * f + l * p < kE) && (n(r, i, s, a, o, l, C, H, P, w /= T, _ /= T, S, g, m), m.point(C, H), n(C, H, P, w, _, S, c, u, d, h, f, p, g, m));
3650
3650
  }
3651
3651
  }
3652
3652
  return function(r) {
@@ -3710,7 +3710,7 @@ function UE(e, t, n, r, i) {
3710
3710
  function jh(e, t, n, r, i, s) {
3711
3711
  if (!s)
3712
3712
  return UE(e, t, n, r, i);
3713
- var a = Et(s), o = gt(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;
3713
+ var a = _t(s), o = gt(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;
3714
3714
  function p(g, m) {
3715
3715
  return g *= r, m *= i, [l * g - c * m + t, n - c * g - l * m];
3716
3716
  }
@@ -3784,7 +3784,7 @@ function Am(e) {
3784
3784
  }, i;
3785
3785
  }
3786
3786
  function BE(e) {
3787
- var t = Et(e);
3787
+ var t = _t(e);
3788
3788
  function n(r, i) {
3789
3789
  return [r * t, gt(i) / t];
3790
3790
  }
@@ -3794,15 +3794,15 @@ function BE(e) {
3794
3794
  }
3795
3795
  function HE(e, t) {
3796
3796
  var n = gt(e), r = (n + gt(t)) / 2;
3797
- if (bt(r) < xt)
3797
+ if (Et(r) < bt)
3798
3798
  return BE(e);
3799
3799
  var i = 1 + n * (2 * r - n), s = Ne(i) / r;
3800
3800
  function a(o, l) {
3801
3801
  var c = Ne(i - 2 * r * gt(l)) / r;
3802
- return [c * gt(o *= r), s - c * Et(o)];
3802
+ return [c * gt(o *= r), s - c * _t(o)];
3803
3803
  }
3804
3804
  return a.invert = function(o, l) {
3805
- var c = s - l, u = Jn(o, bt(c)) * Dn(c);
3805
+ var c = s - l, u = Jn(o, Et(c)) * Dn(c);
3806
3806
  return c * r < 0 && (u -= ht * Dn(o) * Dn(c)), [u / r, xn((i - (o * o + c * c) * r * r) / (2 * r))];
3807
3807
  }, a;
3808
3808
  }
@@ -3846,15 +3846,15 @@ function zE() {
3846
3846
  return qa(xa).scale(152.63);
3847
3847
  }
3848
3848
  function jE(e, t) {
3849
- var n = Et(e), r = e === t ? gt(e) : (n - Et(t)) / (t - e), i = n / r + e;
3850
- if (bt(r) < xt)
3849
+ var n = _t(e), r = e === t ? gt(e) : (n - _t(t)) / (t - e), i = n / r + e;
3850
+ if (Et(r) < bt)
3851
3851
  return xa;
3852
3852
  function s(a, o) {
3853
3853
  var l = i - o, c = r * a;
3854
- return [l * gt(c), i - l * Et(c)];
3854
+ return [l * gt(c), i - l * _t(c)];
3855
3855
  }
3856
3856
  return s.invert = function(a, o) {
3857
- var l = i - o, c = Jn(a, bt(l)) * Dn(l);
3857
+ var l = i - o, c = Jn(a, Et(l)) * Dn(l);
3858
3858
  return l * r < 0 && (c -= ht * Dn(a) * Dn(l)), [c / r, i - Dn(r) * Ne(a * a + l * l)];
3859
3859
  }, s;
3860
3860
  }
@@ -3865,15 +3865,15 @@ var Li = 1.340264, Di = -0.081106, ki = 893e-6, Ri = 3796e-6, ba = Ne(3) / 2, qE
3865
3865
  function Lm(e, t) {
3866
3866
  var n = xn(ba * gt(t)), r = n * n, i = r * r * r;
3867
3867
  return [
3868
- e * Et(n) / (ba * (Li + 3 * Di * r + i * (7 * ki + 9 * Ri * r))),
3868
+ e * _t(n) / (ba * (Li + 3 * Di * r + i * (7 * ki + 9 * Ri * r))),
3869
3869
  n * (Li + Di * r + i * (ki + Ri * r))
3870
3870
  ];
3871
3871
  }
3872
3872
  Lm.invert = function(e, t) {
3873
- for (var n = t, r = n * n, i = r * r * r, s = 0, a, o, l; s < qE && (o = n * (Li + Di * r + i * (ki + Ri * r)) - t, l = Li + 3 * Di * r + i * (7 * ki + 9 * Ri * r), n -= a = o / l, r = n * n, i = r * r * r, !(bt(a) < um)); ++s)
3873
+ for (var n = t, r = n * n, i = r * r * r, s = 0, a, o, l; s < qE && (o = n * (Li + Di * r + i * (ki + Ri * r)) - t, l = Li + 3 * Di * r + i * (7 * ki + 9 * Ri * r), n -= a = o / l, r = n * n, i = r * r * r, !(Et(a) < um)); ++s)
3874
3874
  ;
3875
3875
  return [
3876
- ba * e * (Li + 3 * Di * r + i * (7 * ki + 9 * Ri * r)) / Et(n),
3876
+ ba * e * (Li + 3 * Di * r + i * (7 * ki + 9 * Ri * r)) / _t(n),
3877
3877
  xn(gt(n) / ba)
3878
3878
  ];
3879
3879
  };
@@ -3892,7 +3892,7 @@ Dm.invert = function(e, t) {
3892
3892
  do {
3893
3893
  var s = n * n, a = s * s;
3894
3894
  n -= i = (n * (1.007226 + s * (0.015085 + a * (-0.044475 + 0.028874 * s - 5916e-6 * a))) - t) / (1.007226 + s * (0.015085 * 3 + a * (-0.044475 * 7 + 0.028874 * 9 * s - 5916e-6 * 11 * a)));
3895
- } while (bt(i) > xt && --r > 0);
3895
+ } while (Et(i) > bt && --r > 0);
3896
3896
  return [
3897
3897
  e / (0.8707 + (s = n * n) * (-0.131979 + s * (-0.013791 + s * s * s * (3971e-6 - 1529e-6 * s)))),
3898
3898
  n
@@ -5006,7 +5006,7 @@ function ww(e) {
5006
5006
  m: uS,
5007
5007
  M: hS,
5008
5008
  p: rt,
5009
- q: Ct,
5009
+ q: At,
5010
5010
  Q: dd,
5011
5011
  s: fd,
5012
5012
  S: dS,
@@ -5058,16 +5058,16 @@ function ww(e) {
5058
5058
  y.x = S(n, y), y.X = S(r, y), y.c = S(t, y), w.x = S(n, w), w.X = S(r, w), w.c = S(t, w);
5059
5059
  function S(q, Q) {
5060
5060
  return function(st) {
5061
- var F = [], wt = -1, ft = 0, Pt = q.length, Ut, et, At;
5062
- for (st instanceof Date || (st = /* @__PURE__ */ new Date(+st)); ++wt < Pt; )
5063
- q.charCodeAt(wt) === 37 && (F.push(q.slice(ft, wt)), (et = id[Ut = q.charAt(++wt)]) != null ? Ut = q.charAt(++wt) : et = Ut === "e" ? " " : "0", (At = Q[Ut]) && (Ut = At(st, et)), F.push(Ut), ft = wt + 1);
5064
- return F.push(q.slice(ft, wt)), F.join("");
5061
+ var F = [], St = -1, ft = 0, Pt = q.length, Ut, et, $t;
5062
+ for (st instanceof Date || (st = /* @__PURE__ */ new Date(+st)); ++St < Pt; )
5063
+ q.charCodeAt(St) === 37 && (F.push(q.slice(ft, St)), (et = id[Ut = q.charAt(++St)]) != null ? Ut = q.charAt(++St) : et = Ut === "e" ? " " : "0", ($t = Q[Ut]) && (Ut = $t(st, et)), F.push(Ut), ft = St + 1);
5064
+ return F.push(q.slice(ft, St)), F.join("");
5065
5065
  };
5066
5066
  }
5067
5067
  function T(q, Q) {
5068
5068
  return function(st) {
5069
- var F = si(1900, void 0, 1), wt = R(F, q, st += "", 0), ft, Pt;
5070
- if (wt != st.length)
5069
+ var F = si(1900, void 0, 1), St = R(F, q, st += "", 0), ft, Pt;
5070
+ if (St != st.length)
5071
5071
  return null;
5072
5072
  if ("Q" in F)
5073
5073
  return new Date(F.Q);
@@ -5083,11 +5083,11 @@ function ww(e) {
5083
5083
  };
5084
5084
  }
5085
5085
  function R(q, Q, st, F) {
5086
- for (var wt = 0, ft = Q.length, Pt = st.length, Ut, et; wt < ft; ) {
5086
+ for (var St = 0, ft = Q.length, Pt = st.length, Ut, et; St < ft; ) {
5087
5087
  if (F >= Pt)
5088
5088
  return -1;
5089
- if (Ut = Q.charCodeAt(wt++), Ut === 37) {
5090
- if (Ut = Q.charAt(wt++), et = _[Ut in id ? Q.charAt(wt++) : Ut], !et || (F = et(q, st, F)) < 0)
5089
+ if (Ut = Q.charCodeAt(St++), Ut === 37) {
5090
+ if (Ut = Q.charAt(St++), et = _[Ut in id ? Q.charAt(St++) : Ut], !et || (F = et(q, st, F)) < 0)
5091
5091
  return -1;
5092
5092
  } else if (Ut != st.charCodeAt(F++))
5093
5093
  return -1;
@@ -5156,7 +5156,7 @@ function ww(e) {
5156
5156
  function rt(q) {
5157
5157
  return i[+(q.getUTCHours() >= 12)];
5158
5158
  }
5159
- function Ct(q) {
5159
+ function At(q) {
5160
5160
  return 1 + ~~(q.getUTCMonth() / 3);
5161
5161
  }
5162
5162
  return {
@@ -5538,7 +5538,7 @@ function Wi() {
5538
5538
  var G = f * Un(y), tt = f * ze(y), J = h * Un(w), z = h * ze(w), X;
5539
5539
  if (m < ji)
5540
5540
  if (X = kS(B, N, J, z, G, tt, I, j)) {
5541
- var ct = B - X[0], rt = N - X[1], Ct = G - X[0], q = tt - X[1], Q = 1 / ze(MS((ct * Ct + rt * q) / (Dr(ct * ct + rt * rt) * Dr(Ct * Ct + q * q))) / 2), st = Dr(X[0] * X[0] + X[1] * X[1]);
5541
+ var ct = B - X[0], rt = N - X[1], At = G - X[0], q = tt - X[1], Q = 1 / ze(MS((ct * At + rt * q) / (Dr(ct * ct + rt * rt) * Dr(At * At + q * q))) / 2), st = Dr(X[0] * X[0] + X[1] * X[1]);
5542
5542
  C = jo($, (h - st) / (Q - 1)), H = jo($, (f - st) / (Q + 1));
5543
5543
  } else
5544
5544
  C = H = 0;
@@ -7334,11 +7334,11 @@ function rM() {
7334
7334
  }
7335
7335
  var xg = typeof exports == "object" && exports && !exports.nodeType && exports, Ad = xg && typeof module == "object" && module && !module.nodeType && module, iM = Ad && Ad.exports === xg, $d = iM ? Ve.Buffer : void 0, sM = $d ? $d.isBuffer : void 0, aM = sM || rM;
7336
7336
  const qr = aM;
7337
- var oM = "[object Arguments]", lM = "[object Array]", cM = "[object Boolean]", uM = "[object Date]", hM = "[object Error]", dM = "[object Function]", fM = "[object Map]", pM = "[object Number]", mM = "[object Object]", gM = "[object RegExp]", vM = "[object Set]", yM = "[object String]", xM = "[object WeakMap]", bM = "[object ArrayBuffer]", EM = "[object DataView]", _M = "[object Float32Array]", wM = "[object Float64Array]", SM = "[object Int8Array]", OM = "[object Int16Array]", TM = "[object Int32Array]", MM = "[object Uint8Array]", CM = "[object Uint8ClampedArray]", AM = "[object Uint16Array]", $M = "[object Uint32Array]", $t = {};
7338
- $t[_M] = $t[wM] = $t[SM] = $t[OM] = $t[TM] = $t[MM] = $t[CM] = $t[AM] = $t[$M] = !0;
7339
- $t[oM] = $t[lM] = $t[bM] = $t[cM] = $t[EM] = $t[uM] = $t[hM] = $t[dM] = $t[fM] = $t[pM] = $t[mM] = $t[gM] = $t[vM] = $t[yM] = $t[xM] = !1;
7337
+ var oM = "[object Arguments]", lM = "[object Array]", cM = "[object Boolean]", uM = "[object Date]", hM = "[object Error]", dM = "[object Function]", fM = "[object Map]", pM = "[object Number]", mM = "[object Object]", gM = "[object RegExp]", vM = "[object Set]", yM = "[object String]", xM = "[object WeakMap]", bM = "[object ArrayBuffer]", EM = "[object DataView]", _M = "[object Float32Array]", wM = "[object Float64Array]", SM = "[object Int8Array]", OM = "[object Int16Array]", TM = "[object Int32Array]", MM = "[object Uint8Array]", CM = "[object Uint8ClampedArray]", AM = "[object Uint16Array]", $M = "[object Uint32Array]", Lt = {};
7338
+ Lt[_M] = Lt[wM] = Lt[SM] = Lt[OM] = Lt[TM] = Lt[MM] = Lt[CM] = Lt[AM] = Lt[$M] = !0;
7339
+ Lt[oM] = Lt[lM] = Lt[bM] = Lt[cM] = Lt[EM] = Lt[uM] = Lt[hM] = Lt[dM] = Lt[fM] = Lt[pM] = Lt[mM] = Lt[gM] = Lt[vM] = Lt[yM] = Lt[xM] = !1;
7340
7340
  function LM(e) {
7341
- return Ke(e) && au(e.length) && !!$t[ar(e)];
7341
+ return Ke(e) && au(e.length) && !!Lt[ar(e)];
7342
7342
  }
7343
7343
  function ou(e) {
7344
7344
  return function(t) {
@@ -7581,7 +7581,7 @@ function Og(e, t) {
7581
7581
  e = e[lo(t[n++])];
7582
7582
  return n && n == r ? e : void 0;
7583
7583
  }
7584
- function Tt(e, t, n) {
7584
+ function Mt(e, t, n) {
7585
7585
  var r = e == null ? void 0 : Og(e, t);
7586
7586
  return r === void 0 ? n : r;
7587
7587
  }
@@ -7800,9 +7800,9 @@ function VA(e) {
7800
7800
  }
7801
7801
  var jd = Yr && Yr.isSet, FA = jd ? ou(jd) : VA;
7802
7802
  const GA = FA;
7803
- var zA = 1, jA = 2, WA = 4, Rg = "[object Arguments]", qA = "[object Array]", YA = "[object Boolean]", XA = "[object Date]", ZA = "[object Error]", Ig = "[object Function]", KA = "[object GeneratorFunction]", QA = "[object Map]", JA = "[object Number]", Ng = "[object Object]", t2 = "[object RegExp]", e2 = "[object Set]", n2 = "[object String]", r2 = "[object Symbol]", i2 = "[object WeakMap]", s2 = "[object ArrayBuffer]", a2 = "[object DataView]", o2 = "[object Float32Array]", l2 = "[object Float64Array]", c2 = "[object Int8Array]", u2 = "[object Int16Array]", h2 = "[object Int32Array]", d2 = "[object Uint8Array]", f2 = "[object Uint8ClampedArray]", p2 = "[object Uint16Array]", m2 = "[object Uint32Array]", St = {};
7804
- St[Rg] = St[qA] = St[s2] = St[a2] = St[YA] = St[XA] = St[o2] = St[l2] = St[c2] = St[u2] = St[h2] = St[QA] = St[JA] = St[Ng] = St[t2] = St[e2] = St[n2] = St[r2] = St[d2] = St[f2] = St[p2] = St[m2] = !0;
7805
- St[ZA] = St[Ig] = St[i2] = !1;
7803
+ var zA = 1, jA = 2, WA = 4, Rg = "[object Arguments]", qA = "[object Array]", YA = "[object Boolean]", XA = "[object Date]", ZA = "[object Error]", Ig = "[object Function]", KA = "[object GeneratorFunction]", QA = "[object Map]", JA = "[object Number]", Ng = "[object Object]", t2 = "[object RegExp]", e2 = "[object Set]", n2 = "[object String]", r2 = "[object Symbol]", i2 = "[object WeakMap]", s2 = "[object ArrayBuffer]", a2 = "[object DataView]", o2 = "[object Float32Array]", l2 = "[object Float64Array]", c2 = "[object Int8Array]", u2 = "[object Int16Array]", h2 = "[object Int32Array]", d2 = "[object Uint8Array]", f2 = "[object Uint8ClampedArray]", p2 = "[object Uint16Array]", m2 = "[object Uint32Array]", Ot = {};
7804
+ Ot[Rg] = Ot[qA] = Ot[s2] = Ot[a2] = Ot[YA] = Ot[XA] = Ot[o2] = Ot[l2] = Ot[c2] = Ot[u2] = Ot[h2] = Ot[QA] = Ot[JA] = Ot[Ng] = Ot[t2] = Ot[e2] = Ot[n2] = Ot[r2] = Ot[d2] = Ot[f2] = Ot[p2] = Ot[m2] = !0;
7805
+ Ot[ZA] = Ot[Ig] = Ot[i2] = !1;
7806
7806
  function qs(e, t, n, r, i, s) {
7807
7807
  var a, o = t & zA, l = t & jA, c = t & WA;
7808
7808
  if (n && (a = i ? n(e, r, i, s) : n(e)), a !== void 0)
@@ -7821,7 +7821,7 @@ function qs(e, t, n, r, i, s) {
7821
7821
  if (a = l || h ? {} : kg(e), !o)
7822
7822
  return l ? KC(e, FC(a, e)) : YC(e, VC(a, e));
7823
7823
  } else {
7824
- if (!St[d])
7824
+ if (!Ot[d])
7825
7825
  return i ? e : {};
7826
7826
  a = IA(e, d, o);
7827
7827
  }
@@ -8071,7 +8071,7 @@ function Q2(e, t) {
8071
8071
  var J2 = 1, t$ = 2;
8072
8072
  function e$(e, t) {
8073
8073
  return lu(e) && Hg(t) ? Vg(lo(e), t) : function(n) {
8074
- var r = Tt(n, e);
8074
+ var r = Mt(n, e);
8075
8075
  return r === void 0 && r === t ? Q2(n, e) : uo(t, r, J2 | t$);
8076
8076
  };
8077
8077
  }
@@ -8355,7 +8355,7 @@ const oe = "cds", dn = {
8355
8355
  proportional: 16
8356
8356
  },
8357
8357
  dividerWidth: 2
8358
- }, Ot = {
8358
+ }, Tt = {
8359
8359
  radiusOffset: -15,
8360
8360
  innerRadius: 2,
8361
8361
  padAngle: 7e-3,
@@ -8547,21 +8547,21 @@ const oe = "cds", dn = {
8547
8547
  numberOfIcons: 3,
8548
8548
  controls: [
8549
8549
  {
8550
- type: kt.SHOW_AS_DATATABLE
8550
+ type: yt.SHOW_AS_DATATABLE
8551
8551
  },
8552
8552
  ...C$ ? [
8553
8553
  {
8554
- type: kt.MAKE_FULLSCREEN
8554
+ type: yt.MAKE_FULLSCREEN
8555
8555
  }
8556
8556
  ] : [],
8557
8557
  {
8558
- type: kt.EXPORT_CSV
8558
+ type: yt.EXPORT_CSV
8559
8559
  },
8560
8560
  {
8561
- type: kt.EXPORT_PNG
8561
+ type: yt.EXPORT_PNG
8562
8562
  },
8563
8563
  {
8564
- type: kt.EXPORT_JPG
8564
+ type: yt.EXPORT_JPG
8565
8565
  }
8566
8566
  ]
8567
8567
  }
@@ -8802,7 +8802,7 @@ const oe = "cds", dn = {
8802
8802
  type: "linear"
8803
8803
  }
8804
8804
  }
8805
- }), _t = {
8805
+ }), wt = {
8806
8806
  alluvialChart: q$,
8807
8807
  areaChart: Zg,
8808
8808
  axisChart: hs,
@@ -8842,7 +8842,7 @@ function Z$(e, t, n) {
8842
8842
  }, t);
8843
8843
  };
8844
8844
  }
8845
- function Dt(e, t) {
8845
+ function kt(e, t) {
8846
8846
  var n;
8847
8847
  const r = _n(e), i = Object.keys(t.axes || {});
8848
8848
  (n = t == null ? void 0 : t.toolbar) != null && n.controls && delete r.toolbar.controls, i.length === 0 && delete r.axes;
@@ -9016,7 +9016,7 @@ function sL(e, t) {
9016
9016
  const n = pt(e), r = +qi(n, t) - +iL(n, t);
9017
9017
  return Math.round(r / tv) + 1;
9018
9018
  }
9019
- function yt(e, t) {
9019
+ function xt(e, t) {
9020
9020
  const n = e < 0 ? "-" : "", r = Math.abs(e).toString().padStart(t, "0");
9021
9021
  return n + r;
9022
9022
  }
@@ -9024,16 +9024,16 @@ const Mn = {
9024
9024
  // Year
9025
9025
  y(e, t) {
9026
9026
  const n = e.getFullYear(), r = n > 0 ? n : 1 - n;
9027
- return yt(t === "yy" ? r % 100 : r, t.length);
9027
+ return xt(t === "yy" ? r % 100 : r, t.length);
9028
9028
  },
9029
9029
  // Month
9030
9030
  M(e, t) {
9031
9031
  const n = e.getMonth();
9032
- return t === "M" ? String(n + 1) : yt(n + 1, 2);
9032
+ return t === "M" ? String(n + 1) : xt(n + 1, 2);
9033
9033
  },
9034
9034
  // Day of the month
9035
9035
  d(e, t) {
9036
- return yt(e.getDate(), t.length);
9036
+ return xt(e.getDate(), t.length);
9037
9037
  },
9038
9038
  // AM or PM
9039
9039
  a(e, t) {
@@ -9053,26 +9053,26 @@ const Mn = {
9053
9053
  },
9054
9054
  // Hour [1-12]
9055
9055
  h(e, t) {
9056
- return yt(e.getHours() % 12 || 12, t.length);
9056
+ return xt(e.getHours() % 12 || 12, t.length);
9057
9057
  },
9058
9058
  // Hour [0-23]
9059
9059
  H(e, t) {
9060
- return yt(e.getHours(), t.length);
9060
+ return xt(e.getHours(), t.length);
9061
9061
  },
9062
9062
  // Minute
9063
9063
  m(e, t) {
9064
- return yt(e.getMinutes(), t.length);
9064
+ return xt(e.getMinutes(), t.length);
9065
9065
  },
9066
9066
  // Second
9067
9067
  s(e, t) {
9068
- return yt(e.getSeconds(), t.length);
9068
+ return xt(e.getSeconds(), t.length);
9069
9069
  },
9070
9070
  // Fraction of second
9071
9071
  S(e, t) {
9072
9072
  const n = t.length, r = e.getMilliseconds(), i = Math.trunc(
9073
9073
  r * Math.pow(10, n - 3)
9074
9074
  );
9075
- return yt(i, t.length);
9075
+ return xt(i, t.length);
9076
9076
  }
9077
9077
  }, xr = {
9078
9078
  am: "am",
@@ -9112,14 +9112,14 @@ const Mn = {
9112
9112
  const i = sv(e, r), s = i > 0 ? i : 1 - i;
9113
9113
  if (t === "YY") {
9114
9114
  const a = s % 100;
9115
- return yt(a, 2);
9115
+ return xt(a, 2);
9116
9116
  }
9117
- return t === "Yo" ? n.ordinalNumber(s, { unit: "year" }) : yt(s, t.length);
9117
+ return t === "Yo" ? n.ordinalNumber(s, { unit: "year" }) : xt(s, t.length);
9118
9118
  },
9119
9119
  // ISO week-numbering year
9120
9120
  R: function(e, t) {
9121
9121
  const n = rv(e);
9122
- return yt(n, t.length);
9122
+ return xt(n, t.length);
9123
9123
  },
9124
9124
  // Extended year. This is a single number designating the year of this calendar system.
9125
9125
  // The main difference between `y` and `u` localizers are B.C. years:
@@ -9132,7 +9132,7 @@ const Mn = {
9132
9132
  // while `uu` pads single digit years to 2 characters and returns other years unchanged.
9133
9133
  u: function(e, t) {
9134
9134
  const n = e.getFullYear();
9135
- return yt(n, t.length);
9135
+ return xt(n, t.length);
9136
9136
  },
9137
9137
  // Quarter
9138
9138
  Q: function(e, t, n) {
@@ -9141,7 +9141,7 @@ const Mn = {
9141
9141
  case "Q":
9142
9142
  return String(r);
9143
9143
  case "QQ":
9144
- return yt(r, 2);
9144
+ return xt(r, 2);
9145
9145
  case "Qo":
9146
9146
  return n.ordinalNumber(r, { unit: "quarter" });
9147
9147
  case "QQQ":
@@ -9169,7 +9169,7 @@ const Mn = {
9169
9169
  case "q":
9170
9170
  return String(r);
9171
9171
  case "qq":
9172
- return yt(r, 2);
9172
+ return xt(r, 2);
9173
9173
  case "qo":
9174
9174
  return n.ordinalNumber(r, { unit: "quarter" });
9175
9175
  case "qqq":
@@ -9221,7 +9221,7 @@ const Mn = {
9221
9221
  case "L":
9222
9222
  return String(r + 1);
9223
9223
  case "LL":
9224
- return yt(r + 1, 2);
9224
+ return xt(r + 1, 2);
9225
9225
  case "Lo":
9226
9226
  return n.ordinalNumber(r + 1, { unit: "month" });
9227
9227
  case "LLL":
@@ -9242,12 +9242,12 @@ const Mn = {
9242
9242
  // Local week of year
9243
9243
  w: function(e, t, n, r) {
9244
9244
  const i = sL(e, r);
9245
- return t === "wo" ? n.ordinalNumber(i, { unit: "week" }) : yt(i, t.length);
9245
+ return t === "wo" ? n.ordinalNumber(i, { unit: "week" }) : xt(i, t.length);
9246
9246
  },
9247
9247
  // ISO week of year
9248
9248
  I: function(e, t, n) {
9249
9249
  const r = rL(e);
9250
- return t === "Io" ? n.ordinalNumber(r, { unit: "week" }) : yt(r, t.length);
9250
+ return t === "Io" ? n.ordinalNumber(r, { unit: "week" }) : xt(r, t.length);
9251
9251
  },
9252
9252
  // Day of the month
9253
9253
  d: function(e, t, n) {
@@ -9256,7 +9256,7 @@ const Mn = {
9256
9256
  // Day of year
9257
9257
  D: function(e, t, n) {
9258
9258
  const r = nL(e);
9259
- return t === "Do" ? n.ordinalNumber(r, { unit: "dayOfYear" }) : yt(r, t.length);
9259
+ return t === "Do" ? n.ordinalNumber(r, { unit: "dayOfYear" }) : xt(r, t.length);
9260
9260
  },
9261
9261
  // Day of week
9262
9262
  E: function(e, t, n) {
@@ -9294,7 +9294,7 @@ const Mn = {
9294
9294
  case "e":
9295
9295
  return String(s);
9296
9296
  case "ee":
9297
- return yt(s, 2);
9297
+ return xt(s, 2);
9298
9298
  case "eo":
9299
9299
  return n.ordinalNumber(s, { unit: "day" });
9300
9300
  case "eee":
@@ -9327,7 +9327,7 @@ const Mn = {
9327
9327
  case "c":
9328
9328
  return String(s);
9329
9329
  case "cc":
9330
- return yt(s, t.length);
9330
+ return xt(s, t.length);
9331
9331
  case "co":
9332
9332
  return n.ordinalNumber(s, { unit: "day" });
9333
9333
  case "ccc":
@@ -9360,7 +9360,7 @@ const Mn = {
9360
9360
  case "i":
9361
9361
  return String(i);
9362
9362
  case "ii":
9363
- return yt(i, t.length);
9363
+ return xt(i, t.length);
9364
9364
  case "io":
9365
9365
  return n.ordinalNumber(i, { unit: "day" });
9366
9366
  case "iii":
@@ -9483,12 +9483,12 @@ const Mn = {
9483
9483
  // Hour [0-11]
9484
9484
  K: function(e, t, n) {
9485
9485
  const r = e.getHours() % 12;
9486
- return t === "Ko" ? n.ordinalNumber(r, { unit: "hour" }) : yt(r, t.length);
9486
+ return t === "Ko" ? n.ordinalNumber(r, { unit: "hour" }) : xt(r, t.length);
9487
9487
  },
9488
9488
  // Hour [1-24]
9489
9489
  k: function(e, t, n) {
9490
9490
  let r = e.getHours();
9491
- return r === 0 && (r = 24), t === "ko" ? n.ordinalNumber(r, { unit: "hour" }) : yt(r, t.length);
9491
+ return r === 0 && (r = 24), t === "ko" ? n.ordinalNumber(r, { unit: "hour" }) : xt(r, t.length);
9492
9492
  },
9493
9493
  // Minute
9494
9494
  m: function(e, t, n) {
@@ -9563,23 +9563,23 @@ const Mn = {
9563
9563
  // Seconds timestamp
9564
9564
  t: function(e, t, n) {
9565
9565
  const r = Math.trunc(e.getTime() / 1e3);
9566
- return yt(r, t.length);
9566
+ return xt(r, t.length);
9567
9567
  },
9568
9568
  // Milliseconds timestamp
9569
9569
  T: function(e, t, n) {
9570
9570
  const r = e.getTime();
9571
- return yt(r, t.length);
9571
+ return xt(r, t.length);
9572
9572
  }
9573
9573
  };
9574
9574
  function nf(e, t = "") {
9575
9575
  const n = e > 0 ? "-" : "+", r = Math.abs(e), i = Math.trunc(r / 60), s = r % 60;
9576
- return s === 0 ? n + String(i) : n + String(i) + t + yt(s, 2);
9576
+ return s === 0 ? n + String(i) : n + String(i) + t + xt(s, 2);
9577
9577
  }
9578
9578
  function rf(e, t) {
9579
- return e % 60 === 0 ? (e > 0 ? "-" : "+") + yt(Math.abs(e) / 60, 2) : Fn(e, t);
9579
+ return e % 60 === 0 ? (e > 0 ? "-" : "+") + xt(Math.abs(e) / 60, 2) : Fn(e, t);
9580
9580
  }
9581
9581
  function Fn(e, t = "") {
9582
- const n = e > 0 ? "-" : "+", r = Math.abs(e), i = yt(Math.trunc(r / 60), 2), s = yt(r % 60, 2);
9582
+ const n = e > 0 ? "-" : "+", r = Math.abs(e), i = xt(Math.trunc(r / 60), 2), s = xt(r % 60, 2);
9583
9583
  return n + i + t + s;
9584
9584
  }
9585
9585
  const sf = (e, t) => {
@@ -10764,12 +10764,12 @@ let Je = class {
10764
10764
  }, GL = class extends ur {
10765
10765
  getTabularDataArray() {
10766
10766
  const t = this.getOptions(), { groupMapsTo: n } = t.data, r = this.getBinnedStackedData(), i = [
10767
- Tt(t, "bins.rangeLabel") || "Range",
10768
- ...r.map((a) => Tt(a, `0.${n}`))
10767
+ Mt(t, "bins.rangeLabel") || "Range",
10768
+ ...r.map((a) => Mt(a, `0.${n}`))
10769
10769
  ], s = [
10770
- ...Tt(r, 0).map((a, o) => [
10771
- `${Tt(a, "data.x0")} – ${Tt(a, "data.x1")}`,
10772
- ...r.map((l) => Tt(l[o], `data.${Tt(l[o], n)}`))
10770
+ ...Mt(r, 0).map((a, o) => [
10771
+ `${Mt(a, "data.x0")} – ${Mt(a, "data.x1")}`,
10772
+ ...r.map((l) => Mt(l[o], `data.${Mt(l[o], n)}`))
10773
10773
  ])
10774
10774
  ];
10775
10775
  return super.formatTable({ headers: i, cells: s });
@@ -11434,7 +11434,7 @@ class Tn {
11434
11434
  }
11435
11435
  }
11436
11436
  const QD = "DONT_STYLE_ME_css_styles_verifier";
11437
- let D = class Jl extends Tn {
11437
+ let k = class Jl extends Tn {
11438
11438
  // initialized in initializeID() called by init()
11439
11439
  constructor(t, n) {
11440
11440
  super(t, n);
@@ -11451,7 +11451,7 @@ let D = class Jl extends Tn {
11451
11451
  useBBox: !1,
11452
11452
  useBoundingRect: !1
11453
11453
  }) {
11454
- t.attr || (t = k(t));
11454
+ t.attr || (t = D(t));
11455
11455
  const r = {
11456
11456
  width: 0,
11457
11457
  height: 0
@@ -11529,7 +11529,7 @@ let D = class Jl extends Tn {
11529
11529
  this.chartID = Math.floor((1 + Math.random()) * 281474976710656).toString(16);
11530
11530
  }
11531
11531
  addMainContainer() {
11532
- const t = this.model.getOptions(), n = b(t, "style", "prefix"), r = k(this.getHolder()).append("div").classed(`${oe}--${n}--chart-wrapper`, !0).attr("id", `chart-${this.getChartID()}`).style("height", "100%").style("width", "100%");
11532
+ const t = this.model.getOptions(), n = b(t, "style", "prefix"), r = D(this.getHolder()).append("div").classed(`${oe}--${n}--chart-wrapper`, !0).attr("id", `chart-${this.getChartID()}`).style("height", "100%").style("width", "100%");
11533
11533
  r.append("g").attr("class", QD), this.mainContainer = r.node();
11534
11534
  }
11535
11535
  update() {
@@ -11537,13 +11537,13 @@ let D = class Jl extends Tn {
11537
11537
  }
11538
11538
  styleHolderElement() {
11539
11539
  const t = this.getHolder(), { width: n, height: r, theme: i } = this.model.getOptions();
11540
- n !== this.width && (t.style.width = n, this.width = n), r !== this.height && (t.style.height = r, this.height = r), k(this.getHolder()).classed(`${oe}--chart-holder`, !0).attr("data-carbon-theme", i);
11540
+ n !== this.width && (t.style.width = n, this.width = n), r !== this.height && (t.style.height = r, this.height = r), D(this.getHolder()).classed(`${oe}--chart-holder`, !0).attr("data-carbon-theme", i);
11541
11541
  }
11542
11542
  getHolder() {
11543
11543
  return this.model.get("holder");
11544
11544
  }
11545
11545
  exportToJPG() {
11546
- const t = this, n = this.model.getOptions(), r = this.getHolder(), i = k(r);
11546
+ const t = this, n = this.model.getOptions(), r = this.getHolder(), i = D(r);
11547
11547
  i.classed("filled", !0), KD(this.getMainContainer(), {
11548
11548
  quality: 1,
11549
11549
  // Remove toolbar
@@ -11556,7 +11556,7 @@ let D = class Jl extends Tn {
11556
11556
  });
11557
11557
  }
11558
11558
  exportToPNG() {
11559
- const t = this, n = this.model.getOptions(), r = this.getHolder(), i = k(r);
11559
+ const t = this, n = this.model.getOptions(), r = this.getHolder(), i = D(r);
11560
11560
  i.classed("filled", !0), ZD(this.getMainContainer(), {
11561
11561
  quality: 1,
11562
11562
  // Remove toolbar
@@ -11570,32 +11570,35 @@ let D = class Jl extends Tn {
11570
11570
  console.error("oops, something went wrong!", s);
11571
11571
  });
11572
11572
  }
11573
+ isFullScreenMode() {
11574
+ return D(this.getHolder()).classed("fullscreen");
11575
+ }
11573
11576
  toggleFullscreen() {
11574
11577
  const t = this.getHolder();
11575
- k(t).classed("fullscreen") && (document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement) ? document.exitFullscreen ? document.exitFullscreen() : document.webkitExitFullscreen ? document.webkitExitFullscreen() : document.mozCancelFullScreen ? document.mozCancelFullScreen() : document.msExitFullscreen && document.msExitFullscreen() : t.requestFullscreen ? t.requestFullscreen() : t.webkitRequestFullscreen ? t.webkitRequestFullscreen() : t.mozRequestFullScreen ? t.mozRequestFullScreen() : t.msRequestFullscreen && t.msRequestFullscreen();
11578
+ D(t).classed("fullscreen") && (document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement) ? document.exitFullscreen ? document.exitFullscreen() : document.webkitExitFullscreen ? document.webkitExitFullscreen() : document.mozCancelFullScreen ? document.mozCancelFullScreen() : document.msExitFullscreen && document.msExitFullscreen() : t.requestFullscreen ? t.requestFullscreen() : t.webkitRequestFullscreen ? t.webkitRequestFullscreen() : t.mozRequestFullScreen ? t.mozRequestFullScreen() : t.msRequestFullscreen && t.msRequestFullscreen();
11576
11579
  }
11577
11580
  handleFullscreenChange() {
11578
11581
  document.addEventListener("fullscreenchange", () => {
11579
- const t = k(this.getHolder()), n = t.classed("fullscreen");
11582
+ const t = D(this.getHolder()), n = t.classed("fullscreen");
11580
11583
  t.classed("fullscreen", !n);
11581
11584
  });
11582
11585
  }
11583
11586
  setSVGMaxHeight() {
11584
11587
  if (!this.model.getOptions().height) {
11585
11588
  const { height: t } = Jl.getSVGElementSize(
11586
- k(this.mainContainer),
11589
+ D(this.mainContainer),
11587
11590
  {
11588
11591
  useBBox: !0
11589
11592
  }
11590
- ), n = k(this.mainContainer).attr("class"), r = k(this.mainContainer).selectAll(`.${n} > svg`);
11593
+ ), n = D(this.mainContainer).attr("class"), r = D(this.mainContainer).selectAll(`.${n} > svg`);
11591
11594
  let i = 0;
11592
11595
  r.nodes().forEach(function(s) {
11593
11596
  i += Number(
11594
- Jl.getSVGElementSize(k(s), {
11597
+ Jl.getSVGElementSize(D(s), {
11595
11598
  useBBox: !0
11596
11599
  }).height
11597
11600
  );
11598
- }), i <= t ? k(this.mainContainer).attr("height", i) : k(this.mainContainer).attr("height", "100%");
11601
+ }), i <= t ? D(this.mainContainer).attr("height", i) : D(this.mainContainer).attr("height", "100%");
11599
11602
  }
11600
11603
  }
11601
11604
  getMainContainer() {
@@ -11603,7 +11606,7 @@ let D = class Jl extends Tn {
11603
11606
  }
11604
11607
  addHolderListeners() {
11605
11608
  const t = this.getHolder();
11606
- t && k(t).on("mouseover", () => {
11609
+ t && D(t).on("mouseover", () => {
11607
11610
  var n;
11608
11611
  (n = this.services.events) == null || n.dispatchEvent(O.Chart.MOUSEOVER);
11609
11612
  }).on("mouseout", () => {
@@ -12681,7 +12684,7 @@ let dt = class {
12681
12684
  this.id = `${i}--${this.configs.id}`;
12682
12685
  }
12683
12686
  this.parent || this.setParent(
12684
- k(
12687
+ D(
12685
12688
  this.services.domUtils.getMainContainer()
12686
12689
  )
12687
12690
  );
@@ -12717,14 +12720,14 @@ let dt = class {
12717
12720
  }
12718
12721
  getComponentContainer(t = { withinChartClip: !1 }) {
12719
12722
  if (this.type) {
12720
- const n = b(this.model.getOptions(), "style", "prefix"), r = this.id ? `#${this.id}` : "", i = D.appendOrSelect(
12723
+ const n = b(this.model.getOptions(), "style", "prefix"), r = this.id ? `#${this.id}` : "", i = k.appendOrSelect(
12721
12724
  this.parent,
12722
12725
  `${this.renderType === K.SVG ? "svg" : "div"}${r}.${oe}--${n}--${this.type}`
12723
12726
  );
12724
12727
  if (t.withinChartClip) {
12725
12728
  const s = this.model.get("chartClipId");
12726
12729
  if (s) {
12727
- const a = k(`#${s}`).select("rect");
12730
+ const a = D(`#${s}`).select("rect");
12728
12731
  a.size() !== 0 && parseFloat(a.attr("height")) > 0 && i.attr("clip-path", `url(#${s})`);
12729
12732
  }
12730
12733
  }
@@ -12934,7 +12937,7 @@ function jv() {
12934
12937
  enumerable: !0,
12935
12938
  value: !1
12936
12939
  }
12937
- })), z = null, X = null, ct = !0, rt = !0, Ct = !1, q = !0, Q = !1, st = !1, F = !1, wt = !1, ft = !1, Pt = !1, Ut = !1, et = !0, At = !1;
12940
+ })), z = null, X = null, ct = !0, rt = !0, At = !1, q = !0, Q = !1, st = !1, F = !1, St = !1, ft = !1, Pt = !1, Ut = !1, et = !0, $t = !1;
12938
12941
  const Pn = "user-content-";
12939
12942
  let Ee = !0, ei = !1, hr = {}, dr = null;
12940
12943
  const $u = ut({}, ["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"]);
@@ -12967,7 +12970,7 @@ function jv() {
12967
12970
  // eslint-disable-line indent
12968
12971
  zt
12969
12972
  // eslint-disable-line indent
12970
- ) : Du, dr = "FORBID_CONTENTS" in A ? ut({}, A.FORBID_CONTENTS, zt) : $u, z = "FORBID_TAGS" in A ? ut({}, A.FORBID_TAGS, zt) : {}, X = "FORBID_ATTR" in A ? ut({}, A.FORBID_ATTR, zt) : {}, hr = "USE_PROFILES" in A ? A.USE_PROFILES : !1, ct = A.ALLOW_ARIA_ATTR !== !1, rt = A.ALLOW_DATA_ATTR !== !1, Ct = A.ALLOW_UNKNOWN_PROTOCOLS || !1, q = A.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Q = A.SAFE_FOR_TEMPLATES || !1, st = A.WHOLE_DOCUMENT || !1, ft = A.RETURN_DOM || !1, Pt = A.RETURN_DOM_FRAGMENT || !1, Ut = A.RETURN_TRUSTED_TYPE || !1, wt = A.FORCE_BODY || !1, et = A.SANITIZE_DOM !== !1, At = A.SANITIZE_NAMED_PROPS || !1, Ee = A.KEEP_CONTENT !== !1, ei = A.IN_PLACE || !1, N = A.ALLOWED_URI_REGEXP || Gv, fr = A.NAMESPACE || tn, J = A.CUSTOM_ELEMENT_HANDLING || {}, A.CUSTOM_ELEMENT_HANDLING && Ru(A.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (J.tagNameCheck = A.CUSTOM_ELEMENT_HANDLING.tagNameCheck), A.CUSTOM_ELEMENT_HANDLING && Ru(A.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (J.attributeNameCheck = A.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), A.CUSTOM_ELEMENT_HANDLING && typeof A.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (J.allowCustomizedBuiltInElements = A.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Q && (rt = !1), Pt && (ft = !0), hr && (I = ut({}, Lf), G = [], hr.html === !0 && (ut(I, $f), ut(G, Df)), hr.svg === !0 && (ut(I, al), ut(G, cl), ut(G, Ds)), hr.svgFilters === !0 && (ut(I, ol), ut(G, cl), ut(G, Ds)), hr.mathMl === !0 && (ut(I, ll), ut(G, kf), ut(G, Ds))), A.ADD_TAGS && (I === j && (I = zn(I)), ut(I, A.ADD_TAGS, zt)), A.ADD_ATTR && (G === tt && (G = zn(G)), ut(G, A.ADD_ATTR, zt)), A.ADD_URI_SAFE_ATTR && ut(yo, A.ADD_URI_SAFE_ATTR, zt), A.FORBID_CONTENTS && (dr === $u && (dr = zn(dr)), ut(dr, A.FORBID_CONTENTS, zt)), Ee && (I["#text"] = !0), st && ut(I, ["html", "head", "body"]), I.table && (ut(I, ["tbody"]), delete z.tbody), A.TRUSTED_TYPES_POLICY) {
12973
+ ) : Du, dr = "FORBID_CONTENTS" in A ? ut({}, A.FORBID_CONTENTS, zt) : $u, z = "FORBID_TAGS" in A ? ut({}, A.FORBID_TAGS, zt) : {}, X = "FORBID_ATTR" in A ? ut({}, A.FORBID_ATTR, zt) : {}, hr = "USE_PROFILES" in A ? A.USE_PROFILES : !1, ct = A.ALLOW_ARIA_ATTR !== !1, rt = A.ALLOW_DATA_ATTR !== !1, At = A.ALLOW_UNKNOWN_PROTOCOLS || !1, q = A.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Q = A.SAFE_FOR_TEMPLATES || !1, st = A.WHOLE_DOCUMENT || !1, ft = A.RETURN_DOM || !1, Pt = A.RETURN_DOM_FRAGMENT || !1, Ut = A.RETURN_TRUSTED_TYPE || !1, St = A.FORCE_BODY || !1, et = A.SANITIZE_DOM !== !1, $t = A.SANITIZE_NAMED_PROPS || !1, Ee = A.KEEP_CONTENT !== !1, ei = A.IN_PLACE || !1, N = A.ALLOWED_URI_REGEXP || Gv, fr = A.NAMESPACE || tn, J = A.CUSTOM_ELEMENT_HANDLING || {}, A.CUSTOM_ELEMENT_HANDLING && Ru(A.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (J.tagNameCheck = A.CUSTOM_ELEMENT_HANDLING.tagNameCheck), A.CUSTOM_ELEMENT_HANDLING && Ru(A.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (J.attributeNameCheck = A.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), A.CUSTOM_ELEMENT_HANDLING && typeof A.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (J.allowCustomizedBuiltInElements = A.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Q && (rt = !1), Pt && (ft = !0), hr && (I = ut({}, Lf), G = [], hr.html === !0 && (ut(I, $f), ut(G, Df)), hr.svg === !0 && (ut(I, al), ut(G, cl), ut(G, Ds)), hr.svgFilters === !0 && (ut(I, ol), ut(G, cl), ut(G, Ds)), hr.mathMl === !0 && (ut(I, ll), ut(G, kf), ut(G, Ds))), A.ADD_TAGS && (I === j && (I = zn(I)), ut(I, A.ADD_TAGS, zt)), A.ADD_ATTR && (G === tt && (G = zn(G)), ut(G, A.ADD_ATTR, zt)), A.ADD_URI_SAFE_ATTR && ut(yo, A.ADD_URI_SAFE_ATTR, zt), A.FORBID_CONTENTS && (dr === $u && (dr = zn(dr)), ut(dr, A.FORBID_CONTENTS, zt)), Ee && (I["#text"] = !0), st && ut(I, ["html", "head", "body"]), I.table && (ut(I, ["tbody"]), delete z.tbody), A.TRUSTED_TYPES_POLICY) {
12971
12974
  if (typeof A.TRUSTED_TYPES_POLICY.createHTML != "function")
12972
12975
  throw pi('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
12973
12976
  if (typeof A.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -13019,7 +13022,7 @@ function jv() {
13019
13022
  }
13020
13023
  }, Bu = function(A) {
13021
13024
  let Y = null, W = null;
13022
- if (wt)
13025
+ if (St)
13023
13026
  A = "<remove></remove>" + A;
13024
13027
  else {
13025
13028
  const Bt = FR(A, /^[\r\n\t ]+/);
@@ -13099,7 +13102,7 @@ function jv() {
13099
13102
  Y === "is" && J.allowCustomizedBuiltInElements && (J.tagNameCheck instanceof RegExp && pe(J.tagNameCheck, W) || J.tagNameCheck instanceof Function && J.tagNameCheck(W)))
13100
13103
  )
13101
13104
  return !1;
13102
- } else if (!yo[Y] && !pe(N, fi(W, B, "")) && !((Y === "src" || Y === "xlink:href" || Y === "href") && A !== "script" && GR(W, "data:") === 0 && Lu[A]) && !(Ct && !pe(U, fi(W, B, ""))) && W)
13105
+ } else if (!yo[Y] && !pe(N, fi(W, B, "")) && !((Y === "src" || Y === "xlink:href" || Y === "href") && A !== "script" && GR(W, "data:") === 0 && Lu[A]) && !(At && !pe(U, fi(W, B, ""))) && W)
13103
13106
  return !1;
13104
13107
  }
13105
13108
  return !0;
@@ -13137,7 +13140,7 @@ function jv() {
13137
13140
  });
13138
13141
  const Wu = zt(A.nodeName);
13139
13142
  if (Gu(Wu, Ge, ae)) {
13140
- if (At && (Ge === "id" || Ge === "name") && (_o(Bt, A), ae = Pn + ae), y && typeof f == "object" && typeof f.getAttributeType == "function" && !nn)
13143
+ if ($t && (Ge === "id" || Ge === "name") && (_o(Bt, A), ae = Pn + ae), y && typeof f == "object" && typeof f.getAttributeType == "function" && !nn)
13141
13144
  switch (f.getAttributeType(Wu, Ge)) {
13142
13145
  case "TrustedHTML": {
13143
13146
  ae = y.createHTML(ae);
@@ -13187,7 +13190,7 @@ function jv() {
13187
13190
  if (W = Bu(A), !W)
13188
13191
  return ft ? null : Ut ? w : "";
13189
13192
  }
13190
- W && wt && mr(W.firstChild);
13193
+ W && St && mr(W.firstChild);
13191
13194
  const nn = Hu(ei ? A : W);
13192
13195
  for (; qt = nn.nextNode(); )
13193
13196
  Fu(qt) || (qt.content instanceof s && $0(qt.content), ju(qt));
@@ -13279,7 +13282,7 @@ const ks = (e) => Eu.sanitize(e, {
13279
13282
  ${iI(l.iconSVG.content)}
13280
13283
  </svg>
13281
13284
  </button>`).each(function(l, c) {
13282
- k(this).select("svg").style("will-change", "transform").style("width", l.iconSVG.width !== void 0 ? l.iconSVG.width : "20px").style("height", l.iconSVG.height !== void 0 ? l.iconSVG.height : "20px"), k(this).select("button").on("click", (u) => {
13285
+ D(this).select("svg").style("will-change", "transform").style("width", l.iconSVG.width !== void 0 ? l.iconSVG.width : "20px").style("height", l.iconSVG.height !== void 0 ? l.iconSVG.height : "20px"), D(this).select("button").on("click", (u) => {
13283
13286
  l.shouldBeDisabled() || o.triggerFunctionAndEvent(l, u, this);
13284
13287
  }).on("keydown", (u) => {
13285
13288
  u.key && u.key === "Enter" || u.key === " " ? (u.preventDefault(), o.triggerFunctionAndEvent(l, u, this)) : u.key && u.key === "ArrowLeft" ? o.focusOnPreviousEnabledToolbarItem(c) : u.key && u.key === "ArrowRight" && o.focusOnNextEnabledToolbarItem(c);
@@ -13302,7 +13305,7 @@ const ks = (e) => Eu.sanitize(e, {
13302
13305
  }
13303
13306
  // show/hide overflow menu
13304
13307
  updateOverflowMenu(t) {
13305
- this.overflowMenu && (this.overflowMenu.classed("is-open", t), this.overflowButton && (this.overflowButton.attr("aria-expanded", t), k(this.overflowButton.node().parentNode).classed("cds--overflow-menu--open", t).classed("cds--overflow-menu--open", t)), t ? this.services.events.dispatchEvent(O.Toolbar.SHOW_OVERFLOW_MENU) : this.services.events.dispatchEvent(O.Toolbar.HIDE_OVERFLOW_MENU));
13308
+ this.overflowMenu && (this.overflowMenu.classed("is-open", t), this.overflowButton && (this.overflowButton.attr("aria-expanded", t), D(this.overflowButton.node().parentNode).classed("cds--overflow-menu--open", t).classed("cds--overflow-menu--open", t)), t ? this.services.events.dispatchEvent(O.Toolbar.SHOW_OVERFLOW_MENU) : this.services.events.dispatchEvent(O.Toolbar.HIDE_OVERFLOW_MENU));
13306
13309
  }
13307
13310
  // Toolbar controllers
13308
13311
  focusOnPreviousEnabledToolbarItem(t) {
@@ -13314,7 +13317,7 @@ const ks = (e) => Eu.sanitize(e, {
13314
13317
  break;
13315
13318
  }
13316
13319
  if (r < n.length) {
13317
- const i = k(
13320
+ const i = D(
13318
13321
  `button#${this.services.domUtils.generateElementIDString(
13319
13322
  `control-${n[r].id}`
13320
13323
  )}`
@@ -13331,7 +13334,7 @@ const ks = (e) => Eu.sanitize(e, {
13331
13334
  break;
13332
13335
  }
13333
13336
  if (r > -1) {
13334
- const i = k(
13337
+ const i = D(
13335
13338
  `button#${this.services.domUtils.generateElementIDString(
13336
13339
  `control-${n[r].id}`
13337
13340
  )}`
@@ -13348,7 +13351,7 @@ const ks = (e) => Eu.sanitize(e, {
13348
13351
  break;
13349
13352
  }
13350
13353
  if (r < n.length) {
13351
- const i = k(
13354
+ const i = D(
13352
13355
  `#${this.services.domUtils.generateElementIDString(
13353
13356
  `control-${n[r].id}`
13354
13357
  )} button`
@@ -13365,7 +13368,7 @@ const ks = (e) => Eu.sanitize(e, {
13365
13368
  break;
13366
13369
  }
13367
13370
  if (r > -1) {
13368
- const i = k(
13371
+ const i = D(
13369
13372
  `#${this.services.domUtils.generateElementIDString(
13370
13373
  `control-${n[r].id}`
13371
13374
  )} button`
@@ -13380,7 +13383,7 @@ const ks = (e) => Eu.sanitize(e, {
13380
13383
  this.updateOverflowMenu(!0);
13381
13384
  const n = this;
13382
13385
  this.getOverflowMenuItems().forEach((r, i) => {
13383
- const s = k(
13386
+ const s = D(
13384
13387
  `#${this.services.domUtils.generateElementIDString(`control-${r.id}`)}`
13385
13388
  );
13386
13389
  s !== null && (s.on("click", () => {
@@ -13404,7 +13407,13 @@ const ks = (e) => Eu.sanitize(e, {
13404
13407
  const t = b(this.getOptions(), "toolbar", "numberOfIcons") - 1, n = b(this.getOptions(), "toolbar", "controls"), r = [], i = [], s = [];
13405
13408
  return n.forEach((a) => {
13406
13409
  let o = null;
13407
- a.type === kt.CUSTOM ? (b(a, "id") === null && (a.id = `toolbar-button-${qv.buttonID++}`), b(a, "shouldBeDisabled") === null && (a.shouldBeDisabled = () => !1), o = a) : o = this.getControlConfigByType(a.type), o && (o.text = a.text ? a.text : a.type, o.id.indexOf("toolbar-export") !== -1 ? r.push(o) : i.length < t ? b(o, "iconSVG", "content") === null ? s.push(o) : i.push(o) : s.push(o));
13410
+ if (a.type === yt.CUSTOM)
13411
+ b(a, "id") === null && (a.id = `toolbar-button-${qv.buttonID++}`), b(a, "shouldBeDisabled") === null && (a.shouldBeDisabled = () => !1), o = a;
13412
+ else {
13413
+ const l = this.services.domUtils.isFullScreenMode();
13414
+ a.type === yt.MAKE_FULLSCREEN && l ? a.type = yt.EXIT_FULLSCREEN : a.type === yt.EXIT_FULLSCREEN && !l && (a.type = yt.MAKE_FULLSCREEN), o = this.getControlConfigByType(a.type);
13415
+ }
13416
+ o && (o.text = a.text ? a.text : a.type, o.id.indexOf("toolbar-export") !== -1 ? r.push(o) : i.length < t ? b(o, "iconSVG", "content") === null ? s.push(o) : i.push(o) : s.push(o));
13408
13417
  }), s.push(...r), s.length ? {
13409
13418
  buttonList: i,
13410
13419
  overflowMenuItemList: s
@@ -13438,7 +13447,7 @@ const ks = (e) => Eu.sanitize(e, {
13438
13447
  const n = this.services.zoom && this.services.zoom.isZoomBarEnabled() && !this.services.zoom.isEmptyState(), r = this.model.getDisplayData();
13439
13448
  let i;
13440
13449
  switch (t) {
13441
- case kt.ZOOM_IN:
13450
+ case yt.ZOOM_IN:
13442
13451
  n && (i = {
13443
13452
  id: "toolbar-zoomIn",
13444
13453
  title: "Zoom in",
@@ -13449,7 +13458,7 @@ const ks = (e) => Eu.sanitize(e, {
13449
13458
  clickFunction: () => this.services.zoom.zoomIn()
13450
13459
  });
13451
13460
  break;
13452
- case kt.ZOOM_OUT:
13461
+ case yt.ZOOM_OUT:
13453
13462
  n && (i = {
13454
13463
  id: "toolbar-zoomOut",
13455
13464
  title: "Zoom out",
@@ -13460,7 +13469,7 @@ const ks = (e) => Eu.sanitize(e, {
13460
13469
  clickFunction: () => this.services.zoom.zoomOut()
13461
13470
  });
13462
13471
  break;
13463
- case kt.RESET_ZOOM:
13472
+ case yt.RESET_ZOOM:
13464
13473
  n && (i = {
13465
13474
  id: "toolbar-resetZoom",
13466
13475
  title: "Reset zoom",
@@ -13471,7 +13480,7 @@ const ks = (e) => Eu.sanitize(e, {
13471
13480
  clickFunction: () => this.services.zoom.resetZoomDomain()
13472
13481
  });
13473
13482
  break;
13474
- case kt.MAKE_FULLSCREEN:
13483
+ case yt.MAKE_FULLSCREEN:
13475
13484
  i = {
13476
13485
  id: "toolbar-makefullscreen",
13477
13486
  iconSVG: {
@@ -13486,7 +13495,22 @@ const ks = (e) => Eu.sanitize(e, {
13486
13495
  }
13487
13496
  };
13488
13497
  break;
13489
- case kt.SHOW_AS_DATATABLE:
13498
+ case yt.EXIT_FULLSCREEN:
13499
+ i = {
13500
+ id: "toolbar-exitfullscreen",
13501
+ iconSVG: {
13502
+ content: this.getControlIconByType(t),
13503
+ width: "15px",
13504
+ height: "15px"
13505
+ },
13506
+ title: "Exit fullscreen",
13507
+ shouldBeDisabled: () => !1,
13508
+ clickFunction: () => {
13509
+ this.services.domUtils.toggleFullscreen();
13510
+ }
13511
+ };
13512
+ break;
13513
+ case yt.SHOW_AS_DATATABLE:
13490
13514
  i = {
13491
13515
  id: "toolbar-showasdatatable",
13492
13516
  iconSVG: {
@@ -13497,7 +13521,7 @@ const ks = (e) => Eu.sanitize(e, {
13497
13521
  clickFunction: () => this.services.events.dispatchEvent(O.Modal.SHOW)
13498
13522
  };
13499
13523
  break;
13500
- case kt.EXPORT_CSV:
13524
+ case yt.EXPORT_CSV:
13501
13525
  i = {
13502
13526
  id: "toolbar-export-CSV",
13503
13527
  title: "Export as CSV",
@@ -13508,7 +13532,7 @@ const ks = (e) => Eu.sanitize(e, {
13508
13532
  clickFunction: () => this.model.exportToCSV()
13509
13533
  };
13510
13534
  break;
13511
- case kt.EXPORT_PNG:
13535
+ case yt.EXPORT_PNG:
13512
13536
  i = {
13513
13537
  id: "toolbar-export-PNG",
13514
13538
  title: "Export as PNG",
@@ -13519,7 +13543,7 @@ const ks = (e) => Eu.sanitize(e, {
13519
13543
  clickFunction: () => this.services.domUtils.exportToPNG()
13520
13544
  };
13521
13545
  break;
13522
- case kt.EXPORT_JPG:
13546
+ case yt.EXPORT_JPG:
13523
13547
  i = {
13524
13548
  id: "toolbar-export-JPG",
13525
13549
  title: "Export as JPG",
@@ -13537,23 +13561,25 @@ const ks = (e) => Eu.sanitize(e, {
13537
13561
  }
13538
13562
  getControlIconByType(t) {
13539
13563
  switch (t) {
13540
- case kt.ZOOM_IN:
13564
+ case yt.ZOOM_IN:
13541
13565
  return `<polygon points="19 13 15 13 15 9 13 9 13 13 9 13 9 15 13 15 13 19 15 19 15 15 19 15 19 13"/>
13542
13566
  <path d="M22.45,21A10.87,10.87,0,0,0,25,14,11,11,0,1,0,14,25a10.87,10.87,0,0,0,7-2.55L28.59,30,30,28.59ZM14,23a9,9,0,1,1,9-9A9,9,0,0,1,14,23Z"/>`;
13543
- case kt.ZOOM_OUT:
13567
+ case yt.ZOOM_OUT:
13544
13568
  return `<rect x="9" y="13" width="10" height="2"/>
13545
13569
  <path d="M22.45,21A10.87,10.87,0,0,0,25,14,11,11,0,1,0,14,25a10.87,10.87,0,0,0,7-2.55L28.59,30,30,28.59ZM14,23a9,9,0,1,1,9-9A9,9,0,0,1,14,23Z"/>`;
13546
- case kt.RESET_ZOOM:
13570
+ case yt.RESET_ZOOM:
13547
13571
  return '<path d="M22.4478,21A10.855,10.855,0,0,0,25,14,10.99,10.99,0,0,0,6,6.4658V2H4v8h8V8H7.332a8.9768,8.9768,0,1,1-2.1,8H3.1912A11.0118,11.0118,0,0,0,14,25a10.855,10.855,0,0,0,7-2.5522L28.5859,30,30,28.5859Z"/>';
13548
- case kt.MAKE_FULLSCREEN:
13572
+ case yt.MAKE_FULLSCREEN:
13549
13573
  return '<polygon points="21 2 21 4 26.59 4 17 13.58 18.41 15 28 5.41 28 11 30 11 30 2 21 2"/><polygon points="15 18.42 13.59 17 4 26.59 4 21 2 21 2 30 11 30 11 28 5.41 28 15 18.42"/>';
13550
- case kt.SHOW_AS_DATATABLE:
13574
+ case yt.EXIT_FULLSCREEN:
13575
+ return '<polygon points="4 18 4 20 10.586 20 2 28.582 3.414 30 12 21.414 12 28 14 28 14 18 4 18"/><polygon points="30 3.416 28.592 2 20 10.586 20 4 18 4 18 14 28 14 28 12 21.414 12 30 3.416"/>';
13576
+ case yt.SHOW_AS_DATATABLE:
13551
13577
  return '<rect x="4" y="6" width="18" height="2"/><rect x="4" y="12" width="18" height="2"/><rect x="4" y="18" width="18" height="2"/><rect x="4" y="24" width="18" height="2"/><rect x="26" y="6" width="2" height="2"/><rect x="26" y="12" width="2" height="2"/><rect x="26" y="18" width="2" height="2"/><rect x="26" y="24" width="2" height="2"/>';
13552
- case kt.EXPORT_CSV:
13578
+ case yt.EXPORT_CSV:
13553
13579
  return '<path d="M22.4478,21A10.855,10.855,0,0,0,25,14,10.99,10.99,0,0,0,6,6.4658V2H4v8h8V8H7.332a8.9768,8.9768,0,1,1-2.1,8H3.1912A11.0118,11.0118,0,0,0,14,25a10.855,10.855,0,0,0,7-2.5522L28.5859,30,30,28.5859Z"/>';
13554
- case kt.EXPORT_JPG:
13580
+ case yt.EXPORT_JPG:
13555
13581
  return '<path d="M22.4478,21A10.855,10.855,0,0,0,25,14,10.99,10.99,0,0,0,6,6.4658V2H4v8h8V8H7.332a8.9768,8.9768,0,1,1-2.1,8H3.1912A11.0118,11.0118,0,0,0,14,25a10.855,10.855,0,0,0,7-2.5522L28.5859,30,30,28.5859Z"/>';
13556
- case kt.EXPORT_PNG:
13582
+ case yt.EXPORT_PNG:
13557
13583
  return '<path d="M22.4478,21A10.855,10.855,0,0,0,25,14,10.99,10.99,0,0,0,6,6.4658V2H4v8h8V8H7.332a8.9768,8.9768,0,1,1-2.1,8H3.1912A11.0118,11.0118,0,0,0,14,25a10.855,10.855,0,0,0,7-2.5522L28.5859,30,30,28.5859Z"/>';
13558
13584
  default:
13559
13585
  throw Error("Not supported toolbar control type: " + t);
@@ -13587,35 +13613,35 @@ const Yv = class Xv extends dt {
13587
13613
  return this.parent.selectAll(`div.layout-child-${this._instanceID}`).filter((t) => b(t, "growth") === at.STRETCH).size();
13588
13614
  }
13589
13615
  render(t = !0) {
13590
- const n = this.parent, { width: r, height: i } = D.getHTMLElementSize(n.node()), s = this.configs.direction === Mt.ROW || this.configs.direction === Mt.ROW_REVERSE, a = b(this.model.getOptions(), "style", "prefix"), o = n.classed(
13616
+ const n = this.parent, { width: r, height: i } = k.getHTMLElementSize(n.node()), s = this.configs.direction === Ct.ROW || this.configs.direction === Ct.ROW_REVERSE, a = b(this.model.getOptions(), "style", "prefix"), o = n.classed(
13591
13617
  `${oe}--${a}--layout-row`,
13592
- this.configs.direction === Mt.ROW
13618
+ this.configs.direction === Ct.ROW
13593
13619
  ).classed(
13594
13620
  `${oe}--${a}--layout-row-reverse`,
13595
- this.configs.direction === Mt.ROW_REVERSE
13621
+ this.configs.direction === Ct.ROW_REVERSE
13596
13622
  ).classed(
13597
13623
  `${oe}--${a}--layout-column`,
13598
- this.configs.direction === Mt.COLUMN
13624
+ this.configs.direction === Ct.COLUMN
13599
13625
  ).classed(
13600
13626
  `${oe}--${a}--layout-column-reverse`,
13601
- this.configs.direction === Mt.COLUMN_REVERSE
13627
+ this.configs.direction === Ct.COLUMN_REVERSE
13602
13628
  ).classed(
13603
13629
  `${oe}--${a}--layout-alignitems-center`,
13604
13630
  this.configs.alignItems === Qr.CENTER
13605
13631
  ).selectAll(`div.layout-child-${this._instanceID}`).data(this.children, (c) => c.id);
13606
13632
  o.enter().append("div").merge(n.selectAll(`div.layout-child-${this._instanceID}`)).attr("class", (c) => `layout-child layout-child-${this._instanceID} ${c.id}`).each(function(c) {
13607
13633
  c.components.forEach((u) => {
13608
- const d = k(this), h = b(c, "renderType") === K.SVG;
13634
+ const d = D(this), h = b(c, "renderType") === K.SVG;
13609
13635
  u.setParent(
13610
- h ? D.appendOrSelect(d, "svg.layout-svg-wrapper").attr("width", "100%").attr("height", "100%") : d
13636
+ h ? k.appendOrSelect(d, "svg.layout-svg-wrapper").attr("width", "100%").attr("height", "100%") : d
13611
13637
  );
13612
13638
  const f = b(c, "growth");
13613
13639
  (f === at.PREFERRED || f === at.FIXED) && u.render(t);
13614
13640
  });
13615
13641
  }), n.selectAll(`div.layout-child-${this._instanceID}`).style("height", null).style("width", null).each(function(c) {
13616
- const u = b(c, "growth"), d = b(c, "renderType") === K.SVG ? D.getSVGElementSize(k(this).select("svg.layout-svg-wrapper"), {
13642
+ const u = b(c, "growth"), d = b(c, "renderType") === K.SVG ? k.getSVGElementSize(D(this).select("svg.layout-svg-wrapper"), {
13617
13643
  useBBox: !0
13618
- }) : D.getHTMLElementSize(this);
13644
+ }) : k.getHTMLElementSize(this);
13619
13645
  if (u === at.PREFERRED) {
13620
13646
  const h = s ? d.width : d.height, f = s ? r : i;
13621
13647
  c.size = h / f * 100;
@@ -14772,7 +14798,7 @@ class go extends dt {
14772
14798
  <table class="cds--data-table cds--data-table--no-border cds--data-table cds--data-table--no-border">
14773
14799
  <thead>
14774
14800
  <tr>
14775
- ${Tt(i, 0).map(
14801
+ ${Mt(i, 0).map(
14776
14802
  (s) => `<th scope="col">
14777
14803
  <div class="cds--table-header-label cds--table-header-label">${Xe(s)}</div>
14778
14804
  </th>`
@@ -14802,8 +14828,8 @@ class go extends dt {
14802
14828
  render(t = !1) {
14803
14829
  const n = this.model.getOptions();
14804
14830
  if (!this.isEventListenerAdded) {
14805
- const r = k(this.services.domUtils.getHolder()), i = b(n, "style", "prefix");
14806
- this.modal = D.appendOrSelect(r, `div.${oe}--${i}--modal`), this.addEventListeners(), this.isEventListenerAdded = !0;
14831
+ const r = D(this.services.domUtils.getHolder()), i = b(n, "style", "prefix");
14832
+ this.modal = k.appendOrSelect(r, `div.${oe}--${i}--modal`), this.addEventListeners(), this.isEventListenerAdded = !0;
14807
14833
  }
14808
14834
  }
14809
14835
  destroy() {
@@ -14846,7 +14872,7 @@ class ds extends dt {
14846
14872
  const r = t.text();
14847
14873
  if (t.node().getComputedTextLength() > n) {
14848
14874
  t.append("tspan").text("...");
14849
- const i = D.appendOrSelect(t, "tspan").node().getComputedTextLength(), s = t.text(), a = this.getSubstringIndex(
14875
+ const i = k.appendOrSelect(t, "tspan").node().getComputedTextLength(), s = t.text(), a = this.getSubstringIndex(
14850
14876
  t.node(),
14851
14877
  0,
14852
14878
  s.length - 1,
@@ -14871,7 +14897,7 @@ class ds extends dt {
14871
14897
  }
14872
14898
  // computes the maximum space a title can take
14873
14899
  getMaxTitleWidth() {
14874
- return D.getSVGElementSize(this.parent.node(), {
14900
+ return k.getSVGElementSize(this.parent.node(), {
14875
14901
  useAttrs: !0
14876
14902
  }).width;
14877
14903
  }
@@ -14935,7 +14961,7 @@ class _u extends dt {
14935
14961
  w.selectAll("*").remove();
14936
14962
  let _, S = 1;
14937
14963
  w.append("svg").classed("icon", !0).each(function(T) {
14938
- const R = k(this);
14964
+ const R = D(this);
14939
14965
  !_ || _ != T.type ? (_ = T.type, S = 1) : S++, x.addAdditionalItem(R, T, S);
14940
14966
  }), w.append("p").merge(w.select("p")), this.truncateLegendText();
14941
14967
  }
@@ -14993,9 +15019,9 @@ class _u extends dt {
14993
15019
  const t = this, n = this.getComponentContainer(), r = this.getOptions(), i = b(r, "legend"), s = b(i, "truncation");
14994
15020
  n.selectAll("div.legend-item").on("mouseover", function(a) {
14995
15021
  t.services.events.dispatchEvent(O.Legend.ITEM_HOVER, {
14996
- hoveredElement: k(this)
15022
+ hoveredElement: D(this)
14997
15023
  });
14998
- const o = k(this);
15024
+ const o = D(this);
14999
15025
  o.select("div.checkbox").classed("hovered", !0);
15000
15026
  const l = o.datum();
15001
15027
  l.name.length > s.threshold && s.numCharacter < l.name.length && s.type !== ke.NONE && t.services.events.dispatchEvent(O.Tooltip.SHOW, {
@@ -15004,30 +15030,30 @@ class _u extends dt {
15004
15030
  content: l.name
15005
15031
  });
15006
15032
  }).on("mousemove", function(a) {
15007
- k(this).datum().name.length > s.threshold && s.type !== ke.NONE && t.services.events.dispatchEvent(O.Tooltip.MOVE, {
15033
+ D(this).datum().name.length > s.threshold && s.type !== ke.NONE && t.services.events.dispatchEvent(O.Tooltip.MOVE, {
15008
15034
  event: a
15009
15035
  });
15010
15036
  }).on("click", function() {
15011
15037
  t.services.events.dispatchEvent(O.Legend.ITEM_CLICK, {
15012
- clickedElement: k(this)
15038
+ clickedElement: D(this)
15013
15039
  });
15014
- const a = k(this).datum();
15040
+ const a = D(this).datum();
15015
15041
  t.model.toggleDataLabel(a.name);
15016
15042
  }).on("mouseout", function() {
15017
- const a = k(this);
15043
+ const a = D(this);
15018
15044
  a.select("div.checkbox").classed("hovered", !1), a.datum().name.length > s.threshold && s.type !== ke.NONE && t.services.events.dispatchEvent(O.Tooltip.HIDE), t.services.events.dispatchEvent(O.Legend.ITEM_MOUSEOUT, {
15019
15045
  hoveredElement: a
15020
15046
  });
15021
15047
  }), n.selectAll("div.legend-item div.checkbox").on("keyup", function(a) {
15022
15048
  a.key && a.key === "Tab" && t.services.events.dispatchEvent(O.Legend.ITEM_HOVER, {
15023
- hoveredElement: k(this)
15049
+ hoveredElement: D(this)
15024
15050
  });
15025
15051
  }), n.selectAll("div.legend-item div.checkbox").on("keydown", function(a, o) {
15026
15052
  a.key && a.key === " " ? (a.preventDefault(), t.model.toggleDataLabel(o.name)) : a.key && a.key === "Tab" && t.services.events.dispatchEvent(O.Legend.ITEM_MOUSEOUT, {
15027
- hoveredElement: k(this)
15053
+ hoveredElement: D(this)
15028
15054
  });
15029
15055
  }), n.selectAll("g.additional-item").on("mouseover", function(a) {
15030
- const o = k(this), l = o.datum();
15056
+ const o = D(this), l = o.datum();
15031
15057
  l.name.length > s.threshold && t.services.events.dispatchEvent(O.Tooltip.SHOW, {
15032
15058
  event: a,
15033
15059
  hoveredElement: o,
@@ -15056,11 +15082,11 @@ class Jv extends dt {
15056
15082
  const r = n.getMainXScale(), i = n.getMainYScale(), [s, a] = r.range(), [o, l] = i.range();
15057
15083
  if (!t)
15058
15084
  throw new Error("svg is undefined");
15059
- this.chartClipPath = D.appendOrSelect(
15085
+ this.chartClipPath = k.appendOrSelect(
15060
15086
  t,
15061
15087
  `clipPath.${this.type}`
15062
15088
  ).attr("id", this.chartClipId);
15063
- const c = D.appendOrSelect(this.chartClipPath, `rect.${this.type}`);
15089
+ const c = k.appendOrSelect(this.chartClipPath, `rect.${this.type}`);
15064
15090
  a - s > 0 && c.attr("x", s).attr("y", l).attr("width", a - s).attr("height", o - l), this.chartClipPath.merge(c).lower();
15065
15091
  }
15066
15092
  }
@@ -15069,14 +15095,14 @@ class xN extends Jv {
15069
15095
  super(...arguments), this.type = "canvas-chart-clip", this.chartClipId = "canvas-chart-clip-id-" + Math.floor(Math.random() * 99999999999);
15070
15096
  }
15071
15097
  createClipPath() {
15072
- const t = this.parent, { width: n, height: r } = D.getSVGElementSize(this.parent, {
15098
+ const t = this.parent, { width: n, height: r } = k.getSVGElementSize(this.parent, {
15073
15099
  useAttrs: !0
15074
15100
  });
15075
- this.chartClipPath = D.appendOrSelect(t, `clipPath.${this.type}`).attr(
15101
+ this.chartClipPath = k.appendOrSelect(t, `clipPath.${this.type}`).attr(
15076
15102
  "id",
15077
15103
  this.chartClipId
15078
15104
  );
15079
- const i = D.appendOrSelect(this.chartClipPath, `rect.${this.type}`);
15105
+ const i = k.appendOrSelect(this.chartClipPath, `rect.${this.type}`);
15080
15106
  i.attr("x", 0).attr("y", 0).attr("width", n).attr("height", r), this.chartClipPath.merge(i).lower();
15081
15107
  }
15082
15108
  }
@@ -15205,7 +15231,7 @@ class wu extends dt {
15205
15231
  let a;
15206
15232
  const o = this.formatItems(this.getItems(i));
15207
15233
  i.detail.content ? a = `<div class="title-tooltip"><p>${ks(i.detail.content)}</p></div>` : a = ks(this.getTooltipHTML(o));
15208
- const l = D.appendOrSelect(this.tooltip, "div.content-box");
15234
+ const l = k.appendOrSelect(this.tooltip, "div.content-box");
15209
15235
  if (b(this.getOptions(), "tooltip", "customHTML"))
15210
15236
  if (i.detail.content) {
15211
15237
  const c = `<div class="title-tooltip"><p>${ks(
@@ -15222,7 +15248,7 @@ class wu extends dt {
15222
15248
  l.html(a);
15223
15249
  l.selectAll(".datapoint-tooltip").each(function(c, u) {
15224
15250
  const d = o[u];
15225
- o[u] && o[u].color && k(this).select(".tooltip-color").attr("class", "tooltip-color").style("background-color", d.color);
15251
+ o[u] && o[u].color && D(this).select(".tooltip-color").attr("class", "tooltip-color").style("background-color", d.color);
15226
15252
  }), this.positionTooltip(i), this.tooltip.classed("hidden", !1).attr("aria-hidden", !1);
15227
15253
  }, this.handleHideTooltip = () => {
15228
15254
  this.tooltip.classed("hidden", !0).attr("aria-hidden", !0);
@@ -15279,8 +15305,8 @@ class wu extends dt {
15279
15305
  render(t = !1) {
15280
15306
  const n = this.getOptions(), r = b(n, "tooltip", "enabled");
15281
15307
  if (r) {
15282
- const i = k(this.services.domUtils.getHolder()), s = b(n, "style", "prefix");
15283
- this.tooltip = D.appendOrSelect(i, `div.${oe}--${s}--tooltip`), this.tooltip.style("max-width", null).attr("role", "tooltip"), this.isEventListenerAdded || (this.addTooltipEventListener(), this.isEventListenerAdded = !0), this.tooltip.classed("hidden", !0);
15308
+ const i = D(this.services.domUtils.getHolder()), s = b(n, "style", "prefix");
15309
+ this.tooltip = k.appendOrSelect(i, `div.${oe}--${s}--tooltip`), this.tooltip.style("max-width", null).attr("role", "tooltip"), this.isEventListenerAdded || (this.addTooltipEventListener(), this.isEventListenerAdded = !0), this.tooltip.classed("hidden", !0);
15284
15310
  } else
15285
15311
  !r && this.isEventListenerAdded && (this.removeTooltipEventListener(), this.isEventListenerAdded = !1);
15286
15312
  }
@@ -15336,14 +15362,14 @@ const t0 = class Qs extends dt {
15336
15362
  const n = this.parent, r = this.getComponentContainer();
15337
15363
  if (!n)
15338
15364
  throw new Error("SVG was not defined");
15339
- const i = D.appendOrSelect(
15365
+ const i = k.appendOrSelect(
15340
15366
  n,
15341
15367
  "svg.chart-grid-backdrop"
15342
- ), s = D.appendOrSelect(i, `g.${this.type}`), a = D.appendOrSelect(s, this.selectionSelector), { width: o, height: l } = D.getSVGElementSize(i, {
15368
+ ), s = k.appendOrSelect(i, `g.${this.type}`), a = k.appendOrSelect(s, this.selectionSelector), { width: o, height: l } = k.getSVGElementSize(i, {
15343
15369
  useAttrs: !0
15344
15370
  }), { cartesianScales: c } = this.services, u = c.getMainXScaleType(), d = c.getMainXScale(), [h] = d.range();
15345
15371
  r.attr("transform", `translate(${h},0)`);
15346
- const f = D.appendOrSelect(r, this.frontSelectionSelector);
15372
+ const f = k.appendOrSelect(r, this.frontSelectionSelector);
15347
15373
  if (d && u === Z.TIME) {
15348
15374
  let p = this.model.get("zoomDomain");
15349
15375
  p === void 0 && (p = this.services.zoom.getDefaultZoomBarDomain(), p && this.model.set({ zoomDomain: p }, { animate: !1 }));
@@ -15399,7 +15425,7 @@ class EN extends dt {
15399
15425
  // @ts-ignore
15400
15426
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
15401
15427
  render(t = !0) {
15402
- const n = this.getComponentContainer(), r = this.services.zoom.isZoomBarLoading(V.TOP), i = this.services.zoom.isZoomBarLocked(V.TOP), s = b(this.getOptions(), "zoomBar", V.TOP, "type"), a = b(this.getOptions(), "axes", V.BOTTOM, "highlights"), o = me.height[s], { width: l } = D.getSVGElementSize(this.parent, {
15428
+ const n = this.getComponentContainer(), r = this.services.zoom.isZoomBarLoading(V.TOP), i = this.services.zoom.isZoomBarLocked(V.TOP), s = b(this.getOptions(), "zoomBar", V.TOP, "type"), a = b(this.getOptions(), "axes", V.BOTTOM, "highlights"), o = me.height[s], { width: l } = k.getSVGElementSize(this.parent, {
15403
15429
  useAttrs: !0
15404
15430
  });
15405
15431
  if (l === 0)
@@ -15407,11 +15433,11 @@ class EN extends dt {
15407
15433
  let c = 0;
15408
15434
  const u = this.model.get("axesMargins");
15409
15435
  u && u.left && (c = u.left);
15410
- const d = D.appendOrSelect(n, "svg.zoom-container").attr("width", "100%").attr("height", o).attr("opacity", 1);
15411
- if (D.appendOrSelect(n, "rect.zoom-spacer").attr("x", 0).attr("y", o).attr("width", "100%").attr("height", me.spacerHeight).attr("opacity", 1).attr("fill", "none"), s === je.GRAPH_VIEW ? D.appendOrSelect(d, "rect.zoom-bg").attr("x", c).attr("y", 0).attr("width", l - c).attr("height", "100%").classed("zoom-bg-skeleton", r).style(
15436
+ const d = k.appendOrSelect(n, "svg.zoom-container").attr("width", "100%").attr("height", o).attr("opacity", 1);
15437
+ if (k.appendOrSelect(n, "rect.zoom-spacer").attr("x", 0).attr("y", o).attr("width", "100%").attr("height", me.spacerHeight).attr("opacity", 1).attr("fill", "none"), s === je.GRAPH_VIEW ? k.appendOrSelect(d, "rect.zoom-bg").attr("x", c).attr("y", 0).attr("width", l - c).attr("height", "100%").classed("zoom-bg-skeleton", r).style(
15412
15438
  "stroke",
15413
15439
  r ? `url(#${this.services.domUtils.generateElementIDString("shimmer-lines")})` : null
15414
- ) : s === je.SLIDER_VIEW && D.appendOrSelect(d, "rect.zoom-slider-bg").attr("x", c).attr("y", o / 2 - 1).attr("width", l - c).attr("height", 2).classed("zoom-slider-bg-skeleton", r).style(
15440
+ ) : s === je.SLIDER_VIEW && k.appendOrSelect(d, "rect.zoom-slider-bg").attr("x", c).attr("y", o / 2 - 1).attr("width", l - c).attr("height", 2).classed("zoom-slider-bg-skeleton", r).style(
15415
15441
  "stroke",
15416
15442
  r ? `url(#${this.services.domUtils.generateElementIDString("shimmer-lines")})` : null
15417
15443
  ), r) {
@@ -15450,7 +15476,7 @@ class EN extends dt {
15450
15476
  if (s === je.GRAPH_VIEW && (this.renderZoomBarArea(d, "path.zoom-graph-area-unselected", m, null), this.updateClipPath(n, this.clipId, 0, 0, 0, 0), this.renderZoomBarArea(d, "path.zoom-graph-area", m, this.clipId), this.renderZoomBarBaseline(d, c, l), a)) {
15451
15477
  const S = a.highlightStartMapsTo, T = a.highlightEndMapsTo, R = a.color, P = a.labelMapsTo;
15452
15478
  a.data.forEach(($, C) => {
15453
- D.appendOrSelect(d, `rect.highlight-${C}`).attr("height", o - 2 * this.highlightStrokeWidth).attr("y", this.highlightStrokeWidth).attr("x", this.xScale($[S])).attr(
15479
+ k.appendOrSelect(d, `rect.highlight-${C}`).attr("height", o - 2 * this.highlightStrokeWidth).attr("y", this.highlightStrokeWidth).attr("x", this.xScale($[S])).attr(
15454
15480
  "width",
15455
15481
  this.xScale($[T]) - this.xScale($[S])
15456
15482
  ).style(
@@ -15463,7 +15489,7 @@ class EN extends dt {
15463
15489
  });
15464
15490
  }
15465
15491
  this.addBrushEventListener(w, c, l);
15466
- const _ = D.appendOrSelect(n, this.brushSelector).call(this.brush);
15492
+ const _ = k.appendOrSelect(n, this.brushSelector).call(this.brush);
15467
15493
  if (w !== void 0)
15468
15494
  if (w[0].valueOf() === w[1].valueOf())
15469
15495
  _.call(this.brush.move, this.xScale.range()), this.updateBrushHandle(this.getComponentContainer(), this.xScale.range());
@@ -15533,15 +15559,15 @@ class EN extends dt {
15533
15559
  }
15534
15560
  updateSliderSelectedArea(t) {
15535
15561
  const n = b(this.getOptions(), "zoomBar", V.TOP, "type"), r = me.height[n], i = this.getComponentContainer().select("svg.zoom-container");
15536
- D.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);
15562
+ k.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);
15537
15563
  }
15538
15564
  renderZoomBarArea(t, n, r, i) {
15539
- const { cartesianScales: s } = this.services, a = s.getMainXAxisPosition(), o = s.getMainYAxisPosition(), l = s.getMainXScaleType(), c = s.getMainYScaleType(), u = (v, x, y) => (w) => s.getValueFromScale(v, x, y, w), d = u(this.xScale, l, a), h = u(this.yScale, c, o), f = b(this.getOptions(), "zoomBar", V.TOP, "type"), p = me.height[f], g = Qc().x((v) => d(v)).y0(p).y1((v) => p - h(v)), m = D.appendOrSelect(t, n).datum(r).attr("d", g);
15565
+ const { cartesianScales: s } = this.services, a = s.getMainXAxisPosition(), o = s.getMainYAxisPosition(), l = s.getMainXScaleType(), c = s.getMainYScaleType(), u = (v, x, y) => (w) => s.getValueFromScale(v, x, y, w), d = u(this.xScale, l, a), h = u(this.yScale, c, o), f = b(this.getOptions(), "zoomBar", V.TOP, "type"), p = me.height[f], g = Qc().x((v) => d(v)).y0(p).y1((v) => p - h(v)), m = k.appendOrSelect(t, n).datum(r).attr("d", g);
15540
15566
  i && m.attr("clip-path", `url(#${i})`);
15541
15567
  }
15542
15568
  updateClipPath(t, n, r, i, s, a) {
15543
- const o = D.appendOrSelect(t, "clipPath").attr("id", n);
15544
- D.appendOrSelect(o, "rect").attr("x", r).attr("y", i).attr("width", s).attr("height", a);
15569
+ const o = k.appendOrSelect(t, "clipPath").attr("id", n);
15570
+ k.appendOrSelect(o, "rect").attr("x", r).attr("y", i).attr("width", s).attr("height", a);
15545
15571
  }
15546
15572
  // assume the domains in data are already sorted
15547
15573
  compensateDataForDefaultDomain(t, n) {
@@ -15568,13 +15594,13 @@ class EN extends dt {
15568
15594
  [n, a],
15569
15595
  [r, a]
15570
15596
  ]);
15571
- D.appendOrSelect(t, "path.zoom-bg-baseline").attr("d", o).classed("zoom-bg-baseline-skeleton", i).style(
15597
+ k.appendOrSelect(t, "path.zoom-bg-baseline").attr("d", o).classed("zoom-bg-baseline-skeleton", i).style(
15572
15598
  "stroke",
15573
15599
  i ? `url(#${this.services.domUtils.generateElementIDString("shimmer-lines")})` : null
15574
15600
  );
15575
15601
  }
15576
15602
  renderSkeleton(t, n, r) {
15577
- this.renderZoomBarArea(t, "path.zoom-graph-area-unselected", [], null), this.renderZoomBarArea(t, "path.zoom-graph-area", [], this.clipId), this.brush.on("start brush end", null), D.appendOrSelect(this.getComponentContainer(), this.brushSelector).html(null), b(this.getOptions(), "zoomBar", V.TOP, "type") === je.GRAPH_VIEW && this.renderZoomBarBaseline(t, n, r, !0);
15603
+ this.renderZoomBarArea(t, "path.zoom-graph-area-unselected", [], null), this.renderZoomBarArea(t, "path.zoom-graph-area", [], this.clipId), this.brush.on("start brush end", null), k.appendOrSelect(this.getComponentContainer(), this.brushSelector).html(null), b(this.getOptions(), "zoomBar", V.TOP, "type") === je.GRAPH_VIEW && this.renderZoomBarBaseline(t, n, r, !0);
15578
15604
  }
15579
15605
  destroy() {
15580
15606
  this.brush.on("start brush end", null), this.services.events.removeEventListener(O.ZoomBar.UPDATE, this.render.bind(this));
@@ -15618,7 +15644,7 @@ class _N extends dt {
15618
15644
  _,
15619
15645
  S,
15620
15646
  w
15621
- ), P = k(this);
15647
+ ), P = D(this);
15622
15648
  c === V.TOP || c === V.BOTTOM ? (P.selectAll("line.threshold-line").transition().call(
15623
15649
  ($) => l.services.transitions.setupTransition({
15624
15650
  transition: $,
@@ -15662,8 +15688,8 @@ class _N extends dt {
15662
15688
  return n.toLocaleString("en");
15663
15689
  }
15664
15690
  appendThresholdLabel() {
15665
- const t = k(this.services.domUtils.getHolder()), n = b(this.getOptions(), "style", "prefix");
15666
- this.label = D.appendOrSelect(
15691
+ const t = D(this.services.domUtils.getHolder()), n = b(this.getOptions(), "style", "prefix");
15692
+ this.label = k.appendOrSelect(
15667
15693
  t,
15668
15694
  `div.${oe}--${n}--threshold--label`
15669
15695
  ).classed("hidden", !0);
@@ -15704,16 +15730,16 @@ class _N extends dt {
15704
15730
  addEventListeners() {
15705
15731
  const t = this;
15706
15732
  this.getComponentContainer({ withinChartClip: !0 }).selectAll("rect.threshold-hoverable-area").on("mouseover mousemove", function(n) {
15707
- k(this.parentNode).select("line.threshold-line").classed("active", !0), t.services.events.dispatchEvent(O.Threshold.SHOW, {
15733
+ D(this.parentNode).select("line.threshold-line").classed("active", !0), t.services.events.dispatchEvent(O.Threshold.SHOW, {
15708
15734
  event: n,
15709
- hoveredElement: k(this),
15710
- datum: k(this).datum()
15735
+ hoveredElement: D(this),
15736
+ datum: D(this).datum()
15711
15737
  });
15712
15738
  }).on("mouseout", function(n) {
15713
- k(this.parentNode).select("line.threshold-line").classed("active", !1), t.services.events.dispatchEvent(O.Threshold.HIDE, {
15739
+ D(this.parentNode).select("line.threshold-line").classed("active", !1), t.services.events.dispatchEvent(O.Threshold.HIDE, {
15714
15740
  event: n,
15715
- hoveredElement: k(this),
15716
- datum: k(this).datum()
15741
+ hoveredElement: D(this),
15742
+ datum: D(this).datum()
15717
15743
  });
15718
15744
  });
15719
15745
  }
@@ -15753,7 +15779,7 @@ class wN extends dt {
15753
15779
  x,
15754
15780
  y,
15755
15781
  v
15756
- ), S = k(this);
15782
+ ), S = D(this);
15757
15783
  c === V.TOP || c === V.BOTTOM ? S.selectAll("rect.highlight-bar").transition().call(
15758
15784
  (T) => l.services.transitions.setupTransition({
15759
15785
  transition: T,
@@ -15852,7 +15878,7 @@ class e0 extends wu {
15852
15878
  ), !a && b(r, "tooltip", "showTotal") === !0)) {
15853
15879
  const h = i.getRangeIdentifier();
15854
15880
  d.push({
15855
- label: Tt(r, "tooltip.totalLabel") || "Total",
15881
+ label: Mt(r, "tooltip.totalLabel") || "Total",
15856
15882
  value: n.reduce(
15857
15883
  (f, p) => f + p[h],
15858
15884
  0
@@ -15873,7 +15899,7 @@ class SN extends dt {
15873
15899
  render(t = !0) {
15874
15900
  const n = this.getComponentContainer({ withinChartClip: !0 });
15875
15901
  n.html("");
15876
- const { width: r, height: i } = D.getSVGElementSize(n, {
15902
+ const { width: r, height: i } = k.getSVGElementSize(n, {
15877
15903
  useAttrs: !0
15878
15904
  });
15879
15905
  if (r < 1 || i < 1)
@@ -15907,7 +15933,7 @@ class SN extends dt {
15907
15933
  ).style("font-size", "14px").text((m) => h[m] ? h[m] : "").attr("y", 20).attr("x", (m, v) => {
15908
15934
  const x = this.services.domUtils.generateElementIDString(
15909
15935
  `alluvial-category-${v}`
15910
- ), { width: y } = D.getSVGElementSize(k(`text#${x}`), {
15936
+ ), { width: y } = k.getSVGElementSize(D(`text#${x}`), {
15911
15937
  useBBox: !0
15912
15938
  });
15913
15939
  let w = 0;
@@ -15952,14 +15978,14 @@ class SN extends dt {
15952
15978
  ).attr("class", "node-text").style("font-size", "12px").attr("text-anchor", "start").attr("fill", "white").attr("x", 4).attr("dy", 13).text((m) => `${m.name} (${m.value})`).attr("aria-label", (m) => `${m.name} (${m.value})`), g.append("rect").classed("node-text-bg", !0).attr("width", (m, v) => {
15953
15979
  const x = this.services.domUtils.generateElementIDString(
15954
15980
  `alluvial-node-text-${v}`
15955
- ), { width: y } = D.getSVGElementSize(k(`text#${x}`), {
15981
+ ), { width: y } = k.getSVGElementSize(D(`text#${x}`), {
15956
15982
  useBBox: !0
15957
15983
  });
15958
15984
  return y + 8;
15959
15985
  }).attr("height", 18).attr("stroke-width", 2).lower(), g.attr("transform", (m, v) => {
15960
15986
  const x = this.services.domUtils.generateElementIDString(
15961
15987
  `alluvial-node-text-${v}`
15962
- ), { width: y } = D.getSVGElementSize(k(`text#${x}`), {
15988
+ ), { width: y } = k.getSVGElementSize(D(`text#${x}`), {
15963
15989
  useBBox: !0
15964
15990
  }), w = (m.y1 - m.y0) / 2 - 9;
15965
15991
  let _ = m.x1 - m.x0;
@@ -15974,12 +16000,12 @@ class SN extends dt {
15974
16000
  name: "alluvial-links-mouse-highlight"
15975
16001
  })
15976
16002
  );
15977
- s === "mouseout" ? (k(i).lower(), a.style("stroke-opacity", Ae.opacity.default)) : a.style("stroke-opacity", function() {
15978
- return i === this ? (k(this).raise(), Ae.opacity.selected) : Ae.opacity.unfocus;
16003
+ s === "mouseout" ? (D(i).lower(), a.style("stroke-opacity", Ae.opacity.default)) : a.style("stroke-opacity", function() {
16004
+ return i === this ? (D(this).raise(), Ae.opacity.selected) : Ae.opacity.unfocus;
15979
16005
  });
15980
16006
  }, 33);
15981
16007
  this.parent.selectAll("path.link").on("mouseover", function(i, s) {
15982
- const a = k(this);
16008
+ const a = D(this);
15983
16009
  r(this, "mouseover"), a.classed("link-hovered", !0);
15984
16010
  const o = getComputedStyle(this).getPropertyValue("stroke");
15985
16011
  n.services.events.dispatchEvent(O.Alluvial.LINE_MOUSEOVER, {
@@ -16001,7 +16027,7 @@ class SN extends dt {
16001
16027
  }).on("mousemove", function(i, s) {
16002
16028
  n.services.events.dispatchEvent(O.Alluvial.LINE_MOUSEMOVE, {
16003
16029
  event: i,
16004
- element: k(this),
16030
+ element: D(this),
16005
16031
  datum: s
16006
16032
  }), n.services.events.dispatchEvent(O.Tooltip.MOVE, {
16007
16033
  event: i
@@ -16009,11 +16035,11 @@ class SN extends dt {
16009
16035
  }).on("click", function(i, s) {
16010
16036
  n.services.events.dispatchEvent(O.Alluvial.LINE_CLICK, {
16011
16037
  event: i,
16012
- element: k(this),
16038
+ element: D(this),
16013
16039
  datum: s
16014
16040
  });
16015
16041
  }).on("mouseout", function(i, s) {
16016
- const a = k(this);
16042
+ const a = D(this);
16017
16043
  r(this, "mouseout"), a.classed("link-hovered", !1), n.services.events.dispatchEvent(O.Alluvial.LINE_MOUSEOUT, {
16018
16044
  event: i,
16019
16045
  element: a,
@@ -16036,11 +16062,11 @@ class SN extends dt {
16036
16062
  name: "alluvial-link-mouse-highlight"
16037
16063
  })
16038
16064
  ).style("stroke-opacity", function(s) {
16039
- return r.some((a) => a === s.index) ? (k(this).classed("link-hovered", !0).raise(), Ae.opacity.selected) : Ae.opacity.unfocus;
16065
+ return r.some((a) => a === s.index) ? (D(this).classed("link-hovered", !0).raise(), Ae.opacity.selected) : Ae.opacity.unfocus;
16040
16066
  });
16041
16067
  }, 66);
16042
16068
  t.parent.selectAll(".node-group").on("mouseover", function(r, i) {
16043
- const s = k(this), a = [];
16069
+ const s = D(this), a = [];
16044
16070
  if (t.traverse({ link: "sourceLinks", node: "target" }, i, a), t.traverse({ link: "targetLinks", node: "source" }, i, a), a.length) {
16045
16071
  const o = Oi(s.attr("transform"));
16046
16072
  if (s.attr("transform", `translate(${o.x - 2}, ${o.y})`), s.classed("node-hovered", !0).selectAll("rect.node").attr("width", 8), i.x0 - 2 === 0) {
@@ -16061,7 +16087,7 @@ class SN extends dt {
16061
16087
  }).on("mousemove", function(r, i) {
16062
16088
  t.services.events.dispatchEvent(O.Alluvial.NODE_MOUSEMOVE, {
16063
16089
  event: r,
16064
- element: k(this),
16090
+ element: D(this),
16065
16091
  datum: i
16066
16092
  }), t.services.events.dispatchEvent(O.Tooltip.MOVE, {
16067
16093
  event: r
@@ -16069,11 +16095,11 @@ class SN extends dt {
16069
16095
  }).on("click", function(r, i) {
16070
16096
  t.services.events.dispatchEvent(O.Alluvial.NODE_CLICK, {
16071
16097
  event: r,
16072
- element: k(this),
16098
+ element: D(this),
16073
16099
  datum: i
16074
16100
  });
16075
16101
  }).on("mouseout", function(r, i) {
16076
- const s = k(this), a = Oi(s.attr("transform"));
16102
+ const s = D(this), a = Oi(s.attr("transform"));
16077
16103
  if (s.classed("node-hovered", !1).attr("transform", `translate(${a.x + 2}, ${a.y})`).select("rect.node").attr("width", Ae.nodeWidth), i.x0 - 2 === 0) {
16078
16104
  const l = t.services.domUtils.generateElementIDString(
16079
16105
  `alluvial-node-title-${i.index}`
@@ -16114,7 +16140,7 @@ class be extends dt {
16114
16140
  }
16115
16141
  render(t = !0) {
16116
16142
  const n = b(this.getOptions(), "grid", "x", "enabled"), r = b(this.getOptions(), "grid", "y", "enabled");
16117
- this.drawBackdrop(n, r), !(!n && !r) && (n && (D.appendOrSelect(this.backdrop, "g.x.grid"), this.drawXGrid(t)), r && (D.appendOrSelect(this.backdrop, "g.y.grid"), this.drawYGrid(t)));
16143
+ this.drawBackdrop(n, r), !(!n && !r) && (n && (k.appendOrSelect(this.backdrop, "g.x.grid"), this.drawXGrid(t)), r && (k.appendOrSelect(this.backdrop, "g.y.grid"), this.drawYGrid(t)));
16118
16144
  }
16119
16145
  drawXGrid(t) {
16120
16146
  const n = this.parent, r = this.backdrop.attr("height"), i = this.services.cartesianScales.getMainXScale(), s = Cc(i).tickSizeInner(-r).tickSizeOuter(0);
@@ -16172,7 +16198,7 @@ class be extends dt {
16172
16198
  l = +cn(o).tx - +cn(a).tx;
16173
16199
  else {
16174
16200
  const u = n.select("rect.chart-grid-backdrop").node();
16175
- l = D.getSVGElementSize(u).width - +cn(a).tx;
16201
+ l = k.getSVGElementSize(u).width - +cn(a).tx;
16176
16202
  }
16177
16203
  const { threshold: c } = this.getOptions().tooltip.gridline;
16178
16204
  return l * c;
@@ -16193,8 +16219,8 @@ class be extends dt {
16193
16219
  }
16194
16220
  drawBackdrop(t, n) {
16195
16221
  const r = this.parent, i = this.services.cartesianScales.getMainXScale(), s = this.services.cartesianScales.getMainYScale(), [a, o] = i.range(), [l, c] = s.range();
16196
- this.backdrop = D.appendOrSelect(r, "svg.chart-grid-backdrop");
16197
- const u = D.appendOrSelect(
16222
+ this.backdrop = k.appendOrSelect(r, "svg.chart-grid-backdrop");
16223
+ const u = k.appendOrSelect(
16198
16224
  this.backdrop,
16199
16225
  t || n ? "rect.chart-grid-backdrop.stroked" : "rect.chart-grid-backdrop"
16200
16226
  );
@@ -16244,7 +16270,7 @@ class n0 extends dt {
16244
16270
  a === jt.VERTICAL ? (i = s.getMainYScale().domain(), h(s.getMainYAxisPosition(), i), o.x((_) => s.getDomainValue(_)).y0((_) => f(_)).y1((_) => p(_))) : (i = s.getMainXScale().domain(), h(s.getMainXAxisPosition(), i), o.x0((_) => f(_)).x1((_) => p(_)).y((_) => s.getDomainValue(_)));
16245
16271
  const g = b(r, "color", "gradient", "enabled"), m = l && l.length === 1 && g;
16246
16272
  l.length > 1 && g && console.error("Gradients can only be enabled when having 1 single dataset");
16247
- const v = n.selectAll("path.area").data(l, (_) => _.name), x = k(this.services.domUtils.getMainContainer());
16273
+ const v = n.selectAll("path.area").data(l, (_) => _.name), x = D(this.services.domUtils.getMainContainer());
16248
16274
  if (v.exit().attr("opacity", 0).remove(), !l.length)
16249
16275
  return;
16250
16276
  if (m) {
@@ -16427,7 +16453,7 @@ class Nn extends dt {
16427
16453
  // @ts-ignore
16428
16454
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
16429
16455
  showRuler(t, [n, r]) {
16430
- const i = this.parent, s = this.services.cartesianScales.getOrientation(), a = this.model.getDisplayData(), o = this.services.cartesianScales.getRangeScale(), [l, c] = o.range(), u = s === jt.HORIZONTAL ? r : n, d = D.appendOrSelect(i, "g.ruler").attr("aria-label", "ruler"), h = D.appendOrSelect(d, "line.ruler-line"), f = i.selectAll("[role=graphics-symbol]"), p = a.map((m) => ({
16456
+ const i = this.parent, s = this.services.cartesianScales.getOrientation(), a = this.model.getDisplayData(), o = this.services.cartesianScales.getRangeScale(), [l, c] = o.range(), u = s === jt.HORIZONTAL ? r : n, d = k.appendOrSelect(i, "g.ruler").attr("aria-label", "ruler"), h = k.appendOrSelect(d, "line.ruler-line"), f = i.selectAll("[role=graphics-symbol]"), p = a.map((m) => ({
16431
16457
  domainValue: this.services.cartesianScales.getDomainValue(m),
16432
16458
  originalData: m
16433
16459
  })).filter((m) => ON(m.domainValue, u));
@@ -16463,7 +16489,7 @@ class Nn extends dt {
16463
16489
  this.hideRuler();
16464
16490
  }
16465
16491
  hideRuler() {
16466
- const t = this.parent, n = D.appendOrSelect(t, "g.ruler");
16492
+ const t = this.parent, n = k.appendOrSelect(t, "g.ruler");
16467
16493
  t.selectAll("[role=graphics-symbol]").dispatch("mouseout"), this.services.events.dispatchEvent(O.Tooltip.HIDE), n.attr("opacity", 0);
16468
16494
  }
16469
16495
  /**
@@ -16491,7 +16517,7 @@ class Nn extends dt {
16491
16517
  }
16492
16518
  drawBackdrop() {
16493
16519
  const t = this.parent;
16494
- this.backdrop = D.appendOrSelect(t, "svg.chart-grid-backdrop");
16520
+ this.backdrop = k.appendOrSelect(t, "svg.chart-grid-backdrop");
16495
16521
  }
16496
16522
  }
16497
16523
  class Ze extends dt {
@@ -16676,7 +16702,7 @@ class Ze extends dt {
16676
16702
  throw new Error("Parent not defined");
16677
16703
  this.parent.selectAll("circle").on("mouseover", function(r, i) {
16678
16704
  var s, a;
16679
- const o = k(this);
16705
+ const o = D(this);
16680
16706
  o.classed("hovered", !0).attr(
16681
16707
  "class",
16682
16708
  (l) => t.model.getColorClassName({
@@ -16700,7 +16726,7 @@ class Ze extends dt {
16700
16726
  });
16701
16727
  }).on("mousemove", function(r, i) {
16702
16728
  var s, a;
16703
- const o = k(this);
16729
+ const o = D(this);
16704
16730
  (s = t.services.events) == null || s.dispatchEvent(O.Scatter.SCATTER_MOUSEMOVE, {
16705
16731
  event: r,
16706
16732
  element: o,
@@ -16712,12 +16738,12 @@ class Ze extends dt {
16712
16738
  var s;
16713
16739
  (s = t.services.events) == null || s.dispatchEvent(O.Scatter.SCATTER_CLICK, {
16714
16740
  event: r,
16715
- element: k(this),
16741
+ element: D(this),
16716
16742
  datum: i
16717
16743
  });
16718
16744
  }).on("mouseout", function(r, i) {
16719
16745
  var s, a, o;
16720
- const l = k(this);
16746
+ const l = D(this);
16721
16747
  if (l.classed("hovered", !1), !t.configs.filled) {
16722
16748
  const { filled: c } = t.getOptions().points, u = (s = t.services.cartesianScales) == null ? void 0 : s.getDomainIdentifier(i), d = t.model.getIsFilled(
16723
16749
  i[n],
@@ -16758,9 +16784,9 @@ class r0 extends dt {
16758
16784
  }, r && (this.configs = r), this.margins = this.configs.margins;
16759
16785
  }
16760
16786
  render(t = !0) {
16761
- const { position: n } = this.configs, r = this.getOptions(), i = b(r, "axes", n, "visible"), s = this.getComponentContainer(), { width: a, height: o } = D.getSVGElementSize(s, {
16787
+ const { position: n } = this.configs, r = this.getOptions(), i = b(r, "axes", n, "visible"), s = this.getComponentContainer(), { width: a, height: o } = k.getSVGElementSize(s, {
16762
16788
  useAttrs: !0
16763
- }), l = D.appendOrSelect(s, `g.axis.${n}`);
16789
+ }), l = k.appendOrSelect(s, `g.axis.${n}`);
16764
16790
  let c, u;
16765
16791
  if (n === V.BOTTOM || n === V.TOP ? (c = this.configs.axes[V.LEFT] ? this.margins.left : 0, u = this.configs.axes[V.RIGHT] ? a - this.margins.right : a) : (c = o - this.margins.bottom, u = this.margins.top), !this.services.cartesianScales)
16766
16792
  throw new Error("Services cartesianScales undefined");
@@ -16783,14 +16809,14 @@ class r0 extends dt {
16783
16809
  }
16784
16810
  l.attr("aria-label", `${n} axis`);
16785
16811
  const f = !l.select("g.ticks").empty();
16786
- let p = D.appendOrSelect(l, "g.ticks");
16812
+ let p = k.appendOrSelect(l, "g.ticks");
16787
16813
  f || (p.attr("role", `${ot.GRAPHICS_OBJECT} ${ot.GROUP}`), p.attr("aria-label", `${n} ticks`));
16788
- const g = D.appendOrSelect(l, "g.ticks.invisible").style("opacity", "0").style("pointer-events", "none").attr("aria-hidden", !0).attr("aria-label", `invisible ${n} ticks`), m = b(r, "axes", n), v = this.scaleType === Z.TIME || m.scaleType === Z.TIME, x = n === V.LEFT || n === V.RIGHT, y = this.model.get("zoomDomain");
16814
+ const g = k.appendOrSelect(l, "g.ticks.invisible").style("opacity", "0").style("pointer-events", "none").attr("aria-hidden", !0).attr("aria-label", `invisible ${n} ticks`), m = b(r, "axes", n), v = this.scaleType === Z.TIME || m.scaleType === Z.TIME, x = n === V.LEFT || n === V.RIGHT, y = this.model.get("zoomDomain");
16789
16815
  if (y && v && !x && d.domain(y), !i) {
16790
16816
  p.attr("aria-hidden", !0);
16791
16817
  return;
16792
16818
  }
16793
- const w = b(m, "scaleType"), _ = b(r, "data", "loading"), S = b(m, "ticks", "number"), T = b(m, "ticks", "values"), R = b(m, "truncation", "type"), P = b(m, "truncation", "threshold"), $ = b(m, "truncation", "numCharacter"), C = S !== null, H = b(r, "timeScale"), M = D.appendOrSelect(g, "g.tick"), L = D.appendOrSelect(M, "text").text("0"), E = D.getSVGElementSize(L.node(), {
16819
+ const w = b(m, "scaleType"), _ = b(r, "data", "loading"), S = b(m, "ticks", "number"), T = b(m, "ticks", "values"), R = b(m, "truncation", "type"), P = b(m, "truncation", "threshold"), $ = b(m, "truncation", "numCharacter"), C = S !== null, H = b(r, "timeScale"), M = k.appendOrSelect(g, "g.tick"), L = k.appendOrSelect(M, "text").text("0"), E = k.getSVGElementSize(L.node(), {
16794
16820
  useBBox: !0
16795
16821
  }).height;
16796
16822
  M.remove();
@@ -16807,8 +16833,8 @@ class r0 extends dt {
16807
16833
  else {
16808
16834
  const X = b(r, "timeScale", "addSpaceOnEdges"), ct = b(r, "axes", n, "domain"), rt = d.copy();
16809
16835
  X && !ct && rt.nice(z);
16810
- const Ct = rt.ticks(z);
16811
- X && Ct.length > 2 && !ct && (Ct.splice(Ct.length - 1, 1), Ct.splice(0, 1)), B.tickValues(Ct);
16836
+ const At = rt.ticks(z);
16837
+ X && At.length > 2 && !ct && (At.splice(At.length - 1, 1), At.splice(0, 1)), B.tickValues(At);
16812
16838
  }
16813
16839
  }
16814
16840
  let N;
@@ -16866,7 +16892,7 @@ class r0 extends dt {
16866
16892
  }
16867
16893
  const J = this.model.isDataEmpty();
16868
16894
  if (m.title) {
16869
- const z = D.appendOrSelect(l, "text.axis-title").html(
16895
+ const z = k.appendOrSelect(l, "text.axis-title").html(
16870
16896
  J || _ ? "" : Xe(m.title)
16871
16897
  ), X = b(m, "titleOrientation");
16872
16898
  let ct;
@@ -16884,7 +16910,7 @@ class r0 extends dt {
16884
16910
  X === dl.LEFT ? z.attr("transform", "rotate(-90)").attr("y", a).attr("x", -(d.range()[0] / 2)).style("text-anchor", "middle") : z.attr("transform", "rotate(90)").attr("y", -a).attr("x", d.range()[0] / 2).attr("dy", "0.75em").style("text-anchor", "middle");
16885
16911
  break;
16886
16912
  case V.TOP:
16887
- ct = D.getSVGElementSize(z, {
16913
+ ct = k.getSVGElementSize(z, {
16888
16914
  useBBox: !0
16889
16915
  }).height, z.attr(
16890
16916
  "transform",
@@ -16904,7 +16930,7 @@ class r0 extends dt {
16904
16930
  name: "axis-update",
16905
16931
  animate: t
16906
16932
  })
16907
- )), p = p.call(B), ct.selectAll(".tick").data(B.tickValues(), d).order().select("text").style("font-weight", (rt, Ct) => lv(rt, Ct, B.tickValues(), z, X) ? "bold" : "normal");
16933
+ )), p = p.call(B), ct.selectAll(".tick").data(B.tickValues(), d).order().select("text").style("font-weight", (rt, At) => lv(rt, At, B.tickValues(), z, X) ? "bold" : "normal");
16908
16934
  } else
16909
16935
  !t || !f ? p = p.call(B) : p = p.transition().call(
16910
16936
  (z) => this.services.transitions.setupTransition({
@@ -16923,19 +16949,19 @@ class r0 extends dt {
16923
16949
  else if (!X || X === Ns.AUTO)
16924
16950
  if (d.step)
16925
16951
  z = g.selectAll("g.tick text").nodes().some(
16926
- (ct) => D.getSVGElementSize(ct, {
16952
+ (ct) => k.getSVGElementSize(ct, {
16927
16953
  useBBox: !0
16928
16954
  }).width >= d.step()
16929
16955
  );
16930
16956
  else {
16931
16957
  z = !1;
16932
- const ct = g.append("text").text("A"), rt = D.getSVGElementSize(ct.node(), {
16958
+ const ct = g.append("text").text("A"), rt = k.getSVGElementSize(ct.node(), {
16933
16959
  useBBox: !0
16934
16960
  }).width;
16935
- let Ct;
16961
+ let At;
16936
16962
  g.selectAll("g.tick").each(function() {
16937
- const q = k(this), Q = parseFloat(b(cn(this), "tx"));
16938
- Q !== null && Ct + q.text().length * rt * 0.8 >= Q && (z = !0), Ct = Q;
16963
+ const q = D(this), Q = parseFloat(b(cn(this), "tx"));
16964
+ Q !== null && At + q.text().length * rt * 0.8 >= Q && (z = !0), At = Q;
16939
16965
  }), ct.remove();
16940
16966
  }
16941
16967
  z ? (C || (B.ticks(
@@ -16958,21 +16984,21 @@ class r0 extends dt {
16958
16984
  this.addEventListeners();
16959
16985
  }
16960
16986
  addEventListeners() {
16961
- const t = this.getComponentContainer(), { position: n } = this.configs, r = D.appendOrSelect(t, `g.axis.${n}`), i = this.getOptions(), s = b(i, "axes", n), a = b(s, "scaleType"), o = b(s, "truncation", "threshold"), l = this;
16987
+ const t = this.getComponentContainer(), { position: n } = this.configs, r = k.appendOrSelect(t, `g.axis.${n}`), i = this.getOptions(), s = b(i, "axes", n), a = b(s, "scaleType"), o = b(s, "truncation", "threshold"), l = this;
16962
16988
  r.selectAll("g.tick text").on("mouseover", function(c, u) {
16963
16989
  l.services.events.dispatchEvent(O.Axis.LABEL_MOUSEOVER, {
16964
16990
  event: c,
16965
- element: k(this),
16991
+ element: D(this),
16966
16992
  datum: u
16967
16993
  }), a === Z.LABELS && u.length > o && l.services.events.dispatchEvent(O.Tooltip.SHOW, {
16968
16994
  event: c,
16969
- hoveredElement: k(this),
16995
+ hoveredElement: D(this),
16970
16996
  content: u
16971
16997
  });
16972
16998
  }).on("mousemove", function(c, u) {
16973
16999
  l.services.events.dispatchEvent(O.Axis.LABEL_MOUSEMOVE, {
16974
17000
  event: c,
16975
- element: k(this),
17001
+ element: D(this),
16976
17002
  datum: u
16977
17003
  }), a === Z.LABELS && u.length > o && l.services.events.dispatchEvent(O.Tooltip.MOVE, {
16978
17004
  event: c
@@ -16980,13 +17006,13 @@ class r0 extends dt {
16980
17006
  }).on("click", function(c, u) {
16981
17007
  l.services.events.dispatchEvent(O.Axis.LABEL_CLICK, {
16982
17008
  event: c,
16983
- element: k(this),
17009
+ element: D(this),
16984
17010
  datum: u
16985
17011
  });
16986
17012
  }).on("mouseout", function(c, u) {
16987
17013
  l.services.events.dispatchEvent(O.Axis.LABEL_MOUSEOUT, {
16988
17014
  event: c,
16989
- element: k(this),
17015
+ element: D(this),
16990
17016
  datum: u
16991
17017
  }), a === Z.LABELS && l.services.events.dispatchEvent(O.Tooltip.HIDE);
16992
17018
  });
@@ -17005,7 +17031,7 @@ class r0 extends dt {
17005
17031
  }
17006
17032
  destroy() {
17007
17033
  const t = this.getComponentContainer(), { position: n } = this.configs;
17008
- D.appendOrSelect(t, `g.axis.${n}`).selectAll("g.tick text").on("mouseover", null).on("mousemove", null).on("mouseout", null);
17034
+ k.appendOrSelect(t, `g.axis.${n}`).selectAll("g.tick text").on("mouseover", null).on("mousemove", null).on("mouseout", null);
17009
17035
  }
17010
17036
  }
17011
17037
  class TN extends r0 {
@@ -17014,13 +17040,13 @@ class TN extends r0 {
17014
17040
  }
17015
17041
  render(t = !0) {
17016
17042
  super.render(t), super.destroy();
17017
- const n = this.configs.position, r = this.getComponentContainer(), i = D.appendOrSelect(r, `g.axis.${n}`), s = this;
17043
+ const n = this.configs.position, r = this.getComponentContainer(), i = k.appendOrSelect(r, `g.axis.${n}`), s = this;
17018
17044
  i.selectAll("g.tick").each(function(a, o) {
17019
- const l = k(this);
17045
+ const l = D(this);
17020
17046
  l.classed("tick-hover", !0).attr("tabindex", o === 0 ? 0 : -1);
17021
- const c = l.select("text"), { width: u, height: d } = D.getSVGElementSize(c, {
17047
+ const c = l.select("text"), { width: u, height: d } = k.getSVGElementSize(c, {
17022
17048
  useBBox: !0
17023
- }), h = D.appendOrSelect(l, "rect.axis-holder");
17049
+ }), h = k.appendOrSelect(l, "rect.axis-holder");
17024
17050
  let f = 0, p = 0;
17025
17051
  switch (n) {
17026
17052
  case V.LEFT:
@@ -17040,9 +17066,9 @@ class TN extends r0 {
17040
17066
  }), this.addEventListeners();
17041
17067
  }
17042
17068
  addEventListeners() {
17043
- const t = this.getComponentContainer(), { position: n } = this.configs, r = D.appendOrSelect(t, `g.axis.${n}`), i = this.getOptions(), s = b(i, "axes", n), a = b(s, "scaleType"), o = b(s, "truncation", "threshold"), l = this;
17069
+ const t = this.getComponentContainer(), { position: n } = this.configs, r = k.appendOrSelect(t, `g.axis.${n}`), i = this.getOptions(), s = b(i, "axes", n), a = b(s, "scaleType"), o = b(s, "truncation", "threshold"), l = this;
17044
17070
  r.selectAll("g.tick.tick-hover").on("mouseover", function(c) {
17045
- const u = k(this).select("text"), d = u.datum();
17071
+ const u = D(this).select("text"), d = u.datum();
17046
17072
  l.services.events.dispatchEvent(O.Axis.LABEL_MOUSEOVER, {
17047
17073
  event: c,
17048
17074
  element: u,
@@ -17053,7 +17079,7 @@ class TN extends r0 {
17053
17079
  datum: d
17054
17080
  });
17055
17081
  }).on("mousemove", function(c) {
17056
- const u = k(this).select("text"), d = u.datum();
17082
+ const u = D(this).select("text"), d = u.datum();
17057
17083
  l.services.events.dispatchEvent(O.Axis.LABEL_MOUSEMOVE, {
17058
17084
  event: c,
17059
17085
  element: u,
@@ -17064,14 +17090,14 @@ class TN extends r0 {
17064
17090
  }).on("click", function(c) {
17065
17091
  l.services.events.dispatchEvent(O.Axis.LABEL_CLICK, {
17066
17092
  event: c,
17067
- element: k(this).select("text"),
17068
- datum: k(this).select("text").datum()
17093
+ element: D(this).select("text"),
17094
+ datum: D(this).select("text").datum()
17069
17095
  });
17070
17096
  }).on("mouseout", function(c) {
17071
17097
  l.services.events.dispatchEvent(O.Axis.LABEL_MOUSEOUT, {
17072
17098
  event: c,
17073
- element: k(this).select("text"),
17074
- datum: k(this).select("text").datum()
17099
+ element: D(this).select("text"),
17100
+ datum: D(this).select("text").datum()
17075
17101
  }), a === Z.LABELS && l.services.events.dispatchEvent(O.Tooltip.HIDE);
17076
17102
  }).on("focus", function(c) {
17077
17103
  const u = { clientX: 0, clientY: 0 };
@@ -17082,20 +17108,20 @@ class TN extends r0 {
17082
17108
  }
17083
17109
  l.services.events.dispatchEvent(O.Axis.LABEL_FOCUS, {
17084
17110
  event: { ...c, ...u },
17085
- element: k(this),
17086
- datum: k(this).select("text").datum()
17111
+ element: D(this),
17112
+ datum: D(this).select("text").datum()
17087
17113
  });
17088
17114
  }).on("blur", function(c) {
17089
17115
  l.services.events.dispatchEvent(O.Axis.LABEL_BLUR, {
17090
17116
  event: c,
17091
- element: k(this),
17092
- datum: k(this).select("text").datum()
17117
+ element: D(this),
17118
+ datum: D(this).select("text").datum()
17093
17119
  });
17094
17120
  }).on("keydown", function(c) {
17095
17121
  c.key && c.key === "Escape" && (l.services.events.dispatchEvent(O.Tooltip.HIDE), l.services.events.dispatchEvent(O.Axis.LABEL_BLUR, {
17096
17122
  event: c,
17097
- element: k(this),
17098
- datum: k(this).select("text").datum()
17123
+ element: D(this),
17124
+ datum: D(this).select("text").datum()
17099
17125
  })), n === V.LEFT || n === V.RIGHT ? c.key && c.key === "ArrowUp" ? l.goNext(this, c) : c.key && c.key === "ArrowDown" && l.goPrevious(this, c) : c.key && c.key === "ArrowLeft" ? l.goPrevious(this, c) : c.key && c.key === "ArrowRight" && l.goNext(this, c);
17100
17126
  });
17101
17127
  }
@@ -17109,7 +17135,7 @@ class TN extends r0 {
17109
17135
  }
17110
17136
  destroy() {
17111
17137
  const t = this.getComponentContainer(), { position: n } = this.configs;
17112
- D.appendOrSelect(t, `g.axis.${n}`).selectAll("g.tick.tick-hover").on("mouseover", null).on("mousemove", null).on("mouseout", null).on("focus", null).on("blur", null);
17138
+ k.appendOrSelect(t, `g.axis.${n}`).selectAll("g.tick.tick-hover").on("mouseover", null).on("mousemove", null).on("mouseout", null).on("focus", null).on("blur", null);
17113
17139
  }
17114
17140
  }
17115
17141
  class he extends dt {
@@ -17140,9 +17166,9 @@ class he extends dt {
17140
17166
  });
17141
17167
  const s = {};
17142
17168
  Object.keys(this.children).forEach((a) => {
17143
- const o = this.children[a], l = o.configs.position, c = o.getInvisibleAxisRef(), { width: u, height: d } = D.getSVGElementSize(c, { useBBox: !0 });
17169
+ const o = this.children[a], l = o.configs.position, c = o.getInvisibleAxisRef(), { width: u, height: d } = k.getSVGElementSize(c, { useBBox: !0 });
17144
17170
  let h;
17145
- switch (o.getTitleRef().empty() ? h = 0 : (h = D.getSVGElementSize(o.getTitleRef(), {
17171
+ switch (o.getTitleRef().empty() ? h = 0 : (h = k.getSVGElementSize(o.getTitleRef(), {
17146
17172
  useBBox: !0
17147
17173
  }).height, (l === V.LEFT || l === V.RIGHT) && (h += 5)), l) {
17148
17174
  case V.TOP:
@@ -17209,11 +17235,11 @@ class se extends dt {
17209
17235
  this.xScale = Pe().domain([0, 1]).range(t), this.yScale = Pe().domain([0, 1]).range(n);
17210
17236
  }
17211
17237
  drawBackdrop(t) {
17212
- const n = this.parent, { width: r, height: i } = D.getSVGElementSize(n, {
17238
+ const n = this.parent, { width: r, height: i } = k.getSVGElementSize(n, {
17213
17239
  useAttrs: !0
17214
17240
  });
17215
- this.backdrop = D.appendOrSelect(n, "svg.chart-skeleton.DAII").attr("width", r).attr("height", i);
17216
- const s = D.appendOrSelect(this.backdrop, "rect.chart-skeleton-backdrop");
17241
+ this.backdrop = k.appendOrSelect(n, "svg.chart-skeleton.DAII").attr("width", r).attr("height", i);
17242
+ const s = k.appendOrSelect(this.backdrop, "rect.chart-skeleton-backdrop");
17217
17243
  s.attr("width", "100%").attr("height", "100%");
17218
17244
  const [a] = this.xScale.range(), [, o] = this.yScale.range();
17219
17245
  this.backdrop.merge(s).attr("x", a).attr("y", o), s.classed("shimmer-effect-lines", t).classed("empty-state-lines", !t).style(
@@ -17222,48 +17248,48 @@ class se extends dt {
17222
17248
  );
17223
17249
  }
17224
17250
  drawXGrid(t) {
17225
- const n = +this.backdrop.attr("width"), r = b(this.getOptions(), "grid", "x", "numberOfTicks"), i = this.xScale.ticks(r).map((o) => o * n), s = D.appendOrSelect(this.backdrop, "g.x.skeleton"), a = s.selectAll("line").data(i);
17251
+ const n = +this.backdrop.attr("width"), r = b(this.getOptions(), "grid", "x", "numberOfTicks"), i = this.xScale.ticks(r).map((o) => o * n), s = k.appendOrSelect(this.backdrop, "g.x.skeleton"), a = s.selectAll("line").data(i);
17226
17252
  a.enter().append("line").merge(a).attr("x1", (o) => o).attr("x2", (o) => o).attr("y1", 0).attr("y2", "100%"), s.selectAll("line").classed("shimmer-effect-lines", t).classed("empty-state-lines", !t).style(
17227
17253
  "stroke",
17228
17254
  t ? `url(#${this.services.domUtils.generateElementIDString("shimmer-lines")})` : null
17229
17255
  );
17230
17256
  }
17231
17257
  drawYGrid(t) {
17232
- const n = +this.backdrop.attr("height"), r = this.backdrop.attr("width"), i = b(this.getOptions(), "grid", "y", "numberOfTicks"), s = this.xScale.ticks(i).map((l) => l * n), a = D.appendOrSelect(this.backdrop, "g.y.skeleton"), o = a.selectAll("line").data(s);
17258
+ const n = +this.backdrop.attr("height"), r = this.backdrop.attr("width"), i = b(this.getOptions(), "grid", "y", "numberOfTicks"), s = this.xScale.ticks(i).map((l) => l * n), a = k.appendOrSelect(this.backdrop, "g.y.skeleton"), o = a.selectAll("line").data(s);
17233
17259
  o.enter().append("line").merge(o).attr("x1", 0).attr("x2", r).attr("y1", (l) => l).attr("y2", (l) => l), a.selectAll("line").classed("shimmer-effect-lines", t).classed("empty-state-lines", !t).style(
17234
17260
  "stroke",
17235
17261
  t ? `url(#${this.services.domUtils.generateElementIDString("shimmer-lines")})` : null
17236
17262
  );
17237
17263
  }
17238
17264
  drawRing(t, n, r = !0) {
17239
- const i = this.parent, { width: s, height: a } = D.getSVGElementSize(i, {
17265
+ const i = this.parent, { width: s, height: a } = k.getSVGElementSize(i, {
17240
17266
  useAttrs: !0
17241
- }), o = D.appendOrSelect(i, "svg.chart-skeleton").attr("width", s).attr("height", a), l = n === 0 ? "pie" : "donut", c = b(this.getOptions(), l, "alignment");
17242
- D.appendOrSelect(o, "rect.chart-skeleton-area-container").attr("width", s).attr("height", a).attr("fill", "none");
17243
- const u = Wi().innerRadius(n).outerRadius(t).startAngle(0).endAngle(Math.PI * 2), d = t + Math.abs(Ot.radiusOffset), h = t + (Math.min(s, a) - t * 2) / 2, f = D.appendOrSelect(o, "path").attr("class", "skeleton-area-shape").attr("transform", `translate(${d}, ${h})`).attr("d", u).classed("shimmer-effect-areas", r).classed("empty-state-areas", !r).style(
17267
+ }), o = k.appendOrSelect(i, "svg.chart-skeleton").attr("width", s).attr("height", a), l = n === 0 ? "pie" : "donut", c = b(this.getOptions(), l, "alignment");
17268
+ k.appendOrSelect(o, "rect.chart-skeleton-area-container").attr("width", s).attr("height", a).attr("fill", "none");
17269
+ const u = Wi().innerRadius(n).outerRadius(t).startAngle(0).endAngle(Math.PI * 2), d = t + Math.abs(Tt.radiusOffset), h = t + (Math.min(s, a) - t * 2) / 2, f = k.appendOrSelect(o, "path").attr("class", "skeleton-area-shape").attr("transform", `translate(${d}, ${h})`).attr("d", u).classed("shimmer-effect-areas", r).classed("empty-state-areas", !r).style(
17244
17270
  "fill",
17245
17271
  r ? `url(#${this.services.domUtils.generateElementIDString("shimmer-areas")})` : null
17246
17272
  );
17247
- let p = t + Ot.xOffset;
17248
- c === Ft.CENTER ? p = s / 2 : c === Ft.RIGHT && (p = s - t - Ot.xOffset);
17249
- const g = t + Ot.yOffset;
17273
+ let p = t + Tt.xOffset;
17274
+ c === Ft.CENTER ? p = s / 2 : c === Ft.RIGHT && (p = s - t - Tt.xOffset);
17275
+ const g = t + Tt.yOffset;
17250
17276
  f.attr("transform", `translate(${p}, ${g})`);
17251
17277
  }
17252
17278
  // same logic in pie
17253
17279
  computeOuterRadius() {
17254
- const { width: t, height: n } = D.getSVGElementSize(this.parent, {
17280
+ const { width: t, height: n } = k.getSVGElementSize(this.parent, {
17255
17281
  useAttrs: !0
17256
17282
  });
17257
- return Math.min(t, n) / 2 + Ot.radiusOffset;
17283
+ return Math.min(t, n) / 2 + Tt.radiusOffset;
17258
17284
  }
17259
17285
  // same logic in donut
17260
17286
  computeInnerRadius() {
17261
17287
  return this.computeOuterRadius() * (3 / 4);
17262
17288
  }
17263
17289
  setShimmerEffect(t) {
17264
- const n = "stop-bg-shimmer", r = "stop-shimmer", i = this.parent.select(".chart-skeleton"), { width: s } = D.getSVGElementSize(this.parent, {
17290
+ const n = "stop-bg-shimmer", r = "stop-shimmer", i = this.parent.select(".chart-skeleton"), { width: s } = k.getSVGElementSize(this.parent, {
17265
17291
  useAttrs: !0
17266
- }), a = 0, o = s, l = D.appendOrSelect(i, "defs").lower(), c = D.appendOrSelect(l, "linearGradient").attr("id", this.services.domUtils.generateElementIDString(t)).attr("class", t).attr("x1", a - 3 * 0.2 * s).attr("x2", o).attr("y1", 0).attr("y2", 0).attr("gradientUnits", "userSpaceOnUse").attr("gradientTransform", "translate(0, 0)"), u = `
17292
+ }), a = 0, o = s, l = k.appendOrSelect(i, "defs").lower(), c = k.appendOrSelect(l, "linearGradient").attr("id", this.services.domUtils.generateElementIDString(t)).attr("class", t).attr("x1", a - 3 * 0.2 * s).attr("x2", o).attr("y1", 0).attr("y2", 0).attr("gradientUnits", "userSpaceOnUse").attr("gradientTransform", "translate(0, 0)"), u = `
17267
17293
  <stop class="${n}" offset="${a}"></stop>
17268
17294
  <stop class="${r}" offset="${a + 0.2}"></stop>
17269
17295
  <stop class="${n}" offset="${a + 2 * 0.2}"></stop>
@@ -17417,8 +17443,8 @@ class MN extends dt {
17417
17443
  addBoxEventListeners() {
17418
17444
  const t = this, n = this.getOptions(), { groupMapsTo: r } = n.data;
17419
17445
  this.parent.selectAll("path.highlight-area").on("mouseover", function(i, s) {
17420
- const a = k(this);
17421
- k(this.parentNode).select("path.box").classed("hovered", !0).attr("fill-opacity", _e.box.opacity.hovered), t.services.events.dispatchEvent(O.Tooltip.SHOW, {
17446
+ const a = D(this);
17447
+ D(this.parentNode).select("path.box").classed("hovered", !0).attr("fill-opacity", _e.box.opacity.hovered), t.services.events.dispatchEvent(O.Tooltip.SHOW, {
17422
17448
  event: i,
17423
17449
  hoveredElement: a,
17424
17450
  items: [
@@ -17460,7 +17486,7 @@ class MN extends dt {
17460
17486
  datum: s
17461
17487
  });
17462
17488
  }).on("mousemove", function(i, s) {
17463
- const a = k(this);
17489
+ const a = D(this);
17464
17490
  t.services.events.dispatchEvent(O.Boxplot.BOX_MOUSEMOVE, {
17465
17491
  event: i,
17466
17492
  element: a,
@@ -17471,12 +17497,12 @@ class MN extends dt {
17471
17497
  }).on("click", function(i, s) {
17472
17498
  t.services.events.dispatchEvent(O.Boxplot.BOX_CLICK, {
17473
17499
  event: i,
17474
- element: k(this),
17500
+ element: D(this),
17475
17501
  datum: s
17476
17502
  });
17477
17503
  }).on("mouseout", function(i, s) {
17478
- const a = k(this);
17479
- k(this.parentNode).select("path.box").classed("hovered", !1).attr("fill-opacity", _e.box.opacity.default), t.services.events.dispatchEvent(O.Boxplot.BOX_MOUSEOUT, {
17504
+ const a = D(this);
17505
+ D(this.parentNode).select("path.box").classed("hovered", !1).attr("fill-opacity", _e.box.opacity.default), t.services.events.dispatchEvent(O.Boxplot.BOX_MOUSEOUT, {
17480
17506
  event: i,
17481
17507
  element: a,
17482
17508
  datum: s
@@ -17488,7 +17514,7 @@ class MN extends dt {
17488
17514
  addCircleEventListeners() {
17489
17515
  const t = this, n = this.getOptions(), { groupMapsTo: r } = n.data, i = this.services.cartesianScales.getRangeIdentifier();
17490
17516
  this.parent.selectAll("circle").on("mouseover", function(s, a) {
17491
- const o = k(this);
17517
+ const o = D(this);
17492
17518
  o.classed("hovered", !0).attr("fill-opacity", _e.circle.opacity.hovered).classed("unfilled", !1), t.services.events.dispatchEvent(O.Tooltip.SHOW, {
17493
17519
  event: s,
17494
17520
  hoveredElement: o,
@@ -17511,7 +17537,7 @@ class MN extends dt {
17511
17537
  datum: a
17512
17538
  });
17513
17539
  }).on("mousemove", function(s, a) {
17514
- const o = k(this);
17540
+ const o = D(this);
17515
17541
  t.services.events.dispatchEvent(O.Boxplot.OUTLIER_MOUSEMOVE, {
17516
17542
  event: s,
17517
17543
  element: o,
@@ -17522,11 +17548,11 @@ class MN extends dt {
17522
17548
  }).on("click", function(s, a) {
17523
17549
  t.services.events.dispatchEvent(O.Boxplot.OUTLIER_CLICK, {
17524
17550
  event: s,
17525
- element: k(this),
17551
+ element: D(this),
17526
17552
  datum: a
17527
17553
  });
17528
17554
  }).on("mouseout", function(s, a) {
17529
- const o = k(this);
17555
+ const o = D(this);
17530
17556
  o.classed("hovered", !1).attr("fill-opacity", _e.circle.opacity.default), t.services.events.dispatchEvent(O.Boxplot.OUTLIER_MOUSEOUT, {
17531
17557
  event: s,
17532
17558
  element: o,
@@ -17561,7 +17587,7 @@ class ti extends dt {
17561
17587
  },
17562
17588
  this.services.cartesianScales.getOrientation()
17563
17589
  );
17564
- D.appendOrSelect(o, "line.domain").transition().call(
17590
+ k.appendOrSelect(o, "line.domain").transition().call(
17565
17591
  (h) => this.services.transitions.setupTransition({
17566
17592
  transition: h,
17567
17593
  name: "zero-line-update",
@@ -17575,7 +17601,7 @@ class CN extends Ze {
17575
17601
  super(...arguments), this.type = "bubble", this.renderType = K.SVG;
17576
17602
  }
17577
17603
  getRadiusScale(t) {
17578
- const n = this.getOptions(), { radiusMapsTo: r } = n.bubble, i = t.data(), s = i.map((c) => c[r]).filter((c) => c), a = D.getHTMLElementSize(this.services.domUtils.getMainContainer()), o = s.length > 0, l = o ? Re(s) : [1, 1];
17604
+ const n = this.getOptions(), { radiusMapsTo: r } = n.bubble, i = t.data(), s = i.map((c) => c[r]).filter((c) => c), a = k.getHTMLElementSize(this.services.domUtils.getMainContainer()), o = s.length > 0, l = o ? Re(s) : [1, 1];
17579
17605
  return Pe().domain(l).range(o ? n.bubble.radiusRange(a, i) : [4, 4]);
17580
17606
  }
17581
17607
  styleCircles(t, n) {
@@ -17656,7 +17682,7 @@ class AN extends dt {
17656
17682
  order: 1
17657
17683
  });
17658
17684
  });
17659
- const m = D.appendOrSelect(i, "g.range-boxes").selectAll("path.range-box").data(g, (v) => `${v[r]}-${v.order}`);
17685
+ const m = k.appendOrSelect(i, "g.range-boxes").selectAll("path.range-box").data(g, (v) => `${v[r]}-${v.order}`);
17660
17686
  m.exit().attr("opacity", 0).remove(), m.enter().append("path").attr("opacity", 0).merge(m).attr("class", (v) => `range-box order-${v.order}`).transition().call(
17661
17687
  (v) => this.services.transitions.setupTransition({
17662
17688
  transition: v,
@@ -17671,7 +17697,7 @@ class AN extends dt {
17671
17697
  );
17672
17698
  }).attr("opacity", 1);
17673
17699
  }, h = () => {
17674
- const g = D.appendOrSelect(i, "g.bars").selectAll("path.bar").data(s, (m) => m[r]);
17700
+ const g = k.appendOrSelect(i, "g.bars").selectAll("path.bar").data(s, (m) => m[r]);
17675
17701
  g.exit().attr("opacity", 0).remove(), g.enter().append("path").attr("opacity", 0).merge(g).classed("bar", !0).transition().call(
17676
17702
  (m) => this.services.transitions.setupTransition({
17677
17703
  transition: m,
@@ -17693,7 +17719,7 @@ class AN extends dt {
17693
17719
  );
17694
17720
  }).attr("opacity", 1).attr("role", ot.GRAPHICS_SYMBOL).attr("aria-roledescription", "bar").attr("aria-label", (m) => m.value);
17695
17721
  }, f = () => {
17696
- const g = D.appendOrSelect(i, "g.markers").selectAll("path.marker").data(
17722
+ const g = k.appendOrSelect(i, "g.markers").selectAll("path.marker").data(
17697
17723
  s.filter((m) => b(m, "marker") !== null),
17698
17724
  (m) => m[r]
17699
17725
  );
@@ -17720,7 +17746,7 @@ class AN extends dt {
17720
17746
  { datum: v, value: x * 0.75, barValue: y }
17721
17747
  ]);
17722
17748
  });
17723
- const m = D.appendOrSelect(i, "g.quartiles").selectAll("path.quartile").data(g, (v) => v[r]);
17749
+ const m = k.appendOrSelect(i, "g.quartiles").selectAll("path.quartile").data(g, (v) => v[r]);
17724
17750
  m.exit().attr("opacity", 0).remove(), m.enter().append("path").attr("opacity", 0).merge(m).attr("class", (v) => `quartile ${v.value <= v.barValue ? "over-bar" : ""}`).transition().call(
17725
17751
  (v) => this.services.transitions.setupTransition({
17726
17752
  transition: v,
@@ -17742,7 +17768,7 @@ class AN extends dt {
17742
17768
  addEventListeners() {
17743
17769
  const t = this, n = this.getOptions(), { groupMapsTo: r } = n.data, i = this.services.cartesianScales.getRangeIdentifier();
17744
17770
  this.parent.selectAll("path.bar").on("mouseover", function(s, a) {
17745
- const o = k(this);
17771
+ const o = D(this);
17746
17772
  o.classed("hovered", !0), t.services.events.dispatchEvent(O.Bar.BAR_MOUSEOVER, {
17747
17773
  event: s,
17748
17774
  element: o,
@@ -17782,7 +17808,7 @@ class AN extends dt {
17782
17808
  }).on("mousemove", function(s, a) {
17783
17809
  t.services.events.dispatchEvent(O.Bar.BAR_MOUSEMOVE, {
17784
17810
  event: s,
17785
- element: k(this),
17811
+ element: D(this),
17786
17812
  datum: a
17787
17813
  }), t.services.events.dispatchEvent(O.Tooltip.MOVE, {
17788
17814
  event: s
@@ -17790,11 +17816,11 @@ class AN extends dt {
17790
17816
  }).on("click", function(s, a) {
17791
17817
  t.services.events.dispatchEvent(O.Bar.BAR_CLICK, {
17792
17818
  event: s,
17793
- element: k(this),
17819
+ element: D(this),
17794
17820
  datum: a
17795
17821
  });
17796
17822
  }).on("mouseout", function(s, a) {
17797
- const o = k(this);
17823
+ const o = D(this);
17798
17824
  o.classed("hovered", !1), t.services.events.dispatchEvent(O.Bar.BAR_MOUSEOUT, {
17799
17825
  event: s,
17800
17826
  element: o,
@@ -18011,15 +18037,15 @@ class UN extends Nn {
18011
18037
  showRuler(t, [n, r]) {
18012
18038
  const i = this.parent, s = this.model.getOptions(), { cartesianScales: a } = this.services, o = a.getOrientation(), l = a.getRangeScale(), [c, u] = l.range(), d = a.getDomainScale(), h = d.invert(
18013
18039
  o === jt.VERTICAL ? n : r
18014
- ), f = D.appendOrSelect(i, "g.ruler").attr("aria-label", "ruler"), p = D.appendOrSelect(f, "line.ruler-line"), g = i.selectAll("[role=graphics-symbol]").filter((m) => {
18015
- if (parseFloat(Tt(m, "data.x0")) <= h && parseFloat(Tt(m, "data.x1")) >= h)
18040
+ ), f = k.appendOrSelect(i, "g.ruler").attr("aria-label", "ruler"), p = k.appendOrSelect(f, "line.ruler-line"), g = i.selectAll("[role=graphics-symbol]").filter((m) => {
18041
+ if (parseFloat(Mt(m, "data.x0")) <= h && parseFloat(Mt(m, "data.x1")) >= h)
18016
18042
  return !0;
18017
18043
  });
18018
18044
  if (g.size() > 0) {
18019
18045
  this.elementsToHighlight && this.elementsToHighlight.size() > 0 && !Hv(this.elementsToHighlight, g) && this.hideRuler(), g.dispatch("mouseover"), this.elementsToHighlight = g;
18020
- const m = k(g.nodes()[0]).datum(), v = parseFloat(Tt(m, "data.x0")), x = parseFloat(Tt(m, "data.x1")), y = this.model.getActiveDataGroupNames(), w = y.reverse().map((_) => ({
18046
+ const m = D(g.nodes()[0]).datum(), v = parseFloat(Mt(m, "data.x0")), x = parseFloat(Mt(m, "data.x1")), y = this.model.getActiveDataGroupNames(), w = y.reverse().map((_) => ({
18021
18047
  label: _,
18022
- value: Tt(m, `data.${_}`),
18048
+ value: Mt(m, `data.${_}`),
18023
18049
  class: this.model.getColorClassName({
18024
18050
  classNameTypes: [nt.TOOLTIP],
18025
18051
  dataGroupName: _
@@ -18031,15 +18057,15 @@ class UN extends Nn {
18031
18057
  hoveredElement: p,
18032
18058
  items: [
18033
18059
  {
18034
- label: Tt(s, "bins.rangeLabel") || "Range",
18060
+ label: Mt(s, "bins.rangeLabel") || "Range",
18035
18061
  value: `${v} – ${x}`
18036
18062
  },
18037
18063
  ...w,
18038
18064
  ...b(s, "tooltip", "showTotal") === !0 ? [
18039
18065
  {
18040
- label: Tt(s, "tooltip.totalLabel") || "Total",
18066
+ label: Mt(s, "tooltip.totalLabel") || "Total",
18041
18067
  value: y.reduce(
18042
- (S, T) => S + parseFloat(Tt(m, `data.${T}`)),
18068
+ (S, T) => S + parseFloat(Mt(m, `data.${T}`)),
18043
18069
  0
18044
18070
  )
18045
18071
  }
@@ -18062,13 +18088,13 @@ class Va extends Nn {
18062
18088
  class i0 extends _u {
18063
18089
  constructor(t, n, r) {
18064
18090
  super(t, n, r), this.type = "color-legend", this.renderType = K.SVG, this.gradient_id = `gradient-id-${Math.floor(Math.random() * 99999999999)}`, this.handleAxisCompleteEvent = () => {
18065
- const i = this.getComponentContainer(), { width: s } = D.getSVGElementSize(i, {
18091
+ const i = this.getComponentContainer(), { width: s } = k.getSVGElementSize(i, {
18066
18092
  useAttrs: !0
18067
18093
  }), a = b(this.getOptions(), "data", "loading");
18068
18094
  if (s > Rt.color.barWidth && !a) {
18069
18095
  const o = b(this.getOptions(), "heatmap", "colorLegend", "title"), { cartesianScales: l } = this.services, c = l.getMainXScale().range();
18070
18096
  if (c[0] > 1 && (i.select("g.legend").attr("transform", `translate(${c[0]}, 0)`), o)) {
18071
- const { width: u } = D.getSVGElementSize(
18097
+ const { width: u } = k.getSVGElementSize(
18072
18098
  i.select("g.legend-title").select("text"),
18073
18099
  { useBBox: !0 }
18074
18100
  ), d = c[0] - u - 9;
@@ -18085,7 +18111,7 @@ class i0 extends _u {
18085
18111
  // @ts-ignore
18086
18112
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
18087
18113
  render(t = !1) {
18088
- const n = this.getOptions(), r = this.getComponentContainer(), { width: i } = D.getSVGElementSize(r, {
18114
+ const n = this.getOptions(), r = this.getComponentContainer(), { width: i } = k.getSVGElementSize(r, {
18089
18115
  useAttrs: !0
18090
18116
  }), s = b(n, "color", "gradient", "colors"), a = b(n, this.chartType, "colorLegend", "type");
18091
18117
  let o = b(n, "color", "pairing", "option");
@@ -18094,10 +18120,10 @@ class i0 extends _u {
18094
18120
  r.html("");
18095
18121
  return;
18096
18122
  }
18097
- const c = !De(s), u = cv(this.model.getDisplayData()), d = !(i <= Rt.color.barWidth), h = d ? Rt.color.barWidth : i, f = D.appendOrSelect(r, "g.legend"), p = D.appendOrSelect(f, "g.legend-axis");
18123
+ const c = !De(s), u = cv(this.model.getDisplayData()), d = !(i <= Rt.color.barWidth), h = d ? Rt.color.barWidth : i, f = k.appendOrSelect(r, "g.legend"), p = k.appendOrSelect(f, "g.legend-axis");
18098
18124
  if (l) {
18099
- const T = D.appendOrSelect(r, "g.legend-title");
18100
- D.appendOrSelect(T, "text").text(l).attr("dy", "0.7em"), f.attr("transform", "translate(0, 16)");
18125
+ const T = k.appendOrSelect(r, "g.legend-title");
18126
+ k.appendOrSelect(T, "text").text(l).attr("dy", "0.7em"), f.attr("transform", "translate(0, 16)");
18101
18127
  }
18102
18128
  const g = u[0] < 0 && u[1] > 0 ? "diverge" : "mono";
18103
18129
  (o < 1 && o > 4 && g === "mono" || o < 1 && o > 2 && g === "diverge") && (o = 1);
@@ -18136,7 +18162,7 @@ class i0 extends _u {
18136
18162
  // Renders gradient legend
18137
18163
  drawLinear(t, n, r) {
18138
18164
  const i = 100 / (t.length - 1);
18139
- D.appendOrSelect(n, "linearGradient").attr("id", `${this.gradient_id}-legend`).selectAll("stop").data(t).enter().append("stop").attr("offset", (s, a) => `${a * i}%`).attr("class", (s, a) => t[a]).attr("stop-color", (s) => s), D.appendOrSelect(n, "rect").attr("width", r).attr("height", Rt.color.barHeight).style("fill", `url(#${this.gradient_id}-legend)`);
18165
+ k.appendOrSelect(n, "linearGradient").attr("id", `${this.gradient_id}-legend`).selectAll("stop").data(t).enter().append("stop").attr("offset", (s, a) => `${a * i}%`).attr("class", (s, a) => t[a]).attr("stop-color", (s) => s), k.appendOrSelect(n, "rect").attr("width", r).attr("height", Rt.color.barHeight).style("fill", `url(#${this.gradient_id}-legend)`);
18140
18166
  }
18141
18167
  /**
18142
18168
  * Renders quantized legend
@@ -18145,7 +18171,7 @@ class i0 extends _u {
18145
18171
  drawQuantize(t, n, r, i, s) {
18146
18172
  !r && n === "diverge" && t.splice(t.length / 2, 1);
18147
18173
  const a = rs().domain(t).range([0, s]);
18148
- return D.appendOrSelect(i, "g.quantized-rect").selectAll("rect").data(a.domain()).join("rect").attr("x", (o) => a(o)).attr("y", 0).attr("width", Math.max(0, a.bandwidth() - 1)).attr("height", Rt.color.barHeight).attr("class", (o) => o).attr("fill", (o) => o), (!r && n) === "mono" ? a.bandwidth() - 1 : 0;
18174
+ return k.appendOrSelect(i, "g.quantized-rect").selectAll("rect").data(a.domain()).join("rect").attr("x", (o) => a(o)).attr("y", 0).attr("width", Math.max(0, a.bandwidth() - 1)).attr("height", Rt.color.barHeight).attr("class", (o) => o).attr("fill", (o) => o), (!r && n) === "mono" ? a.bandwidth() - 1 : 0;
18149
18175
  }
18150
18176
  destroy() {
18151
18177
  this.chartType === "heatmap" && this.services.events.removeEventListener(O.Axis.RENDER_COMPLETE, this.handleAxisCompleteEvent);
@@ -18167,7 +18193,7 @@ class BN extends ds {
18167
18193
  l.enter().append("text").classed("meter-title", !0).merge(l).attr("x", 0).attr("y", "1em").text((c) => c), l.exit().remove(), this.appendPercentage();
18168
18194
  }
18169
18195
  this.displayStatus();
18170
- const a = this.getMaxTitleWidth(), o = D.appendOrSelect(i, "text.meter-title");
18196
+ const a = this.getMaxTitleWidth(), o = k.appendOrSelect(i, "text.meter-title");
18171
18197
  a > 0 && o.node().getComputedTextLength() > a && this.truncateTitle(o, a);
18172
18198
  }
18173
18199
  displayBreakdownTitle() {
@@ -18186,12 +18212,12 @@ class BN extends ds {
18186
18212
  }
18187
18213
  const o = t.selectAll("text.proportional-meter-title").data([a]);
18188
18214
  o.enter().append("text").classed("proportional-meter-title", !0).merge(o).attr("x", 0).attr("y", "1em").text((u) => u), o.exit().remove();
18189
- const l = this.getMaxTitleWidth(), c = D.appendOrSelect(t, "text.proportional-meter-title");
18215
+ const l = this.getMaxTitleWidth(), c = k.appendOrSelect(t, "text.proportional-meter-title");
18190
18216
  l > 0 && c.node().getComputedTextLength() > l && this.truncateTitle(c, l);
18191
18217
  }
18192
18218
  // show the total for prop meter
18193
18219
  displayTotal() {
18194
- const t = this.getComponentContainer(), n = this.getOptions(), r = b(n, "meter", "proportional", "total"), i = r ? b(n, "meter", "proportional", "total") : this.model.getMaximumDomain(this.model.getDisplayData()), s = b(n, "meter", "proportional", "unit") ? b(n, "meter", "proportional", "unit") : "", a = b(n, "meter", "proportional", "totalFormatter"), o = a !== null ? a(i) : `${r} ${s} total`, l = D.getHTMLElementSize(this.services.domUtils.getMainContainer()), c = l.width ? l.width : this.parent.node().getAttribute("width"), u = t.selectAll("text.proportional-meter-total").data([o]);
18220
+ const t = this.getComponentContainer(), n = this.getOptions(), r = b(n, "meter", "proportional", "total"), i = r ? b(n, "meter", "proportional", "total") : this.model.getMaximumDomain(this.model.getDisplayData()), s = b(n, "meter", "proportional", "unit") ? b(n, "meter", "proportional", "unit") : "", a = b(n, "meter", "proportional", "totalFormatter"), o = a !== null ? a(i) : `${r} ${s} total`, l = k.getHTMLElementSize(this.services.domUtils.getMainContainer()), c = l.width ? l.width : this.parent.node().getAttribute("width"), u = t.selectAll("text.proportional-meter-total").data([o]);
18195
18221
  u.enter().append("text").classed("proportional-meter-total", !0).merge(u).attr(
18196
18222
  "x",
18197
18223
  this.model.getStatus() && typeof c != "string" ? c - Yt.total.paddingRight : c
@@ -18201,9 +18227,9 @@ class BN extends ds {
18201
18227
  * Appends the corresponding status based on the value and the peak.
18202
18228
  */
18203
18229
  displayStatus() {
18204
- const t = this, n = this.getComponentContainer(), r = D.getHTMLElementSize(
18230
+ const t = this, n = this.getComponentContainer(), r = k.getHTMLElementSize(
18205
18231
  this.services.domUtils.getMainContainer()
18206
- ), i = r.width ? r.width : 0, s = this.model.getStatus(), a = Yt.status.indicatorSize / 2, o = D.appendOrSelect(n, "g.status-indicator").attr("class", s !== null ? `status-indicator status--${s}` : "").attr("transform", `translate(${i - a}, 0)`), l = s ? [s] : [], c = o.selectAll("circle.status").data(l);
18232
+ ), i = r.width ? r.width : 0, s = this.model.getStatus(), a = Yt.status.indicatorSize / 2, o = k.appendOrSelect(n, "g.status-indicator").attr("class", s !== null ? `status-indicator status--${s}` : "").attr("transform", `translate(${i - a}, 0)`), l = s ? [s] : [], c = o.selectAll("circle.status").data(l);
18207
18233
  c.enter().append("circle").merge(c).attr("class", "status").attr("r", a).attr("cx", 0).attr("cy", 8);
18208
18234
  const u = o.selectAll("path.innerFill").data(l);
18209
18235
  u.enter().append("path").merge(u).attr("d", t.getStatusIconPathString(s)).attr("transform", `translate(-${a}, 0)`).attr("class", "innerFill"), u.exit().remove(), c.exit().remove();
@@ -18212,7 +18238,7 @@ class BN extends ds {
18212
18238
  * Appends the associated percentage to the end of the title
18213
18239
  */
18214
18240
  appendPercentage() {
18215
- const t = b(this.model.getDisplayData(), 0, "value"), n = this.getComponentContainer(), r = D.appendOrSelect(n, "text.meter-title"), i = b(this.getOptions(), "meter", "statusBar", "percentageIndicator", "enabled") === !0 ? [t] : [], s = n.selectAll("text.percent-value").data(i), a = Yt.statusBar.paddingRight;
18241
+ const t = b(this.model.getDisplayData(), 0, "value"), n = this.getComponentContainer(), r = k.appendOrSelect(n, "text.meter-title"), i = b(this.getOptions(), "meter", "statusBar", "percentageIndicator", "enabled") === !0 ? [t] : [], s = n.selectAll("text.percent-value").data(i), a = Yt.statusBar.paddingRight;
18216
18242
  s.enter().append("text").classed("percent-value", !0).merge(s).text((o) => `${o}%`).attr("x", +r.attr("x") + r.node().getComputedTextLength() + a).attr("y", r.attr("y")), s.exit().remove();
18217
18243
  }
18218
18244
  /**
@@ -18223,22 +18249,22 @@ class BN extends ds {
18223
18249
  */
18224
18250
  truncateTitle(t, n) {
18225
18251
  super.truncateTitle(t, n);
18226
- const r = D.appendOrSelect(this.parent, "tspan"), i = Yt.statusBar.paddingRight, s = Math.ceil(r.node().getComputedTextLength());
18227
- D.appendOrSelect(this.parent, "text.percent-value").attr(
18252
+ const r = k.appendOrSelect(this.parent, "tspan"), i = Yt.statusBar.paddingRight, s = Math.ceil(r.node().getComputedTextLength());
18253
+ k.appendOrSelect(this.parent, "text.percent-value").attr(
18228
18254
  "x",
18229
18255
  +t.attr("x") + t.node().getComputedTextLength() + s + i
18230
18256
  );
18231
18257
  }
18232
18258
  // computes the maximum space a title can take
18233
18259
  getMaxTitleWidth() {
18234
- const t = D.getHTMLElementSize(this.services.domUtils.getMainContainer()), n = b(this.getOptions(), "meter", "proportional"), r = t.width ? t.width : this.parent.node().getBoundingClientRect().width;
18260
+ const t = k.getHTMLElementSize(this.services.domUtils.getMainContainer()), n = b(this.getOptions(), "meter", "proportional"), r = t.width ? t.width : this.parent.node().getBoundingClientRect().width;
18235
18261
  if (n !== null) {
18236
- const i = D.appendOrSelect(this.parent, "text.proportional-meter-total").node(), s = D.getSVGElementSize(i, {
18262
+ const i = k.appendOrSelect(this.parent, "text.proportional-meter-total").node(), s = k.getSVGElementSize(i, {
18237
18263
  useBBox: !0
18238
18264
  }).width;
18239
18265
  return r - s - Yt.total.paddingLeft;
18240
18266
  } else {
18241
- const i = D.appendOrSelect(this.parent, "text.percent-value"), s = Yt.statusBar.paddingRight, a = i.node().getComputedTextLength(), o = D.appendOrSelect(this.parent, "g.status-indicator").node(), l = D.getSVGElementSize(o, { useBBox: !0 }).width + Yt.status.paddingLeft;
18267
+ const i = k.appendOrSelect(this.parent, "text.percent-value"), s = Yt.statusBar.paddingRight, a = i.node().getComputedTextLength(), o = k.appendOrSelect(this.parent, "g.status-indicator").node(), l = k.getSVGElementSize(o, { useBBox: !0 }).width + Yt.status.paddingLeft;
18242
18268
  return r - a - s - l;
18243
18269
  }
18244
18270
  }
@@ -18263,7 +18289,7 @@ class Ou extends dt {
18263
18289
  const t = this.getOptions();
18264
18290
  if (t.bars.width)
18265
18291
  return t.bars.width;
18266
- const n = this.model.getDisplayData().length, r = this.services.cartesianScales.getMainXScale(), i = D.getSVGElementSize(this.parent, {
18292
+ const n = this.model.getDisplayData().length, r = this.services.cartesianScales.getMainXScale(), i = k.getSVGElementSize(this.parent, {
18267
18293
  useAttrs: !0
18268
18294
  }).width;
18269
18295
  if (!r.step) {
@@ -18306,7 +18332,7 @@ class HN extends dt {
18306
18332
  // @ts-ignore
18307
18333
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
18308
18334
  render(t = !0) {
18309
- const n = this.getComponentContainer({ withinChartClip: !0 }), { width: r, height: i } = D.getSVGElementSize(this.parent, {
18335
+ const n = this.getComponentContainer({ withinChartClip: !0 }), { width: r, height: i } = k.getSVGElementSize(this.parent, {
18310
18336
  useAttrs: !0
18311
18337
  });
18312
18338
  if (r < 1 || i < 1)
@@ -18349,10 +18375,10 @@ class HN extends dt {
18349
18375
  t.addEventListener(O.Legend.ITEM_HOVER, this.handleLegendOnHover), t.addEventListener(O.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
18350
18376
  }
18351
18377
  removeBackgroundListeners() {
18352
- k(this.services.domUtils.getMainContainer()).on("click", () => null);
18378
+ D(this.services.domUtils.getMainContainer()).on("click", () => null);
18353
18379
  }
18354
18380
  setBackgroundListeners() {
18355
- const t = k(this.services.domUtils.getMainContainer()), n = this, r = this.parent.selectAll("circle.node");
18381
+ const t = D(this.services.domUtils.getMainContainer()), n = this, r = this.parent.selectAll("circle.node");
18356
18382
  t.on("click", () => {
18357
18383
  n.focal = null, n.model.updateHierarchyLevel(2), t.classed("zoomed-in", !1), n.services.canvasZoom.zoomOut(r, kr);
18358
18384
  });
@@ -18369,7 +18395,7 @@ class HN extends dt {
18369
18395
  addEventListeners() {
18370
18396
  const t = this;
18371
18397
  this.parent.selectAll("circle.node").on("mouseover", function(n, r) {
18372
- const i = k(this);
18398
+ const i = D(this);
18373
18399
  i.classed("hovered", !0);
18374
18400
  const s = t.model.getHierarchyLevel(), a = s > 2 && !i.classed("focal"), o = b(t.model.getOptions(), "canvasZoom", "enabled");
18375
18401
  let l = !1;
@@ -18390,7 +18416,7 @@ class HN extends dt {
18390
18416
  const f = t.model.getOptions();
18391
18417
  u = [
18392
18418
  {
18393
- label: Tt(f, "tooltip.totalLabel") || "Total",
18419
+ label: Mt(f, "tooltip.totalLabel") || "Total",
18394
18420
  value: r.value,
18395
18421
  bold: !0
18396
18422
  }
@@ -18419,7 +18445,7 @@ class HN extends dt {
18419
18445
  datum: r
18420
18446
  });
18421
18447
  }).on("mousemove", function(n, r) {
18422
- const i = k(this);
18448
+ const i = D(this);
18423
18449
  t.services.events.dispatchEvent(O.CirclePack.CIRCLE_MOUSEMOVE, {
18424
18450
  event: n,
18425
18451
  element: i,
@@ -18428,7 +18454,7 @@ class HN extends dt {
18428
18454
  event: n
18429
18455
  });
18430
18456
  }).on("mouseout", function(n, r) {
18431
- const i = k(this);
18457
+ const i = D(this);
18432
18458
  i.classed("hovered", !1), r.children && t.unhighlightChildren(r.children), t.services.events.dispatchEvent(O.CirclePack.CIRCLE_MOUSEOUT, {
18433
18459
  event: n,
18434
18460
  element: i,
@@ -18437,13 +18463,13 @@ class HN extends dt {
18437
18463
  hoveredElement: i
18438
18464
  });
18439
18465
  }).on("click", function(n, r) {
18440
- const i = k(this), s = i.classed("non-focal"), a = b(t.model.getOptions(), "canvasZoom", "enabled");
18466
+ const i = D(this), s = i.classed("non-focal"), a = b(t.model.getOptions(), "canvasZoom", "enabled");
18441
18467
  if (a && t.model.getHierarchyLevel() > 2) {
18442
18468
  const o = t.parent.selectAll("circle.node");
18443
- k(t.services.domUtils.getMainContainer()).classed("zoomed-in", !1), t.focal = null, t.model.updateHierarchyLevel(2), t.services.canvasZoom.zoomOut(o, kr);
18469
+ D(t.services.domUtils.getMainContainer()).classed("zoomed-in", !1), t.focal = null, t.model.updateHierarchyLevel(2), t.services.canvasZoom.zoomOut(o, kr);
18444
18470
  } else if (r.depth === 2 && r.children && !s && a) {
18445
18471
  const o = t.parent.selectAll("circle.node");
18446
- k(t.services.domUtils.getMainContainer()).classed("zoomed-in", !0), t.focal = r, t.model.updateHierarchyLevel(3), t.services.canvasZoom.zoomIn(r, o, kr), n.stopPropagation();
18472
+ D(t.services.domUtils.getMainContainer()).classed("zoomed-in", !0), t.focal = r, t.model.updateHierarchyLevel(3), t.services.canvasZoom.zoomIn(r, o, kr), n.stopPropagation();
18447
18473
  }
18448
18474
  t.services.events.dispatchEvent(O.CirclePack.CIRCLE_CLICK, {
18449
18475
  event: n,
@@ -18489,12 +18515,12 @@ class s0 extends dt {
18489
18515
  t.addEventListener(O.Legend.ITEM_HOVER, this.handleLegendOnHover), t.addEventListener(O.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
18490
18516
  }
18491
18517
  getInnerRadius() {
18492
- return Ot.innerRadius;
18518
+ return Tt.innerRadius;
18493
18519
  }
18494
18520
  render(t = !0) {
18495
18521
  const n = this, r = this.getComponentContainer(), i = this.getOptions(), { groupMapsTo: s } = i.data, { valueMapsTo: a } = i.pie, o = this.model.getDisplayData().filter((T) => T[a] > 0), l = this.computeRadius();
18496
- this.arc = Wi().innerRadius(this.getInnerRadius()).outerRadius(l), this.hoverArc = Wi().innerRadius(this.getInnerRadius()).outerRadius(l + Ot.hoverArc.outerRadiusOffset);
18497
- const c = PS().value((T) => T[a]).sort(b(i, "pie", "sortFunction")).padAngle(Ot.padAngle)(o), u = D.appendOrSelect(r, "g.slices").attr("role", ot.GROUP).attr("data-name", "slices").selectAll("path.slice").data(c, (T) => T.data[s]);
18522
+ this.arc = Wi().innerRadius(this.getInnerRadius()).outerRadius(l), this.hoverArc = Wi().innerRadius(this.getInnerRadius()).outerRadius(l + Tt.hoverArc.outerRadiusOffset);
18523
+ const c = PS().value((T) => T[a]).sort(b(i, "pie", "sortFunction")).padAngle(Tt.padAngle)(o), u = k.appendOrSelect(r, "g.slices").attr("role", ot.GROUP).attr("data-name", "slices").selectAll("path.slice").data(c, (T) => T.data[s]);
18498
18524
  u.exit().attr("opacity", 0).remove(), u.enter().append("path").classed("slice", !0).attr("opacity", 0).merge(u).attr(
18499
18525
  "class",
18500
18526
  (T) => this.model.getColorClassName({
@@ -18514,7 +18540,7 @@ class s0 extends dt {
18514
18540
  ).attrTween("d", function(T) {
18515
18541
  return VN.bind(this)(T, n.arc);
18516
18542
  });
18517
- const d = i.pie.labels.enabled, h = d ? c.filter((T) => T.data[a] > 0) : [], f = D.appendOrSelect(r, "g.labels").attr("role", ot.GROUP).attr("data-name", "labels").selectAll("text.pie-label").data(h, (T) => T.data[s]);
18543
+ const d = i.pie.labels.enabled, h = d ? c.filter((T) => T.data[a] > 0) : [], f = k.appendOrSelect(r, "g.labels").attr("role", ot.GROUP).attr("data-name", "labels").selectAll("text.pie-label").data(h, (T) => T.data[s]);
18518
18544
  f.exit().attr("opacity", 0).remove();
18519
18545
  const p = f.enter().append("text").classed("pie-label", !0), g = [];
18520
18546
  p.merge(f).style("text-anchor", "middle").text((T) => i.pie.labels.formatter ? i.pie.labels.formatter({
@@ -18530,22 +18556,22 @@ class s0 extends dt {
18530
18556
  return T.textOffsetX = C / 2, T.textOffsetY = $ > 90 && $ < 270 ? 10 : 0, T.xPosition = (T.textOffsetX + R) * Math.sin(P), T.yPosition = (T.textOffsetY + R) * -Math.cos(P), T;
18531
18557
  }).attr("transform", function(T, R) {
18532
18558
  const P = h.length, $ = (T.endAngle - T.startAngle) * (180 / Math.PI);
18533
- if (R >= P - 2 && $ < Ot.callout.minSliceDegree) {
18559
+ if (R >= P - 2 && $ < Tt.callout.minSliceDegree) {
18534
18560
  let C, H;
18535
- return T.index === P - 1 ? (C = T.xPosition + Ot.callout.offsetX + Ot.callout.textMargin + T.textOffsetX, H = T.yPosition - Ot.callout.offsetY, T.direction = Rs.RIGHT, g.push(T)) : (C = T.xPosition - Ot.callout.offsetX - T.textOffsetX - Ot.callout.textMargin, H = T.yPosition - Ot.callout.offsetY, T.direction = Rs.LEFT, g.push(T)), `translate(${C}, ${H})`;
18561
+ return T.index === P - 1 ? (C = T.xPosition + Tt.callout.offsetX + Tt.callout.textMargin + T.textOffsetX, H = T.yPosition - Tt.callout.offsetY, T.direction = Rs.RIGHT, g.push(T)) : (C = T.xPosition - Tt.callout.offsetX - T.textOffsetX - Tt.callout.textMargin, H = T.yPosition - Tt.callout.offsetY, T.direction = Rs.LEFT, g.push(T)), `translate(${C}, ${H})`;
18536
18562
  }
18537
18563
  return `translate(${T.xPosition}, ${T.yPosition})`;
18538
18564
  }), this.renderCallouts(g);
18539
- const m = b(i, "donut") ? "donut" : "pie", v = b(i, m, "alignment"), { width: x } = D.getSVGElementSize(this.getParent(), {
18565
+ const m = b(i, "donut") ? "donut" : "pie", v = b(i, m, "alignment"), { width: x } = k.getSVGElementSize(this.getParent(), {
18540
18566
  useAttrs: !0
18541
- }), y = d ? Ot.xOffset : 0, w = d ? Ot.yOffset : 0;
18567
+ }), y = d ? Tt.xOffset : 0, w = d ? Tt.yOffset : 0;
18542
18568
  let _ = l + y;
18543
- v === Ft.CENTER ? _ = x / 2 : v === Ft.RIGHT && (_ = x - l - Ot.xOffset);
18569
+ v === Ft.CENTER ? _ = x / 2 : v === Ft.RIGHT && (_ = x - l - Tt.xOffset);
18544
18570
  let S = l + w;
18545
- g.length > 0 && (S += Ot.yOffsetCallout), r.attr("x", _ + 7).attr("y", S), this.addEventListeners();
18571
+ g.length > 0 && (S += Tt.yOffsetCallout), r.attr("x", _ + 7).attr("y", S), this.addEventListeners();
18546
18572
  }
18547
18573
  renderCallouts(t) {
18548
- const n = D.appendOrSelect(this.getComponentContainer(), "g.callouts").attr("role", ot.GROUP).attr("data-name", "callouts"), r = n.selectAll("g.callout").data(t);
18574
+ const n = k.appendOrSelect(this.getComponentContainer(), "g.callouts").attr("role", ot.GROUP).attr("data-name", "callouts"), r = n.selectAll("g.callout").data(t);
18549
18575
  r.exit().remove();
18550
18576
  const i = r.enter().append("g").classed("callout", !0).attr("role", ot.GROUP).attr("aria-roledescription", "label callout");
18551
18577
  i.merge(r).datum(function(s) {
@@ -18554,25 +18580,25 @@ class s0 extends dt {
18554
18580
  x: a,
18555
18581
  y: o + s.textOffsetY
18556
18582
  }, s.endPos = {
18557
- x: a + Ot.callout.offsetX,
18558
- y: o - Ot.callout.offsetY + s.textOffsetY
18559
- }, s.intersectPointX = s.endPos.x - Ot.callout.horizontalLineLength) : (s.startPos = {
18583
+ x: a + Tt.callout.offsetX,
18584
+ y: o - Tt.callout.offsetY + s.textOffsetY
18585
+ }, s.intersectPointX = s.endPos.x - Tt.callout.horizontalLineLength) : (s.startPos = {
18560
18586
  x: a,
18561
18587
  y: o + s.textOffsetY
18562
18588
  }, s.endPos = {
18563
- x: a - Ot.callout.offsetX,
18564
- y: o - Ot.callout.offsetY + s.textOffsetY
18565
- }, s.intersectPointX = s.endPos.x + Ot.callout.horizontalLineLength), s;
18589
+ x: a - Tt.callout.offsetX,
18590
+ y: o - Tt.callout.offsetY + s.textOffsetY
18591
+ }, s.intersectPointX = s.endPos.x + Tt.callout.horizontalLineLength), s;
18566
18592
  }), i.append("line").classed("vertical-line", !0).merge(n.selectAll("line.vertical-line")).datum(function() {
18567
- return k(this.parentNode).datum();
18593
+ return D(this.parentNode).datum();
18568
18594
  }).style("stroke-width", "1px").attr("x1", (s) => s.startPos.x).attr("y1", (s) => s.startPos.y).attr("x2", (s) => s.intersectPointX).attr("y2", (s) => s.endPos.y), i.append("line").classed("horizontal-line", !0).merge(n.selectAll("line.horizontal-line")).datum(function() {
18569
- return k(this.parentNode).datum();
18595
+ return D(this.parentNode).datum();
18570
18596
  }).style("stroke-width", "1px").attr("x1", (s) => s.intersectPointX).attr("y1", (s) => s.endPos.y).attr("x2", (s) => s.endPos.x).attr("y2", (s) => s.endPos.y);
18571
18597
  }
18572
18598
  addEventListeners() {
18573
18599
  const t = this;
18574
18600
  this.parent.selectAll("path.slice").on("mouseover", function(n, r) {
18575
- const i = k(this);
18601
+ const i = D(this);
18576
18602
  i.classed("hovered", !0).transition("pie_slice_mouseover").call(
18577
18603
  (o) => t.services.transitions.setupTransition({
18578
18604
  transition: o,
@@ -18580,7 +18606,7 @@ class s0 extends dt {
18580
18606
  })
18581
18607
  ).attr("d", t.hoverArc), t.services.events.dispatchEvent(O.Pie.SLICE_MOUSEOVER, {
18582
18608
  event: n,
18583
- element: k(this),
18609
+ element: D(this),
18584
18610
  datum: r
18585
18611
  });
18586
18612
  const { groupMapsTo: s } = t.getOptions().data, { valueMapsTo: a } = t.getOptions().pie;
@@ -18595,7 +18621,7 @@ class s0 extends dt {
18595
18621
  ]
18596
18622
  });
18597
18623
  }).on("mousemove", function(n, r) {
18598
- const i = k(this);
18624
+ const i = D(this);
18599
18625
  t.services.events.dispatchEvent(O.Pie.SLICE_MOUSEMOVE, {
18600
18626
  event: n,
18601
18627
  element: i,
@@ -18606,11 +18632,11 @@ class s0 extends dt {
18606
18632
  }).on("click", function(n, r) {
18607
18633
  t.services.events.dispatchEvent(O.Pie.SLICE_CLICK, {
18608
18634
  event: n,
18609
- element: k(this),
18635
+ element: D(this),
18610
18636
  datum: r
18611
18637
  });
18612
18638
  }).on("mouseout", function(n, r) {
18613
- const i = k(this);
18639
+ const i = D(this);
18614
18640
  i.classed("hovered", !1).transition("pie_slice_mouseout").call(
18615
18641
  (s) => t.services.transitions.setupTransition({
18616
18642
  transition: s,
@@ -18627,10 +18653,10 @@ class s0 extends dt {
18627
18653
  }
18628
18654
  // Helper functions
18629
18655
  computeRadius() {
18630
- const { width: t, height: n } = D.getSVGElementSize(this.parent, {
18656
+ const { width: t, height: n } = k.getSVGElementSize(this.parent, {
18631
18657
  useAttrs: !0
18632
18658
  }), r = this.getOptions(), i = Math.min(t, n) / 2;
18633
- return r.pie.labels.enabled ? i + Ot.radiusOffset : i;
18659
+ return r.pie.labels.enabled ? i + Tt.radiusOffset : i;
18634
18660
  }
18635
18661
  }
18636
18662
  class FN extends s0 {
@@ -18644,16 +18670,16 @@ class FN extends s0 {
18644
18670
  this.getComponentContainer().select("g.center").remove();
18645
18671
  return;
18646
18672
  }
18647
- const r = D.appendOrSelect(this.getComponentContainer(), "g.center"), i = this.getOptions(), s = this.computeRadius(), a = b(i, "donut", "center", "label");
18648
- D.appendOrSelect(r, "text.donut-figure").attr("text-anchor", "middle").style("dominant-baseline", () => a === null || a === "" ? "central" : "initial").style("font-size", () => i.donut.center.numberFontSize(s)).transition().call(
18673
+ const r = k.appendOrSelect(this.getComponentContainer(), "g.center"), i = this.getOptions(), s = this.computeRadius(), a = b(i, "donut", "center", "label");
18674
+ k.appendOrSelect(r, "text.donut-figure").attr("text-anchor", "middle").style("dominant-baseline", () => a === null || a === "" ? "central" : "initial").style("font-size", () => i.donut.center.numberFontSize(s)).transition().call(
18649
18675
  (o) => this.services.transitions.setupTransition({
18650
18676
  transition: o,
18651
18677
  name: "donut-figure-enter-update",
18652
18678
  animate: t
18653
18679
  })
18654
18680
  ).tween("text", function() {
18655
- return n.centerNumberTween(k(this));
18656
- }), a !== null && a !== "" && D.appendOrSelect(r, "text.donut-title").attr("text-anchor", "middle").style("font-size", () => i.donut.center.titleFontSize(s)).attr("y", i.donut.center.titleYPosition(s)).text(a);
18681
+ return n.centerNumberTween(D(this));
18682
+ }), a !== null && a !== "" && k.appendOrSelect(r, "text.donut-title").attr("text-anchor", "middle").style("font-size", () => i.donut.center.titleFontSize(s)).attr("y", i.donut.center.titleYPosition(s)).text(a);
18657
18683
  }
18658
18684
  getInnerRadius() {
18659
18685
  return this.computeRadius() * (3 / 4);
@@ -18716,7 +18742,7 @@ class GN extends dt {
18716
18742
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
18717
18743
  render(t = !0) {
18718
18744
  const n = this.getComponentContainer().attr("width", "100%").attr("height", "100%"), r = this.getOptions(), i = this.getValue(), s = this.getValueRatio(), a = this.getArcSize(), o = this.getStartAngle(), l = s * a, c = o + l, u = o + a, d = this.computeRadius(), h = this.getInnerRadius();
18719
- this.backgroundArc = Wi().innerRadius(h).outerRadius(d).startAngle(c).endAngle(u), this.arc = Wi().innerRadius(h).outerRadius(d).startAngle(o).endAngle(c), D.appendOrSelect(n, "path.arc-background").attr("d", this.backgroundArc);
18745
+ this.backgroundArc = Wi().innerRadius(h).outerRadius(d).startAngle(c).endAngle(u), this.arc = Wi().innerRadius(h).outerRadius(d).startAngle(o).endAngle(c), k.appendOrSelect(n, "path.arc-background").attr("d", this.backgroundArc);
18720
18746
  const f = n.selectAll("path.arc-foreground").data([i]);
18721
18747
  f.enter().append("path").merge(f).attr(
18722
18748
  "class",
@@ -18726,7 +18752,7 @@ class GN extends dt {
18726
18752
  originalClassName: "arc-foreground"
18727
18753
  })
18728
18754
  ).style("fill", () => b(this.getOptions(), "color", "scale", "value")).attr("d", this.arc).attr("role", ot.GRAPHICS_SYMBOL).attr("aria-roledescription", "value").attr("aria-label", (v) => v), this.drawValueNumber(), this.drawDelta(), f.exit().remove();
18729
- const p = b(r, "gauge", "alignment"), { width: g } = D.getSVGElementSize(this.getParent(), {
18755
+ const p = b(r, "gauge", "alignment"), { width: g } = k.getSVGElementSize(this.getParent(), {
18730
18756
  useAttrs: !0
18731
18757
  });
18732
18758
  let m = d;
@@ -18739,15 +18765,15 @@ class GN extends dt {
18739
18765
  const t = this.getComponentContainer(), n = this.getOptions(), r = b(n, "gauge", "type"), i = this.getValue(), s = this.getDelta(), a = this.computeRadius(), o = b(n, "gauge", "valueFontSize"), l = b(n, "gauge", "deltaFontSize"), c = b(n, "gauge", "numberSpacing"), u = b(n, "gauge", "showPercentageSymbol");
18740
18766
  let d = 0;
18741
18767
  r === Cr.FULL && !s ? d = l(a) : r === Cr.SEMI && s && (d = -(l(a) + c));
18742
- const h = D.appendOrSelect(t, "g.gauge-numbers").attr(
18768
+ const h = k.appendOrSelect(t, "g.gauge-numbers").attr(
18743
18769
  "transform",
18744
18770
  `translate(0, ${d})`
18745
- ), f = o(a), p = D.appendOrSelect(h, "g.gauge-value-number"), g = b(n, "gauge", "numberFormatter"), m = p.selectAll("text.gauge-value-number").data([i]);
18771
+ ), f = o(a), p = k.appendOrSelect(h, "g.gauge-value-number"), g = b(n, "gauge", "numberFormatter"), m = p.selectAll("text.gauge-value-number").data([i]);
18746
18772
  m.enter().append("text").attr("class", "gauge-value-number").merge(m).style("font-size", `${f}px`).attr("text-anchor", "middle").text((T) => g(T));
18747
- const { width: v } = D.getSVGElementSize(
18748
- D.appendOrSelect(t, "text.gauge-value-number"),
18773
+ const { width: v } = k.getSVGElementSize(
18774
+ k.appendOrSelect(t, "text.gauge-value-number"),
18749
18775
  { useBBox: !0 }
18750
- ), x = f / 2, y = u ? "%" : "", w = D.appendOrSelect(p, "text.gauge-value-symbol").style("font-size", `${x}px`).attr("x", v / 2).text(y), { width: _, height: S } = D.getSVGElementSize(w, {
18776
+ ), x = f / 2, y = u ? "%" : "", w = k.appendOrSelect(p, "text.gauge-value-symbol").style("font-size", `${x}px`).attr("x", v / 2).text(y), { width: _, height: S } = k.getSVGElementSize(w, {
18751
18777
  useBBox: !0
18752
18778
  });
18753
18779
  w.attr("y", `-${S / 2}px`), p.attr("transform", `translate(-${_ / 2}, 0)`);
@@ -18758,20 +18784,20 @@ class GN extends dt {
18758
18784
  drawDelta() {
18759
18785
  const t = this, n = this.getComponentContainer(), r = this.getOptions(), i = this.getDelta();
18760
18786
  if (i) {
18761
- const s = this.computeRadius(), a = i ? b(r, "gauge", "deltaFontSize") : () => 0, o = i ? b(r, "gauge", "numberFormatter") : () => null, l = b(r, "gauge", "deltaArrow", "size"), c = b(r, "gauge", "numberSpacing"), u = b(r, "gauge", "showPercentageSymbol"), d = D.appendOrSelect(n, "g.gauge-numbers"), h = D.appendOrSelect(d, "g.gauge-delta").attr(
18787
+ const s = this.computeRadius(), a = i ? b(r, "gauge", "deltaFontSize") : () => 0, o = i ? b(r, "gauge", "numberFormatter") : () => null, l = b(r, "gauge", "deltaArrow", "size"), c = b(r, "gauge", "numberSpacing"), u = b(r, "gauge", "showPercentageSymbol"), d = k.appendOrSelect(n, "g.gauge-numbers"), h = k.appendOrSelect(d, "g.gauge-delta").attr(
18762
18788
  "transform",
18763
18789
  `translate(0, ${a(s) + c})`
18764
- ), f = D.appendOrSelect(h, "text.gauge-delta-number"), p = u ? "%" : "";
18790
+ ), f = k.appendOrSelect(h, "text.gauge-delta-number"), p = u ? "%" : "";
18765
18791
  f.data(i === null ? [] : [i]), f.enter().append("text").classed("gauge-delta-number", !0).merge(f).attr("text-anchor", "middle").style("font-size", `${a(s)}px`).text((x) => `${o(x)}${p}`);
18766
- const { width: g } = D.getSVGElementSize(
18767
- D.appendOrSelect(n, ".gauge-delta-number"),
18792
+ const { width: g } = k.getSVGElementSize(
18793
+ k.appendOrSelect(n, ".gauge-delta-number"),
18768
18794
  { useBBox: !0 }
18769
18795
  ), m = b(r, "gauge", "deltaArrow", "enabled"), v = h.selectAll("svg.gauge-delta-arrow").data(i !== null && m ? [i] : []);
18770
18796
  v.enter().append("svg").merge(v).attr("class", "gauge-delta-arrow").attr("x", -l(s) - g / 2).attr("y", -l(s) / 2 - a(s) * 0.35).attr("width", l(s)).attr("height", l(s)).attr("viewBox", "0 0 16 16").each(function() {
18771
- const x = k(this);
18772
- D.appendOrSelect(x, "rect.gauge-delta-arrow-backdrop").attr("width", "16").attr("height", "16").attr("fill", "none");
18797
+ const x = D(this);
18798
+ k.appendOrSelect(x, "rect.gauge-delta-arrow-backdrop").attr("width", "16").attr("height", "16").attr("fill", "none");
18773
18799
  const y = b(r, "gauge", "status");
18774
- D.appendOrSelect(x, "polygon.gauge-delta-arrow").attr("class", y !== null ? `gauge-delta-arrow status--${y}` : "").attr("points", t.getArrow(i));
18800
+ k.appendOrSelect(x, "polygon.gauge-delta-arrow").attr("class", y !== null ? `gauge-delta-arrow status--${y}` : "").attr("points", t.getArrow(i));
18775
18801
  }), v.exit().remove(), f.exit().remove();
18776
18802
  } else {
18777
18803
  const s = n.select("g.gauge-delta");
@@ -18787,11 +18813,11 @@ class GN extends dt {
18787
18813
  this.parent.selectAll("path.arc-foreground").on("mouseover", function(n, r) {
18788
18814
  t.services.events.dispatchEvent(O.Gauge.ARC_MOUSEOVER, {
18789
18815
  event: n,
18790
- element: k(this),
18816
+ element: D(this),
18791
18817
  datum: r
18792
18818
  });
18793
18819
  }).on("mousemove", function(n, r) {
18794
- const i = k(this);
18820
+ const i = D(this);
18795
18821
  t.services.events.dispatchEvent(O.Gauge.ARC_MOUSEMOVE, {
18796
18822
  event: n,
18797
18823
  element: i,
@@ -18800,11 +18826,11 @@ class GN extends dt {
18800
18826
  }).on("click", function(n, r) {
18801
18827
  t.services.events.dispatchEvent(O.Gauge.ARC_CLICK, {
18802
18828
  event: n,
18803
- element: k(this),
18829
+ element: D(this),
18804
18830
  datum: r
18805
18831
  });
18806
18832
  }).on("mouseout", function(n, r) {
18807
- const i = k(this);
18833
+ const i = D(this);
18808
18834
  t.services.events.dispatchEvent(O.Gauge.ARC_MOUSEOUT, {
18809
18835
  event: n,
18810
18836
  element: i,
@@ -18814,7 +18840,7 @@ class GN extends dt {
18814
18840
  }
18815
18841
  // Helper functions
18816
18842
  computeRadius() {
18817
- const t = this.getOptions(), n = b(t, "gauge", "type"), { width: r, height: i } = D.getSVGElementSize(this.parent, {
18843
+ const t = this.getOptions(), n = b(t, "gauge", "type"), { width: r, height: i } = k.getSVGElementSize(this.parent, {
18818
18844
  useAttrs: !0
18819
18845
  });
18820
18846
  return n === Cr.SEMI ? Math.min(r / 2, i) : Math.min(r / 2, i / 2);
@@ -18893,7 +18919,7 @@ class a0 extends Ou {
18893
18919
  addEventListeners() {
18894
18920
  const t = this;
18895
18921
  this.parent.selectAll("path.bar").on("mouseover", function(n, r) {
18896
- const i = k(this);
18922
+ const i = D(this);
18897
18923
  i.classed("hovered", !0), t.services.events.dispatchEvent(O.Bar.BAR_MOUSEOVER, {
18898
18924
  event: n,
18899
18925
  element: i,
@@ -18904,7 +18930,7 @@ class a0 extends Ou {
18904
18930
  data: [r]
18905
18931
  });
18906
18932
  }).on("mousemove", function(n, r) {
18907
- const i = k(this);
18933
+ const i = D(this);
18908
18934
  t.services.events.dispatchEvent(O.Bar.BAR_MOUSEMOVE, {
18909
18935
  event: n,
18910
18936
  element: i,
@@ -18915,11 +18941,11 @@ class a0 extends Ou {
18915
18941
  }).on("click", function(n, r) {
18916
18942
  t.services.events.dispatchEvent(O.Bar.BAR_CLICK, {
18917
18943
  event: n,
18918
- element: k(this),
18944
+ element: D(this),
18919
18945
  datum: r
18920
18946
  });
18921
18947
  }).on("mouseout", function(n, r) {
18922
- const i = k(this);
18948
+ const i = D(this);
18923
18949
  i.classed("hovered", !1), t.services.events.dispatchEvent(O.Bar.BAR_MOUSEOUT, {
18924
18950
  event: n,
18925
18951
  element: i,
@@ -19011,7 +19037,7 @@ class zN extends dt {
19011
19037
  }
19012
19038
  })), l(r) !== void 0 ? this.parent.select("g.multi-cell.column-highlight").classed("highlighter-hidden", !1).attr("transform", `translate(${l(r)}, ${Rn(c.range())})`) : c(r) !== void 0 && this.parent.select("g.multi-cell.row-highlight").classed("highlighter-hidden", !1).attr("transform", `translate(${Rn(l.range())},${c(r)})`), this.services.events.dispatchEvent(O.Tooltip.SHOW, {
19013
19039
  event: n.event,
19014
- hoveredElement: k(t.detail.element),
19040
+ hoveredElement: D(t.detail.element),
19015
19041
  items: [
19016
19042
  {
19017
19043
  label: u,
@@ -19083,17 +19109,17 @@ class zN extends dt {
19083
19109
  * @param yBandwidth - y length
19084
19110
  */
19085
19111
  createOuterBox(t, n, r) {
19086
- const i = D.appendOrSelect(this.parent, t).classed("shadows", !0).classed("highlighter-hidden", !0);
19087
- D.appendOrSelect(i, "line.top").attr("x1", -1).attr("x2", n + 1), D.appendOrSelect(i, "line.left").attr("x1", 0).attr("y1", -1).attr("x2", 0).attr("y2", r + 1), D.appendOrSelect(i, "line.down").attr("x1", -1).attr("x2", n + 1).attr("y1", r).attr("y2", r), D.appendOrSelect(i, "line.right").attr("x1", n).attr("x2", n).attr("y1", -1).attr("y2", r + 1);
19112
+ const i = k.appendOrSelect(this.parent, t).classed("shadows", !0).classed("highlighter-hidden", !0);
19113
+ k.appendOrSelect(i, "line.top").attr("x1", -1).attr("x2", n + 1), k.appendOrSelect(i, "line.left").attr("x1", 0).attr("y1", -1).attr("x2", 0).attr("y2", r + 1), k.appendOrSelect(i, "line.down").attr("x1", -1).attr("x2", n + 1).attr("y1", r).attr("y2", r), k.appendOrSelect(i, "line.right").attr("x1", n).attr("x2", n).attr("y1", -1).attr("y2", r + 1);
19088
19114
  }
19089
19115
  determineDividerStatus() {
19090
19116
  const t = b(this.getOptions(), "heatmap", "divider", "state");
19091
19117
  return t !== $i.OFF && (t === $i.AUTO && Zd.minCellDividerDimension <= this.xBandwidth && Zd.minCellDividerDimension <= this.yBandwidth || t === $i.ON);
19092
19118
  }
19093
19119
  addEventListener() {
19094
- const t = this, { cartesianScales: n } = this.services, r = this.getOptions(), i = Tt(r, "tooltip.totalLabel"), s = n.getDomainIdentifier(), a = n.getRangeIdentifier(), o = n.getDomainLabel(), l = n.getRangeLabel();
19120
+ const t = this, { cartesianScales: n } = this.services, r = this.getOptions(), i = Mt(r, "tooltip.totalLabel"), s = n.getDomainIdentifier(), a = n.getRangeIdentifier(), o = n.getDomainLabel(), l = n.getRangeLabel();
19095
19121
  this.parent.selectAll("g.cell").on("mouseover", function(c, u) {
19096
- const d = k(this), h = d.select("rect.heat");
19122
+ const d = D(this), h = d.select("rect.heat");
19097
19123
  if (!h.classed("null-state")) {
19098
19124
  const f = Oi(d.attr("transform"));
19099
19125
  t.parent.select("g.cell-highlight").attr(
@@ -19125,7 +19151,7 @@ class zN extends dt {
19125
19151
  }).on("mousemove", function(c, u) {
19126
19152
  t.services.events.dispatchEvent(O.Heatmap.HEATMAP_MOUSEMOVE, {
19127
19153
  event: c,
19128
- element: k(this),
19154
+ element: D(this),
19129
19155
  datum: u
19130
19156
  }), t.services.events.dispatchEvent(O.Tooltip.MOVE, {
19131
19157
  event: c
@@ -19133,11 +19159,11 @@ class zN extends dt {
19133
19159
  }).on("click", function(c, u) {
19134
19160
  t.services.events.dispatchEvent(O.Heatmap.HEATMAP_CLICK, {
19135
19161
  event: c,
19136
- element: k(this),
19162
+ element: D(this),
19137
19163
  datum: u
19138
19164
  });
19139
19165
  }).on("mouseout", function(c, u) {
19140
- const d = k(this).select("rect.heat"), h = d.classed("null-state");
19166
+ const d = D(this).select("rect.heat"), h = d.classed("null-state");
19141
19167
  t.parent.select("g.cell-highlight").classed("highlighter-hidden", !0), h || (t.services.events.dispatchEvent(O.Heatmap.HEATMAP_MOUSEOUT, {
19142
19168
  event: c,
19143
19169
  element: d,
@@ -19179,7 +19205,7 @@ class jN extends dt {
19179
19205
  t.addEventListener(O.Legend.ITEM_HOVER, this.handleLegendOnHover), t.addEventListener(O.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
19180
19206
  }
19181
19207
  render(t) {
19182
- const n = this.getComponentContainer(), r = this.model.getOptions(), { groupIdentifier: i } = r, { groupMapsTo: s } = r.data, a = this.model.getBinnedStackedData(), o = this.services.cartesianScales.getMainXScale(), l = n.selectAll("g.bars").data(a, (u) => Tt(u, `0.${s}`));
19208
+ const n = this.getComponentContainer(), r = this.model.getOptions(), { groupIdentifier: i } = r, { groupMapsTo: s } = r.data, a = this.model.getBinnedStackedData(), o = this.services.cartesianScales.getMainXScale(), l = n.selectAll("g.bars").data(a, (u) => Mt(u, `0.${s}`));
19183
19209
  l.exit().attr("opacity", 0).remove(), l.enter().append("g").classed("bars", !0).attr("role", ot.GROUP);
19184
19210
  const c = n.selectAll("g.bars").selectAll("path.bar").data((u) => u);
19185
19211
  c.exit().remove(), c.enter().append("path").merge(c).classed("bar", !0).attr(i, (u, d) => d).transition().call(
@@ -19196,7 +19222,7 @@ class jN extends dt {
19196
19222
  originalClassName: "bar"
19197
19223
  })
19198
19224
  ).style("fill", (u) => this.model.getFillColor(u[s])).attr("d", (u) => {
19199
- const d = Tt(u, "data");
19225
+ const d = Mt(u, "data");
19200
19226
  if (!d)
19201
19227
  return;
19202
19228
  const h = o(d.x1) - o(d.x0) - 1, f = this.services.cartesianScales.getDomainValue(d.x0), p = f + h, g = this.services.cartesianScales.getRangeValue(u[0]);
@@ -19210,15 +19236,15 @@ class jN extends dt {
19210
19236
  addEventListeners() {
19211
19237
  const t = this.model.getOptions(), { groupMapsTo: n } = t.data, r = this;
19212
19238
  this.parent.selectAll("path.bar").on("mouseover", function(i, s) {
19213
- const a = k(this);
19239
+ const a = D(this);
19214
19240
  a.classed("hovered", !0);
19215
- const o = parseFloat(Tt(s, "data.x0")), l = parseFloat(Tt(s, "data.x1")), c = r.services.cartesianScales.getRangeAxisPosition(), u = r.services.cartesianScales.getScaleLabel(c);
19241
+ const o = parseFloat(Mt(s, "data.x0")), l = parseFloat(Mt(s, "data.x1")), c = r.services.cartesianScales.getRangeAxisPosition(), u = r.services.cartesianScales.getScaleLabel(c);
19216
19242
  r.services.events.dispatchEvent(O.Tooltip.SHOW, {
19217
19243
  event: i,
19218
19244
  hoveredElement: a,
19219
19245
  items: [
19220
19246
  {
19221
- label: Tt(t, "bins.rangeLabel") || "Range",
19247
+ label: Mt(t, "bins.rangeLabel") || "Range",
19222
19248
  value: `${o} – ${l}`
19223
19249
  },
19224
19250
  {
@@ -19231,7 +19257,7 @@ class jN extends dt {
19231
19257
  },
19232
19258
  {
19233
19259
  label: u,
19234
- value: Tt(s, `data.${s[n]}`)
19260
+ value: Mt(s, `data.${s[n]}`)
19235
19261
  }
19236
19262
  ]
19237
19263
  });
@@ -19240,7 +19266,7 @@ class jN extends dt {
19240
19266
  event: i
19241
19267
  });
19242
19268
  }).on("mouseout", function() {
19243
- k(this).classed("hovered", !1), r.services.events.dispatchEvent(O.Tooltip.HIDE);
19269
+ D(this).classed("hovered", !1), r.services.events.dispatchEvent(O.Tooltip.HIDE);
19244
19270
  });
19245
19271
  }
19246
19272
  destroy() {
@@ -19338,16 +19364,16 @@ class qN extends dt {
19338
19364
  }));
19339
19365
  }
19340
19366
  render(t = !0) {
19341
- const n = this, r = this.getComponentContainer(), i = this.getOptions(), s = b(i, "meter", "proportional"), a = this.model.getDisplayData(), o = this.model.getStatus(), { width: l } = D.getSVGElementSize(r, {
19367
+ const n = this, r = this.getComponentContainer(), i = this.getOptions(), s = b(i, "meter", "proportional"), a = this.model.getDisplayData(), o = this.model.getStatus(), { width: l } = k.getSVGElementSize(r, {
19342
19368
  useAttrs: !0
19343
19369
  }), { groupMapsTo: c } = i.data;
19344
19370
  let u;
19345
19371
  b(i, "meter", "proportional") === null ? u = 100 : u = b(i, "meter", "proportional", "total") || this.model.getMaximumDomain(this.model.getDisplayData());
19346
19372
  const d = Pe().domain([0, u]).range([0, l]), h = this.getStackedBounds(a, d), f = b(i, "meter", "height");
19347
- D.appendOrSelect(r, "rect.container").attr("x", 0).attr("y", 0).attr("width", l).attr(
19373
+ k.appendOrSelect(r, "rect.container").attr("x", 0).attr("y", 0).attr("width", l).attr(
19348
19374
  "height",
19349
19375
  f || (s ? Yt.height.proportional : Yt.height.default)
19350
- ), D.appendOrSelect(r, "line.rangeIndicator").attr("x1", l).attr("x2", l).attr("y1", 0).attr(
19376
+ ), k.appendOrSelect(r, "line.rangeIndicator").attr("x1", l).attr("x2", l).attr("y1", 0).attr(
19351
19377
  "y2",
19352
19378
  f || (s ? Yt.height.proportional : Yt.height.default)
19353
19379
  );
@@ -19382,7 +19408,7 @@ class qN extends dt {
19382
19408
  addEventListeners() {
19383
19409
  const t = this.getOptions(), { groupMapsTo: n } = t.data, r = this, i = b(t, "meter", "proportional");
19384
19410
  this.parent.selectAll("rect.value").on("mouseover", function(s, a) {
19385
- const o = k(this);
19411
+ const o = D(this);
19386
19412
  r.services.events.dispatchEvent(O.Meter.METER_MOUSEOVER, {
19387
19413
  event: s,
19388
19414
  element: o,
@@ -19398,7 +19424,7 @@ class qN extends dt {
19398
19424
  ]
19399
19425
  }));
19400
19426
  }).on("mousemove", function(s, a) {
19401
- const o = k(this);
19427
+ const o = D(this);
19402
19428
  r.services.events.dispatchEvent(O.Meter.METER_MOUSEMOVE, {
19403
19429
  event: s,
19404
19430
  element: o,
@@ -19409,11 +19435,11 @@ class qN extends dt {
19409
19435
  }).on("click", function(s, a) {
19410
19436
  r.services.events.dispatchEvent(O.Meter.METER_CLICK, {
19411
19437
  event: s,
19412
- element: k(this),
19438
+ element: D(this),
19413
19439
  datum: a
19414
19440
  });
19415
19441
  }).on("mouseout", function(s, a) {
19416
- const o = k(this);
19442
+ const o = D(this);
19417
19443
  r.services.events.dispatchEvent(O.Meter.METER_MOUSEOUT, {
19418
19444
  event: s,
19419
19445
  element: o,
@@ -19430,7 +19456,7 @@ class qN extends dt {
19430
19456
  class YN extends dt {
19431
19457
  constructor() {
19432
19458
  super(...arguments), this.type = "radar", this.renderType = K.SVG, this.getLabelDimensions = (t) => {
19433
- const n = D.appendOrSelect(this.getComponentContainer(), "g.tmp-tick"), r = D.appendOrSelect(n, "text").text(t), { width: i, height: s } = D.getSVGElementSize(r.node(), { useBBox: !0 });
19459
+ const n = k.appendOrSelect(this.getComponentContainer(), "g.tmp-tick"), r = k.appendOrSelect(n, "text").text(t), { width: i, height: s } = k.getSVGElementSize(r.node(), { useBBox: !0 });
19434
19460
  return n.remove(), { width: i, height: s };
19435
19461
  }, this.normalizeFlatData = (t) => {
19436
19462
  const n = this.getOptions(), { angle: r, value: i } = b(n, "radar", "axes"), s = b(n, "data", "groupMapsTo"), a = NR(
@@ -19473,7 +19499,7 @@ class YN extends dt {
19473
19499
  t.addEventListener(O.Legend.ITEM_HOVER, this.handleLegendOnHover), t.addEventListener(O.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
19474
19500
  }
19475
19501
  render(t = !0) {
19476
- const n = this.getComponentContainer(), { width: r, height: i } = D.getSVGElementSize(n, {
19502
+ const n = this.getComponentContainer(), { width: r, height: i } = k.getSVGElementSize(n, {
19477
19503
  useAttrs: !0
19478
19504
  }), s = this.model.getData(), a = this.model.getGroupedData(), o = this.getOptions(), l = b(o, "data", "groupMapsTo"), c = b(o, "radar", "axes", "value"), { angle: u, value: d } = b(o, "radar", "axes"), { xLabelPadding: h, yLabelPadding: f, yTicksNumber: p, minRange: g, xAxisRectHeight: m } = Bn;
19479
19505
  this.uniqueKeys = Array.from(new Set(s.map((M) => M[u]))), this.uniqueGroups = Array.from(new Set(s.map((M) => M[l]))), this.fullDataNormalized = this.normalizeFlatData(s), this.groupedDataNormalized = this.normalizeGroupedData(a);
@@ -19492,7 +19518,7 @@ class YN extends dt {
19492
19518
  }), $ = {
19493
19519
  x: Zn(P) + h,
19494
19520
  y: i / 2
19495
- }, C = D.appendOrSelect(n, "g.y-axes").attr("role", ot.GROUP).selectAll("path").data(S, (M) => M), H = (M) => this.uniqueKeys.map((L) => ({ [u]: L, [d]: M }));
19521
+ }, C = k.appendOrSelect(n, "g.y-axes").attr("role", ot.GROUP).selectAll("path").data(S, (M) => M), H = (M) => this.uniqueKeys.map((L) => ({ [u]: L, [d]: M }));
19496
19522
  C.join(
19497
19523
  (M) => M.append("path").attr("opacity", 0).attr("transform", `translate(${$.x}, ${$.y})`).attr("fill", "none").call(
19498
19524
  (L) => L.transition().call(
@@ -19521,7 +19547,7 @@ class YN extends dt {
19521
19547
  })
19522
19548
  ).attr("d", (E) => R(H(E))).attr("opacity", 0).remove()
19523
19549
  )
19524
- ), D.appendOrSelect(n, "g.x-axes").attr("role", ot.GROUP).selectAll("line").data(this.uniqueKeys, (M) => M).join(
19550
+ ), k.appendOrSelect(n, "g.x-axes").attr("role", ot.GROUP).selectAll("line").data(this.uniqueKeys, (M) => M).join(
19525
19551
  (M) => M.append("line").attr("opacity", 0).attr("class", (L) => `x-axis-${br(L)}`).attr("stroke-dasharray", "0").attr("x1", (L) => It(y(L), 0, $).x).attr("y1", (L) => It(y(L), 0, $).y).attr("x2", (L) => It(y(L), 0, $).x).attr("y2", (L) => It(y(L), 0, $).y).call(
19526
19552
  (L) => L.transition().call(
19527
19553
  (E) => this.services.transitions.setupTransition({
@@ -19549,7 +19575,7 @@ class YN extends dt {
19549
19575
  })
19550
19576
  ).attr("opacity", 0).remove()
19551
19577
  )
19552
- ), D.appendOrSelect(n, "g.x-labels").attr("role", ot.GROUP).selectAll("text").data(this.uniqueKeys).join(
19578
+ ), k.appendOrSelect(n, "g.x-labels").attr("role", ot.GROUP).selectAll("text").data(this.uniqueKeys).join(
19553
19579
  (M) => M.append("text").text((L) => L).attr("opacity", 0).attr(
19554
19580
  "x",
19555
19581
  (L) => It(y(L), _.range()[1] + h, $).x
@@ -19595,7 +19621,7 @@ class YN extends dt {
19595
19621
  })
19596
19622
  ).attr("opacity", 0).remove()
19597
19623
  )
19598
- ), D.appendOrSelect(n, "g.blobs").attr("role", ot.GROUP).selectAll("path").data(this.groupedDataNormalized, (M) => M.name).join(
19624
+ ), k.appendOrSelect(n, "g.blobs").attr("role", ot.GROUP).selectAll("path").data(this.groupedDataNormalized, (M) => M.name).join(
19599
19625
  (M) => M.append("path").attr(
19600
19626
  "class",
19601
19627
  (L) => this.model.getColorClassName({
@@ -19645,7 +19671,7 @@ class YN extends dt {
19645
19671
  () => `translate(${$.x}, ${$.y}) scale(${1 + Math.random() * 0.35})`
19646
19672
  ), E.attr("opacity", 0).remove();
19647
19673
  })
19648
- ), D.appendOrSelect(n, "g.dots").attr("role", ot.GROUP).selectAll("circle").data(this.fullDataNormalized.filter((M) => b(M, d) !== null)).join(
19674
+ ), k.appendOrSelect(n, "g.dots").attr("role", ot.GROUP).selectAll("circle").data(this.fullDataNormalized.filter((M) => b(M, d) !== null)).join(
19649
19675
  (M) => M.append("circle").attr("role", ot.GRAPHICS_SYMBOL).attr("aria-label", (L) => L[c]),
19650
19676
  (M) => M,
19651
19677
  (M) => M.remove()
@@ -19656,11 +19682,11 @@ class YN extends dt {
19656
19682
  dataGroupName: M[l],
19657
19683
  originalClassName: br(M[u])
19658
19684
  })
19659
- ).attr("cx", (M) => It(y(M[u]), _(M[d]), $).x).attr("cy", (M) => It(y(M[u]), _(M[d]), $).y).attr("r", 0).attr("opacity", 0).style("fill", (M) => T(M[l])), D.appendOrSelect(n, "g.x-axes-rect").attr("role", ot.GROUP).selectAll("rect").data(this.uniqueKeys).join(
19685
+ ).attr("cx", (M) => It(y(M[u]), _(M[d]), $).x).attr("cy", (M) => It(y(M[u]), _(M[d]), $).y).attr("r", 0).attr("opacity", 0).style("fill", (M) => T(M[l])), k.appendOrSelect(n, "g.x-axes-rect").attr("role", ot.GROUP).selectAll("rect").data(this.uniqueKeys).join(
19660
19686
  (M) => M.append("rect"),
19661
19687
  (M) => M,
19662
19688
  (M) => M.remove()
19663
- ).attr("x", $.x).attr("y", $.y - m / 2).attr("width", _.range()[1]).attr("height", m).style("fill", "red").style("fill-opacity", 0).attr("transform", (M) => `rotate(${bv(y(M))}, ${$.x}, ${$.y})`), D.appendOrSelect(n, "g.y-labels").attr("role", ot.GROUP).selectAll("text").data(Re(S)).join(
19689
+ ).attr("x", $.x).attr("y", $.y - m / 2).attr("width", _.range()[1]).attr("height", m).style("fill", "red").style("fill-opacity", 0).attr("transform", (M) => `rotate(${bv(y(M))}, ${$.x}, ${$.y})`), k.appendOrSelect(n, "g.y-labels").attr("role", ot.GROUP).selectAll("text").data(Re(S)).join(
19664
19690
  (M) => M.append("text").attr("opacity", 0).text((L) => L).attr(
19665
19691
  "x",
19666
19692
  (L) => It(-Math.PI / 2, _(L), $).x + f
@@ -19697,9 +19723,9 @@ class YN extends dt {
19697
19723
  ), this.addEventListeners();
19698
19724
  }
19699
19725
  getAlignmentXOffset(t, n, r) {
19700
- const i = D.getSVGElementSize(n, {
19726
+ const i = k.getSVGElementSize(n, {
19701
19727
  useBBox: !0
19702
- }), { width: s } = D.getSVGElementSize(r, {
19728
+ }), { width: s } = k.getSVGElementSize(r, {
19703
19729
  useAttrs: !0
19704
19730
  });
19705
19731
  let a = 0;
@@ -19715,7 +19741,7 @@ class YN extends dt {
19715
19741
  axes: { angle: n }
19716
19742
  } = b(this.getOptions(), "radar");
19717
19743
  this.parent.selectAll(".x-axes-rect > rect").on("mouseover", function(r, i) {
19718
- const s = k(this);
19744
+ const s = D(this);
19719
19745
  t.services.events.dispatchEvent(O.Radar.X_AXIS_MOUSEOVER, {
19720
19746
  event: r,
19721
19747
  element: s,
@@ -19743,7 +19769,7 @@ class YN extends dt {
19743
19769
  }))
19744
19770
  });
19745
19771
  }).on("mousemove", function(r, i) {
19746
- const s = k(this);
19772
+ const s = D(this);
19747
19773
  t.services.events.dispatchEvent(O.Radar.X_AXIS_MOUSEMOVE, {
19748
19774
  event: r,
19749
19775
  element: s,
@@ -19754,11 +19780,11 @@ class YN extends dt {
19754
19780
  }).on("click", function(r, i) {
19755
19781
  t.services.events.dispatchEvent(O.Radar.X_AXIS_CLICK, {
19756
19782
  event: r,
19757
- element: k(this),
19783
+ element: D(this),
19758
19784
  datum: i
19759
19785
  });
19760
19786
  }).on("mouseout", function(r, i) {
19761
- const s = k(this), a = t.parent.select(`.x-axes .x-axis-${br(i)}`), o = t.parent.selectAll(`.dots circle.${br(i)}`);
19787
+ const s = D(this), a = t.parent.select(`.x-axes .x-axis-${br(i)}`), o = t.parent.selectAll(`.dots circle.${br(i)}`);
19762
19788
  a.classed("hovered", !1).attr("stroke-dasharray", "0"), o.classed("hovered", !1).attr("opacity", 0).attr("r", 0), t.services.events.dispatchEvent(O.Radar.X_AXIS_MOUSEOUT, {
19763
19789
  event: r,
19764
19790
  element: s,
@@ -19822,7 +19848,7 @@ class o0 extends Ou {
19822
19848
  addEventListeners() {
19823
19849
  const t = this;
19824
19850
  this.parent.selectAll("path.bar").on("mouseover", function(n, r) {
19825
- const i = k(this);
19851
+ const i = D(this);
19826
19852
  i.classed("hovered", !0), t.services.events.dispatchEvent(O.Bar.BAR_MOUSEOVER, {
19827
19853
  event: n,
19828
19854
  element: i,
@@ -19835,7 +19861,7 @@ class o0 extends Ou {
19835
19861
  }).on("mousemove", function(n, r) {
19836
19862
  t.services.events.dispatchEvent(O.Bar.BAR_MOUSEMOVE, {
19837
19863
  event: n,
19838
- element: k(this),
19864
+ element: D(this),
19839
19865
  datum: r
19840
19866
  }), t.services.events.dispatchEvent(O.Tooltip.MOVE, {
19841
19867
  event: n
@@ -19843,11 +19869,11 @@ class o0 extends Ou {
19843
19869
  }).on("click", function(n, r) {
19844
19870
  t.services.events.dispatchEvent(O.Bar.BAR_CLICK, {
19845
19871
  event: n,
19846
- element: k(this),
19872
+ element: D(this),
19847
19873
  datum: r
19848
19874
  });
19849
19875
  }).on("mouseout", function(n, r) {
19850
- const i = k(this);
19876
+ const i = D(this);
19851
19877
  i.classed("hovered", !1), t.services.events.dispatchEvent(O.Bar.BAR_MOUSEOUT, {
19852
19878
  event: n,
19853
19879
  element: i,
@@ -19878,7 +19904,7 @@ class XN extends se {
19878
19904
  this.setScales(), this.drawBackdrop(t), this.drawSparkline(t), this.updateBackdropStyle(), t && this.setShimmerEffect("shimmer-lines");
19879
19905
  }
19880
19906
  drawSparkline(t) {
19881
- const n = this.backdrop.attr("width"), r = [100], i = D.appendOrSelect(this.backdrop, "g.y.skeleton"), s = i.selectAll("line").data(r);
19907
+ const n = this.backdrop.attr("width"), r = [100], i = k.appendOrSelect(this.backdrop, "g.y.skeleton"), s = i.selectAll("line").data(r);
19882
19908
  s.enter().append("line").merge(s).attr("x1", 0).attr("x2", n).attr("y1", (a) => a).attr("y2", (a) => a), i.selectAll("line").classed("shimmer-effect-lines", t).classed("empty-state-lines", !t).style(
19883
19909
  "stroke",
19884
19910
  t ? `url(#${this.services.domUtils.generateElementIDString("shimmer-lines")})` : null
@@ -19886,7 +19912,7 @@ class XN extends se {
19886
19912
  }
19887
19913
  updateBackdropStyle() {
19888
19914
  const t = this.parent;
19889
- this.backdrop = D.appendOrSelect(t, "svg.chart-skeleton.DAII"), D.appendOrSelect(this.backdrop, "rect.chart-skeleton-backdrop").classed("shimmer-effect-lines", !1).classed("shimmer-effect-sparkline", !0).style("stroke", null);
19915
+ this.backdrop = k.appendOrSelect(t, "svg.chart-skeleton.DAII"), k.appendOrSelect(this.backdrop, "rect.chart-skeleton-backdrop").classed("shimmer-effect-lines", !1).classed("shimmer-effect-sparkline", !0).style("stroke", null);
19890
19916
  }
19891
19917
  }
19892
19918
  class l0 extends dt {
@@ -20002,7 +20028,7 @@ class c0 extends Ou {
20002
20028
  addEventListeners() {
20003
20029
  const t = this.getOptions(), { groupMapsTo: n } = t.data, r = this;
20004
20030
  this.parent.selectAll("path.bar").on("mouseover", function(i, s) {
20005
- const a = k(this);
20031
+ const a = D(this);
20006
20032
  a.classed("hovered", !0), r.services.events.dispatchEvent(O.Bar.BAR_MOUSEOVER, {
20007
20033
  event: i,
20008
20034
  element: a,
@@ -20026,7 +20052,7 @@ class c0 extends Ou {
20026
20052
  data: [o]
20027
20053
  });
20028
20054
  }).on("mousemove", function(i, s) {
20029
- const a = k(this);
20055
+ const a = D(this);
20030
20056
  r.services.events.dispatchEvent(O.Bar.BAR_MOUSEMOVE, {
20031
20057
  event: i,
20032
20058
  element: a,
@@ -20037,11 +20063,11 @@ class c0 extends Ou {
20037
20063
  }).on("click", function(i, s) {
20038
20064
  r.services.events.dispatchEvent(O.Bar.BAR_CLICK, {
20039
20065
  event: i,
20040
- element: k(this),
20066
+ element: D(this),
20041
20067
  datum: s
20042
20068
  });
20043
20069
  }).on("mouseout", function(i, s) {
20044
- const a = k(this);
20070
+ const a = D(this);
20045
20071
  a.classed("hovered", !1), r.services.events.dispatchEvent(O.Bar.BAR_MOUSEOUT, {
20046
20072
  event: i,
20047
20073
  element: a,
@@ -20055,7 +20081,7 @@ class c0 extends Ou {
20055
20081
  const t = this.getOptions();
20056
20082
  if (b(t, "bars", "width"))
20057
20083
  return t.bars.width;
20058
- const n = this.services.cartesianScales.getMainXScale(), r = D.getSVGElementSize(this.parent, {
20084
+ const n = this.services.cartesianScales.getMainXScale(), r = k.getSVGElementSize(this.parent, {
20059
20085
  useAttrs: !0
20060
20086
  }).width, i = this.model.getStackKeys().length, s = b(t, "bars", "spacingFactor");
20061
20087
  return n.step ? Math.min(t.bars.maxWidth, n.step() / 2) : Math.min(t.bars.maxWidth, r * s / i);
@@ -20127,7 +20153,7 @@ class ZN extends dt {
20127
20153
  }), n;
20128
20154
  }
20129
20155
  getMockLabelWidth(t, n) {
20130
- const r = t.append("text").attr("dy", "0.31em").attr("x", 0).attr("text-anchor", "end").text(n), { width: i } = D.getSVGElementSize(r.node(), {
20156
+ const r = t.append("text").attr("dy", "0.31em").attr("x", 0).attr("text-anchor", "end").text(n), { width: i } = k.getSVGElementSize(r.node(), {
20131
20157
  useBBox: !0
20132
20158
  });
20133
20159
  return r.remove(), i;
@@ -20138,7 +20164,7 @@ class ZN extends dt {
20138
20164
  render(t = !0) {
20139
20165
  const n = this.getComponentContainer();
20140
20166
  n.html("");
20141
- const { width: r, height: i } = D.getSVGElementSize(this.parent, {
20167
+ const { width: r, height: i } = k.getSVGElementSize(this.parent, {
20142
20168
  useAttrs: !0
20143
20169
  });
20144
20170
  if (r < 1 || i < 1)
@@ -20169,19 +20195,19 @@ class ZN extends dt {
20169
20195
  ).on("mouseover", function(N, I) {
20170
20196
  L.services.events.dispatchEvent(O.Tree.NODE_MOUSEOVER, {
20171
20197
  event: N,
20172
- element: k(this),
20198
+ element: D(this),
20173
20199
  datum: I
20174
20200
  });
20175
20201
  }).on("click", function(N, I) {
20176
20202
  I.depth !== 0 && (I.children = I.children ? null : I._children, g(I)), L.services.events.dispatchEvent(O.Tree.NODE_CLICK, {
20177
20203
  event: N,
20178
- element: k(this),
20204
+ element: D(this),
20179
20205
  datum: I
20180
20206
  });
20181
20207
  }).on("mouseout", function(N, I) {
20182
20208
  L.services.events.dispatchEvent(O.Tree.NODE_MOUSEOUT, {
20183
20209
  event: N,
20184
- element: k(this),
20210
+ element: D(this),
20185
20211
  datum: I
20186
20212
  });
20187
20213
  });
@@ -20373,7 +20399,7 @@ const wB = (e) => {
20373
20399
  }
20374
20400
  return null;
20375
20401
  }, Zf = function() {
20376
- const e = k(this.parentNode).select("rect.leaf"), t = getComputedStyle(e.node(), null).getPropertyValue(
20402
+ const e = D(this.parentNode).select("rect.leaf"), t = getComputedStyle(e.node(), null).getPropertyValue(
20377
20403
  "fill"
20378
20404
  ), n = vn(t);
20379
20405
  let r;
@@ -20413,7 +20439,7 @@ class OB extends dt {
20413
20439
  render(t = !0) {
20414
20440
  const n = this.getComponentContainer();
20415
20441
  this.model.getData();
20416
- const r = this.model.getDisplayData(), i = this.model.getOptions(), s = b(window, "location"), { width: a, height: o } = D.getSVGElementSize(n, {
20442
+ const r = this.model.getDisplayData(), i = this.model.getOptions(), s = b(window, "location"), { width: a, height: o } = k.getSVGElementSize(n, {
20417
20443
  useAttrs: !0
20418
20444
  }), l = ns({
20419
20445
  name: i.title || "Treemap",
@@ -20432,7 +20458,7 @@ class OB extends dt {
20432
20458
  ).attr("transform", (f) => `translate(${f.x0},${f.y0})`);
20433
20459
  const h = d.selectAll("rect.leaf").data((f) => [f]);
20434
20460
  h.exit().attr("width", 0).attr("height", 0).remove(), h.enter().append("rect").classed("leaf", !0).merge(h).attr("width", 0).attr("height", 0).attr("id", function() {
20435
- const f = k(this.parentNode).attr("data-uid");
20461
+ const f = D(this.parentNode).attr("data-uid");
20436
20462
  return `${i.style.prefix}-leaf-${f}`;
20437
20463
  }).attr("class", (f) => {
20438
20464
  for (; f.depth > 1; )
@@ -20457,10 +20483,10 @@ class OB extends dt {
20457
20483
  (f) => f
20458
20484
  ).join(
20459
20485
  (f) => f.append("clipPath").attr("id", function() {
20460
- const p = k(this.parentNode).attr("data-uid");
20486
+ const p = D(this.parentNode).attr("data-uid");
20461
20487
  return `${i.style.prefix}-clip-${p}`;
20462
20488
  }).append("use").attr("xlink:href", function() {
20463
- const p = k(this.parentNode.parentNode).attr("data-uid"), g = `${i.style.prefix}-leaf-${p}`;
20489
+ const p = D(this.parentNode.parentNode).attr("data-uid"), g = `${i.style.prefix}-leaf-${p}`;
20464
20490
  return new URL(`#${g}`, s) + "";
20465
20491
  }),
20466
20492
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -20488,7 +20514,7 @@ class OB extends dt {
20488
20514
  (f) => {
20489
20515
  const p = f.append("text").text((g) => g.text).style("fill", Zf).attr("x", 7).attr("y", 18);
20490
20516
  return s && p.attr("clip-path", function() {
20491
- const g = k(this.parentNode).attr("data-uid"), m = `${i.style.prefix}-clip-${g}`;
20517
+ const g = D(this.parentNode).attr("data-uid"), m = `${i.style.prefix}-clip-${g}`;
20492
20518
  return `url(${new URL(`#${m}`, s) + ""})`;
20493
20519
  }), p;
20494
20520
  },
@@ -20499,7 +20525,7 @@ class OB extends dt {
20499
20525
  addEventListeners() {
20500
20526
  const t = this;
20501
20527
  this.parent.selectAll("rect.leaf").on("mouseover", function(n, r) {
20502
- const i = k(this);
20528
+ const i = D(this);
20503
20529
  let s = getComputedStyle(this, null).getPropertyValue("fill"), a = r;
20504
20530
  for (; a.depth > 1; )
20505
20531
  a = a.parent;
@@ -20531,7 +20557,7 @@ class OB extends dt {
20531
20557
  datum: r
20532
20558
  });
20533
20559
  }).on("mousemove", function(n, r) {
20534
- const i = k(this);
20560
+ const i = D(this);
20535
20561
  t.services.events.dispatchEvent(O.Treemap.LEAF_MOUSEMOVE, {
20536
20562
  event: n,
20537
20563
  element: i,
@@ -20542,11 +20568,11 @@ class OB extends dt {
20542
20568
  }).on("click", function(n, r) {
20543
20569
  t.services.events.dispatchEvent(O.Treemap.LEAF_CLICK, {
20544
20570
  event: n,
20545
- element: k(this),
20571
+ element: D(this),
20546
20572
  datum: r
20547
20573
  });
20548
20574
  }).on("mouseout", function(n, r) {
20549
- const i = k(this);
20575
+ const i = D(this);
20550
20576
  i.classed("hovered", !1);
20551
20577
  let s = r;
20552
20578
  for (; s.depth > 1; )
@@ -20590,7 +20616,7 @@ class TB extends dt {
20590
20616
  t.addEventListener(O.Legend.ITEM_HOVER, this.handleLegendOnHover), t.addEventListener(O.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
20591
20617
  }
20592
20618
  render(t = !0) {
20593
- const n = this, r = this.getComponentContainer().attr("width", "100%").attr("height", "100%"), i = this.model.getDisplayData(), s = this.getFontSizeScale(i), a = this.getOptions(), { fontSizeMapsTo: o, wordMapsTo: l } = a.wordCloud, { groupMapsTo: c } = a.data, { width: u, height: d } = D.getSVGElementSize(r, {
20619
+ const n = this, r = this.getComponentContainer().attr("width", "100%").attr("height", "100%"), i = this.model.getDisplayData(), s = this.getFontSizeScale(i), a = this.getOptions(), { fontSizeMapsTo: o, wordMapsTo: l } = a.wordCloud, { groupMapsTo: c } = a.data, { width: u, height: d } = k.getSVGElementSize(r, {
20594
20620
  useAttrs: !0
20595
20621
  });
20596
20622
  if (u === 0 || d === 0)
@@ -20612,7 +20638,7 @@ class TB extends dt {
20612
20638
  ).padding(5).rotate(0).fontSize((p) => s(p.size)).on("end", f);
20613
20639
  h.start();
20614
20640
  function f(p) {
20615
- const g = D.appendOrSelect(r, "g.words");
20641
+ const g = k.appendOrSelect(r, "g.words");
20616
20642
  g.attr("transform", `translate(${h.size()[0] / 2}, ${h.size()[1] / 2})`);
20617
20643
  const m = g.selectAll("text").data(p, (v) => `${v[c]}-${v.text}`);
20618
20644
  m.exit().attr("opacity", 0).remove(), m.enter().append("text").attr("opacity", 0).merge(m).style("font-size", (v) => `${v.size}px`).text(function(v) {
@@ -20635,7 +20661,7 @@ class TB extends dt {
20635
20661
  this.addEventListeners();
20636
20662
  }
20637
20663
  getFontSizeScale(t) {
20638
- const n = this.getOptions(), { fontSizeMapsTo: r } = n.wordCloud, i = t.map((l) => l[r]).filter((l) => l), s = D.getHTMLElementSize(this.services.domUtils.getMainContainer()), a = i.length > 0, o = a ? Re(i) : [1, 1];
20664
+ const n = this.getOptions(), { fontSizeMapsTo: r } = n.wordCloud, i = t.map((l) => l[r]).filter((l) => l), s = k.getHTMLElementSize(this.services.domUtils.getMainContainer()), a = i.length > 0, o = a ? Re(i) : [1, 1];
20639
20665
  return Pe().domain(o).range(a ? n.wordCloud.fontSizeRange(s, t) : [4, 4]);
20640
20666
  }
20641
20667
  addEventListeners() {
@@ -20654,7 +20680,7 @@ class TB extends dt {
20654
20680
  const o = this;
20655
20681
  i(o), r.services.events.dispatchEvent(O.WordCloud.WORD_MOUSEOVER, {
20656
20682
  event: s,
20657
- element: k(this),
20683
+ element: D(this),
20658
20684
  datum: a
20659
20685
  }), r.services.events.dispatchEvent(O.Tooltip.SHOW, {
20660
20686
  event: s,
@@ -20679,7 +20705,7 @@ class TB extends dt {
20679
20705
  ]
20680
20706
  });
20681
20707
  }).on("mousemove", function(s, a) {
20682
- const o = k(this);
20708
+ const o = D(this);
20683
20709
  r.services.events.dispatchEvent(O.WordCloud.WORD_MOUSEMOVE, {
20684
20710
  element: o,
20685
20711
  datum: a
@@ -20689,11 +20715,11 @@ class TB extends dt {
20689
20715
  }).on("click", function(s, a) {
20690
20716
  r.services.events.dispatchEvent(O.WordCloud.WORD_CLICK, {
20691
20717
  event: s,
20692
- element: k(this),
20718
+ element: D(this),
20693
20719
  datum: a
20694
20720
  });
20695
20721
  }).on("mouseout", function(s, a) {
20696
- const o = k(this);
20722
+ const o = D(this);
20697
20723
  i(null), r.services.events.dispatchEvent(O.WordCloud.WORD_MOUSEOUT, {
20698
20724
  event: s,
20699
20725
  element: o,
@@ -20709,7 +20735,7 @@ class MB extends dt {
20709
20735
  super(...arguments), this.type = "geo", this.renderType = K.SVG;
20710
20736
  }
20711
20737
  render() {
20712
- const t = this.getComponentContainer({ withinChartClip: !0 }), { width: n, height: r } = D.getSVGElementSize(t, {
20738
+ const t = this.getComponentContainer({ withinChartClip: !0 }), { width: n, height: r } = k.getSVGElementSize(t, {
20713
20739
  useAttrs: !0
20714
20740
  });
20715
20741
  if (n < 1 || r < 1)
@@ -20723,17 +20749,17 @@ class MB extends dt {
20723
20749
  type: "GeometryCollection",
20724
20750
  geometries: Object.values(o)
20725
20751
  }), d = i.fitSize([n, r], u), h = AE().projection(d);
20726
- D.appendOrSelect(t, "g.geo").selectAll("path").data(u.features).join("path").attr("d", h);
20727
- const f = this.services.domUtils.generateElementIDString("geo-pattern-stripes"), p = D.appendOrSelect(t, "defs");
20728
- D.appendOrSelect(p, "pattern").attr("id", f).attr("width", 5).attr("height", 10).attr("patternUnits", "userSpaceOnUse").attr("patternTransform", "rotate(45)").append("path").classed("pattern-fill", !0).attr(
20752
+ k.appendOrSelect(t, "g.geo").selectAll("path").data(u.features).join("path").attr("d", h);
20753
+ const f = this.services.domUtils.generateElementIDString("geo-pattern-stripes"), p = k.appendOrSelect(t, "defs");
20754
+ k.appendOrSelect(p, "pattern").attr("id", f).attr("width", 5).attr("height", 10).attr("patternUnits", "userSpaceOnUse").attr("patternTransform", "rotate(45)").append("path").classed("pattern-fill", !0).attr(
20729
20755
  "d",
20730
20756
  ss()([
20731
20757
  [0, 0],
20732
20758
  [0, 10]
20733
20759
  ])
20734
20760
  );
20735
- const g = D.appendOrSelect(t, "g.missing-data");
20736
- D.appendOrSelect(g, "path").datum(c).attr("d", h).style("fill", `url(#${f})`);
20761
+ const g = k.appendOrSelect(t, "g.missing-data");
20762
+ k.appendOrSelect(g, "path").datum(c).attr("d", h).style("fill", `url(#${f})`);
20737
20763
  }
20738
20764
  /**
20739
20765
  * @info
@@ -20791,7 +20817,7 @@ class CB extends MB {
20791
20817
  addCountryAreaEventListener() {
20792
20818
  const t = this, n = this.model.getCombinedData();
20793
20819
  this.parent.selectAll("path.border").on("mouseover", function(r, i) {
20794
- const s = k(this);
20820
+ const s = D(this);
20795
20821
  t.services.events.dispatchEvent(Mr.CHOROPLETH_MOUSEOVER, {
20796
20822
  event: r,
20797
20823
  element: s,
@@ -20809,7 +20835,7 @@ class CB extends MB {
20809
20835
  }).on("mousemove", function(r, i) {
20810
20836
  t.services.events.dispatchEvent(Mr.CHOROPLETH_MOUSEMOVE, {
20811
20837
  event: r,
20812
- element: k(this),
20838
+ element: D(this),
20813
20839
  datum: n[i.properties.NAME]
20814
20840
  }), t.services.events.dispatchEvent(Ci.MOVE, {
20815
20841
  event: r
@@ -20817,11 +20843,11 @@ class CB extends MB {
20817
20843
  }).on("click", function(r, i) {
20818
20844
  t.services.events.dispatchEvent(Mr.CHOROPLETH_CLICK, {
20819
20845
  event: r,
20820
- element: k(this),
20846
+ element: D(this),
20821
20847
  datum: n[i.properties.NAME]
20822
20848
  });
20823
20849
  }).on("mouseout", function(r, i) {
20824
- const s = k(this);
20850
+ const s = D(this);
20825
20851
  t.services.events.dispatchEvent(Mr.CHOROPLETH_MOUSEOUT, {
20826
20852
  event: r,
20827
20853
  element: s,
@@ -20975,14 +21001,14 @@ class FB extends Tn {
20975
21001
  let i, s, a;
20976
21002
  const o = r || kr;
20977
21003
  t && (i = t.x, s = t.y, a = 2);
20978
- const { width: l, height: c } = D.getSVGElementSize(this.services.domUtils.getHolder(), {
21004
+ const { width: l, height: c } = k.getSVGElementSize(this.services.domUtils.getHolder(), {
20979
21005
  useClientDimensions: !0
20980
21006
  });
20981
21007
  n.transition().duration(o.duration).ease(o.ease).attr(
20982
21008
  "transform",
20983
21009
  `translate(${l / 2}, ${c / 2}) scale(${a}) translate(${-i},${-s})`
20984
21010
  ), this.services.events.dispatchEvent(O.CanvasZoom.CANVAS_ZOOM_IN, {
20985
- element: k(t)
21011
+ element: D(t)
20986
21012
  });
20987
21013
  }
20988
21014
  zoomOut(t, n) {
@@ -21573,7 +21599,7 @@ class Fe {
21573
21599
  constructor(t, n) {
21574
21600
  this.components = [], this.services = {
21575
21601
  canvasZoom: FB,
21576
- domUtils: D,
21602
+ domUtils: k,
21577
21603
  events: GB,
21578
21604
  files: zB,
21579
21605
  gradientUtils: tc,
@@ -21636,7 +21662,7 @@ class Fe {
21636
21662
  ...i ? [c] : []
21637
21663
  ],
21638
21664
  {
21639
- direction: Mt.ROW,
21665
+ direction: Ct.ROW,
21640
21666
  alignItems: Qr.CENTER
21641
21667
  }
21642
21668
  )
@@ -21648,10 +21674,10 @@ class Fe {
21648
21674
  growth: at.STRETCH,
21649
21675
  renderType: b(n, "graphFrameRenderType") || K.SVG
21650
21676
  }, h = b(n, "excludeLegend") !== !0 && r.legend.enabled !== !1;
21651
- let f = Mt.COLUMN;
21677
+ let f = Ct.COLUMN;
21652
21678
  if (h) {
21653
21679
  const v = b(r, "legend", "position");
21654
- v === "left" ? (f = Mt.ROW, r.legend.orientation || (r.legend.orientation = Ui.VERTICAL)) : v === "right" ? (f = Mt.ROW_REVERSE, r.legend.orientation || (r.legend.orientation = Ui.VERTICAL)) : v === "bottom" && (f = Mt.COLUMN_REVERSE);
21680
+ v === "left" ? (f = Ct.ROW, r.legend.orientation || (r.legend.orientation = Ui.VERTICAL)) : v === "right" ? (f = Ct.ROW_REVERSE, r.legend.orientation || (r.legend.orientation = Ui.VERTICAL)) : v === "bottom" && (f = Ct.COLUMN_REVERSE);
21655
21681
  }
21656
21682
  const p = {
21657
21683
  id: "spacer",
@@ -21690,7 +21716,7 @@ class Fe {
21690
21716
  new wu(this.model, this.services),
21691
21717
  new go(this.model, this.services),
21692
21718
  new ve(this.model, this.services, m, {
21693
- direction: Mt.COLUMN
21719
+ direction: Ct.COLUMN
21694
21720
  })
21695
21721
  ];
21696
21722
  }
@@ -21726,7 +21752,7 @@ class de extends Fe {
21726
21752
  ...s ? [h] : []
21727
21753
  ],
21728
21754
  {
21729
- direction: Mt.ROW,
21755
+ direction: Ct.ROW,
21730
21756
  alignItems: Qr.CENTER
21731
21757
  }
21732
21758
  )
@@ -21747,10 +21773,10 @@ class de extends Fe {
21747
21773
  growth: at.STRETCH,
21748
21774
  renderType: K.SVG
21749
21775
  }, m = b(n, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1;
21750
- let v = Mt.COLUMN;
21776
+ let v = Ct.COLUMN;
21751
21777
  if (m) {
21752
21778
  const S = b(this.model.getOptions(), "legend", "position");
21753
- S === Ai.LEFT ? (v = Mt.ROW, this.model.getOptions().legend.orientation || (this.model.getOptions().legend.orientation = Ui.VERTICAL)) : S === Ai.RIGHT ? (v = Mt.ROW_REVERSE, this.model.getOptions().legend.orientation || (this.model.getOptions().legend.orientation = Ui.VERTICAL)) : S === Ai.BOTTOM && (v = Mt.COLUMN_REVERSE);
21779
+ S === Ai.LEFT ? (v = Ct.ROW, this.model.getOptions().legend.orientation || (this.model.getOptions().legend.orientation = Ui.VERTICAL)) : S === Ai.RIGHT ? (v = Ct.ROW_REVERSE, this.model.getOptions().legend.orientation || (this.model.getOptions().legend.orientation = Ui.VERTICAL)) : S === Ai.BOTTOM && (v = Ct.COLUMN_REVERSE);
21754
21780
  }
21755
21781
  const x = {
21756
21782
  id: "spacer",
@@ -21794,14 +21820,14 @@ class de extends Fe {
21794
21820
  new e0(this.model, this.services),
21795
21821
  new go(this.model, this.services),
21796
21822
  new ve(this.model, this.services, _, {
21797
- direction: Mt.COLUMN
21823
+ direction: Ct.COLUMN
21798
21824
  })
21799
21825
  ];
21800
21826
  }
21801
21827
  }
21802
21828
  class CH extends Fe {
21803
21829
  constructor(t, n) {
21804
- super(t, n), this.model = new IL(this.services), this.model.setOptions(Dt(_t.alluvialChart, n.options)), this.init(t, n);
21830
+ super(t, n), this.model = new IL(this.services), this.model.setOptions(kt(wt.alluvialChart, n.options)), this.init(t, n);
21805
21831
  }
21806
21832
  getComponents() {
21807
21833
  const t = [new SN(this.model, this.services)];
@@ -21813,7 +21839,7 @@ class CH extends Fe {
21813
21839
  class AH extends de {
21814
21840
  constructor(t, n) {
21815
21841
  super(t, n), this.model.setOptions(
21816
- Dt(_n(_t.areaChart), n.options)
21842
+ kt(_n(wt.areaChart), n.options)
21817
21843
  ), this.init(t, n);
21818
21844
  }
21819
21845
  getComponents() {
@@ -21836,7 +21862,7 @@ class AH extends de {
21836
21862
  }
21837
21863
  class $H extends de {
21838
21864
  constructor(t, n) {
21839
- super(t, n), this.model = new NL(this.services), this.model.setOptions(Dt(_t.boxplotChart, n.options)), this.init(t, n);
21865
+ super(t, n), this.model = new NL(this.services), this.model.setOptions(kt(wt.boxplotChart, n.options)), this.init(t, n);
21840
21866
  }
21841
21867
  getComponents() {
21842
21868
  const t = [
@@ -21857,7 +21883,7 @@ class $H extends de {
21857
21883
  }
21858
21884
  class LH extends de {
21859
21885
  constructor(t, n) {
21860
- super(t, n), this.model.setOptions(Dt(_t.bubbleChart, n.options)), this.init(t, n);
21886
+ super(t, n), this.model.setOptions(kt(wt.bubbleChart, n.options)), this.init(t, n);
21861
21887
  }
21862
21888
  getComponents() {
21863
21889
  const t = [
@@ -21874,7 +21900,7 @@ class LH extends de {
21874
21900
  }
21875
21901
  class DH extends de {
21876
21902
  constructor(t, n) {
21877
- super(t, n), this.model = new PL(this.services), this.model.setOptions(Dt(_t.bulletChart, n.options)), this.init(t, n);
21903
+ super(t, n), this.model = new PL(this.services), this.model.setOptions(kt(wt.bulletChart, n.options)), this.init(t, n);
21878
21904
  }
21879
21905
  getComponents() {
21880
21906
  const t = [
@@ -21891,7 +21917,7 @@ class DH extends de {
21891
21917
  class kH extends Fe {
21892
21918
  constructor(t, n) {
21893
21919
  super(t, n), this.model = new UL(this.services), this.model.setOptions(
21894
- Dt(_t.choroplethChart, n.options)
21920
+ kt(wt.choroplethChart, n.options)
21895
21921
  ), this.init(t, n);
21896
21922
  }
21897
21923
  // Custom getChartComponents - Implements getChartComponents
@@ -21917,7 +21943,7 @@ class kH extends Fe {
21917
21943
  ...i ? [o] : []
21918
21944
  ],
21919
21945
  {
21920
- direction: Mt.ROW,
21946
+ direction: Ct.ROW,
21921
21947
  alignItems: Qr.CENTER
21922
21948
  }
21923
21949
  )
@@ -21937,7 +21963,7 @@ class kH extends Fe {
21937
21963
  components: t,
21938
21964
  growth: at.STRETCH,
21939
21965
  renderType: K.SVG
21940
- }, d = b(n, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1, h = Mt.COLUMN_REVERSE, f = {
21966
+ }, d = b(n, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1, h = Ct.COLUMN_REVERSE, f = {
21941
21967
  id: "spacer",
21942
21968
  components: [new wn(this.model, this.services, { size: 15 })],
21943
21969
  growth: at.PREFERRED
@@ -21974,7 +22000,7 @@ class kH extends Fe {
21974
22000
  new wu(this.model, this.services),
21975
22001
  new go(this.model, this.services),
21976
22002
  new ve(this.model, this.services, g, {
21977
- direction: Mt.COLUMN
22003
+ direction: Ct.COLUMN
21978
22004
  })
21979
22005
  ];
21980
22006
  }
@@ -21985,7 +22011,7 @@ class kH extends Fe {
21985
22011
  }
21986
22012
  class RH extends Fe {
21987
22013
  constructor(t, n) {
21988
- super(t, n), this.model = new BL(this.services), this.model.setOptions(Dt(_t.circlePackChart, n.options)), this.init(t, n);
22014
+ super(t, n), this.model = new BL(this.services), this.model.setOptions(kt(wt.circlePackChart, n.options)), this.init(t, n);
21989
22015
  }
21990
22016
  getComponents() {
21991
22017
  const t = [new HN(this.model, this.services)];
@@ -22004,7 +22030,7 @@ const np = {
22004
22030
  class IH extends de {
22005
22031
  constructor(t, n) {
22006
22032
  super(t, n);
22007
- const r = Dt(_t.comboChart, n.options);
22033
+ const r = kt(wt.comboChart, n.options);
22008
22034
  n.options.comboChartTypes || (console.error("No comboChartTypes defined for the Combo Chart!"), r.comboChartTypes = [{ type: we.LINE, correspondingDatasets: [] }]), this.model.setOptions(r), this.init(t, n);
22009
22035
  }
22010
22036
  getGraphComponents() {
@@ -22020,7 +22046,7 @@ class IH extends de {
22020
22046
  ), null;
22021
22047
  let o = !1;
22022
22048
  const l = `${MH(i.type)}Chart`;
22023
- return a = it({}, _t[l], this.model.getOptions(), i.options), i.type === we.STACKED_AREA && (o = !0), np[i.type].map(
22049
+ return a = it({}, wt[l], this.model.getOptions(), i.options), i.type === we.STACKED_AREA && (o = !0), np[i.type].map(
22024
22050
  (c) => new c(this.model, this.services, {
22025
22051
  groups: i.correspondingDatasets,
22026
22052
  id: n++,
@@ -22055,7 +22081,7 @@ class IH extends de {
22055
22081
  class _0 extends Fe {
22056
22082
  // TODO - Optimize the use of "extending"
22057
22083
  constructor(t, n, r = !1) {
22058
- super(t, n), this.model = new HL(this.services), !r && (this.model.setOptions(Dt(_t.pieChart, n.options)), this.init(t, n));
22084
+ super(t, n), this.model = new HL(this.services), !r && (this.model.setOptions(kt(wt.pieChart, n.options)), this.init(t, n));
22059
22085
  }
22060
22086
  getComponents() {
22061
22087
  const t = [
@@ -22069,7 +22095,7 @@ class _0 extends Fe {
22069
22095
  }
22070
22096
  class NH extends _0 {
22071
22097
  constructor(t, n) {
22072
- super(t, n, !0), this.model.setOptions(Dt(_t.donutChart, n.options)), this.init(t, n);
22098
+ super(t, n, !0), this.model.setOptions(kt(wt.donutChart, n.options)), this.init(t, n);
22073
22099
  }
22074
22100
  getComponents() {
22075
22101
  const t = [
@@ -22083,7 +22109,7 @@ class NH extends _0 {
22083
22109
  }
22084
22110
  class PH extends Fe {
22085
22111
  constructor(t, n) {
22086
- super(t, n), this.model = new VL(this.services), this.model.setOptions(Dt(_t.gaugeChart, n.options)), this.init(t, n);
22112
+ super(t, n), this.model = new VL(this.services), this.model.setOptions(kt(wt.gaugeChart, n.options)), this.init(t, n);
22087
22113
  }
22088
22114
  getComponents() {
22089
22115
  const t = [new GN(this.model, this.services)];
@@ -22092,7 +22118,7 @@ class PH extends Fe {
22092
22118
  }
22093
22119
  class UH extends de {
22094
22120
  constructor(t, n) {
22095
- super(t, n), this.model.setOptions(Dt(_t.groupedBarChart, n.options)), this.init(t, n);
22121
+ super(t, n), this.model.setOptions(kt(wt.groupedBarChart, n.options)), this.init(t, n);
22096
22122
  }
22097
22123
  getComponents() {
22098
22124
  const t = [
@@ -22110,7 +22136,7 @@ class UH extends de {
22110
22136
  class BH extends de {
22111
22137
  constructor(t, n) {
22112
22138
  super(t, n), this.model = new FL(this.services), this.model.setOptions(
22113
- Dt(_t.heatmapChart, n.options)
22139
+ kt(wt.heatmapChart, n.options)
22114
22140
  ), this.init(t, n);
22115
22141
  }
22116
22142
  // Custom getChartComponents - Implements getChartComponents
@@ -22138,7 +22164,7 @@ class BH extends de {
22138
22164
  ...i ? [o] : []
22139
22165
  ],
22140
22166
  {
22141
- direction: Mt.ROW,
22167
+ direction: Ct.ROW,
22142
22168
  alignItems: Qr.CENTER
22143
22169
  }
22144
22170
  )
@@ -22158,7 +22184,7 @@ class BH extends de {
22158
22184
  components: t,
22159
22185
  growth: at.STRETCH,
22160
22186
  renderType: K.SVG
22161
- }, d = b(n, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1, h = Mt.COLUMN_REVERSE, f = {
22187
+ }, d = b(n, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1, h = Ct.COLUMN_REVERSE, f = {
22162
22188
  id: "spacer",
22163
22189
  components: [new wn(this.model, this.services, { size: 15 })],
22164
22190
  growth: at.PREFERRED
@@ -22195,7 +22221,7 @@ class BH extends de {
22195
22221
  new e0(this.model, this.services),
22196
22222
  new go(this.model, this.services),
22197
22223
  new ve(this.model, this.services, g, {
22198
- direction: Mt.COLUMN
22224
+ direction: Ct.COLUMN
22199
22225
  })
22200
22226
  ];
22201
22227
  }
@@ -22209,7 +22235,7 @@ class BH extends de {
22209
22235
  }
22210
22236
  class HH extends de {
22211
22237
  constructor(t, n) {
22212
- super(t, n), this.model = new GL(this.services), this.model.setOptions(Dt(_t.histogramChart, n.options)), this.init(t, n), this.update();
22238
+ super(t, n), this.model = new GL(this.services), this.model.setOptions(kt(wt.histogramChart, n.options)), this.init(t, n), this.update();
22213
22239
  }
22214
22240
  getComponents() {
22215
22241
  const t = [
@@ -22223,7 +22249,7 @@ class HH extends de {
22223
22249
  }
22224
22250
  class VH extends de {
22225
22251
  constructor(t, n) {
22226
- super(t, n), this.model.setOptions(Dt(_t.lineChart, n.options)), this.init(t, n);
22252
+ super(t, n), this.model.setOptions(kt(wt.lineChart, n.options)), this.init(t, n);
22227
22253
  }
22228
22254
  getComponents() {
22229
22255
  const t = [
@@ -22240,7 +22266,7 @@ class VH extends de {
22240
22266
  }
22241
22267
  class FH extends de {
22242
22268
  constructor(t, n) {
22243
- super(t, n), this.model.setOptions(Dt(_t.lollipopChart, n.options)), this.init(t, n);
22269
+ super(t, n), this.model.setOptions(kt(wt.lollipopChart, n.options)), this.init(t, n);
22244
22270
  }
22245
22271
  getComponents() {
22246
22272
  const t = [
@@ -22260,7 +22286,7 @@ class GH extends Fe {
22260
22286
  constructor(t, n) {
22261
22287
  var r;
22262
22288
  super(t, n), this.model = new zL(this.services);
22263
- const i = (r = n.options.meter) != null && r.proportional ? it(_n(_t.proportionalMeterChart), n.options) : it(_n(_t.meterChart), n.options);
22289
+ const i = (r = n.options.meter) != null && r.proportional ? it(_n(wt.proportionalMeterChart), n.options) : it(_n(wt.meterChart), n.options);
22264
22290
  this.model.setOptions(i), this.init(t, n);
22265
22291
  }
22266
22292
  getComponents() {
@@ -22293,7 +22319,7 @@ class GH extends Fe {
22293
22319
  }
22294
22320
  ], n = [
22295
22321
  new ve(this.model, this.services, t, {
22296
- direction: Mt.COLUMN
22322
+ direction: Ct.COLUMN
22297
22323
  })
22298
22324
  ];
22299
22325
  return this.getChartComponents(n, {
@@ -22303,7 +22329,7 @@ class GH extends Fe {
22303
22329
  }
22304
22330
  class zH extends Fe {
22305
22331
  constructor(t, n) {
22306
- super(t, n), this.model = new jL(this.services), this.model.setOptions(Dt(_t.radarChart, n.options)), this.init(t, n);
22332
+ super(t, n), this.model = new jL(this.services), this.model.setOptions(kt(wt.radarChart, n.options)), this.init(t, n);
22307
22333
  }
22308
22334
  getComponents() {
22309
22335
  const t = [new YN(this.model, this.services)];
@@ -22312,7 +22338,7 @@ class zH extends Fe {
22312
22338
  }
22313
22339
  class jH extends de {
22314
22340
  constructor(t, n) {
22315
- super(t, n), this.model.setOptions(Dt(_t.scatterChart, n.options)), this.init(t, n);
22341
+ super(t, n), this.model.setOptions(kt(wt.scatterChart, n.options)), this.init(t, n);
22316
22342
  }
22317
22343
  getComponents() {
22318
22344
  const t = [
@@ -22329,7 +22355,7 @@ class jH extends de {
22329
22355
  }
22330
22356
  class WH extends Fe {
22331
22357
  constructor(t, n) {
22332
- super(t, n), this.model = new WL(this.services), this.model.setOptions(Dt(_t.treeChart, n.options)), this.init(t, n);
22358
+ super(t, n), this.model = new WL(this.services), this.model.setOptions(kt(wt.treeChart, n.options)), this.init(t, n);
22333
22359
  }
22334
22360
  getComponents() {
22335
22361
  const t = [new ZN(this.model, this.services)];
@@ -22340,7 +22366,7 @@ class WH extends Fe {
22340
22366
  }
22341
22367
  class qH extends Fe {
22342
22368
  constructor(t, n) {
22343
- super(t, n), this.model = new qL(this.services), this.model.setOptions(Dt(_t.treemapChart, n.options)), this.init(t, n);
22369
+ super(t, n), this.model = new qL(this.services), this.model.setOptions(kt(wt.treemapChart, n.options)), this.init(t, n);
22344
22370
  }
22345
22371
  getComponents() {
22346
22372
  const t = [new OB(this.model, this.services)];
@@ -22349,7 +22375,7 @@ class qH extends Fe {
22349
22375
  }
22350
22376
  class YH extends de {
22351
22377
  constructor(t, n) {
22352
- super(t, n), this.model.setOptions(Dt(_t.simpleBarChart, n.options)), this.init(t, n);
22378
+ super(t, n), this.model.setOptions(kt(wt.simpleBarChart, n.options)), this.init(t, n);
22353
22379
  }
22354
22380
  getComponents() {
22355
22381
  const t = [
@@ -22366,7 +22392,7 @@ class YH extends de {
22366
22392
  }
22367
22393
  class XH extends de {
22368
22394
  constructor(t, n) {
22369
- super(t, n), this.model.setOptions(Dt(_t.stackedAreaChart, n.options)), this.init(t, n);
22395
+ super(t, n), this.model.setOptions(kt(wt.stackedAreaChart, n.options)), this.init(t, n);
22370
22396
  }
22371
22397
  getComponents() {
22372
22398
  const t = [
@@ -22389,7 +22415,7 @@ class XH extends de {
22389
22415
  }
22390
22416
  class ZH extends de {
22391
22417
  constructor(t, n) {
22392
- super(t, n), this.model.setOptions(Dt(_t.stackedBarChart, n.options)), this.init(t, n);
22418
+ super(t, n), this.model.setOptions(kt(wt.stackedBarChart, n.options)), this.init(t, n);
22393
22419
  }
22394
22420
  getComponents() {
22395
22421
  const t = [
@@ -22407,7 +22433,7 @@ class ZH extends de {
22407
22433
  }
22408
22434
  class KH extends Fe {
22409
22435
  constructor(t, n) {
22410
- super(t, n), this.model = new YL(this.services), this.model.setOptions(Dt(_t.wordCloudChart, n.options)), this.init(t, n);
22436
+ super(t, n), this.model = new YL(this.services), this.model.setOptions(kt(wt.wordCloudChart, n.options)), this.init(t, n);
22411
22437
  }
22412
22438
  getComponents() {
22413
22439
  const t = [
@@ -22419,7 +22445,7 @@ class KH extends Fe {
22419
22445
  return this.getChartComponents(t);
22420
22446
  }
22421
22447
  }
22422
- function Lt(e, t) {
22448
+ function Dt(e, t) {
22423
22449
  return D0({
22424
22450
  name: t,
22425
22451
  props: {
@@ -22454,10 +22480,10 @@ function Lt(e, t) {
22454
22480
  template: '<div ref="chartDiv"></div>'
22455
22481
  });
22456
22482
  }
22457
- const QH = Lt(CH, "CcvAlluvialChart"), JH = Lt(AH, "CcvAreaChart"), t3 = Lt($H, "CcvBoxplotChart"), e3 = Lt(LH, "CcvBubbleChart"), n3 = Lt(DH, "CcvBulletChart"), r3 = Lt(
22483
+ const QH = Dt(CH, "CcvAlluvialChart"), JH = Dt(AH, "CcvAreaChart"), t3 = Dt($H, "CcvBoxplotChart"), e3 = Dt(LH, "CcvBubbleChart"), n3 = Dt(DH, "CcvBulletChart"), r3 = Dt(
22458
22484
  kH,
22459
22485
  "ExperimentalCcvChoroplethChart"
22460
- ), i3 = Lt(RH, "CcvCirclePackChart"), s3 = Lt(IH, "CcvComboChart"), a3 = Lt(NH, "CcvDonutChart"), o3 = Lt(PH, "CcvGaugeChart"), l3 = Lt(UH, "CcvGroupedBarChart"), c3 = Lt(BH, "CcvHeatmapChart"), u3 = Lt(HH, "CcvHistogramChart"), h3 = Lt(VH, "CcvLineChart"), d3 = Lt(FH, "CcvLollipopChart"), f3 = Lt(GH, "CcvMeterChart"), p3 = Lt(_0, "CcvPieChart"), m3 = Lt(zH, "CcvRadarChart"), g3 = Lt(jH, "CcvScatterChart"), v3 = Lt(YH, "CcvSimpleBarChart"), y3 = Lt(XH, "CcvStackedAreaChart"), x3 = Lt(ZH, "CcvStackedBarChart"), b3 = Lt(WH, "CcvTreeChart"), E3 = Lt(qH, "CcvTreemapChart"), _3 = Lt(KH, "CcvWordCloudChart"), w3 = [
22486
+ ), i3 = Dt(RH, "CcvCirclePackChart"), s3 = Dt(IH, "CcvComboChart"), a3 = Dt(NH, "CcvDonutChart"), o3 = Dt(PH, "CcvGaugeChart"), l3 = Dt(UH, "CcvGroupedBarChart"), c3 = Dt(BH, "CcvHeatmapChart"), u3 = Dt(HH, "CcvHistogramChart"), h3 = Dt(VH, "CcvLineChart"), d3 = Dt(FH, "CcvLollipopChart"), f3 = Dt(GH, "CcvMeterChart"), p3 = Dt(_0, "CcvPieChart"), m3 = Dt(zH, "CcvRadarChart"), g3 = Dt(jH, "CcvScatterChart"), v3 = Dt(YH, "CcvSimpleBarChart"), y3 = Dt(XH, "CcvStackedAreaChart"), x3 = Dt(ZH, "CcvStackedBarChart"), b3 = Dt(WH, "CcvTreeChart"), E3 = Dt(qH, "CcvTreemapChart"), _3 = Dt(KH, "CcvWordCloudChart"), w3 = [
22461
22487
  QH,
22462
22488
  JH,
22463
22489
  t3,