@undp/data-viz 2.1.2 → 2.1.3

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 (90) hide show
  1. package/dist/AreaChart.cjs +1 -1
  2. package/dist/AreaChart.js +2 -2
  3. package/dist/BarGraph.cjs +1 -1
  4. package/dist/BarGraph.js +1 -1
  5. package/dist/BulletChart.cjs +1 -1
  6. package/dist/BulletChart.cjs.map +1 -1
  7. package/dist/BulletChart.js +223 -223
  8. package/dist/BulletChart.js.map +1 -1
  9. package/dist/ButterflyChart.cjs +1 -1
  10. package/dist/ButterflyChart.js +1 -1
  11. package/dist/DifferenceLineChart.cjs +1 -1
  12. package/dist/DifferenceLineChart.js +2 -2
  13. package/dist/DonutChart.cjs +1 -1
  14. package/dist/DonutChart.cjs.map +1 -1
  15. package/dist/DonutChart.d.ts +10 -0
  16. package/dist/DonutChart.js +230 -264
  17. package/dist/DonutChart.js.map +1 -1
  18. package/dist/DualAxisLineChart.cjs +1 -1
  19. package/dist/DualAxisLineChart.js +1 -1
  20. package/dist/DumbbellChart.cjs +1 -1
  21. package/dist/DumbbellChart.js +1 -1
  22. package/dist/{GraphEl-YKUlz-37.cjs → GraphEl-BLMih7RN.cjs} +2 -2
  23. package/dist/GraphEl-BLMih7RN.cjs.map +1 -0
  24. package/dist/{GraphEl-sVZvlyWe.js → GraphEl-CRrAlbcr.js} +4 -2
  25. package/dist/GraphEl-CRrAlbcr.js.map +1 -0
  26. package/dist/GriddedGraphs.cjs +1 -1
  27. package/dist/GriddedGraphs.d.ts +1 -0
  28. package/dist/GriddedGraphs.js +1 -1
  29. package/dist/GriddedGraphsFromConfig.d.ts +1 -0
  30. package/dist/LineChartWithConfidenceInterval.cjs +1 -1
  31. package/dist/LineChartWithConfidenceInterval.js +2 -2
  32. package/dist/MultiGraphDashboard.d.ts +1 -0
  33. package/dist/MultiGraphDashboardFromConfig.d.ts +1 -0
  34. package/dist/MultiLineAltChart.cjs +1 -1
  35. package/dist/MultiLineAltChart.js +1 -1
  36. package/dist/MultiLineChart.cjs +1 -1
  37. package/dist/MultiLineChart.js +1 -1
  38. package/dist/ParetoChart.cjs +1 -1
  39. package/dist/ParetoChart.js +1 -1
  40. package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +1 -0
  41. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +1 -0
  42. package/dist/PerformanceIntensiveScrollStory.d.ts +1 -0
  43. package/dist/RadarChart.cjs +1 -1
  44. package/dist/RadarChart.js +1 -1
  45. package/dist/ScatterPlot.cjs +1 -1
  46. package/dist/ScatterPlot.js +1 -1
  47. package/dist/ScrollStory.d.ts +1 -0
  48. package/dist/SimpleLineChart.cjs +1 -1
  49. package/dist/SimpleLineChart.js +1 -1
  50. package/dist/SingleGraphDashboard.cjs +1 -1
  51. package/dist/SingleGraphDashboard.d.ts +1 -0
  52. package/dist/SingleGraphDashboard.js +1 -1
  53. package/dist/SingleGraphDashboardFromConfig.d.ts +1 -0
  54. package/dist/SingleGraphDashboardGeoHubMaps.d.ts +1 -0
  55. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +1 -0
  56. package/dist/SingleGraphDashboardThreeDGraphs.d.ts +1 -0
  57. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +1 -0
  58. package/dist/SparkLine.cjs +1 -1
  59. package/dist/SparkLine.js +2 -2
  60. package/dist/Types.d.ts +1 -0
  61. package/dist/{area-BE2wo7fv.js → area-B6r7cv2o.js} +5 -5
  62. package/dist/{area-BE2wo7fv.js.map → area-B6r7cv2o.js.map} +1 -1
  63. package/dist/area-C1gxfNGD.cjs +2 -0
  64. package/dist/{area-D3Qx7k7K.cjs.map → area-C1gxfNGD.cjs.map} +1 -1
  65. package/dist/array-DMyR1sql.cjs +2 -0
  66. package/dist/array-DMyR1sql.cjs.map +1 -0
  67. package/dist/array-USo-Szhp.js +13 -0
  68. package/dist/array-USo-Szhp.js.map +1 -0
  69. package/dist/{ensureCompleteData-DS7gCvVd.js → ensureCompleteData-DH5c52Ub.js} +6 -6
  70. package/dist/{ensureCompleteData-DS7gCvVd.js.map → ensureCompleteData-DH5c52Ub.js.map} +1 -1
  71. package/dist/{ensureCompleteData-Oib-vGb0.cjs → ensureCompleteData-pZ9QO6kB.cjs} +2 -2
  72. package/dist/{ensureCompleteData-Oib-vGb0.cjs.map → ensureCompleteData-pZ9QO6kB.cjs.map} +1 -1
  73. package/dist/index.d.ts +5 -0
  74. package/dist/line-DFlZsxI1.js +144 -0
  75. package/dist/line-DFlZsxI1.js.map +1 -0
  76. package/dist/line-DaEMhXmx.cjs +2 -0
  77. package/dist/line-DaEMhXmx.cjs.map +1 -0
  78. package/dist/style.css +1 -1
  79. package/package.json +1 -1
  80. package/dist/GraphEl-YKUlz-37.cjs.map +0 -1
  81. package/dist/GraphEl-sVZvlyWe.js.map +0 -1
  82. package/dist/area-D3Qx7k7K.cjs +0 -2
  83. package/dist/array-B7TkkRH0.js +0 -89
  84. package/dist/array-B7TkkRH0.js.map +0 -1
  85. package/dist/array-DKbXV8lR.cjs +0 -2
  86. package/dist/array-DKbXV8lR.cjs.map +0 -1
  87. package/dist/line-CPfhohvF.js +0 -68
  88. package/dist/line-CPfhohvF.js.map +0 -1
  89. package/dist/line-DHV4JwCR.cjs +0 -2
  90. package/dist/line-DHV4JwCR.cjs.map +0 -1
@@ -1,33 +1,33 @@
1
- import { c as Ce, j as l, m as Ne } from "./index-CHPV5EwG-Curnpaqc.js";
1
+ import { c as Ce, j as l, m as Ie } from "./index-CHPV5EwG-Curnpaqc.js";
2
2
  import { useRef as je, useState as ne, useEffect as Oe } from "react";
3
- import { o as Be } from "./index-BZQYSqar.js";
4
- import { f as Pe, p as We } from "./parse-DlCRUFh_.js";
5
- import { g as Xe, N as Ye } from "./getSliderMarks-HIDJ0_Cd.js";
6
- import { i as Le } from "./index-Bwrro8-q.js";
3
+ import { o as We } from "./index-BZQYSqar.js";
4
+ import { f as Ne, p as Xe } from "./parse-DlCRUFh_.js";
5
+ import { g as Ye, N as Ee } from "./getSliderMarks-HIDJ0_Cd.js";
6
+ import { i as $e } from "./index-Bwrro8-q.js";
7
7
  import { s as Ae } from "./index-CeVNqhMO.js";
8
8
  import { n as ke } from "./numberFormattingFunction-14YCbkN2.js";
9
- import { T as Ie } from "./Tooltip-Dj5eVppQ.js";
9
+ import { T as De } from "./Tooltip-Dj5eVppQ.js";
10
10
  import { c as b } from "./checkIfNullOrUndefined-DmfiKkNw.js";
11
- import { A as $e } from "./Axis-CRyfcLjc.js";
12
- import { A as De } from "./AxisTitle-jeI7am8o.js";
13
- import { X as Ee } from "./XAxesLabels-Dy8E1SEo.js";
14
- import { R as Ge, a as He } from "./ReferenceLine-2XCwHXQ4.js";
15
- import { Y as Ue } from "./YTicksAndGridLines-Blepl7XF.js";
16
- import { X as Je } from "./XTicksAndGridLines-CObVFSm4.js";
17
- import { Y as Ke } from "./YAxesLabels-a57ZRv-0.js";
18
- import { D as Te } from "./DetailsModal-0Ry5nXiC.js";
19
- import { a as Fe } from "./linear-BqltdMeF.js";
20
- import { b as Se } from "./band-DHUZ2X7J.js";
21
- import { u as Re } from "./use-in-view-Cxa7y1TH.js";
11
+ import { A as Te } from "./Axis-CRyfcLjc.js";
12
+ import { A as Fe } from "./AxisTitle-jeI7am8o.js";
13
+ import { X as Ge } from "./XAxesLabels-Dy8E1SEo.js";
14
+ import { R as He, a as Ue } from "./ReferenceLine-2XCwHXQ4.js";
15
+ import { Y as Je } from "./YTicksAndGridLines-Blepl7XF.js";
16
+ import { X as Ke } from "./XTicksAndGridLines-CObVFSm4.js";
17
+ import { Y as Qe } from "./YAxesLabels-a57ZRv-0.js";
18
+ import { D as Se } from "./DetailsModal-0Ry5nXiC.js";
19
+ import { a as Re } from "./linear-BqltdMeF.js";
20
+ import { b as qe } from "./band-DHUZ2X7J.js";
21
+ import { u as Be } from "./use-in-view-Cxa7y1TH.js";
22
22
  import { m as Vt } from "./proxy-BxkFHwUw.js";
23
- import { A as qe } from "./index-BqfRwk1n.js";
23
+ import { A as Pe } from "./index-BqfRwk1n.js";
24
24
  import { Colors as ze } from "./Colors.js";
25
- import { E as Qe } from "./EmptyState-BZo1BbAn.js";
26
- import { a as Ze, G as _e } from "./GraphContainer-CRqzdKu2.js";
27
- import { GraphFooter as ti } from "./GraphFooter.js";
28
- import { GraphHeader as ei } from "./GraphHeader.js";
29
- import { ColorLegend as ii } from "./ColorLegend.js";
30
- import { b as ai } from "./ensureCompleteData-DS7gCvVd.js";
25
+ import { E as Ze } from "./EmptyState-BZo1BbAn.js";
26
+ import { a as _e, G as ti } from "./GraphContainer-CRqzdKu2.js";
27
+ import { GraphFooter as ei } from "./GraphFooter.js";
28
+ import { GraphHeader as ii } from "./GraphHeader.js";
29
+ import { ColorLegend as ai } from "./ColorLegend.js";
30
+ import { b as Le } from "./ensureCompleteData-DH5c52Ub.js";
31
31
  import { P as ni, e as li } from "./index-D491FEn1.js";
