@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, J as t, K as n, M as r, N as i, Q as a, S as o, U as s, W as c, _ as l, b as u, c as d, et as f, g as p, h as m, j as h, k as g, lt as _, p as v, rt as y, st as b, t as x, w as S, y as C, z as w } from "./AnimationUtilities-CJw-tdb_.js";
2
- import { n as T, t as E } from "./SeriesRegistry-CXsAINSj.js";
3
- import { i as D, n as O, r as k, t as A } from "./CenteredUtilities-BTUT7_Ld.js";
4
- import { t as j } from "./BorderRadius-CqHYi9va.js";
1
+ import { $ as e, J as t, K as n, M as r, N as i, S as a, U as o, W as s, _ as c, b as l, c as u, et as d, g as f, h as p, j as m, k as h, lt as g, p as _, rt as v, st as y, t as b, w as x, y as S, z as C } from "./AnimationUtilities-eb22eIjK.js";
2
+ import { n as w, t as T } from "./SeriesRegistry-CDI1sm9L.js";
3
+ import { i as E, n as D, r as O, t as k } from "./CenteredUtilities-WO6ukK5m.js";
4
+ import { t as A } from "./BorderRadius-Cois3N8q.js";
5
5
  //#region node_modules/highcharts/es-modules/Series/AreaRange/AreaRangePoint.js
