@carbon/charts 1.14.6 → 1.14.8

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.
Files changed (28) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/{_baseEach-OI3ptUEq.mjs → _baseEach-1m2Q78kz.mjs} +2 -2
  3. package/dist/{_baseEach-OI3ptUEq.mjs.map → _baseEach-1m2Q78kz.mjs.map} +1 -1
  4. package/dist/{angle-utils-0zbAbkd9.mjs → angle-utils-_Np6gcs-.mjs} +2 -2
  5. package/dist/{angle-utils-0zbAbkd9.mjs.map → angle-utils-_Np6gcs-.mjs.map} +1 -1
  6. package/dist/{choropleth-WzFMZXLV.mjs → choropleth-UL_Hkrzw.mjs} +1033 -1011
  7. package/dist/choropleth-UL_Hkrzw.mjs.map +1 -0
  8. package/dist/{color-scale-utils-XZIkoI99.mjs → color-scale-utils-C7DPeUvd.mjs} +70 -67
  9. package/dist/color-scale-utils-C7DPeUvd.mjs.map +1 -0
  10. package/dist/components/graphs/pie.d.ts +1 -0
  11. package/dist/components/index.mjs +1 -1
  12. package/dist/configuration-non-customizable.d.ts +3 -0
  13. package/dist/demo/index.mjs +4 -4
  14. package/dist/demo/styles.css +1 -0
  15. package/dist/demo/styles.css.map +1 -1
  16. package/dist/index.mjs +8 -8
  17. package/dist/model/index.mjs +1 -1
  18. package/dist/services/index.mjs +3 -3
  19. package/dist/umd/bundle.umd.js +14 -14
  20. package/dist/umd/bundle.umd.js.map +1 -1
  21. package/dist/{wordcloud-zimgwsA4.mjs → wordcloud-o2Nu_Soc.mjs} +3 -3
  22. package/dist/{wordcloud-zimgwsA4.mjs.map → wordcloud-o2Nu_Soc.mjs.map} +1 -1
  23. package/dist/{zoom-I8iYRlbb.mjs → zoom-DhO3eJ8-.mjs} +3 -3
  24. package/dist/{zoom-I8iYRlbb.mjs.map → zoom-DhO3eJ8-.mjs.map} +1 -1
  25. package/package.json +2 -2
  26. package/scss/demos.scss +1 -0
  27. package/dist/choropleth-WzFMZXLV.mjs.map +0 -1
  28. package/dist/color-scale-utils-XZIkoI99.mjs.map +0 -1
@@ -1,23 +1,23 @@
1
- import { L as Ys, h as Ba, o as qs, a4 as Ha, p as Ks, B as $a, a5 as Ua, a6 as za, a7 as Fa, m as v, n as we, x as dt, a0 as us, A as ne, s as de, a8 as Ot, K as Me, a2 as Wa, z as Js, t as ja, a9 as He, c as gn, b as mn, P as ke, aa as bt, ab as Ve, Q as Be, X as Ge, ac as Xa, J as ot, i as Za, Z as te, S as Ae, ad as ye, ae as Ya, a as qa, Y as pe, U as ft, C as Mt, af as Qt, v as Ka, ag as ps, _ as Fe } from "./color-scale-utils-XZIkoI99.mjs";
2
- import { select as x, pointer as Ft, brushX as Qs, scaleTime as Ja, extent as Wt, area as Nn, line as Pn, axisBottom as Vn, axisLeft as ea, axisTop as Qa, axisRight as ei, scaleLinear as Ze, arc as xt, easeLinear as ti, path as Gn, interpolateNumber as ta, quantize as ni, scaleBand as Bn, hierarchy as Hn, pack as si, pie as ai, interpolate as ii, interpolateRound as ri, min as fn, max as gs, lineRadial as oi, curveLinearClosed as li, cluster as ci, tree as di, linkHorizontal as hi, treemap as ui, hsl as na, color as sa, geoPath as pi, geoNaturalEarth1 as gi, geoMercator as mi, geoEquirectangular as fi, geoConicEquidistant as vi, geoConicEqualArea as yi, geoAlbers as Ei, geoEqualEarth as bi } from "d3";
3
- import { t as en, D as S, c as vn, G as ms, a as Si, p as oe, r as fs, b as Oi } from "./angle-utils-0zbAbkd9.mjs";
4
- import { y as W, _ as f, K as ie, r as $e, q as tt, L as xi, A as Ce, m as F, s as We, V as lt, S as ue, e as G, Z as nt, i as xe, f as vs, J as tn, d as Ti, F as wt, n as nn, H as sn, C as an, p as Ct, b as ys, D as rn, Q as Li, x as je, $ as _t, N as on } from "./enums-lWSDG4ik.mjs";
5
- import { sankey as Ai, sankeyLinkHorizontal as Mi, sankeyJustify as wi, sankeyLeft as Ci, sankeyRight as _i } from "d3-sankey";
1
+ import { L as Ys, a4 as Ba, h as Ha, o as qs, a5 as $a, p as Ks, B as Ua, a6 as Fa, a7 as za, a8 as Wa, m as v, n as Me, x as dt, a0 as us, A as ne, s as de, a9 as Ot, K as we, a2 as ja, z as Js, t as Xa, aa as He, c as gn, b as mn, P as Re, ab as bt, ac as Ve, Q as Be, X as Ge, ad as Za, J as ot, i as Ya, Z as te, S as Ae, ae as ye, af as qa, a as Ka, Y as pe, U as ft, C as wt, ag as en, v as Ja, ah as ps, _ as ze } from "./color-scale-utils-C7DPeUvd.mjs";
2
+ import { select as x, pointer as Wt, brushX as Qs, scaleTime as Qa, extent as jt, area as Nn, line as Pn, axisBottom as Vn, axisLeft as ea, axisTop as ei, axisRight as ti, scaleLinear as Ze, arc as xt, easeLinear as ni, path as Gn, interpolateNumber as ta, quantize as si, scaleBand as Bn, hierarchy as Hn, pack as ai, pie as ii, interpolate as ri, interpolateRound as oi, min as fn, max as gs, lineRadial as li, curveLinearClosed as ci, cluster as di, tree as hi, linkHorizontal as ui, treemap as pi, hsl as na, color as sa, geoPath as gi, geoNaturalEarth1 as mi, geoMercator as fi, geoEquirectangular as vi, geoConicEquidistant as yi, geoConicEqualArea as Ei, geoAlbers as bi, geoEqualEarth as Si } from "d3";
3
+ import { t as Nt, D as S, c as vn, G as ms, a as Oi, p as oe, r as fs, b as xi } from "./angle-utils-_Np6gcs-.mjs";
4
+ import { y as j, _ as f, K as ie, r as $e, q as tt, L as Ti, A as Ce, m as z, s as We, V as lt, S as ue, e as G, Z as nt, i as xe, f as vs, J as tn, d as Li, F as Mt, n as nn, H as sn, C as an, p as Ct, b as ys, D as rn, Q as Ai, x as je, $ as _t, N as on } from "./enums-lWSDG4ik.mjs";
5
+ import { sankey as wi, sankeyLinkHorizontal as Mi, sankeyJustify as Ci, sankeyLeft as _i, sankeyRight as Ii } from "d3-sankey";
6
6
  import { R as X } from "./a11y-SOU26cr5.mjs";
7
- import { b as aa } from "./_baseEach-OI3ptUEq.mjs";
8
- import Ii from "d3-cloud";
7
+ import { b as aa } from "./_baseEach-1m2Q78kz.mjs";
8
+ import Ri from "d3-cloud";
9
9
  function ki(o, e, t, n) {
10
10
  var s = -1, a = o == null ? 0 : o.length;
11
11
  for (n && a && (t = o[++s]); ++s < a; )
12
12
  t = e(t, o[s], s, o);
13
13
  return t;
14
14
  }
