@undp/data-viz 2.1.2 → 2.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/dist/AreaChart.cjs +1 -1
  2. package/dist/AreaChart.cjs.map +1 -1
  3. package/dist/AreaChart.js +281 -274
  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 +367 -356
  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 +406 -399
  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.d.ts +10 -0
  31. package/dist/DonutChart.js +232 -263
  32. package/dist/DonutChart.js.map +1 -1
  33. package/dist/DualAxisLineChart.cjs +1 -1
  34. package/dist/DualAxisLineChart.cjs.map +1 -1
  35. package/dist/DualAxisLineChart.js +320 -313
  36. package/dist/DualAxisLineChart.js.map +1 -1
  37. package/dist/DumbbellChart.cjs +1 -1
  38. package/dist/DumbbellChart.cjs.map +1 -1
  39. package/dist/DumbbellChart.js +298 -291
  40. package/dist/DumbbellChart.js.map +1 -1
  41. package/dist/{EmptyState-BZo1BbAn.js → EmptyState-C7ZXkZWd.js} +4 -4
  42. package/dist/EmptyState-C7ZXkZWd.js.map +1 -0
  43. package/dist/EmptyState-gLDRXBHm.cjs +2 -0
  44. package/dist/EmptyState-gLDRXBHm.cjs.map +1 -0
  45. package/dist/GraphEl-C2Fgg8PA.cjs +2 -0
  46. package/dist/GraphEl-C2Fgg8PA.cjs.map +1 -0
  47. package/dist/{GraphEl-sVZvlyWe.js → GraphEl-oZwZiTHI.js} +6 -3
  48. package/dist/GraphEl-oZwZiTHI.js.map +1 -0
  49. package/dist/GriddedGraphs.cjs +1 -1
  50. package/dist/GriddedGraphs.d.ts +1 -0
  51. package/dist/GriddedGraphs.js +1 -1
  52. package/dist/GriddedGraphsFromConfig.d.ts +1 -0
  53. package/dist/HeatMap.cjs +1 -1
  54. package/dist/HeatMap.cjs.map +1 -1
  55. package/dist/HeatMap.js +179 -172
  56. package/dist/HeatMap.js.map +1 -1
  57. package/dist/Histogram.cjs +1 -1
  58. package/dist/Histogram.js +1 -1
  59. package/dist/LineChartWithConfidenceInterval.cjs +1 -1
  60. package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
  61. package/dist/LineChartWithConfidenceInterval.js +370 -363
  62. package/dist/LineChartWithConfidenceInterval.js.map +1 -1
  63. package/dist/MultiGraphDashboard.d.ts +1 -0
  64. package/dist/MultiGraphDashboardFromConfig.d.ts +1 -0
  65. package/dist/MultiLineAltChart.cjs +1 -1
  66. package/dist/MultiLineAltChart.cjs.map +1 -1
  67. package/dist/MultiLineAltChart.js +328 -321
  68. package/dist/MultiLineAltChart.js.map +1 -1
  69. package/dist/MultiLineChart.cjs +1 -1
  70. package/dist/MultiLineChart.cjs.map +1 -1
  71. package/dist/MultiLineChart.js +375 -368
  72. package/dist/MultiLineChart.js.map +1 -1
  73. package/dist/ParetoChart.cjs +1 -1
  74. package/dist/ParetoChart.cjs.map +1 -1
  75. package/dist/ParetoChart.js +385 -378
  76. package/dist/ParetoChart.js.map +1 -1
  77. package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +1 -0
  78. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +1 -0
  79. package/dist/PerformanceIntensiveScrollStory.d.ts +1 -0
  80. package/dist/RadarChart.cjs +1 -1
  81. package/dist/RadarChart.cjs.map +1 -1
  82. package/dist/RadarChart.js +35 -34
  83. package/dist/RadarChart.js.map +1 -1
  84. package/dist/SankeyChart.cjs +1 -1
  85. package/dist/SankeyChart.cjs.map +1 -1
  86. package/dist/SankeyChart.js +176 -169
  87. package/dist/SankeyChart.js.map +1 -1
  88. package/dist/ScatterPlot.cjs +1 -1
  89. package/dist/ScatterPlot.cjs.map +1 -1
  90. package/dist/ScatterPlot.js +367 -360
  91. package/dist/ScatterPlot.js.map +1 -1
  92. package/dist/ScrollStory.d.ts +1 -0
  93. package/dist/SimpleLineChart.cjs +1 -1
  94. package/dist/SimpleLineChart.cjs.map +1 -1
  95. package/dist/SimpleLineChart.js +286 -279
  96. package/dist/SimpleLineChart.js.map +1 -1
  97. package/dist/SingleGraphDashboard.cjs +1 -1
  98. package/dist/SingleGraphDashboard.d.ts +1 -0
  99. package/dist/SingleGraphDashboard.js +1 -1
  100. package/dist/SingleGraphDashboardFromConfig.d.ts +1 -0
  101. package/dist/SingleGraphDashboardGeoHubMaps.d.ts +1 -0
  102. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +1 -0
  103. package/dist/SingleGraphDashboardThreeDGraphs.d.ts +1 -0
  104. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +1 -0
  105. package/dist/SlopeChart.cjs +1 -1
  106. package/dist/SlopeChart.cjs.map +1 -1
  107. package/dist/SlopeChart.js +243 -236
  108. package/dist/SlopeChart.js.map +1 -1
  109. package/dist/SparkLine.cjs +1 -1
  110. package/dist/SparkLine.js +2 -2
  111. package/dist/StripChart.cjs +1 -1
  112. package/dist/StripChart.cjs.map +1 -1
  113. package/dist/StripChart.js +293 -286
  114. package/dist/StripChart.js.map +1 -1
  115. package/dist/TreeMapGraph.cjs +1 -1
  116. package/dist/TreeMapGraph.cjs.map +1 -1
  117. package/dist/TreeMapGraph.js +222 -215
  118. package/dist/TreeMapGraph.js.map +1 -1
  119. package/dist/Types.d.ts +1 -0
  120. package/dist/{area-BE2wo7fv.js → area-B6r7cv2o.js} +5 -5
  121. package/dist/{area-BE2wo7fv.js.map → area-B6r7cv2o.js.map} +1 -1
  122. package/dist/area-C1gxfNGD.cjs +2 -0
  123. package/dist/{area-D3Qx7k7K.cjs.map → area-C1gxfNGD.cjs.map} +1 -1
  124. package/dist/array-DMyR1sql.cjs +2 -0
  125. package/dist/array-DMyR1sql.cjs.map +1 -0
  126. package/dist/array-USo-Szhp.js +13 -0
  127. package/dist/array-USo-Szhp.js.map +1 -0
  128. package/dist/{ensureCompleteData-DS7gCvVd.js → ensureCompleteData-DH5c52Ub.js} +6 -6
  129. package/dist/{ensureCompleteData-DS7gCvVd.js.map → ensureCompleteData-DH5c52Ub.js.map} +1 -1
  130. package/dist/{ensureCompleteData-Oib-vGb0.cjs → ensureCompleteData-pZ9QO6kB.cjs} +2 -2
  131. package/dist/{ensureCompleteData-Oib-vGb0.cjs.map → ensureCompleteData-pZ9QO6kB.cjs.map} +1 -1
  132. package/dist/index-Blvf-Q3U.cjs +2 -0
  133. package/dist/{index-CF5hnGvG.cjs.map → index-Blvf-Q3U.cjs.map} +1 -1
  134. package/dist/index-D1RrKgK6.js +337 -0
  135. package/dist/index-D1RrKgK6.js.map +1 -0
  136. package/dist/index.cjs +1 -1
  137. package/dist/index.d.ts +7 -0
  138. package/dist/index.js +1 -1
  139. package/dist/line-DFlZsxI1.js +144 -0
  140. package/dist/line-DFlZsxI1.js.map +1 -0
  141. package/dist/line-DaEMhXmx.cjs +2 -0
  142. package/dist/line-DaEMhXmx.cjs.map +1 -0
  143. package/dist/style.css +1 -1
  144. package/package.json +1 -1
  145. package/dist/EmptyState-BZo1BbAn.js.map +0 -1
  146. package/dist/EmptyState-sAEZ_5rU.cjs +0 -2
  147. package/dist/EmptyState-sAEZ_5rU.cjs.map +0 -1
  148. package/dist/GraphEl-YKUlz-37.cjs +0 -2
  149. package/dist/GraphEl-YKUlz-37.cjs.map +0 -1
  150. package/dist/GraphEl-sVZvlyWe.js.map +0 -1
  151. package/dist/area-D3Qx7k7K.cjs +0 -2
  152. package/dist/array-B7TkkRH0.js +0 -89
  153. package/dist/array-B7TkkRH0.js.map +0 -1
  154. package/dist/array-DKbXV8lR.cjs +0 -2
  155. package/dist/array-DKbXV8lR.cjs.map +0 -1
  156. package/dist/index-CF5hnGvG.cjs +0 -2
  157. package/dist/index-DPGq3eIL.js +0 -330
  158. package/dist/index-DPGq3eIL.js.map +0 -1
  159. package/dist/line-CPfhohvF.js +0 -68
  160. package/dist/line-CPfhohvF.js.map +0 -1
  161. package/dist/line-DHV4JwCR.cjs +0 -2
  162. package/dist/line-DHV4JwCR.cjs.map +0 -1
