@dpuse/dpuse-tool-highcharts-visualiser 0.0.82 → 0.0.84

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 (36) hide show
  1. package/README.md +34 -30
  2. package/dist/{AnimationUtilities-CJw-tdb_.js → AnimationUtilities-eb22eIjK.js} +84 -84
  3. package/dist/AnimationUtilities-eb22eIjK.js.map +1 -0
  4. package/dist/{BorderRadius-CqHYi9va.js → BorderRadius-Cois3N8q.js} +2 -2
  5. package/dist/{BorderRadius-CqHYi9va.js.map → BorderRadius-Cois3N8q.js.map} +1 -1
  6. package/dist/{CenteredUtilities-BTUT7_Ld.js → CenteredUtilities-WO6ukK5m.js} +305 -309
  7. package/dist/CenteredUtilities-WO6ukK5m.js.map +1 -0
  8. package/dist/{SVGElement-uTuGcjav.js → SVGElement-z7ENyQ6Y.js} +73 -73
  9. package/dist/SVGElement-z7ENyQ6Y.js.map +1 -0
  10. package/dist/{SeriesRegistry-CXsAINSj.js → SeriesRegistry-CDI1sm9L.js} +127 -126
  11. package/dist/SeriesRegistry-CDI1sm9L.js.map +1 -0
  12. package/dist/{TextPath-Coabnrz0.js → TextPath-CiV8mQgF.js} +1 -1
  13. package/dist/{TextPath-Coabnrz0.js.map → TextPath-CiV8mQgF.js.map} +1 -1
  14. package/dist/{dependency-wheel.src-ByNiAiZS.js → dependency-wheel.src-m4DwYrP7.js} +5 -5
  15. package/dist/{dependency-wheel.src-ByNiAiZS.js.map → dependency-wheel.src-m4DwYrP7.js.map} +1 -1
  16. package/dist/dpuse-tool-highcharts-visualiser.es.js +1423 -1413
  17. package/dist/dpuse-tool-highcharts-visualiser.es.js.map +1 -1
  18. package/dist/{highchartsMoreCustom-Cm6MkFMu.js → highchartsMoreCustom-C7_1r-Ql.js} +328 -300
  19. package/dist/highchartsMoreCustom-C7_1r-Ql.js.map +1 -0
  20. package/dist/{pattern-fill.src-CGZp553r.js → pattern-fill.src-kXG__4iS.js} +43 -43
  21. package/dist/pattern-fill.src-kXG__4iS.js.map +1 -0
  22. package/dist/sankey.src-B-54oc-3.js +522 -0
  23. package/dist/sankey.src-B-54oc-3.js.map +1 -0
  24. package/dist/{streamgraph.src-DjMW1U2g.js → streamgraph.src-DLpEiTz6.js} +2 -2
  25. package/dist/streamgraph.src-DLpEiTz6.js.map +1 -0
  26. package/dist/types/eslint.config.d.ts +1 -1
  27. package/package.json +28 -17
  28. package/dist/AnimationUtilities-CJw-tdb_.js.map +0 -1
  29. package/dist/CenteredUtilities-BTUT7_Ld.js.map +0 -1
  30. package/dist/SVGElement-uTuGcjav.js.map +0 -1
  31. package/dist/SeriesRegistry-CXsAINSj.js.map +0 -1
  32. package/dist/highchartsMoreCustom-Cm6MkFMu.js.map +0 -1
  33. package/dist/pattern-fill.src-CGZp553r.js.map +0 -1
  34. package/dist/sankey.src-Buj1zAlU.js +0 -522
  35. package/dist/sankey.src-Buj1zAlU.js.map +0 -1
  36. package/dist/streamgraph.src-DjMW1U2g.js.map +0 -1
@@ -1,23 +1,23 @@
1
- import { $ as e, E as t, G as n, H as r, J as i, K as a, M as o, N as s, O as c, P as l, Q as u, R as d, S as f, T as p, U as m, _ as h, at as g, b as _, c as v, d as y, et as b, g as x, h as S, i as C, k as w, lt as T, p as E, s as D, t as O, tt as k, u as A, w as j, y as M, z as N } from "./AnimationUtilities-CJw-tdb_.js";
2
- import { n as P, r as F, t as I } from "./SeriesRegistry-CXsAINSj.js";
3
- import { t as L } from "./SVGElement-uTuGcjav.js";
1
+ import { $ as e, E as t, G as n, H as r, J as i, K as a, M as o, N as s, O as c, P as l, R as u, S as d, T as f, U as p, _ as m, at as h, b as g, c as _, d as v, et as y, g as b, h as x, i as S, k as C, lt as w, p as T, s as E, t as D, tt as O, u as k, w as A, y as j, z as M } from "./AnimationUtilities-eb22eIjK.js";
2
+ import { n as ee, r as N, t as P } from "./SeriesRegistry-CDI1sm9L.js";
3
+ import { t as te } from "./SVGElement-z7ENyQ6Y.js";
4
4
  //#region node_modules/highcharts/es-modules/Core/Foundation.js
5
- var R;
5
+ var F;
6
6
  (function(e) {
7
7
  function t(e, t) {
8
8
  e.eventOptions = e.eventOptions || {}, i(t.events, function(t, n) {
9
- e.eventOptions[n] !== t && (e.eventOptions[n] && (k(e, n, e.eventOptions[n]), delete e.eventOptions[n]), r(t) && (e.eventOptions[n] = t, S(e, n, t, { order: 0 })));
9
+ e.eventOptions[n] !== t && (e.eventOptions[n] && (O(e, n, e.eventOptions[n]), delete e.eventOptions[n]), r(t) && (e.eventOptions[n] = t, x(e, n, t, { order: 0 })));
10
10
  });
11
11
  }
12
12
  e.registerEventOptions = t;
13
- })(R ||= {});
14
- var z = R;
13
+ })(F ||= {});
14
+ var I = F;
15
15
  //#endregion
16
16
  //#region node_modules/highcharts/es-modules/Data/ColumnUtils.js