15
- function Ri(o) {
15
+ function Di(o) {
16
16
  return function(e) {
17
17
  return o == null ? void 0 : o[e];
18
18
  };
19
19
  }
20
- var Di = {
20
+ var Ni = {
21
21
  // Latin-1 Supplement block.
22
22
  À: "A",
23
23
  Á: "A",
@@ -210,82 +210,94 @@ var Di = {
210
210
  œ: "oe",
211
211
  ʼn: "'n",
212
212
  ſ: "s"
213
- }, Ni = Ri(Di);
214
- const Pi = Ni;
215
- var Vi = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Gi = "\\u0300-\\u036f", Bi = "\\ufe20-\\ufe2f", Hi = "\\u20d0-\\u20ff", $i = Gi + Bi + Hi, Ui = "[" + $i + "]", zi = RegExp(Ui, "g");
216
- function Fi(o) {
217
- return o = Ys(o), o && o.replace(Vi, Pi).replace(zi, "");
213
+ }, Pi = Di(Ni);
214
+ const Vi = Pi;
215
+ var Gi = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Bi = "\\u0300-\\u036f", Hi = "\\ufe20-\\ufe2f", $i = "\\u20d0-\\u20ff", Ui = Bi + Hi + $i, Fi = "[" + Ui + "]", zi = RegExp(Fi, "g");
216
+ function Wi(o) {
217
+ return o = Ys(o), o && o.replace(Gi, Vi).replace(zi, "");
218
218
  }
219
- var Wi = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
220
- function ji(o) {
221
- return o.match(Wi) || [];
219
+ var ji = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
220
+ function Xi(o) {
221
+ return o.match(ji) || [];
222
222
  }
223
- var Xi = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
224
- function Zi(o) {
225
- return Xi.test(o);
223
+ var Zi = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
224
+ function Yi(o) {
225
+ return Zi.test(o);
226
226
  }
227
- var ia = "\\ud800-\\udfff", Yi = "\\u0300-\\u036f", qi = "\\ufe20-\\ufe2f", Ki = "\\u20d0-\\u20ff", Ji = Yi + qi + Ki, ra = "\\u2700-\\u27bf", oa = "a-z\\xdf-\\xf6\\xf8-\\xff", Qi = "\\xac\\xb1\\xd7\\xf7", er = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", tr = "\\u2000-\\u206f", nr = " \\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", la = "A-Z\\xc0-\\xd6\\xd8-\\xde", sr = "\\ufe0e\\ufe0f", ca = Qi + er + tr + nr, da = "['’]", Es = "[" + ca + "]", ar = "[" + Ji + "]", ha = "\\d+", ir = "[" + ra + "]", ua = "[" + oa + "]", pa = "[^" + ia + ca + ha + ra + oa + la + "]", rr = "\\ud83c[\\udffb-\\udfff]", or = "(?:" + ar + "|" + rr + ")", lr = "[^" + ia + "]", ga = "(?:\\ud83c[\\udde6-\\uddff]){2}", ma = "[\\ud800-\\udbff][\\udc00-\\udfff]", rt = "[" + la + "]", cr = "\\u200d", bs = "(?:" + ua + "|" + pa + ")", dr = "(?:" + rt + "|" + pa + ")", Ss = "(?:" + da + "(?:d|ll|m|re|s|t|ve))?", Os = "(?:" + da + "(?:D|LL|M|RE|S|T|VE))?", fa = or + "?", va = "[" + sr + "]?", hr = "(?:" + cr + "(?:" + [lr, ga, ma].join("|") + ")" + va + fa + ")*", ur = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", pr = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", gr = va + fa + hr, mr = "(?:" + [ir, ga, ma].join("|") + ")" + gr, fr = RegExp([
227
+ var ia = "\\ud800-\\udfff", qi = "\\u0300-\\u036f", Ki = "\\ufe20-\\ufe2f", Ji = "\\u20d0-\\u20ff", Qi = qi + Ki + Ji, ra = "\\u2700-\\u27bf", oa = "a-z\\xdf-\\xf6\\xf8-\\xff", er = "\\xac\\xb1\\xd7\\xf7", tr = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", nr = "\\u2000-\\u206f", sr = " \\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", la = "A-Z\\xc0-\\xd6\\xd8-\\xde", ar = "\\ufe0e\\ufe0f", ca = er + tr + nr + sr, da = "['’]", Es = "[" + ca + "]", ir = "[" + Qi + "]", ha = "\\d+", rr = "[" + ra + "]", ua = "[" + oa + "]", pa = "[^" + ia + ca + ha + ra + oa + la + "]", or = "\\ud83c[\\udffb-\\udfff]", lr = "(?:" + ir + "|" + or + ")", cr = "[^" + ia + "]", ga = "(?:\\ud83c[\\udde6-\\uddff]){2}", ma = "[\\ud800-\\udbff][\\udc00-\\udfff]", rt = "[" + la + "]", dr = "\\u200d", bs = "(?:" + ua + "|" + pa + ")", hr = "(?:" + rt + "|" + pa + ")", Ss = "(?:" + da + "(?:d|ll|m|re|s|t|ve))?", Os = "(?:" + da + "(?:D|LL|M|RE|S|T|VE))?", fa = lr + "?", va = "[" + ar + "]?", ur = "(?:" + dr + "(?:" + [cr, ga, ma].join("|") + ")" + va + fa + ")*", pr = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", gr = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", mr = va + fa + ur, fr = "(?:" + [rr, ga, ma].join("|") + ")" + mr, vr = RegExp([
228
228
  rt + "?" + ua + "+" + Ss + "(?=" + [Es, rt, "$"].join("|") + ")",
229
- dr + "+" + Os + "(?=" + [Es, rt + bs, "$"].join("|") + ")",
229
+ hr + "+" + Os + "(?=" + [Es, rt + bs, "$"].join("|") + ")",
230
230
  rt + "?" + bs + "+" + Ss,
231
231
  rt + "+" + Os,
232
+ gr,
232
233
  pr,
233
- ur,
234
234
  ha,
235
- mr
235
+ fr
236
236
  ].join("|"), "g");
237
- function vr(o) {
238
- return o.match(fr) || [];
237
+ function yr(o) {
238
+ return o.match(vr) || [];
239
239
  }
240
- function yr(o, e, t) {
241
- return o = Ys(o), e = t ? void 0 : e, e === void 0 ? Zi(o) ? vr(o) : ji(o) : o.match(e) || [];
240
+ function Er(o, e, t) {
241
+ return o = Ys(o), e = t ? void 0 : e, e === void 0 ? Yi(o) ? yr(o) : Xi(o) : o.match(e) || [];
242
242
  }
243
- var Er = "['’]", br = RegExp(Er, "g");
244
- function Sr(o) {
243
+ var br = "['’]", Sr = RegExp(br, "g");
244
+ function Or(o) {
245
245
  return function(e) {
246
- return ki(yr(Fi(e).replace(br, "")), o, "");
246
+ return ki(Er(Wi(e).replace(Sr, "")), o, "");
247
247
  };
248
248
  }
249
- function Or(o, e, t) {
249
+ function xr(o, e, t) {
250
250
  return o === o && (t !== void 0 && (o = o <= t ? o : t), e !== void 0 && (o = o >= e ? o : e)), o;
251
251
  }
252
252
  function ya(o, e, t) {
253
- return t === void 0 && (t = e, e = void 0), t !== void 0 && (t = en(t), t = t === t ? t : 0), e !== void 0 && (e = en(e), e = e === e ? e : 0), Or(en(o), e, t);
254
- }
255
- function xr(o, e) {
256
- var t = -1, n = Ba(o) ? Array(o.length) : [];
253
+ return t === void 0 && (t = e, e = void 0), t !== void 0 && (t = Nt(t), t = t === t ? t : 0), e !== void 0 && (e = Nt(e), e = e === e ? e : 0), xr(Nt(o), e, t);
254
+ }
255
+ var Tr = "Expected a function";
256
+ function Lr(o, e, t) {
257
+ if (typeof o != "function")
258
+ throw new TypeError(Tr);
259
+ return setTimeout(function() {
260
+ o.apply(void 0, t);
261
+ }, e);
262
+ }
263
+ var Ar = Ba(function(o, e, t) {
264
+ return Lr(o, Nt(e) || 0, t);
265
+ });
266
+ const wr = Ar;
267
+ function Mr(o, e) {
268
+ var t = -1, n = Ha(o) ? Array(o.length) : [];
257
269
  return aa(o, function(s, a, i) {
258
270
  n[++t] = e(s, a, i);
259
271
  }), n;
260
272
  }
261
- function Tr(o, e) {
262
- var t = qs(o) ? Ha : xr;
273
+ function Cr(o, e) {
274
+ var t = qs(o) ? $a : Mr;
263
275
  return t(o, Ks(e));
264
276
  }
265
- var Lr = 1 / 0;
266
- function Ar(o, e) {
267
- return $a(Tr(o, e), Lr);
277
+ var _r = 1 / 0;
278
+ function Ir(o, e) {
279
+ return Ua(Cr(o, e), _r);
268
280
  }
269
281
  function Ea(o, e) {
270
- return Ua(o, e);
282
+ return Fa(o, e);
271
283
  }
272
- var Mr = Sr(function(o, e, t) {
284
+ var Rr = Or(function(o, e, t) {
273
285
  return o + (t ? "-" : "") + e.toLowerCase();
274
286
  });
275
- const st = Mr;
276
- function wr(o, e) {
287
+ const st = Rr;
288
+ function kr(o, e) {
277
289
  var t;
278
290
  return aa(o, function(n, s, a) {
279
291
  return t = e(n, s, a), !t;
280
292
  }), !!t;
281
293
  }
282
- function Cr(o, e, t) {
283
- var n = qs(o) ? za : wr;
284
- return t && Fa(o, e, t) && (e = void 0), n(o, Ks(e));
294
+ function Dr(o, e, t) {
295
+ var n = qs(o) ? za : kr;
296
+ return t && Wa(o, e, t) && (e = void 0), n(o, Ks(e));
285
297
  }
286
298
  class q {
287
299
  constructor(e, t, n) {
288
- if (this.type = "", this.renderType = W.HTML, this.id = "", this.parent = void 0, this.configs = {}, this.model = e, this.services = t, n && (this.configs = n, this.configs.id)) {
300
+ if (this.type = "", this.renderType = j.HTML, this.id = "", this.parent = void 0, this.configs = {}, this.model = e, this.services = t, n && (this.configs = n, this.configs.id)) {
289
301
  const s = v(this.model.getOptions(), "style", "prefix");
290
302
  this.id = `${s}--${this.configs.id}`;
291
303
  }
@@ -318,7 +330,7 @@ class q {
318
330
  const t = this.parent;
319
331
  if (this.parent = e, !(t && t.node() === e.node()) && this.type) {
320
332
  const s = v(this.model.getOptions(), "style", "prefix");
321
- (n = this.parent) == null || n.classed(`${we}--${s}--${this.type}`, !0), t && t.classed(`${we}--${s}--${this.type}`, !1);
333
+ (n = this.parent) == null || n.classed(`${Me}--${s}--${this.type}`, !0), t && t.classed(`${Me}--${s}--${this.type}`, !1);
322
334
  }
323
335
  }
324
336
  getParent() {
@@ -328,7 +340,7 @@ class q {
328
340
  if (this.type) {
329
341
  const t = v(this.model.getOptions(), "style", "prefix"), n = this.id ? `#${this.id}` : "", s = S.appendOrSelect(
330
342
  this.parent,
331
- `${this.renderType === W.SVG ? "svg" : "div"}${n}.${we}--${t}--${this.type}`
343
+ `${this.renderType === j.SVG ? "svg" : "div"}${n}.${Me}--${t}--${this.type}`
332
344
  );
333
345
  if (e.withinChartClip) {
334
346
  const a = this.model.get("chartClipId");
@@ -354,13 +366,13 @@ class q {
354
366
  const {
355
367
  entries: ba,
356
368
  setPrototypeOf: xs,
357
- isFrozen: _r,
358
- getPrototypeOf: Ir,
369
+ isFrozen: Nr,
370
+ getPrototypeOf: Pr,
359
371
  getOwnPropertyDescriptor: $n
360
372
  } = Object;
361
373
  let {
362
374
  freeze: Ee,
363
- seal: Re,
375
+ seal: ke,
364
376
  create: Sa
365
377
  } = Object, {
366
378
  apply: yn,
@@ -369,7 +381,7 @@ let {
369
381
  Ee || (Ee = function(e) {
370
382
  return e;
371
383
  });
372
- Re || (Re = function(e) {
384
+ ke || (ke = function(e) {
373
385
  return e;
374
386
  });
375
387
  yn || (yn = function(e, t, n) {
@@ -378,7 +390,7 @@ yn || (yn = function(e, t, n) {
378
390
  En || (En = function(e, t) {
379
391
  return new e(...t);
380
392
  });
381
- const It = _e(Array.prototype.forEach), Ts = _e(Array.prototype.pop), vt = _e(Array.prototype.push), Nt = _e(String.prototype.toLowerCase), ln = _e(String.prototype.toString), kr = _e(String.prototype.match), yt = _e(String.prototype.replace), Rr = _e(String.prototype.indexOf), Dr = _e(String.prototype.trim), Oe = _e(RegExp.prototype.test), Et = Nr(TypeError);
393
+ const It = _e(Array.prototype.forEach), Ts = _e(Array.prototype.pop), vt = _e(Array.prototype.push), Pt = _e(String.prototype.toLowerCase), ln = _e(String.prototype.toString), Vr = _e(String.prototype.match), yt = _e(String.prototype.replace), Gr = _e(String.prototype.indexOf), Br = _e(String.prototype.trim), Oe = _e(RegExp.prototype.test), Et = Hr(TypeError);
382
394
  function _e(o) {
383
395
  return function(e) {
384
396
  for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), s = 1; s < t; s++)
@@ -386,7 +398,7 @@ function _e(o) {
386
398
  return yn(o, e, n);
387
399
  };
388
400
  }
389
- function Nr(o) {
401
+ function Hr(o) {
390
402
  return function() {
391
403
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
392
404
  t[n] = arguments[n];
@@ -394,20 +406,20 @@ function Nr(o) {
394
406
  };
395
407
  }
396
408
  function Y(o, e) {
397
- let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Nt;
409
+ let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Pt;
398
410
  xs && xs(o, null);
399
411
  let n = e.length;
400
412
  for (; n--; ) {
401
413
  let s = e[n];
402
414
  if (typeof s == "string") {
403
415
  const a = t(s);
404
- a !== s && (_r(e) || (e[n] = a), s = a);
416
+ a !== s && (Nr(e) || (e[n] = a), s = a);
405
417
  }
406
418
  o[s] = !0;
407
419
  }
408
420
  return o;
409
421
  }
410
- function Pr(o) {
422
+ function $r(o) {
411
423
  for (let e = 0; e < o.length; e++)
412
424
  $n(o, e) === void 0 && (o[e] = null);
413
425
  return o;
@@ -415,10 +427,10 @@ function Pr(o) {
415
427
  function Xe(o) {
416
428
  const e = Sa(null);
417
429
  for (const [t, n] of ba(o))
418
- $n(o, t) !== void 0 && (Array.isArray(n) ? e[t] = Pr(n) : n && typeof n == "object" && n.constructor === Object ? e[t] = Xe(n) : e[t] = n);
430
+ $n(o, t) !== void 0 && (Array.isArray(n) ? e[t] = $r(n) : n && typeof n == "object" && n.constructor === Object ? e[t] = Xe(n) : e[t] = n);
419
431
  return e;
420
432
  }
421
- function kt(o, e) {
433
+ function Rt(o, e) {
422
434
  for (; o !== null; ) {
423
435
  const n = $n(o, e);
424
436
  if (n) {
@@ -427,35 +439,35 @@ function kt(o, e) {
427
439
  if (typeof n.value == "function")
428
440
  return _e(n.value);
429
441
  }
430
- o = Ir(o);
442
+ o = Pr(o);
431
443
  }
432
444
  function t(n) {
433
445
  return console.warn("fallback value for", n), null;
434
446
  }
435
447
  return t;
436
448
  }
437
- const Ls = Ee(["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"]), cn = Ee(["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"]), dn = Ee(["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"]), Vr = Ee(["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"]), hn = Ee(["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"]), Gr = Ee(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), As = Ee(["#text"]), Ms = Ee(["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", "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", "xmlns", "slot"]), un = Ee(["accent-height", "accumulate", "additive", "alignment-baseline", "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", "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", "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", "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", "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"]), ws = Ee(["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"]), Rt = Ee(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Br = Re(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Hr = Re(/<%[\w\W]*|[\w\W]*%>/gm), $r = Re(/\${[\w\W]*}/gm), Ur = Re(/^data-[\-\w.\u00B7-\uFFFF]/), zr = Re(/^aria-[\-\w]+$/), Oa = Re(
449
+ const Ls = Ee(["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"]), cn = Ee(["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"]), dn = Ee(["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"]), Ur = Ee(["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"]), hn = Ee(["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"]), Fr = Ee(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), As = Ee(["#text"]), ws = Ee(["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", "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", "xmlns", "slot"]), un = Ee(["accent-height", "accumulate", "additive", "alignment-baseline", "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", "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", "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", "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", "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"]), Ms = Ee(["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"]), kt = Ee(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), zr = ke(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Wr = ke(/<%[\w\W]*|[\w\W]*%>/gm), jr = ke(/\${[\w\W]*}/gm), Xr = ke(/^data-[\-\w.\u00B7-\uFFFF]/), Zr = ke(/^aria-[\-\w]+$/), Oa = ke(
438
450
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
439
451
  // eslint-disable-line no-useless-escape
440
- ), Fr = Re(/^(?:\w+script|data):/i), Wr = Re(
452
+ ), Yr = ke(/^(?:\w+script|data):/i), qr = ke(
441
453
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
442
454
  // eslint-disable-line no-control-regex
443
- ), xa = Re(/^html$/i);
455
+ ), xa = ke(/^html$/i);
444
456
  var Cs = /* @__PURE__ */ Object.freeze({
445
457
  __proto__: null,
446
- MUSTACHE_EXPR: Br,
447
- ERB_EXPR: Hr,
448
- TMPLIT_EXPR: $r,
449
- DATA_ATTR: Ur,
450
- ARIA_ATTR: zr,
458
+ MUSTACHE_EXPR: zr,
459
+ ERB_EXPR: Wr,
460
+ TMPLIT_EXPR: jr,
461
+ DATA_ATTR: Xr,
462
+ ARIA_ATTR: Zr,
451
463
  IS_ALLOWED_URI: Oa,
452
- IS_SCRIPT_OR_DATA: Fr,
453
- ATTR_WHITESPACE: Wr,
464
+ IS_SCRIPT_OR_DATA: Yr,
465
+ ATTR_WHITESPACE: qr,
454
466
  DOCTYPE_NAME: xa
455
467
  });
456
- const jr = function() {
468
+ const Kr = function() {
457
469
  return typeof window > "u" ? null : window;
458
- }, Xr = function(e, t) {
470
+ }, Jr = function(e, t) {
459
471
  if (typeof e != "object" || typeof e.createPolicy != "function")
460
472
  return null;
461
473
  let n = null;
@@ -476,7 +488,7 @@ const jr = function() {
476
488
  }
477
489
  };
478
490
  function Ta() {
479
- let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : jr();
491
+ let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Kr();
480
492
  const e = ($) => Ta($);
481
493
  if (e.version = "3.0.8", e.removed = [], !o || !o.document || o.document.nodeType !== 9)
482
494
  return e.isSupported = !1, e;
@@ -493,27 +505,27 @@ function Ta() {
493
505
  HTMLFormElement: p,
494
506
  DOMParser: h,
495
507
  trustedTypes: u
496
- } = o, g = l.prototype, m = kt(g, "cloneNode"), E = kt(g, "nextSibling"), O = kt(g, "childNodes"), T = kt(g, "parentNode");
508
+ } = o, g = l.prototype, m = Rt(g, "cloneNode"), E = Rt(g, "nextSibling"), O = Rt(g, "childNodes"), T = Rt(g, "parentNode");
497
509
  if (typeof i == "function") {
498
510
  const $ = t.createElement("template");
499
511
  $.content && $.content.ownerDocument && (t = $.content.ownerDocument);
500
512
  }
501
513
  let y, A = "";
502
514
  const {
503
- implementation: M,
515
+ implementation: w,
504
516
  createNodeIterator: L,
505
517
  createDocumentFragment: I,
506
518
  getElementsByTagName: N
507
519
  } = t, {
508
- importNode: j
520
+ importNode: W
509
521
  } = n;
510
- let D = {};
511
- e.isSupported = typeof ba == "function" && typeof T == "function" && M && M.createHTMLDocument !== void 0;
522
+ let R = {};
523
+ e.isSupported = typeof ba == "function" && typeof T == "function" && w && w.createHTMLDocument !== void 0;
512
524
  const {
513
525
  MUSTACHE_EXPR: C,
514
526
  ERB_EXPR: V,
515
- TMPLIT_EXPR: z,
516
- DATA_ATTR: w,
527
+ TMPLIT_EXPR: F,
528
+ DATA_ATTR: M,
517
529
  ARIA_ATTR: Q,
518
530
  IS_SCRIPT_OR_DATA: me,
519
531
  ATTR_WHITESPACE: K
@@ -523,7 +535,7 @@ function Ta() {
523
535
  } = Cs, Z = null;
524
536
  const ut = Y({}, [...Ls, ...cn, ...dn, ...hn, ...As]);
525
537
  let le = null;
526
- const Ye = Y({}, [...Ms, ...un, ...ws, ...Rt]);
538
+ const Ye = Y({}, [...ws, ...un, ...Ms, ...kt]);
527
539
  let se = Object.seal(Sa(null, {
528
540
  tagNameCheck: {
529
541
  writable: !0,
@@ -543,26 +555,26 @@ function Ta() {
543
555
  enumerable: !0,
544
556
  value: !1
545
557
  }
546
- })), Ie = null, qe = null, U = !0, J = !0, ae = !1, re = !0, ce = !1, Te = !1, _ = !1, R = !1, P = !1, Le = !1, Tt = !1, jn = !0, Xn = !1;
558
+ })), Ie = null, qe = null, U = !0, J = !0, ae = !1, re = !0, ce = !1, Te = !1, _ = !1, D = !1, P = !1, Le = !1, Tt = !1, jn = !0, Xn = !1;
547
559
  const _a = "user-content-";
548
- let Xt = !0, pt = !1, Ke = {}, Je = null;
560
+ let Zt = !0, pt = !1, Ke = {}, Je = null;
549
561
  const Zn = Y({}, ["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"]);
550
562
  let Yn = null;
551
563
  const qn = Y({}, ["audio", "video", "img", "source", "image", "track"]);
552
- let Zt = null;
564
+ let Yt = null;
553
565
  const Kn = Y({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Lt = "http://www.w3.org/1998/Math/MathML", At = "http://www.w3.org/2000/svg", Ne = "http://www.w3.org/1999/xhtml";
554
- let Qe = Ne, Yt = !1, qt = null;
566
+ let Qe = Ne, qt = !1, Kt = null;
555
567
  const Ia = Y({}, [Lt, At, Ne], ln);
556
568
  let gt = null;
557
- const ka = ["application/xhtml+xml", "text/html"], Ra = "text/html";
569
+ const Ra = ["application/xhtml+xml", "text/html"], ka = "text/html";
558
570
  let he = null, et = null;
559
571
  const Da = t.createElement("form"), Jn = function(b) {
560
572
  return b instanceof RegExp || b instanceof Function;
561
- }, Kt = function() {
573
+ }, Jt = function() {
562
574
  let b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
563
575
  if (!(et && et === b)) {
564
576
  if ((!b || typeof b != "object") && (b = {}), b = Xe(b), gt = // eslint-disable-next-line unicorn/prefer-includes
565
- ka.indexOf(b.PARSER_MEDIA_TYPE) === -1 ? Ra : b.PARSER_MEDIA_TYPE, he = gt === "application/xhtml+xml" ? ln : Nt, Z = "ALLOWED_TAGS" in b ? Y({}, b.ALLOWED_TAGS, he) : ut, le = "ALLOWED_ATTR" in b ? Y({}, b.ALLOWED_ATTR, he) : Ye, qt = "ALLOWED_NAMESPACES" in b ? Y({}, b.ALLOWED_NAMESPACES, ln) : Ia, Zt = "ADD_URI_SAFE_ATTR" in b ? Y(
577
+ Ra.indexOf(b.PARSER_MEDIA_TYPE) === -1 ? ka : b.PARSER_MEDIA_TYPE, he = gt === "application/xhtml+xml" ? ln : Pt, Z = "ALLOWED_TAGS" in b ? Y({}, b.ALLOWED_TAGS, he) : ut, le = "ALLOWED_ATTR" in b ? Y({}, b.ALLOWED_ATTR, he) : Ye, Kt = "ALLOWED_NAMESPACES" in b ? Y({}, b.ALLOWED_NAMESPACES, ln) : Ia, Yt = "ADD_URI_SAFE_ATTR" in b ? Y(
566
578
  Xe(Kn),
567
579
  // eslint-disable-line indent
568
580
  b.ADD_URI_SAFE_ATTR,
@@ -576,24 +588,24 @@ function Ta() {
576
588
  // eslint-disable-line indent
577
589
  he
578
590
  // eslint-disable-line indent
579
- ) : qn, Je = "FORBID_CONTENTS" in b ? Y({}, b.FORBID_CONTENTS, he) : Zn, Ie = "FORBID_TAGS" in b ? Y({}, b.FORBID_TAGS, he) : {}, qe = "FORBID_ATTR" in b ? Y({}, b.FORBID_ATTR, he) : {}, Ke = "USE_PROFILES" in b ? b.USE_PROFILES : !1, U = b.ALLOW_ARIA_ATTR !== !1, J = b.ALLOW_DATA_ATTR !== !1, ae = b.ALLOW_UNKNOWN_PROTOCOLS || !1, re = b.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ce = b.SAFE_FOR_TEMPLATES || !1, Te = b.WHOLE_DOCUMENT || !1, P = b.RETURN_DOM || !1, Le = b.RETURN_DOM_FRAGMENT || !1, Tt = b.RETURN_TRUSTED_TYPE || !1, R = b.FORCE_BODY || !1, jn = b.SANITIZE_DOM !== !1, Xn = b.SANITIZE_NAMED_PROPS || !1, Xt = b.KEEP_CONTENT !== !1, pt = b.IN_PLACE || !1, H = b.ALLOWED_URI_REGEXP || Oa, Qe = b.NAMESPACE || Ne, se = b.CUSTOM_ELEMENT_HANDLING || {}, b.CUSTOM_ELEMENT_HANDLING && Jn(b.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (se.tagNameCheck = b.CUSTOM_ELEMENT_HANDLING.tagNameCheck), b.CUSTOM_ELEMENT_HANDLING && Jn(b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (se.attributeNameCheck = b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), b.CUSTOM_ELEMENT_HANDLING && typeof b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (se.allowCustomizedBuiltInElements = b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ce && (J = !1), Le && (P = !0), Ke && (Z = Y({}, As), le = [], Ke.html === !0 && (Y(Z, Ls), Y(le, Ms)), Ke.svg === !0 && (Y(Z, cn), Y(le, un), Y(le, Rt)), Ke.svgFilters === !0 && (Y(Z, dn), Y(le, un), Y(le, Rt)), Ke.mathMl === !0 && (Y(Z, hn), Y(le, ws), Y(le, Rt))), b.ADD_TAGS && (Z === ut && (Z = Xe(Z)), Y(Z, b.ADD_TAGS, he)), b.ADD_ATTR && (le === Ye && (le = Xe(le)), Y(le, b.ADD_ATTR, he)), b.ADD_URI_SAFE_ATTR && Y(Zt, b.ADD_URI_SAFE_ATTR, he), b.FORBID_CONTENTS && (Je === Zn && (Je = Xe(Je)), Y(Je, b.FORBID_CONTENTS, he)), Xt && (Z["#text"] = !0), Te && Y(Z, ["html", "head", "body"]), Z.table && (Y(Z, ["tbody"]), delete Ie.tbody), b.TRUSTED_TYPES_POLICY) {
591
+ ) : qn, Je = "FORBID_CONTENTS" in b ? Y({}, b.FORBID_CONTENTS, he) : Zn, Ie = "FORBID_TAGS" in b ? Y({}, b.FORBID_TAGS, he) : {}, qe = "FORBID_ATTR" in b ? Y({}, b.FORBID_ATTR, he) : {}, Ke = "USE_PROFILES" in b ? b.USE_PROFILES : !1, U = b.ALLOW_ARIA_ATTR !== !1, J = b.ALLOW_DATA_ATTR !== !1, ae = b.ALLOW_UNKNOWN_PROTOCOLS || !1, re = b.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ce = b.SAFE_FOR_TEMPLATES || !1, Te = b.WHOLE_DOCUMENT || !1, P = b.RETURN_DOM || !1, Le = b.RETURN_DOM_FRAGMENT || !1, Tt = b.RETURN_TRUSTED_TYPE || !1, D = b.FORCE_BODY || !1, jn = b.SANITIZE_DOM !== !1, Xn = b.SANITIZE_NAMED_PROPS || !1, Zt = b.KEEP_CONTENT !== !1, pt = b.IN_PLACE || !1, H = b.ALLOWED_URI_REGEXP || Oa, Qe = b.NAMESPACE || Ne, se = b.CUSTOM_ELEMENT_HANDLING || {}, b.CUSTOM_ELEMENT_HANDLING && Jn(b.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (se.tagNameCheck = b.CUSTOM_ELEMENT_HANDLING.tagNameCheck), b.CUSTOM_ELEMENT_HANDLING && Jn(b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (se.attributeNameCheck = b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), b.CUSTOM_ELEMENT_HANDLING && typeof b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (se.allowCustomizedBuiltInElements = b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ce && (J = !1), Le && (P = !0), Ke && (Z = Y({}, As), le = [], Ke.html === !0 && (Y(Z, Ls), Y(le, ws)), Ke.svg === !0 && (Y(Z, cn), Y(le, un), Y(le, kt)), Ke.svgFilters === !0 && (Y(Z, dn), Y(le, un), Y(le, kt)), Ke.mathMl === !0 && (Y(Z, hn), Y(le, Ms), Y(le, kt))), b.ADD_TAGS && (Z === ut && (Z = Xe(Z)), Y(Z, b.ADD_TAGS, he)), b.ADD_ATTR && (le === Ye && (le = Xe(le)), Y(le, b.ADD_ATTR, he)), b.ADD_URI_SAFE_ATTR && Y(Yt, b.ADD_URI_SAFE_ATTR, he), b.FORBID_CONTENTS && (Je === Zn && (Je = Xe(Je)), Y(Je, b.FORBID_CONTENTS, he)), Zt && (Z["#text"] = !0), Te && Y(Z, ["html", "head", "body"]), Z.table && (Y(Z, ["tbody"]), delete Ie.tbody), b.TRUSTED_TYPES_POLICY) {
580
592
  if (typeof b.TRUSTED_TYPES_POLICY.createHTML != "function")
581
593
  throw Et('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
582
594
  if (typeof b.TRUSTED_TYPES_POLICY.createScriptURL != "function")
583
595
  throw Et('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
584
596
  y = b.TRUSTED_TYPES_POLICY, A = y.createHTML("");
585
597
  } else
586
- y === void 0 && (y = Xr(u, s)), y !== null && typeof A == "string" && (A = y.createHTML(""));
598
+ y === void 0 && (y = Jr(u, s)), y !== null && typeof A == "string" && (A = y.createHTML(""));
587
599
  Ee && Ee(b), et = b;
588
600
  }
589
- }, Qn = Y({}, ["mi", "mo", "mn", "ms", "mtext"]), es = Y({}, ["foreignobject", "desc", "title", "annotation-xml"]), Na = Y({}, ["title", "style", "font", "a", "script"]), ts = Y({}, [...cn, ...dn, ...Vr]), ns = Y({}, [...hn, ...Gr]), Pa = function(b) {
601
+ }, Qn = Y({}, ["mi", "mo", "mn", "ms", "mtext"]), es = Y({}, ["foreignobject", "desc", "title", "annotation-xml"]), Na = Y({}, ["title", "style", "font", "a", "script"]), ts = Y({}, [...cn, ...dn, ...Ur]), ns = Y({}, [...hn, ...Fr]), Pa = function(b) {
590
602
  let k = T(b);
591
603
  (!k || !k.tagName) && (k = {
592
604
  namespaceURI: Qe,
593
605
  tagName: "template"
594
606
  });
595
- const B = Nt(b.tagName), ee = Nt(k.tagName);
596
- return qt[b.namespaceURI] ? b.namespaceURI === At ? k.namespaceURI === Ne ? B === "svg" : k.namespaceURI === Lt ? B === "svg" && (ee === "annotation-xml" || Qn[ee]) : !!ts[B] : b.namespaceURI === Lt ? k.namespaceURI === Ne ? B === "math" : k.namespaceURI === At ? B === "math" && es[ee] : !!ns[B] : b.namespaceURI === Ne ? k.namespaceURI === At && !es[ee] || k.namespaceURI === Lt && !Qn[ee] ? !1 : !ns[B] && (Na[B] || !ts[B]) : !!(gt === "application/xhtml+xml" && qt[b.namespaceURI]) : !1;
607
+ const B = Pt(b.tagName), ee = Pt(k.tagName);
608
+ return Kt[b.namespaceURI] ? b.namespaceURI === At ? k.namespaceURI === Ne ? B === "svg" : k.namespaceURI === Lt ? B === "svg" && (ee === "annotation-xml" || Qn[ee]) : !!ts[B] : b.namespaceURI === Lt ? k.namespaceURI === Ne ? B === "math" : k.namespaceURI === At ? B === "math" && es[ee] : !!ns[B] : b.namespaceURI === Ne ? k.namespaceURI === At && !es[ee] || k.namespaceURI === Lt && !Qn[ee] ? !1 : !ns[B] && (Na[B] || !ts[B]) : !!(gt === "application/xhtml+xml" && Kt[b.namespaceURI]) : !1;
597
609
  }, Ue = function(b) {
598
610
  vt(e.removed, {
599
611
  element: b
@@ -603,7 +615,7 @@ function Ta() {
603
615
  } catch {
604
616
  b.remove();
605
617
  }
606
- }, Jt = function(b, k) {
618
+ }, Qt = function(b, k) {
607
619
  try {
608
620
  vt(e.removed, {
609
621
  attribute: k.getAttributeNode(b),
@@ -628,10 +640,10 @@ function Ta() {
628
640
  }
629
641
  }, ss = function(b) {
630
642
  let k = null, B = null;
631
- if (R)
643
+ if (D)
632
644
  b = "<remove></remove>" + b;
633
645
  else {
634
- const ve = kr(b, /^[\r\n\t ]+/);
646
+ const ve = Vr(b, /^[\r\n\t ]+/);
635
647
  B = ve && ve[0];
636
648
  }
637
649
  gt === "application/xhtml+xml" && Qe === Ne && (b = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + b + "</body></html>");
@@ -642,9 +654,9 @@ function Ta() {
642
654
  } catch {
643
655
  }
644
656
  if (!k || !k.documentElement) {
645
- k = M.createDocument(Qe, "template", null);
657
+ k = w.createDocument(Qe, "template", null);
646
658
  try {
647
- k.documentElement.innerHTML = Yt ? A : ee;
659
+ k.documentElement.innerHTML = qt ? A : ee;
648
660
  } catch {
649
661
  }
650
662
  }
@@ -663,7 +675,7 @@ function Ta() {
663
675
  }, is = function(b) {
664
676
  return typeof r == "function" && b instanceof r;
665
677
  }, Pe = function(b, k, B) {
666
- D[b] && It(D[b], (ee) => {
678
+ R[b] && It(R[b], (ee) => {
667
679
  ee.call(e, k, B, et);
668
680
  });
669
681
  }, rs = function(b) {
@@ -679,7 +691,7 @@ function Ta() {
679
691
  if (!Z[B] || Ie[B]) {
680
692
  if (!Ie[B] && ls(B) && (se.tagNameCheck instanceof RegExp && Oe(se.tagNameCheck, B) || se.tagNameCheck instanceof Function && se.tagNameCheck(B)))
681
693
  return !1;
682
- if (Xt && !Je[B]) {
694
+ if (Zt && !Je[B]) {
683
695
  const ee = T(b) || b.parentNode, fe = O(b) || b.childNodes;
684
696
  if (fe && ee) {
685
697
  const ve = fe.length;
@@ -689,7 +701,7 @@ function Ta() {
689
701
  }
690
702
  return Ue(b), !0;
691
703
  }
692
- return b instanceof l && !Pa(b) || (B === "noscript" || B === "noembed" || B === "noframes") && Oe(/<\/no(script|embed|frames)/i, b.innerHTML) ? (Ue(b), !0) : (ce && b.nodeType === 3 && (k = b.textContent, It([C, V, z], (ee) => {
704
+ return b instanceof l && !Pa(b) || (B === "noscript" || B === "noembed" || B === "noframes") && Oe(/<\/no(script|embed|frames)/i, b.innerHTML) ? (Ue(b), !0) : (ce && b.nodeType === 3 && (k = b.textContent, It([C, V, F], (ee) => {
693
705
  k = yt(k, ee, " ");
694
706
  }), b.textContent !== k && (vt(e.removed, {
695
707
  element: b.cloneNode()
@@ -697,7 +709,7 @@ function Ta() {
697
709
  }, os = function(b, k, B) {
698
710
  if (jn && (k === "id" || k === "name") && (B in t || B in Da))
699
711
  return !1;
700
- if (!(J && !qe[k] && Oe(w, k))) {
712
+ if (!(J && !qe[k] && Oe(M, k))) {
701
713
  if (!(U && Oe(Q, k))) {
702
714
  if (!le[k] || qe[k]) {
703
715
  if (
@@ -709,9 +721,9 @@ function Ta() {
709
721
  k === "is" && se.allowCustomizedBuiltInElements && (se.tagNameCheck instanceof RegExp && Oe(se.tagNameCheck, B) || se.tagNameCheck instanceof Function && se.tagNameCheck(B)))
710
722
  )
711
723
  return !1;
712
- } else if (!Zt[k]) {
724
+ } else if (!Yt[k]) {
713
725
  if (!Oe(H, yt(B, K, ""))) {
714
- if (!((k === "src" || k === "xlink:href" || k === "href") && b !== "script" && Rr(B, "data:") === 0 && Yn[b])) {
726
+ if (!((k === "src" || k === "xlink:href" || k === "href") && b !== "script" && Gr(B, "data:") === 0 && Yn[b])) {
715
727
  if (!(ae && !Oe(me, yt(B, K, "")))) {
716
728
  if (B)
717
729
  return !1;
@@ -742,21 +754,21 @@ function Ta() {
742
754
  const fe = k[ee], {
743
755
  name: ve,
744
756
  namespaceURI: be,
745
- value: ze
757
+ value: Fe
746
758
  } = fe, mt = he(ve);
747
- let Se = ve === "value" ? ze : Dr(ze);
748
- if (B.attrName = mt, B.attrValue = Se, B.keepAttr = !0, B.forceKeepAttr = void 0, Pe("uponSanitizeAttribute", b, B), Se = B.attrValue, B.forceKeepAttr || (Jt(ve, b), !B.keepAttr))
759
+ let Se = ve === "value" ? Fe : Br(Fe);
760
+ if (B.attrName = mt, B.attrValue = Se, B.keepAttr = !0, B.forceKeepAttr = void 0, Pe("uponSanitizeAttribute", b, B), Se = B.attrValue, B.forceKeepAttr || (Qt(ve, b), !B.keepAttr))
749
761
  continue;
750
762
  if (!re && Oe(/\/>/i, Se)) {
751
- Jt(ve, b);
763
+ Qt(ve, b);
752
764
  continue;
753
765
  }
754
- ce && It([C, V, z], (hs) => {
766
+ ce && It([C, V, F], (hs) => {
755
767
  Se = yt(Se, hs, " ");
756
768
  });
757
769
  const ds = he(b.nodeName);
758
770
  if (os(ds, mt, Se)) {
759
- if (Xn && (mt === "id" || mt === "name") && (Jt(ve, b), Se = _a + Se), y && typeof u == "object" && typeof u.getAttributeType == "function" && !be)
771
+ if (Xn && (mt === "id" || mt === "name") && (Qt(ve, b), Se = _a + Se), y && typeof u == "object" && typeof u.getAttributeType == "function" && !be)
760
772
  switch (u.getAttributeType(ds, mt)) {
761
773
  case "TrustedHTML": {
762
774
  Se = y.createHTML(Se);
@@ -783,7 +795,7 @@ function Ta() {
783
795
  };
784
796
  return e.sanitize = function($) {
785
797
  let b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, k = null, B = null, ee = null, fe = null;
786
- if (Yt = !$, Yt && ($ = "<!-->"), typeof $ != "string" && !is($))
798
+ if (qt = !$, qt && ($ = "<!-->"), typeof $ != "string" && !is($))
787
799
  if (typeof $.toString == "function") {
788
800
  if ($ = $.toString(), typeof $ != "string")
789
801
  throw Et("dirty is not a string, aborting");
@@ -791,10 +803,10 @@ function Ta() {
791
803
  throw Et("toString is not a function");
792
804
  if (!e.isSupported)
793
805
  return $;
794
- if (_ || Kt(b), e.removed = [], typeof $ == "string" && (pt = !1), pt) {
806
+ if (_ || Jt(b), e.removed = [], typeof $ == "string" && (pt = !1), pt) {
795
807
  if ($.nodeName) {
796
- const ze = he($.nodeName);
797
- if (!Z[ze] || Ie[ze])
808
+ const Fe = he($.nodeName);
809
+ if (!Z[Fe] || Ie[Fe])
798
810
  throw Et("root node is forbidden and cannot be sanitized in-place");
799
811
  }
800
812
  } else if ($ instanceof r)
@@ -806,7 +818,7 @@ function Ta() {
806
818
  if (k = ss($), !k)
807
819
  return P ? null : Tt ? A : "";
808
820
  }
809
- k && R && Ue(k.firstChild);
821
+ k && D && Ue(k.firstChild);
810
822
  const ve = as(pt ? $ : k);
811
823
  for (; ee = ve.nextNode(); )
812
824
  rs(ee) || (ee.content instanceof a && Ga(ee.content), cs(ee));
@@ -818,31 +830,31 @@ function Ta() {
818
830
  fe.appendChild(k.firstChild);
819
831
  else
820
832
  fe = k;
821
- return (le.shadowroot || le.shadowrootmode) && (fe = j.call(n, fe, !0)), fe;
833
+ return (le.shadowroot || le.shadowrootmode) && (fe = W.call(n, fe, !0)), fe;
822
834
  }
823
835
  let be = Te ? k.outerHTML : k.innerHTML;
824
836
  return Te && Z["!doctype"] && k.ownerDocument && k.ownerDocument.doctype && k.ownerDocument.doctype.name && Oe(xa, k.ownerDocument.doctype.name) && (be = "<!DOCTYPE " + k.ownerDocument.doctype.name + `>
825
- ` + be), ce && It([C, V, z], (ze) => {
826
- be = yt(be, ze, " ");
837
+ ` + be), ce && It([C, V, F], (Fe) => {
838
+ be = yt(be, Fe, " ");
827
839
  }), y && Tt ? y.createHTML(be) : be;
828
840
  }, e.setConfig = function() {
829
841
  let $ = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
830
- Kt($), _ = !0;
842
+ Jt($), _ = !0;
831
843
  }, e.clearConfig = function() {
832
844
  et = null, _ = !1;
833
845
  }, e.isValidAttribute = function($, b, k) {
834
- et || Kt({});
846
+ et || Jt({});
835
847
  const B = he($), ee = he(b);
836
848
  return os(B, ee, k);
837
849
  }, e.addHook = function($, b) {
838
- typeof b == "function" && (D[$] = D[$] || [], vt(D[$], b));
850
+ typeof b == "function" && (R[$] = R[$] || [], vt(R[$], b));
839
851
  }, e.removeHook = function($) {
840
- if (D[$])
841
- return Ts(D[$]);
852
+ if (R[$])
853
+ return Ts(R[$]);
842
854
  }, e.removeHooks = function($) {
843
- D[$] && (D[$] = []);
855
+ R[$] && (R[$] = []);
844
856
  }, e.removeAllHooks = function() {
845
- D = {};
857
+ R = {};
846
858
  }, e;
847
859
  }
848
860
  var Un = Ta();
@@ -852,16 +864,16 @@ const Dt = (o) => Un.sanitize(o, {
852
864
  svg: !0,
853
865
  svgFilters: !0
854
866
  }
855
- }), Zr = (o) => Un.sanitize(o, {
867
+ }), Qr = (o) => Un.sanitize(o, {
856
868
  NAMESPACE: "http://www.w3.org/2000/svg",
857
869
  USE_PROFILES: {
858
870
  html: !0,
859
871
  svg: !0,
860
872
  svgFilters: !0
861
873
  }
862
- }), De = (o) => Un.sanitize(o, { ALLOWED_TAGS: [] }), Ut = class Ut extends q {
874
+ }), De = (o) => Un.sanitize(o, { ALLOWED_TAGS: [] }), Ft = class Ft extends q {
863
875
  constructor() {
864
- super(...arguments), this.type = "toolbar", this.renderType = W.HTML;
876
+ super(...arguments), this.type = "toolbar", this.renderType = j.HTML;
865
877
  }
866
878
  init() {
867
879
  const e = () => this.updateOverflowMenu(!1);
@@ -895,7 +907,7 @@ const Dt = (o) => Un.sanitize(o, {
895
907
  `control-${De(c.id)}`
896
908
  )}" aria-label="${De(c.title)}">
897
909
  <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">
898
- ${Zr(c.iconSVG.content)}
910
+ ${Qr(c.iconSVG.content)}
899
911
  </svg>
900
912
  </button>`).each(function(c, d) {
901
913
  x(this).select("svg").style("will-change", "transform").style("width", c.iconSVG.width !== void 0 ? c.iconSVG.width : "20px").style("height", c.iconSVG.height !== void 0 ? c.iconSVG.height : "20px"), x(this).select("button").on("click", (p) => {
@@ -1024,7 +1036,7 @@ const Dt = (o) => Un.sanitize(o, {
1024
1036
  return t.forEach((i) => {
1025
1037
  let r = null;
1026
1038
  if (i.type === ie.CUSTOM)
1027
- v(i, "id") === null && (i.id = `toolbar-button-${Ut.buttonID++}`), v(i, "shouldBeDisabled") === null && (i.shouldBeDisabled = () => !1), r = i;
1039
+ v(i, "id") === null && (i.id = `toolbar-button-${Ft.buttonID++}`), v(i, "shouldBeDisabled") === null && (i.shouldBeDisabled = () => !1), r = i;
1028
1040
  else {
1029
1041
  const l = this.services.domUtils.isFullScreenMode();
1030
1042
  i.type === ie.MAKE_FULLSCREEN && l ? i.type = ie.EXIT_FULLSCREEN : i.type === ie.EXIT_FULLSCREEN && !l && (i.type = ie.MAKE_FULLSCREEN), r = this.getControlConfigByType(i.type);
@@ -1207,8 +1219,8 @@ const Dt = (o) => Un.sanitize(o, {
1207
1219
  }
1208
1220
  }
1209
1221
  };
1210
- Ut.buttonID = 0;
1211
- let _s = Ut;
1222
+ Ft.buttonID = 0;
1223
+ let _s = Ft;
1212
1224
  const zt = class zt extends q {
1213
1225
  constructor(e, t, n, s) {
1214
1226
  super(e, t, s), this.type = "layout", this.configs = s, this.children = n, this._instanceID = zt.instanceID++, this.init();
@@ -1235,24 +1247,24 @@ const zt = class zt extends q {
1235
1247
  }
1236
1248
  render(e = !0) {
1237
1249
  const t = this.parent, { width: n, height: s } = S.getHTMLElementSize(t.node()), a = this.configs.direction === tt.ROW || this.configs.direction === tt.ROW_REVERSE, i = v(this.model.getOptions(), "style", "prefix"), r = t.classed(
1238
- `${we}--${i}--layout-row`,
1250
+ `${Me}--${i}--layout-row`,
1239
1251
  this.configs.direction === tt.ROW
1240
1252
  ).classed(
1241
- `${we}--${i}--layout-row-reverse`,
1253
+ `${Me}--${i}--layout-row-reverse`,
1242
1254
  this.configs.direction === tt.ROW_REVERSE
1243
1255
  ).classed(
1244
- `${we}--${i}--layout-column`,
1256
+ `${Me}--${i}--layout-column`,
1245
1257
  this.configs.direction === tt.COLUMN
1246
1258
  ).classed(
1247
- `${we}--${i}--layout-column-reverse`,
1259
+ `${Me}--${i}--layout-column-reverse`,
1248
1260
  this.configs.direction === tt.COLUMN_REVERSE
1249
1261
  ).classed(
1250
- `${we}--${i}--layout-alignitems-center`,
1251
- this.configs.alignItems === xi.CENTER
1262
+ `${Me}--${i}--layout-alignitems-center`,
1263
+ this.configs.alignItems === Ti.CENTER
1252
1264
  ).selectAll(`div.layout-child-${this._instanceID}`).data(this.children, (d) => d.id);
1253
1265
  r.enter().append("div").merge(t.selectAll(`div.layout-child-${this._instanceID}`)).attr("class", (d) => `layout-child layout-child-${this._instanceID} ${d.id}`).each(function(d) {
1254
1266
  d.components.forEach((p) => {
1255
- const h = x(this), g = v(d, "renderType") === W.SVG;
1267
+ const h = x(this), g = v(d, "renderType") === j.SVG;
1256
1268
  p.setParent(
1257
1269
  g ? S.appendOrSelect(h, "svg.layout-svg-wrapper").attr("width", "100%").attr("height", "100%") : h
1258
1270
  );
@@ -1260,7 +1272,7 @@ const zt = class zt extends q {
1260
1272
  (m === $e.PREFERRED || m === $e.FIXED) && p.render(e);
1261
1273
  });
1262
1274
  }), t.selectAll(`div.layout-child-${this._instanceID}`).style("height", null).style("width", null).each(function(d) {
1263
- const p = v(d, "growth"), u = v(d, "renderType") === W.SVG ? S.getSVGElementSize(x(this).select("svg.layout-svg-wrapper"), {
1275
+ const p = v(d, "growth"), u = v(d, "renderType") === j.SVG ? S.getSVGElementSize(x(this).select("svg.layout-svg-wrapper"), {
1264
1276
  useBBox: !0
1265
1277
  }) : S.getHTMLElementSize(this);
1266
1278
  if (p === $e.PREFERRED) {
@@ -1297,7 +1309,7 @@ const zt = class zt extends q {
1297
1309
  };
1298
1310
  zt.instanceID = Math.floor(Math.random() * 99999999999);
1299
1311
  let Is = zt;
1300
- class dh extends q {
1312
+ class mh extends q {
1301
1313
  constructor() {
1302
1314
  super(...arguments), this.type = "spacer";
1303
1315
  }
@@ -1308,7 +1320,7 @@ class dh extends q {
1308
1320
  this.getComponentContainer().style("width", `${this.configs.size || us.default.size}px`).style("height", `${this.configs.size || us.default.size}px`).attr("opacity", 0);
1309
1321
  }
1310
1322
  }
1311
- var Yr = {
1323
+ var eo = {
1312
1324
  prefix: "bx",
1313
1325
  selectorTabbable: `
1314
1326
  a[href], area[href], input:not([disabled]):not([tabindex='-1']),
@@ -1322,30 +1334,30 @@ var Yr = {
1322
1334
  textarea:not([disabled]),
1323
1335
  iframe, object, embed, *[tabindex], *[contenteditable=true]
1324
1336
  `
1325
- }, pn = Yr;
1326
- function ks(o, e) {
1337
+ }, pn = eo;
1338
+ function Rs(o, e) {
1327
1339
  for (var t = 0; t < e.length; t++) {
1328
1340
  var n = e[t];
1329
1341
  n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(o, n.key, n);
1330
1342
  }
1331
1343
  }
1332
- function qr(o, e, t) {
1333
- return e && ks(o.prototype, e), t && ks(o, t), Object.defineProperty(o, "prototype", {
1344
+ function to(o, e, t) {
1345
+ return e && Rs(o.prototype, e), t && Rs(o, t), Object.defineProperty(o, "prototype", {
1334
1346
  writable: !1
1335
1347
  }), o;
1336
1348
  }
1337
- function Kr(o, e) {
1349
+ function no(o, e) {
1338
1350
  if (!(o instanceof e))
1339
1351
  throw new TypeError("Cannot call a class as a function");
1340
1352
  }
1341
- function Jr(o) {
1342
- return no(o) || to(o) || eo(o) || Qr();
1353
+ function so(o) {
1354
+ return oo(o) || ro(o) || io(o) || ao();
1343
1355
  }
1344
- function Qr() {
1356
+ function ao() {
1345
1357
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
1346
1358
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1347
1359
  }
1348
- function eo(o, e) {
1360
+ function io(o, e) {
1349
1361
  if (o) {
1350
1362
  if (typeof o == "string")
1351
1363
  return bn(o, e);
@@ -1356,11 +1368,11 @@ function eo(o, e) {
1356
1368
  return bn(o, e);
1357
1369
  }
1358
1370
  }
1359
- function to(o) {
1371
+ function ro(o) {
1360
1372
  if (typeof Symbol < "u" && o[Symbol.iterator] != null || o["@@iterator"] != null)
1361
1373
  return Array.from(o);
1362
1374
  }
1363
- function no(o) {
1375
+ function oo(o) {
1364
1376
  if (Array.isArray(o))
1365
1377
  return bn(o);
1366
1378
  }
@@ -1372,19 +1384,19 @@ function bn(o, e) {
1372
1384
  }
1373
1385
  function La(o) {
1374
1386
  return o.reduce(function(e, t) {
1375
- return Array.isArray(t) ? e.push.apply(e, Jr(La(t))) : e.push(t), e;
1387
+ return Array.isArray(t) ? e.push.apply(e, so(La(t))) : e.push(t), e;
1376
1388
  }, []);
1377
1389
  }
1378
- function so() {
1390
+ function lo() {
1379
1391
  for (var o = arguments.length, e = new Array(o), t = 0; t < o; t++)
1380
1392
  e[t] = arguments[t];
1381
1393
  return La(e).reduce(function(n, s) {
1382
1394
  return s(n);
1383
1395
  }, /* @__PURE__ */ function() {
1384
1396
  function n() {
1385
- Kr(this, n);
1397
+ no(this, n);
1386
1398
  }
1387
- return qr(n);
1399
+ return to(n);
1388
1400
  }());
1389
1401
  }
1390
1402
  function Sn(o) {
@@ -1395,22 +1407,22 @@ function Sn(o) {
1395
1407
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1396
1408
  }, Sn(o);
1397
1409
  }
1398
- function ao(o, e) {
1410
+ function co(o, e) {
1399
1411
  if (!(o instanceof e))
1400
1412
  throw new TypeError("Cannot call a class as a function");
1401
1413
  }
1402
- function Rs(o, e) {
1414
+ function ks(o, e) {
1403
1415
  for (var t = 0; t < e.length; t++) {
1404
1416
  var n = e[t];
1405
1417
  n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(o, n.key, n);
1406
1418
  }
1407
1419
  }
1408
- function io(o, e, t) {
1409
- return e && Rs(o.prototype, e), t && Rs(o, t), Object.defineProperty(o, "prototype", {
1420
+ function ho(o, e, t) {
1421
+ return e && ks(o.prototype, e), t && ks(o, t), Object.defineProperty(o, "prototype", {
1410
1422
  writable: !1
1411
1423
  }), o;
1412
1424
  }
1413
- function ro(o, e) {
1425
+ function uo(o, e) {
1414
1426
  if (typeof e != "function" && e !== null)
1415
1427
  throw new TypeError("Super expression must either be null or a function");
1416
1428
  o.prototype = Object.create(e && e.prototype, {
@@ -1428,19 +1440,19 @@ function On(o, e) {
1428
1440
  return n.__proto__ = s, n;
1429
1441
  }, On(o, e);
1430
1442
  }
1431
- function oo(o) {
1432
- var e = co();
1443
+ function po(o) {
1444
+ var e = mo();
1433
1445
  return function() {
1434
- var n = Vt(o), s;
1446
+ var n = Gt(o), s;
1435
1447
  if (e) {
1436
- var a = Vt(this).constructor;
1448
+ var a = Gt(this).constructor;
1437
1449
  s = Reflect.construct(n, arguments, a);
1438
1450
  } else
1439
1451
  s = n.apply(this, arguments);
1440
- return lo(this, s);
1452
+ return go(this, s);
1441
1453
  };
1442
1454
  }
1443
- function lo(o, e) {
1455
+ function go(o, e) {
1444
1456
  if (e && (Sn(e) === "object" || typeof e == "function"))
1445
1457
  return e;
1446
1458
  if (e !== void 0)
@@ -1452,7 +1464,7 @@ function Aa(o) {
1452
1464
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1453
1465
  return o;
1454
1466
  }
1455
- function co() {
1467
+ function mo() {
1456
1468
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
1457
1469
  return !1;
1458
1470
  if (typeof Proxy == "function")
@@ -1464,22 +1476,22 @@ function co() {
1464
1476
  return !1;
1465
1477
  }
1466
1478
  }
1467
- function Vt(o) {
1468
- return Vt = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
1479
+ function Gt(o) {
1480
+ return Gt = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
1469
1481
  return t.__proto__ || Object.getPrototypeOf(t);
1470
- }, Vt(o);
1482
+ }, Gt(o);
1471
1483
  }
1472
- function ho(o) {
1484
+ function fo(o) {
1473
1485
  var e = /* @__PURE__ */ function(t) {
1474
- ro(s, t);
1475
- var n = oo(s);
1486
+ uo(s, t);
1487
+ var n = po(s);
1476
1488
  function s(a) {
1477
1489
  var i, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1478
- if (ao(this, s), i = n.call(this, a, r), i.children = [], !a || a.nodeType !== Node.ELEMENT_NODE)
1490
+ if (co(this, s), i = n.call(this, a, r), i.children = [], !a || a.nodeType !== Node.ELEMENT_NODE)
1479
1491
  throw new TypeError("DOM element should be given to initialize this widget.");
1480
1492
  return i.element = a, i.options = Object.assign(Object.create(i.constructor.options), r), i.constructor.components.set(i.element, Aa(i)), i;
1481
1493
  }
1482
- return io(s, [{
1494
+ return ho(s, [{
1483
1495
  key: "release",
1484
1496
  value: (
1485
1497
  /**
@@ -1508,7 +1520,7 @@ function xn(o) {
1508
1520
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1509
1521
  }, xn(o);
1510
1522
  }
1511
- function uo(o, e) {
1523
+ function vo(o, e) {
1512
1524
  if (!(o instanceof e))
1513
1525
  throw new TypeError("Cannot call a class as a function");
1514
1526
  }
@@ -1518,26 +1530,26 @@ function Ds(o, e) {
1518
1530
  n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(o, n.key, n);
1519
1531
  }
1520
1532
  }
1521
- function po(o, e, t) {
1533
+ function yo(o, e, t) {
1522
1534
  return e && Ds(o.prototype, e), t && Ds(o, t), Object.defineProperty(o, "prototype", {
1523
1535
  writable: !1
1524
1536
  }), o;
1525
1537
  }
1526
- function Pt() {
1527
- return typeof Reflect < "u" && Reflect.get ? Pt = Reflect.get : Pt = function(e, t, n) {
1528
- var s = go(e, t);
1538
+ function Vt() {
1539
+ return typeof Reflect < "u" && Reflect.get ? Vt = Reflect.get : Vt = function(e, t, n) {
1540
+ var s = Eo(e, t);
1529
1541
  if (s) {
1530
1542
  var a = Object.getOwnPropertyDescriptor(s, t);
1531
1543
  return a.get ? a.get.call(arguments.length < 3 ? e : n) : a.value;
1532
1544
  }
1533
- }, Pt.apply(this, arguments);
1545
+ }, Vt.apply(this, arguments);
1534
1546
  }
1535
- function go(o, e) {
1547
+ function Eo(o, e) {
1536
1548
  for (; !Object.prototype.hasOwnProperty.call(o, e) && (o = ht(o), o !== null); )
1537
1549
  ;
1538
1550
  return o;
1539
1551
  }
1540
- function mo(o, e) {
1552
+ function bo(o, e) {
1541
1553
  if (typeof e != "function" && e !== null)
1542
1554
  throw new TypeError("Super expression must either be null or a function");
1543
1555
  o.prototype = Object.create(e && e.prototype, {
@@ -1555,8 +1567,8 @@ function Tn(o, e) {
1555
1567
  return n.__proto__ = s, n;
1556
1568
  }, Tn(o, e);
1557
1569
  }
1558
- function fo(o) {
1559
- var e = Eo();
1570
+ function So(o) {
1571
+ var e = To();
1560
1572
  return function() {
1561
1573
  var n = ht(o), s;
1562
1574
  if (e) {
@@ -1564,22 +1576,22 @@ function fo(o) {
1564
1576
  s = Reflect.construct(n, arguments, a);
1565
1577
  } else
1566
1578
  s = n.apply(this, arguments);
1567
- return vo(this, s);
1579
+ return Oo(this, s);
1568
1580
  };
1569
1581
  }
1570
- function vo(o, e) {
1582
+ function Oo(o, e) {
1571
1583
  if (e && (xn(e) === "object" || typeof e == "function"))
1572
1584
  return e;
1573
1585
  if (e !== void 0)
1574
1586
  throw new TypeError("Derived constructors may only return object or undefined");
1575
- return yo(o);
1587
+ return xo(o);
1576
1588
  }
1577
- function yo(o) {
1589
+ function xo(o) {
1578
1590
  if (o === void 0)
1579
1591
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1580
1592
  return o;
1581
1593
  }
1582
- function Eo() {
1594
+ function To() {
1583
1595
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
1584
1596
  return !1;
1585
1597
  if (typeof Proxy == "function")
@@ -1596,18 +1608,18 @@ function ht(o) {
1596
1608
  return t.__proto__ || Object.getPrototypeOf(t);
1597
1609
  }, ht(o);
1598
1610
  }
1599
- function bo(o) {
1611
+ function Lo(o) {
1600
1612
  var e = /* @__PURE__ */ function(t) {
1601
- mo(s, t);
1602
- var n = fo(s);
1613
+ bo(s, t);
1614
+ var n = So(s);
1603
1615
  function s() {
1604
1616
  var a;
1605
- uo(this, s);
1617
+ vo(this, s);
1606
1618
  for (var i = arguments.length, r = new Array(i), l = 0; l < i; l++)
1607
1619
  r[l] = arguments[l];
1608
1620
  return a = n.call.apply(n, [this].concat(r)), a.handles = /* @__PURE__ */ new Set(), a;
1609
1621
  }
1610
- return po(s, [{
1622
+ return yo(s, [{
1611
1623
  key: "manage",
1612
1624
  value: (
1613
1625
  /**
@@ -1635,7 +1647,7 @@ function bo(o) {
1635
1647
  var i = this;
1636
1648
  return this.handles.forEach(function(r) {
1637
1649
  r.release(), i.handles.delete(r);
1638
- }), Pt(ht(s.prototype), "release", this).call(this);
1650
+ }), Vt(ht(s.prototype), "release", this).call(this);
1639
1651
  }
1640
1652
  }]), s;
1641
1653
  }(o);
@@ -1658,14 +1670,14 @@ function Ln(o) {
1658
1670
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1659
1671
  }, Ln(o);
1660
1672
  }
1661
- function So(o) {
1662
- return Lo(o) || To(o) || xo(o) || Oo();
1673
+ function Ao(o) {
1674
+ return _o(o) || Co(o) || Mo(o) || wo();
1663
1675
  }
1664
- function Oo() {
1676
+ function wo() {
1665
1677
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
1666
1678
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1667
1679
  }
1668
- function xo(o, e) {
1680
+ function Mo(o, e) {
1669
1681
  if (o) {
1670
1682
  if (typeof o == "string")
1671
1683
  return An(o, e);
@@ -1676,11 +1688,11 @@ function xo(o, e) {
1676
1688
  return An(o, e);
1677
1689
  }
1678
1690
  }
1679
- function To(o) {
1691
+ function Co(o) {
1680
1692
  if (typeof Symbol < "u" && o[Symbol.iterator] != null || o["@@iterator"] != null)
1681
1693
  return Array.from(o);
1682
1694
  }
1683
- function Lo(o) {
1695
+ function _o(o) {
1684
1696
  if (Array.isArray(o))
1685
1697
  return An(o);
1686
1698
  }
@@ -1690,7 +1702,7 @@ function An(o, e) {
1690
1702
  n[t] = o[t];
1691
1703
  return n;
1692
1704
  }
1693
- function Ao(o, e) {
1705
+ function Io(o, e) {
1694
1706
  if (!(o instanceof e))
1695
1707
  throw new TypeError("Cannot call a class as a function");
1696
1708
  }
@@ -1700,12 +1712,12 @@ function Ns(o, e) {
1700
1712
  n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(o, n.key, n);
1701
1713
  }
1702
1714
  }
1703
- function Mo(o, e, t) {
1715
+ function Ro(o, e, t) {
1704
1716
  return e && Ns(o.prototype, e), t && Ns(o, t), Object.defineProperty(o, "prototype", {
1705
1717
  writable: !1
1706
1718
  }), o;
1707
1719
  }
1708
- function wo(o, e) {
1720
+ function ko(o, e) {
1709
1721
  if (typeof e != "function" && e !== null)
1710
1722
  throw new TypeError("Super expression must either be null or a function");
1711
1723
  o.prototype = Object.create(e && e.prototype, {
@@ -1716,38 +1728,38 @@ function wo(o, e) {
1716
1728
  }
1717
1729
  }), Object.defineProperty(o, "prototype", {
1718
1730
  writable: !1
1719
- }), e && Mn(o, e);
1731
+ }), e && wn(o, e);
1720
1732
  }
1721
- function Mn(o, e) {
1722
- return Mn = Object.setPrototypeOf || function(n, s) {
1733
+ function wn(o, e) {
1734
+ return wn = Object.setPrototypeOf || function(n, s) {
1723
1735
  return n.__proto__ = s, n;
1724
- }, Mn(o, e);
1736
+ }, wn(o, e);
1725
1737
  }
1726
- function Co(o) {
1727
- var e = ko();
1738
+ function Do(o) {
1739
+ var e = Vo();
1728
1740
  return function() {
1729
- var n = Gt(o), s;
1741
+ var n = Bt(o), s;
1730
1742
  if (e) {
1731
- var a = Gt(this).constructor;
1743
+ var a = Bt(this).constructor;
1732
1744
  s = Reflect.construct(n, arguments, a);
1733
1745
  } else
1734
1746
  s = n.apply(this, arguments);
1735
- return _o(this, s);
1747
+ return No(this, s);
1736
1748
  };
1737
1749
  }
1738
- function _o(o, e) {
1750
+ function No(o, e) {
1739
1751
  if (e && (Ln(e) === "object" || typeof e == "function"))
1740
1752
  return e;
1741
1753
  if (e !== void 0)
1742
1754
  throw new TypeError("Derived constructors may only return object or undefined");
1743
- return Io(o);
1755
+ return Po(o);
1744
1756
  }
1745
- function Io(o) {
1757
+ function Po(o) {
1746
1758
  if (o === void 0)
1747
1759
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1748
1760
  return o;
1749
1761
  }
1750
- function ko() {
1762
+ function Vo() {
1751
1763
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
1752
1764
  return !1;
1753
1765
  if (typeof Proxy == "function")
@@ -1759,19 +1771,19 @@ function ko() {
1759
1771
  return !1;
1760
1772
  }
1761
1773
  }
1762
- function Gt(o) {
1763
- return Gt = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
1774
+ function Bt(o) {
1775
+ return Bt = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
1764
1776
  return t.__proto__ || Object.getPrototypeOf(t);
1765
- }, Gt(o);
1777
+ }, Bt(o);
1766
1778
  }
1767
- function Ro(o) {
1779
+ function Go(o) {
1768
1780
  var e = /* @__PURE__ */ function(t) {
1769
- wo(s, t);
1770
- var n = Co(s);
1781
+ ko(s, t);
1782
+ var n = Do(s);
1771
1783
  function s() {
1772
- return Ao(this, s), n.apply(this, arguments);
1784
+ return Io(this, s), n.apply(this, arguments);
1773
1785
  }
1774
- return Mo(s, [{
1786
+ return Ro(s, [{
1775
1787
  key: "_changeState",
1776
1788
  value: (
1777
1789
  /* eslint-disable jsdoc/check-param-names */
@@ -1823,7 +1835,7 @@ function Ro(o) {
1823
1835
  }
1824
1836
  } else {
1825
1837
  var y = [d, p].filter(Boolean);
1826
- this._changeState.apply(this, So(y).concat([function() {
1838
+ this._changeState.apply(this, Ao(y).concat([function() {
1827
1839
  E.dispatchEvent(new CustomEvent(i.options["eventAfter".concat(g)], {
1828
1840
  bubbles: !0,
1829
1841
  cancelable: !0,
@@ -1848,7 +1860,7 @@ function Ro(o) {
1848
1860
  }(o);
1849
1861
  return e;
1850
1862
  }
1851
- function wn(o, e) {
1863
+ function Mn(o, e) {
1852
1864
  var t = o.target, n = o.currentTarget;
1853
1865
  if (typeof t.matches == "function") {
1854
1866
  if (t.matches(e))
@@ -1884,7 +1896,7 @@ function Cn(o) {
1884
1896
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1885
1897
  }, Cn(o);
1886
1898
  }
1887
- function Do(o, e) {
1899
+ function Bo(o, e) {
1888
1900
  if (!(o instanceof e))
1889
1901
  throw new TypeError("Cannot call a class as a function");
1890
1902
  }
@@ -1894,12 +1906,12 @@ function Vs(o, e) {
1894
1906
  n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(o, n.key, n);
1895
1907
  }
1896
1908
  }
1897
- function No(o, e, t) {
1909
+ function Ho(o, e, t) {
1898
1910
  return e && Vs(o.prototype, e), t && Vs(o, t), Object.defineProperty(o, "prototype", {
1899
1911
  writable: !1
1900
1912
  }), o;
1901
1913
  }
1902
- function Po(o, e) {
1914
+ function $o(o, e) {
1903
1915
  if (typeof e != "function" && e !== null)
1904
1916
  throw new TypeError("Super expression must either be null or a function");
1905
1917
  o.prototype = Object.create(e && e.prototype, {
@@ -1917,31 +1929,31 @@ function _n(o, e) {
1917
1929
  return n.__proto__ = s, n;
1918
1930
  }, _n(o, e);
1919
1931
  }
1920
- function Vo(o) {
1921
- var e = Ho();
1932
+ function Uo(o) {
1933
+ var e = Wo();
1922
1934
  return function() {
1923
- var n = Bt(o), s;
1935
+ var n = Ht(o), s;
1924
1936
  if (e) {
1925
- var a = Bt(this).constructor;
1937
+ var a = Ht(this).constructor;
1926
1938
  s = Reflect.construct(n, arguments, a);
1927
1939
  } else
1928
1940
  s = n.apply(this, arguments);
1929
- return Go(this, s);
1941
+ return Fo(this, s);
1930
1942
  };
1931
1943
  }
1932
- function Go(o, e) {
1944
+ function Fo(o, e) {
1933
1945
  if (e && (Cn(e) === "object" || typeof e == "function"))
1934
1946
  return e;
1935
1947
  if (e !== void 0)
1936
1948
  throw new TypeError("Derived constructors may only return object or undefined");
1937
- return Bo(o);
1949
+ return zo(o);
1938
1950
  }
1939
- function Bo(o) {
1951
+ function zo(o) {
1940
1952
  if (o === void 0)
1941
1953
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1942
1954
  return o;
1943
1955
  }
1944
- function Ho() {
1956
+ function Wo() {
1945
1957
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
1946
1958
  return !1;
1947
1959
  if (typeof Proxy == "function")
@@ -1953,19 +1965,19 @@ function Ho() {
1953
1965
  return !1;
1954
1966
  }
1955
1967
  }
1956
- function Bt(o) {
1957
- return Bt = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
1968
+ function Ht(o) {
1969
+ return Ht = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
1958
1970
  return t.__proto__ || Object.getPrototypeOf(t);
1959
- }, Bt(o);
1971
+ }, Ht(o);
1960
1972
  }
1961
- function $o(o) {
1973
+ function jo(o) {
1962
1974
  var e = /* @__PURE__ */ function(t) {
1963
- Po(s, t);
1964
- var n = Vo(s);
1975
+ $o(s, t);
1976
+ var n = Uo(s);
1965
1977
  function s() {
1966
- return Do(this, s), n.apply(this, arguments);
1978
+ return Bo(this, s), n.apply(this, arguments);
1967
1979
  }
1968
- return No(s, [{
1980
+ return Ho(s, [{
1969
1981
  key: "show",
1970
1982
  value: (
1971
1983
  /**
@@ -1993,14 +2005,14 @@ function $o(o) {
1993
2005
  }(o);
1994
2006
  return e;
1995
2007
  }
1996
- var Uo = [Ro, $o];
1997
- const zo = Uo;
1998
- function Fo(o) {
2008
+ var Xo = [Go, jo];
2009
+ const Zo = Xo;
2010
+ function Yo(o) {
1999
2011
  return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
2000
2012
  }
2001
- var Ma = function() {
2013
+ var wa = function() {
2002
2014
  };
2003
- process.env.NODE_ENV !== "production" && (Ma = function(o, e, t) {
2015
+ process.env.NODE_ENV !== "production" && (wa = function(o, e, t) {
2004
2016
  var n = arguments.length;
2005
2017
  t = new Array(n > 2 ? n - 2 : 0);
2006
2018
  for (var s = 2; s < n; s++)
@@ -2024,8 +2036,8 @@ process.env.NODE_ENV !== "production" && (Ma = function(o, e, t) {
2024
2036
  }
2025
2037
  }
2026
2038
  });
2027
- var Wo = Ma;
2028
- const jo = /* @__PURE__ */ Fo(Wo);
2039
+ var qo = wa;
2040
+ const Ko = /* @__PURE__ */ Yo(qo);
2029
2041
  function In(o) {
2030
2042
  "@babel/helpers - typeof";
2031
2043
  return In = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -2034,7 +2046,7 @@ function In(o) {
2034
2046
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
2035
2047
  }, In(o);
2036
2048
  }
2037
- function Xo(o, e) {
2049
+ function Jo(o, e) {
2038
2050
  if (!(o instanceof e))
2039
2051
  throw new TypeError("Cannot call a class as a function");
2040
2052
  }
@@ -2044,12 +2056,12 @@ function Gs(o, e) {
2044
2056
  n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(o, n.key, n);
2045
2057
  }
2046
2058
  }
2047
- function Zo(o, e, t) {
2059
+ function Qo(o, e, t) {
2048
2060
  return e && Gs(o.prototype, e), t && Gs(o, t), Object.defineProperty(o, "prototype", {
2049
2061
  writable: !1
2050
2062
  }), o;
2051
2063
  }
2052
- function Yo(o, e) {
2064
+ function el(o, e) {
2053
2065
  if (typeof e != "function" && e !== null)
2054
2066
  throw new TypeError("Super expression must either be null or a function");
2055
2067
  o.prototype = Object.create(e && e.prototype, {
@@ -2060,38 +2072,38 @@ function Yo(o, e) {
2060
2072
  }
2061
2073
  }), Object.defineProperty(o, "prototype", {
2062
2074
  writable: !1
2063
- }), e && kn(o, e);
2075
+ }), e && Rn(o, e);
2064
2076
  }
2065
- function kn(o, e) {
2066
- return kn = Object.setPrototypeOf || function(n, s) {
2077
+ function Rn(o, e) {
2078
+ return Rn = Object.setPrototypeOf || function(n, s) {
2067
2079
  return n.__proto__ = s, n;
2068
- }, kn(o, e);
2080
+ }, Rn(o, e);
2069
2081
  }
2070
- function qo(o) {
2071
- var e = Qo();
2082
+ function tl(o) {
2083
+ var e = al();
2072
2084
  return function() {
2073
- var n = Ht(o), s;
2085
+ var n = $t(o), s;
2074
2086
  if (e) {
2075
- var a = Ht(this).constructor;
2087
+ var a = $t(this).constructor;
2076
2088
  s = Reflect.construct(n, arguments, a);
2077
2089
  } else
2078
2090
  s = n.apply(this, arguments);
2079
- return Ko(this, s);
2091
+ return nl(this, s);
2080
2092
  };
2081
2093
  }
2082
- function Ko(o, e) {
2094
+ function nl(o, e) {
2083
2095
  if (e && (In(e) === "object" || typeof e == "function"))
2084
2096
  return e;
2085
2097
  if (e !== void 0)
2086
2098
  throw new TypeError("Derived constructors may only return object or undefined");
2087
- return Jo(o);
2099
+ return sl(o);
2088
2100
  }
2089
- function Jo(o) {
2101
+ function sl(o) {
2090
2102
  if (o === void 0)
2091
2103
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2092
2104
  return o;
2093
2105
  }
2094
- function Qo() {
2106
+ function al() {
2095
2107
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
2096
2108
  return !1;
2097
2109
  if (typeof Proxy == "function")
@@ -2103,19 +2115,19 @@ function Qo() {
2103
2115
  return !1;
2104
2116
  }
2105
2117
  }
2106
- function Ht(o) {
2107
- return Ht = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
2118
+ function $t(o) {
2119
+ return $t = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
2108
2120
  return t.__proto__ || Object.getPrototypeOf(t);
2109
- }, Ht(o);
2121
+ }, $t(o);
2110
2122
  }
2111
- function el(o) {
2123
+ function il(o) {
2112
2124
  var e = /* @__PURE__ */ function(t) {
2113
- Yo(s, t);
2114
- var n = qo(s);
2125
+ el(s, t);
2126
+ var n = tl(s);
2115
2127
  function s() {
2116
- return Xo(this, s), n.apply(this, arguments);
2128
+ return Jo(this, s), n.apply(this, arguments);
2117
2129
  }
2118
- return Zo(s, null, [{
2130
+ return Qo(s, null, [{
2119
2131
  key: "init",
2120
2132
  value: (
2121
2133
  /**
@@ -2142,7 +2154,7 @@ function el(o) {
2142
2154
  else {
2143
2155
  var d = c.initEventNames.map(function(p) {
2144
2156
  return St(r, p, function(h) {
2145
- var u = wn(h, "[".concat(c.attribInitTarget, "]"));
2157
+ var u = Mn(h, "[".concat(c.attribInitTarget, "]"));
2146
2158
  if (u) {
2147
2159
  h.delegateTarget = u;
2148
2160
  var g = u.ownerDocument.querySelectorAll(u.getAttribute(c.attribInitTarget));
@@ -2170,15 +2182,15 @@ function el(o) {
2170
2182
  }(o);
2171
2183
  return e;
2172
2184
  }
2173
- function Rn(o) {
2185
+ function kn(o) {
2174
2186
  "@babel/helpers - typeof";
2175
- return Rn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
2187
+ return kn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
2176
2188
  return typeof e;
2177
2189
  } : function(e) {
2178
2190
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
2179
- }, Rn(o);
2191
+ }, kn(o);
2180
2192
  }
2181
- function tl(o, e) {
2193
+ function rl(o, e) {
2182
2194
  if (!(o instanceof e))
2183
2195
  throw new TypeError("Cannot call a class as a function");
2184
2196
  }
@@ -2188,12 +2200,12 @@ function Bs(o, e) {
2188
2200
  n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(o, n.key, n);
2189
2201
  }
2190
2202
  }
2191
- function nl(o, e, t) {
2203
+ function ol(o, e, t) {
2192
2204
  return e && Bs(o.prototype, e), t && Bs(o, t), Object.defineProperty(o, "prototype", {
2193
2205
  writable: !1
2194
2206
  }), o;
2195
2207
  }
2196
- function sl(o, e) {
2208
+ function ll(o, e) {
2197
2209
  if (typeof e != "function" && e !== null)
2198
2210
  throw new TypeError("Super expression must either be null or a function");
2199
2211
  o.prototype = Object.create(e && e.prototype, {
@@ -2211,31 +2223,31 @@ function Dn(o, e) {
2211
2223
  return n.__proto__ = s, n;
2212
2224
  }, Dn(o, e);
2213
2225
  }
2214
- function al(o) {
2215
- var e = ol();
2226
+ function cl(o) {
2227
+ var e = ul();
2216
2228
  return function() {
2217
- var n = $t(o), s;
2229
+ var n = Ut(o), s;
2218
2230
  if (e) {
2219
- var a = $t(this).constructor;
2231
+ var a = Ut(this).constructor;
2220
2232
  s = Reflect.construct(n, arguments, a);
2221
2233
  } else
2222
2234
  s = n.apply(this, arguments);
2223
- return il(this, s);
2235
+ return dl(this, s);
2224
2236
  };
2225
2237
  }
2226
- function il(o, e) {
2227
- if (e && (Rn(e) === "object" || typeof e == "function"))
2238
+ function dl(o, e) {
2239
+ if (e && (kn(e) === "object" || typeof e == "function"))
2228
2240
  return e;
2229
2241
  if (e !== void 0)
2230
2242
  throw new TypeError("Derived constructors may only return object or undefined");
2231
- return rl(o);
2243
+ return hl(o);
2232
2244
  }
2233
- function rl(o) {
2245
+ function hl(o) {
2234
2246
  if (o === void 0)
2235
2247
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2236
2248
  return o;
2237
2249
  }
2238
- function ol() {
2250
+ function ul() {
2239
2251
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
2240
2252
  return !1;
2241
2253
  if (typeof Proxy == "function")
@@ -2247,24 +2259,24 @@ function ol() {
2247
2259
  return !1;
2248
2260
  }
2249
2261
  }
2250
- function $t(o) {
2251
- return $t = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
2262
+ function Ut(o) {
2263
+ return Ut = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
2252
2264
  return t.__proto__ || Object.getPrototypeOf(t);
2253
- }, $t(o);
2265
+ }, Ut(o);
2254
2266
  }
2255
- var ll = /* @__PURE__ */ function(o) {
2256
- sl(t, o);
2257
- var e = al(t);
2267
+ var pl = /* @__PURE__ */ function(o) {
2268
+ ll(t, o);
2269
+ var e = cl(t);
2258
2270
  function t(n, s) {
2259
2271
  var a;
2260
- return tl(this, t), a = e.call(this, n, s), a._handleFocusinListener = void 0, a._handleKeydownListener = void 0, a._handleFocusin = function(i) {
2272
+ return rl(this, t), a = e.call(this, n, s), a._handleFocusinListener = void 0, a._handleKeydownListener = void 0, a._handleFocusin = function(i) {
2261
2273
  var r = a.element.querySelector(a.options.selectorModalContainer) || a.element;
2262
2274
  a.element.classList.contains(a.options.classVisible) && !r.contains(i.target) && a.options.selectorsFloatingMenus.every(function(l) {
2263
- return !wn(i, l);
2275
+ return !Mn(i, l);
2264
2276
  }) && a.element.querySelector(pn.selectorTabbable).focus();
2265
2277
  }, a._hookCloseActions(), a;
2266
2278
  }
2267
- return nl(t, [{
2279
+ return ol(t, [{
2268
2280
  key: "createdByLauncher",
2269
2281
  value: (
2270
2282
  /**
@@ -2299,7 +2311,7 @@ var ll = /* @__PURE__ */ function(o) {
2299
2311
  if (l && (l = r.unmanage(l).release()), s === "shown" && r.element.offsetWidth > 0 && r.element.offsetHeight > 0) {
2300
2312
  r.previouslyFocusedNode = r.element.ownerDocument.activeElement;
2301
2313
  var u = r.element.querySelector(r.options.selectorPrimaryFocus) || r.element.querySelector(pn.selectorTabbable);
2302
- u.focus(), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && jo(u, "Modals need to contain a focusable element by either using " + "`".concat(r.options.selectorPrimaryFocus, "` or settings.selectorTabbable."));
2314
+ u.focus(), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && Ko(u, "Modals need to contain a focusable element by either using " + "`".concat(r.options.selectorPrimaryFocus, "` or settings.selectorTabbable."));
2303
2315
  }
2304
2316
  i();
2305
2317
  };
@@ -2314,7 +2326,7 @@ var ll = /* @__PURE__ */ function(o) {
2314
2326
  value: function() {
2315
2327
  var s = this;
2316
2328
  this.manage(St(this.element, "click", function(a) {
2317
- var i = wn(a, s.options.selectorModalClose);
2329
+ var i = Mn(a, s.options.selectorModalClose);
2318
2330
  i && (a.delegateTarget = i), (i || a.target === s.element) && s.hide(a);
2319
2331
  })), this._handleKeydownListener && (this._handleKeydownListener = this.unmanage(this._handleKeydownListener).release()), this._handleKeydownListener = this.manage(St(this.element.ownerDocument.body, "keydown", function(a) {
2320
2332
  a.which === 27 && s.shouldStateBeChanged("hidden") && (a.stopPropagation(), s.hide(a));
@@ -2380,13 +2392,13 @@ var ll = /* @__PURE__ */ function(o) {
2380
2392
  }
2381
2393
  )
2382
2394
  }]), t.components = /* @__PURE__ */ new WeakMap(), t;
2383
- }(so(ho, el, zo, bo));
2384
- const cl = ll;
2385
- class hh extends q {
2395
+ }(lo(fo, il, Zo, Lo));
2396
+ const gl = pl;
2397
+ class fh extends q {
2386
2398
  constructor(e, t, n) {
2387
2399
  super(e, t, n), this.type = "modal", this.isEventListenerAdded = !1, this.handleShowModal = () => {
2388
2400
  const s = this.services.domUtils.getChartID();
2389
- this.modal.attr("data-modal", !0).attr("class", "cds--modal").attr("role", "dialog").attr("aria-modal", !0).attr("aria-labelledby", `${s}__modal-title`).attr("aria-describedby", `${s}__modal-description`).attr("tabindex", -1), this.modal.html(this.getModalHTML()), this.modal.select("div.cds--modal-footer button.cds--btn").on("click", () => this.model.exportToCSV()), cl.create(this.modal.node()).show(), document.addEventListener("modal-hidden", this.handleHideModal);
2401
+ this.modal.attr("data-modal", !0).attr("class", "cds--modal").attr("role", "dialog").attr("aria-modal", !0).attr("aria-labelledby", `${s}__modal-title`).attr("aria-describedby", `${s}__modal-description`).attr("tabindex", -1), this.modal.html(this.getModalHTML()), this.modal.select("div.cds--modal-footer button.cds--btn").on("click", () => this.model.exportToCSV()), gl.create(this.modal.node()).show(), document.addEventListener("modal-hidden", this.handleHideModal);
2390
2402
  }, this.handleHideModal = () => {
2391
2403
  this.modal.attr("role", null).attr("aria-modal", null).attr("aria-labelledby", null).attr("aria-describedby", null).attr("tabindex", null), document.removeEventListener("modal-hidden", this.handleHideModal);
2392
2404
  }, this.init();
@@ -2439,7 +2451,7 @@ class hh extends q {
2439
2451
  </div>
2440
2452
 
2441
2453
  <div class="cds--modal-footer">
2442
- <div class="${we}--${a}-modal-footer-spacer"></div>
2454
+ <div class="${Me}--${a}-modal-footer-spacer"></div>
2443
2455
  <button class="cds--btn cds--btn--primary" type="button" data-modal-primary-focus>${s}</button>
2444
2456
  </div>
2445
2457
  </div>`;
@@ -2451,16 +2463,16 @@ class hh extends q {
2451
2463
  const t = this.model.getOptions();
2452
2464
  if (!this.isEventListenerAdded) {
2453
2465
  const n = x(this.services.domUtils.getHolder()), s = v(t, "style", "prefix");
2454
- this.modal = S.appendOrSelect(n, `div.${we}--${s}--modal`), this.addEventListeners(), this.isEventListenerAdded = !0;
2466
+ this.modal = S.appendOrSelect(n, `div.${Me}--${s}--modal`), this.addEventListeners(), this.isEventListenerAdded = !0;
2455
2467
  }
2456
2468
  }
2457
2469
  destroy() {
2458
2470
  this.removeEventListeners(), this.isEventListenerAdded = !1;
2459
2471
  }
2460
2472
  }
2461
- class dl extends q {
2473
+ class ml extends q {
2462
2474
  constructor() {
2463
- super(...arguments), this.type = "title", this.renderType = W.HTML;
2475
+ super(...arguments), this.type = "title", this.renderType = j.HTML;
2464
2476
  }
2465
2477
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2466
2478
  // @ts-ignore
@@ -2535,9 +2547,9 @@ class dl extends q {
2535
2547
  return e.getSubStringLength(0, a) > s ? this.getSubstringIndex(e, t, a, s) : e.getSubStringLength(0, a) < s ? e.getSubStringLength(0, a + 1) > s ? a : this.getSubstringIndex(e, a, n, s) : a;
2536
2548
  }
2537
2549
  }
2538
- class hl extends q {
2550
+ class fl extends q {
2539
2551
  constructor() {
2540
- super(...arguments), this.type = "legend", this.renderType = W.HTML;
2552
+ super(...arguments), this.type = "legend", this.renderType = j.HTML;
2541
2553
  }
2542
2554
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2543
2555
  // @ts-ignore
@@ -2559,7 +2571,7 @@ class hl extends q {
2559
2571
  ).attr("aria-checked", ({ status: T }) => T === de.items.status.ACTIVE).attr("width", g * 2).attr("height", g * 2).attr(
2560
2572
  "class",
2561
2573
  (T) => this.model.getColorClassName({
2562
- classNameTypes: [F.BACKGROUND],
2574
+ classNameTypes: [z.BACKGROUND],
2563
2575
  dataGroupName: T.name,
2564
2576
  originalClassName: "checkbox"
2565
2577
  })
@@ -2581,10 +2593,10 @@ class hl extends q {
2581
2593
  )
2582
2594
  );
2583
2595
  A.selectAll("*").remove();
2584
- let M, L = 1;
2596
+ let w, L = 1;
2585
2597
  A.append("svg").classed("icon", !0).each(function(I) {
2586
2598
  const N = x(this);
2587
- !M || M != I.type ? (M = I.type, L = 1) : L++, T.addAdditionalItem(N, I, L);
2599
+ !w || w != I.type ? (w = I.type, L = 1) : L++, T.addAdditionalItem(N, I, L);
2588
2600
  }), A.append("p").merge(A.select("p")), this.truncateLegendText();
2589
2601
  }
2590
2602
  p.exit().on("mouseover", null).on("click", null).on("mouseout", null).remove(), u && h.size() > 1 && this.addEventListeners();
@@ -2684,9 +2696,9 @@ class hl extends q {
2684
2696
  });
2685
2697
  }
2686
2698
  }
2687
- class ul extends q {
2699
+ class vl extends q {
2688
2700
  constructor(e, t, n) {
2689
- super(e, t, n), this.type = "chart-clip", this.renderType = W.SVG, this.chartClipId = "chart-clip-id-" + Math.floor(Math.random() * 99999999999), this.init();
2701
+ super(e, t, n), this.type = "chart-clip", this.renderType = j.SVG, this.chartClipId = "chart-clip-id-" + Math.floor(Math.random() * 99999999999), this.init();
2690
2702
  }
2691
2703
  init() {
2692
2704
  this.model.set({ chartClipId: this.chartClipId }, { skipUpdate: !0 });
@@ -2712,7 +2724,7 @@ class ul extends q {
2712
2724
  i - a > 0 && c.attr("x", a).attr("y", l).attr("width", i - a).attr("height", r - l), this.chartClipPath.merge(c).lower();
2713
2725
  }
2714
2726
  }
2715
- class uh extends ul {
2727
+ class vh extends vl {
2716
2728
  constructor() {
2717
2729
  super(...arguments), this.type = "canvas-chart-clip", this.chartClipId = "canvas-chart-clip-id-" + Math.floor(Math.random() * 99999999999);
2718
2730
  }
@@ -2757,7 +2769,7 @@ var Hs = (at = {}, at[ge.LEFT] = function(o, e, t) {
2757
2769
  scrollY: 0,
2758
2770
  innerWidth: 0,
2759
2771
  scrollX: 0
2760
- }, jt = (
2772
+ }, Xt = (
2761
2773
  /** @class */
2762
2774
  function() {
2763
2775
  function o(e) {
@@ -2845,10 +2857,10 @@ var Hs = (at = {}, at[ge.LEFT] = function(o, e, t) {
2845
2857
  }, o;
2846
2858
  }()
2847
2859
  );
2848
- new jt();
2849
- class pl extends q {
2860
+ new Xt();
2861
+ class yl extends q {
2850
2862
  constructor(e, t, n) {
2851
- super(e, t, n), this.type = "tooltip", this.renderType = W.HTML, this.isEventListenerAdded = !1, this.positionService = new jt(), this.handleShowTooltip = (s) => {
2863
+ super(e, t, n), this.type = "tooltip", this.renderType = j.HTML, this.isEventListenerAdded = !1, this.positionService = new Xt(), this.handleShowTooltip = (s) => {
2852
2864
  const a = s.detail.data || s.detail.items;
2853
2865
  let i;
2854
2866
  const r = this.formatItems(this.getItems(s));
@@ -2938,7 +2950,7 @@ class pl extends q {
2938
2950
  const t = this.getOptions(), n = v(t, "tooltip", "enabled");
2939
2951
  if (n) {
2940
2952
  const s = x(this.services.domUtils.getHolder()), a = v(t, "style", "prefix");
2941
- this.tooltip = S.appendOrSelect(s, `div.${we}--${a}--tooltip`), this.tooltip.style("max-width", null).attr("role", "tooltip"), this.isEventListenerAdded || (this.addTooltipEventListener(), this.isEventListenerAdded = !0), this.tooltip.classed("hidden", !0);
2953
+ this.tooltip = S.appendOrSelect(s, `div.${Me}--${a}--tooltip`), this.tooltip.style("max-width", null).attr("role", "tooltip"), this.isEventListenerAdded || (this.addTooltipEventListener(), this.isEventListenerAdded = !0), this.tooltip.classed("hidden", !0);
2942
2954
  } else
2943
2955
  !n && this.isEventListenerAdded && (this.removeTooltipEventListener(), this.isEventListenerAdded = !1);
2944
2956
  }
@@ -2946,10 +2958,10 @@ class pl extends q {
2946
2958
  const t = this.services.domUtils.getHolder(), n = this.tooltip.node(), s = this.getOptions(), a = v(s, "zoomBar", "top", "enabled");
2947
2959
  let i = v(e, "detail", "mousePosition");
2948
2960
  if (!i)
2949
- i = Ft(v(e, "detail", "event"), t);
2961
+ i = Wt(v(e, "detail", "event"), t);
2950
2962
  else {
2951
- const h = v(s, "zoomBar", "top", "type"), u = Me.height[h];
2952
- a && (i[1] += u + Me.spacerHeight);
2963
+ const h = v(s, "zoomBar", "top", "type"), u = we.height[h];
2964
+ a && (i[1] += u + we.spacerHeight);
2953
2965
  }
2954
2966
  const r = t.offsetWidth, l = t.offsetHeight;
2955
2967
  let c;
@@ -2969,7 +2981,7 @@ class pl extends q {
2969
2981
  height: l
2970
2982
  })
2971
2983
  );
2972
- let { horizontalOffset: d } = Wa;
2984
+ let { horizontalOffset: d } = ja;
2973
2985
  c === ge.LEFT && (d *= -1);
2974
2986
  const p = this.positionService.findPositionAt(
2975
2987
  {
@@ -2984,7 +2996,7 @@ class pl extends q {
2984
2996
  }
2985
2997
  const ct = class ct extends q {
2986
2998
  constructor() {
2987
- super(...arguments), this.type = "grid-brush", this.renderType = W.SVG, this.selectionSelector = "rect.selection", this.frontSelectionSelector = "rect.frontSelection";
2999
+ super(...arguments), this.type = "grid-brush", this.renderType = j.SVG, this.selectionSelector = "rect.selection", this.frontSelectionSelector = "rect.frontSelection";
2988
3000
  }
2989
3001
  // needs to match the class name in _grid-brush.scss
2990
3002
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -3005,24 +3017,24 @@ const ct = class ct extends q {
3005
3017
  if (p && d === ue.TIME) {
3006
3018
  let g = this.model.get("zoomDomain");
3007
3019
  g === void 0 && (g = this.services.zoom.getDefaultZoomBarDomain(), g && this.model.set({ zoomDomain: g }, { animate: !1 }));
3008
- const m = (M) => {
3009
- const L = M[1] - M[0];
3020
+ const m = (w) => {
3021
+ const L = w[1] - w[0];
3010
3022
  let I = "0," + L.toString();
3011
- const N = Math.floor(l / ct.DASH_LENGTH), j = N * ct.DASH_LENGTH;
3012
- for (let D = 0; D < N; D++)
3023
+ const N = Math.floor(l / ct.DASH_LENGTH), W = N * ct.DASH_LENGTH;
3024
+ for (let R = 0; R < N; R++)
3013
3025
  I += "," + ct.DASH_LENGTH;
3014
- I += "," + (l - j), N % 2 === 1 && (I += ",0"), I += "," + L.toString(), I += "," + l.toString(), u.attr("stroke-dasharray", I);
3015
- }, E = (M) => {
3016
- const L = M.selection;
3026
+ I += "," + (l - W), N % 2 === 1 && (I += ",0"), I += "," + L.toString(), I += "," + l.toString(), u.attr("stroke-dasharray", I);
3027
+ }, E = (w) => {
3028
+ const L = w.selection;
3017
3029
  L === null || L[0] === L[1] || (u.attr("x", parseFloat(i.attr("x")) + parseFloat(s.attr("x"))).attr("y", i.attr("y")).attr("width", i.attr("width")).attr("height", i.attr("height")).style("cursor", "pointer").style("display", null), m(L));
3018
- }, O = (M, L) => {
3019
- const I = Ja().range([0, r]).domain(g);
3020
- let N = [I.invert(M), I.invert(L)];
3030
+ }, O = (w, L) => {
3031
+ const I = Qa().range([0, r]).domain(g);
3032
+ let N = [I.invert(w), I.invert(L)];
3021
3033
  N[0].valueOf() === N[1].valueOf() && (N = this.services.zoom.getDefaultZoomBarDomain()), (g[0].valueOf() !== N[0].valueOf() || g[1].valueOf() !== N[1].valueOf()) && this.services.zoom.handleDomainChange(N);
3022
3034
  };
3023
3035
  let T;
3024
- const y = (M) => {
3025
- const L = M.selection;
3036
+ const y = (w) => {
3037
+ const L = w.selection;
3026
3038
  L !== null && (O(L[0], L[1]), a.call(T.move, null), u.style("display", "none"));
3027
3039
  };
3028
3040
  l != 0 && r != 0 && (T = Qs().extent([
@@ -3030,13 +3042,13 @@ const ct = class ct extends q {
3030
3042
  [r - 1, l]
3031
3043
  ]).on("start brush end", E).on("end.brushed", y), a.call(T));
3032
3044
  const A = this.services.zoom.getZoomRatio();
3033
- s.on("click", function(M) {
3034
- if (M.shiftKey) {
3035
- const L = this.services.domUtils.getHolder(), I = Ft(a.node(), L)[0];
3045
+ s.on("click", function(w) {
3046
+ if (w.shiftKey) {
3047
+ const L = this.services.domUtils.getHolder(), I = Wt(a.node(), L)[0];
3036
3048
  let N = I - r * A / 2;
3037
3049
  N < 0 && (N = 0);
3038
- let j = I + r * A / 2;
3039
- j > r && (j = r), O(N, j);
3050
+ let W = I + r * A / 2;
3051
+ W > r && (W = r), O(N, W);
3040
3052
  }
3041
3053
  });
3042
3054
  }
@@ -3044,9 +3056,9 @@ const ct = class ct extends q {
3044
3056
  };
3045
3057
  ct.DASH_LENGTH = 4;
3046
3058
  let Us = ct;
3047
- class ph extends q {
3059
+ class yh extends q {
3048
3060
  constructor() {
3049
- super(...arguments), this.type = "zoom-bar", this.renderType = W.SVG, this.MIN_SELECTION_DIFF = 9e-10, this.brushSelector = "g.zoom-bar-brush", this.clipId = "zoomBarClip-" + Math.floor(Math.random() * 99999999999), this.brush = Qs(), this.highlightStrokeWidth = 1;
3061
+ super(...arguments), this.type = "zoom-bar", this.renderType = j.SVG, this.MIN_SELECTION_DIFF = 9e-10, this.brushSelector = "g.zoom-bar-brush", this.clipId = "zoomBarClip-" + Math.floor(Math.random() * 99999999999), this.brush = Qs(), this.highlightStrokeWidth = 1;
3050
3062
  }
3051
3063
  init() {
3052
3064
  this.services.events.addEventListener(f.ZoomBar.UPDATE, this.render.bind(this));
@@ -3057,7 +3069,7 @@ class ph extends q {
3057
3069
  // @ts-ignore
3058
3070
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
3059
3071
  render(e = !0) {
3060
- const t = this.getComponentContainer(), n = this.services.zoom.isZoomBarLoading(G.TOP), s = this.services.zoom.isZoomBarLocked(G.TOP), a = v(this.getOptions(), "zoomBar", G.TOP, "type"), i = v(this.getOptions(), "axes", G.BOTTOM, "highlights"), r = Me.height[a], { width: l } = S.getSVGElementSize(this.parent, {
3072
+ const t = this.getComponentContainer(), n = this.services.zoom.isZoomBarLoading(G.TOP), s = this.services.zoom.isZoomBarLocked(G.TOP), a = v(this.getOptions(), "zoomBar", G.TOP, "type"), i = v(this.getOptions(), "axes", G.BOTTOM, "highlights"), r = we.height[a], { width: l } = S.getSVGElementSize(this.parent, {
3061
3073
  useAttrs: !0
3062
3074
  });
3063
3075
  if (l === 0)
@@ -3066,7 +3078,7 @@ class ph extends q {
3066
3078
  const d = this.model.get("axesMargins");
3067
3079
  d && d.left && (c = d.left);
3068
3080
  const p = S.appendOrSelect(t, "svg.zoom-container").attr("width", "100%").attr("height", r).attr("opacity", 1);
3069
- if (S.appendOrSelect(t, "rect.zoom-spacer").attr("x", 0).attr("y", r).attr("width", "100%").attr("height", Me.spacerHeight).attr("opacity", 1).attr("fill", "none"), a === nt.GRAPH_VIEW ? S.appendOrSelect(p, "rect.zoom-bg").attr("x", c).attr("y", 0).attr("width", l - c).attr("height", "100%").classed("zoom-bg-skeleton", n).style(
3081
+ if (S.appendOrSelect(t, "rect.zoom-spacer").attr("x", 0).attr("y", r).attr("width", "100%").attr("height", we.spacerHeight).attr("opacity", 1).attr("fill", "none"), a === nt.GRAPH_VIEW ? S.appendOrSelect(p, "rect.zoom-bg").attr("x", c).attr("y", 0).attr("width", l - c).attr("height", "100%").classed("zoom-bg-skeleton", n).style(
3070
3082
  "stroke",
3071
3083
  n ? `url(#${this.services.domUtils.generateElementIDString("shimmer-lines")})` : null
3072
3084
  ) : a === nt.SLIDER_VIEW && S.appendOrSelect(p, "rect.zoom-slider-bg").attr("x", c).attr("y", r / 2 - 1).attr("width", l - c).attr("height", 2).classed("zoom-slider-bg-skeleton", n).style(
@@ -3103,40 +3115,40 @@ class ph extends q {
3103
3115
  zoomDomain: dt([], O)
3104
3116
  },
3105
3117
  { skipUpdate: !0 }
3106
- ), this.xScale.range([c, l]).domain(O), this.maxSelectionRange = this.xScale.range(), this.yScale.range([0, r - 6]).domain(Wt(E, (L) => L.value));
3118
+ ), this.xScale.range([c, l]).domain(O), this.maxSelectionRange = this.xScale.range(), this.yScale.range([0, r - 6]).domain(jt(E, (L) => L.value));
3107
3119
  const A = this.model.get("zoomDomain");
3108
3120
  if (a === nt.GRAPH_VIEW && (this.renderZoomBarArea(p, "path.zoom-graph-area-unselected", E, null), this.updateClipPath(t, this.clipId, 0, 0, 0, 0), this.renderZoomBarArea(p, "path.zoom-graph-area", E, this.clipId), this.renderZoomBarBaseline(p, c, l), i)) {
3109
- const L = i.highlightStartMapsTo, I = i.highlightEndMapsTo, N = i.color, j = i.labelMapsTo;
3110
- i.data.forEach((D, C) => {
3111
- S.appendOrSelect(p, `rect.highlight-${C}`).attr("height", r - 2 * this.highlightStrokeWidth).attr("y", this.highlightStrokeWidth).attr("x", this.xScale(D[L])).attr(
3121
+ const L = i.highlightStartMapsTo, I = i.highlightEndMapsTo, N = i.color, W = i.labelMapsTo;
3122
+ i.data.forEach((R, C) => {
3123
+ S.appendOrSelect(p, `rect.highlight-${C}`).attr("height", r - 2 * this.highlightStrokeWidth).attr("y", this.highlightStrokeWidth).attr("x", this.xScale(R[L])).attr(
3112
3124
  "width",
3113
- this.xScale(D[I]) - this.xScale(D[L])
3125
+ this.xScale(R[I]) - this.xScale(R[L])
3114
3126
  ).style(
3115
3127
  "fill",
3116
- N && N.scale[D[j]] ? N.scale[D[j]] : null
3128
+ N && N.scale[R[W]] ? N.scale[R[W]] : null
3117
3129
  ).style("fill-opacity", 0.1).style(
3118
3130
  "stroke",
3119
- N && N.scale[D[j]] ? N.scale[D[j]] : null
3131
+ N && N.scale[R[W]] ? N.scale[R[W]] : null
3120
3132
  ).style("stroke-dasharray", "2, 2").attr("stroke-width", "1px");
3121
3133
  });
3122
3134
  }
3123
3135
  this.addBrushEventListener(A, c, l);
3124
- const M = S.appendOrSelect(t, this.brushSelector).call(this.brush);
3136
+ const w = S.appendOrSelect(t, this.brushSelector).call(this.brush);
3125
3137
  if (A !== void 0)
3126
3138
  if (A[0].valueOf() === A[1].valueOf())
3127
- M.call(this.brush.move, this.xScale.range()), this.updateBrushHandle(this.getComponentContainer(), this.xScale.range());
3139
+ w.call(this.brush.move, this.xScale.range()), this.updateBrushHandle(this.getComponentContainer(), this.xScale.range());
3128
3140
  else {
3129
3141
  const L = A.map((I) => this.xScale(I));
3130
- L[1] - L[0] < this.MIN_SELECTION_DIFF || (M.call(this.brush.move, L), this.updateBrushHandle(this.getComponentContainer(), L));
3142
+ L[1] - L[0] < this.MIN_SELECTION_DIFF || (w.call(this.brush.move, L), this.updateBrushHandle(this.getComponentContainer(), L));
3131
3143
  }
3132
- s && (this.brush.filter(() => !1), M.selectAll("rect").attr("cursor", "auto"));
3144
+ s && (this.brush.filter(() => !1), w.selectAll("rect").attr("cursor", "auto"));
3133
3145
  }
3134
3146
  }
3135
3147
  addBrushEventListener(e, t, n) {
3136
3148
  const s = (r) => {
3137
3149
  const l = r.selection;
3138
3150
  l === null ? this.handleBrushedEvent(r, e, this.xScale, this.xScale.range()) : l[0] === l[1] || this.handleBrushedEvent(r, e, this.xScale, l);
3139
- }, a = v(this.getOptions(), "zoomBar", G.TOP, "type"), i = Me.height[a];
3151
+ }, a = v(this.getOptions(), "zoomBar", G.TOP, "type"), i = we.height[a];
3140
3152
  this.brush.extent([
3141
3153
  [t, 0],
3142
3154
  [n, i]
@@ -3159,7 +3171,7 @@ class ph extends q {
3159
3171
  }
3160
3172
  }
3161
3173
  updateBrushHandle(e, t) {
3162
- const n = this, s = Me.handleWidth, a = v(this.getOptions(), "zoomBar", G.TOP, "type"), i = Me.height[a], r = -s / 2, l = Me.handleBarWidth, c = a === nt.GRAPH_VIEW ? Me.handleBarHeight : 6, d = -l / 2, p = (i - c) / 2;
3174
+ const n = this, s = we.handleWidth, a = v(this.getOptions(), "zoomBar", G.TOP, "type"), i = we.height[a], r = -s / 2, l = we.handleBarWidth, c = a === nt.GRAPH_VIEW ? we.handleBarHeight : 6, d = -l / 2, p = (i - c) / 2;
3163
3175
  e.select(this.brushSelector).selectAll("rect.handle").data([{ type: "w" }, { type: "e" }]).attr("x", function(u) {
3164
3176
  if (u.type === "w")
3165
3177
  return Math.max(t[0] + r, n.maxSelectionRange[0]);
@@ -3190,11 +3202,11 @@ class ph extends q {
3190
3202
  );
3191
3203
  }
3192
3204
  updateSliderSelectedArea(e) {
3193
- const t = v(this.getOptions(), "zoomBar", G.TOP, "type"), n = Me.height[t], a = this.getComponentContainer().select("svg.zoom-container");
3205
+ const t = v(this.getOptions(), "zoomBar", G.TOP, "type"), n = we.height[t], a = this.getComponentContainer().select("svg.zoom-container");
3194
3206
  S.appendOrSelect(a, "rect.zoom-slider-selected-area").attr("x", e[0]).attr("y", n / 2 - 1).attr("width", e[1] - e[0]).attr("height", 2);
3195
3207
  }
3196
3208
  renderZoomBarArea(e, t, n, s) {
3197
- const { cartesianScales: a } = this.services, i = a.getMainXAxisPosition(), r = a.getMainYAxisPosition(), l = a.getMainXScaleType(), c = a.getMainYScaleType(), d = (O, T, y) => (A) => a.getValueFromScale(O, T, y, A), p = d(this.xScale, l, i), h = d(this.yScale, c, r), u = v(this.getOptions(), "zoomBar", G.TOP, "type"), g = Me.height[u], m = Nn().x((O) => p(O)).y0(g).y1((O) => g - h(O)), E = S.appendOrSelect(e, t).datum(n).attr("d", m);
3209
+ const { cartesianScales: a } = this.services, i = a.getMainXAxisPosition(), r = a.getMainYAxisPosition(), l = a.getMainXScaleType(), c = a.getMainYScaleType(), d = (O, T, y) => (A) => a.getValueFromScale(O, T, y, A), p = d(this.xScale, l, i), h = d(this.yScale, c, r), u = v(this.getOptions(), "zoomBar", G.TOP, "type"), g = we.height[u], m = Nn().x((O) => p(O)).y0(g).y1((O) => g - h(O)), E = S.appendOrSelect(e, t).datum(n).attr("d", m);
3198
3210
  s && E.attr("clip-path", `url(#${s})`);
3199
3211
  }
3200
3212
  updateClipPath(e, t, n, s, a, i) {
@@ -3205,7 +3217,7 @@ class ph extends q {
3205
3217
  compensateDataForDefaultDomain(e, t) {
3206
3218
  if (!e || e.length < 2)
3207
3219
  return;
3208
- const n = ja(e), s = this.services.cartesianScales.getDomainIdentifier(), a = this.services.cartesianScales.getRangeIdentifier();
3220
+ const n = Xa(e), s = this.services.cartesianScales.getDomainIdentifier(), a = this.services.cartesianScales.getRangeIdentifier();
3209
3221
  if (Number(t[0]) < Number(n[0][s])) {
3210
3222
  const i = {};
3211
3223
  i[s] = t[0], i[a] = 0, n.unshift(i);
@@ -3222,7 +3234,7 @@ class ph extends q {
3222
3234
  "zoomBar",
3223
3235
  G.TOP,
3224
3236
  "type"
3225
- ), i = Me.height[a], r = Pn()([
3237
+ ), i = we.height[a], r = Pn()([
3226
3238
  [t, i],
3227
3239
  [n, i]
3228
3240
  ]);
@@ -3238,9 +3250,9 @@ class ph extends q {
3238
3250
  this.brush.on("start brush end", null), this.services.events.removeEventListener(f.ZoomBar.UPDATE, this.render.bind(this));
3239
3251
  }
3240
3252
  }
3241
- class gh extends q {
3253
+ class Eh extends q {
3242
3254
  constructor(e, t) {
3243
- super(e, t), this.type = "threshold", this.renderType = W.SVG, this.positionService = new jt();
3255
+ super(e, t), this.type = "threshold", this.renderType = j.SVG, this.positionService = new Xt();
3244
3256
  }
3245
3257
  render(e = !1) {
3246
3258
  const t = v(this.getOptions(), "axes"), n = [];
@@ -3272,36 +3284,36 @@ class gh extends q {
3272
3284
  ), g = p.services.cartesianScales.getScaleTypeByPosition(h);
3273
3285
  let m = null, E = null;
3274
3286
  h === G.LEFT || h === G.RIGHT ? (E = u, m = p.services.cartesianScales.getMainXScale()) : (m = u, E = p.services.cartesianScales.getMainYScale());
3275
- const O = g === ue.LABELS, [T, y] = m.range(), [A, M] = E.range(), { cartesianScales: L } = p.services, I = L.getOrientation(), N = (z) => L.getDomainValue(z), j = (z) => L.getRangeValue(z), [D, C] = He(
3287
+ const O = g === ue.LABELS, [T, y] = m.range(), [A, w] = E.range(), { cartesianScales: L } = p.services, I = L.getOrientation(), N = (F) => L.getDomainValue(F), W = (F) => L.getRangeValue(F), [R, C] = He(
3276
3288
  N,
3277
- j,
3289
+ W,
3278
3290
  I
3279
3291
  ), V = x(this);
3280
3292
  h === G.TOP || h === G.BOTTOM ? (V.selectAll("line.threshold-line").transition().call(
3281
- (z) => p.services.transitions.setupTransition({
3282
- transition: z,
3293
+ (F) => p.services.transitions.setupTransition({
3294
+ transition: F,
3283
3295
  name: "threshold-line-update",
3284
3296
  animate: e
3285
3297
  })
3286
- ).attr("y1", M).attr("y2", A).attr(
3298
+ ).attr("y1", w).attr("y2", A).attr(
3287
3299
  "x1",
3288
- ({ datum: z }) => D(z) + (O ? u.step() / 2 : 0)
3300
+ ({ datum: F }) => R(F) + (O ? u.step() / 2 : 0)
3289
3301
  ).attr(
3290
3302
  "x2",
3291
- ({ datum: z }) => D(z) + (O ? u.step() / 2 : 0)
3292
- ).style("stroke", ({ fillColor: z }) => z), V.selectAll("rect.threshold-hoverable-area").attr("x", 0).attr("y", ({ datum: z }) => -D(z)).attr("width", Math.abs(A - M)).classed("rotate", !0)) : (V.selectAll("line.threshold-line").transition().call(
3293
- (z) => p.services.transitions.setupTransition({
3294
- transition: z,
3303
+ ({ datum: F }) => R(F) + (O ? u.step() / 2 : 0)
3304
+ ).style("stroke", ({ fillColor: F }) => F), V.selectAll("rect.threshold-hoverable-area").attr("x", 0).attr("y", ({ datum: F }) => -R(F)).attr("width", Math.abs(A - w)).classed("rotate", !0)) : (V.selectAll("line.threshold-line").transition().call(
3305
+ (F) => p.services.transitions.setupTransition({
3306
+ transition: F,
3295
3307
  name: "threshold-line-update",
3296
3308
  animate: e
3297
3309
  })
3298
3310
  ).attr("x1", T).attr("x2", y).attr(
3299
3311
  "y1",
3300
- ({ datum: z }) => C(z) + (O ? u.step() / 2 : 0)
3312
+ ({ datum: F }) => C(F) + (O ? u.step() / 2 : 0)
3301
3313
  ).attr(
3302
3314
  "y2",
3303
- ({ datum: z }) => C(z) + (O ? u.step() / 2 : 0)
3304
- ).style("stroke", ({ fillColor: z }) => z), V.selectAll("rect.threshold-hoverable-area").attr("x", T).attr("y", ({ datum: z }) => C(z)).attr("width", Math.abs(y - T)).classed("rotate", !1));
3315
+ ({ datum: F }) => C(F) + (O ? u.step() / 2 : 0)
3316
+ ).style("stroke", ({ fillColor: F }) => F), V.selectAll("rect.threshold-hoverable-area").attr("x", T).attr("y", ({ datum: F }) => C(F)).attr("width", Math.abs(y - T)).classed("rotate", !1));
3305
3317
  }), this.services.events.addEventListener(f.Threshold.SHOW, (h) => {
3306
3318
  this.setThresholdLabelPosition(h.detail), this.label.classed("hidden", !1);
3307
3319
  }), this.services.events.addEventListener(f.Threshold.HIDE, () => {
@@ -3323,11 +3335,11 @@ class gh extends q {
3323
3335
  const e = x(this.services.domUtils.getHolder()), t = v(this.getOptions(), "style", "prefix");
3324
3336
  this.label = S.appendOrSelect(
3325
3337
  e,
3326
- `div.${we}--${t}--threshold--label`
3338
+ `div.${Me}--${t}--threshold--label`
3327
3339
  ).classed("hidden", !0);
3328
3340
  }
3329
3341
  setThresholdLabelPosition({ event: e, datum: t }) {
3330
- const n = this.services.domUtils.getHolder(), s = Ft(e, n), a = t.valueFormatter ? t.valueFormatter(t.value) : this.getFormattedValue(t);
3342
+ const n = this.services.domUtils.getHolder(), s = Wt(e, n), a = t.valueFormatter ? t.valueFormatter(t.value) : this.getFormattedValue(t);
3331
3343
  this.label.html(De(`${t.label || "Threshold"}: ${a}`)).style("background-color", t.fillColor);
3332
3344
  const i = this.label.node(), r = this.positionService.findBestPlacementAt(
3333
3345
  {
@@ -3376,9 +3388,9 @@ class gh extends q {
3376
3388
  });
3377
3389
  }
3378
3390
  }
3379
- class mh extends q {
3391
+ class bh extends q {
3380
3392
  constructor(e, t) {
3381
- super(e, t), this.type = "highlight", this.renderType = W.SVG, this.positionService = new jt(), this.highlightStrokeWidth = 1;
3393
+ super(e, t), this.type = "highlight", this.renderType = j.SVG, this.positionService = new Xt(), this.highlightStrokeWidth = 1;
3382
3394
  }
3383
3395
  render(e = !1) {
3384
3396
  const t = v(this.getOptions(), "axes"), n = [];
@@ -3407,34 +3419,34 @@ class mh extends q {
3407
3419
  c.append("rect").attr("class", "highlight-bar"), c.append("line").attr("class", "highlight-line"), c.merge(l).attr("class", "highlight-group");
3408
3420
  const p = this;
3409
3421
  r.each(function({ axisPosition: h }) {
3410
- const u = p.services.cartesianScales.getMainXScale(), g = p.services.cartesianScales.getMainYScale(), [m, E] = u.range(), [O, T] = g.range(), { cartesianScales: y } = p.services, A = y.getOrientation(), M = (D) => y.getDomainValue(D), L = (D) => y.getRangeValue(D), [I, N] = He(
3411
- M,
3422
+ const u = p.services.cartesianScales.getMainXScale(), g = p.services.cartesianScales.getMainYScale(), [m, E] = u.range(), [O, T] = g.range(), { cartesianScales: y } = p.services, A = y.getOrientation(), w = (R) => y.getDomainValue(R), L = (R) => y.getRangeValue(R), [I, N] = He(
3423
+ w,
3412
3424
  L,
3413
3425
  A
3414
- ), j = x(this);
3415
- h === G.TOP || h === G.BOTTOM ? j.selectAll("rect.highlight-bar").transition().call(
3416
- (D) => p.services.transitions.setupTransition({
3417
- transition: D,
3426
+ ), W = x(this);
3427
+ h === G.TOP || h === G.BOTTOM ? W.selectAll("rect.highlight-bar").transition().call(
3428
+ (R) => p.services.transitions.setupTransition({
3429
+ transition: R,
3418
3430
  name: "highlight-bar-update",
3419
3431
  animate: e
3420
3432
  })
3421
- ).attr("y", Math.max(T + p.highlightStrokeWidth, 0)).attr("height", Math.max(O - 2 * p.highlightStrokeWidth, 0)).attr("x", ({ highlightStartMapsTo: D, ...C }) => I(C[D])).attr(
3433
+ ).attr("y", Math.max(T + p.highlightStrokeWidth, 0)).attr("height", Math.max(O - 2 * p.highlightStrokeWidth, 0)).attr("x", ({ highlightStartMapsTo: R, ...C }) => I(C[R])).attr(
3422
3434
  "width",
3423
- ({ highlightStartMapsTo: D, highlightEndMapsTo: C, ...V }) => Math.max(I(V[C]) - I(V[D]), 0)
3424
- ).style("stroke", ({ color: D, labelMapsTo: C, ...V }) => D && D.scale[V[C]] ? D.scale[V[C]] : null).style("stroke-dasharray", "2, 2").attr("stroke-width", p.highlightStrokeWidth + "px").style("fill-opacity", 0.1).style("fill", ({ color: D, labelMapsTo: C, ...V }) => D && D.scale[V[C]] ? D.scale[V[C]] : null) : j.selectAll("rect.highlight-bar").transition().call(
3425
- (D) => p.services.transitions.setupTransition({
3426
- transition: D,
3435
+ ({ highlightStartMapsTo: R, highlightEndMapsTo: C, ...V }) => Math.max(I(V[C]) - I(V[R]), 0)
3436
+ ).style("stroke", ({ color: R, labelMapsTo: C, ...V }) => R && R.scale[V[C]] ? R.scale[V[C]] : null).style("stroke-dasharray", "2, 2").attr("stroke-width", p.highlightStrokeWidth + "px").style("fill-opacity", 0.1).style("fill", ({ color: R, labelMapsTo: C, ...V }) => R && R.scale[V[C]] ? R.scale[V[C]] : null) : W.selectAll("rect.highlight-bar").transition().call(
3437
+ (R) => p.services.transitions.setupTransition({
3438
+ transition: R,
3427
3439
  name: "highlight-bar-update",
3428
3440
  animate: e
3429
3441
  })
3430
- ).attr("x", m).attr("width", Math.max(E - m, 0)).attr("y", ({ highlightEndMapsTo: D, ...C }) => N(C[D])).attr(
3442
+ ).attr("x", m).attr("width", Math.max(E - m, 0)).attr("y", ({ highlightEndMapsTo: R, ...C }) => N(C[R])).attr(
3431
3443
  "height",
3432
- ({ highlightStartMapsTo: D, highlightEndMapsTo: C, ...V }) => Math.max(N(V[D]) - N(V[C]), 0)
3433
- ).style("stroke", ({ color: D, labelMapsTo: C, ...V }) => D && D.scale[V[C]] ? D.scale[V[C]] : null).style("stroke-dasharray", "2, 2").attr("stroke-width", p.highlightStrokeWidth + "px").style("fill-opacity", 0.1).style("fill", ({ color: D, labelMapsTo: C, ...V }) => D && D.scale[V[C]] ? D.scale[V[C]] : null);
3444
+ ({ highlightStartMapsTo: R, highlightEndMapsTo: C, ...V }) => Math.max(N(V[R]) - N(V[C]), 0)
3445
+ ).style("stroke", ({ color: R, labelMapsTo: C, ...V }) => R && R.scale[V[C]] ? R.scale[V[C]] : null).style("stroke-dasharray", "2, 2").attr("stroke-width", p.highlightStrokeWidth + "px").style("fill-opacity", 0.1).style("fill", ({ color: R, labelMapsTo: C, ...V }) => R && R.scale[V[C]] ? R.scale[V[C]] : null);
3434
3446
  });
3435
3447
  }
3436
3448
  }
3437
- class fh extends pl {
3449
+ class Sh extends yl {
3438
3450
  getItems(e) {
3439
3451
  if (e.detail.items)
3440
3452
  return e.detail.items;
@@ -3485,7 +3497,7 @@ class fh extends pl {
3485
3497
  value: h[r],
3486
3498
  color: this.model.getFillColor(h[r]),
3487
3499
  class: this.model.getColorClassName({
3488
- classNameTypes: [F.TOOLTIP],
3500
+ classNameTypes: [z.TOOLTIP],
3489
3501
  dataGroupName: h[r]
3490
3502
  })
3491
3503
  });
@@ -3502,7 +3514,7 @@ class fh extends pl {
3502
3514
  value: Array.isArray(u) && u.length === 2 ? `${u[0]} - ${u[1]}` : u,
3503
3515
  color: this.model.getFillColor(h[r]),
3504
3516
  class: this.model.getColorClassName({
3505
- classNameTypes: [F.TOOLTIP],
3517
+ classNameTypes: [z.TOOLTIP],
3506
3518
  dataGroupName: h[r]
3507
3519
  })
3508
3520
  };
@@ -3521,9 +3533,9 @@ class fh extends pl {
3521
3533
  return p;
3522
3534
  }
3523
3535
  }
3524
- class vh extends q {
3536
+ class Oh extends q {
3525
3537
  constructor() {
3526
- super(...arguments), this.type = "alluvial", this.renderType = W.SVG, this.gradient_id = "gradient-id-" + Math.floor(Math.random() * 99999999999);
3538
+ super(...arguments), this.type = "alluvial", this.renderType = j.SVG, this.gradient_id = "gradient-id-" + Math.floor(Math.random() * 99999999999);
3527
3539
  }
3528
3540
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
3529
3541
  // @ts-ignore
@@ -3542,12 +3554,12 @@ class vh extends q {
3542
3554
  "gradient",
3543
3555
  "enabled"
3544
3556
  );
3545
- let l = ke.minNodePadding;
3546
- a.alluvial.nodePadding > ke.minNodePadding && (l = a.alluvial.nodePadding);
3557
+ let l = Re.minNodePadding;
3558
+ a.alluvial.nodePadding > Re.minNodePadding && (l = a.alluvial.nodePadding);
3547
3559
  const c = v(a, "alluvial", "nodeAlignment");
3548
- let d = wi;
3549
- c === Ce.LEFT ? d = Ci : c === Ce.RIGHT && (d = _i);
3550
- const p = Ai().nodeId((y) => y.name).nodeWidth(ke.nodeWidth).nodePadding(l).nodeAlign(d).extent([
3560
+ let d = Ci;
3561
+ c === Ce.LEFT ? d = _i : c === Ce.RIGHT && (d = Ii);
3562
+ const p = wi().nodeId((y) => y.name).nodeWidth(Re.nodeWidth).nodePadding(l).nodeAlign(d).extent([
3551
3563
  [2, 30],
3552
3564
  [n - 2, s]
3553
3565
  ]);
@@ -3563,9 +3575,9 @@ class vh extends q {
3563
3575
  "id",
3564
3576
  (y, A) => this.services.domUtils.generateElementIDString(`alluvial-category-${A}`)
3565
3577
  ).style("font-size", "14px").text((y) => h[y] ? h[y] : "").attr("y", 20).attr("x", (y, A) => {
3566
- const M = this.services.domUtils.generateElementIDString(
3578
+ const w = this.services.domUtils.generateElementIDString(
3567
3579
  `alluvial-category-${A}`
3568
- ), { width: L } = S.getSVGElementSize(x(`text#${M}`), {
3580
+ ), { width: L } = S.getSVGElementSize(x(`text#${w}`), {
3569
3581
  useBBox: !0
3570
3582
  });
3571
3583
  let I = 0;
@@ -3575,27 +3587,27 @@ class vh extends q {
3575
3587
  if (g.exit().remove(), r) {
3576
3588
  const y = v(this.getOptions(), "color", "scale");
3577
3589
  y && g.enter().append("linearGradient").attr("id", (A) => `${this.gradient_id}-link-${A.index}`).attr("gradientUnits", "userSpaceOnUse").call(
3578
- (A) => A.append("stop").attr("offset", "0%").attr("stop-color", (M) => y[M.source.name])
3590
+ (A) => A.append("stop").attr("offset", "0%").attr("stop-color", (w) => y[w.source.name])
3579
3591
  ).call(
3580
- (A) => A.append("stop").attr("offset", "100%").attr("stop-color", (M) => y[M.target.name])
3592
+ (A) => A.append("stop").attr("offset", "100%").attr("stop-color", (w) => y[w.target.name])
3581
3593
  ), g.exit().remove();
3582
3594
  }
3583
3595
  g.enter().append("path").classed("link", !0).attr("d", Mi()).attr(
3584
3596
  "id",
3585
3597
  (y) => this.services.domUtils.generateElementIDString(`alluvial-line-${y.index}`)
3586
3598
  ).attr("class", (y) => a.alluvial.monochrome ? this.model.getColorClassName({
3587
- classNameTypes: [F.STROKE],
3599
+ classNameTypes: [z.STROKE],
3588
3600
  dataGroupName: 0,
3589
3601
  originalClassName: "link"
3590
3602
  }) : this.model.getColorClassName({
3591
- classNameTypes: [F.STROKE],
3603
+ classNameTypes: [z.STROKE],
3592
3604
  dataGroupName: y.source.index,
3593
3605
  originalClassName: "link"
3594
3606
  })).style("stroke", (y) => r ? `url(#${this.gradient_id}-link-${y.index})` : this.model.getFillColor(y.source.name, null, {
3595
3607
  ...y,
3596
3608
  source: y.source.name,
3597
3609
  target: y.target.name
3598
- })).attr("stroke-width", (y) => Math.max(1, y.width)).style("stroke-opacity", ke.opacity.default).attr(
3610
+ })).attr("stroke-width", (y) => Math.max(1, y.width)).style("stroke-opacity", Re.opacity.default).attr(
3599
3611
  "aria-label",
3600
3612
  (y) => `${y.source.name} → ${y.target.name} (${y.value}${a.alluvial.units ? " " + a.alluvial.units : ""})`
3601
3613
  );
@@ -3612,16 +3624,16 @@ class vh extends q {
3612
3624
  "id",
3613
3625
  (y) => this.services.domUtils.generateElementIDString(`alluvial-node-text-${y.index}`)
3614
3626
  ).attr("class", "node-text").style("font-size", "12px").attr("text-anchor", "start").attr("fill", "white").attr("x", 4).attr("dy", 13).text((y) => `${y.name} (${T(y.value, O)})`).attr("aria-label", (y) => `${y.name} (${y.value})`), E.append("rect").classed("node-text-bg", !0).attr("width", (y, A) => {
3615
- const M = this.services.domUtils.generateElementIDString(
3627
+ const w = this.services.domUtils.generateElementIDString(
3616
3628
  `alluvial-node-text-${A}`
3617
- ), { width: L } = S.getSVGElementSize(x(`text#${M}`), {
3629
+ ), { width: L } = S.getSVGElementSize(x(`text#${w}`), {
3618
3630
  useBBox: !0
3619
3631
  });
3620
3632
  return L + 8;
3621
3633
  }).attr("height", 18).attr("stroke-width", 2).lower(), E.attr("transform", (y, A) => {
3622
- const M = this.services.domUtils.generateElementIDString(
3634
+ const w = this.services.domUtils.generateElementIDString(
3623
3635
  `alluvial-node-text-${A}`
3624
- ), { width: L } = S.getSVGElementSize(x(`text#${M}`), {
3636
+ ), { width: L } = S.getSVGElementSize(x(`text#${w}`), {
3625
3637
  useBBox: !0
3626
3638
  }), I = (y.y1 - y.y0) / 2 - 9;
3627
3639
  let N = y.x1 - y.x0;
@@ -3636,8 +3648,8 @@ class vh extends q {
3636
3648
  name: "alluvial-links-mouse-highlight"
3637
3649
  })
3638
3650
  );
3639
- r === "mouseout" ? (x(i).lower(), l.style("stroke-opacity", ke.opacity.default)) : l.style("stroke-opacity", function() {
3640
- return i === this ? (x(this).raise(), ke.opacity.selected) : ke.opacity.unfocus;
3651
+ r === "mouseout" ? (x(i).lower(), l.style("stroke-opacity", Re.opacity.default)) : l.style("stroke-opacity", function() {
3652
+ return i === this ? (x(this).raise(), Re.opacity.selected) : Re.opacity.unfocus;
3641
3653
  });
3642
3654
  }, 33);
3643
3655
  this.parent.selectAll("path.link").on("mouseover", function(i, r) {
@@ -3689,7 +3701,7 @@ class vh extends q {
3689
3701
  addNodeEventListener() {
3690
3702
  const e = this, t = vn((n = [], s = "mouseover") => {
3691
3703
  if (s === "mouseout" || n.length === 0) {
3692
- e.parent.selectAll("path.link").classed("link-hovered", !1).data(this.graph.links, (i) => i.index).order().style("stroke-opacity", ke.opacity.default);
3704
+ e.parent.selectAll("path.link").classed("link-hovered", !1).data(this.graph.links, (i) => i.index).order().style("stroke-opacity", Re.opacity.default);
3693
3705
  return;
3694
3706
  }
3695
3707
  e.parent.selectAll("path.link").transition().call(
@@ -3698,7 +3710,7 @@ class vh extends q {
3698
3710
  name: "alluvial-link-mouse-highlight"
3699
3711
  })
3700
3712
  ).style("stroke-opacity", function(i) {
3701
- return n.some((r) => r === i.index) ? (x(this).classed("link-hovered", !0).raise(), ke.opacity.selected) : ke.opacity.unfocus;
3713
+ return n.some((r) => r === i.index) ? (x(this).classed("link-hovered", !0).raise(), Re.opacity.selected) : Re.opacity.unfocus;
3702
3714
  });
3703
3715
  }, 66);
3704
3716
  e.parent.selectAll(".node-group").on("mouseover", function(n, s) {
@@ -3736,7 +3748,7 @@ class vh extends q {
3736
3748
  });
3737
3749
  }).on("mouseout", function(n, s) {
3738
3750
  const a = x(this), i = bt(a.attr("transform"));
3739
- if (a.classed("node-hovered", !1).attr("transform", `translate(${i.x + 2}, ${i.y})`).select("rect.node").attr("width", ke.nodeWidth), s.x0 - 2 === 0) {
3751
+ if (a.classed("node-hovered", !1).attr("transform", `translate(${i.x + 2}, ${i.y})`).select("rect.node").attr("width", Re.nodeWidth), s.x0 - 2 === 0) {
3740
3752
  const l = e.services.domUtils.generateElementIDString(
3741
3753
  `alluvial-node-title-${s.index}`
3742
3754
  ), c = e.parent.select(`g#${l}`), d = bt(c.attr("transform"));
@@ -3770,9 +3782,9 @@ class vh extends q {
3770
3782
  this.parent.selectAll("path.line,.node-group").on("mouseover", null).on("mousemove", null).on("click", null).on("mouseout", null);
3771
3783
  }
3772
3784
  }
3773
- class yh extends q {
3785
+ class xh extends q {
3774
3786
  constructor() {
3775
- super(...arguments), this.type = "grid", this.renderType = W.SVG;
3787
+ super(...arguments), this.type = "grid", this.renderType = j.SVG;
3776
3788
  }
3777
3789
  render(e = !0) {
3778
3790
  const t = v(this.getOptions(), "grid", "x", "enabled"), n = v(this.getOptions(), "grid", "y", "enabled");
@@ -3866,9 +3878,9 @@ class yh extends q {
3866
3878
  e.selectAll("text").remove(), e.select(".domain").remove();
3867
3879
  }
3868
3880
  }
3869
- class Eh extends q {
3881
+ class Th extends q {
3870
3882
  constructor() {
3871
- super(...arguments), this.type = "area", this.renderType = W.SVG, this.gradient_id = "gradient-id-" + Math.floor(Math.random() * 99999999999), this.handleLegendOnHover = (e) => {
3883
+ super(...arguments), this.type = "area", this.renderType = j.SVG, this.gradient_id = "gradient-id-" + Math.floor(Math.random() * 99999999999), this.handleLegendOnHover = (e) => {
3872
3884
  const { hoveredElement: t } = e.detail;
3873
3885
  this.parent.selectAll("path.area").transition("legend-hover-area").call(
3874
3886
  (n) => this.services.transitions.setupTransition({
@@ -3892,33 +3904,33 @@ class Eh extends q {
3892
3904
  render(e = !0) {
3893
3905
  const t = this.getComponentContainer({ withinChartClip: !0 }), n = this.getOptions();
3894
3906
  let s = [0, 0];
3895
- const { cartesianScales: a } = this.services, i = a.getOrientation(), r = Nn().curve(this.services.curves.getD3Curve()).defined((M) => {
3896
- const L = a.getRangeIdentifier(), I = M[L];
3907
+ const { cartesianScales: a } = this.services, i = a.getOrientation(), r = Nn().curve(this.services.curves.getD3Curve()).defined((w) => {
3908
+ const L = a.getRangeIdentifier(), I = w[L];
3897
3909
  return I != null;
3898
3910
  }), l = this.model.getGroupedData(this.configs.groups), c = v(n, "bounds"), d = c && l && l.length === 1;
3899
3911
  !d && c && console.warn(
3900
3912
  `Bounds can only be shown when having 1 single datagroup, you've supplied ${l.length}`
3901
3913
  );
3902
3914
  let p = 0;
3903
- const h = (M, L) => {
3904
- v(n, "axes", M, "includeZero") === !1 && L[0] > 0 && L[1] > 0 && (p = L[0]);
3905
- }, u = (M) => d ? a.getBoundedScaledValues(M)[0] : a.getRangeValue(p), g = (M) => d ? a.getBoundedScaledValues(M)[1] : a.getRangeValue(M);
3906
- i === xe.VERTICAL ? (s = a.getMainYScale().domain(), h(a.getMainYAxisPosition(), s), r.x((M) => a.getDomainValue(M)).y0((M) => u(M)).y1((M) => g(M))) : (s = a.getMainXScale().domain(), h(a.getMainXAxisPosition(), s), r.x0((M) => u(M)).x1((M) => g(M)).y((M) => a.getDomainValue(M)));
3915
+ const h = (w, L) => {
3916
+ v(n, "axes", w, "includeZero") === !1 && L[0] > 0 && L[1] > 0 && (p = L[0]);
3917
+ }, u = (w) => d ? a.getBoundedScaledValues(w)[0] : a.getRangeValue(p), g = (w) => d ? a.getBoundedScaledValues(w)[1] : a.getRangeValue(w);
3918
+ i === xe.VERTICAL ? (s = a.getMainYScale().domain(), h(a.getMainYAxisPosition(), s), r.x((w) => a.getDomainValue(w)).y0((w) => u(w)).y1((w) => g(w))) : (s = a.getMainXScale().domain(), h(a.getMainXAxisPosition(), s), r.x0((w) => u(w)).x1((w) => g(w)).y((w) => a.getDomainValue(w)));
3907
3919
  const m = v(n, "color", "gradient", "enabled"), E = l && l.length === 1 && m;
3908
3920
  l.length > 1 && m && console.error("Gradients can only be enabled when having 1 single dataset");
3909
- const O = t.selectAll("path.area").data(l, (M) => M.name), T = x(this.services.domUtils.getMainContainer());
3921
+ const O = t.selectAll("path.area").data(l, (w) => w.name), T = x(this.services.domUtils.getMainContainer());
3910
3922
  if (O.exit().attr("opacity", 0).remove(), !l.length)
3911
3923
  return;
3912
3924
  if (E) {
3913
- const M = T.select(
3925
+ const w = T.select(
3914
3926
  `path.${this.model.getColorClassName({
3915
- classNameTypes: [F.STROKE],
3927
+ classNameTypes: [z.STROKE],
3916
3928
  dataGroupName: l[0].name
3917
3929
  })}`
3918
3930
  ).node();
3919
3931
  let L;
3920
- if (M)
3921
- L = getComputedStyle(M, null).getPropertyValue(
3932
+ if (w)
3933
+ L = getComputedStyle(w, null).getPropertyValue(
3922
3934
  "stroke"
3923
3935
  );
3924
3936
  else {
@@ -3946,45 +3958,45 @@ class Eh extends q {
3946
3958
  const y = this, A = O.enter().append("path");
3947
3959
  E ? A.merge(O).style(
3948
3960
  "fill",
3949
- (M) => `url(#${this.services.domUtils.generateElementIDString(
3950
- `${M.name.replace(" ", "")}_${this.gradient_id}`
3961
+ (w) => `url(#${this.services.domUtils.generateElementIDString(
3962
+ `${w.name.replace(" ", "")}_${this.gradient_id}`
3951
3963
  )})`
3952
3964
  ).attr("class", "area").attr(
3953
3965
  "class",
3954
- (M) => this.model.getColorClassName({
3955
- classNameTypes: [F.FILL],
3956
- dataGroupName: M.name,
3966
+ (w) => this.model.getColorClassName({
3967
+ classNameTypes: [z.FILL],
3968
+ dataGroupName: w.name,
3957
3969
  originalClassName: "area"
3958
3970
  })
3959
- ).attr("d", (M) => {
3960
- const { data: L } = M;
3971
+ ).attr("d", (w) => {
3972
+ const { data: L } = w;
3961
3973
  return r(L);
3962
3974
  }) : (A.attr("opacity", 0).merge(O).attr("class", "area").attr(
3963
3975
  "class",
3964
- (M) => this.model.getColorClassName({
3965
- classNameTypes: [F.FILL, F.STROKE],
3966
- dataGroupName: M.name,
3976
+ (w) => this.model.getColorClassName({
3977
+ classNameTypes: [z.FILL, z.STROKE],
3978
+ dataGroupName: w.name,
3967
3979
  originalClassName: "area"
3968
3980
  })
3969
- ).style("fill", (M) => y.model.getFillColor(M.name, null, M.data)).transition().call(
3970
- (M) => this.services.transitions.setupTransition({
3971
- transition: M,
3981
+ ).style("fill", (w) => y.model.getFillColor(w.name, null, w.data)).transition().call(
3982
+ (w) => this.services.transitions.setupTransition({
3983
+ transition: w,
3972
3984
  name: "area-update-enter",
3973
3985
  animate: e
3974
3986
  })
3975
- ).attr("opacity", d ? 1 : Be.opacity.selected).attr("d", (M) => {
3976
- const { data: L } = M;
3987
+ ).attr("opacity", d ? 1 : Be.opacity.selected).attr("d", (w) => {
3988
+ const { data: L } = w;
3977
3989
  return r(L);
3978
- }), d && A.attr("fill-opacity", Be.opacity.selected).style("stroke", (M) => y.model.getStrokeColor(M.name, null, M.data)).style("stroke-dasharray", "2, 2").attr("stroke-width", 0.7 + "px"));
3990
+ }), d && A.attr("fill-opacity", Be.opacity.selected).style("stroke", (w) => y.model.getStrokeColor(w.name, null, w.data)).style("stroke-dasharray", "2, 2").attr("stroke-width", 0.7 + "px"));
3979
3991
  }
3980
3992
  destroy() {
3981
3993
  const e = this.services.events;
3982
3994
  e.removeEventListener(f.Legend.ITEM_HOVER, this.handleLegendOnHover), e.removeEventListener(f.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
3983
3995
  }
3984
3996
  }
3985
- class bh extends q {
3997
+ class Lh extends q {
3986
3998
  constructor() {
3987
- super(...arguments), this.type = "line", this.renderType = W.SVG, this.handleLegendOnHover = (e) => {
3999
+ super(...arguments), this.type = "line", this.renderType = j.SVG, this.handleLegendOnHover = (e) => {
3988
4000
  const { hoveredElement: t } = e.detail;
3989
4001
  this.parent.selectAll("path.line").transition("legend-hover-line").call(
3990
4002
  (n) => this.services.transitions.setupTransition({
@@ -4029,7 +4041,7 @@ class bh extends q {
4029
4041
  [m]: A[m],
4030
4042
  [y]: A[1]
4031
4043
  })),
4032
- hidden: !Cr(O, (A) => A[0] !== A[1])
4044
+ hidden: !Dr(O, (A) => A[0] !== A[1])
4033
4045
  };
4034
4046
  });
4035
4047
  } else
@@ -4038,7 +4050,7 @@ class bh extends q {
4038
4050
  h.exit().attr("opacity", 0).remove(), h.enter().append("path").classed("line", !0).attr("opacity", 0).merge(h).data(p, (g) => g.name).attr(
4039
4051
  "class",
4040
4052
  (g) => this.model.getColorClassName({
4041
- classNameTypes: [F.STROKE],
4053
+ classNameTypes: [z.STROKE],
4042
4054
  dataGroupName: g.name,
4043
4055
  originalClassName: "line"
4044
4056
  })
@@ -4064,13 +4076,13 @@ class bh extends q {
4064
4076
  e.removeEventListener(f.Legend.ITEM_HOVER, this.handleLegendOnHover), e.removeEventListener(f.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
4065
4077
  }
4066
4078
  }
4067
- const zs = 5;
4068
- function gl(o, e) {
4069
- return o > e - zs && o < e + zs;
4079
+ const Fs = 5;
4080
+ function El(o, e) {
4081
+ return o > e - Fs && o < e + Fs;
4070
4082
  }
4071
- class wa extends q {
4083
+ class Ma extends q {
4072
4084
  constructor() {
4073
- super(...arguments), this.type = "ruler", this.renderType = W.SVG, this.isXGridEnabled = v(this.getOptions(), "grid", "x", "enabled"), this.isYGridEnabled = v(this.getOptions(), "grid", "y", "enabled"), this.isEventListenerAdded = !1;
4085
+ super(...arguments), this.type = "ruler", this.renderType = j.SVG, this.isXGridEnabled = v(this.getOptions(), "grid", "x", "enabled"), this.isYGridEnabled = v(this.getOptions(), "grid", "y", "enabled"), this.isEventListenerAdded = !1;
4074
4086
  }
4075
4087
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
4076
4088
  // @ts-ignore
@@ -4092,7 +4104,7 @@ class wa extends q {
4092
4104
  const s = this.parent, a = this.services.cartesianScales.getOrientation(), i = this.model.getDisplayData(), r = this.services.cartesianScales.getRangeScale(), [l, c] = r.range(), d = a === xe.HORIZONTAL ? n : t, p = S.appendOrSelect(s, "g.ruler").attr("aria-label", "ruler"), h = S.appendOrSelect(p, "line.ruler-line"), u = s.selectAll("[role=graphics-symbol]"), g = i.map((E) => ({
4093
4105
  domainValue: this.services.cartesianScales.getDomainValue(E),
4094
4106
  originalData: E
4095
- })).filter((E) => gl(E.domainValue, d));
4107
+ })).filter((E) => El(E.domainValue, d));
4096
4108
  if (this.pointsWithinLine && g.length === this.pointsWithinLine.length && g.map((E) => E.domainValue).join() === this.pointsWithinLine.map((E) => E.domainValue).join())
4097
4109
  return this.pointsWithinLine = g, this.services.events.dispatchEvent(f.Tooltip.MOVE, {
4098
4110
  mousePosition: [t, n]
@@ -4106,13 +4118,13 @@ class wa extends q {
4106
4118
  }, []);
4107
4119
  if (m.length > 0) {
4108
4120
  const E = m.map((A) => A.originalData).filter((A) => {
4109
- const M = this.services.cartesianScales.getRangeIdentifier(A), L = A[M];
4121
+ const w = this.services.cartesianScales.getRangeIdentifier(A), L = A[w];
4110
4122
  return L != null;
4111
4123
  }), O = m.map(
4112
4124
  (A) => A.domainValue
4113
4125
  ), T = u.filter((A) => {
4114
- const M = this.services.cartesianScales.getDomainValue(A);
4115
- return O.includes(M);
4126
+ const w = this.services.cartesianScales.getDomainValue(A);
4127
+ return O.includes(w);
4116
4128
  });
4117
4129
  this.elementsToHighlight && this.elementsToHighlight.size() > 0 && !Ea(this.elementsToHighlight, T) && this.hideRuler(), T.dispatch("mouseover"), this.elementsToHighlight = T, this.services.events.dispatchEvent(f.Tooltip.SHOW, {
4118
4130
  mousePosition: [t, n],
@@ -4135,12 +4147,12 @@ class wa extends q {
4135
4147
  this.isEventListenerAdded = !0;
4136
4148
  const e = this, t = this.services.domUtils.getHolder(), n = this.model.getDisplayData();
4137
4149
  let s = function(a) {
4138
- const i = Ft(a, e.parent.node());
4150
+ const i = Wt(a, e.parent.node());
4139
4151
  e.showRuler(a, i);
4140
4152
  };
4141
4153
  if (n.length > 100) {
4142
4154
  const a = n.length % 50 * 12.5;
4143
- s = Xa(
4155
+ s = Za(
4144
4156
  function(i) {
4145
4157
  const { mousePosition: r } = this;
4146
4158
  e.showRuler(i, r);
@@ -4156,9 +4168,9 @@ class wa extends q {
4156
4168
  this.backdrop = S.appendOrSelect(e, "svg.chart-grid-backdrop");
4157
4169
  }
4158
4170
  }
4159
- class zn extends q {
4171
+ class Fn extends q {
4160
4172
  constructor() {
4161
- super(...arguments), this.type = "scatter", this.renderType = W.SVG, this.handleChartHolderOnHover = () => {
4173
+ super(...arguments), this.type = "scatter", this.renderType = j.SVG, this.handleChartHolderOnHover = () => {
4162
4174
  if (!this.parent)
4163
4175
  throw new Error("Parent not defined");
4164
4176
  this.parent.selectAll("circle.dot").transition("chart-holder-hover-scatter").call(
@@ -4292,7 +4304,7 @@ class zn extends q {
4292
4304
  i.getOrientation()
4293
4305
  ), { fadeInOnChartHolderMouseover: h } = this.configs;
4294
4306
  e.raise().classed("dot", !0).attr("class", (u) => {
4295
- const g = i.getDomainIdentifier(u), E = this.model.getIsFilled(u[r], u[g], u, s) ? [F.FILL, F.STROKE] : [F.STROKE];
4307
+ const g = i.getDomainIdentifier(u), E = this.model.getIsFilled(u[r], u[g], u, s) ? [z.FILL, z.STROKE] : [z.STROKE];
4296
4308
  return this.model.getColorClassName({
4297
4309
  classNameTypes: E,
4298
4310
  dataGroupName: u[r],
@@ -4342,7 +4354,7 @@ class zn extends q {
4342
4354
  a.classed("hovered", !0).attr(
4343
4355
  "class",
4344
4356
  (l) => e.model.getColorClassName({
4345
- classNameTypes: [F.FILL],
4357
+ classNameTypes: [z.FILL],
4346
4358
  dataGroupName: l[t],
4347
4359
  originalClassName: a.attr("class")
4348
4360
  })
@@ -4412,7 +4424,7 @@ class zn extends q {
4412
4424
  }
4413
4425
  class Ca extends q {
4414
4426
  constructor(e, t, n) {
4415
- super(e, t, n), this.type = "axes", this.renderType = W.SVG, this.truncation = {
4427
+ super(e, t, n), this.type = "axes", this.renderType = j.SVG, this.truncation = {
4416
4428
  [G.LEFT]: !1,
4417
4429
  [G.RIGHT]: !1,
4418
4430
  [G.TOP]: !1,
@@ -4437,10 +4449,10 @@ class Ca extends q {
4437
4449
  h = Vn;
4438
4450
  break;
4439
4451
  case G.RIGHT:
4440
- h = ei;
4452
+ h = ti;
4441
4453
  break;
4442
4454
  case G.TOP:
4443
- h = Qa;
4455
+ h = ei;
4444
4456
  break;
4445
4457
  }
4446
4458
  l.attr("aria-label", `${t} axis`);
@@ -4452,10 +4464,10 @@ class Ca extends q {
4452
4464
  g.attr("aria-hidden", !0);
4453
4465
  return;
4454
4466
  }
4455
- const A = v(E, "scaleType"), M = v(n, "data", "loading"), L = v(E, "ticks", "number"), I = v(E, "ticks", "values"), N = v(E, "truncation", "type"), j = v(E, "truncation", "threshold"), D = v(E, "truncation", "numCharacter"), C = L !== null, V = v(n, "timeScale"), z = S.appendOrSelect(m, "g.tick"), w = S.appendOrSelect(z, "text").text("0"), Q = S.getSVGElementSize(w.node(), {
4467
+ const A = v(E, "scaleType"), w = v(n, "data", "loading"), L = v(E, "ticks", "number"), I = v(E, "ticks", "values"), N = v(E, "truncation", "type"), W = v(E, "truncation", "threshold"), R = v(E, "truncation", "numCharacter"), C = L !== null, V = v(n, "timeScale"), F = S.appendOrSelect(m, "g.tick"), M = S.appendOrSelect(F, "text").text("0"), Q = S.getSVGElementSize(M.node(), {
4456
4468
  useBBox: !0
4457
4469
  }).height;
4458
- z.remove();
4470
+ F.remove();
4459
4471
  const me = this.scaleType || E.scaleType || ue.LINEAR, K = h(p).tickSizeOuter(0);
4460
4472
  if (p.ticks) {
4461
4473
  let U;
@@ -4530,7 +4542,7 @@ class Ca extends q {
4530
4542
  const qe = this.model.isDataEmpty();
4531
4543
  if (E.title) {
4532
4544
  const U = S.appendOrSelect(l, "text.axis-title").html(
4533
- qe || M ? "" : De(E.title)
4545
+ qe || w ? "" : De(E.title)
4534
4546
  ), J = v(E, "titleOrientation");
4535
4547
  let ae;
4536
4548
  switch (t) {
@@ -4567,7 +4579,7 @@ class Ca extends q {
4567
4579
  name: "axis-update",
4568
4580
  animate: e
4569
4581
  })
4570
- )), g = g.call(K), ae.selectAll(".tick").data(K.tickValues(), p).order().select("text").style("font-weight", (ce, Te) => Za(ce, Te, K.tickValues(), U, J) ? "bold" : "normal");
4582
+ )), g = g.call(K), ae.selectAll(".tick").data(K.tickValues(), p).order().select("text").style("font-weight", (ce, Te) => Ya(ce, Te, K.tickValues(), U, J) ? "bold" : "normal");
4571
4583
  } else
4572
4584
  !e || !u ? g = g.call(K) : g = g.transition().call(
4573
4585
  (U) => this.services.transitions.setupTransition({
@@ -4605,16 +4617,16 @@ class Ca extends q {
4605
4617
  this.getNumberOfFittingTicks(i, Q, ot.ticks.horizontalSpaceRatio)
4606
4618
  ), m.call(K), g.call(K)), l.selectAll("g.ticks g.tick text").attr("transform", "rotate(-45)").attr("text-anchor", t === G.TOP ? "start" : "end")) : l.selectAll("g.ticks g.tick text").attr("transform", null).attr("text-anchor", null);
4607
4619
  }
4608
- if (M ? l.attr("opacity", 0) : l.attr("opacity", 1), g.selectAll("g.tick").attr("aria-label", (U) => U), m.selectAll("g.tick").attr("aria-label", (U) => U), N !== lt.NONE && A === ue.LABELS && !I) {
4620
+ if (w ? l.attr("opacity", 0) : l.attr("opacity", 1), g.selectAll("g.tick").attr("aria-label", (U) => U), m.selectAll("g.tick").attr("aria-label", (U) => U), N !== lt.NONE && A === ue.LABELS && !I) {
4609
4621
  const U = this.services.cartesianScales.getScaleDomain(t);
4610
4622
  if (U.length > 0) {
4611
4623
  const J = a.select(`g.axis.${t} g.ticks g.tick`).html();
4612
4624
  l.selectAll("g.ticks g.tick").html(J);
4613
4625
  const ae = this;
4614
4626
  l.selectAll("g.tick text").data(U).text(function(re) {
4615
- return re.length > j ? (ae.truncation[t] = !0, Ot(re, N, D)) : re;
4627
+ return re.length > W ? (ae.truncation[t] = !0, Ot(re, N, R)) : re;
4616
4628
  }), this.getInvisibleAxisRef().selectAll("g.tick text").data(U).text(function(re) {
4617
- return re.length > j ? Ot(re, N, D) : re;
4629
+ return re.length > W ? Ot(re, N, R) : re;
4618
4630
  }), l.selectAll("g.ticks").html(this.getInvisibleAxisRef().html()), l.selectAll("g.tick text").data(U);
4619
4631
  }
4620
4632
  }
@@ -4671,7 +4683,7 @@ class Ca extends q {
4671
4683
  S.appendOrSelect(e, `g.axis.${t}`).selectAll("g.tick text").on("mouseover", null).on("mousemove", null).on("mouseout", null);
4672
4684
  }
4673
4685
  }
4674
- class ml extends Ca {
4686
+ class bl extends Ca {
4675
4687
  constructor(e, t, n) {
4676
4688
  super(e, t, n);
4677
4689
  }
@@ -4775,9 +4787,9 @@ class ml extends Ca {
4775
4787
  S.appendOrSelect(e, `g.axis.${t}`).selectAll("g.tick.tick-hover").on("mouseover", null).on("mousemove", null).on("mouseout", null).on("focus", null).on("blur", null);
4776
4788
  }
4777
4789
  }
4778
- class Sh extends q {
4790
+ class Ah extends q {
4779
4791
  constructor() {
4780
- super(...arguments), this.type = "2D-axes", this.renderType = W.SVG, this.children = {}, this.thresholds = [], this.margins = {
4792
+ super(...arguments), this.type = "2D-axes", this.renderType = j.SVG, this.children = {}, this.thresholds = [], this.margins = {
4781
4793
  top: 0,
4782
4794
  right: 0,
4783
4795
  bottom: 0,
@@ -4795,7 +4807,7 @@ class Sh extends q {
4795
4807
  position: l,
4796
4808
  axes: this.configs.axes,
4797
4809
  margins: this.margins
4798
- }, d = this.model.axisFlavor === Ti.DEFAULT ? new Ca(this.model, this.services, c) : new ml(this.model, this.services, c);
4810
+ }, d = this.model.axisFlavor === Li.DEFAULT ? new Ca(this.model, this.services, c) : new bl(this.model, this.services, c);
4799
4811
  d.setModel(this.model), d.setServices(this.services), d.setParent(this.parent), this.children[l] = d;
4800
4812
  }
4801
4813
  }), Object.keys(this.children).forEach((r) => {
@@ -4829,7 +4841,7 @@ class Sh extends q {
4829
4841
  }), this.render(!0));
4830
4842
  }
4831
4843
  }
4832
- class fl extends q {
4844
+ class Sl extends q {
4833
4845
  constructor() {
4834
4846
  super(...arguments), this.type = "skeleton";
4835
4847
  }
@@ -4841,13 +4853,13 @@ class fl extends q {
4841
4853
  t ? this.renderSkeleton(t) : this.removeSkeleton();
4842
4854
  }
4843
4855
  renderSkeleton(e) {
4844
- if (this.configs.skeleton === wt.GRID)
4856
+ if (this.configs.skeleton === Mt.GRID)
4845
4857
  this.renderGridSkeleton(e);
4846
- else if (this.configs.skeleton === wt.VERT_OR_HORIZ)
4858
+ else if (this.configs.skeleton === Mt.VERT_OR_HORIZ)
4847
4859
  this.renderVertOrHorizSkeleton(e);
4848
- else if (this.configs.skeleton === wt.PIE)
4860
+ else if (this.configs.skeleton === Mt.PIE)
4849
4861
  this.renderPieSkeleton(e);
4850
- else if (this.configs.skeleton === wt.DONUT)
4862
+ else if (this.configs.skeleton === Mt.DONUT)
4851
4863
  this.renderDonutSkeleton(e);
4852
4864
  else
4853
4865
  throw new Error(`"${this.configs.skeleton}" is not a valid Skeleton type.`);
@@ -4933,16 +4945,16 @@ class fl extends q {
4933
4945
  `;
4934
4946
  h.html(u), g();
4935
4947
  function g() {
4936
- h.attr("gradientTransform", `translate(${c - 3 * 0.2 * l}, 0)`).transition().duration(2e3).delay(1e3).ease(ti).attr("gradientTransform", `translate(${d + 3 * 0.2 * l}, 0)`).on("end", g);
4948
+ h.attr("gradientTransform", `translate(${c - 3 * 0.2 * l}, 0)`).transition().duration(2e3).delay(1e3).ease(ni).attr("gradientTransform", `translate(${d + 3 * 0.2 * l}, 0)`).on("end", g);
4937
4949
  }
4938
4950
  }
4939
4951
  removeSkeleton() {
4940
4952
  this.parent.select(".chart-skeleton").remove();
4941
4953
  }
4942
4954
  }
4943
- class Oh extends q {
4955
+ class wh extends q {
4944
4956
  constructor() {
4945
- super(...arguments), this.type = "boxplot", this.renderType = W.SVG;
4957
+ super(...arguments), this.type = "boxplot", this.renderType = j.SVG;
4946
4958
  }
4947
4959
  render(e) {
4948
4960
  const t = this.getComponentContainer({ withinChartClip: !0 }), n = this.getOptions(), { groupMapsTo: s } = n.data, a = this.model.getDataGroupNames(), i = this.services.cartesianScales.getMainXScale(), r = this.services.cartesianScales.getMainYScale(), [l, c] = i.range(), [d, p] = r.range(), h = c - l, u = d - p;
@@ -4952,13 +4964,13 @@ class Oh extends q {
4952
4964
  (C) => this.services.cartesianScales.getDomainValue(C),
4953
4965
  (C) => this.services.cartesianScales.getRangeValue(C),
4954
4966
  m
4955
- ), y = Math.floor((E ? h : u) / a.length), A = Math.min(y / 2, 16), M = this.model.getBoxplotData(), L = t.selectAll(".box-group").data(M);
4967
+ ), y = Math.floor((E ? h : u) / a.length), A = Math.min(y / 2, 16), w = this.model.getBoxplotData(), L = t.selectAll(".box-group").data(w);
4956
4968
  L.exit().remove();
4957
4969
  const I = L.enter().append("g").attr("class", "box-group"), N = L.merge(I);
4958
4970
  I.append("path").merge(L.select("path.vertical-line.start")).attr(
4959
4971
  "class",
4960
4972
  () => this.model.getColorClassName({
4961
- classNameTypes: [F.STROKE],
4973
+ classNameTypes: [z.STROKE],
4962
4974
  originalClassName: "vertical-line start"
4963
4975
  })
4964
4976
  ).attr("stroke-width", Ae.strokeWidth.default).attr("fill", "none").transition().call(
@@ -4968,12 +4980,12 @@ class Oh extends q {
4968
4980
  animate: e
4969
4981
  })
4970
4982
  ).attr("d", (C) => {
4971
- const V = g.getDomainValue(C[s]), z = V, w = g.getRangeValue(C.whiskers.min), Q = g.getRangeValue(C.quartiles.q_25);
4972
- return ye({ x0: V, x1: z, y0: w, y1: Q }, m);
4983
+ const V = g.getDomainValue(C[s]), F = V, M = g.getRangeValue(C.whiskers.min), Q = g.getRangeValue(C.quartiles.q_25);
4984
+ return ye({ x0: V, x1: F, y0: M, y1: Q }, m);
4973
4985
  }), I.append("path").merge(L.select("path.vertical-line.end")).attr(
4974
4986
  "class",
4975
4987
  () => this.model.getColorClassName({
4976
- classNameTypes: [F.STROKE],
4988
+ classNameTypes: [z.STROKE],
4977
4989
  originalClassName: "vertical-line end"
4978
4990
  })
4979
4991
  ).attr("stroke-width", Ae.strokeWidth.default).attr("fill", "none").transition().call(
@@ -4983,12 +4995,12 @@ class Oh extends q {
4983
4995
  animate: e
4984
4996
  })
4985
4997
  ).attr("d", (C) => {
4986
- const V = g.getDomainValue(C[s]), z = V, w = g.getRangeValue(C.whiskers.max), Q = g.getRangeValue(C.quartiles.q_75);
4987
- return ye({ x0: V, x1: z, y0: w, y1: Q }, m);
4998
+ const V = g.getDomainValue(C[s]), F = V, M = g.getRangeValue(C.whiskers.max), Q = g.getRangeValue(C.quartiles.q_75);
4999
+ return ye({ x0: V, x1: F, y0: M, y1: Q }, m);
4988
5000
  }), I.append("path").merge(L.select("path.box")).attr(
4989
5001
  "class",
4990
5002
  () => this.model.getColorClassName({
4991
- classNameTypes: [F.FILL, F.STROKE],
5003
+ classNameTypes: [z.FILL, z.STROKE],
4992
5004
  originalClassName: "box"
4993
5005
  })
4994
5006
  ).attr("fill-opacity", Ae.box.opacity.default).attr("stroke-width", Ae.strokeWidth.default).attr("role", X.GRAPHICS_SYMBOL).attr("aria-roledescription", "box").attr("aria-label", (C) => C[s]).transition().call(
@@ -4998,19 +5010,19 @@ class Oh extends q {
4998
5010
  animate: e
4999
5011
  })
5000
5012
  ).attr("d", (C) => {
5001
- const V = g.getDomainValue(C[s]) - A / 2, z = V + A, w = g.getRangeValue(
5013
+ const V = g.getDomainValue(C[s]) - A / 2, F = V + A, M = g.getRangeValue(
5002
5014
  Math[E ? "max" : "min"](C.quartiles.q_75, C.quartiles.q_25)
5003
- ), Q = w + Math.abs(
5015
+ ), Q = M + Math.abs(
5004
5016
  g.getRangeValue(C.quartiles.q_75) - g.getRangeValue(C.quartiles.q_25)
5005
5017
  );
5006
- return ye({ x0: V, x1: z, y0: w, y1: Q }, m);
5018
+ return ye({ x0: V, x1: F, y0: M, y1: Q }, m);
5007
5019
  }), I.append("path").merge(L.select("path.highlight-area")).attr("class", "highlight-area").attr("opacity", 0).attr("d", (C) => {
5008
- const V = g.getDomainValue(C[s]) - A / 2, z = V + A, w = g.getRangeValue(C.whiskers.min), Q = g.getRangeValue(C.whiskers.max);
5009
- return ye({ x0: V, x1: z, y0: w, y1: Q }, m);
5020
+ const V = g.getDomainValue(C[s]) - A / 2, F = V + A, M = g.getRangeValue(C.whiskers.min), Q = g.getRangeValue(C.whiskers.max);
5021
+ return ye({ x0: V, x1: F, y0: M, y1: Q }, m);
5010
5022
  }), I.append("path").merge(L.select("path.whisker.start")).attr(
5011
5023
  "class",
5012
5024
  () => this.model.getColorClassName({
5013
- classNameTypes: [F.STROKE],
5025
+ classNameTypes: [z.STROKE],
5014
5026
  originalClassName: "whisker start"
5015
5027
  })
5016
5028
  ).attr("stroke-width", Ae.strokeWidth.thicker).attr("fill", "none").transition().call(
@@ -5020,12 +5032,12 @@ class Oh extends q {
5020
5032
  animate: e
5021
5033
  })
5022
5034
  ).attr("d", (C) => {
5023
- const V = g.getDomainValue(C[s]) - A / 4, z = V + A / 2, w = g.getRangeValue(C.whiskers.min), Q = g.getRangeValue(C.whiskers.min);
5024
- return ye({ x0: V, x1: z, y0: w, y1: Q }, m);
5035
+ const V = g.getDomainValue(C[s]) - A / 4, F = V + A / 2, M = g.getRangeValue(C.whiskers.min), Q = g.getRangeValue(C.whiskers.min);
5036
+ return ye({ x0: V, x1: F, y0: M, y1: Q }, m);
5025
5037
  }), I.append("path").merge(L.select("path.median")).attr("fill", "none").attr(
5026
5038
  "class",
5027
5039
  () => this.model.getColorClassName({
5028
- classNameTypes: [F.STROKE],
5040
+ classNameTypes: [z.STROKE],
5029
5041
  originalClassName: "median"
5030
5042
  })
5031
5043
  ).attr("stroke-width", 2).transition().call(
@@ -5035,12 +5047,12 @@ class Oh extends q {
5035
5047
  animate: e
5036
5048
  })
5037
5049
  ).attr("d", (C) => {
5038
- const V = g.getDomainValue(C[s]) - A / 2, z = V + A, w = g.getRangeValue(C.quartiles.q_50);
5039
- return ye({ x0: V, x1: z, y0: w, y1: w }, m);
5050
+ const V = g.getDomainValue(C[s]) - A / 2, F = V + A, M = g.getRangeValue(C.quartiles.q_50);
5051
+ return ye({ x0: V, x1: F, y0: M, y1: M }, m);
5040
5052
  }), I.append("path").merge(L.select("path.whisker.end")).attr(
5041
5053
  "class",
5042
5054
  () => this.model.getColorClassName({
5043
- classNameTypes: [F.STROKE],
5055
+ classNameTypes: [z.STROKE],
5044
5056
  originalClassName: "whisker end"
5045
5057
  })
5046
5058
  ).attr("stroke-width", Ae.strokeWidth.thicker).attr("fill", "none").transition().call(
@@ -5050,10 +5062,10 @@ class Oh extends q {
5050
5062
  animate: e
5051
5063
  })
5052
5064
  ).attr("d", (C) => {
5053
- const V = g.getDomainValue(C[s]) - A / 4, z = V + A / 2, w = g.getRangeValue(C.whiskers.max), Q = g.getRangeValue(C.whiskers.max);
5054
- return ye({ x0: V, x1: z, y0: w, y1: Q }, m);
5065
+ const V = g.getDomainValue(C[s]) - A / 4, F = V + A / 2, M = g.getRangeValue(C.whiskers.max), Q = g.getRangeValue(C.whiskers.max);
5066
+ return ye({ x0: V, x1: F, y0: M, y1: Q }, m);
5055
5067
  });
5056
- const j = N.selectAll("circle.outlier").data(
5068
+ const W = N.selectAll("circle.outlier").data(
5057
5069
  (C) => C.outliers.map((V) => ({
5058
5070
  min: C.whiskers.min,
5059
5071
  max: C.whiskers.max,
@@ -5061,12 +5073,12 @@ class Oh extends q {
5061
5073
  value: V
5062
5074
  }))
5063
5075
  );
5064
- j.exit().remove();
5065
- const D = j.enter().append("circle");
5066
- j.merge(D).attr("r", Ae.circle.radius).attr(
5076
+ W.exit().remove();
5077
+ const R = W.enter().append("circle");
5078
+ W.merge(R).attr("r", Ae.circle.radius).attr(
5067
5079
  "class",
5068
5080
  () => this.model.getColorClassName({
5069
- classNameTypes: [F.FILL, F.STROKE],
5081
+ classNameTypes: [z.FILL, z.STROKE],
5070
5082
  originalClassName: "outlier"
5071
5083
  })
5072
5084
  ).attr("fill-opacity", Ae.circle.opacity.default).attr("cx", O).transition().call(
@@ -5089,7 +5101,7 @@ class Oh extends q {
5089
5101
  label: v(t, "locale", "translations", "group") || v(t, "tooltip", "groupLabel") || "Group",
5090
5102
  value: a[n],
5091
5103
  class: e.model.getColorClassName({
5092
- classNameTypes: [F.TOOLTIP]
5104
+ classNameTypes: [z.TOOLTIP]
5093
5105
  })
5094
5106
  },
5095
5107
  {
@@ -5160,7 +5172,7 @@ class Oh extends q {
5160
5172
  label: v(t, "locale", "translations", "group") || v(t, "tooltip", "groupLabel") || "Group",
5161
5173
  value: i[n],
5162
5174
  class: e.model.getColorClassName({
5163
- classNameTypes: [F.TOOLTIP]
5175
+ classNameTypes: [z.TOOLTIP]
5164
5176
  })
5165
5177
  },
5166
5178
  {
@@ -5200,9 +5212,9 @@ class Oh extends q {
5200
5212
  });
5201
5213
  }
5202
5214
  }
5203
- class xh extends q {
5215
+ class Mh extends q {
5204
5216
  constructor() {
5205
- super(...arguments), this.type = "zero-line", this.renderType = W.SVG;
5217
+ super(...arguments), this.type = "zero-line", this.renderType = j.SVG;
5206
5218
  }
5207
5219
  render(e) {
5208
5220
  const t = this.services.cartesianScales.getRangeAxisPosition({
@@ -5215,7 +5227,7 @@ class xh extends q {
5215
5227
  const [l, c] = this.services.cartesianScales.getDomainScale().range();
5216
5228
  let d = +n(0) + 0.5;
5217
5229
  d || (d = n.range()[0]);
5218
- const p = Ya(
5230
+ const p = qa(
5219
5231
  {
5220
5232
  x0: l,
5221
5233
  x1: c,
@@ -5233,12 +5245,12 @@ class xh extends q {
5233
5245
  ).attr("y1", p.y0).attr("y2", p.y1).attr("x1", p.x0).attr("x2", p.x1);
5234
5246
  }
5235
5247
  }
5236
- class Th extends zn {
5248
+ class Ch extends Fn {
5237
5249
  constructor() {
5238
- super(...arguments), this.type = "bubble", this.renderType = W.SVG;
5250
+ super(...arguments), this.type = "bubble", this.renderType = j.SVG;
5239
5251
  }
5240
5252
  getRadiusScale(e) {
5241
- const t = this.getOptions(), { radiusMapsTo: n } = t.bubble, s = e.data(), a = s.map((c) => c[n]).filter((c) => c), i = S.getHTMLElementSize(this.services.domUtils.getMainContainer()), r = a.length > 0, l = r ? Wt(a) : [1, 1];
5253
+ const t = this.getOptions(), { radiusMapsTo: n } = t.bubble, s = e.data(), a = s.map((c) => c[n]).filter((c) => c), i = S.getHTMLElementSize(this.services.domUtils.getMainContainer()), r = a.length > 0, l = r ? jt(a) : [1, 1];
5242
5254
  return Ze().domain(l).range(r ? t.bubble.radiusRange(i, s) : [4, 4]);
5243
5255
  }
5244
5256
  styleCircles(e, t) {
@@ -5259,7 +5271,7 @@ class Th extends zn {
5259
5271
  ).attr("cx", d).attr("cy", p).attr("r", (h) => a(h[s] || 1)).attr(
5260
5272
  "class",
5261
5273
  (h) => this.model.getColorClassName({
5262
- classNameTypes: [F.FILL, F.STROKE],
5274
+ classNameTypes: [z.FILL, z.STROKE],
5263
5275
  dataGroupName: h[i],
5264
5276
  originalClassName: "dot"
5265
5277
  })
@@ -5281,9 +5293,9 @@ class Th extends zn {
5281
5293
  ];
5282
5294
  }
5283
5295
  }
5284
- class Lh extends q {
5296
+ class _h extends q {
5285
5297
  constructor() {
5286
- super(...arguments), this.type = "bullet", this.renderType = W.SVG, this.handleLegendOnHover = (e) => {
5298
+ super(...arguments), this.type = "bullet", this.renderType = j.SVG, this.handleLegendOnHover = (e) => {
5287
5299
  const { hoveredElement: t } = e.detail, { groupMapsTo: n } = this.getOptions().data;
5288
5300
  this.parent.selectAll("path.bar").transition("legend-hover-simple-bar").call(
5289
5301
  (s) => this.services.transitions.setupTransition({
@@ -5327,9 +5339,9 @@ class Lh extends q {
5327
5339
  animate: e
5328
5340
  })
5329
5341
  ).attr("d", (T) => {
5330
- let A, M, L, I;
5331
- return T.order === 1 ? (A = this.services.cartesianScales.getDomainValue(T.datum) - 16 / 2, M = A + 16, L = c - 2, I = l + 1) : (A = this.services.cartesianScales.getDomainValue(T.datum) - 16 / 2, M = A + 16, L = this.services.cartesianScales.getRangeValue(T.value), I = c), ye(
5332
- { x0: A, x1: M, y0: L, y1: I },
5342
+ let A, w, L, I;
5343
+ return T.order === 1 ? (A = this.services.cartesianScales.getDomainValue(T.datum) - 16 / 2, w = A + 16, L = c - 2, I = l + 1) : (A = this.services.cartesianScales.getDomainValue(T.datum) - 16 / 2, w = A + 16, L = this.services.cartesianScales.getRangeValue(T.value), I = c), ye(
5344
+ { x0: A, x1: w, y0: L, y1: I },
5333
5345
  this.services.cartesianScales.getOrientation()
5334
5346
  );
5335
5347
  }).attr("opacity", 1);
@@ -5344,7 +5356,7 @@ class Lh extends q {
5344
5356
  ).attr(
5345
5357
  "class",
5346
5358
  (O) => this.model.getColorClassName({
5347
- classNameTypes: [F.FILL],
5359
+ classNameTypes: [z.FILL],
5348
5360
  dataGroupName: O[n],
5349
5361
  originalClassName: "bar"
5350
5362
  })
@@ -5352,9 +5364,9 @@ class Lh extends q {
5352
5364
  const T = this.services.cartesianScales.getDomainIdentifier(O);
5353
5365
  return this.model.getFillColor(O[n], O[T], O);
5354
5366
  }).attr("d", (O) => {
5355
- const y = this.services.cartesianScales.getDomainValue(O) - 4, A = y + 8, M = this.services.cartesianScales.getRangeValue(0) + 1, L = this.services.cartesianScales.getRangeValue(O);
5367
+ const y = this.services.cartesianScales.getDomainValue(O) - 4, A = y + 8, w = this.services.cartesianScales.getRangeValue(0) + 1, L = this.services.cartesianScales.getRangeValue(O);
5356
5368
  return ye(
5357
- { x0: y, x1: A, y0: M, y1: L },
5369
+ { x0: y, x1: A, y0: w, y1: L },
5358
5370
  this.services.cartesianScales.getOrientation()
5359
5371
  );
5360
5372
  }).attr("opacity", 1).attr("role", X.GRAPHICS_SYMBOL).attr("aria-roledescription", "bar").attr("aria-label", (O) => O.value);
@@ -5370,9 +5382,9 @@ class Lh extends q {
5370
5382
  animate: e
5371
5383
  })
5372
5384
  ).attr("d", (O) => {
5373
- const y = this.services.cartesianScales.getDomainValue(O) - 12, A = y + 24, M = this.services.cartesianScales.getRangeValue(O.marker);
5385
+ const y = this.services.cartesianScales.getDomainValue(O) - 12, A = y + 24, w = this.services.cartesianScales.getRangeValue(O.marker);
5374
5386
  return ye(
5375
- { x0: y, x1: A, y0: M, y1: M },
5387
+ { x0: y, x1: A, y0: w, y1: w },
5376
5388
  this.services.cartesianScales.getOrientation()
5377
5389
  );
5378
5390
  }).attr("opacity", 1);
@@ -5396,9 +5408,9 @@ class Lh extends q {
5396
5408
  ).attr("d", ({ datum: T, value: y }) => {
5397
5409
  let A = 4;
5398
5410
  T.ranges && T.ranges.indexOf(y) !== -1 && (A = 8);
5399
- const M = this.services.cartesianScales.getDomainValue(T) - A / 2, L = M + A, I = this.services.cartesianScales.getRangeValue(y);
5411
+ const w = this.services.cartesianScales.getDomainValue(T) - A / 2, L = w + A, I = this.services.cartesianScales.getRangeValue(y);
5400
5412
  return ye(
5401
- { x0: M, x1: L, y0: I, y1: I },
5413
+ { x0: w, x1: L, y0: I, y1: I },
5402
5414
  this.services.cartesianScales.getOrientation()
5403
5415
  );
5404
5416
  }).attr("opacity", 1);
@@ -5423,7 +5435,7 @@ class Lh extends q {
5423
5435
  label: v(t, "locale", "translations", "group") || v(t, "tooltip", "groupLabel") || "Group",
5424
5436
  value: l[n],
5425
5437
  class: e.model.getColorClassName({
5426
- classNameTypes: [F.TOOLTIP],
5438
+ classNameTypes: [z.TOOLTIP],
5427
5439
  dataGroupName: l[n]
5428
5440
  })
5429
5441
  },
@@ -5476,12 +5488,12 @@ class Lh extends q {
5476
5488
  e.removeEventListener(f.Legend.ITEM_HOVER, this.handleLegendOnHover), e.removeEventListener(f.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
5477
5489
  }
5478
5490
  }
5479
- function vl(o) {
5491
+ function Ol(o) {
5480
5492
  return o;
5481
5493
  }
5482
- function yl(o) {
5494
+ function xl(o) {
5483
5495
  if (o == null)
5484
- return vl;
5496
+ return Ol;
5485
5497
  var e, t, n = o.scale[0], s = o.scale[1], a = o.translate[0], i = o.translate[1];
5486
5498
  return function(r, l) {
5487
5499
  l || (e = t = 0);
@@ -5491,26 +5503,26 @@ function yl(o) {
5491
5503
  return p;
5492
5504
  };
5493
5505
  }
5494
- function El(o, e) {
5506
+ function Tl(o, e) {
5495
5507
  for (var t, n = o.length, s = n - e; s < --n; )
5496
5508
  t = o[s], o[s++] = o[n], o[n] = t;
5497
5509
  }
5498
- function bl(o, e) {
5510
+ function Ll(o, e) {
5499
5511
  return typeof e == "string" && (e = o.objects[e]), e.type === "GeometryCollection" ? { type: "FeatureCollection", features: e.geometries.map(function(t) {
5500
- return Fs(o, t);
5501
- }) } : Fs(o, e);
5512
+ return zs(o, t);
5513
+ }) } : zs(o, e);
5502
5514
  }
5503
- function Fs(o, e) {
5504
- var t = e.id, n = e.bbox, s = e.properties == null ? {} : e.properties, a = Fn(o, e);
5515
+ function zs(o, e) {
5516
+ var t = e.id, n = e.bbox, s = e.properties == null ? {} : e.properties, a = zn(o, e);
5505
5517
  return t == null && n == null ? { type: "Feature", properties: s, geometry: a } : n == null ? { type: "Feature", id: t, properties: s, geometry: a } : { type: "Feature", id: t, bbox: n, properties: s, geometry: a };
5506
5518
  }
5507
- function Fn(o, e) {
5508
- var t = yl(o.transform), n = o.arcs;
5519
+ function zn(o, e) {
5520
+ var t = xl(o.transform), n = o.arcs;
5509
5521
  function s(d, p) {
5510
5522
  p.length && p.pop();
5511
5523
  for (var h = n[d < 0 ? ~d : d], u = 0, g = h.length; u < g; ++u)
5512
5524
  p.push(t(h[u], u));
5513
- d < 0 && El(p, g);
5525
+ d < 0 && Tl(p, g);
5514
5526
  }
5515
5527
  function a(d) {
5516
5528
  return t(d);
@@ -5558,7 +5570,7 @@ function Fn(o, e) {
5558
5570
  }
5559
5571
  return c(e);
5560
5572
  }
5561
- function Sl(o, e) {
5573
+ function Al(o, e) {
5562
5574
  var t = {}, n = {}, s = {}, a = [], i = -1;
5563
5575
  e.forEach(function(c, d) {
5564
5576
  var p = o.arcs[c < 0 ? ~c : c], h;
@@ -5600,15 +5612,15 @@ function Sl(o, e) {
5600
5612
  t[c < 0 ? ~c : c] || a.push([c]);
5601
5613
  }), a;
5602
5614
  }
5603
- function Ol(o) {
5615
+ function wl(o) {
5604
5616
  for (var e = -1, t = o.length, n, s = o[t - 1], a = 0; ++e < t; )
5605
5617
  n = s, s = o[e], a += n[0] * s[1] - n[1] * s[0];
5606
5618
  return Math.abs(a);
5607
5619
  }
5608
- function xl(o) {
5609
- return Fn(o, Tl.apply(this, arguments));
5620
+ function Ml(o) {
5621
+ return zn(o, Cl.apply(this, arguments));
5610
5622
  }
5611
- function Tl(o, e) {
5623
+ function Cl(o, e) {
5612
5624
  var t = {}, n = [], s = [];
5613
5625
  e.forEach(a);
5614
5626
  function a(l) {
@@ -5632,7 +5644,7 @@ function Tl(o, e) {
5632
5644
  }), n.push(l);
5633
5645
  }
5634
5646
  function r(l) {
5635
- return Ol(Fn(o, { type: "Polygon", arcs: [l] }).coordinates[0]);
5647
+ return wl(zn(o, { type: "Polygon", arcs: [l] }).coordinates[0]);
5636
5648
  }
5637
5649
  return n.forEach(function(l) {
5638
5650
  if (!l._) {
@@ -5658,7 +5670,7 @@ function Tl(o, e) {
5658
5670
  t[O < 0 ? ~O : O].length < 2 && c.push(O);
5659
5671
  });
5660
5672
  });
5661
- }), c = Sl(o, c), (d = c.length) > 1)
5673
+ }), c = Al(o, c), (d = c.length) > 1)
5662
5674
  for (var p = 1, h = r(c[0]), u, g; p < d; ++p)
5663
5675
  (u = r(c[p])) > h && (g = c[0], c[0] = c[p], c[p] = g, h = u);
5664
5676
  return c;
@@ -5667,9 +5679,9 @@ function Tl(o, e) {
5667
5679
  })
5668
5680
  };
5669
5681
  }
5670
- class Ah extends wa {
5682
+ class Ih extends Ma {
5671
5683
  constructor() {
5672
- super(...arguments), this.type = "ruler-binned", this.renderType = W.SVG;
5684
+ super(...arguments), this.type = "ruler-binned", this.renderType = j.SVG;
5673
5685
  }
5674
5686
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
5675
5687
  // @ts-ignore
@@ -5683,15 +5695,15 @@ class Ah extends wa {
5683
5695
  });
5684
5696
  if (E.size() > 0) {
5685
5697
  this.elementsToHighlight && this.elementsToHighlight.size() > 0 && !Ea(this.elementsToHighlight, E) && this.hideRuler(), E.dispatch("mouseover"), this.elementsToHighlight = E;
5686
- const O = x(E.nodes()[0]).datum(), T = parseFloat(ne(O, "data.x0")), y = parseFloat(ne(O, "data.x1")), A = this.model.getActiveDataGroupNames(), M = A.reverse().map((I) => ({
5698
+ const O = x(E.nodes()[0]).datum(), T = parseFloat(ne(O, "data.x0")), y = parseFloat(ne(O, "data.x1")), A = this.model.getActiveDataGroupNames(), w = A.reverse().map((I) => ({
5687
5699
  label: I,
5688
5700
  value: ne(O, `data.${I}`),
5689
5701
  class: this.model.getColorClassName({
5690
- classNameTypes: [F.TOOLTIP],
5702
+ classNameTypes: [z.TOOLTIP],
5691
5703
  dataGroupName: I
5692
5704
  })
5693
5705
  })).filter((I) => I.value !== 0);
5694
- if (M.length > 0) {
5706
+ if (w.length > 0) {
5695
5707
  this.services.events.dispatchEvent(f.Tooltip.SHOW, {
5696
5708
  mousePosition: [t, n],
5697
5709
  hoveredElement: g,
@@ -5700,12 +5712,12 @@ class Ah extends wa {
5700
5712
  label: ne(a, "bins.rangeLabel") || "Range",
5701
5713
  value: `${T} – ${y}`
5702
5714
  },
5703
- ...M,
5715
+ ...w,
5704
5716
  ...v(a, "tooltip", "showTotal") === !0 ? [
5705
5717
  {
5706
5718
  label: ne(a, "locale.translations.total") || ne(a, "tooltip.totalLabel") || "Total",
5707
5719
  value: A.reduce(
5708
- (N, j) => N + parseFloat(ne(O, `data.${j}`)),
5720
+ (N, W) => N + parseFloat(ne(O, `data.${W}`)),
5709
5721
  0
5710
5722
  )
5711
5723
  }
@@ -5720,54 +5732,54 @@ class Ah extends wa {
5720
5732
  this.hideRuler();
5721
5733
  }
5722
5734
  }
5723
- class Mh extends wa {
5735
+ class Rh extends Ma {
5724
5736
  formatTooltipData(e) {
5725
5737
  return e.reverse();
5726
5738
  }
5727
5739
  }
5728
- const wh = (o, e) => {
5740
+ const kh = (o, e) => {
5729
5741
  const t = o.x, n = o.y, s = e.x, a = e.y, i = Gn();
5730
5742
  return i.moveTo(t, n), i.lineTo(s, a), i.toString();
5731
- }, Ch = (o, e, t = 0.5) => {
5743
+ }, Dh = (o, e, t = 0.5) => {
5732
5744
  const n = o.x, s = o.y, a = e.x, i = e.y, r = Gn();
5733
5745
  return r.moveTo(n, s), r.lineTo(n + (a - n) * t, s), r.lineTo(n + (a - n) * t, i), r.lineTo(a, i), r.toString();
5734
- }, _h = (o, e, t, n, s, a) => {
5746
+ }, Nh = (o, e, t, n, s, a) => {
5735
5747
  const i = o.x, r = o.y, l = e.x, c = e.y, d = Gn();
5736
5748
  return d.moveTo(i, r), d.bezierCurveTo(t, n, s, a, l, c), d.toString();
5737
- }, Ih = {
5749
+ }, Ph = {
5738
5750
  d: "M7 0v8L0 4z",
5739
5751
  height: 8,
5740
5752
  width: 7.5,
5741
5753
  id: "arrowLeft"
5742
- }, kh = {
5754
+ }, Vh = {
5743
5755
  d: "M0 0v8l7-4z",
5744
5756
  height: 8,
5745
5757
  width: 7.5,
5746
5758
  id: "arrowRight"
5747
- }, Rh = {
5759
+ }, Gh = {
5748
5760
  d: "M5.32 9.513a4.75 4.75 0 100-9.5 4.75 4.75 0 000 9.5z",
5749
5761
  height: 10,
5750
5762
  width: 10,
5751
5763
  id: "circle"
5752
- }, Dh = {
5764
+ }, Bh = {
5753
5765
  d: "M5.03517654-1e-7l4.99999996 5-4.99999996 5-5-5L2.4517844 2.58339204z",
5754
5766
  height: 10,
5755
5767
  width: 10,
5756
5768
  id: "diamond"
5757
- }, Nh = {
5769
+ }, Hh = {
5758
5770
  d: "M0 .44974747h8v8H0v-3.6830331z",
5759
5771
  height: 9,
5760
5772
  width: 8,
5761
5773
  id: "square"
5762
- }, Ph = {
5774
+ }, $h = {
5763
5775
  d: "M0 0h1.5v8H0z",
5764
5776
  height: 8,
5765
5777
  width: 2,
5766
5778
  id: "tee"
5767
5779
  };
5768
- class Vh extends hl {
5780
+ class Uh extends fl {
5769
5781
  constructor(e, t, n) {
5770
- super(e, t, n), this.type = "color-legend", this.renderType = W.SVG, this.gradient_id = `gradient-id-${Math.floor(Math.random() * 99999999999)}`, this.handleAxisCompleteEvent = () => {
5782
+ super(e, t, n), this.type = "color-legend", this.renderType = j.SVG, this.gradient_id = `gradient-id-${Math.floor(Math.random() * 99999999999)}`, this.handleAxisCompleteEvent = () => {
5771
5783
  const s = this.getComponentContainer(), { width: a } = S.getSVGElementSize(s, {
5772
5784
  useAttrs: !0
5773
5785
  }), i = v(this.getOptions(), "data", "loading");
@@ -5800,10 +5812,10 @@ class Vh extends hl {
5800
5812
  n.html("");
5801
5813
  return;
5802
5814
  }
5803
- const d = !Js(a), p = qa(this.model.getDisplayData()), h = !(s <= de.color.barWidth), u = h ? de.color.barWidth : s, g = S.appendOrSelect(n, "g.legend"), m = S.appendOrSelect(g, "g.legend-axis");
5815
+ const d = !Js(a), p = Ka(this.model.getDisplayData()), h = !(s <= de.color.barWidth), u = h ? de.color.barWidth : s, g = S.appendOrSelect(n, "g.legend"), m = S.appendOrSelect(g, "g.legend-axis");
5804
5816
  if (l) {
5805
- const D = S.appendOrSelect(n, "g.legend-title");
5806
- S.appendOrSelect(D, "text").text(l).attr("dy", "0.7em"), g.attr("transform", "translate(0, 16)");
5817
+ const R = S.appendOrSelect(n, "g.legend-title");
5818
+ S.appendOrSelect(R, "text").text(l).attr("dy", "0.7em"), g.attr("transform", "translate(0, 16)");
5807
5819
  }
5808
5820
  const E = p[0] < 0 && p[1] > 0 ? "diverge" : "mono";
5809
5821
  (r < 1 && r > 4 && E === "mono" || r < 1 && r > 2 && E === "diverge") && (r = 1);
@@ -5812,25 +5824,25 @@ class Vh extends hl {
5812
5824
  if (d)
5813
5825
  O = a;
5814
5826
  else
5815
- for (let D = 1; D < T + 1; D++)
5827
+ for (let R = 1; R < T + 1; R++)
5816
5828
  O.push(
5817
- i === nn.LINEAR ? `stop-color-${E}-${r}-${D}` : `fill-${E}-${r}-${D}`
5829
+ i === nn.LINEAR ? `stop-color-${E}-${r}-${R}` : `fill-${E}-${r}-${R}`
5818
5830
  );
5819
- const y = ta(p[0], p[1]), A = ni(y, 3), M = Ze().domain(p).range([0, u]), L = Vn(M).tickSize(0).tickValues(A), { code: I, number: N } = v(t, "locale");
5820
- L.tickFormat((D) => N(D, I));
5821
- let j;
5831
+ const y = ta(p[0], p[1]), A = si(y, 3), w = Ze().domain(p).range([0, u]), L = Vn(w).tickSize(0).tickValues(A), { code: I, number: N } = v(t, "locale");
5832
+ L.tickFormat((R) => N(R, I));
5833
+ let W;
5822
5834
  switch (i) {
5823
5835
  case nn.LINEAR:
5824
5836
  this.drawLinear(O, g, u);
5825
5837
  break;
5826
5838
  case nn.QUANTIZE:
5827
- j = this.drawQuantize(
5839
+ W = this.drawQuantize(
5828
5840
  O,
5829
5841
  E,
5830
5842
  d,
5831
5843
  g,
5832
5844
  u
5833
- ), M.range([j, u]);
5845
+ ), w.range([W, u]);
5834
5846
  break;
5835
5847
  default:
5836
5848
  throw Error("Entered color legend type is not supported.");
@@ -5858,9 +5870,9 @@ class Vh extends hl {
5858
5870
  this.chartType === "heatmap" && this.services.events.removeEventListener(f.Axis.RENDER_COMPLETE, this.handleAxisCompleteEvent);
5859
5871
  }
5860
5872
  }
5861
- class Gh extends dl {
5873
+ class Fh extends ml {
5862
5874
  constructor() {
5863
- super(...arguments), this.type = "meter-title", this.renderType = W.SVG;
5875
+ super(...arguments), this.type = "meter-title", this.renderType = j.SVG;
5864
5876
  }
5865
5877
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
5866
5878
  // @ts-ignore
@@ -5988,9 +6000,9 @@ class Wn extends q {
5988
6000
  return !1;
5989
6001
  }
5990
6002
  }
5991
- class Bh extends q {
6003
+ class zh extends q {
5992
6004
  constructor() {
5993
- super(...arguments), this.type = "circle-pack", this.renderType = W.SVG, this.handleLegendOnHover = (e) => {
6005
+ super(...arguments), this.type = "circle-pack", this.renderType = j.SVG, this.handleLegendOnHover = (e) => {
5994
6006
  const { hoveredElement: t } = e.detail;
5995
6007
  this.parent.selectAll("circle.node").transition("legend-hover-circlepack").call(
5996
6008
  (n) => this.services.transitions.setupTransition({
@@ -6019,13 +6031,13 @@ class Bh extends q {
6019
6031
  let a = this.model.getDisplayData();
6020
6032
  const i = this.model.hasParentNode(), r = this.model.getHierarchyLevel(), l = this.getOptions(), c = v(l, "canvasZoom", "enabled");
6021
6033
  i && v(a, 0, "children") && (a = v(a, 0, "children"));
6022
- const d = Hn({ children: a }).sum((m) => m.value).sort((m, E) => E.value - m.value), h = si().size([n, s]).padding((m) => m.depth >= 1 ? ft.padding.children + 3 : ft.padding.mainGroup + 3)(d).descendants().splice(1).filter((m) => m.depth <= r), u = t.selectAll("circle.node").data(h);
6034
+ const d = Hn({ children: a }).sum((m) => m.value).sort((m, E) => E.value - m.value), h = ai().size([n, s]).padding((m) => m.depth >= 1 ? ft.padding.children + 3 : ft.padding.mainGroup + 3)(d).descendants().splice(1).filter((m) => m.depth <= r), u = t.selectAll("circle.node").data(h);
6023
6035
  u.exit().attr("width", 0).attr("height", 0).remove();
6024
6036
  const g = u.enter().append("circle").classed("node", !0);
6025
6037
  g.merge(u).attr("class", (m) => {
6026
6038
  const E = c && r === 3 ? this.getZoomClass(m) : "";
6027
6039
  return this.model.getColorClassName({
6028
- classNameTypes: [F.FILL, F.STROKE],
6040
+ classNameTypes: [z.FILL, z.STROKE],
6029
6041
  dataGroupName: m.data.dataGroupName,
6030
6042
  originalClassName: m.children ? `node ${E}` : `node node-leaf ${E}`
6031
6043
  });
@@ -6034,7 +6046,7 @@ class Bh extends q {
6034
6046
  transition: m,
6035
6047
  name: "circlepack-leaf-update-enter"
6036
6048
  })
6037
- ).attr("r", (m) => m.r).attr("opacity", 1).attr("fill-opacity", ft.circles.fillOpacity), c === !0 && this.focal && (this.services.canvasZoom.zoomIn(this.focal, g, Mt), this.setBackgroundListeners()), i || this.addLegendListeners(), this.addEventListeners();
6049
+ ).attr("r", (m) => m.r).attr("opacity", 1).attr("fill-opacity", ft.circles.fillOpacity), c === !0 && this.focal && (this.services.canvasZoom.zoomIn(this.focal, g, wt), this.setBackgroundListeners()), i || this.addLegendListeners(), this.addEventListeners();
6038
6050
  }
6039
6051
  // turn off the highlight class on children circles
6040
6052
  unhighlightChildren(e) {
@@ -6059,7 +6071,7 @@ class Bh extends q {
6059
6071
  setBackgroundListeners() {
6060
6072
  const e = x(this.services.domUtils.getMainContainer()), t = this, n = this.parent.selectAll("circle.node");
6061
6073
  e.on("click", () => {
6062
- t.focal = null, t.model.updateHierarchyLevel(2), e.classed("zoomed-in", !1), t.services.canvasZoom.zoomOut(n, Mt);
6074
+ t.focal = null, t.model.updateHierarchyLevel(2), e.classed("zoomed-in", !1), t.services.canvasZoom.zoomOut(n, wt);
6063
6075
  });
6064
6076
  }
6065
6077
  // Zoom icon to be appended to the label in the tooltip
@@ -6145,10 +6157,10 @@ class Bh extends q {
6145
6157
  const s = x(this), a = s.classed("non-focal"), i = v(e.model.getOptions(), "canvasZoom", "enabled");
6146
6158
  if (i && e.model.getHierarchyLevel() > 2) {
6147
6159
  const r = e.parent.selectAll("circle.node");
6148
- x(e.services.domUtils.getMainContainer()).classed("zoomed-in", !1), e.focal = null, e.model.updateHierarchyLevel(2), e.services.canvasZoom.zoomOut(r, Mt);
6160
+ x(e.services.domUtils.getMainContainer()).classed("zoomed-in", !1), e.focal = null, e.model.updateHierarchyLevel(2), e.services.canvasZoom.zoomOut(r, wt);
6149
6161
  } else if (n.depth === 2 && n.children && !a && i) {
6150
6162
  const r = e.parent.selectAll("circle.node");
6151
- x(e.services.domUtils.getMainContainer()).classed("zoomed-in", !0), e.focal = n, e.model.updateHierarchyLevel(3), e.services.canvasZoom.zoomIn(n, r, Mt), t.stopPropagation();
6163
+ x(e.services.domUtils.getMainContainer()).classed("zoomed-in", !0), e.focal = n, e.model.updateHierarchyLevel(3), e.services.canvasZoom.zoomIn(n, r, wt), t.stopPropagation();
6152
6164
  }
6153
6165
  e.services.events.dispatchEvent(f.CirclePack.CIRCLE_CLICK, {
6154
6166
  event: t,
@@ -6163,13 +6175,13 @@ class Bh extends q {
6163
6175
  e.removeEventListener(f.Legend.ITEM_HOVER, this.handleLegendOnHover), e.removeEventListener(f.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut), this.removeBackgroundListeners();
6164
6176
  }
6165
6177
  }
6166
- function Ll(o, e) {
6167
- const t = ii(this._current, o);
6178
+ function _l(o, e) {
6179
+ const t = ri(this._current, o);
6168
6180
  return (n) => (this._current = t(n), e(this._current));
6169
6181
  }
6170
- class Al extends q {
6182
+ class Il extends q {
6171
6183
  constructor() {
6172
- super(...arguments), this.type = "pie", this.renderType = W.SVG, this.handleLegendOnHover = (e) => {
6184
+ super(...arguments), this.type = "pie", this.renderType = j.SVG, this.isRendering = !1, this.handleLegendOnHover = (e) => {
6173
6185
  const { hoveredElement: t } = e.detail, { groupMapsTo: n } = this.getOptions().data;
6174
6186
  this.parent.selectAll("path.slice").transition("legend-hover-bar").call(
6175
6187
  (s) => this.services.transitions.setupTransition({
@@ -6197,60 +6209,64 @@ class Al extends q {
6197
6209
  return te.innerRadius;
6198
6210
  }
6199
6211
  render(e = !0) {
6200
- const t = this, n = this.getComponentContainer(), s = this.getOptions(), { groupMapsTo: a } = s.data, { valueMapsTo: i } = s.pie, r = this.model.getDisplayData().filter((w) => w[i] > 0), l = this.computeRadius();
6212
+ const t = this, n = this.getComponentContainer(), s = this.getOptions(), { groupMapsTo: a } = s.data, { valueMapsTo: i } = s.pie;
6213
+ this.isRendering = !0;
6214
+ const r = this.model.getDisplayData().filter((M) => M[i] > 0), l = this.computeRadius();
6201
6215
  this.arc = xt().innerRadius(this.getInnerRadius()).outerRadius(l), this.hoverArc = xt().innerRadius(this.getInnerRadius()).outerRadius(l + te.hoverArc.outerRadiusOffset);
6202
- const d = ai().value((w) => w[i]).sort(v(s, "pie", "sortFunction")).padAngle(te.padAngle)(r), h = S.appendOrSelect(n, "g.slices").attr("role", X.GROUP).attr("data-name", "slices").selectAll("path.slice").data(d, (w) => w.data[a]);
6216
+ const d = ii().value((M) => M[i]).sort(v(s, "pie", "sortFunction")).padAngle(te.padAngle)(r), h = S.appendOrSelect(n, "g.slices").attr("role", X.GROUP).attr("data-name", "slices").selectAll("path.slice").data(d, (M) => M.data[a]);
6203
6217
  h.exit().attr("opacity", 0).remove(), h.enter().append("path").classed("slice", !0).attr("opacity", 0).merge(h).attr(
6204
6218
  "class",
6205
- (w) => this.model.getColorClassName({
6206
- classNameTypes: [F.FILL],
6207
- dataGroupName: w.data[a],
6219
+ (M) => this.model.getColorClassName({
6220
+ classNameTypes: [z.FILL],
6221
+ dataGroupName: M.data[a],
6208
6222
  originalClassName: "slice"
6209
6223
  })
6210
- ).style("fill", (w) => t.model.getFillColor(w.data[a], null, w.data)).attr("d", this.arc).transition().call(
6211
- (w) => this.services.transitions.setupTransition({
6212
- transition: w,
6224
+ ).style("fill", (M) => t.model.getFillColor(M.data[a], null, M.data)).attr("d", this.arc).transition().call(
6225
+ (M) => this.services.transitions.setupTransition({
6226
+ transition: M,
6213
6227
  name: "pie_slice_enter_update",
6214
6228
  animate: e
6215
6229
  })
6216
6230
  ).attr("opacity", 1).attr("role", X.GRAPHICS_SYMBOL).attr("aria-roledescription", "slice").attr(
6217
6231
  "aria-label",
6218
- (w) => `${w[i]}, ${Qt(w.data[i], r, i) + "%"}`
6219
- ).attrTween("d", function(w) {
6220
- return Ll.bind(this)(w, t.arc);
6232
+ (M) => `${M[i]}, ${en(M.data[i], r, i) + "%"}`
6233
+ ).attrTween("d", function(M) {
6234
+ return _l.bind(this)(M, t.arc);
6235
+ }).end().finally(() => {
6236
+ t.isRendering = !1;
6221
6237
  });
6222
- const { code: m, number: E } = v(s, "locale"), O = s.pie.labels.enabled, T = O ? d.filter((w) => w.data[i] > 0) : [], A = S.appendOrSelect(n, "g.labels").attr("role", X.GROUP).attr("data-name", "labels").selectAll("text.pie-label").data(T, (w) => w.data[a]);
6238
+ const { code: m, number: E } = v(s, "locale"), O = s.pie.labels.enabled, T = O ? d.filter((M) => M.data[i] > 0) : [], A = S.appendOrSelect(n, "g.labels").attr("role", X.GROUP).attr("data-name", "labels").selectAll("text.pie-label").data(T, (M) => M.data[a]);
6223
6239
  A.exit().attr("opacity", 0).remove();
6224
- const M = A.enter().append("text").classed("pie-label", !0), L = [];
6225
- M.merge(A).style("text-anchor", "middle").text((w) => s.pie.labels.formatter ? s.pie.labels.formatter({
6226
- ...w,
6227
- percentageValue: Qt(
6228
- w.data[i],
6240
+ const w = A.enter().append("text").classed("pie-label", !0), L = [];
6241
+ w.merge(A).style("text-anchor", "middle").text((M) => s.pie.labels.formatter ? s.pie.labels.formatter({
6242
+ ...M,
6243
+ percentageValue: en(
6244
+ M.data[i],
6229
6245
  r,
6230
6246
  i,
6231
6247
  !0
6232
6248
  )
6233
6249
  }) : E(
6234
- Qt(w.data[i], r, i),
6250
+ en(M.data[i], r, i),
6235
6251
  m
6236
- ) + "%").datum(function(w) {
6237
- const Q = l + 7, me = (w.endAngle - w.startAngle) / 2 + w.startAngle, K = me / Math.PI * 180, H = this.getComputedTextLength();
6238
- return w.textOffsetX = H / 2, w.textOffsetY = K > 90 && K < 270 ? 10 : 0, w.xPosition = (w.textOffsetX + Q) * Math.sin(me), w.yPosition = (w.textOffsetY + Q) * -Math.cos(me), w;
6239
- }).attr("transform", function(w, Q) {
6240
- const me = T.length, K = (w.endAngle - w.startAngle) * (180 / Math.PI);
6252
+ ) + "%").datum(function(M) {
6253
+ const Q = l + 7, me = (M.endAngle - M.startAngle) / 2 + M.startAngle, K = me / Math.PI * 180, H = this.getComputedTextLength();
6254
+ return M.textOffsetX = H / 2, M.textOffsetY = K > 90 && K < 270 ? 10 : 0, M.xPosition = (M.textOffsetX + Q) * Math.sin(me), M.yPosition = (M.textOffsetY + Q) * -Math.cos(me), M;
6255
+ }).attr("transform", function(M, Q) {
6256
+ const me = T.length, K = (M.endAngle - M.startAngle) * (180 / Math.PI);
6241
6257
  if (Q >= me - 2 && K < te.callout.minSliceDegree) {
6242
6258
  let H, Z;
6243
- return w.index === me - 1 ? (H = w.xPosition + te.callout.offsetX + te.callout.textMargin + w.textOffsetX, Z = w.yPosition - te.callout.offsetY, w.direction = an.RIGHT, L.push(w)) : (H = w.xPosition - te.callout.offsetX - w.textOffsetX - te.callout.textMargin, Z = w.yPosition - te.callout.offsetY, w.direction = an.LEFT, L.push(w)), `translate(${H}, ${Z})`;
6259
+ return M.index === me - 1 ? (H = M.xPosition + te.callout.offsetX + te.callout.textMargin + M.textOffsetX, Z = M.yPosition - te.callout.offsetY, M.direction = an.RIGHT, L.push(M)) : (H = M.xPosition - te.callout.offsetX - M.textOffsetX - te.callout.textMargin, Z = M.yPosition - te.callout.offsetY, M.direction = an.LEFT, L.push(M)), `translate(${H}, ${Z})`;
6244
6260
  }
6245
- return `translate(${w.xPosition}, ${w.yPosition})`;
6261
+ return `translate(${M.xPosition}, ${M.yPosition})`;
6246
6262
  }), this.renderCallouts(L);
6247
- const I = v(s, "donut") ? "donut" : "pie", N = v(s, I, "alignment"), { width: j } = S.getSVGElementSize(this.getParent(), {
6263
+ const I = v(s, "donut") ? "donut" : "pie", N = v(s, I, "alignment"), { width: W } = S.getSVGElementSize(this.getParent(), {
6248
6264
  useAttrs: !0
6249
- }), D = O ? te.xOffset : 0, C = O ? te.yOffset : 0;
6250
- let V = l + D;
6251
- N === Ce.CENTER ? V = j / 2 : N === Ce.RIGHT && (V = j - l - te.xOffset);
6252
- let z = l + C;
6253
- L.length > 0 && (z += te.yOffsetCallout), n.attr("x", V + 7).attr("y", z), this.addEventListeners();
6265
+ }), R = O ? te.xOffset : 0, C = O ? te.yOffset : 0;
6266
+ let V = l + R;
6267
+ N === Ce.CENTER ? V = W / 2 : N === Ce.RIGHT && (V = W - l - te.xOffset);
6268
+ let F = l + C;
6269
+ L.length > 0 && (F += te.yOffsetCallout), n.attr("x", V + 7).attr("y", F), this.addEventListeners();
6254
6270
  }
6255
6271
  renderCallouts(e) {
6256
6272
  const t = S.appendOrSelect(this.getComponentContainer(), "g.callouts").attr("role", X.GROUP).attr("data-name", "callouts"), n = t.selectAll("g.callout").data(e);
@@ -6281,7 +6297,7 @@ class Al extends q {
6281
6297
  const e = this;
6282
6298
  this.parent.selectAll("path.slice").on("mouseover", function(t, n) {
6283
6299
  const s = x(this);
6284
- s.classed("hovered", !0).transition("pie_slice_mouseover").call(
6300
+ e.isRendering || s.classed("hovered", !0).transition("pie_slice_mouseover").call(
6285
6301
  (r) => e.services.transitions.setupTransition({
6286
6302
  transition: r,
6287
6303
  name: "pie_slice_mouseover"
@@ -6319,12 +6335,14 @@ class Al extends q {
6319
6335
  });
6320
6336
  }).on("mouseout", function(t, n) {
6321
6337
  const s = x(this);
6322
- s.classed("hovered", !1).transition("pie_slice_mouseout").call(
6323
- (a) => e.services.transitions.setupTransition({
6324
- transition: a,
6325
- name: "pie_slice_mouseout"
6326
- })
6327
- ).attr("d", e.arc), e.services.events.dispatchEvent(f.Pie.SLICE_MOUSEOUT, {
6338
+ wr(() => {
6339
+ e.isRendering || s.classed("hovered", !1).transition("pie_slice_mouseout").call(
6340
+ (a) => e.services.transitions.setupTransition({
6341
+ transition: a,
6342
+ name: "pie_slice_mouseout"
6343
+ })
6344
+ ).attr("d", e.arc);
6345
+ }, 100), e.services.events.dispatchEvent(f.Pie.SLICE_MOUSEOUT, {
6328
6346
  event: t,
6329
6347
  element: s,
6330
6348
  datum: n
@@ -6341,9 +6359,9 @@ class Al extends q {
6341
6359
  return n.pie.labels.enabled ? s + te.radiusOffset : s;
6342
6360
  }
6343
6361
  }
6344
- class Hh extends Al {
6362
+ class Wh extends Il {
6345
6363
  constructor() {
6346
- super(...arguments), this.type = "donut", this.renderType = W.SVG;
6364
+ super(...arguments), this.type = "donut", this.renderType = j.SVG;
6347
6365
  }
6348
6366
  render(e = !0) {
6349
6367
  super.render(e);
@@ -6372,7 +6390,7 @@ class Hh extends Al {
6372
6390
  n === null && (n = this.model.getDisplayData().reduce((r, l) => r + l[t.pie.valueMapsTo], 0));
6373
6391
  const s = parseInt(e.text().replace(/[, ]+/g, ""), 10) || 0;
6374
6392
  let a;
6375
- s % 1 === 0 && n % 1 === 0 ? a = ri : a = ta;
6393
+ s % 1 === 0 && n % 1 === 0 ? a = oi : a = ta;
6376
6394
  const i = a(s, n);
6377
6395
  return (r) => {
6378
6396
  const { numberFormatter: l } = t.donut.center;
@@ -6386,9 +6404,9 @@ class Hh extends Al {
6386
6404
  }
6387
6405
  }
6388
6406
  const Ws = "4,10 8,6 12,10", js = "12,6 8,10 4,6";
6389
- class $h extends q {
6407
+ class jh extends q {
6390
6408
  constructor() {
6391
- super(...arguments), this.type = "gauge", this.renderType = W.SVG;
6409
+ super(...arguments), this.type = "gauge", this.renderType = j.SVG;
6392
6410
  }
6393
6411
  getValue() {
6394
6412
  var n;
@@ -6434,7 +6452,7 @@ class $h extends q {
6434
6452
  u.enter().append("path").merge(u).attr(
6435
6453
  "class",
6436
6454
  this.model.getColorClassName({
6437
- classNameTypes: [F.FILL],
6455
+ classNameTypes: [z.FILL],
6438
6456
  dataGroupName: "value",
6439
6457
  originalClassName: "arc-foreground"
6440
6458
  })
@@ -6456,11 +6474,14 @@ class $h extends q {
6456
6474
  "transform",
6457
6475
  `translate(0, ${p})`
6458
6476
  ), u = r(i), g = S.appendOrSelect(h, "g.gauge-value-number"), { code: m, number: E } = v(t, "locale"), O = v(t, "gauge", "numberFormatter"), T = g.selectAll("text.gauge-value-number").data([s]);
6459
- T.enter().append("text").attr("class", "gauge-value-number").merge(T).style("font-size", `${u}px`).attr("text-anchor", "middle").text((j) => E(Number(O(j)), m));
6477
+ T.enter().append("text").attr("class", "gauge-value-number").merge(T).style("font-size", `${u}px`).attr("text-anchor", "middle").text((W) => {
6478
+ let R;
6479
+ return W != null ? R = Number(W.toFixed(2)) % 1 !== 0 ? W.toFixed(2) : W.toFixed() : R = 0, O ? O(R) : E(Number(R), m);
6480
+ });
6460
6481
  const { width: y } = S.getSVGElementSize(
6461
6482
  S.appendOrSelect(e, "text.gauge-value-number"),
6462
6483
  { useBBox: !0 }
6463
- ), A = u / 2, M = d ? "%" : "", L = S.appendOrSelect(g, "text.gauge-value-symbol").style("font-size", `${A}px`).attr("x", y / 2).text(M), { width: I, height: N } = S.getSVGElementSize(L, {
6484
+ ), A = u / 2, w = d ? "%" : "", L = S.appendOrSelect(g, "text.gauge-value-symbol").style("font-size", `${A}px`).attr("x", y / 2).text(w), { width: I, height: N } = S.getSVGElementSize(L, {
6464
6485
  useBBox: !0
6465
6486
  });
6466
6487
  L.attr("y", `-${N / 2}px`), g.attr("transform", `translate(-${I / 2}, 0)`);
@@ -6475,9 +6496,10 @@ class $h extends q {
6475
6496
  "transform",
6476
6497
  `translate(0, ${l(r) + p})`
6477
6498
  ), m = S.appendOrSelect(g, "text.gauge-delta-number"), E = h ? "%" : "";
6478
- m.data(s === null ? [] : [s]), m.enter().append("text").classed("gauge-delta-number", !0).merge(m).attr("text-anchor", "middle").style("font-size", `${l(r)}px`).text(
6479
- (A) => `${i(Number(c(A)), a)}${E}`
6480
- );
6499
+ m.data(s === null ? [] : [s]), m.enter().append("text").classed("gauge-delta-number", !0).merge(m).attr("text-anchor", "middle").style("font-size", `${l(r)}px`).text((A) => {
6500
+ let w;
6501
+ return A != null ? w = Number(A.toFixed(2)) % 1 !== 0 ? A.toFixed(2) : A.toFixed() : w = 0, c ? `${c(w)}${E}` : `${i(Number(w), a)}${E}`;
6502
+ });
6481
6503
  const { width: O } = S.getSVGElementSize(
6482
6504
  S.appendOrSelect(t, ".gauge-delta-number"),
6483
6505
  { useBBox: !0 }
@@ -6485,8 +6507,8 @@ class $h extends q {
6485
6507
  y.enter().append("svg").merge(y).attr("class", "gauge-delta-arrow").attr("x", -d(r) - O / 2).attr("y", -d(r) / 2 - l(r) * 0.35).attr("width", d(r)).attr("height", d(r)).attr("viewBox", "0 0 16 16").each(function() {
6486
6508
  const A = x(this);
6487
6509
  S.appendOrSelect(A, "rect.gauge-delta-arrow-backdrop").attr("width", "16").attr("height", "16").attr("fill", "none");
6488
- const M = v(n, "gauge", "status");
6489
- S.appendOrSelect(A, "polygon.gauge-delta-arrow").attr("class", M !== null ? `gauge-delta-arrow status--${M}` : "").attr("points", e.getArrow(s));
6510
+ const w = v(n, "gauge", "status");
6511
+ S.appendOrSelect(A, "polygon.gauge-delta-arrow").attr("class", w !== null ? `gauge-delta-arrow status--${w}` : "").attr("points", e.getArrow(s));
6490
6512
  }), y.exit().remove(), m.exit().remove();
6491
6513
  } else {
6492
6514
  const r = t.select("g.gauge-delta");
@@ -6535,9 +6557,9 @@ class $h extends q {
6535
6557
  return t === Ct.SEMI ? Math.min(n / 2, s) : Math.min(n / 2, s / 2);
6536
6558
  }
6537
6559
  }
6538
- class Uh extends Wn {
6560
+ class Xh extends Wn {
6539
6561
  constructor() {
6540
- super(...arguments), this.type = "grouped-bar", this.renderType = W.SVG, this.padding = 5, this.defaultStepFactor = 70, this.handleLegendOnHover = (e) => {
6562
+ super(...arguments), this.type = "grouped-bar", this.renderType = j.SVG, this.padding = 5, this.defaultStepFactor = 70, this.handleLegendOnHover = (e) => {
6541
6563
  const { hoveredElement: t } = e.detail, { groupMapsTo: n } = this.getOptions().data;
6542
6564
  this.parent.selectAll("path.bar").transition("legend-hover-bar").call(
6543
6565
  (s) => this.services.transitions.setupTransition({
@@ -6561,7 +6583,7 @@ class Uh extends Wn {
6561
6583
  render(e) {
6562
6584
  const t = this.model.getDisplayData(this.configs.groups), n = this.getOptions(), { groupMapsTo: s } = n.data;
6563
6585
  this.setGroupScale();
6564
- const a = this.getComponentContainer({ withinChartClip: !0 }), i = Ka(
6586
+ const a = this.getComponentContainer({ withinChartClip: !0 }), i = Ja(
6565
6587
  t.map((h) => {
6566
6588
  const u = this.services.cartesianScales.getDomainIdentifier(h);
6567
6589
  return h[u] && typeof h[u].toString == "function" ? h[u].toString() : h[u];
@@ -6592,7 +6614,7 @@ class Uh extends Wn {
6592
6614
  ).attr(
6593
6615
  "class",
6594
6616
  (h) => this.model.getColorClassName({
6595
- classNameTypes: [F.FILL],
6617
+ classNameTypes: [z.FILL],
6596
6618
  dataGroupName: h[s],
6597
6619
  originalClassName: "bar"
6598
6620
  })
@@ -6600,8 +6622,8 @@ class Uh extends Wn {
6600
6622
  const u = this.services.cartesianScales.getDomainIdentifier(h);
6601
6623
  return this.model.getFillColor(h[s], h[u], h);
6602
6624
  }).attr("d", (h) => {
6603
- const u = this.groupScale(h[s]), g = this.getBarWidth(), m = u, E = u + g, O = this.services.cartesianScales.getRangeAxisPosition({ datum: h }), T = this.services.cartesianScales.getValueThroughAxisPosition(O, 0), y = this.services.cartesianScales.getRangeValue(h), A = this.services.cartesianScales.getDomainValue(h) - g / 2, M = A + g;
6604
- if (!this.isOutsideZoomedDomain(A, M))
6625
+ const u = this.groupScale(h[s]), g = this.getBarWidth(), m = u, E = u + g, O = this.services.cartesianScales.getRangeAxisPosition({ datum: h }), T = this.services.cartesianScales.getValueThroughAxisPosition(O, 0), y = this.services.cartesianScales.getRangeValue(h), A = this.services.cartesianScales.getDomainValue(h) - g / 2, w = A + g;
6626
+ if (!this.isOutsideZoomedDomain(A, w))
6605
6627
  return ye(
6606
6628
  { x0: m, x1: E, y0: T, y1: y },
6607
6629
  this.services.cartesianScales.getOrientation()
@@ -6701,9 +6723,9 @@ class Uh extends Wn {
6701
6723
  this.groupScale = Bn().domain(e).rangeRound([0, this.getGroupWidth()]);
6702
6724
  }
6703
6725
  }
6704
- class zh extends q {
6726
+ class Zh extends q {
6705
6727
  constructor() {
6706
- super(...arguments), this.type = "heatmap", this.renderType = W.SVG, this.matrix = {}, this.xBandwidth = 0, this.yBandwidth = 0, this.translationUnits = {
6728
+ super(...arguments), this.type = "heatmap", this.renderType = j.SVG, this.matrix = {}, this.xBandwidth = 0, this.yBandwidth = 0, this.translationUnits = {
6707
6729
  x: 0,
6708
6730
  y: 0
6709
6731
  }, this.handleAxisOnHover = (e) => {
@@ -6876,9 +6898,9 @@ class zh extends q {
6876
6898
  e.removeEventListener(f.Legend.ITEM_HOVER, this.handleAxisOnHover), e.removeEventListener(f.Legend.ITEM_MOUSEOUT, this.handleAxisMouseOut);
6877
6899
  }
6878
6900
  }
6879
- class Fh extends q {
6901
+ class Yh extends q {
6880
6902
  constructor() {
6881
- super(...arguments), this.type = "histogram", this.renderType = W.SVG, this.handleLegendOnHover = (e) => {
6903
+ super(...arguments), this.type = "histogram", this.renderType = j.SVG, this.handleLegendOnHover = (e) => {
6882
6904
  const { hoveredElement: t } = e.detail, n = this.getOptions(), { groupMapsTo: s } = n.data;
6883
6905
  this.parent.selectAll("path.bar").transition("legend-hover-bar").call(
6884
6906
  (a) => this.services.transitions.setupTransition({
@@ -6912,7 +6934,7 @@ class Fh extends q {
6912
6934
  ).attr(
6913
6935
  "class",
6914
6936
  (d) => this.model.getColorClassName({
6915
- classNameTypes: [F.FILL],
6937
+ classNameTypes: [z.FILL],
6916
6938
  dataGroupName: d[a],
6917
6939
  originalClassName: "bar"
6918
6940
  })
@@ -6946,7 +6968,7 @@ class Fh extends q {
6946
6968
  label: e.tooltip.groupLabel || "Group",
6947
6969
  value: r[t],
6948
6970
  class: a.model.getColorClassName({
6949
- classNameTypes: [F.TOOLTIP],
6971
+ classNameTypes: [z.TOOLTIP],
6950
6972
  dataGroupName: r[t]
6951
6973
  })
6952
6974
  },
@@ -6970,9 +6992,9 @@ class Fh extends q {
6970
6992
  e.removeEventListener(f.Legend.ITEM_HOVER, this.handleLegendOnHover), e.removeEventListener(f.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
6971
6993
  }
6972
6994
  }
6973
- class Wh extends zn {
6995
+ class qh extends Fn {
6974
6996
  constructor() {
6975
- super(...arguments), this.type = "lollipop", this.renderType = W.SVG, this.handleScatterOnHover = (e) => {
6997
+ super(...arguments), this.type = "lollipop", this.renderType = j.SVG, this.handleScatterOnHover = (e) => {
6976
6998
  const t = e.detail, n = this.getOptions(), { groupMapsTo: s } = n.data;
6977
6999
  this.parent.selectAll("line.line").attr("stroke-width", (a) => a[s] !== t.datum[s] ? Ge.weight.unselected : Ge.weight.selected);
6978
7000
  }, this.handleScatterOnMouseOut = () => {
@@ -7011,7 +7033,7 @@ class Wh extends zn {
7011
7033
  const E = g.enter().append("line").attr("opacity", 0).merge(g).classed("line", !0).attr(
7012
7034
  "class",
7013
7035
  (O) => this.model.getColorClassName({
7014
- classNameTypes: [F.STROKE],
7036
+ classNameTypes: [z.STROKE],
7015
7037
  dataGroupName: O[s],
7016
7038
  originalClassName: "line"
7017
7039
  })
@@ -7042,9 +7064,9 @@ class Wh extends zn {
7042
7064
  );
7043
7065
  }
7044
7066
  }
7045
- class jh extends q {
7067
+ class Kh extends q {
7046
7068
  constructor() {
7047
- super(...arguments), this.type = "meter", this.renderType = W.SVG;
7069
+ super(...arguments), this.type = "meter", this.renderType = j.SVG;
7048
7070
  }
7049
7071
  getStackedBounds(e, t) {
7050
7072
  let n = 0;
@@ -7081,7 +7103,7 @@ class jh extends q {
7081
7103
  g.enter().append("rect").classed("value", !0).merge(g).attr("x", (y) => y.x).attr("y", 0).attr("height", () => u || (a ? pe.height.proportional : pe.height.default)).attr(
7082
7104
  "class",
7083
7105
  (y) => this.model.getColorClassName({
7084
- classNameTypes: [F.FILL],
7106
+ classNameTypes: [z.FILL],
7085
7107
  dataGroupName: y[c],
7086
7108
  originalClassName: m
7087
7109
  })
@@ -7153,13 +7175,13 @@ class jh extends q {
7153
7175
  this.parent.selectAll("rect.value").on("mouseover", null).on("mousemove", null).on("mouseout", null).on("click", null);
7154
7176
  }
7155
7177
  }
7156
- class Xh extends q {
7178
+ class Jh extends q {
7157
7179
  constructor() {
7158
- super(...arguments), this.type = "radar", this.renderType = W.SVG, this.getLabelDimensions = (e) => {
7180
+ super(...arguments), this.type = "radar", this.renderType = j.SVG, this.getLabelDimensions = (e) => {
7159
7181
  const t = S.appendOrSelect(this.getComponentContainer(), "g.tmp-tick"), n = S.appendOrSelect(t, "text").text(e), { width: s, height: a } = S.getSVGElementSize(n.node(), { useBBox: !0 });
7160
7182
  return t.remove(), { width: s, height: a };
7161
7183
  }, this.normalizeFlatData = (e) => {
7162
- const t = this.getOptions(), { angle: n, value: s } = v(t, "radar", "axes"), a = v(t, "data", "groupMapsTo"), i = Ar(
7184
+ const t = this.getOptions(), { angle: n, value: s } = v(t, "radar", "axes"), a = v(t, "data", "groupMapsTo"), i = Ir(
7163
7185
  this.uniqueKeys.map((r) => this.uniqueGroups.map((l) => ({
7164
7186
  [n]: r,
7165
7187
  [a]: l,
@@ -7184,14 +7206,14 @@ class Xh extends q {
7184
7206
  transition: n,
7185
7207
  name: "legend-hover-blob"
7186
7208
  })
7187
- ).style("fill-opacity", (n) => n.name !== t.datum().name ? Fe.opacity.unselected : Fe.opacity.selected).style("stroke-opacity", (n) => n.name !== t.datum().name ? Fe.opacity.unselected : 1);
7209
+ ).style("fill-opacity", (n) => n.name !== t.datum().name ? ze.opacity.unselected : ze.opacity.selected).style("stroke-opacity", (n) => n.name !== t.datum().name ? ze.opacity.unselected : 1);
7188
7210
  }, this.handleLegendMouseOut = () => {
7189
7211
  this.parent.selectAll("g.blobs path").transition("legend-mouseout-blob").call(
7190
7212
  (e) => this.services.transitions.setupTransition({
7191
7213
  transition: e,
7192
7214
  name: "legend-mouseout-blob"
7193
7215
  })
7194
- ).style("fill-opacity", Fe.opacity.selected).style("stroke-opacity", 1);
7216
+ ).style("fill-opacity", ze.opacity.selected).style("stroke-opacity", 1);
7195
7217
  };
7196
7218
  }
7197
7219
  init() {
@@ -7201,27 +7223,27 @@ class Xh extends q {
7201
7223
  render(e = !0) {
7202
7224
  const t = this.getComponentContainer(), { width: n, height: s } = S.getSVGElementSize(t, {
7203
7225
  useAttrs: !0
7204
- }), a = this.model.getData(), i = this.model.getGroupedData(), r = this.getOptions(), l = v(r, "data", "groupMapsTo"), c = v(r, "radar", "axes", "value"), { angle: d, value: p } = v(r, "radar", "axes"), { xLabelPadding: h, yLabelPadding: u, yTicksNumber: g, minRange: m, xAxisRectHeight: E } = Fe;
7226
+ }), a = this.model.getData(), i = this.model.getGroupedData(), r = this.getOptions(), l = v(r, "data", "groupMapsTo"), c = v(r, "radar", "axes", "value"), { angle: d, value: p } = v(r, "radar", "axes"), { xLabelPadding: h, yLabelPadding: u, yTicksNumber: g, minRange: m, xAxisRectHeight: E } = ze;
7205
7227
  this.uniqueKeys = Array.from(new Set(a.map((_) => _[d]))), this.uniqueGroups = Array.from(new Set(a.map((_) => _[l]))), this.fullDataNormalized = this.normalizeFlatData(a), this.groupedDataNormalized = this.normalizeGroupedData(i);
7206
- const T = 2 * (this.getLabelDimensions(this.uniqueKeys[0]).height + u), M = (Math.min(n, s) - T) / 2;
7207
- if (M <= 0)
7228
+ const T = 2 * (this.getLabelDimensions(this.uniqueKeys[0]).height + u), w = (Math.min(n, s) - T) / 2;
7229
+ if (w <= 0)
7208
7230
  return;
7209
7231
  const L = Bn().domain(this.fullDataNormalized.map((_) => _[d])).range([0, 2 * Math.PI].map((_) => _ - Math.PI / 2)), I = fn(this.fullDataNormalized.map((_) => _[p])), N = Ze().domain([
7210
7232
  I >= 0 ? 0 : I,
7211
7233
  gs(this.fullDataNormalized.map((_) => _[p]))
7212
- ]).range([m, M]).nice(g), j = N.ticks(g), D = (_, R, P) => this.model.getFillColor(_, R, P), C = oi().angle((_) => L(_[d]) + Math.PI / 2).radius((_) => N(_[p])).curve(li), V = this.uniqueKeys.map((_) => {
7213
- const R = this.getLabelDimensions(_).width, P = Si(
7234
+ ]).range([m, w]).nice(g), W = N.ticks(g), R = (_, D, P) => this.model.getFillColor(_, D, P), C = li().angle((_) => L(_[d]) + Math.PI / 2).radius((_) => N(_[p])).curve(ci), V = this.uniqueKeys.map((_) => {
7235
+ const D = this.getLabelDimensions(_).width, P = Oi(
7214
7236
  L(_),
7215
- M
7237
+ w
7216
7238
  );
7217
- return R + P;
7218
- }), w = {
7239
+ return D + P;
7240
+ }), M = {
7219
7241
  x: gs(V) + h,
7220
7242
  y: s / 2
7221
- }, me = S.appendOrSelect(t, "g.y-axes").attr("role", X.GROUP).selectAll("path").data(j, (_) => _), K = (_) => this.uniqueKeys.map((R) => ({ [d]: R, [p]: _ }));
7243
+ }, me = S.appendOrSelect(t, "g.y-axes").attr("role", X.GROUP).selectAll("path").data(W, (_) => _), K = (_) => this.uniqueKeys.map((D) => ({ [d]: D, [p]: _ }));
7222
7244
  me.join(
7223
- (_) => _.append("path").attr("opacity", 0).attr("transform", `translate(${w.x}, ${w.y})`).attr("fill", "none").call(
7224
- (R) => R.transition().call(
7245
+ (_) => _.append("path").attr("opacity", 0).attr("transform", `translate(${M.x}, ${M.y})`).attr("fill", "none").call(
7246
+ (D) => D.transition().call(
7225
7247
  (P) => this.services.transitions.setupTransition({
7226
7248
  transition: P,
7227
7249
  name: "radar_y_axes_enter",
@@ -7230,16 +7252,16 @@ class Xh extends q {
7230
7252
  ).attr("opacity", 1).attr("d", (P) => C(K(P)))
7231
7253
  ),
7232
7254
  (_) => _.call(
7233
- (R) => R.transition().call(
7255
+ (D) => D.transition().call(
7234
7256
  (P) => this.services.transitions.setupTransition({
7235
7257
  transition: P,
7236
7258
  name: "radar_y_axes_update",
7237
7259
  animate: e
7238
7260
  })
7239
- ).attr("opacity", 1).attr("transform", `translate(${w.x}, ${w.y})`).attr("d", (P) => C(K(P)))
7261
+ ).attr("opacity", 1).attr("transform", `translate(${M.x}, ${M.y})`).attr("d", (P) => C(K(P)))
7240
7262
  ),
7241
7263
  (_) => _.call(
7242
- (R) => R.transition().call(
7264
+ (D) => D.transition().call(
7243
7265
  (P) => this.services.transitions.setupTransition({
7244
7266
  transition: P,
7245
7267
  name: "radar_y_axes_exit",
@@ -7248,26 +7270,26 @@ class Xh extends q {
7248
7270
  ).attr("d", (P) => C(K(P))).attr("opacity", 0).remove()
7249
7271
  )
7250
7272
  ), S.appendOrSelect(t, "g.x-axes").attr("role", X.GROUP).selectAll("line").data(this.uniqueKeys, (_) => _).join(
7251
- (_) => _.append("line").attr("opacity", 0).attr("class", (R) => `x-axis-${st(R)}`).attr("stroke-dasharray", "0").attr("x1", (R) => oe(L(R), 0, w).x).attr("y1", (R) => oe(L(R), 0, w).y).attr("x2", (R) => oe(L(R), 0, w).x).attr("y2", (R) => oe(L(R), 0, w).y).call(
7252
- (R) => R.transition().call(
7273
+ (_) => _.append("line").attr("opacity", 0).attr("class", (D) => `x-axis-${st(D)}`).attr("stroke-dasharray", "0").attr("x1", (D) => oe(L(D), 0, M).x).attr("y1", (D) => oe(L(D), 0, M).y).attr("x2", (D) => oe(L(D), 0, M).x).attr("y2", (D) => oe(L(D), 0, M).y).call(
7274
+ (D) => D.transition().call(
7253
7275
  (P) => this.services.transitions.setupTransition({
7254
7276
  transition: P,
7255
7277
  name: "radar_x_axes_enter",
7256
7278
  animate: e
7257
7279
  })
7258
- ).attr("opacity", 1).attr("x1", (P) => oe(L(P), N.range()[0], w).x).attr("y1", (P) => oe(L(P), N.range()[0], w).y).attr("x2", (P) => oe(L(P), N.range()[1], w).x).attr("y2", (P) => oe(L(P), N.range()[1], w).y)
7280
+ ).attr("opacity", 1).attr("x1", (P) => oe(L(P), N.range()[0], M).x).attr("y1", (P) => oe(L(P), N.range()[0], M).y).attr("x2", (P) => oe(L(P), N.range()[1], M).x).attr("y2", (P) => oe(L(P), N.range()[1], M).y)
7259
7281
  ),
7260
7282
  (_) => _.call(
7261
- (R) => R.transition().call(
7283
+ (D) => D.transition().call(
7262
7284
  (P) => this.services.transitions.setupTransition({
7263
7285
  transition: P,
7264
7286
  name: "radar_x_axes_update",
7265
7287
  animate: e
7266
7288
  })
7267
- ).attr("opacity", 1).attr("x1", (P) => oe(L(P), N.range()[0], w).x).attr("y1", (P) => oe(L(P), N.range()[0], w).y).attr("x2", (P) => oe(L(P), N.range()[1], w).x).attr("y2", (P) => oe(L(P), N.range()[1], w).y)
7289
+ ).attr("opacity", 1).attr("x1", (P) => oe(L(P), N.range()[0], M).x).attr("y1", (P) => oe(L(P), N.range()[0], M).y).attr("x2", (P) => oe(L(P), N.range()[1], M).x).attr("y2", (P) => oe(L(P), N.range()[1], M).y)
7268
7290
  ),
7269
7291
  (_) => _.call(
7270
- (R) => R.transition().call(
7292
+ (D) => D.transition().call(
7271
7293
  (P) => this.services.transitions.setupTransition({
7272
7294
  transition: P,
7273
7295
  name: "radar_x_axes_exit",
@@ -7276,17 +7298,17 @@ class Xh extends q {
7276
7298
  ).attr("opacity", 0).remove()
7277
7299
  )
7278
7300
  ), S.appendOrSelect(t, "g.x-labels").attr("role", X.GROUP).selectAll("text").data(this.uniqueKeys).join(
7279
- (_) => _.append("text").text((R) => R).attr("opacity", 0).attr(
7301
+ (_) => _.append("text").text((D) => D).attr("opacity", 0).attr(
7280
7302
  "x",
7281
- (R) => oe(L(R), N.range()[1] + h, w).x
7303
+ (D) => oe(L(D), N.range()[1] + h, M).x
7282
7304
  ).attr(
7283
7305
  "y",
7284
- (R) => oe(L(R), N.range()[1] + h, w).y
7285
- ).style("text-anchor", (R) => fs(L(R)).textAnchor).style(
7306
+ (D) => oe(L(D), N.range()[1] + h, M).y
7307
+ ).style("text-anchor", (D) => fs(L(D)).textAnchor).style(
7286
7308
  "dominant-baseline",
7287
- (R) => fs(L(R)).dominantBaseline
7309
+ (D) => fs(L(D)).dominantBaseline
7288
7310
  ).call(
7289
- (R) => R.transition().call(
7311
+ (D) => D.transition().call(
7290
7312
  (P) => this.services.transitions.setupTransition({
7291
7313
  transition: P,
7292
7314
  name: "radar_x_labels_enter",
@@ -7295,7 +7317,7 @@ class Xh extends q {
7295
7317
  ).attr("opacity", 1)
7296
7318
  ),
7297
7319
  (_) => _.call(
7298
- (R) => R.transition().call(
7320
+ (D) => D.transition().call(
7299
7321
  (P) => this.services.transitions.setupTransition({
7300
7322
  transition: P,
7301
7323
  name: "radar_x_labels_update",
@@ -7303,17 +7325,17 @@ class Xh extends q {
7303
7325
  })
7304
7326
  ).attr("opacity", 1).attr(
7305
7327
  "x",
7306
- (P) => oe(L(P), N.range()[1] + h, w).x
7328
+ (P) => oe(L(P), N.range()[1] + h, M).x
7307
7329
  ).attr(
7308
7330
  "y",
7309
- (P) => oe(L(P), N.range()[1] + h, w).y
7331
+ (P) => oe(L(P), N.range()[1] + h, M).y
7310
7332
  ).end().finally(() => {
7311
7333
  const P = v(r, "radar", "alignment"), Le = this.getAlignmentXOffset(P, t, this.getParent());
7312
7334
  t.attr("x", Le);
7313
7335
  })
7314
7336
  ),
7315
7337
  (_) => _.call(
7316
- (R) => R.transition().call(
7338
+ (D) => D.transition().call(
7317
7339
  (P) => this.services.transitions.setupTransition({
7318
7340
  transition: P,
7319
7341
  name: "radar_x_labels_exit",
@@ -7324,42 +7346,42 @@ class Xh extends q {
7324
7346
  ), S.appendOrSelect(t, "g.blobs").attr("role", X.GROUP).selectAll("path").data(this.groupedDataNormalized, (_) => _.name).join(
7325
7347
  (_) => _.append("path").attr(
7326
7348
  "class",
7327
- (R) => this.model.getColorClassName({
7328
- classNameTypes: [F.FILL, F.STROKE],
7329
- dataGroupName: R.name,
7349
+ (D) => this.model.getColorClassName({
7350
+ classNameTypes: [z.FILL, z.STROKE],
7351
+ dataGroupName: D.name,
7330
7352
  originalClassName: "blob"
7331
7353
  })
7332
- ).attr("role", X.GRAPHICS_SYMBOL).attr("aria-label", (R) => R.name).attr("opacity", 0).attr(
7354
+ ).attr("role", X.GRAPHICS_SYMBOL).attr("aria-label", (D) => D.name).attr("opacity", 0).attr(
7333
7355
  "transform",
7334
- e ? () => `translate(${w.x}, ${w.y}) scale(${1 + Math.random() * 0.35})` : `translate(${w.x}, ${w.y})`
7335
- ).style("fill", (R) => D(R.name, null, R.data)).style("fill-opacity", Fe.opacity.selected).style("stroke", (R) => D(R.name, null, R.data)).call((R) => {
7336
- const P = R.transition().call(
7356
+ e ? () => `translate(${M.x}, ${M.y}) scale(${1 + Math.random() * 0.35})` : `translate(${M.x}, ${M.y})`
7357
+ ).style("fill", (D) => R(D.name, null, D.data)).style("fill-opacity", ze.opacity.selected).style("stroke", (D) => R(D.name, null, D.data)).call((D) => {
7358
+ const P = D.transition().call(
7337
7359
  (Le) => this.services.transitions.setupTransition({
7338
7360
  transition: Le,
7339
7361
  name: "radar_blobs_enter",
7340
7362
  animate: e
7341
7363
  })
7342
7364
  );
7343
- e && P.delay(() => Math.random() * 30).attr("transform", `translate(${w.x}, ${w.y})`), P.attr("opacity", 1).attr("d", (Le) => C(Le.data));
7365
+ e && P.delay(() => Math.random() * 30).attr("transform", `translate(${M.x}, ${M.y})`), P.attr("opacity", 1).attr("d", (Le) => C(Le.data));
7344
7366
  }),
7345
7367
  (_) => (_.attr(
7346
7368
  "class",
7347
- (R) => this.model.getColorClassName({
7348
- classNameTypes: [F.FILL, F.STROKE],
7349
- dataGroupName: R.name,
7369
+ (D) => this.model.getColorClassName({
7370
+ classNameTypes: [z.FILL, z.STROKE],
7371
+ dataGroupName: D.name,
7350
7372
  originalClassName: "blob"
7351
7373
  })
7352
- ).style("fill", (R) => D(R.name, null, R.data)).style("stroke", (R) => D(R.name, null, R.data)), _.call(
7353
- (R) => R.transition().call(
7374
+ ).style("fill", (D) => R(D.name, null, D.data)).style("stroke", (D) => R(D.name, null, D.data)), _.call(
7375
+ (D) => D.transition().call(
7354
7376
  (P) => this.services.transitions.setupTransition({
7355
7377
  transition: P,
7356
7378
  name: "radar_blobs_update",
7357
7379
  animate: e
7358
7380
  })
7359
- ).attr("opacity", 1).attr("transform", `translate(${w.x}, ${w.y})`).attr("d", (P) => C(P.data))
7381
+ ).attr("opacity", 1).attr("transform", `translate(${M.x}, ${M.y})`).attr("d", (P) => C(P.data))
7360
7382
  ), _),
7361
- (_) => _.call((R) => {
7362
- const P = R.transition().call(
7383
+ (_) => _.call((D) => {
7384
+ const P = D.transition().call(
7363
7385
  (Le) => this.services.transitions.setupTransition({
7364
7386
  transition: Le,
7365
7387
  name: "radar_blobs_exit",
@@ -7368,32 +7390,32 @@ class Xh extends q {
7368
7390
  );
7369
7391
  e && P.delay(() => Math.random() * 30).attr(
7370
7392
  "transform",
7371
- () => `translate(${w.x}, ${w.y}) scale(${1 + Math.random() * 0.35})`
7393
+ () => `translate(${M.x}, ${M.y}) scale(${1 + Math.random() * 0.35})`
7372
7394
  ), P.attr("opacity", 0).remove();
7373
7395
  })
7374
7396
  ), S.appendOrSelect(t, "g.dots").attr("role", X.GROUP).selectAll("circle").data(this.fullDataNormalized.filter((_) => v(_, p) !== null)).join(
7375
- (_) => _.append("circle").attr("role", X.GRAPHICS_SYMBOL).attr("aria-label", (R) => R[c]),
7397
+ (_) => _.append("circle").attr("role", X.GRAPHICS_SYMBOL).attr("aria-label", (D) => D[c]),
7376
7398
  (_) => _,
7377
7399
  (_) => _.remove()
7378
7400
  ).attr(
7379
7401
  "class",
7380
7402
  (_) => this.model.getColorClassName({
7381
- classNameTypes: [F.FILL],
7403
+ classNameTypes: [z.FILL],
7382
7404
  dataGroupName: _[l],
7383
7405
  originalClassName: st(_[d])
7384
7406
  })
7385
- ).attr("cx", (_) => oe(L(_[d]), N(_[p]), w).x).attr("cy", (_) => oe(L(_[d]), N(_[p]), w).y).attr("r", 0).attr("opacity", 0).style("fill", (_) => D(_[l])), S.appendOrSelect(t, "g.x-axes-rect").attr("role", X.GROUP).selectAll("rect").data(this.uniqueKeys).join(
7407
+ ).attr("cx", (_) => oe(L(_[d]), N(_[p]), M).x).attr("cy", (_) => oe(L(_[d]), N(_[p]), M).y).attr("r", 0).attr("opacity", 0).style("fill", (_) => R(_[l])), S.appendOrSelect(t, "g.x-axes-rect").attr("role", X.GROUP).selectAll("rect").data(this.uniqueKeys).join(
7386
7408
  (_) => _.append("rect"),
7387
7409
  (_) => _,
7388
7410
  (_) => _.remove()
7389
- ).attr("x", w.x).attr("y", w.y - E / 2).attr("width", N.range()[1]).attr("height", E).style("fill", "red").style("fill-opacity", 0).attr("transform", (_) => `rotate(${Oi(L(_))}, ${w.x}, ${w.y})`);
7411
+ ).attr("x", M.x).attr("y", M.y - E / 2).attr("width", N.range()[1]).attr("height", E).style("fill", "red").style("fill-opacity", 0).attr("transform", (_) => `rotate(${xi(L(_))}, ${M.x}, ${M.y})`);
7390
7412
  const { code: ae, number: re } = v(r, "locale");
7391
- S.appendOrSelect(t, "g.y-labels").attr("role", X.GROUP).selectAll("text").data(Wt(j)).join(
7392
- (_) => _.append("text").attr("opacity", 0).text((R) => re(R, ae)).attr(
7413
+ S.appendOrSelect(t, "g.y-labels").attr("role", X.GROUP).selectAll("text").data(jt(W)).join(
7414
+ (_) => _.append("text").attr("opacity", 0).text((D) => re(D, ae)).attr(
7393
7415
  "x",
7394
- (R) => oe(-Math.PI / 2, N(R), w).x + u
7395
- ).attr("y", (R) => oe(-Math.PI / 2, N(R), w).y).style("text-anchor", "start").style("dominant-baseline", "middle").call(
7396
- (R) => R.transition().call(
7416
+ (D) => oe(-Math.PI / 2, N(D), M).x + u
7417
+ ).attr("y", (D) => oe(-Math.PI / 2, N(D), M).y).style("text-anchor", "start").style("dominant-baseline", "middle").call(
7418
+ (D) => D.transition().call(
7397
7419
  (P) => this.services.transitions.setupTransition({
7398
7420
  transition: P,
7399
7421
  name: "radar_y_labels_enter",
@@ -7402,7 +7424,7 @@ class Xh extends q {
7402
7424
  ).attr("opacity", 1)
7403
7425
  ),
7404
7426
  (_) => _.call(
7405
- (R) => R.transition().call(
7427
+ (D) => D.transition().call(
7406
7428
  (P) => this.services.transitions.setupTransition({
7407
7429
  transition: P,
7408
7430
  name: "radar_y_labels_update",
@@ -7410,11 +7432,11 @@ class Xh extends q {
7410
7432
  })
7411
7433
  ).text((P) => P).attr("opacity", 1).attr(
7412
7434
  "x",
7413
- (P) => oe(-Math.PI / 2, N(P), w).x + u
7414
- ).attr("y", (P) => oe(-Math.PI / 2, N(P), w).y)
7435
+ (P) => oe(-Math.PI / 2, N(P), M).x + u
7436
+ ).attr("y", (P) => oe(-Math.PI / 2, N(P), M).y)
7415
7437
  ),
7416
7438
  (_) => _.call(
7417
- (R) => R.transition().call(
7439
+ (D) => D.transition().call(
7418
7440
  (P) => this.services.transitions.setupTransition({
7419
7441
  transition: P,
7420
7442
  name: "radar_y_labels_exit",
@@ -7453,7 +7475,7 @@ class Xh extends q {
7453
7475
  i.classed("hovered", !0).attr("stroke-dasharray", "4 4"), r.classed("hovered", !0).attr(
7454
7476
  "opacity",
7455
7477
  (u) => l.indexOf(u[d]) !== -1 ? 1 : 0
7456
- ).attr("r", Fe.dotsRadius);
7478
+ ).attr("r", ze.dotsRadius);
7457
7479
  const h = e.fullDataNormalized.filter(
7458
7480
  (u) => u[t] === s && l.indexOf(u[d]) !== -1
7459
7481
  );
@@ -7465,7 +7487,7 @@ class Xh extends q {
7465
7487
  value: u[p],
7466
7488
  color: e.model.getFillColor(u[d], null, u),
7467
7489
  class: e.model.getColorClassName({
7468
- classNameTypes: [F.TOOLTIP],
7490
+ classNameTypes: [z.TOOLTIP],
7469
7491
  dataGroupName: u[d]
7470
7492
  })
7471
7493
  }))
@@ -7495,9 +7517,9 @@ class Xh extends q {
7495
7517
  });
7496
7518
  }
7497
7519
  }
7498
- class Zh extends Wn {
7520
+ class Qh extends Wn {
7499
7521
  constructor() {
7500
- super(...arguments), this.type = "simple-bar", this.renderType = W.SVG, this.handleLegendOnHover = (e) => {
7522
+ super(...arguments), this.type = "simple-bar", this.renderType = j.SVG, this.handleLegendOnHover = (e) => {
7501
7523
  const { hoveredElement: t } = e.detail, { groupMapsTo: n } = this.getOptions().data;
7502
7524
  this.parent.selectAll("path.bar").transition("legend-hover-simple-bar").call(
7503
7525
  (s) => this.services.transitions.setupTransition({
@@ -7529,7 +7551,7 @@ class Zh extends Wn {
7529
7551
  ).attr(
7530
7552
  "class",
7531
7553
  (c) => this.model.getColorClassName({
7532
- classNameTypes: [F.FILL],
7554
+ classNameTypes: [z.FILL],
7533
7555
  dataGroupName: c[n],
7534
7556
  originalClassName: "bar"
7535
7557
  })
@@ -7594,7 +7616,7 @@ class Zh extends Wn {
7594
7616
  e.removeEventListener(f.Legend.ITEM_HOVER, this.handleLegendOnHover), e.removeEventListener(f.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
7595
7617
  }
7596
7618
  }
7597
- class Yh extends fl {
7619
+ class eu extends Sl {
7598
7620
  constructor() {
7599
7621
  super(...arguments), this.type = "skeleton-lines";
7600
7622
  }
@@ -7620,9 +7642,9 @@ class Yh extends fl {
7620
7642
  this.backdrop = S.appendOrSelect(e, "svg.chart-skeleton.DAII"), S.appendOrSelect(this.backdrop, "rect.chart-skeleton-backdrop").classed("shimmer-effect-lines", !1).classed("shimmer-effect-sparkline", !0).style("stroke", null);
7621
7643
  }
7622
7644
  }
7623
- class qh extends q {
7645
+ class tu extends q {
7624
7646
  constructor() {
7625
- super(...arguments), this.type = "area-stacked", this.renderType = W.SVG, this.handleLegendOnHover = (e) => {
7647
+ super(...arguments), this.type = "area-stacked", this.renderType = j.SVG, this.handleLegendOnHover = (e) => {
7626
7648
  const { hoveredElement: t } = e.detail, n = this.getOptions(), { groupMapsTo: s } = n.data;
7627
7649
  this.parent.selectAll("path.area").transition("legend-hover-area").call(
7628
7650
  (a) => this.services.transitions.setupTransition({
@@ -7656,7 +7678,7 @@ class qh extends q {
7656
7678
  ).y0((g) => p(g[0])).y1((g) => p(g[1])).curve(this.services.curves.getD3Curve()), h.exit().attr("opacity", 0).remove(), h.enter().append("path").attr("opacity", 0).merge(h).data(r, (g) => v(g, 0, a)).attr("class", "area").attr(
7657
7679
  "class",
7658
7680
  (g) => this.model.getColorClassName({
7659
- classNameTypes: [F.FILL],
7681
+ classNameTypes: [z.FILL],
7660
7682
  dataGroupName: v(g, 0, a),
7661
7683
  originalClassName: "area"
7662
7684
  })
@@ -7669,9 +7691,9 @@ class qh extends q {
7669
7691
  ).attr("opacity", Be.opacity.selected).attr("d", this.areaGenerator);
7670
7692
  }
7671
7693
  }
7672
- class Kh extends Wn {
7694
+ class nu extends Wn {
7673
7695
  constructor() {
7674
- super(...arguments), this.type = "stacked-bar", this.renderType = W.SVG, this.handleLegendOnHover = (e) => {
7696
+ super(...arguments), this.type = "stacked-bar", this.renderType = j.SVG, this.handleLegendOnHover = (e) => {
7675
7697
  const { hoveredElement: t } = e.detail, { groupMapsTo: n } = this.model.getOptions().data;
7676
7698
  this.parent.selectAll("path.bar").transition("legend-hover-bar").call(
7677
7699
  (s) => this.services.transitions.setupTransition({
@@ -7711,7 +7733,7 @@ class Kh extends Wn {
7711
7733
  ).attr(
7712
7734
  "class",
7713
7735
  (c) => this.model.getColorClassName({
7714
- classNameTypes: [F.FILL],
7736
+ classNameTypes: [z.FILL],
7715
7737
  dataGroupName: c[s],
7716
7738
  originalClassName: "bar"
7717
7739
  })
@@ -7800,9 +7822,9 @@ class Kh extends Wn {
7800
7822
  e.removeEventListener(f.Legend.ITEM_HOVER, this.handleLegendOnHover), e.removeEventListener(f.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
7801
7823
  }
7802
7824
  }
7803
- class Jh extends zn {
7825
+ class su extends Fn {
7804
7826
  constructor() {
7805
- super(...arguments), this.type = "scatter-stacked", this.renderType = W.SVG;
7827
+ super(...arguments), this.type = "scatter-stacked", this.renderType = j.SVG;
7806
7828
  }
7807
7829
  render(e) {
7808
7830
  if (!v(this.getOptions(), "points", "enabled"))
@@ -7849,9 +7871,9 @@ class Jh extends zn {
7849
7871
  }
7850
7872
  }
7851
7873
  const it = 6;
7852
- class Qh extends q {
7874
+ class au extends q {
7853
7875
  constructor() {
7854
- super(...arguments), this.type = "tree", this.renderType = W.SVG;
7876
+ super(...arguments), this.type = "tree", this.renderType = j.SVG;
7855
7877
  }
7856
7878
  getLongestLabel(e) {
7857
7879
  let t = "";
@@ -7887,39 +7909,39 @@ class Qh extends q {
7887
7909
  children: i
7888
7910
  }), u = 10, g = n / 6, m = (L) => {
7889
7911
  const I = h.descendants().reverse(), N = h.links();
7890
- let j = h, D = h;
7912
+ let W = h, R = h;
7891
7913
  h.eachBefore((H) => {
7892
- H.x < j.x && (j = H), H.x > D.x && (D = H);
7914
+ H.x < W.x && (W = H), H.x > R.x && (R = H);
7893
7915
  });
7894
- const C = D.x - j.x, V = t.transition().call(
7916
+ const C = R.x - W.x, V = t.transition().call(
7895
7917
  (H) => this.services.transitions.setupTransition({
7896
7918
  transition: H,
7897
7919
  name: "tree-update-viewbox",
7898
7920
  animate: !0
7899
7921
  })
7900
- ).attr("viewBox", [-p.left, j.x, n, C].join(" ")), z = M.selectAll("g").data(I, (H) => H.id), w = this, Q = z.enter().append("g").attr("transform", () => `translate(${L.y0},${L.x0})`).attr(
7922
+ ).attr("viewBox", [-p.left, W.x, n, C].join(" ")), F = w.selectAll("g").data(I, (H) => H.id), M = this, Q = F.enter().append("g").attr("transform", () => `translate(${L.y0},${L.x0})`).attr(
7901
7923
  "class",
7902
7924
  (H) => H.depth !== 0 && H.children && H.children.length > 0 ? "clickable" : null
7903
7925
  ).on("mouseover", function(H, Z) {
7904
- w.services.events.dispatchEvent(f.Tree.NODE_MOUSEOVER, {
7926
+ M.services.events.dispatchEvent(f.Tree.NODE_MOUSEOVER, {
7905
7927
  event: H,
7906
7928
  element: x(this),
7907
7929
  datum: Z
7908
7930
  });
7909
7931
  }).on("click", function(H, Z) {
7910
- Z.depth !== 0 && (Z.children = Z.children ? null : Z._children, m(Z)), w.services.events.dispatchEvent(f.Tree.NODE_CLICK, {
7932
+ Z.depth !== 0 && (Z.children = Z.children ? null : Z._children, m(Z)), M.services.events.dispatchEvent(f.Tree.NODE_CLICK, {
7911
7933
  event: H,
7912
7934
  element: x(this),
7913
7935
  datum: Z
7914
7936
  });
7915
7937
  }).on("mouseout", function(H, Z) {
7916
- w.services.events.dispatchEvent(f.Tree.NODE_MOUSEOUT, {
7938
+ M.services.events.dispatchEvent(f.Tree.NODE_MOUSEOUT, {
7917
7939
  event: H,
7918
7940
  element: x(this),
7919
7941
  datum: Z
7920
7942
  });
7921
7943
  });
7922
- Q.append("circle").attr("r", 2.5).attr("class", (H) => H._children ? "parent" : "child").attr("stroke-width", 10), Q.append("text").attr("dy", "0.31em").attr("x", (H) => H._children ? -it : it).attr("text-anchor", (H) => H._children ? "end" : "start").text((H) => H.data.name).clone(!0).attr("class", "text-stroke").lower(), z.merge(Q).transition(V).attr("transform", (H) => `translate(${H.y},${H.x})`).attr("fill-opacity", 1).attr("stroke-opacity", 1), z.exit().transition(V).remove().attr("transform", () => `translate(${L.y},${L.x})`).attr("fill-opacity", 0).attr("stroke-opacity", 0);
7944
+ Q.append("circle").attr("r", 2.5).attr("class", (H) => H._children ? "parent" : "child").attr("stroke-width", 10), Q.append("text").attr("dy", "0.31em").attr("x", (H) => H._children ? -it : it).attr("text-anchor", (H) => H._children ? "end" : "start").text((H) => H.data.name).clone(!0).attr("class", "text-stroke").lower(), F.merge(Q).transition(V).attr("transform", (H) => `translate(${H.y},${H.x})`).attr("fill-opacity", 1).attr("stroke-opacity", 1), F.exit().transition(V).remove().attr("transform", () => `translate(${L.y},${L.x})`).attr("fill-opacity", 0).attr("stroke-opacity", 0);
7923
7945
  const me = A.selectAll("path").data(N, (H) => H.target.id), K = me.enter().append("path").attr("d", () => {
7924
7946
  const H = { x: L.x0, y: L.y0 };
7925
7947
  return y({ source: H, target: H });
@@ -7930,173 +7952,173 @@ class Qh extends q {
7930
7952
  }), h.eachBefore((H) => {
7931
7953
  H.x0 = H.x, H.y0 = H.y;
7932
7954
  });
7933
- }, E = h.descendants(), O = E[E.length - 1].depth, T = v(a, "tree", "type") === Li.DENDROGRAM ? ci().size([
7955
+ }, E = h.descendants(), O = E[E.length - 1].depth, T = v(a, "tree", "type") === Ai.DENDROGRAM ? di().size([
7934
7956
  s,
7935
7957
  n - d - O * it - l
7936
- ]) : di().nodeSize([u, g]).size([
7958
+ ]) : hi().nodeSize([u, g]).size([
7937
7959
  s,
7938
7960
  n - d - O * it - l
7939
- ]), y = hi().x((L) => L.y).y((L) => L.x);
7961
+ ]), y = ui().x((L) => L.y).y((L) => L.x);
7940
7962
  h.x0 = g / 2, h.y0 = 0, h.descendants().forEach((L, I) => {
7941
7963
  L.id = I, L._children = L.children;
7942
7964
  }), T(h), t.attr("viewBox", [-p.left, -p.top, n, u]).style("user-select", "none");
7943
- const A = t.append("g").attr("class", "links"), M = t.append("g").attr("class", "nodes");
7965
+ const A = t.append("g").attr("class", "links"), w = t.append("g").attr("class", "nodes");
7944
7966
  m(h);
7945
7967
  }
7946
7968
  }
7947
- var Ml = "#000000", wl = "#ffffff", Cl = "#fcf4d6", _l = "#fddc69", Il = "#f1c21b", kl = "#d2a106", Rl = "#b28600", Dl = "#8e6a00", Nl = "#684e00", Pl = "#483700", Vl = "#302400", Gl = "#1c1500", Bl = {
7948
- 10: Cl,
7949
- 20: _l,
7950
- 30: Il,
7951
- 40: kl,
7952
- 50: Rl,
7953
- 60: Dl,
7954
- 70: Nl,
7955
- 80: Pl,
7956
- 90: Vl,
7957
- 100: Gl
7958
- }, Hl = "#fff2e8", $l = "#ffd9be", Ul = "#ffb784", zl = "#ff832b", Fl = "#eb6200", Wl = "#ba4e00", jl = "#8a3800", Xl = "#5e2900", Zl = "#3e1a00", Yl = "#231000", ql = {
7959
- 10: Hl,
7960
- 20: $l,
7961
- 30: Ul,
7962
- 40: zl,
7963
- 50: Fl,
7964
- 60: Wl,
7965
- 70: jl,
7966
- 80: Xl,
7967
- 90: Zl,
7968
- 100: Yl
7969
- }, Kl = "#fff1f1", Jl = "#ffd7d9", Ql = "#ffb3b8", ec = "#ff8389", tc = "#fa4d56", nc = "#da1e28", sc = "#a2191f", ac = "#750e13", ic = "#520408", rc = "#2d0709", oc = {
7970
- 10: Kl,
7971
- 20: Jl,
7972
- 30: Ql,
7973
- 40: ec,
7974
- 50: tc,
7975
- 60: nc,
7976
- 70: sc,
7977
- 80: ac,
7978
- 90: ic,
7979
- 100: rc
7980
- }, lc = "#fff0f7", cc = "#ffd6e8", dc = "#ffafd2", hc = "#ff7eb6", uc = "#ee5396", pc = "#d02670", gc = "#9f1853", mc = "#740937", fc = "#510224", vc = "#2a0a18", yc = {
7981
- 10: lc,
7982
- 20: cc,
7983
- 30: dc,
7984
- 40: hc,
7985
- 50: uc,
7986
- 60: pc,
7987
- 70: gc,
7988
- 80: mc,
7989
- 90: fc,
7990
- 100: vc
7991
- }, Ec = "#f6f2ff", bc = "#e8daff", Sc = "#d4bbff", Oc = "#be95ff", xc = "#a56eff", Tc = "#8a3ffc", Lc = "#6929c4", Ac = "#491d8b", Mc = "#31135e", wc = "#1c0f30", Cc = {
7992
- 10: Ec,
7993
- 20: bc,
7994
- 30: Sc,
7995
- 40: Oc,
7996
- 50: xc,
7997
- 60: Tc,
7998
- 70: Lc,
7999
- 80: Ac,
8000
- 90: Mc,
8001
- 100: wc
8002
- }, _c = "#edf5ff", Ic = "#d0e2ff", kc = "#a6c8ff", Rc = "#78a9ff", Dc = "#4589ff", Nc = "#0f62fe", Pc = "#0043ce", Vc = "#002d9c", Gc = "#001d6c", Bc = "#001141", Hc = {
8003
- 10: _c,
8004
- 20: Ic,
8005
- 30: kc,
8006
- 40: Rc,
8007
- 50: Dc,
8008
- 60: Nc,
8009
- 70: Pc,
8010
- 80: Vc,
8011
- 90: Gc,
8012
- 100: Bc
8013
- }, $c = "#e5f6ff", Uc = "#bae6ff", zc = "#82cfff", Fc = "#33b1ff", Wc = "#1192e8", jc = "#0072c3", Xc = "#00539a", Zc = "#003a6d", Yc = "#012749", qc = "#061727", Kc = {
8014
- 10: $c,
8015
- 20: Uc,
8016
- 30: zc,
8017
- 40: Fc,
8018
- 50: Wc,
8019
- 60: jc,
8020
- 70: Xc,
8021
- 80: Zc,
8022
- 90: Yc,
8023
- 100: qc
8024
- }, Jc = "#d9fbfb", Qc = "#9ef0f0", ed = "#3ddbd9", td = "#08bdba", nd = "#009d9a", sd = "#007d79", ad = "#005d5d", id = "#004144", rd = "#022b30", od = "#081a1c", ld = {
8025
- 10: Jc,
8026
- 20: Qc,
8027
- 30: ed,
8028
- 40: td,
8029
- 50: nd,
8030
- 60: sd,
8031
- 70: ad,
8032
- 80: id,
8033
- 90: rd,
8034
- 100: od
8035
- }, cd = "#defbe6", dd = "#a7f0ba", hd = "#6fdc8c", ud = "#42be65", pd = "#24a148", gd = "#198038", md = "#0e6027", fd = "#044317", vd = "#022d0d", yd = "#071908", Ed = {
8036
- 10: cd,
8037
- 20: dd,
8038
- 30: hd,
8039
- 40: ud,
8040
- 50: pd,
8041
- 60: gd,
8042
- 70: md,
8043
- 80: fd,
8044
- 90: vd,
8045
- 100: yd
8046
- }, bd = "#f2f4f8", Sd = "#dde1e6", Od = "#c1c7cd", xd = "#a2a9b0", Td = "#878d96", Ld = "#697077", Ad = "#4d5358", Md = "#343a3f", wd = "#21272a", Cd = "#121619", _d = {
8047
- 10: bd,
8048
- 20: Sd,
8049
- 30: Od,
8050
- 40: xd,
8051
- 50: Td,
8052
- 60: Ld,
8053
- 70: Ad,
8054
- 80: Md,
8055
- 90: wd,
8056
- 100: Cd
8057
- }, Id = "#f4f4f4", kd = "#e0e0e0", Rd = "#c6c6c6", Dd = "#a8a8a8", Nd = "#8d8d8d", Pd = "#6f6f6f", Vd = "#525252", Gd = "#393939", Bd = "#262626", Hd = "#161616", $d = {
8058
- 10: Id,
8059
- 20: kd,
8060
- 30: Rd,
8061
- 40: Dd,
8062
- 50: Nd,
8063
- 60: Pd,
8064
- 70: Vd,
8065
- 80: Gd,
8066
- 90: Bd,
8067
- 100: Hd
8068
- }, Ud = "#f7f3f2", zd = "#e5e0df", Fd = "#cac5c4", Wd = "#ada8a8", jd = "#8f8b8b", Xd = "#726e6e", Zd = "#565151", Yd = "#3c3838", qd = "#272525", Kd = "#171414", Jd = {
8069
- 10: Ud,
8070
- 20: zd,
8071
- 30: Fd,
8072
- 40: Wd,
8073
- 50: jd,
8074
- 60: Xd,
8075
- 70: Zd,
8076
- 80: Yd,
8077
- 90: qd,
8078
- 100: Kd
7969
+ var Rl = "#000000", kl = "#ffffff", Dl = "#fcf4d6", Nl = "#fddc69", Pl = "#f1c21b", Vl = "#d2a106", Gl = "#b28600", Bl = "#8e6a00", Hl = "#684e00", $l = "#483700", Ul = "#302400", Fl = "#1c1500", zl = {
7970
+ 10: Dl,
7971
+ 20: Nl,
7972
+ 30: Pl,
7973
+ 40: Vl,
7974
+ 50: Gl,
7975
+ 60: Bl,
7976
+ 70: Hl,
7977
+ 80: $l,
7978
+ 90: Ul,
7979
+ 100: Fl
7980
+ }, Wl = "#fff2e8", jl = "#ffd9be", Xl = "#ffb784", Zl = "#ff832b", Yl = "#eb6200", ql = "#ba4e00", Kl = "#8a3800", Jl = "#5e2900", Ql = "#3e1a00", ec = "#231000", tc = {
7981
+ 10: Wl,
7982
+ 20: jl,
7983
+ 30: Xl,
7984
+ 40: Zl,
7985
+ 50: Yl,
7986
+ 60: ql,
7987
+ 70: Kl,
7988
+ 80: Jl,
7989
+ 90: Ql,
7990
+ 100: ec
7991
+ }, nc = "#fff1f1", sc = "#ffd7d9", ac = "#ffb3b8", ic = "#ff8389", rc = "#fa4d56", oc = "#da1e28", lc = "#a2191f", cc = "#750e13", dc = "#520408", hc = "#2d0709", uc = {
7992
+ 10: nc,
7993
+ 20: sc,
7994
+ 30: ac,
7995
+ 40: ic,
7996
+ 50: rc,
7997
+ 60: oc,
7998
+ 70: lc,
7999
+ 80: cc,
8000
+ 90: dc,
8001
+ 100: hc
8002
+ }, pc = "#fff0f7", gc = "#ffd6e8", mc = "#ffafd2", fc = "#ff7eb6", vc = "#ee5396", yc = "#d02670", Ec = "#9f1853", bc = "#740937", Sc = "#510224", Oc = "#2a0a18", xc = {
8003
+ 10: pc,
8004
+ 20: gc,
8005
+ 30: mc,
8006
+ 40: fc,
8007
+ 50: vc,
8008
+ 60: yc,
8009
+ 70: Ec,
8010
+ 80: bc,
8011
+ 90: Sc,
8012
+ 100: Oc
8013
+ }, Tc = "#f6f2ff", Lc = "#e8daff", Ac = "#d4bbff", wc = "#be95ff", Mc = "#a56eff", Cc = "#8a3ffc", _c = "#6929c4", Ic = "#491d8b", Rc = "#31135e", kc = "#1c0f30", Dc = {
8014
+ 10: Tc,
8015
+ 20: Lc,
8016
+ 30: Ac,
8017
+ 40: wc,
8018
+ 50: Mc,
8019
+ 60: Cc,
8020
+ 70: _c,
8021
+ 80: Ic,
8022
+ 90: Rc,
8023
+ 100: kc
8024
+ }, Nc = "#edf5ff", Pc = "#d0e2ff", Vc = "#a6c8ff", Gc = "#78a9ff", Bc = "#4589ff", Hc = "#0f62fe", $c = "#0043ce", Uc = "#002d9c", Fc = "#001d6c", zc = "#001141", Wc = {
8025
+ 10: Nc,
8026
+ 20: Pc,
8027
+ 30: Vc,
8028
+ 40: Gc,
8029
+ 50: Bc,
8030
+ 60: Hc,
8031
+ 70: $c,
8032
+ 80: Uc,
8033
+ 90: Fc,
8034
+ 100: zc
8035
+ }, jc = "#e5f6ff", Xc = "#bae6ff", Zc = "#82cfff", Yc = "#33b1ff", qc = "#1192e8", Kc = "#0072c3", Jc = "#00539a", Qc = "#003a6d", ed = "#012749", td = "#061727", nd = {
8036
+ 10: jc,
8037
+ 20: Xc,
8038
+ 30: Zc,
8039
+ 40: Yc,
8040
+ 50: qc,
8041
+ 60: Kc,
8042
+ 70: Jc,
8043
+ 80: Qc,
8044
+ 90: ed,
8045
+ 100: td
8046
+ }, sd = "#d9fbfb", ad = "#9ef0f0", id = "#3ddbd9", rd = "#08bdba", od = "#009d9a", ld = "#007d79", cd = "#005d5d", dd = "#004144", hd = "#022b30", ud = "#081a1c", pd = {
8047
+ 10: sd,
8048
+ 20: ad,
8049
+ 30: id,
8050
+ 40: rd,
8051
+ 50: od,
8052
+ 60: ld,
8053
+ 70: cd,
8054
+ 80: dd,
8055
+ 90: hd,
8056
+ 100: ud
8057
+ }, gd = "#defbe6", md = "#a7f0ba", fd = "#6fdc8c", vd = "#42be65", yd = "#24a148", Ed = "#198038", bd = "#0e6027", Sd = "#044317", Od = "#022d0d", xd = "#071908", Td = {
8058
+ 10: gd,
8059
+ 20: md,
8060
+ 30: fd,
8061
+ 40: vd,
8062
+ 50: yd,
8063
+ 60: Ed,
8064
+ 70: bd,
8065
+ 80: Sd,
8066
+ 90: Od,
8067
+ 100: xd
8068
+ }, Ld = "#f2f4f8", Ad = "#dde1e6", wd = "#c1c7cd", Md = "#a2a9b0", Cd = "#878d96", _d = "#697077", Id = "#4d5358", Rd = "#343a3f", kd = "#21272a", Dd = "#121619", Nd = {
8069
+ 10: Ld,
8070
+ 20: Ad,
8071
+ 30: wd,
8072
+ 40: Md,
8073
+ 50: Cd,
8074
+ 60: _d,
8075
+ 70: Id,
8076
+ 80: Rd,
8077
+ 90: kd,
8078
+ 100: Dd
8079
+ }, Pd = "#f4f4f4", Vd = "#e0e0e0", Gd = "#c6c6c6", Bd = "#a8a8a8", Hd = "#8d8d8d", $d = "#6f6f6f", Ud = "#525252", Fd = "#393939", zd = "#262626", Wd = "#161616", jd = {
8080
+ 10: Pd,
8081
+ 20: Vd,
8082
+ 30: Gd,
8083
+ 40: Bd,
8084
+ 50: Hd,
8085
+ 60: $d,
8086
+ 70: Ud,
8087
+ 80: Fd,
8088
+ 90: zd,
8089
+ 100: Wd
8090
+ }, Xd = "#f7f3f2", Zd = "#e5e0df", Yd = "#cac5c4", qd = "#ada8a8", Kd = "#8f8b8b", Jd = "#726e6e", Qd = "#565151", eh = "#3c3838", th = "#272525", nh = "#171414", sh = {
8091
+ 10: Xd,
8092
+ 20: Zd,
8093
+ 30: Yd,
8094
+ 40: qd,
8095
+ 50: Kd,
8096
+ 60: Jd,
8097
+ 70: Qd,
8098
+ 80: eh,
8099
+ 90: th,
8100
+ 100: nh
8079
8101
  }, Xs = {
8080
8102
  black: {
8081
- 100: Ml
8103
+ 100: Rl
8082
8104
  },
8083
- blue: Hc,
8084
- coolGray: _d,
8085
- cyan: Kc,
8086
- gray: $d,
8087
- green: Ed,
8088
- magenta: yc,
8089
- orange: ql,
8090
- purple: Cc,
8091
- red: oc,
8092
- teal: ld,
8093
- warmGray: Jd,
8105
+ blue: Wc,
8106
+ coolGray: Nd,
8107
+ cyan: nd,
8108
+ gray: jd,
8109
+ green: Td,
8110
+ magenta: xc,
8111
+ orange: tc,
8112
+ purple: Dc,
8113
+ red: uc,
8114
+ teal: pd,
8115
+ warmGray: sh,
8094
8116
  white: {
8095
- 0: wl
8117
+ 0: kl
8096
8118
  },
8097
- yellow: Bl
8119
+ yellow: zl
8098
8120
  };
8099
- const Qd = (o) => {
8121
+ const ah = (o) => {
8100
8122
  if (!o)
8101
8123
  return null;
8102
8124
  for (const e of Object.keys(Xs)) {
@@ -8111,16 +8133,16 @@ const Qd = (o) => {
8111
8133
  "fill"
8112
8134
  ), t = sa(e);
8113
8135
  let n;
8114
- if (t && (n = Qd(t ? t.hex() : null)), n == null) {
8136
+ if (t && (n = ah(t ? t.hex() : null)), n == null) {
8115
8137
  const s = na(t).l;
8116
8138
  n = Math.abs(s * 100 - 100);
8117
8139
  }
8118
8140
  return n > 50 ? "white" : "black";
8119
8141
  };
8120
- let eh = 0;
8121
- class eu extends q {
8142
+ let ih = 0;
8143
+ class iu extends q {
8122
8144
  constructor() {
8123
- super(...arguments), this.type = "treemap", this.renderType = W.SVG, this.handleLegendOnHover = (e) => {
8145
+ super(...arguments), this.type = "treemap", this.renderType = j.SVG, this.handleLegendOnHover = (e) => {
8124
8146
  const { hoveredElement: t } = e.detail;
8125
8147
  this.parent.selectAll("g[data-name='leaf']").transition("legend-hover-treemap").call(
8126
8148
  (n) => this.services.transitions.setupTransition({
@@ -8152,11 +8174,11 @@ class eu extends q {
8152
8174
  }), l = Hn({
8153
8175
  name: s.title || "Treemap",
8154
8176
  children: n
8155
- }).sum((m) => m.value).sort((m, E) => E.value - m.value), c = ui().size([i, r]).paddingInner(1).paddingOuter(0).round(!0)(
8177
+ }).sum((m) => m.value).sort((m, E) => E.value - m.value), c = pi().size([i, r]).paddingInner(1).paddingOuter(0).round(!0)(
8156
8178
  l
8157
8179
  ), d = t.selectAll("g[data-name='leaf']").data(c.leaves(), (m) => m.data.name);
8158
8180
  d.exit().attr("opacity", 0).remove();
8159
- const h = d.enter().append("g").attr("data-name", "leaf").attr("data-uid", () => eh++).merge(d);
8181
+ const h = d.enter().append("g").attr("data-name", "leaf").attr("data-uid", () => ih++).merge(d);
8160
8182
  h.attr("data-name", "leaf").transition().call(
8161
8183
  (m) => this.services.transitions.setupTransition({
8162
8184
  transition: m,
@@ -8172,7 +8194,7 @@ class eu extends q {
8172
8194
  for (; m.depth > 1; )
8173
8195
  m = m.parent;
8174
8196
  return this.model.getColorClassName({
8175
- classNameTypes: [F.FILL],
8197
+ classNameTypes: [z.FILL],
8176
8198
  dataGroupName: m.data.name,
8177
8199
  originalClassName: "leaf"
8178
8200
  });
@@ -8300,9 +8322,9 @@ class eu extends q {
8300
8322
  });
8301
8323
  }
8302
8324
  }
8303
- class tu extends q {
8325
+ class ru extends q {
8304
8326
  constructor() {
8305
- super(...arguments), this.type = "wordcloud", this.renderType = W.SVG, this.handleLegendOnHover = (e) => {
8327
+ super(...arguments), this.type = "wordcloud", this.renderType = j.SVG, this.handleLegendOnHover = (e) => {
8306
8328
  const { hoveredElement: t } = e.detail, { groupMapsTo: n } = this.getOptions().data;
8307
8329
  this.parent.selectAll("text.word").transition("legend-hover-wordcloud").call(
8308
8330
  (s) => this.services.transitions.setupTransition({
@@ -8329,7 +8351,7 @@ class tu extends q {
8329
8351
  });
8330
8352
  if (d === 0 || p === 0)
8331
8353
  return;
8332
- const h = Ii().size([d, p]).words(
8354
+ const h = Ri().size([d, p]).words(
8333
8355
  s.map(function(g) {
8334
8356
  const m = g[r];
8335
8357
  if (typeof g[r] != "number")
@@ -8354,7 +8376,7 @@ class tu extends q {
8354
8376
  }).attr(
8355
8377
  "class",
8356
8378
  (T) => t.model.getColorClassName({
8357
- classNameTypes: [F.FILL],
8379
+ classNameTypes: [z.FILL],
8358
8380
  dataGroupName: T[c],
8359
8381
  originalClassName: `word ${T.size > 32 ? "light" : ""}`
8360
8382
  })
@@ -8369,7 +8391,7 @@ class tu extends q {
8369
8391
  this.addEventListeners();
8370
8392
  }
8371
8393
  getFontSizeScale(e) {
8372
- const t = this.getOptions(), { fontSizeMapsTo: n } = t.wordCloud, s = e.map((l) => l[n]).filter((l) => l), a = S.getHTMLElementSize(this.services.domUtils.getMainContainer()), i = s.length > 0, r = i ? Wt(s) : [1, 1];
8394
+ const t = this.getOptions(), { fontSizeMapsTo: n } = t.wordCloud, s = e.map((l) => l[n]).filter((l) => l), a = S.getHTMLElementSize(this.services.domUtils.getMainContainer()), i = s.length > 0, r = i ? jt(s) : [1, 1];
8373
8395
  return Ze().domain(r).range(i ? t.wordCloud.fontSizeRange(a, e) : [4, 4]);
8374
8396
  }
8375
8397
  addEventListeners() {
@@ -8406,7 +8428,7 @@ class tu extends q {
8406
8428
  label: ne(e, "locale.translations.group") || ne(e, "tooltip.groupLabel") || "Group",
8407
8429
  value: i[t],
8408
8430
  class: n.model.getColorClassName({
8409
- classNameTypes: [F.TOOLTIP],
8431
+ classNameTypes: [z.TOOLTIP],
8410
8432
  dataGroupName: i[t]
8411
8433
  })
8412
8434
  }
@@ -8438,9 +8460,9 @@ class tu extends q {
8438
8460
  });
8439
8461
  }
8440
8462
  }
8441
- class th extends q {
8463
+ class rh extends q {
8442
8464
  constructor() {
8443
- super(...arguments), this.type = "geo", this.renderType = W.SVG;
8465
+ super(...arguments), this.type = "geo", this.renderType = j.SVG;
8444
8466
  }
8445
8467
  render() {
8446
8468
  const e = this.getComponentContainer({ withinChartClip: !0 }), { width: t, height: n } = S.getSVGElementSize(e, {
@@ -8452,11 +8474,11 @@ class th extends q {
8452
8474
  Object.keys(i).forEach((O) => {
8453
8475
  typeof i[O].value == "number" ? r[O] = i[O] : l[O] = i[O];
8454
8476
  });
8455
- const c = xl(a, Object.values(l)), d = bl(a, {
8477
+ const c = Ml(a, Object.values(l)), d = Ll(a, {
8456
8478
  // We need to specify that we are converting geometry collections
8457
8479
  type: "GeometryCollection",
8458
8480
  geometries: Object.values(r)
8459
- }), p = s.fitSize([t, n], d), h = pi().projection(p);
8481
+ }), p = s.fitSize([t, n], d), h = gi().projection(p);
8460
8482
  S.appendOrSelect(e, "g.geo").selectAll("path").data(d.features).join("path").attr("d", h);
8461
8483
  const g = this.services.domUtils.generateElementIDString("geo-pattern-stripes"), m = S.appendOrSelect(e, "defs");
8462
8484
  S.appendOrSelect(m, "pattern").attr("id", g).attr("width", 5).attr("height", 10).attr("patternUnits", "userSpaceOnUse").attr("patternTransform", "rotate(45)").append("path").classed("pattern-fill", !0).attr(
@@ -8481,25 +8503,25 @@ class th extends q {
8481
8503
  let e = null;
8482
8504
  switch (v(this.getOptions(), "thematic", "projection")) {
8483
8505
  case je.geoEqualEarth:
8484
- e = bi();
8506
+ e = Si();
8485
8507
  break;
8486
8508
  case je.geoAlbers:
8487
- e = Ei();
8509
+ e = bi();
8488
8510
  break;
8489
8511
  case je.geoConicEqualArea:
8490
- e = yi();
8512
+ e = Ei();
8491
8513
  break;
8492
8514
  case je.geoConicEquidistant:
8493
- e = vi();
8515
+ e = yi();
8494
8516
  break;
8495
8517
  case je.geoEquirectangular:
8496
- e = fi();
8518
+ e = vi();
8497
8519
  break;
8498
8520
  case je.geoMercator:
8499
- e = mi();
8521
+ e = fi();
8500
8522
  break;
8501
8523
  case je.geoNaturalEarth1:
8502
- e = gi();
8524
+ e = mi();
8503
8525
  break;
8504
8526
  default:
8505
8527
  throw new Error("Projection is not supported.");
@@ -8507,7 +8529,7 @@ class th extends q {
8507
8529
  return e;
8508
8530
  }
8509
8531
  }
8510
- class nu extends th {
8532
+ class ou extends rh {
8511
8533
  constructor() {
8512
8534
  super(...arguments), this.type = "choropleth";
8513
8535
  }
@@ -8568,69 +8590,69 @@ class nu extends th {
8568
8590
  }
8569
8591
  }
8570
8592
  export {
8571
- Yh as $,
8593
+ eu as $,
8572
8594
  Ca as A,
8573
- Ah as B,
8574
- ul as C,
8575
- Lh as D,
8576
- nu as E,
8577
- Bh as F,
8578
- yh as G,
8579
- ml as H,
8580
- Hh as I,
8581
- $h as J,
8582
- Uh as K,
8583
- hl as L,
8584
- Gh as M,
8585
- zh as N,
8586
- Fh as O,
8587
- bh as P,
8588
- Wh as Q,
8589
- wa as R,
8590
- Mh as S,
8595
+ Ih as B,
8596
+ vl as C,
8597
+ _h as D,
8598
+ ou as E,
8599
+ zh as F,
8600
+ xh as G,
8601
+ bl as H,
8602
+ Wh as I,
8603
+ jh as J,
8604
+ Xh as K,
8605
+ fl as L,
8606
+ Fh as M,
8607
+ Zh as N,
8608
+ Yh as O,
8609
+ Lh as P,
8610
+ qh as Q,
8611
+ Ma as R,
8612
+ Rh as S,
8591
8613
  _s as T,
8592
- jh as U,
8593
- Al as V,
8594
- Xh as W,
8595
- zn as X,
8596
- Zh as Y,
8597
- xh as Z,
8598
- fl as _,
8614
+ Kh as U,
8615
+ Il as V,
8616
+ Jh as W,
8617
+ Fn as X,
8618
+ Qh as Y,
8619
+ Mh as Z,
8620
+ Sl as _,
8599
8621
  Us as a,
8600
- qh as a0,
8601
- Kh as a1,
8602
- Jh as a2,
8603
- Qh as a3,
8604
- eu as a4,
8605
- tu as a5,
8622
+ tu as a0,
8623
+ nu as a1,
8624
+ su as a2,
8625
+ au as a3,
8626
+ iu as a4,
8627
+ ru as a5,
8606
8628
  Is as a6,
8607
- dh as a7,
8629
+ mh as a7,
8608
8630
  q as a8,
8609
- Sr as a9,
8610
- Sh as b,
8611
- ph as c,
8612
- Ih as d,
8613
- kh as e,
8614
- _h as f,
8615
- Ch as g,
8616
- wh as h,
8617
- Rh as i,
8618
- Dh as j,
8619
- fh as k,
8620
- uh as l,
8621
- Vh as m,
8622
- th as n,
8623
- mh as o,
8624
- hh as p,
8625
- gh as q,
8626
- dl as r,
8627
- Nh as s,
8628
- Ph as t,
8629
- pl as u,
8630
- vh as v,
8631
- Eh as w,
8631
+ Or as a9,
8632
+ Ah as b,
8633
+ yh as c,
8634
+ Ph as d,
8635
+ Vh as e,
8636
+ Nh as f,
8637
+ Dh as g,
8638
+ kh as h,
8639
+ Gh as i,
8640
+ Bh as j,
8641
+ Sh as k,
8642
+ vh as l,
8643
+ Uh as m,
8644
+ rh as n,
8645
+ bh as o,
8646
+ fh as p,
8647
+ Eh as q,
8648
+ ml as r,
8649
+ Hh as s,
8650
+ $h as t,
8651
+ yl as u,
8652
+ Oh as v,
8653
+ Th as w,
8632
8654
  Wn as x,
8633
- Oh as y,
8634
- Th as z
8655
+ wh as y,
8656
+ Ch as z
8635
8657
  };
8636
- //# sourceMappingURL=choropleth-WzFMZXLV.mjs.map
8658
+ //# sourceMappingURL=choropleth-UL_Hkrzw.mjs.map