@embeddable.com/remarkable-pro 0.0.15 → 0.0.17

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 (93) hide show
  1. package/dist/BarChartDefaultHorizontalPro.js +3 -3
  2. package/dist/BarChartDefaultPro.js +3 -3
  3. package/dist/BarChartGroupedHorizontalPro.js +3 -3
  4. package/dist/BarChartGroupedPro.js +3 -3
  5. package/dist/BarChartStackedHorizontalPro.js +3 -3
  6. package/dist/BarChartStackedPro.js +3 -3
  7. package/dist/{ChartCard-BEIVgW77.js → ChartCard-CuGtJlaW.js} +3 -3
  8. package/dist/{ChartCard-BEIVgW77.js.map → ChartCard-CuGtJlaW.js.map} +1 -1
  9. package/dist/{Color.type.emb-ByiNbaI7.js → Color.type.emb-CLYI-rua.js} +282 -283
  10. package/dist/{Color.type.emb-ByiNbaI7.js.map → Color.type.emb-CLYI-rua.js.map} +1 -1
  11. package/dist/ColorEditor.js +1 -1
  12. package/dist/ComparisonPeriodSelectFieldPro.js +3 -3
  13. package/dist/DateRangePickerCustomPro.js +3 -3
  14. package/dist/DateRangeSelectFieldPro.js +3 -3
  15. package/dist/DonutChartPro.js +3 -3
  16. package/dist/DonutLabelChartPro.js +3 -3
  17. package/dist/{EditorCard-NEIuygkP.js → EditorCard-CNtTIFGO.js} +3 -3
  18. package/dist/{EditorCard-NEIuygkP.js.map → EditorCard-CNtTIFGO.js.map} +1 -1
  19. package/dist/HeatMapPro.js +18 -17
  20. package/dist/HeatMapPro.js.map +1 -1
  21. package/dist/KpiChartNumberComparisonPro.js +3 -3
  22. package/dist/KpiChartNumberPro.js +3 -3
  23. package/dist/LineChartComparisonDefaultPro.js +3 -3
  24. package/dist/LineChartDefaultPro.js +3 -3
  25. package/dist/LineChartGroupedPro.js +3 -3
  26. package/dist/MultiSelectFieldPro.js +3 -3
  27. package/dist/PieChartPro.js +3 -3
  28. package/dist/PivotTablePro.js +3 -3
  29. package/dist/SingleSelectFieldPro.js +3 -3
  30. package/dist/TableChartPaginated.js +3 -3
  31. package/dist/{bars.utils-D12lq8bm.js → bars.utils-c9bi5X5n.js} +4 -4
  32. package/dist/{bars.utils-D12lq8bm.js.map → bars.utils-c9bi5X5n.js.map} +1 -1
  33. package/dist/{charts.utils-Bq6c6ccK.js → charts.utils-nkrr8Yy8.js} +6 -5
  34. package/dist/charts.utils-nkrr8Yy8.js.map +1 -0
  35. package/dist/{component.inputs.constants-FaX3B1CO.js → component.inputs.constants-CpWMPDsp.js} +258 -232
  36. package/dist/{component.inputs.constants-FaX3B1CO.js.map → component.inputs.constants-CpWMPDsp.js.map} +1 -1
  37. package/dist/components/component.inputs.constants.d.ts +1 -1
  38. package/dist/embeddable-components.json +12 -12
  39. package/dist/embeddable-theme-0137e.js +2 -1
  40. package/dist/{formatter.utils-IGbSBsIu.js → formatter.utils-DPI9zC1z.js} +2 -2
  41. package/dist/{formatter.utils-IGbSBsIu.js.map → formatter.utils-DPI9zC1z.js.map} +1 -1
  42. package/dist/{index-oK1pn0Vk.js → index-1Pthtw-F.js} +5 -5
  43. package/dist/{index-oK1pn0Vk.js.map → index-1Pthtw-F.js.map} +1 -1
  44. package/dist/{index-EAQjfjEJ.js → index-8dPSbeeV.js} +4 -4
  45. package/dist/{index-EAQjfjEJ.js.map → index-8dPSbeeV.js.map} +1 -1
  46. package/dist/{index-CR69kGQc.js → index-B0gfoUZP.js} +5 -5
  47. package/dist/{index-CR69kGQc.js.map → index-B0gfoUZP.js.map} +1 -1
  48. package/dist/{index-BNFqHQr3.js → index-B6Nckx8Z.js} +6 -6
  49. package/dist/{index-BNFqHQr3.js.map → index-B6Nckx8Z.js.map} +1 -1
  50. package/dist/{index-BKcWHLSf.js → index-BBmMB5DD.js} +5 -5
  51. package/dist/{index-BKcWHLSf.js.map → index-BBmMB5DD.js.map} +1 -1
  52. package/dist/{index-CdjbmThq.js → index-BHVaEsvO.js} +5 -5
  53. package/dist/{index-CdjbmThq.js.map → index-BHVaEsvO.js.map} +1 -1
  54. package/dist/{index-DLCspqkx.js → index-BQKTtuOl.js} +5 -5
  55. package/dist/{index-DLCspqkx.js.map → index-BQKTtuOl.js.map} +1 -1
  56. package/dist/{index-BDPQ_c46.js → index-BTdWqSDj.js} +5 -5
  57. package/dist/{index-BDPQ_c46.js.map → index-BTdWqSDj.js.map} +1 -1
  58. package/dist/{index-CwiND2Ct.js → index-BUnUdDZd.js} +5 -5
  59. package/dist/{index-CwiND2Ct.js.map → index-BUnUdDZd.js.map} +1 -1
  60. package/dist/{index-RHaWI3AH.js → index-BaSNws-A.js} +5 -5
  61. package/dist/{index-RHaWI3AH.js.map → index-BaSNws-A.js.map} +1 -1
  62. package/dist/{index-Dhj9KjfQ.js → index-CB5nTme1.js} +5 -5
  63. package/dist/{index-Dhj9KjfQ.js.map → index-CB5nTme1.js.map} +1 -1
  64. package/dist/{index-B15C4kTf.js → index-CSH6Tke5.js} +5 -5
  65. package/dist/{index-B15C4kTf.js.map → index-CSH6Tke5.js.map} +1 -1
  66. package/dist/{index-DRIH3L5J.js → index-CwL7feVe.js} +5 -5
  67. package/dist/{index-DRIH3L5J.js.map → index-CwL7feVe.js.map} +1 -1
  68. package/dist/{index-DdeFtB5C.js → index-DbQoW48_.js} +6 -6
  69. package/dist/{index-DdeFtB5C.js.map → index-DbQoW48_.js.map} +1 -1
  70. package/dist/{index-_fEx7Sbh.js → index-DfXkoWel.js} +4 -4
  71. package/dist/{index-_fEx7Sbh.js.map → index-DfXkoWel.js.map} +1 -1
  72. package/dist/{index-CQZhGtUT.js → index-DjA9mRxV.js} +6 -6
  73. package/dist/{index-CQZhGtUT.js.map → index-DjA9mRxV.js.map} +1 -1
  74. package/dist/{index-hHVOyy6e.js → index-Dz6llBs_.js} +5 -5
  75. package/dist/{index-hHVOyy6e.js.map → index-Dz6llBs_.js.map} +1 -1
  76. package/dist/{index-BzF8GFHy.js → index-WDuZPeli.js} +5 -5
  77. package/dist/{index-BzF8GFHy.js.map → index-WDuZPeli.js.map} +1 -1
  78. package/dist/{index-DNXqnRoE.js → index-hmfJGJBH.js} +5 -5
  79. package/dist/{index-DNXqnRoE.js.map → index-hmfJGJBH.js.map} +1 -1
  80. package/dist/{index-BjaJdNzu.js → index-natSwnW-.js} +5 -5
  81. package/dist/{index-BjaJdNzu.js.map → index-natSwnW-.js.map} +1 -1
  82. package/dist/{index-BiTSd5Wd.js → index-z0A1zEtp.js} +5 -5
  83. package/dist/{index-BiTSd5Wd.js.map → index-z0A1zEtp.js.map} +1 -1
  84. package/dist/index.d.ts +1 -0
  85. package/dist/index.d.ts.map +1 -1
  86. package/dist/index.js +80 -77
  87. package/dist/{pies.utils-C5DxeS68.js → pies.utils-BO9fuUwj.js} +5 -5
  88. package/dist/{pies.utils-C5DxeS68.js.map → pies.utils-BO9fuUwj.js.map} +1 -1
  89. package/dist/remarkable-pro.css +1 -1
  90. package/dist/{timeRange.utils-CTEHTF97.js → timeRange.utils-DaDev_JE.js} +2 -2
  91. package/dist/{timeRange.utils-CTEHTF97.js.map → timeRange.utils-DaDev_JE.js.map} +1 -1
  92. package/package.json +2 -2
  93. package/dist/charts.utils-Bq6c6ccK.js.map +0 -1
@@ -566,14 +566,14 @@ const Xv = "embeddable-event:load-data", Bv = (e, t, n, a) => {
566
566
  propertyName: a
567
567
  }
568
568
  }));
