@undp/data-viz 2.3.17 → 2.3.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (438) hide show
  1. package/dist/AreaChart.cjs +1 -1
  2. package/dist/AreaChart.cjs.map +1 -1
  3. package/dist/AreaChart.d.ts +2 -0
  4. package/dist/AreaChart.js +356 -354
  5. package/dist/AreaChart.js.map +1 -1
  6. package/dist/{Axis-Jt_tmhxS.cjs → Axis-BTaS9oPQ.cjs} +2 -2
  7. package/dist/{Axis-Jt_tmhxS.cjs.map → Axis-BTaS9oPQ.cjs.map} +1 -1
  8. package/dist/{Axis-RyGdzLrG.js → Axis-CNZYWzH0.js} +2 -2
  9. package/dist/{Axis-RyGdzLrG.js.map → Axis-CNZYWzH0.js.map} +1 -1
  10. package/dist/{AxisTitle-DGjX1_2v.js → AxisTitle-CyLCqpW6.js} +2 -2
  11. package/dist/{AxisTitle-DGjX1_2v.js.map → AxisTitle-CyLCqpW6.js.map} +1 -1
  12. package/dist/{AxisTitle-DV4n0RxE.cjs → AxisTitle-DP_evhbe.cjs} +2 -2
  13. package/dist/{AxisTitle-DV4n0RxE.cjs.map → AxisTitle-DP_evhbe.cjs.map} +1 -1
  14. package/dist/BarGraph.cjs +1 -1
  15. package/dist/BarGraph.cjs.map +1 -1
  16. package/dist/BarGraph.d.ts +6 -0
  17. package/dist/BarGraph.js +1687 -1675
  18. package/dist/BarGraph.js.map +1 -1
  19. package/dist/BasicStatCard.cjs +1 -1
  20. package/dist/BasicStatCard.cjs.map +1 -1
  21. package/dist/BasicStatCard.d.ts +2 -0
  22. package/dist/BasicStatCard.js +46 -45
  23. package/dist/BasicStatCard.js.map +1 -1
  24. package/dist/BeeSwarmChart.cjs +1 -1
  25. package/dist/BeeSwarmChart.cjs.map +1 -1
  26. package/dist/BeeSwarmChart.d.ts +2 -0
  27. package/dist/BeeSwarmChart.js +268 -265
  28. package/dist/BeeSwarmChart.js.map +1 -1
  29. package/dist/BiVariateChoroplethMap.cjs +1 -1
  30. package/dist/BiVariateChoroplethMap.cjs.map +1 -1
  31. package/dist/BiVariateChoroplethMap.d.ts +2 -0
  32. package/dist/BiVariateChoroplethMap.js +300 -298
  33. package/dist/BiVariateChoroplethMap.js.map +1 -1
  34. package/dist/BulletChart.cjs +1 -1
  35. package/dist/BulletChart.cjs.map +1 -1
  36. package/dist/BulletChart.d.ts +2 -0
  37. package/dist/BulletChart.js +526 -523
  38. package/dist/BulletChart.js.map +1 -1
  39. package/dist/ButterflyChart.cjs +1 -1
  40. package/dist/ButterflyChart.cjs.map +1 -1
  41. package/dist/ButterflyChart.d.ts +2 -0
  42. package/dist/ButterflyChart.js +330 -328
  43. package/dist/ButterflyChart.js.map +1 -1
  44. package/dist/ChoroplethMap.cjs +1 -1
  45. package/dist/ChoroplethMap.cjs.map +1 -1
  46. package/dist/ChoroplethMap.d.ts +2 -0
  47. package/dist/ChoroplethMap.js +303 -301
  48. package/dist/ChoroplethMap.js.map +1 -1
  49. package/dist/CirclePackingGraph.cjs +1 -1
  50. package/dist/CirclePackingGraph.d.ts +2 -0
  51. package/dist/CirclePackingGraph.js +4 -4
  52. package/dist/ColorLegend.cjs +1 -1
  53. package/dist/ColorLegend.js +2 -2
  54. package/dist/ColorLegendWithMouseOver.cjs +1 -1
  55. package/dist/ColorLegendWithMouseOver.js +2 -2
  56. package/dist/CopyTextButton.cjs +1 -1
  57. package/dist/CopyTextButton.cjs.map +1 -1
  58. package/dist/CopyTextButton.js +7 -9
  59. package/dist/CopyTextButton.js.map +1 -1
  60. package/dist/CsvDownloadButton.cjs +1 -1
  61. package/dist/CsvDownloadButton.js +2 -2
  62. package/dist/DataCards.cjs +1 -1
  63. package/dist/DataCards.cjs.map +1 -1
  64. package/dist/DataCards.js +10 -12
  65. package/dist/DataCards.js.map +1 -1
  66. package/dist/DataTable.cjs +1 -1
  67. package/dist/DataTable.cjs.map +1 -1
  68. package/dist/DataTable.d.ts +2 -0
  69. package/dist/DataTable.js +103 -102
  70. package/dist/DataTable.js.map +1 -1
  71. package/dist/{DetailsModal-C3qlUyFK.js → DetailsModal-B2XBWR7w.js} +4 -4
  72. package/dist/{DetailsModal-C3qlUyFK.js.map → DetailsModal-B2XBWR7w.js.map} +1 -1
  73. package/dist/{DetailsModal-DIRTulvr.cjs → DetailsModal-jmmKRMRM.cjs} +2 -2
  74. package/dist/{DetailsModal-DIRTulvr.cjs.map → DetailsModal-jmmKRMRM.cjs.map} +1 -1
  75. package/dist/DifferenceLineChart.cjs +1 -1
  76. package/dist/DifferenceLineChart.cjs.map +1 -1
  77. package/dist/DifferenceLineChart.d.ts +4 -0
  78. package/dist/DifferenceLineChart.js +441 -437
  79. package/dist/DifferenceLineChart.js.map +1 -1
  80. package/dist/DonutChart.cjs +1 -1
  81. package/dist/DonutChart.cjs.map +1 -1
  82. package/dist/DonutChart.d.ts +4 -0
  83. package/dist/DonutChart.js +146 -142
  84. package/dist/DonutChart.js.map +1 -1
  85. package/dist/DotDensityMap.cjs +1 -1
  86. package/dist/DotDensityMap.cjs.map +1 -1
  87. package/dist/DotDensityMap.js +146 -146
  88. package/dist/DotDensityMap.js.map +1 -1
  89. package/dist/{DropdownSelect-NNpOs7DX.cjs → DropdownSelect-CX1yMemd.cjs} +2 -2
  90. package/dist/DropdownSelect-CX1yMemd.cjs.map +1 -0
  91. package/dist/{DropdownSelect-B2WTeedJ.js → DropdownSelect-Dz7imdTB.js} +6 -9
  92. package/dist/DropdownSelect-Dz7imdTB.js.map +1 -0
  93. package/dist/DualAxisLineChart.cjs +1 -1
  94. package/dist/DualAxisLineChart.cjs.map +1 -1
  95. package/dist/DualAxisLineChart.d.ts +4 -0
  96. package/dist/DualAxisLineChart.js +336 -332
  97. package/dist/DualAxisLineChart.js.map +1 -1
  98. package/dist/DumbbellChart.cjs +1 -1
  99. package/dist/DumbbellChart.cjs.map +1 -1
  100. package/dist/DumbbellChart.d.ts +2 -0
  101. package/dist/DumbbellChart.js +547 -544
  102. package/dist/DumbbellChart.js.map +1 -1
  103. package/dist/{EmptyState-B4c-CrXs.cjs → EmptyState-CFmiFPHz.cjs} +2 -2
  104. package/dist/{EmptyState-B4c-CrXs.cjs.map → EmptyState-CFmiFPHz.cjs.map} +1 -1
  105. package/dist/{EmptyState-B3fPoH6L.js → EmptyState-CaxXCkiN.js} +4 -4
  106. package/dist/{EmptyState-B3fPoH6L.js.map → EmptyState-CaxXCkiN.js.map} +1 -1
  107. package/dist/ExcelDownloadButton.cjs +1 -1
  108. package/dist/ExcelDownloadButton.js +2 -2
  109. package/dist/FootNote.cjs +1 -1
  110. package/dist/FootNote.js +2 -2
  111. package/dist/GeoHubCompareMaps.cjs +1 -1
  112. package/dist/GeoHubCompareMaps.cjs.map +1 -1
  113. package/dist/GeoHubCompareMaps.js +111 -111
  114. package/dist/GeoHubCompareMaps.js.map +1 -1
  115. package/dist/GeoHubMap.cjs +1 -1
  116. package/dist/GeoHubMap.cjs.map +1 -1
  117. package/dist/GeoHubMap.js +71 -71
  118. package/dist/GeoHubMap.js.map +1 -1
  119. package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
  120. package/dist/GeoHubMapWithLayerSelection.cjs.map +1 -1
  121. package/dist/GeoHubMapWithLayerSelection.js +83 -83
  122. package/dist/GeoHubMapWithLayerSelection.js.map +1 -1
  123. package/dist/{GraphContainer-DwMxWRCi.js → GraphContainer-B8ZqOzKI.js} +2 -2
  124. package/dist/{GraphContainer-DwMxWRCi.js.map → GraphContainer-B8ZqOzKI.js.map} +1 -1
  125. package/dist/{GraphContainer-B1EDxJ0S.cjs → GraphContainer-Cul9b74X.cjs} +2 -2
  126. package/dist/{GraphContainer-B1EDxJ0S.cjs.map → GraphContainer-Cul9b74X.cjs.map} +1 -1
  127. package/dist/GraphDescription.cjs +1 -1
  128. package/dist/GraphDescription.js +2 -2
  129. package/dist/GraphEl-D8WRC8-j.cjs +2 -0
  130. package/dist/GraphEl-D8WRC8-j.cjs.map +1 -0
  131. package/dist/{GraphEl-CnJf8b50.js → GraphEl-Dorm_qQE.js} +48 -10
  132. package/dist/GraphEl-Dorm_qQE.js.map +1 -0
  133. package/dist/GraphFooter.cjs +1 -1
  134. package/dist/GraphFooter.js +2 -2
  135. package/dist/GraphHeader.cjs +1 -1
  136. package/dist/GraphHeader.js +1 -1
  137. package/dist/GraphTitle.cjs +1 -1
  138. package/dist/GraphTitle.js +2 -2
  139. package/dist/GriddedGraphs.cjs +1 -1
  140. package/dist/GriddedGraphs.d.ts +1 -0
  141. package/dist/GriddedGraphs.js +6 -6
  142. package/dist/GriddedGraphsFromConfig.cjs +1 -1
  143. package/dist/GriddedGraphsFromConfig.d.ts +1 -0
  144. package/dist/GriddedGraphsFromConfig.js +2 -2
  145. package/dist/HeatMap.cjs +1 -1
  146. package/dist/HeatMap.cjs.map +1 -1
  147. package/dist/HeatMap.d.ts +4 -0
  148. package/dist/HeatMap.js +158 -155
  149. package/dist/HeatMap.js.map +1 -1
  150. package/dist/Histogram.cjs +1 -1
  151. package/dist/Histogram.cjs.map +1 -1
  152. package/dist/Histogram.d.ts +2 -0
  153. package/dist/Histogram.js +81 -80
  154. package/dist/Histogram.js.map +1 -1
  155. package/dist/HybridMap.cjs +1 -1
  156. package/dist/HybridMap.cjs.map +1 -1
  157. package/dist/HybridMap.d.ts +2 -0
  158. package/dist/HybridMap.js +283 -281
  159. package/dist/HybridMap.js.map +1 -1
  160. package/dist/ImageDownloadButton.cjs +1 -1
  161. package/dist/ImageDownloadButton.js +2 -2
  162. package/dist/LineChartWithConfidenceInterval.cjs +1 -1
  163. package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
  164. package/dist/LineChartWithConfidenceInterval.d.ts +2 -0
  165. package/dist/LineChartWithConfidenceInterval.js +367 -365
  166. package/dist/LineChartWithConfidenceInterval.js.map +1 -1
  167. package/dist/LinearColorLegend.cjs +1 -1
  168. package/dist/LinearColorLegend.cjs.map +1 -1
  169. package/dist/LinearColorLegend.d.ts +1 -0
  170. package/dist/LinearColorLegend.js +38 -37
  171. package/dist/LinearColorLegend.js.map +1 -1
  172. package/dist/{Modal-ZX55hLH-.cjs → Modal-BIErPPKT.cjs} +5 -5
  173. package/dist/{Modal-ZX55hLH-.cjs.map → Modal-BIErPPKT.cjs.map} +1 -1
  174. package/dist/{Modal-BV4rkoLM.js → Modal-CrUYln5V.js} +4 -4
  175. package/dist/{Modal-BV4rkoLM.js.map → Modal-CrUYln5V.js.map} +1 -1
  176. package/dist/MultiGraphDashboard.cjs +1 -1
  177. package/dist/MultiGraphDashboard.d.ts +1 -0
  178. package/dist/MultiGraphDashboard.js +4 -4
  179. package/dist/MultiGraphDashboardFromConfig.cjs +1 -1
  180. package/dist/MultiGraphDashboardFromConfig.d.ts +1 -0
  181. package/dist/MultiGraphDashboardFromConfig.js +2 -2
  182. package/dist/MultiGraphDashboardWideToLongFormat.cjs +1 -1
  183. package/dist/MultiGraphDashboardWideToLongFormat.js +4 -4
  184. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs +1 -1
  185. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js +2 -2
  186. package/dist/MultiLineAltChart.cjs +1 -1
  187. package/dist/MultiLineAltChart.cjs.map +1 -1
  188. package/dist/MultiLineAltChart.d.ts +2 -0
  189. package/dist/MultiLineAltChart.js +434 -432
  190. package/dist/MultiLineAltChart.js.map +1 -1
  191. package/dist/MultiLineChart.cjs +1 -1
  192. package/dist/MultiLineChart.cjs.map +1 -1
  193. package/dist/MultiLineChart.d.ts +4 -0
  194. package/dist/MultiLineChart.js +398 -394
  195. package/dist/MultiLineChart.js.map +1 -1
  196. package/dist/ParetoChart.cjs +1 -1
  197. package/dist/ParetoChart.cjs.map +1 -1
  198. package/dist/ParetoChart.d.ts +2 -0
  199. package/dist/ParetoChart.js +273 -271
  200. package/dist/ParetoChart.js.map +1 -1
  201. package/dist/PerformanceIntensiveMultiGraphDashboard.cjs +1 -1
  202. package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +1 -0
  203. package/dist/PerformanceIntensiveMultiGraphDashboard.js +4 -4
  204. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.cjs +1 -1
  205. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +1 -0
  206. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js +2 -2
  207. package/dist/PerformanceIntensiveScrollStory.cjs +1 -1
  208. package/dist/PerformanceIntensiveScrollStory.d.ts +1 -0
  209. package/dist/PerformanceIntensiveScrollStory.js +3 -3
  210. package/dist/RadarChart.cjs +1 -1
  211. package/dist/RadarChart.cjs.map +1 -1
  212. package/dist/RadarChart.d.ts +2 -0
  213. package/dist/RadarChart.js +220 -218
  214. package/dist/RadarChart.js.map +1 -1
  215. package/dist/{ReferenceLine-M9aP3dj-.cjs → ReferenceLine-CpU4G01Y.cjs} +2 -2
  216. package/dist/{ReferenceLine-M9aP3dj-.cjs.map → ReferenceLine-CpU4G01Y.cjs.map} +1 -1
  217. package/dist/{ReferenceLine-CNEjAYvv.js → ReferenceLine-D41VuUhE.js} +3 -3
  218. package/dist/{ReferenceLine-CNEjAYvv.js.map → ReferenceLine-D41VuUhE.js.map} +1 -1
  219. package/dist/{RegressionLine-Ci-Dh0w0.cjs → RegressionLine-BFoBiVJk.cjs} +2 -2
  220. package/dist/{RegressionLine-Ci-Dh0w0.cjs.map → RegressionLine-BFoBiVJk.cjs.map} +1 -1
  221. package/dist/{RegressionLine-BDrndQxo.js → RegressionLine-CuwB42I6.js} +4 -4
  222. package/dist/{RegressionLine-BDrndQxo.js.map → RegressionLine-CuwB42I6.js.map} +1 -1
  223. package/dist/SVGDownloadButton.cjs +1 -1
  224. package/dist/SVGDownloadButton.js +2 -2
  225. package/dist/SankeyChart.cjs +1 -1
  226. package/dist/SankeyChart.cjs.map +1 -1
  227. package/dist/SankeyChart.d.ts +2 -0
  228. package/dist/SankeyChart.js +439 -437
  229. package/dist/SankeyChart.js.map +1 -1
  230. package/dist/ScatterPlot.cjs +1 -1
  231. package/dist/ScatterPlot.cjs.map +1 -1
  232. package/dist/ScatterPlot.d.ts +2 -0
  233. package/dist/ScatterPlot.js +425 -423
  234. package/dist/ScatterPlot.js.map +1 -1
  235. package/dist/ScrollStory.cjs +1 -1
  236. package/dist/ScrollStory.d.ts +1 -0
  237. package/dist/ScrollStory.js +3 -3
  238. package/dist/SimpleLineChart.cjs +1 -1
  239. package/dist/SimpleLineChart.cjs.map +1 -1
  240. package/dist/SimpleLineChart.d.ts +2 -0
  241. package/dist/SimpleLineChart.js +360 -358
  242. package/dist/SimpleLineChart.js.map +1 -1
  243. package/dist/SingleGraphDashboard.cjs +1 -1
  244. package/dist/SingleGraphDashboard.d.ts +1 -0
  245. package/dist/SingleGraphDashboard.js +6 -6
  246. package/dist/SingleGraphDashboardFromConfig.cjs +1 -1
  247. package/dist/SingleGraphDashboardFromConfig.d.ts +1 -0
  248. package/dist/SingleGraphDashboardFromConfig.js +2 -2
  249. package/dist/SingleGraphDashboardGeoHubMaps.cjs +1 -1
  250. package/dist/SingleGraphDashboardGeoHubMaps.d.ts +1 -0
  251. package/dist/SingleGraphDashboardGeoHubMaps.js +3 -3
  252. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.cjs +1 -1
  253. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +1 -0
  254. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js +2 -2
  255. package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
  256. package/dist/SingleGraphDashboardThreeDGraphs.d.ts +1 -0
  257. package/dist/SingleGraphDashboardThreeDGraphs.js +6 -6
  258. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.cjs +1 -1
  259. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +1 -0
  260. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js +2 -2
  261. package/dist/SlopeChart.cjs +1 -1
  262. package/dist/SlopeChart.js +10 -10
  263. package/dist/{Source-BOSAl3UX.cjs → Source-PKuwZOn3.cjs} +2 -2
  264. package/dist/{Source-BOSAl3UX.cjs.map → Source-PKuwZOn3.cjs.map} +1 -1
  265. package/dist/{Source-Djkz-7jX.js → Source-QGk8vhkS.js} +3 -3
  266. package/dist/{Source-Djkz-7jX.js.map → Source-QGk8vhkS.js.map} +1 -1
  267. package/dist/Source.cjs +1 -1
  268. package/dist/Source.js +3 -3
  269. package/dist/SparkLine.cjs +1 -1
  270. package/dist/SparkLine.js +3 -3
  271. package/dist/{Spinner-CtJETd5V.js → Spinner-B2IIKg9r.js} +2 -2
  272. package/dist/{Spinner-CtJETd5V.js.map → Spinner-B2IIKg9r.js.map} +1 -1
  273. package/dist/{Spinner-jTMOLuw_.cjs → Spinner-WHzzloYQ.cjs} +2 -2
  274. package/dist/{Spinner-jTMOLuw_.cjs.map → Spinner-WHzzloYQ.cjs.map} +1 -1
  275. package/dist/StatCardFromData.cjs +1 -1
  276. package/dist/StatCardFromData.cjs.map +1 -1
  277. package/dist/StatCardFromData.d.ts +4 -0
  278. package/dist/StatCardFromData.js +97 -95
  279. package/dist/StatCardFromData.js.map +1 -1
  280. package/dist/StripChart.cjs +1 -1
  281. package/dist/StripChart.cjs.map +1 -1
  282. package/dist/StripChart.d.ts +2 -0
  283. package/dist/StripChart.js +360 -357
  284. package/dist/StripChart.js.map +1 -1
  285. package/dist/ThreeDGlobe.cjs +1 -1
  286. package/dist/ThreeDGlobe.cjs.map +1 -1
  287. package/dist/ThreeDGlobe.d.ts +2 -0
  288. package/dist/ThreeDGlobe.js +198 -196
  289. package/dist/ThreeDGlobe.js.map +1 -1
  290. package/dist/ThresholdColorLegendWithMouseOver.cjs +1 -1
  291. package/dist/ThresholdColorLegendWithMouseOver.cjs.map +1 -1
  292. package/dist/ThresholdColorLegendWithMouseOver.d.ts +2 -0
  293. package/dist/ThresholdColorLegendWithMouseOver.js +50 -48
  294. package/dist/ThresholdColorLegendWithMouseOver.js.map +1 -1
  295. package/dist/{Tooltip-CohiIbLZ.js → Tooltip-Bj-s__cI.js} +3 -3
  296. package/dist/{Tooltip-CohiIbLZ.js.map → Tooltip-Bj-s__cI.js.map} +1 -1
  297. package/dist/{Tooltip-BLa2EfMs.cjs → Tooltip-Hr46paWP.cjs} +2 -2
  298. package/dist/{Tooltip-BLa2EfMs.cjs.map → Tooltip-Hr46paWP.cjs.map} +1 -1
  299. package/dist/TreeMapGraph.cjs +1 -1
  300. package/dist/TreeMapGraph.cjs.map +1 -1
  301. package/dist/TreeMapGraph.d.ts +2 -0
  302. package/dist/TreeMapGraph.js +219 -217
  303. package/dist/TreeMapGraph.js.map +1 -1
  304. package/dist/Types.d.ts +1 -0
  305. package/dist/{Typography-DMVW6JnV.js → Typography-BO0gQDIT.js} +2 -2
  306. package/dist/{Typography-DMVW6JnV.js.map → Typography-BO0gQDIT.js.map} +1 -1
  307. package/dist/{Typography-CZZxlj1W.cjs → Typography-BqmyF1gP.cjs} +2 -2
  308. package/dist/{Typography-CZZxlj1W.cjs.map → Typography-BqmyF1gP.cjs.map} +1 -1
  309. package/dist/UnitChart.cjs +1 -1
  310. package/dist/UnitChart.cjs.map +1 -1
  311. package/dist/UnitChart.d.ts +4 -0
  312. package/dist/UnitChart.js +88 -86
  313. package/dist/UnitChart.js.map +1 -1
  314. package/dist/WaterfallChart.cjs +1 -1
  315. package/dist/WaterfallChart.cjs.map +1 -1
  316. package/dist/WaterfallChart.d.ts +2 -0
  317. package/dist/WaterfallChart.js +243 -241
  318. package/dist/WaterfallChart.js.map +1 -1
  319. package/dist/{XAxesLabels-IwjMJkYS.js → XAxesLabels-B9gkjUiC.js} +3 -3
  320. package/dist/{XAxesLabels-IwjMJkYS.js.map → XAxesLabels-B9gkjUiC.js.map} +1 -1
  321. package/dist/{XAxesLabels-C6o9jJal.cjs → XAxesLabels-C03jHniq.cjs} +2 -2
  322. package/dist/{XAxesLabels-C6o9jJal.cjs.map → XAxesLabels-C03jHniq.cjs.map} +1 -1
  323. package/dist/XTicksAndGridLines-C5DuC5oY.cjs +2 -0
  324. package/dist/XTicksAndGridLines-C5DuC5oY.cjs.map +1 -0
  325. package/dist/XTicksAndGridLines-gdbGX2rm.js +39 -0
  326. package/dist/XTicksAndGridLines-gdbGX2rm.js.map +1 -0
  327. package/dist/{YAxesLabels-BQ2aCazV.cjs → YAxesLabels-DeENFC2M.cjs} +2 -2
  328. package/dist/{YAxesLabels-BQ2aCazV.cjs.map → YAxesLabels-DeENFC2M.cjs.map} +1 -1
  329. package/dist/{YAxesLabels-DoGvgHdw.js → YAxesLabels-hWEUCTvs.js} +3 -3
  330. package/dist/{YAxesLabels-DoGvgHdw.js.map → YAxesLabels-hWEUCTvs.js.map} +1 -1
  331. package/dist/YTicksAndGridLines-CsNSq9W9.js +39 -0
  332. package/dist/YTicksAndGridLines-CsNSq9W9.js.map +1 -0
  333. package/dist/YTicksAndGridLines-DFjm8RCc.cjs +2 -0
  334. package/dist/YTicksAndGridLines-DFjm8RCc.cjs.map +1 -0
  335. package/dist/{checkIfMultiple-TOaaUwS7.cjs → checkIfMultiple-CH5tqj4q.cjs} +2 -2
  336. package/dist/checkIfMultiple-CH5tqj4q.cjs.map +1 -0
  337. package/dist/{checkIfMultiple-B97uOUVq.js → checkIfMultiple-Dpyy6BUP.js} +6 -6
  338. package/dist/checkIfMultiple-Dpyy6BUP.js.map +1 -0
  339. package/dist/{customArea-B1LWQBmM.cjs → customArea-BAcQ3pBM.cjs} +2 -2
  340. package/dist/{customArea-B1LWQBmM.cjs.map → customArea-BAcQ3pBM.cjs.map} +1 -1
  341. package/dist/{customArea-Cc2whe6P.js → customArea-D89lETG0.js} +3 -3
  342. package/dist/{customArea-Cc2whe6P.js.map → customArea-D89lETG0.js.map} +1 -1
  343. package/dist/getSliderMarks-BzrpHrHS.cjs +2 -0
  344. package/dist/getSliderMarks-BzrpHrHS.cjs.map +1 -0
  345. package/dist/{getSliderMarks-vXsR8RrR.js → getSliderMarks-X-_goqH9.js} +3 -4
  346. package/dist/getSliderMarks-X-_goqH9.js.map +1 -0
  347. package/dist/{index-CZ0elhKR.js → index-ApTBN0kp.js} +20 -10
  348. package/dist/{index-CZ0elhKR.js.map → index-ApTBN0kp.js.map} +1 -1
  349. package/dist/index-Bdo_HXb_.cjs +2 -0
  350. package/dist/index-Bdo_HXb_.cjs.map +1 -0
  351. package/dist/{index-sbKVyHS2.cjs → index-BhI7mBJx.cjs} +2 -2
  352. package/dist/{index-sbKVyHS2.cjs.map → index-BhI7mBJx.cjs.map} +1 -1
  353. package/dist/{index-D69M6klB.cjs → index-BuhBhuCq.cjs} +2 -2
  354. package/dist/{index-D69M6klB.cjs.map → index-BuhBhuCq.cjs.map} +1 -1
  355. package/dist/index-CGrBpeUa.js +380 -0
  356. package/dist/index-CGrBpeUa.js.map +1 -0
  357. package/dist/{index-CHPV5EwG-BCLAYDCV.js → index-CHPV5EwG-BzibaIRc.js} +5 -9
  358. package/dist/index-CHPV5EwG-BzibaIRc.js.map +1 -0
  359. package/dist/{index-CHPV5EwG-6v2a2njQ.cjs → index-CHPV5EwG-D4pAp7u0.cjs} +3 -3
  360. package/dist/index-CHPV5EwG-D4pAp7u0.cjs.map +1 -0
  361. package/dist/{index-Co3YGYe1.js → index-Cv_5q6Rb.js} +3 -3
  362. package/dist/{index-Co3YGYe1.js.map → index-Cv_5q6Rb.js.map} +1 -1
  363. package/dist/{index-D_dtv_T9.js → index-DHVGV8Df.js} +3 -3
  364. package/dist/{index-D_dtv_T9.js.map → index-DHVGV8Df.js.map} +1 -1
  365. package/dist/{index-CoobIWNj.cjs → index-FXfr51ZM.cjs} +2 -2
  366. package/dist/{index-CoobIWNj.cjs.map → index-FXfr51ZM.cjs.map} +1 -1
  367. package/dist/{index-D6CYcVc7-BOa7Dpvf.js → index-Scxs_wcm-BAjU0Cob.js} +16 -16
  368. package/dist/index-Scxs_wcm-BAjU0Cob.js.map +1 -0
  369. package/dist/index-Scxs_wcm-DUDU-Gll.cjs +2 -0
  370. package/dist/index-Scxs_wcm-DUDU-Gll.cjs.map +1 -0
  371. package/dist/{index-DoS4bGNa-C3DbPpy3.cjs → index-w64Zl8io-DrMm5QSb.cjs} +2 -2
  372. package/dist/index-w64Zl8io-DrMm5QSb.cjs.map +1 -0
  373. package/dist/{index-DoS4bGNa-Bgab95kx.js → index-w64Zl8io-ihagHOdP.js} +2 -2
  374. package/dist/index-w64Zl8io-ihagHOdP.js.map +1 -0
  375. package/dist/index.cjs +1 -1
  376. package/dist/index.d.ts +92 -17
  377. package/dist/index.js +3 -3
  378. package/dist/numberFormattingFunction-Cn9R7CM9.cjs +2 -0
  379. package/dist/numberFormattingFunction-Cn9R7CM9.cjs.map +1 -0
  380. package/dist/numberFormattingFunction-DqMf_v1m.js +28 -0
  381. package/dist/numberFormattingFunction-DqMf_v1m.js.map +1 -0
  382. package/dist/{proxy--_f6k3NR.js → proxy-BsxtcZKa.js} +2 -2
  383. package/dist/{proxy--_f6k3NR.js.map → proxy-BsxtcZKa.js.map} +1 -1
  384. package/dist/{proxy-C4-uo6nS.cjs → proxy-CqH8m8IQ.cjs} +2 -2
  385. package/dist/{proxy-C4-uo6nS.cjs.map → proxy-CqH8m8IQ.cjs.map} +1 -1
  386. package/dist/{string2HTML-DUYZT1L9.js → string2HTML-BrFperRM.js} +2 -2
  387. package/dist/{string2HTML-DUYZT1L9.js.map → string2HTML-BrFperRM.js.map} +1 -1
  388. package/dist/{string2HTML-xx9MzTtY.cjs → string2HTML-ZoGd08P_.cjs} +2 -2
  389. package/dist/{string2HTML-xx9MzTtY.cjs.map → string2HTML-ZoGd08P_.cjs.map} +1 -1
  390. package/dist/style.css +1 -1
  391. package/dist/{use-in-view-DqvKAveg.js → use-in-view-KOXq5Kmc.js} +2 -2
  392. package/dist/{use-in-view-DqvKAveg.js.map → use-in-view-KOXq5Kmc.js.map} +1 -1
  393. package/dist/{use-in-view-C3o_ntMv.cjs → use-in-view-dnRv_qqF.cjs} +2 -2
  394. package/dist/{use-in-view-C3o_ntMv.cjs.map → use-in-view-dnRv_qqF.cjs.map} +1 -1
  395. package/dist/utils.cjs +1 -1
  396. package/dist/utils.d.ts +9 -18
  397. package/dist/utils.js +1 -1
  398. package/dist/x-BXShoIAM-BC2sxios.cjs +2 -0
  399. package/dist/x-BXShoIAM-BC2sxios.cjs.map +1 -0
  400. package/dist/{x-BBpi7a_7-BsvWCzYM.js → x-BXShoIAM-D6VWO6z5.js} +3 -5
  401. package/dist/x-BXShoIAM-D6VWO6z5.js.map +1 -0
  402. package/package.json +2 -2
  403. package/dist/DropdownSelect-B2WTeedJ.js.map +0 -1
  404. package/dist/DropdownSelect-NNpOs7DX.cjs.map +0 -1
  405. package/dist/GraphEl-CnJf8b50.js.map +0 -1
  406. package/dist/GraphEl-D_w0Qak4.cjs +0 -2
  407. package/dist/GraphEl-D_w0Qak4.cjs.map +0 -1
  408. package/dist/XTicksAndGridLines-BDmF9etl.js +0 -38
  409. package/dist/XTicksAndGridLines-BDmF9etl.js.map +0 -1
  410. package/dist/XTicksAndGridLines-CekrPykD.cjs +0 -2
  411. package/dist/XTicksAndGridLines-CekrPykD.cjs.map +0 -1
  412. package/dist/YTicksAndGridLines-C3GW1xFG.js +0 -38
  413. package/dist/YTicksAndGridLines-C3GW1xFG.js.map +0 -1
  414. package/dist/YTicksAndGridLines-UzVC5eBM.cjs +0 -2
  415. package/dist/YTicksAndGridLines-UzVC5eBM.cjs.map +0 -1
  416. package/dist/checkIfMultiple-B97uOUVq.js.map +0 -1
  417. package/dist/checkIfMultiple-TOaaUwS7.cjs.map +0 -1
  418. package/dist/getSliderMarks-CIuSoedo.cjs +0 -2
  419. package/dist/getSliderMarks-CIuSoedo.cjs.map +0 -1
  420. package/dist/getSliderMarks-vXsR8RrR.js.map +0 -1
  421. package/dist/index-C6VwVS8W.js +0 -378
  422. package/dist/index-C6VwVS8W.js.map +0 -1
  423. package/dist/index-CHPV5EwG-6v2a2njQ.cjs.map +0 -1
  424. package/dist/index-CHPV5EwG-BCLAYDCV.js.map +0 -1
  425. package/dist/index-D6CYcVc7-BOa7Dpvf.js.map +0 -1
  426. package/dist/index-D6CYcVc7-CTEcAtiQ.cjs +0 -2
  427. package/dist/index-D6CYcVc7-CTEcAtiQ.cjs.map +0 -1
  428. package/dist/index-DoS4bGNa-Bgab95kx.js.map +0 -1
  429. package/dist/index-DoS4bGNa-C3DbPpy3.cjs.map +0 -1
  430. package/dist/index-_TlgeI_i.cjs +0 -2
  431. package/dist/index-_TlgeI_i.cjs.map +0 -1
  432. package/dist/numberFormattingFunction-02t-wJta.cjs +0 -2
  433. package/dist/numberFormattingFunction-02t-wJta.cjs.map +0 -1
  434. package/dist/numberFormattingFunction-14YCbkN2.js +0 -13
  435. package/dist/numberFormattingFunction-14YCbkN2.js.map +0 -1
  436. package/dist/x-BBpi7a_7-BsvWCzYM.js.map +0 -1
  437. package/dist/x-BBpi7a_7-DXYIEFwN.cjs +0 -2
  438. package/dist/x-BBpi7a_7-DXYIEFwN.cjs.map +0 -1