@@ -1,20 +1,20 @@
1
- import { c as ai, j as n, m as _e } from "./index-CHPV5EwG-Curnpaqc.js";
1
+ import { c as ai, j as l, m as _e } from "./index-CHPV5EwG-Curnpaqc.js";
2
2
  import { f as ui, p as mi } from "./parse-DlCRUFh_.js";
3
- import { useRef as Ze, useState as Et, useEffect as ti } from "react";
3
+ import { useRef as Ze, useState as qt, useEffect as ti } from "react";
4
4
  import { g as xi, N as pi } from "./getSliderMarks-HIDJ0_Cd.js";
5
5
  import { i as ei } from "./index-Bwrro8-q.js";
6
6
  import { o as di } from "./index-BZQYSqar.js";
7
7
  import { l as gi, a as hi } from "./simple-statistics-flVzqVtt.js";
8
8
  import { T as yi } from "./Tooltip-Dj5eVppQ.js";
9
9
  import { c as v } from "./checkIfNullOrUndefined-DmfiKkNw.js";
10
- import { Colors as Z } from "./Colors.js";
10
+ import { Colors as et } from "./Colors.js";
11
11
  import { n as ii } from "./numberFormattingFunction-14YCbkN2.js";
12
12
  import { g as vi, A as bi, C as Ai } from "./customArea-BUhPiPT6.js";
13
13
  import { A as oi } from "./Axis-CRyfcLjc.js";
14
14
  import { A as ni } from "./AxisTitle-jeI7am8o.js";
15
15
  import { X as Oi } from "./XTicksAndGridLines-CObVFSm4.js";
16
- import { R as Ci, a as ji } from "./ReferenceLine-2XCwHXQ4.js";
17
- import { R as wi } from "./RegressionLine-DAcY2DjT.js";
16
+ import { R as Ci, a as wi } from "./ReferenceLine-2XCwHXQ4.js";
17
+ import { R as ji } from "./RegressionLine-DAcY2DjT.js";
18
18
  import { Y as Li } from "./YTicksAndGridLines-Blepl7XF.js";
19
19
  import { a as $i } from "./index-SKgJALZg.js";
20
20
  import { D as Si } from "./DetailsModal-0Ry5nXiC.js";
@@ -22,206 +22,206 @@ import { s as Vi } from "./pow-CM2aze4M.js";
22
22
  import { a as si } from "./linear-BqltdMeF.js";
23
23
  import { D as Di } from "./delaunay-C1uAf38t.js";
24
24
  import { u as Mi } from "./use-in-view-Cxa7y1TH.js";
25
- import { m as Fe } from "./proxy-BxkFHwUw.js";
25
+ import { m as Ee } from "./proxy-BxkFHwUw.js";
26
26
  import { A as li } from "./index-BqfRwk1n.js";
27
27
  import { GraphFooter as ki } from "./GraphFooter.js";
28
28
  import { GraphHeader as Ni } from "./GraphHeader.js";
29
29
  import { ColorLegendWithMouseOver as Pi } from "./ColorLegendWithMouseOver.js";
30
- import { E as Ti } from "./EmptyState-BZo1BbAn.js";
30
+ import { E as Ti } from "./EmptyState-C7ZXkZWd.js";
31
31
  import { P as Xi, e as Yi } from "./index-D491FEn1.js";
32
- import { a as Ri } from "./ensureCompleteData-DS7gCvVd.js";
32
+ import { a as Ri } from "./ensureCompleteData-DH5c52Ub.js";
33
33
  import { u as ri } from "./uniqBy-BHy4I8PK.js";
34
34
  import { a as Ii, G as Fi } from "./GraphContainer-CRqzdKu2.js";
