@handijit/ui 0.0.0-stage → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (658) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +872 -2
  3. package/build/base.css +1 -0
  4. package/build/charts.cjs +2 -0
  5. package/build/charts.cjs.map +1 -0
  6. package/build/charts.css +1 -0
  7. package/build/charts.js +1865 -0
  8. package/build/charts.js.map +1 -0
  9. package/build/chat.cjs +4 -0
  10. package/build/chat.cjs.map +1 -0
  11. package/build/chat.css +1 -0
  12. package/build/chat.js +1120 -0
  13. package/build/chat.js.map +1 -0
  14. package/build/components/Accordion/index.cjs +2 -0
  15. package/build/components/Accordion/index.cjs.map +1 -0
  16. package/build/components/Accordion/index.d.ts +29 -0
  17. package/build/components/Accordion/index.js +42 -0
  18. package/build/components/Accordion/index.js.map +1 -0
  19. package/build/components/Accordion/style.css +1 -0
  20. package/build/components/Alert/index.cjs +2 -0
  21. package/build/components/Alert/index.cjs.map +1 -0
  22. package/build/components/Alert/index.d.ts +15 -0
  23. package/build/components/Alert/index.js +30 -0
  24. package/build/components/Alert/index.js.map +1 -0
  25. package/build/components/Alert/style.css +1 -0
  26. package/build/components/Avatar/index.cjs +2 -0
  27. package/build/components/Avatar/index.cjs.map +1 -0
  28. package/build/components/Avatar/index.d.ts +26 -0
  29. package/build/components/Avatar/index.js +57 -0
  30. package/build/components/Avatar/index.js.map +1 -0
  31. package/build/components/Avatar/style.css +1 -0
  32. package/build/components/Badge/index.cjs +2 -0
  33. package/build/components/Badge/index.cjs.map +1 -0
  34. package/build/components/Badge/index.d.ts +26 -0
  35. package/build/components/Badge/index.js +26 -0
  36. package/build/components/Badge/index.js.map +1 -0
  37. package/build/components/Badge/style.css +1 -0
  38. package/build/components/BottomSheet/index.cjs +2 -0
  39. package/build/components/BottomSheet/index.cjs.map +1 -0
  40. package/build/components/BottomSheet/index.d.ts +21 -0
  41. package/build/components/BottomSheet/index.js +85 -0
  42. package/build/components/BottomSheet/index.js.map +1 -0
  43. package/build/components/BottomSheet/style.css +1 -0
  44. package/build/components/Breadcrumb/index.cjs +2 -0
  45. package/build/components/Breadcrumb/index.cjs.map +1 -0
  46. package/build/components/Breadcrumb/index.d.ts +20 -0
  47. package/build/components/Breadcrumb/index.js +31 -0
  48. package/build/components/Breadcrumb/index.js.map +1 -0
  49. package/build/components/Breadcrumb/style.css +1 -0
  50. package/build/components/Button/index.cjs +2 -0
  51. package/build/components/Button/index.cjs.map +1 -0
  52. package/build/components/Button/index.d.ts +32 -0
  53. package/build/components/Button/index.js +88 -0
  54. package/build/components/Button/index.js.map +1 -0
  55. package/build/components/Button/style.css +1 -0
  56. package/build/components/Card/index.cjs +2 -0
  57. package/build/components/Card/index.cjs.map +1 -0
  58. package/build/components/Card/index.d.ts +51 -0
  59. package/build/components/Card/index.js +58 -0
  60. package/build/components/Card/index.js.map +1 -0
  61. package/build/components/Card/style.css +1 -0
  62. package/build/components/Carousel/index.cjs +2 -0
  63. package/build/components/Carousel/index.cjs.map +1 -0
  64. package/build/components/Carousel/index.d.ts +24 -0
  65. package/build/components/Carousel/index.js +111 -0
  66. package/build/components/Carousel/index.js.map +1 -0
  67. package/build/components/Carousel/style.css +1 -0
  68. package/build/components/Checkbox/index.cjs +2 -0
  69. package/build/components/Checkbox/index.cjs.map +1 -0
  70. package/build/components/Checkbox/index.d.ts +10 -0
  71. package/build/components/Checkbox/index.js +33 -0
  72. package/build/components/Checkbox/index.js.map +1 -0
  73. package/build/components/Checkbox/style.css +1 -0
  74. package/build/components/Chip/index.cjs +2 -0
  75. package/build/components/Chip/index.cjs.map +1 -0
  76. package/build/components/Chip/index.d.ts +27 -0
  77. package/build/components/Chip/index.js +67 -0
  78. package/build/components/Chip/index.js.map +1 -0
  79. package/build/components/Chip/style.css +1 -0
  80. package/build/components/ChipGroup/index.cjs +2 -0
  81. package/build/components/ChipGroup/index.cjs.map +1 -0
  82. package/build/components/ChipGroup/index.d.ts +34 -0
  83. package/build/components/ChipGroup/index.js +64 -0
  84. package/build/components/ChipGroup/index.js.map +1 -0
  85. package/build/components/ChipGroup/style.css +1 -0
  86. package/build/components/CodeBadge/index.cjs +2 -0
  87. package/build/components/CodeBadge/index.cjs.map +1 -0
  88. package/build/components/CodeBadge/index.d.ts +36 -0
  89. package/build/components/CodeBadge/index.js +62 -0
  90. package/build/components/CodeBadge/index.js.map +1 -0
  91. package/build/components/CodeBadge/style.css +1 -0
  92. package/build/components/Combobox/index.cjs +2 -0
  93. package/build/components/Combobox/index.cjs.map +1 -0
  94. package/build/components/Combobox/index.d.ts +6 -0
  95. package/build/components/Combobox/index.js +302 -0
  96. package/build/components/Combobox/index.js.map +1 -0
  97. package/build/components/Combobox/style.css +1 -0
  98. package/build/components/CommandPalette/index.cjs +2 -0
  99. package/build/components/CommandPalette/index.cjs.map +1 -0
  100. package/build/components/CommandPalette/index.d.ts +37 -0
  101. package/build/components/CommandPalette/index.js +181 -0
  102. package/build/components/CommandPalette/index.js.map +1 -0
  103. package/build/components/CommandPalette/style.css +1 -0
  104. package/build/components/ConfirmDialog/index.cjs +2 -0
  105. package/build/components/ConfirmDialog/index.cjs.map +1 -0
  106. package/build/components/ConfirmDialog/index.d.ts +34 -0
  107. package/build/components/ConfirmDialog/index.js +85 -0
  108. package/build/components/ConfirmDialog/index.js.map +1 -0
  109. package/build/components/CopyField/index.cjs +2 -0
  110. package/build/components/CopyField/index.cjs.map +1 -0
  111. package/build/components/CopyField/index.d.ts +20 -0
  112. package/build/components/CopyField/index.js +44 -0
  113. package/build/components/CopyField/index.js.map +1 -0
  114. package/build/components/CopyField/style.css +1 -0
  115. package/build/components/DataTable/index.cjs +2 -0
  116. package/build/components/DataTable/index.cjs.map +1 -0
  117. package/build/components/DataTable/index.d.ts +60 -0
  118. package/build/components/DataTable/index.js +109 -0
  119. package/build/components/DataTable/index.js.map +1 -0
  120. package/build/components/DataTable/style.css +1 -0
  121. package/build/components/DateField/index.cjs +2 -0
  122. package/build/components/DateField/index.cjs.map +1 -0
  123. package/build/components/DateField/index.d.ts +44 -0
  124. package/build/components/DateField/index.js +79 -0
  125. package/build/components/DateField/index.js.map +1 -0
  126. package/build/components/DateField/style.css +1 -0
  127. package/build/components/Directory/index.cjs +2 -0
  128. package/build/components/Directory/index.cjs.map +1 -0
  129. package/build/components/Directory/index.d.ts +51 -0
  130. package/build/components/Directory/index.js +46 -0
  131. package/build/components/Directory/index.js.map +1 -0
  132. package/build/components/Directory/style.css +1 -0
  133. package/build/components/Disclosure/index.cjs +2 -0
  134. package/build/components/Disclosure/index.cjs.map +1 -0
  135. package/build/components/Disclosure/index.d.ts +34 -0
  136. package/build/components/Disclosure/index.js +64 -0
  137. package/build/components/Disclosure/index.js.map +1 -0
  138. package/build/components/Disclosure/style.css +1 -0
  139. package/build/components/Divider/index.cjs +2 -0
  140. package/build/components/Divider/index.cjs.map +1 -0
  141. package/build/components/Divider/index.d.ts +10 -0
  142. package/build/components/Divider/index.js +24 -0
  143. package/build/components/Divider/index.js.map +1 -0
  144. package/build/components/Divider/style.css +1 -0
  145. package/build/components/Drawer/index.cjs +2 -0
  146. package/build/components/Drawer/index.cjs.map +1 -0
  147. package/build/components/Drawer/index.d.ts +22 -0
  148. package/build/components/Drawer/index.js +88 -0
  149. package/build/components/Drawer/index.js.map +1 -0
  150. package/build/components/Drawer/style.css +1 -0
  151. package/build/components/EmptyState/index.cjs +2 -0
  152. package/build/components/EmptyState/index.cjs.map +1 -0
  153. package/build/components/EmptyState/index.d.ts +19 -0
  154. package/build/components/EmptyState/index.js +35 -0
  155. package/build/components/EmptyState/index.js.map +1 -0
  156. package/build/components/EmptyState/style.css +1 -0
  157. package/build/components/Field/index.cjs +2 -0
  158. package/build/components/Field/index.cjs.map +1 -0
  159. package/build/components/Field/index.d.ts +31 -0
  160. package/build/components/Field/index.js +52 -0
  161. package/build/components/Field/index.js.map +1 -0
  162. package/build/components/Field/style.css +1 -0
  163. package/build/components/FileUpload/index.cjs +2 -0
  164. package/build/components/FileUpload/index.cjs.map +1 -0
  165. package/build/components/FileUpload/index.d.ts +42 -0
  166. package/build/components/FileUpload/index.js +145 -0
  167. package/build/components/FileUpload/index.js.map +1 -0
  168. package/build/components/FileUpload/style.css +1 -0
  169. package/build/components/FilterBar/index.cjs +2 -0
  170. package/build/components/FilterBar/index.cjs.map +1 -0
  171. package/build/components/FilterBar/index.d.ts +28 -0
  172. package/build/components/FilterBar/index.js +35 -0
  173. package/build/components/FilterBar/index.js.map +1 -0
  174. package/build/components/FilterBar/style.css +1 -0
  175. package/build/components/IconButton/index.cjs +2 -0
  176. package/build/components/IconButton/index.cjs.map +1 -0
  177. package/build/components/IconButton/index.d.ts +22 -0
  178. package/build/components/IconButton/index.js +61 -0
  179. package/build/components/IconButton/index.js.map +1 -0
  180. package/build/components/IconButton/style.css +1 -0
  181. package/build/components/Input/index.cjs +2 -0
  182. package/build/components/Input/index.cjs.map +1 -0
  183. package/build/components/Input/index.d.ts +15 -0
  184. package/build/components/Input/index.js +52 -0
  185. package/build/components/Input/index.js.map +1 -0
  186. package/build/components/Input/style.css +1 -0
  187. package/build/components/Kbd/index.cjs +2 -0
  188. package/build/components/Kbd/index.cjs.map +1 -0
  189. package/build/components/Kbd/index.d.ts +12 -0
  190. package/build/components/Kbd/index.js +13 -0
  191. package/build/components/Kbd/index.js.map +1 -0
  192. package/build/components/Kbd/style.css +1 -0
  193. package/build/components/Link/index.cjs +2 -0
  194. package/build/components/Link/index.cjs.map +1 -0
  195. package/build/components/Link/index.d.ts +5 -0
  196. package/build/components/Link/index.js +11 -0
  197. package/build/components/Link/index.js.map +1 -0
  198. package/build/components/Menu/index.cjs +2 -0
  199. package/build/components/Menu/index.cjs.map +1 -0
  200. package/build/components/Menu/index.d.ts +46 -0
  201. package/build/components/Menu/index.js +241 -0
  202. package/build/components/Menu/index.js.map +1 -0
  203. package/build/components/Menu/style.css +1 -0
  204. package/build/components/Modal/index.cjs +2 -0
  205. package/build/components/Modal/index.cjs.map +1 -0
  206. package/build/components/Modal/index.d.ts +28 -0
  207. package/build/components/Modal/index.js +92 -0
  208. package/build/components/Modal/index.js.map +1 -0
  209. package/build/components/Modal/style.css +1 -0
  210. package/build/components/PageHeader/index.cjs +2 -0
  211. package/build/components/PageHeader/index.cjs.map +1 -0
  212. package/build/components/PageHeader/index.d.ts +24 -0
  213. package/build/components/PageHeader/index.js +34 -0
  214. package/build/components/PageHeader/index.js.map +1 -0
  215. package/build/components/PageHeader/style.css +1 -0
  216. package/build/components/Pagination/index.cjs +2 -0
  217. package/build/components/Pagination/index.cjs.map +1 -0
  218. package/build/components/Pagination/index.d.ts +39 -0
  219. package/build/components/Pagination/index.js +128 -0
  220. package/build/components/Pagination/index.js.map +1 -0
  221. package/build/components/Pagination/style.css +1 -0
  222. package/build/components/Panel/index.cjs +2 -0
  223. package/build/components/Panel/index.cjs.map +1 -0
  224. package/build/components/Panel/index.d.ts +43 -0
  225. package/build/components/Panel/index.js +55 -0
  226. package/build/components/Panel/index.js.map +1 -0
  227. package/build/components/Panel/style.css +1 -0
  228. package/build/components/PasswordInput/index.cjs +2 -0
  229. package/build/components/PasswordInput/index.cjs.map +1 -0
  230. package/build/components/PasswordInput/index.d.ts +14 -0
  231. package/build/components/PasswordInput/index.js +40 -0
  232. package/build/components/PasswordInput/index.js.map +1 -0
  233. package/build/components/PasswordInput/style.css +1 -0
  234. package/build/components/Popover/index.cjs +2 -0
  235. package/build/components/Popover/index.cjs.map +1 -0
  236. package/build/components/Popover/index.d.ts +20 -0
  237. package/build/components/Popover/index.js +91 -0
  238. package/build/components/Popover/index.js.map +1 -0
  239. package/build/components/Popover/style.css +1 -0
  240. package/build/components/Price/index.cjs +2 -0
  241. package/build/components/Price/index.cjs.map +1 -0
  242. package/build/components/Price/index.d.ts +22 -0
  243. package/build/components/Price/index.js +46 -0
  244. package/build/components/Price/index.js.map +1 -0
  245. package/build/components/Price/style.css +1 -0
  246. package/build/components/Progress/index.cjs +2 -0
  247. package/build/components/Progress/index.cjs.map +1 -0
  248. package/build/components/Progress/index.d.ts +49 -0
  249. package/build/components/Progress/index.js +120 -0
  250. package/build/components/Progress/index.js.map +1 -0
  251. package/build/components/Progress/style.css +1 -0
  252. package/build/components/PromptDialog/index.cjs +2 -0
  253. package/build/components/PromptDialog/index.cjs.map +1 -0
  254. package/build/components/PromptDialog/index.d.ts +36 -0
  255. package/build/components/PromptDialog/index.js +119 -0
  256. package/build/components/PromptDialog/index.js.map +1 -0
  257. package/build/components/PromptDialog/style.css +1 -0
  258. package/build/components/QuantityStepper/index.cjs +2 -0
  259. package/build/components/QuantityStepper/index.cjs.map +1 -0
  260. package/build/components/QuantityStepper/index.d.ts +21 -0
  261. package/build/components/QuantityStepper/index.js +106 -0
  262. package/build/components/QuantityStepper/index.js.map +1 -0
  263. package/build/components/QuantityStepper/style.css +1 -0
  264. package/build/components/Radio/index.cjs +2 -0
  265. package/build/components/Radio/index.cjs.map +1 -0
  266. package/build/components/Radio/index.d.ts +12 -0
  267. package/build/components/Radio/index.js +35 -0
  268. package/build/components/Radio/index.js.map +1 -0
  269. package/build/components/Radio/style.css +1 -0
  270. package/build/components/RadioCard/index.cjs +2 -0
  271. package/build/components/RadioCard/index.cjs.map +1 -0
  272. package/build/components/RadioCard/index.d.ts +16 -0
  273. package/build/components/RadioCard/index.js +48 -0
  274. package/build/components/RadioCard/index.js.map +1 -0
  275. package/build/components/RadioCard/style.css +1 -0
  276. package/build/components/RangeSlider/index.cjs +2 -0
  277. package/build/components/RangeSlider/index.cjs.map +1 -0
  278. package/build/components/RangeSlider/index.d.ts +26 -0
  279. package/build/components/RangeSlider/index.js +102 -0
  280. package/build/components/RangeSlider/index.js.map +1 -0
  281. package/build/components/RangeSlider/style.css +1 -0
  282. package/build/components/Rating/index.cjs +2 -0
  283. package/build/components/Rating/index.cjs.map +1 -0
  284. package/build/components/Rating/index.d.ts +16 -0
  285. package/build/components/Rating/index.js +29 -0
  286. package/build/components/Rating/index.js.map +1 -0
  287. package/build/components/Rating/style.css +1 -0
  288. package/build/components/RatingInput/index.cjs +2 -0
  289. package/build/components/RatingInput/index.cjs.map +1 -0
  290. package/build/components/RatingInput/index.d.ts +21 -0
  291. package/build/components/RatingInput/index.js +75 -0
  292. package/build/components/RatingInput/index.js.map +1 -0
  293. package/build/components/RatingInput/style.css +1 -0
  294. package/build/components/ScrollArea/index.cjs +2 -0
  295. package/build/components/ScrollArea/index.cjs.map +1 -0
  296. package/build/components/ScrollArea/index.d.ts +23 -0
  297. package/build/components/ScrollArea/index.js +65 -0
  298. package/build/components/ScrollArea/index.js.map +1 -0
  299. package/build/components/ScrollArea/style.css +1 -0
  300. package/build/components/SectionHeader/index.cjs +2 -0
  301. package/build/components/SectionHeader/index.cjs.map +1 -0
  302. package/build/components/SectionHeader/index.d.ts +17 -0
  303. package/build/components/SectionHeader/index.js +25 -0
  304. package/build/components/SectionHeader/index.js.map +1 -0
  305. package/build/components/SectionHeader/style.css +1 -0
  306. package/build/components/SegmentedControl/index.cjs +2 -0
  307. package/build/components/SegmentedControl/index.cjs.map +1 -0
  308. package/build/components/SegmentedControl/index.d.ts +24 -0
  309. package/build/components/SegmentedControl/index.js +69 -0
  310. package/build/components/SegmentedControl/index.js.map +1 -0
  311. package/build/components/SegmentedControl/style.css +1 -0
  312. package/build/components/Select/index.cjs +2 -0
  313. package/build/components/Select/index.cjs.map +1 -0
  314. package/build/components/Select/index.d.ts +39 -0
  315. package/build/components/Select/index.js +179 -0
  316. package/build/components/Select/index.js.map +1 -0
  317. package/build/components/Select/style.css +1 -0
  318. package/build/components/Skeleton/index.cjs +2 -0
  319. package/build/components/Skeleton/index.cjs.map +1 -0
  320. package/build/components/Skeleton/index.d.ts +25 -0
  321. package/build/components/Skeleton/index.js +50 -0
  322. package/build/components/Skeleton/index.js.map +1 -0
  323. package/build/components/Skeleton/style.css +1 -0
  324. package/build/components/Spinner/index.cjs +2 -0
  325. package/build/components/Spinner/index.cjs.map +1 -0
  326. package/build/components/Spinner/index.d.ts +11 -0
  327. package/build/components/Spinner/index.js +15 -0
  328. package/build/components/Spinner/index.js.map +1 -0
  329. package/build/components/Spinner/style.css +1 -0
  330. package/build/components/Stat/index.cjs +2 -0
  331. package/build/components/Stat/index.cjs.map +1 -0
  332. package/build/components/Stat/index.d.ts +34 -0
  333. package/build/components/Stat/index.js +72 -0
  334. package/build/components/Stat/index.js.map +1 -0
  335. package/build/components/Stat/style.css +1 -0
  336. package/build/components/StatusDot/index.cjs +2 -0
  337. package/build/components/StatusDot/index.cjs.map +1 -0
  338. package/build/components/StatusDot/index.d.ts +23 -0
  339. package/build/components/StatusDot/index.js +23 -0
  340. package/build/components/StatusDot/index.js.map +1 -0
  341. package/build/components/StatusDot/style.css +1 -0
  342. package/build/components/Steps/index.cjs +2 -0
  343. package/build/components/Steps/index.cjs.map +1 -0
  344. package/build/components/Steps/index.d.ts +23 -0
  345. package/build/components/Steps/index.js +69 -0
  346. package/build/components/Steps/index.js.map +1 -0
  347. package/build/components/Steps/style.css +1 -0
  348. package/build/components/SummaryCard/index.cjs +2 -0
  349. package/build/components/SummaryCard/index.cjs.map +1 -0
  350. package/build/components/SummaryCard/index.d.ts +24 -0
  351. package/build/components/SummaryCard/index.js +33 -0
  352. package/build/components/SummaryCard/index.js.map +1 -0
  353. package/build/components/SummaryCard/style.css +1 -0
  354. package/build/components/Switch/index.cjs +2 -0
  355. package/build/components/Switch/index.cjs.map +1 -0
  356. package/build/components/Switch/index.d.ts +16 -0
  357. package/build/components/Switch/index.js +42 -0
  358. package/build/components/Switch/index.js.map +1 -0
  359. package/build/components/Switch/style.css +1 -0
  360. package/build/components/Table/index.cjs +2 -0
  361. package/build/components/Table/index.cjs.map +1 -0
  362. package/build/components/Table/index.d.ts +28 -0
  363. package/build/components/Table/index.js +58 -0
  364. package/build/components/Table/index.js.map +1 -0
  365. package/build/components/Table/style.css +1 -0
  366. package/build/components/TableCheckbox/index.cjs +2 -0
  367. package/build/components/TableCheckbox/index.cjs.map +1 -0
  368. package/build/components/TableCheckbox/index.d.ts +15 -0
  369. package/build/components/TableCheckbox/index.js +31 -0
  370. package/build/components/TableCheckbox/index.js.map +1 -0
  371. package/build/components/TableCheckbox/style.css +1 -0
  372. package/build/components/Tabs/index.cjs +2 -0
  373. package/build/components/Tabs/index.cjs.map +1 -0
  374. package/build/components/Tabs/index.d.ts +27 -0
  375. package/build/components/Tabs/index.js +102 -0
  376. package/build/components/Tabs/index.js.map +1 -0
  377. package/build/components/Tabs/style.css +1 -0
  378. package/build/components/TagInput/index.cjs +2 -0
  379. package/build/components/TagInput/index.cjs.map +1 -0
  380. package/build/components/TagInput/index.d.ts +25 -0
  381. package/build/components/TagInput/index.js +124 -0
  382. package/build/components/TagInput/index.js.map +1 -0
  383. package/build/components/TagInput/style.css +1 -0
  384. package/build/components/TextLink/index.cjs +2 -0
  385. package/build/components/TextLink/index.cjs.map +1 -0
  386. package/build/components/TextLink/index.d.ts +16 -0
  387. package/build/components/TextLink/index.js +32 -0
  388. package/build/components/TextLink/index.js.map +1 -0
  389. package/build/components/TextLink/style.css +1 -0
  390. package/build/components/Textarea/index.cjs +2 -0
  391. package/build/components/Textarea/index.cjs.map +1 -0
  392. package/build/components/Textarea/index.d.ts +20 -0
  393. package/build/components/Textarea/index.js +68 -0
  394. package/build/components/Textarea/index.js.map +1 -0
  395. package/build/components/Textarea/style.css +1 -0
  396. package/build/components/Tile/index.cjs +2 -0
  397. package/build/components/Tile/index.cjs.map +1 -0
  398. package/build/components/Tile/index.d.ts +19 -0
  399. package/build/components/Tile/index.js +24 -0
  400. package/build/components/Tile/index.js.map +1 -0
  401. package/build/components/Tile/style.css +1 -0
  402. package/build/components/Timeline/index.cjs +2 -0
  403. package/build/components/Timeline/index.cjs.map +1 -0
  404. package/build/components/Timeline/index.d.ts +24 -0
  405. package/build/components/Timeline/index.js +56 -0
  406. package/build/components/Timeline/index.js.map +1 -0
  407. package/build/components/Timeline/style.css +1 -0
  408. package/build/components/Toast/index.cjs +2 -0
  409. package/build/components/Toast/index.cjs.map +1 -0
  410. package/build/components/Toast/index.d.ts +43 -0
  411. package/build/components/Toast/index.js +136 -0
  412. package/build/components/Toast/index.js.map +1 -0
  413. package/build/components/Toast/style.css +1 -0
  414. package/build/components/ToastPortal/index.cjs +2 -0
  415. package/build/components/ToastPortal/index.cjs.map +1 -0
  416. package/build/components/ToastPortal/index.d.ts +8 -0
  417. package/build/components/ToastPortal/index.js +15 -0
  418. package/build/components/ToastPortal/index.js.map +1 -0
  419. package/build/components/Tooltip/index.cjs +2 -0
  420. package/build/components/Tooltip/index.cjs.map +1 -0
  421. package/build/components/Tooltip/index.d.ts +23 -0
  422. package/build/components/Tooltip/index.js +116 -0
  423. package/build/components/Tooltip/index.js.map +1 -0
  424. package/build/components/Tooltip/style.css +1 -0
  425. package/build/constants/breakpoint.constants.cjs +2 -0
  426. package/build/constants/breakpoint.constants.cjs.map +1 -0
  427. package/build/constants/breakpoint.constants.d.ts +8 -0
  428. package/build/constants/breakpoint.constants.js +9 -0
  429. package/build/constants/breakpoint.constants.js.map +1 -0
  430. package/build/constants/combobox.constants.cjs +2 -0
  431. package/build/constants/combobox.constants.cjs.map +1 -0
  432. package/build/constants/combobox.constants.d.ts +11 -0
  433. package/build/constants/combobox.constants.js +7 -0
  434. package/build/constants/combobox.constants.js.map +1 -0
  435. package/build/constants/scroll.constants.cjs +2 -0
  436. package/build/constants/scroll.constants.cjs.map +1 -0
  437. package/build/constants/scroll.constants.d.ts +7 -0
  438. package/build/constants/scroll.constants.js +5 -0
  439. package/build/constants/scroll.constants.js.map +1 -0
  440. package/build/enums/ui-size.enum.cjs +2 -0
  441. package/build/enums/ui-size.enum.cjs.map +1 -0
  442. package/build/enums/ui-size.enum.d.ts +9 -0
  443. package/build/enums/ui-size.enum.js +5 -0
  444. package/build/enums/ui-size.enum.js.map +1 -0
  445. package/build/enums/ui-variant.enum.cjs +2 -0
  446. package/build/enums/ui-variant.enum.cjs.map +1 -0
  447. package/build/enums/ui-variant.enum.d.ts +20 -0
  448. package/build/enums/ui-variant.enum.js +5 -0
  449. package/build/enums/ui-variant.enum.js.map +1 -0
  450. package/build/helpers/class-name.helper.cjs +2 -0
  451. package/build/helpers/class-name.helper.cjs.map +1 -0
  452. package/build/helpers/class-name.helper.d.ts +3 -0
  453. package/build/helpers/class-name.helper.js +10 -0
  454. package/build/helpers/class-name.helper.js.map +1 -0
  455. package/build/helpers/component.helper.cjs +2 -0
  456. package/build/helpers/component.helper.cjs.map +1 -0
  457. package/build/helpers/component.helper.d.ts +13 -0
  458. package/build/helpers/component.helper.js +5 -0
  459. package/build/helpers/component.helper.js.map +1 -0
  460. package/build/helpers/focus.helper.cjs +2 -0
  461. package/build/helpers/focus.helper.cjs.map +1 -0
  462. package/build/helpers/focus.helper.d.ts +42 -0
  463. package/build/helpers/focus.helper.js +65 -0
  464. package/build/helpers/focus.helper.js.map +1 -0
  465. package/build/helpers/label.helper.cjs +2 -0
  466. package/build/helpers/label.helper.cjs.map +1 -0
  467. package/build/helpers/label.helper.d.ts +11 -0
  468. package/build/helpers/label.helper.js +11 -0
  469. package/build/helpers/label.helper.js.map +1 -0
  470. package/build/helpers/portal.helper.cjs +2 -0
  471. package/build/helpers/portal.helper.cjs.map +1 -0
  472. package/build/helpers/portal.helper.d.ts +28 -0
  473. package/build/helpers/portal.helper.js +36 -0
  474. package/build/helpers/portal.helper.js.map +1 -0
  475. package/build/helpers/scroll.helper.cjs +2 -0
  476. package/build/helpers/scroll.helper.cjs.map +1 -0
  477. package/build/helpers/scroll.helper.d.ts +8 -0
  478. package/build/helpers/scroll.helper.js +11 -0
  479. package/build/helpers/scroll.helper.js.map +1 -0
  480. package/build/helpers/text.helper.cjs +2 -0
  481. package/build/helpers/text.helper.cjs.map +1 -0
  482. package/build/helpers/text.helper.d.ts +5 -0
  483. package/build/helpers/text.helper.js +6 -0
  484. package/build/helpers/text.helper.js.map +1 -0
  485. package/build/helpers/theme.helper.cjs +24 -0
  486. package/build/helpers/theme.helper.cjs.map +1 -0
  487. package/build/helpers/theme.helper.d.ts +49 -0
  488. package/build/helpers/theme.helper.js +75 -0
  489. package/build/helpers/theme.helper.js.map +1 -0
  490. package/build/hooks/useAnnounce.cjs +2 -0
  491. package/build/hooks/useAnnounce.cjs.map +1 -0
  492. package/build/hooks/useAnnounce.d.ts +4 -0
  493. package/build/hooks/useAnnounce.js +23 -0
  494. package/build/hooks/useAnnounce.js.map +1 -0
  495. package/build/hooks/useAsyncSearch.cjs +2 -0
  496. package/build/hooks/useAsyncSearch.cjs.map +1 -0
  497. package/build/hooks/useAsyncSearch.d.ts +11 -0
  498. package/build/hooks/useAsyncSearch.js +17 -0
  499. package/build/hooks/useAsyncSearch.js.map +1 -0
  500. package/build/hooks/useCopyFeedback.cjs +2 -0
  501. package/build/hooks/useCopyFeedback.cjs.map +1 -0
  502. package/build/hooks/useCopyFeedback.d.ts +10 -0
  503. package/build/hooks/useCopyFeedback.js +25 -0
  504. package/build/hooks/useCopyFeedback.js.map +1 -0
  505. package/build/hooks/useDismissOnEscape.cjs +2 -0
  506. package/build/hooks/useDismissOnEscape.cjs.map +1 -0
  507. package/build/hooks/useDismissOnEscape.d.ts +12 -0
  508. package/build/hooks/useDismissOnEscape.js +18 -0
  509. package/build/hooks/useDismissOnEscape.js.map +1 -0
  510. package/build/hooks/useListboxNavigation.cjs +2 -0
  511. package/build/hooks/useListboxNavigation.cjs.map +1 -0
  512. package/build/hooks/useListboxNavigation.d.ts +7 -0
  513. package/build/hooks/useListboxNavigation.js +53 -0
  514. package/build/hooks/useListboxNavigation.js.map +1 -0
  515. package/build/hooks/usePortalSurface.cjs +2 -0
  516. package/build/hooks/usePortalSurface.cjs.map +1 -0
  517. package/build/hooks/usePortalSurface.d.ts +25 -0
  518. package/build/hooks/usePortalSurface.js +19 -0
  519. package/build/hooks/usePortalSurface.js.map +1 -0
  520. package/build/hooks/usePositioning.cjs +2 -0
  521. package/build/hooks/usePositioning.cjs.map +1 -0
  522. package/build/hooks/usePositioning.d.ts +13 -0
  523. package/build/hooks/usePositioning.js +74 -0
  524. package/build/hooks/usePositioning.js.map +1 -0
  525. package/build/hooks/useScrollLock.cjs +2 -0
  526. package/build/hooks/useScrollLock.cjs.map +1 -0
  527. package/build/hooks/useScrollLock.d.ts +2 -0
  528. package/build/hooks/useScrollLock.js +34 -0
  529. package/build/hooks/useScrollLock.js.map +1 -0
  530. package/build/hooks/useSheetViewport.cjs +2 -0
  531. package/build/hooks/useSheetViewport.cjs.map +1 -0
  532. package/build/hooks/useSheetViewport.d.ts +6 -0
  533. package/build/hooks/useSheetViewport.js +29 -0
  534. package/build/hooks/useSheetViewport.js.map +1 -0
  535. package/build/hooks/useStickToBottom.cjs +2 -0
  536. package/build/hooks/useStickToBottom.cjs.map +1 -0
  537. package/build/hooks/useStickToBottom.d.ts +12 -0
  538. package/build/hooks/useStickToBottom.js +39 -0
  539. package/build/hooks/useStickToBottom.js.map +1 -0
  540. package/build/hooks/useUiTheme.cjs +2 -0
  541. package/build/hooks/useUiTheme.cjs.map +1 -0
  542. package/build/hooks/useUiTheme.d.ts +7 -0
  543. package/build/hooks/useUiTheme.js +36 -0
  544. package/build/hooks/useUiTheme.js.map +1 -0
  545. package/build/hooks/useUiTokens.cjs +2 -0
  546. package/build/hooks/useUiTokens.cjs.map +1 -0
  547. package/build/hooks/useUiTokens.d.ts +11 -0
  548. package/build/hooks/useUiTokens.js +39 -0
  549. package/build/hooks/useUiTokens.js.map +1 -0
  550. package/build/hooks/useVirtualList.cjs +2 -0
  551. package/build/hooks/useVirtualList.cjs.map +1 -0
  552. package/build/hooks/useVirtualList.d.ts +13 -0
  553. package/build/hooks/useVirtualList.js +41 -0
  554. package/build/hooks/useVirtualList.js.map +1 -0
  555. package/build/index.cjs +2 -0
  556. package/build/index.cjs.map +1 -0
  557. package/build/index.d.ts +95 -0
  558. package/build/index.js +207 -0
  559. package/build/index.js.map +1 -0
  560. package/build/scss/_colors.generated.scss +119 -0
  561. package/build/scss/_index.scss +6 -0
  562. package/build/scss/_metrics.generated.scss +49 -0
  563. package/build/scss/_mixins.scss +710 -0
  564. package/build/scss/_variables.scss +51 -0
  565. package/build/styles/base.d.ts +0 -0
  566. package/build/styles.css +133 -0
  567. package/build/theme/UiProvider.cjs +2 -0
  568. package/build/theme/UiProvider.cjs.map +1 -0
  569. package/build/theme/UiProvider.d.ts +22 -0
  570. package/build/theme/UiProvider.js +30 -0
  571. package/build/theme/UiProvider.js.map +1 -0
  572. package/build/theme/UiThemeScript.cjs +2 -0
  573. package/build/theme/UiThemeScript.cjs.map +1 -0
  574. package/build/theme/UiThemeScript.d.ts +19 -0
  575. package/build/theme/UiThemeScript.js +8 -0
  576. package/build/theme/UiThemeScript.js.map +1 -0
  577. package/build/theme/context.cjs +2 -0
  578. package/build/theme/context.cjs.map +1 -0
  579. package/build/theme/context.d.ts +5 -0
  580. package/build/theme/context.js +8 -0
  581. package/build/theme/context.js.map +1 -0
  582. package/build/theme/initUi.cjs +2 -0
  583. package/build/theme/initUi.cjs.map +1 -0
  584. package/build/theme/initUi.d.ts +7 -0
  585. package/build/theme/initUi.js +10 -0
  586. package/build/theme/initUi.js.map +1 -0
  587. package/build/theme/palette.cjs +2 -0
  588. package/build/theme/palette.cjs.map +1 -0
  589. package/build/theme/palette.d.ts +219 -0
  590. package/build/theme/palette.js +148 -0
  591. package/build/theme/palette.js.map +1 -0
  592. package/build/theme/tokens.cjs +2 -0
  593. package/build/theme/tokens.cjs.map +1 -0
  594. package/build/theme/tokens.d.ts +225 -0
  595. package/build/theme/tokens.js +384 -0
  596. package/build/theme/tokens.js.map +1 -0
  597. package/build/types/charts/AreaChart/index.d.ts +14 -0
  598. package/build/types/charts/BarChart/index.d.ts +16 -0
  599. package/build/types/charts/BoxPlot/index.d.ts +43 -0
  600. package/build/types/charts/ComposedChart/index.d.ts +16 -0
  601. package/build/types/charts/Heatmap/index.d.ts +30 -0
  602. package/build/types/charts/Histogram/index.d.ts +29 -0
  603. package/build/types/charts/LineChart/index.d.ts +14 -0
  604. package/build/types/charts/PieChart/index.d.ts +36 -0
  605. package/build/types/charts/RadarChart/index.d.ts +40 -0
  606. package/build/types/charts/ScatterPlot/index.d.ts +41 -0
  607. package/build/types/charts/core/CartesianChart.d.ts +43 -0
  608. package/build/types/charts/core/ChartFrame.d.ts +55 -0
  609. package/build/types/charts/core/axes.d.ts +37 -0
  610. package/build/types/charts/core/cartesian.d.ts +80 -0
  611. package/build/types/charts/core/format.d.ts +19 -0
  612. package/build/types/charts/core/margins.d.ts +9 -0
  613. package/build/types/charts/core/palette.d.ts +13 -0
  614. package/build/types/charts/core/path.d.ts +24 -0
  615. package/build/types/charts/core/scale.d.ts +40 -0
  616. package/build/types/charts/core/series.d.ts +11 -0
  617. package/build/types/charts/core/spatial.d.ts +12 -0
  618. package/build/types/charts/core/stats.d.ts +34 -0
  619. package/build/types/charts/core/types.d.ts +31 -0
  620. package/build/types/charts/core/useChartWidth.d.ts +7 -0
  621. package/build/types/charts/index.d.ts +21 -0
  622. package/build/types/chat/ActionList/index.d.ts +46 -0
  623. package/build/types/chat/AppBar/index.d.ts +21 -0
  624. package/build/types/chat/ChatMessage/index.d.ts +24 -0
  625. package/build/types/chat/ChatThread/index.d.ts +24 -0
  626. package/build/types/chat/Citation/index.d.ts +15 -0
  627. package/build/types/chat/CodeBlock/format.d.ts +7 -0
  628. package/build/types/chat/CodeBlock/grammars.d.ts +44 -0
  629. package/build/types/chat/CodeBlock/highlight.d.ts +22 -0
  630. package/build/types/chat/CodeBlock/index.d.ts +33 -0
  631. package/build/types/chat/DescriptionList/index.d.ts +16 -0
  632. package/build/types/chat/Legend/index.d.ts +20 -0
  633. package/build/types/chat/MessageActions/index.d.ts +21 -0
  634. package/build/types/chat/PromptInput/index.d.ts +47 -0
  635. package/build/types/chat/PromptSuggestions/index.d.ts +25 -0
  636. package/build/types/chat/Prose/index.d.ts +15 -0
  637. package/build/types/chat/ReasoningBlock/index.d.ts +24 -0
  638. package/build/types/chat/ReasoningText/index.d.ts +14 -0
  639. package/build/types/chat/SegmentBar/index.d.ts +46 -0
  640. package/build/types/chat/SourceList/index.d.ts +25 -0
  641. package/build/types/chat/TerminalOutput/index.d.ts +25 -0
  642. package/build/types/chat/ToolCall/index.d.ts +41 -0
  643. package/build/types/chat/index.d.ts +26 -0
  644. package/build/types/combobox.type.d.ts +49 -0
  645. package/build/types/common-element-props.type.d.ts +8 -0
  646. package/build/types/helpers/class-name.helper.d.ts +3 -0
  647. package/build/types/helpers/component.helper.d.ts +13 -0
  648. package/build/types/helpers/label.helper.d.ts +12 -0
  649. package/build/types/hook.type.d.ts +36 -0
  650. package/build/types/link.type.d.ts +14 -0
  651. package/build/types/positioning.type.d.ts +38 -0
  652. package/build/types/theme/palette.d.ts +219 -0
  653. package/build/types/theme/tokens.d.ts +225 -0
  654. package/build/types/theme.type.d.ts +223 -0
  655. package/build/types/types/common-element-props.type.d.ts +8 -0
  656. package/build/types/types/link.type.d.ts +14 -0
  657. package/build/types/types/theme.type.d.ts +223 -0
  658. package/package.json +487 -4
