@undp/data-viz 2.4.1 → 2.5.1

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 (271) hide show
  1. package/dist/AreaChart.cjs +1 -1
  2. package/dist/AreaChart.cjs.map +1 -1
  3. package/dist/AreaChart.d.ts +11 -9
  4. package/dist/AreaChart.js +320 -322
  5. package/dist/AreaChart.js.map +1 -1
  6. package/dist/BarGraph.cjs +1 -1
  7. package/dist/BarGraph.cjs.map +1 -1
  8. package/dist/BarGraph.d.ts +15 -25
  9. package/dist/BarGraph.js +1694 -1694
  10. package/dist/BarGraph.js.map +1 -1
  11. package/dist/BasicStatCard.cjs +1 -1
  12. package/dist/BasicStatCard.cjs.map +1 -1
  13. package/dist/BasicStatCard.d.ts +13 -9
  14. package/dist/BasicStatCard.js +79 -81
  15. package/dist/BasicStatCard.js.map +1 -1
  16. package/dist/BeeSwarmChart.cjs +1 -1
  17. package/dist/BeeSwarmChart.cjs.map +1 -1
  18. package/dist/BeeSwarmChart.d.ts +11 -9
  19. package/dist/BeeSwarmChart.js +335 -336
  20. package/dist/BeeSwarmChart.js.map +1 -1
  21. package/dist/BiVariateChoroplethMap.cjs +1 -1
  22. package/dist/BiVariateChoroplethMap.cjs.map +1 -1
  23. package/dist/BiVariateChoroplethMap.d.ts +13 -3
  24. package/dist/BiVariateChoroplethMap.js +309 -304
  25. package/dist/BiVariateChoroplethMap.js.map +1 -1
  26. package/dist/BulletChart.cjs +1 -1
  27. package/dist/BulletChart.cjs.map +1 -1
  28. package/dist/BulletChart.d.ts +11 -5
  29. package/dist/BulletChart.js +560 -559
  30. package/dist/BulletChart.js.map +1 -1
  31. package/dist/ButterflyChart.cjs +1 -1
  32. package/dist/ButterflyChart.cjs.map +1 -1
  33. package/dist/ButterflyChart.d.ts +11 -9
  34. package/dist/ButterflyChart.js +348 -350
  35. package/dist/ButterflyChart.js.map +1 -1
  36. package/dist/ChoroplethMap.cjs +1 -1
  37. package/dist/ChoroplethMap.cjs.map +1 -1
  38. package/dist/ChoroplethMap.d.ts +11 -3
  39. package/dist/ChoroplethMap.js +314 -311
  40. package/dist/ChoroplethMap.js.map +1 -1
  41. package/dist/CirclePackingGraph.cjs +1 -1
  42. package/dist/CirclePackingGraph.d.ts +11 -9
  43. package/dist/CirclePackingGraph.js +1 -1
  44. package/dist/DataCards.cjs +1 -1
  45. package/dist/DataCards.d.ts +1 -1
  46. package/dist/DataCards.js +1 -1
  47. package/dist/DataTable.cjs +1 -1
  48. package/dist/DataTable.cjs.map +1 -1
  49. package/dist/DataTable.d.ts +4 -5
  50. package/dist/DataTable.js +114 -116
  51. package/dist/DataTable.js.map +1 -1
  52. package/dist/{DetailsModal-jmmKRMRM.cjs → DetailsModal-Du8Fr1QD.cjs} +2 -2
  53. package/dist/{DetailsModal-jmmKRMRM.cjs.map → DetailsModal-Du8Fr1QD.cjs.map} +1 -1
  54. package/dist/{DetailsModal-B2XBWR7w.js → DetailsModal-GqEbGHY2.js} +2 -2
  55. package/dist/{DetailsModal-B2XBWR7w.js.map → DetailsModal-GqEbGHY2.js.map} +1 -1
  56. package/dist/DifferenceLineChart.cjs +1 -1
  57. package/dist/DifferenceLineChart.cjs.map +1 -1
  58. package/dist/DifferenceLineChart.d.ts +11 -9
  59. package/dist/DifferenceLineChart.js +502 -504
  60. package/dist/DifferenceLineChart.js.map +1 -1
  61. package/dist/DonutChart.cjs +1 -1
  62. package/dist/DonutChart.cjs.map +1 -1
  63. package/dist/DonutChart.d.ts +14 -9
  64. package/dist/DonutChart.js +174 -179
  65. package/dist/DonutChart.js.map +1 -1
  66. package/dist/DotDensityMap.cjs +1 -1
  67. package/dist/DotDensityMap.cjs.map +1 -1
  68. package/dist/DotDensityMap.d.ts +1 -1
  69. package/dist/DotDensityMap.js +270 -267
  70. package/dist/DotDensityMap.js.map +1 -1
  71. package/dist/DualAxisLineChart.cjs +1 -1
  72. package/dist/DualAxisLineChart.cjs.map +1 -1
  73. package/dist/DualAxisLineChart.d.ts +13 -9
  74. package/dist/DualAxisLineChart.js +341 -351
  75. package/dist/DualAxisLineChart.js.map +1 -1
  76. package/dist/DumbbellChart.cjs +1 -1
  77. package/dist/DumbbellChart.cjs.map +1 -1
  78. package/dist/DumbbellChart.d.ts +11 -9
  79. package/dist/DumbbellChart.js +592 -593
  80. package/dist/DumbbellChart.js.map +1 -1
  81. package/dist/GeoHubCompareMaps.cjs +1 -1
  82. package/dist/GeoHubCompareMaps.d.ts +1 -1
  83. package/dist/GeoHubCompareMaps.js +1 -1
  84. package/dist/GeoHubMap.cjs +1 -1
  85. package/dist/GeoHubMap.d.ts +1 -1
  86. package/dist/GeoHubMap.js +1 -1
  87. package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
  88. package/dist/GeoHubMapWithLayerSelection.d.ts +1 -1
  89. package/dist/GeoHubMapWithLayerSelection.js +1 -1
  90. package/dist/GraphEl-BgkDbq50.cjs +2 -0
  91. package/dist/GraphEl-BgkDbq50.cjs.map +1 -0
  92. package/dist/GraphEl-Ch0uAeZw.js +1830 -0
  93. package/dist/GraphEl-Ch0uAeZw.js.map +1 -0
  94. package/dist/GriddedGraphs.cjs +1 -1
  95. package/dist/GriddedGraphs.d.ts +29 -16
  96. package/dist/GriddedGraphs.js +1 -1
  97. package/dist/GriddedGraphsFromConfig.d.ts +29 -16
  98. package/dist/HeatMap.cjs +1 -1
  99. package/dist/HeatMap.cjs.map +1 -1
  100. package/dist/HeatMap.d.ts +11 -9
  101. package/dist/HeatMap.js +203 -205
  102. package/dist/HeatMap.js.map +1 -1
  103. package/dist/Histogram.cjs +1 -1
  104. package/dist/Histogram.cjs.map +1 -1
  105. package/dist/Histogram.d.ts +11 -5
  106. package/dist/Histogram.js +88 -89
  107. package/dist/Histogram.js.map +1 -1
  108. package/dist/HybridMap.cjs +1 -1
  109. package/dist/HybridMap.cjs.map +1 -1
  110. package/dist/HybridMap.d.ts +11 -3
  111. package/dist/HybridMap.js +339 -336
  112. package/dist/HybridMap.js.map +1 -1
  113. package/dist/ImageDownloadButton.cjs +1 -1
  114. package/dist/ImageDownloadButton.js +1 -1
  115. package/dist/LineChartWithConfidenceInterval.cjs +1 -1
  116. package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
  117. package/dist/LineChartWithConfidenceInterval.d.ts +11 -9
  118. package/dist/LineChartWithConfidenceInterval.js +393 -395
  119. package/dist/LineChartWithConfidenceInterval.js.map +1 -1
  120. package/dist/LinearColorLegend.cjs +1 -1
  121. package/dist/LinearColorLegend.js +1 -1
  122. package/dist/MultiGraphDashboard.d.ts +29 -16
  123. package/dist/MultiGraphDashboardFromConfig.d.ts +29 -16
  124. package/dist/MultiGraphDashboardWideToLongFormat.d.ts +1 -1
  125. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.d.ts +1 -1
  126. package/dist/MultiLineAltChart.cjs +1 -1
  127. package/dist/MultiLineAltChart.cjs.map +1 -1
  128. package/dist/MultiLineAltChart.d.ts +11 -9
  129. package/dist/MultiLineAltChart.js +411 -413
  130. package/dist/MultiLineAltChart.js.map +1 -1
  131. package/dist/MultiLineChart.cjs +1 -1
  132. package/dist/MultiLineChart.cjs.map +1 -1
  133. package/dist/MultiLineChart.d.ts +11 -9
  134. package/dist/MultiLineChart.js +438 -440
  135. package/dist/MultiLineChart.js.map +1 -1
  136. package/dist/ParetoChart.cjs +1 -1
  137. package/dist/ParetoChart.cjs.map +1 -1
  138. package/dist/ParetoChart.d.ts +13 -13
  139. package/dist/ParetoChart.js +347 -355
  140. package/dist/ParetoChart.js.map +1 -1
  141. package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +29 -16
  142. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +29 -16
  143. package/dist/PerformanceIntensiveScrollStory.d.ts +29 -16
  144. package/dist/RadarChart.cjs +1 -1
  145. package/dist/RadarChart.cjs.map +1 -1
  146. package/dist/RadarChart.d.ts +11 -5
  147. package/dist/RadarChart.js +213 -213
  148. package/dist/RadarChart.js.map +1 -1
  149. package/dist/SankeyChart.cjs +1 -1
  150. package/dist/SankeyChart.cjs.map +1 -1
  151. package/dist/SankeyChart.d.ts +11 -9
  152. package/dist/SankeyChart.js +448 -450
  153. package/dist/SankeyChart.js.map +1 -1
  154. package/dist/ScatterPlot.cjs +1 -1
  155. package/dist/ScatterPlot.cjs.map +1 -1
  156. package/dist/ScatterPlot.d.ts +15 -13
  157. package/dist/ScatterPlot.js +477 -483
  158. package/dist/ScatterPlot.js.map +1 -1
  159. package/dist/ScrollStory.d.ts +29 -16
  160. package/dist/SimpleLineChart.cjs +1 -1
  161. package/dist/SimpleLineChart.cjs.map +1 -1
  162. package/dist/SimpleLineChart.d.ts +11 -9
  163. package/dist/SimpleLineChart.js +362 -364
  164. package/dist/SimpleLineChart.js.map +1 -1
  165. package/dist/SingleGraphDashboard.cjs +1 -1
  166. package/dist/SingleGraphDashboard.d.ts +29 -16
  167. package/dist/SingleGraphDashboard.js +1 -1
  168. package/dist/SingleGraphDashboardFromConfig.d.ts +29 -16
  169. package/dist/SingleGraphDashboardGeoHubMaps.d.ts +29 -16
  170. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +29 -16
  171. package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
  172. package/dist/SingleGraphDashboardThreeDGraphs.cjs.map +1 -1
  173. package/dist/SingleGraphDashboardThreeDGraphs.d.ts +29 -16
  174. package/dist/SingleGraphDashboardThreeDGraphs.js +40 -39
  175. package/dist/SingleGraphDashboardThreeDGraphs.js.map +1 -1
  176. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +29 -16
  177. package/dist/SlopeChart.cjs +1 -1
  178. package/dist/SlopeChart.d.ts +1 -1
  179. package/dist/SlopeChart.js +2 -2
  180. package/dist/SparkLine.cjs +1 -1
  181. package/dist/SparkLine.d.ts +1 -1
  182. package/dist/SparkLine.js +1 -1
  183. package/dist/StatCardFromData.cjs +1 -1
  184. package/dist/StatCardFromData.cjs.map +1 -1
  185. package/dist/StatCardFromData.d.ts +11 -9
  186. package/dist/StatCardFromData.js +113 -116
  187. package/dist/StatCardFromData.js.map +1 -1
  188. package/dist/StripChart.cjs +1 -1
  189. package/dist/StripChart.cjs.map +1 -1
  190. package/dist/StripChart.d.ts +11 -9
  191. package/dist/StripChart.js +434 -435
  192. package/dist/StripChart.js.map +1 -1
  193. package/dist/ThreeDGlobe.cjs +1 -1
  194. package/dist/ThreeDGlobe.cjs.map +1 -1
  195. package/dist/ThreeDGlobe.d.ts +11 -3
  196. package/dist/ThreeDGlobe.js +143 -143
  197. package/dist/ThreeDGlobe.js.map +1 -1
  198. package/dist/ThresholdColorLegendWithMouseOver.cjs +1 -1
  199. package/dist/ThresholdColorLegendWithMouseOver.js +1 -1
  200. package/dist/{Tooltip-Bj-s__cI.js → Tooltip-3EYDVa3w.js} +2 -2
  201. package/dist/{Tooltip-Bj-s__cI.js.map → Tooltip-3EYDVa3w.js.map} +1 -1
  202. package/dist/{Tooltip-Hr46paWP.cjs → Tooltip-C9F3uYG0.cjs} +2 -2
  203. package/dist/{Tooltip-Hr46paWP.cjs.map → Tooltip-C9F3uYG0.cjs.map} +1 -1
  204. package/dist/TreeMapGraph.cjs +1 -1
  205. package/dist/TreeMapGraph.cjs.map +1 -1
  206. package/dist/TreeMapGraph.d.ts +11 -9
  207. package/dist/TreeMapGraph.js +369 -371
  208. package/dist/TreeMapGraph.js.map +1 -1
  209. package/dist/Types.d.ts +29 -16
  210. package/dist/UnitChart.cjs +1 -1
  211. package/dist/UnitChart.cjs.map +1 -1
  212. package/dist/UnitChart.d.ts +11 -5
  213. package/dist/UnitChart.js +118 -119
  214. package/dist/UnitChart.js.map +1 -1
  215. package/dist/WaterfallChart.cjs +1 -1
  216. package/dist/WaterfallChart.cjs.map +1 -1
  217. package/dist/WaterfallChart.d.ts +11 -9
  218. package/dist/WaterfallChart.js +306 -308
  219. package/dist/WaterfallChart.js.map +1 -1
  220. package/dist/XTicksAndGridLines-B4UhDVyU.cjs +2 -0
  221. package/dist/XTicksAndGridLines-B4UhDVyU.cjs.map +1 -0
  222. package/dist/XTicksAndGridLines-CkYwVshF.js +40 -0
  223. package/dist/XTicksAndGridLines-CkYwVshF.js.map +1 -0
  224. package/dist/YTicksAndGridLines-BbujwxOB.js +40 -0
  225. package/dist/YTicksAndGridLines-BbujwxOB.js.map +1 -0
  226. package/dist/YTicksAndGridLines-sT3zdCs6.cjs +2 -0
  227. package/dist/YTicksAndGridLines-sT3zdCs6.cjs.map +1 -0
  228. package/dist/{imageDownload-Diofs_vY.js → imageDownload-BYsNEtMS.js} +11 -11
  229. package/dist/{imageDownload-Diofs_vY.js.map → imageDownload-BYsNEtMS.js.map} +1 -1
  230. package/dist/{imageDownload-61q6jyJW.cjs → imageDownload-CkMwA7Cw.cjs} +4 -4
  231. package/dist/{imageDownload-61q6jyJW.cjs.map → imageDownload-CkMwA7Cw.cjs.map} +1 -1
  232. package/dist/index-BPyj_6hG.js +375 -0
  233. package/dist/index-BPyj_6hG.js.map +1 -0
  234. package/dist/index-DuLvdHo2.cjs +2 -0
  235. package/dist/index-DuLvdHo2.cjs.map +1 -0
  236. package/dist/index.cjs +1 -1
  237. package/dist/index.d.ts +108 -245
  238. package/dist/index.js +3 -3
  239. package/dist/numberFormattingFunction-BUUV_luR.js +28 -0
  240. package/dist/numberFormattingFunction-BUUV_luR.js.map +1 -0
  241. package/dist/numberFormattingFunction-u2iNHL_c.cjs +2 -0
  242. package/dist/numberFormattingFunction-u2iNHL_c.cjs.map +1 -0
  243. package/dist/{string2HTML-ZoGd08P_.cjs → string2HTML-30nfIm8R.cjs} +2 -2
  244. package/dist/{string2HTML-ZoGd08P_.cjs.map → string2HTML-30nfIm8R.cjs.map} +1 -1
  245. package/dist/{string2HTML-BrFperRM.js → string2HTML-DL-pInUB.js} +2 -2
  246. package/dist/{string2HTML-BrFperRM.js.map → string2HTML-DL-pInUB.js.map} +1 -1
  247. package/dist/style.css +1 -1
  248. package/dist/utils.cjs +1 -1
  249. package/dist/utils.d.ts +1 -1
  250. package/dist/utils.js +2 -2
  251. package/package.json +2 -2
  252. package/dist/GraphEl-B73N4RIA.js +0 -1906
  253. package/dist/GraphEl-B73N4RIA.js.map +0 -1
  254. package/dist/GraphEl-Lt1og0C-.cjs +0 -2
  255. package/dist/GraphEl-Lt1og0C-.cjs.map +0 -1
  256. package/dist/XTicksAndGridLines-C5DuC5oY.cjs +0 -2
  257. package/dist/XTicksAndGridLines-C5DuC5oY.cjs.map +0 -1
  258. package/dist/XTicksAndGridLines-gdbGX2rm.js +0 -39
  259. package/dist/XTicksAndGridLines-gdbGX2rm.js.map +0 -1
  260. package/dist/YTicksAndGridLines-CsNSq9W9.js +0 -39
  261. package/dist/YTicksAndGridLines-CsNSq9W9.js.map +0 -1
  262. package/dist/YTicksAndGridLines-DFjm8RCc.cjs +0 -2
  263. package/dist/YTicksAndGridLines-DFjm8RCc.cjs.map +0 -1
  264. package/dist/index-B0Awa_de.js +0 -377
  265. package/dist/index-B0Awa_de.js.map +0 -1
  266. package/dist/index-CP8cmNzt.cjs +0 -2
  267. package/dist/index-CP8cmNzt.cjs.map +0 -1
  268. package/dist/numberFormattingFunction-Cn9R7CM9.cjs +0 -2
  269. package/dist/numberFormattingFunction-Cn9R7CM9.cjs.map +0 -1
  270. package/dist/numberFormattingFunction-DqMf_v1m.js +0 -28
  271. package/dist/numberFormattingFunction-DqMf_v1m.js.map +0 -1