35
35
  function Hi(i) {
36
36
  const t = ai.c(216), {
37
37
  data: o,
38
- width: _,
39
- height: X,
40
- showLabels: Wt,
41
- colors: u,
42
- colorDomain: w,
38
+ width: it,
39
+ height: S,
40
+ showLabels: Bt,
41
+ colors: m,
42
+ colorDomain: j,
43
43
  radius: Y,
44
44
  xAxisTitle: h,
45
- yAxisTitle: E,
46
- leftMargin: tt,
47
- rightMargin: re,
48
- topMargin: Ae,
49
- bottomMargin: Pe,
50
- tooltip: ae,
51
- onSeriesMouseOver: et,
52
- refXValues: Oe,
53
- refYValues: Ce,
54
- highlightAreaSettings: je,
55
- selectedColor: $t,
56
- highlightedDataPoints: W,
57
- maxRadiusValue: ce,
58
- maxXValue: fe,
45
+ yAxisTitle: G,
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,
55
+ selectedColor: Dt,
56
+ highlightedDataPoints: q,
57
+ maxRadiusValue: me,
58
+ maxXValue: xe,
59
59
  minXValue: L,
60
- maxYValue: Gt,
60
+ maxYValue: zt,
61
61
  minYValue: O,
62
62
  onSeriesMouseClick: D,
63
- rtl: qt,
64
- annotations: Bt,
65
- customHighlightAreaSettings: St,
66
- regressionLine: it,
67
- resetSelectionOnDoubleClick: Vt,
63
+ rtl: Ut,
64
+ annotations: Jt,
65
+ customHighlightAreaSettings: Mt,
66
+ regressionLine: nt,
67
+ resetSelectionOnDoubleClick: kt,
68
68
  detailsOnClick: M,
69
- noOfXTicks: zt,
70
- noOfYTicks: Ut,
71
- labelColor: Dt,
72
- xSuffix: Mt,
73
- ySuffix: kt,
74
- xPrefix: Nt,
75
- yPrefix: ot,
76
- styles: s,
77
- classNames: l,
69
+ noOfXTicks: Kt,
70
+ noOfYTicks: Qt,
71
+ labelColor: Nt,
72
+ xSuffix: Pt,
73
+ ySuffix: Tt,
74
+ xPrefix: Xt,
75
+ yPrefix: st,
76
+ styles: n,
77
+ classNames: s,
78
78
  animate: a,
79
79
  dimmedOpacity: k,
80
80
  precision: N,
81
81
  customLayers: P
82
- } = i, ue = Ze(null);
83
- let me;
84
- t[0] !== a.amount || t[1] !== a.once ? (me = {
82
+ } = i, pe = Ze(null);
83
+ let de;
84
+ t[0] !== a.amount || t[1] !== a.once ? (de = {
85
85
  once: a.once,
86
86
  amount: a.amount
87
- }, t[0] = a.amount, t[1] = a.once, t[2] = me) : me = t[2];
88
- const b = Mi(ue, me), [S, Pt] = Et(void 0), [R, Jt] = Et(void 0), [xe, nt] = Et(void 0), [d, m] = Et(void 0), we = h ? Pe + 50 : Pe, Le = E ? tt + 30 : tt;
89
- let pe;
90
- t[3] !== re || t[4] !== we || t[5] !== Le || t[6] !== Ae ? (pe = {
91
- top: Ae,
92
- bottom: we,
93
- left: Le,
94
- right: re
95
- }, t[3] = re, t[4] = we, t[5] = Le, t[6] = Ae, t[7] = pe) : pe = t[7];
96
- const p = pe;
97
- let G, st, lt, rt, at, ct, I, ft, ut, mt, q, xt, B, pt, z, dt, F, U;
98
- if (t[8] !== a || t[9] !== Bt || t[10] !== l?.graphObjectValues || t[11] !== l?.regLine || t[12] !== l?.xAxis?.axis || t[13] !== l?.xAxis?.gridLines || t[14] !== l?.xAxis?.labels || t[15] !== l?.xAxis?.title || t[16] !== l?.yAxis?.gridLines || t[17] !== l?.yAxis?.labels || t[18] !== l?.yAxis?.title || t[19] !== w || t[20] !== u || t[21] !== St || t[22] !== P || t[23] !== o || t[24] !== M || t[25] !== k || t[26] !== X || t[27] !== je || t[28] !== W || t[29] !== b || t[30] !== Dt || t[31] !== tt || t[32] !== p.bottom || t[33] !== p.left || t[34] !== p.right || t[35] !== p.top || t[36] !== ce || t[37] !== fe || t[38] !== Gt || t[39] !== L || t[40] !== O || t[41] !== R || t[42] !== S || t[43] !== zt || t[44] !== Ut || t[45] !== D || t[46] !== et || t[47] !== N || t[48] !== Y || t[49] !== Oe || t[50] !== Ce || t[51] !== it || t[52] !== Vt || t[53] !== qt || t[54] !== $t || t[55] !== Wt || t[56] !== s?.graphObjectValues || t[57] !== s?.regLine || t[58] !== s?.xAxis?.axis || t[59] !== s?.xAxis?.gridLines || t[60] !== s?.xAxis?.labels || t[61] !== s?.xAxis?.title || t[62] !== s?.yAxis?.gridLines || t[63] !== s?.yAxis?.labels || t[64] !== s?.yAxis?.title || t[65] !== _ || t[66] !== h || t[67] !== Nt || t[68] !== Mt || t[69] !== E || t[70] !== ot || t[71] !== kt) {
99
- const K = o.map(uo), A = _ - p.left - p.right, y = X - p.top - p.bottom, $ = o.filter(fo).length !== o.length ? Vi().domain([0, ce]).range([0.25, Y]).nice() : void 0, Kt = K.filter(co).length === 0 ? K : di(K.filter(ao), "radius", "desc"), c = si().domain([L, fe]).range([0, A]).nice(), x = si().domain([O, Gt]).range([y, 0]).nice(), At = c.ticks(zt), $e = x.ticks(Ut), Te = Di.from(Kt.filter(ro), (e) => c(e.x), (e) => x(e.y)).voronoi([0, 0, A < 0 ? 0 : A, y < 0 ? 0 : y]), Xe = gi(o.filter(lo).map((e) => [c(e.x), x(e.y)])), Se = hi(Xe);
100
- st = Fe.svg, ft = `${_}px`, ut = `${X}px`, mt = `0 0 ${_} ${X}`, q = "ltr", xt = ue, lt = `translate(${p.left},${p.top})`;
101
- let Xt;
102
- t[90] !== a || t[91] !== St || t[92] !== b || t[93] !== c || t[94] !== x ? (Xt = /* @__PURE__ */ n.jsx(Ai, { areaSettings: St, scaleX: c, scaleY: x, animate: a, isInView: b }, "custom-area"), t[90] = a, t[91] = St, t[92] = b, t[93] = c, t[94] = x, t[95] = Xt) : Xt = t[95], rt = /* @__PURE__ */ n.jsxs(li, { children: [
103
- /* @__PURE__ */ n.jsx($i, { areaSettings: je, width: A, height: y, scaleX: c, scaleY: x, animate: a, isInView: b }, "highlight-area"),
104
- Xt
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
105
105
  ] });
106
- const de = s?.yAxis?.gridLines, ge = s?.yAxis?.labels;
107
- let Yt;
108
- t[96] !== de || t[97] !== ge ? (Yt = {
109
- gridLines: de,
110
- labels: ge
111
- }, t[96] = de, t[97] = ge, t[98] = Yt) : Yt = t[98];
112
- const he = l?.yAxis?.gridLines, Qt = l?.yAxis?.labels;
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
113
  let r;
114
- t[99] !== he || t[100] !== Qt ? (r = {
115
- gridLines: he,
116
- labels: Qt
117
- }, t[99] = he, t[100] = Qt, t[101] = r) : r = t[101];
118
- const Zt = x(O < 0 ? 0 : O), Ye = x(O < 0 ? 0 : O), _t = A + p.right, Re = O < 0 ? 0 : O;
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
119
  let C;
120
- t[102] !== N || t[103] !== Re || t[104] !== ot || t[105] !== kt ? (C = ii(Re, "NA", N, ot, kt), t[102] = N, t[103] = Re, t[104] = ot, t[105] = kt, t[106] = C) : C = t[106];
121
- const Ie = x(O < 0 ? 0 : O);
122
- let H;
123
- t[107] !== Ie ? (H = {
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 = {
124
124
  x: 0,
125
- y: Ie,
125
+ y: He,
126
126
  dy: "0.33em",
127
127
  dx: -4
128
- }, t[107] = Ie, t[108] = H) : H = t[108];
129
- const f = l?.xAxis?.axis, T = l?.yAxis?.labels;
130
- let Ot;
131
- t[109] !== f || t[110] !== T ? (Ot = {
132
- axis: f,
133
- label: T
134
- }, t[109] = f, t[110] = T, t[111] = Ot) : Ot = t[111];
135
- const ye = s?.xAxis?.axis;
136
- let te;
137
- t[112] !== s?.yAxis?.labels ? (te = s?.yAxis?.labels || {}, t[112] = s?.yAxis?.labels, t[113] = te) : te = t[113];
128
+ }, t[107] = He, t[108] = W) : W = t[108];
129
+ const u = s?.xAxis?.axis, T = s?.yAxis?.labels;
138
130
  let Ct;
139
- t[114] !== te ? (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 = {
140
140
  textAnchor: "end",
141
- ...te
142
- }, t[114] = te, t[115] = Ct) : Ct = t[115];
143
- let Rt;
144
- t[116] !== ye || t[117] !== Ct ? (Rt = {
145
- axis: ye,
146
- label: Ct
147
- }, t[116] = ye, t[117] = Ct, t[118] = Rt) : Rt = t[118];
148
- let It;
149
- t[119] !== Zt || t[120] !== Ye || t[121] !== _t || t[122] !== C || t[123] !== H || t[124] !== Ot || t[125] !== Rt ? (It = /* @__PURE__ */ n.jsx(oi, { y1: Zt, y2: Ye, x1: 0, x2: _t, label: C, labelPos: H, classNames: Ot, styles: Rt }), t[119] = Zt, t[120] = Ye, t[121] = _t, t[122] = C, t[123] = H, t[124] = Ot, t[125] = Rt, t[126] = It) : It = t[126];
150
- const ee = 0 - tt - 15, ie = y / 2, oe = s?.yAxis?.title, ve = l?.yAxis?.title;
151
- let Ft;
152
- t[127] !== ee || t[128] !== ie || t[129] !== oe || t[130] !== ve || t[131] !== E ? (Ft = /* @__PURE__ */ n.jsx(ni, { x: ee, y: ie, style: oe, className: ve, text: E, rotate90: !0 }), t[127] = ee, t[128] = ie, t[129] = oe, t[130] = ve, t[131] = E, t[132] = Ft) : Ft = t[132], at = /* @__PURE__ */ n.jsxs("g", { children: [
153
- /* @__PURE__ */ n.jsx(Li, { values: $e.filter(so), y: $e.filter(no).map((e) => x(e)), x1: 0, x2: A + p.right, styles: Yt, classNames: r, suffix: kt, prefix: ot, labelType: "secondary", showGridLines: !0, labelPos: "side", precision: N }),
154
- It,
155
- Ft
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
156
156
  ] });
157
- const ne = s?.xAxis?.gridLines, be = s?.xAxis?.labels;
158
- let se;
159
- t[133] !== ne || t[134] !== be ? (se = {
160
- gridLines: ne,
161
- labels: be
162
- }, t[133] = ne, t[134] = be, t[135] = se) : se = t[135];
163
- const jt = l?.xAxis?.gridLines, wt = l?.xAxis?.labels;
164
- let Q;
165
- t[136] !== jt || t[137] !== wt ? (Q = {
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
166
  gridLines: jt,
167
- labels: wt
168
- }, t[136] = jt, t[137] = wt, t[138] = Q) : Q = t[138];
169
- const Lt = c(L < 0 ? 0 : L), le = c(L < 0 ? 0 : L), g = L < 0 ? 0 : L;
170
- let V;
171
- t[139] !== N || t[140] !== g || t[141] !== Nt || t[142] !== Mt ? (V = ii(g, "NA", N, Nt, Mt), t[139] = N, t[140] = g, t[141] = Nt, t[142] = Mt, t[143] = V) : V = t[143];
172
- const We = c(L < 0 ? 0 : L);
173
- let Ve;
174
- t[144] !== y || t[145] !== We ? (Ve = {
175
- x: We,
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;
170
+ 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
176
  y,
177
177
  dy: "1em",
178
178
  dx: 0
179
- }, t[144] = y, t[145] = We, t[146] = Ve) : Ve = t[146];
180
- const Ge = l?.xAxis?.axis, qe = l?.yAxis?.labels;
181
- let De;
182
- t[147] !== Ge || t[148] !== qe ? (De = {
183
- axis: Ge,
184
- label: qe
185
- }, t[147] = Ge, t[148] = qe, t[149] = De) : De = t[149];
186
- const Be = s?.xAxis?.axis;
187
- let Me;
188
- t[150] !== s?.yAxis?.labels ? (Me = s?.yAxis?.labels || {}, t[150] = s?.yAxis?.labels, t[151] = Me) : Me = t[151];
179
+ }, t[144] = y, t[145] = ce, t[146] = x) : x = t[146];
180
+ const tt = s?.xAxis?.axis, qe = s?.yAxis?.labels;
189
181
  let ke;