569
- }, DDe = (e) => ({
569
+ }, WDe = (e) => ({
570
570
  requestParams: e,
571
571
  dataLoader: Bv
572
572
  }), Lf = (e) => (e == null ? void 0 : e.__type__) === Ff, Yf = (e) => (e == null ? void 0 : e.__type__) === Rf, uc = (e) => "dimension" in (e ?? {}) && !("__type__" in e), Gv = (e) => Lf(e) || Yf(e), cc = (e, t) => ({
573
573
  operation: e,
574
574
  value: t ?? null,
575
575
  __embeddableVariableMeta: !0
576
- }), _De = {
576
+ }), DDe = {
577
577
  noFilter: () => cc("NO_FILTER"),
578
578
  of: (e) => cc("VALUE", e)
579
579
  }, qv = () => globalThis.__EMBEDDABLE_BUNDLE_HASH__ ?? null, Kv = (e, t) => {
@@ -606,7 +606,7 @@ const Xv = "embeddable-event:load-data", Bv = (e, t, n, a) => {
606
606
  aP,
607
607
  rP,
608
608
  iP
609
- ], lP = () => globalThis.__EMBEDDABLE_BUNDLE_HASH__ ?? null, SDe = (e, t) => {
609
+ ], lP = () => globalThis.__EMBEDDABLE_BUNDLE_HASH__ ?? null, _De = (e, t) => {
610
610
  var r, i, o, s;
611
611
  const n = lP();
612
612
  globalThis.__EMBEDDABLE__ ?? (globalThis.__EMBEDDABLE__ = {});
@@ -2856,7 +2856,7 @@ var zd = "PopperContent", [zM, AM] = gg(zd), Pg = S.forwardRef(
2856
2856
  ya(() => {
2857
2857
  B && (Z == null || Z());
2858
2858
  }, [B, Z]);
2859
- const pe = (ut = F.arrow) == null ? void 0 : ut.x, Fe = (Jn = F.arrow) == null ? void 0 : Jn.y, xe = ((tt = F.arrow) == null ? void 0 : tt.centerOffset) !== 0, [Ke, Re] = S.useState();
2859
+ const be = (ut = F.arrow) == null ? void 0 : ut.x, Fe = (Jn = F.arrow) == null ? void 0 : Jn.y, xe = ((tt = F.arrow) == null ? void 0 : tt.centerOffset) !== 0, [Ke, Re] = S.useState();
2860
2860
  return ya(() => {
2861
2861
  v && Re(window.getComputedStyle(v).zIndex);
2862
2862
  }, [v]), /* @__PURE__ */ $.jsx(
@@ -2889,7 +2889,7 @@ var zd = "PopperContent", [zM, AM] = gg(zd), Pg = S.forwardRef(
2889
2889
  scope: n,
2890
2890
  placedSide: A,
2891
2891
  onArrowChange: W,
2892
- arrowX: pe,
2892
+ arrowX: be,
2893
2893
  arrowY: Fe,
2894
2894
  shouldHideArrow: xe,
2895
2895
  children: /* @__PURE__ */ $.jsx(
@@ -3784,7 +3784,7 @@ var e0 = "MenuAnchor", Ad = S.forwardRef(
3784
3784
  }
3785
3785
  );
3786
3786
  Ad.displayName = e0;
3787
- var t0 = "MenuPortal", [CDe, Yg] = Wa(t0, {
3787
+ var t0 = "MenuPortal", [SDe, Yg] = Wa(t0, {
3788
3788
  forceMount: void 0
3789
3789
  }), Ot = "MenuContent", [n0, Id] = Wa(Ot), Xg = S.forwardRef(
3790
3790
  (e, t) => {
@@ -3846,15 +3846,15 @@ var t0 = "MenuPortal", [CDe, Yg] = Wa(t0, {
3846
3846
  ...f
3847
3847
  } = e, b = cr(Ot, n), v = fi(Ot, n), P = ls(n), M = Vg(n), D = Qk(n), [W, x] = S.useState(null), _ = S.useRef(null), C = pt(t, _, b.onContentChange), j = S.useRef(0), O = S.useRef(""), T = S.useRef(0), N = S.useRef(null), I = S.useRef("right"), H = S.useRef(0), Y = g ? Hg : S.Fragment, V = g ? { as: i0, allowPinchZoom: !0 } : void 0, B = (A) => {
3848
3848
  var ut, Jn;
3849
- const X = O.current + A, Z = D().filter((tt) => !tt.disabled), pe = document.activeElement, Fe = (ut = Z.find((tt) => tt.ref.current === pe)) == null ? void 0 : ut.textValue, xe = Z.map((tt) => tt.textValue), Ke = p0(xe, X, Fe), Re = (Jn = Z.find((tt) => tt.textValue === Ke)) == null ? void 0 : Jn.ref.current;
3849
+ const X = O.current + A, Z = D().filter((tt) => !tt.disabled), be = document.activeElement, Fe = (ut = Z.find((tt) => tt.ref.current === be)) == null ? void 0 : ut.textValue, xe = Z.map((tt) => tt.textValue), Ke = p0(xe, X, Fe), Re = (Jn = Z.find((tt) => tt.textValue === Ke)) == null ? void 0 : Jn.ref.current;
3850
3850
  (function tt(Ft) {
3851
3851
  O.current = Ft, window.clearTimeout(j.current), Ft !== "" && (j.current = window.setTimeout(() => tt(""), 1e3));
3852
3852
  })(X), Re && setTimeout(() => Re.focus());
3853
3853
  };
3854
3854
  S.useEffect(() => () => window.clearTimeout(j.current), []), h1();
3855
3855
  const F = S.useCallback((A) => {
3856
- var Z, pe;
3857
- return I.current === ((Z = N.current) == null ? void 0 : Z.side) && w0(A, (pe = N.current) == null ? void 0 : pe.area);
3856
+ var Z, be;
3857
+ return I.current === ((Z = N.current) == null ? void 0 : Z.side) && w0(A, (be = N.current) == null ? void 0 : be.area);
3858
3858
  }, []);
3859
3859
  return /* @__PURE__ */ $.jsx(
3860
3860
  n0,
@@ -3931,8 +3931,8 @@ var t0 = "MenuPortal", [CDe, Yg] = Wa(t0, {
3931
3931
  ref: C,
3932
3932
  style: { outline: "none", ...f.style },
3933
3933
  onKeyDown: le(f.onKeyDown, (A) => {
3934
- const Z = A.target.closest("[data-radix-menu-content]") === A.currentTarget, pe = A.ctrlKey || A.altKey || A.metaKey, Fe = A.key.length === 1;
3935
- Z && (A.key === "Tab" && A.preventDefault(), !pe && Fe && B(A.key));
3934
+ const Z = A.target.closest("[data-radix-menu-content]") === A.currentTarget, be = A.ctrlKey || A.altKey || A.metaKey, Fe = A.key.length === 1;
3935
+ Z && (A.key === "Tab" && A.preventDefault(), !be && Fe && B(A.key));
3936
3936
  const xe = _.current;
3937
3937
  if (A.target !== xe || !Gk.includes(A.key)) return;
3938
3938
  A.preventDefault();
@@ -3947,8 +3947,8 @@ var t0 = "MenuPortal", [CDe, Yg] = Wa(t0, {
3947
3947
  Zr((A) => {
3948
3948
  const X = A.target, Z = H.current !== A.clientX;
3949
3949
  if (A.currentTarget.contains(X) && Z) {
3950
- const pe = A.clientX > H.current ? "right" : "left";
3951
- I.current = pe, H.current = A.clientX;
3950
+ const be = A.clientX > H.current ? "right" : "left";
3951
+ I.current = be, H.current = A.clientX;
3952
3952
  }
3953
3953
  })
3954
3954
  )
@@ -4151,7 +4151,7 @@ var m0 = "MenuArrow", nb = S.forwardRef(
4151
4151
  }
4152
4152
  );
4153
4153
  nb.displayName = m0;
4154
- var f0 = "MenuSub", [NDe, ab] = Wa(f0), jr = "MenuSubTrigger", rb = S.forwardRef(
4154
+ var f0 = "MenuSub", [CDe, ab] = Wa(f0), jr = "MenuSubTrigger", rb = S.forwardRef(
4155
4155
  (e, t) => {
4156
4156
  const n = cr(jr, e.__scopeMenu), a = fi(jr, e.__scopeMenu), r = ab(jr, e.__scopeMenu), i = Id(jr, e.__scopeMenu), o = S.useRef(null), { pointerGraceTimerRef: s, onPointerGraceIntentChange: l } = i, d = { __scopeMenu: e.__scopeMenu }, u = S.useCallback(() => {
4157
4157
  o.current && window.clearTimeout(o.current), o.current = null;
@@ -5292,7 +5292,7 @@ function Xd(e, t) {
5292
5292
  const n = ie(e, t == null ? void 0 : t.in), a = +Rn(n, t) - +Sx(n, t);
5293
5293
  return Math.round(a / bb) + 1;
5294
5294
  }
5295
- function ye(e, t) {
5295
+ function pe(e, t) {
5296
5296
  const n = e < 0 ? "-" : "", a = Math.abs(e).toString().padStart(t, "0");
5297
5297
  return n + a;
5298
5298
  }
@@ -5300,16 +5300,16 @@ const Wn = {
5300
5300
  // Year
5301
5301
  y(e, t) {
5302
5302
  const n = e.getFullYear(), a = n > 0 ? n : 1 - n;
5303
- return ye(t === "yy" ? a % 100 : a, t.length);
5303
+ return pe(t === "yy" ? a % 100 : a, t.length);
5304
5304
  },
5305
5305
  // Month
5306
5306
  M(e, t) {
5307
5307
  const n = e.getMonth();
5308
- return t === "M" ? String(n + 1) : ye(n + 1, 2);
5308
+ return t === "M" ? String(n + 1) : pe(n + 1, 2);
5309
5309
  },
5310
5310
  // Day of the month
5311
5311
  d(e, t) {
5312
- return ye(e.getDate(), t.length);
5312
+ return pe(e.getDate(), t.length);
5313
5313
  },
5314
5314
  // AM or PM
5315
5315
  a(e, t) {
@@ -5329,26 +5329,26 @@ const Wn = {
5329
5329
  },
5330
5330
  // Hour [1-12]
5331
5331
  h(e, t) {
5332
- return ye(e.getHours() % 12 || 12, t.length);
5332
+ return pe(e.getHours() % 12 || 12, t.length);
5333
5333
  },
5334
5334
  // Hour [0-23]
5335
5335
  H(e, t) {
5336
- return ye(e.getHours(), t.length);
5336
+ return pe(e.getHours(), t.length);
5337
5337
  },
5338
5338
  // Minute
5339
5339
  m(e, t) {
5340
- return ye(e.getMinutes(), t.length);
5340
+ return pe(e.getMinutes(), t.length);
5341
5341
  },
5342
5342
  // Second
5343
5343
  s(e, t) {
5344
- return ye(e.getSeconds(), t.length);
5344
+ return pe(e.getSeconds(), t.length);
5345
5345
  },
5346
5346
  // Fraction of second
5347
5347
  S(e, t) {
5348
5348
  const n = t.length, a = e.getMilliseconds(), r = Math.trunc(
5349
5349
  a * Math.pow(10, n - 3)
5350
5350
  );
5351
- return ye(r, t.length);
5351
+ return pe(r, t.length);
5352
5352
  }
5353
5353
  }, Fa = {
5354
5354
  midnight: "midnight",
@@ -5389,14 +5389,14 @@ const Wn = {
5389
5389
  const r = xb(e, a), i = r > 0 ? r : 1 - r;
5390
5390
  if (t === "YY") {
5391
5391
  const o = i % 100;
5392
- return ye(o, 2);
5392
+ return pe(o, 2);
5393
5393
  }
5394
- return t === "Yo" ? n.ordinalNumber(i, { unit: "year" }) : ye(i, t.length);
5394
+ return t === "Yo" ? n.ordinalNumber(i, { unit: "year" }) : pe(i, t.length);
5395
5395
  },
5396
5396
  // ISO week-numbering year
5397
5397
  R: function(e, t) {
5398
5398
  const n = wb(e);
5399
- return ye(n, t.length);
5399
+ return pe(n, t.length);
5400
5400
  },
5401
5401
  // Extended year. This is a single number designating the year of this calendar system.
5402
5402
  // The main difference between `y` and `u` localizers are B.C. years:
@@ -5409,7 +5409,7 @@ const Wn = {
5409
5409
  // while `uu` pads single digit years to 2 characters and returns other years unchanged.
5410
5410
  u: function(e, t) {
5411
5411
  const n = e.getFullYear();
5412
- return ye(n, t.length);
5412
+ return pe(n, t.length);
5413
5413
  },
5414
5414
  // Quarter
5415
5415
  Q: function(e, t, n) {
@@ -5420,7 +5420,7 @@ const Wn = {
5420
5420
  return String(a);
5421
5421
  // 01, 02, 03, 04
5422
5422
  case "QQ":
5423
- return ye(a, 2);
5423
+ return pe(a, 2);
5424
5424
  // 1st, 2nd, 3rd, 4th
5425
5425
  case "Qo":
5426
5426
  return n.ordinalNumber(a, { unit: "quarter" });
@@ -5454,7 +5454,7 @@ const Wn = {
5454
5454
  return String(a);
5455
5455
  // 01, 02, 03, 04
5456
5456
  case "qq":
5457
- return ye(a, 2);
5457
+ return pe(a, 2);
5458
5458
  // 1st, 2nd, 3rd, 4th
5459
5459
  case "qo":
5460
5460
  return n.ordinalNumber(a, { unit: "quarter" });
@@ -5516,7 +5516,7 @@ const Wn = {
5516
5516
  return String(a + 1);
5517
5517
  // 01, 02, ..., 12
5518
5518
  case "LL":
5519
- return ye(a + 1, 2);
5519
+ return pe(a + 1, 2);
5520
5520
  // 1st, 2nd, ..., 12th
5521
5521
  case "Lo":
5522
5522
  return n.ordinalNumber(a + 1, { unit: "month" });
@@ -5541,12 +5541,12 @@ const Wn = {
5541
5541
  // Local week of year
5542
5542
  w: function(e, t, n, a) {
5543
5543
  const r = Xd(e, a);
5544
- return t === "wo" ? n.ordinalNumber(r, { unit: "week" }) : ye(r, t.length);
5544
+ return t === "wo" ? n.ordinalNumber(r, { unit: "week" }) : pe(r, t.length);
5545
5545
  },
5546
5546
  // ISO week of year
5547
5547
  I: function(e, t, n) {
5548
5548
  const a = Yd(e);
5549
- return t === "Io" ? n.ordinalNumber(a, { unit: "week" }) : ye(a, t.length);
5549
+ return t === "Io" ? n.ordinalNumber(a, { unit: "week" }) : pe(a, t.length);
5550
5550
  },
5551
5551
  // Day of the month
5552
5552
  d: function(e, t, n) {
@@ -5555,7 +5555,7 @@ const Wn = {
5555
5555
  // Day of year
5556
5556
  D: function(e, t, n) {
5557
5557
  const a = _x(e);
5558
- return t === "Do" ? n.ordinalNumber(a, { unit: "dayOfYear" }) : ye(a, t.length);
5558
+ return t === "Do" ? n.ordinalNumber(a, { unit: "dayOfYear" }) : pe(a, t.length);
5559
5559
  },
5560
5560
  // Day of week
5561
5561
  E: function(e, t, n) {
@@ -5599,7 +5599,7 @@ const Wn = {
5599
5599
  return String(i);
5600
5600
  // Padded numerical value
5601
5601
  case "ee":
5602
- return ye(i, 2);
5602
+ return pe(i, 2);
5603
5603
  // 1st, 2nd, ..., 7th
5604
5604
  case "eo":
5605
5605
  return n.ordinalNumber(i, { unit: "day" });
@@ -5638,7 +5638,7 @@ const Wn = {
5638
5638
  return String(i);
5639
5639
  // Padded numerical value
5640
5640
  case "cc":
5641
- return ye(i, t.length);
5641
+ return pe(i, t.length);
5642
5642
  // 1st, 2nd, ..., 7th
5643
5643
  case "co":
5644
5644
  return n.ordinalNumber(i, { unit: "day" });
@@ -5677,7 +5677,7 @@ const Wn = {
5677
5677
  return String(r);
5678
5678
  // 02
5679
5679
  case "ii":
5680
- return ye(r, t.length);
5680
+ return pe(r, t.length);
5681
5681
  // 2nd
5682
5682
  case "io":
5683
5683
  return n.ordinalNumber(r, { unit: "day" });
@@ -5805,12 +5805,12 @@ const Wn = {
5805
5805
  // Hour [0-11]
5806
5806
  K: function(e, t, n) {
5807
5807
  const a = e.getHours() % 12;
5808
- return t === "Ko" ? n.ordinalNumber(a, { unit: "hour" }) : ye(a, t.length);
5808
+ return t === "Ko" ? n.ordinalNumber(a, { unit: "hour" }) : pe(a, t.length);
5809
5809
  },
5810
5810
  // Hour [1-24]
5811
5811
  k: function(e, t, n) {
5812
5812
  let a = e.getHours();
5813
- return a === 0 && (a = 24), t === "ko" ? n.ordinalNumber(a, { unit: "hour" }) : ye(a, t.length);
5813
+ return a === 0 && (a = 24), t === "ko" ? n.ordinalNumber(a, { unit: "hour" }) : pe(a, t.length);
5814
5814
  },
5815
5815
  // Minute
5816
5816
  m: function(e, t, n) {
@@ -5905,22 +5905,22 @@ const Wn = {
5905
5905
  // Seconds timestamp
5906
5906
  t: function(e, t, n) {
5907
5907
  const a = Math.trunc(+e / 1e3);
5908
- return ye(a, t.length);
5908
+ return pe(a, t.length);
5909
5909
  },
5910
5910
  // Milliseconds timestamp
5911
5911
  T: function(e, t, n) {
5912
- return ye(+e, t.length);
5912
+ return pe(+e, t.length);
5913
5913
  }
5914
5914
  };
5915
5915
  function Qc(e, t = "") {
5916
5916
  const n = e > 0 ? "-" : "+", a = Math.abs(e), r = Math.trunc(a / 60), i = a % 60;
5917
- return i === 0 ? n + String(r) : n + String(r) + t + ye(i, 2);
5917
+ return i === 0 ? n + String(r) : n + String(r) + t + pe(i, 2);
5918
5918
  }
5919
5919
  function Jc(e, t) {
5920
- return e % 60 === 0 ? (e > 0 ? "-" : "+") + ye(Math.abs(e) / 60, 2) : ra(e, t);
5920
+ return e % 60 === 0 ? (e > 0 ? "-" : "+") + pe(Math.abs(e) / 60, 2) : ra(e, t);
5921
5921
  }
5922
5922
  function ra(e, t = "") {
5923
- const n = e > 0 ? "-" : "+", a = Math.abs(e), r = ye(Math.trunc(a / 60), 2), i = ye(a % 60, 2);
5923
+ const n = e > 0 ? "-" : "+", a = Math.abs(e), r = pe(Math.trunc(a / 60), 2), i = pe(a % 60, 2);
5924
5924
  return n + r + t + i;
5925
5925
  }
5926
5926
  const Uc = (e, t) => {
@@ -41730,7 +41730,7 @@ function Ame(e) {
41730
41730
  t.classNames
41731
41731
  ]);
41732
41732
  t.today || (t = { ...t, today: o.today() });
41733
- const { captionLayout: d, mode: u, navLayout: c, numberOfMonths: h = 1, onDayBlur: m, onDayClick: g, onDayFocus: f, onDayKeyDown: b, onDayMouseEnter: v, onDayMouseLeave: P, onNextClick: M, onPrevClick: D, showWeekNumber: W, styles: x } = t, { formatCaption: _, formatDay: C, formatMonthDropdown: j, formatWeekNumber: O, formatWeekNumberHeader: T, formatWeekdayName: N, formatYearDropdown: I } = r, H = Wme(t, o), { days: Y, months: V, navStart: B, navEnd: F, previousMonth: A, nextMonth: X, goToMonth: Z } = H, pe = Yhe(Y, t, B, F, o), { isSelected: Fe, select: xe, selected: Ke } = zme(t, o) ?? {}, { blur: Re, focused: ut, isFocusTarget: Jn, moveFocus: tt, setFocused: Ft } = Sme(t, H, pe, Fe ?? (() => !1), o), { labelDayButton: Si, labelGridcell: Ci, labelGrid: Un, labelMonthDropdown: Ni, labelNav: Ti, labelPrevious: Ys, labelNext: Xs, labelWeekday: Bs, labelWeekNumber: Ea, labelWeekNumberHeader: lv, labelYearDropdown: dv } = i, uv = Oe(() => cme(o, t.ISOWeek, t.broadcastCalendar, t.today), [o, t.ISOWeek, t.broadcastCalendar, t.today]), rc = u !== void 0 || g !== void 0, Gs = lt(() => {
41733
+ const { captionLayout: d, mode: u, navLayout: c, numberOfMonths: h = 1, onDayBlur: m, onDayClick: g, onDayFocus: f, onDayKeyDown: b, onDayMouseEnter: v, onDayMouseLeave: P, onNextClick: M, onPrevClick: D, showWeekNumber: W, styles: x } = t, { formatCaption: _, formatDay: C, formatMonthDropdown: j, formatWeekNumber: O, formatWeekNumberHeader: T, formatWeekdayName: N, formatYearDropdown: I } = r, H = Wme(t, o), { days: Y, months: V, navStart: B, navEnd: F, previousMonth: A, nextMonth: X, goToMonth: Z } = H, be = Yhe(Y, t, B, F, o), { isSelected: Fe, select: xe, selected: Ke } = zme(t, o) ?? {}, { blur: Re, focused: ut, isFocusTarget: Jn, moveFocus: tt, setFocused: Ft } = Sme(t, H, be, Fe ?? (() => !1), o), { labelDayButton: Si, labelGridcell: Ci, labelGrid: Un, labelMonthDropdown: Ni, labelNav: Ti, labelPrevious: Ys, labelNext: Xs, labelWeekday: Bs, labelWeekNumber: Ea, labelWeekNumberHeader: lv, labelYearDropdown: dv } = i, uv = Oe(() => cme(o, t.ISOWeek, t.broadcastCalendar, t.today), [o, t.ISOWeek, t.broadcastCalendar, t.today]), rc = u !== void 0 || g !== void 0, Gs = lt(() => {
41734
41734
  A && (Z(A), D == null || D(A));
41735
41735
  }, [A, Z, D]), qs = lt(() => {
41736
41736
  X && (Z(X), M == null || M(X));
@@ -41792,7 +41792,7 @@ function Ame(e) {
41792
41792
  nextMonth: X,
41793
41793
  previousMonth: A,
41794
41794
  goToMonth: Z,
41795
- getModifiers: pe,
41795
+ getModifiers: be,
41796
41796
  components: a,
41797
41797
  classNames: l,
41798
41798
  styles: x,
@@ -41867,7 +41867,7 @@ function Ame(e) {
41867
41867
  locale: s
41868
41868
  }), className: l[q.WeekNumber], scope: "row", role: "rowheader" }, O(Q.weekNumber, o)),
41869
41869
  Q.days.map((ce) => {
41870
- const { date: kt } = ce, se = pe(ce);
41870
+ const { date: kt } = ce, se = be(ce);
41871
41871
  if (se[We.focused] = !se.hidden && !!(ut != null && ut.isEqualTo(ce)), se[zt.selected] = (Fe == null ? void 0 : Fe(kt)) || se.selected, cs(Ke)) {
41872
41872
  const { from: Ks, to: Qs } = Ke;
41873
41873
  se[zt.range_start] = !!(Ks && Qs && o.isSameDay(kt, Ks)), se[zt.range_end] = !!(Ks && Qs && o.isSameDay(kt, Qs)), se[zt.range_middle] = gn(Ke, kt, !0, o);
@@ -49633,11 +49633,11 @@ function J(e, t) {
49633
49633
  return typeof e > "u" ? t : e;
49634
49634
  }
49635
49635
  const HPe = (e, t) => typeof e == "string" && e.endsWith("%") ? parseFloat(e) / 100 : +e / t, vy = (e, t) => typeof e == "string" && e.endsWith("%") ? parseFloat(e) / 100 * t : +e;
49636
- function ge(e, t, n) {
49636
+ function fe(e, t, n) {
49637
49637
  if (e && typeof e.call == "function")
49638
49638
  return e.apply(n, t);
49639
49639
  }
49640
- function be(e, t, n, a) {
49640
+ function ge(e, t, n, a) {
49641
49641
  let r, i, o;
49642
49642
  if (Pe(e))
49643
49643
  for (i = e.length, r = 0; r < i; r++)
@@ -52877,7 +52877,7 @@ var jt = {
52877
52877
  if (!e)
52878
52878
  return;
52879
52879
  const r = qe(e.options.layout.padding), i = Math.max(t - r.width, 0), o = Math.max(n - r.height, 0), s = AMe(e.boxes), l = s.vertical, d = s.horizontal;
52880
- be(e.boxes, (f) => {
52880
+ ge(e.boxes, (f) => {
52881
52881
  typeof f.beforeLayout == "function" && f.beforeLayout();
52882
52882
  });
52883
52883
  const u = l.reduce((f, b) => b.box.options && b.box.options.display === !1 ? f : f + 1, 0) || 1, c = Object.freeze({
@@ -52904,7 +52904,7 @@ var jt = {
52904
52904
  bottom: m.top + m.h,
52905
52905
  height: m.h,
52906
52906
  width: m.w
52907
- }, be(s.chartArea, (f) => {
52907
+ }, ge(s.chartArea, (f) => {
52908
52908
  const b = f.box;
52909
52909
  Object.assign(b, e.chartArea), b.update(m.w, m.h, {
52910
52910
  left: 0,
@@ -53230,7 +53230,7 @@ function lke(e, t, n) {
53230
53230
  return l;
53231
53231
  }
53232
53232
  function dke(e, t) {
53233
- be(e, (n) => {
53233
+ ge(e, (n) => {
53234
53234
  const a = n.gc, r = a.length / 2;
53235
53235
  let i;
53236
53236
  if (r > t) {
@@ -53351,7 +53351,7 @@ class Ta extends et {
53351
53351
  this._cache = {}, this._dataLimitsCached = !1;
53352
53352
  }
53353
53353
  beforeUpdate() {
53354
- ge(this.options.beforeUpdate, [
53354
+ fe(this.options.beforeUpdate, [
53355
53355
  this
53356
53356
  ]);
53357
53357
  }
@@ -53371,12 +53371,12 @@ class Ta extends et {
53371
53371
  this.isHorizontal() ? (n = this.left, a = this.right) : (n = this.top, a = this.bottom, t = !t), this._startPixel = n, this._endPixel = a, this._reversePixels = t, this._length = a - n, this._alignToPixels = this.options.alignToPixels;
53372
53372
  }
53373
53373
  afterUpdate() {
53374
- ge(this.options.afterUpdate, [
53374
+ fe(this.options.afterUpdate, [
53375
53375
  this
53376
53376
  ]);
53377
53377
  }
53378
53378
  beforeSetDimensions() {
53379
- ge(this.options.beforeSetDimensions, [
53379
+ fe(this.options.beforeSetDimensions, [
53380
53380
  this
53381
53381
  ]);
53382
53382
  }
@@ -53384,12 +53384,12 @@ class Ta extends et {
53384
53384
  this.isHorizontal() ? (this.width = this.maxWidth, this.left = 0, this.right = this.width) : (this.height = this.maxHeight, this.top = 0, this.bottom = this.height), this.paddingLeft = 0, this.paddingTop = 0, this.paddingRight = 0, this.paddingBottom = 0;
53385
53385
  }
53386
53386
  afterSetDimensions() {
53387
- ge(this.options.afterSetDimensions, [
53387
+ fe(this.options.afterSetDimensions, [
53388
53388
  this
53389
53389
  ]);
53390
53390
  }
53391
53391
  _callHooks(t) {
53392
- this.chart.notifyPlugins(t, this.getContext()), ge(this.options[t], [
53392
+ this.chart.notifyPlugins(t, this.getContext()), fe(this.options[t], [
53393
53393
  this
53394
53394
  ]);
53395
53395
  }
@@ -53411,7 +53411,7 @@ class Ta extends et {
53411
53411
  this._callHooks("afterBuildTicks");
53412
53412
  }
53413
53413
  beforeTickToLabelConversion() {
53414
- ge(this.options.beforeTickToLabelConversion, [
53414
+ fe(this.options.beforeTickToLabelConversion, [
53415
53415
  this
53416
53416
  ]);
53417
53417
  }
@@ -53419,19 +53419,19 @@ class Ta extends et {
53419
53419
  const n = this.options.ticks;
53420
53420
  let a, r, i;
53421
53421
  for (a = 0, r = t.length; a < r; a++)
53422
- i = t[a], i.label = ge(n.callback, [
53422
+ i = t[a], i.label = fe(n.callback, [
53423
53423
  i.value,
53424
53424
  a,
53425
53425
  t
53426
53426
  ], this);
53427
53427
  }
53428
53428
  afterTickToLabelConversion() {
53429
- ge(this.options.afterTickToLabelConversion, [
53429
+ fe(this.options.afterTickToLabelConversion, [
53430
53430
  this
53431
53431
  ]);
53432
53432
  }
53433
53433
  beforeCalculateLabelRotation() {
53434
- ge(this.options.beforeCalculateLabelRotation, [
53434
+ fe(this.options.beforeCalculateLabelRotation, [
53435
53435
  this
53436
53436
  ]);
53437
53437
  }
@@ -53446,14 +53446,14 @@ class Ta extends et {
53446
53446
  s = t.offset ? this.maxWidth / a : m / (a - 1), c + 6 > s && (s = m / (a - (t.offset ? 0.5 : 1)), l = this.maxHeight - _r(t.grid) - n.padding - vm(t.title, this.chart.options.font), d = Math.sqrt(c * c + h * h), o = ky(Math.min(Math.asin(Ue((u.highest.height + 6) / s, -1, 1)), Math.asin(Ue(l / d, -1, 1)) - Math.asin(Ue(h / d, -1, 1)))), o = Math.max(r, Math.min(i, o))), this.labelRotation = o;
53447
53447
  }
53448
53448
  afterCalculateLabelRotation() {
53449
- ge(this.options.afterCalculateLabelRotation, [
53449
+ fe(this.options.afterCalculateLabelRotation, [
53450
53450
  this
53451
53451
  ]);
53452
53452
  }
53453
53453
  afterAutoSkip() {
53454
53454
  }
53455
53455
  beforeFit() {
53456
- ge(this.options.beforeFit, [
53456
+ fe(this.options.beforeFit, [
53457
53457
  this
53458
53458
  ]);
53459
53459
  }
@@ -53493,7 +53493,7 @@ class Ta extends et {
53493
53493
  this._margins && (this._margins.left = Math.max(this.paddingLeft, this._margins.left), this._margins.top = Math.max(this.paddingTop, this._margins.top), this._margins.right = Math.max(this.paddingRight, this._margins.right), this._margins.bottom = Math.max(this.paddingBottom, this._margins.bottom));
53494
53494
  }
53495
53495
  afterFit() {
53496
- ge(this.options.afterFit, [
53496
+ fe(this.options.afterFit, [
53497
53497
  this
53498
53498
  ]);
53499
53499
  }
@@ -53624,7 +53624,7 @@ class Ta extends et {
53624
53624
  }
53625
53625
  const H = J(r.ticks.maxTicksLimit, c), Y = Math.max(1, Math.ceil(c / H));
53626
53626
  for (M = 0; M < c; M += Y) {
53627
- const V = this.getContext(M), B = i.setContext(V), F = s.setContext(V), A = B.lineWidth, X = B.color, Z = F.dash || [], pe = F.dashOffset, Fe = B.tickWidth, xe = B.tickColor, Ke = B.tickBorderDash || [], Re = B.tickBorderDashOffset;
53627
+ const V = this.getContext(M), B = i.setContext(V), F = s.setContext(V), A = B.lineWidth, X = B.color, Z = F.dash || [], be = F.dashOffset, Fe = B.tickWidth, xe = B.tickColor, Ke = B.tickBorderDash || [], Re = B.tickBorderDashOffset;
53628
53628
  D = lke(this, M, l), D !== void 0 && (W = ea(a, D, A), d ? x = C = O = N = W : _ = j = T = I = W, m.push({
53629
53629
  tx1: x,
53630
53630
  ty1: _,
@@ -53637,7 +53637,7 @@ class Ta extends et {
53637
53637
  width: A,
53638
53638
  color: X,
53639
53639
  borderDash: Z,
53640
- borderDashOffset: pe,
53640
+ borderDashOffset: be,
53641
53641
  tickWidth: Fe,
53642
53642
  tickColor: xe,
53643
53643
  tickBorderDash: Ke,
@@ -53687,8 +53687,8 @@ class Ta extends et {
53687
53687
  o ? (W = C, _ === "inner" && (v === P - 1 ? X = this.options.reverse ? "left" : "right" : v === 0 ? X = this.options.reverse ? "right" : "left" : X = "center"), r === "top" ? d === "near" || f !== 0 ? N = -T * O + O / 2 : d === "center" ? N = -H.highest.height / 2 - V * O + O : N = -H.highest.height + O / 2 : d === "near" || f !== 0 ? N = O / 2 : d === "center" ? N = H.highest.height / 2 - V * O : N = H.highest.height - T * O, c && (N *= -1), f !== 0 && !Y.showLabelBackdrop && (W += O / 2 * Math.sin(f))) : (x = C, N = (1 - T) * O / 2);
53688
53688
  let Z;
53689
53689
  if (Y.showLabelBackdrop) {
53690
- const pe = qe(Y.backdropPadding), Fe = H.heights[v], xe = H.widths[v];
53691
- let Ke = N - pe.top, Re = 0 - pe.left;
53690
+ const be = qe(Y.backdropPadding), Fe = H.heights[v], xe = H.widths[v];
53691
+ let Ke = N - be.top, Re = 0 - be.left;
53692
53692
  switch (I) {
53693
53693
  case "middle":
53694
53694
  Ke -= Fe / 2;
@@ -53711,8 +53711,8 @@ class Ta extends et {
53711
53711
  Z = {
53712
53712
  left: Re,
53713
53713
  top: Ke,
53714
- width: xe + pe.width,
53715
- height: Fe + pe.height,
53714
+ width: xe + be.width,
53715
+ height: Fe + be.height,
53716
53716
  color: Y.backdropColor
53717
53717
  };
53718
53718
  }
@@ -54000,7 +54000,7 @@ class pke {
54000
54000
  ...n
54001
54001
  ].forEach((r) => {
54002
54002
  const i = a || this._getRegistryForType(r);
54003
- a || i.isForType(r) || i === this.plugins && r.id ? this._exec(t, i, r) : be(r, (o) => {
54003
+ a || i.isForType(r) || i === this.plugins && r.id ? this._exec(t, i, r) : ge(r, (o) => {
54004
54004
  const s = a || this._getRegistryForType(o);
54005
54005
  this._exec(t, s, o);
54006
54006
  });
@@ -54008,7 +54008,7 @@ class pke {
54008
54008
  }
54009
54009
  _exec(t, n, a) {
54010
54010
  const r = Su(t);
54011
- ge(a["before" + r], [], a), n[t](a), ge(a["after" + r], [], a);
54011
+ fe(a["before" + r], [], a), n[t](a), fe(a["after" + r], [], a);
54012
54012
  }
54013
54013
  _getRegistryForType(t) {
54014
54014
  for (let n = 0; n < this._typedRegistries.length; n++) {
@@ -54044,7 +54044,7 @@ class yke {
54044
54044
  r,
54045
54045
  i.options
54046
54046
  ];
54047
- if (ge(s, l, o) === !1 && r.cancelable)
54047
+ if (fe(s, l, o) === !1 && r.cancelable)
54048
54048
  return !1;
54049
54049
  }
54050
54050
  return !0;
@@ -54375,13 +54375,13 @@ function Wm(e, t) {
54375
54375
  }
54376
54376
  function Dm(e) {
54377
54377
  const t = e.chart, n = t.options.animation;
54378
- t.notifyPlugins("afterRender"), ge(n && n.onComplete, [
54378
+ t.notifyPlugins("afterRender"), fe(n && n.onComplete, [
54379
54379
  e
54380
54380
  ], t);
54381
54381
  }
54382
54382
  function Oke(e) {
54383
54383
  const t = e.chart, n = t.options.animation;
54384
- ge(n && n.onProgress, [
54384
+ fe(n && n.onProgress, [
54385
54385
  e
54386
54386
  ], t);
54387
54387
  }
@@ -54464,14 +54464,14 @@ let nn = (Dn = class {
54464
54464
  const a = this.options, r = this.canvas, i = a.maintainAspectRatio && this.aspectRatio, o = this.platform.getMaximumSize(r, t, n, i), s = a.devicePixelRatio || this.platform.getDevicePixelRatio(), l = this.width ? "resize" : "attach";
54465
54465
  this.width = o.width, this.height = o.height, this._aspectRatio = this.aspectRatio, Jh(this, s, !0) && (this.notifyPlugins("resize", {
54466
54466
  size: o
54467
- }), ge(a.onResize, [
54467
+ }), fe(a.onResize, [
54468
54468
  this,
54469
54469
  o
54470
54470
  ], this), this.attached && this._doResize(l) && this.render());
54471
54471
  }
54472
54472
  ensureScalesHaveIDs() {
54473
54473
  const n = this.options.scales || {};
54474
- be(n, (a, r) => {
54474
+ ge(n, (a, r) => {
54475
54475
  a.id = r;
54476
54476
  });
54477
54477
  }
@@ -54485,7 +54485,7 @@ let nn = (Dn = class {
54485
54485
  dposition: d ? "chartArea" : u ? "bottom" : "left",
54486
54486
  dtype: d ? "radialLinear" : u ? "category" : "linear"
54487
54487
  };
54488
- }))), be(i, (o) => {
54488
+ }))), ge(i, (o) => {
54489
54489
  const s = o.options, l = s.id, d = md(l, s), u = J(s.type, o.dtype);
54490
54490
  (s.position === void 0 || xm(s.position, d) !== xm(o.dposition)) && (s.position = o.dposition), r[l] = !0;
54491
54491
  let c = null;
@@ -54501,9 +54501,9 @@ let nn = (Dn = class {
54501
54501
  }), a[c.id] = c;
54502
54502
  }
54503
54503
  c.init(s, t);
54504
- }), be(r, (o, s) => {
54504
+ }), ge(r, (o, s) => {
54505
54505
  o || delete a[s];
54506
- }), be(a, (o) => {
54506
+ }), ge(a, (o) => {
54507
54507
  jt.configure(this, o, o.options), jt.addBox(this, o);
54508
54508
  });
54509
54509
  }
@@ -54542,7 +54542,7 @@ let nn = (Dn = class {
54542
54542
  return this._updateMetasets(), t;
54543
54543
  }
54544
54544
  _resetElements() {
54545
- be(this.data.datasets, (t, n) => {
54545
+ ge(this.data.datasets, (t, n) => {
54546
54546
  this.getDatasetMeta(n).controller.reset();
54547
54547
  }, this);
54548
54548
  }
@@ -54565,7 +54565,7 @@ let nn = (Dn = class {
54565
54565
  const { controller: c } = this.getDatasetMeta(d), h = !r && i.indexOf(c) === -1;
54566
54566
  c.buildOrUpdateElements(h), o = Math.max(+c.getMaxOverflow(), o);
54567
54567
  }
54568
- o = this._minPadding = a.layout.autoPadding ? o : 0, this._updateLayout(o), r || be(i, (d) => {
54568
+ o = this._minPadding = a.layout.autoPadding ? o : 0, this._updateLayout(o), r || ge(i, (d) => {
54569
54569
  d.reset();
54570
54570
  }), this._updateDatasets(t), this.notifyPlugins("afterUpdate", {
54571
54571
  mode: t
@@ -54574,7 +54574,7 @@ let nn = (Dn = class {
54574
54574
  l ? this._eventHandler(l, !0) : s.length && this._updateHoverStyles(s, s, !0), this.render();
54575
54575
  }
54576
54576
  _updateScales() {
54577
- be(this.scales, (t) => {
54577
+ ge(this.scales, (t) => {
54578
54578
  jt.removeBox(this, t);
54579
54579
  }), this.ensureScalesHaveIDs(), this.buildOrUpdateScales();
54580
54580
  }
@@ -54611,7 +54611,7 @@ let nn = (Dn = class {
54611
54611
  return;
54612
54612
  jt.update(this, this.width, this.height, t);
54613
54613
  const n = this.chartArea, a = n.width <= 0 || n.height <= 0;
54614
- this._layers = [], be(this.boxes, (r) => {
54614
+ this._layers = [], ge(this.boxes, (r) => {
54615
54615
  a && r.position === "chartArea" || (r.configure && r.configure(), this._layers.push(...r._layers()));
54616
54616
  }, this), this._layers.forEach((r, i) => {
54617
54617
  r._idx = i;
@@ -54785,7 +54785,7 @@ let nn = (Dn = class {
54785
54785
  }, r = (i, o, s) => {
54786
54786
  i.offsetX = o, i.offsetY = s, this._eventHandler(i);
54787
54787
  };
54788
- be(this.options.events, (i) => a(i, r));
54788
+ ge(this.options.events, (i) => a(i, r));
54789
54789
  }
54790
54790
  bindResponsiveEvents() {
54791
54791
  this._responsiveListeners || (this._responsiveListeners = {});
@@ -54805,9 +54805,9 @@ let nn = (Dn = class {
54805
54805
  }, n.isAttached(this.canvas) ? s() : o();
54806
54806
  }
54807
54807
  unbindEvents() {
54808
- be(this._listeners, (t, n) => {
54808
+ ge(this._listeners, (t, n) => {
54809
54809
  this.platform.removeEventListener(this, n, t);
54810
- }), this._listeners = {}, be(this._responsiveListeners, (t, n) => {
54810
+ }), this._listeners = {}, ge(this._responsiveListeners, (t, n) => {
54811
54811
  this.platform.removeEventListener(this, n, t);
54812
54812
  }), this._responsiveListeners = void 0;
54813
54813
  }
@@ -54860,11 +54860,11 @@ let nn = (Dn = class {
54860
54860
  }
54861
54861
  _handleEvent(t, n, a) {
54862
54862
  const { _active: r = [], options: i } = this, o = n, s = this._getActiveElements(t, r, a, o), l = YPe(t), d = zke(t, this._lastEvent, a, l);
54863
- a && (this._lastEvent = null, ge(i.onHover, [
54863
+ a && (this._lastEvent = null, fe(i.onHover, [
54864
54864
  t,
54865
54865
  s,
54866
54866
  this
54867
- ], this), l && ge(i.onClick, [
54867
+ ], this), l && fe(i.onClick, [
54868
54868
  t,
54869
54869
  s,
54870
54870
  this
@@ -54882,7 +54882,7 @@ let nn = (Dn = class {
54882
54882
  }
54883
54883
  }, E(Dn, "defaults", Se), E(Dn, "instances", po), E(Dn, "overrides", Ma), E(Dn, "registry", Yt), E(Dn, "version", Tke), E(Dn, "getChart", _m), Dn);
54884
54884
  function Sm() {
54885
- return be(nn.instances, (e) => e._plugins.invalidate());
54885
+ return ge(nn.instances, (e) => e._plugins.invalidate());
54886
54886
  }
54887
54887
  function Ake(e, t, n) {
54888
54888
  const { startAngle: a, x: r, y: i, outerRadius: o, innerRadius: s, options: l } = t, { borderWidth: d, borderJoinStyle: u } = l, c = Math.min(d / o, Wt(a - n));
@@ -55829,7 +55829,7 @@ class Am extends et {
55829
55829
  }
55830
55830
  buildLabels() {
55831
55831
  const t = this.options.labels || {};
55832
- let n = ge(t.generateLabels, [
55832
+ let n = fe(t.generateLabels, [
55833
55833
  this.chart
55834
55834
  ], this) || [];
55835
55835
  t.filter && (n = n.filter((a) => t.filter(a, this.chart.data))), t.sort && (n = n.sort((a, r) => t.sort(a, r, this.chart.data))), this.options.reverse && n.reverse(), this.legendItems = n;
@@ -55999,16 +55999,16 @@ class Am extends et {
55999
55999
  const a = this._getLegendItemAt(t.x, t.y);
56000
56000
  if (t.type === "mousemove" || t.type === "mouseout") {
56001
56001
  const r = this._hoveredItem, i = k0e(r, a);
56002
- r && !i && ge(n.onLeave, [
56002
+ r && !i && fe(n.onLeave, [
56003
56003
  t,
56004
56004
  r,
56005
56005
  this
56006
- ], this), this._hoveredItem = a, a && !i && ge(n.onHover, [
56006
+ ], this), this._hoveredItem = a, a && !i && fe(n.onHover, [
56007
56007
  t,
56008
56008
  a,
56009
56009
  this
56010
56010
  ], this);
56011
- } else a && ge(n.onClick, [
56011
+ } else a && fe(n.onClick, [
56012
56012
  t,
56013
56013
  a,
56014
56014
  this
@@ -56285,9 +56285,9 @@ function Im(e, t) {
56285
56285
  const M = function(D) {
56286
56286
  b = Math.max(b, n.measureText(D).width + P);
56287
56287
  };
56288
- return n.save(), n.font = d.string, be(e.title, M), n.font = l.string, be(e.beforeBody.concat(e.afterBody), M), P = t.displayColors ? o + 2 + t.boxPadding : 0, be(a, (D) => {
56289
- be(D.before, M), be(D.lines, M), be(D.after, M);
56290
- }), P = 0, n.font = u.string, be(e.footer, M), n.restore(), b += g.width, {
56288
+ return n.save(), n.font = d.string, ge(e.title, M), n.font = l.string, ge(e.beforeBody.concat(e.afterBody), M), P = t.displayColors ? o + 2 + t.boxPadding : 0, ge(a, (D) => {
56289
+ ge(D.before, M), ge(D.lines, M), ge(D.after, M);
56290
+ }), P = 0, n.font = u.string, ge(e.footer, M), n.restore(), b += g.width, {
56291
56291
  width: b,
56292
56292
  height: f
56293
56293
  };
@@ -56431,7 +56431,7 @@ class bd extends et {
56431
56431
  }
56432
56432
  getBody(t, n) {
56433
56433
  const { callbacks: a } = n, r = [];
56434
- return be(t, (i) => {
56434
+ return ge(t, (i) => {
56435
56435
  const o = {
56436
56436
  before: [],
56437
56437
  lines: [],
@@ -56453,7 +56453,7 @@ class bd extends et {
56453
56453
  let s = [], l, d;
56454
56454
  for (l = 0, d = n.length; l < d; ++l)
56455
56455
  s.push(S0e(this.chart, n[l]));
56456
- return t.filter && (s = s.filter((u, c, h) => t.filter(u, c, h, a))), t.itemSort && (s = s.sort((u, c) => t.itemSort(u, c, a))), be(s, (u) => {
56456
+ return t.filter && (s = s.filter((u, c, h) => t.filter(u, c, h, a))), t.itemSort && (s = s.sort((u, c) => t.itemSort(u, c, a))), ge(s, (u) => {
56457
56457
  const c = Vm(t.callbacks, u);
56458
56458
  r.push(ct(c, "labelColor", this, u)), i.push(ct(c, "labelPointStyle", this, u)), o.push(ct(c, "labelTextColor", this, u));
56459
56459
  }), this.labelColors = r, this.labelPointStyles = i, this.labelTextColors = o, this.dataPoints = s, s;
@@ -56546,12 +56546,12 @@ class bd extends et {
56546
56546
  n.fillText(C, g.x(t.x + m), t.y + h / 2), t.y += h + i;
56547
56547
  }, b = g.textAlign(o);
56548
56548
  let v, P, M, D, W, x, _;
56549
- for (n.textAlign = o, n.textBaseline = "middle", n.font = c.string, t.x = Zi(this, b, a), n.fillStyle = a.bodyColor, be(this.beforeBody, f), m = s && b !== "right" ? o === "center" ? d / 2 + u : d + 2 + u : 0, D = 0, x = r.length; D < x; ++D) {
56550
- for (v = r[D], P = this.labelTextColors[D], n.fillStyle = P, be(v.before, f), M = v.lines, s && M.length && (this._drawColorBox(n, t, D, g, a), h = Math.max(c.lineHeight, l)), W = 0, _ = M.length; W < _; ++W)
56549
+ for (n.textAlign = o, n.textBaseline = "middle", n.font = c.string, t.x = Zi(this, b, a), n.fillStyle = a.bodyColor, ge(this.beforeBody, f), m = s && b !== "right" ? o === "center" ? d / 2 + u : d + 2 + u : 0, D = 0, x = r.length; D < x; ++D) {
56550
+ for (v = r[D], P = this.labelTextColors[D], n.fillStyle = P, ge(v.before, f), M = v.lines, s && M.length && (this._drawColorBox(n, t, D, g, a), h = Math.max(c.lineHeight, l)), W = 0, _ = M.length; W < _; ++W)
56551
56551
  f(M[W]), h = c.lineHeight;
56552
- be(v.after, f);
56552
+ ge(v.after, f);
56553
56553
  }
56554
- m = 0, h = c.lineHeight, be(this.afterBody, f), t.y -= i;
56554
+ m = 0, h = c.lineHeight, ge(this.afterBody, f), t.y -= i;
56555
56555
  }
56556
56556
  drawFooter(t, n, a) {
56557
56557
  const r = this.footer, i = r.length;
@@ -57223,7 +57223,7 @@ class Jo extends Ta {
57223
57223
  _tickFormatFunction(t, n, a, r) {
57224
57224
  const i = this.options, o = i.ticks.callback;
57225
57225
  if (o)
57226
- return ge(o, [
57226
+ return fe(o, [
57227
57227
  t,
57228
57228
  n,
57229
57229
  a
@@ -57735,7 +57735,7 @@ on(pw.prototype, {
57735
57735
  },
57736
57736
  update: function(e) {
57737
57737
  var t = this, n = null, a = null, r = t._index, i = t._config, o, s, l, d = $e([i.display, !0], e, r);
57738
- d && (o = e.dataset.data[r], s = J(ge(i.formatter, [o, e]), o), l = oe(s) ? [] : qr.toTextLines(s), l.length && (n = t._modelize(d, l, i, e), a = t$e(n))), t._model = n, t._rects = a;
57738
+ d && (o = e.dataset.data[r], s = J(fe(i.formatter, [o, e]), o), l = oe(s) ? [] : qr.toTextLines(s), l.length && (n = t._modelize(d, l, i, e), a = t$e(n))), t._model = n, t._rects = a;
57739
57739
  },
57740
57740
  geometry: function() {
57741
57741
  return this._rects ? this._rects.frame : {};
@@ -57960,7 +57960,7 @@ function g$e(e, t) {
57960
57960
  { _key: s }
57961
57961
  ]));
57962
57962
  }) : r.push(t), a = r.reduce(function(s, l) {
57963
- return be(l.listeners || {}, function(d, u) {
57963
+ return ge(l.listeners || {}, function(d, u) {
57964
57964
  s[u] = s[u] || {}, s[u][l._key || vw] = d;
57965
57965
  }), delete l.listeners, s;
57966
57966
  }, {}), {
@@ -57971,7 +57971,7 @@ function g$e(e, t) {
57971
57971
  function pd(e, t, n, a) {
57972
57972
  if (t) {
57973
57973
  var r = n.$context, i = n.$groups, o;
57974
- t[i._set] && (o = t[i._set][i._key], o && ge(o, [r, a]) === !0 && (e[mt]._dirty = !0, n.update(r)));
57974
+ t[i._set] && (o = t[i._set][i._key], o && fe(o, [r, a]) === !0 && (e[mt]._dirty = !0, n.update(r)));
57975
57975
  }
57976
57976
  }
57977
57977
  function b$e(e, t, n, a, r) {
@@ -58242,7 +58242,7 @@ function Tw(e, t) {
58242
58242
  return W$e[n](e);
58243
58243
  }
58244
58244
  function _$e(e, t, n) {
58245
- const a = ge(n.init, [{ chart: e, properties: t, options: n }]);
58245
+ const a = fe(n.init, [{ chart: e, properties: t, options: n }]);
58246
58246
  if (a === !0)
58247
58247
  return Tw(t, n);
58248
58248
  if (U(a))
@@ -58630,7 +58630,7 @@ function nxe(e, t, n) {
58630
58630
  return i;
58631
58631
  }
58632
58632
  function Rw(e, t, n) {
58633
- return ge(e, [t.$context, n]) === !0;
58633
+ return fe(e, [t.$context, n]) === !0;
58634
58634
  }
58635
58635
  const Uo = ["afterDraw", "beforeDraw"];
58636
58636
  function axe(e, t, n) {
@@ -58644,7 +58644,7 @@ function axe(e, t, n) {
58644
58644
  function lf(e, t, n) {
58645
58645
  if (e.hooked) {
58646
58646
  const a = t.options[n] || e.hooks[n];
58647
- return ge(a, [t.$context]);
58647
+ return fe(a, [t.$context]);
58648
58648
  }
58649
58649
  }
58650
58650
  function rxe(e, t, n) {
@@ -59932,46 +59932,45 @@ function dWe(e) {
59932
59932
  );
59933
59933
  return /* @__PURE__ */ L.createElement(o, aWe({ ref: u }, l), s);
59934
59934
  }
59935
- const uWe = "_tableFullContainer_iexl1_1", cWe = "_tableContainer_iexl1_7", hWe = "_tableAdjustedContainer_iexl1_19", mWe = "_tableContainerScroll_iexl1_32", fWe = "_fullWidth_iexl1_38", gWe = "_table_iexl1_1", bWe = "_fixedLayout_iexl1_52", pWe = "_boltCell_iexl1_131", yWe = "_mutedCell_iexl1_137", wWe = "_stickyFirstColumn_iexl1_143", vWe = "_stickyLastRow_iexl1_168", PWe = "_tableLastRow_iexl1_188", fe = {
59935
+ const uWe = "_tableFullContainer_6ljld_1", cWe = "_tableContainer_6ljld_7", hWe = "_tableAdjustedContainer_6ljld_19", mWe = "_tableContainerScroll_6ljld_32", fWe = "_fullWidth_6ljld_38", gWe = "_table_6ljld_1", bWe = "_boltCell_6ljld_127", pWe = "_mutedCell_6ljld_133", yWe = "_stickyFirstColumn_6ljld_139", wWe = "_stickyLastRow_6ljld_164", vWe = "_tableLastRow_6ljld_184", ye = {
59936
59936
  tableFullContainer: uWe,
59937
59937
  tableContainer: cWe,
59938
59938
  tableAdjustedContainer: hWe,
59939
59939
  tableContainerScroll: mWe,
59940
59940
  fullWidth: fWe,
59941
59941
  table: gWe,
59942
- fixedLayout: bWe,
59943
- boltCell: pWe,
59944
- mutedCell: yWe,
59945
- stickyFirstColumn: wWe,
59946
- stickyLastRow: vWe,
59947
- tableLastRow: PWe
59948
- }, MWe = "_tablePagination_1wpsk_1", kWe = "_tablePaginationCentral_1wpsk_11", $We = "_tablePaginationCentralButtons_1wpsk_23", io = {
59949
- tablePagination: MWe,
59950
- tablePaginationCentral: kWe,
59951
- tablePaginationCentralButtons: $We
59952
- }, xWe = "_tableHeader_1l18e_1", WWe = "_tableHeaderCell_1l18e_1", xf = {
59953
- tableHeader: xWe,
59954
- tableHeaderCell: WWe
59955
- }, DWe = "_copyButton_81m9v_1", _We = "_leftAlign_81m9v_9", SWe = "_tableBody_81m9v_14", wo = {
59956
- copyButton: DWe,
59957
- leftAlign: _We,
59958
- tableBody: SWe
59942
+ boltCell: bWe,
59943
+ mutedCell: pWe,
59944
+ stickyFirstColumn: yWe,
59945
+ stickyLastRow: wWe,
59946
+ tableLastRow: vWe
59947
+ }, PWe = "_tablePagination_1wpsk_1", MWe = "_tablePaginationCentral_1wpsk_11", kWe = "_tablePaginationCentralButtons_1wpsk_23", io = {
59948
+ tablePagination: PWe,
59949
+ tablePaginationCentral: MWe,
59950
+ tablePaginationCentralButtons: kWe
59951
+ }, $We = "_tableHeader_xizcd_1", xWe = "_tableHeaderCell_xizcd_1", xf = {
59952
+ tableHeader: $We,
59953
+ tableHeaderCell: xWe
59954
+ }, WWe = "_copyButton_81y2e_1", DWe = "_leftAlign_81y2e_9", _We = "_tableBody_81y2e_14", wo = {
59955
+ copyButton: WWe,
59956
+ leftAlign: DWe,
59957
+ tableBody: _We
59959
59958
  };
59960
- var ODe = () => /* @__PURE__ */ $.jsx("div", { className: HP.skeleton }), CWe = L.forwardRef(
59959
+ var jDe = () => /* @__PURE__ */ $.jsx("div", { className: HP.skeleton }), SWe = L.forwardRef(
59961
59960
  ({ children: e, className: t, ...n }, a) => /* @__PURE__ */ $.jsx("div", { className: Me(Po.card, t), ref: a, ...n, children: e })
59962
59961
  );
59963
- CWe.displayName = "Card";
59964
- var EDe = ({ title: e, subtitle: t, rightContent: n }) => !e && !t && !n ? null : /* @__PURE__ */ $.jsxs("div", { className: Po.cardHeader, children: [
59962
+ SWe.displayName = "Card";
59963
+ var ODe = ({ title: e, subtitle: t, rightContent: n }) => !e && !t && !n ? null : /* @__PURE__ */ $.jsxs("div", { className: Po.cardHeader, children: [
59965
59964
  /* @__PURE__ */ $.jsxs("div", { className: Po.leftContent, children: [
59966
59965
  e && /* @__PURE__ */ $.jsx("h1", { children: e }),
59967
59966
  t && /* @__PURE__ */ $.jsx("p", { children: t })
59968
59967
  ] }),
59969
59968
  n
59970
- ] }), NWe = L.forwardRef(
59969
+ ] }), CWe = L.forwardRef(
59971
59970
  ({ children: e }, t) => /* @__PURE__ */ $.jsx("div", { className: Po.cardContent, ref: t, children: e })
59972
59971
  );
59973
- NWe.displayName = "CardContent";
59974
- var zDe = ({
59972
+ CWe.displayName = "CardContent";
59973
+ var EDe = ({
59975
59974
  icon: e,
59976
59975
  title: t,
59977
59976
  message: n,
@@ -60220,7 +60219,7 @@ function ev(e, t = 300) {
60220
60219
  }, t);
60221
60220
  };
60222
60221
  }
60223
- var ADe = ({
60222
+ var zDe = ({
60224
60223
  startIcon: e,
60225
60224
  label: t,
60226
60225
  required: n,
@@ -60345,7 +60344,7 @@ var ADe = ({
60345
60344
  ),
60346
60345
  f && /* @__PURE__ */ $.jsx(_i, { message: f, variant: "error" })
60347
60346
  ] });
60348
- }, IDe = ({
60347
+ }, ADe = ({
60349
60348
  label: e,
60350
60349
  required: t,
60351
60350
  value: n = "",
@@ -60446,7 +60445,7 @@ var ADe = ({
60446
60445
  ),
60447
60446
  g && /* @__PURE__ */ $.jsx(_i, { message: g, variant: "error" })
60448
60447
  ] });
60449
- }, TWe = xa(
60448
+ }, NWe = xa(
60450
60449
  ({
60451
60450
  value: e = null,
60452
60451
  placeholder: t = "Enter number",
@@ -60480,12 +60479,12 @@ var ADe = ({
60480
60479
  );
60481
60480
  }
60482
60481
  );
60483
- TWe.displayName = "NumberField";
60484
- var jWe = 18, OWe = ({
60482
+ NWe.displayName = "NumberField";
60483
+ var TWe = 18, jWe = ({
60485
60484
  orientation: e,
60486
60485
  size: t
60487
60486
  }) => {
60488
- const n = e === "left" ? "rotate(90deg)" : e === "right" ? "rotate(-90deg)" : void 0, a = t === jWe;
60487
+ const n = e === "left" ? "rotate(90deg)" : e === "right" ? "rotate(-90deg)" : void 0, a = t === TWe;
60489
60488
  return /* @__PURE__ */ $.jsx(
60490
60489
  "button",
60491
60490
  {
@@ -60496,17 +60495,17 @@ var jWe = 18, OWe = ({
60496
60495
  children: /* @__PURE__ */ $.jsx(_d, {})
60497
60496
  }
60498
60497
  );
60499
- }, Wf = (e, t) => (e == null ? void 0 : e.getTime()) === (t == null ? void 0 : t.getTime()), EWe = (e, t) => Wf(e == null ? void 0 : e.from, t == null ? void 0 : t.from) && Wf(e == null ? void 0 : e.to, t == null ? void 0 : t.to), zWe = (e) => {
60498
+ }, Wf = (e, t) => (e == null ? void 0 : e.getTime()) === (t == null ? void 0 : t.getTime()), OWe = (e, t) => Wf(e == null ? void 0 : e.from, t == null ? void 0 : t.from) && Wf(e == null ? void 0 : e.to, t == null ? void 0 : t.to), EWe = (e) => {
60500
60499
  const t = new Date(e);
60501
60500
  return t.setUTCHours(23, 59, 59, 999), t;
60502
- }, AWe = ({
60501
+ }, zWe = ({
60503
60502
  value: e,
60504
60503
  numberOfMonths: t = 1,
60505
60504
  locale: n = "en",
60506
60505
  onChange: a
60507
60506
  }) => {
60508
60507
  const [r, i] = Be((e == null ? void 0 : e.from) ?? /* @__PURE__ */ new Date()), o = (d) => {
60509
- d != null && d.to && (d.to = zWe(d.to)), a(d);
60508
+ d != null && d.to && (d.to = EWe(d.to)), a(d);
60510
60509
  }, s = /* @__PURE__ */ new Date(), l = new Date(s.getFullYear() + 2, s.getMonth());
60511
60510
  return /* @__PURE__ */ $.jsx(
60512
60511
  Ame,
@@ -60514,7 +60513,7 @@ var jWe = 18, OWe = ({
60514
60513
  month: r,
60515
60514
  onMonthChange: i,
60516
60515
  numberOfMonths: t,
60517
- components: { Chevron: OWe },
60516
+ components: { Chevron: jWe },
60518
60517
  locale: mPe[n],
60519
60518
  mode: "range",
60520
60519
  navLayout: "around",
@@ -60527,13 +60526,13 @@ var jWe = 18, OWe = ({
60527
60526
  animate: !0
60528
60527
  }
60529
60528
  );
60530
- }, IWe = (e, t) => {
60529
+ }, AWe = (e, t) => {
60531
60530
  if (!e) return;
60532
60531
  if (t || t === "") return t;
60533
60532
  const { from: n, to: a } = e;
60534
60533
  if (!(!n || !a))
60535
60534
  return `${n ? n.toLocaleDateString() : ""} - ${a ? a.toLocaleDateString() : ""}`;
60536
- }, HDe = ({
60535
+ }, IDe = ({
60537
60536
  locale: e,
60538
60537
  displayValue: t,
60539
60538
  value: n,
@@ -60549,7 +60548,7 @@ var jWe = 18, OWe = ({
60549
60548
  submitLabel: h = "Apply",
60550
60549
  onChange: m
60551
60550
  }) => {
60552
- const [g, f] = Be(!1), [b, v] = Be(n), P = IWe(n, t), M = l || !!d, D = () => {
60551
+ const [g, f] = Be(!1), [b, v] = Be(n), P = AWe(n, t), M = l || !!d, D = () => {
60553
60552
  m(b), f(!1);
60554
60553
  }, W = () => {
60555
60554
  v(void 0), m(void 0);
@@ -60559,7 +60558,7 @@ var jWe = 18, OWe = ({
60559
60558
  return;
60560
60559
  }
60561
60560
  v(n), f(!1);
60562
- }, _ = EWe(b, n);
60561
+ }, _ = OWe(b, n);
60563
60562
  return /* @__PURE__ */ $.jsxs("div", { children: [
60564
60563
  /* @__PURE__ */ $.jsx(Fs, { label: r, required: s }),
60565
60564
  /* @__PURE__ */ $.jsx(
@@ -60583,7 +60582,7 @@ var jWe = 18, OWe = ({
60583
60582
  ),
60584
60583
  children: /* @__PURE__ */ $.jsxs(Zu, { fitContent: !0, children: [
60585
60584
  /* @__PURE__ */ $.jsx(
60586
- AWe,
60585
+ zWe,
60587
60586
  {
60588
60587
  locale: e,
60589
60588
  numberOfMonths: c,
@@ -60615,7 +60614,7 @@ var jWe = 18, OWe = ({
60615
60614
  { intersect: !0 },
60616
60615
  !1
60617
60616
  )[0]) == null ? void 0 : r.index : void 0;
60618
- }, HWe = /^-?\d+(\.\d+)?$/, tv = (e) => typeof window > "u" || typeof document > "u" ? "" : getComputedStyle(document.documentElement).getPropertyValue(e).trim(), ae = (e, t) => {
60617
+ }, IWe = /^-?\d+(\.\d+)?$/, tv = (e) => typeof window > "u" || typeof document > "u" ? "" : getComputedStyle(document.documentElement).getPropertyValue(e).trim(), ae = (e, t) => {
60619
60618
  const n = tv(e);
60620
60619
  return n ? (n.charAt(0) === "#" || n.startsWith("rgb(") || n.startsWith("rgba("), n) : t ?? n;
60621
60620
  }, re = (e, t) => {
@@ -60626,9 +60625,9 @@ var jWe = 18, OWe = ({
60626
60625
  return a;
60627
60626
  if (n.slice(-3) === "rem")
60628
60627
  return a * r;
60629
- if (HWe.test(n))
60628
+ if (IWe.test(n))
60630
60629
  return a;
60631
- }, FWe = () => [
60630
+ }, HWe = () => [
60632
60631
  ae("--em-sem-chart-color--1"),
60633
60632
  ae("--em-sem-chart-color--2"),
60634
60633
  ae("--em-sem-chart-color--3"),
@@ -60644,7 +60643,7 @@ var jWe = 18, OWe = ({
60644
60643
  ae("--em-sem-chart-color--4"),
60645
60644
  ae("--em-sem-chart-color--7"),
60646
60645
  ae("--em-sem-chart-color--10")
60647
- ], RWe = () => ({
60646
+ ], FWe = () => ({
60648
60647
  datalabels: {
60649
60648
  backgroundColor: ae("--em-chart-label-background", "#FFF"),
60650
60649
  borderRadius: re("--em-chart-label-border-radius", "624.9375rem"),
@@ -60703,8 +60702,8 @@ var jWe = 18, OWe = ({
60703
60702
  }), av = () => ({
60704
60703
  responsive: !0,
60705
60704
  maintainAspectRatio: !1,
60706
- plugins: RWe()
60707
- }), VWe = () => ({
60705
+ plugins: FWe()
60706
+ }), RWe = () => ({
60708
60707
  datalabels: {
60709
60708
  labels: {
60710
60709
  total: {
@@ -60743,7 +60742,7 @@ var jWe = 18, OWe = ({
60743
60742
  }), _f = () => ({
60744
60743
  color: ae("--em-chart-grid-line-color--light", "#EDEDF1"),
60745
60744
  lineWidth: re("--em-chart-grid-line-width--thin", "0.0625rem")
60746
- }), LWe = () => ({
60745
+ }), VWe = () => ({
60747
60746
  x: {
60748
60747
  grid: _f(),
60749
60748
  title: Df(),
@@ -60755,10 +60754,10 @@ var jWe = 18, OWe = ({
60755
60754
  ticks: Ls()
60756
60755
  }
60757
60756
  }), rv = () => St(av(), {
60758
- plugins: VWe(),
60759
- scales: LWe()
60757
+ plugins: RWe(),
60758
+ scales: VWe()
60760
60759
  }), nc = 30;
60761
- function YWe(e) {
60760
+ function LWe(e) {
60762
60761
  const t = e.some((a) => a > 0), n = e.some((a) => a < 0);
60763
60762
  return t && n;
60764
60763
  }
@@ -60767,10 +60766,10 @@ var ac = (e) => {
60767
60766
  if (e.chart.data.datasets.length === 0)
60768
60767
  return;
60769
60768
  const t = e.chart.data.datasets[0].data;
60770
- return YWe(t) ? ae("--em-chart-grid-line-color", "#212129") : ae("--em-chart-grid-line-color--subtle", "#B8B8BD");
60769
+ return LWe(t) ? ae("--em-chart-grid-line-color", "#212129") : ae("--em-chart-grid-line-color--subtle", "#B8B8BD");
60771
60770
  }
60772
60771
  return ae("--em-chart-grid-line-color--light", "#EDEDF1");
60773
- }, XWe = (e) => {
60772
+ }, YWe = (e) => {
60774
60773
  var n;
60775
60774
  const t = nv();
60776
60775
  return {
@@ -60784,13 +60783,13 @@ var ac = (e) => {
60784
60783
  return St(o, a);
60785
60784
  })
60786
60785
  };
60787
- }, BWe = (e, t) => t && e.datasetIndex === e.chart.data.datasets.length - 1 ? "auto" : !1, GWe = (e, t) => {
60786
+ }, XWe = (e, t) => t && e.datasetIndex === e.chart.data.datasets.length - 1 ? "auto" : !1, BWe = (e, t) => {
60788
60787
  const { datasets: n } = t.chart.data, a = t.dataIndex, r = n.reduce((i, o) => {
60789
60788
  const s = o.data[a];
60790
60789
  return i + (s || 0);
60791
60790
  }, 0);
60792
60791
  return r > 0 ? r : "";
60793
- }, qWe = (e) => ({
60792
+ }, GWe = (e) => ({
60794
60793
  indexAxis: "x",
60795
60794
  layout: {
60796
60795
  padding: {
@@ -60833,7 +60832,7 @@ var ac = (e) => {
60833
60832
  type: e.showLogarithmicScale ? "logarithmic" : "linear"
60834
60833
  }
60835
60834
  }
60836
- }), KWe = (e) => ({
60835
+ }), qWe = (e) => ({
60837
60836
  indexAxis: "y",
60838
60837
  layout: {
60839
60838
  padding: {
@@ -60870,7 +60869,7 @@ var ac = (e) => {
60870
60869
  reverse: e.reverseYAxis
60871
60870
  }
60872
60871
  }
60873
- }), QWe = (e) => {
60872
+ }), KWe = (e) => {
60874
60873
  const t = {
60875
60874
  elements: {
60876
60875
  bar: {
@@ -60886,8 +60885,8 @@ var ac = (e) => {
60886
60885
  display: (r) => e.showValueLabels && r.dataset.data[r.dataIndex] !== 0 ? "auto" : !1,
60887
60886
  labels: {
60888
60887
  total: {
60889
- display: (r) => BWe(r, e.showTotalLabels),
60890
- formatter: GWe,
60888
+ display: (r) => XWe(r, e.showTotalLabels),
60889
+ formatter: BWe,
60891
60890
  anchor: (r) => r.dataset.data[r.dataIndex] >= 0 ? "end" : "start"
60892
60891
  },
60893
60892
  value: {
@@ -60914,7 +60913,7 @@ var ac = (e) => {
60914
60913
  ticks: { display: !0 }
60915
60914
  }
60916
60915
  }
60917
- }, a = (e.horizontal ? KWe : qWe)(e);
60916
+ }, a = (e.horizontal ? qWe : GWe)(e);
60918
60917
  return St(rv(), t, a);
60919
60918
  };
60920
60919
  nn.register(
@@ -60927,8 +60926,8 @@ nn.register(
60927
60926
  Ds,
60928
60927
  Ns
60929
60928
  );
60930
- var FDe = ({ data: e, onSegmentClick: t, options: n = {}, ...a }) => {
60931
- const r = Ve(null), i = St(QWe(a), n), o = (s) => {
60929
+ var HDe = ({ data: e, onSegmentClick: t, options: n = {}, ...a }) => {
60930
+ const r = Ve(null), i = St(KWe(a), n), o = (s) => {
60932
60931
  const l = Rs(s, r);
60933
60932
  t == null || t(l);
60934
60933
  };
@@ -60936,12 +60935,12 @@ var FDe = ({ data: e, onSegmentClick: t, options: n = {}, ...a }) => {
60936
60935
  Q0e,
60937
60936
  {
60938
60937
  ref: r,
60939
- data: XWe(e),
60938
+ data: YWe(e),
60940
60939
  options: i,
60941
60940
  onClick: o
60942
60941
  }
60943
60942
  ) });
60944
- }, JWe = (e) => {
60943
+ }, QWe = (e) => {
60945
60944
  var a;
60946
60945
  const t = nv();
60947
60946
  return {
@@ -60954,7 +60953,7 @@ var FDe = ({ data: e, onSegmentClick: t, options: n = {}, ...a }) => {
60954
60953
  }, r);
60955
60954
  })) || []
60956
60955
  };
60957
- }, UWe = (e) => {
60956
+ }, JWe = (e) => {
60958
60957
  const t = {
60959
60958
  interaction: {
60960
60959
  mode: "x",
@@ -61035,8 +61034,8 @@ nn.register(
61035
61034
  Ns,
61036
61035
  Ju
61037
61036
  );
61038
- var RDe = ({ options: e = {}, data: t, onSegmentClick: n, ...a }) => {
61039
- const r = Ve(null), i = St(UWe(a), e), o = (s) => {
61037
+ var FDe = ({ options: e = {}, data: t, onSegmentClick: n, ...a }) => {
61038
+ const r = Ve(null), i = St(JWe(a), e), o = (s) => {
61040
61039
  const l = Rs(s, r);
61041
61040
  n == null || n(l);
61042
61041
  };
@@ -61044,12 +61043,12 @@ var RDe = ({ options: e = {}, data: t, onSegmentClick: n, ...a }) => {
61044
61043
  K0e,
61045
61044
  {
61046
61045
  ref: r,
61047
- data: JWe(t),
61046
+ data: QWe(t),
61048
61047
  options: i,
61049
61048
  onClick: o
61050
61049
  }
61051
61050
  ) });
61052
- }, Sf = (e, t) => e ? t ? ft.negative : ft.positive : t ? ft.positive : ft.negative, ZWe = ({
61051
+ }, Sf = (e, t) => e ? t ? ft.negative : ft.positive : t ? ft.positive : ft.negative, UWe = ({
61053
61052
  value: e,
61054
61053
  comparisonValue: t = 0,
61055
61054
  showChangeAsPercentage: n,
@@ -61095,7 +61094,7 @@ var RDe = ({ options: e = {}, data: t, onSegmentClick: n, ...a }) => {
61095
61094
  /* @__PURE__ */ $.jsx("span", { className: ft.kpiComparisonLabel, children: d ? s ?? r : r })
61096
61095
  ] }) }) })
61097
61096
  ] });
61098
- }, eDe = ({ condition: e, wrapper: t, children: n }) => e ? t(n) : /* @__PURE__ */ $.jsx($.Fragment, { children: n }), tDe = eDe, VDe = ({
61097
+ }, ZWe = ({ condition: e, wrapper: t, children: n }) => e ? t(n) : /* @__PURE__ */ $.jsx($.Fragment, { children: n }), eDe = ZWe, RDe = ({
61099
61098
  value: e,
61100
61099
  valueFontSize: t,
61101
61100
  trendFontSize: n,
@@ -61111,7 +61110,7 @@ var RDe = ({ options: e = {}, data: t, onSegmentClick: n, ...a }) => {
61111
61110
  const c = a !== void 0, h = e === void 0 ? "" : u ? u(e) : e, m = !t;
61112
61111
  return /* @__PURE__ */ $.jsxs("div", { className: Al.kpiChartContainer, children: [
61113
61112
  /* @__PURE__ */ $.jsx("div", { className: Al.kpiChartValueContainer, children: /* @__PURE__ */ $.jsx(
61114
- tDe,
61113
+ eDe,
61115
61114
  {
61116
61115
  condition: m,
61117
61116
  wrapper: (g) => /* @__PURE__ */ $.jsx(dWe, { mode: "boxoneline", minFontSizePx: 1, maxFontSizePx: 999, children: g }),
@@ -61128,7 +61127,7 @@ var RDe = ({ options: e = {}, data: t, onSegmentClick: n, ...a }) => {
61128
61127
  }
61129
61128
  ) }),
61130
61129
  /* @__PURE__ */ $.jsx("div", { className: Al.kpiComparisonContainer, style: { fontSize: n }, children: /* @__PURE__ */ $.jsx("div", { style: { visibility: c ? "visible" : "hidden" }, children: /* @__PURE__ */ $.jsx(
61131
- ZWe,
61130
+ UWe,
61132
61131
  {
61133
61132
  equalComparisonLabel: l,
61134
61133
  comparisonLabel: r,
@@ -61144,7 +61143,7 @@ var RDe = ({ options: e = {}, data: t, onSegmentClick: n, ...a }) => {
61144
61143
  ] });
61145
61144
  }, iv = (e) => {
61146
61145
  var a;
61147
- const t = FWe();
61146
+ const t = HWe();
61148
61147
  return {
61149
61148
  ...e,
61150
61149
  datasets: ((a = e.datasets) == null ? void 0 : a.map((r) => {
@@ -61168,7 +61167,7 @@ var RDe = ({ options: e = {}, data: t, onSegmentClick: n, ...a }) => {
61168
61167
  }
61169
61168
  };
61170
61169
  return St(av(), t);
61171
- }, nDe = (e) => {
61170
+ }, tDe = (e) => {
61172
61171
  const t = {
61173
61172
  cutout: "60%",
61174
61173
  elements: {
@@ -61205,7 +61204,7 @@ var RDe = ({ options: e = {}, data: t, onSegmentClick: n, ...a }) => {
61205
61204
  }
61206
61205
  };
61207
61206
  return St(ov(e), t);
61208
- }, aDe = (e, t = 100) => {
61207
+ }, nDe = (e, t = 100) => {
61209
61208
  const [n, a] = Be({ width: 0, height: 0 }), r = Ve(void 0);
61210
61209
  return Wd(() => {
61211
61210
  const i = e.current;
@@ -61227,7 +61226,7 @@ var RDe = ({ options: e = {}, data: t, onSegmentClick: n, ...a }) => {
61227
61226
  }, [e, t]), n;
61228
61227
  }, Cf = 10;
61229
61228
  nn.register(ca, _s, Ds, Ns, Ju);
61230
- var LDe = ({
61229
+ var VDe = ({
61231
61230
  label: e,
61232
61231
  subLabel: t,
61233
61232
  options: n = {},
@@ -61238,12 +61237,12 @@ var LDe = ({
61238
61237
  showValueLabels: s = !0
61239
61238
  }) => {
61240
61239
  const l = Ve(null), d = Ve(null), u = St(
61241
- nDe({ showLegend: i, showTooltips: o, showValueLabels: s, label: e, subLabel: t }),
61240
+ tDe({ showLegend: i, showTooltips: o, showValueLabels: s, label: e, subLabel: t }),
61242
61241
  n
61243
61242
  ), c = (f) => {
61244
61243
  const b = Rs(f, d);
61245
61244
  r == null || r(b);
61246
- }, { height: h, width: m } = aDe(l, 0), g = h < Cf || m < Cf;
61245
+ }, { height: h, width: m } = nDe(l, 0), g = h < Cf || m < Cf;
61247
61246
  return /* @__PURE__ */ $.jsx("div", { className: Cs.chartContainer, ref: l, children: g ? null : /* @__PURE__ */ $.jsx(
61248
61247
  hw,
61249
61248
  {
@@ -61255,7 +61254,7 @@ var LDe = ({
61255
61254
  ) });
61256
61255
  };
61257
61256
  nn.register(ca, _s, Ds, Ns, Ju);
61258
- var YDe = ({
61257
+ var LDe = ({
61259
61258
  data: e,
61260
61259
  options: t = {},
61261
61260
  onSegmentClick: n,
@@ -61283,14 +61282,14 @@ var YDe = ({
61283
61282
  onClick: l
61284
61283
  }
61285
61284
  ) });
61286
- }, rDe = (e, t) => e ? Math.ceil(e / t) : void 0, iDe = ({
61285
+ }, aDe = (e, t) => e ? Math.ceil(e / t) : void 0, rDe = ({
61287
61286
  page: e,
61288
61287
  pageSize: t,
61289
61288
  paginationLabel: n,
61290
61289
  total: a,
61291
61290
  onPageChange: r
61292
61291
  }) => {
61293
- const i = rDe(a, t), o = e <= 0, s = !i || e >= i - 1;
61292
+ const i = aDe(a, t), o = e <= 0, s = !i || e >= i - 1;
61294
61293
  return Xe(() => {
61295
61294
  i && e >= i && r(0);
61296
61295
  }, [i, e]), /* @__PURE__ */ $.jsx("div", { className: io.tablePagination, "aria-label": "Table pagination controls", children: /* @__PURE__ */ $.jsxs("div", { className: io.tablePaginationCentral, children: [
@@ -61345,10 +61344,10 @@ var YDe = ({
61345
61344
  }, aa = {
61346
61345
  ASC: "asc",
61347
61346
  DESC: "desc"
61348
- }, oDe = {
61347
+ }, iDe = {
61349
61348
  LEFT: "left",
61350
61349
  RIGHT: "right"
61351
- }, sDe = (e, t) => (e == null ? void 0 : e.id) === t.id ? e.direction === "asc" ? "ascending" : "descending" : "none", lDe = (e, t) => (e == null ? void 0 : e.id) === t.id ? e.direction === "asc" ? `Sort by ${t.title}, currently ascending. Activate to sort descending.` : `Sort by ${t.title}, currently descending. Activate to sort ascending.` : `Sort by ${t.title}. Activate to sort ascending.`, dDe = ({
61350
+ }, oDe = (e, t) => (e == null ? void 0 : e.id) === t.id ? e.direction === "asc" ? "ascending" : "descending" : "none", sDe = (e, t) => (e == null ? void 0 : e.id) === t.id ? e.direction === "asc" ? `Sort by ${t.title}, currently ascending. Activate to sort descending.` : `Sort by ${t.title}, currently descending. Activate to sort ascending.` : `Sort by ${t.title}. Activate to sort ascending.`, lDe = ({
61352
61351
  headers: e,
61353
61352
  sort: t,
61354
61353
  showIndex: n,
@@ -61378,19 +61377,19 @@ var YDe = ({
61378
61377
  }
61379
61378
  };
61380
61379
  return /* @__PURE__ */ $.jsx("thead", { className: xf.tableHeader, children: /* @__PURE__ */ $.jsxs("tr", { children: [
61381
- n && /* @__PURE__ */ $.jsx("th", { className: Me(fe.mutedCell, fe.stickyFirstColumn), children: "#" }),
61380
+ n && /* @__PURE__ */ $.jsx("th", { className: Me(ye.mutedCell, ye.stickyFirstColumn), children: "#" }),
61382
61381
  e.map((o) => /* @__PURE__ */ $.jsx(
61383
61382
  "th",
61384
61383
  {
61385
61384
  className: xf.tableHeaderCell,
61386
61385
  style: { minWidth: o.minWidth },
61387
61386
  scope: "col",
61388
- "aria-sort": sDe(t, o),
61387
+ "aria-sort": oDe(t, o),
61389
61388
  children: /* @__PURE__ */ $.jsxs(
61390
61389
  "button",
61391
61390
  {
61392
61391
  onClick: () => i(o.id),
61393
- "aria-label": lDe(t, o),
61392
+ "aria-label": sDe(t, o),
61394
61393
  children: [
61395
61394
  o.title,
61396
61395
  r(o)
@@ -61401,7 +61400,7 @@ var YDe = ({
61401
61400
  o.id
61402
61401
  ))
61403
61402
  ] }) });
61404
- }, uDe = ({
61403
+ }, dDe = ({
61405
61404
  headers: e,
61406
61405
  rows: t,
61407
61406
  pageSize: n,
@@ -61412,11 +61411,11 @@ var YDe = ({
61412
61411
  "tr",
61413
61412
  {
61414
61413
  onClick: () => i == null ? void 0 : i(s),
61415
- className: Me(s === t.length - 1 && fe.tableLastRow),
61414
+ className: Me(s === t.length - 1 && ye.tableLastRow),
61416
61415
  children: [
61417
- r && /* @__PURE__ */ $.jsx("td", { className: Me(fe.mutedCell, fe.stickyFirstColumn), children: n * a + s + 1 }),
61416
+ r && /* @__PURE__ */ $.jsx("td", { className: Me(ye.mutedCell, ye.stickyFirstColumn), children: n * a + s + 1 }),
61418
61417
  e.map((l, d) => /* @__PURE__ */ $.jsx(
61419
- cDe,
61418
+ uDe,
61420
61419
  {
61421
61420
  header: l,
61422
61421
  row: o,
@@ -61428,7 +61427,7 @@ var YDe = ({
61428
61427
  ]
61429
61428
  },
61430
61429
  s
61431
- )) }), cDe = ({ header: e, row: t, rowIndex: n, cellIndex: a }) => {
61430
+ )) }), uDe = ({ header: e, row: t, rowIndex: n, cellIndex: a }) => {
61432
61431
  const [r, i] = Be(!1), o = e.accessor !== void 0 ? e.accessor(t) : e.id !== void 0 ? (
61433
61432
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
61434
61433
  t[e.id]
@@ -61453,7 +61452,7 @@ var YDe = ({
61453
61452
  icon: r ? zP : PP,
61454
61453
  className: Me(
61455
61454
  wo.copyButton,
61456
- e.align === oDe.RIGHT && wo.leftAlign
61455
+ e.align === iDe.RIGHT && wo.leftAlign
61457
61456
  ),
61458
61457
  onClick: s
61459
61458
  }
@@ -61463,7 +61462,7 @@ var YDe = ({
61463
61462
  },
61464
61463
  `${n}-${a}`
61465
61464
  );
61466
- }, hDe = S.forwardRef(
61465
+ }, cDe = S.forwardRef(
61467
61466
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
61468
61467
  (e, t) => {
61469
61468
  const {
@@ -61480,10 +61479,10 @@ var YDe = ({
61480
61479
  onPageChange: h,
61481
61480
  onSortChange: m
61482
61481
  } = e;
61483
- return /* @__PURE__ */ $.jsxs("div", { ref: t, className: Me(fe.tableContainer, r), children: [
61484
- /* @__PURE__ */ $.jsx("div", { className: fe.tableContainerScroll, children: /* @__PURE__ */ $.jsxs("table", { className: Me(fe.table, fe.fixedLayout), children: [
61482
+ return /* @__PURE__ */ $.jsxs("div", { ref: t, className: Me(ye.tableContainer, r), children: [
61483
+ /* @__PURE__ */ $.jsx("div", { className: ye.tableContainerScroll, children: /* @__PURE__ */ $.jsxs("table", { className: ye.table, children: [
61485
61484
  /* @__PURE__ */ $.jsx(
61486
- dDe,
61485
+ lDe,
61487
61486
  {
61488
61487
  showIndex: u,
61489
61488
  headers: n,
@@ -61492,7 +61491,7 @@ var YDe = ({
61492
61491
  }
61493
61492
  ),
61494
61493
  /* @__PURE__ */ $.jsx(
61495
- uDe,
61494
+ dDe,
61496
61495
  {
61497
61496
  onRowIndexClick: c,
61498
61497
  showIndex: u,
@@ -61504,7 +61503,7 @@ var YDe = ({
61504
61503
  )
61505
61504
  ] }) }),
61506
61505
  /* @__PURE__ */ $.jsx(
61507
- iDe,
61506
+ rDe,
61508
61507
  {
61509
61508
  page: o,
61510
61509
  pageSize: s,
@@ -61516,12 +61515,12 @@ var YDe = ({
61516
61515
  ] });
61517
61516
  }
61518
61517
  );
61519
- hDe.displayName = "TablePaginated";
61518
+ cDe.displayName = "TablePaginated";
61520
61519
  var ma = (e) => ({
61521
61520
  minWidth: e ? `${e}px` : "unset",
61522
61521
  maxWidth: e ? `${e}px` : "unset",
61523
61522
  width: e ? `${e}px` : "unset"
61524
- }), Nf = (e) => typeof e == "number" && !Number.isNaN(e), Il = (e, t) => `${e.toFixed(t)}%`, XDe = ({
61523
+ }), Nf = (e) => typeof e == "number" && !Number.isNaN(e), Il = (e, t) => `${e.toFixed(t)}%`, YDe = ({
61525
61524
  columnWidth: e,
61526
61525
  firstColumnWidth: t,
61527
61526
  data: n,
@@ -61565,8 +61564,8 @@ var ma = (e) => ({
61565
61564
  for (const H of n) {
61566
61565
  const Y = String(H[r.key]), V = String(H[i.key]), B = T.get(V) ?? a.map(() => 0), F = N.get(Y) ?? a.map(() => 0);
61567
61566
  a.forEach((A, X) => {
61568
- const Z = H == null ? void 0 : H[A.key], pe = Number(Z);
61569
- Number.isNaN(pe) || (B[X] += pe, F[X] += pe, I[X] += pe);
61567
+ const Z = H == null ? void 0 : H[A.key], be = Number(Z);
61568
+ Number.isNaN(be) || (B[X] += be, F[X] += be, I[X] += be);
61570
61569
  }), T.set(V, B), N.set(Y, F);
61571
61570
  }
61572
61571
  for (const H of g)
@@ -61601,17 +61600,17 @@ var ma = (e) => ({
61601
61600
  };
61602
61601
  }, [o, s, l, m.length, n]);
61603
61602
  const O = o ? m.slice(0, C) : m;
61604
- return /* @__PURE__ */ $.jsx("div", { className: Me(fe.tableFullContainer, h), children: /* @__PURE__ */ $.jsx(
61603
+ return /* @__PURE__ */ $.jsx("div", { className: Me(ye.tableFullContainer, h), children: /* @__PURE__ */ $.jsx(
61605
61604
  "div",
61606
61605
  {
61607
61606
  className: Me(
61608
- fe.tableAdjustedContainer,
61609
- (!e || !t) && fe.fullWidth
61607
+ ye.tableAdjustedContainer,
61608
+ (!e || !t) && ye.fullWidth
61610
61609
  ),
61611
61610
  children: /* @__PURE__ */ $.jsxs(
61612
61611
  "table",
61613
61612
  {
61614
- className: fe.table,
61613
+ className: ye.table,
61615
61614
  "aria-label": `${r.label} by ${i.label}`,
61616
61615
  children: [
61617
61616
  /* @__PURE__ */ $.jsxs("thead", { children: [
@@ -61622,7 +61621,7 @@ var ma = (e) => ({
61622
61621
  scope: "col",
61623
61622
  rowSpan: 1,
61624
61623
  title: i.label,
61625
- className: fe.stickyFirstColumn,
61624
+ className: ye.stickyFirstColumn,
61626
61625
  children: i.label
61627
61626
  }
61628
61627
  ),
@@ -61644,7 +61643,7 @@ var ma = (e) => ({
61644
61643
  {
61645
61644
  scope: "colgroup",
61646
61645
  colSpan: Array.from(b).length,
61647
- className: fe.boltCell,
61646
+ className: ye.boltCell,
61648
61647
  title: c,
61649
61648
  children: c
61650
61649
  },
@@ -61658,7 +61657,7 @@ var ma = (e) => ({
61658
61657
  scope: "col",
61659
61658
  rowSpan: 1,
61660
61659
  title: r.label,
61661
- className: fe.stickyFirstColumn,
61660
+ className: ye.stickyFirstColumn,
61662
61661
  style: ma(t),
61663
61662
  children: r.label
61664
61663
  }
@@ -61679,7 +61678,7 @@ var ma = (e) => ({
61679
61678
  "th",
61680
61679
  {
61681
61680
  scope: "col",
61682
- className: fe.boltCell,
61681
+ className: ye.boltCell,
61683
61682
  title: T.label,
61684
61683
  style: ma(e),
61685
61684
  children: T.label
@@ -61697,7 +61696,7 @@ var ma = (e) => ({
61697
61696
  {
61698
61697
  scope: "row",
61699
61698
  title: N,
61700
- className: fe.stickyFirstColumn,
61699
+ className: ye.stickyFirstColumn,
61701
61700
  children: N
61702
61701
  }
61703
61702
  ),
@@ -61706,7 +61705,7 @@ var ma = (e) => ({
61706
61705
  var Z;
61707
61706
  const V = ((Z = f.get(String(T))) == null ? void 0 : Z.get(String(I))) ?? {}, B = V == null ? void 0 : V[H.key], F = `cell-${T}-${I}-${H.key}-${Y}`, X = (() => {
61708
61707
  if (H.showAsPercentage) {
61709
- const pe = D.get(String(H.key)) ?? -1, Fe = W.get(String(I)) ?? a.map(() => 0), xe = pe >= 0 ? Fe[pe] ?? 0 : 0;
61708
+ const be = D.get(String(H.key)) ?? -1, Fe = W.get(String(I)) ?? a.map(() => 0), xe = be >= 0 ? Fe[be] ?? 0 : 0;
61710
61709
  if (H.showAsPercentage && Nf(Number(B)) && Nf(xe) && xe > 0)
61711
61710
  return `${(B / xe * 100).toFixed(H.percentageDecimalPlaces ?? 0)}%`;
61712
61711
  }
@@ -61721,16 +61720,16 @@ var ma = (e) => ({
61721
61720
  return I.showAsPercentage ? A = Il(
61722
61721
  F / (_[V] || 1) * 100,
61723
61722
  I.percentageDecimalPlaces ?? 0
61724
- ) : I.accessor && (A = I.accessor({ [I.key]: F })), /* @__PURE__ */ $.jsx("td", { className: fe.boltCell, title: A, children: A }, B);
61723
+ ) : I.accessor && (A = I.accessor({ [I.key]: F })), /* @__PURE__ */ $.jsx("td", { className: ye.boltCell, title: A, children: A }, B);
61725
61724
  })
61726
61725
  ] }, `row-${T}`);
61727
61726
  }),
61728
- M && /* @__PURE__ */ $.jsxs("tr", { className: fe.stickyLastRow, children: [
61727
+ M && /* @__PURE__ */ $.jsxs("tr", { className: ye.stickyLastRow, children: [
61729
61728
  /* @__PURE__ */ $.jsx(
61730
61729
  "th",
61731
61730
  {
61732
61731
  scope: "row",
61733
- className: Me(fe.stickyFirstColumn, fe.boltCell),
61732
+ className: Me(ye.stickyFirstColumn, ye.boltCell),
61734
61733
  title: c,
61735
61734
  children: c
61736
61735
  }
@@ -61744,7 +61743,7 @@ var ma = (e) => ({
61744
61743
  N.percentageDecimalPlaces ?? 0
61745
61744
  ) : N.accessor && (A = N.accessor({ [N.key]: F }));
61746
61745
  const X = H ? A : "";
61747
- return /* @__PURE__ */ $.jsx("td", { className: fe.boltCell, title: X, children: X }, B);
61746
+ return /* @__PURE__ */ $.jsx("td", { className: ye.boltCell, title: X, children: X }, B);
61748
61747
  })
61749
61748
  ),
61750
61749
  P && a.filter((T) => b.has(T.key)).map((T, N) => {
@@ -61753,7 +61752,7 @@ var ma = (e) => ({
61753
61752
  return T.showAsPercentage ? V = Il(
61754
61753
  100,
61755
61754
  T.percentageDecimalPlaces ?? 0
61756
- ) : T.accessor && (V = T.accessor({ [T.key]: Y })), /* @__PURE__ */ $.jsx("td", { className: fe.boltCell, title: V, children: V }, H);
61755
+ ) : T.accessor && (V = T.accessor({ [T.key]: Y })), /* @__PURE__ */ $.jsx("td", { className: ye.boltCell, title: V, children: V }, H);
61757
61756
  })
61758
61757
  ] }, "totals-row")
61759
61758
  ] })
@@ -61762,11 +61761,11 @@ var ma = (e) => ({
61762
61761
  )
61763
61762
  }
61764
61763
  ) });
61765
- }, di = (e) => e < 0 ? 0 : e > 1 ? 1 : e, Tf = (e) => 1 - (1 - e) * (1 - e), Hl = (e, t, n) => e + (t - e) * n, jf = 0.35, Of = "#000000", Ef = "#FFFFFF", oo = (e) => String(e ?? ""), mDe = /rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/i, Fl = /* @__PURE__ */ new Map(), sv = (e) => {
61764
+ }, di = (e) => e < 0 ? 0 : e > 1 ? 1 : e, Tf = (e) => 1 - (1 - e) * (1 - e), Hl = (e, t, n) => e + (t - e) * n, jf = 0.35, Of = "#000000", Ef = "#FFFFFF", oo = (e) => String(e ?? ""), hDe = /rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/i, Fl = /* @__PURE__ */ new Map(), sv = (e) => {
61766
61765
  if (!e || e[0] !== "#") return e;
61767
61766
  const t = e.slice(1).toLowerCase();
61768
61767
  return t.length === 3 ? `#${t[0]}${t[0]}${t[1]}${t[1]}${t[2]}${t[2]}` : t.length === 6 ? `#${t}` : e.toLowerCase();
61769
- }, fDe = (e) => {
61768
+ }, mDe = (e) => {
61770
61769
  if (!e) return e;
61771
61770
  const t = Fl.get(e);
61772
61771
  if (t) return t;
@@ -61780,31 +61779,31 @@ var ma = (e) => ({
61780
61779
  n.style.color = e, document.body.appendChild(n);
61781
61780
  const a = getComputedStyle(n).color || "";
61782
61781
  n.remove();
61783
- const r = a.match(mDe);
61782
+ const r = a.match(hDe);
61784
61783
  if (!r) return e;
61785
61784
  const [, i = "0", o = "0", s = "0"] = r, l = (u) => Number(u).toString(16).padStart(2, "0"), d = `#${l(i)}${l(o)}${l(s)}`.toLowerCase();
61786
61785
  return Fl.set(e, d), d;
61787
61786
  }, xd = (e) => {
61788
- const t = sv(fDe(e)).slice(1);
61787
+ const t = sv(mDe(e)).slice(1);
61789
61788
  if (t.length !== 6) return { r: 0, g: 0, b: 0 };
61790
61789
  const n = parseInt(t, 16);
61791
61790
  return { r: n >> 16 & 255, g: n >> 8 & 255, b: n & 255 };
61792
- }, gDe = (e, t, n) => {
61791
+ }, fDe = (e, t, n) => {
61793
61792
  const a = (r) => Math.round(r).toString(16).padStart(2, "0");
61794
61793
  return `#${a(e)}${a(t)}${a(n)}`;
61795
61794
  }, Ka = (e, t, n) => {
61796
61795
  const a = xd(e), r = xd(t);
61797
- return gDe(Hl(a.r, r.r, n), Hl(a.g, r.g, n), Hl(a.b, r.b, n));
61798
- }, bDe = (e) => {
61796
+ return fDe(Hl(a.r, r.r, n), Hl(a.g, r.g, n), Hl(a.b, r.b, n));
61797
+ }, gDe = (e) => {
61799
61798
  const { r: t, g: n, b: a } = xd(e);
61800
61799
  return (t * 299 + n * 587 + a * 114) / 1e3;
61801
- }, pDe = (e) => bDe(e) < 150 ? "#FFFFFF" : "#212129", yDe = (e, t, n, a = 0.5) => {
61800
+ }, bDe = (e) => gDe(e) < 150 ? "#FFFFFF" : "#212129", pDe = (e, t, n, a = 0.5) => {
61802
61801
  const r = di(a);
61803
61802
  return (i) => {
61804
61803
  const o = di(i);
61805
61804
  return o <= r ? Ka(e, t, r === 0 ? 1 : o / r) : Ka(t, n, (o - r) / (1 - r));
61806
61805
  };
61807
- }, wDe = (e) => {
61806
+ }, yDe = (e) => {
61808
61807
  const t = e.trim();
61809
61808
  if (!t.endsWith("%")) return null;
61810
61809
  const n = Number.parseFloat(t.slice(0, -1));
@@ -61812,21 +61811,21 @@ var ma = (e) => ({
61812
61811
  }, zf = (e, t, n, a) => {
61813
61812
  if (e == null) return a;
61814
61813
  if (typeof e == "number" && Number.isFinite(e)) return e;
61815
- const r = typeof e == "string" ? wDe(e) : null;
61814
+ const r = typeof e == "string" ? yDe(e) : null;
61816
61815
  if (r != null) return t + r * (n - t);
61817
61816
  const i = Number(e);
61818
61817
  return Number.isFinite(i) ? i : a;
61819
- }, vDe = (e) => {
61818
+ }, wDe = (e) => {
61820
61819
  if (e == null) return e;
61821
61820
  const t = Number(e);
61822
61821
  return Number.isFinite(t) ? t : e;
61823
61822
  }, Af = (e, t) => {
61824
61823
  const n = t && Number.isFinite(Number(t)) ? Number(t) : t;
61825
- return vDe(e ?? n);
61826
- }, PDe = (e, t) => typeof e != "number" || !Number.isFinite(e) ? ae("--em-tablechart-cell-background", "#fff") : t(e), MDe = (e, t, n) => t ? typeof e == "string" || e == null || Number.isNaN(e) ? e : n != null && n.format ? n.format(Number(e)) : e : null, kDe = (e, t) => {
61824
+ return wDe(e ?? n);
61825
+ }, vDe = (e, t) => typeof e != "number" || !Number.isFinite(e) ? ae("--em-tablechart-cell-background", "#fff") : t(e), PDe = (e, t, n) => t ? typeof e == "string" || e == null || Number.isNaN(e) ? e : n != null && n.format ? n.format(Number(e)) : e : null, MDe = (e, t) => {
61827
61826
  const n = t - e;
61828
61827
  return n === 0 ? 0.5 : ((e + t) / 2 - e) / n;
61829
- }, $De = ({
61828
+ }, kDe = ({
61830
61829
  domainMin: e,
61831
61830
  domainMax: t,
61832
61831
  rawMin: n,
@@ -61836,7 +61835,7 @@ var ma = (e) => ({
61836
61835
  maxColor: o
61837
61836
  }) => {
61838
61837
  r = r ?? Ka(i, Ef, 0.5), o = o ?? Ka(i, Of, 0.5);
61839
- const s = kDe(e, t), l = yDe(r, i, o, s), d = Math.max(1e-6, e - n), u = Math.max(1e-6, a - t), c = t - e;
61838
+ const s = MDe(e, t), l = pDe(r, i, o, s), d = Math.max(1e-6, e - n), u = Math.max(1e-6, a - t), c = t - e;
61840
61839
  if (c === 0) {
61841
61840
  const h = l(0.5);
61842
61841
  return (m) => h;
@@ -61854,7 +61853,7 @@ var ma = (e) => ({
61854
61853
  }
61855
61854
  return l(m);
61856
61855
  };
61857
- }, BDe = ({
61856
+ }, XDe = ({
61858
61857
  data: e,
61859
61858
  showValues: t = !1,
61860
61859
  className: n,
@@ -61902,7 +61901,7 @@ var ma = (e) => ({
61902
61901
  }
61903
61902
  return x;
61904
61903
  }, [e, r.key, a.key]), W = lt(
61905
- (x) => $De({
61904
+ (x) => kDe({
61906
61905
  domainMin: b,
61907
61906
  domainMax: v,
61908
61907
  rawMin: g,
@@ -61913,19 +61912,19 @@ var ma = (e) => ({
61913
61912
  })(x),
61914
61913
  [b, v, g, f, l, d, u]
61915
61914
  );
61916
- return /* @__PURE__ */ $.jsx("div", { className: Me(fe.tableFullContainer, n), children: /* @__PURE__ */ $.jsx(
61915
+ return /* @__PURE__ */ $.jsx("div", { className: Me(ye.tableFullContainer, n), children: /* @__PURE__ */ $.jsx(
61917
61916
  "div",
61918
61917
  {
61919
61918
  className: Me(
61920
- fe.tableAdjustedContainer,
61921
- (!c || !h) && fe.fullWidth
61919
+ ye.tableAdjustedContainer,
61920
+ (!c || !h) && ye.fullWidth
61922
61921
  ),
61923
- children: /* @__PURE__ */ $.jsxs("table", { className: fe.table, "aria-label": "Heat map", children: [
61922
+ children: /* @__PURE__ */ $.jsxs("table", { className: ye.table, "aria-label": "Heat map", children: [
61924
61923
  /* @__PURE__ */ $.jsx("thead", { children: /* @__PURE__ */ $.jsxs("tr", { children: [
61925
61924
  /* @__PURE__ */ $.jsx(
61926
61925
  "th",
61927
61926
  {
61928
- className: fe.stickyFirstColumn,
61927
+ className: ye.stickyFirstColumn,
61929
61928
  style: ma(h),
61930
61929
  children: i.label
61931
61930
  }
@@ -61937,14 +61936,14 @@ var ma = (e) => ({
61937
61936
  "th",
61938
61937
  {
61939
61938
  scope: "row",
61940
- className: fe.stickyFirstColumn,
61939
+ className: ye.stickyFirstColumn,
61941
61940
  style: ma(h),
61942
61941
  children: r.format ? r.format(x) : x
61943
61942
  }
61944
61943
  ),
61945
61944
  P.map((_) => {
61946
61945
  var N;
61947
- const C = (N = D.get(x)) == null ? void 0 : N.get(_), j = Af(C == null ? void 0 : C[i.key], m), O = PDe(j, W), T = pDe(O);
61946
+ const C = (N = D.get(x)) == null ? void 0 : N.get(_), j = Af(C == null ? void 0 : C[i.key], m), O = vDe(j, W), T = bDe(O);
61948
61947
  return /* @__PURE__ */ $.jsx(
61949
61948
  "td",
61950
61949
  {
@@ -61953,7 +61952,7 @@ var ma = (e) => ({
61953
61952
  color: T,
61954
61953
  ...ma(c)
61955
61954
  },
61956
- children: MDe(j, t, i)
61955
+ children: PDe(j, t, i)
61957
61956
  },
61958
61957
  `cell-${x}-${_}`
61959
61958
  );
@@ -61962,7 +61961,7 @@ var ma = (e) => ({
61962
61961
  ] })
61963
61962
  }
61964
61963
  ) });
61965
- }, GDe = ({
61964
+ }, BDe = ({
61966
61965
  availableHeight: e,
61967
61966
  headerHeight: t,
61968
61967
  rowHeight: n,
@@ -61974,7 +61973,7 @@ var ma = (e) => ({
61974
61973
  i < 0 && (i = 0);
61975
61974
  const o = Math.floor(i / n);
61976
61975
  return Math.max(0, o);
61977
- }, [e, t, n, a]), qDe = (e, t) => {
61976
+ }, [e, t, n, a]), GDe = (e, t) => {
61978
61977
  var r, i;
61979
61978
  const n = Object.keys(e ?? {}), a = Object.keys(t ?? {});
61980
61979
  if (n.length !== a.length)
@@ -61984,7 +61983,7 @@ var ma = (e) => ({
61984
61983
  return !1;
61985
61984
  return !0;
61986
61985
  };
61987
- function KDe(e, t = 300) {
61986
+ function qDe(e, t = 300) {
61988
61987
  const n = Ve(null), a = Ve(e);
61989
61988
  Xe(() => {
61990
61989
  a.current = e;
@@ -62001,61 +62000,61 @@ function KDe(e, t = 300) {
62001
62000
  n.current && clearTimeout(n.current);
62002
62001
  }, []), r;
62003
62002
  }
62004
- const QDe = Kv("color", {
62003
+ const KDe = Kv("color", {
62005
62004
  label: "Color",
62006
62005
  optionLabel: (e) => e.toUpperCase()
62007
62006
  });
62008
62007
  export {
62009
62008
  Fr as A,
62010
- FDe as B,
62011
- CWe as C,
62012
- LDe as D,
62009
+ HDe as B,
62010
+ SWe as C,
62011
+ VDe as D,
62013
62012
  mP as E,
62014
- AWe as F,
62013
+ zWe as F,
62015
62014
  Kw as G,
62016
- BDe as H,
62015
+ XDe as H,
62017
62016
  Bf as I,
62018
62017
  Qw as J,
62019
- VDe as K,
62020
- RDe as L,
62021
- ADe as M,
62018
+ RDe as K,
62019
+ FDe as L,
62020
+ zDe as M,
62022
62021
  gP as N,
62023
62022
  Hs as O,
62024
- YDe as P,
62023
+ LDe as P,
62025
62024
  kP as Q,
62026
62025
  Me as R,
62027
- IDe as S,
62028
- oDe as T,
62029
- ODe as U,
62030
- _De as V,
62026
+ ADe as S,
62027
+ iDe as T,
62028
+ jDe as U,
62029
+ DDe as V,
62031
62030
  Kv as W,
62032
- SDe as X,
62031
+ _De as X,
62033
62032
  Lf as Y,
62034
- FWe as a,
62033
+ HWe as a,
62035
62034
  nv as b,
62036
- HDe as c,
62035
+ IDe as c,
62037
62036
  re as d,
62038
62037
  Vs as e,
62039
62038
  Df as f,
62040
62039
  ae as g,
62041
- XDe as h,
62042
- GDe as i,
62040
+ YDe as h,
62041
+ BDe as i,
62043
62042
  $ as j,
62044
- KDe as k,
62045
- DDe as l,
62043
+ qDe as k,
62044
+ WDe as l,
62046
62045
  St as m,
62047
- hDe as n,
62048
- rDe as o,
62049
- EDe as p,
62050
- NWe as q,
62051
- zDe as r,
62052
- QDe as s,
62046
+ cDe as n,
62047
+ aDe as o,
62048
+ ODe as p,
62049
+ CWe as q,
62050
+ EDe as r,
62051
+ KDe as s,
62053
62052
  Ze as t,
62054
- aDe as u,
62055
- qDe as v,
62056
- EWe as w,
62053
+ nDe as u,
62054
+ GDe as v,
62055
+ OWe as w,
62057
62056
  Uu as x,
62058
62057
  Zu as y,
62059
62058
  nr as z
62060
62059
  };
62061
- //# sourceMappingURL=Color.type.emb-ByiNbaI7.js.map
62060
+ //# sourceMappingURL=Color.type.emb-CLYI-rua.js.map