@@ -1,436 +1,439 @@
1
1
  import { j as o, m as bt, c as Et } from "./index-CHPV5EwG-BzibaIRc.js";
2
- import { useMemo as Dt, useState as D, useRef as $e, useEffect as Ie, useEffectEvent as jt } from "react";
3
- import { f as Bt, p as _t } from "./parse-Dv4of-PN.js";
4
- import { g as It, N as $t } from "./getSliderMarks-X-_goqH9.js";
5
- import { w as Pt } from "./Spinner-B2IIKg9r.js";
6
- import { i as zt } from "./index-Bwrro8-q.js";
7
- import { i as wt, z as Wt, a as Lt, g as Vt, b as At, c as Ft, d as Rt, e as Tt, f as Gt } from "./index-CKpKc9DR.js";
2
+ import { useMemo as Dt, useState as w, useRef as ze, useEffect as $e, useEffectEvent as wt } from "react";
3
+ import { f as Bt, p as It } from "./parse-Dv4of-PN.js";
4
+ import { g as _t, N as $t } from "./getSliderMarks-X-_goqH9.js";
5
+ import { w as zt } from "./Spinner-B2IIKg9r.js";
6
+ import { i as Pt } from "./index-Bwrro8-q.js";
7
+ import { i as jt, z as Wt, a as Lt, g as Vt, b as At, c as Ft, d as Rt, e as Tt, f as Gt } from "./index-CKpKc9DR.js";
8
8
  import { _ as Ut } from "./Typography-BO0gQDIT.js";