190
- t[152] !== Me ? (ke = {
191
- textAnchor: "middle",
192
- ...Me
193
- }, t[152] = Me, t[153] = ke) : ke = t[153];
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;
194
187
  let Ne;
195
- t[154] !== Be || t[155] !== ke ? (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 = {
191
+ 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
196
  axis: Be,
197
- label: ke
198
- }, t[154] = Be, t[155] = ke, t[156] = Ne) : Ne = t[156];
199
- let He;
200
- t[157] !== y || t[158] !== Lt || t[159] !== le || t[160] !== V || t[161] !== Ve || t[162] !== De || t[163] !== Ne ? (He = /* @__PURE__ */ n.jsx(oi, { x1: Lt, x2: le, y1: 0, y2: y, label: V, labelPos: Ve, classNames: De, styles: Ne }), t[157] = y, t[158] = Lt, t[159] = le, t[160] = V, t[161] = Ve, t[162] = De, t[163] = Ne, t[164] = He) : He = t[164];
201
- const ze = A / 2, Ue = y + 30, Je = s?.xAxis?.title, Ke = l?.xAxis?.title;
202
- let Ee;
203
- t[165] !== ze || t[166] !== Ue || t[167] !== Je || t[168] !== Ke || t[169] !== h ? (Ee = /* @__PURE__ */ n.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] = Ee) : Ee = t[170], ct = /* @__PURE__ */ n.jsxs("g", { children: [
204
- /* @__PURE__ */ n.jsx(Oi, { values: At.filter(oo), x: At.filter(io).map((e) => c(e)), y1: 0, y2: y, styles: se, classNames: Q, suffix: Mt, prefix: Nt, labelType: "primary", showGridLines: !0, precision: N }),
205
- He,
206
- Ee
207
- ] }), t[171] !== P ? (I = P.filter(eo).map(to), t[171] = P, t[172] = I) : I = t[172], G = li, B = Kt.filter(_i).map((e, Ht) => /* @__PURE__ */ n.jsx("path", { d: Te.renderCell(Kt.findIndex((j) => j.id === e.id)), opacity: 0, onMouseEnter: (j) => {
208
- Pt(e), m(j.clientY), nt(j.clientX), et?.(e);
209
- }, onMouseMove: (j) => {
210
- Pt(e), m(j.clientY), nt(j.clientX);
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);
209
+ }, onMouseMove: (w) => {
210
+ Yt(e), f(w.clientY), lt(w.clientX);
211
211
  }, onMouseLeave: () => {
212
- Pt(void 0), nt(void 0), m(void 0), et?.(void 0);
212
+ Yt(void 0), lt(void 0), f(void 0), ot?.(void 0);
213
213
  }, onClick: () => {
214
- (D || M) && (ei(R, e) && Vt ? (Jt(void 0), D?.(void 0)) : (Jt(e), D?.(e)));
215
- } }, `tesselation_${e.label || Ht}`)), pt = Kt.filter(Zi).map((e, Ht) => /* @__PURE__ */ n.jsxs(Fe.g, { variants: {
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: {
216
216
  initial: {
217
217
  x: c(e.x),
218
- y: x(e.y),
219
- opacity: $t ? e.color && u[w.indexOf(`${e.color}`)] === $t ? 1 : k : S ? S.id === e.id ? 1 : k : W.length !== 0 ? W.indexOf(e.label || "") !== -1 ? 1 : k : 1
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
220
220
  },
221
221
  whileInView: {
222
222
  x: c(e.x),
223
- y: x(e.y),
224
- opacity: $t ? e.color && u[w.indexOf(`${e.color}`)] === $t ? 1 : k : S ? S.id === e.id ? 1 : k : W.length !== 0 ? W.indexOf(e.label || "") !== -1 ? 1 : k : 1,
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,
225
225
  transition: {
226
226
  duration: a.duration
227
227
  }
@@ -231,16 +231,16 @@ function Hi(i) {
231
231
  transition: {
232
232
  duration: a.duration
233
233
  }
234
- }, onMouseEnter: (j) => {
235
- Pt(e), m(j.clientY), nt(j.clientX), et?.(e);
236
- }, onMouseMove: (j) => {
237
- Pt(e), m(j.clientY), nt(j.clientX);
234
+ }, onMouseEnter: (w) => {
235
+ Yt(e), f(w.clientY), lt(w.clientX), ot?.(e);
236
+ }, onMouseMove: (w) => {
237
+ Yt(e), f(w.clientY), lt(w.clientX);
238
238
  }, onMouseLeave: () => {
239
- Pt(void 0), nt(void 0), m(void 0), et?.(void 0);
239
+ Yt(void 0), lt(void 0), f(void 0), ot?.(void 0);
240
240
  }, onClick: () => {
241
- (D || M) && (ei(R, e) && Vt ? (Jt(void 0), D?.(void 0)) : (Jt(e), D?.(e)));
241
+ (D || M) && (ei(I, e) && kt ? (Zt(void 0), D?.(void 0)) : (Zt(e), D?.(e)));
242
242
  }, children: [
243
- /* @__PURE__ */ n.jsx(Fe.circle, { cx: 0, cy: 0, exit: {
243
+ /* @__PURE__ */ l.jsx(Ee.circle, { cx: 0, cy: 0, exit: {
244
244
  r: 0,
245
245
  transition: {
246
246
  duration: a.duration
@@ -248,13 +248,13 @@ function Hi(i) {
248
248
  }, variants: {
249
249
  initial: {
250
250
  r: 0,
251
- fill: o.filter(Qi).length === 0 ? u[0] : e.color ? u[w.indexOf(`${e.color}`)] : Z.gray,
252
- stroke: o.filter(Ki).length === 0 ? u[0] : e.color ? u[w.indexOf(`${e.color}`)] : Z.gray
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
253
253
  },
254
254
  whileInView: {
255
255
  r: $ ? $(e.radius || 0) : Y,
256
- fill: o.filter(Ji).length === 0 ? u[0] : e.color ? u[w.indexOf(`${e.color}`)] : Z.gray,
257
- stroke: o.filter(Ui).length === 0 ? u[0] : e.color ? u[w.indexOf(`${e.color}`)] : Z.gray,
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,
258
258
  transition: {
259
259
  duration: a.duration
260
260
  }
@@ -262,9 +262,9 @@ function Hi(i) {
262
262
  }, initial: "initial", animate: b ? "whileInView" : "initial", style: {
263
263
  fillOpacity: 0.6
264
264
  } }),
265
- Wt && !v(e.label) ? /* @__PURE__ */ n.jsx(Fe.text, { style: {
266
- ...s?.graphObjectValues || {}
267
- }, className: _e("graph-value text-sm", l?.graphObjectValues), y: 0, exit: {
265
+ Bt && !v(e.label) ? /* @__PURE__ */ l.jsx(Ee.text, { style: {
266
+ ...n?.graphObjectValues || {}
267
+ }, className: _e("graph-value text-sm", s?.graphObjectValues), y: 0, exit: {
268
268
  opacity: 0,
269
269
  transition: {
270
270
  duration: a.duration
@@ -273,19 +273,19 @@ function Hi(i) {
273
273
  initial: {
274
274
  x: $ ? $(e.radius || 0) : Y,
275
275
  opacity: 0,
276
- fill: Dt || (o.filter(zi).length === 0 ? u[0] : e.color ? u[w.indexOf(`${e.color}`)] : Z.gray)
276
+ fill: Nt || (o.filter(zi).length === 0 ? m[0] : e.color ? m[j.indexOf(`${e.color}`)] : et.gray)
277
277
  },
278
278
  whileInView: {
279
279
  x: $ ? $(e.radius || 0) : Y,
280
280
  opacity: 1,
281
- fill: Dt || (o.filter(Bi).length === 0 ? u[0] : e.color ? u[w.indexOf(`${e.color}`)] : Z.gray),
281
+ fill: Nt || (o.filter(Bi).length === 0 ? m[0] : e.color ? m[j.indexOf(`${e.color}`)] : et.gray),
282
282
  transition: {
283
283
  duration: a.duration
284
284
  }
285
285
  }
286
- }, initial: "initial", animate: b ? "whileInView" : "initial", dy: "0.33em", dx: 3, children: e.label }) : W.length !== 0 && !v(e.label) && W.indexOf(e.label) !== -1 ? /* @__PURE__ */ n.jsx(Fe.text, { style: {
287
- ...s?.graphObjectValues || {}
288
- }, className: _e("graph-value text-sm", l?.graphObjectValues), y: 0, exit: {
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
+ ...n?.graphObjectValues || {}
288
+ }, className: _e("graph-value text-sm", s?.graphObjectValues), y: 0, exit: {
289
289
  opacity: 0,
290
290
  transition: {
291
291
  duration: a.duration
@@ -294,79 +294,79 @@ function Hi(i) {
294
294
  initial: {
295
295
  x: $ ? $(e.radius || 0) : Y,
296
296
  opacity: 0,
297
- fill: Dt || (o.filter(qi).length === 0 ? u[0] : e.color ? u[w.indexOf(`${e.color}`)] : Z.gray)
297
+ fill: Nt || (o.filter(qi).length === 0 ? m[0] : e.color ? m[j.indexOf(`${e.color}`)] : et.gray)
298
298
  },
299
299
  whileInView: {
300
300
  x: $ ? $(e.radius || 0) : Y,
301
301
  opacity: 1,
302
- fill: Dt || (o.filter(Gi).length === 0 ? u[0] : e.color ? u[w.indexOf(`${e.color}`)] : Z.gray),
302
+ fill: Nt || (o.filter(Gi).length === 0 ? m[0] : e.color ? m[j.indexOf(`${e.color}`)] : et.gray),
303
303
  transition: {
304
304
  duration: a.duration
305
305
  }
306
306
  }
307
307
  }, initial: "initial", animate: b ? "whileInView" : "initial", dy: "0.33em", dx: 3, children: e.label }) : null
308
- ] }, `${e.label || Ht}`)), z = Oe.map((e, Ht) => /* @__PURE__ */ n.jsx(Ci, { text: e.text, color: e.color, x: c(e.value), y1: 0, y2: y, textSide: c(e.value) > A * 0.75 || qt ? "left" : "right", classNames: e.classNames, styles: e.styles, animate: a, isInView: b }, Ht)), dt = Ce.map((e, Ht) => /* @__PURE__ */ n.jsx(ji, { text: e.text, color: e.color, y: x(e.value), x1: 0, x2: A, classNames: e.classNames, styles: e.styles, animate: a, isInView: b }, Ht));
309
- const Qe = Bt.map((e, Ht) => {
310
- const j = vi({
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
311
  x: e.xCoordinate ? c(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
312
- y: e.yCoordinate ? x(e.yCoordinate) + (e.yOffset || 0) - 8 : 0 + (e.yOffset || 0) - 8
312
+ y: e.yCoordinate ? p(e.yCoordinate) + (e.yOffset || 0) - 8 : 0 + (e.yOffset || 0) - 8
313
313
  }, {
314
314
  x: e.xCoordinate ? c(e.xCoordinate) : 0,
315
- y: e.yCoordinate ? x(e.yCoordinate) : 0
315
+ y: e.yCoordinate ? p(e.yCoordinate) : 0
316
316
  }, v(e.connectorRadius) ? 3.5 : e.connectorRadius), ci = e.showConnector ? {
317
- y1: j.y,
318
- x1: j.x,
319
- y2: e.yCoordinate ? x(e.yCoordinate) + (e.yOffset || 0) : 0 + (e.yOffset || 0),
317
+ y1: w.y,
318
+ x1: w.x,
319
+ y2: e.yCoordinate ? p(e.yCoordinate) + (e.yOffset || 0) : 0 + (e.yOffset || 0),
320
320
  x2: e.xCoordinate ? c(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
321
- cy: e.yCoordinate ? x(e.yCoordinate) : 0,
321
+ cy: e.yCoordinate ? p(e.yCoordinate) : 0,
322
322
  cx: e.xCoordinate ? c(e.xCoordinate) : 0,
323
323
  circleRadius: v(e.connectorRadius) ? 3.5 : e.connectorRadius,
324
324
  strokeWidth: e.showConnector === !0 ? 2 : Math.min(e.showConnector || 0, 1)
325
325
  } : void 0, fi = {
326
- y: e.yCoordinate ? x(e.yCoordinate) + (e.yOffset || 0) - 8 : 0 + (e.yOffset || 0) - 8,
327
- x: qt ? 0 : e.xCoordinate ? c(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
328
- width: qt ? e.xCoordinate ? c(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0) : A + p.right - (e.xCoordinate ? c(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0)),
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)),
329
329
  maxWidth: e.maxWidth,
330
330
  fontWeight: e.fontWeight,
331
331
  align: e.align
332
332
  };
333
- return /* @__PURE__ */ n.jsx(bi, { color: e.color, connectorsSettings: ci, labelSettings: fi, text: e.text, classNames: e.classNames, styles: e.styles, animate: a, isInView: b }, Ht);
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
334
  });
335
- t[173] !== Qe ? (F = /* @__PURE__ */ n.jsx("g", { children: Qe }), t[173] = Qe, t[174] = F) : F = t[174], U = it ? /* @__PURE__ */ n.jsx(wi, { x1: 0, x2: A, y1: Se(0), y2: Se(A), graphHeight: y, graphWidth: A, className: l?.regLine, style: s?.regLine, color: typeof it == "string" ? it : void 0, animate: a, isInView: b }) : null, t[8] = a, t[9] = Bt, t[10] = l?.graphObjectValues, t[11] = l?.regLine, t[12] = l?.xAxis?.axis, t[13] = l?.xAxis?.gridLines, t[14] = l?.xAxis?.labels, t[15] = l?.xAxis?.title, t[16] = l?.yAxis?.gridLines, t[17] = l?.yAxis?.labels, t[18] = l?.yAxis?.title, t[19] = w, t[20] = u, t[21] = St, t[22] = P, t[23] = o, t[24] = M, t[25] = k, t[26] = X, t[27] = je, t[28] = W, t[29] = b, t[30] = Dt, t[31] = tt, t[32] = p.bottom, t[33] = p.left, t[34] = p.right, t[35] = p.top, t[36] = ce, t[37] = fe, t[38] = Gt, t[39] = L, t[40] = O, t[41] = R, t[42] = S, t[43] = zt, t[44] = Ut, t[45] = D, t[46] = et, t[47] = N, t[48] = Y, t[49] = Oe, t[50] = Ce, t[51] = it, t[52] = Vt, t[53] = qt, t[54] = $t, t[55] = Wt, t[56] = s?.graphObjectValues, t[57] = s?.regLine, t[58] = s?.xAxis?.axis, t[59] = s?.xAxis?.gridLines, t[60] = s?.xAxis?.labels, t[61] = s?.xAxis?.title, t[62] = s?.yAxis?.gridLines, t[63] = s?.yAxis?.labels, t[64] = s?.yAxis?.title, t[65] = _, t[66] = h, t[67] = Nt, t[68] = Mt, t[69] = E, t[70] = ot, t[71] = kt, t[72] = G, t[73] = st, t[74] = lt, t[75] = rt, t[76] = at, t[77] = ct, t[78] = I, t[79] = ft, t[80] = ut, t[81] = mt, t[82] = q, t[83] = xt, t[84] = B, t[85] = pt, t[86] = z, t[87] = dt, t[88] = F, t[89] = U;
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
336
  } else
337
- G = t[72], st = t[73], lt = t[74], rt = t[75], at = t[76], ct = t[77], I = t[78], ft = t[79], ut = t[80], mt = t[81], q = t[82], xt = t[83], B = t[84], pt = t[85], z = t[86], dt = t[87], F = t[88], U = t[89];
338
- let gt;
339
- t[175] !== G || t[176] !== B || t[177] !== pt || t[178] !== z || t[179] !== dt || t[180] !== F || t[181] !== U ? (gt = /* @__PURE__ */ n.jsxs(G, { children: [
340
- B,
341
- pt,
342
- z,
343
- dt,
344
- F,
345
- U
346
- ] }), t[175] = G, t[176] = B, t[177] = pt, t[178] = z, t[179] = dt, t[180] = F, t[181] = U, t[182] = gt) : gt = t[182];
347
- let ht;
348
- t[183] !== P ? (ht = P.filter(Wi).map(Ei), t[183] = P, t[184] = ht) : ht = t[184];
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];
349
338
  let yt;
350
- t[185] !== lt || t[186] !== rt || t[187] !== at || t[188] !== ct || t[189] !== I || t[190] !== gt || t[191] !== ht ? (yt = /* @__PURE__ */ n.jsxs("g", { transform: lt, children: [
351
- rt,
352
- at,
353
- ct,
354
- I,
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: [
340
+ U,
355
341
  gt,
356
- ht
357
- ] }), t[185] = lt, t[186] = rt, t[187] = at, t[188] = ct, t[189] = I, t[190] = gt, t[191] = ht, t[192] = yt) : yt = t[192];
342
+ J,
343
+ ht,
344
+ H,
345
+ 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];
358
347
  let vt;
359
- t[193] !== st || t[194] !== ft || t[195] !== ut || t[196] !== mt || t[197] !== q || t[198] !== xt || t[199] !== yt ? (vt = /* @__PURE__ */ n.jsx(st, { width: ft, height: ut, viewBox: mt, direction: q, ref: xt, children: yt }), t[193] = st, t[194] = ft, t[195] = ut, t[196] = mt, t[197] = q, t[198] = xt, t[199] = yt, t[200] = vt) : vt = t[200];
348
+ t[183] !== P ? (vt = P.filter(Wi).map(Ei), t[183] = P, t[184] = vt) : vt = t[184];
360
349
  let bt;
361
- t[201] !== l?.tooltip || t[202] !== xe || t[203] !== d || t[204] !== S || t[205] !== s?.tooltip || t[206] !== ae ? (bt = S && ae && xe && d ? /* @__PURE__ */ n.jsx(yi, { data: S, body: ae, xPos: xe, yPos: d, backgroundStyle: s?.tooltip, className: l?.tooltip }) : null, t[201] = l?.tooltip, t[202] = xe, t[203] = d, t[204] = S, t[205] = s?.tooltip, t[206] = ae, t[207] = bt) : bt = t[207];
362
- let J;
363
- t[208] !== l?.modal || t[209] !== M || t[210] !== R ? (J = M && R !== void 0 ? /* @__PURE__ */ n.jsx(Si, { body: M, data: R, setData: Jt, className: l?.modal }) : null, t[208] = l?.modal, t[209] = M, t[210] = R, t[211] = J) : J = t[211];
364
- let Tt;
365
- return t[212] !== vt || t[213] !== bt || t[214] !== J ? (Tt = /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
366
- vt,
367
- bt,
368
- J
369
- ] }), t[212] = vt, t[213] = bt, t[214] = J, t[215] = Tt) : Tt = t[215], Tt;
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,
355
+ 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
370
  }
371
371
  function Ei(i) {
372
372
  return i.layer;
@@ -444,169 +444,176 @@ function uo(i, t) {
444
444
  };
445
445
  }
446
446
  function Cn(i) {
447
- const t = ai.c(130), {
447
+ const t = ai.c(142), {
448
448
  data: o,
449
- graphTitle: _,
450
- colors: X,
451
- sources: Wt,
452
- graphDescription: u,
453
- showLabels: w,
449
+ graphTitle: it,
450
+ colors: S,
451
+ sources: Bt,
452
+ graphDescription: m,
453
+ showLabels: j,
454
454
  height: Y,
455
455
  width: h,
456
- footNote: E,
457
- colorDomain: tt,
458
- colorLegendTitle: re,
459
- radius: Ae,
460
- xAxisTitle: Pe,
461
- yAxisTitle: ae,
462
- padding: et,
463
- backgroundColor: Oe,
464
- leftMargin: Ce,
465
- rightMargin: je,
466
- topMargin: $t,
467
- bottomMargin: W,
468
- tooltip: ce,
469
- relativeHeight: fe,
456
+ footNote: G,
457
+ 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,
466
+ topMargin: Dt,
467
+ bottomMargin: q,
468
+ tooltip: me,
469
+ relativeHeight: xe,
470
470
  onSeriesMouseOver: L,
471
- refXValues: Gt,
471
+ refXValues: zt,
472
472
  refYValues: O,
473
473
  highlightAreaSettings: D,
474
- showColorScale: qt,
475
- highlightedDataPoints: Bt,
476
- graphID: St,
477
- maxRadiusValue: it,
478
- maxXValue: Vt,
474
+ showColorScale: Ut,
475
+ highlightedDataPoints: Jt,
476
+ graphID: Mt,
477
+ maxRadiusValue: nt,
478
+ maxXValue: kt,
479
479
  minXValue: M,
480
- maxYValue: zt,
481
- minYValue: Ut,
482
- xSuffix: Dt,
483
- ySuffix: Mt,
484
- xPrefix: kt,
485
- yPrefix: Nt,
486
- onSeriesMouseClick: ot,
487
- graphDownload: s,
488
- dataDownload: l,
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
489
  language: a,
490
490
  showNAColor: k,
491
491
  minHeight: N,
492
492
  annotations: P,
493
- customHighlightAreaSettings: ue,
494
- theme: me,
493
+ customHighlightAreaSettings: pe,
494
+ theme: de,
495
495
  regressionLine: b,
496
- ariaLabel: S,
497
- resetSelectionOnDoubleClick: Pt,
498
- detailsOnClick: R,
499
- noOfXTicks: Jt,
500
- noOfYTicks: xe,
501
- labelColor: nt,
502
- styles: d,
503
- classNames: m,
504
- animate: we,
505
- dimmedOpacity: Le,
506
- precision: pe,
507
- customLayers: p,
508
- timeline: G
509
- } = i, st = w === void 0 ? !1 : w, lt = Ae === void 0 ? 5 : Ae, rt = Pe === void 0 ? "X Axis" : Pe, at = ae === void 0 ? "Y Axis" : ae, ct = Oe === void 0 ? !1 : Oe, I = Ce === void 0 ? 0 : Ce, ft = je === void 0 ? 10 : je, ut = $t === void 0 ? 20 : $t, mt = W === void 0 ? 50 : W;
510
- let q;
511
- t[0] !== Gt ? (q = Gt === void 0 ? [] : Gt, t[0] = Gt, t[1] = q) : q = t[1];
512
- const xt = q;
513
- let B;
514
- t[2] !== O ? (B = O === void 0 ? [] : O, t[2] = O, t[3] = B) : B = t[3];
515
- const pt = B;
496
+ ariaLabel: V,
497
+ resetSelectionOnDoubleClick: Yt,
498
+ 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,
507
+ customLayers: d,
508
+ 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;
516
510
  let z;
517
- t[4] !== D ? (z = D === void 0 ? [] : D, t[4] = D, t[5] = z) : z = t[5];
518
- const dt = z, F = qt === void 0 ? !0 : qt;
511
+ t[0] !== zt ? (z = zt === void 0 ? [] : zt, t[0] = zt, t[1] = z) : z = t[1];
512
+ const dt = z;
519
513
  let U;
520
- t[6] !== Bt ? (U = Bt === void 0 ? [] : Bt, t[6] = Bt, t[7] = U) : U = t[7];
521
- const gt = U, ht = Dt === void 0 ? "" : Dt, yt = Mt === void 0 ? "" : Mt, vt = kt === void 0 ? "" : kt, bt = Nt === void 0 ? "" : Nt, J = s === void 0 ? !1 : s, Tt = l === void 0 ? !1 : l, K = a === void 0 ? "en" : a, A = k === void 0 ? !0 : k, y = N === void 0 ? 0 : N;
514
+ t[2] !== O ? (U = O === void 0 ? [] : O, t[2] = O, t[3] = U) : U = t[3];
515
+ const gt = U;
516
+ 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
+ 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
522
  let $;
523
523
  t[8] !== P ? ($ = P === void 0 ? [] : P, t[8] = P, t[9] = $) : $ = t[9];
524
- const Kt = $;
524
+ const _t = $;
525
525
  let c;
526
- t[10] !== ue ? (c = ue === void 0 ? [] : ue, t[10] = ue, t[11] = c) : c = t[11];
527
- const x = c, At = me === void 0 ? "light" : me, $e = b === void 0 ? !1 : b, Te = Pt === void 0 ? !0 : Pt, Xe = Jt === void 0 ? 5 : Jt, Se = xe === void 0 ? 5 : xe, Xt = we === void 0 ? !1 : we, de = Le === void 0 ? 0.3 : Le, ge = pe === void 0 ? 2 : pe;
528
- let Yt;
529
- t[12] !== p ? (Yt = p === void 0 ? [] : p, t[12] = p, t[13] = Yt) : Yt = t[13];
530
- const he = Yt;
531
- let Qt;
532
- t[14] !== G ? (Qt = G === void 0 ? {
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;
531
+ let te;
532
+ t[14] !== B ? (te = B === void 0 ? {
533
533
  enabled: !1,
534
534
  autoplay: !1,
535
535
  showOnlyActiveDate: !0
536
- } : G, t[14] = G, t[15] = Qt) : Qt = t[15];
537
- const r = Qt, [Zt, Ye] = Et(0), [_t, Re] = Et(0), [C, Ie] = Et(r.autoplay);
538
- let H;
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;
539
539
  if (t[16] !== o || t[17] !== r.dateFormat) {
540
- let g;
541
- t[19] !== r.dateFormat ? (g = (V) => mi(`${V.date}`, r.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), t[19] = r.dateFormat, t[20] = g) : g = t[20], H = [...new Set(o.filter(Ho).map(g))], H.sort(Fo), t[16] = o, t[17] = r.dateFormat, t[18] = H;
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
542
  } else
543
- H = t[18];
544
- const f = H, [T, Ot] = Et(r.autoplay ? 0 : f.length - 1), [ye, te] = Et(void 0), Ct = Ze(null), Rt = Ze(null);
545
- let It, ee;
546
- t[21] === Symbol.for("react.memo_cache_sentinel") ? (It = () => {
547
- const g = new ResizeObserver((V) => {
548
- Ye(V[0].target.clientWidth || 620), Re(V[0].target.clientHeight || 480);
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] === 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);
549
549
  });
550
- return Ct.current && g.observe(Ct.current), () => g.disconnect();
551
- }, ee = [], t[21] = It, t[22] = ee) : (It = t[21], ee = t[22]), ti(It, ee);
552
- let ie, oe;
553
- t[23] !== C || t[24] !== r.speed || t[25] !== f ? (ie = () => {
554
- const g = setInterval(() => {
555
- Ot((V) => V < f.length - 1 ? V + 1 : 0);
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);
556
556
  }, (r.speed || 2) * 1e3);
557
- return C || clearInterval(g), () => clearInterval(g);
558
- }, oe = [f, C, r.speed], t[23] = C, t[24] = r.speed, t[25] = f, t[26] = ie, t[27] = oe) : (ie = t[26], oe = t[27]), ti(ie, oe);
559
- const ve = r.dateFormat || "yyyy";
560
- let Ft;
561
- t[28] !== T || t[29] !== ve || t[30] !== r.showOnlyActiveDate || t[31] !== f ? (Ft = xi(f, T, r.showOnlyActiveDate, ve), t[28] = T, t[29] = ve, t[30] = r.showOnlyActiveDate, t[31] = f, t[32] = Ft) : Ft = t[32];
562
- const ne = Ft, be = m?.graphContainer, se = d?.graphContainer;
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
563
  let jt;
564
- t[33] !== m?.description || t[34] !== m?.title || t[35] !== o || t[36] !== Tt || t[37] !== u || t[38] !== J || t[39] !== _ || t[40] !== d?.description || t[41] !== d?.title || t[42] !== h ? (jt = _ || u || J || Tt ? /* @__PURE__ */ n.jsx(Ni, { styles: {
565
- title: d?.title,
566
- description: d?.description
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
567
567
  }, classNames: {
568
- title: m?.title,
569
- description: m?.description
570
- }, graphTitle: _, graphDescription: u, width: h, graphDownload: J ? Rt : void 0, dataDownload: Tt ? o.map(Io).filter(Ro).length > 0 ? o.map(Yo).filter(Xo) : o.filter(To) : null }) : null, t[33] = m?.description, t[34] = m?.title, t[35] = o, t[36] = Tt, t[37] = u, t[38] = J, t[39] = _, t[40] = d?.description, t[41] = d?.title, t[42] = h, t[43] = jt) : jt = t[43];
571
- let wt;
572
- t[44] !== T || t[45] !== ne || t[46] !== C || t[47] !== r.enabled || t[48] !== f ? (wt = r.enabled && f.length > 0 && ne ? /* @__PURE__ */ n.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
573
- /* @__PURE__ */ n.jsx("button", { type: "button", onClick: () => {
574
- Ie(!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__ */ n.jsx(Xi, {}) : /* @__PURE__ */ n.jsx(Yi, {}) }),
576
- /* @__PURE__ */ n.jsx(pi, { min: f[0], max: f[f.length - 1], marks: ne, step: null, defaultValue: f[f.length - 1], value: f[T], onChangeComplete: (g) => {
577
- Ot(f.indexOf(g));
578
- }, onChange: (g) => {
579
- Ot(f.indexOf(g));
580
- }, "aria-label": "Time slider. Use arrow keys to adjust selected time period." })
581
- ] }) : null, t[44] = T, t[45] = ne, t[46] = C, t[47] = r.enabled, t[48] = f, t[49] = wt) : wt = t[49];
582
- let Q;
583
- t[50] !== Xt || t[51] !== Kt || t[52] !== mt || t[53] !== m || t[54] !== tt || t[55] !== re || t[56] !== X || t[57] !== x || t[58] !== he || t[59] !== o || t[60] !== R || t[61] !== de || t[62] !== dt || t[63] !== gt || t[64] !== T || t[65] !== nt || t[66] !== K || t[67] !== I || t[68] !== it || t[69] !== Vt || t[70] !== zt || t[71] !== M || t[72] !== Ut || t[73] !== Xe || t[74] !== Se || t[75] !== ot || t[76] !== L || t[77] !== ge || t[78] !== lt || t[79] !== xt || t[80] !== pt || t[81] !== $e || t[82] !== Te || t[83] !== ft || t[84] !== ye || t[85] !== F || t[86] !== st || t[87] !== A || t[88] !== d || t[89] !== _t || t[90] !== Zt || t[91] !== At || t[92] !== r.dateFormat || t[93] !== r.enabled || t[94] !== ce || t[95] !== ut || t[96] !== f || t[97] !== h || t[98] !== rt || t[99] !== vt || t[100] !== ht || t[101] !== at || t[102] !== bt || t[103] !== yt ? (Q = o.length === 0 ? /* @__PURE__ */ n.jsx(Ti, {}) : /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
584
- F && o.filter(Po).length !== 0 ? /* @__PURE__ */ n.jsx(Pi, { width: h, colorLegendTitle: re, colors: X || Z[At].categoricalColors.colors, colorDomain: tt || ri(o, "color", !0), setSelectedColor: te, showNAColor: A, className: m?.colorLegend }) : null,
585
- /* @__PURE__ */ n.jsx(Ii, { ref: Ct, children: Zt && _t ? /* @__PURE__ */ n.jsx(Hi, { data: Ri(o, r.dateFormat || "yyyy").filter((g) => r.enabled ? g.date === ui(new Date(f[T]), r.dateFormat || "yyyy") : g), width: Zt, height: _t, colorDomain: o.filter(No).length === 0 ? [] : tt || ri(o, "color", !0), colors: o.filter(ko).length === 0 ? X ? [X] : [Z.primaryColors["blue-600"]] : X || Z[At].categoricalColors.colors, xAxisTitle: rt, yAxisTitle: at, refXValues: xt, refYValues: pt, showLabels: st, radius: lt, leftMargin: I, rightMargin: ft, topMargin: ut, bottomMargin: mt, tooltip: ce, onSeriesMouseOver: L, highlightAreaSettings: dt, highlightedDataPoints: o.filter(Mo).length === 0 ? [] : gt, selectedColor: ye, maxRadiusValue: v(it) ? Math.max(...o.map(Do).filter(Vo)) : it, maxXValue: v(Vt) ? Math.max(...o.map(So).filter($o)) > 0 ? Math.max(...o.map(Lo).filter(wo)) : 0 : Vt, minXValue: v(M) ? Math.min(...o.map(jo).filter(Co)) > 0 ? 0 : Math.min(...o.map(Oo).filter(Ao)) : M, maxYValue: v(zt) ? Math.max(...o.map(bo).filter(vo)) > 0 ? Math.max(...o.map(yo).filter(ho)) : 0 : zt, minYValue: v(Ut) ? Math.min(...o.map(go).filter(po)) > 0 ? 0 : Math.min(...o.map(xo).filter(mo)) : Ut, onSeriesMouseClick: ot, rtl: K === "he" || K === "ar", annotations: Kt, customHighlightAreaSettings: x, regressionLine: $e, resetSelectionOnDoubleClick: Te, detailsOnClick: R, noOfXTicks: Xe, noOfYTicks: Se, labelColor: nt, xSuffix: ht, ySuffix: yt, xPrefix: vt, yPrefix: bt, styles: d, classNames: m, animate: Xt === !0 ? {
586
- duration: 0.5,
587
- once: !0,
588
- amount: 0.5
589
- } : Xt || {
590
- duration: 0,
591
- once: !0,
592
- amount: 0
593
- }, dimmedOpacity: de, precision: ge, customLayers: he }) : null })
594
- ] }), t[50] = Xt, t[51] = Kt, t[52] = mt, t[53] = m, t[54] = tt, t[55] = re, t[56] = X, t[57] = x, t[58] = he, t[59] = o, t[60] = R, t[61] = de, t[62] = dt, t[63] = gt, t[64] = T, t[65] = nt, t[66] = K, t[67] = I, t[68] = it, t[69] = Vt, t[70] = zt, t[71] = M, t[72] = Ut, t[73] = Xe, t[74] = Se, t[75] = ot, t[76] = L, t[77] = ge, t[78] = lt, t[79] = xt, t[80] = pt, t[81] = $e, t[82] = Te, t[83] = ft, t[84] = ye, t[85] = F, t[86] = st, t[87] = A, t[88] = d, t[89] = _t, t[90] = Zt, t[91] = At, t[92] = r.dateFormat, t[93] = r.enabled, t[94] = ce, t[95] = ut, t[96] = f, t[97] = h, t[98] = rt, t[99] = vt, t[100] = ht, t[101] = at, t[102] = bt, t[103] = yt, t[104] = Q) : Q = t[104];
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];
595
571
  let Lt;
596
- t[105] !== m?.footnote || t[106] !== m?.source || t[107] !== E || t[108] !== Wt || t[109] !== d?.footnote || t[110] !== d?.source || t[111] !== h ? (Lt = Wt || E ? /* @__PURE__ */ n.jsx(ki, { styles: {
597
- footnote: d?.footnote,
598
- source: d?.source
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: [
573
+ /* @__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));
580
+ }, "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 ? {
588
+ duration: 0.5,
589
+ once: !0,
590
+ amount: 0.5
591
+ } : It || {
592
+ duration: 0,
593
+ once: !0,
594
+ 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];
601
+ 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
599
605
  }, classNames: {
600
- footnote: m?.footnote,
601
- source: m?.source
602
- }, sources: Wt, footNote: E, width: h }) : null, t[105] = m?.footnote, t[106] = m?.source, t[107] = E, t[108] = Wt, t[109] = d?.footnote, t[110] = d?.source, t[111] = h, t[112] = Lt) : Lt = t[112];
603
- let le;
604
- return t[113] !== S || t[114] !== ct || t[115] !== St || t[116] !== Y || t[117] !== K || t[118] !== y || t[119] !== et || t[120] !== fe || t[121] !== be || t[122] !== se || t[123] !== jt || t[124] !== wt || t[125] !== Q || t[126] !== Lt || t[127] !== At || t[128] !== h ? (le = /* @__PURE__ */ n.jsxs(Fi, { className: be, style: se, id: St, ref: Rt, "aria-label": S, backgroundColor: ct, theme: At, language: K, minHeight: y, width: h, height: Y, relativeHeight: fe, padding: et, children: [
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: [
605
611
  jt,
606
- wt,
607
- Q,
608
- Lt
609
- ] }), t[113] = S, t[114] = ct, t[115] = St, t[116] = Y, t[117] = K, t[118] = y, t[119] = et, t[120] = fe, t[121] = be, t[122] = se, t[123] = jt, t[124] = wt, t[125] = Q, t[126] = Lt, t[127] = At, t[128] = h, t[129] = le) : le = t[129], le;
612
+ 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;
610
617
  }
611
618
  function mo(i) {
612
619
  return i != null;
@@ -641,10 +648,10 @@ function Oo(i) {
641
648
  function Co(i) {
642
649
  return i != null;
643
650
  }
644
- function jo(i) {
651
+ function wo(i) {
645
652
  return i.x;
646
653
  }
647
- function wo(i) {
654
+ function jo(i) {
648
655
  return i != null;
649
656
  }
650
657
  function Lo(i) {