@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,277 +1,279 @@
1
- import { c as Ee, j as s, m as He } from "./index-CHPV5EwG-BCLAYDCV.js";
2
- import { useRef as Ie, useState as le, useEffect as Xe } from "react";
3
- import { p as j, f as Ue } from "./parse-Dv4of-PN.js";
4
- import { o as qe } from "./index-BZQYSqar.js";
5
- import { n as Ge } from "./numberFormattingFunction-14YCbkN2.js";
6
- import { T as Je } from "./Tooltip-CohiIbLZ.js";
7
- import { c as b } from "./checkIfNullOrUndefined-DmfiKkNw.js";
8
- import { C as Ke, g as Qe, A as Ze } from "./customArea-Cc2whe6P.js";
9
- import { A as _e } from "./AxisTitle-DGjX1_2v.js";
10
- import { A as ti } from "./Axis-RyGdzLrG.js";
11
- import { X as ei } from "./XTicksAndGridLines-BDmF9etl.js";
12
- import { a as ii } from "./ReferenceLine-CNEjAYvv.js";
13
- import { Y as oi } from "./YTicksAndGridLines-C3GW1xFG.js";
14
- import { H as ni } from "./index-D_dtv_T9.js";
15
- import { t as si } from "./time-vyz6Y89P.js";
16
- import { a as ai } from "./linear-DNXM5Pdl.js";
17
- import { l as ri, c as li } from "./line-DFlZsxI1.js";
18
- import { c as ci, s as mi, a as fi, m as di } from "./step-BrDul-H4.js";
19
- import { s as ui } from "./select-DKy99ogv.js";
20
- import { m as zt } from "./proxy--_f6k3NR.js";
21
- import { a as hi } from "./init-BhZylTFx.js";
22
- import { p as pi } from "./pointer-CWRWOsrb.js";
23
- import { u as gi } from "./use-in-view-DqvKAveg.js";
24
- import { GraphFooter as xi } from "./GraphFooter.js";
25
- import { GraphHeader as yi } from "./GraphHeader.js";
26
- import { ColorLegend as vi } from "./ColorLegend.js";
27
- import { Colors as wi } from "./Colors.js";
28
- import { E as Ci } from "./EmptyState-B3fPoH6L.js";
29
- import { g as Ai } from "./generateRandomString-za3IQGfQ.js";
30
- import { a as bi, G as Oi } from "./GraphContainer-DwMxWRCi.js";
31
- import { g as Li } from "./getNoOfTicks-CpmRjcRF.js";
32
- function ji(i) {
33
- const t = Ee.c(153), {
1
+ import { c as ze, j as s, m as We } from "./index-CHPV5EwG-BzibaIRc.js";
2
+ import { useRef as Ye, useState as he, useEffect as Ee } from "react";
3
+ import { p as j, f as Je } from "./parse-Dv4of-PN.js";
4
+ import { o as Ke } from "./index-BZQYSqar.js";
5
+ import { n as Be } from "./numberFormattingFunction-DqMf_v1m.js";
6
+ import { T as Qe } from "./Tooltip-Bj-s__cI.js";
7
+ import { c as A } from "./checkIfNullOrUndefined-DmfiKkNw.js";
8
+ import { C as Ze, g as _e, A as ti } from "./customArea-D89lETG0.js";
9
+ import { A as ei } from "./AxisTitle-CyLCqpW6.js";
10
+ import { A as ii } from "./Axis-CNZYWzH0.js";
11
+ import { X as oi } from "./XTicksAndGridLines-gdbGX2rm.js";
12
+ import { a as ni } from "./ReferenceLine-D41VuUhE.js";
13
+ import { Y as si } from "./YTicksAndGridLines-CsNSq9W9.js";
14
+ import { H as ai } from "./index-DHVGV8Df.js";
15
+ import { t as ri } from "./time-vyz6Y89P.js";
16
+ import { a as li } from "./linear-DNXM5Pdl.js";
17
+ import { l as ci, c as mi } from "./line-DFlZsxI1.js";
18
+ import { c as fi, s as di, a as ui, m as hi } from "./step-BrDul-H4.js";
19
+ import { s as pi } from "./select-DKy99ogv.js";
20
+ import { m as qt } from "./proxy-BsxtcZKa.js";
21
+ import { a as gi } from "./init-BhZylTFx.js";
22
+ import { p as xi } from "./pointer-CWRWOsrb.js";
23
+ import { u as yi } from "./use-in-view-KOXq5Kmc.js";
24
+ import { GraphFooter as vi } from "./GraphFooter.js";
25
+ import { GraphHeader as wi } from "./GraphHeader.js";
26
+ import { ColorLegend as Ci } from "./ColorLegend.js";
27
+ import { Colors as bi } from "./Colors.js";
28
+ import { E as Ai } from "./EmptyState-CaxXCkiN.js";
29
+ import { g as Li } from "./generateRandomString-za3IQGfQ.js";
30
+ import { a as Oi, G as ji } from "./GraphContainer-B8ZqOzKI.js";
31
+ import { g as Di } from "./getNoOfTicks-CpmRjcRF.js";
32
+ function Ti(i) {
33
+ const t = ze.c(154), {
34
34
  data: y,
35
- width: st,
36
- height: Ut,
37
- lineColors: T,
35
+ width: it,
36
+ height: Jt,
37
+ lineColors: D,
38
38
  dateFormat: a,
39
- noOfXTicks: xe,
40
- labels: S,
39
+ noOfXTicks: Le,
40
+ labels: T,
41
41
  rightMargin: St,
42
- topMargin: O,
43
- bottomMargin: at,
44
- suffix: B,
45
- prefix: z,
42
+ topMargin: L,
43
+ bottomMargin: ot,
44
+ suffix: E,
45
+ prefix: B,
46
46
  leftMargin: w,
47
- tooltip: rt,
48
- onSeriesMouseOver: qt,
49
- showValues: ye,
50
- showColorLegendAtTop: ve,
47
+ tooltip: nt,
48
+ onSeriesMouseOver: Kt,
49
+ showValues: Oe,
50
+ showColorLegendAtTop: je,
51
51
  refValues: kt,
52
- highlightAreaSettings: Jt,
53
- minValue: U,
54
- maxValue: lt,
55
- highlightedLines: ct,
52
+ highlightAreaSettings: Qt,
53
+ minValue: z,
54
+ maxValue: st,
55
+ highlightedLines: at,
56
56
  animate: n,
57
- rtl: q,
58
- strokeWidth: Kt,
59
- showDots: Qt,
57
+ rtl: U,
58
+ strokeWidth: Zt,
59
+ showDots: _t,
60
60
  annotations: Mt,
61
61
  customHighlightAreaSettings: $t,
62
- yAxisTitle: mt,
63
- noOfYTicks: Zt,
64
- minDate: ce,
65
- maxDate: me,
62
+ yAxisTitle: rt,
63
+ noOfYTicks: te,
64
+ minDate: pe,
65
+ maxDate: ge,
66
66
  curveType: Vt,
67
67
  styles: v,
68
68
  classNames: x,
69
- dimmedOpacity: fe,
70
- precision: J,
71
- customLayers: K,
72
- dashedLines: ft,
69
+ dimmedOpacity: xe,
70
+ precision: q,
71
+ customLayers: J,
72
+ dashedLines: lt,
73
73
  dashSettings: Nt,
74
- labelsToBeHidden: we,
75
- revealClipId: dt
76
- } = i, _t = Ie(null);
77
- let Ht;
78
- t[0] !== n.amount || t[1] !== n.once ? (Ht = {
74
+ labelsToBeHidden: De,
75
+ revealClipId: ct,
76
+ locale: V,
77
+ naLabel: Te
78
+ } = i, ee = Ye(null);
79
+ let mt;
80
+ t[0] !== n.amount || t[1] !== n.once ? (mt = {
79
81
  once: n.once,
80
82
  amount: n.amount
81
- }, t[0] = n.amount, t[1] = n.once, t[2] = Ht) : Ht = t[2];
82
- const m = gi(_t, Ht), [A, Ce] = le(!1);
83
- let h, f;
84
- t[3] !== n.duration || t[4] !== A || t[5] !== m ? (h = () => {
85
- if (m && !A) {
83
+ }, t[0] = n.amount, t[1] = n.once, t[2] = mt) : mt = t[2];
84
+ const f = yi(ee, mt), [m, h] = he(!1);
85
+ let Ht, It;
86
+ t[3] !== n.duration || t[4] !== m || t[5] !== f ? (Ht = () => {
87
+ if (f && !m) {
86
88
  const o = setTimeout(() => {
87
- Ce(!0);
89
+ h(!0);
88
90
  }, (n.duration + 0.5) * 1e3);
89
91
  return () => clearTimeout(o);
90
92
  }
91
- }, f = [m, A, n.duration], t[3] = n.duration, t[4] = A, t[5] = m, t[6] = h, t[7] = f) : (h = t[6], f = t[7]), Xe(h, f);
92
- const Ae = Vt === "linear" ? li : Vt === "step" ? ci : Vt === "stepAfter" ? mi : Vt === "stepBefore" ? fi : di, [D, It] = le(void 0), [Q, Rt] = le(void 0), [Z, de] = le(void 0), N = mt ? w + 30 : w;
93
- let ut;
94
- t[8] !== at || t[9] !== St || t[10] !== N || t[11] !== O ? (ut = {
95
- top: O,
96
- bottom: at,
93
+ }, It = [f, m, n.duration], t[3] = n.duration, t[4] = m, t[5] = f, t[6] = Ht, t[7] = It) : (Ht = t[6], It = t[7]), Ee(Ht, It);
94
+ const ie = Vt === "linear" ? mi : Vt === "step" ? fi : Vt === "stepAfter" ? di : Vt === "stepBefore" ? ui : hi, [b, Rt] = he(void 0), [K, ye] = he(void 0), [Ft, ve] = he(void 0), N = rt ? w + 30 : w;
95
+ let ft;
96
+ t[8] !== ot || t[9] !== St || t[10] !== N || t[11] !== L ? (ft = {
97
+ top: L,
98
+ bottom: ot,
97
99
  left: N,
98
100
  right: St
99
- }, t[8] = at, t[9] = St, t[10] = N, t[11] = O, t[12] = ut) : ut = t[12];
100
- const p = ut, ht = Ie(null);
101
- let pt;
102
- t[13] !== a ? (pt = (o) => ({
101
+ }, t[8] = ot, t[9] = St, t[10] = N, t[11] = L, t[12] = ft) : ft = t[12];
102
+ const p = ft, dt = Ye(null);
103
+ let ut;
104
+ t[13] !== a ? (ut = (o) => ({
103
105
  ...o,
104
106
  date: j(`${o.date}`, a, /* @__PURE__ */ new Date())
105
- }), t[13] = a, t[14] = pt) : pt = t[14];
106
- const d = qe(y.map(pt), ["date"], ["asc"]), ue = d[0].y.map((o, e) => d.map((u) => ({
107
+ }), t[13] = a, t[14] = ut) : ut = t[14];
108
+ const d = Ke(y.map(ut), ["date"], ["asc"]), we = d[0].y.map((o, e) => d.map((u) => ({
107
109
  ...u,
108
110
  y: u.y[e]
109
- })).filter(zi));
110
- let gt;
111
- if (t[15] !== a || t[16] !== Jt) {
111
+ })).filter(qi));
112
+ let ht;
113
+ if (t[15] !== a || t[16] !== Qt) {
112
114
  let o;
113
115
  t[18] !== a ? (o = (e) => ({
114
116
  ...e,
115
117
  coordinates: [e.coordinates[0] === null ? null : j(`${e.coordinates[0]}`, a, /* @__PURE__ */ new Date()), e.coordinates[1] === null ? null : j(`${e.coordinates[1]}`, a, /* @__PURE__ */ new Date())]
116
- }), t[18] = a, t[19] = o) : o = t[19], gt = Jt.map(o), t[15] = a, t[16] = Jt, t[17] = gt;
118
+ }), t[18] = a, t[19] = o) : o = t[19], ht = Qt.map(o), t[15] = a, t[16] = Qt, t[17] = ht;
117
119
  } else
118
- gt = t[17];
119
- const Ft = gt;
120
- let xt;
120
+ ht = t[17];
121
+ const Wt = ht;
122
+ let pt;
121
123
  if (t[20] !== $t || t[21] !== a) {
122
124
  let o;
123
125
  t[23] !== a ? (o = (e) => ({
124
126
  ...e,
125
- coordinates: e.coordinates.map((u, nt) => nt % 2 === 0 ? j(`${u}`, a, /* @__PURE__ */ new Date()) : u)
126
- }), t[23] = a, t[24] = o) : o = t[24], xt = $t.map(o), t[20] = $t, t[21] = a, t[22] = xt;
127
+ coordinates: e.coordinates.map((u, et) => et % 2 === 0 ? j(`${u}`, a, /* @__PURE__ */ new Date()) : u)
128
+ }), t[23] = a, t[24] = o) : o = t[24], pt = $t.map(o), t[20] = $t, t[21] = a, t[22] = pt;
127
129
  } else
