@undp/data-viz 2.3.17 → 2.4.0

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 (440) 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 +1735 -1726
  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 +266 -266
  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 +469 -469
  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 +265 -268
  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 +484 -484
  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-CnJf8b50.js → GraphEl-B73N4RIA.js} +48 -10
  130. package/dist/GraphEl-B73N4RIA.js.map +1 -0
  131. package/dist/GraphEl-Lt1og0C-.cjs +2 -0
  132. package/dist/GraphEl-Lt1og0C-.cjs.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 +314 -315
  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 +419 -420
  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 +410 -409
  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 +221 -219
  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 +404 -408
  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 +444 -445
  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.cjs.map +1 -1
  263. package/dist/SlopeChart.js +259 -262
  264. package/dist/SlopeChart.js.map +1 -1
  265. package/dist/{Source-BOSAl3UX.cjs → Source-PKuwZOn3.cjs} +2 -2
  266. package/dist/{Source-BOSAl3UX.cjs.map → Source-PKuwZOn3.cjs.map} +1 -1
  267. package/dist/{Source-Djkz-7jX.js → Source-QGk8vhkS.js} +3 -3
  268. package/dist/{Source-Djkz-7jX.js.map → Source-QGk8vhkS.js.map} +1 -1
  269. package/dist/Source.cjs +1 -1
  270. package/dist/Source.js +3 -3
  271. package/dist/SparkLine.cjs +1 -1
  272. package/dist/SparkLine.js +3 -3
  273. package/dist/{Spinner-CtJETd5V.js → Spinner-B2IIKg9r.js} +2 -2
  274. package/dist/{Spinner-CtJETd5V.js.map → Spinner-B2IIKg9r.js.map} +1 -1
  275. package/dist/{Spinner-jTMOLuw_.cjs → Spinner-WHzzloYQ.cjs} +2 -2
  276. package/dist/{Spinner-jTMOLuw_.cjs.map → Spinner-WHzzloYQ.cjs.map} +1 -1
  277. package/dist/StatCardFromData.cjs +1 -1
  278. package/dist/StatCardFromData.cjs.map +1 -1
  279. package/dist/StatCardFromData.d.ts +4 -0
  280. package/dist/StatCardFromData.js +97 -95
  281. package/dist/StatCardFromData.js.map +1 -1
  282. package/dist/StripChart.cjs +1 -1
  283. package/dist/StripChart.cjs.map +1 -1
  284. package/dist/StripChart.d.ts +2 -0
  285. package/dist/StripChart.js +343 -343
  286. package/dist/StripChart.js.map +1 -1
  287. package/dist/ThreeDGlobe.cjs +1 -1
  288. package/dist/ThreeDGlobe.cjs.map +1 -1
  289. package/dist/ThreeDGlobe.d.ts +2 -0
  290. package/dist/ThreeDGlobe.js +198 -196
  291. package/dist/ThreeDGlobe.js.map +1 -1
  292. package/dist/ThresholdColorLegendWithMouseOver.cjs +1 -1
  293. package/dist/ThresholdColorLegendWithMouseOver.cjs.map +1 -1
  294. package/dist/ThresholdColorLegendWithMouseOver.d.ts +2 -0
  295. package/dist/ThresholdColorLegendWithMouseOver.js +50 -48
  296. package/dist/ThresholdColorLegendWithMouseOver.js.map +1 -1
  297. package/dist/{Tooltip-CohiIbLZ.js → Tooltip-Bj-s__cI.js} +3 -3
  298. package/dist/{Tooltip-CohiIbLZ.js.map → Tooltip-Bj-s__cI.js.map} +1 -1
  299. package/dist/{Tooltip-BLa2EfMs.cjs → Tooltip-Hr46paWP.cjs} +2 -2
  300. package/dist/{Tooltip-BLa2EfMs.cjs.map → Tooltip-Hr46paWP.cjs.map} +1 -1
  301. package/dist/TreeMapGraph.cjs +1 -1
  302. package/dist/TreeMapGraph.cjs.map +1 -1
  303. package/dist/TreeMapGraph.d.ts +2 -0
  304. package/dist/TreeMapGraph.js +139 -140
  305. package/dist/TreeMapGraph.js.map +1 -1
  306. package/dist/Types.d.ts +1 -0
  307. package/dist/{Typography-DMVW6JnV.js → Typography-BO0gQDIT.js} +2 -2
  308. package/dist/{Typography-DMVW6JnV.js.map → Typography-BO0gQDIT.js.map} +1 -1
  309. package/dist/{Typography-CZZxlj1W.cjs → Typography-BqmyF1gP.cjs} +2 -2
  310. package/dist/{Typography-CZZxlj1W.cjs.map → Typography-BqmyF1gP.cjs.map} +1 -1
  311. package/dist/UnitChart.cjs +1 -1
  312. package/dist/UnitChart.cjs.map +1 -1
  313. package/dist/UnitChart.d.ts +4 -0
  314. package/dist/UnitChart.js +88 -86
  315. package/dist/UnitChart.js.map +1 -1
  316. package/dist/WaterfallChart.cjs +1 -1
  317. package/dist/WaterfallChart.cjs.map +1 -1
  318. package/dist/WaterfallChart.d.ts +2 -0
  319. package/dist/WaterfallChart.js +257 -258
  320. package/dist/WaterfallChart.js.map +1 -1
  321. package/dist/{XAxesLabels-IwjMJkYS.js → XAxesLabels-B9gkjUiC.js} +3 -3
  322. package/dist/{XAxesLabels-IwjMJkYS.js.map → XAxesLabels-B9gkjUiC.js.map} +1 -1
  323. package/dist/{XAxesLabels-C6o9jJal.cjs → XAxesLabels-C03jHniq.cjs} +2 -2
  324. package/dist/{XAxesLabels-C6o9jJal.cjs.map → XAxesLabels-C03jHniq.cjs.map} +1 -1
  325. package/dist/XTicksAndGridLines-C5DuC5oY.cjs +2 -0
  326. package/dist/XTicksAndGridLines-C5DuC5oY.cjs.map +1 -0
  327. package/dist/XTicksAndGridLines-gdbGX2rm.js +39 -0
  328. package/dist/XTicksAndGridLines-gdbGX2rm.js.map +1 -0
  329. package/dist/{YAxesLabels-BQ2aCazV.cjs → YAxesLabels-DeENFC2M.cjs} +2 -2
  330. package/dist/{YAxesLabels-BQ2aCazV.cjs.map → YAxesLabels-DeENFC2M.cjs.map} +1 -1
  331. package/dist/{YAxesLabels-DoGvgHdw.js → YAxesLabels-hWEUCTvs.js} +3 -3
  332. package/dist/{YAxesLabels-DoGvgHdw.js.map → YAxesLabels-hWEUCTvs.js.map} +1 -1
  333. package/dist/YTicksAndGridLines-CsNSq9W9.js +39 -0
  334. package/dist/YTicksAndGridLines-CsNSq9W9.js.map +1 -0
  335. package/dist/YTicksAndGridLines-DFjm8RCc.cjs +2 -0
  336. package/dist/YTicksAndGridLines-DFjm8RCc.cjs.map +1 -0
  337. package/dist/{checkIfMultiple-TOaaUwS7.cjs → checkIfMultiple-CH5tqj4q.cjs} +2 -2
  338. package/dist/checkIfMultiple-CH5tqj4q.cjs.map +1 -0
  339. package/dist/{checkIfMultiple-B97uOUVq.js → checkIfMultiple-Dpyy6BUP.js} +6 -6
  340. package/dist/checkIfMultiple-Dpyy6BUP.js.map +1 -0
  341. package/dist/{customArea-B1LWQBmM.cjs → customArea-BAcQ3pBM.cjs} +2 -2
  342. package/dist/{customArea-B1LWQBmM.cjs.map → customArea-BAcQ3pBM.cjs.map} +1 -1
  343. package/dist/{customArea-Cc2whe6P.js → customArea-D89lETG0.js} +3 -3
  344. package/dist/{customArea-Cc2whe6P.js.map → customArea-D89lETG0.js.map} +1 -1
  345. package/dist/getSliderMarks-BzrpHrHS.cjs +2 -0
  346. package/dist/getSliderMarks-BzrpHrHS.cjs.map +1 -0
  347. package/dist/{getSliderMarks-vXsR8RrR.js → getSliderMarks-X-_goqH9.js} +3 -4
  348. package/dist/getSliderMarks-X-_goqH9.js.map +1 -0
  349. package/dist/{index-CZ0elhKR.js → index-ApTBN0kp.js} +20 -10
  350. package/dist/{index-CZ0elhKR.js.map → index-ApTBN0kp.js.map} +1 -1
  351. package/dist/index-B0Awa_de.js +377 -0
  352. package/dist/index-B0Awa_de.js.map +1 -0
  353. package/dist/{index-sbKVyHS2.cjs → index-BhI7mBJx.cjs} +2 -2
  354. package/dist/{index-sbKVyHS2.cjs.map → index-BhI7mBJx.cjs.map} +1 -1
  355. package/dist/{index-D69M6klB.cjs → index-BuhBhuCq.cjs} +2 -2
  356. package/dist/{index-D69M6klB.cjs.map → index-BuhBhuCq.cjs.map} +1 -1
  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-CP8cmNzt.cjs +2 -0
  362. package/dist/index-CP8cmNzt.cjs.map +1 -0
  363. package/dist/{index-Co3YGYe1.js → index-Cv_5q6Rb.js} +3 -3
  364. package/dist/{index-Co3YGYe1.js.map → index-Cv_5q6Rb.js.map} +1 -1
  365. package/dist/{index-D_dtv_T9.js → index-DHVGV8Df.js} +3 -3
  366. package/dist/{index-D_dtv_T9.js.map → index-DHVGV8Df.js.map} +1 -1
  367. package/dist/{index-CoobIWNj.cjs → index-FXfr51ZM.cjs} +2 -2
  368. package/dist/{index-CoobIWNj.cjs.map → index-FXfr51ZM.cjs.map} +1 -1
  369. package/dist/{index-D6CYcVc7-BOa7Dpvf.js → index-Scxs_wcm-BAjU0Cob.js} +16 -16
  370. package/dist/index-Scxs_wcm-BAjU0Cob.js.map +1 -0
  371. package/dist/index-Scxs_wcm-DUDU-Gll.cjs +2 -0
  372. package/dist/index-Scxs_wcm-DUDU-Gll.cjs.map +1 -0
  373. package/dist/{index-DoS4bGNa-C3DbPpy3.cjs → index-w64Zl8io-DrMm5QSb.cjs} +2 -2
  374. package/dist/index-w64Zl8io-DrMm5QSb.cjs.map +1 -0
  375. package/dist/{index-DoS4bGNa-Bgab95kx.js → index-w64Zl8io-ihagHOdP.js} +2 -2
  376. package/dist/index-w64Zl8io-ihagHOdP.js.map +1 -0
  377. package/dist/index.cjs +1 -1
  378. package/dist/index.d.ts +92 -17
  379. package/dist/index.js +3 -3
  380. package/dist/numberFormattingFunction-Cn9R7CM9.cjs +2 -0
  381. package/dist/numberFormattingFunction-Cn9R7CM9.cjs.map +1 -0
  382. package/dist/numberFormattingFunction-DqMf_v1m.js +28 -0
  383. package/dist/numberFormattingFunction-DqMf_v1m.js.map +1 -0
  384. package/dist/{proxy--_f6k3NR.js → proxy-BsxtcZKa.js} +2 -2
  385. package/dist/{proxy--_f6k3NR.js.map → proxy-BsxtcZKa.js.map} +1 -1
  386. package/dist/{proxy-C4-uo6nS.cjs → proxy-CqH8m8IQ.cjs} +2 -2
  387. package/dist/{proxy-C4-uo6nS.cjs.map → proxy-CqH8m8IQ.cjs.map} +1 -1
  388. package/dist/{string2HTML-DUYZT1L9.js → string2HTML-BrFperRM.js} +2 -2
  389. package/dist/{string2HTML-DUYZT1L9.js.map → string2HTML-BrFperRM.js.map} +1 -1
  390. package/dist/{string2HTML-xx9MzTtY.cjs → string2HTML-ZoGd08P_.cjs} +2 -2
  391. package/dist/{string2HTML-xx9MzTtY.cjs.map → string2HTML-ZoGd08P_.cjs.map} +1 -1
  392. package/dist/style.css +1 -1
  393. package/dist/{use-in-view-DqvKAveg.js → use-in-view-KOXq5Kmc.js} +2 -2
  394. package/dist/{use-in-view-DqvKAveg.js.map → use-in-view-KOXq5Kmc.js.map} +1 -1
  395. package/dist/{use-in-view-C3o_ntMv.cjs → use-in-view-dnRv_qqF.cjs} +2 -2
  396. package/dist/{use-in-view-C3o_ntMv.cjs.map → use-in-view-dnRv_qqF.cjs.map} +1 -1
  397. package/dist/utils.cjs +1 -1
  398. package/dist/utils.d.ts +9 -18
  399. package/dist/utils.js +1 -1
  400. package/dist/x-BXShoIAM-BC2sxios.cjs +2 -0
  401. package/dist/x-BXShoIAM-BC2sxios.cjs.map +1 -0
  402. package/dist/{x-BBpi7a_7-BsvWCzYM.js → x-BXShoIAM-D6VWO6z5.js} +3 -5
  403. package/dist/x-BXShoIAM-D6VWO6z5.js.map +1 -0
  404. package/package.json +2 -2
  405. package/dist/DropdownSelect-B2WTeedJ.js.map +0 -1
  406. package/dist/DropdownSelect-NNpOs7DX.cjs.map +0 -1
  407. package/dist/GraphEl-CnJf8b50.js.map +0 -1
  408. package/dist/GraphEl-D_w0Qak4.cjs +0 -2
  409. package/dist/GraphEl-D_w0Qak4.cjs.map +0 -1
  410. package/dist/XTicksAndGridLines-BDmF9etl.js +0 -38
  411. package/dist/XTicksAndGridLines-BDmF9etl.js.map +0 -1
  412. package/dist/XTicksAndGridLines-CekrPykD.cjs +0 -2
  413. package/dist/XTicksAndGridLines-CekrPykD.cjs.map +0 -1
  414. package/dist/YTicksAndGridLines-C3GW1xFG.js +0 -38
  415. package/dist/YTicksAndGridLines-C3GW1xFG.js.map +0 -1
  416. package/dist/YTicksAndGridLines-UzVC5eBM.cjs +0 -2
  417. package/dist/YTicksAndGridLines-UzVC5eBM.cjs.map +0 -1
  418. package/dist/checkIfMultiple-B97uOUVq.js.map +0 -1
  419. package/dist/checkIfMultiple-TOaaUwS7.cjs.map +0 -1
  420. package/dist/getSliderMarks-CIuSoedo.cjs +0 -2
  421. package/dist/getSliderMarks-CIuSoedo.cjs.map +0 -1
  422. package/dist/getSliderMarks-vXsR8RrR.js.map +0 -1
  423. package/dist/index-C6VwVS8W.js +0 -378
  424. package/dist/index-C6VwVS8W.js.map +0 -1
  425. package/dist/index-CHPV5EwG-6v2a2njQ.cjs.map +0 -1
  426. package/dist/index-CHPV5EwG-BCLAYDCV.js.map +0 -1
  427. package/dist/index-D6CYcVc7-BOa7Dpvf.js.map +0 -1
  428. package/dist/index-D6CYcVc7-CTEcAtiQ.cjs +0 -2
  429. package/dist/index-D6CYcVc7-CTEcAtiQ.cjs.map +0 -1
  430. package/dist/index-DoS4bGNa-Bgab95kx.js.map +0 -1
  431. package/dist/index-DoS4bGNa-C3DbPpy3.cjs.map +0 -1
  432. package/dist/index-_TlgeI_i.cjs +0 -2
  433. package/dist/index-_TlgeI_i.cjs.map +0 -1
  434. package/dist/numberFormattingFunction-02t-wJta.cjs +0 -2
  435. package/dist/numberFormattingFunction-02t-wJta.cjs.map +0 -1
  436. package/dist/numberFormattingFunction-14YCbkN2.js +0 -13
  437. package/dist/numberFormattingFunction-14YCbkN2.js.map +0 -1
  438. package/dist/x-BBpi7a_7-BsvWCzYM.js.map +0 -1
  439. package/dist/x-BBpi7a_7-DXYIEFwN.cjs +0 -2
  440. package/dist/x-BBpi7a_7-DXYIEFwN.cjs.map +0 -1