32
32
  function si(e) {
33
33
  const t = Ce.c(160), {
@@ -40,13 +40,13 @@ function si(e) {
40
40
  barPadding: Et,
41
41
  showLabels: Gt,
42
42
  showValues: se,
43
- showTicks: de,
43
+ showTicks: he,
44
44
  truncateBy: oe,
45
45
  leftMargin: xe,
46
46
  rightMargin: Ht,
47
47
  topMargin: re,
48
48
  bottomMargin: ve,
49
- tooltip: dt,
49
+ tooltip: ht,
50
50
  onSeriesMouseOver: xt,
51
51
  refValues: kt,
52
52
  maxValue: v,
@@ -58,36 +58,36 @@ function si(e) {
58
58
  minBarThickness: Ct,
59
59
  resetSelectionOnDoubleClick: Jt,
60
60
  detailsOnClick: ct,
61
- barAxisTitle: q,
61
+ barAxisTitle: B,
62
62
  valueColor: tt,
63
63
  noOfTicks: Ot,
64
- styles: x,
64
+ styles: p,
65
65
  classNames: s,
66
66
  targetStyle: f,
67
- targetColor: B,
67
+ targetColor: P,
68
68
  qualitativeRangeColors: et,
69
69
  measureBarWidthFactor: y,
70
70
  animate: r,
71
- dimmedOpacity: h,
71
+ dimmedOpacity: d,
72
72
  precision: ut,
73
73
  customLayers: it,
74
74
  naLabel: N,
75
75
  targetLineThickness: ce
76
- } = e, P = xe === void 0 ? 20 : xe, Kt = Ht === void 0 ? 20 : Ht, pe = re === void 0 ? 20 : re, Qt = ve === void 0 ? 25 : ve, we = je(null);
76
+ } = e, W = xe === void 0 ? 20 : xe, Kt = Ht === void 0 ? 20 : Ht, pe = re === void 0 ? 20 : re, Qt = ve === void 0 ? 25 : ve, we = je(null);
77
77
  let ge;
78
78
  t[0] !== r.amount || t[1] !== r.once ? (ge = {
79
79
  once: r.once,
80
80
  amount: r.amount
81
81
  }, t[0] = r.amount, t[1] = r.once, t[2] = ge) : ge = t[2];
82
- const L = Re(we, ge), W = q ? P + 30 : P;
82
+ const L = Be(we, ge), X = B ? W + 30 : W;
83
83
  let Zt;
84
- t[3] !== Qt || t[4] !== Kt || t[5] !== W || t[6] !== pe ? (Zt = {
84
+ t[3] !== Qt || t[4] !== Kt || t[5] !== X || t[6] !== pe ? (Zt = {
85
85
  top: pe,
86
86
  bottom: Qt,
87
- left: W,
87
+ left: X,
88
88
  right: Kt
89
- }, t[3] = Qt, t[4] = Kt, t[5] = W, t[6] = pe, t[7] = Zt) : Zt = t[7];
90
- const p = Zt, [at, ye] = ne(void 0), [nt, gt] = ne(void 0), [Nt, ue] = ne(void 0), [me, _t] = ne(void 0), d = zt - p.left - p.right, Lt = le - p.top - p.bottom;
89
+ }, t[3] = Qt, t[4] = Kt, t[5] = X, t[6] = pe, t[7] = Zt) : Zt = t[7];
90
+ const g = Zt, [at, ye] = ne(void 0), [nt, gt] = ne(void 0), [Nt, ue] = ne(void 0), [me, _t] = ne(void 0), h = zt - g.left - g.right, Lt = le - g.top - g.bottom;
91
91
  let lt;
92
92
  t[8] !== a ? (lt = Math.max(...a.filter(Ii).map(Li)) < 0 ? 0 : Math.max(...a.filter(Ni).map(Oi)), t[8] = a, t[9] = lt) : lt = t[9];
93
93
  const yt = lt;
@@ -111,57 +111,57 @@ function si(e) {
111
111
  const k = bt;
112
112
  let I;
113
113
  if (t[27] !== a || t[28] !== A) {
114
- const c = /* @__PURE__ */ new Set(), n = a.map((j, wt) => {
114
+ const u = /* @__PURE__ */ new Set(), n = a.map((j, wt) => {
115
115
  const R = A ? `${j.label}` : `${wt}`;
116
- return c.add(R), {
116
+ return u.add(R), {
117
117
  ...j,
118
118
  id: R
119
119
  };
120
- }), z = A ? A.filter((j) => !c.has(j)) : [];
121
- I = [...n, ...z.map(di)], t[27] = a, t[28] = A, t[29] = I;
120
+ }), z = A ? A.filter((j) => !u.has(j)) : [];
121
+ I = [...n, ...z.map(hi)], t[27] = a, t[28] = A, t[29] = I;
122
122
  } else
123
123
  I = t[29];
124
124
  const mt = I;
125
125
  let st;
126
- t[30] !== mt || t[31] !== A ? (st = A ?? mt.map(hi), t[30] = mt, t[31] = A, t[32] = st) : st = t[32];
126
+ t[30] !== mt || t[31] !== A ? (st = A ?? mt.map(di), t[30] = mt, t[31] = A, t[32] = st) : st = t[32];
127
127
  const vt = st;
128
- let ot, $, X, Y, D, E, G, M, C, w, V, H, U, J;
129
- if (t[33] !== r || t[34] !== q || t[35] !== Yt || t[36] !== vt || t[37] !== Et || t[38] !== s?.graphObjectValues || t[39] !== s?.xAxis?.axis || t[40] !== s?.xAxis?.labels || t[41] !== s?.yAxis?.gridLines || t[42] !== s?.yAxis?.labels || t[43] !== s?.yAxis?.title || t[44] !== it || t[45] !== mt || t[46] !== ct || t[47] !== h || t[48] !== Lt || t[49] !== d || t[50] !== le || t[51] !== _ || t[52] !== L || t[53] !== P || t[54] !== p.bottom || t[55] !== p.left || t[56] !== p.right || t[57] !== p.top || t[58] !== Ut || t[59] !== y || t[60] !== Ct || t[61] !== nt || t[62] !== N || t[63] !== Ot || t[64] !== rt || t[65] !== xt || t[66] !== ut || t[67] !== O || t[68] !== et || t[69] !== kt || t[70] !== Jt || t[71] !== Gt || t[72] !== de || t[73] !== se || t[74] !== x?.graphObjectValues || t[75] !== x?.xAxis?.axis || t[76] !== x?.xAxis?.labels || t[77] !== x?.yAxis?.gridLines || t[78] !== x?.yAxis?.labels || t[79] !== x?.yAxis?.title || t[80] !== jt || t[81] !== B || t[82] !== ce || t[83] !== f || t[84] !== oe || t[85] !== tt || t[86] !== zt || t[87] !== St || t[88] !== k) {
130
- const c = Fe().domain([k, St]).range([Lt, 0]).nice(), n = Se().domain(vt).range([0, Ct ? Math.max(d, Ct * vt.length) : Ut ? Math.min(d, Ut * vt.length) : d]).paddingInner(Et), z = c.ticks(Ot);
131
- $ = Vt.svg, w = `${zt}px`, V = `${le}px`, H = `0 0 ${zt} ${le}`, U = "ltr", J = we, D = `translate(${p.left},${p.top})`;
132
- const j = c(k < 0 ? 0 : k), wt = c(k < 0 ? 0 : k), R = k < 0 ? 0 : k;
128
+ let ot, $, Y, E, D, G, H, M, C, w, V, U, J, K;
129
+ if (t[33] !== r || t[34] !== B || t[35] !== Yt || t[36] !== vt || t[37] !== Et || t[38] !== s?.graphObjectValues || t[39] !== s?.xAxis?.axis || t[40] !== s?.xAxis?.labels || t[41] !== s?.yAxis?.gridLines || t[42] !== s?.yAxis?.labels || t[43] !== s?.yAxis?.title || t[44] !== it || t[45] !== mt || t[46] !== ct || t[47] !== d || t[48] !== Lt || t[49] !== h || t[50] !== le || t[51] !== _ || t[52] !== L || t[53] !== W || t[54] !== g.bottom || t[55] !== g.left || t[56] !== g.right || t[57] !== g.top || t[58] !== Ut || t[59] !== y || t[60] !== Ct || t[61] !== nt || t[62] !== N || t[63] !== Ot || t[64] !== rt || t[65] !== xt || t[66] !== ut || t[67] !== O || t[68] !== et || t[69] !== kt || t[70] !== Jt || t[71] !== Gt || t[72] !== he || t[73] !== se || t[74] !== p?.graphObjectValues || t[75] !== p?.xAxis?.axis || t[76] !== p?.xAxis?.labels || t[77] !== p?.yAxis?.gridLines || t[78] !== p?.yAxis?.labels || t[79] !== p?.yAxis?.title || t[80] !== jt || t[81] !== P || t[82] !== ce || t[83] !== f || t[84] !== oe || t[85] !== tt || t[86] !== zt || t[87] !== St || t[88] !== k) {
130
+ const u = Re().domain([k, St]).range([Lt, 0]).nice(), n = qe().domain(vt).range([0, Ct ? Math.max(h, Ct * vt.length) : Ut ? Math.min(h, Ut * vt.length) : h]).paddingInner(Et), z = u.ticks(Ot);
131
+ $ = Vt.svg, w = `${zt}px`, V = `${le}px`, U = `0 0 ${zt} ${le}`, J = "ltr", K = we, D = `translate(${g.left},${g.top})`;
132
+ const j = u(k < 0 ? 0 : k), wt = u(k < 0 ? 0 : k), R = k < 0 ? 0 : k;
133
133
  let m;
134
134
  t[103] !== N || t[104] !== ut || t[105] !== O || t[106] !== jt || t[107] !== R ? (m = ke(R, N, ut, O, jt), t[103] = N, t[104] = ut, t[105] = O, t[106] = jt, t[107] = R, t[108] = m) : m = t[108];
135
- const Q = s?.xAxis?.axis, fe = s?.yAxis?.labels;
135
+ const q = s?.xAxis?.axis, fe = s?.yAxis?.labels;
136
136
  let Mt;
137
- t[109] !== Q || t[110] !== fe ? (Mt = {
138
- axis: Q,
137
+ t[109] !== q || t[110] !== fe ? (Mt = {
138
+ axis: q,
139
139
  label: fe
140
- }, t[109] = Q, t[110] = fe, t[111] = Mt) : Mt = t[111];
141
- const ee = x?.xAxis?.axis, Wt = x?.yAxis?.labels;
140
+ }, t[109] = q, t[110] = fe, t[111] = Mt) : Mt = t[111];
141
+ const ee = p?.xAxis?.axis, Wt = p?.yAxis?.labels;
142
142
  let i;
143
143
  t[112] !== ee || t[113] !== Wt ? (i = {
144
144
  axis: ee,
145
145
  label: Wt
146
- }, t[112] = ee, t[113] = Wt, t[114] = i) : i = t[114], E = /* @__PURE__ */ l.jsx($e, { y1: j, y2: wt, x1: 0 - P, x2: d + p.right, label: m, labelPos: {
147
- x: 0 - P,
146
+ }, t[112] = ee, t[113] = Wt, t[114] = i) : i = t[114], G = /* @__PURE__ */ l.jsx(Te, { y1: j, y2: wt, x1: 0 - W, x2: h + g.right, label: m, labelPos: {
147
+ x: 0 - W,
148
148
  dx: 0,
149
149
  dy: St < 0 ? "1em" : -5,
150
- y: c(k < 0 ? 0 : k)
151
- }, classNames: Mt, styles: i }), G = de ? /* @__PURE__ */ l.jsx(Ue, { values: z.filter(fi), y: z.filter(mi).map((o) => c(o)), x1: 0 - P, x2: d + p.right, styles: {
152
- gridLines: x?.yAxis?.gridLines,
153
- labels: x?.yAxis?.labels
150
+ y: u(k < 0 ? 0 : k)
151
+ }, classNames: Mt, styles: i }), H = he ? /* @__PURE__ */ l.jsx(Je, { values: z.filter(fi), y: z.filter(mi).map((o) => u(o)), x1: 0 - W, x2: h + g.right, styles: {
152
+ gridLines: p?.yAxis?.gridLines,
153
+ labels: p?.yAxis?.labels
154
154
  }, classNames: {
155
155
  gridLines: s?.yAxis?.gridLines,
156
156
  labels: s?.yAxis?.labels
157
157
  }, suffix: jt, prefix: O, labelType: "secondary", showGridLines: !0, labelPos: "vertical", precision: ut }) : null;
158
- const Z = 0 - P - 15, At = Lt / 2, be = x?.yAxis?.title, Me = s?.yAxis?.title;
159
- t[115] !== q || t[116] !== Z || t[117] !== At || t[118] !== be || t[119] !== Me ? (M = /* @__PURE__ */ l.jsx(De, { x: Z, y: At, style: be, className: Me, text: q, rotate90: !0 }), t[115] = q, t[116] = Z, t[117] = At, t[118] = be, t[119] = Me, t[120] = M) : M = t[120], t[121] !== it ? (C = it.filter(ui).map(ci), t[121] = it, t[122] = C) : C = t[122], ot = qe, X = mt.map((o) => b(n(o.id)) ? null : /* @__PURE__ */ l.jsxs(Vt.g, { className: "undp-viz-g-with-hover", onMouseEnter: (ht) => {
160
- ye(o), _t(ht.clientY), ue(ht.clientX), xt?.(o);
158
+ const Z = 0 - W - 15, At = Lt / 2, be = p?.yAxis?.title, Me = s?.yAxis?.title;
159
+ t[115] !== B || t[116] !== Z || t[117] !== At || t[118] !== be || t[119] !== Me ? (M = /* @__PURE__ */ l.jsx(Fe, { x: Z, y: At, style: be, className: Me, text: B, rotate90: !0 }), t[115] = B, t[116] = Z, t[117] = At, t[118] = be, t[119] = Me, t[120] = M) : M = t[120], t[121] !== it ? (C = it.filter(ui).map(ci), t[121] = it, t[122] = C) : C = t[122], ot = Pe, Y = mt.map((o) => b(n(o.id)) ? null : /* @__PURE__ */ l.jsxs(Vt.g, { className: "undp-viz-g-with-hover", onMouseEnter: (dt) => {
160
+ ye(o), _t(dt.clientY), ue(dt.clientX), xt?.(o);
161
161
  }, onClick: () => {
162
- (rt || ct) && (Le(nt, o) && Jt ? (gt(void 0), rt?.(void 0)) : (gt(o), rt?.(o)));
163
- }, onMouseMove: (ht) => {
164
- ye(o), _t(ht.clientY), ue(ht.clientX);
162
+ (rt || ct) && ($e(nt, o) && Jt ? (gt(void 0), rt?.(void 0)) : (gt(o), rt?.(o)));
163
+ }, onMouseMove: (dt) => {
164
+ ye(o), _t(dt.clientY), ue(dt.clientX);
165
165
  }, onMouseLeave: () => {
166
166
  ye(void 0), ue(void 0), _t(void 0), xt?.(void 0);
167
167
  }, exit: {
@@ -173,32 +173,32 @@ function si(e) {
173
173
  initial: {
174
174
  x: n(`${o.id}`),
175
175
  y: 0,
176
- opacity: _.length !== 0 ? _.indexOf(o.label) !== -1 ? 0.85 : h : 0.85
176
+ opacity: _.length !== 0 ? _.indexOf(o.label) !== -1 ? 0.85 : d : 0.85
177
177
  },
178
178
  whileInView: {
179
179
  x: n(`${o.id}`),
180
180
  y: 0,
181
- opacity: _.length !== 0 ? _.indexOf(o.label) !== -1 ? 0.85 : h : 0.85,
181
+ opacity: _.length !== 0 ? _.indexOf(o.label) !== -1 ? 0.85 : d : 0.85,
182
182
  transition: {
183
183
  duration: r.duration
184
184
  }
185
185
  }
186
186
  }, initial: "initial", animate: L ? "whileInView" : "initial", children: [
187
- o.qualitativeRange ? o.qualitativeRange.map((ht, Xt) => /* @__PURE__ */ l.jsx(Vt.rect, { x: 0, exit: {
187
+ o.qualitativeRange ? o.qualitativeRange.map((dt, Xt) => /* @__PURE__ */ l.jsx(Vt.rect, { x: 0, exit: {
188
188
  height: 0,
189
- y: c(0),
189
+ y: u(0),
190
190
  transition: {
191
191
  duration: r.duration
192
192
  }
193
193
  }, variants: {
194
194
  initial: {
195
195
  height: 0,
196
- y: c(0),
196
+ y: u(0),
197
197
  fill: et[Xt]
198
198
  },
199
199
  whileInView: {
200
- height: Math.abs(c(Ae(o.qualitativeRange.filter((ie, ae) => ae <= Xt && ie))) - c(Ae(o.qualitativeRange.filter((ie, ae) => ae < Xt && ie)))),
201
- y: c(Ae(o.qualitativeRange.filter((ie, ae) => ae <= Xt && ie))),
200
+ height: Math.abs(u(Ae(o.qualitativeRange.filter((ie, ae) => ae <= Xt && ie))) - u(Ae(o.qualitativeRange.filter((ie, ae) => ae < Xt && ie)))),
201
+ y: u(Ae(o.qualitativeRange.filter((ie, ae) => ae <= Xt && ie))),
202
202
  fill: et[Xt],
203
203
  transition: {
204
204
  duration: r.duration
@@ -207,21 +207,21 @@ function si(e) {
207
207
  }, initial: "initial", animate: L ? "whileInView" : "initial", width: n.bandwidth() }, Xt)) : null,
208
208
  o.target && f === "background" ? /* @__PURE__ */ l.jsx(Vt.rect, { x: 0, width: n.bandwidth(), exit: {
209
209
  height: 0,
210
- y: c(0),
211
- fill: B,
210
+ y: u(0),
211
+ fill: P,
212
212
  transition: {
213
213
  duration: r.duration
214
214
  }
215
215
  }, variants: {
216
216
  initial: {
217
217
  height: 0,
218
- fill: B,
219
- y: c(0)
218
+ fill: P,
219
+ y: u(0)
220
220
  },
221
221
  whileInView: {
222
- height: Math.abs(c(o.target) - c(0)),
223
- fill: B,
224
- y: o.target > 0 ? c(o.target) : c(0),
222
+ height: Math.abs(u(o.target) - u(0)),
223
+ fill: P,
224
+ y: o.target > 0 ? u(o.target) : u(0),
225
225
  transition: {
226
226
  duration: r.duration
227
227
  }
@@ -231,62 +231,62 @@ function si(e) {
231
231
  fill: Yt
232
232
  }, exit: {
233
233
  height: 0,
234
- y: c(0),
234
+ y: u(0),
235
235
  transition: {
236
236
  duration: r.duration
237
237
  }
238
238
  }, variants: {
239
239
  initial: {
240
240
  height: 0,
241
- y: c(0)
241
+ y: u(0)
242
242
  },
243
243
  whileInView: {
244
- height: Math.abs(c(o.size) - c(0)),
245
- y: o.size > 0 ? c(o.size) : c(0),
244
+ height: Math.abs(u(o.size) - u(0)),
245
+ y: o.size > 0 ? u(o.size) : u(0),
246
246
  transition: {
247
247
  duration: r.duration
248
248
  }
249
249
  }
250
250
  }, initial: "initial", animate: L ? "whileInView" : "initial" }) : null,
251
251
  o.target && f === "line" ? /* @__PURE__ */ l.jsx(Vt.rect, { x: 0, width: n.bandwidth(), exit: {
252
- y: c(0),
252
+ y: u(0),
253
253
  opacity: 0,
254
- fill: B,
254
+ fill: P,
255
255
  transition: {
256
256
  duration: r.duration
257
257
  }
258
258
  }, variants: {
259
259
  initial: {
260
- y: c(0),
260
+ y: u(0),
261
261
  opacity: 0,
262
- fill: B
262
+ fill: P
263
263
  },
264
264
  whileInView: {
265
- y: c(o.target) - ce / 2,
265
+ y: u(o.target) - ce / 2,
266
266
  opacity: 1,
267
- fill: B,
267
+ fill: P,
268
268
  transition: {
269
269
  duration: r.duration
270
270
  }
271
271
  }
272
272
  }, initial: "initial", animate: L ? "whileInView" : "initial", height: ce }) : null,
273
- Gt ? /* @__PURE__ */ l.jsx(Ee, { value: `${o.label}`.length < oe ? `${o.label}` : `${`${o.label}`.substring(0, oe)}...`, y: (o.size || 0) < 0 ? 0 : c(0) + 5, x: 0, width: n.bandwidth(), height: (o.size || 0) < 0 ? c(0) - 5 : p.bottom, style: x?.xAxis?.labels, className: s?.xAxis?.labels, alignment: (o.size || 0) < 0 ? "bottom" : "top", animate: r, isInView: L }) : null,
273
+ Gt ? /* @__PURE__ */ l.jsx(Ge, { value: `${o.label}`.length < oe ? `${o.label}` : `${`${o.label}`.substring(0, oe)}...`, y: (o.size || 0) < 0 ? 0 : u(0) + 5, x: 0, width: n.bandwidth(), height: (o.size || 0) < 0 ? u(0) - 5 : g.bottom, style: p?.xAxis?.labels, className: s?.xAxis?.labels, alignment: (o.size || 0) < 0 ? "bottom" : "top", animate: r, isInView: L }) : null,
274
274
  se ? /* @__PURE__ */ l.jsx(Vt.text, { x: n.bandwidth() / 2, style: {
275
275
  textAnchor: "middle",
276
- ...x?.graphObjectValues || {}
277
- }, className: Ne("graph-value text-sm", !tt && Yt.length > 1 ? " fill-primary-gray-600 dark:fill-primary-gray-300" : "", s?.graphObjectValues), dy: o.size ? o.size >= 0 ? "-5px" : "1em" : "-5px", exit: {
276
+ ...p?.graphObjectValues || {}
277
+ }, className: Ie("graph-value text-sm", !tt && Yt.length > 1 ? " fill-primary-gray-600 dark:fill-primary-gray-300" : "", s?.graphObjectValues), dy: o.size ? o.size >= 0 ? "-5px" : "1em" : "-5px", exit: {
278
278
  opacity: 0,
279
279
  transition: {
280
280
  duration: r.duration
281
281
  }
282
282
  }, variants: {
283
283
  initial: {
284
- y: c(0),
284
+ y: u(0),
285
285
  opacity: 0,
286
286
  fill: tt || Yt
287
287
  },
288
288
  whileInView: {
289
- y: c(o.size || 0),
289
+ y: u(o.size || 0),
290
290
  opacity: 1,
291
291
  fill: tt || Yt,
292
292
  transition: {
@@ -294,31 +294,31 @@ function si(e) {
294
294
  }
295
295
  }
296
296
  }, initial: "initial", animate: L ? "whileInView" : "initial", children: ke(o.size, N, ut, O, jt) }) : null
297
- ] }, o.label)), Y = kt ? /* @__PURE__ */ l.jsx(l.Fragment, { children: kt.map((o, ht) => /* @__PURE__ */ l.jsx(He, { text: o.text, color: o.color, y: c(o.value), x1: 0 - P, x2: d + p.right, classNames: o.classNames, styles: o.styles, animate: r, isInView: L }, ht)) }) : null, t[33] = r, t[34] = q, t[35] = Yt, t[36] = vt, t[37] = Et, t[38] = s?.graphObjectValues, t[39] = s?.xAxis?.axis, t[40] = s?.xAxis?.labels, t[41] = s?.yAxis?.gridLines, t[42] = s?.yAxis?.labels, t[43] = s?.yAxis?.title, t[44] = it, t[45] = mt, t[46] = ct, t[47] = h, t[48] = Lt, t[49] = d, t[50] = le, t[51] = _, t[52] = L, t[53] = P, t[54] = p.bottom, t[55] = p.left, t[56] = p.right, t[57] = p.top, t[58] = Ut, t[59] = y, t[60] = Ct, t[61] = nt, t[62] = N, t[63] = Ot, t[64] = rt, t[65] = xt, t[66] = ut, t[67] = O, t[68] = et, t[69] = kt, t[70] = Jt, t[71] = Gt, t[72] = de, t[73] = se, t[74] = x?.graphObjectValues, t[75] = x?.xAxis?.axis, t[76] = x?.xAxis?.labels, t[77] = x?.yAxis?.gridLines, t[78] = x?.yAxis?.labels, t[79] = x?.yAxis?.title, t[80] = jt, t[81] = B, t[82] = ce, t[83] = f, t[84] = oe, t[85] = tt, t[86] = zt, t[87] = St, t[88] = k, t[89] = ot, t[90] = $, t[91] = X, t[92] = Y, t[93] = D, t[94] = E, t[95] = G, t[96] = M, t[97] = C, t[98] = w, t[99] = V, t[100] = H, t[101] = U, t[102] = J;
297
+ ] }, o.label)), E = kt ? /* @__PURE__ */ l.jsx(l.Fragment, { children: kt.map((o, dt) => /* @__PURE__ */ l.jsx(Ue, { text: o.text, color: o.color, y: u(o.value), x1: 0 - W, x2: h + g.right, classNames: o.classNames, styles: o.styles, animate: r, isInView: L }, dt)) }) : null, t[33] = r, t[34] = B, t[35] = Yt, t[36] = vt, t[37] = Et, t[38] = s?.graphObjectValues, t[39] = s?.xAxis?.axis, t[40] = s?.xAxis?.labels, t[41] = s?.yAxis?.gridLines, t[42] = s?.yAxis?.labels, t[43] = s?.yAxis?.title, t[44] = it, t[45] = mt, t[46] = ct, t[47] = d, t[48] = Lt, t[49] = h, t[50] = le, t[51] = _, t[52] = L, t[53] = W, t[54] = g.bottom, t[55] = g.left, t[56] = g.right, t[57] = g.top, t[58] = Ut, t[59] = y, t[60] = Ct, t[61] = nt, t[62] = N, t[63] = Ot, t[64] = rt, t[65] = xt, t[66] = ut, t[67] = O, t[68] = et, t[69] = kt, t[70] = Jt, t[71] = Gt, t[72] = he, t[73] = se, t[74] = p?.graphObjectValues, t[75] = p?.xAxis?.axis, t[76] = p?.xAxis?.labels, t[77] = p?.yAxis?.gridLines, t[78] = p?.yAxis?.labels, t[79] = p?.yAxis?.title, t[80] = jt, t[81] = P, t[82] = ce, t[83] = f, t[84] = oe, t[85] = tt, t[86] = zt, t[87] = St, t[88] = k, t[89] = ot, t[90] = $, t[91] = Y, t[92] = E, t[93] = D, t[94] = G, t[95] = H, t[96] = M, t[97] = C, t[98] = w, t[99] = V, t[100] = U, t[101] = J, t[102] = K;
298
298
  } else
299
- ot = t[89], $ = t[90], X = t[91], Y = t[92], D = t[93], E = t[94], G = t[95], M = t[96], C = t[97], w = t[98], V = t[99], H = t[100], U = t[101], J = t[102];
300
- let K;
301
- t[123] !== ot || t[124] !== X || t[125] !== Y ? (K = /* @__PURE__ */ l.jsxs(ot, { children: [
302
- X,
303
- Y
304
- ] }), t[123] = ot, t[124] = X, t[125] = Y, t[126] = K) : K = t[126];
299
+ ot = t[89], $ = t[90], Y = t[91], E = t[92], D = t[93], G = t[94], H = t[95], M = t[96], C = t[97], w = t[98], V = t[99], U = t[100], J = t[101], K = t[102];
300
+ let Q;
301
+ t[123] !== ot || t[124] !== Y || t[125] !== E ? (Q = /* @__PURE__ */ l.jsxs(ot, { children: [
302
+ Y,
303
+ E
304
+ ] }), t[123] = ot, t[124] = Y, t[125] = E, t[126] = Q) : Q = t[126];
305
305
  let T;
306
306
  t[127] !== it ? (T = it.filter(ri).map(oi), t[127] = it, t[128] = T) : T = t[128];
307
- let u;
308
- t[129] !== D || t[130] !== E || t[131] !== G || t[132] !== M || t[133] !== C || t[134] !== K || t[135] !== T ? (u = /* @__PURE__ */ l.jsxs("g", { transform: D, children: [
309
- E,
307
+ let c;
308
+ t[129] !== D || t[130] !== G || t[131] !== H || t[132] !== M || t[133] !== C || t[134] !== Q || t[135] !== T ? (c = /* @__PURE__ */ l.jsxs("g", { transform: D, children: [
310
309
  G,
310
+ H,
311
311
  M,
312
312
  C,
313
- K,
313
+ Q,
314
314
  T
315
- ] }), t[129] = D, t[130] = E, t[131] = G, t[132] = M, t[133] = C, t[134] = K, t[135] = T, t[136] = u) : u = t[136];
315
+ ] }), t[129] = D, t[130] = G, t[131] = H, t[132] = M, t[133] = C, t[134] = Q, t[135] = T, t[136] = c) : c = t[136];
316
316
  let F;
317
- t[137] !== $ || t[138] !== w || t[139] !== V || t[140] !== H || t[141] !== U || t[142] !== J || t[143] !== u ? (F = /* @__PURE__ */ l.jsx($, { width: w, height: V, viewBox: H, direction: U, ref: J, children: u }), t[137] = $, t[138] = w, t[139] = V, t[140] = H, t[141] = U, t[142] = J, t[143] = u, t[144] = F) : F = t[144];
317
+ t[137] !== $ || t[138] !== w || t[139] !== V || t[140] !== U || t[141] !== J || t[142] !== K || t[143] !== c ? (F = /* @__PURE__ */ l.jsx($, { width: w, height: V, viewBox: U, direction: J, ref: K, children: c }), t[137] = $, t[138] = w, t[139] = V, t[140] = U, t[141] = J, t[142] = K, t[143] = c, t[144] = F) : F = t[144];
318
318
  let ft;
319
- t[145] !== s?.tooltip || t[146] !== Nt || t[147] !== me || t[148] !== at || t[149] !== x?.tooltip || t[150] !== dt ? (ft = at && dt && Nt && me ? /* @__PURE__ */ l.jsx(Ie, { data: at, body: dt, xPos: Nt, yPos: me, backgroundStyle: x?.tooltip, className: s?.tooltip }) : null, t[145] = s?.tooltip, t[146] = Nt, t[147] = me, t[148] = at, t[149] = x?.tooltip, t[150] = dt, t[151] = ft) : ft = t[151];
319
+ t[145] !== s?.tooltip || t[146] !== Nt || t[147] !== me || t[148] !== at || t[149] !== p?.tooltip || t[150] !== ht ? (ft = at && ht && Nt && me ? /* @__PURE__ */ l.jsx(De, { data: at, body: ht, xPos: Nt, yPos: me, backgroundStyle: p?.tooltip, className: s?.tooltip }) : null, t[145] = s?.tooltip, t[146] = Nt, t[147] = me, t[148] = at, t[149] = p?.tooltip, t[150] = ht, t[151] = ft) : ft = t[151];
320
320
  let S;
321
- t[152] !== s?.modal || t[153] !== ct || t[154] !== nt ? (S = ct && nt !== void 0 ? /* @__PURE__ */ l.jsx(Te, { body: ct, data: nt, setData: gt, className: s?.modal }) : null, t[152] = s?.modal, t[153] = ct, t[154] = nt, t[155] = S) : S = t[155];
321
+ t[152] !== s?.modal || t[153] !== ct || t[154] !== nt ? (S = ct && nt !== void 0 ? /* @__PURE__ */ l.jsx(Se, { body: ct, data: nt, setData: gt, className: s?.modal }) : null, t[152] = s?.modal, t[153] = ct, t[154] = nt, t[155] = S) : S = t[155];
322
322
  let Pt;
323
323
  return t[156] !== F || t[157] !== ft || t[158] !== S ? (Pt = /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
324
324
  F,
@@ -344,10 +344,10 @@ function mi(e) {
344
344
  function fi(e) {
345
345
  return e !== 0;
346
346
  }
347
- function hi(e) {
347
+ function di(e) {
348
348
  return `${e.id}`;
349
349
  }
350
- function di(e) {
350
+ function hi(e) {
351
351
  return {
352
352
  id: e,
353
353
  label: e,
@@ -421,13 +421,13 @@ function $i(e) {
421
421
  suffix: Et,
422
422
  prefix: Gt,
423
423
  barPadding: se,
424
- showValues: de,
424
+ showValues: he,
425
425
  showTicks: oe,
426
426
  truncateBy: xe,
427
427
  width: Ht,
428
428
  height: re,
429
429
  showLabels: ve,
430
- tooltip: dt,
430
+ tooltip: ht,
431
431
  onSeriesMouseOver: xt,
432
432
  refValues: kt,
433
433
  highlightedDataPoints: v,
@@ -439,29 +439,29 @@ function $i(e) {
439
439
  maxBarThickness: Ct,
440
440
  minBarThickness: Jt,
441
441
  resetSelectionOnDoubleClick: ct,
442
- detailsOnClick: q,
442
+ detailsOnClick: B,
443
443
  barAxisTitle: tt,
444
444
  valueColor: Ot,
445
- noOfTicks: x,
445
+ noOfTicks: p,
446
446
  styles: s,
447
447
  classNames: f,
448
- targetStyle: B,
448
+ targetStyle: P,
449
449
  targetColor: et,
450
450
  qualitativeRangeColors: y,
451
451
  measureBarWidthFactor: r,
452
- animate: h,
452
+ animate: d,
453
453
  dimmedOpacity: ut,
454
454
  precision: it,
455
455
  customLayers: N,
456
456
  naLabel: ce,
457
- targetLineThickness: P
457
+ targetLineThickness: W
458
458
  } = e, Kt = zt === void 0 ? 25 : zt, pe = le === void 0 ? 10 : le, Qt = Yt === void 0 ? 100 : Yt, we = jt === void 0 ? 40 : jt, ge = je(null);
459
459
  let L;
460
- t[0] !== h.amount || t[1] !== h.once ? (L = {
461
- once: h.once,
462
- amount: h.amount
463
- }, t[0] = h.amount, t[1] = h.once, t[2] = L) : L = t[2];
464
- const W = Re(ge, L), [Zt, p] = ne(void 0), [at, ye] = ne(void 0), [nt, gt] = ne(void 0), [Nt, ue] = ne(void 0), me = tt ? Kt + 25 : Kt;
460
+ t[0] !== d.amount || t[1] !== d.once ? (L = {
461
+ once: d.once,
462
+ amount: d.amount
463
+ }, t[0] = d.amount, t[1] = d.once, t[2] = L) : L = t[2];
464
+ const X = Be(ge, L), [Zt, g] = ne(void 0), [at, ye] = ne(void 0), [nt, gt] = ne(void 0), [Nt, ue] = ne(void 0), me = tt ? Kt + 25 : Kt;
465
465
  let _t;
466
466
  t[3] !== pe || t[4] !== Qt || t[5] !== we || t[6] !== me ? (_t = {
467
467
  top: me,
@@ -469,7 +469,7 @@ function $i(e) {
469
469
  left: Qt,
470
470
  right: we
471
471
  }, t[3] = pe, t[4] = Qt, t[5] = we, t[6] = me, t[7] = _t) : _t = t[7];
472
- const d = _t, Lt = Ht - d.left - d.right, lt = re - d.top - d.bottom;
472
+ const h = _t, Lt = Ht - h.left - h.right, lt = re - h.top - h.bottom;
473
473
  let yt;
474
474
  t[8] !== a ? (yt = Math.max(...a.filter(la).map(na)) < 0 ? 0 : Math.max(...a.filter(aa).map(ia)), t[8] = a, t[9] = yt) : yt = t[9];
475
475
  const It = yt;
@@ -507,18 +507,18 @@ function $i(e) {
507
507
  let vt;
508
508
  t[30] !== st || t[31] !== A ? (vt = A ?? st.map(Bi), t[30] = st, t[31] = A, t[32] = vt) : vt = t[32];
509
509
  const ot = vt;
510
- let $, X, Y, D, E, G, M, C, w, V, H, U, J, K;
511
- if (t[33] !== h || t[34] !== tt || t[35] !== O || t[36] !== ot || t[37] !== se || t[38] !== f?.graphObjectValues || t[39] !== f?.xAxis?.gridLines || t[40] !== f?.xAxis?.labels || t[41] !== f?.xAxis?.title || t[42] !== f?.yAxis?.axis || t[43] !== f?.yAxis?.labels || t[44] !== N || t[45] !== st || t[46] !== q || t[47] !== ut || t[48] !== lt || t[49] !== Lt || t[50] !== re || t[51] !== v || t[52] !== W || t[53] !== d.bottom || t[54] !== d.left || t[55] !== d.top || t[56] !== Ct || t[57] !== r || t[58] !== Jt || t[59] !== at || t[60] !== ce || t[61] !== x || t[62] !== rt || t[63] !== xt || t[64] !== it || t[65] !== Gt || t[66] !== y || t[67] !== kt || t[68] !== ct || t[69] !== Ut || t[70] !== ve || t[71] !== oe || t[72] !== de || t[73] !== s?.graphObjectValues || t[74] !== s?.xAxis?.gridLines || t[75] !== s?.xAxis?.labels || t[76] !== s?.xAxis?.title || t[77] !== s?.yAxis?.axis || t[78] !== s?.yAxis?.labels || t[79] !== Et || t[80] !== et || t[81] !== P || t[82] !== B || t[83] !== Kt || t[84] !== xe || t[85] !== Ot || t[86] !== Ht || t[87] !== te || t[88] !== I) {
512
- const n = Fe().domain([I, te]).range([0, Lt]).nice(), z = Se().domain(ot).range([0, Jt ? Math.max(lt, Jt * ot.length) : Ct ? Math.min(lt, Ct * ot.length) : lt]).paddingInner(se), j = n.ticks(x);
513
- X = Vt.svg, V = `${Ht}px`, H = `${re}px`, U = `0 0 ${Ht} ${re}`, J = "ltr", K = ge, E = `translate(${d.left},${d.top})`, G = oe ? /* @__PURE__ */ l.jsx(Je, { values: j.filter(qi), x: j.filter(Ri).map((i) => n(i)), y1: 0 - Kt, y2: lt + d.bottom, styles: {
510
+ let $, Y, E, D, G, H, M, C, w, V, U, J, K, Q;
511
+ if (t[33] !== d || t[34] !== tt || t[35] !== O || t[36] !== ot || t[37] !== se || t[38] !== f?.graphObjectValues || t[39] !== f?.xAxis?.gridLines || t[40] !== f?.xAxis?.labels || t[41] !== f?.xAxis?.title || t[42] !== f?.yAxis?.axis || t[43] !== f?.yAxis?.labels || t[44] !== N || t[45] !== st || t[46] !== B || t[47] !== ut || t[48] !== lt || t[49] !== Lt || t[50] !== re || t[51] !== v || t[52] !== X || t[53] !== h.bottom || t[54] !== h.left || t[55] !== h.top || t[56] !== Ct || t[57] !== r || t[58] !== Jt || t[59] !== at || t[60] !== ce || t[61] !== p || t[62] !== rt || t[63] !== xt || t[64] !== it || t[65] !== Gt || t[66] !== y || t[67] !== kt || t[68] !== ct || t[69] !== Ut || t[70] !== ve || t[71] !== oe || t[72] !== he || t[73] !== s?.graphObjectValues || t[74] !== s?.xAxis?.gridLines || t[75] !== s?.xAxis?.labels || t[76] !== s?.xAxis?.title || t[77] !== s?.yAxis?.axis || t[78] !== s?.yAxis?.labels || t[79] !== Et || t[80] !== et || t[81] !== W || t[82] !== P || t[83] !== Kt || t[84] !== xe || t[85] !== Ot || t[86] !== Ht || t[87] !== te || t[88] !== I) {
512
+ const n = Re().domain([I, te]).range([0, Lt]).nice(), z = qe().domain(ot).range([0, Jt ? Math.max(lt, Jt * ot.length) : Ct ? Math.min(lt, Ct * ot.length) : lt]).paddingInner(se), j = n.ticks(p);
513
+ Y = Vt.svg, V = `${Ht}px`, U = `${re}px`, J = `0 0 ${Ht} ${re}`, K = "ltr", Q = ge, G = `translate(${h.left},${h.top})`, H = oe ? /* @__PURE__ */ l.jsx(Ke, { values: j.filter(qi), x: j.filter(Ri).map((i) => n(i)), y1: 0 - Kt, y2: lt + h.bottom, styles: {
514
514
  gridLines: s?.xAxis?.gridLines,
515
515
  labels: s?.xAxis?.labels
516
516
  }, classNames: {
517
517
  gridLines: f?.xAxis?.gridLines,
518
518
  labels: f?.xAxis?.labels
519
519
  }, suffix: Et, prefix: Gt, labelType: "secondary", showGridLines: !0, precision: it }) : null;
520
- const wt = Lt / 2, R = 0 - d.top + 15, m = s?.xAxis?.title, Q = f?.xAxis?.title;
521
- t[103] !== tt || t[104] !== wt || t[105] !== R || t[106] !== m || t[107] !== Q ? (M = /* @__PURE__ */ l.jsx(De, { x: wt, y: R, style: m, className: Q, text: tt }), t[103] = tt, t[104] = wt, t[105] = R, t[106] = m, t[107] = Q, t[108] = M) : M = t[108];
520
+ const wt = Lt / 2, R = 0 - h.top + 15, m = s?.xAxis?.title, q = f?.xAxis?.title;
521
+ t[103] !== tt || t[104] !== wt || t[105] !== R || t[106] !== m || t[107] !== q ? (M = /* @__PURE__ */ l.jsx(Fe, { x: wt, y: R, style: m, className: q, text: tt }), t[103] = tt, t[104] = wt, t[105] = R, t[106] = m, t[107] = q, t[108] = M) : M = t[108];
522
522
  const fe = f?.yAxis?.axis;
523
523
  let Mt;
524
524
  t[109] !== fe ? (Mt = {
@@ -528,18 +528,18 @@ function $i(e) {
528
528
  let Wt;
529
529
  t[111] !== ee ? (Wt = {
530
530
  axis: ee
531
- }, t[111] = ee, t[112] = Wt) : Wt = t[112], C = /* @__PURE__ */ l.jsx($e, { x1: n(I < 0 ? 0 : I), x2: n(I < 0 ? 0 : I), y1: -2.5, y2: lt + d.bottom, classNames: Mt, styles: Wt }), t[113] !== N ? (w = N.filter(Si).map(Fi), t[113] = N, t[114] = w) : w = t[114], $ = qe, Y = st.map((i) => b(z(i.id)) ? null : /* @__PURE__ */ l.jsxs(Vt.g, { className: "undp-viz-g-with-hover", onMouseEnter: (Z) => {
532
- p(i), ue(Z.clientY), gt(Z.clientX), xt?.(i);
531
+ }, t[111] = ee, t[112] = Wt) : Wt = t[112], C = /* @__PURE__ */ l.jsx(Te, { x1: n(I < 0 ? 0 : I), x2: n(I < 0 ? 0 : I), y1: -2.5, y2: lt + h.bottom, classNames: Mt, styles: Wt }), t[113] !== N ? (w = N.filter(Si).map(Fi), t[113] = N, t[114] = w) : w = t[114], $ = Pe, E = st.map((i) => b(z(i.id)) ? null : /* @__PURE__ */ l.jsxs(Vt.g, { className: "undp-viz-g-with-hover", onMouseEnter: (Z) => {
532
+ g(i), ue(Z.clientY), gt(Z.clientX), xt?.(i);
533
533
  }, onClick: () => {
534
- (rt || q) && (Le(at, i) && ct ? (ye(void 0), rt?.(void 0)) : (ye(i), rt?.(i)));
534
+ (rt || B) && ($e(at, i) && ct ? (ye(void 0), rt?.(void 0)) : (ye(i), rt?.(i)));
535
535
  }, onMouseMove: (Z) => {
536
- p(i), ue(Z.clientY), gt(Z.clientX);
536
+ g(i), ue(Z.clientY), gt(Z.clientX);
537
537
  }, onMouseLeave: () => {
538
- p(void 0), gt(void 0), ue(void 0), xt?.(void 0);
538
+ g(void 0), gt(void 0), ue(void 0), xt?.(void 0);
539
539
  }, exit: {
540
540
  opacity: 0,
541
541
  transition: {
542
- duration: h.duration
542
+ duration: d.duration
543
543
  }
544
544
  }, variants: {
545
545
  initial: {
@@ -552,15 +552,15 @@ function $i(e) {
552
552
  y: z(`${i.id}`),
553
553
  opacity: v.length !== 0 ? v.indexOf(i.label) !== -1 ? 0.85 : ut : 0.85,
554
554
  transition: {
555
- duration: h.duration
555
+ duration: d.duration
556
556
  }
557
557
  }
558
- }, initial: "initial", animate: W ? "whileInView" : "initial", children: [
558
+ }, initial: "initial", animate: X ? "whileInView" : "initial", children: [
559
559
  i.qualitativeRange ? i.qualitativeRange.map((Z, At) => /* @__PURE__ */ l.jsx(Vt.rect, { exit: {
560
560
  width: 0,
561
561
  x: n(0),
562
562
  transition: {
563
- duration: h.duration
563
+ duration: d.duration
564
564
  }
565
565
  }, variants: {
566
566
  initial: {
@@ -573,16 +573,16 @@ function $i(e) {
573
573
  width: n(Z),
574
574
  fill: y[At],
575
575
  transition: {
576
- duration: h.duration
576
+ duration: d.duration
577
577
  }
578
578
  }
579
- }, initial: "initial", animate: W ? "whileInView" : "initial", y: 0, height: z.bandwidth() }, At)) : null,
580
- i.target && B === "background" ? /* @__PURE__ */ l.jsx(Vt.rect, { y: 0, x: i.target >= 0 ? n(0) : n(i.target), height: z.bandwidth(), exit: {
579
+ }, initial: "initial", animate: X ? "whileInView" : "initial", y: 0, height: z.bandwidth() }, At)) : null,
580
+ i.target && P === "background" ? /* @__PURE__ */ l.jsx(Vt.rect, { y: 0, x: i.target >= 0 ? n(0) : n(i.target), height: z.bandwidth(), exit: {
581
581
  width: 0,
582
582
  x: n(0),
583
583
  fill: et,
584
584
  transition: {
585
- duration: h.duration
585
+ duration: d.duration
586
586
  }
587
587
  }, variants: {
588
588
  initial: {
@@ -595,17 +595,17 @@ function $i(e) {
595
595
  fill: et,
596
596
  width: i.target >= 0 ? n(i.target) - n(0) : n(0) - n(i.target),
597
597
  transition: {
598
- duration: h.duration
598
+ duration: d.duration
599
599
  }
600
600
  }
601
- }, initial: "initial", animate: W ? "whileInView" : "initial" }) : null,
601
+ }, initial: "initial", animate: X ? "whileInView" : "initial" }) : null,
602
602
  i.size ? /* @__PURE__ */ l.jsx(Vt.rect, { y: z.bandwidth() * ((1 - r) / 2), style: {
603
603
  fill: O
604
604
  }, height: z.bandwidth() * r, exit: {
605
605
  width: 0,
606
606
  x: n(0),
607
607
  transition: {
608
- duration: h.duration
608
+ duration: d.duration
609
609
  }
610
610
  }, variants: {
611
611
  initial: {
@@ -616,16 +616,16 @@ function $i(e) {
616
616
  x: i.size >= 0 ? n(0) : n(i.size),
617
617
  width: i.size >= 0 ? n(i.size) - n(0) : n(0) - n(i.size),
618
618
  transition: {
619
- duration: h.duration
619
+ duration: d.duration
620
620
  }
621
621
  }
622
- }, initial: "initial", animate: W ? "whileInView" : "initial" }) : null,
623
- i.target && B === "line" ? /* @__PURE__ */ l.jsx(Vt.rect, { y: 0, height: z.bandwidth(), width: P, exit: {
622
+ }, initial: "initial", animate: X ? "whileInView" : "initial" }) : null,
623
+ i.target && P === "line" ? /* @__PURE__ */ l.jsx(Vt.rect, { y: 0, height: z.bandwidth(), width: W, exit: {
624
624
  opacity: 0,
625
625
  x: n(0),
626
626
  fill: et,
627
627
  transition: {
628
- duration: h.duration
628
+ duration: d.duration
629
629
  }
630
630
  }, variants: {
631
631
  initial: {
@@ -634,22 +634,22 @@ function $i(e) {
634
634
  fill: et
635
635
  },
636
636
  whileInView: {
637
- x: n(i.target) - P / 2,
637
+ x: n(i.target) - W / 2,
638
638
  opacity: 1,
639
639
  fill: et,
640
640
  transition: {
641
- duration: h.duration
641
+ duration: d.duration
642
642
  }
643
643
  }
644
- }, initial: "initial", animate: W ? "whileInView" : "initial" }) : null,
645
- ve ? /* @__PURE__ */ l.jsx(Ke, { value: `${i.label}`.length < xe ? `${i.label}` : `${`${i.label}`.substring(0, xe)}...`, y: 0, x: (i.size || 0) < 0 ? n(0) : 0 - d.left, width: (i.size || 0) < 0 ? Ht - n(0) : n(0) + d.left, height: z.bandwidth(), alignment: i.size && i.size < 0 ? "left" : "right", style: s?.yAxis?.labels, className: f?.yAxis?.labels, animate: h, isInView: W }) : null,
646
- de ? /* @__PURE__ */ l.jsx(Vt.text, { y: z.bandwidth() / 2, style: {
644
+ }, initial: "initial", animate: X ? "whileInView" : "initial" }) : null,
645
+ ve ? /* @__PURE__ */ l.jsx(Qe, { value: `${i.label}`.length < xe ? `${i.label}` : `${`${i.label}`.substring(0, xe)}...`, y: 0, x: (i.size || 0) < 0 ? n(0) : 0 - h.left, width: (i.size || 0) < 0 ? Ht - n(0) : n(0) + h.left, height: z.bandwidth(), alignment: i.size && i.size < 0 ? "left" : "right", style: s?.yAxis?.labels, className: f?.yAxis?.labels, animate: d, isInView: X }) : null,
646
+ he ? /* @__PURE__ */ l.jsx(Vt.text, { y: z.bandwidth() / 2, style: {
647
647
  textAnchor: i.size && i.size < 0 ? "end" : "start",
648
648
  ...s?.graphObjectValues || {}
649
- }, className: Ne("graph-value text-sm", !Ot && O.length > 1 ? " fill-primary-gray-600 dark:fill-primary-gray-300" : "", f?.graphObjectValues), dx: i.size && i.size < 0 ? -5 : 5, dy: "0.33em", exit: {
649
+ }, className: Ie("graph-value text-sm", !Ot && O.length > 1 ? " fill-primary-gray-600 dark:fill-primary-gray-300" : "", f?.graphObjectValues), dx: i.size && i.size < 0 ? -5 : 5, dy: "0.33em", exit: {
650
650
  opacity: 0,
651
651
  transition: {
652
- duration: h.duration
652
+ duration: d.duration
653
653
  }
654
654
  }, variants: {
655
655
  initial: {
@@ -662,41 +662,41 @@ function $i(e) {
662
662
  opacity: 1,
663
663
  fill: Ot || O,
664
664
  transition: {
665
- duration: h.duration
665
+ duration: d.duration
666
666
  }
667
667
  }
668
- }, initial: "initial", animate: W ? "whileInView" : "initial", children: ke(i.size, ce, it, Gt, Et) }) : null
669
- ] }, i.label)), D = kt ? /* @__PURE__ */ l.jsx(l.Fragment, { children: kt.map((i, Z) => /* @__PURE__ */ l.jsx(Ge, { text: i.text, color: i.color, x: n(i.value), y1: 0 - d.top, y2: lt + d.bottom, textSide: n(i.value) > Lt * 0.75 || Ut ? "left" : "right", classNames: i.classNames, styles: i.styles, animate: h, isInView: W }, Z)) }) : null, t[33] = h, t[34] = tt, t[35] = O, t[36] = ot, t[37] = se, t[38] = f?.graphObjectValues, t[39] = f?.xAxis?.gridLines, t[40] = f?.xAxis?.labels, t[41] = f?.xAxis?.title, t[42] = f?.yAxis?.axis, t[43] = f?.yAxis?.labels, t[44] = N, t[45] = st, t[46] = q, t[47] = ut, t[48] = lt, t[49] = Lt, t[50] = re, t[51] = v, t[52] = W, t[53] = d.bottom, t[54] = d.left, t[55] = d.top, t[56] = Ct, t[57] = r, t[58] = Jt, t[59] = at, t[60] = ce, t[61] = x, t[62] = rt, t[63] = xt, t[64] = it, t[65] = Gt, t[66] = y, t[67] = kt, t[68] = ct, t[69] = Ut, t[70] = ve, t[71] = oe, t[72] = de, t[73] = s?.graphObjectValues, t[74] = s?.xAxis?.gridLines, t[75] = s?.xAxis?.labels, t[76] = s?.xAxis?.title, t[77] = s?.yAxis?.axis, t[78] = s?.yAxis?.labels, t[79] = Et, t[80] = et, t[81] = P, t[82] = B, t[83] = Kt, t[84] = xe, t[85] = Ot, t[86] = Ht, t[87] = te, t[88] = I, t[89] = $, t[90] = X, t[91] = Y, t[92] = D, t[93] = E, t[94] = G, t[95] = M, t[96] = C, t[97] = w, t[98] = V, t[99] = H, t[100] = U, t[101] = J, t[102] = K;
668
+ }, initial: "initial", animate: X ? "whileInView" : "initial", children: ke(i.size, ce, it, Gt, Et) }) : null
669
+ ] }, i.label)), D = kt ? /* @__PURE__ */ l.jsx(l.Fragment, { children: kt.map((i, Z) => /* @__PURE__ */ l.jsx(He, { text: i.text, color: i.color, x: n(i.value), y1: 0 - h.top, y2: lt + h.bottom, textSide: n(i.value) > Lt * 0.75 || Ut ? "left" : "right", classNames: i.classNames, styles: i.styles, animate: d, isInView: X }, Z)) }) : null, t[33] = d, t[34] = tt, t[35] = O, t[36] = ot, t[37] = se, t[38] = f?.graphObjectValues, t[39] = f?.xAxis?.gridLines, t[40] = f?.xAxis?.labels, t[41] = f?.xAxis?.title, t[42] = f?.yAxis?.axis, t[43] = f?.yAxis?.labels, t[44] = N, t[45] = st, t[46] = B, t[47] = ut, t[48] = lt, t[49] = Lt, t[50] = re, t[51] = v, t[52] = X, t[53] = h.bottom, t[54] = h.left, t[55] = h.top, t[56] = Ct, t[57] = r, t[58] = Jt, t[59] = at, t[60] = ce, t[61] = p, t[62] = rt, t[63] = xt, t[64] = it, t[65] = Gt, t[66] = y, t[67] = kt, t[68] = ct, t[69] = Ut, t[70] = ve, t[71] = oe, t[72] = he, t[73] = s?.graphObjectValues, t[74] = s?.xAxis?.gridLines, t[75] = s?.xAxis?.labels, t[76] = s?.xAxis?.title, t[77] = s?.yAxis?.axis, t[78] = s?.yAxis?.labels, t[79] = Et, t[80] = et, t[81] = W, t[82] = P, t[83] = Kt, t[84] = xe, t[85] = Ot, t[86] = Ht, t[87] = te, t[88] = I, t[89] = $, t[90] = Y, t[91] = E, t[92] = D, t[93] = G, t[94] = H, t[95] = M, t[96] = C, t[97] = w, t[98] = V, t[99] = U, t[100] = J, t[101] = K, t[102] = Q;
670
670
  } else
671
- $ = t[89], X = t[90], Y = t[91], D = t[92], E = t[93], G = t[94], M = t[95], C = t[96], w = t[97], V = t[98], H = t[99], U = t[100], J = t[101], K = t[102];
671
+ $ = t[89], Y = t[90], E = t[91], D = t[92], G = t[93], H = t[94], M = t[95], C = t[96], w = t[97], V = t[98], U = t[99], J = t[100], K = t[101], Q = t[102];
672
672
  let T;
673
- t[115] !== $ || t[116] !== Y || t[117] !== D ? (T = /* @__PURE__ */ l.jsxs($, { children: [
674
- Y,
673
+ t[115] !== $ || t[116] !== E || t[117] !== D ? (T = /* @__PURE__ */ l.jsxs($, { children: [
674
+ E,
675
675
  D
676
- ] }), t[115] = $, t[116] = Y, t[117] = D, t[118] = T) : T = t[118];
677
- let u;
678
- t[119] !== N ? (u = N.filter(Ti).map(Di), t[119] = N, t[120] = u) : u = t[120];
676
+ ] }), t[115] = $, t[116] = E, t[117] = D, t[118] = T) : T = t[118];
677
+ let c;
678
+ t[119] !== N ? (c = N.filter(Ti).map(Di), t[119] = N, t[120] = c) : c = t[120];
679
679
  let F;
680
- t[121] !== E || t[122] !== G || t[123] !== M || t[124] !== C || t[125] !== w || t[126] !== T || t[127] !== u ? (F = /* @__PURE__ */ l.jsxs("g", { transform: E, children: [
681
- G,
680
+ t[121] !== G || t[122] !== H || t[123] !== M || t[124] !== C || t[125] !== w || t[126] !== T || t[127] !== c ? (F = /* @__PURE__ */ l.jsxs("g", { transform: G, children: [
681
+ H,
682
682
  M,
683
683
  C,
684
684
  w,
685
685
  T,
686
- u
687
- ] }), t[121] = E, t[122] = G, t[123] = M, t[124] = C, t[125] = w, t[126] = T, t[127] = u, t[128] = F) : F = t[128];
686
+ c
687
+ ] }), t[121] = G, t[122] = H, t[123] = M, t[124] = C, t[125] = w, t[126] = T, t[127] = c, t[128] = F) : F = t[128];
688
688
  let ft;
689
- t[129] !== X || t[130] !== V || t[131] !== H || t[132] !== U || t[133] !== J || t[134] !== K || t[135] !== F ? (ft = /* @__PURE__ */ l.jsx(X, { width: V, height: H, viewBox: U, direction: J, ref: K, children: F }), t[129] = X, t[130] = V, t[131] = H, t[132] = U, t[133] = J, t[134] = K, t[135] = F, t[136] = ft) : ft = t[136];
689
+ t[129] !== Y || t[130] !== V || t[131] !== U || t[132] !== J || t[133] !== K || t[134] !== Q || t[135] !== F ? (ft = /* @__PURE__ */ l.jsx(Y, { width: V, height: U, viewBox: J, direction: K, ref: Q, children: F }), t[129] = Y, t[130] = V, t[131] = U, t[132] = J, t[133] = K, t[134] = Q, t[135] = F, t[136] = ft) : ft = t[136];
690
690
  let S;
691
- t[137] !== f?.tooltip || t[138] !== nt || t[139] !== Nt || t[140] !== Zt || t[141] !== s?.tooltip || t[142] !== dt ? (S = Zt && dt && nt && Nt ? /* @__PURE__ */ l.jsx(Ie, { data: Zt, body: dt, xPos: nt, yPos: Nt, backgroundStyle: s?.tooltip, className: f?.tooltip }) : null, t[137] = f?.tooltip, t[138] = nt, t[139] = Nt, t[140] = Zt, t[141] = s?.tooltip, t[142] = dt, t[143] = S) : S = t[143];
691
+ t[137] !== f?.tooltip || t[138] !== nt || t[139] !== Nt || t[140] !== Zt || t[141] !== s?.tooltip || t[142] !== ht ? (S = Zt && ht && nt && Nt ? /* @__PURE__ */ l.jsx(De, { data: Zt, body: ht, xPos: nt, yPos: Nt, backgroundStyle: s?.tooltip, className: f?.tooltip }) : null, t[137] = f?.tooltip, t[138] = nt, t[139] = Nt, t[140] = Zt, t[141] = s?.tooltip, t[142] = ht, t[143] = S) : S = t[143];
692
692
  let Pt;
693
- t[144] !== f?.modal || t[145] !== q || t[146] !== at ? (Pt = q && at !== void 0 ? /* @__PURE__ */ l.jsx(Te, { body: q, data: at, setData: ye, className: f?.modal }) : null, t[144] = f?.modal, t[145] = q, t[146] = at, t[147] = Pt) : Pt = t[147];
694
- let c;
695
- return t[148] !== ft || t[149] !== S || t[150] !== Pt ? (c = /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
693
+ t[144] !== f?.modal || t[145] !== B || t[146] !== at ? (Pt = B && at !== void 0 ? /* @__PURE__ */ l.jsx(Se, { body: B, data: at, setData: ye, className: f?.modal }) : null, t[144] = f?.modal, t[145] = B, t[146] = at, t[147] = Pt) : Pt = t[147];
694
+ let u;
695
+ return t[148] !== ft || t[149] !== S || t[150] !== Pt ? (u = /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
696
696
  ft,
697
697
  S,
698
698
  Pt
699
- ] }), t[148] = ft, t[149] = S, t[150] = Pt, t[151] = c) : c = t[151], c;
699
+ ] }), t[148] = ft, t[149] = S, t[150] = Pt, t[151] = u) : u = t[151], u;
700
700
  }
701
701
  function Di(e) {
702
702
  return e.layer;
@@ -793,13 +793,13 @@ function Ea(e) {
793
793
  rightMargin: Et,
794
794
  topMargin: Gt,
795
795
  bottomMargin: se,
796
- truncateBy: de,
796
+ truncateBy: he,
797
797
  showLabels: oe,
798
798
  showValues: xe,
799
799
  backgroundColor: Ht,
800
800
  suffix: re,
801
801
  prefix: ve,
802
- sources: dt,
802
+ sources: ht,
803
803
  graphDescription: xt,
804
804
  height: kt,
805
805
  width: v,
@@ -811,31 +811,31 @@ function Ea(e) {
811
811
  tooltip: Ct,
812
812
  onSeriesMouseOver: Jt,
813
813
  refValues: ct,
814
- showColorScale: q,
814
+ showColorScale: B,
815
815
  graphID: tt,
816
816
  maxValue: Ot,
817
- minValue: x,
817
+ minValue: p,
818
818
  highlightedDataPoints: s,
819
819
  onSeriesMouseClick: f,
820
- valueColor: B,
820
+ valueColor: P,
821
821
  orientation: et,
822
822
  styles: y,
823
823
  classNames: r,
824
- qualitativeRangeColors: h,
824
+ qualitativeRangeColors: d,
825
825
  targetColor: ut,
826
826
  filterNA: it,
827
827
  targetStyle: N,
828
828
  measureBarWidthFactor: ce,
829
- animate: P,
829
+ animate: W,
830
830
  dimmedOpacity: Kt,
831
831
  precision: pe,
832
832
  customLayers: Qt,
833
833
  naLabel: we,
834
834
  graphDownload: ge,
835
835
  dataDownload: L,
836
- language: W,
836
+ language: X,
837
837
  theme: Zt,
838
- sortData: p,
838
+ sortData: g,
839
839
  labelOrder: at,
840
840
  minHeight: ye,
841
841
  maxBarThickness: nt,
@@ -844,72 +844,72 @@ function Ea(e) {
844
844
  ariaLabel: ue,
845
845
  resetSelectionOnDoubleClick: me,
846
846
  detailsOnClick: _t,
847
- barAxisTitle: d,
847
+ barAxisTitle: h,
848
848
  noOfTicks: Lt,
849
849
  targetLineThickness: lt,
850
850
  timeline: yt
851
- } = e, It = le === void 0 ? ze.primaryColors["blue-600"] : le, $t = Yt === void 0 ? 0.25 : Yt, Dt = jt === void 0 ? !0 : jt, Tt = de === void 0 ? 999 : de, Ft = oe === void 0 ? !0 : oe, St = xe === void 0 ? !0 : xe, te = Ht === void 0 ? !1 : Ht, Rt = re === void 0 ? "" : re, qt = ve === void 0 ? "" : ve, Bt = q === void 0 ? !0 : q;
851
+ } = e, It = le === void 0 ? ze.primaryColors["blue-600"] : le, $t = Yt === void 0 ? 0.25 : Yt, Dt = jt === void 0 ? !0 : jt, Tt = he === void 0 ? 999 : he, Ft = oe === void 0 ? !0 : oe, St = xe === void 0 ? !0 : xe, te = Ht === void 0 ? !1 : Ht, Rt = re === void 0 ? "" : re, qt = ve === void 0 ? "" : ve, Bt = B === void 0 ? !0 : B;
852
852
  let bt;
853
853
  t[0] !== s ? (bt = s === void 0 ? [] : s, t[0] = s, t[1] = bt) : bt = t[1];
854
- const k = bt, I = et === void 0 ? "vertical" : et, mt = ut === void 0 ? ze.light.grays["gray-700"] : ut, st = it === void 0 ? !0 : it, vt = N === void 0 ? "line" : N, ot = ce === void 0 ? 0.4 : ce, $ = P === void 0 ? !1 : P, X = Kt === void 0 ? 0.3 : Kt, Y = pe === void 0 ? 2 : pe;
854
+ const k = bt, I = et === void 0 ? "vertical" : et, mt = ut === void 0 ? ze.light.grays["gray-700"] : ut, st = it === void 0 ? !0 : it, vt = N === void 0 ? "line" : N, ot = ce === void 0 ? 0.4 : ce, $ = W === void 0 ? !1 : W, Y = Kt === void 0 ? 0.3 : Kt, E = pe === void 0 ? 2 : pe;
855
855
  let D;
856
856
  t[2] !== Qt ? (D = Qt === void 0 ? [] : Qt, t[2] = Qt, t[3] = D) : D = t[3];
857
- const E = D, G = we === void 0 ? "NA" : we, M = ge === void 0 ? !1 : ge, C = L === void 0 ? !1 : L, w = W === void 0 ? "en" : W, V = Zt === void 0 ? "light" : Zt, H = ye === void 0 ? 0 : ye, U = me === void 0 ? !0 : me, J = Lt === void 0 ? 5 : Lt, K = lt === void 0 ? 2 : lt;
857
+ const G = D, H = we === void 0 ? "NA" : we, M = ge === void 0 ? !1 : ge, C = L === void 0 ? !1 : L, w = X === void 0 ? "en" : X, V = Zt === void 0 ? "light" : Zt, U = ye === void 0 ? 0 : ye, J = me === void 0 ? !0 : me, K = Lt === void 0 ? 5 : Lt, Q = lt === void 0 ? 2 : lt;
858
858
  let T;
859
859
  t[4] !== yt ? (T = yt === void 0 ? {
860
860
  enabled: !1,
861
861
  autoplay: !1,
862
862
  showOnlyActiveDate: !0
863
863
  } : yt, t[4] = yt, t[5] = T) : T = t[5];
864
- const u = T, [F, ft] = ne(0), [S, Pt] = ne(0), c = je(null), n = je(null), z = I === "horizontal" ? $i : si, [j, wt] = ne(u.autoplay);
864
+ const c = T, [F, ft] = ne(0), [S, Pt] = ne(0), u = je(null), n = je(null), z = I === "horizontal" ? $i : si, [j, wt] = ne(c.autoplay);
865
865
  let R;
866
- if (t[6] !== a || t[7] !== u.dateFormat) {
867
- let g;
868
- t[9] !== u.dateFormat ? (g = (he) => We(`${he.date}`, u.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), t[9] = u.dateFormat, t[10] = g) : g = t[10], R = [...new Set(a.filter(ha).map(g))], R.sort(fa), t[6] = a, t[7] = u.dateFormat, t[8] = R;
866
+ if (t[6] !== a || t[7] !== c.dateFormat) {
867
+ let x;
868
+ t[9] !== c.dateFormat ? (x = (de) => Xe(`${de.date}`, c.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), t[9] = c.dateFormat, t[10] = x) : x = t[10], R = [...new Set(a.filter(da).map(x))], R.sort(fa), t[6] = a, t[7] = c.dateFormat, t[8] = R;
869
869
  } else
870
870
  R = t[8];
871
- const m = R, [Q, fe] = ne(u.autoplay ? 0 : m.length - 1);
871
+ const m = R, [q, fe] = ne(c.autoplay ? 0 : m.length - 1);
872
872
  let Mt, ee;
873
873
  t[11] === Symbol.for("react.memo_cache_sentinel") ? (Mt = () => {
874
- const g = new ResizeObserver((he) => {
875
- ft(he[0].target.clientWidth || 620), Pt(he[0].target.clientHeight || 480);
874
+ const x = new ResizeObserver((de) => {
875
+ ft(de[0].target.clientWidth || 620), Pt(de[0].target.clientHeight || 480);
876
876
  });
877
- return c.current && g.observe(c.current), () => g.disconnect();
877
+ return u.current && x.observe(u.current), () => x.disconnect();
878
878
  }, ee = [], t[11] = Mt, t[12] = ee) : (Mt = t[11], ee = t[12]), Oe(Mt, ee);
879
879
  let Wt, i;
880
- t[13] !== j || t[14] !== u.speed || t[15] !== m ? (Wt = () => {
881
- const g = setInterval(() => {
882
- fe((he) => he < m.length - 1 ? he + 1 : 0);
883
- }, (u.speed || 2) * 1e3);
884
- return j || clearInterval(g), () => clearInterval(g);
885
- }, i = [m, j, u.speed], t[13] = j, t[14] = u.speed, t[15] = m, t[16] = Wt, t[17] = i) : (Wt = t[16], i = t[17]), Oe(Wt, i);
886
- const Z = u.dateFormat || "yyyy";
880
+ t[13] !== j || t[14] !== c.speed || t[15] !== m ? (Wt = () => {
881
+ const x = setInterval(() => {
882
+ fe((de) => de < m.length - 1 ? de + 1 : 0);
883
+ }, (c.speed || 2) * 1e3);
884
+ return j || clearInterval(x), () => clearInterval(x);
885
+ }, i = [m, j, c.speed], t[13] = j, t[14] = c.speed, t[15] = m, t[16] = Wt, t[17] = i) : (Wt = t[16], i = t[17]), Oe(Wt, i);
886
+ const Z = c.dateFormat || "yyyy";
887
887
  let At;
888
- t[18] !== Q || t[19] !== Z || t[20] !== u.showOnlyActiveDate || t[21] !== m ? (At = Xe(m, Q, u.showOnlyActiveDate, Z), t[18] = Q, t[19] = Z, t[20] = u.showOnlyActiveDate, t[21] = m, t[22] = At) : At = t[22];
888
+ t[18] !== q || t[19] !== Z || t[20] !== c.showOnlyActiveDate || t[21] !== m ? (At = Ye(m, q, c.showOnlyActiveDate, Z), t[18] = q, t[19] = Z, t[20] = c.showOnlyActiveDate, t[21] = m, t[22] = At) : At = t[22];
889
889
  const be = At, Me = r?.graphContainer, o = y?.graphContainer;
890
- let ht;
891
- t[23] !== r?.description || t[24] !== r?.title || t[25] !== a || t[26] !== C || t[27] !== xt || t[28] !== M || t[29] !== zt || t[30] !== y?.description || t[31] !== y?.title || t[32] !== v ? (ht = zt || xt || M || C ? /* @__PURE__ */ l.jsx(ei, { styles: {
890
+ let dt;
891
+ t[23] !== r?.description || t[24] !== r?.title || t[25] !== a || t[26] !== C || t[27] !== xt || t[28] !== M || t[29] !== zt || t[30] !== y?.description || t[31] !== y?.title || t[32] !== v ? (dt = zt || xt || M || C ? /* @__PURE__ */ l.jsx(ii, { styles: {
892
892
  title: y?.title,
893
893
  description: y?.description
894
894
  }, classNames: {
895
895
  title: r?.title,
896
896
  description: r?.description
897
- }, graphTitle: zt, graphDescription: xt, width: v, graphDownload: M ? n : void 0, dataDownload: C ? a.map(ma).filter(ua).length > 0 ? a.map(ca).filter(ra) : a.filter(oa) : null }) : null, t[23] = r?.description, t[24] = r?.title, t[25] = a, t[26] = C, t[27] = xt, t[28] = M, t[29] = zt, t[30] = y?.description, t[31] = y?.title, t[32] = v, t[33] = ht) : ht = t[33];
897
+ }, graphTitle: zt, graphDescription: xt, width: v, graphDownload: M ? n : void 0, dataDownload: C ? a.map(ma).filter(ua).length > 0 ? a.map(ca).filter(ra) : a.filter(oa) : null }) : null, t[23] = r?.description, t[24] = r?.title, t[25] = a, t[26] = C, t[27] = xt, t[28] = M, t[29] = zt, t[30] = y?.description, t[31] = y?.title, t[32] = v, t[33] = dt) : dt = t[33];
898
898
  let Xt;
899
- t[34] !== Q || t[35] !== be || t[36] !== j || t[37] !== u.enabled || t[38] !== m ? (Xt = u.enabled && m.length > 0 && be ? /* @__PURE__ */ l.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
899
+ t[34] !== q || t[35] !== be || t[36] !== j || t[37] !== c.enabled || t[38] !== m ? (Xt = c.enabled && m.length > 0 && be ? /* @__PURE__ */ l.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
900
900
  /* @__PURE__ */ l.jsx("button", { type: "button", onClick: () => {
901
901
  wt(!j);
902
902
  }, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": j ? "Click to pause animation" : "Click to play animation", children: j ? /* @__PURE__ */ l.jsx(ni, {}) : /* @__PURE__ */ l.jsx(li, {}) }),
903
- /* @__PURE__ */ l.jsx(Ye, { min: m[0], max: m[m.length - 1], marks: be, step: null, defaultValue: m[m.length - 1], value: m[Q], onChangeComplete: (g) => {
904
- fe(m.indexOf(g));
905
- }, onChange: (g) => {
906
- fe(m.indexOf(g));
903
+ /* @__PURE__ */ l.jsx(Ee, { min: m[0], max: m[m.length - 1], marks: be, step: null, defaultValue: m[m.length - 1], value: m[q], onChangeComplete: (x) => {
904
+ fe(m.indexOf(x));
905
+ }, onChange: (x) => {
906
+ fe(m.indexOf(x));
907
907
  }, "aria-label": "Time slider. Use arrow keys to adjust selected time period." })
908
- ] }) : null, t[34] = Q, t[35] = be, t[36] = j, t[37] = u.enabled, t[38] = m, t[39] = Xt) : Xt = t[39];
908
+ ] }) : null, t[34] = q, t[35] = be, t[36] = j, t[37] = c.enabled, t[38] = m, t[39] = Xt) : Xt = t[39];
909
909
  let ie;
910
- t[40] !== z || t[41] !== $ || t[42] !== d || t[43] !== It || t[44] !== $t || t[45] !== se || t[46] !== r || t[47] !== _ || t[48] !== rt || t[49] !== E || t[50] !== a || t[51] !== _t || t[52] !== X || t[53] !== st || t[54] !== k || t[55] !== Q || t[56] !== at || t[57] !== w || t[58] !== O || t[59] !== nt || t[60] !== gt || t[61] !== Ot || t[62] !== ot || t[63] !== Nt || t[64] !== x || t[65] !== G || t[66] !== J || t[67] !== f || t[68] !== Jt || t[69] !== I || t[70] !== Y || t[71] !== qt || t[72] !== h || t[73] !== ct || t[74] !== U || t[75] !== Et || t[76] !== Bt || t[77] !== Ft || t[78] !== Dt || t[79] !== St || t[80] !== p || t[81] !== y || t[82] !== Rt || t[83] !== S || t[84] !== F || t[85] !== mt || t[86] !== K || t[87] !== vt || t[88] !== V || t[89] !== u.dateFormat || t[90] !== u.enabled || t[91] !== Ct || t[92] !== Gt || t[93] !== Tt || t[94] !== m || t[95] !== B || t[96] !== v ? (ie = /* @__PURE__ */ l.jsx("div", { className: "grow flex flex-col justify-center gap-3 w-full", children: a.length === 0 ? /* @__PURE__ */ l.jsx(Qe, {}) : /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
911
- Bt && a.filter(sa).length !== 0 && _ ? /* @__PURE__ */ l.jsx(ii, { width: v, colorLegendTitle: rt, colors: h || ze[V].sequentialColors.positiveColorsx10, colorDomain: _, showNAColor: !1, className: r?.colorLegend }) : null,
912
- /* @__PURE__ */ l.jsx(Ze, { ref: c, children: F && S ? /* @__PURE__ */ l.jsx(z, { data: p ? Be(ai(a, u.dateFormat || "yyyy").filter((g) => u.enabled ? g.date === Pe(new Date(m[Q]), u.dateFormat || "yyyy") : g).filter((g) => st ? !b(g.size) : g), [(g) => g.size === void 0 ? p === "asc" ? (I === "horizontal" ? 1 : -1) * (1 / 0) : (I === "horizontal" ? -1 : 1) * (1 / 0) : g.size], [p]).filter((g, he) => gt ? he < gt : !0) : a.filter((g) => st ? !b(g.size) : g).filter((g, he) => gt ? he < gt : !0), barColor: It, targetColor: mt, width: F, refValues: ct, height: S, suffix: Rt, prefix: qt, barPadding: $t, showLabels: Ft, showValues: St, showTicks: Dt, truncateBy: Tt, leftMargin: O, rightMargin: Et, qualitativeRangeColors: h || ze[V].sequentialColors.positiveColorsx10, topMargin: Gt, bottomMargin: se, tooltip: Ct, onSeriesMouseOver: Jt, maxValue: Ot, minValue: x, highlightedDataPoints: k, onSeriesMouseClick: f, labelOrder: at, maxBarThickness: nt, minBarThickness: Nt, resetSelectionOnDoubleClick: U, detailsOnClick: _t, barAxisTitle: d, noOfTicks: J, valueColor: B, styles: y, classNames: r, targetStyle: vt, dimmedOpacity: X, measureBarWidthFactor: ot, animate: $ === !0 ? {
910
+ t[40] !== z || t[41] !== $ || t[42] !== h || t[43] !== It || t[44] !== $t || t[45] !== se || t[46] !== r || t[47] !== _ || t[48] !== rt || t[49] !== G || t[50] !== a || t[51] !== _t || t[52] !== Y || t[53] !== st || t[54] !== k || t[55] !== q || t[56] !== at || t[57] !== w || t[58] !== O || t[59] !== nt || t[60] !== gt || t[61] !== Ot || t[62] !== ot || t[63] !== Nt || t[64] !== p || t[65] !== H || t[66] !== K || t[67] !== f || t[68] !== Jt || t[69] !== I || t[70] !== E || t[71] !== qt || t[72] !== d || t[73] !== ct || t[74] !== J || t[75] !== Et || t[76] !== Bt || t[77] !== Ft || t[78] !== Dt || t[79] !== St || t[80] !== g || t[81] !== y || t[82] !== Rt || t[83] !== S || t[84] !== F || t[85] !== mt || t[86] !== Q || t[87] !== vt || t[88] !== V || t[89] !== c.dateFormat || t[90] !== c.enabled || t[91] !== Ct || t[92] !== Gt || t[93] !== Tt || t[94] !== m || t[95] !== P || t[96] !== v ? (ie = /* @__PURE__ */ l.jsx("div", { className: "grow flex flex-col justify-center gap-3 w-full", children: a.length === 0 ? /* @__PURE__ */ l.jsx(Ze, {}) : /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
911
+ Bt && a.filter(sa).length !== 0 && _ ? /* @__PURE__ */ l.jsx(ai, { width: v, colorLegendTitle: rt, colors: d || ze[V].sequentialColors.positiveColorsx10, colorDomain: _, showNAColor: !1, className: r?.colorLegend }) : null,
912
+ /* @__PURE__ */ l.jsx(_e, { ref: u, children: F && S ? /* @__PURE__ */ l.jsx(z, { data: g ? We(Le(a, c.dateFormat || "yyyy").filter((x) => c.enabled ? x.date === Ne(new Date(m[q]), c.dateFormat || "yyyy") : x).filter((x) => st ? !b(x.size) : x), [(x) => x.size === void 0 ? g === "asc" ? (I === "horizontal" ? 1 : -1) * (1 / 0) : (I === "horizontal" ? -1 : 1) * (1 / 0) : x.size], [g]).filter((x, de) => gt ? de < gt : !0) : Le(a, c.dateFormat || "yyyy").filter((x) => c.enabled ? x.date === Ne(new Date(m[q]), c.dateFormat || "yyyy") : x).filter((x) => st ? !b(x.size) : x).filter((x, de) => gt ? de < gt : !0), barColor: It, targetColor: mt, width: F, refValues: ct, height: S, suffix: Rt, prefix: qt, barPadding: $t, showLabels: Ft, showValues: St, showTicks: Dt, truncateBy: Tt, leftMargin: O, rightMargin: Et, qualitativeRangeColors: d || ze[V].sequentialColors.positiveColorsx10, topMargin: Gt, bottomMargin: se, tooltip: Ct, onSeriesMouseOver: Jt, maxValue: Ot, minValue: p, highlightedDataPoints: k, onSeriesMouseClick: f, labelOrder: at, maxBarThickness: nt, minBarThickness: Nt, resetSelectionOnDoubleClick: J, detailsOnClick: _t, barAxisTitle: h, noOfTicks: K, valueColor: P, styles: y, classNames: r, targetStyle: vt, dimmedOpacity: Y, measureBarWidthFactor: ot, animate: $ === !0 ? {
913
913
  duration: 0.5,
914
914
  once: !0,
915
915
  amount: 0.5
@@ -917,23 +917,23 @@ function Ea(e) {
917
917
  duration: 0,
918
918
  once: !0,
919
919
  amount: 0
920
- }, precision: Y, customLayers: E, naLabel: G, targetLineThickness: K, rtl: w === "ar" || w === "he" }) : null })
921
- ] }) }), t[40] = z, t[41] = $, t[42] = d, t[43] = It, t[44] = $t, t[45] = se, t[46] = r, t[47] = _, t[48] = rt, t[49] = E, t[50] = a, t[51] = _t, t[52] = X, t[53] = st, t[54] = k, t[55] = Q, t[56] = at, t[57] = w, t[58] = O, t[59] = nt, t[60] = gt, t[61] = Ot, t[62] = ot, t[63] = Nt, t[64] = x, t[65] = G, t[66] = J, t[67] = f, t[68] = Jt, t[69] = I, t[70] = Y, t[71] = qt, t[72] = h, t[73] = ct, t[74] = U, t[75] = Et, t[76] = Bt, t[77] = Ft, t[78] = Dt, t[79] = St, t[80] = p, t[81] = y, t[82] = Rt, t[83] = S, t[84] = F, t[85] = mt, t[86] = K, t[87] = vt, t[88] = V, t[89] = u.dateFormat, t[90] = u.enabled, t[91] = Ct, t[92] = Gt, t[93] = Tt, t[94] = m, t[95] = B, t[96] = v, t[97] = ie) : ie = t[97];
920
+ }, precision: E, customLayers: G, naLabel: H, targetLineThickness: Q, rtl: w === "ar" || w === "he" }) : null })
921
+ ] }) }), t[40] = z, t[41] = $, t[42] = h, t[43] = It, t[44] = $t, t[45] = se, t[46] = r, t[47] = _, t[48] = rt, t[49] = G, t[50] = a, t[51] = _t, t[52] = Y, t[53] = st, t[54] = k, t[55] = q, t[56] = at, t[57] = w, t[58] = O, t[59] = nt, t[60] = gt, t[61] = Ot, t[62] = ot, t[63] = Nt, t[64] = p, t[65] = H, t[66] = K, t[67] = f, t[68] = Jt, t[69] = I, t[70] = E, t[71] = qt, t[72] = d, t[73] = ct, t[74] = J, t[75] = Et, t[76] = Bt, t[77] = Ft, t[78] = Dt, t[79] = St, t[80] = g, t[81] = y, t[82] = Rt, t[83] = S, t[84] = F, t[85] = mt, t[86] = Q, t[87] = vt, t[88] = V, t[89] = c.dateFormat, t[90] = c.enabled, t[91] = Ct, t[92] = Gt, t[93] = Tt, t[94] = m, t[95] = P, t[96] = v, t[97] = ie) : ie = t[97];
922
922
  let ae;
923
- t[98] !== r?.footnote || t[99] !== r?.source || t[100] !== pt || t[101] !== dt || t[102] !== y?.footnote || t[103] !== y?.source || t[104] !== v ? (ae = dt || pt ? /* @__PURE__ */ l.jsx(ti, { styles: {
923
+ t[98] !== r?.footnote || t[99] !== r?.source || t[100] !== pt || t[101] !== ht || t[102] !== y?.footnote || t[103] !== y?.source || t[104] !== v ? (ae = ht || pt ? /* @__PURE__ */ l.jsx(ei, { styles: {
924
924
  footnote: y?.footnote,
925
925
  source: y?.source
926
926
  }, classNames: {
927
927
  footnote: r?.footnote,
928
928
  source: r?.source
929
- }, sources: dt, footNote: pt, width: v }) : null, t[98] = r?.footnote, t[99] = r?.source, t[100] = pt, t[101] = dt, t[102] = y?.footnote, t[103] = y?.source, t[104] = v, t[105] = ae) : ae = t[105];
929
+ }, sources: ht, footNote: pt, width: v }) : null, t[98] = r?.footnote, t[99] = r?.source, t[100] = pt, t[101] = ht, t[102] = y?.footnote, t[103] = y?.source, t[104] = v, t[105] = ae) : ae = t[105];
930
930
  let Ve;
931
- return t[106] !== ue || t[107] !== te || t[108] !== tt || t[109] !== kt || t[110] !== w || t[111] !== H || t[112] !== A || t[113] !== Ut || t[114] !== Me || t[115] !== o || t[116] !== ht || t[117] !== Xt || t[118] !== ie || t[119] !== ae || t[120] !== V || t[121] !== v ? (Ve = /* @__PURE__ */ l.jsxs(_e, { className: Me, style: o, id: tt, ref: n, "aria-label": ue, backgroundColor: te, theme: V, language: w, minHeight: H, width: v, height: kt, relativeHeight: Ut, padding: A, children: [
932
- ht,
931
+ return t[106] !== ue || t[107] !== te || t[108] !== tt || t[109] !== kt || t[110] !== w || t[111] !== U || t[112] !== A || t[113] !== Ut || t[114] !== Me || t[115] !== o || t[116] !== dt || t[117] !== Xt || t[118] !== ie || t[119] !== ae || t[120] !== V || t[121] !== v ? (Ve = /* @__PURE__ */ l.jsxs(ti, { className: Me, style: o, id: tt, ref: n, "aria-label": ue, backgroundColor: te, theme: V, language: w, minHeight: U, width: v, height: kt, relativeHeight: Ut, padding: A, children: [
932
+ dt,
933
933
  Xt,
934
934
  ie,
935
935
  ae
936
- ] }), t[106] = ue, t[107] = te, t[108] = tt, t[109] = kt, t[110] = w, t[111] = H, t[112] = A, t[113] = Ut, t[114] = Me, t[115] = o, t[116] = ht, t[117] = Xt, t[118] = ie, t[119] = ae, t[120] = V, t[121] = v, t[122] = Ve) : Ve = t[122], Ve;
936
+ ] }), t[106] = ue, t[107] = te, t[108] = tt, t[109] = kt, t[110] = w, t[111] = U, t[112] = A, t[113] = Ut, t[114] = Me, t[115] = o, t[116] = dt, t[117] = Xt, t[118] = ie, t[119] = ae, t[120] = V, t[121] = v, t[122] = Ve) : Ve = t[122], Ve;
937
937
  }
938
938
  function sa(e) {
939
939
  return e.qualitativeRange;
@@ -956,7 +956,7 @@ function ma(e) {
956
956
  function fa(e, t) {
957
957
  return e - t;
958
958
  }
959
- function ha(e) {
959
+ function da(e) {
960
960
  return e.date;
961
961
  }
962
962
  export {