scope360-core 0.0.158 → 0.0.159

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.
@@ -1359,7 +1359,7 @@ const fw = {
1359
1359
  class: de([
1360
1360
  "scope-input__icon-wrapper",
1361
1361
  `-${t.size}`,
1362
- { "-only-search": t.haveClearButton || t.hasSave || t.haveCopyButton && !t.icon, "-with-label": !!t.label }
1362
+ { "-only-search": t.haveClearButton || t.hasSave || t.haveCopyButton && !t.icon, "-with-label": !!t.label, "-has-save": t.hasSave }
1363
1363
  ])
1364
1364
  }, [
1365
1365
  t.icon ? (D(), pe(M(Ke), {
@@ -1393,7 +1393,7 @@ const fw = {
1393
1393
  t.invalid ? (D(), E("div", _w, ae(t.errorMessage), 1)) : H("", !0)
1394
1394
  ], 2));
1395
1395
  }
1396
- }, kV = /* @__PURE__ */ Ue(vw, [["__scopeId", "data-v-235732f5"]]), bw = { class: "scope-radio-label" }, ww = ["value"], kw = { class: "scope-text" }, xw = {
1396
+ }, kV = /* @__PURE__ */ Ue(vw, [["__scopeId", "data-v-86835b6c"]]), bw = { class: "scope-radio-label" }, ww = ["value"], kw = { class: "scope-text" }, xw = {
1397
1397
  __name: "Radio",
1398
1398
  props: /* @__PURE__ */ Lt({
1399
1399
  value: String | Object | Boolean | Number,
@@ -13669,7 +13669,7 @@ function Um({ start: t, end: e, count: n, loop: s, style: i }) {
13669
13669
  style: i
13670
13670
  };
13671
13671
  }
13672
- function e2(t, e, n) {
13672
+ function eP(t, e, n) {
13673
13673
  const { property: s, start: i, end: r } = n, { between: a, normalize: o } = Z0(s), l = e.length;
13674
13674
  let { start: u, end: c, loop: d } = t, h, f;
13675
13675
  if (d) {
@@ -13689,7 +13689,7 @@ function X0(t, e, n) {
13689
13689
  return [
13690
13690
  t
13691
13691
  ];
13692
- const { property: s, start: i, end: r } = n, a = e.length, { compare: o, between: l, normalize: u } = Z0(s), { start: c, end: d, loop: h, style: f } = e2(t, e, n), p = [];
13692
+ const { property: s, start: i, end: r } = n, a = e.length, { compare: o, between: l, normalize: u } = Z0(s), { start: c, end: d, loop: h, style: f } = eP(t, e, n), p = [];
13693
13693
  let m = !1, g = null, y, w, v;
13694
13694
  const T = () => l(i, v, y) && o(i, v) !== 0, x = () => o(r, y) === 0 || l(r, v, y), P = () => m || T(), S = () => !m || x();
13695
13695
  for (let A = c, R = c; A <= d; ++A)
@@ -13716,7 +13716,7 @@ function K0(t, e) {
13716
13716
  }
13717
13717
  return n;
13718
13718
  }
13719
- function t2(t, e, n, s) {
13719
+ function tP(t, e, n, s) {
13720
13720
  let i = 0, r = e - 1;
13721
13721
  if (n && !s)
13722
13722
  for (; i < e && !t[i].skip; )
@@ -13730,7 +13730,7 @@ function t2(t, e, n, s) {
13730
13730
  end: r
13731
13731
  };
13732
13732
  }
13733
- function n2(t, e, n, s) {
13733
+ function nP(t, e, n, s) {
13734
13734
  const i = t.length, r = [];
13735
13735
  let a = e, o = t[e], l;
13736
13736
  for (l = e + 1; l <= n; ++l) {
@@ -13747,11 +13747,11 @@ function n2(t, e, n, s) {
13747
13747
  loop: s
13748
13748
  }), r;
13749
13749
  }
13750
- function s2(t, e) {
13750
+ function sP(t, e) {
13751
13751
  const n = t.points, s = t.options.spanGaps, i = n.length;
13752
13752
  if (!i)
13753
13753
  return [];
13754
- const r = !!t._loop, { start: a, end: o } = t2(n, i, r, s);
13754
+ const r = !!t._loop, { start: a, end: o } = tP(n, i, r, s);
13755
13755
  if (s === !0)
13756
13756
  return jm(t, [
13757
13757
  {
@@ -13761,12 +13761,12 @@ function s2(t, e) {
13761
13761
  }
13762
13762
  ], n, e);
13763
13763
  const l = o < a ? o + i : o, u = !!t._fullLoop && a === 0 && o === i - 1;
13764
- return jm(t, n2(n, a, l, u), n, e);
13764
+ return jm(t, nP(n, a, l, u), n, e);
13765
13765
  }
13766
13766
  function jm(t, e, n, s) {
13767
- return !s || !s.setContext || !n ? e : i2(t, e, n, s);
13767
+ return !s || !s.setContext || !n ? e : iP(t, e, n, s);
13768
13768
  }
13769
- function i2(t, e, n, s) {
13769
+ function iP(t, e, n, s) {
13770
13770
  const i = t._chart.getContext(), r = qm(t.options), { _datasetIndex: a, options: { spanGaps: o } } = t, l = n.length, u = [];
13771
13771
  let c = r, d = e[0].start, h = d;
13772
13772
  function f(p, m, g, y) {
@@ -13796,7 +13796,7 @@ function i2(t, e, n, s) {
13796
13796
  p0DataIndex: (h - 1) % l,
13797
13797
  p1DataIndex: h % l,
13798
13798
  datasetIndex: a
13799
- }))), r2(g, c) && f(d, h - 1, p.loop, c), m = y, c = g;
13799
+ }))), rP(g, c) && f(d, h - 1, p.loop, c), m = y, c = g;
13800
13800
  }
13801
13801
  d < h - 1 && f(d, h - 1, p.loop, c);
13802
13802
  }
@@ -13813,7 +13813,7 @@ function qm(t) {
13813
13813
  borderColor: t.borderColor
13814
13814
  };
13815
13815
  }
13816
- function r2(t, e) {
13816
+ function rP(t, e) {
13817
13817
  if (!e)
13818
13818
  return !1;
13819
13819
  const n = [], s = function(i, r) {
@@ -13827,7 +13827,7 @@ function r2(t, e) {
13827
13827
  * (c) 2024 Chart.js Contributors
13828
13828
  * Released under the MIT License
13829
13829
  */
13830
- class a2 {
13830
+ class aP {
13831
13831
  constructor() {
13832
13832
  this._request = null, this._charts = /* @__PURE__ */ new Map(), this._running = !1, this._lastDate = void 0;
13833
13833
  }
@@ -13903,8 +13903,8 @@ class a2 {
13903
13903
  return this._charts.delete(e);
13904
13904
  }
13905
13905
  }
13906
- var Bs = /* @__PURE__ */ new a2();
13907
- const Gm = "transparent", o2 = {
13906
+ var Bs = /* @__PURE__ */ new aP();
13907
+ const Gm = "transparent", oP = {
13908
13908
  boolean(t, e, n) {
13909
13909
  return n > 0.5 ? e : t;
13910
13910
  },
@@ -13916,7 +13916,7 @@ const Gm = "transparent", o2 = {
13916
13916
  return t + (e - t) * n;
13917
13917
  }
13918
13918
  };
13919
- class l2 {
13919
+ class lP {
13920
13920
  constructor(e, n, s, i) {
13921
13921
  const r = n[s];
13922
13922
  i = sl([
@@ -13930,7 +13930,7 @@ class l2 {
13930
13930
  r,
13931
13931
  i
13932
13932
  ]);
13933
- this._active = !0, this._fn = e.fn || o2[e.type || typeof a], this._easing = eo[e.easing] || eo.linear, this._start = Math.floor(Date.now() + (e.delay || 0)), this._duration = this._total = Math.floor(e.duration), this._loop = !!e.loop, this._target = n, this._prop = s, this._from = a, this._to = i, this._promises = void 0;
13933
+ this._active = !0, this._fn = e.fn || oP[e.type || typeof a], this._easing = eo[e.easing] || eo.linear, this._start = Math.floor(Date.now() + (e.delay || 0)), this._duration = this._total = Math.floor(e.duration), this._loop = !!e.loop, this._target = n, this._prop = s, this._from = a, this._to = i, this._promises = void 0;
13934
13934
  }
13935
13935
  active() {
13936
13936
  return this._active;
@@ -14005,11 +14005,11 @@ class Q0 {
14005
14005
  });
14006
14006
  }
14007
14007
  _animateOptions(e, n) {
14008
- const s = n.options, i = c2(e, s);
14008
+ const s = n.options, i = cP(e, s);
14009
14009
  if (!i)
14010
14010
  return [];
14011
14011
  const r = this._createAnimations(i, s);
14012
- return s.$shared && u2(e.options.$animations, s).then(() => {
14012
+ return s.$shared && uP(e.options.$animations, s).then(() => {
14013
14013
  e.options = s;
14014
14014
  }, () => {
14015
14015
  }), r;
@@ -14038,7 +14038,7 @@ class Q0 {
14038
14038
  e[u] = c;
14039
14039
  continue;
14040
14040
  }
14041
- r[u] = d = new l2(h, e, u, c), i.push(d);
14041
+ r[u] = d = new lP(h, e, u, c), i.push(d);
14042
14042
  }
14043
14043
  return i;
14044
14044
  }
@@ -14052,7 +14052,7 @@ class Q0 {
14052
14052
  return Bs.add(this._chart, s), !0;
14053
14053
  }
14054
14054
  }
14055
- function u2(t, e) {
14055
+ function uP(t, e) {
14056
14056
  const n = [], s = Object.keys(e);
14057
14057
  for (let i = 0; i < s.length; i++) {
14058
14058
  const r = t[s[i]];
@@ -14060,7 +14060,7 @@ function u2(t, e) {
14060
14060
  }
14061
14061
  return Promise.all(n);
14062
14062
  }
14063
- function c2(t, e) {
14063
+ function cP(t, e) {
14064
14064
  if (!e)
14065
14065
  return;
14066
14066
  let n = t.options;
@@ -14080,7 +14080,7 @@ function Zm(t, e) {
14080
14080
  end: s ? i : r
14081
14081
  };
14082
14082
  }
14083
- function d2(t, e, n) {
14083
+ function dP(t, e, n) {
14084
14084
  if (n === !1)
14085
14085
  return !1;
14086
14086
  const s = Zm(t, n), i = Zm(e, n);
@@ -14091,7 +14091,7 @@ function d2(t, e, n) {
14091
14091
  left: s.start
14092
14092
  };
14093
14093
  }
14094
- function h2(t) {
14094
+ function hP(t) {
14095
14095
  let e, n, s, i;
14096
14096
  return Be(t) ? (e = t.top, n = t.right, s = t.bottom, i = t.left) : e = n = s = i = t, {
14097
14097
  top: e,
@@ -14123,7 +14123,7 @@ function Xm(t, e, n, s = {}) {
14123
14123
  return e;
14124
14124
  }
14125
14125
  }
14126
- function f2(t) {
14126
+ function fP(t) {
14127
14127
  const e = Object.keys(t), n = new Array(e.length);
14128
14128
  let s, i, r;
14129
14129
  for (s = 0, i = e.length; s < i; ++s)
@@ -14137,17 +14137,17 @@ function Km(t, e) {
14137
14137
  const n = t && t.options.stacked;
14138
14138
  return n || n === void 0 && e.stack !== void 0;
14139
14139
  }
14140
- function m2(t, e, n) {
14140
+ function mP(t, e, n) {
14141
14141
  return `${t.id}.${e.id}.${n.stack || n.type}`;
14142
14142
  }
14143
- function p2(t) {
14143
+ function pP(t) {
14144
14144
  const { min: e, max: n, minDefined: s, maxDefined: i } = t.getUserBounds();
14145
14145
  return {
14146
14146
  min: s ? e : Number.NEGATIVE_INFINITY,
14147
14147
  max: i ? n : Number.POSITIVE_INFINITY
14148
14148
  };
14149
14149
  }
14150
- function g2(t, e, n) {
14150
+ function gP(t, e, n) {
14151
14151
  const s = t[e] || (t[e] = {});
14152
14152
  return s[n] || (s[n] = {});
14153
14153
  }
@@ -14160,11 +14160,11 @@ function Qm(t, e, n, s) {
14160
14160
  return null;
14161
14161
  }
14162
14162
  function Jm(t, e) {
14163
- const { chart: n, _cachedMeta: s } = t, i = n._stacks || (n._stacks = {}), { iScale: r, vScale: a, index: o } = s, l = r.axis, u = a.axis, c = m2(r, a, s), d = e.length;
14163
+ const { chart: n, _cachedMeta: s } = t, i = n._stacks || (n._stacks = {}), { iScale: r, vScale: a, index: o } = s, l = r.axis, u = a.axis, c = mP(r, a, s), d = e.length;
14164
14164
  let h;
14165
14165
  for (let f = 0; f < d; ++f) {
14166
14166
  const p = e[f], { [l]: m, [u]: g } = p, y = p._stacks || (p._stacks = {});
14167
- h = y[u] = g2(i, c, m), h[o] = g, h._top = Qm(h, a, !0, s.type), h._bottom = Qm(h, a, !1, s.type);
14167
+ h = y[u] = gP(i, c, m), h[o] = g, h._top = Qm(h, a, !0, s.type), h._bottom = Qm(h, a, !1, s.type);
14168
14168
  const w = h._visualValues || (h._visualValues = {});
14169
14169
  w[o] = g;
14170
14170
  }
@@ -14173,7 +14173,7 @@ function Ic(t, e) {
14173
14173
  const n = t.scales;
14174
14174
  return Object.keys(n).filter((s) => n[s].axis === e).shift();
14175
14175
  }
14176
- function y2(t, e) {
14176
+ function yP(t, e) {
14177
14177
  return Bi(t, {
14178
14178
  active: !1,
14179
14179
  dataset: void 0,
@@ -14183,7 +14183,7 @@ function y2(t, e) {
14183
14183
  type: "dataset"
14184
14184
  });
14185
14185
  }
14186
- function _2(t, e, n) {
14186
+ function _P(t, e, n) {
14187
14187
  return Bi(t, {
14188
14188
  active: !1,
14189
14189
  dataIndex: e,
@@ -14207,7 +14207,7 @@ function Aa(t, e) {
14207
14207
  }
14208
14208
  }
14209
14209
  }
14210
- const Nc = (t) => t === "reset" || t === "none", ep = (t, e) => e ? t : Object.assign({}, t), v2 = (t, e, n) => t && !e.hidden && e._stacked && {
14210
+ const Nc = (t) => t === "reset" || t === "none", ep = (t, e) => e ? t : Object.assign({}, t), vP = (t, e, n) => t && !e.hidden && e._stacked && {
14211
14211
  keys: J0(n, !0),
14212
14212
  values: null
14213
14213
  };
@@ -14249,7 +14249,7 @@ class so {
14249
14249
  _dataCheck() {
14250
14250
  const e = this.getDataset(), n = e.data || (e.data = []), s = this._data;
14251
14251
  if (Be(n))
14252
- this._data = f2(n);
14252
+ this._data = fP(n);
14253
14253
  else if (s !== n) {
14254
14254
  if (s) {
14255
14255
  $m(s, this);
@@ -14340,10 +14340,10 @@ class so {
14340
14340
  i && o && (i.values = o, a = Xm(i, r, this._cachedMeta.index)), e.min = Math.min(e.min, a), e.max = Math.max(e.max, a);
14341
14341
  }
14342
14342
  getMinMax(e, n) {
14343
- const s = this._cachedMeta, i = s._parsed, r = s._sorted && e === s.iScale, a = i.length, o = this._getOtherScale(e), l = v2(n, s, this.chart), u = {
14343
+ const s = this._cachedMeta, i = s._parsed, r = s._sorted && e === s.iScale, a = i.length, o = this._getOtherScale(e), l = vP(n, s, this.chart), u = {
14344
14344
  min: Number.POSITIVE_INFINITY,
14345
14345
  max: Number.NEGATIVE_INFINITY
14346
- }, { min: c, max: d } = p2(o);
14346
+ }, { min: c, max: d } = pP(o);
14347
14347
  let h, f;
14348
14348
  function p() {
14349
14349
  f = i[h];
@@ -14380,7 +14380,7 @@ class so {
14380
14380
  }
14381
14381
  _update(e) {
14382
14382
  const n = this._cachedMeta;
14383
- this.update(e || "default"), n._clip = h2(tt(this.options.clip, d2(n.xScale, n.yScale, this.getMaxOverflow())));
14383
+ this.update(e || "default"), n._clip = hP(tt(this.options.clip, dP(n.xScale, n.yScale, this.getMaxOverflow())));
14384
14384
  }
14385
14385
  update(e) {
14386
14386
  }
@@ -14403,9 +14403,9 @@ class so {
14403
14403
  let r;
14404
14404
  if (e >= 0 && e < this._cachedMeta.data.length) {
14405
14405
  const a = this._cachedMeta.data[e];
14406
- r = a.$context || (a.$context = _2(this.getContext(), e, a)), r.parsed = this.getParsed(e), r.raw = i.data[e], r.index = r.dataIndex = e;
14406
+ r = a.$context || (a.$context = _P(this.getContext(), e, a)), r.parsed = this.getParsed(e), r.raw = i.data[e], r.index = r.dataIndex = e;
14407
14407
  } else
14408
- r = this.$context || (this.$context = y2(this.chart.getContext(), this.index)), r.dataset = i, r.index = r.datasetIndex = this.index;
14408
+ r = this.$context || (this.$context = yP(this.chart.getContext(), this.index)), r.dataset = i, r.index = r.datasetIndex = this.index;
14409
14409
  return r.active = !!n, r.mode = s, r;
14410
14410
  }
14411
14411
  resolveDatasetElementOptions(e) {
@@ -14667,10 +14667,10 @@ class tf {
14667
14667
  return Gi();
14668
14668
  }
14669
14669
  }
14670
- var b2 = {
14670
+ var bP = {
14671
14671
  _date: tf
14672
14672
  };
14673
- function w2(t, e, n, s) {
14673
+ function wP(t, e, n, s) {
14674
14674
  const { controller: i, data: r, _sorted: a } = t, o = i._cachedMeta.iScale;
14675
14675
  if (o && e === o.axis && e !== "r" && a && r.length) {
14676
14676
  const l = o._reversePixels ? ZD : ar;
@@ -14696,14 +14696,14 @@ function w2(t, e, n, s) {
14696
14696
  function No(t, e, n, s, i) {
14697
14697
  const r = t.getSortedVisibleDatasetMetas(), a = n[e];
14698
14698
  for (let o = 0, l = r.length; o < l; ++o) {
14699
- const { index: u, data: c } = r[o], { lo: d, hi: h } = w2(r[o], e, a, i);
14699
+ const { index: u, data: c } = r[o], { lo: d, hi: h } = wP(r[o], e, a, i);
14700
14700
  for (let f = d; f <= h; ++f) {
14701
14701
  const p = c[f];
14702
14702
  p.skip || s(p, u, f);
14703
14703
  }
14704
14704
  }
14705
14705
  }
14706
- function k2(t) {
14706
+ function kP(t) {
14707
14707
  const e = t.indexOf("x") !== -1, n = t.indexOf("y") !== -1;
14708
14708
  return function(s, i) {
14709
14709
  const r = e ? Math.abs(s.x - i.x) : 0, a = n ? Math.abs(s.y - i.y) : 0;
@@ -14720,7 +14720,7 @@ function Lc(t, e, n, s, i) {
14720
14720
  });
14721
14721
  }, !0), r;
14722
14722
  }
14723
- function x2(t, e, n, s) {
14723
+ function xP(t, e, n, s) {
14724
14724
  let i = [];
14725
14725
  function r(a, o, l) {
14726
14726
  const { startAngle: u, endAngle: c } = a.getProps([
@@ -14738,9 +14738,9 @@ function x2(t, e, n, s) {
14738
14738
  }
14739
14739
  return No(t, n, e, r), i;
14740
14740
  }
14741
- function S2(t, e, n, s, i, r) {
14741
+ function SP(t, e, n, s, i, r) {
14742
14742
  let a = [];
14743
- const o = k2(n);
14743
+ const o = kP(n);
14744
14744
  let l = Number.POSITIVE_INFINITY;
14745
14745
  function u(c, d, h) {
14746
14746
  const f = c.inRange(e.x, e.y, i);
@@ -14765,7 +14765,7 @@ function S2(t, e, n, s, i, r) {
14765
14765
  return No(t, n, e, u), a;
14766
14766
  }
14767
14767
  function Fc(t, e, n, s, i, r) {
14768
- return !r && !t.isPointInArea(e) ? [] : n === "r" && !s ? x2(t, e, n, i) : S2(t, e, n, s, i, r);
14768
+ return !r && !t.isPointInArea(e) ? [] : n === "r" && !s ? xP(t, e, n, i) : SP(t, e, n, s, i, r);
14769
14769
  }
14770
14770
  function tp(t, e, n, s, i) {
14771
14771
  const r = [], a = n === "x" ? "inXRange" : "inYRange";
@@ -14778,7 +14778,7 @@ function tp(t, e, n, s, i) {
14778
14778
  }), o = o || l.inRange(e.x, e.y, i));
14779
14779
  }), s && !o ? [] : r;
14780
14780
  }
14781
- var T2 = {
14781
+ var TP = {
14782
14782
  evaluateInteractionItems: No,
14783
14783
  modes: {
14784
14784
  index(t, e, n, s) {
@@ -14843,7 +14843,7 @@ function Ea(t, e) {
14843
14843
  return i.weight === r.weight ? i.index - r.index : i.weight - r.weight;
14844
14844
  });
14845
14845
  }
14846
- function M2(t) {
14846
+ function MP(t) {
14847
14847
  const e = [];
14848
14848
  let n, s, i, r, a, o;
14849
14849
  for (n = 0, s = (t || []).length; n < s; ++n)
@@ -14858,7 +14858,7 @@ function M2(t) {
14858
14858
  });
14859
14859
  return e;
14860
14860
  }
14861
- function D2(t) {
14861
+ function DP(t) {
14862
14862
  const e = {};
14863
14863
  for (const n of t) {
14864
14864
  const { stack: s, pos: i, stackWeight: r } = n;
@@ -14874,8 +14874,8 @@ function D2(t) {
14874
14874
  }
14875
14875
  return e;
14876
14876
  }
14877
- function O2(t, e) {
14878
- const n = D2(t), { vBoxMaxWidth: s, hBoxMaxHeight: i } = e;
14877
+ function OP(t, e) {
14878
+ const n = DP(t), { vBoxMaxWidth: s, hBoxMaxHeight: i } = e;
14879
14879
  let r, a, o;
14880
14880
  for (r = 0, a = t.length; r < a; ++r) {
14881
14881
  o = t[r];
@@ -14884,8 +14884,8 @@ function O2(t, e) {
14884
14884
  }
14885
14885
  return n;
14886
14886
  }
14887
- function P2(t) {
14888
- const e = M2(t), n = Ea(e.filter((u) => u.box.fullSize), !0), s = Ea(Ra(e, "left"), !0), i = Ea(Ra(e, "right")), r = Ea(Ra(e, "top"), !0), a = Ea(Ra(e, "bottom")), o = np(e, "x"), l = np(e, "y");
14887
+ function PP(t) {
14888
+ const e = MP(t), n = Ea(e.filter((u) => u.box.fullSize), !0), s = Ea(Ra(e, "left"), !0), i = Ea(Ra(e, "right")), r = Ea(Ra(e, "top"), !0), a = Ea(Ra(e, "bottom")), o = np(e, "x"), l = np(e, "y");
14889
14889
  return {
14890
14890
  fullSize: n,
14891
14891
  leftAndTop: s.concat(r),
@@ -14901,7 +14901,7 @@ function sp(t, e, n, s) {
14901
14901
  function t_(t, e) {
14902
14902
  t.top = Math.max(t.top, e.top), t.left = Math.max(t.left, e.left), t.bottom = Math.max(t.bottom, e.bottom), t.right = Math.max(t.right, e.right);
14903
14903
  }
14904
- function C2(t, e, n, s) {
14904
+ function CP(t, e, n, s) {
14905
14905
  const { pos: i, box: r } = n, a = t.maxPadding;
14906
14906
  if (!Be(i)) {
14907
14907
  n.size && (t[i] -= n.size);
@@ -14921,7 +14921,7 @@ function C2(t, e, n, s) {
14921
14921
  other: u
14922
14922
  };
14923
14923
  }
14924
- function A2(t) {
14924
+ function AP(t) {
14925
14925
  const e = t.maxPadding;
14926
14926
  function n(s) {
14927
14927
  const i = Math.max(e[s] - t[s], 0);
@@ -14929,7 +14929,7 @@ function A2(t) {
14929
14929
  }
14930
14930
  t.y += n("top"), t.x += n("left"), n("right"), n("bottom");
14931
14931
  }
14932
- function R2(t, e) {
14932
+ function RP(t, e) {
14933
14933
  const n = e.maxPadding;
14934
14934
  function s(i) {
14935
14935
  const r = {
@@ -14954,8 +14954,8 @@ function Ha(t, e, n, s) {
14954
14954
  const i = [];
14955
14955
  let r, a, o, l, u, c;
14956
14956
  for (r = 0, a = t.length, u = 0; r < a; ++r) {
14957
- o = t[r], l = o.box, l.update(o.width || e.w, o.height || e.h, R2(o.horizontal, e));
14958
- const { same: d, other: h } = C2(e, n, o, s);
14957
+ o = t[r], l = o.box, l.update(o.width || e.w, o.height || e.h, RP(o.horizontal, e));
14958
+ const { same: d, other: h } = CP(e, n, o, s);
14959
14959
  u |= d && i.length, c = c || h, l.fullSize || i.push(o);
14960
14960
  }
14961
14961
  return u && Ha(i, e, n, s) || c;
@@ -15005,7 +15005,7 @@ var ol = {
15005
15005
  update(t, e, n, s) {
15006
15006
  if (!t)
15007
15007
  return;
15008
- const i = Xn(t.options.layout.padding), r = Math.max(e - i.width, 0), a = Math.max(n - i.height, 0), o = P2(t.boxes), l = o.vertical, u = o.horizontal;
15008
+ const i = Xn(t.options.layout.padding), r = Math.max(e - i.width, 0), a = Math.max(n - i.height, 0), o = PP(t.boxes), l = o.vertical, u = o.horizontal;
15009
15009
  et(t.boxes, (m) => {
15010
15010
  typeof m.beforeLayout == "function" && m.beforeLayout();
15011
15011
  });
@@ -15025,8 +15025,8 @@ var ol = {
15025
15025
  h: a,
15026
15026
  x: i.left,
15027
15027
  y: i.top
15028
- }, i), p = O2(l.concat(u), d);
15029
- Ha(o.fullSize, f, d, p), Ha(l, f, d, p), Ha(u, f, d, p) && Ha(l, f, d, p), A2(f), ip(o.leftAndTop, f, d, p), f.x += f.w, f.y += f.h, ip(o.rightAndBottom, f, d, p), t.chartArea = {
15028
+ }, i), p = OP(l.concat(u), d);
15029
+ Ha(o.fullSize, f, d, p), Ha(l, f, d, p), Ha(u, f, d, p) && Ha(l, f, d, p), AP(f), ip(o.leftAndTop, f, d, p), f.x += f.w, f.y += f.h, ip(o.rightAndBottom, f, d, p), t.chartArea = {
15030
15030
  left: f.left,
15031
15031
  top: f.top,
15032
15032
  right: f.left + f.w,
@@ -15069,7 +15069,7 @@ class n_ {
15069
15069
  updateConfig(e) {
15070
15070
  }
15071
15071
  }
15072
- class E2 extends n_ {
15072
+ class EP extends n_ {
15073
15073
  acquireContext(e) {
15074
15074
  return e && e.getContext && e.getContext("2d") || null;
15075
15075
  }
@@ -15077,7 +15077,7 @@ class E2 extends n_ {
15077
15077
  e.options.animation = !1;
15078
15078
  }
15079
15079
  }
15080
- const Pl = "$chartjs", $2 = {
15080
+ const Pl = "$chartjs", $P = {
15081
15081
  touchstart: "mousedown",
15082
15082
  touchmove: "mousemove",
15083
15083
  touchend: "mouseup",
@@ -15088,7 +15088,7 @@ const Pl = "$chartjs", $2 = {
15088
15088
  pointerleave: "mouseout",
15089
15089
  pointerout: "mouseout"
15090
15090
  }, rp = (t) => t === null || t === "";
15091
- function I2(t, e) {
15091
+ function IP(t, e) {
15092
15092
  const n = t.style, s = t.getAttribute("height"), i = t.getAttribute("width");
15093
15093
  if (t[Pl] = {
15094
15094
  initial: {
@@ -15116,14 +15116,14 @@ function I2(t, e) {
15116
15116
  const s_ = qO ? {
15117
15117
  passive: !0
15118
15118
  } : !1;
15119
- function N2(t, e, n) {
15119
+ function NP(t, e, n) {
15120
15120
  t && t.addEventListener(e, n, s_);
15121
15121
  }
15122
- function L2(t, e, n) {
15122
+ function LP(t, e, n) {
15123
15123
  t && t.canvas && t.canvas.removeEventListener(e, n, s_);
15124
15124
  }
15125
- function F2(t, e) {
15126
- const n = $2[t.type] || t.type, { x: s, y: i } = nr(t, e);
15125
+ function FP(t, e) {
15126
+ const n = $P[t.type] || t.type, { x: s, y: i } = nr(t, e);
15127
15127
  return {
15128
15128
  type: n,
15129
15129
  chart: e,
@@ -15137,7 +15137,7 @@ function iu(t, e) {
15137
15137
  if (n === e || n.contains(e))
15138
15138
  return !0;
15139
15139
  }
15140
- function Y2(t, e, n) {
15140
+ function YP(t, e, n) {
15141
15141
  const s = t.canvas, i = new MutationObserver((r) => {
15142
15142
  let a = !1;
15143
15143
  for (const o of r)
@@ -15149,7 +15149,7 @@ function Y2(t, e, n) {
15149
15149
  subtree: !0
15150
15150
  }), i;
15151
15151
  }
15152
- function V2(t, e, n) {
15152
+ function VP(t, e, n) {
15153
15153
  const s = t.canvas, i = new MutationObserver((r) => {
15154
15154
  let a = !1;
15155
15155
  for (const o of r)
@@ -15169,13 +15169,13 @@ function i_() {
15169
15169
  n.currentDevicePixelRatio !== t && e();
15170
15170
  }));
15171
15171
  }
15172
- function B2(t, e) {
15172
+ function BP(t, e) {
15173
15173
  ko.size || window.addEventListener("resize", i_), ko.set(t, e);
15174
15174
  }
15175
- function W2(t) {
15175
+ function WP(t) {
15176
15176
  ko.delete(t), ko.size || window.removeEventListener("resize", i_);
15177
15177
  }
15178
- function z2(t, e, n) {
15178
+ function zP(t, e, n) {
15179
15179
  const s = t.canvas, i = s && ef(s);
15180
15180
  if (!i)
15181
15181
  return;
@@ -15186,21 +15186,21 @@ function z2(t, e, n) {
15186
15186
  const l = o[0], u = l.contentRect.width, c = l.contentRect.height;
15187
15187
  u === 0 && c === 0 || r(u, c);
15188
15188
  });
15189
- return a.observe(i), B2(t, r), a;
15189
+ return a.observe(i), BP(t, r), a;
15190
15190
  }
15191
15191
  function Yc(t, e, n) {
15192
- n && n.disconnect(), e === "resize" && W2(t);
15192
+ n && n.disconnect(), e === "resize" && WP(t);
15193
15193
  }
15194
- function H2(t, e, n) {
15194
+ function HP(t, e, n) {
15195
15195
  const s = t.canvas, i = B0((r) => {
15196
- t.ctx !== null && n(F2(r, t));
15196
+ t.ctx !== null && n(FP(r, t));
15197
15197
  }, t);
15198
- return N2(s, e, i), i;
15198
+ return NP(s, e, i), i;
15199
15199
  }
15200
- class U2 extends n_ {
15200
+ class UP extends n_ {
15201
15201
  acquireContext(e, n) {
15202
15202
  const s = e && e.getContext && e.getContext("2d");
15203
- return s && s.canvas === e ? (I2(e, n), s) : null;
15203
+ return s && s.canvas === e ? (IP(e, n), s) : null;
15204
15204
  }
15205
15205
  releaseContext(e) {
15206
15206
  const n = e.canvas;
@@ -15222,10 +15222,10 @@ class U2 extends n_ {
15222
15222
  addEventListener(e, n, s) {
15223
15223
  this.removeEventListener(e, n);
15224
15224
  const i = e.$proxies || (e.$proxies = {}), a = {
15225
- attach: Y2,
15226
- detach: V2,
15227
- resize: z2
15228
- }[n] || H2;
15225
+ attach: YP,
15226
+ detach: VP,
15227
+ resize: zP
15228
+ }[n] || HP;
15229
15229
  i[n] = a(e, n, s);
15230
15230
  }
15231
15231
  removeEventListener(e, n) {
@@ -15236,7 +15236,7 @@ class U2 extends n_ {
15236
15236
  attach: Yc,
15237
15237
  detach: Yc,
15238
15238
  resize: Yc
15239
- }[n] || L2)(e, n, i), s[n] = void 0;
15239
+ }[n] || LP)(e, n, i), s[n] = void 0;
15240
15240
  }
15241
15241
  getDevicePixelRatio() {
15242
15242
  return window.devicePixelRatio;
@@ -15249,8 +15249,8 @@ class U2 extends n_ {
15249
15249
  return !!(n && n.isConnected);
15250
15250
  }
15251
15251
  }
15252
- function j2(t) {
15253
- return !Jh() || typeof OffscreenCanvas < "u" && t instanceof OffscreenCanvas ? E2 : U2;
15252
+ function jP(t) {
15253
+ return !Jh() || typeof OffscreenCanvas < "u" && t instanceof OffscreenCanvas ? EP : UP;
15254
15254
  }
15255
15255
  class wr {
15256
15256
  constructor() {
@@ -15284,11 +15284,11 @@ class wr {
15284
15284
  }
15285
15285
  }
15286
15286
  Z(wr, "defaults", {}), Z(wr, "defaultRoutes");
15287
- function q2(t, e) {
15288
- const n = t.options.ticks, s = G2(t), i = Math.min(n.maxTicksLimit || s, s), r = n.major.enabled ? X2(e) : [], a = r.length, o = r[0], l = r[a - 1], u = [];
15287
+ function qP(t, e) {
15288
+ const n = t.options.ticks, s = GP(t), i = Math.min(n.maxTicksLimit || s, s), r = n.major.enabled ? XP(e) : [], a = r.length, o = r[0], l = r[a - 1], u = [];
15289
15289
  if (a > i)
15290
- return K2(e, u, r, a / i), u;
15291
- const c = Z2(r, e, i);
15290
+ return KP(e, u, r, a / i), u;
15291
+ const c = ZP(r, e, i);
15292
15292
  if (a > 0) {
15293
15293
  let d, h;
15294
15294
  const f = a > 1 ? Math.round((l - o) / (a - 1)) : null;
@@ -15298,12 +15298,12 @@ function q2(t, e) {
15298
15298
  }
15299
15299
  return ll(e, u, c), u;
15300
15300
  }
15301
- function G2(t) {
15301
+ function GP(t) {
15302
15302
  const e = t.options.offset, n = t._tickSize(), s = t._length / n + (e ? 0 : 1), i = t._maxLength / n;
15303
15303
  return Math.floor(Math.min(s, i));
15304
15304
  }
15305
- function Z2(t, e, n) {
15306
- const s = Q2(t), i = e.length / n;
15305
+ function ZP(t, e, n) {
15306
+ const s = QP(t), i = e.length / n;
15307
15307
  if (!s)
15308
15308
  return Math.max(i, 1);
15309
15309
  const r = HD(s);
@@ -15314,14 +15314,14 @@ function Z2(t, e, n) {
15314
15314
  }
15315
15315
  return Math.max(i, 1);
15316
15316
  }
15317
- function X2(t) {
15317
+ function XP(t) {
15318
15318
  const e = [];
15319
15319
  let n, s;
15320
15320
  for (n = 0, s = t.length; n < s; n++)
15321
15321
  t[n].major && e.push(n);
15322
15322
  return e;
15323
15323
  }
15324
- function K2(t, e, n, s) {
15324
+ function KP(t, e, n, s) {
15325
15325
  let i = 0, r = n[0], a;
15326
15326
  for (s = Math.ceil(s), a = 0; a < t.length; a++)
15327
15327
  a === r && (e.push(t[a]), i++, r = n[i * s]);
@@ -15334,7 +15334,7 @@ function ll(t, e, n, s, i) {
15334
15334
  for (u = Math.max(r, 0); u < a; u++)
15335
15335
  u === c && (e.push(t[u]), o++, c = Math.round(r + o * n));
15336
15336
  }
15337
- function Q2(t) {
15337
+ function QP(t) {
15338
15338
  const e = t.length;
15339
15339
  let n, s;
15340
15340
  if (e < 2)
@@ -15344,7 +15344,7 @@ function Q2(t) {
15344
15344
  return !1;
15345
15345
  return s;
15346
15346
  }
15347
- const J2 = (t) => t === "left" ? "right" : t === "right" ? "left" : t, op = (t, e, n) => e === "top" || e === "left" ? t[e] + n : t[e] - n, lp = (t, e) => Math.min(e || t, t);
15347
+ const JP = (t) => t === "left" ? "right" : t === "right" ? "left" : t, op = (t, e, n) => e === "top" || e === "left" ? t[e] + n : t[e] - n, lp = (t, e) => Math.min(e || t, t);
15348
15348
  function up(t, e) {
15349
15349
  const n = [], s = t.length / e, i = t.length;
15350
15350
  let r = 0;
@@ -15352,13 +15352,13 @@ function up(t, e) {
15352
15352
  n.push(t[Math.floor(r)]);
15353
15353
  return n;
15354
15354
  }
15355
- function eP(t, e, n) {
15355
+ function e2(t, e, n) {
15356
15356
  const s = t.ticks.length, i = Math.min(e, s - 1), r = t._startPixel, a = t._endPixel, o = 1e-6;
15357
15357
  let l = t.getPixelForTick(i), u;
15358
15358
  if (!(n && (s === 1 ? u = Math.max(l - r, a - l) : e === 0 ? u = (t.getPixelForTick(1) - l) / 2 : u = (l - t.getPixelForTick(i - 1)) / 2, l += i < e ? u : -u, l < r - o || l > a + o)))
15359
15359
  return l;
15360
15360
  }
15361
- function tP(t, e) {
15361
+ function t2(t, e) {
15362
15362
  et(t, (n) => {
15363
15363
  const s = n.gc, i = s.length / 2;
15364
15364
  let r;
@@ -15378,24 +15378,24 @@ function cp(t, e) {
15378
15378
  const n = On(t.font, e), s = Xn(t.padding);
15379
15379
  return (gt(t.text) ? t.text.length : 1) * n.lineHeight + s.height;
15380
15380
  }
15381
- function nP(t, e) {
15381
+ function n2(t, e) {
15382
15382
  return Bi(t, {
15383
15383
  scale: e,
15384
15384
  type: "scale"
15385
15385
  });
15386
15386
  }
15387
- function sP(t, e, n) {
15387
+ function s2(t, e, n) {
15388
15388
  return Bi(t, {
15389
15389
  tick: n,
15390
15390
  index: e,
15391
15391
  type: "tick"
15392
15392
  });
15393
15393
  }
15394
- function iP(t, e, n) {
15394
+ function i2(t, e, n) {
15395
15395
  let s = eO(t);
15396
- return (n && e !== "right" || !n && e === "right") && (s = J2(s)), s;
15396
+ return (n && e !== "right" || !n && e === "right") && (s = JP(s)), s;
15397
15397
  }
15398
- function rP(t, e, n, s) {
15398
+ function r2(t, e, n, s) {
15399
15399
  const { top: i, left: r, bottom: a, right: o, chart: l } = t, { chartArea: u, scales: c } = l;
15400
15400
  let d = 0, h, f, p;
15401
15401
  const m = a - i, g = o - r;
@@ -15495,7 +15495,7 @@ class Mr extends wr {
15495
15495
  bottom: 0
15496
15496
  }, s), this.ticks = null, this._labelSizes = null, this._gridLineItems = null, this._labelItems = null, this.beforeSetDimensions(), this.setDimensions(), this.afterSetDimensions(), this._maxLength = this.isHorizontal() ? this.width + s.left + s.right : this.height + s.top + s.bottom, this._dataLimitsCached || (this.beforeDataLimits(), this.determineDataLimits(), this.afterDataLimits(), this._range = SO(this, r, i), this._dataLimitsCached = !0), this.beforeBuildTicks(), this.ticks = this.buildTicks() || [], this.afterBuildTicks();
15497
15497
  const l = o < this.ticks.length;
15498
- this._convertTicksToLabels(l ? up(this.ticks, o) : this.ticks), this.configure(), this.beforeCalculateLabelRotation(), this.calculateLabelRotation(), this.afterCalculateLabelRotation(), a.display && (a.autoSkip || a.source === "auto") && (this.ticks = q2(this, this.ticks), this._labelSizes = null, this.afterAutoSkip()), l && this._convertTicksToLabels(this.ticks), this.beforeFit(), this.fit(), this.afterFit(), this.afterUpdate();
15498
+ this._convertTicksToLabels(l ? up(this.ticks, o) : this.ticks), this.configure(), this.beforeCalculateLabelRotation(), this.calculateLabelRotation(), this.afterCalculateLabelRotation(), a.display && (a.autoSkip || a.source === "auto") && (this.ticks = qP(this, this.ticks), this._labelSizes = null, this.afterAutoSkip()), l && this._convertTicksToLabels(this.ticks), this.beforeFit(), this.fit(), this.afterFit(), this.afterUpdate();
15499
15499
  }
15500
15500
  configure() {
15501
15501
  let e = this.options.reverse, n, s;
@@ -15665,7 +15665,7 @@ class Mr extends wr {
15665
15665
  x = p[h], !lt(x) && !gt(x) && (v = tu(i, y.data, y.gc, v, x), T += w);
15666
15666
  a.push(v), o.push(T), u = Math.max(v, u), c = Math.max(T, c);
15667
15667
  }
15668
- tP(r, n);
15668
+ t2(r, n);
15669
15669
  const P = a.indexOf(u), S = o.indexOf(c), A = (R) => ({
15670
15670
  width: a[R] || 0,
15671
15671
  height: o[R] || 0
@@ -15711,9 +15711,9 @@ class Mr extends wr {
15711
15711
  const n = this.ticks || [];
15712
15712
  if (e >= 0 && e < n.length) {
15713
15713
  const s = n[e];
15714
- return s.$context || (s.$context = sP(this.getContext(), e, s));
15714
+ return s.$context || (s.$context = s2(this.getContext(), e, s));
15715
15715
  }
15716
- return this.$context || (this.$context = nP(this.chart.getContext(), this));
15716
+ return this.$context || (this.$context = n2(this.chart.getContext(), this));
15717
15717
  }
15718
15718
  _tickSize() {
15719
15719
  const e = this.options.ticks, n = Mi(this.labelRotation), s = Math.abs(Math.cos(n)), i = Math.abs(Math.sin(n)), r = this._getLabelSizes(), a = e.autoSkipPadding || 0, o = r ? r.widest.width + a : 0, l = r ? r.highest.height + a : 0;
@@ -15756,7 +15756,7 @@ class Mr extends wr {
15756
15756
  const ee = tt(i.ticks.maxTicksLimit, d), C = Math.max(1, Math.ceil(d / ee));
15757
15757
  for (v = 0; v < d; v += C) {
15758
15758
  const k = this.getContext(v), L = r.setContext(k), Q = o.setContext(k), oe = L.lineWidth, J = L.color, I = Q.dash || [], F = Q.dashOffset, b = L.tickWidth, _ = L.tickColor, Y = L.tickBorderDash || [], j = L.tickBorderDashOffset;
15759
- T = eP(this, v, l), T !== void 0 && (x = qi(s, T, oe), u ? P = A = z = $ = x : S = R = X = W = x, f.push({
15759
+ T = e2(this, v, l), T !== void 0 && (x = qi(s, T, oe), u ? P = A = z = $ = x : S = R = X = W = x, f.push({
15760
15760
  tx1: P,
15761
15761
  ty1: S,
15762
15762
  tx2: A,
@@ -15969,12 +15969,12 @@ class Mr extends wr {
15969
15969
  const r = On(s.font), a = Xn(s.padding), o = s.align;
15970
15970
  let l = r.lineHeight / 2;
15971
15971
  n === "bottom" || n === "center" || Be(n) ? (l += a.bottom, gt(s.text) && (l += r.lineHeight * (s.text.length - 1))) : l += a.top;
15972
- const { titleX: u, titleY: c, maxWidth: d, rotation: h } = rP(this, l, n, o);
15972
+ const { titleX: u, titleY: c, maxWidth: d, rotation: h } = r2(this, l, n, o);
15973
15973
  nu(e, s.text, 0, 0, r, {
15974
15974
  color: s.color,
15975
15975
  maxWidth: d,
15976
15976
  rotation: h,
15977
- textAlign: iP(o, n, i),
15977
+ textAlign: i2(o, n, i),
15978
15978
  textBaseline: "middle",
15979
15979
  translation: [
15980
15980
  u,
@@ -16043,11 +16043,11 @@ class ul {
16043
16043
  register(e) {
16044
16044
  const n = Object.getPrototypeOf(e);
16045
16045
  let s;
16046
- lP(n) && (s = this.register(n));
16046
+ l2(n) && (s = this.register(n));
16047
16047
  const i = this.items, r = e.id, a = this.scope + "." + r;
16048
16048
  if (!r)
16049
16049
  throw new Error("class does not have id: " + e);
16050
- return r in i || (i[r] = e, aP(e, a, s), this.override && Et.override(e.id, e.overrides)), a;
16050
+ return r in i || (i[r] = e, a2(e, a, s), this.override && Et.override(e.id, e.overrides)), a;
16051
16051
  }
16052
16052
  get(e) {
16053
16053
  return this.items[e];
@@ -16057,15 +16057,15 @@ class ul {
16057
16057
  s in n && delete n[s], i && s in Et[i] && (delete Et[i][s], this.override && delete br[s]);
16058
16058
  }
16059
16059
  }
16060
- function aP(t, e, n) {
16060
+ function a2(t, e, n) {
16061
16061
  const s = bo(/* @__PURE__ */ Object.create(null), [
16062
16062
  n ? Et.get(n) : {},
16063
16063
  Et.get(e),
16064
16064
  t.defaults
16065
16065
  ]);
16066
- Et.set(e, s), t.defaultRoutes && oP(e, t.defaultRoutes), t.descriptors && Et.describe(e, t.descriptors);
16066
+ Et.set(e, s), t.defaultRoutes && o2(e, t.defaultRoutes), t.descriptors && Et.describe(e, t.descriptors);
16067
16067
  }
16068
- function oP(t, e) {
16068
+ function o2(t, e) {
16069
16069
  Object.keys(e).forEach((n) => {
16070
16070
  const s = n.split("."), i = s.pop(), r = [
16071
16071
  t
@@ -16073,10 +16073,10 @@ function oP(t, e) {
16073
16073
  Et.route(r, i, l, o);
16074
16074
  });
16075
16075
  }
16076
- function lP(t) {
16076
+ function l2(t) {
16077
16077
  return "id" in t && "defaults" in t;
16078
16078
  }
16079
- class uP {
16079
+ class u2 {
16080
16080
  constructor() {
16081
16081
  this.controllers = new ul(so, "datasets", !0), this.elements = new ul(wr, "elements"), this.plugins = new ul(Object, "plugins"), this.scales = new ul(Mr, "scales"), this._typedRegistries = [
16082
16082
  this.controllers,
@@ -16156,8 +16156,8 @@ class uP {
16156
16156
  return i;
16157
16157
  }
16158
16158
  }
16159
- var _s = /* @__PURE__ */ new uP();
16160
- class cP {
16159
+ var _s = /* @__PURE__ */ new u2();
16160
+ class c2 {
16161
16161
  constructor() {
16162
16162
  this._init = [];
16163
16163
  }
@@ -16189,15 +16189,15 @@ class cP {
16189
16189
  return this._notifyStateChanges(e), n;
16190
16190
  }
16191
16191
  _createDescriptors(e, n) {
16192
- const s = e && e.config, i = tt(s.options && s.options.plugins, {}), r = dP(s);
16193
- return i === !1 && !n ? [] : fP(e, r, i, n);
16192
+ const s = e && e.config, i = tt(s.options && s.options.plugins, {}), r = d2(s);
16193
+ return i === !1 && !n ? [] : f2(e, r, i, n);
16194
16194
  }
16195
16195
  _notifyStateChanges(e) {
16196
16196
  const n = this._oldCache || [], s = this._cache, i = (r, a) => r.filter((o) => !a.some((l) => o.plugin.id === l.plugin.id));
16197
16197
  this._notify(i(n, s), e, "stop"), this._notify(i(s, n), e, "start");
16198
16198
  }
16199
16199
  }
16200
- function dP(t) {
16200
+ function d2(t) {
16201
16201
  const e = {}, n = [], s = Object.keys(_s.plugins.items);
16202
16202
  for (let r = 0; r < s.length; r++)
16203
16203
  n.push(_s.getPlugin(s[r]));
@@ -16211,16 +16211,16 @@ function dP(t) {
16211
16211
  localIds: e
16212
16212
  };
16213
16213
  }
16214
- function hP(t, e) {
16214
+ function h2(t, e) {
16215
16215
  return !e && t === !1 ? null : t === !0 ? {} : t;
16216
16216
  }
16217
- function fP(t, { plugins: e, localIds: n }, s, i) {
16217
+ function f2(t, { plugins: e, localIds: n }, s, i) {
16218
16218
  const r = [], a = t.getContext();
16219
16219
  for (const o of e) {
16220
- const l = o.id, u = hP(s[l], i);
16220
+ const l = o.id, u = h2(s[l], i);
16221
16221
  u !== null && r.push({
16222
16222
  plugin: o,
16223
- options: mP(t.config, {
16223
+ options: m2(t.config, {
16224
16224
  plugin: o,
16225
16225
  local: n[l]
16226
16226
  }, u, a)
@@ -16228,7 +16228,7 @@ function fP(t, { plugins: e, localIds: n }, s, i) {
16228
16228
  }
16229
16229
  return r;
16230
16230
  }
16231
- function mP(t, { plugin: e, local: n }, s, i) {
16231
+ function m2(t, { plugin: e, local: n }, s, i) {
16232
16232
  const r = t.pluginScopeKeys(e), a = t.getOptionScopes(s, r);
16233
16233
  return n && e.defaults && a.push(e.defaults), t.createResolver(a, i, [
16234
16234
  ""
@@ -16242,18 +16242,18 @@ function Ad(t, e) {
16242
16242
  const n = Et.datasets[t] || {};
16243
16243
  return ((e.datasets || {})[t] || {}).indexAxis || e.indexAxis || n.indexAxis || "x";
16244
16244
  }
16245
- function pP(t, e) {
16245
+ function p2(t, e) {
16246
16246
  let n = t;
16247
16247
  return t === "_index_" ? n = e : t === "_value_" && (n = e === "x" ? "y" : "x"), n;
16248
16248
  }
16249
- function gP(t, e) {
16249
+ function g2(t, e) {
16250
16250
  return t === e ? "_index_" : "_value_";
16251
16251
  }
16252
16252
  function dp(t) {
16253
16253
  if (t === "x" || t === "y" || t === "r")
16254
16254
  return t;
16255
16255
  }
16256
- function yP(t) {
16256
+ function y2(t) {
16257
16257
  if (t === "top" || t === "bottom")
16258
16258
  return "x";
16259
16259
  if (t === "left" || t === "right")
@@ -16263,7 +16263,7 @@ function Rd(t, ...e) {
16263
16263
  if (dp(t))
16264
16264
  return t;
16265
16265
  for (const n of e) {
16266
- const s = n.axis || yP(n.position) || t.length > 1 && dp(t[0].toLowerCase());
16266
+ const s = n.axis || y2(n.position) || t.length > 1 && dp(t[0].toLowerCase());
16267
16267
  if (s)
16268
16268
  return s;
16269
16269
  }
@@ -16275,7 +16275,7 @@ function hp(t, e, n) {
16275
16275
  axis: e
16276
16276
  };
16277
16277
  }
16278
- function _P(t, e) {
16278
+ function _2(t, e) {
16279
16279
  if (e.data && e.data.datasets) {
16280
16280
  const n = e.data.datasets.filter((s) => s.xAxisID === t || s.yAxisID === t);
16281
16281
  if (n.length)
@@ -16283,7 +16283,7 @@ function _P(t, e) {
16283
16283
  }
16284
16284
  return {};
16285
16285
  }
16286
- function vP(t, e) {
16286
+ function v2(t, e) {
16287
16287
  const n = br[t.type] || {
16288
16288
  scales: {}
16289
16289
  }, s = e.scales || {}, i = Ad(t.type, e), r = /* @__PURE__ */ Object.create(null);
@@ -16293,7 +16293,7 @@ function vP(t, e) {
16293
16293
  return console.error(`Invalid scale configuration for scale: ${a}`);
16294
16294
  if (o._proxy)
16295
16295
  return console.warn(`Ignoring resolver passed as options for scale: ${a}`);
16296
- const l = Rd(a, o, _P(a, t), Et.scales[o.type]), u = gP(l, i), c = n.scales || {};
16296
+ const l = Rd(a, o, _2(a, t), Et.scales[o.type]), u = g2(l, i), c = n.scales || {};
16297
16297
  r[a] = Qa(/* @__PURE__ */ Object.create(null), [
16298
16298
  {
16299
16299
  axis: l
@@ -16305,7 +16305,7 @@ function vP(t, e) {
16305
16305
  }), t.data.datasets.forEach((a) => {
16306
16306
  const o = a.type || t.type, l = a.indexAxis || Ad(o, e), c = (br[o] || {}).scales || {};
16307
16307
  Object.keys(c).forEach((d) => {
16308
- const h = pP(d, l), f = a[h + "AxisID"] || h;
16308
+ const h = p2(d, l), f = a[h + "AxisID"] || h;
16309
16309
  r[f] = r[f] || /* @__PURE__ */ Object.create(null), Qa(r[f], [
16310
16310
  {
16311
16311
  axis: h
@@ -16324,12 +16324,12 @@ function vP(t, e) {
16324
16324
  }
16325
16325
  function r_(t) {
16326
16326
  const e = t.options || (t.options = {});
16327
- e.plugins = tt(e.plugins, {}), e.scales = vP(t, e);
16327
+ e.plugins = tt(e.plugins, {}), e.scales = v2(t, e);
16328
16328
  }
16329
16329
  function a_(t) {
16330
16330
  return t = t || {}, t.datasets = t.datasets || [], t.labels = t.labels || [], t;
16331
16331
  }
16332
- function bP(t) {
16332
+ function b2(t) {
16333
16333
  return t = t || {}, t.data = a_(t.data), r_(t), t;
16334
16334
  }
16335
16335
  const fp = /* @__PURE__ */ new Map(), o_ = /* @__PURE__ */ new Set();
@@ -16341,9 +16341,9 @@ const Ia = (t, e, n) => {
16341
16341
  const s = Ql(e, n);
16342
16342
  s !== void 0 && t.add(s);
16343
16343
  };
16344
- class wP {
16344
+ class w2 {
16345
16345
  constructor(e) {
16346
- this._config = bP(e), this._scopeCache = /* @__PURE__ */ new Map(), this._resolverCache = /* @__PURE__ */ new Map();
16346
+ this._config = b2(e), this._scopeCache = /* @__PURE__ */ new Map(), this._resolverCache = /* @__PURE__ */ new Map();
16347
16347
  }
16348
16348
  get platform() {
16349
16349
  return this._config.platform;
@@ -16451,7 +16451,7 @@ class wP {
16451
16451
  $shared: !0
16452
16452
  }, { resolver: a, subPrefixes: o } = mp(this._resolverCache, e, i);
16453
16453
  let l = a;
16454
- if (xP(a, n)) {
16454
+ if (x2(a, n)) {
16455
16455
  r.$shared = !1, s = Li(s) ? s() : s;
16456
16456
  const u = this.createResolver(e, s, o);
16457
16457
  l = ca(a, s, u);
@@ -16477,18 +16477,18 @@ function mp(t, e, n) {
16477
16477
  subPrefixes: n.filter((o) => !o.toLowerCase().includes("hover"))
16478
16478
  }, s.set(i, r)), r;
16479
16479
  }
16480
- const kP = (t) => Be(t) && Object.getOwnPropertyNames(t).some((e) => Li(t[e]));
16481
- function xP(t, e) {
16480
+ const k2 = (t) => Be(t) && Object.getOwnPropertyNames(t).some((e) => Li(t[e]));
16481
+ function x2(t, e) {
16482
16482
  const { isScriptable: n, isIndexable: s } = H0(t);
16483
16483
  for (const i of e) {
16484
16484
  const r = n(i), a = s(i), o = (a || r) && t[i];
16485
- if (r && (Li(o) || kP(o)) || a && gt(o))
16485
+ if (r && (Li(o) || k2(o)) || a && gt(o))
16486
16486
  return !0;
16487
16487
  }
16488
16488
  return !1;
16489
16489
  }
16490
- var SP = "4.4.2";
16491
- const TP = [
16490
+ var S2 = "4.4.2";
16491
+ const T2 = [
16492
16492
  "top",
16493
16493
  "bottom",
16494
16494
  "left",
@@ -16496,7 +16496,7 @@ const TP = [
16496
16496
  "chartArea"
16497
16497
  ];
16498
16498
  function pp(t, e) {
16499
- return t === "top" || t === "bottom" || TP.indexOf(t) === -1 && e === "x";
16499
+ return t === "top" || t === "bottom" || T2.indexOf(t) === -1 && e === "x";
16500
16500
  }
16501
16501
  function gp(t, e) {
16502
16502
  return function(n, s) {
@@ -16509,7 +16509,7 @@ function yp(t) {
16509
16509
  t
16510
16510
  ], e);
16511
16511
  }
16512
- function MP(t) {
16512
+ function M2(t) {
16513
16513
  const e = t.chart, n = e.options.animation;
16514
16514
  vt(n && n.onProgress, [
16515
16515
  t
@@ -16522,7 +16522,7 @@ const Cl = {}, _p = (t) => {
16522
16522
  const e = l_(t);
16523
16523
  return Object.values(Cl).filter((n) => n.canvas === e).pop();
16524
16524
  };
16525
- function DP(t, e, n) {
16525
+ function D2(t, e, n) {
16526
16526
  const s = Object.keys(t);
16527
16527
  for (const i of s) {
16528
16528
  const r = +i;
@@ -16532,13 +16532,13 @@ function DP(t, e, n) {
16532
16532
  }
16533
16533
  }
16534
16534
  }
16535
- function OP(t, e, n, s) {
16535
+ function O2(t, e, n, s) {
16536
16536
  return !n || t.type === "mouseout" ? null : s ? e : t;
16537
16537
  }
16538
16538
  function dl(t, e, n) {
16539
16539
  return t.options.clip ? t[n] : e[n];
16540
16540
  }
16541
- function PP(t, e) {
16541
+ function P2(t, e) {
16542
16542
  const { xScale: n, yScale: s } = t;
16543
16543
  return n && s ? {
16544
16544
  left: dl(n, e, "left"),
@@ -16556,17 +16556,17 @@ let Lo = (gi = class {
16556
16556
  _s.remove(...e), vp();
16557
16557
  }
16558
16558
  constructor(e, n) {
16559
- const s = this.config = new wP(n), i = l_(e), r = _p(i);
16559
+ const s = this.config = new w2(n), i = l_(e), r = _p(i);
16560
16560
  if (r)
16561
16561
  throw new Error("Canvas is already in use. Chart with ID '" + r.id + "' must be destroyed before the canvas with ID '" + r.canvas.id + "' can be reused.");
16562
16562
  const a = s.createResolver(s.chartOptionScopes(), this.getContext());
16563
- this.platform = new (s.platform || j2(i))(), this.platform.updateConfig(s);
16563
+ this.platform = new (s.platform || jP(i))(), this.platform.updateConfig(s);
16564
16564
  const o = this.platform.acquireContext(i, a.aspectRatio), l = o && o.canvas, u = l && l.height, c = l && l.width;
16565
- if (this.id = ID(), this.ctx = o, this.canvas = l, this.width = c, this.height = u, this._options = a, this._aspectRatio = this.aspectRatio, this._layers = [], this._metasets = [], this._stacks = void 0, this.boxes = [], this.currentDevicePixelRatio = void 0, this.chartArea = void 0, this._active = [], this._lastEvent = void 0, this._listeners = {}, this._responsiveListeners = void 0, this._sortedMetasets = [], this.scales = {}, this._plugins = new cP(), this.$proxies = {}, this._hiddenIndices = {}, this.attached = !1, this._animationsDisabled = void 0, this.$context = void 0, this._doResize = JD((d) => this.update(d), a.resizeDelay || 0), this._dataChanges = [], Cl[this.id] = this, !o || !l) {
16565
+ if (this.id = ID(), this.ctx = o, this.canvas = l, this.width = c, this.height = u, this._options = a, this._aspectRatio = this.aspectRatio, this._layers = [], this._metasets = [], this._stacks = void 0, this.boxes = [], this.currentDevicePixelRatio = void 0, this.chartArea = void 0, this._active = [], this._lastEvent = void 0, this._listeners = {}, this._responsiveListeners = void 0, this._sortedMetasets = [], this.scales = {}, this._plugins = new c2(), this.$proxies = {}, this._hiddenIndices = {}, this.attached = !1, this._animationsDisabled = void 0, this.$context = void 0, this._doResize = JD((d) => this.update(d), a.resizeDelay || 0), this._dataChanges = [], Cl[this.id] = this, !o || !l) {
16566
16566
  console.error("Failed to create chart: can't acquire context from the given item");
16567
16567
  return;
16568
16568
  }
16569
- Bs.listen(this, "complete", yp), Bs.listen(this, "progress", MP), this._initialize(), this.attached && this.update();
16569
+ Bs.listen(this, "complete", yp), Bs.listen(this, "progress", M2), this._initialize(), this.attached && this.update();
16570
16570
  }
16571
16571
  get aspectRatio() {
16572
16572
  const { options: { aspectRatio: e, maintainAspectRatio: n }, width: s, height: i, _aspectRatio: r } = this;
@@ -16728,7 +16728,7 @@ let Lo = (gi = class {
16728
16728
  const { _hiddenIndices: e } = this, n = this._getUniformDataChanges() || [];
16729
16729
  for (const { method: s, start: i, count: r } of n) {
16730
16730
  const a = s === "_removeElements" ? -r : r;
16731
- DP(e, i, a);
16731
+ D2(e, i, a);
16732
16732
  }
16733
16733
  }
16734
16734
  _getUniformDataChanges() {
@@ -16831,7 +16831,7 @@ let Lo = (gi = class {
16831
16831
  this.notifyPlugins("afterDatasetsDraw");
16832
16832
  }
16833
16833
  _drawDataset(e) {
16834
- const n = this.ctx, s = e._clip, i = !s.disabled, r = PP(e, this.chartArea), a = {
16834
+ const n = this.ctx, s = e._clip, i = !s.disabled, r = P2(e, this.chartArea), a = {
16835
16835
  meta: e,
16836
16836
  index: e.index,
16837
16837
  cancelable: !0
@@ -16847,7 +16847,7 @@ let Lo = (gi = class {
16847
16847
  return Zs(e, this.chartArea, this._minPadding);
16848
16848
  }
16849
16849
  getElementsAtEventForMode(e, n, s, i) {
16850
- const r = T2.modes[n];
16850
+ const r = TP.modes[n];
16851
16851
  return typeof r == "function" ? r(this, e, s, i) : [];
16852
16852
  }
16853
16853
  getDatasetMeta(e) {
@@ -17006,7 +17006,7 @@ let Lo = (gi = class {
17006
17006
  return s.cancelable = !1, this.notifyPlugins("afterEvent", s, i), (r || s.changed) && this.render(), this;
17007
17007
  }
17008
17008
  _handleEvent(e, n, s) {
17009
- const { _active: i = [], options: r } = this, a = n, o = this._getActiveElements(e, i, s, a), l = BD(e), u = OP(e, this._lastEvent, s, l);
17009
+ const { _active: i = [], options: r } = this, a = n, o = this._getActiveElements(e, i, s, a), l = BD(e), u = O2(e, this._lastEvent, s, l);
17010
17010
  s && (this._lastEvent = null, vt(r.onHover, [
17011
17011
  e,
17012
17012
  o,
@@ -17027,18 +17027,18 @@ let Lo = (gi = class {
17027
17027
  const r = this.options.hover;
17028
17028
  return this.getElementsAtEventForMode(e, r.mode, r, i);
17029
17029
  }
17030
- }, Z(gi, "defaults", Et), Z(gi, "instances", Cl), Z(gi, "overrides", br), Z(gi, "registry", _s), Z(gi, "version", SP), Z(gi, "getChart", _p), gi);
17030
+ }, Z(gi, "defaults", Et), Z(gi, "instances", Cl), Z(gi, "overrides", br), Z(gi, "registry", _s), Z(gi, "version", S2), Z(gi, "getChart", _p), gi);
17031
17031
  function vp() {
17032
17032
  return et(Lo.instances, (t) => t._plugins.invalidate());
17033
17033
  }
17034
17034
  function u_(t, e, n = e) {
17035
17035
  t.lineCap = tt(n.borderCapStyle, e.borderCapStyle), t.setLineDash(tt(n.borderDash, e.borderDash)), t.lineDashOffset = tt(n.borderDashOffset, e.borderDashOffset), t.lineJoin = tt(n.borderJoinStyle, e.borderJoinStyle), t.lineWidth = tt(n.borderWidth, e.borderWidth), t.strokeStyle = tt(n.borderColor, e.borderColor);
17036
17036
  }
17037
- function CP(t, e, n) {
17037
+ function C2(t, e, n) {
17038
17038
  t.lineTo(n.x, n.y);
17039
17039
  }
17040
- function AP(t) {
17041
- return t.stepped ? mO : t.tension || t.cubicInterpolationMode === "monotone" ? pO : CP;
17040
+ function A2(t) {
17041
+ return t.stepped ? mO : t.tension || t.cubicInterpolationMode === "monotone" ? pO : C2;
17042
17042
  }
17043
17043
  function c_(t, e, n = {}) {
17044
17044
  const s = t.length, { start: i = 0, end: r = s - 1 } = n, { start: a, end: o } = e, l = Math.max(i, a), u = Math.min(r, o), c = i < a && r < a || i > o && r > o;
@@ -17049,14 +17049,14 @@ function c_(t, e, n = {}) {
17049
17049
  ilen: u < l && !c ? s + u - l : u - l
17050
17050
  };
17051
17051
  }
17052
- function RP(t, e, n, s) {
17053
- const { points: i, options: r } = e, { count: a, start: o, loop: l, ilen: u } = c_(i, n, s), c = AP(r);
17052
+ function R2(t, e, n, s) {
17053
+ const { points: i, options: r } = e, { count: a, start: o, loop: l, ilen: u } = c_(i, n, s), c = A2(r);
17054
17054
  let { move: d = !0, reverse: h } = s || {}, f, p, m;
17055
17055
  for (f = 0; f <= u; ++f)
17056
17056
  p = i[(o + (h ? u - f : f)) % a], !p.skip && (d ? (t.moveTo(p.x, p.y), d = !1) : c(t, m, p, h, r.stepped), m = p);
17057
17057
  return l && (p = i[(o + (h ? u : 0)) % a], c(t, m, p, h, r.stepped)), !!l;
17058
17058
  }
17059
- function EP(t, e, n, s) {
17059
+ function E2(t, e, n, s) {
17060
17060
  const i = e.points, { count: r, start: a, ilen: o } = c_(i, n, s), { move: l = !0, reverse: u } = s || {};
17061
17061
  let c = 0, d = 0, h, f, p, m, g, y;
17062
17062
  const w = (T) => (a + (u ? o - T : T)) % r, v = () => {
@@ -17072,16 +17072,16 @@ function EP(t, e, n, s) {
17072
17072
  }
17073
17073
  function Ed(t) {
17074
17074
  const e = t.options, n = e.borderDash && e.borderDash.length;
17075
- return !t._decimated && !t._loop && !e.tension && e.cubicInterpolationMode !== "monotone" && !e.stepped && !n ? EP : RP;
17075
+ return !t._decimated && !t._loop && !e.tension && e.cubicInterpolationMode !== "monotone" && !e.stepped && !n ? E2 : R2;
17076
17076
  }
17077
- function $P(t) {
17077
+ function $2(t) {
17078
17078
  return t.stepped ? GO : t.tension || t.cubicInterpolationMode === "monotone" ? ZO : sr;
17079
17079
  }
17080
- function IP(t, e, n, s) {
17080
+ function I2(t, e, n, s) {
17081
17081
  let i = e._path;
17082
17082
  i || (i = e._path = new Path2D(), e.path(i, n, s) && i.closePath()), u_(t, e.options), t.stroke(i);
17083
17083
  }
17084
- function NP(t, e, n, s) {
17084
+ function N2(t, e, n, s) {
17085
17085
  const { segments: i, options: r } = e, a = Ed(e);
17086
17086
  for (const o of i)
17087
17087
  u_(t, r, o.style), t.beginPath(), a(t, e, o, {
@@ -17089,9 +17089,9 @@ function NP(t, e, n, s) {
17089
17089
  end: n + s - 1
17090
17090
  }) && t.closePath(), t.stroke();
17091
17091
  }
17092
- const LP = typeof Path2D == "function";
17093
- function FP(t, e, n, s) {
17094
- LP && !e.options.segment ? IP(t, e, n, s) : NP(t, e, n, s);
17092
+ const L2 = typeof Path2D == "function";
17093
+ function F2(t, e, n, s) {
17094
+ L2 && !e.options.segment ? I2(t, e, n, s) : N2(t, e, n, s);
17095
17095
  }
17096
17096
  class Xs extends wr {
17097
17097
  constructor(e) {
@@ -17111,7 +17111,7 @@ class Xs extends wr {
17111
17111
  return this._points;
17112
17112
  }
17113
17113
  get segments() {
17114
- return this._segments || (this._segments = s2(this, this.options.segment));
17114
+ return this._segments || (this._segments = sP(this, this.options.segment));
17115
17115
  }
17116
17116
  first() {
17117
17117
  const e = this.segments, n = this.points;
@@ -17129,7 +17129,7 @@ class Xs extends wr {
17129
17129
  });
17130
17130
  if (!a.length)
17131
17131
  return;
17132
- const o = [], l = $P(s);
17132
+ const o = [], l = $2(s);
17133
17133
  let u, c;
17134
17134
  for (u = 0, c = a.length; u < c; ++u) {
17135
17135
  const { start: d, end: h } = a[u], f = r[d], p = r[h];
@@ -17158,7 +17158,7 @@ class Xs extends wr {
17158
17158
  }
17159
17159
  draw(e, n, s, i) {
17160
17160
  const r = this.options || {};
17161
- (this.points || []).length && r.borderWidth && (e.save(), FP(e, this, s, i), e.restore()), this.animated && (this._pointsUpdated = !1, this._path = void 0);
17161
+ (this.points || []).length && r.borderWidth && (e.save(), F2(e, this, s, i), e.restore()), this.animated && (this._pointsUpdated = !1, this._path = void 0);
17162
17162
  }
17163
17163
  }
17164
17164
  Z(Xs, "id", "line"), Z(Xs, "defaults", {
@@ -17251,7 +17251,7 @@ Z(io, "defaultRoutes", {
17251
17251
  backgroundColor: "backgroundColor",
17252
17252
  borderColor: "borderColor"
17253
17253
  });
17254
- function YP(t, e, n) {
17254
+ function Y2(t, e, n) {
17255
17255
  const s = t.segments, i = t.points, r = e.points, a = [];
17256
17256
  for (const o of s) {
17257
17257
  let { start: l, end: u } = o;
@@ -17294,7 +17294,7 @@ function $d(t, e, n, s) {
17294
17294
  end: r
17295
17295
  };
17296
17296
  }
17297
- function VP(t, e) {
17297
+ function V2(t, e) {
17298
17298
  const { x: n = null, y: s = null } = t || {}, i = e.points, r = [];
17299
17299
  return e.segments.forEach(({ start: a, end: o }) => {
17300
17300
  o = nf(a, o, i);
@@ -17327,7 +17327,7 @@ function wp(t, e, n, s) {
17327
17327
  }
17328
17328
  function d_(t, e) {
17329
17329
  let n = [], s = !1;
17330
- return gt(t) ? (s = !0, n = t) : n = VP(t, e), n.length ? new Xs({
17330
+ return gt(t) ? (s = !0, n = t) : n = V2(t, e), n.length ? new Xs({
17331
17331
  points: n,
17332
17332
  options: {
17333
17333
  tension: 0
@@ -17339,7 +17339,7 @@ function d_(t, e) {
17339
17339
  function kp(t) {
17340
17340
  return t && t.fill !== !1;
17341
17341
  }
17342
- function BP(t, e, n) {
17342
+ function B2(t, e, n) {
17343
17343
  let i = t[e].fill;
17344
17344
  const r = [
17345
17345
  e
@@ -17358,12 +17358,12 @@ function BP(t, e, n) {
17358
17358
  }
17359
17359
  return !1;
17360
17360
  }
17361
- function WP(t, e, n) {
17362
- const s = jP(t);
17361
+ function W2(t, e, n) {
17362
+ const s = j2(t);
17363
17363
  if (Be(s))
17364
17364
  return isNaN(s.value) ? !1 : s;
17365
17365
  let i = parseFloat(s);
17366
- return kt(i) && Math.floor(i) === i ? zP(s[0], e, i, n) : [
17366
+ return kt(i) && Math.floor(i) === i ? z2(s[0], e, i, n) : [
17367
17367
  "origin",
17368
17368
  "start",
17369
17369
  "end",
@@ -17371,24 +17371,24 @@ function WP(t, e, n) {
17371
17371
  "shape"
17372
17372
  ].indexOf(s) >= 0 && s;
17373
17373
  }
17374
- function zP(t, e, n, s) {
17374
+ function z2(t, e, n, s) {
17375
17375
  return (t === "-" || t === "+") && (n = e + n), n === e || n < 0 || n >= s ? !1 : n;
17376
17376
  }
17377
- function HP(t, e) {
17377
+ function H2(t, e) {
17378
17378
  let n = null;
17379
17379
  return t === "start" ? n = e.bottom : t === "end" ? n = e.top : Be(t) ? n = e.getPixelForValue(t.value) : e.getBasePixel && (n = e.getBasePixel()), n;
17380
17380
  }
17381
- function UP(t, e, n) {
17381
+ function U2(t, e, n) {
17382
17382
  let s;
17383
17383
  return t === "start" ? s = n : t === "end" ? s = e.options.reverse ? e.min : e.max : Be(t) ? s = t.value : s = e.getBaseValue(), s;
17384
17384
  }
17385
- function jP(t) {
17385
+ function j2(t) {
17386
17386
  const e = t.options, n = e.fill;
17387
17387
  let s = tt(n && n.target, n);
17388
17388
  return s === void 0 && (s = !!e.backgroundColor), s === !1 || s === null ? !1 : s === !0 ? "origin" : s;
17389
17389
  }
17390
- function qP(t) {
17391
- const { scale: e, index: n, line: s } = t, i = [], r = s.segments, a = s.points, o = GP(e, n);
17390
+ function q2(t) {
17391
+ const { scale: e, index: n, line: s } = t, i = [], r = s.segments, a = s.points, o = G2(e, n);
17392
17392
  o.push(d_({
17393
17393
  x: null,
17394
17394
  y: e.bottom
@@ -17396,14 +17396,14 @@ function qP(t) {
17396
17396
  for (let l = 0; l < r.length; l++) {
17397
17397
  const u = r[l];
17398
17398
  for (let c = u.start; c <= u.end; c++)
17399
- ZP(i, a[c], o);
17399
+ Z2(i, a[c], o);
17400
17400
  }
17401
17401
  return new Xs({
17402
17402
  points: i,
17403
17403
  options: {}
17404
17404
  });
17405
17405
  }
17406
- function GP(t, e) {
17406
+ function G2(t, e) {
17407
17407
  const n = [], s = t.getMatchingVisibleMetas("line");
17408
17408
  for (let i = 0; i < s.length; i++) {
17409
17409
  const r = s[i];
@@ -17413,10 +17413,10 @@ function GP(t, e) {
17413
17413
  }
17414
17414
  return n;
17415
17415
  }
17416
- function ZP(t, e, n) {
17416
+ function Z2(t, e, n) {
17417
17417
  const s = [];
17418
17418
  for (let i = 0; i < n.length; i++) {
17419
- const r = n[i], { first: a, last: o, point: l } = XP(r, e, "x");
17419
+ const r = n[i], { first: a, last: o, point: l } = X2(r, e, "x");
17420
17420
  if (!(!l || a && o)) {
17421
17421
  if (a)
17422
17422
  s.unshift(l);
@@ -17426,7 +17426,7 @@ function ZP(t, e, n) {
17426
17426
  }
17427
17427
  t.push(...s);
17428
17428
  }
17429
- function XP(t, e, n) {
17429
+ function X2(t, e, n) {
17430
17430
  const s = t.interpolate(e, n);
17431
17431
  if (!s)
17432
17432
  return {};
@@ -17465,26 +17465,26 @@ class h_ {
17465
17465
  };
17466
17466
  }
17467
17467
  }
17468
- function KP(t) {
17468
+ function K2(t) {
17469
17469
  const { chart: e, fill: n, line: s } = t;
17470
17470
  if (kt(n))
17471
- return QP(e, n);
17471
+ return Q2(e, n);
17472
17472
  if (n === "stack")
17473
- return qP(t);
17473
+ return q2(t);
17474
17474
  if (n === "shape")
17475
17475
  return !0;
17476
- const i = JP(t);
17476
+ const i = J2(t);
17477
17477
  return i instanceof h_ ? i : d_(i, s);
17478
17478
  }
17479
- function QP(t, e) {
17479
+ function Q2(t, e) {
17480
17480
  const n = t.getDatasetMeta(e);
17481
17481
  return n && t.isDatasetVisible(e) ? n.dataset : null;
17482
17482
  }
17483
- function JP(t) {
17483
+ function J2(t) {
17484
17484
  return (t.scale || {}).getPointPositionForValue ? tC(t) : eC(t);
17485
17485
  }
17486
17486
  function eC(t) {
17487
- const { scale: e = {}, fill: n } = t, s = HP(n, e);
17487
+ const { scale: e = {}, fill: n } = t, s = H2(n, e);
17488
17488
  if (kt(s)) {
17489
17489
  const i = e.isHorizontal();
17490
17490
  return {
@@ -17495,7 +17495,7 @@ function eC(t) {
17495
17495
  return null;
17496
17496
  }
17497
17497
  function tC(t) {
17498
- const { scale: e, fill: n } = t, s = e.options, i = e.getLabels().length, r = s.reverse ? e.max : e.min, a = UP(n, e, r), o = [];
17498
+ const { scale: e, fill: n } = t, s = e.options, i = e.getLabels().length, r = s.reverse ? e.max : e.min, a = U2(n, e, r), o = [];
17499
17499
  if (s.grid.circular) {
17500
17500
  const l = e.getPointPositionForValue(0, r);
17501
17501
  return new h_({
@@ -17509,7 +17509,7 @@ function tC(t) {
17509
17509
  return o;
17510
17510
  }
17511
17511
  function Vc(t, e, n) {
17512
- const s = KP(e), { line: i, scale: r, axis: a } = e, o = i.options, l = o.fill, u = o.backgroundColor, { above: c = u, below: d = u } = l || {};
17512
+ const s = K2(e), { line: i, scale: r, axis: a } = e, o = i.options, l = o.fill, u = o.backgroundColor, { above: c = u, below: d = u } = l || {};
17513
17513
  s && i.points.length && (Gh(t, n), nC(t, {
17514
17514
  line: i,
17515
17515
  target: s,
@@ -17549,7 +17549,7 @@ function xp(t, e, n) {
17549
17549
  t.lineTo(e.first().x, n), t.closePath(), t.clip();
17550
17550
  }
17551
17551
  function Sp(t, e) {
17552
- const { line: n, target: s, property: i, color: r, scale: a } = e, o = YP(n, s, i);
17552
+ const { line: n, target: s, property: i, color: r, scale: a } = e, o = Y2(n, s, i);
17553
17553
  for (const { source: l, target: u, start: c, end: d } of o) {
17554
17554
  const { style: { backgroundColor: h = r } = {} } = l, f = s !== !0;
17555
17555
  t.save(), t.fillStyle = h, sC(t, a, f && $d(i, c, d)), t.beginPath();
@@ -17583,14 +17583,14 @@ var f_ = {
17583
17583
  r = t.getDatasetMeta(a), o = r.dataset, l = null, o && o.options && o instanceof Xs && (l = {
17584
17584
  visible: t.isDatasetVisible(a),
17585
17585
  index: a,
17586
- fill: WP(o, a, s),
17586
+ fill: W2(o, a, s),
17587
17587
  chart: t,
17588
17588
  axis: r.controller.options.indexAxis,
17589
17589
  scale: r.vScale,
17590
17590
  line: o
17591
17591
  }), r.$filler = l, i.push(l);
17592
17592
  for (a = 0; a < s; ++a)
17593
- l = i[a], !(!l || l.fill === !1) && (l.fill = BP(i, a, n.propagate));
17593
+ l = i[a], !(!l || l.fill === !1) && (l.fill = B2(i, a, n.propagate));
17594
17594
  },
17595
17595
  beforeDraw(t, e, n) {
17596
17596
  const s = n.drawTime === "beforeDraw", i = t.getSortedVisibleDatasetMetas(), r = t.chartArea;
@@ -18880,7 +18880,7 @@ class lu extends Mr {
18880
18880
  }, this._unit = "day", this._majorUnit = void 0, this._offsets = {}, this._normalized = !1, this._parseOpts = void 0;
18881
18881
  }
18882
18882
  init(e, n = {}) {
18883
- const s = e.time || (e.time = {}), i = this._adapter = new b2._date(e.adapters.date);
18883
+ const s = e.time || (e.time = {}), i = this._adapter = new bP._date(e.adapters.date);
18884
18884
  i.init(n), Qa(s.displayFormats, i.formats()), this._parseOpts = {
18885
18885
  parser: s.parser,
18886
18886
  round: s.round,