@@ -1,38 +1,38 @@
1
- import { j as i, m as lt, c as ct } from "./index-CHPV5EwG-BCLAYDCV.js";
2
- import { useState as I, useRef as Qe, useEffect as G, useCallback as dt, useEffectEvent as pt } from "react";
3
- import { w as ht } from "./Spinner-CtJETd5V.js";
4
- import mt from "react-globe.gl";
5
- import { i as ut } from "./index-Bwrro8-q.js";
6
- import * as $ from "three";
7
- import { _ as et } from "./Typography-DMVW6JnV.js";
8
- import { g as gt } from "./_commonjsHelpers-ByX85dGu.js";
9
- import { T as ft } from "./Tooltip-CohiIbLZ.js";
10
- import { n as vt } from "./numberFormattingFunction-14YCbkN2.js";
11
- import { X as yt } from "./index-CZ0elhKR.js";
12
- import { g as bt } from "./getCentroidCoordinates-s0OOUjLF.js";
13
- import { D as xt } from "./DetailsModal-C3qlUyFK.js";
14
- import { o as wt } from "./ordinal-CHaxGJ_l.js";
15
- import { t as Ct } from "./threshold-DFfqcDMa.js";
16
- import { GraphHeader as Dt } from "./GraphHeader.js";
17
- import { GraphFooter as St } from "./GraphFooter.js";
18
- import { f as jt } from "./fetchAndParseData-BAXhgTDM.js";
19
- import { Colors as oe } from "./Colors.js";
20
- import { g as Nt } from "./getUniqValue-DsqSii6M.js";
21
- import { g as kt } from "./getJenks-DTCcQSDi.js";
22
- import { a as Rt, G as Ot } from "./GraphContainer-DwMxWRCi.js";
23
- var Ke, tt;
24
- function Lt() {
25
- if (tt) return Ke;
26
- tt = 1;
1
+ import { j as i, m as dt, c as pt } from "./index-CHPV5EwG-BzibaIRc.js";
2
+ import { useState as I, useRef as tt, useEffect as G, useCallback as ht, useEffectEvent as mt } from "react";
3
+ import { w as ut } from "./Spinner-B2IIKg9r.js";
4
+ import gt from "react-globe.gl";
5
+ import { i as ft } from "./index-Bwrro8-q.js";
6
+ import * as H from "three";
7
+ import { _ as ot } from "./Typography-BO0gQDIT.js";
8
+ import { g as vt } from "./_commonjsHelpers-ByX85dGu.js";
9
+ import { T as yt } from "./Tooltip-Bj-s__cI.js";
10
+ import { n as bt } from "./numberFormattingFunction-DqMf_v1m.js";
11
+ import { X as xt, E as wt } from "./index-ApTBN0kp.js";
12
+ import { g as Ct } from "./getCentroidCoordinates-s0OOUjLF.js";
13
+ import { D as Dt } from "./DetailsModal-B2XBWR7w.js";
14
+ import { o as St } from "./ordinal-CHaxGJ_l.js";
15
+ import { t as jt } from "./threshold-DFfqcDMa.js";
16
+ import { GraphHeader as Nt } from "./GraphHeader.js";
17
+ import { GraphFooter as Rt } from "./GraphFooter.js";
18
+ import { f as kt } from "./fetchAndParseData-BAXhgTDM.js";
19
+ import { Colors as re } from "./Colors.js";
20
+ import { g as Ot } from "./getUniqValue-DsqSii6M.js";
21
+ import { g as Et } from "./getJenks-DTCcQSDi.js";
22
+ import { a as Lt, G as Pt } from "./GraphContainer-B8ZqOzKI.js";
23
+ var et, rt;
24
+ function zt() {
25
+ if (rt) return et;
26
+ rt = 1;
27
27
  var t = function(o) {
28
28
  return o.charAt(0) === "#" ? o.slice(1) : o;
29
29
  }, e = function(o) {
30
- var n = o.length === 3 || o.length === 4, f = n ? "".concat(o.slice(0, 1)).concat(o.slice(0, 1)) : o.slice(0, 2), s = n ? "".concat(o.slice(1, 2)).concat(o.slice(1, 2)) : o.slice(2, 4), w = n ? "".concat(o.slice(2, 3)).concat(o.slice(2, 3)) : o.slice(4, 6), L = (n ? "".concat(o.slice(3, 4)).concat(o.slice(3, 4)) : o.slice(6, 8)) || "ff";
30
+ var n = o.length === 3 || o.length === 4, f = n ? "".concat(o.slice(0, 1)).concat(o.slice(0, 1)) : o.slice(0, 2), s = n ? "".concat(o.slice(1, 2)).concat(o.slice(1, 2)) : o.slice(2, 4), w = n ? "".concat(o.slice(2, 3)).concat(o.slice(2, 3)) : o.slice(4, 6), E = (n ? "".concat(o.slice(3, 4)).concat(o.slice(3, 4)) : o.slice(6, 8)) || "ff";
31
31
  return {
32
32
  r: f,
33
33
  g: s,
34
34
  b: w,
35
- a: L
35
+ a: E
36
36
  };
37
37
  }, d = function(o) {
38
38
  return parseInt(o, 16);
@@ -47,37 +47,37 @@ function Lt() {
47
47
  }, x = function(o) {
48
48
  return !isNaN(parseFloat(o)) && isFinite(o);
49
49
  }, D = function(o, n) {
50
- var f = o.r, s = o.g, w = o.b, L = o.a, P = x(n) ? n : L;
51
- return "rgba(".concat(f, ", ").concat(s, ", ").concat(w, ", ").concat(P, ")");
50
+ var f = o.r, s = o.g, w = o.b, E = o.a, L = x(n) ? n : E;
51
+ return "rgba(".concat(f, ", ").concat(s, ", ").concat(w, ", ").concat(L, ")");
52
52
  }, g = function(o, n) {
53
53
  var f = t(o), s = e(f), w = b(s);
54
54
  return D(w, n);
55
55
  };
56
- return Ke = g, Ke;
56
+ return et = g, et;
57
57
  }
58
- var Pt = Lt();
59
- const ot = /* @__PURE__ */ gt(Pt);
60
- function zt(t) {
58
+ var Mt = zt();
59
+ const at = /* @__PURE__ */ vt(Mt);
60
+ function Tt(t) {
61
61
  let e;
62
62
  switch (t.type) {
63
63
  case "ambient":
64
- e = new $.AmbientLight(t.color, t.intensity);
64
+ e = new H.AmbientLight(t.color, t.intensity);
65
65
  break;
66
66
  case "directional":
67
- e = new $.DirectionalLight(t.color, t.intensity), t.position && (t.position === "camera" ? e.position.set(0, 0, 0) : e.position.set(t.position.x, t.position.y, t.position.z)), (t.target || t.position === "camera") && e.target.position.set(t.target?.x || 0, t.target?.y || 0, t.target?.z === void 0 ? -1 : t.target.z), t.castShadow && (e.castShadow = !0, t.shadow && (e.shadow.mapSize.width = t.shadow.mapSize.width, e.shadow.mapSize.height = t.shadow.mapSize.height, e.shadow.camera.near = t.shadow.camera.near, e.shadow.camera.far = t.shadow.camera.far));
67
+ e = new H.DirectionalLight(t.color, t.intensity), t.position && (t.position === "camera" ? e.position.set(0, 0, 0) : e.position.set(t.position.x, t.position.y, t.position.z)), (t.target || t.position === "camera") && e.target.position.set(t.target?.x || 0, t.target?.y || 0, t.target?.z === void 0 ? -1 : t.target.z), t.castShadow && (e.castShadow = !0, t.shadow && (e.shadow.mapSize.width = t.shadow.mapSize.width, e.shadow.mapSize.height = t.shadow.mapSize.height, e.shadow.camera.near = t.shadow.camera.near, e.shadow.camera.far = t.shadow.camera.far));
68
68
  break;
69
69
  case "point":
70
- e = new $.PointLight(t.color, t.intensity, t.distance || 0, t.decay || 2), t.position && (t.position === "camera" ? e.position.set(0, 0, 0) : e.position.set(t.position.x, t.position.y, t.position.z));
70
+ e = new H.PointLight(t.color, t.intensity, t.distance || 0, t.decay || 2), t.position && (t.position === "camera" ? e.position.set(0, 0, 0) : e.position.set(t.position.x, t.position.y, t.position.z));
71
71
  break;
72
72
  case "spot":
73
- e = new $.SpotLight(t.color, t.intensity, t.distance || 0, t.angle || Math.PI / 3, t.penumbra || 0, t.decay || 2), t.position && (t.position === "camera" ? e.position.set(0, 0, 0) : e.position.set(t.position.x, t.position.y, t.position.z)), (t.target || t.position === "camera") && e.target.position.set(t.target?.x || 0, t.target?.y || 0, t.target?.z || 0), t.castShadow && (e.castShadow = !0, t.shadow && (e.shadow.mapSize.width = t.shadow.mapSize.width, e.shadow.mapSize.height = t.shadow.mapSize.height, e.shadow.camera.near = t.shadow.camera.near, e.shadow.camera.far = t.shadow.camera.far));
73
+ e = new H.SpotLight(t.color, t.intensity, t.distance || 0, t.angle || Math.PI / 3, t.penumbra || 0, t.decay || 2), t.position && (t.position === "camera" ? e.position.set(0, 0, 0) : e.position.set(t.position.x, t.position.y, t.position.z)), (t.target || t.position === "camera") && e.target.position.set(t.target?.x || 0, t.target?.y || 0, t.target?.z || 0), t.castShadow && (e.castShadow = !0, t.shadow && (e.shadow.mapSize.width = t.shadow.mapSize.width, e.shadow.mapSize.height = t.shadow.mapSize.height, e.shadow.camera.near = t.shadow.camera.near, e.shadow.camera.far = t.shadow.camera.far));
74
74
  break;
75
75
  default:
76
76
  throw new Error("Unknown light type");
77
77
  }
78
78
  return e;
79
79
  }
80
- function Mt(t) {
80
+ function At(t) {
81
81
  const {
82
82
  width: e,
83
83
  autoRotate: d,
@@ -91,54 +91,55 @@ function Mt(t) {
91
91
  polygonData: f,
92
92
  mapProperty: s,
93
93
  mapBorderColor: w,
94
- atmosphereColor: L,
95
- tooltip: P,
96
- styles: ye,
97
- classNames: W,
98
- mapNoDataColor: re,
94
+ atmosphereColor: E,
95
+ tooltip: L,
96
+ styles: be,
97
+ classNames: $,
98
+ mapNoDataColor: ae,
99
99
  colorLegendTitle: C,
100
- showColorScale: ae,
101
- hoverStrokeColor: ie,
102
- detailsOnClick: V,
103
- onSeriesMouseClick: Z,
104
- onSeriesMouseOver: be,
105
- resetSelectionOnDoubleClick: xe,
106
- highlightedIds: z,
107
- scale: M,
100
+ showColorScale: ie,
101
+ hoverStrokeColor: se,
102
+ detailsOnClick: W,
103
+ onSeriesMouseClick: V,
104
+ onSeriesMouseOver: xe,
105
+ resetSelectionOnDoubleClick: we,
106
+ highlightedIds: P,
107
+ scale: z,
108
108
  globeOffset: m,
109
109
  polygonAltitude: u,
110
- centerLng: _,
111
- centerLat: J,
112
- atmosphereAltitude: se,
113
- globeCurvatureResolution: X,
114
- fogSettings: T,
115
- lights: E,
116
- highlightedAltitude: ne,
110
+ centerLng: Z,
111
+ centerLat: _,
112
+ atmosphereAltitude: ne,
113
+ globeCurvatureResolution: J,
114
+ fogSettings: M,
115
+ lights: T,
116
+ highlightedAltitude: le,
117
117
  selectedId: v,
118
- collapseColorScaleByDefault: Y,
119
- dimmedOpacity: A
120
- } = t, [U, we] = I(!1), p = Qe(void 0), [q, k] = I(void 0), [Ce, le] = I(Y === void 0 ? !(e < 680) : !Y), [ce, de] = I({
118
+ collapseColorScaleByDefault: X,
119
+ dimmedOpacity: A,
120
+ locale: Y
121
+ } = t, [ce, Ce] = I(!1), p = tt(void 0), [R, U] = I(void 0), [De, de] = I(X === void 0 ? !(e < 680) : !X), [K, Q] = I({
121
122
  x: 0,
122
123
  y: 0
123
- }), [S, pe] = I(void 0), K = D ? wt().domain(g).range(l) : Ct().domain(g).range(l);
124
+ }), [N, pe] = I(void 0), he = D ? St().domain(g).range(l) : jt().domain(g).range(l);
124
125
  G(() => {
125
126
  p.current && (p.current.controls().enableZoom = x);
126
127
  }, [x]), G(() => {
127
- p.current && (S || v ? p.current.controls().autoRotate = !1 : (p.current.controls().autoRotate = d !== 0, p.current.controls().autoRotateSpeed = d));
128
- }, [S, v, d]), G(() => {
128
+ p.current && (N || v ? p.current.controls().autoRotate = !1 : (p.current.controls().autoRotate = d !== 0, p.current.controls().autoRotateSpeed = d));
129
+ }, [N, v, d]), G(() => {
129
130
  if (p.current && v) {
130
- const r = f.find((y) => y.properties[s] === v), [a, c] = bt(r);
131
+ const r = f.find((y) => y.properties[s] === v), [a, c] = Ct(r);
131
132
  p.current.pointOfView({
132
133
  lat: c,
133
134
  lng: a,
134
- altitude: M
135
+ altitude: z
135
136
  }, 1e3);
136
137
  }
137
- }, [v, M, f, s]), G(() => {
138
+ }, [v, z, f, s]), G(() => {
138
139
  const r = p.current?.renderer().domElement;
139
140
  if (!r) return;
140
141
  const a = (c) => {
141
- de({
142
+ Q({
142
143
  x: c.clientX,
143
144
  y: c.clientY
144
145
  });
@@ -146,47 +147,47 @@ function Mt(t) {
146
147
  return r.addEventListener("mousemove", a), () => r.removeEventListener("mousemove", a);
147
148
  }, []), G(() => {
148
149
  p.current && p.current.pointOfView({
149
- lat: J,
150
- lng: _,
151
- altitude: M
150
+ lat: _,
151
+ lng: Z,
152
+ altitude: z
152
153
  }, 1e3);
153
- }, [M, _, J]);
154
- const j = o || new $.MeshBasicMaterial({
154
+ }, [z, Z, _]);
155
+ const S = o || new H.MeshBasicMaterial({
155
156
  color: "#FFF"
156
- }), B = dt(() => {
157
+ }), B = ht(() => {
157
158
  if (!p.current) return;
158
159
  const r = p.current.scene(), a = p.current.camera();
159
160
  let c = [];
160
161
  r.traverse((h) => {
161
- h instanceof $.Light && c.push(h);
162
- }), c = [...c, ...a.children], c.forEach((h) => h.parent?.remove(h)), E.map((h) => zt(h)).forEach((h, N) => {
163
- E[N].type !== "ambient" && E[N].position === "camera" ? (a.add(h), E[N].type !== "point" && a.add(h.target)) : r.add(h);
164
- }), T && (r.fog = new $.Fog(T.color, T.near, T.far));
165
- }, [E, T]), R = () => {
166
- we(!0), B();
162
+ h instanceof H.Light && c.push(h);
163
+ }), c = [...c, ...a.children], c.forEach((h) => h.parent?.remove(h)), T.map((h) => Tt(h)).forEach((h, j) => {
164
+ T[j].type !== "ambient" && T[j].position === "camera" ? (a.add(h), T[j].type !== "point" && a.add(h.target)) : r.add(h);
165
+ }), M && (r.fog = new H.Fog(M.color, M.near, M.far));
166
+ }, [T, M]), k = () => {
167
+ Ce(!0), B();
167
168
  };
168
169
  return G(() => {
169
- U && B();
170
- }, [U, B]), /* @__PURE__ */ i.jsxs("div", { className: "relative", children: [
171
- /* @__PURE__ */ i.jsx(mt, { ref: p, height: n, width: e, globeOffset: m, lineHoverPrecision: 0, polygonsData: f, polygonAltitude: (r) => z.includes(r?.properties?.[s]) || r?.properties?.[s] === v || r?.properties?.[s] === S?.id || r?.properties?.[s] === q?.id ? ne : u, polygonCapColor: (r) => {
172
- const a = v ? r?.properties?.[s] === v ? 1 : A : z.length !== 0 ? z.includes(r?.properties?.[s]) ? 1 : A : 1, c = r?.properties?.[s], y = b.find((N) => N.id === c)?.x, h = y != null ? K(y) : re;
173
- return ot(h, `${a}`);
170
+ ce && B();
171
+ }, [ce, B]), /* @__PURE__ */ i.jsxs("div", { className: "relative", children: [
172
+ /* @__PURE__ */ i.jsx(gt, { ref: p, height: n, width: e, globeOffset: m, lineHoverPrecision: 0, polygonsData: f, polygonAltitude: (r) => P?.includes(r?.properties?.[s]) || r?.properties?.[s] === v || r?.properties?.[s] === N?.id || r?.properties?.[s] === R?.id ? le : u, polygonCapColor: (r) => {
173
+ const a = v ? r?.properties?.[s] === v ? 1 : A : P ? P.includes(r?.properties?.[s]) ? 1 : A : 1, c = r?.properties?.[s], y = b.find((j) => j.id === c)?.x, h = y != null ? he(y) : ae;
174
+ return at(h, `${a}`);
174
175
  }, polygonSideColor: (r) => {
175
- const a = r?.properties?.[s], c = b.find((N) => N.id === a)?.x, y = v ? r?.properties?.[s] === v ? 1 : A : z.length !== 0 ? z.includes(r?.properties?.[s]) ? 1 : A : 1, h = c != null ? K(c) : re;
176
- return ot(h, `${y}`);
177
- }, polygonStrokeColor: (r) => r?.properties?.[s] === S?.id ? ie : w, onGlobeClick: () => {
178
- k(void 0);
176
+ const a = r?.properties?.[s], c = b.find((j) => j.id === a)?.x, y = v ? r?.properties?.[s] === v ? 1 : A : P ? P.includes(r?.properties?.[s]) ? 1 : A : 1, h = c != null ? he(c) : ae;
177
+ return at(h, `${y}`);
178
+ }, polygonStrokeColor: (r) => r?.properties?.[s] === N?.id ? se : w, onGlobeClick: () => {
179
+ U(void 0);
179
180
  }, onPolygonClick: (r) => {
180
181
  const a = r?.properties?.[s] ? b.find((c) => c.id === r?.properties?.[s]) : void 0;
181
- (Z || V) && (ut(q, a) && xe && a ? (k(void 0), Z?.(void 0)) : (k(a), Z?.(a)));
182
+ (V || W) && (ft(R, a) && we && a ? (U(void 0), V?.(void 0)) : (U(a), V?.(a)));
182
183
  }, onPolygonHover: (r) => {
183
184
  const a = r?.properties?.[s] ? b.find((c) => c.id === r?.properties?.[s]) : void 0;
184
- pe(a), be?.(a);
185
- }, atmosphereColor: L, atmosphereAltitude: se, globeCurvatureResolution: X, globeMaterial: j, backgroundColor: "rgba(0, 0, 0, 0)", polygonsTransitionDuration: 100, onGlobeReady: () => {
185
+ pe(a), xe?.(a);
186
+ }, atmosphereColor: E, atmosphereAltitude: ne, globeCurvatureResolution: J, globeMaterial: S, backgroundColor: "rgba(0, 0, 0, 0)", polygonsTransitionDuration: 100, onGlobeReady: () => {
186
187
  if (p.current) {
187
188
  p.current.pointOfView({
188
- lat: J,
189
- lng: _
189
+ lat: _,
190
+ lng: Z
190
191
  });
191
192
  const r = p.current.scene();
192
193
  setTimeout(() => {
@@ -196,17 +197,17 @@ function Mt(t) {
196
197
  });
197
198
  }, 300);
198
199
  const a = p.current.camera();
199
- r.add(a), R();
200
+ r.add(a), k();
200
201
  }
201
202
  } }),
202
- ae === !1 ? null : /* @__PURE__ */ i.jsx("div", { className: lt("absolute left-4 bottom-4 map-color-legend", W?.colorLegend), children: Ce ? /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
203
+ ie === !1 ? null : /* @__PURE__ */ i.jsx("div", { className: dt("absolute left-4 bottom-4 map-color-legend", $?.colorLegend), children: De ? /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
203
204
  /* @__PURE__ */ i.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: () => {
204
- le(!1);
205
- }, children: /* @__PURE__ */ i.jsx(yt, {}) }),
205
+ de(!1);
206
+ }, children: /* @__PURE__ */ i.jsx(xt, {}) }),
206
207
  /* @__PURE__ */ i.jsxs("div", { className: "color-legend-box p-2 bg-[rgba(240,240,240,0.7)] dark:bg-[rgba(30,30,30,0.7)]", style: {
207
208
  width: D ? void 0 : "340px"
208
209
  }, children: [
209
- C && C !== "" ? /* @__PURE__ */ i.jsx(et, { size: "xs", marginBottom: "xs", className: "p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300", style: {
210
+ C && C !== "" ? /* @__PURE__ */ i.jsx(ot, { size: "xs", marginBottom: "xs", className: "p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300", style: {
210
211
  display: "-webkit-box",
211
212
  WebkitLineClamp: "1",
212
213
  WebkitBoxOrient: "vertical"
@@ -215,7 +216,7 @@ function Mt(t) {
215
216
  /* @__PURE__ */ i.jsx("div", { className: "w-2 h-2 rounded-full", style: {
216
217
  backgroundColor: l[a % l.length]
217
218
  } }),
218
- /* @__PURE__ */ i.jsx(et, { size: "sm", marginBottom: "none", leading: "none", children: r })
219
+ /* @__PURE__ */ i.jsx(ot, { size: "sm", marginBottom: "none", leading: "none", children: r })
219
220
  ] }, a)) }) : /* @__PURE__ */ i.jsx("svg", { width: "100%", viewBox: "0 0 320 30", direction: "ltr", children: /* @__PURE__ */ i.jsxs("g", { children: [
220
221
  g.map((r, a) => /* @__PURE__ */ i.jsxs("g", { className: "cursor-pointer", children: [
221
222
  /* @__PURE__ */ i.jsx("rect", { x: a * 320 / l.length + 1, y: 1, width: 320 / l.length - 2, height: 8, style: {
@@ -224,7 +225,7 @@ function Mt(t) {
224
225
  } }),
225
226
  /* @__PURE__ */ i.jsx("text", { x: (a + 1) * 320 / l.length, y: 25, className: "fill-primary-gray-700 dark:fill-primary-gray-300 text-xs", style: {
226
227
  textAnchor: "middle"
227
- }, children: vt(r, "NA") })
228
+ }, children: bt(r, void 0, void 0, void 0, void 0, Y) })
228
229
  ] }, a)),
229
230
  /* @__PURE__ */ i.jsx("g", { children: /* @__PURE__ */ i.jsx("rect", { x: g.length * 320 / l.length + 1, y: 1, width: 320 / l.length - 2, height: 8, style: {
230
231
  fill: l[g.length],
@@ -232,15 +233,15 @@ function Mt(t) {
232
233
  } }) })
233
234
  ] }) })
234
235
  ] })
235
- ] }) : /* @__PURE__ */ i.jsx("button", { type: "button", className: "mb-0 border-0 bg-transparent p-0 self-start", onClick: () => {
236
- le(!0);
237
- }, children: /* @__PURE__ */ i.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" }) }) }),
238
- S && P ? /* @__PURE__ */ i.jsx(ft, { data: S, body: P, xPos: ce.x, yPos: ce.y, backgroundStyle: ye?.tooltip, className: W?.tooltip }) : null,
239
- V && q !== void 0 ? /* @__PURE__ */ i.jsx(xt, { body: V, data: q, setData: k, className: W?.modal }) : null
236
+ ] }) : /* @__PURE__ */ i.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: () => {
237
+ de(!0);
238
+ }, children: /* @__PURE__ */ i.jsx(wt, {}) }) }),
239
+ N && L ? /* @__PURE__ */ i.jsx(yt, { data: N, body: L, xPos: K.x, yPos: K.y, backgroundStyle: be?.tooltip, className: $?.tooltip }) : null,
240
+ W && R !== void 0 ? /* @__PURE__ */ i.jsx(Dt, { body: W, data: R, setData: U, className: $?.modal }) : null
240
241
  ] });