@@ -1,171 +1,172 @@
1
- import { c as Ie, j as i, m as be } from "./index-CHPV5EwG-BCLAYDCV.js";
2
- import { o as je } from "./index-BZQYSqar.js";
3
- import { f as Ne, p as He } from "./parse-Dv4of-PN.js";
4
- import { useRef as ve, useState as Ot, useEffect as De } from "react";
5
- import { g as Re, N as ze } from "./getSliderMarks-vXsR8RrR.js";
6
- import { i as Te } from "./index-Bwrro8-q.js";
7
- import { n as $e } from "./numberFormattingFunction-14YCbkN2.js";
8
- import { T as Se } from "./Tooltip-CohiIbLZ.js";
9
- import { c as Bt } from "./checkIfNullOrUndefined-DmfiKkNw.js";
10
- import { A as Fe } from "./AxisTitle-DGjX1_2v.js";
11
- import { A as qe } from "./Axis-RyGdzLrG.js";
12
- import { X as Ue } from "./XAxesLabels-IwjMJkYS.js";
13
- import { Y as Pe } from "./YTicksAndGridLines-C3GW1xFG.js";
14
- import { R as Je, a as Ke } from "./ReferenceLine-CNEjAYvv.js";
15
- import { X as Qe } from "./XTicksAndGridLines-BDmF9etl.js";
16
- import { Y as Ze } from "./YAxesLabels-DoGvgHdw.js";
17
- import { D as We } from "./DetailsModal-C3qlUyFK.js";
18
- import { a as Be } from "./linear-DNXM5Pdl.js";
19
- import { b as Xe } from "./band-DYty33LD.js";
20
- import { m as Wt } from "./proxy--_f6k3NR.js";
21
- import { u as Ye } from "./use-in-view-DqvKAveg.js";
22
- import { A as Ee } from "./index-Co3YGYe1.js";
23
- import { e as Le } from "./ensureCompleteData-CDIukSG6.js";
24
- import { a as _e, G as ti } from "./GraphContainer-DwMxWRCi.js";
25
- import { GraphHeader as ei } from "./GraphHeader.js";
26
- import { P as ii, e as ni } from "./index-CZ0elhKR.js";
27
- import { GraphFooter as ai } from "./GraphFooter.js";
28
- import { ColorLegendWithMouseOver as oi } from "./ColorLegendWithMouseOver.js";
29
- import { E as si } from "./EmptyState-B3fPoH6L.js";
30
- import { Colors as li } from "./Colors.js";
31
- function ri(e) {
32
- const t = Ie.c(148), {
33
- data: c,
34
- leftMargin: qt,
1
+ import { c as je, j as i, m as ve } from "./index-CHPV5EwG-BzibaIRc.js";
2
+ import { o as Ne } from "./index-BZQYSqar.js";
3
+ import { f as Te, p as ze } from "./parse-Dv4of-PN.js";
4
+ import { useRef as we, useState as Vt, useEffect as Se } from "react";
5
+ import { g as qe, N as Ue } from "./getSliderMarks-X-_goqH9.js";
6
+ import { i as Fe } from "./index-Bwrro8-q.js";
7
+ import { n as Ve } from "./numberFormattingFunction-DqMf_v1m.js";
8
+ import { T as Pe } from "./Tooltip-Bj-s__cI.js";
9
+ import { c as Et } from "./checkIfNullOrUndefined-DmfiKkNw.js";
10
+ import { A as We } from "./AxisTitle-CyLCqpW6.js";
11
+ import { A as Je } from "./Axis-CNZYWzH0.js";
12
+ import { X as Ke } from "./XAxesLabels-B9gkjUiC.js";
13
+ import { Y as Be } from "./YTicksAndGridLines-CsNSq9W9.js";
14
+ import { R as Qe, a as Ze } from "./ReferenceLine-D41VuUhE.js";
15
+ import { X as _e } from "./XTicksAndGridLines-gdbGX2rm.js";
16
+ import { Y as ti } from "./YAxesLabels-hWEUCTvs.js";
17
+ import { D as Xe } from "./DetailsModal-B2XBWR7w.js";
18
+ import { a as Ye } from "./linear-DNXM5Pdl.js";
19
+ import { b as Ee } from "./band-DYty33LD.js";
20
+ import { m as Yt } from "./proxy-BsxtcZKa.js";
21
+ import { u as Ge } from "./use-in-view-KOXq5Kmc.js";
22
+ import { A as He } from "./index-Cv_5q6Rb.js";
23
+ import { e as Ie } from "./ensureCompleteData-CDIukSG6.js";
24
+ import { a as ei, G as ii } from "./GraphContainer-B8ZqOzKI.js";
25
+ import { GraphHeader as ni } from "./GraphHeader.js";
26
+ import { P as ai, e as oi } from "./index-ApTBN0kp.js";
27
+ import { GraphFooter as li } from "./GraphFooter.js";
28
+ import { ColorLegendWithMouseOver as si } from "./ColorLegendWithMouseOver.js";
29
+ import { E as ri } from "./EmptyState-CaxXCkiN.js";
30
+ import { Colors as ci } from "./Colors.js";
31
+ function di(e) {
32
+ const t = je.c(149), {
33
+ data: r,
34
+ leftMargin: Jt,
35
35
  rightMargin: ae,
36
- topMargin: Ut,
37
- bottomMargin: Jt,
36
+ topMargin: Kt,
37
+ bottomMargin: Qt,
38
38
  dotColors: I,
39
- barPadding: Xt,
39
+ barPadding: Gt,
40
40
  showTicks: ct,
41
- truncateBy: Lt,
42
- width: gt,
43
- height: bt,
44
- radius: xt,
45
- showLabels: vt,
46
- tooltip: b,
47
- onSeriesMouseOver: st,
48
- maxValue: $t,
49
- minValue: k,
41
+ truncateBy: jt,
42
+ width: wt,
43
+ height: At,
44
+ radius: ft,
45
+ showLabels: kt,
46
+ tooltip: v,
47
+ onSeriesMouseOver: at,
48
+ maxValue: Dt,
49
+ minValue: A,
50
50
  onSeriesMouseClick: dt,
51
- showValues: Kt,
52
- suffix: ft,
53
- prefix: P,
54
- selectedColor: W,
51
+ showValues: Zt,
52
+ suffix: ht,
53
+ prefix: F,
54
+ selectedColor: P,
55
55
  arrowConnector: j,
56
- connectorStrokeWidth: Yt,
57
- maxBarThickness: wt,
58
- minBarThickness: It,
59
- resetSelectionOnDoubleClick: Qt,
56
+ connectorStrokeWidth: Ht,
57
+ maxBarThickness: Mt,
58
+ minBarThickness: Nt,
59
+ resetSelectionOnDoubleClick: _t,
60
60
  detailsOnClick: V,
61
- axisTitle: B,
62
- noOfTicks: Et,
63
- valueColor: Vt,
64
- styles: o,
61
+ axisTitle: W,
62
+ noOfTicks: Rt,
63
+ valueColor: Tt,
64
+ styles: a,
65
65
  classNames: n,
66
- labelOrder: y,
67
- refValues: jt,
68
- animate: f,
66
+ labelOrder: g,
67
+ refValues: St,
68
+ animate: h,
69
69
  precision: x,
70
- customLayers: H,
71
- highlightedDataPoints: X,
70
+ customLayers: G,
71
+ highlightedDataPoints: B,
72
72
  dimmedOpacity: mt,
73
- hideAxisLine: R
74
- } = e, z = qt === void 0 ? 20 : qt, Gt = ae === void 0 ? 20 : ae, Nt = Ut === void 0 ? 20 : Ut, Ht = Jt === void 0 ? 25 : Jt, ie = ve(null);
75
- let Dt;
76
- t[0] !== f.amount || t[1] !== f.once ? (Dt = {
77
- once: f.once,
78
- amount: f.amount
79
- }, t[0] = f.amount, t[1] = f.once, t[2] = Dt) : Dt = t[2];
80
- const v = Ye(ie, Dt), Zt = B ? z + 30 : z;
81
- let p;
82
- t[3] !== Ht || t[4] !== Gt || t[5] !== Zt || t[6] !== Nt ? (p = {
83
- top: Nt,
84
- bottom: Ht,
85
- left: Zt,
86
- right: Gt
87
- }, t[3] = Ht, t[4] = Gt, t[5] = Zt, t[6] = Nt, t[7] = p) : p = t[7];
88
- const a = p, N = gt - a.left - a.right, q = bt - a.top - a.bottom, [Tt, _t] = Ot(void 0), [Y, te] = Ot(void 0), [ht, St] = Ot(void 0), [Ft, Pt] = Ot(void 0);
89
- let pt;
90
- if (t[8] !== c || t[9] !== y) {
91
- const m = /* @__PURE__ */ new Set(), w = c.map((h, rt) => {
92
- const s = y ? `${h.label}` : `${rt}`;
93
- return m.add(s), {
94
- ...h,
95
- id: s
73
+ hideAxisLine: H,
74
+ locale: pt
75
+ } = e, R = Jt === void 0 ? 20 : Jt, te = ae === void 0 ? 20 : ae, Ct = Kt === void 0 ? 20 : Kt, zt = Qt === void 0 ? 25 : Qt, oe = we(null);
76
+ let Ot;
77
+ t[0] !== h.amount || t[1] !== h.once ? (Ot = {
78
+ once: h.once,
79
+ amount: h.amount
80
+ }, t[0] = h.amount, t[1] = h.once, t[2] = Ot) : Ot = t[2];
81
+ const k = Ge(oe, Ot), b = W ? R + 30 : R;
82
+ let f;
83
+ t[3] !== zt || t[4] !== te || t[5] !== b || t[6] !== Ct ? (f = {
84
+ top: Ct,
85
+ bottom: zt,
86
+ left: b,
87
+ right: te
88
+ }, t[3] = zt, t[4] = te, t[5] = b, t[6] = Ct, t[7] = f) : f = t[7];
89
+ const s = f, D = wt - s.left - s.right, ot = At - s.top - s.bottom, [Ft, ee] = Vt(void 0), [X, Pt] = Vt(void 0), [yt, ie] = Vt(void 0), [gt, Wt] = Vt(void 0);
90
+ let Bt;
91
+ if (t[8] !== r || t[9] !== g) {
92
+ const u = /* @__PURE__ */ new Set(), w = r.map((p, st) => {
93
+ const o = g ? `${p.label}` : `${st}`;
94
+ return u.add(o), {
95
+ ...p,
96
+ id: o
96
97
  };
97
- }), yt = y ? y.filter((h) => !m.has(h)) : [];
98
+ }), bt = g ? g.filter((p) => !u.has(p)) : [];
98
99
  let C;
99
- t[11] !== c[0] ? (C = (h) => ({
100
- id: h,
101
- label: h,
102
- x: Array(c[0].x.length).fill(null)
103
- }), t[11] = c[0], t[12] = C) : C = t[12], pt = [...w, ...yt.map(C)], t[8] = c, t[9] = y, t[10] = pt;
100
+ t[11] !== r[0] ? (C = (p) => ({
101
+ id: p,
102
+ label: p,
103
+ x: Array(r[0].x.length).fill(null)
104
+ }), t[11] = r[0], t[12] = C) : C = t[12], Bt = [...w, ...bt.map(C)], t[8] = r, t[9] = g, t[10] = Bt;
104
105
  } else
105
- pt = t[10];
106
- const O = pt;
106
+ Bt = t[10];
107
+ const O = Bt;
107
108
  let lt;
108
- t[13] !== O || t[14] !== y ? (lt = y ?? O.map(bi), t[13] = O, t[14] = y, t[15] = lt) : lt = t[15];
109
- const Rt = lt;
110
- let U, J, K, Q, Z, D, T, M, E, _, tt, et, L, $, it;
111
- if (t[16] !== f || t[17] !== j || t[18] !== B || t[19] !== Rt || t[20] !== Xt || t[21] !== n?.dataConnectors || t[22] !== n?.graphObjectValues || t[23] !== n?.xAxis?.axis || t[24] !== n?.xAxis?.labels || t[25] !== n?.yAxis?.gridLines || t[26] !== n?.yAxis?.labels || t[27] !== n?.yAxis?.title || t[28] !== Yt || t[29] !== H || t[30] !== O || t[31] !== V || t[32] !== mt || t[33] !== I || t[34] !== q || t[35] !== N || t[36] !== bt || t[37] !== R || t[38] !== X || t[39] !== v || t[40] !== z || t[41] !== a.bottom || t[42] !== a.left || t[43] !== a.right || t[44] !== a.top || t[45] !== wt || t[46] !== $t || t[47] !== It || t[48] !== k || t[49] !== Y || t[50] !== Et || t[51] !== dt || t[52] !== st || t[53] !== x || t[54] !== P || t[55] !== xt || t[56] !== jt || t[57] !== Qt || t[58] !== W || t[59] !== vt || t[60] !== ct || t[61] !== Kt || t[62] !== o?.dataConnectors || t[63] !== o?.graphObjectValues || t[64] !== o?.xAxis?.axis || t[65] !== o?.xAxis?.labels || t[66] !== o?.yAxis?.gridLines || t[67] !== o?.yAxis?.labels || t[68] !== o?.yAxis?.title || t[69] !== ft || t[70] !== Lt || t[71] !== Vt || t[72] !== gt) {
112
- const m = Be().domain([k, $t]).range([q, 0]).nice(), w = Xe().domain(Rt).range([0, It ? Math.max(N, It * O.length) : wt ? Math.min(N, wt * O.length) : N]).paddingInner(Xt), yt = m.ticks(Et);
113
- J = Wt.svg, E = `${gt}px`, _ = `${bt}px`, tt = `0 0 ${gt} ${bt}`, et = "ltr", L = ie, t[88] !== j ? ($ = j ? /* @__PURE__ */ i.jsx("defs", { children: /* @__PURE__ */ i.jsx("marker", { id: "arrow", viewBox: "0 0 10 10", refX: "10", refY: "5", markerWidth: "6", markerHeight: "6", orient: "auto-start-reverse", children: /* @__PURE__ */ i.jsx("path", { d: "M 0 0 L 10 5 L 0 10 z", className: "fill-primary-gray-600 dark:fill-primary-gray-300" }) }) }) : null, t[88] = j, t[89] = $) : $ = t[89], Q = `translate(${a.left},${a.top})`;
109
+ t[13] !== O || t[14] !== g ? (lt = g ?? O.map(wi), t[13] = O, t[14] = g, t[15] = lt) : lt = t[15];
110
+ const qt = lt;
111
+ let z, q, U, J, K, N, T, M, Y, Q, Z, _, L, $, tt;
112
+ if (t[16] !== h || t[17] !== j || t[18] !== W || t[19] !== qt || t[20] !== Gt || t[21] !== n?.dataConnectors || t[22] !== n?.graphObjectValues || t[23] !== n?.xAxis?.axis || t[24] !== n?.xAxis?.labels || t[25] !== n?.yAxis?.gridLines || t[26] !== n?.yAxis?.labels || t[27] !== n?.yAxis?.title || t[28] !== Ht || t[29] !== G || t[30] !== O || t[31] !== V || t[32] !== mt || t[33] !== I || t[34] !== ot || t[35] !== D || t[36] !== At || t[37] !== H || t[38] !== B || t[39] !== k || t[40] !== R || t[41] !== pt || t[42] !== s.bottom || t[43] !== s.left || t[44] !== s.right || t[45] !== s.top || t[46] !== Mt || t[47] !== Dt || t[48] !== Nt || t[49] !== A || t[50] !== X || t[51] !== Rt || t[52] !== dt || t[53] !== at || t[54] !== x || t[55] !== F || t[56] !== ft || t[57] !== St || t[58] !== _t || t[59] !== P || t[60] !== kt || t[61] !== ct || t[62] !== Zt || t[63] !== a?.dataConnectors || t[64] !== a?.graphObjectValues || t[65] !== a?.xAxis?.axis || t[66] !== a?.xAxis?.labels || t[67] !== a?.yAxis?.gridLines || t[68] !== a?.yAxis?.labels || t[69] !== a?.yAxis?.title || t[70] !== ht || t[71] !== jt || t[72] !== Tt || t[73] !== wt) {
113
+ const u = Ye().domain([A, Dt]).range([ot, 0]).nice(), w = Ee().domain(qt).range([0, Nt ? Math.max(D, Nt * O.length) : Mt ? Math.min(D, Mt * O.length) : D]).paddingInner(Gt), bt = u.ticks(Rt);
114
+ q = Yt.svg, Y = `${wt}px`, Q = `${At}px`, Z = `0 0 ${wt} ${At}`, _ = "ltr", L = oe, t[89] !== j ? ($ = j ? /* @__PURE__ */ i.jsx("defs", { children: /* @__PURE__ */ i.jsx("marker", { id: "arrow", viewBox: "0 0 10 10", refX: "10", refY: "5", markerWidth: "6", markerHeight: "6", orient: "auto-start-reverse", children: /* @__PURE__ */ i.jsx("path", { d: "M 0 0 L 10 5 L 0 10 z", className: "fill-primary-gray-600 dark:fill-primary-gray-300" }) }) }) : null, t[89] = j, t[90] = $) : $ = t[90], J = `translate(${s.left},${s.top})`;
114
115
  let C;
115
- t[90] !== k || t[91] !== x || t[92] !== P || t[93] !== ct || t[94] !== ft ? (C = ct ? $e(k < 0 ? 0 : k, "NA", x, P, ft) : void 0, t[90] = k, t[91] = x, t[92] = P, t[93] = ct, t[94] = ft, t[95] = C) : C = t[95];
116
- const h = n?.xAxis?.axis, rt = n?.yAxis?.labels;
117
- let s;
118
- t[96] !== h || t[97] !== rt ? (s = {
119
- axis: h,
120
- label: rt
121
- }, t[96] = h, t[97] = rt, t[98] = s) : s = t[98];
122
- const zt = o?.xAxis?.axis, kt = o?.yAxis?.labels;
123
- let ee;
124
- t[99] !== zt || t[100] !== kt ? (ee = {
125
- axis: zt,
126
- label: kt
127
- }, t[99] = zt, t[100] = kt, t[101] = ee) : ee = t[101], Z = /* @__PURE__ */ i.jsx(qe, { hideAxisLine: R, y1: m(k < 0 ? 0 : k), y2: m(k < 0 ? 0 : k), x1: 0 - z, x2: N + a.right, label: C, labelPos: {
128
- x: 0 - z,
116
+ t[91] !== A || t[92] !== x || t[93] !== F || t[94] !== ct || t[95] !== ht ? (C = ct ? Ve(A < 0 ? 0 : A, void 0, x, F, ht) : void 0, t[91] = A, t[92] = x, t[93] = F, t[94] = ct, t[95] = ht, t[96] = C) : C = t[96];
117
+ const p = n?.xAxis?.axis, st = n?.yAxis?.labels;
118
+ let o;
119
+ t[97] !== p || t[98] !== st ? (o = {
120
+ axis: p,
121
+ label: st
122
+ }, t[97] = p, t[98] = st, t[99] = o) : o = t[99];
123
+ const Ut = a?.xAxis?.axis, Xt = a?.yAxis?.labels;
124
+ let $t;
125
+ t[100] !== Ut || t[101] !== Xt ? ($t = {
126
+ axis: Ut,
127
+ label: Xt
128
+ }, t[100] = Ut, t[101] = Xt, t[102] = $t) : $t = t[102], K = /* @__PURE__ */ i.jsx(Je, { hideAxisLine: H, y1: u(A < 0 ? 0 : A), y2: u(A < 0 ? 0 : A), x1: 0 - R, x2: D + s.right, label: C, labelPos: {
129
+ x: 0 - R,
129
130
  dx: 0,
130
- dy: $t < 0 ? "1em" : -5,
131
- y: m(k < 0 ? 0 : k)
132
- }, classNames: s, styles: ee }), D = ct ? /* @__PURE__ */ i.jsx(Pe, { values: yt.filter(gi), y: yt.filter(yi).map((l) => m(l)), x1: 0 - z, x2: N + a.right, styles: {
133
- gridLines: o?.yAxis?.gridLines,
134
- labels: o?.yAxis?.labels
131
+ dy: Dt < 0 ? "1em" : -5,
132
+ y: u(A < 0 ? 0 : A)
133
+ }, classNames: o, styles: $t }), N = ct ? /* @__PURE__ */ i.jsx(Be, { values: bt.filter(vi), y: bt.filter(bi).map((c) => u(c)), x1: 0 - R, x2: D + s.right, styles: {
134
+ gridLines: a?.yAxis?.gridLines,
135
+ labels: a?.yAxis?.labels
135
136
  }, classNames: {
136
137
  gridLines: n?.yAxis?.gridLines,
137
138
  labels: n?.yAxis?.labels
138
- }, suffix: ft, prefix: P, labelType: "secondary", showGridLines: !0, labelPos: "vertical", precision: x }) : null;
139
- const Mt = 0 - z - 15, r = q / 2, A = o?.yAxis?.title, F = n?.yAxis?.title;
140
- t[102] !== B || t[103] !== Mt || t[104] !== r || t[105] !== A || t[106] !== F ? (T = /* @__PURE__ */ i.jsx(Fe, { x: Mt, y: r, style: A, className: F, text: B, rotate90: !0 }), t[102] = B, t[103] = Mt, t[104] = r, t[105] = A, t[106] = F, t[107] = T) : T = t[107], t[108] !== H ? (M = H.filter(pi).map(hi), t[108] = H, t[109] = M) : M = t[109], U = Ee, it = O.map((l) => /* @__PURE__ */ i.jsxs(Wt.g, { className: "undp-viz-g-with-hover", variants: {
139
+ }, suffix: ht, prefix: F, labelType: "secondary", showGridLines: !0, labelPos: "vertical", precision: x, locale: pt }) : null;
140
+ const ne = 0 - R - 15, l = ot / 2, xt = a?.yAxis?.title, y = n?.yAxis?.title;
141
+ t[103] !== W || t[104] !== ne || t[105] !== l || t[106] !== xt || t[107] !== y ? (T = /* @__PURE__ */ i.jsx(We, { x: ne, y: l, style: xt, className: y, text: W, rotate90: !0 }), t[103] = W, t[104] = ne, t[105] = l, t[106] = xt, t[107] = y, t[108] = T) : T = t[108], t[109] !== G ? (M = G.filter(gi).map(yi), t[109] = G, t[110] = M) : M = t[110], z = He, tt = O.map((c) => /* @__PURE__ */ i.jsxs(Yt.g, { className: "undp-viz-g-with-hover", variants: {
141
142
  initial: {
142
- x: w(`${l.id}`) + w.bandwidth() / 2,
143
+ x: w(`${c.id}`) + w.bandwidth() / 2,
143
144
  y: 0,
144
- opacity: X.length !== 0 ? X.indexOf(l.label) !== -1 ? 0.85 : mt : 0.85
145
+ opacity: B.length !== 0 ? B.indexOf(c.label) !== -1 ? 0.85 : mt : 0.85
145
146
  },
146
147
  whileInView: {
147
- x: w(`${l.id}`) + w.bandwidth() / 2,
148
+ x: w(`${c.id}`) + w.bandwidth() / 2,
148
149
  y: 0,
149
- opacity: X.length !== 0 ? X.indexOf(l.label) !== -1 ? 0.85 : mt : 0.85,
150
+ opacity: B.length !== 0 ? B.indexOf(c.label) !== -1 ? 0.85 : mt : 0.85,
150
151
  transition: {
151
- duration: f.duration
152
+ duration: h.duration
152
153
  }
153
154
  }
154
- }, initial: "initial", animate: v ? "whileInView" : "initial", exit: {
155
+ }, initial: "initial", animate: k ? "whileInView" : "initial", exit: {
155
156
  opacity: 0,
156
157
  transition: {
157
- duration: f.duration
158
+ duration: h.duration
158
159
  }
159
160
  }, children: [
160
- vt ? /* @__PURE__ */ i.jsx(Ue, { value: `${l.label}`.length < Lt ? `${l.label}` : `${`${l.label}`.substring(0, Lt)}...`, y: q + 5, x: 0 - w.bandwidth() / 2, width: w.bandwidth(), height: a.bottom, style: o?.xAxis?.labels, className: n?.xAxis?.labels, alignment: "top", animate: f, isInView: v }) : null,
161
- /* @__PURE__ */ i.jsx(Wt.line, { x1: 0, x2: 0, style: {
162
- strokeWidth: Yt,
163
- ...o?.dataConnectors || {},
164
- opacity: W ? 0.3 : 1
165
- }, className: be("stroke-primary-gray-600 dark:stroke-primary-gray-300", n?.dataConnectors), markerEnd: j && l.x.indexOf(Math.min(...l.x.filter(fi))) === 0 ? "url(#arrow)" : "", markerStart: j && l.x.indexOf(Math.min(...l.x.filter(xi))) === l.x.length - 1 ? "url(#arrow)" : "", exit: {
161
+ kt ? /* @__PURE__ */ i.jsx(Ke, { value: `${c.label}`.length < jt ? `${c.label}` : `${`${c.label}`.substring(0, jt)}...`, y: ot + 5, x: 0 - w.bandwidth() / 2, width: w.bandwidth(), height: s.bottom, style: a?.xAxis?.labels, className: n?.xAxis?.labels, alignment: "top", animate: h, isInView: k }) : null,
162
+ /* @__PURE__ */ i.jsx(Yt.line, { x1: 0, x2: 0, style: {
163
+ strokeWidth: Ht,
164
+ ...a?.dataConnectors || {},
165
+ opacity: P ? 0.3 : 1
166
+ }, className: ve("stroke-primary-gray-600 dark:stroke-primary-gray-300", n?.dataConnectors), markerEnd: j && c.x.indexOf(Math.min(...c.x.filter(pi))) === 0 ? "url(#arrow)" : "", markerStart: j && c.x.indexOf(Math.min(...c.x.filter(hi))) === c.x.length - 1 ? "url(#arrow)" : "", exit: {
166
167
  opacity: 0,
167
168
  transition: {
168
- duration: f.duration
169
+ duration: h.duration
169
170
  }
170
171
  }, variants: {
171
172
  initial: {
@@ -173,296 +174,297 @@ function ri(e) {
173
174
  y2: 0
174
175
  },
175
176
  whileInView: {
176
- y1: m(Math.min(...l.x.filter(ui))) + xt,
177
- y2: m(Math.max(...l.x.filter(mi))) - xt,
177
+ y1: u(Math.min(...c.x.filter(fi))) + ft,
178
+ y2: u(Math.max(...c.x.filter(xi))) - ft,
178
179
  transition: {
179
- duration: f.duration
180
+ duration: h.duration
180
181
  }
181
182
  }
182
- }, initial: "initial", animate: v ? "whileInView" : "initial" }),
183
- l.x.map((u, g) => /* @__PURE__ */ i.jsx(Wt.g, { onMouseEnter: (ne) => {
184
- _t({
185
- ...l,
186
- xIndex: g
187
- }), Pt(ne.clientY), St(ne.clientX), st?.({
188
- ...l,
189
- xIndex: g
183
+ }, initial: "initial", animate: k ? "whileInView" : "initial" }),
184
+ c.x.map((vt, d) => /* @__PURE__ */ i.jsx(Yt.g, { onMouseEnter: (rt) => {
185
+ ee({
186
+ ...c,
187
+ xIndex: d
188
+ }), Wt(rt.clientY), ie(rt.clientX), at?.({
189
+ ...c,
190
+ xIndex: d
190
191
  });
191
192
  }, onClick: () => {
192
- (dt || V) && (Te(Y, {
193
- ...l,
194
- xIndex: g
195
- }) && Qt ? (te(void 0), dt?.(void 0)) : (te({
196
- ...l,
197
- xIndex: g
193
+ (dt || V) && (Fe(X, {
194
+ ...c,
195
+ xIndex: d
196
+ }) && _t ? (Pt(void 0), dt?.(void 0)) : (Pt({
197
+ ...c,
198
+ xIndex: d
198
199
  }), dt && dt({
199
- ...l,
200
- xIndex: g
200
+ ...c,
201
+ xIndex: d
201
202
  })));
202
- }, onMouseMove: (ne) => {
203
- _t({
204
- ...l,
205
- xIndex: g
206
- }), Pt(ne.clientY), St(ne.clientX);
203
+ }, onMouseMove: (rt) => {
204
+ ee({
205
+ ...c,
206
+ xIndex: d
207
+ }), Wt(rt.clientY), ie(rt.clientX);
207
208
  }, onMouseLeave: () => {
208
- _t(void 0), St(void 0), Pt(void 0), st?.(void 0);
209
+ ee(void 0), ie(void 0), Wt(void 0), at?.(void 0);
209
210
  }, exit: {
210
211
  opacity: 0,
211
212
  transition: {
212
- duration: f.duration
213
+ duration: h.duration
213
214
  }
214
215
  }, variants: {
215
216
  initial: {
216
- opacity: W ? I[g] === W ? 1 : 0.3 : 1
217
+ opacity: P ? I[d] === P ? 1 : 0.3 : 1
217
218
  },
218
219
  whileInView: {
219
- opacity: W ? I[g] === W ? 1 : 0.3 : 1,
220
+ opacity: P ? I[d] === P ? 1 : 0.3 : 1,
220
221
  transition: {
221
- duration: f.duration
222
+ duration: h.duration
222
223
  }
223
224
  }
224
- }, initial: "initial", animate: v ? "whileInView" : "initial", children: Bt(u) ? null : /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
225
- /* @__PURE__ */ i.jsx(Wt.circle, { cx: 0, r: xt, style: {
226
- fill: I[g],
225
+ }, initial: "initial", animate: k ? "whileInView" : "initial", children: Et(vt) ? null : /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
226
+ /* @__PURE__ */ i.jsx(Yt.circle, { cx: 0, r: ft, style: {
227
+ fill: I[d],
227
228
  fillOpacity: 0.85,
228
- stroke: I[g],
229
+ stroke: I[d],
229
230
  strokeWidth: 1
230
231
  }, exit: {
231
232
  opacity: 0,
232
233
  transition: {
233
- duration: f.duration
234
+ duration: h.duration
234
235
  }
235
236
  }, variants: {
236
237
  initial: {
237
- cy: m(0),
238
+ cy: u(0),
238
239
  opacity: 0
239
240
  },
240
241
  whileInView: {
241
- cy: m(u || 0),
242
- opacity: Bt(u) ? 0 : 1,
242
+ cy: u(vt || 0),
243
+ opacity: Et(vt) ? 0 : 1,
243
244
  transition: {
244
- duration: f.duration
245
+ duration: h.duration
245
246
  }
246
247
  }
247
- }, initial: "initial", animate: v ? "whileInView" : "initial" }),
248
- Kt ? /* @__PURE__ */ i.jsx(Wt.text, { x: 0, style: {
248
+ }, initial: "initial", animate: k ? "whileInView" : "initial" }),
249
+ Zt ? /* @__PURE__ */ i.jsx(Yt.text, { x: 0, style: {
249
250
  textAnchor: "start",
250
- ...o?.graphObjectValues || {}
251
- }, className: be("graph-value text-sm font-bold", Bt(u) ? "opacity-0" : "opacity-100", n?.graphObjectValues), dx: xt + 3, dy: "0.33em", exit: {
251
+ ...a?.graphObjectValues || {}
252
+ }, className: ve("graph-value text-sm font-bold", Et(vt) ? "opacity-0" : "opacity-100", n?.graphObjectValues), dx: ft + 3, dy: "0.33em", exit: {
252
253
  opacity: 0,
253
254
  transition: {
254
- duration: f.duration
255
+ duration: h.duration
255
256
  }
256
257
  }, variants: {
257
258
  initial: {
258
- y: m(0),
259
+ y: u(0),
259
260
  opacity: 0,
260
- fill: Vt || I[g]
261
+ fill: Tt || I[d]
261
262
  },
262
263
  whileInView: {
263
- y: m(u || 0),
264
- fill: Vt || I[g],
264
+ y: u(vt || 0),
265
+ fill: Tt || I[d],
265
266
  opacity: 1,
266
267
  transition: {
267
- duration: f.duration
268
+ duration: h.duration
268
269
  }
269
270
  }
270
- }, initial: "initial", animate: v ? "whileInView" : "initial", children: $e(u, "NA", x, P, ft) }) : null
271
- ] }) }, g))
272
- ] }, l.label)), K = jt ? /* @__PURE__ */ i.jsx(i.Fragment, { children: jt.map((l, u) => /* @__PURE__ */ i.jsx(Ke, { text: l.text, color: l.color, y: m(l.value), x1: 0 - z, x2: N + a.right, classNames: l.classNames, styles: l.styles, animate: f, isInView: v }, u)) }) : null, t[16] = f, t[17] = j, t[18] = B, t[19] = Rt, t[20] = Xt, t[21] = n?.dataConnectors, t[22] = n?.graphObjectValues, t[23] = n?.xAxis?.axis, t[24] = n?.xAxis?.labels, t[25] = n?.yAxis?.gridLines, t[26] = n?.yAxis?.labels, t[27] = n?.yAxis?.title, t[28] = Yt, t[29] = H, t[30] = O, t[31] = V, t[32] = mt, t[33] = I, t[34] = q, t[35] = N, t[36] = bt, t[37] = R, t[38] = X, t[39] = v, t[40] = z, t[41] = a.bottom, t[42] = a.left, t[43] = a.right, t[44] = a.top, t[45] = wt, t[46] = $t, t[47] = It, t[48] = k, t[49] = Y, t[50] = Et, t[51] = dt, t[52] = st, t[53] = x, t[54] = P, t[55] = xt, t[56] = jt, t[57] = Qt, t[58] = W, t[59] = vt, t[60] = ct, t[61] = Kt, t[62] = o?.dataConnectors, t[63] = o?.graphObjectValues, t[64] = o?.xAxis?.axis, t[65] = o?.xAxis?.labels, t[66] = o?.yAxis?.gridLines, t[67] = o?.yAxis?.labels, t[68] = o?.yAxis?.title, t[69] = ft, t[70] = Lt, t[71] = Vt, t[72] = gt, t[73] = U, t[74] = J, t[75] = K, t[76] = Q, t[77] = Z, t[78] = D, t[79] = T, t[80] = M, t[81] = E, t[82] = _, t[83] = tt, t[84] = et, t[85] = L, t[86] = $, t[87] = it;
271
+ }, initial: "initial", animate: k ? "whileInView" : "initial", children: Ve(vt, void 0, x, F, ht, pt) }) : null
272
+ ] }) }, d))
273
+ ] }, c.label)), U = St ? /* @__PURE__ */ i.jsx(i.Fragment, { children: St.map((c, vt) => /* @__PURE__ */ i.jsx(Ze, { text: c.text, color: c.color, y: u(c.value), x1: 0 - R, x2: D + s.right, classNames: c.classNames, styles: c.styles, animate: h, isInView: k }, vt)) }) : null, t[16] = h, t[17] = j, t[18] = W, t[19] = qt, t[20] = Gt, t[21] = n?.dataConnectors, t[22] = n?.graphObjectValues, t[23] = n?.xAxis?.axis, t[24] = n?.xAxis?.labels, t[25] = n?.yAxis?.gridLines, t[26] = n?.yAxis?.labels, t[27] = n?.yAxis?.title, t[28] = Ht, t[29] = G, t[30] = O, t[31] = V, t[32] = mt, t[33] = I, t[34] = ot, t[35] = D, t[36] = At, t[37] = H, t[38] = B, t[39] = k, t[40] = R, t[41] = pt, t[42] = s.bottom, t[43] = s.left, t[44] = s.right, t[45] = s.top, t[46] = Mt, t[47] = Dt, t[48] = Nt, t[49] = A, t[50] = X, t[51] = Rt, t[52] = dt, t[53] = at, t[54] = x, t[55] = F, t[56] = ft, t[57] = St, t[58] = _t, t[59] = P, t[60] = kt, t[61] = ct, t[62] = Zt, t[63] = a?.dataConnectors, t[64] = a?.graphObjectValues, t[65] = a?.xAxis?.axis, t[66] = a?.xAxis?.labels, t[67] = a?.yAxis?.gridLines, t[68] = a?.yAxis?.labels, t[69] = a?.yAxis?.title, t[70] = ht, t[71] = jt, t[72] = Tt, t[73] = wt, t[74] = z, t[75] = q, t[76] = U, t[77] = J, t[78] = K, t[79] = N, t[80] = T, t[81] = M, t[82] = Y, t[83] = Q, t[84] = Z, t[85] = _, t[86] = L, t[87] = $, t[88] = tt;
273
274
  } else
274
- U = t[73], J = t[74], K = t[75], Q = t[76], Z = t[77], D = t[78], T = t[79], M = t[80], E = t[81], _ = t[82], tt = t[83], et = t[84], L = t[85], $ = t[86], it = t[87];
275
- let nt;
276
- t[110] !== U || t[111] !== K || t[112] !== it ? (nt = /* @__PURE__ */ i.jsxs(U, { children: [
277
- it,
278
- K
279
- ] }), t[110] = U, t[111] = K, t[112] = it, t[113] = nt) : nt = t[113];
280
- let at;
281
- t[114] !== H ? (at = H.filter(di).map(ci), t[114] = H, t[115] = at) : at = t[115];
275
+ z = t[74], q = t[75], U = t[76], J = t[77], K = t[78], N = t[79], T = t[80], M = t[81], Y = t[82], Q = t[83], Z = t[84], _ = t[85], L = t[86], $ = t[87], tt = t[88];
276
+ let et;
277
+ t[111] !== z || t[112] !== U || t[113] !== tt ? (et = /* @__PURE__ */ i.jsxs(z, { children: [
278
+ tt,
279
+ U
280
+ ] }), t[111] = z, t[112] = U, t[113] = tt, t[114] = et) : et = t[114];
281
+ let it;
282
+ t[115] !== G ? (it = G.filter(ui).map(mi), t[115] = G, t[116] = it) : it = t[116];
282
283
  let ut;
283
- t[116] !== Q || t[117] !== Z || t[118] !== D || t[119] !== T || t[120] !== M || t[121] !== nt || t[122] !== at ? (ut = /* @__PURE__ */ i.jsxs("g", { transform: Q, children: [
284
- Z,
285
- D,
284
+ t[117] !== J || t[118] !== K || t[119] !== N || t[120] !== T || t[121] !== M || t[122] !== et || t[123] !== it ? (ut = /* @__PURE__ */ i.jsxs("g", { transform: J, children: [
285
+ K,
286
+ N,
286
287
  T,
287
288
  M,
288
- nt,
289
- at
290
- ] }), t[116] = Q, t[117] = Z, t[118] = D, t[119] = T, t[120] = M, t[121] = nt, t[122] = at, t[123] = ut) : ut = t[123];
289
+ et,
290
+ it
291
+ ] }), t[117] = J, t[118] = K, t[119] = N, t[120] = T, t[121] = M, t[122] = et, t[123] = it, t[124] = ut) : ut = t[124];
291
292
  let S;
292
- t[124] !== J || t[125] !== E || t[126] !== _ || t[127] !== tt || t[128] !== et || t[129] !== L || t[130] !== $ || t[131] !== ut ? (S = /* @__PURE__ */ i.jsxs(J, { width: E, height: _, viewBox: tt, direction: et, ref: L, children: [
293
+ t[125] !== q || t[126] !== Y || t[127] !== Q || t[128] !== Z || t[129] !== _ || t[130] !== L || t[131] !== $ || t[132] !== ut ? (S = /* @__PURE__ */ i.jsxs(q, { width: Y, height: Q, viewBox: Z, direction: _, ref: L, children: [
293
294
  $,
294
295
  ut
295
- ] }), t[124] = J, t[125] = E, t[126] = _, t[127] = tt, t[128] = et, t[129] = L, t[130] = $, t[131] = ut, t[132] = S) : S = t[132];
296
- let G;
297
- t[133] !== n?.tooltip || t[134] !== ht || t[135] !== Ft || t[136] !== Tt || t[137] !== o?.tooltip || t[138] !== b ? (G = Tt && b && ht && Ft ? /* @__PURE__ */ i.jsx(Se, { data: Tt, body: b, xPos: ht, yPos: Ft, backgroundStyle: o?.tooltip, className: n?.tooltip }) : null, t[133] = n?.tooltip, t[134] = ht, t[135] = Ft, t[136] = Tt, t[137] = o?.tooltip, t[138] = b, t[139] = G) : G = t[139];
298
- let ot;
299
- t[140] !== n?.modal || t[141] !== V || t[142] !== Y ? (ot = V && Y !== void 0 ? /* @__PURE__ */ i.jsx(We, { body: V, data: Y, setData: te, className: n?.modal }) : null, t[140] = n?.modal, t[141] = V, t[142] = Y, t[143] = ot) : ot = t[143];
300
- let At;
301
- return t[144] !== S || t[145] !== G || t[146] !== ot ? (At = /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
296
+ ] }), t[125] = q, t[126] = Y, t[127] = Q, t[128] = Z, t[129] = _, t[130] = L, t[131] = $, t[132] = ut, t[133] = S) : S = t[133];
297
+ let E;
298
+ t[134] !== n?.tooltip || t[135] !== yt || t[136] !== gt || t[137] !== Ft || t[138] !== a?.tooltip || t[139] !== v ? (E = Ft && v && yt && gt ? /* @__PURE__ */ i.jsx(Pe, { data: Ft, body: v, xPos: yt, yPos: gt, backgroundStyle: a?.tooltip, className: n?.tooltip }) : null, t[134] = n?.tooltip, t[135] = yt, t[136] = gt, t[137] = Ft, t[138] = a?.tooltip, t[139] = v, t[140] = E) : E = t[140];
299
+ let nt;
300
+ t[141] !== n?.modal || t[142] !== V || t[143] !== X ? (nt = V && X !== void 0 ? /* @__PURE__ */ i.jsx(Xe, { body: V, data: X, setData: Pt, className: n?.modal }) : null, t[141] = n?.modal, t[142] = V, t[143] = X, t[144] = nt) : nt = t[144];
301
+ let Lt;
302
+ return t[145] !== S || t[146] !== E || t[147] !== nt ? (Lt = /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
302
303
  S,
303
- G,
304
- ot
305
- ] }), t[144] = S, t[145] = G, t[146] = ot, t[147] = At) : At = t[147], At;
304
+ E,
305
+ nt
306
+ ] }), t[145] = S, t[146] = E, t[147] = nt, t[148] = Lt) : Lt = t[148], Lt;
306
307
  }
