@undp/data-viz 2.3.17 → 2.3.19

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 (438) hide show
  1. package/dist/AreaChart.cjs +1 -1
  2. package/dist/AreaChart.cjs.map +1 -1
  3. package/dist/AreaChart.d.ts +2 -0
  4. package/dist/AreaChart.js +356 -354
  5. package/dist/AreaChart.js.map +1 -1
  6. package/dist/{Axis-Jt_tmhxS.cjs → Axis-BTaS9oPQ.cjs} +2 -2
  7. package/dist/{Axis-Jt_tmhxS.cjs.map → Axis-BTaS9oPQ.cjs.map} +1 -1
  8. package/dist/{Axis-RyGdzLrG.js → Axis-CNZYWzH0.js} +2 -2
  9. package/dist/{Axis-RyGdzLrG.js.map → Axis-CNZYWzH0.js.map} +1 -1
  10. package/dist/{AxisTitle-DGjX1_2v.js → AxisTitle-CyLCqpW6.js} +2 -2
  11. package/dist/{AxisTitle-DGjX1_2v.js.map → AxisTitle-CyLCqpW6.js.map} +1 -1
  12. package/dist/{AxisTitle-DV4n0RxE.cjs → AxisTitle-DP_evhbe.cjs} +2 -2
  13. package/dist/{AxisTitle-DV4n0RxE.cjs.map → AxisTitle-DP_evhbe.cjs.map} +1 -1
  14. package/dist/BarGraph.cjs +1 -1
  15. package/dist/BarGraph.cjs.map +1 -1
  16. package/dist/BarGraph.d.ts +6 -0
  17. package/dist/BarGraph.js +1687 -1675
  18. package/dist/BarGraph.js.map +1 -1
  19. package/dist/BasicStatCard.cjs +1 -1
  20. package/dist/BasicStatCard.cjs.map +1 -1
  21. package/dist/BasicStatCard.d.ts +2 -0
  22. package/dist/BasicStatCard.js +46 -45
  23. package/dist/BasicStatCard.js.map +1 -1
  24. package/dist/BeeSwarmChart.cjs +1 -1
  25. package/dist/BeeSwarmChart.cjs.map +1 -1
  26. package/dist/BeeSwarmChart.d.ts +2 -0
  27. package/dist/BeeSwarmChart.js +268 -265
  28. package/dist/BeeSwarmChart.js.map +1 -1
  29. package/dist/BiVariateChoroplethMap.cjs +1 -1
  30. package/dist/BiVariateChoroplethMap.cjs.map +1 -1
  31. package/dist/BiVariateChoroplethMap.d.ts +2 -0
  32. package/dist/BiVariateChoroplethMap.js +300 -298
  33. package/dist/BiVariateChoroplethMap.js.map +1 -1
  34. package/dist/BulletChart.cjs +1 -1
  35. package/dist/BulletChart.cjs.map +1 -1
  36. package/dist/BulletChart.d.ts +2 -0
  37. package/dist/BulletChart.js +526 -523
  38. package/dist/BulletChart.js.map +1 -1
  39. package/dist/ButterflyChart.cjs +1 -1
  40. package/dist/ButterflyChart.cjs.map +1 -1
  41. package/dist/ButterflyChart.d.ts +2 -0
  42. package/dist/ButterflyChart.js +330 -328
  43. package/dist/ButterflyChart.js.map +1 -1
  44. package/dist/ChoroplethMap.cjs +1 -1
  45. package/dist/ChoroplethMap.cjs.map +1 -1
  46. package/dist/ChoroplethMap.d.ts +2 -0
  47. package/dist/ChoroplethMap.js +303 -301
  48. package/dist/ChoroplethMap.js.map +1 -1
  49. package/dist/CirclePackingGraph.cjs +1 -1
  50. package/dist/CirclePackingGraph.d.ts +2 -0
  51. package/dist/CirclePackingGraph.js +4 -4
  52. package/dist/ColorLegend.cjs +1 -1
  53. package/dist/ColorLegend.js +2 -2
  54. package/dist/ColorLegendWithMouseOver.cjs +1 -1
  55. package/dist/ColorLegendWithMouseOver.js +2 -2
  56. package/dist/CopyTextButton.cjs +1 -1
  57. package/dist/CopyTextButton.cjs.map +1 -1
  58. package/dist/CopyTextButton.js +7 -9
  59. package/dist/CopyTextButton.js.map +1 -1
  60. package/dist/CsvDownloadButton.cjs +1 -1
  61. package/dist/CsvDownloadButton.js +2 -2
  62. package/dist/DataCards.cjs +1 -1
  63. package/dist/DataCards.cjs.map +1 -1
  64. package/dist/DataCards.js +10 -12
  65. package/dist/DataCards.js.map +1 -1
  66. package/dist/DataTable.cjs +1 -1
  67. package/dist/DataTable.cjs.map +1 -1
  68. package/dist/DataTable.d.ts +2 -0
  69. package/dist/DataTable.js +103 -102
  70. package/dist/DataTable.js.map +1 -1
  71. package/dist/{DetailsModal-C3qlUyFK.js → DetailsModal-B2XBWR7w.js} +4 -4
  72. package/dist/{DetailsModal-C3qlUyFK.js.map → DetailsModal-B2XBWR7w.js.map} +1 -1
  73. package/dist/{DetailsModal-DIRTulvr.cjs → DetailsModal-jmmKRMRM.cjs} +2 -2
  74. package/dist/{DetailsModal-DIRTulvr.cjs.map → DetailsModal-jmmKRMRM.cjs.map} +1 -1
  75. package/dist/DifferenceLineChart.cjs +1 -1
  76. package/dist/DifferenceLineChart.cjs.map +1 -1
  77. package/dist/DifferenceLineChart.d.ts +4 -0
  78. package/dist/DifferenceLineChart.js +441 -437
  79. package/dist/DifferenceLineChart.js.map +1 -1
  80. package/dist/DonutChart.cjs +1 -1
  81. package/dist/DonutChart.cjs.map +1 -1
  82. package/dist/DonutChart.d.ts +4 -0
  83. package/dist/DonutChart.js +146 -142
  84. package/dist/DonutChart.js.map +1 -1
  85. package/dist/DotDensityMap.cjs +1 -1
  86. package/dist/DotDensityMap.cjs.map +1 -1
  87. package/dist/DotDensityMap.js +146 -146
  88. package/dist/DotDensityMap.js.map +1 -1
  89. package/dist/{DropdownSelect-NNpOs7DX.cjs → DropdownSelect-CX1yMemd.cjs} +2 -2
  90. package/dist/DropdownSelect-CX1yMemd.cjs.map +1 -0
  91. package/dist/{DropdownSelect-B2WTeedJ.js → DropdownSelect-Dz7imdTB.js} +6 -9
  92. package/dist/DropdownSelect-Dz7imdTB.js.map +1 -0
  93. package/dist/DualAxisLineChart.cjs +1 -1
  94. package/dist/DualAxisLineChart.cjs.map +1 -1
  95. package/dist/DualAxisLineChart.d.ts +4 -0
  96. package/dist/DualAxisLineChart.js +336 -332
  97. package/dist/DualAxisLineChart.js.map +1 -1
  98. package/dist/DumbbellChart.cjs +1 -1
  99. package/dist/DumbbellChart.cjs.map +1 -1
  100. package/dist/DumbbellChart.d.ts +2 -0
  101. package/dist/DumbbellChart.js +547 -544
  102. package/dist/DumbbellChart.js.map +1 -1
  103. package/dist/{EmptyState-B4c-CrXs.cjs → EmptyState-CFmiFPHz.cjs} +2 -2
  104. package/dist/{EmptyState-B4c-CrXs.cjs.map → EmptyState-CFmiFPHz.cjs.map} +1 -1
  105. package/dist/{EmptyState-B3fPoH6L.js → EmptyState-CaxXCkiN.js} +4 -4
  106. package/dist/{EmptyState-B3fPoH6L.js.map → EmptyState-CaxXCkiN.js.map} +1 -1
  107. package/dist/ExcelDownloadButton.cjs +1 -1
  108. package/dist/ExcelDownloadButton.js +2 -2
  109. package/dist/FootNote.cjs +1 -1
  110. package/dist/FootNote.js +2 -2
  111. package/dist/GeoHubCompareMaps.cjs +1 -1
  112. package/dist/GeoHubCompareMaps.cjs.map +1 -1
  113. package/dist/GeoHubCompareMaps.js +111 -111
  114. package/dist/GeoHubCompareMaps.js.map +1 -1
  115. package/dist/GeoHubMap.cjs +1 -1
  116. package/dist/GeoHubMap.cjs.map +1 -1
  117. package/dist/GeoHubMap.js +71 -71
  118. package/dist/GeoHubMap.js.map +1 -1
  119. package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
  120. package/dist/GeoHubMapWithLayerSelection.cjs.map +1 -1
  121. package/dist/GeoHubMapWithLayerSelection.js +83 -83
  122. package/dist/GeoHubMapWithLayerSelection.js.map +1 -1
  123. package/dist/{GraphContainer-DwMxWRCi.js → GraphContainer-B8ZqOzKI.js} +2 -2
  124. package/dist/{GraphContainer-DwMxWRCi.js.map → GraphContainer-B8ZqOzKI.js.map} +1 -1
  125. package/dist/{GraphContainer-B1EDxJ0S.cjs → GraphContainer-Cul9b74X.cjs} +2 -2
  126. package/dist/{GraphContainer-B1EDxJ0S.cjs.map → GraphContainer-Cul9b74X.cjs.map} +1 -1
  127. package/dist/GraphDescription.cjs +1 -1
  128. package/dist/GraphDescription.js +2 -2
  129. package/dist/GraphEl-D8WRC8-j.cjs +2 -0
  130. package/dist/GraphEl-D8WRC8-j.cjs.map +1 -0
  131. package/dist/{GraphEl-CnJf8b50.js → GraphEl-Dorm_qQE.js} +48 -10
  132. package/dist/GraphEl-Dorm_qQE.js.map +1 -0
  133. package/dist/GraphFooter.cjs +1 -1
  134. package/dist/GraphFooter.js +2 -2
  135. package/dist/GraphHeader.cjs +1 -1
  136. package/dist/GraphHeader.js +1 -1
  137. package/dist/GraphTitle.cjs +1 -1
  138. package/dist/GraphTitle.js +2 -2
  139. package/dist/GriddedGraphs.cjs +1 -1
  140. package/dist/GriddedGraphs.d.ts +1 -0
  141. package/dist/GriddedGraphs.js +6 -6
  142. package/dist/GriddedGraphsFromConfig.cjs +1 -1
  143. package/dist/GriddedGraphsFromConfig.d.ts +1 -0
  144. package/dist/GriddedGraphsFromConfig.js +2 -2
  145. package/dist/HeatMap.cjs +1 -1
  146. package/dist/HeatMap.cjs.map +1 -1
  147. package/dist/HeatMap.d.ts +4 -0
  148. package/dist/HeatMap.js +158 -155
  149. package/dist/HeatMap.js.map +1 -1
  150. package/dist/Histogram.cjs +1 -1
  151. package/dist/Histogram.cjs.map +1 -1
  152. package/dist/Histogram.d.ts +2 -0
  153. package/dist/Histogram.js +81 -80
  154. package/dist/Histogram.js.map +1 -1
  155. package/dist/HybridMap.cjs +1 -1
  156. package/dist/HybridMap.cjs.map +1 -1
  157. package/dist/HybridMap.d.ts +2 -0
  158. package/dist/HybridMap.js +283 -281
  159. package/dist/HybridMap.js.map +1 -1
  160. package/dist/ImageDownloadButton.cjs +1 -1
  161. package/dist/ImageDownloadButton.js +2 -2
  162. package/dist/LineChartWithConfidenceInterval.cjs +1 -1
  163. package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
  164. package/dist/LineChartWithConfidenceInterval.d.ts +2 -0
  165. package/dist/LineChartWithConfidenceInterval.js +367 -365
  166. package/dist/LineChartWithConfidenceInterval.js.map +1 -1
  167. package/dist/LinearColorLegend.cjs +1 -1
  168. package/dist/LinearColorLegend.cjs.map +1 -1
  169. package/dist/LinearColorLegend.d.ts +1 -0
  170. package/dist/LinearColorLegend.js +38 -37
  171. package/dist/LinearColorLegend.js.map +1 -1
  172. package/dist/{Modal-ZX55hLH-.cjs → Modal-BIErPPKT.cjs} +5 -5
  173. package/dist/{Modal-ZX55hLH-.cjs.map → Modal-BIErPPKT.cjs.map} +1 -1
  174. package/dist/{Modal-BV4rkoLM.js → Modal-CrUYln5V.js} +4 -4
  175. package/dist/{Modal-BV4rkoLM.js.map → Modal-CrUYln5V.js.map} +1 -1
  176. package/dist/MultiGraphDashboard.cjs +1 -1
  177. package/dist/MultiGraphDashboard.d.ts +1 -0
  178. package/dist/MultiGraphDashboard.js +4 -4
  179. package/dist/MultiGraphDashboardFromConfig.cjs +1 -1
  180. package/dist/MultiGraphDashboardFromConfig.d.ts +1 -0
  181. package/dist/MultiGraphDashboardFromConfig.js +2 -2
  182. package/dist/MultiGraphDashboardWideToLongFormat.cjs +1 -1
  183. package/dist/MultiGraphDashboardWideToLongFormat.js +4 -4
  184. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs +1 -1
  185. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js +2 -2
  186. package/dist/MultiLineAltChart.cjs +1 -1
  187. package/dist/MultiLineAltChart.cjs.map +1 -1
  188. package/dist/MultiLineAltChart.d.ts +2 -0
  189. package/dist/MultiLineAltChart.js +434 -432
  190. package/dist/MultiLineAltChart.js.map +1 -1
  191. package/dist/MultiLineChart.cjs +1 -1
  192. package/dist/MultiLineChart.cjs.map +1 -1
  193. package/dist/MultiLineChart.d.ts +4 -0
  194. package/dist/MultiLineChart.js +398 -394
  195. package/dist/MultiLineChart.js.map +1 -1
  196. package/dist/ParetoChart.cjs +1 -1
  197. package/dist/ParetoChart.cjs.map +1 -1
  198. package/dist/ParetoChart.d.ts +2 -0
  199. package/dist/ParetoChart.js +273 -271
  200. package/dist/ParetoChart.js.map +1 -1
  201. package/dist/PerformanceIntensiveMultiGraphDashboard.cjs +1 -1
  202. package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +1 -0
  203. package/dist/PerformanceIntensiveMultiGraphDashboard.js +4 -4
  204. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.cjs +1 -1
  205. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +1 -0
  206. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js +2 -2
  207. package/dist/PerformanceIntensiveScrollStory.cjs +1 -1
  208. package/dist/PerformanceIntensiveScrollStory.d.ts +1 -0
  209. package/dist/PerformanceIntensiveScrollStory.js +3 -3
  210. package/dist/RadarChart.cjs +1 -1
  211. package/dist/RadarChart.cjs.map +1 -1
  212. package/dist/RadarChart.d.ts +2 -0
  213. package/dist/RadarChart.js +220 -218
  214. package/dist/RadarChart.js.map +1 -1
  215. package/dist/{ReferenceLine-M9aP3dj-.cjs → ReferenceLine-CpU4G01Y.cjs} +2 -2
  216. package/dist/{ReferenceLine-M9aP3dj-.cjs.map → ReferenceLine-CpU4G01Y.cjs.map} +1 -1
  217. package/dist/{ReferenceLine-CNEjAYvv.js → ReferenceLine-D41VuUhE.js} +3 -3
  218. package/dist/{ReferenceLine-CNEjAYvv.js.map → ReferenceLine-D41VuUhE.js.map} +1 -1
  219. package/dist/{RegressionLine-Ci-Dh0w0.cjs → RegressionLine-BFoBiVJk.cjs} +2 -2
  220. package/dist/{RegressionLine-Ci-Dh0w0.cjs.map → RegressionLine-BFoBiVJk.cjs.map} +1 -1
  221. package/dist/{RegressionLine-BDrndQxo.js → RegressionLine-CuwB42I6.js} +4 -4
  222. package/dist/{RegressionLine-BDrndQxo.js.map → RegressionLine-CuwB42I6.js.map} +1 -1
  223. package/dist/SVGDownloadButton.cjs +1 -1
  224. package/dist/SVGDownloadButton.js +2 -2
  225. package/dist/SankeyChart.cjs +1 -1
  226. package/dist/SankeyChart.cjs.map +1 -1
  227. package/dist/SankeyChart.d.ts +2 -0
  228. package/dist/SankeyChart.js +439 -437
  229. package/dist/SankeyChart.js.map +1 -1
  230. package/dist/ScatterPlot.cjs +1 -1
  231. package/dist/ScatterPlot.cjs.map +1 -1
  232. package/dist/ScatterPlot.d.ts +2 -0
  233. package/dist/ScatterPlot.js +425 -423
  234. package/dist/ScatterPlot.js.map +1 -1
  235. package/dist/ScrollStory.cjs +1 -1
  236. package/dist/ScrollStory.d.ts +1 -0
  237. package/dist/ScrollStory.js +3 -3
  238. package/dist/SimpleLineChart.cjs +1 -1
  239. package/dist/SimpleLineChart.cjs.map +1 -1
  240. package/dist/SimpleLineChart.d.ts +2 -0
  241. package/dist/SimpleLineChart.js +360 -358
  242. package/dist/SimpleLineChart.js.map +1 -1
  243. package/dist/SingleGraphDashboard.cjs +1 -1
  244. package/dist/SingleGraphDashboard.d.ts +1 -0
  245. package/dist/SingleGraphDashboard.js +6 -6
  246. package/dist/SingleGraphDashboardFromConfig.cjs +1 -1
  247. package/dist/SingleGraphDashboardFromConfig.d.ts +1 -0
  248. package/dist/SingleGraphDashboardFromConfig.js +2 -2
  249. package/dist/SingleGraphDashboardGeoHubMaps.cjs +1 -1
  250. package/dist/SingleGraphDashboardGeoHubMaps.d.ts +1 -0
  251. package/dist/SingleGraphDashboardGeoHubMaps.js +3 -3
  252. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.cjs +1 -1
  253. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +1 -0
  254. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js +2 -2
  255. package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
  256. package/dist/SingleGraphDashboardThreeDGraphs.d.ts +1 -0
  257. package/dist/SingleGraphDashboardThreeDGraphs.js +6 -6
  258. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.cjs +1 -1
  259. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +1 -0
  260. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js +2 -2
  261. package/dist/SlopeChart.cjs +1 -1
  262. package/dist/SlopeChart.js +10 -10
  263. package/dist/{Source-BOSAl3UX.cjs → Source-PKuwZOn3.cjs} +2 -2
  264. package/dist/{Source-BOSAl3UX.cjs.map → Source-PKuwZOn3.cjs.map} +1 -1
  265. package/dist/{Source-Djkz-7jX.js → Source-QGk8vhkS.js} +3 -3
  266. package/dist/{Source-Djkz-7jX.js.map → Source-QGk8vhkS.js.map} +1 -1
  267. package/dist/Source.cjs +1 -1
  268. package/dist/Source.js +3 -3
  269. package/dist/SparkLine.cjs +1 -1
  270. package/dist/SparkLine.js +3 -3
  271. package/dist/{Spinner-CtJETd5V.js → Spinner-B2IIKg9r.js} +2 -2
  272. package/dist/{Spinner-CtJETd5V.js.map → Spinner-B2IIKg9r.js.map} +1 -1
  273. package/dist/{Spinner-jTMOLuw_.cjs → Spinner-WHzzloYQ.cjs} +2 -2
  274. package/dist/{Spinner-jTMOLuw_.cjs.map → Spinner-WHzzloYQ.cjs.map} +1 -1
  275. package/dist/StatCardFromData.cjs +1 -1
  276. package/dist/StatCardFromData.cjs.map +1 -1
  277. package/dist/StatCardFromData.d.ts +4 -0
  278. package/dist/StatCardFromData.js +97 -95
  279. package/dist/StatCardFromData.js.map +1 -1
  280. package/dist/StripChart.cjs +1 -1
  281. package/dist/StripChart.cjs.map +1 -1
  282. package/dist/StripChart.d.ts +2 -0
  283. package/dist/StripChart.js +360 -357
  284. package/dist/StripChart.js.map +1 -1
  285. package/dist/ThreeDGlobe.cjs +1 -1
  286. package/dist/ThreeDGlobe.cjs.map +1 -1
  287. package/dist/ThreeDGlobe.d.ts +2 -0
  288. package/dist/ThreeDGlobe.js +198 -196
  289. package/dist/ThreeDGlobe.js.map +1 -1
  290. package/dist/ThresholdColorLegendWithMouseOver.cjs +1 -1
  291. package/dist/ThresholdColorLegendWithMouseOver.cjs.map +1 -1
  292. package/dist/ThresholdColorLegendWithMouseOver.d.ts +2 -0
  293. package/dist/ThresholdColorLegendWithMouseOver.js +50 -48
  294. package/dist/ThresholdColorLegendWithMouseOver.js.map +1 -1
  295. package/dist/{Tooltip-CohiIbLZ.js → Tooltip-Bj-s__cI.js} +3 -3
  296. package/dist/{Tooltip-CohiIbLZ.js.map → Tooltip-Bj-s__cI.js.map} +1 -1
  297. package/dist/{Tooltip-BLa2EfMs.cjs → Tooltip-Hr46paWP.cjs} +2 -2
  298. package/dist/{Tooltip-BLa2EfMs.cjs.map → Tooltip-Hr46paWP.cjs.map} +1 -1
  299. package/dist/TreeMapGraph.cjs +1 -1
  300. package/dist/TreeMapGraph.cjs.map +1 -1
  301. package/dist/TreeMapGraph.d.ts +2 -0
  302. package/dist/TreeMapGraph.js +219 -217
  303. package/dist/TreeMapGraph.js.map +1 -1
  304. package/dist/Types.d.ts +1 -0
  305. package/dist/{Typography-DMVW6JnV.js → Typography-BO0gQDIT.js} +2 -2
  306. package/dist/{Typography-DMVW6JnV.js.map → Typography-BO0gQDIT.js.map} +1 -1
  307. package/dist/{Typography-CZZxlj1W.cjs → Typography-BqmyF1gP.cjs} +2 -2
  308. package/dist/{Typography-CZZxlj1W.cjs.map → Typography-BqmyF1gP.cjs.map} +1 -1
  309. package/dist/UnitChart.cjs +1 -1
  310. package/dist/UnitChart.cjs.map +1 -1
  311. package/dist/UnitChart.d.ts +4 -0
  312. package/dist/UnitChart.js +88 -86
  313. package/dist/UnitChart.js.map +1 -1
  314. package/dist/WaterfallChart.cjs +1 -1
  315. package/dist/WaterfallChart.cjs.map +1 -1
  316. package/dist/WaterfallChart.d.ts +2 -0
  317. package/dist/WaterfallChart.js +243 -241
  318. package/dist/WaterfallChart.js.map +1 -1
  319. package/dist/{XAxesLabels-IwjMJkYS.js → XAxesLabels-B9gkjUiC.js} +3 -3
  320. package/dist/{XAxesLabels-IwjMJkYS.js.map → XAxesLabels-B9gkjUiC.js.map} +1 -1
  321. package/dist/{XAxesLabels-C6o9jJal.cjs → XAxesLabels-C03jHniq.cjs} +2 -2
  322. package/dist/{XAxesLabels-C6o9jJal.cjs.map → XAxesLabels-C03jHniq.cjs.map} +1 -1
  323. package/dist/XTicksAndGridLines-C5DuC5oY.cjs +2 -0
  324. package/dist/XTicksAndGridLines-C5DuC5oY.cjs.map +1 -0
  325. package/dist/XTicksAndGridLines-gdbGX2rm.js +39 -0
  326. package/dist/XTicksAndGridLines-gdbGX2rm.js.map +1 -0
  327. package/dist/{YAxesLabels-BQ2aCazV.cjs → YAxesLabels-DeENFC2M.cjs} +2 -2
  328. package/dist/{YAxesLabels-BQ2aCazV.cjs.map → YAxesLabels-DeENFC2M.cjs.map} +1 -1
  329. package/dist/{YAxesLabels-DoGvgHdw.js → YAxesLabels-hWEUCTvs.js} +3 -3
  330. package/dist/{YAxesLabels-DoGvgHdw.js.map → YAxesLabels-hWEUCTvs.js.map} +1 -1
  331. package/dist/YTicksAndGridLines-CsNSq9W9.js +39 -0
  332. package/dist/YTicksAndGridLines-CsNSq9W9.js.map +1 -0
  333. package/dist/YTicksAndGridLines-DFjm8RCc.cjs +2 -0
  334. package/dist/YTicksAndGridLines-DFjm8RCc.cjs.map +1 -0
  335. package/dist/{checkIfMultiple-TOaaUwS7.cjs → checkIfMultiple-CH5tqj4q.cjs} +2 -2
  336. package/dist/checkIfMultiple-CH5tqj4q.cjs.map +1 -0
  337. package/dist/{checkIfMultiple-B97uOUVq.js → checkIfMultiple-Dpyy6BUP.js} +6 -6
  338. package/dist/checkIfMultiple-Dpyy6BUP.js.map +1 -0
  339. package/dist/{customArea-B1LWQBmM.cjs → customArea-BAcQ3pBM.cjs} +2 -2
  340. package/dist/{customArea-B1LWQBmM.cjs.map → customArea-BAcQ3pBM.cjs.map} +1 -1
  341. package/dist/{customArea-Cc2whe6P.js → customArea-D89lETG0.js} +3 -3
  342. package/dist/{customArea-Cc2whe6P.js.map → customArea-D89lETG0.js.map} +1 -1
  343. package/dist/getSliderMarks-BzrpHrHS.cjs +2 -0
  344. package/dist/getSliderMarks-BzrpHrHS.cjs.map +1 -0
  345. package/dist/{getSliderMarks-vXsR8RrR.js → getSliderMarks-X-_goqH9.js} +3 -4
  346. package/dist/getSliderMarks-X-_goqH9.js.map +1 -0
  347. package/dist/{index-CZ0elhKR.js → index-ApTBN0kp.js} +20 -10
  348. package/dist/{index-CZ0elhKR.js.map → index-ApTBN0kp.js.map} +1 -1
  349. package/dist/index-Bdo_HXb_.cjs +2 -0
  350. package/dist/index-Bdo_HXb_.cjs.map +1 -0
  351. package/dist/{index-sbKVyHS2.cjs → index-BhI7mBJx.cjs} +2 -2
  352. package/dist/{index-sbKVyHS2.cjs.map → index-BhI7mBJx.cjs.map} +1 -1
  353. package/dist/{index-D69M6klB.cjs → index-BuhBhuCq.cjs} +2 -2
  354. package/dist/{index-D69M6klB.cjs.map → index-BuhBhuCq.cjs.map} +1 -1
  355. package/dist/index-CGrBpeUa.js +380 -0
  356. package/dist/index-CGrBpeUa.js.map +1 -0
  357. package/dist/{index-CHPV5EwG-BCLAYDCV.js → index-CHPV5EwG-BzibaIRc.js} +5 -9
  358. package/dist/index-CHPV5EwG-BzibaIRc.js.map +1 -0
  359. package/dist/{index-CHPV5EwG-6v2a2njQ.cjs → index-CHPV5EwG-D4pAp7u0.cjs} +3 -3
  360. package/dist/index-CHPV5EwG-D4pAp7u0.cjs.map +1 -0
  361. package/dist/{index-Co3YGYe1.js → index-Cv_5q6Rb.js} +3 -3
  362. package/dist/{index-Co3YGYe1.js.map → index-Cv_5q6Rb.js.map} +1 -1
  363. package/dist/{index-D_dtv_T9.js → index-DHVGV8Df.js} +3 -3
  364. package/dist/{index-D_dtv_T9.js.map → index-DHVGV8Df.js.map} +1 -1
  365. package/dist/{index-CoobIWNj.cjs → index-FXfr51ZM.cjs} +2 -2
  366. package/dist/{index-CoobIWNj.cjs.map → index-FXfr51ZM.cjs.map} +1 -1
  367. package/dist/{index-D6CYcVc7-BOa7Dpvf.js → index-Scxs_wcm-BAjU0Cob.js} +16 -16
  368. package/dist/index-Scxs_wcm-BAjU0Cob.js.map +1 -0
  369. package/dist/index-Scxs_wcm-DUDU-Gll.cjs +2 -0
  370. package/dist/index-Scxs_wcm-DUDU-Gll.cjs.map +1 -0
  371. package/dist/{index-DoS4bGNa-C3DbPpy3.cjs → index-w64Zl8io-DrMm5QSb.cjs} +2 -2
  372. package/dist/index-w64Zl8io-DrMm5QSb.cjs.map +1 -0
  373. package/dist/{index-DoS4bGNa-Bgab95kx.js → index-w64Zl8io-ihagHOdP.js} +2 -2
  374. package/dist/index-w64Zl8io-ihagHOdP.js.map +1 -0
  375. package/dist/index.cjs +1 -1
  376. package/dist/index.d.ts +92 -17
  377. package/dist/index.js +3 -3
  378. package/dist/numberFormattingFunction-Cn9R7CM9.cjs +2 -0
  379. package/dist/numberFormattingFunction-Cn9R7CM9.cjs.map +1 -0
  380. package/dist/numberFormattingFunction-DqMf_v1m.js +28 -0
  381. package/dist/numberFormattingFunction-DqMf_v1m.js.map +1 -0
  382. package/dist/{proxy--_f6k3NR.js → proxy-BsxtcZKa.js} +2 -2
  383. package/dist/{proxy--_f6k3NR.js.map → proxy-BsxtcZKa.js.map} +1 -1
  384. package/dist/{proxy-C4-uo6nS.cjs → proxy-CqH8m8IQ.cjs} +2 -2
  385. package/dist/{proxy-C4-uo6nS.cjs.map → proxy-CqH8m8IQ.cjs.map} +1 -1
  386. package/dist/{string2HTML-DUYZT1L9.js → string2HTML-BrFperRM.js} +2 -2
  387. package/dist/{string2HTML-DUYZT1L9.js.map → string2HTML-BrFperRM.js.map} +1 -1
  388. package/dist/{string2HTML-xx9MzTtY.cjs → string2HTML-ZoGd08P_.cjs} +2 -2
  389. package/dist/{string2HTML-xx9MzTtY.cjs.map → string2HTML-ZoGd08P_.cjs.map} +1 -1
  390. package/dist/style.css +1 -1
  391. package/dist/{use-in-view-DqvKAveg.js → use-in-view-KOXq5Kmc.js} +2 -2
  392. package/dist/{use-in-view-DqvKAveg.js.map → use-in-view-KOXq5Kmc.js.map} +1 -1
  393. package/dist/{use-in-view-C3o_ntMv.cjs → use-in-view-dnRv_qqF.cjs} +2 -2
  394. package/dist/{use-in-view-C3o_ntMv.cjs.map → use-in-view-dnRv_qqF.cjs.map} +1 -1
  395. package/dist/utils.cjs +1 -1
  396. package/dist/utils.d.ts +9 -18
  397. package/dist/utils.js +1 -1
  398. package/dist/x-BXShoIAM-BC2sxios.cjs +2 -0
  399. package/dist/x-BXShoIAM-BC2sxios.cjs.map +1 -0
  400. package/dist/{x-BBpi7a_7-BsvWCzYM.js → x-BXShoIAM-D6VWO6z5.js} +3 -5
  401. package/dist/x-BXShoIAM-D6VWO6z5.js.map +1 -0
  402. package/package.json +2 -2
  403. package/dist/DropdownSelect-B2WTeedJ.js.map +0 -1
  404. package/dist/DropdownSelect-NNpOs7DX.cjs.map +0 -1
  405. package/dist/GraphEl-CnJf8b50.js.map +0 -1
  406. package/dist/GraphEl-D_w0Qak4.cjs +0 -2
  407. package/dist/GraphEl-D_w0Qak4.cjs.map +0 -1
  408. package/dist/XTicksAndGridLines-BDmF9etl.js +0 -38
  409. package/dist/XTicksAndGridLines-BDmF9etl.js.map +0 -1
  410. package/dist/XTicksAndGridLines-CekrPykD.cjs +0 -2
  411. package/dist/XTicksAndGridLines-CekrPykD.cjs.map +0 -1
  412. package/dist/YTicksAndGridLines-C3GW1xFG.js +0 -38
  413. package/dist/YTicksAndGridLines-C3GW1xFG.js.map +0 -1
  414. package/dist/YTicksAndGridLines-UzVC5eBM.cjs +0 -2
  415. package/dist/YTicksAndGridLines-UzVC5eBM.cjs.map +0 -1
  416. package/dist/checkIfMultiple-B97uOUVq.js.map +0 -1
  417. package/dist/checkIfMultiple-TOaaUwS7.cjs.map +0 -1
  418. package/dist/getSliderMarks-CIuSoedo.cjs +0 -2
  419. package/dist/getSliderMarks-CIuSoedo.cjs.map +0 -1
  420. package/dist/getSliderMarks-vXsR8RrR.js.map +0 -1
  421. package/dist/index-C6VwVS8W.js +0 -378
  422. package/dist/index-C6VwVS8W.js.map +0 -1
  423. package/dist/index-CHPV5EwG-6v2a2njQ.cjs.map +0 -1
  424. package/dist/index-CHPV5EwG-BCLAYDCV.js.map +0 -1
  425. package/dist/index-D6CYcVc7-BOa7Dpvf.js.map +0 -1
  426. package/dist/index-D6CYcVc7-CTEcAtiQ.cjs +0 -2
  427. package/dist/index-D6CYcVc7-CTEcAtiQ.cjs.map +0 -1
  428. package/dist/index-DoS4bGNa-Bgab95kx.js.map +0 -1
  429. package/dist/index-DoS4bGNa-C3DbPpy3.cjs.map +0 -1
  430. package/dist/index-_TlgeI_i.cjs +0 -2
  431. package/dist/index-_TlgeI_i.cjs.map +0 -1
  432. package/dist/numberFormattingFunction-02t-wJta.cjs +0 -2
  433. package/dist/numberFormattingFunction-02t-wJta.cjs.map +0 -1
  434. package/dist/numberFormattingFunction-14YCbkN2.js +0 -13
  435. package/dist/numberFormattingFunction-14YCbkN2.js.map +0 -1
  436. package/dist/x-BBpi7a_7-BsvWCzYM.js.map +0 -1
  437. package/dist/x-BBpi7a_7-DXYIEFwN.cjs +0 -2
  438. package/dist/x-BBpi7a_7-DXYIEFwN.cjs.map +0 -1
