reshaped 2.8.1 → 2.8.3
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.
- package/CHANGELOG.md +2 -0
- package/bin/clean.sh +3 -1
- package/bin/cli.js +1 -1
- package/bundle.js +27 -0
- package/{dist/components → components}/Modal/tests/Modal.stories.d.ts +1 -0
- package/{dist/components → components}/Modal/tests/Modal.stories.js +21 -0
- package/package.json +23 -58
- package/styles/minHeight/index.d.ts +3 -0
- package/{dist/styles → styles}/minHeight/index.js +2 -2
- package/{dist/utilities → utilities}/a11y.js +35 -3
- package/dist/bundle.js +0 -27
- package/dist/styles/minWidth/index.d.ts +0 -3
- package/dist/tests/themingWithDefinition.d.ts +0 -1
- package/dist/tests/themingWithDefinition.js +0 -5
- package/dist/tests/themingWithoutDefinition.d.ts +0 -1
- package/dist/tests/themingWithoutDefinition.js +0 -5
- /package/{dist/bundle.css → bundle.css} +0 -0
- /package/{dist/bundle.d.ts → bundle.d.ts} +0 -0
- /package/{dist/cli → cli}/theming/index.d.ts +0 -0
- /package/{dist/cli → cli}/theming/index.js +0 -0
- /package/{dist/cli → cli}/theming/reshaped.config.d.ts +0 -0
- /package/{dist/cli → cli}/theming/reshaped.config.js +0 -0
- /package/{dist/components → components}/Accordion/Accordion.context.d.ts +0 -0
- /package/{dist/components → components}/Accordion/Accordion.context.js +0 -0
- /package/{dist/components → components}/Accordion/Accordion.d.ts +0 -0
- /package/{dist/components → components}/Accordion/Accordion.js +0 -0
- /package/{dist/components → components}/Accordion/Accordion.module.css +0 -0
- /package/{dist/components → components}/Accordion/Accordion.types.d.ts +0 -0
- /package/{dist/components → components}/Accordion/Accordion.types.js +0 -0
- /package/{dist/components → components}/Accordion/AccordionContent.d.ts +0 -0
- /package/{dist/components → components}/Accordion/AccordionContent.js +0 -0
- /package/{dist/components → components}/Accordion/AccordionControlled.d.ts +0 -0
- /package/{dist/components → components}/Accordion/AccordionControlled.js +0 -0
- /package/{dist/components → components}/Accordion/AccordionTrigger.d.ts +0 -0
- /package/{dist/components → components}/Accordion/AccordionTrigger.js +0 -0
- /package/{dist/components → components}/Accordion/AccordionUncontrolled.d.ts +0 -0
- /package/{dist/components → components}/Accordion/AccordionUncontrolled.js +0 -0
- /package/{dist/components → components}/Accordion/index.d.ts +0 -0
- /package/{dist/components → components}/Accordion/index.js +0 -0
- /package/{dist/components → components}/Accordion/tests/Accordion.stories.d.ts +0 -0
- /package/{dist/components → components}/Accordion/tests/Accordion.stories.js +0 -0
- /package/{dist/components → components}/ActionBar/ActionBar.d.ts +0 -0
- /package/{dist/components → components}/ActionBar/ActionBar.js +0 -0
- /package/{dist/components → components}/ActionBar/ActionBar.module.css +0 -0
- /package/{dist/components → components}/ActionBar/ActionBar.types.d.ts +0 -0
- /package/{dist/components → components}/ActionBar/ActionBar.types.js +0 -0
- /package/{dist/components → components}/ActionBar/index.d.ts +0 -0
- /package/{dist/components → components}/ActionBar/index.js +0 -0
- /package/{dist/components → components}/ActionBar/tests/ActionBar.stories.d.ts +0 -0
- /package/{dist/components → components}/ActionBar/tests/ActionBar.stories.js +0 -0
- /package/{dist/components → components}/Actionable/Actionable.d.ts +0 -0
- /package/{dist/components → components}/Actionable/Actionable.js +0 -0
- /package/{dist/components → components}/Actionable/Actionable.module.css +0 -0
- /package/{dist/components → components}/Actionable/Actionable.types.d.ts +0 -0
- /package/{dist/components → components}/Actionable/Actionable.types.js +0 -0
- /package/{dist/components → components}/Actionable/index.d.ts +0 -0
- /package/{dist/components → components}/Actionable/index.js +0 -0
- /package/{dist/components → components}/Actionable/tests/Actionable.stories.d.ts +0 -0
- /package/{dist/components → components}/Actionable/tests/Actionable.stories.js +0 -0
- /package/{dist/components → components}/Alert/Alert.d.ts +0 -0
- /package/{dist/components → components}/Alert/Alert.js +0 -0
- /package/{dist/components → components}/Alert/Alert.types.d.ts +0 -0
- /package/{dist/components → components}/Alert/Alert.types.js +0 -0
- /package/{dist/components → components}/Alert/index.d.ts +0 -0
- /package/{dist/components → components}/Alert/index.js +0 -0
- /package/{dist/components → components}/Alert/tests/Alert.stories.d.ts +0 -0
- /package/{dist/components → components}/Alert/tests/Alert.stories.js +0 -0
- /package/{dist/components → components}/Autocomplete/Autocomplete.d.ts +0 -0
- /package/{dist/components → components}/Autocomplete/Autocomplete.js +0 -0
- /package/{dist/components → components}/Autocomplete/Autocomplete.types.d.ts +0 -0
- /package/{dist/components → components}/Autocomplete/Autocomplete.types.js +0 -0
- /package/{dist/components → components}/Autocomplete/index.d.ts +0 -0
- /package/{dist/components → components}/Autocomplete/index.js +0 -0
- /package/{dist/components → components}/Autocomplete/tests/Autocomplete.stories.d.ts +0 -0
- /package/{dist/components → components}/Autocomplete/tests/Autocomplete.stories.js +0 -0
- /package/{dist/components → components}/Avatar/Avatar.d.ts +0 -0
- /package/{dist/components → components}/Avatar/Avatar.js +0 -0
- /package/{dist/components → components}/Avatar/Avatar.module.css +0 -0
- /package/{dist/components → components}/Avatar/Avatar.types.d.ts +0 -0
- /package/{dist/components → components}/Avatar/Avatar.types.js +0 -0
- /package/{dist/components → components}/Avatar/index.d.ts +0 -0
- /package/{dist/components → components}/Avatar/index.js +0 -0
- /package/{dist/components → components}/Avatar/tests/Avatar.stories.d.ts +0 -0
- /package/{dist/components → components}/Avatar/tests/Avatar.stories.js +0 -0
- /package/{dist/components → components}/Badge/Badge.d.ts +0 -0
- /package/{dist/components → components}/Badge/Badge.js +0 -0
- /package/{dist/components → components}/Badge/Badge.module.css +0 -0
- /package/{dist/components → components}/Badge/Badge.types.d.ts +0 -0
- /package/{dist/components → components}/Badge/Badge.types.js +0 -0
- /package/{dist/components → components}/Badge/BadgeContainer.d.ts +0 -0
- /package/{dist/components → components}/Badge/BadgeContainer.js +0 -0
- /package/{dist/components → components}/Badge/index.d.ts +0 -0
- /package/{dist/components → components}/Badge/index.js +0 -0
- /package/{dist/components → components}/Badge/tests/Badge.stories.d.ts +0 -0
- /package/{dist/components → components}/Badge/tests/Badge.stories.js +0 -0
- /package/{dist/components → components}/Breadcrumbs/Breadcrumbs.d.ts +0 -0
- /package/{dist/components → components}/Breadcrumbs/Breadcrumbs.js +0 -0
- /package/{dist/components → components}/Breadcrumbs/Breadcrumbs.types.d.ts +0 -0
- /package/{dist/components → components}/Breadcrumbs/Breadcrumbs.types.js +0 -0
- /package/{dist/components → components}/Breadcrumbs/BreadcrumbsItem.d.ts +0 -0
- /package/{dist/components → components}/Breadcrumbs/BreadcrumbsItem.js +0 -0
- /package/{dist/components → components}/Breadcrumbs/index.d.ts +0 -0
- /package/{dist/components → components}/Breadcrumbs/index.js +0 -0
- /package/{dist/components → components}/Breadcrumbs/tests/Breadcrumbs.stories.d.ts +0 -0
- /package/{dist/components → components}/Breadcrumbs/tests/Breadcrumbs.stories.js +0 -0
- /package/{dist/components → components}/Button/Button.d.ts +0 -0
- /package/{dist/components → components}/Button/Button.js +0 -0
- /package/{dist/components → components}/Button/Button.module.css +0 -0
- /package/{dist/components → components}/Button/Button.types.d.ts +0 -0
- /package/{dist/components → components}/Button/Button.types.js +0 -0
- /package/{dist/components → components}/Button/ButtonAligner.d.ts +0 -0
- /package/{dist/components → components}/Button/ButtonAligner.js +0 -0
- /package/{dist/components → components}/Button/ButtonGroup.d.ts +0 -0
- /package/{dist/components → components}/Button/ButtonGroup.js +0 -0
- /package/{dist/components → components}/Button/index.d.ts +0 -0
- /package/{dist/components → components}/Button/index.js +0 -0
- /package/{dist/components → components}/Button/tests/Button.stories.d.ts +0 -0
- /package/{dist/components → components}/Button/tests/Button.stories.js +0 -0
- /package/{dist/components → components}/Calendar/Calendar.d.ts +0 -0
- /package/{dist/components → components}/Calendar/Calendar.js +0 -0
- /package/{dist/components → components}/Calendar/Calendar.module.css +0 -0
- /package/{dist/components → components}/Calendar/Calendar.types.d.ts +0 -0
- /package/{dist/components → components}/Calendar/Calendar.types.js +0 -0
- /package/{dist/components → components}/Calendar/Calendar.utils.d.ts +0 -0
- /package/{dist/components → components}/Calendar/Calendar.utils.js +0 -0
- /package/{dist/components → components}/Calendar/CalendarControlled.d.ts +0 -0
- /package/{dist/components → components}/Calendar/CalendarControlled.js +0 -0
- /package/{dist/components → components}/Calendar/CalendarControls.d.ts +0 -0
- /package/{dist/components → components}/Calendar/CalendarControls.js +0 -0
- /package/{dist/components → components}/Calendar/CalendarDate.d.ts +0 -0
- /package/{dist/components → components}/Calendar/CalendarDate.js +0 -0
- /package/{dist/components → components}/Calendar/CalendarMonth.d.ts +0 -0
- /package/{dist/components → components}/Calendar/CalendarMonth.js +0 -0
- /package/{dist/components → components}/Calendar/CalendarUncontrolled.d.ts +0 -0
- /package/{dist/components → components}/Calendar/CalendarUncontrolled.js +0 -0
- /package/{dist/components → components}/Calendar/CalendarYear.d.ts +0 -0
- /package/{dist/components → components}/Calendar/CalendarYear.js +0 -0
- /package/{dist/components → components}/Calendar/index.d.ts +0 -0
- /package/{dist/components → components}/Calendar/index.js +0 -0
- /package/{dist/components → components}/Calendar/tests/Calendar.stories.d.ts +0 -0
- /package/{dist/components → components}/Calendar/tests/Calendar.stories.js +0 -0
- /package/{dist/components → components}/Calendar/useCalendarKeyboardNavigation.d.ts +0 -0
- /package/{dist/components → components}/Calendar/useCalendarKeyboardNavigation.js +0 -0
- /package/{dist/components → components}/Card/Card.d.ts +0 -0
- /package/{dist/components → components}/Card/Card.js +0 -0
- /package/{dist/components → components}/Card/Card.module.css +0 -0
- /package/{dist/components → components}/Card/Card.types.d.ts +0 -0
- /package/{dist/components → components}/Card/Card.types.js +0 -0
- /package/{dist/components → components}/Card/index.d.ts +0 -0
- /package/{dist/components → components}/Card/index.js +0 -0
- /package/{dist/components → components}/Card/tests/Card.stories.d.ts +0 -0
- /package/{dist/components → components}/Card/tests/Card.stories.js +0 -0
- /package/{dist/components → components}/Carousel/Carousel.d.ts +0 -0
- /package/{dist/components → components}/Carousel/Carousel.js +0 -0
- /package/{dist/components → components}/Carousel/Carousel.module.css +0 -0
- /package/{dist/components → components}/Carousel/Carousel.types.d.ts +0 -0
- /package/{dist/components → components}/Carousel/Carousel.types.js +0 -0
- /package/{dist/components → components}/Carousel/CarouselControl.d.ts +0 -0
- /package/{dist/components → components}/Carousel/CarouselControl.js +0 -0
- /package/{dist/components → components}/Carousel/index.d.ts +0 -0
- /package/{dist/components → components}/Carousel/index.js +0 -0
- /package/{dist/components → components}/Carousel/tests/Carousel.stories.d.ts +0 -0
- /package/{dist/components → components}/Carousel/tests/Carousel.stories.js +0 -0
- /package/{dist/components → components}/Checkbox/Checkbox.d.ts +0 -0
- /package/{dist/components → components}/Checkbox/Checkbox.js +0 -0
- /package/{dist/components → components}/Checkbox/Checkbox.module.css +0 -0
- /package/{dist/components → components}/Checkbox/Checkbox.types.d.ts +0 -0
- /package/{dist/components → components}/Checkbox/Checkbox.types.js +0 -0
- /package/{dist/components → components}/Checkbox/index.d.ts +0 -0
- /package/{dist/components → components}/Checkbox/index.js +0 -0
- /package/{dist/components → components}/Checkbox/tests/Checkbox.stories.d.ts +0 -0
- /package/{dist/components → components}/Checkbox/tests/Checkbox.stories.js +0 -0
- /package/{dist/components → components}/CheckboxGroup/CheckboxGroup.context.d.ts +0 -0
- /package/{dist/components → components}/CheckboxGroup/CheckboxGroup.context.js +0 -0
- /package/{dist/components → components}/CheckboxGroup/CheckboxGroup.d.ts +0 -0
- /package/{dist/components → components}/CheckboxGroup/CheckboxGroup.js +0 -0
- /package/{dist/components → components}/CheckboxGroup/CheckboxGroup.types.d.ts +0 -0
- /package/{dist/components → components}/CheckboxGroup/CheckboxGroup.types.js +0 -0
- /package/{dist/components → components}/CheckboxGroup/CheckboxGroupControlled.d.ts +0 -0
- /package/{dist/components → components}/CheckboxGroup/CheckboxGroupControlled.js +0 -0
- /package/{dist/components → components}/CheckboxGroup/CheckboxGroupUncontrolled.d.ts +0 -0
- /package/{dist/components → components}/CheckboxGroup/CheckboxGroupUncontrolled.js +0 -0
- /package/{dist/components → components}/CheckboxGroup/index.d.ts +0 -0
- /package/{dist/components → components}/CheckboxGroup/index.js +0 -0
- /package/{dist/components → components}/CheckboxGroup/tests/CheckboxGroup.stories.d.ts +0 -0
- /package/{dist/components → components}/CheckboxGroup/tests/CheckboxGroup.stories.js +0 -0
- /package/{dist/components → components}/Container/Container.d.ts +0 -0
- /package/{dist/components → components}/Container/Container.js +0 -0
- /package/{dist/components → components}/Container/Container.module.css +0 -0
- /package/{dist/components → components}/Container/Container.types.d.ts +0 -0
- /package/{dist/components → components}/Container/Container.types.js +0 -0
- /package/{dist/components → components}/Container/index.d.ts +0 -0
- /package/{dist/components → components}/Container/index.js +0 -0
- /package/{dist/components → components}/Container/tests/Container.stories.d.ts +0 -0
- /package/{dist/components → components}/Container/tests/Container.stories.js +0 -0
- /package/{dist/components → components}/Dismissible/Dismissible.d.ts +0 -0
- /package/{dist/components → components}/Dismissible/Dismissible.js +0 -0
- /package/{dist/components → components}/Dismissible/Dismissible.module.css +0 -0
- /package/{dist/components → components}/Dismissible/Dismissible.types.d.ts +0 -0
- /package/{dist/components → components}/Dismissible/Dismissible.types.js +0 -0
- /package/{dist/components → components}/Dismissible/index.d.ts +0 -0
- /package/{dist/components → components}/Dismissible/index.js +0 -0
- /package/{dist/components → components}/Dismissible/tests/Dismissible.stories.d.ts +0 -0
- /package/{dist/components → components}/Dismissible/tests/Dismissible.stories.js +0 -0
- /package/{dist/components → components}/Divider/Divider.d.ts +0 -0
- /package/{dist/components → components}/Divider/Divider.js +0 -0
- /package/{dist/components → components}/Divider/Divider.module.css +0 -0
- /package/{dist/components → components}/Divider/Divider.types.d.ts +0 -0
- /package/{dist/components → components}/Divider/Divider.types.js +0 -0
- /package/{dist/components → components}/Divider/index.d.ts +0 -0
- /package/{dist/components → components}/Divider/index.js +0 -0
- /package/{dist/components → components}/Divider/tests/Divider.stories.d.ts +0 -0
- /package/{dist/components → components}/Divider/tests/Divider.stories.js +0 -0
- /package/{dist/components → components}/DropdownMenu/DropdownMenu.d.ts +0 -0
- /package/{dist/components → components}/DropdownMenu/DropdownMenu.js +0 -0
- /package/{dist/components → components}/DropdownMenu/DropdownMenu.module.css +0 -0
- /package/{dist/components → components}/DropdownMenu/DropdownMenu.types.d.ts +0 -0
- /package/{dist/components → components}/DropdownMenu/DropdownMenu.types.js +0 -0
- /package/{dist/components → components}/DropdownMenu/index.d.ts +0 -0
- /package/{dist/components → components}/DropdownMenu/index.js +0 -0
- /package/{dist/components → components}/DropdownMenu/tests/DropdownMenu.stories.d.ts +0 -0
- /package/{dist/components → components}/DropdownMenu/tests/DropdownMenu.stories.js +0 -0
- /package/{dist/components → components}/FileUpload/FileUpload.d.ts +0 -0
- /package/{dist/components → components}/FileUpload/FileUpload.js +0 -0
- /package/{dist/components → components}/FileUpload/FileUpload.module.css +0 -0
- /package/{dist/components → components}/FileUpload/FileUpload.types.d.ts +0 -0
- /package/{dist/components → components}/FileUpload/FileUpload.types.js +0 -0
- /package/{dist/components → components}/FileUpload/index.d.ts +0 -0
- /package/{dist/components → components}/FileUpload/index.js +0 -0
- /package/{dist/components → components}/FileUpload/tests/FileUpload.stories.d.ts +0 -0
- /package/{dist/components → components}/FileUpload/tests/FileUpload.stories.js +0 -0
- /package/{dist/components → components}/FormControl/FormControl.context.d.ts +0 -0
- /package/{dist/components → components}/FormControl/FormControl.context.js +0 -0
- /package/{dist/components → components}/FormControl/FormControl.d.ts +0 -0
- /package/{dist/components → components}/FormControl/FormControl.js +0 -0
- /package/{dist/components → components}/FormControl/FormControl.module.css +0 -0
- /package/{dist/components → components}/FormControl/FormControl.types.d.ts +0 -0
- /package/{dist/components → components}/FormControl/FormControl.types.js +0 -0
- /package/{dist/components → components}/FormControl/index.d.ts +0 -0
- /package/{dist/components → components}/FormControl/index.js +0 -0
- /package/{dist/components → components}/FormControl/tests/FormControl.stories.d.ts +0 -0
- /package/{dist/components → components}/FormControl/tests/FormControl.stories.js +0 -0
- /package/{dist/components → components}/Hidden/Hidden.d.ts +0 -0
- /package/{dist/components → components}/Hidden/Hidden.js +0 -0
- /package/{dist/components → components}/Hidden/Hidden.module.css +0 -0
- /package/{dist/components → components}/Hidden/Hidden.types.d.ts +0 -0
- /package/{dist/components → components}/Hidden/Hidden.types.js +0 -0
- /package/{dist/components → components}/Hidden/index.d.ts +0 -0
- /package/{dist/components → components}/Hidden/index.js +0 -0
- /package/{dist/components → components}/Hidden/tests/Hidden.stories.d.ts +0 -0
- /package/{dist/components → components}/Hidden/tests/Hidden.stories.js +0 -0
- /package/{dist/components → components}/HiddenVisually/HiddenVisually.d.ts +0 -0
- /package/{dist/components → components}/HiddenVisually/HiddenVisually.js +0 -0
- /package/{dist/components → components}/HiddenVisually/HiddenVisually.module.css +0 -0
- /package/{dist/components → components}/HiddenVisually/HiddenVisually.types.d.ts +0 -0
- /package/{dist/components → components}/HiddenVisually/HiddenVisually.types.js +0 -0
- /package/{dist/components → components}/HiddenVisually/index.d.ts +0 -0
- /package/{dist/components → components}/HiddenVisually/index.js +0 -0
- /package/{dist/components → components}/HiddenVisually/tests/HiddenVisually.stories.d.ts +0 -0
- /package/{dist/components → components}/HiddenVisually/tests/HiddenVisually.stories.js +0 -0
- /package/{dist/components → components}/Hotkey/Hotkey.d.ts +0 -0
- /package/{dist/components → components}/Hotkey/Hotkey.js +0 -0
- /package/{dist/components → components}/Hotkey/Hotkey.module.css +0 -0
- /package/{dist/components → components}/Hotkey/Hotkey.types.d.ts +0 -0
- /package/{dist/components → components}/Hotkey/Hotkey.types.js +0 -0
- /package/{dist/components → components}/Hotkey/index.d.ts +0 -0
- /package/{dist/components → components}/Hotkey/index.js +0 -0
- /package/{dist/components → components}/Hotkey/tests/Hotkey.stories.d.ts +0 -0
- /package/{dist/components → components}/Hotkey/tests/Hotkey.stories.js +0 -0
- /package/{dist/components → components}/Icon/Icon.d.ts +0 -0
- /package/{dist/components → components}/Icon/Icon.js +0 -0
- /package/{dist/components → components}/Icon/Icon.module.css +0 -0
- /package/{dist/components → components}/Icon/Icon.types.d.ts +0 -0
- /package/{dist/components → components}/Icon/Icon.types.js +0 -0
- /package/{dist/components → components}/Icon/index.d.ts +0 -0
- /package/{dist/components → components}/Icon/index.js +0 -0
- /package/{dist/components → components}/Icon/tests/Icon.stories.d.ts +0 -0
- /package/{dist/components → components}/Icon/tests/Icon.stories.js +0 -0
- /package/{dist/components → components}/Image/Image.d.ts +0 -0
- /package/{dist/components → components}/Image/Image.js +0 -0
- /package/{dist/components → components}/Image/Image.module.css +0 -0
- /package/{dist/components → components}/Image/Image.types.d.ts +0 -0
- /package/{dist/components → components}/Image/Image.types.js +0 -0
- /package/{dist/components → components}/Image/index.d.ts +0 -0
- /package/{dist/components → components}/Image/index.js +0 -0
- /package/{dist/components → components}/Image/tests/Image.stories.d.ts +0 -0
- /package/{dist/components → components}/Image/tests/Image.stories.js +0 -0
- /package/{dist/components → components}/Link/Link.d.ts +0 -0
- /package/{dist/components → components}/Link/Link.js +0 -0
- /package/{dist/components → components}/Link/Link.module.css +0 -0
- /package/{dist/components → components}/Link/Link.types.d.ts +0 -0
- /package/{dist/components → components}/Link/Link.types.js +0 -0
- /package/{dist/components → components}/Link/index.d.ts +0 -0
- /package/{dist/components → components}/Link/index.js +0 -0
- /package/{dist/components → components}/Link/tests/Link.stories.d.ts +0 -0
- /package/{dist/components → components}/Link/tests/Link.stories.js +0 -0
- /package/{dist/components → components}/Loader/Loader.d.ts +0 -0
- /package/{dist/components → components}/Loader/Loader.js +0 -0
- /package/{dist/components → components}/Loader/Loader.module.css +0 -0
- /package/{dist/components → components}/Loader/Loader.types.d.ts +0 -0
- /package/{dist/components → components}/Loader/Loader.types.js +0 -0
- /package/{dist/components → components}/Loader/index.d.ts +0 -0
- /package/{dist/components → components}/Loader/index.js +0 -0
- /package/{dist/components → components}/Loader/tests/Loader.stories.d.ts +0 -0
- /package/{dist/components → components}/Loader/tests/Loader.stories.js +0 -0
- /package/{dist/components → components}/MenuItem/MenuItem.d.ts +0 -0
- /package/{dist/components → components}/MenuItem/MenuItem.js +0 -0
- /package/{dist/components → components}/MenuItem/MenuItem.module.css +0 -0
- /package/{dist/components → components}/MenuItem/MenuItem.types.d.ts +0 -0
- /package/{dist/components → components}/MenuItem/MenuItem.types.js +0 -0
- /package/{dist/components → components}/MenuItem/MenuItemAligner.d.ts +0 -0
- /package/{dist/components → components}/MenuItem/MenuItemAligner.js +0 -0
- /package/{dist/components → components}/MenuItem/index.d.ts +0 -0
- /package/{dist/components → components}/MenuItem/index.js +0 -0
- /package/{dist/components → components}/MenuItem/tests/MenuItem.stories.d.ts +0 -0
- /package/{dist/components → components}/MenuItem/tests/MenuItem.stories.js +0 -0
- /package/{dist/components → components}/Modal/Modal.d.ts +0 -0
- /package/{dist/components → components}/Modal/Modal.js +0 -0
- /package/{dist/components → components}/Modal/Modal.module.css +0 -0
- /package/{dist/components → components}/Modal/Modal.types.d.ts +0 -0
- /package/{dist/components → components}/Modal/Modal.types.js +0 -0
- /package/{dist/components → components}/Modal/index.d.ts +0 -0
- /package/{dist/components → components}/Modal/index.js +0 -0
- /package/{dist/components → components}/Overlay/Overlay.d.ts +0 -0
- /package/{dist/components → components}/Overlay/Overlay.js +0 -0
- /package/{dist/components → components}/Overlay/Overlay.module.css +0 -0
- /package/{dist/components → components}/Overlay/Overlay.types.d.ts +0 -0
- /package/{dist/components → components}/Overlay/Overlay.types.js +0 -0
- /package/{dist/components → components}/Overlay/index.d.ts +0 -0
- /package/{dist/components → components}/Overlay/index.js +0 -0
- /package/{dist/components → components}/Overlay/tests/Overlay.stories.d.ts +0 -0
- /package/{dist/components → components}/Overlay/tests/Overlay.stories.js +0 -0
- /package/{dist/components → components}/Popover/Popover.d.ts +0 -0
- /package/{dist/components → components}/Popover/Popover.js +0 -0
- /package/{dist/components → components}/Popover/Popover.module.css +0 -0
- /package/{dist/components → components}/Popover/Popover.types.d.ts +0 -0
- /package/{dist/components → components}/Popover/Popover.types.js +0 -0
- /package/{dist/components → components}/Popover/index.d.ts +0 -0
- /package/{dist/components → components}/Popover/index.js +0 -0
- /package/{dist/components → components}/Popover/tests/Popover.stories.d.ts +0 -0
- /package/{dist/components → components}/Popover/tests/Popover.stories.js +0 -0
- /package/{dist/components → components}/Progress/Progress.d.ts +0 -0
- /package/{dist/components → components}/Progress/Progress.js +0 -0
- /package/{dist/components → components}/Progress/Progress.module.css +0 -0
- /package/{dist/components → components}/Progress/Progress.types.d.ts +0 -0
- /package/{dist/components → components}/Progress/Progress.types.js +0 -0
- /package/{dist/components → components}/Progress/index.d.ts +0 -0
- /package/{dist/components → components}/Progress/index.js +0 -0
- /package/{dist/components → components}/Progress/tests/Progress.stories.d.ts +0 -0
- /package/{dist/components → components}/Progress/tests/Progress.stories.js +0 -0
- /package/{dist/components → components}/Radio/Radio.d.ts +0 -0
- /package/{dist/components → components}/Radio/Radio.js +0 -0
- /package/{dist/components → components}/Radio/Radio.module.css +0 -0
- /package/{dist/components → components}/Radio/Radio.types.d.ts +0 -0
- /package/{dist/components → components}/Radio/Radio.types.js +0 -0
- /package/{dist/components → components}/Radio/index.d.ts +0 -0
- /package/{dist/components → components}/Radio/index.js +0 -0
- /package/{dist/components → components}/Radio/tests/Radio.stories.d.ts +0 -0
- /package/{dist/components → components}/Radio/tests/Radio.stories.js +0 -0
- /package/{dist/components → components}/RadioGroup/RadioGroup.context.d.ts +0 -0
- /package/{dist/components → components}/RadioGroup/RadioGroup.context.js +0 -0
- /package/{dist/components → components}/RadioGroup/RadioGroup.d.ts +0 -0
- /package/{dist/components → components}/RadioGroup/RadioGroup.js +0 -0
- /package/{dist/components → components}/RadioGroup/RadioGroup.types.d.ts +0 -0
- /package/{dist/components → components}/RadioGroup/RadioGroup.types.js +0 -0
- /package/{dist/components → components}/RadioGroup/RadioGroupControlled.d.ts +0 -0
- /package/{dist/components → components}/RadioGroup/RadioGroupControlled.js +0 -0
- /package/{dist/components → components}/RadioGroup/RadioGroupUncontrolled.d.ts +0 -0
- /package/{dist/components → components}/RadioGroup/RadioGroupUncontrolled.js +0 -0
- /package/{dist/components → components}/RadioGroup/index.d.ts +0 -0
- /package/{dist/components → components}/RadioGroup/index.js +0 -0
- /package/{dist/components → components}/RadioGroup/tests/RadioGroup.stories.d.ts +0 -0
- /package/{dist/components → components}/RadioGroup/tests/RadioGroup.stories.js +0 -0
- /package/{dist/components → components}/Reshaped/Reshaped.css +0 -0
- /package/{dist/components → components}/Reshaped/Reshaped.d.ts +0 -0
- /package/{dist/components → components}/Reshaped/Reshaped.js +0 -0
- /package/{dist/components → components}/Reshaped/Reshaped.module.css +0 -0
- /package/{dist/components → components}/Reshaped/Reshaped.types.d.ts +0 -0
- /package/{dist/components → components}/Reshaped/Reshaped.types.js +0 -0
- /package/{dist/components → components}/Reshaped/index.d.ts +0 -0
- /package/{dist/components → components}/Reshaped/index.js +0 -0
- /package/{dist/components → components}/Scrim/Scrim.d.ts +0 -0
- /package/{dist/components → components}/Scrim/Scrim.js +0 -0
- /package/{dist/components → components}/Scrim/Scrim.module.css +0 -0
- /package/{dist/components → components}/Scrim/Scrim.types.d.ts +0 -0
- /package/{dist/components → components}/Scrim/Scrim.types.js +0 -0
- /package/{dist/components → components}/Scrim/index.d.ts +0 -0
- /package/{dist/components → components}/Scrim/index.js +0 -0
- /package/{dist/components → components}/Scrim/tests/Scrim.stories.d.ts +0 -0
- /package/{dist/components → components}/Scrim/tests/Scrim.stories.js +0 -0
- /package/{dist/components → components}/Select/Select.d.ts +0 -0
- /package/{dist/components → components}/Select/Select.js +0 -0
- /package/{dist/components → components}/Select/Select.module.css +0 -0
- /package/{dist/components → components}/Select/Select.types.d.ts +0 -0
- /package/{dist/components → components}/Select/Select.types.js +0 -0
- /package/{dist/components → components}/Select/index.d.ts +0 -0
- /package/{dist/components → components}/Select/index.js +0 -0
- /package/{dist/components → components}/Select/tests/Select.stories.d.ts +0 -0
- /package/{dist/components → components}/Select/tests/Select.stories.js +0 -0
- /package/{dist/components → components}/Skeleton/Skeleton.d.ts +0 -0
- /package/{dist/components → components}/Skeleton/Skeleton.js +0 -0
- /package/{dist/components → components}/Skeleton/Skeleton.module.css +0 -0
- /package/{dist/components → components}/Skeleton/Skeleton.types.d.ts +0 -0
- /package/{dist/components → components}/Skeleton/Skeleton.types.js +0 -0
- /package/{dist/components → components}/Skeleton/index.d.ts +0 -0
- /package/{dist/components → components}/Skeleton/index.js +0 -0
- /package/{dist/components → components}/Skeleton/tests/Skeleton.stories.d.ts +0 -0
- /package/{dist/components → components}/Skeleton/tests/Skeleton.stories.js +0 -0
- /package/{dist/components → components}/Slider/Slider.d.ts +0 -0
- /package/{dist/components → components}/Slider/Slider.js +0 -0
- /package/{dist/components → components}/Slider/Slider.module.css +0 -0
- /package/{dist/components → components}/Slider/Slider.types.d.ts +0 -0
- /package/{dist/components → components}/Slider/Slider.types.js +0 -0
- /package/{dist/components → components}/Slider/SliderControlled.d.ts +0 -0
- /package/{dist/components → components}/Slider/SliderControlled.js +0 -0
- /package/{dist/components → components}/Slider/SliderThumb.d.ts +0 -0
- /package/{dist/components → components}/Slider/SliderThumb.js +0 -0
- /package/{dist/components → components}/Slider/SliderUncontrolled.d.ts +0 -0
- /package/{dist/components → components}/Slider/SliderUncontrolled.js +0 -0
- /package/{dist/components → components}/Slider/index.d.ts +0 -0
- /package/{dist/components → components}/Slider/index.js +0 -0
- /package/{dist/components → components}/Slider/tests/Slider.stories.d.ts +0 -0
- /package/{dist/components → components}/Slider/tests/Slider.stories.js +0 -0
- /package/{dist/components → components}/Stepper/Stepper.d.ts +0 -0
- /package/{dist/components → components}/Stepper/Stepper.js +0 -0
- /package/{dist/components → components}/Stepper/Stepper.module.css +0 -0
- /package/{dist/components → components}/Stepper/Stepper.types.d.ts +0 -0
- /package/{dist/components → components}/Stepper/Stepper.types.js +0 -0
- /package/{dist/components → components}/Stepper/index.d.ts +0 -0
- /package/{dist/components → components}/Stepper/index.js +0 -0
- /package/{dist/components → components}/Stepper/tests/Stepper.stories.d.ts +0 -0
- /package/{dist/components → components}/Stepper/tests/Stepper.stories.js +0 -0
- /package/{dist/components → components}/Switch/Switch.d.ts +0 -0
- /package/{dist/components → components}/Switch/Switch.js +0 -0
- /package/{dist/components → components}/Switch/Switch.module.css +0 -0
- /package/{dist/components → components}/Switch/Switch.types.d.ts +0 -0
- /package/{dist/components → components}/Switch/Switch.types.js +0 -0
- /package/{dist/components → components}/Switch/index.d.ts +0 -0
- /package/{dist/components → components}/Switch/index.js +0 -0
- /package/{dist/components → components}/Switch/tests/Switch.stories.d.ts +0 -0
- /package/{dist/components → components}/Switch/tests/Switch.stories.js +0 -0
- /package/{dist/components → components}/Table/Table.d.ts +0 -0
- /package/{dist/components → components}/Table/Table.js +0 -0
- /package/{dist/components → components}/Table/Table.module.css +0 -0
- /package/{dist/components → components}/Table/Table.types.d.ts +0 -0
- /package/{dist/components → components}/Table/Table.types.js +0 -0
- /package/{dist/components → components}/Table/index.d.ts +0 -0
- /package/{dist/components → components}/Table/index.js +0 -0
- /package/{dist/components → components}/Table/tests/Table.stories.d.ts +0 -0
- /package/{dist/components → components}/Table/tests/Table.stories.js +0 -0
- /package/{dist/components → components}/Tabs/Tabs.d.ts +0 -0
- /package/{dist/components → components}/Tabs/Tabs.js +0 -0
- /package/{dist/components → components}/Tabs/Tabs.module.css +0 -0
- /package/{dist/components → components}/Tabs/Tabs.types.d.ts +0 -0
- /package/{dist/components → components}/Tabs/Tabs.types.js +0 -0
- /package/{dist/components → components}/Tabs/TabsContext.d.ts +0 -0
- /package/{dist/components → components}/Tabs/TabsContext.js +0 -0
- /package/{dist/components → components}/Tabs/TabsControlled.d.ts +0 -0
- /package/{dist/components → components}/Tabs/TabsControlled.js +0 -0
- /package/{dist/components → components}/Tabs/TabsItem.d.ts +0 -0
- /package/{dist/components → components}/Tabs/TabsItem.js +0 -0
- /package/{dist/components → components}/Tabs/TabsList.d.ts +0 -0
- /package/{dist/components → components}/Tabs/TabsList.js +0 -0
- /package/{dist/components → components}/Tabs/TabsPanel.d.ts +0 -0
- /package/{dist/components → components}/Tabs/TabsPanel.js +0 -0
- /package/{dist/components → components}/Tabs/TabsUncontrolled.d.ts +0 -0
- /package/{dist/components → components}/Tabs/TabsUncontrolled.js +0 -0
- /package/{dist/components → components}/Tabs/index.d.ts +0 -0
- /package/{dist/components → components}/Tabs/index.js +0 -0
- /package/{dist/components → components}/Tabs/tests/Tabs.stories.d.ts +0 -0
- /package/{dist/components → components}/Tabs/tests/Tabs.stories.js +0 -0
- /package/{dist/components → components}/Text/Text.d.ts +0 -0
- /package/{dist/components → components}/Text/Text.js +0 -0
- /package/{dist/components → components}/Text/Text.module.css +0 -0
- /package/{dist/components → components}/Text/Text.types.d.ts +0 -0
- /package/{dist/components → components}/Text/Text.types.js +0 -0
- /package/{dist/components → components}/Text/index.d.ts +0 -0
- /package/{dist/components → components}/Text/index.js +0 -0
- /package/{dist/components → components}/Text/tests/Text.stories.d.ts +0 -0
- /package/{dist/components → components}/Text/tests/Text.stories.js +0 -0
- /package/{dist/components → components}/TextArea/TextArea.d.ts +0 -0
- /package/{dist/components → components}/TextArea/TextArea.js +0 -0
- /package/{dist/components → components}/TextArea/TextArea.module.css +0 -0
- /package/{dist/components → components}/TextArea/TextArea.types.d.ts +0 -0
- /package/{dist/components → components}/TextArea/TextArea.types.js +0 -0
- /package/{dist/components → components}/TextArea/index.d.ts +0 -0
- /package/{dist/components → components}/TextArea/index.js +0 -0
- /package/{dist/components → components}/TextArea/tests/TextArea.stories.d.ts +0 -0
- /package/{dist/components → components}/TextArea/tests/TextArea.stories.js +0 -0
- /package/{dist/components → components}/TextField/TextField.d.ts +0 -0
- /package/{dist/components → components}/TextField/TextField.js +0 -0
- /package/{dist/components → components}/TextField/TextField.module.css +0 -0
- /package/{dist/components → components}/TextField/TextField.types.d.ts +0 -0
- /package/{dist/components → components}/TextField/TextField.types.js +0 -0
- /package/{dist/components → components}/TextField/index.d.ts +0 -0
- /package/{dist/components → components}/TextField/index.js +0 -0
- /package/{dist/components → components}/TextField/tests/TextField.stories.d.ts +0 -0
- /package/{dist/components → components}/TextField/tests/TextField.stories.js +0 -0
- /package/{dist/components → components}/Theme/GlobalColorMode.d.ts +0 -0
- /package/{dist/components → components}/Theme/GlobalColorMode.js +0 -0
- /package/{dist/components → components}/Theme/Theme.context.d.ts +0 -0
- /package/{dist/components → components}/Theme/Theme.context.js +0 -0
- /package/{dist/components → components}/Theme/Theme.d.ts +0 -0
- /package/{dist/components → components}/Theme/Theme.js +0 -0
- /package/{dist/components → components}/Theme/Theme.module.css +0 -0
- /package/{dist/components → components}/Theme/Theme.types.d.ts +0 -0
- /package/{dist/components → components}/Theme/Theme.types.js +0 -0
- /package/{dist/components → components}/Theme/index.d.ts +0 -0
- /package/{dist/components → components}/Theme/index.js +0 -0
- /package/{dist/components → components}/Theme/tests/Theme.stories.d.ts +0 -0
- /package/{dist/components → components}/Theme/tests/Theme.stories.js +0 -0
- /package/{dist/components → components}/Theme/useTheme.d.ts +0 -0
- /package/{dist/components → components}/Theme/useTheme.js +0 -0
- /package/{dist/components → components}/Timeline/Timeline.d.ts +0 -0
- /package/{dist/components → components}/Timeline/Timeline.js +0 -0
- /package/{dist/components → components}/Timeline/Timeline.module.css +0 -0
- /package/{dist/components → components}/Timeline/Timeline.types.d.ts +0 -0
- /package/{dist/components → components}/Timeline/Timeline.types.js +0 -0
- /package/{dist/components → components}/Timeline/index.d.ts +0 -0
- /package/{dist/components → components}/Timeline/index.js +0 -0
- /package/{dist/components → components}/Timeline/tests/Timeline.stories.d.ts +0 -0
- /package/{dist/components → components}/Timeline/tests/Timeline.stories.js +0 -0
- /package/{dist/components → components}/Toast/Toast.constants.d.ts +0 -0
- /package/{dist/components → components}/Toast/Toast.constants.js +0 -0
- /package/{dist/components → components}/Toast/Toast.context.d.ts +0 -0
- /package/{dist/components → components}/Toast/Toast.context.js +0 -0
- /package/{dist/components → components}/Toast/Toast.d.ts +0 -0
- /package/{dist/components → components}/Toast/Toast.js +0 -0
- /package/{dist/components → components}/Toast/Toast.module.css +0 -0
- /package/{dist/components → components}/Toast/Toast.types.d.ts +0 -0
- /package/{dist/components → components}/Toast/Toast.types.js +0 -0
- /package/{dist/components → components}/Toast/ToastContainer.d.ts +0 -0
- /package/{dist/components → components}/Toast/ToastContainer.js +0 -0
- /package/{dist/components → components}/Toast/ToastProvider.d.ts +0 -0
- /package/{dist/components → components}/Toast/ToastProvider.js +0 -0
- /package/{dist/components → components}/Toast/ToastRegion.d.ts +0 -0
- /package/{dist/components → components}/Toast/ToastRegion.js +0 -0
- /package/{dist/components → components}/Toast/index.d.ts +0 -0
- /package/{dist/components → components}/Toast/index.js +0 -0
- /package/{dist/components → components}/Toast/tests/Toast.stories.d.ts +0 -0
- /package/{dist/components → components}/Toast/tests/Toast.stories.js +0 -0
- /package/{dist/components → components}/Toast/useToast.d.ts +0 -0
- /package/{dist/components → components}/Toast/useToast.js +0 -0
- /package/{dist/components → components}/Tooltip/Tooltip.d.ts +0 -0
- /package/{dist/components → components}/Tooltip/Tooltip.js +0 -0
- /package/{dist/components → components}/Tooltip/Tooltip.module.css +0 -0
- /package/{dist/components → components}/Tooltip/Tooltip.types.d.ts +0 -0
- /package/{dist/components → components}/Tooltip/Tooltip.types.js +0 -0
- /package/{dist/components → components}/Tooltip/index.d.ts +0 -0
- /package/{dist/components → components}/Tooltip/index.js +0 -0
- /package/{dist/components → components}/Tooltip/tests/Tooltip.stories.d.ts +0 -0
- /package/{dist/components → components}/Tooltip/tests/Tooltip.stories.js +0 -0
- /package/{dist/components → components}/View/View.d.ts +0 -0
- /package/{dist/components → components}/View/View.js +0 -0
- /package/{dist/components → components}/View/View.module.css +0 -0
- /package/{dist/components → components}/View/View.types.d.ts +0 -0
- /package/{dist/components → components}/View/View.types.js +0 -0
- /package/{dist/components → components}/View/index.d.ts +0 -0
- /package/{dist/components → components}/View/index.js +0 -0
- /package/{dist/components → components}/View/tests/View.stories.d.ts +0 -0
- /package/{dist/components → components}/View/tests/View.stories.js +0 -0
- /package/{dist/components → components}/_private/Aligner/Aligner.d.ts +0 -0
- /package/{dist/components → components}/_private/Aligner/Aligner.js +0 -0
- /package/{dist/components → components}/_private/Aligner/Aligner.module.css +0 -0
- /package/{dist/components → components}/_private/Aligner/Aligner.types.d.ts +0 -0
- /package/{dist/components → components}/_private/Aligner/Aligner.types.js +0 -0
- /package/{dist/components → components}/_private/Aligner/index.d.ts +0 -0
- /package/{dist/components → components}/_private/Aligner/index.js +0 -0
- /package/{dist/components → components}/_private/Expandable/Expandable.d.ts +0 -0
- /package/{dist/components → components}/_private/Expandable/Expandable.js +0 -0
- /package/{dist/components → components}/_private/Expandable/Expandable.module.css +0 -0
- /package/{dist/components → components}/_private/Expandable/Expandable.types.d.ts +0 -0
- /package/{dist/components → components}/_private/Expandable/Expandable.types.js +0 -0
- /package/{dist/components → components}/_private/Expandable/index.d.ts +0 -0
- /package/{dist/components → components}/_private/Expandable/index.js +0 -0
- /package/{dist/components → components}/_private/Flyout/Flyout.context.d.ts +0 -0
- /package/{dist/components → components}/_private/Flyout/Flyout.context.js +0 -0
- /package/{dist/components → components}/_private/Flyout/Flyout.d.ts +0 -0
- /package/{dist/components → components}/_private/Flyout/Flyout.js +0 -0
- /package/{dist/components → components}/_private/Flyout/Flyout.module.css +0 -0
- /package/{dist/components → components}/_private/Flyout/Flyout.types.d.ts +0 -0
- /package/{dist/components → components}/_private/Flyout/Flyout.types.js +0 -0
- /package/{dist/components → components}/_private/Flyout/FlyoutContent.d.ts +0 -0
- /package/{dist/components → components}/_private/Flyout/FlyoutContent.js +0 -0
- /package/{dist/components → components}/_private/Flyout/FlyoutControlled.d.ts +0 -0
- /package/{dist/components → components}/_private/Flyout/FlyoutControlled.js +0 -0
- /package/{dist/components → components}/_private/Flyout/FlyoutTrigger.d.ts +0 -0
- /package/{dist/components → components}/_private/Flyout/FlyoutTrigger.js +0 -0
- /package/{dist/components → components}/_private/Flyout/FlyoutUncontrolled.d.ts +0 -0
- /package/{dist/components → components}/_private/Flyout/FlyoutUncontrolled.js +0 -0
- /package/{dist/components → components}/_private/Flyout/index.d.ts +0 -0
- /package/{dist/components → components}/_private/Flyout/index.js +0 -0
- /package/{dist/components → components}/_private/Flyout/tests/Flyout.stories.d.ts +0 -0
- /package/{dist/components → components}/_private/Flyout/tests/Flyout.stories.js +0 -0
- /package/{dist/components → components}/_private/HiddenInput/HiddenInput.d.ts +0 -0
- /package/{dist/components → components}/_private/HiddenInput/HiddenInput.js +0 -0
- /package/{dist/components → components}/_private/HiddenInput/HiddenInput.module.css +0 -0
- /package/{dist/components → components}/_private/HiddenInput/HiddenInput.types.d.ts +0 -0
- /package/{dist/components → components}/_private/HiddenInput/HiddenInput.types.js +0 -0
- /package/{dist/components → components}/_private/HiddenInput/index.d.ts +0 -0
- /package/{dist/components → components}/_private/HiddenInput/index.js +0 -0
- /package/{dist/components → components}/_private/Portal/Portal.d.ts +0 -0
- /package/{dist/components → components}/_private/Portal/Portal.js +0 -0
- /package/{dist/components → components}/_private/Portal/Portal.types.d.ts +0 -0
- /package/{dist/components → components}/_private/Portal/Portal.types.js +0 -0
- /package/{dist/components → components}/_private/Portal/index.d.ts +0 -0
- /package/{dist/components → components}/_private/Portal/index.js +0 -0
- /package/{dist/components → components}/_private/Portal/tests/Portal.stories.d.ts +0 -0
- /package/{dist/components → components}/_private/Portal/tests/Portal.stories.js +0 -0
- /package/{dist/config → config}/postcss.d.ts +0 -0
- /package/{dist/config → config}/postcss.js +0 -0
- /package/{dist/config → config}/tailwind.d.ts +0 -0
- /package/{dist/config → config}/tailwind.js +0 -0
- /package/{dist/constants → constants}/attributes.d.ts +0 -0
- /package/{dist/constants → constants}/attributes.js +0 -0
- /package/{dist/constants → constants}/keys.d.ts +0 -0
- /package/{dist/constants → constants}/keys.js +0 -0
- /package/{dist/constants → constants}/timeouts.d.ts +0 -0
- /package/{dist/constants → constants}/timeouts.js +0 -0
- /package/{dist/hooks → hooks}/_private/useFlyout.d.ts +0 -0
- /package/{dist/hooks → hooks}/_private/useFlyout.js +0 -0
- /package/{dist/hooks → hooks}/_private/useIsDismissible.d.ts +0 -0
- /package/{dist/hooks → hooks}/_private/useIsDismissible.js +0 -0
- /package/{dist/hooks → hooks}/_private/useOnClickOutside.d.ts +0 -0
- /package/{dist/hooks → hooks}/_private/useOnClickOutside.js +0 -0
- /package/{dist/hooks → hooks}/_private/useSingletonEnvironment.d.ts +0 -0
- /package/{dist/hooks → hooks}/_private/useSingletonEnvironment.js +0 -0
- /package/{dist/hooks → hooks}/_private/useSingletonHotkeys.d.ts +0 -0
- /package/{dist/hooks → hooks}/_private/useSingletonHotkeys.js +0 -0
- /package/{dist/hooks → hooks}/_private/useSingletonKeyboardMode.d.ts +0 -0
- /package/{dist/hooks → hooks}/_private/useSingletonKeyboardMode.js +0 -0
- /package/{dist/hooks → hooks}/tests/useHotkeys.stories.d.ts +0 -0
- /package/{dist/hooks → hooks}/tests/useHotkeys.stories.js +0 -0
- /package/{dist/hooks → hooks}/tests/useResponsiveClientValue.stories.d.ts +0 -0
- /package/{dist/hooks → hooks}/tests/useResponsiveClientValue.stories.js +0 -0
- /package/{dist/hooks → hooks}/useElementId.d.ts +0 -0
- /package/{dist/hooks → hooks}/useElementId.js +0 -0
- /package/{dist/hooks → hooks}/useHotkeys.d.ts +0 -0
- /package/{dist/hooks → hooks}/useHotkeys.js +0 -0
- /package/{dist/hooks → hooks}/useIsomorphicLayoutEffect.d.ts +0 -0
- /package/{dist/hooks → hooks}/useIsomorphicLayoutEffect.js +0 -0
- /package/{dist/hooks → hooks}/useRTL.d.ts +0 -0
- /package/{dist/hooks → hooks}/useRTL.js +0 -0
- /package/{dist/hooks → hooks}/useResponsiveClientValue.d.ts +0 -0
- /package/{dist/hooks → hooks}/useResponsiveClientValue.js +0 -0
- /package/{dist/hooks → hooks}/useScrollLock.d.ts +0 -0
- /package/{dist/hooks → hooks}/useScrollLock.js +0 -0
- /package/{dist/hooks → hooks}/useToggle.d.ts +0 -0
- /package/{dist/hooks → hooks}/useToggle.js +0 -0
- /package/{dist/icons → icons}/ArrowUpRight.d.ts +0 -0
- /package/{dist/icons → icons}/ArrowUpRight.js +0 -0
- /package/{dist/icons → icons}/Checkmark.d.ts +0 -0
- /package/{dist/icons → icons}/Checkmark.js +0 -0
- /package/{dist/icons → icons}/ChevronDown.d.ts +0 -0
- /package/{dist/icons → icons}/ChevronDown.js +0 -0
- /package/{dist/icons → icons}/ChevronLeft.d.ts +0 -0
- /package/{dist/icons → icons}/ChevronLeft.js +0 -0
- /package/{dist/icons → icons}/ChevronRight.d.ts +0 -0
- /package/{dist/icons → icons}/ChevronRight.js +0 -0
- /package/{dist/icons → icons}/ChevronVertical.d.ts +0 -0
- /package/{dist/icons → icons}/ChevronVertical.js +0 -0
- /package/{dist/icons → icons}/Close.d.ts +0 -0
- /package/{dist/icons → icons}/Close.js +0 -0
- /package/{dist/icons → icons}/DotsHorizontal.d.ts +0 -0
- /package/{dist/icons → icons}/DotsHorizontal.js +0 -0
- /package/{dist/icons → icons}/Mic.d.ts +0 -0
- /package/{dist/icons → icons}/Mic.js +0 -0
- /package/{dist/icons → icons}/Zap.d.ts +0 -0
- /package/{dist/icons → icons}/Zap.js +0 -0
- /package/{dist/index.d.ts → index.d.ts} +0 -0
- /package/{dist/index.js → index.js} +0 -0
- /package/{dist/styles → styles}/aspectRatio/aspectRatio.module.css +0 -0
- /package/{dist/styles → styles}/aspectRatio/index.d.ts +0 -0
- /package/{dist/styles → styles}/aspectRatio/index.js +0 -0
- /package/{dist/styles → styles}/bleed/bleed.module.css +0 -0
- /package/{dist/styles → styles}/bleed/index.d.ts +0 -0
- /package/{dist/styles → styles}/bleed/index.js +0 -0
- /package/{dist/styles → styles}/height/height.module.css +0 -0
- /package/{dist/styles → styles}/height/index.d.ts +0 -0
- /package/{dist/styles → styles}/height/index.js +0 -0
- /package/{dist/styles → styles}/inset/index.d.ts +0 -0
- /package/{dist/styles → styles}/inset/index.js +0 -0
- /package/{dist/styles → styles}/inset/inset.module.css +0 -0
- /package/{dist/styles → styles}/maxHeight/index.d.ts +0 -0
- /package/{dist/styles → styles}/maxHeight/index.js +0 -0
- /package/{dist/styles → styles}/maxHeight/maxHeight.module.css +0 -0
- /package/{dist/styles → styles}/maxWidth/index.d.ts +0 -0
- /package/{dist/styles → styles}/maxWidth/index.js +0 -0
- /package/{dist/styles → styles}/maxWidth/maxWidth.module.css +0 -0
- /package/{dist/styles → styles}/minHeight/minHeight.module.css +0 -0
- /package/{dist/styles/minHeight → styles/minWidth}/index.d.ts +0 -0
- /package/{dist/styles → styles}/minWidth/index.js +0 -0
- /package/{dist/styles → styles}/minWidth/minWidth.module.css +0 -0
- /package/{dist/styles → styles}/padding/index.d.ts +0 -0
- /package/{dist/styles → styles}/padding/index.js +0 -0
- /package/{dist/styles → styles}/padding/padding.module.css +0 -0
- /package/{dist/styles → styles}/position/index.d.ts +0 -0
- /package/{dist/styles → styles}/position/index.js +0 -0
- /package/{dist/styles → styles}/position/position.module.css +0 -0
- /package/{dist/styles → styles}/radius/index.d.ts +0 -0
- /package/{dist/styles → styles}/radius/index.js +0 -0
- /package/{dist/styles → styles}/radius/radius.module.css +0 -0
- /package/{dist/styles → styles}/types.d.ts +0 -0
- /package/{dist/styles → styles}/types.js +0 -0
- /package/{dist/styles → styles}/width/index.d.ts +0 -0
- /package/{dist/styles → styles}/width/index.js +0 -0
- /package/{dist/styles → styles}/width/width.module.css +0 -0
- /package/{dist/themes → themes}/_generator/constants.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/constants.js +0 -0
- /package/{dist/themes → themes}/_generator/definitions/figma.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/definitions/figma.js +0 -0
- /package/{dist/themes → themes}/_generator/definitions/reshaped.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/definitions/reshaped.js +0 -0
- /package/{dist/themes → themes}/_generator/definitions/slate.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/definitions/slate.js +0 -0
- /package/{dist/themes → themes}/_generator/tests/themes.stories.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/tests/themes.stories.js +0 -0
- /package/{dist/themes → themes}/_generator/tokens/color/color.transforms.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/tokens/color/color.transforms.js +0 -0
- /package/{dist/themes → themes}/_generator/tokens/color/color.types.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/tokens/color/color.types.js +0 -0
- /package/{dist/themes → themes}/_generator/tokens/duration/duration.transforms.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/tokens/duration/duration.transforms.js +0 -0
- /package/{dist/themes → themes}/_generator/tokens/duration/duration.types.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/tokens/duration/duration.types.js +0 -0
- /package/{dist/themes → themes}/_generator/tokens/easing/easing.transforms.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/tokens/easing/easing.transforms.js +0 -0
- /package/{dist/themes → themes}/_generator/tokens/easing/easing.types.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/tokens/easing/easing.types.js +0 -0
- /package/{dist/themes → themes}/_generator/tokens/font/font.transforms.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/tokens/font/font.transforms.js +0 -0
- /package/{dist/themes → themes}/_generator/tokens/font/font.types.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/tokens/font/font.types.js +0 -0
- /package/{dist/themes → themes}/_generator/tokens/fontFamily/fontFamily.transforms.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/tokens/fontFamily/fontFamily.transforms.js +0 -0
- /package/{dist/themes → themes}/_generator/tokens/fontFamily/fontFamily.types.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/tokens/fontFamily/fontFamily.types.js +0 -0
- /package/{dist/themes → themes}/_generator/tokens/fontWeight/fontWeight.transforms.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/tokens/fontWeight/fontWeight.transforms.js +0 -0
- /package/{dist/themes → themes}/_generator/tokens/fontWeight/fontWeight.types.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/tokens/fontWeight/fontWeight.types.js +0 -0
- /package/{dist/themes → themes}/_generator/tokens/shadow/shadow.transforms.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/tokens/shadow/shadow.transforms.js +0 -0
- /package/{dist/themes → themes}/_generator/tokens/shadow/shadow.types.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/tokens/shadow/shadow.types.js +0 -0
- /package/{dist/themes → themes}/_generator/tokens/transforms.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/tokens/transforms.js +0 -0
- /package/{dist/themes → themes}/_generator/tokens/types.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/tokens/types.js +0 -0
- /package/{dist/themes → themes}/_generator/tokens/unit/unit.transforms.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/tokens/unit/unit.transforms.js +0 -0
- /package/{dist/themes → themes}/_generator/tokens/unit/unit.types.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/tokens/unit/unit.types.js +0 -0
- /package/{dist/themes → themes}/_generator/tokens/viewport/viewport.transforms.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/tokens/viewport/viewport.transforms.js +0 -0
- /package/{dist/themes → themes}/_generator/tokens/viewport/viewport.types.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/tokens/viewport/viewport.types.js +0 -0
- /package/{dist/themes → themes}/_generator/transform.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/transform.js +0 -0
- /package/{dist/themes → themes}/_generator/types.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/types.js +0 -0
- /package/{dist/themes → themes}/_generator/utilities/color.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/utilities/color.js +0 -0
- /package/{dist/themes → themes}/_generator/utilities/css.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/utilities/css.js +0 -0
- /package/{dist/themes → themes}/_generator/utilities/generateBackgroundColors.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/utilities/generateBackgroundColors.js +0 -0
- /package/{dist/themes → themes}/_generator/utilities/generateColors.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/utilities/generateColors.js +0 -0
- /package/{dist/themes → themes}/_generator/utilities/generateUnits.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/utilities/generateUnits.js +0 -0
- /package/{dist/themes → themes}/_generator/utilities/mergeDeep.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/utilities/mergeDeep.js +0 -0
- /package/{dist/themes → themes}/_generator/utilities/mergeDefinitions.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/utilities/mergeDefinitions.js +0 -0
- /package/{dist/themes → themes}/_generator/utilities/resolveTokenReference.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/utilities/resolveTokenReference.js +0 -0
- /package/{dist/themes → themes}/_generator/utilities/tests/color.test.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/utilities/tests/color.test.js +0 -0
- /package/{dist/themes → themes}/_generator/utilities/tests/generateColors.test.d.ts +0 -0
- /package/{dist/themes → themes}/_generator/utilities/tests/generateColors.test.js +0 -0
- /package/{dist/themes → themes}/figma/media.css +0 -0
- /package/{dist/themes → themes}/figma/theme.css +0 -0
- /package/{dist/themes → themes}/fragments/twitter/theme.css +0 -0
- /package/{dist/themes → themes}/index.d.ts +0 -0
- /package/{dist/themes → themes}/index.js +0 -0
- /package/{dist/themes → themes}/reshaped/media.css +0 -0
- /package/{dist/themes → themes}/reshaped/theme.css +0 -0
- /package/{dist/themes → themes}/slate/media.css +0 -0
- /package/{dist/themes → themes}/slate/theme.css +0 -0
- /package/{dist/types → types}/config.d.ts +0 -0
- /package/{dist/types → types}/config.js +0 -0
- /package/{dist/types → types}/global.d.ts +0 -0
- /package/{dist/types → types}/global.js +0 -0
- /package/{dist/utilities → utilities}/Chain.d.ts +0 -0
- /package/{dist/utilities → utilities}/Chain.js +0 -0
- /package/{dist/utilities → utilities}/a11y.d.ts +0 -0
- /package/{dist/utilities → utilities}/animation.d.ts +0 -0
- /package/{dist/utilities → utilities}/animation.js +0 -0
- /package/{dist/utilities → utilities}/dom.d.ts +0 -0
- /package/{dist/utilities → utilities}/dom.js +0 -0
- /package/{dist/utilities → utilities}/helpers.d.ts +0 -0
- /package/{dist/utilities → utilities}/helpers.js +0 -0
- /package/{dist/utilities → utilities}/storybook/Example.d.ts +0 -0
- /package/{dist/utilities → utilities}/storybook/Example.js +0 -0
- /package/{dist/utilities → utilities}/storybook/Example.module.css +0 -0
- /package/{dist/utilities → utilities}/storybook/Placeholder.d.ts +0 -0
- /package/{dist/utilities → utilities}/storybook/Placeholder.js +0 -0
- /package/{dist/utilities → utilities}/storybook/index.d.ts +0 -0
- /package/{dist/utilities → utilities}/storybook/index.js +0 -0
- /package/{dist/utilities → utilities}/string.d.ts +0 -0
- /package/{dist/utilities → utilities}/string.js +0 -0
package/CHANGELOG.md
CHANGED
package/bin/clean.sh
CHANGED
package/bin/cli.js
CHANGED
@@ -4,7 +4,7 @@ const path = require("path");
|
|
4
4
|
const process = require("process");
|
5
5
|
const chalk = require("chalk");
|
6
6
|
const { Command } = require("commander");
|
7
|
-
const { addTheme, addThemeFragment } = require("../
|
7
|
+
const { addTheme, addThemeFragment } = require("../cli/theming");
|
8
8
|
|
9
9
|
const program = new Command();
|
10
10
|
|
package/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,be){"use strict";var Za=Object.defineProperty,Qa=Object.defineProperties;var el=Object.getOwnPropertyDescriptors;var wn=Object.getOwnPropertySymbols;var Ro=Object.prototype.hasOwnProperty,Yo=Object.prototype.propertyIsEnumerable;var Ho=(T,c,be)=>c in T?Za(T,c,{enumerable:!0,configurable:!0,writable:!0,value:be}):T[c]=be,b=(T,c)=>{for(var be in c||(c={}))Ro.call(c,be)&&Ho(T,be,c[be]);if(wn)for(var be of wn(c))Yo.call(c,be)&&Ho(T,be,c[be]);return T},k=(T,c)=>Qa(T,el(c));var ze=(T,c)=>{var be={};for(var Ce in T)Ro.call(T,Ce)&&c.indexOf(Ce)<0&&(be[Ce]=T[Ce]);if(T!=null&&wn)for(var Ce of wn(T))c.indexOf(Ce)<0&&Yo.call(T,Ce)&&(be[Ce]=T[Ce]);return be};var Ce={exports:{}},Et={};/**
|
2
|
+
* @license React
|
3
|
+
* react-jsx-runtime.development.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 hr;function Uo(){return hr||(hr=1,process.env.NODE_ENV!=="production"&&function(){var e=c,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),p=Symbol.iterator,x="@@iterator";function w(m){if(m===null||typeof m!="object")return null;var $=p&&m[p]||m[x];return typeof $=="function"?$:null}var y=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(m){{for(var $=arguments.length,S=new Array($>1?$-1:0),V=1;V<$;V++)S[V-1]=arguments[V];j("error",m,S)}}function j(m,$,S){{var V=y.ReactDebugCurrentFrame,Q=V.getStackAddendum();Q!==""&&($+="%s",S=S.concat([Q]));var re=S.map(function(Y){return String(Y)});re.unshift("Warning: "+$),Function.prototype.apply.call(console[m],console,re)}}var C=!1,N=!1,z=!1,E=!1,D=!1,B;B=Symbol.for("react.module.reference");function M(m){return!!(typeof m=="string"||typeof m=="function"||m===r||m===s||D||m===o||m===f||m===u||E||m===g||C||N||z||typeof m=="object"&&m!==null&&(m.$$typeof===_||m.$$typeof===h||m.$$typeof===a||m.$$typeof===l||m.$$typeof===d||m.$$typeof===B||m.getModuleId!==void 0))}function q(m,$,S){var V=m.displayName;if(V)return V;var Q=$.displayName||$.name||"";return Q!==""?S+"("+Q+")":S}function L(m){return m.displayName||"Context"}function W(m){if(m==null)return null;if(typeof m.tag=="number"&&v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof m=="function")return m.displayName||m.name||null;if(typeof m=="string")return m;switch(m){case r:return"Fragment";case n:return"Portal";case s:return"Profiler";case o:return"StrictMode";case f:return"Suspense";case u:return"SuspenseList"}if(typeof m=="object")switch(m.$$typeof){case l:var $=m;return L($)+".Consumer";case a:var S=m;return L(S._context)+".Provider";case d:return q(m,m.render,"ForwardRef");case h:var V=m.displayName||null;return V!==null?V:W(m.type)||"Memo";case _:{var Q=m,re=Q._payload,Y=Q._init;try{return W(Y(re))}catch(R){return null}}}return null}var A=Object.assign,G=0,H,O,P,K,he,_e,ie;function X(){}X.__reactDisabledLog=!0;function J(){{if(G===0){H=console.log,O=console.info,P=console.warn,K=console.error,he=console.group,_e=console.groupCollapsed,ie=console.groupEnd;var m={configurable:!0,enumerable:!0,value:X,writable:!0};Object.defineProperties(console,{info:m,log:m,warn:m,error:m,group:m,groupCollapsed:m,groupEnd:m})}G++}}function Z(){{if(G--,G===0){var m={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:A({},m,{value:H}),info:A({},m,{value:O}),warn:A({},m,{value:P}),error:A({},m,{value:K}),group:A({},m,{value:he}),groupCollapsed:A({},m,{value:_e}),groupEnd:A({},m,{value:ie})})}G<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ge=y.ReactCurrentDispatcher,Ne;function te(m,$,S){{if(Ne===void 0)try{throw Error()}catch(Q){var V=Q.stack.trim().match(/\n( *(at )?)/);Ne=V&&V[1]||""}return`
|
10
|
+
`+Ne+m}}var je=!1,me;{var qe=typeof WeakMap=="function"?WeakMap:Map;me=new qe}function Ue(m,$){if(!m||je)return"";{var S=me.get(m);if(S!==void 0)return S}var V;je=!0;var Q=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var re;re=ge.current,ge.current=null,J();try{if($){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch(Je){V=Je}Reflect.construct(m,[],Y)}else{try{Y.call()}catch(Je){V=Je}m.call(Y.prototype)}}else{try{throw Error()}catch(Je){V=Je}m()}}catch(Je){if(Je&&V&&typeof Je.stack=="string"){for(var R=Je.stack.split(`
|
11
|
+
`),we=V.stack.split(`
|
12
|
+
`),ae=R.length-1,le=we.length-1;ae>=1&&le>=0&&R[ae]!==we[le];)le--;for(;ae>=1&&le>=0;ae--,le--)if(R[ae]!==we[le]){if(ae!==1||le!==1)do if(ae--,le--,le<0||R[ae]!==we[le]){var Ee=`
|
13
|
+
`+R[ae].replace(" at new "," at ");return m.displayName&&Ee.includes("<anonymous>")&&(Ee=Ee.replace("<anonymous>",m.displayName)),typeof m=="function"&&me.set(m,Ee),Ee}while(ae>=1&&le>=0);break}}}finally{je=!1,ge.current=re,Z(),Error.prepareStackTrace=Q}var $t=m?m.displayName||m.name:"",Bo=$t?te($t):"";return typeof m=="function"&&me.set(m,Bo),Bo}function it(m,$,S){return Ue(m,!1)}function Wt(m){var $=m.prototype;return!!($&&$.isReactComponent)}function Le(m,$,S){if(m==null)return"";if(typeof m=="function")return Ue(m,Wt(m));if(typeof m=="string")return te(m);switch(m){case f:return te("Suspense");case u:return te("SuspenseList")}if(typeof m=="object")switch(m.$$typeof){case d:return it(m.render);case h:return Le(m.type,$,S);case _:{var V=m,Q=V._payload,re=V._init;try{return Le(re(Q),$,S)}catch(Y){}}}return""}var Ae=Object.prototype.hasOwnProperty,Ke={},Ge=y.ReactDebugCurrentFrame;function Pe(m){if(m){var $=m._owner,S=Le(m.type,m._source,$?$.type:null);Ge.setExtraStackFrame(S)}else Ge.setExtraStackFrame(null)}function at(m,$,S,V,Q){{var re=Function.call.bind(Ae);for(var Y in m)if(re(m,Y)){var R=void 0;try{if(typeof m[Y]!="function"){var we=Error((V||"React class")+": "+S+" type `"+Y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof m[Y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw we.name="Invariant Violation",we}R=m[Y]($,Y,V,S,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ae){R=ae}R&&!(R instanceof Error)&&(Pe(Q),v("%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).",V||"React class",S,Y,typeof R),Pe(null)),R instanceof Error&&!(R.message in Ke)&&(Ke[R.message]=!0,Pe(Q),v("Failed %s type: %s",S,R.message),Pe(null))}}}var hn=Array.isArray;function lt(m){return hn(m)}function ur(m){{var $=typeof Symbol=="function"&&Symbol.toStringTag,S=$&&m[Symbol.toStringTag]||m.constructor.name||"Object";return S}}function gn(m){try{return bn(m),!1}catch($){return!0}}function bn(m){return""+m}function vn(m){if(gn(m))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ur(m)),bn(m)}var _t=y.ReactCurrentOwner,xe={key:!0,ref:!0,__self:!0,__source:!0},ue,Be,ye;ye={};function kt(m){if(Ae.call(m,"ref")){var $=Object.getOwnPropertyDescriptor(m,"ref").get;if($&&$.isReactWarning)return!1}return m.ref!==void 0}function Xe(m){if(Ae.call(m,"key")){var $=Object.getOwnPropertyDescriptor(m,"key").get;if($&&$.isReactWarning)return!1}return m.key!==void 0}function ct(m,$){if(typeof m.ref=="string"&&_t.current&&$&&_t.current.stateNode!==$){var S=W(_t.current.type);ye[S]||(v('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',W(_t.current.type),m.ref),ye[S]=!0)}}function Fe(m,$){{var S=function(){ue||(ue=!0,v("%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)",$))};S.isReactWarning=!0,Object.defineProperty(m,"key",{get:S,configurable:!0})}}function pn(m,$){{var S=function(){Be||(Be=!0,v("%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)",$))};S.isReactWarning=!0,Object.defineProperty(m,"ref",{get:S,configurable:!0})}}var xn=function(m,$,S,V,Q,re,Y){var R={$$typeof:t,type:m,key:$,ref:S,props:Y,_owner:re};return R._store={},Object.defineProperty(R._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(R,"_self",{configurable:!1,enumerable:!1,writable:!1,value:V}),Object.defineProperty(R,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Q}),Object.freeze&&(Object.freeze(R.props),Object.freeze(R)),R};function yn(m,$,S,V,Q){{var re,Y={},R=null,we=null;S!==void 0&&(vn(S),R=""+S),Xe($)&&(vn($.key),R=""+$.key),kt($)&&(we=$.ref,ct($,Q));for(re in $)Ae.call($,re)&&!xe.hasOwnProperty(re)&&(Y[re]=$[re]);if(m&&m.defaultProps){var ae=m.defaultProps;for(re in ae)Y[re]===void 0&&(Y[re]=ae[re])}if(R||we){var le=typeof m=="function"?m.displayName||m.name||"Unknown":m;R&&Fe(Y,le),we&&pn(Y,le)}return xn(m,R,we,Q,V,_t.current,Y)}}var _r=y.ReactCurrentOwner,Ao=y.ReactDebugCurrentFrame;function Nt(m){if(m){var $=m._owner,S=Le(m.type,m._source,$?$.type:null);Ao.setExtraStackFrame(S)}else Ao.setExtraStackFrame(null)}var mr;mr=!1;function fr(m){return typeof m=="object"&&m!==null&&m.$$typeof===t}function Po(){{if(_r.current){var m=W(_r.current.type);if(m)return`
|
14
|
+
|
15
|
+
Check the render method of \``+m+"`."}return""}}function Ha(m){{if(m!==void 0){var $=m.fileName.replace(/^.*[\\\/]/,""),S=m.lineNumber;return`
|
16
|
+
|
17
|
+
Check your code at `+$+":"+S+"."}return""}}var Fo={};function Ra(m){{var $=Po();if(!$){var S=typeof m=="string"?m:m.displayName||m.name;S&&($=`
|
18
|
+
|
19
|
+
Check the top-level render call using <`+S+">.")}return $}}function Vo(m,$){{if(!m._store||m._store.validated||m.key!=null)return;m._store.validated=!0;var S=Ra($);if(Fo[S])return;Fo[S]=!0;var V="";m&&m._owner&&m._owner!==_r.current&&(V=" It was passed a child from "+W(m._owner.type)+"."),Nt(m),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',S,V),Nt(null)}}function Oo(m,$){{if(typeof m!="object")return;if(lt(m))for(var S=0;S<m.length;S++){var V=m[S];fr(V)&&Vo(V,$)}else if(fr(m))m._store&&(m._store.validated=!0);else if(m){var Q=w(m);if(typeof Q=="function"&&Q!==m.entries)for(var re=Q.call(m),Y;!(Y=re.next()).done;)fr(Y.value)&&Vo(Y.value,$)}}}function Ya(m){{var $=m.type;if($==null||typeof $=="string")return;var S;if(typeof $=="function")S=$.propTypes;else if(typeof $=="object"&&($.$$typeof===d||$.$$typeof===h))S=$.propTypes;else return;if(S){var V=W($);at(S,m.props,"prop",V,m)}else if($.PropTypes!==void 0&&!mr){mr=!0;var Q=W($);v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Q||"Unknown")}typeof $.getDefaultProps=="function"&&!$.getDefaultProps.isReactClassApproved&&v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ua(m){{for(var $=Object.keys(m.props),S=0;S<$.length;S++){var V=$[S];if(V!=="children"&&V!=="key"){Nt(m),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",V),Nt(null);break}}m.ref!==null&&(Nt(m),v("Invalid attribute `ref` supplied to `React.Fragment`."),Nt(null))}}function Wo(m,$,S,V,Q,re){{var Y=M(m);if(!Y){var R="";(m===void 0||typeof m=="object"&&m!==null&&Object.keys(m).length===0)&&(R+=" 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 we=Ha(Q);we?R+=we:R+=Po();var ae;m===null?ae="null":lt(m)?ae="array":m!==void 0&&m.$$typeof===t?(ae="<"+(W(m.type)||"Unknown")+" />",R=" Did you accidentally export a JSX literal instead of a component?"):ae=typeof m,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ae,R)}var le=yn(m,$,S,Q,re);if(le==null)return le;if(Y){var Ee=$.children;if(Ee!==void 0)if(V)if(lt(Ee)){for(var $t=0;$t<Ee.length;$t++)Oo(Ee[$t],m);Object.freeze&&Object.freeze(Ee)}else v("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 Oo(Ee,m)}return m===r?Ua(le):Ya(le),le}}function Ka(m,$,S){return Wo(m,$,S,!0)}function Ga(m,$,S){return Wo(m,$,S,!1)}var Xa=Ga,Ja=Ka;Et.Fragment=r,Et.jsx=Xa,Et.jsxs=Ja}()),Et}var zt={};/**
|
20
|
+
* @license React
|
21
|
+
* react-jsx-runtime.production.min.js
|
22
|
+
*
|
23
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
24
|
+
*
|
25
|
+
* This source code is licensed under the MIT license found in the
|
26
|
+
* LICENSE file in the root directory of this source tree.
|
27
|
+
*/var gr;function Ko(){if(gr)return zt;gr=1;var e=c,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function a(l,d,f){var u,h={},_=null,g=null;f!==void 0&&(_=""+f),d.key!==void 0&&(_=""+d.key),d.ref!==void 0&&(g=d.ref);for(u in d)r.call(d,u)&&!s.hasOwnProperty(u)&&(h[u]=d[u]);if(l&&l.defaultProps)for(u in d=l.defaultProps,d)h[u]===void 0&&(h[u]=d[u]);return{$$typeof:t,type:l,key:_,ref:g,props:h,_owner:o.current}}return zt.Fragment=n,zt.jsx=a,zt.jsxs=a,zt}process.env.NODE_ENV==="production"?Ce.exports=Ko():Ce.exports=Uo();var i=Ce.exports;const br=(e,t=20)=>{let n;return(...o)=>{clearTimeout(n),n=setTimeout(()=>e(...o),t)}};function Go(e,t){const n=br(e,t);return r=>("persist"in r&&r.persist(),n(r))}const Xo=(e,t)=>{let n=!1;return(...r)=>{n||(e(...r),n=!0,setTimeout(()=>{n=!1,setTimeout(()=>{n||e(...r)},t)},t))}},I=(...e)=>e.reduce((t,n)=>{if(Array.isArray(n)){const r=I(...n);return r?`${t} ${r}`:t}return n?`${t} ${n}`:t},""),vr=(e,t,n)=>{const{base:r,excludeValueFromClassName:o}=n||{},s=typeof e=="string"?e:e(t);return t===!0&&r||o?s:t===!0&&!r?`${s}-true`:t===!1&&!r?`${s}-false`:t!==void 0?`${s}-${t}`:null},U=(e,t,n,r)=>{if(typeof n!="object"){const o=vr(t,n,{base:!0,excludeValueFromClassName:r==null?void 0:r.excludeValueFromClassName});return o?[e[o]]:[]}return Object.keys(n).reduce((o,s)=>{const a=s==="s",l=vr(t,n[s],{base:a,excludeValueFromClassName:r==null?void 0:r.excludeValueFromClassName}),d=a?"":`--${s}`;return[...o,e[`${l}${d}`]]},[])},oe=(e,t)=>t===void 0?{}:typeof t!="object"?{[`${e}-s`]:t}:Object.keys(t).reduce((n,r)=>{const o=t[r];return o===void 0||o===!1?n:k(b({},n),{[`${e}-${r}`]:o})},{}),Jo=e=>e===null?!1:typeof e=="object"&&e!==null&&"s"in e,Te=(e,t)=>Jo(e)?Object.keys(e).reduce((r,o)=>{const s=e[o];return s==null?r:k(b({},r),{[o]:t(s,o)})},{}):t(e,"s"),Me=e=>{const t=c.useId();return e||t},jn=c.createContext({active:!1,onToggle:()=>{},triggerId:"",contentId:""}),pr=e=>{const{children:t,onToggle:n,active:r,iconPosition:o,iconSize:s,className:a,attributes:l}=e,d=I(a),f=Me(),u=c.useMemo(()=>({triggerId:`${f}-trigger`,contentId:`${f}-content`,active:r,onToggle:n,iconPosition:o,iconSize:s}),[r]);return i.jsx("div",k(b({},l),{className:d,children:i.jsx(jn.Provider,{value:u,children:t})}))},Zo=e=>{const l=e,{defaultActive:t,onToggle:n}=l,r=ze(l,["defaultActive","onToggle"]),[o,s]=c.useState(t||!1),a=d=>{s(d),n==null||n(d)};return i.jsx(pr,k(b({},r),{onToggle:a,active:o}))},Tt={root:"_root_1ao0i_1","--disabled":"_--disabled_1ao0i_28","--full-width":"_--full-width_1ao0i_37","--inset":"_--inset_1ao0i_45","--radius-inherit":"_--radius-inherit_1ao0i_49"},Qo=(e,t)=>{const{children:n,href:r,onClick:o,type:s,disabled:a,insetFocus:l,borderRadius:d,as:f,fullWidth:u,className:h,attributes:_}=e,g=I(Tt.root,h,a&&Tt["--disabled"],d&&Tt[`--radius-${d}`],l&&Tt["--inset"],u&&Tt["--full-width"]),p=b({},_),x=c.useRef(!1),w=o||(_==null?void 0:_.onClick),y=(_==null?void 0:_.onFocus)||(_==null?void 0:_.onBlur),v=!!(r||_!=null&&_.href),j=!!(w||y||s);let C;if(v)p.href=a?void 0:r||(_==null?void 0:_.href),C="a";else if(j&&(!f||f==="button"))C="button",p.type=s||(_==null?void 0:_.type)||"button",p.disabled=a||(_==null?void 0:_.disabled);else if(j){const D=!(f==="label")||w||y;C=f||"span",p.role=D?"button":void 0,p.tabIndex=D?0:void 0}else C=f||"span";const N=E=>{var D;a||x.current||(o==null||o(E),(D=_==null?void 0:_.onClick)==null||D.call(_,E))},z=E=>{if(p.role==="button"||v)return;const B=E.key===" ",M=E.key==="Enter";!B&&!M||(E.preventDefault(),N(E),x.current=!0,requestAnimationFrame(()=>{x.current=!1}))};return i.jsx(C,k(b({ref:t},p),{className:g,onClick:N,onKeyDown:z,children:n}))},$e=c.forwardRef(Qo),Cn={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"},Bt=e=>{const{vertical:t,blank:n,className:r,attributes:o}=e,s=I(Cn.root,r,n&&Cn["--blank"],...U(Cn,"--vertical",t));let a;return(typeof t=="boolean"||t===void 0)&&(a=t?"vertical":"horizontal"),i.jsx("div",k(b({},o),{role:"separator","aria-orientation":a,className:s}))},Ht={root:"_root_1sx8x_6","--display-inline":"_--display-inline_1sx8x_12","--display-flex":"_--display-flex_1sx8x_16","--hidden":"_--hidden_1sx8x_20","--visibility":"_--visibility_1sx8x_24","--hidden-true--m":"_--hidden-true--m_1sx8x_1","--hidden-false--m":"_--hidden-false--m_1sx8x_1","--hidden-true--l":"_--hidden-true--l_1sx8x_1","--hidden-false--l":"_--hidden-false--l_1sx8x_1","--hidden-true--xl":"_--hidden-true--xl_1sx8x_1","--hidden-false--xl":"_--hidden-false--xl_1sx8x_1"},mt=e=>{const{as:t="div",children:n,visibility:r,hide:o,displayStyle:s}=e,a=I(Ht.root,...U(Ht,"--hidden",o),r&&Ht["--visibility"],s&&Ht[`--display-${s}`]);return typeof n=="function"?i.jsx(i.Fragment,{children:n(a)}):i.jsx(t,{className:a,children:n})},ee={root:"_root_18bl3_1",item:"_item_18bl3_10","--padding":"_--padding_18bl3_18","--padding-top":"_--padding-top_18bl3_23","--padding-bottom":"_--padding-bottom_18bl3_27","--padding-start":"_--padding-start_18bl3_31","--padding-end":"_--padding-end_18bl3_35","--animated":"_--animated_18bl3_39","--align-text-start":"_--align-text-start_18bl3_1","--align-text-center":"_--align-text-center_18bl3_1","--align-text-end":"_--align-text-end_18bl3_1","--bg-neutral":"_--bg-neutral_18bl3_1","--bg-positive":"_--bg-positive_18bl3_1","--bg-warning":"_--bg-warning_18bl3_1","--bg-critical":"_--bg-critical_18bl3_1","--bg-primary":"_--bg-primary_18bl3_1","--bg-neutral-faded":"_--bg-neutral-faded_18bl3_1","--bg-positive-faded":"_--bg-positive-faded_18bl3_1","--bg-warning-faded":"_--bg-warning-faded_18bl3_1","--bg-critical-faded":"_--bg-critical-faded_18bl3_1","--bg-primary-faded":"_--bg-primary-faded_18bl3_1","--bg-page":"_--bg-page_18bl3_1","--bg-page-faded":"_--bg-page-faded_18bl3_1","--bg-disabled":"_--bg-disabled_18bl3_1","--bg-disabled-faded":"_--bg-disabled-faded_18bl3_1","--bg-elevation-base":"_--bg-elevation-base_18bl3_1","--bg-elevation-raised":"_--bg-elevation-raised_18bl3_1","--bg-elevation-overlay":"_--bg-elevation-overlay_18bl3_1","--bg-brand":"_--bg-brand_18bl3_65","--bg-white":"_--bg-white_18bl3_70","--bg-black":"_--bg-black_18bl3_75","--shadow-raised":"_--shadow-raised_18bl3_80","--shadow-overlay":"_--shadow-overlay_18bl3_84","--bd":"_--bd_18bl3_88","--bd-neutral-faded":"_--bd-neutral-faded_18bl3_1","--bd-neutral":"_--bd-neutral_18bl3_1","--bd-positive":"_--bd-positive_18bl3_1","--bd-positive-faded":"_--bd-positive-faded_18bl3_1","--bd-warning":"_--bd-warning_18bl3_1","--bd-warning-faded":"_--bd-warning-faded_18bl3_1","--bd-critical":"_--bd-critical_18bl3_1","--bd-critical-faded":"_--bd-critical-faded_18bl3_1","--bd-primary":"_--bd-primary_18bl3_1","--bd-primary-faded":"_--bd-primary-faded_18bl3_1","--bd-disabled":"_--bd-disabled_18bl3_1","--bd-brand":"_--bd-brand_18bl3_99","--bd-transparent":"_--bd-transparent_18bl3_103","--overflow-hidden":"_--overflow-hidden_18bl3_107","--overflow-auto":"_--overflow-auto_18bl3_111","--divided":"_--divided_18bl3_115","--flex":"_--flex_18bl3_119","--direction-column":"_--direction-column_18bl3_1","item--gap-before":"_item--gap-before_18bl3_131","item--gap-auto":"_item--gap-auto_18bl3_135","--direction-column-reverse":"_--direction-column-reverse_18bl3_1","--direction-row":"_--direction-row_18bl3_1","--direction-row-reverse":"_--direction-row-reverse_18bl3_1","--nowrap":"_--nowrap_18bl3_190","--wrap":"_--wrap_18bl3_198","--nowrap-false--m":"_--nowrap-false--m_18bl3_1","--wrap-true--m":"_--wrap-true--m_18bl3_1","--nowrap-true--m":"_--nowrap-true--m_18bl3_1","--wrap-false--m":"_--wrap-false--m_18bl3_1","--nowrap-false--l":"_--nowrap-false--l_18bl3_1","--wrap-true--l":"_--wrap-true--l_18bl3_1","--nowrap-true--l":"_--nowrap-true--l_18bl3_1","--wrap-false--l":"_--wrap-false--l_18bl3_1","--nowrap-false--xl":"_--nowrap-false--xl_18bl3_1","--wrap-true--xl":"_--wrap-true--xl_18bl3_1","--nowrap-true--xl":"_--nowrap-true--xl_18bl3_1","--wrap-false--xl":"_--wrap-false--xl_18bl3_1","--align-start":"_--align-start_18bl3_1","--align-end":"_--align-end_18bl3_1","--align-center":"_--align-center_18bl3_1","--align-stretch":"_--align-stretch_18bl3_1","--align-baseline":"_--align-baseline_18bl3_1","--justify-start":"_--justify-start_18bl3_1","--justify-end":"_--justify-end_18bl3_1","--justify-center":"_--justify-center_18bl3_1","--justify-space-between":"_--justify-space-between_18bl3_1",divider:"_divider_18bl3_257","item--grow":"_item--grow_18bl3_261","item--columns":"_item--columns_18bl3_279","item--columns-1":"_item--columns-1_18bl3_1","item--columns-2":"_item--columns-2_18bl3_1","item--columns-3":"_item--columns-3_18bl3_1","item--columns-4":"_item--columns-4_18bl3_1","item--columns-5":"_item--columns-5_18bl3_1","item--columns-6":"_item--columns-6_18bl3_1","item--columns-7":"_item--columns-7_18bl3_1","item--columns-8":"_item--columns-8_18bl3_1","item--columns-9":"_item--columns-9_18bl3_1","item--columns-10":"_item--columns-10_18bl3_1","item--columns-11":"_item--columns-11_18bl3_1","item--columns-12":"_item--columns-12_18bl3_1","item--columns-auto":"_item--columns-auto_18bl3_300","item--columns-1--m":"_item--columns-1--m_18bl3_1","item--columns-auto--m":"_item--columns-auto--m_18bl3_1","item--columns-2--m":"_item--columns-2--m_18bl3_1","item--columns-3--m":"_item--columns-3--m_18bl3_1","item--columns-4--m":"_item--columns-4--m_18bl3_1","item--columns-5--m":"_item--columns-5--m_18bl3_1","item--columns-6--m":"_item--columns-6--m_18bl3_1","item--columns-7--m":"_item--columns-7--m_18bl3_1","item--columns-8--m":"_item--columns-8--m_18bl3_1","item--columns-9--m":"_item--columns-9--m_18bl3_1","item--columns-10--m":"_item--columns-10--m_18bl3_1","item--columns-11--m":"_item--columns-11--m_18bl3_1","item--columns-12--m":"_item--columns-12--m_18bl3_1","item--columns-1--l":"_item--columns-1--l_18bl3_1","item--columns-auto--l":"_item--columns-auto--l_18bl3_1","item--columns-2--l":"_item--columns-2--l_18bl3_1","item--columns-3--l":"_item--columns-3--l_18bl3_1","item--columns-4--l":"_item--columns-4--l_18bl3_1","item--columns-5--l":"_item--columns-5--l_18bl3_1","item--columns-6--l":"_item--columns-6--l_18bl3_1","item--columns-7--l":"_item--columns-7--l_18bl3_1","item--columns-8--l":"_item--columns-8--l_18bl3_1","item--columns-9--l":"_item--columns-9--l_18bl3_1","item--columns-10--l":"_item--columns-10--l_18bl3_1","item--columns-11--l":"_item--columns-11--l_18bl3_1","item--columns-12--l":"_item--columns-12--l_18bl3_1","item--columns-1--xl":"_item--columns-1--xl_18bl3_1","item--columns-auto--xl":"_item--columns-auto--xl_18bl3_1","item--columns-2--xl":"_item--columns-2--xl_18bl3_1","item--columns-3--xl":"_item--columns-3--xl_18bl3_1","item--columns-4--xl":"_item--columns-4--xl_18bl3_1","item--columns-5--xl":"_item--columns-5--xl_18bl3_1","item--columns-6--xl":"_item--columns-6--xl_18bl3_1","item--columns-7--xl":"_item--columns-7--xl_18bl3_1","item--columns-8--xl":"_item--columns-8--xl_18bl3_1","item--columns-9--xl":"_item--columns-9--xl_18bl3_1","item--columns-10--xl":"_item--columns-10--xl_18bl3_1","item--columns-11--xl":"_item--columns-11--xl_18bl3_1","item--columns-12--xl":"_item--columns-12--xl_18bl3_1","--direction-column--m":"_--direction-column--m_18bl3_1","--direction-column-reverse--m":"_--direction-column-reverse--m_18bl3_1","--direction-row--m":"_--direction-row--m_18bl3_1","--direction-row-reverse--m":"_--direction-row-reverse--m_18bl3_1","--align-start--m":"_--align-start--m_18bl3_1","--align-end--m":"_--align-end--m_18bl3_1","--align-center--m":"_--align-center--m_18bl3_1","--align-stretch--m":"_--align-stretch--m_18bl3_1","--align-baseline--m":"_--align-baseline--m_18bl3_1","--justify-start--m":"_--justify-start--m_18bl3_1","--justify-end--m":"_--justify-end--m_18bl3_1","--justify-center--m":"_--justify-center--m_18bl3_1","--justify-space-between--m":"_--justify-space-between--m_18bl3_1","item--grow-true--m":"_item--grow-true--m_18bl3_1","item--grow-false--m":"_item--grow-false--m_18bl3_1","--direction-column--l":"_--direction-column--l_18bl3_1","--direction-column-reverse--l":"_--direction-column-reverse--l_18bl3_1","--direction-row--l":"_--direction-row--l_18bl3_1","--direction-row-reverse--l":"_--direction-row-reverse--l_18bl3_1","--align-start--l":"_--align-start--l_18bl3_1","--align-end--l":"_--align-end--l_18bl3_1","--align-center--l":"_--align-center--l_18bl3_1","--align-stretch--l":"_--align-stretch--l_18bl3_1","--align-baseline--l":"_--align-baseline--l_18bl3_1","--justify-start--l":"_--justify-start--l_18bl3_1","--justify-end--l":"_--justify-end--l_18bl3_1","--justify-center--l":"_--justify-center--l_18bl3_1","--justify-space-between--l":"_--justify-space-between--l_18bl3_1","item--grow-true--l":"_item--grow-true--l_18bl3_1","item--grow-false--l":"_item--grow-false--l_18bl3_1","--direction-column--xl":"_--direction-column--xl_18bl3_1","--direction-column-reverse--xl":"_--direction-column-reverse--xl_18bl3_1","--direction-row--xl":"_--direction-row--xl_18bl3_1","--direction-row-reverse--xl":"_--direction-row-reverse--xl_18bl3_1","--align-start--xl":"_--align-start--xl_18bl3_1","--align-end--xl":"_--align-end--xl_18bl3_1","--align-center--xl":"_--align-center--xl_18bl3_1","--align-stretch--xl":"_--align-stretch--xl_18bl3_1","--align-baseline--xl":"_--align-baseline--xl_18bl3_1","--justify-start--xl":"_--justify-start--xl_18bl3_1","--justify-end--xl":"_--justify-end--xl_18bl3_1","--justify-center--xl":"_--justify-center--xl_18bl3_1","--justify-space-between--xl":"_--justify-space-between--xl_18bl3_1","item--grow-true--xl":"_item--grow-true--xl_18bl3_1","item--grow-false--xl":"_item--grow-false--xl_18bl3_1"},xr={root:"_root_fjri8_1","--radius-none":"_--radius-none_fjri8_1","--radius-small":"_--radius-small_fjri8_1","--radius-medium":"_--radius-medium_fjri8_1","--radius-large":"_--radius-large_fjri8_1","--radius-circular":"_--radius-circular_fjri8_1","--radius-none--m":"_--radius-none--m_fjri8_1","--radius-small--m":"_--radius-small--m_fjri8_1","--radius-medium--m":"_--radius-medium--m_fjri8_1","--radius-large--m":"_--radius-large--m_fjri8_1","--radius-circular--m":"_--radius-circular--m_fjri8_1","--radius-none--l":"_--radius-none--l_fjri8_1","--radius-small--l":"_--radius-small--l_fjri8_1","--radius-medium--l":"_--radius-medium--l_fjri8_1","--radius-large--l":"_--radius-large--l_fjri8_1","--radius-circular--l":"_--radius-circular--l_fjri8_1","--radius-none--xl":"_--radius-none--xl_fjri8_1","--radius-small--xl":"_--radius-small--xl_fjri8_1","--radius-medium--xl":"_--radius-medium--xl_fjri8_1","--radius-large--xl":"_--radius-large--xl_fjri8_1","--radius-circular--xl":"_--radius-circular--xl_fjri8_1"},kn=e=>e?{classNames:[xr.root,...U(xr,"--radius",e)]}:null,yr={root:"_root_o5mer_1","--bleed":"_--bleed_o5mer_10","--bleed-true--m":"_--bleed-true--m_o5mer_1","--bleed-false--m":"_--bleed-false--m_o5mer_1","--bleed-true--l":"_--bleed-true--l_o5mer_1","--bleed-false--l":"_--bleed-false--l_o5mer_1","--bleed-true--xl":"_--bleed-true--xl_o5mer_1","--bleed-false--xl":"_--bleed-false--xl_o5mer_1"},wr=e=>{if(e===void 0)return null;const t=[yr.root,...U(yr,"--bleed",Te(e,r=>typeof r=="number"&&r>0))],n=oe("--rs-bleed",e);return{classNames:t,variables:n}},es={literal:"_literal_1a6gk_1",unit:"_unit_1a6gk_5","literal--m":"_literal--m_1a6gk_1","unit--m":"_unit--m_1a6gk_1","literal--l":"_literal--l_1a6gk_1","unit--l":"_unit--l_1a6gk_1","literal--xl":"_literal--xl_1a6gk_1","unit--xl":"_unit--xl_1a6gk_1"},Nn=e=>{if(!e)return null;const t=oe("--rs-w",e);return{classNames:U(es,r=>typeof r=="number"?"unit":"literal",e,{excludeValueFromClassName:!0}),variables:t}},ts={literal:"_literal_ea0g1_1",unit:"_unit_ea0g1_2","literal--m":"_literal--m_ea0g1_1","unit--m":"_unit--m_ea0g1_1","literal--l":"_literal--l_ea0g1_1","unit--l":"_unit--l_ea0g1_1","literal--xl":"_literal--xl_ea0g1_1","unit--xl":"_unit--xl_ea0g1_1"},Mt=e=>{if(!e)return null;const t=oe("--rs-h",e);return{classNames:U(ts,r=>typeof r=="number"?"unit":"literal",e,{excludeValueFromClassName:!0}),variables:t}},ns={literal:"_literal_ezw0c_1",unit:"_unit_ezw0c_5","literal--m":"_literal--m_ezw0c_1","unit--m":"_unit--m_ezw0c_1","literal--l":"_literal--l_ezw0c_1","unit--l":"_unit--l_ezw0c_1","literal--xl":"_literal--xl_ezw0c_1","unit--xl":"_unit--xl_ezw0c_1"},rs=e=>{if(!e)return null;const t=oe("--rs-max-w",e);return{classNames:U(ns,r=>typeof r=="number"?"unit":"literal",e,{excludeValueFromClassName:!0}),variables:t}},os={literal:"_literal_kt8jw_1",unit:"_unit_kt8jw_5","literal--m":"_literal--m_kt8jw_1","unit--m":"_unit--m_kt8jw_1","literal--l":"_literal--l_kt8jw_1","unit--l":"_unit--l_kt8jw_1","literal--xl":"_literal--xl_kt8jw_1","unit--xl":"_unit--xl_kt8jw_1"},ss=e=>{if(!e)return null;const t=oe("--rs-max-h",e);return{classNames:U(os,r=>typeof r=="number"?"unit":"literal",e,{excludeValueFromClassName:!0}),variables:t}},is={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"},jr=e=>{if(!e)return null;const t=oe("--rs-min-w",e);return{classNames:U(is,r=>typeof r=="number"?"unit":"literal",e,{excludeValueFromClassName:!0}),variables:t}},as={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"},ls=e=>{if(!e)return null;const t=oe("--rs-min-h",e);return{classNames:U(as,r=>typeof r=="number"?"unit":"literal",e,{excludeValueFromClassName:!0}),variables:t}},cs={"--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"},ds=e=>e?{classNames:U(cs,"--position",e)}:null,us={"--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"},Dt=(e,t)=>{if(e===void 0)return null;const n=t?`-${t}`:"",r=`--rs-inset${n}`,o=oe(r,e);return{classNames:U(us,`--inset${n}`,e,{excludeValueFromClassName:!0}),variables:o}},_s={root:"_root_i342i_1"},ms=e=>{if(!e)return null;const t=oe("--rs-ratio",e);return{classNames:_s.root,variables:t}},Cr=e=>{const{columns:t,grow:n,gapBefore:r,as:o="div",order:s,children:a,className:l,attributes:d}=e,f=I(ee.item,l,r==="auto"&&ee["item--gap-auto"],r!==void 0&&ee["item--gap-before"],t&&ee["item--columns"],...U(ee,"item--grow",n),...U(ee,"item--columns",t)),u=b(b({},oe("--rs-view-item-order",s)),oe("--rs-view-item-gap-before",r));return i.jsx(o,k(b({},d),{style:b(b({},d==null?void 0:d.style),u),className:f,children:a}))},F=e=>{const{align:t,justify:n,wrap:r,gap:o,height:s,width:a,aspectRatio:l,maxHeight:d,maxWidth:f,minHeight:u,minWidth:h,padding:_,paddingInline:g,paddingBlock:p,paddingBottom:x,paddingEnd:w,paddingStart:y,paddingTop:v,bleed:j,animated:C,backgroundColor:N,borderColor:z,borderRadius:E,shadow:D,textAlign:B,overflow:M,position:q="relative",inset:L,insetTop:W,insetBottom:A,insetStart:G,insetEnd:H,zIndex:O,grow:P,as:K="div",children:he,divided:_e,className:ie,attributes:X}=e;let J=!!t||!!n||!!o||!!e.direction;const Z=e.direction||(J?"column":void 0),ge=kn(E),Ne=wr(j),te=Nn(a),je=Mt(s),me=rs(f),qe=ss(d),Ue=jr(h),it=ls(u),Wt=ds(q),Le=Dt(L),Ae=Dt(W,"top"),Ke=Dt(A,"bottom"),Ge=Dt(G,"start"),Pe=Dt(H,"end"),at=ms(l);let hn=0,lt;const ur=({className:xe,key:ue})=>{const Be=I(ee.divider,xe);let ye=!1;return typeof Z=="string"&&Z.startsWith("row")?ye=!0:Z&&(ye=Object.keys(Z).reduce((Xe,ct)=>{const Fe=Z[ct];return Fe?k(b({},Xe),{[ct]:Fe.startsWith("row")}):Xe},{})),i.jsx("div",{className:Be,children:i.jsx(Bt,{vertical:ye,blank:!0})},`${ue}-divider`)},gn=({className:xe,child:ue,index:Be})=>{var pn,xn,yn;const ye=ue.type===Cr,kt=ue.type===F,Xe=ue.key||Be,ct=!!Be&&_e&&ur({className:xe,key:Xe});let Fe;return ye?Fe=c.cloneElement(ue,{className:I(xe,ue.props.className)}):xe||!c.isValidElement(ue)?Fe=i.jsx("div",{className:xe,children:ue},Xe):Fe=ue,ye&&((pn=ue.props)!=null&&pn.grow)&&(lt=ue.props.grow),ye&&((xn=ue.props)==null?void 0:xn.gap)==="auto"&&(lt=!0),(ye||kt)&&((yn=ue.props)!=null&&yn.grow)&&(J=!0),[ct,Fe]},bn=c.Children.map(he,(xe,ue)=>{if(!xe)return null;const Be=hn;if(hn+=1,xe.type===mt&&typeof xe.props.children!="function"){const ye=xe.props,{children:kt}=ye,Xe=ze(ye,["children"]),ct=xe.key||ue;return c.createElement(mt,k(b({},Xe),{key:ct}),Fe=>gn({className:Fe,child:kt,index:Be}))}return gn({child:xe,index:Be})}),vn=I(ee.root,ie,ge==null?void 0:ge.classNames,Wt==null?void 0:Wt.classNames,Ne==null?void 0:Ne.classNames,te==null?void 0:te.classNames,je==null?void 0:je.classNames,at==null?void 0:at.classNames,me==null?void 0:me.classNames,qe==null?void 0:qe.classNames,Ue==null?void 0:Ue.classNames,it==null?void 0:it.classNames,Le==null?void 0:Le.classNames,Ae==null?void 0:Ae.classNames,Ke==null?void 0:Ke.classNames,Ge==null?void 0:Ge.classNames,Pe==null?void 0:Pe.classNames,B&&ee[`--align-text-${B}`],N&&ee[`--bg-${N}`],z&&ee[`--bd-${z}`],z&&ee["--bd"],D&&ee[`--shadow-${D}`],M&&ee[`--overflow-${M}`],C&&ee["--animated"],_e&&ee["--divided"],(_!==void 0||g!==void 0||p!==void 0)&&ee["--padding"],x!==void 0&&ee["--padding-bottom"],w!==void 0&&ee["--padding-end"],y!==void 0&&ee["--padding-start"],v!==void 0&&ee["--padding-top"],(J||lt)&&ee["--flex"],...U(ee,"--direction",Z),...U(ee,"--align",t),...U(ee,"--justify",n),...U(ee,"--nowrap",lt||r===!1),...U(ee,"--wrap",r),...U(ee,"item--grow",P)),_t=b(b(b(b(b(b(b(b(b(b(b(b(b(b(b(b(b(b(b(b(b(b({},X==null?void 0:X.style),oe("--rs-view-gap",o)),oe("--rs-view-p-vertical",p||_)),oe("--rs-view-p-horizontal",g||_)),oe("--rs-view-p-bottom",x)),oe("--rs-view-p-top",v)),oe("--rs-view-p-start",y)),oe("--rs-view-p-end",w)),Ne==null?void 0:Ne.variables),te==null?void 0:te.variables),je==null?void 0:je.variables),at==null?void 0:at.variables),me==null?void 0:me.variables),qe==null?void 0:qe.variables),Ue==null?void 0:Ue.variables),it==null?void 0:it.variables),Le==null?void 0:Le.variables),Ae==null?void 0:Ae.variables),Ke==null?void 0:Ke.variables),Ge==null?void 0:Ge.variables),Pe==null?void 0:Pe.variables),O?{"--rs-view-z":O}:{});return i.jsx(K,k(b({},X),{className:vn,style:_t,children:bn}))};F.Item=Cr;const $n={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"},ce=e=>{const{svg:t,className:n,color:r,size:o="1em",autoWidth:s,attributes:a}=e,l=Mt(o),d=I($n.root,n,l==null?void 0:l.classNames,r&&$n[`--color-${r}`],s&&$n["--auto"]),f=c.isValidElement(t)?t:i.jsx(t,{}),u=b(b({},a==null?void 0:a.style),l==null?void 0:l.variables);return i.jsx("span",k(b({},a),{"aria-hidden":"true",className:d,style:u,children:c.cloneElement(f,{focusable:!1})}))},fs=()=>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"})}),kr={icon:"_icon_loavs_1","icon--active":"_icon--active_loavs_5"},hs=e=>{const{children:t}=e,{active:n,onToggle:r,triggerId:o,contentId:s,iconPosition:a="end",iconSize:l}=c.useContext(jn),d=I(kr.icon,n&&kr["icon--active"]),f=()=>{r==null||r(!n)},u={"aria-expanded":n,"aria-controls":s,id:o};return typeof t=="function"?i.jsx(i.Fragment,{children:t(k(b({},u),{onClick:f}),{active:n})}):i.jsx($e,{onClick:f,fullWidth:!0,attributes:u,children:i.jsxs(F,{gap:2,direction:a==="start"?"row-reverse":"row",align:"center",children:[i.jsx(F.Item,{grow:!0,children:t}),i.jsx(ce,{size:l||4,svg:fs,className:d})]})})},He=e=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>e())})},En="data-rs-no-transition",gs=()=>{document.documentElement.setAttribute(En,"true")},bs=()=>{document.documentElement.removeAttribute(En)},vs=()=>!document.documentElement.hasAttribute(En),Nr={root:"_root_14pfm_1","--animated":"_--animated_14pfm_9"},$r=e=>{const{children:t,active:n,attributes:r}=e,o=c.useRef(null),s=c.useRef(!1),[a,l]=c.useState(n?"auto":null),d=I(Nr.root,s.current&&a!=="auto"&&Nr["--animated"]),f=u=>{u.propertyName==="height"&&l(n?"auto":null)};return c.useEffect(()=>{He(()=>{s.current=!0})},[]),c.useEffect(()=>{const u=o.current;if(!u||!s.current)return;let h=0;n&&(u.style.height="auto",h=u.clientHeight,u.style.height="0"),n||(u.style.height=`${u.clientHeight}px`),l(h)},[n]),i.jsx("div",k(b({},r),{className:d,ref:o,style:a!==null?{height:a,overflow:a==="auto"?"visible":void 0}:void 0,onTransitionEnd:f,role:"region",hidden:!n&&a===null,children:t}))},ps=e=>{const{children:t}=e,{active:n,triggerId:r,contentId:o}=c.useContext(jn);return i.jsx($r,{active:n,attributes:{"aria-labelledby":r,id:o},children:t})},zn=e=>{const{active:t}=e;return t!==void 0?i.jsx(pr,b({},e)):i.jsx(Zo,b({},e))};zn.Trigger=hs,zn.Content=ps;const Tn={root:"_root_dv5cm_1","--position-bottom":"_--position-bottom_dv5cm_32","--position-top":"_--position-top_dv5cm_1","--elevated":"_--elevated_dv5cm_16"},xs=e=>{const{position:t="bottom",padding:n,paddingBlock:r=3,paddingInline:o=4,children:s,elevated:a,className:l,attributes:d}=e,f=I(Tn.root,a&&Tn["--elevated"],t&&Tn[`--position-${t}`],l);return i.jsx(F,{className:f,attributes:d,paddingBlock:n||r,paddingInline:n||o,children:s})},Ze={root:"_root_ttglr_1","--clamp":"_--clamp_ttglr_6","--break-all":"_--break-all_ttglr_13","--align-start":"_--align-start_ttglr_1","--align-center":"_--align-center_ttglr_1","--align-end":"_--align-end_ttglr_1","--variant-title-1":"_--variant-title-1_ttglr_1","--variant-title-2":"_--variant-title-2_ttglr_1","--variant-title-3":"_--variant-title-3_ttglr_1","--variant-title-4":"_--variant-title-4_ttglr_1","--variant-title-5":"_--variant-title-5_ttglr_1","--variant-title-6":"_--variant-title-6_ttglr_1","--variant-featured-1":"_--variant-featured-1_ttglr_1","--variant-featured-2":"_--variant-featured-2_ttglr_1","--variant-featured-3":"_--variant-featured-3_ttglr_1","--variant-body-1":"_--variant-body-1_ttglr_1","--variant-body-2":"_--variant-body-2_ttglr_1","--variant-body-3":"_--variant-body-3_ttglr_1","--variant-caption-1":"_--variant-caption-1_ttglr_1","--variant-caption-2":"_--variant-caption-2_ttglr_1","--weight-regular":"_--weight-regular_ttglr_1","--weight-medium":"_--weight-medium_ttglr_1","--weight-bold":"_--weight-bold_ttglr_1","--color-neutral":"_--color-neutral_ttglr_1","--color-neutral-faded":"_--color-neutral-faded_ttglr_1","--color-primary":"_--color-primary_ttglr_1","--color-warning":"_--color-warning_ttglr_1","--color-positive":"_--color-positive_ttglr_1","--color-critical":"_--color-critical_ttglr_1","--color-disabled":"_--color-disabled_ttglr_1","--decoration-line-through":"_--decoration-line-through_ttglr_143","--align-start--m":"_--align-start--m_ttglr_1","--align-center--m":"_--align-center--m_ttglr_1","--align-end--m":"_--align-end--m_ttglr_1","--variant-title-1--m":"_--variant-title-1--m_ttglr_1","--variant-title-2--m":"_--variant-title-2--m_ttglr_1","--variant-title-3--m":"_--variant-title-3--m_ttglr_1","--variant-title-4--m":"_--variant-title-4--m_ttglr_1","--variant-title-5--m":"_--variant-title-5--m_ttglr_1","--variant-title-6--m":"_--variant-title-6--m_ttglr_1","--variant-featured-1--m":"_--variant-featured-1--m_ttglr_1","--variant-featured-2--m":"_--variant-featured-2--m_ttglr_1","--variant-featured-3--m":"_--variant-featured-3--m_ttglr_1","--variant-body-1--m":"_--variant-body-1--m_ttglr_1","--variant-body-2--m":"_--variant-body-2--m_ttglr_1","--variant-body-3--m":"_--variant-body-3--m_ttglr_1","--variant-caption-1--m":"_--variant-caption-1--m_ttglr_1","--variant-caption-2--m":"_--variant-caption-2--m_ttglr_1","--align-start--l":"_--align-start--l_ttglr_1","--align-center--l":"_--align-center--l_ttglr_1","--align-end--l":"_--align-end--l_ttglr_1","--variant-title-1--l":"_--variant-title-1--l_ttglr_1","--variant-title-2--l":"_--variant-title-2--l_ttglr_1","--variant-title-3--l":"_--variant-title-3--l_ttglr_1","--variant-title-4--l":"_--variant-title-4--l_ttglr_1","--variant-title-5--l":"_--variant-title-5--l_ttglr_1","--variant-title-6--l":"_--variant-title-6--l_ttglr_1","--variant-featured-1--l":"_--variant-featured-1--l_ttglr_1","--variant-featured-2--l":"_--variant-featured-2--l_ttglr_1","--variant-featured-3--l":"_--variant-featured-3--l_ttglr_1","--variant-body-1--l":"_--variant-body-1--l_ttglr_1","--variant-body-2--l":"_--variant-body-2--l_ttglr_1","--variant-body-3--l":"_--variant-body-3--l_ttglr_1","--variant-caption-1--l":"_--variant-caption-1--l_ttglr_1","--variant-caption-2--l":"_--variant-caption-2--l_ttglr_1","--align-start--xl":"_--align-start--xl_ttglr_1","--align-center--xl":"_--align-center--xl_ttglr_1","--align-end--xl":"_--align-end--xl_ttglr_1","--variant-title-1--xl":"_--variant-title-1--xl_ttglr_1","--variant-title-2--xl":"_--variant-title-2--xl_ttglr_1","--variant-title-3--xl":"_--variant-title-3--xl_ttglr_1","--variant-title-4--xl":"_--variant-title-4--xl_ttglr_1","--variant-title-5--xl":"_--variant-title-5--xl_ttglr_1","--variant-title-6--xl":"_--variant-title-6--xl_ttglr_1","--variant-featured-1--xl":"_--variant-featured-1--xl_ttglr_1","--variant-featured-2--xl":"_--variant-featured-2--xl_ttglr_1","--variant-featured-3--xl":"_--variant-featured-3--xl_ttglr_1","--variant-body-1--xl":"_--variant-body-1--xl_ttglr_1","--variant-body-2--xl":"_--variant-body-2--xl_ttglr_1","--variant-body-3--xl":"_--variant-body-3--xl_ttglr_1","--variant-caption-1--xl":"_--variant-caption-1--xl_ttglr_1","--variant-caption-2--xl":"_--variant-caption-2--xl_ttglr_1"},ys={"title-1":"h1","title-2":"h2","title-3":"h3","title-4":"h4","title-5":"h5","title-6":"h6"},ne=e=>{const{variant:t,color:n,weight:r,align:o,decoration:s,maxLines:a,children:l,className:d,attributes:f}=e,u=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),h=e.as||u&&ys[u]||"div",_=I(Ze.root,n&&Ze[`--color-${n}`],...U(Ze,"--variant",t),...U(Ze,"--align",o),r&&Ze[`--weight-${r}`],s&&Ze[`--decoration-${s}`],a!==void 0&&Ze["--clamp"],a===1&&Ze["--break-all"],d),g=k(b({},f==null?void 0:f.style),{"--rs-text-lines":a});return i.jsx(h,k(b({},f),{className:_,style:g,children:l}))},ws=e=>{const{title:t,children:n,icon:r,actionsSlot:o,color:s="neutral",inline:a,bleed:l,className:d,attributes:f}=e,u=s==="neutral",h=()=>a?i.jsxs(i.Fragment,{children:[t&&i.jsx(ne,{variant:"body-3",weight:"medium",as:"span",children:t}),t&&n&&" ",n&&i.jsx(ne,{variant:"body-3",as:"span",children:n})]}):i.jsxs(F,{gap:1,children:[t&&i.jsx(ne,{variant:"body-3",weight:"medium",children:t}),n&&i.jsx(ne,{variant:"body-3",children:n})]}),_=g=>o?i.jsxs(F,{gap:2,direction:a?"row":"column",children:[a?i.jsx(F.Item,{grow:!0,children:g}):g,o&&i.jsx(ne,{variant:"body-3",weight:"medium",children:i.jsx(F,{direction:"row",gap:3,children:o})})]}):g;return i.jsx(F,{direction:"row",gap:3,padding:4,bleed:l,borderRadius:"medium",borderColor:`${s}-faded`,backgroundColor:`${s}-faded`,className:d,attributes:k(b({},f),{role:s==="critical"?"alert":"status"}),children:r?i.jsxs(i.Fragment,{children:[i.jsx(ce,{svg:r,size:5,color:u?"primary":s}),i.jsx(F.Item,{grow:!0,children:_(h())})]}):_(h())})},Er=c.createContext({attributes:{id:"","aria-describedby":""},required:void 0,hasError:!1,errorRef:()=>{},helperRef:()=>{}}),js=Er.Provider,St=()=>c.useContext(Er),Qe=()=>{const{attributes:e,required:t,hasError:n,disabled:r}=St();return{attributes:e,required:t,hasError:n,disabled:r}},zr={root:"_root_1ni0x_1",label:"_label_1ni0x_5",caption:"_caption_1ni0x_10"},Mn=(e,t)=>`${e}-${t||"caption"}`,Rt=e=>{const{children:t,id:n,required:r,hasError:o,group:s,disabled:a,size:l}=e,d=Me(n),f=s?"fieldset":"div",[u,h]=c.useState(!1),[_,g]=c.useState(!1),p=[u&&Mn(d),_&&Mn(d,"error")].filter(Boolean).join(" "),x={id:d,"aria-describedby":p},w=()=>{g(!0)},y=()=>{h(!0)};return i.jsx(f,{children:i.jsx(js,{value:{required:r,hasError:o,errorRef:w,helperRef:y,attributes:x,group:s,disabled:a,size:l},children:t})})},Cs=e=>{const{children:t}=e,{attributes:n,required:r,group:o,disabled:s,size:a}=St(),l=`${n.id}-label`,d=o?{as:"legend",attributes:{id:l}}:{as:"label",attributes:{id:l,htmlFor:n.id}};return i.jsxs(ne,k(b({},d),{variant:a==="large"?"body-2":"body-3",weight:"medium",className:zr.label,color:s?"disabled":void 0,children:[t,r&&i.jsx(ne,{color:s?"disabled":"critical",as:"span",children:"*"})]}))},Tr=e=>{const{children:t,variant:n,disabled:r}=e,{attributes:o,size:s,helperRef:a,errorRef:l}=St(),d=Mn(o.id,n),f=n==="error"?"critical":"neutral-faded",u=n==="error"?l:a;return i.jsx(ne,{as:"span",variant:s==="large"?"body-3":"caption-1",color:r&&!n?"disabled":f,attributes:{id:d,role:f?"alert":void 0,ref:u},className:zr.caption,children:t})},ks=e=>{const{children:t}=e,{disabled:n}=St();return i.jsx(Tr,{disabled:n,children:t})},Ns=e=>{const{children:t}=e,{hasError:n}=St();return n?i.jsx(Tr,{variant:"error",children:t}):null};Rt.Label=Cs,Rt.Helper=ks,Rt.Error=Ns;const Mr={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"},Yt=e=>{const{side:t="all",children:n,className:r,attributes:o}=e,s=typeof t=="string"?[t]:t,a=I(Mr.root,s.map(l=>Mr[`--side-${l}`]),r);return i.jsx("div",k(b({},o),{className:a,children:n}))},De={root:"_root_16c4t_1",input:"_input_16c4t_21",slot:"_slot_16c4t_42",icon:"_icon_16c4t_43",affix:"_affix_16c4t_44",attachment:"_attachment_16c4t_60","attachment--position-start":"_attachment--position-start_16c4t_66","attachment--position-end":"_attachment--position-end_16c4t_76","--disabled":"_--disabled_16c4t_91","--size-medium":"_--size-medium_16c4t_1","--size-large":"_--size-large_16c4t_1","--size-xlarge":"_--size-xlarge_16c4t_1","--variant-faded":"_--variant-faded_16c4t_155","--variant-headless":"_--variant-headless_16c4t_164","--status-error":"_--status-error_16c4t_169","--size-medium--m":"_--size-medium--m_16c4t_1","--size-large--m":"_--size-large--m_16c4t_1","--size-xlarge--m":"_--size-xlarge--m_16c4t_1","--size-medium--l":"_--size-medium--l_16c4t_1","--size-large--l":"_--size-large--l_16c4t_1","--size-xlarge--l":"_--size-xlarge--l_16c4t_1","--size-medium--xl":"_--size-medium--xl_16c4t_1","--size-large--xl":"_--size-large--xl_16c4t_1","--size-xlarge--xl":"_--size-xlarge--xl_16c4t_1"},Dr=e=>{const{slot:t,icon:n,size:r,affix:o,position:s}=e;if(!n&&!t&&!o)return null;const a=I(De.attachment,De[`attachment--position-${s}`]),l=[t&&i.jsx("div",{className:De.slot,children:t},"slot"),n&&i.jsx("div",{className:De.icon,children:i.jsx(ce,{size:Te(r,d=>d==="large"?5:d==="xlarge"?6:4),svg:n})},"icon"),o&&i.jsx("div",{className:De.affix,children:o},"affix")].filter(Boolean);return i.jsx("span",{className:a,children:s==="end"?l.reverse():l})},Dn=e=>{var M;const{onChange:t,onFocus:n,onBlur:r,name:o,value:s,defaultValue:a,placeholder:l,icon:d,endIcon:f,startSlot:u,endSlot:h,prefix:_,suffix:g,size:p="medium",variant:x="outline",className:w,attributes:y}=e,v=Qe(),j=Me(e.id),C=(v==null?void 0:v.attributes.id)||((M=e.inputAttributes)==null?void 0:M.id)||j,N=(v==null?void 0:v.disabled)||e.disabled,z=(v==null?void 0:v.hasError)||e.hasError,E=b(b({},e.inputAttributes),v==null?void 0:v.attributes),D=I(De.root,w,p&&U(De,"--size",p),z&&De["--status-error"],N&&De["--disabled"],x&&De[`--variant-${x}`]),B=q=>{t&&t({name:o,value:q.target.value,event:q})};return i.jsxs("div",k(b({},y),{"data-rs-aligner-target":!0,className:D,children:[i.jsx(Dr,{position:"start",icon:d,slot:u,size:p,affix:_}),i.jsx("input",k(b({},E),{className:De.input,disabled:N,name:o,placeholder:l,value:s,defaultValue:a,onChange:B,onFocus:n||(E==null?void 0:E.onFocus),onBlur:r||(E==null?void 0:E.onBlur),id:C})),i.jsx(Dr,{position:"end",icon:f,slot:h,size:p,affix:g})]}))};Dn.Aligner=Yt;const $s="Enter",Es="Tab",Sn="ArrowUp",In="ArrowDown",qn="ArrowRight",Ln="ArrowLeft",An="data-rs-keyboard",Ut="data-rs-focus";class zs{constructor(){this.chain={},this.tailId=null,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,r=n&&this.get(n),o=this.generateId();return this.chain[o]={previousId:n,data:t},r&&(r.nextId=o),this.tailId=o,o}remove(t){var d,f;const n=this.chain[t];if(!n)return;const r=n.previousId,o=r&&this.get(r),s=n.nextId,a=s&&this.get(s);o&&(o.nextId=(d=n.nextId)!=null?d:null),a&&(a.previousId=(f=n.previousId)!=null?f:null),s||(this.tailId=r!=null?r:null);const l=this.get(t).data;return delete this.chain[t],l}removePreviousTill(t,n){const r=this.get(t),o=this.remove(t);return!r||!r.previousId||n(r)?o:this.removePreviousTill(r.previousId,n)}}const Sr=()=>document.documentElement.hasAttribute(An),Ir='a,button,input:not([type="hidden"]),textarea,select,details,[tabindex]:not([tabindex="-1"])',Kt=()=>document.querySelector(`[${Ut}]`)||document.activeElement,Pn=(e,t)=>{const r=Array.from(e.querySelectorAll(Ir)).filter(o=>{if(o.hasAttribute("disabled")||o.clientHeight===0)return!1;if(o.type==="radio"){let s;if(o.form){const a=o.form.elements.namedItem(o.name);if(!a)return!1;"length"in a?s=Array.from(a).filter(d=>"type"in d&&d.type==="radio"):s=[a]}else s=Array.from(e.querySelectorAll(`[type="radio"][name="${o.name}"]`));if(s!=null&&s.length){const a=Array.from(s).find(l=>l.checked);if(a&&o!==a||!a&&o!==s[0])return!1}}return!0});return t&&r.length&&r.unshift(t),r},qr=e=>{const{root:t,extraElement:n,target:r,mode:o}=e,s=Pn(t,n),a=s.length-1,l=Kt(),d=s.indexOf(l),f={next:d+1,prev:d-1,first:0,last:a};let u=f[r];const h=u>a||u<0;return h&&(o==="action-menu"?u=r==="prev"?f.first:f.last:u=r==="prev"?f.last:f.first),{overflow:h,el:s[u]}},Gt=(e,t)=>{var n;(n=document.querySelector(`[${Ut}]`))==null||n.removeAttribute(Ut),t==="selection-menu"?e.setAttribute(Ut,"true"):e.focus()},Xt=(e,t)=>{const n=qr({root:e,target:t});Gt(n.el)},Ts=e=>Xt(e,"next"),Ms=e=>Xt(e,"prev"),Ds=e=>Xt(e,"first"),Ss=e=>Xt(e,"last"),Is=(()=>{let e=[];const t=r=>{let o=r.parentNode&&r.parentNode.firstChild;for(;o;){const s=o!==r,a=o.nodeType===1&&!o.hasAttribute("aria-hidden");s&&a&&(o.setAttribute("aria-hidden","true"),e.push(o)),o=o.nextSibling}},n=()=>{e.forEach(r=>{r.removeAttribute("aria-hidden")}),e=[]};return r=>{let o=r;for(e.length&&n();o!==document.body;)t(o),o=o.parentElement;return{release:n}}})(),Jt=(()=>{let e=null,t=null;const n=new zs;return(r,o={})=>{const{mode:s="dialog",onNavigateOutside:a,includeTrigger:l}=o,d=Kt(),f=s==="dialog",u=s==="content-menu",h=s==="selection-menu",_=f||u,g=s==="action-menu"||h,p=Pn(r,l?d:void 0);let x;const w=new MutationObserver(()=>{if(r.contains(document.activeElement))return;const C=Pn(r,l?d:void 0);C.length&&Gt(C[0],s)}),y=(C={})=>{const{withoutFocusReturn:N}=C;n.removePreviousTill(x,E=>document.body.contains(E.data.trigger)),w.disconnect(),d&&d.focus({preventScroll:N||!Sr()}),e&&(e(),t&&t.release(),e=null,t=null);const z=n.tailId&&n.get(n.tailId);z&&Jt(z.data.root,z.data.options)},v=C=>{const N=C.key,z=N===Es,E=z&&!C.shiftKey,D=z&&C.shiftKey,B=g&&N===Sn,M=g&&N===In,q=D&&_||B,L=E&&_||M,W=Kt()===d,A=qr({root:r,target:q?"prev":"next",extraElement:l?d:void 0,mode:s});if(z&&g||u&&z&&A.overflow){D&&!W&&C.preventDefault(),y(),a==null||a();return}!q&&!L||(C.preventDefault(),A.el&&Gt(A.el,s))};if(e&&e(),f&&(t=Is(r)),w.observe(r,{childList:!0,subtree:!0}),!p.length)return null;document.addEventListener("keydown",v),e=()=>document.removeEventListener("keydown",v);const j=n.tailId&&n.get(n.tailId);return(!j||r!==j.data.root)&&(x=n.add({root:r,trigger:d,options:o}),Gt(p[0],s)),y}})(),qs=100,Ls=150;let ft={},Ve=null;const Lr=e=>{ft[e]&&(e===Ve&&(Ve=ft[e].parentId),delete ft[e],Ve===null&&(ft={}))},As=(e,t,n)=>{var s;const r=Ve?ft[Ve]:void 0;!((n==null?void 0:n.current)&&r&&((s=r.contentRef.current)==null?void 0:s.contains(n.current)))&&n&&Ve&&Lr(Ve),ft[e]={parentId:Ve,triggerRef:n,contentRef:t},Ve=e},Ar=(e=!1,t,n)=>{const r=Me(),o=c.useCallback(()=>Ve===r,[r]);return c.useEffect(()=>{e?As(r,t,n):Lr(r)},[e,r,t,n]),o},de=typeof window!="undefined"?c.useLayoutEffect:c.useEffect,ht="+",Se={},Fn=[],Pr=e=>e===" "?e:e.replace(/\s/g,"").toLowerCase(),Vn=e=>Pr(e).split(ht).sort().join(ht),Fr=e=>{if(e.key)return e.altKey&&e.key!=="Alt"?e.code.toLowerCase().replace(/key|digit|numpad/,""):e.key.toLowerCase()},Ps=e=>{const t=[],n=e.join(ht),o=Vn(n).split(ht),s=(a,l)=>{l.forEach((d,f)=>{const u=a?`${a}+${d}`:d;t.push(u),s(u,l.slice(f+1))})};return s("",o),t},Fs=(e,t)=>{const n=Object.keys(e);n.length&&Ps(n).forEach(r=>{t(r)})},On=(e,t)=>{Object.keys(e).forEach(n=>{n.split(",").forEach(r=>{const o=e[n];o&&t(Vn(r),o)})})};class Vs{constructor(){this.hotkeyMap={},this.getSize=()=>Object.keys(this.hotkeyMap).length,this.bindHotkeys=(t,n)=>{On(t,(r,o)=>{o&&(this.hotkeyMap[r]||(this.hotkeyMap[r]={data:new Set,used:!1}),this.hotkeyMap[r].data.add({callback:o,ref:n}))})},this.unbindHotkeys=t=>{On(t,(n,r)=>{var o,s;r&&((o=this.hotkeyMap[n])==null||o.data.forEach(a=>{a.callback===r&&this.hotkeyMap[n].data.delete(a)}),(s=this.hotkeyMap[n])!=null&&s.data.size||delete this.hotkeyMap[n])})},this.handleKeyDown=(t,n)=>{Fs(t,r=>{const o=this.hotkeyMap[r];!o||o.used||o!=null&&o.data.size&&o.data.forEach(s=>{var a;(a=s.ref)!=null&&a.current&&!(n.target===s.ref.current||s.ref.current.contains(n.target))||(s.callback(t[r]),this.hotkeyMap[r].used=!0)})})},this.handleKeyUp=t=>{const n=Vn(t.key);On(this.hotkeyMap,(r,o)=>{r.split(ht).includes(n)&&(o.used=!1)})}}}const Zt=new Vs,Vr=c.createContext({}),Os=e=>{const{children:t}=e,[n,r]=c.useState(0),[o,s]=c.useState(0),a=c.useCallback(_=>{if(_.repeat||o===0)return;const g=Fr(_);g&&(Se[g]=_,(g==="meta"||g==="control")&&(Se.mod=_),r(Object.keys(Se).length),g==="meta"&&Fn.push(...Object.keys(Se)),Se.Meta&&Fn.push(g))},[o]),l=c.useCallback(_=>{if(o===0)return;const g=Fr(_);g&&(delete Se[g],(g==="meta"||g==="control")&&delete Se.mod,g==="meta"&&Fn.forEach(p=>{delete Se[p]}),r(Object.keys(Se).length))},[o]),d=_=>!Pr(_).split(ht).some(p=>!Se[p]),f=c.useCallback((_,g)=>(s(p=>p+1),Zt.bindHotkeys(_,g),()=>{s(p=>p-1),Zt.unbindHotkeys(_)}),[]),u=c.useCallback(_=>{_.key&&(a(_),Zt.handleKeyDown(Se,_))},[a]),h=c.useCallback(_=>{_.key&&(l(_),Zt.handleKeyUp(_))},[l]);return c.useEffect(()=>(window.addEventListener("keydown",u),window.addEventListener("keyup",h),()=>{window.removeEventListener("keydown",u),window.removeEventListener("keyup",h)}),[u,h]),i.jsx(Vr.Provider,{value:{addHotkeys:f,isPressed:d},children:t})},Ws=()=>c.useContext(Vr),et=(e,t=[],n)=>{const{addHotkeys:r,isPressed:o}=Ws(),s=c.useRef(null),a=(n==null?void 0:n.ref)||s;return c.useEffect(()=>{const l=r(e,a);return()=>l==null?void 0:l()},[r,Object.keys(e).join(","),...t]),{ref:a,checkHotkeyState:o}},Wn=c.createContext({rtl:[!1,()=>{}],defaultViewport:"s"}),Bs=e=>{const t=c.useState(e||!1),[n,r]=t;return de(()=>{const o=new MutationObserver(s=>{s.forEach(a=>{if(a.attributeName!=="dir")return;const l=a.target.dir==="rtl";n!==l&&r(l)})});return o.observe(document.documentElement,{attributes:!0}),()=>o.disconnect()},[n]),de(()=>{document.documentElement.setAttribute("dir",n?"rtl":"ltr")},[n]),t},tt=()=>c.useContext(Wn).rtl,Bn=e=>{const t=e&&window.getComputedStyle(e),n=t==null?void 0:t.overflowY,r=t==null?void 0:t.position,o=n==null?void 0:n.includes("scroll"),s=r==="fixed";return e===document.body||!e?document.body:o&&e.scrollHeight>e.clientHeight||s?e:Bn(e.parentElement)},Or=16,Qt=["top-start","top","top-end"],en=["bottom-start","bottom","bottom-end"],tn=["start","start-bottom","start-top"],nn=["end","end-bottom","end-top"],Hs={top:[...Qt,...en,...nn,...tn],bottom:[...en,...Qt,...nn,...tn],start:[...tn,...nn,...Qt,...en],end:[...nn,...tn,...Qt,...en]},Rs=e=>e.includes("start")?e.replace("start","end"):e.includes("end")?e.replace("end","start"):e,Wr=(e,t)=>Math.floor(e/2-t/2),Ys=e=>{const n=["top","bottom","start","end"].find(r=>e.startsWith(r))||"bottom";return Hs[n]},Hn=e=>{const t=document.documentElement,n=t.scrollLeft,r=n+t.clientWidth,o=t.scrollTop,s=o+t.clientHeight;return e.left>=n&&e.left+e.width<=r&&e.top>=o&&e.top+e.height<=s},Br=(e,t,n,r)=>{const{position:o,rtl:s,width:a}=r;let l=0,d=0,f=o;switch(s&&(f=Rs(f)),(a==="full"||a==="trigger")&&(f=f.includes("top")?"top":"bottom"),f){case"bottom":case"top":l=Wr(e.width,t.width)+e.left;break;case"start":case"start-top":case"start-bottom":l=e.left-t.width;break;case"end":case"end-top":case"end-bottom":l=e.right;break;case"top-start":case"bottom-start":l=e.left;break;case"top-end":case"bottom-end":l=e.right-t.width;break}switch(f){case"top":case"top-start":case"top-end":d=e.top-t.height;break;case"bottom":case"bottom-start":case"bottom-end":d=e.bottom;break;case"start":case"end":d=Wr(e.height,t.height)+e.top;break;case"start-top":case"end-top":d=e.top;break;case"start-bottom":case"end-bottom":d=e.bottom-t.height;break}if(d===void 0||l===void 0)throw Error(`[Reshaped, flyout]: ${f} position is not valid`);d=Math.round(d+(window.scrollY||0)-n.top),l=Math.round(l+(window.scrollX||0)-n.left);let u=Math.ceil(t.width);const h=Math.ceil(t.height);return a==="full"?(l=Or,u=window.innerWidth-Or*2):a==="trigger"&&(u=e.width),{styles:{left:l,top:d,width:u,height:h},position:f}},Hr={left:0,top:0,width:"auto",height:"auto",zIndex:"var(--rs-z-index-flyout)"},rn={left:0,top:0,position:"fixed",visibility:"hidden",animation:"none",transition:"none",zIndex:"var(--rs-z-index-tooltip)"},Us=(e,t,n)=>{const{position:r,forcePosition:o,width:s}=n,a=t.cloneNode(!0),l=e.getBoundingClientRect();a.style="",Object.keys(rn).forEach(g=>{const p=rn[g];a.style[g]=p.toString()}),s&&(s==="trigger"?a.style.width=`${l.width}px`:s!=="full"&&(a.style.width=s)),document.body.appendChild(a);const d=a.getBoundingClientRect(),f=Bn(e),u=f.getBoundingClientRect(),h={top:u.top+document.documentElement.scrollTop-f.scrollTop,left:u.left+document.documentElement.scrollLeft-f.scrollLeft};let _=Br(l,d,h,n);if(!Hn(_.styles)&&!o){const g=Ys(r),p=g.filter(w=>w==="top"||w==="bottom"),x=(w,y={})=>{const{fullWidth:v}=y;w.some(j=>{const C=k(b({},n),{width:v?"full":n.width,position:j}),N=Br(l,d,h,C);return Hn(N.styles)?(_=N,!0):!1})};x(g),Hn(_.styles)||x(p,{fullWidth:!0})}return a.parentNode.removeChild(a),_},Ks=(e,t)=>{switch(t.type){case"render":return k(b({},e),{status:"rendered",styles:b({pointerEvents:"none"},rn)});case"position":return k(b({},e),{status:e.status==="visible"?"visible":"positioned",position:t.payload.position,styles:b(b({},Hr),t.payload.styles)});case"show":return k(b({},e),{status:"visible"});case"hide":return k(b({},e),{status:e.status==="idle"?"idle":"hidden"});case"remove":return k(b({},e),{status:"idle",styles:rn});default:throw new Error("Invalid reducer type")}},Gs=(e,t,n)=>{const{position:r="bottom",forcePosition:o,width:s}=n,[a]=tt(),[l,d]=c.useReducer(Ks,{position:r,styles:Hr,status:"idle"}),f=c.useCallback(()=>{d({type:"render"})},[]),u=c.useCallback(()=>{d({type:"show"})},[]),h=c.useCallback(()=>{d({type:"hide"})},[]),_=c.useCallback(()=>{d({type:"remove"})},[]),g=c.useCallback(()=>{if(!e.current||!t.current)return;const p=Us(e.current,t.current,{width:s,position:r,forcePosition:o,rtl:a});d({type:"position",payload:p})},[e,t,r,a,o,s]);return c.useEffect(()=>{l.status==="rendered"&&g(),l.status==="positioned"&&He(()=>u())},[l.status,g,u]),c.useMemo(()=>({position:l.position,styles:l.styles,status:l.status,updatePosition:g,render:f,hide:h,remove:_}),[f,g,h,_,l.position,l.styles,l.status])},Xs=(e,t)=>{c.useEffect(()=>{if(!t)return;const n=r=>{let o=!1;e.forEach(s=>{(!s.current||s.current===r.target||s.current.contains(r.target))&&(o=!0)}),!o&&t(r)};return document.addEventListener("mousedown",n),document.addEventListener("touchstart",n),()=>{document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",n)}},[t,...e])},Rr=c.createContext({}),on=()=>c.useContext(Rr),Js=Rr.Provider,Yr=e=>{const{triggerType:t="click",onOpen:n,onClose:r,children:o,forcePosition:s,trapFocusMode:a,width:l,disableHideAnimation:d,contentGap:f,contentClassName:u,contentAttributes:h,position:_,active:g,id:p,instanceRef:x}=e,[w]=tt(),y=c.useRef(null),v=c.useRef(null),j=Me(p),C=c.useRef(),N=c.useRef(null),z=c.useRef(!1),E=c.useRef(!1),D=c.useRef(!0),B=Gs(y,v,{width:l,position:_,defaultActive:g,forcePosition:s}),M=on(),{status:q,updatePosition:L,render:W,hide:A,remove:G}=B,H=Ar(t!=="hover"&&q!=="idle",v,y),O=c.useCallback(()=>{C.current&&clearTimeout(C.current)},[C]),P=c.useCallback(()=>{!z.current&&q==="idle"&&(n==null||n())},[q]),K=c.useCallback(te=>{var qe;!(t==="click"&&!H())&&q!=="idle"&&(r==null||r(),te!=null&&te.closeParents&&((qe=M==null?void 0:M.handleClose)==null||qe.call(M)))},[q,H,t]),he=c.useCallback(te=>{var me;(me=v.current)!=null&&me.contains(te.relatedTarget)||t==="hover"&&a==="content-menu"||E.current||K()},[K,t,a]),_e=c.useCallback(()=>{P()},[P]),ie=c.useCallback(()=>{O(),C.current=setTimeout(P,qs)},[O,C,P]),X=c.useCallback(()=>{O(),C.current=setTimeout(()=>K(),Ls)},[O,C,K]),J=c.useCallback(()=>{q==="idle"?P():K()},[q,P,K]),Z=()=>E.current=!0,ge=()=>E.current=!1;de(()=>{if(g){W();return}vs()&&!d?A():G()},[g,W,A,d]);const Ne=c.useCallback(te=>{v.current!==te.currentTarget||te.propertyName!=="transform"||q==="hidden"&&G()},[G,q]);return de(()=>{q!=="visible"||!v.current||(N.current=Jt(v.current,{mode:a,includeTrigger:t==="hover"&&a==="content-menu",onNavigateOutside:()=>{N.current=null,K()}}))},[q,t,K,a]),c.useEffect(()=>{!d&&q!=="hidden"||d&&q!=="idle"||N.current&&(t==="hover"&&(z.current=!0,setTimeout(()=>{z.current=!1},100)),N.current({withoutFocusReturn:!D.current}),N.current=null,D.current=!0)},[q,t,d]),c.useEffect(()=>()=>{N.current&&N.current(),N.current=null},[]),c.useEffect(()=>{const te=br(L,10);return window.addEventListener("resize",te),()=>window.removeEventListener("resize",te)},[L]),c.useEffect(()=>{L()},[w,L]),c.useImperativeHandle(x,()=>({open:P,close:K}),[P,K]),et({Escape:()=>K()},[K]),Xs([v,y],()=>{D.current=!1,K()}),i.jsx(Js,{value:{id:j,flyout:B,width:l,triggerElRef:y,flyoutElRef:v,handleClose:K,handleOpen:P,handleFocus:_e,handleBlur:he,handleMouseEnter:ie,handleMouseLeave:X,handleTransitionEnd:Ne,handleClick:J,handleContentMouseDown:Z,handleContentMouseUp:ge,triggerType:t,trapFocusMode:a,contentGap:f,contentClassName:u,contentAttributes:h},children:o})},Zs=e=>{const{defaultActive:t,onClose:n,onOpen:r}=e,[o,s]=c.useState(t||!1),a=()=>{s(!1),n&&n()},l=()=>{s(!0),r&&r()};return i.jsx(Yr,k(b({},e),{defaultActive:void 0,active:o,onClose:a,onOpen:l}))},Qs=e=>{const{children:t}=e,{id:n,triggerElRef:r,triggerType:o,flyout:s,handleFocus:a,handleBlur:l,handleMouseEnter:d,handleMouseLeave:f,handleClick:u,trapFocusMode:h}=on();let _={onBlur:l,ref:r};return(o==="click"||h==="action-menu")&&(_.onClick=u),o==="hover"&&(_.onMouseEnter=d,_.onMouseLeave=f),(o==="hover"&&h!=="action-menu"||o==="focus")&&(_.onFocus=a,_["aria-describedby"]=n),(o==="click"||o==="focus"||h==="action-menu")&&(h==="dialog"?_["aria-haspopup"]="dialog":h==="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(i.Fragment,{children:t(_)})},Ur=c.createContext({theme:"",colorMode:"light",setTheme:()=>{}}),Rn=c.createContext({mode:"light",setMode:()=>{},invertMode:()=>{}}),ei=()=>{const{mode:e}=c.useContext(Rn);return e},Kr=()=>{const{colorMode:e,theme:t,setTheme:n}=c.useContext(Ur),{mode:r,setMode:o,invertMode:s}=c.useContext(Rn);return c.useMemo(()=>({theme:t,setTheme:n,colorMode:e||r,setColorMode:o,invertColorMode:s}),[e,r,o,s,t,n])},ti={root:"_root_ve3fz_1"},gt=e=>{const{name:t,defaultName:n,colorMode:r,children:o,className:s}=e,[a,l]=c.useState(!1),[d,f]=c.useState(n),u=ei(),h=Kr(),_=!h.theme,g=t||d||h.theme,p=_?u:h.colorMode,w=r==="inverted"?p==="light"?"dark":"light":r||p,y=I(ti.root,s),v=j=>{f(j)};return de(()=>{l(!0)},[]),de(()=>{if(!document||!_)return;const j=document.documentElement.getAttribute("data-rs-color-mode");return document.documentElement.setAttribute("data-rs-theme",g),j||document.documentElement.setAttribute("data-rs-color-mode",w),()=>{document.documentElement.removeAttribute("data-rs-theme"),j||document.documentElement.removeAttribute("data-rs-color-mode")}},[g,w,_]),i.jsx(Ur.Provider,{value:{theme:g,colorMode:w,setTheme:v},children:i.jsx("div",{className:y,"data-rs-theme":_?void 0:g,"data-rs-color-mode":_||!r&&!a?void 0:w,children:o})})},ni=e=>{const{defaultMode:t,children:n}=e,[r,o]=c.useState(t||"light"),s=c.useCallback(l=>{document.documentElement.setAttribute("data-rs-color-mode",l),o(d=>(d!==l&&gs(),l))},[]);de(()=>{He(()=>{bs()})},[r]),de(()=>{const l=document.documentElement.getAttribute("data-rs-color-mode");l&&s(l)},[]);const a=c.useMemo(()=>({mode:r,setMode:s,invertMode:()=>{s(r==="light"?"dark":"light")}}),[r,s]);return i.jsx(Rn.Provider,{value:a,children:n})},Gr=c.createContext({}),ri=()=>c.useContext(Gr),sn=e=>{const{children:t,targetRef:n}=e,r=ri(),o=n||r.scopeRef;return be.createPortal(i.jsx(gt,{children:t}),(o==null?void 0:o.current)||document.body)};function oi(e){const{children:t}=e,n=c.useRef(null);return i.jsx(Gr.Provider,{value:{scopeRef:n},children:t(n)})}sn.Scope=oi;const bt={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"},si=e=>{const{children:t,className:n,attributes:r}=e,{flyout:o,id:s,flyoutElRef:a,triggerElRef:l,handleTransitionEnd:d,triggerType:f,handleMouseEnter:u,handleMouseLeave:h,handleContentMouseDown:_,handleContentMouseUp:g,contentGap:p,contentClassName:x,contentAttributes:w,trapFocusMode:y,width:v}=on(),{styles:j,status:C,position:N}=o,[z,E]=c.useState(!1);if(de(()=>{E(!0)},[]),C==="idle"||!z)return null;const D=I(bt.content,C==="visible"&&bt["--visible"],["visible","hidden"].includes(C)&&bt["--animated"],N&&bt[`--position-${N}`],v==="trigger"&&bt["--width-trigger"]),B=I(bt.inner,n,x);let M;f==="hover"?M="tooltip":y==="dialog"?M="dialog":y==="selection-menu"?M="listbox":y==="action-menu"&&(M="menu");const q=i.jsx("div",{className:D,style:k(b({},j),{"--rs-flyout-gap":p}),ref:a,onTransitionEnd:d,onMouseEnter:f==="hover"?u:void 0,onMouseLeave:f==="hover"?h:void 0,onMouseDown:_,onTouchStart:_,onMouseUp:g,onTouchEnd:g,children:i.jsx("div",k(b({role:M},r),{id:s,"aria-modal":f==="click",style:w==null?void 0:w.style,className:B,children:t}))}),L=Bn(l.current);return i.jsx(sn,{targetRef:L===document.body?void 0:{current:L},children:q})},nt=e=>{const{active:t}=e;return typeof t=="boolean"?i.jsx(Yr,b({},e)):i.jsx(Zs,b({},e))};nt.Trigger=Qs,nt.Content=si;const Yn={content:"_content_kjjlu_1","content--variant-elevated":"_content--variant-elevated_kjjlu_5","content--has-width":"_content--has-width_kjjlu_15"},ii={root:"_root_e7w6q_1"},Un=e=>{if(!e)return null;const t=oe("--rs-p",e);return{classNames:ii.root,variables:t}},vt=e=>{var j;const{id:t,forcePosition:n,onOpen:r,onClose:o,active:s,defaultActive:a,children:l,width:d,contentGap:f,variant:u="elevated",triggerType:h="click",position:_="bottom",disableHideAnimation:g,instanceRef:p}=e,x=(j=e.padding)!=null?j:u==="headless"?0:4,w=e.trapFocusMode||(h==="hover"?"content-menu":void 0),y=Un(x),v=I(Yn.content,!!d&&Yn["content--has-width"],u&&Yn[`content--variant-${u}`],y==null?void 0:y.classNames);return i.jsx(nt,{id:t,instanceRef:p,position:_,forcePosition:n,onOpen:r,onClose:o,trapFocusMode:w,triggerType:h,active:s,defaultActive:a,width:d,disableHideAnimation:g,contentGap:f,contentClassName:v,contentAttributes:{style:b({},y==null?void 0:y.variables)},children:l})};vt.Trigger=nt.Trigger,vt.Content=nt.Content;const Re={root:"_root_1dqcq_1",icon:"_icon_1dqcq_14",content:"_content_1dqcq_19","--rounded-corners":"_--rounded-corners_1dqcq_24","--size-small":"_--size-small_1dqcq_1","--size-medium":"_--size-medium_1dqcq_1","--size-large":"_--size-large_1dqcq_1","--color-neutral":"_--color-neutral_1dqcq_63","--selected":"_--selected_1dqcq_67","--color-critical":"_--color-critical_1dqcq_73","--color-primary":"_--color-primary_1dqcq_83","--disabled":"_--disabled_1dqcq_104",aligner:"_aligner_1dqcq_125","--rounded-corners-true--m":"_--rounded-corners-true--m_1dqcq_1","--rounded-corners-false--m":"_--rounded-corners-false--m_1dqcq_1","--size-small--m":"_--size-small--m_1dqcq_1","--size-medium--m":"_--size-medium--m_1dqcq_1","--size-large--m":"_--size-large--m_1dqcq_1","--rounded-corners-true--l":"_--rounded-corners-true--l_1dqcq_1","--rounded-corners-false--l":"_--rounded-corners-false--l_1dqcq_1","--size-small--l":"_--size-small--l_1dqcq_1","--size-medium--l":"_--size-medium--l_1dqcq_1","--size-large--l":"_--size-large--l_1dqcq_1","--rounded-corners-true--xl":"_--rounded-corners-true--xl_1dqcq_1","--rounded-corners-false--xl":"_--rounded-corners-false--xl_1dqcq_1","--size-small--xl":"_--size-small--xl_1dqcq_1","--size-medium--xl":"_--size-medium--xl_1dqcq_1","--size-large--xl":"_--size-large--xl_1dqcq_1"},ai=e=>i.jsx(Yt,k(b({},e),{side:e.side||"inline",className:[Re.aligner,e.className]})),li=(e,t)=>{const{icon:n,startSlot:r,endSlot:o,children:s,color:a="primary",selected:l,disabled:d,onClick:f,href:u,size:h="medium",roundedCorners:_,className:g,attributes:p}=e,x=I(Re.root,g,U(Re,"--size",h),U(Re,"--rounded-corners",_),a&&Re[`--color-${a}`],l&&Re["--selected"],d&&Re["--disabled"]),w=Te(h,v=>v==="large"?3:2),y=Te(h,v=>v==="large"?5:4);return i.jsx($e,{disabled:d,className:x,attributes:k(b({},p),{"data-rs-aligner-target":!0}),onClick:f,href:u,ref:t,children:i.jsxs(F,{direction:"row",gap:w,align:"center",children:[n&&i.jsx(ce,{svg:n,className:Re.icon,size:y}),!n&&r,s&&i.jsx(F.Item,{grow:!0,className:Re.content,children:s}),o]})})},Kn=c.forwardRef(li);Kn.Aligner=ai;const It=()=>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"})}),an={menu:"_menu_tat3a_1",section:"_section_tat3a_5",item:"_item_tat3a_11",arrow:"_arrow_tat3a_15"},Gn=c.createContext(null),ke=e=>{const a=e,{children:t,position:n="bottom-start",triggerType:r="click",trapFocusMode:o="action-menu"}=a,s=ze(a,["children","position","triggerType","trapFocusMode"]);return i.jsx(vt,k(b({},s),{position:n,padding:0,trapFocusMode:o,triggerType:r,children:t}))},ci=e=>{const{children:t,attributes:n,className:r}=e,o=c.useContext(Gn),[s]=tt(),{ref:a}=et({[s?qn:Ln]:()=>{var d;(d=o==null?void 0:o.current)==null||d.close()},[$s]:()=>{const d=Kt();d==null||d.click()}},[o==null?void 0:o.current]),l=I(an.menu,r);return i.jsx(vt.Content,{className:l,attributes:k(b({},n),{ref:a}),children:t})},di=e=>{const{children:t}=e;return i.jsx("div",{className:an.section,role:"group",children:t})},Xr=e=>{const{onClick:t}=e,{handleClose:n}=on(),r=o=>{n&&n({closeParents:!0}),t&&t(o)};return i.jsx(Kn,k(b({},e),{roundedCorners:!0,className:an.item,attributes:b({role:"menuitem"},e.attributes),onClick:r}))},ui=e=>{const{children:t}=e,n=c.useRef();return i.jsx(Gn.Provider,{value:n,children:i.jsx(ke,{triggerType:"hover",position:"end-top",contentGap:.5,instanceRef:n,children:t})})},_i=e=>{const l=e,{children:t,attributes:n}=l,r=ze(l,["children","attributes"]),o=c.useContext(Gn),[s]=tt(),{ref:a}=et({[s?Ln:qn]:()=>{var d;(d=o==null?void 0:o.current)==null||d.open()}},[],{ref:n==null?void 0:n.ref});return i.jsx(Xr,k(b({},r),{attributes:k(b({},n),{ref:a}),endSlot:i.jsx(ce,{autoWidth:!0,svg:It,className:an.arrow}),children:t}))},mi=e=>{const{children:t}=e;return i.jsx(ke.Trigger,{children:n=>i.jsx(_i,{attributes:n,children:t})})};ke.Trigger=vt.Trigger,ke.Content=ci,ke.Section=di,ke.Item=Xr,ke.SubMenu=ui,ke.SubTrigger=mi;const Jr=c.createContext({}),Zr=e=>{const y=e,{children:t,onChange:n,onItemSelect:r,name:o}=y,s=ze(y,["children","onChange","onItemSelect","name"]),a=c.useRef(null),[l,d]=c.useState(!1),[f,u]=c.useState(!1),h=!!c.Children.toArray(t).filter(Boolean).length,_=c.useCallback(()=>d(!0),[]),g=()=>d(!1);et({[`${Sn},${In}`]:()=>_()},[_],{ref:a});const p=v=>{n==null||n(v),u(!1),_()},x=v=>{n==null||n({value:v.value,name:o}),r==null||r({value:v.value}),u(!0)},w=v=>{var j;requestAnimationFrame(()=>{f&&(d(!1),u(!1))}),(j=s.onFocus)==null||j.call(s,v)};return i.jsx(Jr.Provider,{value:{onItemClick:x},children:i.jsxs(ke,{position:"bottom",width:"trigger",triggerType:"focus",trapFocusMode:"selection-menu",active:!f&&h&&l,onClose:g,onOpen:_,disableHideAnimation:!0,children:[i.jsx(ke.Trigger,{children:C=>{var N=C,{ref:v}=N,j=ze(N,["ref"]);return i.jsx(Dn,k(b({},s),{name:o,onChange:p,attributes:k(b({},s.attributes),{ref:v}),inputAttributes:k(b({},s.inputAttributes),{onFocus:z=>{var E;(E=j.onFocus)==null||E.call(j),w(z)},ref:a,role:"combobox"})}))}}),i.jsx(ke.Content,{children:t})]})})},fi=e=>{const a=e,{value:t,onClick:n}=a,r=ze(a,["value","onClick"]),{onItemClick:o}=c.useContext(Jr),s=l=>{n==null||n(l),o({value:t})};return i.jsx(ke.Item,k(b({},r),{attributes:k(b({},r.attributes),{role:"option"}),onClick:s}))};Zr.Item=fi;const ln={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"},hi=e=>{const{color:t="neutral",variant:n,src:r,size:o=12,squared:s,initials:a,icon:l,alt:d,className:f,attributes:u}=e,h=s?Te(o,x=>x>=24?"large":x>=12?"medium":"small"):"circular",_=Mt(o),g=I(ln.root,f,_==null?void 0:_.classNames,t&&ln[`--color-${t}`],n&&ln[`--variant-${n}`]),p=()=>r?i.jsx("img",{role:a?void 0:"presentation",src:r,alt:d,className:ln.img}):l?i.jsx(ce,{svg:l,size:Te(o,x=>Math.ceil(x*.4))}):a;return i.jsx(F,{borderRadius:h,attributes:k(b({},u),{style:b({},_==null?void 0:_.variables)}),backgroundColor:n==="faded"?`${t}-${n}`:t,className:g,children:p()})},Qr=()=>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"})]}),Ie={root:"_root_tbrff_1",dismiss:"_dismiss_tbrff_21","--actionable":"_--actionable_tbrff_26","--variant-faded":"_--variant-faded_tbrff_1","--variant-outline":"_--variant-outline_tbrff_1","--color-positive":"_--color-positive_tbrff_47","--color-critical":"_--color-critical_tbrff_67","--color-warning":"_--color-warning_tbrff_87","--color-primary":"_--color-primary_tbrff_107","--size-small":"_--size-small_tbrff_1","--size-medium":"_--size-medium_tbrff_1","--size-large":"_--size-large_tbrff_1","--rounded":"_--rounded_tbrff_153","--hidden":"_--hidden_tbrff_165",container:"_container_tbrff_172","--container-overlap":"_--container-overlap_tbrff_197","--container-position-top-end":"_--container-position-top-end_tbrff_201","--container-position-bottom-end":"_--container-position-bottom-end_tbrff_213"},gi=e=>{const{children:t,position:n="top-end",overlap:r,className:o,attributes:s}=e,a=I(Ie.container,o,r&&Ie["--container-overlap"],n&&Ie[`--container-position-${n}`]);return i.jsx("div",k(b({},s),{className:a,children:t}))},eo=e=>{const{children:t,color:n,rounded:r,size:o="medium",icon:s,endIcon:a,variant:l,hidden:d,href:f,onClick:u,onDismiss:h,dismissAriaLabel:_,className:g,attributes:p}=e,x=!!(u||f),w=o==="large"?4:3.5,y=I(Ie.root,g,r&&Ie["--rounded"],d&&Ie["--hidden"],o&&Ie[`--size-${o}`],n&&Ie[`--color-${n}`],l&&Ie[`--variant-${l}`],x&&Ie["--actionable"]);return i.jsxs($e,{onClick:u,href:f,className:y,attributes:p,children:[s&&i.jsx(ce,{svg:s,autoWidth:!0,size:w}),t&&i.jsx(ne,{variant:o==="large"?"body-3":"caption-1",weight:"medium",attributes:{"aria-hidden":d?"true":void 0},children:t}),a&&i.jsx(ce,{svg:a,autoWidth:!0,size:w}),h&&i.jsx($e,{onClick:h,className:Ie.dismiss,as:"span",attributes:{"aria-label":_},children:i.jsx(ce,{svg:Qr,size:w})})]})};eo.Container=gi;const cn={root:"_root_1ty16_15","rs-reshaped-loader":"_rs-reshaped-loader_1ty16_1",inner:"_inner_1ty16_44","--color-inherit":"_--color-inherit_1ty16_63","--color-primary":"_--color-primary_1ty16_67","--color-positive":"_--color-positive_1ty16_71","--color-critical":"_--color-critical_1ty16_75","--size-small":"_--size-small_1ty16_1","--size-medium":"_--size-medium_1ty16_1","--size-small--m":"_--size-small--m_1ty16_1","--size-medium--m":"_--size-medium--m_1ty16_1","--size-small--l":"_--size-small--l_1ty16_1","--size-medium--l":"_--size-medium--l_1ty16_1","--size-small--xl":"_--size-small--xl_1ty16_1","--size-medium--xl":"_--size-medium--xl_1ty16_1"},to=e=>{const{size:t="small",color:n="primary",className:r,attributes:o}=e,s=o==null?void 0:o["aria-label"],a=I(cn.root,r,U(cn,"--size",t),n&&cn[`--color-${n}`]);return i.jsx("span",k(b({},o),{role:"progressbar","aria-live":s?"assertive":void 0,"aria-label":s,className:a,children:i.jsx("span",{className:cn.inner})}))},fe={root:"_root_qjphi_1",loader:"_loader_qjphi_37",icon:"_icon_qjphi_45","--icon-position-end":"_--icon-position-end_qjphi_49",text:"_text_qjphi_60","--loading":"_--loading_qjphi_72","--elevated":"_--elevated_qjphi_89","--icon-only":"_--icon-only_qjphi_93","--rounded":"_--rounded_qjphi_99","--size-small":"_--size-small_qjphi_1","--size-medium":"_--size-medium_qjphi_1","--size-large":"_--size-large_qjphi_1","--size-xlarge":"_--size-xlarge_qjphi_1","--full-width":"_--full-width_qjphi_141","--variant-solid":"_--variant-solid_qjphi_155","--color-black":"_--color-black_qjphi_155","--color-white":"_--color-white_qjphi_156","--variant-faded":"_--variant-faded_qjphi_157","--color-neutral":"_--color-neutral_qjphi_157","--color-primary":"_--color-primary_qjphi_158","--color-critical":"_--color-critical_qjphi_159","--color-positive":"_--color-positive_qjphi_160","--color-inherit":"_--color-inherit_qjphi_161","--variant-outline":"_--variant-outline_qjphi_162","--variant-ghost":"_--variant-ghost_qjphi_163","--highlighted":"_--highlighted_qjphi_182","--disabled":"_--disabled_qjphi_535",group:"_group_qjphi_567",aligner:"_aligner_qjphi_628","--size-small--m":"_--size-small--m_qjphi_1","--size-medium--m":"_--size-medium--m_qjphi_1","--size-large--m":"_--size-large--m_qjphi_1","--size-xlarge--m":"_--size-xlarge--m_qjphi_1","--full-width-true--m":"_--full-width-true--m_qjphi_1","--full-width-false--m":"_--full-width-false--m_qjphi_1","--size-small--l":"_--size-small--l_qjphi_1","--size-medium--l":"_--size-medium--l_qjphi_1","--size-large--l":"_--size-large--l_qjphi_1","--size-xlarge--l":"_--size-xlarge--l_qjphi_1","--full-width-true--l":"_--full-width-true--l_qjphi_1","--full-width-false--l":"_--full-width-false--l_qjphi_1","--size-small--xl":"_--size-small--xl_qjphi_1","--size-medium--xl":"_--size-medium--xl_qjphi_1","--size-large--xl":"_--size-large--xl_qjphi_1","--size-xlarge--xl":"_--size-xlarge--xl_qjphi_1","--full-width-true--xl":"_--full-width-true--xl_qjphi_1","--full-width-false--xl":"_--full-width-false--xl_qjphi_1"},bi=e=>{const{children:t,className:n,attributes:r}=e,o=I(fe.group,n);return i.jsx("div",k(b({},r),{className:o,role:"group",children:t}))},vi=e=>i.jsx(Yt,k(b({},e),{side:e.side||e.position,className:[fe.aligner,e.className]})),pi=(e,t)=>{const{variant:n="solid",color:r="neutral",elevated:o,highlighted:s,fullWidth:a,loading:l,disabled:d,type:f,href:u,size:h="medium",className:_,children:g,rounded:p,attributes:x,onClick:w,icon:y,endIcon:v}=e,j=(y||v)&&!g,C=I(fe.root,_,r&&fe[`--color-${r}`],n&&fe[`--variant-${n}`],U(fe,"--size",h),U(fe,"--full-width",a),o&&n!=="ghost"&&fe["--elevated"],p&&fe["--rounded"],d&&fe["--disabled"],l&&fe["--loading"],s&&fe["--highlighted"],j&&fe["--icon-only"]),N=z=>{if(!(z==="start"&&y||z==="end"&&v))return null;const M=I(fe.icon,z==="end"&&fe["--icon-position-end"]),q=Te(h,L=>L==="large"?5:L==="xlarge"?6:4);return i.jsx(ce,{className:M,svg:z==="start"?y:v,size:q,autoWidth:!0})};return i.jsxs($e,{disabled:d||l,className:C,attributes:k(b({},x),{"data-rs-aligner-target":!0}),type:f,onClick:w,href:u,ref:t,children:[l&&i.jsx("div",{className:fe.loader,children:i.jsx(to,{size:"small",color:"inherit"})}),N("start"),g&&i.jsx("span",{className:fe.text,children:g}),N("end")]})},pe=c.forwardRef(pi);pe.Group=bi,pe.Aligner=vi;const xi=()=>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"})]}),yi=e=>{const{children:t,separator:n,color:r,defaultVisibleItems:o,ariaLabel:s,className:a,attributes:l}=e,d=o&&o>=2?o:null,[f,u]=c.useState(!1),h=I(a),_=c.Children.count(t);let g=0;const p=()=>{u(!0)};return i.jsx("nav",k(b({},l),{"aria-label":s||(l==null?void 0:l["aria-label"]),className:h,children:i.jsx(F,{as:"ol",direction:"row",gap:2,align:"center",children:c.Children.map(t,(x,w)=>{if(!x)return null;const y=_-(d||0),v=g===0,j=g>y,C=!d||v||j||f,N=g===y;g+=1;let z=null;return C?z=x:N&&(z=i.jsx(pe.Aligner,{children:i.jsx(pe,{variant:"ghost",size:"small",icon:xi,onClick:p})})),z===null?null:i.jsxs(F,{as:"li",gap:2,direction:"row",align:"center",children:[w>0&&(C||N)&&i.jsx(ne,{color:"neutral-faded",children:n||i.jsx(ce,{svg:It,size:3})}),i.jsx(ne,{variant:"body-3",color:r==="primary"?"primary":"neutral-faded",children:z})]},w)})})}))},qt={root:"_root_80rry_1","--color-primary":"_--color-primary_80rry_6","--color-critical":"_--color-critical_80rry_10","--color-positive":"_--color-positive_80rry_14","--color-inherit":"_--color-inherit_80rry_18","--variant-plain":"_--variant-plain_80rry_23","--disabled":"_--disabled_80rry_27","--variant-underline":"_--variant-underline_80rry_33","--with-icon":"_--with-icon_80rry_49"},wi=(e,t)=>{const{icon:n,disabled:r,href:o,color:s="primary",variant:a="underline",className:l,children:d,attributes:f,type:u,onClick:h}=e,_=I(qt.root,l,r&&qt["--disabled"],a&&qt[`--variant-${a}`],s&&qt[`--color-${s}`],n&&qt["--with-icon"]);return i.jsxs($e,{href:o,disabled:r,className:_,attributes:f,type:u,onClick:h,ref:t,children:[n&&i.jsx(ce,{svg:n}),d]})},no=c.forwardRef(wi),ji=e=>{const{children:t,onClick:n,href:r,icon:o,disabled:s}=e;return!r&&!n&&!s?i.jsx(ne,{variant:"body-3",weight:"medium",color:"neutral",children:t}):i.jsx(no,{onClick:n,href:r,icon:o,disabled:s,variant:"plain",color:"inherit",children:t})},ro=yi;ro.Item=ji;const oo=7,so=1,Lt=e=>{const{date:t}=e;return[t.getFullYear(),(t.getMonth()+1).toString().padStart(2,"0"),t.getDate().toString().padStart(2,"0")].join("-")},Xn=e=>{const{date:t,firstWeekDay:n=so}=e,r=t.getDay();return r<n?oo-r-n:r-n},Ci=e=>{const{firstWeekDay:t=so,renderWeekDay:n}=e,r=new Date(2021,1,t),o=[];for(let s=t;s<t+oo;s++){const a=n?n({weekDay:s,date:r}):r.toLocaleDateString("en-US",{weekday:"short"});o.push(a.slice(0,2)),r.setDate(r.getDate()+1)}return o},ki=e=>{const{renderMonthLabel:t}=e;return new Array(12).fill(null).map((n,r)=>{const o=new Date(0,r);return t?t({month:r,date:o}):o.toLocaleString("default",{month:"short"})})},Ni=e=>{const{date:t,firstWeekDay:n}=e,r=t.getMonth(),o=t.getFullYear(),s=[],a=new Date(o,r,1),l=Xn({date:a,firstWeekDay:n});for(l!==0&&s.push(new Array(l).fill(null));r===a.getMonth();)(Xn({date:a,firstWeekDay:n})===0||!s.length)&&s.push([]),s[s.length-1].push(new Date(a)),a.setDate(a.getDate()+1);const d=Xn({date:a,firstWeekDay:n});return d!==0&&s[s.length-1].push(...new Array(7-d).fill(null)),s},io=e=>(e==null?void 0:e.querySelectorAll("[data-rs-date]"))||[],Jn=(e,t)=>{const n=new Date(e);return n.setMonth(t),n},$i=e=>Jn(e,e.getMonth()-1),ao=e=>Jn(e,e.getMonth()+1),lo=(e,t)=>{const n=new Date(e);return n.setFullYear(t),n},Ei=e=>lo(e,e.getFullYear()-1),zi=e=>lo(e,e.getFullYear()+1),Ti=e=>{const{date:t,min:n,max:r}=e,o=t.getMonth(),s=t.getFullYear(),a=new Date(s,o,0),l=ao(t);return l.setDate(0),{isFirstMonth:n&&n>a,isLastMonth:r&&r<l}},Mi=e=>{const{rootRef:t,changeToNextMonth:n,changeToPreviousMonth:r,monthDate:o,verticalDelta:s,min:a,max:l}=e,d=c.useRef(0),f=c.useCallback(u=>{const{delta:h,onMonthChange:_}=u,g=document.activeElement;if(!g)return;const p=io(t.current),x=Array.from(p),y=x.findIndex(B=>B===g)+h,v=x[y],j=g.getAttribute("data-rs-date");if(!j)return;const[C,N,z]=j==null?void 0:j.split("-").map(Number);let E;if(z?E=new Date(C,N-1,z+h):h>0?E=new Date(C,N-1+h,1):E=new Date(C,N-1+h+1,0),!(a&&E<a||l&&E>l)){if(v){v.focus();return}d.current=y<0?y:y-(x.length-1),_()}},[t,a,l]);c.useEffect(()=>{const u=d.current;if(u===0)return;const h=io(t.current),_=u<0?h.length+u:u-1,g=h[_];g&&g.focus(),d.current=0},[o,t]),et({[Ln]:()=>f({delta:-1,onMonthChange:r}),[qn]:()=>f({delta:1,onMonthChange:n}),[Sn]:()=>f({delta:-s,onMonthChange:r}),[In]:()=>f({delta:s,onMonthChange:n})},[n,r,f,s],{ref:t})},ve={selection:"_selection_ai5jc_1",weekday:"_weekday_ai5jc_6",row:"_row_ai5jc_12",control:"_control_ai5jc_16","cell-button":"_cell-button_ai5jc_20",cell:"_cell_ai5jc_20","cell--in-range":"_cell--in-range_ai5jc_1","cell--active-start":"_cell--active-start_ai5jc_1","cell--active-end":"_cell--active-end_ai5jc_1","cell--active-single":"_cell--active-single_ai5jc_1"},Di=e=>{const{date:t,startValue:n,endValue:r,isActiveStart:o,isActiveEnd:s,disabled:a,focusable:l,onChange:d,range:f,hoveredDate:u,onDateHover:h,onDateHoverEnd:_,renderAriaLabel:g}=e;if(!t)return i.jsx("td",{className:ve.cell,"aria-hidden":"true"});const p=n&&n<t&&(r&&r>t||u&&!r&&u>t),x=I([ve.cell,!f&&o&&ve["cell--active-single"],o&&ve["cell--active-start"],(s||!r&&o&&!(u&&n&&u>n))&&ve["cell--active-end"],p&&ve["cell--in-range"]]),w=()=>{if(!f){d==null||d({value:t});return}const j=n&&r,C=!n&&!r,N=n&&t<n,z=j||C||N,E=z?t:n,D=z?null:t;d==null||d({value:{start:E,end:D}})},y=()=>{h(t)},v=()=>{_(t)};return i.jsx("td",{className:x,role:a?"presentation":"gridcell",children:i.jsx($e,{fullWidth:!0,insetFocus:!0,className:ve["cell-button"],disabled:a,onClick:w,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":o||s,"data-rs-date":Lt({date:t}),onMouseEnter:y,onMouseLeave:v,onFocus:y,onBlur:v},children:t.getDate()})})},Si=e=>{const{date:t,value:n,onChange:r,min:o,max:s,range:a,firstWeekDay:l,hoveredDate:d,onDateHover:f,onDateHoverEnd:u,renderWeekDay:h,renderDateAriaLabel:_}=e;let g=!1;const p=t.getMonth(),x=Ni({date:t,firstWeekDay:l}),w=Ci({firstWeekDay:l,renderWeekDay:h});return i.jsxs("table",{className:ve.selection,role:"grid",children:[i.jsx("thead",{"aria-hidden":"true",children:i.jsx("tr",{children:w.map(y=>i.jsx("th",{className:ve.weekday,scope:"col",children:y},y))})}),i.jsx("tbody",{children:x.map(y=>{var j;const v=[p,(j=y[0])==null?void 0:j.getDate()].filter(Boolean).join("-");return i.jsx("tr",{className:ve.row,children:y.map((C,N)=>{const z=!!C&&(o&&C<o||s&&C>s),E=C==null?void 0:C.getMonth(),D=new Date,B=Lt({date:D}),M=n&&"start"in n?n.start:n,q=n&&"end"in n?n.end:n,L=C&&Lt({date:C}),W=M&&Lt({date:M}),A=q&&Lt({date:q}),G=!!L&&!!W&&L===W,H=!!L&&!!A&&L===A;let O=!1;return!g&&C&&(M&&M.getMonth()===(C==null?void 0:C.getMonth())?O=+M==+C:L&&E===D.getMonth()?O=L>=B&&!z:O=!z),O&&(g=!0),i.jsx(Di,{date:C,disabled:z,range:a,focusable:O,startValue:M,endValue:q,isActiveStart:G,isActiveEnd:H,onChange:r,hoveredDate:d,onDateHover:f,onDateHoverEnd:u,renderAriaLabel:_},N)})},v)})})]})},Zn=3,Ii=e=>{const{renderMonthLabel:t,renderMonthAriaLabel:n,monthDate:r,min:o,max:s,onMonthClick:a}=e,l=c.useRef(null),d=ki({renderMonthLabel:t}),f=[];for(let u=0;u<d.length;u+=Zn){const h=d.slice(u,u+Zn);f.push(h)}return c.useEffect(()=>{var h;const u=(h=l.current)==null?void 0:h.querySelector('[tabIndex="0"]');He(()=>{u==null||u.focus()})},[]),i.jsx("table",{ref:l,role:"grid",className:ve.selection,children:i.jsx("tbody",{children:f.map((u,h)=>i.jsx("tr",{className:ve.row,children:u.map((_,g)=>{const p=h*Zn+g,x=new Date(r.getFullYear(),p),w=o&&o.getFullYear()>=x.getFullYear()&&o.getMonth()>x.getMonth(),v=s&&s.getFullYear()<=x.getFullYear()&&s.getMonth()<x.getMonth()||w;return i.jsx("td",{role:v?"presentation":"gridcell",className:ve.cell,children:i.jsx($e,{fullWidth:!0,insetFocus:!0,className:ve["cell-button"],disabled:v,onClick:()=>a(p),attributes:{tabIndex:p===r.getMonth()?0:-1,"aria-hidden":v,"aria-label":n?n({month:p}):_,"data-rs-date":`${r.getFullYear()}-${(p+1).toString().padStart(2,"0")}`},children:_})},_)})},h))})})},qi={root:"_root_1g94s_1"},Qn=e=>{const{children:t}=e;return i.jsx("div",{className:qi.root,children:t})},er=()=>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"})}),Li=e=>{const{selectionMode:t,onMonthTitleClick:n,monthTitleRef:r,monthDate:o,renderSelectedMonthLabel:s,isFirstMonth:a,isLastMonth:l,onNextClick:d,onPreviousClick:f,monthSelectionAriaLabel:u="Select a month",previousMonthAriaLabel:h="Previous month",previousYearAriaLabel:_="Previous year",nextMonthAriaLabel:g="Next month",nextYearAriaLabel:p="Next year"}=e,x=c.useRef(null),w=c.useRef(null);return c.useEffect(()=>{if(!a||document.activeElement!==x.current)return;const y=w.current||r.current;He(()=>{y==null||y.focus()})},[a,r]),c.useEffect(()=>{if(!l||document.activeElement!==w.current)return;const y=x.current||r.current;He(()=>{y==null||y.focus()})},[l,r]),i.jsxs(F,{direction:"row",gap:2,align:"center",children:[i.jsx(mt,{visibility:!0,hide:a,children:i.jsx("div",{className:ve.control,children:i.jsx(pe,{variant:"ghost",icon:er,onClick:f,attributes:{ref:x,"aria-label":t==="date"?h:_}})})}),i.jsxs(F.Item,{grow:!0,children:[t==="date"&&i.jsxs(pe,{fullWidth:!0,variant:"ghost",onClick:n,attributes:{ref:r},children:[s?s({date:o}):o.toLocaleDateString("en-US",{month:"long",year:"numeric"}),i.jsx(Qn,{children:u})]}),t==="month"&&i.jsx(ne,{align:"center",weight:"medium",children:o.toLocaleDateString("en-US",{year:"numeric"})})]}),i.jsx(mt,{visibility:!0,hide:l,children:i.jsx("div",{className:ve.control,children:i.jsx(pe,{variant:"ghost",icon:It,onClick:d,attributes:{ref:w,"aria-label":t==="date"?g:p}})})})]})},tr=e=>{const{value:t,onChange:n,defaultMonth:r,min:o,max:s,range:a,firstWeekDay:l,renderMonthLabel:d,renderSelectedMonthLabel:f,renderWeekDay:u,previousMonthAriaLabel:h,previousYearAriaLabel:_,nextMonthAriaLabel:g,nextYearAriaLabel:p,monthSelectionAriaLabel:x,renderMonthAriaLabel:w,renderDateAriaLabel:y}=e,[v,j]=c.useState("date"),[C,N]=c.useState(r||new Date),[z,E]=c.useState(null),D=c.useRef(null),B=c.useRef(v),M=Ti({date:C,min:o,max:s}),q=c.useRef(null),L=()=>{if(v==="month"){N(P=>Ei(P));return}N(P=>$i(P))},W=()=>{if(v==="month"){N(P=>zi(P));return}N(P=>ao(P))},A=()=>{j("month")},G=P=>{N(K=>Jn(K,P)),j("date")},H=P=>{E(P)},O=P=>{z&&+z==+P&&E(null)};return c.useEffect(()=>{v==="date"&&v!==B.current&&He(()=>{var P;(P=D.current)==null||P.focus()}),B.current=v},[v]),Mi({monthDate:C,rootRef:q,changeToNextMonth:W,changeToPreviousMonth:L,verticalDelta:v==="date"?7:3,min:o,max:s}),i.jsxs(F,{gap:2,children:[i.jsx(Li,{renderSelectedMonthLabel:f,monthDate:C,selectionMode:v,isFirstMonth:M.isFirstMonth,isLastMonth:M.isLastMonth,monthTitleRef:D,onMonthTitleClick:A,onNextClick:W,onPreviousClick:L,previousMonthAriaLabel:h,previousYearAriaLabel:_,nextMonthAriaLabel:g,nextYearAriaLabel:p,monthSelectionAriaLabel:x}),i.jsxs(F.Item,{attributes:{ref:q},children:[v==="date"&&i.jsx(Si,{date:C,value:t,onChange:n,min:o,max:s,range:a,firstWeekDay:l,hoveredDate:z,onDateHover:H,onDateHoverEnd:O,renderWeekDay:u,renderDateAriaLabel:y}),v==="month"&&i.jsx(Ii,{monthDate:C,onMonthClick:G,renderMonthLabel:d,renderMonthAriaLabel:w,min:o,max:s})]})]})},Ai=e=>{const l=e,{onChange:t,defaultValue:n,range:r}=l,o=ze(l,["onChange","defaultValue","range"]),[s,a]=c.useState(n||null);return r?i.jsx(tr,k(b({range:!0},o),{value:s,onChange:d=>{a(d.value),t==null||t(d)}})):i.jsx(tr,k(b({},o),{value:s,onChange:d=>{a(d.value),t==null||t(d)}}))},Pi=e=>e.value!==void 0?i.jsx(tr,b({},e)):i.jsx(Ai,b({},e)),pt={root:"_root_1mrfd_1",content:"_content_1mrfd_13","--selected":"_--selected_1mrfd_18","--elevated":"_--elevated_1mrfd_24","--actionable":"_--actionable_1mrfd_29"},Fi=(e,t)=>{const{padding:n=4}=e,{selected:r,elevated:o,bleed:s,height:a,onClick:l,href:d,children:f,className:u,attributes:h,as:_="div"}=e,g=!!d||!!l,p=kn("medium"),x=wr(s),w=Un(n),y=Mt(a),v=I(pt.root,p==null?void 0:p.classNames,x==null?void 0:x.classNames,w==null?void 0:w.classNames,y==null?void 0:y.classNames,g&&pt["--actionable"],o&&pt["--elevated"],r&&pt["--selected"],u),j=b(b(b(b({},h==null?void 0:h.style),x==null?void 0:x.variables),w==null?void 0:w.variables),y==null?void 0:y.variables);return g?i.jsx($e,{className:v,attributes:k(b({},h),{style:j}),href:d,as:_,onClick:l,ref:t,children:i.jsx("span",{className:pt.content,children:f})}):i.jsx(_,k(b({},h),{onClick:l,href:d,ref:t,className:v,style:j,children:i.jsx("span",{className:pt.content,children:f})}))},Vi=c.forwardRef(Fi);var xt=(e=>(e.back="back",e.forward="forward",e))(xt||{});const Ye={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"},co=e=>{const{type:t,scrollElRef:n,scrollPosition:r,onClick:o,isRTL:s,mounted:a}=e,[l,d]=c.useState(!1),[f,u]=c.useState(!1),h=t===xt.forward,_=t===(s?xt.back:xt.forward),g=I(Ye.control,_?Ye["--control-next"]:Ye["--control-prev"],l&&Ye["--control-visible"],f&&Ye["--control-rendered"]);return de(()=>{const p=n.current;if(!p||!a)return;let x;const w=Math.abs(r),y=w<=0,v=w+p.clientWidth>=p.scrollWidth-1;return(h?v:y)?(d(!1),x=setTimeout(()=>u(!1),1500)):(u(!0),d(!0)),()=>{x&&clearTimeout(x)}},[r,n.current,a]),i.jsx("div",{className:g,"aria-hidden":"true",children:i.jsx(pe,{onClick:o,icon:_?It:er,rounded:!0,variant:"faded",elevated:!0,attributes:{"aria-disabled":!l}})})},Oi=e=>{const{children:t,gap:n=3,visibleItems:r,bleed:o,navigationDisplay:s,instanceRef:a,className:l,attributes:d}=e,[f,u]=c.useState(!1),[h,_]=c.useState(0),[g]=tt(),p=c.useRef(null),x={};typeof o=="object"&&Object.entries(o).forEach(([E,D])=>{x[E]=typeof D=="number"&&D>0});const w=I(Ye.root,l,...U(Ye,"--bleed",typeof o=="number"?!0:x)),y=Go(E=>{const D=E.target;_(D.scrollLeft)},16),v=()=>{const D=getComputedStyle(p.current).gap.split(" ")[0];return Number(D.replace("px",""))},j=()=>{const E=p.current;E.scrollBy({left:E.clientWidth+v(),top:0,behavior:"smooth"})},C=()=>{const E=p.current;E.scrollBy({left:-E.clientWidth-v(),top:0,behavior:"smooth"})},N=g?j:C,z=g?C:j;return c.useImperativeHandle(a,()=>({navigateBack:N,navigateForward:z})),de(()=>{u(!0)},[]),i.jsxs("section",k(b({},d),{className:w,style:b(b({},oe("--rs-carousel-items",r)),oe("--rs-carousel-bleed",o)),children:[s!=="hidden"&&i.jsxs(i.Fragment,{children:[i.jsx(co,{isRTL:g,type:xt.back,scrollElRef:p,scrollPosition:h,onClick:N,mounted:f}),i.jsx(co,{isRTL:g,type:xt.forward,scrollElRef:p,scrollPosition:h,onClick:z,mounted:f})]}),i.jsx(F,{as:"ul",direction:"row",wrap:!1,gap:n,className:Ye.scroll,attributes:{ref:p,onScroll:y},children:c.Children.map(t,E=>i.jsx(F.Item,{className:Ye.item,as:"li",children:E}))})]}))},Wi={root:"_root_1feer_1"},nr=e=>{const{name:t,value:n,type:r,onChange:o,onFocus:s,onBlur:a,checked:l,defaultChecked:d,disabled:f,className:u,attributes:h}=e,_=I(Wi.root,u);return i.jsx("input",k(b({},h),{className:_,type:r,name:t,value:n,checked:l,defaultChecked:d,disabled:f,onChange:o,onFocus:s||(h==null?void 0:h.onFocus),onBlur:a||(h==null?void 0:h.onBlur)}))},uo=c.createContext(null),Bi=()=>c.useContext(uo),_o=e=>{const{onChange:t,name:n,disabled:r,value:o,children:s,hasError:a}=e,l=d=>{const{event:f,value:u,checked:h}=d;if(!u)return;let _=[...o];h?_.push(u):_=_.filter(g=>g!==u),t&&t({name:n,value:_,event:f})};return i.jsx(uo.Provider,{value:{onChange:l,disabled:r,value:o,name:n,hasError:a},children:s})},Hi=e=>{const{defaultValue:t,onChange:n}=e,[r,o]=c.useState(t||[]),s=a=>{a.value&&(o(a.value),n&&n(a))};return i.jsx(_o,k(b({},e),{value:r,defaultValue:void 0,onChange:s}))},Ri=e=>{const{value:t}=e;return t!==void 0?i.jsx(_o,b({},e)):i.jsx(Hi,b({},e))},mo=()=>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"})}),rt={root:"_root_187rd_1",decorator:"_decorator_187rd_11",field:"_field_187rd_15",icon:"_icon_187rd_44",input:"_input_187rd_54","--error":"_--error_187rd_60","--disabled":"_--disabled_187rd_91"},Yi=e=>{var C;const{children:t,value:n,onChange:r,onFocus:o,onBlur:s,indeterminate:a,className:l,attributes:d,inputAttributes:f}=e,u=Bi(),h=Qe(),_=(h==null?void 0:h.hasError)||e.hasError||(u==null?void 0:u.hasError),g=(h==null?void 0:h.disabled)||e.disabled||(u==null?void 0:u.disabled),p=u?(C=u.value)==null?void 0:C.includes(n):e.checked,x=u?void 0:e.defaultChecked,w=u?u.name:e.name,y=c.useRef(null),v=I(rt.root,l,_&&rt["--error"],g&&rt["--disabled"]),j=N=>{if(!w)return;const{checked:z}=N.target,E={name:w,value:n,checked:z,event:N};r&&r(E),u!=null&&u.onChange&&u.onChange(E)};return de(()=>{y.current.indeterminate=a||!1},[a,p]),i.jsxs("label",k(b({},d),{className:v,children:[i.jsxs("span",{className:rt.field,children:[i.jsx(nr,{className:rt.input,type:"checkbox",checked:p,defaultChecked:x,name:w,disabled:g,value:n,onChange:j,onFocus:o,onBlur:s,attributes:k(b({},f),{ref:y})}),i.jsx("div",{className:rt.decorator,children:i.jsx(ce,{svg:mo,className:rt.icon})})]}),t&&i.jsx("span",{className:rt.text,children:t})]}))},Ui={root:"_root_1c40o_1"},Ki=e=>{const{children:t,padding:n=4,width:r,className:o,attributes:s}=e,a=I(Ui.root,o);return i.jsx(F,{attributes:s,className:a,paddingInline:n,width:r,maxWidth:"100%",children:t})},At={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"},Gi=e=>{const{children:t,align:n,onClose:r,hideCloseButton:o,variant:s,closeAriaLabel:a,className:l,attributes:d}=e,f=I(At.root,l,s&&At[`--variant-${s}`],n&&At[`--align-${n}`],o&&At["--hide-close"]),u=s==="media"?"div":pe.Aligner;return i.jsxs("div",k(b({},d),{className:f,children:[t,!o&&i.jsx(u,{className:At.close,children:i.jsx(pe,k(b({size:"small"},s==="media"?{color:"black",variant:"faded"}:{variant:"ghost"}),{onClick:r,attributes:{"aria-label":r?a:void 0},icon:Qr}))})]}))},dn=e=>{const[t,n]=c.useState(e||!1),r=c.useCallback(()=>{n(!0)},[]),o=c.useCallback(()=>{n(!1)},[]),s=c.useCallback(()=>{n(a=>!a)},[]);return{active:t,activate:r,deactivate:o,toggle:s}},Pt={root:"_root_1dzzo_1","--highlighted":"_--highlighted_1dzzo_2",triggerLayer:"_triggerLayer_1dzzo_2",trigger:"_trigger_1dzzo_2"},Xi=e=>{const{children:t}=e;return i.jsx("span",{className:Pt.trigger,children:t})},fo=e=>{const{name:t,children:n,className:r,attributes:o,inputAttributes:s,onChange:a}=e,l=dn(),d=I(Pt.root,l.active&&Pt["--highlighted"],r),f=p=>{var x;p.preventDefault(),(x=o==null?void 0:o.onDragOver)==null||x.call(o,p)},u=p=>{var x;l.activate(),(x=o==null?void 0:o.onDragEnter)==null||x.call(o,p)},h=p=>{var x;p.currentTarget.contains(p.relatedTarget)||(l.deactivate(),(x=o==null?void 0:o.onDragLeave)==null||x.call(o,p))},_=p=>{var x;p.preventDefault(),l.deactivate(),a==null||a({name:t,value:Array.from(p.dataTransfer.files),event:p}),(x=o==null?void 0:o.onDrop)==null||x.call(o,p)},g=p=>{var w;const x=p.target.files;x&&(a==null||a({name:t,event:p,value:Array.from(x)}),(w=s==null?void 0:s.onChange)==null||w.call(s,p))};return i.jsx("div",k(b({},o),{className:d,onDragOver:f,onDragEnter:u,onDragLeave:h,onDrop:_,children:i.jsxs(F,{as:"label",className:Pt.triggerLayer,padding:6,borderRadius:"medium",gap:2,align:"center",textAlign:"center",animated:!0,children:[i.jsx(F.Item,{children:n}),i.jsx(Qn,{children:i.jsx("input",k(b({},s),{type:"file",className:Pt.field,name:t,onChange:g}))})]})}))};fo.Trigger=Xi;const ho={root:"_root_y4hmt_1","--active":"_--active_y4hmt_15"},Ji=e=>{const{children:t,active:n,className:r,attributes:o}=e,s=I(ho.root,n&&ho["--active"],r);return i.jsx(ne,{as:"kbd",variant:"caption-1",weight:"medium",color:"neutral-faded",className:s,attributes:o,children:t})},un={root:"_root_qqeu9_1",fallback:"_fallback_qqeu9_6","--display-mode-cover":"_--display-mode-cover_qqeu9_15","--display-mode-contain":"_--display-mode-contain_qqeu9_19"},Zi=e=>{const{src:t,alt:n,width:r,height:o,onLoad:s,onError:a,fallback:l,displayMode:d="cover",borderRadius:f,className:u,attributes:h,imageAttributes:_}=e,[g,p]=c.useState("loading"),x=kn(f),w=Nn(r),y=Mt(o),v=I(un.root,x==null?void 0:x.classNames,w==null?void 0:w.classNames,y==null?void 0:y.classNames,d&&un[`--display-mode-${d}`],u),j=I(un.image,v),C=I(un.fallback,v),N=b(b({},w==null?void 0:w.variables),y==null?void 0:y.variables),z=D=>{p("success"),s==null||s(D)},E=D=>{p("error"),a==null||a(D)};return c.useEffect(()=>{p("loading")},[t]),(g==="error"||!t)&&l?typeof l=="string"?i.jsx("img",k(b({},h),{src:l,alt:n,role:n?void 0:"presentation",className:C,style:N})):i.jsx("div",k(b({},h),{className:C,style:N,children:l})):i.jsx("img",k(b(b({},h),_),{src:t,alt:n,role:n?void 0:"presentation",onLoad:z,onError:E,className:j,style:N}))},yt={m:660,l:900,xl:1280},go={s:`(max-width: ${yt.m-1}px)`,m:`(min-width: ${yt.m}px) and (max-width: ${yt.l-1}px)`,l:`(min-width: ${yt.l}px) and (max-width: ${yt.xl-1}px)`,xl:`(min-width: ${yt.xl}px)`},bo=e=>{const{defaultViewport:t}=c.useContext(Wn),[n,r]=c.useState(t);return de(()=>{const s=Object.keys(go).map(a=>{const l=window.matchMedia(go[a]);return{mq:l,handler:()=>l.matches&&r(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},Qi=(()=>{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}})(),vo=()=>{const[e,t]=c.useState(!1),n=c.useRef(),r=c.useRef(!1),o=c.useCallback(()=>{const{body:a}=document,l=a.getBoundingClientRect();if(r.current=l.left+l.right<window.innerWidth,n.current=a.style.overflow,a.style.overflow="hidden",r.current){const d=Qi();document.body.style.paddingRight=`${d}px`}t(!0)},[t,r,n]),s=c.useCallback(()=>{document.body.style.overflow=n.current||"",r.current&&(document.body.style.paddingRight=""),t(!1)},[t,r,n]);return{scrollLocked:e,lockScroll:o,unlockScroll:s}},dt={root:"_root_10obs_1",wrapper:"_wrapper_10obs_22",inner:"_inner_10obs_28",content:"_content_10obs_34","--visible":"_--visible_10obs_42","--click-through":"_--click-through_10obs_47","--animated":"_--animated_10obs_60"},po=e=>{const{active:t,children:n,transparent:r,onClose:o,className:s,attributes:a}=e,l=r===!0,d=l?0:(1-(r||0))*.7,[f,u]=c.useState(!1),[h,_]=c.useState(!1),g=c.useRef(null),p=c.useRef(!1),x=c.useRef(null),{lockScroll:w,unlockScroll:y}=vo(),{active:v,activate:j,deactivate:C}=dn(t||!1),{active:N,activate:z,deactivate:E}=dn(t||!1),D=Ar(t,g),B=I(dt.root,N&&dt["--visible"],l&&dt["--click-through"],h&&dt["--animated"],s),M=O=>{if(!g.current)return;const P=g.current.firstChild;if(P)return P.contains(O)},q=()=>{g.current&&(x.current=Jt(g.current))},L=()=>{x.current&&(x.current(),x.current=null)},W=c.useCallback(()=>{!N||!D()||o&&o()},[N,D]),A=O=>{p.current=!M(O.target)},G=O=>{const P=!M(O.target);p.current&&P&&!l&&W()},H=O=>{O.propertyName!=="transform"||!O.pseudoElement||(_(!1),!N&&(l||y(),C()))};return et({Escape:W},[W]),c.useEffect(()=>{_(!0),t&&!v&&j(),!t&&v&&E()},[t,j,E,v]),c.useEffect(()=>{v&&(l||w(),He(()=>{z()}))},[v,z,w,l]),c.useEffect(()=>{if(v)return q(),()=>L()},[v]),c.useEffect(()=>()=>{l||y()},[y,l]),de(()=>{u(!0)},[]),!v||!f?null:i.jsx(sn,{children:i.jsx(sn.Scope,{children:O=>i.jsx("div",k(b({},a),{ref:O,style:{"--rs-overlay-opacity":d},role:"button",tabIndex:-1,className:B,onMouseDown:A,onMouseUp:G,onTransitionEnd:H,children:i.jsx("div",{className:dt.wrapper,children:i.jsx("div",{className:dt.inner,children:i.jsx("div",{className:dt.content,ref:g,children:typeof n=="function"?n({active:N}):n})})})}))})})},_n={root:"_root_ab12p_1","--dragging":"_--dragging_ab12p_10","--position-center":"_--position-center_ab12p_1","--active":"_--active_ab12p_34","--position-bottom":"_--position-bottom_ab12p_1","--position-start":"_--position-start_ab12p_1","--position-end":"_--position-end_ab12p_1","--position-center--m":"_--position-center--m_ab12p_1","--position-bottom--m":"_--position-bottom--m_ab12p_1","--position-start--m":"_--position-start--m_ab12p_1","--position-end--m":"_--position-end--m_ab12p_1","--position-center--l":"_--position-center--l_ab12p_1","--position-bottom--l":"_--position-bottom--l_ab12p_1","--position-start--l":"_--position-start--l_ab12p_1","--position-end--l":"_--position-end--l_ab12p_1","--position-center--xl":"_--position-center--xl_ab12p_1","--position-bottom--xl":"_--position-bottom--xl_ab12p_1","--position-start--xl":"_--position-start--xl_ab12p_1","--position-end--xl":"_--position-end--xl_ab12p_1"},rr=32,ea=100,ta=32,xo=c.createContext({id:"",titleMounted:!1,setTitleMounted:()=>{},subtitleMounted:!1,setSubtitleMounted:()=>{}}),yo=()=>c.useContext(xo),na=e=>{const{children:t}=e,{id:n,setTitleMounted:r}=yo();return c.useEffect(()=>(r(!0),()=>r(!1)),[r]),i.jsx(ne,{variant:"featured-3",weight:"bold",attributes:{id:`${n}-title`},children:t})},ra=e=>{const{children:t}=e,{id:n,setSubtitleMounted:r}=yo();return c.useEffect(()=>(r(!0),()=>r(!1)),[r]),i.jsx(ne,{variant:"body-3",color:"neutral-faded",attributes:{id:`${n}-subtitle`},children:t})},or=e=>{const{children:t,onClose:n,active:r,size:o,padding:s=4,position:a="center",transparentOverlay:l,className:d,attributes:f}=e,u=Me(),h=bo(a),[_,g]=c.useState(!1),[p,x]=c.useState(!1),[w,y]=c.useState(!1),v=c.useRef(null),j=c.useRef({x:0,y:0}),C=c.useRef(0),N=c.useRef(0),z=c.useRef(0),[E,D]=c.useState(0),[B,M]=c.useState(0),q=Un(s),L=c.useMemo(()=>({titleMounted:_,setTitleMounted:g,subtitleMounted:p,setSubtitleMounted:x,id:u}),[u,p,_]),W=()=>{j.current={x:0,y:0},C.current=0,z.current=0,D(0)},A=H=>{const O=H.target;O.scrollTop!==0||O.scrollLeft!==0||O.matches("input,textarea")||h==="start"&&H.targetTouches[0].clientX<ta||y(!0)},G=H=>{r||H.propertyName==="transform"&&H.currentTarget===H.target&&W()};return c.useEffect(()=>{if(!w)return;const H=()=>{y(!1);const P=h==="start"?z.current<0:z.current>0;Math.abs(N.current)>rr&&P?n==null||n():W()},O=P=>{if(!w||h==="center")return;const K=P.targetTouches[0],he={x:K.clientX,y:K.clientY},_e=h==="bottom"?"y":"x",ie=h==="bottom"?"x":"y";j.current[_e]||(j.current=he,C.current=he[_e]);const X=Math.abs(he[_e]-j.current[_e]),J=Math.abs(he[ie]-j.current[ie]);if(a!=="bottom"&&(X<J||J>ea)){C.current=he[_e];return}z.current=he[_e]-C.current,C.current=he[_e],D(Z=>h==="start"?Math.min(0,Z+z.current):Math.max(0,Z+z.current))};return document.addEventListener("touchmove",O),document.addEventListener("touchend",H),()=>{document.removeEventListener("touchmove",O),document.removeEventListener("touchend",H)}},[w,h]),c.useEffect(()=>{const H=v.current;if(!H||!h)return;const P=["start","end"].includes(h)?H.clientWidth:H.clientHeight,K=Math.abs(E)/P;M(K/2),N.current=E},[E,h]),i.jsx(po,{onClose:n,active:r,transparent:l||B,attributes:{onTouchStart:A},children:({active:H})=>{const O=I(_n.root,d,q==null?void 0:q.classNames,H&&_n["--active"],w&&_n["--dragging"],U(_n,"--position",a));return i.jsx(xo.Provider,{value:L,children:i.jsx("div",k(b({},f),{style:k(b(b({},q==null?void 0:q.variables),oe("--rs-modal-size",o)),{"--rs-modal-drag":Math.abs(E)<rr?"0px":`${E+rr*(h==="start"?1:-1)}px`}),"aria-labelledby":_?`${u}-title`:void 0,"aria-describedby":p?`${u}-subtitle`:void 0,className:O,"aria-modal":"true",role:"dialog",ref:v,onTransitionEnd:G,children:t}))})}})};or.Title=na,or.Subtitle=ra;const Ft={root:"_root_1a3na_1",value:"_value_1a3na_9","--duration":"_--duration_1a3na_23","--size-small":"_--size-small_1a3na_27","--size-medium":"_--size-medium_1a3na_31","--color-primary":"_--color-primary_1a3na_35","--color-critical":"_--color-critical_1a3na_39","--color-warning":"_--color-warning_1a3na_43","--color-positive":"_--color-positive_1a3na_47","--color-white":"_--color-white_1a3na_51"},oa=e=>{const{value:t=0,min:n=0,max:r=100,color:o="primary",size:s="medium",duration:a,className:l,attributes:d}=e,f=I(Ft.root,l,o&&Ft[`--color-${o}`],s&&Ft[`--size-${s}`],!!a&&Ft["--duration"]),u=r-n,h=t-n,p=`${Math.max(n,Math.min(r,h))/u*100-100}%`;return i.jsx("div",k(b({role:"progressbar"},d),{className:f,"aria-valuemax":r,"aria-valuemin":n,"aria-valuenow":t,children:i.jsx("div",{className:Ft.value,style:{"--rs-progress-value":p,"--rs-progress-duration":a?`${a}ms`:void 0}})}))},wo=c.createContext(null),sa=()=>c.useContext(wo),jo=e=>{const{onChange:t,name:n,disabled:r,value:o,children:s,hasError:a}=e,l=({event:d,value:f})=>{f&&t&&t({name:n,value:f,event:d})};return i.jsx(wo.Provider,{value:{onChange:l,disabled:r,value:o,name:n,hasError:a},children:s})},ia=e=>{const{defaultValue:t,onChange:n}=e,[r,o]=c.useState(t||null),s=a=>{a.value&&(o(a.value),n&&n(a))};return i.jsx(jo,k(b({},e),{value:r,defaultValue:void 0,onChange:s}))},aa=e=>{const{value:t}=e;return t!==void 0?i.jsx(jo,b({},e)):i.jsx(ia,b({},e))},ut={root:"_root_1o7zq_1",input:"_input_1o7zq_10",decorator:"_decorator_1o7zq_10",field:"_field_1o7zq_14","--error":"_--error_1o7zq_48",text:"_text_1o7zq_60","--disabled":"_--disabled_1o7zq_71"},la=e=>{const{children:t,value:n,onChange:r,onFocus:o,onBlur:s,className:a,attributes:l,inputAttributes:d}=e,f=Qe(),u=sa(),h=(f==null?void 0:f.hasError)||e.hasError||(u==null?void 0:u.hasError),_=(f==null?void 0:f.disabled)||e.disabled||(u==null?void 0:u.disabled),g=u?u.value===n:e.checked,p=u?void 0:e.defaultChecked,x=u?u.name:e.name,w=I(ut.root,a,h&&ut["--error"],_&&ut["--disabled"]),y=v=>{if(!x)return;const{checked:j}=v.target,C={name:x,value:n,checked:j,event:v};r&&r(C),u!=null&&u.onChange&&u.onChange(C)};return i.jsxs("label",k(b({},l),{className:w,children:[i.jsxs("span",{className:ut.field,children:[i.jsx(nr,{className:ut.input,type:"radio",checked:g,defaultChecked:p,name:x,disabled:_,value:n,onChange:y,onFocus:o,onBlur:s,attributes:d}),i.jsx("div",{className:ut.decorator})]}),t&&i.jsx("span",{className:ut.text,children:t})]}))},Co={short:4e3,long:8e3},Vt=["top-start","top","top-end","bottom-start","bottom","bottom-end"],ko={queues:Vt.reduce((e,t)=>b({[t]:[]},e),{}),show:()=>{},hide:()=>{},remove:()=>{},add:()=>""},mn=c.createContext(ko),ca=()=>{const{add:e,hide:t}=c.useContext(mn);return c.useMemo(()=>({show:e,hide:t}),[e,t])},Oe={container:"_container_gthtf_1","container--visible":"_container--visible_gthtf_1",wrapper:"_wrapper_gthtf_12","container--index-0":"_container--index-0_gthtf_1","container--index-1":"_container--index-1_gthtf_1","container--index-2":"_container--index-2_gthtf_104","container--index-overflow":"_container--index-overflow_gthtf_108",region:"_region_gthtf_64","region--position-top":"_region--position-top_gthtf_1","region--position-top-start":"_region--position-top-start_gthtf_1","region--position-top-end":"_region--position-top-end_gthtf_1","region--position-bottom":"_region--position-bottom_gthtf_1","region--position-bottom-start":"_region--position-bottom-start_gthtf_1","region--position-bottom-end":"_region--position-bottom-end_gthtf_1"},da=e=>{const{size:t="small",text:n,children:r,color:o="inverted",icon:s,title:a,actionsSlot:l,startSlot:d,collapsed:f,className:u,attributes:h}=e;let _=o==="inverted"||o==="neutral"?"elevation-overlay":o;o==="neutral"&&(_=f?"neutral":"elevation-overlay");const g=o==="neutral"?"neutral-faded":"transparent",p=t==="small"?"span":"div",x=t==="large";let w=[];l&&(w=Array.isArray(l)?l:[l]);const y=(a||n)&&i.jsxs(i.Fragment,{children:[a&&i.jsxs(ne,{variant:"body-3",weight:"bold",as:p,children:[a," "]}),i.jsx(ne,{variant:"body-3",as:p,children:n})]}),v=i.jsxs(F,{backgroundColor:_,borderColor:g,padding:4,borderRadius:"medium",animated:!0,direction:"row",gap:3,align:x?"start":"center",className:[Oe.toast,u],attributes:h,children:[s&&i.jsx(ce,{size:5,svg:s,className:Oe.icon}),d&&!s&&i.jsx(F.Item,{children:d}),i.jsx(F.Item,{grow:!0,children:i.jsxs(F,{direction:x?"column":"row",align:x?"start":"center",gap:3,children:[i.jsx(F.Item,{grow:!0,children:y&&r||t!=="small"?i.jsxs(F,{gap:.5,children:[y,r&&i.jsx(F,{gap:3,children:r})]}):y||r}),w.length&&i.jsx(F,{direction:"row",align:"center",gap:2,children:w.map((j,C)=>{const N=t==="large"?C===0:C===w.length-1,E={variant:N?"solid":"ghost",size:"small",color:N?o==="neutral"||o==="inverted"?"neutral":"white":"inherit",elevated:o!=="neutral"};return j.type===pe?c.createElement(pe,k(b(b({},E),j.props),{key:C})):j})})]})})]});return o==="inverted"?i.jsx(gt,{colorMode:"inverted",children:v}):v},ua=e=>{const{toastProps:t,id:n,status:r,inspected:o,index:s}=e,{timeout:a="short"}=t,{show:l,hide:d,remove:f}=c.useContext(mn),[u,h]=c.useState(),_=c.useRef(),g=c.useRef(!1),p=c.useRef(null),x=c.useRef(null),w=r==="entered",y=I(Oe.container,w&&Oe["container--visible"],s===0&&Oe[`container--index-${s}`],!o&&(s===1||s===2)&&Oe[`container--index-${s}`],!o&&s>=3&&Oe["container--index-overflow"]),v=c.useCallback(()=>{_.current&&clearTimeout(_.current)},[]),j=c.useCallback(()=>{v();const N=typeof a=="string"?Co[a]:a;a!==0&&(_.current=setTimeout(()=>{d(n)},N!=null?N:Co.short))},[d,n,a,v]),C=N=>{N.propertyName==="height"&&(w||f(n))};return c.useEffect(()=>{w&&(o?v():j())},[o,j,v,w]),c.useEffect(()=>{x.current&&h(x.current.clientHeight),l(n),j()},[l,n,j]),c.useEffect(()=>{x.current&&(w?p.current=Jt(x.current,{includeTrigger:!0,mode:"content-menu"}):p.current&&Sr()&&(p.current(),p.current=null))},[w]),c.useEffect(()=>{if(!w||s>0)return;const N=()=>{g.current=!0,He(()=>{g.current=!1}),x.current&&h(x.current.clientHeight)};return window.addEventListener("resize",N),()=>window.removeEventListener("resize",N)},[w,s]),i.jsx("li",{className:y,style:{height:r==="entered"?`calc(${u}px + var(--rs-unit-x2) + 2px)`:0,transitionDuration:g.current?"0s":void 0},onTransitionEnd:C,onFocus:v,onBlur:j,children:i.jsx("span",{className:Oe.wrapper,children:i.jsx(da,k(b({},t),{collapsed:s>0&&!o,attributes:k(b({},t.attributes),{ref:x})}))})})},_a=e=>{const{position:t}=e,{queues:n,options:r}=c.useContext(mn),[o,s]=c.useState(!1),a=c.useRef(!1),l=c.useRef(null),d=n[t],{width:f,expanded:u}=(r==null?void 0:r[t])||{},h=I(Oe.region,Oe[`region--position-${t}`]),_=d.filter(v=>v.status==="entered").length;let g=0;const p=()=>{a.current=!0},x=v=>{let j=v.target,C=!1;for(;j&&j!==l.current&&!C;)C=j.matches(Ir),j=j.parentElement;C||s(N=>!N),a.current=!1},w=()=>{a.current||s(!0)},y=()=>{a.current||s(!1)};return c.useEffect(()=>{d.length===0&&s(!1)},[d.length]),d.length?i.jsx("ul",{role:"region","aria-live":"polite",className:h,ref:l,onTouchStart:p,onClick:x,onMouseEnter:w,onMouseLeave:y,style:{width:f},children:d.map((v,j)=>{const C=_-j+g-1;return v.status!=="entered"&&(g+=1),i.jsx(ua,k(b({},v),{index:C,inspected:o||!!u}),v.id)})}):null};let ma=0;const fa=()=>`__rs-toast-${ma++}`,ha=(e,t)=>{let n;switch(t.type){case"add":const r=t.payload.toastProps||{},{position:o="bottom-end"}=r,s=ze(r,["position"]);return k(b({},e),{[o]:[...e[o],{id:t.payload.id,toastProps:s,status:"entering"}]});case"show":const{id:a}=t.payload;return n=b({},e),Vt.forEach(f=>{n[f]=n[f].map(u=>u.status!=="entering"?u:u.id===a?k(b({},u),{status:"entered"}):u)}),n;case"hide":const{id:l}=t.payload;return n=b({},e),Vt.forEach(f=>{n[f]=n[f].map(u=>u.id===l?k(b({},u),{status:"exiting"}):u)}),n;case"remove":const{id:d}=t.payload;return n=b({},e),Vt.forEach(f=>{n[f]=n[f].filter(u=>u.id!==d)}),n}},ga=e=>{const{children:t,options:n}=e,[r,o]=c.useReducer(ha,ko.queues),s=c.useCallback(u=>{const h=fa();return o({type:"add",payload:{toastProps:u,id:h}}),h},[]),a=c.useCallback(u=>{o({type:"show",payload:{id:u}})},[]),l=c.useCallback(u=>{o({type:"hide",payload:{id:u}})},[]),d=c.useCallback(u=>{o({type:"remove",payload:{id:u}})},[]),f=c.useMemo(()=>({queues:r,add:s,show:a,hide:l,remove:d,inspecting:!1,options:n}),[r,a,l,s,d,n]);return i.jsxs(mn.Provider,{value:f,children:[t,Vt.map(u=>i.jsx(_a,{position:u},u))]})},ba=()=>{c.useEffect(()=>{const e=n=>{n.metaKey||n.altKey||n.ctrlKey||document.documentElement.setAttribute(An,"true")},t=()=>{document.documentElement.removeAttribute(An)};return window.addEventListener("keydown",e),window.addEventListener("mousedown",t),()=>{window.removeEventListener("keydown",e),window.removeEventListener("mousedown",t)}},[])},va={root:"_root_18j53_1"},pa=e=>{const{children:t,defaultRTL:n,defaultViewport:r="s",toastOptions:o}=e,s=Bs(n);return ba(),i.jsx(Wn.Provider,{value:{rtl:s,defaultViewport:r},children:i.jsx(Os,{children:i.jsx(ga,{options:o,children:t})})})},xa=e=>{const{theme:t,defaultTheme:n="reshaped",defaultColorMode:r,className:o}=e,s=I(va.root,o);return i.jsx(ni,{defaultMode:r,children:i.jsx(gt,{name:t,defaultName:n,className:s,children:i.jsx(pa,k(b({},e),{children:e.children}))})})},Ot={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"},ya=e=>{const{children:t,backgroundSlot:n,position:r="cover",attributes:o,className:s,scrimClassName:a}=e,l=I(Ot.root,!!n&&Ot["--with-background"],r&&Ot[`--position-${r}`],s),d=I(Ot.scrim,a);return i.jsxs("div",k(b({},o),{className:l,children:[n,i.jsx("div",{className:d,children:i.jsx("div",{className:Ot.content,children:t})})]}))},wa=()=>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"})]}),We={root:"_root_1jhw5_1",input:"_input_1jhw5_18",slot:"_slot_1jhw5_45",arrow:"_arrow_1jhw5_60","--size-medium":"_--size-medium_1jhw5_1","--size-large":"_--size-large_1jhw5_1","--size-xlarge":"_--size-xlarge_1jhw5_1","--variant-faded":"_--variant-faded_1jhw5_115","--variant-headless":"_--variant-headless_1jhw5_124","--status-error":"_--status-error_1jhw5_129","--placeholder":"_--placeholder_1jhw5_144","--disabled":"_--disabled_1jhw5_148","--size-medium--m":"_--size-medium--m_1jhw5_1","--size-large--m":"_--size-large--m_1jhw5_1","--size-xlarge--m":"_--size-xlarge--m_1jhw5_1","--size-medium--l":"_--size-medium--l_1jhw5_1","--size-large--l":"_--size-large--l_1jhw5_1","--size-xlarge--l":"_--size-xlarge--l_1jhw5_1","--size-medium--xl":"_--size-medium--xl_1jhw5_1","--size-large--xl":"_--size-large--xl_1jhw5_1","--size-xlarge--xl":"_--size-xlarge--xl_1jhw5_1"},ja=e=>{var L,W;const{onChange:t,onClick:n,onFocus:r,onBlur:o,name:s,value:a,defaultValue:l,placeholder:d,options:f,children:u,icon:h,startSlot:_,size:g="medium",variant:p="outline",className:x,attributes:w}=e,[y,v]=c.useState(a===void 0?!l:!a),j=Qe(),C=Me(e.id),N=((L=j==null?void 0:j.attributes)==null?void 0:L.id)||((W=e.inputAttributes)==null?void 0:W.id)||C,z=(j==null?void 0:j.disabled)||e.disabled,E=(j==null?void 0:j.hasError)||e.hasError,D=b(b({},e.inputAttributes),j==null?void 0:j.attributes),B=I(We.root,x,g&&U(We,"--size",g),E&&We["--status-error"],z&&We["--disabled"],y&&f&&We["--placeholder"],p&&We[`--variant-${p}`]),M=A=>{const G=A.target.value;a===void 0&&v(!G),t&&t({name:s,value:G,event:A})};c.useEffect(()=>{a!==void 0&&v(!a)},[a]);const q=(_||h)&&i.jsx("div",{className:We.slot,children:h?i.jsx(ce,{size:Te(g,A=>A==="large"?5:A==="xlarge"?6:4),svg:h}):_});return i.jsxs("div",k(b({},w),{className:B,children:[f?i.jsxs(i.Fragment,{children:[q,i.jsxs("select",k(b({},D),{className:We.input,disabled:z,name:s,value:a,defaultValue:l,onChange:M,onFocus:r||(D==null?void 0:D.onFocus),onBlur:o||(D==null?void 0:D.onBlur),id:N,children:[d&&i.jsx("option",{value:"",children:d}),f.map(A=>i.jsx("option",{value:A.value,disabled:A.disabled,children:A.label},A.value))]}))]}):i.jsxs(i.Fragment,{children:[i.jsxs($e,{className:We.input,disabled:z,onClick:n,attributes:k(b({},D),{onFocus:r||(D==null?void 0:D.onFocus),onBlur:o||(D==null?void 0:D.onBlur)}),children:[q,u||(d?i.jsx(ne,{color:"neutral-faded",children:d}):null)]}),i.jsx("input",{type:"hidden",value:a,name:s})]}),i.jsx("div",{className:We.arrow,children:i.jsx(ce,{svg:wa,color:z?"disabled":"neutral-faded",size:Te(g,A=>A==="large"||A==="xlarge"?5:4)})})]}))},Ca={root:"_root_xavah_1","rs-skeleton-pulse":"_rs-skeleton-pulse_xavah_1"},ka=e=>{const{borderRadius:t="small",width:n,height:r,className:o,attributes:s}=e,a=I(Ca.root,o);return i.jsx(F,{backgroundColor:"disabled",width:n,height:r,borderRadius:t,className:a,attributes:s})},ot={root:"_root_keszk_1",bar:"_bar_keszk_11",input:"_input_keszk_20",selection:"_selection_keszk_29",tooltip:"_tooltip_keszk_35",thumb:"_thumb_keszk_51","thumb--active":"_thumb--active_keszk_1","--disabled":"_--disabled_keszk_105"},Na=(e,t)=>{const{name:n,value:r,disabled:o,active:s,position:a,max:l,min:d,onChange:f,onDragStart:u,renderValue:h}=e,_=c.useId(),g=I(ot.thumb,s&&ot["thumb--active"]),p=h?h({value:r}):r,x=w=>{f(+w.target.value)};return i.jsxs(i.Fragment,{children:[i.jsx("input",{className:ot.input,type:"range",name:n,value:r,onChange:x,disabled:o,max:l,min:d,"aria-labelledby":_}),i.jsx("div",{ref:t,className:g,onMouseDown:u,onTouchStart:u,style:{insetInlineStart:`${a}%`},id:_,"aria-hidden":"true",children:i.jsx(gt,{colorMode:"inverted",children:i.jsx(ne,{variant:"caption-1",weight:"medium",className:ot.tooltip,children:p})})})]})},No=c.forwardRef(Na),$o=e=>e instanceof MouseEvent?e.pageX||e.screenX:e.changedTouches[0].pageX,sr=(e,t)=>Math.round(e/t)*t,ir=e=>{var _e;const{name:t,range:n,max:r,min:o,step:s=1,onChange:a,onChangeCommit:l,renderValue:d,className:f,attributes:u}=e,h=n&&e.minValue!==void 0?sr(e.minValue,s):void 0,_=sr(n?e.maxValue:e.value,s),g=c.useRef(null),p=c.useRef(null),x=c.useRef(null),[w,y]=c.useState(null),[v]=tt(),j=Qe(),C=Me(),N=((_e=j==null?void 0:j.attributes)==null?void 0:_e.id)||C,z=`${N}-min`,E=`${N}-max`,D=(j==null?void 0:j.disabled)||e.disabled,B=I(ot.root,D&&ot["--disabled"],f),M=c.useCallback(ie=>{if(!g.current)return;const X=g.current.clientWidth;let Z=(ie-g.current.getBoundingClientRect().left)/X;v&&(Z=1-Z);let ge=(r-o)*Z+o;return ge=Math.max(o,Math.min(r,ge)),sr(ge,s)},[r,o,v,s]),q=ie=>(ie-o)/(r-o)*100,L=c.useCallback((ie,X)=>{if(!n)return;const J=X!=null&&X.commit?l:a;J==null||J({minValue:ie,maxValue:_,name:t})},[_,t,n]),W=c.useCallback((ie,X)=>{if(n){const Z=X!=null&&X.commit?l:a;Z==null||Z({minValue:h,maxValue:ie,name:t});return}const J=X!=null&&X.commit?l:a;J==null||J({value:ie,name:t})},[h,t,n]),A=({nativeEvent:ie})=>{if(D)return;let X,J;const Z=$o(ie),ge=M(Z);[{ref:p,id:z},{ref:x,id:E}].forEach(te=>{if(!te.ref.current)return;const je=te.ref.current,me=Math.abs(je.getBoundingClientRect().left-Z);(X===void 0||me<=X)&&(X=me,J=te.id)}),!(!J||ge===void 0)&&(J===z&&L(ge),J===E&&W(ge),y(J))},G=()=>{D||y(z)},H=()=>{D||y(E)},O=c.useCallback(()=>{w===z&&h!==void 0&&L(h,{commit:!0}),w===E&&W(_,{commit:!0}),y(null)},[h,_,L,W,w,z,E]),P=c.useCallback(ie=>{if(!w)return;const X=$o(ie),J=M(X);if(J===void 0)return;let Z=w;w===z&&J>_&&(Z=E),w===E&&h&&J<h&&(Z=z),Z===z&&L(J),Z===E&&W(J),w!==Z&&y(Z)},[w,h,_,M,W,L,E,z]);c.useEffect(()=>(window.addEventListener("mouseup",O),window.addEventListener("touchend",O),window.addEventListener("mousemove",P),window.addEventListener("touchmove",P),()=>{window.removeEventListener("mouseup",O),window.removeEventListener("touchend",O),window.removeEventListener("mousemove",P),window.removeEventListener("touchmove",P)}),[O,P]);const K=h&&q(h),he=q(_);return i.jsxs("div",k(b({},u),{className:B,onMouseDown:A,onTouchStart:A,children:[i.jsx("div",{className:ot.bar,ref:g,children:i.jsx("div",{className:ot.selection,style:{insetInlineStart:`${K||0}%`,width:`${he-(K||0)}%`}})}),h!==void 0&&K!==void 0&&i.jsx(No,{id:z,active:z===w,name:t,disabled:D,onChange:L,value:h,onDragStart:G,position:K,max:r,min:o,ref:p,renderValue:d}),i.jsx(No,{id:E,active:E===w,name:t,disabled:D,onChange:W,value:_,onDragStart:H,position:he,max:r,min:o,ref:x,renderValue:d})]}))},$a=e=>{const{min:t,max:n,onChange:r,range:o}=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||(o?n:t),[l,d]=c.useState(s),[f,u]=c.useState(a),h=g=>{o||(u(g.value),r==null||r(g))},_=g=>{o&&(d(g.minValue),u(g.maxValue),r==null||r(g))};return o?i.jsx(ir,k(b({},e),{min:t,max:n,minValue:l,maxValue:f,defaultMinValue:void 0,defaultMaxValue:void 0,onChange:_})):i.jsx(ir,k(b({},e),{min:t,max:n,value:f,defaultValue:void 0,onChange:h}))},Ea=e=>{const o=e,{min:t=0,max:n=100}=o,r=ze(o,["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(ir,k(b({},r),{min:t,max:n})):i.jsx($a,k(b({},r),{min:t,max:n}))},za={verticalDivider:"_verticalDivider_oa23g_1"},Ta=e=>{const{title:t,subtitle:n,children:r,direction:o,className:s,attributes:a,labelDisplay:l,step:d,completed:f,active:u,last:h}=e,_=l&&Te(l,p=>p==="hidden"),g=i.jsx(F,{gap:3,grow:!0,children:i.jsxs(F.Item,{children:[i.jsx(ne,{variant:"body-3",weight:"medium",children:t}),i.jsx(ne,{variant:"caption-1",color:"neutral-faded",children:n})]})});return i.jsxs(F,{children:[i.jsxs(F,{attributes:a,className:s,direction:"row",gap:2,align:"center",position:"static",children:[i.jsxs(F.Item,{children:[i.jsx(F,{align:"center",justify:"center",backgroundColor:u||f?"primary":"neutral-faded",borderColor:u||f?void 0:"neutral-faded",borderRadius:"circular",as:"span",width:8,height:8,zIndex:5,children:i.jsx(ne,{variant:"body-3",weight:u?"bold":"medium",children:f?i.jsx(ce,{svg:mo,size:4}):d})}),o==="column"&&!h&&i.jsx(Bt,{vertical:!0,className:za.verticalDivider})]}),l?i.jsx(mt,{hide:_,children:g}):g]}),o==="column"&&r&&i.jsx($r,{active:u,children:i.jsx(F,{paddingStart:10,paddingTop:2,children:r})})]})},Ma=e=>null,Eo=e=>{const{children:t,direction:n="row",activeId:r,labelDisplay:o,className:s,attributes:a}=e,l=n==="column",d=c.Children.count(t);return i.jsx(F,{attributes:a,direction:n,align:l?"stretch":"center",className:s,gap:3,wrap:!1,children:c.Children.map(t,(f,u)=>{const h=f.props.id||`${u}`;return i.jsxs(c.Fragment,{children:[i.jsx(Ta,k(b({},f.props),{id:f.props.id||`${u}`,active:(r==null?void 0:r.toString())===h,step:u+1,last:u===d-1,direction:n,labelDisplay:o})),!l&&u<d-1&&i.jsx(F,{grow:!0,children:i.jsx(Bt,{})})]},u)})})};Eo.Item=Ma;const wt={root:"_root_1zzd0_1",input:"_input_1zzd0_10",area:"_area_1zzd0_22",thumb:"_thumb_1zzd0_26","root--size-small":"_root--size-small_1zzd0_82","root--reversed":"_root--reversed_1zzd0_102"},Da=e=>{var v;const{children:t,name:n,checked:r,size:o,reversed:s,defaultChecked:a,onChange:l,onFocus:d,onBlur:f,className:u,attributes:h}=e,_=I(wt.root,o&&wt[`root--size-${o}`],s&&wt["root--reversed"],u),g=Qe(),p=Me((g==null?void 0:g.attributes.id)||e.id||((v=e.inputAttributes)==null?void 0:v.id)),x=b(b({},e.inputAttributes),g==null?void 0:g.attributes),w=(g==null?void 0:g.disabled)||e.disabled,y=j=>{l&&l({name:n,event:j,checked:j.target.checked})};return i.jsxs("label",k(b({},h),{className:_,children:[i.jsx("input",k(b({type:"checkbox"},x),{className:wt.input,name:n,checked:r,defaultChecked:a,disabled:w,onChange:y,onFocus:d||(x==null?void 0:x.onFocus),onBlur:f||(x==null?void 0:x.onBlur),id:p})),i.jsx("span",{className:wt.area,"aria-hidden":"true",children:i.jsx("span",{className:wt.thumb})}),t&&i.jsx(ne,{variant:"body-3",weight:"medium",children:t})]}))},st={root:"_root_1we4q_1",table:"_table_1we4q_14",row:"_row_1we4q_21",cell:"_cell_1we4q_25","cell--align-start":"_cell--align-start_1we4q_1","cell--align-center":"_cell--align-center_1we4q_1","cell--align-end":"_cell--align-end_1we4q_1","--row-highlighted":"_--row-highlighted_1we4q_49","--border-outer":"_--border-outer_1we4q_53","--border-column":"_--border-column_1we4q_57"},zo=e=>{const{minWidth:t,rowSpan:n,colSpan:r,align:o,tagName:s,padding:a,paddingInline:l,paddingBlock:d,children:f,attributes:u}=e,h=e.width==="auto"?"0px":e.width,_=Nn(h),g=jr(t||h),p=I(st.cell,_==null?void 0:_.classNames,g==null?void 0:g.classNames,o&&st[`cell--align-${o}`]),x=b(b(b(b({},_==null?void 0:_.variables),g==null?void 0:g.variables),oe("--rs-table-p-vertical",d!=null?d:a)),oe("--rs-table-p-horizontal",l!=null?l:a));return i.jsx(s,k(b({},u),{className:p,rowSpan:n,colSpan:r,style:x,children:f}))},Sa=e=>i.jsx(zo,k(b({},e),{tagName:"td"})),Ia=e=>i.jsx(zo,k(b({},e),{tagName:"th"})),qa=e=>{const{highlighted:t,children:n,attributes:r}=e,o=I(st.row,t&&st["--row-highlighted"]);return i.jsx("tr",k(b({},r),{className:o,children:n}))},ar=e=>i.jsx("tbody",{children:e.children}),To=e=>i.jsx("thead",{children:e.children}),jt=e=>{const{children:t,border:n,columnBorder:r,className:o,attributes:s}=e,a=I(st.root,o,n&&st["--border-outer"],r&&st["--border-column"]),[l]=c.Children.toArray(t);return i.jsx("div",k(b({},s),{className:a,children:i.jsx("table",{className:st.table,children:c.isValidElement(l)&&(l.type===ar||l.type===To)?t:i.jsx(ar,{children:t})})}))};jt.Cell=Sa,jt.Heading=Ia,jt.Row=qa,jt.Body=ar,jt.Head=To;const Mo=c.createContext({}),La=Mo.Provider,lr=e=>{const r=c.useContext(Mo),{id:t}=r,n=ze(r,["id"]);return k(b({},n),{panelId:e!==void 0?`${t}-tabs-panel-${e}`:void 0,buttonId:e!==void 0?`${t}-tabs-button-${e}`:void 0})},Do=e=>{const{children:t,value:n,onChange:r,onSilentChange:o,itemWidth:s,variant:a,name:l,direction:d="row",size:f="medium"}=e,u=Me(),h=c.useRef(null),_=c.useRef(h.current),g=c.useRef(null),[p,x]=c.useState({scaleX:0,scaleY:0,left:0,top:0,status:"idle"}),w=y=>{y!==void 0&&o&&o({value:y,name:l})};return i.jsx(La,{value:{value:n,name:l,size:f,direction:d,itemWidth:s,variant:a,onChange:r,id:u,setDefaultValue:w,elActiveRef:h,elPrevActiveRef:_,elScrollableRef:g,selection:p,setSelection:x},children:t})},Aa=e=>{const{defaultValue:t,onChange:n}=e,[r,o]=c.useState(t),s=({value:l})=>{o(l),n&&n({value:l})},a=({value:l})=>{o(l)};return i.jsx(Do,k(b({},e),{onChange:s,onSilentChange:a,value:r,defaultValue:void 0}))},se={root:"_root_mz4y6_1",list:"_list_mz4y6_12",inner:"_inner_mz4y6_16",listItem:"_listItem_mz4y6_23",button:"_button_mz4y6_30",buttonContent:"_buttonContent_mz4y6_46",icon:"_icon_mz4y6_59",radio:"_radio_mz4y6_64","--item-active":"_--item-active_mz4y6_72",selector:"_selector_mz4y6_77","--selector-hidden":"_--selector-hidden_mz4y6_95","--selector-animated":"_--selector-animated_mz4y6_99",next:"_next_mz4y6_104",prev:"_prev_mz4y6_105",panel:"_panel_mz4y6_125","--panel-hidden":"_--panel-hidden_mz4y6_133","--direction-row":"_--direction-row_mz4y6_137","--direction-column":"_--direction-column_mz4y6_205",item:"_item_mz4y6_223","--variant-borderless":"_--variant-borderless_mz4y6_258","--variant-pills":"_--variant-pills_mz4y6_259","--variant-pills-elevated":"_--variant-pills-elevated_mz4y6_260","--size-medium":"_--size-medium_mz4y6_331","--size-large":"_--size-large_mz4y6_336","--item-width-equal":"_--item-width-equal_mz4y6_341","--cut-off-start":"_--cut-off-start_mz4y6_360","--cut-off-end":"_--cut-off-end_mz4y6_361","--cut-off-both":"_--cut-off-both_mz4y6_382"},Pa=(e,t)=>{const{value:n,children:r,icon:o,href:s,attributes:a}=e,{onChange:l,panelId:d,name:f,size:u,value:h,selection:_,elActiveRef:g,elPrevActiveRef:p,elScrollableRef:x}=lr(n),w=c.useRef(null),y=h===n,v=y&&_.status==="idle",j=I(se.item,v&&se["--item-active"]),C=!!f,N={role:"tab",tabIndex:y?0:-1,"aria-selected":y},z=c.useCallback(()=>{if(!("current"in w))throw new Error("Reshaped, Tabs: TabItem is expecting an object ref format but received a function ref");p.current=g.current,g.current=w.current},[g,p]),E=()=>{var A,G,H;if(s&&!l)return;const D=x.current,B=(A=w.current)==null?void 0:A.parentElement,M=(G=g.current)==null?void 0:G.parentElement;if(z(),l&&l({value:n,name:f}),!D||!B||!M||D.scrollWidth===D.clientWidth)return;const q=B.offsetLeft<M.offsetLeft,L=(B.offsetLeft-D.scrollLeft)/D.clientWidth;(q?L<.3:L>.5)&&((H=w.current)==null||H.scrollIntoView({behavior:"smooth",block:"center",inline:"center"}))};return c.useEffect(()=>{y&&z()},[y,z]),i.jsx("div",k(b({},a),{className:j,ref:w,role:"presentation",children:i.jsxs($e,{ref:t,href:s,insetFocus:!0,onClick:f?void 0:E,className:se.button,as:f?"label":void 0,attributes:k(b({},!C&&N),{"aria-controls":d}),children:[f&&i.jsx(nr,{type:"radio",name:f,value:n,checked:v,onChange:E,className:se.radio}),i.jsxs("span",{className:se.buttonContent,children:[o&&i.jsx(ce,{svg:o,className:se.icon,size:4}),r&&i.jsx(ne,{variant:u==="large"?"body-2":"body-3",children:r})]})]})}))},So=c.forwardRef(Pa),Io=(e,t)=>e===t||!e?null:e.classList.contains(se.listItem)?e:Io(e.parentElement,t),Fa=e=>{const{children:t,className:n,attributes:r}=e,{value:o,setDefaultValue:s,itemWidth:a,variant:l,name:d,direction:f,size:u,selection:h,setSelection:_,elActiveRef:g,elPrevActiveRef:p,elScrollableRef:x}=lr(),[w]=tt(),[y,v]=c.useState(null),j=I(se.root,u&&se[`--size-${u}`],f&&se[`--direction-${f}`],a&&se[`--item-width-${a}`],l&&se[`--variant-${l}`],y&&se[`--cut-off-${y}`],n),C=I(se.selector,h.status==="idle"&&se["--selector-hidden"],h.status==="animated"&&se["--selector-animated"]),N=()=>{x.current.scrollBy({left:Math.ceil(x.current.clientWidth/2)*(w?-1:1),behavior:"smooth"})},z=()=>{x.current.scrollBy({left:Math.ceil(x.current.clientWidth/2)*(w?1:-1),behavior:"smooth"})},E=()=>{_(M=>k(b({},M),{status:"idle"}))},D=c.useCallback(M=>{if(!x.current)return null;const q=Io(M,x.current);return q?{scaleX:q.clientWidth,scaleY:q.clientHeight,top:q.offsetTop,left:q.offsetLeft}:null},[x]),{ref:B}=et({"ArrowLeft, ArrowUp":M=>{d||(M.preventDefault(),Ms(x.current))},"ArrowRight, ArrowDown":M=>{d||(M.preventDefault(),Ts(x.current))},Home:M=>{d||(M.preventDefault(),Ds(x.current))},End:M=>{d||(M.preventDefault(),Ss(x.current))}});return de(()=>{if(o)return;const M=c.Children.toArray(t)[0];!M||M.type!==So||s(M.props.value)},[o]),de(()=>{if(!p.current||p.current===g.current)return;const M=D(p.current);M&&_(k(b({},M),{status:"prepared"}))},[o,D]),de(()=>{if(h.status!=="prepared"||!g.current)return;const M=D(g.current);M&&_(k(b({},M),{status:"animated"}))},[h]),de(()=>{const M=x.current;if(!M||f==="column")return;const q=()=>{M.clientWidth<M.scrollWidth||v(null);const A=M.scrollLeft*(w?-1:1),G=A>1,H=A+M.clientWidth<M.scrollWidth-1;if(H&&G)return v("both");if(G)return v("start");if(H)return v("end")},L=Xo(q,100);return requestAnimationFrame(()=>{q()}),window.addEventListener("resize",L),M.addEventListener("scroll",L),()=>{window.removeEventListener("resize",L),M.removeEventListener("scroll",L)}},[w]),i.jsxs("div",k(b({},r),{className:j,children:[i.jsx("div",{className:se.inner,ref:x,children:i.jsxs("div",{className:se.list,role:"tablist",ref:B,children:[c.Children.map(t,(M,q)=>M?i.jsx("div",{className:se.listItem,children:M},M.props.value||M.key||q):null),i.jsx("div",{onTransitionEnd:E,className:C,style:{"--rs-tab-selection-x":h.left,"--rs-tab-selection-y":h.top,"--rs-tab-selection-scale-x":h.scaleX,"--rs-tab-selection-scale-y":h.scaleY}})]})}),(y==="start"||y==="both")&&i.jsx("span",{className:se.prev,children:i.jsx(pe,{onClick:z,size:"small",icon:er,rounded:!0,attributes:{"aria-hidden":!0,tabIndex:-1}})}),(y==="end"||y==="both")&&i.jsx("span",{className:se.next,children:i.jsx(pe,{onClick:N,size:"small",icon:It,rounded:!0,attributes:{"aria-hidden":!0,tabIndex:-1}})})]}))},Va=e=>{const{value:t,children:n}=e,{value:r,panelId:o,buttonId:s}=lr(t),a=t===r,l=I(se.panel,!a&&se["--panel-hidden"]);return i.jsx("div",{className:l,tabIndex:0,role:"tabpanel",id:o,"aria-labelledby":s,children:a&&n})},fn=e=>{const{value:t}=e;return t!==void 0?i.jsx(Do,b({},e)):i.jsx(Aa,b({},e))};fn.Item=So,fn.List=Fa,fn.Panel=Va;const Ct={root:"_root_13usd_1",input:"_input_13usd_5","--size-medium":"_--size-medium_13usd_1","--size-large":"_--size-large_13usd_1","--size-xlarge":"_--size-xlarge_13usd_1","--variant-faded":"_--variant-faded_13usd_69","--variant-headless":"_--variant-headless_13usd_80","--status-error":"_--status-error_13usd_87","--size-medium--m":"_--size-medium--m_13usd_1","--size-large--m":"_--size-large--m_13usd_1","--size-xlarge--m":"_--size-xlarge--m_13usd_1","--size-medium--l":"_--size-medium--l_13usd_1","--size-large--l":"_--size-large--l_13usd_1","--size-xlarge--l":"_--size-xlarge--l_13usd_1","--size-medium--xl":"_--size-medium--xl_13usd_1","--size-large--xl":"_--size-large--xl_13usd_1","--size-xlarge--xl":"_--size-xlarge--xl_13usd_1"},qo=e=>{var C,N;const{onChange:t,onFocus:n,onBlur:r,name:o,value:s,defaultValue:a,placeholder:l,size:d="medium",variant:f="outline",className:u,attributes:h}=e,_=Qe(),g=Me(e.id),p=((C=_==null?void 0:_.attributes)==null?void 0:C.id)||((N=e.inputAttributes)==null?void 0:N.id)||g,x=(_==null?void 0:_.disabled)||e.disabled,w=(_==null?void 0:_.hasError)||e.hasError,y=b(b({},e.inputAttributes),_==null?void 0:_.attributes),v=I(Ct.root,d&&U(Ct,"--size",d),w&&Ct["--status-error"],x&&Ct["--disabled"],f&&Ct[`--variant-${f}`],u),j=z=>{t&&t({name:o,value:z.target.value,event:z})};return i.jsx("div",k(b({},h),{"data-rs-aligner-target":!0,className:v,children:i.jsx("textarea",k(b({rows:3},y),{className:Ct.input,disabled:x,name:o,placeholder:l,value:s,defaultValue:a,onChange:j,onFocus:n||(y==null?void 0:y.onFocus),onBlur:r||(y==null?void 0:y.onBlur),id:p}))}))};qo.Aligner=Yt;const cr={item:"_item_gwbgg_1","item--full-width":"_item--full-width_gwbgg_1",marker:"_marker_gwbgg_36"},dr=e=>{const{children:t,markerSlot:n,className:r,attributes:o}=e,s=n!==null,a=I(cr.item,!s&&cr["item--full-width"],r);return i.jsxs(F,{as:"li",direction:"row",align:"stretch",gap:3,attributes:o,className:a,children:[s&&i.jsx("span",{className:cr.marker,children:n}),i.jsx(F.Item,{grow:!0,children:t})]})},Lo=e=>{const{children:t,className:n,attributes:r}=e,o=I(n);return i.jsx("ul",k(b({},r),{className:o,children:c.Children.map(t,(s,a)=>(s==null?void 0:s.type)===dr?s:i.jsx(dr,{children:s},a))}))};Lo.Item=dr;const Oa={root:"_root_9090g_1"},Wa=e=>{const{id:t,text:n,children:r,onOpen:o,onClose:s,position:a="bottom",active:l}=e;return i.jsxs(nt,{id:t,active:l,position:a,onOpen:o,onClose:s,triggerType:"hover",children:[i.jsx(nt.Trigger,{children:r}),i.jsx(nt.Content,{children:i.jsx(gt,{colorMode:"inverted",children:i.jsx(ne,{variant:"caption-1",className:Oa.root,children:n})})})]})},Ba=e=>{const{w:t="auto",h:n=50,children:r}=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-unit-radius-small)"},children:r})};T.Accordion=zn,T.ActionBar=xs,T.Actionable=$e,T.Alert=ws,T.Autocomplete=Zr,T.Avatar=hi,T.Badge=eo,T.Breadcrumbs=ro,T.Button=pe,T.Calendar=Pi,T.Card=Vi,T.Carousel=Oi,T.Checkbox=Yi,T.CheckboxGroup=Ri,T.Container=Ki,T.Dismissible=Gi,T.Divider=Bt,T.DropdownMenu=ke,T.FileUpload=fo,T.FormControl=Rt,T.Hidden=mt,T.HiddenVisually=Qn,T.Hotkey=Ji,T.Icon=ce,T.Image=Zi,T.Link=no,T.Loader=to,T.MenuItem=Kn,T.Modal=or,T.Overlay=po,T.Placeholder=Ba,T.Popover=vt,T.Progress=oa,T.Radio=la,T.RadioGroup=aa,T.Reshaped=xa,T.Scrim=ya,T.Select=ja,T.Skeleton=ka,T.Slider=Ea,T.Stepper=Eo,T.Switch=Da,T.Table=jt,T.Tabs=fn,T.Text=ne,T.TextArea=qo,T.TextField=Dn,T.Theme=gt,T.Timeline=Lo,T.Tooltip=Wa,T.View=F,T.classNames=I,T.responsiveClassNames=U,T.responsivePropDependency=Te,T.useFormControl=Qe,T.useHotkeys=et,T.useIsomorphicLayoutEffect=de,T.useRTL=tt,T.useResponsiveClientValue=bo,T.useScrollLock=vo,T.useTheme=Kr,T.useToast=ca,T.useToggle=dn,Object.defineProperty(T,Symbol.toStringTag,{value:"Module"})});
|
@@ -9,3 +9,4 @@ export declare const padding: () => React.JSX.Element;
|
|
9
9
|
export declare const composition: () => React.JSX.Element;
|
10
10
|
export declare const overlay: () => React.JSX.Element;
|
11
11
|
export declare const edgeCases: () => React.JSX.Element;
|
12
|
+
export declare const trapFocusEdgeCases: () => React.JSX.Element;
|
@@ -19,6 +19,7 @@ import DropdownMenu from "../../DropdownMenu/index.js";
|
|
19
19
|
import Switch from "../../Switch/index.js";
|
20
20
|
import TextField from "../../TextField/index.js";
|
21
21
|
import useToggle from "../../../hooks/useToggle.js";
|
22
|
+
import Radio from "../../Radio/index.js";
|
22
23
|
export default { title: "Components/Modal" };
|
23
24
|
const Demo = (props) => {
|
24
25
|
const { active: activeProp, title, subtitle, children } = props, modalProps = __rest(props, ["active", "title", "subtitle", "children"]);
|
@@ -146,3 +147,23 @@ export const edgeCases = () => {
|
|
146
147
|
</Example.Item>
|
147
148
|
</Example>);
|
148
149
|
};
|
150
|
+
export const trapFocusEdgeCases = () => {
|
151
|
+
const toggle = useToggle();
|
152
|
+
return (<Example>
|
153
|
+
<Example.Item title="Radio should be navigatable with arrow keys">
|
154
|
+
<Button onClick={toggle.activate}>Open modal</Button>
|
155
|
+
<Modal active={toggle.active} onClose={toggle.deactivate}>
|
156
|
+
<View gap={2}>
|
157
|
+
<Button onClick={() => { }}>Action 1</Button>
|
158
|
+
<Radio name="radio" value="1">
|
159
|
+
Option 1
|
160
|
+
</Radio>
|
161
|
+
<Radio name="radio" value="2">
|
162
|
+
Option 2
|
163
|
+
</Radio>
|
164
|
+
<Button onClick={() => { }}>Action 2</Button>
|
165
|
+
</View>
|
166
|
+
</Modal>
|
167
|
+
</Example.Item>
|
168
|
+
</Example>);
|
169
|
+
};
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "reshaped",
|
3
3
|
"description": "Professionally crafted design system in React & Figma for building products of any scale and complexity",
|
4
|
-
"version": "2.8.
|
4
|
+
"version": "2.8.3",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
6
6
|
"email": "hello@reshaped.so",
|
7
7
|
"homepage": "https://reshaped.so",
|
@@ -25,69 +25,34 @@
|
|
25
25
|
"type": "git",
|
26
26
|
"url": "https://github.com/formaat-design/reshaped"
|
27
27
|
},
|
28
|
-
"main": "./
|
29
|
-
"
|
30
|
-
"
|
31
|
-
".": {
|
32
|
-
"import": "./dist/index.js",
|
33
|
-
"types": "./dist/index.d.ts"
|
34
|
-
},
|
35
|
-
"./themes": {
|
36
|
-
"import": "./dist/index.js",
|
37
|
-
"require": "./dist/index.js",
|
38
|
-
"types": "./dist/index.d.ts"
|
39
|
-
},
|
40
|
-
"./themes/reshaped/theme.css": {
|
41
|
-
"import": "./dist/themes/reshaped/theme.css"
|
42
|
-
},
|
43
|
-
"./themes/slate/theme.css": {
|
44
|
-
"import": "./dist/themes/slate/theme.css"
|
45
|
-
},
|
46
|
-
"./themes/figma/theme.css": {
|
47
|
-
"import": "./dist/themes/figma/theme.css"
|
48
|
-
},
|
49
|
-
"./themes/fragments/twitter/theme.css": {
|
50
|
-
"import": "./dist/themes/fragments/twitter/theme.css"
|
51
|
-
},
|
52
|
-
"./bundle": {
|
53
|
-
"import": "./dist/bundle.js",
|
54
|
-
"types": "./dist/bundle.d.ts"
|
55
|
-
},
|
56
|
-
"./bundle.css": {
|
57
|
-
"import": "./dist/bundle.css"
|
58
|
-
},
|
59
|
-
"./config/postcss": {
|
60
|
-
"import": "./dist/config/postcss.js",
|
61
|
-
"require": "./dist/config/postcss.js",
|
62
|
-
"types": "./dist/config/postcss.d.ts"
|
63
|
-
},
|
64
|
-
"./config/tailwind": {
|
65
|
-
"import": "./dist/config/tailwind.js",
|
66
|
-
"require": "./dist/config/tailwind.js",
|
67
|
-
"types": "./dist/config/tailwind.d.ts"
|
68
|
-
},
|
69
|
-
"./config/postcss.js": {
|
70
|
-
"import": "./dist/config/postcss.js",
|
71
|
-
"require": "./dist/config/postcss.js",
|
72
|
-
"types": "./dist/config/postcss.d.ts"
|
73
|
-
},
|
74
|
-
"./config/tailwind.js": {
|
75
|
-
"import": "./dist/config/tailwind.js",
|
76
|
-
"require": "./dist/config/tailwind.js",
|
77
|
-
"types": "./dist/config/tailwind.d.ts"
|
78
|
-
}
|
79
|
-
},
|
80
|
-
"bin": {
|
81
|
-
"reshaped": "./bin/cli.js"
|
82
|
-
},
|
28
|
+
"main": "./index.js",
|
29
|
+
"module": "./index.js",
|
30
|
+
"types": "./index.d.ts",
|
83
31
|
"files": [
|
84
32
|
"bin/**/*",
|
85
|
-
"
|
33
|
+
"cli/**/*",
|
34
|
+
"components/**/*",
|
35
|
+
"config/**/*",
|
36
|
+
"constants/**/*",
|
37
|
+
"hooks/**/*",
|
38
|
+
"icons/**/*",
|
39
|
+
"styles/**/*",
|
40
|
+
"themes/**/*",
|
41
|
+
"types/**/*",
|
42
|
+
"utilities/**/*",
|
43
|
+
"bundle.css",
|
44
|
+
"bundle.d.ts",
|
45
|
+
"bundle.js",
|
46
|
+
"index.d.ts",
|
47
|
+
"index.js"
|
86
48
|
],
|
49
|
+
"bin": {
|
50
|
+
"reshaped": "./bin/cli.js"
|
51
|
+
},
|
87
52
|
"scripts": {
|
88
53
|
"dev": "storybook dev -c tools/storybook -p 3001 --disable-telemetry",
|
89
54
|
"clean": "sh ./bin/clean.sh",
|
90
|
-
"build": "yarn clean && yarn build:stories && yarn build:esm && yarn build:cjs && yarn build:css && yarn build:bundle && resolve-tspaths",
|
55
|
+
"build": "yarn clean && yarn build:stories && yarn build:esm && yarn build:cjs && yarn build:css && yarn build:bundle && resolve-tspaths && cp -r dist/* ./",
|
91
56
|
"build:themes": "node bin/cli.js theming --config cli/theming/reshaped.config.js --output src/themes",
|
92
57
|
"build:esm": "tsc -p tsconfig.esm.json",
|
93
58
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|