307
- function ci(e) {
308
+ function mi(e) {
308
309
  return e.layer;
309
310
  }
310
- function di(e) {
311
+ function ui(e) {
311
312
  return e.position === "after";
312
313
  }
313
- function mi(e) {
314
+ function xi(e) {
314
315
  return e !== null;
315
316
  }
316
- function ui(e) {
317
+ function fi(e) {
317
318
  return e !== null;
318
319
  }
319
- function xi(e) {
320
+ function hi(e) {
320
321
  return e !== null;
321
322
  }
322
- function fi(e) {
323
+ function pi(e) {
323
324
  return e !== null;
324
325
  }
325
- function hi(e) {
326
+ function yi(e) {
326
327
  return e.layer;
327
328
  }
328
- function pi(e) {
329
+ function gi(e) {
329
330
  return e.position === "before";
330
331
  }
331
- function yi(e) {
332
+ function bi(e) {
332
333
  return e !== 0;
333
334
  }
334
- function gi(e) {
335
+ function vi(e) {
335
336
  return e !== 0;
336
337
  }
337
- function bi(e) {
338
+ function wi(e) {
338
339
  return `${e.id}`;
339
340
  }
340
- function vi(e) {
341
- const t = Ie.c(139), {
342
- data: c,
343
- leftMargin: qt,
341
+ function Ai(e) {
342
+ const t = je.c(140), {
343
+ data: r,
344
+ leftMargin: Jt,
344
345
  rightMargin: ae,
345
- topMargin: Ut,
346
- bottomMargin: Jt,
346
+ topMargin: Kt,
347
+ bottomMargin: Qt,
347
348
  dotColors: I,
348
- suffix: Xt,
349
+ suffix: Gt,
349
350
  prefix: ct,
350
- barPadding: Lt,
351
- showValues: gt,
352
- showTicks: bt,
353
- truncateBy: xt,
354
- width: vt,
355
- height: b,
356
- radius: st,
357
- showLabels: $t,
358
- tooltip: k,
351
+ barPadding: jt,
352
+ showValues: wt,
353
+ showTicks: At,
354
+ truncateBy: ft,
355
+ width: kt,
356
+ height: v,
357
+ radius: at,
358
+ showLabels: Dt,
359
+ tooltip: A,
359
360
  onSeriesMouseOver: dt,
360
- maxValue: Kt,
361
- minValue: ft,
362
- onSeriesMouseClick: P,
363
- selectedColor: W,
361
+ maxValue: Zt,
362
+ minValue: ht,
363
+ onSeriesMouseClick: F,
364
+ selectedColor: P,
364
365
  arrowConnector: j,
365
- connectorStrokeWidth: Yt,
366
- maxBarThickness: wt,
367
- minBarThickness: It,
368
- resetSelectionOnDoubleClick: Qt,
366
+ connectorStrokeWidth: Ht,
367
+ maxBarThickness: Mt,
368
+ minBarThickness: Nt,
369
+ resetSelectionOnDoubleClick: _t,
369
370
  detailsOnClick: V,
370
- axisTitle: B,
371
- noOfTicks: Et,
372
- valueColor: Vt,
373
- styles: o,
371
+ axisTitle: W,
372
+ noOfTicks: Rt,
373
+ valueColor: Tt,
374
+ styles: a,
374
375
  classNames: n,
375
- labelOrder: y,
376
- refValues: jt,
377
- rtl: f,
376
+ labelOrder: g,
377
+ refValues: St,
378
+ rtl: h,
378
379
  animate: x,
379
- precision: H,
380
- customLayers: X,
380
+ precision: G,
381
+ customLayers: B,
381
382
  highlightedDataPoints: mt,
382
- dimmedOpacity: R
383
- } = e, z = qt === void 0 ? 100 : qt, Gt = ae === void 0 ? 40 : ae, Nt = Ut === void 0 ? 20 : Ut, Ht = Jt === void 0 ? 10 : Jt, ie = ve(null);
384
- let Dt;
385
- t[0] !== x.amount || t[1] !== x.once ? (Dt = {
383
+ dimmedOpacity: H,
384
+ locale: pt
385
+ } = e, R = Jt === void 0 ? 100 : Jt, te = ae === void 0 ? 40 : ae, Ct = Kt === void 0 ? 20 : Kt, zt = Qt === void 0 ? 10 : Qt, oe = we(null);
386
+ let Ot;
387
+ t[0] !== x.amount || t[1] !== x.once ? (Ot = {
386
388
  once: x.once,
387
389
  amount: x.amount
388
- }, t[0] = x.amount, t[1] = x.once, t[2] = Dt) : Dt = t[2];
389
- const v = Ye(ie, Dt), Zt = B ? Nt + 25 : Nt;
390
- let p;
391
- t[3] !== Ht || t[4] !== z || t[5] !== Gt || t[6] !== Zt ? (p = {
392
- top: Zt,
393
- bottom: Ht,
394
- left: z,
395
- right: Gt
396
- }, t[3] = Ht, t[4] = z, t[5] = Gt, t[6] = Zt, t[7] = p) : p = t[7];
397
- const a = p, N = vt - a.left - a.right, q = b - a.top - a.bottom, [Tt, _t] = Ot(void 0), [Y, te] = Ot(void 0), [ht, St] = Ot(void 0), [Ft, Pt] = Ot(void 0);
398
- let pt;
399
- if (t[8] !== c || t[9] !== y) {
400
- const m = /* @__PURE__ */ new Set(), w = c.map((h, rt) => {
401
- const s = y ? `${h.label}` : `${rt}`;
402
- return m.add(s), {
403
- ...h,
404
- id: s
390
+ }, t[0] = x.amount, t[1] = x.once, t[2] = Ot) : Ot = t[2];
391
+ const k = Ge(oe, Ot), b = W ? Ct + 25 : Ct;
392
+ let f;
393
+ t[3] !== zt || t[4] !== R || t[5] !== te || t[6] !== b ? (f = {
394
+ top: b,
395
+ bottom: zt,
396
+ left: R,
397
+ right: te
398
+ }, t[3] = zt, t[4] = R, t[5] = te, t[6] = b, t[7] = f) : f = t[7];
399
+ const s = f, D = kt - s.left - s.right, ot = v - s.top - s.bottom, [Ft, ee] = Vt(void 0), [X, Pt] = Vt(void 0), [yt, ie] = Vt(void 0), [gt, Wt] = Vt(void 0);
400
+ let Bt;
401
+ if (t[8] !== r || t[9] !== g) {
402
+ const u = /* @__PURE__ */ new Set(), w = r.map((p, st) => {
403
+ const o = g ? `${p.label}` : `${st}`;
404
+ return u.add(o), {
405
+ ...p,
406
+ id: o
405
407
  };
406
- }), yt = y ? y.filter((h) => !m.has(h)) : [];
408
+ }), bt = g ? g.filter((p) => !u.has(p)) : [];
407
409
  let C;
408
- t[11] !== c[0] ? (C = (h) => ({
409
- id: h,
410
- label: h,
411
- x: Array(c[0].x.length).fill(null)
412
- }), t[11] = c[0], t[12] = C) : C = t[12], pt = [...w, ...yt.map(C)], t[8] = c, t[9] = y, t[10] = pt;
410
+ t[11] !== r[0] ? (C = (p) => ({
411
+ id: p,
412
+ label: p,
413
+ x: Array(r[0].x.length).fill(null)
414
+ }), t[11] = r[0], t[12] = C) : C = t[12], Bt = [...w, ...bt.map(C)], t[8] = r, t[9] = g, t[10] = Bt;
413
415
  } else
414
- pt = t[10];
415
- const O = pt;
416
+ Bt = t[10];
417
+ const O = Bt;
416
418
  let lt;
417
- t[13] !== O || t[14] !== y ? (lt = y ?? O.map(ji), t[13] = O, t[14] = y, t[15] = lt) : lt = t[15];
418
- const Rt = lt;
419
- let U, J, K, Q, Z, D, T, M, E, _, tt, et, L, $, it;
420
- if (t[16] !== x || t[17] !== j || t[18] !== B || t[19] !== Rt || t[20] !== Lt || t[21] !== n?.dataConnectors || t[22] !== n?.graphObjectValues || t[23] !== n?.xAxis?.gridLines || t[24] !== n?.xAxis?.labels || t[25] !== n?.xAxis?.title || t[26] !== n?.yAxis?.gridLines || t[27] !== n?.yAxis?.labels || t[28] !== Yt || t[29] !== X || t[30] !== O || t[31] !== V || t[32] !== R || t[33] !== I || t[34] !== q || t[35] !== N || t[36] !== b || t[37] !== mt || t[38] !== v || t[39] !== a.bottom || t[40] !== a.left || t[41] !== a.top || t[42] !== wt || t[43] !== Kt || t[44] !== It || t[45] !== ft || t[46] !== Y || t[47] !== Et || t[48] !== P || t[49] !== dt || t[50] !== H || t[51] !== ct || t[52] !== st || t[53] !== jt || t[54] !== Qt || t[55] !== f || t[56] !== W || t[57] !== $t || t[58] !== bt || t[59] !== gt || t[60] !== o?.dataConnectors || t[61] !== o?.graphObjectValues || t[62] !== o?.xAxis?.gridLines || t[63] !== o?.xAxis?.labels || t[64] !== o?.xAxis?.title || t[65] !== o?.yAxis?.gridLines || t[66] !== o?.yAxis?.labels || t[67] !== Xt || t[68] !== Nt || t[69] !== xt || t[70] !== Vt || t[71] !== vt) {
421
- const m = Be().domain([ft, Kt]).range([0, N]).nice(), w = Xe().domain(Rt).range([0, It ? Math.max(q, It * O.length) : wt ? Math.min(q, wt * O.length) : q]).paddingInner(Lt), yt = m.ticks(Et);
422
- J = Wt.svg, E = `${vt}px`, _ = `${b}px`, tt = `0 0 ${vt} ${b}`, et = "ltr", L = ie, t[87] !== j ? ($ = j ? /* @__PURE__ */ i.jsx("defs", { children: /* @__PURE__ */ i.jsx("marker", { id: "arrow", viewBox: "0 0 10 10", refX: "10", refY: "5", markerWidth: "6", markerHeight: "6", orient: "auto-start-reverse", children: /* @__PURE__ */ i.jsx("path", { d: "M 0 0 L 10 5 L 0 10 z", className: "fill-primary-gray-600 dark:fill-primary-gray-300" }) }) }) : null, t[87] = j, t[88] = $) : $ = t[88], Q = `translate(${a.left},${a.top})`, Z = bt ? /* @__PURE__ */ i.jsx(Qe, { values: yt.filter(Vi), x: yt.filter(Ii).map((r) => m(r)), y1: 0 - Nt, y2: q + a.bottom, styles: {
423
- gridLines: o?.xAxis?.gridLines,
424
- labels: o?.xAxis?.labels
419
+ t[13] !== O || t[14] !== g ? (lt = g ?? O.map(Ni), t[13] = O, t[14] = g, t[15] = lt) : lt = t[15];
420
+ const qt = lt;
421
+ let z, q, U, J, K, N, T, M, Y, Q, Z, _, L, $, tt;
422
+ if (t[16] !== x || t[17] !== j || t[18] !== W || t[19] !== qt || t[20] !== jt || t[21] !== n?.dataConnectors || t[22] !== n?.graphObjectValues || t[23] !== n?.xAxis?.gridLines || t[24] !== n?.xAxis?.labels || t[25] !== n?.xAxis?.title || t[26] !== n?.yAxis?.gridLines || t[27] !== n?.yAxis?.labels || t[28] !== Ht || t[29] !== B || t[30] !== O || t[31] !== V || t[32] !== H || t[33] !== I || t[34] !== ot || t[35] !== D || t[36] !== v || t[37] !== mt || t[38] !== k || t[39] !== pt || t[40] !== s.bottom || t[41] !== s.left || t[42] !== s.top || t[43] !== Mt || t[44] !== Zt || t[45] !== Nt || t[46] !== ht || t[47] !== X || t[48] !== Rt || t[49] !== F || t[50] !== dt || t[51] !== G || t[52] !== ct || t[53] !== at || t[54] !== St || t[55] !== _t || t[56] !== h || t[57] !== P || t[58] !== Dt || t[59] !== At || t[60] !== wt || t[61] !== a?.dataConnectors || t[62] !== a?.graphObjectValues || t[63] !== a?.xAxis?.gridLines || t[64] !== a?.xAxis?.labels || t[65] !== a?.xAxis?.title || t[66] !== a?.yAxis?.gridLines || t[67] !== a?.yAxis?.labels || t[68] !== Gt || t[69] !== Ct || t[70] !== ft || t[71] !== Tt || t[72] !== kt) {
423
+ const u = Ye().domain([ht, Zt]).range([0, D]).nice(), w = Ee().domain(qt).range([0, Nt ? Math.max(ot, Nt * O.length) : Mt ? Math.min(ot, Mt * O.length) : ot]).paddingInner(jt), bt = u.ticks(Rt);
424
+ q = Yt.svg, Y = `${kt}px`, Q = `${v}px`, Z = `0 0 ${kt} ${v}`, _ = "ltr", L = oe, t[88] !== j ? ($ = j ? /* @__PURE__ */ i.jsx("defs", { children: /* @__PURE__ */ i.jsx("marker", { id: "arrow", viewBox: "0 0 10 10", refX: "10", refY: "5", markerWidth: "6", markerHeight: "6", orient: "auto-start-reverse", children: /* @__PURE__ */ i.jsx("path", { d: "M 0 0 L 10 5 L 0 10 z", className: "fill-primary-gray-600 dark:fill-primary-gray-300" }) }) }) : null, t[88] = j, t[89] = $) : $ = t[89], J = `translate(${s.left},${s.top})`, K = At ? /* @__PURE__ */ i.jsx(_e, { values: bt.filter(Di), x: bt.filter(ji).map((l) => u(l)), y1: 0 - Ct, y2: ot + s.bottom, styles: {
425
+ gridLines: a?.xAxis?.gridLines,
426
+ labels: a?.xAxis?.labels
425
427
  }, classNames: {
426
428
  gridLines: n?.xAxis?.gridLines,
427
429
  labels: n?.xAxis?.labels
428
- }, suffix: Xt, prefix: ct, labelType: "secondary", showGridLines: !0, precision: H }) : null;
429
- const C = N / 2, h = 0 - a.top + 15, rt = o?.xAxis?.title, s = n?.xAxis?.title;
430
- t[89] !== B || t[90] !== C || t[91] !== h || t[92] !== rt || t[93] !== s ? (D = /* @__PURE__ */ i.jsx(Fe, { x: C, y: h, style: rt, className: s, text: B }), t[89] = B, t[90] = C, t[91] = h, t[92] = rt, t[93] = s, t[94] = D) : D = t[94];
431
- const zt = o?.yAxis?.gridLines;
432
- let kt;
433
- t[95] !== zt ? (kt = {
434
- gridLines: zt
435
- }, t[95] = zt, t[96] = kt) : kt = t[96];
436
- const ee = n?.yAxis?.gridLines;
437
- let Mt;
438
- t[97] !== ee ? (Mt = {
439
- gridLines: ee
440
- }, t[97] = ee, t[98] = Mt) : Mt = t[98], T = /* @__PURE__ */ i.jsx(Pe, { y: O.map((r) => w(`${r.id}`) + w.bandwidth() / 2), x1: 0, x2: N, styles: kt, classNames: Mt, labelType: "secondary", showGridLines: !0, labelPos: "vertical", precision: H }), t[99] !== X ? (M = X.filter($i).map(Li), t[99] = X, t[100] = M) : M = t[100], U = Ee, it = O.map((r) => /* @__PURE__ */ i.jsxs(Wt.g, { className: "undp-viz-g-with-hover", variants: {
430
+ }, suffix: Gt, prefix: ct, labelType: "secondary", showGridLines: !0, precision: G, locale: pt }) : null;
431
+ const C = D / 2, p = 0 - s.top + 15, st = a?.xAxis?.title, o = n?.xAxis?.title;
432
+ t[90] !== W || t[91] !== C || t[92] !== p || t[93] !== st || t[94] !== o ? (N = /* @__PURE__ */ i.jsx(We, { x: C, y: p, style: st, className: o, text: W }), t[90] = W, t[91] = C, t[92] = p, t[93] = st, t[94] = o, t[95] = N) : N = t[95];
433
+ const Ut = a?.yAxis?.gridLines;
434
+ let Xt;
435
+ t[96] !== Ut ? (Xt = {
436
+ gridLines: Ut
437
+ }, t[96] = Ut, t[97] = Xt) : Xt = t[97];
438
+ const $t = n?.yAxis?.gridLines;
439
+ let ne;
440
+ t[98] !== $t ? (ne = {
441
+ gridLines: $t
442
+ }, t[98] = $t, t[99] = ne) : ne = t[99], T = /* @__PURE__ */ i.jsx(Be, { y: O.map((l) => w(`${l.id}`) + w.bandwidth() / 2), x1: 0, x2: D, styles: Xt, classNames: ne, labelType: "secondary", showGridLines: !0, labelPos: "vertical", precision: G, locale: pt }), t[100] !== B ? (M = B.filter(Vi).map(Ii), t[100] = B, t[101] = M) : M = t[101], z = He, tt = O.map((l) => /* @__PURE__ */ i.jsxs(Yt.g, { className: "undp-viz-g-with-hover", variants: {
441
443
  initial: {
442
444
  x: 0,
443
- y: w(`${r.id}`) + w.bandwidth() / 2,
444
- opacity: mt.length !== 0 ? mt.indexOf(r.label) !== -1 ? 0.85 : R : 0.85
445
+ y: w(`${l.id}`) + w.bandwidth() / 2,
446
+ opacity: mt.length !== 0 ? mt.indexOf(l.label) !== -1 ? 0.85 : H : 0.85
445
447
  },
446
448
  whileInView: {
447
449
  x: 0,
448
- y: w(`${r.id}`) + w.bandwidth() / 2,
449
- opacity: mt.length !== 0 ? mt.indexOf(r.label) !== -1 ? 0.85 : R : 0.85,
450
+ y: w(`${l.id}`) + w.bandwidth() / 2,
451
+ opacity: mt.length !== 0 ? mt.indexOf(l.label) !== -1 ? 0.85 : H : 0.85,
450
452
  transition: {
451
453
  duration: x.duration
452
454
  }
453
455
  }
454
- }, initial: "initial", animate: v ? "whileInView" : "initial", exit: {
456
+ }, initial: "initial", animate: k ? "whileInView" : "initial", exit: {
455
457
  opacity: 0,
456
458
  transition: {
457
459
  duration: x.duration
458
460
  }
459
461
  }, children: [
460
- $t ? /* @__PURE__ */ i.jsx(Ze, { value: `${r.label}`.length < xt ? `${r.label}` : `${`${r.label}`.substring(0, xt)}...`, y: 0 - w.bandwidth() / 2, x: 0 - a.left, width: a.left, height: w.bandwidth(), alignment: "right", style: o?.yAxis?.labels, className: n?.yAxis?.labels, animate: x, isInView: v }) : null,
461
- /* @__PURE__ */ i.jsx(Wt.line, { y1: 0, y2: 0, style: {
462
- strokeWidth: Yt,
463
- ...o?.dataConnectors || {},
464
- opacity: W ? 0.3 : 1
465
- }, className: be("stroke-primary-gray-600 dark:stroke-primary-gray-300", n?.dataConnectors), markerEnd: j && r.x.indexOf(Math.min(...r.x.filter(Oi))) === 0 ? "url(#arrow)" : "", markerStart: j && r.x.indexOf(Math.min(...r.x.filter(Ci))) === r.x.length - 1 ? "url(#arrow)" : "", exit: {
462
+ Dt ? /* @__PURE__ */ i.jsx(ti, { value: `${l.label}`.length < ft ? `${l.label}` : `${`${l.label}`.substring(0, ft)}...`, y: 0 - w.bandwidth() / 2, x: 0 - s.left, width: s.left, height: w.bandwidth(), alignment: "right", style: a?.yAxis?.labels, className: n?.yAxis?.labels, animate: x, isInView: k }) : null,
463
+ /* @__PURE__ */ i.jsx(Yt.line, { y1: 0, y2: 0, style: {
464
+ strokeWidth: Ht,
465
+ ...a?.dataConnectors || {},
466
+ opacity: P ? 0.3 : 1
467
+ }, className: ve("stroke-primary-gray-600 dark:stroke-primary-gray-300", n?.dataConnectors), markerEnd: j && l.x.indexOf(Math.min(...l.x.filter($i))) === 0 ? "url(#arrow)" : "", markerStart: j && l.x.indexOf(Math.min(...l.x.filter(Li))) === l.x.length - 1 ? "url(#arrow)" : "", exit: {
466
468
  opacity: 0,
467
469
  transition: {
468
470
  duration: x.duration
@@ -473,39 +475,39 @@ function vi(e) {
473
475
  x2: 0
474
476
  },
475
477
  whileInView: {
476
- x1: m(Math.min(...r.x.filter(Mi))) + st,
477
- x2: m(Math.max(...r.x.filter(ki))) - st,
478
+ x1: u(Math.min(...l.x.filter(Oi))) + at,
479
+ x2: u(Math.max(...l.x.filter(Ci))) - at,
478
480
  transition: {
479
481
  duration: x.duration
480
482
  }
481
483
  }
482
- }, initial: "initial", animate: v ? "whileInView" : "initial" }),
483
- r.x.map((A, F) => /* @__PURE__ */ i.jsx(Wt.g, { onMouseEnter: (l) => {
484
- _t({
485
- ...r,
486
- xIndex: F
487
- }), Pt(l.clientY), St(l.clientX), dt?.({
488
- ...r,
489
- xIndex: F
484
+ }, initial: "initial", animate: k ? "whileInView" : "initial" }),
485
+ l.x.map((xt, y) => /* @__PURE__ */ i.jsx(Yt.g, { onMouseEnter: (c) => {
486
+ ee({
487
+ ...l,
488
+ xIndex: y
489
+ }), Wt(c.clientY), ie(c.clientX), dt?.({
490
+ ...l,
491
+ xIndex: y
490
492
  });
491
493
  }, onClick: () => {
492
- (P || V) && (Te(Y, {
493
- ...r,
494
- xIndex: F
495
- }) && Qt ? (te(void 0), P?.(void 0)) : (te({
496
- ...r,
497
- xIndex: F
498
- }), P && P({
499
- ...r,
500
- xIndex: F
494
+ (F || V) && (Fe(X, {
495
+ ...l,
496
+ xIndex: y
497
+ }) && _t ? (Pt(void 0), F?.(void 0)) : (Pt({
498
+ ...l,
499
+ xIndex: y
500
+ }), F && F({
501
+ ...l,
502
+ xIndex: y
501
503
  })));
502
- }, onMouseMove: (l) => {
503
- _t({
504
- ...r,
505
- xIndex: F
506
- }), Pt(l.clientY), St(l.clientX);
504
+ }, onMouseMove: (c) => {
505
+ ee({
506
+ ...l,
507
+ xIndex: y
508
+ }), Wt(c.clientY), ie(c.clientX);
507
509
  }, onMouseLeave: () => {
508
- _t(void 0), St(void 0), Pt(void 0), dt?.(void 0);
510
+ ee(void 0), ie(void 0), Wt(void 0), dt?.(void 0);
509
511
  }, exit: {
510
512
  opacity: 0,
511
513
  transition: {
@@ -513,21 +515,21 @@ function vi(e) {
513
515
  }
514
516
  }, variants: {
515
517
  initial: {
516
- opacity: W ? I[F] === W ? 1 : 0.3 : 1
518
+ opacity: P ? I[y] === P ? 1 : 0.3 : 1
517
519
  },
518
520
  whileInView: {
519
- opacity: W ? I[F] === W ? 1 : 0.3 : 1,
521
+ opacity: P ? I[y] === P ? 1 : 0.3 : 1,
520
522
  transition: {
521
523
  duration: x.duration
522
524
  }
523
525
  }
524
- }, initial: "initial", animate: v ? "whileInView" : "initial", children: Bt(A) ? null : /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
525
- /* @__PURE__ */ i.jsx(Wt.circle, { cy: 0, r: st, style: {
526
- fill: I[F],
526
+ }, initial: "initial", animate: k ? "whileInView" : "initial", children: Et(xt) ? null : /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
527
+ /* @__PURE__ */ i.jsx(Yt.circle, { cy: 0, r: at, style: {
528
+ fill: I[y],
527
529
  fillOpacity: 0.85,
528
- stroke: I[F],
530
+ stroke: I[y],
529
531
  strokeWidth: 1,
530
- opacity: Bt(A) ? 0 : 1
532
+ opacity: Et(xt) ? 0 : 1
531
533
  }, exit: {
532
534
  opacity: 0,
533
535
  transition: {
@@ -535,273 +537,268 @@ function vi(e) {
535
537
  }
536
538
  }, variants: {
537
539
  initial: {
538
- cx: m(0),
540
+ cx: u(0),
539
541
  opacity: 0
540
542
  },
541
543
  whileInView: {
542
- cx: m(A || 0),
543
- opacity: Bt(A) ? 0 : 1,
544
+ cx: u(xt || 0),
545
+ opacity: Et(xt) ? 0 : 1,
544
546
  transition: {
545
547
  duration: x.duration
546
548
  }
547
549
  }
548
- }, initial: "initial", animate: v ? "whileInView" : "initial" }),
549
- gt ? /* @__PURE__ */ i.jsx(Wt.text, { y: 0, style: {
550
+ }, initial: "initial", animate: k ? "whileInView" : "initial" }),
551
+ wt ? /* @__PURE__ */ i.jsx(Yt.text, { y: 0, style: {
550
552
  textAnchor: "middle",
551
- ...o?.graphObjectValues || {}
552
- }, dx: 0, dy: 0 - st - 3, className: be("graph-value text-sm font-bold", Bt(A) ? "0opacity-0" : "opacity-100", n?.graphObjectValues), exit: {
553
+ ...a?.graphObjectValues || {}
554
+ }, dx: 0, dy: 0 - at - 3, className: ve("graph-value text-sm font-bold", Et(xt) ? "0opacity-0" : "opacity-100", n?.graphObjectValues), exit: {
553
555
  opacity: 0,
554
556
  transition: {
555
557
  duration: x.duration
556
558
  }
557
559
  }, variants: {
558
560
  initial: {
559
- x: m(0),
561
+ x: u(0),
560
562
  opacity: 0,
561
- fill: Vt || I[F]
563
+ fill: Tt || I[y]
562
564
  },
563
565
  whileInView: {
564
- x: m(A || 0),
565
- fill: Vt || I[F],
566
+ x: u(xt || 0),
567
+ fill: Tt || I[y],
566
568
  opacity: 1,
567
569
  transition: {
568
570
  duration: x.duration
569
571
  }
570
572
  }
571
- }, initial: "initial", animate: v ? "whileInView" : "initial", children: $e(A, "NA", H, ct, Xt) }) : null
572
- ] }) }, F))
573
- ] }, r.label)), K = jt ? /* @__PURE__ */ i.jsx(i.Fragment, { children: jt.map((r, A) => /* @__PURE__ */ i.jsx(Je, { text: r.text, color: r.color, x: m(r.value), y1: 0 - a.top, y2: q + a.bottom, textSide: m(r.value) > N * 0.75 || f ? "left" : "right", classNames: r.classNames, styles: r.styles, animate: x, isInView: v }, A)) }) : null, t[16] = x, t[17] = j, t[18] = B, t[19] = Rt, t[20] = Lt, t[21] = n?.dataConnectors, t[22] = n?.graphObjectValues, t[23] = n?.xAxis?.gridLines, t[24] = n?.xAxis?.labels, t[25] = n?.xAxis?.title, t[26] = n?.yAxis?.gridLines, t[27] = n?.yAxis?.labels, t[28] = Yt, t[29] = X, t[30] = O, t[31] = V, t[32] = R, t[33] = I, t[34] = q, t[35] = N, t[36] = b, t[37] = mt, t[38] = v, t[39] = a.bottom, t[40] = a.left, t[41] = a.top, t[42] = wt, t[43] = Kt, t[44] = It, t[45] = ft, t[46] = Y, t[47] = Et, t[48] = P, t[49] = dt, t[50] = H, t[51] = ct, t[52] = st, t[53] = jt, t[54] = Qt, t[55] = f, t[56] = W, t[57] = $t, t[58] = bt, t[59] = gt, t[60] = o?.dataConnectors, t[61] = o?.graphObjectValues, t[62] = o?.xAxis?.gridLines, t[63] = o?.xAxis?.labels, t[64] = o?.xAxis?.title, t[65] = o?.yAxis?.gridLines, t[66] = o?.yAxis?.labels, t[67] = Xt, t[68] = Nt, t[69] = xt, t[70] = Vt, t[71] = vt, t[72] = U, t[73] = J, t[74] = K, t[75] = Q, t[76] = Z, t[77] = D, t[78] = T, t[79] = M, t[80] = E, t[81] = _, t[82] = tt, t[83] = et, t[84] = L, t[85] = $, t[86] = it;
573
+ }, initial: "initial", animate: k ? "whileInView" : "initial", children: Ve(xt, void 0, G, ct, Gt, pt) }) : null
574
+ ] }) }, y))
575
+ ] }, l.label)), U = St ? /* @__PURE__ */ i.jsx(i.Fragment, { children: St.map((l, xt) => /* @__PURE__ */ i.jsx(Qe, { text: l.text, color: l.color, x: u(l.value), y1: 0 - s.top, y2: ot + s.bottom, textSide: u(l.value) > D * 0.75 || h ? "left" : "right", classNames: l.classNames, styles: l.styles, animate: x, isInView: k }, xt)) }) : null, t[16] = x, t[17] = j, t[18] = W, t[19] = qt, t[20] = jt, t[21] = n?.dataConnectors, t[22] = n?.graphObjectValues, t[23] = n?.xAxis?.gridLines, t[24] = n?.xAxis?.labels, t[25] = n?.xAxis?.title, t[26] = n?.yAxis?.gridLines, t[27] = n?.yAxis?.labels, t[28] = Ht, t[29] = B, t[30] = O, t[31] = V, t[32] = H, t[33] = I, t[34] = ot, t[35] = D, t[36] = v, t[37] = mt, t[38] = k, t[39] = pt, t[40] = s.bottom, t[41] = s.left, t[42] = s.top, t[43] = Mt, t[44] = Zt, t[45] = Nt, t[46] = ht, t[47] = X, t[48] = Rt, t[49] = F, t[50] = dt, t[51] = G, t[52] = ct, t[53] = at, t[54] = St, t[55] = _t, t[56] = h, t[57] = P, t[58] = Dt, t[59] = At, t[60] = wt, t[61] = a?.dataConnectors, t[62] = a?.graphObjectValues, t[63] = a?.xAxis?.gridLines, t[64] = a?.xAxis?.labels, t[65] = a?.xAxis?.title, t[66] = a?.yAxis?.gridLines, t[67] = a?.yAxis?.labels, t[68] = Gt, t[69] = Ct, t[70] = ft, t[71] = Tt, t[72] = kt, t[73] = z, t[74] = q, t[75] = U, t[76] = J, t[77] = K, t[78] = N, t[79] = T, t[80] = M, t[81] = Y, t[82] = Q, t[83] = Z, t[84] = _, t[85] = L, t[86] = $, t[87] = tt;
574
576
  } else
575
- U = t[72], J = t[73], K = t[74], Q = t[75], Z = t[76], D = t[77], T = t[78], M = t[79], E = t[80], _ = t[81], tt = t[82], et = t[83], L = t[84], $ = t[85], it = t[86];
576
- let nt;
577
- t[101] !== U || t[102] !== K || t[103] !== it ? (nt = /* @__PURE__ */ i.jsxs(U, { children: [
578
- it,
579
- K
580
- ] }), t[101] = U, t[102] = K, t[103] = it, t[104] = nt) : nt = t[104];
581
- let at;
582
- t[105] !== X ? (at = X.filter(Ai).map(wi), t[105] = X, t[106] = at) : at = t[106];
577
+ z = t[73], q = t[74], U = t[75], J = t[76], K = t[77], N = t[78], T = t[79], M = t[80], Y = t[81], Q = t[82], Z = t[83], _ = t[84], L = t[85], $ = t[86], tt = t[87];
578
+ let et;
579
+ t[102] !== z || t[103] !== U || t[104] !== tt ? (et = /* @__PURE__ */ i.jsxs(z, { children: [
580
+ tt,
581
+ U
582
+ ] }), t[102] = z, t[103] = U, t[104] = tt, t[105] = et) : et = t[105];
583
+ let it;
584
+ t[106] !== B ? (it = B.filter(Mi).map(ki), t[106] = B, t[107] = it) : it = t[107];
583
585
  let ut;
584
- t[107] !== Q || t[108] !== Z || t[109] !== D || t[110] !== T || t[111] !== M || t[112] !== nt || t[113] !== at ? (ut = /* @__PURE__ */ i.jsxs("g", { transform: Q, children: [
585
- Z,
586
- D,
586
+ t[108] !== J || t[109] !== K || t[110] !== N || t[111] !== T || t[112] !== M || t[113] !== et || t[114] !== it ? (ut = /* @__PURE__ */ i.jsxs("g", { transform: J, children: [
587
+ K,
588
+ N,
587
589
  T,
588
590
  M,
589
- nt,
590
- at
591
- ] }), t[107] = Q, t[108] = Z, t[109] = D, t[110] = T, t[111] = M, t[112] = nt, t[113] = at, t[114] = ut) : ut = t[114];
591
+ et,
592
+ it
593
+ ] }), t[108] = J, t[109] = K, t[110] = N, t[111] = T, t[112] = M, t[113] = et, t[114] = it, t[115] = ut) : ut = t[115];
592
594
  let S;
593
- t[115] !== J || t[116] !== E || t[117] !== _ || t[118] !== tt || t[119] !== et || t[120] !== L || t[121] !== $ || t[122] !== ut ? (S = /* @__PURE__ */ i.jsxs(J, { width: E, height: _, viewBox: tt, direction: et, ref: L, children: [
595
+ t[116] !== q || t[117] !== Y || t[118] !== Q || t[119] !== Z || t[120] !== _ || t[121] !== L || t[122] !== $ || t[123] !== ut ? (S = /* @__PURE__ */ i.jsxs(q, { width: Y, height: Q, viewBox: Z, direction: _, ref: L, children: [
594
596
  $,
595
597
  ut
596
- ] }), t[115] = J, t[116] = E, t[117] = _, t[118] = tt, t[119] = et, t[120] = L, t[121] = $, t[122] = ut, t[123] = S) : S = t[123];
597
- let G;
598
- t[124] !== n?.tooltip || t[125] !== ht || t[126] !== Ft || t[127] !== Tt || t[128] !== o?.tooltip || t[129] !== k ? (G = Tt && k && ht && Ft ? /* @__PURE__ */ i.jsx(Se, { data: Tt, body: k, xPos: ht, yPos: Ft, backgroundStyle: o?.tooltip, className: n?.tooltip }) : null, t[124] = n?.tooltip, t[125] = ht, t[126] = Ft, t[127] = Tt, t[128] = o?.tooltip, t[129] = k, t[130] = G) : G = t[130];
599
- let ot;
600
- t[131] !== n?.modal || t[132] !== V || t[133] !== Y ? (ot = V && Y !== void 0 ? /* @__PURE__ */ i.jsx(We, { body: V, data: Y, setData: te, className: n?.modal }) : null, t[131] = n?.modal, t[132] = V, t[133] = Y, t[134] = ot) : ot = t[134];
601
- let At;
602
- return t[135] !== S || t[136] !== G || t[137] !== ot ? (At = /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
598
+ ] }), t[116] = q, t[117] = Y, t[118] = Q, t[119] = Z, t[120] = _, t[121] = L, t[122] = $, t[123] = ut, t[124] = S) : S = t[124];
599
+ let E;
600
+ t[125] !== n?.tooltip || t[126] !== yt || t[127] !== gt || t[128] !== Ft || t[129] !== a?.tooltip || t[130] !== A ? (E = Ft && A && yt && gt ? /* @__PURE__ */ i.jsx(Pe, { data: Ft, body: A, xPos: yt, yPos: gt, backgroundStyle: a?.tooltip, className: n?.tooltip }) : null, t[125] = n?.tooltip, t[126] = yt, t[127] = gt, t[128] = Ft, t[129] = a?.tooltip, t[130] = A, t[131] = E) : E = t[131];
601
+ let nt;
602
+ t[132] !== n?.modal || t[133] !== V || t[134] !== X ? (nt = V && X !== void 0 ? /* @__PURE__ */ i.jsx(Xe, { body: V, data: X, setData: Pt, className: n?.modal }) : null, t[132] = n?.modal, t[133] = V, t[134] = X, t[135] = nt) : nt = t[135];
603
+ let Lt;
604
+ return t[136] !== S || t[137] !== E || t[138] !== nt ? (Lt = /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
603
605
  S,
604
- G,
605
- ot
606
- ] }), t[135] = S, t[136] = G, t[137] = ot, t[138] = At) : At = t[138], At;
606
+ E,
607
+ nt
608
+ ] }), t[136] = S, t[137] = E, t[138] = nt, t[139] = Lt) : Lt = t[139], Lt;
607
609
  }
608
- function wi(e) {
610
+ function ki(e) {
609
611
  return e.layer;
610
612
  }
611
- function Ai(e) {
613
+ function Mi(e) {
612
614
  return e.position === "after";
613
615
  }
614
- function ki(e) {
616
+ function Ci(e) {
615
617
  return e !== null;
616
618
  }
617
- function Mi(e) {
619
+ function Oi(e) {
618
620
  return e !== null;
619
621
  }
620
- function Ci(e) {
622
+ function Li(e) {
621
623
  return e !== null;
622
624
  }
623
- function Oi(e) {
625
+ function $i(e) {
624
626
  return e !== null;
625
627
  }
626
- function Li(e) {
628
+ function Ii(e) {
627
629
  return e.layer;
628
630
  }
629
- function $i(e) {
631
+ function Vi(e) {
630
632
  return e.position === "before";
631
633
  }
632
- function Ii(e, t) {
634
+ function ji(e, t) {
633
635
  return t !== 0;
634
636
  }
635
- function Vi(e, t) {
637
+ function Di(e, t) {
636
638
  return t !== 0;
637
639
  }
638
- function ji(e) {
640
+ function Ni(e) {
639
641
  return `${e.id}`;
640
642
  }
641
- function $n(e) {
642
- const t = Ie.c(131), {
643
- data: c,
644
- graphTitle: qt,
643
+ function Vn(e) {
644
+ const t = je.c(132), {
645
+ data: r,
646
+ graphTitle: Jt,
645
647
  colors: ae,
646
- sources: Ut,
647
- graphDescription: Jt,
648
+ sources: Kt,
649
+ graphDescription: Qt,
648
650
  barPadding: I,
649
- showTicks: Xt,
651
+ showTicks: Gt,
650
652
  leftMargin: ct,
651
- rightMargin: Lt,
652
- topMargin: gt,
653
- bottomMargin: bt,
654
- truncateBy: xt,
655
- height: vt,
656
- width: b,
657
- footNote: st,
658
- colorDomain: $t,
659
- colorLegendTitle: k,
653
+ rightMargin: jt,
654
+ topMargin: wt,
655
+ bottomMargin: At,
656
+ truncateBy: ft,
657
+ height: kt,
658
+ width: v,
659
+ footNote: at,
660
+ colorDomain: Dt,
661
+ colorLegendTitle: A,
660
662
  padding: dt,
661
- backgroundColor: Kt,
662
- radius: ft,
663
- tooltip: P,
664
- showLabels: W,
663
+ backgroundColor: Zt,
664
+ radius: ht,
665
+ tooltip: F,
666
+ showLabels: P,
665
667
  relativeHeight: j,
666
- onSeriesMouseOver: Yt,
667
- graphID: wt,
668
- suffix: It,
669
- prefix: Qt,
668
+ onSeriesMouseOver: Ht,
669
+ graphID: Mt,
670
+ suffix: Nt,
671
+ prefix: _t,
670
672
  maxValue: V,
671
- minValue: B,
672
- onSeriesMouseClick: Et,
673
- graphDownload: Vt,
674
- dataDownload: o,
673
+ minValue: W,
674
+ onSeriesMouseClick: Rt,
675
+ graphDownload: Tt,
676
+ dataDownload: a,
675
677
  showValues: n,
676
- sortParameter: y,
677
- arrowConnector: jt,
678
- connectorStrokeWidth: f,
678
+ sortParameter: g,
679
+ arrowConnector: St,
680
+ connectorStrokeWidth: h,
679
681
  language: x,
680
- minHeight: H,
681
- theme: X,
682
+ minHeight: G,
683
+ theme: B,
682
684
  maxBarThickness: mt,
683
- maxNumberOfBars: R,
684
- minBarThickness: z,
685
- ariaLabel: Gt,
686
- resetSelectionOnDoubleClick: Nt,
687
- detailsOnClick: Ht,
688
- axisTitle: ie,
689
- noOfTicks: Dt,
690
- valueColor: v,
691
- orientation: Zt,
692
- styles: p,
693
- classNames: a,
694
- labelOrder: N,
695
- refValues: q,
696
- filterNA: Tt,
697
- animate: _t,
698
- precision: Y,
699
- showColorScale: te,
700
- customLayers: ht,
701
- highlightedDataPoints: St,
702
- dimmedOpacity: Ft,
703
- timeline: Pt,
704
- sortData: pt,
705
- hideAxisLine: O
706
- } = e, lt = ae === void 0 ? li.light.categoricalColors.colors : ae, Rt = I === void 0 ? 0.25 : I, U = Xt === void 0 ? !0 : Xt, J = xt === void 0 ? 999 : xt, K = Kt === void 0 ? !0 : Kt, Q = ft === void 0 ? 3 : ft, Z = W === void 0 ? !0 : W, D = It === void 0 ? "" : It, T = Qt === void 0 ? "" : Qt, M = Vt === void 0 ? !1 : Vt, E = o === void 0 ? !1 : o, _ = n === void 0 ? !0 : n, tt = jt === void 0 ? !1 : jt, et = f === void 0 ? 2 : f, L = x === void 0 ? "en" : x, $ = H === void 0 ? 0 : H, it = X === void 0 ? "light" : X, nt = Nt === void 0 ? !0 : Nt, at = Dt === void 0 ? 5 : Dt, ut = Zt === void 0 ? "vertical" : Zt, S = Tt === void 0 ? !0 : Tt, G = _t === void 0 ? !1 : _t, ot = Y === void 0 ? 2 : Y, At = te === void 0 ? !0 : te;
707
- let m;
708
- t[0] !== ht ? (m = ht === void 0 ? [] : ht, t[0] = ht, t[1] = m) : m = t[1];
709
- const w = m;
710
- let yt;
711
- t[2] !== St ? (yt = St === void 0 ? [] : St, t[2] = St, t[3] = yt) : yt = t[3];
712
- const C = yt, h = Ft === void 0 ? 0.3 : Ft;
713
- let rt;
714
- t[4] !== Pt ? (rt = Pt === void 0 ? {
685
+ maxNumberOfBars: H,
686
+ minBarThickness: pt,
687
+ ariaLabel: R,
688
+ resetSelectionOnDoubleClick: te,
689
+ detailsOnClick: Ct,
690
+ axisTitle: zt,
691
+ noOfTicks: oe,
692
+ valueColor: Ot,
693
+ orientation: k,
694
+ styles: b,
695
+ classNames: f,
696
+ labelOrder: s,
697
+ refValues: D,
698
+ filterNA: ot,
699
+ animate: Ft,
700
+ precision: ee,
701
+ showColorScale: X,
702
+ customLayers: Pt,
703
+ highlightedDataPoints: yt,
704
+ dimmedOpacity: ie,
705
+ timeline: gt,
706
+ sortData: Wt,
707
+ hideAxisLine: Bt,
708
+ locale: O
709
+ } = e, lt = ae === void 0 ? ci.light.categoricalColors.colors : ae, qt = I === void 0 ? 0.25 : I, z = Gt === void 0 ? !0 : Gt, q = ft === void 0 ? 999 : ft, U = Zt === void 0 ? !0 : Zt, J = ht === void 0 ? 3 : ht, K = P === void 0 ? !0 : P, N = Nt === void 0 ? "" : Nt, T = _t === void 0 ? "" : _t, M = Tt === void 0 ? !1 : Tt, Y = a === void 0 ? !1 : a, Q = n === void 0 ? !0 : n, Z = St === void 0 ? !1 : St, _ = h === void 0 ? 2 : h, L = x === void 0 ? "en" : x, $ = G === void 0 ? 0 : G, tt = B === void 0 ? "light" : B, et = te === void 0 ? !0 : te, it = oe === void 0 ? 5 : oe, ut = k === void 0 ? "vertical" : k, S = ot === void 0 ? !0 : ot, E = Ft === void 0 ? !1 : Ft, nt = ee === void 0 ? 2 : ee, Lt = X === void 0 ? !0 : X;
710
+ let u;
711
+ t[0] !== Pt ? (u = Pt === void 0 ? [] : Pt, t[0] = Pt, t[1] = u) : u = t[1];
712
+ const w = u;
713
+ let bt;
714
+ t[2] !== yt ? (bt = yt === void 0 ? [] : yt, t[2] = yt, t[3] = bt) : bt = t[3];
715
+ const C = bt, p = ie === void 0 ? 0.3 : ie;
716
+ let st;
717
+ t[4] !== gt ? (st = gt === void 0 ? {
715
718
  enabled: !1,
716
719
  autoplay: !1,
717
720
  showOnlyActiveDate: !0
718
- } : Pt, t[4] = Pt, t[5] = rt) : rt = t[5];
719
- const s = rt, zt = O === void 0 ? !1 : O, [kt, ee] = Ot(0), [Mt, r] = Ot(0), [A, F] = Ot(s.autoplay);
720
- let l;
721
- if (t[6] !== c || t[7] !== s.dateFormat) {
722
- let d;
723
- t[9] !== s.dateFormat ? (d = (Ct) => He(`${Ct.date}`, s.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), t[9] = s.dateFormat, t[10] = d) : d = t[10], l = [...new Set(c.filter(Ki).map(d))], l.sort(Ji), t[6] = c, t[7] = s.dateFormat, t[8] = l;
721
+ } : gt, t[4] = gt, t[5] = st) : st = t[5];
722
+ const o = st, Ut = Bt === void 0 ? !1 : Bt, Xt = O === void 0 ? "en" : O, [$t, ne] = Vt(0), [l, xt] = Vt(0), [y, c] = Vt(o.autoplay);
723
+ let vt;
724
+ if (t[6] !== r || t[7] !== o.dateFormat) {
725
+ let m;
726
+ t[9] !== o.dateFormat ? (m = (It) => ze(`${It.date}`, o.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), t[9] = o.dateFormat, t[10] = m) : m = t[10], vt = [...new Set(r.filter(Zi).map(m))], vt.sort(Qi), t[6] = r, t[7] = o.dateFormat, t[8] = vt;
724
727
  } else
725
- l = t[8];
726
- const u = l, [g, ne] = Ot(s.autoplay ? 0 : u.length - 1), [we, Ge] = Ot(void 0), Ae = ve(null), Ve = ve(null);
727
- let ue, xe;
728
- t[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ue = () => {
729
- const d = new ResizeObserver((Ct) => {
730
- ee(Ct[0].target.clientWidth || 620), r(Ct[0].target.clientHeight || 480);
728
+ vt = t[8];
729
+ const d = vt, [rt, Ae] = Vt(o.autoplay ? 0 : d.length - 1), [ke, Re] = Vt(void 0), Me = we(null), De = we(null);
730
+ let xe, fe;
731
+ t[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (xe = () => {
732
+ const m = new ResizeObserver((It) => {
733
+ ne(It[0].target.clientWidth || 620), xt(It[0].target.clientHeight || 480);
731
734
  });
732
- return Ae.current && d.observe(Ae.current), () => d.disconnect();
733
- }, xe = [], t[11] = ue, t[12] = xe) : (ue = t[11], xe = t[12]), De(ue, xe);
734
- let fe, he;
735
- t[13] !== A || t[14] !== s.speed || t[15] !== u ? (fe = () => {
736
- const d = setInterval(() => {
737
- ne((Ct) => Ct < u.length - 1 ? Ct + 1 : 0);
738
- }, (s.speed || 2) * 1e3);
739
- return A || clearInterval(d), () => clearInterval(d);
740
- }, he = [u, A, s.speed], t[13] = A, t[14] = s.speed, t[15] = u, t[16] = fe, t[17] = he) : (fe = t[16], he = t[17]), De(fe, he);
741
- const ke = s.dateFormat || "yyyy";
742
- let pe;
743
- t[18] !== g || t[19] !== ke || t[20] !== s.showOnlyActiveDate || t[21] !== u ? (pe = Re(u, g, s.showOnlyActiveDate, ke), t[18] = g, t[19] = ke, t[20] = s.showOnlyActiveDate, t[21] = u, t[22] = pe) : pe = t[22];
744
- const ye = pe, Me = ut === "horizontal" ? vi : ri, Ce = a?.graphContainer, Oe = p?.graphContainer;
745
- let oe;
746
- t[23] !== a?.description || t[24] !== a?.title || t[25] !== c || t[26] !== E || t[27] !== Jt || t[28] !== M || t[29] !== qt || t[30] !== p?.description || t[31] !== p?.title || t[32] !== b ? (oe = qt || Jt || M || E ? /* @__PURE__ */ i.jsx(ei, { styles: {
747
- title: p?.title,
748
- description: p?.description
735
+ return Me.current && m.observe(Me.current), () => m.disconnect();
736
+ }, fe = [], t[11] = xe, t[12] = fe) : (xe = t[11], fe = t[12]), Se(xe, fe);
737
+ let he, pe;
738
+ t[13] !== y || t[14] !== o.speed || t[15] !== d ? (he = () => {
739
+ const m = setInterval(() => {
740
+ Ae((It) => It < d.length - 1 ? It + 1 : 0);
741
+ }, (o.speed || 2) * 1e3);
742
+ return y || clearInterval(m), () => clearInterval(m);
743
+ }, pe = [d, y, o.speed], t[13] = y, t[14] = o.speed, t[15] = d, t[16] = he, t[17] = pe) : (he = t[16], pe = t[17]), Se(he, pe);
744
+ const Ce = o.dateFormat || "yyyy";
745
+ let ye;
746
+ t[18] !== rt || t[19] !== Ce || t[20] !== o.showOnlyActiveDate || t[21] !== d ? (ye = qe(d, rt, o.showOnlyActiveDate, Ce), t[18] = rt, t[19] = Ce, t[20] = o.showOnlyActiveDate, t[21] = d, t[22] = ye) : ye = t[22];
747
+ const ge = ye, Oe = ut === "horizontal" ? Ai : di, Le = f?.graphContainer, $e = b?.graphContainer;
748
+ let le;
749
+ t[23] !== f?.description || t[24] !== f?.title || t[25] !== r || t[26] !== Y || t[27] !== Qt || t[28] !== M || t[29] !== Jt || t[30] !== b?.description || t[31] !== b?.title || t[32] !== v ? (le = Jt || Qt || M || Y ? /* @__PURE__ */ i.jsx(ni, { styles: {
750
+ title: b?.title,
751
+ description: b?.description
749
752
  }, classNames: {
750
- title: a?.title,
751
- description: a?.description
752
- }, graphTitle: qt, graphDescription: Jt, width: b, graphDownload: M ? Ve : void 0, dataDownload: E ? c.map(Ui).filter(qi).length > 0 ? c.map(zi).filter(Ri) : c.filter(Hi) : null }) : null, t[23] = a?.description, t[24] = a?.title, t[25] = c, t[26] = E, t[27] = Jt, t[28] = M, t[29] = qt, t[30] = p?.description, t[31] = p?.title, t[32] = b, t[33] = oe) : oe = t[33];
753
+ title: f?.title,
754
+ description: f?.description
755
+ }, graphTitle: Jt, graphDescription: Qt, width: v, graphDownload: M ? De : void 0, dataDownload: Y ? r.map(Ki).filter(Ji).length > 0 ? r.map(Ui).filter(qi) : r.filter(zi) : null }) : null, t[23] = f?.description, t[24] = f?.title, t[25] = r, t[26] = Y, t[27] = Qt, t[28] = M, t[29] = Jt, t[30] = b?.description, t[31] = b?.title, t[32] = v, t[33] = le) : le = t[33];
753
756
  let se;
754
- t[34] !== g || t[35] !== ye || t[36] !== A || t[37] !== s.enabled || t[38] !== u ? (se = s.enabled && u.length > 0 && ye ? /* @__PURE__ */ i.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
757
+ t[34] !== rt || t[35] !== ge || t[36] !== y || t[37] !== o.enabled || t[38] !== d ? (se = o.enabled && d.length > 0 && ge ? /* @__PURE__ */ i.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
755
758
  /* @__PURE__ */ i.jsx("button", { type: "button", onClick: () => {
756
- F(!A);
757
- }, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": A ? "Click to pause animation" : "Click to play animation", children: A ? /* @__PURE__ */ i.jsx(ii, {}) : /* @__PURE__ */ i.jsx(ni, {}) }),
758
- /* @__PURE__ */ i.jsx(ze, { min: u[0], max: u[u.length - 1], marks: ye, step: null, defaultValue: u[u.length - 1], value: u[g], onChangeComplete: (d) => {
759
- ne(u.indexOf(d));
760
- }, onChange: (d) => {
761
- ne(u.indexOf(d));
759
+ c(!y);
760
+ }, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": y ? "Click to pause animation" : "Click to play animation", children: y ? /* @__PURE__ */ i.jsx(ai, {}) : /* @__PURE__ */ i.jsx(oi, {}) }),
761
+ /* @__PURE__ */ i.jsx(Ue, { min: d[0], max: d[d.length - 1], marks: ge, step: null, defaultValue: d[d.length - 1], value: d[rt], onChangeComplete: (m) => {
762
+ Ae(d.indexOf(m));
763
+ }, onChange: (m) => {
764
+ Ae(d.indexOf(m));
762
765
  }, "aria-label": "Time slider. Use arrow keys to adjust selected time period." })
763
- ] }) : null, t[34] = g, t[35] = ye, t[36] = A, t[37] = s.enabled, t[38] = u, t[39] = se) : se = t[39];
764
- let le;
765
- t[40] !== a?.colorLegend || t[41] !== $t || t[42] !== k || t[43] !== lt || t[44] !== c.length || t[45] !== At || t[46] !== b ? (le = At && c.length > 0 ? /* @__PURE__ */ i.jsx(oi, { width: b, colorDomain: $t, colors: lt, colorLegendTitle: k, setSelectedColor: Ge, showNAColor: !1, className: a?.colorLegend }) : null, t[40] = a?.colorLegend, t[41] = $t, t[42] = k, t[43] = lt, t[44] = c.length, t[45] = At, t[46] = b, t[47] = le) : le = t[47];
766
+ ] }) : null, t[34] = rt, t[35] = ge, t[36] = y, t[37] = o.enabled, t[38] = d, t[39] = se) : se = t[39];
766
767
  let re;
767
- t[48] !== c.length ? (re = c.length === 0 && /* @__PURE__ */ i.jsx(si, {}), t[48] = c.length, t[49] = re) : re = t[49];
768
+ t[40] !== f?.colorLegend || t[41] !== Dt || t[42] !== A || t[43] !== lt || t[44] !== r.length || t[45] !== Lt || t[46] !== v ? (re = Lt && r.length > 0 ? /* @__PURE__ */ i.jsx(si, { width: v, colorDomain: Dt, colors: lt, colorLegendTitle: A, setSelectedColor: Re, showNAColor: !1, className: f?.colorLegend }) : null, t[40] = f?.colorLegend, t[41] = Dt, t[42] = A, t[43] = lt, t[44] = r.length, t[45] = Lt, t[46] = v, t[47] = re) : re = t[47];
768
769
  let ce;
769
- t[50] !== Me || t[51] !== G || t[52] !== tt || t[53] !== ie || t[54] !== Rt || t[55] !== bt || t[56] !== a || t[57] !== lt || t[58] !== et || t[59] !== w || t[60] !== c || t[61] !== Ht || t[62] !== h || t[63] !== S || t[64] !== zt || t[65] !== C || t[66] !== g || t[67] !== N || t[68] !== L || t[69] !== ct || t[70] !== mt || t[71] !== R || t[72] !== V || t[73] !== z || t[74] !== B || t[75] !== at || t[76] !== Et || t[77] !== Yt || t[78] !== ot || t[79] !== T || t[80] !== Q || t[81] !== q || t[82] !== nt || t[83] !== Lt || t[84] !== we || t[85] !== Z || t[86] !== U || t[87] !== _ || t[88] !== pt || t[89] !== y || t[90] !== p || t[91] !== D || t[92] !== Mt || t[93] !== kt || t[94] !== s.dateFormat || t[95] !== s.enabled || t[96] !== P || t[97] !== gt || t[98] !== J || t[99] !== u || t[100] !== v ? (ce = kt && Mt && c.length > 0 ? /* @__PURE__ */ i.jsx(Me, { hideAxisLine: zt, data: y !== void 0 ? y === "diff" ? je(Le(c, s.dateFormat || "yyyy").filter((d) => s.enabled ? `${d.date}` === Ne(new Date(u[g]), s.dateFormat || "yyyy") : d).filter((d) => S ? !d.x.every(Gi) : d), Ei, [pt || "asc"]).filter((d, Ct) => R ? Ct < R : !0) : je(Le(c, s.dateFormat || "yyyy").filter((d) => s.enabled ? `${d.date}` === Ne(new Date(u[g]), s.dateFormat || "yyyy") : d).filter((d) => S ? !d.x.every(Yi) : d), (d) => Bt(d.x[y]) ? -1 / 0 : d.x[y], [pt || "asc"]).filter((d, Ct) => R ? Ct < R : !0) : Le(c, s.dateFormat || "yyyy").filter((d) => S ? !d.x.every(Xi) : d).filter((d, Ct) => R ? Ct < R : !0), dotColors: lt, width: kt, height: Mt, radius: Q, barPadding: Rt, showTicks: U, leftMargin: ct, rightMargin: Lt, topMargin: gt, bottomMargin: bt, truncateBy: J, showLabels: Z, showValues: _, tooltip: P, suffix: D, prefix: T, onSeriesMouseOver: Yt, maxValue: Bt(V) ? Math.max(...c.map(Wi)) < 0 ? 0 : Math.max(...c.map(Fi)) : V, minValue: Bt(B) ? Math.min(...c.map(Ti)) > 0 ? 0 : Math.min(...c.map(Ni)) : B, onSeriesMouseClick: Et, selectedColor: we, arrowConnector: tt, connectorStrokeWidth: et, maxBarThickness: mt, minBarThickness: z, resetSelectionOnDoubleClick: nt, detailsOnClick: Ht, axisTitle: ie, noOfTicks: at, valueColor: v, styles: p, classNames: a, labelOrder: N, refValues: q, animate: G === !0 ? {
770
+ t[48] !== r.length ? (ce = r.length === 0 && /* @__PURE__ */ i.jsx(ri, {}), t[48] = r.length, t[49] = ce) : ce = t[49];
771
+ let de;
772
+ t[50] !== Oe || t[51] !== E || t[52] !== Z || t[53] !== zt || t[54] !== qt || t[55] !== At || t[56] !== f || t[57] !== lt || t[58] !== _ || t[59] !== w || t[60] !== r || t[61] !== Ct || t[62] !== p || t[63] !== S || t[64] !== Ut || t[65] !== C || t[66] !== rt || t[67] !== s || t[68] !== L || t[69] !== ct || t[70] !== Xt || t[71] !== mt || t[72] !== H || t[73] !== V || t[74] !== pt || t[75] !== W || t[76] !== it || t[77] !== Rt || t[78] !== Ht || t[79] !== nt || t[80] !== T || t[81] !== J || t[82] !== D || t[83] !== et || t[84] !== jt || t[85] !== ke || t[86] !== K || t[87] !== z || t[88] !== Q || t[89] !== Wt || t[90] !== g || t[91] !== b || t[92] !== N || t[93] !== l || t[94] !== $t || t[95] !== o.dateFormat || t[96] !== o.enabled || t[97] !== F || t[98] !== wt || t[99] !== q || t[100] !== d || t[101] !== Ot ? (de = $t && l && r.length > 0 ? /* @__PURE__ */ i.jsx(Oe, { hideAxisLine: Ut, data: g !== void 0 ? g === "diff" ? Ne(Ie(r, o.dateFormat || "yyyy").filter((m) => o.enabled ? `${m.date}` === Te(new Date(d[rt]), o.dateFormat || "yyyy") : m).filter((m) => S ? !m.x.every(Ri) : m), Hi, [Wt || "asc"]).filter((m, It) => H ? It < H : !0) : Ne(Ie(r, o.dateFormat || "yyyy").filter((m) => o.enabled ? `${m.date}` === Te(new Date(d[rt]), o.dateFormat || "yyyy") : m).filter((m) => S ? !m.x.every(Gi) : m), (m) => Et(m.x[g]) ? -1 / 0 : m.x[g], [Wt || "asc"]).filter((m, It) => H ? It < H : !0) : Ie(r, o.dateFormat || "yyyy").filter((m) => S ? !m.x.every(Ei) : m).filter((m, It) => H ? It < H : !0), dotColors: lt, width: $t, height: l, radius: J, barPadding: qt, showTicks: z, leftMargin: ct, rightMargin: jt, topMargin: wt, bottomMargin: At, truncateBy: q, showLabels: K, showValues: Q, tooltip: F, suffix: N, prefix: T, onSeriesMouseOver: Ht, maxValue: Et(V) ? Math.max(...r.map(Xi)) < 0 ? 0 : Math.max(...r.map(Wi)) : V, minValue: Et(W) ? Math.min(...r.map(Fi)) > 0 ? 0 : Math.min(...r.map(Ti)) : W, onSeriesMouseClick: Rt, selectedColor: ke, arrowConnector: Z, connectorStrokeWidth: _, maxBarThickness: mt, minBarThickness: pt, resetSelectionOnDoubleClick: et, detailsOnClick: Ct, axisTitle: zt, noOfTicks: it, valueColor: Ot, styles: b, classNames: f, labelOrder: s, refValues: D, animate: E === !0 ? {
770
773
  duration: 0.5,
771
774
  once: !0,
772
775
  amount: 0.5
773
- } : G || {
776
+ } : E || {
774
777
  duration: 0,
775
778
  once: !0,
776
779
  amount: 0
777
- }, precision: ot, customLayers: w, highlightedDataPoints: C, dimmedOpacity: h, rtl: L === "ar" || L === "he" }) : null, t[50] = Me, t[51] = G, t[52] = tt, t[53] = ie, t[54] = Rt, t[55] = bt, t[56] = a, t[57] = lt, t[58] = et, t[59] = w, t[60] = c, t[61] = Ht, t[62] = h, t[63] = S, t[64] = zt, t[65] = C, t[66] = g, t[67] = N, t[68] = L, t[69] = ct, t[70] = mt, t[71] = R, t[72] = V, t[73] = z, t[74] = B, t[75] = at, t[76] = Et, t[77] = Yt, t[78] = ot, t[79] = T, t[80] = Q, t[81] = q, t[82] = nt, t[83] = Lt, t[84] = we, t[85] = Z, t[86] = U, t[87] = _, t[88] = pt, t[89] = y, t[90] = p, t[91] = D, t[92] = Mt, t[93] = kt, t[94] = s.dateFormat, t[95] = s.enabled, t[96] = P, t[97] = gt, t[98] = J, t[99] = u, t[100] = v, t[101] = ce) : ce = t[101];
778
- let de;
779
- t[102] !== re || t[103] !== ce ? (de = /* @__PURE__ */ i.jsxs(_e, { ref: Ae, children: [
780
- re,
781
- ce
782
- ] }), t[102] = re, t[103] = ce, t[104] = de) : de = t[104];
780
+ }, precision: nt, customLayers: w, highlightedDataPoints: C, dimmedOpacity: p, rtl: L === "ar" || L === "he", locale: Xt }) : null, t[50] = Oe, t[51] = E, t[52] = Z, t[53] = zt, t[54] = qt, t[55] = At, t[56] = f, t[57] = lt, t[58] = _, t[59] = w, t[60] = r, t[61] = Ct, t[62] = p, t[63] = S, t[64] = Ut, t[65] = C, t[66] = rt, t[67] = s, t[68] = L, t[69] = ct, t[70] = Xt, t[71] = mt, t[72] = H, t[73] = V, t[74] = pt, t[75] = W, t[76] = it, t[77] = Rt, t[78] = Ht, t[79] = nt, t[80] = T, t[81] = J, t[82] = D, t[83] = et, t[84] = jt, t[85] = ke, t[86] = K, t[87] = z, t[88] = Q, t[89] = Wt, t[90] = g, t[91] = b, t[92] = N, t[93] = l, t[94] = $t, t[95] = o.dateFormat, t[96] = o.enabled, t[97] = F, t[98] = wt, t[99] = q, t[100] = d, t[101] = Ot, t[102] = de) : de = t[102];
783
781
  let me;
784
- t[105] !== a?.footnote || t[106] !== a?.source || t[107] !== st || t[108] !== Ut || t[109] !== p?.footnote || t[110] !== p?.source || t[111] !== b ? (me = Ut || st ? /* @__PURE__ */ i.jsx(ai, { styles: {
785
- footnote: p?.footnote,
786
- source: p?.source
782
+ t[103] !== ce || t[104] !== de ? (me = /* @__PURE__ */ i.jsxs(ei, { ref: Me, children: [
783
+ ce,
784
+ de
785
+ ] }), t[103] = ce, t[104] = de, t[105] = me) : me = t[105];
786
+ let ue;
787
+ t[106] !== f?.footnote || t[107] !== f?.source || t[108] !== at || t[109] !== Kt || t[110] !== b?.footnote || t[111] !== b?.source || t[112] !== v ? (ue = Kt || at ? /* @__PURE__ */ i.jsx(li, { styles: {
788
+ footnote: b?.footnote,
789
+ source: b?.source
787
790
  }, classNames: {
788
- footnote: a?.footnote,
789
- source: a?.source
790
- }, sources: Ut, footNote: st, width: b }) : null, t[105] = a?.footnote, t[106] = a?.source, t[107] = st, t[108] = Ut, t[109] = p?.footnote, t[110] = p?.source, t[111] = b, t[112] = me) : me = t[112];
791
- let ge;
792
- return t[113] !== Gt || t[114] !== K || t[115] !== wt || t[116] !== vt || t[117] !== L || t[118] !== $ || t[119] !== dt || t[120] !== j || t[121] !== Ce || t[122] !== Oe || t[123] !== oe || t[124] !== se || t[125] !== le || t[126] !== de || t[127] !== me || t[128] !== it || t[129] !== b ? (ge = /* @__PURE__ */ i.jsxs(ti, { className: Ce, style: Oe, id: wt, ref: Ve, "aria-label": Gt, backgroundColor: K, theme: it, language: L, minHeight: $, width: b, height: vt, relativeHeight: j, padding: dt, children: [
793
- oe,
794
- se,
791
+ footnote: f?.footnote,
792
+ source: f?.source
793
+ }, sources: Kt, footNote: at, width: v }) : null, t[106] = f?.footnote, t[107] = f?.source, t[108] = at, t[109] = Kt, t[110] = b?.footnote, t[111] = b?.source, t[112] = v, t[113] = ue) : ue = t[113];
794
+ let be;
795
+ return t[114] !== R || t[115] !== U || t[116] !== Mt || t[117] !== kt || t[118] !== L || t[119] !== $ || t[120] !== dt || t[121] !== j || t[122] !== Le || t[123] !== $e || t[124] !== le || t[125] !== se || t[126] !== re || t[127] !== me || t[128] !== ue || t[129] !== tt || t[130] !== v ? (be = /* @__PURE__ */ i.jsxs(ii, { className: Le, style: $e, id: Mt, ref: De, "aria-label": R, backgroundColor: U, theme: tt, language: L, minHeight: $, width: v, height: kt, relativeHeight: j, padding: dt, children: [
795
796
  le,
796
- de,
797
- me
798
- ] }), t[113] = Gt, t[114] = K, t[115] = wt, t[116] = vt, t[117] = L, t[118] = $, t[119] = dt, t[120] = j, t[121] = Ce, t[122] = Oe, t[123] = oe, t[124] = se, t[125] = le, t[126] = de, t[127] = me, t[128] = it, t[129] = b, t[130] = ge) : ge = t[130], ge;
799
- }
800
- function Ni(e) {
801
- return Math.min(...e.x.filter(Di));
802
- }
803
- function Di(e) {
804
- return e !== null;
797
+ se,
798
+ re,
799
+ me,
800
+ ue
801
+ ] }), t[114] = R, t[115] = U, t[116] = Mt, t[117] = kt, t[118] = L, t[119] = $, t[120] = dt, t[121] = j, t[122] = Le, t[123] = $e, t[124] = le, t[125] = se, t[126] = re, t[127] = me, t[128] = ue, t[129] = tt, t[130] = v, t[131] = be) : be = t[131], be;
805
802
  }
806
803
  function Ti(e) {
807
804
  return Math.min(...e.x.filter(Si));
@@ -810,7 +807,7 @@ function Si(e) {
810
807
  return e !== null;
811
808
  }
812
809
  function Fi(e) {
813
- return Math.max(...e.x.filter(Pi));
810
+ return Math.min(...e.x.filter(Pi));
814
811
  }
815
812
  function Pi(e) {
816
813
  return e !== null;
@@ -822,25 +819,25 @@ function Bi(e) {
822
819
  return e !== null;
823
820
  }
824
821
  function Xi(e) {
825
- return e == null;
822
+ return Math.max(...e.x.filter(Yi));
826
823
  }
827
824
  function Yi(e) {
828
- return e == null;
825
+ return e !== null;
829
826
  }
830
827
  function Ei(e) {
831
- return Bt(e.x[e.x.length - 1]) || Bt(e.x[0]) ? -1 / 0 : e.x[e.x.length - 1] - e.x[0];
828
+ return e == null;
832
829
  }
833
830
  function Gi(e) {
834
831
  return e == null;
835
832
  }
836
833
  function Hi(e) {
837
- return e !== void 0;
834
+ return Et(e.x[e.x.length - 1]) || Et(e.x[0]) ? -1 / 0 : e.x[e.x.length - 1] - e.x[0];
838
835
  }
839
836
  function Ri(e) {
840
- return e !== void 0;
837
+ return e == null;
841
838
  }
842
839
  function zi(e) {
843
- return e.data;
840
+ return e !== void 0;
844
841
  }
845
842
  function qi(e) {
846
843
  return e !== void 0;
@@ -848,13 +845,19 @@ function qi(e) {
848
845
  function Ui(e) {
849
846
  return e.data;
850
847
  }
851
- function Ji(e, t) {
852
- return e - t;
848
+ function Ji(e) {
849
+ return e !== void 0;
853
850
  }
854
851
  function Ki(e) {
852
+ return e.data;
853
+ }
854
+ function Qi(e, t) {
855
+ return e - t;
856
+ }
857
+ function Zi(e) {
855
858
  return e.date;
856
859
  }
857
860
  export {
858
- $n as DumbbellChart
861
+ Vn as DumbbellChart
859
862
  };
860
863
  //# sourceMappingURL=DumbbellChart.js.map