@turquoisehealth/pit-viper 2.77.0 → 2.77.1-dev.1

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.
@@ -179,7 +179,7 @@ typeof document < "u" ? Jl.document = document : typeof global < "u" && (Jl.docu
179
179
  function ec(e) {
180
180
  return e ? Jl.document?.[e] : Jl.document;
181
181
  }
182
- function Vt(e) {
182
+ function Ht(e) {
183
183
  return e ? Jl.window?.[e] : Jl.window;
184
184
  }
185
185
  function YY(e) {
@@ -208,7 +208,7 @@ function ti(e, t, i, o) {
208
208
  var GC;
209
209
  function qY(e) {
210
210
  if (GC == null) {
211
- const t = Vt("Option");
211
+ const t = Ht("Option");
212
212
  GC = new t().style;
213
213
  }
214
214
  return GC.color = e, GC.color || null;
@@ -493,7 +493,7 @@ function cX(e, t, i = 2) {
493
493
  }
494
494
  return o;
495
495
  }
496
- function Ht(e, t) {
496
+ function $t(e, t) {
497
497
  if (gd(e)) {
498
498
  let i = function(o, s) {
499
499
  return e(o, s);
@@ -514,14 +514,14 @@ function He(e) {
514
514
  { [Xz]: !0, [wr]: e[wr] }
515
515
  );
516
516
  }
517
- var Zi = (e, t = "an object") => Ht((i, o) => {
517
+ var Zi = (e, t = "an object") => $t((i, o) => {
518
518
  const s = Ls(i, e, o.path);
519
519
  return { valid: !sf(s.invalid, o.path), cleared: s.cleared, invalid: s.invalid };
520
520
  }, t), Ep = (e, t, i) => ({
521
521
  ...e,
522
522
  [wr]: t,
523
523
  [lx]: i
524
- }), ii = (...e) => Ht(
524
+ }), ii = (...e) => $t(
525
525
  (t, i) => {
526
526
  const o = [];
527
527
  for (const s of e) {
@@ -536,7 +536,7 @@ var Zi = (e, t = "an object") => Ht((i, o) => {
536
536
  return { valid: !0, cleared: t, invalid: o };
537
537
  },
538
538
  e.map((t) => t[wr]).filter(Boolean).join(" and ")
539
- ), et = (...e) => Ht(
539
+ ), et = (...e) => $t(
540
540
  (t, i) => {
541
541
  for (const o of e) {
542
542
  const s = o(t, i);
@@ -546,40 +546,40 @@ var Zi = (e, t = "an object") => Ht((i, o) => {
546
546
  return !1;
547
547
  },
548
548
  e.map((t) => t[wr]).filter(Boolean).join(" or ")
549
- ), cx = (e) => Ft(e) || of(e), dX = (e) => tc(e) || (Ft(e) || Wo(e)) && of(new Date(e)), cl = Ht(Ot, "an array"), j = Ht(QY, "a boolean"), ei = Ht(gd, "a function"), Te = Ht(tX, "a color string"), Ru = Ht(dX, "a date"), Je = Ht(ao, "a defined value"), re = Ht(Ft, "a number"), Pw = Ht(Ct, "an object"), V = Ht(Wo, "a string"), Zz = Ht(
549
+ ), cx = (e) => Ft(e) || of(e), dX = (e) => tc(e) || (Ft(e) || Wo(e)) && of(new Date(e)), cl = $t(Ot, "an array"), j = $t(QY, "a boolean"), ei = $t(gd, "a function"), Te = $t(tX, "a color string"), Ru = $t(dX, "a date"), Je = $t(ao, "a defined value"), re = $t(Ft, "a number"), Pw = $t(Ct, "an object"), V = $t(Wo, "a string"), Zz = $t(
550
550
  (e) => typeof HTMLElement > "u" || e instanceof HTMLElement,
551
551
  "an html element"
552
552
  ), zu = (e, t = 1 / 0) => {
553
553
  let i;
554
- return t === 1 / 0 ? i = `an array of at least ${e} items` : e === t ? i = `an array of exactly ${e} items` : e === 0 ? i = `an array of no more than ${t} items` : i = `an array of at least ${e} and no more than ${t} items`, Ht(
554
+ return t === 1 / 0 ? i = `an array of at least ${e} items` : e === t ? i = `an array of exactly ${e} items` : e === 0 ? i = `an array of no more than ${t} items` : i = `an array of at least ${e} and no more than ${t} items`, $t(
555
555
  (o) => Ot(o) && o.length >= e && o.length <= t,
556
556
  i
557
557
  );
558
558
  }, qz = (e, t = 1 / 0) => {
559
559
  let i;
560
- return t === 1 / 0 ? i = `a string of at least ${e} characters` : e === t ? i = `an string of exactly ${e} characters` : i = `an string of at least ${e} and no more than ${t} characters`, Ht(
560
+ return t === 1 / 0 ? i = `a string of at least ${e} characters` : e === t ? i = `an string of exactly ${e} characters` : i = `an string of at least ${e} and no more than ${t} characters`, $t(
561
561
  (o) => Wo(o) && o.length >= e && o.length <= t,
562
562
  i
563
563
  );
564
- }, Qz = (e, t = !0) => Ht(
564
+ }, Qz = (e, t = !0) => $t(
565
565
  (i) => Ft(i) && (i > e || t && i === e),
566
566
  `a number greater than ${t ? "or equal to " : ""}${e}`
567
- ), Jz = (e, t) => Ht(
567
+ ), Jz = (e, t) => $t(
568
568
  (i) => Ft(i) && i >= e && i <= t,
569
569
  `a number between ${e} and ${t} inclusive`
570
- ), K = Qz(0), yv = Qz(0, !1), Ge = Jz(0, 1), ra = (e) => Ht(
570
+ ), K = Qz(0), yv = Qz(0, !1), Ge = Jz(0, 1), ra = (e) => $t(
571
571
  (t, { options: i }) => !cx(t) || !cx(i[e]) || t < i[e],
572
572
  `the value to be less than \`${e}\``
573
- ), aa = (e) => Ht(
573
+ ), aa = (e) => $t(
574
574
  (t, { options: i }) => !cx(t) || !cx(i[e]) || t > i[e],
575
575
  `the value to be greater than \`${e}\``
576
576
  );
577
577
  function De(...e) {
578
578
  Ct(e[0]) && (e = Object.values(e[0]));
579
579
  const t = fv(e, "or", (i) => `'${i}'`);
580
- return Ht((i) => e.includes(i), `a keyword such as ${t}`);
580
+ return $t((i) => e.includes(i), `a keyword such as ${t}`);
581
581
  }
582
- var rt = (e) => Ht((t) => e === t, `the value ${JSON.stringify(e)}`), Ke = (e, t, i = !0) => Ht(
582
+ var rt = (e) => $t((t) => e === t, `the value ${JSON.stringify(e)}`), Ke = (e, t, i = !0) => $t(
583
583
  (o, s) => {
584
584
  if (!Ot(o))
585
585
  return !1;
@@ -594,7 +594,7 @@ var rt = (e) => Ht((t) => e === t, `the value ${JSON.stringify(e)}`), Ke = (e, t
594
594
  return { valid: n, cleared: n || !i ? r : null, invalid: a };
595
595
  },
596
596
  t ?? `${e[wr]} array`
597
- ), wo = (e, t = "an object array") => Ht((i, o) => {
597
+ ), wo = (e, t = "an object array") => $t((i, o) => {
598
598
  if (!Ot(i))
599
599
  return !1;
600
600
  const s = [], n = [];
@@ -603,7 +603,7 @@ var rt = (e) => Ht((t) => e === t, `the value ${JSON.stringify(e)}`), Ke = (e, t
603
603
  sf(l.invalid, a) || s.push(l.cleared), n.push(...l.invalid);
604
604
  }
605
605
  return { valid: !0, cleared: s, invalid: n };
606
- }, t), yp = (e, t) => Ht((i, o) => gd(i) ? ax in i ? !0 : { valid: !0, cleared: Object.assign(
606
+ }, t), yp = (e, t) => $t((i, o) => gd(i) ? ax in i ? !0 : { valid: !0, cleared: Object.assign(
607
607
  (...n) => {
608
608
  const r = Kz(i, n);
609
609
  if (r == null)
@@ -623,7 +623,7 @@ var rt = (e) => Ht((t) => e === t, `the value ${JSON.stringify(e)}`), Ke = (e, t
623
623
  }
624
624
  },
625
625
  { [ax]: !0 }
626
- ), invalid: [] } : !1, "a function"), Ci = (e, t = "an object") => Ht((i, o) => gd(i) ? ax in i ? !0 : { valid: !0, cleared: Object.assign(
626
+ ), invalid: [] } : !1, "a function"), Ci = (e, t = "an object") => $t((i, o) => gd(i) ? ax in i ? !0 : { valid: !0, cleared: Object.assign(
627
627
  (...n) => {
628
628
  const r = Kz(i, n, o.path);
629
629
  if (r == null)
@@ -653,7 +653,7 @@ var dx = (e) => {
653
653
  return !1;
654
654
  const t = Object.keys(e);
655
655
  return t.length === 1 && t[0].startsWith("$");
656
- }, uX = Zi({ color: Te, stop: Ge }, ""), t_ = Ht((e) => {
656
+ }, uX = Zi({ color: Te, stop: Ge }, ""), t_ = $t((e) => {
657
657
  let t = -1 / 0;
658
658
  for (const i of e)
659
659
  if (i?.stop != null) {
@@ -1165,7 +1165,7 @@ function RX(e) {
1165
1165
  function LX(e) {
1166
1166
  return Ct(e) && e.type === "FeatureCollection" && Array.isArray(e.features) && e.features.every(RX);
1167
1167
  }
1168
- var Xf = Ht(LX, "a GeoJSON object"), PX = class {
1168
+ var Xf = $t(LX, "a GeoJSON object"), PX = class {
1169
1169
  constructor(e, t) {
1170
1170
  this._vertexCount = 0, this.pendingProcessingEdgesFrom = [], this.pendingProcessingEdgesTo = [], this.cachedNeighboursEdge = e, this.processedEdge = t;
1171
1171
  }
@@ -1694,7 +1694,7 @@ var Pe = bv, KX = 2e3, yF = Date.now(), YX = () => {
1694
1694
  });
1695
1695
  },
1696
1696
  check(...e) {
1697
- return e.length === 0 && e.push(!0), ux(Vt("agChartsDebug")).some((i) => e.includes(i));
1697
+ return e.length === 0 && e.push(!0), ux(Ht("agChartsDebug")).some((i) => e.includes(i));
1698
1698
  },
1699
1699
  inDevelopmentMode(e) {
1700
1700
  if (vt.check("dev"))
@@ -4382,11 +4382,11 @@ function kZ(e) {
4382
4382
  return;
4383
4383
  const t = ec().createRange();
4384
4384
  t.setStart(e.lastChild, e.lastChild.textContent.length), t.setEnd(e.lastChild, e.lastChild.textContent.length);
4385
- const i = Vt().getSelection();
4385
+ const i = Ht().getSelection();
4386
4386
  i?.removeAllRanges(), i?.addRange(t);
4387
4387
  }
4388
4388
  function H_() {
4389
- const e = Vt("navigator");
4389
+ const e = Ht("navigator");
4390
4390
  if ("scheduling" in e) {
4391
4391
  const t = e.scheduling;
4392
4392
  if ("isInputPending" in t)
@@ -4627,7 +4627,7 @@ function _u(e) {
4627
4627
  return y_(e);
4628
4628
  }
4629
4629
  function EZ(e) {
4630
- return j_((t, i) => Vt().requestAnimationFrame(t), e);
4630
+ return j_((t, i) => Ht().requestAnimationFrame(t), e);
4631
4631
  }
4632
4632
  function FZ(e) {
4633
4633
  return j_((t, i = 0) => {
@@ -4755,7 +4755,7 @@ var OZ = {
4755
4755
  }
4756
4756
  }, BZ = class {
4757
4757
  constructor(e, t, i, o) {
4758
- this.glob = e, this.self = t, this.window = Vt(), this.cleanup = new fi(), this.mousegeneral = (l) => {
4758
+ this.glob = e, this.self = t, this.window = Ht(), this.cleanup = new fi(), this.mousegeneral = (l) => {
4759
4759
  l.stopPropagation(), l.stopImmediatePropagation();
4760
4760
  }, this.mousemove = (l) => {
4761
4761
  l.stopPropagation(), l.stopImmediatePropagation(), this.glob.globalMouseDragCallbacks?.mousemove(l);
@@ -4804,7 +4804,7 @@ var FI = !1, HZ = class {
4804
4804
  const { clientX: h, clientY: p } = l, g = new PointerEvent("contextmenu", {
4805
4805
  bubbles: !0,
4806
4806
  cancelable: !0,
4807
- view: Vt(),
4807
+ view: Ht(),
4808
4808
  clientX: h,
4809
4809
  clientY: p,
4810
4810
  pointerType: "touch"
@@ -5011,7 +5011,7 @@ var RF = {}, LF = class {
5011
5011
  Bl(this.elem, "display", e ? "none" : void 0);
5012
5012
  }
5013
5013
  isHidden() {
5014
- return Vt()?.getComputedStyle?.(this.elem).display === "none";
5014
+ return Ht()?.getComputedStyle?.(this.elem).display === "none";
5015
5015
  }
5016
5016
  setCursor(e) {
5017
5017
  Bl(this.elem, "cursor", e);
@@ -5139,7 +5139,7 @@ var RF = {}, LF = class {
5139
5139
  const i = (o) => {
5140
5140
  o.persisted || t();
5141
5141
  };
5142
- return ti(Vt(), "pagehide", i);
5142
+ return ti(Ht(), "pagehide", i);
5143
5143
  }
5144
5144
  };
5145
5145
  function UZ(e = 0, t = 0) {
@@ -5382,7 +5382,7 @@ function PF(e, t, i, o, s = {}, n = Pe.zero) {
5382
5382
  }
5383
5383
  }
5384
5384
  function XZ(e) {
5385
- const t = ux(Vt("agChartsSceneDebug")), i = [];
5385
+ const t = ux(Ht("agChartsSceneDebug")), i = [];
5386
5386
  for (const o of t)
5387
5387
  o === "layout" ? i.push("seriesRoot", "legend", "root", /.*Axis-\d+-axis.*/) : i.push(o);
5388
5388
  e.debugNodeSearch = i;
@@ -6546,7 +6546,7 @@ ${n.join(`
6546
6546
  }
6547
6547
  }
6548
6548
  static queryFocusable(t, i) {
6549
- const o = Vt();
6549
+ const o = Ht();
6550
6550
  return Array.from(t.querySelectorAll(i)).filter((s) => {
6551
6551
  if (s instanceof HTMLElement) {
6552
6552
  const n = o.getComputedStyle(s);
@@ -6581,13 +6581,13 @@ function jw(e, t, i = ["Escape"]) {
6581
6581
  });
6582
6582
  }
6583
6583
  function KR(e, t) {
6584
- const i = ti(Vt(), "mousedown", (o) => {
6584
+ const i = ti(Ht(), "mousedown", (o) => {
6585
6585
  [0, 2].includes(o.button) && !t8(e, o) && (t(), i());
6586
6586
  });
6587
6587
  return i;
6588
6588
  }
6589
6589
  function YR(e, t) {
6590
- const i = ti(Vt(), "touchstart", (o) => {
6590
+ const i = ti(Ht(), "touchstart", (o) => {
6591
6591
  Array.from(o.targetTouches).some((n) => !t8(e, n)) && (t(), i());
6592
6592
  });
6593
6593
  return i;
@@ -6685,8 +6685,8 @@ function s8(e) {
6685
6685
  }
6686
6686
  var dq = class {
6687
6687
  constructor(e) {
6688
- this.callback = e, this.devicePixelRatio = Vt("devicePixelRatio") ?? 1, this.devicePixelRatioMediaQuery = void 0, this.devicePixelRatioListener = (t) => {
6689
- t.matches || (this.devicePixelRatio = Vt("devicePixelRatio") ?? 1, this.unregisterDevicePixelRatioListener(), this.registerDevicePixelRatioListener(), this.callback(this.pixelRatio));
6688
+ this.callback = e, this.devicePixelRatio = Ht("devicePixelRatio") ?? 1, this.devicePixelRatioMediaQuery = void 0, this.devicePixelRatioListener = (t) => {
6689
+ t.matches || (this.devicePixelRatio = Ht("devicePixelRatio") ?? 1, this.unregisterDevicePixelRatioListener(), this.registerDevicePixelRatioListener(), this.callback(this.pixelRatio));
6690
6690
  };
6691
6691
  }
6692
6692
  get pixelRatio() {
@@ -6702,7 +6702,7 @@ var dq = class {
6702
6702
  this.devicePixelRatioMediaQuery?.removeEventListener("change", this.devicePixelRatioListener), this.devicePixelRatioMediaQuery = void 0;
6703
6703
  }
6704
6704
  registerDevicePixelRatioListener() {
6705
- const e = Vt("matchMedia")?.(`(resolution: ${this.pixelRatio}dppx)`);
6705
+ const e = Ht("matchMedia")?.(`(resolution: ${this.pixelRatio}dppx)`);
6706
6706
  e?.addEventListener("change", this.devicePixelRatioListener), this.devicePixelRatioMediaQuery = e;
6707
6707
  }
6708
6708
  }, n8 = class {
@@ -6721,10 +6721,10 @@ var dq = class {
6721
6721
  let e;
6722
6722
  this.pixelRatioObserver = new dq(() => {
6723
6723
  clearTimeout(e), e = setTimeout(() => this.checkPixelRatio(), 0);
6724
- }), this.documentReady = ec("readyState") === "complete", this.documentReady ? this.observeWindow() : Vt()?.addEventListener("load", this.onLoad);
6724
+ }), this.documentReady = ec("readyState") === "complete", this.documentReady ? this.observeWindow() : Ht()?.addEventListener("load", this.onLoad);
6725
6725
  }
6726
6726
  destroy() {
6727
- Vt()?.removeEventListener("load", this.onLoad), this.resizeObserver?.disconnect(), this.resizeObserver = void 0, this.pixelRatioObserver?.disconnect(), this.pixelRatioObserver = void 0;
6727
+ Ht()?.removeEventListener("load", this.onLoad), this.resizeObserver?.disconnect(), this.resizeObserver = void 0, this.pixelRatioObserver?.disconnect(), this.pixelRatioObserver = void 0;
6728
6728
  }
6729
6729
  observeWindow() {
6730
6730
  this.pixelRatioObserver?.observe();
@@ -6867,7 +6867,7 @@ var ZR = class Nh extends UR {
6867
6867
  }), this.element.remove();
6868
6868
  }
6869
6869
  postRenderUpdate() {
6870
- this.mode !== "minimal" && (this.pendingContainer == null || this.pendingContainer === this.container || (Nh.batchedUpdateContainer.length === 0 && Vt().setTimeout(this.applyBatchedUpdateContainer.bind(this), 0), Nh.batchedUpdateContainer.push(this)));
6870
+ this.mode !== "minimal" && (this.pendingContainer == null || this.pendingContainer === this.container || (Nh.batchedUpdateContainer.length === 0 && Ht().setTimeout(this.applyBatchedUpdateContainer.bind(this), 0), Nh.batchedUpdateContainer.push(this)));
6871
6871
  }
6872
6872
  applyBatchedUpdateContainer() {
6873
6873
  for (const t of Nh.batchedUpdateContainer)
@@ -6936,7 +6936,7 @@ var ZR = class Nh extends UR {
6936
6936
  * main chart area.
6937
6937
  */
6938
6938
  getOverlayClientRect() {
6939
- const t = Vt(), i = new Pe(0, 0, t.innerWidth, t.innerHeight), o = this.getRawOverlayClientRect();
6939
+ const t = Ht(), i = new Pe(0, 0, t.innerWidth, t.innerHeight), o = this.getRawOverlayClientRect();
6940
6940
  return i.intersection(o)?.toDOMRect() ?? r8;
6941
6941
  }
6942
6942
  getRawOverlayClientRect() {
@@ -6956,7 +6956,7 @@ var ZR = class Nh extends UR {
6956
6956
  }
6957
6957
  if (this.documentRoot != null)
6958
6958
  return Pe.fromDOMRect(this.documentRoot.getBoundingClientRect());
6959
- const { innerWidth: o, innerHeight: s } = Vt();
6959
+ const { innerWidth: o, innerHeight: s } = Ht();
6960
6960
  return new Pe(0, 0, o, s);
6961
6961
  }
6962
6962
  getShadowDocumentRoot(t = this.container) {
@@ -7696,7 +7696,7 @@ var u8 = class {
7696
7696
  constructor(e) {
7697
7697
  this.enabled = !0, this.width = 600, this.height = 300;
7698
7698
  const { width: t, height: i, canvasElement: o, willReadFrequently: s = !1 } = e;
7699
- this.pixelRatio = e.pixelRatio ?? Vt("devicePixelRatio") ?? 1, this.element = o ?? Xe("canvas"), this.element.style.display = "block", this.element.style.width = (t ?? this.width) + "px", this.element.style.height = (i ?? this.height) + "px", this.element.width = Math.round((t ?? this.width) * this.pixelRatio), this.element.height = Math.round((i ?? this.height) * this.pixelRatio), this.context = this.element.getContext("2d", { willReadFrequently: s }), this.onEnabledChange(), this.resize(t ?? 0, i ?? 0, this.pixelRatio), m_(this.context);
7699
+ this.pixelRatio = e.pixelRatio ?? Ht("devicePixelRatio") ?? 1, this.element = o ?? Xe("canvas"), this.element.style.display = "block", this.element.style.width = (t ?? this.width) + "px", this.element.style.height = (i ?? this.height) + "px", this.element.width = Math.round((t ?? this.width) * this.pixelRatio), this.element.height = Math.round((i ?? this.height) * this.pixelRatio), this.context = this.element.getContext("2d", { willReadFrequently: s }), this.onEnabledChange(), this.resize(t ?? 0, i ?? 0, this.pixelRatio), m_(this.context);
7700
7700
  }
7701
7701
  drawImage(e, t = 0, i = 0) {
7702
7702
  return e.drawImage(this.context.canvas, t, i);
@@ -8839,7 +8839,7 @@ var D8 = class {
8839
8839
  }
8840
8840
  /** Mocking point for tests to capture requestAnimationFrame callbacks. */
8841
8841
  scheduleAnimationFrame(e) {
8842
- this.requestId = Vt().requestAnimationFrame((t) => {
8842
+ this.requestId = Ht().requestAnimationFrame((t) => {
8843
8843
  e(t).catch((i) => ge.error(i));
8844
8844
  });
8845
8845
  }
@@ -9547,7 +9547,7 @@ var mQ = class {
9547
9547
  constructor() {
9548
9548
  this.enabled = !1, this.padding = 0, this.manuallyAdjusted = !1;
9549
9549
  }
9550
- }, QF = (e) => Ht((t, { options: i }) => !ui.is(e?.scale) && !tl.is(e?.scale) || t == null || i.end == null ? !0 : t < i.end, "to be less than end"), O8 = class extends UR {
9550
+ }, QF = (e) => $t((t, { options: i }) => !ui.is(e?.scale) && !tl.is(e?.scale) || t == null || i.end == null ? !0 : t < i.end, "to be less than end"), O8 = class extends UR {
9551
9551
  constructor(e, t) {
9552
9552
  super(), this.eventsHub = e, this.fireChartEvent = t, this.mementoOriginatorKey = "zoom", this.axisZoomManagers = /* @__PURE__ */ new Map(), this.state = new Rf(void 0, "initial"), this.axes = [], this.didLayoutAxes = !1, this.autoScaleYAxis = new mQ(), this.lastRestoredState = void 0, this.independentAxes = !1, this.navigatorModule = !1, this.zoomModule = !1, this.pendingMemento = void 0, this.boundFireOnceChartEvent = this.fireOnceChartEvent.bind(this), this.cleanup.register(
9553
9553
  e.on("layout:complete", () => {
@@ -11038,7 +11038,7 @@ var rL = class Il {
11038
11038
  const i = this.validateRequests(this.requested);
11039
11039
  this.debug("DataController.execute() - validated", i);
11040
11040
  const o = this.mergeRequested(i);
11041
- this.debug("DataController.execute() - merged", o), this.debug.check() && (Vt().processedData = []);
11041
+ this.debug("DataController.execute() - merged", o), this.debug.check() && (Ht().processedData = []);
11042
11042
  const s = [];
11043
11043
  for (const { data: n, ids: r, opts: a, resolves: l, rejects: c } of o) {
11044
11044
  const d = t?.find((p) => LQ(p, n, r, a));
@@ -11054,7 +11054,7 @@ var rL = class Il {
11054
11054
  }
11055
11055
  else
11056
11056
  ({ dataModel: u, processedData: h } = d);
11057
- s.push({ opts: a, data: n, ids: r, dataModel: u, processedData: h }), this.debug.check() && Vt("processedData").push(h), h?.partialValidDataCount === 0 ? l.forEach(
11057
+ s.push({ opts: a, data: n, ids: r, dataModel: u, processedData: h }), this.debug.check() && Ht("processedData").push(h), h?.partialValidDataCount === 0 ? l.forEach(
11058
11058
  (p) => p({
11059
11059
  dataModel: u,
11060
11060
  processedData: h
@@ -16148,7 +16148,7 @@ var VJ = class {
16148
16148
  if (!e && !this.hasBeenActivated)
16149
16149
  return !1;
16150
16150
  const t = this.element.parentElement;
16151
- return t != null && Vt().getComputedStyle(t).opacity === "1";
16151
+ return t != null && Ht().getComputedStyle(t).opacity === "1";
16152
16152
  }
16153
16153
  }, HJ = class {
16154
16154
  constructor(e, t, i, o) {
@@ -16667,7 +16667,7 @@ var wa = class extends at {
16667
16667
  return this.enableInteraction;
16668
16668
  }
16669
16669
  setup(e, t) {
16670
- return "togglePopover" in Vt().HTMLElement.prototype && (this.element = t.addChild("tooltip-container", us), this.element.setAttribute("popover", "manual"), this.element.className = us, this.element.style.positionAnchor = t.anchorName, this.sizeMonitor.observe(this.element, (i) => {
16670
+ return "togglePopover" in Ht().HTMLElement.prototype && (this.element = t.addChild("tooltip-container", us), this.element.setAttribute("popover", "manual"), this.element.className = us, this.element.style.positionAnchor = t.anchorName, this.sizeMonitor.observe(this.element, (i) => {
16671
16671
  this._elementSize = i, this.updateTooltipPosition();
16672
16672
  })), this.localeManager = e, () => {
16673
16673
  t.removeChild("tooltip-container", us), this.cleanup.flush(), this.element && this.sizeMonitor.unobserve(this.element);
@@ -17528,7 +17528,7 @@ var lee = class {
17528
17528
  }
17529
17529
  }, cee = /^((?!chrome|android).)*safari/i, dee = /Version\/(\d+(\.\d+)?)/, uee = /Chrome/, hee = /Chrome\/(\d+)/, pee = /Edg/, gee = /OPR/;
17530
17530
  function fee() {
17531
- const { userAgent: e } = Vt("navigator");
17531
+ const { userAgent: e } = Ht("navigator");
17532
17532
  if (cee.test(e)) {
17533
17533
  const t = dee.exec(e);
17534
17534
  if (t == null)
@@ -18068,7 +18068,7 @@ var mee = /* @__PURE__ */ new Set(["map-shape-background", "map-line-background"
18068
18068
  );
18069
18069
  }
18070
18070
  async waitForUpdate(t, i) {
18071
- const o = Vt("agChartsDebugTimeout");
18071
+ const o = Ht("agChartsDebugTimeout");
18072
18072
  o == null ? (t ?? (t = 1e5), i ?? (i = !1)) : (t = o, i ?? (i = !0));
18073
18073
  const s = performance.now();
18074
18074
  for (; (this._pendingFactoryUpdatesCount > 0 || this.performUpdateType !== 8 || this.runningUpdateType !== 8 || this.ctx.scene.waitingForUpdate()) && !this.destroyed; ) {
@@ -19955,7 +19955,7 @@ var rl = nr, Y1 = "#192232", vs = {
19955
19955
  placement: De(...JI),
19956
19956
  xOffset: re,
19957
19957
  yOffset: re
19958
- }, SO = Ht(
19958
+ }, SO = $t(
19959
19959
  (e, t) => {
19960
19960
  let i;
19961
19961
  if (typeof e == "string")
@@ -20029,7 +20029,7 @@ var KC = {
20029
20029
  items: (e, t) => YV(e, t)
20030
20030
  };
20031
20031
  KV.iconUrl = He(V);
20032
- var zee = Zi(KV), _ee = Ht(
20032
+ var zee = Zi(KV), _ee = $t(
20033
20033
  (e, t) => {
20034
20034
  let i;
20035
20035
  return typeof e == "string" ? X1.includes(e) ? i = !0 : (i = { valid: !1, invalid: [], cleared: null }, i.invalid.push(
@@ -20111,7 +20111,7 @@ var zee = Zi(KV), _ee = Ht(
20111
20111
  sectorLabel: Pa,
20112
20112
  calloutLabel: Pa,
20113
20113
  legendItem: Pa
20114
- }), ul = Ht(NX, "a valid number format string"), lt = {
20114
+ }), ul = $t(NX, "a valid number format string"), lt = {
20115
20115
  width: K,
20116
20116
  height: K,
20117
20117
  minWidth: K,
@@ -20731,17 +20731,17 @@ var TD = Zi(ZV, "a time interval object"), wp = {
20731
20731
  text: V,
20732
20732
  padding: re,
20733
20733
  ...si
20734
- }, Gl = Ht(
20734
+ }, Gl = $t(
20735
20735
  {
20736
20736
  enabled: j,
20737
20737
  type: ee(De("line", "range")),
20738
20738
  range: ii(
20739
- Ht((e, { options: t }) => t.type === "range", "crossLine type to be 'range'"),
20739
+ $t((e, { options: t }) => t.type === "range", "crossLine type to be 'range'"),
20740
20740
  Ke(Je),
20741
20741
  zu(2, 2)
20742
20742
  ),
20743
20743
  value: ii(
20744
- Ht((e, { options: t }) => t.type === "line", "crossLine type to be 'line'"),
20744
+ $t((e, { options: t }) => t.type === "line", "crossLine type to be 'line'"),
20745
20745
  Je
20746
20746
  ),
20747
20747
  label: wp,
@@ -22459,7 +22459,7 @@ var Ng = {
22459
22459
  type: ee(rt("log")),
22460
22460
  base: ii(
22461
22461
  yv,
22462
- Ht((e) => e !== 1, "not equal to 1")
22462
+ $t((e) => e !== 1, "not equal to 1")
22463
22463
  ),
22464
22464
  label: EL,
22465
22465
  crosshair: Wu(!0)
@@ -25689,7 +25689,7 @@ var b9 = nC, PO = (e) => `'${e}'`, jp = class cs {
25689
25689
  Cu(t, cs.removeLeftoverSymbolsJson, /* @__PURE__ */ new Set(["data"]));
25690
25690
  }
25691
25691
  specialOverridesDefaults(t) {
25692
- if (t.window == null ? t.window = Vt() : XY(t.window), t.document == null ? t.document = ec() : YY(t.document), t.window == null)
25692
+ if (t.window == null ? t.window = Ht() : XY(t.window), t.document == null ? t.document = ec() : YY(t.document), t.window == null)
25693
25693
  throw new Error("AG Charts - unable to resolve global window");
25694
25694
  if (t.document == null)
25695
25695
  throw new Error("AG Charts - unable to resolve global document");
@@ -38224,7 +38224,7 @@ var kP = class extends l8 {
38224
38224
  }
38225
38225
  showWithChildren(e, t) {
38226
38226
  const i = t.anchor ?? this.anchor, o = t.fallbackAnchor ?? this.fallbackAnchor, s = super.showWithChildren(e, t);
38227
- return i && this.setAnchor(i, o), Vt().requestAnimationFrame(() => {
38227
+ return i && this.setAnchor(i, o), Ht().requestAnimationFrame(() => {
38228
38228
  this.repositionWithinBounds();
38229
38229
  }), s;
38230
38230
  }
@@ -41431,8 +41431,8 @@ var { deepClone: Br } = T, Aae = class {
41431
41431
  i = !1, s = Math.min(Math.max((x - w.left) / w.width, 0), 1), n = 1 - Math.min(Math.max((D - w.top) / w.height, 0), 1), f(), g("s");
41432
41432
  };
41433
41433
  M(b);
41434
- const A = ti(Vt(), "pointermove", M);
41435
- Vt().addEventListener("pointerup", A, { once: !0 });
41434
+ const A = ti(Ht(), "pointermove", M);
41435
+ Ht().addEventListener("pointerup", A, { once: !0 });
41436
41436
  };
41437
41437
  return a.addEventListener("mousedown", y), a.addEventListener("touchstart", y), a.addEventListener("touchmove", y), a.addEventListener("keydown", (b) => {
41438
41438
  switch (b.stopPropagation(), b.key) {
@@ -46407,7 +46407,7 @@ var {
46407
46407
  const o = super.showWithChildren(t, i);
46408
46408
  return o.classList.add("ag-charts-dialog"), o.setAttribute("role", "dialog"), o.addEventListener("mousedown", (s) => {
46409
46409
  s.target.classList?.contains("ag-charts-dialog__color-picker-button") || this.colorPicker.hide();
46410
- }), o.addEventListener("keydown", this.onKeyDown.bind(this)), Vt().requestAnimationFrame(() => this.reposition()), this.colorPicker.attachTo(this), o;
46410
+ }), o.addEventListener("keydown", this.onKeyDown.bind(this)), Ht().requestAnimationFrame(() => this.reposition()), this.colorPicker.attachTo(this), o;
46411
46411
  }
46412
46412
  updatePosition(t) {
46413
46413
  super.updatePosition(t);
@@ -55690,7 +55690,7 @@ var wfe = class {
55690
55690
  }
55691
55691
  if (this.coords = void 0, this.direction = void 0, clearInterval(this.coordsMonitorTimeout), this.coordsMonitorTimeout = void 0, this.zoomCoordsHistoryIndex = 0, this.coordsHistory.length = 0, o > 0 && this.decelerationValue < 1) {
55692
55692
  const s = t / o, n = i / o, r = Math.hypot(s, n), a = Math.atan2(n, s), l = performance.now();
55693
- this.inertiaHandle = Vt().requestAnimationFrame((c) => {
55693
+ this.inertiaHandle = Ht().requestAnimationFrame((c) => {
55694
55694
  this.animateInertia(c, c, l, r, a);
55695
55695
  });
55696
55696
  }
@@ -62275,7 +62275,7 @@ var {
62275
62275
  FillGradientDefaults: Hbe,
62276
62276
  FillPatternDefaults: $be,
62277
62277
  FillImageDefaults: Wbe,
62278
- Property: $t,
62278
+ Property: Wt,
62279
62279
  SeriesProperties: jbe,
62280
62280
  makeSeriesTooltip: Ube,
62281
62281
  Label: Kbe
@@ -62285,9 +62285,9 @@ var {
62285
62285
  }
62286
62286
  };
62287
62287
  C([
62288
- $t
62288
+ Wt
62289
62289
  ], H$.prototype, "placement");
62290
- var Wt = class extends jbe {
62290
+ var jt = class extends jbe {
62291
62291
  constructor() {
62292
62292
  super(...arguments), this.topology = void 0, this.idKey = void 0, this.topologyIdKey = "name", this.idName = void 0, this.latitudeKey = void 0, this.latitudeName = void 0, this.longitudeKey = void 0, this.longitudeName = void 0, this.labelKey = void 0, this.labelName = void 0, this.colorRange = void 0, this.shape = "circle", this.size = 6, this.fill = "black", this.fillGradientDefaults = new Hbe(), this.fillPatternDefaults = new $be(), this.fillImageDefaults = new Wbe(), this.fillOpacity = 1, this.stroke = "black", this.strokeWidth = 1, this.strokeOpacity = 1, this.lineDash = [0], this.lineDashOffset = 0, this.label = new H$(), this.tooltip = Ube();
62293
62293
  }
@@ -62308,107 +62308,107 @@ var Wt = class extends jbe {
62308
62308
  }
62309
62309
  };
62310
62310
  C([
62311
- $t
62312
- ], Wt.prototype, "topology");
62311
+ Wt
62312
+ ], jt.prototype, "topology");
62313
62313
  C([
62314
- $t
62315
- ], Wt.prototype, "title");
62314
+ Wt
62315
+ ], jt.prototype, "title");
62316
62316
  C([
62317
- $t
62318
- ], Wt.prototype, "legendItemName");
62317
+ Wt
62318
+ ], jt.prototype, "legendItemName");
62319
62319
  C([
62320
- $t
62321
- ], Wt.prototype, "idKey");
62320
+ Wt
62321
+ ], jt.prototype, "idKey");
62322
62322
  C([
62323
- $t
62324
- ], Wt.prototype, "topologyIdKey");
62323
+ Wt
62324
+ ], jt.prototype, "topologyIdKey");
62325
62325
  C([
62326
- $t
62327
- ], Wt.prototype, "idName");
62326
+ Wt
62327
+ ], jt.prototype, "idName");
62328
62328
  C([
62329
- $t
62330
- ], Wt.prototype, "latitudeKey");
62329
+ Wt
62330
+ ], jt.prototype, "latitudeKey");
62331
62331
  C([
62332
- $t
62333
- ], Wt.prototype, "latitudeName");
62332
+ Wt
62333
+ ], jt.prototype, "latitudeName");
62334
62334
  C([
62335
- $t
62336
- ], Wt.prototype, "longitudeKey");
62335
+ Wt
62336
+ ], jt.prototype, "longitudeKey");
62337
62337
  C([
62338
- $t
62339
- ], Wt.prototype, "longitudeName");
62338
+ Wt
62339
+ ], jt.prototype, "longitudeName");
62340
62340
  C([
62341
- $t
62342
- ], Wt.prototype, "labelKey");
62341
+ Wt
62342
+ ], jt.prototype, "labelKey");
62343
62343
  C([
62344
- $t
62345
- ], Wt.prototype, "labelName");
62344
+ Wt
62345
+ ], jt.prototype, "labelName");
62346
62346
  C([
62347
- $t
62348
- ], Wt.prototype, "sizeKey");
62347
+ Wt
62348
+ ], jt.prototype, "sizeKey");
62349
62349
  C([
62350
- $t
62351
- ], Wt.prototype, "sizeName");
62350
+ Wt
62351
+ ], jt.prototype, "sizeName");
62352
62352
  C([
62353
- $t
62354
- ], Wt.prototype, "colorKey");
62353
+ Wt
62354
+ ], jt.prototype, "colorKey");
62355
62355
  C([
62356
- $t
62357
- ], Wt.prototype, "colorName");
62356
+ Wt
62357
+ ], jt.prototype, "colorName");
62358
62358
  C([
62359
- $t
62360
- ], Wt.prototype, "colorRange");
62359
+ Wt
62360
+ ], jt.prototype, "colorRange");
62361
62361
  C([
62362
- $t
62363
- ], Wt.prototype, "shape");
62362
+ Wt
62363
+ ], jt.prototype, "shape");
62364
62364
  C([
62365
- $t
62366
- ], Wt.prototype, "size");
62365
+ Wt
62366
+ ], jt.prototype, "size");
62367
62367
  C([
62368
- $t
62369
- ], Wt.prototype, "maxSize");
62368
+ Wt
62369
+ ], jt.prototype, "maxSize");
62370
62370
  C([
62371
- $t
62372
- ], Wt.prototype, "sizeDomain");
62371
+ Wt
62372
+ ], jt.prototype, "sizeDomain");
62373
62373
  C([
62374
- $t
62375
- ], Wt.prototype, "fill");
62374
+ Wt
62375
+ ], jt.prototype, "fill");
62376
62376
  C([
62377
- $t
62378
- ], Wt.prototype, "fillGradientDefaults");
62377
+ Wt
62378
+ ], jt.prototype, "fillGradientDefaults");
62379
62379
  C([
62380
- $t
62381
- ], Wt.prototype, "fillPatternDefaults");
62380
+ Wt
62381
+ ], jt.prototype, "fillPatternDefaults");
62382
62382
  C([
62383
- $t
62384
- ], Wt.prototype, "fillImageDefaults");
62383
+ Wt
62384
+ ], jt.prototype, "fillImageDefaults");
62385
62385
  C([
62386
- $t
62387
- ], Wt.prototype, "fillOpacity");
62386
+ Wt
62387
+ ], jt.prototype, "fillOpacity");
62388
62388
  C([
62389
- $t
62390
- ], Wt.prototype, "stroke");
62389
+ Wt
62390
+ ], jt.prototype, "stroke");
62391
62391
  C([
62392
- $t
62393
- ], Wt.prototype, "strokeWidth");
62392
+ Wt
62393
+ ], jt.prototype, "strokeWidth");
62394
62394
  C([
62395
- $t
62396
- ], Wt.prototype, "strokeOpacity");
62395
+ Wt
62396
+ ], jt.prototype, "strokeOpacity");
62397
62397
  C([
62398
- $t
62399
- ], Wt.prototype, "lineDash");
62398
+ Wt
62399
+ ], jt.prototype, "lineDash");
62400
62400
  C([
62401
- $t
62402
- ], Wt.prototype, "lineDashOffset");
62401
+ Wt
62402
+ ], jt.prototype, "lineDashOffset");
62403
62403
  C([
62404
- $t
62405
- ], Wt.prototype, "itemStyler");
62404
+ Wt
62405
+ ], jt.prototype, "itemStyler");
62406
62406
  C([
62407
- $t
62408
- ], Wt.prototype, "label");
62407
+ Wt
62408
+ ], jt.prototype, "label");
62409
62409
  C([
62410
- $t
62411
- ], Wt.prototype, "tooltip");
62410
+ Wt
62411
+ ], jt.prototype, "tooltip");
62412
62412
  var {
62413
62413
  CachedTextMeasurerPool: Ybe,
62414
62414
  fromToMotion: Xbe,
@@ -62446,7 +62446,7 @@ var {
62446
62446
  },
62447
62447
  pickModes: [k3.EXACT_SHAPE_MATCH, k3.NEAREST_NODE],
62448
62448
  usesPlacedLabels: !0
62449
- }), this.properties = new Wt(), this._chartTopology = void 0, this.colorScale = new Jbe(), this.sizeScale = new eCe(), this.markerGroup = this.contentGroup.appendChild(new tCe({ name: "markerGroup" })), this.labelSelection = nk.select(this.labelGroup, iCe, !1), this.markerSelection = nk.select(
62449
+ }), this.properties = new jt(), this._chartTopology = void 0, this.colorScale = new Jbe(), this.sizeScale = new eCe(), this.markerGroup = this.contentGroup.appendChild(new tCe({ name: "markerGroup" })), this.labelSelection = nk.select(this.labelGroup, iCe, !1), this.markerSelection = nk.select(
62450
62450
  this.markerGroup,
62451
62451
  rk,
62452
62452
  !1
@@ -110835,7 +110835,7 @@ var Pd = Jc(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), FC = Jc(/E
110835
110835
  capture: !1,
110836
110836
  passive: !1
110837
110837
  };
110838
- function _t(e, t, i) {
110838
+ function Vt(e, t, i) {
110839
110839
  e.addEventListener(t, i, !Pd && DK);
110840
110840
  }
110841
110841
  function Bt(e, t, i) {
@@ -111354,7 +111354,7 @@ function ct(e, t) {
111354
111354
  EK(t);
111355
111355
  for (var s in this)
111356
111356
  s.charAt(0) === "_" && typeof this[s] == "function" && (this[s] = this[s].bind(this));
111357
- this.nativeDraggable = t.forceFallback ? !1 : GBe, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? _t(e, "pointerdown", this._onTapStart) : (_t(e, "mousedown", this._onTapStart), _t(e, "touchstart", this._onTapStart)), this.nativeDraggable && (_t(e, "dragover", this), _t(e, "dragenter", this)), Cw.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), pd(this, EBe());
111357
+ this.nativeDraggable = t.forceFallback ? !1 : GBe, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? Vt(e, "pointerdown", this._onTapStart) : (Vt(e, "mousedown", this._onTapStart), Vt(e, "touchstart", this._onTapStart)), this.nativeDraggable && (Vt(e, "dragover", this), Vt(e, "dragenter", this)), Cw.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), pd(this, EBe());
111358
111358
  }
111359
111359
  ct.prototype = /** @lends Sortable.prototype */
111360
111360
  {
@@ -111425,14 +111425,14 @@ ct.prototype = /** @lends Sortable.prototype */
111425
111425
  }), rr(Ne, r.chosenClass, !0);
111426
111426
  }, r.ignore.split(",").forEach(function(d) {
111427
111427
  AK(Ne, d.trim(), dI);
111428
- }), _t(a, "dragover", Fh), _t(a, "mousemove", Fh), _t(a, "touchmove", Fh), r.supportPointer ? (_t(a, "pointerup", s._onDrop), !this.nativeDraggable && _t(a, "pointercancel", s._onDrop)) : (_t(a, "mouseup", s._onDrop), _t(a, "touchend", s._onDrop), _t(a, "touchcancel", s._onDrop)), XG && this.nativeDraggable && (this.options.touchStartThreshold = 4, Ne.draggable = !0), Nn("delayStart", this, {
111428
+ }), Vt(a, "dragover", Fh), Vt(a, "mousemove", Fh), Vt(a, "touchmove", Fh), r.supportPointer ? (Vt(a, "pointerup", s._onDrop), !this.nativeDraggable && Vt(a, "pointercancel", s._onDrop)) : (Vt(a, "mouseup", s._onDrop), Vt(a, "touchend", s._onDrop), Vt(a, "touchcancel", s._onDrop)), XG && this.nativeDraggable && (this.options.touchStartThreshold = 4, Ne.draggable = !0), Nn("delayStart", this, {
111429
111429
  evt: t
111430
111430
  }), r.delay && (!r.delayOnTouchOnly || i) && (!this.nativeDraggable || !(FC || Pd))) {
111431
111431
  if (ct.eventCanceled) {
111432
111432
  this._onDrop();
111433
111433
  return;
111434
111434
  }
111435
- r.supportPointer ? (_t(a, "pointerup", s._disableDelayedDrag), _t(a, "pointercancel", s._disableDelayedDrag)) : (_t(a, "mouseup", s._disableDelayedDrag), _t(a, "touchend", s._disableDelayedDrag), _t(a, "touchcancel", s._disableDelayedDrag)), _t(a, "mousemove", s._delayedDragTouchMoveHandler), _t(a, "touchmove", s._delayedDragTouchMoveHandler), r.supportPointer && _t(a, "pointermove", s._delayedDragTouchMoveHandler), s._dragStartTimer = setTimeout(l, r.delay);
111435
+ r.supportPointer ? (Vt(a, "pointerup", s._disableDelayedDrag), Vt(a, "pointercancel", s._disableDelayedDrag)) : (Vt(a, "mouseup", s._disableDelayedDrag), Vt(a, "touchend", s._disableDelayedDrag), Vt(a, "touchcancel", s._disableDelayedDrag)), Vt(a, "mousemove", s._delayedDragTouchMoveHandler), Vt(a, "touchmove", s._delayedDragTouchMoveHandler), r.supportPointer && Vt(a, "pointermove", s._delayedDragTouchMoveHandler), s._dragStartTimer = setTimeout(l, r.delay);
111436
111436
  } else
111437
111437
  l();
111438
111438
  }
@@ -111449,7 +111449,7 @@ ct.prototype = /** @lends Sortable.prototype */
111449
111449
  Bt(t, "mouseup", this._disableDelayedDrag), Bt(t, "touchend", this._disableDelayedDrag), Bt(t, "touchcancel", this._disableDelayedDrag), Bt(t, "pointerup", this._disableDelayedDrag), Bt(t, "pointercancel", this._disableDelayedDrag), Bt(t, "mousemove", this._delayedDragTouchMoveHandler), Bt(t, "touchmove", this._delayedDragTouchMoveHandler), Bt(t, "pointermove", this._delayedDragTouchMoveHandler);
111450
111450
  },
111451
111451
  _triggerDragStart: function(t, i) {
111452
- i = i || t.pointerType == "touch" && t, !this.nativeDraggable || i ? this.options.supportPointer ? _t(document, "pointermove", this._onTouchMove) : i ? _t(document, "touchmove", this._onTouchMove) : _t(document, "mousemove", this._onTouchMove) : (_t(Ne, "dragend", this), _t(Ri, "dragstart", this._onDragStart));
111452
+ i = i || t.pointerType == "touch" && t, !this.nativeDraggable || i ? this.options.supportPointer ? Vt(document, "pointermove", this._onTouchMove) : i ? Vt(document, "touchmove", this._onTouchMove) : Vt(document, "mousemove", this._onTouchMove) : (Vt(Ne, "dragend", this), Vt(Ri, "dragstart", this._onDragStart));
111453
111453
  try {
111454
111454
  document.selection ? QS(function() {
111455
111455
  document.selection.empty();
@@ -111461,7 +111461,7 @@ ct.prototype = /** @lends Sortable.prototype */
111461
111461
  if (jg = !1, Ri && Ne) {
111462
111462
  Nn("dragStarted", this, {
111463
111463
  evt: i
111464
- }), this.nativeDraggable && _t(document, "dragover", VBe);
111464
+ }), this.nativeDraggable && Vt(document, "dragover", VBe);
111465
111465
  var o = this.options;
111466
111466
  !t && rr(Ne, o.dragClass, !1), rr(Ne, o.ghostClass, !0), ct.active = this, t && this._appendGhost(), fn({
111467
111467
  sortable: this,
@@ -111540,7 +111540,7 @@ ct.prototype = /** @lends Sortable.prototype */
111540
111540
  sortable: o,
111541
111541
  name: "clone"
111542
111542
  }));
111543
- }), !i && rr(Ne, n.dragClass, !0), i ? (bw = !0, o._loopId = setInterval(o._emulateDragOver, 50)) : (Bt(document, "mouseup", o._onDrop), Bt(document, "touchend", o._onDrop), Bt(document, "touchcancel", o._onDrop), s && (s.effectAllowed = "move", n.setData && n.setData.call(o, s, Ne)), _t(document, "drop", o), gt(Ne, "transform", "translateZ(0)")), jg = !0, o._dragStartId = QS(o._dragStarted.bind(o, i, t)), _t(document, "selectstart", o), Ny = !0, window.getSelection().removeAllRanges(), rv && gt(document.body, "user-select", "none");
111543
+ }), !i && rr(Ne, n.dragClass, !0), i ? (bw = !0, o._loopId = setInterval(o._emulateDragOver, 50)) : (Bt(document, "mouseup", o._onDrop), Bt(document, "touchend", o._onDrop), Bt(document, "touchcancel", o._onDrop), s && (s.effectAllowed = "move", n.setData && n.setData.call(o, s, Ne)), Vt(document, "drop", o), gt(Ne, "transform", "translateZ(0)")), jg = !0, o._dragStartId = QS(o._dragStarted.bind(o, i, t)), Vt(document, "selectstart", o), Ny = !0, window.getSelection().removeAllRanges(), rv && gt(document.body, "user-select", "none");
111544
111544
  },
111545
111545
  // Returns true - if no further action is needed (either inserted or another condition)
111546
111546
  _onDragOver: function(t) {
@@ -111846,11 +111846,11 @@ function QS(e) {
111846
111846
  function aR(e) {
111847
111847
  return clearTimeout(e);
111848
111848
  }
111849
- C1 && _t(document, "touchmove", function(e) {
111849
+ C1 && Vt(document, "touchmove", function(e) {
111850
111850
  (ct.active || jg) && e.cancelable && e.preventDefault();
111851
111851
  });
111852
111852
  ct.utils = {
111853
- on: _t,
111853
+ on: Vt,
111854
111854
  off: Bt,
111855
111855
  css: gt,
111856
111856
  find: AK,
@@ -111901,7 +111901,7 @@ function ZBe() {
111901
111901
  return e.prototype = {
111902
111902
  dragStarted: function(i) {
111903
111903
  var o = i.originalEvent;
111904
- this.sortable.nativeDraggable ? _t(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? _t(document, "pointermove", this._handleFallbackAutoScroll) : o.touches ? _t(document, "touchmove", this._handleFallbackAutoScroll) : _t(document, "mousemove", this._handleFallbackAutoScroll);
111904
+ this.sortable.nativeDraggable ? Vt(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? Vt(document, "pointermove", this._handleFallbackAutoScroll) : o.touches ? Vt(document, "touchmove", this._handleFallbackAutoScroll) : Vt(document, "mousemove", this._handleFallbackAutoScroll);
111905
111905
  },
111906
111906
  dragOverCompleted: function(i) {
111907
111907
  var o = i.originalEvent;
@@ -116940,9 +116940,9 @@ const Rz = {
116940
116940
  let qe = !1;
116941
116941
  X > 0 && Qe === 0 && (qe = J.request.rowGroupCols[0].id in pe), (Ee || qe) && Object.keys(pe).length > 0 && (J.request.filterModel = qWe(m, J.request.filterModel, pe)), J.success = (zt) => {
116942
116942
  if (n.enableFocusView && $.value.length > 0 && _.value && zt.rowData) {
116943
- const Ut = Lz(zt.rowData, _.value, $.value);
116944
- if (Ut) {
116945
- zt.rowData = Ut, Oe(zt);
116943
+ const _t = Lz(zt.rowData, _.value, $.value);
116944
+ if (_t) {
116945
+ zt.rowData = _t, Oe(zt);
116946
116946
  return;
116947
116947
  }
116948
116948
  }
@@ -117078,13 +117078,13 @@ const Rz = {
117078
117078
  }
117079
117079
  const X = n.serverSideRowHandler;
117080
117080
  return X ? await new Promise((pe, Ee) => {
117081
- const qe = x.value?.getState(), jt = {
117081
+ const qe = x.value?.getState(), Ut = {
117082
117082
  request: Qe,
117083
117083
  parentNode: {},
117084
117084
  api: x.value,
117085
117085
  context: void 0,
117086
117086
  success: (zt) => {
117087
- const Ut = x.value?.getRowGroupColumns().map((pn) => pn.getColDef().field).filter((pn) => !!pn) || [], $s = x.value?.getAllDisplayedColumns().map((pn) => pn.getColDef().field).filter((pn) => !!pn) || [], ir = x.value?.getValueColumns().map((pn) => pn.getColDef().field).filter((pn) => !!pn) || [], Sl = Array.from(/* @__PURE__ */ new Set([...Ut, ...$s, ...ir])), Ed = zt.rowData.map((pn) => {
117087
+ const _t = x.value?.getRowGroupColumns().map((pn) => pn.getColDef().field).filter((pn) => !!pn) || [], $s = x.value?.getAllDisplayedColumns().map((pn) => pn.getColDef().field).filter((pn) => !!pn) || [], ir = x.value?.getValueColumns().map((pn) => pn.getColDef().field).filter((pn) => !!pn) || [], Sl = Array.from(/* @__PURE__ */ new Set([..._t, ...$s, ...ir])), Ed = zt.rowData.map((pn) => {
117088
117088
  const M1 = {};
117089
117089
  return Sl.forEach((BC) => {
117090
117090
  const lF = pn[BC];
@@ -117097,7 +117097,7 @@ const Rz = {
117097
117097
  ke.value = !1, Ee("CSV export failed.");
117098
117098
  }
117099
117099
  };
117100
- X(jt, !0);
117100
+ X(Ut, !0);
117101
117101
  }) : (console.warn("Client-side export does not return CSV string"), ke.value = !1, x.value.exportDataAsCsv(), null);
117102
117102
  } catch (J) {
117103
117103
  return console.error("CSV export failed", J), ke.value = !1, null;
@@ -117984,7 +117984,7 @@ const Rz = {
117984
117984
  function O(X, pe, Ee = !0) {
117985
117985
  return (qe) => {
117986
117986
  qe.data = z.value?.find((ir) => ir[X] === qe.value);
117987
- let jt = "";
117987
+ let Ut = "";
117988
117988
  const zt = E(X);
117989
117989
  if (o.truncateLabelValues && Ee && zt && aF(zt) && !isNaN(Number(qe.value))) {
117990
117990
  if (Ie.value) {
@@ -117997,10 +117997,10 @@ const Rz = {
117997
117997
  $l.Percent === vr(zt).dataType,
117998
117998
  tt.value
117999
117999
  );
118000
- qe.value = ir, jt = Sl;
118000
+ qe.value = ir, Ut = Sl;
118001
118001
  }
118002
118002
  let $s = qe.value;
118003
- return pe && ($s = pe(qe)), $s + jt;
118003
+ return pe && ($s = pe(qe)), $s + Ut;
118004
118004
  };
118005
118005
  }
118006
118006
  const P = (X, pe = !1) => {
@@ -118040,11 +118040,11 @@ const Rz = {
118040
118040
  const pe = o.chartFilter.colId;
118041
118041
  let Ee = o.chartFilter.options.find((zt) => zt.value === X)?.filterValues || null;
118042
118042
  Ee && Ee.length === 0 && (Ee = null), S(pe, Ee || []);
118043
- const jt = gY({
118043
+ const Ut = gY({
118044
118044
  filterType: "set",
118045
118045
  values: Ee
118046
118046
  }, E(pe));
118047
- n.value.setColumnFilterModel(pe, jt).then(() => {
118047
+ n.value.setColumnFilterModel(pe, Ut).then(() => {
118048
118048
  n.value?.onFilterChanged();
118049
118049
  });
118050
118050
  }
@@ -118064,14 +118064,14 @@ const Rz = {
118064
118064
  const Ee = P(X.xKey);
118065
118065
  Ee && typeof Ee == "function" && (pe = Ee({ value: pe }));
118066
118066
  const qe = X.yKey;
118067
- let jt = X.datum[qe];
118067
+ let Ut = X.datum[qe];
118068
118068
  const zt = P(qe);
118069
- return zt && typeof zt == "function" && (jt = zt({ value: jt })), {
118069
+ return zt && typeof zt == "function" && (Ut = zt({ value: Ut })), {
118070
118070
  heading: pe,
118071
118071
  data: [
118072
118072
  {
118073
118073
  label: Q.value,
118074
- value: jt
118074
+ value: Ut
118075
118075
  }
118076
118076
  ]
118077
118077
  };
@@ -118079,14 +118079,14 @@ const Rz = {
118079
118079
  }, Se = se(() => N.value?.id.includes("column") || N.value?.id.includes("bar")), Ie = se(() => N.value?.id.includes("stacked")), ke = se(() => {
118080
118080
  const X = Ie.value, pe = Se.value ? "bar" : N.value?.id;
118081
118081
  let Ee = [];
118082
- const qe = P(_.value, !0), jt = P($.value?.fieldName, !0);
118082
+ const qe = P(_.value, !0), Ut = P($.value?.fieldName, !0);
118083
118083
  if (ue.value)
118084
118084
  $.value?.fieldValues.forEach(($s) => {
118085
118085
  const ir = {
118086
118086
  type: pe,
118087
118087
  xKey: f.value,
118088
118088
  yKey: yR(_.value, $s),
118089
- yName: typeof jt == "function" ? jt({ value: $s }) : $s,
118089
+ yName: typeof Ut == "function" ? Ut({ value: $s }) : $s,
118090
118090
  stacked: X,
118091
118091
  label: {
118092
118092
  enabled: ne.value,
@@ -118102,7 +118102,7 @@ const Rz = {
118102
118102
  Ee.push(ir);
118103
118103
  });
118104
118104
  else {
118105
- const Ut = {
118105
+ const _t = {
118106
118106
  type: pe,
118107
118107
  xKey: f.value,
118108
118108
  yKey: _.value,
@@ -118118,18 +118118,18 @@ const Rz = {
118118
118118
  },
118119
118119
  itemStyler: ce
118120
118120
  };
118121
- Ee.push(Ut);
118121
+ Ee.push(_t);
118122
118122
  }
118123
118123
  let zt = {};
118124
118124
  if (pe === "column" || pe === "bar") {
118125
- const Ut = zt;
118126
- Ut.direction = he.value ? "horizontal" : "vertical", zt = Ut;
118125
+ const _t = zt;
118126
+ _t.direction = he.value ? "horizontal" : "vertical", zt = _t;
118127
118127
  } else if (pe === "line" || pe === "area") {
118128
- const Ut = zt;
118129
- Ut.connectMissingData = !0, zt = Ut;
118128
+ const _t = zt;
118129
+ _t.connectMissingData = !0, zt = _t;
118130
118130
  }
118131
- return Ee = Ee.map((Ut) => ({
118132
- ...Ut,
118131
+ return Ee = Ee.map((_t) => ({
118132
+ ..._t,
118133
118133
  ...zt
118134
118134
  })), Ee;
118135
118135
  }), ve = se(() => y.value.length === 0 ? [] : [{
@@ -118207,13 +118207,13 @@ const Rz = {
118207
118207
  if (o.requireFiltersToShowData && Object.keys(Ee).length === 0)
118208
118208
  return;
118209
118209
  if (o.serverSideChartHandler) {
118210
- let Ut = { ...n.value?.getFilterModel() || {} };
118210
+ let _t = { ...n.value?.getFilterModel() || {} };
118211
118211
  const $s = n.value?.getColumnDefs() || [];
118212
- !w.value && o.initialGridState && (Ut = gR(o.initialGridState, $s)?.filter?.filterModel || {});
118212
+ !w.value && o.initialGridState && Object.keys(_t).length === 0 && (_t = gR(o.initialGridState, $s)?.filter?.filterModel || {});
118213
118213
  const ir = g.value.map((hn) => n.value?.getColumn(hn)).filter((hn) => hn !== void 0), Sl = {
118214
118214
  rowGroupCols: Oz(ir || []),
118215
118215
  valueCols: Oz(n.value?.getValueColumns() || []),
118216
- filterModel: Ut
118216
+ filterModel: _t
118217
118217
  };
118218
118218
  u.value = !0;
118219
118219
  const Ed = ++h.value;
@@ -118225,21 +118225,21 @@ const Rz = {
118225
118225
  return;
118226
118226
  }
118227
118227
  if (o.serverSideRowHandler) return;
118228
- const qe = [], jt = [];
118228
+ const qe = [], Ut = [];
118229
118229
  let zt = /* @__PURE__ */ new Set();
118230
- if (X.forEachNodeAfterFilterAndSort((Ut) => {
118231
- if (Ut.group && Ut.level === 0) {
118230
+ if (X.forEachNodeAfterFilterAndSort((_t) => {
118231
+ if (_t.group && _t.level === 0) {
118232
118232
  if (g.value.length > 1) {
118233
- const ir = Ut.childrenAfterFilter?.filter((hn) => hn.level === 1 && hn.aggData) || [], { rowData: Sl, fieldValues: Ed } = me(Ut, ir);
118234
- zt = zt.union(Ed), jt?.push(Sl);
118233
+ const ir = _t.childrenAfterFilter?.filter((hn) => hn.level === 1 && hn.aggData) || [], { rowData: Sl, fieldValues: Ed } = me(_t, ir);
118234
+ zt = zt.union(Ed), Ut?.push(Sl);
118235
118235
  }
118236
- const $s = le(Ut);
118236
+ const $s = le(_t);
118237
118237
  qe?.push($s);
118238
118238
  }
118239
- }), z.value = qe, g.value.length > 1 && jt && jt.length > 0) {
118240
- const Ut = g.value[1] || "";
118241
- H.value = jt, $.value = {
118242
- fieldName: Ut,
118239
+ }), z.value = qe, g.value.length > 1 && Ut && Ut.length > 0) {
118240
+ const _t = g.value[1] || "";
118241
+ H.value = Ut, $.value = {
118242
+ fieldName: _t,
118243
118243
  fieldValues: Array.from(zt)
118244
118244
  };
118245
118245
  } else
@@ -118255,17 +118255,17 @@ const Rz = {
118255
118255
  const Ee = /* @__PURE__ */ new Set(), qe = {
118256
118256
  [X.field]: X.key
118257
118257
  };
118258
- let jt = 0;
118258
+ let Ut = 0;
118259
118259
  for (const zt of y.value)
118260
- pe.forEach((Ut) => {
118261
- const $s = Ut.key;
118260
+ pe.forEach((_t) => {
118261
+ const $s = _t.key;
118262
118262
  Ee.add($s);
118263
- const ir = Ut.aggData;
118263
+ const ir = _t.aggData;
118264
118264
  if ($s && ir) {
118265
- const Sl = Ut.aggData[zt.value]?.value ?? Ut.aggData[zt.value];
118266
- qe[yR(zt.value, $s)] = Sl, jt = jt + Sl;
118265
+ const Sl = _t.aggData[zt.value]?.value ?? _t.aggData[zt.value];
118266
+ qe[yR(zt.value, $s)] = Sl, Ut = Ut + Sl;
118267
118267
  }
118268
- }), qe[`${zt.value}${pv}`] = jt;
118268
+ }), qe[`${zt.value}${pv}`] = Ut;
118269
118269
  return {
118270
118270
  rowData: qe,
118271
118271
  fieldValues: Ee
@@ -118274,9 +118274,9 @@ const Rz = {
118274
118274
  let X = ue.value ? H.value : z.value, pe = null;
118275
118275
  if (W.value && (pe = ue.value ? `${_.value}${pv}` : _.value), pe && X && W.value) {
118276
118276
  const Ee = W.value?.id.includes("desc") ? -1 : 1;
118277
- X = [...X].sort((qe, jt) => {
118278
- const zt = qe[pe] || 0, Ut = jt[pe] || 0;
118279
- return (zt - Ut) * Ee;
118277
+ X = [...X].sort((qe, Ut) => {
118278
+ const zt = qe[pe] || 0, _t = Ut[pe] || 0;
118279
+ return (zt - _t) * Ee;
118280
118280
  });
118281
118281
  }
118282
118282
  if (X && X.length === 1) {
@@ -118288,7 +118288,7 @@ const Rz = {
118288
118288
  ];
118289
118289
  }
118290
118290
  if (o.enableFocusView && xe.value && x.value.length > 0 && A.value) {
118291
- const Ee = X?.filter((jt) => x.value.includes(jt[f.value])), qe = X?.filter((jt) => !x.value.includes(jt[f.value]));
118291
+ const Ee = X?.filter((Ut) => x.value.includes(Ut[f.value])), qe = X?.filter((Ut) => !x.value.includes(Ut[f.value]));
118292
118292
  X = [...Ee || [], { [f.value]: CI }, ...qe || []];
118293
118293
  }
118294
118294
  return X;
@@ -118296,8 +118296,8 @@ const Rz = {
118296
118296
  const X = ue.value ? H.value : xe.value;
118297
118297
  return VUe(X, _.value, ue.value);
118298
118298
  }), xt = se(() => $.value?.fieldValues?.length || 0), wt = se(() => {
118299
- const jt = 0.25 * Math.exp(-0.12 * je.value);
118300
- return Math.min(Math.max(jt, 0.05), 0.75);
118299
+ const Ut = 0.25 * Math.exp(-0.12 * je.value);
118300
+ return Math.min(Math.max(Ut, 0.05), 0.75);
118301
118301
  }), Lt = se(() => xt.value > 5 ? 0.5 : 1), Fo = se(() => xt.value > 5 ? 0.25 : 0.1), tr = se(() => !xe.value || xe.value?.length === 0 ? !0 : tt.value === 0), Ln = se(() => o.enableFocusView && A.value && x.value.length === 0 && o.percentOfFocusViewYKey && _.value && _.value === o.percentOfFocusViewYKey), so = se(() => {
118302
118302
  if (g.value.length === 0)
118303
118303
  return "No groups selected. Select at least one group to display data.";
@@ -118341,8 +118341,8 @@ const Rz = {
118341
118341
  return "";
118342
118342
  const Ee = 35;
118343
118343
  let qe = pe.value;
118344
- const jt = P(f.value);
118345
- return typeof jt == "function" && (qe = jt(pe)), typeof qe == "string" && qe.length > Ee ? qe.substring(0, Ee) + "..." : qe;
118344
+ const Ut = P(f.value);
118345
+ return typeof Ut == "function" && (qe = Ut(pe)), typeof qe == "string" && qe.length > Ee ? qe.substring(0, Ee) + "..." : qe;
118346
118346
  }
118347
118347
  },
118348
118348
  paddingInner: wt.value,