@undp/data-viz 1.5.9 → 2.0.1

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 (676) hide show
  1. package/dist/AreaChart.cjs +1 -1
  2. package/dist/AreaChart.cjs.map +1 -1
  3. package/dist/AreaChart.d.ts +1 -0
  4. package/dist/AreaChart.js +420 -520
  5. package/dist/AreaChart.js.map +1 -1
  6. package/dist/Axis-CRyfcLjc.js +32 -0
  7. package/dist/Axis-CRyfcLjc.js.map +1 -0
  8. package/dist/Axis-DxRV2yMi.cjs +2 -0
  9. package/dist/Axis-DxRV2yMi.cjs.map +1 -0
  10. package/dist/AxisTitle-jeI7am8o.js +29 -0
  11. package/dist/AxisTitle-jeI7am8o.js.map +1 -0
  12. package/dist/AxisTitle-sS5bLLR7.cjs +2 -0
  13. package/dist/AxisTitle-sS5bLLR7.cjs.map +1 -0
  14. package/dist/BarGraph.cjs +1 -1
  15. package/dist/BarGraph.cjs.map +1 -1
  16. package/dist/BarGraph.d.ts +1 -0
  17. package/dist/BarGraph.js +2185 -4042
  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 +1 -0
  22. package/dist/BasicStatCard.js +118 -186
  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 +5 -0
  27. package/dist/BeeSwarmChart.js +518 -1016
  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 +1 -0
  32. package/dist/BiVariateChoroplethMap.js +456 -697
  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 +1 -0
  37. package/dist/BulletChart.js +863 -1414
  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 +1 -0
  42. package/dist/ButterflyChart.js +474 -684
  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 +1 -0
  47. package/dist/ChoroplethMap.js +468 -722
  48. package/dist/ChoroplethMap.js.map +1 -1
  49. package/dist/CirclePackingGraph.cjs +1 -1
  50. package/dist/CirclePackingGraph.d.ts +1 -0
  51. package/dist/CirclePackingGraph.js +5 -6
  52. package/dist/CirclePackingGraph.js.map +1 -1
  53. package/dist/ColorLegend.cjs +1 -1
  54. package/dist/ColorLegend.cjs.map +1 -1
  55. package/dist/ColorLegend.js +57 -44
  56. package/dist/ColorLegend.js.map +1 -1
  57. package/dist/ColorLegendWithMouseOver.cjs +1 -1
  58. package/dist/ColorLegendWithMouseOver.cjs.map +1 -1
  59. package/dist/ColorLegendWithMouseOver.js +60 -65
  60. package/dist/ColorLegendWithMouseOver.js.map +1 -1
  61. package/dist/Colors.cjs.map +1 -1
  62. package/dist/Colors.js +44 -430
  63. package/dist/Colors.js.map +1 -1
  64. package/dist/CopyTextButton.cjs +3 -3
  65. package/dist/CopyTextButton.cjs.map +1 -1
  66. package/dist/CopyTextButton.js +537 -455
  67. package/dist/CopyTextButton.js.map +1 -1
  68. package/dist/CsvDownloadButton.cjs +7 -7
  69. package/dist/CsvDownloadButton.cjs.map +1 -1
  70. package/dist/CsvDownloadButton.js +442 -447
  71. package/dist/CsvDownloadButton.js.map +1 -1
  72. package/dist/Data/barChart.json +70 -0
  73. package/dist/Data/basic.csv +20 -0
  74. package/dist/DataCards.cjs +5 -5
  75. package/dist/DataCards.cjs.map +1 -1
  76. package/dist/DataCards.d.ts +1 -0
  77. package/dist/DataCards.js +488 -581
  78. package/dist/DataCards.js.map +1 -1
  79. package/dist/DataTable.cjs +1 -1
  80. package/dist/DataTable.cjs.map +1 -1
  81. package/dist/DataTable.d.ts +1 -0
  82. package/dist/DataTable.js +183 -326
  83. package/dist/DataTable.js.map +1 -1
  84. package/dist/DifferenceLineChart.cjs +1 -1
  85. package/dist/DifferenceLineChart.cjs.map +1 -1
  86. package/dist/DifferenceLineChart.d.ts +1 -0
  87. package/dist/DifferenceLineChart.js +731 -795
  88. package/dist/DifferenceLineChart.js.map +1 -1
  89. package/dist/DonutChart.cjs +1 -1
  90. package/dist/DonutChart.cjs.map +1 -1
  91. package/dist/DonutChart.d.ts +1 -4
  92. package/dist/DonutChart.js +260 -444
  93. package/dist/DonutChart.js.map +1 -1
  94. package/dist/DotDensityMap.cjs +1 -1
  95. package/dist/DotDensityMap.cjs.map +1 -1
  96. package/dist/DotDensityMap.d.ts +1 -0
  97. package/dist/DotDensityMap.js +387 -574
  98. package/dist/DotDensityMap.js.map +1 -1
  99. package/dist/{DropdownSelect-6kjXM6oW.js → DropdownSelect-BbdPQa2k.js} +1401 -1374
  100. package/dist/DropdownSelect-BbdPQa2k.js.map +1 -0
  101. package/dist/DropdownSelect-Doz3mCrM.cjs +29 -0
  102. package/dist/DropdownSelect-Doz3mCrM.cjs.map +1 -0
  103. package/dist/DualAxisLineChart.cjs +1 -1
  104. package/dist/DualAxisLineChart.cjs.map +1 -1
  105. package/dist/DualAxisLineChart.d.ts +1 -0
  106. package/dist/DualAxisLineChart.js +620 -714
  107. package/dist/DualAxisLineChart.js.map +1 -1
  108. package/dist/DumbbellChart.cjs +1 -1
  109. package/dist/DumbbellChart.cjs.map +1 -1
  110. package/dist/DumbbellChart.d.ts +1 -0
  111. package/dist/DumbbellChart.js +789 -1499
  112. package/dist/DumbbellChart.js.map +1 -1
  113. package/dist/EmptyState-BZo1BbAn.js +15 -0
  114. package/dist/{EmptyState-36lXXyui.js.map → EmptyState-BZo1BbAn.js.map} +1 -1
  115. package/dist/EmptyState-sAEZ_5rU.cjs +2 -0
  116. package/dist/{EmptyState-B8IpKGcL.cjs.map → EmptyState-sAEZ_5rU.cjs.map} +1 -1
  117. package/dist/ExcelDownloadButton.cjs +1 -1
  118. package/dist/ExcelDownloadButton.cjs.map +1 -1
  119. package/dist/ExcelDownloadButton.js +20 -24
  120. package/dist/ExcelDownloadButton.js.map +1 -1
  121. package/dist/FootNote.cjs +1 -1
  122. package/dist/FootNote.cjs.map +1 -1
  123. package/dist/FootNote.js +26 -17
  124. package/dist/FootNote.js.map +1 -1
  125. package/dist/GeoHubCompareMaps.cjs +1 -1
  126. package/dist/GeoHubCompareMaps.cjs.map +1 -1
  127. package/dist/GeoHubCompareMaps.d.ts +1 -0
  128. package/dist/GeoHubCompareMaps.js +267 -342
  129. package/dist/GeoHubCompareMaps.js.map +1 -1
  130. package/dist/GeoHubMap.cjs +1 -1
  131. package/dist/GeoHubMap.cjs.map +1 -1
  132. package/dist/GeoHubMap.d.ts +1 -0
  133. package/dist/GeoHubMap.js +214 -379
  134. package/dist/GeoHubMap.js.map +1 -1
  135. package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
  136. package/dist/GeoHubMapWithLayerSelection.cjs.map +1 -1
  137. package/dist/GeoHubMapWithLayerSelection.d.ts +1 -0
  138. package/dist/GeoHubMapWithLayerSelection.js +192 -278
  139. package/dist/GeoHubMapWithLayerSelection.js.map +1 -1
  140. package/dist/GraphContainer-CRqzdKu2.js +78 -0
  141. package/dist/GraphContainer-CRqzdKu2.js.map +1 -0
  142. package/dist/GraphContainer-d8A46BK2.cjs +2 -0
  143. package/dist/GraphContainer-d8A46BK2.cjs.map +1 -0
  144. package/dist/GraphDescription.cjs +1 -1
  145. package/dist/GraphDescription.cjs.map +1 -1
  146. package/dist/GraphDescription.js +23 -17
  147. package/dist/GraphDescription.js.map +1 -1
  148. package/dist/{GraphEl-2IiUDxjR.js → GraphEl-BZne2JIx.js} +181 -202
  149. package/dist/GraphEl-BZne2JIx.js.map +1 -0
  150. package/dist/GraphEl-D5MUfp45.cjs +2 -0
  151. package/dist/GraphEl-D5MUfp45.cjs.map +1 -0
  152. package/dist/GraphFooter.cjs +1 -1
  153. package/dist/GraphFooter.cjs.map +1 -1
  154. package/dist/GraphFooter.js +28 -18
  155. package/dist/GraphFooter.js.map +1 -1
  156. package/dist/GraphHeader.cjs +1 -1
  157. package/dist/GraphHeader.cjs.map +1 -1
  158. package/dist/GraphHeader.d.ts +2 -1
  159. package/dist/GraphHeader.js +45 -59
  160. package/dist/GraphHeader.js.map +1 -1
  161. package/dist/GraphTitle.cjs +1 -1
  162. package/dist/GraphTitle.cjs.map +1 -1
  163. package/dist/GraphTitle.js +29 -24
  164. package/dist/GraphTitle.js.map +1 -1
  165. package/dist/GriddedGraphs.cjs +1 -1
  166. package/dist/GriddedGraphs.cjs.map +1 -1
  167. package/dist/GriddedGraphs.d.ts +1 -0
  168. package/dist/GriddedGraphs.js +216 -450
  169. package/dist/GriddedGraphs.js.map +1 -1
  170. package/dist/GriddedGraphsFromConfig.cjs +1 -1
  171. package/dist/GriddedGraphsFromConfig.cjs.map +1 -1
  172. package/dist/GriddedGraphsFromConfig.d.ts +1 -0
  173. package/dist/GriddedGraphsFromConfig.js +22 -36
  174. package/dist/GriddedGraphsFromConfig.js.map +1 -1
  175. package/dist/HeatMap.cjs +1 -1
  176. package/dist/HeatMap.cjs.map +1 -1
  177. package/dist/HeatMap.d.ts +1 -0
  178. package/dist/HeatMap.js +278 -446
  179. package/dist/HeatMap.js.map +1 -1
  180. package/dist/Histogram.cjs +1 -1
  181. package/dist/Histogram.cjs.map +1 -1
  182. package/dist/Histogram.d.ts +1 -0
  183. package/dist/Histogram.js +154 -264
  184. package/dist/Histogram.js.map +1 -1
  185. package/dist/ImageDownloadButton.cjs +1 -1
  186. package/dist/ImageDownloadButton.cjs.map +1 -1
  187. package/dist/ImageDownloadButton.d.ts +2 -1
  188. package/dist/ImageDownloadButton.js +21 -25
  189. package/dist/ImageDownloadButton.js.map +1 -1
  190. package/dist/LineChartWithConfidenceInterval.cjs +1 -1
  191. package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
  192. package/dist/LineChartWithConfidenceInterval.d.ts +1 -0
  193. package/dist/LineChartWithConfidenceInterval.js +677 -827
  194. package/dist/LineChartWithConfidenceInterval.js.map +1 -1
  195. package/dist/LinearColorLegend.cjs +1 -1
  196. package/dist/LinearColorLegend.cjs.map +1 -1
  197. package/dist/LinearColorLegend.js +49 -30
  198. package/dist/LinearColorLegend.js.map +1 -1
  199. package/dist/Modal-DGcuAHyK.js +1047 -0
  200. package/dist/Modal-DGcuAHyK.js.map +1 -0
  201. package/dist/Modal-JW_IExO3.cjs +46 -0
  202. package/dist/Modal-JW_IExO3.cjs.map +1 -0
  203. package/dist/MultiGraphDashboard.cjs +1 -1
  204. package/dist/MultiGraphDashboard.cjs.map +1 -1
  205. package/dist/MultiGraphDashboard.d.ts +1 -0
  206. package/dist/MultiGraphDashboard.js +126 -292
  207. package/dist/MultiGraphDashboard.js.map +1 -1
  208. package/dist/MultiGraphDashboardFromConfig.cjs +1 -1
  209. package/dist/MultiGraphDashboardFromConfig.cjs.map +1 -1
  210. package/dist/MultiGraphDashboardFromConfig.d.ts +1 -0
  211. package/dist/MultiGraphDashboardFromConfig.js +22 -31
  212. package/dist/MultiGraphDashboardFromConfig.js.map +1 -1
  213. package/dist/MultiGraphDashboardWideToLongFormat.cjs +1 -1
  214. package/dist/MultiGraphDashboardWideToLongFormat.cjs.map +1 -1
  215. package/dist/MultiGraphDashboardWideToLongFormat.d.ts +1 -0
  216. package/dist/MultiGraphDashboardWideToLongFormat.js +139 -223
  217. package/dist/MultiGraphDashboardWideToLongFormat.js.map +1 -1
  218. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs +1 -1
  219. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs.map +1 -1
  220. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.d.ts +1 -0
  221. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js +25 -27
  222. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js.map +1 -1
  223. package/dist/MultiLineAltChart.cjs +1 -1
  224. package/dist/MultiLineAltChart.cjs.map +1 -1
  225. package/dist/MultiLineAltChart.d.ts +1 -0
  226. package/dist/MultiLineAltChart.js +582 -659
  227. package/dist/MultiLineAltChart.js.map +1 -1
  228. package/dist/MultiLineChart.cjs +1 -1
  229. package/dist/MultiLineChart.cjs.map +1 -1
  230. package/dist/MultiLineChart.d.ts +1 -0
  231. package/dist/MultiLineChart.js +617 -724
  232. package/dist/MultiLineChart.js.map +1 -1
  233. package/dist/ParetoChart.cjs +1 -1
  234. package/dist/ParetoChart.cjs.map +1 -1
  235. package/dist/ParetoChart.d.ts +1 -0
  236. package/dist/ParetoChart.js +531 -635
  237. package/dist/ParetoChart.js.map +1 -1
  238. package/dist/PerformanceIntensiveMultiGraphDashboard.cjs +1 -1
  239. package/dist/PerformanceIntensiveMultiGraphDashboard.cjs.map +1 -1
  240. package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +1 -0
  241. package/dist/PerformanceIntensiveMultiGraphDashboard.js +148 -337
  242. package/dist/PerformanceIntensiveMultiGraphDashboard.js.map +1 -1
  243. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.cjs +1 -1
  244. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.cjs.map +1 -1
  245. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +1 -0
  246. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js +22 -31
  247. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js.map +1 -1
  248. package/dist/PerformanceIntensiveScrollStory.cjs +1 -1
  249. package/dist/PerformanceIntensiveScrollStory.cjs.map +1 -1
  250. package/dist/PerformanceIntensiveScrollStory.d.ts +1 -0
  251. package/dist/PerformanceIntensiveScrollStory.js +93 -114
  252. package/dist/PerformanceIntensiveScrollStory.js.map +1 -1
  253. package/dist/RadarChart.cjs +1 -1
  254. package/dist/RadarChart.cjs.map +1 -1
  255. package/dist/RadarChart.d.ts +1 -0
  256. package/dist/RadarChart.js +426 -575
  257. package/dist/RadarChart.js.map +1 -1
  258. package/dist/ReferenceLine-2XCwHXQ4.js +162 -0
  259. package/dist/ReferenceLine-2XCwHXQ4.js.map +1 -0
  260. package/dist/ReferenceLine-BH0qdf4R.cjs +2 -0
  261. package/dist/ReferenceLine-BH0qdf4R.cjs.map +1 -0
  262. package/dist/RegressionLine-BOTTNSrr.cjs +2 -0
  263. package/dist/RegressionLine-BOTTNSrr.cjs.map +1 -0
  264. package/dist/RegressionLine-DAcY2DjT.js +87 -0
  265. package/dist/RegressionLine-DAcY2DjT.js.map +1 -0
  266. package/dist/SVGDownloadButton.cjs +1 -1
  267. package/dist/SVGDownloadButton.cjs.map +1 -1
  268. package/dist/SVGDownloadButton.js +21 -25
  269. package/dist/SVGDownloadButton.js.map +1 -1
  270. package/dist/SankeyChart.cjs +1 -1
  271. package/dist/SankeyChart.cjs.map +1 -1
  272. package/dist/SankeyChart.d.ts +1 -0
  273. package/dist/SankeyChart.js +665 -854
  274. package/dist/SankeyChart.js.map +1 -1
  275. package/dist/ScatterPlot.cjs +1 -1
  276. package/dist/ScatterPlot.cjs.map +1 -1
  277. package/dist/ScatterPlot.d.ts +1 -0
  278. package/dist/ScatterPlot.js +675 -815
  279. package/dist/ScatterPlot.js.map +1 -1
  280. package/dist/ScrollStory.cjs +1 -1
  281. package/dist/ScrollStory.cjs.map +1 -1
  282. package/dist/ScrollStory.d.ts +1 -0
  283. package/dist/ScrollStory.js +85 -97
  284. package/dist/ScrollStory.js.map +1 -1
  285. package/dist/SimpleLineChart.cjs +1 -1
  286. package/dist/SimpleLineChart.cjs.map +1 -1
  287. package/dist/SimpleLineChart.d.ts +1 -0
  288. package/dist/SimpleLineChart.js +505 -613
  289. package/dist/SimpleLineChart.js.map +1 -1
  290. package/dist/SingleGraphDashboard.cjs +1 -1
  291. package/dist/SingleGraphDashboard.cjs.map +1 -1
  292. package/dist/SingleGraphDashboard.d.ts +2 -1
  293. package/dist/SingleGraphDashboard.js +284 -508
  294. package/dist/SingleGraphDashboard.js.map +1 -1
  295. package/dist/SingleGraphDashboardFromConfig.cjs +1 -1
  296. package/dist/SingleGraphDashboardFromConfig.cjs.map +1 -1
  297. package/dist/SingleGraphDashboardFromConfig.d.ts +2 -1
  298. package/dist/SingleGraphDashboardFromConfig.js +25 -31
  299. package/dist/SingleGraphDashboardFromConfig.js.map +1 -1
  300. package/dist/SingleGraphDashboardGeoHubMaps.cjs +1 -1
  301. package/dist/SingleGraphDashboardGeoHubMaps.cjs.map +1 -1
  302. package/dist/SingleGraphDashboardGeoHubMaps.d.ts +1 -0
  303. package/dist/SingleGraphDashboardGeoHubMaps.js +150 -168
  304. package/dist/SingleGraphDashboardGeoHubMaps.js.map +1 -1
  305. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.cjs +1 -1
  306. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.cjs.map +1 -1
  307. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +1 -0
  308. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js +25 -21
  309. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js.map +1 -1
  310. package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
  311. package/dist/SingleGraphDashboardThreeDGraphs.cjs.map +1 -1
  312. package/dist/SingleGraphDashboardThreeDGraphs.d.ts +1 -0
  313. package/dist/SingleGraphDashboardThreeDGraphs.js +363 -593
  314. package/dist/SingleGraphDashboardThreeDGraphs.js.map +1 -1
  315. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.cjs +1 -1
  316. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.cjs.map +1 -1
  317. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +1 -0
  318. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js +25 -31
  319. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js.map +1 -1
  320. package/dist/SlopeChart.cjs +1 -1
  321. package/dist/SlopeChart.cjs.map +1 -1
  322. package/dist/SlopeChart.d.ts +1 -0
  323. package/dist/SlopeChart.js +539 -573
  324. package/dist/SlopeChart.js.map +1 -1
  325. package/dist/Source-DYMJRrsq.cjs +2 -0
  326. package/dist/Source-DYMJRrsq.cjs.map +1 -0
  327. package/dist/Source-DwTHB8fn.js +78 -0
  328. package/dist/Source-DwTHB8fn.js.map +1 -0
  329. package/dist/Source.cjs +1 -1
  330. package/dist/Source.cjs.map +1 -1
  331. package/dist/Source.js +4 -38
  332. package/dist/Source.js.map +1 -1
  333. package/dist/SparkLine.cjs +1 -1
  334. package/dist/SparkLine.cjs.map +1 -1
  335. package/dist/SparkLine.d.ts +1 -0
  336. package/dist/SparkLine.js +286 -314
  337. package/dist/SparkLine.js.map +1 -1
  338. package/dist/Spinner-D7rnnwnA.js +47 -0
  339. package/dist/Spinner-D7rnnwnA.js.map +1 -0
  340. package/dist/Spinner-DRMBUsX7.cjs +2 -0
  341. package/dist/Spinner-DRMBUsX7.cjs.map +1 -0
  342. package/dist/StatCardFromData.cjs +1 -1
  343. package/dist/StatCardFromData.cjs.map +1 -1
  344. package/dist/StatCardFromData.d.ts +1 -0
  345. package/dist/StatCardFromData.js +161 -243
  346. package/dist/StatCardFromData.js.map +1 -1
  347. package/dist/StripChart.cjs +1 -1
  348. package/dist/StripChart.cjs.map +1 -1
  349. package/dist/StripChart.d.ts +1 -0
  350. package/dist/StripChart.js +665 -983
  351. package/dist/StripChart.js.map +1 -1
  352. package/dist/ThreeDGlobe.cjs +1 -1
  353. package/dist/ThreeDGlobe.cjs.map +1 -1
  354. package/dist/ThreeDGlobe.d.ts +1 -0
  355. package/dist/ThreeDGlobe.js +356 -519
  356. package/dist/ThreeDGlobe.js.map +1 -1
  357. package/dist/ThresholdColorLegendWithMouseOver.cjs +1 -1
  358. package/dist/ThresholdColorLegendWithMouseOver.cjs.map +1 -1
  359. package/dist/ThresholdColorLegendWithMouseOver.js +96 -126
  360. package/dist/ThresholdColorLegendWithMouseOver.js.map +1 -1
  361. package/dist/Tooltip-4dJo4_AF.cjs +2 -0
  362. package/dist/Tooltip-4dJo4_AF.cjs.map +1 -0
  363. package/dist/Tooltip-CwWUegPB.js +43 -0
  364. package/dist/Tooltip-CwWUegPB.js.map +1 -0
  365. package/dist/TreeMapGraph.cjs +1 -1
  366. package/dist/TreeMapGraph.cjs.map +1 -1
  367. package/dist/TreeMapGraph.d.ts +1 -0
  368. package/dist/TreeMapGraph.js +479 -617
  369. package/dist/TreeMapGraph.js.map +1 -1
  370. package/dist/Types.d.ts +1 -0
  371. package/dist/Typography-DX7PlgQU.cjs +2 -0
  372. package/dist/Typography-DX7PlgQU.cjs.map +1 -0
  373. package/dist/Typography-PxtFcnJb.js +142 -0
  374. package/dist/Typography-PxtFcnJb.js.map +1 -0
  375. package/dist/UnitChart.cjs +1 -1
  376. package/dist/UnitChart.cjs.map +1 -1
  377. package/dist/UnitChart.d.ts +1 -0
  378. package/dist/UnitChart.js +160 -212
  379. package/dist/UnitChart.js.map +1 -1
  380. package/dist/XAxesLabels-D5X8jngD.cjs +2 -0
  381. package/dist/XAxesLabels-D5X8jngD.cjs.map +1 -0
  382. package/dist/XAxesLabels-DNO0KmjL.js +73 -0
  383. package/dist/XAxesLabels-DNO0KmjL.js.map +1 -0
  384. package/dist/XTicksAndGridLines-B6CELS7q.cjs +2 -0
  385. package/dist/XTicksAndGridLines-B6CELS7q.cjs.map +1 -0
  386. package/dist/XTicksAndGridLines-CObVFSm4.js +38 -0
  387. package/dist/XTicksAndGridLines-CObVFSm4.js.map +1 -0
  388. package/dist/YAxesLabels-DcS85Beo.cjs +2 -0
  389. package/dist/YAxesLabels-DcS85Beo.cjs.map +1 -0
  390. package/dist/YAxesLabels-Dnnng49-.js +70 -0
  391. package/dist/YAxesLabels-Dnnng49-.js.map +1 -0
  392. package/dist/YTicksAndGridLines-4pxTRlRK.cjs +2 -0
  393. package/dist/YTicksAndGridLines-4pxTRlRK.cjs.map +1 -0
  394. package/dist/YTicksAndGridLines-Blepl7XF.js +38 -0
  395. package/dist/YTicksAndGridLines-Blepl7XF.js.map +1 -0
  396. package/dist/{band-BEjh2CHI.js → band-CyHaVft5.js} +3 -3
  397. package/dist/{band-BEjh2CHI.js.map → band-CyHaVft5.js.map} +1 -1
  398. package/dist/{band-CAApY4Pd.cjs → band-VYfcZeJ2.cjs} +2 -2
  399. package/dist/{band-CAApY4Pd.cjs.map → band-VYfcZeJ2.cjs.map} +1 -1
  400. package/dist/checkIfMultiple-Y9iKaV_u.js +950 -0
  401. package/dist/checkIfMultiple-Y9iKaV_u.js.map +1 -0
  402. package/dist/checkIfMultiple-wg6hJLXy.cjs +12 -0
  403. package/dist/checkIfMultiple-wg6hJLXy.cjs.map +1 -0
  404. package/dist/customArea-BUhPiPT6.js +163 -0
  405. package/dist/{customArea-x4L4xwLl.js.map → customArea-BUhPiPT6.js.map} +1 -1
  406. package/dist/customArea-CMF5g-C3.cjs +2 -0
  407. package/dist/{customArea-1G1S78s_.cjs.map → customArea-CMF5g-C3.cjs.map} +1 -1
  408. package/dist/delaunay-C1uAf38t.js.map +1 -1
  409. package/dist/delaunay-rcy0HhZi.cjs.map +1 -1
  410. package/dist/{ensureCompleteData-DlmibgaI.js → ensureCompleteData-DNKEGRiP.js} +12 -32
  411. package/dist/{ensureCompleteData-DlmibgaI.js.map → ensureCompleteData-DNKEGRiP.js.map} +1 -1
  412. package/dist/{ensureCompleteData-DkQYPeDa.cjs → ensureCompleteData-I6nYmT8E.cjs} +2 -2
  413. package/dist/{ensureCompleteData-DkQYPeDa.cjs.map → ensureCompleteData-I6nYmT8E.cjs.map} +1 -1
  414. package/dist/{excelDownload-BOA-lskf.js → excelDownload-BEC1AyQW.js} +12 -2
  415. package/dist/{excelDownload-BOA-lskf.js.map → excelDownload-BEC1AyQW.js.map} +1 -1
  416. package/dist/excelDownload-BQpsCa62.cjs.map +1 -1
  417. package/dist/{fetchAndParseData-sapWbnYk.js → fetchAndParseData-BpqkBPQL.js} +15 -28
  418. package/dist/{fetchAndParseData-sapWbnYk.js.map → fetchAndParseData-BpqkBPQL.js.map} +1 -1
  419. package/dist/fetchAndParseData-l5HGMAEs.cjs +16 -0
  420. package/dist/{fetchAndParseData-Ba-_CgxS.cjs.map → fetchAndParseData-l5HGMAEs.cjs.map} +1 -1
  421. package/dist/fetchAndParseData.cjs +1 -1
  422. package/dist/fetchAndParseData.js +1 -1
  423. package/dist/{filterData-9nEcQ-Jp.js → filterData-DsAiFzKY.js} +3 -5
  424. package/dist/{filterData-9nEcQ-Jp.js.map → filterData-DsAiFzKY.js.map} +1 -1
  425. package/dist/{filterData-BoYadk0l.cjs → filterData-T5DQBE9b.cjs} +2 -2
  426. package/dist/{filterData-BoYadk0l.cjs.map → filterData-T5DQBE9b.cjs.map} +1 -1
  427. package/dist/generateRandomString-B5zBiJzS.cjs.map +1 -1
  428. package/dist/generateRandomString-za3IQGfQ.js.map +1 -1
  429. package/dist/{getCentroidCoordinates-Dfk6IqEG.js → getCentroidCoordinates-D7r34N4w.js} +2 -2
  430. package/dist/{getCentroidCoordinates-Dfk6IqEG.js.map → getCentroidCoordinates-D7r34N4w.js.map} +1 -1
  431. package/dist/{getCentroidCoordinates-DxTBqzp2.cjs → getCentroidCoordinates-Dng1HVjO.cjs} +2 -2
  432. package/dist/{getCentroidCoordinates-DxTBqzp2.cjs.map → getCentroidCoordinates-Dng1HVjO.cjs.map} +1 -1
  433. package/dist/getGraphList-BpEWn1Tk.js +227 -0
  434. package/dist/{getGraphList-DuColTJM.js.map → getGraphList-BpEWn1Tk.js.map} +1 -1
  435. package/dist/getGraphList-gf02xgT2.cjs.map +1 -1
  436. package/dist/getJenks-BbngDoBQ.js.map +1 -1
  437. package/dist/getJenks-GYmdwBqm.cjs.map +1 -1
  438. package/dist/getNoOfTicks-C_1CFXv_.cjs +2 -0
  439. package/dist/getNoOfTicks-C_1CFXv_.cjs.map +1 -0
  440. package/dist/getNoOfTicks-CpmRjcRF.js +7 -0
  441. package/dist/getNoOfTicks-CpmRjcRF.js.map +1 -0
  442. package/dist/getSchema.cjs.map +1 -1
  443. package/dist/getSchema.js +445 -231
  444. package/dist/getSchema.js.map +1 -1
  445. package/dist/getSliderMarks-BmADcPQt.cjs +6 -0
  446. package/dist/getSliderMarks-BmADcPQt.cjs.map +1 -0
  447. package/dist/getSliderMarks-HIDJ0_Cd.js +1033 -0
  448. package/dist/getSliderMarks-HIDJ0_Cd.js.map +1 -0
  449. package/dist/{getTextColorBasedOnBgColor-B6Nk2WBf.js → getTextColorBasedOnBgColor-CDY808zi.js} +11 -3
  450. package/dist/{getTextColorBasedOnBgColor-B6Nk2WBf.js.map → getTextColorBasedOnBgColor-CDY808zi.js.map} +1 -1
  451. package/dist/getTextColorBasedOnBgColor-nqY-bsM_.cjs.map +1 -1
  452. package/dist/{getUniqValue-DiCh_MOD.js → getUniqValue-BKHCm3zE.js} +2 -4
  453. package/dist/{getUniqValue-DiCh_MOD.js.map → getUniqValue-BKHCm3zE.js.map} +1 -1
  454. package/dist/getUniqValue-RViz8tTw.cjs.map +1 -1
  455. package/dist/{imageDownload-Dcci2LEy.js → imageDownload-BX6SILNZ.js} +4 -2
  456. package/dist/{imageDownload-Dcci2LEy.js.map → imageDownload-BX6SILNZ.js.map} +1 -1
  457. package/dist/imageDownload-CgDcm1Sj.cjs.map +1 -1
  458. package/dist/{index-DvVprvy6.js → index-BZQYSqar.js} +7 -7
  459. package/dist/{index-DvVprvy6.js.map → index-BZQYSqar.js.map} +1 -1
  460. package/dist/index-B_sAFsEV.cjs +2 -0
  461. package/dist/{index-BHe3wsWF.cjs.map → index-B_sAFsEV.cjs.map} +1 -1
  462. package/dist/index-BqfRwk1n.js +146 -0
  463. package/dist/index-BqfRwk1n.js.map +1 -0
  464. package/dist/{index-V_JXij1_.js → index-BuwmuDFJ.js} +3 -3
  465. package/dist/{index-V_JXij1_.js.map → index-BuwmuDFJ.js.map} +1 -1
  466. package/dist/index-C6LorfZ-.cjs +2 -0
  467. package/dist/index-C6LorfZ-.cjs.map +1 -0
  468. package/dist/index-CHPV5EwG-CTPQjnHt.cjs +84 -0
  469. package/dist/index-CHPV5EwG-CTPQjnHt.cjs.map +1 -0
  470. package/dist/{index-CHPV5EwG-DBWUSD9b.js → index-CHPV5EwG-Curnpaqc.js} +724 -625
  471. package/dist/index-CHPV5EwG-Curnpaqc.js.map +1 -0
  472. package/dist/index-Ceppbd8C.js +342 -0
  473. package/dist/index-Ceppbd8C.js.map +1 -0
  474. package/dist/index-Cno4Q0YE.cjs +2 -0
  475. package/dist/{index-CQ3e6Ewi.cjs.map → index-Cno4Q0YE.cjs.map} +1 -1
  476. package/dist/{index-Cw8sCyo_-BuI_jX5Z.js → index-Cw8sCyo_-B2hEKjzG.js} +16 -16
  477. package/dist/{index-Cw8sCyo_-BuI_jX5Z.js.map → index-Cw8sCyo_-B2hEKjzG.js.map} +1 -1
  478. package/dist/{index-Cw8sCyo_-gxT8ADyn.cjs → index-Cw8sCyo_-BrHiWiRF.cjs} +2 -2
  479. package/dist/{index-Cw8sCyo_-gxT8ADyn.cjs.map → index-Cw8sCyo_-BrHiWiRF.cjs.map} +1 -1
  480. package/dist/index-CyZ1lmi_.cjs +2 -0
  481. package/dist/{index-D72cOtq7.cjs.map → index-CyZ1lmi_.cjs.map} +1 -1
  482. package/dist/index-D491FEn1.js +184 -0
  483. package/dist/index-D491FEn1.js.map +1 -0
  484. package/dist/index-DG2bgAva.cjs +10 -0
  485. package/dist/index-DG2bgAva.cjs.map +1 -0
  486. package/dist/index-DRXx7m-C.cjs +2 -0
  487. package/dist/index-DRXx7m-C.cjs.map +1 -0
  488. package/dist/index-DxXnJ8Ti.cjs +2 -0
  489. package/dist/index-DxXnJ8Ti.cjs.map +1 -0
  490. package/dist/{index-Dzc_aaI9-BKklH89r.js → index-Dzc_aaI9-Bb7gobH_.js} +2 -2
  491. package/dist/{index-Dzc_aaI9-BKklH89r.js.map → index-Dzc_aaI9-Bb7gobH_.js.map} +1 -1
  492. package/dist/{index-Dzc_aaI9-RIk2GRHD.cjs → index-Dzc_aaI9-BmkfPMyc.cjs} +2 -2
  493. package/dist/{index-Dzc_aaI9-RIk2GRHD.cjs.map → index-Dzc_aaI9-BmkfPMyc.cjs.map} +1 -1
  494. package/dist/{index-9tDEUqOZ.js → index-GEsywGxz.js} +9 -9
  495. package/dist/index-GEsywGxz.js.map +1 -0
  496. package/dist/index-SKgJALZg.js +99 -0
  497. package/dist/{index-Bw_eHBVN.js.map → index-SKgJALZg.js.map} +1 -1
  498. package/dist/index.cjs +1 -1
  499. package/dist/index.d.ts +10 -8
  500. package/dist/index.js +13 -13
  501. package/dist/{init-BhZylTFx.js → init-BJFW6EwE.js} +3 -3
  502. package/dist/{init-BhZylTFx.js.map → init-BJFW6EwE.js.map} +1 -1
  503. package/dist/{linear-BVckp9RD.cjs → linear-BwPAspcq.cjs} +2 -2
  504. package/dist/{linear-BVckp9RD.cjs.map → linear-BwPAspcq.cjs.map} +1 -1
  505. package/dist/{linear-DUdu7l2G.js → linear-BwnDd9KF.js} +3 -3
  506. package/dist/{linear-DUdu7l2G.js.map → linear-BwnDd9KF.js.map} +1 -1
  507. package/dist/numberFormattingFunction-02t-wJta.cjs.map +1 -1
  508. package/dist/numberFormattingFunction-14YCbkN2.js.map +1 -1
  509. package/dist/{ordinal-BOeNbyae.cjs → ordinal-CrsysVE-.cjs} +2 -2
  510. package/dist/ordinal-CrsysVE-.cjs.map +1 -0
  511. package/dist/{ordinal-w9Lu4Stb.js → ordinal-P77xw8aL.js} +24 -24
  512. package/dist/ordinal-P77xw8aL.js.map +1 -0
  513. package/dist/{pow-e8zx3AQJ.js → pow-DE4c7dbW.js} +3 -3
  514. package/dist/{pow-e8zx3AQJ.js.map → pow-DE4c7dbW.js.map} +1 -1
  515. package/dist/{pow-B5-jkdHU.cjs → pow-DgrUorRi.cjs} +2 -2
  516. package/dist/{pow-B5-jkdHU.cjs.map → pow-DgrUorRi.cjs.map} +1 -1
  517. package/dist/{proxy-BYIC9BuT.js → proxy-BxkFHwUw.js} +144 -134
  518. package/dist/proxy-BxkFHwUw.js.map +1 -0
  519. package/dist/proxy-BxvUI_9l.cjs +2 -0
  520. package/dist/proxy-BxvUI_9l.cjs.map +1 -0
  521. package/dist/{removeOutliers-DR48e-18.js → removeOutliers-BqW0sPqj.js} +2 -5
  522. package/dist/{removeOutliers-DR48e-18.js.map → removeOutliers-BqW0sPqj.js.map} +1 -1
  523. package/dist/removeOutliers-WELHHqiI.cjs.map +1 -1
  524. package/dist/{sort-DfK1b0F5.js → sort-BIvMlUH1.js} +5 -5
  525. package/dist/{sort-DfK1b0F5.js.map → sort-BIvMlUH1.js.map} +1 -1
  526. package/dist/{string-CRoCZCYa.cjs → string-C-kRh1bQ.cjs} +2 -2
  527. package/dist/{string-CRoCZCYa.cjs.map → string-C-kRh1bQ.cjs.map} +1 -1
  528. package/dist/{string-B8KlVSPX.js → string-C_xJ4Wg4.js} +3 -3
  529. package/dist/{string-B8KlVSPX.js.map → string-C_xJ4Wg4.js.map} +1 -1
  530. package/dist/string2HTML-CPGr_I5E.cjs +3 -0
  531. package/dist/{string2HTML-z7CwHXcx.cjs.map → string2HTML-CPGr_I5E.cjs.map} +1 -1
  532. package/dist/{string2HTML-oFCROsus.js → string2HTML-DhG75NqA.js} +15 -9
  533. package/dist/{string2HTML-oFCROsus.js.map → string2HTML-DhG75NqA.js.map} +1 -1
  534. package/dist/style.css +1 -1
  535. package/dist/{svgDownload-C2-E3yf2.js → svgDownload-BAoarWNt.js} +4 -2
  536. package/dist/{svgDownload-C2-E3yf2.js.map → svgDownload-BAoarWNt.js.map} +1 -1
  537. package/dist/svgDownload-D9zEGjTF.cjs.map +1 -1
  538. package/dist/{threshold-DFfqcDMa.js → threshold-Bgr20hik.js} +2 -2
  539. package/dist/{threshold-DFfqcDMa.js.map → threshold-Bgr20hik.js.map} +1 -1
  540. package/dist/{time-Byw_jYQ7.cjs → time-CZd5YLSP.cjs} +2 -2
  541. package/dist/{time-Byw_jYQ7.cjs.map → time-CZd5YLSP.cjs.map} +1 -1
  542. package/dist/{time-BzJP5SPC.js → time-DCCfQk3V.js} +3 -3
  543. package/dist/{time-BzJP5SPC.js.map → time-DCCfQk3V.js.map} +1 -1
  544. package/dist/transformData.cjs +1 -1
  545. package/dist/transformData.js +3 -3
  546. package/dist/transformDataForAggregation-CE3bAlHU.js +585 -0
  547. package/dist/{transformDataForAggregation-sBpdlX8n.js.map → transformDataForAggregation-CE3bAlHU.js.map} +1 -1
  548. package/dist/transformDataForAggregation-KXGm6flX.cjs.map +1 -1
  549. package/dist/transformDataForGraphFromFile-BExxcITV.js +14 -0
  550. package/dist/{transformDataForGraphFromFile-ComYvzuz.js.map → transformDataForGraphFromFile-BExxcITV.js.map} +1 -1
  551. package/dist/{transformDataForGraphFromFile-DVZodTHd.cjs → transformDataForGraphFromFile-DaJHQCsL.cjs} +2 -2
  552. package/dist/{transformDataForGraphFromFile-DVZodTHd.cjs.map → transformDataForGraphFromFile-DaJHQCsL.cjs.map} +1 -1
  553. package/dist/transformDataForSelect-D8AuvYdf.js.map +1 -1
  554. package/dist/transformDataForSelect-YmStusCI.cjs.map +1 -1
  555. package/dist/uniqBy-BHy4I8PK.js.map +1 -1
  556. package/dist/uniqBy-O05lp2S5.cjs.map +1 -1
  557. package/dist/{use-in-view-DR-UTB96.js → use-in-view-Cxa7y1TH.js} +2 -2
  558. package/dist/use-in-view-Cxa7y1TH.js.map +1 -0
  559. package/dist/use-in-view-QcfiW0w3.cjs +2 -0
  560. package/dist/use-in-view-QcfiW0w3.cjs.map +1 -0
  561. package/dist/utils.cjs +1 -1
  562. package/dist/utils.js +8 -8
  563. package/dist/validateSchema.cjs.map +1 -1
  564. package/dist/validateSchema.js +33 -29
  565. package/dist/validateSchema.js.map +1 -1
  566. package/dist/{x-BBpi7a_7-Dz2vKSfu.cjs → x-BBpi7a_7-mTo40uId.cjs} +2 -2
  567. package/dist/{x-BBpi7a_7-Dz2vKSfu.cjs.map → x-BBpi7a_7-mTo40uId.cjs.map} +1 -1
  568. package/dist/{y-D0sAaVii.js → y-BqfogMAB.js} +3 -3
  569. package/dist/{y-D0sAaVii.js.map → y-BqfogMAB.js.map} +1 -1
  570. package/dist/{zoom-QipiAl5W.js → zoom-C9MFjAaV.js} +5 -5
  571. package/dist/{zoom-QipiAl5W.js.map → zoom-C9MFjAaV.js.map} +1 -1
  572. package/dist/zoom-DPw8bba-.cjs +2 -0
  573. package/dist/{zoom-BiMNsz72.cjs.map → zoom-DPw8bba-.cjs.map} +1 -1
  574. package/package.json +7 -6
  575. package/dist/Axis-4gUOL8B7.js +0 -43
  576. package/dist/Axis-4gUOL8B7.js.map +0 -1
  577. package/dist/Axis-CkNn1wit.cjs +0 -2
  578. package/dist/Axis-CkNn1wit.cjs.map +0 -1
  579. package/dist/AxisTitle-Wkz-xeQL.cjs +0 -2
  580. package/dist/AxisTitle-Wkz-xeQL.cjs.map +0 -1
  581. package/dist/AxisTitle-v6_xcXZ-.js +0 -20
  582. package/dist/AxisTitle-v6_xcXZ-.js.map +0 -1
  583. package/dist/DropdownSelect-6kjXM6oW.js.map +0 -1
  584. package/dist/DropdownSelect-vt8yiB-g.cjs +0 -29
  585. package/dist/DropdownSelect-vt8yiB-g.cjs.map +0 -1
  586. package/dist/EmptyState-36lXXyui.js +0 -22
  587. package/dist/EmptyState-B8IpKGcL.cjs +0 -2
  588. package/dist/GraphEl-2IiUDxjR.js.map +0 -1
  589. package/dist/GraphEl-qrlfGPe3.cjs +0 -2
  590. package/dist/GraphEl-qrlfGPe3.cjs.map +0 -1
  591. package/dist/Modal-Cg8daIlV.js +0 -1030
  592. package/dist/Modal-Cg8daIlV.js.map +0 -1
  593. package/dist/Modal-CuuJdWkD.cjs +0 -46
  594. package/dist/Modal-CuuJdWkD.cjs.map +0 -1
  595. package/dist/ReferenceLine-CPMaAX0r.js +0 -128
  596. package/dist/ReferenceLine-CPMaAX0r.js.map +0 -1
  597. package/dist/ReferenceLine-D04j-zeV.cjs +0 -2
  598. package/dist/ReferenceLine-D04j-zeV.cjs.map +0 -1
  599. package/dist/RegressionLine-CW7iViH2.js +0 -49
  600. package/dist/RegressionLine-CW7iViH2.js.map +0 -1
  601. package/dist/RegressionLine-D-49RaHa.cjs +0 -2
  602. package/dist/RegressionLine-D-49RaHa.cjs.map +0 -1
  603. package/dist/Spinner-Bpz70q_g.js +0 -30
  604. package/dist/Spinner-Bpz70q_g.js.map +0 -1
  605. package/dist/Spinner-C6wLp85s.cjs +0 -2
  606. package/dist/Spinner-C6wLp85s.cjs.map +0 -1
  607. package/dist/Tooltip-6LIdPQGC.js +0 -46
  608. package/dist/Tooltip-6LIdPQGC.js.map +0 -1
  609. package/dist/Tooltip-Cpv0QohJ.cjs +0 -2
  610. package/dist/Tooltip-Cpv0QohJ.cjs.map +0 -1
  611. package/dist/Typography-BDULiwlF.cjs +0 -2
  612. package/dist/Typography-BDULiwlF.cjs.map +0 -1
  613. package/dist/Typography-LmZ9LEpe.js +0 -140
  614. package/dist/Typography-LmZ9LEpe.js.map +0 -1
  615. package/dist/XAxesLabels-CLZnBgSr.cjs +0 -2
  616. package/dist/XAxesLabels-CLZnBgSr.cjs.map +0 -1
  617. package/dist/XAxesLabels-SOSmso5J.js +0 -57
  618. package/dist/XAxesLabels-SOSmso5J.js.map +0 -1
  619. package/dist/XTicksAndGridLines-DuydSnZ_.js +0 -56
  620. package/dist/XTicksAndGridLines-DuydSnZ_.js.map +0 -1
  621. package/dist/XTicksAndGridLines-RKy7BVCO.cjs +0 -2
  622. package/dist/XTicksAndGridLines-RKy7BVCO.cjs.map +0 -1
  623. package/dist/YAxesLabels-DlDyLvhi.js +0 -52
  624. package/dist/YAxesLabels-DlDyLvhi.js.map +0 -1
  625. package/dist/YAxesLabels-Dqd259-t.cjs +0 -2
  626. package/dist/YAxesLabels-Dqd259-t.cjs.map +0 -1
  627. package/dist/YTicksAndGridLines-7t4MKtGw.js +0 -56
  628. package/dist/YTicksAndGridLines-7t4MKtGw.js.map +0 -1
  629. package/dist/YTicksAndGridLines-qGpRo_t1.cjs +0 -2
  630. package/dist/YTicksAndGridLines-qGpRo_t1.cjs.map +0 -1
  631. package/dist/checkIfMultiple-Dko_cBvE.cjs +0 -12
  632. package/dist/checkIfMultiple-Dko_cBvE.cjs.map +0 -1
  633. package/dist/checkIfMultiple-u2SmbiCf.js +0 -912
  634. package/dist/checkIfMultiple-u2SmbiCf.js.map +0 -1
  635. package/dist/customArea-1G1S78s_.cjs +0 -2
  636. package/dist/customArea-x4L4xwLl.js +0 -175
  637. package/dist/fetchAndParseData-Ba-_CgxS.cjs +0 -16
  638. package/dist/getGraphList-DuColTJM.js +0 -265
  639. package/dist/getSliderMarks-CUxPy36E.cjs +0 -6
  640. package/dist/getSliderMarks-CUxPy36E.cjs.map +0 -1
  641. package/dist/getSliderMarks-_pYOWEtO.js +0 -1023
  642. package/dist/getSliderMarks-_pYOWEtO.js.map +0 -1
  643. package/dist/index-9tDEUqOZ.js.map +0 -1
  644. package/dist/index-BHe3wsWF.cjs +0 -2
  645. package/dist/index-Bw_eHBVN.js +0 -77
  646. package/dist/index-C0bpbS4F.cjs +0 -2
  647. package/dist/index-C0bpbS4F.cjs.map +0 -1
  648. package/dist/index-CE9pmfxt.js +0 -430
  649. package/dist/index-CE9pmfxt.js.map +0 -1
  650. package/dist/index-CEJwW3lL.cjs +0 -2
  651. package/dist/index-CEJwW3lL.cjs.map +0 -1
  652. package/dist/index-CHPV5EwG-DBWUSD9b.js.map +0 -1
  653. package/dist/index-CHPV5EwG-DjM48pIC.cjs +0 -44
  654. package/dist/index-CHPV5EwG-DjM48pIC.cjs.map +0 -1
  655. package/dist/index-CQ3e6Ewi.cjs +0 -2
  656. package/dist/index-Cm8NIdOO.cjs +0 -10
  657. package/dist/index-Cm8NIdOO.cjs.map +0 -1
  658. package/dist/index-CoZbeNM9.cjs +0 -2
  659. package/dist/index-CoZbeNM9.cjs.map +0 -1
  660. package/dist/index-Cwgh7i7X.js +0 -122
  661. package/dist/index-Cwgh7i7X.js.map +0 -1
  662. package/dist/index-D72cOtq7.cjs +0 -2
  663. package/dist/index-zZjQEHlm.js +0 -342
  664. package/dist/index-zZjQEHlm.js.map +0 -1
  665. package/dist/ordinal-BOeNbyae.cjs.map +0 -1
  666. package/dist/ordinal-w9Lu4Stb.js.map +0 -1
  667. package/dist/proxy-BYIC9BuT.js.map +0 -1
  668. package/dist/proxy-CKadx4lC.cjs +0 -2
  669. package/dist/proxy-CKadx4lC.cjs.map +0 -1
  670. package/dist/string2HTML-z7CwHXcx.cjs +0 -3
  671. package/dist/transformDataForAggregation-sBpdlX8n.js +0 -755
  672. package/dist/transformDataForGraphFromFile-ComYvzuz.js +0 -24
  673. package/dist/use-in-view-CEwlc_dd.cjs +0 -2
  674. package/dist/use-in-view-CEwlc_dd.cjs.map +0 -1
  675. package/dist/use-in-view-DR-UTB96.js.map +0 -1
  676. package/dist/zoom-BiMNsz72.cjs +0 -2
