@undp/data-viz 2.3.11 → 2.3.12
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.js +1 -1
- package/dist/BarGraph.cjs +1 -1
- package/dist/BarGraph.cjs.map +1 -1
- package/dist/BarGraph.js +4 -4
- package/dist/BarGraph.js.map +1 -1
- package/dist/BasicStatCard.cjs +1 -1
- package/dist/BasicStatCard.js +1 -1
- package/dist/BeeSwarmChart.cjs +1 -1
- package/dist/BeeSwarmChart.js +2 -2
- package/dist/BiVariateChoroplethMap.cjs +1 -1
- package/dist/BiVariateChoroplethMap.cjs.map +1 -1
- package/dist/BiVariateChoroplethMap.js +2 -2
- package/dist/BiVariateChoroplethMap.js.map +1 -1
- package/dist/BulletChart.cjs +1 -1
- package/dist/BulletChart.cjs.map +1 -1
- package/dist/BulletChart.js +2 -2
- package/dist/BulletChart.js.map +1 -1
- package/dist/ButterflyChart.cjs +1 -1
- package/dist/ButterflyChart.cjs.map +1 -1
- package/dist/ButterflyChart.js +39 -39
- package/dist/ButterflyChart.js.map +1 -1
- package/dist/ChoroplethMap.cjs +1 -1
- package/dist/ChoroplethMap.cjs.map +1 -1
- package/dist/ChoroplethMap.js +2 -2
- package/dist/ChoroplethMap.js.map +1 -1
- package/dist/CirclePackingGraph.cjs +1 -1
- package/dist/CirclePackingGraph.js +2 -2
- package/dist/ColorLegend.cjs +1 -1
- package/dist/ColorLegend.js +1 -1
- package/dist/ColorLegendWithMouseOver.cjs +1 -1
- package/dist/ColorLegendWithMouseOver.js +1 -1
- package/dist/DataCards.cjs +1 -1
- package/dist/DataCards.js +2 -2
- package/dist/DataTable.cjs +1 -1
- package/dist/DataTable.js +1 -1
- package/dist/DifferenceLineChart.cjs +1 -1
- package/dist/DifferenceLineChart.js +1 -1
- package/dist/DonutChart.cjs +1 -1
- package/dist/DonutChart.js +3 -3
- package/dist/DotDensityMap.cjs +1 -1
- package/dist/DotDensityMap.cjs.map +1 -1
- package/dist/DotDensityMap.js +19 -19
- package/dist/DotDensityMap.js.map +1 -1
- package/dist/DualAxisLineChart.cjs +1 -1
- package/dist/DualAxisLineChart.js +1 -1
- package/dist/DumbbellChart.cjs +1 -1
- package/dist/DumbbellChart.cjs.map +1 -1
- package/dist/DumbbellChart.js +2 -2
- package/dist/DumbbellChart.js.map +1 -1
- package/dist/{EmptyState-D807L58h.js → EmptyState-B3fPoH6L.js} +2 -2
- package/dist/{EmptyState-D807L58h.js.map → EmptyState-B3fPoH6L.js.map} +1 -1
- package/dist/{EmptyState-N1eHt3vq.cjs → EmptyState-B4c-CrXs.cjs} +2 -2
- package/dist/{EmptyState-N1eHt3vq.cjs.map → EmptyState-B4c-CrXs.cjs.map} +1 -1
- package/dist/FootNote.cjs +1 -1
- package/dist/FootNote.js +1 -1
- package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
- package/dist/GeoHubMapWithLayerSelection.js +1 -1
- package/dist/GraphDescription.cjs +1 -1
- package/dist/GraphDescription.js +1 -1
- package/dist/{GraphEl-DvwOOhF1.cjs → GraphEl-Bgf8w82K.cjs} +2 -2
- package/dist/{GraphEl-DvwOOhF1.cjs.map → GraphEl-Bgf8w82K.cjs.map} +1 -1
- package/dist/{GraphEl-CT3xPv2P.js → GraphEl-CXK-LPsj.js} +3 -3
- package/dist/{GraphEl-CT3xPv2P.js.map → GraphEl-CXK-LPsj.js.map} +1 -1
- package/dist/GraphFooter.cjs +1 -1
- package/dist/GraphFooter.js +1 -1
- package/dist/GraphTitle.cjs +1 -1
- package/dist/GraphTitle.js +1 -1
- package/dist/GriddedGraphs.cjs +1 -1
- package/dist/GriddedGraphs.js +1 -1
- package/dist/HeatMap.cjs +1 -1
- package/dist/HeatMap.js +1 -1
- package/dist/Histogram.cjs +1 -1
- package/dist/Histogram.js +1 -1
- package/dist/HybridMap.cjs +1 -1
- package/dist/HybridMap.cjs.map +1 -1
- package/dist/HybridMap.js +29 -29
- package/dist/HybridMap.js.map +1 -1
- package/dist/LineChartWithConfidenceInterval.cjs +1 -1
- package/dist/LineChartWithConfidenceInterval.js +1 -1
- package/dist/LinearColorLegend.cjs +1 -1
- package/dist/LinearColorLegend.js +1 -1
- package/dist/MultiLineAltChart.cjs +1 -1
- package/dist/MultiLineAltChart.cjs.map +1 -1
- package/dist/MultiLineAltChart.d.ts +2 -0
- package/dist/MultiLineAltChart.js +393 -391
- package/dist/MultiLineAltChart.js.map +1 -1
- package/dist/MultiLineChart.cjs +1 -1
- package/dist/MultiLineChart.js +1 -1
- package/dist/ParetoChart.cjs +1 -1
- package/dist/ParetoChart.js +1 -1
- package/dist/RadarChart.cjs +1 -1
- package/dist/RadarChart.js +1 -1
- package/dist/SankeyChart.cjs +1 -1
- package/dist/SankeyChart.js +2 -2
- package/dist/ScatterPlot.cjs +1 -1
- package/dist/ScatterPlot.cjs.map +1 -1
- package/dist/ScatterPlot.d.ts +2 -0
- package/dist/ScatterPlot.js +439 -437
- package/dist/ScatterPlot.js.map +1 -1
- package/dist/SimpleLineChart.cjs +1 -1
- package/dist/SimpleLineChart.js +1 -1
- package/dist/SingleGraphDashboard.cjs +1 -1
- package/dist/SingleGraphDashboard.js +1 -1
- package/dist/SingleGraphDashboardGeoHubMaps.cjs +1 -1
- package/dist/SingleGraphDashboardGeoHubMaps.js +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.js +1 -1
- package/dist/SlopeChart.cjs +1 -1
- package/dist/SlopeChart.js +1 -1
- package/dist/{Source-24M277ZQ.cjs → Source-BOSAl3UX.cjs} +2 -2
- package/dist/{Source-24M277ZQ.cjs.map → Source-BOSAl3UX.cjs.map} +1 -1
- package/dist/{Source-eILIr4Ov.js → Source-Djkz-7jX.js} +2 -2
- package/dist/{Source-eILIr4Ov.js.map → Source-Djkz-7jX.js.map} +1 -1
- package/dist/Source.cjs +1 -1
- package/dist/Source.js +2 -2
- package/dist/StatCardFromData.cjs +1 -1
- package/dist/StatCardFromData.js +1 -1
- package/dist/StripChart.cjs +1 -1
- package/dist/StripChart.js +1 -1
- package/dist/ThreeDGlobe.cjs +1 -1
- package/dist/ThreeDGlobe.js +1 -1
- package/dist/ThresholdColorLegendWithMouseOver.cjs +1 -1
- package/dist/ThresholdColorLegendWithMouseOver.js +1 -1
- package/dist/TreeMapGraph.cjs +1 -1
- package/dist/TreeMapGraph.js +2 -2
- package/dist/Typography-CZZxlj1W.cjs +2 -0
- package/dist/Typography-CZZxlj1W.cjs.map +1 -0
- package/dist/{Typography-HicNIA61.js → Typography-DMVW6JnV.js} +67 -60
- package/dist/Typography-DMVW6JnV.js.map +1 -0
- package/dist/UnitChart.cjs +1 -1
- package/dist/UnitChart.js +1 -1
- package/dist/WaterfallChart.cjs +1 -1
- package/dist/WaterfallChart.js +1 -1
- package/dist/{index-B5ggV1vg.js → index-C6VwVS8W.js} +3 -3
- package/dist/{index-B5ggV1vg.js.map → index-C6VwVS8W.js.map} +1 -1
- package/dist/{index-BDR7MlMo.cjs → index-_TlgeI_i.cjs} +2 -2
- package/dist/{index-BDR7MlMo.cjs.map → index-_TlgeI_i.cjs.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/Typography-Cc_iHQB-.cjs +0 -2
- package/dist/Typography-Cc_iHQB-.cjs.map +0 -1
- package/dist/Typography-HicNIA61.js.map +0 -1
package/dist/ScatterPlot.js
CHANGED
|
@@ -1,246 +1,247 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { f as
|
|
3
|
-
import { useRef as
|
|
4
|
-
import { g as
|
|
5
|
-
import { i as
|
|
6
|
-
import { o as
|
|
7
|
-
import { l as
|
|
8
|
-
import { T as
|
|
9
|
-
import { c as
|
|
10
|
-
import { Colors as
|
|
11
|
-
import { n as
|
|
12
|
-
import { g as
|
|
13
|
-
import { A as
|
|
14
|
-
import { A as
|
|
15
|
-
import { X as
|
|
16
|
-
import { R as
|
|
1
|
+
import { c as ci, j as l, m as ti } from "./index-CHPV5EwG-BCLAYDCV.js";
|
|
2
|
+
import { f as mi, p as xi } from "./parse-Dv4of-PN.js";
|
|
3
|
+
import { useRef as _e, useState as Ht, useEffect as ei } from "react";
|
|
4
|
+
import { g as di, N as pi } from "./getSliderMarks-vXsR8RrR.js";
|
|
5
|
+
import { i as ii } from "./index-Bwrro8-q.js";
|
|
6
|
+
import { o as gi } from "./index-BZQYSqar.js";
|
|
7
|
+
import { l as hi, a as yi } from "./simple-statistics-flVzqVtt.js";
|
|
8
|
+
import { T as vi } from "./Tooltip-CohiIbLZ.js";
|
|
9
|
+
import { c as b } from "./checkIfNullOrUndefined-DmfiKkNw.js";
|
|
10
|
+
import { Colors as tt } from "./Colors.js";
|
|
11
|
+
import { n as oi } from "./numberFormattingFunction-14YCbkN2.js";
|
|
12
|
+
import { g as bi, A as Ai, C as Oi } from "./customArea-Cc2whe6P.js";
|
|
13
|
+
import { A as ni } from "./Axis-RyGdzLrG.js";
|
|
14
|
+
import { A as si } from "./AxisTitle-DGjX1_2v.js";
|
|
15
|
+
import { X as Ci } from "./XTicksAndGridLines-BDmF9etl.js";
|
|
16
|
+
import { R as wi, a as Li } from "./ReferenceLine-CNEjAYvv.js";
|
|
17
17
|
import { R as ji } from "./RegressionLine-BDrndQxo.js";
|
|
18
|
-
import { Y as
|
|
19
|
-
import { a as
|
|
18
|
+
import { Y as $i } from "./YTicksAndGridLines-C3GW1xFG.js";
|
|
19
|
+
import { a as Di } from "./index-D_dtv_T9.js";
|
|
20
20
|
import { D as Si } from "./DetailsModal-C3qlUyFK.js";
|
|
21
21
|
import { s as Vi } from "./pow-BXYLJHCq.js";
|
|
22
|
-
import { a as
|
|
23
|
-
import { D as
|
|
24
|
-
import { m as
|
|
25
|
-
import { u as
|
|
26
|
-
import { A as
|
|
27
|
-
import { GraphFooter as
|
|
28
|
-
import { GraphHeader as
|
|
29
|
-
import { ColorLegendWithMouseOver as
|
|
30
|
-
import { E as
|
|
31
|
-
import { P as
|
|
32
|
-
import { a as
|
|
33
|
-
import { u as
|
|
34
|
-
import { a as
|
|
35
|
-
function
|
|
36
|
-
const t =
|
|
22
|
+
import { a as li } from "./linear-DNXM5Pdl.js";
|
|
23
|
+
import { D as Mi } from "./delaunay-C1uAf38t.js";
|
|
24
|
+
import { m as Ge } from "./proxy--_f6k3NR.js";
|
|
25
|
+
import { u as ki } from "./use-in-view-DqvKAveg.js";
|
|
26
|
+
import { A as ri } from "./index-Co3YGYe1.js";
|
|
27
|
+
import { GraphFooter as Ni } from "./GraphFooter.js";
|
|
28
|
+
import { GraphHeader as Pi } from "./GraphHeader.js";
|
|
29
|
+
import { ColorLegendWithMouseOver as Ti } from "./ColorLegendWithMouseOver.js";
|
|
30
|
+
import { E as Xi } from "./EmptyState-B3fPoH6L.js";
|
|
31
|
+
import { P as Yi, e as Ri } from "./index-CZ0elhKR.js";
|
|
32
|
+
import { a as Ii } from "./ensureCompleteData-CDIukSG6.js";
|
|
33
|
+
import { u as ai } from "./uniqBy-BHy4I8PK.js";
|
|
34
|
+
import { a as Fi, G as Hi } from "./GraphContainer-DwMxWRCi.js";
|
|
35
|
+
function Ei(i) {
|
|
36
|
+
const t = ci.c(217), {
|
|
37
37
|
data: o,
|
|
38
|
-
width:
|
|
39
|
-
height:
|
|
40
|
-
showLabels:
|
|
38
|
+
width: et,
|
|
39
|
+
height: $,
|
|
40
|
+
showLabels: Et,
|
|
41
41
|
colors: m,
|
|
42
|
-
colorDomain:
|
|
42
|
+
colorDomain: L,
|
|
43
43
|
radius: Y,
|
|
44
|
-
xAxisTitle:
|
|
45
|
-
yAxisTitle:
|
|
44
|
+
xAxisTitle: y,
|
|
45
|
+
yAxisTitle: W,
|
|
46
46
|
leftMargin: R,
|
|
47
|
-
rightMargin:
|
|
48
|
-
topMargin:
|
|
49
|
-
bottomMargin:
|
|
50
|
-
tooltip:
|
|
51
|
-
onSeriesMouseOver:
|
|
52
|
-
refXValues:
|
|
53
|
-
refYValues:
|
|
54
|
-
highlightAreaSettings:
|
|
47
|
+
rightMargin: de,
|
|
48
|
+
topMargin: $e,
|
|
49
|
+
bottomMargin: Fe,
|
|
50
|
+
tooltip: pe,
|
|
51
|
+
onSeriesMouseOver: it,
|
|
52
|
+
refXValues: De,
|
|
53
|
+
refYValues: Se,
|
|
54
|
+
highlightAreaSettings: Ve,
|
|
55
55
|
selectedColor: Dt,
|
|
56
|
-
highlightedDataPoints:
|
|
57
|
-
maxRadiusValue:
|
|
58
|
-
maxXValue:
|
|
59
|
-
minXValue:
|
|
60
|
-
maxYValue:
|
|
56
|
+
highlightedDataPoints: G,
|
|
57
|
+
maxRadiusValue: ge,
|
|
58
|
+
maxXValue: he,
|
|
59
|
+
minXValue: j,
|
|
60
|
+
maxYValue: Wt,
|
|
61
61
|
minYValue: O,
|
|
62
|
-
onSeriesMouseClick:
|
|
63
|
-
rtl:
|
|
64
|
-
annotations:
|
|
65
|
-
customHighlightAreaSettings:
|
|
66
|
-
regressionLine:
|
|
67
|
-
resetSelectionOnDoubleClick:
|
|
62
|
+
onSeriesMouseClick: V,
|
|
63
|
+
rtl: Gt,
|
|
64
|
+
annotations: qt,
|
|
65
|
+
customHighlightAreaSettings: Bt,
|
|
66
|
+
regressionLine: St,
|
|
67
|
+
resetSelectionOnDoubleClick: Vt,
|
|
68
68
|
detailsOnClick: M,
|
|
69
|
-
noOfXTicks:
|
|
70
|
-
noOfYTicks:
|
|
71
|
-
labelColor:
|
|
72
|
-
xSuffix:
|
|
73
|
-
ySuffix:
|
|
74
|
-
xPrefix:
|
|
75
|
-
yPrefix:
|
|
69
|
+
noOfXTicks: zt,
|
|
70
|
+
noOfYTicks: Ut,
|
|
71
|
+
labelColor: q,
|
|
72
|
+
xSuffix: Mt,
|
|
73
|
+
ySuffix: kt,
|
|
74
|
+
xPrefix: Nt,
|
|
75
|
+
yPrefix: Pt,
|
|
76
76
|
styles: n,
|
|
77
77
|
classNames: s,
|
|
78
78
|
animate: a,
|
|
79
79
|
dimmedOpacity: k,
|
|
80
80
|
precision: N,
|
|
81
|
+
showHighlightedDataPointsLabels: Me,
|
|
81
82
|
customLayers: P
|
|
82
|
-
} = i,
|
|
83
|
-
let
|
|
84
|
-
t[0] !== a.amount || t[1] !== a.once ? (
|
|
83
|
+
} = i, ye = _e(null);
|
|
84
|
+
let ve;
|
|
85
|
+
t[0] !== a.amount || t[1] !== a.once ? (ve = {
|
|
85
86
|
once: a.once,
|
|
86
87
|
amount: a.amount
|
|
87
|
-
}, t[0] = a.amount, t[1] = a.once, t[2] =
|
|
88
|
-
const
|
|
89
|
-
let
|
|
90
|
-
t[3] !==
|
|
91
|
-
top:
|
|
92
|
-
bottom:
|
|
93
|
-
left:
|
|
94
|
-
right:
|
|
95
|
-
}, t[3] =
|
|
96
|
-
const d =
|
|
97
|
-
let B,
|
|
98
|
-
if (t[8] !== a || t[9] !==
|
|
99
|
-
const
|
|
100
|
-
|
|
101
|
-
let
|
|
102
|
-
t[
|
|
103
|
-
/* @__PURE__ */ l.jsx(
|
|
104
|
-
|
|
88
|
+
}, t[0] = a.amount, t[1] = a.once, t[2] = ve) : ve = t[2];
|
|
89
|
+
const A = ki(ye, ve), [D, Tt] = Ht(void 0), [I, Jt] = Ht(void 0), [be, ot] = Ht(void 0), [p, c] = Ht(void 0), ke = y ? Fe + 50 : Fe, Ne = W ? R + 30 : R;
|
|
90
|
+
let Ae;
|
|
91
|
+
t[3] !== de || t[4] !== ke || t[5] !== Ne || t[6] !== $e ? (Ae = {
|
|
92
|
+
top: $e,
|
|
93
|
+
bottom: ke,
|
|
94
|
+
left: Ne,
|
|
95
|
+
right: de
|
|
96
|
+
}, t[3] = de, t[4] = ke, t[5] = Ne, t[6] = $e, t[7] = Ae) : Ae = t[7];
|
|
97
|
+
const d = Ae;
|
|
98
|
+
let B, nt, st, lt, rt, at, F, ct, ft, ut, z, mt, U, xt, J, dt, H, K;
|
|
99
|
+
if (t[8] !== a || t[9] !== qt || t[10] !== s?.graphObjectValues || t[11] !== s?.regLine || t[12] !== s?.xAxis?.axis || t[13] !== s?.xAxis?.gridLines || t[14] !== s?.xAxis?.labels || t[15] !== s?.xAxis?.title || t[16] !== s?.yAxis?.gridLines || t[17] !== s?.yAxis?.labels || t[18] !== s?.yAxis?.title || t[19] !== L || t[20] !== m || t[21] !== Bt || t[22] !== P || t[23] !== o || t[24] !== M || t[25] !== k || t[26] !== $ || t[27] !== Ve || t[28] !== G || t[29] !== A || t[30] !== q || t[31] !== R || t[32] !== d.bottom || t[33] !== d.left || t[34] !== d.right || t[35] !== d.top || t[36] !== ge || t[37] !== he || t[38] !== Wt || t[39] !== j || t[40] !== O || t[41] !== I || t[42] !== D || t[43] !== zt || t[44] !== Ut || t[45] !== V || t[46] !== it || t[47] !== N || t[48] !== Y || t[49] !== De || t[50] !== Se || t[51] !== St || t[52] !== Vt || t[53] !== Gt || t[54] !== Dt || t[55] !== Me || t[56] !== Et || t[57] !== n?.graphObjectValues || t[58] !== n?.regLine || t[59] !== n?.xAxis?.axis || t[60] !== n?.xAxis?.gridLines || t[61] !== n?.xAxis?.labels || t[62] !== n?.xAxis?.title || t[63] !== n?.yAxis?.gridLines || t[64] !== n?.yAxis?.labels || t[65] !== n?.yAxis?.title || t[66] !== et || t[67] !== y || t[68] !== Nt || t[69] !== Mt || t[70] !== W || t[71] !== Pt || t[72] !== kt) {
|
|
100
|
+
const Kt = o.map(mo), g = et - d.left - d.right, v = $ - d.top - d.bottom, S = o.filter(uo).length !== o.length ? Vi().domain([0, ge]).range([0.25, Y]).nice() : void 0, Yt = Kt.filter(fo).length === 0 ? Kt : gi(Kt.filter(co), "radius", "desc"), f = li().domain([j, he]).range([0, g]).nice(), x = li().domain([O, Wt]).range([v, 0]).nice(), Pe = f.ticks(zt), E = x.ticks(Ut), He = Mi.from(Yt.filter(ao), (e) => f(e.x), (e) => x(e.y)).voronoi([0, 0, g < 0 ? 0 : g, v < 0 ? 0 : v]), Ee = hi(o.filter(ro).map((e) => [f(e.x), x(e.y)])), Te = yi(Ee);
|
|
101
|
+
nt = Ge.svg, ct = `${et}px`, ft = `${$}px`, ut = `0 0 ${et} ${$}`, z = "ltr", mt = ye, st = `translate(${d.left},${d.top})`;
|
|
102
|
+
let Qt;
|
|
103
|
+
t[91] !== a || t[92] !== Bt || t[93] !== A || t[94] !== f || t[95] !== x ? (Qt = /* @__PURE__ */ l.jsx(Oi, { areaSettings: Bt, scaleX: f, scaleY: x, animate: a, isInView: A }, "custom-area"), t[91] = a, t[92] = Bt, t[93] = A, t[94] = f, t[95] = x, t[96] = Qt) : Qt = t[96], lt = /* @__PURE__ */ l.jsxs(ri, { children: [
|
|
104
|
+
/* @__PURE__ */ l.jsx(Di, { areaSettings: Ve, width: g, height: v, scaleX: f, scaleY: x, animate: a, isInView: A }, "highlight-area"),
|
|
105
|
+
Qt
|
|
105
106
|
] });
|
|
106
|
-
const
|
|
107
|
-
let
|
|
108
|
-
t[
|
|
109
|
-
gridLines:
|
|
110
|
-
labels:
|
|
111
|
-
}, t[
|
|
112
|
-
const
|
|
113
|
-
let
|
|
114
|
-
t[
|
|
115
|
-
gridLines:
|
|
116
|
-
labels:
|
|
117
|
-
}, t[
|
|
118
|
-
const
|
|
119
|
-
let
|
|
120
|
-
t[
|
|
121
|
-
const
|
|
122
|
-
let
|
|
123
|
-
t[
|
|
107
|
+
const Zt = n?.yAxis?.gridLines, Oe = n?.yAxis?.labels;
|
|
108
|
+
let _t;
|
|
109
|
+
t[97] !== Zt || t[98] !== Oe ? (_t = {
|
|
110
|
+
gridLines: Zt,
|
|
111
|
+
labels: Oe
|
|
112
|
+
}, t[97] = Zt, t[98] = Oe, t[99] = _t) : _t = t[99];
|
|
113
|
+
const te = s?.yAxis?.gridLines, Ce = s?.yAxis?.labels;
|
|
114
|
+
let Rt;
|
|
115
|
+
t[100] !== te || t[101] !== Ce ? (Rt = {
|
|
116
|
+
gridLines: te,
|
|
117
|
+
labels: Ce
|
|
118
|
+
}, t[100] = te, t[101] = Ce, t[102] = Rt) : Rt = t[102];
|
|
119
|
+
const r = x(O < 0 ? 0 : O), ee = x(O < 0 ? 0 : O), We = g + d.right, ie = O < 0 ? 0 : O;
|
|
120
|
+
let oe;
|
|
121
|
+
t[103] !== N || t[104] !== ie || t[105] !== Pt || t[106] !== kt ? (oe = oi(ie, "NA", N, Pt, kt), t[103] = N, t[104] = ie, t[105] = Pt, t[106] = kt, t[107] = oe) : oe = t[107];
|
|
122
|
+
const T = x(O < 0 ? 0 : O);
|
|
123
|
+
let ne;
|
|
124
|
+
t[108] !== T ? (ne = {
|
|
124
125
|
x: 0,
|
|
125
|
-
y:
|
|
126
|
+
y: T,
|
|
126
127
|
dy: "0.33em",
|
|
127
128
|
dx: -4
|
|
128
|
-
}, t[
|
|
129
|
-
const
|
|
130
|
-
let
|
|
131
|
-
t[
|
|
132
|
-
axis:
|
|
133
|
-
label:
|
|
134
|
-
}, t[
|
|
135
|
-
const
|
|
136
|
-
let
|
|
137
|
-
t[
|
|
138
|
-
let
|
|
139
|
-
t[
|
|
129
|
+
}, t[108] = T, t[109] = ne) : ne = t[109];
|
|
130
|
+
const It = s?.xAxis?.axis, u = s?.yAxis?.labels;
|
|
131
|
+
let C;
|
|
132
|
+
t[110] !== It || t[111] !== u ? (C = {
|
|
133
|
+
axis: It,
|
|
134
|
+
label: u
|
|
135
|
+
}, t[110] = It, t[111] = u, t[112] = C) : C = t[112];
|
|
136
|
+
const we = n?.xAxis?.axis;
|
|
137
|
+
let At;
|
|
138
|
+
t[113] !== n?.yAxis?.labels ? (At = n?.yAxis?.labels || {}, t[113] = n?.yAxis?.labels, t[114] = At) : At = t[114];
|
|
139
|
+
let se;
|
|
140
|
+
t[115] !== At ? (se = {
|
|
140
141
|
textAnchor: "end",
|
|
141
|
-
...
|
|
142
|
-
}, t[
|
|
143
|
-
let
|
|
144
|
-
t[
|
|
145
|
-
axis:
|
|
146
|
-
label:
|
|
147
|
-
}, t[
|
|
148
|
-
let
|
|
149
|
-
t[
|
|
150
|
-
const
|
|
151
|
-
let
|
|
152
|
-
t[
|
|
153
|
-
/* @__PURE__ */ l.jsx(
|
|
154
|
-
|
|
155
|
-
|
|
142
|
+
...At
|
|
143
|
+
}, t[115] = At, t[116] = se) : se = t[116];
|
|
144
|
+
let Ot;
|
|
145
|
+
t[117] !== we || t[118] !== se ? (Ot = {
|
|
146
|
+
axis: we,
|
|
147
|
+
label: se
|
|
148
|
+
}, t[117] = we, t[118] = se, t[119] = Ot) : Ot = t[119];
|
|
149
|
+
let Le;
|
|
150
|
+
t[120] !== r || t[121] !== ee || t[122] !== We || t[123] !== oe || t[124] !== ne || t[125] !== C || t[126] !== Ot ? (Le = /* @__PURE__ */ l.jsx(ni, { y1: r, y2: ee, x1: 0, x2: We, label: oe, labelPos: ne, classNames: C, styles: Ot }), t[120] = r, t[121] = ee, t[122] = We, t[123] = oe, t[124] = ne, t[125] = C, t[126] = Ot, t[127] = Le) : Le = t[127];
|
|
151
|
+
const le = 0 - R - 15, re = v / 2, ae = n?.yAxis?.title, ce = s?.yAxis?.title;
|
|
152
|
+
let fe;
|
|
153
|
+
t[128] !== le || t[129] !== re || t[130] !== ae || t[131] !== ce || t[132] !== W ? (fe = /* @__PURE__ */ l.jsx(si, { x: le, y: re, style: ae, className: ce, text: W, rotate90: !0 }), t[128] = le, t[129] = re, t[130] = ae, t[131] = ce, t[132] = W, t[133] = fe) : fe = t[133], rt = /* @__PURE__ */ l.jsxs("g", { children: [
|
|
154
|
+
/* @__PURE__ */ l.jsx($i, { values: E.filter(lo), y: E.filter(so).map((e) => x(e)), x1: 0, x2: g + d.right, styles: _t, classNames: Rt, suffix: kt, prefix: Pt, labelType: "secondary", showGridLines: !0, labelPos: "side", precision: N }),
|
|
155
|
+
Le,
|
|
156
|
+
fe
|
|
156
157
|
] });
|
|
157
|
-
const
|
|
158
|
-
let
|
|
159
|
-
t[
|
|
160
|
-
gridLines:
|
|
161
|
-
labels:
|
|
162
|
-
}, t[
|
|
163
|
-
const
|
|
164
|
-
let
|
|
165
|
-
t[
|
|
166
|
-
gridLines:
|
|
167
|
-
labels:
|
|
168
|
-
}, t[
|
|
169
|
-
const
|
|
158
|
+
const ue = n?.xAxis?.gridLines, me = n?.xAxis?.labels;
|
|
159
|
+
let xe;
|
|
160
|
+
t[134] !== ue || t[135] !== me ? (xe = {
|
|
161
|
+
gridLines: ue,
|
|
162
|
+
labels: me
|
|
163
|
+
}, t[134] = ue, t[135] = me, t[136] = xe) : xe = t[136];
|
|
164
|
+
const je = s?.xAxis?.gridLines, Ct = s?.xAxis?.labels;
|
|
165
|
+
let Q;
|
|
166
|
+
t[137] !== je || t[138] !== Ct ? (Q = {
|
|
167
|
+
gridLines: je,
|
|
168
|
+
labels: Ct
|
|
169
|
+
}, t[137] = je, t[138] = Ct, t[139] = Q) : Q = t[139];
|
|
170
|
+
const wt = f(j < 0 ? 0 : j), Lt = f(j < 0 ? 0 : j), jt = j < 0 ? 0 : j;
|
|
170
171
|
let X;
|
|
171
|
-
t[
|
|
172
|
-
const
|
|
173
|
-
let
|
|
174
|
-
t[
|
|
175
|
-
x:
|
|
176
|
-
y,
|
|
172
|
+
t[140] !== N || t[141] !== jt || t[142] !== Nt || t[143] !== Mt ? (X = oi(jt, "NA", N, Nt, Mt), t[140] = N, t[141] = jt, t[142] = Nt, t[143] = Mt, t[144] = X) : X = t[144];
|
|
173
|
+
const $t = f(j < 0 ? 0 : j);
|
|
174
|
+
let Z;
|
|
175
|
+
t[145] !== v || t[146] !== $t ? (Z = {
|
|
176
|
+
x: $t,
|
|
177
|
+
y: v,
|
|
177
178
|
dy: "1em",
|
|
178
179
|
dx: 0
|
|
179
|
-
}, t[
|
|
180
|
-
const
|
|
181
|
-
let
|
|
182
|
-
t[
|
|
183
|
-
axis:
|
|
184
|
-
label:
|
|
185
|
-
}, t[
|
|
186
|
-
const
|
|
187
|
-
let
|
|
188
|
-
t[
|
|
189
|
-
let
|
|
190
|
-
t[
|
|
180
|
+
}, t[145] = v, t[146] = $t, t[147] = Z) : Z = t[147];
|
|
181
|
+
const h = s?.xAxis?.axis, _ = s?.yAxis?.labels;
|
|
182
|
+
let Xe;
|
|
183
|
+
t[148] !== h || t[149] !== _ ? (Xe = {
|
|
184
|
+
axis: h,
|
|
185
|
+
label: _
|
|
186
|
+
}, t[148] = h, t[149] = _, t[150] = Xe) : Xe = t[150];
|
|
187
|
+
const ze = n?.xAxis?.axis;
|
|
188
|
+
let Ye;
|
|
189
|
+
t[151] !== n?.yAxis?.labels ? (Ye = n?.yAxis?.labels || {}, t[151] = n?.yAxis?.labels, t[152] = Ye) : Ye = t[152];
|
|
190
|
+
let Re;
|
|
191
|
+
t[153] !== Ye ? (Re = {
|
|
191
192
|
textAnchor: "middle",
|
|
192
|
-
...
|
|
193
|
-
}, t[
|
|
194
|
-
let
|
|
195
|
-
t[
|
|
196
|
-
axis:
|
|
197
|
-
label:
|
|
198
|
-
}, t[
|
|
199
|
-
let
|
|
200
|
-
t[
|
|
201
|
-
const
|
|
202
|
-
let
|
|
203
|
-
t[
|
|
204
|
-
/* @__PURE__ */ l.jsx(
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
] }), t[
|
|
208
|
-
|
|
193
|
+
...Ye
|
|
194
|
+
}, t[153] = Ye, t[154] = Re) : Re = t[154];
|
|
195
|
+
let Ie;
|
|
196
|
+
t[155] !== ze || t[156] !== Re ? (Ie = {
|
|
197
|
+
axis: ze,
|
|
198
|
+
label: Re
|
|
199
|
+
}, t[155] = ze, t[156] = Re, t[157] = Ie) : Ie = t[157];
|
|
200
|
+
let qe;
|
|
201
|
+
t[158] !== v || t[159] !== wt || t[160] !== Lt || t[161] !== X || t[162] !== Z || t[163] !== Xe || t[164] !== Ie ? (qe = /* @__PURE__ */ l.jsx(ni, { x1: wt, x2: Lt, y1: 0, y2: v, label: X, labelPos: Z, classNames: Xe, styles: Ie }), t[158] = v, t[159] = wt, t[160] = Lt, t[161] = X, t[162] = Z, t[163] = Xe, t[164] = Ie, t[165] = qe) : qe = t[165];
|
|
202
|
+
const Ue = g / 2, Je = v + 30, Ke = n?.xAxis?.title, Qe = s?.xAxis?.title;
|
|
203
|
+
let Be;
|
|
204
|
+
t[166] !== Ue || t[167] !== Je || t[168] !== Ke || t[169] !== Qe || t[170] !== y ? (Be = /* @__PURE__ */ l.jsx(si, { x: Ue, y: Je, style: Ke, className: Qe, text: y }), t[166] = Ue, t[167] = Je, t[168] = Ke, t[169] = Qe, t[170] = y, t[171] = Be) : Be = t[171], at = /* @__PURE__ */ l.jsxs("g", { children: [
|
|
205
|
+
/* @__PURE__ */ l.jsx(Ci, { values: Pe.filter(no), x: Pe.filter(oo).map((e) => f(e)), y1: 0, y2: v, styles: xe, classNames: Q, suffix: Mt, prefix: Nt, labelType: "primary", showGridLines: !0, precision: N }),
|
|
206
|
+
qe,
|
|
207
|
+
Be
|
|
208
|
+
] }), t[172] !== P ? (F = P.filter(io).map(eo), t[172] = P, t[173] = F) : F = t[173], B = ri, U = Yt.filter(to).map((e, Ft) => /* @__PURE__ */ l.jsx("path", { d: He.renderCell(Yt.findIndex((w) => w.id === e.id)), opacity: 0, onMouseEnter: (w) => {
|
|
209
|
+
Tt(e), c(w.clientY), ot(w.clientX), it?.(e);
|
|
209
210
|
}, onMouseMove: (w) => {
|
|
210
|
-
|
|
211
|
+
Tt(e), c(w.clientY), ot(w.clientX);
|
|
211
212
|
}, onMouseLeave: () => {
|
|
212
|
-
|
|
213
|
+
Tt(void 0), ot(void 0), c(void 0), it?.(void 0);
|
|
213
214
|
}, onClick: () => {
|
|
214
|
-
(
|
|
215
|
-
} }, `tesselation_${e.label ||
|
|
215
|
+
(V || M) && (ii(I, e) && Vt ? (Jt(void 0), V?.(void 0)) : (Jt(e), V?.(e)));
|
|
216
|
+
} }, `tesselation_${e.label || Ft}`)), xt = Yt.filter(_i).map((e, Ft) => /* @__PURE__ */ l.jsxs(Ge.g, { variants: {
|
|
216
217
|
initial: {
|
|
217
|
-
x:
|
|
218
|
-
y:
|
|
219
|
-
opacity: Dt ? e.color && m[
|
|
218
|
+
x: f(e.x),
|
|
219
|
+
y: x(e.y),
|
|
220
|
+
opacity: Dt ? e.color && m[L.indexOf(`${e.color}`)] === Dt ? 1 : k : D ? D.id === e.id ? 1 : k : G.length !== 0 ? G.indexOf(e.label || "") !== -1 ? 1 : k : 1
|
|
220
221
|
},
|
|
221
222
|
whileInView: {
|
|
222
|
-
x:
|
|
223
|
-
y:
|
|
224
|
-
opacity: Dt ? e.color && m[
|
|
223
|
+
x: f(e.x),
|
|
224
|
+
y: x(e.y),
|
|
225
|
+
opacity: Dt ? e.color && m[L.indexOf(`${e.color}`)] === Dt ? 1 : k : D ? D.id === e.id ? 1 : k : G.length !== 0 ? G.indexOf(e.label || "") !== -1 ? 1 : k : 1,
|
|
225
226
|
transition: {
|
|
226
227
|
duration: a.duration
|
|
227
228
|
}
|
|
228
229
|
}
|
|
229
|
-
}, initial: "initial", animate:
|
|
230
|
+
}, initial: "initial", animate: A ? "whileInView" : "initial", exit: {
|
|
230
231
|
opacity: 0,
|
|
231
232
|
transition: {
|
|
232
233
|
duration: a.duration
|
|
233
234
|
}
|
|
234
235
|
}, onMouseEnter: (w) => {
|
|
235
|
-
|
|
236
|
+
Tt(e), c(w.clientY), ot(w.clientX), it?.(e);
|
|
236
237
|
}, onMouseMove: (w) => {
|
|
237
|
-
|
|
238
|
+
Tt(e), c(w.clientY), ot(w.clientX);
|
|
238
239
|
}, onMouseLeave: () => {
|
|
239
|
-
|
|
240
|
+
Tt(void 0), ot(void 0), c(void 0), it?.(void 0);
|
|
240
241
|
}, onClick: () => {
|
|
241
|
-
(
|
|
242
|
+
(V || M) && (ii(I, e) && Vt ? (Jt(void 0), V?.(void 0)) : (Jt(e), V?.(e)));
|
|
242
243
|
}, children: [
|
|
243
|
-
/* @__PURE__ */ l.jsx(
|
|
244
|
+
/* @__PURE__ */ l.jsx(Ge.circle, { cx: 0, cy: 0, exit: {
|
|
244
245
|
r: 0,
|
|
245
246
|
transition: {
|
|
246
247
|
duration: a.duration
|
|
@@ -248,134 +249,131 @@ function Hi(i) {
|
|
|
248
249
|
}, variants: {
|
|
249
250
|
initial: {
|
|
250
251
|
r: 0,
|
|
251
|
-
fill: o.filter(
|
|
252
|
-
stroke: o.filter(
|
|
252
|
+
fill: o.filter(Zi).length === 0 ? m[0] : e.color ? m[L.indexOf(`${e.color}`)] : tt.gray,
|
|
253
|
+
stroke: o.filter(Qi).length === 0 ? m[0] : e.color ? m[L.indexOf(`${e.color}`)] : tt.gray
|
|
253
254
|
},
|
|
254
255
|
whileInView: {
|
|
255
|
-
r:
|
|
256
|
-
fill: o.filter(
|
|
257
|
-
stroke: o.filter(
|
|
256
|
+
r: S ? S(e.radius || 0) : Y,
|
|
257
|
+
fill: o.filter(Ki).length === 0 ? m[0] : e.color ? m[L.indexOf(`${e.color}`)] : tt.gray,
|
|
258
|
+
stroke: o.filter(Ji).length === 0 ? m[0] : e.color ? m[L.indexOf(`${e.color}`)] : tt.gray,
|
|
258
259
|
transition: {
|
|
259
260
|
duration: a.duration
|
|
260
261
|
}
|
|
261
262
|
}
|
|
262
|
-
}, initial: "initial", animate:
|
|
263
|
+
}, initial: "initial", animate: A ? "whileInView" : "initial", style: {
|
|
263
264
|
fillOpacity: 0.6
|
|
264
265
|
} }),
|
|
265
|
-
|
|
266
|
+
Et && !b(e.label) ? /* @__PURE__ */ l.jsx(Ge.text, { style: {
|
|
266
267
|
...n?.graphObjectValues || {}
|
|
267
|
-
}, className:
|
|
268
|
+
}, className: ti("graph-value text-sm", s?.graphObjectValues), y: 0, exit: {
|
|
268
269
|
opacity: 0,
|
|
269
270
|
transition: {
|
|
270
271
|
duration: a.duration
|
|
271
272
|
}
|
|
272
273
|
}, variants: {
|
|
273
274
|
initial: {
|
|
274
|
-
x:
|
|
275
|
+
x: S ? S(e.radius || 0) : Y,
|
|
275
276
|
opacity: 0,
|
|
276
|
-
fill:
|
|
277
|
+
fill: q || (o.filter(Ui).length === 0 ? m[0] : e.color ? m[L.indexOf(`${e.color}`)] : tt.gray)
|
|
277
278
|
},
|
|
278
279
|
whileInView: {
|
|
279
|
-
x:
|
|
280
|
+
x: S ? S(e.radius || 0) : Y,
|
|
280
281
|
opacity: 1,
|
|
281
|
-
fill:
|
|
282
|
+
fill: q || (o.filter(zi).length === 0 ? m[0] : e.color ? m[L.indexOf(`${e.color}`)] : tt.gray),
|
|
282
283
|
transition: {
|
|
283
284
|
duration: a.duration
|
|
284
285
|
}
|
|
285
286
|
}
|
|
286
|
-
}, initial: "initial", animate:
|
|
287
|
+
}, initial: "initial", animate: A ? "whileInView" : "initial", dy: "0.33em", dx: 3, children: e.label }) : G.length !== 0 && !b(e.label) && Me && G.indexOf(e.label) !== -1 ? /* @__PURE__ */ l.jsx(Ge.text, { style: {
|
|
287
288
|
...n?.graphObjectValues || {}
|
|
288
|
-
}, className:
|
|
289
|
+
}, className: ti("graph-value text-sm", s?.graphObjectValues), y: 0, exit: {
|
|
289
290
|
opacity: 0,
|
|
290
291
|
transition: {
|
|
291
292
|
duration: a.duration
|
|
292
293
|
}
|
|
293
294
|
}, variants: {
|
|
294
295
|
initial: {
|
|
295
|
-
x:
|
|
296
|
+
x: S ? S(e.radius || 0) : Y,
|
|
296
297
|
opacity: 0,
|
|
297
|
-
fill:
|
|
298
|
+
fill: q || (o.filter(Bi).length === 0 ? m[0] : e.color ? m[L.indexOf(`${e.color}`)] : tt.gray)
|
|
298
299
|
},
|
|
299
300
|
whileInView: {
|
|
300
|
-
x:
|
|
301
|
+
x: S ? S(e.radius || 0) : Y,
|
|
301
302
|
opacity: 1,
|
|
302
|
-
fill:
|
|
303
|
+
fill: q || (o.filter(qi).length === 0 ? m[0] : e.color ? m[L.indexOf(`${e.color}`)] : tt.gray),
|
|
303
304
|
transition: {
|
|
304
305
|
duration: a.duration
|
|
305
306
|
}
|
|
306
307
|
}
|
|
307
|
-
}, initial: "initial", animate:
|
|
308
|
-
] }, `${e.label ||
|
|
309
|
-
const
|
|
310
|
-
const w =
|
|
311
|
-
x: e.xCoordinate ?
|
|
312
|
-
y: e.yCoordinate ?
|
|
308
|
+
}, initial: "initial", animate: A ? "whileInView" : "initial", dy: "0.33em", dx: 3, children: e.label }) : null
|
|
309
|
+
] }, `${e.label || Ft}`)), J = De.map((e, Ft) => /* @__PURE__ */ l.jsx(wi, { text: e.text, color: e.color, x: f(e.value), y1: 0, y2: v, textSide: f(e.value) > g * 0.75 || Gt ? "left" : "right", classNames: e.classNames, styles: e.styles, animate: a, isInView: A }, Ft)), dt = Se.map((e, Ft) => /* @__PURE__ */ l.jsx(Li, { text: e.text, color: e.color, y: x(e.value), x1: 0, x2: g, classNames: e.classNames, styles: e.styles, animate: a, isInView: A }, Ft));
|
|
310
|
+
const Ze = qt.map((e, Ft) => {
|
|
311
|
+
const w = bi({
|
|
312
|
+
x: e.xCoordinate ? f(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
|
|
313
|
+
y: e.yCoordinate ? x(e.yCoordinate) + (e.yOffset || 0) - 8 : 0 + (e.yOffset || 0) - 8
|
|
313
314
|
}, {
|
|
314
|
-
x: e.xCoordinate ?
|
|
315
|
-
y: e.yCoordinate ?
|
|
316
|
-
},
|
|
315
|
+
x: e.xCoordinate ? f(e.xCoordinate) : 0,
|
|
316
|
+
y: e.yCoordinate ? x(e.yCoordinate) : 0
|
|
317
|
+
}, b(e.connectorRadius) ? 3.5 : e.connectorRadius), fi = e.showConnector ? {
|
|
317
318
|
y1: w.y,
|
|
318
319
|
x1: w.x,
|
|
319
|
-
y2: e.yCoordinate ?
|
|
320
|
-
x2: e.xCoordinate ?
|
|
321
|
-
cy: e.yCoordinate ?
|
|
322
|
-
cx: e.xCoordinate ?
|
|
323
|
-
circleRadius:
|
|
320
|
+
y2: e.yCoordinate ? x(e.yCoordinate) + (e.yOffset || 0) : 0 + (e.yOffset || 0),
|
|
321
|
+
x2: e.xCoordinate ? f(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
|
|
322
|
+
cy: e.yCoordinate ? x(e.yCoordinate) : 0,
|
|
323
|
+
cx: e.xCoordinate ? f(e.xCoordinate) : 0,
|
|
324
|
+
circleRadius: b(e.connectorRadius) ? 3.5 : e.connectorRadius,
|
|
324
325
|
strokeWidth: e.showConnector === !0 ? 2 : Math.min(e.showConnector || 0, 1)
|
|
325
|
-
} : void 0,
|
|
326
|
-
y: e.yCoordinate ?
|
|
327
|
-
x:
|
|
328
|
-
width:
|
|
326
|
+
} : void 0, ui = {
|
|
327
|
+
y: e.yCoordinate ? x(e.yCoordinate) + (e.yOffset || 0) - 8 : 0 + (e.yOffset || 0) - 8,
|
|
328
|
+
x: Gt ? 0 : e.xCoordinate ? f(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
|
|
329
|
+
width: Gt ? e.xCoordinate ? f(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0) : g + d.right - (e.xCoordinate ? f(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0)),
|
|
329
330
|
maxWidth: e.maxWidth,
|
|
330
331
|
fontWeight: e.fontWeight,
|
|
331
332
|
align: e.align
|
|
332
333
|
};
|
|
333
|
-
return /* @__PURE__ */ l.jsx(
|
|
334
|
+
return /* @__PURE__ */ l.jsx(Ai, { color: e.color, connectorsSettings: fi, labelSettings: ui, text: e.text, classNames: e.classNames, styles: e.styles, animate: a, isInView: A }, Ft);
|
|
334
335
|
});
|
|
335
|
-
t[
|
|
336
|
+
t[174] !== Ze ? (H = /* @__PURE__ */ l.jsx("g", { children: Ze }), t[174] = Ze, t[175] = H) : H = t[175], K = St ? /* @__PURE__ */ l.jsx(ji, { x1: 0, x2: g, y1: Te(0), y2: Te(g), graphHeight: v, graphWidth: g, className: s?.regLine, style: n?.regLine, color: typeof St == "string" ? St : void 0, animate: a, isInView: A }) : null, t[8] = a, t[9] = qt, t[10] = s?.graphObjectValues, t[11] = s?.regLine, t[12] = s?.xAxis?.axis, t[13] = s?.xAxis?.gridLines, t[14] = s?.xAxis?.labels, t[15] = s?.xAxis?.title, t[16] = s?.yAxis?.gridLines, t[17] = s?.yAxis?.labels, t[18] = s?.yAxis?.title, t[19] = L, t[20] = m, t[21] = Bt, t[22] = P, t[23] = o, t[24] = M, t[25] = k, t[26] = $, t[27] = Ve, t[28] = G, t[29] = A, t[30] = q, t[31] = R, t[32] = d.bottom, t[33] = d.left, t[34] = d.right, t[35] = d.top, t[36] = ge, t[37] = he, t[38] = Wt, t[39] = j, t[40] = O, t[41] = I, t[42] = D, t[43] = zt, t[44] = Ut, t[45] = V, t[46] = it, t[47] = N, t[48] = Y, t[49] = De, t[50] = Se, t[51] = St, t[52] = Vt, t[53] = Gt, t[54] = Dt, t[55] = Me, t[56] = Et, t[57] = n?.graphObjectValues, t[58] = n?.regLine, t[59] = n?.xAxis?.axis, t[60] = n?.xAxis?.gridLines, t[61] = n?.xAxis?.labels, t[62] = n?.xAxis?.title, t[63] = n?.yAxis?.gridLines, t[64] = n?.yAxis?.labels, t[65] = n?.yAxis?.title, t[66] = et, t[67] = y, t[68] = Nt, t[69] = Mt, t[70] = W, t[71] = Pt, t[72] = kt, t[73] = B, t[74] = nt, t[75] = st, t[76] = lt, t[77] = rt, t[78] = at, t[79] = F, t[80] = ct, t[81] = ft, t[82] = ut, t[83] = z, t[84] = mt, t[85] = U, t[86] = xt, t[87] = J, t[88] = dt, t[89] = H, t[90] = K;
|
|
336
337
|
} else
|
|
337
|
-
B = t[
|
|
338
|
-
let
|
|
339
|
-
t[
|
|
338
|
+
B = t[73], nt = t[74], st = t[75], lt = t[76], rt = t[77], at = t[78], F = t[79], ct = t[80], ft = t[81], ut = t[82], z = t[83], mt = t[84], U = t[85], xt = t[86], J = t[87], dt = t[88], H = t[89], K = t[90];
|
|
339
|
+
let pt;
|
|
340
|
+
t[176] !== B || t[177] !== U || t[178] !== xt || t[179] !== J || t[180] !== dt || t[181] !== H || t[182] !== K ? (pt = /* @__PURE__ */ l.jsxs(B, { children: [
|
|
340
341
|
U,
|
|
341
|
-
|
|
342
|
+
xt,
|
|
342
343
|
J,
|
|
343
|
-
|
|
344
|
+
dt,
|
|
344
345
|
H,
|
|
345
346
|
K
|
|
346
|
-
] }), t[
|
|
347
|
+
] }), t[176] = B, t[177] = U, t[178] = xt, t[179] = J, t[180] = dt, t[181] = H, t[182] = K, t[183] = pt) : pt = t[183];
|
|
348
|
+
let gt;
|
|
349
|
+
t[184] !== P ? (gt = P.filter(Gi).map(Wi), t[184] = P, t[185] = gt) : gt = t[185];
|
|
350
|
+
let ht;
|
|
351
|
+
t[186] !== st || t[187] !== lt || t[188] !== rt || t[189] !== at || t[190] !== F || t[191] !== pt || t[192] !== gt ? (ht = /* @__PURE__ */ l.jsxs("g", { transform: st, children: [
|
|
352
|
+
lt,
|
|
353
|
+
rt,
|
|
354
|
+
at,
|
|
355
|
+
F,
|
|
356
|
+
pt,
|
|
357
|
+
gt
|
|
358
|
+
] }), t[186] = st, t[187] = lt, t[188] = rt, t[189] = at, t[190] = F, t[191] = pt, t[192] = gt, t[193] = ht) : ht = t[193];
|
|
359
|
+
let yt;
|
|
360
|
+
t[194] !== nt || t[195] !== ct || t[196] !== ft || t[197] !== ut || t[198] !== z || t[199] !== mt || t[200] !== ht ? (yt = /* @__PURE__ */ l.jsx(nt, { width: ct, height: ft, viewBox: ut, direction: z, ref: mt, children: ht }), t[194] = nt, t[195] = ct, t[196] = ft, t[197] = ut, t[198] = z, t[199] = mt, t[200] = ht, t[201] = yt) : yt = t[201];
|
|
347
361
|
let vt;
|
|
348
|
-
t[
|
|
362
|
+
t[202] !== s?.tooltip || t[203] !== be || t[204] !== p || t[205] !== D || t[206] !== n?.tooltip || t[207] !== pe ? (vt = D && pe && be && p ? /* @__PURE__ */ l.jsx(vi, { data: D, body: pe, xPos: be, yPos: p, backgroundStyle: n?.tooltip, className: s?.tooltip }) : null, t[202] = s?.tooltip, t[203] = be, t[204] = p, t[205] = D, t[206] = n?.tooltip, t[207] = pe, t[208] = vt) : vt = t[208];
|
|
349
363
|
let bt;
|
|
350
|
-
t[
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
ut,
|
|
354
|
-
F,
|
|
364
|
+
t[209] !== s?.modal || t[210] !== M || t[211] !== I ? (bt = M && I !== void 0 ? /* @__PURE__ */ l.jsx(Si, { body: M, data: I, setData: Jt, className: s?.modal }) : null, t[209] = s?.modal, t[210] = M, t[211] = I, t[212] = bt) : bt = t[212];
|
|
365
|
+
let Xt;
|
|
366
|
+
return t[213] !== yt || t[214] !== vt || t[215] !== bt ? (Xt = /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
355
367
|
yt,
|
|
356
|
-
vt
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
t[193] !== rt || t[194] !== mt || t[195] !== xt || t[196] !== pt || t[197] !== z || t[198] !== dt || t[199] !== bt ? (At = /* @__PURE__ */ l.jsx(rt, { width: mt, height: xt, viewBox: pt, direction: z, ref: dt, children: bt }), t[193] = rt, t[194] = mt, t[195] = xt, t[196] = pt, t[197] = z, t[198] = dt, t[199] = bt, t[200] = At) : At = t[200];
|
|
360
|
-
let Ot;
|
|
361
|
-
t[201] !== s?.tooltip || t[202] !== ge || t[203] !== g || t[204] !== V || t[205] !== n?.tooltip || t[206] !== ue ? (Ot = V && ue && ge && g ? /* @__PURE__ */ l.jsx(yi, { data: V, body: ue, xPos: ge, yPos: g, backgroundStyle: n?.tooltip, className: s?.tooltip }) : null, t[201] = s?.tooltip, t[202] = ge, t[203] = g, t[204] = V, t[205] = n?.tooltip, t[206] = ue, t[207] = Ot) : Ot = t[207];
|
|
362
|
-
let Q;
|
|
363
|
-
t[208] !== s?.modal || t[209] !== M || t[210] !== I ? (Q = M && I !== void 0 ? /* @__PURE__ */ l.jsx(Si, { body: M, data: I, setData: Zt, className: s?.modal }) : null, t[208] = s?.modal, t[209] = M, t[210] = I, t[211] = Q) : Q = t[211];
|
|
364
|
-
let Rt;
|
|
365
|
-
return t[212] !== At || t[213] !== Ot || t[214] !== Q ? (Rt = /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
366
|
-
At,
|
|
367
|
-
Ot,
|
|
368
|
-
Q
|
|
369
|
-
] }), t[212] = At, t[213] = Ot, t[214] = Q, t[215] = Rt) : Rt = t[215], Rt;
|
|
370
|
-
}
|
|
371
|
-
function Ei(i) {
|
|
372
|
-
return i.layer;
|
|
368
|
+
vt,
|
|
369
|
+
bt
|
|
370
|
+
] }), t[213] = yt, t[214] = vt, t[215] = bt, t[216] = Xt) : Xt = t[216], Xt;
|
|
373
371
|
}
|
|
374
372
|
function Wi(i) {
|
|
375
|
-
return i.
|
|
373
|
+
return i.layer;
|
|
376
374
|
}
|
|
377
375
|
function Gi(i) {
|
|
378
|
-
return i.
|
|
376
|
+
return i.position === "after";
|
|
379
377
|
}
|
|
380
378
|
function qi(i) {
|
|
381
379
|
return i.color;
|
|
@@ -399,19 +397,19 @@ function Qi(i) {
|
|
|
399
397
|
return i.color;
|
|
400
398
|
}
|
|
401
399
|
function Zi(i) {
|
|
402
|
-
return
|
|
400
|
+
return i.color;
|
|
403
401
|
}
|
|
404
402
|
function _i(i) {
|
|
405
|
-
return !
|
|
403
|
+
return !b(i.x) && !b(i.y);
|
|
406
404
|
}
|
|
407
405
|
function to(i) {
|
|
408
|
-
return i.
|
|
406
|
+
return !b(i.x) && !b(i.y);
|
|
409
407
|
}
|
|
410
408
|
function eo(i) {
|
|
411
|
-
return i.
|
|
409
|
+
return i.layer;
|
|
412
410
|
}
|
|
413
411
|
function io(i) {
|
|
414
|
-
return i
|
|
412
|
+
return i.position === "before";
|
|
415
413
|
}
|
|
416
414
|
function oo(i) {
|
|
417
415
|
return i !== 0;
|
|
@@ -423,241 +421,245 @@ function so(i) {
|
|
|
423
421
|
return i !== 0;
|
|
424
422
|
}
|
|
425
423
|
function lo(i) {
|
|
426
|
-
return
|
|
424
|
+
return i !== 0;
|
|
427
425
|
}
|
|
428
426
|
function ro(i) {
|
|
429
|
-
return !
|
|
427
|
+
return !b(i.x) && !b(i.y);
|
|
430
428
|
}
|
|
431
429
|
function ao(i) {
|
|
432
|
-
return !
|
|
430
|
+
return !b(i.x) && !b(i.y);
|
|
433
431
|
}
|
|
434
432
|
function co(i) {
|
|
435
|
-
return !
|
|
433
|
+
return !b(i.radius);
|
|
436
434
|
}
|
|
437
435
|
function fo(i) {
|
|
436
|
+
return !b(i.radius);
|
|
437
|
+
}
|
|
438
|
+
function uo(i) {
|
|
438
439
|
return i.radius === void 0 || i.radius === null;
|
|
439
440
|
}
|
|
440
|
-
function
|
|
441
|
+
function mo(i, t) {
|
|
441
442
|
return {
|
|
442
443
|
...i,
|
|
443
444
|
id: `${t}`
|
|
444
445
|
};
|
|
445
446
|
}
|
|
446
|
-
function
|
|
447
|
-
const t =
|
|
447
|
+
function wn(i) {
|
|
448
|
+
const t = ci.c(143), {
|
|
448
449
|
data: o,
|
|
449
|
-
graphTitle:
|
|
450
|
-
colors:
|
|
451
|
-
sources:
|
|
450
|
+
graphTitle: et,
|
|
451
|
+
colors: $,
|
|
452
|
+
sources: Et,
|
|
452
453
|
graphDescription: m,
|
|
453
|
-
showLabels:
|
|
454
|
+
showLabels: L,
|
|
454
455
|
height: Y,
|
|
455
|
-
width:
|
|
456
|
-
footNote:
|
|
456
|
+
width: y,
|
|
457
|
+
footNote: W,
|
|
457
458
|
colorDomain: R,
|
|
458
|
-
colorLegendTitle:
|
|
459
|
-
radius:
|
|
460
|
-
xAxisTitle:
|
|
461
|
-
yAxisTitle:
|
|
462
|
-
padding:
|
|
463
|
-
backgroundColor:
|
|
464
|
-
leftMargin:
|
|
465
|
-
rightMargin:
|
|
459
|
+
colorLegendTitle: de,
|
|
460
|
+
radius: $e,
|
|
461
|
+
xAxisTitle: Fe,
|
|
462
|
+
yAxisTitle: pe,
|
|
463
|
+
padding: it,
|
|
464
|
+
backgroundColor: De,
|
|
465
|
+
leftMargin: Se,
|
|
466
|
+
rightMargin: Ve,
|
|
466
467
|
topMargin: Dt,
|
|
467
|
-
bottomMargin:
|
|
468
|
-
tooltip:
|
|
469
|
-
relativeHeight:
|
|
470
|
-
onSeriesMouseOver:
|
|
471
|
-
refXValues:
|
|
468
|
+
bottomMargin: G,
|
|
469
|
+
tooltip: ge,
|
|
470
|
+
relativeHeight: he,
|
|
471
|
+
onSeriesMouseOver: j,
|
|
472
|
+
refXValues: Wt,
|
|
472
473
|
refYValues: O,
|
|
473
|
-
highlightAreaSettings:
|
|
474
|
-
showColorScale:
|
|
475
|
-
highlightedDataPoints:
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
474
|
+
highlightAreaSettings: V,
|
|
475
|
+
showColorScale: Gt,
|
|
476
|
+
highlightedDataPoints: qt,
|
|
477
|
+
showHighlightedDataPointsLabels: Bt,
|
|
478
|
+
graphID: St,
|
|
479
|
+
maxRadiusValue: Vt,
|
|
480
|
+
maxXValue: M,
|
|
481
|
+
minXValue: zt,
|
|
482
|
+
maxYValue: Ut,
|
|
483
|
+
minYValue: q,
|
|
484
|
+
xSuffix: Mt,
|
|
485
|
+
ySuffix: kt,
|
|
486
|
+
xPrefix: Nt,
|
|
487
|
+
yPrefix: Pt,
|
|
488
|
+
onSeriesMouseClick: n,
|
|
489
|
+
graphDownload: s,
|
|
490
|
+
dataDownload: a,
|
|
491
|
+
language: k,
|
|
492
|
+
showNAColor: N,
|
|
493
|
+
minHeight: Me,
|
|
492
494
|
annotations: P,
|
|
493
|
-
customHighlightAreaSettings:
|
|
494
|
-
theme:
|
|
495
|
-
regressionLine:
|
|
496
|
-
ariaLabel:
|
|
497
|
-
resetSelectionOnDoubleClick:
|
|
495
|
+
customHighlightAreaSettings: ye,
|
|
496
|
+
theme: ve,
|
|
497
|
+
regressionLine: A,
|
|
498
|
+
ariaLabel: D,
|
|
499
|
+
resetSelectionOnDoubleClick: Tt,
|
|
498
500
|
detailsOnClick: I,
|
|
499
|
-
noOfXTicks:
|
|
500
|
-
noOfYTicks:
|
|
501
|
-
labelColor:
|
|
502
|
-
styles:
|
|
503
|
-
classNames:
|
|
504
|
-
animate:
|
|
505
|
-
dimmedOpacity:
|
|
506
|
-
precision:
|
|
501
|
+
noOfXTicks: Jt,
|
|
502
|
+
noOfYTicks: be,
|
|
503
|
+
labelColor: ot,
|
|
504
|
+
styles: p,
|
|
505
|
+
classNames: c,
|
|
506
|
+
animate: ke,
|
|
507
|
+
dimmedOpacity: Ne,
|
|
508
|
+
precision: Ae,
|
|
507
509
|
customLayers: d,
|
|
508
510
|
timeline: B
|
|
509
|
-
} = i,
|
|
511
|
+
} = i, nt = L === void 0 ? !1 : L, st = $e === void 0 ? 5 : $e, lt = Fe === void 0 ? "X Axis" : Fe, rt = pe === void 0 ? "Y Axis" : pe, at = De === void 0 ? !1 : De, F = Se === void 0 ? 0 : Se, ct = Ve === void 0 ? 10 : Ve, ft = Dt === void 0 ? 20 : Dt, ut = G === void 0 ? 50 : G;
|
|
510
512
|
let z;
|
|
511
|
-
t[0] !==
|
|
512
|
-
const
|
|
513
|
+
t[0] !== Wt ? (z = Wt === void 0 ? [] : Wt, t[0] = Wt, t[1] = z) : z = t[1];
|
|
514
|
+
const mt = z;
|
|
513
515
|
let U;
|
|
514
516
|
t[2] !== O ? (U = O === void 0 ? [] : O, t[2] = O, t[3] = U) : U = t[3];
|
|
515
|
-
const
|
|
517
|
+
const xt = U;
|
|
516
518
|
let J;
|
|
517
|
-
t[4] !==
|
|
518
|
-
const
|
|
519
|
+
t[4] !== V ? (J = V === void 0 ? [] : V, t[4] = V, t[5] = J) : J = t[5];
|
|
520
|
+
const dt = J, H = Gt === void 0 ? !0 : Gt;
|
|
519
521
|
let K;
|
|
520
|
-
t[6] !==
|
|
521
|
-
const
|
|
522
|
-
let
|
|
523
|
-
t[8] !== P ? (
|
|
524
|
-
const
|
|
525
|
-
let
|
|
526
|
-
t[10] !==
|
|
527
|
-
const
|
|
528
|
-
let Ft;
|
|
529
|
-
t[12] !== d ? (Ft = d === void 0 ? [] : d, t[12] = d, t[13] = Ft) : Ft = t[13];
|
|
530
|
-
const be = Ft;
|
|
522
|
+
t[6] !== qt ? (K = qt === void 0 ? [] : qt, t[6] = qt, t[7] = K) : K = t[7];
|
|
523
|
+
const pt = K, gt = Bt === void 0 ? !1 : Bt, ht = Mt === void 0 ? "" : Mt, yt = kt === void 0 ? "" : kt, vt = Nt === void 0 ? "" : Nt, bt = Pt === void 0 ? "" : Pt, Xt = s === void 0 ? !1 : s, Kt = a === void 0 ? !1 : a, g = k === void 0 ? "en" : k, v = N === void 0 ? !0 : N, S = Me === void 0 ? 0 : Me;
|
|
524
|
+
let Yt;
|
|
525
|
+
t[8] !== P ? (Yt = P === void 0 ? [] : P, t[8] = P, t[9] = Yt) : Yt = t[9];
|
|
526
|
+
const f = Yt;
|
|
527
|
+
let x;
|
|
528
|
+
t[10] !== ye ? (x = ye === void 0 ? [] : ye, t[10] = ye, t[11] = x) : x = t[11];
|
|
529
|
+
const Pe = x, E = ve === void 0 ? "light" : ve, He = A === void 0 ? !1 : A, Ee = Tt === void 0 ? !0 : Tt, Te = Jt === void 0 ? 5 : Jt, Qt = be === void 0 ? 5 : be, Zt = ke === void 0 ? !1 : ke, Oe = Ne === void 0 ? 0.3 : Ne, _t = Ae === void 0 ? 2 : Ae;
|
|
531
530
|
let te;
|
|
532
|
-
t[
|
|
531
|
+
t[12] !== d ? (te = d === void 0 ? [] : d, t[12] = d, t[13] = te) : te = t[13];
|
|
532
|
+
const Ce = te;
|
|
533
|
+
let Rt;
|
|
534
|
+
t[14] !== B ? (Rt = B === void 0 ? {
|
|
533
535
|
enabled: !1,
|
|
534
536
|
autoplay: !1,
|
|
535
537
|
showOnlyActiveDate: !0
|
|
536
|
-
} : B, t[14] = B, t[15] =
|
|
537
|
-
const r =
|
|
538
|
-
let
|
|
538
|
+
} : B, t[14] = B, t[15] = Rt) : Rt = t[15];
|
|
539
|
+
const r = Rt, [ee, We] = Ht(0), [ie, oe] = Ht(0), [T, ne] = Ht(r.autoplay);
|
|
540
|
+
let It;
|
|
539
541
|
if (t[16] !== o || t[17] !== r.dateFormat) {
|
|
540
|
-
let
|
|
541
|
-
t[19] !== r.dateFormat ? (
|
|
542
|
+
let h;
|
|
543
|
+
t[19] !== r.dateFormat ? (h = (_) => xi(`${_.date}`, r.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), t[19] = r.dateFormat, t[20] = h) : h = t[20], It = [...new Set(o.filter(Eo).map(h))], It.sort(Ho), t[16] = o, t[17] = r.dateFormat, t[18] = It;
|
|
542
544
|
} else
|
|
543
|
-
|
|
544
|
-
const u =
|
|
545
|
-
let
|
|
546
|
-
t[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
547
|
-
const
|
|
548
|
-
|
|
545
|
+
It = t[18];
|
|
546
|
+
const u = It, [C, we] = Ht(r.autoplay ? 0 : u.length - 1), [At, se] = Ht(void 0), Ot = _e(null), Le = _e(null);
|
|
547
|
+
let le, re;
|
|
548
|
+
t[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (le = () => {
|
|
549
|
+
const h = new ResizeObserver((_) => {
|
|
550
|
+
We(_[0].target.clientWidth || 620), oe(_[0].target.clientHeight || 480);
|
|
549
551
|
});
|
|
550
|
-
return
|
|
551
|
-
},
|
|
552
|
-
let
|
|
553
|
-
t[23] !==
|
|
554
|
-
const
|
|
555
|
-
|
|
552
|
+
return Ot.current && h.observe(Ot.current), () => h.disconnect();
|
|
553
|
+
}, re = [], t[21] = le, t[22] = re) : (le = t[21], re = t[22]), ei(le, re);
|
|
554
|
+
let ae, ce;
|
|
555
|
+
t[23] !== T || t[24] !== r.speed || t[25] !== u ? (ae = () => {
|
|
556
|
+
const h = setInterval(() => {
|
|
557
|
+
we((_) => _ < u.length - 1 ? _ + 1 : 0);
|
|
556
558
|
}, (r.speed || 2) * 1e3);
|
|
557
|
-
return
|
|
558
|
-
},
|
|
559
|
-
const
|
|
560
|
-
let
|
|
561
|
-
t[28] !==
|
|
562
|
-
const
|
|
563
|
-
let
|
|
564
|
-
t[33] !==
|
|
565
|
-
title:
|
|
566
|
-
description:
|
|
559
|
+
return T || clearInterval(h), () => clearInterval(h);
|
|
560
|
+
}, ce = [u, T, r.speed], t[23] = T, t[24] = r.speed, t[25] = u, t[26] = ae, t[27] = ce) : (ae = t[26], ce = t[27]), ei(ae, ce);
|
|
561
|
+
const fe = r.dateFormat || "yyyy";
|
|
562
|
+
let ue;
|
|
563
|
+
t[28] !== C || t[29] !== fe || t[30] !== r.showOnlyActiveDate || t[31] !== u ? (ue = di(u, C, r.showOnlyActiveDate, fe), t[28] = C, t[29] = fe, t[30] = r.showOnlyActiveDate, t[31] = u, t[32] = ue) : ue = t[32];
|
|
564
|
+
const me = ue, xe = c?.graphContainer, je = p?.graphContainer;
|
|
565
|
+
let Ct;
|
|
566
|
+
t[33] !== c?.description || t[34] !== c?.title || t[35] !== o || t[36] !== Kt || t[37] !== m || t[38] !== Xt || t[39] !== et || t[40] !== p?.description || t[41] !== p?.title || t[42] !== y ? (Ct = et || m || Xt || Kt ? /* @__PURE__ */ l.jsx(Pi, { styles: {
|
|
567
|
+
title: p?.title,
|
|
568
|
+
description: p?.description
|
|
567
569
|
}, classNames: {
|
|
568
|
-
title:
|
|
569
|
-
description:
|
|
570
|
-
}, graphTitle:
|
|
571
|
-
let
|
|
572
|
-
t[44] !==
|
|
570
|
+
title: c?.title,
|
|
571
|
+
description: c?.description
|
|
572
|
+
}, graphTitle: et, graphDescription: m, width: y, graphDownload: Xt ? Le : void 0, dataDownload: Kt ? o.map(Fo).filter(Io).length > 0 ? o.map(Ro).filter(Yo) : o.filter(Xo) : null }) : null, t[33] = c?.description, t[34] = c?.title, t[35] = o, t[36] = Kt, t[37] = m, t[38] = Xt, t[39] = et, t[40] = p?.description, t[41] = p?.title, t[42] = y, t[43] = Ct) : Ct = t[43];
|
|
573
|
+
let Q;
|
|
574
|
+
t[44] !== C || t[45] !== me || t[46] !== T || t[47] !== r.enabled || t[48] !== u ? (Q = r.enabled && u.length > 0 && me ? /* @__PURE__ */ l.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
|
|
573
575
|
/* @__PURE__ */ l.jsx("button", { type: "button", onClick: () => {
|
|
574
|
-
|
|
575
|
-
}, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label":
|
|
576
|
-
/* @__PURE__ */ l.jsx(pi, { min: u[0], max: u[u.length - 1], marks:
|
|
577
|
-
|
|
578
|
-
}, onChange: (
|
|
579
|
-
|
|
576
|
+
ne(!T);
|
|
577
|
+
}, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": T ? "Click to pause animation" : "Click to play animation", children: T ? /* @__PURE__ */ l.jsx(Yi, {}) : /* @__PURE__ */ l.jsx(Ri, {}) }),
|
|
578
|
+
/* @__PURE__ */ l.jsx(pi, { min: u[0], max: u[u.length - 1], marks: me, step: null, defaultValue: u[u.length - 1], value: u[C], onChangeComplete: (h) => {
|
|
579
|
+
we(u.indexOf(h));
|
|
580
|
+
}, onChange: (h) => {
|
|
581
|
+
we(u.indexOf(h));
|
|
580
582
|
}, "aria-label": "Time slider. Use arrow keys to adjust selected time period." })
|
|
581
|
-
] }) : null, t[44] =
|
|
582
|
-
let
|
|
583
|
-
t[50] !==
|
|
584
|
-
let
|
|
585
|
-
t[60] !== o.length ? (
|
|
586
|
-
let
|
|
587
|
-
t[62] !==
|
|
583
|
+
] }) : null, t[44] = C, t[45] = me, t[46] = T, t[47] = r.enabled, t[48] = u, t[49] = Q) : Q = t[49];
|
|
584
|
+
let wt;
|
|
585
|
+
t[50] !== c?.colorLegend || t[51] !== R || t[52] !== de || t[53] !== $ || t[54] !== o || t[55] !== H || t[56] !== v || t[57] !== E || t[58] !== y ? (wt = H && o.filter(To).length !== 0 && o.length > 0 ? /* @__PURE__ */ l.jsx(Ti, { width: y, colorLegendTitle: de, colors: $ || tt[E].categoricalColors.colors, colorDomain: R || ai(o, "color", !0), setSelectedColor: se, showNAColor: v, className: c?.colorLegend }) : null, t[50] = c?.colorLegend, t[51] = R, t[52] = de, t[53] = $, t[54] = o, t[55] = H, t[56] = v, t[57] = E, t[58] = y, t[59] = wt) : wt = t[59];
|
|
586
|
+
let Lt;
|
|
587
|
+
t[60] !== o.length ? (Lt = o.length === 0 && /* @__PURE__ */ l.jsx(Xi, {}), t[60] = o.length, t[61] = Lt) : Lt = t[61];
|
|
588
|
+
let jt;
|
|
589
|
+
t[62] !== Zt || t[63] !== f || t[64] !== ut || t[65] !== c || t[66] !== R || t[67] !== $ || t[68] !== Pe || t[69] !== Ce || t[70] !== o || t[71] !== I || t[72] !== Oe || t[73] !== dt || t[74] !== pt || t[75] !== C || t[76] !== ot || t[77] !== g || t[78] !== F || t[79] !== Vt || t[80] !== M || t[81] !== Ut || t[82] !== zt || t[83] !== q || t[84] !== Te || t[85] !== Qt || t[86] !== n || t[87] !== j || t[88] !== _t || t[89] !== st || t[90] !== mt || t[91] !== xt || t[92] !== He || t[93] !== Ee || t[94] !== ct || t[95] !== At || t[96] !== gt || t[97] !== nt || t[98] !== p || t[99] !== ie || t[100] !== ee || t[101] !== E || t[102] !== r.dateFormat || t[103] !== r.enabled || t[104] !== ge || t[105] !== ft || t[106] !== u || t[107] !== lt || t[108] !== vt || t[109] !== ht || t[110] !== rt || t[111] !== bt || t[112] !== yt ? (jt = ee && ie && o.length > 0 ? /* @__PURE__ */ l.jsx(Ei, { data: Ii(o, r.dateFormat || "yyyy").filter((h) => r.enabled ? `${h.date}` === mi(new Date(u[C]), r.dateFormat || "yyyy") : h), width: ee, height: ie, colorDomain: o.filter(Po).length === 0 ? [] : R || ai(o, "color", !0), colors: o.filter(No).length === 0 ? $ ? [$] : [tt.primaryColors["blue-600"]] : $ || tt[E].categoricalColors.colors, xAxisTitle: lt, yAxisTitle: rt, refXValues: mt, refYValues: xt, showLabels: nt, radius: st, leftMargin: F, rightMargin: ct, topMargin: ft, bottomMargin: ut, tooltip: ge, onSeriesMouseOver: j, highlightAreaSettings: dt, highlightedDataPoints: o.filter(ko).length === 0 ? [] : pt, showHighlightedDataPointsLabels: gt, selectedColor: At, maxRadiusValue: b(Vt) ? Math.max(...o.map(Mo).filter(Vo)) : Vt, maxXValue: b(M) ? Math.max(...o.map(So).filter(Do)) > 0 ? Math.max(...o.map($o).filter(jo)) : 0 : M, minXValue: b(zt) ? Math.min(...o.map(Lo).filter(wo)) > 0 ? 0 : Math.min(...o.map(Co).filter(Oo)) : zt, maxYValue: b(Ut) ? Math.max(...o.map(Ao).filter(bo)) > 0 ? Math.max(...o.map(vo).filter(yo)) : 0 : Ut, minYValue: b(q) ? Math.min(...o.map(ho).filter(go)) > 0 ? 0 : Math.min(...o.map(po).filter(xo)) : q, onSeriesMouseClick: n, rtl: g === "he" || g === "ar", annotations: f, customHighlightAreaSettings: Pe, regressionLine: He, resetSelectionOnDoubleClick: Ee, detailsOnClick: I, noOfXTicks: Te, noOfYTicks: Qt, labelColor: ot, xSuffix: ht, ySuffix: yt, xPrefix: vt, yPrefix: bt, styles: p, classNames: c, animate: Zt === !0 ? {
|
|
588
590
|
duration: 0.5,
|
|
589
591
|
once: !0,
|
|
590
592
|
amount: 0.5
|
|
591
|
-
} :
|
|
593
|
+
} : Zt || {
|
|
592
594
|
duration: 0,
|
|
593
595
|
once: !0,
|
|
594
596
|
amount: 0
|
|
595
|
-
}, dimmedOpacity:
|
|
596
|
-
let Vt;
|
|
597
|
-
t[113] !== $t || t[114] !== St ? (Vt = /* @__PURE__ */ l.jsxs(Ii, { ref: wt, children: [
|
|
598
|
-
$t,
|
|
599
|
-
St
|
|
600
|
-
] }), t[113] = $t, t[114] = St, t[115] = Vt) : Vt = t[115];
|
|
597
|
+
}, dimmedOpacity: Oe, precision: _t, customLayers: Ce }) : null, t[62] = Zt, t[63] = f, t[64] = ut, t[65] = c, t[66] = R, t[67] = $, t[68] = Pe, t[69] = Ce, t[70] = o, t[71] = I, t[72] = Oe, t[73] = dt, t[74] = pt, t[75] = C, t[76] = ot, t[77] = g, t[78] = F, t[79] = Vt, t[80] = M, t[81] = Ut, t[82] = zt, t[83] = q, t[84] = Te, t[85] = Qt, t[86] = n, t[87] = j, t[88] = _t, t[89] = st, t[90] = mt, t[91] = xt, t[92] = He, t[93] = Ee, t[94] = ct, t[95] = At, t[96] = gt, t[97] = nt, t[98] = p, t[99] = ie, t[100] = ee, t[101] = E, t[102] = r.dateFormat, t[103] = r.enabled, t[104] = ge, t[105] = ft, t[106] = u, t[107] = lt, t[108] = vt, t[109] = ht, t[110] = rt, t[111] = bt, t[112] = yt, t[113] = jt) : jt = t[113];
|
|
601
598
|
let X;
|
|
602
|
-
t[
|
|
603
|
-
footnote: g?.footnote,
|
|
604
|
-
source: g?.source
|
|
605
|
-
}, classNames: {
|
|
606
|
-
footnote: f?.footnote,
|
|
607
|
-
source: f?.source
|
|
608
|
-
}, sources: Bt, footNote: G, width: h }) : null, t[116] = f?.footnote, t[117] = f?.source, t[118] = G, t[119] = Bt, t[120] = g?.footnote, t[121] = g?.source, t[122] = h, t[123] = X) : X = t[123];
|
|
609
|
-
let ce;
|
|
610
|
-
return t[124] !== V || t[125] !== ut || t[126] !== Mt || t[127] !== Y || t[128] !== Z || t[129] !== y || t[130] !== ot || t[131] !== xe || t[132] !== Ce || t[133] !== ae || t[134] !== jt || t[135] !== Lt || t[136] !== _ || t[137] !== Vt || t[138] !== X || t[139] !== E || t[140] !== h ? (ce = /* @__PURE__ */ l.jsxs(Fi, { className: Ce, style: ae, id: Mt, ref: Ht, "aria-label": V, backgroundColor: ut, theme: E, language: Z, minHeight: y, width: h, height: Y, relativeHeight: xe, padding: ot, children: [
|
|
611
|
-
jt,
|
|
599
|
+
t[114] !== Lt || t[115] !== jt ? (X = /* @__PURE__ */ l.jsxs(Fi, { ref: Ot, children: [
|
|
612
600
|
Lt,
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
601
|
+
jt
|
|
602
|
+
] }), t[114] = Lt, t[115] = jt, t[116] = X) : X = t[116];
|
|
603
|
+
let $t;
|
|
604
|
+
t[117] !== c?.footnote || t[118] !== c?.source || t[119] !== W || t[120] !== Et || t[121] !== p?.footnote || t[122] !== p?.source || t[123] !== y ? ($t = Et || W ? /* @__PURE__ */ l.jsx(Ni, { styles: {
|
|
605
|
+
footnote: p?.footnote,
|
|
606
|
+
source: p?.source
|
|
607
|
+
}, classNames: {
|
|
608
|
+
footnote: c?.footnote,
|
|
609
|
+
source: c?.source
|
|
610
|
+
}, sources: Et, footNote: W, width: y }) : null, t[117] = c?.footnote, t[118] = c?.source, t[119] = W, t[120] = Et, t[121] = p?.footnote, t[122] = p?.source, t[123] = y, t[124] = $t) : $t = t[124];
|
|
611
|
+
let Z;
|
|
612
|
+
return t[125] !== D || t[126] !== at || t[127] !== St || t[128] !== Y || t[129] !== g || t[130] !== S || t[131] !== it || t[132] !== he || t[133] !== xe || t[134] !== je || t[135] !== Ct || t[136] !== Q || t[137] !== wt || t[138] !== X || t[139] !== $t || t[140] !== E || t[141] !== y ? (Z = /* @__PURE__ */ l.jsxs(Hi, { className: xe, style: je, id: St, ref: Le, "aria-label": D, backgroundColor: at, theme: E, language: g, minHeight: S, width: y, height: Y, relativeHeight: he, padding: it, children: [
|
|
613
|
+
Ct,
|
|
614
|
+
Q,
|
|
615
|
+
wt,
|
|
616
|
+
X,
|
|
617
|
+
$t
|
|
618
|
+
] }), t[125] = D, t[126] = at, t[127] = St, t[128] = Y, t[129] = g, t[130] = S, t[131] = it, t[132] = he, t[133] = xe, t[134] = je, t[135] = Ct, t[136] = Q, t[137] = wt, t[138] = X, t[139] = $t, t[140] = E, t[141] = y, t[142] = Z) : Z = t[142], Z;
|
|
617
619
|
}
|
|
618
|
-
function
|
|
620
|
+
function xo(i) {
|
|
619
621
|
return i != null;
|
|
620
622
|
}
|
|
621
|
-
function
|
|
623
|
+
function po(i) {
|
|
622
624
|
return i.y;
|
|
623
625
|
}
|
|
624
|
-
function
|
|
626
|
+
function go(i) {
|
|
625
627
|
return i != null;
|
|
626
628
|
}
|
|
627
|
-
function
|
|
629
|
+
function ho(i) {
|
|
628
630
|
return i.y;
|
|
629
631
|
}
|
|
630
|
-
function
|
|
632
|
+
function yo(i) {
|
|
631
633
|
return i != null;
|
|
632
634
|
}
|
|
633
|
-
function
|
|
635
|
+
function vo(i) {
|
|
634
636
|
return i.y;
|
|
635
637
|
}
|
|
636
|
-
function
|
|
638
|
+
function bo(i) {
|
|
637
639
|
return i != null;
|
|
638
640
|
}
|
|
639
|
-
function
|
|
641
|
+
function Ao(i) {
|
|
640
642
|
return i.y;
|
|
641
643
|
}
|
|
642
|
-
function
|
|
644
|
+
function Oo(i) {
|
|
643
645
|
return i != null;
|
|
644
646
|
}
|
|
645
|
-
function
|
|
647
|
+
function Co(i) {
|
|
646
648
|
return i.x;
|
|
647
649
|
}
|
|
648
|
-
function
|
|
650
|
+
function wo(i) {
|
|
649
651
|
return i != null;
|
|
650
652
|
}
|
|
651
|
-
function
|
|
653
|
+
function Lo(i) {
|
|
652
654
|
return i.x;
|
|
653
655
|
}
|
|
654
656
|
function jo(i) {
|
|
655
657
|
return i != null;
|
|
656
658
|
}
|
|
657
|
-
function
|
|
659
|
+
function $o(i) {
|
|
658
660
|
return i.x;
|
|
659
661
|
}
|
|
660
|
-
function
|
|
662
|
+
function Do(i) {
|
|
661
663
|
return i != null;
|
|
662
664
|
}
|
|
663
665
|
function So(i) {
|
|
@@ -666,14 +668,11 @@ function So(i) {
|
|
|
666
668
|
function Vo(i) {
|
|
667
669
|
return i != null;
|
|
668
670
|
}
|
|
669
|
-
function Do(i) {
|
|
670
|
-
return i.radius;
|
|
671
|
-
}
|
|
672
671
|
function Mo(i) {
|
|
673
|
-
return i.
|
|
672
|
+
return i.radius;
|
|
674
673
|
}
|
|
675
674
|
function ko(i) {
|
|
676
|
-
return i.
|
|
675
|
+
return i.label;
|
|
677
676
|
}
|
|
678
677
|
function No(i) {
|
|
679
678
|
return i.color;
|
|
@@ -682,27 +681,30 @@ function Po(i) {
|
|
|
682
681
|
return i.color;
|
|
683
682
|
}
|
|
684
683
|
function To(i) {
|
|
685
|
-
return i
|
|
684
|
+
return i.color;
|
|
686
685
|
}
|
|
687
686
|
function Xo(i) {
|
|
688
687
|
return i !== void 0;
|
|
689
688
|
}
|
|
690
689
|
function Yo(i) {
|
|
691
|
-
return i
|
|
690
|
+
return i !== void 0;
|
|
692
691
|
}
|
|
693
692
|
function Ro(i) {
|
|
694
|
-
return i
|
|
693
|
+
return i.data;
|
|
695
694
|
}
|
|
696
695
|
function Io(i) {
|
|
696
|
+
return i !== void 0;
|
|
697
|
+
}
|
|
698
|
+
function Fo(i) {
|
|
697
699
|
return i.data;
|
|
698
700
|
}
|
|
699
|
-
function
|
|
701
|
+
function Ho(i, t) {
|
|
700
702
|
return i - t;
|
|
701
703
|
}
|
|
702
|
-
function
|
|
704
|
+
function Eo(i) {
|
|
703
705
|
return i.date;
|
|
704
706
|
}
|
|
705
707
|
export {
|
|
706
|
-
|
|
708
|
+
wn as ScatterPlot
|
|
707
709
|
};
|
|
708
710
|
//# sourceMappingURL=ScatterPlot.js.map
|