@undp/data-viz 2.3.16 → 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 +4 -0
  189. package/dist/MultiLineAltChart.js +412 -402
  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 +94 -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
@@ -1,44 +1,44 @@
1
- import { c as Xt, j as b, m as Ht } from "./index-CHPV5EwG-BCLAYDCV.js";
2
- import { useRef as Lt, useState as it, useEffect as _t } from "react";
3
- import { _ as Gt } from "./Typography-DMVW6JnV.js";
4
- import { T as te } from "./Tooltip-CohiIbLZ.js";
5
- import { n as ee } from "./numberFormattingFunction-14YCbkN2.js";
6
- import { g as $t } from "./getTextColorBasedOnBgColor-CDY808zi.js";
7
- import { Colors as tt } from "./Colors.js";
8
- import { D as ne } from "./DetailsModal-C3qlUyFK.js";
9
- import { m as Dt } from "./proxy--_f6k3NR.js";
10
- import { u as ie } from "./use-in-view-DqvKAveg.js";
11
- import { A as oe } from "./index-Co3YGYe1.js";
12
- import { c as re } from "./checkIfNullOrUndefined-DmfiKkNw.js";
13
- import { GraphFooter as ae } from "./GraphFooter.js";
14
- import { GraphHeader as le } from "./GraphHeader.js";
15
- import { ColorLegendWithMouseOver as se } from "./ColorLegendWithMouseOver.js";
16
- import { E as ce } from "./EmptyState-B3fPoH6L.js";
17
- import { u as Wt } from "./uniqBy-BHy4I8PK.js";
18
- import { a as ue, G as de } from "./GraphContainer-DwMxWRCi.js";
19
- function fe(e) {
1
+ import { c as Kt, j as M, m as Wt } from "./index-CHPV5EwG-BzibaIRc.js";
2
+ import { useRef as zt, useState as at, useEffect as ee } from "react";
3
+ import { _ as qt } from "./Typography-BO0gQDIT.js";
4
+ import { T as ne } from "./Tooltip-Bj-s__cI.js";
5
+ import { n as ie } from "./numberFormattingFunction-DqMf_v1m.js";
6
+ import { g as Et } from "./getTextColorBasedOnBgColor-CDY808zi.js";
7
+ import { Colors as Q } from "./Colors.js";
8
+ import { D as oe } from "./DetailsModal-B2XBWR7w.js";
9
+ import { m as kt } from "./proxy-BsxtcZKa.js";
10
+ import { u as re } from "./use-in-view-KOXq5Kmc.js";
11
+ import { A as ae } from "./index-Cv_5q6Rb.js";
12
+ import { c as le } from "./checkIfNullOrUndefined-DmfiKkNw.js";
13
+ import { GraphFooter as se } from "./GraphFooter.js";
14
+ import { GraphHeader as ce } from "./GraphHeader.js";
15
+ import { ColorLegendWithMouseOver as ue } from "./ColorLegendWithMouseOver.js";
16
+ import { E as de } from "./EmptyState-CaxXCkiN.js";
17
+ import { u as Ft } from "./uniqBy-BHy4I8PK.js";
18
+ import { a as fe, G as he } from "./GraphContainer-B8ZqOzKI.js";
19
+ function pe(e) {
20
20
  var t = 0, n = e.children, i = n && n.length;
21
21
  if (!i) t = 1;
22
22
  else for (; --i >= 0; ) t += n[i].value;
23
23
  e.value = t;
24
24
  }
25
- function he() {
26
- return this.eachAfter(fe);
25
+ function ge() {
26
+ return this.eachAfter(pe);
27
27
  }
28
- function pe(e, t) {
28
+ function me(e, t) {
29
29
  let n = -1;
30
30
  for (const i of this)
31
31
  e.call(t, i, ++n, this);
32
32
  return this;
33
33
  }
34
- function ge(e, t) {
34
+ function ve(e, t) {
35
35
  for (var n = this, i = [n], r, l, a = -1; n = i.pop(); )
36
36
  if (e.call(t, n, ++a, this), r = n.children)
37
37
  for (l = r.length - 1; l >= 0; --l)
38
38
  i.push(r[l]);
39
39
  return this;
40
40
  }
41
- function me(e, t) {
41
+ function ye(e, t) {
42
42
  for (var n = this, i = [n], r = [], l, a, d, g = -1; n = i.pop(); )
43
43
  if (r.push(n), l = n.children)
44
44
  for (a = 0, d = l.length; a < d; ++a)
@@ -47,58 +47,58 @@ function me(e, t) {
47
47
  e.call(t, n, ++g, this);
48
48
  return this;
49
49
  }
50
- function ve(e, t) {
50
+ function we(e, t) {
51
51
  let n = -1;
52
52
  for (const i of this)
53
53
  if (e.call(t, i, ++n, this))
54
54
  return i;
55
55
  }
56
- function ye(e) {
56
+ function xe(e) {
57
57
  return this.eachAfter(function(t) {
58
58
  for (var n = +e(t.data) || 0, i = t.children, r = i && i.length; --r >= 0; ) n += i[r].value;
59
59
  t.value = n;
60
60
  });
61
61
  }
62
- function we(e) {
62
+ function be(e) {
63
63
  return this.eachBefore(function(t) {
64
64
  t.children && t.children.sort(e);
65
65
  });
66
66
  }
67
- function xe(e) {
68
- for (var t = this, n = be(t, e), i = [t]; t !== n; )
67
+ function Me(e) {
68
+ for (var t = this, n = Oe(t, e), i = [t]; t !== n; )
69
69
  t = t.parent, i.push(t);
70
70
  for (var r = i.length; e !== n; )
71
71
  i.splice(r, 0, e), e = e.parent;
72
72
  return i;
73
73
  }
74
- function be(e, t) {
74
+ function Oe(e, t) {
75
75
  if (e === t) return e;
76
76
  var n = e.ancestors(), i = t.ancestors(), r = null;
77
77
  for (e = n.pop(), t = i.pop(); e === t; )
78
78
  r = e, e = n.pop(), t = i.pop();
79
79
  return r;
80
80
  }
81
- function Me() {
81
+ function Ce() {
82
82
  for (var e = this, t = [e]; e = e.parent; )
83
83
  t.push(e);
84
84
  return t;
85
85
  }
86
- function Oe() {
86
+ function je() {
87
87
  return Array.from(this);
88
88
  }
89
- function Ce() {
89
+ function De() {
90
90
  var e = [];
91
91
  return this.eachBefore(function(t) {
92
92
  t.children || e.push(t);
93
93
  }), e;
94
94
  }
95
- function je() {
95
+ function ke() {
96
96
  var e = this, t = [];
97
97
  return e.each(function(n) {
98
98
  n !== e && t.push({ source: n.parent, target: n });
99
99
  }), t;
100
100
  }
101
- function* De() {
101
+ function* Ie() {
102
102
  var e = this, t, n = [e], i, r, l;
103
103
  do
104
104
  for (t = n.reverse(), n = []; e = t.pop(); )
@@ -107,97 +107,97 @@ function* De() {
107
107
  n.push(i[r]);
108
108
  while (n.length);
109
109
  }
110
- function Yt(e, t) {
111
- e instanceof Map ? (e = [void 0, e], t === void 0 && (t = Ve)) : t === void 0 && (t = Ie);
112
- for (var n = new xt(e), i, r = [n], l, a, d, g; i = r.pop(); )
110
+ function Ut(e, t) {
111
+ e instanceof Map ? (e = [void 0, e], t === void 0 && (t = Ne)) : t === void 0 && (t = Be);
112
+ for (var n = new bt(e), i, r = [n], l, a, d, g; i = r.pop(); )
113
113
  if ((a = t(i.data)) && (g = (a = Array.from(a)).length))
114
114
  for (i.children = a, d = g - 1; d >= 0; --d)
115
- r.push(l = a[d] = new xt(a[d])), l.parent = i, l.depth = i.depth + 1;
116
- return n.eachBefore(Kt);
115
+ r.push(l = a[d] = new bt(a[d])), l.parent = i, l.depth = i.depth + 1;
116
+ return n.eachBefore(Zt);
117
117
  }
118
- function ke() {
119
- return Yt(this).eachBefore(Ne);
118
+ function Ve() {
119
+ return Ut(this).eachBefore(Se);
120
120
  }
121
- function Ie(e) {
121
+ function Be(e) {
122
122
  return e.children;
123
123
  }
124
- function Ve(e) {
124
+ function Ne(e) {
125
125
  return Array.isArray(e) ? e[1] : null;
126
126
  }
127
- function Ne(e) {
127
+ function Se(e) {
128
128
  e.data.value !== void 0 && (e.value = e.data.value), e.data = e.data.data;
129
129
  }
130
- function Kt(e) {
130
+ function Zt(e) {
131
131
  var t = 0;
132
132
  do
133
133
  e.height = t;
134
134
  while ((e = e.parent) && e.height < ++t);
135
135
  }
136
- function xt(e) {
136
+ function bt(e) {
137
137
  this.data = e, this.depth = this.height = 0, this.parent = null;
138
138
  }
139
- xt.prototype = Yt.prototype = {
140
- constructor: xt,
141
- count: he,
142
- each: pe,
143
- eachAfter: me,
144
- eachBefore: ge,
145
- find: ve,
146
- sum: ye,
147
- sort: we,
148
- path: xe,
149
- ancestors: Me,
150
- descendants: Oe,
151
- leaves: Ce,
152
- links: je,
153
- copy: ke,
154
- [Symbol.iterator]: De
139
+ bt.prototype = Ut.prototype = {
140
+ constructor: bt,
141
+ count: ge,
142
+ each: me,
143
+ eachAfter: ye,
144
+ eachBefore: ve,
145
+ find: we,
146
+ sum: xe,
147
+ sort: be,
148
+ path: Me,
149
+ ancestors: Ce,
150
+ descendants: je,
151
+ leaves: De,
152
+ links: ke,
153
+ copy: Ve,
154
+ [Symbol.iterator]: Ie
155
155
  };
156
- function At(e) {
157
- return e == null ? null : Ut(e);
156
+ function Lt(e) {
157
+ return e == null ? null : Jt(e);
158
158
  }
159
- function Ut(e) {
159
+ function Jt(e) {
160
160
  if (typeof e != "function") throw new Error();
161
161
  return e;
162
162
  }
163
- function yt() {
163
+ function wt() {
164
164
  return 0;
165
165
  }
166
- function wt(e) {
166
+ function xt(e) {
167
167
  return function() {
168
168
  return e;
169
169
  };
170
170
  }
171
- function Be(e) {
171
+ function $e(e) {
172
172
  e.x0 = Math.round(e.x0), e.y0 = Math.round(e.y0), e.x1 = Math.round(e.x1), e.y1 = Math.round(e.y1);
173
173
  }
174
- function Se(e, t, n, i, r) {
174
+ function Ae(e, t, n, i, r) {
175
175
  for (var l = e.children, a, d = -1, g = l.length, y = e.value && (i - t) / e.value; ++d < g; )
176
176
  a = l[d], a.y0 = n, a.y1 = r, a.x0 = t, a.x1 = t += a.value * y;
177
177
  }
178
- var $e = { depth: -1 }, qt = {}, Et = {};
179
- function Ae(e) {
178
+ var Ee = { depth: -1 }, Xt = {}, Tt = {};
179
+ function Le(e) {
180
180
  return e.id;
181
181
  }
182
- function Ee(e) {
182
+ function Te(e) {
183
183
  return e.parentId;
184
184
  }
185
- function Le() {
186
- var e = Ae, t = Ee, n;
185
+ function ze() {
186
+ var e = Le, t = Te, n;
187
187
  function i(r) {
188
188
  var l = Array.from(r), a = e, d = t, g, y, c, v, o, f, u, m, h = /* @__PURE__ */ new Map();
189
189
  if (n != null) {
190
- const p = l.map((O, x) => Te(n(O, x, r))), C = p.map(Ft), k = new Set(p).add("");
190
+ const p = l.map((O, x) => Re(n(O, x, r))), C = p.map(Yt), k = new Set(p).add("");
191
191
  for (const O of C)
192
- k.has(O) || (k.add(O), p.push(O), C.push(Ft(O)), l.push(Et));
192
+ k.has(O) || (k.add(O), p.push(O), C.push(Yt(O)), l.push(Tt));
193
193
  a = (O, x) => p[x], d = (O, x) => C[x];
194
194
  }
195
195
  for (c = 0, g = l.length; c < g; ++c)
196
- y = l[c], f = l[c] = new xt(y), (u = a(y, c, r)) != null && (u += "") && (m = f.id = u, h.set(m, h.has(m) ? qt : f)), (u = d(y, c, r)) != null && (u += "") && (f.parent = u);
196
+ y = l[c], f = l[c] = new bt(y), (u = a(y, c, r)) != null && (u += "") && (m = f.id = u, h.set(m, h.has(m) ? Xt : f)), (u = d(y, c, r)) != null && (u += "") && (f.parent = u);
197
197
  for (c = 0; c < g; ++c)
198
198
  if (f = l[c], u = f.parent) {
199
199
  if (o = h.get(u), !o) throw new Error("missing: " + u);
200
- if (o === qt) throw new Error("ambiguous: " + u);
200
+ if (o === Xt) throw new Error("ambiguous: " + u);
201
201
  o.children ? o.children.push(f) : o.children = [f], f.parent = o;
202
202
  } else {
203
203
  if (v) throw new Error("multiple roots");
@@ -205,36 +205,36 @@ function Le() {
205
205
  }
206
206
  if (!v) throw new Error("no root");
207
207
  if (n != null) {
208
- for (; v.data === Et && v.children.length === 1; )
208
+ for (; v.data === Tt && v.children.length === 1; )
209
209
  v = v.children[0], --g;
210
- for (let p = l.length - 1; p >= 0 && (f = l[p], f.data === Et); --p)
210
+ for (let p = l.length - 1; p >= 0 && (f = l[p], f.data === Tt); --p)
211
211
  f.data = null;
212
212
  }
213
- if (v.parent = $e, v.eachBefore(function(p) {
213
+ if (v.parent = Ee, v.eachBefore(function(p) {
214
214
  p.depth = p.parent.depth + 1, --g;
215
- }).eachBefore(Kt), v.parent = null, g > 0) throw new Error("cycle");
215
+ }).eachBefore(Zt), v.parent = null, g > 0) throw new Error("cycle");
216
216
  return v;
217
217
  }
218
218
  return i.id = function(r) {
219
- return arguments.length ? (e = At(r), i) : e;
219
+ return arguments.length ? (e = Lt(r), i) : e;
220
220
  }, i.parentId = function(r) {
221
- return arguments.length ? (t = At(r), i) : t;
221
+ return arguments.length ? (t = Lt(r), i) : t;
222
222
  }, i.path = function(r) {
223
- return arguments.length ? (n = At(r), i) : n;
223
+ return arguments.length ? (n = Lt(r), i) : n;
224
224
  }, i;
225
225
  }
226
- function Te(e) {
226
+ function Re(e) {
227
227
  e = `${e}`;
228
228
  let t = e.length;
229
- return Tt(e, t - 1) && !Tt(e, t - 2) && (e = e.slice(0, -1)), e[0] === "/" ? e : `/${e}`;
229
+ return Rt(e, t - 1) && !Rt(e, t - 2) && (e = e.slice(0, -1)), e[0] === "/" ? e : `/${e}`;
230
230
  }
231
- function Ft(e) {
231
+ function Yt(e) {
232
232
  let t = e.length;
233
233
  if (t < 2) return "";
234
- for (; --t > 1 && !Tt(e, t); ) ;
234
+ for (; --t > 1 && !Rt(e, t); ) ;
235
235
  return e.slice(0, t);
236
236
  }
237
- function Tt(e, t) {
237
+ function Rt(e, t) {
238
238
  if (e[t] === "/") {
239
239
  let n = 0;
240
240
  for (; t > 0 && e[--t] === "\\"; ) ++n;
@@ -242,12 +242,12 @@ function Tt(e, t) {
242
242
  }
243
243
  return !1;
244
244
  }
245
- function ze(e, t, n, i, r) {
245
+ function Pe(e, t, n, i, r) {
246
246
  for (var l = e.children, a, d = -1, g = l.length, y = e.value && (r - n) / e.value; ++d < g; )
247
247
  a = l[d], a.x0 = t, a.x1 = i, a.y0 = n, a.y1 = n += a.value * y;
248
248
  }
249
- var Re = (1 + Math.sqrt(5)) / 2;
250
- function Pe(e, t, n, i, r, l) {
249
+ var He = (1 + Math.sqrt(5)) / 2;
250
+ function Ge(e, t, n, i, r, l) {
251
251
  for (var a = [], d = t.children, g, y, c = 0, v = 0, o = d.length, f, u, m = t.value, h, p, C, k, O, x, j; c < o; ) {
252
252
  f = r - n, u = l - i;
253
253
  do
@@ -260,22 +260,22 @@ function Pe(e, t, n, i, r, l) {
260
260
  }
261
261
  O = k;
262
262
  }
263
- a.push(g = { value: h, dice: f < u, children: d.slice(c, v) }), g.dice ? Se(g, n, i, r, m ? i += u * h / m : l) : ze(g, n, i, m ? n += f * h / m : r, l), m -= h, c = v;
263
+ a.push(g = { value: h, dice: f < u, children: d.slice(c, v) }), g.dice ? Ae(g, n, i, r, m ? i += u * h / m : l) : Pe(g, n, i, m ? n += f * h / m : r, l), m -= h, c = v;
264
264
  }
265
265
  return a;
266
266
  }
267
- const He = (function e(t) {
267
+ const We = (function e(t) {
268
268
  function n(i, r, l, a, d) {
269
- Pe(t, i, r, l, a, d);
269
+ Ge(t, i, r, l, a, d);
270
270
  }
271
271
  return n.ratio = function(i) {
272
272
  return e((i = +i) > 1 ? i : 1);
273
273
  }, n;
274
- })(Re);
275
- function Ge() {
276
- var e = He, t = !1, n = 1, i = 1, r = [0], l = yt, a = yt, d = yt, g = yt, y = yt;
274
+ })(He);
275
+ function qe() {
276
+ var e = We, t = !1, n = 1, i = 1, r = [0], l = wt, a = wt, d = wt, g = wt, y = wt;
277
277
  function c(o) {
278
- return o.x0 = o.y0 = 0, o.x1 = n, o.y1 = i, o.eachBefore(v), r = [0], t && o.eachBefore(Be), o;
278
+ return o.x0 = o.y0 = 0, o.x1 = n, o.y1 = i, o.eachBefore(v), r = [0], t && o.eachBefore($e), o;
279
279
  }
280
280
  function v(o) {
281
281
  var f = r[o.depth], u = o.x0 + f, m = o.y0 + f, h = o.x1 - f, p = o.y1 - f;
@@ -286,25 +286,25 @@ function Ge() {
286
286
  }, c.size = function(o) {
287
287
  return arguments.length ? (n = +o[0], i = +o[1], c) : [n, i];
288
288
  }, c.tile = function(o) {
289
- return arguments.length ? (e = Ut(o), c) : e;
289
+ return arguments.length ? (e = Jt(o), c) : e;
290
290
  }, c.padding = function(o) {
291
291
  return arguments.length ? c.paddingInner(o).paddingOuter(o) : c.paddingInner();
292
292
  }, c.paddingInner = function(o) {
293
- return arguments.length ? (l = typeof o == "function" ? o : wt(+o), c) : l;
293
+ return arguments.length ? (l = typeof o == "function" ? o : xt(+o), c) : l;
294
294
  }, c.paddingOuter = function(o) {
295
295
  return arguments.length ? c.paddingTop(o).paddingRight(o).paddingBottom(o).paddingLeft(o) : c.paddingTop();
296
296
  }, c.paddingTop = function(o) {
297
- return arguments.length ? (a = typeof o == "function" ? o : wt(+o), c) : a;
297
+ return arguments.length ? (a = typeof o == "function" ? o : xt(+o), c) : a;
298
298
  }, c.paddingRight = function(o) {
299
- return arguments.length ? (d = typeof o == "function" ? o : wt(+o), c) : d;
299
+ return arguments.length ? (d = typeof o == "function" ? o : xt(+o), c) : d;
300
300
  }, c.paddingBottom = function(o) {
301
- return arguments.length ? (g = typeof o == "function" ? o : wt(+o), c) : g;
301
+ return arguments.length ? (g = typeof o == "function" ? o : xt(+o), c) : g;
302
302
  }, c.paddingLeft = function(o) {
303
- return arguments.length ? (y = typeof o == "function" ? o : wt(+o), c) : y;
303
+ return arguments.length ? (y = typeof o == "function" ? o : xt(+o), c) : y;
304
304
  }, c;
305
305
  }
306
- function We(e) {
307
- const t = Xt.c(73), {
306
+ function Fe(e) {
307
+ const t = Kt.c(74), {
308
308
  data: n,
309
309
  colors: i,
310
310
  leftMargin: r,
@@ -326,37 +326,38 @@ function We(e) {
326
326
  resetSelectionOnDoubleClick: O,
327
327
  detailsOnClick: x,
328
328
  language: j,
329
- styles: N,
329
+ styles: B,
330
330
  classNames: I,
331
331
  animate: D,
332
332
  dimmedOpacity: U,
333
- precision: Z
334
- } = e, ot = Lt(null);
335
- let et;
336
- t[0] !== D.amount || t[1] !== D.once ? (et = {
333
+ precision: Z,
334
+ locale: _
335
+ } = e, vt = zt(null);
336
+ let tt;
337
+ t[0] !== D.amount || t[1] !== D.once ? (tt = {
337
338
  once: D.once,
338
339
  amount: D.amount
339
- }, t[0] = D.amount, t[1] = D.once, t[2] = et) : et = t[2];
340
- const J = ie(ot, et), [nt, rt] = it(void 0), [L, at] = it(void 0), [Q, lt] = it(void 0), [_, M] = it(void 0);
341
- let w;
342
- t[3] !== c || t[4] !== r || t[5] !== g || t[6] !== y ? (w = {
340
+ }, t[0] = D.amount, t[1] = D.once, t[2] = tt) : tt = t[2];
341
+ const J = re(vt, tt), [et, lt] = at(void 0), [L, nt] = at(void 0), [it, ot] = at(void 0), [b, w] = at(void 0);
342
+ let rt;
343
+ t[3] !== c || t[4] !== r || t[5] !== g || t[6] !== y ? (rt = {
343
344
  top: y,
344
345
  bottom: c,
345
346
  left: r,
346
347
  right: g
347
- }, t[3] = c, t[4] = r, t[5] = g, t[6] = y, t[7] = w) : w = t[7];
348
- const V = w, st = l - V.left - V.right, ct = a - V.top - V.bottom;
348
+ }, t[3] = c, t[4] = r, t[5] = g, t[6] = y, t[7] = rt) : rt = t[7];
349
+ const V = rt, st = l - V.left - V.right, ct = a - V.top - V.bottom;
349
350
  let T, z, R, P, H, G, W, q, F;
350
- if (t[8] !== D.duration || t[9] !== I?.graphObjectValues || t[10] !== d || t[11] !== i || t[12] !== n || t[13] !== x || t[14] !== U || t[15] !== ct || t[16] !== st || t[17] !== a || t[18] !== C || t[19] !== J || t[20] !== j || t[21] !== V.left || t[22] !== V.top || t[23] !== L || t[24] !== k || t[25] !== f || t[26] !== Z || t[27] !== p || t[28] !== O || t[29] !== u || t[30] !== v || t[31] !== m || t[32] !== N?.graphObjectValues || t[33] !== h || t[34] !== l) {
351
- const vt = [{
351
+ if (t[8] !== D.duration || t[9] !== I?.graphObjectValues || t[10] !== d || t[11] !== i || t[12] !== n || t[13] !== x || t[14] !== U || t[15] !== ct || t[16] !== st || t[17] !== a || t[18] !== C || t[19] !== J || t[20] !== j || t[21] !== _ || t[22] !== V.left || t[23] !== V.top || t[24] !== L || t[25] !== k || t[26] !== f || t[27] !== Z || t[28] !== p || t[29] !== O || t[30] !== u || t[31] !== v || t[32] !== m || t[33] !== B?.graphObjectValues || t[34] !== h || t[35] !== l) {
352
+ const yt = [{
352
353
  id: "root",
353
354
  parent: void 0,
354
355
  value: void 0,
355
356
  data: void 0
356
- }, ...n.map(Qe)], ut = Le().id(Je).parentId(Ze)(vt);
357
- ut.sum(Ue);
358
- const E = Ge().size([st, ct]).padding(2)(ut);
359
- z = Dt.svg, H = `${l}px`, G = `${a}px`, W = `0 0 ${l} ${a}`, q = "ltr", F = ot, P = `translate(${V.left},${V.top})`, T = oe, R = E.children?.map((s) => /* @__PURE__ */ b.jsxs(Dt.g, { className: "undp-viz-g-with-hover", variants: {
357
+ }, ...n.map(tn)], ut = ze().id(_e).parentId(Qe)(yt);
358
+ ut.sum(Je);
359
+ const E = qe().size([st, ct]).padding(2)(ut);
360
+ z = kt.svg, H = `${l}px`, G = `${a}px`, W = `0 0 ${l} ${a}`, q = "ltr", F = vt, P = `translate(${V.left},${V.top})`, T = ae, R = E.children?.map((s) => /* @__PURE__ */ M.jsxs(kt.g, { className: "undp-viz-g-with-hover", variants: {
360
361
  initial: {
361
362
  opacity: 0,
362
363
  x: s.x0,
@@ -376,15 +377,15 @@ function We(e) {
376
377
  duration: D.duration
377
378
  }
378
379
  }, onMouseEnter: (K) => {
379
- rt(s.data.data), M(K.clientY), lt(K.clientX), f?.(s.data.data);
380
+ lt(s.data.data), w(K.clientY), ot(K.clientX), f?.(s.data.data);
380
381
  }, onClick: () => {
381
- (k || x) && (L === s.data.id && O ? (at(void 0), k?.(void 0)) : (at(s.data.id), k?.(s.data.data)));
382
+ (k || x) && (L === s.data.id && O ? (nt(void 0), k?.(void 0)) : (nt(s.data.id), k?.(s.data.data)));
382
383
  }, onMouseMove: (K) => {
383
- rt(s.data.data), M(K.clientY), lt(K.clientX);
384
+ lt(s.data.data), w(K.clientY), ot(K.clientX);
384
385
  }, onMouseLeave: () => {
385
- rt(void 0), lt(void 0), M(void 0), f?.(void 0);
386
+ lt(void 0), ot(void 0), w(void 0), f?.(void 0);
386
387
  }, children: [
387
- /* @__PURE__ */ b.jsx(Dt.rect, { x: 0, y: 0, exit: {
388
+ /* @__PURE__ */ M.jsx(kt.rect, { x: 0, y: 0, exit: {
388
389
  width: 0,
389
390
  height: 0,
390
391
  opacity: 0,
@@ -395,18 +396,18 @@ function We(e) {
395
396
  initial: {
396
397
  width: 0,
397
398
  height: 0,
398
- fill: n.filter(Ke).length === 0 ? i[0] : s.data.data.color ? i[d.indexOf(s.data.data.color)] : tt.gray
399
+ fill: n.filter(Ze).length === 0 ? i[0] : s.data.data.color ? i[d.indexOf(s.data.data.color)] : Q.gray
399
400
  },
400
401
  whileInView: {
401
402
  width: s.x1 - s.x0,
402
403
  height: s.y1 - s.y0,
403
- fill: n.filter(Ye).length === 0 ? i[0] : s.data.data.color ? i[d.indexOf(s.data.data.color)] : tt.gray,
404
+ fill: n.filter(Ue).length === 0 ? i[0] : s.data.data.color ? i[d.indexOf(s.data.data.color)] : Q.gray,
404
405
  transition: {
405
406
  duration: D.duration
406
407
  }
407
408
  }
408
409
  }, initial: "initial", animate: J ? "whileInView" : "initial" }),
409
- s.x1 - s.x0 > 50 && s.y1 - s.y0 > 25 && (v || m) ? /* @__PURE__ */ b.jsx(Dt.g, { variants: {
410
+ s.x1 - s.x0 > 50 && s.y1 - s.y0 > 25 && (v || m) ? /* @__PURE__ */ M.jsx(kt.g, { variants: {
410
411
  initial: {
411
412
  opacity: 0
412
413
  },
@@ -421,47 +422,41 @@ function We(e) {
421
422
  transition: {
422
423
  duration: D.duration
423
424
  }
424
- }, children: /* @__PURE__ */ b.jsx("foreignObject", { y: 0, x: 0, width: s.x1 - s.x0, height: s.y1 - s.y0, children: /* @__PURE__ */ b.jsxs("div", { className: "flex flex-col gap-0.5 p-2 w-full", style: {
425
- color: $t(n.filter(Xe).length === 0 ? i[0] : s.data.data.color ? i[d.indexOf(s.data.data.color)] : tt.gray)
425
+ }, children: /* @__PURE__ */ M.jsx("foreignObject", { y: 0, x: 0, width: s.x1 - s.x0, height: s.y1 - s.y0, children: /* @__PURE__ */ M.jsxs("div", { className: "flex flex-col gap-0.5 p-2 w-full", style: {
426
+ color: Et(n.filter(Ke).length === 0 ? i[0] : s.data.data.color ? i[d.indexOf(s.data.data.color)] : Q.gray)
426
427
  }, children: [
427
- v ? /* @__PURE__ */ b.jsx(Gt, { marginBottom: "none", size: "sm", leading: "none", className: Ht("w-full treemap-label", j === "ar" || j === "he" ? "text-right" : "text-left", I?.graphObjectValues), style: {
428
+ v ? /* @__PURE__ */ M.jsx(qt, { marginBottom: "none", size: "sm", leading: "none", className: Wt("w-full treemap-label", j === "ar" || j === "he" ? "text-right" : "text-left", I?.graphObjectValues), style: {
428
429
  WebkitLineClamp: s.y1 - s.y0 > 50 ? s.y1 - s.y0 > 100 ? s.y1 - s.y0 > 150 ? void 0 : 3 : 2 : 1,
429
430
  display: "-webkit-box",
430
431
  WebkitBoxOrient: "vertical",
431
432
  overflow: "hidden",
432
- color: $t(n.filter(Fe).length === 0 ? i[0] : s.data.data.color ? i[d.indexOf(s.data.data.color)] : tt.gray),
433
- ...N?.graphObjectValues || {}
433
+ color: Et(n.filter(Ye).length === 0 ? i[0] : s.data.data.color ? i[d.indexOf(s.data.data.color)] : Q.gray),
434
+ ...B?.graphObjectValues || {}
434
435
  }, children: s.data.id }) : null,
435
- m ? /* @__PURE__ */ b.jsx(Gt, { marginBottom: "none", size: "sm", leading: "none", className: Ht("w-full font-bold treemap-value", j === "ar" || j === "he" ? "text-right" : "text-left", I?.graphObjectValues), style: {
436
- color: $t(n.filter(qe).length === 0 ? i[0] : s.data.data.color ? i[d.indexOf(s.data.data.color)] : tt.gray),
437
- ...N?.graphObjectValues || {}
438
- }, children: ee(s.data.value, "NA", Z, p, h) }) : null
436
+ m ? /* @__PURE__ */ M.jsx(qt, { marginBottom: "none", size: "sm", leading: "none", className: Wt("w-full font-bold treemap-value", j === "ar" || j === "he" ? "text-right" : "text-left", I?.graphObjectValues), style: {
437
+ color: Et(n.filter(Xe).length === 0 ? i[0] : s.data.data.color ? i[d.indexOf(s.data.data.color)] : Q.gray),
438
+ ...B?.graphObjectValues || {}
439
+ }, children: ie(s.data.value, void 0, Z, p, h, _) }) : null
439
440
  ] }) }) }) : null
440
- ] }, s.data.id)), t[8] = D.duration, t[9] = I?.graphObjectValues, t[10] = d, t[11] = i, t[12] = n, t[13] = x, t[14] = U, t[15] = ct, t[16] = st, t[17] = a, t[18] = C, t[19] = J, t[20] = j, t[21] = V.left, t[22] = V.top, t[23] = L, t[24] = k, t[25] = f, t[26] = Z, t[27] = p, t[28] = O, t[29] = u, t[30] = v, t[31] = m, t[32] = N?.graphObjectValues, t[33] = h, t[34] = l, t[35] = T, t[36] = z, t[37] = R, t[38] = P, t[39] = H, t[40] = G, t[41] = W, t[42] = q, t[43] = F;
441
+ ] }, s.data.id)), t[8] = D.duration, t[9] = I?.graphObjectValues, t[10] = d, t[11] = i, t[12] = n, t[13] = x, t[14] = U, t[15] = ct, t[16] = st, t[17] = a, t[18] = C, t[19] = J, t[20] = j, t[21] = _, t[22] = V.left, t[23] = V.top, t[24] = L, t[25] = k, t[26] = f, t[27] = Z, t[28] = p, t[29] = O, t[30] = u, t[31] = v, t[32] = m, t[33] = B?.graphObjectValues, t[34] = h, t[35] = l, t[36] = T, t[37] = z, t[38] = R, t[39] = P, t[40] = H, t[41] = G, t[42] = W, t[43] = q, t[44] = F;
441
442
  } else
442
- T = t[35], z = t[36], R = t[37], P = t[38], H = t[39], G = t[40], W = t[41], q = t[42], F = t[43];
443
+ T = t[36], z = t[37], R = t[38], P = t[39], H = t[40], G = t[41], W = t[42], q = t[43], F = t[44];
443
444
  let X;
444
- t[44] !== T || t[45] !== R ? (X = /* @__PURE__ */ b.jsx(T, { children: R }), t[44] = T, t[45] = R, t[46] = X) : X = t[46];
445
- let B;
446
- t[47] !== P || t[48] !== X ? (B = /* @__PURE__ */ b.jsx("g", { transform: P, children: X }), t[47] = P, t[48] = X, t[49] = B) : B = t[49];
445
+ t[45] !== T || t[46] !== R ? (X = /* @__PURE__ */ M.jsx(T, { children: R }), t[45] = T, t[46] = R, t[47] = X) : X = t[47];
446
+ let N;
447
+ t[48] !== P || t[49] !== X ? (N = /* @__PURE__ */ M.jsx("g", { transform: P, children: X }), t[48] = P, t[49] = X, t[50] = N) : N = t[50];
447
448
  let Y;
448
- t[50] !== z || t[51] !== B || t[52] !== H || t[53] !== G || t[54] !== W || t[55] !== q || t[56] !== F ? (Y = /* @__PURE__ */ b.jsx(z, { width: H, height: G, viewBox: W, direction: q, ref: F, children: B }), t[50] = z, t[51] = B, t[52] = H, t[53] = G, t[54] = W, t[55] = q, t[56] = F, t[57] = Y) : Y = t[57];
449
+ t[51] !== z || t[52] !== N || t[53] !== H || t[54] !== G || t[55] !== W || t[56] !== q || t[57] !== F ? (Y = /* @__PURE__ */ M.jsx(z, { width: H, height: G, viewBox: W, direction: q, ref: F, children: N }), t[51] = z, t[52] = N, t[53] = H, t[54] = G, t[55] = W, t[56] = q, t[57] = F, t[58] = Y) : Y = t[58];
449
450
  let S;
450
- t[58] !== I?.tooltip || t[59] !== Q || t[60] !== _ || t[61] !== nt || t[62] !== N?.tooltip || t[63] !== o ? (S = nt && o && Q && _ ? /* @__PURE__ */ b.jsx(te, { data: nt, body: o, xPos: Q, yPos: _, backgroundStyle: N?.tooltip, className: I?.tooltip }) : null, t[58] = I?.tooltip, t[59] = Q, t[60] = _, t[61] = nt, t[62] = N?.tooltip, t[63] = o, t[64] = S) : S = t[64];
451
+ t[59] !== I?.tooltip || t[60] !== it || t[61] !== b || t[62] !== et || t[63] !== B?.tooltip || t[64] !== o ? (S = et && o && it && b ? /* @__PURE__ */ M.jsx(ne, { data: et, body: o, xPos: it, yPos: b, backgroundStyle: B?.tooltip, className: I?.tooltip }) : null, t[59] = I?.tooltip, t[60] = it, t[61] = b, t[62] = et, t[63] = B?.tooltip, t[64] = o, t[65] = S) : S = t[65];
451
452
  let $;
452
- t[65] !== I?.modal || t[66] !== x || t[67] !== L ? ($ = x && L !== void 0 ? /* @__PURE__ */ b.jsx(ne, { body: x, data: L, setData: at, className: I?.modal }) : null, t[65] = I?.modal, t[66] = x, t[67] = L, t[68] = $) : $ = t[68];
453
+ t[66] !== I?.modal || t[67] !== x || t[68] !== L ? ($ = x && L !== void 0 ? /* @__PURE__ */ M.jsx(oe, { body: x, data: L, setData: nt, className: I?.modal }) : null, t[66] = I?.modal, t[67] = x, t[68] = L, t[69] = $) : $ = t[69];
453
454
  let A;
454
- return t[69] !== Y || t[70] !== S || t[71] !== $ ? (A = /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
455
+ return t[70] !== Y || t[71] !== S || t[72] !== $ ? (A = /* @__PURE__ */ M.jsxs(M.Fragment, { children: [
455
456
  Y,
456
457
  S,
457
458
  $
458
- ] }), t[69] = Y, t[70] = S, t[71] = $, t[72] = A) : A = t[72], A;
459
- }
460
- function qe(e) {
461
- return e.color;
462
- }
463
- function Fe(e) {
464
- return e.color;
459
+ ] }), t[70] = Y, t[71] = S, t[72] = $, t[73] = A) : A = t[73], A;
465
460
  }
466
461
  function Xe(e) {
467
462
  return e.color;
@@ -473,15 +468,21 @@ function Ke(e) {
473
468
  return e.color;
474
469
  }
475
470
  function Ue(e) {
476
- return e.value;
471
+ return e.color;
477
472
  }
478
473
  function Ze(e) {
479
- return e.parent;
474
+ return e.color;
480
475
  }
481
476
  function Je(e) {
482
- return e.id;
477
+ return e.value;
483
478
  }
484
479
  function Qe(e) {
480
+ return e.parent;
481
+ }
482
+ function _e(e) {
483
+ return e.id;
484
+ }
485
+ function tn(e) {
485
486
  return {
486
487
  id: e.label,
487
488
  value: e.size,
@@ -489,8 +490,8 @@ function Qe(e) {
489
490
  data: e
490
491
  };
491
492
  }
492
- function kn(e) {
493
- const t = Xt.c(83), {
493
+ function Vn(e) {
494
+ const t = Kt.c(84), {
494
495
  data: n,
495
496
  graphTitle: i,
496
497
  colors: r,
@@ -512,52 +513,53 @@ function kn(e) {
512
513
  showLabels: O,
513
514
  relativeHeight: x,
514
515
  tooltip: j,
515
- onSeriesMouseOver: N,
516
+ onSeriesMouseOver: B,
516
517
  showColorScale: I,
517
518
  showValues: D,
518
519
  graphID: U,
519
520
  highlightedDataPoints: Z,
520
- onSeriesMouseClick: ot,
521
- graphDownload: et,
522
- dataDownload: J,
523
- language: nt,
524
- showNAColor: rt,
525
- minHeight: L,
526
- theme: at,
527
- ariaLabel: Q,
528
- resetSelectionOnDoubleClick: lt,
529
- detailsOnClick: _,
530
- styles: M,
521
+ onSeriesMouseClick: _,
522
+ graphDownload: vt,
523
+ dataDownload: tt,
524
+ language: J,
525
+ showNAColor: et,
526
+ minHeight: lt,
527
+ theme: L,
528
+ ariaLabel: nt,
529
+ resetSelectionOnDoubleClick: it,
530
+ detailsOnClick: ot,
531
+ styles: b,
531
532
  classNames: w,
532
- animate: V,
533
- dimmedOpacity: st,
534
- precision: ct
533
+ animate: rt,
534
+ dimmedOpacity: V,
535
+ precision: st,
536
+ locale: ct
535
537
  } = e, T = l === void 0 ? "" : l, z = d === void 0 ? "" : d, R = y === void 0 ? 0 : y, P = c === void 0 ? 0 : c, H = v === void 0 ? 0 : v, G = o === void 0 ? 0 : o, W = k === void 0 ? !1 : k, q = O === void 0 ? !0 : O, F = I === void 0 ? !0 : I, X = D === void 0 ? !0 : D;
536
- let B;
537
- t[0] !== Z ? (B = Z === void 0 ? [] : Z, t[0] = Z, t[1] = B) : B = t[1];
538
- const Y = B, S = et === void 0 ? !1 : et, $ = J === void 0 ? !1 : J, A = nt === void 0 ? "en" : nt, vt = rt === void 0 ? !0 : rt, ut = L === void 0 ? 0 : L, E = at === void 0 ? "light" : at, s = lt === void 0 ? !0 : lt, K = V === void 0 ? !1 : V, kt = st === void 0 ? 0.3 : st, It = ct === void 0 ? 2 : ct, [bt, Zt] = it(0), [Mt, Jt] = it(0), [Vt, Qt] = it(void 0), Nt = Lt(null), zt = Lt(null);
539
- let Ot, Ct;
540
- t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ot = () => {
541
- const Rt = new ResizeObserver((Pt) => {
542
- Zt(Pt[0].target.clientWidth || 620), Jt(Pt[0].target.clientHeight || 480);
538
+ let N;
539
+ t[0] !== Z ? (N = Z === void 0 ? [] : Z, t[0] = Z, t[1] = N) : N = t[1];
540
+ const Y = N, S = vt === void 0 ? !1 : vt, $ = tt === void 0 ? !1 : tt, A = J === void 0 ? "en" : J, yt = et === void 0 ? !0 : et, ut = lt === void 0 ? 0 : lt, E = L === void 0 ? "light" : L, s = it === void 0 ? !0 : it, K = rt === void 0 ? !1 : rt, It = V === void 0 ? 0.3 : V, Vt = st === void 0 ? 2 : st, Bt = ct === void 0 ? "en" : ct, [Mt, Qt] = at(0), [Ot, _t] = at(0), [Nt, te] = at(void 0), St = zt(null), Pt = zt(null);
541
+ let Ct, jt;
542
+ t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ct = () => {
543
+ const Ht = new ResizeObserver((Gt) => {
544
+ Qt(Gt[0].target.clientWidth || 620), _t(Gt[0].target.clientHeight || 480);
543
545
  });
544
- return Nt.current && Rt.observe(Nt.current), () => Rt.disconnect();
545
- }, Ct = [], t[2] = Ot, t[3] = Ct) : (Ot = t[2], Ct = t[3]), _t(Ot, Ct);
546
- const Bt = w?.graphContainer, St = M?.graphContainer;
546
+ return St.current && Ht.observe(St.current), () => Ht.disconnect();
547
+ }, jt = [], t[2] = Ct, t[3] = jt) : (Ct = t[2], jt = t[3]), ee(Ct, jt);
548
+ const $t = w?.graphContainer, At = b?.graphContainer;
547
549
  let dt;
548
- t[4] !== w?.description || t[5] !== w?.title || t[6] !== n || t[7] !== $ || t[8] !== g || t[9] !== S || t[10] !== i || t[11] !== M?.description || t[12] !== M?.title || t[13] !== u ? (dt = i || g || S || $ ? /* @__PURE__ */ b.jsx(le, { styles: {
549
- title: M?.title,
550
- description: M?.description
550
+ t[4] !== w?.description || t[5] !== w?.title || t[6] !== n || t[7] !== $ || t[8] !== g || t[9] !== S || t[10] !== i || t[11] !== b?.description || t[12] !== b?.title || t[13] !== u ? (dt = i || g || S || $ ? /* @__PURE__ */ M.jsx(ce, { styles: {
551
+ title: b?.title,
552
+ description: b?.description
551
553
  }, classNames: {
552
554
  title: w?.title,
553
555
  description: w?.description
554
- }, graphTitle: i, graphDescription: g, width: u, graphDownload: S ? zt : void 0, dataDownload: $ ? n.map(sn).filter(ln).length > 0 ? n.map(an).filter(rn) : n.filter(on) : null }) : null, t[4] = w?.description, t[5] = w?.title, t[6] = n, t[7] = $, t[8] = g, t[9] = S, t[10] = i, t[11] = M?.description, t[12] = M?.title, t[13] = u, t[14] = dt) : dt = t[14];
556
+ }, graphTitle: i, graphDescription: g, width: u, graphDownload: S ? Pt : void 0, dataDownload: $ ? n.map(un).filter(cn).length > 0 ? n.map(sn).filter(ln) : n.filter(an) : null }) : null, t[4] = w?.description, t[5] = w?.title, t[6] = n, t[7] = $, t[8] = g, t[9] = S, t[10] = i, t[11] = b?.description, t[12] = b?.title, t[13] = u, t[14] = dt) : dt = t[14];
555
557
  let ft;
556
- t[15] !== w?.colorLegend || t[16] !== h || t[17] !== p || t[18] !== r || t[19] !== n || t[20] !== F || t[21] !== vt || t[22] !== E || t[23] !== u ? (ft = F && n.filter(nn).length !== 0 && n.length > 0 ? /* @__PURE__ */ b.jsx(se, { width: u, colorLegendTitle: p, colors: r || tt[E].categoricalColors.colors, colorDomain: h || Wt(n, "color", !0), setSelectedColor: Qt, showNAColor: vt, className: w?.colorLegend }) : null, t[15] = w?.colorLegend, t[16] = h, t[17] = p, t[18] = r, t[19] = n, t[20] = F, t[21] = vt, t[22] = E, t[23] = u, t[24] = ft) : ft = t[24];
558
+ t[15] !== w?.colorLegend || t[16] !== h || t[17] !== p || t[18] !== r || t[19] !== n || t[20] !== F || t[21] !== yt || t[22] !== E || t[23] !== u ? (ft = F && n.filter(rn).length !== 0 && n.length > 0 ? /* @__PURE__ */ M.jsx(ue, { width: u, colorLegendTitle: p, colors: r || Q[E].categoricalColors.colors, colorDomain: h || Ft(n, "color", !0), setSelectedColor: te, showNAColor: yt, className: w?.colorLegend }) : null, t[15] = w?.colorLegend, t[16] = h, t[17] = p, t[18] = r, t[19] = n, t[20] = F, t[21] = yt, t[22] = E, t[23] = u, t[24] = ft) : ft = t[24];
557
559
  let ht;
558
- t[25] !== n.length ? (ht = n.length === 0 && /* @__PURE__ */ b.jsx(ce, {}), t[25] = n.length, t[26] = ht) : ht = t[26];
560
+ t[25] !== n.length ? (ht = n.length === 0 && /* @__PURE__ */ M.jsx(de, {}), t[25] = n.length, t[26] = ht) : ht = t[26];
559
561
  let pt;
560
- t[27] !== K || t[28] !== G || t[29] !== w || t[30] !== h || t[31] !== r || t[32] !== n || t[33] !== _ || t[34] !== kt || t[35] !== Y || t[36] !== A || t[37] !== R || t[38] !== ot || t[39] !== N || t[40] !== It || t[41] !== z || t[42] !== s || t[43] !== P || t[44] !== Vt || t[45] !== q || t[46] !== X || t[47] !== M || t[48] !== T || t[49] !== Mt || t[50] !== bt || t[51] !== E || t[52] !== j || t[53] !== H ? (pt = bt && Mt && n.length > 0 ? /* @__PURE__ */ b.jsx(We, { data: n.filter(en), colors: n.filter(tn).length === 0 ? r ? [r] : [tt.primaryColors["blue-600"]] : r || tt[E].categoricalColors.colors, colorDomain: n.filter(_e).length === 0 ? [] : h || Wt(n, "color", !0), width: bt, height: Mt, leftMargin: R, rightMargin: P, topMargin: H, bottomMargin: G, showLabels: q, showValues: X, suffix: T, prefix: z, selectedColor: Vt, tooltip: j, onSeriesMouseOver: N, onSeriesMouseClick: ot, highlightedDataPoints: Y, resetSelectionOnDoubleClick: s, detailsOnClick: _, styles: M, classNames: w, language: A, animate: K === !0 ? {
562
+ t[27] !== K || t[28] !== G || t[29] !== w || t[30] !== h || t[31] !== r || t[32] !== n || t[33] !== ot || t[34] !== It || t[35] !== Y || t[36] !== A || t[37] !== R || t[38] !== Bt || t[39] !== _ || t[40] !== B || t[41] !== Vt || t[42] !== z || t[43] !== s || t[44] !== P || t[45] !== Nt || t[46] !== q || t[47] !== X || t[48] !== b || t[49] !== T || t[50] !== Ot || t[51] !== Mt || t[52] !== E || t[53] !== j || t[54] !== H ? (pt = Mt && Ot && n.length > 0 ? /* @__PURE__ */ M.jsx(Fe, { data: n.filter(on), colors: n.filter(nn).length === 0 ? r ? [r] : [Q.primaryColors["blue-600"]] : r || Q[E].categoricalColors.colors, colorDomain: n.filter(en).length === 0 ? [] : h || Ft(n, "color", !0), width: Mt, height: Ot, leftMargin: R, rightMargin: P, topMargin: H, bottomMargin: G, showLabels: q, showValues: X, suffix: T, prefix: z, selectedColor: Nt, tooltip: j, onSeriesMouseOver: B, onSeriesMouseClick: _, highlightedDataPoints: Y, resetSelectionOnDoubleClick: s, detailsOnClick: ot, styles: b, classNames: w, language: A, animate: K === !0 ? {
561
563
  duration: 0.5,
562
564
  once: !0,
563
565
  amount: 0.5
@@ -565,48 +567,42 @@ function kn(e) {
565
567
  duration: 0,
566
568
  once: !0,
567
569
  amount: 0
568
- }, dimmedOpacity: kt, precision: It }) : null, t[27] = K, t[28] = G, t[29] = w, t[30] = h, t[31] = r, t[32] = n, t[33] = _, t[34] = kt, t[35] = Y, t[36] = A, t[37] = R, t[38] = ot, t[39] = N, t[40] = It, t[41] = z, t[42] = s, t[43] = P, t[44] = Vt, t[45] = q, t[46] = X, t[47] = M, t[48] = T, t[49] = Mt, t[50] = bt, t[51] = E, t[52] = j, t[53] = H, t[54] = pt) : pt = t[54];
570
+ }, dimmedOpacity: It, precision: Vt, locale: Bt }) : null, t[27] = K, t[28] = G, t[29] = w, t[30] = h, t[31] = r, t[32] = n, t[33] = ot, t[34] = It, t[35] = Y, t[36] = A, t[37] = R, t[38] = Bt, t[39] = _, t[40] = B, t[41] = Vt, t[42] = z, t[43] = s, t[44] = P, t[45] = Nt, t[46] = q, t[47] = X, t[48] = b, t[49] = T, t[50] = Ot, t[51] = Mt, t[52] = E, t[53] = j, t[54] = H, t[55] = pt) : pt = t[55];
569
571
  let gt;
570
- t[55] !== ht || t[56] !== pt ? (gt = /* @__PURE__ */ b.jsxs(ue, { ref: Nt, children: [
572
+ t[56] !== ht || t[57] !== pt ? (gt = /* @__PURE__ */ M.jsxs(fe, { ref: St, children: [
571
573
  ht,
572
574
  pt
573
- ] }), t[55] = ht, t[56] = pt, t[57] = gt) : gt = t[57];
575
+ ] }), t[56] = ht, t[57] = pt, t[58] = gt) : gt = t[58];
574
576
  let mt;
575
- t[58] !== w?.footnote || t[59] !== w?.source || t[60] !== m || t[61] !== a || t[62] !== M?.footnote || t[63] !== M?.source || t[64] !== u ? (mt = a || m ? /* @__PURE__ */ b.jsx(ae, { styles: {
576
- footnote: M?.footnote,
577
- source: M?.source
577
+ t[59] !== w?.footnote || t[60] !== w?.source || t[61] !== m || t[62] !== a || t[63] !== b?.footnote || t[64] !== b?.source || t[65] !== u ? (mt = a || m ? /* @__PURE__ */ M.jsx(se, { styles: {
578
+ footnote: b?.footnote,
579
+ source: b?.source
578
580
  }, classNames: {
579
581
  footnote: w?.footnote,
580
582
  source: w?.source
581
- }, sources: a, footNote: m, width: u }) : null, t[58] = w?.footnote, t[59] = w?.source, t[60] = m, t[61] = a, t[62] = M?.footnote, t[63] = M?.source, t[64] = u, t[65] = mt) : mt = t[65];
582
- let jt;
583
- return t[66] !== Q || t[67] !== W || t[68] !== U || t[69] !== f || t[70] !== A || t[71] !== ut || t[72] !== C || t[73] !== x || t[74] !== Bt || t[75] !== St || t[76] !== dt || t[77] !== ft || t[78] !== gt || t[79] !== mt || t[80] !== E || t[81] !== u ? (jt = /* @__PURE__ */ b.jsxs(de, { className: Bt, style: St, id: U, ref: zt, "aria-label": Q, backgroundColor: W, theme: E, language: A, minHeight: ut, width: u, height: f, relativeHeight: x, padding: C, children: [
583
+ }, sources: a, footNote: m, width: u }) : null, t[59] = w?.footnote, t[60] = w?.source, t[61] = m, t[62] = a, t[63] = b?.footnote, t[64] = b?.source, t[65] = u, t[66] = mt) : mt = t[66];
584
+ let Dt;
585
+ return t[67] !== nt || t[68] !== W || t[69] !== U || t[70] !== f || t[71] !== A || t[72] !== ut || t[73] !== C || t[74] !== x || t[75] !== $t || t[76] !== At || t[77] !== dt || t[78] !== ft || t[79] !== gt || t[80] !== mt || t[81] !== E || t[82] !== u ? (Dt = /* @__PURE__ */ M.jsxs(he, { className: $t, style: At, id: U, ref: Pt, "aria-label": nt, backgroundColor: W, theme: E, language: A, minHeight: ut, width: u, height: f, relativeHeight: x, padding: C, children: [
584
586
  dt,
585
587
  ft,
586
588
  gt,
587
589
  mt
588
- ] }), t[66] = Q, t[67] = W, t[68] = U, t[69] = f, t[70] = A, t[71] = ut, t[72] = C, t[73] = x, t[74] = Bt, t[75] = St, t[76] = dt, t[77] = ft, t[78] = gt, t[79] = mt, t[80] = E, t[81] = u, t[82] = jt) : jt = t[82], jt;
589
- }
590
- function _e(e) {
591
- return e.color;
592
- }
593
- function tn(e) {
594
- return e.color;
590
+ ] }), t[67] = nt, t[68] = W, t[69] = U, t[70] = f, t[71] = A, t[72] = ut, t[73] = C, t[74] = x, t[75] = $t, t[76] = At, t[77] = dt, t[78] = ft, t[79] = gt, t[80] = mt, t[81] = E, t[82] = u, t[83] = Dt) : Dt = t[83], Dt;
595
591
  }
596
592
  function en(e) {
597
- return !re(e.size);
593
+ return e.color;
598
594
  }
599
595
  function nn(e) {
600
596
  return e.color;
601
597
  }
602
598
  function on(e) {
603
- return e !== void 0;
599
+ return !le(e.size);
604
600
  }
605
601
  function rn(e) {
606
- return e !== void 0;
602
+ return e.color;
607
603
  }
608
604
  function an(e) {
609
- return e.data;
605
+ return e !== void 0;
610
606
  }
611
607
  function ln(e) {
612
608
  return e !== void 0;
@@ -614,7 +610,13 @@ function ln(e) {
614
610
  function sn(e) {
615
611
  return e.data;
616
612
  }
613
+ function cn(e) {
614
+ return e !== void 0;
615
+ }
616
+ function un(e) {
617
+ return e.data;
618
+ }
617
619
  export {
618
- kn as TreeMapGraph
620
+ Vn as TreeMapGraph
619
621
  };
620
622
  //# sourceMappingURL=TreeMapGraph.js.map