6
- var { area: { prototype: { pointClass: M, pointClass: { prototype: N } } } } = E.seriesTypes, ee = class extends M {
6
+ var { area: { prototype: { pointClass: j, pointClass: { prototype: M } } } } = T.seriesTypes, ee = class extends j {
7
7
  setState() {
8
8
  let e = this.state, t = this.series, n = t.chart.polar;
9
- S(this.plotHigh) || (this.plotHigh = t.yAxis.toPixels(this.high, !0)), S(this.plotLow) || (this.plotLow = this.plotY = t.yAxis.toPixels(this.low, !0)), t.lowerStateMarkerGraphic = t.stateMarkerGraphic, t.stateMarkerGraphic = t.upperStateMarkerGraphic, this.graphic = this.graphics && this.graphics[1], this.plotY = this.plotHigh, n && s(this.plotHighX) && (this.plotX = this.plotHighX), N.setState.apply(this, arguments), this.state = e, this.plotY = this.plotLow, this.graphic = this.graphics && this.graphics[0], n && s(this.plotLowX) && (this.plotX = this.plotLowX), t.upperStateMarkerGraphic = t.stateMarkerGraphic, t.stateMarkerGraphic = t.lowerStateMarkerGraphic, t.lowerStateMarkerGraphic = void 0;
9
+ x(this.plotHigh) || (this.plotHigh = t.yAxis.toPixels(this.high, !0)), x(this.plotLow) || (this.plotLow = this.plotY = t.yAxis.toPixels(this.low, !0)), t.lowerStateMarkerGraphic = t.stateMarkerGraphic, t.stateMarkerGraphic = t.upperStateMarkerGraphic, this.graphic = this.graphics && this.graphics[1], this.plotY = this.plotHigh, n && o(this.plotHighX) && (this.plotX = this.plotHighX), M.setState.apply(this, arguments), this.state = e, this.plotY = this.plotLow, this.graphic = this.graphics && this.graphics[0], n && o(this.plotLowX) && (this.plotX = this.plotLowX), t.upperStateMarkerGraphic = t.stateMarkerGraphic, t.stateMarkerGraphic = t.lowerStateMarkerGraphic, t.lowerStateMarkerGraphic = void 0;
10
10
  let r = t.modifyMarkerSettings();
11
- N.setState.apply(this, arguments), t.restoreMarkerSettings(r);
11
+ M.setState.apply(this, arguments), t.restoreMarkerSettings(r);
12
12
  }
13
13
  haloPath() {
14
14
  let e = this.series.chart.polar, t = [];
15
- return this.plotY = this.plotLow, e && s(this.plotLowX) && (this.plotX = this.plotLowX), this.isInside && (t = N.haloPath.apply(this, arguments)), this.plotY = this.plotHigh, e && s(this.plotHighX) && (this.plotX = this.plotHighX), this.isTopInside && (t = t.concat(N.haloPath.apply(this, arguments))), t;
15
+ return this.plotY = this.plotLow, e && o(this.plotLowX) && (this.plotX = this.plotLowX), this.isInside && (t = M.haloPath.apply(this, arguments)), this.plotY = this.plotHigh, e && o(this.plotHighX) && (this.plotX = this.plotHighX), this.isTopInside && (t = t.concat(M.haloPath.apply(this, arguments))), t;
16
16
  }
17
17
  isValid() {
18
- return s(this.low) && s(this.high);
18
+ return o(this.low) && o(this.high);
19
19
  }
20
- }, P;
20
+ }, N;
21
21
  (function(e) {
22
22
  let t = {
23
23
  close: ["plotClose"],
@@ -33,23 +33,23 @@ var { area: { prototype: { pointClass: M, pointClass: { prototype: N } } } } = E
33
33
  let r = t[n] ?? [];
34
34
  for (let t of r) {
35
35
  let n = e[t];
36
- if (s(n)) return n;
36
+ if (o(n)) return n;
37
37
  }
38
38
  }
39
39
  function r(e, t, r) {
40
40
  let i = n(e, "high"), a = n(e, "low");
41
- return s(i) && s(a) ? t.inside ? r === Math.min(i, a) : r === Math.max(i, a) : !1;
41
+ return o(i) && o(a) ? t.inside ? r === Math.min(i, a) : r === Math.max(i, a) : !1;
42
42
  }
43
43
  function i(e) {
44
44
  let t = e.prototype;
45
45
  return t.alignDataLabel = u, e;
46
46
  }
47
47
  e.compose = i;
48
- function a(e) {
49
- let t = e.alignToKey ? this.getNestedProperty(e.alignToKey) : this.y, n = s(t) ? t : this.y;
50
- return s(n) ? this.series.chart.numberFormatter(n, -1) : "";
48
+ function s(e) {
49
+ let t = e.alignToKey ? this.getNestedProperty(e.alignToKey) : this.y, n = o(t) ? t : this.y;
50
+ return o(n) ? this.series.chart.numberFormatter(n, -1) : "";
51
51
  }
52
- e.formatter = a;
52
+ e.formatter = s;
53
53
  function c(e) {
54
54
  let { alignToKey: t, format: n } = e;
55
55
  t && n && (e.format = n.replace(/\{(?:point\.)?y([:}])/g, "{point." + t + "$1"));
@@ -59,30 +59,30 @@ var { area: { prototype: { pointClass: M, pointClass: { prototype: N } } } } = E
59
59
  return t && e.pointArrayMap.indexOf(t) > -1 ? t : e.pointValKey;
60
60
  }
61
61
  e.resolveAlignToKey = l;
62
- function u(e, t, i, a, c) {
62
+ function u(e, t, i, s, c) {
63
63
  let u = this, d = n(e, l(u, i.alignToKey)), f = e.shapeArgs, p = e.plotY, m = e.dlBox, h = e.below;
64
- if (s(d)) {
64
+ if (o(d)) {
65
65
  e.plotY = d, f && !i.inside && (e.dlBox = {
66
66
  x: f.x ?? 0,
67
- y: o(d, u.borderWidth, u.chart.inverted),
67
+ y: a(d, u.borderWidth, u.chart.inverted),
68
68
  width: f.width ?? 0,
69
69
  height: 0
70
70
  });
71
71
  let t = e.below = r(e, i, d);
72
72
  u.chart.inverted ? i.align ??= t ? "right" : "left" : i.verticalAlign ??= t ? "top" : "bottom";
73
73
  }
74
- O.prototype.alignDataLabel.call(u, e, t, i, a, c), e.plotY = p, e.dlBox = m, e.below = h;
74
+ D.prototype.alignDataLabel.call(u, e, t, i, s, c), e.plotY = p, e.dlBox = m, e.below = h;
75
75
  }
76
76
  e.alignDataLabel = u;
77
- })(P ||= {});
78
- var F = P, { noop: te } = _, { area: I, area: { prototype: L } } = E.seriesTypes, R = {
77
+ })(N ||= {});
78
+ var P = N, { noop: te } = g, { area: F, area: { prototype: I } } = T.seriesTypes, ne = {
79
79
  lineWidth: 1,
80
80
  threshold: null,
81
81
  tooltip: { pointFormat: "<span style=\"color:{series.color}\">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>" },
82
82
  trackByArea: !0,
83
83
  dataLabels: {
84
84
  align: void 0,
85
- formatter: F.formatter,
85
+ formatter: P.formatter,
86
86
  verticalAlign: void 0,
87
87
  xLow: 0,
88
88
  xHigh: 0,
@@ -90,9 +90,9 @@ var F = P, { noop: te } = _, { area: I, area: { prototype: L } } = E.seriesTypes
90
90
  yHigh: 0
91
91
  }
92
92
  };
93
- function ne(e) {
93
+ function re(e) {
94
94
  let t = e.options.dataLabels;
95
- return w(t) ? Array.from({ length: Math.max(t.length, 2) }, (r, i) => {
95
+ return C(t) ? Array.from({ length: Math.max(t.length, 2) }, (r, i) => {
96
96
  let a = t[i], o = i === 0 ? "high" : i === 1 ? "low" : e.pointValKey, s = a?.alignToKey ?? o;
97
97
  return n(a ?? { enabled: !1 }, { alignToKey: s });
98
98
  }) : t?.alignToKey ? [n(t, t.alignToKey === "high" ? {
@@ -111,7 +111,7 @@ function ne(e) {
111
111
  y: t?.yLow
112
112
  })];
113
113
  }
114
- var z = class extends I {
114
+ var L = class extends F {
115
115
  toYData(e) {
116
116
  return [e.low, e.high];
117
117
  }
@@ -120,7 +120,7 @@ var z = class extends I {
120
120
  e.plotHighX = n.x - t.plotLeft, e.plotHigh = n.y - t.plotTop, e.plotLowX = e.plotX;
121
121
  }
122
122
  getGraphPath(e) {
123
- let t = [], n = [], r = L.getGraphPath, i = this.options, a = this.chart.polar, o = a && i.connectEnds !== !1, s = i.connectNulls, c, l, u, d = i.step;
123
+ let t = [], n = [], r = I.getGraphPath, i = this.options, a = this.chart.polar, o = a && i.connectEnds !== !1, s = i.connectNulls, c, l, u, d = i.step;
124
124
  for (e ||= this.points, c = e.length; c--;) {
125
125
  l = e[c];
126
126
  let r = a ? {
@@ -159,11 +159,11 @@ var z = class extends I {
159
159
  drawDataLabels() {
160
160
  let e = this, t = e.options.dataLabels;
161
161
  if (t) {
162
- let n = ne(e);
163
- n.forEach(F.applyAlignToKeyValue), e.options.dataLabels = n, L.drawDataLabels && L.drawDataLabels.call(e), e.options.dataLabels = t;
162
+ let n = re(e);
163
+ n.forEach(P.applyAlignToKeyValue), e.options.dataLabels = n, I.drawDataLabels && I.drawDataLabels.call(e), e.options.dataLabels = t;
164
164
  for (let t of e.points) {
165
165
  let n = t.dataLabels ?? [];
166
- t.dataLabelUpper = n.find((t) => F.resolveAlignToKey(e, t.options?.alignToKey) === "high"), t.dataLabel = n.find((t) => F.resolveAlignToKey(e, t.options?.alignToKey) === "low");
166
+ t.dataLabelUpper = n.find((t) => P.resolveAlignToKey(e, t.options?.alignToKey) === "high"), t.dataLabel = n.find((t) => P.resolveAlignToKey(e, t.options?.alignToKey) === "low");
167
167
  }
168
168
  }
169
169
  }
@@ -184,27 +184,27 @@ var z = class extends I {
184
184
  }
185
185
  drawPoints() {
186
186
  let e = this, t = e.points.length, n, r, i = e.modifyMarkerSettings();
187
- for (L.drawPoints.apply(e, arguments), e.restoreMarkerSettings(i), n = 0; n < t;) r = e.points[n], r.graphics = r.graphics || [], r.origProps = {
187
+ for (I.drawPoints.apply(e, arguments), e.restoreMarkerSettings(i), n = 0; n < t;) r = e.points[n], r.graphics = r.graphics || [], r.origProps = {
188
188
  plotY: r.plotY,
189
189
  plotX: r.plotX,
190
190
  isInside: r.isInside,
191
191
  negative: r.negative,
192
192
  zone: r.zone,
193
193
  y: r.y
194
- }, (r.graphic || r.graphics[0]) && (r.graphics[0] = r.graphic), r.graphic = r.graphics[1], r.plotY = r.plotHigh, S(r.plotHighX) && (r.plotX = r.plotHighX), r.y = r.high ?? r.origProps.y, r.negative = r.y < (e.options.threshold || 0), e.zones.length && (r.zone = r.getZone()), e.chart.polar || (r.isInside = r.isTopInside = r.plotY !== void 0 && r.plotY >= 0 && r.plotY <= e.yAxis.len && r.plotX >= 0 && r.plotX <= e.xAxis.len), n++;
195
- for (L.drawPoints.apply(e, arguments), n = 0; n < t;) r = e.points[n], r.graphics = r.graphics || [], (r.graphic || r.graphics[1]) && (r.graphics[1] = r.graphic), r.graphic = r.graphics[0], r.origProps && (g(r, r.origProps), delete r.origProps), n++;
194
+ }, (r.graphic || r.graphics[0]) && (r.graphics[0] = r.graphic), r.graphic = r.graphics[1], r.plotY = r.plotHigh, x(r.plotHighX) && (r.plotX = r.plotHighX), r.y = r.high ?? r.origProps.y, r.negative = r.y < (e.options.threshold || 0), e.zones.length && (r.zone = r.getZone()), e.chart.polar || (r.isInside = r.isTopInside = r.plotY !== void 0 && r.plotY >= 0 && r.plotY <= e.yAxis.len && r.plotX >= 0 && r.plotX <= e.xAxis.len), n++;
195
+ for (I.drawPoints.apply(e, arguments), n = 0; n < t;) r = e.points[n], r.graphics = r.graphics || [], (r.graphic || r.graphics[1]) && (r.graphics[1] = r.graphic), r.graphic = r.graphics[0], r.origProps && (h(r, r.origProps), delete r.origProps), n++;
196
196
  }
197
197
  hasMarkerChanged(e, t) {
198
198
  let n = e.lowMarker, r = t.lowMarker || {};
199
199
  return n && (n.enabled === !1 || r.symbol !== n.symbol || r.height !== n.height || r.width !== n.width) || super.hasMarkerChanged(e, t);
200
200
  }
201
201
  };
202
- z.defaultOptions = n(I.defaultOptions, R), m(z, "afterTranslate", function() {
202
+ L.defaultOptions = n(F.defaultOptions, ne), p(L, "afterTranslate", function() {
203
203
  this.pointArrayMap.join(",") === "low,high" && this.points.forEach((e) => {
204
204
  let t = e.high, n = e.plotY;
205
- e.isNull ? e.plotY = void 0 : (e.plotLow = n, e.plotHigh = s(t) ? this.yAxis.translate(this.dataModify ? this.dataModify.modifyValue(t) : t, !1, !0, void 0, !0) : void 0, this.dataModify && (e.yBottom = e.plotHigh));
205
+ e.isNull ? e.plotY = void 0 : (e.plotLow = n, e.plotHigh = o(t) ? this.yAxis.translate(this.dataModify ? this.dataModify.modifyValue(t) : t, !1, !0, void 0, !0) : void 0, this.dataModify && (e.yBottom = e.plotHigh));
206
206
  });
207
- }, { order: 0 }), m(z, "afterTranslate", function() {
207
+ }, { order: 0 }), p(L, "afterTranslate", function() {
208
208
  this.points.forEach((e) => {
209
209
  if (this.chart.polar) this.highToXY(e), e.plotLow = e.plotY, e.tooltipPos = [((e.plotHighX || 0) + (e.plotLowX || 0)) / 2, ((e.plotHigh || 0) + (e.plotLow || 0)) / 2];
210
210
  else {
@@ -212,25 +212,25 @@ z.defaultOptions = n(I.defaultOptions, R), m(z, "afterTranslate", function() {
212
212
  t && n && (t[0] = (t[0] + n[0]) / 2, t[1] = (t[1] + n[1]) / 2), e.tooltipPos = t;
213
213
  }
214
214
  });
215
- }, { order: 3 }), g(z.prototype, {
215
+ }, { order: 3 }), h(L.prototype, {
216
216
  deferTranslatePolar: !0,
217
217
  pointArrayMap: ["low", "high"],
218
218
  pointClass: ee,
219
219
  pointValKey: "low",
220
220
  setStackedPoints: te
221
- }), F.compose(z), E.registerSeriesType("arearange", z);
221
+ }), P.compose(L), T.registerSeriesType("arearange", L);
222
222
  //#endregion
223
223
  //#region node_modules/highcharts/es-modules/Series/AreaSplineRange/AreaSplineRangeSeries.js
224
- var { spline: { prototype: re } } = E.seriesTypes, B = class extends z {};
225
- B.defaultOptions = n(z.defaultOptions), g(B.prototype, { getPointSpline: re.getPointSpline }), E.registerSeriesType("areasplinerange", B);
224
+ var { spline: { prototype: ie } } = T.seriesTypes, R = class extends L {};
225
+ R.defaultOptions = n(L.defaultOptions), h(R.prototype, { getPointSpline: ie.getPointSpline }), T.registerSeriesType("areasplinerange", R);
226
226
  //#endregion
227
227
  //#region node_modules/highcharts/es-modules/Series/ColumnRange/ColumnRangePoint.js
228
- var { seriesTypes: { column: { prototype: { pointClass: { prototype: ie } } }, arearange: { prototype: { pointClass: ae } } } } = E, V = class extends ae {
228
+ var { seriesTypes: { column: { prototype: { pointClass: { prototype: z } } }, arearange: { prototype: { pointClass: ae } } } } = T, B = class extends ae {
229
229
  isValid() {
230
- return s(this.low);
230
+ return o(this.low);
231
231
  }
232
232
  };
233
- g(V.prototype, { setState: ie.setState });
233
+ h(B.prototype, { setState: z.setState });
234
234
  //#endregion
235
235
  //#region node_modules/highcharts/es-modules/Series/ColumnRange/ColumnRangeSeriesDefaults.js
236
236
  var oe = {
@@ -239,98 +239,98 @@ var oe = {
239
239
  legendSymbol: "rectangle",
240
240
  marker: null,
241
241
  states: { hover: { halo: !1 } }
242
- }, { noop: se } = _, { seriesTypes: { arearange: H, column: ce, column: { prototype: U } } } = E, W = class extends H {
242
+ }, { noop: se } = g, { seriesTypes: { arearange: V, column: ce, column: { prototype: H } } } = T, U = class extends V {
243
243
  setOptions() {
244
- return n(!0, arguments[0], { stacking: void 0 }), H.prototype.setOptions.apply(this, arguments);
244
+ return n(!0, arguments[0], { stacking: void 0 }), V.prototype.setOptions.apply(this, arguments);
245
245
  }
246
246
  translate() {
247
- return U.translate.apply(this);
247
+ return H.translate.apply(this);
248
248
  }
249
249
  pointAttribs() {
250
- return U.pointAttribs.apply(this, arguments);
250
+ return H.pointAttribs.apply(this, arguments);
251
251
  }
252
252
  translate3dPoints() {
253
- return U.translate3dPoints.apply(this, arguments);
253
+ return H.translate3dPoints.apply(this, arguments);
254
254
  }
255
255
  translate3dShapes() {
256
- return U.translate3dShapes.apply(this, arguments);
256
+ return H.translate3dShapes.apply(this, arguments);
257
257
  }
258
258
  afterColumnTranslate() {
259
- let e = this.yAxis, t = this.xAxis, r = t.startAngleRad, i = this.chart, o = this.xAxis.isRadial, c = Math.max(i.chartWidth, i.chartHeight) + 999, l, u, d, f;
260
- function p(e) {
261
- return C(e, -c, c);
259
+ let e = this.yAxis, t = this.xAxis, r = t.startAngleRad, i = this.chart, a = this.xAxis.isRadial, s = Math.max(i.chartWidth, i.chartHeight) + 999, c, l, u, d;
260
+ function f(e) {
261
+ return S(e, -s, s);
262
262
  }
263
- this.points.forEach((c) => {
264
- let m = c.shapeArgs || {}, h = this.options.minPointLength, g = c.plotY, _ = e.translate(c.high, 0, 1, 0, 1);
265
- if (s(_) && s(g)) {
266
- if (c.plotHigh = p(_), c.plotLow = p(g), f = c.plotHigh, l = a(c.rectPlotY, c.plotY) - c.plotHigh, Math.abs(l) < h ? (u = h - l, l += u, f -= u / 2) : l < 0 && (l *= -1, f -= l), o && this.polar) d = c.barX + r, c.shapeType = "arc", c.shapeArgs = this.polar.arc(f + l, f, d, d + (c.pointWidth || 0));
263
+ this.points.forEach((s) => {
264
+ let p = s.shapeArgs || {}, m = this.options.minPointLength, h = s.plotY, g = e.translate(s.high, 0, 1, 0, 1);
265
+ if (o(g) && o(h)) {
266
+ if (s.plotHigh = f(g), s.plotLow = f(h), d = s.plotHigh, c = (s.rectPlotY ?? s.plotY) - s.plotHigh, Math.abs(c) < m ? (l = m - c, c += l, d -= l / 2) : c < 0 && (c *= -1, d -= c), a && this.polar) u = s.barX + r, s.shapeType = "arc", s.shapeArgs = this.polar.arc(d + c, d, u, u + (s.pointWidth || 0));
267
267
  else {
268
- m.height = l, m.y = f;
269
- let { x: r = 0, width: a = 0 } = m;
270
- c.shapeArgs = n(c.shapeArgs, this.crispCol(r, f, a, l)), c.tooltipPos = i.inverted ? [
271
- e.len + e.pos - i.plotLeft - f - l / 2,
268
+ p.height = c, p.y = d;
269
+ let { x: r = 0, width: a = 0 } = p;
270
+ s.shapeArgs = n(s.shapeArgs, this.crispCol(r, d, a, c)), s.tooltipPos = i.inverted ? [
271
+ e.len + e.pos - i.plotLeft - d - c / 2,
272
272
  t.len + t.pos - i.plotTop - r - a / 2,
273
- l
273
+ c
274
274
  ] : [
275
275
  t.left - i.plotLeft + r + a / 2,
276
- e.pos - i.plotTop + f + l / 2,
277
- l
276
+ e.pos - i.plotTop + d + c / 2,
277
+ c
278
278
  ];
279
279
  }
280
280
  }
281
281
  });
282
282
  }
283
283
  };
284
- W.defaultOptions = n(ce.defaultOptions, H.defaultOptions, oe), m(W, "afterColumnTranslate", function() {
285
- W.prototype.afterColumnTranslate.apply(this);
286
- }, { order: 5 }), g(W.prototype, {
284
+ U.defaultOptions = n(ce.defaultOptions, V.defaultOptions, oe), p(U, "afterColumnTranslate", function() {
285
+ U.prototype.afterColumnTranslate.apply(this);
286
+ }, { order: 5 }), h(U.prototype, {
287
287
  directTouch: !0,
288
- pointClass: V,
288
+ pointClass: B,
289
289
  trackerGroups: ["group", "dataLabelsGroup"],
290
- adjustForMissingColumns: U.adjustForMissingColumns,
291
- animate: U.animate,
292
- crispCol: U.crispCol,
290
+ adjustForMissingColumns: H.adjustForMissingColumns,
291
+ animate: H.animate,
292
+ crispCol: H.crispCol,
293
293
  drawGraph: se,
294
- drawPoints: U.drawPoints,
294
+ drawPoints: H.drawPoints,
295
295
  getSymbol: se,
296
- drawTracker: U.drawTracker,
297
- getColumnMetrics: U.getColumnMetrics
298
- }), E.registerSeriesType("columnrange", W);
296
+ drawTracker: H.drawTracker,
297
+ getColumnMetrics: H.getColumnMetrics
298
+ }), T.registerSeriesType("columnrange", U);
299
299
  //#endregion
300
300
  //#region node_modules/highcharts/es-modules/Extensions/Pane/PaneComposition.js
301
301
  function le(e) {
302
302
  let t = this, n;
303
303
  return e && t.pane.forEach((r) => {
304
- G(e.chartX - t.plotLeft, e.chartY - t.plotTop, r.center) && (n = r);
304
+ W(e.chartX - t.plotLeft, e.chartY - t.plotTop, r.center) && (n = r);
305
305
  }), n;
306
306
  }
307
307
  function ue(e, t) {
308
308
  let n = e.prototype;
309
- n.getHoverPane || (n.collectionsWithUpdate.push("pane"), n.getHoverPane = le, m(e, "afterIsInsidePlot", de), m(t, "afterGetHoverData", fe), m(t, "beforeGetHoverData", pe));
309
+ n.getHoverPane || (n.collectionsWithUpdate.push("pane"), n.getHoverPane = le, p(e, "afterIsInsidePlot", de), p(t, "afterGetHoverData", fe), p(t, "beforeGetHoverData", pe));
310
310
  }
311
- function G(e, t, n, r, i) {
312
- let a = !0, o = n[0], s = n[1], c = 2 * Math.PI, l = Math.sqrt((e - o) ** 2 + (t - s) ** 2);
313
- if (S(r) && S(i)) {
314
- let n = Math.atan2(u(t - s, 8), u(e - o, 8));
311
+ function W(e, t, n, r, i) {
312
+ let a = !0, o = n[0], s = n[1], c = 2 * Math.PI, u = Math.sqrt((e - o) ** 2 + (t - s) ** 2);
313
+ if (x(r) && x(i)) {
314
+ let n = Math.atan2(l(t - s, 8), l(e - o, 8));
315
315
  n = (n + c) % c, r = (r + c) % c, i = (i + c) % c, Math.abs(i - r) > 1e-6 && (a = r > i ? n >= r || n <= i : n >= r && n <= i);
316
316
  } else a = !0;
317
- return l <= Math.ceil(n[2] / 2) && a;
317
+ return u <= Math.ceil(n[2] / 2) && a;
318
318
  }
319
319
  function de(e) {
320
320
  let t = this;
321
- t.polar && (e.options.inverted && ([e.x, e.y] = [e.y, e.x]), e.isInsidePlot = t.pane.some((t) => G(e.x, e.y, t.center, t.axis && t.axis.normalizedStartAngleRad, t.axis && t.axis.normalizedEndAngleRad)));
321
+ t.polar && (e.options.inverted && ([e.x, e.y] = [e.y, e.x]), e.isInsidePlot = t.pane.some((t) => W(e.x, e.y, t.center, t.axis && t.axis.normalizedStartAngleRad, t.axis && t.axis.normalizedEndAngleRad)));
322
322
  }
323
323
  function fe(e) {
324
324
  let t = this.chart;
325
- e.hoverPoint && e.hoverPoint.plotX && e.hoverPoint.plotY && t.hoverPane && !G(e.hoverPoint.plotX, e.hoverPoint.plotY, t.hoverPane.center) && (e.hoverPoint = void 0);
325
+ e.hoverPoint && e.hoverPoint.plotX && e.hoverPoint.plotY && t.hoverPane && !W(e.hoverPoint.plotX, e.hoverPoint.plotY, t.hoverPane.center) && (e.hoverPoint = void 0);
326
326
  }
327
327
  function pe(e) {
328
328
  let t = this.chart;
329
329
  t.polar ? (t.hoverPane = t.getHoverPane(e), e.filter = function(n) {
330
- return n.visible && !(!e.shared && n.directTouch) && a(n.options.enableMouseTracking, !0) && (!t.hoverPane || n.xAxis.pane === t.hoverPane);
330
+ return n.visible && !(!e.shared && n.directTouch) && (n.options.enableMouseTracking ?? !0) && (!t.hoverPane || n.xAxis.pane === t.hoverPane);
331
331
  }) : t.hoverPane = void 0;
332
332
  }
333
- var me = { compose: ue }, { defaultOptions: he } = d, ge = {
333
+ var me = { compose: ue }, { defaultOptions: he } = u, ge = {
334
334
  shape: "arc",
335
335
  borderRadius: void 0,
336
336
  borderWidth: 0,
@@ -347,7 +347,7 @@ he.pane = _e;
347
347
  var ve = {
348
348
  pane: _e,
349
349
  background: ge
350
- }, K = class {
350
+ }, G = class {
351
351
  constructor(e, t) {
352
352
  this.coll = "pane", this.init(e, t);
353
353
  }
@@ -368,45 +368,45 @@ var ve = {
368
368
  this.group ||= t.g("pane-group").attr({ zIndex: e.zIndex || 0 }).add(), this.updateCenter();
369
369
  let r = this.options.background;
370
370
  if (r) {
371
- r = y(r);
371
+ r = v(r);
372
372
  let e = Math.max(r.length, this.background.length || 0);
373
373
  for (let t = 0; t < e; t++) r[t] && this.axis ? this.renderBackground(n(ve.background, { borderRadius: this.options.borderRadius }, r[t]), t) : this.background[t] && (this.background[t] = this.background[t].destroy(), this.background.splice(t, 1));
374
374
  }
375
375
  }
376
376
  renderBackground(e, t) {
377
377
  let n = { class: "highcharts-pane " + (e.className || "") }, r = "animate";
378
- this.chart.styledMode || g(n, {
378
+ this.chart.styledMode || h(n, {
379
379
  fill: e.backgroundColor,
380
380
  stroke: e.borderColor,
381
381
  "stroke-width": e.borderWidth
382
382
  }), this.background[t] || (this.background[t] = this.chart.renderer.path().add(this.group), r = "attr"), this.background[t][r]({ d: this.axis.getPlotBandPath(e.from, e.to, e) }).attr(n);
383
383
  }
384
384
  updateCenter() {
385
- let { axis: e, chart: t, options: n } = this, { plotHeight: r, plotWidth: a } = t, o = n.center?.[1], c = n.margin, l = this.axis?.options.labels, u = n.thickness, d = Array.isArray(c) ? c : [
385
+ let { axis: e, chart: t, options: n } = this, { plotHeight: r, plotWidth: a } = t, s = n.center?.[1], c = n.margin, l = this.axis?.options.labels, u = n.thickness, f = Array.isArray(c) ? c : [
386
386
  c,
387
387
  c,
388
388
  c,
389
389
  c
390
- ], p = [], m = n.size, h, g = 0, _ = 0, v = Math.min(t.series.reduce((e, t) => {
390
+ ], p = [], m = n.size, h, g = 0, _ = 0, y = Math.min(t.series.reduce((e, t) => {
391
391
  if (!t.is("gauge") || t.yAxis?.pane !== this) return e;
392
- let n = y(t.options.dataLabels)[0], r = 0;
392
+ let n = v(t.options.dataLabels)[0], r = 0;
393
393
  return n && n.enabled !== !1 && (r = (1 - i(n.verticalAlign)) * 30 + (n.y || 0)), Math.max(e, r);
394
394
  }, 0), r * .3);
395
395
  if (l?.enabled) {
396
396
  let e = String(l.style?.fontSize || ""), t = (/px$/.test(e) ? parseFloat(e) : /em$/.test(e) ? parseFloat(e) * 12 : 12) * 1.2;
397
- _ = Math.max(l.distance || 0, 0) + t / 2;
397
+ _ = Math.max(l.distance ?? 15, 0) + t / 2;
398
398
  }
399
- if (d.forEach((e, t) => {
399
+ if (f.forEach((e, t) => {
400
400
  p[t] = e ?? Math.max(_ || 0);
401
- }), e && (m === void 0 || o === void 0)) {
402
- let { endAngleRad: t, startAngleRad: i } = e, o = Math.PI * 2 / 360, s = i < Math.PI / 2 && t > Math.PI / 2 || y(n.background).some((e) => e?.shape === "circle") ? Math.PI : Math.max(Math.abs(i + Math.PI / 2), Math.abs(t + Math.PI / 2)), c = Math.sin(s - Math.PI / 2), l = .5 + .5 * Math.max(c, Math.sin(o * 0));
401
+ }), e && (m === void 0 || s === void 0)) {
402
+ let { endAngleRad: t, startAngleRad: i } = e, o = Math.PI * 2 / 360, s = i < Math.PI / 2 && t > Math.PI / 2 || v(n.background).some((e) => e?.shape === "circle") ? Math.PI : Math.max(Math.abs(i + Math.PI / 2), Math.abs(t + Math.PI / 2)), c = Math.sin(s - Math.PI / 2), l = .5 + .5 * Math.max(c, Math.sin(o * 0));
403
403
  if (h = (r - p[0] - p[2]) / l, m === void 0) {
404
404
  m = Math.max(Math.min(h, a - p[1] - p[3]), 1);
405
- let e = m + p[0] + p[2] + 2 * (v - r);
405
+ let e = m + p[0] + p[2] + 2 * (y - r);
406
406
  e > 0 && (g = e, m = Math.max(1, m - g));
407
407
  }
408
408
  }
409
- this.center = (e || {}).center = A.getCenter.call(this), s(m) && m >= 0 && (this.center[2] = m, s(u) ? this.center[3] = this.center[2] - u * 2 : this.center[3] = Math.min(m, f(n.innerSize || 0, m))), S(o) || (n.size ? this.center[1] = r / 2 : s(h) && (this.center[1] = (h + this.center[2] - g) / 4 + p[0]));
409
+ this.center = (e || {}).center = k.getCenter.call(this), o(m) && m >= 0 && (this.center[2] = m, o(u) ? this.center[3] = this.center[2] - u * 2 : this.center[3] = Math.min(m, d(n.innerSize || 0, m))), x(s) || (n.size ? this.center[1] = r / 2 : o(h) && (this.center[1] = (h + this.center[2] - g) / 4 + p[0]));
410
410
  }
411
411
  update(e, t) {
412
412
  n(!0, this.options, e), this.setOptions(this.options), this.render(), this.chart.axes.forEach(function(e) {
@@ -414,7 +414,7 @@ var ve = {
414
414
  }, this);
415
415
  }
416
416
  };
417
- K.compose = me.compose;
417
+ G.compose = me.compose;
418
418
  //#endregion
419
419
  //#region node_modules/highcharts/es-modules/Core/Axis/RadialAxisDefaults.js
420
420
  var ye = {
@@ -469,117 +469,117 @@ var ye = {
469
469
  },
470
470
  zIndex: 2
471
471
  }
472
- }, { defaultOptions: q } = d, { composed: be, noop: J } = _, xe;
472
+ }, { defaultOptions: K } = u, { composed: be, noop: q } = g, xe;
473
473
  (function(t) {
474
474
  t.radialDefaultOptions = n(ye);
475
475
  function i() {
476
- this.autoConnect = this.isCircular && a(this.userMax, this.options.max) === void 0 && u(this.endAngleRad - this.startAngleRad) === u(2 * Math.PI), !this.isCircular && this.chart.inverted && this.max++, this.autoConnect && s(this.max) && (this.max += this.categories && 1 || this.pointRange || this.closestPointRange || 0);
476
+ this.autoConnect = this.isCircular && (this.userMax ?? this.options.max) === void 0 && l(this.endAngleRad - this.startAngleRad) === l(2 * Math.PI), !this.isCircular && this.chart.inverted && this.max++, this.autoConnect && o(this.max) && (this.max += this.categories && 1 || this.pointRange || this.closestPointRange || 0);
477
477
  }
478
- function o(t, n) {
479
- return e(be, "Axis.Radial") && (m(t, "afterInit", k), m(t, "afterTickSize", A), m(t, "autoLabelAlign", M), m(t, "destroy", N), m(t, "init", ee), m(t, "initialAxisTranslation", P), m(n, "afterGetLabelPosition", F), m(n, "afterGetPosition", te), m(_, "setOptions", I), b(t.prototype, "getMinorTickInterval", B), b(n.prototype, "getMarkPath", ie)), t;
478
+ function a(t, n) {
479
+ return e(be, "Axis.Radial") && (p(t, "afterInit", j), p(t, "afterTickSize", M), p(t, "autoLabelAlign", ee), p(t, "destroy", N), p(t, "init", P), p(t, "initialAxisTranslation", te), p(n, "afterGetLabelPosition", F), p(n, "afterGetPosition", I), p(g, "setOptions", ne), y(t.prototype, "getMinorTickInterval", ae), y(n.prototype, "getMarkPath", B)), t;
480
480
  }
481
- t.compose = o;
482
- function l() {
481
+ t.compose = a;
482
+ function c() {
483
483
  return () => {
484
484
  if (this.isRadial && this.tickPositions && this.options.labels && this.options.labels.allowOverlap !== !0) return this.tickPositions.map((e) => this.ticks[e]?.label).filter((e) => !!e);
485
485
  };
486
486
  }
487
- function d() {
488
- return J;
487
+ function u() {
488
+ return q;
489
489
  }
490
- function p(e, t, n) {
490
+ function f(e, t, n) {
491
491
  let r = this.pane.center, i = e.value, a, o, s, c;
492
- return this.isCircular ? (S(i) ? e.point && (a = e.point.shapeArgs || {}, a.start && (i = this.chart.inverted ? this.translate(e.point.rectPlotY, !0) : e.point.x)) : (s = e.chartX || 0, c = e.chartY || 0, i = this.translate(Math.atan2(c - n, s - t) - this.startAngleRad, !0)), o = this.getPosition(i), s = o.x, c = o.y) : (S(i) || (s = e.chartX, c = e.chartY), S(s) && S(c) && (n = r[1] + this.chart.plotTop, i = this.translate(Math.min(Math.sqrt((s - t) ** 2 + (c - n) ** 2), r[2] / 2) - r[3] / 2, !0))), [
492
+ return this.isCircular ? (x(i) ? e.point && (a = e.point.shapeArgs || {}, a.start && (i = this.chart.inverted ? this.translate(e.point.rectPlotY, !0) : e.point.x)) : (s = e.chartX || 0, c = e.chartY || 0, i = this.translate(Math.atan2(c - n, s - t) - this.startAngleRad, !0)), o = this.getPosition(i), s = o.x, c = o.y) : (x(i) || (s = e.chartX, c = e.chartY), x(s) && x(c) && (n = r[1] + this.chart.plotTop, i = this.translate(Math.min(Math.sqrt((s - t) ** 2 + (c - n) ** 2), r[2] / 2) - r[3] / 2, !0))), [
493
493
  i,
494
494
  s || 0,
495
495
  c || 0
496
496
  ];
497
497
  }
498
- function h(e, t, n) {
499
- let r = this.pane.center, i = this.chart, o = this.left || 0, s = this.top || 0, c, l, u = a(t, r[2] / 2 - this.offset);
500
- return n ??= this.horiz ? 0 : this.center && -this.center[3] / 2, n && n > 0 && (u += n), this.isCircular || t !== void 0 ? (l = this.chart.renderer.symbols.arc(o + r[0], s + r[1], u, u, {
498
+ function m(e, t, n) {
499
+ let r = this.pane.center, i = this.chart, a = this.left || 0, o = this.top || 0, s, c, l = t ?? r[2] / 2 - this.offset;
500
+ return n ??= this.horiz ? 0 : this.center && -this.center[3] / 2, n && n > 0 && (l += n), this.isCircular || t !== void 0 ? (c = this.chart.renderer.symbols.arc(a + r[0], o + r[1], l, l, {
501
501
  start: this.startAngleRad,
502
502
  end: this.endAngleRad,
503
503
  open: !0,
504
504
  innerR: 0
505
- }), l.xBounds = [o + r[0]], l.yBounds = [s + r[1] - u]) : (c = this.postTranslate(this.angleRad, u), l = [[
505
+ }), c.xBounds = [a + r[0]], c.yBounds = [o + r[1] - l]) : (s = this.postTranslate(this.angleRad, l), c = [[
506
506
  "M",
507
507
  this.center[0] + i.plotLeft,
508
508
  this.center[1] + i.plotTop
509
509
  ], [
510
510
  "L",
511
- c.x,
512
- c.y
513
- ]]), l;
511
+ s.x,
512
+ s.y
513
+ ]]), c;
514
514
  }
515
- function v() {
515
+ function _() {
516
516
  this.constructor.prototype.getOffset.call(this);
517
517
  let e = this.options.offset ?? (this.pane.hasSeriesType("gauge") ? "-20%" : void 0);
518
- S(e) && (this.offset = f(e, this.center[2] / 2) * -1), this.chart.axisOffset[this.side] = 0;
518
+ x(e) && (this.offset = d(e, this.center[2] / 2) * -1), this.chart.axisOffset[this.side] = 0;
519
519
  }
520
- function x(e, t, n) {
520
+ function b(e, t, n) {
521
521
  let r = this.chart, i = (e) => {
522
522
  if (typeof e == "string") {
523
523
  let t = parseInt(e, 10);
524
- return h.test(e) && (t = t * d / 100), t;
524
+ return m.test(e) && (t = t * u / 100), t;
525
525
  }
526
526
  return e;
527
- }, o = this.center, { endAngleRad: c, startAngleRad: l } = this, u = j(n.borderRadius ?? this.pane.options.borderRadius), d = o[2] / 2, f = Math.min(this.offset || 0, 0), p = this.left || 0, m = this.top || 0, h = /%$/, g = this.isCircular, _ = this.options.plotBands || [], v = _.indexOf(n), y, b, x, S, C, w, T = a(i(n.outerRadius), d), E = i(n.innerRadius), D = i(n.thickness), O = !0, k = !0;
528
- if (u.radius && u.scope === "stack" && v > -1 && (_[v - 1] && _[v - 1].to === e && (O = !1), _[v + 1] && _[v + 1].from === t && (k = !1)), this.options.gridLineInterpolation === "polygon") w = this.getPlotLinePath({ value: e }).concat(this.getPlotLinePath({
527
+ }, a = this.center, { endAngleRad: s, startAngleRad: c } = this, l = A(n.borderRadius ?? this.pane.options.borderRadius), u = a[2] / 2, d = Math.min(this.offset || 0, 0), f = this.left || 0, p = this.top || 0, m = /%$/, h = this.isCircular, g = this.options.plotBands || [], _ = g.indexOf(n), v, y, b, x, S, C, w = i(n.outerRadius) ?? u, T = i(n.innerRadius), E = i(n.thickness), D = !0, O = !0;
528
+ if (l.radius && l.scope === "stack" && _ > -1 && (g[_ - 1] && g[_ - 1].to === e && (D = !1), g[_ + 1] && g[_ + 1].from === t && (O = !1)), this.options.gridLineInterpolation === "polygon") C = this.getPlotLinePath({ value: e }).concat(this.getPlotLinePath({
529
529
  value: t,
530
530
  reverse: !0
531
531
  }));
532
532
  else {
533
- s(this.min) && (e = Math.max(e, this.min)), s(this.max) && (t = Math.min(t, this.max));
534
- let i = this.translate(e), d = this.translate(t);
535
- g || (T = i || 0, E = d || 0), !s(this.min) && !s(this.max) && !n.color && !n.className ? (y = l, b = c) : n.shape === "circle" || !g ? (y = -Math.PI / 2, b = Math.PI * 1.5, C = !0) : (y = l + (i || 0), b = l + (d || 0)), T -= f, s(D) && (D -= f), w = r.renderer.symbols.arc(p + o[0], m + o[1], T, T, {
536
- start: Math.min(y, b),
537
- end: Math.max(y, b),
538
- innerR: a(E, s(D) ? T - D : void 0, this.center[3] / 2),
539
- open: C,
540
- borderRadius: u.radius,
541
- brStart: O,
542
- brEnd: k
543
- }), g && (x = (b + y) / 2, S = p + o[0] + o[2] / 2 * Math.cos(x), w.xBounds = x > -Math.PI / 2 && x < Math.PI / 2 ? [S, r.plotWidth] : [0, S], w.yBounds = [m + o[1] + o[2] / 2 * Math.sin(x)], w.yBounds[0] += x > -Math.PI && x < 0 || x > Math.PI ? -10 : 10);
533
+ o(this.min) && (e = Math.max(e, this.min)), o(this.max) && (t = Math.min(t, this.max));
534
+ let i = this.translate(e), u = this.translate(t);
535
+ h || (w = i || 0, T = u || 0), !o(this.min) && !o(this.max) && !n.color && !n.className ? (v = c, y = s) : n.shape === "circle" || !h ? (v = -Math.PI / 2, y = Math.PI * 1.5, S = !0) : (v = c + (i || 0), y = c + (u || 0)), w -= d, o(E) && (E -= d), C = r.renderer.symbols.arc(f + a[0], p + a[1], w, w, {
536
+ start: Math.min(v, y),
537
+ end: Math.max(v, y),
538
+ innerR: T ?? (o(E) ? w - E : this.center[3] / 2),
539
+ open: S,
540
+ borderRadius: l.radius,
541
+ brStart: D,
542
+ brEnd: O
543
+ }), h && (b = (y + v) / 2, x = f + a[0] + a[2] / 2 * Math.cos(b), C.xBounds = b > -Math.PI / 2 && b < Math.PI / 2 ? [x, r.plotWidth] : [0, x], C.yBounds = [p + a[1] + a[2] / 2 * Math.sin(b)], C.yBounds[0] += b > -Math.PI && b < 0 || b > Math.PI ? -10 : 10);
544
544
  }
545
- return w;
545
+ return C;
546
546
  }
547
- function w(e) {
548
- let t = this.pane.center, n = this.chart, r = n.inverted, i = e.reverse, a = this.pane.options.background, o = a ? y(a)[0] : {}, s = o.innerRadius || "0%", c = o.outerRadius || "100%", l = t[0] + n.plotLeft, u = t[1] + n.plotTop, d = this.height, p = e.isCrosshair, m = t[3] / 2, h = n.time.parse(e.value) || 0, g, _, v, b, x, S, w, T, E, D = this.getPosition(h, t[2] / 2 + (this.isCircular ? this.offset : 0)), O = D.x, k = D.y;
549
- if (p && (T = this.getCrosshairPosition(e, l, u), h = T[0] || 0, O = T[1], k = T[2]), this.isCircular) _ = Math.sqrt((O - l) ** 2 + (k - u) ** 2), v = typeof s == "string" ? f(s, 1) : s / _, b = typeof c == "string" ? f(c, 1) : c / _, t && m && (g = m / _, v < g && (v = g), b < g && (b = g)), E = [[
547
+ function C(e) {
548
+ let t = this.pane.center, n = this.chart, r = n.inverted, i = e.reverse, a = this.pane.options.background, o = a ? v(a)[0] : {}, s = o.innerRadius || "0%", c = o.outerRadius || "100%", l = t[0] + n.plotLeft, u = t[1] + n.plotTop, f = this.height, p = e.isCrosshair, m = t[3] / 2, h = n.time.parse(e.value) || 0, g, _, y, b, x, C, w, T, E, D = this.getPosition(h, t[2] / 2 + (this.isCircular ? this.offset : 0)), O = D.x, k = D.y;
549
+ if (p && (T = this.getCrosshairPosition(e, l, u), h = T[0] || 0, O = T[1], k = T[2]), this.isCircular) _ = Math.sqrt((O - l) ** 2 + (k - u) ** 2), y = typeof s == "string" ? d(s, 1) : s / _, b = typeof c == "string" ? d(c, 1) : c / _, t && m && (g = m / _, y < g && (y = g), b < g && (b = g)), E = [[
550
550
  "M",
551
- l + v * (O - l),
552
- u - v * (u - k)
551
+ l + y * (O - l),
552
+ u - y * (u - k)
553
553
  ], [
554
554
  "L",
555
555
  O - (1 - b) * (O - l),
556
556
  k + (1 - b) * (u - k)
557
557
  ]];
558
558
  else {
559
- let e = C(this.translate(h), 0, d);
559
+ let e = S(this.translate(h), 0, f);
560
560
  if (this.options.gridLineInterpolation === "circle") E = this.getLinePath(0, e, m);
561
561
  else if (E = [], n[r ? "yAxis" : "xAxis"].forEach((e) => {
562
562
  e.pane === this.pane && (x = e);
563
563
  }), x) {
564
564
  w = x.tickPositions, x.autoConnect && (w = w.concat([w[0]])), i && (w = w.slice().reverse()), e && (e += m);
565
- for (let t = 0; t < w.length; t++) S = x.getPosition(w[t], e), E.push(t ? [
565
+ for (let t = 0; t < w.length; t++) C = x.getPosition(w[t], e), E.push(t ? [
566
566
  "L",
567
- S.x,
568
- S.y
567
+ C.x,
568
+ C.y
569
569
  ] : [
570
570
  "M",
571
- S.x,
572
- S.y
571
+ C.x,
572
+ C.y
573
573
  ]);
574
574
  }
575
575
  }
576
576
  return E;
577
577
  }
578
- function T(e, t) {
579
- let n = this.translate(e);
580
- return this.postTranslate(this.isCircular ? n : this.angleRad, a(this.isCircular ? t : n < 0 ? 0 : n, this.center[2] / 2) - this.offset);
578
+ function w(e, t) {
579
+ let n = this.translate(e), r = (this.center && this.center[2] || 0) / 2;
580
+ return this.postTranslate(this.isCircular ? n : this.angleRad, (this.isCircular ? t ?? r : typeof n == "number" && n < 0 ? 0 : n ?? r) - this.offset);
581
581
  }
582
- function E() {
582
+ function T() {
583
583
  let e = this.center, t = this.chart, n = this.options.title;
584
584
  return {
585
585
  x: t.plotLeft + e[0] + (n.x || 0),
@@ -590,28 +590,55 @@ var ye = {
590
590
  }[n.align] * e[2] + (n.y || 0)
591
591
  };
592
592
  }
593
+ function E(e) {
594
+ e.unmodifiedProps ||= [
595
+ "beforeSetTickPositions",
596
+ "createLabelCollector",
597
+ "getCrosshairPosition",
598
+ "getLinePath",
599
+ "getOffset",
600
+ "getPlotBandPath",
601
+ "getPlotLinePath",
602
+ "getPosition",
603
+ "getTitlePosition",
604
+ "isHidden",
605
+ "postTranslate",
606
+ "redraw",
607
+ "render",
608
+ "setAxisSize",
609
+ "setAxisTranslation",
610
+ "setCategories",
611
+ "setOptions",
612
+ "setScale",
613
+ "setTitle"
614
+ ].reduce((t, n) => (t[n] = e[n], t), {});
615
+ }
593
616
  function D(e) {
594
- e.beforeSetTickPositions = i, e.createLabelCollector = l, e.getCrosshairPosition = p, e.getLinePath = h, e.getOffset = v, e.getPlotBandPath = x, e.getPlotLinePath = w, e.getPosition = T, e.getTitlePosition = E, e.postTranslate = L, e.setAxisSize = ne, e.setAxisTranslation = z, e.setOptions = re;
617
+ let t = e.unmodifiedProps;
618
+ s(t) && (h(e, t), delete e.unmodifiedProps);
595
619
  }
596
620
  function O(e) {
597
- e.isHidden = !0, e.createLabelCollector = d, e.getOffset = J, e.redraw = R, e.render = R, e.setCategories = J, e.setTitle = J;
621
+ e.beforeSetTickPositions = i, e.createLabelCollector = c, e.getCrosshairPosition = f, e.getLinePath = m, e.getOffset = _, e.getPlotBandPath = b, e.getPlotLinePath = C, e.getPosition = w, e.getTitlePosition = T, e.postTranslate = re, e.setAxisSize = ie, e.setAxisTranslation = R, e.setOptions = z;
598
622
  }
599
- function k() {
623
+ function k(e) {
624
+ e.isHidden = !0, e.createLabelCollector = u, e.getOffset = q, e.redraw = L, e.render = L, e.setCategories = q, e.setTitle = q;
625
+ }
626
+ function j() {
600
627
  let e = this.chart, t = this.options, n = e.angular && this.isXAxis, r = this.pane, i = r?.options;
601
628
  if (!n && r && (e.angular || e.polar)) {
602
- let n = Math.PI * 2, r = i.startAngle ?? (e.angular ? -135 : 0), o = (r - 90) * Math.PI / 180, s = (a(i.endAngle, r + (e.angular ? 270 : 360)) - 90) * Math.PI / 180;
603
- this.angleRad = (t.angle || 0) * Math.PI / 180, this.startAngleRad = o, this.endAngleRad = s;
604
- let c = (o % n + n) % n, l = (s % n + n) % n;
605
- c > Math.PI && (c -= n), l > Math.PI && (l -= n), this.normalizedStartAngleRad = c, this.normalizedEndAngleRad = l;
629
+ let n = Math.PI * 2, r = i.startAngle ?? (e.angular ? -135 : 0), a = (r - 90) * Math.PI / 180, o = ((i.endAngle ?? r + (e.angular ? 270 : 360)) - 90) * Math.PI / 180;
630
+ this.angleRad = (t.angle || 0) * Math.PI / 180, this.startAngleRad = a, this.endAngleRad = o;
631
+ let s = (a % n + n) % n, c = (o % n + n) % n;
632
+ s > Math.PI && (s -= n), c > Math.PI && (c -= n), this.normalizedStartAngleRad = s, this.normalizedEndAngleRad = c;
606
633
  }
607
634
  }
608
- function A(e) {
635
+ function M(e) {
609
636
  if (this.chart.angular) {
610
637
  let { options: t, pane: n } = this;
611
638
  n.hasSeriesType("gauge") && (e.tickSize = [t[`${e.prefix}Length`] ?? 10, t[`${e.prefix}Width`] ?? 1], t[`${e.prefix}Position`] === "inside" && (e.tickSize[0] *= -1));
612
639
  }
613
640
  }
614
- function M(e) {
641
+ function ee(e) {
615
642
  this.isRadial && (e.align = void 0, e.preventDefault());
616
643
  }
617
644
  function N() {
@@ -620,70 +647,71 @@ var ye = {
620
647
  e >= 0 && this.chart.labelCollectors.splice(e, 1);
621
648
  }
622
649
  }
623
- function ee(e) {
650
+ function P(e) {
624
651
  let t = this.chart, n = t.angular, r = t.polar, i = this.isXAxis, a = this.coll, o = n && i, s = e.userOptions.pane || 0, c = this.pane = t.pane && t.pane[s], l;
625
652
  if (a === "colorAxis") {
626
653
  this.isRadial = !1;
627
654
  return;
628
655
  }
629
- n ? (o ? O(this) : D(this), l = !i) : r && (D(this), l = this.horiz), n || r ? (this.isRadial = !0, this.labelCollector ||= this.createLabelCollector(), this.labelCollector && t.labelCollectors.push(this.labelCollector)) : this.isRadial = !1, c && l && (c.axis = this), this.isCircular = l;
656
+ E(this), n ? (o ? k(this) : O(this), l = !i) : r ? (O(this), l = this.horiz) : D(this), n || r ? (this.isRadial = !0, this.labelCollector ||= this.createLabelCollector(), this.labelCollector && t.labelCollectors.push(this.labelCollector)) : this.isRadial = !1, c && l && (c.axis = this), this.isCircular = l;
630
657
  }
631
- function P() {
658
+ function te() {
632
659
  this.isRadial && this.beforeSetTickPositions?.();
633
660
  }
634
661
  function F(e) {
635
662
  let t = this.label;
636
663
  if (!t) return;
637
- let n = this.axis, r = t.getBBox(), i = n.options.labels, a = (n.translate(this.pos) + n.startAngleRad + Math.PI / 2) / Math.PI * 180 % 360, o = Math.round(a), s = S(i.y) ? 0 : -r.height * .3, c = i.y, l, u = 20, d = i.align, p = "end", m = o < 0 ? o + 360 : o, h = m, g = 0, _ = 0;
638
- n.isRadial && (l = n.getPosition(this.pos, n.center[2] / 2 + f(i.distance ?? -25, n.center[2] / 2) + n.offset), i.rotation === "auto" ? t.attr({ rotation: a }) : S(c) || (c = n.chart.renderer.fontMetrics(t).b - r.height / 2), S(d) || (n.isCircular ? (r.width > n.len * n.tickInterval / (n.max - n.min) && (u = 0), d = a > u && a < 180 - u ? "left" : a > 180 + u && a < 360 - u ? "right" : "center") : d = "center", t.attr({ align: d })), d === "auto" && n.tickPositions.length === 2 && n.isCircular && (m > 90 && m < 180 ? m = 180 - m : m > 270 && m <= 360 && (m = 540 - m), h > 180 && h <= 360 && (h = 360 - h), (n.pane.options.startAngle === o || n.pane.options.startAngle === o + 360 || n.pane.options.startAngle === o - 360) && (p = "start"), d = o >= -90 && o <= 90 || o >= -360 && o <= -270 || o >= 270 && o <= 360 ? p === "start" ? "right" : "left" : p === "start" ? "left" : "right", h > 70 && h < 110 && (d = "center"), m < 15 || m >= 180 && m < 195 ? g = r.height * .3 : m >= 15 && m <= 35 ? g = p === "start" ? 0 : r.height * .75 : m >= 195 && m <= 215 ? g = p === "start" ? r.height * .75 : 0 : m > 35 && m <= 90 ? g = p === "start" ? -r.height * .25 : r.height : m > 215 && m <= 270 && (g = p === "start" ? r.height : -r.height * .25), h < 15 ? _ = p === "start" ? -r.height * .15 : r.height * .15 : h > 165 && h <= 180 && (_ = p === "start" ? r.height * .15 : -r.height * .15), t.attr({ align: d }), t.translate(_, g + s)), e.pos.x = l.x + (i.x || 0), e.pos.y = l.y + (c || 0));
664
+ let n = this.axis, r = t.getBBox(), i = n.options.labels, a = (n.translate(this.pos) + n.startAngleRad + Math.PI / 2) / Math.PI * 180 % 360, o = Math.round(a), s = x(i.y) ? 0 : -r.height * .3, c = i.y, l, u = 20, f = i.align, p = "end", m = o < 0 ? o + 360 : o, h = m, g = 0, _ = 0;
665
+ n.isRadial && (l = n.getPosition(this.pos, n.center[2] / 2 + d(i.distance ?? 15, n.center[2] / 2) + n.offset), i.rotation === "auto" ? t.attr({ rotation: a }) : x(c) || (c = n.chart.renderer.fontMetrics(t).b - r.height / 2), x(f) || (n.isCircular ? (r.width > n.len * n.tickInterval / (n.max - n.min) && (u = 0), f = a > u && a < 180 - u ? "left" : a > 180 + u && a < 360 - u ? "right" : "center") : f = "center", t.attr({ align: f })), f === "auto" && n.tickPositions.length === 2 && n.isCircular && (m > 90 && m < 180 ? m = 180 - m : m > 270 && m <= 360 && (m = 540 - m), h > 180 && h <= 360 && (h = 360 - h), (n.pane.options.startAngle === o || n.pane.options.startAngle === o + 360 || n.pane.options.startAngle === o - 360) && (p = "start"), f = o >= -90 && o <= 90 || o >= -360 && o <= -270 || o >= 270 && o <= 360 ? p === "start" ? "right" : "left" : p === "start" ? "left" : "right", h > 70 && h < 110 && (f = "center"), m < 15 || m >= 180 && m < 195 ? g = r.height * .3 : m >= 15 && m <= 35 ? g = p === "start" ? 0 : r.height * .75 : m >= 195 && m <= 215 ? g = p === "start" ? r.height * .75 : 0 : m > 35 && m <= 90 ? g = p === "start" ? -r.height * .25 : r.height : m > 215 && m <= 270 && (g = p === "start" ? r.height : -r.height * .25), h < 15 ? _ = p === "start" ? -r.height * .15 : r.height * .15 : h > 165 && h <= 180 && (_ = p === "start" ? r.height * .15 : -r.height * .15), t.attr({ align: f }), t.translate(_, g + s)), e.pos.x = l.x + (i.x || 0), e.pos.y = l.y + (c || 0));
639
666
  }
640
- function te(e) {
641
- this.axis.getPosition && g(e.pos, this.axis.getPosition(this.pos));
667
+ function I(e) {
668
+ this.axis.getPosition && h(e.pos, this.axis.getPosition(this.pos));
642
669
  }
643
- function I({ options: e }) {
670
+ function ne({ options: e }) {
644
671
  e.xAxis && n(!0, t.radialDefaultOptions.circular, e.xAxis), e.yAxis && n(!0, t.radialDefaultOptions.radialGauge, e.yAxis);
645
672
  }
646
- function L(e, t) {
673
+ function re(e, t) {
647
674
  let n = this.chart, r = this.center;
648
675
  return e = this.startAngleRad + e, {
649
676
  x: n.plotLeft + r[0] + Math.cos(e) * t,
650
677
  y: n.plotTop + r[1] + Math.sin(e) * t
651
678
  };
652
679
  }
653
- function R() {
680
+ function L() {
654
681
  this.isDirty = !1;
655
682
  }
656
- function ne() {
683
+ function ie() {
657
684
  let e = this.constructor.prototype, t, n;
658
- e.setAxisSize.call(this), this.isRadial && (this.pane.updateCenter(), t = this.center = this.pane.center.slice(), this.isCircular ? (this.sector = this.endAngleRad - this.startAngleRad, this.len = this.width = this.height = t[2] * this.sector / 2) : (n = this.postTranslate(this.angleRad, t[3] / 2), t[0] = n.x - this.chart.plotLeft, t[1] = n.y - this.chart.plotTop, this.len = this.width = this.height = (t[2] - t[3]) / 2));
685
+ e.setAxisSize.call(this), this.isRadial && (this.pane.updateCenter(), t = this.center = this.pane.center.slice(), this.isCircular ? (this.sector = this.endAngleRad - this.startAngleRad, this.len = this.width = this.height = t[2] * this.sector / 2) : (n = this.postTranslate(this.angleRad, t[3] / 2), t[0] = n.x - this.chart.plotLeft, t[1] = n.y - this.chart.plotTop, delete this.sector, this.len = this.width = this.height = (t[2] - t[3]) / 2));
659
686
  }
660
- function z() {
687
+ function R() {
661
688
  this.constructor.prototype.setAxisTranslation.call(this), this.center && (this.transA = this.isCircular ? (this.endAngleRad - this.startAngleRad) / (this.max - this.min || 1) : (this.center[2] - this.center[3]) / 2 / (this.max - this.min || 1), this.minPixelPadding = this.isXAxis ? this.transA * this.minPointOffset : 0);
662
689
  }
663
- function re(e) {
664
- let { coll: i } = this, { angular: a, inverted: o, polar: s } = this.chart, l = {};
665
- a ? this.isXAxis || (l = n(q.yAxis, t.radialDefaultOptions.radialGauge)) : s && (l = this.horiz ? n(q.xAxis, t.radialDefaultOptions.circular) : n(i === "xAxis" ? q.xAxis : q.yAxis, t.radialDefaultOptions.radial)), o && i === "yAxis" && (l.stackLabels = c(q.yAxis, !0) ? q.yAxis.stackLabels : {}, l.reversedStacks = !0);
690
+ function z(e) {
691
+ let { coll: i } = this, { angular: a, inverted: o, polar: c } = this.chart, l = {};
692
+ a ? this.isXAxis || (l = n(K.yAxis, t.radialDefaultOptions.radialGauge)) : c && (l = this.horiz ? n(K.xAxis, t.radialDefaultOptions.circular) : n(i === "xAxis" ? K.xAxis : K.yAxis, t.radialDefaultOptions.radial)), o && i === "yAxis" && (l.stackLabels = s(K.yAxis, !0) ? K.yAxis.stackLabels : {}, l.reversedStacks = !0);
666
693
  let u = this.options = n(l, e);
667
694
  u.plotBands ||= [], r(this, "afterSetOptions");
668
695
  }
669
- function B(e) {
670
- return !S(this.options.minorTicks) && this.pane.hasSeriesType("gauge") ? "auto" : e.apply(this, Array.prototype.slice.call(arguments, 1));
696
+ function ae(e) {
697
+ return !x(this.options.minorTicks) && this.pane.hasSeriesType("gauge") ? "auto" : e.apply(this, Array.prototype.slice.call(arguments, 1));
671
698
  }
672
- function ie(e, t, n, r, i, a, o) {
699
+ function B(e, t, n, r, i, a, o) {
673
700
  let s = this.axis, c, l;
674
- return s.isRadial ? (c = s.getPosition(this.pos, s.center[2] / 2 + r), l = [
701
+ return s.isRadial ? (c = s.getPosition(this.pos, s.center[2] / 2 + r), l = [[
675
702
  "M",
676
703
  t,
677
- n,
704
+ n
705
+ ], [
678
706
  "L",
679
707
  c.x,
680
708
  c.y
681
- ]) : l = e.call(this, t, n, r, i, a, o), l;
709
+ ]]) : l = e.call(this, t, n, r, i, a, o), l;
682
710
  }
683
711
  })(xe ||= {});
684
- var Se = xe, { defaultOptions: Ce } = d, { composed: we } = _;
712
+ var Se = xe, { defaultOptions: Ce } = u, { composed: we } = g;
685
713
  function Te(e, t, n, r, i) {
686
- let a = v(), o = e.createElement("clipPath").attr({ id: a }).add(e.defs), s = i ? e.arc(t, n, r, i, 0, 2 * Math.PI).add(o) : e.circle(t, n, r).add(o);
714
+ let a = _(), o = e.createElement("clipPath").attr({ id: a }).add(e.defs), s = i ? e.arc(t, n, r, i, 0, 2 * Math.PI).add(o) : e.circle(t, n, r).add(o);
687
715
  return s.id = a, s.clipPath = o, s;
688
716
  }
689
717
  function Ee(e, t) {
@@ -717,8 +745,8 @@ function ke(e) {
717
745
  t && n && (n.gridLineInterpolation === "polygon" ? (t.startOnTick = !0, t.endOnTick = !0) : t.gridLineInterpolation === "polygon" && r.inverted && (n.startOnTick = !0, n.endOnTick = !0));
718
746
  }
719
747
  function Ae() {
720
- this.pane ||= [], this.options.pane = y(this.options.pane || {}), y(this.userOptions.pane || {}).forEach((e) => {
721
- new K(e, this);
748
+ this.pane ||= [], this.options.pane = v(this.options.pane || {}), v(this.userOptions.pane || {}).forEach((e) => {
749
+ new G(e, this);
722
750
  }, this);
723
751
  }
724
752
  function je(e) {
@@ -751,7 +779,7 @@ function Me(e) {
751
779
  let { min: t, max: n } = e.getExtremes();
752
780
  s = n - (t - s);
753
781
  }
754
- s < o && (s = [o, o = s][0]), a = Y(a, o, s, e), a.push([
782
+ s < o && (s = [o, o = s][0]), a = J(a, o, s, e), a.push([
755
783
  "L",
756
784
  n[0] + t.plotLeft,
757
785
  t.plotTop + n[1]
@@ -774,7 +802,7 @@ function Me(e) {
774
802
  let e = d.d.slice(0, d.d.length / 2), n = d.d.slice(d.d.length / 2, d.d.length);
775
803
  n = [...n].reverse();
776
804
  let r = t.hoverPane.axis;
777
- e = Y(e, o, s, r), n = Y(n, o, s, r), n && (n[0][0] = "L"), n = [...n].reverse(), d.d = e.concat(n), f = "path";
805
+ e = J(e, o, s, r), n = J(n, o, s, r), n && (n[0][0] = "L"), n = [...n].reverse(), d.d = e.concat(n), f = "path";
778
806
  }
779
807
  }
780
808
  e.attrs = d, e.shapeType = f;
@@ -782,12 +810,12 @@ function Me(e) {
782
810
  }
783
811
  function Ne() {
784
812
  let e = this.chart;
785
- e.polar && (this.polar = new Ke(this), e.inverted && (this.isRadialSeries = !0, this.is("column") && (this.isRadialBar = !0)));
813
+ e.polar && (this.polar = new Ge(this), e.inverted && (this.isRadialSeries = !0, this.is("column") && (this.isRadialBar = !0)));
786
814
  }
787
815
  function Pe() {
788
816
  let { chart: e, options: t, yAxis: n } = this;
789
817
  if (t.borderRadius && e.polar && e.inverted) {
790
- let e = Ce.plotOptions?.[this.type]?.borderRadius, { scope: r, where: i = "end" } = j(t.borderRadius, c(e) ? e : {});
818
+ let e = Ce.plotOptions?.[this.type]?.borderRadius, { scope: r, where: i = "end" } = A(t.borderRadius, s(e) ? e : {});
791
819
  for (let e of this.points) {
792
820
  let { shapeArgs: a } = e;
793
821
  if (e.shapeType === "arc" && a) {
@@ -801,16 +829,16 @@ function Fe() {
801
829
  if (this.chart.polar && this.xAxis) {
802
830
  let e = this, { xAxis: t, yAxis: n } = e, r = e.chart;
803
831
  e.kdByAngle = r.tooltip && r.tooltip.shared, e.kdByAngle || r.inverted ? e.searchPoint = Ie : e.options.findNearestPointBy = "xy";
804
- let i = e.points, o = i.length;
805
- for (; o--;) !e.is("column") && !e.is("columnrange") && e.polar.toXY(i[o]), !r.hasParallelCoordinates && !e.yAxis.reversed && (a(i[o].y, Number.MIN_VALUE) < n.min || i[o].x < t.min || i[o].x > t.max ? (i[o].isNull = !0, i[o].plotY = NaN) : i[o].isNull = i[o].isValid && !i[o].isValid());
806
- this.hasClipCircleSetter ||= !!e.eventsToUnbind.push(m(e, "afterRender", function() {
832
+ let i = e.points, a = i.length;
833
+ for (; a--;) !e.is("column") && !e.is("columnrange") && e.polar.toXY(i[a]), !r.hasParallelCoordinates && !e.yAxis.reversed && ((i[a].y ?? Number.MIN_VALUE) < n.min || i[a].x < t.min || i[a].x > t.max ? (i[a].isNull = !0, i[a].plotY = NaN) : i[a].isNull = i[a].isValid && !i[a].isValid());
834
+ this.hasClipCircleSetter ||= !!e.eventsToUnbind.push(p(e, "afterRender", function() {
807
835
  let e;
808
836
  r.polar && this.options.clip !== !1 && (e = this.yAxis.pane.center, this.clipCircle ? this.clipCircle.animate({
809
837
  x: e[0],
810
838
  y: e[1],
811
839
  r: e[2] / 2,
812
840
  innerR: e[3] / 2
813
- }) : this.clipCircle = Te(r.renderer, e[0], e[1], e[2] / 2, e[3] / 2), this.group.clip(this.clipCircle), this.setClip = _.noop);
841
+ }) : this.clipCircle = Te(r.renderer, e[0], e[1], e[2] / 2, e[3] / 2), this.group.clip(this.clipCircle), this.setClip = g.noop);
814
842
  }));
815
843
  }
816
844
  }
@@ -821,40 +849,40 @@ function Ie(e) {
821
849
  } : { clientX: 180 + -180 / Math.PI * Math.atan2(o, s) };
822
850
  return t.searchKDTree(c);
823
851
  }
824
- function Y(e, t, n, r) {
825
- let i = r.tickInterval, a = r.tickPositions, o = h(a, (e) => e >= n), s = h([...a].reverse(), (e) => e <= t);
826
- return S(o) || (o = a[a.length - 1]), S(s) || (s = a[0], o += i, e[0][0] = "L", e.unshift(e[e.length - 3])), e = e.slice(a.indexOf(s), a.indexOf(o) + 1), e[0][0] = "M", e;
852
+ function J(e, t, n, r) {
853
+ let i = r.tickInterval, a = r.tickPositions, o = m(a, (e) => e >= n), s = m([...a].reverse(), (e) => e <= t);
854
+ return x(o) || (o = a[a.length - 1]), x(s) || (s = a[0], o += i, e[0][0] = "L", e.unshift(e[e.length - 3])), e = e.slice(a.indexOf(s), a.indexOf(o) + 1), e[0][0] = "M", e;
827
855
  }
828
856
  function Le(e, t) {
829
- return h(this.pane || [], (e) => e.options.id === t) || e.call(this, t);
857
+ return m(this.pane || [], (e) => e.options.id === t) || e.call(this, t);
830
858
  }
831
- function Re(e, t, r, i, o, s) {
832
- let c = this.chart, l = a(i.inside, !!this.options.stacking), u, d, f;
833
- c.polar ? (u = t.rectPlotX / Math.PI * 180, c.inverted ? (this.forceDL = c.isInsidePlot(t.plotX, t.plotY), l && t.shapeArgs ? (d = t.shapeArgs, f = this.yAxis.postTranslate(((d.start || 0) + (d.end || 0)) / 2 - this.xAxis.startAngleRad, t.barX + (t.pointWidth || 0) / 2), o = n(o, {
834
- x: f.x - c.plotLeft,
835
- y: f.y - c.plotTop
836
- })) : t.tooltipPos && (o = n(o, {
859
+ function Re(e, t, r, i, a, o) {
860
+ let s = this.chart, c = i.inside ?? !!this.options.stacking, l, u, d;
861
+ s.polar ? (l = t.rectPlotX / Math.PI * 180, s.inverted ? (this.forceDL = s.isInsidePlot(t.plotX, t.plotY), c && t.shapeArgs ? (u = t.shapeArgs, d = this.yAxis.postTranslate(((u.start || 0) + (u.end || 0)) / 2 - this.xAxis.startAngleRad, t.barX + (t.pointWidth || 0) / 2), a = n(a, {
862
+ x: d.x - s.plotLeft,
863
+ y: d.y - s.plotTop
864
+ })) : t.tooltipPos && (a = n(a, {
837
865
  x: t.tooltipPos[0],
838
866
  y: t.tooltipPos[1]
839
- })), i.align = a(i.align, "center"), i.verticalAlign = a(i.verticalAlign, "middle")) : i = Ee(u, i), D.prototype.alignDataLabel.call(this, t, r, i, o, s), this.isRadialBar && t.shapeArgs && t.shapeArgs.start === t.shapeArgs.end ? r.hide() : r.show()) : e.call(this, t, r, i, o, s);
867
+ })), i.align = i.align ?? "center", i.verticalAlign = i.verticalAlign ?? "middle") : i = Ee(l, i), E.prototype.alignDataLabel.call(this, t, r, i, a, o), this.isRadialBar && t.shapeArgs && t.shapeArgs.start === t.shapeArgs.end ? r.hide() : r.show()) : e.call(this, t, r, i, a, o);
840
868
  }
841
869
  function ze() {
842
- let e = this, { chart: t, options: n, xAxis: r, yAxis: i } = e, a = n.stacking, { center: o, reversed: c } = i, { endAngleRad: l, startAngleRad: u } = r, d = l - u, p = n.threshold, m = 0, h, g, _, v, y, b = 0, x = 0, w, T, E, D, O, k, A, M;
843
- if (r.isRadial) for (h = e.points, _ = h.length, v = i.translate(i.min), y = i.translate(i.max), p = n.threshold || 0, t.inverted && s(p) && (m = i.translate(p), S(m) && (m < 0 ? m = 0 : m > d && (m = d), e.translatedThreshold = m + u)); _--;) {
870
+ let e = this, { chart: t, options: n, xAxis: r, yAxis: i } = e, a = n.stacking, { center: s, reversed: c } = i, { endAngleRad: l, startAngleRad: u } = r, f = l - u, p = n.threshold, m = 0, h, g, _, v, y, b = 0, C = 0, w, T, E, D, O, k, j, M;
871
+ if (r.isRadial) for (h = e.points, _ = h.length, v = i.translate(i.min), y = i.translate(i.max), p = n.threshold || 0, t.inverted && o(p) && (m = i.translate(p), x(m) && (m < 0 ? m = 0 : m > f && (m = f), e.translatedThreshold = m + u)); _--;) {
844
872
  if (g = h[_], k = g.barX, T = g.x, E = g.y, g.shapeType = "arc", t.inverted) {
845
- g.plotY = i.translate(E), a && i.stacking ? (O = i.stacking.stacks[(E < 0 ? "-" : "") + e.stackKey], e.visible && O && O[T] && (g.isNull || (D = O[T].points[e.getStackIndicator(void 0, T, e.index).key], b = i.translate(D[0]), x = i.translate(D[1]), S(b) && (b = C(b, 0, d))))) : (b = m, x = g.plotY), b > x && (x = [b, b = x][0]), c ? x > v ? x = v : b < y ? b = y : (b > v || x < y) && (b = x = d) : b < v ? b = v : x > y ? x = y : (x < v || b > y) && (b = x = 0), i.min > i.max && (b = x = c ? d : 0), b += u, x += u, o && (g.barX = k += o[3] / 2), A = Math.max(k, 0), M = Math.max(k + (g.pointWidth || 0), 0);
846
- let t = j(n.borderRadius), r = f(t.radius, M - A);
873
+ g.plotY = i.translate(E), a && i.stacking ? (O = i.stacking.stacks[(E < 0 ? "-" : "") + e.stackKey], e.visible && O && O[T] && (g.isNull || (D = O[T].points[e.getStackIndicator(void 0, T, e.index).key], b = i.translate(D[0]), C = i.translate(D[1]), x(b) && (b = S(b, 0, f))))) : (b = m, C = g.plotY), b > C && (C = [b, b = C][0]), c ? C > v ? C = v : b < y ? b = y : (b > v || C < y) && (b = C = f) : b < v ? b = v : C > y ? C = y : (C < v || b > y) && (b = C = 0), i.min > i.max && (b = C = c ? f : 0), b += u, C += u, s && (g.barX = k += s[3] / 2), j = Math.max(k, 0), M = Math.max(k + (g.pointWidth || 0), 0);
874
+ let t = A(n.borderRadius), r = d(t.radius, M - j);
847
875
  g.shapeArgs = {
848
- x: o[0],
849
- y: o[1],
876
+ x: s[0],
877
+ y: s[1],
850
878
  r: M,
851
- innerR: A,
879
+ innerR: j,
852
880
  start: b,
853
- end: x,
881
+ end: C,
854
882
  borderRadius: r
855
- }, g.opacity = b === x ? 0 : void 0, g.plotY = (S(e.translatedThreshold) && (b < e.translatedThreshold ? b : x)) - u;
883
+ }, g.opacity = b === C ? 0 : void 0, g.plotY = (x(e.translatedThreshold) && (b < e.translatedThreshold ? b : C)) - u;
856
884
  } else b = k + u, g.shapeArgs = e.polar.arc(g.yBottom, g.plotY, b, b + (g.pointWidth || 0)), g.shapeArgs.borderRadius = 0;
857
- e.polar.toXY(g), t.inverted ? (w = i.postTranslate(g.rectPlotY, k + (g.pointWidth || 0) / 2), g.tooltipPos = [w.x - t.plotLeft, w.y - t.plotTop]) : g.tooltipPos = [g.plotX, g.plotY], o && (g.ttBelow = g.plotY > o[1]);
885
+ e.polar.toXY(g), t.inverted ? (w = i.postTranslate(g.rectPlotY, k + (g.pointWidth || 0) / 2), g.tooltipPos = [w.x - t.plotLeft, w.y - t.plotTop]) : g.tooltipPos = [g.plotX, g.plotY], s && (g.ttBelow = g.plotY > s[1]);
858
886
  }
859
887
  }
860
888
  function Be(e, t) {
@@ -889,29 +917,29 @@ function Ve(e, t) {
889
917
  function He(e, t) {
890
918
  this.chart.polar || e.call(this, t);
891
919
  }
892
- function Ue(e, t) {
893
- let n = this, r = this.chart, i = this.group, o = this.markerGroup, s = this.xAxis && this.xAxis.center, c = r.plotLeft, l = r.plotTop, u = this.options.animation, d, f, p, m, h, g;
894
- r.polar ? n.isRadialBar ? t || (n.startAngleRad = a(n.translatedThreshold, n.xAxis.startAngleRad), _.seriesTypes.pie.prototype.animate.call(n, t)) : (u = x(u), n.is("column") ? t || (f = s[3] / 2, n.points.forEach((e) => {
895
- p = e.graphic, m = e.shapeArgs, h = m && m.r, g = m && m.innerR, p && m && (p.attr({
896
- r: f,
897
- innerR: f
898
- }), p.animate({
899
- r: h,
900
- innerR: g
920
+ function Y(e, t) {
921
+ let n = this, r = this.chart, i = this.group, a = this.markerGroup, o = this.xAxis && this.xAxis.center, s = r.plotLeft, c = r.plotTop, l = this.options.animation, u, d, f, p, m, h;
922
+ r.polar ? n.isRadialBar ? t || (n.startAngleRad = n.translatedThreshold ?? n.xAxis.startAngleRad, g.seriesTypes.pie.prototype.animate.call(n, t)) : (l = b(l), n.is("column") ? t || (d = o[3] / 2, n.points.forEach((e) => {
923
+ f = e.graphic, p = e.shapeArgs, m = p && p.r, h = p && p.innerR, f && p && (f.attr({
924
+ r: d,
925
+ innerR: d
926
+ }), f.animate({
927
+ r: m,
928
+ innerR: h
901
929
  }, n.options.animation));
902
- })) : t ? (d = {
903
- translateX: s[0] + c,
904
- translateY: s[1] + l,
930
+ })) : t ? (u = {
931
+ translateX: o[0] + s,
932
+ translateY: o[1] + c,
905
933
  scaleX: .001,
906
934
  scaleY: .001
907
- }, i.attr(d), o && o.attr(d)) : (d = {
908
- translateX: c,
909
- translateY: l,
935
+ }, i.attr(u), a && a.attr(u)) : (u = {
936
+ translateX: s,
937
+ translateY: c,
910
938
  scaleX: 1,
911
939
  scaleY: 1
912
- }, i.animate(d, u), o && o.animate(d, u))) : e.call(this, t);
940
+ }, i.animate(u, l), a && a.animate(u, l))) : e.call(this, t);
913
941
  }
914
- function We(e, t, n, r) {
942
+ function Ue(e, t, n, r) {
915
943
  let i, a;
916
944
  if (this.chart.polar) {
917
945
  if (!r) i = [
@@ -924,10 +952,10 @@ function We(e, t, n, r) {
924
952
  let e = a.prevPointCont && a.prevPointCont.rightContX, n = a.prevPointCont && a.prevPointCont.rightContY;
925
953
  i = [
926
954
  "C",
927
- s(e) ? e : a.plotX,
928
- s(n) ? n : a.plotY,
929
- s(a.leftContX) ? a.leftContX : a.plotX,
930
- s(a.leftContY) ? a.leftContY : a.plotY,
955
+ o(e) ? e : a.plotX,
956
+ o(n) ? n : a.plotY,
957
+ o(a.leftContX) ? a.leftContX : a.plotX,
958
+ o(a.leftContY) ? a.leftContY : a.plotY,
931
959
  a.plotX,
932
960
  a.plotY
933
961
  ];
@@ -935,25 +963,25 @@ function We(e, t, n, r) {
935
963
  } else i = e.call(this, t, n, r);
936
964
  return i;
937
965
  }
938
- function Ge(e, t, n = this.plotX, r = this.plotY) {
966
+ function We(e, t, n = this.plotX, r = this.plotY) {
939
967
  let { series: i } = this, { chart: a } = i || {};
940
- return a?.polar && s(n) && s(r) ? [n + (t ? a.plotLeft : 0), r + (t ? a.plotTop : 0)] : e.call(this, t, n, r);
968
+ return a?.polar && o(n) && o(r) ? [n + (t ? a.plotLeft : 0), r + (t ? a.plotTop : 0)] : e.call(this, t, n, r);
941
969
  }
942
- var Ke = class {
970
+ var Ge = class {
943
971
  static compose(t, n, r, i, a, o, s, c, l, u) {
944
- if (K.compose(n, r), Se.compose(t, a), e(we, "Polar")) {
972
+ if (G.compose(n, r), Se.compose(t, a), e(we, "Polar")) {
945
973
  let e = n.prototype, t = o.prototype, a = r.prototype, d = i.prototype;
946
- if (m(n, "afterDrawChartBox", Oe), m(n, "createAxes", Ae), m(n, "init", ke), b(e, "get", Le), b(a, "getCoordinates", Ve), b(a, "pinch", He), m(r, "getSelectionMarkerAttrs", Me), m(r, "getSelectionBox", je), m(i, "afterInit", Ne), m(i, "afterColumnTranslate", Pe, { order: 9 }), m(i, "afterTranslate", Fe, { order: 2 }), m(i, "afterColumnTranslate", ze, { order: 4 }), b(d, "animate", Ue), b(t, "pos", Ge), c) {
974
+ if (p(n, "afterDrawChartBox", Oe), p(n, "createAxes", Ae), p(n, "init", ke), y(e, "get", Le), y(a, "getCoordinates", Ve), y(a, "pinch", He), p(r, "getSelectionMarkerAttrs", Me), p(r, "getSelectionBox", je), p(i, "afterInit", Ne), p(i, "afterColumnTranslate", Pe, { order: 9 }), p(i, "afterTranslate", Fe, { order: 2 }), p(i, "afterColumnTranslate", ze, { order: 4 }), y(d, "animate", Y), y(t, "pos", We), c) {
947
975
  let e = c.prototype;
948
- b(e, "alignDataLabel", Re), b(e, "animate", Ue);
976
+ y(e, "alignDataLabel", Re), y(e, "animate", Y);
949
977
  }
950
978
  if (l) {
951
979
  let e = l.prototype;
952
- b(e, "getGraphPath", Be);
980
+ y(e, "getGraphPath", Be);
953
981
  }
954
982
  if (u) {
955
983
  let e = u.prototype;
956
- if (b(e, "getPointSpline", We), s) {
984
+ if (y(e, "getPointSpline", Ue), s) {
957
985
  let t = s.prototype;
958
986
  t.getPointSpline = e.getPointSpline;
959
987
  }
@@ -964,28 +992,28 @@ var Ke = class {
964
992
  this.series = e;
965
993
  }
966
994
  arc(e, t, n, r) {
967
- let i = this.series, o = i.xAxis.center, s = i.yAxis.len, c = o[3] / 2, l = s - t + c, u = s - a(e, s) + c;
968
- return i.yAxis.reversed && (l < 0 && (l = c), u < 0 && (u = c)), {
969
- x: o[0],
970
- y: o[1],
971
- r: l,
972
- innerR: u,
995
+ let i = this.series, a = i.xAxis.center, o = i.yAxis.len, s = a[3] / 2, c = o - t + s, l = o - (e ?? o) + s;
996
+ return i.yAxis.reversed && (c < 0 && (c = s), l < 0 && (l = s)), {
997
+ x: a[0],
998
+ y: a[1],
999
+ r: c,
1000
+ innerR: l,
973
1001
  start: n,
974
1002
  end: r
975
1003
  };
976
1004
  }
977
1005
  toXY(e) {
978
- let t = this.series, n = t.chart, r = t.xAxis, i = t.yAxis, a = e.plotX, o = n.inverted, c = e.y, l = e.plotY, u = o ? a : i.len - l, d;
979
- if (o && t && !t.isRadialBar && (e.plotY = l = s(c) ? i.translate(c) : 0), e.rectPlotX = a, e.rectPlotY = l, i.center && (u += i.center[3] / 2), s(l)) {
980
- let t = o ? i.postTranslate(l, u) : r.postTranslate(a, u);
1006
+ let t = this.series, n = t.chart, r = t.xAxis, i = t.yAxis, a = e.plotX, s = n.inverted, c = e.y, l = e.plotY, u = s ? a : i.len - l, d;
1007
+ if (s && t && !t.isRadialBar && (e.plotY = l = o(c) ? i.translate(c) : 0), e.rectPlotX = a, e.rectPlotY = l, i.center && (u += i.center[3] / 2), o(l)) {
1008
+ let t = s ? i.postTranslate(l, u) : r.postTranslate(a, u);
981
1009
  e.plotX = e.polarPlotX = t.x - n.plotLeft, e.plotY = e.polarPlotY = t.y - n.plotTop;
982
1010
  }
983
1011
  t.kdByAngle ? (d = (a / Math.PI * 180 + (r.pane.options.startAngle || 0)) % 360, d < 0 && (d += 360), e.clientX = d) : e.clientX = e.plotX;
984
1012
  }
985
- }, { composed: qe } = _, Je;
1013
+ }, { composed: Ke } = g, qe;
986
1014
  (function(n) {
987
1015
  function r(t, n) {
988
- e(qe, "Axis.Waterfall") && (m(t, "init", o), m(t, "afterBuildStacks", i), m(t, "afterRender", a), m(n, "beforeRedraw", s));
1016
+ e(Ke, "Axis.Waterfall") && (p(t, "init", o), p(t, "afterBuildStacks", i), p(t, "afterRender", a), p(n, "beforeRedraw", s));
989
1017
  }
990
1018
  n.compose = r;
991
1019
  function i() {
@@ -1012,32 +1040,32 @@ var Ke = class {
1012
1040
  this.axis = e, this.stacks = { changed: !1 };
1013
1041
  }
1014
1042
  renderStackTotals() {
1015
- let e = this.axis, n = e.waterfall?.stacks, r = e.stacking?.stackTotalGroup, i = new k(e, e.options.stackLabels || {}, !1, 0, void 0);
1043
+ let e = this.axis, n = e.waterfall?.stacks, r = e.stacking?.stackTotalGroup, i = new O(e, !1, 0, void 0);
1016
1044
  this.dummyStackItem = i, r && t(n, (e) => {
1017
1045
  t(e, (e, t) => {
1018
- i.total = e.stackTotal, i.x = +t, e.label && (i.label = e.label), k.prototype.render.call(i, r), e.label = i.label, delete i.label;
1046
+ i.total = e.stackTotal, i.x = +t, e.label && (i.label = e.label), O.prototype.render.call(i, r), e.label = i.label, delete i.label;
1019
1047
  });
1020
1048
  }), i.total = null;
1021
1049
  }
1022
1050
  }
1023
1051
  n.Composition = c;
1024
- })(Je ||= {});
1025
- var Ye = Je, Xe = class extends O.prototype.pointClass {
1052
+ })(qe ||= {});
1053
+ var Je = qe, Ye = class extends D.prototype.pointClass {
1026
1054
  getClassName() {
1027
- let e = T.prototype.getClassName.call(this);
1055
+ let e = w.prototype.getClassName.call(this);
1028
1056
  return this.isSum ? e += " highcharts-sum" : this.isIntermediateSum && (e += " highcharts-intermediate-sum"), e;
1029
1057
  }
1030
1058
  isValid() {
1031
- return s(this.y) || this.isSum || !!this.isIntermediateSum;
1059
+ return o(this.y) || this.isSum || !!this.isIntermediateSum;
1032
1060
  }
1033
- }, Ze = {
1061
+ }, Xe = {
1034
1062
  dataLabels: { inside: !0 },
1035
1063
  lineWidth: 1,
1036
1064
  lineColor: "var(--highcharts-neutral-color-80)",
1037
1065
  dashStyle: "Dot",
1038
1066
  borderColor: "var(--highcharts-neutral-color-80)",
1039
1067
  states: { hover: { lineWidthPlus: 0 } }
1040
- }, { column: X, line: Qe } = E.seriesTypes;
1068
+ }, { column: X, line: Ze } = T.seriesTypes;
1041
1069
  function Z(e, t) {
1042
1070
  return Object.hasOwnProperty.call(e, t);
1043
1071
  }
@@ -1047,13 +1075,13 @@ var Q = class extends X {
1047
1075
  let e = this.getColumn("y", !0);
1048
1076
  for (let t = 0, n = this.points.length; t < n; t++) {
1049
1077
  let n = this.points[t], r = e[t];
1050
- s(r) && (n.isIntermediateSum || n.isSum) && (n.y = u(r));
1078
+ o(r) && (n.isIntermediateSum || n.isSum) && (n.y = l(r));
1051
1079
  }
1052
1080
  }
1053
1081
  processData(e) {
1054
- let t = this, n = t.options, r = t.getColumn("y"), i = t.getColumn("isSum"), a = t.getColumn("isIntermediateSum"), o = r.length, s = n.threshold || 0, c, l, d, f, p;
1055
- l = c = d = f = 0;
1056
- for (let e = 0; e < o; e++) p = r[e], p === "sum" || i[e] ? r[e] = u(l) : p === "intermediateSum" || a[e] ? (r[e] = u(c), c = 0) : (l += p, c += p), d = Math.min(l, d), f = Math.max(l, f);
1082
+ let t = this, n = t.options, r = t.getColumn("y"), i = t.getColumn("isSum"), a = t.getColumn("isIntermediateSum"), o = r.length, s = n.threshold || 0, c, u, d, f, p;
1083
+ u = c = d = f = 0;
1084
+ for (let e = 0; e < o; e++) p = r[e], p === "sum" || i[e] ? r[e] = l(u) : p === "intermediateSum" || a[e] ? (r[e] = l(c), c = 0) : (u += p, c += p), d = Math.min(u, d), f = Math.max(u, f);
1057
1085
  super.processData.call(this, e), n.stacking || (t.dataMin = d + s, t.dataMax = f);
1058
1086
  }
1059
1087
  toYData(e) {
@@ -1061,7 +1089,7 @@ var Q = class extends X {
1061
1089
  }
1062
1090
  pointAttribs(e, t) {
1063
1091
  let n = this.options.upColor;
1064
- n && e && !e.options.color && s(e.y) && (e.color = e.y > 0 ? n : void 0);
1092
+ n && e && !e.options.color && o(e.y) && (e.color = e.y > 0 ? n : void 0);
1065
1093
  let r = X.prototype.pointAttribs.call(this, e, t);
1066
1094
  return delete r.dashstyle, r;
1067
1095
  }
@@ -1073,25 +1101,25 @@ var Q = class extends X {
1073
1101
  ]];
1074
1102
  }
1075
1103
  getCrispPath() {
1076
- let e = this.points.filter((e) => s(e.y)), t = this.yAxis, n = e.length, r = this.graph?.strokeWidth() || 0, i = this.xAxis.reversed, a = this.yAxis.reversed, c = this.options.stacking, l = [];
1104
+ let e = this.points.filter((e) => o(e.y)), t = this.yAxis, n = e.length, r = this.graph?.strokeWidth() || 0, i = this.xAxis.reversed, s = this.yAxis.reversed, c = this.options.stacking, l = [];
1077
1105
  for (let u = 1; u < n; u++) {
1078
- if (!(this.options.connectNulls || s(this.data[e[u].index - 1].y))) continue;
1106
+ if (!(this.options.connectNulls || o(this.data[e[u].index - 1].y))) continue;
1079
1107
  let n = e[u].box, d = e[u - 1], f = d.y || 0, p = e[u - 1].box;
1080
1108
  if (!n || !p) continue;
1081
1109
  let m = t.waterfall?.stacks[this.stackKey], h = f > 0 ? -p.height : 0;
1082
1110
  if (m && p && n) {
1083
- let e = m[u - 1], s;
1084
- s = o(c ? t.translate(e.connectorThreshold || 0, !1, !0, !1, !0) + (a ? h : 0) : p.y + (d.minPointLengthOffset || 0), r), l.push([
1111
+ let e = m[u - 1], o;
1112
+ o = a(c ? t.translate(e.connectorThreshold || 0, !1, !0, !1, !0) + (s ? h : 0) : p.y + (d.minPointLengthOffset || 0), r), l.push([
1085
1113
  "M",
1086
1114
  (p.x || 0) + (i ? 0 : p.width || 0),
1087
- s
1115
+ o
1088
1116
  ], [
1089
1117
  "L",
1090
1118
  (n.x || 0) + (i && n.width || 0),
1091
- s
1119
+ o
1092
1120
  ]);
1093
1121
  }
1094
- if (p && l.length && (!c && f < 0 && !a || f > 0 && a)) {
1122
+ if (p && l.length && (!c && f < 0 && !s || f > 0 && s)) {
1095
1123
  let e = l[l.length - 2];
1096
1124
  e && typeof e[2] == "number" && (e[2] += p.height || 0);
1097
1125
  let t = l[l.length - 1];
@@ -1101,10 +1129,10 @@ var Q = class extends X {
1101
1129
  return l;
1102
1130
  }
1103
1131
  drawGraph() {
1104
- Qe.prototype.drawGraph.call(this), this.graph?.animate({ d: this.getCrispPath() });
1132
+ Ze.prototype.drawGraph.call(this), this.graph?.animate({ d: this.getCrispPath() });
1105
1133
  }
1106
1134
  setStackedPoints(e) {
1107
- let t = this, n = t.options, r = e.waterfall?.stacks, i = n.threshold || 0, a = t.stackKey, o = t.getColumn("x"), s = t.getColumn("y"), l = o.length, u = i, d = u, f, p = 0, m = 0, h = 0, g, _, v, y, b, x, S, C, w = (e, t, n, r) => {
1135
+ let t = this, n = t.options, r = e.waterfall?.stacks, i = n.threshold || 0, a = t.stackKey, o = t.getColumn("x"), c = t.getColumn("y"), l = o.length, u = i, d = u, f, p = 0, m = 0, h = 0, g, _, v, y, b, x, S, C, w = (e, t, n, r) => {
1108
1136
  if (f) {
1109
1137
  if (!g) f.stackState[0] = e, g = f.stackState.length;
1110
1138
  else for (; n < g; n++) f.stackState[n] += r;
@@ -1122,57 +1150,57 @@ var Q = class extends X {
1122
1150
  stateIndex: 0,
1123
1151
  stackState: [],
1124
1152
  label: C && e[x] ? e[x].label : void 0
1125
- }), f = e[x], b = s[t], b >= 0 ? f.posTotal += b : f.negTotal += b, y = n.data?.[t], _ = f.absolutePos = f.posTotal, v = f.absoluteNeg = f.negTotal, f.stackTotal = _ + v, g = f.stackState.length, c(y, !0) && y.isIntermediateSum ? (w(h, m, 0, h), h = m, m = i, u ^= d, d ^= u, u ^= d) : c(y, !0) && y.isSum ? (w(i, p, g, 0), u = i) : (w(u, b, 0, p), y && (p += b, m += b)), f.stateIndex++, f.threshold = u, u += f.stackTotal;
1153
+ }), f = e[x], b = c[t], b >= 0 ? f.posTotal += b : f.negTotal += b, y = n.data?.[t], _ = f.absolutePos = f.posTotal, v = f.absoluteNeg = f.negTotal, f.stackTotal = _ + v, g = f.stackState.length, s(y, !0) && y.isIntermediateSum ? (w(h, m, 0, h), h = m, m = i, u ^= d, d ^= u, u ^= d) : s(y, !0) && y.isSum ? (w(i, p, g, 0), u = i) : (w(u, b, 0, p), y && (p += b, m += b)), f.stateIndex++, f.threshold = u, u += f.stackTotal;
1126
1154
  r.changed = !1, r.alreadyChanged ||= [], r.alreadyChanged.push(a);
1127
1155
  }
1128
1156
  }
1129
1157
  getExtremes() {
1130
1158
  let e = this.options.stacking, n = this.yAxis.waterfall?.stacks, r, i;
1131
1159
  return e && n ? (r = this.stackedYNeg = [], i = this.stackedYPos = [], e === "overlap" ? t(n[this.stackKey], function(e) {
1132
- r.push(l(e.stackState)), i.push(p(e.stackState));
1160
+ r.push(c(e.stackState)), i.push(f(e.stackState));
1133
1161
  }) : t(n[this.stackKey], function(e) {
1134
1162
  r.push(e.negTotal + e.threshold), i.push(e.posTotal + e.threshold);
1135
1163
  }), {
1136
- dataMin: l(r),
1137
- dataMax: p(i)
1164
+ dataMin: c(r),
1165
+ dataMax: f(i)
1138
1166
  }) : {
1139
1167
  dataMin: this.dataMin,
1140
1168
  dataMax: this.dataMax
1141
1169
  };
1142
1170
  }
1143
1171
  };
1144
- Q.defaultOptions = n(X.defaultOptions, Ze), Q.compose = Ye.compose, g(Q.prototype, {
1172
+ Q.defaultOptions = n(X.defaultOptions, Xe), Q.compose = Je.compose, h(Q.prototype, {
1145
1173
  pointValKey: "y",
1146
1174
  showLine: !0,
1147
- pointClass: Xe
1148
- }), m(Q, "afterColumnTranslate", function() {
1149
- let e = this, { options: t, points: r, yAxis: i } = e, c = a(t.minPointLength, 5), l = c / 2, u = t.threshold || 0, d = t.stacking, f = i.waterfall?.stacks[e.stackKey], p = e.getColumn("y", !0), m = u, h = u, _, v, y;
1175
+ pointClass: Ye
1176
+ }), p(Q, "afterColumnTranslate", function() {
1177
+ let e = this, { options: t, points: r, yAxis: i } = e, s = t.minPointLength ?? 5, c = s / 2, l = t.threshold || 0, u = t.stacking, d = i.waterfall?.stacks[e.stackKey], f = e.getColumn("y", !0), p = l, m = l, g, _, v;
1150
1178
  for (let t = 0; t < r.length; t++) {
1151
- let a = r[t], b = p[t], x = a.shapeArgs, S = g({
1179
+ let y = r[t], b = f[t], x = y.shapeArgs, S = h({
1152
1180
  x: 0,
1153
1181
  y: 0,
1154
1182
  width: 0,
1155
1183
  height: 0
1156
1184
  }, x || {});
1157
- a.box = S;
1158
- let C = [0, b], w = a.y || 0;
1159
- if (d) {
1160
- if (f) {
1161
- let n = f[t];
1162
- d === "overlap" ? (v = n.stackState[n.stateIndex--], _ = w >= 0 ? v : v - w, Z(n, "absolutePos") && delete n.absolutePos, Z(n, "absoluteNeg") && delete n.absoluteNeg) : (w >= 0 ? (v = n.threshold + n.posTotal, n.posTotal -= w, _ = v) : (v = n.threshold + n.negTotal, n.negTotal -= w, _ = v - w), n.posTotal || s(n.absolutePos) && Z(n, "absolutePos") && (n.posTotal = n.absolutePos, delete n.absolutePos), n.negTotal || s(n.absoluteNeg) && Z(n, "absoluteNeg") && (n.negTotal = n.absoluteNeg, delete n.absoluteNeg)), a.isSum || (n.connectorThreshold = n.threshold + n.stackTotal), y = _ - Math.abs(w), i.reversed && ([_, y] = [y, _]), a.below = _ <= u, S.y = i.translate(_, !1, !0, !1, !0), S.height = i.translate(y, !1, !0, !1, !0) - S.y;
1185
+ y.box = S;
1186
+ let C = [0, b], w = y.y || 0;
1187
+ if (u) {
1188
+ if (d) {
1189
+ let n = d[t];
1190
+ u === "overlap" ? (_ = n.stackState[n.stateIndex--], g = w >= 0 ? _ : _ - w, Z(n, "absolutePos") && delete n.absolutePos, Z(n, "absoluteNeg") && delete n.absoluteNeg) : (w >= 0 ? (_ = n.threshold + n.posTotal, n.posTotal -= w, g = _) : (_ = n.threshold + n.negTotal, n.negTotal -= w, g = _ - w), n.posTotal || o(n.absolutePos) && Z(n, "absolutePos") && (n.posTotal = n.absolutePos, delete n.absolutePos), n.negTotal || o(n.absoluteNeg) && Z(n, "absoluteNeg") && (n.negTotal = n.absoluteNeg, delete n.absoluteNeg)), y.isSum || (n.connectorThreshold = n.threshold + n.stackTotal), v = g - Math.abs(w), i.reversed && ([g, v] = [v, g]), y.below = g <= l, S.y = i.translate(g, !1, !0, !1, !0), S.height = i.translate(v, !1, !0, !1, !0) - S.y;
1163
1191
  let r = i.waterfall?.dummyStackItem;
1164
- r && (r.x = t, r.label = f[t].label, r.setOffset(e.pointXOffset || 0, e.barW || 0, e.stackedYNeg[t], e.stackedYPos[t], void 0, this.xAxis));
1192
+ r && (r.x = t, r.label = d[t].label, r.setOffset(e.pointXOffset || 0, e.barW || 0, e.stackedYNeg[t], e.stackedYPos[t], void 0, this.xAxis));
1165
1193
  }
1166
- } else _ = Math.max(h, h + w) + C[0], S.y = i.translate(_, !1, !0, !1, !0), a.isSum ? (S.y = i.translate(C[1], !1, !0, !1, !0), S.height = Math.min(i.translate(C[0], !1, !0, !1, !0), i.len) - S.y, a.below = C[1] <= u) : a.isIntermediateSum ? (w >= 0 ? (_ = C[1] + m, y = m) : (_ = m, y = C[1] + m), i.reversed && ([_, y] = [y, _]), S.y = i.translate(_, !1, !0, !1, !0), S.height = Math.abs(S.y - Math.min(i.translate(y, !1, !0, !1, !0), i.len)), m += C[1], a.below = _ <= u) : (S.height = b > 0 ? i.translate(h, !1, !0, !1, !0) - S.y : i.translate(h + b, !1, !0, !1, !0) - i.translate(h, !1, !0, !1, !0), h += b, a.below = h < u);
1167
- S.height < 0 && (S.y += S.height, S.height *= -1), a.plotY = S.y, a.yBottom = S.y + S.height, S.height <= c && !a.isNull ? (S.height = c, S.y -= l, a.yBottom = S.y + S.height, a.plotY = S.y, a.minPointLengthOffset = w < 0 ? -l : l) : (a.isNull && (S.width = 0), a.minPointLengthOffset = 0);
1168
- let T = a.plotY + (a.negative ? S.height : 0);
1169
- a.below && (a.plotY += S.height), a.tooltipPos && (e.chart.inverted ? a.tooltipPos[0] = i.len - T : a.tooltipPos[1] = T), a.isInside = this.isPointInside(a);
1170
- let E = o(a.yBottom, e.borderWidth);
1171
- S.y = o(S.y, e.borderWidth), S.height = E - S.y, n(!0, a.shapeArgs, S);
1172
- }
1173
- }, { order: 2 }), E.registerSeriesType("waterfall", Q);
1194
+ } else g = Math.max(m, m + w) + C[0], S.y = i.translate(g, !1, !0, !1, !0), y.isSum ? (S.y = i.translate(C[1], !1, !0, !1, !0), S.height = Math.min(i.translate(C[0], !1, !0, !1, !0), i.len) - S.y, y.below = C[1] <= l) : y.isIntermediateSum ? (w >= 0 ? (g = C[1] + p, v = p) : (g = p, v = C[1] + p), i.reversed && ([g, v] = [v, g]), S.y = i.translate(g, !1, !0, !1, !0), S.height = Math.abs(S.y - Math.min(i.translate(v, !1, !0, !1, !0), i.len)), p += C[1], y.below = g <= l) : (S.height = b > 0 ? i.translate(m, !1, !0, !1, !0) - S.y : i.translate(m + b, !1, !0, !1, !0) - i.translate(m, !1, !0, !1, !0), m += b, y.below = m < l);
1195
+ S.height < 0 && (S.y += S.height, S.height *= -1), y.plotY = S.y, y.yBottom = S.y + S.height, S.height <= s && !y.isNull ? (S.height = s, S.y -= c, y.yBottom = S.y + S.height, y.plotY = S.y, y.minPointLengthOffset = w < 0 ? -c : c) : (y.isNull && (S.width = 0), y.minPointLengthOffset = 0);
1196
+ let T = y.plotY + (y.negative ? S.height : 0);
1197
+ y.below && (y.plotY += S.height), y.tooltipPos && (e.chart.inverted ? y.tooltipPos[0] = i.len - T : y.tooltipPos[1] = T), y.isInside = this.isPointInside(y);
1198
+ let E = a(y.yBottom, e.borderWidth);
1199
+ S.y = a(S.y, e.borderWidth), S.height = E - S.y, n(!0, y.shapeArgs, S);
1200
+ }
1201
+ }, { order: 2 }), T.registerSeriesType("waterfall", Q);
1174
1202
  //#endregion
1175
1203
  //#region src/highchartsMoreCustom.ts
1176
- var $ = _;
1177
- $.RadialAxis = Se, K.compose($.Chart, $.Pointer), Ke.compose($.Axis, $.Chart, $.Pointer, $.Series, $.Tick, $.Point, E.seriesTypes.areasplinerange, E.seriesTypes.column, E.seriesTypes.line, E.seriesTypes.spline), Q.compose($.Axis, $.Chart);
1204
+ var $ = g;
1205
+ $.RadialAxis = Se, G.compose($.Chart, $.Pointer), Ge.compose($.Axis, $.Chart, $.Pointer, $.Series, $.Tick, $.Point, T.seriesTypes.areasplinerange, T.seriesTypes.column, T.seriesTypes.line, T.seriesTypes.spline), Q.compose($.Axis, $.Chart);
1178
1206
  //#endregion