reshaped 2.11.12 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1225) hide show
  1. package/CHANGELOG.md +60 -0
  2. package/bin/cli.js +1 -1
  3. package/dist/bundle.css +1 -0
  4. package/dist/bundle.js +27 -0
  5. package/dist/cjs/cli/theming/index.js +38 -0
  6. package/dist/cjs/cli/theming/reshaped.config.d.ts +3 -0
  7. package/dist/cjs/cli/theming/reshaped.config.js +26 -0
  8. package/dist/cjs/config/tailwind.d.ts +2 -0
  9. package/dist/cjs/themes/_generator/constants.d.ts +2 -0
  10. package/dist/cjs/themes/_generator/definitions/figma.d.ts +3 -0
  11. package/dist/cjs/themes/_generator/definitions/figma.js +187 -0
  12. package/dist/cjs/themes/_generator/definitions/reshaped.d.ts +3 -0
  13. package/dist/cjs/themes/_generator/definitions/reshaped.js +197 -0
  14. package/dist/cjs/themes/_generator/definitions/slate.d.ts +3 -0
  15. package/dist/cjs/themes/_generator/definitions/slate.js +13 -0
  16. package/dist/cjs/themes/_generator/tokens/color/color.types.d.ts +7 -0
  17. package/dist/cjs/themes/_generator/tokens/font/font.transforms.js +37 -0
  18. package/dist/cjs/themes/_generator/tokens/fontWeight/fontWeight.types.d.ts +4 -0
  19. package/dist/cjs/themes/_generator/tokens/radius/radius.transforms.d.ts +4 -0
  20. package/dist/cjs/themes/_generator/tokens/radius/radius.transforms.js +11 -0
  21. package/dist/cjs/themes/_generator/tokens/radius/radius.types.d.ts +4 -0
  22. package/dist/cjs/themes/_generator/tokens/transforms.d.ts +12 -0
  23. package/dist/cjs/themes/_generator/tokens/transforms.js +28 -0
  24. package/dist/cjs/themes/_generator/tokens/types.d.ts +55 -0
  25. package/dist/cjs/themes/_generator/tokens/unit/unit.types.d.ts +5 -0
  26. package/dist/cjs/themes/_generator/transform.js +61 -0
  27. package/dist/cjs/themes/_generator/types.d.ts +19 -0
  28. package/dist/cjs/themes/_generator/utilities/color.d.ts +89 -0
  29. package/dist/cjs/themes/_generator/utilities/color.js +359 -0
  30. package/dist/cjs/themes/_generator/utilities/generateBackgroundColors.js +57 -0
  31. package/dist/cjs/themes/_generator/utilities/generateColors.d.ts +11 -0
  32. package/dist/cjs/themes/_generator/utilities/generateColors.js +177 -0
  33. package/dist/cjs/themes/_generator/utilities/generateUnits.js +16 -0
  34. package/dist/cjs/themes/_generator/utilities/mergeDefinitions.js +17 -0
  35. package/dist/cjs/themes/_generator/utilities/tests/color.test.js +49 -0
  36. package/dist/cjs/themes/figma/theme.css +1 -0
  37. package/dist/cjs/themes/index.d.ts +12 -0
  38. package/dist/cjs/themes/reshaped/theme.css +1 -0
  39. package/dist/cjs/themes/slate/theme.css +1 -0
  40. package/dist/cjs/types/config.d.ts +14 -0
  41. package/dist/cjs/types/config.js +2 -0
  42. package/dist/cli/theming/index.d.ts +4 -0
  43. package/dist/cli/theming/index.js +30 -0
  44. package/dist/cli/theming/reshaped.config.d.ts +3 -0
  45. package/dist/cli/theming/reshaped.config.js +21 -0
  46. package/dist/components/Accordion/Accordion.js +14 -0
  47. package/dist/components/Accordion/Accordion.types.d.ts +39 -0
  48. package/dist/components/Accordion/AccordionControlled.js +23 -0
  49. package/dist/components/Accordion/AccordionTrigger.js +24 -0
  50. package/dist/components/Accordion/AccordionUncontrolled.js +14 -0
  51. package/dist/components/ActionBar/ActionBar.types.d.ts +10 -0
  52. package/dist/components/Actionable/Actionable.js +54 -0
  53. package/dist/components/Actionable/Actionable.types.d.ts +18 -0
  54. package/dist/components/Alert/Alert.js +25 -0
  55. package/dist/components/Alert/Alert.module.css +1 -0
  56. package/dist/components/Alert/Alert.types.d.ts +14 -0
  57. package/dist/components/Alert/tests/Alert.stories.js +99 -0
  58. package/dist/components/Autocomplete/Autocomplete.js +72 -0
  59. package/dist/components/Autocomplete/Autocomplete.types.d.ts +17 -0
  60. package/dist/components/Avatar/Avatar.js +29 -0
  61. package/dist/components/Avatar/Avatar.types.d.ts +30 -0
  62. package/dist/components/Badge/Badge.d.ts +3 -0
  63. package/dist/components/Badge/Badge.js +24 -0
  64. package/dist/components/Badge/Badge.module.css +1 -0
  65. package/dist/components/Badge/Badge.types.d.ts +42 -0
  66. package/dist/components/Badge/BadgeContainer.js +9 -0
  67. package/dist/components/Badge/tests/Badge.stories.d.ts +19 -0
  68. package/dist/components/Badge/tests/Badge.stories.js +247 -0
  69. package/dist/components/Breadcrumbs/Breadcrumbs.js +42 -0
  70. package/dist/components/Breadcrumbs/Breadcrumbs.types.d.ts +14 -0
  71. package/dist/components/Button/Button.js +34 -0
  72. package/dist/components/Button/Button.module.css +1 -0
  73. package/dist/components/Button/Button.types.d.ts +33 -0
  74. package/dist/components/Button/ButtonAligner.js +7 -0
  75. package/dist/components/Button/ButtonGroup.js +9 -0
  76. package/dist/components/Button/tests/Button.stories.js +614 -0
  77. package/dist/components/Calendar/Calendar.js +9 -0
  78. package/dist/components/Calendar/Calendar.module.css +1 -0
  79. package/dist/components/Calendar/Calendar.utils.js +110 -0
  80. package/dist/components/Calendar/CalendarControlled.js +68 -0
  81. package/dist/components/Calendar/CalendarControls.js +46 -0
  82. package/dist/components/Calendar/CalendarDate.js +57 -0
  83. package/dist/components/Calendar/CalendarMonth.js +50 -0
  84. package/dist/components/Calendar/CalendarUncontrolled.js +19 -0
  85. package/dist/components/Calendar/CalendarYear.js +43 -0
  86. package/dist/components/Calendar/useCalendarKeyboardNavigation.js +66 -0
  87. package/dist/components/Card/Card.d.ts +16 -0
  88. package/dist/components/Card/Card.js +35 -0
  89. package/dist/components/Card/Card.module.css +1 -0
  90. package/dist/components/Card/Card.types.d.ts +16 -0
  91. package/dist/components/Card/tests/Card.stories.d.ts +31 -0
  92. package/dist/components/Carousel/Carousel.js +67 -0
  93. package/dist/components/Carousel/Carousel.types.d.ts +28 -0
  94. package/dist/components/Carousel/CarouselControl.js +42 -0
  95. package/dist/components/Carousel/tests/Carousel.stories.js +127 -0
  96. package/dist/components/Checkbox/Checkbox.js +41 -0
  97. package/dist/components/Checkbox/Checkbox.module.css +1 -0
  98. package/dist/components/Checkbox/Checkbox.types.d.ts +26 -0
  99. package/dist/components/CheckboxGroup/CheckboxGroup.js +10 -0
  100. package/dist/components/CheckboxGroup/CheckboxGroupUncontrolled.js +17 -0
  101. package/dist/components/Container/Container.js +10 -0
  102. package/dist/components/Container/Container.types.d.ts +9 -0
  103. package/dist/components/Container/tests/Container.stories.d.ts +13 -0
  104. package/dist/components/Container/tests/Container.stories.js +42 -0
  105. package/dist/components/Dismissible/Dismissible.js +12 -0
  106. package/dist/components/Dismissible/Dismissible.types.d.ts +20 -0
  107. package/dist/components/Divider/Divider.js +14 -0
  108. package/dist/components/Divider/Divider.types.d.ts +7 -0
  109. package/dist/components/DropdownMenu/DropdownMenu.d.ts +12 -0
  110. package/dist/components/DropdownMenu/DropdownMenu.js +75 -0
  111. package/dist/components/FileUpload/FileUpload.js +47 -0
  112. package/dist/components/FileUpload/FileUpload.types.d.ts +13 -0
  113. package/dist/components/FormControl/FormControl.context.d.ts +278 -0
  114. package/dist/components/FormControl/FormControl.d.ts +11 -0
  115. package/dist/components/FormControl/FormControlLabel.js +18 -0
  116. package/dist/components/FormControl/tests/FormControl.stories.d.ts +19 -0
  117. package/dist/components/Hidden/Hidden.js +9 -0
  118. package/dist/components/Hidden/Hidden.module.css +1 -0
  119. package/dist/components/Hidden/Hidden.types.d.ts +8 -0
  120. package/dist/components/Hidden/tests/Hidden.stories.d.ts +11 -0
  121. package/dist/components/Hidden/tests/Hidden.stories.js +36 -0
  122. package/dist/components/Hotkey/Hotkey.module.css +1 -0
  123. package/dist/components/Hotkey/Hotkey.types.d.ts +8 -0
  124. package/dist/components/Hotkey/tests/Hotkey.stories.js +38 -0
  125. package/dist/components/Icon/Icon.js +18 -0
  126. package/dist/components/Icon/Icon.types.d.ts +10 -0
  127. package/dist/components/Image/Image.js +41 -0
  128. package/dist/components/Image/Image.types.d.ts +17 -0
  129. package/dist/components/Link/Link.d.ts +6 -0
  130. package/dist/components/Link/Link.module.css +1 -0
  131. package/dist/components/Link/Link.types.d.ts +7 -0
  132. package/dist/components/Link/tests/Link.stories.d.ts +19 -0
  133. package/dist/components/Link/tests/Link.stories.js +72 -0
  134. package/dist/components/Loader/Loader.js +10 -0
  135. package/dist/components/Loader/Loader.module.css +1 -0
  136. package/dist/components/Loader/Loader.types.d.ts +7 -0
  137. package/dist/components/Loader/tests/Loader.stories.js +39 -0
  138. package/dist/components/MenuItem/MenuItem.js +17 -0
  139. package/dist/components/MenuItem/MenuItem.module.css +1 -0
  140. package/dist/components/MenuItem/MenuItem.types.d.ts +23 -0
  141. package/dist/components/MenuItem/MenuItemAligner.js +7 -0
  142. package/dist/components/MenuItem/tests/MenuItem.stories.js +130 -0
  143. package/dist/components/Modal/Modal.js +174 -0
  144. package/dist/components/Modal/Modal.module.css +1 -0
  145. package/dist/components/Modal/Modal.types.d.ts +30 -0
  146. package/dist/components/Modal/tests/Modal.stories.d.ts +23 -0
  147. package/dist/components/Modal/tests/Modal.stories.js +194 -0
  148. package/dist/components/Overlay/Overlay.js +106 -0
  149. package/dist/components/Overlay/Overlay.module.css +1 -0
  150. package/dist/components/Overlay/Overlay.types.d.ts +13 -0
  151. package/dist/components/Pagination/Pagination.js +10 -0
  152. package/dist/components/Pagination/Pagination.types.d.ts +52 -0
  153. package/dist/components/Pagination/PaginationControlled.js +48 -0
  154. package/dist/components/Pagination/PaginationUncontrolled.js +14 -0
  155. package/dist/components/PinField/PinField.js +10 -0
  156. package/dist/components/PinField/PinField.types.d.ts +23 -0
  157. package/dist/components/PinField/PinFieldControlled.js +160 -0
  158. package/dist/components/PinField/PinFieldUncontrolled.js +14 -0
  159. package/dist/components/Popover/Popover.js +18 -0
  160. package/dist/components/Popover/Popover.module.css +1 -0
  161. package/dist/components/Popover/tests/Popover.stories.js +118 -0
  162. package/dist/components/Progress/Progress.js +17 -0
  163. package/dist/components/Progress/Progress.module.css +1 -0
  164. package/dist/components/Progress/Progress.types.d.ts +11 -0
  165. package/dist/components/Progress/tests/Progress.stories.js +66 -0
  166. package/dist/components/Radio/Radio.js +30 -0
  167. package/dist/components/Radio/Radio.module.css +1 -0
  168. package/dist/components/Radio/Radio.types.d.ts +25 -0
  169. package/dist/components/RadioGroup/RadioGroup.js +10 -0
  170. package/dist/components/RadioGroup/RadioGroupUncontrolled.js +17 -0
  171. package/dist/components/Reshaped/Reshaped.css +1 -0
  172. package/dist/components/Reshaped/Reshaped.js +22 -0
  173. package/dist/components/Scrim/Scrim.js +10 -0
  174. package/dist/components/Scrim/Scrim.types.d.ts +11 -0
  175. package/dist/components/ScrollArea/ScrollArea.js +141 -0
  176. package/dist/components/ScrollArea/ScrollArea.module.css +1 -0
  177. package/dist/components/ScrollArea/ScrollArea.types.d.ts +23 -0
  178. package/dist/components/ScrollArea/tests/ScrollArea.stories.js +115 -0
  179. package/dist/components/Select/Select.js +52 -0
  180. package/dist/components/Select/Select.module.css +1 -0
  181. package/dist/components/Select/Select.types.d.ts +51 -0
  182. package/dist/components/Skeleton/Skeleton.types.d.ts +6 -0
  183. package/dist/components/Slider/Slider.js +15 -0
  184. package/dist/components/Slider/Slider.module.css +1 -0
  185. package/dist/components/Slider/Slider.types.d.ts +80 -0
  186. package/dist/components/Slider/Slider.utilities.js +14 -0
  187. package/dist/components/Slider/SliderControlled.js +203 -0
  188. package/dist/components/Slider/SliderUncontrolled.js +33 -0
  189. package/dist/components/Slider/tests/Slider.stories.js +51 -0
  190. package/dist/components/Stepper/Stepper.js +30 -0
  191. package/dist/components/Stepper/Stepper.types.d.ts +26 -0
  192. package/dist/components/Stepper/tests/Stepper.stories.js +86 -0
  193. package/dist/components/Switch/Switch.js +26 -0
  194. package/dist/components/Switch/Switch.module.css +1 -0
  195. package/dist/components/Switch/Switch.types.d.ts +26 -0
  196. package/dist/components/Switch/tests/Switch.stories.js +63 -0
  197. package/dist/components/Table/Table.js +50 -0
  198. package/dist/components/Table/Table.module.css +1 -0
  199. package/dist/components/Tabs/Tabs.js +16 -0
  200. package/dist/components/Tabs/Tabs.module.css +1 -0
  201. package/dist/components/Tabs/Tabs.types.d.ts +61 -0
  202. package/dist/components/Tabs/TabsContext.d.ts +23 -0
  203. package/dist/components/Tabs/TabsContext.js +12 -0
  204. package/dist/components/Tabs/TabsItem.js +63 -0
  205. package/dist/components/Tabs/TabsList.js +156 -0
  206. package/dist/components/Tabs/TabsUncontrolled.js +19 -0
  207. package/dist/components/Text/Text.js +27 -0
  208. package/dist/components/Text/Text.types.d.ts +16 -0
  209. package/dist/components/Text/tests/Text.stories.js +134 -0
  210. package/dist/components/TextArea/TextArea.js +34 -0
  211. package/dist/components/TextArea/TextArea.module.css +1 -0
  212. package/dist/components/TextArea/TextArea.types.d.ts +29 -0
  213. package/dist/components/TextField/TextField.js +44 -0
  214. package/dist/components/TextField/TextField.module.css +1 -0
  215. package/dist/components/TextField/TextField.types.d.ts +42 -0
  216. package/dist/components/Theme/Theme.context.js +16 -0
  217. package/dist/components/Theme/Theme.js +60 -0
  218. package/dist/components/Theme/Theme.types.d.ts +26 -0
  219. package/dist/components/Theme/useTheme.d.ts +10 -0
  220. package/dist/components/Theme/useTheme.js +20 -0
  221. package/dist/components/Timeline/Timeline.js +20 -0
  222. package/dist/components/Timeline/Timeline.types.d.ts +13 -0
  223. package/dist/components/Toast/Toast.constants.js +21 -0
  224. package/dist/components/Toast/Toast.js +44 -0
  225. package/dist/components/Toast/Toast.module.css +1 -0
  226. package/dist/components/Toast/Toast.types.d.ts +80 -0
  227. package/dist/components/Toast/ToastContainer.js +96 -0
  228. package/dist/components/Toast/ToastProvider.js +77 -0
  229. package/dist/components/Toast/ToastRegion.js +64 -0
  230. package/dist/components/Toast/tests/Toast.stories.js +327 -0
  231. package/dist/components/Tooltip/Tooltip.module.css +1 -0
  232. package/dist/components/Tooltip/tests/Tooltip.stories.js +85 -0
  233. package/dist/components/View/View.d.ts +6 -0
  234. package/dist/components/View/View.js +169 -0
  235. package/dist/components/View/tests/View.stories.d.ts +43 -0
  236. package/dist/components/View/tests/View.stories.js +1090 -0
  237. package/dist/components/_private/Aligner/Aligner.js +10 -0
  238. package/dist/components/_private/Aligner/Aligner.types.d.ts +9 -0
  239. package/dist/components/_private/Expandable/Expandable.js +44 -0
  240. package/dist/components/_private/Expandable/Expandable.module.css +1 -0
  241. package/dist/components/_private/Flyout/Flyout.context.d.ts +9 -0
  242. package/dist/components/_private/Flyout/Flyout.context.js +10 -0
  243. package/dist/components/_private/Flyout/Flyout.js +14 -0
  244. package/dist/components/_private/Flyout/Flyout.types.d.ts +112 -0
  245. package/dist/components/_private/Flyout/FlyoutContent.js +57 -0
  246. package/dist/components/_private/Flyout/FlyoutControlled.js +240 -0
  247. package/dist/components/_private/Flyout/FlyoutTrigger.js +38 -0
  248. package/dist/components/_private/Flyout/FlyoutUncontrolled.js +20 -0
  249. package/dist/components/_private/Flyout/tests/Flyout.stories.js +172 -0
  250. package/dist/components/_private/Flyout/useFlyout.js +198 -0
  251. package/dist/components/_private/HiddenInput/HiddenInput.js +9 -0
  252. package/dist/components/_private/Portal/Portal.js +34 -0
  253. package/dist/config/postcss.d.ts +28 -0
  254. package/dist/config/postcss.js +26 -0
  255. package/dist/config/tailwind.d.ts +2 -0
  256. package/dist/config/tailwind.js +83 -0
  257. package/dist/hooks/_private/useIsDismissible.js +44 -0
  258. package/dist/hooks/_private/useSingletonHotkeys.js +179 -0
  259. package/dist/hooks/tests/useHotkeys.stories.js +30 -0
  260. package/dist/hooks/useHotkeys.js +25 -0
  261. package/dist/icons/Mic.js +5 -0
  262. package/dist/styles/radius/radius.module.css +1 -0
  263. package/dist/tests/themingWithDefinition.js +5 -0
  264. package/dist/tests/themingWithoutDefinition.js +5 -0
  265. package/dist/themes/_generator/constants.d.ts +2 -0
  266. package/dist/themes/_generator/constants.js +8 -0
  267. package/dist/themes/_generator/definitions/figma.d.ts +3 -0
  268. package/dist/themes/_generator/definitions/figma.js +185 -0
  269. package/dist/themes/_generator/definitions/reshaped.d.ts +3 -0
  270. package/dist/themes/_generator/definitions/reshaped.js +195 -0
  271. package/dist/themes/_generator/definitions/slate.d.ts +3 -0
  272. package/dist/themes/_generator/definitions/slate.js +8 -0
  273. package/dist/themes/_generator/tests/themes.stories.js +248 -0
  274. package/dist/themes/_generator/tokens/color/color.transforms.d.ts +4 -0
  275. package/dist/themes/_generator/tokens/color/color.transforms.js +18 -0
  276. package/dist/themes/_generator/tokens/color/color.types.d.ts +7 -0
  277. package/dist/themes/_generator/tokens/duration/duration.transforms.d.ts +4 -0
  278. package/dist/themes/_generator/tokens/duration/duration.transforms.js +9 -0
  279. package/dist/themes/_generator/tokens/duration/duration.types.d.ts +4 -0
  280. package/dist/themes/_generator/tokens/duration/duration.types.js +1 -0
  281. package/dist/themes/_generator/tokens/easing/easing.transforms.d.ts +4 -0
  282. package/dist/themes/_generator/tokens/easing/easing.transforms.js +9 -0
  283. package/dist/themes/_generator/tokens/easing/easing.types.d.ts +7 -0
  284. package/dist/themes/_generator/tokens/easing/easing.types.js +1 -0
  285. package/dist/themes/_generator/tokens/font/font.transforms.d.ts +4 -0
  286. package/dist/themes/_generator/tokens/font/font.transforms.js +35 -0
  287. package/dist/themes/_generator/tokens/font/font.types.d.ts +10 -0
  288. package/dist/themes/_generator/tokens/font/font.types.js +1 -0
  289. package/dist/themes/_generator/tokens/fontFamily/fontFamily.transforms.d.ts +4 -0
  290. package/dist/themes/_generator/tokens/fontFamily/fontFamily.transforms.js +9 -0
  291. package/dist/themes/_generator/tokens/fontFamily/fontFamily.types.d.ts +4 -0
  292. package/dist/themes/_generator/tokens/fontFamily/fontFamily.types.js +1 -0
  293. package/dist/themes/_generator/tokens/fontWeight/fontWeight.transforms.d.ts +4 -0
  294. package/dist/themes/_generator/tokens/fontWeight/fontWeight.transforms.js +9 -0
  295. package/dist/themes/_generator/tokens/fontWeight/fontWeight.types.d.ts +4 -0
  296. package/dist/themes/_generator/tokens/fontWeight/fontWeight.types.js +1 -0
  297. package/dist/themes/_generator/tokens/radius/radius.transforms.d.ts +4 -0
  298. package/dist/themes/_generator/tokens/radius/radius.transforms.js +9 -0
  299. package/dist/themes/_generator/tokens/radius/radius.types.d.ts +4 -0
  300. package/dist/themes/_generator/tokens/radius/radius.types.js +1 -0
  301. package/dist/themes/_generator/tokens/shadow/shadow.transforms.d.ts +4 -0
  302. package/dist/themes/_generator/tokens/shadow/shadow.transforms.js +20 -0
  303. package/dist/themes/_generator/tokens/shadow/shadow.types.d.ts +13 -0
  304. package/dist/themes/_generator/tokens/shadow/shadow.types.js +1 -0
  305. package/dist/themes/_generator/tokens/transforms.d.ts +12 -0
  306. package/dist/themes/_generator/tokens/transforms.js +22 -0
  307. package/dist/themes/_generator/tokens/types.d.ts +55 -0
  308. package/dist/themes/_generator/tokens/types.js +1 -0
  309. package/dist/themes/_generator/tokens/unit/unit.transforms.d.ts +4 -0
  310. package/dist/themes/_generator/tokens/unit/unit.transforms.js +9 -0
  311. package/dist/themes/_generator/tokens/unit/unit.types.d.ts +5 -0
  312. package/dist/themes/_generator/tokens/unit/unit.types.js +1 -0
  313. package/dist/themes/_generator/tokens/viewport/viewport.transforms.d.ts +4 -0
  314. package/dist/themes/_generator/tokens/viewport/viewport.transforms.js +16 -0
  315. package/dist/themes/_generator/tokens/viewport/viewport.types.d.ts +9 -0
  316. package/dist/themes/_generator/tokens/viewport/viewport.types.js +1 -0
  317. package/dist/themes/_generator/transform.d.ts +7 -0
  318. package/dist/themes/_generator/transform.js +33 -0
  319. package/dist/themes/_generator/types.d.ts +19 -0
  320. package/dist/themes/_generator/types.js +1 -0
  321. package/dist/themes/_generator/utilities/color.d.ts +89 -0
  322. package/dist/themes/_generator/utilities/color.js +329 -0
  323. package/dist/themes/_generator/utilities/css.d.ts +6 -0
  324. package/dist/themes/_generator/utilities/css.js +44 -0
  325. package/dist/themes/_generator/utilities/generateBackgroundColors.d.ts +4 -0
  326. package/dist/themes/_generator/utilities/generateBackgroundColors.js +55 -0
  327. package/dist/themes/_generator/utilities/generateColors.d.ts +11 -0
  328. package/dist/themes/_generator/utilities/generateColors.js +175 -0
  329. package/dist/themes/_generator/utilities/generateUnits.d.ts +4 -0
  330. package/dist/themes/_generator/utilities/generateUnits.js +14 -0
  331. package/dist/themes/_generator/utilities/mergeDeep.d.ts +5 -0
  332. package/dist/themes/_generator/utilities/mergeDeep.js +22 -0
  333. package/dist/themes/_generator/utilities/mergeDefinitions.d.ts +5 -0
  334. package/dist/themes/_generator/utilities/mergeDefinitions.js +15 -0
  335. package/dist/themes/_generator/utilities/resolveTokenReference.d.ts +3 -0
  336. package/dist/themes/_generator/utilities/resolveTokenReference.js +14 -0
  337. package/dist/themes/figma/media.css +1 -0
  338. package/dist/themes/figma/theme.css +1 -0
  339. package/dist/themes/fragments/twitter/theme.css +1 -0
  340. package/dist/themes/index.d.ts +12 -0
  341. package/dist/themes/index.js +10 -0
  342. package/dist/themes/reshaped/media.css +1 -0
  343. package/dist/themes/reshaped/theme.css +1 -0
  344. package/dist/themes/slate/media.css +1 -0
  345. package/dist/themes/slate/theme.css +1 -0
  346. package/dist/types/config.d.ts +14 -0
  347. package/dist/types/config.js +1 -0
  348. package/dist/types/global.d.ts +29 -0
  349. package/dist/types/global.js +1 -0
  350. package/dist/utilities/Chain.js +60 -0
  351. package/dist/utilities/a11y/TrapFocus.js +130 -0
  352. package/dist/utilities/a11y/TrapScreenReader.js +40 -0
  353. package/dist/utilities/a11y/focus.js +89 -0
  354. package/dist/utilities/a11y/types.js +1 -0
  355. package/dist/utilities/dom.js +18 -0
  356. package/dist/utilities/helpers.js +138 -0
  357. package/dist/utilities/storybook/Example.js +14 -0
  358. package/dist/utilities/storybook/Placeholder.js +17 -0
  359. package/dist/utilities/string.d.ts +2 -0
  360. package/dist/utilities/string.js +6 -0
  361. package/package.json +41 -27
  362. package/bin/clean.sh +0 -3
  363. package/bin/release-copy.sh +0 -8
  364. package/bin/release-source.sh +0 -20
  365. package/bundle.css +0 -1
  366. package/bundle.js +0 -27
  367. package/cli/theming/index.js +0 -38
  368. package/cli/theming/reshaped.config.d.ts +0 -3
  369. package/cli/theming/reshaped.config.js +0 -25
  370. package/components/Accordion/Accordion.js +0 -14
  371. package/components/Accordion/Accordion.types.d.ts +0 -39
  372. package/components/Accordion/AccordionControlled.js +0 -23
  373. package/components/Accordion/AccordionTrigger.js +0 -24
  374. package/components/Accordion/AccordionUncontrolled.js +0 -25
  375. package/components/ActionBar/ActionBar.types.d.ts +0 -10
  376. package/components/Actionable/Actionable.js +0 -55
  377. package/components/Actionable/Actionable.types.d.ts +0 -18
  378. package/components/Alert/Alert.js +0 -21
  379. package/components/Alert/Alert.types.d.ts +0 -14
  380. package/components/Alert/tests/Alert.stories.js +0 -95
  381. package/components/Autocomplete/Autocomplete.js +0 -78
  382. package/components/Autocomplete/Autocomplete.types.d.ts +0 -16
  383. package/components/Avatar/Avatar.js +0 -29
  384. package/components/Avatar/Avatar.types.d.ts +0 -30
  385. package/components/Badge/Badge.d.ts +0 -6
  386. package/components/Badge/Badge.js +0 -19
  387. package/components/Badge/Badge.module.css +0 -1
  388. package/components/Badge/Badge.types.d.ts +0 -39
  389. package/components/Badge/BadgeContainer.js +0 -9
  390. package/components/Badge/tests/Badge.stories.d.ts +0 -22
  391. package/components/Badge/tests/Badge.stories.js +0 -242
  392. package/components/Breadcrumbs/Breadcrumbs.js +0 -42
  393. package/components/Breadcrumbs/Breadcrumbs.types.d.ts +0 -14
  394. package/components/Button/Button.js +0 -34
  395. package/components/Button/Button.module.css +0 -1
  396. package/components/Button/Button.types.d.ts +0 -33
  397. package/components/Button/ButtonAligner.js +0 -7
  398. package/components/Button/ButtonGroup.js +0 -9
  399. package/components/Button/tests/Button.stories.js +0 -646
  400. package/components/Calendar/Calendar.js +0 -9
  401. package/components/Calendar/Calendar.module.css +0 -1
  402. package/components/Calendar/Calendar.utils.js +0 -110
  403. package/components/Calendar/CalendarControlled.js +0 -69
  404. package/components/Calendar/CalendarControls.js +0 -46
  405. package/components/Calendar/CalendarDate.js +0 -57
  406. package/components/Calendar/CalendarMonth.js +0 -51
  407. package/components/Calendar/CalendarUncontrolled.js +0 -30
  408. package/components/Calendar/CalendarYear.js +0 -44
  409. package/components/Calendar/useCalendarKeyboardNavigation.js +0 -66
  410. package/components/Card/Card.d.ts +0 -17
  411. package/components/Card/Card.js +0 -30
  412. package/components/Card/Card.module.css +0 -1
  413. package/components/Card/Card.types.d.ts +0 -16
  414. package/components/Card/tests/Card.stories.d.ts +0 -31
  415. package/components/Carousel/Carousel.js +0 -64
  416. package/components/Carousel/Carousel.types.d.ts +0 -28
  417. package/components/Carousel/CarouselControl.js +0 -42
  418. package/components/Carousel/tests/Carousel.stories.js +0 -127
  419. package/components/Checkbox/Checkbox.js +0 -39
  420. package/components/Checkbox/Checkbox.module.css +0 -1
  421. package/components/Checkbox/Checkbox.types.d.ts +0 -26
  422. package/components/CheckboxGroup/CheckboxGroup.js +0 -10
  423. package/components/CheckboxGroup/CheckboxGroupUncontrolled.js +0 -17
  424. package/components/Container/Container.js +0 -10
  425. package/components/Container/Container.types.d.ts +0 -9
  426. package/components/Container/tests/Container.stories.d.ts +0 -12
  427. package/components/Container/tests/Container.stories.js +0 -35
  428. package/components/Dismissible/Dismissible.js +0 -12
  429. package/components/Dismissible/Dismissible.types.d.ts +0 -20
  430. package/components/Divider/Divider.js +0 -14
  431. package/components/Divider/Divider.types.d.ts +0 -7
  432. package/components/DropdownMenu/DropdownMenu.d.ts +0 -12
  433. package/components/DropdownMenu/DropdownMenu.js +0 -88
  434. package/components/FileUpload/FileUpload.js +0 -52
  435. package/components/FileUpload/FileUpload.types.d.ts +0 -13
  436. package/components/FormControl/FormControl.context.d.ts +0 -278
  437. package/components/FormControl/FormControl.d.ts +0 -11
  438. package/components/FormControl/FormControlLabel.js +0 -18
  439. package/components/FormControl/tests/FormControl.stories.d.ts +0 -19
  440. package/components/Hidden/Hidden.js +0 -11
  441. package/components/Hidden/Hidden.module.css +0 -1
  442. package/components/Hidden/Hidden.types.d.ts +0 -9
  443. package/components/Hidden/tests/Hidden.stories.d.ts +0 -12
  444. package/components/Hidden/tests/Hidden.stories.js +0 -46
  445. package/components/Hotkey/Hotkey.module.css +0 -1
  446. package/components/Hotkey/Hotkey.types.d.ts +0 -8
  447. package/components/Hotkey/tests/Hotkey.stories.js +0 -33
  448. package/components/Icon/Icon.js +0 -18
  449. package/components/Icon/Icon.types.d.ts +0 -10
  450. package/components/Image/Image.js +0 -38
  451. package/components/Image/Image.types.d.ts +0 -19
  452. package/components/Link/Link.d.ts +0 -6
  453. package/components/Link/Link.module.css +0 -1
  454. package/components/Link/Link.types.d.ts +0 -7
  455. package/components/Link/tests/Link.stories.d.ts +0 -19
  456. package/components/Link/tests/Link.stories.js +0 -69
  457. package/components/Loader/Loader.js +0 -10
  458. package/components/Loader/Loader.module.css +0 -1
  459. package/components/Loader/Loader.types.d.ts +0 -7
  460. package/components/Loader/tests/Loader.stories.js +0 -36
  461. package/components/MenuItem/MenuItem.js +0 -17
  462. package/components/MenuItem/MenuItem.module.css +0 -1
  463. package/components/MenuItem/MenuItem.types.d.ts +0 -23
  464. package/components/MenuItem/MenuItemAligner.js +0 -7
  465. package/components/MenuItem/tests/MenuItem.stories.js +0 -129
  466. package/components/Modal/Modal.js +0 -170
  467. package/components/Modal/Modal.module.css +0 -1
  468. package/components/Modal/Modal.types.d.ts +0 -29
  469. package/components/Modal/tests/Modal.stories.d.ts +0 -22
  470. package/components/Modal/tests/Modal.stories.js +0 -193
  471. package/components/Overlay/Overlay.js +0 -103
  472. package/components/Overlay/Overlay.module.css +0 -1
  473. package/components/Overlay/Overlay.types.d.ts +0 -12
  474. package/components/Pagination/Pagination.js +0 -10
  475. package/components/Pagination/Pagination.types.d.ts +0 -52
  476. package/components/Pagination/PaginationControlled.js +0 -48
  477. package/components/Pagination/PaginationUncontrolled.js +0 -25
  478. package/components/PinField/PinField.js +0 -10
  479. package/components/PinField/PinField.types.d.ts +0 -23
  480. package/components/PinField/PinFieldControlled.js +0 -161
  481. package/components/PinField/PinFieldUncontrolled.js +0 -25
  482. package/components/Popover/Popover.js +0 -19
  483. package/components/Popover/Popover.module.css +0 -1
  484. package/components/Popover/tests/Popover.stories.js +0 -126
  485. package/components/Progress/Progress.js +0 -17
  486. package/components/Progress/Progress.module.css +0 -1
  487. package/components/Progress/Progress.types.d.ts +0 -11
  488. package/components/Progress/tests/Progress.stories.js +0 -66
  489. package/components/Radio/Radio.js +0 -30
  490. package/components/Radio/Radio.module.css +0 -1
  491. package/components/Radio/Radio.types.d.ts +0 -25
  492. package/components/RadioGroup/RadioGroup.js +0 -10
  493. package/components/RadioGroup/RadioGroupUncontrolled.js +0 -17
  494. package/components/Reshaped/Reshaped.css +0 -1
  495. package/components/Reshaped/Reshaped.js +0 -22
  496. package/components/Scrim/Scrim.js +0 -10
  497. package/components/Scrim/Scrim.types.d.ts +0 -11
  498. package/components/ScrollArea/ScrollArea.js +0 -139
  499. package/components/ScrollArea/ScrollArea.module.css +0 -1
  500. package/components/ScrollArea/ScrollArea.types.d.ts +0 -23
  501. package/components/ScrollArea/tests/ScrollArea.stories.js +0 -115
  502. package/components/Select/Select.js +0 -49
  503. package/components/Select/Select.module.css +0 -1
  504. package/components/Select/Select.types.d.ts +0 -49
  505. package/components/Skeleton/Skeleton.types.d.ts +0 -6
  506. package/components/Slider/Slider.js +0 -26
  507. package/components/Slider/Slider.module.css +0 -1
  508. package/components/Slider/Slider.types.d.ts +0 -80
  509. package/components/Slider/Slider.utilities.js +0 -14
  510. package/components/Slider/SliderControlled.js +0 -209
  511. package/components/Slider/SliderUncontrolled.js +0 -33
  512. package/components/Slider/tests/Slider.stories.js +0 -52
  513. package/components/Stepper/Stepper.js +0 -30
  514. package/components/Stepper/Stepper.types.d.ts +0 -26
  515. package/components/Stepper/tests/Stepper.stories.js +0 -87
  516. package/components/Switch/Switch.js +0 -27
  517. package/components/Switch/Switch.module.css +0 -1
  518. package/components/Switch/Switch.types.d.ts +0 -26
  519. package/components/Switch/tests/Switch.stories.js +0 -60
  520. package/components/Table/Table.js +0 -45
  521. package/components/Table/Table.module.css +0 -1
  522. package/components/Tabs/Tabs.js +0 -16
  523. package/components/Tabs/Tabs.module.css +0 -1
  524. package/components/Tabs/Tabs.types.d.ts +0 -61
  525. package/components/Tabs/TabsContext.d.ts +0 -23
  526. package/components/Tabs/TabsContext.js +0 -19
  527. package/components/Tabs/TabsItem.js +0 -61
  528. package/components/Tabs/TabsList.js +0 -153
  529. package/components/Tabs/TabsUncontrolled.js +0 -19
  530. package/components/Text/Text.js +0 -24
  531. package/components/Text/Text.types.d.ts +0 -16
  532. package/components/Text/tests/Text.stories.js +0 -134
  533. package/components/TextArea/TextArea.js +0 -35
  534. package/components/TextArea/TextArea.module.css +0 -1
  535. package/components/TextArea/TextArea.types.d.ts +0 -29
  536. package/components/TextField/TextField.js +0 -45
  537. package/components/TextField/TextField.module.css +0 -1
  538. package/components/TextField/TextField.types.d.ts +0 -42
  539. package/components/Theme/Theme.context.js +0 -14
  540. package/components/Theme/Theme.js +0 -48
  541. package/components/Theme/Theme.types.d.ts +0 -24
  542. package/components/Theme/useTheme.d.ts +0 -8
  543. package/components/Theme/useTheme.js +0 -18
  544. package/components/Timeline/Timeline.js +0 -20
  545. package/components/Timeline/Timeline.types.d.ts +0 -13
  546. package/components/Toast/Toast.constants.js +0 -21
  547. package/components/Toast/Toast.js +0 -44
  548. package/components/Toast/Toast.module.css +0 -1
  549. package/components/Toast/Toast.types.d.ts +0 -80
  550. package/components/Toast/ToastContainer.js +0 -96
  551. package/components/Toast/ToastProvider.js +0 -85
  552. package/components/Toast/ToastRegion.js +0 -64
  553. package/components/Toast/tests/Toast.stories.js +0 -327
  554. package/components/Tooltip/Tooltip.module.css +0 -1
  555. package/components/Tooltip/tests/Tooltip.stories.js +0 -84
  556. package/components/View/View.d.ts +0 -6
  557. package/components/View/View.js +0 -152
  558. package/components/View/tests/View.stories.d.ts +0 -43
  559. package/components/View/tests/View.stories.js +0 -1090
  560. package/components/_private/Aligner/Aligner.js +0 -10
  561. package/components/_private/Aligner/Aligner.types.d.ts +0 -9
  562. package/components/_private/Expandable/Expandable.js +0 -27
  563. package/components/_private/Expandable/Expandable.module.css +0 -1
  564. package/components/_private/Flyout/Flyout.context.d.ts +0 -6
  565. package/components/_private/Flyout/Flyout.context.js +0 -6
  566. package/components/_private/Flyout/Flyout.js +0 -14
  567. package/components/_private/Flyout/Flyout.types.d.ts +0 -111
  568. package/components/_private/Flyout/FlyoutContent.js +0 -54
  569. package/components/_private/Flyout/FlyoutControlled.js +0 -238
  570. package/components/_private/Flyout/FlyoutTrigger.js +0 -38
  571. package/components/_private/Flyout/FlyoutUncontrolled.js +0 -20
  572. package/components/_private/Flyout/tests/Flyout.stories.js +0 -183
  573. package/components/_private/Flyout/useFlyout.js +0 -186
  574. package/components/_private/HiddenInput/HiddenInput.js +0 -9
  575. package/components/_private/Portal/Portal.js +0 -34
  576. package/config/tailwind.d.ts +0 -2
  577. package/hooks/_private/useIsDismissible.js +0 -45
  578. package/hooks/_private/useSingletonHotkeys.js +0 -183
  579. package/hooks/tests/useHotkeys.stories.js +0 -24
  580. package/hooks/useHotkeys.js +0 -25
  581. package/icons/Mic.js +0 -5
  582. package/styles/radius/radius.module.css +0 -1
  583. package/themes/_generator/constants.d.ts +0 -2
  584. package/themes/_generator/definitions/figma.d.ts +0 -3
  585. package/themes/_generator/definitions/figma.js +0 -186
  586. package/themes/_generator/definitions/reshaped.d.ts +0 -3
  587. package/themes/_generator/definitions/reshaped.js +0 -160
  588. package/themes/_generator/definitions/slate.d.ts +0 -3
  589. package/themes/_generator/definitions/slate.js +0 -80
  590. package/themes/_generator/tests/themes.stories.js +0 -180
  591. package/themes/_generator/tokens/color/color.types.d.ts +0 -7
  592. package/themes/_generator/tokens/font/font.transforms.js +0 -36
  593. package/themes/_generator/tokens/fontWeight/fontWeight.types.d.ts +0 -4
  594. package/themes/_generator/tokens/transforms.d.ts +0 -11
  595. package/themes/_generator/tokens/transforms.js +0 -26
  596. package/themes/_generator/tokens/types.d.ts +0 -52
  597. package/themes/_generator/tokens/unit/unit.types.d.ts +0 -7
  598. package/themes/_generator/transform.js +0 -62
  599. package/themes/_generator/types.d.ts +0 -15
  600. package/themes/_generator/utilities/color.d.ts +0 -90
  601. package/themes/_generator/utilities/color.js +0 -364
  602. package/themes/_generator/utilities/generateBackgroundColors.js +0 -53
  603. package/themes/_generator/utilities/generateColors.d.ts +0 -11
  604. package/themes/_generator/utilities/generateColors.js +0 -131
  605. package/themes/_generator/utilities/generateUnits.js +0 -17
  606. package/themes/_generator/utilities/mergeDefinitions.js +0 -17
  607. package/themes/_generator/utilities/tests/color.test.js +0 -63
  608. package/themes/_generator/utilities/tests/generateColors.test.js +0 -20
  609. package/themes/figma/theme.css +0 -1
  610. package/themes/index.d.ts +0 -12
  611. package/themes/reshaped/theme.css +0 -1
  612. package/themes/slate/theme.css +0 -1
  613. package/types/config.d.ts +0 -14
  614. package/types/global.d.ts +0 -29
  615. package/utilities/Chain.js +0 -63
  616. package/utilities/a11y/TrapFocus.js +0 -127
  617. package/utilities/a11y/TrapScreenReader.js +0 -39
  618. package/utilities/a11y/focus.js +0 -90
  619. package/utilities/dom.js +0 -18
  620. package/utilities/helpers.js +0 -135
  621. package/utilities/storybook/Example.js +0 -14
  622. package/utilities/storybook/Placeholder.js +0 -17
  623. /package/{bundle.d.ts → dist/bundle.d.ts} +0 -0
  624. /package/{cli → dist/cjs/cli}/theming/index.d.ts +0 -0
  625. /package/{config → dist/cjs/config}/postcss.d.ts +0 -0
  626. /package/{config → dist/cjs/config}/postcss.js +0 -0
  627. /package/{config → dist/cjs/config}/tailwind.js +0 -0
  628. /package/{themes → dist/cjs/themes}/_generator/constants.js +0 -0
  629. /package/{themes → dist/cjs/themes}/_generator/tokens/color/color.transforms.d.ts +0 -0
  630. /package/{themes → dist/cjs/themes}/_generator/tokens/color/color.transforms.js +0 -0
  631. /package/{themes → dist/cjs/themes}/_generator/tokens/color/color.types.js +0 -0
  632. /package/{themes → dist/cjs/themes}/_generator/tokens/duration/duration.transforms.d.ts +0 -0
  633. /package/{themes → dist/cjs/themes}/_generator/tokens/duration/duration.transforms.js +0 -0
  634. /package/{themes → dist/cjs/themes}/_generator/tokens/duration/duration.types.d.ts +0 -0
  635. /package/{themes → dist/cjs/themes}/_generator/tokens/duration/duration.types.js +0 -0
  636. /package/{themes → dist/cjs/themes}/_generator/tokens/easing/easing.transforms.d.ts +0 -0
  637. /package/{themes → dist/cjs/themes}/_generator/tokens/easing/easing.transforms.js +0 -0
  638. /package/{themes → dist/cjs/themes}/_generator/tokens/easing/easing.types.d.ts +0 -0
  639. /package/{themes → dist/cjs/themes}/_generator/tokens/easing/easing.types.js +0 -0
  640. /package/{themes → dist/cjs/themes}/_generator/tokens/font/font.transforms.d.ts +0 -0
  641. /package/{themes → dist/cjs/themes}/_generator/tokens/font/font.types.d.ts +0 -0
  642. /package/{themes → dist/cjs/themes}/_generator/tokens/font/font.types.js +0 -0
  643. /package/{themes → dist/cjs/themes}/_generator/tokens/fontFamily/fontFamily.transforms.d.ts +0 -0
  644. /package/{themes → dist/cjs/themes}/_generator/tokens/fontFamily/fontFamily.transforms.js +0 -0
  645. /package/{themes → dist/cjs/themes}/_generator/tokens/fontFamily/fontFamily.types.d.ts +0 -0
  646. /package/{themes → dist/cjs/themes}/_generator/tokens/fontFamily/fontFamily.types.js +0 -0
  647. /package/{themes → dist/cjs/themes}/_generator/tokens/fontWeight/fontWeight.transforms.d.ts +0 -0
  648. /package/{themes → dist/cjs/themes}/_generator/tokens/fontWeight/fontWeight.transforms.js +0 -0
  649. /package/{themes → dist/cjs/themes}/_generator/tokens/fontWeight/fontWeight.types.js +0 -0
  650. /package/{themes/_generator/tokens/shadow/shadow.types.js → dist/cjs/themes/_generator/tokens/radius/radius.types.js} +0 -0
  651. /package/{themes → dist/cjs/themes}/_generator/tokens/shadow/shadow.transforms.d.ts +0 -0
  652. /package/{themes → dist/cjs/themes}/_generator/tokens/shadow/shadow.transforms.js +0 -0
  653. /package/{themes → dist/cjs/themes}/_generator/tokens/shadow/shadow.types.d.ts +0 -0
  654. /package/{themes/_generator/tokens/types.js → dist/cjs/themes/_generator/tokens/shadow/shadow.types.js} +0 -0
  655. /package/{themes/_generator → dist/cjs/themes/_generator/tokens}/types.js +0 -0
  656. /package/{themes → dist/cjs/themes}/_generator/tokens/unit/unit.transforms.d.ts +0 -0
  657. /package/{themes → dist/cjs/themes}/_generator/tokens/unit/unit.transforms.js +0 -0
  658. /package/{themes → dist/cjs/themes}/_generator/tokens/unit/unit.types.js +0 -0
  659. /package/{themes → dist/cjs/themes}/_generator/tokens/viewport/viewport.transforms.d.ts +0 -0
  660. /package/{themes → dist/cjs/themes}/_generator/tokens/viewport/viewport.transforms.js +0 -0
  661. /package/{themes → dist/cjs/themes}/_generator/tokens/viewport/viewport.types.d.ts +0 -0
  662. /package/{themes → dist/cjs/themes}/_generator/tokens/viewport/viewport.types.js +0 -0
  663. /package/{themes → dist/cjs/themes}/_generator/transform.d.ts +0 -0
  664. /package/{types/config.js → dist/cjs/themes/_generator/types.js} +0 -0
  665. /package/{themes → dist/cjs/themes}/_generator/utilities/css.d.ts +0 -0
  666. /package/{themes → dist/cjs/themes}/_generator/utilities/css.js +0 -0
  667. /package/{themes → dist/cjs/themes}/_generator/utilities/generateBackgroundColors.d.ts +0 -0
  668. /package/{themes → dist/cjs/themes}/_generator/utilities/generateUnits.d.ts +0 -0
  669. /package/{themes → dist/cjs/themes}/_generator/utilities/mergeDeep.d.ts +0 -0
  670. /package/{themes → dist/cjs/themes}/_generator/utilities/mergeDeep.js +0 -0
  671. /package/{themes → dist/cjs/themes}/_generator/utilities/mergeDefinitions.d.ts +0 -0
  672. /package/{themes → dist/cjs/themes}/_generator/utilities/resolveTokenReference.d.ts +0 -0
  673. /package/{themes → dist/cjs/themes}/_generator/utilities/resolveTokenReference.js +0 -0
  674. /package/{themes → dist/cjs/themes}/_generator/utilities/tests/color.test.d.ts +0 -0
  675. /package/{themes → dist/cjs/themes}/figma/media.css +0 -0
  676. /package/{themes → dist/cjs/themes}/fragments/twitter/theme.css +0 -0
  677. /package/{themes → dist/cjs/themes}/index.js +0 -0
  678. /package/{themes → dist/cjs/themes}/reshaped/media.css +0 -0
  679. /package/{themes → dist/cjs/themes}/slate/media.css +0 -0
  680. /package/{utilities → dist/cjs/utilities}/string.d.ts +0 -0
  681. /package/{utilities → dist/cjs/utilities}/string.js +0 -0
  682. /package/{components → dist/components}/Accordion/Accordion.context.d.ts +0 -0
  683. /package/{components → dist/components}/Accordion/Accordion.context.js +0 -0
  684. /package/{components → dist/components}/Accordion/Accordion.d.ts +0 -0
  685. /package/{components → dist/components}/Accordion/Accordion.module.css +0 -0
  686. /package/{components → dist/components}/Accordion/Accordion.types.js +0 -0
  687. /package/{components → dist/components}/Accordion/AccordionContent.d.ts +0 -0
  688. /package/{components → dist/components}/Accordion/AccordionContent.js +0 -0
  689. /package/{components → dist/components}/Accordion/AccordionControlled.d.ts +0 -0
  690. /package/{components → dist/components}/Accordion/AccordionTrigger.d.ts +0 -0
  691. /package/{components → dist/components}/Accordion/AccordionUncontrolled.d.ts +0 -0
  692. /package/{components → dist/components}/Accordion/index.d.ts +0 -0
  693. /package/{components → dist/components}/Accordion/index.js +0 -0
  694. /package/{components → dist/components}/Accordion/tests/Accordion.stories.d.ts +0 -0
  695. /package/{components → dist/components}/Accordion/tests/Accordion.stories.js +0 -0
  696. /package/{components → dist/components}/ActionBar/ActionBar.d.ts +0 -0
  697. /package/{components → dist/components}/ActionBar/ActionBar.js +0 -0
  698. /package/{components → dist/components}/ActionBar/ActionBar.module.css +0 -0
  699. /package/{components → dist/components}/ActionBar/ActionBar.types.js +0 -0
  700. /package/{components → dist/components}/ActionBar/index.d.ts +0 -0
  701. /package/{components → dist/components}/ActionBar/index.js +0 -0
  702. /package/{components → dist/components}/ActionBar/tests/ActionBar.stories.d.ts +0 -0
  703. /package/{components → dist/components}/ActionBar/tests/ActionBar.stories.js +0 -0
  704. /package/{components → dist/components}/Actionable/Actionable.d.ts +0 -0
  705. /package/{components → dist/components}/Actionable/Actionable.module.css +0 -0
  706. /package/{components → dist/components}/Actionable/Actionable.types.js +0 -0
  707. /package/{components → dist/components}/Actionable/index.d.ts +0 -0
  708. /package/{components → dist/components}/Actionable/index.js +0 -0
  709. /package/{components → dist/components}/Actionable/tests/Actionable.stories.d.ts +0 -0
  710. /package/{components → dist/components}/Actionable/tests/Actionable.stories.js +0 -0
  711. /package/{components → dist/components}/Alert/Alert.d.ts +0 -0
  712. /package/{components → dist/components}/Alert/Alert.types.js +0 -0
  713. /package/{components → dist/components}/Alert/index.d.ts +0 -0
  714. /package/{components → dist/components}/Alert/index.js +0 -0
  715. /package/{components → dist/components}/Alert/tests/Alert.stories.d.ts +0 -0
  716. /package/{components → dist/components}/Autocomplete/Autocomplete.d.ts +0 -0
  717. /package/{components → dist/components}/Autocomplete/Autocomplete.types.js +0 -0
  718. /package/{components → dist/components}/Autocomplete/index.d.ts +0 -0
  719. /package/{components → dist/components}/Autocomplete/index.js +0 -0
  720. /package/{components → dist/components}/Autocomplete/tests/Autocomplete.stories.d.ts +0 -0
  721. /package/{components → dist/components}/Autocomplete/tests/Autocomplete.stories.js +0 -0
  722. /package/{components → dist/components}/Avatar/Avatar.d.ts +0 -0
  723. /package/{components → dist/components}/Avatar/Avatar.module.css +0 -0
  724. /package/{components → dist/components}/Avatar/Avatar.types.js +0 -0
  725. /package/{components → dist/components}/Avatar/index.d.ts +0 -0
  726. /package/{components → dist/components}/Avatar/index.js +0 -0
  727. /package/{components → dist/components}/Avatar/tests/Avatar.stories.d.ts +0 -0
  728. /package/{components → dist/components}/Avatar/tests/Avatar.stories.js +0 -0
  729. /package/{components → dist/components}/Badge/Badge.types.js +0 -0
  730. /package/{components → dist/components}/Badge/BadgeContainer.d.ts +0 -0
  731. /package/{components → dist/components}/Badge/index.d.ts +0 -0
  732. /package/{components → dist/components}/Badge/index.js +0 -0
  733. /package/{components → dist/components}/Breadcrumbs/Breadcrumbs.d.ts +0 -0
  734. /package/{components → dist/components}/Breadcrumbs/Breadcrumbs.types.js +0 -0
  735. /package/{components → dist/components}/Breadcrumbs/BreadcrumbsItem.d.ts +0 -0
  736. /package/{components → dist/components}/Breadcrumbs/BreadcrumbsItem.js +0 -0
  737. /package/{components → dist/components}/Breadcrumbs/index.d.ts +0 -0
  738. /package/{components → dist/components}/Breadcrumbs/index.js +0 -0
  739. /package/{components → dist/components}/Breadcrumbs/tests/Breadcrumbs.stories.d.ts +0 -0
  740. /package/{components → dist/components}/Breadcrumbs/tests/Breadcrumbs.stories.js +0 -0
  741. /package/{components → dist/components}/Button/Button.d.ts +0 -0
  742. /package/{components → dist/components}/Button/Button.types.js +0 -0
  743. /package/{components → dist/components}/Button/ButtonAligner.d.ts +0 -0
  744. /package/{components → dist/components}/Button/ButtonGroup.d.ts +0 -0
  745. /package/{components → dist/components}/Button/index.d.ts +0 -0
  746. /package/{components → dist/components}/Button/index.js +0 -0
  747. /package/{components → dist/components}/Button/tests/Button.stories.d.ts +0 -0
  748. /package/{components → dist/components}/Calendar/Calendar.d.ts +0 -0
  749. /package/{components → dist/components}/Calendar/Calendar.types.d.ts +0 -0
  750. /package/{components → dist/components}/Calendar/Calendar.types.js +0 -0
  751. /package/{components → dist/components}/Calendar/Calendar.utils.d.ts +0 -0
  752. /package/{components → dist/components}/Calendar/CalendarControlled.d.ts +0 -0
  753. /package/{components → dist/components}/Calendar/CalendarControls.d.ts +0 -0
  754. /package/{components → dist/components}/Calendar/CalendarDate.d.ts +0 -0
  755. /package/{components → dist/components}/Calendar/CalendarMonth.d.ts +0 -0
  756. /package/{components → dist/components}/Calendar/CalendarUncontrolled.d.ts +0 -0
  757. /package/{components → dist/components}/Calendar/CalendarYear.d.ts +0 -0
  758. /package/{components → dist/components}/Calendar/index.d.ts +0 -0
  759. /package/{components → dist/components}/Calendar/index.js +0 -0
  760. /package/{components → dist/components}/Calendar/tests/Calendar.stories.d.ts +0 -0
  761. /package/{components → dist/components}/Calendar/tests/Calendar.stories.js +0 -0
  762. /package/{components → dist/components}/Calendar/useCalendarKeyboardNavigation.d.ts +0 -0
  763. /package/{components → dist/components}/Card/Card.types.js +0 -0
  764. /package/{components → dist/components}/Card/index.d.ts +0 -0
  765. /package/{components → dist/components}/Card/index.js +0 -0
  766. /package/{components → dist/components}/Card/tests/Card.stories.js +0 -0
  767. /package/{components → dist/components}/Carousel/Carousel.d.ts +0 -0
  768. /package/{components → dist/components}/Carousel/Carousel.module.css +0 -0
  769. /package/{components → dist/components}/Carousel/Carousel.types.js +0 -0
  770. /package/{components → dist/components}/Carousel/CarouselControl.d.ts +0 -0
  771. /package/{components → dist/components}/Carousel/index.d.ts +0 -0
  772. /package/{components → dist/components}/Carousel/index.js +0 -0
  773. /package/{components → dist/components}/Carousel/tests/Carousel.stories.d.ts +0 -0
  774. /package/{components → dist/components}/Checkbox/Checkbox.d.ts +0 -0
  775. /package/{components → dist/components}/Checkbox/Checkbox.types.js +0 -0
  776. /package/{components → dist/components}/Checkbox/index.d.ts +0 -0
  777. /package/{components → dist/components}/Checkbox/index.js +0 -0
  778. /package/{components → dist/components}/Checkbox/tests/Checkbox.stories.d.ts +0 -0
  779. /package/{components → dist/components}/Checkbox/tests/Checkbox.stories.js +0 -0
  780. /package/{components → dist/components}/CheckboxGroup/CheckboxGroup.context.d.ts +0 -0
  781. /package/{components → dist/components}/CheckboxGroup/CheckboxGroup.context.js +0 -0
  782. /package/{components → dist/components}/CheckboxGroup/CheckboxGroup.d.ts +0 -0
  783. /package/{components → dist/components}/CheckboxGroup/CheckboxGroup.types.d.ts +0 -0
  784. /package/{components → dist/components}/CheckboxGroup/CheckboxGroup.types.js +0 -0
  785. /package/{components → dist/components}/CheckboxGroup/CheckboxGroupControlled.d.ts +0 -0
  786. /package/{components → dist/components}/CheckboxGroup/CheckboxGroupControlled.js +0 -0
  787. /package/{components → dist/components}/CheckboxGroup/CheckboxGroupUncontrolled.d.ts +0 -0
  788. /package/{components → dist/components}/CheckboxGroup/index.d.ts +0 -0
  789. /package/{components → dist/components}/CheckboxGroup/index.js +0 -0
  790. /package/{components → dist/components}/CheckboxGroup/tests/CheckboxGroup.stories.d.ts +0 -0
  791. /package/{components → dist/components}/CheckboxGroup/tests/CheckboxGroup.stories.js +0 -0
  792. /package/{components → dist/components}/Container/Container.d.ts +0 -0
  793. /package/{components → dist/components}/Container/Container.module.css +0 -0
  794. /package/{components → dist/components}/Container/Container.types.js +0 -0
  795. /package/{components → dist/components}/Container/index.d.ts +0 -0
  796. /package/{components → dist/components}/Container/index.js +0 -0
  797. /package/{components → dist/components}/Dismissible/Dismissible.d.ts +0 -0
  798. /package/{components → dist/components}/Dismissible/Dismissible.module.css +0 -0
  799. /package/{components → dist/components}/Dismissible/Dismissible.types.js +0 -0
  800. /package/{components → dist/components}/Dismissible/index.d.ts +0 -0
  801. /package/{components → dist/components}/Dismissible/index.js +0 -0
  802. /package/{components → dist/components}/Dismissible/tests/Dismissible.stories.d.ts +0 -0
  803. /package/{components → dist/components}/Dismissible/tests/Dismissible.stories.js +0 -0
  804. /package/{components → dist/components}/Divider/Divider.d.ts +0 -0
  805. /package/{components → dist/components}/Divider/Divider.module.css +0 -0
  806. /package/{components → dist/components}/Divider/Divider.types.js +0 -0
  807. /package/{components → dist/components}/Divider/index.d.ts +0 -0
  808. /package/{components → dist/components}/Divider/index.js +0 -0
  809. /package/{components → dist/components}/Divider/tests/Divider.stories.d.ts +0 -0
  810. /package/{components → dist/components}/Divider/tests/Divider.stories.js +0 -0
  811. /package/{components → dist/components}/DropdownMenu/DropdownMenu.module.css +0 -0
  812. /package/{components → dist/components}/DropdownMenu/DropdownMenu.types.d.ts +0 -0
  813. /package/{components → dist/components}/DropdownMenu/DropdownMenu.types.js +0 -0
  814. /package/{components → dist/components}/DropdownMenu/index.d.ts +0 -0
  815. /package/{components → dist/components}/DropdownMenu/index.js +0 -0
  816. /package/{components → dist/components}/DropdownMenu/tests/DropdownMenu.stories.d.ts +0 -0
  817. /package/{components → dist/components}/DropdownMenu/tests/DropdownMenu.stories.js +0 -0
  818. /package/{components → dist/components}/FileUpload/FileUpload.d.ts +0 -0
  819. /package/{components → dist/components}/FileUpload/FileUpload.module.css +0 -0
  820. /package/{components → dist/components}/FileUpload/FileUpload.types.js +0 -0
  821. /package/{components → dist/components}/FileUpload/index.d.ts +0 -0
  822. /package/{components → dist/components}/FileUpload/index.js +0 -0
  823. /package/{components → dist/components}/FileUpload/tests/FileUpload.stories.d.ts +0 -0
  824. /package/{components → dist/components}/FileUpload/tests/FileUpload.stories.js +0 -0
  825. /package/{components → dist/components}/FormControl/FormControl.context.js +0 -0
  826. /package/{components → dist/components}/FormControl/FormControl.js +0 -0
  827. /package/{components → dist/components}/FormControl/FormControl.module.css +0 -0
  828. /package/{components → dist/components}/FormControl/FormControl.types.d.ts +0 -0
  829. /package/{components → dist/components}/FormControl/FormControl.types.js +0 -0
  830. /package/{components → dist/components}/FormControl/FormControl.utilities.d.ts +0 -0
  831. /package/{components → dist/components}/FormControl/FormControl.utilities.js +0 -0
  832. /package/{components → dist/components}/FormControl/FormControlCaption.d.ts +0 -0
  833. /package/{components → dist/components}/FormControl/FormControlCaption.js +0 -0
  834. /package/{components → dist/components}/FormControl/FormControlClient.d.ts +0 -0
  835. /package/{components → dist/components}/FormControl/FormControlClient.js +0 -0
  836. /package/{components → dist/components}/FormControl/FormControlError.d.ts +0 -0
  837. /package/{components → dist/components}/FormControl/FormControlError.js +0 -0
  838. /package/{components → dist/components}/FormControl/FormControlHelper.d.ts +0 -0
  839. /package/{components → dist/components}/FormControl/FormControlHelper.js +0 -0
  840. /package/{components → dist/components}/FormControl/FormControlLabel.d.ts +0 -0
  841. /package/{components → dist/components}/FormControl/index.d.ts +0 -0
  842. /package/{components → dist/components}/FormControl/index.js +0 -0
  843. /package/{components → dist/components}/FormControl/tests/FormControl.stories.js +0 -0
  844. /package/{components → dist/components}/Hidden/Hidden.d.ts +0 -0
  845. /package/{components → dist/components}/Hidden/Hidden.types.js +0 -0
  846. /package/{components → dist/components}/Hidden/index.d.ts +0 -0
  847. /package/{components → dist/components}/Hidden/index.js +0 -0
  848. /package/{components → dist/components}/HiddenVisually/HiddenVisually.d.ts +0 -0
  849. /package/{components → dist/components}/HiddenVisually/HiddenVisually.js +0 -0
  850. /package/{components → dist/components}/HiddenVisually/HiddenVisually.module.css +0 -0
  851. /package/{components → dist/components}/HiddenVisually/HiddenVisually.types.d.ts +0 -0
  852. /package/{components → dist/components}/HiddenVisually/HiddenVisually.types.js +0 -0
  853. /package/{components → dist/components}/HiddenVisually/index.d.ts +0 -0
  854. /package/{components → dist/components}/HiddenVisually/index.js +0 -0
  855. /package/{components → dist/components}/HiddenVisually/tests/HiddenVisually.stories.d.ts +0 -0
  856. /package/{components → dist/components}/HiddenVisually/tests/HiddenVisually.stories.js +0 -0
  857. /package/{components → dist/components}/Hotkey/Hotkey.d.ts +0 -0
  858. /package/{components → dist/components}/Hotkey/Hotkey.js +0 -0
  859. /package/{components → dist/components}/Hotkey/Hotkey.types.js +0 -0
  860. /package/{components → dist/components}/Hotkey/index.d.ts +0 -0
  861. /package/{components → dist/components}/Hotkey/index.js +0 -0
  862. /package/{components → dist/components}/Hotkey/tests/Hotkey.stories.d.ts +0 -0
  863. /package/{components → dist/components}/Icon/Icon.d.ts +0 -0
  864. /package/{components → dist/components}/Icon/Icon.module.css +0 -0
  865. /package/{components → dist/components}/Icon/Icon.types.js +0 -0
  866. /package/{components → dist/components}/Icon/index.d.ts +0 -0
  867. /package/{components → dist/components}/Icon/index.js +0 -0
  868. /package/{components → dist/components}/Icon/tests/Icon.stories.d.ts +0 -0
  869. /package/{components → dist/components}/Icon/tests/Icon.stories.js +0 -0
  870. /package/{components → dist/components}/Image/Image.d.ts +0 -0
  871. /package/{components → dist/components}/Image/Image.module.css +0 -0
  872. /package/{components → dist/components}/Image/Image.types.js +0 -0
  873. /package/{components → dist/components}/Image/index.d.ts +0 -0
  874. /package/{components → dist/components}/Image/index.js +0 -0
  875. /package/{components → dist/components}/Image/tests/Image.stories.d.ts +0 -0
  876. /package/{components → dist/components}/Image/tests/Image.stories.js +0 -0
  877. /package/{components → dist/components}/Link/Link.js +0 -0
  878. /package/{components → dist/components}/Link/Link.types.js +0 -0
  879. /package/{components → dist/components}/Link/index.d.ts +0 -0
  880. /package/{components → dist/components}/Link/index.js +0 -0
  881. /package/{components → dist/components}/Loader/Loader.d.ts +0 -0
  882. /package/{components → dist/components}/Loader/Loader.types.js +0 -0
  883. /package/{components → dist/components}/Loader/index.d.ts +0 -0
  884. /package/{components → dist/components}/Loader/index.js +0 -0
  885. /package/{components → dist/components}/Loader/tests/Loader.stories.d.ts +0 -0
  886. /package/{components → dist/components}/MenuItem/MenuItem.d.ts +0 -0
  887. /package/{components → dist/components}/MenuItem/MenuItem.types.js +0 -0
  888. /package/{components → dist/components}/MenuItem/MenuItemAligner.d.ts +0 -0
  889. /package/{components → dist/components}/MenuItem/index.d.ts +0 -0
  890. /package/{components → dist/components}/MenuItem/index.js +0 -0
  891. /package/{components → dist/components}/MenuItem/tests/MenuItem.stories.d.ts +0 -0
  892. /package/{components → dist/components}/Modal/Modal.d.ts +0 -0
  893. /package/{components → dist/components}/Modal/Modal.types.js +0 -0
  894. /package/{components → dist/components}/Modal/index.d.ts +0 -0
  895. /package/{components → dist/components}/Modal/index.js +0 -0
  896. /package/{components → dist/components}/Overlay/Overlay.d.ts +0 -0
  897. /package/{components → dist/components}/Overlay/Overlay.types.js +0 -0
  898. /package/{components → dist/components}/Overlay/index.d.ts +0 -0
  899. /package/{components → dist/components}/Overlay/index.js +0 -0
  900. /package/{components → dist/components}/Overlay/tests/Overlay.stories.d.ts +0 -0
  901. /package/{components → dist/components}/Overlay/tests/Overlay.stories.js +0 -0
  902. /package/{components → dist/components}/Pagination/Pagination.d.ts +0 -0
  903. /package/{components → dist/components}/Pagination/Pagination.module.css +0 -0
  904. /package/{components → dist/components}/Pagination/Pagination.types.js +0 -0
  905. /package/{components → dist/components}/Pagination/PaginationControlled.d.ts +0 -0
  906. /package/{components → dist/components}/Pagination/PaginationUncontrolled.d.ts +0 -0
  907. /package/{components → dist/components}/Pagination/index.d.ts +0 -0
  908. /package/{components → dist/components}/Pagination/index.js +0 -0
  909. /package/{components → dist/components}/Pagination/tests/Pagination.stories.d.ts +0 -0
  910. /package/{components → dist/components}/Pagination/tests/Pagination.stories.js +0 -0
  911. /package/{components → dist/components}/PinField/PinField.constants.d.ts +0 -0
  912. /package/{components → dist/components}/PinField/PinField.constants.js +0 -0
  913. /package/{components → dist/components}/PinField/PinField.d.ts +0 -0
  914. /package/{components → dist/components}/PinField/PinField.module.css +0 -0
  915. /package/{components → dist/components}/PinField/PinField.types.js +0 -0
  916. /package/{components → dist/components}/PinField/PinFieldControlled.d.ts +0 -0
  917. /package/{components → dist/components}/PinField/PinFieldUncontrolled.d.ts +0 -0
  918. /package/{components → dist/components}/PinField/index.d.ts +0 -0
  919. /package/{components → dist/components}/PinField/index.js +0 -0
  920. /package/{components → dist/components}/PinField/tests/PinField.stories.d.ts +0 -0
  921. /package/{components → dist/components}/PinField/tests/PinField.stories.js +0 -0
  922. /package/{components → dist/components}/Popover/Popover.d.ts +0 -0
  923. /package/{components → dist/components}/Popover/Popover.types.d.ts +0 -0
  924. /package/{components → dist/components}/Popover/Popover.types.js +0 -0
  925. /package/{components → dist/components}/Popover/index.d.ts +0 -0
  926. /package/{components → dist/components}/Popover/index.js +0 -0
  927. /package/{components → dist/components}/Popover/tests/Popover.stories.d.ts +0 -0
  928. /package/{components → dist/components}/Progress/Progress.d.ts +0 -0
  929. /package/{components → dist/components}/Progress/Progress.types.js +0 -0
  930. /package/{components → dist/components}/Progress/index.d.ts +0 -0
  931. /package/{components → dist/components}/Progress/index.js +0 -0
  932. /package/{components → dist/components}/Progress/tests/Progress.stories.d.ts +0 -0
  933. /package/{components → dist/components}/Radio/Radio.d.ts +0 -0
  934. /package/{components → dist/components}/Radio/Radio.types.js +0 -0
  935. /package/{components → dist/components}/Radio/index.d.ts +0 -0
  936. /package/{components → dist/components}/Radio/index.js +0 -0
  937. /package/{components → dist/components}/Radio/tests/Radio.stories.d.ts +0 -0
  938. /package/{components → dist/components}/Radio/tests/Radio.stories.js +0 -0
  939. /package/{components → dist/components}/RadioGroup/RadioGroup.context.d.ts +0 -0
  940. /package/{components → dist/components}/RadioGroup/RadioGroup.context.js +0 -0
  941. /package/{components → dist/components}/RadioGroup/RadioGroup.d.ts +0 -0
  942. /package/{components → dist/components}/RadioGroup/RadioGroup.types.d.ts +0 -0
  943. /package/{components → dist/components}/RadioGroup/RadioGroup.types.js +0 -0
  944. /package/{components → dist/components}/RadioGroup/RadioGroupControlled.d.ts +0 -0
  945. /package/{components → dist/components}/RadioGroup/RadioGroupControlled.js +0 -0
  946. /package/{components → dist/components}/RadioGroup/RadioGroupUncontrolled.d.ts +0 -0
  947. /package/{components → dist/components}/RadioGroup/index.d.ts +0 -0
  948. /package/{components → dist/components}/RadioGroup/index.js +0 -0
  949. /package/{components → dist/components}/RadioGroup/tests/RadioGroup.stories.d.ts +0 -0
  950. /package/{components → dist/components}/RadioGroup/tests/RadioGroup.stories.js +0 -0
  951. /package/{components → dist/components}/Reshaped/Reshaped.d.ts +0 -0
  952. /package/{components → dist/components}/Reshaped/Reshaped.module.css +0 -0
  953. /package/{components → dist/components}/Reshaped/Reshaped.types.d.ts +0 -0
  954. /package/{components → dist/components}/Reshaped/Reshaped.types.js +0 -0
  955. /package/{components → dist/components}/Reshaped/index.d.ts +0 -0
  956. /package/{components → dist/components}/Reshaped/index.js +0 -0
  957. /package/{components → dist/components}/Scrim/Scrim.d.ts +0 -0
  958. /package/{components → dist/components}/Scrim/Scrim.module.css +0 -0
  959. /package/{components → dist/components}/Scrim/Scrim.types.js +0 -0
  960. /package/{components → dist/components}/Scrim/index.d.ts +0 -0
  961. /package/{components → dist/components}/Scrim/index.js +0 -0
  962. /package/{components → dist/components}/Scrim/tests/Scrim.stories.d.ts +0 -0
  963. /package/{components → dist/components}/Scrim/tests/Scrim.stories.js +0 -0
  964. /package/{components → dist/components}/ScrollArea/ScrollArea.d.ts +0 -0
  965. /package/{components → dist/components}/ScrollArea/ScrollArea.types.js +0 -0
  966. /package/{components → dist/components}/ScrollArea/index.d.ts +0 -0
  967. /package/{components → dist/components}/ScrollArea/index.js +0 -0
  968. /package/{components → dist/components}/ScrollArea/tests/ScrollArea.stories.d.ts +0 -0
  969. /package/{components → dist/components}/Select/Select.d.ts +0 -0
  970. /package/{components → dist/components}/Select/Select.types.js +0 -0
  971. /package/{components → dist/components}/Select/index.d.ts +0 -0
  972. /package/{components → dist/components}/Select/index.js +0 -0
  973. /package/{components → dist/components}/Select/tests/Select.stories.d.ts +0 -0
  974. /package/{components → dist/components}/Select/tests/Select.stories.js +0 -0
  975. /package/{components → dist/components}/Skeleton/Skeleton.d.ts +0 -0
  976. /package/{components → dist/components}/Skeleton/Skeleton.js +0 -0
  977. /package/{components → dist/components}/Skeleton/Skeleton.module.css +0 -0
  978. /package/{components → dist/components}/Skeleton/Skeleton.types.js +0 -0
  979. /package/{components → dist/components}/Skeleton/index.d.ts +0 -0
  980. /package/{components → dist/components}/Skeleton/index.js +0 -0
  981. /package/{components → dist/components}/Skeleton/tests/Skeleton.stories.d.ts +0 -0
  982. /package/{components → dist/components}/Skeleton/tests/Skeleton.stories.js +0 -0
  983. /package/{components → dist/components}/Slider/Slider.d.ts +0 -0
  984. /package/{components → dist/components}/Slider/Slider.types.js +0 -0
  985. /package/{components → dist/components}/Slider/Slider.utilities.d.ts +0 -0
  986. /package/{components → dist/components}/Slider/SliderControlled.d.ts +0 -0
  987. /package/{components → dist/components}/Slider/SliderThumb.d.ts +0 -0
  988. /package/{components → dist/components}/Slider/SliderThumb.js +0 -0
  989. /package/{components → dist/components}/Slider/SliderUncontrolled.d.ts +0 -0
  990. /package/{components → dist/components}/Slider/index.d.ts +0 -0
  991. /package/{components → dist/components}/Slider/index.js +0 -0
  992. /package/{components → dist/components}/Slider/tests/Slider.stories.d.ts +0 -0
  993. /package/{components → dist/components}/Stepper/Stepper.d.ts +0 -0
  994. /package/{components → dist/components}/Stepper/Stepper.module.css +0 -0
  995. /package/{components → dist/components}/Stepper/Stepper.types.js +0 -0
  996. /package/{components → dist/components}/Stepper/index.d.ts +0 -0
  997. /package/{components → dist/components}/Stepper/index.js +0 -0
  998. /package/{components → dist/components}/Stepper/tests/Stepper.stories.d.ts +0 -0
  999. /package/{components → dist/components}/Switch/Switch.d.ts +0 -0
  1000. /package/{components → dist/components}/Switch/Switch.types.js +0 -0
  1001. /package/{components → dist/components}/Switch/index.d.ts +0 -0
  1002. /package/{components → dist/components}/Switch/index.js +0 -0
  1003. /package/{components → dist/components}/Switch/tests/Switch.stories.d.ts +0 -0
  1004. /package/{components → dist/components}/Table/Table.d.ts +0 -0
  1005. /package/{components → dist/components}/Table/Table.types.d.ts +0 -0
  1006. /package/{components → dist/components}/Table/Table.types.js +0 -0
  1007. /package/{components → dist/components}/Table/index.d.ts +0 -0
  1008. /package/{components → dist/components}/Table/index.js +0 -0
  1009. /package/{components → dist/components}/Table/tests/Table.stories.d.ts +0 -0
  1010. /package/{components → dist/components}/Table/tests/Table.stories.js +0 -0
  1011. /package/{components → dist/components}/Tabs/Tabs.d.ts +0 -0
  1012. /package/{components → dist/components}/Tabs/Tabs.types.js +0 -0
  1013. /package/{components → dist/components}/Tabs/TabsControlled.d.ts +0 -0
  1014. /package/{components → dist/components}/Tabs/TabsControlled.js +0 -0
  1015. /package/{components → dist/components}/Tabs/TabsItem.d.ts +0 -0
  1016. /package/{components → dist/components}/Tabs/TabsList.d.ts +0 -0
  1017. /package/{components → dist/components}/Tabs/TabsPanel.d.ts +0 -0
  1018. /package/{components → dist/components}/Tabs/TabsPanel.js +0 -0
  1019. /package/{components → dist/components}/Tabs/TabsUncontrolled.d.ts +0 -0
  1020. /package/{components → dist/components}/Tabs/index.d.ts +0 -0
  1021. /package/{components → dist/components}/Tabs/index.js +0 -0
  1022. /package/{components → dist/components}/Tabs/tests/Tabs.stories.d.ts +0 -0
  1023. /package/{components → dist/components}/Tabs/tests/Tabs.stories.js +0 -0
  1024. /package/{components → dist/components}/Text/Text.d.ts +0 -0
  1025. /package/{components → dist/components}/Text/Text.module.css +0 -0
  1026. /package/{components → dist/components}/Text/Text.types.js +0 -0
  1027. /package/{components → dist/components}/Text/index.d.ts +0 -0
  1028. /package/{components → dist/components}/Text/index.js +0 -0
  1029. /package/{components → dist/components}/Text/tests/Text.stories.d.ts +0 -0
  1030. /package/{components → dist/components}/TextArea/TextArea.d.ts +0 -0
  1031. /package/{components → dist/components}/TextArea/TextArea.types.js +0 -0
  1032. /package/{components → dist/components}/TextArea/index.d.ts +0 -0
  1033. /package/{components → dist/components}/TextArea/index.js +0 -0
  1034. /package/{components → dist/components}/TextArea/tests/TextArea.stories.d.ts +0 -0
  1035. /package/{components → dist/components}/TextArea/tests/TextArea.stories.js +0 -0
  1036. /package/{components → dist/components}/TextField/TextField.d.ts +0 -0
  1037. /package/{components → dist/components}/TextField/TextField.types.js +0 -0
  1038. /package/{components → dist/components}/TextField/index.d.ts +0 -0
  1039. /package/{components → dist/components}/TextField/index.js +0 -0
  1040. /package/{components → dist/components}/TextField/tests/TextField.stories.d.ts +0 -0
  1041. /package/{components → dist/components}/TextField/tests/TextField.stories.js +0 -0
  1042. /package/{components → dist/components}/Theme/GlobalColorMode.d.ts +0 -0
  1043. /package/{components → dist/components}/Theme/GlobalColorMode.js +0 -0
  1044. /package/{components → dist/components}/Theme/Theme.context.d.ts +0 -0
  1045. /package/{components → dist/components}/Theme/Theme.d.ts +0 -0
  1046. /package/{components → dist/components}/Theme/Theme.module.css +0 -0
  1047. /package/{components → dist/components}/Theme/Theme.types.js +0 -0
  1048. /package/{components → dist/components}/Theme/index.d.ts +0 -0
  1049. /package/{components → dist/components}/Theme/index.js +0 -0
  1050. /package/{components → dist/components}/Theme/tests/Theme.stories.d.ts +0 -0
  1051. /package/{components → dist/components}/Theme/tests/Theme.stories.js +0 -0
  1052. /package/{components → dist/components}/Timeline/Timeline.d.ts +0 -0
  1053. /package/{components → dist/components}/Timeline/Timeline.module.css +0 -0
  1054. /package/{components → dist/components}/Timeline/Timeline.types.js +0 -0
  1055. /package/{components → dist/components}/Timeline/index.d.ts +0 -0
  1056. /package/{components → dist/components}/Timeline/index.js +0 -0
  1057. /package/{components → dist/components}/Timeline/tests/Timeline.stories.d.ts +0 -0
  1058. /package/{components → dist/components}/Timeline/tests/Timeline.stories.js +0 -0
  1059. /package/{components → dist/components}/Toast/Toast.constants.d.ts +0 -0
  1060. /package/{components → dist/components}/Toast/Toast.context.d.ts +0 -0
  1061. /package/{components → dist/components}/Toast/Toast.context.js +0 -0
  1062. /package/{components → dist/components}/Toast/Toast.d.ts +0 -0
  1063. /package/{components → dist/components}/Toast/Toast.types.js +0 -0
  1064. /package/{components → dist/components}/Toast/ToastContainer.d.ts +0 -0
  1065. /package/{components → dist/components}/Toast/ToastProvider.d.ts +0 -0
  1066. /package/{components → dist/components}/Toast/ToastRegion.d.ts +0 -0
  1067. /package/{components → dist/components}/Toast/index.d.ts +0 -0
  1068. /package/{components → dist/components}/Toast/index.js +0 -0
  1069. /package/{components → dist/components}/Toast/tests/Toast.stories.d.ts +0 -0
  1070. /package/{components → dist/components}/Toast/useToast.d.ts +0 -0
  1071. /package/{components → dist/components}/Toast/useToast.js +0 -0
  1072. /package/{components → dist/components}/Tooltip/Tooltip.d.ts +0 -0
  1073. /package/{components → dist/components}/Tooltip/Tooltip.js +0 -0
  1074. /package/{components → dist/components}/Tooltip/Tooltip.types.d.ts +0 -0
  1075. /package/{components → dist/components}/Tooltip/Tooltip.types.js +0 -0
  1076. /package/{components → dist/components}/Tooltip/index.d.ts +0 -0
  1077. /package/{components → dist/components}/Tooltip/index.js +0 -0
  1078. /package/{components → dist/components}/Tooltip/tests/Tooltip.stories.d.ts +0 -0
  1079. /package/{components → dist/components}/View/View.module.css +0 -0
  1080. /package/{components → dist/components}/View/View.types.d.ts +0 -0
  1081. /package/{components → dist/components}/View/View.types.js +0 -0
  1082. /package/{components → dist/components}/View/index.d.ts +0 -0
  1083. /package/{components → dist/components}/View/index.js +0 -0
  1084. /package/{components → dist/components}/_private/Aligner/Aligner.d.ts +0 -0
  1085. /package/{components → dist/components}/_private/Aligner/Aligner.module.css +0 -0
  1086. /package/{components → dist/components}/_private/Aligner/Aligner.types.js +0 -0
  1087. /package/{components → dist/components}/_private/Aligner/index.d.ts +0 -0
  1088. /package/{components → dist/components}/_private/Aligner/index.js +0 -0
  1089. /package/{components → dist/components}/_private/Expandable/Expandable.d.ts +0 -0
  1090. /package/{components → dist/components}/_private/Expandable/Expandable.types.d.ts +0 -0
  1091. /package/{components → dist/components}/_private/Expandable/Expandable.types.js +0 -0
  1092. /package/{components → dist/components}/_private/Expandable/index.d.ts +0 -0
  1093. /package/{components → dist/components}/_private/Expandable/index.js +0 -0
  1094. /package/{components → dist/components}/_private/Flyout/Flyout.d.ts +0 -0
  1095. /package/{components → dist/components}/_private/Flyout/Flyout.module.css +0 -0
  1096. /package/{components → dist/components}/_private/Flyout/Flyout.types.js +0 -0
  1097. /package/{components → dist/components}/_private/Flyout/FlyoutContent.d.ts +0 -0
  1098. /package/{components → dist/components}/_private/Flyout/FlyoutControlled.d.ts +0 -0
  1099. /package/{components → dist/components}/_private/Flyout/FlyoutTrigger.d.ts +0 -0
  1100. /package/{components → dist/components}/_private/Flyout/FlyoutUncontrolled.d.ts +0 -0
  1101. /package/{components → dist/components}/_private/Flyout/index.d.ts +0 -0
  1102. /package/{components → dist/components}/_private/Flyout/index.js +0 -0
  1103. /package/{components → dist/components}/_private/Flyout/tests/Flyout.stories.d.ts +0 -0
  1104. /package/{components → dist/components}/_private/Flyout/useFlyout.d.ts +0 -0
  1105. /package/{components → dist/components}/_private/Flyout/utilities/calculatePosition.d.ts +0 -0
  1106. /package/{components → dist/components}/_private/Flyout/utilities/calculatePosition.js +0 -0
  1107. /package/{components → dist/components}/_private/HiddenInput/HiddenInput.d.ts +0 -0
  1108. /package/{components → dist/components}/_private/HiddenInput/HiddenInput.module.css +0 -0
  1109. /package/{components → dist/components}/_private/HiddenInput/HiddenInput.types.d.ts +0 -0
  1110. /package/{components → dist/components}/_private/HiddenInput/HiddenInput.types.js +0 -0
  1111. /package/{components → dist/components}/_private/HiddenInput/index.d.ts +0 -0
  1112. /package/{components → dist/components}/_private/HiddenInput/index.js +0 -0
  1113. /package/{components → dist/components}/_private/Portal/Portal.d.ts +0 -0
  1114. /package/{components → dist/components}/_private/Portal/Portal.types.d.ts +0 -0
  1115. /package/{components → dist/components}/_private/Portal/Portal.types.js +0 -0
  1116. /package/{components → dist/components}/_private/Portal/index.d.ts +0 -0
  1117. /package/{components → dist/components}/_private/Portal/index.js +0 -0
  1118. /package/{components → dist/components}/_private/Portal/tests/Portal.stories.d.ts +0 -0
  1119. /package/{components → dist/components}/_private/Portal/tests/Portal.stories.js +0 -0
  1120. /package/{constants → dist/constants}/keys.d.ts +0 -0
  1121. /package/{constants → dist/constants}/keys.js +0 -0
  1122. /package/{constants → dist/constants}/timeouts.d.ts +0 -0
  1123. /package/{constants → dist/constants}/timeouts.js +0 -0
  1124. /package/{hooks → dist/hooks}/_private/useIsDismissible.d.ts +0 -0
  1125. /package/{hooks → dist/hooks}/_private/useOnClickOutside.d.ts +0 -0
  1126. /package/{hooks → dist/hooks}/_private/useOnClickOutside.js +0 -0
  1127. /package/{hooks → dist/hooks}/_private/useSingletonEnvironment.d.ts +0 -0
  1128. /package/{hooks → dist/hooks}/_private/useSingletonEnvironment.js +0 -0
  1129. /package/{hooks → dist/hooks}/_private/useSingletonHotkeys.d.ts +0 -0
  1130. /package/{hooks → dist/hooks}/_private/useSingletonKeyboardMode.d.ts +0 -0
  1131. /package/{hooks → dist/hooks}/_private/useSingletonKeyboardMode.js +0 -0
  1132. /package/{hooks → dist/hooks}/tests/useHotkeys.stories.d.ts +0 -0
  1133. /package/{hooks → dist/hooks}/tests/useResponsiveClientValue.stories.d.ts +0 -0
  1134. /package/{hooks → dist/hooks}/tests/useResponsiveClientValue.stories.js +0 -0
  1135. /package/{hooks → dist/hooks}/useElementId.d.ts +0 -0
  1136. /package/{hooks → dist/hooks}/useElementId.js +0 -0
  1137. /package/{hooks → dist/hooks}/useHotkeys.d.ts +0 -0
  1138. /package/{hooks → dist/hooks}/useIsomorphicLayoutEffect.d.ts +0 -0
  1139. /package/{hooks → dist/hooks}/useIsomorphicLayoutEffect.js +0 -0
  1140. /package/{hooks → dist/hooks}/useRTL.d.ts +0 -0
  1141. /package/{hooks → dist/hooks}/useRTL.js +0 -0
  1142. /package/{hooks → dist/hooks}/useResponsiveClientValue.d.ts +0 -0
  1143. /package/{hooks → dist/hooks}/useResponsiveClientValue.js +0 -0
  1144. /package/{hooks → dist/hooks}/useScrollLock.d.ts +0 -0
  1145. /package/{hooks → dist/hooks}/useScrollLock.js +0 -0
  1146. /package/{hooks → dist/hooks}/useToggle.d.ts +0 -0
  1147. /package/{hooks → dist/hooks}/useToggle.js +0 -0
  1148. /package/{icons → dist/icons}/ArrowUpRight.d.ts +0 -0
  1149. /package/{icons → dist/icons}/ArrowUpRight.js +0 -0
  1150. /package/{icons → dist/icons}/Checkmark.d.ts +0 -0
  1151. /package/{icons → dist/icons}/Checkmark.js +0 -0
  1152. /package/{icons → dist/icons}/ChevronDown.d.ts +0 -0
  1153. /package/{icons → dist/icons}/ChevronDown.js +0 -0
  1154. /package/{icons → dist/icons}/ChevronLeft.d.ts +0 -0
  1155. /package/{icons → dist/icons}/ChevronLeft.js +0 -0
  1156. /package/{icons → dist/icons}/ChevronRight.d.ts +0 -0
  1157. /package/{icons → dist/icons}/ChevronRight.js +0 -0
  1158. /package/{icons → dist/icons}/ChevronVertical.d.ts +0 -0
  1159. /package/{icons → dist/icons}/ChevronVertical.js +0 -0
  1160. /package/{icons → dist/icons}/Close.d.ts +0 -0
  1161. /package/{icons → dist/icons}/Close.js +0 -0
  1162. /package/{icons → dist/icons}/DotsHorizontal.d.ts +0 -0
  1163. /package/{icons → dist/icons}/DotsHorizontal.js +0 -0
  1164. /package/{icons → dist/icons}/Mic.d.ts +0 -0
  1165. /package/{icons → dist/icons}/Zap.d.ts +0 -0
  1166. /package/{icons → dist/icons}/Zap.js +0 -0
  1167. /package/{index.d.ts → dist/index.d.ts} +0 -0
  1168. /package/{index.js → dist/index.js} +0 -0
  1169. /package/{styles → dist/styles}/aspectRatio/aspectRatio.module.css +0 -0
  1170. /package/{styles → dist/styles}/aspectRatio/index.d.ts +0 -0
  1171. /package/{styles → dist/styles}/aspectRatio/index.js +0 -0
  1172. /package/{styles → dist/styles}/bleed/bleed.module.css +0 -0
  1173. /package/{styles → dist/styles}/bleed/index.d.ts +0 -0
  1174. /package/{styles → dist/styles}/bleed/index.js +0 -0
  1175. /package/{styles → dist/styles}/height/height.module.css +0 -0
  1176. /package/{styles → dist/styles}/height/index.d.ts +0 -0
  1177. /package/{styles → dist/styles}/height/index.js +0 -0
  1178. /package/{styles → dist/styles}/inset/index.d.ts +0 -0
  1179. /package/{styles → dist/styles}/inset/index.js +0 -0
  1180. /package/{styles → dist/styles}/inset/inset.module.css +0 -0
  1181. /package/{styles → dist/styles}/maxHeight/index.d.ts +0 -0
  1182. /package/{styles → dist/styles}/maxHeight/index.js +0 -0
  1183. /package/{styles → dist/styles}/maxHeight/maxHeight.module.css +0 -0
  1184. /package/{styles → dist/styles}/maxWidth/index.d.ts +0 -0
  1185. /package/{styles → dist/styles}/maxWidth/index.js +0 -0
  1186. /package/{styles → dist/styles}/maxWidth/maxWidth.module.css +0 -0
  1187. /package/{styles → dist/styles}/minHeight/index.d.ts +0 -0
  1188. /package/{styles → dist/styles}/minHeight/index.js +0 -0
  1189. /package/{styles → dist/styles}/minHeight/minHeight.module.css +0 -0
  1190. /package/{styles → dist/styles}/minWidth/index.d.ts +0 -0
  1191. /package/{styles → dist/styles}/minWidth/index.js +0 -0
  1192. /package/{styles → dist/styles}/minWidth/minWidth.module.css +0 -0
  1193. /package/{styles → dist/styles}/padding/index.d.ts +0 -0
  1194. /package/{styles → dist/styles}/padding/index.js +0 -0
  1195. /package/{styles → dist/styles}/padding/padding.module.css +0 -0
  1196. /package/{styles → dist/styles}/position/index.d.ts +0 -0
  1197. /package/{styles → dist/styles}/position/index.js +0 -0
  1198. /package/{styles → dist/styles}/position/position.module.css +0 -0
  1199. /package/{styles → dist/styles}/radius/index.d.ts +0 -0
  1200. /package/{styles → dist/styles}/radius/index.js +0 -0
  1201. /package/{styles → dist/styles}/types.d.ts +0 -0
  1202. /package/{styles → dist/styles}/types.js +0 -0
  1203. /package/{styles → dist/styles}/width/index.d.ts +0 -0
  1204. /package/{styles → dist/styles}/width/index.js +0 -0
  1205. /package/{styles → dist/styles}/width/width.module.css +0 -0
  1206. /package/{themes/_generator/utilities/tests/generateColors.test.d.ts → dist/tests/themingWithDefinition.d.ts} +0 -0
  1207. /package/{types/global.js → dist/tests/themingWithoutDefinition.d.ts} +0 -0
  1208. /package/{themes → dist/themes}/_generator/tests/themes.stories.d.ts +0 -0
  1209. /package/{utilities/a11y/types.js → dist/themes/_generator/tokens/color/color.types.js} +0 -0
  1210. /package/{utilities → dist/utilities}/Chain.d.ts +0 -0
  1211. /package/{utilities → dist/utilities}/a11y/TrapFocus.d.ts +0 -0
  1212. /package/{utilities → dist/utilities}/a11y/TrapScreenReader.d.ts +0 -0
  1213. /package/{utilities → dist/utilities}/a11y/focus.d.ts +0 -0
  1214. /package/{utilities → dist/utilities}/a11y/keyboardMode.d.ts +0 -0
  1215. /package/{utilities → dist/utilities}/a11y/keyboardMode.js +0 -0
  1216. /package/{utilities → dist/utilities}/a11y/types.d.ts +0 -0
  1217. /package/{utilities → dist/utilities}/animation.d.ts +0 -0
  1218. /package/{utilities → dist/utilities}/animation.js +0 -0
  1219. /package/{utilities → dist/utilities}/dom.d.ts +0 -0
  1220. /package/{utilities → dist/utilities}/helpers.d.ts +0 -0
  1221. /package/{utilities → dist/utilities}/storybook/Example.d.ts +0 -0
  1222. /package/{utilities → dist/utilities}/storybook/Example.module.css +0 -0
  1223. /package/{utilities → dist/utilities}/storybook/Placeholder.d.ts +0 -0
  1224. /package/{utilities → dist/utilities}/storybook/index.d.ts +0 -0
  1225. /package/{utilities → dist/utilities}/storybook/index.js +0 -0