@@ -1,101 +1,127 @@
1
- import { a as s, m as S, b as ue, j as M } from "./index-CHPV5EwG-DBWUSD9b.js";
2
- import { d as qe, g as ze } from "./index-zZjQEHlm.js";
3
- import * as o from "react";
4
- import k, { createElement as Ue } from "react";
5
- import * as We from "react-dom";
6
- import { g as Xe, _ as Ye, E as Ze, j as g, c as X, w as P, P as pe, $ as Be, Z as Ge, a as fe, u as He, N as Qe, b as Je } from "./index-Dzc_aaI9-BKklH89r.js";
7
- import { h as et } from "./index-Cw8sCyo_-BuI_jX5Z.js";
8
- import { t as tt, k as te } from "./x-BBpi7a_7-WVdj1j6r.js";
9
- const rt = 1, at = 1e6;
10
- let B = 0;
11
- function st() {
12
- return B = (B + 1) % Number.MAX_SAFE_INTEGER, B.toString();
1
+ import { _ as R, b as i, m as P, a as pe, c as ze, j as $ } from "./index-CHPV5EwG-Curnpaqc.js";
2
+ import { f as We, x as Ue } from "./index-D491FEn1.js";
3
+ import * as l from "react";
4
+ import S, { createElement as Xe } from "react";
5
+ import * as Ye from "react-dom";
6
+ import { g as Ze, P as me, $ as Ge, w as D, a as fe, _ as He, E as Be, j as _, c as Y, Z as Je, u as Qe, N as et, b as tt } from "./index-Dzc_aaI9-Bb7gobH_.js";
7
+ import { h as rt } from "./index-Cw8sCyo_-B2hEKjzG.js";
8
+ import { k as re, t as st } from "./x-BBpi7a_7-WVdj1j6r.js";
9
+ const at = 1, nt = 1e6;
10
+ let H = 0;
11
+ function ot() {
12
+ return H = (H + 1) % Number.MAX_SAFE_INTEGER, H.toString();
13
13
  }
14
- const G = /* @__PURE__ */ new Map(), de = (e) => {
15
- if (G.has(e))
14
+ const B = /* @__PURE__ */ new Map(), de = (t) => {
15
+ if (B.has(t))
16
16
  return;
17
17
  const r = setTimeout(() => {
18
- G.delete(e), $({
18
+ B.delete(t), O({
19
19
  type: "REMOVE_TOAST",
20
- toastId: e
20
+ toastId: t
21
21
  });
22
- }, at);
23
- G.set(e, r);
24
- }, ot = (e, r) => {
22
+ }, nt);
23
+ B.set(t, r);
24
+ }, it = (t, r) => {
25
25
  switch (r.type) {
26
26
  case "ADD_TOAST":
27
27
  return {
28
- ...e,
29
- toasts: [r.toast, ...e.toasts].slice(0, rt)
28
+ ...t,
29
+ toasts: [r.toast, ...t.toasts].slice(0, at)
30
30
  };
31
31
  case "UPDATE_TOAST":
32
32
  return {
33
- ...e,
34
- toasts: e.toasts.map((t) => t.id === r.toast.id ? { ...t, ...r.toast } : t)
33
+ ...t,
34
+ toasts: t.toasts.map((e) => e.id === r.toast.id ? {
35
+ ...e,
36
+ ...r.toast
37
+ } : e)
35
38
  };
36
39
  case "DISMISS_TOAST": {
37
- const { toastId: t } = r;
38
- return t ? de(t) : e.toasts.forEach((a) => {
39
- de(a.id);
40
+ const {
41
+ toastId: e
42
+ } = r;
43
+ return e ? de(e) : t.toasts.forEach((s) => {
44
+ de(s.id);
40
45
  }), {
41
- ...e,
42
- toasts: e.toasts.map(
43
- (a) => a.id === t || t === void 0 ? {
44
- ...a,
45
- open: !1
46
- } : a
47
- )
46
+ ...t,
47
+ toasts: t.toasts.map((s) => s.id === e || e === void 0 ? {
48
+ ...s,
49
+ open: !1
50
+ } : s)
48
51
  };
49
52
  }
50
53
  case "REMOVE_TOAST":
51
54
  return r.toastId === void 0 ? {
52
- ...e,
55
+ ...t,
53
56
  toasts: []
54
57
  } : {
55
- ...e,
56
- toasts: e.toasts.filter((t) => t.id !== r.toastId)
58
+ ...t,
59
+ toasts: t.toasts.filter((e) => e.id !== r.toastId)
57
60
  };
58
61
  default:
59
- return { ...e };
62
+ return {
63
+ ...t
64
+ };
60
65
  }
61
66
  }, U = [];
62
- let W = { toasts: [] };
63
- function $(e) {
64
- W = ot(W, e), U.forEach((r) => {
65
- r(W);
67
+ let X = {
68
+ toasts: []
69
+ };
70
+ function O(t) {
71
+ X = it(X, t), U.forEach((r) => {
72
+ r(X);
66
73
  });
67
74
  }
68
- function nt({ ...e }) {
69
- const r = st(), t = (n) => $({
75
+ function ct({
76
+ ...t
77
+ }) {
78
+ const r = ot(), e = (a) => O({
70
79
  type: "UPDATE_TOAST",
71
- toast: { ...n, id: r }
72
- }), a = () => $({ type: "DISMISS_TOAST", toastId: r });
73
- return $({
80
+ toast: {
81
+ ...a,
82
+ id: r
83
+ }
84
+ }), s = () => O({
85
+ type: "DISMISS_TOAST",
86
+ toastId: r
87
+ });
88
+ return O({
74
89
  type: "ADD_TOAST",
75
90
  toast: {
76
- ...e,
91
+ ...t,
77
92
  id: r,
78
93
  open: !0,
79
- onOpenChange: (n) => {
80
- n || a();
94
+ onOpenChange: (a) => {
95
+ a || s();
81
96
  }
82
97
  }
83
98
  }), {
84
99
  id: r,
85
- dismiss: a,
86
- update: t
100
+ dismiss: s,
101
+ update: e
87
102
  };
88
103
  }
89
- function me() {
90
- const [e, r] = k.useState(W);
91
- return k.useEffect(() => (U.push(r), () => {
92
- const t = U.indexOf(r);
93
- t > -1 && U.splice(t, 1);
94
- }), [e]), {
95
- ...e,
96
- toast: nt,
97
- dismiss: (t) => $({ type: "DISMISS_TOAST", toastId: t })
98
- };
104
+ function ye() {
105
+ const t = R.c(5), [r, e] = S.useState(X);
106
+ let s;
107
+ t[0] === Symbol.for("react.memo_cache_sentinel") ? (s = () => (U.push(e), () => {
108
+ const o = U.indexOf(e);
109
+ o > -1 && U.splice(o, 1);
110
+ }), t[0] = s) : s = t[0];
111
+ let a;
112
+ t[1] !== r ? (a = [r], t[1] = r, t[2] = a) : a = t[2], S.useEffect(s, a);
113
+ let n;
114
+ return t[3] !== r ? (n = {
115
+ ...r,
116
+ toast: ct,
117
+ dismiss: lt
118
+ }, t[3] = r, t[4] = n) : n = t[4], n;
119
+ }
120
+ function lt(t) {
121
+ return O({
122
+ type: "DISMISS_TOAST",
123
+ toastId: t
124
+ });
99
125
  }
100
126
  /**
101
127
  * @license lucide-react v0.542.0 - ISC
@@ -103,28 +129,28 @@ function me() {
103
129
  * This source code is licensed under the ISC license.
104
130
  * See the LICENSE file in the root directory of this source tree.
105
131
  */
106
- const it = [
132
+ const dt = [
107
133
  ["path", { d: "M21.801 10A10 10 0 1 1 17 3.335", key: "yps3ct" }],
108
134
  ["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
109
- ], ct = te("circle-check-big", it);
135
+ ], ut = re("circle-check-big", dt);
110
136
  /**
111
137
  * @license lucide-react v0.542.0 - ISC
112
138
  *
113
139
  * This source code is licensed under the ISC license.
114
140
  * See the LICENSE file in the root directory of this source tree.
115
141
  */
116
- const dt = [
142
+ const pt = [
117
143
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
118
144
  ["path", { d: "m15 9-6 6", key: "1uzhvr" }],
119
145
  ["path", { d: "m9 9 6 6", key: "z0biqf" }]
120
- ], lt = te("circle-x", dt);
146
+ ], mt = re("circle-x", pt);
121
147
  /**
122
148
  * @license lucide-react v0.542.0 - ISC
123
149
  *
124
150
  * This source code is licensed under the ISC license.
125
151
  * See the LICENSE file in the root directory of this source tree.
126
152
  */
127
- const ut = [
153
+ const ft = [
128
154
  [
129
155
  "path",
130
156
  {
@@ -134,132 +160,132 @@ const ut = [
134
160
  ],
135
161
  ["path", { d: "M12 9v4", key: "juzpu7" }],
136
162
  ["path", { d: "M12 17h.01", key: "p32p05" }]
137
- ], pt = te("triangle-alert", ut);
138
- var re = "ToastProvider", [ae, ft, mt] = et("Toast"), [ve] = Xe("Toast", [mt]), [vt, Y] = ve(re), we = (e) => {
163
+ ], yt = re("triangle-alert", ft);
164
+ var se = "ToastProvider", [ae, vt, xt] = rt("Toast"), [ve] = Ze("Toast", [xt]), [wt, Z] = ve(se), xe = (t) => {
139
165
  const {
140
166
  __scopeToast: r,
141
- label: t = "Notification",
142
- duration: a = 5e3,
143
- swipeDirection: n = "right",
144
- swipeThreshold: i = 50,
145
- children: f
146
- } = e, [v, y] = o.useState(null), [l, T] = o.useState(0), h = o.useRef(!1), _ = o.useRef(!1);
147
- return t.trim() || console.error(
148
- `Invalid prop \`label\` supplied to \`${re}\`. Expected non-empty \`string\`.`
149
- ), /* @__PURE__ */ s.jsx(ae.Provider, { scope: r, children: /* @__PURE__ */ s.jsx(
150
- vt,
167
+ label: e = "Notification",
168
+ duration: s = 5e3,
169
+ swipeDirection: a = "right",
170
+ swipeThreshold: n = 50,
171
+ children: o
172
+ } = t, [u, y] = l.useState(null), [c, x] = l.useState(0), m = l.useRef(!1), b = l.useRef(!1);
173
+ return e.trim() || console.error(
174
+ `Invalid prop \`label\` supplied to \`${se}\`. Expected non-empty \`string\`.`
175
+ ), /* @__PURE__ */ i.jsx(ae.Provider, { scope: r, children: /* @__PURE__ */ i.jsx(
176
+ wt,
151
177
  {
152
178
  scope: r,
153
- label: t,
154
- duration: a,
155
- swipeDirection: n,
156
- swipeThreshold: i,
157
- toastCount: l,
158
- viewport: v,
179
+ label: e,
180
+ duration: s,
181
+ swipeDirection: a,
182
+ swipeThreshold: n,
183
+ toastCount: c,
184
+ viewport: u,
159
185
  onViewportChange: y,
160
- onToastAdd: o.useCallback(() => T((C) => C + 1), []),
161
- onToastRemove: o.useCallback(() => T((C) => C - 1), []),
162
- isFocusedToastEscapeKeyDownRef: h,
163
- isClosePausedRef: _,
164
- children: f
186
+ onToastAdd: l.useCallback(() => x((E) => E + 1), []),
187
+ onToastRemove: l.useCallback(() => x((E) => E - 1), []),
188
+ isFocusedToastEscapeKeyDownRef: m,
189
+ isClosePausedRef: b,
190
+ children: o
165
191
  }
166
192
  ) });
167
193
  };
168
- we.displayName = re;
169
- var xe = "ToastViewport", wt = ["F8"], Q = "toast.viewportPause", J = "toast.viewportResume", ye = o.forwardRef(
170
- (e, r) => {
194
+ xe.displayName = se;
195
+ var we = "ToastViewport", ht = ["F8"], Q = "toast.viewportPause", ee = "toast.viewportResume", he = l.forwardRef(
196
+ (t, r) => {
171
197
  const {
172
- __scopeToast: t,
173
- hotkey: a = wt,
174
- label: n = "Notifications ({hotkey})",
175
- ...i
176
- } = e, f = Y(xe, t), v = ft(t), y = o.useRef(null), l = o.useRef(null), T = o.useRef(null), h = o.useRef(null), _ = pe(r, h, f.onViewportChange), C = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), R = f.toastCount > 0;
177
- o.useEffect(() => {
198
+ __scopeToast: e,
199
+ hotkey: s = ht,
200
+ label: a = "Notifications ({hotkey})",
201
+ ...n
202
+ } = t, o = Z(we, e), u = vt(e), y = l.useRef(null), c = l.useRef(null), x = l.useRef(null), m = l.useRef(null), b = me(r, m, o.onViewportChange), E = s.join("+").replace(/Key/g, "").replace(/Digit/g, ""), g = o.toastCount > 0;
203
+ l.useEffect(() => {
178
204
  const d = (w) => {
179
- a.length !== 0 && a.every((p) => w[p] || w.code === p) && h.current?.focus();
205
+ s.length !== 0 && s.every((v) => w[v] || w.code === v) && m.current?.focus();
180
206
  };
181
207
  return document.addEventListener("keydown", d), () => document.removeEventListener("keydown", d);
182
- }, [a]), o.useEffect(() => {
183
- const d = y.current, w = h.current;
184
- if (R && d && w) {
185
- const p = () => {
186
- if (!f.isClosePausedRef.current) {
187
- const E = new CustomEvent(Q);
188
- w.dispatchEvent(E), f.isClosePausedRef.current = !0;
208
+ }, [s]), l.useEffect(() => {
209
+ const d = y.current, w = m.current;
210
+ if (g && d && w) {
211
+ const v = () => {
212
+ if (!o.isClosePausedRef.current) {
213
+ const N = new CustomEvent(Q);
214
+ w.dispatchEvent(N), o.isClosePausedRef.current = !0;
189
215
  }
190
- }, m = () => {
191
- if (f.isClosePausedRef.current) {
192
- const E = new CustomEvent(J);
193
- w.dispatchEvent(E), f.isClosePausedRef.current = !1;
216
+ }, h = () => {
217
+ if (o.isClosePausedRef.current) {
218
+ const N = new CustomEvent(ee);
219
+ w.dispatchEvent(N), o.isClosePausedRef.current = !1;
194
220
  }
195
- }, x = (E) => {
196
- !d.contains(E.relatedTarget) && m();
197
- }, b = () => {
198
- d.contains(document.activeElement) || m();
221
+ }, T = (N) => {
222
+ !d.contains(N.relatedTarget) && h();
223
+ }, k = () => {
224
+ d.contains(document.activeElement) || h();
199
225
  };
200
- return d.addEventListener("focusin", p), d.addEventListener("focusout", x), d.addEventListener("pointermove", p), d.addEventListener("pointerleave", b), window.addEventListener("blur", p), window.addEventListener("focus", m), () => {
201
- d.removeEventListener("focusin", p), d.removeEventListener("focusout", x), d.removeEventListener("pointermove", p), d.removeEventListener("pointerleave", b), window.removeEventListener("blur", p), window.removeEventListener("focus", m);
226
+ return d.addEventListener("focusin", v), d.addEventListener("focusout", T), d.addEventListener("pointermove", v), d.addEventListener("pointerleave", k), window.addEventListener("blur", v), window.addEventListener("focus", h), () => {
227
+ d.removeEventListener("focusin", v), d.removeEventListener("focusout", T), d.removeEventListener("pointermove", v), d.removeEventListener("pointerleave", k), window.removeEventListener("blur", v), window.removeEventListener("focus", h);
202
228
  };
203
229
  }
204
- }, [R, f.isClosePausedRef]);
205
- const u = o.useCallback(
230
+ }, [g, o.isClosePausedRef]);
231
+ const f = l.useCallback(
206
232
  ({ tabbingDirection: d }) => {
207
- const w = v().map((p) => {
208
- const m = p.ref.current, x = [m, ...St(m)];
209
- return d === "forwards" ? x : x.reverse();
233
+ const w = u().map((v) => {
234
+ const h = v.ref.current, T = [h, ...Dt(h)];
235
+ return d === "forwards" ? T : T.reverse();
210
236
  });
211
237
  return (d === "forwards" ? w.reverse() : w).flat();
212
238
  },
213
- [v]
239
+ [u]
214
240
  );
215
- return o.useEffect(() => {
216
- const d = h.current;
241
+ return l.useEffect(() => {
242
+ const d = m.current;
217
243
  if (d) {
218
- const w = (p) => {
219
- const m = p.altKey || p.ctrlKey || p.metaKey;
220
- if (p.key === "Tab" && !m) {
221
- const x = document.activeElement, b = p.shiftKey;
222
- if (p.target === d && b) {
223
- l.current?.focus();
244
+ const w = (v) => {
245
+ const h = v.altKey || v.ctrlKey || v.metaKey;
246
+ if (v.key === "Tab" && !h) {
247
+ const T = document.activeElement, k = v.shiftKey;
248
+ if (v.target === d && k) {
249
+ c.current?.focus();
224
250
  return;
225
251
  }
226
- const E = u({ tabbingDirection: b ? "backwards" : "forwards" }), D = E.findIndex((A) => A === x);
227
- H(E.slice(D + 1)) ? p.preventDefault() : b ? l.current?.focus() : T.current?.focus();
252
+ const N = f({ tabbingDirection: k ? "backwards" : "forwards" }), A = N.findIndex((I) => I === T);
253
+ J(N.slice(A + 1)) ? v.preventDefault() : k ? c.current?.focus() : x.current?.focus();
228
254
  }
229
255
  };
230
256
  return d.addEventListener("keydown", w), () => d.removeEventListener("keydown", w);
231
257
  }
232
- }, [v, u]), /* @__PURE__ */ s.jsxs(
233
- Be,
258
+ }, [u, f]), /* @__PURE__ */ i.jsxs(
259
+ Ge,
234
260
  {
235
261
  ref: y,
236
262
  role: "region",
237
- "aria-label": n.replace("{hotkey}", C),
263
+ "aria-label": a.replace("{hotkey}", E),
238
264
  tabIndex: -1,
239
- style: { pointerEvents: R ? void 0 : "none" },
265
+ style: { pointerEvents: g ? void 0 : "none" },
240
266
  children: [
241
- R && /* @__PURE__ */ s.jsx(
242
- ee,
267
+ g && /* @__PURE__ */ i.jsx(
268
+ te,
243
269
  {
244
- ref: l,
270
+ ref: c,
245
271
  onFocusFromOutsideViewport: () => {
246
- const d = u({
272
+ const d = f({
247
273
  tabbingDirection: "forwards"
248
274
  });
249
- H(d);
275
+ J(d);
250
276
  }
251
277
  }
252
278
  ),
253
- /* @__PURE__ */ s.jsx(ae.Slot, { scope: t, children: /* @__PURE__ */ s.jsx(P.ol, { tabIndex: -1, ...i, ref: _ }) }),
254
- R && /* @__PURE__ */ s.jsx(
255
- ee,
279
+ /* @__PURE__ */ i.jsx(ae.Slot, { scope: e, children: /* @__PURE__ */ i.jsx(D.ol, { tabIndex: -1, ...n, ref: b }) }),
280
+ g && /* @__PURE__ */ i.jsx(
281
+ te,
256
282
  {
257
- ref: T,
283
+ ref: x,
258
284
  onFocusFromOutsideViewport: () => {
259
- const d = u({
285
+ const d = f({
260
286
  tabbingDirection: "backwards"
261
287
  });
262
- H(d);
288
+ J(d);
263
289
  }
264
290
  }
265
291
  )
@@ -268,162 +294,162 @@ var xe = "ToastViewport", wt = ["F8"], Q = "toast.viewportPause", J = "toast.vie
268
294
  );
269
295
  }
270
296
  );
271
- ye.displayName = xe;
272
- var he = "ToastFocusProxy", ee = o.forwardRef(
273
- (e, r) => {
274
- const { __scopeToast: t, onFocusFromOutsideViewport: a, ...n } = e, i = Y(he, t);
275
- return /* @__PURE__ */ s.jsx(
297
+ he.displayName = we;
298
+ var Te = "ToastFocusProxy", te = l.forwardRef(
299
+ (t, r) => {
300
+ const { __scopeToast: e, onFocusFromOutsideViewport: s, ...a } = t, n = Z(Te, e);
301
+ return /* @__PURE__ */ i.jsx(
276
302
  fe,
277
303
  {
278
304
  tabIndex: 0,
279
- ...n,
305
+ ...a,
280
306
  ref: r,
281
307
  style: { position: "fixed" },
282
- onFocus: (f) => {
283
- const v = f.relatedTarget;
284
- !i.viewport?.contains(v) && a();
308
+ onFocus: (o) => {
309
+ const u = o.relatedTarget;
310
+ !n.viewport?.contains(u) && s();
285
311
  }
286
312
  }
287
313
  );
288
314
  }
289
315
  );
290
- ee.displayName = he;
291
- var O = "Toast", xt = "toast.swipeStart", yt = "toast.swipeMove", ht = "toast.swipeCancel", Tt = "toast.swipeEnd", Te = o.forwardRef(
292
- (e, r) => {
293
- const { forceMount: t, open: a, defaultOpen: n, onOpenChange: i, ...f } = e, [v, y] = Ye({
294
- prop: a,
295
- defaultProp: n ?? !0,
296
- onChange: i,
297
- caller: O
316
+ te.displayName = Te;
317
+ var K = "Toast", Tt = "toast.swipeStart", bt = "toast.swipeMove", Et = "toast.swipeCancel", gt = "toast.swipeEnd", be = l.forwardRef(
318
+ (t, r) => {
319
+ const { forceMount: e, open: s, defaultOpen: a, onOpenChange: n, ...o } = t, [u, y] = He({
320
+ prop: s,
321
+ defaultProp: a ?? !0,
322
+ onChange: n,
323
+ caller: K
298
324
  });
299
- return /* @__PURE__ */ s.jsx(Ze, { present: t || v, children: /* @__PURE__ */ s.jsx(
300
- gt,
325
+ return /* @__PURE__ */ i.jsx(Be, { present: e || u, children: /* @__PURE__ */ i.jsx(
326
+ _t,
301
327
  {
302
- open: v,
303
- ...f,
328
+ open: u,
329
+ ...o,
304
330
  ref: r,
305
331
  onClose: () => y(!1),
306
- onPause: X(e.onPause),
307
- onResume: X(e.onResume),
308
- onSwipeStart: g(e.onSwipeStart, (l) => {
309
- l.currentTarget.setAttribute("data-swipe", "start");
332
+ onPause: Y(t.onPause),
333
+ onResume: Y(t.onResume),
334
+ onSwipeStart: _(t.onSwipeStart, (c) => {
335
+ c.currentTarget.setAttribute("data-swipe", "start");
310
336
  }),
311
- onSwipeMove: g(e.onSwipeMove, (l) => {
312
- const { x: T, y: h } = l.detail.delta;
313
- l.currentTarget.setAttribute("data-swipe", "move"), l.currentTarget.style.setProperty("--radix-toast-swipe-move-x", `${T}px`), l.currentTarget.style.setProperty("--radix-toast-swipe-move-y", `${h}px`);
337
+ onSwipeMove: _(t.onSwipeMove, (c) => {
338
+ const { x, y: m } = c.detail.delta;
339
+ c.currentTarget.setAttribute("data-swipe", "move"), c.currentTarget.style.setProperty("--radix-toast-swipe-move-x", `${x}px`), c.currentTarget.style.setProperty("--radix-toast-swipe-move-y", `${m}px`);
314
340
  }),
315
- onSwipeCancel: g(e.onSwipeCancel, (l) => {
316
- l.currentTarget.setAttribute("data-swipe", "cancel"), l.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"), l.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"), l.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"), l.currentTarget.style.removeProperty("--radix-toast-swipe-end-y");
341
+ onSwipeCancel: _(t.onSwipeCancel, (c) => {
342
+ c.currentTarget.setAttribute("data-swipe", "cancel"), c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"), c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"), c.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"), c.currentTarget.style.removeProperty("--radix-toast-swipe-end-y");
317
343
  }),
318
- onSwipeEnd: g(e.onSwipeEnd, (l) => {
319
- const { x: T, y: h } = l.detail.delta;
320
- l.currentTarget.setAttribute("data-swipe", "end"), l.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"), l.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"), l.currentTarget.style.setProperty("--radix-toast-swipe-end-x", `${T}px`), l.currentTarget.style.setProperty("--radix-toast-swipe-end-y", `${h}px`), y(!1);
344
+ onSwipeEnd: _(t.onSwipeEnd, (c) => {
345
+ const { x, y: m } = c.detail.delta;
346
+ c.currentTarget.setAttribute("data-swipe", "end"), c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"), c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"), c.currentTarget.style.setProperty("--radix-toast-swipe-end-x", `${x}px`), c.currentTarget.style.setProperty("--radix-toast-swipe-end-y", `${m}px`), y(!1);
321
347
  })
322
348
  }
323
349
  ) });
324
350
  }
325
351
  );
326
- Te.displayName = O;
327
- var [bt, Et] = ve(O, {
352
+ be.displayName = K;
353
+ var [kt, Nt] = ve(K, {
328
354
  onClose() {
329
355
  }
330
- }), gt = o.forwardRef(
331
- (e, r) => {
356
+ }), _t = l.forwardRef(
357
+ (t, r) => {
332
358
  const {
333
- __scopeToast: t,
334
- type: a = "foreground",
335
- duration: n,
336
- open: i,
337
- onClose: f,
338
- onEscapeKeyDown: v,
359
+ __scopeToast: e,
360
+ type: s = "foreground",
361
+ duration: a,
362
+ open: n,
363
+ onClose: o,
364
+ onEscapeKeyDown: u,
339
365
  onPause: y,
340
- onResume: l,
341
- onSwipeStart: T,
342
- onSwipeMove: h,
343
- onSwipeCancel: _,
344
- onSwipeEnd: C,
345
- ...R
346
- } = e, u = Y(O, t), [d, w] = o.useState(null), p = pe(r, (c) => w(c)), m = o.useRef(null), x = o.useRef(null), b = n || u.duration, E = o.useRef(0), D = o.useRef(b), A = o.useRef(0), { onToastAdd: oe, onToastRemove: ne } = u, I = X(() => {
347
- d?.contains(document.activeElement) && u.viewport?.focus(), f();
348
- }), K = o.useCallback(
349
- (c) => {
350
- !c || c === 1 / 0 || (window.clearTimeout(A.current), E.current = (/* @__PURE__ */ new Date()).getTime(), A.current = window.setTimeout(I, c));
366
+ onResume: c,
367
+ onSwipeStart: x,
368
+ onSwipeMove: m,
369
+ onSwipeCancel: b,
370
+ onSwipeEnd: E,
371
+ ...g
372
+ } = t, f = Z(K, e), [d, w] = l.useState(null), v = me(r, (p) => w(p)), h = l.useRef(null), T = l.useRef(null), k = a || f.duration, N = l.useRef(0), A = l.useRef(k), I = l.useRef(0), { onToastAdd: oe, onToastRemove: ie } = f, L = Y(() => {
373
+ d?.contains(document.activeElement) && f.viewport?.focus(), o();
374
+ }), V = l.useCallback(
375
+ (p) => {
376
+ !p || p === 1 / 0 || (window.clearTimeout(I.current), N.current = (/* @__PURE__ */ new Date()).getTime(), I.current = window.setTimeout(L, p));
351
377
  },
352
- [I]
378
+ [L]
353
379
  );
354
- o.useEffect(() => {
355
- const c = u.viewport;
356
- if (c) {
357
- const N = () => {
358
- K(D.current), l?.();
359
- }, j = () => {
360
- const L = (/* @__PURE__ */ new Date()).getTime() - E.current;
361
- D.current = D.current - L, window.clearTimeout(A.current), y?.();
380
+ l.useEffect(() => {
381
+ const p = f.viewport;
382
+ if (p) {
383
+ const j = () => {
384
+ V(A.current), c?.();
385
+ }, C = () => {
386
+ const M = (/* @__PURE__ */ new Date()).getTime() - N.current;
387
+ A.current = A.current - M, window.clearTimeout(I.current), y?.();
362
388
  };
363
- return c.addEventListener(Q, j), c.addEventListener(J, N), () => {
364
- c.removeEventListener(Q, j), c.removeEventListener(J, N);
389
+ return p.addEventListener(Q, C), p.addEventListener(ee, j), () => {
390
+ p.removeEventListener(Q, C), p.removeEventListener(ee, j);
365
391
  };
366
392
  }
367
- }, [u.viewport, b, y, l, K]), o.useEffect(() => {
368
- i && !u.isClosePausedRef.current && K(b);
369
- }, [i, b, u.isClosePausedRef, K]), o.useEffect(() => (oe(), () => ne()), [oe, ne]);
370
- const ie = o.useMemo(() => d ? Ce(d) : null, [d]);
371
- return u.viewport ? /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
372
- ie && /* @__PURE__ */ s.jsx(
373
- kt,
393
+ }, [f.viewport, k, y, c, V]), l.useEffect(() => {
394
+ n && !f.isClosePausedRef.current && V(k);
395
+ }, [n, k, f.isClosePausedRef, V]), l.useEffect(() => (oe(), () => ie()), [oe, ie]);
396
+ const ce = l.useMemo(() => d ? je(d) : null, [d]);
397
+ return f.viewport ? /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
398
+ ce && /* @__PURE__ */ i.jsx(
399
+ St,
374
400
  {
375
- __scopeToast: t,
401
+ __scopeToast: e,
376
402
  role: "status",
377
- "aria-live": a === "foreground" ? "assertive" : "polite",
378
- children: ie
403
+ "aria-live": s === "foreground" ? "assertive" : "polite",
404
+ children: ce
379
405
  }
380
406
  ),
381
- /* @__PURE__ */ s.jsx(bt, { scope: t, onClose: I, children: We.createPortal(
382
- /* @__PURE__ */ s.jsx(ae.ItemSlot, { scope: t, children: /* @__PURE__ */ s.jsx(
383
- Ge,
407
+ /* @__PURE__ */ i.jsx(kt, { scope: e, onClose: L, children: Ye.createPortal(
408
+ /* @__PURE__ */ i.jsx(ae.ItemSlot, { scope: e, children: /* @__PURE__ */ i.jsx(
409
+ Je,
384
410
  {
385
411
  asChild: !0,
386
- onEscapeKeyDown: g(v, () => {
387
- u.isFocusedToastEscapeKeyDownRef.current || I(), u.isFocusedToastEscapeKeyDownRef.current = !1;
412
+ onEscapeKeyDown: _(u, () => {
413
+ f.isFocusedToastEscapeKeyDownRef.current || L(), f.isFocusedToastEscapeKeyDownRef.current = !1;
388
414
  }),
389
- children: /* @__PURE__ */ s.jsx(
390
- P.li,
415
+ children: /* @__PURE__ */ i.jsx(
416
+ D.li,
391
417
  {
392
418
  tabIndex: 0,
393
- "data-state": i ? "open" : "closed",
394
- "data-swipe-direction": u.swipeDirection,
395
- ...R,
396
- ref: p,
397
- style: { userSelect: "none", touchAction: "none", ...e.style },
398
- onKeyDown: g(e.onKeyDown, (c) => {
399
- c.key === "Escape" && (v?.(c.nativeEvent), c.nativeEvent.defaultPrevented || (u.isFocusedToastEscapeKeyDownRef.current = !0, I()));
419
+ "data-state": n ? "open" : "closed",
420
+ "data-swipe-direction": f.swipeDirection,
421
+ ...g,
422
+ ref: v,
423
+ style: { userSelect: "none", touchAction: "none", ...t.style },
424
+ onKeyDown: _(t.onKeyDown, (p) => {
425
+ p.key === "Escape" && (u?.(p.nativeEvent), p.nativeEvent.defaultPrevented || (f.isFocusedToastEscapeKeyDownRef.current = !0, L()));
400
426
  }),
401
- onPointerDown: g(e.onPointerDown, (c) => {
402
- c.button === 0 && (m.current = { x: c.clientX, y: c.clientY });
427
+ onPointerDown: _(t.onPointerDown, (p) => {
428
+ p.button === 0 && (h.current = { x: p.clientX, y: p.clientY });
403
429
  }),
404
- onPointerMove: g(e.onPointerMove, (c) => {
405
- if (!m.current) return;
406
- const N = c.clientX - m.current.x, j = c.clientY - m.current.y, L = !!x.current, F = ["left", "right"].includes(u.swipeDirection), V = ["left", "up"].includes(u.swipeDirection) ? Math.min : Math.max, Ke = F ? V(0, N) : 0, Ve = F ? 0 : V(0, j), Z = c.pointerType === "touch" ? 10 : 2, q = { x: Ke, y: Ve }, ce = { originalEvent: c, delta: q };
407
- L ? (x.current = q, z(yt, h, ce, {
430
+ onPointerMove: _(t.onPointerMove, (p) => {
431
+ if (!h.current) return;
432
+ const j = p.clientX - h.current.x, C = p.clientY - h.current.y, M = !!T.current, F = ["left", "right"].includes(f.swipeDirection), q = ["left", "up"].includes(f.swipeDirection) ? Math.min : Math.max, Ve = F ? q(0, j) : 0, qe = F ? 0 : q(0, C), G = p.pointerType === "touch" ? 10 : 2, z = { x: Ve, y: qe }, le = { originalEvent: p, delta: z };
433
+ M ? (T.current = z, W(bt, m, le, {
408
434
  discrete: !1
409
- })) : le(q, u.swipeDirection, Z) ? (x.current = q, z(xt, T, ce, {
435
+ })) : ue(z, f.swipeDirection, G) ? (T.current = z, W(Tt, x, le, {
410
436
  discrete: !1
411
- }), c.target.setPointerCapture(c.pointerId)) : (Math.abs(N) > Z || Math.abs(j) > Z) && (m.current = null);
437
+ }), p.target.setPointerCapture(p.pointerId)) : (Math.abs(j) > G || Math.abs(C) > G) && (h.current = null);
412
438
  }),
413
- onPointerUp: g(e.onPointerUp, (c) => {
414
- const N = x.current, j = c.target;
415
- if (j.hasPointerCapture(c.pointerId) && j.releasePointerCapture(c.pointerId), x.current = null, m.current = null, N) {
416
- const L = c.currentTarget, F = { originalEvent: c, delta: N };
417
- le(N, u.swipeDirection, u.swipeThreshold) ? z(Tt, C, F, {
439
+ onPointerUp: _(t.onPointerUp, (p) => {
440
+ const j = T.current, C = p.target;
441
+ if (C.hasPointerCapture(p.pointerId) && C.releasePointerCapture(p.pointerId), T.current = null, h.current = null, j) {
442
+ const M = p.currentTarget, F = { originalEvent: p, delta: j };
443
+ ue(j, f.swipeDirection, f.swipeThreshold) ? W(gt, E, F, {
418
444
  discrete: !0
419
- }) : z(
420
- ht,
421
- _,
445
+ }) : W(
446
+ Et,
447
+ b,
422
448
  F,
423
449
  {
424
450
  discrete: !0
425
451
  }
426
- ), L.addEventListener("click", (V) => V.preventDefault(), {
452
+ ), M.addEventListener("click", (q) => q.preventDefault(), {
427
453
  once: !0
428
454
  });
429
455
  }
@@ -432,146 +458,146 @@ var [bt, Et] = ve(O, {
432
458
  )
433
459
  }
434
460
  ) }),
435
- u.viewport
461
+ f.viewport
436
462
  ) })
437
463
  ] }) : null;
438
464
  }
439
- ), kt = (e) => {
440
- const { __scopeToast: r, children: t, ...a } = e, n = Y(O, r), [i, f] = o.useState(!1), [v, y] = o.useState(!1);
441
- return Ct(() => f(!0)), o.useEffect(() => {
442
- const l = window.setTimeout(() => y(!0), 1e3);
443
- return () => window.clearTimeout(l);
444
- }, []), v ? null : /* @__PURE__ */ s.jsx(He, { asChild: !0, children: /* @__PURE__ */ s.jsx(fe, { ...a, children: i && /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
445
- n.label,
465
+ ), St = (t) => {
466
+ const { __scopeToast: r, children: e, ...s } = t, a = Z(K, r), [n, o] = l.useState(!1), [u, y] = l.useState(!1);
467
+ return Rt(() => o(!0)), l.useEffect(() => {
468
+ const c = window.setTimeout(() => y(!0), 1e3);
469
+ return () => window.clearTimeout(c);
470
+ }, []), u ? null : /* @__PURE__ */ i.jsx(Qe, { asChild: !0, children: /* @__PURE__ */ i.jsx(fe, { ...s, children: n && /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
471
+ a.label,
446
472
  " ",
447
- t
473
+ e
448
474
  ] }) }) });
449
- }, Nt = "ToastTitle", be = o.forwardRef(
450
- (e, r) => {
451
- const { __scopeToast: t, ...a } = e;
452
- return /* @__PURE__ */ s.jsx(P.div, { ...a, ref: r });
475
+ }, jt = "ToastTitle", Ee = l.forwardRef(
476
+ (t, r) => {
477
+ const { __scopeToast: e, ...s } = t;
478
+ return /* @__PURE__ */ i.jsx(D.div, { ...s, ref: r });
453
479
  }
454
480
  );
455
- be.displayName = Nt;
456
- var jt = "ToastDescription", Ee = o.forwardRef(
457
- (e, r) => {
458
- const { __scopeToast: t, ...a } = e;
459
- return /* @__PURE__ */ s.jsx(P.div, { ...a, ref: r });
481
+ Ee.displayName = jt;
482
+ var Ct = "ToastDescription", ge = l.forwardRef(
483
+ (t, r) => {
484
+ const { __scopeToast: e, ...s } = t;
485
+ return /* @__PURE__ */ i.jsx(D.div, { ...s, ref: r });
460
486
  }
461
487
  );
462
- Ee.displayName = jt;
463
- var ge = "ToastAction", ke = o.forwardRef(
464
- (e, r) => {
465
- const { altText: t, ...a } = e;
466
- return t.trim() ? /* @__PURE__ */ s.jsx(je, { altText: t, asChild: !0, children: /* @__PURE__ */ s.jsx(se, { ...a, ref: r }) }) : (console.error(
467
- `Invalid prop \`altText\` supplied to \`${ge}\`. Expected non-empty \`string\`.`
488
+ ge.displayName = Ct;
489
+ var ke = "ToastAction", Ne = l.forwardRef(
490
+ (t, r) => {
491
+ const { altText: e, ...s } = t;
492
+ return e.trim() ? /* @__PURE__ */ i.jsx(Se, { altText: e, asChild: !0, children: /* @__PURE__ */ i.jsx(ne, { ...s, ref: r }) }) : (console.error(
493
+ `Invalid prop \`altText\` supplied to \`${ke}\`. Expected non-empty \`string\`.`
468
494
  ), null);
469
495
  }
470
496
  );
471
- ke.displayName = ge;
472
- var Ne = "ToastClose", se = o.forwardRef(
473
- (e, r) => {
474
- const { __scopeToast: t, ...a } = e, n = Et(Ne, t);
475
- return /* @__PURE__ */ s.jsx(je, { asChild: !0, children: /* @__PURE__ */ s.jsx(
476
- P.button,
497
+ Ne.displayName = ke;
498
+ var _e = "ToastClose", ne = l.forwardRef(
499
+ (t, r) => {
500
+ const { __scopeToast: e, ...s } = t, a = Nt(_e, e);
501
+ return /* @__PURE__ */ i.jsx(Se, { asChild: !0, children: /* @__PURE__ */ i.jsx(
502
+ D.button,
477
503
  {
478
504
  type: "button",
479
- ...a,
505
+ ...s,
480
506
  ref: r,
481
- onClick: g(e.onClick, n.onClose)
507
+ onClick: _(t.onClick, a.onClose)
482
508
  }
483
509
  ) });
484
510
  }
485
511
  );
486
- se.displayName = Ne;
487
- var je = o.forwardRef((e, r) => {
488
- const { __scopeToast: t, altText: a, ...n } = e;
489
- return /* @__PURE__ */ s.jsx(
490
- P.div,
512
+ ne.displayName = _e;
513
+ var Se = l.forwardRef((t, r) => {
514
+ const { __scopeToast: e, altText: s, ...a } = t;
515
+ return /* @__PURE__ */ i.jsx(
516
+ D.div,
491
517
  {
492
518
  "data-radix-toast-announce-exclude": "",
493
- "data-radix-toast-announce-alt": a || void 0,
494
- ...n,
519
+ "data-radix-toast-announce-alt": s || void 0,
520
+ ...a,
495
521
  ref: r
496
522
  }
497
523
  );
498
524
  });
499
- function Ce(e) {
525
+ function je(t) {
500
526
  const r = [];
501
- return Array.from(e.childNodes).forEach((t) => {
502
- if (t.nodeType === t.TEXT_NODE && t.textContent && r.push(t.textContent), Rt(t)) {
503
- const a = t.ariaHidden || t.hidden || t.style.display === "none", n = t.dataset.radixToastAnnounceExclude === "";
504
- if (!a)
505
- if (n) {
506
- const i = t.dataset.radixToastAnnounceAlt;
507
- i && r.push(i);
527
+ return Array.from(t.childNodes).forEach((e) => {
528
+ if (e.nodeType === e.TEXT_NODE && e.textContent && r.push(e.textContent), Pt(e)) {
529
+ const s = e.ariaHidden || e.hidden || e.style.display === "none", a = e.dataset.radixToastAnnounceExclude === "";
530
+ if (!s)
531
+ if (a) {
532
+ const n = e.dataset.radixToastAnnounceAlt;
533
+ n && r.push(n);
508
534
  } else
509
- r.push(...Ce(t));
535
+ r.push(...je(e));
510
536
  }
511
537
  }), r;
512
538
  }
513
- function z(e, r, t, { discrete: a }) {
514
- const n = t.originalEvent.currentTarget, i = new CustomEvent(e, { bubbles: !0, cancelable: !0, detail: t });
515
- r && n.addEventListener(e, r, { once: !0 }), a ? Qe(n, i) : n.dispatchEvent(i);
539
+ function W(t, r, e, { discrete: s }) {
540
+ const a = e.originalEvent.currentTarget, n = new CustomEvent(t, { bubbles: !0, cancelable: !0, detail: e });
541
+ r && a.addEventListener(t, r, { once: !0 }), s ? et(a, n) : a.dispatchEvent(n);
516
542
  }
517
- var le = (e, r, t = 0) => {
518
- const a = Math.abs(e.x), n = Math.abs(e.y), i = a > n;
519
- return r === "left" || r === "right" ? i && a > t : !i && n > t;
543
+ var ue = (t, r, e = 0) => {
544
+ const s = Math.abs(t.x), a = Math.abs(t.y), n = s > a;
545
+ return r === "left" || r === "right" ? n && s > e : !n && a > e;
520
546
  };
521
- function Ct(e = () => {
547
+ function Rt(t = () => {
522
548
  }) {
523
- const r = X(e);
524
- Je(() => {
525
- let t = 0, a = 0;
526
- return t = window.requestAnimationFrame(() => a = window.requestAnimationFrame(r)), () => {
527
- window.cancelAnimationFrame(t), window.cancelAnimationFrame(a);
549
+ const r = Y(t);
550
+ tt(() => {
551
+ let e = 0, s = 0;
552
+ return e = window.requestAnimationFrame(() => s = window.requestAnimationFrame(r)), () => {
553
+ window.cancelAnimationFrame(e), window.cancelAnimationFrame(s);
528
554
  };
529
555
  }, [r]);
530
556
  }
531
- function Rt(e) {
532
- return e.nodeType === e.ELEMENT_NODE;
557
+ function Pt(t) {
558
+ return t.nodeType === t.ELEMENT_NODE;
533
559
  }
534
- function St(e) {
535
- const r = [], t = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
536
- acceptNode: (a) => {
537
- const n = a.tagName === "INPUT" && a.type === "hidden";
538
- return a.disabled || a.hidden || n ? NodeFilter.FILTER_SKIP : a.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
560
+ function Dt(t) {
561
+ const r = [], e = document.createTreeWalker(t, NodeFilter.SHOW_ELEMENT, {
562
+ acceptNode: (s) => {
563
+ const a = s.tagName === "INPUT" && s.type === "hidden";
564
+ return s.disabled || s.hidden || a ? NodeFilter.FILTER_SKIP : s.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
539
565
  }
540
566
  });
541
- for (; t.nextNode(); ) r.push(t.currentNode);
567
+ for (; e.nextNode(); ) r.push(e.currentNode);
542
568
  return r;
543
569
  }
544
- function H(e) {
570
+ function J(t) {
545
571
  const r = document.activeElement;
546
- return e.some((t) => t === r ? !0 : (t.focus(), document.activeElement !== r));
572
+ return t.some((e) => e === r ? !0 : (e.focus(), document.activeElement !== r));
547
573
  }
548
- var Pt = we, Re = ye, Se = Te, Pe = be, _e = Ee, De = ke, Ae = se;
549
- const _t = Pt, Ie = k.createContext(null), Le = k.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ s.jsx(
550
- Re,
551
- {
552
- ...r,
553
- ref: t,
554
- className: S(
555
- "fixed top-0 z-100 flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",
556
- e
557
- )
558
- }
559
- ));
560
- Le.displayName = Re.displayName;
561
- const Dt = ue(
562
- "group pointer-events-auto relative shadow-xs bg-primary-white dark:bg-primary-gray-650 flex w-full text-primary-black dark:text-primary-white items-center justify-between flex gap-2 overflow-hidden rounded-sm border border-primary-gray-400 p-2 pr-6 transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full sm:data-[state=open]:slide-in-from-bottom-full",
563
- {
564
- variants: {
565
- variant: {
566
- default: "border border-primary-gray-400 dark:border-0",
567
- success: "border-t-4 border-accent-dark-green dark:border-b-0 dark:border-l-0 dark:border-r-0",
568
- warning: "border-t-4 border-accent-dark-yellow dark:border-b-0 dark:border-l-0 dark:border-r-0",
569
- destructive: "border-t-4 border-accent-dark-red dark:border-b-0 dark:border-l-0 dark:border-r-0"
570
- }
571
- },
572
- defaultVariants: { variant: "default" }
574
+ var At = xe, Ce = he, Re = be, Pe = Ee, De = ge, Ae = Ne, Ie = ne;
575
+ const It = At, Le = S.createContext(null), Me = S.forwardRef((t, r) => {
576
+ const e = R.c(9);
577
+ let s, a;
578
+ e[0] !== t ? ({
579
+ className: s,
580
+ ...a
581
+ } = t, e[0] = t, e[1] = s, e[2] = a) : (s = e[1], a = e[2]);
582
+ let n;
583
+ e[3] !== s ? (n = P("fixed top-0 z-100 flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]", s), e[3] = s, e[4] = n) : n = e[4];
584
+ let o;
585
+ return e[5] !== a || e[6] !== r || e[7] !== n ? (o = /* @__PURE__ */ i.jsx(Ce, { ...a, ref: r, className: n }), e[5] = a, e[6] = r, e[7] = n, e[8] = o) : o = e[8], o;
586
+ });
587
+ Me.displayName = Ce.displayName;
588
+ const Lt = pe("group pointer-events-auto relative shadow-xs bg-primary-white dark:bg-primary-gray-650 flex w-full text-primary-black dark:text-primary-white items-center justify-between flex gap-2 overflow-hidden rounded-sm border border-primary-gray-400 p-2 pr-6 transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full sm:data-[state=open]:slide-in-from-bottom-full", {
589
+ variants: {
590
+ variant: {
591
+ default: "border border-primary-gray-400 dark:border-0",
592
+ success: "border-t-4 border-accent-dark-green dark:border-b-0 dark:border-l-0 dark:border-r-0",
593
+ warning: "border-t-4 border-accent-dark-yellow dark:border-b-0 dark:border-l-0 dark:border-r-0",
594
+ destructive: "border-t-4 border-accent-dark-red dark:border-b-0 dark:border-l-0 dark:border-r-0"
595
+ }
596
+ },
597
+ defaultVariants: {
598
+ variant: "default"
573
599
  }
574
- ), At = ue("", {
600
+ }), Mt = pe("", {
575
601
  variants: {
576
602
  variant: {
577
603
  default: "text-primary-black dark:text-primary-white",
@@ -580,120 +606,176 @@ const Dt = ue(
580
606
  destructive: "text-accent-dark-red"
581
607
  }
582
608
  },
583
- defaultVariants: { variant: "default" }
584
- }), Fe = k.forwardRef(({ className: e, variant: r, ...t }, a) => /* @__PURE__ */ s.jsx(Ie.Provider, { value: { variant: r }, children: /* @__PURE__ */ s.jsx(
585
- Se,
586
- {
587
- ...t,
588
- ref: a,
589
- className: S(Dt({ variant: r }), e)
590
- }
591
- ) }));
592
- Fe.displayName = Se.displayName;
593
- const It = k.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ s.jsx(
594
- De,
595
- {
596
- ...r,
597
- ref: t,
598
- className: S(
599
- "inline-flex h-8 shrink-0 items-center text-primary-gray-700 dark:text-primary-gray-100 justify-center rounded-none bg-transparent px-3 text-sm font-medium transition-colors hover:bg-primary-gray-200 dark:hover:bg-primary-gray-600 focus:outline-hidden focus:ring-1 disabled:pointer-events-none disabled:opacity-50",
600
- e
601
- )
602
- }
603
- ));
604
- It.displayName = De.displayName;
605
- const Me = k.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ s.jsx(
606
- Ae,
607
- {
608
- ...r,
609
- ref: t,
610
- className: S(
611
- "absolute right-1 top-1 rounded-md p-1 text-primary-gray-700/50 dark:text-primary-gray-100/50 opacity-0 transition-opacity hover:text-primary-gray-700 dark:hover:text-primary-gray-100 focus:opacity-100 focus:outline-hidden focus:ring-1 group-hover:opacity-100",
612
- e
613
- ),
614
- "toast-close": "",
615
- children: /* @__PURE__ */ s.jsx(tt, { className: "h-4 w-4" })
609
+ defaultVariants: {
610
+ variant: "default"
616
611
  }
617
- ));
618
- Me.displayName = Ae.displayName;
619
- const $e = k.forwardRef(({ className: e, ...r }, t) => {
620
- const a = k.useContext(Ie), n = S(
621
- At({ variant: a?.variant }),
622
- "text-lg font-bold [&+div]:text-xs",
623
- e
624
- );
625
- let i = null;
626
- switch (a?.variant) {
627
- case "destructive":
628
- i = /* @__PURE__ */ s.jsx(lt, { className: "h-4 w-4 stroke-accent-dark-red", strokeWidth: 2 });
629
- break;
630
- case "success":
631
- i = /* @__PURE__ */ s.jsx(ct, { className: "h-4 w-4 stroke-accent-dark-green", strokeWidth: 2 });
632
- break;
633
- case "warning":
634
- i = /* @__PURE__ */ s.jsx(pt, { className: "h-4 w-4 stroke-accent-dark-yellow", strokeWidth: 2 });
635
- break;
612
+ }), Fe = S.forwardRef((t, r) => {
613
+ const e = R.c(16);
614
+ let s, a, n;
615
+ e[0] !== t ? ({
616
+ className: s,
617
+ variant: n,
618
+ ...a
619
+ } = t, e[0] = t, e[1] = s, e[2] = a, e[3] = n) : (s = e[1], a = e[2], n = e[3]);
620
+ let o;
621
+ e[4] !== n ? (o = {
622
+ variant: n
623
+ }, e[4] = n, e[5] = o) : o = e[5];
624
+ let u;
625
+ e[6] !== s || e[7] !== n ? (u = P(Lt({
626
+ variant: n
627
+ }), s), e[6] = s, e[7] = n, e[8] = u) : u = e[8];
628
+ let y;
629
+ e[9] !== a || e[10] !== r || e[11] !== u ? (y = /* @__PURE__ */ i.jsx(Re, { ...a, ref: r, className: u }), e[9] = a, e[10] = r, e[11] = u, e[12] = y) : y = e[12];
630
+ let c;
631
+ return e[13] !== o || e[14] !== y ? (c = /* @__PURE__ */ i.jsx(Le.Provider, { value: o, children: y }), e[13] = o, e[14] = y, e[15] = c) : c = e[15], c;
632
+ });
633
+ Fe.displayName = Re.displayName;
634
+ const Ft = S.forwardRef((t, r) => {
635
+ const e = R.c(9);
636
+ let s, a;
637
+ e[0] !== t ? ({
638
+ className: s,
639
+ ...a
640
+ } = t, e[0] = t, e[1] = s, e[2] = a) : (s = e[1], a = e[2]);
641
+ let n;
642
+ e[3] !== s ? (n = P("inline-flex h-8 shrink-0 items-center text-primary-gray-700 dark:text-primary-gray-100 justify-center rounded-none bg-transparent px-3 text-sm font-medium transition-colors hover:bg-primary-gray-200 dark:hover:bg-primary-gray-600 focus:outline-hidden focus:ring-1 disabled:pointer-events-none disabled:opacity-50", s), e[3] = s, e[4] = n) : n = e[4];
643
+ let o;
644
+ return e[5] !== a || e[6] !== r || e[7] !== n ? (o = /* @__PURE__ */ i.jsx(Ae, { ...a, ref: r, className: n }), e[5] = a, e[6] = r, e[7] = n, e[8] = o) : o = e[8], o;
645
+ });
646
+ Ft.displayName = Ae.displayName;
647
+ const $e = S.forwardRef((t, r) => {
648
+ const e = R.c(10);
649
+ let s, a;
650
+ e[0] !== t ? ({
651
+ className: s,
652
+ ...a
653
+ } = t, e[0] = t, e[1] = s, e[2] = a) : (s = e[1], a = e[2]);
654
+ let n;
655
+ e[3] !== s ? (n = P("absolute right-1 top-1 rounded-md p-1 text-primary-gray-700/50 dark:text-primary-gray-100/50 opacity-0 transition-opacity hover:text-primary-gray-700 dark:hover:text-primary-gray-100 focus:opacity-100 focus:outline-hidden focus:ring-1 group-hover:opacity-100", s), e[3] = s, e[4] = n) : n = e[4];
656
+ let o;
657
+ e[5] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ i.jsx(st, { className: "h-4 w-4" }), e[5] = o) : o = e[5];
658
+ let u;
659
+ return e[6] !== a || e[7] !== r || e[8] !== n ? (u = /* @__PURE__ */ i.jsx(Ie, { ...a, ref: r, className: n, "toast-close": "", children: o }), e[6] = a, e[7] = r, e[8] = n, e[9] = u) : u = e[9], u;
660
+ });
661
+ $e.displayName = Ie.displayName;
662
+ const Oe = S.forwardRef((t, r) => {
663
+ const e = R.c(16);
664
+ let s, a;
665
+ e[0] !== t ? ({
666
+ className: s,
667
+ ...a
668
+ } = t, e[0] = t, e[1] = s, e[2] = a) : (s = e[1], a = e[2]);
669
+ const n = S.useContext(Le);
670
+ let o;
671
+ e[3] !== s || e[4] !== n?.variant ? (o = P(Mt({
672
+ variant: n?.variant
673
+ }), "text-lg font-bold [&+div]:text-xs", s), e[3] = s, e[4] = n?.variant, e[5] = o) : o = e[5];
674
+ const u = o;
675
+ let y;
676
+ e: switch (n?.variant) {
677
+ case "destructive": {
678
+ let m;
679
+ e[6] === Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ i.jsx(mt, { className: "h-4 w-4 stroke-accent-dark-red", strokeWidth: 2 }), e[6] = m) : m = e[6], y = m;
680
+ break e;
681
+ }
682
+ case "success": {
683
+ let m;
684
+ e[7] === Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ i.jsx(ut, { className: "h-4 w-4 stroke-accent-dark-green", strokeWidth: 2 }), e[7] = m) : m = e[7], y = m;
685
+ break e;
686
+ }
687
+ case "warning": {
688
+ let m;
689
+ e[8] === Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ i.jsx(yt, { className: "h-4 w-4 stroke-accent-dark-yellow", strokeWidth: 2 }), e[8] = m) : m = e[8], y = m;
690
+ break e;
691
+ }
636
692
  default:
637
- i = null;
638
- break;
693
+ y = null;
639
694
  }
640
- return /* @__PURE__ */ s.jsxs("div", { className: "flex gap-x-1 items-center", children: [
641
- i,
642
- /* @__PURE__ */ s.jsx(Pe, { ...r, ref: t, className: n })
643
- ] });
695
+ let c;
696
+ e[9] !== u || e[10] !== a || e[11] !== r ? (c = /* @__PURE__ */ i.jsx(Pe, { ...a, ref: r, className: u }), e[9] = u, e[10] = a, e[11] = r, e[12] = c) : c = e[12];
697
+ let x;
698
+ return e[13] !== y || e[14] !== c ? (x = /* @__PURE__ */ i.jsxs("div", { className: "flex gap-x-1 items-center", children: [
699
+ y,
700
+ c
701
+ ] }), e[13] = y, e[14] = c, e[15] = x) : x = e[15], x;
644
702
  });
645
- $e.displayName = Pe.displayName;
646
- const Oe = k.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ s.jsx(
647
- _e,
648
- {
649
- ...r,
650
- ref: t,
651
- className: S("text-base opacity-90 dark:text-primary-white", e)
652
- }
653
- ));
654
- Oe.displayName = _e.displayName;
655
- function Lt() {
656
- const { toasts: e } = me();
657
- return /* @__PURE__ */ s.jsxs(_t, { children: [
658
- e.map(({ id: r, title: t, description: a, action: n, ...i }) => /* @__PURE__ */ Ue(Fe, { ...i, key: r }, /* @__PURE__ */ s.jsxs("div", { className: "grid gap-1", children: [
659
- t && /* @__PURE__ */ s.jsx($e, { children: t }),
660
- a && /* @__PURE__ */ s.jsx(Oe, { children: a })
661
- ] }), n, /* @__PURE__ */ s.jsx(Me, {}))),
662
- /* @__PURE__ */ s.jsx(Le, {})
663
- ] });
703
+ Oe.displayName = Pe.displayName;
704
+ const Ke = S.forwardRef((t, r) => {
705
+ const e = R.c(9);
706
+ let s, a;
707
+ e[0] !== t ? ({
708
+ className: s,
709
+ ...a
710
+ } = t, e[0] = t, e[1] = s, e[2] = a) : (s = e[1], a = e[2]);
711
+ let n;
712
+ e[3] !== s ? (n = P("text-base opacity-90 dark:text-primary-white", s), e[3] = s, e[4] = n) : n = e[4];
713
+ let o;
714
+ return e[5] !== a || e[6] !== r || e[7] !== n ? (o = /* @__PURE__ */ i.jsx(De, { ...a, ref: r, className: n }), e[5] = a, e[6] = r, e[7] = n, e[8] = o) : o = e[8], o;
715
+ });
716
+ Ke.displayName = De.displayName;
717
+ function $t() {
718
+ const t = R.c(5), {
719
+ toasts: r
720
+ } = ye();
721
+ let e;
722
+ t[0] !== r ? (e = r.map(Ot), t[0] = r, t[1] = e) : e = t[1];
723
+ let s;
724
+ t[2] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ i.jsx(Me, {}), t[2] = s) : s = t[2];
725
+ let a;
726
+ return t[3] !== e ? (a = /* @__PURE__ */ i.jsxs(It, { children: [
727
+ e,
728
+ s
729
+ ] }), t[3] = e, t[4] = a) : a = t[4], a;
664
730
  }
665
- function qt(e) {
731
+ function Ot(t) {
666
732
  const {
667
- text: r,
668
- successMessage: t = "Text copied",
733
+ id: r,
734
+ title: e,
735
+ description: s,
736
+ action: a,
737
+ ...n
738
+ } = t;
739
+ return /* @__PURE__ */ Xe(Fe, { ...n, key: r }, /* @__PURE__ */ i.jsxs("div", { className: "grid gap-1", children: [
740
+ e && /* @__PURE__ */ i.jsx(Oe, { children: e }),
741
+ s && /* @__PURE__ */ i.jsx(Ke, { children: s })
742
+ ] }), a, /* @__PURE__ */ i.jsx($e, {}));
743
+ }
744
+ function Xt(t) {
745
+ const r = ze.c(12), {
746
+ text: e,
747
+ successMessage: s,
669
748
  buttonText: a,
670
- buttonSmall: n = !1,
671
- className: i = ""
672
- } = e, { toast: f } = me();
673
- return /* @__PURE__ */ M.jsxs(M.Fragment, { children: [
674
- /* @__PURE__ */ M.jsxs(
675
- qe,
676
- {
677
- variant: "tertiary",
678
- className: `${n ? "p-2" : "py-4 px-6"} ${i}`,
679
- onClick: () => {
680
- navigator.clipboard.writeText(r), f({
681
- variant: "success",
682
- description: t,
683
- duration: 1e3
684
- });
685
- },
686
- "aria-label": "Click to copy the text",
687
- children: [
688
- /* @__PURE__ */ M.jsx(ze, {}),
689
- a || null
690
- ]
691
- }
692
- ),
693
- /* @__PURE__ */ M.jsx(Lt, {})
694
- ] });
749
+ buttonSmall: n,
750
+ className: o
751
+ } = t, u = s === void 0 ? "Text copied" : s, y = n === void 0 ? !1 : n, c = o === void 0 ? "" : o, {
752
+ toast: x
753
+ } = ye(), m = `${y ? "p-2" : "py-4 px-6"} ${c}`;
754
+ let b;
755
+ r[0] !== u || r[1] !== e || r[2] !== x ? (b = () => {
756
+ navigator.clipboard.writeText(e), x({
757
+ variant: "success",
758
+ description: u,
759
+ duration: 1e3
760
+ });
761
+ }, r[0] = u, r[1] = e, r[2] = x, r[3] = b) : b = r[3];
762
+ let E;
763
+ r[4] === Symbol.for("react.memo_cache_sentinel") ? (E = /* @__PURE__ */ $.jsx(We, {}), r[4] = E) : E = r[4];
764
+ const g = a || null;
765
+ let f;
766
+ r[5] !== m || r[6] !== b || r[7] !== g ? (f = /* @__PURE__ */ $.jsxs(Ue, { variant: "tertiary", className: m, onClick: b, "aria-label": "Click to copy the text", children: [
767
+ E,
768
+ g
769
+ ] }), r[5] = m, r[6] = b, r[7] = g, r[8] = f) : f = r[8];
770
+ let d;
771
+ r[9] === Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ $.jsx($t, {}), r[9] = d) : d = r[9];
772
+ let w;
773
+ return r[10] !== f ? (w = /* @__PURE__ */ $.jsxs($.Fragment, { children: [
774
+ f,
775
+ d
776
+ ] }), r[10] = f, r[11] = w) : w = r[11], w;
695
777
  }
696
778
  export {
697
- qt as CopyTextButton
779
+ Xt as CopyTextButton
698
780
  };
699
781
  //# sourceMappingURL=CopyTextButton.js.map