@carbon/charts-react 1.22.3 → 1.22.4
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/dist/index.mjs +211 -168
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.cjs +24 -19
- package/dist/index.umd.cjs.map +1 -1
- package/dist/index.umd.js +24 -19
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -3825,6 +3825,7 @@ const xe = "cds", $n = {
|
|
|
3825
3825
|
}, Kn = {
|
|
3826
3826
|
ticks: {
|
|
3827
3827
|
number: 7,
|
|
3828
|
+
rotateIfSmallerThan: 30,
|
|
3828
3829
|
verticalSpaceRatio: 2.5,
|
|
3829
3830
|
horizontalSpaceRatio: 3.5
|
|
3830
3831
|
},
|
|
@@ -3995,6 +3996,7 @@ const xe = "cds", $n = {
|
|
|
3995
3996
|
dotsRadius: 5
|
|
3996
3997
|
}, We = {
|
|
3997
3998
|
nodeWidth: 4,
|
|
3999
|
+
nodeHoveredWidth: 8,
|
|
3998
4000
|
minNodePadding: 24,
|
|
3999
4001
|
opacity: {
|
|
4000
4002
|
unfocus: 0.3,
|
|
@@ -4002,7 +4004,9 @@ const xe = "cds", $n = {
|
|
|
4002
4004
|
selected: 1
|
|
4003
4005
|
}
|
|
4004
4006
|
}, md = {
|
|
4005
|
-
minCellDividerDimension: 16
|
|
4007
|
+
minCellDividerDimension: 16,
|
|
4008
|
+
// Ensures axes lines are displayed with or without stroke disabled
|
|
4009
|
+
chartPadding: 0.5
|
|
4006
4010
|
}, gd = {
|
|
4007
4011
|
default: {
|
|
4008
4012
|
size: 24
|
|
@@ -4868,6 +4872,8 @@ const qn = {
|
|
|
4868
4872
|
return Ct(i, t.length);
|
|
4869
4873
|
}
|
|
4870
4874
|
}, Br = {
|
|
4875
|
+
am: "am",
|
|
4876
|
+
pm: "pm",
|
|
4871
4877
|
midnight: "midnight",
|
|
4872
4878
|
noon: "noon",
|
|
4873
4879
|
morning: "morning",
|
|
@@ -7268,8 +7274,8 @@ function TM(e) {
|
|
|
7268
7274
|
d: Id,
|
|
7269
7275
|
e: Id,
|
|
7270
7276
|
f: XM,
|
|
7271
|
-
g:
|
|
7272
|
-
G:
|
|
7277
|
+
g: a2,
|
|
7278
|
+
G: o2,
|
|
7273
7279
|
H: WM,
|
|
7274
7280
|
I: qM,
|
|
7275
7281
|
j: YM,
|
|
@@ -7282,15 +7288,15 @@ function TM(e) {
|
|
|
7282
7288
|
s: Bd,
|
|
7283
7289
|
S: QM,
|
|
7284
7290
|
u: JM,
|
|
7285
|
-
U:
|
|
7286
|
-
V:
|
|
7287
|
-
w:
|
|
7288
|
-
W:
|
|
7291
|
+
U: t2,
|
|
7292
|
+
V: e2,
|
|
7293
|
+
w: n2,
|
|
7294
|
+
W: r2,
|
|
7289
7295
|
x: null,
|
|
7290
7296
|
X: null,
|
|
7291
|
-
y:
|
|
7292
|
-
Y:
|
|
7293
|
-
Z:
|
|
7297
|
+
y: i2,
|
|
7298
|
+
Y: s2,
|
|
7299
|
+
Z: l2,
|
|
7294
7300
|
"%": Pd
|
|
7295
7301
|
}, O = {
|
|
7296
7302
|
a: rt,
|
|
@@ -7300,30 +7306,30 @@ function TM(e) {
|
|
|
7300
7306
|
c: null,
|
|
7301
7307
|
d: Nd,
|
|
7302
7308
|
e: Nd,
|
|
7303
|
-
f:
|
|
7304
|
-
g:
|
|
7305
|
-
G:
|
|
7306
|
-
H:
|
|
7307
|
-
I:
|
|
7308
|
-
j:
|
|
7309
|
+
f: d2,
|
|
7310
|
+
g: E2,
|
|
7311
|
+
G: w2,
|
|
7312
|
+
H: c2,
|
|
7313
|
+
I: u2,
|
|
7314
|
+
j: h2,
|
|
7309
7315
|
L: Ng,
|
|
7310
|
-
m:
|
|
7311
|
-
M:
|
|
7316
|
+
m: p2,
|
|
7317
|
+
M: f2,
|
|
7312
7318
|
p: J,
|
|
7313
7319
|
q: pt,
|
|
7314
7320
|
Q: Ud,
|
|
7315
7321
|
s: Bd,
|
|
7316
|
-
S:
|
|
7317
|
-
u:
|
|
7318
|
-
U:
|
|
7319
|
-
V:
|
|
7320
|
-
w:
|
|
7321
|
-
W:
|
|
7322
|
+
S: m2,
|
|
7323
|
+
u: g2,
|
|
7324
|
+
U: v2,
|
|
7325
|
+
V: y2,
|
|
7326
|
+
w: b2,
|
|
7327
|
+
W: x2,
|
|
7322
7328
|
x: null,
|
|
7323
7329
|
X: null,
|
|
7324
|
-
y:
|
|
7325
|
-
Y:
|
|
7326
|
-
Z:
|
|
7330
|
+
y: _2,
|
|
7331
|
+
Y: O2,
|
|
7332
|
+
Z: S2,
|
|
7327
7333
|
"%": Pd
|
|
7328
7334
|
}, E = {
|
|
7329
7335
|
a: R,
|
|
@@ -7608,100 +7614,100 @@ function JM(e) {
|
|
|
7608
7614
|
var t = e.getDay();
|
|
7609
7615
|
return t === 0 ? 7 : t;
|
|
7610
7616
|
}
|
|
7611
|
-
function
|
|
7617
|
+
function t2(e, t) {
|
|
7612
7618
|
return Ot(qo.count(Pn(e) - 1, e), t, 2);
|
|
7613
7619
|
}
|
|
7614
7620
|
function Ig(e) {
|
|
7615
7621
|
var t = e.getDay();
|
|
7616
7622
|
return t >= 4 || t === 0 ? mi(e) : mi.ceil(e);
|
|
7617
7623
|
}
|
|
7618
|
-
function
|
|
7624
|
+
function e2(e, t) {
|
|
7619
7625
|
return e = Ig(e), Ot(mi.count(Pn(e), e) + (Pn(e).getDay() === 4), t, 2);
|
|
7620
7626
|
}
|
|
7621
|
-
function
|
|
7627
|
+
function n2(e) {
|
|
7622
7628
|
return e.getDay();
|
|
7623
7629
|
}
|
|
7624
|
-
function
|
|
7630
|
+
function r2(e, t) {
|
|
7625
7631
|
return Ot(no.count(Pn(e) - 1, e), t, 2);
|
|
7626
7632
|
}
|
|
7627
|
-
function
|
|
7633
|
+
function i2(e, t) {
|
|
7628
7634
|
return Ot(e.getFullYear() % 100, t, 2);
|
|
7629
7635
|
}
|
|
7630
|
-
function
|
|
7636
|
+
function a2(e, t) {
|
|
7631
7637
|
return e = Ig(e), Ot(e.getFullYear() % 100, t, 2);
|
|
7632
7638
|
}
|
|
7633
|
-
function
|
|
7639
|
+
function s2(e, t) {
|
|
7634
7640
|
return Ot(e.getFullYear() % 1e4, t, 4);
|
|
7635
7641
|
}
|
|
7636
|
-
function
|
|
7642
|
+
function o2(e, t) {
|
|
7637
7643
|
var n = e.getDay();
|
|
7638
7644
|
return e = n >= 4 || n === 0 ? mi(e) : mi.ceil(e), Ot(e.getFullYear() % 1e4, t, 4);
|
|
7639
7645
|
}
|
|
7640
|
-
function
|
|
7646
|
+
function l2(e) {
|
|
7641
7647
|
var t = e.getTimezoneOffset();
|
|
7642
7648
|
return (t > 0 ? "-" : (t *= -1, "+")) + Ot(t / 60 | 0, "0", 2) + Ot(t % 60, "0", 2);
|
|
7643
7649
|
}
|
|
7644
7650
|
function Nd(e, t) {
|
|
7645
7651
|
return Ot(e.getUTCDate(), t, 2);
|
|
7646
7652
|
}
|
|
7647
|
-
function
|
|
7653
|
+
function c2(e, t) {
|
|
7648
7654
|
return Ot(e.getUTCHours(), t, 2);
|
|
7649
7655
|
}
|
|
7650
|
-
function
|
|
7656
|
+
function u2(e, t) {
|
|
7651
7657
|
return Ot(e.getUTCHours() % 12 || 12, t, 2);
|
|
7652
7658
|
}
|
|
7653
|
-
function
|
|
7659
|
+
function h2(e, t) {
|
|
7654
7660
|
return Ot(1 + Wu.count(_r(e), e), t, 3);
|
|
7655
7661
|
}
|
|
7656
7662
|
function Ng(e, t) {
|
|
7657
7663
|
return Ot(e.getUTCMilliseconds(), t, 3);
|
|
7658
7664
|
}
|
|
7659
|
-
function
|
|
7665
|
+
function d2(e, t) {
|
|
7660
7666
|
return Ng(e, t) + "000";
|
|
7661
7667
|
}
|
|
7662
|
-
function
|
|
7668
|
+
function p2(e, t) {
|
|
7663
7669
|
return Ot(e.getUTCMonth() + 1, t, 2);
|
|
7664
7670
|
}
|
|
7665
|
-
function
|
|
7671
|
+
function f2(e, t) {
|
|
7666
7672
|
return Ot(e.getUTCMinutes(), t, 2);
|
|
7667
7673
|
}
|
|
7668
|
-
function
|
|
7674
|
+
function m2(e, t) {
|
|
7669
7675
|
return Ot(e.getUTCSeconds(), t, 2);
|
|
7670
7676
|
}
|
|
7671
|
-
function
|
|
7677
|
+
function g2(e) {
|
|
7672
7678
|
var t = e.getUTCDay();
|
|
7673
7679
|
return t === 0 ? 7 : t;
|
|
7674
7680
|
}
|
|
7675
|
-
function
|
|
7681
|
+
function v2(e, t) {
|
|
7676
7682
|
return Ot(Rg.count(_r(e) - 1, e), t, 2);
|
|
7677
7683
|
}
|
|
7678
7684
|
function Pg(e) {
|
|
7679
7685
|
var t = e.getUTCDay();
|
|
7680
7686
|
return t >= 4 || t === 0 ? gi(e) : gi.ceil(e);
|
|
7681
7687
|
}
|
|
7682
|
-
function
|
|
7688
|
+
function y2(e, t) {
|
|
7683
7689
|
return e = Pg(e), Ot(gi.count(_r(e), e) + (_r(e).getUTCDay() === 4), t, 2);
|
|
7684
7690
|
}
|
|
7685
|
-
function
|
|
7691
|
+
function b2(e) {
|
|
7686
7692
|
return e.getUTCDay();
|
|
7687
7693
|
}
|
|
7688
|
-
function
|
|
7694
|
+
function x2(e, t) {
|
|
7689
7695
|
return Ot(ro.count(_r(e) - 1, e), t, 2);
|
|
7690
7696
|
}
|
|
7691
|
-
function
|
|
7697
|
+
function _2(e, t) {
|
|
7692
7698
|
return Ot(e.getUTCFullYear() % 100, t, 2);
|
|
7693
7699
|
}
|
|
7694
|
-
function
|
|
7700
|
+
function E2(e, t) {
|
|
7695
7701
|
return e = Pg(e), Ot(e.getUTCFullYear() % 100, t, 2);
|
|
7696
7702
|
}
|
|
7697
|
-
function
|
|
7703
|
+
function O2(e, t) {
|
|
7698
7704
|
return Ot(e.getUTCFullYear() % 1e4, t, 4);
|
|
7699
7705
|
}
|
|
7700
|
-
function
|
|
7706
|
+
function w2(e, t) {
|
|
7701
7707
|
var n = e.getUTCDay();
|
|
7702
7708
|
return e = n >= 4 || n === 0 ? gi(e) : gi.ceil(e), Ot(e.getUTCFullYear() % 1e4, t, 4);
|
|
7703
7709
|
}
|
|
7704
|
-
function
|
|
7710
|
+
function S2() {
|
|
7705
7711
|
return "+0000";
|
|
7706
7712
|
}
|
|
7707
7713
|
function Pd() {
|
|
@@ -7714,7 +7720,7 @@ function Bd(e) {
|
|
|
7714
7720
|
return Math.floor(+e / 1e3);
|
|
7715
7721
|
}
|
|
7716
7722
|
var Hr, Ug;
|
|
7717
|
-
|
|
7723
|
+
T2({
|
|
7718
7724
|
dateTime: "%x, %X",
|
|
7719
7725
|
date: "%-m/%-d/%Y",
|
|
7720
7726
|
time: "%-I:%M:%S %p",
|
|
@@ -7724,13 +7730,13 @@ TC({
|
|
|
7724
7730
|
months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
|
|
7725
7731
|
shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
|
|
7726
7732
|
});
|
|
7727
|
-
function
|
|
7733
|
+
function T2(e) {
|
|
7728
7734
|
return Hr = TM(e), Ug = Hr.format, Hr.parse, Hr.utcFormat, Hr.utcParse, Hr;
|
|
7729
7735
|
}
|
|
7730
|
-
function $
|
|
7736
|
+
function $2(e) {
|
|
7731
7737
|
return new Date(e);
|
|
7732
7738
|
}
|
|
7733
|
-
function
|
|
7739
|
+
function M2(e) {
|
|
7734
7740
|
return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
|
|
7735
7741
|
}
|
|
7736
7742
|
function Bg(e, t, n, r, i, a, s, o, l, c) {
|
|
@@ -7741,7 +7747,7 @@ function Bg(e, t, n, r, i, a, s, o, l, c) {
|
|
|
7741
7747
|
return u.invert = function(w) {
|
|
7742
7748
|
return new Date(d(w));
|
|
7743
7749
|
}, u.domain = function(w) {
|
|
7744
|
-
return arguments.length ? h(Array.from(w,
|
|
7750
|
+
return arguments.length ? h(Array.from(w, M2)) : h().map($2);
|
|
7745
7751
|
}, u.ticks = function(w) {
|
|
7746
7752
|
var A = h();
|
|
7747
7753
|
return e(A[0], A[A.length - 1], w ?? 10);
|
|
@@ -7757,8 +7763,8 @@ function Bg(e, t, n, r, i, a, s, o, l, c) {
|
|
|
7757
7763
|
function Hg() {
|
|
7758
7764
|
return Ei.apply(Bg(wM, SM, Pn, qu, qo, Ga, zu, ju, ei, Ug).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
|
|
7759
7765
|
}
|
|
7760
|
-
const Hd = Math.abs, le = Math.atan2, or = Math.cos,
|
|
7761
|
-
function
|
|
7766
|
+
const Hd = Math.abs, le = Math.atan2, or = Math.cos, C2 = Math.max, wl = Math.min, sn = Math.sin, ni = Math.sqrt, he = 1e-12, Ma = Math.PI, io = Ma / 2, Ms = 2 * Ma;
|
|
7767
|
+
function A2(e) {
|
|
7762
7768
|
return e > 1 ? 0 : e < -1 ? Ma : Math.acos(e);
|
|
7763
7769
|
}
|
|
7764
7770
|
function Vd(e) {
|
|
@@ -7817,7 +7823,7 @@ Fg.prototype = {
|
|
|
7817
7823
|
function Gg(e) {
|
|
7818
7824
|
return new Fg(e);
|
|
7819
7825
|
}
|
|
7820
|
-
function
|
|
7826
|
+
function L2(e, t) {
|
|
7821
7827
|
if (e.match(/^[a-z]+:\/\//i))
|
|
7822
7828
|
return e;
|
|
7823
7829
|
if (e.match(/^\/\//))
|
|
@@ -7827,7 +7833,7 @@ function LC(e, t) {
|
|
|
7827
7833
|
const n = document.implementation.createHTMLDocument(), r = n.createElement("base"), i = n.createElement("a");
|
|
7828
7834
|
return n.head.appendChild(r), n.body.appendChild(i), t && (r.href = t), i.href = e, i.href;
|
|
7829
7835
|
}
|
|
7830
|
-
const
|
|
7836
|
+
const k2 = /* @__PURE__ */ (() => {
|
|
7831
7837
|
let e = 0;
|
|
7832
7838
|
const t = () => (
|
|
7833
7839
|
// eslint-disable-next-line no-bitwise
|
|
@@ -7845,19 +7851,19 @@ function ao(e, t) {
|
|
|
7845
7851
|
const n = (e.ownerDocument.defaultView || window).getComputedStyle(e).getPropertyValue(t);
|
|
7846
7852
|
return n ? parseFloat(n.replace("px", "")) : 0;
|
|
7847
7853
|
}
|
|
7848
|
-
function
|
|
7854
|
+
function R2(e) {
|
|
7849
7855
|
const t = ao(e, "border-left-width"), n = ao(e, "border-right-width");
|
|
7850
7856
|
return e.clientWidth + t + n;
|
|
7851
7857
|
}
|
|
7852
|
-
function
|
|
7858
|
+
function D2(e) {
|
|
7853
7859
|
const t = ao(e, "border-top-width"), n = ao(e, "border-bottom-width");
|
|
7854
7860
|
return e.clientHeight + t + n;
|
|
7855
7861
|
}
|
|
7856
7862
|
function jg(e, t = {}) {
|
|
7857
|
-
const n = t.width ||
|
|
7863
|
+
const n = t.width || R2(e), r = t.height || D2(e);
|
|
7858
7864
|
return { width: n, height: r };
|
|
7859
7865
|
}
|
|
7860
|
-
function
|
|
7866
|
+
function I2() {
|
|
7861
7867
|
let e, t;
|
|
7862
7868
|
try {
|
|
7863
7869
|
t = process;
|
|
@@ -7867,7 +7873,7 @@ function IC() {
|
|
|
7867
7873
|
return n && (e = parseInt(n, 10), Number.isNaN(e) && (e = 1)), e || window.devicePixelRatio || 1;
|
|
7868
7874
|
}
|
|
7869
7875
|
const $e = 16384;
|
|
7870
|
-
function
|
|
7876
|
+
function N2(e) {
|
|
7871
7877
|
(e.width > $e || e.height > $e) && (e.width > $e && e.height > $e ? e.width > e.height ? (e.height *= $e / e.width, e.width = $e) : (e.width *= $e / e.height, e.height = $e) : e.width > $e ? (e.height *= $e / e.width, e.width = $e) : (e.width *= $e / e.height, e.height = $e));
|
|
7872
7878
|
}
|
|
7873
7879
|
function so(e) {
|
|
@@ -7876,12 +7882,12 @@ function so(e) {
|
|
|
7876
7882
|
r.decode = () => t(r), r.onload = () => t(r), r.onerror = n, r.crossOrigin = "anonymous", r.decoding = "async", r.src = e;
|
|
7877
7883
|
});
|
|
7878
7884
|
}
|
|
7879
|
-
async function
|
|
7885
|
+
async function P2(e) {
|
|
7880
7886
|
return Promise.resolve().then(() => new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then((t) => `data:image/svg+xml;charset=utf-8,${t}`);
|
|
7881
7887
|
}
|
|
7882
|
-
async function
|
|
7888
|
+
async function U2(e, t, n) {
|
|
7883
7889
|
const r = "http://www.w3.org/2000/svg", i = document.createElementNS(r, "svg"), a = document.createElementNS(r, "foreignObject");
|
|
7884
|
-
return i.setAttribute("width", `${t}`), i.setAttribute("height", `${n}`), i.setAttribute("viewBox", `0 0 ${t} ${n}`), a.setAttribute("width", "100%"), a.setAttribute("height", "100%"), a.setAttribute("x", "0"), a.setAttribute("y", "0"), a.setAttribute("externalResourcesRequired", "true"), i.appendChild(a), a.appendChild(e),
|
|
7890
|
+
return i.setAttribute("width", `${t}`), i.setAttribute("height", `${n}`), i.setAttribute("viewBox", `0 0 ${t} ${n}`), a.setAttribute("width", "100%"), a.setAttribute("height", "100%"), a.setAttribute("x", "0"), a.setAttribute("y", "0"), a.setAttribute("externalResourcesRequired", "true"), i.appendChild(a), a.appendChild(e), P2(i);
|
|
7885
7891
|
}
|
|
7886
7892
|
const Oe = (e, t) => {
|
|
7887
7893
|
if (e instanceof t)
|
|
@@ -7889,37 +7895,37 @@ const Oe = (e, t) => {
|
|
|
7889
7895
|
const n = Object.getPrototypeOf(e);
|
|
7890
7896
|
return n === null ? !1 : n.constructor.name === t.name || Oe(n, t);
|
|
7891
7897
|
};
|
|
7892
|
-
function
|
|
7898
|
+
function B2(e) {
|
|
7893
7899
|
const t = e.getPropertyValue("content");
|
|
7894
7900
|
return `${e.cssText} content: '${t.replace(/'|"/g, "")}';`;
|
|
7895
7901
|
}
|
|
7896
|
-
function
|
|
7902
|
+
function H2(e) {
|
|
7897
7903
|
return kn(e).map((t) => {
|
|
7898
7904
|
const n = e.getPropertyValue(t), r = e.getPropertyPriority(t);
|
|
7899
7905
|
return `${t}: ${n}${r ? " !important" : ""};`;
|
|
7900
7906
|
}).join(" ");
|
|
7901
7907
|
}
|
|
7902
|
-
function
|
|
7903
|
-
const r = `.${e}:${t}`, i = n.cssText ?
|
|
7908
|
+
function V2(e, t, n) {
|
|
7909
|
+
const r = `.${e}:${t}`, i = n.cssText ? B2(n) : H2(n);
|
|
7904
7910
|
return document.createTextNode(`${r}{${i}}`);
|
|
7905
7911
|
}
|
|
7906
7912
|
function Fd(e, t, n) {
|
|
7907
7913
|
const r = window.getComputedStyle(e, n), i = r.getPropertyValue("content");
|
|
7908
7914
|
if (i === "" || i === "none")
|
|
7909
7915
|
return;
|
|
7910
|
-
const a =
|
|
7916
|
+
const a = k2();
|
|
7911
7917
|
try {
|
|
7912
7918
|
t.className = `${t.className} ${a}`;
|
|
7913
7919
|
} catch {
|
|
7914
7920
|
return;
|
|
7915
7921
|
}
|
|
7916
7922
|
const s = document.createElement("style");
|
|
7917
|
-
s.appendChild(
|
|
7923
|
+
s.appendChild(V2(a, n, r)), t.appendChild(s);
|
|
7918
7924
|
}
|
|
7919
|
-
function
|
|
7925
|
+
function F2(e, t) {
|
|
7920
7926
|
Fd(e, t, ":before"), Fd(e, t, ":after");
|
|
7921
7927
|
}
|
|
7922
|
-
const Gd = "application/font-woff", jd = "image/jpeg",
|
|
7928
|
+
const Gd = "application/font-woff", jd = "image/jpeg", G2 = {
|
|
7923
7929
|
woff: Gd,
|
|
7924
7930
|
woff2: Gd,
|
|
7925
7931
|
ttf: "application/font-truetype",
|
|
@@ -7932,21 +7938,21 @@ const Gd = "application/font-woff", jd = "image/jpeg", GC = {
|
|
|
7932
7938
|
svg: "image/svg+xml",
|
|
7933
7939
|
webp: "image/webp"
|
|
7934
7940
|
};
|
|
7935
|
-
function
|
|
7941
|
+
function j2(e) {
|
|
7936
7942
|
const t = /\.([^./]*?)$/g.exec(e);
|
|
7937
7943
|
return t ? t[1] : "";
|
|
7938
7944
|
}
|
|
7939
7945
|
function Yu(e) {
|
|
7940
|
-
const t =
|
|
7941
|
-
return
|
|
7946
|
+
const t = j2(e).toLowerCase();
|
|
7947
|
+
return G2[t] || "";
|
|
7942
7948
|
}
|
|
7943
|
-
function
|
|
7949
|
+
function z2(e) {
|
|
7944
7950
|
return e.split(/,/)[1];
|
|
7945
7951
|
}
|
|
7946
7952
|
function gc(e) {
|
|
7947
7953
|
return e.search(/^(data:)/) !== -1;
|
|
7948
7954
|
}
|
|
7949
|
-
function
|
|
7955
|
+
function W2(e, t) {
|
|
7950
7956
|
return `data:${t};base64,${e}`;
|
|
7951
7957
|
}
|
|
7952
7958
|
async function zg(e, t, n) {
|
|
@@ -7966,19 +7972,19 @@ async function zg(e, t, n) {
|
|
|
7966
7972
|
});
|
|
7967
7973
|
}
|
|
7968
7974
|
const Sl = {};
|
|
7969
|
-
function
|
|
7975
|
+
function q2(e, t, n) {
|
|
7970
7976
|
let r = e.replace(/\?.*/, "");
|
|
7971
7977
|
return n && (r = e), /ttf|otf|eot|woff2?/i.test(r) && (r = r.replace(/.*\//, "")), t ? `[${t}]${r}` : r;
|
|
7972
7978
|
}
|
|
7973
7979
|
async function Xu(e, t, n) {
|
|
7974
|
-
const r =
|
|
7980
|
+
const r = q2(e, t, n.includeQueryParams);
|
|
7975
7981
|
if (Sl[r] != null)
|
|
7976
7982
|
return Sl[r];
|
|
7977
7983
|
n.cacheBust && (e += (/\?/.test(e) ? "&" : "?") + (/* @__PURE__ */ new Date()).getTime());
|
|
7978
7984
|
let i;
|
|
7979
7985
|
try {
|
|
7980
|
-
const a = await zg(e, n.fetchRequestInit, ({ res: s, result: o }) => (t || (t = s.headers.get("Content-Type") || ""),
|
|
7981
|
-
i =
|
|
7986
|
+
const a = await zg(e, n.fetchRequestInit, ({ res: s, result: o }) => (t || (t = s.headers.get("Content-Type") || ""), z2(o)));
|
|
7987
|
+
i = W2(a, t);
|
|
7982
7988
|
} catch (a) {
|
|
7983
7989
|
i = n.imagePlaceholder || "";
|
|
7984
7990
|
let s = `Failed to fetch resource: ${e}`;
|
|
@@ -7986,11 +7992,11 @@ async function Xu(e, t, n) {
|
|
|
7986
7992
|
}
|
|
7987
7993
|
return Sl[r] = i, i;
|
|
7988
7994
|
}
|
|
7989
|
-
async function
|
|
7995
|
+
async function Y2(e) {
|
|
7990
7996
|
const t = e.toDataURL();
|
|
7991
7997
|
return t === "data:," ? e.cloneNode(!1) : so(t);
|
|
7992
7998
|
}
|
|
7993
|
-
async function
|
|
7999
|
+
async function X2(e, t) {
|
|
7994
8000
|
if (e.currentSrc) {
|
|
7995
8001
|
const a = document.createElement("canvas"), s = a.getContext("2d");
|
|
7996
8002
|
a.width = e.clientWidth, a.height = e.clientHeight, s == null || s.drawImage(e, 0, 0, a.width, a.height);
|
|
@@ -8000,7 +8006,7 @@ async function XC(e, t) {
|
|
|
8000
8006
|
const n = e.poster, r = Yu(n), i = await Xu(n, r, t);
|
|
8001
8007
|
return so(i);
|
|
8002
8008
|
}
|
|
8003
|
-
async function
|
|
8009
|
+
async function Z2(e) {
|
|
8004
8010
|
var t;
|
|
8005
8011
|
try {
|
|
8006
8012
|
if (!((t = e == null ? void 0 : e.contentDocument) === null || t === void 0) && t.body)
|
|
@@ -8009,18 +8015,18 @@ async function ZC(e) {
|
|
|
8009
8015
|
}
|
|
8010
8016
|
return e.cloneNode(!1);
|
|
8011
8017
|
}
|
|
8012
|
-
async function
|
|
8013
|
-
return Oe(e, HTMLCanvasElement) ?
|
|
8018
|
+
async function K2(e, t) {
|
|
8019
|
+
return Oe(e, HTMLCanvasElement) ? Y2(e) : Oe(e, HTMLVideoElement) ? X2(e, t) : Oe(e, HTMLIFrameElement) ? Z2(e) : e.cloneNode(!1);
|
|
8014
8020
|
}
|
|
8015
|
-
const
|
|
8016
|
-
async function
|
|
8021
|
+
const Q2 = (e) => e.tagName != null && e.tagName.toUpperCase() === "SLOT";
|
|
8022
|
+
async function J2(e, t, n) {
|
|
8017
8023
|
var r, i;
|
|
8018
8024
|
let a = [];
|
|
8019
|
-
return
|
|
8025
|
+
return Q2(e) && e.assignedNodes ? a = kn(e.assignedNodes()) : Oe(e, HTMLIFrameElement) && !((r = e.contentDocument) === null || r === void 0) && r.body ? a = kn(e.contentDocument.body.childNodes) : a = kn(((i = e.shadowRoot) !== null && i !== void 0 ? i : e).childNodes), a.length === 0 || Oe(e, HTMLVideoElement) || await a.reduce((s, o) => s.then(() => Xo(o, n)).then((l) => {
|
|
8020
8026
|
l && t.appendChild(l);
|
|
8021
8027
|
}), Promise.resolve()), t;
|
|
8022
8028
|
}
|
|
8023
|
-
function
|
|
8029
|
+
function tC(e, t) {
|
|
8024
8030
|
const n = t.style;
|
|
8025
8031
|
if (!n)
|
|
8026
8032
|
return;
|
|
@@ -8030,19 +8036,19 @@ function t2(e, t) {
|
|
|
8030
8036
|
i === "font-size" && a.endsWith("px") && (a = `${Math.floor(parseFloat(a.substring(0, a.length - 2))) - 0.1}px`), Oe(e, HTMLIFrameElement) && i === "display" && a === "inline" && (a = "block"), i === "d" && t.getAttribute("d") && (a = `path(${t.getAttribute("d")})`), n.setProperty(i, a, r.getPropertyPriority(i));
|
|
8031
8037
|
});
|
|
8032
8038
|
}
|
|
8033
|
-
function
|
|
8039
|
+
function eC(e, t) {
|
|
8034
8040
|
Oe(e, HTMLTextAreaElement) && (t.innerHTML = e.value), Oe(e, HTMLInputElement) && t.setAttribute("value", e.value);
|
|
8035
8041
|
}
|
|
8036
|
-
function
|
|
8042
|
+
function nC(e, t) {
|
|
8037
8043
|
if (Oe(e, HTMLSelectElement)) {
|
|
8038
8044
|
const n = t, r = Array.from(n.children).find((i) => e.value === i.getAttribute("value"));
|
|
8039
8045
|
r && r.setAttribute("selected", "");
|
|
8040
8046
|
}
|
|
8041
8047
|
}
|
|
8042
|
-
function
|
|
8043
|
-
return Oe(t, Element) && (
|
|
8048
|
+
function rC(e, t) {
|
|
8049
|
+
return Oe(t, Element) && (tC(e, t), F2(e, t), eC(e, t), nC(e, t)), t;
|
|
8044
8050
|
}
|
|
8045
|
-
async function
|
|
8051
|
+
async function iC(e, t) {
|
|
8046
8052
|
const n = e.querySelectorAll ? e.querySelectorAll("use") : [];
|
|
8047
8053
|
if (n.length === 0)
|
|
8048
8054
|
return e;
|
|
@@ -8067,30 +8073,30 @@ async function i2(e, t) {
|
|
|
8067
8073
|
return e;
|
|
8068
8074
|
}
|
|
8069
8075
|
async function Xo(e, t, n) {
|
|
8070
|
-
return !n && t.filter && !t.filter(e) ? null : Promise.resolve(e).then((r) =>
|
|
8076
|
+
return !n && t.filter && !t.filter(e) ? null : Promise.resolve(e).then((r) => K2(r, t)).then((r) => J2(e, r, t)).then((r) => rC(e, r)).then((r) => iC(r, t));
|
|
8071
8077
|
}
|
|
8072
|
-
const Wg = /url\((['"]?)([^'"]+?)\1\)/g,
|
|
8073
|
-
function
|
|
8078
|
+
const Wg = /url\((['"]?)([^'"]+?)\1\)/g, aC = /url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g, sC = /src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;
|
|
8079
|
+
function oC(e) {
|
|
8074
8080
|
const t = e.replace(/([.*+?^${}()|\[\]\/\\])/g, "\\$1");
|
|
8075
8081
|
return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`, "g");
|
|
8076
8082
|
}
|
|
8077
|
-
function
|
|
8083
|
+
function lC(e) {
|
|
8078
8084
|
const t = [];
|
|
8079
8085
|
return e.replace(Wg, (n, r, i) => (t.push(i), n)), t.filter((n) => !gc(n));
|
|
8080
8086
|
}
|
|
8081
|
-
async function
|
|
8087
|
+
async function cC(e, t, n, r, i) {
|
|
8082
8088
|
try {
|
|
8083
|
-
const a = n ?
|
|
8089
|
+
const a = n ? L2(t, n) : t, s = Yu(t);
|
|
8084
8090
|
let o;
|
|
8085
|
-
return i || (o = await Xu(a, s, r)), e.replace(
|
|
8091
|
+
return i || (o = await Xu(a, s, r)), e.replace(oC(t), `$1${o}$3`);
|
|
8086
8092
|
} catch {
|
|
8087
8093
|
}
|
|
8088
8094
|
return e;
|
|
8089
8095
|
}
|
|
8090
|
-
function
|
|
8091
|
-
return t ? e.replace(
|
|
8096
|
+
function uC(e, { preferredFontFormat: t }) {
|
|
8097
|
+
return t ? e.replace(sC, (n) => {
|
|
8092
8098
|
for (; ; ) {
|
|
8093
|
-
const [r, , i] =
|
|
8099
|
+
const [r, , i] = aC.exec(n) || [];
|
|
8094
8100
|
if (!i)
|
|
8095
8101
|
return "";
|
|
8096
8102
|
if (i === t)
|
|
@@ -8104,8 +8110,8 @@ function qg(e) {
|
|
|
8104
8110
|
async function Yg(e, t, n) {
|
|
8105
8111
|
if (!qg(e))
|
|
8106
8112
|
return e;
|
|
8107
|
-
const r =
|
|
8108
|
-
return
|
|
8113
|
+
const r = uC(e, n);
|
|
8114
|
+
return lC(r).reduce((i, a) => i.then((s) => cC(s, a, t, n)), Promise.resolve(r));
|
|
8109
8115
|
}
|
|
8110
8116
|
async function cs(e, t, n) {
|
|
8111
8117
|
var r;
|
|
@@ -8116,10 +8122,10 @@ async function cs(e, t, n) {
|
|
|
8116
8122
|
}
|
|
8117
8123
|
return !1;
|
|
8118
8124
|
}
|
|
8119
|
-
async function
|
|
8125
|
+
async function hC(e, t) {
|
|
8120
8126
|
await cs("background", e, t) || await cs("background-image", e, t), await cs("mask", e, t) || await cs("mask-image", e, t);
|
|
8121
8127
|
}
|
|
8122
|
-
async function
|
|
8128
|
+
async function dC(e, t) {
|
|
8123
8129
|
const n = Oe(e, HTMLImageElement);
|
|
8124
8130
|
if (!(n && !gc(e.src)) && !(Oe(e, SVGImageElement) && !gc(e.href.baseVal)))
|
|
8125
8131
|
return;
|
|
@@ -8130,14 +8136,14 @@ async function d2(e, t) {
|
|
|
8130
8136
|
o.decode && (o.decode = a), o.loading === "lazy" && (o.loading = "eager"), n ? (e.srcset = "", e.src = i) : e.href.baseVal = i;
|
|
8131
8137
|
});
|
|
8132
8138
|
}
|
|
8133
|
-
async function
|
|
8139
|
+
async function pC(e, t) {
|
|
8134
8140
|
const n = kn(e.childNodes).map((r) => Xg(r, t));
|
|
8135
8141
|
await Promise.all(n).then(() => e);
|
|
8136
8142
|
}
|
|
8137
8143
|
async function Xg(e, t) {
|
|
8138
|
-
Oe(e, Element) && (await
|
|
8144
|
+
Oe(e, Element) && (await hC(e, t), await dC(e, t), await pC(e, t));
|
|
8139
8145
|
}
|
|
8140
|
-
function
|
|
8146
|
+
function fC(e, t) {
|
|
8141
8147
|
const { style: n } = e;
|
|
8142
8148
|
t.backgroundColor && (n.backgroundColor = t.backgroundColor), t.width && (n.width = `${t.width}px`), t.height && (n.height = `${t.height}px`);
|
|
8143
8149
|
const r = t.style;
|
|
@@ -8187,7 +8193,7 @@ function Yd(e) {
|
|
|
8187
8193
|
}
|
|
8188
8194
|
return t;
|
|
8189
8195
|
}
|
|
8190
|
-
async function
|
|
8196
|
+
async function mC(e, t) {
|
|
8191
8197
|
const n = [], r = [];
|
|
8192
8198
|
return e.forEach((i) => {
|
|
8193
8199
|
if ("cssRules" in i)
|
|
@@ -8229,42 +8235,42 @@ async function m2(e, t) {
|
|
|
8229
8235
|
}
|
|
8230
8236
|
}), n));
|
|
8231
8237
|
}
|
|
8232
|
-
function
|
|
8238
|
+
function gC(e) {
|
|
8233
8239
|
return e.filter((t) => t.type === CSSRule.FONT_FACE_RULE).filter((t) => qg(t.style.getPropertyValue("src")));
|
|
8234
8240
|
}
|
|
8235
|
-
async function
|
|
8241
|
+
async function vC(e, t) {
|
|
8236
8242
|
if (e.ownerDocument == null)
|
|
8237
8243
|
throw new Error("Provided element is not within a Document");
|
|
8238
|
-
const n = kn(e.ownerDocument.styleSheets), r = await
|
|
8239
|
-
return
|
|
8244
|
+
const n = kn(e.ownerDocument.styleSheets), r = await mC(n, t);
|
|
8245
|
+
return gC(r);
|
|
8240
8246
|
}
|
|
8241
|
-
async function
|
|
8242
|
-
const n = await
|
|
8247
|
+
async function yC(e, t) {
|
|
8248
|
+
const n = await vC(e, t);
|
|
8243
8249
|
return (await Promise.all(n.map((r) => {
|
|
8244
8250
|
const i = r.parentStyleSheet ? r.parentStyleSheet.href : null;
|
|
8245
8251
|
return Yg(r.cssText, i, t);
|
|
8246
8252
|
}))).join(`
|
|
8247
8253
|
`);
|
|
8248
8254
|
}
|
|
8249
|
-
async function
|
|
8250
|
-
const n = t.fontEmbedCSS != null ? t.fontEmbedCSS : t.skipFonts ? null : await
|
|
8255
|
+
async function bC(e, t) {
|
|
8256
|
+
const n = t.fontEmbedCSS != null ? t.fontEmbedCSS : t.skipFonts ? null : await yC(e, t);
|
|
8251
8257
|
if (n) {
|
|
8252
8258
|
const r = document.createElement("style"), i = document.createTextNode(n);
|
|
8253
8259
|
r.appendChild(i), e.firstChild ? e.insertBefore(r, e.firstChild) : e.appendChild(r);
|
|
8254
8260
|
}
|
|
8255
8261
|
}
|
|
8256
|
-
async function
|
|
8262
|
+
async function xC(e, t = {}) {
|
|
8257
8263
|
const { width: n, height: r } = jg(e, t), i = await Xo(e, t, !0);
|
|
8258
|
-
return await
|
|
8264
|
+
return await bC(i, t), await Xg(i, t), fC(i, t), await U2(i, n, r);
|
|
8259
8265
|
}
|
|
8260
8266
|
async function Zg(e, t = {}) {
|
|
8261
|
-
const { width: n, height: r } = jg(e, t), i = await
|
|
8262
|
-
return s.width = c * l, s.height = u * l, t.skipAutoScale ||
|
|
8267
|
+
const { width: n, height: r } = jg(e, t), i = await xC(e, t), a = await so(i), s = document.createElement("canvas"), o = s.getContext("2d"), l = t.pixelRatio || I2(), c = t.canvasWidth || n, u = t.canvasHeight || r;
|
|
8268
|
+
return s.width = c * l, s.height = u * l, t.skipAutoScale || N2(s), s.style.width = `${c}`, s.style.height = `${u}`, t.backgroundColor && (o.fillStyle = t.backgroundColor, o.fillRect(0, 0, s.width, s.height)), o.drawImage(a, 0, 0, s.width, s.height), s;
|
|
8263
8269
|
}
|
|
8264
|
-
async function
|
|
8270
|
+
async function _C(e, t = {}) {
|
|
8265
8271
|
return (await Zg(e, t)).toDataURL();
|
|
8266
8272
|
}
|
|
8267
|
-
async function
|
|
8273
|
+
async function EC(e, t = {}) {
|
|
8268
8274
|
return (await Zg(e, t)).toDataURL("image/jpeg", t.quality || 1);
|
|
8269
8275
|
}
|
|
8270
8276
|
let Fn = class {
|
|
@@ -8284,7 +8290,7 @@ let Fn = class {
|
|
|
8284
8290
|
this.services = t;
|
|
8285
8291
|
}
|
|
8286
8292
|
};
|
|
8287
|
-
const
|
|
8293
|
+
const OC = "DONT_STYLE_ME_css_styles_verifier";
|
|
8288
8294
|
let N = class vc extends Fn {
|
|
8289
8295
|
// initialized in initializeID() called by init()
|
|
8290
8296
|
constructor(t, n) {
|
|
@@ -8390,7 +8396,7 @@ let N = class vc extends Fn {
|
|
|
8390
8396
|
}
|
|
8391
8397
|
addMainContainer() {
|
|
8392
8398
|
const t = this.model.getOptions(), n = b(t, "style", "prefix"), r = D(this.getHolder()).append("div").classed(`${xe}--${n}--chart-wrapper`, !0).attr("id", `chart-${this.getChartID()}`).style("height", "100%").style("width", "100%");
|
|
8393
|
-
r.append("g").attr("class",
|
|
8399
|
+
r.append("g").attr("class", OC), this.mainContainer = r.node();
|
|
8394
8400
|
}
|
|
8395
8401
|
update() {
|
|
8396
8402
|
this.styleHolderElement();
|
|
@@ -8404,7 +8410,7 @@ let N = class vc extends Fn {
|
|
|
8404
8410
|
}
|
|
8405
8411
|
exportToJPG() {
|
|
8406
8412
|
const t = this, n = this.model.getOptions(), r = this.getHolder(), i = D(r);
|
|
8407
|
-
i.classed("filled", !0),
|
|
8413
|
+
i.classed("filled", !0), EC(this.getMainContainer(), {
|
|
8408
8414
|
quality: 1,
|
|
8409
8415
|
// Remove toolbar
|
|
8410
8416
|
filter: (a) => !(a.classList && a.classList.contains("cds--cc--toolbar"))
|
|
@@ -8417,7 +8423,7 @@ let N = class vc extends Fn {
|
|
|
8417
8423
|
}
|
|
8418
8424
|
exportToPNG() {
|
|
8419
8425
|
const t = this, n = this.model.getOptions(), r = this.getHolder(), i = D(r);
|
|
8420
|
-
i.classed("filled", !0),
|
|
8426
|
+
i.classed("filled", !0), _C(this.getMainContainer(), {
|
|
8421
8427
|
quality: 1,
|
|
8422
8428
|
// Remove toolbar
|
|
8423
8429
|
filter: (a) => !(a.classList && a.classList.contains("cds--cc--toolbar"))
|
|
@@ -8527,7 +8533,7 @@ let N = class vc extends Fn {
|
|
|
8527
8533
|
}
|
|
8528
8534
|
};
|
|
8529
8535
|
function Xd(e) {
|
|
8530
|
-
const t =
|
|
8536
|
+
const t = wC(Qg(e), 360);
|
|
8531
8537
|
return Xn(t, [0, 10]) || Xn(t, [350, 0]) ? {
|
|
8532
8538
|
textAnchor: En.START,
|
|
8533
8539
|
dominantBaseline: On.MIDDLE
|
|
@@ -8554,7 +8560,7 @@ function Xd(e) {
|
|
|
8554
8560
|
dominantBaseline: On.BASELINE
|
|
8555
8561
|
};
|
|
8556
8562
|
}
|
|
8557
|
-
function
|
|
8563
|
+
function wC(e, t) {
|
|
8558
8564
|
return (e % t + t) % t;
|
|
8559
8565
|
}
|
|
8560
8566
|
function Xn(e, [t, n]) {
|
|
@@ -8567,20 +8573,20 @@ function qt(e, t, n = { x: 0, y: 0 }) {
|
|
|
8567
8573
|
const r = t * Math.cos(e) + n.x, i = t * Math.sin(e) + n.y;
|
|
8568
8574
|
return { x: isNaN(r) ? 0 : r, y: isNaN(i) ? 0 : i };
|
|
8569
8575
|
}
|
|
8570
|
-
function
|
|
8576
|
+
function SC(e, t) {
|
|
8571
8577
|
return t * Math.sin(e - Math.PI / 2);
|
|
8572
8578
|
}
|
|
8573
|
-
function
|
|
8579
|
+
function TC(e, t, n, r) {
|
|
8574
8580
|
for (var i = -1, a = e == null ? 0 : e.length; ++i < a; )
|
|
8575
8581
|
n = t(n, e[i], i, e);
|
|
8576
8582
|
return n;
|
|
8577
8583
|
}
|
|
8578
|
-
function $
|
|
8584
|
+
function $C(e) {
|
|
8579
8585
|
return function(t) {
|
|
8580
8586
|
return e == null ? void 0 : e[t];
|
|
8581
8587
|
};
|
|
8582
8588
|
}
|
|
8583
|
-
var
|
|
8589
|
+
var MC = {
|
|
8584
8590
|
// Latin-1 Supplement block.
|
|
8585
8591
|
À: "A",
|
|
8586
8592
|
Á: "A",
|
|
@@ -8773,19 +8779,19 @@ var M2 = {
|
|
|
8773
8779
|
œ: "oe",
|
|
8774
8780
|
ʼn: "'n",
|
|
8775
8781
|
ſ: "s"
|
|
8776
|
-
},
|
|
8777
|
-
function
|
|
8778
|
-
return e = Na(e), e && e.replace(
|
|
8782
|
+
}, CC = $C(MC), AC = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, LC = "\\u0300-\\u036f", kC = "\\ufe20-\\ufe2f", RC = "\\u20d0-\\u20ff", DC = LC + kC + RC, IC = "[" + DC + "]", NC = RegExp(IC, "g");
|
|
8783
|
+
function PC(e) {
|
|
8784
|
+
return e = Na(e), e && e.replace(AC, CC).replace(NC, "");
|
|
8779
8785
|
}
|
|
8780
|
-
var
|
|
8781
|
-
function
|
|
8782
|
-
return e.match(
|
|
8786
|
+
var UC = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
8787
|
+
function BC(e) {
|
|
8788
|
+
return e.match(UC) || [];
|
|
8783
8789
|
}
|
|
8784
|
-
var
|
|
8785
|
-
function
|
|
8786
|
-
return
|
|
8790
|
+
var HC = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
|
|
8791
|
+
function VC(e) {
|
|
8792
|
+
return HC.test(e);
|
|
8787
8793
|
}
|
|
8788
|
-
var Jg = "\\ud800-\\udfff",
|
|
8794
|
+
var Jg = "\\ud800-\\udfff", FC = "\\u0300-\\u036f", GC = "\\ufe20-\\ufe2f", jC = "\\u20d0-\\u20ff", zC = FC + GC + jC, tv = "\\u2700-\\u27bf", ev = "a-z\\xdf-\\xf6\\xf8-\\xff", WC = "\\xac\\xb1\\xd7\\xf7", qC = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", YC = "\\u2000-\\u206f", XC = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", nv = "A-Z\\xc0-\\xd6\\xd8-\\xde", ZC = "\\ufe0e\\ufe0f", rv = WC + qC + YC + XC, iv = "['’]", Zd = "[" + rv + "]", KC = "[" + zC + "]", av = "\\d+", QC = "[" + tv + "]", sv = "[" + ev + "]", ov = "[^" + Jg + rv + av + tv + ev + nv + "]", JC = "\\ud83c[\\udffb-\\udfff]", tA = "(?:" + KC + "|" + JC + ")", eA = "[^" + Jg + "]", lv = "(?:\\ud83c[\\udde6-\\uddff]){2}", cv = "[\\ud800-\\udbff][\\udc00-\\udfff]", qr = "[" + nv + "]", nA = "\\u200d", Kd = "(?:" + sv + "|" + ov + ")", rA = "(?:" + qr + "|" + ov + ")", Qd = "(?:" + iv + "(?:d|ll|m|re|s|t|ve))?", Jd = "(?:" + iv + "(?:D|LL|M|RE|S|T|VE))?", uv = tA + "?", hv = "[" + ZC + "]?", iA = "(?:" + nA + "(?:" + [eA, lv, cv].join("|") + ")" + hv + uv + ")*", aA = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", sA = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", oA = hv + uv + iA, lA = "(?:" + [QC, lv, cv].join("|") + ")" + oA, cA = RegExp([
|
|
8789
8795
|
qr + "?" + sv + "+" + Qd + "(?=" + [Zd, qr, "$"].join("|") + ")",
|
|
8790
8796
|
rA + "+" + Jd + "(?=" + [Zd, qr + Kd, "$"].join("|") + ")",
|
|
8791
8797
|
qr + "?" + Kd + "+" + Qd,
|
|
@@ -8799,12 +8805,12 @@ function uA(e) {
|
|
|
8799
8805
|
return e.match(cA) || [];
|
|
8800
8806
|
}
|
|
8801
8807
|
function hA(e, t, n) {
|
|
8802
|
-
return e = Na(e), t = t, t === void 0 ?
|
|
8808
|
+
return e = Na(e), t = t, t === void 0 ? VC(e) ? uA(e) : BC(e) : e.match(t) || [];
|
|
8803
8809
|
}
|
|
8804
8810
|
var dA = "['’]", pA = RegExp(dA, "g");
|
|
8805
8811
|
function dv(e) {
|
|
8806
8812
|
return function(t) {
|
|
8807
|
-
return
|
|
8813
|
+
return TC(hA(PC(t).replace(pA, "")), e, "");
|
|
8808
8814
|
};
|
|
8809
8815
|
}
|
|
8810
8816
|
function fA(e, t, n) {
|
|
@@ -10991,7 +10997,7 @@ function Wk(e, t, n, r, i, a, s, o) {
|
|
|
10991
10997
|
return h = (u * (t - a) - d * (e - i)) / h, [e + h * l, t + h * c];
|
|
10992
10998
|
}
|
|
10993
10999
|
function gs(e, t, n, r, i, a, s) {
|
|
10994
|
-
var o = e - n, l = t - r, c = (s ? a : -a) / ni(o * o + l * l), u = c * l, d = -c * o, h = e + u, p = t + d, f = n + u, v = r + d, m = (h + f) / 2, y = (p + v) / 2, g = f - h, x = v - p, O = g * g + x * x, E = i - a, w = h * v - f * p, A = (x < 0 ? -1 : 1) * ni(
|
|
11000
|
+
var o = e - n, l = t - r, c = (s ? a : -a) / ni(o * o + l * l), u = c * l, d = -c * o, h = e + u, p = t + d, f = n + u, v = r + d, m = (h + f) / 2, y = (p + v) / 2, g = f - h, x = v - p, O = g * g + x * x, E = i - a, w = h * v - f * p, A = (x < 0 ? -1 : 1) * ni(C2(0, E * E * O - w * w)), I = (w * x - g * A) / O, k = (-w * g - x * A) / O, R = (w * x + g * A) / O, $ = (-w * g + x * A) / O, V = I - m, P = k - y, H = R - m, _ = $ - y;
|
|
10995
11001
|
return V * V + P * P > H * H + _ * _ && (I = R, k = $), {
|
|
10996
11002
|
cx: I,
|
|
10997
11003
|
cy: k,
|
|
@@ -11019,7 +11025,7 @@ function ka() {
|
|
|
11019
11025
|
var q = p * or(x), at = p * sn(x), rt = h * or(O), gt = h * sn(O), it;
|
|
11020
11026
|
if (m < Ma)
|
|
11021
11027
|
if (it = Wk(L, U, rt, gt, q, at, B, X)) {
|
|
11022
|
-
var Z = L - it[0], J = U - it[1], pt = q - it[0], W = at - it[1], Q = 1 / sn(
|
|
11028
|
+
var Z = L - it[0], J = U - it[1], pt = q - it[0], W = at - it[1], Q = 1 / sn(A2((Z * pt + J * W) / (ni(Z * Z + J * J) * ni(pt * pt + W * W))) / 2), ut = ni(it[0] * it[0] + it[1] * it[1]);
|
|
11023
11029
|
$ = wl(R, (h - ut) / (Q - 1)), V = wl(R, (p - ut) / (Q + 1));
|
|
11024
11030
|
} else
|
|
11025
11031
|
$ = V = 0;
|
|
@@ -11330,7 +11336,7 @@ let bt = class {
|
|
|
11330
11336
|
return this.configs.options ? ct({}, this.model.getOptions(), this.configs.options) : this.model.getOptions();
|
|
11331
11337
|
}
|
|
11332
11338
|
};
|
|
11333
|
-
/*! @license DOMPurify 3.2.
|
|
11339
|
+
/*! @license DOMPurify 3.2.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.1/LICENSE */
|
|
11334
11340
|
const {
|
|
11335
11341
|
entries: Yv,
|
|
11336
11342
|
setPrototypeOf: kp,
|
|
@@ -11436,11 +11442,20 @@ var Bp = /* @__PURE__ */ Object.freeze({
|
|
|
11436
11442
|
});
|
|
11437
11443
|
const zi = {
|
|
11438
11444
|
element: 1,
|
|
11445
|
+
attribute: 2,
|
|
11439
11446
|
text: 3,
|
|
11447
|
+
cdataSection: 4,
|
|
11448
|
+
entityReference: 5,
|
|
11449
|
+
// Deprecated
|
|
11450
|
+
entityNode: 6,
|
|
11440
11451
|
// Deprecated
|
|
11441
11452
|
progressingInstruction: 7,
|
|
11442
11453
|
comment: 8,
|
|
11443
|
-
document: 9
|
|
11454
|
+
document: 9,
|
|
11455
|
+
documentType: 10,
|
|
11456
|
+
documentFragment: 11,
|
|
11457
|
+
notation: 12
|
|
11458
|
+
// Deprecated
|
|
11444
11459
|
}, ER = function() {
|
|
11445
11460
|
return typeof window > "u" ? null : window;
|
|
11446
11461
|
}, OR = function(e, t) {
|
|
@@ -11466,7 +11481,7 @@ const zi = {
|
|
|
11466
11481
|
function Qv() {
|
|
11467
11482
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ER();
|
|
11468
11483
|
const t = (T) => Qv(T);
|
|
11469
|
-
if (t.version = "3.2.
|
|
11484
|
+
if (t.version = "3.2.1", t.removed = [], !e || !e.document || e.document.nodeType !== zi.document)
|
|
11470
11485
|
return t.isSupported = !1, t;
|
|
11471
11486
|
let {
|
|
11472
11487
|
document: n
|
|
@@ -12317,6 +12332,12 @@ var SR = {
|
|
|
12317
12332
|
button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']),
|
|
12318
12333
|
textarea:not([disabled]):not([tabindex='-1']),
|
|
12319
12334
|
iframe, object, embed, *[tabindex]:not([tabindex='-1']), *[contenteditable=true]
|
|
12335
|
+
`,
|
|
12336
|
+
selectorFocusable: `
|
|
12337
|
+
a[href], area[href], input:not([disabled]),
|
|
12338
|
+
button:not([disabled]),select:not([disabled]),
|
|
12339
|
+
textarea:not([disabled]),
|
|
12340
|
+
iframe, object, embed, *[tabindex], *[contenteditable=true]
|
|
12320
12341
|
`
|
|
12321
12342
|
}, jl = SR;
|
|
12322
12343
|
function TR(e, t, n) {
|
|
@@ -13738,7 +13759,9 @@ var Gp = (jr = {}, jr[Zt.LEFT] = function(e, t, n) {
|
|
|
13738
13759
|
};
|
|
13739
13760
|
}, jr), jp = typeof window < "u" ? window : {
|
|
13740
13761
|
innerHeight: 0,
|
|
13741
|
-
|
|
13762
|
+
scrollY: 0,
|
|
13763
|
+
innerWidth: 0,
|
|
13764
|
+
scrollX: 0
|
|
13742
13765
|
}, el = (
|
|
13743
13766
|
/** @class */
|
|
13744
13767
|
function() {
|
|
@@ -17117,17 +17140,35 @@ const TI = (e, t) => {
|
|
|
17117
17140
|
const n = e.x, r = e.y, i = t.x, a = t.y, s = bv();
|
|
17118
17141
|
return s.moveTo(n, r), s.lineTo(i, a), s.toString();
|
|
17119
17142
|
}, $I = {
|
|
17120
|
-
d: "M7 0v8L0 4z"
|
|
17143
|
+
d: "M7 0v8L0 4z",
|
|
17144
|
+
height: 8,
|
|
17145
|
+
width: 7.5,
|
|
17146
|
+
id: "arrowLeft"
|
|
17121
17147
|
}, MI = {
|
|
17122
|
-
d: "M0 0v8l7-4z"
|
|
17148
|
+
d: "M0 0v8l7-4z",
|
|
17149
|
+
height: 8,
|
|
17150
|
+
width: 7.5,
|
|
17151
|
+
id: "arrowRight"
|
|
17123
17152
|
}, CI = {
|
|
17124
|
-
d: "M5.32 9.513a4.75 4.75 0 100-9.5 4.75 4.75 0 000 9.5z"
|
|
17153
|
+
d: "M5.32 9.513a4.75 4.75 0 100-9.5 4.75 4.75 0 000 9.5z",
|
|
17154
|
+
height: 10,
|
|
17155
|
+
width: 10,
|
|
17156
|
+
id: "circle"
|
|
17125
17157
|
}, AI = {
|
|
17126
|
-
d: "M5.03517654-1e-7l4.99999996 5-4.99999996 5-5-5L2.4517844 2.58339204z"
|
|
17158
|
+
d: "M5.03517654-1e-7l4.99999996 5-4.99999996 5-5-5L2.4517844 2.58339204z",
|
|
17159
|
+
height: 10,
|
|
17160
|
+
width: 10,
|
|
17161
|
+
id: "diamond"
|
|
17127
17162
|
}, LI = {
|
|
17128
|
-
d: "M0 .44974747h8v8H0v-3.6830331z"
|
|
17163
|
+
d: "M0 .44974747h8v8H0v-3.6830331z",
|
|
17164
|
+
height: 9,
|
|
17165
|
+
width: 8,
|
|
17166
|
+
id: "square"
|
|
17129
17167
|
}, kI = {
|
|
17130
|
-
d: "M0 0h1.5v8H0z"
|
|
17168
|
+
d: "M0 0h1.5v8H0z",
|
|
17169
|
+
height: 8,
|
|
17170
|
+
width: 2,
|
|
17171
|
+
id: "tee"
|
|
17131
17172
|
};
|
|
17132
17173
|
class f0 extends ah {
|
|
17133
17174
|
constructor(t, n, r) {
|
|
@@ -18602,7 +18643,7 @@ class FI extends bt {
|
|
|
18602
18643
|
O >= 0 ? 0 : O,
|
|
18603
18644
|
vr(this.fullDataNormalized.map((_) => _[d]))
|
|
18604
18645
|
]).range([v, g]).nice(f), w = E.ticks(f), A = (_, C, L) => this.model.getFillColor(_, C, L), I = Qk().angle((_) => x(_[u]) + Math.PI / 2).radius((_) => E(_[d])).curve(Gg), k = this.uniqueKeys.map((_) => {
|
|
18605
|
-
const C = this.getLabelDimensions(_).width, L =
|
|
18646
|
+
const C = this.getLabelDimensions(_).width, L = SC(
|
|
18606
18647
|
x(_),
|
|
18607
18648
|
g
|
|
18608
18649
|
);
|
|
@@ -19279,6 +19320,8 @@ class jI extends bt {
|
|
|
19279
19320
|
return;
|
|
19280
19321
|
const a = this.model.getOptions(), s = this.model.getDisplayData(), o = b(a, "tree", "rootTitle") || "Tree", l = this.getMockLabelWidth(n, o), c = this.getLongestLabel(s), u = this.getMockLabelWidth(n, c), d = {
|
|
19281
19322
|
top: 0,
|
|
19323
|
+
right: 0,
|
|
19324
|
+
bottom: 0,
|
|
19282
19325
|
left: l > 0 ? l + zr : 30 - zr
|
|
19283
19326
|
}, h = ja({
|
|
19284
19327
|
name: o,
|