package/dist/bundle.js ADDED
@@ -0,0 +1,27 @@
1
+ (function(T,c){typeof exports=="object"&&typeof module!="undefined"?c(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],c):(T=typeof globalThis!="undefined"?globalThis:T||self,c(T.Reshaped={},T.React,T.ReactDOM))})(this,function(T,c,ve){"use strict";var ql=Object.defineProperty,Bl=Object.defineProperties;var Hl=Object.getOwnPropertyDescriptors;var Tn=Object.getOwnPropertySymbols;var xs=Object.prototype.hasOwnProperty,ws=Object.prototype.propertyIsEnumerable;var jo=(T,c,ve)=>c in T?ql(T,c,{enumerable:!0,configurable:!0,writable:!0,value:ve}):T[c]=ve,p=(T,c)=>{for(var ve in c||(c={}))xs.call(c,ve)&&jo(T,ve,c[ve]);if(Tn)for(var ve of Tn(c))ws.call(c,ve)&&jo(T,ve,c[ve]);return T},z=(T,c)=>Bl(T,Hl(c));var Se=(T,c)=>{var ve={};for(var Ie in T)xs.call(T,Ie)&&c.indexOf(Ie)<0&&(ve[Ie]=T[Ie]);if(T!=null&&Tn)for(var Ie of Tn(T))c.indexOf(Ie)<0&&ws.call(T,Ie)&&(ve[Ie]=T[Ie]);return ve};var le=(T,c,ve)=>(jo(T,typeof c!="symbol"?c+"":c,ve),ve);var Ie={exports:{}},It={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var ko;function ys(){if(ko)return It;ko=1;var e=c,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function a(l,u,m){var d,f={},_=null,g=null;m!==void 0&&(_=""+m),u.key!==void 0&&(_=""+u.key),u.ref!==void 0&&(g=u.ref);for(d in u)o.call(u,d)&&!s.hasOwnProperty(d)&&(f[d]=u[d]);if(l&&l.defaultProps)for(d in u=l.defaultProps,u)f[d]===void 0&&(f[d]=u[d]);return{$$typeof:t,type:l,key:_,ref:g,props:f,_owner:r.current}}return It.Fragment=n,It.jsx=a,It.jsxs=a,It}var Dt={};/**
10
+ * @license React
11
+ * react-jsx-runtime.development.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var $o;function Cs(){return $o||($o=1,process.env.NODE_ENV!=="production"&&function(){var e=c,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),v=Symbol.iterator,b="@@iterator";function y(h){if(h===null||typeof h!="object")return null;var E=v&&h[v]||h[b];return typeof E=="function"?E:null}var w=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(h){{for(var E=arguments.length,D=new Array(E>1?E-1:0),B=1;B<E;B++)D[B-1]=arguments[B];j("error",h,D)}}function j(h,E,D){{var B=w.ReactDebugCurrentFrame,Q=B.getStackAddendum();Q!==""&&(E+="%s",D=D.concat([Q]));var ae=D.map(function(X){return String(X)});ae.unshift("Warning: "+E),Function.prototype.apply.call(console[h],console,ae)}}var C=!1,N=!1,I=!1,k=!1,$=!1,F;F=Symbol.for("react.module.reference");function S(h){return!!(typeof h=="string"||typeof h=="function"||h===o||h===s||$||h===r||h===m||h===d||k||h===g||C||N||I||typeof h=="object"&&h!==null&&(h.$$typeof===_||h.$$typeof===f||h.$$typeof===a||h.$$typeof===l||h.$$typeof===u||h.$$typeof===F||h.getModuleId!==void 0))}function M(h,E,D){var B=h.displayName;if(B)return B;var Q=E.displayName||E.name||"";return Q!==""?D+"("+Q+")":D}function P(h){return h.displayName||"Context"}function O(h){if(h==null)return null;if(typeof h.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case o:return"Fragment";case n:return"Portal";case s:return"Profiler";case r:return"StrictMode";case m:return"Suspense";case d:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case l:var E=h;return P(E)+".Consumer";case a:var D=h;return P(D._context)+".Provider";case u:return M(h,h.render,"ForwardRef");case f:var B=h.displayName||null;return B!==null?B:O(h.type)||"Memo";case _:{var Q=h,ae=Q._payload,X=Q._init;try{return O(X(ae))}catch(U){return null}}}return null}var L=Object.assign,V=0,G,_e,ne,Ae,oe,Z,ee;function te(){}te.__reactDisabledLog=!0;function xe(){{if(V===0){G=console.log,_e=console.info,ne=console.warn,Ae=console.error,oe=console.group,Z=console.groupCollapsed,ee=console.groupEnd;var h={configurable:!0,enumerable:!0,value:te,writable:!0};Object.defineProperties(console,{info:h,log:h,warn:h,error:h,group:h,groupCollapsed:h,groupEnd:h})}V++}}function K(){{if(V--,V===0){var h={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:L({},h,{value:G}),info:L({},h,{value:_e}),warn:L({},h,{value:ne}),error:L({},h,{value:Ae}),group:L({},h,{value:oe}),groupCollapsed:L({},h,{value:Z}),groupEnd:L({},h,{value:ee})})}V<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Y=w.ReactCurrentDispatcher,H;function W(h,E,D){{if(H===void 0)try{throw Error()}catch(Q){var B=Q.stack.trim().match(/\n( *(at )?)/);H=B&&B[1]||""}return`
18
+ `+H+h}}var ie=!1,ce;{var me=typeof WeakMap=="function"?WeakMap:Map;ce=new me}function we(h,E){if(!h||ie)return"";{var D=ce.get(h);if(D!==void 0)return D}var B;ie=!0;var Q=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ae;ae=Y.current,Y.current=null,xe();try{if(E){var X=function(){throw Error()};if(Object.defineProperty(X.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(X,[])}catch(at){B=at}Reflect.construct(h,[],X)}else{try{X.call()}catch(at){B=at}h.call(X.prototype)}}else{try{throw Error()}catch(at){B=at}h()}}catch(at){if(at&&B&&typeof at.stack=="string"){for(var U=at.stack.split(`
19
+ `),Ee=B.stack.split(`
20
+ `),he=U.length-1,ge=Ee.length-1;he>=1&&ge>=0&&U[he]!==Ee[ge];)ge--;for(;he>=1&&ge>=0;he--,ge--)if(U[he]!==Ee[ge]){if(he!==1||ge!==1)do if(he--,ge--,ge<0||U[he]!==Ee[ge]){var Oe=`
21
+ `+U[he].replace(" at new "," at ");return h.displayName&&Oe.includes("<anonymous>")&&(Oe=Oe.replace("<anonymous>",h.displayName)),typeof h=="function"&&ce.set(h,Oe),Oe}while(he>=1&&ge>=0);break}}}finally{ie=!1,Y.current=ae,K(),Error.prepareStackTrace=Q}var St=h?h.displayName||h.name:"",ps=St?W(St):"";return typeof h=="function"&&ce.set(h,ps),ps}function R(h,E,D){return we(h,!1)}function Je(h){var E=h.prototype;return!!(E&&E.isReactComponent)}function ye(h,E,D){if(h==null)return"";if(typeof h=="function")return we(h,Je(h));if(typeof h=="string")return W(h);switch(h){case m:return W("Suspense");case d:return W("SuspenseList")}if(typeof h=="object")switch(h.$$typeof){case u:return R(h.render);case f:return ye(h.type,E,D);case _:{var B=h,Q=B._payload,ae=B._init;try{return ye(ae(Q),E,D)}catch(X){}}}return""}var je=Object.prototype.hasOwnProperty,Le={},Ve=w.ReactDebugCurrentFrame;function Me(h){if(h){var E=h._owner,D=ye(h.type,h._source,E?E.type:null);Ve.setExtraStackFrame(D)}else Ve.setExtraStackFrame(null)}function dt(h,E,D,B,Q){{var ae=Function.call.bind(je);for(var X in h)if(ae(h,X)){var U=void 0;try{if(typeof h[X]!="function"){var Ee=Error((B||"React class")+": "+D+" type `"+X+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof h[X]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ee.name="Invariant Violation",Ee}U=h[X](E,X,B,D,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(he){U=he}U&&!(U instanceof Error)&&(Me(Q),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",B||"React class",D,X,typeof U),Me(null)),U instanceof Error&&!(U.message in Le)&&(Le[U.message]=!0,Me(Q),x("Failed %s type: %s",D,U.message),Me(null))}}}var Kt=Array.isArray;function _t(h){return Kt(h)}function xo(h){{var E=typeof Symbol=="function"&&Symbol.toStringTag,D=E&&h[Symbol.toStringTag]||h.constructor.name||"Object";return D}}function Xt(h){try{return kn(h),!1}catch(E){return!0}}function kn(h){return""+h}function $n(h){if(Xt(h))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",xo(h)),kn(h)}var vt=w.ReactCurrentOwner,ke={key:!0,ref:!0,__self:!0,__source:!0},pe,Ue,ze;ze={};function st(h){if(je.call(h,"ref")){var E=Object.getOwnPropertyDescriptor(h,"ref").get;if(E&&E.isReactWarning)return!1}return h.ref!==void 0}function Ye(h){if(je.call(h,"key")){var E=Object.getOwnPropertyDescriptor(h,"key").get;if(E&&E.isReactWarning)return!1}return h.key!==void 0}function mt(h,E){if(typeof h.ref=="string"&&vt.current&&E&&vt.current.stateNode!==E){var D=O(vt.current.type);ze[D]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',O(vt.current.type),h.ref),ze[D]=!0)}}function it(h,E){{var D=function(){pe||(pe=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",E))};D.isReactWarning=!0,Object.defineProperty(h,"key",{get:D,configurable:!0})}}function Nn(h,E){{var D=function(){Ue||(Ue=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",E))};D.isReactWarning=!0,Object.defineProperty(h,"ref",{get:D,configurable:!0})}}var zn=function(h,E,D,B,Q,ae,X){var U={$$typeof:t,type:h,key:E,ref:D,props:X,_owner:ae};return U._store={},Object.defineProperty(U._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(U,"_self",{configurable:!1,enumerable:!1,writable:!1,value:B}),Object.defineProperty(U,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Q}),Object.freeze&&(Object.freeze(U.props),Object.freeze(U)),U};function En(h,E,D,B,Q){{var ae,X={},U=null,Ee=null;D!==void 0&&($n(D),U=""+D),Ye(E)&&($n(E.key),U=""+E.key),st(E)&&(Ee=E.ref,mt(E,Q));for(ae in E)je.call(E,ae)&&!ke.hasOwnProperty(ae)&&(X[ae]=E[ae]);if(h&&h.defaultProps){var he=h.defaultProps;for(ae in he)X[ae]===void 0&&(X[ae]=he[ae])}if(U||Ee){var ge=typeof h=="function"?h.displayName||h.name||"Unknown":h;U&&it(X,ge),Ee&&Nn(X,ge)}return zn(h,U,Ee,Q,B,vt.current,X)}}var wo=w.ReactCurrentOwner,ms=w.ReactDebugCurrentFrame;function Mt(h){if(h){var E=h._owner,D=ye(h.type,h._source,E?E.type:null);ms.setExtraStackFrame(D)}else ms.setExtraStackFrame(null)}var yo;yo=!1;function Co(h){return typeof h=="object"&&h!==null&&h.$$typeof===t}function fs(){{if(wo.current){var h=O(wo.current.type);if(h)return`
22
+
23
+ Check the render method of \``+h+"`."}return""}}function Il(h){{if(h!==void 0){var E=h.fileName.replace(/^.*[\\\/]/,""),D=h.lineNumber;return`
24
+
25
+ Check your code at `+E+":"+D+"."}return""}}var hs={};function Dl(h){{var E=fs();if(!E){var D=typeof h=="string"?h:h.displayName||h.name;D&&(E=`
26
+
27
+ Check the top-level render call using <`+D+">.")}return E}}function bs(h,E){{if(!h._store||h._store.validated||h.key!=null)return;h._store.validated=!0;var D=Dl(E);if(hs[D])return;hs[D]=!0;var B="";h&&h._owner&&h._owner!==wo.current&&(B=" It was passed a child from "+O(h._owner.type)+"."),Mt(h),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',D,B),Mt(null)}}function gs(h,E){{if(typeof h!="object")return;if(_t(h))for(var D=0;D<h.length;D++){var B=h[D];Co(B)&&bs(B,E)}else if(Co(h))h._store&&(h._store.validated=!0);else if(h){var Q=y(h);if(typeof Q=="function"&&Q!==h.entries)for(var ae=Q.call(h),X;!(X=ae.next()).done;)Co(X.value)&&bs(X.value,E)}}}function Al(h){{var E=h.type;if(E==null||typeof E=="string")return;var D;if(typeof E=="function")D=E.propTypes;else if(typeof E=="object"&&(E.$$typeof===u||E.$$typeof===f))D=E.propTypes;else return;if(D){var B=O(E);dt(D,h.props,"prop",B,h)}else if(E.PropTypes!==void 0&&!yo){yo=!0;var Q=O(E);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Q||"Unknown")}typeof E.getDefaultProps=="function"&&!E.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Pl(h){{for(var E=Object.keys(h.props),D=0;D<E.length;D++){var B=E[D];if(B!=="children"&&B!=="key"){Mt(h),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",B),Mt(null);break}}h.ref!==null&&(Mt(h),x("Invalid attribute `ref` supplied to `React.Fragment`."),Mt(null))}}function vs(h,E,D,B,Q,ae){{var X=S(h);if(!X){var U="";(h===void 0||typeof h=="object"&&h!==null&&Object.keys(h).length===0)&&(U+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Ee=Il(Q);Ee?U+=Ee:U+=fs();var he;h===null?he="null":_t(h)?he="array":h!==void 0&&h.$$typeof===t?(he="<"+(O(h.type)||"Unknown")+" />",U=" Did you accidentally export a JSX literal instead of a component?"):he=typeof h,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",he,U)}var ge=En(h,E,D,Q,ae);if(ge==null)return ge;if(X){var Oe=E.children;if(Oe!==void 0)if(B)if(_t(Oe)){for(var St=0;St<Oe.length;St++)gs(Oe[St],h);Object.freeze&&Object.freeze(Oe)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else gs(Oe,h)}return h===o?Pl(ge):Al(ge),ge}}function Fl(h,E,D){return vs(h,E,D,!0)}function Ll(h,E,D){return vs(h,E,D,!1)}var Vl=Ll,Ol=Fl;Dt.Fragment=o,Dt.jsx=Vl,Dt.jsxs=Ol}()),Dt}process.env.NODE_ENV==="production"?Ie.exports=ys():Ie.exports=Cs();var i=Ie.exports;const Mn=(e,t)=>e>t?[]:Array.from({length:t-e+1},(n,o)=>e+o),No=(e,t=20)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout(()=>e(...r),t)}};function js(e,t){const n=No(e,t);return o=>("persist"in o&&o.persist(),n(o))}const ks=(e,t)=>{let n=!1;return(...o)=>{n||(e(...o),n=!0,setTimeout(()=>{n=!1,setTimeout(()=>{n||e(...o)},t)},t))}},A=(...e)=>e.reduce((t,n)=>{if(Array.isArray(n)){const o=A(...n);return o?`${t} ${o}`:t}return n?`${t} ${n}`:t},""),zo=(e,t,n)=>{const{base:o,excludeValueFromClassName:r}=n||{},s=typeof e=="string"?e:e(t);return t===!0&&o||r?s:t===!0&&!o?`${s}-true`:t===!1&&!o?`${s}-false`:t!==void 0?`${s}-${t}`:null},J=(e,t,n,o)=>{if(typeof n!="object"){const r=zo(t,n,{base:!0,excludeValueFromClassName:o==null?void 0:o.excludeValueFromClassName});return r?[e[r]]:[]}return Object.keys(n).reduce((r,s)=>{const a=s==="s",l=zo(t,n[s],{base:a,excludeValueFromClassName:o==null?void 0:o.excludeValueFromClassName}),u=a?"":`--${s}`;return[...r,e[`${l}${u}`]]},[])},ue=(e,t)=>t===void 0?{}:typeof t!="object"?{[`${e}-s`]:t}:Object.keys(t).reduce((n,o)=>{const r=t[o];return r===void 0||r===!1?n:z(p({},n),{[`${e}-${o}`]:r})},{}),$s=e=>e===null?!1:typeof e=="object"&&e!==null&&"s"in e,Te=(e,t)=>$s(e)?Object.keys(e).reduce((o,r)=>{const s=e[r];return s==null?o:z(p({},o),{[r]:t(s,r)})},{}):t(e,"s"),qe=e=>{const t=c.useId();return e||t},Sn=c.createContext({active:!1,onToggle:()=>{},triggerId:"",contentId:""}),Eo=e=>{const{children:t,onToggle:n,active:o,iconPosition:r,iconSize:s,className:a,attributes:l}=e,u=A(a),m=qe(),d=c.useMemo(()=>({triggerId:`${m}-trigger`,contentId:`${m}-content`,active:o,onToggle:n,iconPosition:r,iconSize:s}),[o]);return i.jsx("div",z(p({},l),{className:u,children:i.jsx(Sn.Provider,{value:d,children:t})}))},Ns=e=>{const l=e,{defaultActive:t,onToggle:n}=l,o=Se(l,["defaultActive","onToggle"]),[r,s]=c.useState(t||!1),a=u=>{s(u),n==null||n(u)};return i.jsx(Eo,z(p({},o),{onToggle:a,active:r}))},zs=" ",To="Enter",Es="Tab",Jt="ArrowUp",Zt="ArrowDown",Qt="ArrowRight",en="ArrowLeft",At={root:"_root_15l9m_2","--inset":"_--inset_15l9m_31","--radius-inherit":"_--radius-inherit_15l9m_35","--disabled":"_--disabled_15l9m_56","--full-width":"_--full-width_15l9m_65"},Pe=c.forwardRef((e,t)=>{const{children:n,href:o,onClick:r,type:s,disabled:a,insetFocus:l,borderRadius:u,as:m,fullWidth:d,className:f,attributes:_}=e,g=A(At.root,f,a&&At["--disabled"],u&&At[`--radius-${u}`],l&&At["--inset"],d&&At["--full-width"]),v=p({},_),b=r||(_==null?void 0:_.onClick),y=(_==null?void 0:_.onFocus)||(_==null?void 0:_.onBlur),w=!!(o||_!=null&&_.href),x=!!(b||y||s),j=!w&&x&&(!m||m==="button");let C;if(w)C="a",v.href=a?void 0:o||(_==null?void 0:_.href);else if(j)C="button",v.type=s||(_==null?void 0:_.type)||"button",v.disabled=a||(_==null?void 0:_.disabled);else if(x){const $=!(m==="label")||b||y;C=m||"span",v.role=$?"button":void 0,v.tabIndex=$?0:void 0}else C=m||"span";const N=k=>{var $;a||(r==null||r(k),($=_==null?void 0:_.onClick)==null||$.call(_,k))},I=k=>{const $=k.key===zs,F=k.key===To;!$&&!F||v.role==="button"&&(k.preventDefault(),N(k))};return i.jsx(C,z(p({ref:t},v),{className:g,onClick:N,onKeyDown:I,children:n}))}),In={root:"_root_m2bn1_1","--blank":"_--blank_m2bn1_8","--vertical":"_--vertical_m2bn1_15","--vertical-true--m":"_--vertical-true--m_m2bn1_1","--vertical-false--m":"_--vertical-false--m_m2bn1_1","--vertical-true--l":"_--vertical-true--l_m2bn1_1","--vertical-false--l":"_--vertical-false--l_m2bn1_1","--vertical-true--xl":"_--vertical-true--xl_m2bn1_1","--vertical-false--xl":"_--vertical-false--xl_m2bn1_1"},tn=e=>{const{vertical:t,blank:n,className:o,attributes:r}=e,s=A(In.root,o,n&&In["--blank"],...J(In,"--vertical",t));let a;return(typeof t=="boolean"||t===void 0)&&(a=t?"vertical":"horizontal"),i.jsx("div",z(p({},r),{role:"separator","aria-orientation":a,className:s}))},Dn={root:"_root_11ilc_1","--hidden":"_--hidden_11ilc_5","--visibility":"_--visibility_11ilc_9","--hidden-true--m":"_--hidden-true--m_11ilc_1","--hidden-false--m":"_--hidden-false--m_11ilc_1","--hidden-true--l":"_--hidden-true--l_11ilc_1","--hidden-false--l":"_--hidden-false--l_11ilc_1","--hidden-true--xl":"_--hidden-true--xl_11ilc_1","--hidden-false--xl":"_--hidden-false--xl_11ilc_1"},pt=e=>{const{as:t="div",children:n,visibility:o,hide:r}=e,s=A(Dn.root,...J(Dn,"--hidden",r),o&&Dn["--visibility"]);return i.jsx(t,{className:s,children:n})},re={root:"_root_wwxeb_1",item:"_item_wwxeb_11","--padding":"_--padding_wwxeb_19","--padding-top":"_--padding-top_wwxeb_30","--padding-bottom":"_--padding-bottom_wwxeb_34","--padding-start":"_--padding-start_wwxeb_38","--padding-end":"_--padding-end_wwxeb_42","--animated":"_--animated_wwxeb_46","--align-text-start":"_--align-text-start_wwxeb_1","--align-text-center":"_--align-text-center_wwxeb_1","--align-text-end":"_--align-text-end_wwxeb_1","--bg-neutral":"_--bg-neutral_wwxeb_1","--bg-positive":"_--bg-positive_wwxeb_1","--bg-warning":"_--bg-warning_wwxeb_1","--bg-critical":"_--bg-critical_wwxeb_1","--bg-primary":"_--bg-primary_wwxeb_1","--bg-neutral-faded":"_--bg-neutral-faded_wwxeb_1","--bg-positive-faded":"_--bg-positive-faded_wwxeb_1","--bg-warning-faded":"_--bg-warning-faded_wwxeb_1","--bg-critical-faded":"_--bg-critical-faded_wwxeb_1","--bg-primary-faded":"_--bg-primary-faded_wwxeb_1","--bg-page":"_--bg-page_wwxeb_1","--bg-page-faded":"_--bg-page-faded_wwxeb_1","--bg-disabled":"_--bg-disabled_wwxeb_1","--bg-disabled-faded":"_--bg-disabled-faded_wwxeb_1","--bg-elevation-base":"_--bg-elevation-base_wwxeb_1","--bg-elevation-raised":"_--bg-elevation-raised_wwxeb_1","--bg-elevation-overlay":"_--bg-elevation-overlay_wwxeb_1","--bg-brand":"_--bg-brand_wwxeb_72","--bg-white":"_--bg-white_wwxeb_77","--bg-black":"_--bg-black_wwxeb_82","--shadow-raised":"_--shadow-raised_wwxeb_87","--shadow-overlay":"_--shadow-overlay_wwxeb_91","--bd":"_--bd_wwxeb_95","--bd-neutral-faded":"_--bd-neutral-faded_wwxeb_1","--bd-neutral":"_--bd-neutral_wwxeb_1","--bd-positive":"_--bd-positive_wwxeb_1","--bd-positive-faded":"_--bd-positive-faded_wwxeb_1","--bd-warning":"_--bd-warning_wwxeb_1","--bd-warning-faded":"_--bd-warning-faded_wwxeb_1","--bd-critical":"_--bd-critical_wwxeb_1","--bd-critical-faded":"_--bd-critical-faded_wwxeb_1","--bd-primary":"_--bd-primary_wwxeb_1","--bd-primary-faded":"_--bd-primary-faded_wwxeb_1","--bd-disabled":"_--bd-disabled_wwxeb_1","--bd-brand":"_--bd-brand_wwxeb_108","--bd-transparent":"_--bd-transparent_wwxeb_112","--overflow-hidden":"_--overflow-hidden_wwxeb_116","--overflow-auto":"_--overflow-auto_wwxeb_120","--divided":"_--divided_wwxeb_124","--flex":"_--flex_wwxeb_128","--direction-column":"_--direction-column_wwxeb_1","item--gap-before":"_item--gap-before_wwxeb_140","item--gap-auto":"_item--gap-auto_wwxeb_144","--direction-column-reverse":"_--direction-column-reverse_wwxeb_1","--direction-row":"_--direction-row_wwxeb_1","--direction-row-reverse":"_--direction-row-reverse_wwxeb_1","--nowrap":"_--nowrap_wwxeb_199","--wrap":"_--wrap_wwxeb_207","--nowrap-false--m":"_--nowrap-false--m_wwxeb_1","--wrap-true--m":"_--wrap-true--m_wwxeb_1","--nowrap-true--m":"_--nowrap-true--m_wwxeb_1","--wrap-false--m":"_--wrap-false--m_wwxeb_1","--nowrap-false--l":"_--nowrap-false--l_wwxeb_1","--wrap-true--l":"_--wrap-true--l_wwxeb_1","--nowrap-true--l":"_--nowrap-true--l_wwxeb_1","--wrap-false--l":"_--wrap-false--l_wwxeb_1","--nowrap-false--xl":"_--nowrap-false--xl_wwxeb_1","--wrap-true--xl":"_--wrap-true--xl_wwxeb_1","--nowrap-true--xl":"_--nowrap-true--xl_wwxeb_1","--wrap-false--xl":"_--wrap-false--xl_wwxeb_1","--align-start":"_--align-start_wwxeb_1","--align-end":"_--align-end_wwxeb_1","--align-center":"_--align-center_wwxeb_1","--align-stretch":"_--align-stretch_wwxeb_1","--align-baseline":"_--align-baseline_wwxeb_1","--justify-start":"_--justify-start_wwxeb_1","--justify-end":"_--justify-end_wwxeb_1","--justify-center":"_--justify-center_wwxeb_1","--justify-space-between":"_--justify-space-between_wwxeb_1",divider:"_divider_wwxeb_266","item--grow":"_item--grow_wwxeb_270","item--columns":"_item--columns_wwxeb_288","item--columns-1":"_item--columns-1_wwxeb_1","item--columns-2":"_item--columns-2_wwxeb_1","item--columns-3":"_item--columns-3_wwxeb_1","item--columns-4":"_item--columns-4_wwxeb_1","item--columns-5":"_item--columns-5_wwxeb_1","item--columns-6":"_item--columns-6_wwxeb_1","item--columns-7":"_item--columns-7_wwxeb_1","item--columns-8":"_item--columns-8_wwxeb_1","item--columns-9":"_item--columns-9_wwxeb_1","item--columns-10":"_item--columns-10_wwxeb_1","item--columns-11":"_item--columns-11_wwxeb_1","item--columns-12":"_item--columns-12_wwxeb_1","item--columns-auto":"_item--columns-auto_wwxeb_309","item--columns-1--m":"_item--columns-1--m_wwxeb_1","item--columns-auto--m":"_item--columns-auto--m_wwxeb_1","item--columns-2--m":"_item--columns-2--m_wwxeb_1","item--columns-3--m":"_item--columns-3--m_wwxeb_1","item--columns-4--m":"_item--columns-4--m_wwxeb_1","item--columns-5--m":"_item--columns-5--m_wwxeb_1","item--columns-6--m":"_item--columns-6--m_wwxeb_1","item--columns-7--m":"_item--columns-7--m_wwxeb_1","item--columns-8--m":"_item--columns-8--m_wwxeb_1","item--columns-9--m":"_item--columns-9--m_wwxeb_1","item--columns-10--m":"_item--columns-10--m_wwxeb_1","item--columns-11--m":"_item--columns-11--m_wwxeb_1","item--columns-12--m":"_item--columns-12--m_wwxeb_1","item--columns-1--l":"_item--columns-1--l_wwxeb_1","item--columns-auto--l":"_item--columns-auto--l_wwxeb_1","item--columns-2--l":"_item--columns-2--l_wwxeb_1","item--columns-3--l":"_item--columns-3--l_wwxeb_1","item--columns-4--l":"_item--columns-4--l_wwxeb_1","item--columns-5--l":"_item--columns-5--l_wwxeb_1","item--columns-6--l":"_item--columns-6--l_wwxeb_1","item--columns-7--l":"_item--columns-7--l_wwxeb_1","item--columns-8--l":"_item--columns-8--l_wwxeb_1","item--columns-9--l":"_item--columns-9--l_wwxeb_1","item--columns-10--l":"_item--columns-10--l_wwxeb_1","item--columns-11--l":"_item--columns-11--l_wwxeb_1","item--columns-12--l":"_item--columns-12--l_wwxeb_1","item--columns-1--xl":"_item--columns-1--xl_wwxeb_1","item--columns-auto--xl":"_item--columns-auto--xl_wwxeb_1","item--columns-2--xl":"_item--columns-2--xl_wwxeb_1","item--columns-3--xl":"_item--columns-3--xl_wwxeb_1","item--columns-4--xl":"_item--columns-4--xl_wwxeb_1","item--columns-5--xl":"_item--columns-5--xl_wwxeb_1","item--columns-6--xl":"_item--columns-6--xl_wwxeb_1","item--columns-7--xl":"_item--columns-7--xl_wwxeb_1","item--columns-8--xl":"_item--columns-8--xl_wwxeb_1","item--columns-9--xl":"_item--columns-9--xl_wwxeb_1","item--columns-10--xl":"_item--columns-10--xl_wwxeb_1","item--columns-11--xl":"_item--columns-11--xl_wwxeb_1","item--columns-12--xl":"_item--columns-12--xl_wwxeb_1","--direction-column--m":"_--direction-column--m_wwxeb_1","--direction-column-reverse--m":"_--direction-column-reverse--m_wwxeb_1","--direction-row--m":"_--direction-row--m_wwxeb_1","--direction-row-reverse--m":"_--direction-row-reverse--m_wwxeb_1","--align-start--m":"_--align-start--m_wwxeb_1","--align-end--m":"_--align-end--m_wwxeb_1","--align-center--m":"_--align-center--m_wwxeb_1","--align-stretch--m":"_--align-stretch--m_wwxeb_1","--align-baseline--m":"_--align-baseline--m_wwxeb_1","--justify-start--m":"_--justify-start--m_wwxeb_1","--justify-end--m":"_--justify-end--m_wwxeb_1","--justify-center--m":"_--justify-center--m_wwxeb_1","--justify-space-between--m":"_--justify-space-between--m_wwxeb_1","item--grow-true--m":"_item--grow-true--m_wwxeb_1","item--grow-false--m":"_item--grow-false--m_wwxeb_1","--direction-column--l":"_--direction-column--l_wwxeb_1","--direction-column-reverse--l":"_--direction-column-reverse--l_wwxeb_1","--direction-row--l":"_--direction-row--l_wwxeb_1","--direction-row-reverse--l":"_--direction-row-reverse--l_wwxeb_1","--align-start--l":"_--align-start--l_wwxeb_1","--align-end--l":"_--align-end--l_wwxeb_1","--align-center--l":"_--align-center--l_wwxeb_1","--align-stretch--l":"_--align-stretch--l_wwxeb_1","--align-baseline--l":"_--align-baseline--l_wwxeb_1","--justify-start--l":"_--justify-start--l_wwxeb_1","--justify-end--l":"_--justify-end--l_wwxeb_1","--justify-center--l":"_--justify-center--l_wwxeb_1","--justify-space-between--l":"_--justify-space-between--l_wwxeb_1","item--grow-true--l":"_item--grow-true--l_wwxeb_1","item--grow-false--l":"_item--grow-false--l_wwxeb_1","--direction-column--xl":"_--direction-column--xl_wwxeb_1","--direction-column-reverse--xl":"_--direction-column-reverse--xl_wwxeb_1","--direction-row--xl":"_--direction-row--xl_wwxeb_1","--direction-row-reverse--xl":"_--direction-row-reverse--xl_wwxeb_1","--align-start--xl":"_--align-start--xl_wwxeb_1","--align-end--xl":"_--align-end--xl_wwxeb_1","--align-center--xl":"_--align-center--xl_wwxeb_1","--align-stretch--xl":"_--align-stretch--xl_wwxeb_1","--align-baseline--xl":"_--align-baseline--xl_wwxeb_1","--justify-start--xl":"_--justify-start--xl_wwxeb_1","--justify-end--xl":"_--justify-end--xl_wwxeb_1","--justify-center--xl":"_--justify-center--xl_wwxeb_1","--justify-space-between--xl":"_--justify-space-between--xl_wwxeb_1","item--grow-true--xl":"_item--grow-true--xl_wwxeb_1","item--grow-false--xl":"_item--grow-false--xl_wwxeb_1"},Mo={root:"_root_w529z_1","--radius-none":"_--radius-none_w529z_1","--radius-small":"_--radius-small_w529z_1","--radius-medium":"_--radius-medium_w529z_1","--radius-large":"_--radius-large_w529z_1","--radius-circular":"_--radius-circular_w529z_1","--radius-none--m":"_--radius-none--m_w529z_1","--radius-small--m":"_--radius-small--m_w529z_1","--radius-medium--m":"_--radius-medium--m_w529z_1","--radius-large--m":"_--radius-large--m_w529z_1","--radius-circular--m":"_--radius-circular--m_w529z_1","--radius-none--l":"_--radius-none--l_w529z_1","--radius-small--l":"_--radius-small--l_w529z_1","--radius-medium--l":"_--radius-medium--l_w529z_1","--radius-large--l":"_--radius-large--l_w529z_1","--radius-circular--l":"_--radius-circular--l_w529z_1","--radius-none--xl":"_--radius-none--xl_w529z_1","--radius-small--xl":"_--radius-small--xl_w529z_1","--radius-medium--xl":"_--radius-medium--xl_w529z_1","--radius-large--xl":"_--radius-large--xl_w529z_1","--radius-circular--xl":"_--radius-circular--xl_w529z_1"},An=e=>e?{classNames:[Mo.root,...J(Mo,"--radius",e)]}:null,So={root:"_root_22l3r_1","--bleed":"_--bleed_22l3r_10","--bleed-true--m":"_--bleed-true--m_22l3r_1","--bleed-false--m":"_--bleed-false--m_22l3r_1","--bleed-true--l":"_--bleed-true--l_22l3r_1","--bleed-false--l":"_--bleed-false--l_22l3r_1","--bleed-true--xl":"_--bleed-true--xl_22l3r_1","--bleed-false--xl":"_--bleed-false--xl_22l3r_1"},Io=e=>{if(e===void 0)return null;const t=[So.root,...J(So,"--bleed",Te(e,o=>typeof o=="number"&&o>0))],n=ue("--rs-bleed",e);return{classNames:t,variables:n}},Ts={literal:"_literal_1b2qb_1",unit:"_unit_1b2qb_5","literal--m":"_literal--m_1b2qb_1","unit--m":"_unit--m_1b2qb_1","literal--l":"_literal--l_1b2qb_1","unit--l":"_unit--l_1b2qb_1","literal--xl":"_literal--xl_1b2qb_1","unit--xl":"_unit--xl_1b2qb_1"},Pn=e=>{if(!e)return null;const t=ue("--rs-w",e);return{classNames:J(Ts,o=>typeof o=="number"?"unit":"literal",e,{excludeValueFromClassName:!0}),variables:t}},Ms={literal:"_literal_6dko4_2",unit:"_unit_6dko4_3","literal--m":"_literal--m_6dko4_1","unit--m":"_unit--m_6dko4_1","literal--l":"_literal--l_6dko4_1","unit--l":"_unit--l_6dko4_1","literal--xl":"_literal--xl_6dko4_1","unit--xl":"_unit--xl_6dko4_1"},xt=e=>{if(!e)return null;const t=ue("--rs-h",e);return{classNames:J(Ms,o=>typeof o=="number"?"unit":"literal",e,{excludeValueFromClassName:!0}),variables:t}},Ss={literal:"_literal_13h2y_1",unit:"_unit_13h2y_5","literal--m":"_literal--m_13h2y_1","unit--m":"_unit--m_13h2y_1","literal--l":"_literal--l_13h2y_1","unit--l":"_unit--l_13h2y_1","literal--xl":"_literal--xl_13h2y_1","unit--xl":"_unit--xl_13h2y_1"},Is=e=>{if(!e)return null;const t=ue("--rs-max-w",e);return{classNames:J(Ss,o=>typeof o=="number"?"unit":"literal",e,{excludeValueFromClassName:!0}),variables:t}},Ds={literal:"_literal_1ji3w_1",unit:"_unit_1ji3w_5","literal--m":"_literal--m_1ji3w_1","unit--m":"_unit--m_1ji3w_1","literal--l":"_literal--l_1ji3w_1","unit--l":"_unit--l_1ji3w_1","literal--xl":"_literal--xl_1ji3w_1","unit--xl":"_unit--xl_1ji3w_1"},Do=e=>{if(!e)return null;const t=ue("--rs-max-h",e);return{classNames:J(Ds,o=>typeof o=="number"?"unit":"literal",e,{excludeValueFromClassName:!0}),variables:t}},As={literal:"_literal_tfgjf_1",unit:"_unit_tfgjf_5","literal--m":"_literal--m_tfgjf_1","unit--m":"_unit--m_tfgjf_1","literal--l":"_literal--l_tfgjf_1","unit--l":"_unit--l_tfgjf_1","literal--xl":"_literal--xl_tfgjf_1","unit--xl":"_unit--xl_tfgjf_1"},Ao=e=>{if(!e)return null;const t=ue("--rs-min-w",e);return{classNames:J(As,o=>typeof o=="number"?"unit":"literal",e,{excludeValueFromClassName:!0}),variables:t}},Ps={literal:"_literal_19ewn_1",unit:"_unit_19ewn_5","literal--m":"_literal--m_19ewn_1","unit--m":"_unit--m_19ewn_1","literal--l":"_literal--l_19ewn_1","unit--l":"_unit--l_19ewn_1","literal--xl":"_literal--xl_19ewn_1","unit--xl":"_unit--xl_19ewn_1"},Fs=e=>{if(!e)return null;const t=ue("--rs-min-h",e);return{classNames:J(Ps,o=>typeof o=="number"?"unit":"literal",e,{excludeValueFromClassName:!0}),variables:t}},Ls={"--position-static":"_--position-static_1qpz9_1","--position-relative":"_--position-relative_1qpz9_1","--position-absolute":"_--position-absolute_1qpz9_1","--position-fixed":"_--position-fixed_1qpz9_1","--position-sticky":"_--position-sticky_1qpz9_1","--position-static--m":"_--position-static--m_1qpz9_1","--position-relative--m":"_--position-relative--m_1qpz9_1","--position-absolute--m":"_--position-absolute--m_1qpz9_1","--position-fixed--m":"_--position-fixed--m_1qpz9_1","--position-sticky--m":"_--position-sticky--m_1qpz9_1","--position-static--l":"_--position-static--l_1qpz9_1","--position-relative--l":"_--position-relative--l_1qpz9_1","--position-absolute--l":"_--position-absolute--l_1qpz9_1","--position-fixed--l":"_--position-fixed--l_1qpz9_1","--position-sticky--l":"_--position-sticky--l_1qpz9_1","--position-static--xl":"_--position-static--xl_1qpz9_1","--position-relative--xl":"_--position-relative--xl_1qpz9_1","--position-absolute--xl":"_--position-absolute--xl_1qpz9_1","--position-fixed--xl":"_--position-fixed--xl_1qpz9_1","--position-sticky--xl":"_--position-sticky--xl_1qpz9_1"},Vs=e=>e?{classNames:J(Ls,"--position",e)}:null,Os={"--inset":"_--inset_17xwz_1","--inset-end":"_--inset-end_17xwz_27","--inset-start":"_--inset-start_17xwz_31","--inset-top":"_--inset-top_17xwz_35","--inset-bottom":"_--inset-bottom_17xwz_39","--inset-end--m":"_--inset-end--m_17xwz_1","--inset-start--m":"_--inset-start--m_17xwz_1","--inset-top--m":"_--inset-top--m_17xwz_1","--inset-bottom--m":"_--inset-bottom--m_17xwz_1","--inset-end--l":"_--inset-end--l_17xwz_1","--inset-start--l":"_--inset-start--l_17xwz_1","--inset-top--l":"_--inset-top--l_17xwz_1","--inset-bottom--l":"_--inset-bottom--l_17xwz_1","--inset-end--xl":"_--inset-end--xl_17xwz_1","--inset-start--xl":"_--inset-start--xl_17xwz_1","--inset-top--xl":"_--inset-top--xl_17xwz_1","--inset-bottom--xl":"_--inset-bottom--xl_17xwz_1"},Pt=(e,t)=>{if(e===void 0)return null;const n=t?`-${t}`:"",o=`--rs-inset${n}`,r=ue(o,e);return{classNames:J(Os,`--inset${n}`,e,{excludeValueFromClassName:!0}),variables:r}},qs={root:"_root_jdpm8_1"},Bs=e=>{if(!e)return null;const t=ue("--rs-ratio",e);return{classNames:qs.root,variables:t}},Po=e=>{const{columns:t,grow:n,gapBefore:o,as:r="div",order:s,children:a,className:l,attributes:u}=e,m=A(re.item,l,o==="auto"&&re["item--gap-auto"],o!==void 0&&re["item--gap-before"],t&&re["item--columns"],...J(re,"item--grow",n),...J(re,"item--columns",t)),d=p(p({},ue("--rs-view-item-order",s)),ue("--rs-view-item-gap-before",o));return i.jsx(r,z(p({},u),{style:p(p({},u==null?void 0:u.style),d),className:m,children:a}))},Fn=e=>{const{align:t,justify:n,wrap:o,gap:r,height:s,width:a,aspectRatio:l,maxHeight:u,maxWidth:m,minHeight:d,minWidth:f,padding:_,paddingInline:g,paddingBlock:v,paddingBottom:b,paddingEnd:y,paddingStart:w,paddingTop:x,bleed:j,animated:C,backgroundColor:N,borderColor:I,borderRadius:k,shadow:$,textAlign:F,overflow:S,position:M="relative",inset:P,insetTop:O,insetBottom:L,insetStart:V,insetEnd:G,zIndex:_e,grow:ne,as:Ae="div",children:oe,divided:Z,className:ee,attributes:te}=e;let xe=!!t||!!n||!!r||!!e.direction;const K=e.direction||(xe?"column":void 0),Y=An(k),H=Io(j),W=Pn(a),ie=xt(s),ce=Is(m),me=Do(u),we=Ao(f),R=Fs(d),Je=Vs(M),ye=Pt(P),je=Pt(O,"top"),Le=Pt(L,"bottom"),Ve=Pt(V,"start"),Me=Pt(G,"end"),dt=Bs(l);let Kt=0,_t;const xo=({className:ke,key:pe})=>{const Ue=A(re.divider,ke);let ze=!1;return typeof K=="string"&&K.startsWith("row")?ze=!0:K&&(ze=Object.keys(K).reduce((Ye,mt)=>{const it=K[mt];return it?z(p({},Ye),{[mt]:it.startsWith("row")}):Ye},{})),i.jsx("div",{className:Ue,children:i.jsx(tn,{vertical:ze,blank:!0})},`${pe}-divider`)},Xt=({className:ke,child:pe,index:Ue})=>{var Nn,zn,En;const ze=pe.type===Po,st=pe.type===Fn,Ye=pe.key||Ue,mt=!!Ue&&Z&&xo({className:ke,key:Ye});let it;return ze?it=c.cloneElement(pe,{className:A(ke,pe.props.className)}):ke||!c.isValidElement(pe)?it=i.jsx("div",{className:ke,children:pe},Ye):it=pe,ze&&((Nn=pe.props)!=null&&Nn.grow)&&(_t=pe.props.grow),ze&&((zn=pe.props)==null?void 0:zn.gap)==="auto"&&(_t=!0),(ze||st)&&((En=pe.props)!=null&&En.grow)&&(xe=!0),[mt,it]},kn=c.Children.map(oe,(ke,pe)=>{if(!ke)return null;const Ue=Kt;if(Kt+=1,ke.type===pt){const ze=ke.props,{children:st}=ze,Ye=Se(ze,["children"]),mt=ke.key||pe;return c.createElement(pt,z(p({},Ye),{key:mt}),Xt({child:st,index:Ue}))}return ke.type===c.Fragment&&c.Children.count(ke.props.children)>1?ke.props.children.map(st=>{if(!st)return null;const Ye=Ue;return Kt+=1,Xt({child:st,index:Ye})}):Xt({child:ke,index:Ue})}),$n=A(re.root,ee,Y==null?void 0:Y.classNames,Je==null?void 0:Je.classNames,H==null?void 0:H.classNames,W==null?void 0:W.classNames,ie==null?void 0:ie.classNames,dt==null?void 0:dt.classNames,ce==null?void 0:ce.classNames,me==null?void 0:me.classNames,we==null?void 0:we.classNames,R==null?void 0:R.classNames,ye==null?void 0:ye.classNames,je==null?void 0:je.classNames,Le==null?void 0:Le.classNames,Ve==null?void 0:Ve.classNames,Me==null?void 0:Me.classNames,F&&re[`--align-text-${F}`],N&&re[`--bg-${N}`],I&&re[`--bd-${I}`],I&&re["--bd"],$&&re[`--shadow-${$}`],S&&re[`--overflow-${S}`],C&&re["--animated"],Z&&re["--divided"],(_!==void 0||g!==void 0||v!==void 0)&&re["--padding"],b!==void 0&&re["--padding-bottom"],y!==void 0&&re["--padding-end"],w!==void 0&&re["--padding-start"],x!==void 0&&re["--padding-top"],(xe||_t)&&re["--flex"],...J(re,"--direction",K),...J(re,"--align",t),...J(re,"--justify",n),...J(re,"--nowrap",_t||o===!1),...J(re,"--wrap",o),...J(re,"item--grow",ne)),vt=p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p({},te==null?void 0:te.style),ue("--rs-view-gap",r)),ue("--rs-view-p-vertical",v||_)),ue("--rs-view-p-horizontal",g||_)),ue("--rs-view-p-bottom",b)),ue("--rs-view-p-top",x)),ue("--rs-view-p-start",w)),ue("--rs-view-p-end",y)),H==null?void 0:H.variables),W==null?void 0:W.variables),ie==null?void 0:ie.variables),dt==null?void 0:dt.variables),ce==null?void 0:ce.variables),me==null?void 0:me.variables),we==null?void 0:we.variables),R==null?void 0:R.variables),ye==null?void 0:ye.variables),je==null?void 0:je.variables),Le==null?void 0:Le.variables),Ve==null?void 0:Ve.variables),Me==null?void 0:Me.variables),_e?{"--rs-view-z":_e}:{});return i.jsx(Ae,z(p({},te),{className:$n,style:vt,children:kn}))};Fn.Item=Po;const q=Fn,Ln={root:"_root_1aeuv_1","--auto":"_--auto_1aeuv_8","--color-neutral":"_--color-neutral_1aeuv_1","--color-neutral-faded":"_--color-neutral-faded_1aeuv_1","--color-primary":"_--color-primary_1aeuv_1","--color-positive":"_--color-positive_1aeuv_1","--color-warning":"_--color-warning_1aeuv_1","--color-critical":"_--color-critical_1aeuv_1","--color-disabled":"_--color-disabled_1aeuv_1"},be=e=>{const{svg:t,className:n,color:o,size:r="1em",autoWidth:s,attributes:a}=e,l=xt(r),u=A(Ln.root,n,l==null?void 0:l.classNames,o&&Ln[`--color-${o}`],s&&Ln["--auto"]),m=c.isValidElement(t)?t:i.jsx(t,{}),d=p(p({},a==null?void 0:a.style),l==null?void 0:l.variables);return i.jsx("span",z(p({},a),{"aria-hidden":"true",className:u,style:d,children:c.cloneElement(m,{focusable:!1})}))},Hs=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:i.jsx("polyline",{points:"6 9 12 15 18 9"})}),Fo={icon:"_icon_loavs_1","icon--active":"_icon--active_loavs_5"},Ws=e=>{const{children:t}=e,{active:n,onToggle:o,triggerId:r,contentId:s,iconPosition:a="end",iconSize:l}=c.useContext(Sn),u=A(Fo.icon,n&&Fo["icon--active"]),m=()=>{o==null||o(!n)},d={"aria-expanded":n,"aria-controls":s,id:r};return typeof t=="function"?i.jsx(i.Fragment,{children:t(z(p({},d),{onClick:m}),{active:n})}):i.jsx(Pe,{onClick:m,fullWidth:!0,attributes:d,children:i.jsxs(q,{gap:2,direction:a==="start"?"row-reverse":"row",align:"center",children:[i.jsx(q.Item,{grow:!0,children:t}),i.jsx(be,{size:l||4,svg:Hs,className:u})]})})},Fe=e=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>e())})},Vn="data-rs-no-transition",Rs=()=>{document.documentElement.setAttribute(Vn,"true")},Us=()=>{document.documentElement.removeAttribute(Vn)},Ys=()=>!document.documentElement.hasAttribute(Vn),Lo={root:"_root_1as3o_1","--animated":"_--animated_1as3o_6"},Vo=e=>{const{children:t,active:n,attributes:o}=e,r=c.useRef(null),s=c.useRef(!1),[a,l]=c.useState(n?"auto":null),u=A(Lo.root,s.current&&a!=="auto"&&Lo["--animated"]),m=d=>{d.propertyName==="height"&&l(n?"auto":null)};return c.useEffect(()=>{Fe(()=>{s.current=!0})},[]),c.useEffect(()=>{const d=r.current;if(!d||!s.current)return;let f=0;n&&(d.style.height="auto",f=d.clientHeight,d.style.height="0"),n||(d.style.height=`${d.clientHeight}px`),l(f)},[n]),i.jsx("div",z(p({},o),{className:u,ref:r,style:a!==null?{height:a,overflow:a==="auto"?"visible":void 0}:void 0,onTransitionEnd:m,role:"region",hidden:!n&&a===null,children:t}))},Gs=e=>{const{children:t}=e,{active:n,triggerId:o,contentId:r}=c.useContext(Sn);return i.jsx(Vo,{active:n,attributes:{"aria-labelledby":o,id:r},children:t})},On=e=>{const{active:t}=e;return t!==void 0?i.jsx(Eo,p({},e)):i.jsx(Ns,p({},e))};On.Trigger=Ws,On.Content=Gs;const Ks=On,qn={root:"_root_1yj03_1","--position-bottom":"_--position-bottom_1yj03_33","--position-top":"_--position-top_1yj03_1","--elevated":"_--elevated_1yj03_16"},Xs=e=>{const{position:t="bottom",padding:n,paddingBlock:o=3,paddingInline:r=4,children:s,elevated:a,className:l,attributes:u}=e,m=A(qn.root,a&&qn["--elevated"],t&&qn[`--position-${t}`],l);return i.jsx(q,{className:m,attributes:u,paddingBlock:n||o,paddingInline:n||r,children:s})},Ze={root:"_root_179zk_1","--clamp":"_--clamp_179zk_6","--break-all":"_--break-all_179zk_13","--wrap-balance":"_--wrap-balance_179zk_17","--align-start":"_--align-start_179zk_1","--align-center":"_--align-center_179zk_1","--align-end":"_--align-end_179zk_1","--variant-title-1":"_--variant-title-1_179zk_1","--variant-title-2":"_--variant-title-2_179zk_1","--variant-title-3":"_--variant-title-3_179zk_1","--variant-title-4":"_--variant-title-4_179zk_1","--variant-title-5":"_--variant-title-5_179zk_1","--variant-title-6":"_--variant-title-6_179zk_1","--variant-featured-1":"_--variant-featured-1_179zk_1","--variant-featured-2":"_--variant-featured-2_179zk_1","--variant-featured-3":"_--variant-featured-3_179zk_1","--variant-body-1":"_--variant-body-1_179zk_1","--variant-body-2":"_--variant-body-2_179zk_1","--variant-body-3":"_--variant-body-3_179zk_1","--variant-caption-1":"_--variant-caption-1_179zk_1","--variant-caption-2":"_--variant-caption-2_179zk_1","--weight-regular":"_--weight-regular_179zk_1","--weight-medium":"_--weight-medium_179zk_1","--weight-bold":"_--weight-bold_179zk_1","--color-neutral":"_--color-neutral_179zk_1","--color-neutral-faded":"_--color-neutral-faded_179zk_1","--color-primary":"_--color-primary_179zk_1","--color-warning":"_--color-warning_179zk_1","--color-positive":"_--color-positive_179zk_1","--color-critical":"_--color-critical_179zk_1","--color-disabled":"_--color-disabled_179zk_1","--decoration-line-through":"_--decoration-line-through_179zk_147","--align-start--m":"_--align-start--m_179zk_1","--align-center--m":"_--align-center--m_179zk_1","--align-end--m":"_--align-end--m_179zk_1","--variant-title-1--m":"_--variant-title-1--m_179zk_1","--variant-title-2--m":"_--variant-title-2--m_179zk_1","--variant-title-3--m":"_--variant-title-3--m_179zk_1","--variant-title-4--m":"_--variant-title-4--m_179zk_1","--variant-title-5--m":"_--variant-title-5--m_179zk_1","--variant-title-6--m":"_--variant-title-6--m_179zk_1","--variant-featured-1--m":"_--variant-featured-1--m_179zk_1","--variant-featured-2--m":"_--variant-featured-2--m_179zk_1","--variant-featured-3--m":"_--variant-featured-3--m_179zk_1","--variant-body-1--m":"_--variant-body-1--m_179zk_1","--variant-body-2--m":"_--variant-body-2--m_179zk_1","--variant-body-3--m":"_--variant-body-3--m_179zk_1","--variant-caption-1--m":"_--variant-caption-1--m_179zk_1","--variant-caption-2--m":"_--variant-caption-2--m_179zk_1","--align-start--l":"_--align-start--l_179zk_1","--align-center--l":"_--align-center--l_179zk_1","--align-end--l":"_--align-end--l_179zk_1","--variant-title-1--l":"_--variant-title-1--l_179zk_1","--variant-title-2--l":"_--variant-title-2--l_179zk_1","--variant-title-3--l":"_--variant-title-3--l_179zk_1","--variant-title-4--l":"_--variant-title-4--l_179zk_1","--variant-title-5--l":"_--variant-title-5--l_179zk_1","--variant-title-6--l":"_--variant-title-6--l_179zk_1","--variant-featured-1--l":"_--variant-featured-1--l_179zk_1","--variant-featured-2--l":"_--variant-featured-2--l_179zk_1","--variant-featured-3--l":"_--variant-featured-3--l_179zk_1","--variant-body-1--l":"_--variant-body-1--l_179zk_1","--variant-body-2--l":"_--variant-body-2--l_179zk_1","--variant-body-3--l":"_--variant-body-3--l_179zk_1","--variant-caption-1--l":"_--variant-caption-1--l_179zk_1","--variant-caption-2--l":"_--variant-caption-2--l_179zk_1","--align-start--xl":"_--align-start--xl_179zk_1","--align-center--xl":"_--align-center--xl_179zk_1","--align-end--xl":"_--align-end--xl_179zk_1","--variant-title-1--xl":"_--variant-title-1--xl_179zk_1","--variant-title-2--xl":"_--variant-title-2--xl_179zk_1","--variant-title-3--xl":"_--variant-title-3--xl_179zk_1","--variant-title-4--xl":"_--variant-title-4--xl_179zk_1","--variant-title-5--xl":"_--variant-title-5--xl_179zk_1","--variant-title-6--xl":"_--variant-title-6--xl_179zk_1","--variant-featured-1--xl":"_--variant-featured-1--xl_179zk_1","--variant-featured-2--xl":"_--variant-featured-2--xl_179zk_1","--variant-featured-3--xl":"_--variant-featured-3--xl_179zk_1","--variant-body-1--xl":"_--variant-body-1--xl_179zk_1","--variant-body-2--xl":"_--variant-body-2--xl_179zk_1","--variant-body-3--xl":"_--variant-body-3--xl_179zk_1","--variant-caption-1--xl":"_--variant-caption-1--xl_179zk_1","--variant-caption-2--xl":"_--variant-caption-2--xl_179zk_1"},Js={"title-1":"h1","title-2":"h2","title-3":"h3","title-4":"h4","title-5":"h5","title-6":"h6"},se=e=>{const{variant:t,color:n,weight:o,align:r,decoration:s,maxLines:a,wrap:l,children:u,className:m,attributes:d}=e,f=typeof t=="string"?t:(t==null?void 0:t.xl)||(t==null?void 0:t.l)||(t==null?void 0:t.m)||(t==null?void 0:t.s),_=e.as||f&&Js[f]||"div",g=A(Ze.root,n&&Ze[`--color-${n}`],...J(Ze,"--variant",t),...J(Ze,"--align",r),o&&Ze[`--weight-${o}`],s&&Ze[`--decoration-${s}`],a!==void 0&&Ze["--clamp"],a===1&&Ze["--break-all"],l&&Ze[`--wrap-${l}`],m),v=z(p({},d==null?void 0:d.style),{"--rs-text-lines":a});return i.jsx(_,z(p({},d),{className:g,style:v,children:u}))},Zs={icon:"_icon_1elkf_1"},Qs=e=>{const{title:t,children:n,icon:o,actionsSlot:r,color:s="neutral",inline:a,bleed:l,className:u,attributes:m}=e,d=s==="neutral",f=()=>a?i.jsxs(i.Fragment,{children:[t&&i.jsx(se,{variant:"body-3",weight:"medium",as:"span",children:t}),t&&n&&" ",n&&i.jsx(se,{variant:"body-3",as:"span",children:n})]}):i.jsxs(q,{gap:1,children:[t&&i.jsx(se,{variant:"body-3",weight:"medium",children:t}),n&&i.jsx(se,{variant:"body-3",children:n})]}),_=g=>r?i.jsxs(q,{gap:a?4:2,direction:a?"row":"column",children:[a?i.jsx(q.Item,{grow:!0,children:g}):g,r&&i.jsx(se,{variant:"body-3",weight:"medium",children:i.jsx(q,{direction:"row",gap:3,children:r})})]}):g;return i.jsx(q,{direction:"row",gap:3,padding:4,bleed:l,borderRadius:"medium",borderColor:`${s}-faded`,backgroundColor:`${s}-faded`,className:u,attributes:z(p({},m),{role:s==="critical"?"alert":"status"}),children:o?i.jsxs(i.Fragment,{children:[i.jsx("div",{className:Zs.icon,children:i.jsx(be,{svg:o,size:5,color:d?"primary":s})}),i.jsx(q.Item,{grow:!0,children:_(f())})]}):_(f())})},Oo=c.createContext({attributes:{}}),ei=Oo.Provider,Ft=()=>c.useContext(Oo),Qe=()=>{const{attributes:e,required:t,hasError:n,disabled:o}=Ft();return{attributes:e,required:t,hasError:n,disabled:o}},Bn=(e,t)=>`${e}-${t||"caption"}`,ti=e=>{const{children:t,id:n,required:o,hasError:r,group:s,disabled:a,size:l}=e,u=qe(n),m=s?"fieldset":"div",[d,f]=c.useState(!1),[_,g]=c.useState(!1),v=[d&&Bn(u),_&&Bn(u,"error")].filter(Boolean).join(" "),b={id:u,"aria-describedby":v},y=()=>{g(!0)},w=()=>{f(!0)};return i.jsx(m,{children:i.jsx(ei,{value:{required:o,hasError:r,errorRef:y,helperRef:w,attributes:b,group:s,disabled:a,size:l},children:t})})},qo={root:"_root_1ni0x_1",label:"_label_1ni0x_5",caption:"_caption_1ni0x_10"},ni=e=>{const{children:t}=e,{attributes:n,required:o,group:r,disabled:s,size:a}=Ft(),l=`${n.id}-label`,u=r?{as:"legend",attributes:{id:l}}:{as:"label",attributes:{id:l,htmlFor:n.id}};return i.jsxs(se,z(p({},u),{variant:a==="large"?"body-2":"body-3",weight:"medium",className:qo.label,color:s?"disabled":void 0,children:[t,o&&i.jsx(se,{color:s?"disabled":"critical",as:"span",children:"*"})]}))},Bo=e=>{const{children:t,variant:n,disabled:o}=e,{attributes:r,size:s,helperRef:a,errorRef:l}=Ft(),u=Bn(r.id,n),m=n==="error"?"critical":"neutral-faded",d=n==="error"?l:a;return i.jsx(se,{as:"span",variant:s==="large"?"body-3":"caption-1",color:o&&!n?"disabled":m,attributes:{id:u,role:m?"alert":void 0,ref:d},className:qo.caption,children:t})},oi=e=>{const{children:t}=e,{hasError:n}=Ft();return n?i.jsx(Bo,{variant:"error",children:t}):null},ri=e=>{const{children:t}=e,{disabled:n}=Ft();return i.jsx(Bo,{disabled:n,children:t})},nn=ti;nn.Label=ni,nn.Helper=ri,nn.Error=oi;const si=nn,Ho={root:"_root_1q3jm_1","--side-all":"_--side-all_1q3jm_6","--side-start":"_--side-start_1q3jm_10","--side-inline":"_--side-inline_1q3jm_11","--side-end":"_--side-end_1q3jm_15","--side-top":"_--side-top_1q3jm_20","--side-block":"_--side-block_1q3jm_21","--side-bottom":"_--side-bottom_1q3jm_25"},on=e=>{const{side:t="all",children:n,className:o,attributes:r}=e,s=typeof t=="string"?[t]:t,a=A(Ho.root,s.map(l=>Ho[`--side-${l}`]),o);return i.jsx("div",z(p({},r),{className:a,children:n}))},Be={root:"_root_1sewd_1",input:"_input_1sewd_25",slot:"_slot_1sewd_46",icon:"_icon_1sewd_47",affix:"_affix_1sewd_48",attachment:"_attachment_1sewd_64","attachment--position-start":"_attachment--position-start_1sewd_70","attachment--position-end":"_attachment--position-end_1sewd_80","--disabled":"_--disabled_1sewd_96","--size-medium":"_--size-medium_1sewd_1","--size-large":"_--size-large_1sewd_1","--size-xlarge":"_--size-xlarge_1sewd_1","--variant-faded":"_--variant-faded_1sewd_160","--variant-headless":"_--variant-headless_1sewd_169","--status-error":"_--status-error_1sewd_174","--size-medium--m":"_--size-medium--m_1sewd_1","--size-large--m":"_--size-large--m_1sewd_1","--size-xlarge--m":"_--size-xlarge--m_1sewd_1","--size-medium--l":"_--size-medium--l_1sewd_1","--size-large--l":"_--size-large--l_1sewd_1","--size-xlarge--l":"_--size-xlarge--l_1sewd_1","--size-medium--xl":"_--size-medium--xl_1sewd_1","--size-large--xl":"_--size-large--xl_1sewd_1","--size-xlarge--xl":"_--size-xlarge--xl_1sewd_1"},Wo=e=>{const{slot:t,icon:n,size:o,affix:r,position:s}=e;if(!n&&!t&&!r)return null;const a=A(Be.attachment,Be[`attachment--position-${s}`]),l=[t&&i.jsx("div",{className:Be.slot,children:t},"slot"),n&&i.jsx("div",{className:Be.icon,children:i.jsx(be,{size:Te(o,u=>u==="large"?5:u==="xlarge"?6:4),svg:n})},"icon"),r&&i.jsx("div",{className:Be.affix,children:r},"affix")].filter(Boolean);return i.jsx("span",{className:a,children:s==="end"?l.reverse():l})},Ro=e=>{var S;const{onChange:t,onFocus:n,onBlur:o,name:r,value:s,defaultValue:a,placeholder:l,icon:u,endIcon:m,startSlot:d,endSlot:f,prefix:_,suffix:g,size:v="medium",variant:b="outline",className:y,attributes:w}=e,x=Qe(),j=qe(e.id),C=(x==null?void 0:x.attributes.id)||((S=e.inputAttributes)==null?void 0:S.id)||j,N=(x==null?void 0:x.disabled)||e.disabled,I=(x==null?void 0:x.hasError)||e.hasError,k=p(p({},e.inputAttributes),x==null?void 0:x.attributes),$=A(Be.root,y,v&&J(Be,"--size",v),I&&Be["--status-error"],N&&Be["--disabled"],b&&Be[`--variant-${b}`]),F=M=>{t&&t({name:r,value:M.target.value,event:M})};return i.jsxs("div",z(p({},w),{"data-rs-aligner-target":!0,className:$,children:[i.jsx(Wo,{position:"start",icon:u,slot:d,size:v,affix:_}),i.jsx("input",z(p({},k),{className:Be.input,disabled:N,name:r,placeholder:l,value:s,defaultValue:a,onChange:F,onFocus:n||(k==null?void 0:k.onFocus),onBlur:o||(k==null?void 0:k.onBlur),id:C})),i.jsx(Wo,{position:"end",icon:m,slot:f,size:v,affix:g})]}))};Ro.Aligner=on;const Uo=Ro;class ii{constructor(){le(this,"chain",{});le(this,"tailId",null);le(this,"idCounter",0)}generateId(){return this.idCounter+=1,this.idCounter}getAll(){return this.chain}get(t){return this.chain[t]}isLast(t){return this.tailId!==null&&t===this.tailId}isEmpty(){return typeof this.tailId!="number"}add(t){const n=this.tailId,o=n&&this.get(n),r=this.generateId();return this.chain[r]={previousId:n,data:t},o&&(o.nextId=r),this.tailId=r,r}remove(t){var u,m;const n=this.chain[t];if(!n)return;const o=n.previousId,r=o&&this.get(o),s=n.nextId,a=s&&this.get(s);r&&(r.nextId=(u=n.nextId)!=null?u:null),a&&(a.previousId=(m=n.previousId)!=null?m:null),s||(this.tailId=o!=null?o:null);const l=this.get(t).data;return delete this.chain[t],l}removePreviousTill(t,n){const o=this.get(t),r=this.remove(t);return!o||!o.previousId||n(o)?r:this.removePreviousTill(o.previousId,n)}}class ai{constructor(t){le(this,"root");le(this,"hiddenElements",[]);le(this,"hideSiblingsFromScreenReader",t=>{let n=t.parentNode&&t.parentNode.firstChild;for(;n;){const o=n!==t,r=n.nodeType===1&&!n.hasAttribute("aria-hidden");o&&r&&(n.setAttribute("aria-hidden","true"),this.hiddenElements.push(n)),n=n.nextSibling}});le(this,"release",()=>{this.hiddenElements.forEach(t=>{t.removeAttribute("aria-hidden")}),this.hiddenElements=[]});le(this,"trap",()=>{let t=this.root;for(this.release();t!==document.body;)this.hideSiblingsFromScreenReader(t),t=t.parentElement});this.root=t}}const rn="data-rs-focus",Yo='a,button,input:not([type="hidden"]),textarea,select,details,[tabindex]:not([tabindex="-1"])',Lt=()=>document.querySelector(`[${rn}]`)||document.activeElement,sn=(e,t)=>{var n;(n=document.querySelector(`[${rn}]`))==null||n.removeAttribute(rn),t!=null&&t.pseudoFocus?e.setAttribute(rn,"true"):e.focus()},Hn=(e,t)=>{const o=Array.from(e.querySelectorAll(Yo)).filter(r=>{if(r.hasAttribute("disabled")||r.clientHeight===0)return!1;if(r.type==="radio"){let s;if(r.form){const a=r.form.elements.namedItem(r.name);if(!a)return!1;"length"in a?s=Array.from(a).filter(u=>"type"in u&&u.type==="radio"):s=[a]}else s=Array.from(e.querySelectorAll(`[type="radio"][name="${r.name}"]`));if(s!=null&&s.length){const a=Array.from(s).find(l=>l.checked);if(a&&r!==a||!a&&r!==s[0])return!1}}return!0});return t!=null&&t.additionalElement&&o.length&&o.unshift(t.additionalElement),o},Go=e=>{const{root:t,target:n,options:o}=e,r=Hn(t,{additionalElement:o==null?void 0:o.additionalElement}),s=r.length-1,a=Lt(),l=r.indexOf(a),u={next:l+1,prev:l-1,first:0,last:s};let m=u[n];const d=m>s||m<0;return d&&(o!=null&&o.circular?m=n==="prev"?u.last:u.first:m=n==="prev"?u.first:u.last),{overflow:d,el:r[m]}},an=(e,t)=>{const n=Go({root:e,target:t});sn(n.el)},li=e=>an(e,"next"),ci=e=>an(e,"prev"),ui=e=>an(e,"first"),di=e=>an(e,"last"),Wn="data-rs-keyboard",_i=()=>{document.documentElement.setAttribute(Wn,"true")},mi=()=>{document.documentElement.removeAttribute(Wn)},Ko=()=>document.documentElement.hasAttribute(Wn),De=class De{constructor(t){le(this,"chainId");le(this,"root");le(this,"trigger",null);le(this,"options",{});le(this,"trapped");le(this,"screenReaderTrap");le(this,"mutationObserver",null);le(this,"handleKeyDown",t=>{if(De.chain.tailId!==this.chainId)return;const{mode:n,onNavigateOutside:o,pseudoFocus:r,includeTrigger:s}=this.options;let a="tabs";(n==="action-menu"||n==="selection-menu")&&(a="arrows");const l=t.key,u=l===Es,m=u&&!t.shiftKey,d=u&&t.shiftKey,f=a==="arrows"&&l===Jt,_=a==="arrows"&&l===Zt,g=d&&a==="tabs"||f,v=m&&a==="tabs"||_,b=Lt()===this.trigger,y=Go({root:this.root,target:g?"prev":"next",options:{additionalElement:s?this.trigger:void 0,circular:n!=="action-menu"}});if(u&&a==="arrows"||n==="content-menu"&&u&&y.overflow){d&&!b&&t.preventDefault(),this.release(),o==null||o();return}!g&&!v||(t.preventDefault(),y.el&&sn(y.el,{pseudoFocus:r}))});le(this,"addListeners",()=>document.addEventListener("keydown",this.handleKeyDown));le(this,"removeListeners",()=>document.removeEventListener("keydown",this.handleKeyDown));le(this,"trap",(t={})=>{const{mode:n="dialog",includeTrigger:o,initialFocusEl:r}=t,s=Lt(),a=Hn(this.root,{additionalElement:o?s:void 0}),l=n==="selection-menu";if(this.options=z(p({},t),{pseudoFocus:l}),this.trigger=s,this.mutationObserver=new MutationObserver(()=>{const m=Lt();if(this.root.contains(m))return;const d=Hn(this.root,{additionalElement:o?s:void 0});d.length&&sn(d[0],{pseudoFocus:l})}),this.removeListeners(),n==="dialog"&&this.screenReaderTrap.trap(),this.mutationObserver.observe(this.root,{childList:!0,subtree:!0}),!a.length&&!r)return;this.addListeners();const u=De.chain.tailId&&De.chain.get(De.chain.tailId);(!u||this.root!==u.data.root)&&(this.chainId=De.chain.add(this),sn(r||a[0],{pseudoFocus:l})),this.trapped=!0});le(this,"release",(t={})=>{var r;const{withoutFocusReturn:n}=t;if(!this.trapped||!this.chainId)return;if(this.trapped=!1,this.trigger){const s=n||!Ko();this.trigger.focus({preventScroll:s})}De.chain.removePreviousTill(this.chainId,s=>document.body.contains(s.data.trigger)),(r=this.mutationObserver)==null||r.disconnect(),this.removeListeners(),this.screenReaderTrap.release();const o=De.chain.tailId&&De.chain.get(De.chain.tailId);o&&new De(o.data.root).trap(o.data.options)});this.root=t,this.screenReaderTrap=new ai(t)}};le(De,"chain",new ii);let Vt=De;const fi=100,hi=150;let wt={},Ge=null;const Xo=e=>{wt[e]&&(e===Ge&&(Ge=wt[e].parentId),delete wt[e],Ge===null&&(wt={}))},bi=(e,t,n)=>{var s;const o=Ge?wt[Ge]:void 0;!((n==null?void 0:n.current)&&o&&((s=o.contentRef.current)==null?void 0:s.contains(n.current)))&&n&&Ge&&Xo(Ge),wt[e]={parentId:Ge,triggerRef:n,contentRef:t},Ge=e},Jo=(e=!1,t,n)=>{const o=qe(),r=c.useCallback(()=>Ge===o,[o]);return c.useEffect(()=>{e?bi(o,t,n):Xo(o)},[e,o,t,n]),r},fe=typeof window!="undefined"?c.useLayoutEffect:c.useEffect,Ot="+",He={};let ln=[];const Zo=e=>e===" "?e:e.replace(/\s/g,"").toLowerCase(),Qo=e=>Zo(e).split(Ot).sort().join(Ot),er=e=>{if(e.key)return e.altKey&&e.key!=="Alt"?e.code.toLowerCase().replace(/key|digit|numpad/,""):e.key.toLowerCase()},tr=(e,t)=>{Object.keys(e).forEach(n=>{n.split(",").forEach(o=>{const r=e[n];r&&t(Qo(o),r)})})};class gi{constructor(){le(this,"hotkeyMap",{});le(this,"getSize",()=>Object.keys(this.hotkeyMap).length);le(this,"bindHotkeys",(t,n,o)=>{tr(t,(r,s)=>{s&&(this.hotkeyMap[r]||(this.hotkeyMap[r]=new Set),this.hotkeyMap[r].add({callback:s,ref:n,options:o}))})});le(this,"unbindHotkeys",t=>{tr(t,(n,o)=>{var r,s;o&&((r=this.hotkeyMap[n])==null||r.forEach(a=>{a.callback===o&&this.hotkeyMap[n].delete(a)}),(s=this.hotkeyMap[n])!=null&&s.size||delete this.hotkeyMap[n])})});le(this,"handleKeyDown",(t,n)=>{const o=Object.keys(t);if(!o.length)return;const r=Qo(o.join(Ot)),s=r.split(Ot),a=this.hotkeyMap[r],l=s.includes("control")&&this.hotkeyMap[r.replace("control","mod")],u=s.includes("meta")&&this.hotkeyMap[r.replace("meta","mod")];[a,l,u].forEach(m=>{m&&m!=null&&m.size&&m.forEach(d=>{var _;if((_=d.ref)!=null&&_.current&&!(n.target===d.ref.current||d.ref.current.contains(n.target)))return;const f=t[r];d.options.preventDefault&&(f==null||f.preventDefault()),d.callback(f)})})})}}const Rn=new gi,nr=c.createContext({}),vi=e=>{const{children:t}=e,[n,o]=c.useState(0),[r,s]=c.useState(0),a=c.useCallback(_=>{if(_.repeat||r===0)return;const g=er(_);g&&(He[g]=_,o(Object.keys(He).length),_.metaKey&&ln.push(...Object.keys(He)),He.Meta&&ln.push(g))},[r]),l=c.useCallback(_=>{if(r===0)return;const g=er(_);g&&(delete He[g],(g==="meta"||g==="control")&&delete He.mod,g==="meta"&&(ln.forEach(v=>{He[v]&&delete He[v]}),ln=[]),o(Object.keys(He).length))},[r]),u=_=>!Zo(_).split(Ot).some(v=>!He[v]),m=c.useCallback((_,g,v={})=>(s(b=>b+1),Rn.bindHotkeys(_,g,v),()=>{s(b=>b-1),Rn.unbindHotkeys(_)}),[]),d=c.useCallback(_=>{_.key&&(a(_),Rn.handleKeyDown(He,_))},[a]),f=c.useCallback(_=>{_.key&&l(_)},[l]);return c.useEffect(()=>(window.addEventListener("keydown",d),window.addEventListener("keyup",f),()=>{window.removeEventListener("keydown",d),window.removeEventListener("keyup",f)}),[d,f]),i.jsx(nr.Provider,{value:{addHotkeys:m,isPressed:u},children:t})},pi=()=>c.useContext(nr),et=(e,t=[],n)=>{const{addHotkeys:o,isPressed:r}=pi(),s=c.useRef(null),a=(n==null?void 0:n.ref)||s;return c.useEffect(()=>{if(n!=null&&n.disabled)return;const l=o(e,a,{preventDefault:n==null?void 0:n.preventDefault});return()=>l==null?void 0:l()},[o,Object.keys(e).join(","),n==null?void 0:n.disabled,n==null?void 0:n.preventDefault,...t]),{ref:a,checkHotkeyState:r}},xi=(e,t)=>{c.useEffect(()=>{if(!t)return;const n=o=>{let r=!1;e.forEach(s=>{(!s.current||s.current===o.target||s.current.contains(o.target))&&(r=!0)}),!r&&t(o)};return document.addEventListener("mousedown",n),document.addEventListener("touchstart",n),()=>{document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",n)}},[t,...e])},Un=c.createContext({rtl:[!1,()=>{}],defaultViewport:"s"}),wi=e=>{const t=c.useState(e||!1),[n,o]=t;return fe(()=>{const r=new MutationObserver(s=>{s.forEach(a=>{if(a.attributeName!=="dir")return;const l=a.target.dir==="rtl";n!==l&&o(l)})});return r.observe(document.documentElement,{attributes:!0}),()=>r.disconnect()},[n]),fe(()=>{document.documentElement.setAttribute("dir",n?"rtl":"ltr")},[n]),t},lt=()=>c.useContext(Un).rtl,Yn=e=>{const t=e&&window.getComputedStyle(e),n=t==null?void 0:t.overflowY,o=t==null?void 0:t.position,r=n==null?void 0:n.includes("scroll"),s=o==="fixed"||o==="sticky";return e===document.body||!e?document.body:r&&e.scrollHeight>e.clientHeight||s?e:Yn(e.parentElement)},Gn=()=>{document.body.style.userSelect="none"},Kn=()=>{document.body.style.userSelect=""},or=16,yi=e=>e.includes("start")?e.replace("start","end"):e.includes("end")?e.replace("end","start"):e,rr=(e,t)=>Math.floor(e/2-t/2),sr=e=>{const{triggerBounds:t,flyoutBounds:n,scopeOffset:o,position:r,rtl:s,width:a}=e;let l=0,u=0,m=r;switch(s&&(m=yi(m)),(a==="full"||a==="trigger")&&(m=m.includes("top")?"top":"bottom"),m){case"bottom":case"top":l=rr(t.width,n.width)+t.left;break;case"start":case"start-top":case"start-bottom":l=t.left-t.width;break;case"end":case"end-top":case"end-bottom":l=t.right;break;case"top-start":case"bottom-start":l=t.left;break;case"top-end":case"bottom-end":l=t.right-n.width;break}switch(m){case"top":case"top-start":case"top-end":u=t.top-n.height;break;case"bottom":case"bottom-start":case"bottom-end":u=t.bottom;break;case"start":case"end":u=rr(t.height,n.height)+t.top;break;case"start-top":case"end-top":u=t.top;break;case"start-bottom":case"end-bottom":u=t.bottom-t.height;break}if(u===void 0||l===void 0)throw Error(`[Reshaped, flyout]: ${m} position is not valid`);u=Math.round(u+(window.scrollY||0)-o.top),l=Math.round(l+(window.scrollX||0)-o.left);let d=Math.ceil(n.width);const f=Math.ceil(n.height);return a==="full"?(l=or,d=window.innerWidth-or*2):a==="trigger"&&(d=t.width),{styles:{left:l,top:u,width:d,height:f},position:m}},cn=["top-start","top","top-end"],un=["bottom-start","bottom","bottom-end"],dn=["start","start-bottom","start-top"],_n=["end","end-bottom","end-top"],Ci={top:[...cn,...un,..._n,...dn],bottom:[...un,...cn,..._n,...dn],start:[...dn,..._n,...cn,...un],end:[..._n,...dn,...cn,...un]},ji=e=>{const n=["top","bottom","start","end"].find(o=>e.startsWith(o))||"bottom";return Ci[n]},Xn=e=>{const t=document.documentElement,n=t.scrollLeft,o=n+t.clientWidth,r=t.scrollTop,s=r+t.clientHeight;return e.left>=n&&e.left+e.width<=o&&e.top>=r&&e.top+e.height<=s},ir={left:0,top:0,width:"auto",height:"auto",zIndex:"var(--rs-z-index-flyout)"},mn={left:0,top:0,position:"fixed",visibility:"hidden",animation:"none",transition:"none",zIndex:"var(--rs-z-index-tooltip)"},ki=(e,t,n)=>{const{position:o,forcePosition:r,width:s}=n,a=t.cloneNode(!0),l=e.getBoundingClientRect();a.style="",Object.keys(mn).forEach(g=>{const v=mn[g];a.style[g]=v.toString()}),s&&(s==="trigger"?a.style.width=`${l.width}px`:s!=="full"&&(a.style.width=s)),document.body.appendChild(a);const u=a.getBoundingClientRect(),m=Yn(e),d=m.getBoundingClientRect(),f={top:d.top+document.documentElement.scrollTop-m.scrollTop,left:d.left+document.documentElement.scrollLeft-m.scrollLeft};let _=sr(p({triggerBounds:l,flyoutBounds:u,scopeOffset:f},n));if(!Xn(_.styles)&&!r){const g=ji(o),v=g.filter(y=>y==="top"||y==="bottom"),b=(y,w={})=>{const{fullWidth:x}=w;y.some(j=>{const C=z(p({},n),{width:x?"full":n.width,position:j}),N=sr(p({triggerBounds:l,flyoutBounds:u,scopeOffset:f},C));return Xn(N.styles)?(_=N,!0):!1})};b(g),Xn(_.styles)||b(v,{fullWidth:!0})}return a.parentNode.removeChild(a),_},$i=(e,t)=>{switch(t.type){case"render":return e.status!=="idle"?e:z(p({},e),{status:"rendered",styles:p({pointerEvents:"none"},mn)});case"position":return e.status!=="rendered"?e:z(p({},e),{status:"positioned",position:t.payload.position,styles:p(p({},ir),t.payload.styles)});case"show":return e.status!=="positioned"?e:z(p({},e),{status:"visible"});case"hide":return e.status!=="visible"?e:z(p({},e),{status:"hidden"});case"remove":return e.status!=="hidden"&&e.status!=="visible"?e:z(p({},e),{status:"idle",styles:mn});default:throw new Error("Invalid reducer type")}},Ni=(e,t,n)=>{const{position:o="bottom",forcePosition:r,width:s}=n,[a]=lt(),[l,u]=c.useReducer($i,{position:o,styles:ir,status:"idle"}),m=c.useCallback(()=>{u({type:"render"})},[]),d=c.useCallback(()=>{u({type:"show"})},[]),f=c.useCallback(()=>{u({type:"hide"})},[]),_=c.useCallback(()=>{u({type:"remove"})},[]),g=c.useCallback(()=>{if(!e.current||!t.current)return;const v=ki(e.current,t.current,{width:s,position:o,forcePosition:r,rtl:a});u({type:"position",payload:v})},[e,t,o,a,r,s]);return c.useEffect(()=>{l.status==="rendered"&&g()},[l.status,g]),c.useMemo(()=>({position:l.position,styles:l.styles,status:l.status,updatePosition:g,render:m,hide:f,remove:_,show:d}),[m,g,f,_,d,l.position,l.styles,l.status])},ar=c.createContext({}),lr=c.createContext({}),qt=()=>c.useContext(ar),zi=()=>c.useContext(lr),Ei=ar.Provider,Ti=lr.Provider,cr=e=>{const{triggerType:t="click",onOpen:n,onClose:o,children:r,forcePosition:s,trapFocusMode:a,width:l,disableHideAnimation:u,contentGap:m,contentClassName:d,contentAttributes:f,position:_,active:g,id:v,instanceRef:b}=e,y=qt(),w=zi(),[x]=lt(),j=c.useRef(null),C=(w==null?void 0:w.triggerElRef)||j,N=c.useRef(null),I=qe(v),k=c.useRef(),$=c.useRef(null),F=c.useRef(!1),S=c.useRef(!1),M=c.useRef(!1),P=c.useRef(!0),O=Ni(C,N,{width:l,position:_,defaultActive:g,forcePosition:s}),{status:L,updatePosition:V,render:G,hide:_e,remove:ne,show:Ae}=O,oe=Jo(t!=="hover"&&L!=="idle",N,C),Z=c.useCallback(()=>{k.current&&clearTimeout(k.current)},[k]),ee=c.useCallback(()=>{!F.current&&L==="idle"&&(n==null||n())},[L]),te=c.useCallback(R=>{var je;!(t==="click"&&!oe())&&L!=="idle"&&(o==null||o(),R!=null&&R.closeParents&&((je=y==null?void 0:y.handleClose)==null||je.call(y)))},[L,oe,t]),xe=c.useCallback(R=>{var ye;(ye=N.current)!=null&&ye.contains(R.relatedTarget)||t==="hover"&&a==="content-menu"||M.current||te()},[te,t,a]),K=c.useCallback(()=>{ee()},[ee]),Y=c.useCallback(()=>{Z(),k.current=setTimeout(ee,fi)},[Z,k,ee]),H=c.useCallback(()=>{Z(),k.current=setTimeout(()=>te(),hi)},[Z,k,te]),W=c.useCallback(()=>{L==="idle"?ee():te()},[L,ee,te]),ie=()=>M.current=!0,ce=()=>M.current=!1,me=c.useCallback(R=>{g&&(N.current!==R.currentTarget||R.propertyName!=="transform"||(S.current=!0))},[g]),we=c.useCallback(R=>{N.current!==R.currentTarget||R.propertyName!=="transform"||L==="hidden"&&(S.current=!1,ne())},[ne,L]);return fe(()=>{if(g){G();return}Ys()&&!u&&S.current?_e():ne()},[g,G,_e,u]),c.useEffect(()=>{L==="positioned"&&Fe(()=>Ae())},[L,Ae]),fe(()=>{L!=="visible"||!N.current||($.current=new Vt(N.current),$.current.trap({mode:a,includeTrigger:t==="hover"&&a==="content-menu",onNavigateOutside:()=>{te()}}))},[L,t,te,a]),c.useEffect(()=>{var R;!u&&L!=="hidden"||u&&L!=="idle"||(R=$.current)!=null&&R.trapped&&(t==="hover"&&(F.current=!0,setTimeout(()=>{F.current=!1},100)),$.current.release({withoutFocusReturn:!P.current}),P.current=!0)},[L,t,u]),c.useEffect(()=>()=>{var R;return(R=$.current)==null?void 0:R.release()},[]),c.useEffect(()=>{const R=No(V,10);return window.addEventListener("resize",R),()=>window.removeEventListener("resize",R)},[V]),c.useEffect(()=>{V()},[x,V]),c.useImperativeHandle(b,()=>({open:ee,close:te}),[ee,te]),et({Escape:()=>te()},[te]),xi([N,C],()=>{P.current=!1,te()}),i.jsx(Ei,{value:{id:I,flyout:O,width:l,triggerElRef:C,flyoutElRef:N,handleClose:te,handleOpen:ee,handleFocus:K,handleBlur:xe,handleMouseEnter:Y,handleMouseLeave:H,handleTransitionStart:me,handleTransitionEnd:we,handleClick:W,handleContentMouseDown:ie,handleContentMouseUp:ce,triggerType:t,trapFocusMode:a,contentGap:m,contentClassName:d,contentAttributes:f},children:r})},Mi=e=>{const{defaultActive:t,onClose:n,onOpen:o}=e,[r,s]=c.useState(t||!1),a=()=>{s(!1),n&&n()},l=()=>{s(!0),o&&o()};return i.jsx(cr,z(p({},e),{defaultActive:void 0,active:r,onClose:a,onOpen:l}))},Si=e=>{const{children:t}=e,{id:n,triggerElRef:o,triggerType:r,flyout:s,handleFocus:a,handleBlur:l,handleMouseEnter:u,handleMouseLeave:m,handleClick:d,trapFocusMode:f}=qt();let _={onBlur:l,ref:o};return(r==="click"||f==="action-menu")&&(_.onClick=d),r==="hover"&&(_.onMouseEnter=u,_.onMouseLeave=m),(r==="hover"&&f!=="action-menu"||r==="focus")&&(_.onFocus=a,_["aria-describedby"]=n),(r==="click"||r==="focus"||f==="action-menu")&&(f==="dialog"?_["aria-haspopup"]="dialog":f==="selection-menu"?(_["aria-haspopup"]="listbox",_["aria-autocomplete"]="list"):_["aria-haspopup"]="menu",_["aria-expanded"]=s.status!=="idle",_["aria-controls"]=s.status!=="idle"?n:void 0),i.jsx(Ti,{value:{triggerElRef:o},children:t(_)})},ur=c.createContext({theme:"",rootTheme:"",colorMode:"light",setTheme:()=>{},setRootTheme:()=>{}}),Jn=c.createContext({mode:"light",setMode:()=>{},invertMode:()=>{}}),Ii=()=>{const{mode:e}=c.useContext(Jn);return e},dr=()=>{const{colorMode:e,theme:t,setTheme:n,rootTheme:o,setRootTheme:r}=c.useContext(ur),{mode:s,setMode:a,invertMode:l}=c.useContext(Jn);return c.useMemo(()=>({theme:t,setTheme:n,rootTheme:o,setRootTheme:r,colorMode:e||s,setColorMode:a,invertColorMode:l}),[e,s,a,l,t,n,r,o])},Di={root:"_root_ve3fz_1"},yt=e=>{const{name:t,defaultName:n,colorMode:o,children:r,className:s}=e,[a,l]=c.useState(!1),[u,m]=c.useState(n),d=Ii(),f=dr(),_=!f.theme,g=t||u||f.theme,v=_?g:f.rootTheme,b=_?d:f.colorMode,w=o==="inverted"?b==="light"?"dark":"light":o||b,x=A(Di.root,s),j=c.useCallback(I=>{_?m(I):f.setRootTheme(I)},[_,f]),C=c.useCallback(I=>{m(I)},[]);fe(()=>{l(!0)},[]),fe(()=>{if(!document||!_)return;const I=document.documentElement.getAttribute("data-rs-color-mode");return document.documentElement.setAttribute("data-rs-theme",g),I||document.documentElement.setAttribute("data-rs-color-mode",w),()=>{document.documentElement.removeAttribute("data-rs-theme"),I||document.documentElement.removeAttribute("data-rs-color-mode")}},[g,w,_]);const N=c.useMemo(()=>({theme:g,rootTheme:v,colorMode:w,setTheme:C,setRootTheme:j}),[g,w,C,j,v]);return i.jsx(ur.Provider,{value:N,children:i.jsx("div",{className:x,"data-rs-theme":_?void 0:g,"data-rs-color-mode":_||!o&&!a?void 0:w,children:r})})},Ai=e=>{const{defaultMode:t,children:n}=e,[o,r]=c.useState(t||"light"),s=c.useCallback(l=>{document.documentElement.setAttribute("data-rs-color-mode",l),r(u=>(u!==l&&Rs(),l))},[]);fe(()=>{Fe(()=>{Us()})},[o]),fe(()=>{const l=document.documentElement.getAttribute("data-rs-color-mode");l&&s(l)},[]);const a=c.useMemo(()=>({mode:o,setMode:s,invertMode:()=>{s(o==="light"?"dark":"light")}}),[o,s]);return i.jsx(Jn.Provider,{value:a,children:n})},_r=c.createContext({}),Pi=()=>c.useContext(_r),mr=e=>{const{children:t,targetRef:n}=e,o=Pi(),r=n||o.scopeRef;return ve.createPortal(i.jsx(yt,{children:t}),(r==null?void 0:r.current)||document.body)};function Fi(e){const{children:t}=e,n=c.useRef(null);return i.jsx(_r.Provider,{value:{scopeRef:n},children:t(n)})}mr.Scope=Fi;const Zn=mr,Ct={content:"_content_12uuh_1",inner:"_inner_12uuh_9","--width-trigger":"_--width-trigger_12uuh_15","--position-top":"_--position-top_12uuh_19","--position-top-end":"_--position-top-end_12uuh_20","--position-top-start":"_--position-top-start_12uuh_21","--position-bottom":"_--position-bottom_12uuh_27","--position-bottom-end":"_--position-bottom-end_12uuh_28","--position-bottom-start":"_--position-bottom-start_12uuh_29","--position-start":"_--position-start_12uuh_45","--position-start-top":"_--position-start-top_12uuh_46","--position-start-bottom":"_--position-start-bottom_12uuh_47","--position-end":"_--position-end_12uuh_53","--position-end-top":"_--position-end-top_12uuh_54","--position-end-bottom":"_--position-end-bottom_12uuh_55","--visible":"_--visible_12uuh_71","--animated":"_--animated_12uuh_76"},Li=e=>{const{children:t,className:n,attributes:o}=e,{flyout:r,id:s,flyoutElRef:a,triggerElRef:l,handleTransitionEnd:u,handleTransitionStart:m,triggerType:d,handleMouseEnter:f,handleMouseLeave:_,handleContentMouseDown:g,handleContentMouseUp:v,contentGap:b,contentClassName:y,contentAttributes:w,trapFocusMode:x,width:j}=qt(),{styles:C,status:N,position:I}=r,[k,$]=c.useState(!1);if(fe(()=>{$(!0)},[]),c.useEffect(()=>{const L=a.current;if(L)return L.addEventListener("transitionstart",m),()=>L.removeEventListener("transitionstart",m)},[m,a,N]),N==="idle"||!k)return null;const F=A(Ct.content,N==="visible"&&Ct["--visible"],["visible","hidden"].includes(N)&&Ct["--animated"],I&&Ct[`--position-${I}`],j==="trigger"&&Ct["--width-trigger"]),S=A(Ct.inner,n,y);let M;d==="hover"?M="tooltip":x==="dialog"?M="dialog":x==="selection-menu"?M="listbox":x==="action-menu"&&(M="menu");const P=i.jsx("div",{className:F,style:z(p({},C),{"--rs-flyout-gap":b}),ref:a,onTransitionEnd:u,onMouseEnter:d==="hover"?f:void 0,onMouseLeave:d==="hover"?_:void 0,onMouseDown:g,onTouchStart:g,onMouseUp:v,onTouchEnd:v,children:i.jsx("div",z(p({role:M},o),{id:s,"aria-modal":d==="click",style:w==null?void 0:w.style,className:S,children:t}))}),O=Yn(l.current);return i.jsx(Zn,{targetRef:O===document.body?void 0:{current:O},children:P})},Qn=e=>{const{active:t}=e;return typeof t=="boolean"?i.jsx(cr,p({},e)):i.jsx(Mi,p({},e))};Qn.Trigger=Si,Qn.Content=Li;const jt=Qn,eo={content:"_content_tzjua_1","content--variant-elevated":"_content--variant-elevated_tzjua_5","content--has-width":"_content--has-width_tzjua_15"},Vi={root:"_root_mmrz1_1"},to=e=>{if(!e)return null;const t=ue("--rs-p",e);return{classNames:Vi.root,variables:t}},no=e=>{var j;const{id:t,forcePosition:n,onOpen:o,onClose:r,active:s,defaultActive:a,children:l,width:u,contentGap:m,variant:d="elevated",triggerType:f="click",position:_="bottom",disableHideAnimation:g,instanceRef:v}=e,b=(j=e.padding)!=null?j:d==="headless"?0:4,y=e.trapFocusMode||(f==="hover"?"content-menu":void 0),w=to(b),x=A(eo.content,!!u&&eo["content--has-width"],d&&eo[`content--variant-${d}`],w==null?void 0:w.classNames);return i.jsx(jt,{id:t,instanceRef:v,position:_,forcePosition:n,onOpen:o,onClose:r,trapFocusMode:y,triggerType:f,active:s,defaultActive:a,width:u,disableHideAnimation:g,contentGap:m,contentClassName:x,contentAttributes:{style:p({},w==null?void 0:w.variables)},children:l})};no.Trigger=jt.Trigger,no.Content=jt.Content;const fn=no,tt={root:"_root_hgjti_1",icon:"_icon_hgjti_14",content:"_content_hgjti_19","--rounded-corners":"_--rounded-corners_hgjti_24","--size-small":"_--size-small_hgjti_1","--size-medium":"_--size-medium_hgjti_1","--size-large":"_--size-large_hgjti_1","--color-neutral":"_--color-neutral_hgjti_63","--selected":"_--selected_hgjti_67","--color-critical":"_--color-critical_hgjti_73","--color-primary":"_--color-primary_hgjti_83","--disabled":"_--disabled_hgjti_104",aligner:"_aligner_hgjti_125","--rounded-corners-true--m":"_--rounded-corners-true--m_hgjti_1","--rounded-corners-false--m":"_--rounded-corners-false--m_hgjti_1","--size-small--m":"_--size-small--m_hgjti_1","--size-medium--m":"_--size-medium--m_hgjti_1","--size-large--m":"_--size-large--m_hgjti_1","--rounded-corners-true--l":"_--rounded-corners-true--l_hgjti_1","--rounded-corners-false--l":"_--rounded-corners-false--l_hgjti_1","--size-small--l":"_--size-small--l_hgjti_1","--size-medium--l":"_--size-medium--l_hgjti_1","--size-large--l":"_--size-large--l_hgjti_1","--rounded-corners-true--xl":"_--rounded-corners-true--xl_hgjti_1","--rounded-corners-false--xl":"_--rounded-corners-false--xl_hgjti_1","--size-small--xl":"_--size-small--xl_hgjti_1","--size-medium--xl":"_--size-medium--xl_hgjti_1","--size-large--xl":"_--size-large--xl_hgjti_1"},Oi=e=>i.jsx(on,z(p({},e),{side:e.side||"inline",className:[tt.aligner,e.className]})),fr=c.forwardRef((e,t)=>{const{icon:n,startSlot:o,endSlot:r,children:s,color:a="primary",selected:l,disabled:u,onClick:m,href:d,size:f="medium",roundedCorners:_,as:g,className:v,attributes:b}=e,y=A(tt.root,v,J(tt,"--size",f),J(tt,"--rounded-corners",_),a&&tt[`--color-${a}`],l&&tt["--selected"],u&&tt["--disabled"]),w=Te(f,j=>j==="large"?3:2),x=Te(f,j=>j==="large"?5:4);return i.jsx(Pe,{disabled:u,className:y,attributes:z(p({},b),{"data-rs-aligner-target":!0}),onClick:m,href:d,ref:t,as:g,children:i.jsxs(q,{direction:"row",gap:w,align:"center",children:[n&&i.jsx(be,{svg:n,className:tt.icon,size:x}),!n&&o,s&&i.jsx(q.Item,{grow:!0,className:tt.content,children:s}),r]})})});fr.Aligner=Oi;const hr=fr,kt=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:i.jsx("polyline",{points:"9 18 15 12 9 6"})}),hn={menu:"_menu_tat3a_1",section:"_section_tat3a_5",item:"_item_tat3a_11",arrow:"_arrow_tat3a_15"},oo=c.createContext(null),nt=e=>{const a=e,{children:t,position:n="bottom-start",triggerType:o="click",trapFocusMode:r="action-menu"}=a,s=Se(a,["children","position","triggerType","trapFocusMode"]);return i.jsx(fn,z(p({},s),{position:n,padding:0,trapFocusMode:r,triggerType:o,children:t}))},qi=e=>{const{children:t,attributes:n,className:o}=e,{flyout:r}=qt(),s=c.useContext(oo),[a]=lt(),{ref:l}=et({[a?Qt:en]:()=>{var m;(m=s==null?void 0:s.current)==null||m.close()}},[s==null?void 0:s.current],{disabled:r.status==="idle"}),u=A(hn.menu,o);return i.jsx(fn.Content,{className:u,attributes:z(p({},n),{ref:l}),children:t})},Bi=e=>{const{children:t}=e;return i.jsx("div",{className:hn.section,role:"group",children:t})},br=e=>{const{onClick:t}=e,{handleClose:n}=qt(),o=r=>{n&&n({closeParents:!0}),t&&t(r)};return i.jsx(hr,z(p({},e),{roundedCorners:!0,className:hn.item,attributes:p({role:"menuitem"},e.attributes),onClick:o}))},Hi=e=>{const{children:t}=e,n=c.useRef();return i.jsx(oo.Provider,{value:n,children:i.jsx(nt,{triggerType:"hover",position:"end-top",contentGap:.5,instanceRef:n,children:t})})},Wi=e=>{const l=e,{children:t,attributes:n}=l,o=Se(l,["children","attributes"]),r=c.useContext(oo),[s]=lt(),{ref:a}=et({[s?en:Qt]:()=>{var u;(u=r==null?void 0:r.current)==null||u.open()}},[],{ref:n==null?void 0:n.ref,preventDefault:!0});return i.jsx(br,z(p({},o),{attributes:z(p({},n),{ref:a}),endSlot:i.jsx(be,{autoWidth:!0,svg:kt,className:hn.arrow}),children:t}))},Ri=e=>{const{children:t}=e;return i.jsx(nt.Trigger,{children:n=>i.jsx(Wi,{attributes:n,children:t})})};nt.Trigger=fn.Trigger,nt.Content=qi,nt.Section=Bi,nt.Item=br,nt.SubMenu=Hi,nt.SubTrigger=Ri;const Bt=nt,gr=c.createContext({}),vr=e=>{const j=e,{children:t,onChange:n,onInput:o,onItemSelect:r,name:s}=j,a=Se(j,["children","onChange","onInput","onItemSelect","name"]),l=c.useRef(null),[u,m]=c.useState(!1),[d,f]=c.useState(!1),_=!!c.Children.toArray(t).filter(Boolean).length,g=c.useCallback(()=>m(!0),[]),v=()=>m(!1);et({[`${Jt},${Zt}`]:()=>g(),[To]:()=>{const C=Lt();C==null||C.click()}},[g],{ref:l,preventDefault:!0});const b=C=>{n==null||n(C),f(!1),g()},y=C=>{n==null||n({value:C.value,name:s}),r==null||r({value:C.value}),f(!0)},w=C=>{var N;requestAnimationFrame(()=>{d&&(m(!1),f(!1))}),(N=a.onFocus)==null||N.call(a,C)},x=C=>{var N,I;o==null||o({value:C.currentTarget.value,name:s,event:C}),(I=(N=a.inputAttributes)==null?void 0:N.onInput)==null||I.call(N,C)};return i.jsx(gr.Provider,{value:{onItemClick:y},children:i.jsxs(Bt,{position:"bottom",width:"trigger",triggerType:"focus",trapFocusMode:"selection-menu",active:!d&&_&&u,onClose:v,onOpen:g,disableHideAnimation:!0,children:[i.jsx(Bt.Trigger,{children:I=>{var k=I,{ref:C}=k,N=Se(k,["ref"]);return i.jsx(Uo,z(p({},a),{name:s,onChange:b,attributes:z(p({},a.attributes),{ref:C}),inputAttributes:z(p({},a.inputAttributes),{onFocus:$=>{var F;(F=N.onFocus)==null||F.call(N),w($)},onInput:x,ref:l,role:"combobox"})}))}}),i.jsx(Bt.Content,{children:t})]})})},Ui=e=>{const a=e,{value:t,onClick:n}=a,o=Se(a,["value","onClick"]),{onItemClick:r}=c.useContext(gr),s=l=>{n==null||n(l),r({value:t})};return i.jsx(Bt.Item,z(p({},o),{attributes:z(p({},o.attributes),{role:"option"}),onClick:s}))};vr.Item=Ui;const Yi=vr,bn={root:"_root_12o47_1",img:"_img_12o47_13","--variant-faded":"_--variant-faded_12o47_20","--color-neutral":"_--color-neutral_12o47_21","--color-critical":"_--color-critical_12o47_25","--color-positive":"_--color-positive_12o47_29","--color-warning":"_--color-warning_12o47_33","--color-primary":"_--color-primary_12o47_37"},Gi=e=>{const{color:t="neutral",variant:n,src:o,size:r=12,squared:s,initials:a,icon:l,alt:u,className:m,attributes:d}=e,f=s?Te(r,b=>b>=24?"large":b>=12?"medium":"small"):"circular",_=xt(r),g=A(bn.root,m,_==null?void 0:_.classNames,t&&bn[`--color-${t}`],n&&bn[`--variant-${n}`]),v=()=>o?i.jsx("img",{role:a?void 0:"presentation",src:o,alt:u,className:bn.img}):l?i.jsx(be,{svg:l,size:Te(r,b=>Math.ceil(b*.4))}):a;return i.jsx(q,{borderRadius:f,attributes:z(p({},d),{style:p({},_==null?void 0:_.variables)}),backgroundColor:n==="faded"?`${t}-${n}`:t,className:g,children:v()})},pr=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",children:[i.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),i.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}),We={root:"_root_v3yhu_1",dismiss:"_dismiss_v3yhu_21","--actionable":"_--actionable_v3yhu_26","--variant-faded":"_--variant-faded_v3yhu_1","--variant-outline":"_--variant-outline_v3yhu_1","--color-positive":"_--color-positive_v3yhu_44","--color-critical":"_--color-critical_v3yhu_64","--color-warning":"_--color-warning_v3yhu_84","--color-primary":"_--color-primary_v3yhu_104","--size-small":"_--size-small_v3yhu_1","--size-medium":"_--size-medium_v3yhu_1","--size-large":"_--size-large_v3yhu_1","--rounded":"_--rounded_v3yhu_150","--hidden":"_--hidden_v3yhu_162",container:"_container_v3yhu_169","--container-overlap":"_--container-overlap_v3yhu_195","--container-position-top-end":"_--container-position-top-end_v3yhu_199","--container-position-bottom-end":"_--container-position-bottom-end_v3yhu_211"},Ki=e=>{const{children:t,position:n="top-end",overlap:o,className:r,attributes:s}=e,a=A(We.container,r,o&&We["--container-overlap"],n&&We[`--container-position-${n}`]);return i.jsx("div",z(p({},s),{className:a,children:t}))},xr=c.forwardRef((e,t)=>{const{children:n,color:o,rounded:r,size:s="medium",icon:a,endIcon:l,variant:u,hidden:m,href:d,onClick:f,onDismiss:_,dismissAriaLabel:g,className:v,attributes:b}=e,y=!!(f||d),w=s==="large"?4:3.5,x=A(We.root,v,r&&We["--rounded"],m&&We["--hidden"],s&&We[`--size-${s}`],o&&We[`--color-${o}`],u&&We[`--variant-${u}`],y&&We["--actionable"]),j=C=>{C.stopPropagation(),_==null||_()};return i.jsxs(Pe,{onClick:f,href:d,className:x,attributes:b,ref:t,children:[a&&i.jsx(be,{svg:a,autoWidth:!0,size:w}),n&&i.jsx(se,{variant:s==="large"?"body-3":"caption-1",weight:"medium",attributes:{"aria-hidden":m?"true":void 0},children:n}),l&&i.jsx(be,{svg:l,autoWidth:!0,size:w}),_&&i.jsx(Pe,{onClick:j,className:We.dismiss,as:"span",attributes:{"aria-label":g},children:i.jsx(be,{svg:pr,size:w})})]})});xr.Container=Ki;const Xi=xr,gn={root:"_root_19u87_15","rs-reshaped-loader":"_rs-reshaped-loader_19u87_1",inner:"_inner_19u87_44","--color-inherit":"_--color-inherit_19u87_63","--color-primary":"_--color-primary_19u87_67","--color-positive":"_--color-positive_19u87_71","--color-critical":"_--color-critical_19u87_75","--size-small":"_--size-small_19u87_1","--size-medium":"_--size-medium_19u87_1","--size-small--m":"_--size-small--m_19u87_1","--size-medium--m":"_--size-medium--m_19u87_1","--size-small--l":"_--size-small--l_19u87_1","--size-medium--l":"_--size-medium--l_19u87_1","--size-small--xl":"_--size-small--xl_19u87_1","--size-medium--xl":"_--size-medium--xl_19u87_1"},wr=e=>{const{size:t="small",color:n="primary",className:o,attributes:r}=e,s=r==null?void 0:r["aria-label"],a=A(gn.root,o,J(gn,"--size",t),n&&gn[`--color-${n}`]);return i.jsx("span",z(p({},r),{role:"progressbar","aria-live":s?"assertive":void 0,"aria-label":s,className:a,children:i.jsx("span",{className:gn.inner})}))},Ce={root:"_root_m366f_1",text:"_text_m366f_46",icon:"_icon_m366f_52","--icon-position-end":"_--icon-position-end_m366f_56",loader:"_loader_m366f_73","--icon-only":"_--icon-only_m366f_81","--loading":"_--loading_m366f_87","--rounded":"_--rounded_m366f_104","--size-small":"_--size-small_m366f_1","--size-medium":"_--size-medium_m366f_1","--size-large":"_--size-large_m366f_1","--size-xlarge":"_--size-xlarge_m366f_1","--full-width":"_--full-width_m366f_146","--variant-solid":"_--variant-solid_m366f_158","--color-neutral":"_--color-neutral_m366f_158","--variant-faded":"_--variant-faded_m366f_159","--highlighted":"_--highlighted_m366f_168","--color-primary":"_--color-primary_m366f_354","--color-critical":"_--color-critical_m366f_355","--color-positive":"_--color-positive_m366f_356","--color-media":"_--color-media_m366f_192","--disabled":"_--disabled_m366f_200","--color-inherit":"_--color-inherit_m366f_240","--variant-outline":"_--variant-outline_m366f_255","--variant-ghost":"_--variant-ghost_m366f_303","--elevated":"_--elevated_m366f_349",group:"_group_m366f_409","--color-black":"_--color-black_m366f_442","--color-white":"_--color-white_m366f_454",aligner:"_aligner_m366f_470","--size-small--m":"_--size-small--m_m366f_1","--size-medium--m":"_--size-medium--m_m366f_1","--size-large--m":"_--size-large--m_m366f_1","--size-xlarge--m":"_--size-xlarge--m_m366f_1","--full-width-true--m":"_--full-width-true--m_m366f_1","--full-width-false--m":"_--full-width-false--m_m366f_1","--size-small--l":"_--size-small--l_m366f_1","--size-medium--l":"_--size-medium--l_m366f_1","--size-large--l":"_--size-large--l_m366f_1","--size-xlarge--l":"_--size-xlarge--l_m366f_1","--full-width-true--l":"_--full-width-true--l_m366f_1","--full-width-false--l":"_--full-width-false--l_m366f_1","--size-small--xl":"_--size-small--xl_m366f_1","--size-medium--xl":"_--size-medium--xl_m366f_1","--size-large--xl":"_--size-large--xl_m366f_1","--size-xlarge--xl":"_--size-xlarge--xl_m366f_1","--full-width-true--xl":"_--full-width-true--xl_m366f_1","--full-width-false--xl":"_--full-width-false--xl_m366f_1"},Ji=e=>{const{children:t,className:n,attributes:o}=e,r=A(Ce.group,n);return i.jsx("div",z(p({},o),{className:r,role:"group",children:t}))},Zi=e=>i.jsx(on,z(p({},e),{side:e.side||e.position,className:[Ce.aligner,e.className]})),ro=c.forwardRef((e,t)=>{const{variant:n="solid",color:o="neutral",elevated:r,highlighted:s,fullWidth:a,loading:l,disabled:u,type:m,href:d,size:f="medium",children:_,rounded:g,onClick:v,icon:b,endIcon:y,as:w,className:x,attributes:j}=e,C=(b||y)&&!_,N=A(Ce.root,x,o&&Ce[`--color-${o}`],n&&Ce[`--variant-${n}`],J(Ce,"--size",f),J(Ce,"--full-width",a),r&&n!=="ghost"&&Ce["--elevated"],g&&Ce["--rounded"],u&&Ce["--disabled"],l&&Ce["--loading"],s&&Ce["--highlighted"],C&&Ce["--icon-only"]),I=k=>{if(!(k==="start"&&b||k==="end"&&y))return null;const M=A(Ce.icon,k==="end"&&Ce["--icon-position-end"]),P=Te(f,O=>O==="large"?5:O==="xlarge"?6:4);return i.jsx(be,{className:M,svg:k==="start"?b:y,size:P,autoWidth:!0})};return i.jsxs(Pe,{disabled:u||l,className:N,attributes:z(p({},j),{"data-rs-aligner-target":!0}),type:m,onClick:v,href:d,ref:t,as:w,children:[l&&i.jsx("div",{className:Ce.loader,children:i.jsx(wr,{size:"small",color:"inherit"})}),I("start"),_&&i.jsx("span",{className:Ce.text,children:_}),I("end")]})});ro.Group=Ji,ro.Aligner=Zi;const $e=ro,yr=()=>i.jsxs("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[i.jsx("path",{d:"M8 9C8.55228 9 9 8.55228 9 8C9 7.44772 8.55228 7 8 7C7.44772 7 7 7.44772 7 8C7 8.55228 7.44772 9 8 9Z",fill:"currentColor"}),i.jsx("path",{d:"M12 9C12.5523 9 13 8.55228 13 8C13 7.44772 12.5523 7 12 7C11.4477 7 11 7.44772 11 8C11 8.55228 11.4477 9 12 9Z",fill:"currentColor"}),i.jsx("path",{d:"M4 9C4.55228 9 5 8.55228 5 8C5 7.44772 4.55228 7 4 7C3.44772 7 3 7.44772 3 8C3 8.55228 3.44772 9 4 9Z",fill:"currentColor"})]}),Qi=e=>{const{children:t,separator:n,color:o,defaultVisibleItems:r,disableExpand:s,ariaLabel:a,className:l,attributes:u}=e,m=r&&r>=2?r:null,[d,f]=c.useState(!1),_=A(l),g=c.Children.count(t);let v=0;const b=()=>{f(!0)};return i.jsx("nav",z(p({},u),{"aria-label":a||(u==null?void 0:u["aria-label"]),className:_,children:i.jsx(q,{as:"ol",direction:"row",gap:2,align:"center",children:c.Children.map(t,(y,w)=>{if(!y)return null;const x=g-(m||0),j=v===0,C=v>x,N=!m||j||C||d,I=v===x;v+=1;let k=null;return N?k=y:I&&(k=s?i.jsx(be,{svg:yr,size:4}):i.jsx($e.Aligner,{children:i.jsx($e,{variant:"ghost",size:"small",icon:yr,onClick:b})})),k===null?null:i.jsxs(q,{as:"li",gap:2,direction:"row",align:"center",children:[w>0&&(N||I)&&i.jsx(se,{color:"neutral-faded",children:n||i.jsx(be,{svg:kt,size:3})}),i.jsx(se,{variant:"body-3",color:o==="primary"?"primary":"neutral-faded",children:k})]},w)})})}))},Ht={root:"_root_1ubuq_1","--color-primary":"_--color-primary_1ubuq_6","--color-critical":"_--color-critical_1ubuq_10","--color-positive":"_--color-positive_1ubuq_14","--color-warning":"_--color-warning_1ubuq_18","--color-inherit":"_--color-inherit_1ubuq_22","--variant-plain":"_--variant-plain_1ubuq_27","--disabled":"_--disabled_1ubuq_31","--variant-underline":"_--variant-underline_1ubuq_37","--with-icon":"_--with-icon_1ubuq_53"},Cr=c.forwardRef((e,t)=>{const{icon:n,disabled:o,href:r,color:s="primary",variant:a="underline",className:l,children:u,attributes:m,type:d,onClick:f}=e,_=A(Ht.root,l,o&&Ht["--disabled"],a&&Ht[`--variant-${a}`],s&&Ht[`--color-${s}`],n&&Ht["--with-icon"]);return i.jsxs(Pe,{href:r,disabled:o,className:_,attributes:m,type:d,onClick:f,ref:t,children:[n&&i.jsx(be,{svg:n}),u]})}),ea=e=>{const{children:t,onClick:n,href:o,icon:r,disabled:s}=e;return!o&&!n&&!s?i.jsx(se,{variant:"body-3",weight:"medium",color:"neutral",children:t}):i.jsx(Cr,{onClick:n,href:o,icon:r,disabled:s,variant:"plain",color:"inherit",children:t})},jr=Qi;jr.Item=ea;const kr=7,$r=1,ft=e=>{const{date:t}=e;return[t.getFullYear(),(t.getMonth()+1).toString().padStart(2,"0"),t.getDate().toString().padStart(2,"0")].join("-")},so=e=>{const{date:t,firstWeekDay:n=$r}=e,o=t.getDay();return o<n?kr-o-n:o-n},ta=e=>{const{firstWeekDay:t=$r,renderWeekDay:n}=e,o=new Date(2021,1,t),r=[];for(let s=t;s<t+kr;s++){const a=n?n({weekDay:s,date:o}):o.toLocaleDateString("en-US",{weekday:"short"});r.push(a.slice(0,2)),o.setDate(o.getDate()+1)}return r},na=e=>{const{renderMonthLabel:t}=e;return new Array(12).fill(null).map((n,o)=>{const r=new Date(0,o);return t?t({month:o,date:r}):r.toLocaleString("default",{month:"short"})})},oa=e=>{const{date:t,firstWeekDay:n}=e,o=t.getMonth(),r=t.getFullYear(),s=[],a=new Date(r,o,1),l=so({date:a,firstWeekDay:n});for(l!==0&&s.push(new Array(l).fill(null));o===a.getMonth();)(so({date:a,firstWeekDay:n})===0||!s.length)&&s.push([]),s[s.length-1].push(new Date(a)),a.setDate(a.getDate()+1);const u=so({date:a,firstWeekDay:n});return u!==0&&s[s.length-1].push(...new Array(7-u).fill(null)),s},Nr=e=>(e==null?void 0:e.querySelectorAll("[data-rs-date]"))||[],io=(e,t)=>{const n=new Date(e);return n.setMonth(t),n},ra=e=>io(e,e.getMonth()-1),zr=e=>io(e,e.getMonth()+1),Er=(e,t)=>{const n=new Date(e);return n.setFullYear(t),n},sa=e=>Er(e,e.getFullYear()-1),ia=e=>Er(e,e.getFullYear()+1),aa=e=>{const{date:t,min:n,max:o}=e,r=t.getMonth(),s=t.getFullYear(),a=new Date(s,r,0),l=zr(t);return l.setDate(0),{isFirstMonth:n&&n>a,isLastMonth:o&&o<l}},la=e=>{const{rootRef:t,changeToNextMonth:n,changeToPreviousMonth:o,monthDate:r,verticalDelta:s,min:a,max:l}=e,u=c.useRef(0),m=c.useCallback(d=>{const{delta:f,onMonthChange:_}=d,g=document.activeElement;if(!g)return;const v=Nr(t.current),b=Array.from(v),w=b.findIndex(F=>F===g)+f,x=b[w],j=g.getAttribute("data-rs-date");if(!j)return;const[C,N,I]=j==null?void 0:j.split("-").map(Number);let k;if(I?k=new Date(C,N-1,I+f):f>0?k=new Date(C,N-1+f,1):k=new Date(C,N-1+f+1,0),!(a&&k<a||l&&k>l)){if(x){x.focus();return}u.current=w<0?w:w-(b.length-1),_()}},[t,a,l]);c.useEffect(()=>{const d=u.current;if(d===0)return;const f=Nr(t.current),_=d<0?f.length+d:d-1,g=f[_];g&&g.focus(),u.current=0},[r,t]),et({[en]:()=>m({delta:-1,onMonthChange:o}),[Qt]:()=>m({delta:1,onMonthChange:n}),[Jt]:()=>m({delta:-s,onMonthChange:o}),[Zt]:()=>m({delta:s,onMonthChange:n})},[n,o,m,s],{ref:t,preventDefault:!0})},Ne={selection:"_selection_e1khb_1",weekday:"_weekday_e1khb_6",row:"_row_e1khb_12",control:"_control_e1khb_16","cell-button":"_cell-button_e1khb_20",cell:"_cell_e1khb_20","cell--in-range":"_cell--in-range_e1khb_1","cell--active-start":"_cell--active-start_e1khb_1","cell--active-end":"_cell--active-end_e1khb_1","cell--active-single":"_cell--active-single_e1khb_1"},ca=e=>{const{date:t,startValue:n,endValue:o,isActiveStart:r,isActiveEnd:s,disabled:a,focusable:l,onChange:u,range:m,hoveredDate:d,onDateHover:f,onDateHoverEnd:_,renderAriaLabel:g}=e;if(!t)return i.jsx("td",{className:Ne.cell,"aria-hidden":"true"});const v=n&&n<t&&(o&&o>t||d&&!o&&d>t),b=A([Ne.cell,!m&&r&&Ne["cell--active-single"],r&&Ne["cell--active-start"],(s||!o&&r&&!(d&&n&&d>n))&&Ne["cell--active-end"],v&&Ne["cell--in-range"]]),y=()=>{if(!m){u==null||u({value:t});return}const j=n&&o,C=!n&&!o,N=n&&t<n,I=j||C||N,k=I?t:n,$=I?null:t;u==null||u({value:{start:k,end:$}})},w=()=>{f(t)},x=()=>{_(t)};return i.jsx("td",{className:b,role:a?"presentation":"gridcell",children:i.jsx(Pe,{fullWidth:!0,insetFocus:!0,className:Ne["cell-button"],disabled:a,onClick:y,attributes:{role:"checkbox",tabIndex:l?0:-1,"aria-hidden":a,"aria-label":g?g({date:t}):t.toLocaleDateString("en-us",{month:"long",day:"numeric",weekday:"long"}),"aria-checked":r||s,"data-rs-date":ft({date:t}),onMouseEnter:w,onMouseLeave:x,onFocus:w,onBlur:x},children:t.getDate()})})},ua=e=>{const{date:t,value:n,onChange:o,min:r,max:s,range:a,firstWeekDay:l,hoveredDate:u,onDateHover:m,onDateHoverEnd:d,renderWeekDay:f,renderDateAriaLabel:_}=e;let g=!1;const v=t.getMonth(),b=oa({date:t,firstWeekDay:l}),y=ta({firstWeekDay:l,renderWeekDay:f});return i.jsxs("table",{className:Ne.selection,role:"grid",children:[i.jsx("thead",{"aria-hidden":"true",children:i.jsx("tr",{children:y.map(w=>i.jsx("th",{className:Ne.weekday,scope:"col",children:w},w))})}),i.jsx("tbody",{children:b.map(w=>{var j;const x=[v,(j=w[0])==null?void 0:j.getDate()].filter(Boolean).join("-");return i.jsx("tr",{className:Ne.row,children:w.map((C,N)=>{const I=!!C&&(r&&C<r||s&&C>s),k=C==null?void 0:C.getMonth(),$=new Date,F=ft({date:$}),S=n&&"start"in n?n.start:n,M=n&&"end"in n?n.end:n,P=C&&ft({date:C}),O=S&&ft({date:S}),L=M&&ft({date:M}),V=!!P&&!!O&&P===O,G=!!P&&!!L&&P===L;let _e=!1;return!g&&C&&(S&&S.getMonth()===(C==null?void 0:C.getMonth())?_e=ft({date:S})===ft({date:C}):P&&k===$.getMonth()?_e=P>=F&&!I:_e=!I),_e&&(g=!0),i.jsx(ca,{date:C,disabled:I,range:a,focusable:_e,startValue:S,endValue:M,isActiveStart:V,isActiveEnd:G,onChange:o,hoveredDate:u,onDateHover:m,onDateHoverEnd:d,renderAriaLabel:_},N)})},x)})})]})},ao=3,da=e=>{const{renderMonthLabel:t,renderMonthAriaLabel:n,monthDate:o,min:r,max:s,onMonthClick:a}=e,l=c.useRef(null),u=na({renderMonthLabel:t}),m=[];for(let d=0;d<u.length;d+=ao){const f=u.slice(d,d+ao);m.push(f)}return c.useEffect(()=>{var f;const d=(f=l.current)==null?void 0:f.querySelector('[tabIndex="0"]');Fe(()=>{d==null||d.focus()})},[]),i.jsx("table",{ref:l,role:"grid",className:Ne.selection,children:i.jsx("tbody",{children:m.map((d,f)=>i.jsx("tr",{className:Ne.row,children:d.map((_,g)=>{const v=f*ao+g,b=new Date(o.getFullYear(),v),y=r&&r.getFullYear()>=b.getFullYear()&&r.getMonth()>b.getMonth(),x=s&&s.getFullYear()<=b.getFullYear()&&s.getMonth()<b.getMonth()||y;return i.jsx("td",{role:x?"presentation":"gridcell",className:Ne.cell,children:i.jsx(Pe,{fullWidth:!0,insetFocus:!0,className:Ne["cell-button"],disabled:x,onClick:()=>a(v),attributes:{tabIndex:v===o.getMonth()?0:-1,"aria-hidden":x,"aria-label":n?n({month:v}):_,"data-rs-date":`${o.getFullYear()}-${(v+1).toString().padStart(2,"0")}`},children:_})},_)})},f))})})},_a={root:"_root_1g94s_1"},lo=e=>{const{children:t}=e;return i.jsx("div",{className:_a.root,children:t})},vn=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:i.jsx("polyline",{points:"15 18 9 12 15 6"})}),ma=e=>{const{selectionMode:t,onMonthTitleClick:n,monthTitleRef:o,monthDate:r,renderSelectedMonthLabel:s,isFirstMonth:a,isLastMonth:l,onNextClick:u,onPreviousClick:m,monthSelectionAriaLabel:d="Select a month",previousMonthAriaLabel:f="Previous month",previousYearAriaLabel:_="Previous year",nextMonthAriaLabel:g="Next month",nextYearAriaLabel:v="Next year"}=e,b=c.useRef(null),y=c.useRef(null);return c.useEffect(()=>{if(!a||document.activeElement!==b.current)return;const w=y.current||o.current;Fe(()=>{w==null||w.focus()})},[a,o]),c.useEffect(()=>{if(!l||document.activeElement!==y.current)return;const w=b.current||o.current;Fe(()=>{w==null||w.focus()})},[l,o]),i.jsxs(q,{direction:"row",gap:2,align:"center",children:[i.jsx(pt,{visibility:!0,hide:a,children:i.jsx("div",{className:Ne.control,children:i.jsx($e,{variant:"ghost",icon:vn,onClick:m,attributes:{ref:b,"aria-label":t==="date"?f:_}})})}),i.jsxs(q.Item,{grow:!0,children:[t==="date"&&i.jsxs($e,{fullWidth:!0,variant:"ghost",onClick:n,attributes:{ref:o},children:[s?s({date:r}):r.toLocaleDateString("en-US",{month:"long",year:"numeric"}),i.jsx(lo,{children:d})]}),t==="month"&&i.jsx(se,{align:"center",weight:"medium",children:r.toLocaleDateString("en-US",{year:"numeric"})})]}),i.jsx(pt,{visibility:!0,hide:l,children:i.jsx("div",{className:Ne.control,children:i.jsx($e,{variant:"ghost",icon:kt,onClick:u,attributes:{ref:y,"aria-label":t==="date"?g:v}})})})]})},co=e=>{const{value:t,onChange:n,defaultMonth:o,min:r,max:s,range:a,firstWeekDay:l,renderMonthLabel:u,renderSelectedMonthLabel:m,renderWeekDay:d,previousMonthAriaLabel:f,previousYearAriaLabel:_,nextMonthAriaLabel:g,nextYearAriaLabel:v,monthSelectionAriaLabel:b,renderMonthAriaLabel:y,renderDateAriaLabel:w}=e,[x,j]=c.useState("date"),[C,N]=c.useState(o||new Date),[I,k]=c.useState(null),$=c.useRef(null),F=c.useRef(x),S=aa({date:C,min:r,max:s}),M=c.useRef(null),P=()=>{if(x==="month"){N(ne=>sa(ne));return}N(ne=>ra(ne))},O=()=>{if(x==="month"){N(ne=>ia(ne));return}N(ne=>zr(ne))},L=()=>{j("month")},V=ne=>{N(Ae=>io(Ae,ne)),j("date")},G=ne=>{k(ne)},_e=ne=>{I&&+I==+ne&&k(null)};return c.useEffect(()=>{x==="date"&&x!==F.current&&Fe(()=>{var ne;(ne=$.current)==null||ne.focus()}),F.current=x},[x]),la({monthDate:C,rootRef:M,changeToNextMonth:O,changeToPreviousMonth:P,verticalDelta:x==="date"?7:3,min:r,max:s}),i.jsxs(q,{gap:2,children:[i.jsx(ma,{renderSelectedMonthLabel:m,monthDate:C,selectionMode:x,isFirstMonth:S.isFirstMonth,isLastMonth:S.isLastMonth,monthTitleRef:$,onMonthTitleClick:L,onNextClick:O,onPreviousClick:P,previousMonthAriaLabel:f,previousYearAriaLabel:_,nextMonthAriaLabel:g,nextYearAriaLabel:v,monthSelectionAriaLabel:b}),i.jsxs(q.Item,{attributes:{ref:M},children:[x==="date"&&i.jsx(ua,{date:C,value:t,onChange:n,min:r,max:s,range:a,firstWeekDay:l,hoveredDate:I,onDateHover:G,onDateHoverEnd:_e,renderWeekDay:d,renderDateAriaLabel:w}),x==="month"&&i.jsx(da,{monthDate:C,onMonthClick:V,renderMonthLabel:u,renderMonthAriaLabel:y,min:r,max:s})]})]})},fa=e=>{const l=e,{onChange:t,defaultValue:n,range:o}=l,r=Se(l,["onChange","defaultValue","range"]),[s,a]=c.useState(n||null);return o?i.jsx(co,z(p({range:!0},r),{value:s,onChange:u=>{a(u.value),t==null||t(u)}})):i.jsx(co,z(p({},r),{value:s,onChange:u=>{a(u.value),t==null||t(u)}}))},ha=e=>e.value!==void 0?i.jsx(co,p({},e)):i.jsx(fa,p({},e)),$t={root:"_root_15qpy_1",content:"_content_15qpy_15","--selected":"_--selected_15qpy_20","--elevated":"_--elevated_15qpy_26","--actionable":"_--actionable_15qpy_31"},ba=c.forwardRef((e,t)=>{const{padding:n=4}=e,{selected:o,elevated:r,bleed:s,height:a,onClick:l,href:u,children:m,className:d,attributes:f,as:_="div"}=e,g=!!u||!!l,v=An("medium"),b=Io(s),y=to(n),w=xt(a),x=A($t.root,v==null?void 0:v.classNames,b==null?void 0:b.classNames,y==null?void 0:y.classNames,w==null?void 0:w.classNames,g&&$t["--actionable"],r&&$t["--elevated"],o&&$t["--selected"],d),j=p(p(p(p({},f==null?void 0:f.style),b==null?void 0:b.variables),y==null?void 0:y.variables),w==null?void 0:w.variables);return g?i.jsx(Pe,{className:x,attributes:z(p({},f),{style:j}),href:u,as:_,onClick:l,ref:t,children:i.jsx("span",{className:$t.content,children:m})}):i.jsx(_,z(p({},f),{onClick:l,href:u,ref:t,className:x,style:j,children:i.jsx("span",{className:$t.content,children:m})}))});var Nt=(e=>(e.back="back",e.forward="forward",e))(Nt||{});const ot={root:"_root_xql9y_1",control:"_control_xql9y_5","--control-prev":"_--control-prev_xql9y_17","--control-next":"_--control-next_xql9y_21","--control-visible":"_--control-visible_xql9y_25",scroll:"_scroll_xql9y_30",item:"_item_xql9y_51","--control-rendered":"_--control-rendered_xql9y_63","--bleed":"_--bleed_xql9y_69","--bleed-true--m":"_--bleed-true--m_xql9y_1","--bleed-false--m":"_--bleed-false--m_xql9y_1","--bleed-true--l":"_--bleed-true--l_xql9y_1","--bleed-false--l":"_--bleed-false--l_xql9y_1","--bleed-true--xl":"_--bleed-true--xl_xql9y_1","--bleed-false--xl":"_--bleed-false--xl_xql9y_1"},Tr=e=>{const{type:t,scrollElRef:n,scrollPosition:o,onClick:r,isRTL:s,mounted:a}=e,[l,u]=c.useState(!1),[m,d]=c.useState(!1),f=t===Nt.forward,_=t===(s?Nt.back:Nt.forward),g=A(ot.control,_?ot["--control-next"]:ot["--control-prev"],l&&ot["--control-visible"],m&&ot["--control-rendered"]);return fe(()=>{const v=n.current;if(!v||!a)return;let b;const y=Math.abs(o),w=y<=0,x=y+v.clientWidth>=v.scrollWidth-1;return(f?x:w)?(u(!1),b=setTimeout(()=>d(!1),1500)):(d(!0),u(!0)),()=>{b&&clearTimeout(b)}},[o,n.current,a]),i.jsx("div",{className:g,"aria-hidden":"true",children:i.jsx($e,{onClick:r,icon:_?kt:vn,rounded:!0,variant:"outline",elevated:!0,attributes:{"aria-disabled":!l}})})},ga=e=>{const{children:t,gap:n=3,visibleItems:o,bleed:r,navigationDisplay:s,instanceRef:a,className:l,attributes:u}=e,[m,d]=c.useState(!1),[f,_]=c.useState(0),[g]=lt(),v=c.useRef(null),b={};typeof r=="object"&&Object.entries(r).forEach(([k,$])=>{b[k]=typeof $=="number"&&$>0});const y=A(ot.root,l,...J(ot,"--bleed",typeof r=="number"?!0:b)),w=js(k=>{const $=k.target;_($.scrollLeft)},16),x=()=>{const $=getComputedStyle(v.current).gap.split(" ")[0];return Number($.replace("px",""))},j=()=>{const k=v.current;k.scrollBy({left:k.clientWidth+x(),top:0,behavior:"smooth"})},C=()=>{const k=v.current;k.scrollBy({left:-k.clientWidth-x(),top:0,behavior:"smooth"})},N=g?j:C,I=g?C:j;return c.useImperativeHandle(a,()=>({navigateBack:N,navigateForward:I})),fe(()=>{d(!0)},[]),i.jsxs("section",z(p({},u),{className:y,style:p(p({},ue("--rs-carousel-items",o)),ue("--rs-carousel-bleed",r)),children:[s!=="hidden"&&i.jsxs(i.Fragment,{children:[i.jsx(Tr,{isRTL:g,type:Nt.back,scrollElRef:v,scrollPosition:f,onClick:N,mounted:m}),i.jsx(Tr,{isRTL:g,type:Nt.forward,scrollElRef:v,scrollPosition:f,onClick:I,mounted:m})]}),i.jsx(q,{as:"ul",direction:"row",wrap:!1,gap:n,className:ot.scroll,attributes:{ref:v,onScroll:w},children:c.Children.map(t,k=>i.jsx(q.Item,{className:ot.item,as:"li",children:k}))})]}))},va={root:"_root_1feer_1"},uo=e=>{const{name:t,value:n,type:o,onChange:r,onFocus:s,onBlur:a,checked:l,defaultChecked:u,disabled:m,className:d,attributes:f}=e,_=A(va.root,d);return i.jsx("input",z(p({},f),{className:_,type:o,name:t,value:n,checked:l,defaultChecked:u,disabled:m,onChange:r,onFocus:s||(f==null?void 0:f.onFocus),onBlur:a||(f==null?void 0:f.onBlur)}))},Mr=c.createContext(null),pa=()=>c.useContext(Mr),Sr=e=>{const{onChange:t,name:n,disabled:o,value:r,children:s,hasError:a}=e,l=u=>{const{event:m,value:d,checked:f}=u;if(!d)return;let _=[...r];f?_.push(d):_=_.filter(g=>g!==d),t&&t({name:n,value:_,event:m})};return i.jsx(Mr.Provider,{value:{onChange:l,disabled:o,value:r,name:n,hasError:a},children:s})},xa=e=>{const{defaultValue:t,onChange:n}=e,[o,r]=c.useState(t||[]),s=a=>{a.value&&(r(a.value),n&&n(a))};return i.jsx(Sr,z(p({},e),{value:o,defaultValue:void 0,onChange:s}))},wa=e=>{const{value:t}=e;return t!==void 0?i.jsx(Sr,p({},e)):i.jsx(xa,p({},e))},Ir=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:i.jsx("polyline",{points:"20 6 9 17 4 12"})}),ct={root:"_root_gdp0b_1",decorator:"_decorator_gdp0b_11",field:"_field_gdp0b_15",icon:"_icon_gdp0b_45",input:"_input_gdp0b_55","--error":"_--error_gdp0b_61","--disabled":"_--disabled_gdp0b_91"},ya=e=>{var C;const{children:t,value:n,onChange:o,onFocus:r,onBlur:s,indeterminate:a,className:l,attributes:u,inputAttributes:m}=e,d=pa(),f=Qe(),_=(f==null?void 0:f.hasError)||e.hasError||(d==null?void 0:d.hasError),g=(f==null?void 0:f.disabled)||e.disabled||(d==null?void 0:d.disabled),v=d?(C=d.value)==null?void 0:C.includes(n):e.checked,b=d?void 0:e.defaultChecked,y=d?d.name:e.name,w=c.useRef(null),x=A(ct.root,l,_&&ct["--error"],g&&ct["--disabled"]),j=N=>{if(!y)return;const{checked:I}=N.target,k={name:y,value:n,checked:I,event:N};o&&o(k),d!=null&&d.onChange&&d.onChange(k)};return fe(()=>{w.current.indeterminate=a||!1},[a,v]),i.jsxs("label",z(p({},u),{className:x,children:[i.jsxs("span",{className:ct.field,children:[i.jsx(uo,{className:ct.input,type:"checkbox",checked:v,defaultChecked:b,name:y,disabled:g,value:n,onChange:j,onFocus:r,onBlur:s,attributes:z(p({},m),{ref:w})}),i.jsx("div",{className:ct.decorator,children:i.jsx(be,{svg:Ir,className:ct.icon})})]}),t&&i.jsx("span",{className:ct.text,children:t})]}))},Ca={root:"_root_1c40o_1"},ja=e=>{const{children:t,padding:n=4,width:o,align:r,justify:s,height:a,maxHeight:l,className:u,attributes:m}=e,d=A(Ca.root,u);return i.jsx(q,{attributes:m,className:d,paddingInline:n,align:r,justify:s,height:a,maxHeight:l,width:o,maxWidth:"100%",children:t})},Wt={root:"_root_1md53_1",close:"_close_1md53_7","--variant-media":"_--variant-media_1md53_14","--hide-close":"_--hide-close_1md53_15","--align-center":"_--align-center_1md53_24"},ka=e=>{const{children:t,align:n,onClose:o,hideCloseButton:r,variant:s,closeAriaLabel:a,className:l,attributes:u}=e,m=A(Wt.root,l,s&&Wt[`--variant-${s}`],n&&Wt[`--align-${n}`],r&&Wt["--hide-close"]),d=s==="media"?"div":$e.Aligner;return i.jsxs("div",z(p({},u),{className:m,children:[t,!r&&i.jsx(d,{className:Wt.close,children:i.jsx($e,z(p({size:"small"},s==="media"?{color:"media",variant:"faded"}:{variant:"ghost"}),{onClick:o,attributes:{"aria-label":o?a:void 0},icon:pr}))})]}))},pn=e=>{const[t,n]=c.useState(e||!1),o=c.useCallback(()=>{n(!0)},[]),r=c.useCallback(()=>{n(!1)},[]),s=c.useCallback(()=>{n(a=>!a)},[]);return{active:t,activate:o,deactivate:r,toggle:s}},Rt={root:"_root_1dzzo_1","--highlighted":"_--highlighted_1dzzo_2",triggerLayer:"_triggerLayer_1dzzo_2",trigger:"_trigger_1dzzo_2"},$a=e=>{const{children:t}=e;return i.jsx("span",{className:Rt.trigger,children:t})},Dr=e=>{const{name:t,children:n,className:o,attributes:r,inputAttributes:s,onChange:a}=e,l=pn(),u=A(Rt.root,l.active&&Rt["--highlighted"],o),m=v=>{var b;v.preventDefault(),(b=r==null?void 0:r.onDragOver)==null||b.call(r,v)},d=v=>{var b;l.activate(),(b=r==null?void 0:r.onDragEnter)==null||b.call(r,v)},f=v=>{var b;v.currentTarget.contains(v.relatedTarget)||(l.deactivate(),(b=r==null?void 0:r.onDragLeave)==null||b.call(r,v))},_=v=>{var b;v.preventDefault(),l.deactivate(),a==null||a({name:t,value:Array.from(v.dataTransfer.files),event:v}),(b=r==null?void 0:r.onDrop)==null||b.call(r,v)},g=v=>{var y;const b=v.target.files;b&&(a==null||a({name:t,event:v,value:Array.from(b)}),(y=s==null?void 0:s.onChange)==null||y.call(s,v))};return i.jsx("div",z(p({},r),{className:u,onDragOver:m,onDragEnter:d,onDragLeave:f,onDrop:_,children:i.jsxs(q,{as:"label",className:Rt.triggerLayer,padding:6,borderRadius:"medium",gap:2,align:"center",textAlign:"center",animated:!0,children:[i.jsx(q.Item,{children:n}),i.jsx(lo,{children:i.jsx("input",z(p({},s),{type:"file",className:Rt.field,name:t,onChange:g}))})]})}))};Dr.Trigger=$a;const Na=Dr,Ar={root:"_root_1mjhr_1","--active":"_--active_1mjhr_15"},za=e=>{const{children:t,active:n,className:o,attributes:r}=e,s=A(Ar.root,n&&Ar["--active"],o);return i.jsx(se,{as:"kbd",variant:"caption-1",weight:"medium",color:"neutral-faded",className:s,attributes:r,children:t})},xn={root:"_root_qqeu9_1",fallback:"_fallback_qqeu9_6","--display-mode-cover":"_--display-mode-cover_qqeu9_15","--display-mode-contain":"_--display-mode-contain_qqeu9_19"},Ea=e=>{const{src:t,alt:n,width:o,height:r,onLoad:s,onError:a,fallback:l,displayMode:u="cover",borderRadius:m,className:d,attributes:f,imageAttributes:_}=e,[g,v]=c.useState("loading"),b=An(m),y=Pn(o),w=xt(r),x=A(xn.root,b==null?void 0:b.classNames,y==null?void 0:y.classNames,w==null?void 0:w.classNames,u&&xn[`--display-mode-${u}`],d),j=A(xn.image,x),C=A(xn.fallback,x),N=p(p({},y==null?void 0:y.variables),w==null?void 0:w.variables),I=$=>{v("success"),s==null||s($)},k=$=>{v("error"),a==null||a($)};return c.useEffect(()=>{v("loading")},[t]),(g==="error"||!t)&&l?typeof l=="string"?i.jsx("img",z(p({},f),{src:l,alt:n,role:n?void 0:"presentation",className:C,style:N})):i.jsx("div",z(p({},f),{className:C,style:N,children:l})):i.jsx("img",z(p(p({},f),_),{src:t,alt:n,role:n?void 0:"presentation",onLoad:I,onError:k,className:j,style:N}))},zt={m:660,l:900,xl:1280},Pr={s:`(max-width: ${zt.m-1}px)`,m:`(min-width: ${zt.m}px) and (max-width: ${zt.l-1}px)`,l:`(min-width: ${zt.l}px) and (max-width: ${zt.xl-1}px)`,xl:`(min-width: ${zt.xl}px)`},Fr=e=>{const{defaultViewport:t}=c.useContext(Un),[n,o]=c.useState(t);return fe(()=>{const s=Object.keys(Pr).map(a=>{const l=window.matchMedia(Pr[a]);return{mq:l,handler:()=>l.matches&&o(a)}});return s.forEach(({handler:a,mq:l})=>{a(),l.addEventListener("change",a)}),()=>{s.forEach(({handler:a,mq:l})=>{l.removeEventListener("change",a)})}},[]),typeof e!="object"||e===null||!("s"in e)?e:n==="xl"?e.xl||e.l||e.m||e.s:n==="l"?e.l||e.m||e.s:n==="m"&&e.m||e.s},Ta=(()=>{let e;return()=>{if(e)return e;const t=document.createElement("div");return t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),e=t.getBoundingClientRect().width-t.clientWidth,document.body.removeChild(t),e}})(),Lr=()=>{const[e,t]=c.useState(!1),n=c.useRef(),o=c.useRef(!1),r=c.useCallback(()=>{const{body:a}=document,l=a.getBoundingClientRect();if(o.current=l.left+l.right<window.innerWidth,n.current=a.style.overflow,a.style.overflow="hidden",o.current){const u=Ta();document.body.style.paddingRight=`${u}px`}t(!0)},[t,o,n]),s=c.useCallback(()=>{document.body.style.overflow=n.current||"",o.current&&(document.body.style.paddingRight=""),t(!1)},[t,o,n]);return{scrollLocked:e,lockScroll:r,unlockScroll:s}},ht={root:"_root_u5htj_1",wrapper:"_wrapper_u5htj_23",inner:"_inner_u5htj_29",content:"_content_u5htj_35","--visible":"_--visible_u5htj_43","--click-through":"_--click-through_u5htj_48","--animated":"_--animated_u5htj_61"},Vr=e=>{const{active:t,children:n,transparent:o,onClose:r,onOpen:s,className:a,attributes:l}=e,u=o===!0,m=u?0:(1-(o||0))*.7,[d,f]=c.useState(!1),[_,g]=c.useState(!1),v=c.useRef(null),b=c.useRef(!1),{lockScroll:y,unlockScroll:w}=Lr(),{active:x,activate:j,deactivate:C}=pn(t||!1),{active:N,activate:I,deactivate:k}=pn(t||!1),$=Jo(t,v),F=A(ht.root,N&&ht["--visible"],u&&ht["--click-through"],_&&ht["--animated"],a),S=V=>{if(!v.current)return;const G=v.current.firstChild;if(G)return G.contains(V)},M=c.useCallback(()=>{!N||!$()||r&&r()},[N,$]),P=V=>{b.current=!S(V.target)},O=V=>{const G=!S(V.target);b.current&&G&&!u&&M()},L=V=>{V.propertyName!=="transform"||!V.pseudoElement||(g(!1),!N&&(u||w(),C()))};return et({Escape:M},[M]),c.useEffect(()=>{g(!0),t&&!x&&j(),!t&&x&&k()},[t,j,k,x]),c.useEffect(()=>{x&&(u||y(),Fe(()=>{I()}))},[x,I,y,u]),c.useEffect(()=>{if(!x||!v.current)return;const V=new Vt(v.current);return V.trap({initialFocusEl:v.current.querySelector("[role=dialog][tabindex='-1']")}),s==null||s(),()=>V.release()},[x]),c.useEffect(()=>()=>{u||w()},[w,u]),fe(()=>{f(!0)},[]),!x||!d?null:i.jsx(Zn,{children:i.jsx(Zn.Scope,{children:V=>i.jsx("div",z(p({},l),{ref:V,style:{"--rs-overlay-opacity":m},role:"button",tabIndex:-1,className:F,onMouseDown:P,onMouseUp:O,onTransitionEnd:L,children:i.jsx("div",{className:ht.wrapper,children:i.jsx("div",{className:ht.inner,children:i.jsx("div",{className:ht.content,ref:v,children:typeof n=="function"?n({active:N}):n})})})}))})})},wn={root:"_root_jbaub_1","--dragging":"_--dragging_jbaub_15","--position-center":"_--position-center_jbaub_1","--active":"_--active_jbaub_39","--position-bottom":"_--position-bottom_jbaub_1","--position-start":"_--position-start_jbaub_1","--position-end":"_--position-end_jbaub_1","--position-full-screen":"_--position-full-screen_jbaub_1","--position-center--m":"_--position-center--m_jbaub_1","--position-bottom--m":"_--position-bottom--m_jbaub_1","--position-start--m":"_--position-start--m_jbaub_1","--position-end--m":"_--position-end--m_jbaub_1","--position-full-screen--m":"_--position-full-screen--m_jbaub_1","--position-center--l":"_--position-center--l_jbaub_1","--position-bottom--l":"_--position-bottom--l_jbaub_1","--position-start--l":"_--position-start--l_jbaub_1","--position-end--l":"_--position-end--l_jbaub_1","--position-full-screen--l":"_--position-full-screen--l_jbaub_1","--position-center--xl":"_--position-center--xl_jbaub_1","--position-bottom--xl":"_--position-bottom--xl_jbaub_1","--position-start--xl":"_--position-start--xl_jbaub_1","--position-end--xl":"_--position-end--xl_jbaub_1","--position-full-screen--xl":"_--position-full-screen--xl_jbaub_1"},_o=32,Ma=100,Sa=32,Or=c.createContext({id:"",titleMounted:!1,setTitleMounted:()=>{},subtitleMounted:!1,setSubtitleMounted:()=>{}}),qr=()=>c.useContext(Or),Ia=e=>{const{children:t}=e,{id:n,setTitleMounted:o}=qr();return c.useEffect(()=>(o(!0),()=>o(!1)),[o]),i.jsx(se,{variant:"featured-3",weight:"bold",attributes:{id:`${n}-title`},children:t})},Da=e=>{const{children:t}=e,{id:n,setSubtitleMounted:o}=qr();return c.useEffect(()=>(o(!0),()=>o(!1)),[o]),i.jsx(se,{variant:"body-3",color:"neutral-faded",attributes:{id:`${n}-subtitle`},children:t})},mo=e=>{const{children:t,onClose:n,onOpen:o,active:r,size:s,padding:a=4,position:l="center",transparentOverlay:u,ariaLabel:m,autoFocus:d=!0,overlayClassName:f,className:_,attributes:g}=e,v=qe(),b=Fr(l),[y,w]=c.useState(!1),[x,j]=c.useState(!1),[C,N]=c.useState(!1),I=c.useRef(null),k=c.useRef({x:0,y:0}),$=c.useRef(0),F=c.useRef(0),S=c.useRef(0),[M,P]=c.useState(0),[O,L]=c.useState(0),V=to(a),G=c.useMemo(()=>({titleMounted:y,setTitleMounted:w,subtitleMounted:x,setSubtitleMounted:j,id:v}),[v,x,y]),_e=()=>{k.current={x:0,y:0},$.current=0,S.current=0,P(0)},ne=oe=>{let Z=oe.target;const ee=I.current;for(;Z&&(Z===ee||ee!=null&&ee.contains(Z));){if(Z.scrollTop!==0||Z.scrollLeft!==0||Z.matches("input,textarea"))return;Z=Z?Z.parentElement:null}b==="start"&&oe.targetTouches[0].clientX<Sa||(Gn(),N(!0))},Ae=oe=>{r||oe.propertyName==="transform"&&oe.currentTarget===oe.target&&_e()};return c.useEffect(()=>{if(!C)return;const oe=()=>{Kn(),N(!1);const ee=b==="start"?S.current<0:S.current>0;Math.abs(F.current)>_o&&ee?n==null||n():_e()},Z=ee=>{if(!C||b==="center")return;const te=ee.targetTouches[0],xe={x:te.clientX,y:te.clientY},K=b==="bottom"?"y":"x",Y=b==="bottom"?"x":"y";k.current[K]||(k.current=xe,$.current=xe[K]);const H=Math.abs(xe[K]-k.current[K]),W=Math.abs(xe[Y]-k.current[Y]);if(l!=="bottom"&&(H<W||W>Ma)){$.current=xe[K];return}S.current=xe[K]-$.current,$.current=xe[K],P(ie=>b==="start"?Math.min(0,ie+S.current):Math.max(0,ie+S.current))};return document.addEventListener("touchmove",Z),document.addEventListener("touchend",oe),()=>{document.removeEventListener("touchmove",Z),document.removeEventListener("touchend",oe)}},[C,b]),c.useEffect(()=>{const oe=I.current;if(!oe||!b)return;const ee=["start","end"].includes(b)?oe.clientWidth:oe.clientHeight,te=Math.abs(M)/ee;L(te/2),F.current=M},[M,b]),i.jsx(Vr,{onClose:n,onOpen:o,active:r,transparent:u||O,className:f,attributes:{onTouchStart:ne},children:({active:oe})=>{const Z=A(wn.root,_,V==null?void 0:V.classNames,oe&&wn["--active"],C&&wn["--dragging"],J(wn,"--position",l));return i.jsx(Or.Provider,{value:G,children:i.jsx("div",z(p({},g),{style:z(p(p({},V==null?void 0:V.variables),ue("--rs-modal-size",s)),{"--rs-modal-drag":Math.abs(M)<_o?"0px":`${M+_o*(b==="start"?1:-1)}px`}),"aria-labelledby":y?`${v}-title`:void 0,"aria-describedby":x?`${v}-subtitle`:void 0,"aria-label":m||(g==null?void 0:g["aria-label"]),className:Z,"aria-modal":"true",role:"dialog",tabIndex:d?void 0:-1,ref:I,onTransitionEnd:Ae,children:t}))})}})};mo.Title=Ia,mo.Subtitle=Da;const Aa=mo,Br={page:"_page_j10le_1"},Hr=e=>{const{total:t,page:n=1,onChange:o,pageAriaLabel:r,previousAriaLabel:s,nextAriaLabel:a,className:l,attributes:u}=e,m=1,d=1,f=[],_=n-m>d+2,g=n+m<t-d;let v=m*2+1;_||(v+=d+1),g||(v+=d+1);const b=_?Math.min(t-v+1,Math.max(1,n-m)):1,y=g?Math.min(b+v-1,t):t;_&&f.push(...Mn(1,d),null),f.push(...Mn(b,y)),g&&f.push(null,...Mn(t-d+1,t));const w=x=>{const j=Math.min(t,Math.max(1,x));o==null||o({page:j})};return i.jsxs(q,{direction:"row",align:"center",gap:1,className:l,attributes:u,children:[i.jsx($e,{variant:"ghost",size:"small",icon:vn,onClick:()=>w(n-1),disabled:n===1,attributes:{"aria-label":s}}),f.map((x,j)=>x===null?i.jsx(q,{width:7,align:"center",children:"..."},`dots-${j}`):i.jsx($e,{size:"small",variant:x===n?"solid":"ghost",color:x===n?"primary":"neutral",onClick:()=>w(x),attributes:{"aria-label":r==null?void 0:r({page:x}),"aria-current":x===n},className:Br.page,children:x},j)),i.jsx($e,{variant:"ghost",size:"small",className:Br.page,icon:kt,onClick:()=>w(n+1),disabled:n===t,attributes:{"aria-label":a}})]})},Pa=e=>{const l=e,{defaultPage:t=1,onChange:n}=l,o=Se(l,["defaultPage","onChange"]),[r,s]=c.useState(t||1),a=u=>{s(u.page),n==null||n(u)};return i.jsx(Hr,z(p({},o),{onChange:a,page:r}))},Fa=e=>{const{page:t}=e;return t!==void 0?i.jsx(Hr,p({},e)):i.jsx(Pa,p({},e))},Wr="\\d",Rr="[a-zA-Z]",La=`(${Wr}|${Rr})`,yn={root:"_root_yfexp_1",input:"_input_yfexp_9",item:"_item_yfexp_24","item--focused":"_item--focused_yfexp_28","rs-pin-field-caret":"_rs-pin-field-caret_yfexp_1"},Va={medium:9,large:12,xlarge:14},Oa={numeric:Wr,alphabetic:Rr,alphanumeric:La},Ur=e=>{const{valueLength:t=4,value:n,onChange:o,name:r,pattern:s="numeric",size:a="medium",variant:l="outline",className:u,attributes:m,inputAttributes:d}=e,f=Oa[s],_=Te(a,M=>Va[M]),g=Te(a,M=>M==="medium"?"body-3":"body-2"),v=Te(a,M=>M==="xlarge"?"medium":"small"),[b,y]=c.useState(null),w=Qe(),x=c.useRef(n.length===t?"edit":"type"),j=c.useRef(null),C=[],N=c.useCallback(M=>{var G;const P=j.current;if(!P||P.selectionStart===null)return;const O=x.current,L=(G=M!=null?M:P.selectionStart)!=null?G:0,V=Math.min(O==="type"?P.value.length:P.value.length-1,Math.max(0,L));x.current==="type"?(P.selectionStart=V,P.selectionEnd=V):(P.selectionStart=V,P.selectionEnd=V+1),y(Math.min(P.selectionStart,t-1))},[t]);et({[`${en},${Jt}`]:()=>{Fe(()=>{const M=j.current;if(!M||M.selectionStart===null)return;const P=x.current,O=n.length?"edit":"type";x.current=O,N(P==="type"&&O==="edit"?M.selectionStart:M.selectionStart-1)})},[`${Qt},${Zt}`]:()=>{Fe(()=>{const M=j.current;if(!M||M.selectionStart===null)return;const P=M.selectionStart===n.length&&M.selectionStart!==t?"type":"edit";x.current=P,N(M.selectionStart)})}},[n,N,t],{ref:j});const I=()=>{N(n.length)},k=()=>{y(null)},$=M=>{if(b===null||!j.current)return;const P=M.clipboardData.getData("text"),O=n.slice(0,b)+n.slice(b+P.length);j.current.value=O,j.current.selectionEnd=b,j.current.selectionStart=j.current.selectionStart},F=M=>{const P=M.target,O=P.value,L=new RegExp(`^${f}+$`);if(O&&!O.match(L)||P.selectionStart===null)return;const V=O.length===t||O.length>P.selectionStart?"edit":"type";x.current=V,o==null||o({event:M,name:r,value:O}),Fe(()=>{N()})},S=(M,P)=>{j.current&&(M.preventDefault(),j.current.focus(),x.current=P>=n.length?"type":"edit",N(P))};for(let M=0;M<t;M++)C.push(i.jsx(q,{height:_,width:_,borderRadius:v,borderColor:l==="faded"?"transparent":"neutral",backgroundColor:l==="faded"?"neutral-faded":"elevation-base",align:"center",justify:"center",className:[yn.item,b===M&&yn["item--focused"]],attributes:{onMouseDown:P=>{S(P,M)},onTouchStart:P=>{S(P,M)}},children:n[M]&&i.jsx(se,{variant:g,children:n[M]})},M));return i.jsxs(q,{gap:2,direction:"row",className:[yn.root,u],attributes:m,children:[C,i.jsx("input",z(p(p({},d),w.attributes),{type:"text",className:yn.input,onFocus:I,onBlur:k,onPaste:$,onInput:F,value:n,name:r,maxLength:t,ref:j,autoComplete:(d==null?void 0:d.autoComplete)||"one-time-code",inputMode:s==="numeric"?"numeric":void 0,pattern:`${f}{${t}}`}))]})},qa=e=>{const l=e,{defaultValue:t,onChange:n}=l,o=Se(l,["defaultValue","onChange"]),[r,s]=c.useState(t||""),a=u=>{s(u.value),n==null||n(u)};return i.jsx(Ur,z(p({},o),{value:r,onChange:a}))},Ba=e=>{const{value:t}=e;return t!==void 0?i.jsx(Ur,p({},e)):i.jsx(qa,p({},e))},Ut={root:"_root_1n3rz_1",value:"_value_1n3rz_9","--duration":"_--duration_1n3rz_23","--size-small":"_--size-small_1n3rz_27","--size-medium":"_--size-medium_1n3rz_31","--color-primary":"_--color-primary_1n3rz_35","--color-critical":"_--color-critical_1n3rz_39","--color-warning":"_--color-warning_1n3rz_43","--color-positive":"_--color-positive_1n3rz_47","--color-media":"_--color-media_1n3rz_51"},Ha=e=>{const{value:t=0,min:n=0,max:o=100,color:r="primary",size:s="medium",duration:a,className:l,attributes:u}=e,m=A(Ut.root,l,r&&Ut[`--color-${r}`],s&&Ut[`--size-${s}`],!!a&&Ut["--duration"]),d=o-n,f=t-n,v=`${Math.max(n,Math.min(o,f))/d*100-100}%`;return i.jsx("div",z(p({role:"progressbar"},u),{className:m,"aria-valuemax":o,"aria-valuemin":n,"aria-valuenow":t,children:i.jsx("div",{className:Ut.value,style:{"--rs-progress-value":v,"--rs-progress-duration":a?`${a}ms`:void 0}})}))},Yr=c.createContext(null),Wa=()=>c.useContext(Yr),Gr=e=>{const{onChange:t,name:n,disabled:o,value:r,children:s,hasError:a}=e,l=({event:u,value:m})=>{m&&t&&t({name:n,value:m,event:u})};return i.jsx(Yr.Provider,{value:{onChange:l,disabled:o,value:r,name:n,hasError:a},children:s})},Ra=e=>{const{defaultValue:t,onChange:n}=e,[o,r]=c.useState(t||null),s=a=>{a.value&&(r(a.value),n&&n(a))};return i.jsx(Gr,z(p({},e),{value:o,defaultValue:void 0,onChange:s}))},Ua=e=>{const{value:t}=e;return t!==void 0?i.jsx(Gr,p({},e)):i.jsx(Ra,p({},e))},bt={root:"_root_28g56_1",input:"_input_28g56_10",decorator:"_decorator_28g56_10",field:"_field_28g56_14","--error":"_--error_28g56_50",text:"_text_28g56_62","--disabled":"_--disabled_28g56_73"},Ya=e=>{const{children:t,value:n,onChange:o,onFocus:r,onBlur:s,className:a,attributes:l,inputAttributes:u}=e,m=Qe(),d=Wa(),f=(m==null?void 0:m.hasError)||e.hasError||(d==null?void 0:d.hasError),_=(m==null?void 0:m.disabled)||e.disabled||(d==null?void 0:d.disabled),g=d?d.value===n:e.checked,v=d?void 0:e.defaultChecked,b=d?d.name:e.name,y=A(bt.root,a,f&&bt["--error"],_&&bt["--disabled"]),w=x=>{if(!b)return;const{checked:j}=x.target,C={name:b,value:n,checked:j,event:x};o&&o(C),d!=null&&d.onChange&&d.onChange(C)};return i.jsxs("label",z(p({},l),{className:y,children:[i.jsxs("span",{className:bt.field,children:[i.jsx(uo,{className:bt.input,type:"radio",checked:g,defaultChecked:v,name:b,disabled:_,value:n,onChange:w,onFocus:r,onBlur:s,attributes:u}),i.jsx("div",{className:bt.decorator})]}),t&&i.jsx("span",{className:bt.text,children:t})]}))},Kr={short:4e3,long:8e3},Yt=["top-start","top","top-end","bottom-start","bottom","bottom-end"],Xr={queues:Yt.reduce((e,t)=>p({[t]:[]},e),{}),id:"",show:()=>{},hide:()=>{},remove:()=>{},add:()=>""},Cn=c.createContext(Xr),Jr=()=>{const{add:e,hide:t,id:n}=c.useContext(Cn);return c.useMemo(()=>({show:e,hide:t,id:n}),[e,t,n])},Re={container:"_container_1kfpq_1","container--visible":"_container--visible_1kfpq_1",wrapper:"_wrapper_1kfpq_12","container--index-0":"_container--index-0_1kfpq_1","container--index-1":"_container--index-1_1kfpq_1","container--index-2":"_container--index-2_1kfpq_109","container--index-overflow":"_container--index-overflow_1kfpq_113",region:"_region_1kfpq_65","region--nested":"_region--nested_1kfpq_1","region--position-top":"_region--position-top_1kfpq_1","region--position-top-start":"_region--position-top-start_1kfpq_1","region--position-top-end":"_region--position-top-end_1kfpq_1","region--position-bottom":"_region--position-bottom_1kfpq_1","region--position-bottom-start":"_region--position-bottom-start_1kfpq_1","region--position-bottom-end":"_region--position-bottom-end_1kfpq_1"},Ga=e=>{const{size:t="small",text:n,children:o,color:r="inverted",icon:s,title:a,actionsSlot:l,startSlot:u,collapsed:m,className:d,attributes:f}=e;let _=r==="inverted"||r==="neutral"?"elevation-overlay":r;r==="neutral"&&(_=m?"neutral":"elevation-overlay");const g=r==="neutral"?"neutral-faded":"transparent",v=t==="small"?"span":"div",b=t==="large";let y=[];l&&(y=Array.isArray(l)?l:[l]);const w=(a||n)&&i.jsxs(i.Fragment,{children:[a&&i.jsxs(se,{variant:"body-3",weight:"bold",as:v,children:[a," "]}),i.jsx(se,{variant:"body-3",as:v,children:n})]}),x=i.jsxs(q,{backgroundColor:_,borderColor:g,padding:4,borderRadius:"medium",animated:!0,direction:"row",gap:3,align:b?"start":"center",className:[Re.toast,d],attributes:f,children:[s&&i.jsx(be,{size:5,svg:s,className:Re.icon}),u&&!s&&i.jsx(q.Item,{children:u}),i.jsx(q.Item,{grow:!0,children:i.jsxs(q,{direction:b?"column":"row",align:b?"start":"center",gap:3,children:[i.jsx(q.Item,{grow:!0,children:w&&o||t!=="small"?i.jsxs(q,{gap:.5,children:[w,o&&i.jsx(q,{gap:3,children:o})]}):w||o}),y.length&&i.jsx(q,{direction:"row",align:"center",gap:2,children:y.map((j,C)=>{const N=t==="large"?C===0:C===y.length-1,k={variant:N?"solid":"ghost",size:"small",color:N?r==="neutral"||r==="inverted"?"neutral":"media":"inherit",elevated:r!=="neutral"};return j.type===$e?c.createElement($e,z(p(p({},k),j.props),{key:C})):j})})]})})]});return r==="inverted"?i.jsx(yt,{colorMode:"inverted",children:x}):x},Ka=e=>{const{toastProps:t,id:n,status:o,inspected:r,index:s}=e,{timeout:a="short"}=t,{show:l,hide:u,remove:m}=c.useContext(Cn),[d,f]=c.useState(),_=c.useRef(),g=c.useRef(!1),v=c.useRef(null),b=o==="entered",y=A(Re.container,b&&Re["container--visible"],s===0&&Re[`container--index-${s}`],!r&&(s===1||s===2)&&Re[`container--index-${s}`],!r&&s>=3&&Re["container--index-overflow"]),w=c.useCallback(()=>{_.current&&clearTimeout(_.current)},[]),x=c.useCallback(()=>{w();const C=typeof a=="string"?Kr[a]:a;a!==0&&(_.current=setTimeout(()=>{u(n)},C!=null?C:Kr.short))},[u,n,a,w]),j=C=>{C.propertyName==="height"&&(b||m(n))};return c.useEffect(()=>{b&&(r?w():x())},[r,x,w,b]),c.useEffect(()=>{v.current&&f(v.current.clientHeight),l(n),x()},[l,n,x]),c.useEffect(()=>{if(!v.current)return;const C=new Vt(v.current);b?C.trap({includeTrigger:!0,mode:"content-menu"}):Ko()&&C.release()},[b]),c.useEffect(()=>{if(!b||s>0)return;const C=()=>{g.current=!0,Fe(()=>{g.current=!1}),v.current&&f(v.current.clientHeight)};return window.addEventListener("resize",C),()=>window.removeEventListener("resize",C)},[b,s]),i.jsx("li",{className:y,style:{height:o==="entered"?`calc(${d}px + var(--rs-unit-x2) + 2px)`:0,transitionDuration:g.current?"0s":void 0},onTransitionEnd:j,onFocus:w,onBlur:x,children:i.jsx("span",{className:Re.wrapper,children:i.jsx(Ga,z(p({},t),{collapsed:s>0&&!r,attributes:z(p({},t.attributes),{ref:v})}))})})},Xa=e=>{const{position:t,nested:n}=e,{queues:o,options:r}=c.useContext(Cn),[s,a]=c.useState(!1),l=c.useRef(!1),u=c.useRef(null),m=o[t],{width:d,expanded:f}=(r==null?void 0:r[t])||{},_=A(Re.region,Re[`region--position-${t}`],n&&Re["region--nested"]),g=m.filter(j=>j.status==="entered").length;let v=0;const b=()=>{l.current=!0},y=j=>{let C=j.target,N=!1;for(;C&&C!==u.current&&!N;)N=C.matches(Yo),C=C.parentElement;N||a(I=>!I),l.current=!1},w=()=>{l.current||a(!0)},x=()=>{l.current||a(!1)};return c.useEffect(()=>{m.length===0&&a(!1)},[m.length]),m.length?i.jsx("ul",{role:"region","aria-live":"polite",className:_,ref:u,onTouchStart:b,onClick:y,onMouseEnter:w,onMouseLeave:x,style:{width:d},children:m.map((j,C)=>{const N=g-C+v-1;return j.status!=="entered"&&(v+=1),i.jsx(Ka,z(p({},j),{index:N,inspected:s||!!f}),j.id)})}):null};let Ja=0;const Za=()=>`__rs-toast-${Ja++}`,Qa=(e,t)=>{let n;switch(t.type){case"add":const o=t.payload.toastProps||{},{position:r="bottom-end"}=o,s=Se(o,["position"]);return z(p({},e),{[r]:[...e[r],{id:t.payload.id,toastProps:s,status:"entering"}]});case"show":const{id:a}=t.payload;return n=p({},e),Yt.forEach(m=>{n[m]=n[m].map(d=>d.status!=="entering"?d:d.id===a?z(p({},d),{status:"entered"}):d)}),n;case"hide":const{id:l}=t.payload;return n=p({},e),Yt.forEach(m=>{n[m]=n[m].map(d=>d.id===l?z(p({},d),{status:"exiting"}):d)}),n;case"remove":const{id:u}=t.payload;return n=p({},e),Yt.forEach(m=>{n[m]=n[m].filter(d=>d.id!==u)}),n}},Zr=e=>{const{children:t,options:n}=e,o=Jr(),r=c.useId(),[s,a]=c.useReducer(Qa,Xr.queues),l=c.useCallback(_=>{const g=Za();return a({type:"add",payload:{toastProps:_,id:g}}),g},[]),u=c.useCallback(_=>{a({type:"show",payload:{id:_}})},[]),m=c.useCallback(_=>{a({type:"hide",payload:{id:_}})},[]),d=c.useCallback(_=>{a({type:"remove",payload:{id:_}})},[]),f=c.useMemo(()=>({queues:s,id:r,add:l,show:u,hide:m,remove:d,inspecting:!1,options:n}),[s,u,m,l,d,r,n]);return i.jsxs(Cn.Provider,{value:f,children:[t,Yt.map(_=>i.jsx(Xa,{position:_,nested:!!o.id},_))]})},el=()=>{c.useEffect(()=>{const e=n=>{n.metaKey||n.altKey||n.ctrlKey||_i()},t=()=>{mi()};return window.addEventListener("keydown",e),window.addEventListener("mousedown",t),()=>{window.removeEventListener("keydown",e),window.removeEventListener("mousedown",t)}},[])},tl={root:"_root_18j53_1"},nl=e=>{const{children:t,defaultRTL:n,defaultViewport:o="s",toastOptions:r}=e,s=wi(n);return el(),i.jsx(Un.Provider,{value:{rtl:s,defaultViewport:o},children:i.jsx(vi,{children:i.jsx(Zr,{options:r,children:t})})})},ol=e=>{const{theme:t,defaultTheme:n="reshaped",defaultColorMode:o,className:r}=e,s=A(tl.root,r);return i.jsx(Ai,{defaultMode:o,children:i.jsx(yt,{name:t,defaultName:n,className:s,children:i.jsx(nl,z(p({},e),{children:e.children}))})})},Gt={root:"_root_f2om1_1",scrim:"_scrim_f2om1_2",content:"_content_f2om1_31","--position-cover":"_--position-cover_f2om1_37","--position-top":"_--position-top_f2om1_56","--position-bottom":"_--position-bottom_f2om1_57","--position-start":"_--position-start_f2om1_61","--position-end":"_--position-end_f2om1_62","--with-background":"_--with-background_f2om1_100"},rl=e=>{const{children:t,backgroundSlot:n,position:o="cover",attributes:r,className:s,scrimClassName:a}=e,l=A(Gt.root,!!n&&Gt["--with-background"],o&&Gt[`--position-${o}`],s),u=A(Gt.scrim,a);return i.jsxs("div",z(p({},r),{className:l,children:[n,i.jsx("div",{className:u,children:i.jsx("div",{className:Gt.content,children:t})})]}))},ut={root:"_root_1lqm1_1",scrollable:"_scrollable_1lqm1_9",scrollbar:"_scrollbar_1lqm1_26",thumb:"_thumb_1lqm1_32","--scrollbar-y":"_--scrollbar-y_1lqm1_48","--scrollbar-x":"_--scrollbar-x_1lqm1_60","--display-visible":"_--display-visible_1lqm1_80","--display-hover":"_--display-hover_1lqm1_84","--scrollbar-dragging":"_--scrollbar-dragging_1lqm1_88"},Qr=e=>{const{ratio:t,position:n,vertical:o,onThumbMove:r}=e,[s,a]=c.useState(!1),l=c.useRef(0),u=c.useRef(null),m=A(ut.scrollbar,o?ut["--scrollbar-y"]:ut["--scrollbar-x"],s&&ut["--scrollbar-dragging"]),d=v=>{const b=u.current,y=l.current;if(l.current=0,y||!b||v.currentTarget!==b)return;const w=b.getBoundingClientRect(),x=o?v.pageY-w.top:v.pageX-w.left,j=o?b.clientHeight:b.clientWidth;r({value:x/j-t/2,type:"absolute"})},f=c.useCallback(v=>{l.current||(l.current=o?v.pageY:v.pageX);const b=u.current;if(!b||!s)return;const y=o?v.movementY:v.movementX,w=o?b.scrollHeight:b.scrollWidth;r({value:y/w,type:"relative"})},[t,o,s]),_=c.useCallback(()=>{a(!1),Kn()},[]),g=()=>{a(!0),Gn()};return c.useEffect(()=>{if(s)return document.addEventListener("mousemove",f),document.addEventListener("mouseup",_),()=>{document.removeEventListener("mousemove",f),document.removeEventListener("mouseup",_)}},[f,_,s]),i.jsx("div",{className:m,style:{"--rs-scroll-area-ratio":t,"--rs-scroll-area-position":n},ref:u,onClick:d,onMouseDown:g,"aria-hidden":"true",children:i.jsx("div",{className:ut.thumb})})},sl=c.forwardRef((e,t)=>{const{children:n,height:o,maxHeight:r,scrollbarDisplay:s="hover",onScroll:a,className:l,attributes:u}=e,[m,d]=c.useState({x:1,y:1}),[f,_]=c.useState({x:0,y:0}),g=c.useRef(null),v=c.useRef(),b=xt(o),y=Do(r),w=A(ut.root,s&&ut[`--display-${s}`],b==null?void 0:b.classNames,y==null?void 0:y.classNames,l),x=p(p({},b==null?void 0:b.variables),y==null?void 0:y.variables),j=c.useCallback(()=>{const k=g.current;k&&d({x:k.clientWidth/k.scrollWidth,y:k.clientHeight/k.scrollHeight})},[]),C=k=>{const $=g.current;if(!$)return;const F={x:k.currentTarget.scrollLeft/$.scrollWidth,y:k.currentTarget.scrollTop/$.scrollHeight};_(F),a==null||a(F)},N=k=>{const $=g.current;if(!$)return;const F=$.scrollHeight*k.value;k.type==="absolute"?$.scrollTop=F:$.scrollTop+=F},I=k=>{const $=g.current;if(!$)return;const F=$.clientWidth*k.value;k.type==="absolute"?$.scrollLeft=F:$.scrollLeft+=F};return c.useImperativeHandle(t,()=>g.current),fe(()=>{j()},[j]),fe(()=>{const k=g.current;if(k)return v.current=new ResizeObserver(j),v.current.observe(k),()=>{var $;($=v.current)==null||$.disconnect()}},[j]),i.jsxs("div",z(p({},u),{className:w,style:x,children:[i.jsx("div",{className:ut.scrollable,ref:g,onScroll:C,children:n}),m.y<1&&s!=="hidden"&&i.jsx(Qr,{vertical:!0,onThumbMove:N,ratio:m.y,position:f.y}),m.x<1&&s!=="hidden"&&i.jsx(Qr,{onThumbMove:I,ratio:m.x,position:f.x})]}))}),il=()=>i.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[i.jsx("path",{d:"M7 16L12 21L17 16",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M17 8L12 3L7 8",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),Ke={root:"_root_19ko1_1",input:"_input_19ko1_18",slot:"_slot_19ko1_45",arrow:"_arrow_19ko1_60","--size-medium":"_--size-medium_19ko1_1","--size-large":"_--size-large_19ko1_1","--size-xlarge":"_--size-xlarge_19ko1_1","--variant-faded":"_--variant-faded_19ko1_115","--variant-headless":"_--variant-headless_19ko1_124","--status-error":"_--status-error_19ko1_129","--placeholder":"_--placeholder_19ko1_144","--disabled":"_--disabled_19ko1_148","--size-medium--m":"_--size-medium--m_19ko1_1","--size-large--m":"_--size-large--m_19ko1_1","--size-xlarge--m":"_--size-xlarge--m_19ko1_1","--size-medium--l":"_--size-medium--l_19ko1_1","--size-large--l":"_--size-large--l_19ko1_1","--size-xlarge--l":"_--size-xlarge--l_19ko1_1","--size-medium--xl":"_--size-medium--xl_19ko1_1","--size-large--xl":"_--size-large--xl_19ko1_1","--size-xlarge--xl":"_--size-xlarge--xl_19ko1_1"},al=e=>{var P,O;const{onChange:t,onClick:n,onFocus:o,onBlur:r,name:s,value:a,defaultValue:l,placeholder:u,options:m,children:d,icon:f,startSlot:_,size:g="medium",variant:v="outline",className:b,attributes:y}=e,[w,x]=c.useState(a===void 0?!l:!a),j=Qe(),C=qe(e.id),N=((P=j==null?void 0:j.attributes)==null?void 0:P.id)||((O=e.inputAttributes)==null?void 0:O.id)||C,I=(j==null?void 0:j.disabled)||e.disabled,k=(j==null?void 0:j.hasError)||e.hasError,$=p(p({},e.inputAttributes),j==null?void 0:j.attributes),F=A(Ke.root,b,g&&J(Ke,"--size",g),k&&Ke["--status-error"],I&&Ke["--disabled"],w&&m&&Ke["--placeholder"],v&&Ke[`--variant-${v}`]),S=L=>{const V=L.target.value;a===void 0&&x(!V),t&&t({name:s,value:V,event:L})};c.useEffect(()=>{a!==void 0&&x(!a)},[a]);const M=(_||f)&&i.jsx("div",{className:Ke.slot,children:f?i.jsx(be,{size:Te(g,L=>L==="large"?5:L==="xlarge"?6:4),svg:f}):_});return i.jsxs("div",z(p({},y),{className:F,children:[m?i.jsxs(i.Fragment,{children:[M,i.jsxs("select",z(p({},$),{onFocus:o||($==null?void 0:$.onFocus),onBlur:r||($==null?void 0:$.onBlur),className:Ke.input,disabled:I,name:s,value:a,defaultValue:l,onChange:S,id:N,children:[u&&i.jsx("option",{value:"",children:u}),m.map(L=>i.jsx("option",{value:L.value,disabled:L.disabled,children:L.label},L.value))]}))]}):i.jsxs(i.Fragment,{children:[i.jsxs(Pe,{className:Ke.input,disabled:I,onClick:n,attributes:z(p({},$),{onFocus:o||($==null?void 0:$.onFocus),onBlur:r||($==null?void 0:$.onBlur)}),children:[M,d||(u?i.jsx(se,{color:"neutral-faded",children:u}):null)]}),i.jsx("input",{type:"hidden",value:a,name:s})]}),i.jsx("div",{className:Ke.arrow,children:i.jsx(be,{svg:il,color:I?"disabled":"neutral-faded",size:Te(g,L=>L==="large"||L==="xlarge"?5:4)})})]}))},ll={root:"_root_xavah_1","rs-skeleton-pulse":"_rs-skeleton-pulse_xavah_1"},cl=e=>{const{borderRadius:t="small",width:n,height:o,className:r,attributes:s}=e,a=A(ll.root,r);return i.jsx(q,{backgroundColor:"disabled",width:n,height:o,borderRadius:t,className:a,attributes:s})},es=e=>{const t=e.toString().split(".")[1];return(t==null?void 0:t.length)||0},fo=(e,t)=>{const n=t%1!==0,o=Math.round(e/t)*t;if(n){const r=es(t);return Number(o.toFixed(r))}return o},rt={root:"_root_1tefw_1",thumb:"_thumb_1tefw_17","thumb--active":"_thumb--active_1tefw_17",input:"_input_1tefw_17",bar:"_bar_1tefw_22",selection:"_selection_1tefw_40",tooltip:"_tooltip_1tefw_46",thumbs:"_thumbs_1tefw_71","--disabled":"_--disabled_1tefw_138"},ul=(e,t)=>{const{name:n,value:o,disabled:r,active:s,position:a,max:l,min:u,step:m,onChange:d,onDragStart:f,renderValue:_,tooltipRef:g}=e,v=c.useId(),b=A(rt.thumb,s&&rt["thumb--active"]),y=es(m),w=_?_({value:o}):o.toFixed(y),x=j=>{d(+j.target.value)};return i.jsxs(i.Fragment,{children:[i.jsx("input",{className:rt.input,type:"range",name:n,value:o,onChange:x,disabled:r,max:l,min:u,step:m,"aria-labelledby":v}),i.jsx("div",{ref:t,className:b,onMouseDown:f,onTouchStart:f,style:{insetInlineStart:`${a}%`},id:v,"aria-hidden":"true",children:i.jsx(yt,{colorMode:"inverted",children:i.jsx(se,{variant:"caption-1",weight:"medium",className:rt.tooltip,attributes:{ref:g},children:w})})})]})},ts=c.forwardRef(ul),ns=16,os=e=>e instanceof MouseEvent?e.pageX||e.screenX:e.changedTouches[0].pageX,ho=e=>{var xe;const{name:t,range:n,max:o,min:r,step:s=1,onChange:a,onChangeCommit:l,renderValue:u,className:m,attributes:d}=e,f=n&&e.minValue!==void 0?fo(e.minValue,s):void 0,_=fo(n?e.maxValue:e.value,s),g=c.useRef(null),v=c.useRef(null),b=c.useRef(null),y=c.useRef(null),w=c.useRef(null),[x,j]=c.useState(null),[C]=lt(),N=Qe(),I=qe(),k=((xe=N==null?void 0:N.attributes)==null?void 0:xe.id)||I,$=`${k}-min`,F=`${k}-max`,S=(N==null?void 0:N.disabled)||e.disabled,M=A(rt.root,S&&rt["--disabled"],m),P=c.useCallback(K=>{if(!g.current)return;const Y=g.current.clientWidth,H=g.current.getBoundingClientRect().left+ns/2,W=K-H,ie=Y-ns;let ce=W/ie;C&&(ce=1-ce);let me=(o-r)*ce+r;return me=Math.max(r,Math.min(o,me)),fo(me,s)},[o,r,C,s]),O=K=>(K-r)/(o-r)*100,L=c.useCallback(K=>{var Le,Ve,Me;const Y=K===$?y:w,H=K===$?v:b;let W=0;const ie=(Le=g.current)==null?void 0:Le.getBoundingClientRect(),ce=(Ve=Y.current)==null?void 0:Ve.getBoundingClientRect(),me=(Me=H.current)==null?void 0:Me.getBoundingClientRect(),we=ie==null?void 0:ie.left,R=we&&we+(ie==null?void 0:ie.width),Je=me&&ce&&me.left-ce.width/2,ye=me&&ce&&me.left+ce.width/2;Je&&we&&Je<we-8&&(W=ce.width/2-8),ye&&R&&ye>R&&(W=-(ce.width/2-8));const je=Y.current;je&&je.style.setProperty("--rs-slider-tooltip-offset",`${W||0}px`)},[$]),V=c.useCallback((K,Y)=>{if(!n)return;const H=Y!=null&&Y.commit?l:a;H==null||H({minValue:K,maxValue:_,name:t})},[_,t,n]),G=c.useCallback((K,Y)=>{if(n){const W=Y!=null&&Y.commit?l:a;W==null||W({minValue:f,maxValue:K,name:t});return}const H=Y!=null&&Y.commit?l:a;H==null||H({value:K,name:t})},[f,t,n]),_e=({nativeEvent:K})=>{if(S)return;let Y,H;const W=os(K),ie=P(W);[{ref:v,id:$},{ref:b,id:F}].forEach(me=>{if(!me.ref.current)return;const we=me.ref.current,R=Math.abs(we.getBoundingClientRect().left-W);(Y===void 0||R<=Y)&&(Y=R,H=me.id)}),!(!H||ie===void 0)&&(H===$&&V(ie),H===F&&G(ie),Gn(),j(H))},ne=()=>{S||j($)},Ae=()=>{S||j(F)},oe=c.useCallback(()=>{x===$&&f!==void 0&&V(f,{commit:!0}),x===F&&G(_,{commit:!0}),Kn(),j(null)},[f,_,V,G,x,$,F]),Z=c.useCallback(K=>{if(!x)return;const Y=os(K),H=P(Y);if(H===void 0)return;let W=x;x===$&&H>_&&(W=F),x===F&&f&&H<f&&(W=$),W===$&&V(H),W===F&&G(H),x!==W&&j(W)},[x,f,_,P,G,V,F,$]);c.useEffect(()=>{L($),L(F)},[$,F,f,_,L]),c.useEffect(()=>(window.addEventListener("mouseup",oe),window.addEventListener("touchend",oe),window.addEventListener("mousemove",Z),window.addEventListener("touchmove",Z),()=>{window.removeEventListener("mouseup",oe),window.removeEventListener("touchend",oe),window.removeEventListener("mousemove",Z),window.removeEventListener("touchmove",Z)}),[oe,Z]);const ee=f&&O(f),te=O(_);return i.jsxs("div",z(p({},d),{className:M,onMouseDown:_e,onTouchStart:_e,children:[i.jsx("div",{className:rt.bar,ref:g,children:i.jsx("div",{className:rt.selection,style:{insetInlineStart:`${ee||0}%`,width:`${te-(ee||0)}%`}})}),i.jsxs("div",{className:rt.thumbs,children:[f!==void 0&&ee!==void 0&&i.jsx(ts,{id:$,active:$===x,name:t,disabled:S,onChange:V,value:f,onDragStart:ne,position:ee,max:o,min:r,ref:v,tooltipRef:y,renderValue:u,step:s}),i.jsx(ts,{id:F,active:F===x,name:t,disabled:S,onChange:G,value:_,onDragStart:Ae,position:te,max:o,min:r,ref:b,tooltipRef:w,renderValue:u,step:s})]})]}))},dl=e=>{const{min:t,max:n,onChange:o,range:r}=e,s="defaultMinValue"in e&&e.defaultMinValue!==void 0&&e.defaultMinValue||"defaultValue"in e&&e.defaultValue!==void 0&&e.defaultValue||t,a="defaultMaxValue"in e&&e.defaultMaxValue!==void 0&&e.defaultMaxValue||"defaultValue"in e&&e.defaultValue!==void 0&&e.defaultValue||(r?n:t),[l,u]=c.useState(s),[m,d]=c.useState(a),f=g=>{r||(d(g.value),o==null||o(g))},_=g=>{r&&(u(g.minValue),d(g.maxValue),o==null||o(g))};return r?i.jsx(ho,z(p({},e),{min:t,max:n,minValue:l,maxValue:m,defaultMinValue:void 0,defaultMaxValue:void 0,onChange:_})):i.jsx(ho,z(p({},e),{min:t,max:n,value:m,defaultValue:void 0,onChange:f}))},_l=e=>{const r=e,{min:t=0,max:n=100}=r,o=Se(r,["min","max"]);return"value"in e&&e.value!==void 0||"minValue"in e&&"maxValue"in e&&e.minValue!==void 0&&e.maxValue!==void 0?i.jsx(ho,z(p({},o),{min:t,max:n})):i.jsx(dl,z(p({},o),{min:t,max:n}))},ml={verticalDivider:"_verticalDivider_oa23g_1"},fl=e=>{const{title:t,subtitle:n,children:o,direction:r,className:s,attributes:a,labelDisplay:l,step:u,completed:m,active:d,last:f}=e,_=l&&Te(l,v=>v==="hidden"),g=i.jsx(q,{gap:3,grow:!0,children:i.jsxs(q.Item,{children:[i.jsx(se,{variant:"body-3",weight:"medium",children:t}),i.jsx(se,{variant:"caption-1",color:"neutral-faded",children:n})]})});return i.jsxs(q,{children:[i.jsxs(q,{attributes:a,className:s,direction:"row",gap:2,align:"center",position:"static",children:[i.jsxs(q.Item,{children:[i.jsx(q,{align:"center",justify:"center",backgroundColor:d||m?"primary":"neutral-faded",borderColor:d||m?void 0:"neutral-faded",borderRadius:"circular",as:"span",width:8,height:8,zIndex:5,children:i.jsx(se,{variant:"body-3",weight:d?"bold":"medium",children:m?i.jsx(be,{svg:Ir,size:4}):u})}),r==="column"&&!f&&i.jsx(tn,{vertical:!0,className:ml.verticalDivider})]}),l?i.jsx(pt,{hide:_,children:g}):g]}),r==="column"&&o&&i.jsx(Vo,{active:d,children:i.jsx(q,{paddingStart:10,paddingTop:2,children:o})})]})},hl=e=>null,rs=e=>{const{children:t,direction:n="row",activeId:o,labelDisplay:r,className:s,attributes:a}=e,l=n==="column",u=c.Children.count(t);return i.jsx(q,{attributes:a,direction:n,align:l?"stretch":"center",className:s,gap:3,wrap:!1,children:c.Children.map(t,(m,d)=>{const f=m.props.id||`${d}`;return i.jsxs(c.Fragment,{children:[i.jsx(fl,z(p({},m.props),{id:m.props.id||`${d}`,active:(o==null?void 0:o.toString())===f,step:d+1,last:d===u-1,direction:n,labelDisplay:r})),!l&&d<u-1&&i.jsx(q,{grow:!0,children:i.jsx(tn,{})})]},d)})})};rs.Item=hl;const bl=rs,Et={root:"_root_apclb_1",input:"_input_apclb_10",area:"_area_apclb_22",thumb:"_thumb_apclb_26","root--size-small":"_root--size-small_apclb_82","root--size-large":"_root--size-large_apclb_102","root--reversed":"_root--reversed_apclb_122"},gl=e=>{var x;const{children:t,name:n,checked:o,size:r,reversed:s,defaultChecked:a,onChange:l,onFocus:u,onBlur:m,className:d,attributes:f}=e,_=A(Et.root,r&&Et[`root--size-${r}`],s&&Et["root--reversed"],d),g=Qe(),v=qe((g==null?void 0:g.attributes.id)||e.id||((x=e.inputAttributes)==null?void 0:x.id)),b=p(p({},e.inputAttributes),g==null?void 0:g.attributes),y=(g==null?void 0:g.disabled)||e.disabled,w=j=>{l&&l({name:n,event:j,checked:j.target.checked})};return i.jsxs("label",z(p({},f),{className:_,children:[i.jsx("input",z(p({type:"checkbox"},b),{className:Et.input,name:n,checked:o,defaultChecked:a,disabled:y,onChange:w,onFocus:u||(b==null?void 0:b.onFocus),onBlur:m||(b==null?void 0:b.onBlur),id:v})),i.jsx("span",{className:Et.area,"aria-hidden":"true",children:i.jsx("span",{className:Et.thumb})}),t&&i.jsx(se,{variant:r==="small"?"caption-1":"body-3",weight:"medium",children:t})]}))},Xe={root:"_root_1e0kn_1",table:"_table_1e0kn_14",row:"_row_1e0kn_20",cell:"_cell_1e0kn_24","cell--align-start":"_cell--align-start_1e0kn_1","cell--align-center":"_cell--align-center_1e0kn_1","cell--align-end":"_cell--align-end_1e0kn_1","cell--valign-start":"_cell--valign-start_1e0kn_1","cell--valign-center":"_cell--valign-center_1e0kn_1","cell--valign-end":"_cell--valign-end_1e0kn_1","cell--width-auto":"_cell--width-auto_1e0kn_54","--row-highlighted":"_--row-highlighted_1e0kn_58","--border-outer":"_--border-outer_1e0kn_62","--border-column":"_--border-column_1e0kn_67"},ss=e=>{const{minWidth:t,rowSpan:n,colSpan:o,align:r,verticalAlign:s,tagName:a,padding:l,paddingInline:u,paddingBlock:m,children:d,attributes:f}=e,_=e.width==="auto"?"0px":e.width,g=Pn(_),v=Ao(t||_),b=A(Xe.cell,g==null?void 0:g.classNames,v==null?void 0:v.classNames,(_===0||_==="0px")&&Xe["cell--width-auto"],r&&Xe[`cell--align-${r}`],s&&Xe[`cell--valign-${s}`]),y=p(p(p(p({},g==null?void 0:g.variables),v==null?void 0:v.variables),ue("--rs-table-p-vertical",m!=null?m:l)),ue("--rs-table-p-horizontal",u!=null?u:l));return i.jsx(a,z(p({},f),{className:b,rowSpan:n,colSpan:o,style:y,children:d}))},vl=e=>i.jsx(ss,z(p({},e),{tagName:"td"})),pl=e=>i.jsx(ss,z(p({},e),{tagName:"th"})),xl=e=>{const{highlighted:t,children:n,attributes:o}=e,r=A(Xe.row,t&&Xe["--row-highlighted"]);return i.jsx("tr",z(p({},o),{className:r,children:n}))},bo=e=>i.jsx("tbody",{children:e.children}),is=e=>i.jsx("thead",{children:e.children}),Tt=e=>{const{children:t,border:n,columnBorder:o,className:r,attributes:s}=e,a=A(Xe.root,r,n&&Xe["--border-outer"],o&&Xe["--border-column"]),[l]=c.Children.toArray(t);return i.jsx("div",z(p({},s),{className:a,children:i.jsx("table",{className:Xe.table,children:c.isValidElement(l)&&(l.type===bo||l.type===is)?t:i.jsx(bo,{children:t})})}))};Tt.Cell=vl,Tt.Heading=pl,Tt.Row=xl,Tt.Body=bo,Tt.Head=is;const wl=Tt,as=c.createContext({}),yl=as.Provider,go=e=>{const o=c.useContext(as),{id:t}=o,n=Se(o,["id"]);return z(p({},n),{panelId:e!==void 0?`${t}-tabs-panel-${e}`:void 0,buttonId:e!==void 0?`${t}-tabs-button-${e}`:void 0})},ls=e=>{const{children:t,value:n,onChange:o,onSilentChange:r,itemWidth:s,variant:a,name:l,direction:u="row",size:m="medium"}=e,d=qe(),f=c.useRef(null),_=c.useRef(f.current),g=c.useRef(null),[v,b]=c.useState({scaleX:0,scaleY:0,left:0,top:0,status:"idle"}),y=w=>{w!==void 0&&r&&r({value:w,name:l})};return i.jsx(yl,{value:{value:n,name:l,size:m,direction:u,itemWidth:s,variant:a,onChange:o,id:d,setDefaultValue:y,elActiveRef:f,elPrevActiveRef:_,elScrollableRef:g,selection:v,setSelection:b},children:t})},Cl=e=>{const{defaultValue:t,onChange:n}=e,[o,r]=c.useState(t),s=({value:l})=>{r(l),n&&n({value:l})},a=({value:l})=>{r(l)};return i.jsx(ls,z(p({},e),{onChange:s,onSilentChange:a,value:o,defaultValue:void 0}))},de={root:"_root_5uht9_15",list:"_list_5uht9_26",inner:"_inner_5uht9_30",listItem:"_listItem_5uht9_49",button:"_button_5uht9_56",buttonContent:"_buttonContent_5uht9_72",icon:"_icon_5uht9_84",radio:"_radio_5uht9_89","--item-active":"_--item-active_5uht9_97",selector:"_selector_5uht9_102","--selector-hidden":"_--selector-hidden_5uht9_120","--selector-animated":"_--selector-animated_5uht9_124",next:"_next_5uht9_130",prev:"_prev_5uht9_131",panel:"_panel_5uht9_151","--panel-hidden":"_--panel-hidden_5uht9_159","--direction-row":"_--direction-row_5uht9_163","--direction-column":"_--direction-column_5uht9_231",item:"_item_5uht9_249","--variant-borderless":"_--variant-borderless_5uht9_284","--variant-pills":"_--variant-pills_5uht9_285","--variant-pills-elevated":"_--variant-pills-elevated_5uht9_286","--size-medium":"_--size-medium_5uht9_357","--size-large":"_--size-large_5uht9_362","--item-width-equal":"_--item-width-equal_5uht9_367","--fade-start":"_--fade-start_5uht9_386","--fade-end":"_--fade-end_5uht9_387"},jl=(e,t)=>{const{value:n,children:o,icon:r,href:s,attributes:a}=e,{onChange:l,panelId:u,name:m,size:d,value:f,selection:_,elActiveRef:g,elPrevActiveRef:v,elScrollableRef:b}=go(n),y=c.useRef(null),w=f===n,x=w&&_.status==="idle",j=A(de.item,x&&de["--item-active"]),C=!!m,N={role:"tab",tabIndex:w?0:-1,"aria-selected":w},I=c.useCallback(()=>{if(!("current"in y))throw new Error("Reshaped, Tabs: TabItem is expecting an object ref format but received a function ref");v.current=g.current,g.current=y.current},[g,v]),k=()=>{var L,V,G;if(s&&!l)return;const $=b.current,F=(L=y.current)==null?void 0:L.parentElement,S=(V=g.current)==null?void 0:V.parentElement;if(I(),l&&l({value:n,name:m}),!$||!F||!S||$.scrollWidth===$.clientWidth)return;const M=F.offsetLeft<S.offsetLeft,P=(F.offsetLeft-$.scrollLeft)/$.clientWidth;(M?P<.3:P>.5)&&((G=y.current)==null||G.scrollIntoView({behavior:"smooth",block:"center",inline:"center"}))};return c.useEffect(()=>{w&&I()},[w,I]),i.jsx("div",z(p({},a),{className:j,ref:y,role:"presentation",children:i.jsxs(Pe,{ref:t,href:s,insetFocus:!0,onClick:m?void 0:k,className:de.button,as:m?"label":void 0,attributes:z(p({},!C&&N),{"aria-controls":u}),children:[m&&i.jsx(uo,{type:"radio",name:m,value:n,checked:x,onChange:k,className:de.radio}),i.jsxs("span",{className:de.buttonContent,children:[r&&i.jsx(be,{svg:r,className:de.icon,size:4}),o&&i.jsx(se,{variant:d==="large"?"body-2":"body-3",weight:"medium",children:o})]})]})}))},cs=c.forwardRef(jl),us=(e,t)=>e===t||!e?null:e.classList.contains(de.listItem)?e:us(e.parentElement,t),kl=e=>{const{children:t,className:n,attributes:o}=e,{value:r,setDefaultValue:s,itemWidth:a,variant:l,name:u,direction:m,size:d,selection:f,setSelection:_,elActiveRef:g,elPrevActiveRef:v,elScrollableRef:b}=go(),[y]=lt(),[w,x]=c.useState(null),j=A(de.root,d&&de[`--size-${d}`],m&&de[`--direction-${m}`],a&&de[`--item-width-${a}`],l&&de[`--variant-${l}`],(w==="start"||w==="both")&&de["--fade-start"],(w==="end"||w==="both")&&de["--fade-end"],n),C=A(de.selector,f.status==="idle"&&de["--selector-hidden"],f.status==="animated"&&de["--selector-animated"]),N=()=>{b.current.scrollBy({left:Math.ceil(b.current.clientWidth/2)*(y?-1:1),behavior:"smooth"})},I=()=>{b.current.scrollBy({left:Math.ceil(b.current.clientWidth/2)*(y?1:-1),behavior:"smooth"})},k=()=>{_(S=>z(p({},S),{status:"idle"}))},$=c.useCallback(S=>{if(!b.current)return null;const M=us(S,b.current);return M?{scaleX:M.clientWidth,scaleY:M.clientHeight,top:M.offsetTop,left:M.offsetLeft}:null},[b]),{ref:F}=et({"ArrowLeft, ArrowUp":S=>{u||(S.preventDefault(),ci(b.current))},"ArrowRight, ArrowDown":S=>{u||(S.preventDefault(),li(b.current))},Home:S=>{u||(S.preventDefault(),ui(b.current))},End:S=>{u||(S.preventDefault(),di(b.current))}});return fe(()=>{if(r)return;const S=c.Children.toArray(t)[0];!S||S.type!==cs||s(S.props.value)},[r]),fe(()=>{if(!v.current||v.current===g.current)return;const S=$(v.current);S&&_(z(p({},S),{status:"prepared"}))},[r,$]),fe(()=>{if(f.status!=="prepared"||!g.current)return;const S=$(g.current);S&&_(z(p({},S),{status:"animated"}))},[f]),fe(()=>{const S=b.current;if(!S||m==="column")return;const M=()=>{S.clientWidth<S.scrollWidth||x(null);const L=S.scrollLeft*(y?-1:1),V=L>1,G=L+S.clientWidth<S.scrollWidth-1;if(G&&V)return x("both");if(V)return x("start");if(G)return x("end")},P=ks(M,16);return requestAnimationFrame(()=>{M()}),window.addEventListener("resize",P),S.addEventListener("scroll",P),()=>{window.removeEventListener("resize",P),S.removeEventListener("scroll",P)}},[y]),i.jsxs("div",z(p({},o),{className:j,children:[i.jsx("div",{className:de.inner,ref:b,children:i.jsxs("div",{className:de.list,role:"tablist",ref:F,children:[c.Children.map(t,(S,M)=>S?i.jsx("div",{className:de.listItem,children:S},S.props.value||S.key||M):null),i.jsx("div",{onTransitionEnd:k,className:C,style:{"--rs-tab-selection-x":f.left,"--rs-tab-selection-y":f.top,"--rs-tab-selection-scale-x":f.scaleX,"--rs-tab-selection-scale-y":f.scaleY}})]})}),(w==="start"||w==="both")&&i.jsx("span",{className:de.prev,children:i.jsx($e,{onClick:I,size:"small",icon:vn,rounded:!0,attributes:{"aria-hidden":!0,tabIndex:-1}})}),(w==="end"||w==="both")&&i.jsx("span",{className:de.next,children:i.jsx($e,{onClick:N,size:"small",icon:kt,rounded:!0,attributes:{"aria-hidden":!0,tabIndex:-1}})})]}))},$l=e=>{const{value:t,children:n}=e,{value:o,panelId:r,buttonId:s}=go(t),a=t===o,l=A(de.panel,!a&&de["--panel-hidden"]);return i.jsx("div",{className:l,tabIndex:0,role:"tabpanel",id:r,"aria-labelledby":s,children:a&&n})},jn=e=>{const{value:t}=e;return t!==void 0?i.jsx(ls,p({},e)):i.jsx(Cl,p({},e))};jn.Item=cs,jn.List=kl,jn.Panel=$l;const Nl=jn,gt={root:"_root_1lno8_1",input:"_input_1lno8_13","--size-medium":"_--size-medium_1lno8_1","--size-large":"_--size-large_1lno8_1","--size-xlarge":"_--size-xlarge_1lno8_1","--variant-faded":"_--variant-faded_1lno8_81","--variant-headless":"_--variant-headless_1lno8_92","--status-error":"_--status-error_1lno8_99","--resize-none":"_--resize-none_1lno8_118","--resize-auto":"_--resize-auto_1lno8_119","--size-medium--m":"_--size-medium--m_1lno8_1","--size-large--m":"_--size-large--m_1lno8_1","--size-xlarge--m":"_--size-xlarge--m_1lno8_1","--size-medium--l":"_--size-medium--l_1lno8_1","--size-large--l":"_--size-large--l_1lno8_1","--size-xlarge--l":"_--size-xlarge--l_1lno8_1","--size-medium--xl":"_--size-medium--xl_1lno8_1","--size-large--xl":"_--size-large--xl_1lno8_1","--size-xlarge--xl":"_--size-xlarge--xl_1lno8_1"},ds=e=>{var k,$;const{onChange:t,onFocus:n,onBlur:o,name:r,value:s,defaultValue:a,placeholder:l,size:u="medium",variant:m="outline",resize:d,className:f,attributes:_}=e,[g,v]=c.useState(s||a||""),b=Qe(),y=qe(e.id),w=((k=b==null?void 0:b.attributes)==null?void 0:k.id)||(($=e.inputAttributes)==null?void 0:$.id)||y,x=(b==null?void 0:b.disabled)||e.disabled,j=(b==null?void 0:b.hasError)||e.hasError,C=p(p({},e.inputAttributes),b==null?void 0:b.attributes),N=A(gt.root,u&&J(gt,"--size",u),j&&gt["--status-error"],x&&gt["--disabled"],m&&gt[`--variant-${m}`],d!==void 0&&gt[`--resize-${d}`],f),I=F=>{const S=F.target.value;t==null||t({name:r,value:S,event:F}),d==="auto"&&typeof s!="string"&&v(S)};return c.useEffect(()=>{typeof s!="string"||d!=="auto"||v(s)},[s,d]),i.jsx("div",z(p({},_),{"data-rs-aligner-target":!0,className:N,"data-rs-textarea-value":g,children:i.jsx("textarea",z(p({rows:3},C),{className:gt.input,disabled:x,name:r,placeholder:l,value:s,defaultValue:a,onChange:I,onFocus:n||(C==null?void 0:C.onFocus),onBlur:o||(C==null?void 0:C.onBlur),id:w}))}))};ds.Aligner=on;const zl=ds,vo={item:"_item_gwbgg_1","item--full-width":"_item--full-width_gwbgg_1",marker:"_marker_gwbgg_36"},po=e=>{const{children:t,markerSlot:n,className:o,attributes:r}=e,s=n!==null,a=A(vo.item,!s&&vo["item--full-width"],o);return i.jsxs(q,{as:"li",direction:"row",align:"stretch",gap:3,attributes:r,className:a,children:[s&&i.jsx("span",{className:vo.marker,children:n}),i.jsx(q.Item,{grow:!0,children:t})]})},_s=e=>{const{children:t,className:n,attributes:o}=e,r=A(n);return i.jsx("ul",z(p({},o),{className:r,children:c.Children.map(t,(s,a)=>(s==null?void 0:s.type)===po?s:i.jsx(po,{children:s},a))}))};_s.Item=po;const El=_s,Tl={root:"_root_1ca7d_1"},Ml=e=>{const{id:t,text:n,children:o,onOpen:r,onClose:s,position:a="bottom",active:l}=e;return n?i.jsxs(jt,{id:t,active:l,position:a,onOpen:r,onClose:s,triggerType:"hover",children:[i.jsx(jt.Trigger,{children:o}),i.jsx(jt.Content,{children:i.jsx(yt,{colorMode:"inverted",children:i.jsx(se,{variant:"caption-1",className:Tl.root,children:n})})})]}):i.jsx(i.Fragment,{children:o({})})},Sl=e=>{const{w:t="auto",h:n=50,children:o}=e;return i.jsx("div",{style:{width:t,height:n,minWidth:n,padding:"var(--rs-unit-x2)",background:"rgba(var(--rs-color-rgb-background-neutral), 0.32)",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"var(--rs-radius-small)"},children:o})};T.Accordion=Ks,T.ActionBar=Xs,T.Actionable=Pe,T.Alert=Qs,T.Autocomplete=Yi,T.Avatar=Gi,T.Badge=Xi,T.Breadcrumbs=jr,T.Button=$e,T.Calendar=ha,T.Card=ba,T.Carousel=ga,T.Checkbox=ya,T.CheckboxGroup=wa,T.Container=ja,T.Dismissible=ka,T.Divider=tn,T.DropdownMenu=Bt,T.FileUpload=Na,T.FormControl=si,T.Hidden=pt,T.HiddenVisually=lo,T.Hotkey=za,T.Icon=be,T.Image=Ea,T.Link=Cr,T.Loader=wr,T.MenuItem=hr,T.Modal=Aa,T.Overlay=Vr,T.Pagination=Fa,T.PinField=Ba,T.Placeholder=Sl,T.Popover=fn,T.Progress=Ha,T.Radio=Ya,T.RadioGroup=Ua,T.Reshaped=ol,T.Scrim=rl,T.ScrollArea=sl,T.Select=al,T.Skeleton=cl,T.Slider=_l,T.Stepper=bl,T.Switch=gl,T.Table=wl,T.Tabs=Nl,T.Text=se,T.TextArea=zl,T.TextField=Uo,T.Theme=yt,T.Timeline=El,T.ToastProvider=Zr,T.Tooltip=Ml,T.View=q,T.classNames=A,T.responsiveClassNames=J,T.responsivePropDependency=Te,T.useFormControl=Qe,T.useHotkeys=et,T.useIsomorphicLayoutEffect=fe,T.useRTL=lt,T.useResponsiveClientValue=Fr,T.useScrollLock=Lr,T.useTheme=dr,T.useToast=Jr,T.useToggle=pn,Object.defineProperty(T,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.addTheme = exports.addThemeFragment = void 0;
7
+ const fs_1 = __importDefault(require("fs"));
8
+ const path_1 = __importDefault(require("path"));
9
+ const chalk_1 = __importDefault(require("chalk"));
10
+ const mergeDefinitions_1 = __importDefault(require("../../themes/_generator/utilities/mergeDefinitions"));
11
+ const transform_1 = __importDefault(require("../../themes/_generator/transform"));
12
+ const reshaped_1 = __importDefault(require("../../themes/_generator/definitions/reshaped"));
13
+ const transformDefinition = (name, definition, options) => {
14
+ const { isFragment, outputPath } = options;
15
+ const code = (0, transform_1.default)(name, definition, options);
16
+ const themeFolderPath = isFragment
17
+ ? path_1.default.resolve(outputPath, "fragments", name)
18
+ : path_1.default.resolve(outputPath, name);
19
+ const themePath = path_1.default.resolve(themeFolderPath, "theme.css");
20
+ const themeMediaPath = path_1.default.resolve(themeFolderPath, "media.css");
21
+ const themeJsonPath = path_1.default.resolve(themeFolderPath, "theme.json");
22
+ fs_1.default.mkdirSync(themeFolderPath, { recursive: true });
23
+ fs_1.default.writeFileSync(themePath, code.variables);
24
+ fs_1.default.writeFileSync(themeJsonPath, JSON.stringify(definition));
25
+ if (code.media)
26
+ fs_1.default.writeFileSync(themeMediaPath, code.media);
27
+ const logOutput = `Compiled ${chalk_1.default.bold(name)} theme${isFragment ? " fragment" : ""}`;
28
+ // eslint-disable-next-line no-console
29
+ console.log(chalk_1.default.green(logOutput));
30
+ };
31
+ const addThemeFragment = (name, definition, options) => {
32
+ transformDefinition(name, definition, { ...options, isFragment: true });
33
+ };
34
+ exports.addThemeFragment = addThemeFragment;
35
+ const addTheme = (name, definition, options) => {
36
+ transformDefinition(name, (0, mergeDefinitions_1.default)(reshaped_1.default, definition), options);
37
+ };
38
+ exports.addTheme = addTheme;
@@ -0,0 +1,3 @@
1
+ import type { ReshapedConfig } from "../../types/config";
2
+ declare const config: ReshapedConfig;
3
+ export default config;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const reshaped_1 = __importDefault(require("../../themes/_generator/definitions/reshaped"));
7
+ const figma_1 = __importDefault(require("../../themes/_generator/definitions/figma"));
8
+ const slate_1 = __importDefault(require("../../themes/_generator/definitions/slate"));
9
+ const config = {
10
+ themes: {
11
+ reshaped: reshaped_1.default,
12
+ figma: figma_1.default,
13
+ slate: slate_1.default,
14
+ },
15
+ themeFragments: {
16
+ twitter: {
17
+ color: {
18
+ backgroundPrimary: { hex: "#1da1f2" },
19
+ backgroundPrimaryHighlighted: { hex: "#1a90da" },
20
+ onBackgroundPrimary: { hex: "#ffffff" },
21
+ },
22
+ },
23
+ },
24
+ themeOptions: {},
25
+ };
26
+ exports.default = config;
@@ -0,0 +1,2 @@
1
+ import type { ThemeDefinition } from "../themes/_generator/tokens/types";
2
+ export declare const getTheme: (theme?: ThemeDefinition) => Record<"backgroundColor" | "textColor" | "borderColor" | "colors" | "borderRadius" | "spacing" | "boxShadow" | "screens", Record<string, string>>;
@@ -0,0 +1,2 @@
1
+ import type { Name } from "./tokens/color/color.types";
2
+ export declare const bgWithDynamicForeground: Name[];
@@ -0,0 +1,3 @@
1
+ import type { ThemeDefinition } from "../tokens/types";
2
+ declare const theme: ThemeDefinition;
3
+ export default theme;