128
- xt = t[22];
129
- const he = xt, c = st - p.left - p.right, g = Ut - p.top - p.bottom, pe = ce ? j(`${ce}`, a, /* @__PURE__ */ new Date()) : d[0].date, te = me ? j(`${me}`, a, /* @__PURE__ */ new Date()) : d[d.length - 1].date, C = b(U) ? Math.min(...d.map(Ei)) ? Math.min(...d.map(Xi)) > 0 ? 0 : Math.min(...d.map(Yi)) : 0 : U, H = Math.max(...d.map(Fi)) ? Math.max(...d.map(Ii)) : 0, r = si().domain([pe, te]).range([0, c]);
130
- let _;
131
- t[25] !== C || t[26] !== U ? (_ = b(U) ? C : U, t[25] = C, t[26] = U, t[27] = _) : _ = t[27];
132
- let tt;
133
- t[28] !== H || t[29] !== lt ? (tt = b(lt) ? H > 0 ? H : 0 : lt, t[28] = H, t[29] = lt, t[30] = tt) : tt = t[30];
134
- const l = ai().domain([_, tt]).range([g, 0]).nice(), I = ri().x((o) => r(o.date)).y((o) => l(o.y)).curve(Ae), ee = l.ticks(Zt), ie = r.ticks(xe);
135
- Xe(() => {
130
+ pt = t[22];
131
+ const Ce = pt, c = it - p.left - p.right, g = Jt - p.top - p.bottom, be = pe ? j(`${pe}`, a, /* @__PURE__ */ new Date()) : d[0].date, oe = ge ? j(`${ge}`, a, /* @__PURE__ */ new Date()) : d[d.length - 1].date, C = A(z) ? Math.min(...d.map(zi)) ? Math.min(...d.map(Ei)) > 0 ? 0 : Math.min(...d.map(Xi)) : 0 : z, H = Math.max(...d.map(Yi)) ? Math.max(...d.map(Fi)) : 0, r = ri().domain([be, oe]).range([0, c]);
132
+ let Q;
133
+ t[25] !== C || t[26] !== z ? (Q = A(z) ? C : z, t[25] = C, t[26] = z, t[27] = Q) : Q = t[27];
134
+ let Z;
135
+ t[28] !== H || t[29] !== st ? (Z = A(st) ? H > 0 ? H : 0 : st, t[28] = H, t[29] = st, t[30] = Z) : Z = t[30];
136
+ const l = li().domain([Q, Z]).range([g, 0]).nice(), I = ci().x((o) => r(o.date)).y((o) => l(o.y)).curve(ie), ne = l.ticks(te), se = r.ticks(Le);
137
+ Ee(() => {
136
138
  const o = (u) => {
137
- const nt = d[hi(d.map(Hi), r.invert(pi(u)[0]), 0)];
138
- It(nt || d[d.length - 1]), de(u.clientY), Rt(u.clientX), qt?.(nt || d[d.length - 1]);
139
+ const et = d[gi(d.map(Ri), r.invert(xi(u)[0]), 0)];
140
+ Rt(et || d[d.length - 1]), ve(u.clientY), ye(u.clientX), Kt?.(et || d[d.length - 1]);
139
141
  }, e = () => {
140
- It(void 0), Rt(void 0), de(void 0);
142
+ Rt(void 0), ye(void 0), ve(void 0);
141
143
  };
142
- ui(ht.current).on("mousemove", o).on("mouseout", e), qt?.(void 0);
143
- }, [r, d, qt]);
144
- let yt;
145
- t[31] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (yt = {
144
+ pi(dt.current).on("mousemove", o).on("mouseout", e), Kt?.(void 0);
145
+ }, [r, d, Kt]);
146
+ let gt;
147
+ t[31] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (gt = {
146
148
  width: 0
147
- }, t[31] = yt) : yt = t[31];
148
- let k;
149
- t[32] !== n.duration ? (k = {
149
+ }, t[31] = gt) : gt = t[31];
150
+ let S;
151
+ t[32] !== n.duration ? (S = {
150
152
  duration: n.duration
151
- }, t[32] = n.duration, t[33] = k) : k = t[33];
153
+ }, t[32] = n.duration, t[33] = S) : S = t[33];
152
154
  let R;
153
- t[34] !== c || t[35] !== k ? (R = {
154
- initial: yt,
155
+ t[34] !== c || t[35] !== S ? (R = {
156
+ initial: gt,
155
157
  whileInView: {
156
158
  width: c,
157
- transition: k
159
+ transition: S
158
160
  }
159
- }, t[34] = c, t[35] = k, t[36] = R) : R = t[36];
160
- const vt = m ? "whileInView" : "initial";
161
+ }, t[34] = c, t[35] = S, t[36] = R) : R = t[36];
162
+ const xt = f ? "whileInView" : "initial";
161
163
  let F;
162
- t[37] !== g || t[38] !== R || t[39] !== vt ? (F = /* @__PURE__ */ s.jsx(zt.rect, { x: 0, y: 0, height: g, variants: R, initial: "initial", animate: vt }), t[37] = g, t[38] = R, t[39] = vt, t[40] = F) : F = t[40];
164
+ t[37] !== g || t[38] !== R || t[39] !== xt ? (F = /* @__PURE__ */ s.jsx(qt.rect, { x: 0, y: 0, height: g, variants: R, initial: "initial", animate: xt }), t[37] = g, t[38] = R, t[39] = xt, t[40] = F) : F = t[40];
165
+ let yt;
166
+ t[41] !== ct || t[42] !== F ? (yt = /* @__PURE__ */ s.jsx("defs", { children: /* @__PURE__ */ s.jsx("clipPath", { id: ct, children: F }) }), t[41] = ct, t[42] = F, t[43] = yt) : yt = t[43];
167
+ let vt;
168
+ t[44] !== n || t[45] !== g || t[46] !== c || t[47] !== Wt || t[48] !== f || t[49] !== r ? (vt = /* @__PURE__ */ s.jsx(ai, { areaSettings: Wt, width: c, height: g, scale: r, animate: n, isInView: f }), t[44] = n, t[45] = g, t[46] = c, t[47] = Wt, t[48] = f, t[49] = r, t[50] = vt) : vt = t[50];
169
+ const Yt = v?.yAxis?.gridLines, Pt = v?.yAxis?.labels;
163
170
  let wt;
