@carbon/charts 1.22.14 → 1.22.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,14 @@
1
- import { t as Hr, $ as il, i as al, a0 as Br, a1 as zr, a2 as rl, a3 as ol, a4 as ll, a5 as cl, a6 as ul, a7 as Ur, a8 as va, a9 as nn, g as L, p as Kt, a as en, C as ya, aa as xt, w as At, ab as wn, H as jt, E as Ea, ac as Fr, ad as Ls, c as hl, ae as Ee, I as hi, K as di, e as se, af as vn, ag as ge, f as ve, x as me, ah as dl, h as je, O as pl, ai as Re, z as Et, l as qt, aj as Gt, ak as fl, M as gl, al as Wr, y as _t, q as un, n as Hn, am as Ps, an as ml, ao as vl, ap as pi, aq as xa, A as Le, ar as Sa, as as Xr, at as yl } from "./color-scale-utils-BfTM18gQ.mjs";
2
- import { y as at, $ as T, N as Tt, r as Te, q as Be, L as El, A as te, m as nt, s as Ae, W as Ke, S as Ct, e as J, Z as ze, i as Wt, f as Ta, J as $s, d as xl, F as Bn, n as Vs, H as Gs, C as Hs, p as zn, b as ba, D as Bs, U as Sl, x as Me, a0 as Un, O as zs } from "./axis-scales-CPuwbFQf.mjs";
1
+ import { t as Hr, $ as il, i as al, a0 as rl, a1 as Br, a2 as zr, a3 as ol, a4 as ll, a5 as cl, a6 as ul, a7 as Ur, a8 as va, a9 as nn, g as L, p as Kt, a as en, C as ya, aa as xt, w as At, ab as wn, E as Ea, H as jt, ac as Fr, ad as Os, c as hl, ae as Ee, I as ui, K as hi, e as se, af as vn, ag as ge, f as ve, x as me, ah as dl, h as je, O as pl, ai as Re, z as Et, l as qt, aj as Gt, ak as fl, M as gl, al as Wr, y as _t, q as un, n as Hn, am as Ns, an as ml, ao as vl, ap as di, aq as xa, A as Le, ar as Sa, as as Xr, at as yl } from "./color-scale-utils-ycwO-Ibq.mjs";
2
+ import { y as at, $ as T, N as Tt, r as Te, q as Be, L as El, A as te, m as nt, s as Ae, W as Ke, S as kt, e as J, Z as ze, i as Xt, f as Ta, J as Ps, d as xl, F as Bn, n as $s, H as Vs, C as Gs, p as zn, b as ba, D as Hs, U as Sl, x as Me, a0 as Un, O as Bs } from "./axis-scales-CPuwbFQf.mjs";
3
3
  import { R as lt } from "./a11y-ePqvrObQ.mjs";
