@undp/data-viz 2.1.2 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AreaChart.cjs +1 -1
- package/dist/AreaChart.cjs.map +1 -1
- package/dist/AreaChart.js +281 -274
- package/dist/AreaChart.js.map +1 -1
- package/dist/BarGraph.cjs +1 -1
- package/dist/BarGraph.cjs.map +1 -1
- package/dist/BarGraph.d.ts +2 -0
- package/dist/BarGraph.js +1795 -1724
- package/dist/BarGraph.js.map +1 -1
- package/dist/BeeSwarmChart.cjs +1 -1
- package/dist/BeeSwarmChart.cjs.map +1 -1
- package/dist/BeeSwarmChart.js +312 -305
- package/dist/BeeSwarmChart.js.map +1 -1
- package/dist/BulletChart.cjs +1 -1
- package/dist/BulletChart.cjs.map +1 -1
- package/dist/BulletChart.js +367 -356
- package/dist/BulletChart.js.map +1 -1
- package/dist/ButterflyChart.cjs +1 -1
- package/dist/ButterflyChart.cjs.map +1 -1
- package/dist/ButterflyChart.js +224 -217
- package/dist/ButterflyChart.js.map +1 -1
- package/dist/CirclePackingGraph.cjs +1 -1
- package/dist/CirclePackingGraph.js +2 -2
- package/dist/DifferenceLineChart.cjs +1 -1
- package/dist/DifferenceLineChart.cjs.map +1 -1
- package/dist/DifferenceLineChart.js +406 -399
- package/dist/DifferenceLineChart.js.map +1 -1
- package/dist/DonutChart.cjs +1 -1
- package/dist/DonutChart.cjs.map +1 -1
- package/dist/DonutChart.d.ts +10 -0
- package/dist/DonutChart.js +232 -263
- package/dist/DonutChart.js.map +1 -1
- package/dist/DualAxisLineChart.cjs +1 -1
- package/dist/DualAxisLineChart.cjs.map +1 -1
- package/dist/DualAxisLineChart.js +320 -313
- package/dist/DualAxisLineChart.js.map +1 -1
- package/dist/DumbbellChart.cjs +1 -1
- package/dist/DumbbellChart.cjs.map +1 -1
- package/dist/DumbbellChart.js +298 -291
- package/dist/DumbbellChart.js.map +1 -1
- package/dist/{EmptyState-BZo1BbAn.js → EmptyState-C7ZXkZWd.js} +4 -4
- package/dist/EmptyState-C7ZXkZWd.js.map +1 -0
- package/dist/EmptyState-gLDRXBHm.cjs +2 -0
- package/dist/EmptyState-gLDRXBHm.cjs.map +1 -0
- package/dist/GraphEl-C2Fgg8PA.cjs +2 -0
- package/dist/GraphEl-C2Fgg8PA.cjs.map +1 -0
- package/dist/{GraphEl-sVZvlyWe.js → GraphEl-oZwZiTHI.js} +6 -3
- package/dist/GraphEl-oZwZiTHI.js.map +1 -0
- package/dist/GriddedGraphs.cjs +1 -1
- package/dist/GriddedGraphs.d.ts +1 -0
- package/dist/GriddedGraphs.js +1 -1
- package/dist/GriddedGraphsFromConfig.d.ts +1 -0
- package/dist/HeatMap.cjs +1 -1
- package/dist/HeatMap.cjs.map +1 -1
- package/dist/HeatMap.js +179 -172
- package/dist/HeatMap.js.map +1 -1
- package/dist/Histogram.cjs +1 -1
- package/dist/Histogram.js +1 -1
- package/dist/LineChartWithConfidenceInterval.cjs +1 -1
- package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
- package/dist/LineChartWithConfidenceInterval.js +370 -363
- package/dist/LineChartWithConfidenceInterval.js.map +1 -1
- package/dist/MultiGraphDashboard.d.ts +1 -0
- package/dist/MultiGraphDashboardFromConfig.d.ts +1 -0
- package/dist/MultiLineAltChart.cjs +1 -1
- package/dist/MultiLineAltChart.cjs.map +1 -1
- package/dist/MultiLineAltChart.js +328 -321
- package/dist/MultiLineAltChart.js.map +1 -1
- package/dist/MultiLineChart.cjs +1 -1
- package/dist/MultiLineChart.cjs.map +1 -1
- package/dist/MultiLineChart.js +375 -368
- package/dist/MultiLineChart.js.map +1 -1
- package/dist/ParetoChart.cjs +1 -1
- package/dist/ParetoChart.cjs.map +1 -1
- package/dist/ParetoChart.js +385 -378
- package/dist/ParetoChart.js.map +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +1 -0
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +1 -0
- package/dist/PerformanceIntensiveScrollStory.d.ts +1 -0
- package/dist/RadarChart.cjs +1 -1
- package/dist/RadarChart.cjs.map +1 -1
- package/dist/RadarChart.js +35 -34
- package/dist/RadarChart.js.map +1 -1
- package/dist/SankeyChart.cjs +1 -1
- package/dist/SankeyChart.cjs.map +1 -1
- package/dist/SankeyChart.js +176 -169
- package/dist/SankeyChart.js.map +1 -1
- package/dist/ScatterPlot.cjs +1 -1
- package/dist/ScatterPlot.cjs.map +1 -1
- package/dist/ScatterPlot.js +367 -360
- package/dist/ScatterPlot.js.map +1 -1
- package/dist/ScrollStory.d.ts +1 -0
- package/dist/SimpleLineChart.cjs +1 -1
- package/dist/SimpleLineChart.cjs.map +1 -1
- package/dist/SimpleLineChart.js +286 -279
- package/dist/SimpleLineChart.js.map +1 -1
- package/dist/SingleGraphDashboard.cjs +1 -1
- package/dist/SingleGraphDashboard.d.ts +1 -0
- package/dist/SingleGraphDashboard.js +1 -1
- package/dist/SingleGraphDashboardFromConfig.d.ts +1 -0
- package/dist/SingleGraphDashboardGeoHubMaps.d.ts +1 -0
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +1 -0
- package/dist/SingleGraphDashboardThreeDGraphs.d.ts +1 -0
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +1 -0
- package/dist/SlopeChart.cjs +1 -1
- package/dist/SlopeChart.cjs.map +1 -1
- package/dist/SlopeChart.js +243 -236
- package/dist/SlopeChart.js.map +1 -1
- package/dist/SparkLine.cjs +1 -1
- package/dist/SparkLine.js +2 -2
- package/dist/StripChart.cjs +1 -1
- package/dist/StripChart.cjs.map +1 -1
- package/dist/StripChart.js +293 -286
- package/dist/StripChart.js.map +1 -1
- package/dist/TreeMapGraph.cjs +1 -1
- package/dist/TreeMapGraph.cjs.map +1 -1
- package/dist/TreeMapGraph.js +222 -215
- package/dist/TreeMapGraph.js.map +1 -1
- package/dist/Types.d.ts +1 -0
- package/dist/{area-BE2wo7fv.js → area-B6r7cv2o.js} +5 -5
- package/dist/{area-BE2wo7fv.js.map → area-B6r7cv2o.js.map} +1 -1
- package/dist/area-C1gxfNGD.cjs +2 -0
- package/dist/{area-D3Qx7k7K.cjs.map → area-C1gxfNGD.cjs.map} +1 -1
- package/dist/array-DMyR1sql.cjs +2 -0
- package/dist/array-DMyR1sql.cjs.map +1 -0
- package/dist/array-USo-Szhp.js +13 -0
- package/dist/array-USo-Szhp.js.map +1 -0
- package/dist/{ensureCompleteData-DS7gCvVd.js → ensureCompleteData-DH5c52Ub.js} +6 -6
- package/dist/{ensureCompleteData-DS7gCvVd.js.map → ensureCompleteData-DH5c52Ub.js.map} +1 -1
- package/dist/{ensureCompleteData-Oib-vGb0.cjs → ensureCompleteData-pZ9QO6kB.cjs} +2 -2
- package/dist/{ensureCompleteData-Oib-vGb0.cjs.map → ensureCompleteData-pZ9QO6kB.cjs.map} +1 -1
- package/dist/index-Blvf-Q3U.cjs +2 -0
- package/dist/{index-CF5hnGvG.cjs.map → index-Blvf-Q3U.cjs.map} +1 -1
- package/dist/index-D1RrKgK6.js +337 -0
- package/dist/index-D1RrKgK6.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.js +1 -1
- package/dist/line-DFlZsxI1.js +144 -0
- package/dist/line-DFlZsxI1.js.map +1 -0
- package/dist/line-DaEMhXmx.cjs +2 -0
- package/dist/line-DaEMhXmx.cjs.map +1 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/EmptyState-BZo1BbAn.js.map +0 -1
- package/dist/EmptyState-sAEZ_5rU.cjs +0 -2
- package/dist/EmptyState-sAEZ_5rU.cjs.map +0 -1
- package/dist/GraphEl-YKUlz-37.cjs +0 -2
- package/dist/GraphEl-YKUlz-37.cjs.map +0 -1
- package/dist/GraphEl-sVZvlyWe.js.map +0 -1
- package/dist/area-D3Qx7k7K.cjs +0 -2
- package/dist/array-B7TkkRH0.js +0 -89
- package/dist/array-B7TkkRH0.js.map +0 -1
- package/dist/array-DKbXV8lR.cjs +0 -2
- package/dist/array-DKbXV8lR.cjs.map +0 -1
- package/dist/index-CF5hnGvG.cjs +0 -2
- package/dist/index-DPGq3eIL.js +0 -330
- package/dist/index-DPGq3eIL.js.map +0 -1
- package/dist/line-CPfhohvF.js +0 -68
- package/dist/line-CPfhohvF.js.map +0 -1
- package/dist/line-DHV4JwCR.cjs +0 -2
- package/dist/line-DHV4JwCR.cjs.map +0 -1
package/dist/SlopeChart.js
CHANGED
|
@@ -1,150 +1,150 @@
|
|
|
1
|
-
import { c as Qt, m as
|
|
2
|
-
import { useRef as
|
|
1
|
+
import { c as Qt, m as Ct, j as s } from "./index-CHPV5EwG-Curnpaqc.js";
|
|
2
|
+
import { useRef as Ft, useState as It, useEffect as _t } from "react";
|
|
3
3
|
import { i as te } from "./index-Bwrro8-q.js";
|
|
4
4
|
import { T as ee } from "./Tooltip-Dj5eVppQ.js";
|
|
5
|
-
import { c as
|
|
5
|
+
import { c as Bt } from "./checkIfNullOrUndefined-DmfiKkNw.js";
|
|
6
6
|
import { Colors as y } from "./Colors.js";
|
|
7
7
|
import { A as Ut } from "./Axis-CRyfcLjc.js";
|
|
8
8
|
import { A as Jt } from "./AxisTitle-jeI7am8o.js";
|
|
9
9
|
import { D as ie } from "./DetailsModal-0Ry5nXiC.js";
|
|
10
10
|
import { a as oe } from "./linear-BqltdMeF.js";
|
|
11
11
|
import { u as le } from "./use-in-view-Cxa7y1TH.js";
|
|
12
|
-
import { m as
|
|
12
|
+
import { m as yt } from "./proxy-BxkFHwUw.js";
|
|
13
13
|
import { A as ne } from "./index-BqfRwk1n.js";
|
|
14
14
|
import { GraphFooter as re } from "./GraphFooter.js";
|
|
15
15
|
import { GraphHeader as ae } from "./GraphHeader.js";
|
|
16
16
|
import { ColorLegendWithMouseOver as se } from "./ColorLegendWithMouseOver.js";
|
|
17
|
-
import { E as ce } from "./EmptyState-
|
|
17
|
+
import { E as ce } from "./EmptyState-C7ZXkZWd.js";
|
|
18
18
|
import { u as Kt } from "./uniqBy-BHy4I8PK.js";
|
|
19
19
|
import { a as fe, G as ue } from "./GraphContainer-CRqzdKu2.js";
|
|
20
20
|
function me(e) {
|
|
21
21
|
const t = Qt.c(148), {
|
|
22
22
|
data: o,
|
|
23
|
-
width:
|
|
24
|
-
height:
|
|
25
|
-
showLabels:
|
|
23
|
+
width: G,
|
|
24
|
+
height: d,
|
|
25
|
+
showLabels: rt,
|
|
26
26
|
colors: l,
|
|
27
27
|
colorDomain: u,
|
|
28
|
-
radius:
|
|
28
|
+
radius: a,
|
|
29
29
|
leftMargin: p,
|
|
30
|
-
rightMargin:
|
|
31
|
-
topMargin:
|
|
32
|
-
bottomMargin:
|
|
33
|
-
tooltip:
|
|
34
|
-
onSeriesMouseOver:
|
|
35
|
-
axisTitles:
|
|
36
|
-
highlightedDataPoints:
|
|
37
|
-
selectedColor:
|
|
38
|
-
minValue:
|
|
39
|
-
maxValue:
|
|
40
|
-
onSeriesMouseClick:
|
|
41
|
-
resetSelectionOnDoubleClick:
|
|
42
|
-
detailsOnClick:
|
|
30
|
+
rightMargin: xt,
|
|
31
|
+
topMargin: W,
|
|
32
|
+
bottomMargin: kt,
|
|
33
|
+
tooltip: Mt,
|
|
34
|
+
onSeriesMouseOver: at,
|
|
35
|
+
axisTitles: g,
|
|
36
|
+
highlightedDataPoints: b,
|
|
37
|
+
selectedColor: st,
|
|
38
|
+
minValue: ct,
|
|
39
|
+
maxValue: ft,
|
|
40
|
+
onSeriesMouseClick: pt,
|
|
41
|
+
resetSelectionOnDoubleClick: jt,
|
|
42
|
+
detailsOnClick: V,
|
|
43
43
|
styles: x,
|
|
44
44
|
classNames: f,
|
|
45
45
|
animate: r,
|
|
46
|
-
dimmedOpacity:
|
|
47
|
-
customLayers:
|
|
48
|
-
} = e,
|
|
49
|
-
let
|
|
50
|
-
t[0] !== r.amount || t[1] !== r.once ? (
|
|
46
|
+
dimmedOpacity: v,
|
|
47
|
+
customLayers: M
|
|
48
|
+
} = e, St = Ft(null);
|
|
49
|
+
let ht;
|
|
50
|
+
t[0] !== r.amount || t[1] !== r.once ? (ht = {
|
|
51
51
|
once: r.once,
|
|
52
52
|
amount: r.amount
|
|
53
|
-
}, t[0] = r.amount, t[1] = r.once, t[2] =
|
|
54
|
-
const
|
|
55
|
-
let dt;
|
|
56
|
-
t[3] !== $t || t[4] !== p || t[5] !== mt || t[6] !== yt ? (dt = {
|
|
57
|
-
top: yt,
|
|
58
|
-
bottom: $t,
|
|
59
|
-
left: p,
|
|
60
|
-
right: mt
|
|
61
|
-
}, t[3] = $t, t[4] = p, t[5] = mt, t[6] = yt, t[7] = dt) : dt = t[7];
|
|
62
|
-
const c = dt, a = P - c.left - c.right, g = $ - c.top - c.bottom;
|
|
63
|
-
let Mt;
|
|
64
|
-
t[8] !== o ? (Mt = Math.min(...o.map(Pe)), t[8] = o, t[9] = Mt) : Mt = t[9];
|
|
65
|
-
let st;
|
|
66
|
-
t[10] !== o ? (st = Math.min(...o.map(He)), t[10] = o, t[11] = st) : st = t[11];
|
|
67
|
-
const W = Math.min(Mt, st);
|
|
53
|
+
}, t[0] = r.amount, t[1] = r.once, t[2] = ht) : ht = t[2];
|
|
54
|
+
const O = le(St, ht), [A, Lt] = It(void 0), [Y, Tt] = It(void 0), [Dt, Et] = It(void 0), [dt, Ht] = It(void 0);
|
|
68
55
|
let gt;
|
|
69
|
-
t[
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
let
|
|
89
|
-
t[
|
|
90
|
-
|
|
56
|
+
t[3] !== kt || t[4] !== p || t[5] !== xt || t[6] !== W ? (gt = {
|
|
57
|
+
top: W,
|
|
58
|
+
bottom: kt,
|
|
59
|
+
left: p,
|
|
60
|
+
right: xt
|
|
61
|
+
}, t[3] = kt, t[4] = p, t[5] = xt, t[6] = W, t[7] = gt) : gt = t[7];
|
|
62
|
+
const c = gt, n = G - c.left - c.right, w = d - c.top - c.bottom;
|
|
63
|
+
let Nt;
|
|
64
|
+
t[8] !== o ? (Nt = Math.min(...o.map(Pe)), t[8] = o, t[9] = Nt) : Nt = t[9];
|
|
65
|
+
let ut;
|
|
66
|
+
t[10] !== o ? (ut = Math.min(...o.map(He)), t[10] = o, t[11] = ut) : ut = t[11];
|
|
67
|
+
const R = Math.min(Nt, ut);
|
|
68
|
+
let vt;
|
|
69
|
+
t[12] !== o ? (vt = Math.max(...o.map(Ee)), t[12] = o, t[13] = vt) : vt = t[13];
|
|
70
|
+
let mt;
|
|
71
|
+
t[14] !== o ? (mt = Math.max(...o.map(Te)), t[14] = o, t[15] = mt) : mt = t[15];
|
|
72
|
+
const X = Math.max(vt, mt);
|
|
73
|
+
let q, z, j, B, F, U, I, J, S, L, T, D, N;
|
|
74
|
+
if (t[16] !== r.duration || t[17] !== g[0] || t[18] !== g[1] || t[19] !== f?.dataConnectors || t[20] !== f?.yAxis?.axis || t[21] !== f?.yAxis?.labels || t[22] !== f?.yAxis?.title || t[23] !== u || t[24] !== l || t[25] !== M || t[26] !== o || t[27] !== V || t[28] !== v || t[29] !== w || t[30] !== n || t[31] !== d || t[32] !== b || t[33] !== O || t[34] !== c.left || t[35] !== c.top || t[36] !== ft || t[37] !== X || t[38] !== ct || t[39] !== R || t[40] !== Y || t[41] !== A || t[42] !== pt || t[43] !== at || t[44] !== a || t[45] !== jt || t[46] !== st || t[47] !== rt || t[48] !== x?.dataConnectors || t[49] !== x?.yAxis?.labels || t[50] !== x?.yAxis?.title || t[51] !== G) {
|
|
75
|
+
let P;
|
|
76
|
+
t[65] !== ct || t[66] !== R ? (P = Bt(ct) ? R > 0 ? 0 : R : ct, t[65] = ct, t[66] = R, t[67] = P) : P = t[67];
|
|
77
|
+
let Pt;
|
|
78
|
+
t[68] !== ft || t[69] !== X ? (Pt = Bt(ft) ? X > 0 ? X : 0 : ft, t[68] = ft, t[69] = X, t[70] = Pt) : Pt = t[70];
|
|
79
|
+
const m = oe().domain([P, Pt]).range([w, 0]).nice();
|
|
80
|
+
z = yt.svg, B = `${G}px`, F = `${d}px`, U = `0 0 ${G} ${d}`, I = "mx-auto", J = "ltr", S = St, T = `translate(${c.left},${c.top})`;
|
|
81
|
+
const qt = f?.yAxis?.axis;
|
|
91
82
|
let _;
|
|
92
|
-
t[
|
|
83
|
+
t[71] !== qt ? (_ = Ct("stroke-1 stroke-primary-gray-500 dark:stroke-primary-gray-550", qt), t[71] = qt, t[72] = _) : _ = t[72];
|
|
84
|
+
let bt;
|
|
85
|
+
t[73] !== _ ? (bt = {
|
|
86
|
+
axis: _
|
|
87
|
+
}, t[73] = _, t[74] = bt) : bt = t[74];
|
|
93
88
|
let tt;
|
|
94
|
-
t[
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
t[
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
let
|
|
111
|
-
t[
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
89
|
+
t[75] !== w || t[76] !== a || t[77] !== bt ? (tt = /* @__PURE__ */ s.jsx(Ut, { y1: 0, y2: w, x1: a, x2: a, classNames: bt }), t[75] = w, t[76] = a, t[77] = bt, t[78] = tt) : tt = t[78];
|
|
90
|
+
const Gt = w + 15, Ot = x?.yAxis?.title, At = f?.yAxis?.title;
|
|
91
|
+
let et;
|
|
92
|
+
t[79] !== At ? (et = Ct("fill-primary-gray-700 dark:fill-primary-gray-300 text-xs", At), t[79] = At, t[80] = et) : et = t[80];
|
|
93
|
+
let it;
|
|
94
|
+
t[81] !== g[0] || t[82] !== a || t[83] !== Gt || t[84] !== Ot || t[85] !== et ? (it = /* @__PURE__ */ s.jsx(Jt, { x: a, y: Gt, style: Ot, className: et, text: g[0] }), t[81] = g[0], t[82] = a, t[83] = Gt, t[84] = Ot, t[85] = et, t[86] = it) : it = t[86], t[87] !== tt || t[88] !== it ? (D = /* @__PURE__ */ s.jsxs("g", { children: [
|
|
95
|
+
tt,
|
|
96
|
+
it
|
|
97
|
+
] }), t[87] = tt, t[88] = it, t[89] = D) : D = t[89];
|
|
98
|
+
const Vt = n - a, ot = n - a, lt = f?.yAxis?.axis;
|
|
99
|
+
let $;
|
|
100
|
+
t[90] !== lt ? ($ = Ct("stroke-1 stroke-primary-gray-500 dark:stroke-primary-gray-550", lt), t[90] = lt, t[91] = $) : $ = t[91];
|
|
101
|
+
let C;
|
|
102
|
+
t[92] !== $ ? (C = {
|
|
103
|
+
axis: $
|
|
104
|
+
}, t[92] = $, t[93] = C) : C = t[93];
|
|
105
|
+
let k;
|
|
106
|
+
t[94] !== w || t[95] !== Vt || t[96] !== ot || t[97] !== C ? (k = /* @__PURE__ */ s.jsx(Ut, { y1: 0, y2: w, x1: Vt, x2: ot, classNames: C }), t[94] = w, t[95] = Vt, t[96] = ot, t[97] = C, t[98] = k) : k = t[98];
|
|
107
|
+
const nt = n - a, $t = w + 15, Wt = x?.yAxis?.title, Yt = f?.yAxis?.title;
|
|
108
|
+
let Rt;
|
|
109
|
+
t[99] !== Yt ? (Rt = Ct("fill-primary-gray-700 dark:fill-primary-gray-300 text-xs", Yt), t[99] = Yt, t[100] = Rt) : Rt = t[100];
|
|
110
|
+
let Xt;
|
|
111
|
+
t[101] !== g[1] || t[102] !== nt || t[103] !== $t || t[104] !== Wt || t[105] !== Rt ? (Xt = /* @__PURE__ */ s.jsx(Jt, { x: nt, y: $t, style: Wt, className: Rt, text: g[1] }), t[101] = g[1], t[102] = nt, t[103] = $t, t[104] = Wt, t[105] = Rt, t[106] = Xt) : Xt = t[106], t[107] !== k || t[108] !== Xt ? (N = /* @__PURE__ */ s.jsxs("g", { children: [
|
|
112
|
+
k,
|
|
113
|
+
Xt
|
|
114
|
+
] }), t[107] = k, t[108] = Xt, t[109] = N) : N = t[109], t[110] !== M ? (j = M.filter(Le).map(Se), t[110] = M, t[111] = j) : j = t[111], q = ne, L = o.map((i, Zt) => /* @__PURE__ */ s.jsxs(yt.g, { variants: {
|
|
115
115
|
initial: {
|
|
116
|
-
opacity:
|
|
116
|
+
opacity: st ? i.color && l[u.indexOf(`${i.color}`)] === st ? 1 : v : A ? A.label === i.label ? 1 : v : b.length !== 0 ? b.indexOf(i.label) !== -1 ? 1 : v : 1
|
|
117
117
|
},
|
|
118
118
|
whileInView: {
|
|
119
|
-
opacity:
|
|
119
|
+
opacity: st ? i.color && l[u.indexOf(`${i.color}`)] === st ? 1 : v : A ? A.label === i.label ? 1 : v : b.length !== 0 ? b.indexOf(i.label) !== -1 ? 1 : v : 1,
|
|
120
120
|
transition: {
|
|
121
121
|
duration: r.duration
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
-
}, initial: "initial", animate:
|
|
124
|
+
}, initial: "initial", animate: O ? "whileInView" : "initial", exit: {
|
|
125
125
|
opacity: 0,
|
|
126
126
|
transition: {
|
|
127
127
|
duration: r.duration
|
|
128
128
|
}
|
|
129
|
-
}, onMouseEnter: (
|
|
130
|
-
|
|
131
|
-
}, onMouseMove: (
|
|
132
|
-
|
|
129
|
+
}, onMouseEnter: (zt) => {
|
|
130
|
+
Lt(i), Ht(zt.clientY), Et(zt.clientX), at?.(i);
|
|
131
|
+
}, onMouseMove: (zt) => {
|
|
132
|
+
Lt(i), Ht(zt.clientY), Et(zt.clientX);
|
|
133
133
|
}, onMouseLeave: () => {
|
|
134
|
-
|
|
134
|
+
Lt(void 0), Et(void 0), Ht(void 0), at?.(void 0);
|
|
135
135
|
}, onClick: () => {
|
|
136
|
-
(
|
|
136
|
+
(pt || V) && (te(Y, i) && jt ? (Tt(void 0), pt?.(void 0)) : (Tt(i), pt?.(i)));
|
|
137
137
|
}, children: [
|
|
138
|
-
/* @__PURE__ */
|
|
138
|
+
/* @__PURE__ */ s.jsx(yt.circle, { variants: {
|
|
139
139
|
initial: {
|
|
140
|
-
cx:
|
|
140
|
+
cx: a,
|
|
141
141
|
cy: m(i.y1),
|
|
142
142
|
fill: o.filter(Ie).length === 0 ? l[0] : i.color ? l[u.indexOf(`${i.color}`)] : y.gray,
|
|
143
143
|
stroke: o.filter(Ve).length === 0 ? l[0] : i.color ? l[u.indexOf(`${i.color}`)] : y.gray,
|
|
144
144
|
opacity: 0
|
|
145
145
|
},
|
|
146
146
|
whileInView: {
|
|
147
|
-
cx:
|
|
147
|
+
cx: a,
|
|
148
148
|
cy: m(i.y1),
|
|
149
149
|
fill: o.filter(Ne).length === 0 ? l[0] : i.color ? l[u.indexOf(`${i.color}`)] : y.gray,
|
|
150
150
|
stroke: o.filter(De).length === 0 ? l[0] : i.color ? l[u.indexOf(`${i.color}`)] : y.gray,
|
|
@@ -153,29 +153,29 @@ function me(e) {
|
|
|
153
153
|
duration: r.duration
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
}, initial: "initial", animate:
|
|
156
|
+
}, initial: "initial", animate: O ? "whileInView" : "initial", exit: {
|
|
157
157
|
opacity: 0,
|
|
158
158
|
transition: {
|
|
159
159
|
duration: r.duration
|
|
160
160
|
}
|
|
161
|
-
}, r:
|
|
161
|
+
}, r: a, style: {
|
|
162
162
|
fillOpacity: 0.6
|
|
163
163
|
} }),
|
|
164
|
-
|
|
164
|
+
rt ? /* @__PURE__ */ s.jsx(yt.text, { variants: {
|
|
165
165
|
initial: {
|
|
166
166
|
y: m(i.y1),
|
|
167
|
-
fill: o.filter(
|
|
167
|
+
fill: o.filter(je).length === 0 ? l[0] : i.color ? l[u.indexOf(`${i.color}`)] : y.gray,
|
|
168
168
|
opacity: 0
|
|
169
169
|
},
|
|
170
170
|
whileInView: {
|
|
171
171
|
y: m(i.y1),
|
|
172
|
-
fill: o.filter(
|
|
172
|
+
fill: o.filter(Me).length === 0 ? l[0] : i.color ? l[u.indexOf(`${i.color}`)] : y.gray,
|
|
173
173
|
opacity: 1,
|
|
174
174
|
transition: {
|
|
175
175
|
duration: r.duration
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
}, initial: "initial", animate:
|
|
178
|
+
}, initial: "initial", animate: O ? "whileInView" : "initial", exit: {
|
|
179
179
|
opacity: 0,
|
|
180
180
|
transition: {
|
|
181
181
|
duration: r.duration
|
|
@@ -183,7 +183,7 @@ function me(e) {
|
|
|
183
183
|
}, style: {
|
|
184
184
|
textAnchor: "end",
|
|
185
185
|
...x?.yAxis?.labels || {}
|
|
186
|
-
}, className:
|
|
186
|
+
}, className: Ct("text-xs", f?.yAxis?.labels), x: 5, dy: "0.33em", textAnchor: "end", dx: 0 - a - 3, children: i.label }) : b.length !== 0 && b.indexOf(i.label) !== -1 ? /* @__PURE__ */ s.jsx(yt.text, { variants: {
|
|
187
187
|
initial: {
|
|
188
188
|
y: m(i.y1),
|
|
189
189
|
fill: o.filter(ke).length === 0 ? l[0] : i.color ? l[u.indexOf(`${i.color}`)] : y.gray,
|
|
@@ -197,7 +197,7 @@ function me(e) {
|
|
|
197
197
|
duration: r.duration
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
|
-
}, initial: "initial", animate:
|
|
200
|
+
}, initial: "initial", animate: O ? "whileInView" : "initial", exit: {
|
|
201
201
|
opacity: 0,
|
|
202
202
|
transition: {
|
|
203
203
|
duration: r.duration
|
|
@@ -205,17 +205,17 @@ function me(e) {
|
|
|
205
205
|
}, style: {
|
|
206
206
|
textAnchor: "end",
|
|
207
207
|
...x?.yAxis?.labels || {}
|
|
208
|
-
}, className:
|
|
209
|
-
/* @__PURE__ */
|
|
208
|
+
}, className: Ct("text-xs", f?.yAxis?.labels), x: 5, dy: "0.33em", dx: -3, children: i.label }) : null,
|
|
209
|
+
/* @__PURE__ */ s.jsx(yt.circle, { variants: {
|
|
210
210
|
initial: {
|
|
211
|
-
cx:
|
|
211
|
+
cx: n - a,
|
|
212
212
|
cy: m(i.y2),
|
|
213
213
|
fill: o.filter($e).length === 0 ? l[0] : i.color ? l[u.indexOf(`${i.color}`)] : y.gray,
|
|
214
214
|
stroke: o.filter(Ae).length === 0 ? l[0] : i.color ? l[u.indexOf(`${i.color}`)] : y.gray,
|
|
215
215
|
opacity: 0
|
|
216
216
|
},
|
|
217
217
|
whileInView: {
|
|
218
|
-
cx:
|
|
218
|
+
cx: n - a,
|
|
219
219
|
cy: m(i.y2),
|
|
220
220
|
fill: o.filter(Oe).length === 0 ? l[0] : i.color ? l[u.indexOf(`${i.color}`)] : y.gray,
|
|
221
221
|
stroke: o.filter(be).length === 0 ? l[0] : i.color ? l[u.indexOf(`${i.color}`)] : y.gray,
|
|
@@ -224,15 +224,15 @@ function me(e) {
|
|
|
224
224
|
duration: r.duration
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
|
-
}, initial: "initial", animate:
|
|
227
|
+
}, initial: "initial", animate: O ? "whileInView" : "initial", exit: {
|
|
228
228
|
opacity: 0,
|
|
229
229
|
transition: {
|
|
230
230
|
duration: r.duration
|
|
231
231
|
}
|
|
232
|
-
}, r:
|
|
232
|
+
}, r: a, style: {
|
|
233
233
|
fillOpacity: 0.6
|
|
234
234
|
} }),
|
|
235
|
-
|
|
235
|
+
rt ? /* @__PURE__ */ s.jsx(yt.text, { variants: {
|
|
236
236
|
initial: {
|
|
237
237
|
y: m(i.y2),
|
|
238
238
|
fill: o.filter(we).length === 0 ? l[0] : i.color ? l[u.indexOf(`${i.color}`)] : y.gray,
|
|
@@ -246,7 +246,7 @@ function me(e) {
|
|
|
246
246
|
duration: r.duration
|
|
247
247
|
}
|
|
248
248
|
}
|
|
249
|
-
}, initial: "initial", animate:
|
|
249
|
+
}, initial: "initial", animate: O ? "whileInView" : "initial", exit: {
|
|
250
250
|
opacity: 0,
|
|
251
251
|
transition: {
|
|
252
252
|
duration: r.duration
|
|
@@ -254,7 +254,7 @@ function me(e) {
|
|
|
254
254
|
}, style: {
|
|
255
255
|
textAnchor: "start",
|
|
256
256
|
...x?.yAxis?.labels || {}
|
|
257
|
-
}, className:
|
|
257
|
+
}, className: Ct("text-xs", f?.yAxis?.labels), x: n - 5, dy: "0.33em", dx: a + 3, children: i.label }) : b.length !== 0 && b.indexOf(i.label) !== -1 ? /* @__PURE__ */ s.jsx(yt.text, { variants: {
|
|
258
258
|
initial: {
|
|
259
259
|
y: m(i.y2),
|
|
260
260
|
fill: o.filter(ge).length === 0 ? l[0] : i.color ? l[u.indexOf(`${i.color}`)] : y.gray,
|
|
@@ -268,7 +268,7 @@ function me(e) {
|
|
|
268
268
|
duration: r.duration
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
|
-
}, initial: "initial", animate:
|
|
271
|
+
}, initial: "initial", animate: O ? "whileInView" : "initial", exit: {
|
|
272
272
|
opacity: 0,
|
|
273
273
|
transition: {
|
|
274
274
|
duration: r.duration
|
|
@@ -276,18 +276,18 @@ function me(e) {
|
|
|
276
276
|
}, style: {
|
|
277
277
|
textAnchor: "start",
|
|
278
278
|
...x?.yAxis?.labels || {}
|
|
279
|
-
}, className:
|
|
280
|
-
/* @__PURE__ */
|
|
279
|
+
}, className: Ct("text-xs", f?.yAxis?.labels), x: n - 5, dy: "0.33em", dx: 3, children: i.label }) : null,
|
|
280
|
+
/* @__PURE__ */ s.jsx(yt.line, { variants: {
|
|
281
281
|
initial: {
|
|
282
|
-
x1:
|
|
283
|
-
x2:
|
|
282
|
+
x1: a,
|
|
283
|
+
x2: n - a,
|
|
284
284
|
y1: m(i.y1),
|
|
285
285
|
y2: m(i.y1),
|
|
286
286
|
stroke: o.filter(he).length === 0 ? l[0] : i.color ? l[u.indexOf(`${i.color}`)] : y.gray
|
|
287
287
|
},
|
|
288
288
|
whileInView: {
|
|
289
|
-
x1:
|
|
290
|
-
x2:
|
|
289
|
+
x1: a,
|
|
290
|
+
x2: n - a,
|
|
291
291
|
y1: m(i.y1),
|
|
292
292
|
y2: m(i.y2),
|
|
293
293
|
stroke: o.filter(pe).length === 0 ? l[0] : i.color ? l[u.indexOf(`${i.color}`)] : y.gray,
|
|
@@ -295,7 +295,7 @@ function me(e) {
|
|
|
295
295
|
duration: r.duration
|
|
296
296
|
}
|
|
297
297
|
}
|
|
298
|
-
}, initial: "initial", animate:
|
|
298
|
+
}, initial: "initial", animate: O ? "whileInView" : "initial", exit: {
|
|
299
299
|
opacity: 0,
|
|
300
300
|
transition: {
|
|
301
301
|
duration: r.duration
|
|
@@ -305,33 +305,33 @@ function me(e) {
|
|
|
305
305
|
strokeWidth: 1,
|
|
306
306
|
...x?.dataConnectors
|
|
307
307
|
} })
|
|
308
|
-
] }, Zt)), t[16] = r.duration, t[17] =
|
|
308
|
+
] }, Zt)), t[16] = r.duration, t[17] = g[0], t[18] = g[1], t[19] = f?.dataConnectors, t[20] = f?.yAxis?.axis, t[21] = f?.yAxis?.labels, t[22] = f?.yAxis?.title, t[23] = u, t[24] = l, t[25] = M, t[26] = o, t[27] = V, t[28] = v, t[29] = w, t[30] = n, t[31] = d, t[32] = b, t[33] = O, t[34] = c.left, t[35] = c.top, t[36] = ft, t[37] = X, t[38] = ct, t[39] = R, t[40] = Y, t[41] = A, t[42] = pt, t[43] = at, t[44] = a, t[45] = jt, t[46] = st, t[47] = rt, t[48] = x?.dataConnectors, t[49] = x?.yAxis?.labels, t[50] = x?.yAxis?.title, t[51] = G, t[52] = q, t[53] = z, t[54] = j, t[55] = B, t[56] = F, t[57] = U, t[58] = I, t[59] = J, t[60] = S, t[61] = L, t[62] = T, t[63] = D, t[64] = N;
|
|
309
309
|
} else
|
|
310
|
-
|
|
311
|
-
let U;
|
|
312
|
-
t[112] !== R || t[113] !== I ? (U = /* @__PURE__ */ n.jsx(R, { children: I }), t[112] = R, t[113] = I, t[114] = U) : U = t[114];
|
|
313
|
-
let v;
|
|
314
|
-
t[115] !== C ? (v = C.filter(xe).map(ye), t[115] = C, t[116] = v) : v = t[116];
|
|
315
|
-
let J;
|
|
316
|
-
t[117] !== k || t[118] !== U || t[119] !== v || t[120] !== S || t[121] !== j || t[122] !== M ? (J = /* @__PURE__ */ n.jsxs("g", { transform: S, children: [
|
|
317
|
-
j,
|
|
318
|
-
M,
|
|
319
|
-
k,
|
|
320
|
-
U,
|
|
321
|
-
v
|
|
322
|
-
] }), t[117] = k, t[118] = U, t[119] = v, t[120] = S, t[121] = j, t[122] = M, t[123] = J) : J = t[123];
|
|
323
|
-
let L;
|
|
324
|
-
t[124] !== X || t[125] !== F || t[126] !== q || t[127] !== z || t[128] !== N || t[129] !== B || t[130] !== V || t[131] !== J ? (L = /* @__PURE__ */ n.jsx(X, { width: F, height: q, viewBox: z, className: N, direction: B, ref: V, children: J }), t[124] = X, t[125] = F, t[126] = q, t[127] = z, t[128] = N, t[129] = B, t[130] = V, t[131] = J, t[132] = L) : L = t[132];
|
|
310
|
+
q = t[52], z = t[53], j = t[54], B = t[55], F = t[56], U = t[57], I = t[58], J = t[59], S = t[60], L = t[61], T = t[62], D = t[63], N = t[64];
|
|
325
311
|
let K;
|
|
326
|
-
t[
|
|
327
|
-
let
|
|
328
|
-
t[
|
|
329
|
-
let
|
|
330
|
-
|
|
331
|
-
|
|
312
|
+
t[112] !== q || t[113] !== L ? (K = /* @__PURE__ */ s.jsx(q, { children: L }), t[112] = q, t[113] = L, t[114] = K) : K = t[114];
|
|
313
|
+
let h;
|
|
314
|
+
t[115] !== M ? (h = M.filter(xe).map(ye), t[115] = M, t[116] = h) : h = t[116];
|
|
315
|
+
let Q;
|
|
316
|
+
t[117] !== j || t[118] !== K || t[119] !== h || t[120] !== T || t[121] !== D || t[122] !== N ? (Q = /* @__PURE__ */ s.jsxs("g", { transform: T, children: [
|
|
317
|
+
D,
|
|
318
|
+
N,
|
|
319
|
+
j,
|
|
332
320
|
K,
|
|
333
|
-
|
|
334
|
-
] }), t[
|
|
321
|
+
h
|
|
322
|
+
] }), t[117] = j, t[118] = K, t[119] = h, t[120] = T, t[121] = D, t[122] = N, t[123] = Q) : Q = t[123];
|
|
323
|
+
let E;
|
|
324
|
+
t[124] !== z || t[125] !== B || t[126] !== F || t[127] !== U || t[128] !== I || t[129] !== J || t[130] !== S || t[131] !== Q ? (E = /* @__PURE__ */ s.jsx(z, { width: B, height: F, viewBox: U, className: I, direction: J, ref: S, children: Q }), t[124] = z, t[125] = B, t[126] = F, t[127] = U, t[128] = I, t[129] = J, t[130] = S, t[131] = Q, t[132] = E) : E = t[132];
|
|
325
|
+
let Z;
|
|
326
|
+
t[133] !== f?.tooltip || t[134] !== Dt || t[135] !== dt || t[136] !== A || t[137] !== x?.tooltip || t[138] !== Mt ? (Z = A && Mt && Dt && dt ? /* @__PURE__ */ s.jsx(ee, { data: A, body: Mt, xPos: Dt, yPos: dt, backgroundStyle: x?.tooltip, className: f?.tooltip }) : null, t[133] = f?.tooltip, t[134] = Dt, t[135] = dt, t[136] = A, t[137] = x?.tooltip, t[138] = Mt, t[139] = Z) : Z = t[139];
|
|
327
|
+
let H;
|
|
328
|
+
t[140] !== f?.modal || t[141] !== V || t[142] !== Y ? (H = V && Y !== void 0 ? /* @__PURE__ */ s.jsx(ie, { body: V, data: Y, setData: Tt, className: f?.modal }) : null, t[140] = f?.modal, t[141] = V, t[142] = Y, t[143] = H) : H = t[143];
|
|
329
|
+
let wt;
|
|
330
|
+
return t[144] !== E || t[145] !== Z || t[146] !== H ? (wt = /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
331
|
+
E,
|
|
332
|
+
Z,
|
|
333
|
+
H
|
|
334
|
+
] }), t[144] = E, t[145] = Z, t[146] = H, t[147] = wt) : wt = t[147], wt;
|
|
335
335
|
}
|
|
336
336
|
function ye(e) {
|
|
337
337
|
return e.layer;
|
|
@@ -375,10 +375,10 @@ function Ce(e) {
|
|
|
375
375
|
function ke(e) {
|
|
376
376
|
return e.color;
|
|
377
377
|
}
|
|
378
|
-
function
|
|
378
|
+
function Me(e) {
|
|
379
379
|
return e.color;
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function je(e) {
|
|
382
382
|
return e.color;
|
|
383
383
|
}
|
|
384
384
|
function De(e) {
|
|
@@ -412,103 +412,110 @@ function Pe(e) {
|
|
|
412
412
|
return e.y1;
|
|
413
413
|
}
|
|
414
414
|
function yi(e) {
|
|
415
|
-
const t = Qt.c(
|
|
415
|
+
const t = Qt.c(89), {
|
|
416
416
|
data: o,
|
|
417
|
-
graphTitle:
|
|
418
|
-
colors:
|
|
419
|
-
sources:
|
|
417
|
+
graphTitle: G,
|
|
418
|
+
colors: d,
|
|
419
|
+
sources: rt,
|
|
420
420
|
graphDescription: l,
|
|
421
421
|
showLabels: u,
|
|
422
|
-
height:
|
|
422
|
+
height: a,
|
|
423
423
|
width: p,
|
|
424
|
-
footNote:
|
|
425
|
-
colorDomain:
|
|
426
|
-
colorLegendTitle:
|
|
427
|
-
radius:
|
|
428
|
-
axisTitles:
|
|
429
|
-
padding:
|
|
430
|
-
backgroundColor:
|
|
431
|
-
leftMargin:
|
|
432
|
-
rightMargin:
|
|
433
|
-
topMargin:
|
|
434
|
-
bottomMargin:
|
|
435
|
-
tooltip:
|
|
436
|
-
relativeHeight:
|
|
424
|
+
footNote: xt,
|
|
425
|
+
colorDomain: W,
|
|
426
|
+
colorLegendTitle: kt,
|
|
427
|
+
radius: Mt,
|
|
428
|
+
axisTitles: at,
|
|
429
|
+
padding: g,
|
|
430
|
+
backgroundColor: b,
|
|
431
|
+
leftMargin: st,
|
|
432
|
+
rightMargin: ct,
|
|
433
|
+
topMargin: ft,
|
|
434
|
+
bottomMargin: pt,
|
|
435
|
+
tooltip: jt,
|
|
436
|
+
relativeHeight: V,
|
|
437
437
|
onSeriesMouseOver: x,
|
|
438
438
|
showColorScale: f,
|
|
439
439
|
highlightedDataPoints: r,
|
|
440
|
-
graphID:
|
|
441
|
-
minValue:
|
|
442
|
-
maxValue:
|
|
443
|
-
onSeriesMouseClick:
|
|
444
|
-
graphDownload:
|
|
445
|
-
dataDownload:
|
|
446
|
-
fillContainer:
|
|
447
|
-
language:
|
|
448
|
-
showNAColor:
|
|
449
|
-
minHeight:
|
|
450
|
-
theme:
|
|
451
|
-
ariaLabel:
|
|
452
|
-
resetSelectionOnDoubleClick:
|
|
453
|
-
detailsOnClick:
|
|
440
|
+
graphID: v,
|
|
441
|
+
minValue: M,
|
|
442
|
+
maxValue: St,
|
|
443
|
+
onSeriesMouseClick: ht,
|
|
444
|
+
graphDownload: O,
|
|
445
|
+
dataDownload: A,
|
|
446
|
+
fillContainer: Lt,
|
|
447
|
+
language: Y,
|
|
448
|
+
showNAColor: Tt,
|
|
449
|
+
minHeight: Dt,
|
|
450
|
+
theme: Et,
|
|
451
|
+
ariaLabel: dt,
|
|
452
|
+
resetSelectionOnDoubleClick: Ht,
|
|
453
|
+
detailsOnClick: gt,
|
|
454
454
|
styles: c,
|
|
455
|
-
classNames:
|
|
456
|
-
animate:
|
|
457
|
-
dimmedOpacity:
|
|
458
|
-
customLayers:
|
|
459
|
-
} = e,
|
|
460
|
-
let
|
|
461
|
-
t[0] !==
|
|
462
|
-
const
|
|
463
|
-
let
|
|
464
|
-
t[2] !== r ? (
|
|
465
|
-
const
|
|
466
|
-
let
|
|
467
|
-
t[4] !==
|
|
468
|
-
const
|
|
469
|
-
let
|
|
470
|
-
t[6] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
471
|
-
const
|
|
472
|
-
|
|
455
|
+
classNames: n,
|
|
456
|
+
animate: w,
|
|
457
|
+
dimmedOpacity: Nt,
|
|
458
|
+
customLayers: ut
|
|
459
|
+
} = e, R = u === void 0 ? !1 : u, vt = Mt === void 0 ? 5 : Mt;
|
|
460
|
+
let mt;
|
|
461
|
+
t[0] !== at ? (mt = at === void 0 ? ["", ""] : at, t[0] = at, t[1] = mt) : mt = t[1];
|
|
462
|
+
const X = mt, q = b === void 0 ? !1 : b, z = st === void 0 ? 50 : st, j = ct === void 0 ? 50 : ct, B = ft === void 0 ? 20 : ft, F = pt === void 0 ? 20 : pt, U = f === void 0 ? !0 : f;
|
|
463
|
+
let I;
|
|
464
|
+
t[2] !== r ? (I = r === void 0 ? [] : r, t[2] = r, t[3] = I) : I = t[3];
|
|
465
|
+
const J = I, S = O === void 0 ? !1 : O, L = A === void 0 ? !1 : A, T = Lt === void 0 ? !0 : Lt, D = Y === void 0 ? "en" : Y, N = Tt === void 0 ? !0 : Tt, K = Dt === void 0 ? 0 : Dt, h = Et === void 0 ? "light" : Et, Q = Ht === void 0 ? !0 : Ht, E = w === void 0 ? !1 : w, Z = Nt === void 0 ? 0.3 : Nt;
|
|
466
|
+
let H;
|
|
467
|
+
t[4] !== ut ? (H = ut === void 0 ? [] : ut, t[4] = ut, t[5] = H) : H = t[5];
|
|
468
|
+
const wt = H, [P, Pt] = It(0), [m, qt] = It(0), [_, bt] = It(void 0), tt = Ft(null), Gt = Ft(null);
|
|
469
|
+
let Ot, At;
|
|
470
|
+
t[6] === Symbol.for("react.memo_cache_sentinel") ? (Ot = () => {
|
|
471
|
+
const Wt = new ResizeObserver((Yt) => {
|
|
472
|
+
Pt(Yt[0].target.clientWidth || 620), qt(Yt[0].target.clientHeight || 480);
|
|
473
473
|
});
|
|
474
|
-
return
|
|
475
|
-
},
|
|
476
|
-
const
|
|
477
|
-
let
|
|
478
|
-
t[8] !==
|
|
474
|
+
return tt.current && Wt.observe(tt.current), () => Wt.disconnect();
|
|
475
|
+
}, At = [], t[6] = Ot, t[7] = At) : (Ot = t[6], At = t[7]), _t(Ot, At);
|
|
476
|
+
const et = n?.graphContainer, it = c?.graphContainer, Vt = T ? void 0 : p;
|
|
477
|
+
let ot;
|
|
478
|
+
t[8] !== n?.description || t[9] !== n?.title || t[10] !== o || t[11] !== L || t[12] !== l || t[13] !== S || t[14] !== G || t[15] !== c?.description || t[16] !== c?.title || t[17] !== p ? (ot = G || l || S || L ? /* @__PURE__ */ s.jsx(ae, { styles: {
|
|
479
479
|
title: c?.title,
|
|
480
480
|
description: c?.description
|
|
481
481
|
}, classNames: {
|
|
482
|
-
title:
|
|
483
|
-
description:
|
|
484
|
-
}, graphTitle:
|
|
485
|
-
let
|
|
486
|
-
t[19] !==
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
482
|
+
title: n?.title,
|
|
483
|
+
description: n?.description
|
|
484
|
+
}, graphTitle: G, graphDescription: l, width: p, graphDownload: S ? Gt : void 0, dataDownload: L ? o.map(Fe).filter(Be).length > 0 ? o.map(ze).filter(qe) : o.filter(Xe) : null }) : null, t[8] = n?.description, t[9] = n?.title, t[10] = o, t[11] = L, t[12] = l, t[13] = S, t[14] = G, t[15] = c?.description, t[16] = c?.title, t[17] = p, t[18] = ot) : ot = t[18];
|
|
485
|
+
let lt;
|
|
486
|
+
t[19] !== n?.colorLegend || t[20] !== W || t[21] !== kt || t[22] !== d || t[23] !== o || t[24] !== U || t[25] !== N || t[26] !== h || t[27] !== p ? (lt = U && o.filter(Re).length !== 0 && o.length > 0 ? /* @__PURE__ */ s.jsx(se, { width: p, colorLegendTitle: kt, colors: d || y[h].categoricalColors.colors, colorDomain: W || Kt(o, "color", !0), setSelectedColor: bt, showNAColor: N, className: n?.colorLegend }) : null, t[19] = n?.colorLegend, t[20] = W, t[21] = kt, t[22] = d, t[23] = o, t[24] = U, t[25] = N, t[26] = h, t[27] = p, t[28] = lt) : lt = t[28];
|
|
487
|
+
let $;
|
|
488
|
+
t[29] !== o.length ? ($ = o.length === 0 && /* @__PURE__ */ s.jsx(ce, {}), t[29] = o.length, t[30] = $) : $ = t[30];
|
|
489
|
+
let C;
|
|
490
|
+
t[31] !== E || t[32] !== X || t[33] !== F || t[34] !== n || t[35] !== W || t[36] !== d || t[37] !== wt || t[38] !== o || t[39] !== gt || t[40] !== Z || t[41] !== T || t[42] !== J || t[43] !== z || t[44] !== St || t[45] !== M || t[46] !== ht || t[47] !== x || t[48] !== vt || t[49] !== Q || t[50] !== j || t[51] !== _ || t[52] !== R || t[53] !== c || t[54] !== m || t[55] !== P || t[56] !== h || t[57] !== jt || t[58] !== B || t[59] !== p ? (C = P && m && o.length > 0 ? /* @__PURE__ */ s.jsx(me, { data: o.filter(Ye), width: T || !p || P < p ? P : p, height: m, colorDomain: o.filter(We).length === 0 ? [] : W || Kt(o, "color", !0), colors: o.filter(Ge).length === 0 ? d ? [d] : [y.primaryColors["blue-600"]] : d || y[h].categoricalColors.colors, selectedColor: _, axisTitles: X, showLabels: R, radius: vt, leftMargin: z, rightMargin: j, topMargin: B, bottomMargin: F, tooltip: jt, onSeriesMouseOver: x, highlightedDataPoints: J, minValue: M, maxValue: St, onSeriesMouseClick: ht, resetSelectionOnDoubleClick: Q, detailsOnClick: gt, styles: c, classNames: n, animate: E === !0 ? {
|
|
491
|
+
duration: 0.5,
|
|
492
|
+
once: !0,
|
|
493
|
+
amount: 0.5
|
|
494
|
+
} : E || {
|
|
495
|
+
duration: 0,
|
|
496
|
+
once: !0,
|
|
497
|
+
amount: 0
|
|
498
|
+
}, dimmedOpacity: Z, customLayers: wt }) : null, t[31] = E, t[32] = X, t[33] = F, t[34] = n, t[35] = W, t[36] = d, t[37] = wt, t[38] = o, t[39] = gt, t[40] = Z, t[41] = T, t[42] = J, t[43] = z, t[44] = St, t[45] = M, t[46] = ht, t[47] = x, t[48] = vt, t[49] = Q, t[50] = j, t[51] = _, t[52] = R, t[53] = c, t[54] = m, t[55] = P, t[56] = h, t[57] = jt, t[58] = B, t[59] = p, t[60] = C) : C = t[60];
|
|
499
|
+
let k;
|
|
500
|
+
t[61] !== $ || t[62] !== C ? (k = /* @__PURE__ */ s.jsxs(fe, { ref: tt, children: [
|
|
501
|
+
$,
|
|
502
|
+
C
|
|
503
|
+
] }), t[61] = $, t[62] = C, t[63] = k) : k = t[63];
|
|
504
|
+
let nt;
|
|
505
|
+
t[64] !== n?.footnote || t[65] !== n?.source || t[66] !== xt || t[67] !== rt || t[68] !== c?.footnote || t[69] !== c?.source || t[70] !== p ? (nt = rt || xt ? /* @__PURE__ */ s.jsx(re, { styles: {
|
|
500
506
|
footnote: c?.footnote,
|
|
501
507
|
source: c?.source
|
|
502
508
|
}, classNames: {
|
|
503
|
-
footnote:
|
|
504
|
-
source:
|
|
505
|
-
}, sources:
|
|
506
|
-
let
|
|
507
|
-
return t[
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
509
|
+
footnote: n?.footnote,
|
|
510
|
+
source: n?.source
|
|
511
|
+
}, sources: rt, footNote: xt, width: p }) : null, t[64] = n?.footnote, t[65] = n?.source, t[66] = xt, t[67] = rt, t[68] = c?.footnote, t[69] = c?.source, t[70] = p, t[71] = nt) : nt = t[71];
|
|
512
|
+
let $t;
|
|
513
|
+
return t[72] !== dt || t[73] !== q || t[74] !== v || t[75] !== a || t[76] !== D || t[77] !== K || t[78] !== g || t[79] !== V || t[80] !== et || t[81] !== it || t[82] !== Vt || t[83] !== ot || t[84] !== lt || t[85] !== k || t[86] !== nt || t[87] !== h ? ($t = /* @__PURE__ */ s.jsxs(ue, { className: et, style: it, id: v, ref: Gt, "aria-label": dt, backgroundColor: q, theme: h, language: D, minHeight: K, width: Vt, height: a, relativeHeight: V, padding: g, children: [
|
|
514
|
+
ot,
|
|
515
|
+
lt,
|
|
516
|
+
k,
|
|
517
|
+
nt
|
|
518
|
+
] }), t[72] = dt, t[73] = q, t[74] = v, t[75] = a, t[76] = D, t[77] = K, t[78] = g, t[79] = V, t[80] = et, t[81] = it, t[82] = Vt, t[83] = ot, t[84] = lt, t[85] = k, t[86] = nt, t[87] = h, t[88] = $t) : $t = t[88], $t;
|
|
512
519
|
}
|
|
513
520
|
function Ge(e) {
|
|
514
521
|
return e.color;
|
|
@@ -517,7 +524,7 @@ function We(e) {
|
|
|
517
524
|
return e.color;
|
|
518
525
|
}
|
|
519
526
|
function Ye(e) {
|
|
520
|
-
return !
|
|
527
|
+
return !Bt(e.y1) && !Bt(e.y2);
|
|
521
528
|
}
|
|
522
529
|
function Re(e) {
|
|
523
530
|
return e.color;
|
|
@@ -525,16 +532,16 @@ function Re(e) {
|
|
|
525
532
|
function Xe(e) {
|
|
526
533
|
return e !== void 0;
|
|
527
534
|
}
|
|
528
|
-
function
|
|
535
|
+
function qe(e) {
|
|
529
536
|
return e !== void 0;
|
|
530
537
|
}
|
|
531
|
-
function
|
|
538
|
+
function ze(e) {
|
|
532
539
|
return e.data;
|
|
533
540
|
}
|
|
534
|
-
function
|
|
541
|
+
function Be(e) {
|
|
535
542
|
return e !== void 0;
|
|
536
543
|
}
|
|
537
|
-
function
|
|
544
|
+
function Fe(e) {
|
|
538
545
|
return e.data;
|
|
539
546
|
}
|
|
540
547
|
export {
|