164
- t[41] !== dt || t[42] !== F ? (wt = /* @__PURE__ */ s.jsx("defs", { children: /* @__PURE__ */ s.jsx("clipPath", { id: dt, children: F }) }), t[41] = dt, t[42] = F, t[43] = wt) : wt = t[43];
165
- let Ct;
166
- t[44] !== n || t[45] !== g || t[46] !== c || t[47] !== Ft || t[48] !== m || t[49] !== r ? (Ct = /* @__PURE__ */ s.jsx(ni, { areaSettings: Ft, width: c, height: g, scale: r, animate: n, isInView: m }), t[44] = n, t[45] = g, t[46] = c, t[47] = Ft, t[48] = m, t[49] = r, t[50] = Ct) : Ct = t[50];
167
- const Wt = v?.yAxis?.gridLines, Yt = v?.yAxis?.labels;
168
- let At;
169
- t[51] !== Wt || t[52] !== Yt ? (At = {
170
- gridLines: Wt,
171
- labels: Yt
172
- }, t[51] = Wt, t[52] = Yt, t[53] = At) : At = t[53];
173
- const bt = x?.yAxis?.gridLines, Pt = x?.yAxis?.labels;
174
- let et;
175
- t[54] !== bt || t[55] !== Pt ? (et = {
176
- gridLines: bt,
171
+ t[51] !== Yt || t[52] !== Pt ? (wt = {
172
+ gridLines: Yt,
177
173
  labels: Pt
178
- }, t[54] = bt, t[55] = Pt, t[56] = et) : et = t[56];
179
- const Xt = l(C < 0 ? 0 : C), Ot = l(C < 0 ? 0 : C), Gt = 0 - w, Lt = c + p.right, W = C < 0 ? 0 : C;
180
- let L;
181
- t[57] !== J || t[58] !== z || t[59] !== B || t[60] !== W ? (L = Ge(W, "NA", J, z, B), t[57] = J, t[58] = z, t[59] = B, t[60] = W, t[61] = L) : L = t[61];
182
- const it = 0 - w, ge = l(C < 0 ? 0 : C), jt = H < 0 ? "1em" : -5;
183
- let Dt;
184
- t[62] !== it || t[63] !== ge || t[64] !== jt ? (Dt = {
185
- x: it,
186
- y: ge,
174
+ }, t[51] = Yt, t[52] = Pt, t[53] = wt) : wt = t[53];
175
+ const Ct = x?.yAxis?.gridLines, Xt = x?.yAxis?.labels;
176
+ let _;
177
+ t[54] !== Ct || t[55] !== Xt ? (_ = {
178
+ gridLines: Ct,
179
+ labels: Xt
180
+ }, t[54] = Ct, t[55] = Xt, t[56] = _) : _ = t[56];
181
+ const Gt = l(C < 0 ? 0 : C), bt = l(C < 0 ? 0 : C), Et = 0 - w, At = c + p.right, W = C < 0 ? 0 : C;
182
+ let O;
183
+ t[57] !== V || t[58] !== q || t[59] !== B || t[60] !== E || t[61] !== W ? (O = Be(W, void 0, q, B, E, V), t[57] = V, t[58] = q, t[59] = B, t[60] = E, t[61] = W, t[62] = O) : O = t[62];
184
+ const Bt = 0 - w, zt = l(C < 0 ? 0 : C), tt = H < 0 ? "1em" : -5;
185
+ let Lt;
186
+ t[63] !== Bt || t[64] !== zt || t[65] !== tt ? (Lt = {
187
+ x: Bt,
188
+ y: zt,
187
189
  dx: 0,
188
- dy: jt
189
- }, t[62] = it, t[63] = ge, t[64] = jt, t[65] = Dt) : Dt = t[65];
190
- const Et = x?.xAxis?.axis, oe = x?.yAxis?.labels;
191
- let M;
192
- t[66] !== Et || t[67] !== oe ? (M = {
193
- axis: Et,
194
- label: oe
195
- }, t[66] = Et, t[67] = oe, t[68] = M) : M = t[68];
196
- const Tt = v?.xAxis?.axis, Bt = v?.yAxis?.labels;
190
+ dy: tt
191
+ }, t[63] = Bt, t[64] = zt, t[65] = tt, t[66] = Lt) : Lt = t[66];
192
+ const Ot = x?.xAxis?.axis, Ae = x?.yAxis?.labels;
197
193
  let Y;
198
- t[69] !== Tt || t[70] !== Bt ? (Y = {
199
- axis: Tt,
200
- label: Bt
201
- }, t[69] = Tt, t[70] = Bt, t[71] = Y) : Y = t[71];
194
+ t[67] !== Ot || t[68] !== Ae ? (Y = {
195
+ axis: Ot,
196
+ label: Ae
197
+ }, t[67] = Ot, t[68] = Ae, t[69] = Y) : Y = t[69];
198
+ const ae = v?.xAxis?.axis, jt = v?.yAxis?.labels;
199
+ let k;
200
+ t[70] !== ae || t[71] !== jt ? (k = {
201
+ axis: ae,
202
+ label: jt
203
+ }, t[70] = ae, t[71] = jt, t[72] = k) : k = t[72];
204
+ let Dt;
205
+ t[73] !== Gt || t[74] !== bt || t[75] !== Et || t[76] !== At || t[77] !== O || t[78] !== Lt || t[79] !== Y || t[80] !== k ? (Dt = /* @__PURE__ */ s.jsx(ii, { y1: Gt, y2: bt, x1: Et, x2: At, label: O, labelPos: Lt, classNames: Y, styles: k }), t[73] = Gt, t[74] = bt, t[75] = Et, t[76] = At, t[77] = O, t[78] = Lt, t[79] = Y, t[80] = k, t[81] = Dt) : Dt = t[81];
206
+ const Ut = 0 - w - 15, P = g / 2, X = v?.yAxis?.title, G = x?.yAxis?.title;
207
+ let M;
208
+ t[82] !== Ut || t[83] !== P || t[84] !== X || t[85] !== G || t[86] !== rt ? (M = /* @__PURE__ */ s.jsx(ei, { x: Ut, y: P, style: X, className: G, text: rt, rotate90: !0 }), t[82] = Ut, t[83] = P, t[84] = X, t[85] = G, t[86] = rt, t[87] = M) : M = t[87];
202
209
  let $;