241
242
  }
242
- function lo(t) {
243
- const e = ct.c(97), {
243
+ function ho(t) {
244
+ const e = pt.c(98), {
244
245
  data: d,
245
246
  mapData: b,
246
247
  graphTitle: x,
@@ -252,56 +253,57 @@ function lo(t) {
252
253
  footNote: f,
253
254
  colorDomain: s,
254
255
  colorLegendTitle: w,
255
- scaleType: L,
256
- padding: P,
257
- mapNoDataColor: ye,
258
- backgroundColor: W,
259
- mapBorderColor: re,
256
+ scaleType: E,
257
+ padding: L,
258
+ mapNoDataColor: be,
259
+ backgroundColor: $,
260
+ mapBorderColor: ae,
260
261
  relativeHeight: C,
261
- tooltip: ae,
262
- graphID: ie,
263
- mapProperty: V,
264
- dataDownload: Z,
265
- language: be,
266
- minHeight: xe,
267
- theme: z,
268
- ariaLabel: M,
262
+ tooltip: ie,
263
+ graphID: se,
264
+ mapProperty: W,
265
+ dataDownload: V,
266
+ language: xe,
267
+ minHeight: we,
268
+ theme: P,
269
+ ariaLabel: z,
269
270
  styles: m,
270
271
  classNames: u,
271
- autoRotate: _,
272
- enableZoom: J,
273
- globeMaterial: se,
274
- centerPoint: X,
275
- atmosphereColor: T,
276
- showColorScale: E,
277
- resetSelectionOnDoubleClick: ne,
272
+ autoRotate: Z,
273
+ enableZoom: _,
274
+ globeMaterial: ne,
275
+ centerPoint: J,
276
+ atmosphereColor: M,
277
+ showColorScale: T,
278
+ resetSelectionOnDoubleClick: le,
278
279
  detailsOnClick: v,
279
- onSeriesMouseOver: Y,
280
+ onSeriesMouseOver: X,
280
281
  onSeriesMouseClick: A,
281
- highlightedIds: U,
282
- highlightedAltitude: we,
283
- dimmedOpacity: p,
284
- scale: q,
285
- globeOffset: k,
286
- polygonAltitude: Ce,
287
- globeCurvatureResolution: le,
288
- atmosphereAltitude: ce,
289
- fogSettings: de,
290
- lights: S,
291
- selectedId: pe,
292
- collapseColorScaleByDefault: K
293
- } = t, j = b === void 0 ? "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap-simplified.json" : b, B = f === 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." : f, R = L === void 0 ? "threshold" : L, r = ye === void 0 ? oe.light.graphNoData : ye, a = W === void 0 ? !1 : W, c = re === void 0 ? oe.light.grays["gray-500"] : re, y = V === void 0 ? "ISO3" : V, h = Z === void 0 ? !1 : Z, N = be === void 0 ? "en" : be, O = xe === void 0 ? 0 : xe, F = z === void 0 ? "light" : z, he = _ === void 0 ? !0 : _, Ae = J === void 0 ? !0 : J;
294
- let De;
295
- e[0] !== X ? (De = X === void 0 ? [0, 0] : X, e[0] = X, e[1] = De) : De = e[1];
296
- const Se = De, Be = T === void 0 ? "#999" : T, Fe = E === void 0 ? !0 : E, Ge = ne === void 0 ? !0 : ne;
297
- let je;
298
- e[2] !== U ? (je = U === void 0 ? [] : U, e[2] = U, e[3] = je) : je = e[3];
299
- const Ie = je, Ue = we === void 0 ? 0.1 : we, qe = p === void 0 ? 0.3 : p, He = q === void 0 ? 1 : q;
282
+ highlightedIds: Y,
283
+ highlightedAltitude: ce,
284
+ dimmedOpacity: Ce,
285
+ scale: p,
286
+ globeOffset: R,
287
+ polygonAltitude: U,
288
+ globeCurvatureResolution: De,
289
+ atmosphereAltitude: de,
290
+ fogSettings: K,
291
+ lights: Q,
292
+ selectedId: N,
293
+ collapseColorScaleByDefault: pe,
294
+ locale: he
295
+ } = t, S = b === void 0 ? "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap-simplified.json" : b, B = f === 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." : f, k = E === void 0 ? "threshold" : E, r = be === void 0 ? re.light.graphNoData : be, a = $ === void 0 ? !1 : $, c = ae === void 0 ? re.light.grays["gray-500"] : ae, y = W === void 0 ? "ISO3" : W, h = V === void 0 ? !1 : V, j = xe === void 0 ? "en" : xe, O = we === void 0 ? 0 : we, F = P === void 0 ? "light" : P, me = Z === void 0 ? !0 : Z, Be = _ === void 0 ? !0 : _;
296
+ let Se;
297
+ e[0] !== J ? (Se = J === void 0 ? [0, 0] : J, e[0] = J, e[1] = Se) : Se = e[1];
298
+ const je = Se, Fe = M === void 0 ? "#999" : M, Ge = T === void 0 ? !0 : T, Ie = le === void 0 ? !0 : le;
300
299
  let Ne;
301
- e[4] !== k ? (Ne = k === void 0 ? [0, 0] : k, e[4] = k, e[5] = Ne) : Ne = e[5];
302
- const $e = Ne, We = Ce === void 0 ? 0.01 : Ce, Ve = le === void 0 ? 4 : le, Ze = ce === void 0 ? 0.15 : ce;
300
+ e[2] !== Y ? (Ne = Y === void 0 ? [] : Y, e[2] = Y, e[3] = Ne) : Ne = e[3];
301
+ const Ue = Ne, qe = ce === void 0 ? 0.1 : ce, He = Ce === void 0 ? 0.3 : Ce, $e = p === void 0 ? 1 : p;
302
+ let Re;
303
+ e[4] !== R ? (Re = R === void 0 ? [0, 0] : R, e[4] = R, e[5] = Re) : Re = e[5];
304
+ const We = Re, Ve = U === void 0 ? 0.01 : U, Ze = De === void 0 ? 4 : De, _e = de === void 0 ? 0.15 : de;
303
305
  let ke;
304
- e[6] !== S ? (ke = S === void 0 ? [{
306
+ e[6] !== Q ? (ke = Q === void 0 ? [{
305
307
  type: "ambient",
306
308
  color: 4210752,
307
309
  intensity: 0.4
@@ -314,81 +316,81 @@ function lo(t) {
314
316
  y: 10,
315
317
  z: 5
316
318
  }
317
- }] : S, e[6] = S, e[7] = ke) : ke = e[7];
318
- const _e = ke, [Re, rt] = I(void 0), [H, at] = I(0), [me, it] = I(0), Je = Qe(null), st = Qe(null);
319
- let Oe, Le;
320
- e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Oe = () => {
321
- const fe = new ResizeObserver((ve) => {
322
- at(ve[0].target.clientWidth || 620), it(ve[0].target.clientHeight || 480);
319
+ }] : Q, e[6] = Q, e[7] = ke) : ke = e[7];
320
+ const Je = ke, Xe = he === void 0 ? "en" : he, [Oe, it] = I(void 0), [q, st] = I(0), [ue, nt] = I(0), Ye = tt(null), lt = tt(null);
321
+ let Ee, Le;
322
+ e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ee = () => {
323
+ const ve = new ResizeObserver((ye) => {
324
+ st(ye[0].target.clientWidth || 620), nt(ye[0].target.clientHeight || 480);
323
325
  });
324
- return Je.current && fe.observe(Je.current), () => fe.disconnect();
325
- }, Le = [], e[8] = Oe, e[9] = Le) : (Oe = e[8], Le = e[9]), G(Oe, Le);
326
+ return Ye.current && ve.observe(Ye.current), () => ve.disconnect();
327
+ }, Le = [], e[8] = Ee, e[9] = Le) : (Ee = e[8], Le = e[9]), G(Ee, Le);
326
328
  let Pe;
327
- e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Pe = (fe) => {
328
- rt(fe);
329
+ e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Pe = (ve) => {
330
+ it(ve);
329
331
  }, e[10] = Pe) : Pe = e[10];
330
- const ue = pt(Pe);
332
+ const ge = mt(Pe);
331
333
  let ze;
332
- e[11] !== j || e[12] !== ue ? (ze = () => {
333
- typeof j == "string" ? jt(j).then((ve) => {
334
- if (j === "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap-simplified.json") {
335
- const nt = ve.features.map(It);
336
- ue(nt);
334
+ e[11] !== S || e[12] !== ge ? (ze = () => {
335
+ typeof S == "string" ? kt(S).then((ye) => {
336
+ if (S === "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap-simplified.json") {
337
+ const ct = ye.features.map(Ht);
338
+ ge(ct);
337
339
  } else
338
- ue(ve.features);
339
- }) : ue(j.features);
340
- }, e[11] = j, e[12] = ue, e[13] = ze) : ze = e[13];
340
+ ge(ye.features);
341
+ }) : ge(S.features);
342
+ }, e[11] = S, e[12] = ge, e[13] = ze) : ze = e[13];
341
343
  let Me;
342
- e[14] !== j ? (Me = [j], e[14] = j, e[15] = Me) : Me = e[15], G(ze, Me);
344
+ e[14] !== S ? (Me = [S], e[14] = S, e[15] = Me) : Me = e[15], G(ze, Me);
343
345
  let Te;
344
- e[16] !== s || e[17] !== D?.length || e[18] !== d || e[19] !== R ? (Te = s || (R === "categorical" ? Nt(d, "x") : kt(d.map(Gt), D?.length || 4)), e[16] = s, e[17] = D?.length, e[18] = d, e[19] = R, e[20] = Te) : Te = e[20];
345
- const ge = Te, Xe = u?.graphContainer, Ye = m?.graphContainer;
346
- let Q;
347
- e[21] !== u?.description || e[22] !== u?.title || e[23] !== d || e[24] !== h || e[25] !== l || e[26] !== x || e[27] !== m?.description || e[28] !== m?.title || e[29] !== n ? (Q = x || l || h ? /* @__PURE__ */ i.jsx(Dt, { styles: {
346
+ e[16] !== s || e[17] !== D?.length || e[18] !== d || e[19] !== k ? (Te = s || (k === "categorical" ? Ot(d, "x") : Et(d.map(qt), D?.length || 4)), e[16] = s, e[17] = D?.length, e[18] = d, e[19] = k, e[20] = Te) : Te = e[20];
347
+ const fe = Te, Ke = u?.graphContainer, Qe = m?.graphContainer;
348
+ let ee;
349
+ e[21] !== u?.description || e[22] !== u?.title || e[23] !== d || e[24] !== h || e[25] !== l || e[26] !== x || e[27] !== m?.description || e[28] !== m?.title || e[29] !== n ? (ee = x || l || h ? /* @__PURE__ */ i.jsx(Nt, { styles: {
348
350
  title: m?.title,
349
351
  description: m?.description
350
352
  }, classNames: {
351
353
  title: u?.title,
352
354
  description: u?.description
353
- }, graphTitle: x, graphDescription: l, width: n, graphDownload: void 0, dataDownload: h ? d.map(Ft).filter(Bt).length > 0 ? d.map(At).filter(Et) : d.filter(Tt) : null }) : null, e[21] = u?.description, e[22] = u?.title, e[23] = d, e[24] = h, e[25] = l, e[26] = x, e[27] = m?.description, e[28] = m?.title, e[29] = n, e[30] = Q) : Q = e[30];
354
- let ee;
355
- e[31] !== Ze || e[32] !== Be || e[33] !== he || e[34] !== Se || e[35] !== u || e[36] !== K || e[37] !== w || e[38] !== D || e[39] !== d || e[40] !== v || e[41] !== qe || e[42] !== ge || e[43] !== Ae || e[44] !== de || e[45] !== Ve || e[46] !== se || e[47] !== $e || e[48] !== o || e[49] !== Ue || e[50] !== Ie || e[51] !== _e || e[52] !== c || e[53] !== r || e[54] !== y || e[55] !== Re || e[56] !== O || e[57] !== A || e[58] !== Y || e[59] !== We || e[60] !== C || e[61] !== Ge || e[62] !== He || e[63] !== R || e[64] !== pe || e[65] !== Fe || e[66] !== m || e[67] !== me || e[68] !== H || e[69] !== F || e[70] !== ae || e[71] !== n ? (ee = /* @__PURE__ */ i.jsx(Rt, { ref: Je, children: H && me && Re ? /* @__PURE__ */ i.jsx(Mt, { data: d, globeOffset: $e, polygonData: Re, colorDomain: ge, width: H, height: me, colors: D || (R === "categorical" ? oe[F].sequentialColors[`neutralColorsx0${ge.length}`] : oe[F].sequentialColors[`neutralColorsx0${ge.length + 1}`]), mapNoDataColor: r, categorical: R === "categorical", mapBorderColor: c, tooltip: ae, mapProperty: y, styles: m, classNames: u, autoRotate: he === !0 ? 1.5 : he === !1 ? 0 : he, enableZoom: Ae, globeMaterial: se, atmosphereColor: Be, colorLegendTitle: w, showColorScale: Fe, hoverStrokeColor: F === "light" ? oe.light.grays["gray-700"] : oe.light.grays["gray-300"], highlightedIds: Ie, resetSelectionOnDoubleClick: Ge, detailsOnClick: v, onSeriesMouseOver: Y, onSeriesMouseClick: A, scale: He, polygonAltitude: We, centerLat: Se[0], centerLng: Se[1], atmosphereAltitude: Ze, globeCurvatureResolution: Ve, fogSettings: de, lights: _e, highlightedAltitude: Ue, selectedId: pe, collapseColorScaleByDefault: K, dimmedOpacity: qe }) : /* @__PURE__ */ i.jsx("div", { style: {
356
- height: `${Math.max(O, o || (C ? O ? (n || H) * C > O ? (n || H) * C : O : (n || H) * C : me))}px`
357
- }, className: "flex items-center justify-center", children: /* @__PURE__ */ i.jsx(ht, { "aria-label": "Loading graph" }) }) }), e[31] = Ze, e[32] = Be, e[33] = he, e[34] = Se, e[35] = u, e[36] = K, e[37] = w, e[38] = D, e[39] = d, e[40] = v, e[41] = qe, e[42] = ge, e[43] = Ae, e[44] = de, e[45] = Ve, e[46] = se, e[47] = $e, e[48] = o, e[49] = Ue, e[50] = Ie, e[51] = _e, e[52] = c, e[53] = r, e[54] = y, e[55] = Re, e[56] = O, e[57] = A, e[58] = Y, e[59] = We, e[60] = C, e[61] = Ge, e[62] = He, e[63] = R, e[64] = pe, e[65] = Fe, e[66] = m, e[67] = me, e[68] = H, e[69] = F, e[70] = ae, e[71] = n, e[72] = ee) : ee = e[72];
355
+ }, graphTitle: x, graphDescription: l, width: n, graphDownload: void 0, dataDownload: h ? d.map(Ut).filter(It).length > 0 ? d.map(Gt).filter(Ft) : d.filter(Bt) : null }) : null, e[21] = u?.description, e[22] = u?.title, e[23] = d, e[24] = h, e[25] = l, e[26] = x, e[27] = m?.description, e[28] = m?.title, e[29] = n, e[30] = ee) : ee = e[30];
358
356
  let te;
359
- e[73] !== u?.footnote || e[74] !== u?.source || e[75] !== B || e[76] !== g || e[77] !== m?.footnote || e[78] !== m?.source || e[79] !== n ? (te = g || B ? /* @__PURE__ */ i.jsx(St, { styles: {
357
+ e[31] !== _e || e[32] !== Fe || e[33] !== me || e[34] !== je || e[35] !== u || e[36] !== pe || e[37] !== w || e[38] !== D || e[39] !== d || e[40] !== v || e[41] !== He || e[42] !== fe || e[43] !== Be || e[44] !== K || e[45] !== Ze || e[46] !== ne || e[47] !== We || e[48] !== o || e[49] !== qe || e[50] !== Ue || e[51] !== Je || e[52] !== Xe || e[53] !== c || e[54] !== r || e[55] !== y || e[56] !== Oe || e[57] !== O || e[58] !== A || e[59] !== X || e[60] !== Ve || e[61] !== C || e[62] !== Ie || e[63] !== $e || e[64] !== k || e[65] !== N || e[66] !== Ge || e[67] !== m || e[68] !== ue || e[69] !== q || e[70] !== F || e[71] !== ie || e[72] !== n ? (te = /* @__PURE__ */ i.jsx(Lt, { ref: Ye, children: q && ue && Oe ? /* @__PURE__ */ i.jsx(At, { data: d, globeOffset: We, polygonData: Oe, colorDomain: fe, width: q, height: ue, colors: D || (k === "categorical" ? re[F].sequentialColors[`neutralColorsx0${fe.length}`] : re[F].sequentialColors[`neutralColorsx0${fe.length + 1}`]), mapNoDataColor: r, categorical: k === "categorical", mapBorderColor: c, tooltip: ie, mapProperty: y, styles: m, classNames: u, autoRotate: me === !0 ? 1.5 : me === !1 ? 0 : me, enableZoom: Be, globeMaterial: ne, atmosphereColor: Fe, colorLegendTitle: w, showColorScale: Ge, hoverStrokeColor: F === "light" ? re.light.grays["gray-700"] : re.light.grays["gray-300"], highlightedIds: Ue, resetSelectionOnDoubleClick: Ie, detailsOnClick: v, onSeriesMouseOver: X, onSeriesMouseClick: A, scale: $e, polygonAltitude: Ve, centerLat: je[0], centerLng: je[1], atmosphereAltitude: _e, globeCurvatureResolution: Ze, fogSettings: K, lights: Je, highlightedAltitude: qe, selectedId: N, collapseColorScaleByDefault: pe, dimmedOpacity: He, locale: Xe }) : /* @__PURE__ */ i.jsx("div", { style: {
358
+ height: `${Math.max(O, o || (C ? O ? (n || q) * C > O ? (n || q) * C : O : (n || q) * C : ue))}px`
359
+ }, className: "flex items-center justify-center", children: /* @__PURE__ */ i.jsx(ut, { "aria-label": "Loading graph" }) }) }), e[31] = _e, e[32] = Fe, e[33] = me, e[34] = je, e[35] = u, e[36] = pe, e[37] = w, e[38] = D, e[39] = d, e[40] = v, e[41] = He, e[42] = fe, e[43] = Be, e[44] = K, e[45] = Ze, e[46] = ne, e[47] = We, e[48] = o, e[49] = qe, e[50] = Ue, e[51] = Je, e[52] = Xe, e[53] = c, e[54] = r, e[55] = y, e[56] = Oe, e[57] = O, e[58] = A, e[59] = X, e[60] = Ve, e[61] = C, e[62] = Ie, e[63] = $e, e[64] = k, e[65] = N, e[66] = Ge, e[67] = m, e[68] = ue, e[69] = q, e[70] = F, e[71] = ie, e[72] = n, e[73] = te) : te = e[73];
360
+ let oe;
361
+ e[74] !== u?.footnote || e[75] !== u?.source || e[76] !== B || e[77] !== g || e[78] !== m?.footnote || e[79] !== m?.source || e[80] !== n ? (oe = g || B ? /* @__PURE__ */ i.jsx(Rt, { styles: {
360
362
  footnote: m?.footnote,
361
363
  source: m?.source
362
364
  }, classNames: {
363
365
  footnote: u?.footnote,
364
366
  source: u?.source
365
- }, sources: g, footNote: B, width: n }) : null, e[73] = u?.footnote, e[74] = u?.source, e[75] = B, e[76] = g, e[77] = m?.footnote, e[78] = m?.source, e[79] = n, e[80] = te) : te = e[80];
366
- let Ee;
367
- return e[81] !== M || e[82] !== a || e[83] !== ie || e[84] !== o || e[85] !== N || e[86] !== O || e[87] !== P || e[88] !== C || e[89] !== Xe || e[90] !== Ye || e[91] !== Q || e[92] !== ee || e[93] !== te || e[94] !== F || e[95] !== n ? (Ee = /* @__PURE__ */ i.jsxs(Ot, { className: Xe, style: Ye, id: ie, ref: st, "aria-label": M, backgroundColor: a, theme: F, language: N, minHeight: O, width: n, height: o, relativeHeight: C, padding: P, children: [
368
- Q,
367
+ }, sources: g, footNote: B, width: n }) : null, e[74] = u?.footnote, e[75] = u?.source, e[76] = B, e[77] = g, e[78] = m?.footnote, e[79] = m?.source, e[80] = n, e[81] = oe) : oe = e[81];
368
+ let Ae;
369
+ return e[82] !== z || e[83] !== a || e[84] !== se || e[85] !== o || e[86] !== j || e[87] !== O || e[88] !== L || e[89] !== C || e[90] !== Ke || e[91] !== Qe || e[92] !== ee || e[93] !== te || e[94] !== oe || e[95] !== F || e[96] !== n ? (Ae = /* @__PURE__ */ i.jsxs(Pt, { className: Ke, style: Qe, id: se, ref: lt, "aria-label": z, backgroundColor: a, theme: F, language: j, minHeight: O, width: n, height: o, relativeHeight: C, padding: L, children: [
369
370
  ee,
370
- te
371
- ] }), e[81] = M, e[82] = a, e[83] = ie, e[84] = o, e[85] = N, e[86] = O, e[87] = P, e[88] = C, e[89] = Xe, e[90] = Ye, e[91] = Q, e[92] = ee, e[93] = te, e[94] = F, e[95] = n, e[96] = Ee) : Ee = e[96], Ee;
371
+ te,
372
+ oe
373
+ ] }), e[82] = z, e[83] = a, e[84] = se, e[85] = o, e[86] = j, e[87] = O, e[88] = L, e[89] = C, e[90] = Ke, e[91] = Qe, e[92] = ee, e[93] = te, e[94] = oe, e[95] = F, e[96] = n, e[97] = Ae) : Ae = e[97], Ae;
372
374
  }
373
- function Tt(t) {
375
+ function Bt(t) {
374
376
  return t !== void 0;
375
377
  }
376
- function Et(t) {
378
+ function Ft(t) {
377
379
  return t !== void 0;
378
380
  }
379
- function At(t) {
381
+ function Gt(t) {
380
382
  return t.data;
381
383
  }
382
- function Bt(t) {
384
+ function It(t) {
383
385
  return t !== void 0;
384
386
  }
385
- function Ft(t) {
387
+ function Ut(t) {
386
388
  return t.data;
387
389
  }
388
- function Gt(t) {
390
+ function qt(t) {
389
391
  return t.x;
390
392
  }
391
- function It(t) {
393
+ function Ht(t) {
392
394
  if (t.geometry.type === "Polygon") {
393
395
  const b = [...t.geometry.coordinates[0]].reverse(), x = {
394
396
  ...t.geometry,
@@ -414,6 +416,6 @@ function It(t) {
414
416
  };
415
417
  }
416
418
  export {
417
- lo as ThreeDGlobe
419
+ ho as ThreeDGlobe
418
420
  };
419
421
  //# sourceMappingURL=ThreeDGlobe.js.map