9
9
  import { i as Ht } from "./index-DCsFBfJ_.js";
10
- import { T as qt } from "./Tooltip-Bj-s__cI.js";
11
- import { Colors as w } from "./Colors.js";
10
+ import { T as qt } from "./Tooltip-3EYDVa3w.js";
11
+ import { Colors as C } from "./Colors.js";
12
12
  import { X as Xt, E as Yt, P as Kt, e as Zt } from "./index-ApTBN0kp.js";
13
- import { D as Jt } from "./DetailsModal-B2XBWR7w.js";
14
- import { s as Qt } from "./pow-BXYLJHCq.js";
13
+ import { D as Jt } from "./DetailsModal-GqEbGHY2.js";
14
+ import { ImageDownloadButton as Qt } from "./ImageDownloadButton.js";
15
+ import { s as eo } from "./pow-BXYLJHCq.js";
15
16
  import { s as vt } from "./select-DKy99ogv.js";
16
- import { m as nt } from "./proxy-BsxtcZKa.js";
17
- import { u as eo } from "./use-in-view-KOXq5Kmc.js";
18
- import { A as to } from "./index-Cv_5q6Rb.js";
19
- import { GraphFooter as oo } from "./GraphFooter.js";
20
- import { GraphHeader as ao } from "./GraphHeader.js";
17
+ import { m as it } from "./proxy-BsxtcZKa.js";
18
+ import { u as to } from "./use-in-view-KOXq5Kmc.js";
19
+ import { A as oo } from "./index-Cv_5q6Rb.js";
20
+ import { GraphFooter as ao } from "./GraphFooter.js";
21
+ import { GraphHeader as ro } from "./GraphHeader.js";
21
22
  import { f as Ct } from "./fetchAndParseData-BAXhgTDM.js";