package/build/base.css ADDED
@@ -0,0 +1 @@
1
+ @layer ui{:root{--ui-radius-xs: 4px;--ui-radius-sm: 6px;--ui-radius-md: 8px;--ui-radius-lg: 12px;--ui-radius-xl: 16px;--ui-radius-pill: 999px;--ui-type-scale: 1;--ui-space-scale: 1;--ui-space-0: 0;--ui-space-1: 4px;--ui-space-2: 8px;--ui-space-3: calc(clamp(10px, .5761rem + .2174vw, 12px) * var(--ui-space-scale));--ui-space-4: calc(clamp(13px, .7391rem + .3261vw, 16px) * var(--ui-space-scale));--ui-space-5: calc(clamp(17px, .8913rem + .7609vw, 24px) * var(--ui-space-scale));--ui-space-6: calc(clamp(22px, 1.1304rem + 1.087vw, 32px) * var(--ui-space-scale));--ui-space-7: calc(clamp(30px, 1.4348rem + 1.9565vw, 48px) * var(--ui-space-scale));--ui-space-8: calc(clamp(40px, 1.913rem + 2.6087vw, 64px) * var(--ui-space-scale));--ui-space-9: calc(clamp(52px, 2.1739rem + 4.7826vw, 96px) * var(--ui-space-scale));--ui-font-size-2xs: calc(clamp(11px, .663rem + .1087vw, 12px) * var(--ui-type-scale));--ui-font-size-xs: calc(clamp(12px, .7255rem + .1087vw, 13px) * var(--ui-type-scale));--ui-font-size-sm: calc(clamp(13.5px, .8071rem + .163vw, 15px) * var(--ui-type-scale));--ui-font-size-base: calc(clamp(15px, .913rem + .1087vw, 16px) * var(--ui-type-scale));--ui-font-size-body: calc(clamp(16px, .9755rem + .1087vw, 17px) * var(--ui-type-scale));--ui-font-size-lg: calc(clamp(17px, 1.0136rem + .2174vw, 19px) * var(--ui-type-scale));--ui-font-size-xl: calc(clamp(19.5px, 1.1332rem + .3804vw, 23px) * var(--ui-type-scale));--ui-font-size-2xl: calc(clamp(23px, 1.2908rem + .6522vw, 29px) * var(--ui-type-scale));--ui-font-size-3xl: calc(clamp(26px, 1.356rem + 1.1957vw, 37px) * var(--ui-type-scale));--ui-font-size-4xl: calc(clamp(30px, 1.4592rem + 1.8478vw, 47px) * var(--ui-type-scale));--ui-font-size-control: max(16px, clamp(15px, .913rem + .1087vw, 16px));--ui-leading-none: 1;--ui-leading-tight: 1.16;--ui-leading-snug: 1.35;--ui-leading-normal: 1.62;--ui-leading-relaxed: 1.75;--ui-icon-xs: 14px;--ui-icon-sm: 16px;--ui-icon-md: 18px;--ui-icon-lg: 20px;--ui-icon-xl: 24px;--ui-duration-instant: 80ms;--ui-duration-fast: .14s;--ui-duration-normal: .2s;--ui-duration-slow: .32s;--ui-ease-out: cubic-bezier(.22, 1, .36, 1);--ui-ease-in-out: cubic-bezier(.4, 0, .2, 1);--ui-ease-spring: cubic-bezier(.34, 1.4, .64, 1);--ui-duration-spin: .7s;--ui-duration-shimmer: 1.4s;--ui-duration-pulse: 1.6s;--ui-font-heading: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--ui-font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--ui-font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;--ui-header-height: 0px;--ui-sheet-inset-bottom: 0px;--ui-page: #faf9f5;--ui-surface: #fffefc;--ui-surface-2: #efe9de;--ui-surface-3: #e8e0d3;--ui-surface-inset: #f5f0e8;--ui-border: #ded8d0;--ui-border-strong: #d0c8bd;--ui-text: #141413;--ui-text-2: #4d4b46;--ui-text-3: #67655e;--ui-shell: #181715;--ui-shell-2: #1f1e1b;--ui-shell-3: #2a2925;--ui-on-shell: #faf9f5;--ui-on-shell-2: #b4b1a9;--ui-on-shell-danger: #f2a099;--ui-shell-line: #33312d;--ui-action: #00322a;--ui-action-hover: #154c3d;--ui-action-active: #225f4d;--ui-on-action: #fffefc;--ui-action-line: #00322a;--ui-action-soft: #d0c8bd;--ui-on-action-soft: #3d3d3a;--ui-cart: #1ba055;--ui-cart-hover: #20b360;--ui-cart-active: #19934e;--ui-cart-soft: #84cb97;--ui-on-cart: #021407;--ui-selected: #141413;--ui-selected-hover: #252523;--ui-selected-active: #3d3d3a;--ui-on-selected: #faf9f5;--ui-selected-tint: #e8e0d3;--ui-selected-line: #141413;--ui-link: #17704e;--ui-link-hover: #176446;--ui-ok-bg: #c2f6cf;--ui-ok-fg: #166e3a;--ui-ok-line: #7eda99;--ui-warn-bg: #f9dcb9;--ui-warn-fg: #7c5212;--ui-warn-line: #e8b97f;--ui-off-bg: #dcdad6;--ui-off-fg: #5b5851;--ui-off-line: #c5c2bb;--ui-bad-bg: #f9d8d5;--ui-bad-fg: #a91922;--ui-bad-line: #e9b3ae;--ui-oem-bg: #a7f7c8;--ui-oem-fg: #0c5d3a;--ui-oem-line: #6ace97;--ui-alt-bg: #e5dcf9;--ui-alt-fg: #751dc8;--ui-alt-line: #c9bae7;--ui-sale-bg: #c2f6cf;--ui-sale-fg: #166e3a;--ui-red-accent: #de1b2c;--ui-green-accent: #18904c;--ui-green-accent-hover: #12783e;--ui-on-green: #021407;--ui-star: #846310;--ui-danger-solid: #c21625;--ui-danger-solid-hover: #a2111d;--ui-on-danger: #fffefc;--ui-nav-bg: #faf9f5;--ui-nav-bg-2: #efe9de;--ui-nav-fg: #141413;--ui-nav-fg-2: #4d4b46;--ui-nav-fg-3: #67655e;--ui-nav-line: #e4dfd8;--ui-nav-line-strong: #d0c8bd;--ui-nav-hover: #efe9de;--ui-footer-bg: #efe9de;--ui-band-bg: #00322a;--ui-band-fg: #e9f7ed;--ui-band-fg-2: #8abaa1;--ui-band-fg-3: #79a790;--ui-band-accent: #43ff9c;--ui-band-line: #143f34;--ui-band-hover: rgba(255, 254, 252, .07);--ui-shadow-xs: 0 1px 2px rgba(20, 20, 19, .05);--ui-shadow-sm: 0 1px 2px rgba(20, 20, 19, .05), 0 1px 3px rgba(20, 20, 19, .04);--ui-shadow-md: 0 2px 4px rgba(20, 20, 19, .04), 0 6px 16px rgba(20, 20, 19, .07);--ui-shadow-lg: 0 4px 8px rgba(20, 20, 19, .05), 0 16px 32px rgba(20, 20, 19, .1);--ui-shadow-xl: 0 8px 16px rgba(20, 20, 19, .06), 0 28px 56px rgba(20, 20, 19, .13);--ui-shadow-up: 0 -2px 4px rgba(20, 20, 19, .03), 0 -8px 24px rgba(20, 20, 19, .08);--ui-ring: 0 0 0 3px rgba(31, 123, 86, .28);--ui-ring-color: #1f7b56;--ui-ring-danger: 0 0 0 3px rgba(194, 22, 37, .24);--ui-ring-ok: 0 0 0 4px rgba(22, 110, 58, .16);--ui-scrim: rgba(20, 20, 19, .6);--ui-scrim-soft: rgba(20, 20, 19, .32);--ui-glass: rgba(255, 254, 252, .92);--ui-glass-solid: #fffefc;--ui-on-scrim: #fffefc;--ui-skeleton-a: #efe9de;--ui-skeleton-b: #faf9f5;--ui-track: rgba(20, 20, 19, .12);--ui-media-bg: #efe9de;--ui-glow-1: rgba(67, 255, 156, .1);--ui-glow-2: rgba(0, 50, 42, .06);--ui-glow-cart: rgba(27, 160, 85, .09);--ui-cat-1: #2774cd;--ui-cat-2: #b75225;--ui-cat-3: #2c8761;--ui-cat-4: #8b7126;--ui-cat-5: #c02f8f;--ui-series-1: #252523;--ui-series-2: #8f3beb;color-scheme:light}@media (prefers-color-scheme: dark){:root:not([data-ui-theme]){--ui-page: #141413;--ui-surface: #181715;--ui-surface-2: #1f1e1b;--ui-surface-3: #2a2925;--ui-surface-inset: #0e0e0d;--ui-border: #33312d;--ui-border-strong: #4a4843;--ui-text: #faf9f5;--ui-text-2: #b4b1a9;--ui-text-3: #8e8b82;--ui-shell: #181715;--ui-shell-2: #1f1e1b;--ui-shell-3: #2a2925;--ui-on-shell: #faf9f5;--ui-on-shell-2: #b4b1a9;--ui-on-shell-danger: #f2a099;--ui-shell-line: #33312d;--ui-action: #00322a;--ui-action-hover: #154c3d;--ui-action-active: #225f4d;--ui-on-action: #fffefc;--ui-action-line: #43ff9c;--ui-action-soft: #4a4843;--ui-on-action-soft: #d0c8bd;--ui-cart: #37c971;--ui-cart-hover: #4cdd82;--ui-cart-active: #30b464;--ui-cart-soft: #466e51;--ui-on-cart: #021407;--ui-selected: #faf9f5;--ui-selected-hover: #efe9de;--ui-selected-active: #e8e0d3;--ui-on-selected: #141413;--ui-selected-tint: #2a2925;--ui-selected-line: #faf9f5;--ui-link: #60d4a1;--ui-link-hover: #76eab5;--ui-ok-bg: #132d1b;--ui-ok-fg: #56d682;--ui-ok-line: #2c5137;--ui-warn-bg: #322311;--ui-warn-fg: #eeaa4c;--ui-warn-line: #594327;--ui-off-bg: #2f2e2a;--ui-off-fg: #bcb9b0;--ui-off-line: #494743;--ui-bad-bg: #431514;--ui-bad-fg: #f2a099;--ui-bad-line: #732f2c;--ui-oem-bg: #0f291b;--ui-oem-fg: #43c485;--ui-oem-line: #224b35;--ui-alt-bg: #2e184c;--ui-alt-fg: #c3aaf1;--ui-alt-line: #533281;--ui-sale-bg: #132d1b;--ui-sale-fg: #56d682;--ui-red-accent: #f64f4e;--ui-green-accent: #37c971;--ui-green-accent-hover: #4cdd82;--ui-on-green: #021407;--ui-star: #ebb737;--ui-danger-solid: #f53039;--ui-danger-solid-hover: #f26a64;--ui-on-danger: #1b0102;--ui-nav-bg: #141413;--ui-nav-bg-2: #1f1e1b;--ui-nav-fg: #faf9f5;--ui-nav-fg-2: #b4b1a9;--ui-nav-fg-3: #8e8b82;--ui-nav-line: #33312d;--ui-nav-line-strong: #4a4843;--ui-nav-hover: rgba(255, 254, 252, .07);--ui-footer-bg: #181715;--ui-band-bg: #00322a;--ui-band-fg: #e9f7ed;--ui-band-fg-2: #8abaa1;--ui-band-fg-3: #79a790;--ui-band-accent: #43ff9c;--ui-band-line: #143f34;--ui-band-hover: rgba(255, 254, 252, .07);--ui-shadow-xs: 0 1px 2px rgba(14, 14, 13, .4);--ui-shadow-sm: 0 1px 2px rgba(14, 14, 13, .4), 0 1px 3px rgba(14, 14, 13, .3);--ui-shadow-md: 0 2px 4px rgba(14, 14, 13, .35), 0 6px 16px rgba(14, 14, 13, .45);--ui-shadow-lg: 0 4px 8px rgba(14, 14, 13, .4), 0 16px 32px rgba(14, 14, 13, .55);--ui-shadow-xl: 0 8px 16px rgba(14, 14, 13, .45), 0 28px 56px rgba(14, 14, 13, .6);--ui-shadow-up: 0 -2px 4px rgba(14, 14, 13, .3), 0 -8px 24px rgba(14, 14, 13, .45);--ui-ring: 0 0 0 3px rgba(96, 212, 161, .36);--ui-ring-color: #60d4a1;--ui-ring-danger: 0 0 0 3px rgba(245, 48, 57, .32);--ui-ring-ok: 0 0 0 4px rgba(86, 214, 130, .2);--ui-scrim: rgba(14, 14, 13, .68);--ui-scrim-soft: rgba(14, 14, 13, .45);--ui-glass: rgba(31, 30, 27, .92);--ui-glass-solid: #1f1e1b;--ui-on-scrim: #fffefc;--ui-skeleton-a: #1f1e1b;--ui-skeleton-b: #2a2925;--ui-track: rgba(255, 254, 252, .14);--ui-media-bg: #1f1e1b;--ui-glow-1: rgba(67, 255, 156, .2);--ui-glow-2: rgba(0, 50, 42, .12);--ui-glow-cart: rgba(55, 201, 113, .12);--ui-cat-1: #7eaeeb;--ui-cat-2: #ec8f6b;--ui-cat-3: #58c393;--ui-cat-4: #c7a74f;--ui-cat-5: #ed81c1;--ui-series-1: #e8e0d3;--ui-series-2: #b699eb;color-scheme:dark}}:root[data-ui-theme=dark]{--ui-page: #141413;--ui-surface: #181715;--ui-surface-2: #1f1e1b;--ui-surface-3: #2a2925;--ui-surface-inset: #0e0e0d;--ui-border: #33312d;--ui-border-strong: #4a4843;--ui-text: #faf9f5;--ui-text-2: #b4b1a9;--ui-text-3: #8e8b82;--ui-shell: #181715;--ui-shell-2: #1f1e1b;--ui-shell-3: #2a2925;--ui-on-shell: #faf9f5;--ui-on-shell-2: #b4b1a9;--ui-on-shell-danger: #f2a099;--ui-shell-line: #33312d;--ui-action: #00322a;--ui-action-hover: #154c3d;--ui-action-active: #225f4d;--ui-on-action: #fffefc;--ui-action-line: #43ff9c;--ui-action-soft: #4a4843;--ui-on-action-soft: #d0c8bd;--ui-cart: #37c971;--ui-cart-hover: #4cdd82;--ui-cart-active: #30b464;--ui-cart-soft: #466e51;--ui-on-cart: #021407;--ui-selected: #faf9f5;--ui-selected-hover: #efe9de;--ui-selected-active: #e8e0d3;--ui-on-selected: #141413;--ui-selected-tint: #2a2925;--ui-selected-line: #faf9f5;--ui-link: #60d4a1;--ui-link-hover: #76eab5;--ui-ok-bg: #132d1b;--ui-ok-fg: #56d682;--ui-ok-line: #2c5137;--ui-warn-bg: #322311;--ui-warn-fg: #eeaa4c;--ui-warn-line: #594327;--ui-off-bg: #2f2e2a;--ui-off-fg: #bcb9b0;--ui-off-line: #494743;--ui-bad-bg: #431514;--ui-bad-fg: #f2a099;--ui-bad-line: #732f2c;--ui-oem-bg: #0f291b;--ui-oem-fg: #43c485;--ui-oem-line: #224b35;--ui-alt-bg: #2e184c;--ui-alt-fg: #c3aaf1;--ui-alt-line: #533281;--ui-sale-bg: #132d1b;--ui-sale-fg: #56d682;--ui-red-accent: #f64f4e;--ui-green-accent: #37c971;--ui-green-accent-hover: #4cdd82;--ui-on-green: #021407;--ui-star: #ebb737;--ui-danger-solid: #f53039;--ui-danger-solid-hover: #f26a64;--ui-on-danger: #1b0102;--ui-nav-bg: #141413;--ui-nav-bg-2: #1f1e1b;--ui-nav-fg: #faf9f5;--ui-nav-fg-2: #b4b1a9;--ui-nav-fg-3: #8e8b82;--ui-nav-line: #33312d;--ui-nav-line-strong: #4a4843;--ui-nav-hover: rgba(255, 254, 252, .07);--ui-footer-bg: #181715;--ui-band-bg: #00322a;--ui-band-fg: #e9f7ed;--ui-band-fg-2: #8abaa1;--ui-band-fg-3: #79a790;--ui-band-accent: #43ff9c;--ui-band-line: #143f34;--ui-band-hover: rgba(255, 254, 252, .07);--ui-shadow-xs: 0 1px 2px rgba(14, 14, 13, .4);--ui-shadow-sm: 0 1px 2px rgba(14, 14, 13, .4), 0 1px 3px rgba(14, 14, 13, .3);--ui-shadow-md: 0 2px 4px rgba(14, 14, 13, .35), 0 6px 16px rgba(14, 14, 13, .45);--ui-shadow-lg: 0 4px 8px rgba(14, 14, 13, .4), 0 16px 32px rgba(14, 14, 13, .55);--ui-shadow-xl: 0 8px 16px rgba(14, 14, 13, .45), 0 28px 56px rgba(14, 14, 13, .6);--ui-shadow-up: 0 -2px 4px rgba(14, 14, 13, .3), 0 -8px 24px rgba(14, 14, 13, .45);--ui-ring: 0 0 0 3px rgba(96, 212, 161, .36);--ui-ring-color: #60d4a1;--ui-ring-danger: 0 0 0 3px rgba(245, 48, 57, .32);--ui-ring-ok: 0 0 0 4px rgba(86, 214, 130, .2);--ui-scrim: rgba(14, 14, 13, .68);--ui-scrim-soft: rgba(14, 14, 13, .45);--ui-glass: rgba(31, 30, 27, .92);--ui-glass-solid: #1f1e1b;--ui-on-scrim: #fffefc;--ui-skeleton-a: #1f1e1b;--ui-skeleton-b: #2a2925;--ui-track: rgba(255, 254, 252, .14);--ui-media-bg: #1f1e1b;--ui-glow-1: rgba(67, 255, 156, .2);--ui-glow-2: rgba(0, 50, 42, .12);--ui-glow-cart: rgba(55, 201, 113, .12);--ui-cat-1: #7eaeeb;--ui-cat-2: #ec8f6b;--ui-cat-3: #58c393;--ui-cat-4: #c7a74f;--ui-cat-5: #ed81c1;--ui-series-1: #e8e0d3;--ui-series-2: #b699eb;color-scheme:dark}:root[data-ui-theme=light]{--ui-page: #faf9f5;--ui-surface: #fffefc;--ui-surface-2: #efe9de;--ui-surface-3: #e8e0d3;--ui-surface-inset: #f5f0e8;--ui-border: #ded8d0;--ui-border-strong: #d0c8bd;--ui-text: #141413;--ui-text-2: #4d4b46;--ui-text-3: #67655e;--ui-shell: #181715;--ui-shell-2: #1f1e1b;--ui-shell-3: #2a2925;--ui-on-shell: #faf9f5;--ui-on-shell-2: #b4b1a9;--ui-on-shell-danger: #f2a099;--ui-shell-line: #33312d;--ui-action: #00322a;--ui-action-hover: #154c3d;--ui-action-active: #225f4d;--ui-on-action: #fffefc;--ui-action-line: #00322a;--ui-action-soft: #d0c8bd;--ui-on-action-soft: #3d3d3a;--ui-cart: #1ba055;--ui-cart-hover: #20b360;--ui-cart-active: #19934e;--ui-cart-soft: #84cb97;--ui-on-cart: #021407;--ui-selected: #141413;--ui-selected-hover: #252523;--ui-selected-active: #3d3d3a;--ui-on-selected: #faf9f5;--ui-selected-tint: #e8e0d3;--ui-selected-line: #141413;--ui-link: #17704e;--ui-link-hover: #176446;--ui-ok-bg: #c2f6cf;--ui-ok-fg: #166e3a;--ui-ok-line: #7eda99;--ui-warn-bg: #f9dcb9;--ui-warn-fg: #7c5212;--ui-warn-line: #e8b97f;--ui-off-bg: #dcdad6;--ui-off-fg: #5b5851;--ui-off-line: #c5c2bb;--ui-bad-bg: #f9d8d5;--ui-bad-fg: #a91922;--ui-bad-line: #e9b3ae;--ui-oem-bg: #a7f7c8;--ui-oem-fg: #0c5d3a;--ui-oem-line: #6ace97;--ui-alt-bg: #e5dcf9;--ui-alt-fg: #751dc8;--ui-alt-line: #c9bae7;--ui-sale-bg: #c2f6cf;--ui-sale-fg: #166e3a;--ui-red-accent: #de1b2c;--ui-green-accent: #18904c;--ui-green-accent-hover: #12783e;--ui-on-green: #021407;--ui-star: #846310;--ui-danger-solid: #c21625;--ui-danger-solid-hover: #a2111d;--ui-on-danger: #fffefc;--ui-nav-bg: #faf9f5;--ui-nav-bg-2: #efe9de;--ui-nav-fg: #141413;--ui-nav-fg-2: #4d4b46;--ui-nav-fg-3: #67655e;--ui-nav-line: #e4dfd8;--ui-nav-line-strong: #d0c8bd;--ui-nav-hover: #efe9de;--ui-footer-bg: #efe9de;--ui-band-bg: #00322a;--ui-band-fg: #e9f7ed;--ui-band-fg-2: #8abaa1;--ui-band-fg-3: #79a790;--ui-band-accent: #43ff9c;--ui-band-line: #143f34;--ui-band-hover: rgba(255, 254, 252, .07);--ui-shadow-xs: 0 1px 2px rgba(20, 20, 19, .05);--ui-shadow-sm: 0 1px 2px rgba(20, 20, 19, .05), 0 1px 3px rgba(20, 20, 19, .04);--ui-shadow-md: 0 2px 4px rgba(20, 20, 19, .04), 0 6px 16px rgba(20, 20, 19, .07);--ui-shadow-lg: 0 4px 8px rgba(20, 20, 19, .05), 0 16px 32px rgba(20, 20, 19, .1);--ui-shadow-xl: 0 8px 16px rgba(20, 20, 19, .06), 0 28px 56px rgba(20, 20, 19, .13);--ui-shadow-up: 0 -2px 4px rgba(20, 20, 19, .03), 0 -8px 24px rgba(20, 20, 19, .08);--ui-ring: 0 0 0 3px rgba(31, 123, 86, .28);--ui-ring-color: #1f7b56;--ui-ring-danger: 0 0 0 3px rgba(194, 22, 37, .24);--ui-ring-ok: 0 0 0 4px rgba(22, 110, 58, .16);--ui-scrim: rgba(20, 20, 19, .6);--ui-scrim-soft: rgba(20, 20, 19, .32);--ui-glass: rgba(255, 254, 252, .92);--ui-glass-solid: #fffefc;--ui-on-scrim: #fffefc;--ui-skeleton-a: #efe9de;--ui-skeleton-b: #faf9f5;--ui-track: rgba(20, 20, 19, .12);--ui-media-bg: #efe9de;--ui-glow-1: rgba(67, 255, 156, .1);--ui-glow-2: rgba(0, 50, 42, .06);--ui-glow-cart: rgba(27, 160, 85, .09);--ui-cat-1: #2774cd;--ui-cat-2: #b75225;--ui-cat-3: #2c8761;--ui-cat-4: #8b7126;--ui-cat-5: #c02f8f;--ui-series-1: #252523;--ui-series-2: #8f3beb;color-scheme:light}:root[data-ui-density=compact]{--ui-type-scale: .93;--ui-space-scale: .88}@media (max-width: 640px){:root{--ui-radius-lg: 10px;--ui-radius-xl: 13px;--ui-icon-xs: 13px;--ui-icon-sm: 15px;--ui-icon-md: 16px;--ui-icon-lg: 18px;--ui-icon-xl: 20px;--ui-leading-tight: 1.18;--ui-leading-snug: 1.38;--ui-leading-normal: 1.52;--ui-leading-relaxed: 1.62}}[class^=ui-],[class*=" ui-"],[class^=ui-]:before,[class^=ui-]:after,[class*=" ui-"]:before,[class*=" ui-"]:after{box-sizing:border-box}@keyframes ui-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes ui-spin{to{transform:rotate(360deg)}}@keyframes ui-fade-in-up{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes ui-fade-in-down{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@keyframes ui-fade-in{0%{opacity:0}to{opacity:1}}@keyframes ui-pulse{0%{box-shadow:0 0 color-mix(in srgb,currentColor 55%,transparent)}to{box-shadow:0 0 0 6px color-mix(in srgb,currentColor 0%,transparent)}}@keyframes ui-slide-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}:root{--ui-anim-shimmer: ui-shimmer;--ui-anim-spin: ui-spin;--ui-anim-fade-in-up: ui-fade-in-up;--ui-anim-fade-in-down: ui-fade-in-down;--ui-anim-fade-in: ui-fade-in;--ui-anim-slide-up: ui-slide-up;--ui-anim-pulse: ui-pulse;--ui-anim-progress-slide: ui-progress-slide}.ui-theme-switching,.ui-theme-switching *,.ui-theme-switching *:before,.ui-theme-switching *:after{transition:none!important}.ui-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}@media (forced-colors: active){:focus-visible{outline:3px solid Highlight;outline-offset:2px}[class*=badge],[class*=alert],[class*=chip],[class*=panel],[class*=card],[class*=tile]{border:1px solid ButtonBorder}[aria-selected=true],[aria-current=page],[aria-pressed=true],[class*=--selected],[class*=--active]{background-color:Highlight;color:HighlightText;forced-color-adjust:none}:disabled,[aria-disabled=true]{color:GrayText;border-color:GrayText}input[type=checkbox],input[type=radio],input[type=range]{forced-color-adjust:auto}}@media (prefers-contrast: more){:root{--ui-border: var(--ui-border-strong);--ui-nav-line: var(--ui-nav-line-strong);--ui-text-3: var(--ui-text-2);--ui-nav-fg-3: var(--ui-nav-fg-2)}}@media (prefers-reduced-transparency: reduce){:root{--ui-glass: var(--ui-glass-solid);--ui-scrim: color-mix(in srgb, var(--ui-shell) 92%, transparent);--ui-scrim-soft: color-mix(in srgb, var(--ui-shell) 78%, transparent)}:root[data-ui-theme=dark]{--ui-scrim: color-mix(in srgb, var(--ui-surface-inset) 94%, transparent);--ui-scrim-soft: color-mix(in srgb, var(--ui-surface-inset) 82%, transparent)}}@keyframes ui-progress-slide{0%{translate:-100% 0}to{translate:250% 0}}}
@@ -0,0 +1,2 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),f=require("react"),dt=require("@handijit/ui"),at=(t,s)=>Object.assign(t,{displayName:s}),de="ui-axis-AqLAe",xe="ui-axis__label-dHxpo",fe="ui-axis__grid-RVxXW",pe="ui-axis__baseline-jhG2z",st={axis:de,axis__label:xe,axis__grid:fe,axis__baseline:pe},wt=(t,s,e)=>{const n=e(t);return t.map((c,i)=>({position:s(c),label:n[i]}))},le=6.4,ht=t=>t.length*le,ie=(t,s=8)=>{if(t.length<2)return[...t];const e=Math.max(...t.map(i=>ht(i.label))),n=Math.abs(t[1].position-t[0].position),c=n<=0?1:Math.max(1,Math.ceil((e+s)/n));return t.filter((i,m)=>m%c===0)},St=(t,s)=>{const e=Math.max(1,Math.floor(s/le));return t.length<=e?t:`${t.slice(0,Math.max(1,e-1))}…`},ut=({area:t,ticks:s,side:e,hasGrid:n=!1})=>l.jsx("g",{className:st.axis,"aria-hidden":!0,children:s.map(c=>e==="bottom"?l.jsxs("g",{children:[n&&l.jsx("line",{className:st.axis__grid,x1:c.position,x2:c.position,y1:t.top,y2:t.bottom}),l.jsx("text",{className:st.axis__label,x:c.position,y:t.bottom+16,textAnchor:"middle",children:c.label})]},`${c.position}-${c.label}`):l.jsxs("g",{children:[n&&l.jsx("line",{className:st.axis__grid,x1:t.left,x2:t.right,y1:c.position,y2:c.position}),l.jsx("text",{className:st.axis__label,x:e==="left"?t.left-8:t.right+8,y:c.position,dy:"0.32em",textAnchor:e==="left"?"end":"start",children:c.label})]},`${c.position}-${c.label}`))}),Gt=({area:t,ticks:s,side:e})=>l.jsx("g",{className:st.axis,"aria-hidden":!0,children:e==="bottom"?l.jsxs(l.Fragment,{children:[l.jsx("line",{className:st.axis__baseline,x1:t.left,x2:t.right,y1:t.bottom,y2:t.bottom}),ie(s).map(n=>l.jsx("text",{className:st.axis__label,x:n.position,y:t.bottom+16,textAnchor:"middle",children:n.label},`${n.position}-${n.label}`))]}):l.jsxs(l.Fragment,{children:[l.jsx("line",{className:st.axis__baseline,x1:t.left,x2:t.left,y1:t.top,y2:t.bottom}),s.map(n=>l.jsx("text",{className:st.axis__label,x:t.left-8,y:n.position,dy:"0.32em",textAnchor:"end",children:St(n.label,t.left-12)},`${n.position}-${n.label}`))]})}),W=t=>Math.round(t*100)/100,ye=t=>{const s=[];let e=[];for(const n of t)n===null||!Number.isFinite(n.x)||!Number.isFinite(n.y)?(e.length>0&&s.push(e),e=[]):e.push(n);return e.length>0&&s.push(e),s},Lt=t=>t.map((s,e)=>`${e===0?"M":"L"}${W(s.x)},${W(s.y)}`).join(""),he=t=>{const s=t.length;if(s<3)return Lt(t);const e=[],n=[];for(let i=0;i<s-1;i+=1){const m=t[i+1].x-t[i].x;n.push(m===0?0:(t[i+1].y-t[i].y)/m)}e.push(n[0]);for(let i=1;i<s-1;i+=1)e.push(n[i-1]*n[i]<=0?0:(n[i-1]+n[i])/2);e.push(n[s-2]);for(let i=0;i<s-1;i+=1){if(n[i]===0){e[i]=0,e[i+1]=0;continue}const m=e[i]/n[i],d=e[i+1]/n[i],k=m*m+d*d;if(k>9){const A=3/Math.sqrt(k);e[i]=A*m*n[i],e[i+1]=A*d*n[i]}}let c=`M${W(t[0].x)},${W(t[0].y)}`;for(let i=0;i<s-1;i+=1){const m=t[i],d=t[i+1],k=(d.x-m.x)/3;c+=`C${W(m.x+k)},${W(m.y+e[i]*k)} ${W(d.x-k)},${W(d.y-e[i+1]*k)} ${W(d.x)},${W(d.y)}`}return c},ge=(t,s="linear")=>ye(t).map(e=>s==="monotone"?he(e):Lt(e)).join(""),be=(t,s,e="linear")=>{const n=[];let c=[],i=[];const m=()=>{if(c.length>0){const d=e==="monotone"?he:Lt,k=d([...i].reverse()).replace(/^M/,"L");n.push(`${d(c)}${k}Z`)}c=[],i=[]};return t.forEach((d,k)=>{const A=s[k];d===null||A===null||A===void 0?m():(c.push(d),i.push(A))}),m(),n.join("")},tt=(t,s,e,n)=>({x:t+e*Math.sin(n),y:s-e*Math.cos(n)}),Xt=(t,s,e,n,c,i)=>{const m=i-c;if(m<=0||e<=0)return"";if(m>=Math.PI*2-1e-6){const b=(R,E)=>`M${W(t)},${W(s-R)}A${R},${R} 0 1 ${E} ${W(t)},${W(s+R)}A${R},${R} 0 1 ${E} ${W(t)},${W(s-R)}Z`;return b(e,1)+(n>0?b(n,0):"")}const d=m>Math.PI?1:0,k=tt(t,s,e,c),A=tt(t,s,e,i);if(n<=0)return`M${W(t)},${W(s)}L${W(k.x)},${W(k.y)}A${e},${e} 0 ${d} 1 ${W(A.x)},${W(A.y)}Z`;const T=tt(t,s,n,i),C=tt(t,s,n,c);return`M${W(k.x)},${W(k.y)}A${e},${e} 0 ${d} 1 ${W(A.x)},${W(A.y)}L${W(T.x)},${W(T.y)}A${n},${n} 0 ${d} 0 ${W(C.x)},${W(C.y)}Z`},Yt=t=>t.length===0?"":`${Lt(t)}Z`,mt=(t,s)=>{const[e,n]=t,[c,i]=s,m=n-e,d=k=>m===0?(c+i)/2:c+(k-e)/m*(i-c);return d.domain=t,d.range=s,d.invert=k=>i===c?e:e+(k-c)/(i-c)*m,d},Rt=(t,s,{paddingInner:e=.2,paddingOuter:n=.1}={})=>{const[c,i]=s,m=t.length,d=m===0?0:(i-c)/Math.max(1,m-e+n*2),k=d*(1-e),A=c+d*n,T=new Map(t.map((b,R)=>[b,R])),C=b=>{const R=T.get(b);return R===void 0?Number.NaN:A+R*d};return C.domain=t,C.range=s,C.bandwidth=k,C.step=d,C.indexAt=b=>m===0?-1:Math.min(m-1,Math.max(0,Math.floor((b-c-d*n+(d-k)/2)/d))),C},Bt=(t,s,e)=>{const n=Math.abs(s-t);if(n===0||!Number.isFinite(n)||e<=0)return 1;const c=n/e,i=10**Math.floor(Math.log10(c)),m=c/i;return(m>=7.5?10:m>=3.5?5:m>=1.5?2:1)*i},Ot=(t,s)=>{const e=Math.max(0,-Math.floor(Math.log10(s))+1);return Number(t.toFixed(Math.min(e,12)))},jt=(t,s,e=5)=>{if(!Number.isFinite(t)||!Number.isFinite(s))return[0,1];let n=Math.min(t,s),c=Math.max(t,s);if(n===c){if(n===0)return[0,1];const m=Math.abs(n)*.5;n=n>0?0:n-m,c=c<0?0:c+m}const i=Bt(n,c,e);return[Ot(Math.floor(n/i)*i,i),Ot(Math.ceil(c/i)*i,i)]},ot=(t,s,e=5)=>{if(!Number.isFinite(t)||!Number.isFinite(s))return[];if(t===s)return[t];const n=Bt(t,s,e),c=Math.ceil(t/n-1e-9),i=Math.floor(s/n+1e-9),m=[];for(let d=c;d<=i&&m.length<1e3;d+=1)m.push(Ot(d*n,n));return m},Me=(t,s)=>{if(t.length===0)return-1;let e=0,n=t.length-1;for(;e<n;){const c=e+n>>1;t[c]<s?e=c+1:n=c}return e>0&&Math.abs(t[e-1]-s)<=Math.abs(t[e]-s)?e-1:e},Ht=t=>t.filter(s=>typeof s=="number"&&Number.isFinite(s)),xt=t=>{if(t.length===0)return[0,0];let s=t[0],e=t[0];for(const n of t)n<s&&(s=n),n>e&&(e=n);return[s,e]},Pt=(t,s)=>{if(t.length===0)return Number.NaN;if(t.length===1)return t[0];const e=(t.length-1)*Math.min(1,Math.max(0,s)),n=Math.floor(e),c=e-n;return n+1<t.length?t[n]+(t[n+1]-t[n])*c:t[n]},_e=t=>{const s=Ht(t).sort((m,d)=>m-d);if(s.length===0)return null;const e=Pt(s,.25),n=Pt(s,.75),c=(n-e)*1.5,i=s.filter(m=>m>=e-c&&m<=n+c);return{count:s.length,min:s[0],q1:e,median:Pt(s,.5),q3:n,max:s[s.length-1],whiskerLow:i[0]??e,whiskerHigh:i[i.length-1]??n,outliers:s.filter(m=>m<e-c||m>n+c)}},$e=(t,s)=>{const e=Ht(t);if(e.length===0)return[];const[n,c]=xt(e);if(n===c)return[{from:n,to:n+1,count:e.length}];const i=s??Math.ceil(Math.log2(e.length))+1,m=Bt(n,c,Math.max(1,i)),d=Math.floor(n/m)*m,k=Math.max(1,Math.ceil((c-d)/m-1e-9)),A=Array.from({length:k},(T,C)=>({from:d+C*m,to:d+(C+1)*m,count:0}));for(const T of e){const C=Math.min(A.length-1,Math.floor((T-d)/m));A[C].count+=1}return A},$t=t=>typeof t=="number"&&Number.isFinite(t)?t:null,ct={top:12,right:16,bottom:28,minLeft:32},we=(t,s)=>{const e=t.map(()=>0),n=t.map(()=>0),c={};for(const i of s)c[i]=t.map((m,d)=>{const k=$t(m[i])??0;if(k>=0){const T=e[d];return e[d]+=k,{base:T,top:e[d]}}const A=n[d];return n[d]+=k,{base:A,top:n[d]}});return c},je=t=>{const{rows:s,xKey:e,series:n,width:c,height:i,isStacked:m,curve:d,formatX:k}=t,A=n.some(v=>v.type==="bar"),C=(A&&n.every(v=>v.type==="bar")?t.orientation:"vertical")==="horizontal",b=s.map(v=>v[e]),R=!A&&!C&&b.length>1&&b.every(v=>$t(v)!==null),E={};if(m)for(const v of["left","right"])for(const O of["bar","area"]){const B=n.filter(Z=>(Z.axis??"left")===v&&Z.type===O).map(Z=>Z.key);Object.assign(E,we(s,B))}const S=(v,O)=>{if(E[v])return E[v][O];const B=$t(s[O][v]);return B===null?null:{base:0,top:B}},q=v=>{const O=n.filter(lt=>(lt.axis??"left")===v);if(O.length===0)return null;let B=Number.POSITIVE_INFINITY,Z=Number.NEGATIVE_INFINITY;for(const lt of O)for(let gt=0;gt<s.length;gt+=1){const it=S(lt.key,gt);it&&(B=Math.min(B,it.top,it.base),Z=Math.max(Z,it.top,it.base))}if(O.some(lt=>lt.type!=="line")&&(B=Math.min(B,0),Z=Math.max(Z,0)),!Number.isFinite(B)||!Number.isFinite(Z))return[0,1];const[et,J]=v==="left"?t.domain??[void 0,void 0]:[void 0,void 0],K=jt(et??B,J??Z);return[et??K[0],J??K[1]]},z=q("left")??[0,1],N=q("right"),I=N!==null&&!C,P=t.formatLeft(ot(z[0],z[1],5)),$=N?t.formatRight(ot(N[0],N[1],5)):[],j=s.map(v=>k(v[e])),u=C?Math.min(c*.4,Math.max(ct.minLeft,...j.map(ht))+12):Math.max(ct.minLeft,...P.map(ht))+10,p=I?Math.max(ct.minLeft,...$.map(ht))+10:ct.right,a={left:u,top:ct.top,right:Math.max(u+1,c-p),bottom:Math.max(ct.top+1,i-ct.bottom),width:Math.max(1,c-p-u),height:Math.max(1,i-ct.bottom-ct.top)},h=C?[a.top,a.bottom]:[a.left,a.right],r=C?[a.left,a.right]:[a.bottom,a.top],o=mt(z,r),x=N?mt(N,r):o,M=v=>(v.axis??"left")==="right"&&N?x:o;let w,y=0,_=null;if(R){const v=b.map(O=>$t(O));_=mt(xt(v),h),w=v.map(_)}else{const v=Rt(s.map((O,B)=>String(B)),h,A?{paddingInner:.24,paddingOuter:.12}:{paddingInner:0,paddingOuter:0});y=v.bandwidth,w=s.map((O,B)=>v(String(B))+v.bandwidth/2)}const D=(v,O)=>C?{x:O,y:v}:{x:v,y:O},L=[],V=n.filter(v=>v.type==="bar"),U=m?1:Math.max(1,V.length),G=U>1?Math.min(2,y*.04):0,g=Math.max(1,(y-G*(U-1))/U);V.forEach((v,O)=>{const B=M(v),Z=m?0:O;s.forEach((et,J)=>{const K=S(v.key,J);if(!K||K.top===K.base)return;const lt=w[J]-y/2+Z*(g+G),gt=B(K.base),it=B(K.top),Vt=Math.min(gt,it),Ut=Math.max(1,Math.abs(it-gt));L.push(C?{key:v.key,index:J,tone:v.tone,x:Vt,y:lt,width:Ut,height:g}:{key:v.key,index:J,tone:v.tone,x:lt,y:Vt,width:g,height:Ut})})});const F={},H=[],X=[];for(const v of n){if(v.type==="bar")continue;const O=M(v),B=s.map((Z,et)=>{const J=S(v.key,et);return J?D(w[et],O(J.top)):null});if(F[v.key]=B,v.type==="area"){const Z=s.map((et,J)=>{const K=S(v.key,J);return K?D(w[J],O(K.base)):null});X.push({key:v.key,tone:v.tone,d:be(B,Z,d)})}H.push({key:v.key,tone:v.tone,d:ge(B,d)})}const rt=s.map((v,O)=>{let B=null;for(const et of n){const J=S(et.key,O);if(!J)continue;const K=M(et)(J.top);B=B===null?K:C?Math.max(B,K):Math.min(B,K)}const Z=C?a.left:a.bottom;return D(w[O],B??Z)}),kt=(v,O,B)=>wt(ot(O[0],O[1],C?Math.max(2,Math.floor(a.width/90)):Math.max(2,Math.floor(a.height/48))),v,B),me=_?ot(_.domain[0],_.domain[1],Math.max(2,Math.floor(a.width/90))).map(v=>({position:_(v),label:k(v)})):s.map((v,O)=>({position:w[O],label:C?St(j[O],u-12):j[O]}));return{zero:z[0]<0&&z[1]>0?o(0):null,area:a,centers:w,bandwidth:y,isContinuous:R,categoryTicks:me,leftTicks:kt(o,z,t.formatLeft),rightTicks:I&&N?kt(x,N,t.formatRight):[],hasRightAxis:I,lines:H,areas:X,bars:L,points:F,anchors:rt}},Zt=(...t)=>{let s="";for(const e of t)e&&(s=s===""?e:`${s} ${e}`);return s},Qt=["cat-1","cat-2","cat-3","cat-4","cat-5","series-2"],Tt=(t,s)=>s??Qt[t%Qt.length],Y=t=>t==="muted"?"var(--ui-text-3)":`var(--ui-${t})`,ke="ui-chart-iR-5u",Ne="ui-chart__canvas-4wf8o",ve="ui-chart__svg-yC5iw",Te="ui-chart__overlay-kbXEv",Ae="ui-chart__tooltip-wbhLY",Ce="ui-chart__tooltipTitle-j-1Nw",Ie="ui-chart__tooltipRow-phors",Fe="ui-chart__tooltipLabel-72x80",Re="ui-chart__tooltipValue-caeby",Se="ui-chart__swatch--mk77",Le="ui-chart__legend-EhXcQ",He="ui-chart__legendItem--AaGe",Ee="ui-chart__srOnly-Oyem2",Q={chart:ke,chart__canvas:Ne,chart__svg:ve,chart__overlay:Te,chart__tooltip:Ae,chart__tooltipTitle:Ce,chart__tooltipRow:Ie,chart__tooltipLabel:Fe,chart__tooltipValue:Re,chart__swatch:Se,chart__legend:Le,chart__legendItem:He,"chart__legendItem--hidden":"ui-chart__legendItem--hidden-D3li8",chart__srOnly:Ee},Jt=12,ft=({label:t,description:s,containerRef:e,width:n,height:c,plot:i,overlay:m,underlay:d,itemCount:k,columns:A,pick:T,tooltip:C,anchor:b,tooltipSide:R="inward",announce:E,table:S,legend:q,className:z,testId:N})=>{const I=f.useId(),P=dt.useAnnounce(),[$,j]=f.useState(null),u=f.useRef(null),p=f.useRef(null),a=f.useRef(null);f.useEffect(()=>{$!==null&&$>=k&&j(k>0?k-1:null)},[$,k]),f.useEffect(()=>()=>{u.current!==null&&cancelAnimationFrame(u.current)},[]);const h=f.useCallback(y=>{const _=y.currentTarget.getBoundingClientRect();a.current={x:y.clientX-_.left,y:y.clientY-_.top},u.current===null&&(u.current=requestAnimationFrame(()=>{u.current=null;const D=a.current;D&&j(T(D.x,D.y))}))},[T]),r=y=>{const _=Math.min(k-1,Math.max(0,y));j(_),P(E(_))},o=y=>{if(k===0)return;const _=$??-1,D=A??1,L=y.key==="ArrowRight"?_+1:y.key==="ArrowLeft"?Math.max(0,_-1):y.key==="ArrowDown"?_<0?0:_+D:y.key==="ArrowUp"?Math.max(0,_-D):y.key==="Home"?0:y.key==="End"?k-1:null;if(y.key==="Escape"&&$!==null){y.preventDefault(),j(null);return}L!==null&&(y.preventDefault(),r(L))},x=$===null?null:C($),M=$===null?null:b($),w=M==null?void 0:M.x;return f.useLayoutEffect(()=>{const y=p.current;if(!y||w===void 0)return;const _=y.offsetWidth,D=w>n/2,L=R==="outward"?!D:D,V=w-Jt-_,U=w+Jt,G=V>=0,g=U+_<=n,F=R==="outward"?L?V:U:L?G||!g?V:U:g||!G?U:V;y.style.left=`${Math.min(Math.max(0,F),Math.max(0,n-_))}px`},[$,w,n,R]),l.jsxs("figure",{className:Zt(Q.chart,z),"data-testid":N,children:[l.jsxs("div",{ref:e,className:Q.chart__canvas,style:{blockSize:c},children:[l.jsxs("svg",{className:Q.chart__svg,width:n,height:c,viewBox:`0 0 ${n} ${c}`,role:"img","aria-label":t,"aria-describedby":s?I:void 0,tabIndex:k>0?0:void 0,onPointerMove:h,onPointerDown:h,onPointerLeave:()=>j(null),onKeyDown:o,onBlur:()=>j(null),children:[$!==null&&d&&l.jsx("g",{className:Q.chart__overlay,children:d($)}),i,$!==null&&l.jsx("g",{className:Q.chart__overlay,children:m($)})]}),x&&M&&l.jsxs("div",{ref:p,"aria-hidden":!0,className:Q.chart__tooltip,style:{insetBlockStart:Math.max(24,Math.min(M.y,c-24))},children:[x.title&&l.jsx("span",{className:Q.chart__tooltipTitle,children:x.title}),x.rows.map(y=>l.jsxs("span",{className:Q.chart__tooltipRow,children:[y.tone&&l.jsx("span",{className:Q.chart__swatch,style:{backgroundColor:Y(y.tone)}}),l.jsx("span",{className:Q.chart__tooltipLabel,children:y.label}),l.jsx("span",{className:Q.chart__tooltipValue,children:y.value})]},y.id))]})]}),q&&q.entries.length>1&&l.jsx("ul",{className:Q.chart__legend,children:q.entries.map(y=>{const _=q.hidden.has(y.id);return l.jsx("li",{children:l.jsxs("button",{type:"button",className:Zt(Q.chart__legendItem,_&&Q["chart__legendItem--hidden"]),"aria-pressed":!_,onClick:()=>q.onToggle(y.id),children:[l.jsx(Pe,{tone:y.tone,isHidden:_}),y.label]})},y.id)})}),s&&l.jsx("p",{id:I,className:Q.chart__srOnly,children:s}),l.jsx("div",{className:Q.chart__srOnly,children:l.jsxs("table",{children:[l.jsx("caption",{children:t}),l.jsx("thead",{children:l.jsx("tr",{children:S.columns.map((y,_)=>l.jsx("th",{scope:"col",children:y},_))})}),l.jsx("tbody",{children:S.rows.map((y,_)=>l.jsx("tr",{children:y.map((D,L)=>L===0?l.jsx("th",{scope:"row",children:D},L):l.jsx("td",{children:D},L))},_))})]})})]})},Pe=({tone:t,isHidden:s})=>l.jsx("span",{"aria-hidden":!0,className:Q.chart__swatch,style:s?{backgroundColor:"transparent",boxShadow:`inset 0 0 0 2px ${Y(t)}`}:{backgroundColor:Y(t)}}),Kt=new Map,ue=(t,s)=>{const e=`${t??""}|${JSON.stringify(s)}`;let n=Kt.get(e);return n||(n=new Intl.NumberFormat(t,s),Kt.set(e,n)),n},te=t=>{if(t===0||!Number.isFinite(t))return null;const[s,e]=Math.abs(t).toExponential(9).split("e"),n=Number(e);return{first:n,last:n-(s.replace(".","").replace(/0+$/,"").length-1)}},At=t=>s=>{const e=s.reduce((n,c)=>{var i;return Math.min(n,((i=te(c))==null?void 0:i.last)??n)},Number.POSITIVE_INFINITY);return s.map(n=>{var c;return ue(t,{notation:"compact",maximumSignificantDigits:Math.min(21,Math.max(1,(((c=te(n))==null?void 0:c.first)??0)-e+1))}).format(n)})},pt=t=>s=>ue(t,{maximumFractionDigits:2}).format(s),ze=640,De=typeof window>"u"?()=>{}:f.useLayoutEffect,yt=t=>{const s=f.useRef(null),[e,n]=f.useState(t??ze);return De(()=>{if(t!==void 0){n(t);return}const c=s.current;if(!c)return;const i=d=>{const k=Math.floor(d);k>0&&n(A=>A===k?A:k)};if(i(c.clientWidth),typeof ResizeObserver>"u")return;const m=new ResizeObserver(([d])=>i(d.contentRect.width));return m.observe(c),()=>m.disconnect()},[t]),[s,e]},qe="ui-line-CLpqU",Ge="ui-area-LkWXB",Oe="ui-bar-260Bd",Be="ui-point-Vc-kX",We="ui-marker-G-xZb",Ve="ui-crosshair-nV-xX",Ue="ui-band-jnG7s",Xe="ui-zero-GpHvw",nt={line:qe,area:Ge,bar:Oe,point:Be,marker:We,crosshair:Ve,band:Ue,zero:Xe},Ye=280,ee="—",Ze=({label:t,description:s,data:e,xKey:n,xLabel:c,series:i,height:m=Ye,width:d,isStacked:k=!1,orientation:A="vertical",curve:T="monotone",hasPoints:C=!1,formatX:b=String,formatValue:R,domain:E,className:S,testId:q})=>{const{labels:z}=dt.useUi(),N=z==null?void 0:z.locale,[I,P]=yt(d),[$,j]=f.useState(()=>new Set),u=f.useMemo(()=>R??pt(N),[R,N]),p=f.useMemo(()=>At(N),[N]),a=f.useCallback(g=>g==null?"":b(g),[b]),h=f.useMemo(()=>i.map((g,F)=>({...g,tone:Tt(F,g.tone)})),[i]),r=f.useMemo(()=>h.filter(g=>!$.has(g.key)),[h,$]),o=f.useMemo(()=>je({rows:e,xKey:n,series:r,width:P,height:m,isStacked:k,orientation:A,curve:T,formatX:a,formatLeft:p,formatRight:p,domain:E}),[e,n,r,P,m,k,A,T,a,p,E]),x=A==="horizontal"&&r.length>0&&r.every(g=>g.type==="bar"),M=r.some(g=>g.type==="bar"),w=f.useMemo(()=>{const g=o.centers.map((F,H)=>({center:F,index:H})).sort((F,H)=>F.center-H.center);return{centers:g.map(F=>F.center),indices:g.map(F=>F.index)}},[o.centers]),y=f.useCallback((g,F)=>{const{area:H}=o;if(g<H.left-4||g>H.right+4||F<H.top-4||F>H.bottom+4)return null;const X=Me(w.centers,x?F:g);return X<0?null:w.indices[X]},[o,w,x]),_=f.useCallback(g=>{var F;return{title:a((F=e[g])==null?void 0:F[n]),rows:r.map(H=>{var rt;const X=$t((rt=e[g])==null?void 0:rt[H.key]);return{id:H.key,label:H.label,tone:H.tone,value:X===null?ee:(H.format??u)(X)}})}},[e,n,r,u,a]),D=f.useCallback(g=>{const F=_(g);return`${F.title}: ${F.rows.map(H=>`${H.label} ${H.value}`).join(", ")}`},[_]),L=f.useMemo(()=>({columns:[c??n,...h.map(g=>g.label)],rows:e.map(g=>[a(g[n]),...h.map(F=>{const H=$t(g[F.key]);return H===null?ee:(F.format??u)(H)})])}),[e,n,c,h,u,a]),V=f.useMemo(()=>l.jsxs("g",{children:[x?l.jsxs(l.Fragment,{children:[l.jsx(ut,{area:o.area,ticks:o.leftTicks,side:"bottom",hasGrid:!0}),l.jsx(Gt,{area:o.area,ticks:o.categoryTicks,side:"left"})]}):l.jsxs(l.Fragment,{children:[l.jsx(ut,{area:o.area,ticks:o.leftTicks,side:"left",hasGrid:!0}),o.hasRightAxis&&l.jsx(ut,{area:o.area,ticks:o.rightTicks,side:"right"}),l.jsx(Gt,{area:o.area,ticks:o.categoryTicks,side:"bottom"})]}),o.zero!==null&&(x?l.jsx("line",{className:nt.zero,x1:o.zero,x2:o.zero,y1:o.area.top,y2:o.area.bottom}):l.jsx("line",{className:nt.zero,x1:o.area.left,x2:o.area.right,y1:o.zero,y2:o.zero})),o.areas.map(g=>l.jsx("path",{d:g.d,className:nt.area,style:{fill:`color-mix(in srgb, ${Y(g.tone)} 18%, transparent)`}},`area-${g.key}`)),o.bars.map(g=>l.jsx("rect",{className:nt.bar,x:g.x,y:g.y,width:g.width,height:g.height,rx:Math.min(3,g.width/4,g.height/4),style:{fill:Y(g.tone)}},`bar-${g.key}-${g.index}`)),o.lines.map(g=>l.jsx("path",{d:g.d,className:nt.line,style:{stroke:Y(g.tone)}},`line-${g.key}`)),r.filter(g=>g.type!=="bar").flatMap(g=>(o.points[g.key]??[]).map((F,H,X)=>F&&(C||!X[H-1]&&!X[H+1])?l.jsx("circle",{className:nt.point,cx:F.x,cy:F.y,r:3,style:{fill:Y(g.tone)}},`point-${g.key}-${H}`):null))]}),[o,C,x,r]),U=f.useCallback(g=>{if(!M||o.bandwidth<=0)return null;const{area:F}=o,H=o.centers[g],X=o.bandwidth*.12;return x?l.jsx("rect",{className:nt.band,x:F.left,width:F.width,y:H-o.bandwidth/2-X,height:o.bandwidth+X*2}):l.jsx("rect",{className:nt.band,y:F.top,height:F.height,x:H-o.bandwidth/2-X,width:o.bandwidth+X*2})},[o,x,M]),G=f.useCallback(g=>{const{area:F}=o,H=o.centers[g];return l.jsxs(l.Fragment,{children:[!M&&l.jsx("line",{className:nt.crosshair,x1:H,x2:H,y1:F.top,y2:F.bottom}),r.filter(X=>X.type!=="bar").map(X=>{var kt;const rt=(kt=o.points[X.key])==null?void 0:kt[g];return rt?l.jsx("circle",{className:nt.marker,cx:rt.x,cy:rt.y,r:4.5,style:{fill:Y(X.tone)}},X.key):null})]})},[o,r,M]);return l.jsx(ft,{label:t,description:s,containerRef:I,width:P,height:m,plot:V,overlay:G,underlay:U,itemCount:e.length,pick:y,tooltip:_,anchor:g=>o.anchors[g]??{x:0,y:0},announce:D,table:L,legend:{entries:h.map(g=>({id:g.key,label:g.label,tone:g.tone})),hidden:$,onToggle:g=>j(F=>{const H=new Set(F);return H.has(g)?H.delete(g):h.length-F.size>1&&H.add(g),H})},className:S,testId:q})},Et=f.memo(Ze),Qe=({series:t,...s})=>{const e=f.useMemo(()=>t.map(n=>({...n,type:"line"})),[t]);return l.jsx(Et,{...s,series:e})},Je=f.memo(at(Qe,"LineChart")),Ke=({series:t,...s})=>{const e=f.useMemo(()=>t.map(n=>({...n,type:"area"})),[t]);return l.jsx(Et,{...s,series:e})},tn=f.memo(at(Ke,"AreaChart")),en=({series:t,...s})=>{const e=f.useMemo(()=>t.map(n=>({...n,type:"bar"})),[t]);return l.jsx(Et,{...s,series:e})},nn=f.memo(at(en,"BarChart")),sn=t=>l.jsx(Et,{...t}),on=f.memo(at(sn,"ComposedChart")),an="ui-slice-dFWuh",cn="ui-center__value-GnqKe",rn="ui-center__label-DsgTV",Nt={slice:an,center__value:cn,center__label:rn},Ct=6,ne=1.5,ln=({label:t,description:s,data:e,variant:n="donut",centerValue:c,centerLabel:i,valueLabel:m,height:d=260,width:k,formatValue:A,className:T,testId:C})=>{const{labels:b}=dt.useUi(),[R,E]=yt(k),[S,q]=f.useState(()=>new Set),z=f.useMemo(()=>pt(b==null?void 0:b.locale),[b==null?void 0:b.locale]),N=A??z,I=f.useMemo(()=>e.map((a,h)=>({...a,tone:Tt(h,a.tone)})),[e]),P=f.useMemo(()=>{const a=I.filter(_=>!S.has(_.id)&&Number.isFinite(_.value)&&_.value>0),h=a.reduce((_,D)=>_+D.value,0),r=E/2,o=d/2,x=Math.max(8,Math.min(E,d)/2-Ct-4),M=n==="donut"?x*.62:0;let w=0;const y=a.map(_=>{const D=h>0?_.value/h*Math.PI*2:0,L=w;return w+=D,{..._,start:L,end:w,share:h>0?_.value/h:0}});return{cx:r,cy:o,outer:x,inner:M,total:h,slices:y}},[I,S,E,d,n]),$=f.useMemo(()=>{const a=new Intl.NumberFormat(b==null?void 0:b.locale,{style:"percent",maximumFractionDigits:1});return h=>a.format(h)},[b==null?void 0:b.locale]),j=f.useMemo(()=>{const{cx:a,cy:h,outer:r,inner:o,slices:x,total:M}=P;return l.jsxs("g",{children:[x.map(w=>l.jsx("path",{className:Nt.slice,d:Xt(a,h,r,o,w.start,w.end),style:{fill:Y(w.tone),strokeWidth:x.length>1?ne:0}},w.id)),n==="donut"&&l.jsxs("g",{"aria-hidden":!0,className:Nt.center,children:[l.jsx("text",{className:Nt.center__value,x:a,y:i?h-4:h,dy:"0.32em",textAnchor:"middle",children:c??N(M)}),i&&l.jsx("text",{className:Nt.center__label,x:a,y:h+16,dy:"0.32em",textAnchor:"middle",children:i})]})]})},[P,n,c,i,N]),u=f.useCallback((a,h)=>{const{cx:r,cy:o,outer:x,inner:M,slices:w}=P,y=Math.hypot(a-r,h-o);if(y>x+Ct||y<M)return null;let _=Math.atan2(a-r,-(h-o));_<0&&(_+=Math.PI*2);const D=w.findIndex(L=>_>=L.start&&_<L.end);return D<0?null:D},[P]),p=a=>{const h=P.slices[a];return`${N(h.value)} (${$(h.share)})`};return l.jsx(ft,{label:t,description:s,containerRef:R,width:E,height:d,plot:j,overlay:a=>{const{cx:h,cy:r,outer:o,inner:x,slices:M}=P,w=M[a],y=(w.start+w.end)/2,_=tt(0,0,Ct,y);return l.jsx("path",{className:Nt.slice,d:Xt(h+_.x,r+_.y,o,x,w.start,w.end),style:{fill:Y(w.tone),strokeWidth:ne}})},itemCount:P.slices.length,pick:u,tooltip:a=>{const h=P.slices[a];return{rows:[{id:h.id,label:h.label,value:p(a),tone:h.tone}]}},anchor:a=>{const{cx:h,cy:r,outer:o,slices:x}=P,M=x[a];return tt(h,r,o+Ct,(M.start+M.end)/2)},tooltipSide:"outward",announce:a=>`${P.slices[a].label}: ${p(a)}`,table:{columns:[t,m],rows:I.map(a=>[a.label,Number.isFinite(a.value)?N(a.value):"—"])},legend:{entries:I.map(a=>({id:a.id,label:a.label,tone:a.tone})),hidden:S,onToggle:a=>q(h=>{const r=new Set(h);return r.has(a)?r.delete(a):I.length-h.size>1&&r.add(a),r})},className:T,testId:C})},hn=f.memo(at(ln,"PieChart")),Wt=(t,s,e,{top:n=12,right:c=16,bottom:i=28}={})=>{const m=Math.max(32,...e.map(ht))+10;return{left:m,top:n,right:Math.max(m+1,t-c),bottom:Math.max(n+1,s-i),width:Math.max(1,t-c-m),height:Math.max(1,s-n-i)}},vt=(t,s)=>Math.max(2,Math.floor(t/(s?90:48))),un=(t,s=24)=>{const e=new Map,n=(c,i)=>`${c}:${i}`;return t.forEach((c,i)=>{if(!Number.isFinite(c.x)||!Number.isFinite(c.y))return;const m=n(Math.floor(c.x/s),Math.floor(c.y/s)),d=e.get(m);d?d.push(i):e.set(m,[i])}),{nearest:(c,i,m)=>{const d=Math.ceil(m/s),k=Math.floor(c/s),A=Math.floor(i/s);let T=null,C=m*m;for(let b=-d;b<=d;b+=1)for(let R=-d;R<=d;R+=1)for(const E of e.get(n(k+b,A+R))??[]){const S=(t[E].x-c)**2+(t[E].y-i)**2;S<=C&&(C=S,T=E)}return T}}},mn="ui-point-YKyMm",dn="ui-marker-ToO1T",se={point:mn,marker:dn},bt={plain:4,min:3,max:16},xn=22,fn=({label:t,description:s,series:e,xLabel:n,yLabel:c,sizeLabel:i,height:m=300,width:d,formatX:k,formatY:A,className:T,testId:C})=>{const{labels:b}=dt.useUi(),[R,E]=yt(d),[S,q]=f.useState(()=>new Set),z=f.useMemo(()=>pt(b==null?void 0:b.locale),[b==null?void 0:b.locale]),N=f.useMemo(()=>At(b==null?void 0:b.locale),[b==null?void 0:b.locale]),I=k??z,P=A??z,$=f.useMemo(()=>e.map((r,o)=>({...r,tone:Tt(o,r.tone)})),[e]),j=f.useMemo(()=>$.filter(r=>!S.has(r.id)).flatMap(r=>r.data.filter(o=>Number.isFinite(o.x)&&Number.isFinite(o.y)).map(o=>({...o,series:r}))).sort((r,o)=>r.x-o.x||r.y-o.y),[$,S]),u=f.useMemo(()=>{const r=jt(...xt(j.map(G=>G.x))),o=jt(...xt(j.map(G=>G.y))),x=ot(o[0],o[1],vt(m,!1)),M=Wt(E,m,N(x),{right:20}),w=mt(r,[M.left,M.right]),y=mt(o,[M.bottom,M.top]),_=Ht(j.map(G=>G.size)),[D,L]=xt(_),V=G=>G===void 0||!Number.isFinite(G)||_.length===0?bt.plain:L===D?(bt.min+bt.max)/2:Math.sqrt(bt.min**2+(G-D)/(L-D)*(bt.max**2-bt.min**2)),U=j.map(G=>({...G,cx:w(G.x),cy:y(G.y),r:V(G.size)}));return{area:M,placed:U,index:un(U.map(G=>({x:G.cx,y:G.cy}))),xTicks:wt(ot(r[0],r[1],vt(M.width,!0)),w,N),yTicks:wt(x,y,N)}},[j,E,m,N]),p=f.useMemo(()=>l.jsxs("g",{children:[l.jsx(ut,{area:u.area,ticks:u.yTicks,side:"left",hasGrid:!0}),l.jsx(ut,{area:u.area,ticks:u.xTicks,side:"bottom",hasGrid:!0}),u.placed.map((r,o)=>l.jsx("circle",{className:se.point,cx:r.cx,cy:r.cy,r:r.r,style:{fill:`color-mix(in srgb, ${Y(r.series.tone)} 72%, transparent)`,stroke:Y(r.series.tone)}},o))]}),[u]),a=f.useCallback((r,o)=>u.index.nearest(r,o,xn),[u]),h=r=>{const o=u.placed[r];return{title:o.label??o.series.label,rows:[{id:"series",label:o.series.label,value:"",tone:o.series.tone},{id:"x",label:n,value:I(o.x)},{id:"y",label:c,value:P(o.y)},...o.size!==void 0&&i?[{id:"size",label:i,value:z(o.size)}]:[]]}};return l.jsx(ft,{label:t,description:s,containerRef:R,width:E,height:m,plot:p,overlay:r=>{const o=u.placed[r];return l.jsx("circle",{className:se.marker,cx:o.cx,cy:o.cy,r:o.r+3,style:{stroke:Y(o.series.tone)}})},itemCount:u.placed.length,pick:a,tooltip:h,anchor:r=>({x:u.placed[r].cx,y:u.placed[r].cy}),announce:r=>{const o=u.placed[r];return`${o.label?`${o.label}, `:""}${o.series.label}: ${n} ${I(o.x)}, ${c} ${P(o.y)}`},table:{columns:[t,n,c],rows:j.map(r=>[r.label??r.series.label,I(r.x),P(r.y)])},legend:{entries:$.map(r=>({id:r.id,label:r.label,tone:r.tone})),hidden:S,onToggle:r=>q(o=>{const x=new Set(o);return x.has(r)?x.delete(r):$.length-o.size>1&&x.add(r),x})},className:T,testId:C})},pn=f.memo(at(fn,"ScatterPlot")),yn="ui-labels-MJWYF",gn="ui-empty-AW7c9",bn="ui-focus-hLQdB",It={labels:yn,empty:gn,focus:bn},zt=8,Mn=28,Dt=140,oe=(t,s,e)=>{var c;const n=(c=t[s])==null?void 0:c[e];return typeof n=="number"&&Number.isFinite(n)?n:null},ae=t=>t.map((s,e)=>String(e)),_n=({label:t,description:s,columns:e,rows:n,values:c,valueLabel:i,tone:m="cat-1",height:d=280,width:k,formatValue:A,className:T,testId:C})=>{const{labels:b}=dt.useUi(),[R,E]=yt(k),S=f.useMemo(()=>pt(b==null?void 0:b.locale),[b==null?void 0:b.locale]),q=A??S,z=`ui-heat-${f.useId().replace(/:/g,"")}`,N=f.useMemo(()=>{const p={left:Math.min(E*.3,Math.max(32,...n.map(ht))+12),top:8,right:E-8,bottom:d-28-Mn},a=Rt(ae(e),[p.left,p.right],{paddingInner:.06,paddingOuter:0}),h=Rt(ae(n),[p.top,p.bottom],{paddingInner:.06,paddingOuter:0}),[r,o]=xt(Ht(c.flat())),x=w=>w===null?null:o===r?60:zt+(w-r)/(o-r)*(100-zt),M=n.flatMap((w,y)=>e.map((_,D)=>{const L=oe(c,y,D);return{row:w,column:_,key:`${y}:${D}`,value:L,x:a(String(D)),y:h(String(y)),width:a.bandwidth,height:h.bandwidth,mix:x(L)}}));return{area:p,x:a,y:h,cells:M,min:r,max:o}},[e,n,c,E,d]),I=Y(m),P=f.useMemo(()=>{const{area:u,x:p,y:a,cells:h}=N,r=q(N.max),o=u.right-ht(r)-8,x=ie(e.map((M,w)=>({position:p(String(w))+p.bandwidth/2,label:M})));return l.jsxs("g",{children:[h.map(M=>l.jsx("rect",{className:M.mix===null?It.empty:void 0,x:M.x,y:M.y,width:M.width,height:M.height,rx:2,style:M.mix===null?void 0:{fill:`color-mix(in srgb, ${I} ${M.mix}%, var(--ui-surface))`}},M.key)),l.jsxs("g",{"aria-hidden":!0,className:It.labels,children:[n.map((M,w)=>l.jsx("text",{x:u.left-8,y:a(String(w))+a.bandwidth/2,dy:"0.32em",textAnchor:"end",children:St(M,u.left-12)},w)),x.map(M=>l.jsx("text",{x:M.position,y:u.bottom+16,textAnchor:"middle",children:M.label},M.position))]}),l.jsx("defs",{children:l.jsxs("linearGradient",{id:z,children:[l.jsx("stop",{offset:"0%",style:{stopColor:`color-mix(in srgb, ${I} ${zt}%, var(--ui-surface))`}}),l.jsx("stop",{offset:"100%",style:{stopColor:I}})]})}),l.jsxs("g",{"aria-hidden":!0,className:It.labels,children:[l.jsx("rect",{x:o-Dt,y:d-18,width:Dt,height:8,rx:4,style:{fill:`url(#${z})`}}),l.jsx("text",{x:o-Dt-8,y:d-14,dy:"0.32em",textAnchor:"end",children:q(N.min)}),l.jsx("text",{x:u.right,y:d-14,dy:"0.32em",textAnchor:"end",children:r})]})]})},[N,e,n,I,z,d,q]),$=f.useCallback((u,p)=>{const{area:a,x:h,y:r}=N;if(u<a.left||u>a.right||p<a.top||p>a.bottom)return null;const o=h.indexAt(u),x=r.indexAt(p);return o<0||x<0?null:x*e.length+o},[N,e.length]),j=u=>{const p=N.cells[u];return{cell:p,value:p.value===null?"—":q(p.value)}};return l.jsx(ft,{label:t,description:s,containerRef:R,width:E,height:d,plot:P,overlay:u=>{const p=N.cells[u];return l.jsx("rect",{className:It.focus,x:p.x-1,y:p.y-1,width:p.width+2,height:p.height+2,rx:3})},itemCount:N.cells.length,columns:e.length,pick:$,tooltip:u=>{const{cell:p,value:a}=j(u);return{title:`${p.row} · ${p.column}`,rows:[{id:"value",label:i,value:a,tone:m}]}},anchor:u=>{const p=N.cells[u];return{x:p.x+p.width/2,y:p.y+p.height/2}},announce:u=>{const{cell:p,value:a}=j(u);return`${p.row}, ${p.column}: ${i} ${a}`},table:{columns:[t,...e],rows:n.map((u,p)=>[u,...e.map((a,h)=>{const r=oe(c,p,h);return r===null?"—":q(r)})])},className:T,testId:C})},$n=f.memo(at(_n,"Heatmap")),wn="ui-box-7zEQ-",jn="ui-median-J5g6o",kn="ui-outlier-M0VN-",Nn="ui-band-kK09D",Ft={box:wn,median:jn,outlier:kn,band:Nn},vn=({label:t,description:s,groups:e,groupLabel:n,labels:c,height:i=280,width:m,formatValue:d,className:k,testId:A})=>{const{labels:T}=dt.useUi(),[C,b]=yt(m),R=f.useMemo(()=>pt(T==null?void 0:T.locale),[T==null?void 0:T.locale]),E=f.useMemo(()=>At(T==null?void 0:T.locale),[T==null?void 0:T.locale]),S=d??R,q=f.useMemo(()=>e.map(($,j)=>({group:$,tone:Tt(j,$.tone),stats:_e($.values)})),[e]),z=f.useMemo(()=>{const $=q.flatMap(x=>x.stats?[x.stats.min,x.stats.max]:[]),[j,u]=$.length?xt($):[0,1],p=jt(j,u),a=ot(p[0],p[1],vt(i,!1)),h=Wt(b,i,E(a)),r=Rt(e.map(x=>x.id),[h.left,h.right],{paddingInner:.4,paddingOuter:.2}),o=mt(p,[h.bottom,h.top]);return{area:h,band:r,y:o,yTicks:wt(a,o,E),groupTicks:e.map(x=>({position:r(x.id)+r.bandwidth/2,label:x.label}))}},[q,e,b,i,E]),N=$=>[{id:"max",label:c.max,value:S($.whiskerHigh)},{id:"q3",label:c.q3,value:S($.q3)},{id:"median",label:c.median,value:S($.median)},{id:"q1",label:c.q1,value:S($.q1)},{id:"min",label:c.min,value:S($.whiskerLow)},...$.outliers.length>0?[{id:"outliers",label:c.outliers,value:R($.outliers.length)}]:[],{id:"count",label:c.count,value:R($.count)}],I=f.useMemo(()=>{const{area:$,band:j,y:u}=z;return l.jsxs("g",{children:[l.jsx(ut,{area:$,ticks:z.yTicks,side:"left",hasGrid:!0}),l.jsx(Gt,{area:$,ticks:z.groupTicks,side:"bottom"}),q.map(({group:p,tone:a,stats:h})=>{if(!h)return null;const r=j(p.id),o=r+j.bandwidth/2,x=j.bandwidth*.3,M=Y(a);return l.jsxs("g",{style:{stroke:M},className:Ft.box,children:[l.jsx("line",{x1:o,x2:o,y1:u(h.whiskerHigh),y2:u(h.q3)}),l.jsx("line",{x1:o,x2:o,y1:u(h.q1),y2:u(h.whiskerLow)}),l.jsx("line",{x1:o-x,x2:o+x,y1:u(h.whiskerHigh),y2:u(h.whiskerHigh)}),l.jsx("line",{x1:o-x,x2:o+x,y1:u(h.whiskerLow),y2:u(h.whiskerLow)}),l.jsx("rect",{x:r,width:j.bandwidth,y:u(h.q3),height:Math.max(1,u(h.q1)-u(h.q3)),rx:2,style:{fill:`color-mix(in srgb, ${M} 22%, transparent)`}}),l.jsx("line",{className:Ft.median,x1:r,x2:r+j.bandwidth,y1:u(h.median),y2:u(h.median)}),h.outliers.map((w,y)=>l.jsx("circle",{className:Ft.outlier,cx:o,cy:u(w),r:3},y))]},p.id)})]})},[z,q]),P=f.useCallback(($,j)=>{const{area:u,band:p}=z;if($<u.left||$>u.right||j<u.top-4||j>u.bottom+4)return null;const a=p.indexAt($);return a<0?null:a},[z]);return l.jsx(ft,{label:t,description:s,containerRef:C,width:b,height:i,plot:I,underlay:$=>{const{area:j,band:u}=z,p=u.step*.2;return l.jsx("rect",{className:Ft.band,x:u(e[$].id)-p,width:u.bandwidth+p*2,y:j.top,height:j.height})},overlay:()=>null,itemCount:e.length,pick:P,tooltip:$=>{const j=q[$];return{title:j.group.label,rows:j.stats?N(j.stats).map(u=>({...u,tone:u.id==="median"?j.tone:void 0})):[]}},anchor:$=>{const j=q[$],{band:u,y:p}=z;return{x:u(j.group.id)+u.bandwidth/2,y:j.stats?p(j.stats.q3):z.area.bottom}},announce:$=>{const j=q[$];return j.stats?`${j.group.label}: ${N(j.stats).map(u=>`${u.label} ${u.value}`).join(", ")}`:j.group.label},table:{columns:[n,c.min,c.q1,c.median,c.q3,c.max,c.count],rows:q.map(({group:$,stats:j})=>j?[$.label,S(j.whiskerLow),S(j.q1),S(j.median),S(j.q3),S(j.whiskerHigh),R(j.count)]:[$.label,"—","—","—","—","—","0"])},className:k,testId:A})},Tn=f.memo(at(vn,"BoxPlot")),An="ui-baseline-wWs7h",Cn="ui-band-xvYtL",ce={baseline:An,band:Cn},Mt=1,In=({label:t,description:s,values:e,bins:n,valueLabel:c,countLabel:i,tone:m="cat-1",height:d=260,width:k,formatValue:A,className:T,testId:C})=>{const{labels:b}=dt.useUi(),[R,E]=yt(k),S=f.useMemo(()=>pt(b==null?void 0:b.locale),[b==null?void 0:b.locale]),q=f.useMemo(()=>At(b==null?void 0:b.locale),[b==null?void 0:b.locale]),z=A??S,N=f.useMemo(()=>$e(e,n),[e,n]),I=f.useMemo(()=>{var w,y;const u=Math.max(1,...N.map(_=>_.count)),p=jt(0,u),a=ot(0,p[1],vt(d,!1)).filter(Number.isInteger),h=Wt(E,d,q(a)),r=((w=N[0])==null?void 0:w.from)??0,o=((y=N[N.length-1])==null?void 0:y.to)??1,x=mt([r,o],[h.left,h.right]),M=mt(p,[h.bottom,h.top]);return{area:h,columns:N.map(_=>({x:x(_.from)+Mt/2,width:Math.max(1,x(_.to)-x(_.from)-Mt),y:M(_.count),height:Math.max(0,h.bottom-M(_.count)),center:(x(_.from)+x(_.to))/2})),xTicks:wt(ot(r,o,vt(h.width,!0)),x,q),yTicks:wt(a,M,q)}},[N,E,d,q]),P=u=>`${z(N[u].from)} – ${z(N[u].to)}`,$=f.useMemo(()=>l.jsxs("g",{children:[l.jsx(ut,{area:I.area,ticks:I.yTicks,side:"left",hasGrid:!0}),l.jsx(ut,{area:I.area,ticks:I.xTicks,side:"bottom"}),l.jsx("line",{className:ce.baseline,x1:I.area.left,x2:I.area.right,y1:I.area.bottom,y2:I.area.bottom}),I.columns.map((u,p)=>u.height>0?l.jsx("rect",{x:u.x,y:u.y,width:u.width,height:u.height,style:{fill:Y(m)}},p):null)]}),[I,m]),j=f.useCallback((u,p)=>{const{area:a,columns:h}=I;if(u<a.left||u>a.right||p<a.top-4||p>a.bottom+4)return null;const r=h.findIndex(o=>u>=o.x-Mt&&u<=o.x+o.width+Mt);return r<0?null:r},[I]);return l.jsx(ft,{label:t,description:s,containerRef:R,width:E,height:d,plot:$,underlay:u=>{const p=I.columns[u];return l.jsx("rect",{className:ce.band,x:p.x-Mt/2,width:p.width+Mt,y:I.area.top,height:I.area.height})},overlay:()=>null,itemCount:N.length,pick:j,tooltip:u=>({title:P(u),rows:[{id:"count",label:i,value:S(N[u].count),tone:m}]}),anchor:u=>({x:I.columns[u].center,y:I.columns[u].y}),announce:u=>`${c} ${P(u)}: ${i} ${S(N[u].count)}`,table:{columns:[c,i],rows:N.map((u,p)=>[P(p),S(u.count)])},className:T,testId:C})},Fn=f.memo(at(In,"Histogram")),Rn="ui-grid-fHioN",Sn="ui-shape-Vbb9D",Ln="ui-labels-nRfEk",Hn="ui-axisLabel-UOZQ7",En="ui-spoke-P-6cp",Pn="ui-marker-xzn9h",_t={grid:Rn,shape:Sn,labels:Ln,axisLabel:Hn,spoke:En,marker:Pn},re=10,zn=16,Dn=28,qt=(t,s)=>{const e=t.values[s];return typeof e=="number"&&Number.isFinite(e)?e:null},qn=({label:t,description:s,axes:e,series:n,max:c,height:i=320,width:m,formatValue:d,className:k,testId:A})=>{const{labels:T}=dt.useUi(),[C,b]=yt(m),[R,E]=f.useState(()=>new Set),S=f.useMemo(()=>At(T==null?void 0:T.locale),[T==null?void 0:T.locale]),q=f.useMemo(()=>pt(T==null?void 0:T.locale),[T==null?void 0:T.locale]),z=d??q,N=f.useMemo(()=>n.map((a,h)=>({...a,tone:Tt(h,a.tone)})),[n]),I=f.useMemo(()=>N.filter(a=>!R.has(a.id)),[N,R]),P=f.useMemo(()=>{const a=e.length,h=a>0?Math.PI*2/a:0,r=e.map((V,U)=>U*h),o=Math.min(b*.22,Math.max(0,...e.map(V=>ht(V.label)))),x=Math.max(24,Math.min(i/2-24,b/2-o-re-4)),M=b/2,w=i/2;let y=0;for(const V of n)for(const U of e){const G=qt(V,U.key);G!==null&&G>y&&(y=G)}const _=c!==void 0&&c>0?c:jt(0,y,4)[1],D=ot(0,_,4).filter(V=>V>0);return{cx:M,cy:w,radius:x,angles:r,step:h,top:_,rings:D,scale:V=>Math.min(Math.max(V,0),_)/_*x,labelRoom:o}},[e,n,c,b,i]),$=f.useMemo(()=>{const{cx:a,cy:h,angles:r,scale:o}=P;return I.map(x=>({...x,points:e.map((M,w)=>{const y=qt(x,M.key);return{...tt(a,h,o(y??0),r[w]),value:y}})}))},[P,I,e]),j=f.useMemo(()=>{const{cx:a,cy:h,radius:r,angles:o,rings:x,scale:M,labelRoom:w}=P,y=x.length>0?M(x[0]):r,_=Math.max(1,Math.ceil(zn/Math.max(1,y))),D=S(x);return l.jsxs("g",{children:[l.jsxs("g",{"aria-hidden":!0,className:_t.grid,children:[x.map(L=>l.jsx("path",{d:Yt(o.map(V=>tt(a,h,M(L),V)))},L)),o.map((L,V)=>{const U=tt(a,h,r,L);return l.jsx("line",{x1:a,y1:h,x2:U.x,y2:U.y},e[V].key)})]}),$.map(L=>l.jsx("path",{className:_t.shape,d:Yt(L.points),style:{fill:`color-mix(in srgb, ${Y(L.tone)} 14%, transparent)`,stroke:Y(L.tone)}},L.id)),l.jsxs("g",{"aria-hidden":!0,className:_t.labels,children:[x.map((L,V)=>(x.length-1-V)%_===0?l.jsx("text",{x:a+4,y:h-M(L),dy:"1.1em",children:D[V]},L):null),e.map((L,V)=>{const U=o[V],G=tt(a,h,r+re,U),g=Math.sin(U),F=Math.cos(U),H=g>.3?"start":g<-.3?"end":"middle",X=F>.3?"-0.2em":F<-.3?"0.9em":"0.32em";return l.jsx("text",{className:_t.axisLabel,x:G.x,y:G.y,dy:X,textAnchor:H,children:St(L.label,H==="middle"?r*1.4:w)},L.key)})]})]})},[P,$,e,S]),u=f.useCallback((a,h)=>{const{cx:r,cy:o,radius:x,step:M}=P;if(e.length===0||Math.hypot(a-r,h-o)>x+Dn)return null;let w=Math.atan2(a-r,-(h-o));return w<0&&(w+=Math.PI*2),Math.round(w/M)%e.length},[P,e.length]),p=a=>$.map(h=>{const r=h.points[a].value;return{id:h.id,label:h.label,value:r===null?"—":z(r),tone:h.tone}});return l.jsx(ft,{label:t,description:s,containerRef:C,width:b,height:i,plot:j,overlay:a=>{const{cx:h,cy:r,radius:o,angles:x}=P,M=tt(h,r,o,x[a]);return l.jsxs("g",{children:[l.jsx("line",{className:_t.spoke,x1:h,y1:r,x2:M.x,y2:M.y}),$.map(w=>{const y=w.points[a];return y.value===null?null:l.jsx("circle",{className:_t.marker,cx:y.x,cy:y.y,r:4.5,style:{fill:Y(w.tone)}},w.id)})]})},itemCount:e.length,pick:u,tooltip:a=>({title:e[a].label,rows:p(a)}),anchor:a=>{const{cx:h,cy:r,radius:o,angles:x}=P;let M=0;for(const w of $){const y=w.points[a];M=Math.max(M,Math.hypot(y.x-h,y.y-r))}return tt(h,r,Math.min(o,M),x[a])},tooltipSide:"outward",announce:a=>`${e[a].label}: ${p(a).map(h=>`${h.label} ${h.value}`).join(", ")}`,table:{columns:[t,...N.map(a=>a.label)],rows:e.map(a=>[a.label,...N.map(h=>{const r=qt(h,a.key);return r===null?"—":z(r)})])},legend:N.length>1?{entries:N.map(a=>({id:a.id,label:a.label,tone:a.tone})),hidden:R,onToggle:a=>E(h=>{const r=new Set(h);return r.has(a)?r.delete(a):N.length-h.size>1&&r.add(a),r})}:void 0,className:k,testId:A})},Gn=f.memo(at(qn,"RadarChart"));exports.AreaChart=tn;exports.BarChart=nn;exports.BoxPlot=Tn;exports.ComposedChart=on;exports.Heatmap=$n;exports.Histogram=Fn;exports.LineChart=Je;exports.PieChart=hn;exports.RadarChart=Gn;exports.ScatterPlot=pn;
2
+ //# sourceMappingURL=charts.cjs.map