17
- function ee(e, t, n) {
17
+ function ne(e, t, n) {
18
18
  return Array.isArray(e) ? (e.length = t, e) : e[n ? "subarray" : "slice"](0, t);
19
19
  }
20
- function B(e, t, n, r, i = []) {
20
+ function re(e, t, n, r, i = []) {
21
21
  if (Array.isArray(e)) return Array.isArray(i) || (i = Array.from(i)), {
22
22
  removed: e.splice(t, n, ...i),
23
23
  array: e
@@ -28,7 +28,7 @@ function B(e, t, n, r, i = []) {
28
28
  array: s
29
29
  };
30
30
  }
31
- function V(e, t) {
31
+ function L(e, t) {
32
32
  switch (typeof e) {
33
33
  case "boolean": return +!!e;
34
34
  case "number": return isNaN(e) && !t ? null : e;
@@ -37,34 +37,39 @@ function V(e, t) {
37
37
  }
38
38
  //#endregion
39
39
  //#region node_modules/highcharts/es-modules/Data/DataTableCore.js
40
- var { setLength: H, splice: U } = {
41
- convertToNumber: V,
42
- setLength: ee,
43
- splice: B
44
- }, W = class {
40
+ var { setLength: R, splice: z } = {
41
+ convertToNumber: L,
42
+ setLength: ne,
43
+ splice: re
44
+ }, B = class {
45
45
  constructor(e = {}) {
46
- this.isDataTable = !0, this.autoId = !e.id, this.columns = {}, this.id = e.id || E(), this.rowCount = 0, this.versionTag = E();
47
- let t = 0;
48
- i(e.columns || {}, (e, n) => {
49
- this.columns[n] = e.slice(), t = Math.max(t, e.length);
50
- }), this.applyRowCount(t);
46
+ this.isDataTable = !0;
47
+ let t = this.isPollutingKey(e.id) ? void 0 : e.id;
48
+ this.autoId = !t, this.columns = {}, this.id = t || T(), this.rowCount = 0, this.versionTag = T();
49
+ let n = 0;
50
+ i(e.columns || {}, (e, t) => {
51
+ t !== "__proto__" && t !== "constructor" && (this.columns[t] = e.slice(), n = Math.max(n, e.length));
52
+ }), this.applyRowCount(n);
53
+ }
54
+ isPollutingKey(e) {
55
+ return e === "__proto__" || e === "constructor";
51
56
  }
52
57
  applyRowCount(e) {
53
58
  this.rowCount = e, i(this.columns, (t, n) => {
54
- t.length !== e && (this.columns[n] = H(t, e));
59
+ t.length !== e && (this.columns[n] = R(t, e));
55
60
  });
56
61
  }
57
62
  deleteRows(e, t = 1) {
58
63
  if (t > 0 && e < this.rowCount) {
59
64
  let n = 0;
60
65
  i(this.columns, (r, i) => {
61
- this.columns[i] = U(r, e, t).array, n = r.length;
66
+ this.columns[i] = z(r, e, t).array, n = r.length;
62
67
  }), this.rowCount = n;
63
68
  }
64
69
  o(this, "afterDeleteRows", {
65
70
  rowIndex: e,
66
71
  rowCount: t
67
- }), this.versionTag = E();
72
+ }), this.versionTag = T();
68
73
  }
69
74
  getColumn(e, t) {
70
75
  return this.columns[e];
@@ -84,63 +89,65 @@ var { setLength: H, splice: U } = {
84
89
  setColumns(e, t, n) {
85
90
  let r = this.rowCount;
86
91
  i(e, (e, t) => {
87
- this.columns[t] = e.slice(), r = e.length;
88
- }), this.applyRowCount(r), n?.silent || (o(this, "afterSetColumns"), this.versionTag = E());
92
+ t !== "__proto__" && t !== "constructor" && (this.columns[t] = e.slice(), r = e.length);
93
+ }), this.applyRowCount(r), n?.silent || (o(this, "afterSetColumns"), this.versionTag = T());
89
94
  }
90
95
  setRow(e, t = this.rowCount, n, r) {
91
- var a;
92
- let { columns: s } = this, c = n ? this.rowCount + 1 : t + 1, l = Object.keys(e);
93
- if (r?.addColumns !== !1) for (let e = 0, t = l.length; e < t; e++) s[a = l[e]] || (s[a] = Array(this.rowCount));
94
- i(s, (r, i) => {
95
- r && (n ? r = U(r, t, 0, !0, [e[i]]).array : r[t] = i in e ? e[i] : r[t], s[i] = r);
96
- }), this.applyRowCount(Math.max(c, this.rowCount)), r?.silent || (o(this, "afterSetRows", { rowIndex: t }), this.versionTag = E());
96
+ let { columns: a } = this, s = n ? this.rowCount + 1 : t + 1, c = Object.keys(e);
97
+ if (r?.addColumns !== !1) for (let e = 0, t = c.length; e < t; e++) {
98
+ let t = c[e];
99
+ !this.isPollutingKey(t) && !Object.hasOwnProperty.call(a, t) && (a[t] = Array(this.rowCount));
100
+ }
101
+ i(a, (r, i) => {
102
+ r && (n ? r = z(r, t, 0, !0, [e[i]]).array : r[t] = i in e ? e[i] : r[t], a[i] = r);
103
+ }), this.applyRowCount(Math.max(s, this.rowCount)), r?.silent || (o(this, "afterSetRows", { rowIndex: t }), this.versionTag = T());
97
104
  }
98
105
  getModified() {
99
106
  return this.modified || this;
100
107
  }
101
- }, G;
108
+ }, V;
102
109
  (function(e) {
103
110
  function t(e, t) {
104
111
  n.call(this, e, t, !0);
105
112
  }
106
113
  e.areaMarker = t;
107
114
  function n(e, t, n) {
108
- let r = this.legendItem = this.legendItem || {}, { chart: i, options: o } = this, { baseline: s = 0, symbolWidth: c, symbolHeight: l } = e, d = this.symbol || "circle", f = l / 2, p = i.renderer, m = r.group, h = s - Math.round((e.fontMetrics?.b || l) * (n ? .4 : .3)), g = {}, _, v = o.marker, y = 0;
109
- if (i.styledMode || (g["stroke-width"] = Math.min(o.lineWidth || 0, 24), o.dashStyle ? g.dashstyle = o.dashStyle : o.linecap !== "square" && (g["stroke-linecap"] = "round")), r.line = p.path().addClass("highcharts-graph").attr(g).add(m), n && (r.area = p.path().addClass("highcharts-area").add(m)), g["stroke-linecap"] && (y = Math.min(r.line.strokeWidth(), c) / 2), c) {
115
+ let r = this.legendItem = this.legendItem || {}, { chart: i, options: o } = this, { baseline: s = 0, symbolWidth: c, symbolHeight: l } = e, u = this.symbol || "circle", d = l / 2, f = i.renderer, p = r.group, m = s - Math.round((e.fontMetrics?.b || l) * (n ? .4 : .3)), h = {}, g, _ = o.marker, v = 0;
116
+ if (i.styledMode || (h["stroke-width"] = Math.min(o.lineWidth || 0, 24), o.dashStyle ? h.dashstyle = o.dashStyle : o.linecap !== "square" && (h["stroke-linecap"] = "round")), r.line = f.path().addClass("highcharts-graph").attr(h).add(p), n && (r.area = f.path().addClass("highcharts-area").add(p)), h["stroke-linecap"] && (v = Math.min(r.line.strokeWidth(), c) / 2), c) {
110
117
  let e = [[
111
118
  "M",
112
- y,
113
- h
119
+ v,
120
+ m
114
121
  ], [
115
122
  "L",
116
- c - y,
117
- h
123
+ c - v,
124
+ m
118
125
  ]];
119
126
  r.line.attr({ d: e }), r.area?.attr({ d: [
120
127
  ...e,
121
128
  [
122
129
  "L",
123
- c - y,
130
+ c - v,
124
131
  s
125
132
  ],
126
133
  [
127
134
  "L",
128
- y,
135
+ v,
129
136
  s
130
137
  ]
131
138
  ] });
132
139
  }
133
- if (v && v.enabled !== !1 && c) {
134
- let e = Math.min(u(v.radius, f), f);
135
- d.indexOf("url") === 0 && (v = a(v, {
140
+ if (_ && _.enabled !== !1 && c) {
141
+ let e = Math.min(_.radius ?? d, d);
142
+ u.indexOf("url") === 0 && (_ = a(_, {
136
143
  width: l,
137
144
  height: l
138
- }), e = 0), r.symbol = _ = p.symbol(d, c / 2 - e, h - e, 2 * e, 2 * e, w({ context: "legend" }, v)).addClass("highcharts-point").add(m), _.isMarker = !0;
145
+ }), e = 0), r.symbol = g = f.symbol(u, c / 2 - e, m - e, 2 * e, 2 * e, C({ context: "legend" }, _)).addClass("highcharts-point").add(p), g.isMarker = !0;
139
146
  }
140
147
  }
141
148
  e.lineMarker = n;
142
- })(G ||= {});
143
- var K = G, q = {
149
+ })(V ||= {});
150
+ var H = V, ie = {
144
151
  lineWidth: 2,
145
152
  allowPointSelect: !1,
146
153
  crisp: !0,
@@ -214,7 +221,7 @@ var K = G, q = {
214
221
  stickyTracking: !0,
215
222
  turboThreshold: 1e3,
216
223
  findNearestPointBy: "x"
217
- }, { defaultOptions: J } = v, { registerEventOptions: te } = z, { svg: ne, win: re } = T, { seriesTypes: Y } = I, { format: ie } = F, X = class r {
224
+ }, { defaultOptions: U } = _, { registerEventOptions: W } = I, { svg: G, win: K } = w, { seriesTypes: q } = P, { format: J } = N, Y = class r {
218
225
  constructor() {
219
226
  this.zoneAxis = "y";
220
227
  }
@@ -223,25 +230,25 @@ var K = G, q = {
223
230
  let n = this, r = e.series;
224
231
  this.eventsToUnbind = [], this.condemnedPoints ||= [], n.chart = e, n.options = n.setOptions(t);
225
232
  let i = n.options, a = i.visible !== !1;
226
- this.dataTable ??= N(i.dataTable) ? new W() : i.dataTable?.isDataTable ? i.dataTable : new W(i.dataTable), n.linkedSeries = [], n.bindAxes(), w(n, {
233
+ this.dataTable ??= M(i.dataTable) ? new B() : i.dataTable?.isDataTable ? i.dataTable : new B(i.dataTable), n.linkedSeries = [], n.bindAxes(), C(n, {
227
234
  name: i.name,
228
235
  state: "",
229
236
  visible: a,
230
237
  selected: i.selected === !0
231
- }), te(this, i), (i.events?.click || i.point?.events?.click || i.allowPointSelect) && (e.runTrackerClick = !0), n.getColor(), n.getSymbol(), n.isCartesian && (e.hasCartesianSeries = !0);
238
+ }), W(this, i), (i.events?.click || i.point?.events?.click || i.allowPointSelect) && (e.runTrackerClick = !0), n.getColor(), n.getSymbol(), n.isCartesian && (e.hasCartesianSeries = !0);
232
239
  let s;
233
- r.length && (s = r[r.length - 1]), n._i = u(s?._i, -1) + 1, n.opacity = n.options.opacity, e.orderItems("series", y(this, r)), !n.points && !n.data && n.setData(i.data, !1), o(this, "afterInit");
240
+ r.length && (s = r[r.length - 1]), n._i = (s?._i ?? -1) + 1, n.opacity = n.options.opacity, e.orderItems("series", v(this, r)), !n.points && !n.data && n.setData(i.data, !1), o(this, "afterInit");
234
241
  }
235
242
  is(e) {
236
- return Y[e] && this instanceof Y[e];
243
+ return q[e] && this instanceof q[e];
237
244
  }
238
245
  bindAxes() {
239
246
  let e = this, t = e.options, n = e.chart, r;
240
247
  o(this, "bindAxes", null, function() {
241
248
  (e.axisTypes || []).forEach(function(i) {
242
249
  (n[i] || []).forEach(function(n) {
243
- r = n.options, (u(t[i], 0) === n.index || t[i] !== void 0 && t[i] === r.id) && (y(e, n.series), e[i] = n, n.isDirty = !0);
244
- }), !e[i] && e.optionalAxis !== i && A(18, !0, n);
250
+ r = n.options, ((t[i] ?? 0) === n.index || t[i] !== void 0 && t[i] === r.id) && (v(e, n.series), e[i] = n, n.isDirty = !0);
251
+ }), !e[i] && e.optionalAxis !== i && k(18, !0, n);
245
252
  });
246
253
  }), o(this, "afterBindAxes");
247
254
  }
@@ -249,16 +256,16 @@ var K = G, q = {
249
256
  return this.visible && this.dataMax !== void 0 && this.dataMin !== void 0 || this.visible && this.dataTable.rowCount > 0;
250
257
  }
251
258
  hasMarkerChanged(e, t) {
252
- let n = e.marker, r = t.marker || {};
253
- return n && (r.enabled && !n.enabled || r.symbol !== n.symbol || r.height !== n.height || r.width !== n.width);
259
+ let n = e.marker, r = t.marker;
260
+ return n && r && (r.enabled && !n.enabled || r.symbol !== n.symbol || r.height !== n.height || r.width !== n.width);
254
261
  }
255
262
  autoIncrement(e) {
256
263
  let t = this.options, { pointIntervalUnit: n, relativeXValue: r } = this.options, i = this.chart.time, a = this.xIncrement ?? i.parse(t.pointStart) ?? 0, o;
257
- if (this.pointInterval = o = u(this.pointInterval, t.pointInterval, 1), r && m(e) && (o *= e), n) {
264
+ if (this.pointInterval = o = this.pointInterval ?? t.pointInterval ?? 1, r && p(e) && (o *= e), n) {
258
265
  let e = i.toParts(a);
259
266
  n === "day" ? e[2] += o : n === "month" ? e[1] += o : n === "year" && (e[0] += o), o = i.makeTime.apply(i, e) - a;
260
267
  }
261
- return r && m(e) ? a + o : (this.xIncrement = a + o, a);
268
+ return r && p(e) ? a + o : (this.xIncrement = a + o, a);
262
269
  }
263
270
  setOptions(e) {
264
271
  let t = this.chart, n = t.options.plotOptions, r = t.userOptions || {}, i = a(e), s = t.styledMode, c = {
@@ -266,28 +273,28 @@ var K = G, q = {
266
273
  userOptions: i
267
274
  }, l;
268
275
  o(this, "setOptions", c);
269
- let d = c.plotOptions[this.type], f = r.plotOptions || {}, p = f.series || {}, m = J.plotOptions[this.type] || {}, h = f[this.type] || {};
270
- d.dataLabels = this.mergeArrays(m.dataLabels, d.dataLabels), this.userOptions = c.userOptions;
271
- let g = a(d, n.series, h, i), { negativeColor: _, negativeFillColor: v, zoneAxis: y = "y", zones: b } = g, x = (b || []).map((e) => ({ ...e }));
272
- return this.tooltipOptions = a(J.tooltip, J.plotOptions.series?.tooltip, m?.tooltip, t.userOptions.tooltip, f.series?.tooltip, h.tooltip, i.tooltip), this.stickyTracking = u(i.stickyTracking, h.stickyTracking, p.stickyTracking, this.tooltipOptions.shared && !this.noSharedTooltip ? !0 : g.stickyTracking), d.marker === null && delete g.marker, this.zones ||= x, this.zoneAxis = y, (_ || v) && !b && (l = {
273
- value: g[y + "Threshold"] || g.threshold || 0,
276
+ let u = c.plotOptions[this.type], d = r.plotOptions || {}, f = d.series || {}, p = U.plotOptions[this.type] || {}, m = d[this.type] || {};
277
+ u.dataLabels = this.mergeArrays(p.dataLabels, u.dataLabels), this.userOptions = c.userOptions;
278
+ let h = a(u, n.series, m, i), { negativeColor: g, negativeFillColor: _, zoneAxis: v = "y", zones: y } = h, b = (y || []).map((e) => ({ ...e }));
279
+ return this.tooltipOptions = a(U.tooltip, U.plotOptions.series?.tooltip, p?.tooltip, t.userOptions.tooltip, d.series?.tooltip, m.tooltip, i.tooltip), this.stickyTracking = i.stickyTracking ?? m.stickyTracking ?? f.stickyTracking ?? (this.tooltipOptions.shared && !this.noSharedTooltip ? !0 : h.stickyTracking), u.marker === null && delete h.marker, this.zones ||= b, this.zoneAxis = v, (g || _) && !y && (l = {
280
+ value: h[v + "Threshold"] || h.threshold || 0,
274
281
  className: "highcharts-negative"
275
- }, s || (typeof _ != "boolean" && (l.color = _), l.fillColor = v), x.push(l)), x.length && j(x[x.length - 1].value) && x.push(s ? {} : {
282
+ }, s || (typeof g != "boolean" && (l.color = g), l.fillColor = _), b.push(l)), b.length && A(b[b.length - 1].value) && b.push(s ? {} : {
276
283
  color: this.color,
277
284
  fillColor: this.fillColor
278
- }), o(this, "afterSetOptions", { options: g }), g;
285
+ }), o(this, "afterSetOptions", { options: h }), h;
279
286
  }
280
287
  getName() {
281
288
  let { chart: e, options: t } = this, { dataMapping: r, name: i } = t, a = r?.y || r?.value, o = n(a) ? a : a?.column;
282
- return i ?? (n(o) ? o : ie(e.options.lang.seriesName, this, e));
289
+ return i ?? (n(o) ? o : J(e.options.lang.seriesName, this, e));
283
290
  }
284
291
  getCyclic(e, t, n) {
285
292
  let r = this.chart, i = `${e}Index`, a = `${e}Counter`, o = n?.length || r.options.chart.colorCount, s, c;
286
- t || (c = u(e === "color" ? this.options.colorIndex : void 0, this[i]), j(c) ? s = c : (r.series.length || (r[a] = 0), s = r[a] % o, r[a] += 1), n && (t = n[s])), s !== void 0 && (this[i] = s), this[e] = t;
293
+ t || (c = e === "color" ? this.options.colorIndex ?? this[i] : this[i], A(c) ? s = c : (r.series.length || (r[a] = 0), s = r[a] % o, r[a] += 1), n && (t = n[s])), s !== void 0 && (this[i] = s), this[e] = t;
287
294
  }
288
295
  getColor() {
289
296
  let e = this.chart;
290
- e.styledMode ? this.getCyclic("color") : this.options.colorByPoint ? this.color = "var(--highcharts-neutral-color-20)" : this.getCyclic("color", this.options.color || J.plotOptions[this.type]?.color, e.options.colors);
297
+ e.styledMode ? this.getCyclic("color") : this.options.colorByPoint ? this.color = "var(--highcharts-neutral-color-20)" : this.getCyclic("color", this.options.color || U.plotOptions[this.type]?.color, e.options.colors);
291
298
  }
292
299
  getPointsCollection() {
293
300
  return (this.hasGroupedData ? this.points : this.data) || [];
@@ -309,7 +316,7 @@ var K = G, q = {
309
316
  let t = [];
310
317
  for (let n = 0; n < i; n++) {
311
318
  let r = o?.[n];
312
- j(r) || (this.xIncrement ??= t[t.length - 1] ?? null), t.push(this.getX(r, e?.[n]));
319
+ A(r) || (this.xIncrement ??= t[t.length - 1] ?? null), t.push(this.getX(r, e?.[n]));
313
320
  }
314
321
  return this.xColumn = t;
315
322
  }
@@ -317,17 +324,17 @@ var K = G, q = {
317
324
  return o || Array(n ? i : 0);
318
325
  }
319
326
  getX(e, t) {
320
- return this.xAxis?.hasNames && this.dataTable.getColumn("name", !0) && j(t) ? this.xAxis.nameToX({
327
+ return this.xAxis?.hasNames && this.dataTable.getColumn("name", !0) && A(t) ? this.xAxis.nameToX({
321
328
  name: t,
322
329
  series: this
323
- }, e) : e === void 0 || m(e) && this.options.relativeXValue ? this.autoIncrement(e) : (typeof e == "string" && (e = this.chart.time.parse(e), m(e)), e);
330
+ }, e) : e === void 0 || p(e) && this.options.relativeXValue ? this.autoIncrement(e) : (typeof e == "string" && (e = this.chart.time.parse(e), p(e)), e);
324
331
  }
325
332
  matchPoints(e, t, n, r) {
326
333
  let { dataTable: i, options: a, requireSorting: o } = this, s = a.dataSorting, c = this.data, l = [], u = [], d = i.rowCount === c.length, f, p, m, h = 0, g = !0;
327
334
  this.xIncrement = null, delete this.xColumn;
328
- let _ = i.getColumn("x"), v = i.getColumn("id"), y = s?.matchByName ? i.getColumn("name") : void 0, b = i.getColumn("index");
335
+ let _ = i.getColumn("x"), v = i.getColumn("id"), y = s?.matchByName ? i.getColumn("name") : void 0, x = i.getColumn("index");
329
336
  for (p = 0; p < i.rowCount; p++) {
330
- let a = _?.[p], m = v?.[p], g = y?.[p], x = b?.[p], [S, C] = m && t ? [m, t] : g && n ? [g, n] : j(x) && r ? [x, r] : j(a) && e ? [a, e] : [], w = -1;
337
+ let a = _?.[p], m = v?.[p], g = y?.[p], b = x?.[p], [S, C] = m && t ? [m, t] : g && n ? [g, n] : A(b) && r ? [b, r] : A(a) && e ? [a, e] : [], w = -1;
331
338
  if (C) {
332
339
  if (w = C.indexOf(S, h), w === -1) {
333
340
  let t = _?.[p], n = e?.length ?? i.rowCount;
@@ -365,25 +372,25 @@ var K = G, q = {
365
372
  e && (e.touched = !1);
366
373
  }), !g) return !1;
367
374
  let S = this.getColumn("x");
368
- return this.xIncrement === null && S.length && (this.xIncrement = x(S), this.autoIncrement()), !0;
375
+ return this.xIncrement === null && S.length && (this.xIncrement = b(S), this.autoIncrement()), !0;
369
376
  }
370
377
  getDataColumnKeys() {
371
378
  return this.dataColumnKeys || ["x", ...this.pointArrayMap || ["y"]];
372
379
  }
373
380
  setData(e, t = !0, r, i) {
374
381
  let o = this, s = this.dataTable, c = o.options, l = o.points, u = l?.length || 0, d = s.getColumn("x"), f = s.getColumn("id"), p = c.dataSorting?.matchByName && l?.map((e) => e.name) || s.getColumn("name"), m = s.getColumn("index"), h = o.chart, g = o.xAxis, _, v, y;
375
- if (h.options.chart.allowMutatingData || (c.data && delete o.options.data, o.userOptions.data && delete o.userOptions.data, y = a(!0, e)), e = y || e, o.xIncrement = null, delete o.xColumn, delete o.xColumnIsNumbers, s !== c.dataTable && delete s.columns.x, o.colorCounter = 0, N(e) ? this.setDataFromArray(e) : this.setDataFromTable(e), i !== !1 && u && !o.cropped && !o.hasGroupedData && o.visible && !o.boosted && (_ = this.matchPoints(d, f, p, m)), !_) {
376
- for (n(this.getColumn("y")[0]) && A(14, !0, h), o.data = [], v = u; v--;) l[v]?.destroy();
382
+ if (h.options.chart.allowMutatingData || (c.data && delete o.options.data, o.userOptions.data && delete o.userOptions.data, y = a(!0, e)), e = y || e, o.xIncrement = null, delete o.xColumn, delete o.xColumnIsNumbers, s !== c.dataTable && delete s.columns.x, o.colorCounter = 0, M(e) ? this.setDataFromArray(e) : this.setDataFromTable(e), i !== !1 && u && !o.cropped && !o.hasGroupedData && o.visible && !o.boosted && (_ = this.matchPoints(d, f, p, m)), !_) {
383
+ for (n(this.getColumn("y")[0]) && k(14, !0, h), o.data = [], v = u; v--;) l[v]?.destroy();
377
384
  g && (g.minRange = g.userMinRange), o.isDirty = h.isDirtyBox = !0, o.isDirtyData = !!l, r = !1;
378
385
  }
379
- N(e) && (o.options.data = o.userOptions.data = e), c.legendType === "point" && (this.processData(), this.generatePoints()), t && h.redraw(r);
386
+ M(e) && (o.options.data = o.userOptions.data = e), c.legendType === "point" && (this.processData(), this.generatePoints()), t && h.redraw(r);
380
387
  }
381
388
  setDataFromArray(e) {
382
389
  let t = e.length, { keys: n, turboThreshold: r } = this.options, { pointValKey: i = "y", pointArrayMap: a = [] } = this, o = a.length, s = this.dataTable, c = this.getDataColumnKeys(), l = r && t > r, u = 0, d = 1;
383
390
  if (l) {
384
- let r = this.getFirstValidPoint(e), f = this.getFirstValidPoint(e, t - 1, -1), p = (e) => !!(N(e) && (n || m(e[0])));
385
- if (m(r) && m(f)) s.setColumn(i, e);
386
- else if (p(r) && p(f)) {
391
+ let r = this.getFirstValidPoint(e), f = this.getFirstValidPoint(e, t - 1, -1), m = (e) => !!(M(e) && (n || p(e[0])));
392
+ if (p(r) && p(f)) s.setColumn(i, e);
393
+ else if (m(r) && m(f)) {
387
394
  if (o) {
388
395
  let t = r.length === o, n = Array(r.length).fill(0).map(() => []);
389
396
  for (let t of e) for (let e = 0; e <= o; e++) n[e]?.push(t[e]);
@@ -408,7 +415,7 @@ var K = G, q = {
408
415
  let n = {};
409
416
  for (let r = 0; r < t; r++) {
410
417
  let i = this.pointClass.prototype.optionsToObject.call({ series: this }, e[r]);
411
- for (let e of Object.keys(i)) n[e] || (n[e] = Array(t)), n[e][r] = i[e];
418
+ for (let e of Object.keys(i)) e !== "__proto__" && e !== "constructor" && (Object.hasOwnProperty.call(n, e) || (n[e] = Array(t)), n[e][r] = i[e]);
412
419
  }
413
420
  t ? s.setColumns(n) : s.deleteRows(0, s.rowCount);
414
421
  }
@@ -419,7 +426,7 @@ var K = G, q = {
419
426
  e(u, t);
420
427
  }), this.dataColumnKeys = u), s.forEach((e, t) => {
421
428
  let r = u.reduce((r, i) => {
422
- let a = l?.[i], o = e.columns || {}, s = e.id, c = n(a) ? t === 0 && o[a] : ((a?.dataTable || 0) === t || s && a?.dataTable === s) && (m(a?.column) ? Object.values(o)[a.column] : o[a?.column || i]);
429
+ let a = l?.[i], o = e.columns || {}, s = e.id, c = n(a) ? t === 0 && o[a] : ((a?.dataTable || 0) === t || s && a?.dataTable === s) && (p(a?.column) ? Object.values(o)[a.column] : o[a?.column || i]);
423
430
  return c && (r[i] = c), r;
424
431
  }, {});
425
432
  (l || e) && a.setColumns(r), e.isDataTable && this.bindDataTableEvents(e, r);
@@ -430,26 +437,26 @@ var K = G, q = {
430
437
  let { chart: n, eventsToUnbind: r } = this, i = () => {
431
438
  clearTimeout(n.redrawTimeout), n.redrawTimeout = setTimeout(() => n.renderer && n.redraw(), 0);
432
439
  };
433
- r.push(S(e, "afterSetRows", (e) => {
440
+ r.push(x(e, "afterSetRows", (e) => {
434
441
  let n = e.rowIndex;
435
- if (m(n)) {
436
- let e = W.prototype.getRowObject.call({ columns: t }, n), r = this.data[n];
442
+ if (p(n)) {
443
+ let e = B.prototype.getRowObject.call({ columns: t }, n), r = this.data[n];
437
444
  e && (this.currentDataGrouping ? this.setData() : (r ? r.update(e, !1) : this.addPoint(e, !1), i()));
438
445
  }
439
- })), r.push(S(e, "afterDeleteRows", (e) => {
446
+ })), r.push(x(e, "afterDeleteRows", (e) => {
440
447
  let { rowCount: t, rowIndex: n } = e;
441
- if (m(n)) {
448
+ if (p(n)) {
442
449
  for (let e = n + t - 1; e >= n; e--) this.removePoint(e, !1);
443
450
  i();
444
451
  }
445
- })), r.push(S(e, "afterSetColumns", (e) => {
452
+ })), r.push(x(e, "afterSetColumns", (e) => {
446
453
  this.setData(e.target);
447
454
  })), this.hasBoundDataTableEvents = !0;
448
455
  }
449
456
  getProcessedData(e) {
450
457
  let t = this, { dataTable: n, isCartesian: r, options: i, xAxis: a } = t, o = i.cropThreshold, s = e || t.getExtremesFromAll, c = a?.logarithmic, u = n.rowCount, d, f, p = 0, m, h, g, _ = t.getColumn("x"), v = n, y = !1;
451
- a && (m = a.getExtremes(), h = m.min, g = m.max, y = !!(a.categories && !a.names.length), r && t.sorted && !s && (!o || u > o || t.forceCrop) && (_[u - 1] < h || _[0] > g ? v = new W() : t.getColumn(t.pointValKey || "y").length && (_[0] < h || _[u - 1] > g) && (d = this.cropData(n, h, g), v = d.modified, p = d.start, f = !0))), v !== n && (_ = v.getColumn("x", !0) || []);
452
- let b = l([c ? _.map(c.log2lin) : _], () => t.requireSorting && !y && A(15, !1, t.chart));
458
+ a && (m = a.getExtremes(), h = m.min, g = m.max, y = !(!a.categories || a.names.length), r && t.sorted && !s && (!o || u > o || t.forceCrop) && (_[u - 1] < h || _[0] > g ? v = new B() : t.getColumn(t.pointValKey || "y").length && (_[0] < h || _[u - 1] > g) && (d = this.cropData(n, h, g), v = d.modified, p = d.start, f = !0))), v !== n && (_ = v.getColumn("x", !0) || []);
459
+ let b = l([c ? _.map(c.log2lin) : _], () => t.requireSorting && !y && k(15, !1, t.chart));
453
460
  return {
454
461
  modified: v,
455
462
  cropped: f,
@@ -475,7 +482,7 @@ var K = G, q = {
475
482
  }
476
483
  let l = Object.keys(e.columns).reduce((t, n) => (t[n] = (e.getColumn(n, !0) || []).slice(s, c), t), {});
477
484
  return l.x = r.slice(s, c), {
478
- modified: new W({ columns: l }),
485
+ modified: new B({ columns: l }),
479
486
  start: s,
480
487
  end: c
481
488
  };
@@ -486,26 +493,26 @@ var K = G, q = {
486
493
  let t = [];
487
494
  t.length = n?.length || 0, v = e.data = t;
488
495
  }
489
- for (u && l && (e.options.keys = !1), _ = 0; _ < s; _++) h = c + _, l ? (g = new a(e, r.getRowObject(_, p)), g.dataGroup = e.groupMap?.[f + _], g.dataGroup?.options && (g.options = g.dataGroup.options, w(g, g.dataGroup.options), delete g.dataLabels, g.key = g.name ?? g.category)) : (g = v[h], y = n ? n[h] : r.getRowObject(_), !g && y !== void 0 ? v[h] = g = new a(e, y, i[_]) : g && (g.category = e.xAxis?.categories?.[g.x] ?? g.x, g.key = g.name ?? g.category)), g && (g.index = l ? f + _ : h, d[_] = g);
496
+ for (u && l && (e.options.keys = !1), _ = 0; _ < s; _++) h = c + _, l ? (g = new a(e, r.getRowObject(_, p)), g.dataGroup = e.groupMap?.[f + _], g.dataGroup?.options && (g.options = g.dataGroup.options, C(g, g.dataGroup.options), delete g.dataLabels, g.key = g.name ?? g.category)) : (g = v[h], y = n ? n[h] : r.getRowObject(_), !g && y !== void 0 ? v[h] = g = new a(e, y, i[_]) : g && (g.category = e.xAxis?.categories?.[g.x] ?? g.x, g.key = g.name ?? g.category)), g && (g.index = l ? f + _ : h, d[_] = g);
490
497
  if (e.options.keys = u, v && (s !== (m = v.length) || l)) for (_ = 0; _ < m; _++) _ === c && !l && (_ += s), v[_] && (v[_].destroyElements(), v[_].plotX = void 0);
491
498
  e.data = v, e.points = d, o(this, "afterGeneratePoints");
492
499
  }
493
500
  getXExtremes(e) {
494
501
  return {
495
- min: h(e),
496
- max: x(e)
502
+ min: m(e),
503
+ max: b(e)
497
504
  };
498
505
  }
499
506
  getExtremes(e, t) {
500
- let { options: n, xAxis: r, yAxis: i } = this, a = t || this.getExtremesFromAll || n.getExtremesFromAll, s = a && this.cropped ? this.dataTable : this.dataTable.getModified(), c = s.rowCount, l = e || this.stackedYData, u = l ? [l] : (this.keysAffectYAxis || this.pointArrayMap || ["y"])?.map((e) => s.getColumn(e, !0) || []) || [], d = this.getColumn("x", !0), f = [], p = this.requireSorting && !this.is("column") ? 1 : 0, g = n.cumulative && n.cumulativeStart && p && !a, _ = i ? i.positiveValuesOnly : !1, v = a || this.cropped || !r, y, b, S, C = 0, w = 0;
501
- for (r && (y = r.getExtremes(), C = y.min, w = y.max), S = 0; S < c; S++) if (b = d[S], (v || (d[S + p] || b) >= C && (d[S - p] || b) <= w) && (!g || b >= C)) for (let e of u) {
507
+ let { options: n, xAxis: r, yAxis: i } = this, a = t || this.getExtremesFromAll || n.getExtremesFromAll, s = a && this.cropped ? this.dataTable : this.dataTable.getModified(), c = s.rowCount, l = e || this.stackedYData, u = l ? [l] : (this.keysAffectYAxis || this.pointArrayMap || ["y"])?.map((e) => s.getColumn(e, !0) || []) || [], d = this.getColumn("x", !0), f = [], h = this.requireSorting && !this.is("column") ? 1 : 0, g = n.cumulative && n.cumulativeStart && h && !a, _ = i ? i.positiveValuesOnly : !1, v = a || this.cropped || !r, y, x, S, C = 0, w = 0;
508
+ for (r && (y = r.getExtremes(), C = y.min, w = y.max), S = 0; S < c; S++) if (x = d[S], (v || (d[S + h] || x) >= C && (d[S - h] || x) <= w) && (!g || x >= C)) for (let e of u) {
502
509
  let t = e[S];
503
- m(t) && (t > 0 || !_) && f.push(t);
510
+ p(t) && (t > 0 || !_) && f.push(t);
504
511
  }
505
512
  let T = {
506
513
  activeYData: f,
507
- dataMin: h(f),
508
- dataMax: x(f)
514
+ dataMin: m(f),
515
+ dataMax: b(f)
509
516
  };
510
517
  return o(this, "afterGetExtremes", { dataExtremes: T }), T;
511
518
  }
@@ -516,40 +523,40 @@ var K = G, q = {
516
523
  getFirstValidPoint(e, t = 0, n = 1) {
517
524
  let r = e.length, i = t;
518
525
  for (; i >= 0 && i < r;) {
519
- if (j(e[i])) return e[i];
526
+ if (A(e[i])) return e[i];
520
527
  i += n;
521
528
  }
522
529
  }
523
530
  translate() {
524
531
  this.generatePoints();
525
- let e = this, { hasRendered: t, options: n, xAxis: r, yAxis: i } = e, { stacking: a, threshold: s } = n, { polar: c } = e.chart, l = e.points.concat(e.condemnedPoints), d = l.length, f = e.pointPlacementToXValue(), p = !!f, h = n.startFromThreshold ? s : 0, g = n?.nullInteraction && i.len, v, y, b, x, S = Number.MAX_VALUE;
526
- function C(e) {
527
- return M(e, -1e9, 1e9);
532
+ let e = this, { hasRendered: t, options: n, xAxis: r, yAxis: i } = e, { stacking: a, threshold: s } = n, { polar: c } = e.chart, l = e.points.concat(e.condemnedPoints), u = l.length, d = e.pointPlacementToXValue(), f = !!d, m = n.startFromThreshold ? s : 0, h = n?.nullInteraction && i.len, _, v, y, b, x = Number.MAX_VALUE;
533
+ function S(e) {
534
+ return j(e, -1e9, 1e9);
528
535
  }
529
- let w = (e, t) => {
530
- let n = r.translate(e, !1, !1, t, !0, f);
531
- return m(n) ? _(C(n)) : void 0;
532
- }, T = (e, t, n) => {
533
- if (m(e) && t.plotX !== void 0) {
536
+ let C = (e, t) => {
537
+ let n = r.translate(e, !1, !1, t, !0, d);
538
+ return p(n) ? g(S(n)) : void 0;
539
+ }, w = (e, t, n) => {
540
+ if (p(e) && t.plotX !== void 0) {
534
541
  let t = i.translate(e, !1, !0, n, !0);
535
- return m(t) ? C(t) : void 0;
542
+ return p(t) ? S(t) : void 0;
536
543
  }
537
- if (!m(e) && g) return g;
544
+ if (!p(e) && h) return h;
538
545
  };
539
- for (v = 0; v < d; v++) {
540
- let n = l[v], o = n.x, d, g, E = n.y, D = n.low, O = a && i.stacking?.stacks[(e.negStacks && E < (h ? 0 : s) ? "-" : "") + e.stackKey];
541
- n.plotX = y = w(o), a && e.visible && O && O[o] && (x = e.getStackIndicator(x, o, e.index), !n.isNull && x.key && (d = O[o], g = d.points[x.key]), d && N(g) && (D = g[0], E = g[1], D === h && x.key === O[o].base && (D = u(m(s) ? s : i.min)), i.positiveValuesOnly && j(D) && D <= 0 && (D = void 0), n.total = n.stackTotal = u(d.total), n.percentage = j(n.y) && d.total ? n.y / d.total * 100 : void 0, n.stackY = E, e.irregularWidths || d.setOffset(e.pointXOffset || 0, e.barW || 0, void 0, void 0, void 0, e.xAxis))), n.yBottom = j(D) ? C(i.translate(D, !1, !0, !1, !0)) : void 0, e.dataModify && (E = e.dataModify.modifyValue(E, v)), n.plotY = T(E, n), n.origin = t && !n.graphic && !c ? {
542
- x: w(o, !0),
543
- y: T(E, n, !0)
544
- } : void 0, n.isInside = this.isPointInside(n), n.clientX = p ? _(r.translate(o, !1, !1, !1, !0, f)) : y, n.negative = (n.y || 0) < (s || 0), !n.isNull && n.visible !== !1 && m(y) && (m(b) && (S = Math.min(S, Math.abs(y - b))), b = y), n.zone = this.zones.length ? n.getZone() : void 0;
546
+ for (_ = 0; _ < u; _++) {
547
+ let n = l[_], o = n.x, u, h, T = n.y, E = n.low, D = a && i.stacking?.stacks[(e.negStacks && T < (m ? 0 : s) ? "-" : "") + e.stackKey];
548
+ n.plotX = v = C(o), a && e.visible && D && D[o] && (b = e.getStackIndicator(b, o, e.index), !n.isNull && b.key && (u = D[o], h = u.points[b.key]), u && M(h) && (E = h[0], T = h[1], E === m && b.key === D[o].base && (E = p(s) ? s : i.min), i.positiveValuesOnly && A(E) && E <= 0 && (E = void 0), n.total = n.stackTotal = u.total ?? void 0, n.percentage = A(n.y) && u.total ? n.y / u.total * 100 : void 0, n.stackY = T, e.irregularWidths || u.setOffset(e.pointXOffset || 0, e.barW || 0, void 0, void 0, void 0, e.xAxis))), n.yBottom = A(E) ? S(i.translate(E, !1, !0, !1, !0)) : void 0, e.dataModify && (T = e.dataModify.modifyValue(T, _)), n.plotY = w(T, n), n.origin = t && !n.graphic && !c ? {
549
+ x: C(o, !0),
550
+ y: w(T, n, !0)
551
+ } : void 0, n.isInside = this.isPointInside(n), n.clientX = f ? g(r.translate(o, !1, !1, !1, !0, d)) : v, n.negative = (n.y || 0) < (s || 0), !n.isNull && n.visible !== !1 && p(v) && (p(y) && (x = Math.min(x, Math.abs(v - y))), y = v), n.zone = this.zones.length ? n.getZone() : void 0;
545
552
  }
546
- e.closestPointRangePx = S, o(this, "afterTranslate");
553
+ e.closestPointRangePx = x, o(this, "afterTranslate");
547
554
  }
548
555
  getValidPoints(e, t, n) {
549
556
  let r = this.chart;
550
557
  return (e || this.points || []).filter(function(e) {
551
558
  let { plotX: i, plotY: a } = e;
552
- return !n && (e.isNull || !m(a)) || t && !r.isInsidePlot(i, a, { inverted: r.inverted }) ? !1 : e.visible !== !1;
559
+ return !n && (e.isNull || !p(a)) || t && !r.isInsidePlot(i, a, { inverted: r.inverted }) ? !1 : e.visible !== !1;
553
560
  });
554
561
  }
555
562
  getSharedClipKey() {
@@ -557,10 +564,10 @@ var K = G, q = {
557
564
  }
558
565
  setClip() {
559
566
  let { chart: e, group: t, markerGroup: n, options: r, plotClipGroup: i } = this, a = e.sharedClips, o = e.renderer, s = e.getClipBox(this), c = r.clip ?? !0, l = this.getSharedClipKey(), u = a[l];
560
- u ? u.animate(s) : a[l] = u = o.clipRect(s), t?.clip(c ? u : void 0), n?.clip(), i?.clip(c && this.yAxis.clippable ? e.plotClipInner : void 0);
567
+ u ? u.animate(s) : a[l] = u = o.clipRect(s), t?.clip(c ? u : void 0), n?.clip(), i?.clip(c && this.yAxis?.clippable ? e.plotClipInner : void 0);
561
568
  }
562
569
  animate(e) {
563
- let { chart: t, group: n, markerGroup: r } = this, i = t.inverted, a = O(this.options.animation), o = [
570
+ let { chart: t, group: n, markerGroup: r } = this, i = t.inverted, a = D(this.options.animation), o = [
564
571
  this.getSharedClipKey(),
565
572
  a.duration,
566
573
  a.easing,
@@ -594,31 +601,31 @@ var K = G, q = {
594
601
  }
595
602
  drawPoints(e) {
596
603
  e ||= this.points.concat(this.condemnedPoints);
597
- let t = this, n = t.chart, r = n.styledMode, { colorAxis: i, options: a } = t, o = a.marker || {}, s = a.nullInteraction, c = t[t.specialGroup || "markerGroup"], l = t.xAxis, d = o.enabled ?? (!l || l.isRadial ? !0 : null) ?? (t.closestPointRangePx ?? -Infinity) >= (o.enabledThreshold ?? 2) * o.radius, f, p, m, h, g, _, v;
598
- if (o.enabled !== !1 || t._hasPointMarkers) for (f = 0; f < e.length; f++) {
599
- p = e[f], m = p.graphic, h = m ? "animate" : "attr", g = p.marker || {}, _ = !!p.marker;
600
- let a = p.isNull;
601
- if ((d && !j(g.enabled) || g.enabled) && (!a || s) && p.visible !== !1) {
602
- let e = u(g.symbol, t.symbol, "rect");
603
- v = t.markerAttribs(p, p.selected ? "select" : "");
604
- let a = p.isInside !== !1;
605
- if (!m && a && ((v.width || 0) > 0 || p.hasImage) && (p.graphic = m = n.renderer.symbol(e, v.x, v.y, v.width, v.height, _ ? g : o).add(c), p.origin)) {
606
- let e = p.getOrigin(p.origin, v);
607
- r || (e.opacity = 0), m.attr(e), h = "animate";
604
+ let t = this, n = t.chart, r = n.styledMode, { colorAxis: i, options: a } = t, o = a.marker || {}, s = a.nullInteraction, c = t[t.specialGroup || "markerGroup"], l = t.xAxis, u = o.enabled ?? (!l || l.isRadial ? !0 : null) ?? (t.closestPointRangePx ?? -Infinity) >= (o.enabledThreshold ?? 2) * o.radius, d, f, p, m, h, g, _;
605
+ if (o.enabled !== !1 || t._hasPointMarkers) for (d = 0; d < e.length; d++) {
606
+ f = e[d], p = f.graphic, m = p ? "animate" : "attr", h = f.marker || {}, g = !!f.marker;
607
+ let a = f.isNull;
608
+ if ((u && !A(h.enabled) || h.enabled) && (!a || s) && f.visible !== !1) {
609
+ let e = h.symbol ?? t.symbol ?? "rect";
610
+ _ = t.markerAttribs(f, f.selected ? "select" : "");
611
+ let a = f.isInside !== !1;
612
+ if (!p && a && ((_.width || 0) > 0 || f.hasImage) && (f.graphic = p = n.renderer.symbol(e, _.x, _.y, _.width, _.height, g ? h : o).add(c), f.origin)) {
613
+ let e = f.getOrigin(f.origin, _);
614
+ r || (e.opacity = 0), p.attr(e), m = "animate";
608
615
  }
609
- if (m) {
610
- h === "animate" && m?.animate(v);
611
- let e = t.pointAttribs(p, r || !p.selected ? void 0 : "select");
612
- r ? i && m.css({ fill: e.fill }) : m[h](e), m.addClass(p.getClassName(), !0);
616
+ if (p) {
617
+ m === "animate" && p?.animate(_);
618
+ let e = t.pointAttribs(f, r || !f.selected ? void 0 : "select");
619
+ r ? i && p.css({ fill: e.fill }) : p[m](e), p.addClass(f.getClassName(), !0);
613
620
  }
614
- } else m && (p.graphic = m.destroy());
621
+ } else p && (f.graphic = p.destroy());
615
622
  }
616
623
  }
617
624
  markerAttribs(e, t) {
618
625
  let n = this.options, r = n.marker ?? {}, i = e.marker || {}, a = i.symbol || r.symbol, o = {}, s, c, l = i.radius ?? r.radius;
619
626
  t && (s = r.states?.[t], c = i.states?.[t], l = c?.radius ?? s?.radius ?? (l && l + (s?.radiusPlus || 0))), e.hasImage = a && a.indexOf("url") === 0, e.hasImage && (l = 0);
620
627
  let u = e.pos();
621
- return m(l) && u && (n.crisp && (u[0] = f(u[0], e.hasImage ? 0 : a === "rect" ? r.lineWidth || 0 : 1)), o.x = u[0] - l, o.y = u[1] - l), l && (o.width = o.height = 2 * l), o;
628
+ return p(l) && u && (n.crisp && (u[0] = d(u[0], e.hasImage ? 0 : a === "rect" ? r.lineWidth || 0 : 1)), o.x = u[0] - l, o.y = u[1] - l), l && (o.width = o.height = 2 * l), o;
622
629
  }
623
630
  pointAttribs(e, t) {
624
631
  let n = this.options, r = n.marker ?? {}, i = e?.options, a = i?.marker || {}, o = i?.color, s = e?.color, c = e?.zone?.color, l = this.color, u, d, f = a.lineWidth ?? r.lineWidth, p = e?.isNull && n.nullInteraction ? 0 : 1;
@@ -632,68 +639,69 @@ var K = G, q = {
632
639
  };
633
640
  }
634
641
  destroy(e) {
635
- let t = this, n = t.chart, r = /AppleWebKit\/533/.test(re.navigator.userAgent), a = t.data || [], s, l, u;
636
- for (o(t, "destroy", { keepEventsForUpdate: e }), this.removeEvents(e), (t.axisTypes || []).forEach(function(e) {
637
- u = t[e], u?.series && (c(u.series, t), u.isDirty = u.forceRedraw = !0);
638
- }), t.legendItem && t.chart.legend.destroyItem(t), l = a.length; l--;) a[l]?.destroy?.(!0);
639
- for (let e of t.zones || []) p(e, void 0, !0);
640
- d(t.animationTimeout), i(t, function(e, t) {
641
- e instanceof L && !e.survive && (s = r && t === "group" ? "hide" : "destroy", e[s]());
642
+ let t = this, n = t.chart, r = /AppleWebKit\/533/.test(K.navigator.userAgent), a, s;
643
+ o(t, "destroy", { keepEventsForUpdate: e }), this.removeEvents(e);
644
+ for (let e of t.axisTypes || []) s = t[e], s?.series && (c(s.series, t), s.isDirty = s.forceRedraw = !0);
645
+ t.legendItem && t.chart.legend.destroyItem(t);
646
+ for (let e of t.points || []) e?.destroy?.(!0);
647
+ for (let e of t.zones || []) f(e, void 0, !0);
648
+ u(t.animationTimeout), i(t, function(e, t) {
649
+ e instanceof te && !e.survive && (a = r && t === "group" ? "hide" : "destroy", e[a]());
642
650
  }), n.hoverSeries === t && (n.hoverSeries = void 0), c(n.series, t), n.orderItems("series"), i(t, function(n, r) {
643
651
  (!e || r !== "hcEvents") && delete t[r];
644
652
  });
645
653
  }
646
654
  applyZones() {
647
- let e = this, { area: t, chart: n, graph: r, zones: i, points: a, xAxis: o, yAxis: s, zoneAxis: c } = e, { inverted: l, renderer: d } = n, f = this[`${c}Axis`], { isXAxis: p, len: h = 0, minPointOffset: g = 0 } = f || {}, _ = (r?.strokeWidth() || 0) / 2 + 1, v = (e, t = 0, n = 0) => {
648
- l && (n = h - n);
655
+ let e = this, { area: t, chart: n, graph: r, zones: i, points: a, xAxis: o, yAxis: s, zoneAxis: c } = e, { inverted: l, renderer: u } = n, d = this[`${c}Axis`], { isXAxis: f, len: m = 0, minPointOffset: h = 0 } = d || {}, g = (r?.strokeWidth() || 0) / 2 + 1, _ = (e, t = 0, n = 0) => {
656
+ l && (n = m - n);
649
657
  let { translated: r = 0, lineClip: i, value: a } = e, o = n - r;
650
658
  i?.push([
651
659
  "L",
652
660
  t,
653
- Math.abs(o) < _ ? n - _ * (o < 0 || o === 0 && j(a) ? -1 : 1) : r
661
+ Math.abs(o) < g ? n - g * (o < 0 || o === 0 && A(a) ? -1 : 1) : r
654
662
  ]);
655
663
  };
656
- if (i.length && (r || t) && f && m(f.min)) {
657
- let e = f.getExtremes().max + g, n = (e) => {
664
+ if (i.length && (r || t) && d && p(d.min)) {
665
+ let e = d.getExtremes().max + h, n = (e) => {
658
666
  e.forEach((t, n) => {
659
667
  (t[0] === "M" || t[0] === "L") && (e[n] = [
660
668
  t[0],
661
- p ? h - t[1] : t[1],
662
- p ? t[2] : h - t[2]
669
+ f ? m - t[1] : t[1],
670
+ f ? t[2] : m - t[2]
663
671
  ]);
664
672
  });
665
673
  };
666
674
  if (i.forEach((t) => {
667
- t.lineClip = [], t.translated = M(f.toPixels(u(t.value, e), !0) || 0, 0, h);
675
+ t.lineClip = [], t.translated = j(d.toPixels(t.value ?? e, !0) || 0, 0, m);
668
676
  }), r && !this.showLine && r.hide(), t && t.hide(), c === "y" && a.length < o.len) for (let e of a) {
669
677
  let { plotX: t, plotY: n, zone: r } = e, a = r && i[i.indexOf(r) - 1];
670
- r && v(r, t, n), a && v(a, t, n);
678
+ r && _(r, t, n), a && _(a, t, n);
671
679
  }
672
- let m = [], _ = f.toPixels(f.getExtremes().min - g, !0);
680
+ let p = [], g = d.toPixels(d.getExtremes().min - h, !0);
673
681
  i.forEach((e) => {
674
682
  let i = e.lineClip || [], a = Math.round(e.translated || 0);
675
683
  o.reversed && i.reverse();
676
- let { clip: c, simpleClip: u } = e, f = 0, h = 0, g = o.len, v = s.len;
677
- p ? (f = a, g = _) : (h = a, v = _);
684
+ let { clip: c, simpleClip: d } = e, m = 0, h = 0, _ = o.len, v = s.len;
685
+ f ? (m = a, _ = g) : (h = a, v = g);
678
686
  let y = [
679
687
  [
680
688
  "M",
681
- f,
689
+ m,
682
690
  h
683
691
  ],
684
692
  [
685
693
  "L",
686
- g,
694
+ _,
687
695
  h
688
696
  ],
689
697
  [
690
698
  "L",
691
- g,
699
+ _,
692
700
  v
693
701
  ],
694
702
  [
695
703
  "L",
696
- f,
704
+ m,
697
705
  v
698
706
  ],
699
707
  ["Z"]
@@ -702,11 +710,11 @@ var K = G, q = {
702
710
  ...i,
703
711
  y[1],
704
712
  y[2],
705
- ...m,
713
+ ...p,
706
714
  y[3],
707
715
  y[4]
708
716
  ];
709
- m = i.reverse(), _ = a, l && (n(b), t && n(y)), c ? (c.animate({ d: b }), u?.animate({ d: y })) : (c = e.clip = d.path(b), t && (u = e.simpleClip = d.path(y))), r && e.graph?.clip(c), t && e.area?.clip(u);
717
+ p = i.reverse(), g = a, l && (n(b), t && n(y)), c ? (c.animate({ d: b }), d?.animate({ d: y })) : (c = e.clip = u.path(b), t && (d = e.simpleClip = u.path(y))), r && e.graph?.clip(c), t && e.area?.clip(d);
710
718
  });
711
719
  } else e.visible && (r && r.show(), t && t.show());
712
720
  }
@@ -715,7 +723,7 @@ var K = G, q = {
715
723
  visibility: n,
716
724
  zIndex: r || .1
717
725
  };
718
- return j(this.opacity) && !this.chart.styledMode && this.state !== "inactive" && (s.opacity = this.opacity), a || (this[e] = a = this.chart.renderer.g().add(i)), a.addClass("highcharts-" + t + " highcharts-series-" + this.index + " highcharts-" + this.type + "-series " + (j(this.colorIndex) ? "highcharts-color-" + this.colorIndex + " " : "") + (this.options.className || "") + (a.hasClass("highcharts-tracker") ? " highcharts-tracker" : ""), !0), a.attr(s)[o ? "attr" : "animate"](this.getPlotBox(t)), a;
726
+ return A(this.opacity) && !this.chart.styledMode && this.state !== "inactive" && (s.opacity = this.opacity), a || (this[e] = a = this.chart.renderer.g().add(i)), a.addClass("highcharts-" + t + " highcharts-series-" + this.index + " highcharts-" + this.type + "-series " + (A(this.colorIndex) ? "highcharts-color-" + this.colorIndex + " " : "") + (this.options.className || "") + (a.hasClass("highcharts-tracker") ? " highcharts-tracker" : ""), !0), a.attr(s)[o ? "attr" : "animate"](this.getPlotBox(t)), a;
719
727
  }
720
728
  getPlotBox(e) {
721
729
  let t = this.xAxis, n = this.yAxis, r = this.chart, i = r.inverted && !r.polar && t && this.invertible && e === "series";
@@ -740,13 +748,13 @@ var K = G, q = {
740
748
  }
741
749
  removeEvents(e) {
742
750
  let { eventsToUnbind: t } = this;
743
- e || k(this), t.length &&= (t.forEach((e) => {
751
+ e || O(this), t.length &&= (t.forEach((e) => {
744
752
  e();
745
753
  }), 0);
746
754
  }
747
755
  render() {
748
- let e = this, { chart: t, options: n, hasRendered: r } = e, i = O(n.animation), a = e.visible ? "inherit" : "hidden", s = n.zIndex, c = t.seriesGroup, l = e.finishedAnimating ? 0 : i.duration;
749
- o(this, "render"), t.plotClipInner && (e.plotClipGroup ||= t.renderer.g().add(c)), e.plotGroup("group", "series", a, s, e.plotClipGroup || c), e.markerGroup = e.plotGroup("markerGroup", "markers", a, s, c), n.clip !== !1 && e.setClip(), l && e.animate?.(!0), e.drawGraph && (e.drawGraph(), e.applyZones()), e.visible && e.drawPoints(), e.drawDataLabels?.(), e.redrawPoints?.(), n.enableMouseTracking && e.drawTracker?.(), l && e.animate?.(), r || (l && i.defer && (l += i.defer), e.animationTimeout = g(() => {
756
+ let e = this, { chart: t, options: n, hasRendered: r } = e, i = D(n.animation), a = e.visible ? "inherit" : "hidden", s = n.zIndex, c = t.seriesGroup, l = e.finishedAnimating ? 0 : i.duration;
757
+ o(this, "render"), t.plotClipInner && (e.plotClipGroup ||= t.renderer.g().add(c)), e.plotGroup("group", "series", a, s, e.plotClipGroup || c), e.markerGroup = e.plotGroup("markerGroup", "markers", a, s, c), n.clip !== !1 && e.setClip(), l && e.animate?.(!0), e.drawGraph && (e.drawGraph(), e.applyZones()), e.visible && e.drawPoints(), e.drawDataLabels?.(), e.redrawPoints?.(), n.enableMouseTracking && e.drawTracker?.(), l && e.animate?.(), r || (l && i.defer && (l += i.defer), e.animationTimeout = h(() => {
750
758
  e.afterAnimate();
751
759
  }, l || 0)), e.isDirty = !1, e.hasRendered = !0, o(e, "afterRender");
752
760
  }
@@ -778,7 +786,7 @@ var K = G, q = {
778
786
  function a() {
779
787
  t.kdTree = i(t.getValidPoints(void 0, !t.directTouch, n?.nullInteraction), r, r), t.buildingKdTree = !1;
780
788
  }
781
- delete t.kdTree, g(a, n.kdNow || e?.type === "touchstart" ? 0 : 1);
789
+ delete t.kdTree, h(a, n.kdNow || e?.type === "touchstart" ? 0 : 1);
782
790
  }
783
791
  searchKDTree(e, t, n, r, i) {
784
792
  let a = this, [o, s] = this.kdAxisArray, c = t ? "distX" : "dist", l = (a.options.findNearestPointBy || "").indexOf("y") > -1 ? 2 : 1, u = !!a.isBubble, d = r || ((e, t, n) => {
@@ -786,8 +794,8 @@ var K = G, q = {
786
794
  return [r === i && e.index > t.index || r < i ? e : t, !1];
787
795
  }), f = i || ((e, t) => e < t);
788
796
  function p(e, t) {
789
- let n = e[o], r = t[o], i = j(n) && j(r) ? n - r : null, a = e[s], c = t[s], l = j(a) && j(c) ? a - c : 0, d = u && t.marker?.radius || 0;
790
- t.dist = Math.sqrt((i && i * i || 0) + l * l) - d, t.distX = j(i) ? Math.abs(i) - d : Number.MAX_VALUE;
797
+ let n = e[o], r = t[o], i = A(n) && A(r) ? n - r : null, a = e[s], c = t[s], l = A(a) && A(c) ? a - c : 0, d = u && t.marker?.radius || 0;
798
+ t.dist = Math.sqrt((i && i * i || 0) + l * l) - d, t.distX = A(i) ? Math.abs(i) - d : Number.MAX_VALUE;
791
799
  }
792
800
  function m(e, t, n, r) {
793
801
  let i = t.point, o = a.kdAxisArray[n % r], s = i, l = !1;
@@ -803,7 +811,7 @@ var K = G, q = {
803
811
  }
804
812
  pointPlacementToXValue() {
805
813
  let { options: e, xAxis: t } = this, n = e.pointPlacement;
806
- return n === "between" && (n = t.reversed ? -.5 : .5), m(n) ? n * (e.pointRange || t.pointRange) : 0;
814
+ return n === "between" && (n = t.reversed ? -.5 : .5), p(n) ? n * (e.pointRange || t.pointRange) : 0;
807
815
  }
808
816
  isPointInside(e) {
809
817
  let { chart: t, xAxis: n, yAxis: r } = this, { plotX: i = -1, plotY: a = -1 } = e;
@@ -812,7 +820,7 @@ var K = G, q = {
812
820
  drawTracker() {
813
821
  let e = this, t = e.options, n = t.trackByArea, r = [].concat((n ? e.areaPath : e.graphPath) || []), i = e.chart, a = i.pointer, s = i.renderer, c = i.options.tooltip?.snap || 0, l = () => {
814
822
  t.enableMouseTracking && i.hoverSeries !== e && e.onMouseOver();
815
- }, u = "rgba(192,192,192," + (ne ? 1e-4 : .002) + ")", d = e.tracker;
823
+ }, u = "rgba(192,192,192," + (G ? 1e-4 : .002) + ")", d = e.tracker;
816
824
  d ? d.attr({ d: r }) : e.graph && (e.tracker = d = s.path(r).attr({
817
825
  visibility: e.visible ? "inherit" : "hidden",
818
826
  zIndex: 2
@@ -833,19 +841,19 @@ var K = G, q = {
833
841
  })), o(this, "afterDrawTracker");
834
842
  }
835
843
  addPoint(e, t, n, r, i) {
836
- let a = this, s = a.options, { chart: c, data: l, dataTable: d, xAxis: f } = a, p = f?.hasNames && f.names, m = s.data, h = a.getColumn("x"), g, _;
837
- t = u(t, !0);
838
- let { applyOptions: v, optionsToObject: y } = a.pointClass.prototype, b = { series: a }, x = y.call(b, e);
839
- v.call(b, x, void 0, !1);
840
- let S = b.x;
841
- if (_ = h.length, a.requireSorting && S < h[_ - 1]) for (g = !0; _ && h[_ - 1] > S;) _--;
842
- d.setRow(x, _, !0), this.xColumn?.splice(_, 0, this.getX(S)), p && b.name && (p[S] = b.name), m?.splice(_, 0, e), (g || a.hasProcessedDataTable) && (a.data.splice(_, 0, null), a.processData()), s.legendType === "point" && a.generatePoints(), n && (l[0] && l[0].remove ? l[0].remove(!1) : ([
844
+ let a = this, s = a.options, { chart: c, data: l, dataTable: u, xAxis: d } = a, f = d?.hasNames && d.names, p = s.data, m = a.getColumn("x"), h, g;
845
+ t ??= !0;
846
+ let { applyOptions: _, optionsToObject: v } = a.pointClass.prototype, y = { series: a }, b = v.call(y, e);
847
+ _.call(y, b, void 0, !1);
848
+ let x = y.x;
849
+ if (g = m.length, a.requireSorting && x < m[g - 1]) for (h = !0; g && m[g - 1] > x;) g--;
850
+ u.setRow(b, g, !0), this.xColumn?.splice(g, 0, this.getX(x)), f && y.name && (f[x] = y.name), p?.splice(g, 0, e), (h || a.hasProcessedDataTable) && (a.data.splice(g, 0, null), a.processData()), s.legendType === "point" && a.generatePoints(), n && (l[0] && l[0].remove ? l[0].remove(!1) : ([
843
851
  l,
844
- m,
852
+ p,
845
853
  this.xColumn
846
- ].filter(j).forEach((e) => {
854
+ ].filter(A).forEach((e) => {
847
855
  e.shift();
848
- }), d.deleteRows(0))), i !== !1 && o(a, "addPoint", { point: b }), a.isDirty = !0, a.isDirtyData = !0, t && c.redraw(r);
856
+ }), u.deleteRows(0))), i !== !1 && o(a, "addPoint", { point: y }), a.isDirty = !0, a.isDirtyData = !0, t && c.redraw(r);
849
857
  }
850
858
  removePoint(e, t, n) {
851
859
  let r = this, { chart: i, data: a, points: o, dataTable: s } = r, c = a[e], l = function() {
@@ -854,22 +862,22 @@ var K = G, q = {
854
862
  a,
855
863
  r.options.data,
856
864
  r.xColumn
857
- ].filter(j).forEach((t) => {
865
+ ].filter(A).forEach((t) => {
858
866
  t.splice(e, 1);
859
867
  }), s.deleteRows(e), s.modified = s, c?.destroy(), r.isDirty = !0, r.isDirtyData = !0, t && i.redraw();
860
868
  };
861
- C(n, i), t = u(t, !0), c ? c.firePointEvent("remove", null, l) : l();
869
+ S(n, i), t ??= !0, c ? c.firePointEvent("remove", null, l) : l();
862
870
  }
863
871
  remove(e, t, n, r) {
864
872
  let i = this, a = i.chart;
865
873
  function s() {
866
- i.destroy(r), a.isDirtyLegend = a.isDirtyBox = !0, a.linkSeries(r), u(e, !0) && a.redraw(t);
874
+ i.destroy(r), a.isDirtyLegend = a.isDirtyBox = !0, a.linkSeries(r), (e ?? !0) && a.redraw(t);
867
875
  }
868
876
  n === !1 ? s() : o(i, "remove", null, s);
869
877
  }
870
878
  update(e, n) {
871
879
  e = t(e, this.userOptions), o(this, "update", { options: e });
872
- let i = this, s = i.chart, c = i.userOptions, l = i.initialType || i.type, d = s.options.plotOptions, f = Y[l].prototype, p = [
880
+ let i = this, s = i.chart, c = i.userOptions, l = i.initialType || i.type, u = s.options.plotOptions, d = q[l].prototype, f = [
873
881
  "dataLabelsGroup",
874
882
  "dataLabelsGroups",
875
883
  "dataLabelsParentGroups",
@@ -877,46 +885,46 @@ var K = G, q = {
877
885
  "markerGroup",
878
886
  "plotClipGroup",
879
887
  "transformGroup"
880
- ], m = [
888
+ ], p = [
881
889
  "dataGrouping",
882
890
  "pointStart",
883
891
  "pointInterval",
884
892
  "pointIntervalUnit",
885
893
  "keys"
886
- ], h = i.finishedAnimating && { animation: !1 }, g = {}, _ = e.data || e.dataTable, v, y, b = r.keepProps.slice(), x = e.type || c.type || s.options.chart.type, S = !(this.hasDerivedData || x && x !== this.type || e.keys !== void 0 || e.pointStart !== void 0 || e.pointInterval !== void 0 || e.relativeXValue !== void 0 || e.joinBy || e.mapData || m.some((e) => i.hasOptionChanged(e)));
887
- x ||= l, S ? (b.push.apply(b, r.keepPropsForPoints), e.visible !== !1 && (b.push("area", "graph"), "zones" in e || b.push("zones")), i.parallelArrays.forEach(function(e) {
888
- b.push(e + "Data");
889
- }), _ && (e.dataSorting && w(i.options.dataSorting, e.dataSorting), this.setData(_, !1))) : this.dataTable.modified = this.dataTable, e.dataLabels && c.dataLabels && (e.dataLabels = this.mergeArrays(c.dataLabels, e.dataLabels)), e = a(c, {
894
+ ], m = i.finishedAnimating && { animation: !1 }, h = {}, g = e.data || e.dataTable, _, v, y = r.keepProps.slice(), b = e.type || c.type || s.options.chart.type, x = !(this.hasDerivedData || b && b !== this.type || e.keys !== void 0 || e.pointStart !== void 0 || e.pointInterval !== void 0 || e.relativeXValue !== void 0 || e.joinBy || e.mapData || p.some((e) => i.hasOptionChanged(e)));
895
+ b ||= l, x ? (y.push.apply(y, r.keepPropsForPoints), e.visible !== !1 && (y.push("area", "graph"), "zones" in e || y.push("zones")), i.parallelArrays.forEach(function(e) {
896
+ y.push(e + "Data");
897
+ }), g && (e.dataSorting && C(i.options.dataSorting, e.dataSorting), this.setData(g, !1))) : this.dataTable.modified = this.dataTable, e.dataLabels && c.dataLabels && (e.dataLabels = this.mergeArrays(c.dataLabels, e.dataLabels)), e = a(c, {
890
898
  index: c.index === void 0 ? i.index : c.index,
891
- pointStart: d?.series?.pointStart ?? c.pointStart
892
- }, !S && { data: i.options.data }, e, h), S && e.data && (e.data = i.options.data), b = p.concat(b), b.forEach(function(e) {
893
- b[e] = i[e], delete i[e];
899
+ pointStart: u?.series?.pointStart ?? c.pointStart
900
+ }, !x && { data: i.options.data }, e, m), x && e.data && (e.data = i.options.data), y = f.concat(y), y.forEach(function(e) {
901
+ y[e] = i[e], delete i[e];
894
902
  });
895
- let C = !1;
896
- if (Y[x]) {
897
- if (C = x !== i.type, i.remove(!1, !1, !1, !0), C) {
898
- if (s.propFromSeries(), Object.setPrototypeOf) Object.setPrototypeOf(i, Y[x].prototype);
903
+ let S = !1;
904
+ if (q[b]) {
905
+ if (S = b !== i.type, i.remove(!1, !1, !1, !0), S) {
906
+ if (s.propFromSeries(), Object.setPrototypeOf) Object.setPrototypeOf(i, q[b].prototype);
899
907
  else {
900
908
  let e = Object.hasOwnProperty.call(i, "hcEvents") && i.hcEvents;
901
- for (y in f) i[y] = void 0;
902
- w(i, Y[x].prototype), e ? i.hcEvents = e : delete i.hcEvents;
909
+ for (v in d) i[v] = void 0;
910
+ C(i, q[b].prototype), e ? i.hcEvents = e : delete i.hcEvents;
903
911
  }
904
912
  }
905
- } else A(17, !0, s, { missingModuleFor: x });
906
- if (b.forEach(function(e) {
907
- i[e] = b[e];
908
- }), i.init(s, e), S && this.points) {
909
- v = i.options, v.visible === !1 ? (g.graphic = 1, g.dataLabel = 1) : (this.hasMarkerChanged(v, c) && (g.graphic = 1), i.hasDataLabels?.() || (g.dataLabel = 1));
910
- for (let e of this.points) e?.series && (e.resolveColor(), Object.keys(g).length && e.destroyElements(g), v.showInLegend === !1 && e.legendItem && s.legend.destroyItem(e));
913
+ } else k(17, !0, s, { missingModuleFor: b });
914
+ if (y.forEach(function(e) {
915
+ i[e] = y[e];
916
+ }), i.init(s, e), x && this.points) {
917
+ _ = i.options, _.visible === !1 ? (h.graphic = 1, h.dataLabel = 1) : (this.hasMarkerChanged(_, c) && (h.graphic = 1), i.hasDataLabels?.() || (h.dataLabel = 1));
918
+ for (let e of this.points) e?.series && (e.resolveColor(), Object.keys(h).length && e.destroyElements(h), _.showInLegend === !1 && e.legendItem && s.legend.destroyItem(e));
911
919
  }
912
- i.initialType = l, s.linkSeries(), C && i.linkedSeries.length && (i.isDirtyData = !0), o(this, "afterUpdate"), u(n, !0) && s.redraw(S ? void 0 : !1);
920
+ i.initialType = l, s.linkSeries(), S && i.linkedSeries.length && (i.isDirtyData = !0), o(this, "afterUpdate"), (n ?? !0) && s.redraw(x ? void 0 : !1);
913
921
  }
914
922
  setName(e) {
915
923
  this.name = this.options.name = this.userOptions.name = e, this.chart.isDirtyLegend = !0;
916
924
  }
917
925
  hasOptionChanged(e) {
918
- let t = this.chart, n = this.options[e], r = t.options.plotOptions, i = this.userOptions[e], a = u(r?.[this.type]?.[e], r?.series?.[e]);
919
- return i && !j(a) ? n !== i : n !== u(a, n);
926
+ let t = this.chart, n = this.options[e], r = t.options.plotOptions, i = this.userOptions[e], a = r?.[this.type]?.[e] ?? r?.series?.[e];
927
+ return i && !A(a) ? n !== i : n !== (a ?? n);
920
928
  }
921
929
  onMouseOver() {
922
930
  let e = this, t = e.chart, n = t.hoverSeries;
@@ -929,7 +937,7 @@ var K = G, q = {
929
937
  });
930
938
  }
931
939
  setState(e, t) {
932
- let n = this, { graph: r, options: i } = n, { inactiveOtherPoints: a, states: o = {} } = i, s = u(o[e || "normal"]?.animation, n.chart.options.chart.animation), { lineWidth: c, opacity: l } = i;
940
+ let n = this, { graph: r, options: i } = n, { inactiveOtherPoints: a, states: o = {} } = i, s = o[e || "normal"]?.animation ?? n.chart.options.chart.animation, { lineWidth: c, opacity: l } = i;
933
941
  if (e ||= "", n.state !== e && ([
934
942
  n.group,
935
943
  n.markerGroup,
@@ -938,7 +946,7 @@ var K = G, q = {
938
946
  t && (n.state && t.removeClass("highcharts-series-" + n.state), e && t.addClass("highcharts-series-" + e));
939
947
  }), n.state = e, !n.chart.styledMode)) {
940
948
  if (o[e]?.enabled === !1) return;
941
- if (e && (c = o[e]?.lineWidth ?? (m(c) ? c + (o?.[e]?.lineWidthPlus || 0) : void 0), l = o[e]?.opacity ?? l), r && !r.dashstyle && m(c)) for (let e of [r, ...this.zones.map((e) => e.graph)]) e?.animate({ "stroke-width": c }, s);
949
+ if (e && (c = o[e]?.lineWidth ?? (p(c) ? c + (o?.[e]?.lineWidthPlus || 0) : void 0), l = o[e]?.opacity ?? l), r && !r.dashstyle && p(c)) for (let e of [r, ...this.zones.map((e) => e.graph)]) e?.animate({ "stroke-width": c }, s);
942
950
  a || [
943
951
  n.group,
944
952
  n.markerGroup,
@@ -987,16 +995,16 @@ var K = G, q = {
987
995
  }
988
996
  drawLegendSymbol(e, t) {
989
997
  let n = this.chart.renderer, r = this.options.legendSymbol || "rectangle", i = t.legendItem || {}, { options: a, symbolHeight: o, symbolWidth: s } = e, c = a.squareSymbol, l = c ? o : s, u = c ? (s - o) / 2 : 0, d = (e.baseline || 0) - o + 1, f = l, p = o, m = a.symbolRadius ?? o, h = r === "rectangle" ? n.rect(u, d, f, p, m) : n.symbols[r] && n.symbol(r, u, d, f, p, { r: m });
990
- h ? i.symbol = h.addClass("highcharts-point").attr({ zIndex: 3 }).add(i.group) : K[r]?.call(this, e, t);
998
+ h ? i.symbol = h.addClass("highcharts-point").attr({ zIndex: 3 }).add(i.group) : H[r]?.call(this, e, t);
991
999
  }
992
1000
  };
993
- X.defaultOptions = q, X.types = I.seriesTypes, X.registerType = I.registerSeriesType, X.keepProps = [
1001
+ Y.defaultOptions = ie, Y.types = P.seriesTypes, Y.registerType = P.registerSeriesType, Y.keepProps = [
994
1002
  "colorIndex",
995
1003
  "eventOptions",
996
1004
  "navigatorSeries",
997
1005
  "symbolIndex",
998
1006
  "baseSeries"
999
- ], X.keepPropsForPoints = [
1007
+ ], Y.keepPropsForPoints = [
1000
1008
  "data",
1001
1009
  "isDirtyData",
1002
1010
  "isDirtyCanvas",
@@ -1018,7 +1026,7 @@ X.defaultOptions = q, X.types = I.seriesTypes, X.registerType = I.registerSeries
1018
1026
  "minX",
1019
1027
  "maxX",
1020
1028
  "transformGroups"
1021
- ], w(X.prototype, {
1029
+ ], C(Y.prototype, {
1022
1030
  axisTypes: ["xAxis", "yAxis"],
1023
1031
  coll: "series",
1024
1032
  colorCounter: 0,
@@ -1027,69 +1035,57 @@ X.defaultOptions = q, X.types = I.seriesTypes, X.registerType = I.registerSeries
1027
1035
  isCartesian: !0,
1028
1036
  kdAxisArray: ["clientX", "plotY"],
1029
1037
  parallelArrays: ["x", "y"],
1030
- pointClass: P,
1038
+ pointClass: ee,
1031
1039
  requireSorting: !0,
1032
1040
  sorted: !0
1033
- }), I.series = X;
1041
+ }), P.series = Y;
1034
1042
  //#endregion
1035
1043
  //#region node_modules/highcharts/es-modules/Core/Axis/Stacking/StackItem.js
1036
- var { format: ae } = F, { series: oe } = I, se = class {
1037
- constructor(e, t, n, r, i) {
1038
- let a = e.chart.inverted, o = e.reversed;
1039
- this.axis = e;
1040
- let s = this.isNegative = !!n != !!o;
1041
- this.options = t ||= {}, this.x = r, this.total = null, this.cumulative = null, this.points = {}, this.hasValidPoints = !1, this.stack = i, this.leftCliff = 0, this.rightCliff = 0, this.alignOptions = {
1042
- align: t.align || (a ? s ? "left" : "right" : "center"),
1043
- verticalAlign: t.verticalAlign || (a ? "middle" : s ? "bottom" : "top"),
1044
- y: t.y,
1045
- x: t.x
1046
- }, this.textAlign = t.textAlign || (a ? s ? "right" : "left" : "center");
1044
+ var { format: ae } = N, { series: oe } = P, se = class {
1045
+ constructor(e, t, n, r) {
1046
+ this.axis = e, this.negativeValue = t, this.x = n, this.total = null, this.cumulative = null, this.points = {}, this.hasValidPoints = !1, this.stack = r, this.leftCliff = 0, this.rightCliff = 0;
1047
1047
  }
1048
1048
  destroy() {
1049
- p(this, this.axis);
1049
+ f(this, this.axis);
1050
1050
  }
1051
1051
  render(e) {
1052
- let t = this.axis.chart, n = this.options, r = n.format, i = (r ? ae(r, this, t) : n.formatter?.call(this, this)) || "";
1053
- if (this.label) this.label.attr({
1054
- text: i,
1052
+ let t = this.axis, n = t.chart, r = t.options.stackLabels || {}, i = r.format, a = (i ? ae(i, this, n) : r.formatter?.call(this, this)) || "", s = this.label ? "animate" : "attr";
1053
+ this.label ||= n.renderer.label(a, 0, void 0, r.shape, void 0, void 0, r.useHTML, !1, "stack-labels");
1054
+ let c = this.label, l = {
1055
+ r: r.borderRadius || 0,
1056
+ padding: r.padding ?? 5
1057
+ };
1058
+ n.styledMode || (l.fill = r.backgroundColor, l.stroke = r.borderColor, l["stroke-width"] = r.borderWidth, c.css(r.style || {})), c.attr({
1059
+ text: a,
1055
1060
  visibility: "hidden"
1056
- });
1057
- else {
1058
- this.label = t.renderer.label(i, null, void 0, n.shape, void 0, void 0, n.useHTML, !1, "stack-labels");
1059
- let r = {
1060
- r: n.borderRadius || 0,
1061
- text: i,
1062
- padding: u(n.padding, 5),
1063
- visibility: "hidden"
1064
- };
1065
- t.styledMode || (r.fill = n.backgroundColor, r.stroke = n.borderColor, r["stroke-width"] = n.borderWidth, this.label.css(n.style || {})), this.label.attr(r), this.label.added || this.label.add(e);
1066
- }
1067
- this.label.labelrank = t.plotSizeY, o(this, "afterRender");
1061
+ })[s](l), c.added || c.add(e), c.labelrank = n.plotSizeY, o(this, "afterRender");
1068
1062
  }
1069
1063
  setOffset(e, t, n, r, i, a) {
1070
- let { alignOptions: c, axis: l, label: d, options: f, textAlign: p } = this, h = l.chart, g = this.getStackBox({
1071
- xOffset: e,
1072
- width: t,
1064
+ let { axis: c, label: l } = this, u = c.chart, d = c.options.stackLabels || {}, f = u.inverted, m = this.negativeValue !== !!c.reversed, h = this.getStackBox({
1073
1065
  boxBottom: n,
1074
1066
  boxTop: r,
1075
1067
  defaultX: i,
1076
- xAxis: a
1077
- }), { verticalAlign: _ } = c;
1078
- if (d && g) {
1079
- let e = d.getBBox(void 0, 0), t = d.padding, n = u(f.overflow, "justify") === "justify", r;
1080
- c.x = f.x || 0, c.y = f.y || 0;
1081
- let { x: i, y: a } = this.adjustStackPosition({
1068
+ isNegative: m,
1069
+ width: t,
1070
+ xAxis: a,
1071
+ xOffset: e
1072
+ }), { align: g = f ? m ? "left" : "right" : "center", verticalAlign: _ = f ? "middle" : m ? "bottom" : "top", textAlign: v = f ? m ? "right" : "left" : "center", x: y = 0, y: b = 0 } = d, x = {
1073
+ align: g,
1074
+ verticalAlign: _,
1075
+ x: y,
1076
+ y: b
1077
+ };
1078
+ if (l && h) {
1079
+ let e = l.getBBox(void 0, 0), t = l.padding, n = (d.overflow ?? "justify") === "justify", r, { x: i, y: a } = this.adjustStackPosition({
1082
1080
  labelBox: e,
1083
1081
  verticalAlign: _,
1084
- textAlign: p
1082
+ textAlign: v
1085
1083
  });
1086
- g.x -= i, g.y -= a, d.align(c, !1, g), r = h.isInsidePlot(d.alignAttr.x + c.x + i, d.alignAttr.y + c.y + a), r || (n = !1), n && oe.prototype.justifyDataLabel.call(l, d, c, d.alignAttr, e, g), d.attr({
1087
- x: d.alignAttr.x,
1088
- y: d.alignAttr.y,
1089
- rotation: f.rotation,
1090
- rotationOriginX: e.width * s(f.textAlign || "center"),
1084
+ h.x -= i, h.y -= a, l.align(x, !1, h), r = u.isInsidePlot(l.alignAttr.x + y + i, l.alignAttr.y + b + a), r || (n = !1), n && oe.prototype.justifyDataLabel.call(c, l, x, l.alignAttr, e, h), l.attr({
1085
+ rotation: d.rotation,
1086
+ rotationOriginX: e.width * s(d.textAlign || "center"),
1091
1087
  rotationOriginY: e.height / 2
1092
- }), u(!n && f.crop, !0) && (r = m(d.x) && m(d.y) && h.isInsidePlot(d.x - t + (d.width || 0), d.y) && h.isInsidePlot(d.x + t, d.y)), d[r ? "show" : "hide"]();
1088
+ }), ((!n && d.crop) ?? !0) && (r = p(l.x) && p(l.y) && u.isInsidePlot(l.x - t + (l.width || 0), l.y) && u.isInsidePlot(l.x + t, l.y)), l[r ? "show" : "hide"]();
1093
1089
  }
1094
1090
  o(this, "afterSetOffset", {
1095
1091
  xOffset: e,
@@ -1103,17 +1099,17 @@ var { format: ae } = F, { series: oe } = I, se = class {
1103
1099
  };
1104
1100
  }
1105
1101
  getStackBox(e) {
1106
- let t = this, n = this.axis, r = n.chart, { boxTop: i, defaultX: a, xOffset: o, width: s, boxBottom: c } = e, l = n.stacking.usePercentage ? 100 : u(i, this.total, 0), d = n.toPixels(l), f = e.xAxis || r.xAxis[0], p = u(a, f.translate(this.x)) + o, h = n.toPixels(c || m(n.min) && n.logarithmic && n.logarithmic.lin2log(n.min) || 0), g = Math.abs(d - h), _ = r.inverted, v = t.isNegative;
1107
- return _ ? {
1108
- x: (v ? d : d - g) - r.plotLeft,
1109
- y: f.height - p - s + f.top - r.plotTop,
1110
- width: g,
1102
+ let t = this.axis, n = t.chart, { boxBottom: r, boxTop: i, defaultX: a, isNegative: o, width: s, xOffset: c } = e, l = t.stacking.usePercentage ? 100 : i ?? this.total ?? 0, u = t.toPixels(l), d = e.xAxis || n.xAxis[0], f = (a ?? d.translate(this.x)) + c, m = t.toPixels(r || p(t.min) && t.logarithmic && t.logarithmic.lin2log(t.min) || 0), h = Math.abs(u - m);
1103
+ return n.inverted ? {
1104
+ x: (o ? u : u - h) - n.plotLeft,
1105
+ y: d.height - f - s + d.top - n.plotTop,
1106
+ width: h,
1111
1107
  height: s
1112
1108
  } : {
1113
- x: p + f.transB - r.plotLeft,
1114
- y: (v ? d - g : d) - r.plotTop,
1109
+ x: f + d.transB - n.plotLeft,
1110
+ y: (o ? u - h : u) - n.plotTop,
1115
1111
  width: s,
1116
- height: g
1112
+ height: h
1117
1113
  };
1118
1114
  }
1119
1115
  }, ce = {
@@ -1145,10 +1141,10 @@ var { format: ae } = F, { series: oe } = I, se = class {
1145
1141
  tooltip: { distance: 6 },
1146
1142
  threshold: 0,
1147
1143
  borderColor: "var(--highcharts-background-color)"
1148
- }, { parse: le } = D, { noop: ue } = T, Z = class extends X {
1144
+ }, { parse: le } = E, { noop: X } = w, Z = class extends Y {
1149
1145
  animate(e) {
1150
1146
  let t = this, n = this.yAxis, r = n.pos, i = n.reversed, a = t.options, { clipOffset: o, inverted: s } = this.chart, c = {}, l = s ? "translateX" : "translateY", u, d;
1151
- e && o ? (c.scaleY = .001, d = M(n.toPixels(a.threshold || 0), r, r + n.len), s ? (d += i ? -Math.floor(o[+!!s]) : Math.ceil(o[s ? 3 : 2]), c.translateX = d - n.len) : (d += i ? Math.ceil(o[+!!s]) : -Math.floor(o[s ? 3 : 2]), c.translateY = d), t.clipBox && t.setClip(), t.group.attr(c)) : (u = Number(t.group.attr(l)), t.group.animate({ scaleY: 1 }, w(O(t.options.animation), { step: function(e, n) {
1147
+ e && o ? (c.scaleY = .001, d = j(n.toPixels(a.threshold || 0), r, r + n.len), s ? (d += i ? -Math.floor(o[+!!s]) : Math.ceil(o[s ? 3 : 2]), c.translateX = d - n.len) : (d += i ? Math.ceil(o[+!!s]) : -Math.floor(o[s ? 3 : 2]), c.translateY = d), t.clipBox && t.setClip(), t.group.attr(c)) : (u = Number(t.group.attr(l)), t.group.animate({ scaleY: 1 }, C(D(t.options.animation), { step: function(e, n) {
1152
1148
  t.group && (c[l] = u + n.pos * (r - u), t.group.attr(c));
1153
1149
  } })));
1154
1150
  }
@@ -1165,19 +1161,19 @@ var { format: ae } = F, { series: oe } = I, se = class {
1165
1161
  let n = t.yAxis, i = t.options, a;
1166
1162
  t.type === e.type && t.reserveSpace() && r.len === n.len && r.pos === n.pos && (i.stacking && i.stacking !== "group" ? (s = t.stackKey, o[s] === void 0 && (o[s] = c++), a = o[s]) : i.grouping !== !1 && (a = c++), t.columnIndex = a);
1167
1163
  });
1168
- let l = Math.min(Math.abs(n.transA) * (!n.brokenAxis?.hasBreaks && n.ordinal?.slope || t.pointRange || n.closestPointRange || n.tickInterval || 1), n.len), d = l * t.groupPadding, f = (l - 2 * d) / (c || 1), p = Math.min(t.maxPointWidth || n.len, u(t.pointWidth, f * (1 - 2 * t.pointPadding)));
1164
+ let l = Math.min(Math.abs(n.transA) * (!n.brokenAxis?.hasBreaks && n.ordinal?.slope || t.pointRange || n.closestPointRange || n.tickInterval || 1), n.len), u = l * t.groupPadding, d = (l - 2 * u) / (c || 1), f = Math.min(t.maxPointWidth || n.len, t.pointWidth ?? d * (1 - 2 * t.pointPadding));
1169
1165
  return e.columnMetrics = {
1170
- width: p,
1171
- offset: (f - p) / 2 + (d + ((e.columnIndex || 0) + +!!a) * f - l / 2) * (a ? -1 : 1),
1172
- paddedWidth: f,
1166
+ width: f,
1167
+ offset: (d - f) / 2 + (u + ((e.columnIndex || 0) + +!!a) * d - l / 2) * (a ? -1 : 1),
1168
+ paddedWidth: d,
1173
1169
  columnCount: c
1174
1170
  }, e.columnMetrics;
1175
1171
  }
1176
1172
  crispCol(e, t, n, r) {
1177
- let i = this.borderWidth, a = this.chart.inverted, o = f(t + r, i, a);
1178
- if (t = f(t, i, a), r = o - t, this.options.crisp) {
1179
- let t = f(e + n, i);
1180
- e = f(e, i), n = t - e;
1173
+ let i = this.borderWidth, a = this.chart.inverted, o = d(t + r, i, a);
1174
+ if (t = d(t, i, a), r = o - t, this.options.crisp) {
1175
+ let t = d(e + n, i);
1176
+ e = d(e, i), n = t - e;
1181
1177
  }
1182
1178
  return {
1183
1179
  x: e,
@@ -1191,11 +1187,11 @@ var { format: ae } = F, { series: oe } = I, se = class {
1191
1187
  let a = this.xAxis.series.filter((e) => e.visible).map((e) => e.index), o = 0, s = 0;
1192
1188
  i(this.xAxis.stacking?.stacks, (e) => {
1193
1189
  let t = typeof n.x == "number" ? e[n.x.toString()]?.points : void 0, r = t?.[this.index], i = {};
1194
- if (t && N(r)) {
1190
+ if (t && M(r)) {
1195
1191
  let e = this.index, n = Object.keys(t).filter((e) => !e.match(",") && t[e] && t[e].length > 1).map(parseFloat).filter((e) => a.indexOf(e) !== -1).filter((t) => {
1196
1192
  let n = this.chart.series[t].options, r = n.stacking && n.stack;
1197
- if (j(r)) {
1198
- if (m(i[r])) return e === t && (e = i[r]), !1;
1193
+ if (A(r)) {
1194
+ if (p(i[r])) return e === t && (e = i[r]), !1;
1199
1195
  i[r] = t;
1200
1196
  }
1201
1197
  return !0;
@@ -1209,16 +1205,16 @@ var { format: ae } = F, { series: oe } = I, se = class {
1209
1205
  return e;
1210
1206
  }
1211
1207
  translate() {
1212
- let e = this, t = e.chart, n = e.options, r = e.dense = e.closestPointRange * e.xAxis.transA < 2, i = e.borderWidth = n.borderWidth ?? +!r, a = e.xAxis, s = e.yAxis, c = n.threshold, l = n.minPointLength ?? 5, u = e.getColumnMetrics(), d = u.width, f = e.pointXOffset = u.offset, p = e.dataMin, h = e.dataMax, g = e.translatedThreshold = s.getThreshold(c), _ = e.barW = Math.max(d, 1 + 2 * i);
1213
- n.pointPadding && n.crisp && (_ = Math.ceil(_)), X.prototype.translate.apply(e), e.points.concat(e.condemnedPoints).forEach(function(r) {
1214
- let i = r.yBottom ?? g, o = 999 + Math.abs(i), v = r.plotX || 0, y = M(r.plotY, -o, s.len + o), b, x = Math.min(y, i), S = Math.max(y, i) - x, C = d, w = v + f, T = _;
1215
- l && Math.abs(S) < l && (S = l, b = !s.reversed && !r.negative || s.reversed && r.negative, m(c) && m(h) && r.y === c && h <= c && (s.min || 0) < c && (p !== h || (s.max || 0) <= c) && (b = !b, r.negative = !r.negative), x = Math.abs(x - g) > l ? i - (b ? l : 0) : g - (b ? l : 0)), j(r.options.pointWidth) && (C = T = Math.ceil(r.options.pointWidth), w -= Math.round((C - d) / 2)), n.centerInCategory && (w = e.adjustForMissingColumns(w, C, r, u)), r.barX = w, r.pointWidth = C, r.tooltipPos = t.inverted ? [
1216
- M(s.len + s.pos - t.plotLeft - y, s.pos - t.plotLeft, s.len + s.pos - t.plotLeft),
1208
+ let e = this, t = e.chart, n = e.options, r = e.dense = e.closestPointRange * e.xAxis.transA < 2, i = e.borderWidth = n.borderWidth ?? +!r, a = e.xAxis, s = e.yAxis, c = n.threshold, l = n.minPointLength ?? 5, u = e.getColumnMetrics(), d = u.width, f = e.pointXOffset = u.offset, m = e.dataMin, h = e.dataMax, g = e.translatedThreshold = s.getThreshold(c), _ = e.barW = Math.max(d, 1 + 2 * i);
1209
+ n.pointPadding && n.crisp && (_ = Math.ceil(_)), Y.prototype.translate.apply(e), e.points.concat(e.condemnedPoints).forEach(function(r) {
1210
+ let i = r.yBottom ?? g, o = 999 + Math.abs(i), v = r.plotX || 0, y = j(r.plotY, -o, s.len + o), b, x = Math.min(y, i), S = Math.max(y, i) - x, C = d, w = v + f, T = _;
1211
+ l && Math.abs(S) < l && (S = l, b = !s.reversed && !r.negative || s.reversed && r.negative, p(c) && p(h) && r.y === c && h <= c && (s.min || 0) < c && (m !== h || (s.max || 0) <= c) && (b = !b, r.negative = !r.negative), x = Math.abs(x - g) > l ? i - (b ? l : 0) : g - (b ? l : 0)), A(r.options.pointWidth) && (C = T = Math.ceil(r.options.pointWidth), w -= Math.round((C - d) / 2)), n.centerInCategory && (w = e.adjustForMissingColumns(w, C, r, u)), r.barX = w, r.pointWidth = C, r.tooltipPos = t.inverted ? [
1212
+ j(s.len + s.pos - t.plotLeft - y, s.pos - t.plotLeft, s.len + s.pos - t.plotLeft),
1217
1213
  a.len + a.pos - t.plotTop - w - T / 2,
1218
1214
  S
1219
1215
  ] : [
1220
1216
  a.left - t.plotLeft + w + T / 2,
1221
- M(y + s.pos - t.plotTop, s.pos - t.plotTop, s.len + s.pos - t.plotTop),
1217
+ j(y + s.pos - t.plotTop, s.pos - t.plotTop, s.len + s.pos - t.plotTop),
1222
1218
  S
1223
1219
  ], r.shapeType = e.pointClass.prototype.shapeType || "roundedRect", r.shapeArgs = e.crispCol(w, x, T, r.isNull ? 0 : S);
1224
1220
  }), o(this, "afterColumnTranslate");
@@ -1241,13 +1237,13 @@ var { format: ae } = F, { series: oe } = I, se = class {
1241
1237
  e ||= this.points.concat(this.condemnedPoints);
1242
1238
  let t = this, n = this.chart, r = t.options, i = r.nullInteraction, { styledMode: o, renderer: s } = n, c = r.animationLimit || 250, l;
1243
1239
  e.forEach(function(e) {
1244
- let u = e.plotY, d = e.graphic, f = !!d, p = d && n.pointCount < c ? "animate" : "attr";
1245
- if (m(u) && (e.y !== null || i)) {
1240
+ let u = e.plotY, d = e.graphic, f = !!d, m = d && n.pointCount < c ? "animate" : "attr";
1241
+ if (p(u) && (e.y !== null || i)) {
1246
1242
  if (l = e.shapeArgs, d && e.hasNewShapeType() && (d = d.destroy()), !d) {
1247
1243
  let r = l;
1248
- e.origin && n.pointCount < c && (r = a(l, e.getOrigin(e.origin, l)), o || (r.opacity = 0, r["stroke-width"] = 0), f = !0, p = "animate"), e.graphic = d = s[e.shapeType](r).add(e.group || t.group);
1244
+ e.origin && n.pointCount < c && (r = a(l, e.getOrigin(e.origin, l)), o || (r.opacity = 0, r["stroke-width"] = 0), f = !0, m = "animate"), e.graphic = d = s[e.shapeType](r).add(e.group || t.group);
1249
1245
  }
1250
- f && d[p](a(l)), o || d[p](t.pointAttribs(e, e.selected ? "select" : "")).shadow(e.allowShadow !== !1 && r.shadow), d.addClass(e.getClassName(), !0).attr({ visibility: e.visible ? "inherit" : "hidden" });
1246
+ f && d[m](a(l)), o || d[m](t.pointAttribs(e, e.selected ? "select" : "")).shadow(e.allowShadow !== !1 && r.shadow), d.addClass(e.getClassName(), !0).attr({ visibility: e.visible ? "inherit" : "hidden" });
1251
1247
  } else d && (e.graphic = d.destroy());
1252
1248
  });
1253
1249
  }
@@ -1258,7 +1254,7 @@ var { format: ae } = F, { series: oe } = I, se = class {
1258
1254
  r && i && t.options.enableMouseTracking && (n.isInsidePlot(e.chartX - n.plotLeft, e.chartY - n.plotTop, { visiblePlotOnly: !0 }) || t.allowOutsidePlotInteraction && r?.inClass(e.target, "highcharts-point") || r?.inClass(e.target, "highcharts-data-label")) && (r.isDirectTouch = !0, i.onMouseOver(e));
1259
1255
  }, a;
1260
1256
  e.forEach(function(e) {
1261
- a = N(e.dataLabels) ? e.dataLabels : e.dataLabel ? [e.dataLabel] : [], e.graphic && (e.graphic.element.point = e), a.forEach(function(t) {
1257
+ a = M(e.dataLabels) ? e.dataLabels : e.dataLabel ? [e.dataLabel] : [], e.graphic && (e.graphic.element.point = e), a.forEach(function(t) {
1262
1258
  (t.div || t.element).point = e;
1263
1259
  });
1264
1260
  }), t._hasTracking ||= (t.trackerGroups?.reduce((e, n) => (n === "dataLabelsGroup" ? e.push(...t.dataLabelsGroups || []) : e.push(t[n]), e), []).forEach((e) => {
@@ -1271,39 +1267,39 @@ var { format: ae } = F, { series: oe } = I, se = class {
1271
1267
  let e = this, t = e.chart;
1272
1268
  t.hasRendered && t.series.forEach(function(t) {
1273
1269
  t.type === e.type && (t.isDirty = !0);
1274
- }), X.prototype.remove.apply(e, arguments);
1270
+ }), Y.prototype.remove.apply(e, arguments);
1275
1271
  }
1276
1272
  };
1277
- Z.defaultOptions = a(X.defaultOptions, ce), w(Z.prototype, {
1273
+ Z.defaultOptions = a(Y.defaultOptions, ce), C(Z.prototype, {
1278
1274
  directTouch: !0,
1279
- getSymbol: ue,
1275
+ getSymbol: X,
1280
1276
  negStacks: !0,
1281
1277
  trackerGroups: ["group", "dataLabelsGroup"]
1282
- }), I.registerSeriesType("column", Z);
1278
+ }), P.registerSeriesType("column", Z);
1283
1279
  //#endregion
1284
1280
  //#region node_modules/highcharts/es-modules/Series/CenteredUtilities.js
1285
- var { deg2rad: Q } = T, $;
1281
+ var { deg2rad: Q } = w, $;
1286
1282
  (function(e) {
1287
1283
  function t() {
1288
- let e = this.options, t = this.chart, n = 2 * (e.slicedOffset || 0), r = t.plotWidth - 2 * n, i = t.plotHeight - 2 * n, a = e.center, s = Math.min(r, i), c = e.thickness, l, d = e.size, f = e.innerSize || 0, p, h;
1289
- typeof d == "string" && (d = parseFloat(d)), typeof f == "string" && (f = parseFloat(f));
1290
- let g = [
1291
- u(a?.[0], "50%"),
1292
- u(a?.[1], "50%"),
1293
- u(d && d < 0 ? void 0 : e.size, "100%"),
1294
- u(f && f < 0 ? void 0 : e.innerSize || 0, "0%")
1284
+ let e = this.options, t = this.chart, n = 2 * (e.slicedOffset || 0), r = t.plotWidth - 2 * n, i = t.plotHeight - 2 * n, a = e.center, s = Math.min(r, i), c = e.thickness, l, u = e.size, d = e.innerSize || 0, f, m;
1285
+ typeof u == "string" && (u = parseFloat(u)), typeof d == "string" && (d = parseFloat(d));
1286
+ let h = [
1287
+ a?.[0] ?? "50%",
1288
+ a?.[1] ?? "50%",
1289
+ (u && u < 0 ? void 0 : e.size) ?? "100%",
1290
+ (d && d < 0 ? void 0 : e.innerSize || 0) ?? "0%"
1295
1291
  ];
1296
- for (p = 0; p < 4; ++p) h = g[p], l = p < 2 || p === 2 && /%$/.test(h), g[p] = b(h, [
1292
+ for (f = 0; f < 4; ++f) m = h[f], l = f < 2 || f === 2 && /%$/.test(m), h[f] = y(m, [
1297
1293
  r,
1298
1294
  i,
1299
1295
  s,
1300
- g[2]
1301
- ][p]) + (l ? n : 0);
1302
- return g[3] > g[2] && (g[3] = g[2]), m(c) && c * 2 < g[2] && c > 0 && (g[3] = g[2] - c * 2), o(this, "afterGetCenter", { positions: g }), g;
1296
+ h[2]
1297
+ ][f]) + (l ? n : 0);
1298
+ return h[3] > h[2] && (h[3] = h[2]), p(c) && c * 2 < h[2] && c > 0 && (h[3] = h[2] - c * 2), o(this, "afterGetCenter", { positions: h }), h;
1303
1299
  }
1304
1300
  e.getCenter = t;
1305
1301
  function n(e, t) {
1306
- let n = m(e) ? e : 0, r = m(t) && t > n && t - n < 360 ? t : n + 360;
1302
+ let n = p(e) ? e : 0, r = p(t) && t > n && t - n < 360 ? t : n + 360;
1307
1303
  return {
1308
1304
  start: Q * (n + -90),
1309
1305
  end: Q * (r + -90)
@@ -1311,6 +1307,6 @@ var { deg2rad: Q } = T, $;
1311
1307
  }
1312
1308
  e.getStartAndEndRadians = n;
1313
1309
  })($ ||= {});
1314
- var de = $;
1310
+ var ue = $;
1315
1311
  //#endregion
1316
- export { K as a, X as i, Z as n, W as o, se as r, z as s, de as t };
1312
+ export { H as a, Y as i, Z as n, B as o, se as r, I as s, ue as t };