@embeddable.com/remarkable-ui 1.0.4 → 1.0.5

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 (69) 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-DE8akLvk.js → ChartCard-BzLW_64B.js} +15 -15
  8. package/dist/{ChartCard-DE8akLvk.js.map → ChartCard-BzLW_64B.js.map} +1 -1
  9. package/dist/{ComparisonPeriod.type.emb-Dlysd_iF.js → ComparisonPeriod.type.emb-D0_AP_PM.js} +2 -2
  10. package/dist/{ComparisonPeriod.type.emb-Dlysd_iF.js.map → ComparisonPeriod.type.emb-D0_AP_PM.js.map} +1 -1
  11. package/dist/ComparisonPeriodSelectFieldPro.js +4 -4
  12. package/dist/DateRangeSelectFieldPro.js +2 -2
  13. package/dist/DonutChartPro.js +2 -2
  14. package/dist/DonutLabelChartPro.js +2 -2
  15. package/dist/{EditorCard-ncOGVWah.js → EditorCard-BLudeyiZ.js} +8 -8
  16. package/dist/{EditorCard-ncOGVWah.js.map → EditorCard-BLudeyiZ.js.map} +1 -1
  17. package/dist/{HeatMap-DvjtDRTL.js → HeatMap-HTlj76CN.js} +7 -7
  18. package/dist/{HeatMap-DvjtDRTL.js.map → HeatMap-HTlj76CN.js.map} +1 -1
  19. package/dist/HeatMapPro.js +4 -4
  20. package/dist/{KpiChart-B9tgnF4B.js → KpiChart-DWnEF3iA.js} +2 -2
  21. package/dist/{KpiChart-B9tgnF4B.js.map → KpiChart-DWnEF3iA.js.map} +1 -1
  22. package/dist/KpiChartNumberComparisonPro.js +6 -6
  23. package/dist/KpiChartNumberPro.js +4 -4
  24. package/dist/LineChartComparisonDefaultPro.js +11 -11
  25. package/dist/LineChartComparisonDefaultPro.js.map +1 -1
  26. package/dist/LineChartDefaultPro.js +3 -3
  27. package/dist/LineChartGroupedPro.js +3 -3
  28. package/dist/MultiSelectFieldPro.js +2 -2
  29. package/dist/PieChartPro.js +2 -2
  30. package/dist/{PivotTable-UDo7378U.js → PivotTable-Diy2xzoH.js} +2 -2
  31. package/dist/{PivotTable-UDo7378U.js.map → PivotTable-Diy2xzoH.js.map} +1 -1
  32. package/dist/PivotTablePro.js +4 -4
  33. package/dist/{SingleSelectField-BTpa_tLg.js → SingleSelectField-CX2hEN0u.js} +3 -3
  34. package/dist/{SingleSelectField-BTpa_tLg.js.map → SingleSelectField-CX2hEN0u.js.map} +1 -1
  35. package/dist/SingleSelectFieldPro.js +2 -2
  36. package/dist/TableChartPaginated.js +3 -3
  37. package/dist/{bars.utils-DLuq19zt.js → bars.utils-CAMiF7iA.js} +4 -4
  38. package/dist/{bars.utils-DLuq19zt.js.map → bars.utils-CAMiF7iA.js.map} +1 -1
  39. package/dist/{charts.utils-VLkuIHmS.js → charts.utils-Cw4SeX2m.js} +3 -3
  40. package/dist/{charts.utils-VLkuIHmS.js.map → charts.utils-Cw4SeX2m.js.map} +1 -1
  41. package/dist/{component.constants-BfTb5vNm.js → component.constants-B5vygi6l.js} +596 -589
  42. package/dist/{component.constants-BfTb5vNm.js.map → component.constants-B5vygi6l.js.map} +1 -1
  43. package/dist/embeddable-components.json +10 -10
  44. package/dist/{formatter.utils-Dza9buQ8.js → formatter.utils-N2gk49ys.js} +2 -2
  45. package/dist/{formatter.utils-Dza9buQ8.js.map → formatter.utils-N2gk49ys.js.map} +1 -1
  46. package/dist/{index-CHbc8CTj.js → index-BKkfcfXT.js} +4 -4
  47. package/dist/{index-CHbc8CTj.js.map → index-BKkfcfXT.js.map} +1 -1
  48. package/dist/{index-DiSLIUsa.js → index-BOcQ7e6Q.js} +5 -5
  49. package/dist/{index-DiSLIUsa.js.map → index-BOcQ7e6Q.js.map} +1 -1
  50. package/dist/{index-Cvk5RTZT.js → index-DhfbSAKi.js} +4 -4
  51. package/dist/{index-Cvk5RTZT.js.map → index-DhfbSAKi.js.map} +1 -1
  52. package/dist/{index-DTedizV6.js → index-Dwe8JLUr.js} +5 -5
  53. package/dist/{index-DTedizV6.js.map → index-Dwe8JLUr.js.map} +1 -1
  54. package/dist/{index-Bv_AzW89.js → index-Jm7acUco.js} +4 -4
  55. package/dist/{index-Bv_AzW89.js.map → index-Jm7acUco.js.map} +1 -1
  56. package/dist/{index-9-Jj7smT.js → index-_mthkdMa.js} +4 -4
  57. package/dist/{index-9-Jj7smT.js.map → index-_mthkdMa.js.map} +1 -1
  58. package/dist/index.js +155 -148
  59. package/dist/{pies.utils-BZEnXtqg.js → pies.utils-E8f3Hj1h.js} +4 -4
  60. package/dist/{pies.utils-BZEnXtqg.js.map → pies.utils-E8f3Hj1h.js.map} +1 -1
  61. package/dist/remarkable-ui/components/charts/chartjs.cartesian.constants.d.ts +5 -5
  62. package/dist/remarkable-ui/components/charts/chartjs.cartesian.constants.d.ts.map +1 -1
  63. package/dist/remarkable-ui/components/charts/chartjs.constants.d.ts +1 -1
  64. package/dist/remarkable-ui/components/charts/chartjs.constants.d.ts.map +1 -1
  65. package/dist/remarkable-ui/index.d.ts +1 -1
  66. package/dist/remarkable-ui/index.d.ts.map +1 -1
  67. package/dist/{timeRange.utils-Yy_Z93Kv.js → timeRange.utils-DuutFoIE.js} +2 -2
  68. package/dist/{timeRange.utils-Yy_Z93Kv.js.map → timeRange.utils-DuutFoIE.js.map} +1 -1
  69. package/package.json +1 -1
