gf-components 0.1.159 → 0.1.161
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.cjs.js +90 -83
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +463 -369
- package/dist/index.es.js.map +1 -1
- package/dist/src/components/anchor/Anchor.d.ts +7 -0
- package/dist/src/components/anchor/index.d.ts +1 -0
- package/dist/src/components/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as C from "react";
|
|
2
2
|
import Ne, { version as K_, isValidElement as Dd, useContext as Yt, createContext as Jn, useRef as Le, useLayoutEffect as rb, useEffect as St, forwardRef as mr, useMemo as Se, useState as pt, Children as X_, createRef as Q_, useCallback as ze, useImperativeHandle as f1, cloneElement as zd, memo as gt, createElement as Mt, Component as J_, Fragment as Xr } from "react";
|
|
3
|
-
import
|
|
3
|
+
import Bt, { createGlobalStyle as eE, css as Hr } from "styled-components";
|
|
4
4
|
import * as tE from "react-dom";
|
|
5
5
|
import f8, { createPortal as nE, unstable_batchedUpdates as ib, flushSync as e3 } from "react-dom";
|
|
6
6
|
var U1 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
@@ -609,8 +609,8 @@ Check the top-level render call using <` + ae + ">.");
|
|
|
609
609
|
ft(lt, K);
|
|
610
610
|
}
|
|
611
611
|
if (ie.call(oe, "key")) {
|
|
612
|
-
var Et = L(K), bt = Object.keys(oe).filter(function(
|
|
613
|
-
return
|
|
612
|
+
var Et = L(K), bt = Object.keys(oe).filter(function(Wt) {
|
|
613
|
+
return Wt !== "key";
|
|
614
614
|
}), kt = bt.length > 0 ? "{key: someKey, " + bt.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
615
615
|
if (!de[Et + kt]) {
|
|
616
616
|
var fn = bt.length > 0 ? "{" + bt.join(": ..., ") + ": ...}" : "{}";
|
|
@@ -637,7 +637,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
637
637
|
}
|
|
638
638
|
process.env.NODE_ENV === "production" ? t3.exports = rE() : t3.exports = iE();
|
|
639
639
|
var m = t3.exports;
|
|
640
|
-
const
|
|
640
|
+
const $n = eE`
|
|
641
641
|
:root {
|
|
642
642
|
/* colors */
|
|
643
643
|
--gf-color-bg-base: #FFFFFF;
|
|
@@ -740,7 +740,7 @@ function vt() {
|
|
|
740
740
|
return e;
|
|
741
741
|
}, vt.apply(null, arguments);
|
|
742
742
|
}
|
|
743
|
-
var n3 = { exports: {} },
|
|
743
|
+
var n3 = { exports: {} }, nn = {};
|
|
744
744
|
/**
|
|
745
745
|
* @license React
|
|
746
746
|
* react-is.production.min.js
|
|
@@ -752,7 +752,7 @@ var n3 = { exports: {} }, tn = {};
|
|
|
752
752
|
*/
|
|
753
753
|
var v8;
|
|
754
754
|
function aE() {
|
|
755
|
-
if (v8) return
|
|
755
|
+
if (v8) return nn;
|
|
756
756
|
v8 = 1;
|
|
757
757
|
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), a = Symbol.for("react.context"), s = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), p;
|
|
758
758
|
p = Symbol.for("react.module.reference");
|
|
@@ -786,39 +786,39 @@ function aE() {
|
|
|
786
786
|
}
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
|
-
return
|
|
789
|
+
return nn.ContextConsumer = a, nn.ContextProvider = o, nn.Element = e, nn.ForwardRef = l, nn.Fragment = n, nn.Lazy = f, nn.Memo = d, nn.Portal = t, nn.Profiler = i, nn.StrictMode = r, nn.Suspense = c, nn.SuspenseList = u, nn.isAsyncMode = function() {
|
|
790
790
|
return !1;
|
|
791
|
-
},
|
|
791
|
+
}, nn.isConcurrentMode = function() {
|
|
792
792
|
return !1;
|
|
793
|
-
},
|
|
793
|
+
}, nn.isContextConsumer = function(v) {
|
|
794
794
|
return g(v) === a;
|
|
795
|
-
},
|
|
795
|
+
}, nn.isContextProvider = function(v) {
|
|
796
796
|
return g(v) === o;
|
|
797
|
-
},
|
|
797
|
+
}, nn.isElement = function(v) {
|
|
798
798
|
return typeof v == "object" && v !== null && v.$$typeof === e;
|
|
799
|
-
},
|
|
799
|
+
}, nn.isForwardRef = function(v) {
|
|
800
800
|
return g(v) === l;
|
|
801
|
-
},
|
|
801
|
+
}, nn.isFragment = function(v) {
|
|
802
802
|
return g(v) === n;
|
|
803
|
-
},
|
|
803
|
+
}, nn.isLazy = function(v) {
|
|
804
804
|
return g(v) === f;
|
|
805
|
-
},
|
|
805
|
+
}, nn.isMemo = function(v) {
|
|
806
806
|
return g(v) === d;
|
|
807
|
-
},
|
|
807
|
+
}, nn.isPortal = function(v) {
|
|
808
808
|
return g(v) === t;
|
|
809
|
-
},
|
|
809
|
+
}, nn.isProfiler = function(v) {
|
|
810
810
|
return g(v) === i;
|
|
811
|
-
},
|
|
811
|
+
}, nn.isStrictMode = function(v) {
|
|
812
812
|
return g(v) === r;
|
|
813
|
-
},
|
|
813
|
+
}, nn.isSuspense = function(v) {
|
|
814
814
|
return g(v) === c;
|
|
815
|
-
},
|
|
815
|
+
}, nn.isSuspenseList = function(v) {
|
|
816
816
|
return g(v) === u;
|
|
817
|
-
},
|
|
817
|
+
}, nn.isValidElementType = function(v) {
|
|
818
818
|
return typeof v == "string" || typeof v == "function" || v === n || v === i || v === r || v === c || v === u || v === h || typeof v == "object" && v !== null && (v.$$typeof === f || v.$$typeof === d || v.$$typeof === o || v.$$typeof === a || v.$$typeof === l || v.$$typeof === p || v.getModuleId !== void 0);
|
|
819
|
-
},
|
|
819
|
+
}, nn.typeOf = g, nn;
|
|
820
820
|
}
|
|
821
|
-
var
|
|
821
|
+
var rn = {};
|
|
822
822
|
/**
|
|
823
823
|
* @license React
|
|
824
824
|
* react-is.development.js
|
|
@@ -915,8 +915,8 @@ function sE() {
|
|
|
915
915
|
function ne(z) {
|
|
916
916
|
return w(z) === u;
|
|
917
917
|
}
|
|
918
|
-
|
|
919
|
-
}()),
|
|
918
|
+
rn.ContextConsumer = $, rn.ContextProvider = V, rn.Element = _, rn.ForwardRef = M, rn.Fragment = O, rn.Lazy = R, rn.Memo = I, rn.Portal = L, rn.Profiler = E, rn.StrictMode = T, rn.Suspense = j, rn.SuspenseList = H, rn.isAsyncMode = A, rn.isConcurrentMode = D, rn.isContextConsumer = U, rn.isContextProvider = q, rn.isElement = G, rn.isForwardRef = J, rn.isFragment = X, rn.isLazy = Y, rn.isMemo = Q, rn.isPortal = B, rn.isProfiler = W, rn.isStrictMode = Z, rn.isSuspense = N, rn.isSuspenseList = ne, rn.isValidElementType = S, rn.typeOf = w;
|
|
919
|
+
}()), rn;
|
|
920
920
|
}
|
|
921
921
|
process.env.NODE_ENV === "production" ? n3.exports = aE() : n3.exports = sE();
|
|
922
922
|
var bc = n3.exports;
|
|
@@ -1567,7 +1567,7 @@ var x8 = 0, Wd = /* @__PURE__ */ new Map();
|
|
|
1567
1567
|
function Cb(e) {
|
|
1568
1568
|
Wd.delete(e);
|
|
1569
1569
|
}
|
|
1570
|
-
var
|
|
1570
|
+
var un = function(t) {
|
|
1571
1571
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
|
|
1572
1572
|
x8 += 1;
|
|
1573
1573
|
var r = x8;
|
|
@@ -1583,11 +1583,11 @@ var cn = function(t) {
|
|
|
1583
1583
|
}
|
|
1584
1584
|
return i(n), r;
|
|
1585
1585
|
};
|
|
1586
|
-
|
|
1586
|
+
un.cancel = function(e) {
|
|
1587
1587
|
var t = Wd.get(e);
|
|
1588
1588
|
return Cb(e), yb(t);
|
|
1589
1589
|
};
|
|
1590
|
-
process.env.NODE_ENV !== "production" && (
|
|
1590
|
+
process.env.NODE_ENV !== "production" && (un.ids = function() {
|
|
1591
1591
|
return Wd;
|
|
1592
1592
|
});
|
|
1593
1593
|
function xb(e) {
|
|
@@ -2010,7 +2010,7 @@ var _u = function(t) {
|
|
|
2010
2010
|
}), [o, JE(i, n, {
|
|
2011
2011
|
scope: r == null ? void 0 : r.scope
|
|
2012
2012
|
})];
|
|
2013
|
-
}, E8 = process.env.NODE_ENV !== "test" && pr() ? C.useLayoutEffect : C.useEffect,
|
|
2013
|
+
}, E8 = process.env.NODE_ENV !== "test" && pr() ? C.useLayoutEffect : C.useEffect, cn = function(t, n) {
|
|
2014
2014
|
var r = C.useRef(!0);
|
|
2015
2015
|
E8(function() {
|
|
2016
2016
|
return t(r.current);
|
|
@@ -2020,12 +2020,12 @@ var _u = function(t) {
|
|
|
2020
2020
|
};
|
|
2021
2021
|
}, []);
|
|
2022
2022
|
}, f3 = function(t, n) {
|
|
2023
|
-
|
|
2023
|
+
cn(function(r) {
|
|
2024
2024
|
if (!r)
|
|
2025
2025
|
return t();
|
|
2026
2026
|
}, n);
|
|
2027
2027
|
}, eO = te({}, C), O8 = eO.useInsertionEffect, tO = function(t, n, r) {
|
|
2028
|
-
C.useMemo(t, r),
|
|
2028
|
+
C.useMemo(t, r), cn(function() {
|
|
2029
2029
|
return n(!0);
|
|
2030
2030
|
}, r);
|
|
2031
2031
|
}, nO = O8 ? function(e, t, n) {
|
|
@@ -4236,7 +4236,7 @@ function W8(e, t, n, r) {
|
|
|
4236
4236
|
}), a;
|
|
4237
4237
|
}
|
|
4238
4238
|
var ay = process.env.NODE_ENV !== "production" || typeof CSSINJS_STATISTIC < "u", R3 = !0;
|
|
4239
|
-
function
|
|
4239
|
+
function _n() {
|
|
4240
4240
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
4241
4241
|
t[n] = arguments[n];
|
|
4242
4242
|
if (!ay)
|
|
@@ -4282,7 +4282,7 @@ var zH = function(t) {
|
|
|
4282
4282
|
function U8(e, t, n) {
|
|
4283
4283
|
if (typeof n == "function") {
|
|
4284
4284
|
var r;
|
|
4285
|
-
return n(
|
|
4285
|
+
return n(_n(t, (r = t[e]) !== null && r !== void 0 ? r : {}));
|
|
4286
4286
|
}
|
|
4287
4287
|
return n ?? {};
|
|
4288
4288
|
}
|
|
@@ -4455,7 +4455,7 @@ function GH(e) {
|
|
|
4455
4455
|
R && xt(X) === "object" && Object.keys(X).forEach(function(N) {
|
|
4456
4456
|
X[N] = "var(".concat(_u(N, B8(y, R.prefix)), ")");
|
|
4457
4457
|
});
|
|
4458
|
-
var B =
|
|
4458
|
+
var B = _n(G, {
|
|
4459
4459
|
componentCls: Y,
|
|
4460
4460
|
prefixCls: S,
|
|
4461
4461
|
iconCls: ".".concat(E),
|
|
@@ -5087,12 +5087,12 @@ var yy = pr() ? rb : St;
|
|
|
5087
5087
|
const pV = function() {
|
|
5088
5088
|
var e = C.useRef(null);
|
|
5089
5089
|
function t() {
|
|
5090
|
-
|
|
5090
|
+
un.cancel(e.current);
|
|
5091
5091
|
}
|
|
5092
5092
|
function n(r) {
|
|
5093
5093
|
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 2;
|
|
5094
5094
|
t();
|
|
5095
|
-
var o =
|
|
5095
|
+
var o = un(function() {
|
|
5096
5096
|
i <= 1 ? r({
|
|
5097
5097
|
isCanceled: function() {
|
|
5098
5098
|
return o !== e.current;
|
|
@@ -6959,12 +6959,12 @@ const ST = (e) => {
|
|
|
6959
6959
|
}
|
|
6960
6960
|
if (C.useEffect(() => {
|
|
6961
6961
|
if (n) {
|
|
6962
|
-
const $ =
|
|
6962
|
+
const $ = un(() => {
|
|
6963
6963
|
S(), y(!0);
|
|
6964
6964
|
});
|
|
6965
6965
|
let V;
|
|
6966
6966
|
return typeof ResizeObserver < "u" && (V = new ResizeObserver(S), V.observe(n)), () => {
|
|
6967
|
-
|
|
6967
|
+
un.cancel($), V == null || V.disconnect();
|
|
6968
6968
|
};
|
|
6969
6969
|
}
|
|
6970
6970
|
}, []), !b)
|
|
@@ -7027,7 +7027,7 @@ const ST = (e) => {
|
|
|
7027
7027
|
});
|
|
7028
7028
|
}), s = C.useRef();
|
|
7029
7029
|
return (c) => {
|
|
7030
|
-
|
|
7030
|
+
un.cancel(s.current), s.current = un(() => {
|
|
7031
7031
|
a(c);
|
|
7032
7032
|
});
|
|
7033
7033
|
};
|
|
@@ -7141,7 +7141,7 @@ const ta = (e) => {
|
|
|
7141
7141
|
}
|
|
7142
7142
|
};
|
|
7143
7143
|
}, Ty = Vr("Space", (e) => {
|
|
7144
|
-
const t =
|
|
7144
|
+
const t = _n(e, {
|
|
7145
7145
|
spaceGapSmallSize: e.paddingXS,
|
|
7146
7146
|
spaceGapMiddleSize: e.padding,
|
|
7147
7147
|
spaceGapLargeSize: e.paddingLG
|
|
@@ -7433,7 +7433,7 @@ const jy = /* @__PURE__ */ mr((e, t) => {
|
|
|
7433
7433
|
onlyIconSize: n,
|
|
7434
7434
|
paddingBlock: r
|
|
7435
7435
|
} = e;
|
|
7436
|
-
return
|
|
7436
|
+
return _n(e, {
|
|
7437
7437
|
buttonPaddingHorizontal: t,
|
|
7438
7438
|
buttonPaddingVertical: r,
|
|
7439
7439
|
buttonIconOnlyFontSize: n
|
|
@@ -7730,13 +7730,13 @@ const jy = /* @__PURE__ */ mr((e, t) => {
|
|
|
7730
7730
|
}
|
|
7731
7731
|
];
|
|
7732
7732
|
}, GT = (e) => {
|
|
7733
|
-
const t =
|
|
7733
|
+
const t = _n(e, {
|
|
7734
7734
|
fontSize: e.contentFontSize,
|
|
7735
7735
|
lineHeight: e.contentLineHeight
|
|
7736
7736
|
});
|
|
7737
7737
|
return q5(t, e.componentCls);
|
|
7738
7738
|
}, YT = (e) => {
|
|
7739
|
-
const t =
|
|
7739
|
+
const t = _n(e, {
|
|
7740
7740
|
controlHeight: e.controlHeightSM,
|
|
7741
7741
|
fontSize: e.contentFontSizeSM,
|
|
7742
7742
|
lineHeight: e.contentLineHeightSM,
|
|
@@ -7748,7 +7748,7 @@ const jy = /* @__PURE__ */ mr((e, t) => {
|
|
|
7748
7748
|
});
|
|
7749
7749
|
return q5(t, `${e.componentCls}-sm`);
|
|
7750
7750
|
}, KT = (e) => {
|
|
7751
|
-
const t =
|
|
7751
|
+
const t = _n(e, {
|
|
7752
7752
|
controlHeight: e.controlHeightLG,
|
|
7753
7753
|
fontSize: e.contentFontSizeLG,
|
|
7754
7754
|
lineHeight: e.contentLineHeightLG,
|
|
@@ -8102,9 +8102,9 @@ function cR(e, t) {
|
|
|
8102
8102
|
var p;
|
|
8103
8103
|
(p = i.parentElement) === null || p === void 0 || p.removeChild(i), o.current = !1;
|
|
8104
8104
|
}
|
|
8105
|
-
return
|
|
8105
|
+
return cn(function() {
|
|
8106
8106
|
return e ? a ? a(f) : f() : h(), h;
|
|
8107
|
-
}, [e]),
|
|
8107
|
+
}, [e]), cn(function() {
|
|
8108
8108
|
c.length && (c.forEach(function(p) {
|
|
8109
8109
|
return p();
|
|
8110
8110
|
}), u(u9));
|
|
@@ -8152,7 +8152,7 @@ function gR(e) {
|
|
|
8152
8152
|
var t = !!e, n = C.useState(function() {
|
|
8153
8153
|
return d9 += 1, "".concat(hR, "_").concat(d9);
|
|
8154
8154
|
}), r = se(n, 1), i = r[0];
|
|
8155
|
-
|
|
8155
|
+
cn(function() {
|
|
8156
8156
|
if (t) {
|
|
8157
8157
|
var o = dR(document.body).width, a = fR();
|
|
8158
8158
|
Co(`
|
|
@@ -10605,7 +10605,7 @@ const Jd = (e) => {
|
|
|
10605
10605
|
const {
|
|
10606
10606
|
componentCls: t,
|
|
10607
10607
|
calc: n
|
|
10608
|
-
} = e, r =
|
|
10608
|
+
} = e, r = _n(e, {
|
|
10609
10609
|
skeletonAvatarCls: `${t}-avatar`,
|
|
10610
10610
|
skeletonTitleCls: `${t}-title`,
|
|
10611
10611
|
skeletonParagraphCls: `${t}-paragraph`,
|
|
@@ -11541,7 +11541,7 @@ var Sc = /* @__PURE__ */ C.forwardRef(Cj);
|
|
|
11541
11541
|
Sc.displayName = "Item";
|
|
11542
11542
|
function xj(e) {
|
|
11543
11543
|
if (typeof MessageChannel > "u")
|
|
11544
|
-
|
|
11544
|
+
un(e);
|
|
11545
11545
|
else {
|
|
11546
11546
|
var t = new MessageChannel();
|
|
11547
11547
|
t.port1.onmessage = function() {
|
|
@@ -11625,7 +11625,7 @@ function Hj(e, t) {
|
|
|
11625
11625
|
function ue(Ue) {
|
|
11626
11626
|
return j.get(Qe(Te[Ue], Ue));
|
|
11627
11627
|
}
|
|
11628
|
-
|
|
11628
|
+
cn(function() {
|
|
11629
11629
|
if (L && typeof le == "number" && Te) {
|
|
11630
11630
|
var Ue = Q, Pe = Te.length, ft = Pe - 1;
|
|
11631
11631
|
if (!Pe) {
|
|
@@ -12038,7 +12038,7 @@ var aC = /* @__PURE__ */ C.memo(function(e) {
|
|
|
12038
12038
|
process.env.NODE_ENV !== "production" && (aC.displayName = "PopupContent");
|
|
12039
12039
|
var sC = /* @__PURE__ */ C.forwardRef(function(e, t) {
|
|
12040
12040
|
var n = e.popup, r = e.className, i = e.prefixCls, o = e.style, a = e.target, s = e.onVisibleChanged, l = e.open, c = e.keepDom, u = e.fresh, d = e.onClick, f = e.mask, h = e.arrow, p = e.arrowPos, g = e.align, v = e.motion, b = e.maskMotion, y = e.forceRender, x = e.getPopupContainer, S = e.autoDestroy, w = e.portal, $ = e.zIndex, V = e.onMouseEnter, _ = e.onMouseLeave, M = e.onPointerEnter, O = e.ready, R = e.offsetX, I = e.offsetY, L = e.offsetR, E = e.offsetB, T = e.onAlign, j = e.onPrepare, H = e.stretch, P = e.targetWidth, k = e.targetHeight, A = typeof n == "function" ? n() : n, D = l || c, U = (x == null ? void 0 : x.length) > 0, q = C.useState(!x || !U), G = se(q, 2), J = G[0], X = G[1];
|
|
12041
|
-
if (
|
|
12041
|
+
if (cn(function() {
|
|
12042
12042
|
!J && U && a && X(!0);
|
|
12043
12043
|
}, [J, U, a]), !J)
|
|
12044
12044
|
return null;
|
|
@@ -12310,19 +12310,19 @@ function Zj(e, t, n, r, i, o, a) {
|
|
|
12310
12310
|
fn >= Ue) ? (h.current.rl = !0, We = bt, Te = -Te, Ze.points = [Ro(Je, 1), Ro(Ee, 1)]) : h.current.rl = !1;
|
|
12311
12311
|
}
|
|
12312
12312
|
if (Ct && Je[1] === "r" && (ae < we.left || h.current.lr)) {
|
|
12313
|
-
var
|
|
12314
|
-
Et ?
|
|
12315
|
-
var Cn = Dn(
|
|
12313
|
+
var Wt = We;
|
|
12314
|
+
Et ? Wt += B - Z : Wt = wt.x - ft.x - Te;
|
|
12315
|
+
var Cn = Dn(Wt, nt), br = Dn(Wt, nt, pe);
|
|
12316
12316
|
// Of course use larger one
|
|
12317
12317
|
Cn > it || Cn === it && (!ge || // Choose recommend one
|
|
12318
|
-
br >= Ue) ? (h.current.lr = !0, We =
|
|
12318
|
+
br >= Ue) ? (h.current.lr = !0, We = Wt, Te = -Te, Ze.points = [Ro(Je, 1), Ro(Ee, 1)]) : h.current.lr = !1;
|
|
12319
12319
|
}
|
|
12320
12320
|
aa();
|
|
12321
12321
|
var Ut = Xe === !0 ? 0 : Xe;
|
|
12322
12322
|
typeof Ut == "number" && (ae < pe.left && (We -= ae - pe.left - Te, P.x + Z < pe.left + Ut && (We += P.x - pe.left + Z - Ut)), Ve > pe.right && (We -= Ve - pe.right - Te, P.x > pe.right - Ut && (We += P.x - pe.right + Ut)));
|
|
12323
12323
|
var Nn = qe === !0 ? 0 : qe;
|
|
12324
12324
|
typeof Nn == "number" && (K < pe.top && (nt -= K - pe.top - je, P.y + W < pe.top + Nn && (nt += P.y - pe.top + W - Nn)), oe > pe.bottom && (nt -= oe - pe.bottom - je, P.y > pe.bottom - Nn && (nt += P.y - pe.bottom + Nn)));
|
|
12325
|
-
var dt = A.x + We, jn = dt + B, mn = A.y + nt, xn = mn + Q, fo = P.x, Wr = fo + Z, yr = P.y, It = yr + W, Ot = Math.max(dt, fo), Fn = Math.min(jn, Wr), kn = (Ot + Fn) / 2, Ht = kn - dt, _t = Math.max(mn, yr), Nt = Math.min(xn, It),
|
|
12325
|
+
var dt = A.x + We, jn = dt + B, mn = A.y + nt, xn = mn + Q, fo = P.x, Wr = fo + Z, yr = P.y, It = yr + W, Ot = Math.max(dt, fo), Fn = Math.min(jn, Wr), kn = (Ot + Fn) / 2, Ht = kn - dt, _t = Math.max(mn, yr), Nt = Math.min(xn, It), ln = (_t + Nt) / 2, wn = ln - mn;
|
|
12326
12326
|
a == null || a(t, Ze);
|
|
12327
12327
|
var or = ve.right - A.x - (We + A.width), Kn = ve.bottom - A.y - (nt + A.height);
|
|
12328
12328
|
he === 1 && (We = Math.round(We), or = Math.round(or)), le === 1 && (nt = Math.round(nt), Kn = Math.round(Kn));
|
|
@@ -12353,12 +12353,12 @@ function Zj(e, t, n, r, i, o, a) {
|
|
|
12353
12353
|
});
|
|
12354
12354
|
});
|
|
12355
12355
|
};
|
|
12356
|
-
return
|
|
12356
|
+
return cn(b, [r]), cn(function() {
|
|
12357
12357
|
e || b();
|
|
12358
12358
|
}, [e]), [c.ready, c.offsetX, c.offsetY, c.offsetR, c.offsetB, c.arrowX, c.arrowY, c.scaleX, c.scaleY, c.align, v];
|
|
12359
12359
|
}
|
|
12360
12360
|
function Uj(e, t, n, r, i) {
|
|
12361
|
-
|
|
12361
|
+
cn(function() {
|
|
12362
12362
|
if (e && t && n) {
|
|
12363
12363
|
let d = function() {
|
|
12364
12364
|
r(), i();
|
|
@@ -12402,7 +12402,7 @@ var Gj = ["prefixCls", "children", "action", "showAction", "hideAction", "popupV
|
|
|
12402
12402
|
function Yj() {
|
|
12403
12403
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Y5, t = /* @__PURE__ */ C.forwardRef(function(n, r) {
|
|
12404
12404
|
var i = n.prefixCls, o = i === void 0 ? "rc-trigger-popup" : i, a = n.children, s = n.action, l = s === void 0 ? "hover" : s, c = n.showAction, u = n.hideAction, d = n.popupVisible, f = n.defaultPopupVisible, h = n.onPopupVisibleChange, p = n.afterPopupVisibleChange, g = n.mouseEnterDelay, v = n.mouseLeaveDelay, b = v === void 0 ? 0.1 : v, y = n.focusDelay, x = n.blurDelay, S = n.mask, w = n.maskClosable, $ = w === void 0 ? !0 : w, V = n.getPopupContainer, _ = n.forceRender, M = n.autoDestroy, O = n.destroyPopupOnHide, R = n.popup, I = n.popupClassName, L = n.popupStyle, E = n.popupPlacement, T = n.builtinPlacements, j = T === void 0 ? {} : T, H = n.popupAlign, P = n.zIndex, k = n.stretch, A = n.getPopupClassNameFromAlign, D = n.fresh, U = n.alignPoint, q = n.onPopupClick, G = n.onPopupAlign, J = n.arrow, X = n.popupMotion, Y = n.maskMotion, Q = n.popupTransitionName, B = n.popupAnimation, W = n.maskTransitionName, Z = n.maskAnimation, N = n.className, ne = n.getTriggerDOMNode, z = jt(n, Gj), re = M || O || !1, ie = C.useState(!1), ge = se(ie, 2), ye = ge[0], pe = ge[1];
|
|
12405
|
-
|
|
12405
|
+
cn(function() {
|
|
12406
12406
|
pe(Q5());
|
|
12407
12407
|
}, []);
|
|
12408
12408
|
var be = C.useRef({}), we = C.useContext(R9), ve = C.useMemo(function() {
|
|
@@ -12423,7 +12423,7 @@ function Yj() {
|
|
|
12423
12423
|
}), Je = j9(o, X, B, Q), ot = j9(o, Y, Z, W), De = C.useState(f || !1), Ze = se(De, 2), We = Ze[0], nt = Ze[1], it = d ?? We, Ue = Xn(function(yt) {
|
|
12424
12424
|
d === void 0 && nt(yt);
|
|
12425
12425
|
});
|
|
12426
|
-
|
|
12426
|
+
cn(function() {
|
|
12427
12427
|
nt(d || !1);
|
|
12428
12428
|
}, [d]);
|
|
12429
12429
|
var Pe = C.useRef(it);
|
|
@@ -12445,19 +12445,19 @@ function Yj() {
|
|
|
12445
12445
|
return de;
|
|
12446
12446
|
}, []);
|
|
12447
12447
|
var He = C.useState(!1), Xe = se(He, 2), qe = Xe[0], at = Xe[1];
|
|
12448
|
-
|
|
12448
|
+
cn(function(yt) {
|
|
12449
12449
|
(!yt || it) && at(!0);
|
|
12450
12450
|
}, [it]);
|
|
12451
12451
|
var K = C.useState(null), oe = se(K, 2), ae = oe[0], Ve = oe[1], st = C.useState([0, 0]), ct = se(st, 2), ut = ct[0], mt = ct[1], me = function(Vt) {
|
|
12452
12452
|
mt([Vt.clientX, Vt.clientY]);
|
|
12453
|
-
}, Ce = Zj(it, fe, U ? ut : et, E, j, H, G), Re = se(Ce, 11), lt = Re[0], Ct = Re[1], Et = Re[2], bt = Re[3], kt = Re[4], fn = Re[5],
|
|
12453
|
+
}, Ce = Zj(it, fe, U ? ut : et, E, j, H, G), Re = se(Ce, 11), lt = Re[0], Ct = Re[1], Et = Re[2], bt = Re[3], kt = Re[4], fn = Re[5], Wt = Re[6], Cn = Re[7], br = Re[8], Ut = Re[9], Nn = Re[10], dt = zj(ye, l, c, u), jn = se(dt, 2), mn = jn[0], xn = jn[1], fo = mn.has("click"), Wr = xn.has("click") || xn.has("contextMenu"), yr = Xn(function() {
|
|
12454
12454
|
qe || Nn();
|
|
12455
12455
|
}), It = function() {
|
|
12456
12456
|
Pe.current && U && Wr && xe(!1);
|
|
12457
12457
|
};
|
|
12458
|
-
Uj(it, et, fe, yr, It),
|
|
12458
|
+
Uj(it, et, fe, yr, It), cn(function() {
|
|
12459
12459
|
yr();
|
|
12460
|
-
}, [ut, E]),
|
|
12460
|
+
}, [ut, E]), cn(function() {
|
|
12461
12461
|
it && !(j != null && j[E]) && yr();
|
|
12462
12462
|
}, [JSON.stringify(H)]);
|
|
12463
12463
|
var Ot = C.useMemo(function() {
|
|
@@ -12471,7 +12471,7 @@ function Yj() {
|
|
|
12471
12471
|
forceAlign: yr
|
|
12472
12472
|
};
|
|
12473
12473
|
});
|
|
12474
|
-
var Fn = C.useState(0), kn = se(Fn, 2), Ht = kn[0], _t = kn[1], Nt = C.useState(0),
|
|
12474
|
+
var Fn = C.useState(0), kn = se(Fn, 2), Ht = kn[0], _t = kn[1], Nt = C.useState(0), ln = se(Nt, 2), wn = ln[0], or = ln[1], Kn = function() {
|
|
12475
12475
|
if (k && et) {
|
|
12476
12476
|
var Vt = et.getBoundingClientRect();
|
|
12477
12477
|
_t(Vt.width), or(Vt.height);
|
|
@@ -12487,7 +12487,7 @@ function Yj() {
|
|
|
12487
12487
|
});
|
|
12488
12488
|
});
|
|
12489
12489
|
};
|
|
12490
|
-
|
|
12490
|
+
cn(function() {
|
|
12491
12491
|
ae && (Nn(), ae(), Ve(null));
|
|
12492
12492
|
}, [ae]);
|
|
12493
12493
|
function Cr(yt, Vt, Vn, Wn) {
|
|
@@ -12535,7 +12535,7 @@ function Yj() {
|
|
|
12535
12535
|
});
|
|
12536
12536
|
var bf = /* @__PURE__ */ C.cloneElement(Ge, te(te({}, Il), B1)), yf = {
|
|
12537
12537
|
x: fn,
|
|
12538
|
-
y:
|
|
12538
|
+
y: Wt
|
|
12539
12539
|
}, Cf = J ? te({}, J !== !0 ? J : {}) : null;
|
|
12540
12540
|
return /* @__PURE__ */ C.createElement(C.Fragment, null, /* @__PURE__ */ C.createElement(Ar, {
|
|
12541
12541
|
disabled: !it,
|
|
@@ -12785,7 +12785,7 @@ var nk = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
|
|
|
12785
12785
|
var Ot = (It = u[0]) === null || It === void 0 ? void 0 : It.value;
|
|
12786
12786
|
return typeof Ot == "string" || typeof Ot == "number" ? String(Ot) : "";
|
|
12787
12787
|
}, [R, v, u]), Ke = v === "combobox" && typeof x == "function" && x() || null, ue = typeof S == "function" && S(), Ee = rl(fe, ue == null || (n = ue.props) === null || n === void 0 ? void 0 : n.ref), Je = C.useState(!1), ot = se(Je, 2), De = ot[0], Ze = ot[1];
|
|
12788
|
-
|
|
12788
|
+
cn(function() {
|
|
12789
12789
|
Ze(!0);
|
|
12790
12790
|
}, []);
|
|
12791
12791
|
var We = Qn(!1, {
|
|
@@ -12806,8 +12806,8 @@ var nk = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
|
|
|
12806
12806
|
if (!(ye && e4(He) && (Xe == null ? void 0 : Xe.size) >= He)) {
|
|
12807
12807
|
var Ht = !0, _t = Ot;
|
|
12808
12808
|
M == null || M(null);
|
|
12809
|
-
var Nt = ek(Ot, T, e4(He) ? He - Xe.size : void 0),
|
|
12810
|
-
return v !== "combobox" &&
|
|
12809
|
+
var Nt = ek(Ot, T, e4(He) ? He - Xe.size : void 0), ln = kn ? null : Nt;
|
|
12810
|
+
return v !== "combobox" && ln && (_t = "", E == null || E(ln), Oe(!1), Ht = !1), L && Ge !== _t && L(_t, {
|
|
12811
12811
|
source: Fn ? "typing" : "effect"
|
|
12812
12812
|
}), Ht;
|
|
12813
12813
|
}
|
|
@@ -12824,10 +12824,10 @@ var nk = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
|
|
|
12824
12824
|
var K = eC(), oe = se(K, 2), ae = oe[0], Ve = oe[1], st = C.useRef(!1), ct = function(Ot) {
|
|
12825
12825
|
var Fn = ae(), kn = Ot.key, Ht = kn === "Enter";
|
|
12826
12826
|
if (Ht && (v !== "combobox" && Ot.preventDefault(), Pe || Oe(!0)), Ve(!!Ge), kn === "Backspace" && !Fn && ye && !Ge && u.length) {
|
|
12827
|
-
for (var _t = ht(u), Nt = null,
|
|
12828
|
-
var wn = _t[
|
|
12827
|
+
for (var _t = ht(u), Nt = null, ln = _t.length - 1; ln >= 0; ln -= 1) {
|
|
12828
|
+
var wn = _t[ln];
|
|
12829
12829
|
if (!wn.disabled) {
|
|
12830
|
-
_t.splice(
|
|
12830
|
+
_t.splice(ln, 1), Nt = wn;
|
|
12831
12831
|
break;
|
|
12832
12832
|
}
|
|
12833
12833
|
}
|
|
@@ -12889,15 +12889,15 @@ var nk = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
|
|
|
12889
12889
|
});
|
|
12890
12890
|
lt.push(_t);
|
|
12891
12891
|
}
|
|
12892
|
-
for (var Nt = arguments.length,
|
|
12893
|
-
|
|
12894
|
-
ie == null || ie.apply(void 0, [Ot].concat(
|
|
12892
|
+
for (var Nt = arguments.length, ln = new Array(Nt > 1 ? Nt - 1 : 0), wn = 1; wn < Nt; wn++)
|
|
12893
|
+
ln[wn - 1] = arguments[wn];
|
|
12894
|
+
ie == null || ie.apply(void 0, [Ot].concat(ln));
|
|
12895
12895
|
}, Et = C.useState({}), bt = se(Et, 2), kt = bt[1];
|
|
12896
12896
|
function fn() {
|
|
12897
12897
|
kt({});
|
|
12898
12898
|
}
|
|
12899
|
-
var
|
|
12900
|
-
ue && (
|
|
12899
|
+
var Wt;
|
|
12900
|
+
ue && (Wt = function(Ot) {
|
|
12901
12901
|
Oe(Ot);
|
|
12902
12902
|
}), mj(function() {
|
|
12903
12903
|
var It;
|
|
@@ -12959,7 +12959,7 @@ var nk = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
|
|
|
12959
12959
|
fe.current || Ot
|
|
12960
12960
|
);
|
|
12961
12961
|
},
|
|
12962
|
-
onPopupVisibleChange:
|
|
12962
|
+
onPopupVisibleChange: Wt,
|
|
12963
12963
|
onPopupMouseEnter: fn
|
|
12964
12964
|
}, ue ? /* @__PURE__ */ C.cloneElement(ue, {
|
|
12965
12965
|
ref: Ee
|
|
@@ -13116,7 +13116,7 @@ const hC = function(e, t, n, r) {
|
|
|
13116
13116
|
function lk(e, t, n, r, i, o, a) {
|
|
13117
13117
|
var s = Le(0), l = Le(null), c = Le(null), u = Le(!1), d = hC(t, n, r, i);
|
|
13118
13118
|
function f(y, x) {
|
|
13119
|
-
|
|
13119
|
+
un.cancel(l.current), s.current += x, c.current = x, !d(!1, x) && (F9 || y.preventDefault(), l.current = un(function() {
|
|
13120
13120
|
var S = u.current ? 10 : 1;
|
|
13121
13121
|
a(s.current * S), s.current = 0;
|
|
13122
13122
|
}));
|
|
@@ -13127,7 +13127,7 @@ function lk(e, t, n, r, i, o, a) {
|
|
|
13127
13127
|
var p = Le(null), g = Le(null);
|
|
13128
13128
|
function v(y) {
|
|
13129
13129
|
if (e) {
|
|
13130
|
-
|
|
13130
|
+
un.cancel(g.current), g.current = un(function() {
|
|
13131
13131
|
p.current = null;
|
|
13132
13132
|
}, 2);
|
|
13133
13133
|
var x = y.deltaX, S = y.deltaY, w = y.shiftKey, $ = x, V = S;
|
|
@@ -13180,7 +13180,7 @@ var uk = /* @__PURE__ */ function() {
|
|
|
13180
13180
|
function dk(e, t, n) {
|
|
13181
13181
|
var r = C.useState(0), i = se(r, 2), o = i[0], a = i[1], s = Le(/* @__PURE__ */ new Map()), l = Le(new uk()), c = Le();
|
|
13182
13182
|
function u() {
|
|
13183
|
-
|
|
13183
|
+
un.cancel(c.current);
|
|
13184
13184
|
}
|
|
13185
13185
|
function d() {
|
|
13186
13186
|
var h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
|
|
@@ -13195,7 +13195,7 @@ function dk(e, t, n) {
|
|
|
13195
13195
|
return v + 1;
|
|
13196
13196
|
});
|
|
13197
13197
|
};
|
|
13198
|
-
h ? p() : c.current =
|
|
13198
|
+
h ? p() : c.current = un(p);
|
|
13199
13199
|
}
|
|
13200
13200
|
function f(h, p) {
|
|
13201
13201
|
var g = e(h);
|
|
@@ -13227,7 +13227,7 @@ function fk(e, t, n) {
|
|
|
13227
13227
|
};
|
|
13228
13228
|
l = function() {
|
|
13229
13229
|
a.current && (a.current.removeEventListener("touchmove", c), a.current.removeEventListener("touchend", u));
|
|
13230
|
-
},
|
|
13230
|
+
}, cn(function() {
|
|
13231
13231
|
return e && t.current.addEventListener("touchstart", d, {
|
|
13232
13232
|
passive: !0
|
|
13233
13233
|
}), function() {
|
|
@@ -13239,7 +13239,7 @@ function fk(e, t, n) {
|
|
|
13239
13239
|
var z9 = 10;
|
|
13240
13240
|
function hk(e, t, n, r, i, o, a, s) {
|
|
13241
13241
|
var l = C.useRef(), c = C.useState(null), u = se(c, 2), d = u[0], f = u[1];
|
|
13242
|
-
return
|
|
13242
|
+
return cn(function() {
|
|
13243
13243
|
if (d && d.times < z9) {
|
|
13244
13244
|
if (!e.current) {
|
|
13245
13245
|
f(function(k) {
|
|
@@ -13290,7 +13290,7 @@ function hk(e, t, n, r, i, o, a, s) {
|
|
|
13290
13290
|
s();
|
|
13291
13291
|
return;
|
|
13292
13292
|
}
|
|
13293
|
-
if (
|
|
13293
|
+
if (un.cancel(l.current), typeof h == "number")
|
|
13294
13294
|
a(h);
|
|
13295
13295
|
else if (h && xt(h) === "object") {
|
|
13296
13296
|
var p, g = h.align;
|
|
@@ -13357,13 +13357,13 @@ var n4 = /* @__PURE__ */ C.forwardRef(function(e, t) {
|
|
|
13357
13357
|
if (v) {
|
|
13358
13358
|
var W, Z = function(z) {
|
|
13359
13359
|
var re = q.current, ie = re.dragging, ge = re.pageY, ye = re.startTop;
|
|
13360
|
-
|
|
13360
|
+
un.cancel(W);
|
|
13361
13361
|
var pe = R.current.getBoundingClientRect(), be = d / (c ? pe.width : pe.height);
|
|
13362
13362
|
if (ie) {
|
|
13363
13363
|
var we = (B9(z, c) - ge) * be, ve = ye;
|
|
13364
13364
|
!O && c ? ve -= we : ve += we;
|
|
13365
13365
|
var he = J.current, le = X.current, $e = le ? ve / le : 0, fe = Math.ceil($e * he);
|
|
13366
|
-
fe = Math.max(fe, 0), fe = Math.min(fe, he), W =
|
|
13366
|
+
fe = Math.max(fe, 0), fe = Math.min(fe, he), W = un(function() {
|
|
13367
13367
|
l(fe, c);
|
|
13368
13368
|
});
|
|
13369
13369
|
}
|
|
@@ -13379,7 +13379,7 @@ var n4 = /* @__PURE__ */ C.forwardRef(function(e, t) {
|
|
|
13379
13379
|
}), window.addEventListener("touchend", N, {
|
|
13380
13380
|
passive: !0
|
|
13381
13381
|
}), function() {
|
|
13382
|
-
window.removeEventListener("mousemove", Z), window.removeEventListener("touchmove", Z), window.removeEventListener("mouseup", N), window.removeEventListener("touchend", N),
|
|
13382
|
+
window.removeEventListener("mousemove", Z), window.removeEventListener("touchmove", Z), window.removeEventListener("mouseup", N), window.removeEventListener("touchend", N), un.cancel(W);
|
|
13383
13383
|
};
|
|
13384
13384
|
}
|
|
13385
13385
|
}, [v]), C.useEffect(function() {
|
|
@@ -13469,7 +13469,7 @@ function bk(e, t) {
|
|
|
13469
13469
|
};
|
|
13470
13470
|
}
|
|
13471
13471
|
for (var Ce = 0, Re, lt, Ct, Et = D.length, bt = 0; bt < Et; bt += 1) {
|
|
13472
|
-
var kt = D[bt], fn = M(kt),
|
|
13472
|
+
var kt = D[bt], fn = M(kt), Wt = E.get(fn), Cn = Ce + (Wt === void 0 ? a : Wt);
|
|
13473
13473
|
Cn >= Y && Re === void 0 && (Re = bt, lt = Ce), Cn > Y + o && Ct === void 0 && (Ct = bt), Ce = Cn;
|
|
13474
13474
|
}
|
|
13475
13475
|
return Re === void 0 && (Re = 0, lt = 0, Ct = Math.ceil(o / a)), Ct === void 0 && (Ct = D.length - 1), Ct = Math.min(Ct + 1, D.length - 1), {
|
|
@@ -13540,7 +13540,7 @@ function bk(e, t) {
|
|
|
13540
13540
|
deltaX: me ? Ce : 0,
|
|
13541
13541
|
deltaY: me ? 0 : Ce
|
|
13542
13542
|
}), !0);
|
|
13543
|
-
}),
|
|
13543
|
+
}), cn(function() {
|
|
13544
13544
|
function me(Re) {
|
|
13545
13545
|
j && Re.preventDefault();
|
|
13546
13546
|
}
|
|
@@ -13554,7 +13554,7 @@ function bk(e, t) {
|
|
|
13554
13554
|
}), function() {
|
|
13555
13555
|
Ce.removeEventListener("wheel", at), Ce.removeEventListener("DOMMouseScroll", K), Ce.removeEventListener("MozMousePixelScroll", me);
|
|
13556
13556
|
};
|
|
13557
|
-
}, [j]),
|
|
13557
|
+
}, [j]), cn(function() {
|
|
13558
13558
|
if (g) {
|
|
13559
13559
|
var me = xe(Z);
|
|
13560
13560
|
N(me), wt({
|
|
@@ -13579,7 +13579,7 @@ function bk(e, t) {
|
|
|
13579
13579
|
Re(Ce) ? (Ce.left !== void 0 && N(xe(Ce.left)), ae(Ce.top)) : ae(Ce);
|
|
13580
13580
|
}
|
|
13581
13581
|
};
|
|
13582
|
-
}),
|
|
13582
|
+
}), cn(function() {
|
|
13583
13583
|
if (S) {
|
|
13584
13584
|
var me = D.slice(Ae, Te + 1);
|
|
13585
13585
|
S(me, D);
|
|
@@ -14399,7 +14399,7 @@ const Pk = (e) => {
|
|
|
14399
14399
|
componentCls: t,
|
|
14400
14400
|
controlHeightLG: n,
|
|
14401
14401
|
calc: r
|
|
14402
|
-
} = e, i =
|
|
14402
|
+
} = e, i = _n(e, {
|
|
14403
14403
|
emptyImgCls: `${t}-img`,
|
|
14404
14404
|
emptyImgHeight: r(n).mul(2.5).equal(),
|
|
14405
14405
|
emptyImgHeightMD: n,
|
|
@@ -14861,12 +14861,12 @@ function qf(e, t) {
|
|
|
14861
14861
|
const qk = (e) => {
|
|
14862
14862
|
const {
|
|
14863
14863
|
componentCls: t
|
|
14864
|
-
} = e, n =
|
|
14864
|
+
} = e, n = _n(e, {
|
|
14865
14865
|
selectHeight: e.controlHeightSM,
|
|
14866
14866
|
multipleSelectItemHeight: e.multipleItemHeightSM,
|
|
14867
14867
|
borderRadius: e.borderRadiusSM,
|
|
14868
14868
|
borderRadiusSM: e.borderRadiusXS
|
|
14869
|
-
}), r =
|
|
14869
|
+
}), r = _n(e, {
|
|
14870
14870
|
fontSize: e.fontSizeLG,
|
|
14871
14871
|
selectHeight: e.controlHeightLG,
|
|
14872
14872
|
multipleSelectItemHeight: e.multipleItemHeightLG,
|
|
@@ -15003,7 +15003,7 @@ function Gk(e) {
|
|
|
15003
15003
|
Gf(e),
|
|
15004
15004
|
// ======================== Small ========================
|
|
15005
15005
|
// Shared
|
|
15006
|
-
Gf(
|
|
15006
|
+
Gf(_n(e, {
|
|
15007
15007
|
controlHeight: e.controlHeightSM,
|
|
15008
15008
|
borderRadius: e.borderRadiusSM
|
|
15009
15009
|
}), "sm"),
|
|
@@ -15033,7 +15033,7 @@ function Gk(e) {
|
|
|
15033
15033
|
},
|
|
15034
15034
|
// ======================== Large ========================
|
|
15035
15035
|
// Shared
|
|
15036
|
-
Gf(
|
|
15036
|
+
Gf(_n(e, {
|
|
15037
15037
|
controlHeight: e.singleItemHeightLG,
|
|
15038
15038
|
fontSize: e.fontSizeLG,
|
|
15039
15039
|
borderRadius: e.borderRadiusLG
|
|
@@ -15415,7 +15415,7 @@ const Yk = (e) => {
|
|
|
15415
15415
|
let {
|
|
15416
15416
|
rootPrefixCls: n
|
|
15417
15417
|
} = t;
|
|
15418
|
-
const r =
|
|
15418
|
+
const r = _n(e, {
|
|
15419
15419
|
rootPrefixCls: n,
|
|
15420
15420
|
inputPaddingHorizontalBase: e.calc(e.paddingSM).sub(1).equal(),
|
|
15421
15421
|
multipleSelectItemHeight: e.multipleItemHeight,
|
|
@@ -16267,7 +16267,7 @@ const HP = (e) => {
|
|
|
16267
16267
|
}, OC({
|
|
16268
16268
|
contentRadius: e.borderRadius,
|
|
16269
16269
|
limitVerticalRadius: !0
|
|
16270
|
-
})), wP(
|
|
16270
|
+
})), wP(_n(e, {
|
|
16271
16271
|
borderRadiusOuter: Math.min(e.borderRadiusOuter, 4)
|
|
16272
16272
|
}))), HC = function(e) {
|
|
16273
16273
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
|
@@ -16276,7 +16276,7 @@ const HP = (e) => {
|
|
|
16276
16276
|
borderRadius: i,
|
|
16277
16277
|
colorTextLightSolid: o,
|
|
16278
16278
|
colorBgSpotlight: a
|
|
16279
|
-
} = r, s =
|
|
16279
|
+
} = r, s = _n(r, {
|
|
16280
16280
|
// default variables
|
|
16281
16281
|
tooltipMaxWidth: 250,
|
|
16282
16282
|
tooltipColor: o,
|
|
@@ -16460,7 +16460,7 @@ function AP(e) {
|
|
|
16460
16460
|
}
|
|
16461
16461
|
};
|
|
16462
16462
|
C.useEffect(function() {
|
|
16463
|
-
return t ? (window.addEventListener("keydown", c), i &&
|
|
16463
|
+
return t ? (window.addEventListener("keydown", c), i && un(l, 3), function() {
|
|
16464
16464
|
window.removeEventListener("keydown", c), a.current = !1;
|
|
16465
16465
|
}) : function() {
|
|
16466
16466
|
a.current = !1;
|
|
@@ -16721,7 +16721,7 @@ function XP(e, t, n, r, i, o, a, s, l, c) {
|
|
|
16721
16721
|
var u = C.useRef(), d = C.useRef();
|
|
16722
16722
|
d.current = t;
|
|
16723
16723
|
var f = function() {
|
|
16724
|
-
|
|
16724
|
+
un.cancel(u.current);
|
|
16725
16725
|
};
|
|
16726
16726
|
return C.useEffect(function() {
|
|
16727
16727
|
return function() {
|
|
@@ -16739,7 +16739,7 @@ function XP(e, t, n, r, i, o, a, s, l, c) {
|
|
|
16739
16739
|
var P = H, k = H.querySelector("a");
|
|
16740
16740
|
k != null && k.getAttribute("href") && (P = k);
|
|
16741
16741
|
var A = S.get(H);
|
|
16742
|
-
s(A), f(), u.current =
|
|
16742
|
+
s(A), f(), u.current = un(function() {
|
|
16743
16743
|
d.current === A && P.focus();
|
|
16744
16744
|
});
|
|
16745
16745
|
}
|
|
@@ -16752,7 +16752,7 @@ function XP(e, t, n, r, i, o, a, s, l, c) {
|
|
|
16752
16752
|
} else if (_.inlineTrigger)
|
|
16753
16753
|
l(V);
|
|
16754
16754
|
else if (_.offset > 0)
|
|
16755
|
-
l(V, !0), f(), u.current =
|
|
16755
|
+
l(V, !0), f(), u.current = un(function() {
|
|
16756
16756
|
v = a4(g, r);
|
|
16757
16757
|
var j = $.getAttribute("aria-controls"), H = document.getElementById(j), P = eg(H, v.elements);
|
|
16758
16758
|
M(P);
|
|
@@ -17079,10 +17079,10 @@ function vI(e) {
|
|
|
17079
17079
|
motionAppear: !0
|
|
17080
17080
|
}), T = C.useRef();
|
|
17081
17081
|
return C.useEffect(function() {
|
|
17082
|
-
return T.current =
|
|
17082
|
+
return T.current = un(function() {
|
|
17083
17083
|
M(n);
|
|
17084
17084
|
}), function() {
|
|
17085
|
-
|
|
17085
|
+
un.cancel(T.current);
|
|
17086
17086
|
};
|
|
17087
17087
|
}, [n]), /* @__PURE__ */ C.createElement(n0, {
|
|
17088
17088
|
prefixCls: t,
|
|
@@ -17333,10 +17333,10 @@ var SI = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
|
|
|
17333
17333
|
}
|
|
17334
17334
|
}), Ge = se(tt, 2), Ke = Ge[0], ue = Ge[1], Ee = function(_t) {
|
|
17335
17335
|
var Nt = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
17336
|
-
function
|
|
17336
|
+
function ln() {
|
|
17337
17337
|
ue(_t), ie == null || ie(_t);
|
|
17338
17338
|
}
|
|
17339
|
-
Nt ? e3(
|
|
17339
|
+
Nt ? e3(ln) : ln();
|
|
17340
17340
|
}, Je = C.useState(Ke), ot = se(Je, 2), De = ot[0], Ze = ot[1], We = C.useRef(!1), nt = C.useMemo(function() {
|
|
17341
17341
|
return (b === "inline" || b === "vertical") && y ? ["vertical", y] : [b, !1];
|
|
17342
17342
|
}, [b, y]), it = se(nt, 2), Ue = it[0], Pe = it[1], ft = Ue === "inline", wt = C.useState(Ue), Oe = se(wt, 2), de = Oe[0], xe = Oe[1], He = C.useState(Pe), Xe = se(He, 2), qe = Xe[0], at = Xe[1];
|
|
@@ -17368,7 +17368,7 @@ var SI = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
|
|
|
17368
17368
|
}, [ae, st]);
|
|
17369
17369
|
var kt = Qn(I || L && ((n = fe[0]) === null || n === void 0 ? void 0 : n.key), {
|
|
17370
17370
|
value: I
|
|
17371
|
-
}), fn = se(kt, 2),
|
|
17371
|
+
}), fn = se(kt, 2), Wt = fn[0], Cn = fn[1], br = pc(function(Ht) {
|
|
17372
17372
|
Cn(Ht);
|
|
17373
17373
|
}), Ut = pc(function() {
|
|
17374
17374
|
Cn(void 0);
|
|
@@ -17377,7 +17377,7 @@ var SI = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
|
|
|
17377
17377
|
return {
|
|
17378
17378
|
list: et.current,
|
|
17379
17379
|
focus: function(_t) {
|
|
17380
|
-
var Nt,
|
|
17380
|
+
var Nt, ln = lt(), wn = a4(ln, Be), or = wn.elements, Kn = wn.key2element, $i = wn.element2key, Dn = d6(et.current, or), aa = Wt ?? (Dn[0] ? $i.get(Dn[0]) : (Nt = fe.find(function(To) {
|
|
17381
17381
|
return !To.props.disabled;
|
|
17382
17382
|
})) === null || Nt === void 0 ? void 0 : Nt.key), Cr = Kn.get(aa);
|
|
17383
17383
|
if (aa && Cr) {
|
|
@@ -17395,14 +17395,14 @@ var SI = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
|
|
|
17395
17395
|
}
|
|
17396
17396
|
}), dt = se(Nn, 2), jn = dt[0], mn = dt[1], xn = function(_t) {
|
|
17397
17397
|
if (T) {
|
|
17398
|
-
var Nt = _t.key,
|
|
17399
|
-
H ?
|
|
17398
|
+
var Nt = _t.key, ln = jn.includes(Nt), wn;
|
|
17399
|
+
H ? ln ? wn = jn.filter(function(Kn) {
|
|
17400
17400
|
return Kn !== Nt;
|
|
17401
17401
|
}) : wn = [].concat(ht(jn), [Nt]) : wn = [Nt], mn(wn);
|
|
17402
17402
|
var or = te(te({}, _t), {}, {
|
|
17403
17403
|
selectedKeys: wn
|
|
17404
17404
|
});
|
|
17405
|
-
|
|
17405
|
+
ln ? D == null || D(or) : A == null || A(or);
|
|
17406
17406
|
}
|
|
17407
17407
|
!H && Ke.length && de !== "inline" && Ee(sa);
|
|
17408
17408
|
}, fo = pc(function(Ht) {
|
|
@@ -17414,16 +17414,16 @@ var SI = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
|
|
|
17414
17414
|
if (_t)
|
|
17415
17415
|
Nt.push(Ht);
|
|
17416
17416
|
else if (de !== "inline") {
|
|
17417
|
-
var
|
|
17417
|
+
var ln = Ct(Ht);
|
|
17418
17418
|
Nt = Nt.filter(function(wn) {
|
|
17419
|
-
return !
|
|
17419
|
+
return !ln.has(wn);
|
|
17420
17420
|
});
|
|
17421
17421
|
}
|
|
17422
17422
|
Lc(Ke, Nt, !0) || Ee(Nt, !0);
|
|
17423
17423
|
}), yr = function(_t, Nt) {
|
|
17424
|
-
var
|
|
17425
|
-
Wr(_t,
|
|
17426
|
-
}, It = XP(de,
|
|
17424
|
+
var ln = Nt ?? !Ke.includes(_t);
|
|
17425
|
+
Wr(_t, ln);
|
|
17426
|
+
}, It = XP(de, Wt, ke, Be, et, lt, Re, Cn, yr, ge);
|
|
17427
17427
|
C.useEffect(function() {
|
|
17428
17428
|
Qe(!0);
|
|
17429
17429
|
}, []);
|
|
@@ -17459,14 +17459,14 @@ var SI = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
|
|
|
17459
17459
|
return _t;
|
|
17460
17460
|
},
|
|
17461
17461
|
renderRawRest: function(_t) {
|
|
17462
|
-
var Nt = _t.length,
|
|
17462
|
+
var Nt = _t.length, ln = Nt ? fe.slice(-Nt) : null;
|
|
17463
17463
|
return /* @__PURE__ */ C.createElement(o0, {
|
|
17464
17464
|
eventKey: s4,
|
|
17465
17465
|
title: N,
|
|
17466
17466
|
disabled: st,
|
|
17467
17467
|
internalPopupClose: Nt === 0,
|
|
17468
17468
|
popupClassName: ne
|
|
17469
|
-
},
|
|
17469
|
+
}, ln);
|
|
17470
17470
|
},
|
|
17471
17471
|
maxCount: de !== "horizontal" || S ? Ti.INVALIDATE : Ti.RESPONSIVE,
|
|
17472
17472
|
ssr: "full",
|
|
@@ -17489,7 +17489,7 @@ var SI = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
|
|
|
17489
17489
|
disabled: x,
|
|
17490
17490
|
motion: je ? G : null,
|
|
17491
17491
|
defaultMotions: je ? J : null,
|
|
17492
|
-
activeKey:
|
|
17492
|
+
activeKey: Wt,
|
|
17493
17493
|
onActive: br,
|
|
17494
17494
|
onInactive: Ut,
|
|
17495
17495
|
selectedKeys: jn,
|
|
@@ -17991,7 +17991,7 @@ const TI = (e) => {
|
|
|
17991
17991
|
const {
|
|
17992
17992
|
controlOutline: t,
|
|
17993
17993
|
controlOutlineWidth: n
|
|
17994
|
-
} = e, r = `0 0 0 ${_e(n)} ${t}`, o =
|
|
17994
|
+
} = e, r = `0 0 0 ${_e(n)} ${t}`, o = _n(e, {
|
|
17995
17995
|
radioFocusShadow: r,
|
|
17996
17996
|
radioButtonFocusShadow: r
|
|
17997
17997
|
});
|
|
@@ -18158,7 +18158,7 @@ S1.Button = DI;
|
|
|
18158
18158
|
S1.Group = AI;
|
|
18159
18159
|
S1.__ANT_RADIO = !0;
|
|
18160
18160
|
function zI(e) {
|
|
18161
|
-
return
|
|
18161
|
+
return _n(e, {
|
|
18162
18162
|
inputAffixPadding: e.paddingXXS
|
|
18163
18163
|
});
|
|
18164
18164
|
}
|
|
@@ -18216,7 +18216,7 @@ const BI = (e) => {
|
|
|
18216
18216
|
"input[disabled], textarea[disabled]": {
|
|
18217
18217
|
cursor: "not-allowed"
|
|
18218
18218
|
},
|
|
18219
|
-
"&:hover:not([disabled])": Object.assign({}, WI(
|
|
18219
|
+
"&:hover:not([disabled])": Object.assign({}, WI(_n(e, {
|
|
18220
18220
|
hoverBorderColor: e.colorBorder,
|
|
18221
18221
|
hoverBg: e.colorBgContainerDisabled
|
|
18222
18222
|
})))
|
|
@@ -19104,7 +19104,7 @@ const BI = (e) => {
|
|
|
19104
19104
|
}
|
|
19105
19105
|
};
|
|
19106
19106
|
}, QC = Vr("Input", (e) => {
|
|
19107
|
-
const t =
|
|
19107
|
+
const t = _n(e, zI(e));
|
|
19108
19108
|
return [
|
|
19109
19109
|
QI(t),
|
|
19110
19110
|
rA(t),
|
|
@@ -19133,7 +19133,7 @@ var sA = function(t) {
|
|
|
19133
19133
|
return typeof s == "function" ? s(b) : typeof s == "number" ? s : b;
|
|
19134
19134
|
}, [s]);
|
|
19135
19135
|
function v() {
|
|
19136
|
-
|
|
19136
|
+
un.cancel(p.current);
|
|
19137
19137
|
}
|
|
19138
19138
|
return St(function() {
|
|
19139
19139
|
var b = {};
|
|
@@ -19144,7 +19144,7 @@ var sA = function(t) {
|
|
|
19144
19144
|
c === "start" && (b[y] = n[y]), c === "center" && (b[y] = n[y] + n.width / 2, b.transform = i ? "translateX(50%)" : "translateX(-50%)"), c === "end" && (b[y] = n[y] + n.width, b.transform = "translateX(-100%)");
|
|
19145
19145
|
} else
|
|
19146
19146
|
b.height = g(n.height), c === "start" && (b.top = n.top), c === "center" && (b.top = n.top + n.height / 2, b.transform = "translateY(-50%)"), c === "end" && (b.top = n.top + n.height, b.transform = "translateY(-100%)");
|
|
19147
|
-
return v(), p.current =
|
|
19147
|
+
return v(), p.current = un(function() {
|
|
19148
19148
|
h(b);
|
|
19149
19149
|
}), v;
|
|
19150
19150
|
}, [n, r, i, c, g]), {
|
|
@@ -20767,7 +20767,7 @@ const HA = (e) => {
|
|
|
20767
20767
|
cardGutter: e.marginXXS / 2
|
|
20768
20768
|
};
|
|
20769
20769
|
}, AA = Vr("Tabs", (e) => {
|
|
20770
|
-
const t =
|
|
20770
|
+
const t = _n(e, {
|
|
20771
20771
|
// `cardPadding` is empty by default, so we could calculate with dynamic `cardHeight`
|
|
20772
20772
|
tabsCardPadding: e.cardPadding,
|
|
20773
20773
|
dropdownEdgeChildVerticalPadding: e.paddingXXS,
|
|
@@ -21191,7 +21191,7 @@ const sx = (e) => {
|
|
|
21191
21191
|
tabsMarginBottom: -e.padding - e.lineWidth,
|
|
21192
21192
|
extraColor: e.colorText
|
|
21193
21193
|
}), KA = Vr("Card", (e) => {
|
|
21194
|
-
const t =
|
|
21194
|
+
const t = _n(e, {
|
|
21195
21195
|
cardShadow: e.boxShadowCard,
|
|
21196
21196
|
cardHeadPadding: e.padding,
|
|
21197
21197
|
cardPaddingBase: e.paddingLG,
|
|
@@ -21495,7 +21495,7 @@ const lx = /* @__PURE__ */ Jn({}), tN = (e) => {
|
|
|
21495
21495
|
}, u4 = (e, t) => rN(e, t), iN = (e, t, n) => ({
|
|
21496
21496
|
[`@media (min-width: ${_e(t)})`]: Object.assign({}, u4(e, n))
|
|
21497
21497
|
}), oN = () => ({}), aN = () => ({}), sN = Vr("Grid", tN, oN), lN = Vr("Grid", (e) => {
|
|
21498
|
-
const t =
|
|
21498
|
+
const t = _n(e, {
|
|
21499
21499
|
gridColumns: 24
|
|
21500
21500
|
// Row is divided into 24 parts in Grid
|
|
21501
21501
|
}), n = {
|
|
@@ -22158,9 +22158,9 @@ var HN = ["prefixCls", "defaultValue", "value", "autoSize", "onResize", "classNa
|
|
|
22158
22158
|
}, O = C.useState(Qf), R = se(O, 2), I = R[0], L = R[1], E = C.useState(), T = se(E, 2), j = T[0], H = T[1], P = function() {
|
|
22159
22159
|
L(Kf), process.env.NODE_ENV === "test" && (f == null || f());
|
|
22160
22160
|
};
|
|
22161
|
-
|
|
22161
|
+
cn(function() {
|
|
22162
22162
|
_ && P();
|
|
22163
|
-
}, [o, $, V, _]),
|
|
22163
|
+
}, [o, $, V, _]), cn(function() {
|
|
22164
22164
|
if (I === Kf)
|
|
22165
22165
|
L(Xf);
|
|
22166
22166
|
else if (I === Xf) {
|
|
@@ -22170,9 +22170,9 @@ var HN = ["prefixCls", "defaultValue", "value", "autoSize", "onResize", "classNa
|
|
|
22170
22170
|
M();
|
|
22171
22171
|
}, [I]);
|
|
22172
22172
|
var k = C.useRef(), A = function() {
|
|
22173
|
-
|
|
22173
|
+
un.cancel(k.current);
|
|
22174
22174
|
}, D = function(J) {
|
|
22175
|
-
I === Qf && (s == null || s(J), a && (A(), k.current =
|
|
22175
|
+
I === Qf && (s == null || s(J), a && (A(), k.current = un(function() {
|
|
22176
22176
|
P();
|
|
22177
22177
|
})));
|
|
22178
22178
|
};
|
|
@@ -22555,7 +22555,7 @@ const BN = (e) => {
|
|
|
22555
22555
|
paddingXS: t,
|
|
22556
22556
|
padding: n,
|
|
22557
22557
|
paddingLG: r
|
|
22558
|
-
} = e, i =
|
|
22558
|
+
} = e, i = _n(e, {
|
|
22559
22559
|
flexGapSM: t,
|
|
22560
22560
|
flexGap: n,
|
|
22561
22561
|
flexGapLG: r
|
|
@@ -22573,7 +22573,7 @@ var KN = function(e, t) {
|
|
|
22573
22573
|
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
22574
22574
|
return n;
|
|
22575
22575
|
};
|
|
22576
|
-
const
|
|
22576
|
+
const tn = /* @__PURE__ */ Ne.forwardRef((e, t) => {
|
|
22577
22577
|
const {
|
|
22578
22578
|
prefixCls: n,
|
|
22579
22579
|
rootClassName: r,
|
|
@@ -22599,7 +22599,7 @@ const un = /* @__PURE__ */ Ne.forwardRef((e, t) => {
|
|
|
22599
22599
|
style: w
|
|
22600
22600
|
}, Br(d, ["justify", "wrap", "align"])), l));
|
|
22601
22601
|
});
|
|
22602
|
-
process.env.NODE_ENV !== "production" && (
|
|
22602
|
+
process.env.NODE_ENV !== "production" && (tn.displayName = "Flex");
|
|
22603
22603
|
var XN = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" } }] }, name: "copy", theme: "outlined" }, QN = function(t, n) {
|
|
22604
22604
|
return /* @__PURE__ */ C.createElement(nr, vt({}, t, {
|
|
22605
22605
|
ref: n,
|
|
@@ -23307,9 +23307,9 @@ function jF(e) {
|
|
|
23307
23307
|
miscDeps: s,
|
|
23308
23308
|
onEllipsis: l
|
|
23309
23309
|
} = e, c = C.useMemo(() => Fr(r), [r]), u = C.useMemo(() => LF(c), [r]), d = C.useMemo(() => i(c, !1), [r]), [f, h] = C.useState(null), p = C.useRef(null), g = C.useRef(null), v = C.useRef(null), b = C.useRef(null), y = C.useRef(null), [x, S] = C.useState(!1), [w, $] = C.useState(e2), [V, _] = C.useState(0), [M, O] = C.useState(null);
|
|
23310
|
-
|
|
23310
|
+
cn(() => {
|
|
23311
23311
|
$(t && n && u ? t2 : e2);
|
|
23312
|
-
}, [n, r, o, t, c]),
|
|
23312
|
+
}, [n, r, o, t, c]), cn(() => {
|
|
23313
23313
|
var E, T, j, H;
|
|
23314
23314
|
if (w === t2) {
|
|
23315
23315
|
$(n2);
|
|
@@ -23323,7 +23323,7 @@ function jF(e) {
|
|
|
23323
23323
|
}
|
|
23324
23324
|
}, [w]);
|
|
23325
23325
|
const R = f ? Math.ceil((f[0] + f[1]) / 2) : 0;
|
|
23326
|
-
|
|
23326
|
+
cn(() => {
|
|
23327
23327
|
var E;
|
|
23328
23328
|
const [T, j] = f || [0, 0];
|
|
23329
23329
|
if (T !== j) {
|
|
@@ -23468,11 +23468,11 @@ const IF = "...", c0 = /* @__PURE__ */ C.forwardRef((e, t) => {
|
|
|
23468
23468
|
(z.suffix !== void 0 || z.onEllipsis || // Can't use css ellipsis since we need to provide the place for button
|
|
23469
23469
|
z.expandable || _ || P)
|
|
23470
23470
|
), [ge, z, _, P]);
|
|
23471
|
-
|
|
23471
|
+
cn(() => {
|
|
23472
23472
|
ne && !pe && (G(M9("webkitLineClamp")), X(M9("textOverflow")));
|
|
23473
23473
|
}, [pe, ne]);
|
|
23474
23474
|
const [be, we] = C.useState(ge), ve = C.useMemo(() => pe ? !1 : ye === 1 ? J : q, [pe, J, q]);
|
|
23475
|
-
|
|
23475
|
+
cn(() => {
|
|
23476
23476
|
we(ve && ge);
|
|
23477
23477
|
}, [ve, ge]);
|
|
23478
23478
|
const he = ge && (be ? B : Y), le = ge && ye === 1 && be, $e = ge && ye > 1 && be, fe = (ue, Ee) => {
|
|
@@ -23704,7 +23704,7 @@ Eo.Text = BF;
|
|
|
23704
23704
|
Eo.Link = NF;
|
|
23705
23705
|
Eo.Title = ZF;
|
|
23706
23706
|
Eo.Paragraph = FF;
|
|
23707
|
-
const UF =
|
|
23707
|
+
const UF = Bt(p1)`
|
|
23708
23708
|
border-radius: var(--gf-radius-sm);
|
|
23709
23709
|
${(e) => e.type === "primary" && Hr`
|
|
23710
23710
|
background: var(--gf-color-button-primary);
|
|
@@ -23715,7 +23715,7 @@ const UF = Zt(p1)`
|
|
|
23715
23715
|
onClick: n,
|
|
23716
23716
|
...r
|
|
23717
23717
|
}) => /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
23718
|
-
/* @__PURE__ */ m.jsx(
|
|
23718
|
+
/* @__PURE__ */ m.jsx($n, {}),
|
|
23719
23719
|
/* @__PURE__ */ m.jsx(
|
|
23720
23720
|
UF,
|
|
23721
23721
|
{
|
|
@@ -23755,18 +23755,18 @@ const UF = Zt(p1)`
|
|
|
23755
23755
|
iconPosition: "end",
|
|
23756
23756
|
...r
|
|
23757
23757
|
}
|
|
23758
|
-
) }), YF =
|
|
23759
|
-
`, KF =
|
|
23758
|
+
) }), YF = Bt(S1.Group)`
|
|
23759
|
+
`, KF = Bt(S1.Button)`
|
|
23760
23760
|
height: 24px;
|
|
23761
23761
|
font: var(--gf-label-md-default);
|
|
23762
23762
|
color: --gf-color-text-primary;
|
|
23763
|
-
`,
|
|
23763
|
+
`, F7e = ({
|
|
23764
23764
|
content: e,
|
|
23765
23765
|
handler: t,
|
|
23766
23766
|
disabled: n = !1,
|
|
23767
23767
|
...r
|
|
23768
23768
|
}) => /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
23769
|
-
/* @__PURE__ */ m.jsx(
|
|
23769
|
+
/* @__PURE__ */ m.jsx($n, {}),
|
|
23770
23770
|
/* @__PURE__ */ m.jsx(
|
|
23771
23771
|
ea,
|
|
23772
23772
|
{
|
|
@@ -23791,7 +23791,7 @@ const UF = Zt(p1)`
|
|
|
23791
23791
|
)
|
|
23792
23792
|
}
|
|
23793
23793
|
)
|
|
23794
|
-
] }), XF =
|
|
23794
|
+
] }), XF = Bt(s0)`
|
|
23795
23795
|
border-radius: var(--gf-radius-sm);
|
|
23796
23796
|
border-color: var(--gf-color-border-base);
|
|
23797
23797
|
${(e) => e.cardtype === "default" && Hr`
|
|
@@ -23808,7 +23808,7 @@ const UF = Zt(p1)`
|
|
|
23808
23808
|
padding: t = 32,
|
|
23809
23809
|
...n
|
|
23810
23810
|
}) => /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
23811
|
-
/* @__PURE__ */ m.jsx(
|
|
23811
|
+
/* @__PURE__ */ m.jsx($n, {}),
|
|
23812
23812
|
/* @__PURE__ */ m.jsx(
|
|
23813
23813
|
XF,
|
|
23814
23814
|
{
|
|
@@ -23820,7 +23820,7 @@ const UF = Zt(p1)`
|
|
|
23820
23820
|
...n
|
|
23821
23821
|
}
|
|
23822
23822
|
)
|
|
23823
|
-
] }), { Text: _x } = Eo, Ex =
|
|
23823
|
+
] }), { Text: _x } = Eo, Ex = Bt($1)`
|
|
23824
23824
|
&:hover {
|
|
23825
23825
|
cursor: pointer;
|
|
23826
23826
|
border: 1px solid var(--gf-color-primary-hover);
|
|
@@ -23830,15 +23830,15 @@ const UF = Zt(p1)`
|
|
|
23830
23830
|
svg:hover {
|
|
23831
23831
|
fill: var(--gf-color-primary-hover);
|
|
23832
23832
|
}
|
|
23833
|
-
`, QF =
|
|
23833
|
+
`, QF = Bt(_x)`
|
|
23834
23834
|
font: var(--gf-header-h5);
|
|
23835
23835
|
${Ex}:hover & {
|
|
23836
23836
|
color: var(--gf-color-primary-hover);
|
|
23837
23837
|
}
|
|
23838
|
-
`, JF =
|
|
23838
|
+
`, JF = Bt(_x)`
|
|
23839
23839
|
font: var(--gf-label-md-default);
|
|
23840
23840
|
color: var(--gf-color-text-secondary);
|
|
23841
|
-
`,
|
|
23841
|
+
`, D7e = ({
|
|
23842
23842
|
disabled: e = !1,
|
|
23843
23843
|
icon: t = xx,
|
|
23844
23844
|
title: n = "Title",
|
|
@@ -23846,7 +23846,7 @@ const UF = Zt(p1)`
|
|
|
23846
23846
|
onClick: i,
|
|
23847
23847
|
...o
|
|
23848
23848
|
}) => /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
23849
|
-
/* @__PURE__ */ m.jsx(
|
|
23849
|
+
/* @__PURE__ */ m.jsx($n, {}),
|
|
23850
23850
|
/* @__PURE__ */ m.jsxs(Ex, { onClick: i, padding: 24, cardtype: "default", ...o, children: [
|
|
23851
23851
|
/* @__PURE__ */ m.jsxs(Wo, { gutter: 16, children: [
|
|
23852
23852
|
/* @__PURE__ */ m.jsx(Or, { span: 1, children: t }),
|
|
@@ -23857,7 +23857,7 @@ const UF = Zt(p1)`
|
|
|
23857
23857
|
/* @__PURE__ */ m.jsx(Or, { span: 23, children: /* @__PURE__ */ m.jsx(JF, { children: r }) })
|
|
23858
23858
|
] })
|
|
23859
23859
|
] })
|
|
23860
|
-
] }), { Text: Ox } = Eo, eD =
|
|
23860
|
+
] }), { Text: Ox } = Eo, eD = Bt(Ox)`
|
|
23861
23861
|
color: var(--gf-color-text-primary) !important;
|
|
23862
23862
|
${(e) => e.type === "primary" && Hr`
|
|
23863
23863
|
font: var(--gf-header-h2);
|
|
@@ -23869,7 +23869,7 @@ const UF = Zt(p1)`
|
|
|
23869
23869
|
${(e) => e.type === "header" && Hr`
|
|
23870
23870
|
font: var(--gf-header-h1);
|
|
23871
23871
|
`}
|
|
23872
|
-
`, tD =
|
|
23872
|
+
`, tD = Bt(Ox)`
|
|
23873
23873
|
${(e) => e.type === "primary" && Hr`
|
|
23874
23874
|
font: var(--gf-label-xl-default);
|
|
23875
23875
|
color: var(--gf-color-text-primary) !important;
|
|
@@ -23888,12 +23888,12 @@ const UF = Zt(p1)`
|
|
|
23888
23888
|
type: n = "primary",
|
|
23889
23889
|
align: r = "start"
|
|
23890
23890
|
}) => /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
23891
|
-
/* @__PURE__ */ m.jsx(
|
|
23891
|
+
/* @__PURE__ */ m.jsx($n, {}),
|
|
23892
23892
|
/* @__PURE__ */ m.jsxs(l0, { className: "gf-full-width", direction: "vertical", size: 8, align: r, children: [
|
|
23893
23893
|
/* @__PURE__ */ m.jsx(eD, { type: n, children: e }),
|
|
23894
23894
|
/* @__PURE__ */ m.jsx(tD, { type: n, children: t })
|
|
23895
23895
|
] })
|
|
23896
|
-
] }), { Text: rD } = Eo, iD =
|
|
23896
|
+
] }), { Text: rD } = Eo, iD = Bt($1)`
|
|
23897
23897
|
border-radius: var(--gf-radius-sm);
|
|
23898
23898
|
border-color: var(--gf-color-border-base);
|
|
23899
23899
|
${(e) => e.cardtype === "default" && Hr`
|
|
@@ -23905,17 +23905,17 @@ const UF = Zt(p1)`
|
|
|
23905
23905
|
${(e) => e.cardtype === "debug" && Hr`
|
|
23906
23906
|
background: var(--gf-color-bg-debug);
|
|
23907
23907
|
`}
|
|
23908
|
-
`, oD =
|
|
23908
|
+
`, oD = Bt(rD)`
|
|
23909
23909
|
font: var(--gf-header-h5);
|
|
23910
23910
|
color: var(--gf-color-text-primary);
|
|
23911
23911
|
font-weight: bold;
|
|
23912
|
-
`, aD =
|
|
23912
|
+
`, aD = Bt(p1)`
|
|
23913
23913
|
height: 22px;
|
|
23914
23914
|
padding: 0px;
|
|
23915
23915
|
font: var(--gf-label-md-default);
|
|
23916
23916
|
color: var(--gf-color-button-primary);
|
|
23917
23917
|
text-decoration-line: underline;
|
|
23918
|
-
`,
|
|
23918
|
+
`, z7e = ({
|
|
23919
23919
|
title: e,
|
|
23920
23920
|
subtitle: t,
|
|
23921
23921
|
text: n,
|
|
@@ -23931,19 +23931,19 @@ const UF = Zt(p1)`
|
|
|
23931
23931
|
}
|
|
23932
23932
|
};
|
|
23933
23933
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
23934
|
-
/* @__PURE__ */ m.jsx(
|
|
23934
|
+
/* @__PURE__ */ m.jsx($n, {}),
|
|
23935
23935
|
/* @__PURE__ */ m.jsxs(
|
|
23936
23936
|
iD,
|
|
23937
23937
|
{
|
|
23938
23938
|
cardtype: "default",
|
|
23939
23939
|
...a,
|
|
23940
23940
|
children: [
|
|
23941
|
-
/* @__PURE__ */ m.jsxs(
|
|
23941
|
+
/* @__PURE__ */ m.jsxs(tn, { vertical: !0, gap: 24, style: { alignItems: "start" }, children: [
|
|
23942
23942
|
/* @__PURE__ */ m.jsx(nD, { title: e, subtitle: t, type: "header" }),
|
|
23943
23943
|
n
|
|
23944
23944
|
] }),
|
|
23945
23945
|
/* @__PURE__ */ m.jsx("div", { style: { borderBottom: "1px solid #f0f0f0", margin: "32px -32px 32px -32px" } }),
|
|
23946
|
-
/* @__PURE__ */ m.jsxs(
|
|
23946
|
+
/* @__PURE__ */ m.jsxs(tn, { vertical: !0, gap: 8, style: { alignItems: "start" }, children: [
|
|
23947
23947
|
/* @__PURE__ */ m.jsx(oD, { children: r || "Table of contents" }),
|
|
23948
23948
|
i.map(
|
|
23949
23949
|
(l, c) => /* @__PURE__ */ m.jsx(
|
|
@@ -23962,7 +23962,7 @@ const UF = Zt(p1)`
|
|
|
23962
23962
|
}
|
|
23963
23963
|
)
|
|
23964
23964
|
] });
|
|
23965
|
-
},
|
|
23965
|
+
}, B7e = ({
|
|
23966
23966
|
tabList: e,
|
|
23967
23967
|
tabContent: t,
|
|
23968
23968
|
expandContent: n,
|
|
@@ -23978,7 +23978,7 @@ const UF = Zt(p1)`
|
|
|
23978
23978
|
u((p) => !p);
|
|
23979
23979
|
};
|
|
23980
23980
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
23981
|
-
/* @__PURE__ */ m.jsx(
|
|
23981
|
+
/* @__PURE__ */ m.jsx($n, {}),
|
|
23982
23982
|
/* @__PURE__ */ m.jsx(
|
|
23983
23983
|
$1,
|
|
23984
23984
|
{
|
|
@@ -23989,7 +23989,7 @@ const UF = Zt(p1)`
|
|
|
23989
23989
|
onTabChange: d,
|
|
23990
23990
|
tabBarExtraContent: /* @__PURE__ */ m.jsx(qF, { onClick: o == null ? void 0 : o[s] }),
|
|
23991
23991
|
actions: n != null && n[s] ? [
|
|
23992
|
-
/* @__PURE__ */ m.jsxs(
|
|
23992
|
+
/* @__PURE__ */ m.jsxs(tn, { vertical: !0, children: [
|
|
23993
23993
|
/* @__PURE__ */ m.jsx(GF, { open: c, onClick: f, children: r }),
|
|
23994
23994
|
c && (n == null ? void 0 : n[s])
|
|
23995
23995
|
] })
|
|
@@ -24003,14 +24003,14 @@ const UF = Zt(p1)`
|
|
|
24003
24003
|
}
|
|
24004
24004
|
)
|
|
24005
24005
|
] });
|
|
24006
|
-
}, { Paragraph:
|
|
24006
|
+
}, { Paragraph: W7e, Text: C6 } = Eo, sD = Bt($1)`
|
|
24007
24007
|
min-width: 226px;
|
|
24008
|
-
`, lD =
|
|
24008
|
+
`, lD = Bt(C6)`
|
|
24009
24009
|
font: var(--gf-header-h1);
|
|
24010
|
-
`, cD =
|
|
24010
|
+
`, cD = Bt(C6)`
|
|
24011
24011
|
font: var(--gf-label-md-italic);
|
|
24012
24012
|
color: var(--gf-color-text-tertiary);
|
|
24013
|
-
`, uD =
|
|
24013
|
+
`, uD = Bt(C6)`
|
|
24014
24014
|
font: var(--gf-label-lg-default);
|
|
24015
24015
|
color: var(--gf-color-text-secondary);
|
|
24016
24016
|
`, dD = ({
|
|
@@ -24022,18 +24022,18 @@ const UF = Zt(p1)`
|
|
|
24022
24022
|
}) => {
|
|
24023
24023
|
const [o, a] = pt(n), s = r ? { onChange: a } : !1;
|
|
24024
24024
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
24025
|
-
/* @__PURE__ */ m.jsx(
|
|
24026
|
-
/* @__PURE__ */ m.jsx(sD, { cardtype: "grey", padding: 24, ...i, children: /* @__PURE__ */ m.jsxs(
|
|
24027
|
-
/* @__PURE__ */ m.jsxs(
|
|
24025
|
+
/* @__PURE__ */ m.jsx($n, {}),
|
|
24026
|
+
/* @__PURE__ */ m.jsx(sD, { cardtype: "grey", padding: 24, ...i, children: /* @__PURE__ */ m.jsxs(tn, { vertical: !0, gap: 8, children: [
|
|
24027
|
+
/* @__PURE__ */ m.jsxs(tn, { gap: 16, align: "center", wrap: !0, children: [
|
|
24028
24028
|
/* @__PURE__ */ m.jsx(lD, { children: e }),
|
|
24029
24029
|
/* @__PURE__ */ m.jsx(cD, { children: t })
|
|
24030
24030
|
] }),
|
|
24031
24031
|
/* @__PURE__ */ m.jsx(uD, { editable: s, children: o })
|
|
24032
24032
|
] }) })
|
|
24033
24033
|
] });
|
|
24034
|
-
}, { Text: fD } = Eo, hD =
|
|
24034
|
+
}, { Text: fD } = Eo, hD = Bt.a`
|
|
24035
24035
|
text-decoration: none;
|
|
24036
|
-
`, gD =
|
|
24036
|
+
`, gD = Bt(fD)`
|
|
24037
24037
|
font: var(--gf-label-md-default);
|
|
24038
24038
|
line-height: 150%;
|
|
24039
24039
|
color: ${(e) => e.type === "light" ? "white" : "var(--gf-color-text-secondary)"}
|
|
@@ -24053,7 +24053,7 @@ const UF = Zt(p1)`
|
|
|
24053
24053
|
alignItems: "center"
|
|
24054
24054
|
}, children: n });
|
|
24055
24055
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
24056
|
-
/* @__PURE__ */ m.jsx(
|
|
24056
|
+
/* @__PURE__ */ m.jsx($n, {}),
|
|
24057
24057
|
/* @__PURE__ */ m.jsx(hD, { href: t, ...o, children: /* @__PURE__ */ m.jsxs(l0, { direction: "horizontal", size: 8, align: "center", style: { textAlign: "left" }, children: [
|
|
24058
24058
|
n && i === "left" && a,
|
|
24059
24059
|
/* @__PURE__ */ m.jsx(gD, { type: r, children: e }),
|
|
@@ -24066,37 +24066,37 @@ const UF = Zt(p1)`
|
|
|
24066
24066
|
/* @__PURE__ */ m.jsx("path", { d: "M14 1.8335H2.00001C1.46958 1.8335 0.960869 2.04421 0.585796 2.41928C0.210723 2.79436 9.8296e-06 3.30306 9.8296e-06 3.8335V4.50016C-0.00062718 4.62038 0.029707 4.73873 0.0880899 4.84382C0.146473 4.94891 0.230936 5.03719 0.333343 5.10016L7.66668 9.10016C7.76904 9.15405 7.8848 9.17721 8.00001 9.16683C8.11522 9.17721 8.23098 9.15405 8.33334 9.10016L15.6667 5.10016C15.7691 5.03719 15.8535 4.94891 15.9119 4.84382C15.9703 4.73873 16.0006 4.62038 16 4.50016V3.8335C16 3.30306 15.7893 2.79436 15.4142 2.41928C15.0392 2.04421 14.5304 1.8335 14 1.8335Z", fill: "#152BEE" })
|
|
24067
24067
|
] }),
|
|
24068
24068
|
/* @__PURE__ */ m.jsx("defs", { children: /* @__PURE__ */ m.jsx("clipPath", { id: "clip0_907_17408", children: /* @__PURE__ */ m.jsx("rect", { width: "16", height: "16", fill: "white", transform: "translate(0 0.5)" }) }) })
|
|
24069
|
-
] }), mD = () => /* @__PURE__ */ m.jsx("svg", { style: { width: "100%", height: "100%" }, viewBox: "0 0 10 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ m.jsx("path", { d: "M10 5.5C10 2.74167 7.75833 0.5 5 0.5C2.24167 0.5 0 2.74167 0 5.5C0 9.25 5 14.6667 5 14.6667C5 14.6667 10 9.25 10 5.5ZM3.33333 5.5C3.33333 4.58333 4.08333 3.83333 5 3.83333C5.91667 3.83333 6.66667 4.58333 6.66667 5.5C6.66667 5.94203 6.49107 6.36595 6.17851 6.67851C5.86595 6.99107 5.44203 7.16667 5 7.16667C4.55797 7.16667 4.13405 6.99107 3.82149 6.67851C3.50893 6.36595 3.33333 5.94203 3.33333 5.5Z", fill: "#152BEE" }) }),
|
|
24069
|
+
] }), mD = () => /* @__PURE__ */ m.jsx("svg", { style: { width: "100%", height: "100%" }, viewBox: "0 0 10 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ m.jsx("path", { d: "M10 5.5C10 2.74167 7.75833 0.5 5 0.5C2.24167 0.5 0 2.74167 0 5.5C0 9.25 5 14.6667 5 14.6667C5 14.6667 10 9.25 10 5.5ZM3.33333 5.5C3.33333 4.58333 4.08333 3.83333 5 3.83333C5.91667 3.83333 6.66667 4.58333 6.66667 5.5C6.66667 5.94203 6.49107 6.36595 6.17851 6.67851C5.86595 6.99107 5.44203 7.16667 5 7.16667C4.55797 7.16667 4.13405 6.99107 3.82149 6.67851C3.50893 6.36595 3.33333 5.94203 3.33333 5.5Z", fill: "#152BEE" }) }), Z7e = ({
|
|
24070
24070
|
label: e,
|
|
24071
24071
|
href: t,
|
|
24072
24072
|
icon: n = /* @__PURE__ */ m.jsx(pD, {}),
|
|
24073
24073
|
type: r = "light",
|
|
24074
24074
|
placement: i = "left",
|
|
24075
24075
|
...o
|
|
24076
|
-
}) => /* @__PURE__ */ m.jsx(x6, { label: e, icon: n, href: t, type: r, ...o }),
|
|
24076
|
+
}) => /* @__PURE__ */ m.jsx(x6, { label: e, icon: n, href: t, type: r, ...o }), U7e = ({
|
|
24077
24077
|
label: e,
|
|
24078
24078
|
href: t,
|
|
24079
24079
|
icon: n = /* @__PURE__ */ m.jsx(mD, {}),
|
|
24080
24080
|
type: r = "light",
|
|
24081
24081
|
placement: i = "left",
|
|
24082
24082
|
...o
|
|
24083
|
-
}) => /* @__PURE__ */ m.jsx(x6, { label: e, icon: n, href: t, type: r, ...o }),
|
|
24083
|
+
}) => /* @__PURE__ */ m.jsx(x6, { label: e, icon: n, href: t, type: r, ...o }), q7e = ({
|
|
24084
24084
|
label: e,
|
|
24085
24085
|
href: t,
|
|
24086
24086
|
icon: n = /* @__PURE__ */ m.jsx(vD, {}),
|
|
24087
24087
|
type: r = "light",
|
|
24088
24088
|
placement: i = "left",
|
|
24089
24089
|
...o
|
|
24090
|
-
}) => /* @__PURE__ */ m.jsx(x6, { label: e, icon: n, href: t, type: r, ...o }), bD =
|
|
24090
|
+
}) => /* @__PURE__ */ m.jsx(x6, { label: e, icon: n, href: t, type: r, ...o }), bD = Bt.div`
|
|
24091
24091
|
${(e) => e.columns && e.columns > 1 && Hr`
|
|
24092
24092
|
column-count: ${e.columns};
|
|
24093
24093
|
`}
|
|
24094
24094
|
text-align: ${(e) => e.textalign};
|
|
24095
24095
|
column-gap: 40px;
|
|
24096
|
-
`, yD =
|
|
24096
|
+
`, yD = Bt.div`
|
|
24097
24097
|
font: var(--gf-label-lg-default);
|
|
24098
24098
|
color: var(--gf-color-text-secondary);
|
|
24099
|
-
`,
|
|
24099
|
+
`, G7e = ({
|
|
24100
24100
|
id: e,
|
|
24101
24101
|
text: t,
|
|
24102
24102
|
columns: n,
|
|
@@ -24106,7 +24106,7 @@ const UF = Zt(p1)`
|
|
|
24106
24106
|
className: a,
|
|
24107
24107
|
editable: s
|
|
24108
24108
|
}) => /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
24109
|
-
/* @__PURE__ */ m.jsx(
|
|
24109
|
+
/* @__PURE__ */ m.jsx($n, {}),
|
|
24110
24110
|
/* @__PURE__ */ m.jsx(
|
|
24111
24111
|
bD,
|
|
24112
24112
|
{
|
|
@@ -24129,7 +24129,7 @@ const UF = Zt(p1)`
|
|
|
24129
24129
|
)
|
|
24130
24130
|
}
|
|
24131
24131
|
)
|
|
24132
|
-
] }),
|
|
24132
|
+
] }), Y7e = ({
|
|
24133
24133
|
metricsData: e,
|
|
24134
24134
|
className: t = null,
|
|
24135
24135
|
gap: n = null,
|
|
@@ -24138,7 +24138,7 @@ const UF = Zt(p1)`
|
|
|
24138
24138
|
style: o = {},
|
|
24139
24139
|
full: a = !1
|
|
24140
24140
|
}) => /* @__PURE__ */ m.jsx(
|
|
24141
|
-
|
|
24141
|
+
tn,
|
|
24142
24142
|
{
|
|
24143
24143
|
className: t,
|
|
24144
24144
|
gap: n || 10,
|
|
@@ -24466,7 +24466,7 @@ function LW(e) {
|
|
|
24466
24466
|
}
|
|
24467
24467
|
var jW = LW;
|
|
24468
24468
|
const f4 = /* @__PURE__ */ Hn(jW);
|
|
24469
|
-
var h4 = { exports: {} }, uu = { exports: {} },
|
|
24469
|
+
var h4 = { exports: {} }, uu = { exports: {} }, on = {};
|
|
24470
24470
|
/** @license React v16.13.1
|
|
24471
24471
|
* react-is.production.min.js
|
|
24472
24472
|
*
|
|
@@ -24477,7 +24477,7 @@ var h4 = { exports: {} }, uu = { exports: {} }, rn = {};
|
|
|
24477
24477
|
*/
|
|
24478
24478
|
var Rg;
|
|
24479
24479
|
function kW() {
|
|
24480
|
-
if (Rg) return
|
|
24480
|
+
if (Rg) return on;
|
|
24481
24481
|
Rg = 1;
|
|
24482
24482
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, b = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
|
|
24483
24483
|
function x(w) {
|
|
@@ -24513,35 +24513,35 @@ function kW() {
|
|
|
24513
24513
|
function S(w) {
|
|
24514
24514
|
return x(w) === c;
|
|
24515
24515
|
}
|
|
24516
|
-
return
|
|
24516
|
+
return on.AsyncMode = l, on.ConcurrentMode = c, on.ContextConsumer = s, on.ContextProvider = a, on.Element = t, on.ForwardRef = u, on.Fragment = r, on.Lazy = p, on.Memo = h, on.Portal = n, on.Profiler = o, on.StrictMode = i, on.Suspense = d, on.isAsyncMode = function(w) {
|
|
24517
24517
|
return S(w) || x(w) === l;
|
|
24518
|
-
},
|
|
24518
|
+
}, on.isConcurrentMode = S, on.isContextConsumer = function(w) {
|
|
24519
24519
|
return x(w) === s;
|
|
24520
|
-
},
|
|
24520
|
+
}, on.isContextProvider = function(w) {
|
|
24521
24521
|
return x(w) === a;
|
|
24522
|
-
},
|
|
24522
|
+
}, on.isElement = function(w) {
|
|
24523
24523
|
return typeof w == "object" && w !== null && w.$$typeof === t;
|
|
24524
|
-
},
|
|
24524
|
+
}, on.isForwardRef = function(w) {
|
|
24525
24525
|
return x(w) === u;
|
|
24526
|
-
},
|
|
24526
|
+
}, on.isFragment = function(w) {
|
|
24527
24527
|
return x(w) === r;
|
|
24528
|
-
},
|
|
24528
|
+
}, on.isLazy = function(w) {
|
|
24529
24529
|
return x(w) === p;
|
|
24530
|
-
},
|
|
24530
|
+
}, on.isMemo = function(w) {
|
|
24531
24531
|
return x(w) === h;
|
|
24532
|
-
},
|
|
24532
|
+
}, on.isPortal = function(w) {
|
|
24533
24533
|
return x(w) === n;
|
|
24534
|
-
},
|
|
24534
|
+
}, on.isProfiler = function(w) {
|
|
24535
24535
|
return x(w) === o;
|
|
24536
|
-
},
|
|
24536
|
+
}, on.isStrictMode = function(w) {
|
|
24537
24537
|
return x(w) === i;
|
|
24538
|
-
},
|
|
24538
|
+
}, on.isSuspense = function(w) {
|
|
24539
24539
|
return x(w) === d;
|
|
24540
|
-
},
|
|
24540
|
+
}, on.isValidElementType = function(w) {
|
|
24541
24541
|
return typeof w == "string" || typeof w == "function" || w === r || w === c || w === o || w === i || w === d || w === f || typeof w == "object" && w !== null && (w.$$typeof === p || w.$$typeof === h || w.$$typeof === a || w.$$typeof === s || w.$$typeof === u || w.$$typeof === v || w.$$typeof === b || w.$$typeof === y || w.$$typeof === g);
|
|
24542
|
-
},
|
|
24542
|
+
}, on.typeOf = x, on;
|
|
24543
24543
|
}
|
|
24544
|
-
var
|
|
24544
|
+
var an = {};
|
|
24545
24545
|
/** @license React v16.13.1
|
|
24546
24546
|
* react-is.development.js
|
|
24547
24547
|
*
|
|
@@ -24630,8 +24630,8 @@ function PW() {
|
|
|
24630
24630
|
function Z(N) {
|
|
24631
24631
|
return S(N) === d;
|
|
24632
24632
|
}
|
|
24633
|
-
|
|
24634
|
-
}()),
|
|
24633
|
+
an.AsyncMode = w, an.ConcurrentMode = $, an.ContextConsumer = V, an.ContextProvider = _, an.Element = M, an.ForwardRef = O, an.Fragment = R, an.Lazy = I, an.Memo = L, an.Portal = E, an.Profiler = T, an.StrictMode = j, an.Suspense = H, an.isAsyncMode = k, an.isConcurrentMode = A, an.isContextConsumer = D, an.isContextProvider = U, an.isElement = q, an.isForwardRef = G, an.isFragment = J, an.isLazy = X, an.isMemo = Y, an.isPortal = Q, an.isProfiler = B, an.isStrictMode = W, an.isSuspense = Z, an.isValidElementType = x, an.typeOf = S;
|
|
24634
|
+
}()), an;
|
|
24635
24635
|
}
|
|
24636
24636
|
var jg;
|
|
24637
24637
|
function Px() {
|
|
@@ -26985,7 +26985,7 @@ function pw(e, t, n) {
|
|
|
26985
26985
|
const v = f.map((b) => ({ ...b }));
|
|
26986
26986
|
return i ? [v, i] : v;
|
|
26987
26987
|
}
|
|
26988
|
-
function
|
|
26988
|
+
function sn(e, t) {
|
|
26989
26989
|
const n = Ye.fun(e), [[r], i] = pw(
|
|
26990
26990
|
1,
|
|
26991
26991
|
n ? e : [e],
|
|
@@ -27516,7 +27516,7 @@ var aU = { pointerEvents: "none", position: "absolute", zIndex: 10, top: 0, left
|
|
|
27516
27516
|
}, yw = gt(function(e) {
|
|
27517
27517
|
var t, n = e.position, r = e.anchor, i = e.children, o = Qt(), a = Gn(), s = a.animate, l = a.config, c = o$(), u = c[0], d = c[1], f = Le(!1), h = void 0, p = !1, g = d.width > 0 && d.height > 0, v = Math.round(n[0]), b = Math.round(n[1]);
|
|
27518
27518
|
g && (r === "top" ? (v -= d.width / 2, b -= d.height + 14) : r === "right" ? (v += 14, b -= d.height / 2) : r === "bottom" ? (v -= d.width / 2, b += 14) : r === "left" ? (v -= d.width + 14, b -= d.height / 2) : r === "center" && (v -= d.width / 2, b -= d.height / 2), h = { transform: cv(v, b) }, f.current || (p = !0), f.current = [v, b]);
|
|
27519
|
-
var y =
|
|
27519
|
+
var y = sn({ to: h, config: l, immediate: !s || p }), x = Ta({}, aU, o.tooltip.wrapper, { transform: (t = y.transform) != null ? t : cv(v, b), opacity: y.transform ? 1 : 0 });
|
|
27520
27520
|
return m.jsx(rt.div, { ref: u, style: x, children: i });
|
|
27521
27521
|
});
|
|
27522
27522
|
yw.displayName = "TooltipWrapper";
|
|
@@ -27543,7 +27543,7 @@ Cw.displayName = "TableTooltip";
|
|
|
27543
27543
|
var E4 = gt(function(e) {
|
|
27544
27544
|
var t = e.x0, n = e.x1, r = e.y0, i = e.y1, o = Qt(), a = Gn(), s = a.animate, l = a.config, c = Se(function() {
|
|
27545
27545
|
return Ta({}, o.crosshair.line, { pointerEvents: "none" });
|
|
27546
|
-
}, [o.crosshair.line]), u =
|
|
27546
|
+
}, [o.crosshair.line]), u = sn({ x1: t, x2: n, y1: r, y2: i, config: l, immediate: !s });
|
|
27547
27547
|
return m.jsx(rt.line, Ta({}, u, { fill: "none", style: c }));
|
|
27548
27548
|
});
|
|
27549
27549
|
E4.displayName = "CrosshairLine";
|
|
@@ -28034,7 +28034,7 @@ function UK(e, t, n) {
|
|
|
28034
28034
|
return r === void 0 ? n : r;
|
|
28035
28035
|
}
|
|
28036
28036
|
var Bw = UK;
|
|
28037
|
-
const
|
|
28037
|
+
const En = /* @__PURE__ */ Hn(Bw);
|
|
28038
28038
|
var qK = K6, GK = yl, YK = E0, Mv = Ii, KK = Cl;
|
|
28039
28039
|
function XK(e, t, n, r) {
|
|
28040
28040
|
if (!Mv(e))
|
|
@@ -32467,7 +32467,7 @@ var aie = ["axis.ticks.text", "axis.legend.text", "legends.title.text", "legends
|
|
|
32467
32467
|
}, lie = function(e, t) {
|
|
32468
32468
|
var n = Q6({}, e, t);
|
|
32469
32469
|
return aie.forEach(function(r) {
|
|
32470
|
-
gi(n, r, sie(
|
|
32470
|
+
gi(n, r, sie(En(n, r), n.text));
|
|
32471
32471
|
}), n;
|
|
32472
32472
|
}, t$ = Jn(), n$ = function(e) {
|
|
32473
32473
|
var t = e.children, n = e.animate, r = n === void 0 || n, i = e.config, o = i === void 0 ? "default" : i, a = Se(function() {
|
|
@@ -32487,7 +32487,7 @@ var Gn = function() {
|
|
|
32487
32487
|
}, [s]), l.current;
|
|
32488
32488
|
}(e), o = Se(function() {
|
|
32489
32489
|
return j0(i, e);
|
|
32490
|
-
}, [i, e]), a =
|
|
32490
|
+
}, [i, e]), a = sn({ from: { value: 0 }, to: { value: 1 }, reset: !0, config: r, immediate: !n }).value;
|
|
32491
32491
|
return An(a, o);
|
|
32492
32492
|
}, cie = { nivo: ["#d76445", "#f47560", "#e8c1a0", "#97e3d5", "#61cdbb", "#00b0a7"], BrBG: ce(Ai), PRGn: ce(Ni), PiYG: ce(Fi), PuOr: ce(Di), RdBu: ce(zi), RdGy: ce(Bi), RdYlBu: ce(Wi), RdYlGn: ce(Zi), spectral: ce(Ui), blues: ce(oo), greens: ce(ao), greys: ce(so), oranges: ce(uo), purples: ce(lo), reds: ce(co), BuGn: ce(qi), BuPu: ce(Gi), GnBu: ce(Yi), OrRd: ce(Ki), PuBuGn: ce(Xi), PuBu: ce(Qi), PuRd: ce(Ji), RdPu: ce(eo), YlGnBu: ce(to), YlGn: ce(no), YlOrBr: ce(ro), YlOrRd: ce(io) }, uie = Object.keys(cie);
|
|
32493
32493
|
ce(Ai), ce(Ni), ce(Fi), ce(Di), ce(zi), ce(Bi), ce(Wi), ce(Zi), ce(Ui), ce(oo), ce(ao), ce(so), ce(uo), ce(lo), ce(co), ce(qi), ce(Gi), ce(Yi), ce(Ki), ce(Xi), ce(Qi), ce(Ji), ce(eo), ce(to), ce(no), ce(ro), ce(io);
|
|
@@ -32629,7 +32629,7 @@ var h$ = function(e) {
|
|
|
32629
32629
|
};
|
|
32630
32630
|
h$.propTypes = { size: F.number.isRequired, color: F.string.isRequired, borderWidth: F.number.isRequired, borderColor: F.string.isRequired };
|
|
32631
32631
|
var Sie = gt(h$), g$ = function(e) {
|
|
32632
|
-
var t = e.x, n = e.y, r = e.symbol, i = r === void 0 ? Sie : r, o = e.size, a = e.datum, s = e.color, l = e.borderWidth, c = e.borderColor, u = e.label, d = e.labelTextAnchor, f = d === void 0 ? "middle" : d, h = e.labelYOffset, p = h === void 0 ? -12 : h, g = Qt(), v = Gn(), b = v.animate, y = v.config, x =
|
|
32632
|
+
var t = e.x, n = e.y, r = e.symbol, i = r === void 0 ? Sie : r, o = e.size, a = e.datum, s = e.color, l = e.borderWidth, c = e.borderColor, u = e.label, d = e.labelTextAnchor, f = d === void 0 ? "middle" : d, h = e.labelYOffset, p = h === void 0 ? -12 : h, g = Qt(), v = Gn(), b = v.animate, y = v.config, x = sn({ transform: "translate(" + t + ", " + n + ")", config: y, immediate: !b });
|
|
32633
32633
|
return m.jsxs(rt.g, { transform: x.transform, style: { pointerEvents: "none" }, children: [Mt(i, { size: o, color: s, datum: a, borderWidth: l, borderColor: c }), u && m.jsx("text", { textAnchor: f, y: p, style: Ph(g.dots.text), children: u })] });
|
|
32634
32634
|
};
|
|
32635
32635
|
g$.propTypes = { x: F.number.isRequired, y: F.number.isRequired, datum: F.object.isRequired, size: F.number.isRequired, color: F.string.isRequired, borderWidth: F.number.isRequired, borderColor: F.string.isRequired, symbol: F.oneOfType([F.func, F.object]), label: F.oneOfType([F.string, F.number]), labelTextAnchor: F.oneOf(["start", "middle", "end"]), labelYOffset: F.number };
|
|
@@ -32717,12 +32717,12 @@ var m$ = gt(p$), _ie = ["theme", "renderWrapper", "animate", "motionConfig"], b$
|
|
|
32717
32717
|
}(J_);
|
|
32718
32718
|
}, Eie = function(e, t) {
|
|
32719
32719
|
var n = ul(e) ? e : function(r) {
|
|
32720
|
-
return
|
|
32720
|
+
return En(r, e);
|
|
32721
32721
|
};
|
|
32722
32722
|
return n;
|
|
32723
32723
|
}, Oie = function(e) {
|
|
32724
32724
|
return ul(e) ? e : function(t) {
|
|
32725
|
-
return
|
|
32725
|
+
return En(t, e);
|
|
32726
32726
|
};
|
|
32727
32727
|
}, Vi = function(e) {
|
|
32728
32728
|
return Se(function() {
|
|
@@ -32740,7 +32740,7 @@ var m$ = gt(p$), _ie = ["theme", "renderWrapper", "animate", "motionConfig"], b$
|
|
|
32740
32740
|
if (e === "*") return !0;
|
|
32741
32741
|
if (ul(e)) return e(t);
|
|
32742
32742
|
if (na(e)) {
|
|
32743
|
-
var r = n ?
|
|
32743
|
+
var r = n ? En(t, n) : t;
|
|
32744
32744
|
return e$(US(r, Object.keys(e)), e);
|
|
32745
32745
|
}
|
|
32746
32746
|
return !1;
|
|
@@ -32755,14 +32755,14 @@ var m$ = gt(p$), _ie = ["theme", "renderWrapper", "animate", "motionConfig"], b$
|
|
|
32755
32755
|
});
|
|
32756
32756
|
if (y) {
|
|
32757
32757
|
if (Tie.includes(y.type)) if (y.background === "inherit" || y.color === "inherit") {
|
|
32758
|
-
var x =
|
|
32758
|
+
var x = En(f, s), S = y.background, w = y.color, $ = v;
|
|
32759
32759
|
y.background === "inherit" && ($ = $ + ".bg." + x, S = x), y.color === "inherit" && ($ = $ + ".fg." + x, w = x), gi(f, c, "url(#" + $ + ")"), d[$] || (u.push(Qr({}, y, { id: $, background: S, color: w })), d[$] = 1);
|
|
32760
32760
|
} else gi(f, c, "url(#" + v + ")");
|
|
32761
32761
|
else if (Vie.includes(y.type))
|
|
32762
32762
|
if (y.colors.map(function(O) {
|
|
32763
32763
|
return O.color;
|
|
32764
32764
|
}).includes("inherit")) {
|
|
32765
|
-
var V =
|
|
32765
|
+
var V = En(f, s), _ = v, M = Qr({}, y, { colors: y.colors.map(function(O, R) {
|
|
32766
32766
|
return O.color !== "inherit" ? O : (_ = _ + "." + R + "." + V, Qr({}, O, { color: O.color === "inherit" ? V : O.color }));
|
|
32767
32767
|
}) });
|
|
32768
32768
|
M.id = _, gi(f, c, "url(#" + _ + ")"), d[_] || (u.push(M), d[_] = 1);
|
|
@@ -32822,7 +32822,7 @@ var Bie = function(e, t) {
|
|
|
32822
32822
|
return l.theme !== void 0;
|
|
32823
32823
|
}(e)) {
|
|
32824
32824
|
if (t === void 0) throw new Error("Unable to use color from theme as no theme was provided");
|
|
32825
|
-
var n =
|
|
32825
|
+
var n = En(t, e.theme);
|
|
32826
32826
|
if (n === void 0) throw new Error("Color from theme is undefined at path: '" + e.theme + "'");
|
|
32827
32827
|
return function() {
|
|
32828
32828
|
return n;
|
|
@@ -32832,7 +32832,7 @@ var Bie = function(e, t) {
|
|
|
32832
32832
|
return l.from !== void 0;
|
|
32833
32833
|
}(e)) {
|
|
32834
32834
|
var r = function(l) {
|
|
32835
|
-
return
|
|
32835
|
+
return En(l, e.from);
|
|
32836
32836
|
};
|
|
32837
32837
|
if (Array.isArray(e.modifiers)) {
|
|
32838
32838
|
for (var i, o = [], a = function() {
|
|
@@ -32872,7 +32872,7 @@ F.oneOfType([F.string, F.func, F.shape({ theme: F.string.isRequired }), F.shape(
|
|
|
32872
32872
|
var Wie = function(e, t) {
|
|
32873
32873
|
if (typeof e == "function") return e;
|
|
32874
32874
|
var n = typeof t == "function" ? t : function(d) {
|
|
32875
|
-
return
|
|
32875
|
+
return En(d, t);
|
|
32876
32876
|
};
|
|
32877
32877
|
if (Array.isArray(e)) {
|
|
32878
32878
|
var r = Ir(e), i = function(d) {
|
|
@@ -32884,7 +32884,7 @@ var Wie = function(e, t) {
|
|
|
32884
32884
|
if (function(d) {
|
|
32885
32885
|
return d.datum !== void 0;
|
|
32886
32886
|
}(e)) return function(d) {
|
|
32887
|
-
return
|
|
32887
|
+
return En(d, e.datum);
|
|
32888
32888
|
};
|
|
32889
32889
|
if (function(d) {
|
|
32890
32890
|
return d.scheme !== void 0;
|
|
@@ -33441,7 +33441,7 @@ function ka() {
|
|
|
33441
33441
|
}
|
|
33442
33442
|
var P2 = { container: { display: "flex", alignItems: "center" }, sourceChip: { marginRight: 7 }, targetChip: { marginLeft: 7, marginRight: 7 } }, Ise = { center: roe, justify: _$, start: toe, end: noe }, Ase = function(e) {
|
|
33443
33443
|
return Ise[e];
|
|
33444
|
-
},
|
|
33444
|
+
}, Zt = { layout: "horizontal", align: "center", sort: "auto", colors: { scheme: "nivo" }, nodeOpacity: 0.75, nodeHoverOpacity: 1, nodeHoverOthersOpacity: 0.15, nodeThickness: 12, nodeSpacing: 12, nodeInnerPadding: 0, nodeBorderWidth: 1, nodeBorderColor: { from: "color", modifiers: [["darker", 0.5]] }, nodeBorderRadius: 0, linkOpacity: 0.25, linkHoverOpacity: 0.6, linkHoverOthersOpacity: 0.15, linkContract: 0, linkBlendMode: "multiply", enableLinkGradient: !1, enableLabels: !0, label: "id", labelPosition: "inside", labelPadding: 9, labelOrientation: "horizontal", labelTextColor: { from: "color", modifiers: [["darker", 0.8]] }, isInteractive: !0, nodeTooltip: function(e) {
|
|
33445
33445
|
var t = e.node;
|
|
33446
33446
|
return m.jsx(Gs, { id: t.label, enableChip: !0, color: t.color });
|
|
33447
33447
|
}, linkTooltip: function(e) {
|
|
@@ -33479,7 +33479,7 @@ var P2 = { container: { display: "flex", alignItems: "center" }, sourceChip: { m
|
|
|
33479
33479
|
}, [T]);
|
|
33480
33480
|
return { nodes: T, links: j, legendData: H, getNodeBorderColor: O, currentNode: v, setCurrentNode: b, currentLink: x, setCurrentLink: S, getLabelTextColor: I };
|
|
33481
33481
|
}, Dse = function(e) {
|
|
33482
|
-
var t = e.node, n = e.x, r = e.y, i = e.width, o = e.height, a = e.color, s = e.opacity, l = e.borderWidth, c = e.borderColor, u = e.borderRadius, d = e.setCurrent, f = e.isInteractive, h = e.onClick, p = e.tooltip, g = Gn(), v = g.animate, b = g.config, y =
|
|
33482
|
+
var t = e.node, n = e.x, r = e.y, i = e.width, o = e.height, a = e.color, s = e.opacity, l = e.borderWidth, c = e.borderColor, u = e.borderRadius, d = e.setCurrent, f = e.isInteractive, h = e.onClick, p = e.tooltip, g = Gn(), v = g.animate, b = g.config, y = sn({ x: n, y: r, width: i, height: o, opacity: s, color: a, config: b, immediate: !v }), x = xi(), S = x.showTooltipFromEvent, w = x.hideTooltip, $ = ze(function(O) {
|
|
33483
33483
|
d(t), S(Mt(p, { node: t }), O, "left");
|
|
33484
33484
|
}, [d, t, S, p]), V = ze(function(O) {
|
|
33485
33485
|
S(Mt(p, { node: t }), O, "left");
|
|
@@ -33504,7 +33504,7 @@ var P2 = { container: { display: "flex", alignItems: "center" }, sourceChip: { m
|
|
|
33504
33504
|
var t = e.id, n = e.layout, r = e.startColor, i = e.endColor;
|
|
33505
33505
|
return m.jsxs("linearGradient", ka({ id: t, spreadMethod: "pad" }, n === "horizontal" ? { x1: "0%", x2: "100%", y1: "0%", y2: "0%" } : { x1: "0%", x2: "0%", y1: "0%", y2: "100%" }, { children: [m.jsx("stop", { offset: "0%", stopColor: r }), m.jsx("stop", { offset: "100%", stopColor: i })] }));
|
|
33506
33506
|
}, Wse = function(e) {
|
|
33507
|
-
var t = e.link, n = e.layout, r = e.path, i = e.color, o = e.opacity, a = e.blendMode, s = e.enableGradient, l = e.setCurrent, c = e.tooltip, u = e.isInteractive, d = e.onClick, f = t.source.id + "." + t.target.id + "." + t.index, h = Gn(), p = h.animate, g = h.config, v = q0(r), b =
|
|
33507
|
+
var t = e.link, n = e.layout, r = e.path, i = e.color, o = e.opacity, a = e.blendMode, s = e.enableGradient, l = e.setCurrent, c = e.tooltip, u = e.isInteractive, d = e.onClick, f = t.source.id + "." + t.target.id + "." + t.index, h = Gn(), p = h.animate, g = h.config, v = q0(r), b = sn({ color: i, opacity: o, config: g, immediate: !p }), y = xi(), x = y.showTooltipFromEvent, S = y.hideTooltip, w = ze(function(M) {
|
|
33508
33508
|
l(t), x(Mt(c, { link: t }), M, "left");
|
|
33509
33509
|
}, [l, t, x, c]), $ = ze(function(M) {
|
|
33510
33510
|
x(Mt(c, { link: t }), M, "left");
|
|
@@ -33545,7 +33545,7 @@ var P2 = { container: { display: "flex", alignItems: "center" }, sourceChip: { m
|
|
|
33545
33545
|
return m.jsx(rt.text, { dominantBaseline: "central", textAnchor: y.textAnchor, transform: v.transform, style: ka({}, c.labels.text, { fill: v.color, pointerEvents: "none" }), children: y.label }, y.id);
|
|
33546
33546
|
}) });
|
|
33547
33547
|
}, qse = ["isInteractive", "animate", "motionConfig", "theme", "renderWrapper"], Gse = function(e) {
|
|
33548
|
-
var t = e.data, n = e.valueFormat, r = e.layout, i = r === void 0 ?
|
|
33548
|
+
var t = e.data, n = e.valueFormat, r = e.layout, i = r === void 0 ? Zt.layout : r, o = e.sort, a = o === void 0 ? Zt.sort : o, s = e.align, l = s === void 0 ? Zt.align : s, c = e.width, u = e.height, d = e.margin, f = e.colors, h = f === void 0 ? Zt.colors : f, p = e.nodeThickness, g = p === void 0 ? Zt.nodeThickness : p, v = e.nodeSpacing, b = v === void 0 ? Zt.nodeThickness : v, y = e.nodeInnerPadding, x = y === void 0 ? Zt.nodeInnerPadding : y, S = e.nodeBorderColor, w = S === void 0 ? Zt.nodeBorderColor : S, $ = e.nodeOpacity, V = $ === void 0 ? Zt.nodeOpacity : $, _ = e.nodeHoverOpacity, M = _ === void 0 ? Zt.nodeHoverOpacity : _, O = e.nodeHoverOthersOpacity, R = O === void 0 ? Zt.nodeHoverOthersOpacity : O, I = e.nodeBorderWidth, L = I === void 0 ? Zt.nodeBorderWidth : I, E = e.nodeBorderRadius, T = E === void 0 ? Zt.nodeBorderRadius : E, j = e.linkOpacity, H = j === void 0 ? Zt.linkOpacity : j, P = e.linkHoverOpacity, k = P === void 0 ? Zt.linkHoverOpacity : P, A = e.linkHoverOthersOpacity, D = A === void 0 ? Zt.linkHoverOthersOpacity : A, U = e.linkContract, q = U === void 0 ? Zt.linkContract : U, G = e.linkBlendMode, J = G === void 0 ? Zt.linkBlendMode : G, X = e.enableLinkGradient, Y = X === void 0 ? Zt.enableLinkGradient : X, Q = e.enableLabels, B = Q === void 0 ? Zt.enableLabels : Q, W = e.labelPosition, Z = W === void 0 ? Zt.labelPosition : W, N = e.labelPadding, ne = N === void 0 ? Zt.labelPadding : N, z = e.labelOrientation, re = z === void 0 ? Zt.labelOrientation : z, ie = e.label, ge = ie === void 0 ? Zt.label : ie, ye = e.labelTextColor, pe = ye === void 0 ? Zt.labelTextColor : ye, be = e.nodeTooltip, we = be === void 0 ? Zt.nodeTooltip : be, ve = e.linkTooltip, he = ve === void 0 ? Zt.linkTooltip : ve, le = e.isInteractive, $e = le === void 0 ? Zt.isInteractive : le, fe = e.onClick, Fe = e.legends, Ae = Fe === void 0 ? Zt.legends : Fe, Te = e.layers, je = Te === void 0 ? Zt.layers : Te, Qe = e.role, et = Qe === void 0 ? Zt.role : Qe, Be = e.ariaLabel, ke = e.ariaLabelledBy, tt = e.ariaDescribedBy, Ge = ns(c, u, d), Ke = Ge.margin, ue = Ge.innerWidth, Ee = Ge.innerHeight, Je = Ge.outerWidth, ot = Ge.outerHeight, De = Fse({ data: t, valueFormat: n, layout: i, width: ue, height: Ee, sort: a, align: l, colors: h, nodeThickness: g, nodeSpacing: b, nodeInnerPadding: x, nodeBorderColor: w, label: ge, labelTextColor: pe }), Ze = De.nodes, We = De.links, nt = De.legendData, it = De.getNodeBorderColor, Ue = De.currentNode, Pe = De.setCurrentNode, ft = De.currentLink, wt = De.setCurrentLink, Oe = De.getLabelTextColor, de = function() {
|
|
33549
33549
|
return !1;
|
|
33550
33550
|
}, xe = function() {
|
|
33551
33551
|
return !1;
|
|
@@ -33580,7 +33580,7 @@ var P2 = { container: { display: "flex", alignItems: "center" }, sourceChip: { m
|
|
|
33580
33580
|
return typeof at == "function" ? m.jsx(Xr, { children: Mt(at, Xe) }, K) : (oe = qe == null ? void 0 : qe[at]) != null ? oe : null;
|
|
33581
33581
|
}) });
|
|
33582
33582
|
}, Yse = function(e) {
|
|
33583
|
-
var t = e.isInteractive, n = t === void 0 ?
|
|
33583
|
+
var t = e.isInteractive, n = t === void 0 ? Zt.isInteractive : t, r = e.animate, i = r === void 0 ? Zt.animate : r, o = e.motionConfig, a = o === void 0 ? Zt.motionConfig : o, s = e.theme, l = e.renderWrapper, c = function(u, d) {
|
|
33584
33584
|
if (u == null) return {};
|
|
33585
33585
|
var f, h, p = {}, g = Object.keys(u);
|
|
33586
33586
|
for (h = 0; h < g.length; h++) f = g[h], d.indexOf(f) >= 0 || (p[f] = u[f]);
|
|
@@ -33604,16 +33604,16 @@ const Kse = {
|
|
|
33604
33604
|
style: t = {},
|
|
33605
33605
|
body: n = null
|
|
33606
33606
|
}) => /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
33607
|
-
/* @__PURE__ */ m.jsx(
|
|
33607
|
+
/* @__PURE__ */ m.jsx($n, {}),
|
|
33608
33608
|
/* @__PURE__ */ m.jsx("div", { id: e, style: { ...Kse, ...t }, children: n || /* @__PURE__ */ m.jsx("span", { children: "Custom tooltip" }) })
|
|
33609
|
-
] }),
|
|
33609
|
+
] }), X7e = ({
|
|
33610
33610
|
sankeyData: e,
|
|
33611
33611
|
linktooltip: t = null,
|
|
33612
33612
|
nodetooltip: n = null,
|
|
33613
33613
|
customStyle: r = {},
|
|
33614
33614
|
customMargin: i = {}
|
|
33615
33615
|
}) => /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
33616
|
-
/* @__PURE__ */ m.jsx(
|
|
33616
|
+
/* @__PURE__ */ m.jsx($n, {}),
|
|
33617
33617
|
/* @__PURE__ */ m.jsx("div", { style: { width: "100%", height: 600, ...r }, children: /* @__PURE__ */ m.jsx(
|
|
33618
33618
|
j$,
|
|
33619
33619
|
{
|
|
@@ -33963,8 +33963,8 @@ var dm, yle = function(e) {
|
|
|
33963
33963
|
var t = e.data, n = e.id, r = n === void 0 ? $t.id : n, i = e.value, o = i === void 0 ? $t.value : i, a = e.valueFormat, s = e.sortByValue, l = s === void 0 ? $t.sortByValue : s, c = e.layers, u = c === void 0 ? $t.layers : c, d = e.startAngle, f = d === void 0 ? $t.startAngle : d, h = e.endAngle, p = h === void 0 ? $t.endAngle : h, g = e.padAngle, v = g === void 0 ? $t.padAngle : g, b = e.fit, y = b === void 0 ? $t.fit : b, x = e.innerRadius, S = x === void 0 ? $t.innerRadius : x, w = e.cornerRadius, $ = w === void 0 ? $t.cornerRadius : w, V = e.activeInnerRadiusOffset, _ = V === void 0 ? $t.activeInnerRadiusOffset : V, M = e.activeOuterRadiusOffset, O = M === void 0 ? $t.activeOuterRadiusOffset : M, R = e.width, I = e.height, L = e.margin, E = e.colors, T = E === void 0 ? $t.colors : E, j = e.borderWidth, H = j === void 0 ? $t.borderWidth : j, P = e.borderColor, k = P === void 0 ? $t.borderColor : P, A = e.enableArcLabels, D = A === void 0 ? $t.enableArcLabels : A, U = e.arcLabel, q = U === void 0 ? $t.arcLabel : U, G = e.arcLabelsSkipAngle, J = G === void 0 ? $t.arcLabelsSkipAngle : G, X = e.arcLabelsTextColor, Y = X === void 0 ? $t.arcLabelsTextColor : X, Q = e.arcLabelsRadiusOffset, B = Q === void 0 ? $t.arcLabelsRadiusOffset : Q, W = e.arcLabelsComponent, Z = e.enableArcLinkLabels, N = Z === void 0 ? $t.enableArcLinkLabels : Z, ne = e.arcLinkLabel, z = ne === void 0 ? $t.arcLinkLabel : ne, re = e.arcLinkLabelsSkipAngle, ie = re === void 0 ? $t.arcLinkLabelsSkipAngle : re, ge = e.arcLinkLabelsOffset, ye = ge === void 0 ? $t.arcLinkLabelsOffset : ge, pe = e.arcLinkLabelsDiagonalLength, be = pe === void 0 ? $t.arcLinkLabelsDiagonalLength : pe, we = e.arcLinkLabelsStraightLength, ve = we === void 0 ? $t.arcLinkLabelsStraightLength : we, he = e.arcLinkLabelsThickness, le = he === void 0 ? $t.arcLinkLabelsThickness : he, $e = e.arcLinkLabelsTextOffset, fe = $e === void 0 ? $t.arcLinkLabelsTextOffset : $e, Fe = e.arcLinkLabelsTextColor, Ae = Fe === void 0 ? $t.arcLinkLabelsTextColor : Fe, Te = e.arcLinkLabelsColor, je = Te === void 0 ? $t.arcLinkLabelsColor : Te, Qe = e.arcLinkLabelComponent, et = e.defs, Be = et === void 0 ? $t.defs : et, ke = e.fill, tt = ke === void 0 ? $t.fill : ke, Ge = e.isInteractive, Ke = Ge === void 0 ? $t.isInteractive : Ge, ue = e.onClick, Ee = e.onMouseEnter, Je = e.onMouseMove, ot = e.onMouseLeave, De = e.tooltip, Ze = De === void 0 ? $t.tooltip : De, We = e.activeId, nt = e.onActiveIdChange, it = e.defaultActiveId, Ue = e.transitionMode, Pe = Ue === void 0 ? $t.transitionMode : Ue, ft = e.legends, wt = ft === void 0 ? $t.legends : ft, Oe = e.forwardLegendData, de = e.role, xe = de === void 0 ? $t.role : de, He = ns(R, I, L), Xe = He.outerWidth, qe = He.outerHeight, at = He.margin, K = He.innerWidth, oe = He.innerHeight, ae = xle({ data: t, id: r, value: o, valueFormat: a, colors: T }), Ve = $le({ data: ae, width: K, height: oe, fit: y, innerRadius: S, startAngle: f, endAngle: p, padAngle: v, sortByValue: l, cornerRadius: $, activeInnerRadiusOffset: _, activeOuterRadiusOffset: O, activeId: We, onActiveIdChange: nt, defaultActiveId: it, forwardLegendData: Oe }), st = Ve.dataWithArc, ct = Ve.legendData, ut = Ve.arcGenerator, mt = Ve.centerX, me = Ve.centerY, Ce = Ve.radius, Re = Ve.innerRadius, lt = Ve.setActiveId, Ct = Ve.toggleSerie, Et = Ah(Be, st, tt), bt = { arcs: null, arcLinkLabels: null, arcLabels: null, legends: null };
|
|
33964
33964
|
u.includes("arcs") && (bt.arcs = m.jsx(_le, { center: [mt, me], data: st, arcGenerator: ut, borderWidth: H, borderColor: k, isInteractive: Ke, onClick: ue, onMouseEnter: Ee, onMouseMove: Je, onMouseLeave: ot, setActiveId: lt, tooltip: Ze, transitionMode: Pe }, "arcs")), N && u.includes("arcLinkLabels") && (bt.arcLinkLabels = m.jsx(fle, { center: [mt, me], data: st, label: z, skipAngle: ie, offset: ye, diagonalLength: be, straightLength: ve, strokeWidth: le, textOffset: fe, textColor: Ae, linkColor: je, component: Qe }, "arcLinkLabels")), D && u.includes("arcLabels") && (bt.arcLabels = m.jsx(ile, { center: [mt, me], data: st, label: q, radiusOffset: B, skipAngle: J, textColor: Y, transitionMode: Pe, component: W }, "arcLabels")), wt.length > 0 && u.includes("legends") && (bt.legends = m.jsx(yle, { width: K, height: oe, data: ct, legends: wt, toggleSerie: Ct }, "legends"));
|
|
33965
33965
|
var kt = Mle({ dataWithArc: st, arcGenerator: ut, centerX: mt, centerY: me, radius: Ce, innerRadius: Re });
|
|
33966
|
-
return m.jsx(Ll, { width: Xe, height: qe, margin: at, defs: Et, role: xe, children: u.map(function(fn,
|
|
33967
|
-
return bt[fn] !== void 0 ? bt[fn] : typeof fn == "function" ? m.jsx(Xr, { children: Mt(fn, kt) },
|
|
33966
|
+
return m.jsx(Ll, { width: Xe, height: qe, margin: at, defs: Et, role: xe, children: u.map(function(fn, Wt) {
|
|
33967
|
+
return bt[fn] !== void 0 ? bt[fn] : typeof fn == "function" ? m.jsx(Xr, { children: Mt(fn, kt) }, Wt) : null;
|
|
33968
33968
|
}) });
|
|
33969
33969
|
}, Hle = function(e) {
|
|
33970
33970
|
var t = e.isInteractive, n = t === void 0 ? $t.isInteractive : t, r = e.animate, i = r === void 0 ? $t.animate : r, o = e.motionConfig, a = o === void 0 ? $t.motionConfig : o, s = e.theme, l = e.renderWrapper, c = A$(e, Ele);
|
|
@@ -33975,16 +33975,16 @@ var dm, yle = function(e) {
|
|
|
33975
33975
|
return m.jsx(Hle, Go({ width: n, height: r }, e));
|
|
33976
33976
|
} });
|
|
33977
33977
|
};
|
|
33978
|
-
const Tle =
|
|
33978
|
+
const Tle = Bt.span`
|
|
33979
33979
|
color: black;
|
|
33980
33980
|
font: var(--gf-label-md-default);
|
|
33981
33981
|
font-weight: 600;
|
|
33982
33982
|
font-size: 20px;
|
|
33983
|
-
`, Rle =
|
|
33983
|
+
`, Rle = Bt.span`
|
|
33984
33984
|
font: var(--gf-label-md-default);
|
|
33985
33985
|
color: var(--gf-color-text-secondary);
|
|
33986
33986
|
font-size: 10px;
|
|
33987
|
-
`,
|
|
33987
|
+
`, Q7e = ({
|
|
33988
33988
|
pieChartData: e,
|
|
33989
33989
|
title: t,
|
|
33990
33990
|
isEmpty: n,
|
|
@@ -34010,8 +34010,8 @@ const Tle = Zt.span`
|
|
|
34010
34010
|
},
|
|
34011
34011
|
children: n ? "Data niet openbaar beschikbaar" : ""
|
|
34012
34012
|
}
|
|
34013
|
-
)), h = ({ data: p }) => /* @__PURE__ */ m.jsx(
|
|
34014
|
-
(g, v) => /* @__PURE__ */ m.jsxs(
|
|
34013
|
+
)), h = ({ data: p }) => /* @__PURE__ */ m.jsx(tn, { gap: 16, className: "gf-full", justify: "center", wrap: !0, style: { width: c }, children: p == null ? void 0 : p.map(
|
|
34014
|
+
(g, v) => /* @__PURE__ */ m.jsxs(tn, { gap: 8, align: "center", children: [
|
|
34015
34015
|
/* @__PURE__ */ m.jsx("div", { style: {
|
|
34016
34016
|
minWidth: 16,
|
|
34017
34017
|
minHeight: 16,
|
|
@@ -34021,8 +34021,8 @@ const Tle = Zt.span`
|
|
|
34021
34021
|
] }, `legend-${v}`)
|
|
34022
34022
|
) });
|
|
34023
34023
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
34024
|
-
/* @__PURE__ */ m.jsx(
|
|
34025
|
-
/* @__PURE__ */ m.jsxs(
|
|
34024
|
+
/* @__PURE__ */ m.jsx($n, {}),
|
|
34025
|
+
/* @__PURE__ */ m.jsxs(tn, { vertical: !0, gap: 8, align: "center", style: { width: "100%" }, children: [
|
|
34026
34026
|
/* @__PURE__ */ m.jsx(Tle, { children: t }),
|
|
34027
34027
|
/* @__PURE__ */ m.jsx("div", { style: { width: "100%", height: l }, children: /* @__PURE__ */ m.jsx(
|
|
34028
34028
|
Vle,
|
|
@@ -34737,7 +34737,7 @@ var Y$ = function(e) {
|
|
|
34737
34737
|
var k, A = 0, D = 0, U = 0;
|
|
34738
34738
|
t === "y" ? (U = -90, A = _, $ === "start" ? (k = "start", D = s) : $ === "middle" ? (k = "middle", D = s / 2) : $ === "end" && (k = "end")) : (D = _, $ === "start" ? k = "start" : $ === "middle" ? (k = "middle", A = s / 2) : $ === "end" && (k = "end", A = s)), P = m.jsxs(m.Fragment, { children: [I.outlineWidth > 0 && m.jsx("text", { transform: "translate(" + A + ", " + D + ") rotate(" + U + ")", textAnchor: k, style: ei({ dominantBaseline: "central" }, I), strokeWidth: 2 * I.outlineWidth, stroke: I.outlineColor, strokeLinejoin: "round", children: S }), m.jsx("text", { transform: "translate(" + A + ", " + D + ") rotate(" + U + ")", textAnchor: k, style: ei({ dominantBaseline: "central" }, I), children: S })] });
|
|
34739
34739
|
}
|
|
34740
|
-
var q = Gn(), G = q.animate, J = q.config, X =
|
|
34740
|
+
var q = Gn(), G = q.animate, J = q.config, X = sn({ transform: "translate(" + i + "," + a + ")", lineX2: t === "x" ? s : 0, lineY2: t === "x" ? 0 : s, config: J, immediate: !G }), Y = ze(function(W) {
|
|
34741
34741
|
return { opacity: 1, transform: "translate(" + W.x + "," + W.y + ")", textTransform: "translate(" + W.textX + "," + W.textY + ") rotate(" + g + ")" };
|
|
34742
34742
|
}, [g]), Q = ze(function(W) {
|
|
34743
34743
|
return { opacity: 0, transform: "translate(" + W.x + "," + W.y + ")", textTransform: "translate(" + W.textX + "," + W.textY + ") rotate(" + g + ")" };
|
|
@@ -34929,7 +34929,7 @@ var Q4 = { dotSize: 4, noteWidth: 120, noteTextOffset: 8, animate: !0 }, Rue = f
|
|
|
34929
34929
|
return Pue(e);
|
|
34930
34930
|
}, [e]);
|
|
34931
34931
|
}, Nue = function(e) {
|
|
34932
|
-
var t = e.datum, n = e.x, r = e.y, i = e.note, o = Qt(), a = Gn(), s = a.animate, l = a.config, c =
|
|
34932
|
+
var t = e.datum, n = e.x, r = e.y, i = e.note, o = Qt(), a = Gn(), s = a.animate, l = a.config, c = sn({ x: n, y: r, config: l, immediate: !s });
|
|
34933
34933
|
return typeof i == "function" ? Mt(i, { x: n, y: r, datum: t }) : m.jsxs(m.Fragment, { children: [o.annotations.text.outlineWidth > 0 && m.jsx(rt.text, { x: c.x, y: c.y, style: Yo({}, o.annotations.text, { strokeLinejoin: "round", strokeWidth: 2 * o.annotations.text.outlineWidth, stroke: o.annotations.text.outlineColor }), children: i }), m.jsx(rt.text, { x: c.x, y: c.y, style: as(o.annotations.text, ["outlineWidth", "outlineColor"]), children: i })] });
|
|
34934
34934
|
}, Cm = function(e) {
|
|
34935
34935
|
var t = e.points, n = e.isOutline, r = n !== void 0 && n, i = Qt(), o = Se(function() {
|
|
@@ -34942,13 +34942,13 @@ var Q4 = { dotSize: 4, noteWidth: 120, noteTextOffset: 8, animate: !0 }, Rue = f
|
|
|
34942
34942
|
var s = Yo({}, i.annotations.link);
|
|
34943
34943
|
return r && (s.strokeLinecap = "square", s.strokeWidth = i.annotations.link.strokeWidth + 2 * i.annotations.link.outlineWidth, s.stroke = i.annotations.link.outlineColor, s.opacity = i.annotations.link.outlineOpacity), m.jsx(rt.path, { fill: "none", d: a, style: s });
|
|
34944
34944
|
}, Fue = function(e) {
|
|
34945
|
-
var t = e.x, n = e.y, r = e.size, i = Qt(), o = Gn(), a = o.animate, s = o.config, l =
|
|
34945
|
+
var t = e.x, n = e.y, r = e.size, i = Qt(), o = Gn(), a = o.animate, s = o.config, l = sn({ x: t, y: n, radius: r / 2, config: s, immediate: !a });
|
|
34946
34946
|
return m.jsxs(m.Fragment, { children: [i.annotations.outline.outlineWidth > 0 && m.jsx(rt.circle, { cx: l.x, cy: l.y, r: l.radius, style: Yo({}, i.annotations.outline, { fill: "none", strokeWidth: i.annotations.outline.strokeWidth + 2 * i.annotations.outline.outlineWidth, stroke: i.annotations.outline.outlineColor, opacity: i.annotations.outline.outlineOpacity }) }), m.jsx(rt.circle, { cx: l.x, cy: l.y, r: l.radius, style: i.annotations.outline })] });
|
|
34947
34947
|
}, Due = function(e) {
|
|
34948
|
-
var t = e.x, n = e.y, r = e.size, i = r === void 0 ? Q4.dotSize : r, o = Qt(), a = Gn(), s = a.animate, l = a.config, c =
|
|
34948
|
+
var t = e.x, n = e.y, r = e.size, i = r === void 0 ? Q4.dotSize : r, o = Qt(), a = Gn(), s = a.animate, l = a.config, c = sn({ x: t, y: n, radius: i / 2, config: l, immediate: !s });
|
|
34949
34949
|
return m.jsxs(m.Fragment, { children: [o.annotations.outline.outlineWidth > 0 && m.jsx(rt.circle, { cx: c.x, cy: c.y, r: c.radius, style: Yo({}, o.annotations.outline, { fill: "none", strokeWidth: 2 * o.annotations.outline.outlineWidth, stroke: o.annotations.outline.outlineColor, opacity: o.annotations.outline.outlineOpacity }) }), m.jsx(rt.circle, { cx: c.x, cy: c.y, r: c.radius, style: o.annotations.symbol })] });
|
|
34950
34950
|
}, zue = function(e) {
|
|
34951
|
-
var t = e.x, n = e.y, r = e.width, i = e.height, o = e.borderRadius, a = o === void 0 ? 6 : o, s = Qt(), l = Gn(), c = l.animate, u = l.config, d =
|
|
34951
|
+
var t = e.x, n = e.y, r = e.width, i = e.height, o = e.borderRadius, a = o === void 0 ? 6 : o, s = Qt(), l = Gn(), c = l.animate, u = l.config, d = sn({ x: t - r / 2, y: n - i / 2, width: r, height: i, config: u, immediate: !c });
|
|
34952
34952
|
return m.jsxs(m.Fragment, { children: [s.annotations.outline.outlineWidth > 0 && m.jsx(rt.rect, { x: d.x, y: d.y, rx: a, ry: a, width: d.width, height: d.height, style: Yo({}, s.annotations.outline, { fill: "none", strokeWidth: s.annotations.outline.strokeWidth + 2 * s.annotations.outline.outlineWidth, stroke: s.annotations.outline.outlineColor, opacity: s.annotations.outline.outlineOpacity }) }), m.jsx(rt.rect, { x: d.x, y: d.y, rx: a, ry: a, width: d.width, height: d.height, style: s.annotations.outline })] });
|
|
34953
34953
|
}, Bue = function(e) {
|
|
34954
34954
|
var t = e.datum, n = e.x, r = e.y, i = e.note, o = Aue(e);
|
|
@@ -35743,7 +35743,7 @@ var gde = function(e) {
|
|
|
35743
35743
|
if (!Array.isArray(e.sizes) || e.sizes.length !== 2) throw new Error("symbolSize is invalid, sizes spec should be an array containing two values, min and max");
|
|
35744
35744
|
var t = ia().domain([e.values[0], e.values[1]]).range([e.sizes[0], e.sizes[1]]);
|
|
35745
35745
|
return function(n) {
|
|
35746
|
-
return t(
|
|
35746
|
+
return t(En(n, e.key));
|
|
35747
35747
|
};
|
|
35748
35748
|
}
|
|
35749
35749
|
throw new Error("nodeSize is invalid, it should be either a function, a number or an object");
|
|
@@ -35796,7 +35796,7 @@ var gde = function(e) {
|
|
|
35796
35796
|
}, colors: { scheme: "nivo" }, isInteractive: !0, debugMesh: !1, tooltip: function(e) {
|
|
35797
35797
|
var t = e.node;
|
|
35798
35798
|
return m.jsx(Gs, { id: t.serieId, value: "x: " + t.formattedX + ", y: " + t.formattedY, enableChip: !0, color: t.color });
|
|
35799
|
-
}, markers: [], legends: [], annotations: [] },
|
|
35799
|
+
}, markers: [], legends: [], annotations: [] }, Mn = Dr({}, uM, { blendMode: "normal", layers: ["grid", "axes", "nodes", "markers", "mesh", "legends", "annotations"], role: "img", useMesh: !0, animate: !0, motionConfig: "default" }), fr = Dr({}, uM, { layers: ["grid", "axes", "nodes", "mesh", "legends", "annotations"], pixelRatio: typeof window < "u" && window.devicePixelRatio || 1, renderNode: function(e, t) {
|
|
35800
35800
|
e.beginPath(), e.arc(t.x, t.y, t.size / 2, 0, 2 * Math.PI), e.fillStyle = t.color, e.fill();
|
|
35801
35801
|
} }), pde = function(e) {
|
|
35802
35802
|
var t = e.nodes, n = e.annotations, r = cM(t, n);
|
|
@@ -35834,7 +35834,7 @@ var gde = function(e) {
|
|
|
35834
35834
|
}, [s]);
|
|
35835
35835
|
return m.jsx(iM, { nodes: t, width: n, height: r, onMouseEnter: h, onMouseMove: p, onMouseLeave: g, onClick: v, debug: c });
|
|
35836
35836
|
}, xde = ["isInteractive", "animate", "motionConfig", "theme", "renderWrapper"], wde = function(e) {
|
|
35837
|
-
var t = e.data, n = e.xScale, r = n === void 0 ?
|
|
35837
|
+
var t = e.data, n = e.xScale, r = n === void 0 ? Mn.xScale : n, i = e.xFormat, o = e.yScale, a = o === void 0 ? Mn.yScale : o, s = e.yFormat, l = e.width, c = e.height, u = e.margin, d = e.layers, f = d === void 0 ? Mn.layers : d, h = e.colors, p = h === void 0 ? Mn.colors : h, g = e.blendMode, v = g === void 0 ? Mn.blendMode : g, b = e.nodeId, y = b === void 0 ? Mn.nodeId : b, x = e.nodeSize, S = x === void 0 ? Mn.nodeSize : x, w = e.nodeComponent, $ = w === void 0 ? Mn.nodeComponent : w, V = e.enableGridX, _ = V === void 0 ? Mn.enableGridX : V, M = e.enableGridY, O = M === void 0 ? Mn.enableGridY : M, R = e.gridXValues, I = e.gridYValues, L = e.axisTop, E = e.axisRight, T = e.axisBottom, j = T === void 0 ? Mn.axisBottom : T, H = e.axisLeft, P = H === void 0 ? Mn.axisLeft : H, k = e.annotations, A = k === void 0 ? Mn.annotations : k, D = e.isInteractive, U = D === void 0 ? Mn.isInteractive : D, q = e.useMesh, G = q === void 0 ? Mn.useMesh : q, J = e.debugMesh, X = J === void 0 ? Mn.debugMesh : J, Y = e.onMouseEnter, Q = e.onMouseMove, B = e.onMouseLeave, W = e.onClick, Z = e.tooltip, N = Z === void 0 ? Mn.tooltip : Z, ne = e.markers, z = ne === void 0 ? Mn.markers : ne, re = e.legends, ie = re === void 0 ? Mn.legends : re, ge = e.role, ye = ge === void 0 ? Mn.role : ge, pe = e.ariaLabel, be = e.ariaLabelledBy, we = e.ariaDescribedBy, ve = ns(l, c, u), he = ve.margin, le = ve.innerWidth, $e = ve.innerHeight, fe = ve.outerWidth, Fe = ve.outerHeight, Ae = lM({ data: t, xScaleSpec: r, xFormat: i, yScaleSpec: a, yFormat: s, width: le, height: $e, nodeId: y, nodeSize: S, colors: p }), Te = Ae.xScale, je = Ae.yScale, Qe = Ae.nodes, et = Ae.legendData, Be = Se(function() {
|
|
35838
35838
|
return { xScale: Te, yScale: je, nodes: Qe, margin: he, innerWidth: le, innerHeight: $e, outerWidth: fe, outerHeight: Fe };
|
|
35839
35839
|
}, [Te, je, Qe, he, le, $e, fe, Fe]), ke = { grid: null, axes: null, nodes: null, markers: null, mesh: null, annotations: null, legends: null };
|
|
35840
35840
|
return f.includes("grid") && (ke.grid = m.jsx(J$, { width: le, height: $e, xScale: _ ? Te : null, yScale: O ? je : null, xValues: R, yValues: I }, "grid")), f.includes("axes") && (ke.axes = m.jsx(Q$, { xScale: Te, yScale: je, width: le, height: $e, top: L, right: E, bottom: j, left: P }, "axes")), f.includes("nodes") && (ke.nodes = m.jsx(yde, { nodes: Qe, nodeComponent: $, isInteractive: U, tooltip: N, blendMode: v, onMouseEnter: Y, onMouseMove: Q, onMouseLeave: B, onClick: W }, "nodes")), f.includes("markers") && (ke.markers = m.jsx(m$, { markers: z, width: le, height: $e, xScale: Te, yScale: je }, "markers")), f.includes("mesh") && U && G && (ke.mesh = m.jsx(Cde, { nodes: Qe, width: le, height: $e, onMouseEnter: Y, onMouseMove: Q, onMouseLeave: B, onClick: W, tooltip: N, debug: X }, "mesh")), f.includes("annotations") && (ke.annotations = m.jsx(pde, { nodes: Qe, annotations: A }, "annotations")), f.includes("legends") && (ke.legends = ie.map(function(tt, Ge) {
|
|
@@ -35845,7 +35845,7 @@ var gde = function(e) {
|
|
|
35845
35845
|
throw new Error("Unknown layer (" + tt + ")");
|
|
35846
35846
|
}) });
|
|
35847
35847
|
}, Sde = function(e) {
|
|
35848
|
-
var t = e.isInteractive, n = t === void 0 ?
|
|
35848
|
+
var t = e.isInteractive, n = t === void 0 ? Mn.isInteractive : t, r = e.animate, i = r === void 0 ? Mn.animate : r, o = e.motionConfig, a = o === void 0 ? Mn.motionConfig : o, s = e.theme, l = e.renderWrapper, c = sM(e, xde);
|
|
35849
35849
|
return m.jsx(rs, { animate: i, isInteractive: n, motionConfig: a, renderWrapper: l, theme: s, children: m.jsx(wde, Dr({ isInteractive: n }, c)) });
|
|
35850
35850
|
}, dM = function(e) {
|
|
35851
35851
|
return m.jsx(oa, { children: function(t) {
|
|
@@ -35853,7 +35853,7 @@ var gde = function(e) {
|
|
|
35853
35853
|
return m.jsx(Sde, Dr({ width: n, height: r }, e));
|
|
35854
35854
|
} });
|
|
35855
35855
|
}, $de = ["isInteractive", "renderWrapper", "theme"], Mde = function(e) {
|
|
35856
|
-
var t = e.data, n = e.xScale, r = n === void 0 ? fr.xScale : n, i = e.xFormat, o = e.yScale, a = o === void 0 ? fr.yScale : o, s = e.yFormat, l = e.width, c = e.height, u = e.margin, d = e.pixelRatio, f = d === void 0 ? fr.pixelRatio : d, h = e.layers, p = h === void 0 ? fr.layers : h, g = e.colors, v = g === void 0 ? fr.colors : g, b = e.nodeId, y = b === void 0 ?
|
|
35856
|
+
var t = e.data, n = e.xScale, r = n === void 0 ? fr.xScale : n, i = e.xFormat, o = e.yScale, a = o === void 0 ? fr.yScale : o, s = e.yFormat, l = e.width, c = e.height, u = e.margin, d = e.pixelRatio, f = d === void 0 ? fr.pixelRatio : d, h = e.layers, p = h === void 0 ? fr.layers : h, g = e.colors, v = g === void 0 ? fr.colors : g, b = e.nodeId, y = b === void 0 ? Mn.nodeId : b, x = e.nodeSize, S = x === void 0 ? fr.nodeSize : x, w = e.renderNode, $ = w === void 0 ? fr.renderNode : w, V = e.enableGridX, _ = V === void 0 ? fr.enableGridX : V, M = e.gridXValues, O = e.enableGridY, R = O === void 0 ? fr.enableGridY : O, I = e.gridYValues, L = e.axisTop, E = e.axisRight, T = e.axisBottom, j = T === void 0 ? fr.axisBottom : T, H = e.axisLeft, P = H === void 0 ? fr.axisLeft : H, k = e.annotations, A = k === void 0 ? fr.annotations : k, D = e.isInteractive, U = D === void 0 ? fr.isInteractive : D, q = e.debugMesh, G = q === void 0 ? fr.debugMesh : q, J = e.onMouseEnter, X = e.onMouseMove, Y = e.onMouseLeave, Q = e.onClick, B = e.tooltip, W = B === void 0 ? fr.tooltip : B, Z = e.legends, N = Z === void 0 ? fr.legends : Z, ne = e.canvasRef, z = Le(null), re = Qt(), ie = pt(null), ge = ie[0], ye = ie[1], pe = ns(l, c, u), be = pe.margin, we = pe.innerWidth, ve = pe.innerHeight, he = pe.outerWidth, le = pe.outerHeight, $e = lM({ data: t, xScaleSpec: r, xFormat: i, yScaleSpec: a, yFormat: s, width: we, height: ve, nodeId: y, nodeSize: S, colors: v }), fe = $e.xScale, Fe = $e.yScale, Ae = $e.nodes, Te = $e.legendData, je = cM(Ae, A), Qe = Wh({ points: Ae, width: we, height: ve, debug: G }), et = Qe.delaunay, Be = Qe.voronoi, ke = Se(function() {
|
|
35857
35857
|
return { xScale: fe, yScale: Fe, nodes: Ae, margin: be, innerWidth: we, innerHeight: ve, outerWidth: he, outerHeight: le };
|
|
35858
35858
|
}, [fe, Fe, Ae, be, we, ve, he, le]);
|
|
35859
35859
|
St(function() {
|
|
@@ -35920,7 +35920,7 @@ const Ede = ({ x1: e, x2: t, y1: n, y2: r }) => (
|
|
|
35920
35920
|
strokeWidth: "3"
|
|
35921
35921
|
}
|
|
35922
35922
|
) })
|
|
35923
|
-
),
|
|
35923
|
+
), J7e = ({
|
|
35924
35924
|
scatterPlotData: e,
|
|
35925
35925
|
style: t = {},
|
|
35926
35926
|
margin: n = {},
|
|
@@ -35933,7 +35933,7 @@ const Ede = ({ x1: e, x2: t, y1: n, y2: r }) => (
|
|
|
35933
35933
|
Math.min(l, u, ...d);
|
|
35934
35934
|
const f = Math.max(l, u, ...d);
|
|
35935
35935
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
35936
|
-
/* @__PURE__ */ m.jsx(
|
|
35936
|
+
/* @__PURE__ */ m.jsx($n, {}),
|
|
35937
35937
|
/* @__PURE__ */ m.jsx("div", { style: { width: "100%", height: 600, ...t }, children: /* @__PURE__ */ m.jsx(
|
|
35938
35938
|
dM,
|
|
35939
35939
|
{
|
|
@@ -36667,7 +36667,7 @@ const b2e = (e, t = 12) => {
|
|
|
36667
36667
|
b2e(s, n).width > t ? (i.push(o), o = r[a]) : o = s;
|
|
36668
36668
|
}
|
|
36669
36669
|
return i.push(o), i;
|
|
36670
|
-
},
|
|
36670
|
+
}, ehe = ({
|
|
36671
36671
|
treeMapData: e,
|
|
36672
36672
|
style: t = {},
|
|
36673
36673
|
colors: n = { scheme: "nivo" },
|
|
@@ -36771,8 +36771,8 @@ const b2e = (e, t = 12) => {
|
|
|
36771
36771
|
] });
|
|
36772
36772
|
}, w = ({ nodes: $ }) => $.map((V) => /* @__PURE__ */ m.jsx(S, { node: V }, V.id));
|
|
36773
36773
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
36774
|
-
/* @__PURE__ */ m.jsx(
|
|
36775
|
-
/* @__PURE__ */ m.jsxs(
|
|
36774
|
+
/* @__PURE__ */ m.jsx($n, {}),
|
|
36775
|
+
/* @__PURE__ */ m.jsxs(tn, { gap: 16, vertical: !0, children: [
|
|
36776
36776
|
/* @__PURE__ */ m.jsx("div", { ref: b, style: { width: "100%", height: 600, ...t }, children: /* @__PURE__ */ m.jsx(
|
|
36777
36777
|
v2e,
|
|
36778
36778
|
{
|
|
@@ -36915,7 +36915,7 @@ var M2e = function(e) {
|
|
|
36915
36915
|
}({ series: U, getPointColor: R, getPointBorderColor: I, formatX: V, formatY: _ }), J = E2e({ componentId: $, enableSlices: w, points: G, width: l, height: c });
|
|
36916
36916
|
return { legendData: D, toggleSerie: q, lineGenerator: M2e({ curve: h }), areaGenerator: _2e({ curve: h, yScale: P, areaBaselineValue: g }), getColor: M, series: U, xScale: H, yScale: P, slices: J, points: G };
|
|
36917
36917
|
}, H2e = function(e) {
|
|
36918
|
-
var t = e.areaBlendMode, n = e.areaOpacity, r = e.color, i = e.fill, o = e.path, a = Gn(), s = a.animate, l = a.config, c = q0(o), u =
|
|
36918
|
+
var t = e.areaBlendMode, n = e.areaOpacity, r = e.color, i = e.fill, o = e.path, a = Gn(), s = a.animate, l = a.config, c = q0(o), u = sn({ color: r, config: l, immediate: !s });
|
|
36919
36919
|
return m.jsx(rt.path, { d: c, fill: i || u.color, fillOpacity: n, strokeWidth: 0, style: { mixBlendMode: t } });
|
|
36920
36920
|
}, V2e = gt(function(e) {
|
|
36921
36921
|
var t = e.areaGenerator, n = e.areaOpacity, r = e.areaBlendMode, i = e.lines.slice(0).reverse();
|
|
@@ -36991,11 +36991,11 @@ var M2e = function(e) {
|
|
|
36991
36991
|
}, [f, y]);
|
|
36992
36992
|
return m.jsx(iM, { nodes: t, width: n, height: r, setCurrent: o, onMouseEnter: x, onMouseMove: S, onMouseLeave: w, onClick: $, onTouchStart: V, onTouchMove: _, onTouchEnd: M, enableTouchCrosshair: g, debug: p });
|
|
36993
36993
|
}), I2e = b$(function(e) {
|
|
36994
|
-
var t = e.data, n = e.xScale, r = n === void 0 ? { type: "point" } : n, i = e.xFormat, o = e.yScale, a = o === void 0 ? { type: "linear", min: 0, max: "auto" } : o, s = e.yFormat, l = e.layers, c = l === void 0 ? ["grid", "markers", "axes", "areas", "crosshair", "lines", "points", "slices", "mesh", "legends"] : l, u = e.curve, d = u === void 0 ? "linear" : u, f = e.areaBaselineValue, h = f === void 0 ? 0 : f, p = e.colors, g = p === void 0 ? { scheme: "nivo" } : p, v = e.margin, b = e.width, y = e.height, x = e.axisTop, S = e.axisRight, w = e.axisBottom, $ = w === void 0 ? {} : w, V = e.axisLeft, _ = V === void 0 ? {} : V, M = e.enableGridX, O = M === void 0 || M, R = e.enableGridY, I = R === void 0 || R, L = e.gridXValues, E = e.gridYValues, T = e.lineWidth, j = T === void 0 ? 2 : T, H = e.enableArea, P = H !== void 0 && H, k = e.areaOpacity, A = k === void 0 ? 0.2 : k, D = e.areaBlendMode, U = D === void 0 ? "normal" : D, q = e.enablePoints, G = q === void 0 || q, J = e.pointSymbol, X = e.pointSize, Y = X === void 0 ? 6 : X, Q = e.pointColor, B = Q === void 0 ? { from: "color" } : Q, W = e.pointBorderWidth, Z = W === void 0 ? 0 : W, N = e.pointBorderColor, ne = N === void 0 ? { theme: "background" } : N, z = e.enablePointLabel, re = z !== void 0 && z, ie = e.pointLabel, ge = ie === void 0 ? "data.yFormatted" : ie, ye = e.pointLabelYOffset, pe = e.defs, be = pe === void 0 ? [] : pe, we = e.fill, ve = we === void 0 ? [] : we, he = e.markers, le = e.legends, $e = le === void 0 ? [] : le, fe = e.isInteractive, Fe = fe === void 0 || fe, Ae = e.useMesh, Te = Ae !== void 0 && Ae, je = e.debugMesh, Qe = je !== void 0 && je, et = e.onMouseEnter, Be = e.onMouseMove, ke = e.onMouseLeave, tt = e.onClick, Ge = e.onTouchStart, Ke = e.onTouchMove, ue = e.onTouchEnd, Ee = e.tooltip, Je = Ee === void 0 ? Gh : Ee, ot = e.enableSlices, De = ot !== void 0 && ot, Ze = e.debugSlices, We = Ze !== void 0 && Ze, nt = e.sliceTooltip, it = nt === void 0 ? LM : nt, Ue = e.enableCrosshair, Pe = Ue === void 0 || Ue, ft = e.crosshairType, wt = ft === void 0 ? "bottom-left" : ft, Oe = e.enableTouchCrosshair, de = Oe !== void 0 && Oe, xe = e.role, He = xe === void 0 ? "img" : xe, Xe = ns(b, y, v), qe = Xe.margin, at = Xe.innerWidth, K = Xe.innerHeight, oe = Xe.outerWidth, ae = Xe.outerHeight, Ve = kM({ data: t, xScale: r, xFormat: i, yScale: a, yFormat: s, width: at, height: K, colors: g, curve: d, areaBaselineValue: h, pointColor: B, pointBorderColor: ne, enableSlices: De }), st = Ve.legendData, ct = Ve.toggleSerie, ut = Ve.lineGenerator, mt = Ve.areaGenerator, me = Ve.series, Ce = Ve.xScale, Re = Ve.yScale, lt = Ve.slices, Ct = Ve.points, Et = Qt(), bt = Nr(B, Et), kt = Nr(ne, Et), fn = pt(null),
|
|
36994
|
+
var t = e.data, n = e.xScale, r = n === void 0 ? { type: "point" } : n, i = e.xFormat, o = e.yScale, a = o === void 0 ? { type: "linear", min: 0, max: "auto" } : o, s = e.yFormat, l = e.layers, c = l === void 0 ? ["grid", "markers", "axes", "areas", "crosshair", "lines", "points", "slices", "mesh", "legends"] : l, u = e.curve, d = u === void 0 ? "linear" : u, f = e.areaBaselineValue, h = f === void 0 ? 0 : f, p = e.colors, g = p === void 0 ? { scheme: "nivo" } : p, v = e.margin, b = e.width, y = e.height, x = e.axisTop, S = e.axisRight, w = e.axisBottom, $ = w === void 0 ? {} : w, V = e.axisLeft, _ = V === void 0 ? {} : V, M = e.enableGridX, O = M === void 0 || M, R = e.enableGridY, I = R === void 0 || R, L = e.gridXValues, E = e.gridYValues, T = e.lineWidth, j = T === void 0 ? 2 : T, H = e.enableArea, P = H !== void 0 && H, k = e.areaOpacity, A = k === void 0 ? 0.2 : k, D = e.areaBlendMode, U = D === void 0 ? "normal" : D, q = e.enablePoints, G = q === void 0 || q, J = e.pointSymbol, X = e.pointSize, Y = X === void 0 ? 6 : X, Q = e.pointColor, B = Q === void 0 ? { from: "color" } : Q, W = e.pointBorderWidth, Z = W === void 0 ? 0 : W, N = e.pointBorderColor, ne = N === void 0 ? { theme: "background" } : N, z = e.enablePointLabel, re = z !== void 0 && z, ie = e.pointLabel, ge = ie === void 0 ? "data.yFormatted" : ie, ye = e.pointLabelYOffset, pe = e.defs, be = pe === void 0 ? [] : pe, we = e.fill, ve = we === void 0 ? [] : we, he = e.markers, le = e.legends, $e = le === void 0 ? [] : le, fe = e.isInteractive, Fe = fe === void 0 || fe, Ae = e.useMesh, Te = Ae !== void 0 && Ae, je = e.debugMesh, Qe = je !== void 0 && je, et = e.onMouseEnter, Be = e.onMouseMove, ke = e.onMouseLeave, tt = e.onClick, Ge = e.onTouchStart, Ke = e.onTouchMove, ue = e.onTouchEnd, Ee = e.tooltip, Je = Ee === void 0 ? Gh : Ee, ot = e.enableSlices, De = ot !== void 0 && ot, Ze = e.debugSlices, We = Ze !== void 0 && Ze, nt = e.sliceTooltip, it = nt === void 0 ? LM : nt, Ue = e.enableCrosshair, Pe = Ue === void 0 || Ue, ft = e.crosshairType, wt = ft === void 0 ? "bottom-left" : ft, Oe = e.enableTouchCrosshair, de = Oe !== void 0 && Oe, xe = e.role, He = xe === void 0 ? "img" : xe, Xe = ns(b, y, v), qe = Xe.margin, at = Xe.innerWidth, K = Xe.innerHeight, oe = Xe.outerWidth, ae = Xe.outerHeight, Ve = kM({ data: t, xScale: r, xFormat: i, yScale: a, yFormat: s, width: at, height: K, colors: g, curve: d, areaBaselineValue: h, pointColor: B, pointBorderColor: ne, enableSlices: De }), st = Ve.legendData, ct = Ve.toggleSerie, ut = Ve.lineGenerator, mt = Ve.areaGenerator, me = Ve.series, Ce = Ve.xScale, Re = Ve.yScale, lt = Ve.slices, Ct = Ve.points, Et = Qt(), bt = Nr(B, Et), kt = Nr(ne, Et), fn = pt(null), Wt = fn[0], Cn = fn[1], br = pt(null), Ut = br[0], Nn = br[1], dt = { grid: m.jsx(J$, { theme: Et, width: at, height: K, xScale: O ? Ce : null, yScale: I ? Re : null, xValues: L, yValues: E }, "grid"), markers: m.jsx(m$, { markers: he, width: at, height: K, xScale: Ce, yScale: Re, theme: Et }, "markers"), axes: m.jsx(Q$, { xScale: Ce, yScale: Re, width: at, height: K, theme: Et, top: x, right: S, bottom: $, left: _ }, "axes"), areas: null, lines: m.jsx(R2e, { lines: me, lineGenerator: ut, lineWidth: j }, "lines"), slices: null, points: null, crosshair: null, mesh: null, legends: $e.map(function(mn, xn) {
|
|
36995
36995
|
return m.jsx(Y0, Sr({}, mn, { containerWidth: at, containerHeight: K, data: mn.data || st, theme: Et, toggleSerie: mn.toggleSerie ? ct : void 0 }), "legend." + xn);
|
|
36996
36996
|
}) }, jn = Ah(be, me, ve);
|
|
36997
|
-
return P && (dt.areas = m.jsx(V2e, { areaGenerator: mt, areaOpacity: A, areaBlendMode: U, lines: me }, "areas")), Fe && De !== !1 && (dt.slices = m.jsx(j2e, { slices: lt, axis: De, debug: We, height: K, tooltip: it, current: Ut, setCurrent: Nn, onMouseEnter: et, onMouseMove: Be, onMouseLeave: ke, onClick: tt, onTouchStart: Ge, onTouchMove: Ke, onTouchEnd: ue }, "slices")), G && (dt.points = m.jsx(k2e, { points: Ct, symbol: J, size: Y, color: bt, borderWidth: Z, borderColor: kt, enableLabel: re, label: ge, labelYOffset: ye }, "points")), Fe && Pe && (
|
|
36998
|
-
return typeof mn == "function" ? m.jsx(Xr, { children: mn(Sr({}, e, { innerWidth: at, innerHeight: K, series: me, slices: lt, points: Ct, xScale: Ce, yScale: Re, lineGenerator: ut, areaGenerator: mt, currentPoint:
|
|
36997
|
+
return P && (dt.areas = m.jsx(V2e, { areaGenerator: mt, areaOpacity: A, areaBlendMode: U, lines: me }, "areas")), Fe && De !== !1 && (dt.slices = m.jsx(j2e, { slices: lt, axis: De, debug: We, height: K, tooltip: it, current: Ut, setCurrent: Nn, onMouseEnter: et, onMouseMove: Be, onMouseLeave: ke, onClick: tt, onTouchStart: Ge, onTouchMove: Ke, onTouchEnd: ue }, "slices")), G && (dt.points = m.jsx(k2e, { points: Ct, symbol: J, size: Y, color: bt, borderWidth: Z, borderColor: kt, enableLabel: re, label: ge, labelYOffset: ye }, "points")), Fe && Pe && (Wt !== null && (dt.crosshair = m.jsx(O4, { width: at, height: K, x: Wt.x, y: Wt.y, type: wt }, "crosshair")), Ut !== null && (dt.crosshair = m.jsx(O4, { width: at, height: K, x: Ut.x, y: Ut.y, type: De }, "crosshair"))), Fe && Te && De === !1 && (dt.mesh = m.jsx(P2e, { points: Ct, width: at, height: K, margin: qe, current: Wt, setCurrent: Cn, onMouseEnter: et, onMouseMove: Be, onMouseLeave: ke, onClick: tt, onTouchStart: Ge, onTouchMove: Ke, onTouchEnd: ue, tooltip: Je, enableTouchCrosshair: de, debug: Qe }, "mesh")), m.jsx(Ll, { defs: jn, width: oe, height: ae, margin: qe, role: He, children: c.map(function(mn, xn) {
|
|
36998
|
+
return typeof mn == "function" ? m.jsx(Xr, { children: mn(Sr({}, e, { innerWidth: at, innerHeight: K, series: me, slices: lt, points: Ct, xScale: Ce, yScale: Re, lineGenerator: ut, areaGenerator: mt, currentPoint: Wt, setCurrentPoint: Cn, currentSlice: Ut, setCurrentSlice: Nn })) }, xn) : dt[mn];
|
|
36999
36999
|
}) });
|
|
37000
37000
|
}), A2e = function(e) {
|
|
37001
37001
|
return m.jsx(oa, { children: function(t) {
|
|
@@ -37057,7 +37057,7 @@ mr(function(e, t) {
|
|
|
37057
37057
|
return m.jsx(F2e, Sr({ width: r, height: i }, e, { ref: t }));
|
|
37058
37058
|
} });
|
|
37059
37059
|
});
|
|
37060
|
-
const D2e =
|
|
37060
|
+
const D2e = Bt.span`
|
|
37061
37061
|
font: var(--gf-label-md-default);
|
|
37062
37062
|
color: var(--gf-color-text-secondary);
|
|
37063
37063
|
`, Lm = {
|
|
@@ -37080,7 +37080,7 @@ const D2e = Zt.span`
|
|
|
37080
37080
|
G: "Verbranden",
|
|
37081
37081
|
H: "Storten",
|
|
37082
37082
|
I: "Opslag"
|
|
37083
|
-
}, B2e = () => /* @__PURE__ */ m.jsx("div", { style: { marginTop: 10, marginLeft: 10, whiteSpace: "nowrap" }, children: Object.keys(Lm).map((e, t) => /* @__PURE__ */ m.jsxs(
|
|
37083
|
+
}, B2e = () => /* @__PURE__ */ m.jsx("div", { style: { marginTop: 10, marginLeft: 10, whiteSpace: "nowrap" }, children: Object.keys(Lm).map((e, t) => /* @__PURE__ */ m.jsxs(tn, { gap: 8, align: "center", children: [
|
|
37084
37084
|
/* @__PURE__ */ m.jsx(
|
|
37085
37085
|
"div",
|
|
37086
37086
|
{
|
|
@@ -37093,7 +37093,7 @@ const D2e = Zt.span`
|
|
|
37093
37093
|
}
|
|
37094
37094
|
),
|
|
37095
37095
|
/* @__PURE__ */ m.jsx(D2e, { children: `${e} ${z2e[e]}` })
|
|
37096
|
-
] }, `legend-${t}`)) }),
|
|
37096
|
+
] }, `legend-${t}`)) }), the = ({
|
|
37097
37097
|
trendsData: e,
|
|
37098
37098
|
height: t = null,
|
|
37099
37099
|
margin: n = {},
|
|
@@ -37102,7 +37102,7 @@ const D2e = Zt.span`
|
|
|
37102
37102
|
yLeg: o,
|
|
37103
37103
|
tooltip: a = null
|
|
37104
37104
|
}) => /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
37105
|
-
/* @__PURE__ */ m.jsx(
|
|
37105
|
+
/* @__PURE__ */ m.jsx($n, {}),
|
|
37106
37106
|
/* @__PURE__ */ m.jsxs(Wo, { style: { width: "100%" }, children: [
|
|
37107
37107
|
/* @__PURE__ */ m.jsx(Or, { span: 6, children: /* @__PURE__ */ m.jsx(B2e, {}) }),
|
|
37108
37108
|
/* @__PURE__ */ m.jsx(Or, { span: 18, children: /* @__PURE__ */ m.jsx("div", { style: { width: "100%", height: t || 600 }, children: /* @__PURE__ */ m.jsx(
|
|
@@ -37146,12 +37146,12 @@ const D2e = Zt.span`
|
|
|
37146
37146
|
}
|
|
37147
37147
|
) }) })
|
|
37148
37148
|
] })
|
|
37149
|
-
] }), W2e =
|
|
37149
|
+
] }), W2e = Bt.h3`
|
|
37150
37150
|
color: var(--gf-color-button-primary);
|
|
37151
|
-
`,
|
|
37151
|
+
`, nhe = ({ selectors: e, setter: t, style: n }) => {
|
|
37152
37152
|
const r = 24 / e.length;
|
|
37153
37153
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
37154
|
-
/* @__PURE__ */ m.jsx(
|
|
37154
|
+
/* @__PURE__ */ m.jsx($n, {}),
|
|
37155
37155
|
/* @__PURE__ */ m.jsx($1, { cardtype: "default", style: { width: "100%", ...n }, children: /* @__PURE__ */ m.jsx(Wo, { gutter: 20, children: e.map(
|
|
37156
37156
|
(i, o) => /* @__PURE__ */ m.jsxs(Or, { span: r, children: [
|
|
37157
37157
|
/* @__PURE__ */ m.jsx(W2e, { children: i.title }),
|
|
@@ -37169,7 +37169,7 @@ const D2e = Zt.span`
|
|
|
37169
37169
|
] }, `col-${o}`)
|
|
37170
37170
|
) }) })
|
|
37171
37171
|
] });
|
|
37172
|
-
}, W2 =
|
|
37172
|
+
}, W2 = Bt.span`
|
|
37173
37173
|
font: var(--gf-label-md-default);
|
|
37174
37174
|
color: var(--gf-color-text-secondary);
|
|
37175
37175
|
`, sc = {
|
|
@@ -37192,7 +37192,7 @@ const D2e = Zt.span`
|
|
|
37192
37192
|
G: "Verbranden",
|
|
37193
37193
|
H: "Storten",
|
|
37194
37194
|
I: "Opslag"
|
|
37195
|
-
},
|
|
37195
|
+
}, rhe = ({
|
|
37196
37196
|
data: e,
|
|
37197
37197
|
margin: t = {},
|
|
37198
37198
|
height: n = null,
|
|
@@ -37228,7 +37228,7 @@ const D2e = Zt.span`
|
|
|
37228
37228
|
]
|
|
37229
37229
|
}
|
|
37230
37230
|
) }) });
|
|
37231
|
-
}, g = ({ nodes: b }) => b.map((y) => /* @__PURE__ */ m.jsx(p, { node: y }, y.id)), v = () => /* @__PURE__ */ m.jsx("div", { style: { marginTop: 10, marginLeft: 10, whiteSpace: "nowrap" }, children: Object.keys(sc).map((b, y) => /* @__PURE__ */ m.jsxs(
|
|
37231
|
+
}, g = ({ nodes: b }) => b.map((y) => /* @__PURE__ */ m.jsx(p, { node: y }, y.id)), v = () => /* @__PURE__ */ m.jsx("div", { style: { marginTop: 10, marginLeft: 10, whiteSpace: "nowrap" }, children: Object.keys(sc).map((b, y) => /* @__PURE__ */ m.jsxs(tn, { gap: 8, align: "center", children: [
|
|
37232
37232
|
/* @__PURE__ */ m.jsx(
|
|
37233
37233
|
"div",
|
|
37234
37234
|
{
|
|
@@ -37243,7 +37243,7 @@ const D2e = Zt.span`
|
|
|
37243
37243
|
/* @__PURE__ */ m.jsx(W2, { children: `${b} ${Z2e[b]}` })
|
|
37244
37244
|
] }, `legend-${y}`)) });
|
|
37245
37245
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
37246
|
-
/* @__PURE__ */ m.jsx(
|
|
37246
|
+
/* @__PURE__ */ m.jsx($n, {}),
|
|
37247
37247
|
/* @__PURE__ */ m.jsxs(Wo, { style: { width: "100%" }, children: [
|
|
37248
37248
|
/* @__PURE__ */ m.jsx(Or, { span: 8, children: /* @__PURE__ */ m.jsx(v, {}) }),
|
|
37249
37249
|
/* @__PURE__ */ m.jsx(Or, { span: 16, children: /* @__PURE__ */ m.jsx(
|
|
@@ -37619,7 +37619,7 @@ var s3e = { pointerEvents: "none", position: "absolute", zIndex: 10, top: 0, lef
|
|
|
37619
37619
|
}, PM = gt(function(e) {
|
|
37620
37620
|
var t, n = e.position, r = e.anchor, i = e.children, o = Bn(), a = wi(), s = a.animate, l = a.config, c = BM(), u = c[0], d = c[1], f = Le(!1), h = void 0, p = !1, g = d.width > 0 && d.height > 0, v = Math.round(n[0]), b = Math.round(n[1]);
|
|
37621
37621
|
g && (r === "top" ? (v -= d.width / 2, b -= d.height + 14) : r === "right" ? (v += 14, b -= d.height / 2) : r === "bottom" ? (v -= d.width / 2, b += 14) : r === "left" ? (v -= d.width + 14, b -= d.height / 2) : r === "center" && (v -= d.width / 2, b -= d.height / 2), h = { transform: jm(v, b) }, f.current || (p = !0), f.current = [v, b]);
|
|
37622
|
-
var y =
|
|
37622
|
+
var y = sn({ to: h, config: l, immediate: !s || p }), x = Fa({}, s3e, o.tooltip.wrapper, { transform: (t = y.transform) != null ? t : jm(v, b), opacity: y.transform ? 1 : 0 });
|
|
37623
37623
|
return m.jsx(rt.div, { ref: u, style: x, children: i });
|
|
37624
37624
|
});
|
|
37625
37625
|
PM.displayName = "TooltipWrapper";
|
|
@@ -37646,7 +37646,7 @@ d3e.displayName = "TableTooltip";
|
|
|
37646
37646
|
var r5 = gt(function(e) {
|
|
37647
37647
|
var t = e.x0, n = e.x1, r = e.y0, i = e.y1, o = Bn(), a = wi(), s = a.animate, l = a.config, c = Se(function() {
|
|
37648
37648
|
return Fa({}, o.crosshair.line, { pointerEvents: "none" });
|
|
37649
|
-
}, [o.crosshair.line]), u =
|
|
37649
|
+
}, [o.crosshair.line]), u = sn({ x1: t, x2: n, y1: r, y2: i, config: l, immediate: !s });
|
|
37650
37650
|
return m.jsx(rt.line, Fa({}, u, { fill: "none", style: c }));
|
|
37651
37651
|
});
|
|
37652
37652
|
r5.displayName = "CrosshairLine";
|
|
@@ -37709,7 +37709,7 @@ var y3e = ["axis.ticks.text", "axis.legend.text", "legends.title.text", "legends
|
|
|
37709
37709
|
}, x3e = function(e, t) {
|
|
37710
37710
|
var n = Q6({}, e, t);
|
|
37711
37711
|
return y3e.forEach(function(r) {
|
|
37712
|
-
gi(n, r, C3e(
|
|
37712
|
+
gi(n, r, C3e(En(n, r), n.text));
|
|
37713
37713
|
}), n;
|
|
37714
37714
|
}, FM = Jn(), DM = function(e) {
|
|
37715
37715
|
var t = e.children, n = e.animate, r = n === void 0 || n, i = e.config, o = i === void 0 ? "default" : i, a = Se(function() {
|
|
@@ -37729,7 +37729,7 @@ var wi = function() {
|
|
|
37729
37729
|
}, [s]), l.current;
|
|
37730
37730
|
}(e), o = Se(function() {
|
|
37731
37731
|
return j0(i, e);
|
|
37732
|
-
}, [i, e]), a =
|
|
37732
|
+
}, [i, e]), a = sn({ from: { value: 0 }, to: { value: 1 }, reset: !0, config: r, immediate: !n }).value;
|
|
37733
37733
|
return An(a, o);
|
|
37734
37734
|
}, S3e = { nivo: ["#d76445", "#f47560", "#e8c1a0", "#97e3d5", "#61cdbb", "#00b0a7"], BrBG: ce(Ai), PRGn: ce(Ni), PiYG: ce(Fi), PuOr: ce(Di), RdBu: ce(zi), RdGy: ce(Bi), RdYlBu: ce(Wi), RdYlGn: ce(Zi), spectral: ce(Ui), blues: ce(oo), greens: ce(ao), greys: ce(so), oranges: ce(uo), purples: ce(lo), reds: ce(co), BuGn: ce(qi), BuPu: ce(Gi), GnBu: ce(Yi), OrRd: ce(Ki), PuBuGn: ce(Xi), PuBu: ce(Qi), PuRd: ce(Ji), RdPu: ce(eo), YlGnBu: ce(to), YlGn: ce(no), YlOrBr: ce(ro), YlOrRd: ce(io) }, $3e = Object.keys(S3e);
|
|
37735
37735
|
ce(Ai), ce(Ni), ce(Fi), ce(Di), ce(zi), ce(Bi), ce(Wi), ce(Zi), ce(Ui), ce(oo), ce(ao), ce(so), ce(uo), ce(lo), ce(co), ce(qi), ce(Gi), ce(Yi), ce(Ki), ce(Xi), ce(Qi), ce(Ji), ce(eo), ce(to), ce(no), ce(ro), ce(io);
|
|
@@ -37865,7 +37865,7 @@ var QM = function(e) {
|
|
|
37865
37865
|
};
|
|
37866
37866
|
QM.propTypes = { size: F.number.isRequired, color: F.string.isRequired, borderWidth: F.number.isRequired, borderColor: F.string.isRequired };
|
|
37867
37867
|
var F3e = gt(QM), JM = function(e) {
|
|
37868
|
-
var t = e.x, n = e.y, r = e.symbol, i = r === void 0 ? F3e : r, o = e.size, a = e.datum, s = e.color, l = e.borderWidth, c = e.borderColor, u = e.label, d = e.labelTextAnchor, f = d === void 0 ? "middle" : d, h = e.labelYOffset, p = h === void 0 ? -12 : h, g = Bn(), v = wi(), b = v.animate, y = v.config, x =
|
|
37868
|
+
var t = e.x, n = e.y, r = e.symbol, i = r === void 0 ? F3e : r, o = e.size, a = e.datum, s = e.color, l = e.borderWidth, c = e.borderColor, u = e.label, d = e.labelTextAnchor, f = d === void 0 ? "middle" : d, h = e.labelYOffset, p = h === void 0 ? -12 : h, g = Bn(), v = wi(), b = v.animate, y = v.config, x = sn({ transform: "translate(" + t + ", " + n + ")", config: y, immediate: !b });
|
|
37869
37869
|
return m.jsxs(rt.g, { transform: x.transform, style: { pointerEvents: "none" }, children: [Mt(i, { size: o, color: s, datum: a, borderWidth: l, borderColor: c }), u && m.jsx("text", { textAnchor: f, y: p, style: Qh(g.dots.text), children: u })] });
|
|
37870
37870
|
};
|
|
37871
37871
|
JM.propTypes = { x: F.number.isRequired, y: F.number.isRequired, datum: F.object.isRequired, size: F.number.isRequired, color: F.string.isRequired, borderWidth: F.number.isRequired, borderColor: F.string.isRequired, symbol: F.oneOfType([F.func, F.object]), label: F.oneOfType([F.string, F.number]), labelTextAnchor: F.oneOf(["start", "middle", "end"]), labelYOffset: F.number };
|
|
@@ -37941,7 +37941,7 @@ var D3e = gt(e_), t_ = function(e) {
|
|
|
37941
37941
|
t_.propTypes = { width: F.number.isRequired, height: F.number.isRequired, xScale: F.func.isRequired, yScale: F.func.isRequired, markers: F.arrayOf(F.shape({ axis: F.oneOf(["x", "y"]).isRequired, value: F.oneOfType([F.number, F.string, F.instanceOf(Date)]).isRequired, lineStyle: F.object, textStyle: F.object })) };
|
|
37942
37942
|
var z3e = gt(t_), n_ = function(e) {
|
|
37943
37943
|
return ul(e) ? e : function(t) {
|
|
37944
|
-
return
|
|
37944
|
+
return En(t, e);
|
|
37945
37945
|
};
|
|
37946
37946
|
}, Z2 = function(e) {
|
|
37947
37947
|
return Se(function() {
|
|
@@ -37956,7 +37956,7 @@ var z3e = gt(t_), n_ = function(e) {
|
|
|
37956
37956
|
if (e === "*") return !0;
|
|
37957
37957
|
if (ul(e)) return e(t);
|
|
37958
37958
|
if (na(e)) {
|
|
37959
|
-
var r = n ?
|
|
37959
|
+
var r = n ? En(t, n) : t;
|
|
37960
37960
|
return e$(US(r, Object.keys(e)), e);
|
|
37961
37961
|
}
|
|
37962
37962
|
return !1;
|
|
@@ -37971,14 +37971,14 @@ var z3e = gt(t_), n_ = function(e) {
|
|
|
37971
37971
|
});
|
|
37972
37972
|
if (y) {
|
|
37973
37973
|
if (Z3e.includes(y.type)) if (y.background === "inherit" || y.color === "inherit") {
|
|
37974
|
-
var x =
|
|
37974
|
+
var x = En(f, s), S = y.background, w = y.color, $ = v;
|
|
37975
37975
|
y.background === "inherit" && ($ = $ + ".bg." + x, S = x), y.color === "inherit" && ($ = $ + ".fg." + x, w = x), gi(f, c, "url(#" + $ + ")"), d[$] || (u.push(mi({}, y, { id: $, background: S, color: w })), d[$] = 1);
|
|
37976
37976
|
} else gi(f, c, "url(#" + v + ")");
|
|
37977
37977
|
else if (W3e.includes(y.type))
|
|
37978
37978
|
if (y.colors.map(function(O) {
|
|
37979
37979
|
return O.color;
|
|
37980
37980
|
}).includes("inherit")) {
|
|
37981
|
-
var V =
|
|
37981
|
+
var V = En(f, s), _ = v, M = mi({}, y, { colors: y.colors.map(function(O, R) {
|
|
37982
37982
|
return O.color !== "inherit" ? O : (_ = _ + "." + R + "." + V, mi({}, O, { color: O.color === "inherit" ? V : O.color }));
|
|
37983
37983
|
}) });
|
|
37984
37984
|
M.id = _, gi(f, c, "url(#" + _ + ")"), d[_] || (u.push(M), d[_] = 1);
|
|
@@ -38185,7 +38185,7 @@ var a_ = function(e) {
|
|
|
38185
38185
|
var k, A = 0, D = 0, U = 0;
|
|
38186
38186
|
t === "y" ? (U = -90, A = _, $ === "start" ? (k = "start", D = s) : $ === "middle" ? (k = "middle", D = s / 2) : $ === "end" && (k = "end")) : (D = _, $ === "start" ? k = "start" : $ === "middle" ? (k = "middle", A = s / 2) : $ === "end" && (k = "end", A = s)), P = m.jsxs(m.Fragment, { children: [I.outlineWidth > 0 && m.jsx("text", { transform: "translate(" + A + ", " + D + ") rotate(" + U + ")", textAnchor: k, style: ti({ dominantBaseline: "central" }, I), strokeWidth: 2 * I.outlineWidth, stroke: I.outlineColor, strokeLinejoin: "round", children: S }), m.jsx("text", { transform: "translate(" + A + ", " + D + ") rotate(" + U + ")", textAnchor: k, style: ti({ dominantBaseline: "central" }, I), children: S })] });
|
|
38187
38187
|
}
|
|
38188
|
-
var q = wi(), G = q.animate, J = q.config, X =
|
|
38188
|
+
var q = wi(), G = q.animate, J = q.config, X = sn({ transform: "translate(" + i + "," + a + ")", lineX2: t === "x" ? s : 0, lineY2: t === "x" ? 0 : s, config: J, immediate: !G }), Y = ze(function(W) {
|
|
38189
38189
|
return { opacity: 1, transform: "translate(" + W.x + "," + W.y + ")", textTransform: "translate(" + W.textX + "," + W.textY + ") rotate(" + g + ")" };
|
|
38190
38190
|
}, [g]), Q = ze(function(W) {
|
|
38191
38191
|
return { opacity: 0, transform: "translate(" + W.x + "," + W.y + ")", textTransform: "translate(" + W.textX + "," + W.textY + ") rotate(" + g + ")" };
|
|
@@ -38333,7 +38333,7 @@ var u5 = { dotSize: 4, noteWidth: 120, noteTextOffset: 8, animate: !0 }, v4e = f
|
|
|
38333
38333
|
return c_(e);
|
|
38334
38334
|
}, [e]);
|
|
38335
38335
|
}, x4e = function(e) {
|
|
38336
|
-
var t = e.datum, n = e.x, r = e.y, i = e.note, o = Bn(), a = wi(), s = a.animate, l = a.config, c =
|
|
38336
|
+
var t = e.datum, n = e.x, r = e.y, i = e.note, o = Bn(), a = wi(), s = a.animate, l = a.config, c = sn({ x: n, y: r, config: l, immediate: !s });
|
|
38337
38337
|
return typeof i == "function" ? Mt(i, { x: n, y: r, datum: t }) : m.jsxs(m.Fragment, { children: [o.annotations.text.outlineWidth > 0 && m.jsx(rt.text, { x: c.x, y: c.y, style: ki({}, o.annotations.text, { strokeLinejoin: "round", strokeWidth: 2 * o.annotations.text.outlineWidth, stroke: o.annotations.text.outlineColor }), children: i }), m.jsx(rt.text, { x: c.x, y: c.y, style: as(o.annotations.text, ["outlineWidth", "outlineColor"]), children: i })] });
|
|
38338
38338
|
}, Im = function(e) {
|
|
38339
38339
|
var t = e.points, n = e.isOutline, r = n !== void 0 && n, i = Bn(), o = Se(function() {
|
|
@@ -38346,13 +38346,13 @@ var u5 = { dotSize: 4, noteWidth: 120, noteTextOffset: 8, animate: !0 }, v4e = f
|
|
|
38346
38346
|
var s = ki({}, i.annotations.link);
|
|
38347
38347
|
return r && (s.strokeLinecap = "square", s.strokeWidth = i.annotations.link.strokeWidth + 2 * i.annotations.link.outlineWidth, s.stroke = i.annotations.link.outlineColor, s.opacity = i.annotations.link.outlineOpacity), m.jsx(rt.path, { fill: "none", d: a, style: s });
|
|
38348
38348
|
}, w4e = function(e) {
|
|
38349
|
-
var t = e.x, n = e.y, r = e.size, i = Bn(), o = wi(), a = o.animate, s = o.config, l =
|
|
38349
|
+
var t = e.x, n = e.y, r = e.size, i = Bn(), o = wi(), a = o.animate, s = o.config, l = sn({ x: t, y: n, radius: r / 2, config: s, immediate: !a });
|
|
38350
38350
|
return m.jsxs(m.Fragment, { children: [i.annotations.outline.outlineWidth > 0 && m.jsx(rt.circle, { cx: l.x, cy: l.y, r: l.radius, style: ki({}, i.annotations.outline, { fill: "none", strokeWidth: i.annotations.outline.strokeWidth + 2 * i.annotations.outline.outlineWidth, stroke: i.annotations.outline.outlineColor, opacity: i.annotations.outline.outlineOpacity }) }), m.jsx(rt.circle, { cx: l.x, cy: l.y, r: l.radius, style: i.annotations.outline })] });
|
|
38351
38351
|
}, S4e = function(e) {
|
|
38352
|
-
var t = e.x, n = e.y, r = e.size, i = r === void 0 ? u5.dotSize : r, o = Bn(), a = wi(), s = a.animate, l = a.config, c =
|
|
38352
|
+
var t = e.x, n = e.y, r = e.size, i = r === void 0 ? u5.dotSize : r, o = Bn(), a = wi(), s = a.animate, l = a.config, c = sn({ x: t, y: n, radius: i / 2, config: l, immediate: !s });
|
|
38353
38353
|
return m.jsxs(m.Fragment, { children: [o.annotations.outline.outlineWidth > 0 && m.jsx(rt.circle, { cx: c.x, cy: c.y, r: c.radius, style: ki({}, o.annotations.outline, { fill: "none", strokeWidth: 2 * o.annotations.outline.outlineWidth, stroke: o.annotations.outline.outlineColor, opacity: o.annotations.outline.outlineOpacity }) }), m.jsx(rt.circle, { cx: c.x, cy: c.y, r: c.radius, style: o.annotations.symbol })] });
|
|
38354
38354
|
}, $4e = function(e) {
|
|
38355
|
-
var t = e.x, n = e.y, r = e.width, i = e.height, o = e.borderRadius, a = o === void 0 ? 6 : o, s = Bn(), l = wi(), c = l.animate, u = l.config, d =
|
|
38355
|
+
var t = e.x, n = e.y, r = e.width, i = e.height, o = e.borderRadius, a = o === void 0 ? 6 : o, s = Bn(), l = wi(), c = l.animate, u = l.config, d = sn({ x: t - r / 2, y: n - i / 2, width: r, height: i, config: u, immediate: !c });
|
|
38356
38356
|
return m.jsxs(m.Fragment, { children: [s.annotations.outline.outlineWidth > 0 && m.jsx(rt.rect, { x: d.x, y: d.y, rx: a, ry: a, width: d.width, height: d.height, style: ki({}, s.annotations.outline, { fill: "none", strokeWidth: s.annotations.outline.strokeWidth + 2 * s.annotations.outline.outlineWidth, stroke: s.annotations.outline.outlineColor, opacity: s.annotations.outline.outlineOpacity }) }), m.jsx(rt.rect, { x: d.x, y: d.y, rx: a, ry: a, width: d.width, height: d.height, style: s.annotations.outline })] });
|
|
38357
38357
|
}, M4e = function(e) {
|
|
38358
38358
|
var t = e.datum, n = e.x, r = e.y, i = e.note, o = C4e(e);
|
|
@@ -38418,7 +38418,7 @@ var I4e = function(e, t) {
|
|
|
38418
38418
|
return l.theme !== void 0;
|
|
38419
38419
|
}(e)) {
|
|
38420
38420
|
if (t === void 0) throw new Error("Unable to use color from theme as no theme was provided");
|
|
38421
|
-
var n =
|
|
38421
|
+
var n = En(t, e.theme);
|
|
38422
38422
|
if (n === void 0) throw new Error("Color from theme is undefined at path: '" + e.theme + "'");
|
|
38423
38423
|
return function() {
|
|
38424
38424
|
return n;
|
|
@@ -38428,7 +38428,7 @@ var I4e = function(e, t) {
|
|
|
38428
38428
|
return l.from !== void 0;
|
|
38429
38429
|
}(e)) {
|
|
38430
38430
|
var r = function(l) {
|
|
38431
|
-
return
|
|
38431
|
+
return En(l, e.from);
|
|
38432
38432
|
};
|
|
38433
38433
|
if (Array.isArray(e.modifiers)) {
|
|
38434
38434
|
for (var i, o = [], a = function() {
|
|
@@ -38468,7 +38468,7 @@ F.oneOfType([F.string, F.func, F.shape({ theme: F.string.isRequired }), F.shape(
|
|
|
38468
38468
|
var A4e = function(e, t) {
|
|
38469
38469
|
if (typeof e == "function") return e;
|
|
38470
38470
|
var n = typeof t == "function" ? t : function(d) {
|
|
38471
|
-
return
|
|
38471
|
+
return En(d, t);
|
|
38472
38472
|
};
|
|
38473
38473
|
if (Array.isArray(e)) {
|
|
38474
38474
|
var r = Ir(e), i = function(d) {
|
|
@@ -38480,7 +38480,7 @@ var A4e = function(e, t) {
|
|
|
38480
38480
|
if (function(d) {
|
|
38481
38481
|
return d.datum !== void 0;
|
|
38482
38482
|
}(e)) return function(d) {
|
|
38483
|
-
return
|
|
38483
|
+
return En(d, e.datum);
|
|
38484
38484
|
};
|
|
38485
38485
|
if (function(d) {
|
|
38486
38486
|
return d.scheme !== void 0;
|
|
@@ -38906,7 +38906,7 @@ var r5e = ["layout", "minValue", "maxValue", "reverse", "width", "height", "padd
|
|
|
38906
38906
|
return m.jsx(rt.text, { x: s.x, y: s.y, fillOpacity: s.labelOpacity, style: Gt({}, a.labels.text, { pointerEvents: "none", fill: a.text.fill }), fontWeight: "bold", fontSize: a.labels.text.fontSize, fontFamily: a.labels.text.fontFamily, textAnchor: o === "vertical" ? "middle" : "start", alignmentBaseline: o === "vertical" ? "alphabetic" : "middle", children: l.formattedValue }, l.key);
|
|
38907
38907
|
});
|
|
38908
38908
|
}, b5e = ["isInteractive", "animate", "motionConfig", "theme", "renderWrapper"], y5e = function(e) {
|
|
38909
|
-
var t = e.data, n = e.indexBy, r = e.keys, i = e.margin, o = e.width, a = e.height, s = e.groupMode, l = e.layout, c = e.reverse, u = e.minValue, d = e.maxValue, f = e.valueScale, h = e.indexScale, p = e.padding, g = e.innerPadding, v = e.axisTop, b = e.axisRight, y = e.axisBottom, x = y === void 0 ? vn.axisBottom : y, S = e.axisLeft, w = S === void 0 ? vn.axisLeft : S, $ = e.enableGridX, V = $ === void 0 ? vn.enableGridX : $, _ = e.enableGridY, M = _ === void 0 ? vn.enableGridY : _, O = e.gridXValues, R = e.gridYValues, I = e.layers, L = I === void 0 ? vn.layers : I, E = e.barComponent, T = E === void 0 ? vn.barComponent : E, j = e.enableLabel, H = j === void 0 ? vn.enableLabel : j, P = e.label, k = e.labelSkipWidth, A = k === void 0 ? vn.labelSkipWidth : k, D = e.labelSkipHeight, U = D === void 0 ? vn.labelSkipHeight : D, q = e.labelTextColor, G = e.labelPosition, J = G === void 0 ? vn.labelPosition : G, X = e.labelOffset, Y = X === void 0 ? vn.labelOffset : X, Q = e.markers, B = Q === void 0 ? vn.markers : Q, W = e.colorBy, Z = e.colors, N = e.defs, ne = N === void 0 ? vn.defs : N, z = e.fill, re = z === void 0 ? vn.fill : z, ie = e.borderRadius, ge = ie === void 0 ? vn.borderRadius : ie, ye = e.borderWidth, pe = ye === void 0 ? vn.borderWidth : ye, be = e.borderColor, we = e.annotations, ve = we === void 0 ? vn.annotations : we, he = e.legendLabel, le = e.tooltipLabel, $e = e.valueFormat, fe = e.isInteractive, Fe = fe === void 0 ? vn.isInteractive : fe, Ae = e.tooltip, Te = Ae === void 0 ? vn.tooltip : Ae, je = e.onClick, Qe = e.onMouseEnter, et = e.onMouseLeave, Be = e.legends, ke = e.role, tt = ke === void 0 ? vn.role : ke, Ge = e.ariaLabel, Ke = e.ariaLabelledBy, ue = e.ariaDescribedBy, Ee = e.isFocusable, Je = Ee === void 0 ? vn.isFocusable : Ee, ot = e.barAriaLabel, De = e.barAriaLabelledBy, Ze = e.barAriaDescribedBy, We = e.barAriaHidden, nt = e.barAriaDisabled, it = e.initialHiddenIds, Ue = e.enableTotals, Pe = Ue === void 0 ? vn.enableTotals : Ue, ft = e.totalsOffset, wt = ft === void 0 ? vn.totalsOffset : ft, Oe = wi(), de = Oe.animate, xe = Oe.config, He = zM(o, a, i), Xe = He.outerWidth, qe = He.outerHeight, at = He.margin, K = He.innerWidth, oe = He.innerHeight, ae = x_({ indexBy: n, label: P, tooltipLabel: le, valueFormat: $e, colors: Z, colorBy: W, borderColor: be, labelTextColor: q, groupMode: s, layout: l, reverse: c, data: t, keys: r, minValue: u, maxValue: d, margin: at, width: K, height: oe, padding: p, innerPadding: g, valueScale: f, indexScale: h, enableLabel: H, labelSkipWidth: A, labelSkipHeight: U, legends: Be, legendLabel: he, initialHiddenIds: it, totalsOffset: wt }), Ve = ae.bars, st = ae.barsWithValue, ct = ae.xScale, ut = ae.yScale, mt = ae.getLabel, me = ae.getTooltipLabel, Ce = ae.getBorderColor, Re = ae.getLabelColor, lt = ae.shouldRenderBarLabel, Ct = ae.toggleSerie, Et = ae.legendsWithData, bt = ae.barTotals, kt = ae.getColor, fn = b_(l, c, J, Y),
|
|
38909
|
+
var t = e.data, n = e.indexBy, r = e.keys, i = e.margin, o = e.width, a = e.height, s = e.groupMode, l = e.layout, c = e.reverse, u = e.minValue, d = e.maxValue, f = e.valueScale, h = e.indexScale, p = e.padding, g = e.innerPadding, v = e.axisTop, b = e.axisRight, y = e.axisBottom, x = y === void 0 ? vn.axisBottom : y, S = e.axisLeft, w = S === void 0 ? vn.axisLeft : S, $ = e.enableGridX, V = $ === void 0 ? vn.enableGridX : $, _ = e.enableGridY, M = _ === void 0 ? vn.enableGridY : _, O = e.gridXValues, R = e.gridYValues, I = e.layers, L = I === void 0 ? vn.layers : I, E = e.barComponent, T = E === void 0 ? vn.barComponent : E, j = e.enableLabel, H = j === void 0 ? vn.enableLabel : j, P = e.label, k = e.labelSkipWidth, A = k === void 0 ? vn.labelSkipWidth : k, D = e.labelSkipHeight, U = D === void 0 ? vn.labelSkipHeight : D, q = e.labelTextColor, G = e.labelPosition, J = G === void 0 ? vn.labelPosition : G, X = e.labelOffset, Y = X === void 0 ? vn.labelOffset : X, Q = e.markers, B = Q === void 0 ? vn.markers : Q, W = e.colorBy, Z = e.colors, N = e.defs, ne = N === void 0 ? vn.defs : N, z = e.fill, re = z === void 0 ? vn.fill : z, ie = e.borderRadius, ge = ie === void 0 ? vn.borderRadius : ie, ye = e.borderWidth, pe = ye === void 0 ? vn.borderWidth : ye, be = e.borderColor, we = e.annotations, ve = we === void 0 ? vn.annotations : we, he = e.legendLabel, le = e.tooltipLabel, $e = e.valueFormat, fe = e.isInteractive, Fe = fe === void 0 ? vn.isInteractive : fe, Ae = e.tooltip, Te = Ae === void 0 ? vn.tooltip : Ae, je = e.onClick, Qe = e.onMouseEnter, et = e.onMouseLeave, Be = e.legends, ke = e.role, tt = ke === void 0 ? vn.role : ke, Ge = e.ariaLabel, Ke = e.ariaLabelledBy, ue = e.ariaDescribedBy, Ee = e.isFocusable, Je = Ee === void 0 ? vn.isFocusable : Ee, ot = e.barAriaLabel, De = e.barAriaLabelledBy, Ze = e.barAriaDescribedBy, We = e.barAriaHidden, nt = e.barAriaDisabled, it = e.initialHiddenIds, Ue = e.enableTotals, Pe = Ue === void 0 ? vn.enableTotals : Ue, ft = e.totalsOffset, wt = ft === void 0 ? vn.totalsOffset : ft, Oe = wi(), de = Oe.animate, xe = Oe.config, He = zM(o, a, i), Xe = He.outerWidth, qe = He.outerHeight, at = He.margin, K = He.innerWidth, oe = He.innerHeight, ae = x_({ indexBy: n, label: P, tooltipLabel: le, valueFormat: $e, colors: Z, colorBy: W, borderColor: be, labelTextColor: q, groupMode: s, layout: l, reverse: c, data: t, keys: r, minValue: u, maxValue: d, margin: at, width: K, height: oe, padding: p, innerPadding: g, valueScale: f, indexScale: h, enableLabel: H, labelSkipWidth: A, labelSkipHeight: U, legends: Be, legendLabel: he, initialHiddenIds: it, totalsOffset: wt }), Ve = ae.bars, st = ae.barsWithValue, ct = ae.xScale, ut = ae.yScale, mt = ae.getLabel, me = ae.getTooltipLabel, Ce = ae.getBorderColor, Re = ae.getLabelColor, lt = ae.shouldRenderBarLabel, Ct = ae.toggleSerie, Et = ae.legendsWithData, bt = ae.barTotals, kt = ae.getColor, fn = b_(l, c, J, Y), Wt = Tr(st, { keys: function(dt) {
|
|
38910
38910
|
return dt.key;
|
|
38911
38911
|
}, from: function(dt) {
|
|
38912
38912
|
return Gt({ borderColor: Ce(dt), color: dt.color, height: 0, labelColor: Re(dt), labelOpacity: 0 }, fn(dt.width, dt.height), { transform: "translate(" + dt.x + ", " + (dt.y + dt.height) + ")", width: dt.width }, l === "vertical" ? {} : { height: dt.height, transform: "translate(" + dt.x + ", " + dt.y + ")", width: 0 });
|
|
@@ -38919,7 +38919,7 @@ var r5e = ["layout", "minValue", "maxValue", "reverse", "width", "height", "padd
|
|
|
38919
38919
|
}, config: xe, immediate: !de, initial: de ? void 0 : null }), Cn = Se(function() {
|
|
38920
38920
|
return { borderRadius: ge, borderWidth: pe, enableLabel: H, isInteractive: Fe, labelSkipWidth: A, labelSkipHeight: U, onClick: je, onMouseEnter: Qe, onMouseLeave: et, getTooltipLabel: me, tooltip: Te, isFocusable: Je, ariaLabel: ot, ariaLabelledBy: De, ariaDescribedBy: Ze, ariaHidden: We, ariaDisabled: nt };
|
|
38921
38921
|
}, [ge, pe, H, me, Fe, U, A, je, Qe, et, Te, Je, ot, De, Ze, We, nt]), br = q3e(ne, Ve, re, { dataKey: "data", targetKey: "data.fill" }), Ut = { annotations: null, axes: null, bars: null, grid: null, legends: null, markers: null, totals: null };
|
|
38922
|
-
L.includes("annotations") && (Ut.annotations = m.jsx(X4e, { bars: Ve, annotations: ve }, "annotations")), L.includes("axes") && (Ut.axes = m.jsx(u4e, { xScale: ct, yScale: ut, width: K, height: oe, top: v, right: b, bottom: x, left: w }, "axes")), L.includes("bars") && (Ut.bars = m.jsx(Xr, { children:
|
|
38922
|
+
L.includes("annotations") && (Ut.annotations = m.jsx(X4e, { bars: Ve, annotations: ve }, "annotations")), L.includes("axes") && (Ut.axes = m.jsx(u4e, { xScale: ct, yScale: ut, width: K, height: oe, top: v, right: b, bottom: x, left: w }, "axes")), L.includes("bars") && (Ut.bars = m.jsx(Xr, { children: Wt(function(dt, jn) {
|
|
38923
38923
|
return Mt(T, Gt({}, Cn, { bar: jn, style: dt, shouldRenderLabel: lt(jn), label: mt(jn.data) }));
|
|
38924
38924
|
}) }, "bars")), L.includes("grid") && (Ut.grid = m.jsx(f4e, { width: K, height: oe, xScale: V ? ct : null, yScale: M ? ut : null, xValues: O, yValues: R }, "grid")), L.includes("legends") && (Ut.legends = m.jsx(Q4e, { width: K, height: oe, legends: Et, toggleSerie: Ct }, "legends")), L.includes("markers") && (Ut.markers = m.jsx(z3e, { markers: B, width: K, height: oe, xScale: ct, yScale: ut }, "markers")), L.includes("totals") && Pe && (Ut.totals = m.jsx(m5e, { data: bt, springConfig: xe, animate: de, layout: l }, "totals"));
|
|
38925
38925
|
var Nn = Se(function() {
|
|
@@ -38938,9 +38938,9 @@ var r5e = ["layout", "minValue", "maxValue", "reverse", "width", "height", "padd
|
|
|
38938
38938
|
});
|
|
38939
38939
|
}, w5e = function(e) {
|
|
38940
38940
|
var t = e.data, n = e.indexBy, r = e.keys, i = e.margin, o = e.width, a = e.height, s = e.groupMode, l = e.layout, c = e.reverse, u = e.minValue, d = e.maxValue, f = e.valueScale, h = e.indexScale, p = e.padding, g = e.innerPadding, v = e.axisTop, b = e.axisRight, y = e.axisBottom, x = y === void 0 ? Zn.axisBottom : y, S = e.axisLeft, w = S === void 0 ? Zn.axisLeft : S, $ = e.enableGridX, V = $ === void 0 ? Zn.enableGridX : $, _ = e.enableGridY, M = _ === void 0 ? Zn.enableGridY : _, O = e.gridXValues, R = e.gridYValues, I = e.labelPosition, L = I === void 0 ? Zn.labelPosition : I, E = e.labelOffset, T = E === void 0 ? Zn.labelOffset : E, j = e.layers, H = j === void 0 ? Zn.layers : j, P = e.renderBar, k = P === void 0 ? function(me, Ce) {
|
|
38941
|
-
var Re = Ce.bar, lt = Re.color, Ct = Re.height, Et = Re.width, bt = Re.x, kt = Re.y, fn = Ce.borderColor,
|
|
38942
|
-
if (me.fillStyle = lt, Cn > 0 && (me.strokeStyle = fn, me.lineWidth = Cn), me.beginPath(),
|
|
38943
|
-
var xn = Math.min(
|
|
38941
|
+
var Re = Ce.bar, lt = Re.color, Ct = Re.height, Et = Re.width, bt = Re.x, kt = Re.y, fn = Ce.borderColor, Wt = Ce.borderRadius, Cn = Ce.borderWidth, br = Ce.label, Ut = Ce.labelColor, Nn = Ce.shouldRenderLabel, dt = Ce.labelX, jn = Ce.labelY, mn = Ce.textAnchor;
|
|
38942
|
+
if (me.fillStyle = lt, Cn > 0 && (me.strokeStyle = fn, me.lineWidth = Cn), me.beginPath(), Wt > 0) {
|
|
38943
|
+
var xn = Math.min(Wt, Ct);
|
|
38944
38944
|
me.moveTo(bt + xn, kt), me.lineTo(bt + Et - xn, kt), me.quadraticCurveTo(bt + Et, kt, bt + Et, kt + xn), me.lineTo(bt + Et, kt + Ct - xn), me.quadraticCurveTo(bt + Et, kt + Ct, bt + Et - xn, kt + Ct), me.lineTo(bt + xn, kt + Ct), me.quadraticCurveTo(bt, kt + Ct, bt, kt + Ct - xn), me.lineTo(bt, kt + xn), me.quadraticCurveTo(bt, kt, bt + xn, kt), me.closePath();
|
|
38945
38945
|
} else me.rect(bt, kt, Et, Ct);
|
|
38946
38946
|
me.fill(), Cn > 0 && me.stroke(), Nn && (me.textBaseline = "middle", me.textAlign = mn === "middle" ? "center" : mn, me.fillStyle = Ut, me.fillText(br, bt + dt, kt + jn));
|
|
@@ -39002,7 +39002,7 @@ mr(function(e, t) {
|
|
|
39002
39002
|
return m.jsx(S5e, Gt({ width: r, height: i }, e, { ref: t }));
|
|
39003
39003
|
} });
|
|
39004
39004
|
});
|
|
39005
|
-
const f5 = 12, w_ = 14, $5e =
|
|
39005
|
+
const f5 = 12, w_ = 14, $5e = Bt.tspan`
|
|
39006
39006
|
font: var(--gf-label-md-default);
|
|
39007
39007
|
color: var(--gf-color-text-secondary);
|
|
39008
39008
|
font-size: ${f5}px;
|
|
@@ -39092,7 +39092,7 @@ const f5 = 12, w_ = 14, $5e = Zt.tspan`
|
|
|
39092
39092
|
tooltip: (g) => /* @__PURE__ */ m.jsx(cr, { body: (s == null ? void 0 : s(g)) || /* @__PURE__ */ m.jsx("span", { children: "Overview barchart tooltip" }) })
|
|
39093
39093
|
}
|
|
39094
39094
|
) });
|
|
39095
|
-
},
|
|
39095
|
+
}, ihe = ({
|
|
39096
39096
|
sankey: e = {},
|
|
39097
39097
|
bar: t = {}
|
|
39098
39098
|
}) => {
|
|
@@ -39106,7 +39106,7 @@ const f5 = 12, w_ = 14, $5e = Zt.tspan`
|
|
|
39106
39106
|
/* @__PURE__ */ m.jsx(Or, { span: 12, children: /* @__PURE__ */ m.jsx(o3e, { ref: n, ...e }) }),
|
|
39107
39107
|
/* @__PURE__ */ m.jsx(Or, { span: 12, children: /* @__PURE__ */ m.jsx(_5e, { ...t, height: r }) })
|
|
39108
39108
|
] }),
|
|
39109
|
-
/* @__PURE__ */ m.jsx(
|
|
39109
|
+
/* @__PURE__ */ m.jsx(tn, { justify: "center", style: { marginTop: 16 }, children: /* @__PURE__ */ m.jsx(a3e, {}) })
|
|
39110
39110
|
] });
|
|
39111
39111
|
}, Bm = ({ data: e, graph: t, stroke: n, strokeWidth: r, dashed: i }) => (
|
|
39112
39112
|
// horizontal line representing the target value for comparison
|
|
@@ -39132,7 +39132,7 @@ const f5 = 12, w_ = 14, $5e = Zt.tspan`
|
|
|
39132
39132
|
fillOpacity: 0.3
|
|
39133
39133
|
}
|
|
39134
39134
|
);
|
|
39135
|
-
}, O5e =
|
|
39135
|
+
}, O5e = Bt.span`
|
|
39136
39136
|
font: var(--gf-label-sm-default);
|
|
39137
39137
|
color: var(--gf-color-text-primary);
|
|
39138
39138
|
`, gn = {
|
|
@@ -39140,7 +39140,7 @@ const f5 = 12, w_ = 14, $5e = Zt.tspan`
|
|
|
39140
39140
|
raw: "hsl(331, 100%, 36%)",
|
|
39141
39141
|
abiotic: "hsl(0, 0%, 49%)",
|
|
39142
39142
|
goal: "hsl(182, 30%, 45%)"
|
|
39143
|
-
}, Y2 = (e) => e.reduce((t, n) => n < t ? n : t, 1 / 0), K2 = (e) => e.reduce((t, n) => n > t ? n : t, -1 / 0),
|
|
39143
|
+
}, Y2 = (e) => e.reduce((t, n) => n < t ? n : t, 1 / 0), K2 = (e) => e.reduce((t, n) => n > t ? n : t, -1 / 0), ohe = ({
|
|
39144
39144
|
data: e,
|
|
39145
39145
|
style: t = {},
|
|
39146
39146
|
height: n = 600,
|
|
@@ -39204,16 +39204,16 @@ const f5 = 12, w_ = 14, $5e = Zt.tspan`
|
|
|
39204
39204
|
{ name: "Betrouwbaarheidsmarge", color: I(gn == null ? void 0 : gn[E]), shape: "circle" },
|
|
39205
39205
|
{ name: "Betrouwbaarheidsmarge", color: I(gn == null ? void 0 : gn.abiotic), shape: "circle" }
|
|
39206
39206
|
];
|
|
39207
|
-
return /* @__PURE__ */ m.jsx(
|
|
39208
|
-
(j, H) => /* @__PURE__ */ m.jsxs(
|
|
39207
|
+
return /* @__PURE__ */ m.jsx(tn, { gap: 16, className: "gf-full", justify: "center", wrap: !0, children: T.map(
|
|
39208
|
+
(j, H) => /* @__PURE__ */ m.jsxs(tn, { gap: 4, align: "center", children: [
|
|
39209
39209
|
j.shape === "line" ? /* @__PURE__ */ m.jsx(O, { color: j.color }) : /* @__PURE__ */ m.jsx(R, { color: j.color }),
|
|
39210
39210
|
/* @__PURE__ */ m.jsx(O5e, { children: j.name })
|
|
39211
39211
|
] }, `legend-${H}`)
|
|
39212
39212
|
) });
|
|
39213
39213
|
};
|
|
39214
39214
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
39215
|
-
/* @__PURE__ */ m.jsx(
|
|
39216
|
-
/* @__PURE__ */ m.jsxs(
|
|
39215
|
+
/* @__PURE__ */ m.jsx($n, {}),
|
|
39216
|
+
/* @__PURE__ */ m.jsxs(tn, { vertical: !0, gap: 8, style: { width: "100%" }, children: [
|
|
39217
39217
|
/* @__PURE__ */ m.jsx("div", { style: { width: "100%", height: n, ...t }, children: /* @__PURE__ */ m.jsx(
|
|
39218
39218
|
dM,
|
|
39219
39219
|
{
|
|
@@ -39265,12 +39265,12 @@ const f5 = 12, w_ = 14, $5e = Zt.tspan`
|
|
|
39265
39265
|
/* @__PURE__ */ m.jsx(_, { data: f })
|
|
39266
39266
|
] })
|
|
39267
39267
|
] });
|
|
39268
|
-
}, h5 = 12, i8 = 14, Wm =
|
|
39268
|
+
}, h5 = 12, i8 = 14, Wm = Bt.tspan`
|
|
39269
39269
|
font: var(--gf-label-md-default);
|
|
39270
39270
|
color: var(--gf-color-text-secondary);
|
|
39271
39271
|
font-size: ${h5}px;
|
|
39272
39272
|
line-height: ${i8}px;
|
|
39273
|
-
`, H5e =
|
|
39273
|
+
`, H5e = Bt.span`
|
|
39274
39274
|
font: var(--gf-label-md-default);
|
|
39275
39275
|
color: var(--gf-color-text-secondary);
|
|
39276
39276
|
font-size: 10px;
|
|
@@ -39286,7 +39286,7 @@ const f5 = 12, w_ = 14, $5e = Zt.tspan`
|
|
|
39286
39286
|
S_(s, n).width > t ? (i.push(o), o = r[a]) : o = s;
|
|
39287
39287
|
}
|
|
39288
39288
|
return i.push(o), i;
|
|
39289
|
-
},
|
|
39289
|
+
}, ahe = ({
|
|
39290
39290
|
data: e = [],
|
|
39291
39291
|
height: t = 600,
|
|
39292
39292
|
margin: n = {},
|
|
@@ -39369,8 +39369,8 @@ const f5 = 12, w_ = 14, $5e = Zt.tspan`
|
|
|
39369
39369
|
defs: g
|
|
39370
39370
|
};
|
|
39371
39371
|
});
|
|
39372
|
-
return /* @__PURE__ */ m.jsx(
|
|
39373
|
-
(E, T) => /* @__PURE__ */ m.jsxs(
|
|
39372
|
+
return /* @__PURE__ */ m.jsx(tn, { gap: 16, className: "gf-full", justify: "center", wrap: !0, children: L.map(
|
|
39373
|
+
(E, T) => /* @__PURE__ */ m.jsxs(tn, { gap: 8, align: "center", children: [
|
|
39374
39374
|
/* @__PURE__ */ m.jsx("div", { style: {
|
|
39375
39375
|
minWidth: 16,
|
|
39376
39376
|
minHeight: 16,
|
|
@@ -39398,8 +39398,8 @@ const f5 = 12, w_ = 14, $5e = Zt.tspan`
|
|
|
39398
39398
|
) });
|
|
39399
39399
|
}, O = e.slice().reverse();
|
|
39400
39400
|
return h.push("bars"), s && h.push(V), p && h.push(M), /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
39401
|
-
/* @__PURE__ */ m.jsx(
|
|
39402
|
-
/* @__PURE__ */ m.jsxs(
|
|
39401
|
+
/* @__PURE__ */ m.jsx($n, {}),
|
|
39402
|
+
/* @__PURE__ */ m.jsxs(tn, { vertical: !0, gap: 8, style: { width: "100%" }, children: [
|
|
39403
39403
|
/* @__PURE__ */ m.jsx("div", { style: { height: t }, children: /* @__PURE__ */ m.jsx(
|
|
39404
39404
|
kl,
|
|
39405
39405
|
{
|
|
@@ -39445,7 +39445,7 @@ var T5e = { pointerEvents: "none", position: "absolute", zIndex: 10, top: 0, lef
|
|
|
39445
39445
|
}, $_ = gt(function(e) {
|
|
39446
39446
|
var t, n = e.position, r = e.anchor, i = e.children, o = Yn(), a = Si(), s = a.animate, l = a.config, c = H_(), u = c[0], d = c[1], f = Le(!1), h = void 0, p = !1, g = d.width > 0 && d.height > 0, v = Math.round(n[0]), b = Math.round(n[1]);
|
|
39447
39447
|
g && (r === "top" ? (v -= d.width / 2, b -= d.height + 14) : r === "right" ? (v += 14, b -= d.height / 2) : r === "bottom" ? (v -= d.width / 2, b += 14) : r === "left" ? (v -= d.width + 14, b -= d.height / 2) : r === "center" && (v -= d.width / 2, b -= d.height / 2), h = { transform: Zm(v, b) }, f.current || (p = !0), f.current = [v, b]);
|
|
39448
|
-
var y =
|
|
39448
|
+
var y = sn({ to: h, config: l, immediate: !s || p }), x = Da({}, T5e, o.tooltip.wrapper, { transform: (t = y.transform) != null ? t : Zm(v, b), opacity: y.transform ? 1 : 0 });
|
|
39449
39449
|
return m.jsx(rt.div, { ref: u, style: x, children: i });
|
|
39450
39450
|
});
|
|
39451
39451
|
$_.displayName = "TooltipWrapper";
|
|
@@ -39472,7 +39472,7 @@ k5e.displayName = "TableTooltip";
|
|
|
39472
39472
|
var g5 = gt(function(e) {
|
|
39473
39473
|
var t = e.x0, n = e.x1, r = e.y0, i = e.y1, o = Yn(), a = Si(), s = a.animate, l = a.config, c = Se(function() {
|
|
39474
39474
|
return Da({}, o.crosshair.line, { pointerEvents: "none" });
|
|
39475
|
-
}, [o.crosshair.line]), u =
|
|
39475
|
+
}, [o.crosshair.line]), u = sn({ x1: t, x2: n, y1: r, y2: i, config: l, immediate: !s });
|
|
39476
39476
|
return m.jsx(rt.line, Da({}, u, { fill: "none", style: c }));
|
|
39477
39477
|
});
|
|
39478
39478
|
g5.displayName = "CrosshairLine";
|
|
@@ -39535,7 +39535,7 @@ var W5e = ["axis.ticks.text", "axis.legend.text", "legends.title.text", "legends
|
|
|
39535
39535
|
}, U5e = function(e, t) {
|
|
39536
39536
|
var n = Q6({}, e, t);
|
|
39537
39537
|
return W5e.forEach(function(r) {
|
|
39538
|
-
gi(n, r, Z5e(
|
|
39538
|
+
gi(n, r, Z5e(En(n, r), n.text));
|
|
39539
39539
|
}), n;
|
|
39540
39540
|
}, E_ = Jn(), O_ = function(e) {
|
|
39541
39541
|
var t = e.children, n = e.animate, r = n === void 0 || n, i = e.config, o = i === void 0 ? "default" : i, a = Se(function() {
|
|
@@ -39555,7 +39555,7 @@ var Si = function() {
|
|
|
39555
39555
|
}, [s]), l.current;
|
|
39556
39556
|
}(e), o = Se(function() {
|
|
39557
39557
|
return j0(i, e);
|
|
39558
|
-
}, [i, e]), a =
|
|
39558
|
+
}, [i, e]), a = sn({ from: { value: 0 }, to: { value: 1 }, reset: !0, config: r, immediate: !n }).value;
|
|
39559
39559
|
return An(a, o);
|
|
39560
39560
|
}, G5e = { nivo: ["#d76445", "#f47560", "#e8c1a0", "#97e3d5", "#61cdbb", "#00b0a7"], BrBG: ce(Ai), PRGn: ce(Ni), PiYG: ce(Fi), PuOr: ce(Di), RdBu: ce(zi), RdGy: ce(Bi), RdYlBu: ce(Wi), RdYlGn: ce(Zi), spectral: ce(Ui), blues: ce(oo), greens: ce(ao), greys: ce(so), oranges: ce(uo), purples: ce(lo), reds: ce(co), BuGn: ce(qi), BuPu: ce(Gi), GnBu: ce(Yi), OrRd: ce(Ki), PuBuGn: ce(Xi), PuBu: ce(Qi), PuRd: ce(Ji), RdPu: ce(eo), YlGnBu: ce(to), YlGn: ce(no), YlOrBr: ce(ro), YlOrRd: ce(io) }, Y5e = Object.keys(G5e);
|
|
39561
39561
|
ce(Ai), ce(Ni), ce(Fi), ce(Di), ce(zi), ce(Bi), ce(Wi), ce(Zi), ce(Ui), ce(oo), ce(ao), ce(so), ce(uo), ce(lo), ce(co), ce(qi), ce(Gi), ce(Yi), ce(Ki), ce(Xi), ce(Qi), ce(Ji), ce(eo), ce(to), ce(no), ce(ro), ce(io);
|
|
@@ -39691,7 +39691,7 @@ var D_ = function(e) {
|
|
|
39691
39691
|
};
|
|
39692
39692
|
D_.propTypes = { size: F.number.isRequired, color: F.string.isRequired, borderWidth: F.number.isRequired, borderColor: F.string.isRequired };
|
|
39693
39693
|
var h6e = gt(D_), z_ = function(e) {
|
|
39694
|
-
var t = e.x, n = e.y, r = e.symbol, i = r === void 0 ? h6e : r, o = e.size, a = e.datum, s = e.color, l = e.borderWidth, c = e.borderColor, u = e.label, d = e.labelTextAnchor, f = d === void 0 ? "middle" : d, h = e.labelYOffset, p = h === void 0 ? -12 : h, g = Yn(), v = Si(), b = v.animate, y = v.config, x =
|
|
39694
|
+
var t = e.x, n = e.y, r = e.symbol, i = r === void 0 ? h6e : r, o = e.size, a = e.datum, s = e.color, l = e.borderWidth, c = e.borderColor, u = e.label, d = e.labelTextAnchor, f = d === void 0 ? "middle" : d, h = e.labelYOffset, p = h === void 0 ? -12 : h, g = Yn(), v = Si(), b = v.animate, y = v.config, x = sn({ transform: "translate(" + t + ", " + n + ")", config: y, immediate: !b });
|
|
39695
39695
|
return m.jsxs(rt.g, { transform: x.transform, style: { pointerEvents: "none" }, children: [Mt(i, { size: o, color: s, datum: a, borderWidth: l, borderColor: c }), u && m.jsx("text", { textAnchor: f, y: p, style: j_(g.dots.text), children: u })] });
|
|
39696
39696
|
};
|
|
39697
39697
|
z_.propTypes = { x: F.number.isRequired, y: F.number.isRequired, datum: F.object.isRequired, size: F.number.isRequired, color: F.string.isRequired, borderWidth: F.number.isRequired, borderColor: F.string.isRequired, symbol: F.oneOfType([F.func, F.object]), label: F.oneOfType([F.string, F.number]), labelTextAnchor: F.oneOf(["start", "middle", "end"]), labelYOffset: F.number };
|
|
@@ -39768,7 +39768,7 @@ W_.propTypes = { width: F.number.isRequired, height: F.number.isRequired, xScale
|
|
|
39768
39768
|
gt(W_);
|
|
39769
39769
|
var v6e = function(e) {
|
|
39770
39770
|
return ul(e) ? e : function(t) {
|
|
39771
|
-
return
|
|
39771
|
+
return En(t, e);
|
|
39772
39772
|
};
|
|
39773
39773
|
}, p6e = function(e) {
|
|
39774
39774
|
return Se(function() {
|
|
@@ -39882,7 +39882,7 @@ var y6e = function(e) {
|
|
|
39882
39882
|
var k, A = 0, D = 0, U = 0;
|
|
39883
39883
|
t === "y" ? (U = -90, A = _, $ === "start" ? (k = "start", D = s) : $ === "middle" ? (k = "middle", D = s / 2) : $ === "end" && (k = "end")) : (D = _, $ === "start" ? k = "start" : $ === "middle" ? (k = "middle", A = s / 2) : $ === "end" && (k = "end", A = s)), P = m.jsxs(m.Fragment, { children: [I.outlineWidth > 0 && m.jsx("text", { transform: "translate(" + A + ", " + D + ") rotate(" + U + ")", textAnchor: k, style: bi({ dominantBaseline: "central" }, I), strokeWidth: 2 * I.outlineWidth, stroke: I.outlineColor, strokeLinejoin: "round", children: S }), m.jsx("text", { transform: "translate(" + A + ", " + D + ") rotate(" + U + ")", textAnchor: k, style: bi({ dominantBaseline: "central" }, I), children: S })] });
|
|
39884
39884
|
}
|
|
39885
|
-
var q = Si(), G = q.animate, J = q.config, X =
|
|
39885
|
+
var q = Si(), G = q.animate, J = q.config, X = sn({ transform: "translate(" + i + "," + a + ")", lineX2: t === "x" ? s : 0, lineY2: t === "x" ? 0 : s, config: J, immediate: !G }), Y = ze(function(W) {
|
|
39886
39886
|
return { opacity: 1, transform: "translate(" + W.x + "," + W.y + ")", textTransform: "translate(" + W.textX + "," + W.textY + ") rotate(" + g + ")" };
|
|
39887
39887
|
}, [g]), Q = ze(function(W) {
|
|
39888
39888
|
return { opacity: 0, transform: "translate(" + W.x + "," + W.y + ")", textTransform: "translate(" + W.textX + "," + W.textY + ") rotate(" + g + ")" };
|
|
@@ -39968,7 +39968,7 @@ var j6e = { rainbow: Q7, sinebow: J7 }, s8 = Nd({}, T6e, L6e, j6e), k6e = functi
|
|
|
39968
39968
|
return l.theme !== void 0;
|
|
39969
39969
|
}(e)) {
|
|
39970
39970
|
if (t === void 0) throw new Error("Unable to use color from theme as no theme was provided");
|
|
39971
|
-
var n =
|
|
39971
|
+
var n = En(t, e.theme);
|
|
39972
39972
|
if (n === void 0) throw new Error("Color from theme is undefined at path: '" + e.theme + "'");
|
|
39973
39973
|
return function() {
|
|
39974
39974
|
return n;
|
|
@@ -39978,7 +39978,7 @@ var j6e = { rainbow: Q7, sinebow: J7 }, s8 = Nd({}, T6e, L6e, j6e), k6e = functi
|
|
|
39978
39978
|
return l.from !== void 0;
|
|
39979
39979
|
}(e)) {
|
|
39980
39980
|
var r = function(l) {
|
|
39981
|
-
return
|
|
39981
|
+
return En(l, e.from);
|
|
39982
39982
|
};
|
|
39983
39983
|
if (Array.isArray(e.modifiers)) {
|
|
39984
39984
|
for (var i, o = [], a = function() {
|
|
@@ -40216,7 +40216,7 @@ var x5 = { dotSize: 4, noteWidth: 120, noteTextOffset: 8, animate: !0 }, q6e = f
|
|
|
40216
40216
|
return X6e(e);
|
|
40217
40217
|
}, [e]);
|
|
40218
40218
|
}, e7e = function(e) {
|
|
40219
|
-
var t = e.datum, n = e.x, r = e.y, i = e.note, o = Yn(), a = Si(), s = a.animate, l = a.config, c =
|
|
40219
|
+
var t = e.datum, n = e.x, r = e.y, i = e.note, o = Yn(), a = Si(), s = a.animate, l = a.config, c = sn({ x: n, y: r, config: l, immediate: !s });
|
|
40220
40220
|
return typeof i == "function" ? Mt(i, { x: n, y: r, datum: t }) : m.jsxs(m.Fragment, { children: [o.annotations.text.outlineWidth > 0 && m.jsx(rt.text, { x: c.x, y: c.y, style: Xo({}, o.annotations.text, { strokeLinejoin: "round", strokeWidth: 2 * o.annotations.text.outlineWidth, stroke: o.annotations.text.outlineColor }), children: i }), m.jsx(rt.text, { x: c.x, y: c.y, style: as(o.annotations.text, ["outlineWidth", "outlineColor"]), children: i })] });
|
|
40221
40221
|
}, Jm = function(e) {
|
|
40222
40222
|
var t = e.points, n = e.isOutline, r = n !== void 0 && n, i = Yn(), o = Se(function() {
|
|
@@ -40229,13 +40229,13 @@ var x5 = { dotSize: 4, noteWidth: 120, noteTextOffset: 8, animate: !0 }, q6e = f
|
|
|
40229
40229
|
var s = Xo({}, i.annotations.link);
|
|
40230
40230
|
return r && (s.strokeLinecap = "square", s.strokeWidth = i.annotations.link.strokeWidth + 2 * i.annotations.link.outlineWidth, s.stroke = i.annotations.link.outlineColor, s.opacity = i.annotations.link.outlineOpacity), m.jsx(rt.path, { fill: "none", d: a, style: s });
|
|
40231
40231
|
}, t7e = function(e) {
|
|
40232
|
-
var t = e.x, n = e.y, r = e.size, i = Yn(), o = Si(), a = o.animate, s = o.config, l =
|
|
40232
|
+
var t = e.x, n = e.y, r = e.size, i = Yn(), o = Si(), a = o.animate, s = o.config, l = sn({ x: t, y: n, radius: r / 2, config: s, immediate: !a });
|
|
40233
40233
|
return m.jsxs(m.Fragment, { children: [i.annotations.outline.outlineWidth > 0 && m.jsx(rt.circle, { cx: l.x, cy: l.y, r: l.radius, style: Xo({}, i.annotations.outline, { fill: "none", strokeWidth: i.annotations.outline.strokeWidth + 2 * i.annotations.outline.outlineWidth, stroke: i.annotations.outline.outlineColor, opacity: i.annotations.outline.outlineOpacity }) }), m.jsx(rt.circle, { cx: l.x, cy: l.y, r: l.radius, style: i.annotations.outline })] });
|
|
40234
40234
|
}, n7e = function(e) {
|
|
40235
|
-
var t = e.x, n = e.y, r = e.size, i = r === void 0 ? x5.dotSize : r, o = Yn(), a = Si(), s = a.animate, l = a.config, c =
|
|
40235
|
+
var t = e.x, n = e.y, r = e.size, i = r === void 0 ? x5.dotSize : r, o = Yn(), a = Si(), s = a.animate, l = a.config, c = sn({ x: t, y: n, radius: i / 2, config: l, immediate: !s });
|
|
40236
40236
|
return m.jsxs(m.Fragment, { children: [o.annotations.outline.outlineWidth > 0 && m.jsx(rt.circle, { cx: c.x, cy: c.y, r: c.radius, style: Xo({}, o.annotations.outline, { fill: "none", strokeWidth: 2 * o.annotations.outline.outlineWidth, stroke: o.annotations.outline.outlineColor, opacity: o.annotations.outline.outlineOpacity }) }), m.jsx(rt.circle, { cx: c.x, cy: c.y, r: c.radius, style: o.annotations.symbol })] });
|
|
40237
40237
|
}, r7e = function(e) {
|
|
40238
|
-
var t = e.x, n = e.y, r = e.width, i = e.height, o = e.borderRadius, a = o === void 0 ? 6 : o, s = Yn(), l = Si(), c = l.animate, u = l.config, d =
|
|
40238
|
+
var t = e.x, n = e.y, r = e.width, i = e.height, o = e.borderRadius, a = o === void 0 ? 6 : o, s = Yn(), l = Si(), c = l.animate, u = l.config, d = sn({ x: t - r / 2, y: n - i / 2, width: r, height: i, config: u, immediate: !c });
|
|
40239
40239
|
return m.jsxs(m.Fragment, { children: [s.annotations.outline.outlineWidth > 0 && m.jsx(rt.rect, { x: d.x, y: d.y, rx: a, ry: a, width: d.width, height: d.height, style: Xo({}, s.annotations.outline, { fill: "none", strokeWidth: s.annotations.outline.strokeWidth + 2 * s.annotations.outline.outlineWidth, stroke: s.annotations.outline.outlineColor, opacity: s.annotations.outline.outlineOpacity }) }), m.jsx(rt.rect, { x: d.x, y: d.y, rx: a, ry: a, width: d.width, height: d.height, style: s.annotations.outline })] });
|
|
40240
40240
|
}, i7e = function(e) {
|
|
40241
40241
|
var t = e.datum, n = e.x, r = e.y, i = e.note, o = J6e(e);
|
|
@@ -40421,7 +40421,7 @@ var a7e = function(e) {
|
|
|
40421
40421
|
return m.jsx($7e, Mr({ width: n, height: r }, e));
|
|
40422
40422
|
} });
|
|
40423
40423
|
};
|
|
40424
|
-
const za = 12, d1 = 14, Rs =
|
|
40424
|
+
const za = 12, d1 = 14, Rs = Bt.tspan`
|
|
40425
40425
|
font: var(--gf-label-md-default);
|
|
40426
40426
|
color: var(--gf-color-text-secondary);
|
|
40427
40427
|
font-size: ${za}px;
|
|
@@ -40488,7 +40488,7 @@ const za = 12, d1 = 14, Rs = Zt.tspan`
|
|
|
40488
40488
|
v
|
|
40489
40489
|
)) }) });
|
|
40490
40490
|
}
|
|
40491
|
-
),
|
|
40491
|
+
), she = ({
|
|
40492
40492
|
data: e,
|
|
40493
40493
|
height: t = 1300,
|
|
40494
40494
|
margin: n = {},
|
|
@@ -40653,7 +40653,7 @@ const za = 12, d1 = 14, Rs = Zt.tspan`
|
|
|
40653
40653
|
p({ row: null, col: null });
|
|
40654
40654
|
};
|
|
40655
40655
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
40656
|
-
/* @__PURE__ */ m.jsx(
|
|
40656
|
+
/* @__PURE__ */ m.jsx($n, {}),
|
|
40657
40657
|
/* @__PURE__ */ m.jsx("div", { ref: g, style: { height: t }, children: /* @__PURE__ */ m.jsx(
|
|
40658
40658
|
M7e,
|
|
40659
40659
|
{
|
|
@@ -40734,7 +40734,7 @@ const za = 12, d1 = 14, Rs = Zt.tspan`
|
|
|
40734
40734
|
color: "var(--gf-color-text-secondary)",
|
|
40735
40735
|
fontSize: "12px",
|
|
40736
40736
|
lineHeight: "14px"
|
|
40737
|
-
},
|
|
40737
|
+
}, lhe = ({
|
|
40738
40738
|
data: e,
|
|
40739
40739
|
height: t = 500,
|
|
40740
40740
|
padding: n = 0.2,
|
|
@@ -40802,7 +40802,7 @@ const za = 12, d1 = 14, Rs = Zt.tspan`
|
|
|
40802
40802
|
) });
|
|
40803
40803
|
}, V = f + u + d + c;
|
|
40804
40804
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
40805
|
-
/* @__PURE__ */ m.jsx(
|
|
40805
|
+
/* @__PURE__ */ m.jsx($n, {}),
|
|
40806
40806
|
/* @__PURE__ */ m.jsx("div", { style: { width: "100%", height: t }, children: /* @__PURE__ */ m.jsx(
|
|
40807
40807
|
kl,
|
|
40808
40808
|
{
|
|
@@ -40832,12 +40832,12 @@ const za = 12, d1 = 14, Rs = Zt.tspan`
|
|
|
40832
40832
|
}
|
|
40833
40833
|
) })
|
|
40834
40834
|
] });
|
|
40835
|
-
}, w5 = 12, u8 = 14, O7e =
|
|
40835
|
+
}, w5 = 12, u8 = 14, O7e = Bt.tspan`
|
|
40836
40836
|
font: var(--gf-label-md-default);
|
|
40837
40837
|
color: var(--gf-color-text-secondary);
|
|
40838
40838
|
font-size: ${w5}px;
|
|
40839
40839
|
line-height: ${u8}px;
|
|
40840
|
-
`, H7e =
|
|
40840
|
+
`, H7e = Bt.span`
|
|
40841
40841
|
font: var(--gf-label-md-default);
|
|
40842
40842
|
color: var(--gf-color-text-secondary);
|
|
40843
40843
|
font-size: 10px;
|
|
@@ -40866,7 +40866,7 @@ const za = 12, d1 = 14, Rs = Zt.tspan`
|
|
|
40866
40866
|
name: "Aantal unieke kritieke grondstoffen",
|
|
40867
40867
|
legend: "Aantal unieke kritieke grondstoffen"
|
|
40868
40868
|
}
|
|
40869
|
-
},
|
|
40869
|
+
}, che = ({
|
|
40870
40870
|
data: e = [],
|
|
40871
40871
|
height: t = 1300,
|
|
40872
40872
|
margin: n = {},
|
|
@@ -40938,8 +40938,8 @@ const za = 12, d1 = 14, Rs = Zt.tspan`
|
|
|
40938
40938
|
defs: g
|
|
40939
40939
|
};
|
|
40940
40940
|
});
|
|
40941
|
-
return /* @__PURE__ */ m.jsx(
|
|
40942
|
-
(H, P) => /* @__PURE__ */ m.jsxs(
|
|
40941
|
+
return /* @__PURE__ */ m.jsx(tn, { gap: 16, className: "gf-full", justify: "center", wrap: !0, children: j.map(
|
|
40942
|
+
(H, P) => /* @__PURE__ */ m.jsxs(tn, { gap: 8, align: "center", children: [
|
|
40943
40943
|
/* @__PURE__ */ m.jsx("div", { style: {
|
|
40944
40944
|
minWidth: 8,
|
|
40945
40945
|
minHeight: 8,
|
|
@@ -41003,8 +41003,8 @@ const za = 12, d1 = 14, Rs = Zt.tspan`
|
|
|
41003
41003
|
}, []);
|
|
41004
41004
|
const L = e.slice().reverse();
|
|
41005
41005
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
41006
|
-
/* @__PURE__ */ m.jsx(
|
|
41007
|
-
/* @__PURE__ */ m.jsxs(
|
|
41006
|
+
/* @__PURE__ */ m.jsx($n, {}),
|
|
41007
|
+
/* @__PURE__ */ m.jsxs(tn, { vertical: !0, gap: 8, style: { width: "100%" }, ref: O, children: [
|
|
41008
41008
|
/* @__PURE__ */ m.jsx(_, { data: e, keys: o }),
|
|
41009
41009
|
/* @__PURE__ */ m.jsxs(Wo, { gutter: [0, 0], children: [
|
|
41010
41010
|
/* @__PURE__ */ m.jsx(Or, { span: b, children: /* @__PURE__ */ m.jsx(M, { value: o[0], labels: !0 }) }),
|
|
@@ -41012,12 +41012,12 @@ const za = 12, d1 = 14, Rs = Zt.tspan`
|
|
|
41012
41012
|
] })
|
|
41013
41013
|
] })
|
|
41014
41014
|
] });
|
|
41015
|
-
}, R7e = 12, Y_ = 14, L7e =
|
|
41015
|
+
}, R7e = 12, Y_ = 14, L7e = Bt.tspan`
|
|
41016
41016
|
font: var(--gf-label-md-default);
|
|
41017
41017
|
color: var(--gf-color-text-secondary);
|
|
41018
41018
|
font-size: ${R7e}px;
|
|
41019
41019
|
line-height: ${Y_}px;
|
|
41020
|
-
`, j7e =
|
|
41020
|
+
`, j7e = Bt.span`
|
|
41021
41021
|
font: var(--gf-label-md-default);
|
|
41022
41022
|
color: var(--gf-color-text-secondary);
|
|
41023
41023
|
font-size: 10px;
|
|
@@ -41032,7 +41032,7 @@ const za = 12, d1 = 14, Rs = Zt.tspan`
|
|
|
41032
41032
|
Consumptiegoederen: "hsla(35, 74%, 73%, 1)",
|
|
41033
41033
|
Overig: "hsla(269, 24%, 77%, 1)",
|
|
41034
41034
|
Maakindustrie: "hsla(26, 74%, 58%, 1)"
|
|
41035
|
-
},
|
|
41035
|
+
}, uhe = ({
|
|
41036
41036
|
data: e,
|
|
41037
41037
|
height: t = 500,
|
|
41038
41038
|
padding: n = 0.2,
|
|
@@ -41066,8 +41066,8 @@ const za = 12, d1 = 14, Rs = Zt.tspan`
|
|
|
41066
41066
|
name: b,
|
|
41067
41067
|
color: Q2[b]
|
|
41068
41068
|
}));
|
|
41069
|
-
return /* @__PURE__ */ m.jsx(
|
|
41070
|
-
(b, y) => /* @__PURE__ */ m.jsxs(
|
|
41069
|
+
return /* @__PURE__ */ m.jsx(tn, { gap: 16, className: "gf-full", justify: "center", wrap: !0, children: v.map(
|
|
41070
|
+
(b, y) => /* @__PURE__ */ m.jsxs(tn, { gap: 8, align: "center", children: [
|
|
41071
41071
|
/* @__PURE__ */ m.jsx("div", { style: {
|
|
41072
41072
|
minWidth: 16,
|
|
41073
41073
|
minHeight: 16,
|
|
@@ -41078,8 +41078,8 @@ const za = 12, d1 = 14, Rs = Zt.tspan`
|
|
|
41078
41078
|
) });
|
|
41079
41079
|
};
|
|
41080
41080
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
41081
|
-
/* @__PURE__ */ m.jsx(
|
|
41082
|
-
/* @__PURE__ */ m.jsxs(
|
|
41081
|
+
/* @__PURE__ */ m.jsx($n, {}),
|
|
41082
|
+
/* @__PURE__ */ m.jsxs(tn, { vertical: !0, gap: 8, style: { width: "100%" }, children: [
|
|
41083
41083
|
/* @__PURE__ */ m.jsx("div", { style: { height: t }, children: /* @__PURE__ */ m.jsx(
|
|
41084
41084
|
kl,
|
|
41085
41085
|
{
|
|
@@ -41128,7 +41128,7 @@ const za = 12, d1 = 14, Rs = Zt.tspan`
|
|
|
41128
41128
|
wasteRenewable: "Afval - Hernieuwbare materialen",
|
|
41129
41129
|
wasteNotRenewable: "Afval - Niet-hernieuwbare materialen",
|
|
41130
41130
|
wasteMixed: "Afval - Gemengde materialen"
|
|
41131
|
-
},
|
|
41131
|
+
}, dhe = ({
|
|
41132
41132
|
data: e,
|
|
41133
41133
|
height: t = 400,
|
|
41134
41134
|
colorMap: n = nb,
|
|
@@ -41174,13 +41174,13 @@ const za = 12, d1 = 14, Rs = Zt.tspan`
|
|
|
41174
41174
|
)
|
|
41175
41175
|
] }, h);
|
|
41176
41176
|
}), u = () => /* @__PURE__ */ m.jsx(
|
|
41177
|
-
|
|
41177
|
+
tn,
|
|
41178
41178
|
{
|
|
41179
41179
|
justify: "center",
|
|
41180
41180
|
gap: 16,
|
|
41181
41181
|
wrap: !0,
|
|
41182
41182
|
children: Object.entries(nb).map(([d, f], h) => /* @__PURE__ */ m.jsxs(
|
|
41183
|
-
|
|
41183
|
+
tn,
|
|
41184
41184
|
{
|
|
41185
41185
|
align: "center",
|
|
41186
41186
|
gap: 8,
|
|
@@ -41202,7 +41202,7 @@ const za = 12, d1 = 14, Rs = Zt.tspan`
|
|
|
41202
41202
|
))
|
|
41203
41203
|
}
|
|
41204
41204
|
);
|
|
41205
|
-
return console.log(e), /* @__PURE__ */ m.jsxs(
|
|
41205
|
+
return console.log(e), /* @__PURE__ */ m.jsxs(tn, { vertical: !0, gap: 8, children: [
|
|
41206
41206
|
/* @__PURE__ */ m.jsx(
|
|
41207
41207
|
"div",
|
|
41208
41208
|
{
|
|
@@ -41250,42 +41250,136 @@ const za = 12, d1 = 14, Rs = Zt.tspan`
|
|
|
41250
41250
|
),
|
|
41251
41251
|
/* @__PURE__ */ m.jsx(u, {})
|
|
41252
41252
|
] });
|
|
41253
|
+
}, P7e = Bt.span`
|
|
41254
|
+
font: var(--gf-label-md-default);
|
|
41255
|
+
font-size: 14px;
|
|
41256
|
+
line-height: 22px;
|
|
41257
|
+
font-weight: 400;
|
|
41258
|
+
color: var(--gf-color-button-primary);
|
|
41259
|
+
transition: color 150ms ease, font-weight 150ms ease;
|
|
41260
|
+
`, fhe = ({
|
|
41261
|
+
items: e,
|
|
41262
|
+
width: t = 226,
|
|
41263
|
+
offset: n = 0,
|
|
41264
|
+
containerStyle: r = {}
|
|
41265
|
+
}) => {
|
|
41266
|
+
const [i, o] = Ne.useState(0), a = Ne.useRef(!1), s = Ne.useRef(null), l = (u) => {
|
|
41267
|
+
a.current = !0, s.current && clearTimeout(s.current), s.current = setTimeout(() => {
|
|
41268
|
+
a.current = !1;
|
|
41269
|
+
}, u);
|
|
41270
|
+
}, c = (u) => {
|
|
41271
|
+
var h, p;
|
|
41272
|
+
o(u), l(800);
|
|
41273
|
+
const d = (p = (h = e == null ? void 0 : e[u]) == null ? void 0 : h.href) == null ? void 0 : p.current;
|
|
41274
|
+
if (!d) return;
|
|
41275
|
+
const f = d.getBoundingClientRect().top + window.pageYOffset - n;
|
|
41276
|
+
window.scrollTo({ top: f, behavior: "smooth" });
|
|
41277
|
+
};
|
|
41278
|
+
return Ne.useEffect(() => {
|
|
41279
|
+
const u = (e || []).map((f, h) => {
|
|
41280
|
+
var p;
|
|
41281
|
+
return { key: h, el: (p = f.href) == null ? void 0 : p.current };
|
|
41282
|
+
}).filter((f) => f.el);
|
|
41283
|
+
if (!u.length) return;
|
|
41284
|
+
const d = new IntersectionObserver(
|
|
41285
|
+
(f) => {
|
|
41286
|
+
if (a.current) return;
|
|
41287
|
+
const h = f.filter((g) => g.isIntersecting).sort((g, v) => g.boundingClientRect.top - v.boundingClientRect.top)[0];
|
|
41288
|
+
if (!h) return;
|
|
41289
|
+
const p = u.find((g) => g.el === h.target);
|
|
41290
|
+
p && p.key !== void 0 && o(p.key);
|
|
41291
|
+
},
|
|
41292
|
+
{
|
|
41293
|
+
root: null,
|
|
41294
|
+
threshold: [0.1, 0.2, 0.3],
|
|
41295
|
+
rootMargin: `-${n}px 0px -80% 0px`
|
|
41296
|
+
}
|
|
41297
|
+
);
|
|
41298
|
+
return u.forEach(({ el: f }) => d.observe(f)), () => {
|
|
41299
|
+
d.disconnect(), s.current && clearTimeout(s.current);
|
|
41300
|
+
};
|
|
41301
|
+
}, [e]), /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
41302
|
+
/* @__PURE__ */ m.jsx($n, {}),
|
|
41303
|
+
/* @__PURE__ */ m.jsxs(tn, { align: "stretch", children: [
|
|
41304
|
+
/* @__PURE__ */ m.jsxs(
|
|
41305
|
+
tn,
|
|
41306
|
+
{
|
|
41307
|
+
gap: 8,
|
|
41308
|
+
vertical: !0,
|
|
41309
|
+
align: "flex-start",
|
|
41310
|
+
style: {
|
|
41311
|
+
width: t,
|
|
41312
|
+
height: "fit-content",
|
|
41313
|
+
paddingTop: 48,
|
|
41314
|
+
top: n,
|
|
41315
|
+
position: "sticky",
|
|
41316
|
+
paddingRight: 8,
|
|
41317
|
+
...r
|
|
41318
|
+
},
|
|
41319
|
+
children: [
|
|
41320
|
+
/* @__PURE__ */ m.jsx("span", { style: { fontSize: 12 }, children: "Inhoudsopgave".toUpperCase() }),
|
|
41321
|
+
e == null ? void 0 : e.map((u, d) => {
|
|
41322
|
+
const f = d === i;
|
|
41323
|
+
return /* @__PURE__ */ m.jsx(
|
|
41324
|
+
"div",
|
|
41325
|
+
{
|
|
41326
|
+
onClick: () => c(d),
|
|
41327
|
+
style: {
|
|
41328
|
+
width: "100%",
|
|
41329
|
+
boxSizing: "border-box",
|
|
41330
|
+
padding: 8,
|
|
41331
|
+
cursor: "pointer",
|
|
41332
|
+
background: f ? "#F0F6FF" : "transparent",
|
|
41333
|
+
transition: "background 150ms ease"
|
|
41334
|
+
},
|
|
41335
|
+
children: /* @__PURE__ */ m.jsx(P7e, { children: u == null ? void 0 : u.name })
|
|
41336
|
+
},
|
|
41337
|
+
d
|
|
41338
|
+
);
|
|
41339
|
+
})
|
|
41340
|
+
]
|
|
41341
|
+
}
|
|
41342
|
+
),
|
|
41343
|
+
/* @__PURE__ */ m.jsx("div", { style: { borderRight: "1px solid #DAE1ED" } })
|
|
41344
|
+
] })
|
|
41345
|
+
] });
|
|
41253
41346
|
};
|
|
41254
41347
|
export {
|
|
41255
|
-
|
|
41256
|
-
|
|
41257
|
-
|
|
41258
|
-
|
|
41259
|
-
|
|
41348
|
+
U7e as AddressLink,
|
|
41349
|
+
fhe as Anchor,
|
|
41350
|
+
ahe as BarChart,
|
|
41351
|
+
rhe as BenchmarkSankey,
|
|
41352
|
+
F7e as ButtonControls,
|
|
41353
|
+
che as CrmValueChart,
|
|
41260
41354
|
cr as CustomToolTip,
|
|
41261
|
-
|
|
41262
|
-
|
|
41355
|
+
G7e as Description,
|
|
41356
|
+
ohe as DomRawChart,
|
|
41263
41357
|
qF as DownloadButton,
|
|
41264
|
-
|
|
41358
|
+
Z7e as EmailLink,
|
|
41265
41359
|
GF as ExpandButton,
|
|
41266
41360
|
Mx as GFButton,
|
|
41267
41361
|
$1 as GFCard,
|
|
41268
|
-
|
|
41269
|
-
|
|
41270
|
-
|
|
41362
|
+
Y7e as GFMetricsGrid,
|
|
41363
|
+
lhe as GoalChart,
|
|
41364
|
+
uhe as ImpactTrend,
|
|
41271
41365
|
x6 as Link,
|
|
41272
41366
|
mD as LocationIcon,
|
|
41273
41367
|
pD as MailIcon,
|
|
41274
|
-
|
|
41368
|
+
she as MaterialHeatmap,
|
|
41275
41369
|
dD as Metrics,
|
|
41276
|
-
|
|
41370
|
+
D7e as NavCard,
|
|
41277
41371
|
vD as PhoneIcon,
|
|
41278
|
-
|
|
41279
|
-
|
|
41280
|
-
|
|
41281
|
-
|
|
41282
|
-
|
|
41283
|
-
|
|
41284
|
-
|
|
41372
|
+
q7e as PhoneLink,
|
|
41373
|
+
Q7e as PieChart,
|
|
41374
|
+
z7e as QuickNavCard,
|
|
41375
|
+
dhe as RenewableTrend,
|
|
41376
|
+
X7e as Sankey,
|
|
41377
|
+
J7e as ScatterPlot,
|
|
41378
|
+
B7e as TabCard,
|
|
41285
41379
|
nD as Title,
|
|
41286
|
-
|
|
41287
|
-
|
|
41288
|
-
|
|
41289
|
-
|
|
41380
|
+
ehe as TreeMap,
|
|
41381
|
+
the as Trends,
|
|
41382
|
+
nhe as VisSelectors,
|
|
41383
|
+
ihe as WasteOverview
|
|
41290
41384
|
};
|
|
41291
41385
|
//# sourceMappingURL=index.es.js.map
|