@undp/data-viz 2.1.3 → 2.1.4

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