@@ -272,9 +272,9 @@ function At(e, ...t) {
272
272
  if (!(x in m))
273
273
  continue;
274
274
  let k = !1, S = m[x];
275
- const C = Object.getOwnPropertyDescriptor(m, x);
276
- if (C && typeof C.set == "function" && typeof C.get != "function") {
277
- i.skipSetters || Object.defineProperty(g, x, C);
275
+ const M = Object.getOwnPropertyDescriptor(m, x);
276
+ if (M && typeof M.set == "function" && typeof M.get != "function") {
277
+ i.skipSetters || Object.defineProperty(g, x, M);
278
278
  continue;
279
279
  }
280
280
  if (i.filter !== Xe.filter) {
@@ -351,14 +351,14 @@ function At(e, ...t) {
351
351
  Object.defineProperty(g, x, P);
352
352
  continue;
353
353
  }
354
- if (C) {
355
- const { configurable: P, enumerable: O, get: T, set: I, writable: F } = C;
354
+ if (M) {
355
+ const { configurable: P, enumerable: O, get: T, set: I, writable: F } = M;
356
356
  Object.assign(_, {
357
357
  configurable: P,
358
358
  enumerable: O
359
359
  }), typeof T == "function" && (i.invokeGetters ? _.value = S : _.get = T), !i.skipSetters && typeof I == "function" && !Object.hasOwnProperty.call(_, "value") && (_.set = I), !_.get && !_.set && (_.writable = !!F);
360
360
  }
361
- !_.get && !_.set && !("value" in _) && (_.value = S, _.writable = C && "writable" in C ? C.writable : !0), Object.defineProperty(g, x, _);
361
+ !_.get && !_.set && !("value" in _) && (_.value = S, _.writable = M && "writable" in M ? M.writable : !0), Object.defineProperty(g, x, _);
362
362
  }
363
363
  return g;
364
364
  }, {});
@@ -401,7 +401,7 @@ const ts = "en-US", Ee = (e, { mapFn: t = (i) => i, filterFn: n = Boolean }) =>
401
401
  const i = e.filter(n);
402
402
  if (i.length !== 0)
403
403
  return i.map(t);
404
- }, ia = (e) => e.name, Mh = (e) => !!(e && e.dimension && (e.granularity || e.dateRange)), Ch = (e, t, n, i) => {
404
+ }, ia = (e) => e.name, Ch = (e) => !!(e && e.dimension && (e.granularity || e.dateRange)), Mh = (e, t, n, i) => {
405
405
  const s = [], o = [
406
406
  ...[...n, ...t].filter(Boolean).map((r) => r.name),
407
407
  ...i.filter(Boolean).map((r) => r.dimension).filter(Boolean)
@@ -501,7 +501,7 @@ function Oh(e) {
501
501
  return t.dimensions = sa(t.dimensions), t.measures = sa(t.measures), t;
502
502
  }
503
503
  function Dh(e, t, n, i) {
504
- const s = Ch(e ?? [], t, n, i);
504
+ const s = Mh(e ?? [], t, n, i);
505
505
  return s.length > 0 ? `Cannot order by ${s.join(", ")} as no such ${s.length === 1 ? "property" : "properties"} has been loaded.` : null;
506
506
  }
507
507
  function Eh(e) {
@@ -525,7 +525,7 @@ function Th(e, t, n, i, s) {
525
525
  dimensions: Ee(t, { mapFn: ia }) ?? [],
526
526
  measures: Ee(n, { mapFn: ia }) ?? [],
527
527
  order: s,
528
- timeDimensions: Ee(i, { filterFn: Mh }) ?? [],
528
+ timeDimensions: Ee(i, { filterFn: Ch }) ?? [],
529
529
  offset: e.offset,
530
530
  limit: e.limit,
531
531
  variableValues: e.from.variableValues,
@@ -706,7 +706,7 @@ var la;
706
706
  function Qh() {
707
707
  return la || (la = 1, so.exports = Zh()), so.exports;
708
708
  }
709
- var M = Qh();
709
+ var C = Qh();
710
710
  const B = (e) => typeof e == "string", wn = () => {
711
711
  let e, t;
712
712
  const n = new Promise((i, s) => {
@@ -1070,7 +1070,7 @@ class is extends ks {
1070
1070
  let p = h == null ? void 0 : h.res;
1071
1071
  const g = (h == null ? void 0 : h.usedKey) || a, m = (h == null ? void 0 : h.exactUsedKey) || a, b = ["[object Number]", "[object Function]", "[object RegExp]"], y = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, x = !this.i18nFormat || this.i18nFormat.handleAsObject, w = s.count !== void 0 && !B(s.count), _ = is.hasDefaultValue(s), k = w ? this.pluralResolver.getSuffix(d, s.count, s) : "", S = s.ordinal && w ? this.pluralResolver.getSuffix(d, s.count, {
1072
1072
  ordinal: !1
1073
- }) : "", C = w && !s.ordinal && s.count === 0, A = C && s[`defaultValue${this.options.pluralSeparator}zero`] || s[`defaultValue${k}`] || s[`defaultValue${S}`] || s.defaultValue;
1073
+ }) : "", M = w && !s.ordinal && s.count === 0, A = M && s[`defaultValue${this.options.pluralSeparator}zero`] || s[`defaultValue${k}`] || s[`defaultValue${S}`] || s.defaultValue;
1074
1074
  let P = p;
1075
1075
  x && !p && _ && (P = A);
1076
1076
  const O = oo(P), T = Object.prototype.toString.apply(P);
@@ -1128,7 +1128,7 @@ class is extends ks {
1128
1128
  };
1129
1129
  this.options.saveMissing && (this.options.saveMissingPlurals && w ? L.forEach((U) => {
1130
1130
  const Z = this.pluralResolver.getSuffixes(U, s);
1131
- C && s[`defaultValue${this.options.pluralSeparator}zero`] && Z.indexOf(`${this.options.pluralSeparator}zero`) < 0 && Z.push(`${this.options.pluralSeparator}zero`), Z.forEach((at) => {
1131
+ M && s[`defaultValue${this.options.pluralSeparator}zero`] && Z.indexOf(`${this.options.pluralSeparator}zero`) < 0 && Z.push(`${this.options.pluralSeparator}zero`), Z.forEach((at) => {
1132
1132
  X([U], a + at, s[`defaultValue${at}`] || A);
1133
1133
  });
1134
1134
  }) : X(L, a, A));
@@ -1200,10 +1200,10 @@ class is extends ks {
1200
1200
  else {
1201
1201
  let S;
1202
1202
  f && (S = this.pluralResolver.getSuffix(x, n.count, n));
1203
- const C = `${this.options.pluralSeparator}zero`, A = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
1204
- if (f && (n.ordinal && S.indexOf(A) === 0 && w.push(u + S.replace(A, this.options.pluralSeparator)), w.push(u + S), h && w.push(u + C)), p) {
1203
+ const M = `${this.options.pluralSeparator}zero`, A = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
1204
+ if (f && (n.ordinal && S.indexOf(A) === 0 && w.push(u + S.replace(A, this.options.pluralSeparator)), w.push(u + S), h && w.push(u + M)), p) {
1205
1205
  const P = `${u}${this.options.contextSeparator || "_"}${n.context}`;
1206
- w.push(P), f && (n.ordinal && S.indexOf(A) === 0 && w.push(P + S.replace(A, this.options.pluralSeparator)), w.push(P + S), h && w.push(P + C));
1206
+ w.push(P), f && (n.ordinal && S.indexOf(A) === 0 && w.push(P + S.replace(A, this.options.pluralSeparator)), w.push(P + S), h && w.push(P + M));
1207
1207
  }
1208
1208
  }
1209
1209
  let _;
@@ -2154,7 +2154,7 @@ const wg = [["path", { d: "M15 6l-6 6l6 6", key: "svg-0" }]], Sg = Lt("outline",
2154
2154
  * This source code is licensed under the MIT license.
2155
2155
  * See the LICENSE file in the root directory of this source tree.
2156
2156
  */
2157
- const Mg = [["path", { d: "M9 6l6 6l-6 6", key: "svg-0" }]], Cg = Lt("outline", "chevron-right", "ChevronRight", Mg);
2157
+ const Cg = [["path", { d: "M9 6l6 6l-6 6", key: "svg-0" }]], Mg = Lt("outline", "chevron-right", "ChevronRight", Cg);
2158
2158
  /**
2159
2159
  * @license @tabler/icons-react v3.35.0 - MIT
2160
2160
  *
@@ -2237,17 +2237,17 @@ function ft() {
2237
2237
  return i;
2238
2238
  }
2239
2239
  const Yg = It.forwardRef(
2240
- ({ children: e, className: t, ...n }, i) => /* @__PURE__ */ M.jsx("div", { className: ft(ss.card, t), ref: i, ...n, children: e })
2240
+ ({ children: e, className: t, ...n }, i) => /* @__PURE__ */ C.jsx("div", { className: ft(ss.card, t), ref: i, ...n, children: e })
2241
2241
  );
2242
2242
  Yg.displayName = "Card";
2243
- const c1 = ({ title: e, subtitle: t, rightContent: n }) => !e && !t && !n ? null : /* @__PURE__ */ M.jsxs("div", { className: ss.cardHeader, children: [
2244
- /* @__PURE__ */ M.jsxs("div", { className: ss.leftContent, children: [
2245
- e && /* @__PURE__ */ M.jsx("h1", { children: e }),
2246
- t && /* @__PURE__ */ M.jsx("p", { children: t })
2243
+ const c1 = ({ title: e, subtitle: t, rightContent: n }) => !e && !t && !n ? null : /* @__PURE__ */ C.jsxs("div", { className: ss.cardHeader, children: [
2244
+ /* @__PURE__ */ C.jsxs("div", { className: ss.leftContent, children: [
2245
+ e && /* @__PURE__ */ C.jsx("h1", { children: e }),
2246
+ t && /* @__PURE__ */ C.jsx("p", { children: t })
2247
2247
  ] }),
2248
2248
  n
2249
2249
  ] }), Ug = It.forwardRef(
2250
- ({ children: e }, t) => /* @__PURE__ */ M.jsx("div", { className: ss.cardContent, ref: t, children: e })
2250
+ ({ children: e }, t) => /* @__PURE__ */ C.jsx("div", { className: ss.cardContent, ref: t, children: e })
2251
2251
  );
2252
2252
  Ug.displayName = "CardContent";
2253
2253
  const Kg = "_feedback_4vety_1", Xg = "_error_4vety_36", Sa = {
@@ -2259,20 +2259,20 @@ const Kg = "_feedback_4vety_1", Xg = "_error_4vety_36", Sa = {
2259
2259
  message: n,
2260
2260
  className: i,
2261
2261
  variant: s = "info"
2262
- }) => /* @__PURE__ */ M.jsxs("div", { className: ft(Sa.feedback, Sa[s], i), children: [
2263
- e && /* @__PURE__ */ M.jsx(e, {}),
2264
- /* @__PURE__ */ M.jsx("h2", { children: t }),
2265
- /* @__PURE__ */ M.jsx("p", { children: n })
2266
- ] }), Gg = "_actionIcon_9fjsd_1", Ma = {
2262
+ }) => /* @__PURE__ */ C.jsxs("div", { className: ft(Sa.feedback, Sa[s], i), children: [
2263
+ e && /* @__PURE__ */ C.jsx(e, {}),
2264
+ /* @__PURE__ */ C.jsx("h2", { children: t }),
2265
+ /* @__PURE__ */ C.jsx("p", { children: n })
2266
+ ] }), Gg = "_actionIcon_9fjsd_1", Ca = {
2267
2267
  actionIcon: Gg
2268
- }, En = ({ icon: e, className: t, ...n }) => /* @__PURE__ */ M.jsx("button", { className: ft(Ma.actionIcon, t), ...n, children: /* @__PURE__ */ M.jsx(e, { className: Ma.icon }) });
2268
+ }, En = ({ icon: e, className: t, ...n }) => /* @__PURE__ */ C.jsx("button", { className: ft(Ca.actionIcon, t), ...n, children: /* @__PURE__ */ C.jsx(e, { className: Ca.icon }) });
2269
2269
  function K(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
2270
2270
  return function(s) {
2271
2271
  if (e == null || e(s), n === !1 || !s.defaultPrevented)
2272
2272
  return t == null ? void 0 : t(s);
2273
2273
  };
2274
2274
  }
2275
- function Ca(e, t) {
2275
+ function Ma(e, t) {
2276
2276
  if (typeof e == "function")
2277
2277
  return e(t);
2278
2278
  e != null && (e.current = t);
@@ -2281,14 +2281,14 @@ function Ps(...e) {
2281
2281
  return (t) => {
2282
2282
  let n = !1;
2283
2283
  const i = e.map((s) => {
2284
- const o = Ca(s, t);
2284
+ const o = Ma(s, t);
2285
2285
  return !n && typeof o == "function" && (n = !0), o;
2286
2286
  });
2287
2287
  if (n)
2288
2288
  return () => {
2289
2289
  for (let s = 0; s < i.length; s++) {
2290
2290
  const o = i[s];
2291
- typeof o == "function" ? o() : Ca(e[s], null);
2291
+ typeof o == "function" ? o() : Ma(e[s], null);
2292
2292
  }
2293
2293
  };
2294
2294
  };
@@ -2304,7 +2304,7 @@ function ri(e, t = []) {
2304
2304
  const c = (d) => {
2305
2305
  var b;
2306
2306
  const { scope: f, children: h, ...p } = d, g = ((b = f == null ? void 0 : f[e]) == null ? void 0 : b[l]) || a, m = v.useMemo(() => p, Object.values(p));
2307
- return /* @__PURE__ */ M.jsx(g.Provider, { value: m, children: h });
2307
+ return /* @__PURE__ */ C.jsx(g.Provider, { value: m, children: h });
2308
2308
  };
2309
2309
  c.displayName = o + "Provider";
2310
2310
  function u(d, f) {
@@ -2402,9 +2402,9 @@ function os(e) {
2402
2402
  const { children: o, ...r } = i, a = v.Children.toArray(o), l = a.find(np);
2403
2403
  if (l) {
2404
2404
  const c = l.props.children, u = a.map((d) => d === l ? v.Children.count(c) > 1 ? v.Children.only(null) : v.isValidElement(c) ? c.props.children : null : d);
2405
- return /* @__PURE__ */ M.jsx(t, { ...r, ref: s, children: v.isValidElement(c) ? v.cloneElement(c, void 0, u) : null });
2405
+ return /* @__PURE__ */ C.jsx(t, { ...r, ref: s, children: v.isValidElement(c) ? v.cloneElement(c, void 0, u) : null });
2406
2406
  }
2407
- return /* @__PURE__ */ M.jsx(t, { ...r, ref: s, children: o });
2407
+ return /* @__PURE__ */ C.jsx(t, { ...r, ref: s, children: o });
2408
2408
  });
2409
2409
  return n.displayName = `${e}.Slot`, n;
2410
2410
  }
@@ -2461,7 +2461,7 @@ var op = [
2461
2461
  ], _t = op.reduce((e, t) => {
2462
2462
  const n = /* @__PURE__ */ os(`Primitive.${t}`), i = v.forwardRef((s, o) => {
2463
2463
  const { asChild: r, ...a } = s, l = r ? n : t;
2464
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ M.jsx(l, { ...a, ref: o });
2464
+ return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ C.jsx(l, { ...a, ref: o });
2465
2465
  });
2466
2466
  return i.displayName = `Primitive.${t}`, { ...e, [t]: i };
2467
2467
  }, {});
@@ -2474,20 +2474,20 @@ function su(e) {
2474
2474
  { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
2475
2475
  ), r = (g) => {
2476
2476
  const { scope: m, children: b } = g, y = It.useRef(null), x = It.useRef(/* @__PURE__ */ new Map()).current;
2477
- return /* @__PURE__ */ M.jsx(s, { scope: m, itemMap: x, collectionRef: y, children: b });
2477
+ return /* @__PURE__ */ C.jsx(s, { scope: m, itemMap: x, collectionRef: y, children: b });
2478
2478
  };
2479
2479
  r.displayName = t;
2480
2480
  const a = e + "CollectionSlot", l = /* @__PURE__ */ os(a), c = It.forwardRef(
2481
2481
  (g, m) => {
2482
2482
  const { scope: b, children: y } = g, x = o(a, b), w = xt(m, x.collectionRef);
2483
- return /* @__PURE__ */ M.jsx(l, { ref: w, children: y });
2483
+ return /* @__PURE__ */ C.jsx(l, { ref: w, children: y });
2484
2484
  }
2485
2485
  );
2486
2486
  c.displayName = a;
2487
2487
  const u = e + "CollectionItemSlot", d = "data-radix-collection-item", f = /* @__PURE__ */ os(u), h = It.forwardRef(
2488
2488
  (g, m) => {
2489
2489
  const { scope: b, children: y, ...x } = g, w = It.useRef(null), _ = xt(m, w), k = o(u, b);
2490
- return It.useEffect(() => (k.itemMap.set(w, { ref: w, ...x }), () => void k.itemMap.delete(w))), /* @__PURE__ */ M.jsx(f, { [d]: "", ref: _, children: y });
2490
+ return It.useEffect(() => (k.itemMap.set(w, { ref: w, ...x }), () => void k.itemMap.delete(w))), /* @__PURE__ */ C.jsx(f, { [d]: "", ref: _, children: y });
2491
2491
  }
2492
2492
  );
2493
2493
  h.displayName = u;
@@ -2546,11 +2546,11 @@ var lp = "DismissableLayer", No = "dismissableLayer.update", cp = "dismissableLa
2546
2546
  onDismiss: a,
2547
2547
  ...l
2548
2548
  } = e, c = v.useContext(ru), [u, d] = v.useState(null), f = (u == null ? void 0 : u.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, h] = v.useState({}), p = xt(t, (S) => d(S)), g = Array.from(c.layers), [m] = [...c.layersWithOutsidePointerEventsDisabled].slice(-1), b = g.indexOf(m), y = u ? g.indexOf(u) : -1, x = c.layersWithOutsidePointerEventsDisabled.size > 0, w = y >= b, _ = hp((S) => {
2549
- const C = S.target, A = [...c.branches].some((P) => P.contains(C));
2549
+ const M = S.target, A = [...c.branches].some((P) => P.contains(M));
2550
2550
  !w || A || (s == null || s(S), r == null || r(S), S.defaultPrevented || a == null || a());
2551
2551
  }, f), k = gp((S) => {
2552
- const C = S.target;
2553
- [...c.branches].some((P) => P.contains(C)) || (o == null || o(S), r == null || r(S), S.defaultPrevented || a == null || a());
2552
+ const M = S.target;
2553
+ [...c.branches].some((P) => P.contains(M)) || (o == null || o(S), r == null || r(S), S.defaultPrevented || a == null || a());
2554
2554
  }, f);
2555
2555
  return ap((S) => {
2556
2556
  y === c.layers.size - 1 && (i == null || i(S), !S.defaultPrevented && a && (S.preventDefault(), a()));
@@ -2564,7 +2564,7 @@ var lp = "DismissableLayer", No = "dismissableLayer.update", cp = "dismissableLa
2564
2564
  }, [u, c]), v.useEffect(() => {
2565
2565
  const S = () => h({});
2566
2566
  return document.addEventListener(No, S), () => document.removeEventListener(No, S);
2567
- }, []), /* @__PURE__ */ M.jsx(
2567
+ }, []), /* @__PURE__ */ C.jsx(
2568
2568
  _t.div,
2569
2569
  {
2570
2570
  ...l,
@@ -2592,7 +2592,7 @@ var dp = "DismissableLayerBranch", fp = v.forwardRef((e, t) => {
2592
2592
  return n.branches.add(o), () => {
2593
2593
  n.branches.delete(o);
2594
2594
  };
2595
- }, [n.branches]), /* @__PURE__ */ M.jsx(_t.div, { ...e, ref: s });
2595
+ }, [n.branches]), /* @__PURE__ */ C.jsx(_t.div, { ...e, ref: s });
2596
2596
  });
2597
2597
  fp.displayName = dp;
2598
2598
  function hp(e, t = globalThis == null ? void 0 : globalThis.document) {
@@ -2724,7 +2724,7 @@ var lo = "focusScope.autoFocusOnMount", co = "focusScope.autoFocusOnUnmount", Ra
2724
2724
  },
2725
2725
  [n, i, h.paused]
2726
2726
  );
2727
- return /* @__PURE__ */ M.jsx(_t.div, { tabIndex: -1, ...r, ref: f, onKeyDown: p });
2727
+ return /* @__PURE__ */ C.jsx(_t.div, { tabIndex: -1, ...r, ref: f, onKeyDown: p });
2728
2728
  });
2729
2729
  cu.displayName = mp;
2730
2730
  function bp(e, { select: t = !1 } = {}) {
@@ -2790,14 +2790,14 @@ function wp(e) {
2790
2790
  return e.filter((t) => t.tagName !== "A");
2791
2791
  }
2792
2792
  var Sp = v[" useId ".trim().toString()] || (() => {
2793
- }), Mp = 0;
2793
+ }), Cp = 0;
2794
2794
  function jo(e) {
2795
2795
  const [t, n] = v.useState(Sp());
2796
2796
  return Fe(() => {
2797
- n((i) => i ?? String(Mp++));
2797
+ n((i) => i ?? String(Cp++));
2798
2798
  }, [e]), e || (t ? `radix-${t}` : "");
2799
2799
  }
2800
- const Cp = ["top", "right", "bottom", "left"], ve = Math.min, kt = Math.max, rs = Math.round, xi = Math.floor, Wt = (e) => ({
2800
+ const Mp = ["top", "right", "bottom", "left"], ve = Math.min, kt = Math.max, rs = Math.round, xi = Math.floor, Wt = (e) => ({
2801
2801
  x: e,
2802
2802
  y: e
2803
2803
  }), kp = {
@@ -3081,7 +3081,7 @@ const Np = (e) => ({
3081
3081
  }, h = hr(s), p = fr(h), g = await r.getDimensions(c), m = h === "y", b = m ? "top" : "left", y = m ? "bottom" : "right", x = m ? "clientHeight" : "clientWidth", w = o.reference[p] + o.reference[h] - f[h] - o.floating[p], _ = f[h] - o.reference[h], k = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(c));
3082
3082
  let S = k ? k[x] : 0;
3083
3083
  (!S || !await (r.isElement == null ? void 0 : r.isElement(k))) && (S = a.floating[x] || o.floating[p]);
3084
- const C = w / 2 - _ / 2, A = S / 2 - g[p] / 2 - 1, P = ve(d[b], A), O = ve(d[y], A), T = P, I = S - g[p] - O, F = S / 2 - g[p] / 2 + C, j = Bo(T, F, I), D = !l.arrow && dn(s) != null && F !== j && o.reference[p] / 2 - (F < T ? P : O) - g[p] / 2 < 0, N = D ? F < T ? F - T : F - I : 0;
3084
+ const M = w / 2 - _ / 2, A = S / 2 - g[p] / 2 - 1, P = ve(d[b], A), O = ve(d[y], A), T = P, I = S - g[p] - O, F = S / 2 - g[p] / 2 + M, j = Bo(T, F, I), D = !l.arrow && dn(s) != null && F !== j && o.reference[p] / 2 - (F < T ? P : O) - g[p] / 2 < 0, N = D ? F < T ? F - T : F - I : 0;
3085
3085
  return {
3086
3086
  [h]: f[h] + N,
3087
3087
  data: {
@@ -3120,11 +3120,11 @@ const Np = (e) => ({
3120
3120
  return {};
3121
3121
  const b = oe(s), y = Vt(a), x = oe(a) === a, w = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), _ = f || (x || !g ? [as(a)] : Op(a)), k = p !== "none";
3122
3122
  !f && k && _.push(...Lp(a, g, p, w));
3123
- const S = [a, ..._], C = await Gn(t, m), A = [];
3123
+ const S = [a, ..._], M = await Gn(t, m), A = [];
3124
3124
  let P = ((i = o.flip) == null ? void 0 : i.overflows) || [];
3125
- if (u && A.push(C[b]), d) {
3125
+ if (u && A.push(M[b]), d) {
3126
3126
  const F = Rp(s, r, w);
3127
- A.push(C[F[0]], C[F[1]]);
3127
+ A.push(M[F[0]], M[F[1]]);
3128
3128
  }
3129
3129
  if (P = [...P, {
3130
3130
  placement: s,
@@ -3185,7 +3185,7 @@ function Fa(e, t) {
3185
3185
  };
3186
3186
  }
3187
3187
  function Na(e) {
3188
- return Cp.some((t) => e[t] >= 0);
3188
+ return Mp.some((t) => e[t] >= 0);
3189
3189
  }
3190
3190
  const Bp = function(e) {
3191
3191
  return e === void 0 && (e = {}), {
@@ -3398,14 +3398,14 @@ const $p = function(e) {
3398
3398
  let m, b;
3399
3399
  d === "top" || d === "bottom" ? (m = d, b = f === (await (r.isRTL == null ? void 0 : r.isRTL(a.floating)) ? "start" : "end") ? "left" : "right") : (b = d, m = f === "end" ? "top" : "bottom");
3400
3400
  const y = g - u.top - u.bottom, x = p - u.left - u.right, w = ve(g - u[m], y), _ = ve(p - u[b], x), k = !t.middlewareData.shift;
3401
- let S = w, C = _;
3402
- if ((n = t.middlewareData.shift) != null && n.enabled.x && (C = x), (i = t.middlewareData.shift) != null && i.enabled.y && (S = y), k && !f) {
3401
+ let S = w, M = _;
3402
+ if ((n = t.middlewareData.shift) != null && n.enabled.x && (M = x), (i = t.middlewareData.shift) != null && i.enabled.y && (S = y), k && !f) {
3403
3403
  const P = kt(u.left, 0), O = kt(u.right, 0), T = kt(u.top, 0), I = kt(u.bottom, 0);
3404
- h ? C = p - 2 * (P !== 0 || O !== 0 ? P + O : kt(u.left, u.right)) : S = g - 2 * (T !== 0 || I !== 0 ? T + I : kt(u.top, u.bottom));
3404
+ h ? M = p - 2 * (P !== 0 || O !== 0 ? P + O : kt(u.left, u.right)) : S = g - 2 * (T !== 0 || I !== 0 ? T + I : kt(u.top, u.bottom));
3405
3405
  }
3406
3406
  await l({
3407
3407
  ...t,
3408
- availableWidth: C,
3408
+ availableWidth: M,
3409
3409
  availableHeight: S
3410
3410
  });
3411
3411
  const A = await r.getDimensions(a.floating);
@@ -3917,8 +3917,8 @@ const bm = $p, ym = Vp, xm = jp, vm = Hp, _m = Bp, Va = Np, wm = Wp, Sm = (e, t,
3917
3917
  platform: o
3918
3918
  });
3919
3919
  };
3920
- var Mm = typeof document < "u", Cm = function() {
3921
- }, Yi = Mm ? yh : Cm;
3920
+ var Cm = typeof document < "u", Mm = function() {
3921
+ }, Yi = Cm ? yh : Mm;
3922
3922
  function cs(e, t) {
3923
3923
  if (e === t)
3924
3924
  return !0;
@@ -3989,7 +3989,7 @@ function km(e) {
3989
3989
  L !== k.current && (k.current = L, g(L));
3990
3990
  }, []), x = v.useCallback((L) => {
3991
3991
  L !== S.current && (S.current = L, b(L));
3992
- }, []), w = o || p, _ = r || m, k = v.useRef(null), S = v.useRef(null), C = v.useRef(u), A = l != null, P = fo(l), O = fo(s), T = fo(c), I = v.useCallback(() => {
3992
+ }, []), w = o || p, _ = r || m, k = v.useRef(null), S = v.useRef(null), M = v.useRef(u), A = l != null, P = fo(l), O = fo(s), T = fo(c), I = v.useCallback(() => {
3993
3993
  if (!k.current || !S.current)
3994
3994
  return;
3995
3995
  const L = {
@@ -4006,13 +4006,13 @@ function km(e) {
4006
4006
  // setting it to `true` when `open === false` (must be specified).
4007
4007
  isPositioned: T.current !== !1
4008
4008
  };
4009
- F.current && !cs(C.current, X) && (C.current = X, Hc.flushSync(() => {
4009
+ F.current && !cs(M.current, X) && (M.current = X, Hc.flushSync(() => {
4010
4010
  d(X);
4011
4011
  }));
4012
4012
  });
4013
4013
  }, [f, t, n, O, T]);
4014
4014
  Yi(() => {
4015
- c === !1 && C.current.isPositioned && (C.current.isPositioned = !1, d((L) => ({
4015
+ c === !1 && M.current.isPositioned && (M.current.isPositioned = !1, d((L) => ({
4016
4016
  ...L,
4017
4017
  isPositioned: !1
4018
4018
  })));
@@ -4109,7 +4109,7 @@ const Pm = (e) => {
4109
4109
  });
4110
4110
  var Im = "Arrow", wu = v.forwardRef((e, t) => {
4111
4111
  const { children: n, width: i = 10, height: s = 5, ...o } = e;
4112
- return /* @__PURE__ */ M.jsx(
4112
+ return /* @__PURE__ */ C.jsx(
4113
4113
  _t.svg,
4114
4114
  {
4115
4115
  ...o,
@@ -4118,7 +4118,7 @@ var Im = "Arrow", wu = v.forwardRef((e, t) => {
4118
4118
  height: s,
4119
4119
  viewBox: "0 0 30 10",
4120
4120
  preserveAspectRatio: "none",
4121
- children: e.asChild ? n : /* @__PURE__ */ M.jsx("polygon", { points: "0,0 30,0 15,10" })
4121
+ children: e.asChild ? n : /* @__PURE__ */ C.jsx("polygon", { points: "0,0 30,0 15,10" })
4122
4122
  }
4123
4123
  );
4124
4124
  });
@@ -4146,18 +4146,18 @@ function Nm(e) {
4146
4146
  n(void 0);
4147
4147
  }, [e]), t;
4148
4148
  }
4149
- var br = "Popper", [Su, Mu] = ri(br), [jm, Cu] = Su(br), ku = (e) => {
4149
+ var br = "Popper", [Su, Cu] = ri(br), [jm, Mu] = Su(br), ku = (e) => {
4150
4150
  const { __scopePopper: t, children: n } = e, [i, s] = v.useState(null);
4151
- return /* @__PURE__ */ M.jsx(jm, { scope: t, anchor: i, onAnchorChange: s, children: n });
4151
+ return /* @__PURE__ */ C.jsx(jm, { scope: t, anchor: i, onAnchorChange: s, children: n });
4152
4152
  };
4153
4153
  ku.displayName = br;
4154
4154
  var Pu = "PopperAnchor", Au = v.forwardRef(
4155
4155
  (e, t) => {
4156
- const { __scopePopper: n, virtualRef: i, ...s } = e, o = Cu(Pu, n), r = v.useRef(null), a = xt(t, r), l = v.useRef(null);
4156
+ const { __scopePopper: n, virtualRef: i, ...s } = e, o = Mu(Pu, n), r = v.useRef(null), a = xt(t, r), l = v.useRef(null);
4157
4157
  return v.useEffect(() => {
4158
4158
  const c = l.current;
4159
4159
  l.current = (i == null ? void 0 : i.current) || r.current, c !== l.current && o.onAnchorChange(l.current);
4160
- }), i ? null : /* @__PURE__ */ M.jsx(_t.div, { ...s, ref: a });
4160
+ }), i ? null : /* @__PURE__ */ C.jsx(_t.div, { ...s, ref: a });
4161
4161
  }
4162
4162
  );
4163
4163
  Au.displayName = Pu;
@@ -4179,7 +4179,7 @@ var yr = "PopperContent", [Bm, zm] = Su(yr), Ru = v.forwardRef(
4179
4179
  updatePositionStrategy: h = "optimized",
4180
4180
  onPlaced: p,
4181
4181
  ...g
4182
- } = e, m = Cu(yr, n), [b, y] = v.useState(null), x = xt(t, (vn) => y(vn)), [w, _] = v.useState(null), k = Nm(w), S = (k == null ? void 0 : k.width) ?? 0, C = (k == null ? void 0 : k.height) ?? 0, A = i + (o !== "center" ? "-" + o : ""), P = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, O = Array.isArray(c) ? c : [c], T = O.length > 0, I = {
4182
+ } = e, m = Mu(yr, n), [b, y] = v.useState(null), x = xt(t, (vn) => y(vn)), [w, _] = v.useState(null), k = Nm(w), S = (k == null ? void 0 : k.width) ?? 0, M = (k == null ? void 0 : k.height) ?? 0, A = i + (o !== "center" ? "-" + o : ""), P = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, O = Array.isArray(c) ? c : [c], T = O.length > 0, I = {
4183
4183
  padding: P,
4184
4184
  boundary: O.filter(Vm),
4185
4185
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
@@ -4195,7 +4195,7 @@ var yr = "PopperContent", [Bm, zm] = Su(yr), Ru = v.forwardRef(
4195
4195
  reference: m.anchor
4196
4196
  },
4197
4197
  middleware: [
4198
- Am({ mainAxis: s + C, alignmentAxis: r }),
4198
+ Am({ mainAxis: s + M, alignmentAxis: r }),
4199
4199
  l && Rm({
4200
4200
  mainAxis: !0,
4201
4201
  crossAxis: !1,
@@ -4211,7 +4211,7 @@ var yr = "PopperContent", [Bm, zm] = Su(yr), Ru = v.forwardRef(
4211
4211
  }
4212
4212
  }),
4213
4213
  w && Lm({ element: w, padding: a }),
4214
- Wm({ arrowWidth: S, arrowHeight: C }),
4214
+ Wm({ arrowWidth: S, arrowHeight: M }),
4215
4215
  f && Tm({ strategy: "referenceHidden", ...I })
4216
4216
  ]
4217
4217
  }), [R, X] = Eu(D), U = ie(p);
@@ -4221,7 +4221,7 @@ var yr = "PopperContent", [Bm, zm] = Su(yr), Ru = v.forwardRef(
4221
4221
  const Z = (Jt = L.arrow) == null ? void 0 : Jt.x, at = (yn = L.arrow) == null ? void 0 : yn.y, ct = ((Rt = L.arrow) == null ? void 0 : Rt.centerOffset) !== 0, [St, gt] = v.useState();
4222
4222
  return Fe(() => {
4223
4223
  b && gt(window.getComputedStyle(b).zIndex);
4224
- }, [b]), /* @__PURE__ */ M.jsx(
4224
+ }, [b]), /* @__PURE__ */ C.jsx(
4225
4225
  "div",
4226
4226
  {
4227
4227
  ref: F.setFloating,
@@ -4245,7 +4245,7 @@ var yr = "PopperContent", [Bm, zm] = Su(yr), Ru = v.forwardRef(
4245
4245
  }
4246
4246
  },
4247
4247
  dir: e.dir,
4248
- children: /* @__PURE__ */ M.jsx(
4248
+ children: /* @__PURE__ */ C.jsx(
4249
4249
  Bm,
4250
4250
  {
4251
4251
  scope: n,
@@ -4254,7 +4254,7 @@ var yr = "PopperContent", [Bm, zm] = Su(yr), Ru = v.forwardRef(
4254
4254
  arrowX: Z,
4255
4255
  arrowY: at,
4256
4256
  shouldHideArrow: ct,
4257
- children: /* @__PURE__ */ M.jsx(
4257
+ children: /* @__PURE__ */ C.jsx(
4258
4258
  _t.div,
4259
4259
  {
4260
4260
  "data-side": R,
@@ -4287,7 +4287,7 @@ var Ou = "PopperArrow", $m = {
4287
4287
  // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
4288
4288
  // doesn't report size as we'd expect on SVG elements.
4289
4289
  // it reports their bounding box which is effectively the largest path inside the SVG.
4290
- /* @__PURE__ */ M.jsx(
4290
+ /* @__PURE__ */ C.jsx(
4291
4291
  "span",
4292
4292
  {
4293
4293
  ref: o.onArrowChange,
@@ -4310,7 +4310,7 @@ var Ou = "PopperArrow", $m = {
4310
4310
  }[o.placedSide],
4311
4311
  visibility: o.shouldHideArrow ? "hidden" : void 0
4312
4312
  },
4313
- children: /* @__PURE__ */ M.jsx(
4313
+ children: /* @__PURE__ */ C.jsx(
4314
4314
  Fm,
4315
4315
  {
4316
4316
  ...s,
@@ -4414,7 +4414,7 @@ var ho = "rovingFocusGroup.onEntryFocus", qm = { bubbles: !1, cancelable: !0 },
4414
4414
  li,
4415
4415
  [Zm]
4416
4416
  ), [tb, eb] = Qm(li), Iu = v.forwardRef(
4417
- (e, t) => /* @__PURE__ */ M.jsx(Vo.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ M.jsx(Vo.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ M.jsx(nb, { ...e, ref: t }) }) })
4417
+ (e, t) => /* @__PURE__ */ C.jsx(Vo.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ C.jsx(Vo.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ C.jsx(nb, { ...e, ref: t }) }) })
4418
4418
  );
4419
4419
  Iu.displayName = li;
4420
4420
  var nb = v.forwardRef((e, t) => {
@@ -4436,10 +4436,10 @@ var nb = v.forwardRef((e, t) => {
4436
4436
  caller: li
4437
4437
  }), [b, y] = v.useState(!1), x = ie(c), w = Tu(n), _ = v.useRef(!1), [k, S] = v.useState(0);
4438
4438
  return v.useEffect(() => {
4439
- const C = f.current;
4440
- if (C)
4441
- return C.addEventListener(ho, x), () => C.removeEventListener(ho, x);
4442
- }, [x]), /* @__PURE__ */ M.jsx(
4439
+ const M = f.current;
4440
+ if (M)
4441
+ return M.addEventListener(ho, x), () => M.removeEventListener(ho, x);
4442
+ }, [x]), /* @__PURE__ */ C.jsx(
4443
4443
  tb,
4444
4444
  {
4445
4445
  scope: n,
@@ -4448,19 +4448,19 @@ var nb = v.forwardRef((e, t) => {
4448
4448
  loop: s,
4449
4449
  currentTabStopId: g,
4450
4450
  onItemFocus: v.useCallback(
4451
- (C) => m(C),
4451
+ (M) => m(M),
4452
4452
  [m]
4453
4453
  ),
4454
4454
  onItemShiftTab: v.useCallback(() => y(!0), []),
4455
4455
  onFocusableItemAdd: v.useCallback(
4456
- () => S((C) => C + 1),
4456
+ () => S((M) => M + 1),
4457
4457
  []
4458
4458
  ),
4459
4459
  onFocusableItemRemove: v.useCallback(
4460
- () => S((C) => C - 1),
4460
+ () => S((M) => M - 1),
4461
4461
  []
4462
4462
  ),
4463
- children: /* @__PURE__ */ M.jsx(
4463
+ children: /* @__PURE__ */ C.jsx(
4464
4464
  _t.div,
4465
4465
  {
4466
4466
  tabIndex: b || k === 0 ? -1 : 0,
@@ -4471,11 +4471,11 @@ var nb = v.forwardRef((e, t) => {
4471
4471
  onMouseDown: K(e.onMouseDown, () => {
4472
4472
  _.current = !0;
4473
4473
  }),
4474
- onFocus: K(e.onFocus, (C) => {
4474
+ onFocus: K(e.onFocus, (M) => {
4475
4475
  const A = !_.current;
4476
- if (C.target === C.currentTarget && A && !b) {
4476
+ if (M.target === M.currentTarget && A && !b) {
4477
4477
  const P = new CustomEvent(ho, qm);
4478
- if (C.currentTarget.dispatchEvent(P), !P.defaultPrevented) {
4478
+ if (M.currentTarget.dispatchEvent(P), !P.defaultPrevented) {
4479
4479
  const O = w().filter((D) => D.focusable), T = O.find((D) => D.active), I = O.find((D) => D.id === g), j = [T, I, ...O].filter(
4480
4480
  Boolean
4481
4481
  ).map((D) => D.ref.current);
@@ -4502,14 +4502,14 @@ var nb = v.forwardRef((e, t) => {
4502
4502
  return v.useEffect(() => {
4503
4503
  if (i)
4504
4504
  return h(), () => p();
4505
- }, [i, h, p]), /* @__PURE__ */ M.jsx(
4505
+ }, [i, h, p]), /* @__PURE__ */ C.jsx(
4506
4506
  Vo.ItemSlot,
4507
4507
  {
4508
4508
  scope: n,
4509
4509
  id: c,
4510
4510
  focusable: i,
4511
4511
  active: s,
4512
- children: /* @__PURE__ */ M.jsx(
4512
+ children: /* @__PURE__ */ C.jsx(
4513
4513
  _t.span,
4514
4514
  {
4515
4515
  tabIndex: d ? 0 : -1,
@@ -4792,7 +4792,7 @@ var Sb = function() {
4792
4792
  if (typeof __webpack_nonce__ < "u")
4793
4793
  return __webpack_nonce__;
4794
4794
  };
4795
- function Mb() {
4795
+ function Cb() {
4796
4796
  if (!document)
4797
4797
  return null;
4798
4798
  var e = document.createElement("style");
@@ -4800,7 +4800,7 @@ function Mb() {
4800
4800
  var t = Sb();
4801
4801
  return t && e.setAttribute("nonce", t), e;
4802
4802
  }
4803
- function Cb(e, t) {
4803
+ function Mb(e, t) {
4804
4804
  e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
4805
4805
  }
4806
4806
  function kb(e) {
@@ -4811,7 +4811,7 @@ var Pb = function() {
4811
4811
  var e = 0, t = null;
4812
4812
  return {
4813
4813
  add: function(n) {
4814
- e == 0 && (t = Mb()) && (Cb(t, n), kb(t)), e++;
4814
+ e == 0 && (t = Cb()) && (Mb(t, n), kb(t)), e++;
4815
4815
  },
4816
4816
  remove: function() {
4817
4817
  e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
@@ -4988,7 +4988,7 @@ var qe = Wo ? { passive: !1 } : !1, Fb = function(e) {
4988
4988
  l && (t.contains(a) || t === a)
4989
4989
  );
4990
4990
  return (u && Math.abs(d) < 1 || !u && Math.abs(f) < 1) && (c = !0), c;
4991
- }, Mi = function(e) {
4991
+ }, Ci = function(e) {
4992
4992
  return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
4993
4993
  }, Ka = function(e) {
4994
4994
  return [e.deltaX, e.deltaY];
@@ -5022,13 +5022,13 @@ function Ub(e) {
5022
5022
  var a = v.useCallback(function(g, m) {
5023
5023
  if ("touches" in g && g.touches.length === 2 || g.type === "wheel" && g.ctrlKey)
5024
5024
  return !r.current.allowPinchZoom;
5025
- var b = Mi(g), y = n.current, x = "deltaX" in g ? g.deltaX : y[0] - b[0], w = "deltaY" in g ? g.deltaY : y[1] - b[1], _, k = g.target, S = Math.abs(x) > Math.abs(w) ? "h" : "v";
5025
+ var b = Ci(g), y = n.current, x = "deltaX" in g ? g.deltaX : y[0] - b[0], w = "deltaY" in g ? g.deltaY : y[1] - b[1], _, k = g.target, S = Math.abs(x) > Math.abs(w) ? "h" : "v";
5026
5026
  if ("touches" in g && S === "h" && k.type === "range")
5027
5027
  return !1;
5028
- var C = Ua(S, k);
5029
- if (!C)
5028
+ var M = Ua(S, k);
5029
+ if (!M)
5030
5030
  return !0;
5031
- if (C ? _ = S : (_ = S === "v" ? "h" : "v", C = Ua(S, k)), !C)
5031
+ if (M ? _ = S : (_ = S === "v" ? "h" : "v", M = Ua(S, k)), !M)
5032
5032
  return !1;
5033
5033
  if (!i.current && "changedTouches" in g && (x || w) && (i.current = _), !_)
5034
5034
  return !0;
@@ -5037,7 +5037,7 @@ function Ub(e) {
5037
5037
  }, []), l = v.useCallback(function(g) {
5038
5038
  var m = g;
5039
5039
  if (!(!Ze.length || Ze[Ze.length - 1] !== o)) {
5040
- var b = "deltaY" in m ? Ka(m) : Mi(m), y = t.current.filter(function(_) {
5040
+ var b = "deltaY" in m ? Ka(m) : Ci(m), y = t.current.filter(function(_) {
5041
5041
  return _.name === m.type && (_.target === m.target || m.target === _.shadowParent) && Wb(_.delta, b);
5042
5042
  })[0];
5043
5043
  if (y && y.should) {
@@ -5059,11 +5059,11 @@ function Ub(e) {
5059
5059
  });
5060
5060
  }, 1);
5061
5061
  }, []), u = v.useCallback(function(g) {
5062
- n.current = Mi(g), i.current = void 0;
5062
+ n.current = Ci(g), i.current = void 0;
5063
5063
  }, []), d = v.useCallback(function(g) {
5064
5064
  c(g.type, Ka(g), g.target, a(g, e.lockRef.current));
5065
5065
  }, []), f = v.useCallback(function(g) {
5066
- c(g.type, Mi(g), g.target, a(g, e.lockRef.current));
5066
+ c(g.type, Ci(g), g.target, a(g, e.lockRef.current));
5067
5067
  }, []);
5068
5068
  v.useEffect(function() {
5069
5069
  return Ze.push(o), e.setCallbacks({
@@ -5102,9 +5102,9 @@ var Ho = ["Enter", " "], Gb = ["ArrowDown", "PageUp", "Home"], Xu = ["ArrowUp",
5102
5102
  rtl: ["ArrowRight"]
5103
5103
  }, ci = "Menu", [qn, Qb, ty] = su(ci), [We, Gu] = ri(ci, [
5104
5104
  ty,
5105
- Mu,
5105
+ Cu,
5106
5106
  Lu
5107
- ]), Ls = Mu(), Ju = Lu(), [ey, hn] = We(ci), [ny, ui] = We(ci), qu = (e) => {
5107
+ ]), Ls = Cu(), Ju = Lu(), [ey, hn] = We(ci), [ny, ui] = We(ci), qu = (e) => {
5108
5108
  const { __scopeMenu: t, open: n = !1, children: i, dir: s, onOpenChange: o, modal: r = !0 } = e, a = Ls(t), [l, c] = v.useState(null), u = v.useRef(!1), d = ie(o), f = ou(s);
5109
5109
  return v.useEffect(() => {
5110
5110
  const h = () => {
@@ -5113,7 +5113,7 @@ var Ho = ["Enter", " "], Gb = ["ArrowDown", "PageUp", "Home"], Xu = ["ArrowUp",
5113
5113
  return document.addEventListener("keydown", h, { capture: !0 }), () => {
5114
5114
  document.removeEventListener("keydown", h, { capture: !0 }), document.removeEventListener("pointerdown", p, { capture: !0 }), document.removeEventListener("pointermove", p, { capture: !0 });
5115
5115
  };
5116
- }, []), /* @__PURE__ */ M.jsx(Hm, { ...a, children: /* @__PURE__ */ M.jsx(
5116
+ }, []), /* @__PURE__ */ C.jsx(Hm, { ...a, children: /* @__PURE__ */ C.jsx(
5117
5117
  ey,
5118
5118
  {
5119
5119
  scope: t,
@@ -5121,7 +5121,7 @@ var Ho = ["Enter", " "], Gb = ["ArrowDown", "PageUp", "Home"], Xu = ["ArrowUp",
5121
5121
  onOpenChange: d,
5122
5122
  content: l,
5123
5123
  onContentChange: c,
5124
- children: /* @__PURE__ */ M.jsx(
5124
+ children: /* @__PURE__ */ C.jsx(
5125
5125
  ny,
5126
5126
  {
5127
5127
  scope: t,
@@ -5139,7 +5139,7 @@ qu.displayName = ci;
5139
5139
  var iy = "MenuAnchor", xr = v.forwardRef(
5140
5140
  (e, t) => {
5141
5141
  const { __scopeMenu: n, ...i } = e, s = Ls(n);
5142
- return /* @__PURE__ */ M.jsx(Ym, { ...s, ...i, ref: t });
5142
+ return /* @__PURE__ */ C.jsx(Ym, { ...s, ...i, ref: t });
5143
5143
  }
5144
5144
  );
5145
5145
  xr.displayName = iy;
@@ -5148,7 +5148,7 @@ var sy = "MenuPortal", [d1, Zu] = We(sy, {
5148
5148
  }), Tt = "MenuContent", [oy, vr] = We(Tt), Qu = v.forwardRef(
5149
5149
  (e, t) => {
5150
5150
  const n = Zu(Tt, e.__scopeMenu), { forceMount: i = n.forceMount, ...s } = e, o = hn(Tt, e.__scopeMenu), r = ui(Tt, e.__scopeMenu);
5151
- return /* @__PURE__ */ M.jsx(qn.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ M.jsx(Es, { present: i || o.open, children: /* @__PURE__ */ M.jsx(qn.Slot, { scope: e.__scopeMenu, children: r.modal ? /* @__PURE__ */ M.jsx(ry, { ...s, ref: t }) : /* @__PURE__ */ M.jsx(ay, { ...s, ref: t }) }) }) });
5151
+ return /* @__PURE__ */ C.jsx(qn.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ C.jsx(Es, { present: i || o.open, children: /* @__PURE__ */ C.jsx(qn.Slot, { scope: e.__scopeMenu, children: r.modal ? /* @__PURE__ */ C.jsx(ry, { ...s, ref: t }) : /* @__PURE__ */ C.jsx(ay, { ...s, ref: t }) }) }) });
5152
5152
  }
5153
5153
  ), ry = v.forwardRef(
5154
5154
  (e, t) => {
@@ -5156,7 +5156,7 @@ var sy = "MenuPortal", [d1, Zu] = We(sy, {
5156
5156
  return v.useEffect(() => {
5157
5157
  const o = i.current;
5158
5158
  if (o) return fb(o);
5159
- }, []), /* @__PURE__ */ M.jsx(
5159
+ }, []), /* @__PURE__ */ C.jsx(
5160
5160
  _r,
5161
5161
  {
5162
5162
  ...e,
@@ -5175,7 +5175,7 @@ var sy = "MenuPortal", [d1, Zu] = We(sy, {
5175
5175
  }
5176
5176
  ), ay = v.forwardRef((e, t) => {
5177
5177
  const n = hn(Tt, e.__scopeMenu);
5178
- return /* @__PURE__ */ M.jsx(
5178
+ return /* @__PURE__ */ C.jsx(
5179
5179
  _r,
5180
5180
  {
5181
5181
  ...e,
@@ -5203,7 +5203,7 @@ var sy = "MenuPortal", [d1, Zu] = We(sy, {
5203
5203
  onDismiss: h,
5204
5204
  disableOutsideScroll: p,
5205
5205
  ...g
5206
- } = e, m = hn(Tt, n), b = ui(Tt, n), y = Ls(n), x = Ju(n), w = Qb(n), [_, k] = v.useState(null), S = v.useRef(null), C = xt(t, S, m.onContentChange), A = v.useRef(0), P = v.useRef(""), O = v.useRef(0), T = v.useRef(null), I = v.useRef("right"), F = v.useRef(0), j = p ? Ku : v.Fragment, D = p ? { as: ly, allowPinchZoom: !0 } : void 0, N = (R) => {
5206
+ } = e, m = hn(Tt, n), b = ui(Tt, n), y = Ls(n), x = Ju(n), w = Qb(n), [_, k] = v.useState(null), S = v.useRef(null), M = xt(t, S, m.onContentChange), A = v.useRef(0), P = v.useRef(""), O = v.useRef(0), T = v.useRef(null), I = v.useRef("right"), F = v.useRef(0), j = p ? Ku : v.Fragment, D = p ? { as: ly, allowPinchZoom: !0 } : void 0, N = (R) => {
5207
5207
  var Jt, yn;
5208
5208
  const X = P.current + R, U = w().filter((Rt) => !Rt.disabled), Z = document.activeElement, at = (Jt = U.find((Rt) => Rt.ref.current === Z)) == null ? void 0 : Jt.textValue, ct = U.map((Rt) => Rt.textValue), St = vy(ct, X, at), gt = (yn = U.find((Rt) => Rt.textValue === St)) == null ? void 0 : yn.ref.current;
5209
5209
  (function Rt(xn) {
@@ -5215,7 +5215,7 @@ var sy = "MenuPortal", [d1, Zu] = We(sy, {
5215
5215
  var U, Z;
5216
5216
  return I.current === ((U = T.current) == null ? void 0 : U.side) && wy(R, (Z = T.current) == null ? void 0 : Z.area);
5217
5217
  }, []);
5218
- return /* @__PURE__ */ M.jsx(
5218
+ return /* @__PURE__ */ C.jsx(
5219
5219
  oy,
5220
5220
  {
5221
5221
  scope: n,
@@ -5243,7 +5243,7 @@ var sy = "MenuPortal", [d1, Zu] = We(sy, {
5243
5243
  onPointerGraceIntentChange: v.useCallback((R) => {
5244
5244
  T.current = R;
5245
5245
  }, []),
5246
- children: /* @__PURE__ */ M.jsx(j, { ...D, children: /* @__PURE__ */ M.jsx(
5246
+ children: /* @__PURE__ */ C.jsx(j, { ...D, children: /* @__PURE__ */ C.jsx(
5247
5247
  cu,
5248
5248
  {
5249
5249
  asChild: !0,
@@ -5253,7 +5253,7 @@ var sy = "MenuPortal", [d1, Zu] = We(sy, {
5253
5253
  R.preventDefault(), (X = S.current) == null || X.focus({ preventScroll: !0 });
5254
5254
  }),
5255
5255
  onUnmountAutoFocus: r,
5256
- children: /* @__PURE__ */ M.jsx(
5256
+ children: /* @__PURE__ */ C.jsx(
5257
5257
  au,
5258
5258
  {
5259
5259
  asChild: !0,
@@ -5263,7 +5263,7 @@ var sy = "MenuPortal", [d1, Zu] = We(sy, {
5263
5263
  onFocusOutside: d,
5264
5264
  onInteractOutside: f,
5265
5265
  onDismiss: h,
5266
- children: /* @__PURE__ */ M.jsx(
5266
+ children: /* @__PURE__ */ C.jsx(
5267
5267
  ab,
5268
5268
  {
5269
5269
  asChild: !0,
@@ -5277,7 +5277,7 @@ var sy = "MenuPortal", [d1, Zu] = We(sy, {
5277
5277
  b.isUsingKeyboardRef.current || R.preventDefault();
5278
5278
  }),
5279
5279
  preventScrollOnEntryFocus: !0,
5280
- children: /* @__PURE__ */ M.jsx(
5280
+ children: /* @__PURE__ */ C.jsx(
5281
5281
  Um,
5282
5282
  {
5283
5283
  role: "menu",
@@ -5287,7 +5287,7 @@ var sy = "MenuPortal", [d1, Zu] = We(sy, {
5287
5287
  dir: b.dir,
5288
5288
  ...y,
5289
5289
  ...g,
5290
- ref: C,
5290
+ ref: M,
5291
5291
  style: { outline: "none", ...g.style },
5292
5292
  onKeyDown: K(g.onKeyDown, (R) => {
5293
5293
  const U = R.target.closest("[data-radix-menu-content]") === R.currentTarget, Z = R.ctrlKey || R.altKey || R.metaKey, at = R.key.length === 1;
@@ -5327,14 +5327,14 @@ Qu.displayName = Tt;
5327
5327
  var cy = "MenuGroup", wr = v.forwardRef(
5328
5328
  (e, t) => {
5329
5329
  const { __scopeMenu: n, ...i } = e;
5330
- return /* @__PURE__ */ M.jsx(_t.div, { role: "group", ...i, ref: t });
5330
+ return /* @__PURE__ */ C.jsx(_t.div, { role: "group", ...i, ref: t });
5331
5331
  }
5332
5332
  );
5333
5333
  wr.displayName = cy;
5334
5334
  var uy = "MenuLabel", td = v.forwardRef(
5335
5335
  (e, t) => {
5336
5336
  const { __scopeMenu: n, ...i } = e;
5337
- return /* @__PURE__ */ M.jsx(_t.div, { ...i, ref: t });
5337
+ return /* @__PURE__ */ C.jsx(_t.div, { ...i, ref: t });
5338
5338
  }
5339
5339
  );
5340
5340
  td.displayName = uy;
@@ -5347,7 +5347,7 @@ var us = "MenuItem", Ga = "menu.itemSelect", Is = v.forwardRef(
5347
5347
  d.addEventListener(Ga, (h) => i == null ? void 0 : i(h), { once: !0 }), iu(d, f), f.defaultPrevented ? c.current = !1 : r.onClose();
5348
5348
  }
5349
5349
  };
5350
- return /* @__PURE__ */ M.jsx(
5350
+ return /* @__PURE__ */ C.jsx(
5351
5351
  ed,
5352
5352
  {
5353
5353
  ...s,
@@ -5377,13 +5377,13 @@ var ed = v.forwardRef(
5377
5377
  return v.useEffect(() => {
5378
5378
  const p = l.current;
5379
5379
  p && h((p.textContent ?? "").trim());
5380
- }, [o.children]), /* @__PURE__ */ M.jsx(
5380
+ }, [o.children]), /* @__PURE__ */ C.jsx(
5381
5381
  qn.ItemSlot,
5382
5382
  {
5383
5383
  scope: n,
5384
5384
  disabled: i,
5385
5385
  textValue: s ?? f,
5386
- children: /* @__PURE__ */ M.jsx(lb, { asChild: !0, ...a, focusable: !i, children: /* @__PURE__ */ M.jsx(
5386
+ children: /* @__PURE__ */ C.jsx(lb, { asChild: !0, ...a, focusable: !i, children: /* @__PURE__ */ C.jsx(
5387
5387
  _t.div,
5388
5388
  {
5389
5389
  role: "menuitem",
@@ -5412,14 +5412,14 @@ var ed = v.forwardRef(
5412
5412
  ), dy = "MenuCheckboxItem", nd = v.forwardRef(
5413
5413
  (e, t) => {
5414
5414
  const { checked: n = !1, onCheckedChange: i, ...s } = e;
5415
- return /* @__PURE__ */ M.jsx(ad, { scope: e.__scopeMenu, checked: n, children: /* @__PURE__ */ M.jsx(
5415
+ return /* @__PURE__ */ C.jsx(ad, { scope: e.__scopeMenu, checked: n, children: /* @__PURE__ */ C.jsx(
5416
5416
  Is,
5417
5417
  {
5418
5418
  role: "menuitemcheckbox",
5419
5419
  "aria-checked": ds(n) ? "mixed" : n,
5420
5420
  ...s,
5421
5421
  ref: t,
5422
- "data-state": Mr(n),
5422
+ "data-state": Cr(n),
5423
5423
  onSelect: K(
5424
5424
  s.onSelect,
5425
5425
  () => i == null ? void 0 : i(ds(n) ? !0 : !n),
@@ -5437,21 +5437,21 @@ var id = "MenuRadioGroup", [fy, hy] = We(
5437
5437
  ), sd = v.forwardRef(
5438
5438
  (e, t) => {
5439
5439
  const { value: n, onValueChange: i, ...s } = e, o = ie(i);
5440
- return /* @__PURE__ */ M.jsx(fy, { scope: e.__scopeMenu, value: n, onValueChange: o, children: /* @__PURE__ */ M.jsx(wr, { ...s, ref: t }) });
5440
+ return /* @__PURE__ */ C.jsx(fy, { scope: e.__scopeMenu, value: n, onValueChange: o, children: /* @__PURE__ */ C.jsx(wr, { ...s, ref: t }) });
5441
5441
  }
5442
5442
  );
5443
5443
  sd.displayName = id;
5444
5444
  var od = "MenuRadioItem", rd = v.forwardRef(
5445
5445
  (e, t) => {
5446
5446
  const { value: n, ...i } = e, s = hy(od, e.__scopeMenu), o = n === s.value;
5447
- return /* @__PURE__ */ M.jsx(ad, { scope: e.__scopeMenu, checked: o, children: /* @__PURE__ */ M.jsx(
5447
+ return /* @__PURE__ */ C.jsx(ad, { scope: e.__scopeMenu, checked: o, children: /* @__PURE__ */ C.jsx(
5448
5448
  Is,
5449
5449
  {
5450
5450
  role: "menuitemradio",
5451
5451
  "aria-checked": o,
5452
5452
  ...i,
5453
5453
  ref: t,
5454
- "data-state": Mr(o),
5454
+ "data-state": Cr(o),
5455
5455
  onSelect: K(
5456
5456
  i.onSelect,
5457
5457
  () => {
@@ -5471,16 +5471,16 @@ var Sr = "MenuItemIndicator", [ad, gy] = We(
5471
5471
  ), ld = v.forwardRef(
5472
5472
  (e, t) => {
5473
5473
  const { __scopeMenu: n, forceMount: i, ...s } = e, o = gy(Sr, n);
5474
- return /* @__PURE__ */ M.jsx(
5474
+ return /* @__PURE__ */ C.jsx(
5475
5475
  Es,
5476
5476
  {
5477
5477
  present: i || ds(o.checked) || o.checked === !0,
5478
- children: /* @__PURE__ */ M.jsx(
5478
+ children: /* @__PURE__ */ C.jsx(
5479
5479
  _t.span,
5480
5480
  {
5481
5481
  ...s,
5482
5482
  ref: t,
5483
- "data-state": Mr(o.checked)
5483
+ "data-state": Cr(o.checked)
5484
5484
  }
5485
5485
  )
5486
5486
  }
@@ -5491,7 +5491,7 @@ ld.displayName = Sr;
5491
5491
  var py = "MenuSeparator", cd = v.forwardRef(
5492
5492
  (e, t) => {
5493
5493
  const { __scopeMenu: n, ...i } = e;
5494
- return /* @__PURE__ */ M.jsx(
5494
+ return /* @__PURE__ */ C.jsx(
5495
5495
  _t.div,
5496
5496
  {
5497
5497
  role: "separator",
@@ -5506,7 +5506,7 @@ cd.displayName = py;
5506
5506
  var my = "MenuArrow", ud = v.forwardRef(
5507
5507
  (e, t) => {
5508
5508
  const { __scopeMenu: n, ...i } = e, s = Ls(n);
5509
- return /* @__PURE__ */ M.jsx(Km, { ...s, ...i, ref: t });
5509
+ return /* @__PURE__ */ C.jsx(Km, { ...s, ...i, ref: t });
5510
5510
  }
5511
5511
  );
5512
5512
  ud.displayName = my;
@@ -5520,7 +5520,7 @@ var by = "MenuSub", [f1, dd] = We(by), Tn = "MenuSubTrigger", fd = v.forwardRef(
5520
5520
  return () => {
5521
5521
  window.clearTimeout(d), l(null);
5522
5522
  };
5523
- }, [a, l]), /* @__PURE__ */ M.jsx(xr, { asChild: !0, ...c, children: /* @__PURE__ */ M.jsx(
5523
+ }, [a, l]), /* @__PURE__ */ C.jsx(xr, { asChild: !0, ...c, children: /* @__PURE__ */ C.jsx(
5524
5524
  ed,
5525
5525
  {
5526
5526
  id: s.triggerId,
@@ -5584,7 +5584,7 @@ fd.displayName = Tn;
5584
5584
  var hd = "MenuSubContent", gd = v.forwardRef(
5585
5585
  (e, t) => {
5586
5586
  const n = Zu(Tt, e.__scopeMenu), { forceMount: i = n.forceMount, ...s } = e, o = hn(Tt, e.__scopeMenu), r = ui(Tt, e.__scopeMenu), a = dd(hd, e.__scopeMenu), l = v.useRef(null), c = xt(t, l);
5587
- return /* @__PURE__ */ M.jsx(qn.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ M.jsx(Es, { present: i || o.open, children: /* @__PURE__ */ M.jsx(qn.Slot, { scope: e.__scopeMenu, children: /* @__PURE__ */ M.jsx(
5587
+ return /* @__PURE__ */ C.jsx(qn.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ C.jsx(Es, { present: i || o.open, children: /* @__PURE__ */ C.jsx(qn.Slot, { scope: e.__scopeMenu, children: /* @__PURE__ */ C.jsx(
5588
5588
  _r,
5589
5589
  {
5590
5590
  id: a.contentId,
@@ -5623,7 +5623,7 @@ function pd(e) {
5623
5623
  function ds(e) {
5624
5624
  return e === "indeterminate";
5625
5625
  }
5626
- function Mr(e) {
5626
+ function Cr(e) {
5627
5627
  return ds(e) ? "indeterminate" : e ? "checked" : "unchecked";
5628
5628
  }
5629
5629
  function yy(e) {
@@ -5660,7 +5660,7 @@ function wy(e, t) {
5660
5660
  function Zn(e) {
5661
5661
  return (t) => t.pointerType === "mouse" ? e(t) : void 0;
5662
5662
  }
5663
- var Sy = qu, My = xr, Cy = Qu, ky = wr, Py = td, Ay = Is, Ry = nd, Oy = sd, Dy = rd, Ey = ld, Ty = cd, Ly = ud, Iy = fd, Fy = gd, Fs = "DropdownMenu", [Ny] = ri(
5663
+ var Sy = qu, Cy = xr, My = Qu, ky = wr, Py = td, Ay = Is, Ry = nd, Oy = sd, Dy = rd, Ey = ld, Ty = cd, Ly = ud, Iy = fd, Fy = gd, Fs = "DropdownMenu", [Ny] = ri(
5664
5664
  Fs,
5665
5665
  [Gu]
5666
5666
  ), wt = Gu(), [jy, md] = Ny(Fs), bd = (e) => {
@@ -5678,7 +5678,7 @@ var Sy = qu, My = xr, Cy = Qu, ky = wr, Py = td, Ay = Is, Ry = nd, Oy = sd, Dy =
5678
5678
  onChange: r,
5679
5679
  caller: Fs
5680
5680
  });
5681
- return /* @__PURE__ */ M.jsx(
5681
+ return /* @__PURE__ */ C.jsx(
5682
5682
  jy,
5683
5683
  {
5684
5684
  scope: t,
@@ -5689,7 +5689,7 @@ var Sy = qu, My = xr, Cy = Qu, ky = wr, Py = td, Ay = Is, Ry = nd, Oy = sd, Dy =
5689
5689
  onOpenChange: d,
5690
5690
  onOpenToggle: v.useCallback(() => d((f) => !f), [d]),
5691
5691
  modal: a,
5692
- children: /* @__PURE__ */ M.jsx(Sy, { ...l, open: u, onOpenChange: d, dir: i, modal: a, children: n })
5692
+ children: /* @__PURE__ */ C.jsx(Sy, { ...l, open: u, onOpenChange: d, dir: i, modal: a, children: n })
5693
5693
  }
5694
5694
  );
5695
5695
  };
@@ -5697,7 +5697,7 @@ bd.displayName = Fs;
5697
5697
  var yd = "DropdownMenuTrigger", xd = v.forwardRef(
5698
5698
  (e, t) => {
5699
5699
  const { __scopeDropdownMenu: n, disabled: i = !1, ...s } = e, o = md(yd, n), r = wt(n);
5700
- return /* @__PURE__ */ M.jsx(My, { asChild: !0, ...r, children: /* @__PURE__ */ M.jsx(
5700
+ return /* @__PURE__ */ C.jsx(Cy, { asChild: !0, ...r, children: /* @__PURE__ */ C.jsx(
5701
5701
  _t.button,
5702
5702
  {
5703
5703
  type: "button",
@@ -5724,8 +5724,8 @@ xd.displayName = yd;
5724
5724
  var vd = "DropdownMenuContent", _d = v.forwardRef(
5725
5725
  (e, t) => {
5726
5726
  const { __scopeDropdownMenu: n, ...i } = e, s = md(vd, n), o = wt(n), r = v.useRef(!1);
5727
- return /* @__PURE__ */ M.jsx(
5728
- Cy,
5727
+ return /* @__PURE__ */ C.jsx(
5728
+ My,
5729
5729
  {
5730
5730
  id: s.contentId,
5731
5731
  "aria-labelledby": s.triggerId,
@@ -5756,64 +5756,64 @@ _d.displayName = vd;
5756
5756
  var By = "DropdownMenuGroup", zy = v.forwardRef(
5757
5757
  (e, t) => {
5758
5758
  const { __scopeDropdownMenu: n, ...i } = e, s = wt(n);
5759
- return /* @__PURE__ */ M.jsx(ky, { ...s, ...i, ref: t });
5759
+ return /* @__PURE__ */ C.jsx(ky, { ...s, ...i, ref: t });
5760
5760
  }
5761
5761
  );
5762
5762
  zy.displayName = By;
5763
5763
  var $y = "DropdownMenuLabel", Vy = v.forwardRef(
5764
5764
  (e, t) => {
5765
5765
  const { __scopeDropdownMenu: n, ...i } = e, s = wt(n);
5766
- return /* @__PURE__ */ M.jsx(Py, { ...s, ...i, ref: t });
5766
+ return /* @__PURE__ */ C.jsx(Py, { ...s, ...i, ref: t });
5767
5767
  }
5768
5768
  );
5769
5769
  Vy.displayName = $y;
5770
5770
  var Wy = "DropdownMenuItem", wd = v.forwardRef(
5771
5771
  (e, t) => {
5772
5772
  const { __scopeDropdownMenu: n, ...i } = e, s = wt(n);
5773
- return /* @__PURE__ */ M.jsx(Ay, { ...s, ...i, ref: t });
5773
+ return /* @__PURE__ */ C.jsx(Ay, { ...s, ...i, ref: t });
5774
5774
  }
5775
5775
  );
5776
5776
  wd.displayName = Wy;
5777
5777
  var Hy = "DropdownMenuCheckboxItem", Yy = v.forwardRef((e, t) => {
5778
5778
  const { __scopeDropdownMenu: n, ...i } = e, s = wt(n);
5779
- return /* @__PURE__ */ M.jsx(Ry, { ...s, ...i, ref: t });
5779
+ return /* @__PURE__ */ C.jsx(Ry, { ...s, ...i, ref: t });
5780
5780
  });
5781
5781
  Yy.displayName = Hy;
5782
5782
  var Uy = "DropdownMenuRadioGroup", Ky = v.forwardRef((e, t) => {
5783
5783
  const { __scopeDropdownMenu: n, ...i } = e, s = wt(n);
5784
- return /* @__PURE__ */ M.jsx(Oy, { ...s, ...i, ref: t });
5784
+ return /* @__PURE__ */ C.jsx(Oy, { ...s, ...i, ref: t });
5785
5785
  });
5786
5786
  Ky.displayName = Uy;
5787
5787
  var Xy = "DropdownMenuRadioItem", Gy = v.forwardRef((e, t) => {
5788
5788
  const { __scopeDropdownMenu: n, ...i } = e, s = wt(n);
5789
- return /* @__PURE__ */ M.jsx(Dy, { ...s, ...i, ref: t });
5789
+ return /* @__PURE__ */ C.jsx(Dy, { ...s, ...i, ref: t });
5790
5790
  });
5791
5791
  Gy.displayName = Xy;
5792
5792
  var Jy = "DropdownMenuItemIndicator", qy = v.forwardRef((e, t) => {
5793
5793
  const { __scopeDropdownMenu: n, ...i } = e, s = wt(n);
5794
- return /* @__PURE__ */ M.jsx(Ey, { ...s, ...i, ref: t });
5794
+ return /* @__PURE__ */ C.jsx(Ey, { ...s, ...i, ref: t });
5795
5795
  });
5796
5796
  qy.displayName = Jy;
5797
5797
  var Zy = "DropdownMenuSeparator", Qy = v.forwardRef((e, t) => {
5798
5798
  const { __scopeDropdownMenu: n, ...i } = e, s = wt(n);
5799
- return /* @__PURE__ */ M.jsx(Ty, { ...s, ...i, ref: t });
5799
+ return /* @__PURE__ */ C.jsx(Ty, { ...s, ...i, ref: t });
5800
5800
  });
5801
5801
  Qy.displayName = Zy;
5802
5802
  var t0 = "DropdownMenuArrow", e0 = v.forwardRef(
5803
5803
  (e, t) => {
5804
5804
  const { __scopeDropdownMenu: n, ...i } = e, s = wt(n);
5805
- return /* @__PURE__ */ M.jsx(Ly, { ...s, ...i, ref: t });
5805
+ return /* @__PURE__ */ C.jsx(Ly, { ...s, ...i, ref: t });
5806
5806
  }
5807
5807
  );
5808
5808
  e0.displayName = t0;
5809
5809
  var n0 = "DropdownMenuSubTrigger", i0 = v.forwardRef((e, t) => {
5810
5810
  const { __scopeDropdownMenu: n, ...i } = e, s = wt(n);
5811
- return /* @__PURE__ */ M.jsx(Iy, { ...s, ...i, ref: t });
5811
+ return /* @__PURE__ */ C.jsx(Iy, { ...s, ...i, ref: t });
5812
5812
  });
5813
5813
  i0.displayName = n0;
5814
5814
  var s0 = "DropdownMenuSubContent", o0 = v.forwardRef((e, t) => {
5815
5815
  const { __scopeDropdownMenu: n, ...i } = e, s = wt(n);
5816
- return /* @__PURE__ */ M.jsx(
5816
+ return /* @__PURE__ */ C.jsx(
5817
5817
  Fy,
5818
5818
  {
5819
5819
  ...s,
@@ -5840,9 +5840,9 @@ const h1 = ({
5840
5840
  side: s = "bottom",
5841
5841
  align: o = "start",
5842
5842
  onOpenChange: r
5843
- }) => /* @__PURE__ */ M.jsxs(r0, { open: i, onOpenChange: r, children: [
5844
- /* @__PURE__ */ M.jsx(a0, { asChild: !0, disabled: n, children: e }),
5845
- /* @__PURE__ */ M.jsx(l0, { side: s, align: o, style: { zIndex: 5 }, children: t })
5843
+ }) => /* @__PURE__ */ C.jsxs(r0, { open: i, onOpenChange: r, children: [
5844
+ /* @__PURE__ */ C.jsx(a0, { asChild: !0, disabled: n, children: e }),
5845
+ /* @__PURE__ */ C.jsx(l0, { side: s, align: o, style: { zIndex: 5 }, children: t })
5846
5846
  ] }), u0 = "_selectFieldOption_shf1g_1", d0 = "_leftContent_shf1g_17", f0 = "_rightContent_shf1g_30", h0 = "_disabled_shf1g_64", g0 = "_selected_shf1g_71", Sn = {
5847
5847
  selectFieldOption: u0,
5848
5848
  leftContent: d0,
@@ -5858,7 +5858,7 @@ const h1 = ({
5858
5858
  endIcon: o,
5859
5859
  disabled: r,
5860
5860
  ...a
5861
- }) => /* @__PURE__ */ M.jsxs(
5861
+ }) => /* @__PURE__ */ C.jsxs(
5862
5862
  c0,
5863
5863
  {
5864
5864
  className: ft(
@@ -5869,17 +5869,17 @@ const h1 = ({
5869
5869
  "data-value": e,
5870
5870
  ...a,
5871
5871
  children: [
5872
- /* @__PURE__ */ M.jsxs("span", { className: Sn.leftContent, children: [
5872
+ /* @__PURE__ */ C.jsxs("span", { className: Sn.leftContent, children: [
5873
5873
  s,
5874
- /* @__PURE__ */ M.jsx("span", { title: n, children: n })
5874
+ /* @__PURE__ */ C.jsx("span", { title: n, children: n })
5875
5875
  ] }),
5876
- /* @__PURE__ */ M.jsxs("span", { className: Sn.rightContent, children: [
5877
- /* @__PURE__ */ M.jsx("span", { title: i, children: i }),
5876
+ /* @__PURE__ */ C.jsxs("span", { className: Sn.rightContent, children: [
5877
+ /* @__PURE__ */ C.jsx("span", { title: i, children: i }),
5878
5878
  o
5879
5879
  ] })
5880
5880
  ]
5881
5881
  }
5882
- ), p0 = "_selectFieldTrigger_jw4yc_1", m0 = "_filled_jw4yc_25", b0 = "_error_jw4yc_36", y0 = "_loading_jw4yc_78", Ci = {
5882
+ ), p0 = "_selectFieldTrigger_jw4yc_1", m0 = "_filled_jw4yc_25", b0 = "_error_jw4yc_36", y0 = "_loading_jw4yc_78", Mi = {
5883
5883
  selectFieldTrigger: p0,
5884
5884
  filled: m0,
5885
5885
  error: b0,
@@ -5898,21 +5898,21 @@ const h1 = ({
5898
5898
  const c = t || n, u = t && i, d = (f) => {
5899
5899
  f.stopPropagation(), f.preventDefault(), o == null || o();
5900
5900
  };
5901
- return /* @__PURE__ */ M.jsxs(
5901
+ return /* @__PURE__ */ C.jsxs(
5902
5902
  "button",
5903
5903
  {
5904
5904
  ref: l,
5905
5905
  className: ft(
5906
- Ci.selectFieldTrigger,
5907
- t && Ci.filled,
5908
- r && Ci.error
5906
+ Mi.selectFieldTrigger,
5907
+ t && Mi.filled,
5908
+ r && Mi.error
5909
5909
  ),
5910
5910
  ...a,
5911
5911
  children: [
5912
- e && /* @__PURE__ */ M.jsx(e, {}),
5913
- /* @__PURE__ */ M.jsx("span", { children: c }),
5914
- u && /* @__PURE__ */ M.jsx(Qc, { onPointerDown: d }),
5915
- s ? /* @__PURE__ */ M.jsx(Tg, { className: Ci.loading }) : /* @__PURE__ */ M.jsx(tu, {})
5912
+ e && /* @__PURE__ */ C.jsx(e, {}),
5913
+ /* @__PURE__ */ C.jsx("span", { children: c }),
5914
+ u && /* @__PURE__ */ C.jsx(Qc, { onPointerDown: d }),
5915
+ s ? /* @__PURE__ */ C.jsx(Tg, { className: Mi.loading }) : /* @__PURE__ */ C.jsx(tu, {})
5916
5916
  ]
5917
5917
  }
5918
5918
  );
@@ -5959,26 +5959,26 @@ const v0 = "_selectFieldContent_4ibzd_1", _0 = "_selectFieldContentList_4ibzd_22
5959
5959
  }, 0), () => {
5960
5960
  o.removeEventListener("keydown", l);
5961
5961
  };
5962
- }, [t, e]), /* @__PURE__ */ M.jsx("div", { ref: i, tabIndex: -1, className: ft(Yo.selectFieldContent, n), children: e });
5963
- }, m1 = ({ children: e, disabled: t }) => /* @__PURE__ */ M.jsx("div", { className: ft(Yo.selectFieldContentList, t && Yo.disabled), children: e }), S0 = "_fieldFeedback_1c0gf_1", M0 = "_error_1c0gf_12", Ja = {
5962
+ }, [t, e]), /* @__PURE__ */ C.jsx("div", { ref: i, tabIndex: -1, className: ft(Yo.selectFieldContent, n), children: e });
5963
+ }, m1 = ({ children: e, disabled: t }) => /* @__PURE__ */ C.jsx("div", { className: ft(Yo.selectFieldContentList, t && Yo.disabled), children: e }), S0 = "_fieldFeedback_1c0gf_1", C0 = "_error_1c0gf_12", Ja = {
5964
5964
  fieldFeedback: S0,
5965
- error: M0
5966
- }, Sd = ({ message: e, variant: t, className: n }) => /* @__PURE__ */ M.jsx("p", { className: ft(Ja.fieldFeedback, t && Ja[t], n), children: e }), C0 = "_fieldHeader_17qbu_1", k0 = {
5967
- fieldHeader: C0
5965
+ error: C0
5966
+ }, Sd = ({ message: e, variant: t, className: n }) => /* @__PURE__ */ C.jsx("p", { className: ft(Ja.fieldFeedback, t && Ja[t], n), children: e }), M0 = "_fieldHeader_17qbu_1", k0 = {
5967
+ fieldHeader: M0
5968
5968
  }, P0 = ({
5969
5969
  label: e,
5970
5970
  required: t,
5971
5971
  requiredLabel: n = "Required",
5972
5972
  className: i
5973
- }) => !e && !t ? null : /* @__PURE__ */ M.jsxs("label", { className: ft(k0.fieldHeader, i), children: [
5973
+ }) => !e && !t ? null : /* @__PURE__ */ C.jsxs("label", { className: ft(k0.fieldHeader, i), children: [
5974
5974
  e,
5975
- t && /* @__PURE__ */ M.jsx("span", { children: n })
5975
+ t && /* @__PURE__ */ C.jsx("span", { children: n })
5976
5976
  ] }), A0 = "_input_14d0q_1", R0 = "_error_14d0q_19", O0 = "_clearIcon_14d0q_39", D0 = "_clearIconVisible_14d0q_44", ki = {
5977
5977
  input: A0,
5978
5978
  error: R0,
5979
5979
  clearIcon: O0,
5980
5980
  clearIconVisible: D0
5981
- }, Cr = Ve(
5981
+ }, Mr = Ve(
5982
5982
  ({
5983
5983
  label: e,
5984
5984
  required: t,
@@ -5998,11 +5998,11 @@ const v0 = "_selectFieldContent_4ibzd_1", _0 = "_selectFieldContentList_4ibzd_22
5998
5998
  ...g
5999
5999
  }, m) => {
6000
6000
  const b = n && u, y = f || h;
6001
- return /* @__PURE__ */ M.jsxs("div", { className: c, children: [
6002
- /* @__PURE__ */ M.jsx(P0, { label: e, required: t, requiredLabel: p }),
6003
- /* @__PURE__ */ M.jsxs("div", { className: ft(ki.input, y && ki.error), children: [
6004
- r && /* @__PURE__ */ M.jsx(r, {}),
6005
- /* @__PURE__ */ M.jsx(
6001
+ return /* @__PURE__ */ C.jsxs("div", { className: c, children: [
6002
+ /* @__PURE__ */ C.jsx(P0, { label: e, required: t, requiredLabel: p }),
6003
+ /* @__PURE__ */ C.jsxs("div", { className: ft(ki.input, y && ki.error), children: [
6004
+ r && /* @__PURE__ */ C.jsx(r, {}),
6005
+ /* @__PURE__ */ C.jsx(
6006
6006
  "input",
6007
6007
  {
6008
6008
  ref: m,
@@ -6016,24 +6016,24 @@ const v0 = "_selectFieldContent_4ibzd_1", _0 = "_selectFieldContentList_4ibzd_22
6016
6016
  ...g
6017
6017
  }
6018
6018
  ),
6019
- /* @__PURE__ */ M.jsx(
6019
+ /* @__PURE__ */ C.jsx(
6020
6020
  Qc,
6021
6021
  {
6022
6022
  className: ft(ki.clearIcon, b && ki.clearIconVisible),
6023
6023
  onClick: () => l("")
6024
6024
  }
6025
6025
  ),
6026
- a && /* @__PURE__ */ M.jsx(a, {})
6026
+ a && /* @__PURE__ */ C.jsx(a, {})
6027
6027
  ] }),
6028
- h && /* @__PURE__ */ M.jsx(Sd, { variant: "error", message: h })
6028
+ h && /* @__PURE__ */ C.jsx(Sd, { variant: "error", message: h })
6029
6029
  ] });
6030
6030
  }
6031
6031
  );
6032
- Cr.displayName = "InputField";
6032
+ Mr.displayName = "InputField";
6033
6033
  const E0 = Ve(
6034
- ({ value: e = "", placeholder: t = "Enter text", maxLength: n, error: i, errorMessage: s, ...o }, r) => /* @__PURE__ */ M.jsxs(M.Fragment, { children: [
6035
- /* @__PURE__ */ M.jsx(
6036
- Cr,
6034
+ ({ value: e = "", placeholder: t = "Enter text", maxLength: n, error: i, errorMessage: s, ...o }, r) => /* @__PURE__ */ C.jsxs(C.Fragment, { children: [
6035
+ /* @__PURE__ */ C.jsx(
6036
+ Mr,
6037
6037
  {
6038
6038
  value: e,
6039
6039
  placeholder: t,
@@ -6045,7 +6045,7 @@ const E0 = Ve(
6045
6045
  ...o
6046
6046
  }
6047
6047
  ),
6048
- n && /* @__PURE__ */ M.jsx(Sd, { message: `${e == null ? void 0 : e.length}/${n} Characters` })
6048
+ n && /* @__PURE__ */ C.jsx(Sd, { message: `${e == null ? void 0 : e.length}/${n} Characters` })
6049
6049
  ] })
6050
6050
  );
6051
6051
  E0.displayName = "TextField";
@@ -6067,8 +6067,8 @@ const T0 = Ve(
6067
6067
  const u = Number(c);
6068
6068
  !isNaN(u) && isFinite(u) && (n == null || n(u));
6069
6069
  };
6070
- return /* @__PURE__ */ M.jsx(
6071
- Cr,
6070
+ return /* @__PURE__ */ C.jsx(
6071
+ Mr,
6072
6072
  {
6073
6073
  ...r,
6074
6074
  value: (e == null ? void 0 : e.toString()) || "",
@@ -6127,7 +6127,7 @@ function B0(e) {
6127
6127
  return e ? "#" + t(e.r) + t(e.g) + t(e.b) + j0(e.a, t) : void 0;
6128
6128
  }
6129
6129
  const z0 = /^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;
6130
- function Md(e, t, n) {
6130
+ function Cd(e, t, n) {
6131
6131
  const i = t * Math.min(n, 1 - n), s = (o, r = (o + e / 30) % 12) => n - i * Math.max(Math.min(r - 3, 9 - r, 1), -1);
6132
6132
  return [s(0), s(8), s(4)];
6133
6133
  }
@@ -6136,7 +6136,7 @@ function $0(e, t, n) {
6136
6136
  return [i(5), i(3), i(1)];
6137
6137
  }
6138
6138
  function V0(e, t, n) {
6139
- const i = Md(e, 1, 0.5);
6139
+ const i = Cd(e, 1, 0.5);
6140
6140
  let s;
6141
6141
  for (t + n > 1 && (s = 1 / (t + n), t *= s, n *= s), s = 0; s < 3; s++)
6142
6142
  i[s] *= 1 - t - n, i[s] += t;
@@ -6154,7 +6154,7 @@ function Pr(e, t, n, i) {
6154
6154
  return (Array.isArray(t) ? e(t[0], t[1], t[2]) : e(t, n, i)).map(me);
6155
6155
  }
6156
6156
  function Ar(e, t, n) {
6157
- return Pr(Md, e, t, n);
6157
+ return Pr(Cd, e, t, n);
6158
6158
  }
6159
6159
  function H0(e, t, n) {
6160
6160
  return Pr(V0, e, t, n);
@@ -6162,7 +6162,7 @@ function H0(e, t, n) {
6162
6162
  function Y0(e, t, n) {
6163
6163
  return Pr($0, e, t, n);
6164
6164
  }
6165
- function Cd(e) {
6165
+ function Md(e) {
6166
6166
  return (e % 360 + 360) % 360;
6167
6167
  }
6168
6168
  function U0(e) {
@@ -6171,7 +6171,7 @@ function U0(e) {
6171
6171
  if (!t)
6172
6172
  return;
6173
6173
  t[5] !== i && (n = t[6] ? Ln(+t[5]) : me(+t[5]));
6174
- const s = Cd(+t[2]), o = +t[3] / 100, r = +t[4] / 100;
6174
+ const s = Md(+t[2]), o = +t[3] / 100, r = +t[4] / 100;
6175
6175
  return t[1] === "hwb" ? i = H0(s, o, r) : t[1] === "hsv" ? i = Y0(s, o, r) : i = Ar(s, o, r), {
6176
6176
  r: i[0],
6177
6177
  g: i[1],
@@ -6181,7 +6181,7 @@ function U0(e) {
6181
6181
  }
6182
6182
  function K0(e, t) {
6183
6183
  var n = kr(e);
6184
- n[0] = Cd(n[0] + t), n = Ar(n), e.r = n[0], e.g = n[1], e.b = n[2];
6184
+ n[0] = Md(n[0] + t), n = Ar(n), e.r = n[0], e.g = n[1], e.b = n[2];
6185
6185
  }
6186
6186
  function X0(e) {
6187
6187
  if (!e)
@@ -6538,7 +6538,7 @@ function $(e) {
6538
6538
  function it(e) {
6539
6539
  return (typeof e == "number" || e instanceof Number) && isFinite(+e);
6540
6540
  }
6541
- function Mt(e, t) {
6541
+ function Ct(e, t) {
6542
6542
  return it(e) ? e : t;
6543
6543
  }
6544
6544
  function z(e, t) {
@@ -6723,11 +6723,11 @@ function an(e, t) {
6723
6723
  function hx(e, t) {
6724
6724
  return (e - t + cx) % Q - V;
6725
6725
  }
6726
- function Ct(e) {
6726
+ function Mt(e) {
6727
6727
  return (e % Q + Q) % Q;
6728
6728
  }
6729
6729
  function ti(e, t, n, i) {
6730
- const s = Ct(e), o = Ct(t), r = Ct(n), a = Ct(o - s), l = Ct(r - s), c = Ct(s - o), u = Ct(s - r);
6730
+ const s = Mt(e), o = Mt(t), r = Mt(n), a = Mt(o - s), l = Mt(r - s), c = Mt(s - o), u = Mt(s - r);
6731
6731
  return s === o || s === r || i && o === r || a > l && c < u;
6732
6732
  }
6733
6733
  function dt(e, t, n) {
@@ -6945,7 +6945,7 @@ const wx = [
6945
6945
  "borderColor",
6946
6946
  "backgroundColor"
6947
6947
  ];
6948
- function Mx(e) {
6948
+ function Cx(e) {
6949
6949
  e.set("animation", {
6950
6950
  delay: void 0,
6951
6951
  duration: 1e3,
@@ -7006,7 +7006,7 @@ function Mx(e) {
7006
7006
  }
7007
7007
  });
7008
7008
  }
7009
- function Cx(e) {
7009
+ function Mx(e) {
7010
7010
  e.set("layout", {
7011
7011
  autoPadding: !0,
7012
7012
  padding: {
@@ -7212,8 +7212,8 @@ var nt = /* @__PURE__ */ new Rx({
7212
7212
  _indexable: !1
7213
7213
  }
7214
7214
  }, [
7215
- Mx,
7216
7215
  Cx,
7216
+ Mx,
7217
7217
  Ax
7218
7218
  ]);
7219
7219
  function Ox(e) {
@@ -7899,7 +7899,7 @@ function Yd(e) {
7899
7899
  return e === "angle" ? {
7900
7900
  between: ti,
7901
7901
  compare: hx,
7902
- normalize: Ct
7902
+ normalize: Mt
7903
7903
  } : {
7904
7904
  between: ee,
7905
7905
  compare: (t, n) => t - n,
@@ -7937,14 +7937,14 @@ function Ud(e, t, n) {
7937
7937
  const { property: i, start: s, end: o } = n, r = t.length, { compare: a, between: l, normalize: c } = Yd(i), { start: u, end: d, loop: f, style: h } = gv(e, t, n), p = [];
7938
7938
  let g = !1, m = null, b, y, x;
7939
7939
  const w = () => l(s, x, b) && a(s, x) !== 0, _ = () => a(o, b) === 0 || l(o, x, b), k = () => g || w(), S = () => !g || _();
7940
- for (let C = u, A = u; C <= d; ++C)
7941
- y = t[C % r], !y.skip && (b = c(y[i]), b !== x && (g = l(b, s, o), m === null && k() && (m = a(b, s) === 0 ? C : A), m !== null && S() && (p.push(ml({
7940
+ for (let M = u, A = u; M <= d; ++M)
7941
+ y = t[M % r], !y.skip && (b = c(y[i]), b !== x && (g = l(b, s, o), m === null && k() && (m = a(b, s) === 0 ? M : A), m !== null && S() && (p.push(ml({
7942
7942
  start: m,
7943
- end: C,
7943
+ end: M,
7944
7944
  loop: f,
7945
7945
  count: r,
7946
7946
  style: h
7947
- })), m = null), A = C, x = b));
7947
+ })), m = null), A = M, x = b));
7948
7948
  return m !== null && p.push(ml({
7949
7949
  start: m,
7950
7950
  end: d,
@@ -8274,11 +8274,11 @@ class $r {
8274
8274
  });
8275
8275
  }
8276
8276
  _animateOptions(t, n) {
8277
- const i = n.options, s = Cv(t, i);
8277
+ const i = n.options, s = Mv(t, i);
8278
8278
  if (!s)
8279
8279
  return [];
8280
8280
  const o = this._createAnimations(s, i);
8281
- return i.$shared && Mv(t.options.$animations, i).then(() => {
8281
+ return i.$shared && Cv(t.options.$animations, i).then(() => {
8282
8282
  t.options = i;
8283
8283
  }, () => {
8284
8284
  }), o;
@@ -8321,7 +8321,7 @@ class $r {
8321
8321
  return Zt.add(this._chart, i), !0;
8322
8322
  }
8323
8323
  }
8324
- function Mv(e, t) {
8324
+ function Cv(e, t) {
8325
8325
  const n = [], i = Object.keys(t);
8326
8326
  for (let s = 0; s < i.length; s++) {
8327
8327
  const o = e[i[s]];
@@ -8329,7 +8329,7 @@ function Mv(e, t) {
8329
8329
  }
8330
8330
  return Promise.all(n);
8331
8331
  }
8332
- function Cv(e, t) {
8332
+ function Mv(e, t) {
8333
8333
  if (!t)
8334
8334
  return;
8335
8335
  let n = e.options;
@@ -8465,7 +8465,7 @@ function Tv(e, t, n) {
8465
8465
  type: "data"
8466
8466
  });
8467
8467
  }
8468
- function Mn(e, t) {
8468
+ function Cn(e, t) {
8469
8469
  const n = e.controller.index, i = e.vScale && e.vScale.axis;
8470
8470
  if (i) {
8471
8471
  t = t || e._parsed;
@@ -8477,7 +8477,7 @@ function Mn(e, t) {
8477
8477
  }
8478
8478
  }
8479
8479
  }
8480
- const So = (e) => e === "reset" || e === "none", Ml = (e, t) => t ? e : Object.assign({}, e), Lv = (e, t, n) => e && !t.hidden && t._stacked && {
8480
+ const So = (e) => e === "reset" || e === "none", Cl = (e, t) => t ? e : Object.assign({}, e), Lv = (e, t, n) => e && !t.hidden && t._stacked && {
8481
8481
  keys: Gd(n, !0),
8482
8482
  values: null
8483
8483
  };
@@ -8490,7 +8490,7 @@ class Ie {
8490
8490
  this.configure(), this.linkScales(), t._stacked = _o(t.vScale, t), this.addElements(), this.options.fill && !this.chart.isPluginEnabled("filler") && console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options");
8491
8491
  }
8492
8492
  updateIndex(t) {
8493
- this.index !== t && Mn(this._cachedMeta), this.index = t;
8493
+ this.index !== t && Cn(this._cachedMeta), this.index = t;
8494
8494
  }
8495
8495
  linkScales() {
8496
8496
  const t = this.chart, n = this._cachedMeta, i = this.getDataset(), s = (d, f, h, p) => d === "x" ? f : d === "r" ? p : h, o = n.xAxisID = z(i.xAxisID, wo(t, "x")), r = n.yAxisID = z(i.yAxisID, wo(t, "y")), a = n.rAxisID = z(i.rAxisID, wo(t, "r")), l = n.indexAxis, c = n.iAxisID = s(l, o, r, a), u = n.vAxisID = s(l, r, o, a);
@@ -8514,7 +8514,7 @@ class Ie {
8514
8514
  }
8515
8515
  _destroy() {
8516
8516
  const t = this._cachedMeta;
8517
- this._data && ol(this._data, this), t._stacked && Mn(t);
8517
+ this._data && ol(this._data, this), t._stacked && Cn(t);
8518
8518
  }
8519
8519
  _dataCheck() {
8520
8520
  const t = this.getDataset(), n = t.data || (t.data = []), i = this._data;
@@ -8525,7 +8525,7 @@ class Ie {
8525
8525
  if (i) {
8526
8526
  ol(i, this);
8527
8527
  const s = this._cachedMeta;
8528
- Mn(s), s._parsed = [];
8528
+ Cn(s), s._parsed = [];
8529
8529
  }
8530
8530
  n && Object.isExtensible(n) && bx(n, this), this._syncList = [], this._data = n;
8531
8531
  }
@@ -8539,7 +8539,7 @@ class Ie {
8539
8539
  let s = !1;
8540
8540
  this._dataCheck();
8541
8541
  const o = n._stacked;
8542
- n._stacked = _o(n.vScale, n), n.stack !== i.stack && (s = !0, Mn(n), n.stack = i.stack), this._resyncElements(t), (s || o !== n._stacked) && (Sl(this, n._parsed), n._stacked = _o(n.vScale, n));
8542
+ n._stacked = _o(n.vScale, n), n.stack !== i.stack && (s = !0, Cn(n), n.stack = i.stack), this._resyncElements(t), (s || o !== n._stacked) && (Sl(this, n._parsed), n._stacked = _o(n.vScale, n));
8543
8543
  }
8544
8544
  configure() {
8545
8545
  const t = this.chart.config, n = t.datasetScopeKeys(this._type), i = t.getOptionScopes(this.getDataset(), n, !0);
@@ -8688,7 +8688,7 @@ class Ie {
8688
8688
  _resolveElementOptions(t, n = "default", i) {
8689
8689
  const s = n === "active", o = this._cachedDataOpts, r = t + "-" + n, a = o[r], l = this.enableOptionSharing && vt(i);
8690
8690
  if (a)
8691
- return Ml(a, l);
8691
+ return Cl(a, l);
8692
8692
  const c = this.chart.config, u = c.datasetElementScopeKeys(this._type, t), d = s ? [
8693
8693
  `${t}Hover`,
8694
8694
  "hover",
@@ -8698,7 +8698,7 @@ class Ie {
8698
8698
  t,
8699
8699
  ""
8700
8700
  ], f = c.getOptionScopes(this.getDataset(), u), h = Object.keys(nt.elements[t]), p = () => this.getContext(i, s, n), g = c.resolveNamedOptions(f, h, p, d);
8701
- return g.$shared && (g.$shared = l, o[r] = Object.freeze(Ml(g, l))), g;
8701
+ return g.$shared && (g.$shared = l, o[r] = Object.freeze(Cl(g, l))), g;
8702
8702
  }
8703
8703
  _resolveAnimations(t, n, i) {
8704
8704
  const s = this.chart, o = this._cachedDataOpts, r = `animation-${n}`, a = o[r];
@@ -8778,7 +8778,7 @@ class Ie {
8778
8778
  const i = this._cachedMeta;
8779
8779
  if (this._parsing) {
8780
8780
  const s = i._parsed.splice(t, n);
8781
- i._stacked && Mn(i, s);
8781
+ i._stacked && Cn(i, s);
8782
8782
  }
8783
8783
  i.data.splice(t, n);
8784
8784
  }
@@ -8896,14 +8896,14 @@ function Bv(e, t, n, i) {
8896
8896
  function Jd(e, t, n, i) {
8897
8897
  return q(e) ? Bv(e, t, n, i) : t[n.axis] = n.parse(e, i), t;
8898
8898
  }
8899
- function Cl(e, t, n, i) {
8899
+ function Ml(e, t, n, i) {
8900
8900
  const s = e.iScale, o = e.vScale, r = s.getLabels(), a = s === o, l = [];
8901
8901
  let c, u, d, f;
8902
8902
  for (c = n, u = n + i; c < u; ++c)
8903
8903
  f = t[c], d = {}, d[s.axis] = a || s.parse(r[c], c), l.push(Jd(f, d, o, c));
8904
8904
  return l;
8905
8905
  }
8906
- function Mo(e) {
8906
+ function Co(e) {
8907
8907
  return e && e.barStart !== void 0 && e.barEnd !== void 0;
8908
8908
  }
8909
8909
  function zv(e, t, n) {
@@ -8952,10 +8952,10 @@ function Hv(e, { inflateAmount: t }, n) {
8952
8952
  }
8953
8953
  class Xi extends Ie {
8954
8954
  parsePrimitiveData(t, n, i, s) {
8955
- return Cl(t, n, i, s);
8955
+ return Ml(t, n, i, s);
8956
8956
  }
8957
8957
  parseArrayData(t, n, i, s) {
8958
- return Cl(t, n, i, s);
8958
+ return Ml(t, n, i, s);
8959
8959
  }
8960
8960
  parseObjectData(t, n, i, s) {
8961
8961
  const { iScale: o, vScale: r } = t, { xAxisKey: a = "x", yAxisKey: l = "y" } = this._parsing, c = o.axis === "x" ? a : l, u = r.axis === "x" ? a : l, d = [];
@@ -8973,7 +8973,7 @@ class Xi extends Ie {
8973
8973
  return 0;
8974
8974
  }
8975
8975
  getLabelAndValue(t) {
8976
- const n = this._cachedMeta, { iScale: i, vScale: s } = n, o = this.getParsed(t), r = o._custom, a = Mo(r) ? "[" + r.start + ", " + r.end + "]" : "" + s.getLabelForValue(o[s.axis]);
8976
+ const n = this._cachedMeta, { iScale: i, vScale: s } = n, o = this.getParsed(t), r = o._custom, a = Co(r) ? "[" + r.start + ", " + r.end + "]" : "" + s.getLabelForValue(o[s.axis]);
8977
8977
  return {
8978
8978
  label: "" + i.getLabelForValue(o[i.axis]),
8979
8979
  value: a
@@ -8997,7 +8997,7 @@ class Xi extends Ie {
8997
8997
  } : this._calculateBarValuePixels(h), m = this._calculateBarIndexPixels(h, u), b = (p._stacks || {})[a.axis], y = {
8998
8998
  horizontal: c,
8999
8999
  base: g.base,
9000
- enableBorderRadius: !b || Mo(p._custom) || r === b._top || r === b._bottom,
9000
+ enableBorderRadius: !b || Co(p._custom) || r === b._top || r === b._bottom,
9001
9001
  x: c ? g.head : m.center,
9002
9002
  y: c ? m.center : g.head,
9003
9003
  height: c ? m.size : Math.abs(g.size),
@@ -9057,7 +9057,7 @@ class Xi extends Ie {
9057
9057
  };
9058
9058
  }
9059
9059
  _calculateBarValuePixels(t) {
9060
- const { _cachedMeta: { vScale: n, _stacked: i, index: s }, options: { base: o, minBarLength: r } } = this, a = o || 0, l = this.getParsed(t), c = l._custom, u = Mo(c);
9060
+ const { _cachedMeta: { vScale: n, _stacked: i, index: s }, options: { base: o, minBarLength: r } } = this, a = o || 0, l = this.getParsed(t), c = l._custom, u = Co(c);
9061
9061
  let d = l[n.axis], f = 0, h = i ? this.applyStack(n, l, i) : d, p, g;
9062
9062
  h !== d && (f = h - d, h = d), u && (d = c.barStart, h = c.barEnd - c.barStart, d !== 0 && Ht(d) !== Ht(c.barEnd) && (f = 0), f += d);
9063
9063
  const m = !Y(o) && !u ? o : f;
@@ -9359,8 +9359,8 @@ class Gi extends Ie {
9359
9359
  S.skip = !0;
9360
9360
  continue;
9361
9361
  }
9362
- const C = this.getParsed(_), A = Y(C[h]), P = S[f] = r.getPixelForValue(C[f], _), O = S[h] = o || A ? a.getBasePixel() : a.getPixelForValue(l ? this.applyStack(a, C, l) : C[h], _);
9363
- S.skip = isNaN(P) || isNaN(O) || A, S.stop = _ > 0 && Math.abs(C[f] - w[f]) > m, g && (S.parsed = C, S.raw = c.data[_]), d && (S.options = u || this.resolveDataElementOptions(_, k.active ? "active" : s)), b || this.updateElement(k, _, S, s), w = C;
9362
+ const M = this.getParsed(_), A = Y(M[h]), P = S[f] = r.getPixelForValue(M[f], _), O = S[h] = o || A ? a.getBasePixel() : a.getPixelForValue(l ? this.applyStack(a, M, l) : M[h], _);
9363
+ S.skip = isNaN(P) || isNaN(O) || A, S.stop = _ > 0 && Math.abs(M[f] - w[f]) > m, g && (S.parsed = M, S.raw = c.data[_]), d && (S.options = u || this.resolveDataElementOptions(_, k.active ? "active" : s)), b || this.updateElement(k, _, S, s), w = M;
9364
9364
  }
9365
9365
  }
9366
9366
  getMaxOverflow() {
@@ -9398,7 +9398,7 @@ E(Go, "id", "pie"), E(Go, "defaults", {
9398
9398
  circumference: 360,
9399
9399
  radius: "100%"
9400
9400
  });
9401
- function Me() {
9401
+ function Ce() {
9402
9402
  throw new Error("This method is not implemented: Check that a complete date adapter is provided.");
9403
9403
  }
9404
9404
  class Vr {
@@ -9423,25 +9423,25 @@ class Vr {
9423
9423
  init() {
9424
9424
  }
9425
9425
  formats() {
9426
- return Me();
9426
+ return Ce();
9427
9427
  }
9428
9428
  parse() {
9429
- return Me();
9429
+ return Ce();
9430
9430
  }
9431
9431
  format() {
9432
- return Me();
9432
+ return Ce();
9433
9433
  }
9434
9434
  add() {
9435
- return Me();
9435
+ return Ce();
9436
9436
  }
9437
9437
  diff() {
9438
- return Me();
9438
+ return Ce();
9439
9439
  }
9440
9440
  startOf() {
9441
- return Me();
9441
+ return Ce();
9442
9442
  }
9443
9443
  endOf() {
9444
- return Me();
9444
+ return Ce();
9445
9445
  }
9446
9446
  }
9447
9447
  var Uv = {
@@ -9495,7 +9495,7 @@ function Xv(e) {
9495
9495
  return Math.sqrt(Math.pow(o, 2) + Math.pow(r, 2));
9496
9496
  };
9497
9497
  }
9498
- function Co(e, t, n, i, s) {
9498
+ function Mo(e, t, n, i, s) {
9499
9499
  const o = [];
9500
9500
  return !s && !e.isPointInArea(t) || Bs(e, n, t, function(a, l, c) {
9501
9501
  !s && !ei(a, e.chartArea, 0) || a.inRange(t.x, t.y, i) && o.push({
@@ -9566,7 +9566,7 @@ function Al(e, t, n, i, s) {
9566
9566
  var qv = {
9567
9567
  modes: {
9568
9568
  index(e, t, n, i) {
9569
- const s = Pe(t, e), o = n.axis || "x", r = n.includeInvisible || !1, a = n.intersect ? Co(e, s, o, i, r) : ko(e, s, o, !1, i, r), l = [];
9569
+ const s = Pe(t, e), o = n.axis || "x", r = n.includeInvisible || !1, a = n.intersect ? Mo(e, s, o, i, r) : ko(e, s, o, !1, i, r), l = [];
9570
9570
  return a.length ? (e.getSortedVisibleDatasetMetas().forEach((c) => {
9571
9571
  const u = a[0].index, d = c.data[u];
9572
9572
  d && !d.skip && l.push({
@@ -9578,7 +9578,7 @@ var qv = {
9578
9578
  },
9579
9579
  dataset(e, t, n, i) {
9580
9580
  const s = Pe(t, e), o = n.axis || "xy", r = n.includeInvisible || !1;
9581
- let a = n.intersect ? Co(e, s, o, i, r) : ko(e, s, o, !1, i, r);
9581
+ let a = n.intersect ? Mo(e, s, o, i, r) : ko(e, s, o, !1, i, r);
9582
9582
  if (a.length > 0) {
9583
9583
  const l = a[0].datasetIndex, c = e.getDatasetMeta(l).data;
9584
9584
  a = [];
@@ -9593,7 +9593,7 @@ var qv = {
9593
9593
  },
9594
9594
  point(e, t, n, i) {
9595
9595
  const s = Pe(t, e), o = n.axis || "xy", r = n.includeInvisible || !1;
9596
- return Co(e, s, o, i, r);
9596
+ return Mo(e, s, o, i, r);
9597
9597
  },
9598
9598
  nearest(e, t, n, i) {
9599
9599
  const s = Pe(t, e), o = n.axis || "xy", r = n.includeInvisible || !1;
@@ -9615,7 +9615,7 @@ const qd = [
9615
9615
  "right",
9616
9616
  "bottom"
9617
9617
  ];
9618
- function Cn(e, t) {
9618
+ function Mn(e, t) {
9619
9619
  return e.filter((n) => n.pos === t);
9620
9620
  }
9621
9621
  function Rl(e, t) {
@@ -9669,12 +9669,12 @@ function t_(e, t) {
9669
9669
  return n;
9670
9670
  }
9671
9671
  function e_(e) {
9672
- const t = Zv(e), n = kn(t.filter((c) => c.box.fullSize), !0), i = kn(Cn(t, "left"), !0), s = kn(Cn(t, "right")), o = kn(Cn(t, "top"), !0), r = kn(Cn(t, "bottom")), a = Rl(t, "x"), l = Rl(t, "y");
9672
+ const t = Zv(e), n = kn(t.filter((c) => c.box.fullSize), !0), i = kn(Mn(t, "left"), !0), s = kn(Mn(t, "right")), o = kn(Mn(t, "top"), !0), r = kn(Mn(t, "bottom")), a = Rl(t, "x"), l = Rl(t, "y");
9673
9673
  return {
9674
9674
  fullSize: n,
9675
9675
  leftAndTop: i.concat(o),
9676
9676
  rightAndBottom: s.concat(l).concat(r).concat(a),
9677
- chartArea: Cn(t, "chartArea"),
9677
+ chartArea: Mn(t, "chartArea"),
9678
9678
  vertical: i.concat(s).concat(l),
9679
9679
  horizontal: o.concat(r).concat(a)
9680
9680
  };
@@ -10086,7 +10086,7 @@ function v_(e) {
10086
10086
  return Math.floor(Math.min(i, s));
10087
10087
  }
10088
10088
  function __(e, t, n) {
10089
- const i = M_(e), s = t.length / n;
10089
+ const i = C_(e), s = t.length / n;
10090
10090
  if (!i)
10091
10091
  return Math.max(s, 1);
10092
10092
  const o = ux(i);
@@ -10117,7 +10117,7 @@ function Li(e, t, n, i, s) {
10117
10117
  for (c = Math.max(o, 0); c < r; c++)
10118
10118
  c === u && (t.push(e[c]), a++, u = Math.round(o + a * n));
10119
10119
  }
10120
- function M_(e) {
10120
+ function C_(e) {
10121
10121
  const t = e.length;
10122
10122
  let n, i;
10123
10123
  if (t < 2)
@@ -10127,7 +10127,7 @@ function M_(e) {
10127
10127
  return !1;
10128
10128
  return i;
10129
10129
  }
10130
- const C_ = (e) => e === "left" ? "right" : e === "right" ? "left" : e, Ll = (e, t, n) => t === "top" || t === "left" ? e[t] + n : e[t] - n, Il = (e, t) => Math.min(t || e, e);
10130
+ const M_ = (e) => e === "left" ? "right" : e === "right" ? "left" : e, Ll = (e, t, n) => t === "top" || t === "left" ? e[t] + n : e[t] - n, Il = (e, t) => Math.min(t || e, e);
10131
10131
  function Fl(e, t) {
10132
10132
  const n = [], i = e.length / t, s = e.length;
10133
10133
  let o = 0;
@@ -10176,7 +10176,7 @@ function R_(e, t, n) {
10176
10176
  }
10177
10177
  function O_(e, t, n) {
10178
10178
  let i = Er(e);
10179
- return (n && t !== "right" || !n && t === "right") && (i = C_(i)), i;
10179
+ return (n && t !== "right" || !n && t === "right") && (i = M_(i)), i;
10180
10180
  }
10181
10181
  function D_(e, t, n, i) {
10182
10182
  const { top: s, left: o, bottom: r, right: a, chart: l } = e, { chartArea: c, scales: u } = l;
@@ -10219,9 +10219,9 @@ class Ye extends ht {
10219
10219
  }
10220
10220
  getUserBounds() {
10221
10221
  let { _userMin: t, _userMax: n, _suggestedMin: i, _suggestedMax: s } = this;
10222
- return t = Mt(t, Number.POSITIVE_INFINITY), n = Mt(n, Number.NEGATIVE_INFINITY), i = Mt(i, Number.POSITIVE_INFINITY), s = Mt(s, Number.NEGATIVE_INFINITY), {
10223
- min: Mt(t, i),
10224
- max: Mt(n, s),
10222
+ return t = Ct(t, Number.POSITIVE_INFINITY), n = Ct(n, Number.NEGATIVE_INFINITY), i = Ct(i, Number.POSITIVE_INFINITY), s = Ct(s, Number.NEGATIVE_INFINITY), {
10223
+ min: Ct(t, i),
10224
+ max: Ct(n, s),
10225
10225
  minDefined: it(t),
10226
10226
  maxDefined: it(n)
10227
10227
  };
@@ -10237,8 +10237,8 @@ class Ye extends ht {
10237
10237
  for (let l = 0, c = a.length; l < c; ++l)
10238
10238
  r = a[l].controller.getMinMax(this, t), s || (n = Math.min(n, r.min)), o || (i = Math.max(i, r.max));
10239
10239
  return n = o && n > i ? i : n, i = s && n > i ? n : i, {
10240
- min: Mt(n, Mt(i, n)),
10241
- max: Mt(i, Mt(n, i))
10240
+ min: Ct(n, Ct(i, n)),
10241
+ max: Ct(i, Ct(n, i))
10242
10242
  };
10243
10243
  }
10244
10244
  getPadding() {
@@ -10447,15 +10447,15 @@ class Ye extends ht {
10447
10447
  r.push(x), a.push(w), c = Math.max(x, c), u = Math.max(w, u);
10448
10448
  }
10449
10449
  P_(o, n);
10450
- const k = r.indexOf(c), S = a.indexOf(u), C = (A) => ({
10450
+ const k = r.indexOf(c), S = a.indexOf(u), M = (A) => ({
10451
10451
  width: r[A] || 0,
10452
10452
  height: a[A] || 0
10453
10453
  });
10454
10454
  return {
10455
- first: C(0),
10456
- last: C(n - 1),
10457
- widest: C(k),
10458
- highest: C(S),
10455
+ first: M(0),
10456
+ last: M(n - 1),
10457
+ widest: M(k),
10458
+ highest: M(S),
10459
10459
  widths: r,
10460
10460
  heights: a
10461
10461
  };
@@ -10508,15 +10508,15 @@ class Ye extends ht {
10508
10508
  const n = this.axis, i = this.chart, s = this.options, { grid: o, position: r, border: a } = s, l = o.offset, c = this.isHorizontal(), d = this.ticks.length + (l ? 1 : 0), f = Pn(o), h = [], p = a.setContext(this.getContext()), g = p.display ? p.width : 0, m = g / 2, b = function(D) {
10509
10509
  return Se(i, D, g);
10510
10510
  };
10511
- let y, x, w, _, k, S, C, A, P, O, T, I;
10511
+ let y, x, w, _, k, S, M, A, P, O, T, I;
10512
10512
  if (r === "top")
10513
10513
  y = b(this.bottom), S = this.bottom - f, A = y - m, O = b(t.top) + m, I = t.bottom;
10514
10514
  else if (r === "bottom")
10515
10515
  y = b(this.top), O = t.top, I = b(t.bottom) - m, S = y + m, A = this.top + f;
10516
10516
  else if (r === "left")
10517
- y = b(this.right), k = this.right - f, C = y - m, P = b(t.left) + m, T = t.right;
10517
+ y = b(this.right), k = this.right - f, M = y - m, P = b(t.left) + m, T = t.right;
10518
10518
  else if (r === "right")
10519
- y = b(this.left), P = t.left, T = b(t.right) - m, k = y + m, C = this.left + f;
10519
+ y = b(this.left), P = t.left, T = b(t.right) - m, k = y + m, M = this.left + f;
10520
10520
  else if (n === "x") {
10521
10521
  if (r === "center")
10522
10522
  y = b((t.top + t.bottom) / 2 + 0.5);
@@ -10532,15 +10532,15 @@ class Ye extends ht {
10532
10532
  const D = Object.keys(r)[0], N = r[D];
10533
10533
  y = b(this.chart.scales[D].getPixelForValue(N));
10534
10534
  }
10535
- k = y - m, C = k - f, P = t.left, T = t.right;
10535
+ k = y - m, M = k - f, P = t.left, T = t.right;
10536
10536
  }
10537
10537
  const F = z(s.ticks.maxTicksLimit, d), j = Math.max(1, Math.ceil(d / F));
10538
10538
  for (x = 0; x < d; x += j) {
10539
10539
  const D = this.getContext(x), N = o.setContext(D), L = a.setContext(D), R = N.lineWidth, X = N.color, U = L.dash || [], Z = L.dashOffset, at = N.tickWidth, ct = N.tickColor, St = N.tickBorderDash || [], gt = N.tickBorderDashOffset;
10540
- w = k_(this, x, l), w !== void 0 && (_ = Se(i, w, R), c ? k = C = P = T = _ : S = A = O = I = _, h.push({
10540
+ w = k_(this, x, l), w !== void 0 && (_ = Se(i, w, R), c ? k = M = P = T = _ : S = A = O = I = _, h.push({
10541
10541
  tx1: k,
10542
10542
  ty1: S,
10543
- tx2: C,
10543
+ tx2: M,
10544
10544
  ty2: A,
10545
10545
  x1: P,
10546
10546
  y1: O,
@@ -10560,7 +10560,7 @@ class Ye extends ht {
10560
10560
  }
10561
10561
  _computeLabelItems(t) {
10562
10562
  const n = this.axis, i = this.options, { position: s, ticks: o } = i, r = this.isHorizontal(), a = this.ticks, { align: l, crossAlign: c, padding: u, mirror: d } = o, f = Pn(i.grid), h = f + u, p = d ? -u : h, g = -rt(this.labelRotation), m = [];
10563
- let b, y, x, w, _, k, S, C, A, P, O, T, I = "middle";
10563
+ let b, y, x, w, _, k, S, M, A, P, O, T, I = "middle";
10564
10564
  if (s === "top")
10565
10565
  k = this.bottom - p, S = this._getXAxisLabelAlignment();
10566
10566
  else if (s === "bottom")
@@ -10593,10 +10593,10 @@ class Ye extends ht {
10593
10593
  for (b = 0, y = a.length; b < y; ++b) {
10594
10594
  x = a[b], w = x.label;
10595
10595
  const j = o.setContext(this.getContext(b));
10596
- C = this.getPixelForTick(b) + o.labelOffset, A = this._resolveTickFontOptions(b), P = A.lineHeight, O = q(w) ? w.length : 1;
10596
+ M = this.getPixelForTick(b) + o.labelOffset, A = this._resolveTickFontOptions(b), P = A.lineHeight, O = q(w) ? w.length : 1;
10597
10597
  const D = O / 2, N = j.color, L = j.textStrokeColor, R = j.textStrokeWidth;
10598
10598
  let X = S;
10599
- r ? (_ = C, S === "inner" && (b === y - 1 ? X = this.options.reverse ? "left" : "right" : b === 0 ? X = this.options.reverse ? "right" : "left" : X = "center"), s === "top" ? c === "near" || g !== 0 ? T = -O * P + P / 2 : c === "center" ? T = -F.highest.height / 2 - D * P + P : T = -F.highest.height + P / 2 : c === "near" || g !== 0 ? T = P / 2 : c === "center" ? T = F.highest.height / 2 - D * P : T = F.highest.height - O * P, d && (T *= -1), g !== 0 && !j.showLabelBackdrop && (_ += P / 2 * Math.sin(g))) : (k = C, T = (1 - O) * P / 2);
10599
+ r ? (_ = M, S === "inner" && (b === y - 1 ? X = this.options.reverse ? "left" : "right" : b === 0 ? X = this.options.reverse ? "right" : "left" : X = "center"), s === "top" ? c === "near" || g !== 0 ? T = -O * P + P / 2 : c === "center" ? T = -F.highest.height / 2 - D * P + P : T = -F.highest.height + P / 2 : c === "near" || g !== 0 ? T = P / 2 : c === "center" ? T = F.highest.height / 2 - D * P : T = F.highest.height - O * P, d && (T *= -1), g !== 0 && !j.showLabelBackdrop && (_ += P / 2 * Math.sin(g))) : (k = M, T = (1 - O) * P / 2);
10600
10600
  let U;
10601
10601
  if (j.showLabelBackdrop) {
10602
10602
  const Z = lt(j.backdropPadding), at = F.heights[b], ct = F.widths[b];
@@ -11797,12 +11797,12 @@ function Ul() {
11797
11797
  return J(Yt.instances, (e) => e._plugins.invalidate());
11798
11798
  }
11799
11799
  function ew(e, t, n) {
11800
- const { startAngle: i, x: s, y: o, outerRadius: r, innerRadius: a, options: l } = t, { borderWidth: c, borderJoinStyle: u } = l, d = Math.min(c / r, Ct(i - n));
11800
+ const { startAngle: i, x: s, y: o, outerRadius: r, innerRadius: a, options: l } = t, { borderWidth: c, borderJoinStyle: u } = l, d = Math.min(c / r, Mt(i - n));
11801
11801
  if (e.beginPath(), e.arc(s, o, r - c / 2, i + d / 2, n - d / 2), a > 0) {
11802
- const f = Math.min(c / a, Ct(i - n));
11802
+ const f = Math.min(c / a, Mt(i - n));
11803
11803
  e.arc(s, o, a + c / 2, n - f / 2, i + f / 2, !0);
11804
11804
  } else {
11805
- const f = Math.min(c / 2, r * Ct(i - n));
11805
+ const f = Math.min(c / 2, r * Mt(i - n));
11806
11806
  if (u === "round")
11807
11807
  e.arc(s, o, f, n - V / 2, i + V / 2, !0);
11808
11808
  else if (u === "bevel") {
@@ -11851,11 +11851,11 @@ function xs(e, t, n, i, s, o) {
11851
11851
  const j = u > 0 ? u - i : 0, D = d > 0 ? d - i : 0, N = (j + D) / 2, L = N !== 0 ? p * N / (N + i) : p;
11852
11852
  h = (p - L) / 2;
11853
11853
  }
11854
- const g = Math.max(1e-3, p * d - n / V) / d, m = (p - g) / 2, b = l + m + h, y = s - m - h, { outerStart: x, outerEnd: w, innerStart: _, innerEnd: k } = sw(t, f, d, y - b), S = d - x, C = d - w, A = b + x / S, P = y - w / C, O = f + _, T = f + k, I = b + _ / O, F = y - k / T;
11854
+ const g = Math.max(1e-3, p * d - n / V) / d, m = (p - g) / 2, b = l + m + h, y = s - m - h, { outerStart: x, outerEnd: w, innerStart: _, innerEnd: k } = sw(t, f, d, y - b), S = d - x, M = d - w, A = b + x / S, P = y - w / M, O = f + _, T = f + k, I = b + _ / O, F = y - k / T;
11855
11855
  if (e.beginPath(), o) {
11856
11856
  const j = (A + P) / 2;
11857
11857
  if (e.arc(r, a, d, A, j), e.arc(r, a, d, j, P), w > 0) {
11858
- const R = tn(C, P, r, a);
11858
+ const R = tn(M, P, r, a);
11859
11859
  e.arc(R.x, R.y, w, P, y + et);
11860
11860
  }
11861
11861
  const D = tn(T, y, r, a);
@@ -12365,7 +12365,7 @@ function Qo(e, t, n, i) {
12365
12365
  if (i)
12366
12366
  return;
12367
12367
  let s = t[e], o = n[e];
12368
- return e === "angle" && (s = Ct(s), o = Ct(o)), {
12368
+ return e === "angle" && (s = Mt(s), o = Mt(o)), {
12369
12369
  property: e,
12370
12370
  start: s,
12371
12371
  end: o
@@ -12435,12 +12435,12 @@ function Sw(e, t, n) {
12435
12435
  }
12436
12436
  return !1;
12437
12437
  }
12438
- function Mw(e, t, n) {
12438
+ function Cw(e, t, n) {
12439
12439
  const i = Aw(e);
12440
12440
  if ($(i))
12441
12441
  return isNaN(i.value) ? !1 : i;
12442
12442
  let s = parseFloat(i);
12443
- return it(s) && Math.floor(s) === s ? Cw(i[0], t, s, n) : [
12443
+ return it(s) && Math.floor(s) === s ? Mw(i[0], t, s, n) : [
12444
12444
  "origin",
12445
12445
  "start",
12446
12446
  "end",
@@ -12448,7 +12448,7 @@ function Mw(e, t, n) {
12448
12448
  "shape"
12449
12449
  ].indexOf(i) >= 0 && i;
12450
12450
  }
12451
- function Cw(e, t, n, i) {
12451
+ function Mw(e, t, n, i) {
12452
12452
  return (e === "-" || e === "+") && (n = t + n), n === t || n < 0 || n >= i ? !1 : n;
12453
12453
  }
12454
12454
  function kw(e, t) {
@@ -12687,7 +12687,7 @@ var zw = {
12687
12687
  o = e.getDatasetMeta(r), a = o.dataset, l = null, a && a.options && a instanceof ge && (l = {
12688
12688
  visible: e.isDatasetVisible(r),
12689
12689
  index: r,
12690
- fill: Mw(a, r, i),
12690
+ fill: Cw(a, r, i),
12691
12691
  chart: e,
12692
12692
  axis: o.controller.options.indexAxis,
12693
12693
  scale: o.vScale,
@@ -12821,21 +12821,21 @@ class tc extends ht {
12821
12821
  const { options: t, columnSizes: n, lineWidths: i, ctx: s } = this, { align: o, labels: r } = t, a = nt.color, l = on(t.rtl, this.left, this.width), c = st(r.font), { padding: u } = r, d = c.size, f = d / 2;
12822
12822
  let h;
12823
12823
  this.drawTitle(), s.textAlign = l.textAlign("left"), s.textBaseline = "middle", s.lineWidth = 0.5, s.font = c.string;
12824
- const { boxWidth: p, boxHeight: g, itemHeight: m } = Ql(r, d), b = function(k, S, C) {
12824
+ const { boxWidth: p, boxHeight: g, itemHeight: m } = Ql(r, d), b = function(k, S, M) {
12825
12825
  if (isNaN(p) || p <= 0 || isNaN(g) || g < 0)
12826
12826
  return;
12827
12827
  s.save();
12828
- const A = z(C.lineWidth, 1);
12829
- if (s.fillStyle = z(C.fillStyle, a), s.lineCap = z(C.lineCap, "butt"), s.lineDashOffset = z(C.lineDashOffset, 0), s.lineJoin = z(C.lineJoin, "miter"), s.lineWidth = A, s.strokeStyle = z(C.strokeStyle, a), s.setLineDash(z(C.lineDash, [])), r.usePointStyle) {
12828
+ const A = z(M.lineWidth, 1);
12829
+ if (s.fillStyle = z(M.fillStyle, a), s.lineCap = z(M.lineCap, "butt"), s.lineDashOffset = z(M.lineDashOffset, 0), s.lineJoin = z(M.lineJoin, "miter"), s.lineWidth = A, s.strokeStyle = z(M.strokeStyle, a), s.setLineDash(z(M.lineDash, [])), r.usePointStyle) {
12830
12830
  const P = {
12831
12831
  radius: g * Math.SQRT2 / 2,
12832
- pointStyle: C.pointStyle,
12833
- rotation: C.rotation,
12832
+ pointStyle: M.pointStyle,
12833
+ rotation: M.rotation,
12834
12834
  borderWidth: A
12835
12835
  }, O = l.xPlus(k, p / 2), T = S + f;
12836
12836
  Fd(s, P, O, T, r.pointStyleWidth && p);
12837
12837
  } else {
12838
- const P = S + Math.max((d - g) / 2, 0), O = l.leftForLtr(k, p), T = Te(C.borderRadius);
12838
+ const P = S + Math.max((d - g) / 2, 0), O = l.leftForLtr(k, p), T = Te(M.borderRadius);
12839
12839
  s.beginPath(), Object.values(T).some((I) => I !== 0) ? ii(s, {
12840
12840
  x: O,
12841
12841
  y: P,
@@ -12845,10 +12845,10 @@ class tc extends ht {
12845
12845
  }) : s.rect(O, P, p, g), s.fill(), A !== 0 && s.stroke();
12846
12846
  }
12847
12847
  s.restore();
12848
- }, y = function(k, S, C) {
12849
- ni(s, C.text, k, S + m / 2, c, {
12850
- strikethrough: C.hidden,
12851
- textAlign: l.textAlign(C.textAlign)
12848
+ }, y = function(k, S, M) {
12849
+ ni(s, M.text, k, S + m / 2, c, {
12850
+ strikethrough: M.hidden,
12851
+ textAlign: l.textAlign(M.textAlign)
12852
12852
  });
12853
12853
  }, x = this.isHorizontal(), w = this._computeTitleHeight();
12854
12854
  x ? h = {
@@ -12863,7 +12863,7 @@ class tc extends ht {
12863
12863
  const _ = m + u;
12864
12864
  this.legendItems.forEach((k, S) => {
12865
12865
  s.strokeStyle = k.fontColor, s.fillStyle = k.fontColor;
12866
- const C = s.measureText(k.text).width, A = l.textAlign(k.textAlign || (k.textAlign = r.textAlign)), P = p + f + C;
12866
+ const M = s.measureText(k.text).width, A = l.textAlign(k.textAlign || (k.textAlign = r.textAlign)), P = p + f + M;
12867
12867
  let O = h.x, T = h.y;
12868
12868
  l.setWidth(this.width), x ? S > 0 && O + P + u > this.right && (T = h.y += _, h.line++, O = h.x = ut(o, this.left + u, this.right - i[h.line])) : S > 0 && T + _ > this.bottom && (O = h.x = O + n[h.line].width + u, h.line++, T = h.y = ut(o, this.top + w + u, this.bottom - n[h.line].height));
12869
12869
  const I = l.x(O);
@@ -13454,8 +13454,8 @@ class tr extends ht {
13454
13454
  drawBody(t, n, i) {
13455
13455
  const { body: s } = this, { bodySpacing: o, bodyAlign: r, displayColors: a, boxHeight: l, boxWidth: c, boxPadding: u } = i, d = st(i.bodyFont);
13456
13456
  let f = d.lineHeight, h = 0;
13457
- const p = on(i.rtl, this.x, this.width), g = function(C) {
13458
- n.fillText(C, p.x(t.x + h), t.y + f / 2), t.y += f + o;
13457
+ const p = on(i.rtl, this.x, this.width), g = function(M) {
13458
+ n.fillText(M, p.x(t.x + h), t.y + f / 2), t.y += f + o;
13459
13459
  }, m = p.textAlign(r);
13460
13460
  let b, y, x, w, _, k, S;
13461
13461
  for (n.textAlign = r, n.textBaseline = "middle", n.font = d.string, t.x = Ni(this, m, i), n.fillStyle = i.bodyColor, J(this.beforeBody, g), h = a && m !== "right" ? r === "center" ? c / 2 + u : c + 2 + u : 0, w = 0, k = s.length; w < k; ++w) {
@@ -13743,7 +13743,7 @@ E(vs, "id", "category"), E(vs, "defaults", {
13743
13743
  });
13744
13744
  function iS(e, t) {
13745
13745
  const n = [], { bounds: s, step: o, min: r, max: a, precision: l, count: c, maxTicks: u, maxDigits: d, includeBounds: f } = e, h = o || 1, p = u - 1, { min: g, max: m } = t, b = !Y(r), y = !Y(a), x = !Y(c), w = (m - g) / (d + 1);
13746
- let _ = il((m - g) / p / h) * h, k, S, C, A;
13746
+ let _ = il((m - g) / p / h) * h, k, S, M, A;
13747
13747
  if (_ < 1e-14 && !b && !y)
13748
13748
  return [
13749
13749
  {
@@ -13753,9 +13753,9 @@ function iS(e, t) {
13753
13753
  value: m
13754
13754
  }
13755
13755
  ];
13756
- A = Math.ceil(m / _) - Math.floor(g / _), A > p && (_ = il(A * _ / p / h) * h), Y(l) || (k = Math.pow(10, l), _ = Math.ceil(_ * k) / k), s === "ticks" ? (S = Math.floor(g / _) * _, C = Math.ceil(m / _) * _) : (S = g, C = m), b && y && o && fx((a - r) / o, _ / 1e3) ? (A = Math.round(Math.min((a - r) / _, u)), _ = (a - r) / A, S = r, C = a) : x ? (S = b ? r : S, C = y ? a : C, A = c - 1, _ = (C - S) / A) : (A = (C - S) / _, zn(A, Math.round(A), _ / 1e3) ? A = Math.round(A) : A = Math.ceil(A));
13756
+ A = Math.ceil(m / _) - Math.floor(g / _), A > p && (_ = il(A * _ / p / h) * h), Y(l) || (k = Math.pow(10, l), _ = Math.ceil(_ * k) / k), s === "ticks" ? (S = Math.floor(g / _) * _, M = Math.ceil(m / _) * _) : (S = g, M = m), b && y && o && fx((a - r) / o, _ / 1e3) ? (A = Math.round(Math.min((a - r) / _, u)), _ = (a - r) / A, S = r, M = a) : x ? (S = b ? r : S, M = y ? a : M, A = c - 1, _ = (M - S) / A) : (A = (M - S) / _, zn(A, Math.round(A), _ / 1e3) ? A = Math.round(A) : A = Math.ceil(A));
13757
13757
  const P = Math.max(sl(_), sl(S));
13758
- k = Math.pow(10, Y(l) ? P : l), S = Math.round(S * k) / k, C = Math.round(C * k) / k;
13758
+ k = Math.pow(10, Y(l) ? P : l), S = Math.round(S * k) / k, M = Math.round(M * k) / k;
13759
13759
  let O = 0;
13760
13760
  for (b && (f && S !== r ? (n.push({
13761
13761
  value: r
@@ -13767,10 +13767,10 @@ function iS(e, t) {
13767
13767
  value: T
13768
13768
  });
13769
13769
  }
13770
- return y && f && C !== a ? n.length && zn(n[n.length - 1].value, a, ac(a, w, e)) ? n[n.length - 1].value = a : n.push({
13770
+ return y && f && M !== a ? n.length && zn(n[n.length - 1].value, a, ac(a, w, e)) ? n[n.length - 1].value = a : n.push({
13771
13771
  value: a
13772
- }) : (!y || C === a) && n.push({
13773
- value: C
13772
+ }) : (!y || M === a) && n.push({
13773
+ value: M
13774
13774
  }), n;
13775
13775
  }
13776
13776
  function ac(e, t, { horizontal: n, minRotation: i }) {
@@ -13859,7 +13859,7 @@ E(_s, "id", "linear"), E(_s, "defaults", {
13859
13859
  callback: Lr.formatters.numeric
13860
13860
  }
13861
13861
  });
13862
- const oi = (e) => Math.floor(fe(e)), Ce = (e, t) => Math.pow(10, oi(e) + t);
13862
+ const oi = (e) => Math.floor(fe(e)), Me = (e, t) => Math.pow(10, oi(e) + t);
13863
13863
  function lc(e) {
13864
13864
  return e / Math.pow(10, oi(e)) === 1;
13865
13865
  }
@@ -13877,18 +13877,18 @@ function sS(e, t) {
13877
13877
  return Math.min(i, oi(e));
13878
13878
  }
13879
13879
  function oS(e, { min: t, max: n }) {
13880
- t = Mt(e.min, t);
13880
+ t = Ct(e.min, t);
13881
13881
  const i = [], s = oi(t);
13882
13882
  let o = sS(t, n), r = o < 0 ? Math.pow(10, Math.abs(o)) : 1;
13883
13883
  const a = Math.pow(10, o), l = s > o ? Math.pow(10, s) : 0, c = Math.round((t - l) * r) / r, u = Math.floor((t - l) / a / 10) * a * 10;
13884
- let d = Math.floor((c - u) / Math.pow(10, o)), f = Mt(e.min, Math.round((l + u + d * Math.pow(10, o)) * r) / r);
13884
+ let d = Math.floor((c - u) / Math.pow(10, o)), f = Ct(e.min, Math.round((l + u + d * Math.pow(10, o)) * r) / r);
13885
13885
  for (; f < n; )
13886
13886
  i.push({
13887
13887
  value: f,
13888
13888
  major: lc(f),
13889
13889
  significand: d
13890
13890
  }), d >= 10 ? d = d < 15 ? 15 : 20 : d++, d >= 20 && (o++, d = 2, r = o >= 0 ? 1 : r), f = Math.round((l + u + d * Math.pow(10, o)) * r) / r;
13891
- const h = Mt(e.max, f);
13891
+ const h = Ct(e.max, f);
13892
13892
  return i.push({
13893
13893
  value: h,
13894
13894
  major: lc(h),
@@ -13912,13 +13912,13 @@ class ws extends Ye {
13912
13912
  }
13913
13913
  determineDataLimits() {
13914
13914
  const { min: t, max: n } = this.getMinMax(!0);
13915
- this.min = it(t) ? Math.max(0, t) : null, this.max = it(n) ? Math.max(0, n) : null, this.options.beginAtZero && (this._zero = !0), this._zero && this.min !== this._suggestedMin && !it(this._userMin) && (this.min = t === Ce(this.min, 0) ? Ce(this.min, -1) : Ce(this.min, 0)), this.handleTickRangeOptions();
13915
+ this.min = it(t) ? Math.max(0, t) : null, this.max = it(n) ? Math.max(0, n) : null, this.options.beginAtZero && (this._zero = !0), this._zero && this.min !== this._suggestedMin && !it(this._userMin) && (this.min = t === Me(this.min, 0) ? Me(this.min, -1) : Me(this.min, 0)), this.handleTickRangeOptions();
13916
13916
  }
13917
13917
  handleTickRangeOptions() {
13918
13918
  const { minDefined: t, maxDefined: n } = this.getUserBounds();
13919
13919
  let i = this.min, s = this.max;
13920
13920
  const o = (a) => i = t ? i : a, r = (a) => s = n ? s : a;
13921
- i === s && (i <= 0 ? (o(1), r(10)) : (o(Ce(i, -1)), r(Ce(s, 1)))), i <= 0 && o(Ce(s, -1)), s <= 0 && r(Ce(i, 1)), this.min = i, this.max = s;
13921
+ i === s && (i <= 0 ? (o(1), r(10)) : (o(Me(i, -1)), r(Me(s, 1)))), i <= 0 && o(Me(s, -1)), s <= 0 && r(Me(i, 1)), this.min = i, this.max = s;
13922
13922
  }
13923
13923
  buildTicks() {
13924
13924
  const t = this.options, n = {
@@ -14392,12 +14392,12 @@ const hS = /* @__PURE__ */ Wr("line", Gi), gS = /* @__PURE__ */ Wr("bar", Xi), v
14392
14392
  W("--em-sem-chart-color--8"),
14393
14393
  W("--em-sem-chart-color--9"),
14394
14394
  W("--em-sem-chart-color--10")
14395
- ], Ms = [
14395
+ ], Cs = [
14396
14396
  W("--em-sem-chart-color--1"),
14397
14397
  W("--em-sem-chart-color--4"),
14398
14398
  W("--em-sem-chart-color--7"),
14399
14399
  W("--em-sem-chart-color--10")
14400
- ], mS = {
14400
+ ], mS = () => ({
14401
14401
  datalabels: {
14402
14402
  backgroundColor: W("--em-chart-label-background", "#FFF"),
14403
14403
  borderRadius: H("--em-chart-label-border-radius", "624.9375rem"),
@@ -14453,10 +14453,10 @@ const hS = /* @__PURE__ */ Wr("line", Gi), gS = /* @__PURE__ */ Wr("bar", Xi), v
14453
14453
  family: W("--em-chart-tooltip-family", "sans-serif")
14454
14454
  }
14455
14455
  }
14456
- }, wf = {
14456
+ }), wf = {
14457
14457
  responsive: !0,
14458
14458
  maintainAspectRatio: !1,
14459
- plugins: mS
14459
+ plugins: mS()
14460
14460
  }, bS = {
14461
14461
  datalabels: {
14462
14462
  labels: {
@@ -14470,7 +14470,7 @@ const hS = /* @__PURE__ */ Wr("line", Gi), gS = /* @__PURE__ */ Wr("bar", Xi), v
14470
14470
  }
14471
14471
  }
14472
14472
  }
14473
- }, Ys = {
14473
+ }, Ys = () => ({
14474
14474
  display: !0,
14475
14475
  color: W("--em-chart-grid-label-color", "#212129"),
14476
14476
  font: {
@@ -14478,7 +14478,7 @@ const hS = /* @__PURE__ */ Wr("line", Gi), gS = /* @__PURE__ */ Wr("bar", Xi), v
14478
14478
  family: W("--em-chart-grid-font-family", "sans-serif"),
14479
14479
  weight: H("--em-chart-grid-label-font-weight", "400")
14480
14480
  }
14481
- }, Us = {
14481
+ }), Us = () => ({
14482
14482
  display: !0,
14483
14483
  color: W("--em-chart-grid-label-color--muted", "#5C5C66"),
14484
14484
  font: {
@@ -14486,26 +14486,26 @@ const hS = /* @__PURE__ */ Wr("line", Gi), gS = /* @__PURE__ */ Wr("bar", Xi), v
14486
14486
  family: W("--em-chart-grid-font-family", "sans-serif"),
14487
14487
  weight: H("--em-chart-grid-label-font-weight", "400")
14488
14488
  }
14489
- }, yc = {
14489
+ }), yc = () => ({
14490
14490
  color: W("--em-chart-grid-label-color", "#212129"),
14491
14491
  font: {
14492
14492
  size: H("--em-chart-grid-title-font-size", "0.875rem"),
14493
14493
  weight: H("--em-chart-grid-title-font-weight", "700"),
14494
14494
  family: W("--em-chart-grid-font-family", "sans-serif")
14495
14495
  }
14496
- }, xc = {
14496
+ }), xc = () => ({
14497
14497
  color: W("--em-chart-grid-line-color--light", "#EDEDF1"),
14498
14498
  lineWidth: H("--em-chart-grid-line-width--thin", "0.0625rem")
14499
- }, yS = {
14499
+ }), yS = {
14500
14500
  x: {
14501
- grid: xc,
14502
- title: yc,
14503
- ticks: Ys
14501
+ grid: xc(),
14502
+ title: yc(),
14503
+ ticks: Ys()
14504
14504
  },
14505
14505
  y: {
14506
- grid: xc,
14507
- title: yc,
14508
- ticks: Us
14506
+ grid: xc(),
14507
+ title: yc(),
14508
+ ticks: Us()
14509
14509
  }
14510
14510
  }, Sf = At(wf, {
14511
14511
  plugins: bS,
@@ -14526,7 +14526,7 @@ const Yr = (e) => {
14526
14526
  return {
14527
14527
  ...e,
14528
14528
  datasets: (t = e.datasets) == null ? void 0 : t.map((n, i) => {
14529
- const s = Ms[i % Ms.length], o = {
14529
+ const s = Cs[i % Cs.length], o = {
14530
14530
  ...n,
14531
14531
  backgroundColor: s,
14532
14532
  borderColor: s
@@ -14565,7 +14565,7 @@ const Yr = (e) => {
14565
14565
  border: {
14566
14566
  display: !1
14567
14567
  },
14568
- ticks: Ys,
14568
+ ticks: Ys(),
14569
14569
  reverse: e.reverseXAxis
14570
14570
  },
14571
14571
  y: {
@@ -14577,13 +14577,13 @@ const Yr = (e) => {
14577
14577
  border: {
14578
14578
  display: !1
14579
14579
  },
14580
- ticks: Us,
14580
+ ticks: Us(),
14581
14581
  min: e.yAxisRangeMin,
14582
14582
  max: e.yAxisRangeMax,
14583
14583
  type: e.showLogarithmicScale ? "logarithmic" : "linear"
14584
14584
  }
14585
14585
  }
14586
- }), MS = (e) => ({
14586
+ }), CS = (e) => ({
14587
14587
  indexAxis: "y",
14588
14588
  layout: {
14589
14589
  padding: {
@@ -14606,7 +14606,7 @@ const Yr = (e) => {
14606
14606
  x: {
14607
14607
  grid: { display: !0, color: Yr },
14608
14608
  border: { display: !1 },
14609
- ticks: Us,
14609
+ ticks: Us(),
14610
14610
  min: e.xAxisRangeMin,
14611
14611
  max: e.xAxisRangeMax,
14612
14612
  type: e.showLogarithmicScale ? "logarithmic" : "linear"
@@ -14616,11 +14616,11 @@ const Yr = (e) => {
14616
14616
  border: {
14617
14617
  display: !1
14618
14618
  },
14619
- ticks: Ys,
14619
+ ticks: Ys(),
14620
14620
  reverse: e.reverseYAxis
14621
14621
  }
14622
14622
  }
14623
- }), CS = (e) => {
14623
+ }), MS = (e) => {
14624
14624
  const t = {
14625
14625
  elements: {
14626
14626
  bar: {
@@ -14664,7 +14664,7 @@ const Yr = (e) => {
14664
14664
  ticks: { display: !0 }
14665
14665
  }
14666
14666
  }
14667
- }, i = (e.horizontal ? MS : SS)(e);
14667
+ }, i = (e.horizontal ? CS : SS)(e);
14668
14668
  return At(Sf, t, i);
14669
14669
  }, kS = "_chartContainer_18rs7_1", Ks = {
14670
14670
  chartContainer: kS
@@ -14777,14 +14777,14 @@ function PS(e, t, n, i, s) {
14777
14777
  vy: i
14778
14778
  };
14779
14779
  }
14780
- var AS = 0, Mf = 1, Cf = 2, kf = 4, Pf = 8;
14780
+ var AS = 0, Cf = 1, Mf = 2, kf = 4, Pf = 8;
14781
14781
  function Bi(e, t, n) {
14782
14782
  var i = AS;
14783
- return e < n.left ? i |= Mf : e > n.right && (i |= Cf), t < n.top ? i |= Pf : t > n.bottom && (i |= kf), i;
14783
+ return e < n.left ? i |= Cf : e > n.right && (i |= Mf), t < n.top ? i |= Pf : t > n.bottom && (i |= kf), i;
14784
14784
  }
14785
14785
  function RS(e, t) {
14786
14786
  for (var n = e.x0, i = e.y0, s = e.x1, o = e.y1, r = Bi(n, i, t), a = Bi(s, o, t), l, c, u; !(!(r | a) || r & a); )
14787
- l = r || a, l & Pf ? (c = n + (s - n) * (t.top - i) / (o - i), u = t.top) : l & kf ? (c = n + (s - n) * (t.bottom - i) / (o - i), u = t.bottom) : l & Cf ? (u = i + (o - i) * (t.right - n) / (s - n), c = t.right) : l & Mf && (u = i + (o - i) * (t.left - n) / (s - n), c = t.left), l === r ? (n = c, i = u, r = Bi(n, i, t)) : (s = c, o = u, a = Bi(s, o, t));
14787
+ l = r || a, l & Pf ? (c = n + (s - n) * (t.top - i) / (o - i), u = t.top) : l & kf ? (c = n + (s - n) * (t.bottom - i) / (o - i), u = t.bottom) : l & Mf ? (u = i + (o - i) * (t.right - n) / (s - n), c = t.right) : l & Cf && (u = i + (o - i) * (t.left - n) / (s - n), c = t.left), l === r ? (n = c, i = u, r = Bi(n, i, t)) : (s = c, o = u, a = Bi(s, o, t));
14788
14788
  return {
14789
14789
  x0: n,
14790
14790
  x1: s,
@@ -15288,11 +15288,11 @@ Yt.register(
15288
15288
  Xs
15289
15289
  );
15290
15290
  const x1 = ({ data: e, onSegmentClick: t, options: n = {}, ...i }) => {
15291
- const s = xe(null), o = At(CS(i), n), r = (a) => {
15291
+ const s = xe(null), o = At(MS(i), n), r = (a) => {
15292
15292
  const l = Hs(a, s);
15293
15293
  t == null || t(l);
15294
15294
  };
15295
- return /* @__PURE__ */ M.jsx("div", { className: Ks.chartContainer, children: /* @__PURE__ */ M.jsx(
15295
+ return /* @__PURE__ */ C.jsx("div", { className: Ks.chartContainer, children: /* @__PURE__ */ C.jsx(
15296
15296
  gS,
15297
15297
  {
15298
15298
  ref: s,
@@ -15306,7 +15306,7 @@ const x1 = ({ data: e, onSegmentClick: t, options: n = {}, ...i }) => {
15306
15306
  return {
15307
15307
  ...e,
15308
15308
  datasets: ((n = e.datasets) == null ? void 0 : n.map((i, s) => {
15309
- const o = Ms[s % Ms.length];
15309
+ const o = Cs[s % Cs.length];
15310
15310
  return At({
15311
15311
  backgroundColor: o,
15312
15312
  borderColor: o
@@ -15355,7 +15355,7 @@ const x1 = ({ data: e, onSegmentClick: t, options: n = {}, ...i }) => {
15355
15355
  border: {
15356
15356
  display: !1
15357
15357
  },
15358
- ticks: Ys,
15358
+ ticks: Ys(),
15359
15359
  title: {
15360
15360
  display: !!e.xAxisLabel,
15361
15361
  text: e.xAxisLabel
@@ -15364,7 +15364,7 @@ const x1 = ({ data: e, onSegmentClick: t, options: n = {}, ...i }) => {
15364
15364
  },
15365
15365
  y: {
15366
15366
  beginAtZero: !0,
15367
- ticks: Us,
15367
+ ticks: Us(),
15368
15368
  grid: { display: !0, color: Yr },
15369
15369
  border: {
15370
15370
  display: !1
@@ -15398,7 +15398,7 @@ const v1 = ({ options: e = {}, data: t, onSegmentClick: n, ...i }) => {
15398
15398
  const l = Hs(a, s);
15399
15399
  n == null || n(l);
15400
15400
  };
15401
- return /* @__PURE__ */ M.jsx("div", { className: Ks.chartContainer, children: /* @__PURE__ */ M.jsx(
15401
+ return /* @__PURE__ */ C.jsx("div", { className: Ks.chartContainer, children: /* @__PURE__ */ C.jsx(
15402
15402
  hS,
15403
15403
  {
15404
15404
  ref: s,
@@ -15484,12 +15484,12 @@ function Ue(e, t, n) {
15484
15484
  };
15485
15485
  }
15486
15486
  const QS = (e, t) => t > e || e.length > t.length && e.slice(0, t.length) === t, De = 1e-3, Gs = (e, t, n) => Math.min(n, Math.max(t, e)), Ef = (e, t) => e.value >= e.start - t && e.value <= e.end + t;
15487
- function tM(e, t, n) {
15487
+ function tC(e, t, n) {
15488
15488
  for (const i of Object.keys(e))
15489
15489
  e[i] = Gs(e[i], t, n);
15490
15490
  return e;
15491
15491
  }
15492
- function eM(e, t, n, i) {
15492
+ function eC(e, t, n, i) {
15493
15493
  return !e || !t || n <= 0 ? !1 : Math.pow(e.x - t.x, 2) + Math.pow(e.y - t.y, 2) <= Math.pow(n + i, 2);
15494
15494
  }
15495
15495
  function Tf(e, { x: t, y: n, x2: i, y2: s }, o, { borderWidth: r, hitTolerance: a }) {
@@ -15504,7 +15504,7 @@ function Ke(e, t) {
15504
15504
  const { centerX: n, centerY: i } = e.getProps(["centerX", "centerY"], t);
15505
15505
  return { x: n, y: i };
15506
15506
  }
15507
- function nM(e, t, n, i = !0) {
15507
+ function nC(e, t, n, i = !0) {
15508
15508
  const s = n.split(".");
15509
15509
  let o = 0;
15510
15510
  for (const r of t.split(".")) {
@@ -15519,7 +15519,7 @@ function nM(e, t, n, i = !0) {
15519
15519
  }
15520
15520
  return !0;
15521
15521
  }
15522
- const If = (e) => typeof e == "string" && e.endsWith("%"), Ff = (e) => parseFloat(e) / 100, Nf = (e) => Gs(Ff(e), 0, 1), On = (e, t) => ({ x: e, y: t, x2: e, y2: t, width: 0, height: 0 }), iM = {
15522
+ const If = (e) => typeof e == "string" && e.endsWith("%"), Ff = (e) => parseFloat(e) / 100, Nf = (e) => Gs(Ff(e), 0, 1), On = (e, t) => ({ x: e, y: t, x2: e, y2: t, width: 0, height: 0 }), iC = {
15523
15523
  box: (e) => On(e.centerX, e.centerY),
15524
15524
  doughnutLabel: (e) => On(e.centerX, e.centerY),
15525
15525
  ellipse: (e) => ({ centerX: e.centerX, centerY: e.centerX, radius: 0, width: 0, height: 0 }),
@@ -15534,7 +15534,7 @@ function Kr(e, t) {
15534
15534
  function we(e, t, n = !0) {
15535
15535
  return typeof t == "number" ? t : If(t) ? (n ? Nf(t) : Ff(t)) * e : e;
15536
15536
  }
15537
- function sM(e, t) {
15537
+ function sC(e, t) {
15538
15538
  const { x: n, width: i } = e, s = t.textAlign;
15539
15539
  return s === "center" ? n + i / 2 : s === "end" || s === "right" ? n + i : n;
15540
15540
  }
@@ -15580,7 +15580,7 @@ function gn(e, t, n) {
15580
15580
  if (i === !0)
15581
15581
  return Wf(t, n);
15582
15582
  } else return;
15583
- return oM(e, t, n);
15583
+ return oC(e, t, n);
15584
15584
  }
15585
15585
  function Vf(e, t, n) {
15586
15586
  let i = !1;
@@ -15590,16 +15590,16 @@ function Vf(e, t, n) {
15590
15590
  }
15591
15591
  function Wf(e, t) {
15592
15592
  const n = t.type || "line";
15593
- return iM[n](e);
15593
+ return iC[n](e);
15594
15594
  }
15595
- function oM(e, t, n) {
15595
+ function oC(e, t, n) {
15596
15596
  const i = G(n.init, [{ chart: e, properties: t, options: n }]);
15597
15597
  if (i === !0)
15598
15598
  return Wf(t, n);
15599
15599
  if ($(i))
15600
15600
  return i;
15601
15601
  }
15602
- const To = /* @__PURE__ */ new Map(), rM = (e) => isNaN(e) || e <= 0, aM = (e) => e.reduce(function(t, n) {
15602
+ const To = /* @__PURE__ */ new Map(), rC = (e) => isNaN(e) || e <= 0, aC = (e) => e.reduce(function(t, n) {
15603
15603
  return t += n.string, t;
15604
15604
  }, "");
15605
15605
  function Js(e) {
@@ -15625,8 +15625,8 @@ function Zs(e, t) {
15625
15625
  width: we(n.width, t.width),
15626
15626
  height: we(n.height, t.height)
15627
15627
  };
15628
- const i = zf(t), s = t.textStrokeWidth, o = q(n) ? n : [n], r = o.join() + aM(i) + s + (e._measureText ? "-spriting" : "");
15629
- return To.has(r) || To.set(r, dM(e, o, i, s)), To.get(r);
15628
+ const i = zf(t), s = t.textStrokeWidth, o = q(n) ? n : [n], r = o.join() + aC(i) + s + (e._measureText ? "-spriting" : "");
15629
+ return To.has(r) || To.set(r, dC(e, o, i, s)), To.get(r);
15630
15630
  }
15631
15631
  function Hf(e, t, n) {
15632
15632
  const { x: i, y: s, width: o, height: r } = t;
@@ -15637,32 +15637,32 @@ function Hf(e, t, n) {
15637
15637
  y: s,
15638
15638
  w: o,
15639
15639
  h: r,
15640
- radius: tM(Te(n.borderRadius), 0, Math.min(o, r) / 2)
15640
+ radius: tC(Te(n.borderRadius), 0, Math.min(o, r) / 2)
15641
15641
  }), e.closePath(), e.fill(), a && (e.shadowColor = n.borderShadowColor, e.stroke()), e.restore();
15642
15642
  }
15643
15643
  function Yf(e, t, n, i) {
15644
15644
  const s = n.content;
15645
15645
  if (Js(s)) {
15646
- e.save(), e.globalAlpha = gM(n.opacity, s.style.opacity), e.drawImage(s, t.x, t.y, t.width, t.height), e.restore();
15646
+ e.save(), e.globalAlpha = gC(n.opacity, s.style.opacity), e.drawImage(s, t.x, t.y, t.width, t.height), e.restore();
15647
15647
  return;
15648
15648
  }
15649
- const o = q(s) ? s : [s], r = zf(n, i), a = n.color, l = q(a) ? a : [a], c = sM(t, n), u = t.y + n.textStrokeWidth / 2;
15650
- e.save(), e.textBaseline = "middle", e.textAlign = n.textAlign, lM(e, n) && fM(e, { x: c, y: u }, o, r), hM(e, { x: c, y: u }, o, { fonts: r, colors: l }), e.restore();
15649
+ const o = q(s) ? s : [s], r = zf(n, i), a = n.color, l = q(a) ? a : [a], c = sC(t, n), u = t.y + n.textStrokeWidth / 2;
15650
+ e.save(), e.textBaseline = "middle", e.textAlign = n.textAlign, lC(e, n) && fC(e, { x: c, y: u }, o, r), hC(e, { x: c, y: u }, o, { fonts: r, colors: l }), e.restore();
15651
15651
  }
15652
- function lM(e, t) {
15652
+ function lC(e, t) {
15653
15653
  if (t.textStrokeWidth > 0)
15654
15654
  return e.lineJoin = "round", e.miterLimit = 2, e.lineWidth = t.textStrokeWidth, e.strokeStyle = t.textStrokeColor, !0;
15655
15655
  }
15656
- function cM(e, t, n, i) {
15656
+ function cC(e, t, n, i) {
15657
15657
  const { radius: s, options: o } = t, r = o.pointStyle, a = o.rotation;
15658
15658
  let l = (a || 0) * Or;
15659
15659
  if (Js(r)) {
15660
15660
  e.save(), e.translate(n, i), e.rotate(l), e.drawImage(r, -r.width / 2, -r.height / 2, r.width, r.height), e.restore();
15661
15661
  return;
15662
15662
  }
15663
- rM(s) || uM(e, { x: n, y: i, radius: s, rotation: a, style: r, rad: l });
15663
+ rC(s) || uC(e, { x: n, y: i, radius: s, rotation: a, style: r, rad: l });
15664
15664
  }
15665
- function uM(e, { x: t, y: n, radius: i, rotation: s, style: o, rad: r }) {
15665
+ function uC(e, { x: t, y: n, radius: i, rotation: s, style: o, rad: r }) {
15666
15666
  let a, l, c, u;
15667
15667
  switch (e.beginPath(), o) {
15668
15668
  // Default includes circle
@@ -15703,7 +15703,7 @@ function uM(e, { x: t, y: n, radius: i, rotation: s, style: o, rad: r }) {
15703
15703
  }
15704
15704
  e.fill();
15705
15705
  }
15706
- function dM(e, t, n, i) {
15706
+ function dC(e, t, n, i) {
15707
15707
  e.save();
15708
15708
  const s = t.length;
15709
15709
  let o = 0, r = i;
@@ -15715,7 +15715,7 @@ function dM(e, t, n, i) {
15715
15715
  }
15716
15716
  return e.restore(), { width: o, height: r };
15717
15717
  }
15718
- function fM(e, { x: t, y: n }, i, s) {
15718
+ function fC(e, { x: t, y: n }, i, s) {
15719
15719
  e.beginPath();
15720
15720
  let o = 0;
15721
15721
  i.forEach(function(r, a) {
@@ -15723,52 +15723,52 @@ function fM(e, { x: t, y: n }, i, s) {
15723
15723
  e.font = l.string, e.strokeText(r, t, n + c / 2 + o), o += c;
15724
15724
  }), e.stroke();
15725
15725
  }
15726
- function hM(e, { x: t, y: n }, i, { fonts: s, colors: o }) {
15726
+ function hC(e, { x: t, y: n }, i, { fonts: s, colors: o }) {
15727
15727
  let r = 0;
15728
15728
  i.forEach(function(a, l) {
15729
15729
  const c = o[Math.min(l, o.length - 1)], u = s[Math.min(l, s.length - 1)], d = u.lineHeight;
15730
15730
  e.beginPath(), e.font = u.string, e.fillStyle = c, e.fillText(a, t, n + d / 2 + r), r += d, e.fill();
15731
15731
  });
15732
15732
  }
15733
- function gM(e, t) {
15733
+ function gC(e, t) {
15734
15734
  const n = Be(e) ? e : t;
15735
15735
  return Be(n) ? Gs(n, 0, 1) : 1;
15736
15736
  }
15737
15737
  const Uf = ["left", "bottom", "top", "right"];
15738
- function pM(e, t) {
15739
- const { pointX: n, pointY: i, options: s } = t, o = s.callout, r = o && o.display && vM(t, o);
15740
- if (!r || wM(t, o, r))
15738
+ function pC(e, t) {
15739
+ const { pointX: n, pointY: i, options: s } = t, o = s.callout, r = o && o.display && vC(t, o);
15740
+ if (!r || wC(t, o, r))
15741
15741
  return;
15742
15742
  if (e.save(), e.beginPath(), !re(e, o))
15743
15743
  return e.restore();
15744
- const { separatorStart: l, separatorEnd: c } = mM(t, r), { sideStart: u, sideEnd: d } = yM(t, r, l);
15744
+ const { separatorStart: l, separatorEnd: c } = mC(t, r), { sideStart: u, sideEnd: d } = yC(t, r, l);
15745
15745
  (o.margin > 0 || s.borderWidth === 0) && (e.moveTo(l.x, l.y), e.lineTo(c.x, c.y)), e.moveTo(u.x, u.y), e.lineTo(d.x, d.y);
15746
15746
  const f = Ue({ x: n, y: i }, t.getCenterPoint(), rt(-t.rotation));
15747
15747
  e.lineTo(f.x, f.y), e.stroke(), e.restore();
15748
15748
  }
15749
- function mM(e, t) {
15750
- const { x: n, y: i, x2: s, y2: o } = e, r = bM(e, t);
15749
+ function mC(e, t) {
15750
+ const { x: n, y: i, x2: s, y2: o } = e, r = bC(e, t);
15751
15751
  let a, l;
15752
15752
  return t === "left" || t === "right" ? (a = { x: n + r, y: i }, l = { x: a.x, y: o }) : (a = { x: n, y: i + r }, l = { x: s, y: a.y }), { separatorStart: a, separatorEnd: l };
15753
15753
  }
15754
- function bM(e, t) {
15754
+ function bC(e, t) {
15755
15755
  const { width: n, height: i, options: s } = e, o = s.callout.margin + s.borderWidth / 2;
15756
15756
  return t === "right" ? n + o : t === "bottom" ? i + o : -o;
15757
15757
  }
15758
- function yM(e, t, n) {
15759
- const { y: i, width: s, height: o, options: r } = e, a = r.callout.start, l = xM(t, r.callout);
15758
+ function yC(e, t, n) {
15759
+ const { y: i, width: s, height: o, options: r } = e, a = r.callout.start, l = xC(t, r.callout);
15760
15760
  let c, u;
15761
15761
  return t === "left" || t === "right" ? (c = { x: n.x, y: i + we(o, a) }, u = { x: c.x + l, y: c.y }) : (c = { x: n.x + we(s, a), y: n.y }, u = { x: c.x, y: c.y + l }), { sideStart: c, sideEnd: u };
15762
15762
  }
15763
- function xM(e, t) {
15763
+ function xC(e, t) {
15764
15764
  const n = t.side;
15765
15765
  return e === "left" || e === "top" ? -n : n;
15766
15766
  }
15767
- function vM(e, t) {
15767
+ function vC(e, t) {
15768
15768
  const n = t.position;
15769
- return Uf.includes(n) ? n : _M(e, t);
15769
+ return Uf.includes(n) ? n : _C(e, t);
15770
15770
  }
15771
- function _M(e, t) {
15771
+ function _C(e, t) {
15772
15772
  const { x: n, y: i, x2: s, y2: o, width: r, height: a, pointX: l, pointY: c, centerX: u, centerY: d, rotation: f } = e, h = { x: u, y: d }, p = t.start, g = we(r, p), m = we(a, p), b = [n, n + g, n + g, s], y = [i + m, o, i, o], x = [];
15773
15773
  for (let w = 0; w < 4; w++) {
15774
15774
  const _ = Ue({ x: b[w], y: y[w] }, h, rt(f));
@@ -15779,12 +15779,12 @@ function _M(e, t) {
15779
15779
  }
15780
15780
  return x.sort((w, _) => w.distance - _.distance)[0].position;
15781
15781
  }
15782
- function wM(e, t, n) {
15782
+ function wC(e, t, n) {
15783
15783
  const { pointX: i, pointY: s } = e, o = t.margin;
15784
15784
  let r = i, a = s;
15785
15785
  return n === "left" ? r += o : n === "right" ? r -= o : n === "top" ? a += o : n === "bottom" && (a -= o), e.inRange(r, a);
15786
15786
  }
15787
- const Mc = {
15787
+ const Cc = {
15788
15788
  xScaleID: { min: "xMin", max: "xMax", start: "left", end: "right", startProp: "x", endProp: "x2" },
15789
15789
  yScaleID: { min: "yMin", max: "yMax", start: "bottom", end: "top", startProp: "y", endProp: "y2" }
15790
15790
  };
@@ -15817,9 +15817,9 @@ function Gr(e, t) {
15817
15817
  if (!i && !s)
15818
15818
  return {};
15819
15819
  let { left: o, right: r } = i || e.chartArea, { top: a, bottom: l } = s || e.chartArea;
15820
- const c = Cc(i, { min: t.xMin, max: t.xMax, start: o, end: r });
15820
+ const c = Mc(i, { min: t.xMin, max: t.xMax, start: o, end: r });
15821
15821
  o = c.start, r = c.end;
15822
- const u = Cc(s, { min: t.yMin, max: t.yMax, start: l, end: a });
15822
+ const u = Mc(s, { min: t.yMin, max: t.yMax, start: l, end: a });
15823
15823
  return a = u.start, l = u.end, {
15824
15824
  x: o,
15825
15825
  y: a,
@@ -15849,22 +15849,22 @@ function Gf(e, t) {
15849
15849
  radius: i
15850
15850
  };
15851
15851
  }
15852
- return MM(e, t);
15852
+ return CC(e, t);
15853
15853
  }
15854
- function SM(e, t) {
15854
+ function SC(e, t) {
15855
15855
  const { scales: n, chartArea: i } = e, s = n[t.scaleID], o = { x: i.left, y: i.top, x2: i.right, y2: i.bottom };
15856
- return s ? CM(s, o, t) : kM(n, o, t), o;
15856
+ return s ? MC(s, o, t) : kC(n, o, t), o;
15857
15857
  }
15858
15858
  function Jf(e, t) {
15859
15859
  const n = Gr(e, t);
15860
15860
  return n.initProperties = gn(e, n, t), n.elements = [{
15861
15861
  type: "label",
15862
15862
  optionScope: "label",
15863
- properties: RM(e, n, t),
15863
+ properties: RC(e, n, t),
15864
15864
  initProperties: n.initProperties
15865
15865
  }], n;
15866
15866
  }
15867
- function MM(e, t) {
15867
+ function CC(e, t) {
15868
15868
  const n = Xf(e, t), i = t.radius * 2;
15869
15869
  return {
15870
15870
  x: n.x - t.radius + t.xAdjust,
@@ -15878,27 +15878,27 @@ function MM(e, t) {
15878
15878
  height: i
15879
15879
  };
15880
15880
  }
15881
- function Cc(e, t) {
15881
+ function Mc(e, t) {
15882
15882
  const n = Kf(e, t) || t;
15883
15883
  return {
15884
15884
  start: Math.min(n.start, n.end),
15885
15885
  end: Math.max(n.start, n.end)
15886
15886
  };
15887
15887
  }
15888
- function CM(e, t, n) {
15888
+ function MC(e, t, n) {
15889
15889
  const i = un(e, n.value, NaN), s = un(e, n.endValue, i);
15890
15890
  e.isHorizontal() ? (t.x = i, t.x2 = s) : (t.y = i, t.y2 = s);
15891
15891
  }
15892
- function kM(e, t, n) {
15893
- for (const i of Object.keys(Mc)) {
15892
+ function kC(e, t, n) {
15893
+ for (const i of Object.keys(Cc)) {
15894
15894
  const s = e[$e(e, n, i)];
15895
15895
  if (s) {
15896
- const { min: o, max: r, start: a, end: l, startProp: c, endProp: u } = Mc[i], d = Kf(s, { min: n[o], max: n[r], start: s[a], end: s[l] });
15896
+ const { min: o, max: r, start: a, end: l, startProp: c, endProp: u } = Cc[i], d = Kf(s, { min: n[o], max: n[r], start: s[a], end: s[l] });
15897
15897
  t[c] = d.start, t[u] = d.end;
15898
15898
  }
15899
15899
  }
15900
15900
  }
15901
- function PM({ properties: e, options: t }, n, i, s) {
15901
+ function PC({ properties: e, options: t }, n, i, s) {
15902
15902
  const { x: o, x2: r, width: a } = e;
15903
15903
  return qf({ start: o, end: r, borderWidth: t.borderWidth }, {
15904
15904
  position: i.x,
@@ -15907,7 +15907,7 @@ function PM({ properties: e, options: t }, n, i, s) {
15907
15907
  size: n.width
15908
15908
  });
15909
15909
  }
15910
- function AM({ properties: e, options: t }, n, i, s) {
15910
+ function AC({ properties: e, options: t }, n, i, s) {
15911
15911
  const { y: o, y2: r, height: a } = e;
15912
15912
  return qf({ start: o, end: r, borderWidth: t.borderWidth }, {
15913
15913
  position: i.y,
@@ -15920,10 +15920,10 @@ function qf(e, t) {
15920
15920
  const { start: n, end: i, borderWidth: s } = e, { position: o, padding: { start: r, end: a }, adjust: l } = t, c = i - s - n - r - a - t.size;
15921
15921
  return n + s / 2 + l + Kr(c, o);
15922
15922
  }
15923
- function RM(e, t, n) {
15923
+ function RC(e, t, n) {
15924
15924
  const i = n.label;
15925
15925
  i.backgroundColor = "transparent", i.callout.display = !1;
15926
- const s = Xr(i.position), o = lt(i.padding), r = Zs(e.ctx, i), a = PM({ properties: t, options: n }, r, s, o), l = AM({ properties: t, options: n }, r, s, o), c = r.width + o.width, u = r.height + o.height;
15926
+ const s = Xr(i.position), o = lt(i.padding), r = Zs(e.ctx, i), a = PC({ properties: t, options: n }, r, s, o), l = AC({ properties: t, options: n }, r, s, o), c = r.width + o.width, u = r.height + o.height;
15927
15927
  return {
15928
15928
  x: a,
15929
15929
  y: l,
@@ -15937,7 +15937,7 @@ function RM(e, t, n) {
15937
15937
  };
15938
15938
  }
15939
15939
  const nr = ["enter", "leave"], Jr = nr.concat("click");
15940
- function OM(e, t, n) {
15940
+ function OC(e, t, n) {
15941
15941
  t.listened = Vf(n, Jr, t.listeners), t.moveListened = !1, nr.forEach((i) => {
15942
15942
  yt(n[i]) && (t.moveListened = !0);
15943
15943
  }), (!t.listened || !t.moveListened) && t.annotations.forEach((i) => {
@@ -15946,17 +15946,17 @@ function OM(e, t, n) {
15946
15946
  });
15947
15947
  });
15948
15948
  }
15949
- function DM(e, t, n) {
15949
+ function DC(e, t, n) {
15950
15950
  if (e.listened)
15951
15951
  switch (t.type) {
15952
15952
  case "mousemove":
15953
15953
  case "mouseout":
15954
- return EM(e, t, n);
15954
+ return EC(e, t, n);
15955
15955
  case "click":
15956
- return TM(e, t, n);
15956
+ return TC(e, t, n);
15957
15957
  }
15958
15958
  }
15959
- function EM(e, t, n) {
15959
+ function EC(e, t, n) {
15960
15960
  if (!e.moveListened)
15961
15961
  return;
15962
15962
  let i;
@@ -15973,7 +15973,7 @@ function kc({ state: e, event: t }, n, i, s) {
15973
15973
  s.indexOf(r) < 0 && (o = Zf(r.options[n] || e.listeners[n], r, t) || o);
15974
15974
  return o;
15975
15975
  }
15976
- function TM(e, t, n) {
15976
+ function TC(e, t, n) {
15977
15977
  const i = e.listeners, s = Ur(e.visibleElements, t, n.interaction);
15978
15978
  let o;
15979
15979
  for (const r of s)
@@ -15983,11 +15983,11 @@ function TM(e, t, n) {
15983
15983
  function Zf(e, t, n) {
15984
15984
  return G(e, [t.$context, n]) === !0;
15985
15985
  }
15986
- const Cs = ["afterDraw", "beforeDraw"];
15987
- function LM(e, t, n) {
15986
+ const Ms = ["afterDraw", "beforeDraw"];
15987
+ function LC(e, t, n) {
15988
15988
  const i = t.visibleElements;
15989
- t.hooked = Vf(n, Cs, t.hooks), t.hooked || i.forEach((s) => {
15990
- t.hooked || Cs.forEach((o) => {
15989
+ t.hooked = Vf(n, Ms, t.hooks), t.hooked || i.forEach((s) => {
15990
+ t.hooked || Ms.forEach((o) => {
15991
15991
  yt(s.options[o]) && (t.hooked = !0);
15992
15992
  });
15993
15993
  });
@@ -15998,31 +15998,31 @@ function Pc(e, t, n) {
15998
15998
  return G(i, [t.$context]);
15999
15999
  }
16000
16000
  }
16001
- function IM(e, t, n) {
16002
- const i = zM(e.scales, t, n);
16001
+ function IC(e, t, n) {
16002
+ const i = zC(e.scales, t, n);
16003
16003
  let s = Ac(t, i, "min", "suggestedMin");
16004
16004
  s = Ac(t, i, "max", "suggestedMax") || s, s && yt(t.handleTickRangeOptions) && t.handleTickRangeOptions();
16005
16005
  }
16006
- function FM(e, t) {
16006
+ function FC(e, t) {
16007
16007
  for (const n of e)
16008
- jM(n, t);
16008
+ jC(n, t);
16009
16009
  }
16010
16010
  function Ac(e, t, n, i) {
16011
- if (it(t[n]) && !NM(e.options, n, i)) {
16011
+ if (it(t[n]) && !NC(e.options, n, i)) {
16012
16012
  const s = e[n] !== t[n];
16013
16013
  return e[n] = t[n], s;
16014
16014
  }
16015
16015
  }
16016
- function NM(e, t, n) {
16016
+ function NC(e, t, n) {
16017
16017
  return vt(e[t]) || vt(e[n]);
16018
16018
  }
16019
- function jM(e, t) {
16019
+ function jC(e, t) {
16020
16020
  for (const n of ["scaleID", "xScaleID", "yScaleID"]) {
16021
16021
  const i = $e(t, e, n);
16022
- i && !t[i] && BM(e, n) && console.warn(`No scale found with id '${i}' for annotation '${e.id}'`);
16022
+ i && !t[i] && BC(e, n) && console.warn(`No scale found with id '${i}' for annotation '${e.id}'`);
16023
16023
  }
16024
16024
  }
16025
- function BM(e, t) {
16025
+ function BC(e, t) {
16026
16026
  if (t === "scaleID")
16027
16027
  return !0;
16028
16028
  const n = t.charAt(0);
@@ -16031,7 +16031,7 @@ function BM(e, t) {
16031
16031
  return !0;
16032
16032
  return !1;
16033
16033
  }
16034
- function zM(e, t, n) {
16034
+ function zC(e, t, n) {
16035
16035
  const i = t.axis, s = t.id, o = i + "ScaleID", r = {
16036
16036
  min: z(t.min, Number.NEGATIVE_INFINITY),
16037
16037
  max: z(t.max, Number.POSITIVE_INFINITY)
@@ -16147,15 +16147,15 @@ class Qs extends ht {
16147
16147
  }
16148
16148
  draw(t) {
16149
16149
  const n = this.options;
16150
- !n.display || !n.content || (UM(t, this), t.save(), qs(t, this.getCenterPoint(), this.rotation), Yf(t, this, n, this._fitRatio), t.restore());
16150
+ !n.display || !n.content || (UC(t, this), t.save(), qs(t, this.getCenterPoint(), this.rotation), Yf(t, this, n, this._fitRatio), t.restore());
16151
16151
  }
16152
16152
  resolveElementProperties(t, n) {
16153
- const i = $M(t, n);
16153
+ const i = $C(t, n);
16154
16154
  if (!i)
16155
16155
  return {};
16156
- const { controllerMeta: s, point: o, radius: r } = WM(t, n, i);
16156
+ const { controllerMeta: s, point: o, radius: r } = WC(t, n, i);
16157
16157
  let a = Zs(t.ctx, n);
16158
- const l = HM(a, r);
16158
+ const l = HC(a, r);
16159
16159
  Bf(n, l) && (a = { width: a.width * l, height: a.height * l });
16160
16160
  const { position: c, xAdjust: u, yAdjust: d } = n, f = jf(o, a, { borderWidth: 0, position: c, xAdjust: u, yAdjust: d });
16161
16161
  return {
@@ -16207,20 +16207,20 @@ Qs.defaults = {
16207
16207
  yAdjust: 0
16208
16208
  };
16209
16209
  Qs.defaultRoutes = {};
16210
- function $M(e, t) {
16210
+ function $C(e, t) {
16211
16211
  return e.getSortedVisibleDatasetMetas().reduce(function(n, i) {
16212
16212
  const s = i.controller;
16213
- return s instanceof en && VM(e, t, i.data) && (!n || s.innerRadius < n.controller.innerRadius) && s.options.circumference >= 90 ? i : n;
16213
+ return s instanceof en && VC(e, t, i.data) && (!n || s.innerRadius < n.controller.innerRadius) && s.options.circumference >= 90 ? i : n;
16214
16214
  }, void 0);
16215
16215
  }
16216
- function VM(e, t, n) {
16216
+ function VC(e, t, n) {
16217
16217
  if (!t.autoHide)
16218
16218
  return !0;
16219
16219
  for (let i = 0; i < n.length; i++)
16220
16220
  if (!n[i].hidden && e.getDataVisibility(i))
16221
16221
  return !0;
16222
16222
  }
16223
- function WM({ chartArea: e }, t, n) {
16223
+ function WC({ chartArea: e }, t, n) {
16224
16224
  const { left: i, top: s, right: o, bottom: r } = e, { innerRadius: a, offsetX: l, offsetY: c } = n.controller, u = (i + o) / 2 + l, d = (s + r) / 2 + c, f = {
16225
16225
  left: Math.max(u - a, i),
16226
16226
  right: Math.min(u + a, o),
@@ -16229,7 +16229,7 @@ function WM({ chartArea: e }, t, n) {
16229
16229
  }, h = {
16230
16230
  x: (f.left + f.right) / 2,
16231
16231
  y: (f.top + f.bottom) / 2
16232
- }, p = t.spacing + t.borderWidth / 2, g = a - p, m = h.y > d, b = m ? s + p : r - p, y = YM(b, u, d, g);
16232
+ }, p = t.spacing + t.borderWidth / 2, g = a - p, m = h.y > d, b = m ? s + p : r - p, y = YC(b, u, d, g);
16233
16233
  return {
16234
16234
  controllerMeta: {
16235
16235
  _centerX: u,
@@ -16242,11 +16242,11 @@ function WM({ chartArea: e }, t, n) {
16242
16242
  radius: Math.min(a, Math.min(f.right - f.left, f.bottom - f.top) / 2)
16243
16243
  };
16244
16244
  }
16245
- function HM({ width: e, height: t }, n) {
16245
+ function HC({ width: e, height: t }, n) {
16246
16246
  const i = Math.sqrt(Math.pow(e, 2) + Math.pow(t, 2));
16247
16247
  return n * 2 / i;
16248
16248
  }
16249
- function YM(e, t, n, i) {
16249
+ function YC(e, t, n, i) {
16250
16250
  const s = Math.pow(n - e, 2), o = Math.pow(i, 2), r = t * -2, a = Math.pow(t, 2) + s - o, l = Math.pow(r, 2) - 4 * a;
16251
16251
  if (l <= 0)
16252
16252
  return {
@@ -16259,7 +16259,7 @@ function YM(e, t, n, i) {
16259
16259
  _endAngle: ms({ x: t, y: n }, { x: u, y: e }).angle
16260
16260
  };
16261
16261
  }
16262
- function UM(e, t) {
16262
+ function UC(e, t) {
16263
16263
  const { _centerX: n, _centerY: i, _radius: s, _startAngle: o, _endAngle: r, _counterclockwise: a, options: l } = t;
16264
16264
  e.save();
16265
16265
  const c = re(e, l);
@@ -16279,7 +16279,7 @@ class gi extends ht {
16279
16279
  }
16280
16280
  draw(t) {
16281
16281
  const n = this.options, i = !vt(this._visible) || this._visible;
16282
- !n.display || !n.content || !i || (t.save(), qs(t, this.getCenterPoint(), this.rotation), pM(t, this), Hf(t, this, n), Yf(t, KM(this), n), t.restore());
16282
+ !n.display || !n.content || !i || (t.save(), qs(t, this.getCenterPoint(), this.rotation), pC(t, this), Hf(t, this, n), Yf(t, KC(this), n), t.restore());
16283
16283
  }
16284
16284
  resolveElementProperties(t, n) {
16285
16285
  let i;
@@ -16363,7 +16363,7 @@ gi.defaults = {
16363
16363
  gi.defaultRoutes = {
16364
16364
  borderColor: "color"
16365
16365
  };
16366
- function KM({ x: e, y: t, width: n, height: i, options: s }) {
16366
+ function KC({ x: e, y: t, width: n, height: i, options: s }) {
16367
16367
  const o = s.borderWidth / 2, r = lt(s.padding);
16368
16368
  return {
16369
16369
  x: e + r.left + o,
@@ -16372,7 +16372,7 @@ function KM({ x: e, y: t, width: n, height: i, options: s }) {
16372
16372
  height: i - r.top - r.bottom - s.borderWidth
16373
16373
  };
16374
16374
  }
16375
- const qr = (e, t, n) => ({ x: e.x + n * (t.x - e.x), y: e.y + n * (t.y - e.y) }), ir = (e, t, n) => qr(t, n, Math.abs((e - t.y) / (n.y - t.y))).x, Oc = (e, t, n) => qr(t, n, Math.abs((e - t.x) / (n.x - t.x))).y, Nn = (e) => e * e, XM = (e, t, { x: n, y: i, x2: s, y2: o }, r) => r === "y" ? { start: Math.min(i, o), end: Math.max(i, o), value: t } : { start: Math.min(n, s), end: Math.max(n, s), value: e }, Dc = (e, t, n, i) => (1 - i) * (1 - i) * e + 2 * (1 - i) * i * t + i * i * n, sr = (e, t, n, i) => ({ x: Dc(e.x, t.x, n.x, i), y: Dc(e.y, t.y, n.y, i) }), Ec = (e, t, n, i) => 2 * (1 - i) * (t - e) + 2 * i * (n - t), Tc = (e, t, n, i) => -Math.atan2(Ec(e.x, t.x, n.x, i), Ec(e.y, t.y, n.y, i)) + 0.5 * V;
16375
+ const qr = (e, t, n) => ({ x: e.x + n * (t.x - e.x), y: e.y + n * (t.y - e.y) }), ir = (e, t, n) => qr(t, n, Math.abs((e - t.y) / (n.y - t.y))).x, Oc = (e, t, n) => qr(t, n, Math.abs((e - t.x) / (n.x - t.x))).y, Nn = (e) => e * e, XC = (e, t, { x: n, y: i, x2: s, y2: o }, r) => r === "y" ? { start: Math.min(i, o), end: Math.max(i, o), value: t } : { start: Math.min(n, s), end: Math.max(n, s), value: e }, Dc = (e, t, n, i) => (1 - i) * (1 - i) * e + 2 * (1 - i) * i * t + i * i * n, sr = (e, t, n, i) => ({ x: Dc(e.x, t.x, n.x, i), y: Dc(e.y, t.y, n.y, i) }), Ec = (e, t, n, i) => 2 * (1 - i) * (t - e) + 2 * i * (n - t), Tc = (e, t, n, i) => -Math.atan2(Ec(e.x, t.x, n.x, i), Ec(e.y, t.y, n.y, i)) + 0.5 * V;
16376
16376
  class pi extends ht {
16377
16377
  inRange(t, n, i, s) {
16378
16378
  const o = (this.options.borderWidth + this.options.hitTolerance) / 2;
@@ -16384,9 +16384,9 @@ class pi extends ht {
16384
16384
  return l.restore(), h;
16385
16385
  }
16386
16386
  const c = Nn(o);
16387
- return ZM(this, r, c, s) || or(this, r, s);
16387
+ return ZC(this, r, c, s) || or(this, r, s);
16388
16388
  }
16389
- return GM(this, { mouseX: t, mouseY: n }, i, { hitSize: o, useFinalPosition: s });
16389
+ return GC(this, { mouseX: t, mouseY: n }, i, { hitSize: o, useFinalPosition: s });
16390
16390
  }
16391
16391
  getCenterPoint(t) {
16392
16392
  return Ke(this, t);
@@ -16398,7 +16398,7 @@ class pi extends ht {
16398
16398
  pn(t, a);
16399
16399
  const l = Math.sqrt(Math.pow(s - n, 2) + Math.pow(o - i, 2));
16400
16400
  if (a.curve && r)
16401
- return rC(t, this, r, l), t.restore();
16401
+ return rM(t, this, r, l), t.restore();
16402
16402
  const { startOpts: c, endOpts: u, startAdjust: d, endAdjust: f } = Qf(this), h = Math.atan2(o - i, s - n);
16403
16403
  t.translate(n, i), t.rotate(h), t.beginPath(), t.moveTo(0 + d, 0), t.lineTo(l - f, 0), t.shadowColor = a.borderShadowColor, t.stroke(), rr(t, 0, d, c), rr(t, l, -f, u), t.restore();
16404
16404
  }
@@ -16406,12 +16406,12 @@ class pi extends ht {
16406
16406
  return this.elements && this.elements[0];
16407
16407
  }
16408
16408
  resolveElementProperties(t, n) {
16409
- const i = SM(t, n), { x: s, y: o, x2: r, y2: a } = i, l = JM(i, t.chartArea), c = l ? qM({ x: s, y: o }, { x: r, y: a }, t.chartArea) : { x: s, y: o, x2: r, y2: a, width: Math.abs(r - s), height: Math.abs(a - o) };
16409
+ const i = SC(t, n), { x: s, y: o, x2: r, y2: a } = i, l = JC(i, t.chartArea), c = l ? qC({ x: s, y: o }, { x: r, y: a }, t.chartArea) : { x: s, y: o, x2: r, y2: a, width: Math.abs(r - s), height: Math.abs(a - o) };
16410
16410
  if (c.centerX = (r + s) / 2, c.centerY = (a + o) / 2, c.initProperties = gn(t, c, n), n.curve) {
16411
16411
  const d = { x: c.x, y: c.y }, f = { x: c.x2, y: c.y2 };
16412
- c.cp = oC(c, n, an(d, f));
16412
+ c.cp = oM(c, n, an(d, f));
16413
16413
  }
16414
- const u = QM(t, c, n.label);
16414
+ const u = QC(t, c, n.label);
16415
16415
  return u._visible = l, c.elements = [{
16416
16416
  type: "label",
16417
16417
  optionScope: "label",
@@ -16526,21 +16526,21 @@ pi.descriptors = {
16526
16526
  pi.defaultRoutes = {
16527
16527
  borderColor: "color"
16528
16528
  };
16529
- function GM(e, { mouseX: t, mouseY: n }, i, { hitSize: s, useFinalPosition: o }) {
16530
- const r = XM(t, n, e.getProps(["x", "y", "x2", "y2"], o), i);
16529
+ function GC(e, { mouseX: t, mouseY: n }, i, { hitSize: s, useFinalPosition: o }) {
16530
+ const r = XC(t, n, e.getProps(["x", "y", "x2", "y2"], o), i);
16531
16531
  return Ef(r, s) || or(e, { mouseX: t, mouseY: n }, o, i);
16532
16532
  }
16533
- function JM({ x: e, y: t, x2: n, y2: i }, { top: s, right: o, bottom: r, left: a }) {
16533
+ function JC({ x: e, y: t, x2: n, y2: i }, { top: s, right: o, bottom: r, left: a }) {
16534
16534
  return !(e < a && n < a || e > o && n > o || t < s && i < s || t > r && i > r);
16535
16535
  }
16536
16536
  function Ic({ x: e, y: t }, n, { top: i, right: s, bottom: o, left: r }) {
16537
16537
  return e < r && (t = Oc(r, { x: e, y: t }, n), e = r), e > s && (t = Oc(s, { x: e, y: t }, n), e = s), t < i && (e = ir(i, { x: e, y: t }, n), t = i), t > o && (e = ir(o, { x: e, y: t }, n), t = o), { x: e, y: t };
16538
16538
  }
16539
- function qM(e, t, n) {
16539
+ function qC(e, t, n) {
16540
16540
  const { x: i, y: s } = Ic(e, t, n), { x: o, y: r } = Ic(t, e, n);
16541
16541
  return { x: i, y: s, x2: o, y2: r, width: Math.abs(o - i), height: Math.abs(r - s) };
16542
16542
  }
16543
- function ZM(e, { mouseX: t, mouseY: n }, i = De, s) {
16543
+ function ZC(e, { mouseX: t, mouseY: n }, i = De, s) {
16544
16544
  const { x: o, y: r, x2: a, y2: l } = e.getProps(["x", "y", "x2", "y2"], s), c = a - o, u = l - r, d = Nn(c) + Nn(u), f = d === 0 ? -1 : ((t - o) * c + (n - r) * u) / d;
16545
16545
  let h, p;
16546
16546
  return f < 0 ? (h = o, p = r) : f > 1 ? (h = a, p = l) : (h = o + f * c, p = r + f * u), Nn(t - h) + Nn(n - p) <= i;
@@ -16549,16 +16549,16 @@ function or(e, { mouseX: t, mouseY: n }, i, s) {
16549
16549
  const o = e.label;
16550
16550
  return o.options.display && o.inRange(t, n, s, i);
16551
16551
  }
16552
- function QM(e, t, n) {
16552
+ function QC(e, t, n) {
16553
16553
  const i = n.borderWidth, s = lt(n.padding), o = Zs(e.ctx, n), r = o.width + s.width + i, a = o.height + s.height + i;
16554
- return eC(t, n, { width: r, height: a, padding: s }, e.chartArea);
16554
+ return eM(t, n, { width: r, height: a, padding: s }, e.chartArea);
16555
16555
  }
16556
- function tC(e) {
16556
+ function tM(e) {
16557
16557
  const { x: t, y: n, x2: i, y2: s } = e, o = Math.atan2(s - n, i - t);
16558
16558
  return o > V / 2 ? o - V : o < V / -2 ? o + V : o;
16559
16559
  }
16560
- function eC(e, t, n, i) {
16561
- const { width: s, height: o, padding: r } = n, { xAdjust: a, yAdjust: l } = t, c = { x: e.x, y: e.y }, u = { x: e.x2, y: e.y2 }, d = t.rotation === "auto" ? tC(e) : rt(t.rotation), f = nC(s, o, d), h = iC(e, t, { labelSize: f, padding: r }, i), p = e.cp ? sr(c, e.cp, u, h) : qr(c, u, h), g = { size: f.w, min: i.left, max: i.right, padding: r.left }, m = { size: f.h, min: i.top, max: i.bottom, padding: r.top }, b = Nc(p.x, g) + a, y = Nc(p.y, m) + l;
16560
+ function eM(e, t, n, i) {
16561
+ const { width: s, height: o, padding: r } = n, { xAdjust: a, yAdjust: l } = t, c = { x: e.x, y: e.y }, u = { x: e.x2, y: e.y2 }, d = t.rotation === "auto" ? tM(e) : rt(t.rotation), f = nM(s, o, d), h = iM(e, t, { labelSize: f, padding: r }, i), p = e.cp ? sr(c, e.cp, u, h) : qr(c, u, h), g = { size: f.w, min: i.left, max: i.right, padding: r.left }, m = { size: f.h, min: i.top, max: i.bottom, padding: r.top }, b = Nc(p.x, g) + a, y = Nc(p.y, m) + l;
16562
16562
  return {
16563
16563
  x: b - s / 2,
16564
16564
  y: y - o / 2,
@@ -16573,23 +16573,23 @@ function eC(e, t, n, i) {
16573
16573
  rotation: Od(d)
16574
16574
  };
16575
16575
  }
16576
- function nC(e, t, n) {
16576
+ function nM(e, t, n) {
16577
16577
  const i = Math.cos(n), s = Math.sin(n);
16578
16578
  return {
16579
16579
  w: Math.abs(e * i) + Math.abs(t * s),
16580
16580
  h: Math.abs(e * s) + Math.abs(t * i)
16581
16581
  };
16582
16582
  }
16583
- function iC(e, t, n, i) {
16583
+ function iM(e, t, n, i) {
16584
16584
  let s;
16585
- const o = sC(e, i);
16585
+ const o = sM(e, i);
16586
16586
  return t.position === "start" ? s = Fc({ w: e.x2 - e.x, h: e.y2 - e.y }, n, t, o) : t.position === "end" ? s = 1 - Fc({ w: e.x - e.x2, h: e.y - e.y2 }, n, t, o) : s = Kr(1, t.position), s;
16587
16587
  }
16588
16588
  function Fc(e, t, n, i) {
16589
16589
  const { labelSize: s, padding: o } = t, r = e.w * i.dx, a = e.h * i.dy, l = r > 0 && (s.w / 2 + o.left - i.x) / r, c = a > 0 && (s.h / 2 + o.top - i.y) / a;
16590
16590
  return Gs(Math.max(l, c), 0, 0.25);
16591
16591
  }
16592
- function sC(e, t) {
16592
+ function sM(e, t) {
16593
16593
  const { x: n, x2: i, y: s, y2: o } = e, r = Math.min(s, o) - t.top, a = Math.min(n, i) - t.left, l = t.bottom - Math.max(s, o), c = t.right - Math.max(n, i);
16594
16594
  return {
16595
16595
  x: Math.min(a, c),
@@ -16623,7 +16623,7 @@ function rr(e, t, n, i) {
16623
16623
  const { length: s, width: o, fill: r, backgroundColor: a, borderColor: l } = i, c = Math.abs(t - s) + n;
16624
16624
  e.beginPath(), pn(e, i), re(e, i), e.moveTo(c, -o), e.lineTo(t + n, 0), e.lineTo(c, o), r === !0 ? (e.fillStyle = a || l, e.closePath(), e.fill(), e.shadowColor = "transparent") : e.shadowColor = i.borderShadowColor, e.stroke();
16625
16625
  }
16626
- function oC(e, t, n) {
16626
+ function oM(e, t, n) {
16627
16627
  const { x: i, y: s, x2: o, y2: r, centerX: a, centerY: l } = e, c = Math.atan2(r - s, o - i), u = Xr(t.controlPoint, 0), d = {
16628
16628
  x: a + we(n, u.x, !1),
16629
16629
  y: l + we(n, u.y, !1)
@@ -16633,7 +16633,7 @@ function oC(e, t, n) {
16633
16633
  function Bc(e, { x: t, y: n }, { angle: i, adjust: s }, o) {
16634
16634
  !o || !o.display || (e.save(), e.translate(t, n), e.rotate(i), rr(e, 0, -s, o), e.restore());
16635
16635
  }
16636
- function rC(e, t, n, i) {
16636
+ function rM(e, t, n, i) {
16637
16637
  const { x: s, y: o, x2: r, y2: a, options: l } = t, { startOpts: c, endOpts: u, startAdjust: d, endAdjust: f } = Qf(t), h = { x: s, y: o }, p = { x: r, y: a }, g = Tc(h, n, p, 0), m = Tc(h, n, p, 1) - V, b = sr(h, n, p, d / i), y = sr(h, n, p, 1 - f / i), x = new Path2D();
16638
16638
  e.beginPath(), x.moveTo(b.x, b.y), x.quadraticCurveTo(n.x, n.y, y.x, y.y), e.shadowColor = l.borderShadowColor, e.stroke(x), t.path = x, t.ctx = e, Bc(e, b, { angle: g, adjust: d }, c), Bc(e, y, { angle: m, adjust: f }, u);
16639
16639
  }
@@ -16641,7 +16641,7 @@ class mi extends ht {
16641
16641
  inRange(t, n, i, s) {
16642
16642
  const o = this.options.rotation, r = (this.options.borderWidth + this.options.hitTolerance) / 2;
16643
16643
  if (i !== "x" && i !== "y")
16644
- return aC({ x: t, y: n }, this.getProps(["width", "height", "centerX", "centerY"], s), o, r);
16644
+ return aM({ x: t, y: n }, this.getProps(["width", "height", "centerX", "centerY"], s), o, r);
16645
16645
  const { x: a, y: l, x2: c, y2: u } = this.getProps(["x", "y", "x2", "y2"], s), d = i === "y" ? { start: l, end: u } : { start: a, end: c }, f = Ue({ x: t, y: n }, this.getCenterPoint(s), rt(-o));
16646
16646
  return f[i] >= d.start - r - De && f[i] <= d.end + r + De;
16647
16647
  }
@@ -16694,7 +16694,7 @@ mi.descriptors = {
16694
16694
  _fallback: !0
16695
16695
  }
16696
16696
  };
16697
- function aC(e, t, n, i) {
16697
+ function aM(e, t, n, i) {
16698
16698
  const { width: s, height: o, centerX: r, centerY: a } = t, l = s / 2, c = o / 2;
16699
16699
  if (l <= 0 || c <= 0)
16700
16700
  return !1;
@@ -16704,7 +16704,7 @@ function aC(e, t, n, i) {
16704
16704
  class to extends ht {
16705
16705
  inRange(t, n, i, s) {
16706
16706
  const { x: o, y: r, x2: a, y2: l, width: c } = this.getProps(["x", "y", "x2", "y2", "width"], s), u = (this.options.borderWidth + this.options.hitTolerance) / 2;
16707
- return i !== "x" && i !== "y" ? eM({ x: t, y: n }, this.getCenterPoint(s), c / 2, u) : Ef(i === "y" ? { start: r, end: l, value: n } : { start: o, end: a, value: t }, u);
16707
+ return i !== "x" && i !== "y" ? eC({ x: t, y: n }, this.getCenterPoint(s), c / 2, u) : Ef(i === "y" ? { start: r, end: l, value: n } : { start: o, end: a, value: t }, u);
16708
16708
  }
16709
16709
  getCenterPoint(t) {
16710
16710
  return Ke(this, t);
@@ -16715,7 +16715,7 @@ class to extends ht {
16715
16715
  return;
16716
16716
  t.save(), t.fillStyle = n.backgroundColor, pn(t, n);
16717
16717
  const s = re(t, n);
16718
- cM(t, this, this.centerX, this.centerY), s && !Js(n.pointStyle) && (t.shadowColor = n.borderShadowColor, t.stroke()), t.restore(), n.borderWidth = i;
16718
+ cC(t, this, this.centerX, this.centerY), s && !Js(n.pointStyle) && (t.shadowColor = n.borderShadowColor, t.stroke()), t.restore(), n.borderWidth = i;
16719
16719
  }
16720
16720
  resolveElementProperties(t, n) {
16721
16721
  const i = Gf(t, n);
@@ -16758,7 +16758,7 @@ to.defaultRoutes = {
16758
16758
  class eo extends ht {
16759
16759
  inRange(t, n, i, s) {
16760
16760
  if (i !== "x" && i !== "y")
16761
- return this.options.radius >= 0.1 && this.elements.length > 1 && cC(this.elements, t, n, s);
16761
+ return this.options.radius >= 0.1 && this.elements.length > 1 && cM(this.elements, t, n, s);
16762
16762
  const o = Ue({ x: t, y: n }, this.getCenterPoint(s), rt(-this.options.rotation)), r = this.elements.map((c) => i === "y" ? c.bY : c.bX), a = Math.min(...r), l = Math.max(...r);
16763
16763
  return o[i] >= a && o[i] <= l;
16764
16764
  }
@@ -16778,7 +16778,7 @@ class eo extends ht {
16778
16778
  const i = Gf(t, n), { sides: s, rotation: o } = n, r = [], a = 2 * V / s;
16779
16779
  let l = o * Or;
16780
16780
  for (let c = 0; c < s; c++, l += a) {
16781
- const u = lC(i, n, l);
16781
+ const u = lM(i, n, l);
16782
16782
  u.initProperties = gn(t, i, n), r.push(u);
16783
16783
  }
16784
16784
  return i.elements = r, i;
@@ -16822,7 +16822,7 @@ eo.defaultRoutes = {
16822
16822
  borderColor: "color",
16823
16823
  backgroundColor: "color"
16824
16824
  };
16825
- function lC({ centerX: e, centerY: t }, { radius: n, borderWidth: i, hitTolerance: s }, o) {
16825
+ function lM({ centerX: e, centerY: t }, { radius: n, borderWidth: i, hitTolerance: s }, o) {
16826
16826
  const r = (i + s) / 2, a = Math.sin(o), l = Math.cos(o), c = { x: e + a * n, y: t - l * n };
16827
16827
  return {
16828
16828
  type: "point",
@@ -16837,7 +16837,7 @@ function lC({ centerX: e, centerY: t }, { radius: n, borderWidth: i, hitToleranc
16837
16837
  }
16838
16838
  };
16839
16839
  }
16840
- function cC(e, t, n, i) {
16840
+ function cM(e, t, n, i) {
16841
16841
  let s = !1, o = e[e.length - 1].getProps(["bX", "bY"], i);
16842
16842
  for (const r of e) {
16843
16843
  const a = r.getProps(["bX", "bY"], i);
@@ -16859,26 +16859,26 @@ Object.keys(be).forEach((e) => {
16859
16859
  _fallback: "plugins.annotation.common"
16860
16860
  });
16861
16861
  });
16862
- const uC = {
16862
+ const uM = {
16863
16863
  update: Object.assign
16864
- }, dC = Jr.concat(Cs), zc = (e, t) => $(t) ? lr(e, t) : e, ar = (e) => e === "color" || e === "font";
16864
+ }, dM = Jr.concat(Ms), zc = (e, t) => $(t) ? lr(e, t) : e, ar = (e) => e === "color" || e === "font";
16865
16865
  function Zr(e = "line") {
16866
16866
  return be[e] ? e : (console.warn(`Unknown annotation type: '${e}', defaulting to 'line'`), "line");
16867
16867
  }
16868
- function fC(e, t, n, i) {
16869
- const s = gC(e, n.animations, i), o = t.annotations, r = bC(t.elements, o);
16868
+ function fM(e, t, n, i) {
16869
+ const s = gM(e, n.animations, i), o = t.annotations, r = bM(t.elements, o);
16870
16870
  for (let a = 0; a < o.length; a++) {
16871
- const l = o[a], c = th(r, a, l.type), u = l.setContext(mC(e, c, r, l)), d = c.resolveElementProperties(e, u);
16872
- d.skip = hC(d), "elements" in d && (pC(c, d.elements, u, s), delete d.elements), vt(c.x) || Object.assign(c, d), Object.assign(c, d.initProperties), d.options = eh(u), s.update(c, d);
16871
+ const l = o[a], c = th(r, a, l.type), u = l.setContext(mM(e, c, r, l)), d = c.resolveElementProperties(e, u);
16872
+ d.skip = hM(d), "elements" in d && (pM(c, d.elements, u, s), delete d.elements), vt(c.x) || Object.assign(c, d), Object.assign(c, d.initProperties), d.options = eh(u), s.update(c, d);
16873
16873
  }
16874
16874
  }
16875
- function hC(e) {
16875
+ function hM(e) {
16876
16876
  return isNaN(e.x) || isNaN(e.y);
16877
16877
  }
16878
- function gC(e, t, n) {
16879
- return n === "reset" || n === "none" || n === "resize" ? uC : new $r(e, t);
16878
+ function gM(e, t, n) {
16879
+ return n === "reset" || n === "none" || n === "resize" ? uM : new $r(e, t);
16880
16880
  }
16881
- function pC(e, t, n, i) {
16881
+ function pM(e, t, n, i) {
16882
16882
  const s = e.elements || (e.elements = []);
16883
16883
  s.length = t.length;
16884
16884
  for (let o = 0; o < t.length; o++) {
@@ -16898,7 +16898,7 @@ function eh(e) {
16898
16898
  lr(e, t.defaults),
16899
16899
  lr(e, t.defaultRoutes)
16900
16900
  );
16901
- for (const i of dC)
16901
+ for (const i of dM)
16902
16902
  n[i] = e[i];
16903
16903
  return n;
16904
16904
  }
@@ -16910,7 +16910,7 @@ function lr(e, t) {
16910
16910
  }
16911
16911
  return n;
16912
16912
  }
16913
- function mC(e, t, n, i) {
16913
+ function mM(e, t, n, i) {
16914
16914
  return t.$context || (t.$context = Object.assign(Object.create(e.getContext()), {
16915
16915
  element: t,
16916
16916
  get elements() {
@@ -16920,7 +16920,7 @@ function mC(e, t, n, i) {
16920
16920
  type: "annotation"
16921
16921
  }));
16922
16922
  }
16923
- function bC(e, t) {
16923
+ function bM(e, t) {
16924
16924
  const n = t.length, i = e.length;
16925
16925
  if (i < n) {
16926
16926
  const s = n - i;
@@ -16928,13 +16928,13 @@ function bC(e, t) {
16928
16928
  } else i > n && e.splice(n, i - n);
16929
16929
  return e;
16930
16930
  }
16931
- var yC = "3.1.0";
16932
- const ce = /* @__PURE__ */ new Map(), $c = (e) => e.type !== "doughnutLabel", xC = Jr.concat(Cs);
16933
- var vC = {
16931
+ var yM = "3.1.0";
16932
+ const ce = /* @__PURE__ */ new Map(), $c = (e) => e.type !== "doughnutLabel", xM = Jr.concat(Ms);
16933
+ var vM = {
16934
16934
  id: "annotation",
16935
- version: yC,
16935
+ version: yM,
16936
16936
  beforeRegister() {
16937
- nM("chart.js", "4.0", Yt.version);
16937
+ nC("chart.js", "4.0", Yt.version);
16938
16938
  },
16939
16939
  afterRegister() {
16940
16940
  Yt.register(be);
@@ -16961,15 +16961,15 @@ var vC = {
16961
16961
  $(o) ? Object.keys(o).forEach((r) => {
16962
16962
  const a = o[r];
16963
16963
  $(a) && (a.id = r, s.push(a));
16964
- }) : q(o) && s.push(...o), FM(s.filter($c), e.scales);
16964
+ }) : q(o) && s.push(...o), FC(s.filter($c), e.scales);
16965
16965
  },
16966
16966
  afterDataLimits(e, t) {
16967
16967
  const n = ce.get(e);
16968
- IM(e, t.scale, n.annotations.filter($c).filter((i) => i.display && i.adjustScaleRange));
16968
+ IC(e, t.scale, n.annotations.filter($c).filter((i) => i.display && i.adjustScaleRange));
16969
16969
  },
16970
16970
  afterUpdate(e, t, n) {
16971
16971
  const i = ce.get(e);
16972
- OM(e, i, n), fC(e, i, n, t.mode), i.visibleElements = i.elements.filter((s) => !s.skip && s.options.display), LM(e, i, n);
16972
+ OC(e, i, n), fM(e, i, n, t.mode), i.visibleElements = i.elements.filter((s) => !s.skip && s.options.display), LC(e, i, n);
16973
16973
  },
16974
16974
  beforeDatasetsDraw(e, t, n) {
16975
16975
  Dn(e, "beforeDatasetsDraw", n.clip);
@@ -16988,7 +16988,7 @@ var vC = {
16988
16988
  },
16989
16989
  beforeEvent(e, t, n) {
16990
16990
  const i = ce.get(e);
16991
- DM(i, t.event, n) && (t.changed = !0);
16991
+ DC(i, t.event, n) && (t.changed = !0);
16992
16992
  },
16993
16993
  afterDestroy(e) {
16994
16994
  ce.delete(e);
@@ -17026,7 +17026,7 @@ var vC = {
17026
17026
  },
17027
17027
  descriptors: {
17028
17028
  _indexable: !1,
17029
- _scriptable: (e) => !xC.includes(e) && e !== "init",
17029
+ _scriptable: (e) => !xM.includes(e) && e !== "init",
17030
17030
  annotations: {
17031
17031
  _allKeys: !1,
17032
17032
  _fallback: (e, t) => `elements.${be[Zr(t.type)].id}`
@@ -17047,12 +17047,12 @@ var vC = {
17047
17047
  function Dn(e, t, n) {
17048
17048
  const { ctx: i, chartArea: s } = e, o = ce.get(e);
17049
17049
  n && fi(i, s);
17050
- const r = _C(o.visibleElements, t).sort((a, l) => a.element.options.z - l.element.options.z);
17050
+ const r = _M(o.visibleElements, t).sort((a, l) => a.element.options.z - l.element.options.z);
17051
17051
  for (const a of r)
17052
- wC(i, s, o, a);
17052
+ wM(i, s, o, a);
17053
17053
  n && hi(i);
17054
17054
  }
17055
- function _C(e, t) {
17055
+ function _M(e, t) {
17056
17056
  const n = [];
17057
17057
  for (const i of e)
17058
17058
  if (i.options.drawTime === t && n.push({ element: i, main: !0 }), i.elements && i.elements.length)
@@ -17060,7 +17060,7 @@ function _C(e, t) {
17060
17060
  s.options.display && s.options.drawTime === t && n.push({ element: s });
17061
17061
  return n;
17062
17062
  }
17063
- function wC(e, t, n, i) {
17063
+ function wM(e, t, n, i) {
17064
17064
  const s = i.element;
17065
17065
  i.main ? (Pc(n, s, "beforeDraw"), s.draw(e, t), Pc(n, s, "afterDraw")) : s.draw(e, t);
17066
17066
  }
@@ -17089,7 +17089,7 @@ const nh = (e) => {
17089
17089
  }
17090
17090
  };
17091
17091
  return At(wf, t);
17092
- }, SC = (e) => {
17092
+ }, SM = (e) => {
17093
17093
  const t = {
17094
17094
  cutout: "60%",
17095
17095
  plugins: {
@@ -17122,7 +17122,7 @@ const nh = (e) => {
17122
17122
  };
17123
17123
  return At(ih(e), t);
17124
17124
  };
17125
- Yt.register(Oe, Vs, $s, Xs, vC);
17125
+ Yt.register(Oe, Vs, $s, Xs, vM);
17126
17126
  const _1 = ({
17127
17127
  label: e,
17128
17128
  subLabel: t,
@@ -17134,13 +17134,13 @@ const _1 = ({
17134
17134
  showValueLabels: a = !0
17135
17135
  }) => {
17136
17136
  const l = xe(null), c = At(
17137
- SC({ showLegend: o, showTooltips: r, showValueLabels: a, label: e, subLabel: t }),
17137
+ SM({ showLegend: o, showTooltips: r, showValueLabels: a, label: e, subLabel: t }),
17138
17138
  n
17139
17139
  ), u = (d) => {
17140
17140
  const f = Hs(d, l);
17141
17141
  s == null || s(f);
17142
17142
  };
17143
- return /* @__PURE__ */ M.jsx("div", { className: Ks.chartContainer, children: /* @__PURE__ */ M.jsx(
17143
+ return /* @__PURE__ */ C.jsx("div", { className: Ks.chartContainer, children: /* @__PURE__ */ C.jsx(
17144
17144
  vf,
17145
17145
  {
17146
17146
  ref: l,
@@ -17170,7 +17170,7 @@ const w1 = ({
17170
17170
  const u = Hs(c, r);
17171
17171
  n == null || n(u);
17172
17172
  };
17173
- return /* @__PURE__ */ M.jsx("div", { className: Ks.chartContainer, children: /* @__PURE__ */ M.jsx(
17173
+ return /* @__PURE__ */ C.jsx("div", { className: Ks.chartContainer, children: /* @__PURE__ */ C.jsx(
17174
17174
  vf,
17175
17175
  {
17176
17176
  ref: r,
@@ -17179,35 +17179,35 @@ const w1 = ({
17179
17179
  onClick: l
17180
17180
  }
17181
17181
  ) });
17182
- }, MC = "_tableFullContainer_s2mpf_1", CC = "_tableContainer_s2mpf_7", kC = "_tableAdjustedContainer_s2mpf_19", PC = "_tableContainerScroll_s2mpf_32", AC = "_fullWidth_s2mpf_38", RC = "_table_s2mpf_1", OC = "_boltCell_s2mpf_117", DC = "_mutedCell_s2mpf_123", EC = "_stickyFirstColumn_s2mpf_129", TC = "_stickyLastRow_s2mpf_154", LC = "_tableLastRow_s2mpf_174", ye = {
17183
- tableFullContainer: MC,
17184
- tableContainer: CC,
17185
- tableAdjustedContainer: kC,
17186
- tableContainerScroll: PC,
17187
- fullWidth: AC,
17188
- table: RC,
17189
- boltCell: OC,
17190
- mutedCell: DC,
17191
- stickyFirstColumn: EC,
17192
- stickyLastRow: TC,
17193
- tableLastRow: LC
17194
- }, IC = "_tablePagination_1wpsk_1", FC = "_tablePaginationCentral_1wpsk_11", NC = "_tablePaginationCentralButtons_1wpsk_23", Wi = {
17195
- tablePagination: IC,
17196
- tablePaginationCentral: FC,
17197
- tablePaginationCentralButtons: NC
17198
- }, jC = (e, t) => e ? Math.ceil(e / t) : void 0, BC = ({
17182
+ }, CM = "_tableFullContainer_s2mpf_1", MM = "_tableContainer_s2mpf_7", kM = "_tableAdjustedContainer_s2mpf_19", PM = "_tableContainerScroll_s2mpf_32", AM = "_fullWidth_s2mpf_38", RM = "_table_s2mpf_1", OM = "_boltCell_s2mpf_117", DM = "_mutedCell_s2mpf_123", EM = "_stickyFirstColumn_s2mpf_129", TM = "_stickyLastRow_s2mpf_154", LM = "_tableLastRow_s2mpf_174", ye = {
17183
+ tableFullContainer: CM,
17184
+ tableContainer: MM,
17185
+ tableAdjustedContainer: kM,
17186
+ tableContainerScroll: PM,
17187
+ fullWidth: AM,
17188
+ table: RM,
17189
+ boltCell: OM,
17190
+ mutedCell: DM,
17191
+ stickyFirstColumn: EM,
17192
+ stickyLastRow: TM,
17193
+ tableLastRow: LM
17194
+ }, IM = "_tablePagination_1wpsk_1", FM = "_tablePaginationCentral_1wpsk_11", NM = "_tablePaginationCentralButtons_1wpsk_23", Wi = {
17195
+ tablePagination: IM,
17196
+ tablePaginationCentral: FM,
17197
+ tablePaginationCentralButtons: NM
17198
+ }, jM = (e, t) => e ? Math.ceil(e / t) : void 0, BM = ({
17199
17199
  page: e,
17200
17200
  pageSize: t,
17201
17201
  paginationLabel: n,
17202
17202
  total: i,
17203
17203
  onPageChange: s
17204
17204
  }) => {
17205
- const o = jC(i, t), r = e <= 0, a = !o || e >= o - 1;
17205
+ const o = jM(i, t), r = e <= 0, a = !o || e >= o - 1;
17206
17206
  return ue(() => {
17207
17207
  o && e >= o && s(0);
17208
- }, [o, e]), /* @__PURE__ */ M.jsx("div", { className: Wi.tablePagination, "aria-label": "Table pagination controls", children: /* @__PURE__ */ M.jsxs("div", { className: Wi.tablePaginationCentral, children: [
17209
- /* @__PURE__ */ M.jsxs("div", { className: Wi.tablePaginationCentralButtons, children: [
17210
- /* @__PURE__ */ M.jsx(
17208
+ }, [o, e]), /* @__PURE__ */ C.jsx("div", { className: Wi.tablePagination, "aria-label": "Table pagination controls", children: /* @__PURE__ */ C.jsxs("div", { className: Wi.tablePaginationCentral, children: [
17209
+ /* @__PURE__ */ C.jsxs("div", { className: Wi.tablePaginationCentralButtons, children: [
17210
+ /* @__PURE__ */ C.jsx(
17211
17211
  En,
17212
17212
  {
17213
17213
  icon: Pg,
@@ -17218,7 +17218,7 @@ const w1 = ({
17218
17218
  "aria-label": "First page"
17219
17219
  }
17220
17220
  ),
17221
- /* @__PURE__ */ M.jsx(
17221
+ /* @__PURE__ */ C.jsx(
17222
17222
  En,
17223
17223
  {
17224
17224
  icon: Sg,
@@ -17230,12 +17230,12 @@ const w1 = ({
17230
17230
  }
17231
17231
  )
17232
17232
  ] }),
17233
- /* @__PURE__ */ M.jsx("span", { children: n ?? `Page ${e + 1} of ${o ?? "?"}` }),
17234
- /* @__PURE__ */ M.jsxs("div", { className: Wi.tablePaginationCentralButtons, children: [
17235
- /* @__PURE__ */ M.jsx(
17233
+ /* @__PURE__ */ C.jsx("span", { children: n ?? `Page ${e + 1} of ${o ?? "?"}` }),
17234
+ /* @__PURE__ */ C.jsxs("div", { className: Wi.tablePaginationCentralButtons, children: [
17235
+ /* @__PURE__ */ C.jsx(
17236
17236
  En,
17237
17237
  {
17238
- icon: Cg,
17238
+ icon: Mg,
17239
17239
  onClick: () => {
17240
17240
  s(e + 1);
17241
17241
  },
@@ -17243,7 +17243,7 @@ const w1 = ({
17243
17243
  "aria-label": "Next page"
17244
17244
  }
17245
17245
  ),
17246
- /* @__PURE__ */ M.jsx(
17246
+ /* @__PURE__ */ C.jsx(
17247
17247
  En,
17248
17248
  {
17249
17249
  icon: Rg,
@@ -17254,31 +17254,31 @@ const w1 = ({
17254
17254
  )
17255
17255
  ] })
17256
17256
  ] }) });
17257
- }, zC = "_tableHeader_1l18e_1", $C = "_tableHeaderCell_1l18e_1", Vc = {
17258
- tableHeader: zC,
17259
- tableHeaderCell: $C
17257
+ }, zM = "_tableHeader_1l18e_1", $M = "_tableHeaderCell_1l18e_1", Vc = {
17258
+ tableHeader: zM,
17259
+ tableHeaderCell: $M
17260
17260
  }, ke = {
17261
17261
  ASC: "asc",
17262
17262
  DESC: "desc"
17263
- }, VC = {
17263
+ }, VM = {
17264
17264
  LEFT: "left",
17265
17265
  CENTER: "center",
17266
17266
  RIGHT: "right"
17267
- }, WC = (e, t) => (e == null ? void 0 : e.id) === t.id ? e.direction === "asc" ? "ascending" : "descending" : "none", HC = (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.`, YC = ({
17267
+ }, WM = (e, t) => (e == null ? void 0 : e.id) === t.id ? e.direction === "asc" ? "ascending" : "descending" : "none", HM = (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.`, YM = ({
17268
17268
  headers: e,
17269
17269
  sort: t,
17270
17270
  showIndex: n,
17271
17271
  onSortChange: i
17272
17272
  }) => {
17273
17273
  const s = (r) => {
17274
- if (!t) return /* @__PURE__ */ M.jsx(wa, {});
17274
+ if (!t) return /* @__PURE__ */ C.jsx(wa, {});
17275
17275
  if (t.id === r.id) {
17276
17276
  if (t.direction === ke.ASC)
17277
- return /* @__PURE__ */ M.jsx(jg, {});
17277
+ return /* @__PURE__ */ C.jsx(jg, {});
17278
17278
  if (t.direction === ke.DESC)
17279
- return /* @__PURE__ */ M.jsx(tu, {});
17279
+ return /* @__PURE__ */ C.jsx(tu, {});
17280
17280
  }
17281
- return /* @__PURE__ */ M.jsx(wa, {});
17281
+ return /* @__PURE__ */ C.jsx(wa, {});
17282
17282
  }, o = (r) => {
17283
17283
  if (i) {
17284
17284
  if (!t)
@@ -17293,20 +17293,20 @@ const w1 = ({
17293
17293
  }
17294
17294
  }
17295
17295
  };
17296
- return /* @__PURE__ */ M.jsx("thead", { className: Vc.tableHeader, children: /* @__PURE__ */ M.jsxs("tr", { children: [
17297
- n && /* @__PURE__ */ M.jsx("th", { className: ft(ye.mutedCell, ye.stickyFirstColumn), children: "#" }),
17298
- e.map((r) => /* @__PURE__ */ M.jsx(
17296
+ return /* @__PURE__ */ C.jsx("thead", { className: Vc.tableHeader, children: /* @__PURE__ */ C.jsxs("tr", { children: [
17297
+ n && /* @__PURE__ */ C.jsx("th", { className: ft(ye.mutedCell, ye.stickyFirstColumn), children: "#" }),
17298
+ e.map((r) => /* @__PURE__ */ C.jsx(
17299
17299
  "th",
17300
17300
  {
17301
17301
  className: Vc.tableHeaderCell,
17302
17302
  style: { minWidth: r.minWidth },
17303
17303
  scope: "col",
17304
- "aria-sort": WC(t, r),
17305
- children: /* @__PURE__ */ M.jsxs(
17304
+ "aria-sort": WM(t, r),
17305
+ children: /* @__PURE__ */ C.jsxs(
17306
17306
  "button",
17307
17307
  {
17308
17308
  onClick: () => o(r.id),
17309
- "aria-label": HC(t, r),
17309
+ "aria-label": HM(t, r),
17310
17310
  children: [
17311
17311
  r.title,
17312
17312
  s(r)
@@ -17317,26 +17317,26 @@ const w1 = ({
17317
17317
  r.id
17318
17318
  ))
17319
17319
  ] }) });
17320
- }, UC = "_copyButton_32339_1", KC = "_leftAlign_32339_9", XC = "_tableBodyCell_32339_14", Qi = {
17321
- copyButton: UC,
17322
- leftAlign: KC,
17323
- tableBodyCell: XC
17324
- }, GC = ({
17320
+ }, UM = "_copyButton_32339_1", KM = "_leftAlign_32339_9", XM = "_tableBodyCell_32339_14", Qi = {
17321
+ copyButton: UM,
17322
+ leftAlign: KM,
17323
+ tableBodyCell: XM
17324
+ }, GM = ({
17325
17325
  headers: e,
17326
17326
  rows: t,
17327
17327
  pageSize: n,
17328
17328
  page: i,
17329
17329
  showIndex: s,
17330
17330
  onRowIndexClick: o
17331
- }) => /* @__PURE__ */ M.jsx("tbody", { className: Qi.tableBody, children: t.map((r, a) => /* @__PURE__ */ M.jsxs(
17331
+ }) => /* @__PURE__ */ C.jsx("tbody", { className: Qi.tableBody, children: t.map((r, a) => /* @__PURE__ */ C.jsxs(
17332
17332
  "tr",
17333
17333
  {
17334
17334
  onClick: () => o == null ? void 0 : o(a),
17335
17335
  className: ft(a === t.length - 1 && ye.tableLastRow),
17336
17336
  children: [
17337
- s && /* @__PURE__ */ M.jsx("td", { className: ft(ye.mutedCell, ye.stickyFirstColumn), children: n * i + a + 1 }),
17338
- e.map((l, c) => /* @__PURE__ */ M.jsx(
17339
- JC,
17337
+ s && /* @__PURE__ */ C.jsx("td", { className: ft(ye.mutedCell, ye.stickyFirstColumn), children: n * i + a + 1 }),
17338
+ e.map((l, c) => /* @__PURE__ */ C.jsx(
17339
+ JM,
17340
17340
  {
17341
17341
  header: l,
17342
17342
  row: r,
@@ -17348,7 +17348,7 @@ const w1 = ({
17348
17348
  ]
17349
17349
  },
17350
17350
  a
17351
- )) }), JC = ({ header: e, row: t, rowIndex: n, cellIndex: i }) => {
17351
+ )) }), JM = ({ header: e, row: t, rowIndex: n, cellIndex: i }) => {
17352
17352
  const [s, o] = Wc(!1), r = e.accessor !== void 0 ? e.accessor(t) : e.id !== void 0 ? (
17353
17353
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
17354
17354
  t[e.id]
@@ -17358,14 +17358,14 @@ const w1 = ({
17358
17358
  const a = () => {
17359
17359
  o(!0), r !== void 0 && navigator.clipboard.writeText(String(r));
17360
17360
  };
17361
- return /* @__PURE__ */ M.jsxs(
17361
+ return /* @__PURE__ */ C.jsxs(
17362
17362
  "td",
17363
17363
  {
17364
17364
  title: r,
17365
17365
  style: { textAlign: e.align },
17366
17366
  onMouseLeave: () => o(!1),
17367
17367
  children: [
17368
- /* @__PURE__ */ M.jsx(
17368
+ /* @__PURE__ */ C.jsx(
17369
17369
  En,
17370
17370
  {
17371
17371
  title: `Copy: ${String(r)}`,
@@ -17373,7 +17373,7 @@ const w1 = ({
17373
17373
  icon: s ? zg : Dg,
17374
17374
  className: ft(
17375
17375
  Qi.copyButton,
17376
- e.align === VC.RIGHT && Qi.leftAlign
17376
+ e.align === VM.RIGHT && Qi.leftAlign
17377
17377
  ),
17378
17378
  onClick: a
17379
17379
  }
@@ -17383,7 +17383,7 @@ const w1 = ({
17383
17383
  },
17384
17384
  `${n}-${i}`
17385
17385
  );
17386
- }, qC = v.forwardRef(
17386
+ }, qM = v.forwardRef(
17387
17387
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
17388
17388
  (e, t) => {
17389
17389
  const {
@@ -17400,10 +17400,10 @@ const w1 = ({
17400
17400
  onPageChange: f,
17401
17401
  onSortChange: h
17402
17402
  } = e;
17403
- return /* @__PURE__ */ M.jsxs("div", { ref: t, className: ft(ye.tableContainer, s), children: [
17404
- /* @__PURE__ */ M.jsx("div", { className: ye.tableContainerScroll, children: /* @__PURE__ */ M.jsxs("table", { className: ye.table, children: [
17405
- /* @__PURE__ */ M.jsx(
17406
- YC,
17403
+ return /* @__PURE__ */ C.jsxs("div", { ref: t, className: ft(ye.tableContainer, s), children: [
17404
+ /* @__PURE__ */ C.jsx("div", { className: ye.tableContainerScroll, children: /* @__PURE__ */ C.jsxs("table", { className: ye.table, children: [
17405
+ /* @__PURE__ */ C.jsx(
17406
+ YM,
17407
17407
  {
17408
17408
  showIndex: u,
17409
17409
  headers: n,
@@ -17411,8 +17411,8 @@ const w1 = ({
17411
17411
  onSortChange: h
17412
17412
  }
17413
17413
  ),
17414
- /* @__PURE__ */ M.jsx(
17415
- GC,
17414
+ /* @__PURE__ */ C.jsx(
17415
+ GM,
17416
17416
  {
17417
17417
  onRowIndexClick: d,
17418
17418
  showIndex: u,
@@ -17423,8 +17423,8 @@ const w1 = ({
17423
17423
  }
17424
17424
  )
17425
17425
  ] }) }),
17426
- /* @__PURE__ */ M.jsx(
17427
- BC,
17426
+ /* @__PURE__ */ C.jsx(
17427
+ BM,
17428
17428
  {
17429
17429
  page: r,
17430
17430
  pageSize: a,
@@ -17436,8 +17436,8 @@ const w1 = ({
17436
17436
  ] });
17437
17437
  }
17438
17438
  );
17439
- qC.displayName = "TablePaginated";
17440
- const ZC = (e, t) => {
17439
+ qM.displayName = "TablePaginated";
17440
+ const ZM = (e, t) => {
17441
17441
  if (!e || !e.includes("|")) return ot.t(e, t);
17442
17442
  const [n, i] = e.split("|", 2).map((s) => s.trim());
17443
17443
  return ot.t(
@@ -17448,7 +17448,7 @@ const ZC = (e, t) => {
17448
17448
  const t = {};
17449
17449
  return Object.keys(e).forEach((n) => {
17450
17450
  const i = e[n];
17451
- t[n] = typeof i == "string" ? ZC(i) : i;
17451
+ t[n] = typeof i == "string" ? ZM(i) : i;
17452
17452
  }), t;
17453
17453
  }, no = jh("align", {
17454
17454
  label: "Align",
@@ -17457,17 +17457,17 @@ const ZC = (e, t) => {
17457
17457
  ur(no, "left");
17458
17458
  ur(no, "center");
17459
17459
  ur(no, "right");
17460
- const M1 = {
17460
+ const C1 = {
17461
17461
  name: "boolean",
17462
17462
  type: "boolean",
17463
17463
  label: "Boolean",
17464
17464
  category: "Component Settings"
17465
- }, C1 = {
17465
+ }, M1 = {
17466
17466
  name: "timeRange",
17467
17467
  type: "timeRange",
17468
17468
  label: "Time Range",
17469
17469
  category: "Component Settings"
17470
- }, QC = {
17470
+ }, QM = {
17471
17471
  name: "number",
17472
17472
  type: "number",
17473
17473
  label: "Number",
@@ -17478,7 +17478,7 @@ const M1 = {
17478
17478
  label: "String",
17479
17479
  category: "Component Settings"
17480
17480
  }, k1 = {
17481
- ...QC,
17481
+ ...QM,
17482
17482
  name: "width",
17483
17483
  label: "Width",
17484
17484
  description: "You can input a number in pixels e.g. 400"
@@ -17796,26 +17796,26 @@ export {
17796
17796
  x1 as B,
17797
17797
  X1 as C,
17798
17798
  bc as D,
17799
- Ms as E,
17799
+ Cs as E,
17800
17800
  ot as F,
17801
17801
  I1 as G,
17802
- C1 as H,
17803
- M1 as I,
17804
- QC as J,
17802
+ M1 as H,
17803
+ C1 as I,
17804
+ QM as J,
17805
17805
  H as K,
17806
17806
  Ys as L,
17807
17807
  yc as M,
17808
17808
  v1 as N,
17809
17809
  A1 as O,
17810
- ZC as P,
17810
+ ZM as P,
17811
17811
  lk as Q,
17812
17812
  sh as R,
17813
17813
  R1 as S,
17814
17814
  O1 as T,
17815
- VC as U,
17815
+ VM as U,
17816
17816
  r1 as V,
17817
- qC as W,
17818
- jC as X,
17817
+ qM as W,
17818
+ jM as X,
17819
17819
  B1 as Y,
17820
17820
  k1 as Z,
17821
17821
  P1 as _,
@@ -17830,19 +17830,26 @@ export {
17830
17830
  En as a7,
17831
17831
  h1 as a8,
17832
17832
  g1 as a9,
17833
- t1 as aA,
17834
- e1 as aB,
17835
- n1 as aC,
17836
- N1 as aD,
17837
- j1 as aE,
17838
- Q1 as aF,
17839
- ak as aG,
17840
- Xc as aH,
17841
- ye as aI,
17842
- Tg as aJ,
17843
- l1 as aK,
17844
- jh as aL,
17845
- ur as aM,
17833
+ rh as aA,
17834
+ ah as aB,
17835
+ D1 as aC,
17836
+ lh as aD,
17837
+ ch as aE,
17838
+ uh as aF,
17839
+ dh as aG,
17840
+ t1 as aH,
17841
+ e1 as aI,
17842
+ n1 as aJ,
17843
+ N1 as aK,
17844
+ j1 as aL,
17845
+ Q1 as aM,
17846
+ ak as aN,
17847
+ Xc as aO,
17848
+ ye as aP,
17849
+ Tg as aQ,
17850
+ l1 as aR,
17851
+ jh as aS,
17852
+ ur as aT,
17846
17853
  Sd as aa,
17847
17854
  P0 as ab,
17848
17855
  x0 as ac,
@@ -17851,24 +17858,24 @@ export {
17851
17858
  E0 as af,
17852
17859
  T0 as ag,
17853
17860
  vS as ah,
17854
- CS as ai,
17861
+ MS as ai,
17855
17862
  XS as aj,
17856
17863
  GS as ak,
17857
17864
  _1 as al,
17858
17865
  w1 as am,
17859
17866
  nh as an,
17860
17867
  ih as ao,
17861
- SC as ap,
17868
+ SM as ap,
17862
17869
  W as aq,
17863
17870
  ke as ar,
17864
- oh as as,
17865
- rh as at,
17866
- ah as au,
17867
- D1 as av,
17868
- lh as aw,
17869
- ch as ax,
17870
- uh as ay,
17871
- dh as az,
17871
+ bS as as,
17872
+ Us as at,
17873
+ xc as au,
17874
+ yS as av,
17875
+ Sf as aw,
17876
+ Hr as ax,
17877
+ Yr as ay,
17878
+ oh as az,
17872
17879
  F1 as b,
17873
17880
  W1 as c,
17874
17881
  E1 as d,
@@ -17877,7 +17884,7 @@ export {
17877
17884
  G1 as g,
17878
17885
  tk as h,
17879
17886
  a1 as i,
17880
- M as j,
17887
+ C as j,
17881
17888
  ik as k,
17882
17889
  sk as l,
17883
17890
  At as m,
@@ -17895,4 +17902,4 @@ export {
17895
17902
  q1 as y,
17896
17903
  T1 as z
17897
17904
  };
17898
- //# sourceMappingURL=component.constants-BfTb5vNm.js.map
17905
+ //# sourceMappingURL=component.constants-B5vygi6l.js.map