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