package/dist/HybridMap.js CHANGED
@@ -1,38 +1,38 @@
1
- import { _ as oo, m as Vt, a as Ht, j as a, c as ao } from "./index-CHPV5EwG-BCLAYDCV.js";
2
- import * as ro from "react";
3
- import io, { useMemo as At, useState as M, useRef as qe, useEffect as Ue, useEffectEvent as Ft } from "react";
4
- import { f as no, p as lo } from "./parse-Dv4of-PN.js";
5
- import { g as so, N as co } from "./getSliderMarks-vXsR8RrR.js";
6
- import { w as mo } from "./Spinner-CtJETd5V.js";
7
- import { i as Tt } from "./index-Bwrro8-q.js";
8
- import { i as Rt, z as po, a as uo, g as ho, b as fo, c as go, d as yo, e as vo, f as xo } from "./index-CKpKc9DR.js";
9
- import { _ as Lt } from "./Typography-DMVW6JnV.js";
10
- import { i as bo } from "./index-DCsFBfJ_.js";
11
- import { n as Gt } from "./Source-Djkz-7jX.js";
12
- import { w as wo } from "./index-DoS4bGNa-Bgab95kx.js";
13
- import { T as jo } from "./Tooltip-CohiIbLZ.js";
14
- import { X as ko, P as Co, e as Do } from "./index-CZ0elhKR.js";
15
- import { D as No } from "./DetailsModal-C3qlUyFK.js";
16
- import { s as Mo } from "./pow-BXYLJHCq.js";
17
- import { o as So } from "./ordinal-CHaxGJ_l.js";
18
- import { t as Oo } from "./threshold-DFfqcDMa.js";
19
- import { s as Wt } from "./select-DKy99ogv.js";
20
- import { m as me } from "./proxy--_f6k3NR.js";
21
- import { c as yt } from "./checkIfNullOrUndefined-DmfiKkNw.js";
22
- import { n as Eo } from "./numberFormattingFunction-14YCbkN2.js";
23
- import { u as Bo } from "./use-in-view-DqvKAveg.js";
24
- import { A as Io } from "./index-Co3YGYe1.js";
25
- import { GraphFooter as zo } from "./GraphFooter.js";
26
- import { GraphHeader as Po } from "./GraphHeader.js";
27
- import { Colors as Ne } from "./Colors.js";
28
- import { f as Ut } from "./fetchAndParseData-BAXhgTDM.js";
29
- import { a as _o, G as Lo } from "./GraphContainer-DwMxWRCi.js";
30
- import { g as Wo } from "./getUniqValue-DsqSii6M.js";
31
- import { g as Vo } from "./getJenks-DTCcQSDi.js";
32
- var $o = "Separator", qt = "horizontal", Ao = ["horizontal", "vertical"], Xt = ro.forwardRef((r, e) => {
33
- const { decorative: t, orientation: w = qt, ...y } = r, n = Fo(w) ? w : qt, v = t ? { role: "none" } : { "aria-orientation": n === "vertical" ? n : void 0, role: "separator" };
34
- return /* @__PURE__ */ Ht.jsx(
35
- wo.div,
1
+ import { _ as ro, m as Ft, a as Yt, j as a, c as io } from "./index-CHPV5EwG-BzibaIRc.js";
2
+ import * as no from "react";
3
+ import lo, { useMemo as At, useState as S, useRef as qe, useEffect as Ue, useEffectEvent as Rt } from "react";
4
+ import { f as so, p as co } from "./parse-Dv4of-PN.js";
5
+ import { g as mo, N as po } from "./getSliderMarks-X-_goqH9.js";
6
+ import { w as uo } from "./Spinner-B2IIKg9r.js";
7
+ import { i as Gt } from "./index-Bwrro8-q.js";
8
+ import { i as Ut, z as ho, a as fo, g as go, b as yo, c as vo, d as xo, e as bo, f as wo } from "./index-CKpKc9DR.js";
9
+ import { _ as Vt } from "./Typography-BO0gQDIT.js";
10
+ import { i as jo } from "./index-DCsFBfJ_.js";
11
+ import { n as qt } from "./Source-QGk8vhkS.js";
12
+ import { w as ko } from "./index-w64Zl8io-ihagHOdP.js";
13
+ import { T as Co } from "./Tooltip-Bj-s__cI.js";
14
+ import { X as Do, E as No, P as Mo, e as So } from "./index-ApTBN0kp.js";
15
+ import { D as Oo } from "./DetailsModal-B2XBWR7w.js";
16
+ import { s as Eo } from "./pow-BXYLJHCq.js";
17
+ import { o as Io } from "./ordinal-CHaxGJ_l.js";
18
+ import { t as Bo } from "./threshold-DFfqcDMa.js";
19
+ import { s as $t } from "./select-DKy99ogv.js";
20
+ import { m as se } from "./proxy-BsxtcZKa.js";
21
+ import { c as vt } from "./checkIfNullOrUndefined-DmfiKkNw.js";
22
+ import { n as zo } from "./numberFormattingFunction-DqMf_v1m.js";
23
+ import { u as Po } from "./use-in-view-KOXq5Kmc.js";
24
+ import { A as _o } from "./index-Cv_5q6Rb.js";
25
+ import { GraphFooter as Lo } from "./GraphFooter.js";
26
+ import { GraphHeader as Wo } from "./GraphHeader.js";
27
+ import { Colors as De } from "./Colors.js";
28
+ import { f as Ht } from "./fetchAndParseData-BAXhgTDM.js";
29
+ import { a as Vo, G as $o } from "./GraphContainer-B8ZqOzKI.js";
30
+ import { g as Fo } from "./getUniqValue-DsqSii6M.js";
31
+ import { g as To } from "./getJenks-DTCcQSDi.js";
32
+ var Ao = "Separator", Xt = "horizontal", Ro = ["horizontal", "vertical"], Jt = no.forwardRef((r, e) => {
33
+ const { decorative: t, orientation: w = Xt, ...y } = r, n = Go(w) ? w : Xt, v = t ? { role: "none" } : { "aria-orientation": n === "vertical" ? n : void 0, role: "separator" };
34
+ return /* @__PURE__ */ Yt.jsx(
35
+ ko.div,
36
36
  {
37
37
  "data-orientation": n,
38
38
  ...v,
@@ -41,13 +41,13 @@ var $o = "Separator", qt = "horizontal", Ao = ["horizontal", "vertical"], Xt = r
41
41
  }
42
42
  );
43
43
  });
44
- Xt.displayName = $o;
45
- function Fo(r) {
46
- return Ao.includes(r);
44
+ Jt.displayName = Ao;
45
+ function Go(r) {
46
+ return Ro.includes(r);
47
47
  }
48
- var Yt = Xt;
49
- const Jt = io.forwardRef((r, e) => {
50
- const t = oo.c(14);
48
+ var Kt = Jt;
49
+ const Zt = lo.forwardRef((r, e) => {
50
+ const t = ro.c(14);
51
51
  let w, y, n, v;
52
52
  t[0] !== r ? ({
53
53
  className: w,
@@ -57,12 +57,12 @@ const Jt = io.forwardRef((r, e) => {
57
57
  } = r, t[0] = r, t[1] = w, t[2] = y, t[3] = n, t[4] = v) : (w = t[1], y = t[2], n = t[3], v = t[4]);
58
58
  const x = n === void 0 ? "dark" : n, l = v === void 0 ? "horizontal" : v, h = l === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", D = x === "dark" ? "bg-primary-gray-600 dark:bg-primary-gray-200" : "bg-primary-gray-400 dark:bg-primary-gray-550";
59
59
  let C;
60
- t[5] !== w || t[6] !== h || t[7] !== D ? (C = Vt(h, D, w), t[5] = w, t[6] = h, t[7] = D, t[8] = C) : C = t[8];
61
- let I;
62
- return t[9] !== l || t[10] !== y || t[11] !== e || t[12] !== C ? (I = /* @__PURE__ */ Ht.jsx(Yt, { ...y, ref: e, orientation: l, className: C }), t[9] = l, t[10] = y, t[11] = e, t[12] = C, t[13] = I) : I = t[13], I;
60
+ t[5] !== w || t[6] !== h || t[7] !== D ? (C = Ft(h, D, w), t[5] = w, t[6] = h, t[7] = D, t[8] = C) : C = t[8];
61
+ let P;
62
+ return t[9] !== l || t[10] !== y || t[11] !== e || t[12] !== C ? (P = /* @__PURE__ */ Yt.jsx(Kt, { ...y, ref: e, orientation: l, className: C }), t[9] = l, t[10] = y, t[11] = e, t[12] = C, t[13] = P) : P = t[13], P;
63
63
  });
64
- Jt.displayName = Yt.displayName;
65
- function To(r) {
64
+ Zt.displayName = Kt.displayName;
65
+ function Uo(r) {
66
66
  const {
67
67
  data: e,
68
68
  colors: t,
@@ -75,97 +75,98 @@ function To(r) {
75
75
  scale: h,
76
76
  centerPoint: D,
77
77
  tooltip: C,
78
- showLabels: I,
79
- mapBorderWidth: pe,
80
- mapBorderColor: ue,
81
- mapNoDataColor: Me,
78
+ showLabels: P,
79
+ mapBorderWidth: ce,
80
+ mapBorderColor: de,
81
+ mapNoDataColor: Ne,
82
82
  onSeriesMouseOver: U,
83
- showColorScale: Se,
83
+ showColorScale: Me,
84
84
  zoomScaleExtend: He,
85
85
  zoomTranslateExtend: Xe,
86
- highlightedDataPoints: Oe,
86
+ highlightedDataPoints: Se,
87
87
  onSeriesMouseClick: W,
88
- resetSelectionOnDoubleClick: Ee,
88
+ resetSelectionOnDoubleClick: Oe,
89
89
  detailsOnClick: q,
90
90
  styles: N,
91
91
  classNames: H,
92
- mapProjection: oe,
92
+ mapProjection: ae,
93
93
  zoomInteraction: X,
94
94
  animate: b,
95
95
  dimmedOpacity: V,
96
- customLayers: he,
97
- maxRadiusValue: fe,
98
- categorical: ae,
96
+ customLayers: me,
97
+ maxRadiusValue: pe,
98
+ categorical: re,
99
99
  dotColor: Y,
100
- collapseColorScaleByDefault: Be,
101
- highlightedIds: re,
102
- mapProperty: ge,
103
- dotLegendTitle: ye,
100
+ collapseColorScaleByDefault: Ee,
101
+ highlightedIds: ie,
102
+ mapProperty: ue,
103
+ dotLegendTitle: he,
104
104
  dotBorderColor: Ie,
105
- labelColor: ze,
105
+ labelColor: Be,
106
106
  projectionRotate: J,
107
107
  rewindCoordinatesInMapData: K,
108
108
  overlayMapData: p,
109
109
  overlayMapBorderColor: g,
110
- overlayMapBorderWidth: Ye
111
- } = r, Z = At(() => K ? Rt(w, {
110
+ overlayMapBorderWidth: Ye,
111
+ locale: Je
112
+ } = r, Z = At(() => K ? Ut(w, {
112
113
  reverse: !0
113
- }) : w, [w, K]), Je = At(() => !K || !p ? p : Rt(p, {
114
+ }) : w, [w, K]), Ke = At(() => !K || !p ? p : Ut(p, {
114
115
  reverse: !0
115
- }), [p, K]), [z, S] = M(void 0), [ve, ie] = M(Be === void 0 ? !(l < 680) : !Be), ne = qe(null), [le, P] = M(void 0), [Pe, _] = M(void 0), [xe, $] = M(void 0), [se, A] = M(void 0), f = qe(null), j = Bo(f, {
116
+ }), [p, K]), [M, O] = S(void 0), [fe, ge] = S(Ee === void 0 ? !(l < 680) : !Ee), ye = qe(null), [$, Q] = S(void 0), [ve, _] = S(void 0), [ze, E] = S(void 0), [Pe, F] = S(void 0), f = qe(null), j = Po(f, {
116
117
  once: b.once,
117
118
  amount: b.amount
118
- }), ce = qe(null), k = e.filter((o) => o.radius === void 0 || o.radius === null).length !== e.length ? Mo().domain([0, fe]).range([0.25, v]).nice() : void 0, _e = ae ? So().domain(n).range(t) : Oo().domain(n).range(t);
119
+ }), ne = qe(null), k = e.filter((o) => o.radius === void 0 || o.radius === null).length !== e.length ? Eo().domain([0, pe]).range([0.25, v]).nice() : void 0, _e = re ? Io().domain(n).range(t) : Bo().domain(n).range(t);
119
120
  Ue(() => {
120
- const o = Wt(ce.current), i = Wt(f.current), u = (d) => {
121
+ const o = $t(ne.current), i = $t(f.current), u = (d) => {
121
122
  if (X === "noZoom") return !1;
122
123
  if (X === "button") return !d.type.includes("wheel");
123
- const Ae = d.type === "wheel", E = d.type.startsWith("touch"), T = d.type === "mousedown" || d.type === "mousemove";
124
- return E ? !0 : Ae ? X === "scroll" ? !0 : d.ctrlKey : T && !d.button && !d.ctrlKey;
125
- }, O = po().scaleExtent(He).translateExtent(Xe || [[-20, -20], [l + 20, x + 20]]).filter(u).on("zoom", ({
124
+ const Fe = d.type === "wheel", B = d.type.startsWith("touch"), A = d.type === "mousedown" || d.type === "mousemove";
125
+ return B ? !0 : Fe ? X === "scroll" ? !0 : d.ctrlKey : A && !d.button && !d.ctrlKey;
126
+ }, I = ho().scaleExtent(He).translateExtent(Xe || [[-20, -20], [l + 20, x + 20]]).filter(u).on("zoom", ({
126
127
  transform: d
127
128
  }) => {
128
129
  o.attr("transform", d);
129
130
  });
130
- i.call(O), ne.current = O;
131
+ i.call(I), ye.current = I;
131
132
  }, [x, l, X]);
132
- const Q = uo(Z), F = bo(Z), Le = (Q[2] - Q[0]) * 1.15, We = (Q[3] - Q[1]) * 1.15, Ve = l * 190 / 960 * 360 / Le, $e = x * 190 / 678 * 180 / We, L = h * Math.min(Ve, $e), ee = oe === "mercator" ? ho().rotate(J).center(D || F.geometry.coordinates).translate([l / 2, x / 2]).scale(L) : oe === "equalEarth" ? fo().rotate(J).center(D || F.geometry.coordinates).translate([l / 2, x / 2]).scale(L) : oe === "naturalEarth" ? go().rotate(J).center(D || F.geometry.coordinates).translate([l / 2, x / 2]).scale(L) : oe === "orthographic" ? yo().rotate(J).center(D || F.geometry.coordinates).translate([l / 2, x / 2]).scale(L) : vo().rotate(J).center(D || F.geometry.coordinates).translate([l / 2, x / 2]).scale(L), te = xo().projection(ee), be = (o) => {
133
- if (!f.current || !ne.current) return;
134
- Wt(f.current).call(ne.current.scaleBy, o === "in" ? 1.2 : 1 / 1.2);
133
+ const ee = fo(Z), T = jo(Z), Le = (ee[2] - ee[0]) * 1.15, We = (ee[3] - ee[1]) * 1.15, Ve = l * 190 / 960 * 360 / Le, $e = x * 190 / 678 * 180 / We, L = h * Math.min(Ve, $e), te = ae === "mercator" ? go().rotate(J).center(D || T.geometry.coordinates).translate([l / 2, x / 2]).scale(L) : ae === "equalEarth" ? yo().rotate(J).center(D || T.geometry.coordinates).translate([l / 2, x / 2]).scale(L) : ae === "naturalEarth" ? vo().rotate(J).center(D || T.geometry.coordinates).translate([l / 2, x / 2]).scale(L) : ae === "orthographic" ? xo().rotate(J).center(D || T.geometry.coordinates).translate([l / 2, x / 2]).scale(L) : bo().rotate(J).center(D || T.geometry.coordinates).translate([l / 2, x / 2]).scale(L), oe = wo().projection(te), xe = (o) => {
134
+ if (!f.current || !ye.current) return;
135
+ $t(f.current).call(ye.current.scaleBy, o === "in" ? 1.2 : 1 / 1.2);
135
136
  };
136
137
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
137
138
  /* @__PURE__ */ a.jsxs("div", { className: "relative", children: [
138
- /* @__PURE__ */ a.jsx(me.svg, { width: `${l}px`, height: `${x}px`, viewBox: `0 0 ${l} ${x}`, ref: f, direction: "ltr", children: /* @__PURE__ */ a.jsxs("g", { ref: ce, children: [
139
- he.filter((o) => o.position === "before").map((o) => o.layer),
139
+ /* @__PURE__ */ a.jsx(se.svg, { width: `${l}px`, height: `${x}px`, viewBox: `0 0 ${l} ${x}`, ref: f, direction: "ltr", children: /* @__PURE__ */ a.jsxs("g", { ref: ne, children: [
140
+ me.filter((o) => o.position === "before").map((o) => o.layer),
140
141
  Z.features.map((o, i) => {
141
- if (!o.properties?.[ge]) return null;
142
- const u = te(o);
143
- return u ? /* @__PURE__ */ a.jsx(me.g, { opacity: z ? V : re.length !== 0 ? re.indexOf(o.properties[ge]) !== -1 ? 1 : V : 1, children: /* @__PURE__ */ a.jsx("path", { d: u, style: {
144
- stroke: ue,
145
- strokeWidth: pe,
146
- fill: Me,
142
+ if (!o.properties?.[ue]) return null;
143
+ const u = oe(o);
144
+ return u ? /* @__PURE__ */ a.jsx(se.g, { opacity: M ? V : ie.length !== 0 ? ie.indexOf(o.properties[ue]) !== -1 ? 1 : V : 1, children: /* @__PURE__ */ a.jsx("path", { d: u, style: {
145
+ stroke: de,
146
+ strokeWidth: ce,
147
+ fill: Ne,
147
148
  vectorEffect: "non-scaling-stroke"
148
149
  } }) }, i) : null;
149
150
  }),
150
- /* @__PURE__ */ a.jsxs(Io, { children: [
151
+ /* @__PURE__ */ a.jsxs(_o, { children: [
151
152
  e.filter((o) => o.id).map((o) => {
152
153
  const i = Z.features.findIndex(
153
154
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
154
- (d) => o.id === d.properties[ge]
155
+ (d) => o.id === d.properties[ue]
155
156
  );
156
157
  if (i === -1) return null;
157
- const u = te(Z.features[i]);
158
+ const u = oe(Z.features[i]);
158
159
  if (!u) return null;
159
- const O = yt(o.x) ? Me : (
160
+ const I = vt(o.x) ? Ne : (
160
161
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
161
162
  _e(o.x)
162
163
  );
163
- return /* @__PURE__ */ a.jsx(me.g, { className: "undp-map-shapes", variants: {
164
+ return /* @__PURE__ */ a.jsx(se.g, { className: "undp-map-shapes", variants: {
164
165
  initial: {
165
166
  opacity: 0
166
167
  },
167
168
  whileInView: {
168
- opacity: z ? z === O ? 1 : V : re.length !== 0 ? re.indexOf(o.id) !== -1 ? 1 : V : 1,
169
+ opacity: M ? M === I ? 1 : V : ie.length !== 0 ? ie.indexOf(o.id) !== -1 ? 1 : V : 1,
169
170
  transition: {
170
171
  duration: b.duration
171
172
  }
@@ -176,20 +177,20 @@ function To(r) {
176
177
  duration: b.duration
177
178
  }
178
179
  }, onMouseEnter: (d) => {
179
- _(o), A(d.clientY), $(d.clientX), U?.(o);
180
+ _(o), F(d.clientY), E(d.clientX), U?.(o);
180
181
  }, onMouseMove: (d) => {
181
- _(o), A(d.clientY), $(d.clientX);
182
+ _(o), F(d.clientY), E(d.clientX);
182
183
  }, onMouseLeave: () => {
183
- _(void 0), $(void 0), A(void 0), U?.(void 0);
184
+ _(void 0), E(void 0), F(void 0), U?.(void 0);
184
185
  }, onClick: () => {
185
- (W || q) && (Tt(le, o) && Ee ? (P(void 0), W?.(void 0)) : (P(o), W?.(o)));
186
- }, children: /* @__PURE__ */ a.jsx(me.path, { d: u, variants: {
186
+ (W || q) && (Gt($, o) && Oe ? (Q(void 0), W?.(void 0)) : (Q(o), W?.(o)));
187
+ }, children: /* @__PURE__ */ a.jsx(se.path, { d: u, variants: {
187
188
  initial: {
188
- fill: O,
189
+ fill: I,
189
190
  opacity: 0
190
191
  },
191
192
  whileInView: {
192
- fill: O,
193
+ fill: I,
193
194
  opacity: 1,
194
195
  transition: {
195
196
  duration: b.duration
@@ -201,29 +202,29 @@ function To(r) {
201
202
  duration: b.duration
202
203
  }
203
204
  }, style: {
204
- stroke: ue,
205
- strokeWidth: pe,
205
+ stroke: de,
206
+ strokeWidth: ce,
206
207
  vectorEffect: "non-scaling-stroke"
207
208
  } }, `${o.id}`) }, o.id);
208
209
  }),
209
- Je?.features.map((o, i) => {
210
- const u = te(o);
210
+ Ke?.features.map((o, i) => {
211
+ const u = oe(o);
211
212
  return u ? /* @__PURE__ */ a.jsx("g", { children: /* @__PURE__ */ a.jsx("path", { d: u, style: {
212
- stroke: g || ue,
213
- strokeWidth: Ye || pe + 1,
213
+ stroke: g || de,
214
+ strokeWidth: Ye || ce + 1,
214
215
  fill: "none",
215
216
  pointerEvents: "none",
216
217
  vectorEffect: "non-scaling-stroke"
217
218
  } }) }, i) : null;
218
219
  }),
219
- e.filter((o) => !yt(o.lat) && !yt(o.long)).map((o) => {
220
- const i = ee([o.long, o.lat])[0] > 0.8 * l ? -1 : 1;
221
- return /* @__PURE__ */ a.jsxs(me.g, { className: "undp-map-dots", variants: {
220
+ e.filter((o) => !vt(o.lat) && !vt(o.long)).map((o) => {
221
+ const i = te([o.long, o.lat])[0] > 0.8 * l ? -1 : 1;
222
+ return /* @__PURE__ */ a.jsxs(se.g, { className: "undp-map-dots", variants: {
222
223
  initial: {
223
224
  opacity: 0
224
225
  },
225
226
  whileInView: {
226
- opacity: Oe.length !== 0 ? Oe.indexOf(o.label || "") !== -1 ? 1 : V : 1,
227
+ opacity: Se.length !== 0 ? Se.indexOf(o.label || "") !== -1 ? 1 : V : 1,
227
228
  transition: {
228
229
  duration: b.duration
229
230
  }
@@ -234,15 +235,15 @@ function To(r) {
234
235
  duration: b.duration
235
236
  }
236
237
  }, onMouseEnter: (u) => {
237
- _(o), A(u.clientY), $(u.clientX), U?.(o);
238
+ _(o), F(u.clientY), E(u.clientX), U?.(o);
238
239
  }, onMouseMove: (u) => {
239
- _(o), A(u.clientY), $(u.clientX);
240
+ _(o), F(u.clientY), E(u.clientX);
240
241
  }, onMouseLeave: () => {
241
- _(void 0), $(void 0), A(void 0), U?.(void 0);
242
+ _(void 0), E(void 0), F(void 0), U?.(void 0);
242
243
  }, onClick: () => {
243
- (W || q) && (Tt(le, o) && Ee ? (P(void 0), W?.(void 0)) : (P(o), W?.(o)));
244
- }, transform: `translate(${ee([o.long, o.lat])[0]},${ee([o.long, o.lat])[1]})`, children: [
245
- /* @__PURE__ */ a.jsx(me.circle, { cx: 0, cy: 0, variants: {
244
+ (W || q) && (Gt($, o) && Oe ? (Q(void 0), W?.(void 0)) : (Q(o), W?.(o)));
245
+ }, transform: `translate(${te([o.long, o.lat])[0]},${te([o.long, o.lat])[1]})`, children: [
246
+ /* @__PURE__ */ a.jsx(se.circle, { cx: 0, cy: 0, variants: {
246
247
  initial: {
247
248
  r: 0,
248
249
  fill: Y,
@@ -265,7 +266,7 @@ function To(r) {
265
266
  fillOpacity: 0.8,
266
267
  vectorEffect: "non-scaling-stroke"
267
268
  } }),
268
- I && o.label ? /* @__PURE__ */ a.jsx(me.text, { variants: {
269
+ P && o.label ? /* @__PURE__ */ a.jsx(se.text, { variants: {
269
270
  initial: {
270
271
  opacity: 0,
271
272
  x: i * (k ? k(o.radius || 0) : v)
@@ -282,95 +283,95 @@ function To(r) {
282
283
  transition: {
283
284
  duration: b.duration
284
285
  }
285
- }, y: 0, className: Vt("text-sm", H?.graphObjectValues), style: {
286
+ }, y: 0, className: Ft("text-sm", H?.graphObjectValues), style: {
286
287
  textAnchor: i === -1 ? "end" : "start",
287
- fill: ze || "#000",
288
+ fill: Be || "#000",
288
289
  vectorEffect: "non-scaling-stroke",
289
290
  ...N?.graphObjectValues || {}
290
291
  }, dx: i * 4, dy: 5, children: o.label }) : null
291
292
  ] }, o.label || `${o.lat}-${o.long}`);
292
293
  })
293
294
  ] }),
294
- he.filter((o) => o.position === "after").map((o) => o.layer)
295
+ me.filter((o) => o.position === "after").map((o) => o.layer)
295
296
  ] }) }),
296
- Se === !1 ? null : /* @__PURE__ */ a.jsx("div", { className: Vt("absolute left-4 bottom-4 map-color-legend", H?.colorLegend), children: ve ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
297
+ Me === !1 ? null : /* @__PURE__ */ a.jsx("div", { className: Ft("absolute left-4 bottom-4 map-color-legend", H?.colorLegend), children: fe ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
297
298
  /* @__PURE__ */ a.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: () => {
298
- ie(!1);
299
- }, children: /* @__PURE__ */ a.jsx(ko, {}) }),
299
+ ge(!1);
300
+ }, children: /* @__PURE__ */ a.jsx(Do, {}) }),
300
301
  /* @__PURE__ */ a.jsxs("div", { className: "color-legend-box p-2 bg-[rgba(240,240,240,0.7)] dark:bg-[rgba(30,30,30,0.7)]", style: {
301
- width: ae ? void 0 : "340px"
302
+ width: re ? void 0 : "340px"
302
303
  }, children: [
303
- ye && ye !== "" ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
304
+ he && he !== "" ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
304
305
  /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-2", children: [
305
306
  /* @__PURE__ */ a.jsx("div", { className: "w-3 h-3 rounded-full", style: {
306
307
  backgroundColor: Y
307
308
  } }),
308
- /* @__PURE__ */ a.jsx(Lt, { size: "xs", marginBottom: "none", className: "p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300", style: {
309
+ /* @__PURE__ */ a.jsx(Vt, { size: "xs", marginBottom: "none", className: "p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300", style: {
309
310
  display: "-webkit-box",
310
311
  WebkitLineClamp: "1",
311
312
  WebkitBoxOrient: "vertical"
312
- }, children: ye })
313
+ }, children: he })
313
314
  ] }),
314
- /* @__PURE__ */ a.jsx(Gt, { size: "xl" }),
315
- /* @__PURE__ */ a.jsx(Jt, {}),
316
- /* @__PURE__ */ a.jsx(Gt, { size: "xl" })
315
+ /* @__PURE__ */ a.jsx(qt, { size: "xl" }),
316
+ /* @__PURE__ */ a.jsx(Zt, {}),
317
+ /* @__PURE__ */ a.jsx(qt, { size: "xl" })
317
318
  ] }) : null,
318
- y && y !== "" ? /* @__PURE__ */ a.jsx(Lt, { size: "xs", marginBottom: "xs", className: "p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300", style: {
319
+ y && y !== "" ? /* @__PURE__ */ a.jsx(Vt, { size: "xs", marginBottom: "xs", className: "p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300", style: {
319
320
  display: "-webkit-box",
320
321
  WebkitLineClamp: "1",
321
322
  WebkitBoxOrient: "vertical"
322
323
  }, children: y }) : null,
323
- ae ? /* @__PURE__ */ a.jsx("div", { className: "flex flex-col gap-3", children: n.map((o, i) => /* @__PURE__ */ a.jsxs("div", { className: "flex gap-2 items-center", onMouseOver: () => {
324
- S(t[i % t.length]);
324
+ re ? /* @__PURE__ */ a.jsx("div", { className: "flex flex-col gap-3", children: n.map((o, i) => /* @__PURE__ */ a.jsxs("div", { className: "flex gap-2 items-center", onMouseOver: () => {
325
+ O(t[i % t.length]);
325
326
  }, onMouseLeave: () => {
326
- S(void 0);
327
+ O(void 0);
327
328
  }, children: [
328
329
  /* @__PURE__ */ a.jsx("div", { className: "w-2 h-2 rounded-full", style: {
329
330
  backgroundColor: t[i % t.length]
330
331
  } }),
331
- /* @__PURE__ */ a.jsx(Lt, { size: "sm", marginBottom: "none", leading: "none", children: o })
332
+ /* @__PURE__ */ a.jsx(Vt, { size: "sm", marginBottom: "none", leading: "none", children: o })
332
333
  ] }, i)) }) : /* @__PURE__ */ a.jsx("svg", { width: "100%", viewBox: "0 0 320 30", direction: "ltr", children: /* @__PURE__ */ a.jsxs("g", { children: [
333
334
  n.map((o, i) => /* @__PURE__ */ a.jsxs("g", { onMouseOver: () => {
334
- S(t[i]);
335
+ O(t[i]);
335
336
  }, onMouseLeave: () => {
336
- S(void 0);
337
+ O(void 0);
337
338
  }, className: "cursor-pointer", children: [
338
- /* @__PURE__ */ a.jsx("rect", { x: i * 320 / t.length + 1, y: 1, width: 320 / t.length - 2, height: 8, className: z === t[i] ? "stroke-primary-gray-700 dark:stroke-primary-gray-300" : "", style: {
339
+ /* @__PURE__ */ a.jsx("rect", { x: i * 320 / t.length + 1, y: 1, width: 320 / t.length - 2, height: 8, className: M === t[i] ? "stroke-primary-gray-700 dark:stroke-primary-gray-300" : "", style: {
339
340
  fill: t[i],
340
- ...z === t[i] ? {} : {
341
+ ...M === t[i] ? {} : {
341
342
  stroke: t[i]
342
343
  }
343
344
  } }),
344
345
  /* @__PURE__ */ a.jsx("text", { x: (i + 1) * 320 / t.length, y: 25, className: "fill-primary-gray-700 dark:fill-primary-gray-300 text-xs", style: {
345
346
  textAnchor: "middle"
346
- }, children: Eo(o, "NA") })
347
+ }, children: zo(o, void 0, void 0, void 0, void 0, Je) })
347
348
  ] }, i)),
348
349
  /* @__PURE__ */ a.jsx("g", { children: /* @__PURE__ */ a.jsx("rect", { onMouseOver: () => {
349
- S(t[n.length]);
350
+ O(t[n.length]);
350
351
  }, onMouseLeave: () => {
351
- S(void 0);
352
- }, x: n.length * 320 / t.length + 1, y: 1, width: 320 / t.length - 2, height: 8, className: `cursor-pointer ${z === t[n.length] ? "stroke-1 stroke-primary-gray-700 dark:stroke-primary-gray-300" : ""}`, style: {
352
+ O(void 0);
353
+ }, x: n.length * 320 / t.length + 1, y: 1, width: 320 / t.length - 2, height: 8, className: `cursor-pointer ${M === t[n.length] ? "stroke-1 stroke-primary-gray-700 dark:stroke-primary-gray-300" : ""}`, style: {
353
354
  fill: t[n.length],
354
- ...z === t[n.length] ? {} : {
355
+ ...M === t[n.length] ? {} : {
355
356
  stroke: t[n.length]
356
357
  }
357
358
  } }) })
358
359
  ] }) })
359
360
  ] })
360
- ] }) : /* @__PURE__ */ a.jsx("button", { type: "button", className: "mb-0 border-0 bg-transparent p-0 self-start map-legend-button", onClick: () => {
361
- ie(!0);
362
- }, children: /* @__PURE__ */ a.jsx("div", { className: "show-color-legend-button items-start text-sm font-medium cursor-pointer p-2 mb-0 flex text-primary-black dark:text-primary-gray-300 bg-primary-gray-300 dark:bg-primary-gray-600 border-primary-gray-400 dark:border-primary-gray-500", children: "Show Legend" }) }) }),
361
+ ] }) : /* @__PURE__ */ a.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: () => {
362
+ ge(!0);
363
+ }, children: /* @__PURE__ */ a.jsx(No, {}) }) }),
363
364
  X === "button" && /* @__PURE__ */ a.jsxs("div", { className: "absolute left-4 top-4 flex flex-col zoom-buttons", children: [
364
- /* @__PURE__ */ a.jsx("button", { onClick: () => be("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: "+" }),
365
- /* @__PURE__ */ a.jsx("button", { onClick: () => be("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: "–" })
365
+ /* @__PURE__ */ a.jsx("button", { onClick: () => xe("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: "+" }),
366
+ /* @__PURE__ */ a.jsx("button", { onClick: () => xe("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: "–" })
366
367
  ] })
367
368
  ] }),
368
- q && le !== void 0 ? /* @__PURE__ */ a.jsx(No, { body: q, data: le, setData: P, className: H?.modal }) : null,
369
- Pe && C && xe && se ? /* @__PURE__ */ a.jsx(jo, { data: Pe, body: C, xPos: xe, yPos: se, backgroundStyle: N?.tooltip, className: H?.tooltip }) : null
369
+ q && $ !== void 0 ? /* @__PURE__ */ a.jsx(Oo, { body: q, data: $, setData: Q, className: H?.modal }) : null,
370
+ ve && C && ze && Pe ? /* @__PURE__ */ a.jsx(Co, { data: ve, body: C, xPos: ze, yPos: Pe, backgroundStyle: N?.tooltip, className: H?.tooltip }) : null
370
371
  ] });
371
372
  }
372
- function Ea(r) {
373
- const e = ao.c(144), {
373
+ function za(r) {
374
+ const e = io.c(145), {
374
375
  data: t,
375
376
  mapData: w,
376
377
  graphTitle: y,
@@ -381,217 +382,218 @@ function Ea(r) {
381
382
  width: h,
382
383
  footNote: D,
383
384
  mapColorLegendTitle: C,
384
- colorDomain: I,
385
- choroplethScaleType: pe,
386
- radius: ue,
387
- scale: Me,
385
+ colorDomain: P,
386
+ choroplethScaleType: ce,
387
+ radius: de,
388
+ scale: Ne,
388
389
  centerPoint: U,
389
- padding: Se,
390
+ padding: Me,
390
391
  mapBorderWidth: He,
391
392
  mapNoDataColor: Xe,
392
- backgroundColor: Oe,
393
+ backgroundColor: Se,
393
394
  showLabels: W,
394
- mapBorderColor: Ee,
395
+ mapBorderColor: Oe,
395
396
  tooltip: q,
396
397
  relativeHeight: N,
397
398
  onSeriesMouseOver: H,
398
- isWorldMap: oe,
399
+ isWorldMap: ae,
399
400
  showColorScale: X,
400
401
  zoomScaleExtend: b,
401
402
  zoomTranslateExtend: V,
402
- graphID: he,
403
- highlightedDataPoints: fe,
404
- onSeriesMouseClick: ae,
403
+ graphID: me,
404
+ highlightedDataPoints: pe,
405
+ onSeriesMouseClick: re,
405
406
  graphDownload: Y,
406
- dataDownload: Be,
407
- showAntarctica: re,
408
- language: ge,
409
- minHeight: ye,
407
+ dataDownload: Ee,
408
+ showAntarctica: ie,
409
+ language: ue,
410
+ minHeight: he,
410
411
  theme: Ie,
411
- ariaLabel: ze,
412
+ ariaLabel: Be,
412
413
  resetSelectionOnDoubleClick: J,
413
414
  detailsOnClick: K,
414
415
  styles: p,
415
416
  classNames: g,
416
417
  mapProjection: Ye,
417
- zoomInteraction: Z,
418
- animate: Je,
419
- dimmedOpacity: z,
420
- customLayers: S,
421
- maxRadiusValue: ve,
422
- timeline: ie,
423
- collapseColorScaleByDefault: ne,
424
- dotColor: le,
425
- highlightedIds: P,
426
- mapProperty: Pe,
427
- dotLegendTitle: _,
428
- dotBorderColor: xe,
429
- labelColor: $,
430
- projectionRotate: se,
431
- rewindCoordinatesInMapData: A,
418
+ zoomInteraction: Je,
419
+ animate: Z,
420
+ dimmedOpacity: Ke,
421
+ customLayers: M,
422
+ maxRadiusValue: O,
423
+ timeline: fe,
424
+ collapseColorScaleByDefault: ge,
425
+ dotColor: ye,
426
+ highlightedIds: $,
427
+ mapProperty: Q,
428
+ dotLegendTitle: ve,
429
+ dotBorderColor: _,
430
+ labelColor: ze,
431
+ projectionRotate: E,
432
+ rewindCoordinatesInMapData: Pe,
433
+ locale: F,
432
434
  mapOverlay: f
433
- } = r, j = w === void 0 ? "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap-v2.json" : w, ce = D === 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." : D, k = pe === void 0 ? "threshold" : pe, _e = ue === void 0 ? 5 : ue, Q = Me === void 0 ? 0.95 : Me, F = He === void 0 ? 0.5 : He, Le = Xe === void 0 ? Ne.light.graphNoData : Xe, We = Oe === void 0 ? !1 : Oe, Ve = W === void 0 ? !1 : W, $e = Ee === void 0 ? Ne.light.grays["gray-500"] : Ee, L = oe === void 0 ? !0 : oe, ee = X === void 0 ? !0 : X;
434
- let te;
435
- e[0] !== b ? (te = b === void 0 ? [0.8, 6] : b, e[0] = b, e[1] = te) : te = e[1];
436
- const be = te;
435
+ } = r, j = w === void 0 ? "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap-v2.json" : w, ne = D === 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." : D, k = ce === void 0 ? "threshold" : ce, _e = de === void 0 ? 5 : de, ee = Ne === void 0 ? 0.95 : Ne, T = He === void 0 ? 0.5 : He, Le = Xe === void 0 ? De.light.graphNoData : Xe, We = Se === void 0 ? !1 : Se, Ve = W === void 0 ? !1 : W, $e = Oe === void 0 ? De.light.grays["gray-500"] : Oe, L = ae === void 0 ? !0 : ae, te = X === void 0 ? !0 : X;
436
+ let oe;
437
+ e[0] !== b ? (oe = b === void 0 ? [0.8, 6] : b, e[0] = b, e[1] = oe) : oe = e[1];
438
+ const xe = oe;
437
439
  let o;
438
- e[2] !== fe ? (o = fe === void 0 ? [] : fe, e[2] = fe, e[3] = o) : o = e[3];
439
- const i = o, u = Y === void 0 ? !1 : Y, O = Be === void 0 ? !1 : Be, d = re === void 0 ? !1 : re, Ae = ge === void 0 ? "en" : ge, E = ye === void 0 ? 0 : ye, T = Ie === void 0 ? "light" : Ie, vt = J === void 0 ? !0 : J, xt = Ye === void 0 ? "naturalEarth" : Ye, bt = Z === void 0 ? "button" : Z, Ke = Je === void 0 ? !1 : Je, wt = z === void 0 ? 0.3 : z;
440
- let Ze;
441
- e[4] !== S ? (Ze = S === void 0 ? [] : S, e[4] = S, e[5] = Ze) : Ze = e[5];
442
- const jt = Ze;
440
+ e[2] !== pe ? (o = pe === void 0 ? [] : pe, e[2] = pe, e[3] = o) : o = e[3];
441
+ const i = o, u = Y === void 0 ? !1 : Y, I = Ee === void 0 ? !1 : Ee, d = ie === void 0 ? !1 : ie, Fe = ue === void 0 ? "en" : ue, B = he === void 0 ? 0 : he, A = Ie === void 0 ? "light" : Ie, xt = J === void 0 ? !0 : J, bt = Ye === void 0 ? "naturalEarth" : Ye, wt = Je === void 0 ? "button" : Je, Ze = Z === void 0 ? !1 : Z, jt = Ke === void 0 ? 0.3 : Ke;
443
442
  let Qe;
444
- e[6] !== ie ? (Qe = ie === void 0 ? {
443
+ e[4] !== M ? (Qe = M === void 0 ? [] : M, e[4] = M, e[5] = Qe) : Qe = e[5];
444
+ const kt = Qe;
445
+ let et;
446
+ e[6] !== fe ? (et = fe === void 0 ? {
445
447
  enabled: !1,
446
448
  autoplay: !1,
447
449
  showOnlyActiveDate: !0
448
- } : ie, e[6] = ie, e[7] = Qe) : Qe = e[7];
449
- const s = Qe, kt = le === void 0 ? Ne.primaryColors["blue-600"] : le;
450
- let et;
451
- e[8] !== P ? (et = P === void 0 ? [] : P, e[8] = P, e[9] = et) : et = e[9];
452
- const Ct = et, Dt = Pe === void 0 ? "ISO3" : Pe, Nt = $ === void 0 ? Ne.primaryColors["blue-600"] : $;
450
+ } : fe, e[6] = fe, e[7] = et) : et = e[7];
451
+ const s = et, Ct = ye === void 0 ? De.primaryColors["blue-600"] : ye;
453
452
  let tt;
454
- e[10] !== se ? (tt = se === void 0 ? [0, 0] : se, e[10] = se, e[11] = tt) : tt = e[11];
455
- const Mt = tt, St = A === void 0 ? !0 : A, [de, Kt] = M(0), [Fe, Zt] = M(0), [R, Qt] = M(s.autoplay);
456
- let Te;
453
+ e[8] !== $ ? (tt = $ === void 0 ? [] : $, e[8] = $, e[9] = tt) : tt = e[9];
454
+ const Dt = tt, Nt = Q === void 0 ? "ISO3" : Q, Mt = ze === void 0 ? De.primaryColors["blue-600"] : ze;
455
+ let ot;
456
+ e[10] !== E ? (ot = E === void 0 ? [0, 0] : E, e[10] = E, e[11] = ot) : ot = e[11];
457
+ const St = ot, Ot = Pe === void 0 ? !0 : Pe, Et = F === void 0 ? "en" : F, [le, Qt] = S(0), [Te, eo] = S(0), [R, to] = S(s.autoplay);
458
+ let Ae;
457
459
  if (e[12] !== t || e[13] !== s.dateFormat) {
458
460
  let c;
459
- e[15] !== s.dateFormat ? (c = (B) => lo(`${B.date}`, s.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), e[15] = s.dateFormat, e[16] = c) : c = e[16], Te = [...new Set(t.filter(Qo).map(c))], Te.sort(Zo), e[12] = t, e[13] = s.dateFormat, e[14] = Te;
461
+ e[15] !== s.dateFormat ? (c = (z) => co(`${z.date}`, s.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), e[15] = s.dateFormat, e[16] = c) : c = e[16], Ae = [...new Set(t.filter(oa).map(c))], Ae.sort(ta), e[12] = t, e[13] = s.dateFormat, e[14] = Ae;
460
462
  } else
461
- Te = e[14];
462
- const m = Te, [G, Ot] = M(s.autoplay ? 0 : m.length - 1), [we, eo] = M(void 0), [Et, to] = M(void 0), Bt = qe(null), $t = qe(null);
463
- let ot;
464
- e[17] !== k || e[18] !== I || e[19] !== n?.length || e[20] !== t ? (ot = I || (k === "categorical" ? Wo(t, "x") : Vo(t.map(Ko), n?.length || 4)), e[17] = k, e[18] = I, e[19] = n?.length, e[20] = t, e[21] = ot) : ot = e[21];
465
- const Re = ot;
466
- let at, rt;
467
- e[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (at = () => {
468
- const c = new ResizeObserver((B) => {
469
- Kt(B[0].target.clientWidth || 620), Zt(B[0].target.clientHeight || 480);
463
+ Ae = e[14];
464
+ const m = Ae, [G, It] = S(s.autoplay ? 0 : m.length - 1), [be, oo] = S(void 0), [Bt, ao] = S(void 0), zt = qe(null), Tt = qe(null);
465
+ let at;
466
+ e[17] !== k || e[18] !== P || e[19] !== n?.length || e[20] !== t ? (at = P || (k === "categorical" ? Fo(t, "x") : To(t.map(ea), n?.length || 4)), e[17] = k, e[18] = P, e[19] = n?.length, e[20] = t, e[21] = at) : at = e[21];
467
+ const Re = at;
468
+ let rt, it;
469
+ e[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (rt = () => {
470
+ const c = new ResizeObserver((z) => {
471
+ Qt(z[0].target.clientWidth || 620), eo(z[0].target.clientHeight || 480);
470
472
  });
471
- return Bt.current && c.observe(Bt.current), () => c.disconnect();
472
- }, rt = [], e[22] = at, e[23] = rt) : (at = e[22], rt = e[23]), Ue(at, rt);
473
- let it;
474
- e[24] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (it = (c) => {
475
- eo(c);
476
- }, e[24] = it) : it = e[24];
477
- const nt = Ft(it);
478
- let lt;
479
- e[25] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (lt = (c) => {
480
- to(c);
481
- }, e[25] = lt) : lt = e[25];
482
- const Ge = Ft(lt);
473
+ return zt.current && c.observe(zt.current), () => c.disconnect();
474
+ }, it = [], e[22] = rt, e[23] = it) : (rt = e[22], it = e[23]), Ue(rt, it);
475
+ let nt;
476
+ e[24] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (nt = (c) => {
477
+ oo(c);
478
+ }, e[24] = nt) : nt = e[24];
479
+ const lt = Rt(nt);
483
480
  let st;
484
- e[26] !== j || e[27] !== nt ? (st = () => {
485
- typeof j == "string" ? Ut(j).then((B) => {
486
- nt(B);
487
- }) : nt(j);
488
- }, e[26] = j, e[27] = nt, e[28] = st) : st = e[28];
481
+ e[25] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (st = (c) => {
482
+ ao(c);
483
+ }, e[25] = st) : st = e[25];
484
+ const Ge = Rt(st);
489
485
  let ct;
490
- e[29] !== j ? (ct = [j], e[29] = j, e[30] = ct) : ct = e[30], Ue(st, ct);
486
+ e[26] !== j || e[27] !== lt ? (ct = () => {
487
+ typeof j == "string" ? Ht(j).then((z) => {
488
+ lt(z);
489
+ }) : lt(j);
490
+ }, e[26] = j, e[27] = lt, e[28] = ct) : ct = e[28];
491
491
  let dt;
492
- e[31] !== f?.mapData || e[32] !== Ge ? (dt = () => {
493
- f?.mapData || Ge(void 0), typeof f?.mapData == "string" ? Ut(f?.mapData).then((B) => {
494
- Ge(B);
495
- }) : Ge(f?.mapData);
496
- }, e[31] = f?.mapData, e[32] = Ge, e[33] = dt) : dt = e[33];
497
- const It = f?.mapData;
492
+ e[29] !== j ? (dt = [j], e[29] = j, e[30] = dt) : dt = e[30], Ue(ct, dt);
498
493
  let mt;
499
- e[34] !== It ? (mt = [It], e[34] = It, e[35] = mt) : mt = e[35], Ue(dt, mt);
500
- let pt, ut;
501
- e[36] !== R || e[37] !== s.speed || e[38] !== m ? (pt = () => {
494
+ e[31] !== f?.mapData || e[32] !== Ge ? (mt = () => {
495
+ f?.mapData || Ge(void 0), typeof f?.mapData == "string" ? Ht(f?.mapData).then((z) => {
496
+ Ge(z);
497
+ }) : Ge(f?.mapData);
498
+ }, e[31] = f?.mapData, e[32] = Ge, e[33] = mt) : mt = e[33];
499
+ const Pt = f?.mapData;
500
+ let pt;
501
+ e[34] !== Pt ? (pt = [Pt], e[34] = Pt, e[35] = pt) : pt = e[35], Ue(mt, pt);
502
+ let ut, ht;
503
+ e[36] !== R || e[37] !== s.speed || e[38] !== m ? (ut = () => {
502
504
  const c = setInterval(() => {
503
- Ot((B) => B < m.length - 1 ? B + 1 : 0);
505
+ It((z) => z < m.length - 1 ? z + 1 : 0);
504
506
  }, (s.speed || 2) * 1e3);
505
507
  return R || clearInterval(c), () => clearInterval(c);
506
- }, ut = [m, R, s.speed], e[36] = R, e[37] = s.speed, e[38] = m, e[39] = pt, e[40] = ut) : (pt = e[39], ut = e[40]), Ue(pt, ut);
507
- const zt = s.dateFormat || "yyyy";
508
- let ht;
509
- e[41] !== G || e[42] !== zt || e[43] !== s.showOnlyActiveDate || e[44] !== m ? (ht = so(m, G, s.showOnlyActiveDate, zt), e[41] = G, e[42] = zt, e[43] = s.showOnlyActiveDate, e[44] = m, e[45] = ht) : ht = e[45];
510
- const ft = ht, Pt = g?.graphContainer, _t = p?.graphContainer;
511
- let je;
512
- e[46] !== g?.description || e[47] !== g?.title || e[48] !== t || e[49] !== O || e[50] !== x || e[51] !== u || e[52] !== y || e[53] !== p?.description || e[54] !== p?.title || e[55] !== h ? (je = y || x || u || O ? /* @__PURE__ */ a.jsx(Po, { styles: {
508
+ }, ht = [m, R, s.speed], e[36] = R, e[37] = s.speed, e[38] = m, e[39] = ut, e[40] = ht) : (ut = e[39], ht = e[40]), Ue(ut, ht);
509
+ const _t = s.dateFormat || "yyyy";
510
+ let ft;
511
+ e[41] !== G || e[42] !== _t || e[43] !== s.showOnlyActiveDate || e[44] !== m ? (ft = mo(m, G, s.showOnlyActiveDate, _t), e[41] = G, e[42] = _t, e[43] = s.showOnlyActiveDate, e[44] = m, e[45] = ft) : ft = e[45];
512
+ const gt = ft, Lt = g?.graphContainer, Wt = p?.graphContainer;
513
+ let we;
514
+ e[46] !== g?.description || e[47] !== g?.title || e[48] !== t || e[49] !== I || e[50] !== x || e[51] !== u || e[52] !== y || e[53] !== p?.description || e[54] !== p?.title || e[55] !== h ? (we = y || x || u || I ? /* @__PURE__ */ a.jsx(Wo, { styles: {
513
515
  title: p?.title,
514
516
  description: p?.description
515
517
  }, classNames: {
516
518
  title: g?.title,
517
519
  description: g?.description
518
- }, graphTitle: y, graphDescription: x, width: h, graphDownload: u ? $t : void 0, dataDownload: O ? t.map(Jo).filter(Yo).length > 0 ? t.map(Xo).filter(Ho) : t.filter(qo) : null }) : null, e[46] = g?.description, e[47] = g?.title, e[48] = t, e[49] = O, e[50] = x, e[51] = u, e[52] = y, e[53] = p?.description, e[54] = p?.title, e[55] = h, e[56] = je) : je = e[56];
519
- let ke;
520
- e[57] !== G || e[58] !== ft || e[59] !== R || e[60] !== s.enabled || e[61] !== m ? (ke = s.enabled && m.length > 0 && ft ? /* @__PURE__ */ a.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
520
+ }, graphTitle: y, graphDescription: x, width: h, graphDownload: u ? Tt : void 0, dataDownload: I ? t.map(Qo).filter(Zo).length > 0 ? t.map(Ko).filter(Jo) : t.filter(Yo) : null }) : null, e[46] = g?.description, e[47] = g?.title, e[48] = t, e[49] = I, e[50] = x, e[51] = u, e[52] = y, e[53] = p?.description, e[54] = p?.title, e[55] = h, e[56] = we) : we = e[56];
521
+ let je;
522
+ e[57] !== G || e[58] !== gt || e[59] !== R || e[60] !== s.enabled || e[61] !== m ? (je = s.enabled && m.length > 0 && gt ? /* @__PURE__ */ a.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
521
523
  /* @__PURE__ */ a.jsx("button", { type: "button", onClick: () => {
522
- Qt(!R);
523
- }, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": R ? "Click to pause animation" : "Click to play animation", children: R ? /* @__PURE__ */ a.jsx(Co, {}) : /* @__PURE__ */ a.jsx(Do, {}) }),
524
- /* @__PURE__ */ a.jsx(co, { min: m[0], max: m[m.length - 1], marks: ft, step: null, defaultValue: m[m.length - 1], value: m[G], onChangeComplete: (c) => {
525
- Ot(m.indexOf(c));
524
+ to(!R);
525
+ }, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": R ? "Click to pause animation" : "Click to play animation", children: R ? /* @__PURE__ */ a.jsx(Mo, {}) : /* @__PURE__ */ a.jsx(So, {}) }),
526
+ /* @__PURE__ */ a.jsx(po, { min: m[0], max: m[m.length - 1], marks: gt, step: null, defaultValue: m[m.length - 1], value: m[G], onChangeComplete: (c) => {
527
+ It(m.indexOf(c));
526
528
  }, onChange: (c) => {
527
- Ot(m.indexOf(c));
529
+ It(m.indexOf(c));
528
530
  }, "aria-label": "Time slider. Use arrow keys to adjust selected time period." })
529
- ] }) : null, e[57] = G, e[58] = ft, e[59] = R, e[60] = s.enabled, e[61] = m, e[62] = ke) : ke = e[62];
530
- let Ce;
531
- e[63] !== Ke || e[64] !== U || e[65] !== k || e[66] !== g || e[67] !== ne || e[68] !== n || e[69] !== jt || e[70] !== t || e[71] !== K || e[72] !== wt || e[73] !== Re || e[74] !== xe || e[75] !== kt || e[76] !== _ || e[77] !== l || e[78] !== i || e[79] !== Ct || e[80] !== G || e[81] !== L || e[82] !== Nt || e[83] !== $e || e[84] !== F || e[85] !== C || e[86] !== Le || e[87] !== f?.mapBorderColor || e[88] !== f?.mapBorderWidth || e[89] !== xt || e[90] !== Dt || e[91] !== we || e[92] !== ve || e[93] !== E || e[94] !== ae || e[95] !== H || e[96] !== Et || e[97] !== Mt || e[98] !== _e || e[99] !== N || e[100] !== vt || e[101] !== St || e[102] !== Q || e[103] !== d || e[104] !== ee || e[105] !== Ve || e[106] !== p || e[107] !== Fe || e[108] !== de || e[109] !== T || e[110] !== s.dateFormat || e[111] !== s.enabled || e[112] !== q || e[113] !== m || e[114] !== h || e[115] !== bt || e[116] !== be || e[117] !== V ? (Ce = /* @__PURE__ */ a.jsx(_o, { ref: Bt, children: de && Fe && we ? /* @__PURE__ */ a.jsx(To, { dotColor: kt, data: t.filter((c) => s.enabled ? `${c.date}` === no(new Date(m[G]), s.dateFormat || "yyyy") : c), mapData: d ? we : {
532
- ...we,
533
- features: we.features.filter(Uo)
534
- }, overlayMapData: Et, overlayMapBorderColor: f?.mapBorderColor, overlayMapBorderWidth: f?.mapBorderWidth, colorDomain: Re, width: de, height: Fe, scale: Q, centerPoint: U, colors: n || (k === "categorical" ? Ne[T].sequentialColors[`neutralColorsx0${Re.length}`] : Ne[T].sequentialColors[`neutralColorsx0${Re.length + 1}`]), mapColorLegendTitle: C, radius: _e, categorical: k === "categorical", mapBorderWidth: F, mapNoDataColor: Le, mapBorderColor: $e, tooltip: q, onSeriesMouseOver: H, showLabels: Ve, isWorldMap: L, showColorScale: ee, zoomScaleExtend: be, zoomTranslateExtend: V, onSeriesMouseClick: ae, highlightedDataPoints: i, resetSelectionOnDoubleClick: vt, styles: p, classNames: g, zoomInteraction: bt, detailsOnClick: K, mapProjection: xt || (L ? "naturalEarth" : "mercator"), animate: Ke === !0 ? {
531
+ ] }) : null, e[57] = G, e[58] = gt, e[59] = R, e[60] = s.enabled, e[61] = m, e[62] = je) : je = e[62];
532
+ let ke;
533
+ e[63] !== Ze || e[64] !== U || e[65] !== k || e[66] !== g || e[67] !== ge || e[68] !== n || e[69] !== kt || e[70] !== t || e[71] !== K || e[72] !== jt || e[73] !== Re || e[74] !== _ || e[75] !== Ct || e[76] !== ve || e[77] !== l || e[78] !== i || e[79] !== Dt || e[80] !== G || e[81] !== L || e[82] !== Mt || e[83] !== Et || e[84] !== $e || e[85] !== T || e[86] !== C || e[87] !== Le || e[88] !== f?.mapBorderColor || e[89] !== f?.mapBorderWidth || e[90] !== bt || e[91] !== Nt || e[92] !== be || e[93] !== O || e[94] !== B || e[95] !== re || e[96] !== H || e[97] !== Bt || e[98] !== St || e[99] !== _e || e[100] !== N || e[101] !== xt || e[102] !== Ot || e[103] !== ee || e[104] !== d || e[105] !== te || e[106] !== Ve || e[107] !== p || e[108] !== Te || e[109] !== le || e[110] !== A || e[111] !== s.dateFormat || e[112] !== s.enabled || e[113] !== q || e[114] !== m || e[115] !== h || e[116] !== wt || e[117] !== xe || e[118] !== V ? (ke = /* @__PURE__ */ a.jsx(Vo, { ref: zt, children: le && Te && be ? /* @__PURE__ */ a.jsx(Uo, { dotColor: Ct, data: t.filter((c) => s.enabled ? `${c.date}` === so(new Date(m[G]), s.dateFormat || "yyyy") : c), mapData: d ? be : {
534
+ ...be,
535
+ features: be.features.filter(Xo)
536
+ }, overlayMapData: Bt, overlayMapBorderColor: f?.mapBorderColor, overlayMapBorderWidth: f?.mapBorderWidth, colorDomain: Re, width: le, height: Te, scale: ee, centerPoint: U, colors: n || (k === "categorical" ? De[A].sequentialColors[`neutralColorsx0${Re.length}`] : De[A].sequentialColors[`neutralColorsx0${Re.length + 1}`]), mapColorLegendTitle: C, radius: _e, categorical: k === "categorical", mapBorderWidth: T, mapNoDataColor: Le, mapBorderColor: $e, tooltip: q, onSeriesMouseOver: H, showLabels: Ve, isWorldMap: L, showColorScale: te, zoomScaleExtend: xe, zoomTranslateExtend: V, onSeriesMouseClick: re, highlightedDataPoints: i, resetSelectionOnDoubleClick: xt, styles: p, classNames: g, zoomInteraction: wt, detailsOnClick: K, mapProjection: bt || (L ? "naturalEarth" : "mercator"), animate: Ze === !0 ? {
535
537
  duration: 0.5,
536
538
  once: !0,
537
539
  amount: 0.5
538
- } : Ke || {
540
+ } : Ze || {
539
541
  duration: 0,
540
542
  once: !0,
541
543
  amount: 0
542
- }, dimmedOpacity: wt, customLayers: jt, maxRadiusValue: yt(ve) ? Math.max(...t.map(Go).filter(Ro)) : ve, collapseColorScaleByDefault: ne, highlightedIds: Ct, mapProperty: Dt, dotLegendTitle: _, dotBorderColor: xe, labelColor: Nt, projectionRotate: Mt, rewindCoordinatesInMapData: St }) : /* @__PURE__ */ a.jsx("div", { style: {
543
- height: `${Math.max(E, l || (N ? E ? (h || de) * N > E ? (h || de) * N : E : (h || de) * N : Fe))}px`
544
- }, className: "flex items-center justify-center", children: /* @__PURE__ */ a.jsx(mo, { "aria-label": "Loading graph" }) }) }), e[63] = Ke, e[64] = U, e[65] = k, e[66] = g, e[67] = ne, e[68] = n, e[69] = jt, e[70] = t, e[71] = K, e[72] = wt, e[73] = Re, e[74] = xe, e[75] = kt, e[76] = _, e[77] = l, e[78] = i, e[79] = Ct, e[80] = G, e[81] = L, e[82] = Nt, e[83] = $e, e[84] = F, e[85] = C, e[86] = Le, e[87] = f?.mapBorderColor, e[88] = f?.mapBorderWidth, e[89] = xt, e[90] = Dt, e[91] = we, e[92] = ve, e[93] = E, e[94] = ae, e[95] = H, e[96] = Et, e[97] = Mt, e[98] = _e, e[99] = N, e[100] = vt, e[101] = St, e[102] = Q, e[103] = d, e[104] = ee, e[105] = Ve, e[106] = p, e[107] = Fe, e[108] = de, e[109] = T, e[110] = s.dateFormat, e[111] = s.enabled, e[112] = q, e[113] = m, e[114] = h, e[115] = bt, e[116] = be, e[117] = V, e[118] = Ce) : Ce = e[118];
545
- let De;
546
- e[119] !== g?.footnote || e[120] !== g?.source || e[121] !== ce || e[122] !== v || e[123] !== p?.footnote || e[124] !== p?.source || e[125] !== h ? (De = v || ce ? /* @__PURE__ */ a.jsx(zo, { styles: {
544
+ }, dimmedOpacity: jt, customLayers: kt, maxRadiusValue: vt(O) ? Math.max(...t.map(Ho).filter(qo)) : O, collapseColorScaleByDefault: ge, highlightedIds: Dt, mapProperty: Nt, dotLegendTitle: ve, dotBorderColor: _, labelColor: Mt, projectionRotate: St, rewindCoordinatesInMapData: Ot, locale: Et }) : /* @__PURE__ */ a.jsx("div", { style: {
545
+ height: `${Math.max(B, l || (N ? B ? (h || le) * N > B ? (h || le) * N : B : (h || le) * N : Te))}px`
546
+ }, className: "flex items-center justify-center", children: /* @__PURE__ */ a.jsx(uo, { "aria-label": "Loading graph" }) }) }), e[63] = Ze, e[64] = U, e[65] = k, e[66] = g, e[67] = ge, e[68] = n, e[69] = kt, e[70] = t, e[71] = K, e[72] = jt, e[73] = Re, e[74] = _, e[75] = Ct, e[76] = ve, e[77] = l, e[78] = i, e[79] = Dt, e[80] = G, e[81] = L, e[82] = Mt, e[83] = Et, e[84] = $e, e[85] = T, e[86] = C, e[87] = Le, e[88] = f?.mapBorderColor, e[89] = f?.mapBorderWidth, e[90] = bt, e[91] = Nt, e[92] = be, e[93] = O, e[94] = B, e[95] = re, e[96] = H, e[97] = Bt, e[98] = St, e[99] = _e, e[100] = N, e[101] = xt, e[102] = Ot, e[103] = ee, e[104] = d, e[105] = te, e[106] = Ve, e[107] = p, e[108] = Te, e[109] = le, e[110] = A, e[111] = s.dateFormat, e[112] = s.enabled, e[113] = q, e[114] = m, e[115] = h, e[116] = wt, e[117] = xe, e[118] = V, e[119] = ke) : ke = e[119];
547
+ let Ce;
548
+ e[120] !== g?.footnote || e[121] !== g?.source || e[122] !== ne || e[123] !== v || e[124] !== p?.footnote || e[125] !== p?.source || e[126] !== h ? (Ce = v || ne ? /* @__PURE__ */ a.jsx(Lo, { styles: {
547
549
  footnote: p?.footnote,
548
550
  source: p?.source
549
551
  }, classNames: {
550
552
  footnote: g?.footnote,
551
553
  source: g?.source
552
- }, sources: v, footNote: ce, width: h }) : null, e[119] = g?.footnote, e[120] = g?.source, e[121] = ce, e[122] = v, e[123] = p?.footnote, e[124] = p?.source, e[125] = h, e[126] = De) : De = e[126];
553
- let gt;
554
- return e[127] !== ze || e[128] !== We || e[129] !== he || e[130] !== l || e[131] !== Ae || e[132] !== E || e[133] !== Se || e[134] !== N || e[135] !== Pt || e[136] !== _t || e[137] !== je || e[138] !== ke || e[139] !== Ce || e[140] !== De || e[141] !== T || e[142] !== h ? (gt = /* @__PURE__ */ a.jsxs(Lo, { className: Pt, style: _t, id: he, ref: $t, "aria-label": ze, backgroundColor: We, theme: T, language: Ae, minHeight: E, width: h, height: l, relativeHeight: N, padding: Se, children: [
554
+ }, sources: v, footNote: ne, width: h }) : null, e[120] = g?.footnote, e[121] = g?.source, e[122] = ne, e[123] = v, e[124] = p?.footnote, e[125] = p?.source, e[126] = h, e[127] = Ce) : Ce = e[127];
555
+ let yt;
556
+ return e[128] !== Be || e[129] !== We || e[130] !== me || e[131] !== l || e[132] !== Fe || e[133] !== B || e[134] !== Me || e[135] !== N || e[136] !== Lt || e[137] !== Wt || e[138] !== we || e[139] !== je || e[140] !== ke || e[141] !== Ce || e[142] !== A || e[143] !== h ? (yt = /* @__PURE__ */ a.jsxs($o, { className: Lt, style: Wt, id: me, ref: Tt, "aria-label": Be, backgroundColor: We, theme: A, language: Fe, minHeight: B, width: h, height: l, relativeHeight: N, padding: Me, children: [
557
+ we,
555
558
  je,
556
559
  ke,
557
- Ce,
558
- De
559
- ] }), e[127] = ze, e[128] = We, e[129] = he, e[130] = l, e[131] = Ae, e[132] = E, e[133] = Se, e[134] = N, e[135] = Pt, e[136] = _t, e[137] = je, e[138] = ke, e[139] = Ce, e[140] = De, e[141] = T, e[142] = h, e[143] = gt) : gt = e[143], gt;
560
+ Ce
561
+ ] }), e[128] = Be, e[129] = We, e[130] = me, e[131] = l, e[132] = Fe, e[133] = B, e[134] = Me, e[135] = N, e[136] = Lt, e[137] = Wt, e[138] = we, e[139] = je, e[140] = ke, e[141] = Ce, e[142] = A, e[143] = h, e[144] = yt) : yt = e[144], yt;
560
562
  }
561
- function Ro(r) {
563
+ function qo(r) {
562
564
  return r != null;
563
565
  }
564
- function Go(r) {
566
+ function Ho(r) {
565
567
  return r.radius;
566
568
  }
567
- function Uo(r) {
569
+ function Xo(r) {
568
570
  return r.properties?.NAME !== "Antarctica";
569
571
  }
570
- function qo(r) {
572
+ function Yo(r) {
571
573
  return r !== void 0;
572
574
  }
573
- function Ho(r) {
575
+ function Jo(r) {
574
576
  return r !== void 0;
575
577
  }
576
- function Xo(r) {
578
+ function Ko(r) {
577
579
  return r.data;
578
580
  }
579
- function Yo(r) {
581
+ function Zo(r) {
580
582
  return r !== void 0;
581
583
  }
582
- function Jo(r) {
584
+ function Qo(r) {
583
585
  return r.data;
584
586
  }
585
- function Ko(r) {
587
+ function ea(r) {
586
588
  return r.x;
587
589
  }
588
- function Zo(r, e) {
590
+ function ta(r, e) {
589
591
  return r - e;
590
592
  }
591
- function Qo(r) {
593
+ function oa(r) {
592
594
  return r.date;
593
595
  }
594
596
  export {
595
- Ea as HybridMap
597
+ za as HybridMap
596
598
  };
597
599
  //# sourceMappingURL=HybridMap.js.map