203
- t[72] !== Xt || t[73] !== Ot || t[74] !== Gt || t[75] !== Lt || t[76] !== L || t[77] !== Dt || t[78] !== M || t[79] !== Y ? ($ = /* @__PURE__ */ s.jsx(ti, { y1: Xt, y2: Ot, x1: Gt, x2: Lt, label: L, labelPos: Dt, classNames: M, styles: Y }), t[72] = Xt, t[73] = Ot, t[74] = Gt, t[75] = Lt, t[76] = L, t[77] = Dt, t[78] = M, t[79] = Y, t[80] = $) : $ = t[80];
204
- const P = 0 - w - 15, X = g / 2, G = v?.yAxis?.title, E = x?.yAxis?.title;
205
- let V;
206
- t[81] !== P || t[82] !== X || t[83] !== G || t[84] !== E || t[85] !== mt ? (V = /* @__PURE__ */ s.jsx(_e, { x: P, y: X, style: G, className: E, text: mt, rotate90: !0 }), t[81] = P, t[82] = X, t[83] = G, t[84] = E, t[85] = mt, t[86] = V) : V = t[86];
207
- let ot;
208
- t[87] !== a ? (ot = (o) => Ue(o, a), t[87] = a, t[88] = ot) : ot = t[88];
209
- const be = ie.map(ot), Oe = ie.map((o) => r(o)), Re = v?.xAxis?.gridLines, Fe = v?.xAxis?.labels;
210
- let Le;
211
- t[89] !== Re || t[90] !== Fe ? (Le = {
212
- gridLines: Re,
213
- labels: Fe
214
- }, t[89] = Re, t[90] = Fe, t[91] = Le) : Le = t[91];
215
- const We = x?.xAxis?.gridLines;
216
- let ne;
217
- t[92] !== We ? (ne = He("opacity-0", We), t[92] = We, t[93] = ne) : ne = t[93];
218
- const Ye = x?.xAxis?.labels;
219
- let se;
220
- t[94] !== Ye ? (se = He("fill-primary-gray-700 dark:fill-primary-gray-300 xs:max-[360px]:hidden text-[9px] md:text-[10px] lg:text-xs", Ye), t[94] = Ye, t[95] = se) : se = t[95];
221
- let je;
222
- t[96] !== ne || t[97] !== se ? (je = {
223
- gridLines: ne,
224
- labels: se
225
- }, t[96] = ne, t[97] = se, t[98] = je) : je = t[98];
226
- let De;
227
- t[99] !== K ? (De = K.filter($i).map(Mi), t[99] = K, t[100] = De) : De = t[100];
228
- const Pe = ue.map((o, e) => /* @__PURE__ */ s.jsxs(zt.g, { exit: {
210
+ t[88] !== a ? ($ = (o) => Je(o, a), t[88] = a, t[89] = $) : $ = t[89];
211
+ const Tt = se.map($), re = se.map((o) => r(o)), le = v?.xAxis?.gridLines, ce = v?.xAxis?.labels;
212
+ let Se;
213
+ t[90] !== le || t[91] !== ce ? (Se = {
214
+ gridLines: le,
215
+ labels: ce
216
+ }, t[90] = le, t[91] = ce, t[92] = Se) : Se = t[92];
217
+ const Pe = x?.xAxis?.gridLines;
218
+ let me;
219
+ t[93] !== Pe ? (me = We("opacity-0", Pe), t[93] = Pe, t[94] = me) : me = t[94];
220
+ const Xe = x?.xAxis?.labels;
221
+ let fe;
222
+ t[95] !== Xe ? (fe = We("fill-primary-gray-700 dark:fill-primary-gray-300 xs:max-[360px]:hidden text-[9px] md:text-[10px] lg:text-xs", Xe), t[95] = Xe, t[96] = fe) : fe = t[96];
223
+ let ke;
224
+ t[97] !== me || t[98] !== fe ? (ke = {
225
+ gridLines: me,
226
+ labels: fe
227
+ }, t[97] = me, t[98] = fe, t[99] = ke) : ke = t[99];
228
+ let Me;
229
+ t[100] !== J ? (Me = J.filter(Ni).map(Vi), t[100] = J, t[101] = Me) : Me = t[101];
230
+ const Ge = we.map((o, e) => /* @__PURE__ */ s.jsxs(qt.g, { exit: {
229
231
  opacity: 0,
230
232
  transition: {
231
233
  duration: n.duration
232
234
  }
233
235
  }, variants: {
234
236
  initial: {
235
- opacity: ct.length !== 0 ? ct.indexOf(S[e]) !== -1 ? 1 : fe : 1
237
+ opacity: at.length !== 0 ? at.indexOf(T[e]) !== -1 ? 1 : xe : 1
236
238
  },
237
239
  whileInView: {
238
- opacity: ct.length !== 0 ? ct.indexOf(S[e]) !== -1 ? 1 : fe : 1,
240
+ opacity: at.length !== 0 ? at.indexOf(T[e]) !== -1 ? 1 : xe : 1,
239
241
  transition: {
240
242
  duration: n.duration
241
243
  }
242
244
  }
243
- }, initial: "initial", animate: m ? "whileInView" : "initial", children: [
244
- /* @__PURE__ */ s.jsx(zt.path, { style: {
245
+ }, initial: "initial", animate: f ? "whileInView" : "initial", children: [
246
+ /* @__PURE__ */ s.jsx(qt.path, { style: {
245
247
  fill: "none",
246
- strokeWidth: Kt
247
- }, clipPath: `url(#${dt})`, exit: {
248
+ strokeWidth: Zt
249
+ }, clipPath: `url(#${ct})`, exit: {
248
250
  opacity: 0,
249
251
  transition: {
250
252
  duration: n.duration
251
253
  }
252
254
  }, variants: {
253
255
  initial: {
254
- ...ft.length === 0 ? {
256
+ ...lt.length === 0 ? {
255
257
  pathLength: 0
256
258
  } : {},
257
- d: I(o.filter(ki)) || "",
259
+ d: I(o.filter($i)) || "",
258
260
  opacity: 1,
259
- stroke: T[e]
261
+ stroke: D[e]
260
262
  },
261
263
  whileInView: {
262
- ...ft.length === 0 ? {
264
+ ...lt.length === 0 ? {
263
265
  pathLength: 1
264
266
  } : {},
265
- d: I(o.filter(Si)) || "",
267
+ d: I(o.filter(Mi)) || "",
266
268
  opacity: 1,
267
- stroke: T[e],
269
+ stroke: D[e],
268
270
  transition: {
269
271
  duration: n.duration
270
272
  }
271
273
  }
272
- }, strokeDasharray: ft.includes(S[e]) ? Nt[e % Nt.length] : void 0, initial: "initial", animate: m ? "whileInView" : "initial" }),
273
- o.map((u, nt) => /* @__PURE__ */ s.jsx("g", { children: b(u.y) ? null : /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
274
- Qt ? /* @__PURE__ */ s.jsx(zt.circle, { r: c / d.length < 5 ? 0 : c / d.length < 20 ? 2 : 4, exit: {
274
+ }, strokeDasharray: lt.includes(T[e]) ? Nt[e % Nt.length] : void 0, initial: "initial", animate: f ? "whileInView" : "initial" }),
275
+ o.map((u, et) => /* @__PURE__ */ s.jsx("g", { children: A(u.y) ? null : /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
276
+ _t ? /* @__PURE__ */ s.jsx(qt.circle, { r: c / d.length < 5 ? 0 : c / d.length < 20 ? 2 : 4, exit: {
275
277
  opacity: 0,
276
278
  transition: {
277
279
  duration: n.duration
@@ -279,25 +281,25 @@ function ji(i) {
279
281
  }, variants: {
280
282
  initial: {
281
283
  opacity: 0,
282
- fill: T[e],
284
+ fill: D[e],
283
285
  cx: r(u.date),
284
286
  cy: l(u.y)
285
287
  },
286
288
  whileInView: {
287
289
  opacity: 1,
288
- fill: T[e],
290
+ fill: D[e],
289
291
  transition: {
290
- duration: A ? n.duration : 0.5,
291
- delay: A ? 0 : n.duration
292
+ duration: m ? n.duration : 0.5,
293
+ delay: m ? 0 : n.duration
292
294
  },
293
295
  cx: r(u.date),
294
296
  cy: l(u.y)
295
297
  }
296
- }, initial: "initial", animate: m ? "whileInView" : "initial" }) : null,
297
- ye ? /* @__PURE__ */ s.jsx(zt.text, { dy: -8, style: {
298
+ }, initial: "initial", animate: f ? "whileInView" : "initial" }) : null,
299
+ Oe ? /* @__PURE__ */ s.jsx(qt.text, { dy: -8, style: {
298
300
  textAnchor: "middle",
299
301
  ...v?.graphObjectValues || {}
300
- }, className: He("graph-value text-xs font-bold", x?.graphObjectValues), exit: {
302
+ }, className: We("graph-value text-xs font-bold", x?.graphObjectValues), exit: {
301
303
  opacity: 0,
302
304
  transition: {
303
305
  duration: n.duration
@@ -305,23 +307,23 @@ function ji(i) {
305
307
  }, variants: {
306
308
  initial: {
307
309
  opacity: 0,
308
- fill: T[e],
310
+ fill: D[e],
309
311
  x: r(u.date),
310
312
  y: l(u.y)
311
313
  },
312
314
  whileInView: {
313
315
  opacity: 1,
314
- fill: T[e],
316
+ fill: D[e],
315
317
  x: r(u.date),
316
318
  y: l(u.y),
317
319
  transition: {
318
- duration: A ? n.duration : 0.5,
319
- delay: A ? 0 : n.duration
320
+ duration: m ? n.duration : 0.5,
321
+ delay: m ? 0 : n.duration
320
322
  }
321
323
  }
322
- }, initial: "initial", animate: m ? "whileInView" : "initial", children: Ge(u.y, "NA", J, z, B) }) : null
323
- ] }) }, nt)),
324
- ve || we.includes(S[e]) ? null : /* @__PURE__ */ s.jsx(zt.text, { className: "text-xs", dx: 5, dy: 4, exit: {
324
+ }, initial: "initial", animate: f ? "whileInView" : "initial", children: Be(u.y, Te, q, B, E, V) }) : null
325
+ ] }) }, et)),
326
+ je || De.includes(T[e]) ? null : /* @__PURE__ */ s.jsx(qt.text, { className: "text-xs", dx: 5, dy: 4, exit: {
325
327
  opacity: 0,
326
328
  transition: {
327
329
  duration: n.duration
@@ -329,263 +331,265 @@ function ji(i) {
329
331
  }, variants: {
330
332
  initial: {
331
333
  opacity: 0,
332
- fill: T[e],
334
+ fill: D[e],
333
335
  x: r(o[o.length - 1].date),
334
336
  y: l(o[o.length - 1].y)
335
337
  },
336
338
  whileInView: {
337
339
  opacity: 1,
338
- fill: T[e],
340
+ fill: D[e],
339
341
  x: r(o[o.length - 1].date),
340
342
  y: l(o[o.length - 1].y),
341
343
  transition: {
342
- duration: A ? n.duration : 0.5,
343
- delay: A ? 0 : n.duration
344
+ duration: m ? n.duration : 0.5,
345
+ delay: m ? 0 : n.duration
344
346
  }
345
347
  }
346
- }, initial: "initial", animate: m ? "whileInView" : "initial", children: S[e] })
347
- ] }, S[e]));
348
- let ae;
349
- t[101] !== x?.mouseOverLine || t[102] !== g || t[103] !== D || t[104] !== v?.mouseOverLine || t[105] !== r ? (ae = D ? /* @__PURE__ */ s.jsx("line", { y1: 0, y2: g, x1: r(D.date), x2: r(D.date), className: He("undp-tick-line stroke-primary-gray-700 dark:stroke-primary-gray-100", x?.mouseOverLine), style: v?.mouseOverLine }) : null, t[101] = x?.mouseOverLine, t[102] = g, t[103] = D, t[104] = v?.mouseOverLine, t[105] = r, t[106] = ae) : ae = t[106];
350
- let Te;
351
- t[107] !== Pe || t[108] !== ae ? (Te = /* @__PURE__ */ s.jsxs("g", { children: [
352
- Pe,
353
- ae
354
- ] }), t[107] = Pe, t[108] = ae, t[109] = Te) : Te = t[109];
355
- let Se;
356
- t[110] !== n || t[111] !== c || t[112] !== m || t[113] !== w || t[114] !== p.right || t[115] !== kt || t[116] !== l ? (Se = kt ? /* @__PURE__ */ s.jsx(s.Fragment, { children: kt.map((o, e) => /* @__PURE__ */ s.jsx(ii, { text: o.text, color: o.color, y: l(o.value), x1: 0 - w, x2: c + p.right, classNames: o.classNames, styles: o.styles, animate: n, isInView: m }, e)) }) : null, t[110] = n, t[111] = c, t[112] = m, t[113] = w, t[114] = p.right, t[115] = kt, t[116] = l, t[117] = Se) : Se = t[117];
357
- let re;
358
- if (t[118] !== n || t[119] !== Mt || t[120] !== a || t[121] !== c || t[122] !== m || t[123] !== p.right || t[124] !== q || t[125] !== r || t[126] !== l) {
348
+ }, initial: "initial", animate: f ? "whileInView" : "initial", children: T[e] })
349
+ ] }, T[e]));
350
+ let de;
351
+ t[102] !== x?.mouseOverLine || t[103] !== g || t[104] !== b || t[105] !== v?.mouseOverLine || t[106] !== r ? (de = b ? /* @__PURE__ */ s.jsx("line", { y1: 0, y2: g, x1: r(b.date), x2: r(b.date), className: We("undp-tick-line stroke-primary-gray-700 dark:stroke-primary-gray-100", x?.mouseOverLine), style: v?.mouseOverLine }) : null, t[102] = x?.mouseOverLine, t[103] = g, t[104] = b, t[105] = v?.mouseOverLine, t[106] = r, t[107] = de) : de = t[107];
352
+ let $e;
353
+ t[108] !== Ge || t[109] !== de ? ($e = /* @__PURE__ */ s.jsxs("g", { children: [
354
+ Ge,
355
+ de
356
+ ] }), t[108] = Ge, t[109] = de, t[110] = $e) : $e = t[110];
357
+ let Ve;
358
+ t[111] !== n || t[112] !== c || t[113] !== f || t[114] !== w || t[115] !== p.right || t[116] !== kt || t[117] !== l ? (Ve = kt ? /* @__PURE__ */ s.jsx(s.Fragment, { children: kt.map((o, e) => /* @__PURE__ */ s.jsx(ni, { text: o.text, color: o.color, y: l(o.value), x1: 0 - w, x2: c + p.right, classNames: o.classNames, styles: o.styles, animate: n, isInView: f }, e)) }) : null, t[111] = n, t[112] = c, t[113] = f, t[114] = w, t[115] = p.right, t[116] = kt, t[117] = l, t[118] = Ve) : Ve = t[118];
359
+ let ue;
360
+ if (t[119] !== n || t[120] !== Mt || t[121] !== a || t[122] !== c || t[123] !== f || t[124] !== p.right || t[125] !== U || t[126] !== r || t[127] !== l) {
359
361
  let o;
360
- t[128] !== n || t[129] !== a || t[130] !== c || t[131] !== m || t[132] !== p.right || t[133] !== q || t[134] !== r || t[135] !== l ? (o = (e, u) => {
361
- const nt = Qe({
362
+ t[129] !== n || t[130] !== a || t[131] !== c || t[132] !== f || t[133] !== p.right || t[134] !== U || t[135] !== r || t[136] !== l ? (o = (e, u) => {
363
+ const et = _e({
362
364
  x: e.xCoordinate ? r(j(`${e.xCoordinate}`, a, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
363
365
  y: e.yCoordinate ? l(e.yCoordinate) + (e.yOffset || 0) - 8 : 0 + (e.yOffset || 0) - 8
364
366
  }, {
365
367
  x: e.xCoordinate ? r(j(`${e.xCoordinate}`, a, /* @__PURE__ */ new Date())) : 0,
366
368
  y: e.yCoordinate ? l(e.yCoordinate) : 0
367
- }, b(e.connectorRadius) ? 3.5 : e.connectorRadius), Be = e.showConnector ? {
368
- y1: nt.y,
369
- x1: nt.x,
369
+ }, A(e.connectorRadius) ? 3.5 : e.connectorRadius), Ue = e.showConnector ? {
370
+ y1: et.y,
371
+ x1: et.x,
370
372
  y2: e.yCoordinate ? l(e.yCoordinate) + (e.yOffset || 0) : 0 + (e.yOffset || 0),
371
373
  x2: e.xCoordinate ? r(j(`${e.xCoordinate}`, a, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
372
374
  cy: e.yCoordinate ? l(e.yCoordinate) : 0,
373
375
  cx: e.xCoordinate ? r(j(`${e.xCoordinate}`, a, /* @__PURE__ */ new Date())) : 0,
374
- circleRadius: b(e.connectorRadius) ? 3.5 : e.connectorRadius,
376
+ circleRadius: A(e.connectorRadius) ? 3.5 : e.connectorRadius,
375
377
  strokeWidth: e.showConnector === !0 ? 2 : Math.min(e.showConnector || 0, 1)
376
- } : void 0, ze = {
378
+ } : void 0, qe = {
377
379
  y: e.yCoordinate ? l(e.yCoordinate) + (e.yOffset || 0) - 8 : 0 + (e.yOffset || 0) - 8,
378
- x: q ? 0 : e.xCoordinate ? r(j(`${e.xCoordinate}`, a, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
379
- width: q ? e.xCoordinate ? r(j(`${e.xCoordinate}`, a, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0) : c + p.right - (e.xCoordinate ? r(j(`${e.xCoordinate}`, a, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0)),
380
+ x: U ? 0 : e.xCoordinate ? r(j(`${e.xCoordinate}`, a, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
381
+ width: U ? e.xCoordinate ? r(j(`${e.xCoordinate}`, a, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0) : c + p.right - (e.xCoordinate ? r(j(`${e.xCoordinate}`, a, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0)),
380
382
  maxWidth: e.maxWidth,
381
383
  fontWeight: e.fontWeight,
382
384
  align: e.align
383
385
  };
384
- return /* @__PURE__ */ s.jsx(Ze, { color: e.color, connectorsSettings: Be, labelSettings: ze, text: e.text, classNames: e.classNames, styles: e.styles, animate: n, isInView: m }, u);
385
- }, t[128] = n, t[129] = a, t[130] = c, t[131] = m, t[132] = p.right, t[133] = q, t[134] = r, t[135] = l, t[136] = o) : o = t[136], re = Mt.map(o), t[118] = n, t[119] = Mt, t[120] = a, t[121] = c, t[122] = m, t[123] = p.right, t[124] = q, t[125] = r, t[126] = l, t[127] = re;
386
+ return /* @__PURE__ */ s.jsx(ti, { color: e.color, connectorsSettings: Ue, labelSettings: qe, text: e.text, classNames: e.classNames, styles: e.styles, animate: n, isInView: f }, u);
387
+ }, t[129] = n, t[130] = a, t[131] = c, t[132] = f, t[133] = p.right, t[134] = U, t[135] = r, t[136] = l, t[137] = o) : o = t[137], ue = Mt.map(o), t[119] = n, t[120] = Mt, t[121] = a, t[122] = c, t[123] = f, t[124] = p.right, t[125] = U, t[126] = r, t[127] = l, t[128] = ue;
386
388
  } else
387
- re = t[127];
388
- let ke;
389
- t[137] !== re ? (ke = /* @__PURE__ */ s.jsx("g", { children: re }), t[137] = re, t[138] = ke) : ke = t[138];
390
- let Me;
391
- t[139] !== K ? (Me = K.filter(Ti).map(Di), t[139] = K, t[140] = Me) : Me = t[140];
392
- let $e;
393
- t[141] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($e = {
389
+ ue = t[128];
390
+ let Ne;
391
+ t[138] !== ue ? (Ne = /* @__PURE__ */ s.jsx("g", { children: ue }), t[138] = ue, t[139] = Ne) : Ne = t[139];
392
+ let He;
393
+ t[140] !== J ? (He = J.filter(ki).map(Si), t[140] = J, t[141] = He) : He = t[141];
394
+ let Ie;
395
+ t[142] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ie = {
394
396
  fill: "none",
395
397
  pointerEvents: "all"
396
- }, t[141] = $e) : $e = t[141];
397
- let Ve;
398
- t[142] !== ht || t[143] !== g || t[144] !== c ? (Ve = /* @__PURE__ */ s.jsx("rect", { ref: ht, style: $e, width: c, height: g }), t[142] = ht, t[143] = g, t[144] = c, t[145] = Ve) : Ve = t[145];
399
- let Ne;
400
- return t[146] !== x?.tooltip || t[147] !== Q || t[148] !== Z || t[149] !== D || t[150] !== v?.tooltip || t[151] !== rt ? (Ne = D && rt && Q && Z ? /* @__PURE__ */ s.jsx(Je, { data: D, body: rt, xPos: Q, yPos: Z, backgroundStyle: v?.tooltip, className: x?.tooltip }) : null, t[146] = x?.tooltip, t[147] = Q, t[148] = Z, t[149] = D, t[150] = v?.tooltip, t[151] = rt, t[152] = Ne) : Ne = t[152], /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
401
- /* @__PURE__ */ s.jsx(zt.svg, { width: `${st}px`, height: `${Ut}px`, viewBox: `0 0 ${st} ${Ut}`, direction: "ltr", ref: _t, children: /* @__PURE__ */ s.jsxs("g", { transform: `translate(${p.left},${p.top})`, children: [
402
- wt,
403
- Ct,
404
- /* @__PURE__ */ s.jsx(Ke, { areaSettings: he, scaleX: r, scaleY: l, animate: n, isInView: m }),
398
+ }, t[142] = Ie) : Ie = t[142];
399
+ let Re;
400
+ t[143] !== dt || t[144] !== g || t[145] !== c ? (Re = /* @__PURE__ */ s.jsx("rect", { ref: dt, style: Ie, width: c, height: g }), t[143] = dt, t[144] = g, t[145] = c, t[146] = Re) : Re = t[146];
401
+ let Fe;
402
+ return t[147] !== x?.tooltip || t[148] !== K || t[149] !== Ft || t[150] !== b || t[151] !== v?.tooltip || t[152] !== nt ? (Fe = b && nt && K && Ft ? /* @__PURE__ */ s.jsx(Qe, { data: b, body: nt, xPos: K, yPos: Ft, backgroundStyle: v?.tooltip, className: x?.tooltip }) : null, t[147] = x?.tooltip, t[148] = K, t[149] = Ft, t[150] = b, t[151] = v?.tooltip, t[152] = nt, t[153] = Fe) : Fe = t[153], /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
403
+ /* @__PURE__ */ s.jsx(qt.svg, { width: `${it}px`, height: `${Jt}px`, viewBox: `0 0 ${it} ${Jt}`, direction: "ltr", ref: ee, children: /* @__PURE__ */ s.jsxs("g", { transform: `translate(${p.left},${p.top})`, children: [
404
+ yt,
405
+ vt,
406
+ /* @__PURE__ */ s.jsx(Ze, { areaSettings: Ce, scaleX: r, scaleY: l, animate: n, isInView: f }),
405
407
  /* @__PURE__ */ s.jsxs("g", { children: [
406
- /* @__PURE__ */ s.jsx(oi, { values: ee.filter(Ni), y: ee.filter(Vi).map((o) => l(o)), x1: 0 - w, x2: c + p.right, styles: At, classNames: et, suffix: B, prefix: z, labelType: "secondary", showGridLines: !0, labelPos: "vertical", precision: J }),
407
- $,
408
- V
408
+ /* @__PURE__ */ s.jsx(si, { values: ne.filter(Ii), y: ne.filter(Hi).map((o) => l(o)), x1: 0 - w, x2: c + p.right, styles: wt, classNames: _, suffix: E, prefix: B, labelType: "secondary", showGridLines: !0, labelPos: "vertical", precision: q, locale: V }),
409
+ Dt,
410
+ M
409
411
  ] }),
410
- /* @__PURE__ */ s.jsx("g", { children: /* @__PURE__ */ s.jsx(ei, { values: be, x: Oe, y1: 0, y2: g, styles: Le, classNames: je, suffix: B, prefix: z, labelType: "primary", showGridLines: !0, precision: J }) }),
411
- De,
412
- Te,
413
- Se,
414
- ke,
412
+ /* @__PURE__ */ s.jsx("g", { children: /* @__PURE__ */ s.jsx(oi, { values: Tt, x: re, y1: 0, y2: g, styles: Se, classNames: ke, suffix: E, prefix: B, labelType: "primary", showGridLines: !0, precision: q, locale: V }) }),
415
413
  Me,
416
- Ve
414
+ $e,
415
+ Ve,
416
+ Ne,
417
+ He,
418
+ Re
417
419
  ] }) }),
418
- Ne
420
+ Fe
419
421
  ] });
420
422
  }
421
- function Di(i) {
422
- return i.layer;
423
- }
424
- function Ti(i) {
425
- return i.position === "after";
426
- }
427
423
  function Si(i) {
428
- return !b(i.y);
424
+ return i.layer;
429
425
  }
430
426
  function ki(i) {
431
- return !b(i.y);
427
+ return i.position === "after";
432
428
  }
433
429
  function Mi(i) {
434
- return i.layer;
430
+ return !A(i.y);
435
431
  }
436
432
  function $i(i) {
437
- return i.position === "before";
433
+ return !A(i.y);
438
434
  }
439
435
  function Vi(i) {
440
- return i !== 0;
436
+ return i.layer;
441
437
  }
442
438
  function Ni(i) {
443
- return i !== 0;
439
+ return i.position === "before";
444
440
  }
445
441
  function Hi(i) {
446
- return i.date;
442
+ return i !== 0;
447
443
  }
448
444
  function Ii(i) {
449
- return Math.max(...i.y.filter(Ri));
445
+ return i !== 0;
450
446
  }
451
447
  function Ri(i) {
452
- return !b(i);
448
+ return i.date;
453
449
  }
454
450
  function Fi(i) {
455
451
  return Math.max(...i.y.filter(Wi));
456
452
  }
457
453
  function Wi(i) {
458
- return !b(i);
454
+ return !A(i);
459
455
  }
460
456
  function Yi(i) {
461
- return Math.min(...i.y.filter(Pi));
457
+ return Math.max(...i.y.filter(Pi));
462
458
  }
463
459
  function Pi(i) {
464
- return !b(i);
460
+ return !A(i);
465
461
  }
466
462
  function Xi(i) {
467
463
  return Math.min(...i.y.filter(Gi));
468
464
  }
469
465
  function Gi(i) {
470
- return !b(i);
466
+ return !A(i);
471
467
  }
472
468
  function Ei(i) {
473
469
  return Math.min(...i.y.filter(Bi));
474
470
  }
475
471
  function Bi(i) {
476
- return !b(i);
472
+ return !A(i);
477
473
  }
478
474
  function zi(i) {
479
- return !b(i.y);
475
+ return Math.min(...i.y.filter(Ui));
476
+ }
477
+ function Ui(i) {
478
+ return !A(i);
480
479
  }
481
- function ko(i) {
482
- const t = Ee.c(113), {
480
+ function qi(i) {
481
+ return !A(i.y);
482
+ }
483
+ function $o(i) {
484
+ const t = ze.c(115), {
483
485
  data: y,
484
- graphTitle: st,
485
- lineColors: Ut,
486
- suffix: T,
486
+ graphTitle: it,
487
+ lineColors: Jt,
488
+ suffix: D,
487
489
  sources: a,
488
- prefix: xe,
489
- graphDescription: S,
490
+ prefix: Le,
491
+ graphDescription: T,
490
492
  height: St,
491
- width: O,
492
- footNote: at,
493
- noOfXTicks: B,
494
- dateFormat: z,
493
+ width: L,
494
+ footNote: ot,
495
+ noOfXTicks: E,
496
+ dateFormat: B,
495
497
  labels: w,
496
- padding: rt,
497
- showValues: qt,
498
- backgroundColor: ye,
499
- leftMargin: ve,
498
+ padding: nt,
499
+ showValues: Kt,
500
+ backgroundColor: Oe,
501
+ leftMargin: je,
500
502
  rightMargin: kt,
501
- topMargin: Jt,
502
- bottomMargin: U,
503
- tooltip: lt,
504
- relativeHeight: ct,
503
+ topMargin: Qt,
504
+ bottomMargin: z,
505
+ tooltip: st,
506
+ relativeHeight: at,
505
507
  onSeriesMouseOver: n,
506
- showColorLegendAtTop: q,
507
- refValues: Kt,
508
- highlightAreaSettings: Qt,
508
+ showColorLegendAtTop: U,
509
+ refValues: Zt,
510
+ highlightAreaSettings: _t,
509
511
  graphID: Mt,
510
512
  minValue: $t,
511
- maxValue: mt,
512
- highlightedLines: Zt,
513
- graphDownload: ce,
514
- dataDownload: me,
513
+ maxValue: rt,
514
+ highlightedLines: te,
515
+ graphDownload: pe,
516
+ dataDownload: ge,
515
517
  animate: Vt,
516
518
  language: v,
517
519
  colorLegendTitle: x,
518
- minHeight: fe,
519
- strokeWidth: J,
520
- showDots: K,
521
- annotations: ft,
520
+ minHeight: xe,
521
+ strokeWidth: q,
522
+ showDots: J,
523
+ annotations: lt,
522
524
  customHighlightAreaSettings: Nt,
523
- theme: we,
524
- ariaLabel: dt,
525
- yAxisTitle: _t,
526
- noOfYTicks: Ht,
527
- minDate: m,
528
- maxDate: A,
529
- curveType: Ce,
530
- styles: h,
531
- classNames: f,
532
- dimmedOpacity: Ae,
533
- precision: D,
534
- customLayers: It,
535
- dashedLines: Q,
525
+ theme: De,
526
+ ariaLabel: ct,
527
+ yAxisTitle: V,
528
+ noOfYTicks: Te,
529
+ minDate: ee,
530
+ maxDate: mt,
531
+ curveType: f,
532
+ styles: m,
533
+ classNames: h,
534
+ dimmedOpacity: Ht,
535
+ precision: It,
536
+ customLayers: ie,
537
+ dashedLines: b,
536
538
  dashSettings: Rt,
537
- labelsToBeHidden: Z,
538
- showColorScale: de
539
- } = i, N = Ut === void 0 ? wi.light.categoricalColors.colors : Ut, ut = T === void 0 ? "" : T, p = xe === void 0 ? "" : xe, ht = B === void 0 ? 10 : B, pt = z === void 0 ? "yyyy" : z, d = qt === void 0 ? !1 : qt, ue = ye === void 0 ? !1 : ye, gt = ve === void 0 ? 30 : ve, Ft = kt === void 0 ? 50 : kt, xt = Jt === void 0 ? 20 : Jt, he = U === void 0 ? 25 : U, c = q === void 0 ? !1 : q;
539
+ labelsToBeHidden: K,
540
+ showColorScale: ye,
541
+ locale: Ft,
542
+ naLabel: ve
543
+ } = i, N = Jt === void 0 ? bi.light.categoricalColors.colors : Jt, ft = D === void 0 ? "" : D, p = Le === void 0 ? "" : Le, dt = E === void 0 ? 10 : E, ut = B === void 0 ? "yyyy" : B, d = Kt === void 0 ? !1 : Kt, we = Oe === void 0 ? !1 : Oe, ht = je === void 0 ? 30 : je, Wt = kt === void 0 ? 50 : kt, pt = Qt === void 0 ? 20 : Qt, Ce = z === void 0 ? 25 : z, c = U === void 0 ? !1 : U;
540
544
  let g;
541
- t[0] !== Kt ? (g = Kt === void 0 ? [] : Kt, t[0] = Kt, t[1] = g) : g = t[1];
542
- const pe = g;
543
- let te;
544
- t[2] !== Qt ? (te = Qt === void 0 ? [] : Qt, t[2] = Qt, t[3] = te) : te = t[3];
545
- const C = te;
545
+ t[0] !== Zt ? (g = Zt === void 0 ? [] : Zt, t[0] = Zt, t[1] = g) : g = t[1];
546
+ const be = g;
547
+ let oe;
548
+ t[2] !== _t ? (oe = _t === void 0 ? [] : _t, t[2] = _t, t[3] = oe) : oe = t[3];
549
+ const C = oe;
546
550
  let H;
547
- t[4] !== Zt ? (H = Zt === void 0 ? [] : Zt, t[4] = Zt, t[5] = H) : H = t[5];
548
- const r = H, _ = ce === void 0 ? !1 : ce, tt = me === void 0 ? !1 : me, l = Vt === void 0 ? !1 : Vt, I = v === void 0 ? "en" : v, ee = fe === void 0 ? 0 : fe, ie = J === void 0 ? 2 : J, yt = K === void 0 ? !0 : K;
549
- let k;
550
- t[6] !== ft ? (k = ft === void 0 ? [] : ft, t[6] = ft, t[7] = k) : k = t[7];
551
- const R = k;
552
- let vt;
553
- t[8] !== Nt ? (vt = Nt === void 0 ? [] : Nt, t[8] = Nt, t[9] = vt) : vt = t[9];
554
- const F = vt, wt = we === void 0 ? "light" : we, Ct = Ht === void 0 ? 5 : Ht, Wt = Ce === void 0 ? "curve" : Ce, Yt = Ae === void 0 ? 0.3 : Ae, At = D === void 0 ? 2 : D;
551
+ t[4] !== te ? (H = te === void 0 ? [] : te, t[4] = te, t[5] = H) : H = t[5];
552
+ const r = H, Q = pe === void 0 ? !1 : pe, Z = ge === void 0 ? !1 : ge, l = Vt === void 0 ? !1 : Vt, I = v === void 0 ? "en" : v, ne = xe === void 0 ? 0 : xe, se = q === void 0 ? 2 : q, gt = J === void 0 ? !0 : J;
553
+ let S;
554
+ t[6] !== lt ? (S = lt === void 0 ? [] : lt, t[6] = lt, t[7] = S) : S = t[7];
555
+ const R = S;
556
+ let xt;
557
+ t[8] !== Nt ? (xt = Nt === void 0 ? [] : Nt, t[8] = Nt, t[9] = xt) : xt = t[9];
558
+ const F = xt, yt = De === void 0 ? "light" : De, vt = Te === void 0 ? 5 : Te, Yt = f === void 0 ? "curve" : f, Pt = Ht === void 0 ? 0.3 : Ht, wt = It === void 0 ? 2 : It;
559
+ let Ct;
560
+ t[10] !== ie ? (Ct = ie === void 0 ? [] : ie, t[10] = ie, t[11] = Ct) : Ct = t[11];
561
+ const Xt = Ct;
562
+ let _;
563
+ t[12] !== b ? (_ = b === void 0 ? [] : b, t[12] = b, t[13] = _) : _ = t[13];
564
+ const Gt = _;
555
565
  let bt;
556
- t[10] !== It ? (bt = It === void 0 ? [] : It, t[10] = It, t[11] = bt) : bt = t[11];
557
- const Pt = bt;
558
- let et;
559
- t[12] !== Q ? (et = Q === void 0 ? [] : Q, t[12] = Q, t[13] = et) : et = t[13];
560
- const Xt = et;
561
- let Ot;
562
- t[14] !== Rt ? (Ot = Rt === void 0 ? ["5 5"] : Rt, t[14] = Rt, t[15] = Ot) : Ot = t[15];
563
- const Gt = Ot;
564
- let Lt;
565
- t[16] !== Z ? (Lt = Z === void 0 ? [] : Z, t[16] = Z, t[17] = Lt) : Lt = t[17];
566
- const W = Lt, L = de === void 0 ? !0 : de, [it, ge] = le(0), [jt, Dt] = le(0), Et = Ie(null), oe = Ie(null);
567
- let M, Tt;
568
- t[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (M = () => {
569
- const be = new ResizeObserver((Oe) => {
570
- ge(Oe[0].target.clientWidth || 620), Dt(Oe[0].target.clientHeight || 480);
566
+ t[14] !== Rt ? (bt = Rt === void 0 ? ["5 5"] : Rt, t[14] = Rt, t[15] = bt) : bt = t[15];
567
+ const Et = bt;
568
+ let At;
569
+ t[16] !== K ? (At = K === void 0 ? [] : K, t[16] = K, t[17] = At) : At = t[17];
570
+ const W = At, O = ye === void 0 ? !0 : ye, Bt = Ft === void 0 ? "en" : Ft, zt = ve === void 0 ? "NA" : ve, [tt, Lt] = he(0), [Ot, Ae] = he(0), Y = Ye(null), ae = Ye(null);
571
+ let jt, k;
572
+ t[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (jt = () => {
573
+ const le = new ResizeObserver((ce) => {
574
+ Lt(ce[0].target.clientWidth || 620), Ae(ce[0].target.clientHeight || 480);
571
575
  });
572
- return Et.current && be.observe(Et.current), () => be.disconnect();
573
- }, Tt = [], t[18] = M, t[19] = Tt) : (M = t[18], Tt = t[19]), Xe(M, Tt);
574
- const Bt = f?.graphContainer, Y = h?.graphContainer;
575
- let $;
576
- t[20] !== f?.description || t[21] !== f?.title || t[22] !== y || t[23] !== tt || t[24] !== S || t[25] !== _ || t[26] !== st || t[27] !== h?.description || t[28] !== h?.title || t[29] !== O ? ($ = st || S || _ || tt ? /* @__PURE__ */ s.jsx(yi, { styles: {
576
+ return Y.current && le.observe(Y.current), () => le.disconnect();
577
+ }, k = [], t[18] = jt, t[19] = k) : (jt = t[18], k = t[19]), Ee(jt, k);
578
+ const Dt = h?.graphContainer, Ut = m?.graphContainer;
579
+ let P;
580
+ t[20] !== h?.description || t[21] !== h?.title || t[22] !== y || t[23] !== Z || t[24] !== T || t[25] !== Q || t[26] !== it || t[27] !== m?.description || t[28] !== m?.title || t[29] !== L ? (P = it || T || Q || Z ? /* @__PURE__ */ s.jsx(wi, { styles: {
581
+ title: m?.title,
582
+ description: m?.description
583
+ }, classNames: {
577
584
  title: h?.title,
578
585
  description: h?.description
579
- }, classNames: {
580
- title: f?.title,
581
- description: f?.description
582
- }, graphTitle: st, graphDescription: S, width: O, graphDownload: _ ? oe : void 0, dataDownload: tt ? y.map(Qi).filter(Ki).length > 0 ? y.map(Ji).filter(qi) : y.filter(Ui) : null }) : null, t[20] = f?.description, t[21] = f?.title, t[22] = y, t[23] = tt, t[24] = S, t[25] = _, t[26] = st, t[27] = h?.description, t[28] = h?.title, t[29] = O, t[30] = $) : $ = t[30];
583
- let P;
584
- t[31] !== f?.colorLegend || t[32] !== x || t[33] !== y.length || t[34] !== w || t[35] !== W || t[36] !== N || t[37] !== c || t[38] !== L ? (P = c && L && y.length > 0 ? /* @__PURE__ */ s.jsx(vi, { colorDomain: w, colorLegendTitle: x, labelsToBeHidden: W, colors: N, showNAColor: !1, className: f?.colorLegend }) : null, t[31] = f?.colorLegend, t[32] = x, t[33] = y.length, t[34] = w, t[35] = W, t[36] = N, t[37] = c, t[38] = L, t[39] = P) : P = t[39];
586
+ }, graphTitle: it, graphDescription: T, width: L, graphDownload: Q ? ae : void 0, dataDownload: Z ? y.map(_i).filter(Zi).length > 0 ? y.map(Qi).filter(Ki) : y.filter(Ji) : null }) : null, t[20] = h?.description, t[21] = h?.title, t[22] = y, t[23] = Z, t[24] = T, t[25] = Q, t[26] = it, t[27] = m?.description, t[28] = m?.title, t[29] = L, t[30] = P) : P = t[30];
585
587
  let X;
586
- t[40] !== y.length ? (X = y.length === 0 && /* @__PURE__ */ s.jsx(Ci, {}), t[40] = y.length, t[41] = X) : X = t[41];
588
+ t[31] !== h?.colorLegend || t[32] !== x || t[33] !== y.length || t[34] !== w || t[35] !== W || t[36] !== N || t[37] !== c || t[38] !== O ? (X = c && O && y.length > 0 ? /* @__PURE__ */ s.jsx(Ci, { colorDomain: w, colorLegendTitle: x, labelsToBeHidden: W, colors: N, showNAColor: !1, className: h?.colorLegend }) : null, t[31] = h?.colorLegend, t[32] = x, t[33] = y.length, t[34] = w, t[35] = W, t[36] = N, t[37] = c, t[38] = O, t[39] = X) : X = t[39];
587
589
  let G;
588
- t[42] !== l || t[43] !== R || t[44] !== he || t[45] !== f || t[46] !== Wt || t[47] !== F || t[48] !== Pt || t[49] !== Gt || t[50] !== Xt || t[51] !== y || t[52] !== pt || t[53] !== Yt || t[54] !== C || t[55] !== r || t[56] !== w || t[57] !== W || t[58] !== I || t[59] !== gt || t[60] !== N || t[61] !== A || t[62] !== mt || t[63] !== m || t[64] !== $t || t[65] !== ht || t[66] !== Ct || t[67] !== n || t[68] !== At || t[69] !== p || t[70] !== pe || t[71] !== Ft || t[72] !== c || t[73] !== L || t[74] !== yt || t[75] !== d || t[76] !== ie || t[77] !== h || t[78] !== ut || t[79] !== jt || t[80] !== it || t[81] !== lt || t[82] !== xt || t[83] !== _t ? (G = it && jt && y.length > 0 ? /* @__PURE__ */ s.jsx(ji, { data: y, lineColors: N, width: it, height: jt, dateFormat: pt, noOfXTicks: ht ?? Li(it), leftMargin: gt, rightMargin: Ft, topMargin: xt, bottomMargin: he, labels: w, tooltip: lt, onSeriesMouseOver: n, showColorLegendAtTop: L ? c : !0, showValues: d, suffix: ut, prefix: p, highlightAreaSettings: C, refValues: pe, minValue: $t, maxValue: mt, highlightedLines: r, animate: l === !0 ? {
590
+ t[40] !== y.length ? (G = y.length === 0 && /* @__PURE__ */ s.jsx(Ai, {}), t[40] = y.length, t[41] = G) : G = t[41];
591
+ let M;
592
+ t[42] !== l || t[43] !== R || t[44] !== Ce || t[45] !== h || t[46] !== Yt || t[47] !== F || t[48] !== Xt || t[49] !== Et || t[50] !== Gt || t[51] !== y || t[52] !== ut || t[53] !== Pt || t[54] !== C || t[55] !== r || t[56] !== w || t[57] !== W || t[58] !== I || t[59] !== ht || t[60] !== N || t[61] !== Bt || t[62] !== mt || t[63] !== rt || t[64] !== ee || t[65] !== $t || t[66] !== zt || t[67] !== dt || t[68] !== vt || t[69] !== n || t[70] !== wt || t[71] !== p || t[72] !== be || t[73] !== Wt || t[74] !== c || t[75] !== O || t[76] !== gt || t[77] !== d || t[78] !== se || t[79] !== m || t[80] !== ft || t[81] !== Ot || t[82] !== tt || t[83] !== st || t[84] !== pt || t[85] !== V ? (M = tt && Ot && y.length > 0 ? /* @__PURE__ */ s.jsx(Ti, { data: y, lineColors: N, width: tt, height: Ot, dateFormat: ut, noOfXTicks: dt ?? Di(tt), leftMargin: ht, rightMargin: Wt, topMargin: pt, bottomMargin: Ce, labels: w, tooltip: st, onSeriesMouseOver: n, showColorLegendAtTop: O ? c : !0, showValues: d, suffix: ft, prefix: p, highlightAreaSettings: C, refValues: be, minValue: $t, maxValue: rt, highlightedLines: r, animate: l === !0 ? {
589
593
  duration: 0.5,
590
594
  once: !0,
591
595
  amount: 0.5
@@ -593,44 +597,44 @@ function ko(i) {
593
597
  duration: 0,
594
598
  once: !0,
595
599
  amount: 0
596
- }, rtl: I === "he" || I === "ar", strokeWidth: ie, showDots: yt, annotations: R, customHighlightAreaSettings: F, yAxisTitle: _t, noOfYTicks: Ct, minDate: m, maxDate: A, curveType: Wt, styles: h, classNames: f, dimmedOpacity: Yt, precision: At, customLayers: Pt, labelsToBeHidden: W, dashedLines: Xt, dashSettings: Gt, revealClipId: Ai(8) }) : null, t[42] = l, t[43] = R, t[44] = he, t[45] = f, t[46] = Wt, t[47] = F, t[48] = Pt, t[49] = Gt, t[50] = Xt, t[51] = y, t[52] = pt, t[53] = Yt, t[54] = C, t[55] = r, t[56] = w, t[57] = W, t[58] = I, t[59] = gt, t[60] = N, t[61] = A, t[62] = mt, t[63] = m, t[64] = $t, t[65] = ht, t[66] = Ct, t[67] = n, t[68] = At, t[69] = p, t[70] = pe, t[71] = Ft, t[72] = c, t[73] = L, t[74] = yt, t[75] = d, t[76] = ie, t[77] = h, t[78] = ut, t[79] = jt, t[80] = it, t[81] = lt, t[82] = xt, t[83] = _t, t[84] = G) : G = t[84];
597
- let E;
598
- t[85] !== X || t[86] !== G ? (E = /* @__PURE__ */ s.jsxs(bi, { ref: Et, children: [
599
- X,
600
- G
601
- ] }), t[85] = X, t[86] = G, t[87] = E) : E = t[87];
602
- let V;
603
- t[88] !== f?.footnote || t[89] !== f?.source || t[90] !== at || t[91] !== a || t[92] !== h?.footnote || t[93] !== h?.source || t[94] !== O ? (V = a || at ? /* @__PURE__ */ s.jsx(xi, { styles: {
600
+ }, rtl: I === "he" || I === "ar", strokeWidth: se, showDots: gt, annotations: R, customHighlightAreaSettings: F, yAxisTitle: V, noOfYTicks: vt, minDate: ee, maxDate: mt, curveType: Yt, styles: m, classNames: h, dimmedOpacity: Pt, precision: wt, customLayers: Xt, labelsToBeHidden: W, dashedLines: Gt, dashSettings: Et, revealClipId: Li(8), locale: Bt, naLabel: zt }) : null, t[42] = l, t[43] = R, t[44] = Ce, t[45] = h, t[46] = Yt, t[47] = F, t[48] = Xt, t[49] = Et, t[50] = Gt, t[51] = y, t[52] = ut, t[53] = Pt, t[54] = C, t[55] = r, t[56] = w, t[57] = W, t[58] = I, t[59] = ht, t[60] = N, t[61] = Bt, t[62] = mt, t[63] = rt, t[64] = ee, t[65] = $t, t[66] = zt, t[67] = dt, t[68] = vt, t[69] = n, t[70] = wt, t[71] = p, t[72] = be, t[73] = Wt, t[74] = c, t[75] = O, t[76] = gt, t[77] = d, t[78] = se, t[79] = m, t[80] = ft, t[81] = Ot, t[82] = tt, t[83] = st, t[84] = pt, t[85] = V, t[86] = M) : M = t[86];
601
+ let $;
602
+ t[87] !== G || t[88] !== M ? ($ = /* @__PURE__ */ s.jsxs(Oi, { ref: Y, children: [
603
+ G,
604
+ M
605
+ ] }), t[87] = G, t[88] = M, t[89] = $) : $ = t[89];
606
+ let Tt;
607
+ t[90] !== h?.footnote || t[91] !== h?.source || t[92] !== ot || t[93] !== a || t[94] !== m?.footnote || t[95] !== m?.source || t[96] !== L ? (Tt = a || ot ? /* @__PURE__ */ s.jsx(vi, { styles: {
608
+ footnote: m?.footnote,
609
+ source: m?.source
610
+ }, classNames: {
604
611
  footnote: h?.footnote,
605
612
  source: h?.source
606
- }, classNames: {
607
- footnote: f?.footnote,
608
- source: f?.source
609
- }, sources: a, footNote: at, width: O }) : null, t[88] = f?.footnote, t[89] = f?.source, t[90] = at, t[91] = a, t[92] = h?.footnote, t[93] = h?.source, t[94] = O, t[95] = V) : V = t[95];
610
- let ot;
611
- return t[96] !== dt || t[97] !== ue || t[98] !== Mt || t[99] !== St || t[100] !== I || t[101] !== ee || t[102] !== rt || t[103] !== ct || t[104] !== Bt || t[105] !== Y || t[106] !== $ || t[107] !== P || t[108] !== E || t[109] !== V || t[110] !== wt || t[111] !== O ? (ot = /* @__PURE__ */ s.jsxs(Oi, { className: Bt, style: Y, id: Mt, ref: oe, "aria-label": dt, backgroundColor: ue, theme: wt, language: I, minHeight: ee, width: O, height: St, relativeHeight: ct, padding: rt, children: [
612
- $,
613
+ }, sources: a, footNote: ot, width: L }) : null, t[90] = h?.footnote, t[91] = h?.source, t[92] = ot, t[93] = a, t[94] = m?.footnote, t[95] = m?.source, t[96] = L, t[97] = Tt) : Tt = t[97];
614
+ let re;
615
+ return t[98] !== ct || t[99] !== we || t[100] !== Mt || t[101] !== St || t[102] !== I || t[103] !== ne || t[104] !== nt || t[105] !== at || t[106] !== Dt || t[107] !== Ut || t[108] !== P || t[109] !== X || t[110] !== $ || t[111] !== Tt || t[112] !== yt || t[113] !== L ? (re = /* @__PURE__ */ s.jsxs(ji, { className: Dt, style: Ut, id: Mt, ref: ae, "aria-label": ct, backgroundColor: we, theme: yt, language: I, minHeight: ne, width: L, height: St, relativeHeight: at, padding: nt, children: [
613
616
  P,
614
- E,
615
- V
616
- ] }), t[96] = dt, t[97] = ue, t[98] = Mt, t[99] = St, t[100] = I, t[101] = ee, t[102] = rt, t[103] = ct, t[104] = Bt, t[105] = Y, t[106] = $, t[107] = P, t[108] = E, t[109] = V, t[110] = wt, t[111] = O, t[112] = ot) : ot = t[112], ot;
617
+ X,
618
+ $,
619
+ Tt
620
+ ] }), t[98] = ct, t[99] = we, t[100] = Mt, t[101] = St, t[102] = I, t[103] = ne, t[104] = nt, t[105] = at, t[106] = Dt, t[107] = Ut, t[108] = P, t[109] = X, t[110] = $, t[111] = Tt, t[112] = yt, t[113] = L, t[114] = re) : re = t[114], re;
617
621
  }
618
- function Ui(i) {
622
+ function Ji(i) {
619
623
  return i !== void 0;
620
624
  }
621
- function qi(i) {
625
+ function Ki(i) {
622
626
  return i !== void 0;
623
627
  }
624
- function Ji(i) {
628
+ function Qi(i) {
625
629
  return i.data;
626
630
  }
627
- function Ki(i) {
631
+ function Zi(i) {
628
632
  return i !== void 0;
629
633
  }
630
- function Qi(i) {
634
+ function _i(i) {
631
635
  return i.data;
632
636
  }
633
637
  export {
634
- ko as MultiLineChart
638
+ $o as MultiLineChart
635
639
  };
636
640
  //# sourceMappingURL=MultiLineChart.js.map