4
- import { t as ns, s as D, c as Oa, e as we, f as le, h as La, g as zt, i as ss, j as Je, m as Us, k as Aa, l as Rt, n as Ma, o as Tl, q as bl, u as Hi, D as I, v as Ol, w as fi, G as wa, x as Bi, y as Ll, a as Al, p as bt, r as ka, b as Ml } from "./angle-utils-oUqMSPUJ.mjs";
5
- import { b as Yr, c as pt, a as zi, s as wl } from "./array-CpT8VxH2.mjs";
6
- function kl(i, t, e, n) {
4
+ import { t as ns, s as D, h as Oa, e as Ut, c as ss, f as we, g as le, m as zs, i as La, j as Aa, k as Je, l as Rt, n as Ma, o as Tl, q as bl, u as Hi, D as I, v as Ol, w as pi, G as wa, x as Bi, y as Ll, a as Al, p as bt, r as Ca, b as Ml } from "./angle-utils-CqlSifly.mjs";
5
+ import { b as Yr, c as pt, a as zi, s as wl } from "./array-j65rN_vo.mjs";
6
+ function Cl(i, t, e, n) {
7
7
  for (var s = -1, a = i == null ? 0 : i.length; ++s < a; )
8
8
  e = t(e, i[s], s, i);
9
9
  return e;
10
10
  }
11
- function Cl(i) {
11
+ function kl(i) {
12
12
  return function(t) {
13
13
  return i == null ? void 0 : i[t];
14
14
  };
@@ -206,7 +206,7 @@ var _l = {
206
206
  œ: "oe",
207
207
  ʼn: "'n",
208
208
  ſ: "s"
209
- }, Il = Cl(_l), Rl = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Dl = "\\u0300-\\u036f", Nl = "\\ufe20-\\ufe2f", Pl = "\\u20d0-\\u20ff", $l = Dl + Nl + Pl, Vl = "[" + $l + "]", Gl = RegExp(Vl, "g");
209
+ }, Il = kl(_l), Rl = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Dl = "\\u0300-\\u036f", Nl = "\\ufe20-\\ufe2f", Pl = "\\u20d0-\\u20ff", $l = Dl + Nl + Pl, Vl = "[" + $l + "]", Gl = RegExp(Vl, "g");
210
210
  function Hl(i) {
211
211
  return i = Hr(i), i && i.replace(Rl, Il).replace(Gl, "");
212
212
  }
@@ -218,9 +218,9 @@ var Ul = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
218
218
  function Fl(i) {
219
219
  return Ul.test(i);
220
220
  }
221
- var Zr = "\\ud800-\\udfff", Wl = "\\u0300-\\u036f", Xl = "\\ufe20-\\ufe2f", Yl = "\\u20d0-\\u20ff", Zl = Wl + Xl + Yl, qr = "\\u2700-\\u27bf", jr = "a-z\\xdf-\\xf6\\xf8-\\xff", ql = "\\xac\\xb1\\xd7\\xf7", jl = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Kl = "\\u2000-\\u206f", Jl = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Kr = "A-Z\\xc0-\\xd6\\xd8-\\xde", Ql = "\\ufe0e\\ufe0f", Jr = ql + jl + Kl + Jl, Qr = "['’]", Ca = "[" + Jr + "]", tc = "[" + Zl + "]", to = "\\d+", ec = "[" + qr + "]", eo = "[" + jr + "]", no = "[^" + Zr + Jr + to + qr + jr + Kr + "]", nc = "\\ud83c[\\udffb-\\udfff]", sc = "(?:" + tc + "|" + nc + ")", ic = "[^" + Zr + "]", so = "(?:\\ud83c[\\udde6-\\uddff]){2}", io = "[\\ud800-\\udbff][\\udc00-\\udfff]", Ye = "[" + Kr + "]", ac = "\\u200d", _a = "(?:" + eo + "|" + no + ")", rc = "(?:" + Ye + "|" + no + ")", Ia = "(?:" + Qr + "(?:d|ll|m|re|s|t|ve))?", Ra = "(?:" + Qr + "(?:D|LL|M|RE|S|T|VE))?", ao = sc + "?", ro = "[" + Ql + "]?", oc = "(?:" + ac + "(?:" + [ic, so, io].join("|") + ")" + ro + ao + ")*", lc = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", cc = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", uc = ro + ao + oc, hc = "(?:" + [ec, so, io].join("|") + ")" + uc, dc = RegExp([
222
- Ye + "?" + eo + "+" + Ia + "(?=" + [Ca, Ye, "$"].join("|") + ")",
223
- rc + "+" + Ra + "(?=" + [Ca, Ye + _a, "$"].join("|") + ")",
221
+ var Zr = "\\ud800-\\udfff", Wl = "\\u0300-\\u036f", Xl = "\\ufe20-\\ufe2f", Yl = "\\u20d0-\\u20ff", Zl = Wl + Xl + Yl, qr = "\\u2700-\\u27bf", jr = "a-z\\xdf-\\xf6\\xf8-\\xff", ql = "\\xac\\xb1\\xd7\\xf7", jl = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Kl = "\\u2000-\\u206f", Jl = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Kr = "A-Z\\xc0-\\xd6\\xd8-\\xde", Ql = "\\ufe0e\\ufe0f", Jr = ql + jl + Kl + Jl, Qr = "['’]", ka = "[" + Jr + "]", tc = "[" + Zl + "]", to = "\\d+", ec = "[" + qr + "]", eo = "[" + jr + "]", no = "[^" + Zr + Jr + to + qr + jr + Kr + "]", nc = "\\ud83c[\\udffb-\\udfff]", sc = "(?:" + tc + "|" + nc + ")", ic = "[^" + Zr + "]", so = "(?:\\ud83c[\\udde6-\\uddff]){2}", io = "[\\ud800-\\udbff][\\udc00-\\udfff]", Ye = "[" + Kr + "]", ac = "\\u200d", _a = "(?:" + eo + "|" + no + ")", rc = "(?:" + Ye + "|" + no + ")", Ia = "(?:" + Qr + "(?:d|ll|m|re|s|t|ve))?", Ra = "(?:" + Qr + "(?:D|LL|M|RE|S|T|VE))?", ao = sc + "?", ro = "[" + Ql + "]?", oc = "(?:" + ac + "(?:" + [ic, so, io].join("|") + ")" + ro + ao + ")*", lc = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", cc = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", uc = ro + ao + oc, hc = "(?:" + [ec, so, io].join("|") + ")" + uc, dc = RegExp([
222
+ Ye + "?" + eo + "+" + Ia + "(?=" + [ka, Ye, "$"].join("|") + ")",
223
+ rc + "+" + Ra + "(?=" + [ka, Ye + _a, "$"].join("|") + ")",
224
224
  Ye + "?" + _a + "+" + Ia,
225
225
  Ye + "+" + Ra,
226
226
  cc,
@@ -237,7 +237,7 @@ function fc(i, t, e) {
237
237
  var gc = "['’]", mc = RegExp(gc, "g");
238
238
  function vc(i) {
239
239
  return function(t) {
240
- return kl(fc(Hl(t).replace(mc, "")), i, "");
240
+ return Cl(fc(Hl(t).replace(mc, "")), i, "");
241
241
  };
242
242
  }
243
243
  function yc(i, t, e) {
@@ -318,11 +318,11 @@ function* wc(i) {
318
318
  function co(i) {
319
319
  return Array.from(wc(i));
320
320
  }
321
- function kc(i) {
321
+ function Cc(i) {
322
322
  return i;
323
323
  }
324
- var is = 1, as = 2, gi = 3, yn = 4, Da = 1e-6;
325
- function Cc(i) {
324
+ var is = 1, as = 2, fi = 3, yn = 4, Da = 1e-6;
325
+ function kc(i) {
326
326
  return "translate(" + i + ",0)";
327
327
  }
328
328
  function _c(i) {
@@ -337,16 +337,16 @@ function Rc(i, t) {
337
337
  function Dc() {
338
338
  return !this.__axis;
339
339
  }
340
- function As(i, t) {
341
- var e = [], n = null, s = null, a = 6, r = 6, o = 3, c = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, l = i === is || i === yn ? -1 : 1, h = i === yn || i === as ? "x" : "y", d = i === is || i === gi ? Cc : _c;
340
+ function Ls(i, t) {
341
+ var e = [], n = null, s = null, a = 6, r = 6, o = 3, c = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, l = i === is || i === yn ? -1 : 1, h = i === yn || i === as ? "x" : "y", d = i === is || i === fi ? kc : _c;
342
342
  function u(p) {
343
- var f = n ?? (t.ticks ? t.ticks.apply(t, e) : t.domain()), g = s ?? (t.tickFormat ? t.tickFormat.apply(t, e) : kc), m = Math.max(a, 0) + o, y = t.range(), S = +y[0] + c, v = +y[y.length - 1] + c, E = (t.bandwidth ? Rc : Ic)(t.copy(), c), x = p.selection ? p.selection() : p, b = x.selectAll(".domain").data([null]), _ = x.selectAll(".tick").data(f, t).order(), C = _.exit(), G = _.enter().append("g").attr("class", "tick"), R = _.select("line"), A = _.select("text");
344
- b = b.merge(b.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), _ = _.merge(G), R = R.merge(G.append("line").attr("stroke", "currentColor").attr(h + "2", l * a)), A = A.merge(G.append("text").attr("fill", "currentColor").attr(h, l * m).attr("dy", i === is ? "0em" : i === gi ? "0.71em" : "0.32em")), p !== x && (b = b.transition(p), _ = _.transition(p), R = R.transition(p), A = A.transition(p), C = C.transition(p).attr("opacity", Da).attr("transform", function(H) {
343
+ var f = n ?? (t.ticks ? t.ticks.apply(t, e) : t.domain()), g = s ?? (t.tickFormat ? t.tickFormat.apply(t, e) : Cc), m = Math.max(a, 0) + o, y = t.range(), S = +y[0] + c, v = +y[y.length - 1] + c, E = (t.bandwidth ? Rc : Ic)(t.copy(), c), x = p.selection ? p.selection() : p, b = x.selectAll(".domain").data([null]), _ = x.selectAll(".tick").data(f, t).order(), k = _.exit(), G = _.enter().append("g").attr("class", "tick"), R = _.select("line"), A = _.select("text");
344
+ b = b.merge(b.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), _ = _.merge(G), R = R.merge(G.append("line").attr("stroke", "currentColor").attr(h + "2", l * a)), A = A.merge(G.append("text").attr("fill", "currentColor").attr(h, l * m).attr("dy", i === is ? "0em" : i === fi ? "0.71em" : "0.32em")), p !== x && (b = b.transition(p), _ = _.transition(p), R = R.transition(p), A = A.transition(p), k = k.transition(p).attr("opacity", Da).attr("transform", function(H) {
345
345
  return isFinite(H = E(H)) ? d(H + c) : this.getAttribute("transform");
346
346
  }), G.attr("opacity", Da).attr("transform", function(H) {
347
347
  var N = this.parentNode.__axis;
348
348
  return d((N && isFinite(N = N(H)) ? N : E(H)) + c);
349
- })), C.remove(), b.attr("d", i === yn || i === as ? r ? "M" + l * r + "," + S + "H" + c + "V" + v + "H" + l * r : "M" + c + "," + S + "V" + v : r ? "M" + S + "," + l * r + "V" + c + "H" + v + "V" + l * r : "M" + S + "," + c + "H" + v), _.attr("opacity", 1).attr("transform", function(H) {
349
+ })), k.remove(), b.attr("d", i === yn || i === as ? r ? "M" + l * r + "," + S + "H" + c + "V" + v + "H" + l * r : "M" + c + "," + S + "V" + v : r ? "M" + S + "," + l * r + "V" + c + "H" + v + "V" + l * r : "M" + S + "," + c + "H" + v), _.attr("opacity", 1).attr("transform", function(H) {
350
350
  return d(E(H) + c);
351
351
  }), R.attr(h + "2", l * a), A.attr(h, l * m).text(g), x.filter(Dc).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", i === as ? "start" : i === yn ? "end" : "middle"), x.each(function() {
352
352
  this.__axis = E;
@@ -375,28 +375,28 @@ function As(i, t) {
375
375
  }, u;
376
376
  }
377
377
  function Nc(i) {
378
- return As(is, i);
378
+ return Ls(is, i);
379
379
  }
380
380
  function Pc(i) {
381
- return As(as, i);
381
+ return Ls(as, i);
382
382
  }
383
383
  function Ui(i) {
384
- return As(gi, i);
384
+ return Ls(fi, i);
385
385
  }
386
386
  function uo(i) {
387
- return As(yn, i);
387
+ return Ls(yn, i);
388
388
  }
389
- const mi = { capture: !0, passive: !1 };
390
- function vi(i) {
389
+ const gi = { capture: !0, passive: !1 };
390
+ function mi(i) {
391
391
  i.preventDefault(), i.stopImmediatePropagation();
392
392
  }
393
393
  function $c(i) {
394
- var t = i.document.documentElement, e = D(i).on("dragstart.drag", vi, mi);
395
- "onselectstart" in t ? e.on("selectstart.drag", vi, mi) : (t.__noselect = t.style.MozUserSelect, t.style.MozUserSelect = "none");
394
+ var t = i.document.documentElement, e = D(i).on("dragstart.drag", mi, gi);
395
+ "onselectstart" in t ? e.on("selectstart.drag", mi, gi) : (t.__noselect = t.style.MozUserSelect, t.style.MozUserSelect = "none");
396
396
  }
397
397
  function Vc(i, t) {
398
398
  var e = i.document.documentElement, n = D(i).on("dragstart.drag", null);
399
- t && (n.on("click.drag", vi, mi), setTimeout(function() {
399
+ t && (n.on("click.drag", mi, gi), setTimeout(function() {
400
400
  n.on("click.drag", null);
401
401
  }, 0)), "onselectstart" in e ? n.on("selectstart.drag", null) : (e.style.MozUserSelect = e.__noselect, delete e.__noselect);
402
402
  }
@@ -404,7 +404,7 @@ function Gc(i, t) {
404
404
  for (var e = new Array(t), n = 0; n < t; ++n) e[n] = i(n / (t - 1));
405
405
  return e;
406
406
  }
407
- const Hc = (i) => +i, Fs = (i) => () => i;
407
+ const Hc = (i) => +i, Us = (i) => () => i;
408
408
  function Bc(i, {
409
409
  sourceEvent: t,
410
410
  target: e,
@@ -424,10 +424,10 @@ function Bc(i, {
424
424
  function zc(i) {
425
425
  i.stopImmediatePropagation();
426
426
  }
427
- function Ws(i) {
427
+ function Fs(i) {
428
428
  i.preventDefault(), i.stopImmediatePropagation();
429
429
  }
430
- var Na = { name: "drag" }, Xs = { name: "space" }, Fe = { name: "handle" }, We = { name: "center" };
430
+ var Na = { name: "drag" }, Ws = { name: "space" }, Fe = { name: "handle" }, We = { name: "center" };
431
431
  const { abs: Pa, max: Dt, min: Nt } = Math;
432
432
  function $a(i) {
433
433
  return [+i[0], +i[1]];
@@ -437,23 +437,14 @@ function Va(i) {
437
437
  }
438
438
  var rs = {
439
439
  name: "x",
440
- handles: ["w", "e"].map(hs),
440
+ handles: ["w", "e"].map(vi),
441
441
  input: function(i, t) {
442
442
  return i == null ? null : [[+i[0], t[0][1]], [+i[1], t[1][1]]];
443
443
  },
444
444
  output: function(i) {
445
445
  return i && [i[0][0], i[1][0]];
446
446
  }
447
- }, Ys = {
448
- name: "y",
449
- handles: ["n", "s"].map(hs),
450
- input: function(i, t) {
451
- return i == null ? null : [[t[0][0], +i[0]], [t[1][0], +i[1]]];
452
- },
453
- output: function(i) {
454
- return i && [i[0][1], i[1][1]];
455
- }
456
- }, fe = {
447
+ }, Xs = {}, fe = {
457
448
  overlay: "crosshair",
458
449
  selection: "move",
459
450
  n: "ns-resize",
@@ -501,7 +492,7 @@ var rs = {
501
492
  se: 1,
502
493
  sw: 1
503
494
  };
504
- function hs(i) {
495
+ function vi(i) {
505
496
  return { type: i };
506
497
  }
507
498
  function Wc(i) {
@@ -514,7 +505,7 @@ function Xc() {
514
505
  function Yc() {
515
506
  return navigator.maxTouchPoints || "ontouchstart" in this;
516
507
  }
517
- function Zs(i) {
508
+ function Ys(i) {
518
509
  for (; !i.__brush; ) if (!(i = i.parentNode)) return;
519
510
  return i.__brush;
520
511
  }
@@ -527,11 +518,11 @@ function ho() {
527
518
  function qc(i) {
528
519
  var t = Xc, e = Wc, n = Yc, s = !0, a = ul("start", "brush", "end"), r = 6, o;
529
520
  function c(m) {
530
- var y = m.property("__brush", g).selectAll(".overlay").data([hs("overlay")]);
521
+ var y = m.property("__brush", g).selectAll(".overlay").data([vi("overlay")]);
531
522
  y.enter().append("rect").attr("class", "overlay").attr("pointer-events", "all").attr("cursor", fe.overlay).merge(y).each(function() {
532
- var v = Zs(this).extent;
523
+ var v = Ys(this).extent;
533
524
  D(this).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]);
534
- }), m.selectAll(".selection").data([hs("selection")]).enter().append("rect").attr("class", "selection").attr("cursor", fe.selection).attr("fill", "#777").attr("fill-opacity", 0.3).attr("stroke", "#fff").attr("shape-rendering", "crispEdges");
525
+ }), m.selectAll(".selection").data([vi("selection")]).enter().append("rect").attr("class", "selection").attr("cursor", fe.selection).attr("fill", "#777").attr("fill-opacity", 0.3).attr("stroke", "#fff").attr("shape-rendering", "crispEdges");
535
526
  var S = m.selectAll(".handle").data(i.handles, function(v) {
536
527
  return v.type;
537
528
  });
@@ -547,9 +538,9 @@ function qc(i) {
547
538
  }).on("interrupt.brush end.brush", function(v) {
548
539
  h(this, arguments).end(v);
549
540
  }).tween("brush", function() {
550
- var v = this, E = v.__brush, x = h(v, arguments), b = E.selection, _ = i.input(typeof y == "function" ? y.apply(this, arguments) : y, E.extent), C = Ur(b, _);
541
+ var v = this, E = v.__brush, x = h(v, arguments), b = E.selection, _ = i.input(typeof y == "function" ? y.apply(this, arguments) : y, E.extent), k = Ur(b, _);
551
542
  function G(R) {
552
- E.selection = R === 1 && _ === null ? null : C(R), l.call(v), x.brush();
543
+ E.selection = R === 1 && _ === null ? null : k(R), l.call(v), x.brush();
553
544
  }
554
545
  return b !== null && _ !== null ? G : G(1);
555
546
  }) : m.each(function() {
@@ -560,7 +551,7 @@ function qc(i) {
560
551
  c.move(m, null, y);
561
552
  };
562
553
  function l() {
563
- var m = D(this), y = Zs(this).selection;
554
+ var m = D(this), y = Ys(this).selection;
564
555
  y ? (m.selectAll(".selection").style("display", null).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]), m.selectAll(".handle").style("display", null).attr("x", function(S) {
565
556
  return S.type[S.type.length - 1] === "e" ? y[1][0] - r / 2 : y[0][0] - r / 2;
566
557
  }).attr("y", function(S) {
@@ -609,24 +600,24 @@ function qc(i) {
609
600
  };
610
601
  function u(m) {
611
602
  if (o && !m.touches || !e.apply(this, arguments)) return;
612
- var y = this, S = m.target.__data__.type, v = (s && m.metaKey ? S = "overlay" : S) === "selection" ? Na : s && m.altKey ? We : Fe, E = i === Ys ? null : Uc[S], x = i === rs ? null : Fc[S], b = Zs(y), _ = b.extent, C = b.selection, G = _[0][0], R, A, H = _[0][1], N, M, O = _[1][0], P, $, k = _[1][1], V, q, W = 0, F = 0, Z, rt = E && x && s && m.shiftKey, j, Y, K = Array.from(m.touches || [m], (et) => {
603
+ var y = this, S = m.target.__data__.type, v = (s && m.metaKey ? S = "overlay" : S) === "selection" ? Na : s && m.altKey ? We : Fe, E = i === Xs ? null : Uc[S], x = i === rs ? null : Fc[S], b = Ys(y), _ = b.extent, k = b.selection, G = _[0][0], R, A, H = _[0][1], N, M, O = _[1][0], P, $, C = _[1][1], V, q, X = 0, F = 0, Z, rt = E && x && s && m.shiftKey, j, Y, K = Array.from(m.touches || [m], (et) => {
613
604
  const yt = et.identifier;
614
605
  return et = nn(et, y), et.point0 = et.slice(), et.identifier = yt, et;
615
606
  });
616
607
  va(y);
617
608
  var ot = h(y, arguments, !0).beforestart();
618
609
  if (S === "overlay") {
619
- C && (Z = !0);
610
+ k && (Z = !0);
620
611
  const et = [K[0], K[1] || K[0]];
621
- b.selection = C = [[
622
- R = i === Ys ? G : Nt(et[0][0], et[1][0]),
612
+ b.selection = k = [[
613
+ R = i === Xs ? G : Nt(et[0][0], et[1][0]),
623
614
  N = i === rs ? H : Nt(et[0][1], et[1][1])
624
615
  ], [
625
- P = i === Ys ? O : Dt(et[0][0], et[1][0]),
626
- V = i === rs ? k : Dt(et[0][1], et[1][1])
616
+ P = i === Xs ? O : Dt(et[0][0], et[1][0]),
617
+ V = i === rs ? C : Dt(et[0][1], et[1][1])
627
618
  ]], K.length > 1 && z(m);
628
619
  } else
629
- R = C[0][0], N = C[0][1], P = C[1][0], V = C[1][1];
620
+ R = k[0][0], N = k[0][1], P = k[1][0], V = k[1][1];
630
621
  A = R, M = N, $ = P, q = V;
631
622
  var ct = D(y).attr("pointer-events", "none"), st = ct.selectAll(".overlay").attr("cursor", fe[S]);
632
623
  if (m.touches)
@@ -646,27 +637,27 @@ function qc(i) {
646
637
  }
647
638
  for (const yt of K)
648
639
  yt.cur && (yt[0] = yt.cur[0], yt[1] = yt.cur[1]);
649
- Z = !0, Ws(et), z(et);
640
+ Z = !0, Fs(et), z(et);
650
641
  }
651
642
  function z(et) {
652
643
  const yt = K[0], Zt = yt.point0;
653
- var Ft;
654
- switch (W = yt[0] - Zt[0], F = yt[1] - Zt[1], v) {
655
- case Xs:
644
+ var Wt;
645
+ switch (X = yt[0] - Zt[0], F = yt[1] - Zt[1], v) {
646
+ case Ws:
656
647
  case Na: {
657
- E && (W = Dt(G - R, Nt(O - P, W)), A = R + W, $ = P + W), x && (F = Dt(H - N, Nt(k - V, F)), M = N + F, q = V + F);
648
+ E && (X = Dt(G - R, Nt(O - P, X)), A = R + X, $ = P + X), x && (F = Dt(H - N, Nt(C - V, F)), M = N + F, q = V + F);
658
649
  break;
659
650
  }
660
651
  case Fe: {
661
- K[1] ? (E && (A = Dt(G, Nt(O, K[0][0])), $ = Dt(G, Nt(O, K[1][0])), E = 1), x && (M = Dt(H, Nt(k, K[0][1])), q = Dt(H, Nt(k, K[1][1])), x = 1)) : (E < 0 ? (W = Dt(G - R, Nt(O - R, W)), A = R + W, $ = P) : E > 0 && (W = Dt(G - P, Nt(O - P, W)), A = R, $ = P + W), x < 0 ? (F = Dt(H - N, Nt(k - N, F)), M = N + F, q = V) : x > 0 && (F = Dt(H - V, Nt(k - V, F)), M = N, q = V + F));
652
+ K[1] ? (E && (A = Dt(G, Nt(O, K[0][0])), $ = Dt(G, Nt(O, K[1][0])), E = 1), x && (M = Dt(H, Nt(C, K[0][1])), q = Dt(H, Nt(C, K[1][1])), x = 1)) : (E < 0 ? (X = Dt(G - R, Nt(O - R, X)), A = R + X, $ = P) : E > 0 && (X = Dt(G - P, Nt(O - P, X)), A = R, $ = P + X), x < 0 ? (F = Dt(H - N, Nt(C - N, F)), M = N + F, q = V) : x > 0 && (F = Dt(H - V, Nt(C - V, F)), M = N, q = V + F));
662
653
  break;
663
654
  }
664
655
  case We: {
665
- E && (A = Dt(G, Nt(O, R - W * E)), $ = Dt(G, Nt(O, P + W * E))), x && (M = Dt(H, Nt(k, N - F * x)), q = Dt(H, Nt(k, V + F * x)));
656
+ E && (A = Dt(G, Nt(O, R - X * E)), $ = Dt(G, Nt(O, P + X * E))), x && (M = Dt(H, Nt(C, N - F * x)), q = Dt(H, Nt(C, V + F * x)));
666
657
  break;
667
658
  }
668
659
  }
669
- $ < A && (E *= -1, Ft = R, R = P, P = Ft, Ft = A, A = $, $ = Ft, S in Ga && st.attr("cursor", fe[S = Ga[S]])), q < M && (x *= -1, Ft = N, N = V, V = Ft, Ft = M, M = q, q = Ft, S in Ha && st.attr("cursor", fe[S = Ha[S]])), b.selection && (C = b.selection), j && (A = C[0][0], $ = C[1][0]), Y && (M = C[0][1], q = C[1][1]), (C[0][0] !== A || C[0][1] !== M || C[1][0] !== $ || C[1][1] !== q) && (b.selection = [[A, M], [$, q]], l.call(y), ot.brush(et, v.name));
660
+ $ < A && (E *= -1, Wt = R, R = P, P = Wt, Wt = A, A = $, $ = Wt, S in Ga && st.attr("cursor", fe[S = Ga[S]])), q < M && (x *= -1, Wt = N, N = V, V = Wt, Wt = M, M = q, q = Wt, S in Ha && st.attr("cursor", fe[S = Ha[S]])), b.selection && (k = b.selection), j && (A = k[0][0], $ = k[1][0]), Y && (M = k[0][1], q = k[1][1]), (k[0][0] !== A || k[0][1] !== M || k[1][0] !== $ || k[1][1] !== q) && (b.selection = [[A, M], [$, q]], l.call(y), ot.brush(et, v.name));
670
661
  }
671
662
  function U(et) {
672
663
  if (zc(et), et.touches) {
@@ -676,7 +667,7 @@ function qc(i) {
676
667
  }, 500);
677
668
  } else
678
669
  Vc(et.view, Z), it.on("keydown.brush keyup.brush mousemove.brush mouseup.brush", null);
679
- ct.attr("pointer-events", "all"), st.attr("cursor", fe.overlay), b.selection && (C = b.selection), Zc(C) && (b.selection = null, l.call(y)), ot.end(et, v.name);
670
+ ct.attr("pointer-events", "all"), st.attr("cursor", fe.overlay), b.selection && (k = b.selection), Zc(k) && (b.selection = null, l.call(y)), ot.end(et, v.name);
680
671
  }
681
672
  function Mt(et) {
682
673
  switch (et.keyCode) {
@@ -685,17 +676,17 @@ function qc(i) {
685
676
  break;
686
677
  }
687
678
  case 18: {
688
- v === Fe && (E && (P = $ - W * E, R = A + W * E), x && (V = q - F * x, N = M + F * x), v = We, z(et));
679
+ v === Fe && (E && (P = $ - X * E, R = A + X * E), x && (V = q - F * x, N = M + F * x), v = We, z(et));
689
680
  break;
690
681
  }
691
682
  case 32: {
692
- (v === Fe || v === We) && (E < 0 ? P = $ - W : E > 0 && (R = A - W), x < 0 ? V = q - F : x > 0 && (N = M - F), v = Xs, st.attr("cursor", fe.selection), z(et));
683
+ (v === Fe || v === We) && (E < 0 ? P = $ - X : E > 0 && (R = A - X), x < 0 ? V = q - F : x > 0 && (N = M - F), v = Ws, st.attr("cursor", fe.selection), z(et));
693
684
  break;
694
685
  }
695
686
  default:
696
687
  return;
697
688
  }
698
- Ws(et);
689
+ Fs(et);
699
690
  }
700
691
  function Se(et) {
701
692
  switch (et.keyCode) {
@@ -708,13 +699,13 @@ function qc(i) {
708
699
  break;
709
700
  }
710
701
  case 32: {
711
- v === Xs && (et.altKey ? (E && (P = $ - W * E, R = A + W * E), x && (V = q - F * x, N = M + F * x), v = We) : (E < 0 ? P = $ : E > 0 && (R = A), x < 0 ? V = q : x > 0 && (N = M), v = Fe), st.attr("cursor", fe[S]), z(et));
702
+ v === Ws && (et.altKey ? (E && (P = $ - X * E, R = A + X * E), x && (V = q - F * x, N = M + F * x), v = We) : (E < 0 ? P = $ : E > 0 && (R = A), x < 0 ? V = q : x > 0 && (N = M), v = Fe), st.attr("cursor", fe[S]), z(et));
712
703
  break;
713
704
  }
714
705
  default:
715
706
  return;
716
707
  }
717
- Ws(et);
708
+ Fs(et);
718
709
  }
719
710
  }
720
711
  function p(m) {
@@ -728,11 +719,11 @@ function qc(i) {
728
719
  return m.extent = Va(t.apply(this, arguments)), m.dim = i, m;
729
720
  }
730
721
  return c.extent = function(m) {
731
- return arguments.length ? (t = typeof m == "function" ? m : Fs(Va(m)), c) : t;
722
+ return arguments.length ? (t = typeof m == "function" ? m : Us(Va(m)), c) : t;
732
723
  }, c.filter = function(m) {
733
- return arguments.length ? (e = typeof m == "function" ? m : Fs(!!m), c) : e;
724
+ return arguments.length ? (e = typeof m == "function" ? m : Us(!!m), c) : e;
734
725
  }, c.touchable = function(m) {
735
- return arguments.length ? (n = typeof m == "function" ? m : Fs(!!m), c) : n;
726
+ return arguments.length ? (n = typeof m == "function" ? m : Us(!!m), c) : n;
736
727
  }, c.handleSize = function(m) {
737
728
  return arguments.length ? (r = +m, c) : r;
738
729
  }, c.keyModifiers = function(m) {
@@ -742,7 +733,7 @@ function qc(i) {
742
733
  return m === a ? c : m;
743
734
  }, c;
744
735
  }
745
- const yi = Math.PI, Ei = 2 * yi, ke = 1e-6, jc = Ei - ke;
736
+ const yi = Math.PI, Ei = 2 * yi, Ce = 1e-6, jc = Ei - Ce;
746
737
  function po(i) {
747
738
  this._ += i[0];
748
739
  for (let t = 1, e = i.length; t < e; ++t)
@@ -784,17 +775,17 @@ let Fi = class {
784
775
  let r = this._x1, o = this._y1, c = n - t, l = s - e, h = r - t, d = o - e, u = h * h + d * d;
785
776
  if (this._x1 === null)
786
777
  this._append`M${this._x1 = t},${this._y1 = e}`;
787
- else if (u > ke) if (!(Math.abs(d * c - l * h) > ke) || !a)
778
+ else if (u > Ce) if (!(Math.abs(d * c - l * h) > Ce) || !a)
788
779
  this._append`L${this._x1 = t},${this._y1 = e}`;
789
780
  else {
790
781
  let p = n - r, f = s - o, g = c * c + l * l, m = p * p + f * f, y = Math.sqrt(g), S = Math.sqrt(u), v = a * Math.tan((yi - Math.acos((g + u - m) / (2 * y * S))) / 2), E = v / S, x = v / y;
791
- Math.abs(E - 1) > ke && this._append`L${t + E * h},${e + E * d}`, this._append`A${a},${a},0,0,${+(d * p > h * f)},${this._x1 = t + x * c},${this._y1 = e + x * l}`;
782
+ Math.abs(E - 1) > Ce && this._append`L${t + E * h},${e + E * d}`, this._append`A${a},${a},0,0,${+(d * p > h * f)},${this._x1 = t + x * c},${this._y1 = e + x * l}`;
792
783
  }
793
784
  }
794
785
  arc(t, e, n, s, a, r) {
795
786
  if (t = +t, e = +e, n = +n, r = !!r, n < 0) throw new Error(`negative radius: ${n}`);
796
787
  let o = n * Math.cos(s), c = n * Math.sin(s), l = t + o, h = e + c, d = 1 ^ r, u = r ? s - a : a - s;
797
- this._x1 === null ? this._append`M${l},${h}` : (Math.abs(this._x1 - l) > ke || Math.abs(this._y1 - h) > ke) && this._append`L${l},${h}`, n && (u < 0 && (u = u % Ei + Ei), u > jc ? this._append`A${n},${n},0,1,${d},${t - o},${e - c}A${n},${n},0,1,${d},${this._x1 = l},${this._y1 = h}` : u > ke && this._append`A${n},${n},0,${+(u >= yi)},${d},${this._x1 = t + n * Math.cos(a)},${this._y1 = e + n * Math.sin(a)}`);
788
+ this._x1 === null ? this._append`M${l},${h}` : (Math.abs(this._x1 - l) > Ce || Math.abs(this._y1 - h) > Ce) && this._append`L${l},${h}`, n && (u < 0 && (u = u % Ei + Ei), u > jc ? this._append`A${n},${n},0,1,${d},${t - o},${e - c}A${n},${n},0,1,${d},${this._x1 = l},${this._y1 = h}` : u > Ce && this._append`A${n},${n},0,${+(u >= yi)},${d},${this._x1 = t + n * Math.cos(a)},${this._y1 = e + n * Math.sin(a)}`);
798
789
  }
799
790
  rect(t, e, n, s) {
800
791
  this._append`M${this._x0 = this._x1 = +t},${this._y0 = this._y1 = +e}h${n = +n}v${+s}h${-n}Z`;
@@ -803,30 +794,30 @@ let Fi = class {
803
794
  return this._;
804
795
  }
805
796
  };
806
- function Ms() {
797
+ function As() {
807
798
  return new Fi();
808
799
  }
809
- Ms.prototype = Fi.prototype;
810
- var vt = 1e-6, Jc = 1e-12, ht = Math.PI, Ut = ht / 2, Ba = ht / 4, Xt = ht * 2, Vt = 180 / ht, Ot = ht / 180, gt = Math.abs, fo = Math.atan, Ne = Math.atan2, mt = Math.cos, Qc = Math.exp, tu = Math.log, ft = Math.sin, be = Math.sign || function(i) {
800
+ As.prototype = Fi.prototype;
801
+ var vt = 1e-6, Jc = 1e-12, ht = Math.PI, Ft = ht / 2, Ba = ht / 4, Yt = ht * 2, Vt = 180 / ht, Ot = ht / 180, gt = Math.abs, fo = Math.atan, Ne = Math.atan2, mt = Math.cos, Qc = Math.exp, tu = Math.log, ft = Math.sin, be = Math.sign || function(i) {
811
802
  return i > 0 ? 1 : i < 0 ? -1 : 0;
812
803
  }, ae = Math.sqrt, eu = Math.tan;
813
804
  function nu(i) {
814
805
  return i > 1 ? 0 : i < -1 ? ht : Math.acos(i);
815
806
  }
816
807
  function xe(i) {
817
- return i > 1 ? Ut : i < -1 ? -Ut : Math.asin(i);
808
+ return i > 1 ? Ft : i < -1 ? -Ft : Math.asin(i);
818
809
  }
819
810
  function Qt() {
820
811
  }
821
- function ds(i, t) {
812
+ function hs(i, t) {
822
813
  i && Ua.hasOwnProperty(i.type) && Ua[i.type](i, t);
823
814
  }
824
815
  var za = {
825
816
  Feature: function(i, t) {
826
- ds(i.geometry, t);
817
+ hs(i.geometry, t);
827
818
  },
828
819
  FeatureCollection: function(i, t) {
829
- for (var e = i.features, n = -1, s = e.length; ++n < s; ) ds(e[n].geometry, t);
820
+ for (var e = i.features, n = -1, s = e.length; ++n < s; ) hs(e[n].geometry, t);
830
821
  }
831
822
  }, Ua = {
832
823
  Sphere: function(i, t) {
@@ -851,7 +842,7 @@ var za = {
851
842
  for (var e = i.coordinates, n = -1, s = e.length; ++n < s; ) Fa(e[n], t);
852
843
  },
853
844
  GeometryCollection: function(i, t) {
854
- for (var e = i.geometries, n = -1, s = e.length; ++n < s; ) ds(e[n], t);
845
+ for (var e = i.geometries, n = -1, s = e.length; ++n < s; ) hs(e[n], t);
855
846
  }
856
847
  };
857
848
  function xi(i, t, e) {
@@ -865,7 +856,7 @@ function Fa(i, t) {
865
856
  t.polygonEnd();
866
857
  }
867
858
  function Ze(i, t) {
868
- i && za.hasOwnProperty(i.type) ? za[i.type](i, t) : ds(i, t);
859
+ i && za.hasOwnProperty(i.type) ? za[i.type](i, t) : hs(i, t);
869
860
  }
870
861
  function Si(i) {
871
862
  return [Ne(i[1], i[0]), xe(i[2])];
@@ -877,10 +868,10 @@ function sn(i) {
877
868
  function Fn(i, t) {
878
869
  return i[0] * t[0] + i[1] * t[1] + i[2] * t[2];
879
870
  }
880
- function ps(i, t) {
871
+ function ds(i, t) {
881
872
  return [i[1] * t[2] - i[2] * t[1], i[2] * t[0] - i[0] * t[2], i[0] * t[1] - i[1] * t[0]];
882
873
  }
883
- function qs(i, t) {
874
+ function Zs(i, t) {
884
875
  i[0] += t[0], i[1] += t[1], i[2] += t[2];
885
876
  }
886
877
  function Wn(i, t) {
@@ -899,15 +890,15 @@ function bi(i, t) {
899
890
  }), e;
900
891
  }
901
892
  function Oi(i, t) {
902
- return gt(i) > ht && (i -= Math.round(i / Xt) * Xt), [i, t];
893
+ return gt(i) > ht && (i -= Math.round(i / Yt) * Yt), [i, t];
903
894
  }
904
895
  Oi.invert = Oi;
905
896
  function go(i, t, e) {
906
- return (i %= Xt) ? t || e ? bi(Xa(i), Ya(t, e)) : Xa(i) : t || e ? Ya(t, e) : Oi;
897
+ return (i %= Yt) ? t || e ? bi(Xa(i), Ya(t, e)) : Xa(i) : t || e ? Ya(t, e) : Oi;
907
898
  }
908
899
  function Wa(i) {
909
900
  return function(t, e) {
910
- return t += i, gt(t) > ht && (t -= Math.round(t / Xt) * Xt), [t, e];
901
+ return t += i, gt(t) > ht && (t -= Math.round(t / Yt) * Yt), [t, e];
911
902
  };
912
903
  }
913
904
  function Xa(i) {
@@ -943,7 +934,7 @@ function su(i) {
943
934
  function iu(i, t, e, n, s, a) {
944
935
  if (e) {
945
936
  var r = mt(t), o = ft(t), c = n * e;
946
- s == null ? (s = t + n * Xt, a = t - c / 2) : (s = Za(r, s), a = Za(r, a), (n > 0 ? s < a : s > a) && (s += n * Xt));
937
+ s == null ? (s = t + n * Yt, a = t - c / 2) : (s = Za(r, s), a = Za(r, a), (n > 0 ? s < a : s > a) && (s += n * Yt));
947
938
  for (var l, h = s; n > 0 ? h > a : h < a; h -= c)
948
939
  l = Si([r, -o * mt(h), -o * ft(h)]), i.point(l[0], l[1]);
949
940
  }
@@ -951,7 +942,7 @@ function iu(i, t, e, n, s, a) {
951
942
  function Za(i, t) {
952
943
  t = sn(t), t[0] -= i, Ti(t);
953
944
  var e = nu(-t[1]);
954
- return ((-t[2] < 0 ? -e : e) + Xt - vt) % Xt;
945
+ return ((-t[2] < 0 ? -e : e) + Yt - vt) % Yt;
955
946
  }
956
947
  function mo() {
957
948
  var i = [], t;
@@ -1026,23 +1017,23 @@ function qa(i) {
1026
1017
  n.n = s = i[0], s.p = n;
1027
1018
  }
1028
1019
  }
1029
- function js(i) {
1030
- return gt(i[0]) <= ht ? i[0] : be(i[0]) * ((gt(i[0]) + ht) % Xt - ht);
1020
+ function qs(i) {
1021
+ return gt(i[0]) <= ht ? i[0] : be(i[0]) * ((gt(i[0]) + ht) % Yt - ht);
1031
1022
  }
1032
1023
  function au(i, t) {
1033
- var e = js(t), n = t[1], s = ft(n), a = [ft(e), -mt(e), 0], r = 0, o = 0, c = new De();
1034
- s === 1 ? n = Ut + vt : s === -1 && (n = -Ut - vt);
1024
+ var e = qs(t), n = t[1], s = ft(n), a = [ft(e), -mt(e), 0], r = 0, o = 0, c = new De();
1025
+ s === 1 ? n = Ft + vt : s === -1 && (n = -Ft - vt);
1035
1026
  for (var l = 0, h = i.length; l < h; ++l)
1036
1027
  if (u = (d = i[l]).length)
1037
- for (var d, u, p = d[u - 1], f = js(p), g = p[1] / 2 + Ba, m = ft(g), y = mt(g), S = 0; S < u; ++S, f = E, m = b, y = _, p = v) {
1038
- var v = d[S], E = js(v), x = v[1] / 2 + Ba, b = ft(x), _ = mt(x), C = E - f, G = C >= 0 ? 1 : -1, R = G * C, A = R > ht, H = m * b;
1039
- if (c.add(Ne(H * G * ft(R), y * _ + H * mt(R))), r += A ? C + G * Xt : C, A ^ f >= e ^ E >= e) {
1040
- var N = ps(sn(p), sn(v));
1028
+ for (var d, u, p = d[u - 1], f = qs(p), g = p[1] / 2 + Ba, m = ft(g), y = mt(g), S = 0; S < u; ++S, f = E, m = b, y = _, p = v) {
1029
+ var v = d[S], E = qs(v), x = v[1] / 2 + Ba, b = ft(x), _ = mt(x), k = E - f, G = k >= 0 ? 1 : -1, R = G * k, A = R > ht, H = m * b;
1030
+ if (c.add(Ne(H * G * ft(R), y * _ + H * mt(R))), r += A ? k + G * Yt : k, A ^ f >= e ^ E >= e) {
1031
+ var N = ds(sn(p), sn(v));
1041
1032
  Ti(N);
1042
- var M = ps(a, N);
1033
+ var M = ds(a, N);
1043
1034
  Ti(M);
1044
- var O = (A ^ C >= 0 ? -1 : 1) * xe(M[2]);
1045
- (n > O || n === O && (N[0] || N[1])) && (o += A ^ C >= 0 ? 1 : -1);
1035
+ var O = (A ^ k >= 0 ? -1 : 1) * xe(M[2]);
1036
+ (n > O || n === O && (N[0] || N[1])) && (o += A ^ k >= 0 ? 1 : -1);
1046
1037
  }
1047
1038
  }
1048
1039
  return (r < -1e-6 || r < vt && c < -1e-12) ^ o & 1;
@@ -1085,11 +1076,11 @@ function yo(i, t, e, n) {
1085
1076
  }
1086
1077
  function v() {
1087
1078
  y(d[0][0], d[0][1]), o.lineEnd();
1088
- var E = o.clean(), x = r.result(), b, _ = x.length, C, G, R;
1079
+ var E = o.clean(), x = r.result(), b, _ = x.length, k, G, R;
1089
1080
  if (d.pop(), l.push(d), d = null, !!_) {
1090
1081
  if (E & 1) {
1091
- if (G = x[0], (C = G.length - 1) > 0) {
1092
- for (c || (s.polygonStart(), c = !0), s.lineStart(), b = 0; b < C; ++b) s.point((R = G[b])[0], R[1]);
1082
+ if (G = x[0], (k = G.length - 1) > 0) {
1083
+ for (c || (s.polygonStart(), c = !0), s.lineStart(), b = 0; b < k; ++b) s.point((R = G[b])[0], R[1]);
1093
1084
  s.lineEnd();
1094
1085
  }
1095
1086
  return;
@@ -1104,7 +1095,7 @@ function ru(i) {
1104
1095
  return i.length > 1;
1105
1096
  }
1106
1097
  function ou(i, t) {
1107
- return ((i = i.x)[0] < 0 ? i[1] - Ut - vt : Ut - i[1]) - ((t = t.x)[0] < 0 ? t[1] - Ut - vt : Ut - t[1]);
1098
+ return ((i = i.x)[0] < 0 ? i[1] - Ft - vt : Ft - i[1]) - ((t = t.x)[0] < 0 ? t[1] - Ft - vt : Ft - t[1]);
1108
1099
  }
1109
1100
  const ja = yo(
1110
1101
  function() {
@@ -1112,7 +1103,7 @@ const ja = yo(
1112
1103
  },
1113
1104
  lu,
1114
1105
  uu,
1115
- [-ht, -Ut]
1106
+ [-ht, -Ft]
1116
1107
  );
1117
1108
  function lu(i) {
1118
1109
  var t = NaN, e = NaN, n = NaN, s;
@@ -1122,7 +1113,7 @@ function lu(i) {
1122
1113
  },
1123
1114
  point: function(a, r) {
1124
1115
  var o = a > 0 ? ht : -ht, c = gt(a - t);
1125
- gt(c - ht) < vt ? (i.point(t, e = (e + r) / 2 > 0 ? Ut : -Ut), i.point(n, e), i.lineEnd(), i.lineStart(), i.point(o, e), i.point(a, e), s = 0) : n !== o && c >= ht && (gt(t - n) < vt && (t -= n * vt), gt(a - o) < vt && (a -= o * vt), e = cu(t, e, a, r), i.point(n, e), i.lineEnd(), i.lineStart(), i.point(o, e), s = 0), i.point(t = a, e = r), n = o;
1116
+ gt(c - ht) < vt ? (i.point(t, e = (e + r) / 2 > 0 ? Ft : -Ft), i.point(n, e), i.lineEnd(), i.lineStart(), i.point(o, e), i.point(a, e), s = 0) : n !== o && c >= ht && (gt(t - n) < vt && (t -= n * vt), gt(a - o) < vt && (a -= o * vt), e = cu(t, e, a, r), i.point(n, e), i.lineEnd(), i.lineStart(), i.point(o, e), s = 0), i.point(t = a, e = r), n = o;
1126
1117
  },
1127
1118
  lineEnd: function() {
1128
1119
  i.lineEnd(), t = e = NaN;
@@ -1139,7 +1130,7 @@ function cu(i, t, e, n) {
1139
1130
  function uu(i, t, e, n) {
1140
1131
  var s;
1141
1132
  if (i == null)
1142
- s = e * Ut, n.point(-ht, s), n.point(0, s), n.point(ht, s), n.point(ht, 0), n.point(ht, -s), n.point(0, -s), n.point(-ht, -s), n.point(-ht, 0), n.point(-ht, s);
1133
+ s = e * Ft, n.point(-ht, s), n.point(0, s), n.point(ht, s), n.point(ht, 0), n.point(ht, -s), n.point(0, -s), n.point(-ht, -s), n.point(-ht, 0), n.point(-ht, s);
1143
1134
  else if (gt(i[0] - t[0]) > vt) {
1144
1135
  var a = i[0] < t[0] ? ht : -ht;
1145
1136
  s = e * a / 2, n.point(-a, s), n.point(0, s), n.point(a, s);
@@ -1181,20 +1172,20 @@ function hu(i) {
1181
1172
  };
1182
1173
  }
1183
1174
  function c(h, d, u) {
1184
- var p = sn(h), f = sn(d), g = [1, 0, 0], m = ps(p, f), y = Fn(m, m), S = m[0], v = y - S * S;
1175
+ var p = sn(h), f = sn(d), g = [1, 0, 0], m = ds(p, f), y = Fn(m, m), S = m[0], v = y - S * S;
1185
1176
  if (!v) return !u && h;
1186
- var E = t * y / v, x = -t * S / v, b = ps(g, m), _ = Wn(g, E), C = Wn(m, x);
1187
- qs(_, C);
1177
+ var E = t * y / v, x = -t * S / v, b = ds(g, m), _ = Wn(g, E), k = Wn(m, x);
1178
+ Zs(_, k);
1188
1179
  var G = b, R = Fn(_, G), A = Fn(G, G), H = R * R - A * (Fn(_, _) - 1);
1189
1180
  if (!(H < 0)) {
1190
1181
  var N = ae(H), M = Wn(G, (-R - N) / A);
1191
- if (qs(M, _), M = Si(M), !u) return M;
1192
- var O = h[0], P = d[0], $ = h[1], k = d[1], V;
1182
+ if (Zs(M, _), M = Si(M), !u) return M;
1183
+ var O = h[0], P = d[0], $ = h[1], C = d[1], V;
1193
1184
  P < O && (V = O, O = P, P = V);
1194
- var q = P - O, W = gt(q - ht) < vt, F = W || q < vt;
1195
- if (!W && k < $ && (V = $, $ = k, k = V), F ? W ? $ + k > 0 ^ M[1] < (gt(M[0] - O) < vt ? $ : k) : $ <= M[1] && M[1] <= k : q > ht ^ (O <= M[0] && M[0] <= P)) {
1185
+ var q = P - O, X = gt(q - ht) < vt, F = X || q < vt;
1186
+ if (!X && C < $ && (V = $, $ = C, C = V), F ? X ? $ + C > 0 ^ M[1] < (gt(M[0] - O) < vt ? $ : C) : $ <= M[1] && M[1] <= C : q > ht ^ (O <= M[0] && M[0] <= P)) {
1196
1187
  var Z = Wn(G, (-R + N) / A);
1197
- return qs(Z, _), [M, Si(Z)];
1188
+ return Zs(Z, _), [M, Si(Z)];
1198
1189
  }
1199
1190
  }
1200
1191
  }
@@ -1270,19 +1261,19 @@ function pu(i, t, e, n) {
1270
1261
  }
1271
1262
  return function(l) {
1272
1263
  var h = l, d = mo(), u, p, f, g, m, y, S, v, E, x, b, _ = {
1273
- point: C,
1264
+ point: k,
1274
1265
  lineStart: H,
1275
1266
  lineEnd: N,
1276
1267
  polygonStart: R,
1277
1268
  polygonEnd: A
1278
1269
  };
1279
- function C(O, P) {
1270
+ function k(O, P) {
1280
1271
  s(O, P) && h.point(O, P);
1281
1272
  }
1282
1273
  function G() {
1283
1274
  for (var O = 0, P = 0, $ = p.length; P < $; ++P)
1284
- for (var k = p[P], V = 1, q = k.length, W = k[0], F, Z, rt = W[0], j = W[1]; V < q; ++V)
1285
- F = rt, Z = j, W = k[V], rt = W[0], j = W[1], Z <= n ? j > n && (rt - F) * (n - Z) > (j - Z) * (i - F) && ++O : j <= n && (rt - F) * (n - Z) < (j - Z) * (i - F) && --O;
1275
+ for (var C = p[P], V = 1, q = C.length, X = C[0], F, Z, rt = X[0], j = X[1]; V < q; ++V)
1276
+ F = rt, Z = j, X = C[V], rt = X[0], j = X[1], Z <= n ? j > n && (rt - F) * (n - Z) > (j - Z) * (i - F) && ++O : j <= n && (rt - F) * (n - Z) < (j - Z) * (i - F) && --O;
1286
1277
  return O;
1287
1278
  }
1288
1279
  function R() {
@@ -1296,7 +1287,7 @@ function pu(i, t, e, n) {
1296
1287
  _.point = M, p && p.push(f = []), x = !0, E = !1, S = v = NaN;
1297
1288
  }
1298
1289
  function N() {
1299
- u && (M(g, m), y && E && d.rejoin(), u.push(d.result())), _.point = C, E && h.lineEnd();
1290
+ u && (M(g, m), y && E && d.rejoin(), u.push(d.result())), _.point = k, E && h.lineEnd();
1300
1291
  }
1301
1292
  function M(O, P) {
1302
1293
  var $ = s(O, P);
@@ -1304,8 +1295,8 @@ function pu(i, t, e, n) {
1304
1295
  g = O, m = P, y = $, x = !1, $ && (h.lineStart(), h.point(O, P));
1305
1296
  else if ($ && E) h.point(O, P);
1306
1297
  else {
1307
- var k = [S = Math.max(Zn, Math.min(Yn, S)), v = Math.max(Zn, Math.min(Yn, v))], V = [O = Math.max(Zn, Math.min(Yn, O)), P = Math.max(Zn, Math.min(Yn, P))];
1308
- du(k, V, i, t, e, n) ? (E || (h.lineStart(), h.point(k[0], k[1])), h.point(V[0], V[1]), $ || h.lineEnd(), b = !1) : $ && (h.lineStart(), h.point(O, P), b = !1);
1298
+ var C = [S = Math.max(Zn, Math.min(Yn, S)), v = Math.max(Zn, Math.min(Yn, v))], V = [O = Math.max(Zn, Math.min(Yn, O)), P = Math.max(Zn, Math.min(Yn, P))];
1299
+ du(C, V, i, t, e, n) ? (E || (h.lineStart(), h.point(C[0], C[1])), h.point(V[0], V[1]), $ || h.lineEnd(), b = !1) : $ && (h.lineStart(), h.point(O, P), b = !1);
1309
1300
  }
1310
1301
  S = O, v = P, E = $;
1311
1302
  }
@@ -1313,7 +1304,7 @@ function pu(i, t, e, n) {
1313
1304
  };
1314
1305
  }
1315
1306
  const Li = (i) => i;
1316
- var Ks = new De(), Ai = new De(), Eo, xo, Mi, wi, ye = {
1307
+ var js = new De(), Ai = new De(), Eo, xo, Mi, wi, ye = {
1317
1308
  point: Qt,
1318
1309
  lineStart: Qt,
1319
1310
  lineEnd: Qt,
@@ -1321,11 +1312,11 @@ var Ks = new De(), Ai = new De(), Eo, xo, Mi, wi, ye = {
1321
1312
  ye.lineStart = fu, ye.lineEnd = mu;
1322
1313
  },
1323
1314
  polygonEnd: function() {
1324
- ye.lineStart = ye.lineEnd = ye.point = Qt, Ks.add(gt(Ai)), Ai = new De();
1315
+ ye.lineStart = ye.lineEnd = ye.point = Qt, js.add(gt(Ai)), Ai = new De();
1325
1316
  },
1326
1317
  result: function() {
1327
- var i = Ks / 2;
1328
- return Ks = new De(), i;
1318
+ var i = js / 2;
1319
+ return js = new De(), i;
1329
1320
  }
1330
1321
  };
1331
1322
  function fu() {
@@ -1340,21 +1331,21 @@ function So(i, t) {
1340
1331
  function mu() {
1341
1332
  So(Eo, xo);
1342
1333
  }
1343
- var an = 1 / 0, fs = an, kn = -an, gs = kn, ms = {
1334
+ var an = 1 / 0, ps = an, Cn = -an, fs = Cn, gs = {
1344
1335
  point: vu,
1345
1336
  lineStart: Qt,
1346
1337
  lineEnd: Qt,
1347
1338
  polygonStart: Qt,
1348
1339
  polygonEnd: Qt,
1349
1340
  result: function() {
1350
- var i = [[an, fs], [kn, gs]];
1351
- return kn = gs = -(fs = an = 1 / 0), i;
1341
+ var i = [[an, ps], [Cn, fs]];
1342
+ return Cn = fs = -(ps = an = 1 / 0), i;
1352
1343
  }
1353
1344
  };
1354
1345
  function vu(i, t) {
1355
- i < an && (an = i), i > kn && (kn = i), t < fs && (fs = t), t > gs && (gs = t);
1346
+ i < an && (an = i), i > Cn && (Cn = i), t < ps && (ps = t), t > fs && (fs = t);
1356
1347
  }
1357
- var ki = 0, Ci = 0, En = 0, vs = 0, ys = 0, Qe = 0, _i = 0, Ii = 0, xn = 0, To, bo, ce, ue, Jt = {
1348
+ var Ci = 0, ki = 0, En = 0, ms = 0, vs = 0, Qe = 0, _i = 0, Ii = 0, xn = 0, To, bo, ce, ue, Jt = {
1358
1349
  point: Pe,
1359
1350
  lineStart: Ka,
1360
1351
  lineEnd: Ja,
@@ -1365,12 +1356,12 @@ var ki = 0, Ci = 0, En = 0, vs = 0, ys = 0, Qe = 0, _i = 0, Ii = 0, xn = 0, To,
1365
1356
  Jt.point = Pe, Jt.lineStart = Ka, Jt.lineEnd = Ja;
1366
1357
  },
1367
1358
  result: function() {
1368
- var i = xn ? [_i / xn, Ii / xn] : Qe ? [vs / Qe, ys / Qe] : En ? [ki / En, Ci / En] : [NaN, NaN];
1369
- return ki = Ci = En = vs = ys = Qe = _i = Ii = xn = 0, i;
1359
+ var i = xn ? [_i / xn, Ii / xn] : Qe ? [ms / Qe, vs / Qe] : En ? [Ci / En, ki / En] : [NaN, NaN];
1360
+ return Ci = ki = En = ms = vs = Qe = _i = Ii = xn = 0, i;
1370
1361
  }
1371
1362
  };
1372
1363
  function Pe(i, t) {
1373
- ki += i, Ci += t, ++En;
1364
+ Ci += i, ki += t, ++En;
1374
1365
  }
1375
1366
  function Ka() {
1376
1367
  Jt.point = yu;
@@ -1380,7 +1371,7 @@ function yu(i, t) {
1380
1371
  }
1381
1372
  function Eu(i, t) {
1382
1373
  var e = i - ce, n = t - ue, s = ae(e * e + n * n);
1383
- vs += s * (ce + i) / 2, ys += s * (ue + t) / 2, Qe += s, Pe(ce = i, ue = t);
1374
+ ms += s * (ce + i) / 2, vs += s * (ue + t) / 2, Qe += s, Pe(ce = i, ue = t);
1384
1375
  }
1385
1376
  function Ja() {
1386
1377
  Jt.point = Pe;
@@ -1396,7 +1387,7 @@ function Tu(i, t) {
1396
1387
  }
1397
1388
  function Oo(i, t) {
1398
1389
  var e = i - ce, n = t - ue, s = ae(e * e + n * n);
1399
- vs += s * (ce + i) / 2, ys += s * (ue + t) / 2, Qe += s, s = ue * i - ce * t, _i += s * (ce + i), Ii += s * (ue + t), xn += s * 3, Pe(ce = i, ue = t);
1390
+ ms += s * (ce + i) / 2, vs += s * (ue + t) / 2, Qe += s, s = ue * i - ce * t, _i += s * (ce + i), Ii += s * (ue + t), xn += s * 3, Pe(ce = i, ue = t);
1400
1391
  }
1401
1392
  function Lo(i) {
1402
1393
  this._context = i;
@@ -1429,26 +1420,26 @@ Lo.prototype = {
1429
1420
  break;
1430
1421
  }
1431
1422
  default: {
1432
- this._context.moveTo(i + this._radius, t), this._context.arc(i, t, this._radius, 0, Xt);
1423
+ this._context.moveTo(i + this._radius, t), this._context.arc(i, t, this._radius, 0, Yt);
1433
1424
  break;
1434
1425
  }
1435
1426
  }
1436
1427
  },
1437
1428
  result: Qt
1438
1429
  };
1439
- var Ri = new De(), Js, Ao, Mo, Sn, Tn, Cn = {
1430
+ var Ri = new De(), Ks, Ao, Mo, Sn, Tn, kn = {
1440
1431
  point: Qt,
1441
1432
  lineStart: function() {
1442
- Cn.point = bu;
1433
+ kn.point = bu;
1443
1434
  },
1444
1435
  lineEnd: function() {
1445
- Js && wo(Ao, Mo), Cn.point = Qt;
1436
+ Ks && wo(Ao, Mo), kn.point = Qt;
1446
1437
  },
1447
1438
  polygonStart: function() {
1448
- Js = !0;
1439
+ Ks = !0;
1449
1440
  },
1450
1441
  polygonEnd: function() {
1451
- Js = null;
1442
+ Ks = null;
1452
1443
  },
1453
1444
  result: function() {
1454
1445
  var i = +Ri;
@@ -1456,15 +1447,15 @@ var Ri = new De(), Js, Ao, Mo, Sn, Tn, Cn = {
1456
1447
  }
1457
1448
  };
1458
1449
  function bu(i, t) {
1459
- Cn.point = wo, Ao = Sn = i, Mo = Tn = t;
1450
+ kn.point = wo, Ao = Sn = i, Mo = Tn = t;
1460
1451
  }
1461
1452
  function wo(i, t) {
1462
1453
  Sn -= i, Tn -= t, Ri.add(ae(Sn * Sn + Tn * Tn)), Sn = i, Tn = t;
1463
1454
  }
1464
- let Qa, Es, tr, er;
1455
+ let Qa, ys, tr, er;
1465
1456
  class nr {
1466
1457
  constructor(t) {
1467
- this._append = t == null ? ko : Ou(t), this._radius = 4.5, this._ = "";
1458
+ this._append = t == null ? Co : Ou(t), this._radius = 4.5, this._ = "";
1468
1459
  }
1469
1460
  pointRadius(t) {
1470
1461
  return this._radius = +t, this;
@@ -1492,9 +1483,9 @@ class nr {
1492
1483
  break;
1493
1484
  }
1494
1485
  default: {
1495
- if (this._append`M${t},${e}`, this._radius !== tr || this._append !== Es) {
1486
+ if (this._append`M${t},${e}`, this._radius !== tr || this._append !== ys) {
1496
1487
  const n = this._radius, s = this._;
1497
- this._ = "", this._append`m0,${n}a${n},${n} 0 1,1 0,${-2 * n}a${n},${n} 0 1,1 0,${2 * n}z`, tr = n, Es = this._append, er = this._, this._ = s;
1488
+ this._ = "", this._append`m0,${n}a${n},${n} 0 1,1 0,${-2 * n}a${n},${n} 0 1,1 0,${2 * n}z`, tr = n, ys = this._append, er = this._, this._ = s;
1498
1489
  }
1499
1490
  this._ += er;
1500
1491
  break;
@@ -1506,7 +1497,7 @@ class nr {
1506
1497
  return this._ = "", t.length ? t : null;
1507
1498
  }
1508
1499
  }
1509
- function ko(i) {
1500
+ function Co(i) {
1510
1501
  let t = 1;
1511
1502
  this._ += i[0];
1512
1503
  for (const e = i.length; t < e; ++t)
@@ -1515,17 +1506,17 @@ function ko(i) {
1515
1506
  function Ou(i) {
1516
1507
  const t = Math.floor(i);
1517
1508
  if (!(t >= 0)) throw new RangeError(`invalid digits: ${i}`);
1518
- if (t > 15) return ko;
1509
+ if (t > 15) return Co;
1519
1510
  if (t !== Qa) {
1520
1511
  const e = 10 ** t;
1521
- Qa = t, Es = function(s) {
1512
+ Qa = t, ys = function(s) {
1522
1513
  let a = 1;
1523
1514
  this._ += s[0];
1524
1515
  for (const r = s.length; a < r; ++a)
1525
1516
  this._ += Math.round(arguments[a] * e) / e + s[a];
1526
1517
  };
1527
1518
  }
1528
- return Es;
1519
+ return ys;
1529
1520
  }
1530
1521
  function Lu(i, t) {
1531
1522
  let e = 3, n = 4.5, s, a;
@@ -1535,9 +1526,9 @@ function Lu(i, t) {
1535
1526
  return r.area = function(o) {
1536
1527
  return Ze(o, s(ye)), ye.result();
1537
1528
  }, r.measure = function(o) {
1538
- return Ze(o, s(Cn)), Cn.result();
1529
+ return Ze(o, s(kn)), kn.result();
1539
1530
  }, r.bounds = function(o) {
1540
- return Ze(o, s(ms)), ms.result();
1531
+ return Ze(o, s(gs)), gs.result();
1541
1532
  }, r.centroid = function(o) {
1542
1533
  return Ze(o, s(Jt)), Jt.result();
1543
1534
  }, r.projection = function(o) {
@@ -1589,16 +1580,16 @@ Di.prototype = {
1589
1580
  };
1590
1581
  function Xi(i, t, e) {
1591
1582
  var n = i.clipExtent && i.clipExtent();
1592
- return i.scale(150).translate([0, 0]), n != null && i.clipExtent(null), Ze(e, i.stream(ms)), t(ms.result()), n != null && i.clipExtent(n), i;
1583
+ return i.scale(150).translate([0, 0]), n != null && i.clipExtent(null), Ze(e, i.stream(gs)), t(gs.result()), n != null && i.clipExtent(n), i;
1593
1584
  }
1594
- function Co(i, t, e) {
1585
+ function ko(i, t, e) {
1595
1586
  return Xi(i, function(n) {
1596
1587
  var s = t[1][0] - t[0][0], a = t[1][1] - t[0][1], r = Math.min(s / (n[1][0] - n[0][0]), a / (n[1][1] - n[0][1])), o = +t[0][0] + (s - r * (n[1][0] + n[0][0])) / 2, c = +t[0][1] + (a - r * (n[1][1] + n[0][1])) / 2;
1597
1588
  i.scale(150 * r).translate([o, c]);
1598
1589
  }, e);
1599
1590
  }
1600
1591
  function Au(i, t, e) {
1601
- return Co(i, [[0, 0], t], e);
1592
+ return ko(i, [[0, 0], t], e);
1602
1593
  }
1603
1594
  function Mu(i, t, e) {
1604
1595
  return Xi(i, function(n) {
@@ -1612,11 +1603,11 @@ function wu(i, t, e) {
1612
1603
  i.scale(150 * a).translate([r, o]);
1613
1604
  }, e);
1614
1605
  }
1615
- var sr = 16, ku = mt(30 * Ot);
1606
+ var sr = 16, Cu = mt(30 * Ot);
1616
1607
  function ir(i, t) {
1617
- return +t ? _u(i, t) : Cu(i);
1608
+ return +t ? _u(i, t) : ku(i);
1618
1609
  }
1619
- function Cu(i) {
1610
+ function ku(i) {
1620
1611
  return Wi({
1621
1612
  point: function(t, e) {
1622
1613
  t = i(t, e), this.stream.point(t[0], t[1]);
@@ -1627,8 +1618,8 @@ function _u(i, t) {
1627
1618
  function e(n, s, a, r, o, c, l, h, d, u, p, f, g, m) {
1628
1619
  var y = l - n, S = h - s, v = y * y + S * S;
1629
1620
  if (v > 4 * t && g--) {
1630
- var E = r + u, x = o + p, b = c + f, _ = ae(E * E + x * x + b * b), C = xe(b /= _), G = gt(gt(b) - 1) < vt || gt(a - d) < vt ? (a + d) / 2 : Ne(x, E), R = i(G, C), A = R[0], H = R[1], N = A - n, M = H - s, O = S * N - y * M;
1631
- (O * O / v > t || gt((y * N + S * M) / v - 0.5) > 0.3 || r * u + o * p + c * f < ku) && (e(n, s, a, r, o, c, A, H, G, E /= _, x /= _, b, g, m), m.point(A, H), e(A, H, G, E, x, b, l, h, d, u, p, f, g, m));
1621
+ var E = r + u, x = o + p, b = c + f, _ = ae(E * E + x * x + b * b), k = xe(b /= _), G = gt(gt(b) - 1) < vt || gt(a - d) < vt ? (a + d) / 2 : Ne(x, E), R = i(G, k), A = R[0], H = R[1], N = A - n, M = H - s, O = S * N - y * M;
1622
+ (O * O / v > t || gt((y * N + S * M) / v - 0.5) > 0.3 || r * u + o * p + c * f < Cu) && (e(n, s, a, r, o, c, A, H, G, E /= _, x /= _, b, g, m), m.point(A, H), e(A, H, G, E, x, b, l, h, d, u, p, f, g, m));
1632
1623
  }
1633
1624
  }
1634
1625
  return function(n) {
@@ -1643,15 +1634,15 @@ function _u(i, t) {
1643
1634
  n.polygonEnd(), m.lineStart = S;
1644
1635
  }
1645
1636
  };
1646
- function y(C, G) {
1647
- C = i(C, G), n.point(C[0], C[1]);
1637
+ function y(k, G) {
1638
+ k = i(k, G), n.point(k[0], k[1]);
1648
1639
  }
1649
1640
  function S() {
1650
1641
  d = NaN, m.point = v, n.lineStart();
1651
1642
  }
1652
- function v(C, G) {
1653
- var R = sn([C, G]), A = i(C, G);
1654
- e(d, u, h, p, f, g, d = A[0], u = A[1], h = C, p = R[0], f = R[1], g = R[2], sr, n), n.point(d, u);
1643
+ function v(k, G) {
1644
+ var R = sn([k, G]), A = i(k, G);
1645
+ e(d, u, h, p, f, g, d = A[0], u = A[1], h = k, p = R[0], f = R[1], g = R[2], sr, n), n.point(d, u);
1655
1646
  }
1656
1647
  function E() {
1657
1648
  m.point = y, n.lineEnd();
@@ -1659,8 +1650,8 @@ function _u(i, t) {
1659
1650
  function x() {
1660
1651
  S(), m.point = b, m.lineEnd = _;
1661
1652
  }
1662
- function b(C, G) {
1663
- v(s = C, G), a = d, r = u, o = p, c = f, l = g, m.point = v;
1653
+ function b(k, G) {
1654
+ v(s = k, G), a = d, r = u, o = p, c = f, l = g, m.point = v;
1664
1655
  }
1665
1656
  function _() {
1666
1657
  e(d, u, h, p, f, g, a, r, s, o, c, l, sr, n), m.lineEnd = E, E();
@@ -1699,18 +1690,18 @@ function ar(i, t, e, n, s, a) {
1699
1690
  return [n * (h * g - d * m + u), s * (p - d * g - h * m)];
1700
1691
  }, f;
1701
1692
  }
1702
- function ws(i) {
1693
+ function Ms(i) {
1703
1694
  return _o(function() {
1704
1695
  return i;
1705
1696
  })();
1706
1697
  }
1707
1698
  function _o(i) {
1708
- var t, e = 150, n = 480, s = 250, a = 0, r = 0, o = 0, c = 0, l = 0, h, d = 0, u = 1, p = 1, f = null, g = ja, m = null, y, S, v, E = Li, x = 0.5, b, _, C, G, R;
1699
+ var t, e = 150, n = 480, s = 250, a = 0, r = 0, o = 0, c = 0, l = 0, h, d = 0, u = 1, p = 1, f = null, g = ja, m = null, y, S, v, E = Li, x = 0.5, b, _, k, G, R;
1709
1700
  function A(O) {
1710
- return C(O[0] * Ot, O[1] * Ot);
1701
+ return k(O[0] * Ot, O[1] * Ot);
1711
1702
  }
1712
1703
  function H(O) {
1713
- return O = C.invert(O[0], O[1]), O && [O[0] * Vt, O[1] * Vt];
1704
+ return O = k.invert(O[0], O[1]), O && [O[0] * Vt, O[1] * Vt];
1714
1705
  }
1715
1706
  A.stream = function(O) {
1716
1707
  return G && R === O ? G : G = Iu(Ru(h)(g(b(E(R = O)))));
@@ -1739,7 +1730,7 @@ function _o(i) {
1739
1730
  }, A.precision = function(O) {
1740
1731
  return arguments.length ? (b = ir(_, x = O * O), M()) : ae(x);
1741
1732
  }, A.fitExtent = function(O, P) {
1742
- return Co(A, O, P);
1733
+ return ko(A, O, P);
1743
1734
  }, A.fitSize = function(O, P) {
1744
1735
  return Au(A, O, P);
1745
1736
  }, A.fitWidth = function(O, P) {
@@ -1749,7 +1740,7 @@ function _o(i) {
1749
1740
  };
1750
1741
  function N() {
1751
1742
  var O = ar(e, 0, 0, u, p, d).apply(null, t(a, r)), P = ar(e, n - O[0], s - O[1], u, p, d);
1752
- return h = go(o, c, l), _ = bi(t, P), C = bi(h, _), b = ir(_, x), M();
1743
+ return h = go(o, c, l), _ = bi(t, P), k = bi(h, _), b = ir(_, x), M();
1753
1744
  }
1754
1745
  function M() {
1755
1746
  return G = R = null, A;
@@ -1793,16 +1784,16 @@ function $u() {
1793
1784
  return Ro().parallels([29.5, 45.5]).scale(1070).translate([480, 250]).rotate([96, 0]).center([-0.6, 38.7]);
1794
1785
  }
1795
1786
  function Yi(i, t) {
1796
- return [i, tu(eu((Ut + t) / 2))];
1787
+ return [i, tu(eu((Ft + t) / 2))];
1797
1788
  }
1798
1789
  Yi.invert = function(i, t) {
1799
- return [i, 2 * fo(Qc(t)) - Ut];
1790
+ return [i, 2 * fo(Qc(t)) - Ft];
1800
1791
  };
1801
1792
  function Vu() {
1802
- return Gu(Yi).scale(961 / Xt);
1793
+ return Gu(Yi).scale(961 / Yt);
1803
1794
  }
1804
1795
  function Gu(i) {
1805
- var t = ws(i), e = t.center, n = t.scale, s = t.translate, a = t.clipExtent, r = null, o, c, l;
1796
+ var t = Ms(i), e = t.center, n = t.scale, s = t.translate, a = t.clipExtent, r = null, o, c, l;
1806
1797
  t.scale = function(d) {
1807
1798
  return arguments.length ? (n(d), h()) : n();
1808
1799
  }, t.translate = function(d) {
@@ -1818,16 +1809,16 @@ function Gu(i) {
1818
1809
  }
1819
1810
  return h();
1820
1811
  }
1821
- function xs(i, t) {
1812
+ function Es(i, t) {
1822
1813
  return [i, t];
1823
1814
  }
1824
- xs.invert = xs;
1815
+ Es.invert = Es;
1825
1816
  function Hu() {
1826
- return ws(xs).scale(152.63);
1817
+ return Ms(Es).scale(152.63);
1827
1818
  }
1828
1819
  function Bu(i, t) {
1829
1820
  var e = mt(i), n = i === t ? ft(i) : (e - mt(t)) / (t - i), s = e / n + i;
1830
- if (gt(n) < vt) return xs;
1821
+ if (gt(n) < vt) return Es;
1831
1822
  function a(r, o) {
1832
1823
  var c = s - o, l = n * r;
1833
1824
  return [c * ft(l), s - c * mt(l)];
@@ -1840,11 +1831,11 @@ function Bu(i, t) {
1840
1831
  function zu() {
1841
1832
  return Io(Bu).scale(131.154).center([0, 13.9389]);
1842
1833
  }
1843
- var On = 1.340264, Ln = -0.081106, An = 893e-6, Mn = 3796e-6, Ss = ae(3) / 2, Uu = 12;
1834
+ var On = 1.340264, Ln = -0.081106, An = 893e-6, Mn = 3796e-6, xs = ae(3) / 2, Uu = 12;
1844
1835
  function Do(i, t) {
1845
- var e = xe(Ss * ft(t)), n = e * e, s = n * n * n;
1836
+ var e = xe(xs * ft(t)), n = e * e, s = n * n * n;
1846
1837
  return [
1847
- i * mt(e) / (Ss * (On + 3 * Ln * n + s * (7 * An + 9 * Mn * n))),
1838
+ i * mt(e) / (xs * (On + 3 * Ln * n + s * (7 * An + 9 * Mn * n))),
1848
1839
  e * (On + Ln * n + s * (An + Mn * n))
1849
1840
  ];
1850
1841
  }
@@ -1852,12 +1843,12 @@ Do.invert = function(i, t) {
1852
1843
  for (var e = t, n = e * e, s = n * n * n, a = 0, r, o, c; a < Uu && (o = e * (On + Ln * n + s * (An + Mn * n)) - t, c = On + 3 * Ln * n + s * (7 * An + 9 * Mn * n), e -= r = o / c, n = e * e, s = n * n * n, !(gt(r) < Jc)); ++a)
1853
1844
  ;
1854
1845
  return [
1855
- Ss * i * (On + 3 * Ln * n + s * (7 * An + 9 * Mn * n)) / mt(e),
1856
- xe(ft(e) / Ss)
1846
+ xs * i * (On + 3 * Ln * n + s * (7 * An + 9 * Mn * n)) / mt(e),
1847
+ xe(ft(e) / xs)
1857
1848
  ];
1858
1849
  };
1859
1850
  function Fu() {
1860
- return ws(Do).scale(177.158);
1851
+ return Ms(Do).scale(177.158);
1861
1852
  }
1862
1853
  function No(i, t) {
1863
1854
  var e = t * t, n = e * e;
@@ -1878,7 +1869,7 @@ No.invert = function(i, t) {
1878
1869
  ];
1879
1870
  };
1880
1871
  function Wu() {
1881
- return ws(No).scale(175.295);
1872
+ return Ms(No).scale(175.295);
1882
1873
  }
1883
1874
  function Xu(i, t) {
1884
1875
  return i.parent === t.parent ? 1 : 2;
@@ -2099,13 +2090,13 @@ function Ah(i, t) {
2099
2090
  }
2100
2091
  function Mh(i, t) {
2101
2092
  var e, n;
2102
- if (Qs(t, i)) return [t];
2093
+ if (Js(t, i)) return [t];
2103
2094
  for (e = 0; e < i.length; ++e)
2104
- if (qn(t, i[e]) && Qs(bn(i[e], t), i))
2095
+ if (qn(t, i[e]) && Js(bn(i[e], t), i))
2105
2096
  return [i[e], t];
2106
2097
  for (e = 0; e < i.length - 1; ++e)
2107
2098
  for (n = e + 1; n < i.length; ++n)
2108
- if (qn(bn(i[e], i[n]), t) && qn(bn(i[e], t), i[n]) && qn(bn(i[n], t), i[e]) && Qs(Vo(i[e], i[n], t), i))
2099
+ if (qn(bn(i[e], i[n]), t) && qn(bn(i[e], t), i[n]) && qn(bn(i[n], t), i[e]) && Js(Vo(i[e], i[n], t), i))
2109
2100
  return [i[e], i[n], t];
2110
2101
  throw new Error();
2111
2102
  }
@@ -2117,7 +2108,7 @@ function $o(i, t) {
2117
2108
  var e = i.r - t.r + Math.max(i.r, t.r, 1) * 1e-9, n = t.x - i.x, s = t.y - i.y;
2118
2109
  return e > 0 && e * e > n * n + s * s;
2119
2110
  }
2120
- function Qs(i, t) {
2111
+ function Js(i, t) {
2121
2112
  for (var e = 0; e < t.length; ++e)
2122
2113
  if (!$o(i, t[e]))
2123
2114
  return !1;
@@ -2126,14 +2117,14 @@ function Qs(i, t) {
2126
2117
  function wh(i) {
2127
2118
  switch (i.length) {
2128
2119
  case 1:
2129
- return kh(i[0]);
2120
+ return Ch(i[0]);
2130
2121
  case 2:
2131
2122
  return bn(i[0], i[1]);
2132
2123
  case 3:
2133
2124
  return Vo(i[0], i[1], i[2]);
2134
2125
  }
2135
2126
  }
2136
- function kh(i) {
2127
+ function Ch(i) {
2137
2128
  return {
2138
2129
  x: i.x,
2139
2130
  y: i.y,
@@ -2149,10 +2140,10 @@ function bn(i, t) {
2149
2140
  };
2150
2141
  }
2151
2142
  function Vo(i, t, e) {
2152
- var n = i.x, s = i.y, a = i.r, r = t.x, o = t.y, c = t.r, l = e.x, h = e.y, d = e.r, u = n - r, p = n - l, f = s - o, g = s - h, m = c - a, y = d - a, S = n * n + s * s - a * a, v = S - r * r - o * o + c * c, E = S - l * l - h * h + d * d, x = p * f - u * g, b = (f * E - g * v) / (x * 2) - n, _ = (g * m - f * y) / x, C = (p * v - u * E) / (x * 2) - s, G = (u * y - p * m) / x, R = _ * _ + G * G - 1, A = 2 * (a + b * _ + C * G), H = b * b + C * C - a * a, N = -(Math.abs(R) > 1e-6 ? (A + Math.sqrt(A * A - 4 * R * H)) / (2 * R) : H / A);
2143
+ var n = i.x, s = i.y, a = i.r, r = t.x, o = t.y, c = t.r, l = e.x, h = e.y, d = e.r, u = n - r, p = n - l, f = s - o, g = s - h, m = c - a, y = d - a, S = n * n + s * s - a * a, v = S - r * r - o * o + c * c, E = S - l * l - h * h + d * d, x = p * f - u * g, b = (f * E - g * v) / (x * 2) - n, _ = (g * m - f * y) / x, k = (p * v - u * E) / (x * 2) - s, G = (u * y - p * m) / x, R = _ * _ + G * G - 1, A = 2 * (a + b * _ + k * G), H = b * b + k * k - a * a, N = -(Math.abs(R) > 1e-6 ? (A + Math.sqrt(A * A - 4 * R * H)) / (2 * R) : H / A);
2153
2144
  return {
2154
2145
  x: n + b + _ * N,
2155
- y: s + C + G * N,
2146
+ y: s + k + G * N,
2156
2147
  r: N
2157
2148
  };
2158
2149
  }
@@ -2171,7 +2162,7 @@ function cr(i) {
2171
2162
  function jn(i) {
2172
2163
  this._ = i, this.next = null, this.previous = null;
2173
2164
  }
2174
- function Ch(i, t) {
2165
+ function kh(i, t) {
2175
2166
  if (!(a = (i = Oh(i)).length)) return 0;
2176
2167
  var e, n, s, a, r, o, c, l, h, d, u;
2177
2168
  if (e = i[0], e.x = 0, e.y = 0, !(a > 1)) return e.r;
@@ -2209,7 +2200,7 @@ function Ih() {
2209
2200
  var i = null, t = 1, e = 1, n = Ie;
2210
2201
  function s(a) {
2211
2202
  const r = bh();
2212
- return a.x = t / 2, a.y = e / 2, i ? a.eachBefore(ur(i)).eachAfter(ti(n, 0.5, r)).eachBefore(hr(1)) : a.eachBefore(ur(_h)).eachAfter(ti(Ie, 1, r)).eachAfter(ti(n, a.r / Math.min(t, e), r)).eachBefore(hr(Math.min(t, e) / (2 * a.r))), a;
2203
+ return a.x = t / 2, a.y = e / 2, i ? a.eachBefore(ur(i)).eachAfter(Qs(n, 0.5, r)).eachBefore(hr(1)) : a.eachBefore(ur(_h)).eachAfter(Qs(Ie, 1, r)).eachAfter(Qs(n, a.r / Math.min(t, e), r)).eachBefore(hr(Math.min(t, e) / (2 * a.r))), a;
2213
2204
  }
2214
2205
  return s.radius = function(a) {
2215
2206
  return arguments.length ? (i = xh(a), s) : i;
@@ -2224,12 +2215,12 @@ function ur(i) {
2224
2215
  t.children || (t.r = Math.max(0, +i(t) || 0));
2225
2216
  };
2226
2217
  }
2227
- function ti(i, t, e) {
2218
+ function Qs(i, t, e) {
2228
2219
  return function(n) {
2229
2220
  if (s = n.children) {
2230
2221
  var s, a, r = s.length, o = i(n) * t || 0, c;
2231
2222
  if (o) for (a = 0; a < r; ++a) s[a].r += o;
2232
- if (c = Ch(s, e), o) for (a = 0; a < r; ++a) s[a].r -= o;
2223
+ if (c = kh(s, e), o) for (a = 0; a < r; ++a) s[a].r -= o;
2233
2224
  n.r = c + o;
2234
2225
  }
2235
2226
  };
@@ -2250,11 +2241,11 @@ function Dh(i, t, e, n, s) {
2250
2241
  function Nh(i, t) {
2251
2242
  return i.parent === t.parent ? 1 : 2;
2252
2243
  }
2253
- function ei(i) {
2244
+ function ti(i) {
2254
2245
  var t = i.children;
2255
2246
  return t ? t[0] : i.t;
2256
2247
  }
2257
- function ni(i) {
2248
+ function ei(i) {
2258
2249
  var t = i.children;
2259
2250
  return t ? t[t.length - 1] : i.t;
2260
2251
  }
@@ -2311,9 +2302,9 @@ function Hh() {
2311
2302
  }
2312
2303
  function o(l, h, d) {
2313
2304
  if (h) {
2314
- for (var u = l, p = l, f = h, g = u.parent.children[0], m = u.m, y = p.m, S = f.m, v = g.m, E; f = ni(f), u = ei(u), f && u; )
2315
- g = ei(g), p = ni(p), p.a = l, E = f.z + S - u.z - m + i(f._, u._), E > 0 && (Ph(Vh(f, l, d), l, E), m += E, y += E), S += f.m, m += u.m, v += g.m, y += p.m;
2316
- f && !ni(p) && (p.t = f, p.m += S - y), u && !ei(g) && (g.t = u, g.m += m - v, d = l);
2305
+ for (var u = l, p = l, f = h, g = u.parent.children[0], m = u.m, y = p.m, S = f.m, v = g.m, E; f = ei(f), u = ti(u), f && u; )
2306
+ g = ti(g), p = ei(p), p.a = l, E = f.z + S - u.z - m + i(f._, u._), E > 0 && (Ph(Vh(f, l, d), l, E), m += E, y += E), S += f.m, m += u.m, v += g.m, y += p.m;
2307
+ f && !ei(p) && (p.t = f, p.m += S - y), u && !ti(g) && (g.t = u, g.m += m - v, d = l);
2317
2308
  }
2318
2309
  return d;
2319
2310
  }
@@ -2389,7 +2380,7 @@ function Wh() {
2389
2380
  return arguments.length ? (l = typeof u == "function" ? u : qe(+u), h) : l;
2390
2381
  }, h;
2391
2382
  }
2392
- function ks(i) {
2383
+ function ws(i) {
2393
2384
  let t = 3;
2394
2385
  return i.digits = function(e) {
2395
2386
  if (!arguments.length) return t;
@@ -2420,49 +2411,49 @@ function jh(i) {
2420
2411
  }
2421
2412
  function Kh(i, t, e, n, s, a, r, o) {
2422
2413
  var c = e - i, l = n - t, h = r - s, d = o - a, u = d * c - h * l;
2423
- if (!(u * u < zt))
2414
+ if (!(u * u < Ut))
2424
2415
  return u = (h * (t - a) - d * (i - s)) / u, [i + u * c, t + u * l];
2425
2416
  }
2426
2417
  function Kn(i, t, e, n, s, a, r) {
2427
- var o = i - e, c = t - n, l = (r ? a : -a) / Je(o * o + c * c), h = l * c, d = -l * o, u = i + h, p = t + d, f = e + h, g = n + d, m = (u + f) / 2, y = (p + g) / 2, S = f - u, v = g - p, E = S * S + v * v, x = s - a, b = u * g - f * p, _ = (v < 0 ? -1 : 1) * Je(bl(0, x * x * E - b * b)), C = (b * v - S * _) / E, G = (-b * S - v * _) / E, R = (b * v + S * _) / E, A = (-b * S + v * _) / E, H = C - m, N = G - y, M = R - m, O = A - y;
2428
- return H * H + N * N > M * M + O * O && (C = R, G = A), {
2429
- cx: C,
2418
+ var o = i - e, c = t - n, l = (r ? a : -a) / Je(o * o + c * c), h = l * c, d = -l * o, u = i + h, p = t + d, f = e + h, g = n + d, m = (u + f) / 2, y = (p + g) / 2, S = f - u, v = g - p, E = S * S + v * v, x = s - a, b = u * g - f * p, _ = (v < 0 ? -1 : 1) * Je(bl(0, x * x * E - b * b)), k = (b * v - S * _) / E, G = (-b * S - v * _) / E, R = (b * v + S * _) / E, A = (-b * S + v * _) / E, H = k - m, N = G - y, M = R - m, O = A - y;
2419
+ return H * H + N * N > M * M + O * O && (k = R, G = A), {
2420
+ cx: k,
2430
2421
  cy: G,
2431
2422
  x01: -h,
2432
2423
  y01: -d,
2433
- x11: C * (s / x - 1),
2424
+ x11: k * (s / x - 1),
2434
2425
  y11: G * (s / x - 1)
2435
2426
  };
2436
2427
  }
2437
2428
  function In() {
2438
- var i = Xh, t = Yh, e = pt(0), n = null, s = Zh, a = qh, r = jh, o = null, c = ks(l);
2429
+ var i = Xh, t = Yh, e = pt(0), n = null, s = Zh, a = qh, r = jh, o = null, c = ws(l);
2439
2430
  function l() {
2440
- var h, d, u = +i.apply(this, arguments), p = +t.apply(this, arguments), f = s.apply(this, arguments) - La, g = a.apply(this, arguments) - La, m = Aa(g - f), y = g > f;
2441
- if (o || (o = h = c()), p < u && (d = p, p = u, u = d), !(p > zt)) o.moveTo(0, 0);
2442
- else if (m > ss - zt)
2443
- o.moveTo(p * we(f), p * le(f)), o.arc(0, 0, p, f, g, !y), u > zt && (o.moveTo(u * we(g), u * le(g)), o.arc(0, 0, u, g, f, y));
2431
+ var h, d, u = +i.apply(this, arguments), p = +t.apply(this, arguments), f = s.apply(this, arguments) - Oa, g = a.apply(this, arguments) - Oa, m = La(g - f), y = g > f;
2432
+ if (o || (o = h = c()), p < u && (d = p, p = u, u = d), !(p > Ut)) o.moveTo(0, 0);
2433
+ else if (m > ss - Ut)
2434
+ o.moveTo(p * we(f), p * le(f)), o.arc(0, 0, p, f, g, !y), u > Ut && (o.moveTo(u * we(g), u * le(g)), o.arc(0, 0, u, g, f, y));
2444
2435
  else {
2445
- var S = f, v = g, E = f, x = g, b = m, _ = m, C = r.apply(this, arguments) / 2, G = C > zt && (n ? +n.apply(this, arguments) : Je(u * u + p * p)), R = Us(Aa(p - u) / 2, +e.apply(this, arguments)), A = R, H = R, N, M;
2446
- if (G > zt) {
2447
- var O = Ma(G / u * le(C)), P = Ma(G / p * le(C));
2448
- (b -= O * 2) > zt ? (O *= y ? 1 : -1, E += O, x -= O) : (b = 0, E = x = (f + g) / 2), (_ -= P * 2) > zt ? (P *= y ? 1 : -1, S += P, v -= P) : (_ = 0, S = v = (f + g) / 2);
2436
+ var S = f, v = g, E = f, x = g, b = m, _ = m, k = r.apply(this, arguments) / 2, G = k > Ut && (n ? +n.apply(this, arguments) : Je(u * u + p * p)), R = zs(La(p - u) / 2, +e.apply(this, arguments)), A = R, H = R, N, M;
2437
+ if (G > Ut) {
2438
+ var O = Ma(G / u * le(k)), P = Ma(G / p * le(k));
2439
+ (b -= O * 2) > Ut ? (O *= y ? 1 : -1, E += O, x -= O) : (b = 0, E = x = (f + g) / 2), (_ -= P * 2) > Ut ? (P *= y ? 1 : -1, S += P, v -= P) : (_ = 0, S = v = (f + g) / 2);
2449
2440
  }
2450
- var $ = p * we(S), k = p * le(S), V = u * we(x), q = u * le(x);
2451
- if (R > zt) {
2452
- var W = p * we(v), F = p * le(v), Z = u * we(E), rt = u * le(E), j;
2453
- if (m < Oa)
2454
- if (j = Kh($, k, Z, rt, W, F, V, q)) {
2455
- var Y = $ - j[0], K = k - j[1], ot = W - j[0], ct = F - j[1], st = 1 / le(Tl((Y * ot + K * ct) / (Je(Y * Y + K * K) * Je(ot * ot + ct * ct))) / 2), it = Je(j[0] * j[0] + j[1] * j[1]);
2456
- A = Us(R, (u - it) / (st - 1)), H = Us(R, (p - it) / (st + 1));
2441
+ var $ = p * we(S), C = p * le(S), V = u * we(x), q = u * le(x);
2442
+ if (R > Ut) {
2443
+ var X = p * we(v), F = p * le(v), Z = u * we(E), rt = u * le(E), j;
2444
+ if (m < Aa)
2445
+ if (j = Kh($, C, Z, rt, X, F, V, q)) {
2446
+ var Y = $ - j[0], K = C - j[1], ot = X - j[0], ct = F - j[1], st = 1 / le(Tl((Y * ot + K * ct) / (Je(Y * Y + K * K) * Je(ot * ot + ct * ct))) / 2), it = Je(j[0] * j[0] + j[1] * j[1]);
2447
+ A = zs(R, (u - it) / (st - 1)), H = zs(R, (p - it) / (st + 1));
2457
2448
  } else
2458
2449
  A = H = 0;
2459
2450
  }
2460
- _ > zt ? H > zt ? (N = Kn(Z, rt, $, k, p, H, y), M = Kn(W, F, V, q, p, H, y), o.moveTo(N.cx + N.x01, N.cy + N.y01), H < R ? o.arc(N.cx, N.cy, H, Rt(N.y01, N.x01), Rt(M.y01, M.x01), !y) : (o.arc(N.cx, N.cy, H, Rt(N.y01, N.x01), Rt(N.y11, N.x11), !y), o.arc(0, 0, p, Rt(N.cy + N.y11, N.cx + N.x11), Rt(M.cy + M.y11, M.cx + M.x11), !y), o.arc(M.cx, M.cy, H, Rt(M.y11, M.x11), Rt(M.y01, M.x01), !y))) : (o.moveTo($, k), o.arc(0, 0, p, S, v, !y)) : o.moveTo($, k), !(u > zt) || !(b > zt) ? o.lineTo(V, q) : A > zt ? (N = Kn(V, q, W, F, u, -A, y), M = Kn($, k, Z, rt, u, -A, y), o.lineTo(N.cx + N.x01, N.cy + N.y01), A < R ? o.arc(N.cx, N.cy, A, Rt(N.y01, N.x01), Rt(M.y01, M.x01), !y) : (o.arc(N.cx, N.cy, A, Rt(N.y01, N.x01), Rt(N.y11, N.x11), !y), o.arc(0, 0, u, Rt(N.cy + N.y11, N.cx + N.x11), Rt(M.cy + M.y11, M.cx + M.x11), y), o.arc(M.cx, M.cy, A, Rt(M.y11, M.x11), Rt(M.y01, M.x01), !y))) : o.arc(0, 0, u, x, E, y);
2451
+ _ > Ut ? H > Ut ? (N = Kn(Z, rt, $, C, p, H, y), M = Kn(X, F, V, q, p, H, y), o.moveTo(N.cx + N.x01, N.cy + N.y01), H < R ? o.arc(N.cx, N.cy, H, Rt(N.y01, N.x01), Rt(M.y01, M.x01), !y) : (o.arc(N.cx, N.cy, H, Rt(N.y01, N.x01), Rt(N.y11, N.x11), !y), o.arc(0, 0, p, Rt(N.cy + N.y11, N.cx + N.x11), Rt(M.cy + M.y11, M.cx + M.x11), !y), o.arc(M.cx, M.cy, H, Rt(M.y11, M.x11), Rt(M.y01, M.x01), !y))) : (o.moveTo($, C), o.arc(0, 0, p, S, v, !y)) : o.moveTo($, C), !(u > Ut) || !(b > Ut) ? o.lineTo(V, q) : A > Ut ? (N = Kn(V, q, X, F, u, -A, y), M = Kn($, C, Z, rt, u, -A, y), o.lineTo(N.cx + N.x01, N.cy + N.y01), A < R ? o.arc(N.cx, N.cy, A, Rt(N.y01, N.x01), Rt(M.y01, M.x01), !y) : (o.arc(N.cx, N.cy, A, Rt(N.y01, N.x01), Rt(N.y11, N.x11), !y), o.arc(0, 0, u, Rt(N.cy + N.y11, N.cx + N.x11), Rt(M.cy + M.y11, M.cx + M.x11), y), o.arc(M.cx, M.cy, A, Rt(M.y11, M.x11), Rt(M.y01, M.x01), !y))) : o.arc(0, 0, u, x, E, y);
2461
2452
  }
2462
2453
  if (o.closePath(), h) return o = null, h + "" || null;
2463
2454
  }
2464
2455
  return l.centroid = function() {
2465
- var h = (+i.apply(this, arguments) + +t.apply(this, arguments)) / 2, d = (+s.apply(this, arguments) + +a.apply(this, arguments)) / 2 - Oa / 2;
2456
+ var h = (+i.apply(this, arguments) + +t.apply(this, arguments)) / 2, d = (+s.apply(this, arguments) + +a.apply(this, arguments)) / 2 - Aa / 2;
2466
2457
  return [we(d) * h, le(d) * h];
2467
2458
  }, l.innerRadius = function(h) {
2468
2459
  return arguments.length ? (i = typeof h == "function" ? h : pt(+h), l) : i;
@@ -2489,7 +2480,7 @@ function qi(i) {
2489
2480
  return i[1];
2490
2481
  }
2491
2482
  function Dn(i, t) {
2492
- var e = pt(!0), n = null, s = Hi, a = null, r = ks(o);
2483
+ var e = pt(!0), n = null, s = Hi, a = null, r = ws(o);
2493
2484
  i = typeof i == "function" ? i : i === void 0 ? Zi : pt(i), t = typeof t == "function" ? t : t === void 0 ? qi : pt(t);
2494
2485
  function o(c) {
2495
2486
  var l, h = (c = zi(c)).length, d, u = !1, p;
@@ -2510,7 +2501,7 @@ function Dn(i, t) {
2510
2501
  }, o;
2511
2502
  }
2512
2503
  function ji(i, t, e) {
2513
- var n = null, s = pt(!0), a = null, r = Hi, o = null, c = ks(l);
2504
+ var n = null, s = pt(!0), a = null, r = Hi, o = null, c = ws(l);
2514
2505
  i = typeof i == "function" ? i : i === void 0 ? Zi : pt(+i), t = typeof t == "function" ? t : t === void 0 ? pt(0) : pt(+t), e = typeof e == "function" ? e : e === void 0 ? qi : pt(+e);
2515
2506
  function l(d) {
2516
2507
  var u, p, f, g = (d = zi(d)).length, m, y = !1, S, v = new Array(g), E = new Array(g);
@@ -2676,7 +2667,7 @@ function od(i) {
2676
2667
  return i.target;
2677
2668
  }
2678
2669
  function ld(i) {
2679
- let t = rd, e = od, n = Zi, s = qi, a = null, r = null, o = ks(c);
2670
+ let t = rd, e = od, n = Zi, s = qi, a = null, r = null, o = ws(c);
2680
2671
  function c() {
2681
2672
  let l;
2682
2673
  const h = wl.call(arguments), d = t.apply(this, h), u = e.apply(this, h);
@@ -2764,7 +2755,7 @@ class dt {
2764
2755
  return this.configs.options ? en({}, this.model.getOptions(), this.configs.options) : this.model.getOptions();
2765
2756
  }
2766
2757
  }
2767
- /*! @license DOMPurify 3.2.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.3/LICENSE */
2758
+ /*! @license DOMPurify 3.2.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.4/LICENSE */
2768
2759
  const {
2769
2760
  entries: Bo,
2770
2761
  setPrototypeOf: dr,
@@ -2792,15 +2783,15 @@ Ni || (Ni = function(t, e, n) {
2792
2783
  Pi || (Pi = function(t, e) {
2793
2784
  return new t(...e);
2794
2785
  });
2795
- const Jn = Yt(Array.prototype.forEach), pr = Yt(Array.prototype.pop), hn = Yt(Array.prototype.push), cs = Yt(String.prototype.toLowerCase), si = Yt(String.prototype.toString), fr = Yt(String.prototype.match), dn = Yt(String.prototype.replace), pd = Yt(String.prototype.indexOf), fd = Yt(String.prototype.trim), ie = Yt(Object.prototype.hasOwnProperty), $t = Yt(RegExp.prototype.test), pn = gd(TypeError);
2796
- function Yt(i) {
2786
+ const Jn = Bt(Array.prototype.forEach), pd = Bt(Array.prototype.lastIndexOf), pr = Bt(Array.prototype.pop), hn = Bt(Array.prototype.push), fd = Bt(Array.prototype.splice), cs = Bt(String.prototype.toLowerCase), ni = Bt(String.prototype.toString), fr = Bt(String.prototype.match), dn = Bt(String.prototype.replace), gd = Bt(String.prototype.indexOf), md = Bt(String.prototype.trim), ie = Bt(Object.prototype.hasOwnProperty), $t = Bt(RegExp.prototype.test), pn = vd(TypeError);
2787
+ function Bt(i) {
2797
2788
  return function(t) {
2798
2789
  for (var e = arguments.length, n = new Array(e > 1 ? e - 1 : 0), s = 1; s < e; s++)
2799
2790
  n[s - 1] = arguments[s];
2800
2791
  return Ni(i, t, n);
2801
2792
  };
2802
2793
  }
2803
- function gd(i) {
2794
+ function vd(i) {
2804
2795
  return function() {
2805
2796
  for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++)
2806
2797
  e[n] = arguments[n];
@@ -2821,15 +2812,15 @@ function ut(i, t) {
2821
2812
  }
2822
2813
  return i;
2823
2814
  }
2824
- function md(i) {
2815
+ function yd(i) {
2825
2816
  for (let t = 0; t < i.length; t++)
2826
2817
  ie(i, t) || (i[t] = null);
2827
2818
  return i;
2828
2819
  }
2829
- function Ce(i) {
2820
+ function ke(i) {
2830
2821
  const t = zo(null);
2831
2822
  for (const [e, n] of Bo(i))
2832
- ie(i, e) && (Array.isArray(n) ? t[e] = md(n) : n && typeof n == "object" && n.constructor === Object ? t[e] = Ce(n) : t[e] = n);
2823
+ ie(i, e) && (Array.isArray(n) ? t[e] = yd(n) : n && typeof n == "object" && n.constructor === Object ? t[e] = ke(n) : t[e] = n);
2833
2824
  return t;
2834
2825
  }
2835
2826
  function fn(i, t) {
@@ -2837,9 +2828,9 @@ function fn(i, t) {
2837
2828
  const n = dd(i, t);
2838
2829
  if (n) {
2839
2830
  if (n.get)
2840
- return Yt(n.get);
2831
+ return Bt(n.get);
2841
2832
  if (typeof n.value == "function")
2842
- return Yt(n.value);
2833
+ return Bt(n.value);
2843
2834
  }
2844
2835
  i = hd(i);
2845
2836
  }
@@ -2848,45 +2839,36 @@ function fn(i, t) {
2848
2839
  }
2849
2840
  return e;
2850
2841
  }
2851
- const gr = Ht(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), ii = Ht(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), ai = Ht(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), vd = Ht(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), ri = Ht(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), yd = Ht(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), mr = Ht(["#text"]), vr = Ht(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), oi = Ht(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), yr = Ht(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Qn = Ht(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Ed = ee(/\{\{[\w\W]*|[\w\W]*\}\}/gm), xd = ee(/<%[\w\W]*|[\w\W]*%>/gm), Sd = ee(/\$\{[\w\W]*}/gm), Td = ee(/^data-[\-\w.\u00B7-\uFFFF]+$/), bd = ee(/^aria-[\-\w]+$/), Uo = ee(
2842
+ const gr = Ht(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), si = Ht(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), ii = Ht(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Ed = Ht(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), ai = Ht(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), xd = Ht(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), mr = Ht(["#text"]), vr = Ht(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), ri = Ht(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), yr = Ht(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Qn = Ht(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Sd = ee(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Td = ee(/<%[\w\W]*|[\w\W]*%>/gm), bd = ee(/\$\{[\w\W]*/gm), Od = ee(/^data-[\-\w.\u00B7-\uFFFF]+$/), Ld = ee(/^aria-[\-\w]+$/), Uo = ee(
2852
2843
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
2853
2844
  // eslint-disable-line no-useless-escape
2854
- ), Od = ee(/^(?:\w+script|data):/i), Ld = ee(
2845
+ ), Ad = ee(/^(?:\w+script|data):/i), Md = ee(
2855
2846
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
2856
2847
  // eslint-disable-line no-control-regex
2857
- ), Fo = ee(/^html$/i), Ad = ee(/^[a-z][.\w]*(-[.\w]+)+$/i);
2848
+ ), Fo = ee(/^html$/i), wd = ee(/^[a-z][.\w]*(-[.\w]+)+$/i);
2858
2849
  var Er = /* @__PURE__ */ Object.freeze({
2859
2850
  __proto__: null,
2860
- ARIA_ATTR: bd,
2861
- ATTR_WHITESPACE: Ld,
2862
- CUSTOM_ELEMENT: Ad,
2863
- DATA_ATTR: Td,
2851
+ ARIA_ATTR: Ld,
2852
+ ATTR_WHITESPACE: Md,
2853
+ CUSTOM_ELEMENT: wd,
2854
+ DATA_ATTR: Od,
2864
2855
  DOCTYPE_NAME: Fo,
2865
- ERB_EXPR: xd,
2856
+ ERB_EXPR: Td,
2866
2857
  IS_ALLOWED_URI: Uo,
2867
- IS_SCRIPT_OR_DATA: Od,
2868
- MUSTACHE_EXPR: Ed,
2869
- TMPLIT_EXPR: Sd
2858
+ IS_SCRIPT_OR_DATA: Ad,
2859
+ MUSTACHE_EXPR: Sd,
2860
+ TMPLIT_EXPR: bd
2870
2861
  });
2871
2862
  const gn = {
2872
2863
  element: 1,
2873
- attribute: 2,
2874
2864
  text: 3,
2875
- cdataSection: 4,
2876
- entityReference: 5,
2877
- // Deprecated
2878
- entityNode: 6,
2879
2865
  // Deprecated
2880
2866
  progressingInstruction: 7,
2881
2867
  comment: 8,
2882
- document: 9,
2883
- documentType: 10,
2884
- documentFragment: 11,
2885
- notation: 12
2886
- // Deprecated
2887
- }, Md = function() {
2868
+ document: 9
2869
+ }, Cd = function() {
2888
2870
  return typeof window > "u" ? null : window;
2889
- }, wd = function(t, e) {
2871
+ }, kd = function(t, e) {
2890
2872
  if (typeof t != "object" || typeof t.createPolicy != "function")
2891
2873
  return null;
2892
2874
  let n = null;
@@ -2919,9 +2901,9 @@ const gn = {
2919
2901
  };
2920
2902
  };
2921
2903
  function Wo() {
2922
- let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Md();
2904
+ let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Cd();
2923
2905
  const t = (tt) => Wo(tt);
2924
- if (t.version = "3.2.3", t.removed = [], !i || !i.document || i.document.nodeType !== gn.document)
2906
+ if (t.version = "3.2.4", t.removed = [], !i || !i.document || i.document.nodeType !== gn.document || !i.Element)
2925
2907
  return t.isSupported = !1, t;
2926
2908
  let {
2927
2909
  document: e
@@ -2945,7 +2927,7 @@ function Wo() {
2945
2927
  const {
2946
2928
  implementation: b,
2947
2929
  createNodeIterator: _,
2948
- createDocumentFragment: C,
2930
+ createDocumentFragment: k,
2949
2931
  getElementsByTagName: G
2950
2932
  } = e, {
2951
2933
  importNode: R
@@ -2959,15 +2941,15 @@ function Wo() {
2959
2941
  DATA_ATTR: O,
2960
2942
  ARIA_ATTR: P,
2961
2943
  IS_SCRIPT_OR_DATA: $,
2962
- ATTR_WHITESPACE: k,
2944
+ ATTR_WHITESPACE: C,
2963
2945
  CUSTOM_ELEMENT: V
2964
2946
  } = Er;
2965
2947
  let {
2966
2948
  IS_ALLOWED_URI: q
2967
- } = Er, W = null;
2968
- const F = ut({}, [...gr, ...ii, ...ai, ...ri, ...mr]);
2949
+ } = Er, X = null;
2950
+ const F = ut({}, [...gr, ...si, ...ii, ...ai, ...mr]);
2969
2951
  let Z = null;
2970
- const rt = ut({}, [...vr, ...oi, ...yr, ...Qn]);
2952
+ const rt = ut({}, [...vr, ...ri, ...yr, ...Qn]);
2971
2953
  let j = Object.seal(zo(null, {
2972
2954
  tagNameCheck: {
2973
2955
  writable: !0,
@@ -2987,16 +2969,16 @@ function Wo() {
2987
2969
  enumerable: !0,
2988
2970
  value: !1
2989
2971
  }
2990
- })), Y = null, K = null, ot = !0, ct = !0, st = !1, it = !0, B = !1, z = !0, U = !1, Mt = !1, Se = !1, et = !1, yt = !1, Zt = !1, Ft = !0, rn = !1;
2972
+ })), Y = null, K = null, ot = !0, ct = !0, st = !1, it = !0, B = !1, z = !0, U = !1, Mt = !1, Se = !1, et = !1, yt = !1, Zt = !1, Wt = !0, rn = !1;
2991
2973
  const on = "user-content-";
2992
2974
  let Oe = !0, ne = !1, $e = {}, Ve = null;
2993
2975
  const ea = 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"]);
2994
2976
  let na = null;
2995
2977
  const sa = ut({}, ["audio", "video", "img", "source", "image", "track"]);
2996
- let _s = null;
2978
+ let ks = null;
2997
2979
  const ia = ut({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Nn = "http://www.w3.org/1998/Math/MathML", Pn = "http://www.w3.org/2000/svg", de = "http://www.w3.org/1999/xhtml";
2998
- let Ge = de, Is = !1, Rs = null;
2999
- const Ko = ut({}, [Nn, Pn, de], si);
2980
+ let Ge = de, _s = !1, Is = null;
2981
+ const Ko = ut({}, [Nn, Pn, de], ni);
3000
2982
  let $n = ut({}, ["mi", "mo", "mn", "ms", "mtext"]), Vn = ut({}, ["annotation-xml"]);
3001
2983
  const Jo = ut({}, ["title", "style", "font", "a", "script"]);
3002
2984
  let ln = null;
@@ -3004,28 +2986,28 @@ function Wo() {
3004
2986
  let wt = null, He = null;
3005
2987
  const el = e.createElement("form"), aa = function(w) {
3006
2988
  return w instanceof RegExp || w instanceof Function;
3007
- }, Ds = function() {
2989
+ }, Rs = function() {
3008
2990
  let w = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
3009
2991
  if (!(He && He === w)) {
3010
- if ((!w || typeof w != "object") && (w = {}), w = Ce(w), ln = // eslint-disable-next-line unicorn/prefer-includes
3011
- Qo.indexOf(w.PARSER_MEDIA_TYPE) === -1 ? tl : w.PARSER_MEDIA_TYPE, wt = ln === "application/xhtml+xml" ? si : cs, W = ie(w, "ALLOWED_TAGS") ? ut({}, w.ALLOWED_TAGS, wt) : F, Z = ie(w, "ALLOWED_ATTR") ? ut({}, w.ALLOWED_ATTR, wt) : rt, Rs = ie(w, "ALLOWED_NAMESPACES") ? ut({}, w.ALLOWED_NAMESPACES, si) : Ko, _s = ie(w, "ADD_URI_SAFE_ATTR") ? ut(Ce(ia), w.ADD_URI_SAFE_ATTR, wt) : ia, na = ie(w, "ADD_DATA_URI_TAGS") ? ut(Ce(sa), w.ADD_DATA_URI_TAGS, wt) : sa, Ve = ie(w, "FORBID_CONTENTS") ? ut({}, w.FORBID_CONTENTS, wt) : ea, Y = ie(w, "FORBID_TAGS") ? ut({}, w.FORBID_TAGS, wt) : {}, K = ie(w, "FORBID_ATTR") ? ut({}, w.FORBID_ATTR, wt) : {}, $e = ie(w, "USE_PROFILES") ? w.USE_PROFILES : !1, ot = w.ALLOW_ARIA_ATTR !== !1, ct = w.ALLOW_DATA_ATTR !== !1, st = w.ALLOW_UNKNOWN_PROTOCOLS || !1, it = w.ALLOW_SELF_CLOSE_IN_ATTR !== !1, B = w.SAFE_FOR_TEMPLATES || !1, z = w.SAFE_FOR_XML !== !1, U = w.WHOLE_DOCUMENT || !1, et = w.RETURN_DOM || !1, yt = w.RETURN_DOM_FRAGMENT || !1, Zt = w.RETURN_TRUSTED_TYPE || !1, Se = w.FORCE_BODY || !1, Ft = w.SANITIZE_DOM !== !1, rn = w.SANITIZE_NAMED_PROPS || !1, Oe = w.KEEP_CONTENT !== !1, ne = w.IN_PLACE || !1, q = w.ALLOWED_URI_REGEXP || Uo, Ge = w.NAMESPACE || de, $n = w.MATHML_TEXT_INTEGRATION_POINTS || $n, Vn = w.HTML_INTEGRATION_POINTS || Vn, j = w.CUSTOM_ELEMENT_HANDLING || {}, w.CUSTOM_ELEMENT_HANDLING && aa(w.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (j.tagNameCheck = w.CUSTOM_ELEMENT_HANDLING.tagNameCheck), w.CUSTOM_ELEMENT_HANDLING && aa(w.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (j.attributeNameCheck = w.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), w.CUSTOM_ELEMENT_HANDLING && typeof w.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (j.allowCustomizedBuiltInElements = w.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), B && (ct = !1), yt && (et = !0), $e && (W = ut({}, mr), Z = [], $e.html === !0 && (ut(W, gr), ut(Z, vr)), $e.svg === !0 && (ut(W, ii), ut(Z, oi), ut(Z, Qn)), $e.svgFilters === !0 && (ut(W, ai), ut(Z, oi), ut(Z, Qn)), $e.mathMl === !0 && (ut(W, ri), ut(Z, yr), ut(Z, Qn))), w.ADD_TAGS && (W === F && (W = Ce(W)), ut(W, w.ADD_TAGS, wt)), w.ADD_ATTR && (Z === rt && (Z = Ce(Z)), ut(Z, w.ADD_ATTR, wt)), w.ADD_URI_SAFE_ATTR && ut(_s, w.ADD_URI_SAFE_ATTR, wt), w.FORBID_CONTENTS && (Ve === ea && (Ve = Ce(Ve)), ut(Ve, w.FORBID_CONTENTS, wt)), Oe && (W["#text"] = !0), U && ut(W, ["html", "head", "body"]), W.table && (ut(W, ["tbody"]), delete Y.tbody), w.TRUSTED_TYPES_POLICY) {
2992
+ if ((!w || typeof w != "object") && (w = {}), w = ke(w), ln = // eslint-disable-next-line unicorn/prefer-includes
2993
+ Qo.indexOf(w.PARSER_MEDIA_TYPE) === -1 ? tl : w.PARSER_MEDIA_TYPE, wt = ln === "application/xhtml+xml" ? ni : cs, X = ie(w, "ALLOWED_TAGS") ? ut({}, w.ALLOWED_TAGS, wt) : F, Z = ie(w, "ALLOWED_ATTR") ? ut({}, w.ALLOWED_ATTR, wt) : rt, Is = ie(w, "ALLOWED_NAMESPACES") ? ut({}, w.ALLOWED_NAMESPACES, ni) : Ko, ks = ie(w, "ADD_URI_SAFE_ATTR") ? ut(ke(ia), w.ADD_URI_SAFE_ATTR, wt) : ia, na = ie(w, "ADD_DATA_URI_TAGS") ? ut(ke(sa), w.ADD_DATA_URI_TAGS, wt) : sa, Ve = ie(w, "FORBID_CONTENTS") ? ut({}, w.FORBID_CONTENTS, wt) : ea, Y = ie(w, "FORBID_TAGS") ? ut({}, w.FORBID_TAGS, wt) : {}, K = ie(w, "FORBID_ATTR") ? ut({}, w.FORBID_ATTR, wt) : {}, $e = ie(w, "USE_PROFILES") ? w.USE_PROFILES : !1, ot = w.ALLOW_ARIA_ATTR !== !1, ct = w.ALLOW_DATA_ATTR !== !1, st = w.ALLOW_UNKNOWN_PROTOCOLS || !1, it = w.ALLOW_SELF_CLOSE_IN_ATTR !== !1, B = w.SAFE_FOR_TEMPLATES || !1, z = w.SAFE_FOR_XML !== !1, U = w.WHOLE_DOCUMENT || !1, et = w.RETURN_DOM || !1, yt = w.RETURN_DOM_FRAGMENT || !1, Zt = w.RETURN_TRUSTED_TYPE || !1, Se = w.FORCE_BODY || !1, Wt = w.SANITIZE_DOM !== !1, rn = w.SANITIZE_NAMED_PROPS || !1, Oe = w.KEEP_CONTENT !== !1, ne = w.IN_PLACE || !1, q = w.ALLOWED_URI_REGEXP || Uo, Ge = w.NAMESPACE || de, $n = w.MATHML_TEXT_INTEGRATION_POINTS || $n, Vn = w.HTML_INTEGRATION_POINTS || Vn, j = w.CUSTOM_ELEMENT_HANDLING || {}, w.CUSTOM_ELEMENT_HANDLING && aa(w.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (j.tagNameCheck = w.CUSTOM_ELEMENT_HANDLING.tagNameCheck), w.CUSTOM_ELEMENT_HANDLING && aa(w.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (j.attributeNameCheck = w.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), w.CUSTOM_ELEMENT_HANDLING && typeof w.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (j.allowCustomizedBuiltInElements = w.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), B && (ct = !1), yt && (et = !0), $e && (X = ut({}, mr), Z = [], $e.html === !0 && (ut(X, gr), ut(Z, vr)), $e.svg === !0 && (ut(X, si), ut(Z, ri), ut(Z, Qn)), $e.svgFilters === !0 && (ut(X, ii), ut(Z, ri), ut(Z, Qn)), $e.mathMl === !0 && (ut(X, ai), ut(Z, yr), ut(Z, Qn))), w.ADD_TAGS && (X === F && (X = ke(X)), ut(X, w.ADD_TAGS, wt)), w.ADD_ATTR && (Z === rt && (Z = ke(Z)), ut(Z, w.ADD_ATTR, wt)), w.ADD_URI_SAFE_ATTR && ut(ks, w.ADD_URI_SAFE_ATTR, wt), w.FORBID_CONTENTS && (Ve === ea && (Ve = ke(Ve)), ut(Ve, w.FORBID_CONTENTS, wt)), Oe && (X["#text"] = !0), U && ut(X, ["html", "head", "body"]), X.table && (ut(X, ["tbody"]), delete Y.tbody), w.TRUSTED_TYPES_POLICY) {
3012
2994
  if (typeof w.TRUSTED_TYPES_POLICY.createHTML != "function")
3013
2995
  throw pn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
3014
2996
  if (typeof w.TRUSTED_TYPES_POLICY.createScriptURL != "function")
3015
2997
  throw pn('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
3016
2998
  E = w.TRUSTED_TYPES_POLICY, x = E.createHTML("");
3017
2999
  } else
3018
- E === void 0 && (E = wd(p, s)), E !== null && typeof x == "string" && (x = E.createHTML(""));
3000
+ E === void 0 && (E = kd(p, s)), E !== null && typeof x == "string" && (x = E.createHTML(""));
3019
3001
  Ht && Ht(w), He = w;
3020
3002
  }
3021
- }, ra = ut({}, [...ii, ...ai, ...vd]), oa = ut({}, [...ri, ...yd]), nl = function(w) {
3022
- let X = v(w);
3023
- (!X || !X.tagName) && (X = {
3003
+ }, ra = ut({}, [...si, ...ii, ...Ed]), oa = ut({}, [...ai, ...xd]), nl = function(w) {
3004
+ let W = v(w);
3005
+ (!W || !W.tagName) && (W = {
3024
3006
  namespaceURI: Ge,
3025
3007
  tagName: "template"
3026
3008
  });
3027
- const Q = cs(w.tagName), St = cs(X.tagName);
3028
- return Rs[w.namespaceURI] ? w.namespaceURI === Pn ? X.namespaceURI === de ? Q === "svg" : X.namespaceURI === Nn ? Q === "svg" && (St === "annotation-xml" || $n[St]) : !!ra[Q] : w.namespaceURI === Nn ? X.namespaceURI === de ? Q === "math" : X.namespaceURI === Pn ? Q === "math" && Vn[St] : !!oa[Q] : w.namespaceURI === de ? X.namespaceURI === Pn && !Vn[St] || X.namespaceURI === Nn && !$n[St] ? !1 : !oa[Q] && (Jo[Q] || !ra[Q]) : !!(ln === "application/xhtml+xml" && Rs[w.namespaceURI]) : !1;
3009
+ const Q = cs(w.tagName), St = cs(W.tagName);
3010
+ return Is[w.namespaceURI] ? w.namespaceURI === Pn ? W.namespaceURI === de ? Q === "svg" : W.namespaceURI === Nn ? Q === "svg" && (St === "annotation-xml" || $n[St]) : !!ra[Q] : w.namespaceURI === Nn ? W.namespaceURI === de ? Q === "math" : W.namespaceURI === Pn ? Q === "math" && Vn[St] : !!oa[Q] : w.namespaceURI === de ? W.namespaceURI === Pn && !Vn[St] || W.namespaceURI === Nn && !$n[St] ? !1 : !oa[Q] && (Jo[Q] || !ra[Q]) : !!(ln === "application/xhtml+xml" && Is[w.namespaceURI]) : !1;
3029
3011
  }, re = function(w) {
3030
3012
  hn(t.removed, {
3031
3013
  element: w
@@ -3035,53 +3017,53 @@ function Wo() {
3035
3017
  } catch {
3036
3018
  m(w);
3037
3019
  }
3038
- }, Gn = function(w, X) {
3020
+ }, Gn = function(w, W) {
3039
3021
  try {
3040
3022
  hn(t.removed, {
3041
- attribute: X.getAttributeNode(w),
3042
- from: X
3023
+ attribute: W.getAttributeNode(w),
3024
+ from: W
3043
3025
  });
3044
3026
  } catch {
3045
3027
  hn(t.removed, {
3046
3028
  attribute: null,
3047
- from: X
3029
+ from: W
3048
3030
  });
3049
3031
  }
3050
- if (X.removeAttribute(w), w === "is")
3032
+ if (W.removeAttribute(w), w === "is")
3051
3033
  if (et || yt)
3052
3034
  try {
3053
- re(X);
3035
+ re(W);
3054
3036
  } catch {
3055
3037
  }
3056
3038
  else
3057
3039
  try {
3058
- X.setAttribute(w, "");
3040
+ W.setAttribute(w, "");
3059
3041
  } catch {
3060
3042
  }
3061
3043
  }, la = function(w) {
3062
- let X = null, Q = null;
3044
+ let W = null, Q = null;
3063
3045
  if (Se)
3064
3046
  w = "<remove></remove>" + w;
3065
3047
  else {
3066
- const kt = fr(w, /^[\r\n\t ]+/);
3067
- Q = kt && kt[0];
3048
+ const Ct = fr(w, /^[\r\n\t ]+/);
3049
+ Q = Ct && Ct[0];
3068
3050
  }
3069
3051
  ln === "application/xhtml+xml" && Ge === de && (w = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + w + "</body></html>");
3070
3052
  const St = E ? E.createHTML(w) : w;
3071
3053
  if (Ge === de)
3072
3054
  try {
3073
- X = new u().parseFromString(St, ln);
3055
+ W = new u().parseFromString(St, ln);
3074
3056
  } catch {
3075
3057
  }
3076
- if (!X || !X.documentElement) {
3077
- X = b.createDocument(Ge, "template", null);
3058
+ if (!W || !W.documentElement) {
3059
+ W = b.createDocument(Ge, "template", null);
3078
3060
  try {
3079
- X.documentElement.innerHTML = Is ? x : St;
3061
+ W.documentElement.innerHTML = _s ? x : St;
3080
3062
  } catch {
3081
3063
  }
3082
3064
  }
3083
- const It = X.body || X.documentElement;
3084
- return w && Q && It.insertBefore(e.createTextNode(Q), It.childNodes[0] || null), Ge === de ? G.call(X, U ? "html" : "body")[0] : U ? X.documentElement : It;
3065
+ const It = W.body || W.documentElement;
3066
+ return w && Q && It.insertBefore(e.createTextNode(Q), It.childNodes[0] || null), Ge === de ? G.call(W, U ? "html" : "body")[0] : U ? W.documentElement : It;
3085
3067
  }, ca = function(w) {
3086
3068
  return _.call(
3087
3069
  w.ownerDocument || w,
@@ -3090,64 +3072,64 @@ function Wo() {
3090
3072
  l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION,
3091
3073
  null
3092
3074
  );
3093
- }, Ns = function(w) {
3075
+ }, Ds = function(w) {
3094
3076
  return w instanceof d && (typeof w.nodeName != "string" || typeof w.textContent != "string" || typeof w.removeChild != "function" || !(w.attributes instanceof h) || typeof w.removeAttribute != "function" || typeof w.setAttribute != "function" || typeof w.namespaceURI != "string" || typeof w.insertBefore != "function" || typeof w.hasChildNodes != "function");
3095
3077
  }, ua = function(w) {
3096
3078
  return typeof o == "function" && w instanceof o;
3097
3079
  };
3098
- function pe(tt, w, X) {
3080
+ function pe(tt, w, W) {
3099
3081
  Jn(tt, (Q) => {
3100
- Q.call(t, w, X, He);
3082
+ Q.call(t, w, W, He);
3101
3083
  });
3102
3084
  }
3103
3085
  const ha = function(w) {
3104
- let X = null;
3105
- if (pe(A.beforeSanitizeElements, w, null), Ns(w))
3086
+ let W = null;
3087
+ if (pe(A.beforeSanitizeElements, w, null), Ds(w))
3106
3088
  return re(w), !0;
3107
3089
  const Q = wt(w.nodeName);
3108
3090
  if (pe(A.uponSanitizeElement, w, {
3109
3091
  tagName: Q,
3110
- allowedTags: W
3092
+ allowedTags: X
3111
3093
  }), w.hasChildNodes() && !ua(w.firstElementChild) && $t(/<[/\w]/g, w.innerHTML) && $t(/<[/\w]/g, w.textContent) || w.nodeType === gn.progressingInstruction || z && w.nodeType === gn.comment && $t(/<[/\w]/g, w.data))
3112
3094
  return re(w), !0;
3113
- if (!W[Q] || Y[Q]) {
3095
+ if (!X[Q] || Y[Q]) {
3114
3096
  if (!Y[Q] && pa(Q) && (j.tagNameCheck instanceof RegExp && $t(j.tagNameCheck, Q) || j.tagNameCheck instanceof Function && j.tagNameCheck(Q)))
3115
3097
  return !1;
3116
3098
  if (Oe && !Ve[Q]) {
3117
3099
  const St = v(w) || w.parentNode, It = S(w) || w.childNodes;
3118
3100
  if (It && St) {
3119
- const kt = It.length;
3120
- for (let Bt = kt - 1; Bt >= 0; --Bt) {
3121
- const oe = g(It[Bt], !0);
3101
+ const Ct = It.length;
3102
+ for (let zt = Ct - 1; zt >= 0; --zt) {
3103
+ const oe = g(It[zt], !0);
3122
3104
  oe.__removalCount = (w.__removalCount || 0) + 1, St.insertBefore(oe, y(w));
3123
3105
  }
3124
3106
  }
3125
3107
  }
3126
3108
  return re(w), !0;
3127
3109
  }
3128
- return w instanceof c && !nl(w) || (Q === "noscript" || Q === "noembed" || Q === "noframes") && $t(/<\/no(script|embed|frames)/i, w.innerHTML) ? (re(w), !0) : (B && w.nodeType === gn.text && (X = w.textContent, Jn([H, N, M], (St) => {
3129
- X = dn(X, St, " ");
3130
- }), w.textContent !== X && (hn(t.removed, {
3110
+ return w instanceof c && !nl(w) || (Q === "noscript" || Q === "noembed" || Q === "noframes") && $t(/<\/no(script|embed|frames)/i, w.innerHTML) ? (re(w), !0) : (B && w.nodeType === gn.text && (W = w.textContent, Jn([H, N, M], (St) => {
3111
+ W = dn(W, St, " ");
3112
+ }), w.textContent !== W && (hn(t.removed, {
3131
3113
  element: w.cloneNode()
3132
- }), w.textContent = X)), pe(A.afterSanitizeElements, w, null), !1);
3133
- }, da = function(w, X, Q) {
3134
- if (Ft && (X === "id" || X === "name") && (Q in e || Q in el))
3114
+ }), w.textContent = W)), pe(A.afterSanitizeElements, w, null), !1);
3115
+ }, da = function(w, W, Q) {
3116
+ if (Wt && (W === "id" || W === "name") && (Q in e || Q in el))
3135
3117
  return !1;
3136
- if (!(ct && !K[X] && $t(O, X))) {
3137
- if (!(ot && $t(P, X))) {
3138
- if (!Z[X] || K[X]) {
3118
+ if (!(ct && !K[W] && $t(O, W))) {
3119
+ if (!(ot && $t(P, W))) {
3120
+ if (!Z[W] || K[W]) {
3139
3121
  if (
3140
3122
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
3141
3123
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
3142
3124
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
3143
- !(pa(w) && (j.tagNameCheck instanceof RegExp && $t(j.tagNameCheck, w) || j.tagNameCheck instanceof Function && j.tagNameCheck(w)) && (j.attributeNameCheck instanceof RegExp && $t(j.attributeNameCheck, X) || j.attributeNameCheck instanceof Function && j.attributeNameCheck(X)) || // Alternative, second condition checks if it's an `is`-attribute, AND
3125
+ !(pa(w) && (j.tagNameCheck instanceof RegExp && $t(j.tagNameCheck, w) || j.tagNameCheck instanceof Function && j.tagNameCheck(w)) && (j.attributeNameCheck instanceof RegExp && $t(j.attributeNameCheck, W) || j.attributeNameCheck instanceof Function && j.attributeNameCheck(W)) || // Alternative, second condition checks if it's an `is`-attribute, AND
3144
3126
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
3145
- X === "is" && j.allowCustomizedBuiltInElements && (j.tagNameCheck instanceof RegExp && $t(j.tagNameCheck, Q) || j.tagNameCheck instanceof Function && j.tagNameCheck(Q)))
3127
+ W === "is" && j.allowCustomizedBuiltInElements && (j.tagNameCheck instanceof RegExp && $t(j.tagNameCheck, Q) || j.tagNameCheck instanceof Function && j.tagNameCheck(Q)))
3146
3128
  ) return !1;
3147
- } else if (!_s[X]) {
3148
- if (!$t(q, dn(Q, k, ""))) {
3149
- if (!((X === "src" || X === "xlink:href" || X === "href") && w !== "script" && pd(Q, "data:") === 0 && na[w])) {
3150
- if (!(st && !$t($, dn(Q, k, "")))) {
3129
+ } else if (!ks[W]) {
3130
+ if (!$t(q, dn(Q, C, ""))) {
3131
+ if (!((W === "src" || W === "xlink:href" || W === "href") && w !== "script" && gd(Q, "data:") === 0 && na[w])) {
3132
+ if (!(st && !$t($, dn(Q, C, "")))) {
3151
3133
  if (Q)
3152
3134
  return !1;
3153
3135
  }
@@ -3162,9 +3144,9 @@ function Wo() {
3162
3144
  }, fa = function(w) {
3163
3145
  pe(A.beforeSanitizeAttributes, w, null);
3164
3146
  const {
3165
- attributes: X
3147
+ attributes: W
3166
3148
  } = w;
3167
- if (!X || Ns(w))
3149
+ if (!W || Ds(w))
3168
3150
  return;
3169
3151
  const Q = {
3170
3152
  attrName: "",
@@ -3173,22 +3155,22 @@ function Wo() {
3173
3155
  allowedAttributes: Z,
3174
3156
  forceKeepAttr: void 0
3175
3157
  };
3176
- let St = X.length;
3158
+ let St = W.length;
3177
3159
  for (; St--; ) {
3178
- const It = X[St], {
3179
- name: kt,
3180
- namespaceURI: Bt,
3160
+ const It = W[St], {
3161
+ name: Ct,
3162
+ namespaceURI: zt,
3181
3163
  value: oe
3182
- } = It, cn = wt(kt);
3183
- let Pt = kt === "value" ? oe : fd(oe);
3184
- if (Q.attrName = cn, Q.attrValue = Pt, Q.keepAttr = !0, Q.forceKeepAttr = void 0, pe(A.uponSanitizeAttribute, w, Q), Pt = Q.attrValue, rn && (cn === "id" || cn === "name") && (Gn(kt, w), Pt = on + Pt), z && $t(/((--!?|])>)|<\/(style|title)/i, Pt)) {
3185
- Gn(kt, w);
3164
+ } = It, cn = wt(Ct);
3165
+ let Pt = Ct === "value" ? oe : md(oe);
3166
+ if (Q.attrName = cn, Q.attrValue = Pt, Q.keepAttr = !0, Q.forceKeepAttr = void 0, pe(A.uponSanitizeAttribute, w, Q), Pt = Q.attrValue, rn && (cn === "id" || cn === "name") && (Gn(Ct, w), Pt = on + Pt), z && $t(/((--!?|])>)|<\/(style|title)/i, Pt)) {
3167
+ Gn(Ct, w);
3186
3168
  continue;
3187
3169
  }
3188
- if (Q.forceKeepAttr || (Gn(kt, w), !Q.keepAttr))
3170
+ if (Q.forceKeepAttr || (Gn(Ct, w), !Q.keepAttr))
3189
3171
  continue;
3190
3172
  if (!it && $t(/\/>/i, Pt)) {
3191
- Gn(kt, w);
3173
+ Gn(Ct, w);
3192
3174
  continue;
3193
3175
  }
3194
3176
  B && Jn([H, N, M], (ma) => {
@@ -3196,7 +3178,7 @@ function Wo() {
3196
3178
  });
3197
3179
  const ga = wt(w.nodeName);
3198
3180
  if (da(ga, cn, Pt)) {
3199
- if (E && typeof p == "object" && typeof p.getAttributeType == "function" && !Bt)
3181
+ if (E && typeof p == "object" && typeof p.getAttributeType == "function" && !zt)
3200
3182
  switch (p.getAttributeType(ga, cn)) {
3201
3183
  case "TrustedHTML": {
3202
3184
  Pt = E.createHTML(Pt);
@@ -3208,22 +3190,22 @@ function Wo() {
3208
3190
  }
3209
3191
  }
3210
3192
  try {
3211
- Bt ? w.setAttributeNS(Bt, kt, Pt) : w.setAttribute(kt, Pt), Ns(w) ? re(w) : pr(t.removed);
3193
+ zt ? w.setAttributeNS(zt, Ct, Pt) : w.setAttribute(Ct, Pt), Ds(w) ? re(w) : pr(t.removed);
3212
3194
  } catch {
3213
3195
  }
3214
3196
  }
3215
3197
  }
3216
3198
  pe(A.afterSanitizeAttributes, w, null);
3217
3199
  }, sl = function tt(w) {
3218
- let X = null;
3200
+ let W = null;
3219
3201
  const Q = ca(w);
3220
- for (pe(A.beforeSanitizeShadowDOM, w, null); X = Q.nextNode(); )
3221
- pe(A.uponSanitizeShadowNode, X, null), ha(X), fa(X), X.content instanceof a && tt(X.content);
3202
+ for (pe(A.beforeSanitizeShadowDOM, w, null); W = Q.nextNode(); )
3203
+ pe(A.uponSanitizeShadowNode, W, null), ha(W), fa(W), W.content instanceof a && tt(W.content);
3222
3204
  pe(A.afterSanitizeShadowDOM, w, null);
3223
3205
  };
3224
3206
  return t.sanitize = function(tt) {
3225
- let w = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, X = null, Q = null, St = null, It = null;
3226
- if (Is = !tt, Is && (tt = "<!-->"), typeof tt != "string" && !ua(tt))
3207
+ let w = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, W = null, Q = null, St = null, It = null;
3208
+ if (_s = !tt, _s && (tt = "<!-->"), typeof tt != "string" && !ua(tt))
3227
3209
  if (typeof tt.toString == "function") {
3228
3210
  if (tt = tt.toString(), typeof tt != "string")
3229
3211
  throw pn("dirty is not a string, aborting");
@@ -3231,52 +3213,56 @@ function Wo() {
3231
3213
  throw pn("toString is not a function");
3232
3214
  if (!t.isSupported)
3233
3215
  return tt;
3234
- if (Mt || Ds(w), t.removed = [], typeof tt == "string" && (ne = !1), ne) {
3216
+ if (Mt || Rs(w), t.removed = [], typeof tt == "string" && (ne = !1), ne) {
3235
3217
  if (tt.nodeName) {
3236
3218
  const oe = wt(tt.nodeName);
3237
- if (!W[oe] || Y[oe])
3219
+ if (!X[oe] || Y[oe])
3238
3220
  throw pn("root node is forbidden and cannot be sanitized in-place");
3239
3221
  }
3240
3222
  } else if (tt instanceof o)
3241
- X = la("<!---->"), Q = X.ownerDocument.importNode(tt, !0), Q.nodeType === gn.element && Q.nodeName === "BODY" || Q.nodeName === "HTML" ? X = Q : X.appendChild(Q);
3223
+ W = la("<!---->"), Q = W.ownerDocument.importNode(tt, !0), Q.nodeType === gn.element && Q.nodeName === "BODY" || Q.nodeName === "HTML" ? W = Q : W.appendChild(Q);
3242
3224
  else {
3243
3225
  if (!et && !B && !U && // eslint-disable-next-line unicorn/prefer-includes
3244
3226
  tt.indexOf("<") === -1)
3245
3227
  return E && Zt ? E.createHTML(tt) : tt;
3246
- if (X = la(tt), !X)
3228
+ if (W = la(tt), !W)
3247
3229
  return et ? null : Zt ? x : "";
3248
3230
  }
3249
- X && Se && re(X.firstChild);
3250
- const kt = ca(ne ? tt : X);
3251
- for (; St = kt.nextNode(); )
3231
+ W && Se && re(W.firstChild);
3232
+ const Ct = ca(ne ? tt : W);
3233
+ for (; St = Ct.nextNode(); )
3252
3234
  ha(St), fa(St), St.content instanceof a && sl(St.content);
3253
3235
  if (ne)
3254
3236
  return tt;
3255
3237
  if (et) {
3256
3238
  if (yt)
3257
- for (It = C.call(X.ownerDocument); X.firstChild; )
3258
- It.appendChild(X.firstChild);
3239
+ for (It = k.call(W.ownerDocument); W.firstChild; )
3240
+ It.appendChild(W.firstChild);
3259
3241
  else
3260
- It = X;
3242
+ It = W;
3261
3243
  return (Z.shadowroot || Z.shadowrootmode) && (It = R.call(n, It, !0)), It;
3262
3244
  }
3263
- let Bt = U ? X.outerHTML : X.innerHTML;
3264
- return U && W["!doctype"] && X.ownerDocument && X.ownerDocument.doctype && X.ownerDocument.doctype.name && $t(Fo, X.ownerDocument.doctype.name) && (Bt = "<!DOCTYPE " + X.ownerDocument.doctype.name + `>
3265
- ` + Bt), B && Jn([H, N, M], (oe) => {
3266
- Bt = dn(Bt, oe, " ");
3267
- }), E && Zt ? E.createHTML(Bt) : Bt;
3245
+ let zt = U ? W.outerHTML : W.innerHTML;
3246
+ return U && X["!doctype"] && W.ownerDocument && W.ownerDocument.doctype && W.ownerDocument.doctype.name && $t(Fo, W.ownerDocument.doctype.name) && (zt = "<!DOCTYPE " + W.ownerDocument.doctype.name + `>
3247
+ ` + zt), B && Jn([H, N, M], (oe) => {
3248
+ zt = dn(zt, oe, " ");
3249
+ }), E && Zt ? E.createHTML(zt) : zt;
3268
3250
  }, t.setConfig = function() {
3269
3251
  let tt = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
3270
- Ds(tt), Mt = !0;
3252
+ Rs(tt), Mt = !0;
3271
3253
  }, t.clearConfig = function() {
3272
3254
  He = null, Mt = !1;
3273
- }, t.isValidAttribute = function(tt, w, X) {
3274
- He || Ds({});
3255
+ }, t.isValidAttribute = function(tt, w, W) {
3256
+ He || Rs({});
3275
3257
  const Q = wt(tt), St = wt(w);
3276
- return da(Q, St, X);
3258
+ return da(Q, St, W);
3277
3259
  }, t.addHook = function(tt, w) {
3278
3260
  typeof w == "function" && hn(A[tt], w);
3279
- }, t.removeHook = function(tt) {
3261
+ }, t.removeHook = function(tt, w) {
3262
+ if (w !== void 0) {
3263
+ const W = pd(A[tt], w);
3264
+ return W === -1 ? void 0 : fd(A[tt], W, 1)[0];
3265
+ }
3280
3266
  return pr(A[tt]);
3281
3267
  }, t.removeHooks = function(tt) {
3282
3268
  A[tt] = [];
@@ -3291,14 +3277,14 @@ const ts = (i) => Ki.sanitize(i, {
3291
3277
  svg: !0,
3292
3278
  svgFilters: !0
3293
3279
  }
3294
- }), kd = (i) => Ki.sanitize(i, {
3280
+ }), _d = (i) => Ki.sanitize(i, {
3295
3281
  NAMESPACE: "http://www.w3.org/2000/svg",
3296
3282
  USE_PROFILES: {
3297
3283
  html: !0,
3298
3284
  svg: !0,
3299
3285
  svgFilters: !0
3300
3286
  }
3301
- }), he = (i) => Ki.sanitize(i, { ALLOWED_TAGS: [] }), bs = class bs extends dt {
3287
+ }), he = (i) => Ki.sanitize(i, { ALLOWED_TAGS: [] }), Ts = class Ts extends dt {
3302
3288
  constructor() {
3303
3289
  super(...arguments), this.type = "toolbar", this.renderType = at.HTML;
3304
3290
  }
@@ -3336,7 +3322,7 @@ const ts = (i) => Ki.sanitize(i, {
3336
3322
  `control-${he(l.id)}`
3337
3323
  )}" aria-label="${he(l.title)}">
3338
3324
  <svg focusable="false" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" class="cds--overflow-menu__icon cds--overflow-menu__icon" viewBox="0 0 32 32" aria-hidden="true">
3339
- ${kd(l.iconSVG.content)}
3325
+ ${_d(l.iconSVG.content)}
3340
3326
  </svg>
3341
3327
  </button>`).each(function(l, h) {
3342
3328
  D(this).select("svg").style("pointer-events", "none").style("will-change", "transform").style("width", l.iconSVG.width !== void 0 ? l.iconSVG.width : "20px").style("height", l.iconSVG.height !== void 0 ? l.iconSVG.height : "20px"), D(this).select("button").on("mouseover focus", function(d) {
@@ -3476,7 +3462,7 @@ const ts = (i) => Ki.sanitize(i, {
3476
3462
  return e.forEach((r) => {
3477
3463
  let o = null;
3478
3464
  if (r.type === Tt.CUSTOM)
3479
- L(r, "id") === null && (r.id = `toolbar-button-${bs.buttonID++}`), L(r, "shouldBeDisabled") === null && (r.shouldBeDisabled = () => !1), o = r;
3465
+ L(r, "id") === null && (r.id = `toolbar-button-${Ts.buttonID++}`), L(r, "shouldBeDisabled") === null && (r.shouldBeDisabled = () => !1), o = r;
3480
3466
  else {
3481
3467
  const c = this.services.domUtils.isFullScreenMode();
3482
3468
  r.type === Tt.MAKE_FULLSCREEN && c ? r.type = Tt.EXIT_FULLSCREEN : r.type === Tt.EXIT_FULLSCREEN && !c && (r.type = Tt.MAKE_FULLSCREEN), o = this.getControlConfigByType(r.type);
@@ -3673,11 +3659,11 @@ const ts = (i) => Ki.sanitize(i, {
3673
3659
  }
3674
3660
  }
3675
3661
  };
3676
- bs.buttonID = 0;
3677
- let Sr = bs;
3678
- const Os = class Os extends dt {
3662
+ Ts.buttonID = 0;
3663
+ let Sr = Ts;
3664
+ const bs = class bs extends dt {
3679
3665
  constructor(t, e, n, s) {
3680
- super(t, e, s), this.type = "layout", this.configs = s, this.children = n, this._instanceID = Os.instanceID++, this.init();
3666
+ super(t, e, s), this.type = "layout", this.configs = s, this.children = n, this._instanceID = bs.instanceID++, this.init();
3681
3667
  }
3682
3668
  init() {
3683
3669
  this.children.forEach((t) => {
@@ -3762,9 +3748,9 @@ const Os = class Os extends dt {
3762
3748
  });
3763
3749
  }
3764
3750
  };
3765
- Os.instanceID = Math.floor(Math.random() * 99999999999);
3766
- let Tr = Os;
3767
- class im extends dt {
3751
+ bs.instanceID = Math.floor(Math.random() * 99999999999);
3752
+ let Tr = bs;
3753
+ class rm extends dt {
3768
3754
  constructor() {
3769
3755
  super(...arguments), this.type = "spacer";
3770
3756
  }
@@ -3777,7 +3763,7 @@ class im extends dt {
3777
3763
  }).style("width", `${this.configs.size || ya.default.size}px`).style("height", `${this.configs.size || ya.default.size}px`).attr("opacity", 0);
3778
3764
  }
3779
3765
  }
3780
- class am extends dt {
3766
+ class om extends dt {
3781
3767
  constructor(t, e, n) {
3782
3768
  super(t, e, n), this.type = "modal", this.isEventListenerAdded = !1, this.handleShowModal = () => {
3783
3769
  const s = this.services.domUtils.getChartID();
@@ -3857,7 +3843,7 @@ class am extends dt {
3857
3843
  this.removeEventListeners(), this.isEventListenerAdded = !1;
3858
3844
  }
3859
3845
  }
3860
- class Cd extends dt {
3846
+ class Id extends dt {
3861
3847
  constructor() {
3862
3848
  super(...arguments), this.type = "title", this.renderType = at.HTML;
3863
3849
  }
@@ -3934,7 +3920,7 @@ class Cd extends dt {
3934
3920
  return t.getSubStringLength(0, a) > s ? this.getSubstringIndex(t, e, a, s) : t.getSubStringLength(0, a) < s ? t.getSubStringLength(0, a + 1) > s ? a : this.getSubstringIndex(t, a, n, s) : a;
3935
3921
  }
3936
3922
  }
3937
- class _d extends dt {
3923
+ class Rd extends dt {
3938
3924
  constructor() {
3939
3925
  super(...arguments), this.type = "legend", this.renderType = at.HTML;
3940
3926
  }
@@ -3975,15 +3961,15 @@ class _d extends dt {
3975
3961
  v.exit().remove();
3976
3962
  const E = v.enter().append("div").merge(v).classed("legend-item", !0).classed("additional", !0).attr(
3977
3963
  "aria-labelledby",
3978
- (_, C) => this.services.domUtils.generateElementIDString(
3979
- `legend-datagroup-${m.size() + C}-title`
3964
+ (_, k) => this.services.domUtils.generateElementIDString(
3965
+ `legend-datagroup-${m.size() + k}-title`
3980
3966
  )
3981
3967
  );
3982
3968
  E.selectAll("*").remove();
3983
3969
  let x, b = 1;
3984
3970
  E.append("svg").classed("icon", !0).each(function(_) {
3985
- const C = D(this);
3986
- !x || x != _.type ? (x = _.type, b = 1) : b++, S.addAdditionalItem(C, _, b);
3971
+ const k = D(this);
3972
+ !x || x != _.type ? (x = _.type, b = 1) : b++, S.addAdditionalItem(k, _, b);
3987
3973
  }), E.append("p").merge(E.select("p")), this.truncateLegendText();
3988
3974
  }
3989
3975
  d.exit().on("mouseover", null).on("click", null).on("mouseout", null).remove(), p && u.size() > 1 && this.addEventListeners();
@@ -4083,7 +4069,7 @@ class _d extends dt {
4083
4069
  });
4084
4070
  }
4085
4071
  }
4086
- class Id extends dt {
4072
+ class Dd extends dt {
4087
4073
  constructor(t, e, n) {
4088
4074
  super(t, e, n), this.type = "chart-clip", this.renderType = at.SVG, this.chartClipId = "chart-clip-id-" + Math.floor(Math.random() * 99999999999), this.init();
4089
4075
  }
@@ -4110,7 +4096,7 @@ class Id extends dt {
4110
4096
  r - a > 0 && l.attr("x", a).attr("y", c).attr("width", r - a).attr("height", o - c), this.chartClipPath.merge(l).lower();
4111
4097
  }
4112
4098
  }
4113
- class rm extends Id {
4099
+ class lm extends Dd {
4114
4100
  constructor() {
4115
4101
  super(...arguments), this.type = "canvas-chart-clip", this.chartClipId = "canvas-chart-clip-id-" + Math.floor(Math.random() * 99999999999);
4116
4102
  }
@@ -4152,9 +4138,7 @@ var br = (Xe = {}, Xe[Lt.LEFT] = function(i, t, e) {
4152
4138
  };
4153
4139
  }, Xe), Or = typeof window < "u" ? window : {
4154
4140
  innerHeight: 0,
4155
- scrollY: 0,
4156
- innerWidth: 0,
4157
- scrollX: 0
4141
+ innerWidth: 0
4158
4142
  }, Cs = (
4159
4143
  /** @class */
4160
4144
  function() {
@@ -4244,7 +4228,7 @@ var br = (Xe = {}, Xe[Lt.LEFT] = function(i, t, e) {
4244
4228
  }()
4245
4229
  );
4246
4230
  new Cs();
4247
- class Rd extends dt {
4231
+ class Nd extends dt {
4248
4232
  constructor(t, e, n) {
4249
4233
  super(t, e, n), this.type = "tooltip", this.renderType = at.HTML, this.isEventListenerAdded = !1, this.lastTriggeredEventType = "", this.positionService = new Cs(), this.handleShowTooltip = (s) => {
4250
4234
  const a = s.detail.data || s.detail.items, r = D(s.detail.event.target).datum();
@@ -4427,23 +4411,23 @@ const tn = class tn extends dt {
4427
4411
  }), { cartesianScales: l } = this.services, h = l.getMainXScaleType(), d = l.getMainXScale(), [u] = d.range();
4428
4412
  n.attr("transform", `translate(${u},0)`);
4429
4413
  const p = I.appendOrSelect(n, this.frontSelectionSelector);
4430
- if (d && h === Ct.TIME) {
4414
+ if (d && h === kt.TIME) {
4431
4415
  let f = this.model.get("zoomDomain");
4432
4416
  f === void 0 && (f = this.services.zoom.getDefaultZoomBarDomain(), f && this.model.set({ zoomDomain: f }, { animate: !1 }));
4433
4417
  const g = (x) => {
4434
4418
  const b = x[1] - x[0];
4435
4419
  let _ = "0," + b.toString();
4436
- const C = Math.floor(c / tn.DASH_LENGTH), G = C * tn.DASH_LENGTH;
4437
- for (let R = 0; R < C; R++)
4420
+ const k = Math.floor(c / tn.DASH_LENGTH), G = k * tn.DASH_LENGTH;
4421
+ for (let R = 0; R < k; R++)
4438
4422
  _ += "," + tn.DASH_LENGTH;
4439
- _ += "," + (c - G), C % 2 === 1 && (_ += ",0"), _ += "," + b.toString(), _ += "," + c.toString(), p.attr("stroke-dasharray", _);
4423
+ _ += "," + (c - G), k % 2 === 1 && (_ += ",0"), _ += "," + b.toString(), _ += "," + c.toString(), p.attr("stroke-dasharray", _);
4440
4424
  }, m = (x) => {
4441
4425
  const b = x.selection;
4442
4426
  b === null || b[0] === b[1] || (p.attr("x", parseFloat(r.attr("x")) + parseFloat(s.attr("x"))).attr("y", r.attr("y")).attr("width", r.attr("width")).attr("height", r.attr("height")).style("cursor", "pointer").style("display", null), g(b));
4443
4427
  }, y = (x, b) => {
4444
4428
  const _ = Ol().range([0, o]).domain(f);
4445
- let C = [_.invert(x), _.invert(b)];
4446
- C[0].valueOf() === C[1].valueOf() && (C = this.services.zoom.getDefaultZoomBarDomain()), (f[0].valueOf() !== C[0].valueOf() || f[1].valueOf() !== C[1].valueOf()) && this.services.zoom.handleDomainChange(C);
4429
+ let k = [_.invert(x), _.invert(b)];
4430
+ k[0].valueOf() === k[1].valueOf() && (k = this.services.zoom.getDefaultZoomBarDomain()), (f[0].valueOf() !== k[0].valueOf() || f[1].valueOf() !== k[1].valueOf()) && this.services.zoom.handleDomainChange(k);
4447
4431
  };
4448
4432
  let S;
4449
4433
  const v = (x) => {
@@ -4458,10 +4442,10 @@ const tn = class tn extends dt {
4458
4442
  s.on("click", function(x) {
4459
4443
  if (x.shiftKey) {
4460
4444
  const b = this.services.domUtils.getHolder(), _ = nn(a.node(), b)[0];
4461
- let C = _ - o * E / 2;
4462
- C < 0 && (C = 0);
4445
+ let k = _ - o * E / 2;
4446
+ k < 0 && (k = 0);
4463
4447
  let G = _ + o * E / 2;
4464
- G > o && (G = o), y(C, G);
4448
+ G > o && (G = o), y(k, G);
4465
4449
  }
4466
4450
  });
4467
4451
  }
@@ -4469,7 +4453,7 @@ const tn = class tn extends dt {
4469
4453
  };
4470
4454
  tn.DASH_LENGTH = 4;
4471
4455
  let Lr = tn;
4472
- class om extends dt {
4456
+ class cm extends dt {
4473
4457
  constructor() {
4474
4458
  super(...arguments), this.type = "zoom-bar", this.renderType = at.SVG, this.MIN_SELECTION_DIFF = 9e-10, this.brushSelector = "g.zoom-bar-brush", this.clipId = "zoomBarClip-" + Math.floor(Math.random() * 99999999999), this.brush = ho(), this.highlightStrokeWidth = 1;
4475
4459
  }
@@ -4504,7 +4488,7 @@ class om extends dt {
4504
4488
  return;
4505
4489
  }
4506
4490
  const { cartesianScales: u } = this.services, p = u.getMainXScale(), f = u.getMainYScale(), g = u.getMainXScaleType();
4507
- if (p && g === Ct.TIME) {
4491
+ if (p && g === kt.TIME) {
4508
4492
  let m = this.services.zoom.getZoomBarData();
4509
4493
  if (Fr(m) || m.length === 1)
4510
4494
  return;
@@ -4530,20 +4514,20 @@ class om extends dt {
4530
4514
  zoomDomain: en([], y)
4531
4515
  },
4532
4516
  { skipUpdate: !0 }
4533
- ), this.xScale.range([l, c]).domain(y), this.maxSelectionRange = this.xScale.range(), this.yScale.range([0, o - 6]).domain(Ls(m, (b) => b.value));
4517
+ ), this.xScale.range([l, c]).domain(y), this.maxSelectionRange = this.xScale.range(), this.yScale.range([0, o - 6]).domain(Os(m, (b) => b.value));
4534
4518
  const E = this.model.get("zoomDomain");
4535
4519
  if (a === ze.GRAPH_VIEW && (this.renderZoomBarArea(d, "path.zoom-graph-area-unselected", m, null), this.updateClipPath(e, this.clipId, 0, 0, 0, 0), this.renderZoomBarArea(d, "path.zoom-graph-area", m, this.clipId), this.renderZoomBarBaseline(d, l, c), r)) {
4536
- const b = r.highlightStartMapsTo, _ = r.highlightEndMapsTo, C = r.color, G = r.labelMapsTo;
4520
+ const b = r.highlightStartMapsTo, _ = r.highlightEndMapsTo, k = r.color, G = r.labelMapsTo;
4537
4521
  r.data.forEach((R, A) => {
4538
4522
  I.appendOrSelect(d, `rect.highlight-${A}`).attr("height", o - 2 * this.highlightStrokeWidth).attr("y", this.highlightStrokeWidth).attr("x", this.xScale(R[b])).attr(
4539
4523
  "width",
4540
4524
  this.xScale(R[_]) - this.xScale(R[b])
4541
4525
  ).style(
4542
4526
  "fill",
4543
- C && C.scale[R[G]] ? C.scale[R[G]] : null
4527
+ k && k.scale[R[G]] ? k.scale[R[G]] : null
4544
4528
  ).style("fill-opacity", 0.1).style(
4545
4529
  "stroke",
4546
- C && C.scale[R[G]] ? C.scale[R[G]] : null
4530
+ k && k.scale[R[G]] ? k.scale[R[G]] : null
4547
4531
  ).style("stroke-dasharray", "2, 2").attr("stroke-width", "1px");
4548
4532
  });
4549
4533
  }
@@ -4664,7 +4648,7 @@ class om extends dt {
4664
4648
  this.brush.on("start brush end", null), this.services.events.removeEventListener(T.ZoomBar.UPDATE, this.render.bind(this));
4665
4649
  }
4666
4650
  }
4667
- class lm extends dt {
4651
+ class um extends dt {
4668
4652
  constructor(t, e) {
4669
4653
  super(t, e), this.type = "threshold", this.renderType = at.SVG, this.positionService = new Cs();
4670
4654
  }
@@ -4701,8 +4685,8 @@ class lm extends dt {
4701
4685
  ), f = d.services.cartesianScales.getScaleTypeByPosition(u);
4702
4686
  let g = null, m = null;
4703
4687
  u === J.LEFT || u === J.RIGHT ? (m = p, g = d.services.cartesianScales.getMainXScale()) : (g = p, m = d.services.cartesianScales.getMainYScale());
4704
- const y = f === Ct.LABELS, [S, v] = g.range(), [E, x] = m.range(), { cartesianScales: b } = d.services, _ = b.getOrientation(), C = (N) => b.getDomainValue(N), G = (N) => b.getRangeValue(N), [R, A] = Ee(
4705
- C,
4688
+ const y = f === kt.LABELS, [S, v] = g.range(), [E, x] = m.range(), { cartesianScales: b } = d.services, _ = b.getOrientation(), k = (N) => b.getDomainValue(N), G = (N) => b.getRangeValue(N), [R, A] = Ee(
4689
+ k,
4706
4690
  G,
4707
4691
  _
4708
4692
  ), H = D(this);
@@ -4739,12 +4723,12 @@ class lm extends dt {
4739
4723
  }
4740
4724
  getFormattedValue(t) {
4741
4725
  const { value: e, axisPosition: n } = t, s = this.getOptions(), a = this.services.cartesianScales.getScaleTypeByPosition(n), { code: r, number: o } = L(s, "locale");
4742
- if (a === Ct.TIME) {
4743
- const c = [J.LEFT, J.RIGHT].includes(n), l = this.services.cartesianScales.getMainXScale(), h = this.services.cartesianScales.getMainYScale(), d = c ? h : l, u = L(s, "timeScale"), p = hi(
4726
+ if (a === kt.TIME) {
4727
+ const c = [J.LEFT, J.RIGHT].includes(n), l = this.services.cartesianScales.getMainXScale(), h = this.services.cartesianScales.getMainYScale(), d = c ? h : l, u = L(s, "timeScale"), p = ui(
4744
4728
  d.ticks(),
4745
4729
  L(u, "timeInterval")
4746
4730
  );
4747
- return di(e, 0, d.ticks(), p, u, s.locale);
4731
+ return hi(e, 0, d.ticks(), p, u, s.locale);
4748
4732
  }
4749
4733
  return o(e, r);
4750
4734
  }
@@ -4805,7 +4789,7 @@ class lm extends dt {
4805
4789
  });
4806
4790
  }
4807
4791
  }
4808
- class cm extends dt {
4792
+ class hm extends dt {
4809
4793
  constructor(t, e) {
4810
4794
  super(t, e), this.type = "highlight", this.renderType = at.SVG, this.positionService = new Cs(), this.highlightStrokeWidth = 1;
4811
4795
  }
@@ -4839,7 +4823,7 @@ class cm extends dt {
4839
4823
  l.append("rect").attr("class", "highlight-bar"), l.append("line").attr("class", "highlight-line"), l.merge(c).attr("class", "highlight-group");
4840
4824
  const d = this;
4841
4825
  o.each(function({ axisPosition: u }) {
4842
- const p = d.services.cartesianScales.getMainXScale(), f = d.services.cartesianScales.getMainYScale(), [g, m] = p.range(), [y, S] = f.range(), { cartesianScales: v } = d.services, E = v.getOrientation(), x = (R) => v.getDomainValue(R), b = (R) => v.getRangeValue(R), [_, C] = Ee(
4826
+ const p = d.services.cartesianScales.getMainXScale(), f = d.services.cartesianScales.getMainYScale(), [g, m] = p.range(), [y, S] = f.range(), { cartesianScales: v } = d.services, E = v.getOrientation(), x = (R) => v.getDomainValue(R), b = (R) => v.getRangeValue(R), [_, k] = Ee(
4843
4827
  x,
4844
4828
  b,
4845
4829
  E
@@ -4859,14 +4843,14 @@ class cm extends dt {
4859
4843
  name: "highlight-bar-update",
4860
4844
  animate: t
4861
4845
  })
4862
- ).attr("x", g).attr("width", Math.max(m - g, 0)).attr("y", ({ highlightEndMapsTo: R, ...A }) => C(A[R])).attr(
4846
+ ).attr("x", g).attr("width", Math.max(m - g, 0)).attr("y", ({ highlightEndMapsTo: R, ...A }) => k(A[R])).attr(
4863
4847
  "height",
4864
- ({ highlightStartMapsTo: R, highlightEndMapsTo: A, ...H }) => Math.max(C(H[R]) - C(H[A]), 0)
4848
+ ({ highlightStartMapsTo: R, highlightEndMapsTo: A, ...H }) => Math.max(k(H[R]) - k(H[A]), 0)
4865
4849
  ).style("stroke", ({ color: R, labelMapsTo: A, ...H }) => R && R.scale[H[A]] ? R.scale[H[A]] : null).style("stroke-dasharray", "2, 2").attr("stroke-width", d.highlightStrokeWidth + "px").style("fill-opacity", 0.1).style("fill", ({ color: R, labelMapsTo: A, ...H }) => R && R.scale[H[A]] ? R.scale[H[A]] : null);
4866
4850
  });
4867
4851
  }
4868
4852
  }
4869
- class um extends Rd {
4853
+ class dm extends Nd {
4870
4854
  getItems(t) {
4871
4855
  if (t.detail.items)
4872
4856
  return t.detail.items;
@@ -4965,7 +4949,7 @@ function Ar(i, t) {
4965
4949
  }
4966
4950
  return e;
4967
4951
  }
4968
- function Dd(i, t) {
4952
+ function Pd(i, t) {
4969
4953
  let e;
4970
4954
  if (t === void 0)
4971
4955
  for (const n of i)
@@ -4977,7 +4961,7 @@ function Dd(i, t) {
4977
4961
  }
4978
4962
  return e;
4979
4963
  }
4980
- function li(i, t) {
4964
+ function oi(i, t) {
4981
4965
  let e = 0;
4982
4966
  if (t === void 0)
4983
4967
  for (let n of i)
@@ -4989,10 +4973,10 @@ function li(i, t) {
4989
4973
  }
4990
4974
  return e;
4991
4975
  }
4992
- function Nd(i) {
4976
+ function $d(i) {
4993
4977
  return i.depth;
4994
4978
  }
4995
- function Pd(i, t) {
4979
+ function Vd(i, t) {
4996
4980
  return t - 1 - i.height;
4997
4981
  }
4998
4982
  function Xo(i, t) {
@@ -5004,32 +4988,32 @@ function es(i) {
5004
4988
  };
5005
4989
  }
5006
4990
  function Mr(i, t) {
5007
- return Ts(i.source, t.source) || i.index - t.index;
4991
+ return Ss(i.source, t.source) || i.index - t.index;
5008
4992
  }
5009
4993
  function wr(i, t) {
5010
- return Ts(i.target, t.target) || i.index - t.index;
4994
+ return Ss(i.target, t.target) || i.index - t.index;
5011
4995
  }
5012
- function Ts(i, t) {
4996
+ function Ss(i, t) {
5013
4997
  return i.y0 - t.y0;
5014
4998
  }
5015
- function ci(i) {
4999
+ function li(i) {
5016
5000
  return i.value;
5017
5001
  }
5018
- function $d(i) {
5002
+ function Gd(i) {
5019
5003
  return i.index;
5020
5004
  }
5021
- function Vd(i) {
5005
+ function Hd(i) {
5022
5006
  return i.nodes;
5023
5007
  }
5024
- function Gd(i) {
5008
+ function Bd(i) {
5025
5009
  return i.links;
5026
5010
  }
5027
- function kr(i, t) {
5011
+ function Cr(i, t) {
5028
5012
  const e = i.get(t);
5029
5013
  if (!e) throw new Error("missing: " + t);
5030
5014
  return e;
5031
5015
  }
5032
- function Cr({ nodes: i }) {
5016
+ function kr({ nodes: i }) {
5033
5017
  for (const t of i) {
5034
5018
  let e = t.y0, n = e;
5035
5019
  for (const s of t.sourceLinks)
@@ -5038,14 +5022,14 @@ function Cr({ nodes: i }) {
5038
5022
  s.y1 = n + s.width / 2, n += s.width;
5039
5023
  }
5040
5024
  }
5041
- function Hd() {
5042
- let i = 0, t = 0, e = 1, n = 1, s = 24, a = 8, r, o = $d, c = Xo, l, h, d = Vd, u = Gd, p = 6;
5025
+ function zd() {
5026
+ let i = 0, t = 0, e = 1, n = 1, s = 24, a = 8, r, o = Gd, c = Xo, l, h, d = Hd, u = Bd, p = 6;
5043
5027
  function f() {
5044
5028
  const O = { nodes: d.apply(null, arguments), links: u.apply(null, arguments) };
5045
- return g(O), m(O), y(O), S(O), x(O), Cr(O), O;
5029
+ return g(O), m(O), y(O), S(O), x(O), kr(O), O;
5046
5030
  }
5047
5031
  f.update = function(O) {
5048
- return Cr(O), O;
5032
+ return kr(O), O;
5049
5033
  }, f.nodeId = function(O) {
5050
5034
  return arguments.length ? (o = typeof O == "function" ? O : es(O), f) : o;
5051
5035
  }, f.nodeAlign = function(O) {
@@ -5070,71 +5054,71 @@ function Hd() {
5070
5054
  return arguments.length ? (p = +O, f) : p;
5071
5055
  };
5072
5056
  function g({ nodes: O, links: P }) {
5073
- for (const [k, V] of O.entries())
5074
- V.index = k, V.sourceLinks = [], V.targetLinks = [];
5075
- const $ = new Map(O.map((k, V) => [o(k, V, O), k]));
5076
- for (const [k, V] of P.entries()) {
5077
- V.index = k;
5078
- let { source: q, target: W } = V;
5079
- typeof q != "object" && (q = V.source = kr($, q)), typeof W != "object" && (W = V.target = kr($, W)), q.sourceLinks.push(V), W.targetLinks.push(V);
5057
+ for (const [C, V] of O.entries())
5058
+ V.index = C, V.sourceLinks = [], V.targetLinks = [];
5059
+ const $ = new Map(O.map((C, V) => [o(C, V, O), C]));
5060
+ for (const [C, V] of P.entries()) {
5061
+ V.index = C;
5062
+ let { source: q, target: X } = V;
5063
+ typeof q != "object" && (q = V.source = Cr($, q)), typeof X != "object" && (X = V.target = Cr($, X)), q.sourceLinks.push(V), X.targetLinks.push(V);
5080
5064
  }
5081
5065
  if (h != null)
5082
- for (const { sourceLinks: k, targetLinks: V } of O)
5083
- k.sort(h), V.sort(h);
5066
+ for (const { sourceLinks: C, targetLinks: V } of O)
5067
+ C.sort(h), V.sort(h);
5084
5068
  }
5085
5069
  function m({ nodes: O }) {
5086
5070
  for (const P of O)
5087
- P.value = P.fixedValue === void 0 ? Math.max(li(P.sourceLinks, ci), li(P.targetLinks, ci)) : P.fixedValue;
5071
+ P.value = P.fixedValue === void 0 ? Math.max(oi(P.sourceLinks, li), oi(P.targetLinks, li)) : P.fixedValue;
5088
5072
  }
5089
5073
  function y({ nodes: O }) {
5090
5074
  const P = O.length;
5091
- let $ = new Set(O), k = /* @__PURE__ */ new Set(), V = 0;
5075
+ let $ = new Set(O), C = /* @__PURE__ */ new Set(), V = 0;
5092
5076
  for (; $.size; ) {
5093
5077
  for (const q of $) {
5094
5078
  q.depth = V;
5095
- for (const { target: W } of q.sourceLinks)
5096
- k.add(W);
5079
+ for (const { target: X } of q.sourceLinks)
5080
+ C.add(X);
5097
5081
  }
5098
5082
  if (++V > P) throw new Error("circular link");
5099
- $ = k, k = /* @__PURE__ */ new Set();
5083
+ $ = C, C = /* @__PURE__ */ new Set();
5100
5084
  }
5101
5085
  }
5102
5086
  function S({ nodes: O }) {
5103
5087
  const P = O.length;
5104
- let $ = new Set(O), k = /* @__PURE__ */ new Set(), V = 0;
5088
+ let $ = new Set(O), C = /* @__PURE__ */ new Set(), V = 0;
5105
5089
  for (; $.size; ) {
5106
5090
  for (const q of $) {
5107
5091
  q.height = V;
5108
- for (const { source: W } of q.targetLinks)
5109
- k.add(W);
5092
+ for (const { source: X } of q.targetLinks)
5093
+ C.add(X);
5110
5094
  }
5111
5095
  if (++V > P) throw new Error("circular link");
5112
- $ = k, k = /* @__PURE__ */ new Set();
5096
+ $ = C, C = /* @__PURE__ */ new Set();
5113
5097
  }
5114
5098
  }
5115
5099
  function v({ nodes: O }) {
5116
- const P = Ar(O, (V) => V.depth) + 1, $ = (e - i - s) / (P - 1), k = new Array(P);
5100
+ const P = Ar(O, (V) => V.depth) + 1, $ = (e - i - s) / (P - 1), C = new Array(P);
5117
5101
  for (const V of O) {
5118
5102
  const q = Math.max(0, Math.min(P - 1, Math.floor(c.call(null, V, P))));
5119
- V.layer = q, V.x0 = i + q * $, V.x1 = V.x0 + s, k[q] ? k[q].push(V) : k[q] = [V];
5103
+ V.layer = q, V.x0 = i + q * $, V.x1 = V.x0 + s, C[q] ? C[q].push(V) : C[q] = [V];
5120
5104
  }
5121
- if (l) for (const V of k)
5105
+ if (l) for (const V of C)
5122
5106
  V.sort(l);
5123
- return k;
5107
+ return C;
5124
5108
  }
5125
5109
  function E(O) {
5126
- const P = Dd(O, ($) => (n - t - ($.length - 1) * r) / li($, ci));
5110
+ const P = Pd(O, ($) => (n - t - ($.length - 1) * r) / oi($, li));
5127
5111
  for (const $ of O) {
5128
- let k = t;
5112
+ let C = t;
5129
5113
  for (const V of $) {
5130
- V.y0 = k, V.y1 = k + V.value * P, k = V.y1 + r;
5114
+ V.y0 = C, V.y1 = C + V.value * P, C = V.y1 + r;
5131
5115
  for (const q of V.sourceLinks)
5132
5116
  q.width = q.value * P;
5133
5117
  }
5134
- k = (n - k + r) / ($.length + 1);
5118
+ C = (n - C + r) / ($.length + 1);
5135
5119
  for (let V = 0; V < $.length; ++V) {
5136
5120
  const q = $[V];
5137
- q.y0 += k * (V + 1), q.y1 += k * (V + 1);
5121
+ q.y0 += C * (V + 1), q.y1 += C * (V + 1);
5138
5122
  }
5139
5123
  H($);
5140
5124
  }
@@ -5143,55 +5127,55 @@ function Hd() {
5143
5127
  const P = v(O);
5144
5128
  r = Math.min(a, (n - t) / (Ar(P, ($) => $.length) - 1)), E(P);
5145
5129
  for (let $ = 0; $ < p; ++$) {
5146
- const k = Math.pow(0.99, $), V = Math.max(1 - k, ($ + 1) / p);
5147
- _(P, k, V), b(P, k, V);
5130
+ const C = Math.pow(0.99, $), V = Math.max(1 - C, ($ + 1) / p);
5131
+ _(P, C, V), b(P, C, V);
5148
5132
  }
5149
5133
  }
5150
5134
  function b(O, P, $) {
5151
- for (let k = 1, V = O.length; k < V; ++k) {
5152
- const q = O[k];
5153
- for (const W of q) {
5135
+ for (let C = 1, V = O.length; C < V; ++C) {
5136
+ const q = O[C];
5137
+ for (const X of q) {
5154
5138
  let F = 0, Z = 0;
5155
- for (const { source: j, value: Y } of W.targetLinks) {
5156
- let K = Y * (W.layer - j.layer);
5157
- F += N(j, W) * K, Z += K;
5139
+ for (const { source: j, value: Y } of X.targetLinks) {
5140
+ let K = Y * (X.layer - j.layer);
5141
+ F += N(j, X) * K, Z += K;
5158
5142
  }
5159
5143
  if (!(Z > 0)) continue;
5160
- let rt = (F / Z - W.y0) * P;
5161
- W.y0 += rt, W.y1 += rt, A(W);
5144
+ let rt = (F / Z - X.y0) * P;
5145
+ X.y0 += rt, X.y1 += rt, A(X);
5162
5146
  }
5163
- l === void 0 && q.sort(Ts), C(q, $);
5147
+ l === void 0 && q.sort(Ss), k(q, $);
5164
5148
  }
5165
5149
  }
5166
5150
  function _(O, P, $) {
5167
- for (let k = O.length, V = k - 2; V >= 0; --V) {
5151
+ for (let C = O.length, V = C - 2; V >= 0; --V) {
5168
5152
  const q = O[V];
5169
- for (const W of q) {
5153
+ for (const X of q) {
5170
5154
  let F = 0, Z = 0;
5171
- for (const { target: j, value: Y } of W.sourceLinks) {
5172
- let K = Y * (j.layer - W.layer);
5173
- F += M(W, j) * K, Z += K;
5155
+ for (const { target: j, value: Y } of X.sourceLinks) {
5156
+ let K = Y * (j.layer - X.layer);
5157
+ F += M(X, j) * K, Z += K;
5174
5158
  }
5175
5159
  if (!(Z > 0)) continue;
5176
- let rt = (F / Z - W.y0) * P;
5177
- W.y0 += rt, W.y1 += rt, A(W);
5160
+ let rt = (F / Z - X.y0) * P;
5161
+ X.y0 += rt, X.y1 += rt, A(X);
5178
5162
  }
5179
- l === void 0 && q.sort(Ts), C(q, $);
5163
+ l === void 0 && q.sort(Ss), k(q, $);
5180
5164
  }
5181
5165
  }
5182
- function C(O, P) {
5183
- const $ = O.length >> 1, k = O[$];
5184
- R(O, k.y0 - r, $ - 1, P), G(O, k.y1 + r, $ + 1, P), R(O, n, O.length - 1, P), G(O, t, 0, P);
5166
+ function k(O, P) {
5167
+ const $ = O.length >> 1, C = O[$];
5168
+ R(O, C.y0 - r, $ - 1, P), G(O, C.y1 + r, $ + 1, P), R(O, n, O.length - 1, P), G(O, t, 0, P);
5185
5169
  }
5186
- function G(O, P, $, k) {
5170
+ function G(O, P, $, C) {
5187
5171
  for (; $ < O.length; ++$) {
5188
- const V = O[$], q = (P - V.y0) * k;
5172
+ const V = O[$], q = (P - V.y0) * C;
5189
5173
  q > 1e-6 && (V.y0 += q, V.y1 += q), P = V.y1 + r;
5190
5174
  }
5191
5175
  }
5192
- function R(O, P, $, k) {
5176
+ function R(O, P, $, C) {
5193
5177
  for (; $ >= 0; --$) {
5194
- const V = O[$], q = (V.y1 - P) * k;
5178
+ const V = O[$], q = (V.y1 - P) * C;
5195
5179
  q > 1e-6 && (V.y0 -= q, V.y1 -= q), P = V.y0 - r;
5196
5180
  }
5197
5181
  }
@@ -5210,31 +5194,31 @@ function Hd() {
5210
5194
  }
5211
5195
  function N(O, P) {
5212
5196
  let $ = O.y0 - (O.sourceLinks.length - 1) * r / 2;
5213
- for (const { target: k, width: V } of O.sourceLinks) {
5214
- if (k === P) break;
5197
+ for (const { target: C, width: V } of O.sourceLinks) {
5198
+ if (C === P) break;
5215
5199
  $ += V + r;
5216
5200
  }
5217
- for (const { source: k, width: V } of P.targetLinks) {
5218
- if (k === O) break;
5201
+ for (const { source: C, width: V } of P.targetLinks) {
5202
+ if (C === O) break;
5219
5203
  $ -= V;
5220
5204
  }
5221
5205
  return $;
5222
5206
  }
5223
5207
  function M(O, P) {
5224
5208
  let $ = P.y0 - (P.targetLinks.length - 1) * r / 2;
5225
- for (const { source: k, width: V } of P.targetLinks) {
5226
- if (k === O) break;
5209
+ for (const { source: C, width: V } of P.targetLinks) {
5210
+ if (C === O) break;
5227
5211
  $ += V + r;
5228
5212
  }
5229
- for (const { target: k, width: V } of O.sourceLinks) {
5230
- if (k === P) break;
5213
+ for (const { target: C, width: V } of O.sourceLinks) {
5214
+ if (C === P) break;
5231
5215
  $ -= V;
5232
5216
  }
5233
5217
  return $;
5234
5218
  }
5235
5219
  return f;
5236
5220
  }
5237
- var $i = Math.PI, Vi = 2 * $i, _e = 1e-6, Bd = Vi - _e;
5221
+ var $i = Math.PI, Vi = 2 * $i, _e = 1e-6, Ud = Vi - _e;
5238
5222
  function Gi() {
5239
5223
  this._x0 = this._y0 = // start of current subpath
5240
5224
  this._x1 = this._y1 = null, this._ = "";
@@ -5276,7 +5260,7 @@ Gi.prototype = Yo.prototype = {
5276
5260
  i = +i, t = +t, e = +e, a = !!a;
5277
5261
  var r = e * Math.cos(n), o = e * Math.sin(n), c = i + r, l = t + o, h = 1 ^ a, d = a ? n - s : s - n;
5278
5262
  if (e < 0) throw new Error("negative radius: " + e);
5279
- this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > _e || Math.abs(this._y1 - l) > _e) && (this._ += "L" + c + "," + l), e && (d < 0 && (d = d % Vi + Vi), d > Bd ? this._ += "A" + e + "," + e + ",0,1," + h + "," + (i - r) + "," + (t - o) + "A" + e + "," + e + ",0,1," + h + "," + (this._x1 = c) + "," + (this._y1 = l) : d > _e && (this._ += "A" + e + "," + e + ",0," + +(d >= $i) + "," + h + "," + (this._x1 = i + e * Math.cos(s)) + "," + (this._y1 = t + e * Math.sin(s))));
5263
+ this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > _e || Math.abs(this._y1 - l) > _e) && (this._ += "L" + c + "," + l), e && (d < 0 && (d = d % Vi + Vi), d > Ud ? this._ += "A" + e + "," + e + ",0,1," + h + "," + (i - r) + "," + (t - o) + "A" + e + "," + e + ",0,1," + h + "," + (this._x1 = c) + "," + (this._y1 = l) : d > _e && (this._ += "A" + e + "," + e + ",0," + +(d >= $i) + "," + h + "," + (this._x1 = i + e * Math.cos(s)) + "," + (this._y1 = t + e * Math.sin(s))));
5280
5264
  },
5281
5265
  rect: function(i, t, e, n) {
5282
5266
  this._ += "M" + (this._x0 = this._x1 = +i) + "," + (this._y0 = this._y1 = +t) + "h" + +e + "v" + +n + "h" + -e + "Z";
@@ -5290,23 +5274,23 @@ function _r(i) {
5290
5274
  return i;
5291
5275
  };
5292
5276
  }
5293
- function zd(i) {
5277
+ function Fd(i) {
5294
5278
  return i[0];
5295
5279
  }
5296
- function Ud(i) {
5280
+ function Wd(i) {
5297
5281
  return i[1];
5298
5282
  }
5299
- var Fd = Array.prototype.slice;
5300
- function Wd(i) {
5283
+ var Xd = Array.prototype.slice;
5284
+ function Yd(i) {
5301
5285
  return i.source;
5302
5286
  }
5303
- function Xd(i) {
5287
+ function Zd(i) {
5304
5288
  return i.target;
5305
5289
  }
5306
- function Yd(i) {
5307
- var t = Wd, e = Xd, n = zd, s = Ud, a = null;
5290
+ function qd(i) {
5291
+ var t = Yd, e = Zd, n = Fd, s = Wd, a = null;
5308
5292
  function r() {
5309
- var o, c = Fd.call(arguments), l = t.apply(this, c), h = e.apply(this, c);
5293
+ var o, c = Xd.call(arguments), l = t.apply(this, c), h = e.apply(this, c);
5310
5294
  if (a || (a = o = Yo()), i(a, +n.apply(this, (c[0] = l, c)), +s.apply(this, c), +n.apply(this, (c[0] = h, c)), +s.apply(this, c)), o) return a = null, o + "" || null;
5311
5295
  }
5312
5296
  return r.source = function(o) {
@@ -5321,22 +5305,22 @@ function Yd(i) {
5321
5305
  return arguments.length ? (a = o ?? null, r) : a;
5322
5306
  }, r;
5323
5307
  }
5324
- function Zd(i, t, e, n, s) {
5308
+ function jd(i, t, e, n, s) {
5325
5309
  i.moveTo(t, e), i.bezierCurveTo(t = (t + n) / 2, e, t, s, n, s);
5326
5310
  }
5327
- function qd() {
5328
- return Yd(Zd);
5311
+ function Kd() {
5312
+ return qd(jd);
5329
5313
  }
5330
- function jd(i) {
5314
+ function Jd(i) {
5331
5315
  return [i.source.x1, i.y0];
5332
5316
  }
5333
- function Kd(i) {
5317
+ function Qd(i) {
5334
5318
  return [i.target.x0, i.y1];
5335
5319
  }
5336
- function Jd() {
5337
- return qd().source(jd).target(Kd);
5320
+ function tp() {
5321
+ return Kd().source(Jd).target(Qd);
5338
5322
  }
5339
- class hm extends dt {
5323
+ class pm extends dt {
5340
5324
  constructor() {
5341
5325
  super(...arguments), this.type = "alluvial", this.renderType = at.SVG, this.gradient_id = "gradient-id-" + Math.floor(Math.random() * 99999999999);
5342
5326
  }
@@ -5361,8 +5345,8 @@ class hm extends dt {
5361
5345
  a.alluvial.nodePadding > se.minNodePadding && (c = a.alluvial.nodePadding);
5362
5346
  const l = L(a, "alluvial", "nodeAlignment");
5363
5347
  let h = Xo;
5364
- l === te.LEFT ? h = Nd : l === te.RIGHT && (h = Pd);
5365
- const d = Hd().nodeId((v) => v.name).nodeWidth(se.nodeWidth).nodePadding(c).nodeAlign(h).extent([
5348
+ l === te.LEFT ? h = $d : l === te.RIGHT && (h = Vd);
5349
+ const d = zd().nodeId((v) => v.name).nodeWidth(se.nodeWidth).nodePadding(c).nodeAlign(h).extent([
5366
5350
  [2, 30],
5367
5351
  [n - 2, s]
5368
5352
  ]);
@@ -5395,7 +5379,7 @@ class hm extends dt {
5395
5379
  (E) => E.append("stop").attr("offset", "100%").attr("stop-color", (x) => v[x.target.name])
5396
5380
  ), f.exit().remove();
5397
5381
  }
5398
- f.enter().append("path").classed("link", !0).attr("d", Jd()).attr(
5382
+ f.enter().append("path").classed("link", !0).attr("d", tp()).attr(
5399
5383
  "id",
5400
5384
  (v) => this.services.domUtils.generateElementIDString(`alluvial-line-${v.index}`)
5401
5385
  ).attr("class", (v) => a.alluvial.monochrome ? this.model.getColorClassName({
@@ -5439,12 +5423,12 @@ class hm extends dt {
5439
5423
  ), { width: b } = I.getSVGElementSize(D(`text#${x}`), {
5440
5424
  useBBox: !0
5441
5425
  }), _ = (v.y1 - v.y0) / 2 - 9;
5442
- let C = v.x1 - v.x0;
5443
- return v.x1 >= b ? C = C - (b + 16) : C += 4, `translate(${C}, ${_})`;
5426
+ let k = v.x1 - v.x0;
5427
+ return v.x1 >= b ? k = k - (b + 16) : k += 4, `translate(${k}, ${_})`;
5444
5428
  }), this.addLineEventListener(), this.addNodeEventListener();
5445
5429
  }
5446
5430
  addLineEventListener() {
5447
- const t = this.getOptions(), e = this, { number: n, code: s } = L(this.getOptions(), "locale"), a = fi((r, o = "mouseover") => {
5431
+ const t = this.getOptions(), e = this, { number: n, code: s } = L(this.getOptions(), "locale"), a = pi((r, o = "mouseover") => {
5448
5432
  const c = e.parent.selectAll("path.link").transition().call(
5449
5433
  (l) => e.services.transitions.setupTransition({
5450
5434
  transition: l,
@@ -5502,7 +5486,7 @@ class hm extends dt {
5502
5486
  });
5503
5487
  }
5504
5488
  addNodeEventListener() {
5505
- const t = this, e = fi((n = [], s = "mouseover") => {
5489
+ const t = this, e = pi((n = [], s = "mouseover") => {
5506
5490
  if (s === "mouseout" || n.length === 0) {
5507
5491
  t.parent.selectAll("path.link").classed("link-hovered", !1).data(this.graph.links, (r) => r.index).order().style("stroke-opacity", se.opacity.default);
5508
5492
  return;
@@ -5585,7 +5569,7 @@ class hm extends dt {
5585
5569
  this.parent.selectAll("path.line,.node-group").on("mouseover", null).on("mousemove", null).on("click", null).on("mouseout", null);
5586
5570
  }
5587
5571
  }
5588
- class dm extends dt {
5572
+ class fm extends dt {
5589
5573
  constructor() {
5590
5574
  super(...arguments), this.type = "grid", this.renderType = at.SVG;
5591
5575
  }
@@ -5684,7 +5668,7 @@ class dm extends dt {
5684
5668
  t.selectAll("text").remove(), t.select(".domain").remove();
5685
5669
  }
5686
5670
  }
5687
- class pm extends dt {
5671
+ class gm extends dt {
5688
5672
  constructor() {
5689
5673
  super(...arguments), this.type = "area", this.renderType = at.SVG, this.gradient_id = "gradient-id-" + Math.floor(Math.random() * 99999999999), this.handleLegendOnHover = (t) => {
5690
5674
  const { hoveredElement: e } = t.detail;
@@ -5721,7 +5705,7 @@ class pm extends dt {
5721
5705
  const u = (x, b) => {
5722
5706
  L(n, "axes", x, "includeZero") === !1 && b[0] > 0 && b[1] > 0 && (d = b[0]);
5723
5707
  }, p = (x) => h ? a.getBoundedScaledValues(x)[0] : a.getRangeValue(d), f = (x) => h ? a.getBoundedScaledValues(x)[1] : a.getRangeValue(x);
5724
- r === Wt.VERTICAL ? (s = a.getMainYScale().domain(), u(a.getMainYAxisPosition(), s), o.x((x) => a.getDomainValue(x)).y0((x) => p(x)).y1((x) => f(x))) : (s = a.getMainXScale().domain(), u(a.getMainXAxisPosition(), s), o.x0((x) => p(x)).x1((x) => f(x)).y((x) => a.getDomainValue(x)));
5708
+ r === Xt.VERTICAL ? (s = a.getMainYScale().domain(), u(a.getMainYAxisPosition(), s), o.x((x) => a.getDomainValue(x)).y0((x) => p(x)).y1((x) => f(x))) : (s = a.getMainXScale().domain(), u(a.getMainXAxisPosition(), s), o.x0((x) => p(x)).x1((x) => f(x)).y((x) => a.getDomainValue(x)));
5725
5709
  const g = L(n, "color", "gradient", "enabled"), m = c && c.length === 1 && g;
5726
5710
  c.length > 1 && g && console.error("Gradients can only be enabled when having 1 single dataset");
5727
5711
  const y = e.selectAll("path.area").data(c, (x) => x.name), S = D(this.services.domUtils.getMainContainer());
@@ -5742,8 +5726,8 @@ class pm extends dt {
5742
5726
  else {
5743
5727
  const _ = L(this.model.getOptions(), "color", "scale");
5744
5728
  if (_ !== null) {
5745
- const C = Object.keys(_);
5746
- b = _[C[0]];
5729
+ const k = Object.keys(_);
5730
+ b = _[k[0]];
5747
5731
  }
5748
5732
  }
5749
5733
  wa.appendOrUpdateLinearGradient({
@@ -5800,7 +5784,7 @@ class pm extends dt {
5800
5784
  t.removeEventListener(T.Legend.ITEM_HOVER, this.handleLegendOnHover), t.removeEventListener(T.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
5801
5785
  }
5802
5786
  }
5803
- class fm extends dt {
5787
+ class mm extends dt {
5804
5788
  constructor() {
5805
5789
  super(...arguments), this.type = "line", this.renderType = at.SVG, this.handleLegendOnHover = (t) => {
5806
5790
  const { hoveredElement: e } = t.detail;
@@ -5883,7 +5867,7 @@ class fm extends dt {
5883
5867
  }
5884
5868
  }
5885
5869
  const Ir = 5;
5886
- function Qd(i, t) {
5870
+ function ep(i, t) {
5887
5871
  return i > t - Ir && i < t + Ir;
5888
5872
  }
5889
5873
  class Zo extends dt {
@@ -5904,10 +5888,10 @@ class Zo extends dt {
5904
5888
  return t;
5905
5889
  }
5906
5890
  showRuler(t, [e, n]) {
5907
- const s = this.parent, a = this.services.cartesianScales.getOrientation(), r = this.model.getDisplayData(), o = this.services.cartesianScales.getRangeScale(), [c, l] = o.range(), h = a === Wt.HORIZONTAL ? n : e, d = I.appendOrSelect(s, "g.ruler").attr("aria-label", "ruler"), u = I.appendOrSelect(d, "line.ruler-line"), p = s.selectAll("[role=graphics-symbol]"), f = r.map((m) => ({
5891
+ const s = this.parent, a = this.services.cartesianScales.getOrientation(), r = this.model.getDisplayData(), o = this.services.cartesianScales.getRangeScale(), [c, l] = o.range(), h = a === Xt.HORIZONTAL ? n : e, d = I.appendOrSelect(s, "g.ruler").attr("aria-label", "ruler"), u = I.appendOrSelect(d, "line.ruler-line"), p = s.selectAll("[role=graphics-symbol]"), f = r.map((m) => ({
5908
5892
  domainValue: this.services.cartesianScales.getDomainValue(m),
5909
5893
  originalData: m
5910
- })).filter((m) => Qd(m.domainValue, h));
5894
+ })).filter((m) => ep(m.domainValue, h));
5911
5895
  if (this.pointsWithinLine && f.length === this.pointsWithinLine.length && f.map((m) => m.domainValue).join() === this.pointsWithinLine.map((m) => m.domainValue).join())
5912
5896
  return this.pointsWithinLine = f, this.services.events.dispatchEvent(T.Tooltip.MOVE, {
5913
5897
  mousePosition: [e, n]
@@ -6232,7 +6216,7 @@ class qo extends dt {
6232
6216
  let l, h;
6233
6217
  if (e === J.BOTTOM || e === J.TOP ? (l = this.configs.axes[J.LEFT] ? this.margins.left : 0, h = this.configs.axes[J.RIGHT] ? r - this.margins.right : r) : (l = o - this.margins.bottom, h = this.margins.top), !this.services.cartesianScales) throw new Error("Services cartesianScales undefined");
6234
6218
  const d = this.services.cartesianScales.getScaleByPosition(e);
6235
- this.scaleType === Ct.LABELS || this.scaleType === Ct.LABELS_RATIO ? d.rangeRound([l, h]) : d.range([l, h]);
6219
+ this.scaleType === kt.LABELS || this.scaleType === kt.LABELS_RATIO ? d.rangeRound([l, h]) : d.range([l, h]);
6236
6220
  let u;
6237
6221
  switch (e) {
6238
6222
  case J.LEFT:
@@ -6252,16 +6236,16 @@ class qo extends dt {
6252
6236
  const p = !c.select("g.ticks").empty();
6253
6237
  let f = I.appendOrSelect(c, "g.ticks");
6254
6238
  p || (f.attr("role", `${lt.GRAPHICS_OBJECT} ${lt.GROUP}`), f.attr("aria-label", `${e} ticks`));
6255
- const g = I.appendOrSelect(c, "g.ticks.invisible").style("opacity", "0").style("pointer-events", "none").attr("aria-hidden", !0).attr("aria-label", `invisible ${e} ticks`), m = L(n, "axes", e), y = this.scaleType === Ct.TIME || m.scaleType === Ct.TIME, S = e === J.LEFT || e === J.RIGHT, v = this.model.get("zoomDomain");
6239
+ const g = I.appendOrSelect(c, "g.ticks.invisible").style("opacity", "0").style("pointer-events", "none").attr("aria-hidden", !0).attr("aria-label", `invisible ${e} ticks`), m = L(n, "axes", e), y = this.scaleType === kt.TIME || m.scaleType === kt.TIME, S = e === J.LEFT || e === J.RIGHT, v = this.model.get("zoomDomain");
6256
6240
  if (v && y && !S && d.domain(v), !s) {
6257
6241
  f.attr("aria-hidden", !0);
6258
6242
  return;
6259
6243
  }
6260
- const E = L(m, "scaleType"), x = L(n, "data", "loading"), b = L(m, "ticks", "number"), _ = L(m, "ticks", "values"), C = L(m, "truncation", "type"), G = L(m, "truncation", "threshold"), R = L(m, "truncation", "numCharacter"), A = b !== null, H = L(n, "timeScale"), N = I.appendOrSelect(g, "g.tick"), M = I.appendOrSelect(N, "text").text("0"), O = I.getSVGElementSize(M.node(), {
6244
+ const E = L(m, "scaleType"), x = L(n, "data", "loading"), b = L(m, "ticks", "number"), _ = L(m, "ticks", "values"), k = L(m, "truncation", "type"), G = L(m, "truncation", "threshold"), R = L(m, "truncation", "numCharacter"), A = b !== null, H = L(n, "timeScale"), N = I.appendOrSelect(g, "g.tick"), M = I.appendOrSelect(N, "text").text("0"), O = I.getSVGElementSize(M.node(), {
6261
6245
  useBBox: !0
6262
6246
  }).height;
6263
6247
  N.remove();
6264
- const P = this.scaleType || m.scaleType || Ct.LINEAR, $ = u(d).tickSizeOuter(0);
6248
+ const P = this.scaleType || m.scaleType || kt.LINEAR, $ = u(d).tickSizeOuter(0);
6265
6249
  if (d.ticks) {
6266
6250
  let Y;
6267
6251
  if (A ? Y = b : (Y = je.ticks.number, S && (Y = this.getNumberOfFittingTicks(
@@ -6278,15 +6262,15 @@ class qo extends dt {
6278
6262
  K && st.length > 2 && !ot && (st.splice(st.length - 1, 1), st.splice(0, 1)), $.tickValues(st);
6279
6263
  }
6280
6264
  }
6281
- let k;
6282
- const V = L(m, "ticks", "formatter"), { code: q, number: W } = L(n, "locale");
6265
+ let C;
6266
+ const V = L(m, "ticks", "formatter"), { code: q, number: X } = L(n, "locale");
6283
6267
  if (y) {
6284
- const Y = hi(
6268
+ const Y = ui(
6285
6269
  $.tickValues(),
6286
6270
  L(n, "timeScale", "timeInterval")
6287
6271
  );
6288
- V === null ? k = (K, ot) => di(K, ot, $.tickValues(), Y, H, n.locale) : k = (K, ot) => {
6289
- const ct = di(
6272
+ V === null ? C = (K, ot) => hi(K, ot, $.tickValues(), Y, H, n.locale) : C = (K, ot) => {
6273
+ const ct = hi(
6290
6274
  K,
6291
6275
  ot,
6292
6276
  $.tickValues(),
@@ -6297,8 +6281,8 @@ class qo extends dt {
6297
6281
  return V(K, ot, ct);
6298
6282
  };
6299
6283
  } else
6300
- V === null ? P === Ct.LINEAR && (k = (Y) => W(Y, q)) : k = V;
6301
- $.tickFormat(k);
6284
+ V === null ? P === kt.LINEAR && (C = (Y) => X(Y, q)) : C = V;
6285
+ $.tickFormat(C);
6302
6286
  const [F, Z] = this.services.cartesianScales.getScaleByPosition(e).domain();
6303
6287
  let rt;
6304
6288
  if (_) {
@@ -6309,7 +6293,7 @@ class qo extends dt {
6309
6293
  const K = Y.getTime();
6310
6294
  return K >= new Date(F).getTime() && K <= new Date(Z).getTime();
6311
6295
  });
6312
- else if (E === Ct.LABELS) {
6296
+ else if (E === kt.LABELS) {
6313
6297
  const Y = this.services.cartesianScales.getScaleByPosition(e).domain();
6314
6298
  rt = _.filter((K) => Y.includes(K));
6315
6299
  } else
@@ -6362,7 +6346,7 @@ class qo extends dt {
6362
6346
  }
6363
6347
  }
6364
6348
  if (y) {
6365
- const Y = hi(
6349
+ const Y = ui(
6366
6350
  $.tickValues(),
6367
6351
  L(n, "timeScale", "timeInterval")
6368
6352
  ), K = H.showDayName, ot = f;
@@ -6387,11 +6371,11 @@ class qo extends dt {
6387
6371
  if (g.call($), e === J.BOTTOM || e === J.TOP) {
6388
6372
  let Y = !1;
6389
6373
  const K = L(m, "ticks", "rotation");
6390
- if (K === $s.ALWAYS)
6374
+ if (K === Ps.ALWAYS)
6391
6375
  Y = !0;
6392
- else if (K === $s.NEVER)
6376
+ else if (K === Ps.NEVER)
6393
6377
  Y = !1;
6394
- else if (!K || K === $s.AUTO)
6378
+ else if (!K || K === Ps.AUTO)
6395
6379
  if (d.step)
6396
6380
  Y = g.selectAll("g.tick text").nodes().some(
6397
6381
  (ct) => I.getSVGElementSize(ct, {
@@ -6413,16 +6397,16 @@ class qo extends dt {
6413
6397
  this.getNumberOfFittingTicks(r, O, je.ticks.horizontalSpaceRatio)
6414
6398
  ), g.call($), f.call($)), c.selectAll("g.ticks g.tick text").attr("transform", "rotate(-45)").attr("text-anchor", e === J.TOP ? "start" : "end")) : c.selectAll("g.ticks g.tick text").attr("transform", null).attr("text-anchor", null);
6415
6399
  }
6416
- if (x ? c.attr("opacity", 0) : c.attr("opacity", 1), f.selectAll("g.tick").attr("aria-label", (Y) => Y), g.selectAll("g.tick").attr("aria-label", (Y) => Y), C !== Ke.NONE && E === Ct.LABELS && !_) {
6400
+ if (x ? c.attr("opacity", 0) : c.attr("opacity", 1), f.selectAll("g.tick").attr("aria-label", (Y) => Y), g.selectAll("g.tick").attr("aria-label", (Y) => Y), k !== Ke.NONE && E === kt.LABELS && !_) {
6417
6401
  const Y = this.services.cartesianScales.getScaleDomain(e);
6418
6402
  if (Y.length > 0) {
6419
6403
  const K = a.select(`g.axis.${e} g.ticks g.tick`).html();
6420
6404
  c.selectAll("g.ticks g.tick").html(K);
6421
6405
  const ot = this;
6422
6406
  c.selectAll("g.tick text").data(Y).text(function(ct) {
6423
- return ct.length > G ? (ot.truncation[e] = !0, wn(ct, C, R)) : ct;
6407
+ return ct.length > G ? (ot.truncation[e] = !0, wn(ct, k, R)) : ct;
6424
6408
  }), this.getInvisibleAxisRef().selectAll("g.tick text").data(Y).text(function(ct) {
6425
- return ct.length > G ? wn(ct, C, R) : ct;
6409
+ return ct.length > G ? wn(ct, k, R) : ct;
6426
6410
  }), c.selectAll("g.ticks").html(this.getInvisibleAxisRef().html()), c.selectAll("g.tick text").data(Y);
6427
6411
  }
6428
6412
  }
@@ -6435,7 +6419,7 @@ class qo extends dt {
6435
6419
  event: l,
6436
6420
  element: D(this),
6437
6421
  datum: h
6438
- }), r === Ct.LABELS && h.length > o && c.services.events.dispatchEvent(T.Tooltip.SHOW, {
6422
+ }), r === kt.LABELS && h.length > o && c.services.events.dispatchEvent(T.Tooltip.SHOW, {
6439
6423
  event: l,
6440
6424
  hoveredElement: D(this),
6441
6425
  content: h
@@ -6445,7 +6429,7 @@ class qo extends dt {
6445
6429
  event: l,
6446
6430
  element: D(this),
6447
6431
  datum: h
6448
- }), r === Ct.LABELS && h.length > o && c.services.events.dispatchEvent(T.Tooltip.MOVE, {
6432
+ }), r === kt.LABELS && h.length > o && c.services.events.dispatchEvent(T.Tooltip.MOVE, {
6449
6433
  event: l
6450
6434
  });
6451
6435
  }).on("click", function(l, h) {
@@ -6459,7 +6443,7 @@ class qo extends dt {
6459
6443
  event: l,
6460
6444
  element: D(this),
6461
6445
  datum: h
6462
- }), r === Ct.LABELS && c.services.events.dispatchEvent(T.Tooltip.HIDE);
6446
+ }), r === kt.LABELS && c.services.events.dispatchEvent(T.Tooltip.HIDE);
6463
6447
  });
6464
6448
  }
6465
6449
  getInvisibleAxisRef() {
@@ -6479,7 +6463,7 @@ class qo extends dt {
6479
6463
  I.appendOrSelect(t, `g.axis.${e}`).selectAll("g.tick text").on("mouseover", null).on("mousemove", null).on("mouseout", null);
6480
6464
  }
6481
6465
  }
6482
- class tp extends qo {
6466
+ class np extends qo {
6483
6467
  constructor(t, e, n) {
6484
6468
  super(t, e, n);
6485
6469
  }
@@ -6520,7 +6504,7 @@ class tp extends qo {
6520
6504
  event: l,
6521
6505
  element: h,
6522
6506
  datum: d
6523
- }), r === Ct.LABELS && d.length > o && c.services.events.dispatchEvent(T.Tooltip.SHOW, {
6507
+ }), r === kt.LABELS && d.length > o && c.services.events.dispatchEvent(T.Tooltip.SHOW, {
6524
6508
  event: l,
6525
6509
  element: h,
6526
6510
  datum: d
@@ -6545,7 +6529,7 @@ class tp extends qo {
6545
6529
  event: l,
6546
6530
  element: D(this).select("text"),
6547
6531
  datum: D(this).select("text").datum()
6548
- }), r === Ct.LABELS && c.services.events.dispatchEvent(T.Tooltip.HIDE);
6532
+ }), r === kt.LABELS && c.services.events.dispatchEvent(T.Tooltip.HIDE);
6549
6533
  }).on("focus", function(l) {
6550
6534
  const h = { clientX: 0, clientY: 0 };
6551
6535
  if (l.target) {
@@ -6585,7 +6569,7 @@ class tp extends qo {
6585
6569
  I.appendOrSelect(t, `g.axis.${e}`).selectAll("g.tick.tick-hover").on("mouseover", null).on("mousemove", null).on("mouseout", null).on("focus", null).on("blur", null);
6586
6570
  }
6587
6571
  }
6588
- class gm extends dt {
6572
+ class vm extends dt {
6589
6573
  constructor() {
6590
6574
  super(...arguments), this.type = "2D-axes", this.renderType = at.SVG, this.children = {}, this.thresholds = [], this.margins = {
6591
6575
  top: 0,
@@ -6605,7 +6589,7 @@ class gm extends dt {
6605
6589
  position: c,
6606
6590
  axes: this.configs.axes,
6607
6591
  margins: this.margins
6608
- }, h = this.model.axisFlavor === xl.DEFAULT ? new qo(this.model, this.services, l) : new tp(this.model, this.services, l);
6592
+ }, h = this.model.axisFlavor === xl.DEFAULT ? new qo(this.model, this.services, l) : new np(this.model, this.services, l);
6609
6593
  h.setModel(this.model), h.setServices(this.services), h.setParent(this.parent), this.children[c] = h;
6610
6594
  }
6611
6595
  }), Object.keys(this.children).forEach((o) => {
@@ -6639,7 +6623,7 @@ class gm extends dt {
6639
6623
  }), this.render(!0));
6640
6624
  }
6641
6625
  }
6642
- class ep extends dt {
6626
+ class sp extends dt {
6643
6627
  constructor() {
6644
6628
  super(...arguments), this.type = "skeleton";
6645
6629
  }
@@ -6667,7 +6651,7 @@ class ep extends dt {
6667
6651
  }
6668
6652
  renderVertOrHorizSkeleton(t) {
6669
6653
  const e = this.services.cartesianScales.getOrientation();
6670
- this.setScales(), this.drawBackdrop(t), e === Wt.VERTICAL && this.drawYGrid(t), e === Wt.HORIZONTAL && this.drawXGrid(t), this.setShimmerEffect("shimmer-lines");
6654
+ this.setScales(), this.drawBackdrop(t), e === Xt.VERTICAL && this.drawYGrid(t), e === Xt.HORIZONTAL && this.drawXGrid(t), this.setShimmerEffect("shimmer-lines");
6671
6655
  }
6672
6656
  renderPieSkeleton(t) {
6673
6657
  const e = this.computeOuterRadius();
@@ -6750,7 +6734,7 @@ class ep extends dt {
6750
6734
  this.parent.select(".chart-skeleton").remove();
6751
6735
  }
6752
6736
  }
6753
- class mm extends dt {
6737
+ class ym extends dt {
6754
6738
  constructor() {
6755
6739
  super(...arguments), this.type = "boxplot", this.renderType = at.SVG;
6756
6740
  }
@@ -6758,13 +6742,13 @@ class mm extends dt {
6758
6742
  const e = this.getComponentContainer({ ariaLabel: "box plots", withinChartClip: !0 }), n = this.getOptions(), { groupMapsTo: s } = n.data, a = this.model.getDataGroupNames(), r = this.services.cartesianScales.getMainXScale(), o = this.services.cartesianScales.getMainYScale(), [c, l] = r.range(), [h, d] = o.range(), u = l - c, p = h - d;
6759
6743
  if (u === 0)
6760
6744
  return;
6761
- const { cartesianScales: f } = this.services, g = f.getOrientation(), m = g === Wt.VERTICAL, [y, S] = Ee(
6745
+ const { cartesianScales: f } = this.services, g = f.getOrientation(), m = g === Xt.VERTICAL, [y, S] = Ee(
6762
6746
  (A) => this.services.cartesianScales.getDomainValue(A),
6763
6747
  (A) => this.services.cartesianScales.getRangeValue(A),
6764
6748
  g
6765
6749
  ), v = Math.floor((m ? u : p) / a.length), E = Math.min(v / 2, 16), x = this.model.getBoxplotData(), b = e.selectAll(".box-group").data(x);
6766
6750
  b.exit().remove();
6767
- const _ = b.enter().append("g").attr("class", "box-group"), C = b.merge(_);
6751
+ const _ = b.enter().append("g").attr("class", "box-group"), k = b.merge(_);
6768
6752
  _.append("path").merge(b.select("path.vertical-line.start")).attr(
6769
6753
  "class",
6770
6754
  () => this.model.getColorClassName({
@@ -6863,7 +6847,7 @@ class mm extends dt {
6863
6847
  const H = f.getDomainValue(A[s]) - E / 4, N = H + E / 2, M = f.getRangeValue(A.whiskers.max), O = f.getRangeValue(A.whiskers.max);
6864
6848
  return Gt({ x0: H, x1: N, y0: M, y1: O }, g);
6865
6849
  });
6866
- const G = C.selectAll("circle.outlier").data(
6850
+ const G = k.selectAll("circle.outlier").data(
6867
6851
  (A) => A.outliers.map((H) => ({
6868
6852
  min: A.whiskers.min,
6869
6853
  max: A.whiskers.max,
@@ -7010,7 +6994,7 @@ class mm extends dt {
7010
6994
  });
7011
6995
  }
7012
6996
  }
7013
- class vm extends dt {
6997
+ class Em extends dt {
7014
6998
  constructor() {
7015
6999
  super(...arguments), this.type = "zero-line", this.renderType = at.SVG;
7016
7000
  }
@@ -7045,12 +7029,12 @@ class vm extends dt {
7045
7029
  ).attr("y1", d.y0).attr("y2", d.y1).attr("x1", d.x0).attr("x2", d.x1);
7046
7030
  }
7047
7031
  }
7048
- class ym extends Ji {
7032
+ class xm extends Ji {
7049
7033
  constructor() {
7050
7034
  super(...arguments), this.type = "bubble", this.renderType = at.SVG;
7051
7035
  }
7052
7036
  getRadiusScale(t) {
7053
- const e = this.getOptions(), { radiusMapsTo: n } = e.bubble, s = t.data(), a = s.map((l) => l[n]).filter((l) => l), r = I.getHTMLElementSize(this.services.domUtils.getMainContainer()), o = a.length > 0, c = o ? Ls(a) : [1, 1];
7037
+ const e = this.getOptions(), { radiusMapsTo: n } = e.bubble, s = t.data(), a = s.map((l) => l[n]).filter((l) => l), r = I.getHTMLElementSize(this.services.domUtils.getMainContainer()), o = a.length > 0, c = o ? Os(a) : [1, 1];
7054
7038
  return Re().domain(c).range(o ? e.bubble.radiusRange(r, s) : [4, 4]);
7055
7039
  }
7056
7040
  styleCircles(t, e) {
@@ -7093,7 +7077,7 @@ class ym extends Ji {
7093
7077
  ];
7094
7078
  }
7095
7079
  }
7096
- class Em extends dt {
7080
+ class Sm extends dt {
7097
7081
  constructor() {
7098
7082
  super(...arguments), this.type = "bullet", this.renderType = at.SVG, this.handleLegendOnHover = (t) => {
7099
7083
  const { hoveredElement: e } = t.detail, { groupMapsTo: n } = this.getOptions().data;
@@ -7288,11 +7272,11 @@ class Em extends dt {
7288
7272
  t.removeEventListener(T.Legend.ITEM_HOVER, this.handleLegendOnHover), t.removeEventListener(T.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
7289
7273
  }
7290
7274
  }
7291
- function np(i) {
7275
+ function ip(i) {
7292
7276
  return i;
7293
7277
  }
7294
- function sp(i) {
7295
- if (i == null) return np;
7278
+ function ap(i) {
7279
+ if (i == null) return ip;
7296
7280
  var t, e, n = i.scale[0], s = i.scale[1], a = i.translate[0], r = i.translate[1];
7297
7281
  return function(o, c) {
7298
7282
  c || (t = e = 0);
@@ -7301,10 +7285,10 @@ function sp(i) {
7301
7285
  return d;
7302
7286
  };
7303
7287
  }
7304
- function ip(i, t) {
7288
+ function rp(i, t) {
7305
7289
  for (var e, n = i.length, s = n - t; s < --n; ) e = i[s], i[s++] = i[n], i[n] = e;
7306
7290
  }
7307
- function ap(i, t) {
7291
+ function op(i, t) {
7308
7292
  return typeof t == "string" && (t = i.objects[t]), t.type === "GeometryCollection" ? { type: "FeatureCollection", features: t.geometries.map(function(e) {
7309
7293
  return Rr(i, e);
7310
7294
  }) } : Rr(i, t);
@@ -7314,12 +7298,12 @@ function Rr(i, t) {
7314
7298
  return e == null && n == null ? { type: "Feature", properties: s, geometry: a } : n == null ? { type: "Feature", id: e, properties: s, geometry: a } : { type: "Feature", id: e, bbox: n, properties: s, geometry: a };
7315
7299
  }
7316
7300
  function Qi(i, t) {
7317
- var e = sp(i.transform), n = i.arcs;
7301
+ var e = ap(i.transform), n = i.arcs;
7318
7302
  function s(h, d) {
7319
7303
  d.length && d.pop();
7320
7304
  for (var u = n[h < 0 ? ~h : h], p = 0, f = u.length; p < f; ++p)
7321
7305
  d.push(e(u[p], p));
7322
- h < 0 && ip(d, f);
7306
+ h < 0 && rp(d, f);
7323
7307
  }
7324
7308
  function a(h) {
7325
7309
  return e(h);
@@ -7365,7 +7349,7 @@ function Qi(i, t) {
7365
7349
  }
7366
7350
  return l(t);
7367
7351
  }
7368
- function rp(i, t) {
7352
+ function lp(i, t) {
7369
7353
  var e = {}, n = {}, s = {}, a = [], r = -1;
7370
7354
  t.forEach(function(l, h) {
7371
7355
  var d = i.arcs[l < 0 ? ~l : l], u;
@@ -7407,14 +7391,14 @@ function rp(i, t) {
7407
7391
  e[l < 0 ? ~l : l] || a.push([l]);
7408
7392
  }), a;
7409
7393
  }
7410
- function op(i) {
7394
+ function cp(i) {
7411
7395
  for (var t = -1, e = i.length, n, s = i[e - 1], a = 0; ++t < e; ) n = s, s = i[t], a += n[0] * s[1] - n[1] * s[0];
7412
7396
  return Math.abs(a);
7413
7397
  }
7414
- function lp(i) {
7415
- return Qi(i, cp.apply(this, arguments));
7398
+ function up(i) {
7399
+ return Qi(i, hp.apply(this, arguments));
7416
7400
  }
7417
- function cp(i, t) {
7401
+ function hp(i, t) {
7418
7402
  var e = {}, n = [], s = [];
7419
7403
  t.forEach(a);
7420
7404
  function a(c) {
@@ -7438,7 +7422,7 @@ function cp(i, t) {
7438
7422
  }), n.push(c);
7439
7423
  }
7440
7424
  function o(c) {
7441
- return op(Qi(i, { type: "Polygon", arcs: [c] }).coordinates[0]);
7425
+ return cp(Qi(i, { type: "Polygon", arcs: [c] }).coordinates[0]);
7442
7426
  }
7443
7427
  return n.forEach(function(c) {
7444
7428
  if (!c._) {
@@ -7464,7 +7448,7 @@ function cp(i, t) {
7464
7448
  e[y < 0 ? ~y : y].length < 2 && l.push(y);
7465
7449
  });
7466
7450
  });
7467
- }), l = rp(i, l), (h = l.length) > 1)
7451
+ }), l = lp(i, l), (h = l.length) > 1)
7468
7452
  for (var d = 1, u = o(l[0]), p, f; d < h; ++d)
7469
7453
  (p = o(l[d])) > u && (f = l[0], l[0] = l[d], l[d] = f, u = p);
7470
7454
  return l;
@@ -7473,13 +7457,13 @@ function cp(i, t) {
7473
7457
  })
7474
7458
  };
7475
7459
  }
7476
- class xm extends Zo {
7460
+ class Tm extends Zo {
7477
7461
  constructor() {
7478
7462
  super(...arguments), this.type = "ruler-binned", this.renderType = at.SVG;
7479
7463
  }
7480
7464
  showRuler(t, [e, n]) {
7481
7465
  const s = this.parent, a = this.model.getOptions(), { cartesianScales: r } = this.services, o = r.getOrientation(), c = r.getRangeScale(), [l, h] = c.range(), d = r.getDomainScale(), u = d.invert(
7482
- o === Wt.VERTICAL ? e : n
7466
+ o === Xt.VERTICAL ? e : n
7483
7467
  ), p = I.appendOrSelect(s, "g.ruler").attr("aria-label", "ruler"), f = I.appendOrSelect(p, "line.ruler-line"), m = s.selectAll("[role=graphics-symbol]").filter((y) => {
7484
7468
  if (parseFloat(xt(y, "data.x0")) <= u && parseFloat(xt(y, "data.x1")) >= u)
7485
7469
  return !0;
@@ -7509,7 +7493,7 @@ class xm extends Zo {
7509
7493
  {
7510
7494
  label: xt(a, "locale.translations.total") || xt(a, "tooltip.totalLabel") || "Total",
7511
7495
  value: E.reduce(
7512
- (C, G) => C + parseFloat(xt(y, `data.${G}`)),
7496
+ (k, G) => k + parseFloat(xt(y, `data.${G}`)),
7513
7497
  0
7514
7498
  )
7515
7499
  }
@@ -7524,52 +7508,52 @@ class xm extends Zo {
7524
7508
  this.hideRuler();
7525
7509
  }
7526
7510
  }
7527
- class Sm extends Zo {
7511
+ class bm extends Zo {
7528
7512
  formatTooltipData(t) {
7529
7513
  return t.reverse();
7530
7514
  }
7531
7515
  }
7532
- const Tm = (i, t) => {
7533
- const e = i.x, n = i.y, s = t.x, a = t.y, r = Ms();
7516
+ const Om = (i, t) => {
7517
+ const e = i.x, n = i.y, s = t.x, a = t.y, r = As();
7534
7518
  return r.moveTo(e, n), r.lineTo(s, a), r.toString();
7535
- }, bm = (i, t, e = 0.5) => {
7536
- const n = i.x, s = i.y, a = t.x, r = t.y, o = Ms();
7519
+ }, Lm = (i, t, e = 0.5) => {
7520
+ const n = i.x, s = i.y, a = t.x, r = t.y, o = As();
7537
7521
  return o.moveTo(n, s), o.lineTo(n + (a - n) * e, s), o.lineTo(n + (a - n) * e, r), o.lineTo(a, r), o.toString();
7538
- }, Om = (i, t, e, n, s, a) => {
7539
- const r = i.x, o = i.y, c = t.x, l = t.y, h = Ms();
7522
+ }, Am = (i, t, e, n, s, a) => {
7523
+ const r = i.x, o = i.y, c = t.x, l = t.y, h = As();
7540
7524
  return h.moveTo(r, o), h.bezierCurveTo(e, n, s, a, c, l), h.toString();
7541
- }, Lm = {
7525
+ }, Mm = {
7542
7526
  d: "M7 0v8L0 4z",
7543
7527
  height: 8,
7544
7528
  width: 7.5,
7545
7529
  id: "arrowLeft"
7546
- }, Am = {
7530
+ }, wm = {
7547
7531
  d: "M0 0v8l7-4z",
7548
7532
  height: 8,
7549
7533
  width: 7.5,
7550
7534
  id: "arrowRight"
7551
- }, Mm = {
7535
+ }, Cm = {
7552
7536
  d: "M5.32 9.513a4.75 4.75 0 100-9.5 4.75 4.75 0 000 9.5z",
7553
7537
  height: 10,
7554
7538
  width: 10,
7555
7539
  id: "circle"
7556
- }, wm = {
7540
+ }, km = {
7557
7541
  d: "M5.03517654-1e-7l4.99999996 5-4.99999996 5-5-5L2.4517844 2.58339204z",
7558
7542
  height: 10,
7559
7543
  width: 10,
7560
7544
  id: "diamond"
7561
- }, km = {
7545
+ }, _m = {
7562
7546
  d: "M0 .44974747h8v8H0v-3.6830331z",
7563
7547
  height: 9,
7564
7548
  width: 8,
7565
7549
  id: "square"
7566
- }, Cm = {
7550
+ }, Im = {
7567
7551
  d: "M0 0h1.5v8H0z",
7568
7552
  height: 8,
7569
7553
  width: 2,
7570
7554
  id: "tee"
7571
7555
  };
7572
- class _m extends _d {
7556
+ class Rm extends Rd {
7573
7557
  constructor(t, e, n) {
7574
7558
  super(t, e, n), this.type = "color-legend", this.renderType = at.SVG, this.gradient_id = `gradient-id-${Math.floor(Math.random() * 99999999999)}`, this.handleAxisCompleteEvent = () => {
7575
7559
  const s = this.getComponentContainer(), { width: a } = I.getSVGElementSize(s, {
@@ -7620,16 +7604,16 @@ class _m extends _d {
7620
7604
  else
7621
7605
  for (let R = 1; R < S + 1; R++)
7622
7606
  y.push(
7623
- r === Vs.LINEAR ? `stop-color-${m}-${o}-${R}` : `fill-${m}-${o}-${R}`
7607
+ r === $s.LINEAR ? `stop-color-${m}-${o}-${R}` : `fill-${m}-${o}-${R}`
7624
7608
  );
7625
- const v = Wr(d[0], d[1]), E = Gc(v, 3), x = Re().domain(d).range([0, p]), b = Ui(x).tickSize(0).tickValues(E), { code: _, number: C } = L(e, "locale");
7626
- b.tickFormat((R) => C(R, _));
7609
+ const v = Wr(d[0], d[1]), E = Gc(v, 3), x = Re().domain(d).range([0, p]), b = Ui(x).tickSize(0).tickValues(E), { code: _, number: k } = L(e, "locale");
7610
+ b.tickFormat((R) => k(R, _));
7627
7611
  let G;
7628
7612
  switch (r) {
7629
- case Vs.LINEAR:
7613
+ case $s.LINEAR:
7630
7614
  this.drawLinear(y, f, p);
7631
7615
  break;
7632
- case Vs.QUANTIZE:
7616
+ case $s.QUANTIZE:
7633
7617
  G = this.drawQuantize(
7634
7618
  y,
7635
7619
  m,
@@ -7664,7 +7648,7 @@ class _m extends _d {
7664
7648
  this.chartType === "heatmap" && this.services.events.removeEventListener(T.Axis.RENDER_COMPLETE, this.handleAxisCompleteEvent);
7665
7649
  }
7666
7650
  }
7667
- class Im extends Cd {
7651
+ class Dm extends Id {
7668
7652
  constructor() {
7669
7653
  super(...arguments), this.type = "meter-title", this.renderType = at.SVG;
7670
7654
  }
@@ -7760,11 +7744,11 @@ class Im extends Cd {
7760
7744
  */
7761
7745
  getStatusIconPathString(t) {
7762
7746
  switch (t) {
7763
- case Gs.SUCCESS:
7747
+ case Vs.SUCCESS:
7764
7748
  return "M6.875 11.3125 3.75 8.1875 4.74375 7.25 6.875 9.34375 11.50625 4.75 12.5 5.7375 Z";
7765
- case Gs.DANGER:
7749
+ case Vs.DANGER:
7766
7750
  return "M10.7 11.5 4.5 5.3 5.3 4.5 11.5 10.7 Z";
7767
- case Gs.WARNING:
7751
+ case Vs.WARNING:
7768
7752
  return "M7.9375,11.125 C7.41973305,11.125 7,11.544733 7,12.0625 C7,12.580267 7.41973305,13 7.9375,13 C8.45526695,13 8.875,12.580267 8.875,12.0625 C8.875,11.544733 8.45526695,11.125 7.9375,11.125 M7.3125, 3 8.5625, 3 8.5625, 9.875 7.3125, 9.875, 7.3125, 3 Z";
7769
7753
  }
7770
7754
  }
@@ -7795,7 +7779,7 @@ class ta extends dt {
7795
7779
  return !1;
7796
7780
  }
7797
7781
  }
7798
- class Rm extends dt {
7782
+ class Nm extends dt {
7799
7783
  constructor() {
7800
7784
  super(...arguments), this.type = "circle-pack", this.renderType = at.SVG, this.handleLegendOnHover = (t) => {
7801
7785
  const { hoveredElement: e } = t.detail;
@@ -7973,11 +7957,11 @@ class Rm extends dt {
7973
7957
  t.removeEventListener(T.Legend.ITEM_HOVER, this.handleLegendOnHover), t.removeEventListener(T.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut), this.removeBackgroundListeners();
7974
7958
  }
7975
7959
  }
7976
- function up(i, t) {
7960
+ function dp(i, t) {
7977
7961
  const e = Ur(this._current, i);
7978
7962
  return (n) => (this._current = e(n), t(this._current));
7979
7963
  }
7980
- class hp extends dt {
7964
+ class pp extends dt {
7981
7965
  constructor() {
7982
7966
  super(...arguments), this.type = "pie", this.renderType = at.SVG, this.isRendering = !1, this.handleLegendOnHover = (t) => {
7983
7967
  const { hoveredElement: e } = t.detail, { groupMapsTo: n } = this.getOptions().data;
@@ -8029,9 +8013,9 @@ class hp extends dt {
8029
8013
  })
8030
8014
  ).attr("opacity", 1).attr("role", lt.GRAPHICS_SYMBOL).attr("aria-roledescription", "slice").attr(
8031
8015
  "aria-label",
8032
- (M) => `${M[r]}, ${Ps(M.data[r], o, r) + "%"}`
8016
+ (M) => `${M[r]}, ${Ns(M.data[r], o, r) + "%"}`
8033
8017
  ).attrTween("d", function(M) {
8034
- return up.bind(this)(M, e.arc);
8018
+ return dp.bind(this)(M, e.arc);
8035
8019
  }).on("end", () => {
8036
8020
  e.isRendering = !1;
8037
8021
  });
@@ -8040,31 +8024,31 @@ class hp extends dt {
8040
8024
  const x = E.enter().append("text").classed("pie-label", !0), b = [];
8041
8025
  x.merge(E).style("text-anchor", "middle").text((M) => s.pie.labels.formatter ? s.pie.labels.formatter({
8042
8026
  ...M,
8043
- percentageValue: Ps(
8027
+ percentageValue: Ns(
8044
8028
  M.data[r],
8045
8029
  o,
8046
8030
  r,
8047
8031
  !0
8048
8032
  )
8049
8033
  }) : m(
8050
- Ps(M.data[r], o, r),
8034
+ Ns(M.data[r], o, r),
8051
8035
  g
8052
8036
  ) + "%").datum(function(M) {
8053
- const O = c + 7, P = (M.endAngle - M.startAngle) / 2 + M.startAngle, $ = P / Math.PI * 180, k = this.getComputedTextLength();
8054
- return M.textOffsetX = k / 2, M.textOffsetY = $ > 90 && $ < 270 ? 10 : 0, M.xPosition = (M.textOffsetX + O) * Math.sin(P), M.yPosition = (M.textOffsetY + O) * -Math.cos(P), M;
8037
+ const O = c + 7, P = (M.endAngle - M.startAngle) / 2 + M.startAngle, $ = P / Math.PI * 180, C = this.getComputedTextLength();
8038
+ return M.textOffsetX = C / 2, M.textOffsetY = $ > 90 && $ < 270 ? 10 : 0, M.xPosition = (M.textOffsetX + O) * Math.sin(P), M.yPosition = (M.textOffsetY + O) * -Math.cos(P), M;
8055
8039
  }).attr("transform", function(M, O) {
8056
8040
  const P = S.length, $ = (M.endAngle - M.startAngle) * (180 / Math.PI);
8057
8041
  if (O >= P - 2 && $ < Et.callout.minSliceDegree) {
8058
- let k, V;
8059
- return M.index === P - 1 ? (k = M.xPosition + Et.callout.offsetX + Et.callout.textMargin + M.textOffsetX, V = M.yPosition - Et.callout.offsetY, M.direction = Hs.RIGHT, b.push(M)) : (k = M.xPosition - Et.callout.offsetX - M.textOffsetX - Et.callout.textMargin, V = M.yPosition - Et.callout.offsetY, M.direction = Hs.LEFT, b.push(M)), `translate(${k}, ${V})`;
8042
+ let C, V;
8043
+ return M.index === P - 1 ? (C = M.xPosition + Et.callout.offsetX + Et.callout.textMargin + M.textOffsetX, V = M.yPosition - Et.callout.offsetY, M.direction = Gs.RIGHT, b.push(M)) : (C = M.xPosition - Et.callout.offsetX - M.textOffsetX - Et.callout.textMargin, V = M.yPosition - Et.callout.offsetY, M.direction = Gs.LEFT, b.push(M)), `translate(${C}, ${V})`;
8060
8044
  }
8061
8045
  return `translate(${M.xPosition}, ${M.yPosition})`;
8062
8046
  }), this.renderCallouts(b);
8063
- const _ = L(s, "donut") ? "donut" : "pie", C = L(s, _, "alignment"), { width: G } = I.getSVGElementSize(this.getParent(), {
8047
+ const _ = L(s, "donut") ? "donut" : "pie", k = L(s, _, "alignment"), { width: G } = I.getSVGElementSize(this.getParent(), {
8064
8048
  useAttrs: !0
8065
8049
  }), R = y ? Et.xOffset : 0, A = y ? Et.yOffset : 0;
8066
8050
  let H = c + R;
8067
- C === te.CENTER ? H = G / 2 : C === te.RIGHT && (H = G - c - Et.xOffset);
8051
+ k === te.CENTER ? H = G / 2 : k === te.RIGHT && (H = G - c - Et.xOffset);
8068
8052
  let N = c + A;
8069
8053
  b.length > 0 && (N += Et.yOffsetCallout), n.attr("x", H + 7).attr("y", N), this.addEventListeners();
8070
8054
  }
@@ -8074,7 +8058,7 @@ class hp extends dt {
8074
8058
  const s = n.enter().append("g").classed("callout", !0).attr("role", lt.GROUP).attr("aria-roledescription", "label callout");
8075
8059
  s.merge(n).datum(function(o) {
8076
8060
  const { xPosition: c, yPosition: l, direction: h } = o;
8077
- return h === Hs.RIGHT ? (o.startPos = {
8061
+ return h === Gs.RIGHT ? (o.startPos = {
8078
8062
  x: c,
8079
8063
  y: l + o.textOffsetY
8080
8064
  }, o.endPos = {
@@ -8159,7 +8143,7 @@ class hp extends dt {
8159
8143
  return n.pie.labels.enabled ? s + Et.radiusOffset : s;
8160
8144
  }
8161
8145
  }
8162
- class Dm extends hp {
8146
+ class Pm extends pp {
8163
8147
  constructor() {
8164
8148
  super(...arguments), this.type = "donut", this.renderType = at.SVG;
8165
8149
  }
@@ -8211,7 +8195,7 @@ class Dm extends hp {
8211
8195
  }
8212
8196
  }
8213
8197
  const Dr = "4,10 8,6 12,10", Nr = "12,6 8,10 4,6";
8214
- class Nm extends dt {
8198
+ class $m extends dt {
8215
8199
  constructor() {
8216
8200
  super(...arguments), this.type = "gauge", this.renderType = at.SVG;
8217
8201
  }
@@ -8290,10 +8274,10 @@ class Nm extends dt {
8290
8274
  const { width: v } = I.getSVGElementSize(
8291
8275
  I.appendOrSelect(t, "text.gauge-value-number"),
8292
8276
  { useBBox: !0 }
8293
- ), E = p / 2, x = h ? "%" : "", b = I.appendOrSelect(f, "text.gauge-value-symbol").style("font-size", `${E}px`).attr("x", v / 2).text(x), { width: _, height: C } = I.getSVGElementSize(b, {
8277
+ ), E = p / 2, x = h ? "%" : "", b = I.appendOrSelect(f, "text.gauge-value-symbol").style("font-size", `${E}px`).attr("x", v / 2).text(x), { width: _, height: k } = I.getSVGElementSize(b, {
8294
8278
  useBBox: !0
8295
8279
  });
8296
- b.attr("y", `-${C / 2}px`), f.attr("transform", `translate(-${_ / 2}, 0)`);
8280
+ b.attr("y", `-${k / 2}px`), f.attr("transform", `translate(-${_ / 2}, 0)`);
8297
8281
  }
8298
8282
  /**
8299
8283
  * adds the delta number for the gauge
@@ -8366,7 +8350,7 @@ class Nm extends dt {
8366
8350
  return e === zn.SEMI ? Math.min(n / 2, s) : Math.min(n / 2, s / 2);
8367
8351
  }
8368
8352
  }
8369
- class Pm extends ta {
8353
+ class Vm extends ta {
8370
8354
  constructor() {
8371
8355
  super(...arguments), this.type = "grouped-bar", this.renderType = at.SVG, this.padding = 5, this.defaultStepFactor = 70, this.handleLegendOnHover = (t) => {
8372
8356
  const { hoveredElement: e } = t.detail, { groupMapsTo: n } = this.getOptions().data;
@@ -8408,7 +8392,7 @@ class Pm extends ta {
8408
8392
  })
8409
8393
  ).attr("transform", (u) => {
8410
8394
  const f = this.services.cartesianScales.getDomainValue(u) - this.getGroupWidth() / 2;
8411
- return this.services.cartesianScales.getOrientation() === Wt.VERTICAL ? `translate(${f}, 0)` : `translate(0, ${f})`;
8395
+ return this.services.cartesianScales.getOrientation() === Xt.VERTICAL ? `translate(${f}, 0)` : `translate(0, ${f})`;
8412
8396
  });
8413
8397
  const h = l.selectAll("path.bar").data(
8414
8398
  (u) => this.getDataCorrespondingToLabel(u),
@@ -8532,7 +8516,7 @@ class Pm extends ta {
8532
8516
  this.groupScale = Bi().domain(t).rangeRound([0, this.getGroupWidth()]);
8533
8517
  }
8534
8518
  }
8535
- class $m extends dt {
8519
+ class Gm extends dt {
8536
8520
  constructor() {
8537
8521
  super(...arguments), this.type = "heatmap", this.renderType = at.SVG, this.matrix = {}, this.xBandwidth = 0, this.yBandwidth = 0, this.translationUnits = {
8538
8522
  x: 0,
@@ -8558,7 +8542,7 @@ class $m extends dt {
8558
8542
  }
8559
8543
  d += g, u = g < u ? g : u, p = g > p ? g : p;
8560
8544
  }
8561
- })), c(n) !== void 0 ? this.parent.select("g.multi-cell.column-highlight").classed("highlighter-hidden", !1).attr("transform", `translate(${c(n)}, ${pi(l.range())})`) : l(n) !== void 0 && this.parent.select("g.multi-cell.row-highlight").classed("highlighter-hidden", !1).attr("transform", `translate(${pi(c.range())},${l(n)})`), this.services.events.dispatchEvent(T.Tooltip.SHOW, {
8545
+ })), c(n) !== void 0 ? this.parent.select("g.multi-cell.column-highlight").classed("highlighter-hidden", !1).attr("transform", `translate(${c(n)}, ${di(l.range())})`) : l(n) !== void 0 && this.parent.select("g.multi-cell.row-highlight").classed("highlighter-hidden", !1).attr("transform", `translate(${di(c.range())},${l(n)})`), this.services.events.dispatchEvent(T.Tooltip.SHOW, {
8562
8546
  event: e.event,
8563
8547
  hoveredElement: D(t.detail.element),
8564
8548
  items: [
@@ -8640,7 +8624,7 @@ class $m extends dt {
8640
8624
  }
8641
8625
  determineDividerStatus() {
8642
8626
  const t = L(this.getOptions(), "heatmap", "divider", "state");
8643
- return t !== Bs.OFF && (t === Bs.AUTO && xa.minCellDividerDimension <= this.xBandwidth && xa.minCellDividerDimension <= this.yBandwidth || t === Bs.ON);
8627
+ return t !== Hs.OFF && (t === Hs.AUTO && xa.minCellDividerDimension <= this.xBandwidth && xa.minCellDividerDimension <= this.yBandwidth || t === Hs.ON);
8644
8628
  }
8645
8629
  addEventListener() {
8646
8630
  const t = this, { cartesianScales: e } = this.services, n = this.getOptions(), s = xt(n, "locale.translations.total") || xt(n, "tooltip.totalLabel") || "Total", a = e.getDomainIdentifier(), r = e.getRangeIdentifier(), o = e.getDomainLabel(), c = e.getRangeLabel();
@@ -8707,7 +8691,7 @@ class $m extends dt {
8707
8691
  t.removeEventListener(T.Legend.ITEM_HOVER, this.handleAxisOnHover), t.removeEventListener(T.Legend.ITEM_MOUSEOUT, this.handleAxisMouseOut);
8708
8692
  }
8709
8693
  }
8710
- class Vm extends dt {
8694
+ class Hm extends dt {
8711
8695
  constructor() {
8712
8696
  super(...arguments), this.type = "histogram", this.renderType = at.SVG, this.handleLegendOnHover = (t) => {
8713
8697
  const { hoveredElement: e } = t.detail, n = this.getOptions(), { groupMapsTo: s } = n.data;
@@ -8755,7 +8739,7 @@ class Vm extends dt {
8755
8739
  return;
8756
8740
  const u = o(d.x1) - o(d.x0) - 1, p = this.services.cartesianScales.getDomainValue(d.x0), f = p + u, g = this.services.cartesianScales.getRangeValue(h[0]);
8757
8741
  let m = this.services.cartesianScales.getRangeValue(h[1]);
8758
- return Math.abs(m - g) > 0 && Math.abs(m - g) > n.bars.dividerSize && (this.services.cartesianScales.getOrientation() === Wt.VERTICAL ? m += 1 : m -= 1), Gt(
8742
+ return Math.abs(m - g) > 0 && Math.abs(m - g) > n.bars.dividerSize && (this.services.cartesianScales.getOrientation() === Xt.VERTICAL ? m += 1 : m -= 1), Gt(
8759
8743
  { x0: p, x1: f, y0: g, y1: m },
8760
8744
  this.services.cartesianScales.getOrientation()
8761
8745
  );
@@ -8803,7 +8787,7 @@ class Vm extends dt {
8803
8787
  t.removeEventListener(T.Legend.ITEM_HOVER, this.handleLegendOnHover), t.removeEventListener(T.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
8804
8788
  }
8805
8789
  }
8806
- class Gm extends Ji {
8790
+ class Bm extends Ji {
8807
8791
  constructor() {
8808
8792
  super(...arguments), this.type = "lollipop", this.renderType = at.SVG, this.handleScatterOnHover = (t) => {
8809
8793
  const e = t.detail, n = this.getOptions(), { groupMapsTo: s } = n.data;
@@ -8855,7 +8839,7 @@ class Gm extends Ji {
8855
8839
  animate: t
8856
8840
  })
8857
8841
  ).style("stroke", (y) => this.model.getFillColor(y[s], y[c], y)).attr("opacity", 1);
8858
- d === Wt.HORIZONTAL ? m.attr("y1", p).attr("y2", p).attr("x1", r.range()[0]).attr("x2", (y) => u(y) - n.points.radius) : m.attr("x1", u).attr("x2", u).attr("y1", o.range()[0]).attr("y2", (y) => p(y) + n.points.radius), this.addScatterPointEventListeners();
8842
+ d === Xt.HORIZONTAL ? m.attr("y1", p).attr("y2", p).attr("x1", r.range()[0]).attr("x2", (y) => u(y) - n.points.radius) : m.attr("x1", u).attr("x2", u).attr("y1", o.range()[0]).attr("y2", (y) => p(y) + n.points.radius), this.addScatterPointEventListeners();
8859
8843
  }
8860
8844
  // listen for when individual datapoints are hovered
8861
8845
  addScatterPointEventListeners() {
@@ -8875,7 +8859,7 @@ class Gm extends Ji {
8875
8859
  );
8876
8860
  }
8877
8861
  }
8878
- class Hm extends dt {
8862
+ class zm extends dt {
8879
8863
  constructor() {
8880
8864
  super(...arguments), this.type = "meter", this.renderType = at.SVG;
8881
8865
  }
@@ -8988,7 +8972,7 @@ class Hm extends dt {
8988
8972
  this.parent.selectAll("rect.value").on("mouseover", null).on("mousemove", null).on("mouseout", null).on("click", null);
8989
8973
  }
8990
8974
  }
8991
- class Bm extends dt {
8975
+ class Um extends dt {
8992
8976
  constructor() {
8993
8977
  super(...arguments), this.type = "radar", this.renderType = at.SVG, this.getLabelDimensions = (t) => {
8994
8978
  const e = I.appendOrSelect(this.getComponentContainer(), "g.tmp-tick"), n = I.appendOrSelect(e, "text").text(t), { width: s, height: a } = I.getSVGElementSize(n.node(), { useBBox: !0 });
@@ -9043,10 +9027,10 @@ class Bm extends dt {
9043
9027
  const S = 2 * (this.getLabelDimensions(this.uniqueKeys[0]).height + p), x = (Math.min(n, s) - S) / 2;
9044
9028
  if (x <= 0)
9045
9029
  return;
9046
- const b = Bi().domain(this.fullDataNormalized.map((B) => B[h])).range([0, 2 * Math.PI].map((B) => B - Math.PI / 2)), _ = pi(this.fullDataNormalized.map((B) => B[d])), C = Re().domain([
9030
+ const b = Bi().domain(this.fullDataNormalized.map((B) => B[h])).range([0, 2 * Math.PI].map((B) => B - Math.PI / 2)), _ = di(this.fullDataNormalized.map((B) => B[d])), k = Re().domain([
9047
9031
  _ >= 0 ? 0 : _,
9048
9032
  Sa(this.fullDataNormalized.map((B) => B[d]))
9049
- ]).range([g, x]).nice(f), G = C.ticks(f), R = (B, z, U) => this.model.getFillColor(B, z, U), A = sd().angle((B) => b(B[h]) + Math.PI / 2).radius((B) => C(B[d])).curve(Ll), H = this.uniqueKeys.map((B) => {
9033
+ ]).range([g, x]).nice(f), G = k.ticks(f), R = (B, z, U) => this.model.getFillColor(B, z, U), A = sd().angle((B) => b(B[h]) + Math.PI / 2).radius((B) => k(B[d])).curve(Ll), H = this.uniqueKeys.map((B) => {
9050
9034
  const z = this.getLabelDimensions(B).width, U = Al(
9051
9035
  b(B),
9052
9036
  x
@@ -9092,7 +9076,7 @@ class Bm extends dt {
9092
9076
  name: "radar_x_axes_enter",
9093
9077
  animate: t
9094
9078
  })
9095
- ).attr("opacity", 1).attr("x1", (U) => bt(b(U), C.range()[0], M).x).attr("y1", (U) => bt(b(U), C.range()[0], M).y).attr("x2", (U) => bt(b(U), C.range()[1], M).x).attr("y2", (U) => bt(b(U), C.range()[1], M).y)
9079
+ ).attr("opacity", 1).attr("x1", (U) => bt(b(U), k.range()[0], M).x).attr("y1", (U) => bt(b(U), k.range()[0], M).y).attr("x2", (U) => bt(b(U), k.range()[1], M).x).attr("y2", (U) => bt(b(U), k.range()[1], M).y)
9096
9080
  ),
9097
9081
  (B) => B.call(
9098
9082
  (z) => z.transition().call(
@@ -9101,7 +9085,7 @@ class Bm extends dt {
9101
9085
  name: "radar_x_axes_update",
9102
9086
  animate: t
9103
9087
  })
9104
- ).attr("opacity", 1).attr("x1", (U) => bt(b(U), C.range()[0], M).x).attr("y1", (U) => bt(b(U), C.range()[0], M).y).attr("x2", (U) => bt(b(U), C.range()[1], M).x).attr("y2", (U) => bt(b(U), C.range()[1], M).y)
9088
+ ).attr("opacity", 1).attr("x1", (U) => bt(b(U), k.range()[0], M).x).attr("y1", (U) => bt(b(U), k.range()[0], M).y).attr("x2", (U) => bt(b(U), k.range()[1], M).x).attr("y2", (U) => bt(b(U), k.range()[1], M).y)
9105
9089
  ),
9106
9090
  (B) => B.call(
9107
9091
  (z) => z.transition().call(
@@ -9115,13 +9099,13 @@ class Bm extends dt {
9115
9099
  ), I.appendOrSelect(e, "g.x-labels").attr("role", lt.GROUP).selectAll("text").data(this.uniqueKeys).join(
9116
9100
  (B) => B.append("text").text((z) => z).attr("opacity", 0).attr(
9117
9101
  "x",
9118
- (z) => bt(b(z), C.range()[1] + u, M).x
9102
+ (z) => bt(b(z), k.range()[1] + u, M).x
9119
9103
  ).attr(
9120
9104
  "y",
9121
- (z) => bt(b(z), C.range()[1] + u, M).y
9122
- ).style("text-anchor", (z) => ka(b(z)).textAnchor).style(
9105
+ (z) => bt(b(z), k.range()[1] + u, M).y
9106
+ ).style("text-anchor", (z) => Ca(b(z)).textAnchor).style(
9123
9107
  "dominant-baseline",
9124
- (z) => ka(b(z)).dominantBaseline
9108
+ (z) => Ca(b(z)).dominantBaseline
9125
9109
  ).call(
9126
9110
  (z) => z.transition().call(
9127
9111
  (U) => this.services.transitions.setupTransition({
@@ -9140,10 +9124,10 @@ class Bm extends dt {
9140
9124
  })
9141
9125
  ).attr("opacity", 1).attr(
9142
9126
  "x",
9143
- (U) => bt(b(U), C.range()[1] + u, M).x
9127
+ (U) => bt(b(U), k.range()[1] + u, M).x
9144
9128
  ).attr(
9145
9129
  "y",
9146
- (U) => bt(b(U), C.range()[1] + u, M).y
9130
+ (U) => bt(b(U), k.range()[1] + u, M).y
9147
9131
  ).end().finally(() => {
9148
9132
  const U = L(o, "radar", "alignment"), Mt = this.getAlignmentXOffset(U, e, this.getParent());
9149
9133
  e.attr("x", Mt);
@@ -9219,17 +9203,17 @@ class Bm extends dt {
9219
9203
  dataGroupName: B[c],
9220
9204
  originalClassName: Ue(B[h])
9221
9205
  })
9222
- ).attr("cx", (B) => bt(b(B[h]), C(B[d]), M).x).attr("cy", (B) => bt(b(B[h]), C(B[d]), M).y).attr("r", 0).attr("opacity", 0).style("fill", (B) => R(B[c])), I.appendOrSelect(e, "g.x-axes-rect").attr("role", lt.GROUP).selectAll("rect").data(this.uniqueKeys).join(
9206
+ ).attr("cx", (B) => bt(b(B[h]), k(B[d]), M).x).attr("cy", (B) => bt(b(B[h]), k(B[d]), M).y).attr("r", 0).attr("opacity", 0).style("fill", (B) => R(B[c])), I.appendOrSelect(e, "g.x-axes-rect").attr("role", lt.GROUP).selectAll("rect").data(this.uniqueKeys).join(
9223
9207
  (B) => B.append("rect"),
9224
9208
  (B) => B,
9225
9209
  (B) => B.remove()
9226
- ).attr("x", M.x).attr("y", M.y - m / 2).attr("width", C.range()[1]).attr("height", m).style("fill", "red").style("fill-opacity", 0).attr("transform", (B) => `rotate(${Ml(b(B))}, ${M.x}, ${M.y})`);
9210
+ ).attr("x", M.x).attr("y", M.y - m / 2).attr("width", k.range()[1]).attr("height", m).style("fill", "red").style("fill-opacity", 0).attr("transform", (B) => `rotate(${Ml(b(B))}, ${M.x}, ${M.y})`);
9227
9211
  const { code: ot, number: ct } = L(o, "locale");
9228
- I.appendOrSelect(e, "g.y-labels").attr("role", lt.GROUP).selectAll("text").data(Ls(G)).join(
9212
+ I.appendOrSelect(e, "g.y-labels").attr("role", lt.GROUP).selectAll("text").data(Os(G)).join(
9229
9213
  (B) => B.append("text").attr("opacity", 0).text((z) => ct(z, ot)).attr(
9230
9214
  "x",
9231
- (z) => bt(-Math.PI / 2, C(z), M).x + p
9232
- ).attr("y", (z) => bt(-Math.PI / 2, C(z), M).y).style("text-anchor", "start").style("dominant-baseline", "middle").call(
9215
+ (z) => bt(-Math.PI / 2, k(z), M).x + p
9216
+ ).attr("y", (z) => bt(-Math.PI / 2, k(z), M).y).style("text-anchor", "start").style("dominant-baseline", "middle").call(
9233
9217
  (z) => z.transition().call(
9234
9218
  (U) => this.services.transitions.setupTransition({
9235
9219
  transition: U,
@@ -9247,8 +9231,8 @@ class Bm extends dt {
9247
9231
  })
9248
9232
  ).text((U) => U).attr("opacity", 1).attr(
9249
9233
  "x",
9250
- (U) => bt(-Math.PI / 2, C(U), M).x + p
9251
- ).attr("y", (U) => bt(-Math.PI / 2, C(U), M).y)
9234
+ (U) => bt(-Math.PI / 2, k(U), M).x + p
9235
+ ).attr("y", (U) => bt(-Math.PI / 2, k(U), M).y)
9252
9236
  ),
9253
9237
  (B) => B.call(
9254
9238
  (z) => z.transition().call(
@@ -9332,7 +9316,7 @@ class Bm extends dt {
9332
9316
  });
9333
9317
  }
9334
9318
  }
9335
- class zm extends ta {
9319
+ class Fm extends ta {
9336
9320
  constructor() {
9337
9321
  super(...arguments), this.type = "simple-bar", this.renderType = at.SVG, this.handleLegendOnHover = (t) => {
9338
9322
  const { hoveredElement: e } = t.detail, { groupMapsTo: n } = this.getOptions().data;
@@ -9386,7 +9370,7 @@ class zm extends ta {
9386
9370
  g = this.services.cartesianScales.getRangeValue(Math.max(0, v)), m = this.services.cartesianScales.getRangeValue(l);
9387
9371
  }
9388
9372
  const y = Math.abs(m - g);
9389
- if (y !== 0 && y < 2 && (u > 0 && r === Wt.VERTICAL || u < 0 && r === Wt.HORIZONTAL ? m = g - 2 : m = g + 2), !this.isOutsideZoomedDomain(p, f))
9373
+ if (y !== 0 && y < 2 && (u > 0 && r === Xt.VERTICAL || u < 0 && r === Xt.HORIZONTAL ? m = g - 2 : m = g + 2), !this.isOutsideZoomedDomain(p, f))
9390
9374
  return Gt({ x0: p, x1: f, y0: g, y1: m }, r);
9391
9375
  }).attr("opacity", 1).attr("role", lt.GRAPHICS_SYMBOL).attr("aria-roledescription", "bar").attr("aria-label", (l) => l.value), this.addEventListeners();
9392
9376
  }
@@ -9434,7 +9418,7 @@ class zm extends ta {
9434
9418
  t.removeEventListener(T.Legend.ITEM_HOVER, this.handleLegendOnHover), t.removeEventListener(T.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
9435
9419
  }
9436
9420
  }
9437
- class Um extends ep {
9421
+ class Wm extends sp {
9438
9422
  constructor() {
9439
9423
  super(...arguments), this.type = "skeleton-lines";
9440
9424
  }
@@ -9460,7 +9444,7 @@ class Um extends ep {
9460
9444
  this.backdrop = I.appendOrSelect(t, "svg.chart-skeleton.DAII"), I.appendOrSelect(this.backdrop, "rect.chart-skeleton-backdrop").classed("shimmer-effect-lines", !1).classed("shimmer-effect-sparkline", !0).style("stroke", null);
9461
9445
  }
9462
9446
  }
9463
- class Fm extends dt {
9447
+ class Xm extends dt {
9464
9448
  constructor() {
9465
9449
  super(...arguments), this.type = "area-stacked", this.renderType = at.SVG, this.handleLegendOnHover = (t) => {
9466
9450
  const { hoveredElement: e } = t.detail, n = this.getOptions(), { groupMapsTo: s } = n.data;
@@ -9512,7 +9496,7 @@ class Fm extends dt {
9512
9496
  ).attr("opacity", ve.opacity.selected).attr("d", this.areaGenerator);
9513
9497
  }
9514
9498
  }
9515
- class Wm extends ta {
9499
+ class Ym extends ta {
9516
9500
  constructor() {
9517
9501
  super(...arguments), this.type = "stacked-bar", this.renderType = at.SVG, this.handleLegendOnHover = (t) => {
9518
9502
  const { hoveredElement: e } = t.detail, { groupMapsTo: n } = this.model.getOptions().data;
@@ -9567,7 +9551,7 @@ class Wm extends ta {
9567
9551
  if (!this.isOutsideZoomedDomain(u, p)) {
9568
9552
  if (Math.abs(g - f) > 0 && Math.abs(g - f) > n.bars.dividerSize) {
9569
9553
  const m = l[0] < 0 && l[1] <= 0;
9570
- m && r.length > 1 ? this.services.cartesianScales.getOrientation() === Wt.VERTICAL ? g += l[1] === 0 ? 2 : 1 : g -= 1 : m || (this.services.cartesianScales.getOrientation() === Wt.VERTICAL ? g += 1 : g -= 1);
9554
+ m && r.length > 1 ? this.services.cartesianScales.getOrientation() === Xt.VERTICAL ? g += l[1] === 0 ? 2 : 1 : g -= 1 : m || (this.services.cartesianScales.getOrientation() === Xt.VERTICAL ? g += 1 : g -= 1);
9571
9555
  }
9572
9556
  return Gt(
9573
9557
  { x0: u, x1: p, y0: f, y1: g },
@@ -9643,7 +9627,7 @@ class Wm extends ta {
9643
9627
  t.removeEventListener(T.Legend.ITEM_HOVER, this.handleLegendOnHover), t.removeEventListener(T.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
9644
9628
  }
9645
9629
  }
9646
- class Xm extends Ji {
9630
+ class Zm extends Ji {
9647
9631
  constructor() {
9648
9632
  super(...arguments), this.type = "scatter-stacked", this.renderType = at.SVG;
9649
9633
  }
@@ -9692,7 +9676,7 @@ class Xm extends Ji {
9692
9676
  }
9693
9677
  }
9694
9678
  const mn = 6;
9695
- class Ym extends dt {
9679
+ class qm extends dt {
9696
9680
  constructor() {
9697
9681
  super(...arguments), this.type = "tree", this.renderType = at.SVG;
9698
9682
  }
@@ -9723,57 +9707,54 @@ class Ym extends dt {
9723
9707
  if (n < 1 || s < 1)
9724
9708
  return;
9725
9709
  const a = this.model.getOptions(), r = this.model.getDisplayData(), o = L(a, "tree", "rootTitle") || "Tree", c = this.getMockLabelWidth(e, o), l = this.getLongestLabel(r), h = this.getMockLabelWidth(e, l), d = {
9726
- top: 0,
9727
- right: 0,
9728
- bottom: 0,
9729
9710
  left: c > 0 ? c + mn : 30 - mn
9730
9711
  }, u = Rn({
9731
9712
  name: o,
9732
9713
  children: r
9733
9714
  }), p = 10, f = n / 6, g = (b) => {
9734
- const _ = u.descendants().reverse(), C = u.links();
9715
+ const _ = u.descendants().reverse(), k = u.links();
9735
9716
  let G = u, R = u;
9736
- u.eachBefore((k) => {
9737
- k.x < G.x && (G = k), k.x > R.x && (R = k);
9717
+ u.eachBefore((C) => {
9718
+ C.x < G.x && (G = C), C.x > R.x && (R = C);
9738
9719
  });
9739
9720
  const A = R.x - G.x, H = e.transition().call(
9740
- (k) => this.services.transitions.setupTransition({
9741
- transition: k,
9721
+ (C) => this.services.transitions.setupTransition({
9722
+ transition: C,
9742
9723
  name: "tree-update-viewbox",
9743
9724
  animate: !0
9744
9725
  })
9745
- ).attr("viewBox", [-d.left, G.x, n, A].join(" ")), N = x.selectAll("g").data(_, (k) => k.id), M = this, O = N.enter().append("g").attr("transform", () => `translate(${b.y0},${b.x0})`).attr(
9726
+ ).attr("viewBox", [-d.left, G.x, n, A].join(" ")), N = x.selectAll("g").data(_, (C) => C.id), M = this, O = N.enter().append("g").attr("transform", () => `translate(${b.y0},${b.x0})`).attr(
9746
9727
  "class",
9747
- (k) => k.depth !== 0 && k.children && k.children.length > 0 ? "clickable" : null
9748
- ).on("mouseover", function(k, V) {
9728
+ (C) => C.depth !== 0 && C.children && C.children.length > 0 ? "clickable" : null
9729
+ ).on("mouseover", function(C, V) {
9749
9730
  M.services.events.dispatchEvent(T.Tree.NODE_MOUSEOVER, {
9750
- event: k,
9731
+ event: C,
9751
9732
  element: D(this),
9752
9733
  datum: V
9753
9734
  });
9754
- }).on("click", function(k, V) {
9735
+ }).on("click", function(C, V) {
9755
9736
  V.depth !== 0 && (V.children = V.children ? null : V._children, g(V)), M.services.events.dispatchEvent(T.Tree.NODE_CLICK, {
9756
- event: k,
9737
+ event: C,
9757
9738
  element: D(this),
9758
9739
  datum: V
9759
9740
  });
9760
- }).on("mouseout", function(k, V) {
9741
+ }).on("mouseout", function(C, V) {
9761
9742
  M.services.events.dispatchEvent(T.Tree.NODE_MOUSEOUT, {
9762
- event: k,
9743
+ event: C,
9763
9744
  element: D(this),
9764
9745
  datum: V
9765
9746
  });
9766
9747
  });
9767
- O.append("circle").attr("r", 2.5).attr("class", (k) => k._children ? "parent" : "child").attr("stroke-width", 10), O.append("text").attr("dy", "0.31em").attr("x", (k) => k._children ? -6 : mn).attr("text-anchor", (k) => k._children ? "end" : "start").text((k) => k.data.name).clone(!0).attr("class", "text-stroke").lower(), N.merge(O).transition(H).attr("transform", (k) => `translate(${k.y},${k.x})`).attr("fill-opacity", 1).attr("stroke-opacity", 1), N.exit().transition(H).remove().attr("transform", () => `translate(${b.y},${b.x})`).attr("fill-opacity", 0).attr("stroke-opacity", 0);
9768
- const P = E.selectAll("path").data(C, (k) => k.target.id), $ = P.enter().append("path").attr("d", () => {
9769
- const k = { x: b.x0, y: b.y0 };
9770
- return v({ source: k, target: k });
9748
+ O.append("circle").attr("r", 2.5).attr("class", (C) => C._children ? "parent" : "child").attr("stroke-width", 10), O.append("text").attr("dy", "0.31em").attr("x", (C) => C._children ? -6 : mn).attr("text-anchor", (C) => C._children ? "end" : "start").text((C) => C.data.name).clone(!0).attr("class", "text-stroke").lower(), N.merge(O).transition(H).attr("transform", (C) => `translate(${C.y},${C.x})`).attr("fill-opacity", 1).attr("stroke-opacity", 1), N.exit().transition(H).remove().attr("transform", () => `translate(${b.y},${b.x})`).attr("fill-opacity", 0).attr("stroke-opacity", 0);
9749
+ const P = E.selectAll("path").data(k, (C) => C.target.id), $ = P.enter().append("path").attr("d", () => {
9750
+ const C = { x: b.x0, y: b.y0 };
9751
+ return v({ source: C, target: C });
9771
9752
  });
9772
9753
  P.merge($).transition(H).attr("d", v), P.exit().transition(H).remove().attr("d", () => {
9773
- const k = { x: b.x, y: b.y };
9774
- return v({ source: k, target: k });
9775
- }), u.eachBefore((k) => {
9776
- k.x0 = k.x, k.y0 = k.y;
9754
+ const C = { x: b.x, y: b.y };
9755
+ return v({ source: C, target: C });
9756
+ }), u.eachBefore((C) => {
9757
+ C.x0 = C.x, C.y0 = C.y;
9777
9758
  });
9778
9759
  }, m = u.descendants(), y = m[m.length - 1].depth, S = L(a, "tree", "type") === Sl.DENDROGRAM ? Qu().size([
9779
9760
  s,
@@ -9789,159 +9770,159 @@ class Ym extends dt {
9789
9770
  g(u);
9790
9771
  }
9791
9772
  }
9792
- var dp = "#000000", pp = "#ffffff", fp = "#fcf4d6", gp = "#fddc69", mp = "#f1c21b", vp = "#d2a106", yp = "#b28600", Ep = "#8e6a00", xp = "#684e00", Sp = "#483700", Tp = "#302400", bp = "#1c1500", Op = {
9793
- 10: fp,
9794
- 20: gp,
9795
- 30: mp,
9796
- 40: vp,
9797
- 50: yp,
9798
- 60: Ep,
9799
- 70: xp,
9800
- 80: Sp,
9801
- 90: Tp,
9802
- 100: bp
9803
- }, Lp = "#fff2e8", Ap = "#ffd9be", Mp = "#ffb784", wp = "#ff832b", kp = "#eb6200", Cp = "#ba4e00", _p = "#8a3800", Ip = "#5e2900", Rp = "#3e1a00", Dp = "#231000", Np = {
9804
- 10: Lp,
9805
- 20: Ap,
9806
- 30: Mp,
9807
- 40: wp,
9808
- 50: kp,
9809
- 60: Cp,
9810
- 70: _p,
9811
- 80: Ip,
9812
- 90: Rp,
9813
- 100: Dp
9814
- }, Pp = "#fff1f1", $p = "#ffd7d9", Vp = "#ffb3b8", Gp = "#ff8389", Hp = "#fa4d56", Bp = "#da1e28", zp = "#a2191f", Up = "#750e13", Fp = "#520408", Wp = "#2d0709", Xp = {
9815
- 10: Pp,
9816
- 20: $p,
9817
- 30: Vp,
9818
- 40: Gp,
9819
- 50: Hp,
9820
- 60: Bp,
9821
- 70: zp,
9822
- 80: Up,
9823
- 90: Fp,
9824
- 100: Wp
9825
- }, Yp = "#fff0f7", Zp = "#ffd6e8", qp = "#ffafd2", jp = "#ff7eb6", Kp = "#ee5396", Jp = "#d02670", Qp = "#9f1853", tf = "#740937", ef = "#510224", nf = "#2a0a18", sf = {
9826
- 10: Yp,
9827
- 20: Zp,
9828
- 30: qp,
9829
- 40: jp,
9830
- 50: Kp,
9831
- 60: Jp,
9832
- 70: Qp,
9833
- 80: tf,
9834
- 90: ef,
9835
- 100: nf
9836
- }, af = "#f6f2ff", rf = "#e8daff", of = "#d4bbff", lf = "#be95ff", cf = "#a56eff", uf = "#8a3ffc", hf = "#6929c4", df = "#491d8b", pf = "#31135e", ff = "#1c0f30", gf = {
9837
- 10: af,
9838
- 20: rf,
9839
- 30: of,
9840
- 40: lf,
9841
- 50: cf,
9842
- 60: uf,
9843
- 70: hf,
9844
- 80: df,
9845
- 90: pf,
9846
- 100: ff
9847
- }, mf = "#edf5ff", vf = "#d0e2ff", yf = "#a6c8ff", Ef = "#78a9ff", xf = "#4589ff", Sf = "#0f62fe", Tf = "#0043ce", bf = "#002d9c", Of = "#001d6c", Lf = "#001141", Af = {
9848
- 10: mf,
9849
- 20: vf,
9850
- 30: yf,
9851
- 40: Ef,
9852
- 50: xf,
9853
- 60: Sf,
9854
- 70: Tf,
9855
- 80: bf,
9856
- 90: Of,
9857
- 100: Lf
9858
- }, Mf = "#e5f6ff", wf = "#bae6ff", kf = "#82cfff", Cf = "#33b1ff", _f = "#1192e8", If = "#0072c3", Rf = "#00539a", Df = "#003a6d", Nf = "#012749", Pf = "#061727", $f = {
9859
- 10: Mf,
9860
- 20: wf,
9861
- 30: kf,
9862
- 40: Cf,
9863
- 50: _f,
9864
- 60: If,
9865
- 70: Rf,
9866
- 80: Df,
9867
- 90: Nf,
9868
- 100: Pf
9869
- }, Vf = "#d9fbfb", Gf = "#9ef0f0", Hf = "#3ddbd9", Bf = "#08bdba", zf = "#009d9a", Uf = "#007d79", Ff = "#005d5d", Wf = "#004144", Xf = "#022b30", Yf = "#081a1c", Zf = {
9870
- 10: Vf,
9871
- 20: Gf,
9872
- 30: Hf,
9873
- 40: Bf,
9874
- 50: zf,
9875
- 60: Uf,
9876
- 70: Ff,
9877
- 80: Wf,
9878
- 90: Xf,
9879
- 100: Yf
9880
- }, qf = "#defbe6", jf = "#a7f0ba", Kf = "#6fdc8c", Jf = "#42be65", Qf = "#24a148", tg = "#198038", eg = "#0e6027", ng = "#044317", sg = "#022d0d", ig = "#071908", ag = {
9881
- 10: qf,
9882
- 20: jf,
9883
- 30: Kf,
9884
- 40: Jf,
9885
- 50: Qf,
9886
- 60: tg,
9887
- 70: eg,
9888
- 80: ng,
9889
- 90: sg,
9890
- 100: ig
9891
- }, rg = "#f2f4f8", og = "#dde1e6", lg = "#c1c7cd", cg = "#a2a9b0", ug = "#878d96", hg = "#697077", dg = "#4d5358", pg = "#343a3f", fg = "#21272a", gg = "#121619", mg = {
9892
- 10: rg,
9893
- 20: og,
9894
- 30: lg,
9895
- 40: cg,
9896
- 50: ug,
9897
- 60: hg,
9898
- 70: dg,
9899
- 80: pg,
9900
- 90: fg,
9901
- 100: gg
9902
- }, vg = "#f4f4f4", yg = "#e0e0e0", Eg = "#c6c6c6", xg = "#a8a8a8", Sg = "#8d8d8d", Tg = "#6f6f6f", bg = "#525252", Og = "#393939", Lg = "#262626", Ag = "#161616", Mg = {
9903
- 10: vg,
9904
- 20: yg,
9905
- 30: Eg,
9906
- 40: xg,
9907
- 50: Sg,
9908
- 60: Tg,
9909
- 70: bg,
9910
- 80: Og,
9911
- 90: Lg,
9912
- 100: Ag
9913
- }, wg = "#f7f3f2", kg = "#e5e0df", Cg = "#cac5c4", _g = "#ada8a8", Ig = "#8f8b8b", Rg = "#726e6e", Dg = "#565151", Ng = "#3c3838", Pg = "#272525", $g = "#171414", Vg = {
9914
- 10: wg,
9915
- 20: kg,
9916
- 30: Cg,
9917
- 40: _g,
9918
- 50: Ig,
9919
- 60: Rg,
9920
- 70: Dg,
9921
- 80: Ng,
9922
- 90: Pg,
9923
- 100: $g
9773
+ var fp = "#000000", gp = "#ffffff", mp = "#fcf4d6", vp = "#fddc69", yp = "#f1c21b", Ep = "#d2a106", xp = "#b28600", Sp = "#8e6a00", Tp = "#684e00", bp = "#483700", Op = "#302400", Lp = "#1c1500", Ap = {
9774
+ 10: mp,
9775
+ 20: vp,
9776
+ 30: yp,
9777
+ 40: Ep,
9778
+ 50: xp,
9779
+ 60: Sp,
9780
+ 70: Tp,
9781
+ 80: bp,
9782
+ 90: Op,
9783
+ 100: Lp
9784
+ }, Mp = "#fff2e8", wp = "#ffd9be", Cp = "#ffb784", kp = "#ff832b", _p = "#eb6200", Ip = "#ba4e00", Rp = "#8a3800", Dp = "#5e2900", Np = "#3e1a00", Pp = "#231000", $p = {
9785
+ 10: Mp,
9786
+ 20: wp,
9787
+ 30: Cp,
9788
+ 40: kp,
9789
+ 50: _p,
9790
+ 60: Ip,
9791
+ 70: Rp,
9792
+ 80: Dp,
9793
+ 90: Np,
9794
+ 100: Pp
9795
+ }, Vp = "#fff1f1", Gp = "#ffd7d9", Hp = "#ffb3b8", Bp = "#ff8389", zp = "#fa4d56", Up = "#da1e28", Fp = "#a2191f", Wp = "#750e13", Xp = "#520408", Yp = "#2d0709", Zp = {
9796
+ 10: Vp,
9797
+ 20: Gp,
9798
+ 30: Hp,
9799
+ 40: Bp,
9800
+ 50: zp,
9801
+ 60: Up,
9802
+ 70: Fp,
9803
+ 80: Wp,
9804
+ 90: Xp,
9805
+ 100: Yp
9806
+ }, qp = "#fff0f7", jp = "#ffd6e8", Kp = "#ffafd2", Jp = "#ff7eb6", Qp = "#ee5396", tf = "#d02670", ef = "#9f1853", nf = "#740937", sf = "#510224", af = "#2a0a18", rf = {
9807
+ 10: qp,
9808
+ 20: jp,
9809
+ 30: Kp,
9810
+ 40: Jp,
9811
+ 50: Qp,
9812
+ 60: tf,
9813
+ 70: ef,
9814
+ 80: nf,
9815
+ 90: sf,
9816
+ 100: af
9817
+ }, of = "#f6f2ff", lf = "#e8daff", cf = "#d4bbff", uf = "#be95ff", hf = "#a56eff", df = "#8a3ffc", pf = "#6929c4", ff = "#491d8b", gf = "#31135e", mf = "#1c0f30", vf = {
9818
+ 10: of,
9819
+ 20: lf,
9820
+ 30: cf,
9821
+ 40: uf,
9822
+ 50: hf,
9823
+ 60: df,
9824
+ 70: pf,
9825
+ 80: ff,
9826
+ 90: gf,
9827
+ 100: mf
9828
+ }, yf = "#edf5ff", Ef = "#d0e2ff", xf = "#a6c8ff", Sf = "#78a9ff", Tf = "#4589ff", bf = "#0f62fe", Of = "#0043ce", Lf = "#002d9c", Af = "#001d6c", Mf = "#001141", wf = {
9829
+ 10: yf,
9830
+ 20: Ef,
9831
+ 30: xf,
9832
+ 40: Sf,
9833
+ 50: Tf,
9834
+ 60: bf,
9835
+ 70: Of,
9836
+ 80: Lf,
9837
+ 90: Af,
9838
+ 100: Mf
9839
+ }, Cf = "#e5f6ff", kf = "#bae6ff", _f = "#82cfff", If = "#33b1ff", Rf = "#1192e8", Df = "#0072c3", Nf = "#00539a", Pf = "#003a6d", $f = "#012749", Vf = "#061727", Gf = {
9840
+ 10: Cf,
9841
+ 20: kf,
9842
+ 30: _f,
9843
+ 40: If,
9844
+ 50: Rf,
9845
+ 60: Df,
9846
+ 70: Nf,
9847
+ 80: Pf,
9848
+ 90: $f,
9849
+ 100: Vf
9850
+ }, Hf = "#d9fbfb", Bf = "#9ef0f0", zf = "#3ddbd9", Uf = "#08bdba", Ff = "#009d9a", Wf = "#007d79", Xf = "#005d5d", Yf = "#004144", Zf = "#022b30", qf = "#081a1c", jf = {
9851
+ 10: Hf,
9852
+ 20: Bf,
9853
+ 30: zf,
9854
+ 40: Uf,
9855
+ 50: Ff,
9856
+ 60: Wf,
9857
+ 70: Xf,
9858
+ 80: Yf,
9859
+ 90: Zf,
9860
+ 100: qf
9861
+ }, Kf = "#defbe6", Jf = "#a7f0ba", Qf = "#6fdc8c", tg = "#42be65", eg = "#24a148", ng = "#198038", sg = "#0e6027", ig = "#044317", ag = "#022d0d", rg = "#071908", og = {
9862
+ 10: Kf,
9863
+ 20: Jf,
9864
+ 30: Qf,
9865
+ 40: tg,
9866
+ 50: eg,
9867
+ 60: ng,
9868
+ 70: sg,
9869
+ 80: ig,
9870
+ 90: ag,
9871
+ 100: rg
9872
+ }, lg = "#f2f4f8", cg = "#dde1e6", ug = "#c1c7cd", hg = "#a2a9b0", dg = "#878d96", pg = "#697077", fg = "#4d5358", gg = "#343a3f", mg = "#21272a", vg = "#121619", yg = {
9873
+ 10: lg,
9874
+ 20: cg,
9875
+ 30: ug,
9876
+ 40: hg,
9877
+ 50: dg,
9878
+ 60: pg,
9879
+ 70: fg,
9880
+ 80: gg,
9881
+ 90: mg,
9882
+ 100: vg
9883
+ }, Eg = "#f4f4f4", xg = "#e0e0e0", Sg = "#c6c6c6", Tg = "#a8a8a8", bg = "#8d8d8d", Og = "#6f6f6f", Lg = "#525252", Ag = "#393939", Mg = "#262626", wg = "#161616", Cg = {
9884
+ 10: Eg,
9885
+ 20: xg,
9886
+ 30: Sg,
9887
+ 40: Tg,
9888
+ 50: bg,
9889
+ 60: Og,
9890
+ 70: Lg,
9891
+ 80: Ag,
9892
+ 90: Mg,
9893
+ 100: wg
9894
+ }, kg = "#f7f3f2", _g = "#e5e0df", Ig = "#cac5c4", Rg = "#ada8a8", Dg = "#8f8b8b", Ng = "#726e6e", Pg = "#565151", $g = "#3c3838", Vg = "#272525", Gg = "#171414", Hg = {
9895
+ 10: kg,
9896
+ 20: _g,
9897
+ 30: Ig,
9898
+ 40: Rg,
9899
+ 50: Dg,
9900
+ 60: Ng,
9901
+ 70: Pg,
9902
+ 80: $g,
9903
+ 90: Vg,
9904
+ 100: Gg
9924
9905
  }, Pr = {
9925
9906
  black: {
9926
- 100: dp
9907
+ 100: fp
9927
9908
  },
9928
- blue: Af,
9929
- coolGray: mg,
9930
- cyan: $f,
9931
- gray: Mg,
9932
- green: ag,
9933
- magenta: sf,
9934
- orange: Np,
9935
- purple: gf,
9936
- red: Xp,
9937
- teal: Zf,
9938
- warmGray: Vg,
9909
+ blue: wf,
9910
+ coolGray: yg,
9911
+ cyan: Gf,
9912
+ gray: Cg,
9913
+ green: og,
9914
+ magenta: rf,
9915
+ orange: $p,
9916
+ purple: vf,
9917
+ red: Zp,
9918
+ teal: jf,
9919
+ warmGray: Hg,
9939
9920
  white: {
9940
- 0: pp
9921
+ 0: gp
9941
9922
  },
9942
- yellow: Op
9923
+ yellow: Ap
9943
9924
  };
9944
- const Gg = (i) => {
9925
+ const Bg = (i) => {
9945
9926
  if (!i)
9946
9927
  return null;
9947
9928
  for (const t of Object.keys(Pr)) {
@@ -9954,14 +9935,14 @@ const Gg = (i) => {
9954
9935
  }, $r = function(i) {
9955
9936
  const t = D(this.parentNode).select("rect.leaf"), e = i.backgroundColor ?? getComputedStyle(t.node(), null).getPropertyValue("fill"), n = Xr(e);
9956
9937
  let s;
9957
- if (n && (s = Gg(n ? n.hex() : null)), s == null) {
9938
+ if (n && (s = Bg(n ? n.hex() : null)), s == null) {
9958
9939
  const a = yl(n).l;
9959
9940
  s = Math.abs(a * 100 - 100);
9960
9941
  }
9961
9942
  return s > 50 ? "white" : "black";
9962
9943
  };
9963
- let Hg = 0;
9964
- class Zm extends dt {
9944
+ let zg = 0;
9945
+ class jm extends dt {
9965
9946
  constructor() {
9966
9947
  super(...arguments), this.type = "treemap", this.renderType = at.SVG, this.handleLegendOnHover = (t) => {
9967
9948
  const { hoveredElement: e } = t.detail;
@@ -10001,7 +9982,7 @@ class Zm extends dt {
10001
9982
  c
10002
9983
  ), h = e.selectAll("g[data-name='leaf']").data(l.leaves(), (g) => g.data.name);
10003
9984
  h.exit().attr("opacity", 0).remove();
10004
- const u = h.enter().append("g").attr("data-name", "leaf").attr("data-uid", () => Hg++).merge(h);
9985
+ const u = h.enter().append("g").attr("data-name", "leaf").attr("data-uid", () => zg++).merge(h);
10005
9986
  u.attr("data-name", "leaf").transition().call(
10006
9987
  (g) => this.services.transitions.setupTransition({
10007
9988
  transition: g,
@@ -10139,10 +10120,10 @@ class Zm extends dt {
10139
10120
  });
10140
10121
  }
10141
10122
  }
10142
- function Bg(i) {
10123
+ function Ug(i) {
10143
10124
  return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
10144
10125
  }
10145
- function zg(i) {
10126
+ function Fg(i) {
10146
10127
  if (i.__esModule) return i;
10147
10128
  var t = i.default;
10148
10129
  if (typeof t == "function") {
@@ -10161,7 +10142,7 @@ function zg(i) {
10161
10142
  });
10162
10143
  }), e;
10163
10144
  }
10164
- var Ug = { value: function() {
10145
+ var Wg = { value: function() {
10165
10146
  } };
10166
10147
  function jo() {
10167
10148
  for (var i = 0, t = arguments.length, e = {}, n; i < t; ++i) {
@@ -10173,7 +10154,7 @@ function jo() {
10173
10154
  function us(i) {
10174
10155
  this._ = i;
10175
10156
  }
10176
- function Fg(i, t) {
10157
+ function Xg(i, t) {
10177
10158
  return i.trim().split(/^|\s+/).map(function(e) {
10178
10159
  var n = "", s = e.indexOf(".");
10179
10160
  if (s >= 0 && (n = e.slice(s + 1), e = e.slice(0, s)), e && !t.hasOwnProperty(e)) throw new Error("unknown type: " + e);
@@ -10183,9 +10164,9 @@ function Fg(i, t) {
10183
10164
  us.prototype = jo.prototype = {
10184
10165
  constructor: us,
10185
10166
  on: function(i, t) {
10186
- var e = this._, n = Fg(i + "", e), s, a = -1, r = n.length;
10167
+ var e = this._, n = Xg(i + "", e), s, a = -1, r = n.length;
10187
10168
  if (arguments.length < 2) {
10188
- for (; ++a < r; ) if ((s = (i = n[a]).type) && (s = Wg(e[s], i.name))) return s;
10169
+ for (; ++a < r; ) if ((s = (i = n[a]).type) && (s = Yg(e[s], i.name))) return s;
10189
10170
  return;
10190
10171
  }
10191
10172
  if (t != null && typeof t != "function") throw new Error("invalid callback: " + t);
@@ -10209,7 +10190,7 @@ us.prototype = jo.prototype = {
10209
10190
  for (var n = this._[i], s = 0, a = n.length; s < a; ++s) n[s].value.apply(t, e);
10210
10191
  }
10211
10192
  };
10212
- function Wg(i, t) {
10193
+ function Yg(i, t) {
10213
10194
  for (var e = 0, n = i.length, s; e < n; ++e)
10214
10195
  if ((s = i[e]).name === t)
10215
10196
  return s.value;
@@ -10217,46 +10198,46 @@ function Wg(i, t) {
10217
10198
  function Vr(i, t, e) {
10218
10199
  for (var n = 0, s = i.length; n < s; ++n)
10219
10200
  if (i[n].name === t) {
10220
- i[n] = Ug, i = i.slice(0, n).concat(i.slice(n + 1));
10201
+ i[n] = Wg, i = i.slice(0, n).concat(i.slice(n + 1));
10221
10202
  break;
10222
10203
  }
10223
10204
  return e != null && i.push({ name: t, value: e }), i;
10224
10205
  }
10225
- const Xg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10206
+ const Zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10226
10207
  __proto__: null,
10227
10208
  dispatch: jo
10228
- }, Symbol.toStringTag, { value: "Module" })), Yg = /* @__PURE__ */ zg(Xg);
10229
- var ui, Gr;
10230
- function Zg() {
10231
- if (Gr) return ui;
10209
+ }, Symbol.toStringTag, { value: "Module" })), qg = /* @__PURE__ */ Fg(Zg);
10210
+ var ci, Gr;
10211
+ function jg() {
10212
+ if (Gr) return ci;
10232
10213
  Gr = 1;
10233
- const i = Yg.dispatch, t = Math.PI / 180, e = {
10214
+ const i = qg.dispatch, t = Math.PI / 180, e = {
10234
10215
  archimedean: g,
10235
10216
  rectangular: m
10236
10217
  }, n = 64, s = 2048;
10237
- ui = function() {
10238
- var E = [256, 256], x = a, b = r, _ = c, C = o, G = o, R = l, A = h, H = g, N = [], M = 1 / 0, O = i("word", "end"), P = null, $ = Math.random, k = {}, V = S;
10239
- k.canvas = function(F) {
10240
- return arguments.length ? (V = v(F), k) : V;
10241
- }, k.start = function() {
10218
+ ci = function() {
10219
+ var E = [256, 256], x = a, b = r, _ = c, k = o, G = o, R = l, A = h, H = g, N = [], M = 1 / 0, O = i("word", "end"), P = null, $ = Math.random, C = {}, V = S;
10220
+ C.canvas = function(F) {
10221
+ return arguments.length ? (V = v(F), C) : V;
10222
+ }, C.start = function() {
10242
10223
  var F = q(V()), Z = y((E[0] >> 5) * E[1]), rt = null, j = N.length, Y = -1, K = [], ot = N.map(function(st, it) {
10243
- return st.text = x.call(this, st, it), st.font = b.call(this, st, it), st.style = C.call(this, st, it), st.weight = G.call(this, st, it), st.rotate = R.call(this, st, it), st.size = ~~_.call(this, st, it), st.padding = A.call(this, st, it), st;
10224
+ return st.text = x.call(this, st, it), st.font = b.call(this, st, it), st.style = k.call(this, st, it), st.weight = G.call(this, st, it), st.rotate = R.call(this, st, it), st.size = ~~_.call(this, st, it), st.padding = A.call(this, st, it), st;
10244
10225
  }).sort(function(st, it) {
10245
10226
  return it.size - st.size;
10246
10227
  });
10247
- return P && clearInterval(P), P = setInterval(ct, 0), ct(), k;
10228
+ return P && clearInterval(P), P = setInterval(ct, 0), ct(), C;
10248
10229
  function ct() {
10249
10230
  for (var st = Date.now(); Date.now() - st < M && ++Y < j && P; ) {
10250
10231
  var it = ot[Y];
10251
- it.x = E[0] * ($() + 0.5) >> 1, it.y = E[1] * ($() + 0.5) >> 1, d(F, it, ot, Y), it.hasText && W(Z, it, rt) && (K.push(it), O.call("word", k, it), rt ? p(rt, it) : rt = [{ x: it.x + it.x0, y: it.y + it.y0 }, { x: it.x + it.x1, y: it.y + it.y1 }], it.x -= E[0] >> 1, it.y -= E[1] >> 1);
10232
+ it.x = E[0] * ($() + 0.5) >> 1, it.y = E[1] * ($() + 0.5) >> 1, d(F, it, ot, Y), it.hasText && X(Z, it, rt) && (K.push(it), O.call("word", C, it), rt ? p(rt, it) : rt = [{ x: it.x + it.x0, y: it.y + it.y0 }, { x: it.x + it.x1, y: it.y + it.y1 }], it.x -= E[0] >> 1, it.y -= E[1] >> 1);
10252
10233
  }
10253
- Y >= j && (k.stop(), O.call("end", k, K, rt));
10234
+ Y >= j && (C.stop(), O.call("end", C, K, rt));
10254
10235
  }
10255
- }, k.stop = function() {
10236
+ }, C.stop = function() {
10256
10237
  P && (clearInterval(P), P = null);
10257
10238
  for (const F of N)
10258
10239
  delete F.sprite;
10259
- return k;
10240
+ return C;
10260
10241
  };
10261
10242
  function q(F) {
10262
10243
  const Z = F.getContext("2d", { willReadFrequently: !0 });
@@ -10264,11 +10245,11 @@ function Zg() {
10264
10245
  const rt = Math.sqrt(Z.getImageData(0, 0, 1, 1).data.length >> 2);
10265
10246
  return F.width = (n << 5) / rt, F.height = s / rt, Z.fillStyle = Z.strokeStyle = "red", { context: Z, ratio: rt };
10266
10247
  }
10267
- function W(F, Z, rt) {
10248
+ function X(F, Z, rt) {
10268
10249
  E[0], E[1];
10269
10250
  for (var j = Z.x, Y = Z.y, K = Math.sqrt(E[0] * E[0] + E[1] * E[1]), ot = H(E), ct = $() < 0.5 ? 1 : -1, st = -ct, it, B, z; (it = ot(st += ct)) && (B = ~~it[0], z = ~~it[1], !(Math.min(Math.abs(B), Math.abs(z)) >= K)); )
10270
10251
  if (Z.x = j + B, Z.y = Y + z, !(Z.x + Z.x0 < 0 || Z.y + Z.y0 < 0 || Z.x + Z.x1 > E[0] || Z.y + Z.y1 > E[1]) && (!rt || f(Z, rt)) && !u(Z, F, E[0])) {
10271
- for (var U = Z.sprite, Mt = Z.width >> 5, Se = E[0] >> 5, et = Z.x - (Mt << 4), yt = et & 127, Zt = 32 - yt, Ft = Z.y1 - Z.y0, rn = (Z.y + Z.y0) * Se + (et >> 5), on, Oe = 0; Oe < Ft; Oe++) {
10252
+ for (var U = Z.sprite, Mt = Z.width >> 5, Se = E[0] >> 5, et = Z.x - (Mt << 4), yt = et & 127, Zt = 32 - yt, Wt = Z.y1 - Z.y0, rn = (Z.y + Z.y0) * Se + (et >> 5), on, Oe = 0; Oe < Wt; Oe++) {
10272
10253
  on = 0;
10273
10254
  for (var ne = 0; ne <= Mt; ne++)
10274
10255
  F[rn + ne] |= on << Zt | (ne < Mt ? (on = U[Oe * Mt + ne]) >>> yt : 0);
@@ -10278,34 +10259,34 @@ function Zg() {
10278
10259
  }
10279
10260
  return !1;
10280
10261
  }
10281
- return k.timeInterval = function(F) {
10282
- return arguments.length ? (M = F ?? 1 / 0, k) : M;
10283
- }, k.words = function(F) {
10284
- return arguments.length ? (N = F, k) : N;
10285
- }, k.size = function(F) {
10286
- return arguments.length ? (E = [+F[0], +F[1]], k) : E;
10287
- }, k.font = function(F) {
10288
- return arguments.length ? (b = v(F), k) : b;
10289
- }, k.fontStyle = function(F) {
10290
- return arguments.length ? (C = v(F), k) : C;
10291
- }, k.fontWeight = function(F) {
10292
- return arguments.length ? (G = v(F), k) : G;
10293
- }, k.rotate = function(F) {
10294
- return arguments.length ? (R = v(F), k) : R;
10295
- }, k.text = function(F) {
10296
- return arguments.length ? (x = v(F), k) : x;
10297
- }, k.spiral = function(F) {
10298
- return arguments.length ? (H = e[F] || F, k) : H;
10299
- }, k.fontSize = function(F) {
10300
- return arguments.length ? (_ = v(F), k) : _;
10301
- }, k.padding = function(F) {
10302
- return arguments.length ? (A = v(F), k) : A;
10303
- }, k.random = function(F) {
10304
- return arguments.length ? ($ = F, k) : $;
10305
- }, k.on = function() {
10262
+ return C.timeInterval = function(F) {
10263
+ return arguments.length ? (M = F ?? 1 / 0, C) : M;
10264
+ }, C.words = function(F) {
10265
+ return arguments.length ? (N = F, C) : N;
10266
+ }, C.size = function(F) {
10267
+ return arguments.length ? (E = [+F[0], +F[1]], C) : E;
10268
+ }, C.font = function(F) {
10269
+ return arguments.length ? (b = v(F), C) : b;
10270
+ }, C.fontStyle = function(F) {
10271
+ return arguments.length ? (k = v(F), C) : k;
10272
+ }, C.fontWeight = function(F) {
10273
+ return arguments.length ? (G = v(F), C) : G;
10274
+ }, C.rotate = function(F) {
10275
+ return arguments.length ? (R = v(F), C) : R;
10276
+ }, C.text = function(F) {
10277
+ return arguments.length ? (x = v(F), C) : x;
10278
+ }, C.spiral = function(F) {
10279
+ return arguments.length ? (H = e[F] || F, C) : H;
10280
+ }, C.fontSize = function(F) {
10281
+ return arguments.length ? (_ = v(F), C) : _;
10282
+ }, C.padding = function(F) {
10283
+ return arguments.length ? (A = v(F), C) : A;
10284
+ }, C.random = function(F) {
10285
+ return arguments.length ? ($ = F, C) : $;
10286
+ }, C.on = function() {
10306
10287
  var F = O.on.apply(O, arguments);
10307
- return F === O ? k : F;
10308
- }, k;
10288
+ return F === O ? C : F;
10289
+ }, C;
10309
10290
  };
10310
10291
  function a(E) {
10311
10292
  return E.text;
@@ -10327,43 +10308,43 @@ function Zg() {
10327
10308
  }
10328
10309
  function d(E, x, b, _) {
10329
10310
  if (!x.sprite) {
10330
- var C = E.context, G = E.ratio;
10331
- C.clearRect(0, 0, (n << 5) / G, s / G);
10311
+ var k = E.context, G = E.ratio;
10312
+ k.clearRect(0, 0, (n << 5) / G, s / G);
10332
10313
  var R = 0, A = 0, H = 0, N = b.length;
10333
10314
  for (--_; ++_ < N; ) {
10334
- x = b[_], C.save(), C.font = x.style + " " + x.weight + " " + ~~((x.size + 1) / G) + "px " + x.font;
10335
- const it = C.measureText(x.text), B = -Math.floor(it.width / 2);
10315
+ x = b[_], k.save(), k.font = x.style + " " + x.weight + " " + ~~((x.size + 1) / G) + "px " + x.font;
10316
+ const it = k.measureText(x.text), B = -Math.floor(it.width / 2);
10336
10317
  let z = (it.width + 1) * G, U = x.size << 1;
10337
10318
  if (x.rotate) {
10338
- var M = Math.sin(x.rotate * t), O = Math.cos(x.rotate * t), P = z * O, $ = z * M, k = U * O, V = U * M;
10339
- z = Math.max(Math.abs(P + V), Math.abs(P - V)) + 31 >> 5 << 5, U = ~~Math.max(Math.abs($ + k), Math.abs($ - k));
10319
+ var M = Math.sin(x.rotate * t), O = Math.cos(x.rotate * t), P = z * O, $ = z * M, C = U * O, V = U * M;
10320
+ z = Math.max(Math.abs(P + V), Math.abs(P - V)) + 31 >> 5 << 5, U = ~~Math.max(Math.abs($ + C), Math.abs($ - C));
10340
10321
  } else
10341
10322
  z = z + 31 >> 5 << 5;
10342
10323
  if (U > H && (H = U), R + z >= n << 5 && (R = 0, A += H, H = 0), A + U >= s) break;
10343
- C.translate((R + (z >> 1)) / G, (A + (U >> 1)) / G), x.rotate && C.rotate(x.rotate * t), C.fillText(x.text, B, 0), x.padding && (C.lineWidth = 2 * x.padding, C.strokeText(x.text, B, 0)), C.restore(), x.width = z, x.height = U, x.xoff = R, x.yoff = A, x.x1 = z >> 1, x.y1 = U >> 1, x.x0 = -x.x1, x.y0 = -x.y1, x.hasText = !0, R += z;
10324
+ k.translate((R + (z >> 1)) / G, (A + (U >> 1)) / G), x.rotate && k.rotate(x.rotate * t), k.fillText(x.text, B, 0), x.padding && (k.lineWidth = 2 * x.padding, k.strokeText(x.text, B, 0)), k.restore(), x.width = z, x.height = U, x.xoff = R, x.yoff = A, x.x1 = z >> 1, x.y1 = U >> 1, x.x0 = -x.x1, x.y0 = -x.y1, x.hasText = !0, R += z;
10344
10325
  }
10345
- for (var q = C.getImageData(0, 0, (n << 5) / G, s / G).data, W = []; --_ >= 0; )
10326
+ for (var q = k.getImageData(0, 0, (n << 5) / G, s / G).data, X = []; --_ >= 0; )
10346
10327
  if (x = b[_], !!x.hasText) {
10347
- for (var F = x.width, Z = F >> 5, rt = x.y1 - x.y0, j = 0; j < rt * Z; j++) W[j] = 0;
10328
+ for (var F = x.width, Z = F >> 5, rt = x.y1 - x.y0, j = 0; j < rt * Z; j++) X[j] = 0;
10348
10329
  if (R = x.xoff, R == null) return;
10349
10330
  A = x.yoff;
10350
10331
  for (var Y = 0, K = -1, ot = 0; ot < rt; ot++) {
10351
10332
  for (var j = 0; j < F; j++) {
10352
10333
  var ct = Z * ot + (j >> 5), st = q[(A + ot) * (n << 5) + (R + j) << 2] ? 1 << 31 - j % 32 : 0;
10353
- W[ct] |= st, Y |= st;
10334
+ X[ct] |= st, Y |= st;
10354
10335
  }
10355
10336
  Y ? K = ot : (x.y0++, rt--, ot--, A++);
10356
10337
  }
10357
- x.y1 = x.y0 + K, x.sprite = W.slice(0, (x.y1 - x.y0) * Z);
10338
+ x.y1 = x.y0 + K, x.sprite = X.slice(0, (x.y1 - x.y0) * Z);
10358
10339
  }
10359
10340
  }
10360
10341
  }
10361
10342
  function u(E, x, b) {
10362
10343
  b >>= 5;
10363
- for (var _ = E.sprite, C = E.width >> 5, G = E.x - (C << 4), R = G & 127, A = 32 - R, H = E.y1 - E.y0, N = (E.y + E.y0) * b + (G >> 5), M, O = 0; O < H; O++) {
10344
+ for (var _ = E.sprite, k = E.width >> 5, G = E.x - (k << 4), R = G & 127, A = 32 - R, H = E.y1 - E.y0, N = (E.y + E.y0) * b + (G >> 5), M, O = 0; O < H; O++) {
10364
10345
  M = 0;
10365
- for (var P = 0; P <= C; P++)
10366
- if ((M << A | (P < C ? (M = _[O * C + P]) >>> R : 0)) & x[N + P]) return !0;
10346
+ for (var P = 0; P <= k; P++)
10347
+ if ((M << A | (P < k ? (M = _[O * k + P]) >>> R : 0)) & x[N + P]) return !0;
10367
10348
  N += b;
10368
10349
  }
10369
10350
  return !1;
@@ -10382,7 +10363,7 @@ function Zg() {
10382
10363
  };
10383
10364
  }
10384
10365
  function m(E) {
10385
- var x = 4, b = x * E[0] / E[1], _ = 0, C = 0;
10366
+ var x = 4, b = x * E[0] / E[1], _ = 0, k = 0;
10386
10367
  return function(G) {
10387
10368
  var R = G < 0 ? -1 : 1;
10388
10369
  switch (Math.sqrt(1 + 4 * R * G) - R & 3) {
@@ -10390,16 +10371,16 @@ function Zg() {
10390
10371
  _ += b;
10391
10372
  break;
10392
10373
  case 1:
10393
- C += x;
10374
+ k += x;
10394
10375
  break;
10395
10376
  case 2:
10396
10377
  _ -= b;
10397
10378
  break;
10398
10379
  default:
10399
- C -= x;
10380
+ k -= x;
10400
10381
  break;
10401
10382
  }
10402
- return [_, C];
10383
+ return [_, k];
10403
10384
  };
10404
10385
  }
10405
10386
  function y(E) {
@@ -10414,11 +10395,11 @@ function Zg() {
10414
10395
  return E;
10415
10396
  };
10416
10397
  }
10417
- return ui;
10398
+ return ci;
10418
10399
  }
10419
- var qg = Zg();
10420
- const jg = /* @__PURE__ */ Bg(qg);
10421
- class qm extends dt {
10400
+ var Kg = jg();
10401
+ const Jg = /* @__PURE__ */ Ug(Kg);
10402
+ class Km extends dt {
10422
10403
  constructor() {
10423
10404
  super(...arguments), this.type = "wordcloud", this.renderType = at.SVG, this.handleLegendOnHover = (t) => {
10424
10405
  const { hoveredElement: e } = t.detail, { groupMapsTo: n } = this.getOptions().data;
@@ -10449,7 +10430,7 @@ class qm extends dt {
10449
10430
  });
10450
10431
  if (h === 0 || d === 0)
10451
10432
  return;
10452
- const u = jg().size([h, d]).words(
10433
+ const u = Jg().size([h, d]).words(
10453
10434
  s.map(function(f) {
10454
10435
  const g = f[o];
10455
10436
  if (typeof f[o] != "number")
@@ -10489,11 +10470,11 @@ class qm extends dt {
10489
10470
  this.addEventListeners();
10490
10471
  }
10491
10472
  getFontSizeScale(t) {
10492
- const e = this.getOptions(), { fontSizeMapsTo: n } = e.wordCloud, s = t.map((c) => c[n]).filter((c) => c), a = I.getHTMLElementSize(this.services.domUtils.getMainContainer()), r = s.length > 0, o = r ? Ls(s) : [1, 1];
10473
+ const e = this.getOptions(), { fontSizeMapsTo: n } = e.wordCloud, s = t.map((c) => c[n]).filter((c) => c), a = I.getHTMLElementSize(this.services.domUtils.getMainContainer()), r = s.length > 0, o = r ? Os(s) : [1, 1];
10493
10474
  return Re().domain(o).range(r ? e.wordCloud.fontSizeRange(a, t) : [4, 4]);
10494
10475
  }
10495
10476
  addEventListeners() {
10496
- const t = this.getOptions(), { groupMapsTo: e } = t.data, n = this, s = fi((a) => {
10477
+ const t = this.getOptions(), { groupMapsTo: e } = t.data, n = this, s = pi((a) => {
10497
10478
  const r = n.parent.selectAll("text.word").transition("wordcloud-word-mouse-highlight").call(
10498
10479
  (o) => n.services.transitions.setupTransition({
10499
10480
  transition: o,
@@ -10558,7 +10539,7 @@ class qm extends dt {
10558
10539
  });
10559
10540
  }
10560
10541
  }
10561
- class Kg extends dt {
10542
+ class Qg extends dt {
10562
10543
  constructor() {
10563
10544
  super(...arguments), this.type = "geo", this.renderType = at.SVG;
10564
10545
  }
@@ -10572,7 +10553,7 @@ class Kg extends dt {
10572
10553
  Object.keys(r).forEach((y) => {
10573
10554
  typeof r[y].value == "number" ? o[y] = r[y] : c[y] = r[y];
10574
10555
  });
10575
- const l = lp(a, Object.values(c)), h = ap(a, {
10556
+ const l = up(a, Object.values(c)), h = op(a, {
10576
10557
  // We need to specify that we are converting geometry collections
10577
10558
  type: "GeometryCollection",
10578
10559
  geometries: Object.values(o)
@@ -10632,7 +10613,7 @@ class Kg extends dt {
10632
10613
  return t;
10633
10614
  }
10634
10615
  }
10635
- class jm extends Kg {
10616
+ class Jm extends Qg {
10636
10617
  constructor() {
10637
10618
  super(...arguments), this.type = "choropleth";
10638
10619
  }
@@ -10655,7 +10636,7 @@ class jm extends Kg {
10655
10636
  event: n,
10656
10637
  element: a,
10657
10638
  datum: e[s.properties.NAME]
10658
- }), t.services.events.dispatchEvent(zs.SHOW, {
10639
+ }), t.services.events.dispatchEvent(Bs.SHOW, {
10659
10640
  event: n,
10660
10641
  hoveredElement: a,
10661
10642
  items: [
@@ -10670,7 +10651,7 @@ class jm extends Kg {
10670
10651
  event: n,
10671
10652
  element: D(this),
10672
10653
  datum: e[s.properties.NAME]
10673
- }), t.services.events.dispatchEvent(zs.MOVE, {
10654
+ }), t.services.events.dispatchEvent(Bs.MOVE, {
10674
10655
  event: n
10675
10656
  });
10676
10657
  }).on("click", function(n, s) {
@@ -10685,7 +10666,7 @@ class jm extends Kg {
10685
10666
  event: n,
10686
10667
  element: a,
10687
10668
  datum: e[s.properties.NAME]
10688
- }), t.services.events.dispatchEvent(zs.HIDE, {
10669
+ }), t.services.events.dispatchEvent(Bs.HIDE, {
10689
10670
  event: n,
10690
10671
  hoveredElement: a
10691
10672
  });
@@ -10693,69 +10674,69 @@ class jm extends Kg {
10693
10674
  }
10694
10675
  }
10695
10676
  export {
10696
- Am as $,
10697
- um as A,
10698
- mm as B,
10699
- rm as C,
10700
- Dm as D,
10701
- $m as E,
10702
- xm as F,
10703
- dm as G,
10704
- cm as H,
10705
- Vm as I,
10706
- Um as J,
10707
- Gm as K,
10708
- _d as L,
10709
- am as M,
10710
- Im as N,
10711
- Hm as O,
10712
- hp as P,
10713
- Bm as Q,
10677
+ wm as $,
10678
+ dm as A,
10679
+ ym as B,
10680
+ lm as C,
10681
+ Pm as D,
10682
+ Gm as E,
10683
+ Tm as F,
10684
+ fm as G,
10685
+ hm as H,
10686
+ Hm as I,
10687
+ Wm as J,
10688
+ Bm as K,
10689
+ Rd as L,
10690
+ om as M,
10691
+ Dm as N,
10692
+ zm as O,
10693
+ pp as P,
10694
+ Um as Q,
10714
10695
  Zo as R,
10715
- im as S,
10716
- Cd as T,
10717
- Ym as U,
10718
- Zm as V,
10719
- qm as W,
10696
+ rm as S,
10697
+ Id as T,
10698
+ qm as U,
10699
+ jm as V,
10700
+ Km as W,
10720
10701
  qo as X,
10721
- tp as Y,
10722
- om as Z,
10723
- Lm as _,
10702
+ np as Y,
10703
+ cm as Z,
10704
+ Mm as _,
10724
10705
  Sr as a,
10725
- Om as a0,
10726
- bm as a1,
10727
- Tm as a2,
10728
- Mm as a3,
10729
- wm as a4,
10730
- km as a5,
10731
- Cm as a6,
10732
- Kg as a7,
10706
+ Am as a0,
10707
+ Lm as a1,
10708
+ Om as a2,
10709
+ Cm as a3,
10710
+ km as a4,
10711
+ _m as a5,
10712
+ Im as a6,
10713
+ Qg as a7,
10733
10714
  ta as a8,
10734
10715
  dt as a9,
10735
10716
  Tr as b,
10736
10717
  vc as c,
10737
- Rd as d,
10738
- Id as e,
10718
+ Nd as d,
10719
+ Dd as e,
10739
10720
  Lr as f,
10740
- lm as g,
10741
- hm as h,
10742
- gm as i,
10743
- fm as j,
10744
- pm as k,
10721
+ um as g,
10722
+ pm as h,
10723
+ vm as i,
10724
+ mm as j,
10725
+ gm as k,
10745
10726
  Ji as l,
10746
- ep as m,
10747
- vm as n,
10748
- ym as o,
10749
- Em as p,
10750
- _m as q,
10751
- jm as r,
10752
- Rm as s,
10753
- Fm as t,
10754
- Xm as u,
10755
- Sm as v,
10756
- zm as w,
10757
- Pm as x,
10758
- Wm as y,
10759
- Nm as z
10727
+ sp as m,
10728
+ Em as n,
10729
+ xm as o,
10730
+ Sm as p,
10731
+ Rm as q,
10732
+ Jm as r,
10733
+ Nm as s,
10734
+ Ym as t,
10735
+ bm as u,
10736
+ Vm as v,
10737
+ Fm as w,
10738
+ Xm as x,
10739
+ Zm as y,
10740
+ $m as z
10760
10741
  };
10761
- //# sourceMappingURL=choropleth-DveQIPGG.mjs.map
10742
+ //# sourceMappingURL=choropleth-Ds5Q8kNS.mjs.map