22
- import { c as ro } from "./checkIfNullOrUndefined-DmfiKkNw.js";
23
- import { u as no } from "./uniqBy-BHy4I8PK.js";
24
- import { a as io, G as lo } from "./GraphContainer-B8ZqOzKI.js";
25
- function so(n) {
23
+ import { c as no } from "./checkIfNullOrUndefined-DmfiKkNw.js";
24
+ import { u as io } from "./uniqBy-BHy4I8PK.js";
25
+ import { a as lo, G as so } from "./GraphContainer-B8ZqOzKI.js";
26
+ function co(n) {
26
27
  const {
27
28
  data: e,
28
29
  colors: a,
29
- mapData: K,
30
- colorLegendTitle: B,
30
+ mapData: q,
31
+ colorLegendTitle: I,
31
32
  colorDomain: y,
32
33
  radius: S,
33
34
  height: g,
34
- width: p,
35
- scale: h,
35
+ width: m,
36
+ scale: f,
36
37
  centerPoint: _,
37
- tooltip: Z,
38
- showLabels: he,
39
- mapBorderWidth: ge,
40
- mapBorderColor: ye,
41
- mapNoDataColor: ve,
42
- onSeriesMouseOver: J,
38
+ tooltip: X,
39
+ showLabels: fe,
40
+ mapBorderWidth: he,
41
+ mapBorderColor: ge,
42
+ mapNoDataColor: ye,
43
+ onSeriesMouseOver: Y,
43
44
  showColorScale: Pe,
44
- zoomScaleExtend: ze,
45
- zoomTranslateExtend: We,
46
- highlightedDataPoints: xe,
47
- onSeriesMouseClick: Q,
48
- resetSelectionOnDoubleClick: be,
49
- detailsOnClick: v,
50
- styles: ee,
51
- classNames: W,
52
- mapProjection: L,
53
- zoomInteraction: C,
54
- animate: x,
55
- dimmedOpacity: te,
56
- customLayers: oe,
57
- maxRadiusValue: De,
58
- collapseColorScaleByDefault: je,
59
- projectionRotate: I,
60
- rewindCoordinatesInMapData: V,
61
- overlayMapData: A,
62
- overlayMapBorderColor: Le,
63
- overlayMapBorderWidth: Ve
64
- } = n, F = Dt(() => V ? wt(K, {
45
+ zoomScaleExtend: We,
46
+ zoomTranslateExtend: Le,
47
+ highlightedDataPoints: ve,
48
+ onSeriesMouseClick: K,
49
+ resetSelectionOnDoubleClick: xe,
50
+ detailsOnClick: x,
51
+ styles: Z,
52
+ classNames: F,
53
+ mapProjection: R,
54
+ zoomInteraction: k,
55
+ animate: b,
56
+ dimmedOpacity: J,
57
+ customLayers: Q,
58
+ maxRadiusValue: be,
59
+ collapseColorScaleByDefault: De,
60
+ projectionRotate: $,
61
+ rewindCoordinatesInMapData: T,
62
+ overlayMapData: G,
63
+ overlayMapBorderColor: Ve,
64
+ overlayMapBorderWidth: Ae,
65
+ graphDownload: ee
66
+ } = n, te = Dt(() => T ? jt(q, {
65
67
  reverse: !0
66
- }) : K, [K, V]), Ae = Dt(() => !V || !A ? A : wt(A, {
68
+ }) : q, [q, T]), we = Dt(() => !T || !G ? G : jt(G, {
67
69
  reverse: !0
68
- }), [A, V]), [ae, d] = D(void 0), [u, we] = D(je === void 0 ? !(p < 680) : !je), re = $e(null), [ne, ie] = D(void 0), [R, $] = D(void 0), [T, G] = D(void 0), [U, le] = D(void 0), m = $e(null), b = eo(m, {
69
- once: x.once,
70
- amount: x.amount
71
- }), H = $e(null), k = e.filter((t) => t.radius === void 0 || t.radius === null).length !== e.length ? Qt().domain([0, De]).range([0.25, S]).nice() : void 0;
72
- Ie(() => {
73
- const t = vt(H.current), f = vt(m.current), r = (c) => {
74
- if (C === "noZoom") return !1;
75
- if (C === "button") return !c.type.includes("wheel");
76
- const z = c.type === "wheel", Me = c.type.startsWith("touch"), Ne = c.type === "mousedown" || c.type === "mousemove";
77
- return Me ? !0 : z ? C === "scroll" ? !0 : c.ctrlKey : Ne && !c.button && !c.ctrlKey;
78
- }, ce = Wt().scaleExtent(ze).translateExtent(We || [[-20, -20], [p + 20, g + 20]]).filter(r).on("zoom", ({
79
- transform: c
70
+ }), [G, T]), [c, d] = w(void 0), [Fe, je] = w(De === void 0 ? !(m < 680) : !De), oe = ze(null), [ae, z] = w(void 0), [U, P] = w(void 0), [re, W] = w(void 0), [Ce, p] = w(void 0), v = ze(null), L = to(v, {
71
+ once: b.once,
72
+ amount: b.amount
73
+ }), ne = ze(null), O = e.filter((t) => t.radius === void 0 || t.radius === null).length !== e.length ? eo().domain([0, be]).range([0.25, S]).nice() : void 0;
74
+ $e(() => {
75
+ const t = vt(ne.current), h = vt(v.current), r = (u) => {
76
+ if (k === "noZoom") return !1;
77
+ if (k === "button") return !u.type.includes("wheel");
78
+ const Ne = u.type === "wheel", Me = u.type.startsWith("touch"), Ee = u.type === "mousedown" || u.type === "mousemove";
79
+ return Me ? !0 : Ne ? k === "scroll" ? !0 : u.ctrlKey : Ee && !u.button && !u.ctrlKey;
80
+ }, D = Wt().scaleExtent(We).translateExtent(Le || [[-20, -20], [m + 20, g + 20]]).filter(r).on("zoom", ({
81
+ transform: u
80
82
  }) => {
81
- t.attr("transform", c);
83
+ t.attr("transform", u);
82
84
  });
83
- f.call(ce), re.current = ce;
84
- }, [g, p, C]);
85
- const P = Lt(F), M = Ht(F), Ce = (P[2] - P[0]) * 1.15, ke = (P[3] - P[1]) * 1.15, Oe = p * 190 / 960 * 360 / Ce, Se = g * 190 / 678 * 180 / ke, O = h * Math.min(Oe, Se), q = L === "mercator" ? Vt().rotate(I).center(_ || M.geometry.coordinates).translate([p / 2, g / 2]).scale(O) : L === "equalEarth" ? At().rotate(I).center(_ || M.geometry.coordinates).translate([p / 2, g / 2]).scale(O) : L === "naturalEarth" ? Ft().rotate(I).center(_ || M.geometry.coordinates).translate([p / 2, g / 2]).scale(O) : L === "orthographic" ? Rt().rotate(I).center(_ || M.geometry.coordinates).translate([p / 2, g / 2]).scale(O) : Tt().rotate(I).center(_ || M.geometry.coordinates).translate([p / 2, g / 2]).scale(O), X = Gt().projection(q), se = (t) => {
86
- if (!m.current || !re.current) return;
87
- vt(m.current).call(re.current.scaleBy, t === "in" ? 1.2 : 1 / 1.2);
85
+ h.call(D), oe.current = D;
86
+ }, [g, m, k]);
87
+ const V = Lt(te), N = Ht(te), ke = (V[2] - V[0]) * 1.15, Oe = (V[3] - V[1]) * 1.15, Se = m * 190 / 960 * 360 / ke, ie = g * 190 / 678 * 180 / Oe, M = f * Math.min(Se, ie), A = R === "mercator" ? Vt().rotate($).center(_ || N.geometry.coordinates).translate([m / 2, g / 2]).scale(M) : R === "equalEarth" ? At().rotate($).center(_ || N.geometry.coordinates).translate([m / 2, g / 2]).scale(M) : R === "naturalEarth" ? Ft().rotate($).center(_ || N.geometry.coordinates).translate([m / 2, g / 2]).scale(M) : R === "orthographic" ? Rt().rotate($).center(_ || N.geometry.coordinates).translate([m / 2, g / 2]).scale(M) : Tt().rotate($).center(_ || N.geometry.coordinates).translate([m / 2, g / 2]).scale(M), le = Gt().projection(A), se = (t) => {
88
+ if (!v.current || !oe.current) return;
89
+ vt(v.current).call(oe.current.scaleBy, t === "in" ? 1.2 : 1 / 1.2);
88
90
  };
89
91
  return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
90
92
  /* @__PURE__ */ o.jsxs("div", { className: "relative", children: [
91
- /* @__PURE__ */ o.jsx(nt.svg, { width: `${p}px`, height: `${g}px`, viewBox: `0 0 ${p} ${g}`, ref: m, direction: "ltr", children: /* @__PURE__ */ o.jsxs("g", { ref: H, children: [
92
- oe.filter((t) => t.position === "before").map((t) => t.layer),
93
- F.features.map((t, f) => {
94
- const r = X(t);
93
+ /* @__PURE__ */ o.jsx(it.svg, { width: `${m}px`, height: `${g}px`, viewBox: `0 0 ${m} ${g}`, ref: v, direction: "ltr", children: /* @__PURE__ */ o.jsxs("g", { ref: ne, children: [
94
+ Q.filter((t) => t.position === "before").map((t) => t.layer),
95
+ te.features.map((t, h) => {
96
+ const r = le(t);
95
97
  return r ? /* @__PURE__ */ o.jsx("path", { d: r, style: {
96
- stroke: ye,
97
- strokeWidth: ge,
98
- fill: ve,
98
+ stroke: ge,
99
+ strokeWidth: he,
100
+ fill: ye,
99
101
  vectorEffect: "non-scaling-stroke"
100
- } }, f) : null;
102
+ } }, h) : null;
101
103
  }),
102
- Ae?.features.map((t, f) => {
103
- const r = X(t);
104
+ we?.features.map((t, h) => {
105
+ const r = le(t);
104
106
  return r ? /* @__PURE__ */ o.jsx("g", { children: /* @__PURE__ */ o.jsx("path", { d: r, style: {
105
- stroke: Le || ye,
106
- strokeWidth: Ve || ge + 1,
107
+ stroke: Ve || ge,
108
+ strokeWidth: Ae || he + 1,
107
109
  fill: "none",
108
110
  pointerEvents: "none",
109
111
  vectorEffect: "non-scaling-stroke"
110
- } }) }, f) : null;
112
+ } }) }, h) : null;
111
113
  }),
112
- /* @__PURE__ */ o.jsx(to, { children: e.map((t) => {
113
- const f = e.filter((r) => r.color).length === 0 ? a[0] : t.color ? a[y.indexOf(`${t.color}`)] : w.gray;
114
- return /* @__PURE__ */ o.jsxs(nt.g, { className: "undp-map-dots", variants: {
114
+ /* @__PURE__ */ o.jsx(oo, { children: e.map((t) => {
115
+ const h = e.filter((r) => r.color).length === 0 ? a[0] : t.color ? a[y.indexOf(`${t.color}`)] : C.gray;
116
+ return /* @__PURE__ */ o.jsxs(it.g, { className: "undp-map-dots", variants: {
115
117
  initial: {
116
118
  opacity: 0
117
119
  },
118
120
  whileInView: {
119
- opacity: ae ? ae === f ? 1 : te : xe ? xe.indexOf(t.label || "") !== -1 ? 1 : te : 1,
121
+ opacity: c ? c === h ? 1 : J : ve ? ve.indexOf(t.label || "") !== -1 ? 1 : J : 1,
120
122
  transition: {
121
- duration: x.duration
123
+ duration: b.duration
122
124
  }
123
125
  }
124
- }, initial: "initial", animate: b ? "whileInView" : "initial", exit: {
126
+ }, initial: "initial", animate: L ? "whileInView" : "initial", exit: {
125
127
  opacity: 0,
126
128
  transition: {
127
- duration: x.duration
129
+ duration: b.duration
128
130
  }
129
131
  }, onMouseEnter: (r) => {
130
- $(t), le(r.clientY), G(r.clientX), J?.(t);
132
+ P(t), p(r.clientY), W(r.clientX), Y?.(t);
131
133
  }, onMouseMove: (r) => {
132
- $(t), le(r.clientY), G(r.clientX);
134
+ P(t), p(r.clientY), W(r.clientX);
133
135
  }, onMouseLeave: () => {
134
- $(void 0), G(void 0), le(void 0), J?.(void 0);
136
+ P(void 0), W(void 0), p(void 0), Y?.(void 0);
135
137
  }, onClick: () => {
136
- (Q || v) && (zt(ne, t) && be ? (ie(void 0), Q?.(void 0)) : (ie(t), Q?.(t)));
137
- }, transform: `translate(${q([t.long, t.lat])[0]},${q([t.long, t.lat])[1]})`, children: [
138
- /* @__PURE__ */ o.jsx(nt.circle, { cx: 0, cy: 0, variants: {
138
+ (K || x) && (Pt(ae, t) && xe ? (z(void 0), K?.(void 0)) : (z(t), K?.(t)));
139
+ }, transform: `translate(${A([t.long, t.lat])[0]},${A([t.long, t.lat])[1]})`, children: [
140
+ /* @__PURE__ */ o.jsx(it.circle, { cx: 0, cy: 0, variants: {
139
141
  initial: {
140
142
  r: 0,
141
- fill: e.filter((r) => r.color).length === 0 ? a[0] : t.color ? a[y.indexOf(`${t.color}`)] : w.gray,
142
- stroke: e.filter((r) => r.color).length === 0 ? a[0] : t.color ? a[y.indexOf(`${t.color}`)] : w.gray
143
+ fill: e.filter((r) => r.color).length === 0 ? a[0] : t.color ? a[y.indexOf(`${t.color}`)] : C.gray,
144
+ stroke: e.filter((r) => r.color).length === 0 ? a[0] : t.color ? a[y.indexOf(`${t.color}`)] : C.gray
143
145
  },
144
146
  whileInView: {
145
- r: k ? k(t.radius || 0) : S,
146
- fill: e.filter((r) => r.color).length === 0 ? a[0] : t.color ? a[y.indexOf(`${t.color}`)] : w.gray,
147
- stroke: e.filter((r) => r.color).length === 0 ? a[0] : t.color ? a[y.indexOf(`${t.color}`)] : w.gray,
147
+ r: O ? O(t.radius || 0) : S,
148
+ fill: e.filter((r) => r.color).length === 0 ? a[0] : t.color ? a[y.indexOf(`${t.color}`)] : C.gray,
149
+ stroke: e.filter((r) => r.color).length === 0 ? a[0] : t.color ? a[y.indexOf(`${t.color}`)] : C.gray,
148
150
  transition: {
149
- duration: x.duration
151
+ duration: b.duration
150
152
  }
151
153
  }
152
- }, initial: "initial", animate: b ? "whileInView" : "initial", exit: {
154
+ }, initial: "initial", animate: L ? "whileInView" : "initial", exit: {
153
155
  r: 0,
154
156
  transition: {
155
- duration: x.duration
157
+ duration: b.duration
156
158
  }
157
159
  }, style: {
158
160
  fillOpacity: 0.8,
159
161
  vectorEffect: "non-scaling-stroke"
160
162
  } }),
161
- he && t.label ? /* @__PURE__ */ o.jsx(nt.text, { variants: {
163
+ fe && t.label ? /* @__PURE__ */ o.jsx(it.text, { variants: {
162
164
  initial: {
163
165
  opacity: 0,
164
- x: k ? k(t.radius || 0) : S,
165
- fill: e.filter((r) => r.color).length === 0 ? a[0] : t.color ? a[y.indexOf(`${t.color}`)] : w.gray
166
+ x: O ? O(t.radius || 0) : S,
167
+ fill: e.filter((r) => r.color).length === 0 ? a[0] : t.color ? a[y.indexOf(`${t.color}`)] : C.gray
166
168
  },
167
169
  whileInView: {
168
170
  opacity: 1,
169
- x: k ? k(t.radius || 0) : S,
171
+ x: O ? O(t.radius || 0) : S,
170
172
  transition: {
171
- duration: x.duration
173
+ duration: b.duration
172
174
  },
173
- fill: e.filter((r) => r.color).length === 0 ? a[0] : t.color ? a[y.indexOf(`${t.color}`)] : w.gray
175
+ fill: e.filter((r) => r.color).length === 0 ? a[0] : t.color ? a[y.indexOf(`${t.color}`)] : C.gray
174
176
  }
175
- }, initial: "initial", animate: b ? "whileInView" : "initial", exit: {
177
+ }, initial: "initial", animate: L ? "whileInView" : "initial", exit: {
176
178
  opacity: 0,
177
179
  transition: {
178
- duration: x.duration
180
+ duration: b.duration
179
181
  }
180
- }, y: 0, className: bt("graph-value text-sm", W?.graphObjectValues), style: {
182
+ }, y: 0, className: bt("graph-value text-sm", F?.graphObjectValues), style: {
181
183
  textAnchor: "start",
182
184
  vectorEffect: "non-scaling-stroke",
183
- ...ee?.graphObjectValues || {}
185
+ ...Z?.graphObjectValues || {}
184
186
  }, dx: 4, dy: 5, children: t.label }) : null
185
187
  ] }, t.label || `${t.lat}-${t.long}`);
186
188
  }) }),
187
- oe.filter((t) => t.position === "after").map((t) => t.layer)
189
+ Q.filter((t) => t.position === "after").map((t) => t.layer)
188
190
  ] }) }),
189
- e.filter((t) => t.color).length === 0 || Pe === !1 ? null : /* @__PURE__ */ o.jsx("div", { className: bt("absolute left-4 bottom-4 map-color-legend", W?.colorLegend), children: u ? /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
191
+ e.filter((t) => t.color).length === 0 || Pe === !1 ? null : /* @__PURE__ */ o.jsx("div", { className: bt("absolute left-4 bottom-4 map-color-legend", F?.colorLegend), children: Fe ? /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
190
192
  /* @__PURE__ */ o.jsx("div", { className: "color-legend-close-button bg-[rgba(240,240,240,0.7)] dark:bg-[rgba(30,30,30,0.7)] border border-[var(--gray-400)] rounded-full w-6 h-6 p-[3px] cursor-pointer z-10 absolute right-[-0.75rem] top-[-0.75rem]", onClick: () => {
191
- we(!1);
193
+ je(!1);
192
194
  }, children: /* @__PURE__ */ o.jsx(Xt, {}) }),
193
195
  /* @__PURE__ */ o.jsxs("div", { className: "p-2", style: {
194
196
  backgroundColor: "rgba(240,240,240, 0.7)"
195
197
  }, children: [
196
- B && B !== "" ? /* @__PURE__ */ o.jsx("p", { className: "p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300", style: {
198
+ I && I !== "" ? /* @__PURE__ */ o.jsx("p", { className: "p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300", style: {
197
199
  display: "-webkit-box",
198
200
  WebkitLineClamp: "1",
199
201
  WebkitBoxOrient: "vertical"
200
- }, children: B }) : null,
201
- /* @__PURE__ */ o.jsx("div", { className: "flex flex-col gap-3", children: y.map((t, f) => /* @__PURE__ */ o.jsxs("div", { className: "flex gap-2 items-center", onMouseOver: () => {
202
- d(a[f % a.length]);
202
+ }, children: I }) : null,
203
+ /* @__PURE__ */ o.jsx("div", { className: "flex flex-col gap-3", children: y.map((t, h) => /* @__PURE__ */ o.jsxs("div", { className: "flex gap-2 items-center", onMouseOver: () => {
204
+ d(a[h % a.length]);
203
205
  }, onMouseLeave: () => {
204
206
  d(void 0);
205
207
  }, children: [
206
208
  /* @__PURE__ */ o.jsx("div", { className: "w-2 h-2 rounded-full", style: {
207
- backgroundColor: a[f % a.length]
209
+ backgroundColor: a[h % a.length]
208
210
  } }),
209
211
  /* @__PURE__ */ o.jsx(Ut, { size: "sm", marginBottom: "none", leading: "none", children: t })
210
- ] }, f)) })
212
+ ] }, h)) })
211
213
  ] })
212
214
  ] }) : /* @__PURE__ */ o.jsx("button", { type: "button", className: "p-1 border-0 rounded-[2px] text-primary-gray-700 bg-primary-gray-300 dark:bg-primary-gray-500 map-legend-button", onClick: () => {
213
- we(!0);
215
+ je(!0);
214
216
  }, children: /* @__PURE__ */ o.jsx(Yt, {}) }) }),
215
- C === "button" && /* @__PURE__ */ o.jsxs("div", { className: "absolute left-4 top-4 flex flex-col zoom-buttons", children: [
217
+ k === "button" && /* @__PURE__ */ o.jsxs("div", { className: "absolute left-4 top-4 flex flex-col undp-viz-zoom-buttons", children: [
216
218
  /* @__PURE__ */ o.jsx("button", { onClick: () => se("in"), className: "leading-0 px-2 py-3.5 text-primary-gray-700 border border-primary-gray-400 bg-primary-gray-200 dark:border-primary-gray-550 dark:bg-primary-gray-600 dark:text-primary-gray-100", children: "+" }),
217
219
  /* @__PURE__ */ o.jsx("button", { onClick: () => se("out"), className: "leading-0 px-2 py-3.5 text-primary-gray-700 border border-t-0 border-primary-gray-400 bg-primary-gray-200 dark:border-primary-gray-550 dark:bg-primary-gray-600 dark:text-primary-gray-100", children: "–" })
218
- ] })
220
+ ] }),
221
+ ee && /* @__PURE__ */ o.jsx("div", { className: "absolute right-4 top-4 flex flex-col image-download-button", children: /* @__PURE__ */ o.jsx(Qt, { nodeID: ee, buttonSmall: !0 }) })
219
222
  ] }),
220
- v && ne !== void 0 ? /* @__PURE__ */ o.jsx(Jt, { body: v, data: ne, setData: ie, className: W?.modal }) : null,
221
- R && Z && T && U ? /* @__PURE__ */ o.jsx(qt, { data: R, body: Z, xPos: T, yPos: U, backgroundStyle: ee?.tooltip, className: W?.tooltip }) : null
223
+ x && ae !== void 0 ? /* @__PURE__ */ o.jsx(Jt, { body: x, data: ae, setData: z, className: F?.modal }) : null,
224
+ U && X && re && Ce ? /* @__PURE__ */ o.jsx(qt, { data: U, body: X, xPos: re, yPos: Ce, backgroundStyle: Z?.tooltip, className: F?.tooltip }) : null
222
225
  ] });
223
226
  }
224
- function Ho(n) {
227
+ function Xo(n) {
225
228
  const e = Et.c(128), {
226
229
  data: a,
227
- mapData: K,
228
- graphTitle: B,
230
+ mapData: q,
231
+ graphTitle: I,
229
232
  colors: y,
230
233
  sources: S,
231
234
  graphDescription: g,
232
- height: p,
233
- width: h,
235
+ height: m,
236
+ width: f,
234
237
  footNote: _,
235
- colorLegendTitle: Z,
236
- colorDomain: he,
237
- radius: ge,
238
- scale: ye,
239
- centerPoint: ve,
240
- padding: J,
238
+ colorLegendTitle: X,
239
+ colorDomain: fe,
240
+ radius: he,
241
+ scale: ge,
242
+ centerPoint: ye,
243
+ padding: Y,
241
244
  mapBorderWidth: Pe,
242
- mapNoDataColor: ze,
243
- backgroundColor: We,
244
- showLabels: xe,
245
- mapBorderColor: Q,
246
- tooltip: be,
247
- relativeHeight: v,
248
- onSeriesMouseOver: ee,
249
- isWorldMap: W,
250
- showColorScale: L,
251
- zoomScaleExtend: C,
252
- zoomTranslateExtend: x,
253
- graphID: te,
254
- highlightedDataPoints: oe,
255
- onSeriesMouseClick: De,
256
- graphDownload: je,
257
- dataDownload: I,
258
- showAntarctica: V,
259
- language: A,
260
- minHeight: Le,
261
- theme: Ve,
262
- ariaLabel: F,
263
- resetSelectionOnDoubleClick: Ae,
264
- detailsOnClick: ae,
265
- styles: d,
266
- classNames: u,
267
- mapProjection: we,
268
- zoomInteraction: re,
269
- animate: ne,
270
- dimmedOpacity: ie,
271
- customLayers: R,
272
- maxRadiusValue: $,
273
- timeline: T,
274
- collapseColorScaleByDefault: G,
275
- projectionRotate: U,
276
- rewindCoordinatesInMapData: le,
277
- mapOverlay: m
278
- } = n, b = K === void 0 ? "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap-v2.json" : K, H = _ === void 0 ? "The designations employed and the presentation of material on this map do not imply the expression of any opinion whatsoever on the part of the Secretariat of the United Nations or UNDP concerning the legal status of any country, territory, city or area or its authorities, or concerning the delimitation of its frontiers or boundaries." : _, k = ge === void 0 ? 5 : ge, P = ye === void 0 ? 0.95 : ye, M = Pe === void 0 ? 0.5 : Pe, Ce = ze === void 0 ? w.light.graphNoData : ze, ke = We === void 0 ? !1 : We, Oe = xe === void 0 ? !1 : xe, Se = Q === void 0 ? w.light.grays["gray-500"] : Q, O = W === void 0 ? !0 : W, q = L === void 0 ? !0 : L;
279
- let X;
280
- e[0] !== C ? (X = C === void 0 ? [0.8, 6] : C, e[0] = C, e[1] = X) : X = e[1];
281
- const se = X, t = je === void 0 ? !1 : je, f = I === void 0 ? !1 : I, r = V === void 0 ? !1 : V, ce = A === void 0 ? "en" : A, c = Le === void 0 ? 0 : Le, z = Ve === void 0 ? "light" : Ve, Me = Ae === void 0 ? !0 : Ae, Ne = we === void 0 ? "naturalEarth" : we, it = re === void 0 ? "button" : re, Fe = ne === void 0 ? !1 : ne, lt = ie === void 0 ? 0.3 : ie;
282
- let Re;
283
- e[2] !== R ? (Re = R === void 0 ? [] : R, e[2] = R, e[3] = Re) : Re = e[3];
284
- const st = Re;
245
+ mapNoDataColor: We,
246
+ backgroundColor: Le,
247
+ showLabels: ve,
248
+ mapBorderColor: K,
249
+ tooltip: xe,
250
+ relativeHeight: x,
251
+ onSeriesMouseOver: Z,
252
+ isWorldMap: F,
253
+ showColorScale: R,
254
+ zoomScaleExtend: k,
255
+ zoomTranslateExtend: b,
256
+ graphID: J,
257
+ highlightedDataPoints: Q,
258
+ onSeriesMouseClick: be,
259
+ graphDownload: De,
260
+ dataDownload: $,
261
+ showAntarctica: T,
262
+ language: G,
263
+ minHeight: Ve,
264
+ theme: Ae,
265
+ ariaLabel: ee,
266
+ resetSelectionOnDoubleClick: te,
267
+ detailsOnClick: we,
268
+ styles: c,
269
+ classNames: d,
270
+ mapProjection: Fe,
271
+ zoomInteraction: je,
272
+ animate: oe,
273
+ dimmedOpacity: ae,
274
+ customLayers: z,
275
+ maxRadiusValue: U,
276
+ timeline: P,
277
+ collapseColorScaleByDefault: re,
278
+ projectionRotate: W,
279
+ rewindCoordinatesInMapData: Ce,
280
+ mapOverlay: p
281
+ } = n, v = q === void 0 ? "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap-v2.json" : q, L = _ === void 0 ? "The designations employed and the presentation of material on this map do not imply the expression of any opinion whatsoever on the part of the Secretariat of the United Nations or UNDP concerning the legal status of any country, territory, city or area or its authorities, or concerning the delimitation of its frontiers or boundaries." : _, ne = he === void 0 ? 5 : he, O = ge === void 0 ? 0.95 : ge, V = Pe === void 0 ? 0.5 : Pe, N = We === void 0 ? C.light.graphNoData : We, ke = Le === void 0 ? !1 : Le, Oe = ve === void 0 ? !1 : ve, Se = K === void 0 ? C.light.grays["gray-500"] : K, ie = F === void 0 ? !0 : F, M = R === void 0 ? !0 : R;
282
+ let A;
283
+ e[0] !== k ? (A = k === void 0 ? [0.8, 6] : k, e[0] = k, e[1] = A) : A = e[1];
284
+ const le = A, se = De === void 0 ? !1 : De, t = $ === void 0 ? !1 : $, h = T === void 0 ? !1 : T, r = G === void 0 ? "en" : G, D = Ve === void 0 ? 0 : Ve, u = Ae === void 0 ? "light" : Ae, Ne = te === void 0 ? !0 : te, Me = Fe === void 0 ? "naturalEarth" : Fe, Ee = je === void 0 ? "button" : je, Re = oe === void 0 ? !1 : oe, lt = ae === void 0 ? 0.3 : ae;
285
285
  let Te;
286
- e[4] !== T ? (Te = T === void 0 ? {
286
+ e[2] !== z ? (Te = z === void 0 ? [] : z, e[2] = z, e[3] = Te) : Te = e[3];
287
+ const st = Te;
288
+ let Ge;
289
+ e[4] !== P ? (Ge = P === void 0 ? {
287
290
  enabled: !1,
288
291
  autoplay: !1,
289
292
  showOnlyActiveDate: !0
290
- } : T, e[4] = T, e[5] = Te) : Te = e[5];
291
- const i = Te;
292
- let Ge;
293
- e[6] !== U ? (Ge = U === void 0 ? [0, 0] : U, e[6] = U, e[7] = Ge) : Ge = e[7];
294
- const ct = Ge, dt = le === void 0 ? !0 : le, [Y, kt] = D(0), [Ee, Ot] = D(0), [N, St] = D(i.autoplay);
295
- let Be;
293
+ } : P, e[4] = P, e[5] = Ge) : Ge = e[5];
294
+ const i = Ge;
295
+ let Ue;
296
+ e[6] !== W ? (Ue = W === void 0 ? [0, 0] : W, e[6] = W, e[7] = Ue) : Ue = e[7];
297
+ const ct = Ue, dt = Ce === void 0 ? !0 : Ce, [H, kt] = w(0), [Be, Ot] = w(0), [E, St] = w(i.autoplay);
298
+ let Ie;
296
299
  if (e[8] !== a || e[9] !== i.dateFormat) {
297
300
  let l;
298
- e[11] !== i.dateFormat ? (l = (j) => _t(`${j.date}`, i.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), e[11] = i.dateFormat, e[12] = l) : l = e[12], Be = [...new Set(a.filter(Do).map(l))], Be.sort(bo), e[8] = a, e[9] = i.dateFormat, e[10] = Be;
301
+ e[11] !== i.dateFormat ? (l = (j) => It(`${j.date}`, i.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), e[11] = i.dateFormat, e[12] = l) : l = e[12], Ie = [...new Set(a.filter(wo).map(l))], Ie.sort(Do), e[8] = a, e[9] = i.dateFormat, e[10] = Ie;
299
302
  } else
300
- Be = e[10];
301
- const s = Be, [E, mt] = D(i.autoplay ? 0 : s.length - 1), [de, Mt] = D(void 0), [pt, Nt] = D(void 0), ut = $e(null), xt = $e(null);
302
- let Ue, He;
303
- e[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ue = () => {
303
+ Ie = e[10];
304
+ const s = Ie, [B, mt] = w(i.autoplay ? 0 : s.length - 1), [ce, Nt] = w(void 0), [pt, Mt] = w(void 0), ut = ze(null), xt = ze(null);
305
+ let He, qe;
306
+ e[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (He = () => {
304
307
  const l = new ResizeObserver((j) => {
305
308
  kt(j[0].target.clientWidth || 620), Ot(j[0].target.clientHeight || 480);
306
309
  });
307
310
  return ut.current && l.observe(ut.current), () => l.disconnect();
308
- }, He = [], e[13] = Ue, e[14] = He) : (Ue = e[13], He = e[14]), Ie(Ue, He);
309
- let qe;
310
- e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (qe = (l) => {
311
- Mt(l);
312
- }, e[15] = qe) : qe = e[15];
313
- const Xe = jt(qe);
314
- let Ye;
315
- e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ye = (l) => {
311
+ }, qe = [], e[13] = He, e[14] = qe) : (He = e[13], qe = e[14]), $e(He, qe);
312
+ let Xe;
313
+ e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Xe = (l) => {
316
314
  Nt(l);
317
- }, e[16] = Ye) : Ye = e[16];
318
- const _e = jt(Ye);
315
+ }, e[15] = Xe) : Xe = e[15];
316
+ const Ye = wt(Xe);
319
317
  let Ke;
320
- e[17] !== b || e[18] !== Xe ? (Ke = () => {
321
- typeof b == "string" ? Ct(b).then((j) => {
322
- Xe(j);
323
- }) : Xe(b);
324
- }, e[17] = b, e[18] = Xe, e[19] = Ke) : Ke = e[19];
318
+ e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ke = (l) => {
319
+ Mt(l);
320
+ }, e[16] = Ke) : Ke = e[16];
321
+ const _e = wt(Ke);
325
322
  let Ze;
326
- e[20] !== b ? (Ze = [b], e[20] = b, e[21] = Ze) : Ze = e[21], Ie(Ke, Ze);
323
+ e[17] !== v || e[18] !== Ye ? (Ze = () => {
324
+ typeof v == "string" ? Ct(v).then((j) => {
325
+ Ye(j);
326
+ }) : Ye(v);
327
+ }, e[17] = v, e[18] = Ye, e[19] = Ze) : Ze = e[19];
327
328
  let Je;
328
- e[22] !== m?.mapData || e[23] !== _e ? (Je = () => {
329
- m?.mapData || _e(void 0), typeof m?.mapData == "string" ? Ct(m?.mapData).then((j) => {
330
- _e(j);
331
- }) : _e(m?.mapData);
332
- }, e[22] = m?.mapData, e[23] = _e, e[24] = Je) : Je = e[24];
333
- const ft = m?.mapData;
329
+ e[20] !== v ? (Je = [v], e[20] = v, e[21] = Je) : Je = e[21], $e(Ze, Je);
334
330
  let Qe;
335
- e[25] !== ft ? (Qe = [ft], e[25] = ft, e[26] = Qe) : Qe = e[26], Ie(Je, Qe);
336
- let et, tt;
337
- e[27] !== N || e[28] !== i.speed || e[29] !== s ? (et = () => {
331
+ e[22] !== p?.mapData || e[23] !== _e ? (Qe = () => {
332
+ p?.mapData || _e(void 0), typeof p?.mapData == "string" ? Ct(p?.mapData).then((j) => {
333
+ _e(j);
334
+ }) : _e(p?.mapData);
335
+ }, e[22] = p?.mapData, e[23] = _e, e[24] = Qe) : Qe = e[24];
336
+ const ft = p?.mapData;
337
+ let et;
338
+ e[25] !== ft ? (et = [ft], e[25] = ft, e[26] = et) : et = e[26], $e(Qe, et);
339
+ let tt, ot;
340
+ e[27] !== E || e[28] !== i.speed || e[29] !== s ? (tt = () => {
338
341
  const l = setInterval(() => {
339
342
  mt((j) => j < s.length - 1 ? j + 1 : 0);
340
343
  }, (i.speed || 2) * 1e3);
341
- return N || clearInterval(l), () => clearInterval(l);
342
- }, tt = [s, N, i.speed], e[27] = N, e[28] = i.speed, e[29] = s, e[30] = et, e[31] = tt) : (et = e[30], tt = e[31]), Ie(et, tt);
344
+ return E || clearInterval(l), () => clearInterval(l);
345
+ }, ot = [s, E, i.speed], e[27] = E, e[28] = i.speed, e[29] = s, e[30] = tt, e[31] = ot) : (tt = e[30], ot = e[31]), $e(tt, ot);
343
346
  const ht = i.dateFormat || "yyyy";
344
- let ot;
345
- e[32] !== E || e[33] !== ht || e[34] !== i.showOnlyActiveDate || e[35] !== s ? (ot = It(s, E, i.showOnlyActiveDate, ht), e[32] = E, e[33] = ht, e[34] = i.showOnlyActiveDate, e[35] = s, e[36] = ot) : ot = e[36];
346
- const at = ot, gt = u?.graphContainer, yt = d?.graphContainer;
347
- let me;
348
- e[37] !== u?.description || e[38] !== u?.title || e[39] !== a || e[40] !== f || e[41] !== g || e[42] !== t || e[43] !== B || e[44] !== d?.description || e[45] !== d?.title || e[46] !== h ? (me = B || g || t || f ? /* @__PURE__ */ o.jsx(ao, { styles: {
347
+ let at;
348
+ e[32] !== B || e[33] !== ht || e[34] !== i.showOnlyActiveDate || e[35] !== s ? (at = _t(s, B, i.showOnlyActiveDate, ht), e[32] = B, e[33] = ht, e[34] = i.showOnlyActiveDate, e[35] = s, e[36] = at) : at = e[36];
349
+ const rt = at, gt = d?.graphContainer, yt = c?.graphContainer;
350
+ let de;
351
+ e[37] !== d?.description || e[38] !== d?.title || e[39] !== a || e[40] !== t || e[41] !== g || e[42] !== I || e[43] !== c?.description || e[44] !== c?.title || e[45] !== f ? (de = I || g || t ? /* @__PURE__ */ o.jsx(ro, { styles: {
352
+ title: c?.title,
353
+ description: c?.description
354
+ }, classNames: {
349
355
  title: d?.title,
350
356
  description: d?.description
351
- }, classNames: {
352
- title: u?.title,
353
- description: u?.description
354
- }, graphTitle: B, graphDescription: g, width: h, graphDownload: t ? xt : void 0, dataDownload: f ? a.map(xo).filter(vo).length > 0 ? a.map(yo).filter(go) : a.filter(ho) : null }) : null, e[37] = u?.description, e[38] = u?.title, e[39] = a, e[40] = f, e[41] = g, e[42] = t, e[43] = B, e[44] = d?.description, e[45] = d?.title, e[46] = h, e[47] = me) : me = e[47];
355
- let pe;
356
- e[48] !== E || e[49] !== at || e[50] !== N || e[51] !== i.enabled || e[52] !== s ? (pe = i.enabled && s.length > 0 && at ? /* @__PURE__ */ o.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
357
+ }, graphTitle: I, graphDescription: g, width: f, dataDownload: t ? a.map(bo).filter(xo).length > 0 ? a.map(vo).filter(yo) : a.filter(go) : null }) : null, e[37] = d?.description, e[38] = d?.title, e[39] = a, e[40] = t, e[41] = g, e[42] = I, e[43] = c?.description, e[44] = c?.title, e[45] = f, e[46] = de) : de = e[46];
358
+ let me;
359
+ e[47] !== B || e[48] !== rt || e[49] !== E || e[50] !== i.enabled || e[51] !== s ? (me = i.enabled && s.length > 0 && rt ? /* @__PURE__ */ o.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
357
360
  /* @__PURE__ */ o.jsx("button", { type: "button", onClick: () => {
358
- St(!N);
359
- }, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": N ? "Click to pause animation" : "Click to play animation", children: N ? /* @__PURE__ */ o.jsx(Kt, {}) : /* @__PURE__ */ o.jsx(Zt, {}) }),
360
- /* @__PURE__ */ o.jsx($t, { min: s[0], max: s[s.length - 1], marks: at, step: null, defaultValue: s[s.length - 1], value: s[E], onChangeComplete: (l) => {
361
+ St(!E);
362
+ }, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": E ? "Click to pause animation" : "Click to play animation", children: E ? /* @__PURE__ */ o.jsx(Kt, {}) : /* @__PURE__ */ o.jsx(Zt, {}) }),
363
+ /* @__PURE__ */ o.jsx($t, { min: s[0], max: s[s.length - 1], marks: rt, step: null, defaultValue: s[s.length - 1], value: s[B], onChangeComplete: (l) => {
361
364
  mt(s.indexOf(l));
362
365
  }, onChange: (l) => {
363
366
  mt(s.indexOf(l));
364
367
  }, "aria-label": "Time slider. Use arrow keys to adjust selected time period." })
365
- ] }) : null, e[48] = E, e[49] = at, e[50] = N, e[51] = i.enabled, e[52] = s, e[53] = pe) : pe = e[53];
366
- let ue;
367
- e[54] !== Fe || e[55] !== ve || e[56] !== u || e[57] !== G || e[58] !== he || e[59] !== Z || e[60] !== y || e[61] !== st || e[62] !== a || e[63] !== ae || e[64] !== lt || e[65] !== p || e[66] !== oe || e[67] !== E || e[68] !== O || e[69] !== Se || e[70] !== M || e[71] !== Ce || e[72] !== m?.mapBorderColor || e[73] !== m?.mapBorderWidth || e[74] !== Ne || e[75] !== de || e[76] !== $ || e[77] !== c || e[78] !== De || e[79] !== ee || e[80] !== pt || e[81] !== ct || e[82] !== k || e[83] !== v || e[84] !== Me || e[85] !== dt || e[86] !== P || e[87] !== r || e[88] !== q || e[89] !== Oe || e[90] !== d || e[91] !== Ee || e[92] !== Y || e[93] !== z || e[94] !== i.dateFormat || e[95] !== i.enabled || e[96] !== be || e[97] !== s || e[98] !== h || e[99] !== it || e[100] !== se || e[101] !== x ? (ue = /* @__PURE__ */ o.jsx(io, { ref: ut, children: Y && Ee && de ? /* @__PURE__ */ o.jsx(so, { data: a.filter((l) => i.enabled ? `${l.date}` === Bt(new Date(s[E]), i.dateFormat || "yyyy") : l), mapData: r ? de : {
368
- ...de,
369
- features: de.features.filter(fo)
370
- }, colorDomain: a.filter(uo).length === 0 ? [] : he || no(a, "color", !0), width: Y, height: Ee, scale: P, centerPoint: ve, colors: a.filter(po).length === 0 ? y ? [y] : [w.primaryColors["blue-600"]] : y || w[z].categoricalColors.colors, colorLegendTitle: Z, radius: k, overlayMapData: pt, overlayMapBorderColor: m?.mapBorderColor, overlayMapBorderWidth: m?.mapBorderWidth, mapBorderWidth: M, mapNoDataColor: Ce, mapBorderColor: Se, tooltip: be, onSeriesMouseOver: ee, showLabels: Oe, isWorldMap: O, showColorScale: q, zoomScaleExtend: se, zoomTranslateExtend: x, onSeriesMouseClick: De, highlightedDataPoints: oe, resetSelectionOnDoubleClick: Me, styles: d, classNames: u, zoomInteraction: it, detailsOnClick: ae, mapProjection: Ne || (O ? "naturalEarth" : "mercator"), animate: Fe === !0 ? {
368
+ ] }) : null, e[47] = B, e[48] = rt, e[49] = E, e[50] = i.enabled, e[51] = s, e[52] = me) : me = e[52];
369
+ let pe;
370
+ e[53] !== Re || e[54] !== ye || e[55] !== d || e[56] !== re || e[57] !== fe || e[58] !== X || e[59] !== y || e[60] !== st || e[61] !== a || e[62] !== we || e[63] !== lt || e[64] !== se || e[65] !== m || e[66] !== Q || e[67] !== B || e[68] !== ie || e[69] !== Se || e[70] !== V || e[71] !== N || e[72] !== p?.mapBorderColor || e[73] !== p?.mapBorderWidth || e[74] !== Me || e[75] !== ce || e[76] !== U || e[77] !== D || e[78] !== be || e[79] !== Z || e[80] !== pt || e[81] !== ct || e[82] !== ne || e[83] !== x || e[84] !== Ne || e[85] !== dt || e[86] !== O || e[87] !== h || e[88] !== M || e[89] !== Oe || e[90] !== c || e[91] !== Be || e[92] !== H || e[93] !== u || e[94] !== i.dateFormat || e[95] !== i.enabled || e[96] !== xe || e[97] !== s || e[98] !== f || e[99] !== Ee || e[100] !== le || e[101] !== b ? (pe = /* @__PURE__ */ o.jsx(lo, { ref: ut, children: H && Be && ce ? /* @__PURE__ */ o.jsx(co, { data: a.filter((l) => i.enabled ? `${l.date}` === Bt(new Date(s[B]), i.dateFormat || "yyyy") : l), mapData: h ? ce : {
371
+ ...ce,
372
+ features: ce.features.filter(ho)
373
+ }, colorDomain: a.filter(fo).length === 0 ? [] : fe || io(a, "color", !0), width: H, height: Be, scale: O, centerPoint: ye, colors: a.filter(uo).length === 0 ? y ? [y] : [C.primaryColors["blue-600"]] : y || C[u].categoricalColors.colors, colorLegendTitle: X, radius: ne, overlayMapData: pt, overlayMapBorderColor: p?.mapBorderColor, overlayMapBorderWidth: p?.mapBorderWidth, mapBorderWidth: V, mapNoDataColor: N, mapBorderColor: Se, tooltip: xe, onSeriesMouseOver: Z, showLabels: Oe, isWorldMap: ie, showColorScale: M, zoomScaleExtend: le, zoomTranslateExtend: b, onSeriesMouseClick: be, highlightedDataPoints: Q, resetSelectionOnDoubleClick: Ne, styles: c, classNames: d, zoomInteraction: Ee, detailsOnClick: we, mapProjection: Me || (ie ? "naturalEarth" : "mercator"), animate: Re === !0 ? {
371
374
  duration: 0.5,
372
375
  once: !0,
373
376
  amount: 0.5
374
- } : Fe || {
377
+ } : Re || {
375
378
  duration: 0,
376
379
  once: !0,
377
380
  amount: 0
378
- }, dimmedOpacity: lt, customLayers: st, maxRadiusValue: ro($) ? Math.max(...a.map(mo).filter(co)) : $, collapseColorScaleByDefault: G, projectionRotate: ct, rewindCoordinatesInMapData: dt }) : /* @__PURE__ */ o.jsx("div", { style: {
379
- height: `${Math.max(c, p || (v ? c ? (h || Y) * v > c ? (h || Y) * v : c : (h || Y) * v : Ee))}px`
380
- }, className: "flex items-center justify-center", children: /* @__PURE__ */ o.jsx(Pt, { "aria-label": "Loading graph" }) }) }), e[54] = Fe, e[55] = ve, e[56] = u, e[57] = G, e[58] = he, e[59] = Z, e[60] = y, e[61] = st, e[62] = a, e[63] = ae, e[64] = lt, e[65] = p, e[66] = oe, e[67] = E, e[68] = O, e[69] = Se, e[70] = M, e[71] = Ce, e[72] = m?.mapBorderColor, e[73] = m?.mapBorderWidth, e[74] = Ne, e[75] = de, e[76] = $, e[77] = c, e[78] = De, e[79] = ee, e[80] = pt, e[81] = ct, e[82] = k, e[83] = v, e[84] = Me, e[85] = dt, e[86] = P, e[87] = r, e[88] = q, e[89] = Oe, e[90] = d, e[91] = Ee, e[92] = Y, e[93] = z, e[94] = i.dateFormat, e[95] = i.enabled, e[96] = be, e[97] = s, e[98] = h, e[99] = it, e[100] = se, e[101] = x, e[102] = ue) : ue = e[102];
381
- let fe;
382
- e[103] !== u?.footnote || e[104] !== u?.source || e[105] !== H || e[106] !== S || e[107] !== d?.footnote || e[108] !== d?.source || e[109] !== h ? (fe = S || H ? /* @__PURE__ */ o.jsx(oo, { styles: {
381
+ }, dimmedOpacity: lt, customLayers: st, maxRadiusValue: no(U) ? Math.max(...a.map(po).filter(mo)) : U, collapseColorScaleByDefault: re, projectionRotate: ct, rewindCoordinatesInMapData: dt, graphDownload: se ? xt : void 0 }) : /* @__PURE__ */ o.jsx("div", { style: {
382
+ height: `${Math.max(D, m || (x ? D ? (f || H) * x > D ? (f || H) * x : D : (f || H) * x : Be))}px`
383
+ }, className: "flex items-center justify-center", children: /* @__PURE__ */ o.jsx(zt, { "aria-label": "Loading graph" }) }) }), e[53] = Re, e[54] = ye, e[55] = d, e[56] = re, e[57] = fe, e[58] = X, e[59] = y, e[60] = st, e[61] = a, e[62] = we, e[63] = lt, e[64] = se, e[65] = m, e[66] = Q, e[67] = B, e[68] = ie, e[69] = Se, e[70] = V, e[71] = N, e[72] = p?.mapBorderColor, e[73] = p?.mapBorderWidth, e[74] = Me, e[75] = ce, e[76] = U, e[77] = D, e[78] = be, e[79] = Z, e[80] = pt, e[81] = ct, e[82] = ne, e[83] = x, e[84] = Ne, e[85] = dt, e[86] = O, e[87] = h, e[88] = M, e[89] = Oe, e[90] = c, e[91] = Be, e[92] = H, e[93] = u, e[94] = i.dateFormat, e[95] = i.enabled, e[96] = xe, e[97] = s, e[98] = f, e[99] = Ee, e[100] = le, e[101] = b, e[102] = pe) : pe = e[102];
384
+ let ue;
385
+ e[103] !== d?.footnote || e[104] !== d?.source || e[105] !== L || e[106] !== S || e[107] !== c?.footnote || e[108] !== c?.source || e[109] !== f ? (ue = S || L ? /* @__PURE__ */ o.jsx(ao, { styles: {
386
+ footnote: c?.footnote,
387
+ source: c?.source
388
+ }, classNames: {
383
389
  footnote: d?.footnote,
384
390
  source: d?.source
385
- }, classNames: {
386
- footnote: u?.footnote,
387
- source: u?.source
388
- }, sources: S, footNote: H, width: h }) : null, e[103] = u?.footnote, e[104] = u?.source, e[105] = H, e[106] = S, e[107] = d?.footnote, e[108] = d?.source, e[109] = h, e[110] = fe) : fe = e[110];
389
- let rt;
390
- return e[111] !== F || e[112] !== ke || e[113] !== te || e[114] !== p || e[115] !== ce || e[116] !== c || e[117] !== J || e[118] !== v || e[119] !== gt || e[120] !== yt || e[121] !== me || e[122] !== pe || e[123] !== ue || e[124] !== fe || e[125] !== z || e[126] !== h ? (rt = /* @__PURE__ */ o.jsxs(lo, { className: gt, style: yt, id: te, ref: xt, "aria-label": F, backgroundColor: ke, theme: z, language: ce, minHeight: c, width: h, height: p, relativeHeight: v, padding: J, children: [
391
+ }, sources: S, footNote: L, width: f }) : null, e[103] = d?.footnote, e[104] = d?.source, e[105] = L, e[106] = S, e[107] = c?.footnote, e[108] = c?.source, e[109] = f, e[110] = ue) : ue = e[110];
392
+ let nt;
393
+ return e[111] !== ee || e[112] !== ke || e[113] !== J || e[114] !== m || e[115] !== r || e[116] !== D || e[117] !== Y || e[118] !== x || e[119] !== gt || e[120] !== yt || e[121] !== de || e[122] !== me || e[123] !== pe || e[124] !== ue || e[125] !== u || e[126] !== f ? (nt = /* @__PURE__ */ o.jsxs(so, { className: gt, style: yt, id: J, ref: xt, "aria-label": ee, backgroundColor: ke, theme: u, language: r, minHeight: D, width: f, height: m, relativeHeight: x, padding: Y, children: [
394
+ de,
391
395
  me,
392
396
  pe,
393
- ue,
394
- fe
395
- ] }), e[111] = F, e[112] = ke, e[113] = te, e[114] = p, e[115] = ce, e[116] = c, e[117] = J, e[118] = v, e[119] = gt, e[120] = yt, e[121] = me, e[122] = pe, e[123] = ue, e[124] = fe, e[125] = z, e[126] = h, e[127] = rt) : rt = e[127], rt;
396
- }
397
- function co(n) {
398
- return n != null;
397
+ ue
398
+ ] }), e[111] = ee, e[112] = ke, e[113] = J, e[114] = m, e[115] = r, e[116] = D, e[117] = Y, e[118] = x, e[119] = gt, e[120] = yt, e[121] = de, e[122] = me, e[123] = pe, e[124] = ue, e[125] = u, e[126] = f, e[127] = nt) : nt = e[127], nt;
399
399
  }
400
400
  function mo(n) {
401
- return n.radius;
401
+ return n != null;
402
402
  }
403
403
  function po(n) {
404
- return n.color;
404
+ return n.radius;
405
405
  }
406
406
  function uo(n) {
407
407
  return n.color;
408
408
  }
409
409
  function fo(n) {
410
- return n.properties?.NAME !== "Antarctica";
410
+ return n.color;
411
411
  }
412
412
  function ho(n) {
413
- return n !== void 0;
413
+ return n.properties?.NAME !== "Antarctica";
414
414
  }
415
415
  function go(n) {
416
416
  return n !== void 0;
417
417
  }
418
418
  function yo(n) {
419
- return n.data;
419
+ return n !== void 0;
420
420
  }
421
421
  function vo(n) {
422
- return n !== void 0;
422
+ return n.data;
423
423
  }
424
424
  function xo(n) {
425
+ return n !== void 0;
426
+ }
427
+ function bo(n) {
425
428
  return n.data;
426
429
  }
427
- function bo(n, e) {
430
+ function Do(n, e) {
428
431
  return n - e;
429
432
  }
430
- function Do(n) {
433
+ function wo(n) {
431
434
  return n.date;
432
435
  }
433
436
  export {
434
- Ho as DotDensityMap
437
+ Xo as DotDensityMap
435
438
  };
436
439
  //# sourceMappingURL=DotDensityMap.js.map