@dpuse/dpuse-tool-highcharts-visualiser 0.0.76
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.
- package/LICENSE +21 -0
- package/README.md +329 -0
- package/dist/AnimationUtilities-Bby2idBR.js +1176 -0
- package/dist/AnimationUtilities-Bby2idBR.js.map +1 -0
- package/dist/BorderRadius-2zMZW_aK.js +1445 -0
- package/dist/BorderRadius-2zMZW_aK.js.map +1 -0
- package/dist/SVGElement-BmvC_qu3.js +394 -0
- package/dist/SVGElement-BmvC_qu3.js.map +1 -0
- package/dist/SeriesRegistry-0cj0ZJqn.js +374 -0
- package/dist/SeriesRegistry-0cj0ZJqn.js.map +1 -0
- package/dist/TextPath-DK4Jkzd7.js +133 -0
- package/dist/TextPath-DK4Jkzd7.js.map +1 -0
- package/dist/dependency-wheel.src-BHmwx9rW.js +194 -0
- package/dist/dependency-wheel.src-BHmwx9rW.js.map +1 -0
- package/dist/dpuse-tool-highcharts-visualiser.es.js +10154 -0
- package/dist/dpuse-tool-highcharts-visualiser.es.js.map +1 -0
- package/dist/highchartsMoreCustom-CcpfmVny.js +1110 -0
- package/dist/highchartsMoreCustom-CcpfmVny.js.map +1 -0
- package/dist/pattern-fill.src-BPmr3DQg.js +169 -0
- package/dist/pattern-fill.src-BPmr3DQg.js.map +1 -0
- package/dist/sankey.src-DocCurOx.js +524 -0
- package/dist/sankey.src-DocCurOx.js.map +1 -0
- package/dist/streamgraph.src-Bn6PY8Fd.js +19 -0
- package/dist/streamgraph.src-Bn6PY8Fd.js.map +1 -0
- package/dist/types/eslint.config.d.ts +3 -0
- package/dist/types/src/highchartsMoreCustom.d.ts +2 -0
- package/dist/types/src/index.d.ts +18 -0
- package/dist/types/tests/highchartsMoreCustom.test.d.ts +1 -0
- package/dist/types/tests/importIndex.test.d.ts +1 -0
- package/dist/types/vite.config.d.ts +2 -0
- package/dist/types/vitest.config.d.ts +2 -0
- package/package.json +75 -0
|
@@ -0,0 +1,1176 @@
|
|
|
1
|
+
//#region node_modules/highcharts/es-modules/Core/Globals.js
|
|
2
|
+
var e;
|
|
3
|
+
(function(e) {
|
|
4
|
+
e.SVG_NS = "http://www.w3.org/2000/svg", e.product = "Highcharts", e.version = "13.0.0", e.win = typeof window < "u" ? window : {}, e.doc = e.win.document, e.svg = !!e.doc?.createElementNS?.(e.SVG_NS, "svg")?.createSVGRect, e.pageLang = e.doc?.documentElement?.closest("[lang]")?.lang, e.userAgent = e.win.navigator?.userAgent || "", e.isChrome = e.win.chrome, e.isFirefox = e.userAgent.indexOf("Firefox") !== -1, e.isMS = /(edge|msie|trident)/i.test(e.userAgent) && !e.win.opera, e.isSafari = !e.isChrome && e.userAgent.indexOf("Safari") !== -1, e.isTouchDevice = /(Mobile|Android|Windows Phone)/.test(e.userAgent), e.isWebKit = e.userAgent.indexOf("AppleWebKit") !== -1, e.deg2rad = Math.PI * 2 / 360, e.marginNames = [
|
|
5
|
+
"plotTop",
|
|
6
|
+
"marginRight",
|
|
7
|
+
"marginBottom",
|
|
8
|
+
"plotLeft"
|
|
9
|
+
], e.noop = function() {}, e.supportsPassiveEvents = function() {
|
|
10
|
+
let t = !1;
|
|
11
|
+
if (!e.isMS) {
|
|
12
|
+
let n = Object.defineProperty({}, "passive", { get: function() {
|
|
13
|
+
t = !0;
|
|
14
|
+
} });
|
|
15
|
+
e.win.addEventListener && e.win.removeEventListener && (e.win.addEventListener("testPassive", e.noop, n), e.win.removeEventListener("testPassive", e.noop, n));
|
|
16
|
+
}
|
|
17
|
+
return t;
|
|
18
|
+
}(), e.charts = [], e.composed = [], e.dateFormats = {}, e.seriesTypes = {}, e.symbolSizes = {}, e.chartCount = 0;
|
|
19
|
+
})(e ||= {});
|
|
20
|
+
var t = e, n = {
|
|
21
|
+
alignThresholds: !1,
|
|
22
|
+
panning: {
|
|
23
|
+
enabled: !1,
|
|
24
|
+
type: "x"
|
|
25
|
+
},
|
|
26
|
+
styledMode: !1,
|
|
27
|
+
borderRadius: 0,
|
|
28
|
+
colorCount: 10,
|
|
29
|
+
allowMutatingData: !0,
|
|
30
|
+
ignoreHiddenSeries: !0,
|
|
31
|
+
spacing: [
|
|
32
|
+
10,
|
|
33
|
+
10,
|
|
34
|
+
15,
|
|
35
|
+
10
|
|
36
|
+
],
|
|
37
|
+
resetZoomButton: {
|
|
38
|
+
theme: {},
|
|
39
|
+
position: {}
|
|
40
|
+
},
|
|
41
|
+
reflow: !0,
|
|
42
|
+
selectionMarkerFill: "color-mix(var(--highcharts-highlight-color-80) 25%, transparent)",
|
|
43
|
+
type: "line",
|
|
44
|
+
zooming: {
|
|
45
|
+
singleTouch: !1,
|
|
46
|
+
resetButton: {
|
|
47
|
+
theme: { zIndex: 6 },
|
|
48
|
+
position: {
|
|
49
|
+
align: "right",
|
|
50
|
+
x: -10,
|
|
51
|
+
y: 10
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
width: null,
|
|
56
|
+
height: null,
|
|
57
|
+
borderColor: "var(--highcharts-highlight-color-80)",
|
|
58
|
+
backgroundColor: "var(--highcharts-background-color)",
|
|
59
|
+
plotBorderColor: "var(--highcharts-neutral-color-20)"
|
|
60
|
+
}, r = {
|
|
61
|
+
dark: {
|
|
62
|
+
backgroundColor: "#141414",
|
|
63
|
+
neutralColor: "#ffffff",
|
|
64
|
+
highlightColor: "#2caffe"
|
|
65
|
+
},
|
|
66
|
+
light: {
|
|
67
|
+
backgroundColor: "#ffffff",
|
|
68
|
+
neutralColor: "#000000",
|
|
69
|
+
highlightColor: "#0022ff",
|
|
70
|
+
positiveColor: "#06b535",
|
|
71
|
+
negativeColor: "#f21313"
|
|
72
|
+
}
|
|
73
|
+
}, { doc: i, win: a } = t;
|
|
74
|
+
function o(e, n, r, i = {}) {
|
|
75
|
+
let a = typeof e == "function" && e.prototype || e;
|
|
76
|
+
Object.hasOwnProperty.call(a, "hcEvents") || (a.hcEvents = {});
|
|
77
|
+
let o = a.hcEvents;
|
|
78
|
+
t.Point && e instanceof t.Point && e.series && e.series.chart && (e.series.chart.runTrackerClick = !0);
|
|
79
|
+
let s = e.addEventListener;
|
|
80
|
+
s && s.call(e, n, r, t.supportsPassiveEvents ? {
|
|
81
|
+
passive: i.passive === void 0 ? n.indexOf("touch") !== -1 : i.passive,
|
|
82
|
+
capture: !1
|
|
83
|
+
} : !1), o[n] || (o[n] = []);
|
|
84
|
+
let c = {
|
|
85
|
+
fn: r,
|
|
86
|
+
order: typeof i.order == "number" ? i.order : Infinity
|
|
87
|
+
};
|
|
88
|
+
return o[n].push(c), o[n].sort((e, t) => e.order - t.order), function() {
|
|
89
|
+
I(e, n, r);
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
function s(e) {
|
|
93
|
+
let t = e.length, n = e[0];
|
|
94
|
+
for (; t--;) e[t] < n && (n = e[t]);
|
|
95
|
+
return n;
|
|
96
|
+
}
|
|
97
|
+
function c(e) {
|
|
98
|
+
let t = e.length, n = e[0];
|
|
99
|
+
for (; t--;) e[t] > n && (n = e[t]);
|
|
100
|
+
return n;
|
|
101
|
+
}
|
|
102
|
+
function l(e, t, n) {
|
|
103
|
+
let r = D(t) && !h(n), i, a = (t, n) => {
|
|
104
|
+
h(t) ? e.setAttribute(n, t) : r ? (i = e.getAttribute(n), !i && n === "class" && (i = e.getAttribute(n + "Name"))) : e.removeAttribute(n);
|
|
105
|
+
};
|
|
106
|
+
return D(t) ? a(n, t) : j(t, a), i;
|
|
107
|
+
}
|
|
108
|
+
function u(e, t, n) {
|
|
109
|
+
return e > t ? e < n ? e : n : t;
|
|
110
|
+
}
|
|
111
|
+
function d(e, t) {
|
|
112
|
+
return e > 0x5af3107a4000 ? e : parseFloat(e.toPrecision(t || 14));
|
|
113
|
+
}
|
|
114
|
+
function f(e, t, n, r, a) {
|
|
115
|
+
let o = i.createElement(e);
|
|
116
|
+
return t && b(o, t), a && m(o, {
|
|
117
|
+
padding: "0",
|
|
118
|
+
border: "none",
|
|
119
|
+
margin: "0"
|
|
120
|
+
}), n && m(o, n), r && r.appendChild(o), o;
|
|
121
|
+
}
|
|
122
|
+
function p(e, t = 0, n) {
|
|
123
|
+
let r = t % 2 / 2, i = n ? -1 : 1;
|
|
124
|
+
return (Math.round(e * i - r) + r) * i;
|
|
125
|
+
}
|
|
126
|
+
function m(e, t) {
|
|
127
|
+
b(e.style, t);
|
|
128
|
+
}
|
|
129
|
+
function h(e) {
|
|
130
|
+
return e != null;
|
|
131
|
+
}
|
|
132
|
+
function g(e, t, n) {
|
|
133
|
+
j(e, function(r, i) {
|
|
134
|
+
r !== t && r?.destroy && r.destroy(), (r?.destroy || !n) && delete e[i];
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
function _(e) {
|
|
138
|
+
e?.parentElement?.removeChild(e);
|
|
139
|
+
}
|
|
140
|
+
function v(e, t, n, r) {
|
|
141
|
+
let i = {};
|
|
142
|
+
function a(e, t, i, o) {
|
|
143
|
+
let s = n ? t : e;
|
|
144
|
+
j(e, function(n, c) {
|
|
145
|
+
if (!o && r && r.indexOf(c) > -1 && t[c]) {
|
|
146
|
+
n = L(n), i[c] = [];
|
|
147
|
+
for (let e = 0; e < Math.max(n.length, t[c].length); e++) t[c][e] && (n[e] === void 0 ? i[c][e] = t[c][e] : (i[c][e] = {}, a(n[e], t[c][e], i[c][e], o + 1)));
|
|
148
|
+
} else k(n, !0) && !n.nodeType ? (i[c] = O(n) ? [] : {}, a(n, t[c] || {}, i[c], o + 1), Object.keys(i[c]).length === 0 && (c !== "colorAxis" || o !== 0) && delete i[c]) : (e[c] !== t[c] || c in e && !(c in t)) && c !== "__proto__" && c !== "constructor" && (i[c] = s[c]);
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
return a(e, t, i, 0), i;
|
|
152
|
+
}
|
|
153
|
+
function y(e, t) {
|
|
154
|
+
let n = e.length;
|
|
155
|
+
for (; n--;) if (e[n] === t) {
|
|
156
|
+
e.splice(n, 1);
|
|
157
|
+
break;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
function b(e, t) {
|
|
161
|
+
let n;
|
|
162
|
+
for (n in e ||= {}, t) e[n] = t[n];
|
|
163
|
+
return e;
|
|
164
|
+
}
|
|
165
|
+
function ee(e, t) {
|
|
166
|
+
let n = (function() {});
|
|
167
|
+
return n.prototype = new e(), b(n.prototype, t), n;
|
|
168
|
+
}
|
|
169
|
+
function x(e, n, r, a) {
|
|
170
|
+
if (r ||= {}, i?.createEvent && (e.dispatchEvent || e.fireEvent && e !== t)) {
|
|
171
|
+
let t = i.createEvent("Events");
|
|
172
|
+
t.initEvent(n, !0, !0), r = b(t, r), e.dispatchEvent ? e.dispatchEvent(r) : e.fireEvent(n, r);
|
|
173
|
+
} else if (e.hcEvents) {
|
|
174
|
+
r.target || b(r, {
|
|
175
|
+
preventDefault: function() {
|
|
176
|
+
r.defaultPrevented = !0;
|
|
177
|
+
},
|
|
178
|
+
target: e,
|
|
179
|
+
type: n
|
|
180
|
+
});
|
|
181
|
+
let t = [], i = e, a = !1;
|
|
182
|
+
for (; i.hcEvents;) Object.hasOwnProperty.call(i, "hcEvents") && i.hcEvents[n] && (t.length && (a = !0), t.unshift.apply(t, i.hcEvents[n])), i = Object.getPrototypeOf(i);
|
|
183
|
+
a && t.sort((e, t) => e.order - t.order), t.forEach((t) => {
|
|
184
|
+
t.fn.call(e, r, e) === !1 && r.preventDefault();
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
a && !r.defaultPrevented && a.call(e, r);
|
|
188
|
+
}
|
|
189
|
+
var te = (e = "") => ({
|
|
190
|
+
center: .5,
|
|
191
|
+
right: 1,
|
|
192
|
+
middle: .5,
|
|
193
|
+
bottom: 1
|
|
194
|
+
})[e] || 0;
|
|
195
|
+
function ne(e, t) {
|
|
196
|
+
let n = !t, r, i, a, o;
|
|
197
|
+
return e.forEach((e) => {
|
|
198
|
+
if (e.length > 1) for (i = e.length - 1, o = i; o > 0; o--) a = e[o] - e[o - 1], a < 0 && !n ? (t?.(), t = void 0) : a && (r === void 0 || a < r) && (r = a);
|
|
199
|
+
}), r;
|
|
200
|
+
}
|
|
201
|
+
function S(e) {
|
|
202
|
+
return 10 ** Math.floor(Math.log(e) / Math.LN10);
|
|
203
|
+
}
|
|
204
|
+
function re(e, t) {
|
|
205
|
+
let n = e.split(".");
|
|
206
|
+
for (; n.length && h(t);) {
|
|
207
|
+
let e = n.shift();
|
|
208
|
+
if (e === void 0 || e === "__proto__") return;
|
|
209
|
+
if (e === "this") {
|
|
210
|
+
let e;
|
|
211
|
+
return k(t) && (e = t["@this"]), e ?? t;
|
|
212
|
+
}
|
|
213
|
+
let r = t[e.replace(/[\\'"]/g, "")];
|
|
214
|
+
if (!h(r) || typeof r == "function" || typeof r.nodeType == "number" || r === a) return;
|
|
215
|
+
t = r;
|
|
216
|
+
}
|
|
217
|
+
return t;
|
|
218
|
+
}
|
|
219
|
+
function C(e, t, n) {
|
|
220
|
+
let r;
|
|
221
|
+
if (t === "width") {
|
|
222
|
+
let t = Math.min(e.offsetWidth, e.scrollWidth), n = e.getBoundingClientRect?.().width;
|
|
223
|
+
return n < t && n >= t - 1 && (t = Math.floor(n)), Math.max(0, t - (C(e, "padding-left", !0) || 0) - (C(e, "padding-right", !0) || 0));
|
|
224
|
+
}
|
|
225
|
+
if (t === "height") return Math.max(0, Math.min(e.offsetHeight, e.scrollHeight) - (C(e, "padding-top", !0) || 0) - (C(e, "padding-bottom", !0) || 0));
|
|
226
|
+
let i = a.getComputedStyle(e, void 0);
|
|
227
|
+
return i && (r = i.getPropertyValue(t), P(n, t !== "opacity") && (r = F(r))), r;
|
|
228
|
+
}
|
|
229
|
+
var ie = Array.prototype.find ? function(e, t) {
|
|
230
|
+
return e.find(t);
|
|
231
|
+
} : function(e, t) {
|
|
232
|
+
let n, r = e.length;
|
|
233
|
+
for (n = 0; n < r; n++) if (t(e[n], n)) return e[n];
|
|
234
|
+
};
|
|
235
|
+
function ae(e) {
|
|
236
|
+
h(e) && clearTimeout(e);
|
|
237
|
+
}
|
|
238
|
+
function w(e) {
|
|
239
|
+
return k(e) && typeof e.nodeType == "number";
|
|
240
|
+
}
|
|
241
|
+
function T(e) {
|
|
242
|
+
let t = e?.constructor;
|
|
243
|
+
return !!(k(e, !0) && !w(e) && t?.name && t.name !== "Object");
|
|
244
|
+
}
|
|
245
|
+
function E(e) {
|
|
246
|
+
return typeof e == "number" && !isNaN(e) && e < Infinity && e > -Infinity;
|
|
247
|
+
}
|
|
248
|
+
function D(e) {
|
|
249
|
+
return typeof e == "string";
|
|
250
|
+
}
|
|
251
|
+
function O(e) {
|
|
252
|
+
let t = Object.prototype.toString.call(e);
|
|
253
|
+
return t === "[object Array]" || t === "[object Array Iterator]";
|
|
254
|
+
}
|
|
255
|
+
function oe(e) {
|
|
256
|
+
return typeof e == "function";
|
|
257
|
+
}
|
|
258
|
+
function k(e, t) {
|
|
259
|
+
return !!e && typeof e == "object" && (!t || !O(e));
|
|
260
|
+
}
|
|
261
|
+
function A(e, ...t) {
|
|
262
|
+
let n, r = [e, ...t], i = {}, a = function(e, t) {
|
|
263
|
+
return typeof e != "object" && (e = {}), j(t, function(n, r) {
|
|
264
|
+
r !== "__proto__" && r !== "constructor" && (k(n, !0) && !T(n) && !w(n) ? e[r] = a(e[r] || {}, n) : e[r] = t[r]);
|
|
265
|
+
}), e;
|
|
266
|
+
};
|
|
267
|
+
e === !0 && (i = r[1], r = Array.prototype.slice.call(r, 2));
|
|
268
|
+
let o = r.length;
|
|
269
|
+
for (n = 0; n < o; n++) i = a(i, r[n]);
|
|
270
|
+
return i;
|
|
271
|
+
}
|
|
272
|
+
function se(e, t, n, r, i) {
|
|
273
|
+
let a, o = e;
|
|
274
|
+
n = P(n, S(e));
|
|
275
|
+
let s = e / n;
|
|
276
|
+
for (t || (t = i ? [
|
|
277
|
+
1,
|
|
278
|
+
1.2,
|
|
279
|
+
1.5,
|
|
280
|
+
2,
|
|
281
|
+
2.5,
|
|
282
|
+
3,
|
|
283
|
+
4,
|
|
284
|
+
5,
|
|
285
|
+
6,
|
|
286
|
+
8,
|
|
287
|
+
10
|
|
288
|
+
] : [
|
|
289
|
+
1,
|
|
290
|
+
2,
|
|
291
|
+
2.5,
|
|
292
|
+
5,
|
|
293
|
+
10
|
|
294
|
+
], r === !1 && (n === 1 ? t = t.filter(function(e) {
|
|
295
|
+
return e % 1 == 0;
|
|
296
|
+
}) : n <= .1 && (t = [1 / n]))), a = 0; a < t.length && (o = t[a], !(i && o * n >= e || !i && s <= (t[a] + (t[a + 1] || t[a])) / 2)); a++);
|
|
297
|
+
return o = d(o * n, -Math.round(Math.log(.001) / Math.LN10)), o;
|
|
298
|
+
}
|
|
299
|
+
function j(e, t, n) {
|
|
300
|
+
for (let r in e) Object.hasOwnProperty.call(e, r) && t.call(n || e[r], e[r], r, e);
|
|
301
|
+
}
|
|
302
|
+
function M(e) {
|
|
303
|
+
let t = i.documentElement, n = e.parentElement || e.parentNode ? e.getBoundingClientRect() : {
|
|
304
|
+
top: 0,
|
|
305
|
+
left: 0,
|
|
306
|
+
width: 0,
|
|
307
|
+
height: 0
|
|
308
|
+
};
|
|
309
|
+
return {
|
|
310
|
+
top: n.top + (a.pageYOffset || t.scrollTop) - (t.clientTop || 0),
|
|
311
|
+
left: n.left + (a.pageXOffset || t.scrollLeft) - (t.clientLeft || 0),
|
|
312
|
+
width: n.width,
|
|
313
|
+
height: n.height
|
|
314
|
+
};
|
|
315
|
+
}
|
|
316
|
+
function N(e, t, n) {
|
|
317
|
+
return Array((t || 2) + 1 - String(e).replace("-", "").length).join(n || "0") + e;
|
|
318
|
+
}
|
|
319
|
+
function P() {
|
|
320
|
+
let e = arguments, t = e.length;
|
|
321
|
+
for (let n = 0; n < t; n++) {
|
|
322
|
+
let t = e[n];
|
|
323
|
+
if (t != null) return t;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
function F(e, t) {
|
|
327
|
+
return parseInt(e, t || 10);
|
|
328
|
+
}
|
|
329
|
+
function ce(e, t) {
|
|
330
|
+
return e.indexOf(t) < 0 && !!e.push(t);
|
|
331
|
+
}
|
|
332
|
+
function le(e, t, n) {
|
|
333
|
+
return /%$/.test(e) ? t * parseFloat(e) / 100 + (n || 0) : parseFloat(e);
|
|
334
|
+
}
|
|
335
|
+
function ue(e, ...t) {
|
|
336
|
+
let n, r;
|
|
337
|
+
do {
|
|
338
|
+
n = e;
|
|
339
|
+
for (r of t) e = e.replace(r[0], r[1]);
|
|
340
|
+
} while (e !== n);
|
|
341
|
+
return e;
|
|
342
|
+
}
|
|
343
|
+
function I(e, t, n) {
|
|
344
|
+
function r(t, n) {
|
|
345
|
+
let r = e.removeEventListener;
|
|
346
|
+
r && r.call(e, t, n, !1);
|
|
347
|
+
}
|
|
348
|
+
function i(n) {
|
|
349
|
+
let i, a;
|
|
350
|
+
e.nodeName && (t ? (i = {}, i[t] = !0) : i = n, j(i, function(e, t) {
|
|
351
|
+
if (n[t]) for (a = n[t].length; a--;) r(t, n[t][a].fn);
|
|
352
|
+
}));
|
|
353
|
+
}
|
|
354
|
+
let a = typeof e == "function" && e.prototype || e;
|
|
355
|
+
if (Object.hasOwnProperty.call(a, "hcEvents")) {
|
|
356
|
+
let e = a.hcEvents;
|
|
357
|
+
if (t) {
|
|
358
|
+
let a = e[t] || [];
|
|
359
|
+
n ? (e[t] = a.filter(function(e) {
|
|
360
|
+
return n !== e.fn;
|
|
361
|
+
}), r(t, n)) : (i(e), e[t] = []);
|
|
362
|
+
} else i(e), delete a.hcEvents;
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
function L(e) {
|
|
366
|
+
return O(e) ? e : [e];
|
|
367
|
+
}
|
|
368
|
+
function de(e, t) {
|
|
369
|
+
let n = e.length, r, i;
|
|
370
|
+
for (i = 0; i < n; i++) e[i].safeI = i;
|
|
371
|
+
for (e.sort(function(e, n) {
|
|
372
|
+
return r = t(e, n), r === 0 ? e.safeI - n.safeI : r;
|
|
373
|
+
}), i = 0; i < n; i++) delete e[i].safeI;
|
|
374
|
+
}
|
|
375
|
+
function fe(e, t, n) {
|
|
376
|
+
return t > 0 ? setTimeout(e, t, n) : (e.call(0, n), -1);
|
|
377
|
+
}
|
|
378
|
+
function R(e) {
|
|
379
|
+
return D(e) ? e.substring(0, 1).toUpperCase() + e.substring(1) : String(e);
|
|
380
|
+
}
|
|
381
|
+
function pe(e, t, n) {
|
|
382
|
+
let r = e[t];
|
|
383
|
+
e[t] = function() {
|
|
384
|
+
let e = arguments, t = this;
|
|
385
|
+
return n.apply(this, [function() {
|
|
386
|
+
return r.apply(t, arguments.length ? arguments : e);
|
|
387
|
+
}].concat([].slice.call(arguments)));
|
|
388
|
+
};
|
|
389
|
+
}
|
|
390
|
+
//#endregion
|
|
391
|
+
//#region node_modules/highcharts/es-modules/Core/Utilities.js
|
|
392
|
+
var { charts: me, win: z } = t;
|
|
393
|
+
function B(e, n, r, i) {
|
|
394
|
+
let a = n ? "Highcharts error" : "Highcharts warning";
|
|
395
|
+
e === 32 && (e = `${a}: Deprecated member`);
|
|
396
|
+
let o = E(e), s = o ? `${a} #${e}: www.highcharts.com/errors/${e}/` : e.toString(), c = function() {
|
|
397
|
+
if (n) throw Error(s);
|
|
398
|
+
z.console && B.messages.indexOf(s) === -1 && console.warn(s);
|
|
399
|
+
};
|
|
400
|
+
if (i !== void 0) {
|
|
401
|
+
let e = "";
|
|
402
|
+
o && (s += "?"), j(i, function(t, n) {
|
|
403
|
+
e += `\n - ${n}: ${t}`, o && (s += encodeURI(n) + "=" + encodeURI(t));
|
|
404
|
+
}), s += e;
|
|
405
|
+
}
|
|
406
|
+
x(t, "displayError", {
|
|
407
|
+
chart: r,
|
|
408
|
+
code: e,
|
|
409
|
+
message: s,
|
|
410
|
+
params: i
|
|
411
|
+
}, c), B.messages.push(s);
|
|
412
|
+
}
|
|
413
|
+
(function(e) {
|
|
414
|
+
e.messages = [];
|
|
415
|
+
})(B ||= {});
|
|
416
|
+
function he(e, t) {
|
|
417
|
+
let n = e.options.index, r = t.length, i;
|
|
418
|
+
for (i = e.options.isInternal ? r : 0; i < r + 1; i++) if (!t[i] || E(n) && n < P(t[i].options.index, t[i]._i) || t[i].options.isInternal) {
|
|
419
|
+
t.splice(i, 0, e);
|
|
420
|
+
break;
|
|
421
|
+
}
|
|
422
|
+
return i;
|
|
423
|
+
}
|
|
424
|
+
var V = {
|
|
425
|
+
millisecond: 1,
|
|
426
|
+
second: 1e3,
|
|
427
|
+
minute: 6e4,
|
|
428
|
+
hour: 36e5,
|
|
429
|
+
day: 864e5,
|
|
430
|
+
week: 6048e5,
|
|
431
|
+
month: 24192e5,
|
|
432
|
+
year: 314496e5
|
|
433
|
+
};
|
|
434
|
+
Math.easeInOutSine = function(e) {
|
|
435
|
+
return -.5 * (Math.cos(Math.PI * e) - 1);
|
|
436
|
+
};
|
|
437
|
+
var H, ge = function() {
|
|
438
|
+
let e = Math.random().toString(36).substring(2, 9) + "-", t = 0;
|
|
439
|
+
return function() {
|
|
440
|
+
return "highcharts-" + (H ? "" : e) + t++;
|
|
441
|
+
};
|
|
442
|
+
}();
|
|
443
|
+
function _e(e) {
|
|
444
|
+
return H = P(e, H);
|
|
445
|
+
}
|
|
446
|
+
z.jQuery && (z.jQuery.fn.highcharts = function() {
|
|
447
|
+
let e = [].slice.call(arguments);
|
|
448
|
+
if (this[0]) return e[0] ? (new t[D(e[0]) ? e.shift() : "Chart"](this[0], e[0], e[1]), this) : me[l(this[0], "data-highcharts-chart")];
|
|
449
|
+
});
|
|
450
|
+
//#endregion
|
|
451
|
+
//#region node_modules/highcharts/es-modules/Shared/TimeBase.js
|
|
452
|
+
var { pageLang: ve, win: U } = t, ye = t.isSafari && U.Intl && !U.Intl.DateTimeFormat.prototype.formatRange, be = (e) => e.main === void 0, xe = class {
|
|
453
|
+
constructor(e, t) {
|
|
454
|
+
this.options = { timezone: "UTC" }, this.variableTimezone = !1, this.Date = U.Date, this.update(e), this.lang = t;
|
|
455
|
+
}
|
|
456
|
+
update(e = {}) {
|
|
457
|
+
this.dTLCache = {}, this.options = e = A(!0, this.options, e);
|
|
458
|
+
let { timezoneOffset: t, useUTC: n, locale: r } = e;
|
|
459
|
+
this.Date = e.Date || U.Date || Date;
|
|
460
|
+
let i = e.timezone;
|
|
461
|
+
h(n) && (i = n ? "UTC" : void 0), t && t % 60 == 0 && (i = "Etc/GMT" + (t > 0 ? "+" : "") + t / 60), this.variableTimezone = i !== "UTC" && i?.indexOf("Etc/GMT") !== 0, this.timezone = i, this.lang && r && (this.lang.locale = r), [
|
|
462
|
+
"months",
|
|
463
|
+
"shortMonths",
|
|
464
|
+
"weekdays",
|
|
465
|
+
"shortWeekdays"
|
|
466
|
+
].forEach((e) => {
|
|
467
|
+
let t = /months/i.test(e), n = /short/.test(e), r = { timeZone: "UTC" };
|
|
468
|
+
r[t ? "month" : "weekday"] = n ? "short" : "long", this[e] = (t ? [
|
|
469
|
+
0,
|
|
470
|
+
1,
|
|
471
|
+
2,
|
|
472
|
+
3,
|
|
473
|
+
4,
|
|
474
|
+
5,
|
|
475
|
+
6,
|
|
476
|
+
7,
|
|
477
|
+
8,
|
|
478
|
+
9,
|
|
479
|
+
10,
|
|
480
|
+
11
|
|
481
|
+
] : [
|
|
482
|
+
3,
|
|
483
|
+
4,
|
|
484
|
+
5,
|
|
485
|
+
6,
|
|
486
|
+
7,
|
|
487
|
+
8,
|
|
488
|
+
9
|
|
489
|
+
]).map((e) => this.dateFormat(r, (t ? 31 : 1) * 24 * 36e5 * e));
|
|
490
|
+
});
|
|
491
|
+
}
|
|
492
|
+
toParts(e) {
|
|
493
|
+
let [t, n, r, i, a, o, s] = this.dateTimeFormat({
|
|
494
|
+
weekday: "narrow",
|
|
495
|
+
day: "numeric",
|
|
496
|
+
month: "numeric",
|
|
497
|
+
year: "numeric",
|
|
498
|
+
hour: "numeric",
|
|
499
|
+
minute: "numeric",
|
|
500
|
+
second: "numeric"
|
|
501
|
+
}, e, "es").split(/(?:, | |\/|:)/g);
|
|
502
|
+
return [
|
|
503
|
+
+i,
|
|
504
|
+
r - 1,
|
|
505
|
+
+n,
|
|
506
|
+
+a,
|
|
507
|
+
+o,
|
|
508
|
+
+s,
|
|
509
|
+
Math.floor(Number(e) || 0) % 1e3,
|
|
510
|
+
"DLMXJVS".indexOf(t)
|
|
511
|
+
];
|
|
512
|
+
}
|
|
513
|
+
dateTimeFormat(e, t, n = this.options.locale || ve) {
|
|
514
|
+
let r = JSON.stringify(e) + n;
|
|
515
|
+
D(e) && (e = this.str2dtf(e));
|
|
516
|
+
let i = this.dTLCache[r];
|
|
517
|
+
if (!i) {
|
|
518
|
+
e.timeZone ?? (e.timeZone = this.timezone);
|
|
519
|
+
try {
|
|
520
|
+
i = new Intl.DateTimeFormat(n, e);
|
|
521
|
+
} catch (t) {
|
|
522
|
+
/Invalid time zone/i.test(t.message) ? (B(34), e.timeZone = "UTC", i = new Intl.DateTimeFormat(n, e)) : B(t.message, !1);
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
return this.dTLCache[r] = i, i?.format(t) || "";
|
|
526
|
+
}
|
|
527
|
+
str2dtf(e, t = {}) {
|
|
528
|
+
let n = {
|
|
529
|
+
L: { fractionalSecondDigits: 3 },
|
|
530
|
+
S: { second: "2-digit" },
|
|
531
|
+
M: { minute: "numeric" },
|
|
532
|
+
H: { hour: "2-digit" },
|
|
533
|
+
k: { hour: "numeric" },
|
|
534
|
+
E: { weekday: "narrow" },
|
|
535
|
+
a: { weekday: "short" },
|
|
536
|
+
A: { weekday: "long" },
|
|
537
|
+
d: { day: "2-digit" },
|
|
538
|
+
e: { day: "numeric" },
|
|
539
|
+
b: { month: "short" },
|
|
540
|
+
B: { month: "long" },
|
|
541
|
+
m: { month: "2-digit" },
|
|
542
|
+
o: { month: "numeric" },
|
|
543
|
+
y: { year: "2-digit" },
|
|
544
|
+
Y: { year: "numeric" }
|
|
545
|
+
};
|
|
546
|
+
return Object.keys(n).forEach((r) => {
|
|
547
|
+
e.indexOf(r) !== -1 && b(t, n[r]);
|
|
548
|
+
}), t;
|
|
549
|
+
}
|
|
550
|
+
makeTime(e, t, n = 1, r = 0, i, a, o) {
|
|
551
|
+
let s = this.Date.UTC(e, t, n, r, i || 0, a || 0, o || 0);
|
|
552
|
+
if (this.timezone !== "UTC") {
|
|
553
|
+
let e = this.getTimezoneOffset(s);
|
|
554
|
+
if (s += e, [
|
|
555
|
+
2,
|
|
556
|
+
3,
|
|
557
|
+
8,
|
|
558
|
+
9,
|
|
559
|
+
10,
|
|
560
|
+
11
|
|
561
|
+
].indexOf(t) !== -1 && (r < 5 || r > 20)) {
|
|
562
|
+
let t = this.getTimezoneOffset(s);
|
|
563
|
+
e === t ? e - 36e5 === this.getTimezoneOffset(s - 36e5) && !ye && (s -= 36e5) : s += t - e;
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
return s;
|
|
567
|
+
}
|
|
568
|
+
parse(e) {
|
|
569
|
+
if (!D(e)) return e ?? void 0;
|
|
570
|
+
e = e.replace(/\//g, "-").replace(/(GMT|UTC)/, "");
|
|
571
|
+
let t = e.indexOf("Z") > -1 || /([+-][0-9]{2}):?[0-9]{2}$/.test(e), n = /^[0-9]{4}-[0-9]{2}(-[0-9]{2}|)$/.test(e);
|
|
572
|
+
!t && !n && (e += "Z");
|
|
573
|
+
let r = Date.parse(e);
|
|
574
|
+
if (E(r)) return r + (!t || n ? this.getTimezoneOffset(r) : 0);
|
|
575
|
+
}
|
|
576
|
+
getTimezoneOffset(e) {
|
|
577
|
+
if (this.timezone !== "UTC") {
|
|
578
|
+
let [t, n, r, i, a = 0] = this.dateTimeFormat({ timeZoneName: "shortOffset" }, e, "en").split(/(GMT|:)/).map(Number), o = -(r + a / 60) * 60 * 6e4;
|
|
579
|
+
if (E(o)) return o;
|
|
580
|
+
}
|
|
581
|
+
return 0;
|
|
582
|
+
}
|
|
583
|
+
dateFormat(e, n, r) {
|
|
584
|
+
let i = this.lang;
|
|
585
|
+
if (!h(n) || isNaN(n)) return i?.invalidDate || "";
|
|
586
|
+
if (e ??= "%Y-%m-%d %H:%M:%S", D(e)) {
|
|
587
|
+
let t = /%\[([a-zA-Z]+)\]/g, r;
|
|
588
|
+
for (; r = t.exec(e);) e = e.replace(r[0], this.dateTimeFormat(r[1], n, i?.locale));
|
|
589
|
+
}
|
|
590
|
+
if (D(e) && e.indexOf("%") !== -1) {
|
|
591
|
+
let r = this, [a, o, s, c, l, u, d, f] = this.toParts(n), p = i?.weekdays || this.weekdays, m = i?.shortWeekdays || this.shortWeekdays, h = i?.months || this.months, g = i?.shortMonths || this.shortMonths;
|
|
592
|
+
j(b({
|
|
593
|
+
a: m ? m[f] : p[f].substr(0, 3),
|
|
594
|
+
A: p[f],
|
|
595
|
+
d: N(s),
|
|
596
|
+
e: N(s, 2, " "),
|
|
597
|
+
w: f,
|
|
598
|
+
v: i?.weekFrom ?? "",
|
|
599
|
+
b: g[o],
|
|
600
|
+
B: h[o],
|
|
601
|
+
m: N(o + 1),
|
|
602
|
+
o: o + 1,
|
|
603
|
+
y: a.toString().substr(2, 2),
|
|
604
|
+
Y: a,
|
|
605
|
+
H: N(c),
|
|
606
|
+
k: c,
|
|
607
|
+
I: N(c % 12 || 12),
|
|
608
|
+
l: c % 12 || 12,
|
|
609
|
+
M: N(l),
|
|
610
|
+
p: c < 12 ? "AM" : "PM",
|
|
611
|
+
P: c < 12 ? "am" : "pm",
|
|
612
|
+
S: N(u),
|
|
613
|
+
L: N(d, 3)
|
|
614
|
+
}, t.dateFormats), function(t, i) {
|
|
615
|
+
if (D(e)) for (; e.indexOf("%" + i) !== -1;) e = e.replace("%" + i, typeof t == "function" ? t.call(r, n, r) : t);
|
|
616
|
+
});
|
|
617
|
+
} else if (k(e)) {
|
|
618
|
+
let t = (this.getTimezoneOffset(n) || 0) / 36e5, r = this.timezone || "Etc/GMT" + (t >= 0 ? "+" : "") + t, { prefix: i = "", suffix: a = "" } = e;
|
|
619
|
+
e = i + this.dateTimeFormat(b({ timeZone: r }, e), n) + a;
|
|
620
|
+
}
|
|
621
|
+
return r ? R(e) : e;
|
|
622
|
+
}
|
|
623
|
+
resolveDTLFormat(e) {
|
|
624
|
+
return k(e, !0) ? k(e, !0) && be(e) ? { main: e } : e : (e = L(e), {
|
|
625
|
+
main: e[0],
|
|
626
|
+
from: e[1],
|
|
627
|
+
to: e[2]
|
|
628
|
+
});
|
|
629
|
+
}
|
|
630
|
+
getDateFormat(e, t, n, r) {
|
|
631
|
+
let i = this.dateFormat("%m-%d %H:%M:%S.%L", t), a = "01-01 00:00:00.000", o = {
|
|
632
|
+
millisecond: 15,
|
|
633
|
+
second: 12,
|
|
634
|
+
minute: 9,
|
|
635
|
+
hour: 6,
|
|
636
|
+
day: 3
|
|
637
|
+
}, s = "millisecond", c = s;
|
|
638
|
+
for (s in V) {
|
|
639
|
+
if (e && e === V.week && +this.dateFormat("%w", t) === n && i.substr(6) === a.substr(6)) {
|
|
640
|
+
s = "week";
|
|
641
|
+
break;
|
|
642
|
+
}
|
|
643
|
+
if (e && V[s] > e) {
|
|
644
|
+
s = c;
|
|
645
|
+
break;
|
|
646
|
+
}
|
|
647
|
+
if (o[s] && i.substr(o[s]) !== a.substr(o[s])) break;
|
|
648
|
+
s !== "week" && (c = s);
|
|
649
|
+
}
|
|
650
|
+
return this.resolveDTLFormat(r[s]).main;
|
|
651
|
+
}
|
|
652
|
+
}, W = class extends xe {
|
|
653
|
+
getBoundaryTicks(e, t, n, r) {
|
|
654
|
+
let i = {};
|
|
655
|
+
if (t === V.year) return i;
|
|
656
|
+
let a = h(n) && h(r), o = t < V.hour, s = t < V.day, c = t < V.month, l = t >= V.hour ? 9e5 : t >= V.minute ? 6e4 : t >= V.second && 1e3;
|
|
657
|
+
if (e.length < 1e4) {
|
|
658
|
+
let u = !0;
|
|
659
|
+
for (let d = 0; d < e.length; d++) {
|
|
660
|
+
let f = e[d];
|
|
661
|
+
if (a) {
|
|
662
|
+
if (f < n) continue;
|
|
663
|
+
if (f > r) break;
|
|
664
|
+
}
|
|
665
|
+
if (u) {
|
|
666
|
+
if (t === V.month) {
|
|
667
|
+
i[f] = "year", u = !1;
|
|
668
|
+
continue;
|
|
669
|
+
}
|
|
670
|
+
if (t === V.hour) {
|
|
671
|
+
i[f] = "day", u = !1;
|
|
672
|
+
continue;
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
if (l && f % l !== 0) {
|
|
676
|
+
u = !1;
|
|
677
|
+
continue;
|
|
678
|
+
}
|
|
679
|
+
let [, p, m, h, g, _, v] = this.toParts(f), y = !h && !g && !_ && !v;
|
|
680
|
+
o && g === 0 && (i[f] = "hour"), s && y && (i[f] = "day"), c && m === 1 && y && (i[f] = "month"), p === 0 && m === 1 && y && (i[f] = "year"), u = !1;
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
return i;
|
|
684
|
+
}
|
|
685
|
+
getTimeTicks(e, t, n, r) {
|
|
686
|
+
let i = this, a = [], { count: o = 1, unitRange: s } = e, c = t, l = n, [u, d, f, p, m, g] = i.toParts(t), _ = (t || 0) % 1e3, v;
|
|
687
|
+
if (r ??= 1, h(t)) {
|
|
688
|
+
if (_ = s >= V.second ? 0 : o * Math.floor(_ / o), s >= V.second && (g = s >= V.minute ? 0 : o * Math.floor(g / o)), s >= V.minute && (m = s >= V.hour ? 0 : o * Math.floor(m / o)), s >= V.hour && (p = s >= V.day ? 0 : o * Math.floor(p / o)), s >= V.day && (f = s >= V.month ? 1 : Math.max(1, o * Math.floor(f / o))), s >= V.month && (d = s >= V.year ? 0 : o * Math.floor(d / o)), s >= V.year && (u -= u % o), s === V.week) {
|
|
689
|
+
o && (t = i.makeTime(u, d, f, p, m, g, _));
|
|
690
|
+
let e = this.dateTimeFormat({
|
|
691
|
+
timeZone: this.timezone,
|
|
692
|
+
weekday: "narrow"
|
|
693
|
+
}, t, "es"), n = "DLMXJVS".indexOf(e);
|
|
694
|
+
f += -n + r + (n < r ? -7 : 0);
|
|
695
|
+
}
|
|
696
|
+
t = i.makeTime(u, d, f, p, m, g, _), i.variableTimezone && h(n) && (v = n - t > 4 * V.month || i.getTimezoneOffset(t) !== i.getTimezoneOffset(n));
|
|
697
|
+
let e = t, c = 1;
|
|
698
|
+
for (; e < n;) a.push(e), s === V.year ? e = i.makeTime(u + c * o, 0) : s === V.month ? e = i.makeTime(u, d + c * o) : v && (s === V.day || s === V.week) ? e = i.makeTime(u, d, f + c * o * (s === V.day ? 1 : 7)) : v && s === V.hour && o > 1 ? e = i.makeTime(u, d, f, p + c * o) : e += s * o, c++;
|
|
699
|
+
a.push(e);
|
|
700
|
+
}
|
|
701
|
+
return a.info = b(e, {
|
|
702
|
+
boundaryTicks: this.getBoundaryTicks(a, s, c, l),
|
|
703
|
+
totalRange: s * o
|
|
704
|
+
}), a;
|
|
705
|
+
}
|
|
706
|
+
}, { isTouchDevice: Se } = t, G = {
|
|
707
|
+
palette: r,
|
|
708
|
+
colors: Array(10).fill(1).map((e, t) => `var(--highcharts-color-${t})`),
|
|
709
|
+
symbols: [
|
|
710
|
+
"circle",
|
|
711
|
+
"diamond",
|
|
712
|
+
"square",
|
|
713
|
+
"triangle",
|
|
714
|
+
"triangle-down"
|
|
715
|
+
],
|
|
716
|
+
lang: {
|
|
717
|
+
weekFrom: "week from",
|
|
718
|
+
chartTitle: "Chart title",
|
|
719
|
+
locale: void 0,
|
|
720
|
+
loading: "Loading...",
|
|
721
|
+
months: void 0,
|
|
722
|
+
seriesName: "Series {add index 1}",
|
|
723
|
+
shortMonths: void 0,
|
|
724
|
+
weekdays: void 0,
|
|
725
|
+
numericSymbols: [
|
|
726
|
+
"k",
|
|
727
|
+
"M",
|
|
728
|
+
"G",
|
|
729
|
+
"T",
|
|
730
|
+
"P",
|
|
731
|
+
"E"
|
|
732
|
+
],
|
|
733
|
+
pieSliceName: "Slice",
|
|
734
|
+
resetZoom: "Reset zoom",
|
|
735
|
+
yAxisTitle: "Values",
|
|
736
|
+
resetZoomTitle: "Reset zoom level 1:1"
|
|
737
|
+
},
|
|
738
|
+
global: { buttonTheme: {
|
|
739
|
+
fill: "var(--highcharts-neutral-color-3)",
|
|
740
|
+
padding: 8,
|
|
741
|
+
r: 2,
|
|
742
|
+
stroke: "var(--highcharts-neutral-color-20)",
|
|
743
|
+
"stroke-width": 1,
|
|
744
|
+
style: {
|
|
745
|
+
color: "var(--highcharts-neutral-color-80)",
|
|
746
|
+
cursor: "pointer",
|
|
747
|
+
fontSize: "0.8em",
|
|
748
|
+
fontWeight: "normal"
|
|
749
|
+
},
|
|
750
|
+
states: {
|
|
751
|
+
hover: { fill: "var(--highcharts-neutral-color-10)" },
|
|
752
|
+
select: {
|
|
753
|
+
fill: "var(--highcharts-highlight-color-10)",
|
|
754
|
+
style: {
|
|
755
|
+
color: "var(--highcharts-neutral-color-100)",
|
|
756
|
+
fontWeight: "bold"
|
|
757
|
+
}
|
|
758
|
+
},
|
|
759
|
+
disabled: { style: { color: "var(--highcharts-neutral-color-20)" } }
|
|
760
|
+
}
|
|
761
|
+
} },
|
|
762
|
+
time: {
|
|
763
|
+
Date: void 0,
|
|
764
|
+
timezone: "UTC",
|
|
765
|
+
timezoneOffset: 0,
|
|
766
|
+
useUTC: void 0
|
|
767
|
+
},
|
|
768
|
+
chart: n,
|
|
769
|
+
title: {
|
|
770
|
+
style: {
|
|
771
|
+
color: "var(--highcharts-neutral-color-80)",
|
|
772
|
+
fontWeight: "bold"
|
|
773
|
+
},
|
|
774
|
+
text: "Chart title",
|
|
775
|
+
margin: 15,
|
|
776
|
+
minScale: .67
|
|
777
|
+
},
|
|
778
|
+
subtitle: {
|
|
779
|
+
style: {
|
|
780
|
+
color: "var(--highcharts-neutral-color-60)",
|
|
781
|
+
fontSize: "0.8em"
|
|
782
|
+
},
|
|
783
|
+
text: ""
|
|
784
|
+
},
|
|
785
|
+
caption: {
|
|
786
|
+
margin: 15,
|
|
787
|
+
style: {
|
|
788
|
+
color: "var(--highcharts-neutral-color-60)",
|
|
789
|
+
fontSize: "0.8em"
|
|
790
|
+
},
|
|
791
|
+
text: "",
|
|
792
|
+
align: "left",
|
|
793
|
+
verticalAlign: "bottom"
|
|
794
|
+
},
|
|
795
|
+
plotOptions: {},
|
|
796
|
+
legend: {
|
|
797
|
+
enabled: !0,
|
|
798
|
+
align: "center",
|
|
799
|
+
alignColumns: !0,
|
|
800
|
+
className: "highcharts-no-tooltip",
|
|
801
|
+
events: {},
|
|
802
|
+
layout: "horizontal",
|
|
803
|
+
itemMarginBottom: 2,
|
|
804
|
+
itemMarginTop: 2,
|
|
805
|
+
labelFormatter: function() {
|
|
806
|
+
return this.name;
|
|
807
|
+
},
|
|
808
|
+
borderColor: "var(--highcharts-neutral-color-40)",
|
|
809
|
+
borderRadius: 0,
|
|
810
|
+
navigation: {
|
|
811
|
+
style: { fontSize: "0.8em" },
|
|
812
|
+
activeColor: "var(--highcharts-highlight-color-100)",
|
|
813
|
+
inactiveColor: "var(--highcharts-neutral-color-20)"
|
|
814
|
+
},
|
|
815
|
+
itemStyle: {
|
|
816
|
+
color: "var(--highcharts-neutral-color-80)",
|
|
817
|
+
cursor: "pointer",
|
|
818
|
+
fontSize: "0.8em",
|
|
819
|
+
textDecoration: "none",
|
|
820
|
+
textOverflow: "ellipsis"
|
|
821
|
+
},
|
|
822
|
+
itemHoverStyle: { color: "var(--highcharts-neutral-color-100)" },
|
|
823
|
+
itemHiddenStyle: {
|
|
824
|
+
color: "var(--highcharts-neutral-color-60)",
|
|
825
|
+
textDecoration: "line-through"
|
|
826
|
+
},
|
|
827
|
+
shadow: !1,
|
|
828
|
+
itemCheckboxStyle: {
|
|
829
|
+
position: "absolute",
|
|
830
|
+
width: "13px",
|
|
831
|
+
height: "13px"
|
|
832
|
+
},
|
|
833
|
+
squareSymbol: !0,
|
|
834
|
+
symbolPadding: 5,
|
|
835
|
+
verticalAlign: "bottom",
|
|
836
|
+
x: 0,
|
|
837
|
+
y: 0,
|
|
838
|
+
title: { style: {
|
|
839
|
+
color: "var(--highcharts-neutral-color-80)",
|
|
840
|
+
fontSize: "0.8em",
|
|
841
|
+
fontWeight: "bold"
|
|
842
|
+
} }
|
|
843
|
+
},
|
|
844
|
+
loading: {
|
|
845
|
+
labelStyle: {
|
|
846
|
+
fontWeight: "bold",
|
|
847
|
+
position: "relative",
|
|
848
|
+
top: "45%"
|
|
849
|
+
},
|
|
850
|
+
style: {
|
|
851
|
+
position: "absolute",
|
|
852
|
+
backgroundColor: "var(--highcharts-background-color)",
|
|
853
|
+
opacity: .5,
|
|
854
|
+
textAlign: "center"
|
|
855
|
+
}
|
|
856
|
+
},
|
|
857
|
+
tooltip: {
|
|
858
|
+
enabled: !0,
|
|
859
|
+
animation: {
|
|
860
|
+
duration: 300,
|
|
861
|
+
easing: (e) => Math.sqrt(1 - (e - 1) ** 2)
|
|
862
|
+
},
|
|
863
|
+
borderColor: "light-dark(var(--highcharts-neutral-color-5), var(--highcharts-neutral-color-20))",
|
|
864
|
+
borderRadius: 5,
|
|
865
|
+
dateTimeLabelFormats: {
|
|
866
|
+
millisecond: "%[AebHMSL]",
|
|
867
|
+
second: "%[AebHMS]",
|
|
868
|
+
minute: "%[AebHM]",
|
|
869
|
+
hour: "%[AebHM]",
|
|
870
|
+
day: "%[AebY]",
|
|
871
|
+
week: "%v %[AebY]",
|
|
872
|
+
month: "%[BY]",
|
|
873
|
+
year: "%[Y]"
|
|
874
|
+
},
|
|
875
|
+
footerFormat: "",
|
|
876
|
+
header: {
|
|
877
|
+
distance: 5,
|
|
878
|
+
shape: "callout",
|
|
879
|
+
style: { fontSize: "1em" }
|
|
880
|
+
},
|
|
881
|
+
hideDelay: 500,
|
|
882
|
+
showDelay: 0,
|
|
883
|
+
padding: 8,
|
|
884
|
+
position: {
|
|
885
|
+
x: 0,
|
|
886
|
+
y: 3
|
|
887
|
+
},
|
|
888
|
+
shared: !1,
|
|
889
|
+
snap: Se ? 25 : 10,
|
|
890
|
+
headerFormat: "<span style=\"font-size: 0.8em\">{ucfirst point.key}</span><br/>",
|
|
891
|
+
pointFormat: "<span style=\"color:{point.color}\">●</span> {series.name}: <b>{point.y}</b><br/>",
|
|
892
|
+
backgroundColor: "var(--highcharts-background-color)",
|
|
893
|
+
borderWidth: void 0,
|
|
894
|
+
stickOnContact: !1,
|
|
895
|
+
style: {
|
|
896
|
+
color: "var(--highcharts-neutral-color-80)",
|
|
897
|
+
cursor: "default",
|
|
898
|
+
fontSize: "0.8em"
|
|
899
|
+
},
|
|
900
|
+
useHTML: !1
|
|
901
|
+
},
|
|
902
|
+
credits: {
|
|
903
|
+
enabled: !0,
|
|
904
|
+
href: "https://www.highcharts.com?credits",
|
|
905
|
+
position: {
|
|
906
|
+
align: "right",
|
|
907
|
+
verticalAlign: "bottom",
|
|
908
|
+
x: -10,
|
|
909
|
+
y: -5
|
|
910
|
+
},
|
|
911
|
+
style: {
|
|
912
|
+
cursor: "pointer",
|
|
913
|
+
color: "var(--highcharts-neutral-color-40)",
|
|
914
|
+
fontSize: "0.6em"
|
|
915
|
+
},
|
|
916
|
+
text: "Highcharts.com"
|
|
917
|
+
}
|
|
918
|
+
}, K = new W(G.time, G.lang);
|
|
919
|
+
function Ce() {
|
|
920
|
+
return G;
|
|
921
|
+
}
|
|
922
|
+
function we(e) {
|
|
923
|
+
return x(t, "setOptions", { options: e }), A(!0, G, e), e.time && K.update(G.time), e.lang && "locale" in e.lang && K.update({ locale: e.lang.locale }), e.lang?.chartTitle && (G.title = {
|
|
924
|
+
...G.title,
|
|
925
|
+
text: e.lang.chartTitle
|
|
926
|
+
}), G;
|
|
927
|
+
}
|
|
928
|
+
var Te = {
|
|
929
|
+
defaultOptions: G,
|
|
930
|
+
defaultTime: K,
|
|
931
|
+
getOptions: Ce,
|
|
932
|
+
setOptions: we
|
|
933
|
+
}, { win: Ee } = t, q = (e, t, n) => n === 0 ? e : n === 1 ? t : `color-mix(in srgb,${e},${t} ${n * 100}%)`, J = (e) => D(e) && !!e && e !== "none", Y = class e {
|
|
934
|
+
static parse(t) {
|
|
935
|
+
return t ? new e(t) : e.None;
|
|
936
|
+
}
|
|
937
|
+
constructor(n) {
|
|
938
|
+
this.rgba = [
|
|
939
|
+
NaN,
|
|
940
|
+
NaN,
|
|
941
|
+
NaN,
|
|
942
|
+
NaN
|
|
943
|
+
], this.input = n;
|
|
944
|
+
let r = t.Color;
|
|
945
|
+
if (r && r !== e) return new r(n);
|
|
946
|
+
let i, a, o, s;
|
|
947
|
+
if (typeof n == "object" && n.stops !== void 0) this.stops = n.stops.map((t) => new e(t[1]));
|
|
948
|
+
else if (typeof n == "string") for (this.input = n = e.names[n.toLowerCase()] || n, o = e.parsers.length; o-- && !a;) s = e.parsers[o], i = s.regex.exec(n), i && (a = s.parse(i));
|
|
949
|
+
a && (this.rgba = a);
|
|
950
|
+
}
|
|
951
|
+
get(e) {
|
|
952
|
+
let t = this.input, n = this.rgba;
|
|
953
|
+
if (this.output) return this.output;
|
|
954
|
+
if (typeof t == "object" && this.stops !== void 0) {
|
|
955
|
+
let n = A(t);
|
|
956
|
+
return n.stops = [].slice.call(n.stops), this.stops.forEach((t, r) => {
|
|
957
|
+
n.stops[r] = [n.stops[r][0], t.get(e)];
|
|
958
|
+
}), n;
|
|
959
|
+
}
|
|
960
|
+
return n && E(n[0]) ? e === "rgb" || !e && n[3] === 1 ? "rgb(" + n[0] + "," + n[1] + "," + n[2] + ")" : e === "a" ? `${n[3]}` : "rgba(" + n.join(",") + ")" : t;
|
|
961
|
+
}
|
|
962
|
+
brighten(t) {
|
|
963
|
+
let n = this.rgba;
|
|
964
|
+
if (this.stops) this.stops.forEach(function(e) {
|
|
965
|
+
e.brighten(t);
|
|
966
|
+
});
|
|
967
|
+
else if (E(t) && t !== 0) if (E(n[0])) for (let e = 0; e < 3; e++) n[e] += F(t * 255), n[e] < 0 && (n[e] = 0), n[e] > 255 && (n[e] = 255);
|
|
968
|
+
else e.useColorMix && J(this.input) && (this.output = q(this.input, t > 0 ? "white" : "black", Math.abs(t)));
|
|
969
|
+
return this;
|
|
970
|
+
}
|
|
971
|
+
setOpacity(t) {
|
|
972
|
+
return E(this.rgba[0]) ? this.rgba[3] = t : e.useColorMix && J(this.input) && (this.output = q(this.input, "#0000", 1 - t)), this;
|
|
973
|
+
}
|
|
974
|
+
tweenTo(t, n) {
|
|
975
|
+
let r = this.rgba, i = t.rgba;
|
|
976
|
+
if (!E(r[0]) || !E(i[0])) return e.useColorMix && J(this.input) && J(t.input) && n < .99 ? q(this.input, t.input, n) : t.input || "none";
|
|
977
|
+
let a = i[3] !== 1 || r[3] !== 1, o = (e, t) => e + (r[t] - e) * (1 - n), s = i.slice(0, 3).map(o).map(Math.round);
|
|
978
|
+
return a && s.push(o(i[3], 3)), (a ? "rgba(" : "rgb(") + s.join(",") + ")";
|
|
979
|
+
}
|
|
980
|
+
};
|
|
981
|
+
Y.names = {
|
|
982
|
+
white: "#ffffff",
|
|
983
|
+
black: "#000000"
|
|
984
|
+
}, Y.parsers = [
|
|
985
|
+
{
|
|
986
|
+
regex: /rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?(?:\.\d+)?)\s*\)/,
|
|
987
|
+
parse: function(e) {
|
|
988
|
+
return [
|
|
989
|
+
F(e[1]),
|
|
990
|
+
F(e[2]),
|
|
991
|
+
F(e[3]),
|
|
992
|
+
parseFloat(e[4], 10)
|
|
993
|
+
];
|
|
994
|
+
}
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
regex: /rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,
|
|
998
|
+
parse: function(e) {
|
|
999
|
+
return [
|
|
1000
|
+
F(e[1]),
|
|
1001
|
+
F(e[2]),
|
|
1002
|
+
F(e[3]),
|
|
1003
|
+
1
|
|
1004
|
+
];
|
|
1005
|
+
}
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
regex: /^#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?$/i,
|
|
1009
|
+
parse: function(e) {
|
|
1010
|
+
return [
|
|
1011
|
+
F(e[1] + e[1], 16),
|
|
1012
|
+
F(e[2] + e[2], 16),
|
|
1013
|
+
F(e[3] + e[3], 16),
|
|
1014
|
+
h(e[4]) ? F(e[4] + e[4], 16) / 255 : 1
|
|
1015
|
+
];
|
|
1016
|
+
}
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
regex: /^#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?$/i,
|
|
1020
|
+
parse: function(e) {
|
|
1021
|
+
return [
|
|
1022
|
+
F(e[1], 16),
|
|
1023
|
+
F(e[2], 16),
|
|
1024
|
+
F(e[3], 16),
|
|
1025
|
+
h(e[4]) ? F(e[4], 16) / 255 : 1
|
|
1026
|
+
];
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
1029
|
+
], Y.useColorMix = Ee.CSS?.supports("color", "color-mix(in srgb,red,blue 9%)"), Y.None = new Y("");
|
|
1030
|
+
//#endregion
|
|
1031
|
+
//#region node_modules/highcharts/es-modules/Core/Animation/Fx.js
|
|
1032
|
+
var { parse: X } = Y, { win: De } = t, Z = class e {
|
|
1033
|
+
constructor(e, t, n) {
|
|
1034
|
+
this.pos = NaN, this.options = t, this.elem = e, this.prop = n;
|
|
1035
|
+
}
|
|
1036
|
+
dSetter() {
|
|
1037
|
+
let e = this.paths, t = e?.[0], n = e?.[1], r = this.now || 0, i = [];
|
|
1038
|
+
if (r === 1 || !t || !n) i = this.toD || [];
|
|
1039
|
+
else if (t.length === n.length && r < 1) for (let e = 0; e < n.length; e++) {
|
|
1040
|
+
let a = t[e], o = n[e], s = [];
|
|
1041
|
+
for (let e = 0; e < o.length; e++) {
|
|
1042
|
+
let t = a[e], n = o[e];
|
|
1043
|
+
E(t) && E(n) && (o[0] !== "A" || e !== 4 && e !== 5) ? s[e] = t + r * (n - t) : s[e] = n;
|
|
1044
|
+
}
|
|
1045
|
+
i.push(s);
|
|
1046
|
+
}
|
|
1047
|
+
else i = n;
|
|
1048
|
+
this.elem.attr("d", i, void 0, !0);
|
|
1049
|
+
}
|
|
1050
|
+
update() {
|
|
1051
|
+
let e = this.elem, t = this.prop, n = this.now, r = this.options.step;
|
|
1052
|
+
this[t + "Setter"] ? this[t + "Setter"]() : e.attr ? e.element && e.attr(t, n, null, !0) : e.style[t] = n + this.unit, r && r.call(e, n, this);
|
|
1053
|
+
}
|
|
1054
|
+
run(t, n, r) {
|
|
1055
|
+
let i = this, a = i.options, o = function(e) {
|
|
1056
|
+
return !o.stopped && i.step(e);
|
|
1057
|
+
}, s = De.requestAnimationFrame || function(e) {
|
|
1058
|
+
setTimeout(e, 13);
|
|
1059
|
+
}, c = function() {
|
|
1060
|
+
for (let t = 0; t < e.timers.length; t++) e.timers[t]() || e.timers.splice(t--, 1);
|
|
1061
|
+
e.timers.length && s(c);
|
|
1062
|
+
};
|
|
1063
|
+
t === n && !this.elem["forceAnimate:" + this.prop] ? (delete a.curAnim[this.prop], a.complete && Object.keys(a.curAnim).length === 0 && a.complete.call(this.elem)) : (this.startTime = +/* @__PURE__ */ new Date(), this.start = t, this.end = n, this.unit = r, this.now = this.start, this.pos = 0, o.elem = this.elem, o.prop = this.prop, o() && e.timers.push(o) === 1 && s(c));
|
|
1064
|
+
}
|
|
1065
|
+
step(e) {
|
|
1066
|
+
let t = +/* @__PURE__ */ new Date(), n = this.options, r = this.elem, i = n.complete, a = n.duration, o = n.curAnim, s, c;
|
|
1067
|
+
return r.attr && !r.element ? s = !1 : e || t >= a + this.startTime ? (this.now = this.end, this.pos = 1, this.update(), o[this.prop] = !0, c = !0, j(o, function(e) {
|
|
1068
|
+
e !== !0 && (c = !1);
|
|
1069
|
+
}), c && i && i.call(r), s = !1) : (this.pos = n.easing((t - this.startTime) / a), this.now = this.start + (this.end - this.start) * this.pos, this.update(), s = !0), s;
|
|
1070
|
+
}
|
|
1071
|
+
initPath(e, t, n) {
|
|
1072
|
+
let r = e.startX, i = e.endX, a = n.slice(), o = e.isArea, s = o ? 2 : 1, c = t && n.length > t.length && n.hasStackedCliffs, l, u, d, f, p = t?.slice();
|
|
1073
|
+
if (!p || c) return [a, a];
|
|
1074
|
+
function m(e, t) {
|
|
1075
|
+
for (; e.length < u;) {
|
|
1076
|
+
let n = e[0], r = t[u - e.length];
|
|
1077
|
+
if (r && n[0] === "M" && (e[0] = r[0] === "C" ? [
|
|
1078
|
+
"C",
|
|
1079
|
+
n[1],
|
|
1080
|
+
n[2],
|
|
1081
|
+
n[1],
|
|
1082
|
+
n[2],
|
|
1083
|
+
n[1],
|
|
1084
|
+
n[2]
|
|
1085
|
+
] : [
|
|
1086
|
+
"L",
|
|
1087
|
+
n[1],
|
|
1088
|
+
n[2]
|
|
1089
|
+
]), e.unshift(n), o) {
|
|
1090
|
+
let t = e.pop();
|
|
1091
|
+
e.push(e[e.length - 1], t);
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
}
|
|
1095
|
+
function h(e) {
|
|
1096
|
+
for (; e.length < u;) {
|
|
1097
|
+
let t = e[Math.floor(e.length / s) - 1].slice();
|
|
1098
|
+
if (t[0] === "C" && (t[1] = t[5], t[2] = t[6]), !o) e.push(t);
|
|
1099
|
+
else {
|
|
1100
|
+
let n = e[Math.floor(e.length / s)].slice();
|
|
1101
|
+
e.splice(e.length / 2, 0, t, n);
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
if (r && i && i.length) {
|
|
1106
|
+
for (d = 0; d < r.length; d++) if (r[d] === i[0]) {
|
|
1107
|
+
l = d;
|
|
1108
|
+
break;
|
|
1109
|
+
} else if (r[0] === i[i.length - r.length + d]) {
|
|
1110
|
+
l = d, f = !0;
|
|
1111
|
+
break;
|
|
1112
|
+
} else if (r[r.length - 1] === i[i.length - r.length + d]) {
|
|
1113
|
+
l = r.length - d;
|
|
1114
|
+
break;
|
|
1115
|
+
}
|
|
1116
|
+
l === void 0 && (p = []);
|
|
1117
|
+
}
|
|
1118
|
+
return p.length && E(l) && (u = a.length + l * s, f ? (m(p, a), h(a)) : (m(a, p), h(p))), [p, a];
|
|
1119
|
+
}
|
|
1120
|
+
fillSetter() {
|
|
1121
|
+
e.prototype.strokeSetter.apply(this, arguments);
|
|
1122
|
+
}
|
|
1123
|
+
strokeSetter() {
|
|
1124
|
+
this.elem.attr(this.prop, X(this.start).tweenTo(X(this.end), this.pos), void 0, !0);
|
|
1125
|
+
}
|
|
1126
|
+
};
|
|
1127
|
+
Z.timers = [];
|
|
1128
|
+
//#endregion
|
|
1129
|
+
//#region node_modules/highcharts/es-modules/Core/Animation/AnimationUtilities.js
|
|
1130
|
+
function Oe(e, t) {
|
|
1131
|
+
t.renderer.globalAnimation = P(e, t.options.chart.animation, !0);
|
|
1132
|
+
}
|
|
1133
|
+
function Q(e) {
|
|
1134
|
+
return k(e) ? A({
|
|
1135
|
+
duration: 500,
|
|
1136
|
+
defer: 0
|
|
1137
|
+
}, e) : {
|
|
1138
|
+
duration: e ? 500 : 0,
|
|
1139
|
+
defer: 0
|
|
1140
|
+
};
|
|
1141
|
+
}
|
|
1142
|
+
function ke(e, t, n) {
|
|
1143
|
+
let r = Q(t), i = n ? [n] : e.series, a = 0, o = 0;
|
|
1144
|
+
return i.forEach((e) => {
|
|
1145
|
+
let n = Q(e.options.animation);
|
|
1146
|
+
a = k(t) && h(t.defer) ? r.defer : Math.max(a, n.duration + n.defer), o = Math.min(r.duration, n.duration);
|
|
1147
|
+
}), e.renderer.forExport && (a = 0), {
|
|
1148
|
+
defer: Math.max(0, a - o),
|
|
1149
|
+
duration: Math.min(a, o)
|
|
1150
|
+
};
|
|
1151
|
+
}
|
|
1152
|
+
function Ae(e, t, n) {
|
|
1153
|
+
let r, i = "", a, o, s;
|
|
1154
|
+
k(n) || (s = arguments, n = {
|
|
1155
|
+
duration: s[2],
|
|
1156
|
+
easing: s[3],
|
|
1157
|
+
complete: s[4]
|
|
1158
|
+
}), E(n.duration) || (n.duration = 400), n.easing = typeof n.easing == "function" ? n.easing : Math[n.easing] || Math.easeInOutSine, n.curAnim = A(t), j(t, function(s, c) {
|
|
1159
|
+
$(e, c), o = new Z(e, n, c), a = void 0, c === "d" && O(t.d) ? (o.paths = o.initPath(e, e.pathArray, t.d), o.toD = t.d, r = 0, a = 1) : e.attr ? r = e.attr(c) : (r = parseFloat(C(e, c)) || 0, c !== "opacity" && (i = "px")), a ||= s, typeof a == "string" && a.match("px") && (a = a.replace(/px/g, "")), o.run(r, a, i);
|
|
1160
|
+
});
|
|
1161
|
+
}
|
|
1162
|
+
function $(e, t) {
|
|
1163
|
+
let n = Z.timers.length;
|
|
1164
|
+
for (; n--;) Z.timers[n].elem === e && (!t || t === Z.timers[n].prop) && (Z.timers[n].stopped = !0);
|
|
1165
|
+
}
|
|
1166
|
+
var je = {
|
|
1167
|
+
animate: Ae,
|
|
1168
|
+
animObject: Q,
|
|
1169
|
+
getDeferredAnimation: ke,
|
|
1170
|
+
setAnimation: Oe,
|
|
1171
|
+
stop: $
|
|
1172
|
+
};
|
|
1173
|
+
//#endregion
|
|
1174
|
+
export { ue as $, te as A, E as B, v as C, ee as D, b as E, ae as F, j as G, D as H, O as I, N as J, M as K, T as L, S as M, re as N, ie as O, C as P, I as Q, w as R, g as S, y as T, A as U, k as V, se as W, ce as X, P as Y, le as Z, d as _, Te as a, r as at, m as b, he as c, _e as d, L as et, o as f, u as g, l as h, Y as i, pe as it, ne as j, x as k, V as l, s as m, je as n, fe as nt, W as o, t as ot, c as p, F as q, Z as r, R as rt, B as s, Q as t, de as tt, ge as u, f as v, _ as w, h as x, p as y, oe as z };
|
|
1175
|
+
|
|
1176
|
+
//# sourceMappingURL=AnimationUtilities-Bby2idBR.js.map
|