@orangesk/orange-design-system 2.0.0-alpha.1 → 2.0.0-alpha.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/build/components/Accordion/index.js +3 -1157
- package/build/components/Accordion/index.js.map +1 -1
- package/build/components/Accordion/style.css +1 -1
- package/build/components/Accordion/style.css.map +1 -1
- package/build/components/Alert/index.js +3 -1907
- package/build/components/Alert/index.js.map +1 -1
- package/build/components/Alert/style.css +1 -1
- package/build/components/Alert/style.css.map +1 -1
- package/build/components/AnchorNavigation/index.js +16 -0
- package/build/components/AnchorNavigation/index.js.map +1 -0
- package/build/components/AnchorNavigation/style.css +2 -0
- package/build/components/AnchorNavigation/style.css.map +1 -0
- package/build/components/Bar/index.js +16 -0
- package/build/components/Bar/index.js.map +1 -0
- package/build/components/Bar/style.css +2 -0
- package/build/components/Bar/style.css.map +1 -0
- package/build/components/BlockAction/index.js +16 -0
- package/build/components/BlockAction/index.js.map +1 -0
- package/build/components/BlockAction/style.css +2 -0
- package/build/components/BlockAction/style.css.map +1 -0
- package/build/components/BodyBanner/index.js +16 -0
- package/build/components/BodyBanner/index.js.map +1 -0
- package/build/components/BodyBanner/style.css +2 -0
- package/build/components/BodyBanner/style.css.map +1 -0
- package/build/components/Breadcrumbs/index.js +3 -674
- package/build/components/Breadcrumbs/index.js.map +1 -1
- package/build/components/Breadcrumbs/style.css +1 -1
- package/build/components/Breadcrumbs/style.css.map +1 -1
- package/build/components/Button/index.js +3 -721
- package/build/components/Button/index.js.map +1 -1
- package/build/components/Button/style.css +1 -1
- package/build/components/Button/style.css.map +1 -1
- package/build/components/Buttons/index.js +3 -601
- package/build/components/Buttons/index.js.map +1 -1
- package/build/components/Buttons/style.css +1 -1
- package/build/components/Buttons/style.css.map +1 -1
- package/build/components/Card/index.js +16 -0
- package/build/components/Card/index.js.map +1 -0
- package/build/components/Card/style.css +2 -0
- package/build/components/Card/style.css.map +1 -0
- package/build/components/Carousel/index.js +16 -0
- package/build/components/Carousel/index.js.map +1 -0
- package/build/components/Carousel/style.css +2 -0
- package/build/components/Carousel/style.css.map +1 -0
- package/build/components/CarouselPromotions/index.js +16 -0
- package/build/components/CarouselPromotions/index.js.map +1 -0
- package/build/components/CarouselPromotions/style.css +2 -0
- package/build/components/CarouselPromotions/style.css.map +1 -0
- package/build/components/CartTable/index.js +16 -0
- package/build/components/CartTable/index.js.map +1 -0
- package/build/components/CartTable/style.css +2 -0
- package/build/components/CartTable/style.css.map +1 -0
- package/build/components/Code/index.js +11 -0
- package/build/components/Code/index.js.map +1 -0
- package/build/components/Code/style.css +2 -0
- package/build/components/Code/style.css.map +1 -0
- package/build/components/Container/index.js +3 -598
- package/build/components/Container/index.js.map +1 -1
- package/build/components/Container/style.css +1 -1
- package/build/components/Container/style.css.map +1 -1
- package/build/components/Controls/index.js +16 -0
- package/build/components/Controls/index.js.map +1 -0
- package/build/components/Controls/style.css +2 -0
- package/build/components/Controls/style.css.map +1 -0
- package/build/components/Cover/index.js +16 -0
- package/build/components/Cover/index.js.map +1 -0
- package/build/components/Cover/style.css +2 -0
- package/build/components/Cover/style.css.map +1 -0
- package/build/components/Divider/index.js +16 -0
- package/build/components/Divider/index.js.map +1 -0
- package/build/components/Divider/style.css +2 -0
- package/build/components/Divider/style.css.map +1 -0
- package/build/components/DocumentationSidebar/index.js +16 -0
- package/build/components/DocumentationSidebar/index.js.map +1 -0
- package/build/components/DocumentationSidebar/style.css +2 -0
- package/build/components/DocumentationSidebar/style.css.map +1 -0
- package/build/components/Dropdown/index.js +16 -0
- package/build/components/Dropdown/index.js.map +1 -0
- package/build/components/Dropdown/style.css +2 -0
- package/build/components/Dropdown/style.css.map +1 -0
- package/build/components/Expander/index.js +16 -0
- package/build/components/Expander/index.js.map +1 -0
- package/build/components/Expander/style.css +2 -0
- package/build/components/Expander/style.css.map +1 -0
- package/build/components/FeatureAccordion/index.js +16 -0
- package/build/components/FeatureAccordion/index.js.map +1 -0
- package/build/components/FeatureAccordion/style.css +2 -0
- package/build/components/FeatureAccordion/style.css.map +1 -0
- package/build/components/Footer/index.js +16 -0
- package/build/components/Footer/index.js.map +1 -0
- package/build/components/Footer/style.css +2 -0
- package/build/components/Footer/style.css.map +1 -0
- package/build/components/Forms/index.js +18 -0
- package/build/components/Forms/index.js.map +1 -0
- package/build/components/Forms/style.css +2 -0
- package/build/components/Forms/style.css.map +1 -0
- package/build/components/Gauge/index.js +16 -0
- package/build/components/Gauge/index.js.map +1 -0
- package/build/components/Gauge/style.css +2 -0
- package/build/components/Gauge/style.css.map +1 -0
- package/build/components/Grid/index.js +3 -1069
- package/build/components/Grid/index.js.map +1 -1
- package/build/components/Grid/style.css +1 -1
- package/build/components/Grid/style.css.map +1 -1
- package/build/components/Hero/index.js +16 -0
- package/build/components/Hero/index.js.map +1 -0
- package/build/components/Hero/style.css +2 -0
- package/build/components/Hero/style.css.map +1 -0
- package/build/components/Icon/index.js +2 -619
- package/build/components/Icon/index.js.map +1 -1
- package/build/components/Icon/style.css +1 -1
- package/build/components/Icon/style.css.map +1 -1
- package/build/components/IconList/index.js +16 -0
- package/build/components/IconList/index.js.map +1 -0
- package/build/components/IconList/style.css +2 -0
- package/build/components/IconList/style.css.map +1 -0
- package/build/components/Image/index.js +3 -646
- package/build/components/Image/index.js.map +1 -1
- package/build/components/Image/style.css +1 -1
- package/build/components/Image/style.css.map +1 -1
- package/build/components/Link/index.js +2 -168
- package/build/components/Link/index.js.map +1 -1
- package/build/components/Link/style.css +1 -1
- package/build/components/Link/style.css.map +1 -1
- package/build/components/List/index.js +16 -0
- package/build/components/List/index.js.map +1 -0
- package/build/components/List/style.css +2 -0
- package/build/components/List/style.css.map +1 -0
- package/build/components/Loader/index.js +16 -0
- package/build/components/Loader/index.js.map +1 -0
- package/build/components/Loader/style.css +2 -0
- package/build/components/Loader/style.css.map +1 -0
- package/build/components/Modal/index.js +4 -3154
- package/build/components/Modal/index.js.map +1 -1
- package/build/components/Modal/style.css +1 -1
- package/build/components/Modal/style.css.map +1 -1
- package/build/components/Pagination/index.js +16 -0
- package/build/components/Pagination/index.js.map +1 -0
- package/build/components/Pagination/style.css +2 -0
- package/build/components/Pagination/style.css.map +1 -0
- package/build/components/Preview/index.js +83 -0
- package/build/components/Preview/index.js.map +1 -0
- package/build/components/Preview/style.css +2 -0
- package/build/components/Preview/style.css.map +1 -0
- package/build/components/Progress/index.js +16 -0
- package/build/components/Progress/index.js.map +1 -0
- package/build/components/Progress/style.css +2 -0
- package/build/components/Progress/style.css.map +1 -0
- package/build/components/PromoBanner/index.js +16 -0
- package/build/components/PromoBanner/index.js.map +1 -0
- package/build/components/PromoBanner/style.css +2 -0
- package/build/components/PromoBanner/style.css.map +1 -0
- package/build/components/PromotionCard/index.js +16 -0
- package/build/components/PromotionCard/index.js.map +1 -0
- package/build/components/PromotionCard/style.css +2 -0
- package/build/components/PromotionCard/style.css.map +1 -0
- package/build/components/Section/index.js +3 -619
- package/build/components/Section/index.js.map +1 -1
- package/build/components/Section/style.css +1 -1
- package/build/components/Section/style.css.map +1 -1
- package/build/components/Skeleton/index.js +16 -0
- package/build/components/Skeleton/index.js.map +1 -0
- package/build/components/Skeleton/style.css +2 -0
- package/build/components/Skeleton/style.css.map +1 -0
- package/build/components/SkipLink/index.js +16 -0
- package/build/components/SkipLink/index.js.map +1 -0
- package/build/components/SkipLink/style.css +2 -0
- package/build/components/SkipLink/style.css.map +1 -0
- package/build/components/Stepbar/index.js +16 -0
- package/build/components/Stepbar/index.js.map +1 -0
- package/build/components/Stepbar/style.css +2 -0
- package/build/components/Stepbar/style.css.map +1 -0
- package/build/components/Sticker/index.js +16 -0
- package/build/components/Sticker/index.js.map +1 -0
- package/build/components/Sticker/style.css +2 -0
- package/build/components/Sticker/style.css.map +1 -0
- package/build/components/Table/index.js +16 -0
- package/build/components/Table/index.js.map +1 -0
- package/build/components/Table/style.css +2 -0
- package/build/components/Table/style.css.map +1 -0
- package/build/components/Tabs/index.js +3 -1043
- package/build/components/Tabs/index.js.map +1 -1
- package/build/components/Tabs/style.css +1 -1
- package/build/components/Tabs/style.css.map +1 -1
- package/build/components/Tag/index.js +16 -0
- package/build/components/Tag/index.js.map +1 -0
- package/build/components/Tag/style.css +2 -0
- package/build/components/Tag/style.css.map +1 -0
- package/build/components/Testimonial/index.js +16 -0
- package/build/components/Testimonial/index.js.map +1 -0
- package/build/components/Testimonial/style.css +2 -0
- package/build/components/Testimonial/style.css.map +1 -0
- package/build/components/Tile/index.js +16 -0
- package/build/components/Tile/index.js.map +1 -0
- package/build/components/Tile/style.css +2 -0
- package/build/components/Tile/style.css.map +1 -0
- package/build/components/Tooltip/index.js +16 -0
- package/build/components/Tooltip/index.js.map +1 -0
- package/build/components/Tooltip/style.css +2 -0
- package/build/components/Tooltip/style.css.map +1 -0
- package/build/components/index.css +2 -1
- package/build/components/index.css.map +1 -1
- package/build/components/index.js +6 -3662
- package/build/components/index.js.map +1 -1
- package/build/components/static.css +2 -0
- package/build/components/static.css.map +1 -0
- package/build/components/static.js +4 -2440
- package/build/components/static.js.map +1 -1
- package/build/components/types/mdx-components.d.ts +2 -0
- package/build/components/types/next.config.d.ts +3 -0
- package/build/components/types/src/app/ODSLib.d.ts +1 -0
- package/build/components/types/src/app/components/accordion/AccordionClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/alert/AlertClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/anchor-navigation/AnchorNavigationClientWrapper.d.ts +2 -0
- package/build/components/types/src/app/components/body-banner/BodyBannerClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/code/CodeClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/cover/CoverClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/expander/ExpanderClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/feature-accordion/FeatureAccordionClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/forms/autocomplete/AutocompleteClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/forms/datepicker/DatePickerClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/forms/radio/RadioClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/gauge/GaugeClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/hero/HeroClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/icon-list/IconListClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/list/ListClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/pagination/PaginationClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/progress/ProgressClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/promo-banner/PromoBannerClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/promotion-card/PromotionCardWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/sticker/StickerClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/tag/TagClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/testimonial/TestimonialClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/layout.d.ts +4 -0
- package/build/components/types/src/app/menuItems.d.ts +24 -0
- package/build/components/types/src/components/Accordion/Accordion.d.ts +17 -0
- package/build/components/types/src/components/Accordion/Accordion.static.d.ts +17 -0
- package/build/components/types/src/components/Accordion/AccordionHeader.d.ts +15 -0
- package/build/components/types/src/components/Accordion/AccordionItem.d.ts +19 -0
- package/build/components/types/src/components/Accordion/HeadingContext.d.ts +2 -0
- package/build/components/types/src/components/Accordion/index.d.ts +3 -0
- package/build/components/types/src/components/Accordion/tests/data.d.ts +5 -0
- package/build/components/types/{components → src/components}/Alert/Alert.d.ts +2 -2
- package/build/components/types/src/components/AnchorNavigation/AnchorNavigation.d.ts +17 -0
- package/build/components/types/src/components/AnchorNavigation/AnchorNavigation.static.d.ts +24 -0
- package/build/components/types/src/components/AnchorNavigation/index.d.ts +2 -0
- package/build/components/types/src/components/Bar/Bar.d.ts +22 -0
- package/build/components/types/src/components/Bar/BarBreak.d.ts +12 -0
- package/build/components/types/src/components/Bar/BarItem.d.ts +16 -0
- package/build/components/types/src/components/Bar/index.d.ts +4 -0
- package/build/components/types/src/components/BlockAction/BlockAction.d.ts +9 -0
- package/build/components/types/src/components/BlockAction/BlockAction.static.d.ts +19 -0
- package/build/components/types/src/components/BlockAction/BlockActionControl.d.ts +9 -0
- package/build/components/types/src/components/BlockAction/BlockActionIndicator.d.ts +9 -0
- package/build/components/types/src/components/BlockAction/CloneElementWithClassName.d.ts +8 -0
- package/build/components/types/src/components/BlockAction/Context.d.ts +13 -0
- package/build/components/types/src/components/BlockAction/index.d.ts +16 -0
- package/build/components/types/src/components/BodyBanner/BodyBanner.d.ts +20 -0
- package/build/components/types/src/components/BodyBanner/index.d.ts +2 -0
- package/build/components/types/src/components/Breadcrumbs/BreadcrumbItem.d.ts +15 -0
- package/build/components/types/src/components/Breadcrumbs/Breadcrumbs.d.ts +20 -0
- package/build/components/types/src/components/Breadcrumbs/index.d.ts +2 -0
- package/build/components/types/{components → src/components}/Button/Button.d.ts +1 -1
- package/build/components/types/src/components/Card/Card.d.ts +13 -0
- package/build/components/types/src/components/Card/CardProductHeader.d.ts +9 -0
- package/build/components/types/src/components/Card/CardSection.d.ts +14 -0
- package/build/components/types/src/components/Card/index.d.ts +4 -0
- package/build/components/types/src/components/Card/tests/data.d.ts +5 -0
- package/build/components/types/src/components/Carousel/Carousel.d.ts +12 -0
- package/build/components/types/src/components/Carousel/Carousel.static.d.ts +33 -0
- package/build/components/types/src/components/Carousel/CarouselItem.d.ts +7 -0
- package/build/components/types/src/components/Carousel/constants.d.ts +22 -0
- package/build/components/types/src/components/Carousel/index.d.ts +3 -0
- package/build/components/types/src/components/CarouselPromotions/CarouselPromotions.d.ts +10 -0
- package/build/components/types/src/components/CarouselPromotions/CarouselPromotions.static.d.ts +31 -0
- package/build/components/types/src/components/CarouselPromotions/CarouselPromotionsItem.d.ts +12 -0
- package/build/components/types/src/components/CarouselPromotions/constants.d.ts +20 -0
- package/build/components/types/src/components/CarouselPromotions/index.d.ts +3 -0
- package/build/components/types/src/components/CartTable/CartTable.d.ts +13 -0
- package/build/components/types/src/components/CartTable/FooterNameColumn.d.ts +7 -0
- package/build/components/types/src/components/CartTable/FooterPriceColumn.d.ts +9 -0
- package/build/components/types/src/components/CartTable/Price.d.ts +10 -0
- package/build/components/types/src/components/CartTable/data.d.ts +33 -0
- package/build/components/types/src/components/CartTable/generateFooter.d.ts +22 -0
- package/build/components/types/src/components/CartTable/generateRow.d.ts +21 -0
- package/build/components/types/src/components/CartTable/generateTotal.d.ts +45 -0
- package/build/components/types/src/components/CartTable/index.d.ts +2 -0
- package/build/components/types/src/components/Code/Code.d.ts +16 -0
- package/build/components/types/src/components/Code/index.d.ts +6 -0
- package/build/components/types/src/components/Code/oneDarkProTheme.d.ts +13 -0
- package/build/components/types/src/components/Container/Container.d.ts +3 -0
- package/build/components/types/src/components/Container/index.d.ts +2 -0
- package/build/components/types/src/components/Controls/Controls.d.ts +16 -0
- package/build/components/types/src/components/Controls/index.d.ts +2 -0
- package/build/components/types/src/components/Cover/Cover.d.ts +42 -0
- package/build/components/types/src/components/Cover/index.d.ts +3 -0
- package/build/components/types/src/components/Divider/Divider.d.ts +13 -0
- package/build/components/types/src/components/Divider/index.d.ts +2 -0
- package/build/components/types/src/components/DocumentationSidebar/DocumentationSidebar.d.ts +16 -0
- package/build/components/types/src/components/DocumentationSidebar/index.d.ts +3 -0
- package/build/components/types/src/components/Dropdown/Dropdown.d.ts +20 -0
- package/build/components/types/src/components/Dropdown/Dropdown.static.d.ts +28 -0
- package/build/components/types/src/components/Dropdown/DropdownDivider.d.ts +3 -0
- package/build/components/types/src/components/Dropdown/DropdownItem.d.ts +9 -0
- package/build/components/types/src/components/Dropdown/DropdownToggleButton.d.ts +7 -0
- package/build/components/types/src/components/Dropdown/index.d.ts +5 -0
- package/build/components/types/src/components/Expander/Expander.d.ts +22 -0
- package/build/components/types/src/components/Expander/Expander.static.d.ts +13 -0
- package/build/components/types/src/components/Expander/index.d.ts +2 -0
- package/build/components/types/src/components/FeatureAccordion/FeatureAccordion.d.ts +11 -0
- package/build/components/types/src/components/FeatureAccordion/FeatureAccordion.static.d.ts +23 -0
- package/build/components/types/src/components/FeatureAccordion/FeatureAccordionItem.d.ts +11 -0
- package/build/components/types/src/components/FeatureAccordion/index.d.ts +2 -0
- package/build/components/types/src/components/Footer/Footer.d.ts +12 -0
- package/build/components/types/src/components/Footer/data.d.ts +15 -0
- package/build/components/types/src/components/Footer/index.d.ts +1 -0
- package/build/components/types/src/components/Forms/Autocomplete/Autocomplete.d.ts +17 -0
- package/build/components/types/src/components/Forms/Autocomplete/Autocomplete.static.d.ts +21 -0
- package/build/components/types/src/components/Forms/Autocomplete/index.d.ts +2 -0
- package/build/components/types/src/components/Forms/Checkbox/Checkbox.d.ts +21 -0
- package/build/components/types/src/components/Forms/Checkbox/index.d.ts +2 -0
- package/build/components/types/src/components/Forms/DatePicker/DatePicker.d.ts +84 -0
- package/build/components/types/src/components/Forms/DatePicker/DatePicker.static.d.ts +69 -0
- package/build/components/types/src/components/Forms/DatePicker/index.d.ts +2 -0
- package/build/components/types/src/components/Forms/Field/Control.d.ts +6 -0
- package/build/components/types/src/components/Forms/Field/Description.d.ts +7 -0
- package/build/components/types/src/components/Forms/Field/Field.d.ts +17 -0
- package/build/components/types/src/components/Forms/Field/FieldContext.d.ts +18 -0
- package/build/components/types/src/components/Forms/Field/Label.d.ts +11 -0
- package/build/components/types/src/components/Forms/Field/Messages.d.ts +12 -0
- package/build/components/types/src/components/Forms/Field/Tooltip.d.ts +11 -0
- package/build/components/types/src/components/Forms/Field/index.d.ts +2 -0
- package/build/components/types/src/components/Forms/Field/utils.d.ts +16 -0
- package/build/components/types/src/components/Forms/Fieldset/Fieldset.d.ts +16 -0
- package/build/components/types/src/components/Forms/Fieldset/FieldsetContext.d.ts +7 -0
- package/build/components/types/src/components/Forms/Fieldset/docsData.d.ts +59 -0
- package/build/components/types/src/components/Forms/Fieldset/index.d.ts +2 -0
- package/build/components/types/src/components/Forms/File/File.d.ts +17 -0
- package/build/components/types/src/components/Forms/File/File.static.d.ts +27 -0
- package/build/components/types/src/components/Forms/File/index.d.ts +2 -0
- package/build/components/types/src/components/Forms/Group/Group.d.ts +14 -0
- package/build/components/types/src/components/Forms/Group/Item.d.ts +8 -0
- package/build/components/types/src/components/Forms/Group/index.d.ts +2 -0
- package/build/components/types/src/components/Forms/Hint/Hint.d.ts +7 -0
- package/build/components/types/src/components/Forms/Hint/index.d.ts +2 -0
- package/build/components/types/src/components/Forms/InputStepper/InputStepper.d.ts +20 -0
- package/build/components/types/src/components/Forms/InputStepper/InputStepper.static.d.ts +24 -0
- package/build/components/types/src/components/Forms/InputStepper/index.d.ts +2 -0
- package/build/components/types/src/components/Forms/Label/Label.d.ts +8 -0
- package/build/components/types/src/components/Forms/Label/index.d.ts +2 -0
- package/build/components/types/src/components/Forms/Message/Message.d.ts +12 -0
- package/build/components/types/src/components/Forms/Message/index.d.ts +2 -0
- package/build/components/types/src/components/Forms/Radio/Radio.d.ts +21 -0
- package/build/components/types/src/components/Forms/Radio/index.d.ts +2 -0
- package/build/components/types/src/components/Forms/RangeSlider/RangeSlider.d.ts +38 -0
- package/build/components/types/src/components/Forms/RangeSlider/RangeSlider.static.d.ts +24 -0
- package/build/components/types/src/components/Forms/RangeSlider/data.d.ts +49 -0
- package/build/components/types/src/components/Forms/RangeSlider/index.d.ts +2 -0
- package/build/components/types/src/components/Forms/Select/Select.d.ts +33 -0
- package/build/components/types/src/components/Forms/Select/index.d.ts +4 -0
- package/build/components/types/src/components/Forms/TextArea/TextArea.d.ts +29 -0
- package/build/components/types/src/components/Forms/TextArea/index.d.ts +2 -0
- package/build/components/types/src/components/Forms/TextInput/TextInput.d.ts +32 -0
- package/build/components/types/src/components/Forms/TextInput/index.d.ts +2 -0
- package/build/components/types/src/components/Forms/index.d.ts +16 -0
- package/build/components/types/src/components/Gauge/Gauge.d.ts +11 -0
- package/build/components/types/src/components/Gauge/GaugeMaker.d.ts +3 -0
- package/build/components/types/src/components/Gauge/index.d.ts +2 -0
- package/build/components/types/src/components/Grid/Grid.d.ts +14 -0
- package/build/components/types/src/components/Grid/GridCol.d.ts +12 -0
- package/build/components/types/src/components/Grid/index.d.ts +3 -0
- package/build/components/types/src/components/Hero/Hero.d.ts +52 -0
- package/build/components/types/src/components/Hero/HeroPlayground.d.ts +2 -0
- package/build/components/types/src/components/Hero/index.d.ts +2 -0
- package/build/components/types/{components → src/components}/Icon/Icon.d.ts +2 -2
- package/build/components/types/src/components/Icon/iconSearchTags.d.ts +419 -0
- package/build/components/types/src/components/IconList/IconList.d.ts +13 -0
- package/build/components/types/src/components/IconList/Item.d.ts +9 -0
- package/build/components/types/src/components/IconList/index.d.ts +3 -0
- package/build/components/types/src/components/Image/Image.d.ts +20 -0
- package/build/components/types/src/components/Image/index.d.ts +2 -0
- package/build/components/types/src/components/Link/Link.d.ts +18 -0
- package/build/components/types/src/components/Link/index.d.ts +2 -0
- package/build/components/types/src/components/List/ClickableControl.d.ts +9 -0
- package/build/components/types/src/components/List/List.d.ts +13 -0
- package/build/components/types/src/components/List/ListItem.d.ts +16 -0
- package/build/components/types/src/components/List/index.d.ts +3 -0
- package/build/components/types/src/components/Loader/Loader.d.ts +14 -0
- package/build/components/types/src/components/Loader/Loader.static.d.ts +19 -0
- package/build/components/types/src/components/Loader/index.d.ts +2 -0
- package/build/components/types/{components → src/components}/Modal/Modal.d.ts +2 -0
- package/build/components/types/src/components/Pagination/Pagination.d.ts +28 -0
- package/build/components/types/src/components/Pagination/PaginationItem.d.ts +21 -0
- package/build/components/types/src/components/Pagination/Separator.d.ts +6 -0
- package/build/components/types/src/components/Pagination/helpers.d.ts +23 -0
- package/build/components/types/src/components/Pagination/index.d.ts +4 -0
- package/build/components/types/src/components/Preview/CodeExample.d.ts +9 -0
- package/build/components/types/src/components/Preview/Interact/ButtonShowPropsGroup.d.ts +10 -0
- package/build/components/types/src/components/Preview/Interact/Interact.d.ts +17 -0
- package/build/components/types/src/components/Preview/Interact/PropCheckbox.d.ts +15 -0
- package/build/components/types/src/components/Preview/Interact/PropFormField.d.ts +7 -0
- package/build/components/types/src/components/Preview/Interact/PropInput.d.ts +17 -0
- package/build/components/types/src/components/Preview/Interact/PropLabelWithTooltip.d.ts +17 -0
- package/build/components/types/src/components/Preview/Interact/PropSelect.d.ts +15 -0
- package/build/components/types/src/components/Preview/Interact/PropsGroup.d.ts +10 -0
- package/build/components/types/src/components/Preview/Interact/Tooltip.d.ts +8 -0
- package/build/components/types/src/components/Preview/Interact/helpers.d.ts +19 -0
- package/build/components/types/src/components/Preview/Interact/state.d.ts +14 -0
- package/build/components/types/src/components/Preview/Preview.d.ts +26 -0
- package/build/components/types/src/components/Preview/PreviewTitleBar.d.ts +9 -0
- package/build/components/types/src/components/Preview/index.d.ts +7 -0
- package/build/components/types/src/components/Progress/Progress.d.ts +15 -0
- package/build/components/types/src/components/Progress/index.d.ts +2 -0
- package/build/components/types/src/components/PromoBanner/PromoBanner.d.ts +12 -0
- package/build/components/types/src/components/PromoBanner/index.d.ts +2 -0
- package/build/components/types/src/components/PromotionCard/PromotionCard.d.ts +9 -0
- package/build/components/types/src/components/PromotionCard/PromotionCardContent.d.ts +8 -0
- package/build/components/types/src/components/PromotionCard/PromotionCardImageWrapper.d.ts +8 -0
- package/build/components/types/src/components/PromotionCard/PromotionCardSection.d.ts +9 -0
- package/build/components/types/src/components/PromotionCard/PromotionCardTitle.d.ts +8 -0
- package/build/components/types/src/components/PromotionCard/constants.d.ts +5 -0
- package/build/components/types/src/components/PromotionCard/index.d.ts +6 -0
- package/build/components/types/src/components/Skeleton/Skeleton.d.ts +3 -0
- package/build/components/types/src/components/Skeleton/index.d.ts +2 -0
- package/build/components/types/src/components/SkipLink/SkipLink.d.ts +6 -0
- package/build/components/types/src/components/SkipLink/index.d.ts +2 -0
- package/build/components/types/src/components/Stepbar/Stepbar.d.ts +21 -0
- package/build/components/types/src/components/Stepbar/index.d.ts +2 -0
- package/build/components/types/src/components/Sticker/Sticker.d.ts +10 -0
- package/build/components/types/src/components/Sticker/index.d.ts +3 -0
- package/build/components/types/src/components/Table/Cell.d.ts +11 -0
- package/build/components/types/src/components/Table/Footer.d.ts +3 -0
- package/build/components/types/src/components/Table/Header.d.ts +3 -0
- package/build/components/types/src/components/Table/Row.d.ts +10 -0
- package/build/components/types/src/components/Table/Rows.d.ts +3 -0
- package/build/components/types/src/components/Table/Table.d.ts +24 -0
- package/build/components/types/src/components/Table/Table.static.d.ts +23 -0
- package/build/components/types/src/components/Table/TableContext.d.ts +4 -0
- package/build/components/types/src/components/Table/docsData.d.ts +39 -0
- package/build/components/types/src/components/Table/index.d.ts +3 -0
- package/build/components/types/src/components/Table/types.d.ts +34 -0
- package/build/components/types/{components → src/components}/Tabs/Tabs.d.ts +1 -3
- package/build/components/types/src/components/Tag/Tag.d.ts +24 -0
- package/build/components/types/src/components/Tag/TagButton.d.ts +12 -0
- package/build/components/types/src/components/Tag/index.d.ts +4 -0
- package/build/components/types/src/components/Testimonial/Testimonial.d.ts +10 -0
- package/build/components/types/src/components/Testimonial/index.d.ts +2 -0
- package/build/components/types/src/components/Tile/Tile.d.ts +23 -0
- package/build/components/types/src/components/Tile/index.d.ts +2 -0
- package/build/components/types/src/components/Tooltip/InfoTooltip.d.ts +8 -0
- package/build/components/types/src/components/Tooltip/Tooltip.d.ts +25 -0
- package/build/components/types/src/components/Tooltip/Tooltip.static.d.ts +26 -0
- package/build/components/types/src/components/Tooltip/index.d.ts +3 -0
- package/build/components/types/src/components/Tooltip/tests/BaseWrapper.d.ts +3 -0
- package/build/components/types/src/components/index.d.ts +49 -0
- package/build/components/types/src/components/static.d.ts +1 -0
- package/build/components/types/src/docs/utils/ToggleButton.d.ts +9 -0
- package/build/components/types/src/lib/scripts.d.ts +1 -0
- package/build/components/types/src/scripts/index.d.ts +102 -0
- package/build/components/types/src/scripts/lib/moduleFactory.d.ts +3 -0
- package/build/components/types/src/scripts/modules/SameHeight.d.ts +15 -0
- package/build/components/types/src/scripts/modules/Toggle.d.ts +39 -0
- package/build/components/types/src/scripts/modules/toggleUtil.d.ts +13 -0
- package/build/components/types/src/styles/export/breakpoint.d.ts +9 -0
- package/build/components/types/src/utils/ConditionalWrapper.d.ts +10 -0
- package/build/components/types/src/utils/classes.d.ts +5 -0
- package/build/components/types/src/utils/color.d.ts +20 -0
- package/build/components/types/src/utils/helpers.d.ts +11 -0
- package/build/components/types/{utils → src/utils}/hooks.d.ts +2 -1
- package/build/components/types/src/utils/index.d.ts +5 -0
- package/build/images/product-1.svg +10 -0
- package/build/images/product-2.svg +14 -0
- package/build/images/product-3.svg +9 -0
- package/build/lib/after-components.css +1 -1
- package/build/lib/after-components.css.map +1 -1
- package/build/lib/before-components.css +2 -1
- package/build/lib/before-components.css.map +1 -1
- package/build/lib/components.css +1 -1
- package/build/lib/components.css.map +1 -1
- package/build/lib/scripts.css +2 -0
- package/build/lib/scripts.css.map +1 -0
- package/build/lib/scripts.js +4 -2442
- package/build/lib/scripts.js.map +1 -1
- package/build/lib/style.css +2 -1
- package/build/lib/style.css.map +1 -1
- package/build/logo.svg +1 -0
- package/package.json +46 -29
- package/src/components/Accordion/Accordion.mdx +2 -2
- package/src/components/Accordion/Accordion.tsx +12 -20
- package/src/components/Accordion/AccordionItem.tsx +16 -26
- package/src/components/Accordion/index.ts +3 -3
- package/src/components/Accordion/styles/mixins.scss +11 -11
- package/src/components/Accordion/styles/style.scss +34 -32
- package/src/components/Accordion/tests/Accordion.unit.test.js +2 -2
- package/src/components/Accordion/tests/{data.js → data.ts} +9 -7
- package/src/components/Alert/Alert.tsx +6 -5
- package/src/components/Alert/CHANGELOG.md +33 -0
- package/src/components/Alert/styles/config.scss +6 -44
- package/src/components/Alert/styles/mixins.scss +20 -8
- package/src/components/Alert/styles/style.scss +22 -30
- package/src/components/Alert/tests/Alert.test.js +26 -0
- package/src/components/AnchorNavigation/AnchorNavigation.static.ts +115 -0
- package/src/components/AnchorNavigation/AnchorNavigation.tsx +81 -0
- package/src/components/AnchorNavigation/index.tsx +3 -0
- package/src/components/AnchorNavigation/styles/mixins.scss +126 -0
- package/src/components/AnchorNavigation/styles/style.scss +22 -0
- package/src/components/Bar/Bar.mdx +203 -0
- package/src/components/Bar/Bar.tsx +58 -0
- package/src/components/Bar/BarBreak.tsx +29 -0
- package/src/components/Bar/BarItem.tsx +50 -0
- package/src/components/Bar/index.ts +5 -0
- package/src/components/Bar/styles/config.scss +10 -0
- package/src/components/Bar/styles/mixins.scss +84 -0
- package/src/components/Bar/styles/style.scss +62 -0
- package/src/components/Bar/tests/Bar.conformance.test.js +29 -0
- package/src/components/Bar/tests/Bar.unit.test.js +58 -0
- package/src/components/Bar/tests/BarBreak.unit.test.js +32 -0
- package/src/components/Bar/tests/BarItem.unit.test.js +51 -0
- package/src/components/BlockAction/BlockAction.mdx +244 -0
- package/src/components/BlockAction/BlockAction.static.ts +104 -0
- package/src/components/BlockAction/BlockAction.tsx +27 -0
- package/src/components/BlockAction/BlockActionControl.tsx +32 -0
- package/src/components/BlockAction/BlockActionIndicator.tsx +32 -0
- package/src/components/BlockAction/CloneElementWithClassName.tsx +23 -0
- package/src/components/BlockAction/Context.tsx +39 -0
- package/src/components/BlockAction/index.tsx +29 -0
- package/src/components/BlockAction/styles/config.scss +10 -0
- package/src/components/BlockAction/styles/mixins.scss +33 -0
- package/src/components/BlockAction/styles/style.scss +35 -0
- package/src/components/BlockAction/tests/BlockAction.conformance.test.js +117 -0
- package/src/components/BlockAction/tests/BlockAction.unit.test.js +44 -0
- package/src/components/BlockAction/tests/BlockActionControl.unit.test.js +146 -0
- package/src/components/BlockAction/tests/BlockActionIndicator.unit.test.js +68 -0
- package/src/components/BlockAction/tests/CloneElementWithClassName.unit.test.js +33 -0
- package/src/components/BodyBanner/BodyBanner.mdx +268 -0
- package/src/components/BodyBanner/BodyBanner.tsx +102 -0
- package/src/components/BodyBanner/index.tsx +3 -0
- package/src/components/BodyBanner/styles/mixins.scss +106 -0
- package/src/components/BodyBanner/styles/style.scss +41 -0
- package/src/components/Breadcrumbs/BreadcrumbItem.tsx +13 -13
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +17 -16
- package/src/components/Breadcrumbs/index.ts +2 -4
- package/src/components/Breadcrumbs/styles/mixins.scss +16 -28
- package/src/components/Breadcrumbs/styles/style.scss +17 -26
- package/src/components/Breadcrumbs/tests/BreadcrumbItem.unit.test.js +1 -2
- package/src/components/Breadcrumbs/tests/Breadcrumbs.conformance.test.js +16 -17
- package/src/components/Breadcrumbs/tests/Breadcrumbs.integration.test.js +21 -19
- package/src/components/Breadcrumbs/tests/Breadcrumbs.unit.test.js +28 -21
- package/src/components/Button/Button.tsx +4 -3
- package/src/components/Button/styles/config.scss +34 -135
- package/src/components/Button/styles/mixins.scss +2 -11
- package/src/components/Button/styles/style.scss +28 -48
- package/src/components/Button/tests/Button.test.js +8 -3
- package/src/components/Buttons/styles/style.scss +6 -4
- package/src/components/Card/CHANGELOG.md +19 -0
- package/src/components/Card/Card.mdx +334 -0
- package/src/components/Card/Card.tsx +35 -0
- package/src/components/Card/CardProductHeader.tsx +36 -0
- package/src/components/Card/CardSection.tsx +44 -0
- package/src/components/Card/index.ts +5 -0
- package/src/components/Card/styles/config.scss +16 -0
- package/src/components/Card/styles/mixins.scss +68 -0
- package/src/components/Card/styles/style.scss +39 -0
- package/src/components/Card/tests/Card.conformance.test.js +31 -0
- package/src/components/Card/tests/Card.unit.test.js +47 -0
- package/src/components/Card/tests/CardProductHeader.unit.test.js +61 -0
- package/src/components/Card/tests/CardSection.unit.test.js +61 -0
- package/src/components/Card/tests/data.ts +44 -0
- package/src/components/Carousel/CHANGELOG.md +11 -0
- package/src/components/Carousel/Carousel.mdx +159 -0
- package/src/components/Carousel/Carousel.static.ts +261 -0
- package/src/components/Carousel/Carousel.tsx +98 -0
- package/src/components/Carousel/CarouselItem.tsx +29 -0
- package/src/components/Carousel/constants.ts +24 -0
- package/src/components/Carousel/index.ts +4 -0
- package/src/components/Carousel/styles/config.scss +31 -0
- package/src/components/Carousel/styles/mixins.scss +196 -0
- package/src/components/Carousel/styles/style.scss +65 -0
- package/src/components/Carousel/tests/Carousel.conformance.test.js +26 -0
- package/src/components/Carousel/tests/Carousel.unit.test.js +207 -0
- package/src/components/Carousel/tests/CarouselItem.unit.test.js +31 -0
- package/src/components/CarouselPromotions/CarouselPromotions.mdx +246 -0
- package/src/components/CarouselPromotions/CarouselPromotions.static.ts +287 -0
- package/src/components/CarouselPromotions/CarouselPromotions.tsx +66 -0
- package/src/components/CarouselPromotions/CarouselPromotionsItem.tsx +53 -0
- package/src/components/CarouselPromotions/constants.ts +23 -0
- package/src/components/CarouselPromotions/index.ts +4 -0
- package/src/components/CarouselPromotions/styles/config.scss +65 -0
- package/src/components/CarouselPromotions/styles/mixins.scss +286 -0
- package/src/components/CarouselPromotions/styles/style.scss +51 -0
- package/src/components/CarouselPromotions/tests/CarouselPromotions.conformance.test.js +30 -0
- package/src/components/CarouselPromotions/tests/CarouselPromotions.unit.test.js +244 -0
- package/src/components/CarouselPromotions/tests/CarouselPromotionsItem.unit.test.js +33 -0
- package/src/components/CartTable/CartTable.mdx +129 -0
- package/src/components/CartTable/CartTable.tsx +111 -0
- package/src/components/CartTable/FooterNameColumn.tsx +32 -0
- package/src/components/CartTable/FooterPriceColumn.tsx +50 -0
- package/src/components/CartTable/Price.tsx +48 -0
- package/src/components/CartTable/data.ts +147 -0
- package/src/components/CartTable/generateFooter.tsx +97 -0
- package/src/components/CartTable/generateRow.tsx +196 -0
- package/src/components/CartTable/generateTotal.ts +157 -0
- package/src/components/CartTable/index.ts +3 -0
- package/src/components/CartTable/styles/config.scss +19 -0
- package/src/components/CartTable/styles/mixins.scss +141 -0
- package/src/components/CartTable/styles/style.scss +37 -0
- package/src/components/CartTable/tests/CartTable.conformance.test.js +16 -0
- package/src/components/Code/Code.tsx +85 -0
- package/src/components/Code/index.tsx +16 -0
- package/src/components/Code/oneDarkProTheme.ts +70 -0
- package/src/components/Code/styles/style.scss +58 -0
- package/src/components/Container/Container.tsx +11 -9
- package/src/components/Container/index.ts +2 -4
- package/src/components/Container/styles/style.scss +5 -3
- package/src/components/Container/tests/Container.conformance.test.js +58 -53
- package/src/components/Container/tests/Container.unit.test.js +125 -134
- package/src/components/Controls/Controls.mdx +469 -0
- package/src/components/Controls/Controls.tsx +50 -0
- package/src/components/Controls/index.ts +3 -0
- package/src/components/Controls/styles/config.scss +52 -0
- package/src/components/Controls/styles/mixins.scss +70 -0
- package/src/components/Controls/styles/style.scss +16 -0
- package/src/components/Controls/tests/Controls.test.js +479 -0
- package/src/components/Cover/Cover.mdx +87 -0
- package/src/components/Cover/Cover.tsx +81 -0
- package/src/components/Cover/index.ts +5 -0
- package/src/components/Cover/styles/config.scss +55 -0
- package/src/components/Cover/styles/mixins.scss +43 -0
- package/src/components/Cover/styles/style.scss +32 -0
- package/src/components/Cover/tests/Cover.conformance.test.js +28 -0
- package/src/components/Cover/tests/Cover.unit.test.js +116 -0
- package/src/components/Divider/Divider.mdx +65 -0
- package/src/components/Divider/Divider.tsx +57 -0
- package/src/components/Divider/index.ts +3 -0
- package/src/components/Divider/styles/config.scss +27 -0
- package/src/components/Divider/styles/mixins.scss +45 -0
- package/src/components/Divider/styles/style.scss +33 -0
- package/src/components/{Badge/tests/Badge.conformance.test.js → Divider/tests/Divider.conformance.test.js} +5 -8
- package/src/components/Divider/tests/Divider.unit.test.js +80 -0
- package/src/components/DocumentationSidebar/DocumentationSidebar.tsx +171 -0
- package/src/components/DocumentationSidebar/index.ts +4 -0
- package/src/components/DocumentationSidebar/styles/style.scss +230 -0
- package/src/components/Dropdown/Dropdown.mdx +260 -0
- package/src/components/Dropdown/Dropdown.static.ts +198 -0
- package/src/components/Dropdown/Dropdown.tsx +107 -0
- package/src/components/Dropdown/DropdownDivider.tsx +17 -0
- package/src/components/Dropdown/DropdownItem.tsx +43 -0
- package/src/components/Dropdown/DropdownToggleButton.tsx +37 -0
- package/src/components/Dropdown/index.ts +6 -0
- package/src/components/Dropdown/styles/config.scss +41 -0
- package/src/components/Dropdown/styles/mixins.scss +79 -0
- package/src/components/Dropdown/styles/style.scss +33 -0
- package/src/components/Dropdown/tests/Dropdown.conformance.test.js +48 -0
- package/src/components/Dropdown/tests/Dropdown.unit.test.js +69 -0
- package/src/components/Expander/Expander.mdx +153 -0
- package/src/components/Expander/Expander.static.ts +59 -0
- package/src/components/Expander/Expander.tsx +99 -0
- package/src/components/Expander/index.ts +3 -0
- package/src/components/Expander/styles/style.scss +63 -0
- package/src/components/Expander/tests/Expander.conformance.test.js +59 -0
- package/src/components/Expander/tests/Expander.unit.test.js +124 -0
- package/src/components/FeatureAccordion/FeatureAccordion.mdx +33 -0
- package/src/components/FeatureAccordion/FeatureAccordion.static.ts +121 -0
- package/src/components/FeatureAccordion/FeatureAccordion.tsx +116 -0
- package/src/components/FeatureAccordion/FeatureAccordionItem.tsx +31 -0
- package/src/components/FeatureAccordion/index.ts +2 -0
- package/src/components/FeatureAccordion/styles/mixins.scss +74 -0
- package/src/components/FeatureAccordion/styles/style.scss +21 -0
- package/src/components/FeatureAccordion/tests/FeatureAccordion.conformance.test.js +92 -0
- package/src/components/FeatureAccordion/tests/FeatureAccordion.unit.test.js +80 -0
- package/src/components/Footer/Footer.tsx +93 -0
- package/src/components/Footer/data.ts +71 -0
- package/src/components/Footer/index.ts +1 -0
- package/src/components/Footer/tests/Footer.conformance.test.js +13 -0
- package/src/components/Footer/tests/Footer.unit.test.js +66 -0
- package/src/components/Forms/Autocomplete/Autocomplete.mdx +198 -0
- package/src/components/Forms/Autocomplete/Autocomplete.static.ts +90 -0
- package/src/components/Forms/Autocomplete/Autocomplete.tsx +66 -0
- package/src/components/Forms/Autocomplete/index.ts +3 -0
- package/src/components/Forms/Autocomplete/styles/config.scss +7 -0
- package/src/components/Forms/Autocomplete/styles/mixins.scss +78 -0
- package/src/components/Forms/Autocomplete/styles/style.scss +66 -0
- package/src/components/Forms/Checkbox/Checkbox.mdx +139 -0
- package/src/components/Forms/Checkbox/Checkbox.tsx +75 -0
- package/src/components/Forms/Checkbox/index.ts +3 -0
- package/src/components/Forms/Checkbox/styles/config.scss +25 -0
- package/src/components/Forms/Checkbox/styles/mixins.scss +2 -0
- package/src/components/Forms/Checkbox/styles/style.scss +89 -0
- package/src/components/Forms/Checkbox/tests/Checkbox.unit.test.js +95 -0
- package/src/components/Forms/DatePicker/DatePicker.mdx +149 -0
- package/src/components/Forms/DatePicker/DatePicker.static.ts +211 -0
- package/src/components/Forms/DatePicker/DatePicker.tsx +129 -0
- package/src/components/Forms/DatePicker/index.ts +3 -0
- package/src/components/Forms/DatePicker/styles/style.scss +183 -0
- package/src/components/Forms/DatePicker/tests/DatePicker.unit.test.js +262 -0
- package/src/components/Forms/Field/Control.tsx +129 -0
- package/src/components/Forms/Field/Description.tsx +40 -0
- package/src/components/Forms/Field/Field.mdx +383 -0
- package/src/components/Forms/Field/Field.tsx +104 -0
- package/src/components/Forms/Field/FieldContext.tsx +24 -0
- package/src/components/Forms/Field/Label.tsx +71 -0
- package/src/components/Forms/Field/Messages.tsx +36 -0
- package/src/components/Forms/Field/Tooltip.tsx +37 -0
- package/src/components/Forms/Field/index.ts +3 -0
- package/src/components/Forms/Field/styles/config.scss +25 -0
- package/src/components/Forms/Field/styles/mixins.scss +43 -0
- package/src/components/Forms/Field/styles/style.scss +37 -0
- package/src/components/Forms/Field/tests/Autocomplete.Field.conformance.test.js +52 -0
- package/src/components/Forms/Field/tests/Checkbox.Field.conformance.test.js +43 -0
- package/src/components/Forms/Field/tests/Field.unit.test.js +11 -0
- package/src/components/Forms/Field/tests/File.Field.conformance.test.js +47 -0
- package/src/components/Forms/Field/tests/Group.Field.conformance.test.js +47 -0
- package/src/components/Forms/Field/tests/Label.unit.test.js +163 -0
- package/src/components/Forms/Field/tests/Messages.unit.test.js +102 -0
- package/src/components/Forms/Field/tests/Radio.Field.conformance.test.js +43 -0
- package/src/components/Forms/Field/tests/Rangeslider.Field.test.js +60 -0
- package/src/components/Forms/Field/tests/Select.Field.conformance.test.js +45 -0
- package/src/components/Forms/Field/tests/Text.Field.conformance.test.js +43 -0
- package/src/components/Forms/Field/tests/Textarea.Field.conformance.test.js +43 -0
- package/src/components/Forms/Field/tests/Tooltip.unit.test.js +38 -0
- package/src/components/Forms/Field/utils.ts +36 -0
- package/src/components/Forms/Fieldset/Fieldset.mdx +178 -0
- package/src/components/Forms/Fieldset/Fieldset.tsx +62 -0
- package/src/components/Forms/Fieldset/FieldsetContext.ts +13 -0
- package/src/components/Forms/Fieldset/docsData.ts +75 -0
- package/src/components/Forms/Fieldset/index.ts +3 -0
- package/src/components/Forms/Fieldset/styles/mixins.scss +6 -0
- package/src/components/Forms/Fieldset/styles/style.scss +10 -0
- package/src/components/Forms/Fieldset/tests/Fieldset.unit.test.js +63 -0
- package/src/components/Forms/File/File.mdx +88 -0
- package/src/components/Forms/File/File.static.ts +164 -0
- package/src/components/Forms/File/File.tsx +77 -0
- package/src/components/Forms/File/index.ts +3 -0
- package/src/components/Forms/File/styles/config.scss +12 -0
- package/src/components/Forms/File/styles/mixins.scss +87 -0
- package/src/components/Forms/File/styles/style.scss +51 -0
- package/src/components/Forms/FormTooltip.mdx +51 -0
- package/src/components/Forms/Forms.mdx +48 -0
- package/src/components/Forms/Group/CHANGELOG.md +5 -0
- package/src/components/Forms/Group/Group.mdx +146 -0
- package/src/components/Forms/Group/Group.tsx +74 -0
- package/src/components/Forms/Group/Item.tsx +35 -0
- package/src/components/Forms/Group/index.ts +3 -0
- package/src/components/Forms/Group/styles/config.scss +9 -0
- package/src/components/Forms/Group/styles/mixins.scss +50 -0
- package/src/components/Forms/Group/styles/style.scss +19 -0
- package/src/components/Forms/Group/tests/Group.unit.test.js +171 -0
- package/src/components/Forms/Group/tests/Item.unit.test.js +31 -0
- package/src/components/Forms/Hint/Hint.mdx +40 -0
- package/src/components/Forms/Hint/Hint.tsx +21 -0
- package/src/components/Forms/Hint/index.ts +3 -0
- package/src/components/Forms/Hint/styles/config.scss +5 -0
- package/src/components/Forms/Hint/styles/mixins.scss +6 -0
- package/src/components/Forms/Hint/styles/style.scss +7 -0
- package/src/components/Forms/Hint/tests/Hint.unit.test.js +35 -0
- package/src/components/Forms/InputStepper/InputStepper.mdx +147 -0
- package/src/components/Forms/InputStepper/InputStepper.static.ts +187 -0
- package/src/components/Forms/InputStepper/InputStepper.tsx +86 -0
- package/src/components/Forms/InputStepper/index.ts +3 -0
- package/src/components/Forms/InputStepper/styles/style.scss +210 -0
- package/src/components/Forms/InputStepper/tests/InputStepper.unit.test.js +54 -0
- package/src/components/Forms/Label/Label.mdx +95 -0
- package/src/components/Forms/Label/Label.tsx +26 -0
- package/src/components/Forms/Label/index.ts +3 -0
- package/src/components/Forms/Label/styles/config.scss +4 -0
- package/src/components/Forms/Label/styles/mixins.scss +6 -0
- package/src/components/Forms/Label/styles/style.scss +11 -0
- package/src/components/Forms/Label/tests/Label.unit.test.js +42 -0
- package/src/components/Forms/Message/Message.mdx +40 -0
- package/src/components/Forms/Message/Message.tsx +58 -0
- package/src/components/Forms/Message/index.ts +3 -0
- package/src/components/Forms/Message/styles/config.scss +15 -0
- package/src/components/Forms/Message/styles/mixins.scss +12 -0
- package/src/components/Forms/Message/styles/style.scss +11 -0
- package/src/components/Forms/Message/tests/Message.unit.test.js +71 -0
- package/src/components/Forms/Radio/Radio.mdx +98 -0
- package/src/components/Forms/Radio/Radio.tsx +70 -0
- package/src/components/Forms/Radio/index.ts +3 -0
- package/src/components/Forms/Radio/styles/config.scss +25 -0
- package/src/components/Forms/Radio/styles/mixins.scss +6 -0
- package/src/components/Forms/Radio/styles/style.scss +25 -0
- package/src/components/Forms/Radio/tests/Radio.unit.test.js +105 -0
- package/src/components/Forms/RangeSlider/RangeSlider.mdx +304 -0
- package/src/components/Forms/RangeSlider/RangeSlider.static.ts +121 -0
- package/src/components/Forms/RangeSlider/RangeSlider.tsx +98 -0
- package/src/components/Forms/RangeSlider/data.ts +50 -0
- package/src/components/Forms/RangeSlider/index.ts +3 -0
- package/src/components/Forms/RangeSlider/styles/config.scss +32 -0
- package/src/components/Forms/RangeSlider/styles/mixins.scss +139 -0
- package/src/components/Forms/RangeSlider/styles/style.scss +97 -0
- package/src/components/Forms/Select/Select.mdx +106 -0
- package/src/components/Forms/Select/Select.tsx +97 -0
- package/src/components/Forms/Select/index.tsx +9 -0
- package/src/components/Forms/Select/styles/config.scss +53 -0
- package/src/components/Forms/Select/styles/mixins.scss +34 -0
- package/src/components/Forms/Select/styles/style.scss +22 -0
- package/src/components/Forms/Select/tests/Select.unit.test.js +98 -0
- package/src/components/Forms/TextArea/TextArea.mdx +109 -0
- package/src/components/Forms/TextArea/TextArea.tsx +84 -0
- package/src/components/Forms/TextArea/index.ts +3 -0
- package/src/components/Forms/TextArea/styles/config.scss +35 -0
- package/src/components/Forms/TextArea/styles/mixins.scss +48 -0
- package/src/components/Forms/TextArea/styles/style.scss +22 -0
- package/src/components/Forms/TextArea/tests/TextArea.unit.test.js +127 -0
- package/src/components/Forms/TextInput/TextInput.mdx +153 -0
- package/src/components/Forms/TextInput/TextInput.tsx +101 -0
- package/src/components/Forms/TextInput/index.ts +3 -0
- package/src/components/Forms/TextInput/styles/config.scss +60 -0
- package/src/components/Forms/TextInput/styles/mixins.scss +80 -0
- package/src/components/Forms/TextInput/styles/style.scss +30 -0
- package/src/components/Forms/TextInput/tests/TextInput.unit.test.js +108 -0
- package/src/components/Forms/index.ts +16 -0
- package/src/components/Forms/styles/config.scss +41 -0
- package/src/components/Forms/styles/mixins.scss +44 -0
- package/src/components/Gauge/Gauge.mdx +35 -0
- package/src/components/Gauge/Gauge.tsx +72 -0
- package/src/components/Gauge/GaugeMaker.tsx +90 -0
- package/src/components/Gauge/index.ts +3 -0
- package/src/components/Gauge/styles/style.scss +34 -0
- package/src/components/Gauge/tests/Gauge.conformance.test.js +25 -0
- package/src/components/Gauge/tests/Gauge.unit.test.js +35 -0
- package/src/components/Grid/Grid.mdx +20 -19
- package/src/components/Grid/Grid.tsx +27 -22
- package/src/components/Grid/index.ts +3 -5
- package/src/components/Grid/styles/style.scss +29 -27
- package/src/components/Grid/tests/Grid.unit.test.js +572 -0
- package/src/components/Grid/tests/GridCol.unit.test.js +223 -0
- package/src/components/Hero/Hero.mdx +168 -0
- package/src/components/Hero/Hero.tsx +182 -0
- package/src/components/Hero/HeroPlayground.tsx +369 -0
- package/src/components/Hero/index.ts +3 -0
- package/src/components/Hero/styles/config.scss +23 -0
- package/src/components/Hero/styles/mixins.scss +173 -0
- package/src/components/Hero/styles/style.scss +59 -0
- package/src/components/Hero/tests/Hero.conformance.test.js +29 -0
- package/src/components/Hero/tests/Hero.unit.test.js +272 -0
- package/src/components/Hero/tests/data.js +40 -0
- package/src/components/Icon/Icon.tsx +2 -2
- package/src/components/Icon/IconSearch.jsx +2 -0
- package/src/components/Icon/styles/config.scss +5 -5
- package/src/components/Icon/styles/style.scss +12 -10
- package/src/components/IconList/IconList.mdx +53 -0
- package/src/components/IconList/IconList.tsx +30 -0
- package/src/components/IconList/Item.tsx +39 -0
- package/src/components/IconList/index.ts +4 -0
- package/src/components/IconList/styles/config.scss +3 -0
- package/src/components/IconList/styles/mixins.scss +33 -0
- package/src/components/IconList/styles/style.scss +21 -0
- package/src/components/IconList/tests/IconList.conformance.test.js +55 -0
- package/src/components/IconList/tests/IconList.unit.test.js +79 -0
- package/src/components/IconList/tests/Item.unit.test.js +143 -0
- package/src/components/Image/Image.mdx +29 -20
- package/src/components/Image/Image.tsx +12 -13
- package/src/components/Image/index.ts +2 -6
- package/src/components/Image/styles/style.scss +9 -6
- package/src/components/Image/tests/Image.conformance.test.js +1 -1
- package/src/components/Image/tests/Image.unit.test.js +166 -188
- package/src/components/Link/CHANGELOG.md +25 -0
- package/src/components/Link/Link.tsx +14 -9
- package/src/components/Link/styles/mixins.scss +8 -17
- package/src/components/Link/styles/style.scss +37 -54
- package/src/components/Link/tests/Link.conformance.test.js +7 -25
- package/src/components/Link/tests/Link.unit.test.js +20 -33
- package/src/components/List/ClickableControl.tsx +33 -0
- package/src/components/List/List.mdx +216 -0
- package/src/components/List/List.tsx +40 -0
- package/src/components/List/ListItem.tsx +44 -0
- package/src/components/List/index.ts +5 -0
- package/src/components/List/styles/config.scss +38 -0
- package/src/components/List/styles/mixins.scss +99 -0
- package/src/components/List/styles/style.scss +48 -0
- package/src/components/List/tests/ClickableControl.unit.test.js +100 -0
- package/src/components/List/tests/List.conformance.test.js +69 -0
- package/src/components/List/tests/List.unit.test.js +47 -0
- package/src/components/List/tests/ListItem.unit.test.js +104 -0
- package/src/components/Loader/Loader.mdx +148 -0
- package/src/components/Loader/Loader.static.ts +85 -0
- package/src/components/Loader/Loader.tsx +75 -0
- package/src/components/Loader/index.ts +3 -0
- package/src/components/Loader/styles/config.scss +16 -0
- package/src/components/Loader/styles/mixins.scss +66 -0
- package/src/components/Loader/styles/style.scss +38 -0
- package/src/components/Loader/tests/Loader.conformance.test.js +22 -0
- package/src/components/Loader/tests/Loader.unit.test.js +59 -0
- package/src/components/Loader/tests/test.scss +5 -0
- package/src/components/Modal/Modal.mdx +86 -86
- package/src/components/Modal/Modal.tsx +5 -0
- package/src/components/Modal/styles/config.scss +7 -8
- package/src/components/Modal/styles/mixins.scss +2 -2
- package/src/components/Modal/styles/style.scss +65 -63
- package/src/components/Modal/tests/Modal.unit.test.js +22 -0
- package/src/components/Pagination/Pagination.mdx +45 -0
- package/src/components/Pagination/Pagination.tsx +86 -0
- package/src/components/Pagination/PaginationItem.tsx +61 -0
- package/src/components/Pagination/Separator.tsx +19 -0
- package/src/components/Pagination/helpers.ts +71 -0
- package/src/components/Pagination/index.ts +5 -0
- package/src/components/Pagination/styles/mixins.scss +43 -0
- package/src/components/Pagination/styles/style.scss +28 -0
- package/src/components/Pagination/tests/Item.unit.test.js +96 -0
- package/src/components/Pagination/tests/Pagination.conformance.test.js +41 -0
- package/src/components/Pagination/tests/Pagination.unit.test.js +108 -0
- package/src/components/Pagination/tests/Separator.unit.test.js +25 -0
- package/src/components/Pagination/tests/utils.js +12 -0
- package/src/components/Preview/CodeExample.tsx +238 -0
- package/src/components/Preview/Interact/ButtonShowPropsGroup.tsx +38 -0
- package/src/components/Preview/Interact/Interact.tsx +263 -0
- package/src/components/Preview/Interact/PropCheckbox.tsx +50 -0
- package/src/components/Preview/Interact/PropFormField.tsx +76 -0
- package/src/components/Preview/Interact/PropInput.tsx +72 -0
- package/src/components/Preview/Interact/PropLabelWithTooltip.tsx +77 -0
- package/src/components/Preview/Interact/PropSelect.tsx +60 -0
- package/src/components/Preview/Interact/PropsGroup.tsx +49 -0
- package/src/components/Preview/Interact/Tooltip.tsx +17 -0
- package/src/components/Preview/Interact/helpers.ts +60 -0
- package/src/components/Preview/Interact/state.ts +18 -0
- package/src/components/Preview/Preview.docs.mdx +153 -0
- package/src/components/Preview/Preview.test.js +66 -0
- package/src/components/Preview/Preview.tsx +273 -0
- package/src/components/Preview/PreviewTitleBar.tsx +32 -0
- package/src/components/Preview/index.tsx +16 -0
- package/src/components/Preview/styles/style.scss +340 -0
- package/src/components/Progress/Progress.mdx +119 -0
- package/src/components/Progress/Progress.tsx +60 -0
- package/src/components/Progress/index.ts +3 -0
- package/src/components/Progress/styles/config.scss +19 -0
- package/src/components/Progress/styles/mixins.scss +40 -0
- package/src/components/Progress/styles/style.scss +31 -0
- package/src/components/Progress/tests/Progress.conformance.test.js +27 -0
- package/src/components/Progress/tests/Progress.unit.test.js +108 -0
- package/src/components/PromoBanner/PromoBanner.tsx +65 -0
- package/src/components/PromoBanner/index.ts +2 -0
- package/src/components/PromoBanner/styles/mixins.scss +37 -0
- package/src/components/PromoBanner/styles/style.scss +23 -0
- package/src/components/PromotionCard/PromotionCard.mdx +191 -0
- package/src/components/PromotionCard/PromotionCard.tsx +31 -0
- package/src/components/PromotionCard/PromotionCardContent.tsx +25 -0
- package/src/components/PromotionCard/PromotionCardImageWrapper.tsx +25 -0
- package/src/components/PromotionCard/PromotionCardSection.tsx +29 -0
- package/src/components/PromotionCard/PromotionCardTitle.tsx +24 -0
- package/src/components/PromotionCard/constants.ts +5 -0
- package/src/components/PromotionCard/index.ts +7 -0
- package/src/components/PromotionCard/styles/config.scss +4 -0
- package/src/components/PromotionCard/styles/mixins.scss +89 -0
- package/src/components/PromotionCard/styles/style.scss +25 -0
- package/src/components/Section/Section.tsx +1 -1
- package/src/components/Section/styles/style.scss +28 -26
- package/src/components/Skeleton/Skeleton.mdx +90 -0
- package/src/components/Skeleton/Skeleton.tsx +21 -0
- package/src/components/Skeleton/index.ts +3 -0
- package/src/components/Skeleton/styles/config.scss +31 -0
- package/src/components/Skeleton/styles/mixins.scss +22 -0
- package/src/components/Skeleton/styles/style.scss +7 -0
- package/src/components/Skeleton/tests/Skeleton.conformance.test.js +16 -0
- package/src/components/Skeleton/tests/Skeleton.unit.test.js +22 -0
- package/src/components/SkipLink/SkipLink.mdx +23 -0
- package/src/components/SkipLink/SkipLink.tsx +25 -0
- package/src/components/SkipLink/index.ts +3 -0
- package/src/components/SkipLink/styles/style.scss +20 -0
- package/src/components/SkipLink/tests/SkipLink.unit.test.js +88 -0
- package/src/components/Stepbar/Stepbar.mdx +137 -0
- package/src/components/Stepbar/Stepbar.tsx +100 -0
- package/src/components/Stepbar/index.ts +3 -0
- package/src/components/Stepbar/styles/config.scss +91 -0
- package/src/components/Stepbar/styles/mixins.scss +132 -0
- package/src/components/Stepbar/styles/style.scss +77 -0
- package/src/components/Stepbar/tests/Stepbar.conformance.test.js +34 -0
- package/src/components/Stepbar/tests/Stepbar.unit.test.js +92 -0
- package/src/components/Sticker/Sticker.mdx +50 -0
- package/src/components/Sticker/Sticker.tsx +31 -0
- package/src/components/Sticker/index.ts +4 -0
- package/src/components/Sticker/styles/config.scss +31 -0
- package/src/components/Sticker/styles/mixins.scss +25 -0
- package/src/components/Sticker/styles/style.scss +22 -0
- package/src/components/Sticker/tests/Sticker.conformance.test.js +17 -0
- package/src/components/Sticker/tests/Sticker.unit.test.js +42 -0
- package/src/components/Table/Cell.tsx +22 -0
- package/src/components/Table/Footer.tsx +25 -0
- package/src/components/Table/Header.tsx +73 -0
- package/src/components/Table/Row.tsx +70 -0
- package/src/components/Table/Rows.tsx +36 -0
- package/src/components/Table/Table.mdx +199 -0
- package/src/components/Table/Table.static.ts +146 -0
- package/src/components/Table/Table.tsx +130 -0
- package/src/components/Table/TableContext.ts +9 -0
- package/src/components/Table/docsData.ts +210 -0
- package/src/components/Table/index.ts +4 -0
- package/src/components/Table/styles/config.scss +4 -0
- package/src/components/Table/styles/mixins.scss +115 -0
- package/src/components/Table/styles/style.scss +103 -0
- package/src/components/Table/tests/Cell.unit.test.js +59 -0
- package/src/components/Table/tests/Footer.unit.test.js +70 -0
- package/src/components/Table/tests/Header.unit.test.js +120 -0
- package/src/components/Table/tests/Row.unit.test.js +206 -0
- package/src/components/Table/tests/Rows.unit.test.js +92 -0
- package/src/components/Table/tests/Table.conformance.test.js +74 -0
- package/src/components/Table/tests/Table.unit.test.js +296 -0
- package/src/components/Table/types.ts +40 -0
- package/src/components/Tabs/Tabs.tsx +4 -5
- package/src/components/Tabs/styles/config.scss +29 -48
- package/src/components/Tabs/styles/mixins.scss +20 -29
- package/src/components/Tabs/styles/style.scss +34 -42
- package/src/components/Tabs/tests/Tabs.unit.test.js +8 -0
- package/src/components/Tag/CHANGELOG.md +93 -0
- package/src/components/Tag/Tag.mdx +52 -0
- package/src/components/Tag/Tag.tsx +118 -0
- package/src/components/Tag/TagButton.tsx +67 -0
- package/src/components/Tag/index.ts +5 -0
- package/src/components/Tag/styles/config.scss +132 -0
- package/src/components/Tag/styles/mixins.scss +54 -0
- package/src/components/Tag/styles/style.scss +69 -0
- package/src/components/Tag/tests/Tag.conformance.test.js +44 -0
- package/src/components/Tag/tests/Tag.unit.test.js +93 -0
- package/src/components/Tag/tests/TagButton.conformance.test.js +24 -0
- package/src/components/Tag/tests/TagButton.unit.test.js +96 -0
- package/src/components/Testimonial/Testimonial.mdx +41 -0
- package/src/components/Testimonial/Testimonial.tsx +38 -0
- package/src/components/Testimonial/index.ts +3 -0
- package/src/components/Testimonial/styles/config.scss +39 -0
- package/src/components/Testimonial/styles/mixins.scss +40 -0
- package/src/components/Testimonial/styles/style.scss +16 -0
- package/src/components/Testimonial/tests/Testimonial.conformance.test.js +17 -0
- package/src/components/Testimonial/tests/Testimonial.unit.test.js +44 -0
- package/src/components/Tile/CHANGELOG.md +14 -0
- package/src/components/Tile/Tile.mdx +163 -0
- package/src/components/Tile/Tile.tsx +86 -0
- package/src/components/Tile/index.ts +3 -0
- package/src/components/Tile/styles/config.scss +17 -0
- package/src/components/Tile/styles/mixins.scss +78 -0
- package/src/components/Tile/styles/style.scss +55 -0
- package/src/components/Tile/tests/Tile.conformance.test.js +16 -0
- package/src/components/Tile/tests/Tile.unit.test.js +126 -0
- package/src/components/Tooltip/InfoTooltip.tsx +40 -0
- package/src/components/Tooltip/TODO.md +1 -0
- package/src/components/Tooltip/Tooltip.mdx +227 -0
- package/src/components/Tooltip/Tooltip.static.ts +213 -0
- package/src/components/Tooltip/Tooltip.tsx +107 -0
- package/src/components/Tooltip/index.ts +4 -0
- package/src/components/Tooltip/styles/config.scss +59 -0
- package/src/components/Tooltip/styles/mixins.scss +94 -0
- package/src/components/Tooltip/styles/style.scss +30 -0
- package/src/components/Tooltip/tests/BaseWrapper.tsx +10 -0
- package/src/components/Tooltip/tests/InfoTooltip.unit.test.js +98 -0
- package/src/components/Tooltip/tests/Tooltip.conformance.test.js +44 -0
- package/src/components/Tooltip/tests/Tooltip.unit.test.js +326 -0
- package/src/components/index.ts +147 -3
- package/src/components/static.ts +1 -1
- package/src/styles/base/globals-forms.scss +15 -13
- package/src/styles/base/globals.scss +132 -103
- package/src/styles/before-components.scss +18 -4
- package/src/styles/export/base.scss +1 -1
- package/src/styles/export/color.scss +22 -22
- package/src/styles/shame.scss +10 -8
- package/src/styles/tokens/base.scss +4 -4
- package/src/styles/tokens/color.scss +11 -11
- package/src/styles/typography/mixins.scss +1 -1
- package/src/styles/typography/style.scss +43 -41
- package/src/styles/utilities/border.scss +16 -15
- package/src/styles/utilities/color.scss +115 -95
- package/src/styles/utilities/horizontal-scroll.scss +40 -36
- package/src/styles/utilities/layout.scss +159 -157
- package/src/styles/utilities/text.scss +98 -84
- package/src/styles/utilities/visibility.scss +66 -62
- package/build/404.html +0 -1
- package/build/_next/static/CRhIjUFtohDOfdDfzvfXM/_buildManifest.js +0 -1
- package/build/_next/static/CRhIjUFtohDOfdDfzvfXM/_ssgManifest.js +0 -1
- package/build/_next/static/chunks/4bd1b696-40a218329c8ae32b.js +0 -1
- package/build/_next/static/chunks/684-c72f8f73e7f2d568.js +0 -1
- package/build/_next/static/chunks/925.75d0c8afa7ab7cfa.js +0 -1
- package/build/_next/static/chunks/998-a45c3cf6f575e126.js +0 -1
- package/build/_next/static/chunks/app/_not-found/page-c799b4c91b89a5c2.js +0 -1
- package/build/_next/static/chunks/app/components/alert/page-d591b03a7394f81e.js +0 -1
- package/build/_next/static/chunks/app/components/badge/page-bbcffd5558aeab06.js +0 -1
- package/build/_next/static/chunks/app/components/button/page-b922a8f5114b0a69.js +0 -1
- package/build/_next/static/chunks/app/components/buttons/page-0a5bf7e5ac7991fb.js +0 -1
- package/build/_next/static/chunks/app/components/icon/page-dac6ba29b85d924d.js +0 -1
- package/build/_next/static/chunks/app/components/modal/page-4a249b6d271eea91.js +0 -1
- package/build/_next/static/chunks/app/components/tabs/page-7d82e8eafd25b86e.js +0 -1
- package/build/_next/static/chunks/app/layout-f74d44a2772d8d63.js +0 -1
- package/build/_next/static/chunks/app/page-9efa16a51ef59461.js +0 -1
- package/build/_next/static/chunks/framework-f593a28cde54158e.js +0 -1
- package/build/_next/static/chunks/main-43608b6b4bb05f8f.js +0 -1
- package/build/_next/static/chunks/main-app-ce2a2222e012907f.js +0 -1
- package/build/_next/static/chunks/pages/_app-da15c11dea942c36.js +0 -1
- package/build/_next/static/chunks/pages/_error-cc3f077a18ea1793.js +0 -1
- package/build/_next/static/chunks/polyfills-42372ed130431b0a.js +0 -1
- package/build/_next/static/chunks/webpack-623f6e616651e1c0.js +0 -1
- package/build/_next/static/css/14f3a3e0186fb7a8.css +0 -3
- package/build/_next/static/css/168dd2b7e791cf72.css +0 -1
- package/build/_next/static/css/28a41a1d7dcdbfd9.css +0 -1
- package/build/_next/static/css/291602d64f1f3570.css +0 -1
- package/build/_next/static/css/4c4366b3963177f0.css +0 -1
- package/build/_next/static/css/5481aeac9adca710.css +0 -1
- package/build/_next/static/css/73b136688c14b891.css +0 -1
- package/build/_next/static/css/91c8cf755bf9ff19.css +0 -1
- package/build/_next/static/css/c1b0424033f305ff.css +0 -1
- package/build/_next/static/css/eea9fd9ccdd56c76.css +0 -1
- package/build/_next/static/media/671791babd225be4-s.p.woff2 +0 -0
- package/build/_next/static/media/c62d990acddde5f0-s.p.woff2 +0 -0
- package/build/_next/static/media/dfdbb1c4973e0bd7-s.p.woff2 +0 -0
- package/build/components/Badge/index.js +0 -619
- package/build/components/Badge/index.js.map +0 -1
- package/build/components/Badge/style.css +0 -2
- package/build/components/Badge/style.css.map +0 -1
- package/build/components/alert.html +0 -2
- package/build/components/alert.txt +0 -30
- package/build/components/badge.html +0 -4
- package/build/components/badge.txt +0 -24
- package/build/components/button.html +0 -2
- package/build/components/button.txt +0 -27
- package/build/components/buttons.html +0 -1
- package/build/components/buttons.txt +0 -27
- package/build/components/icon.html +0 -1
- package/build/components/icon.txt +0 -23
- package/build/components/modal.html +0 -1
- package/build/components/modal.txt +0 -29
- package/build/components/tabs.html +0 -1
- package/build/components/tabs.txt +0 -27
- package/build/components/types/components/Badge/Badge.d.ts +0 -12
- package/build/components/types/components/Badge/index.d.ts +0 -2
- package/build/components/types/components/Container/Container.d.ts +0 -6
- package/build/components/types/components/Container/index.d.ts +0 -3
- package/build/components/types/components/index.d.ts +0 -11
- package/build/components/types/utils/ConditionalWrapper.d.ts +0 -13
- package/build/index.html +0 -11
- package/build/index.txt +0 -23
- package/src/components/Badge/Badge.mdx +0 -52
- package/src/components/Badge/Badge.tsx +0 -47
- package/src/components/Badge/index.ts +0 -3
- package/src/components/Badge/styles/config.scss +0 -88
- package/src/components/Badge/styles/mixins.scss +0 -26
- package/src/components/Badge/styles/style.scss +0 -21
- package/src/components/Badge/tests/Badge.unit.test.js +0 -50
- package/src/components/Grid/tests/Grid.unit.test.tsx +0 -533
- package/src/components/Grid/tests/GridCol.unit.test.tsx +0 -199
- package/src/components/Link/styles/config.scss +0 -85
- package/src/components/Link/tests/Link.integration.test.js +0 -393
- /package/build/components/types/{components → src/components}/Alert/data.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Alert/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Button/IconButton.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Button/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Buttons/Buttons.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Buttons/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Icon/SpritePathContext.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Icon/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Modal/Modal.static.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Modal/ModalBody.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Modal/ModalCloseButton.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Modal/ModalTitle.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Modal/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Section/Section.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Section/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Tabs/Tab.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Tabs/TabPanel.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Tabs/Tabs.static.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Tabs/index.d.ts +0 -0
- /package/build/components/types/{utils → src/utils}/constants.d.ts +0 -0
- /package/build/components/types/{utils → src/utils}/generateId.d.ts +0 -0
- /package/build/components/types/{utils → src/utils}/keyboard.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../node_modules/tslib/tslib.es6.js","../../../node_modules/classnames/index.js","../../../src/utils/hooks.ts","../../../node_modules/react-is/cjs/react-is.production.min.js","../../../node_modules/react-is/cjs/react-is.development.js","../../../node_modules/react-is/index.js","../../../node_modules/object-assign/index.js","../../../node_modules/prop-types/lib/ReactPropTypesSecret.js","../../../node_modules/prop-types/lib/has.js","../../../node_modules/prop-types/checkPropTypes.js","../../../node_modules/prop-types/factoryWithTypeCheckers.js","../../../node_modules/prop-types/factoryWithThrowingShims.js","../../../node_modules/prop-types/index.js","../../../src/utils/ConditionalWrapper.js","../../../node_modules/react/cjs/react-jsx-runtime.production.js","../../../node_modules/react/cjs/react-jsx-runtime.development.js","../../../node_modules/react/jsx-runtime.js","../../../src/components/Button/Button.tsx","../../../src/components/Icon/SpritePathContext.tsx","../../../src/components/Icon/Icon.tsx","../../../src/components/Button/IconButton.tsx","../../../src/components/Buttons/Buttons.tsx","../../../node_modules/a11y-dialog/dist/a11y-dialog.esm.js","../../../node_modules/tabbable/dist/index.esm.js","../../../src/components/Modal/Modal.static.ts","../../../src/components/Modal/ModalCloseButton.tsx","../../../src/components/Modal/ModalTitle.tsx","../../../src/components/Modal/ModalBody.tsx","../../../src/components/Modal/Modal.tsx"],"sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.unshift(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.unshift(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n};\r\n\r\nexport function __runInitializers(thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n};\r\n\r\nexport function __propKey(x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n};\r\n\r\nexport function __setFunctionName(f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n};\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\r\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\r\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nvar ownKeys = function(o) {\r\n ownKeys = Object.getOwnPropertyNames || function (o) {\r\n var ar = [];\r\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\r\n return ar;\r\n };\r\n return ownKeys(o);\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n\r\nexport function __addDisposableResource(env, value, async) {\r\n if (value !== null && value !== void 0) {\r\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\r\n var dispose, inner;\r\n if (async) {\r\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\r\n dispose = value[Symbol.asyncDispose];\r\n }\r\n if (dispose === void 0) {\r\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\r\n dispose = value[Symbol.dispose];\r\n if (async) inner = dispose;\r\n }\r\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\r\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\r\n env.stack.push({ value: value, dispose: dispose, async: async });\r\n }\r\n else if (async) {\r\n env.stack.push({ async: true });\r\n }\r\n return value;\r\n\r\n}\r\n\r\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n};\r\n\r\nexport function __disposeResources(env) {\r\n function fail(e) {\r\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\r\n env.hasError = true;\r\n }\r\n var r, s = 0;\r\n function next() {\r\n while (r = env.stack.pop()) {\r\n try {\r\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\r\n if (r.dispose) {\r\n var result = r.dispose.call(r.value);\r\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\r\n }\r\n else s |= 1;\r\n }\r\n catch (e) {\r\n fail(e);\r\n }\r\n }\r\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\r\n if (env.hasError) throw env.error;\r\n }\r\n return next();\r\n}\r\n\r\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\r\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\r\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\r\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\r\n });\r\n }\r\n return path;\r\n}\r\n\r\nexport default {\r\n __extends: __extends,\r\n __assign: __assign,\r\n __rest: __rest,\r\n __decorate: __decorate,\r\n __param: __param,\r\n __esDecorate: __esDecorate,\r\n __runInitializers: __runInitializers,\r\n __propKey: __propKey,\r\n __setFunctionName: __setFunctionName,\r\n __metadata: __metadata,\r\n __awaiter: __awaiter,\r\n __generator: __generator,\r\n __createBinding: __createBinding,\r\n __exportStar: __exportStar,\r\n __values: __values,\r\n __read: __read,\r\n __spread: __spread,\r\n __spreadArrays: __spreadArrays,\r\n __spreadArray: __spreadArray,\r\n __await: __await,\r\n __asyncGenerator: __asyncGenerator,\r\n __asyncDelegator: __asyncDelegator,\r\n __asyncValues: __asyncValues,\r\n __makeTemplateObject: __makeTemplateObject,\r\n __importStar: __importStar,\r\n __importDefault: __importDefault,\r\n __classPrivateFieldGet: __classPrivateFieldGet,\r\n __classPrivateFieldSet: __classPrivateFieldSet,\r\n __classPrivateFieldIn: __classPrivateFieldIn,\r\n __addDisposableResource: __addDisposableResource,\r\n __disposeResources: __disposeResources,\r\n __rewriteRelativeImportExtension: __rewriteRelativeImportExtension,\r\n};\r\n","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","\"use client\";\n\nimport { useEffect, useCallback, useRef, useMemo, RefCallback, type RefObject } from \"react\";\n\nimport generateId from \"./generateId\";\n\n// Generic type for any class constructor\ntype StaticClassType<T = any> = new (element: HTMLElement, config?: any) => T;\n\n// Define a generic interface for static class instances\ninterface StaticInstance {\n update?: (config: any) => void;\n destroy?: () => void;\n}\n\n/**\n * A hook to create and manage an instance of a \"static\" class\n * @param StaticClass The class to instantiate\n * @param config Configuration options for the class\n * @returns [ref callback, instance reference]\n */\nconst useStatic = <T extends StaticInstance>(\n StaticClass: StaticClassType<T>,\n config: Record<string, any> = {}\n): [RefCallback<HTMLElement>, RefObject<T | null>] => {\n const instance = useRef<T | null>(null);\n const configRef = useRef(config);\n\n useEffect(() => {\n configRef.current = config ?? {};\n }, [config]);\n\n const ref = useCallback(\n (node: HTMLElement | null) => {\n // use latest config available\n const currentConfig = configRef.current;\n if (node) {\n if (instance.current === null) {\n instance.current = new StaticClass(node, currentConfig);\n } else {\n instance.current.update?.(currentConfig);\n }\n }\n },\n [StaticClass],\n );\n\n useEffect(\n () => () => {\n if (instance.current) {\n instance.current.destroy?.();\n instance.current = null;\n }\n },\n [],\n );\n\n return [ref, instance];\n};\n\n/**\n * A hook for creating React portals\n * From https://www.jayfreestone.com/writing/react-portals-with-hooks/\n * @param id The id of the target DOM element\n * @returns A DOM element that can be used as a portal container\n */\nfunction usePortal(id: string): HTMLDivElement {\n const rootElemRef = useRef<HTMLDivElement | null>(null);\n\n useEffect(\n function setupElement() {\n if (typeof document === 'undefined') return;\n \n // Create element if it doesn't exist\n if (!rootElemRef.current) {\n rootElemRef.current = document.createElement(\"div\");\n }\n \n // Look for existing target dom element to append to\n const parentElem = document.querySelector(`#${id}`);\n\n // Add the detached element to the parent\n if (parentElem && rootElemRef.current) {\n parentElem.appendChild(rootElemRef.current);\n }\n \n // This function is run on unmount\n return function removeElement() {\n rootElemRef.current?.remove();\n };\n },\n [id],\n );\n\n function getRootElem(): HTMLDivElement {\n if (typeof document === 'undefined') {\n throw new Error('usePortal must be used in a browser environment');\n }\n \n if (!rootElemRef.current) {\n rootElemRef.current = document.createElement(\"div\");\n }\n return rootElemRef.current;\n }\n\n return getRootElem();\n}\n\n/**\n * Returns unique string for the `id` attribute.\n *\n * @param id Provided id\n * @param name Optional prefix\n * @returns A unique ID string\n */\nconst useUniqueId = (id?: string, name?: string): string =>\n useMemo(() => id ?? generateId(name), [id, name]);\n\nexport { useStatic, usePortal, useUniqueId };\n","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","module.exports = Function.call.bind(Object.prototype.hasOwnProperty);\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n var loggedTypeFailures = {};\n var has = require('./lib/has');\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) { /**/ }\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +\n 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n );\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\n/**\n * Resets warning cache when testing.\n *\n * @private\n */\ncheckPropTypes.resetWarningCache = function() {\n if (process.env.NODE_ENV !== 'production') {\n loggedTypeFailures = {};\n }\n}\n\nmodule.exports = checkPropTypes;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactIs = require('react-is');\nvar assign = require('object-assign');\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\nvar has = require('./lib/has');\nvar checkPropTypes = require('./checkPropTypes');\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\nfunction emptyFunctionThatReturnsNull() {\n return null;\n}\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<<anonymous>>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bigint: createPrimitiveTypeChecker('bigint'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n elementType: createElementTypeTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker,\n exact: createStrictShapeTypeChecker,\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message, data) {\n this.message = message;\n this.data = data && typeof data === 'object' ? data: {};\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n printWarning(\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),\n {expectedType: expectedType}\n );\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunctionThatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!ReactIs.isValidElementType(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n if (process.env.NODE_ENV !== 'production') {\n if (arguments.length > 1) {\n printWarning(\n 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +\n 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'\n );\n } else {\n printWarning('Invalid argument supplied to oneOf, expected an array.');\n }\n }\n return emptyFunctionThatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {\n var type = getPreciseType(value);\n if (type === 'symbol') {\n return String(value);\n }\n return value;\n });\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (has(propValue, key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunctionThatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n printWarning(\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n );\n return emptyFunctionThatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var expectedTypes = [];\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);\n if (checkerResult == null) {\n return null;\n }\n if (checkerResult.data && has(checkerResult.data, 'expectedType')) {\n expectedTypes.push(checkerResult.data.expectedType);\n }\n }\n var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function invalidValidatorError(componentName, location, propFullName, key, type) {\n return new PropTypeError(\n (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'\n );\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (has(shapeTypes, key) && typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // falsy value can't be a Symbol\n if (!propValue) {\n return false;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","import { cloneElement } from \"react\";\nimport { bool, element } from \"prop-types\";\n\nconst propTypes = {\n /** When to wrap children */\n condition: bool,\n /** Wrapper element */\n wrapper: element,\n};\n\nconst ConditionalWrapper = ({ condition, wrapper, children }) =>\n condition ? cloneElement(wrapper, wrapper.props, children) : children;\n\nConditionalWrapper.propTypes = propTypes;\nexport default ConditionalWrapper;\n","/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return (type.displayName || \"Context\") + \".Provider\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%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://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(\n type,\n key,\n self,\n source,\n owner,\n props,\n debugStack,\n debugTask\n ) {\n self = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== self ? self : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n source,\n self,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n self,\n source,\n getOwner(),\n maybeKey,\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_ELEMENT_TYPE &&\n node._store &&\n (node._store.validated = 1);\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\");\n Symbol.for(\"react.provider\");\n var REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n \"react-stack-bottom-frame\": function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React[\"react-stack-bottom-frame\"].bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey, source, self) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n source,\n self,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey, source, self) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n source,\n self,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","import React from \"react\";\nimport cx from \"classnames\";\n\nexport type ButtonSize = \"small\" | \"large\";\nexport type ButtonType = \"primary\" | \"fill\" | \"ghost\";\n\ninterface CommonProps {\n elemRef?: React.Ref<any>;\n htmlType?: \"button\" | \"submit\" | \"reset\";\n isActive?: boolean;\n isDefault?: boolean;\n isDisabled?: boolean;\n isInverse?: boolean;\n isSquare?: boolean;\n size?: ButtonSize;\n type?: ButtonType;\n className?: string;\n children?: React.ReactNode;\n}\n\ntype AnchorProps = CommonProps &\n Omit<\n React.AnchorHTMLAttributes<HTMLAnchorElement>,\n keyof CommonProps | \"type\" | \"ref\"\n > & {\n href: string;\n };\n\ntype NativeButtonProps = CommonProps &\n Omit<\n React.ButtonHTMLAttributes<HTMLButtonElement>,\n keyof CommonProps | \"href\" | \"ref\"\n > & {\n href?: undefined;\n };\n\nexport type ButtonProps = AnchorProps | NativeButtonProps;\n\nconst CLASS_ROOT = \"btn\";\n\nconst Button = React.forwardRef<any, ButtonProps>((props, ref) => {\n const {\n className,\n children,\n htmlType = \"button\",\n href,\n isActive,\n isDefault,\n isDisabled,\n isInverse,\n size,\n isSquare,\n type,\n elemRef,\n ...other\n } = props;\n\n const classes = cx(\n CLASS_ROOT,\n {\n [`${CLASS_ROOT}--square`]: isSquare,\n [`${CLASS_ROOT}--${size}`]: size,\n [`${CLASS_ROOT}--${type}`]: type,\n [`${CLASS_ROOT}--default`]: isDefault,\n [`${CLASS_ROOT}--inverse`]: isInverse,\n \"is-active\": isActive,\n },\n className,\n );\n\n if (href) {\n // Anchor element\n const anchorProps = other as React.AnchorHTMLAttributes<HTMLAnchorElement>;\n return (\n <a\n href={href}\n className={classes}\n aria-disabled={isDisabled ? \"true\" : undefined}\n ref={elemRef || ref}\n {...anchorProps}\n >\n {children}\n </a>\n );\n } else {\n // Button element\n const buttonProps = other as React.ButtonHTMLAttributes<HTMLButtonElement>;\n return (\n <button\n type={htmlType}\n className={classes}\n disabled={isDisabled ? true : undefined}\n aria-disabled={isDisabled ? \"true\" : undefined}\n ref={elemRef || ref}\n {...buttonProps}\n >\n {children}\n </button>\n );\n }\n});\n\nButton.displayName = \"Button\";\n\nexport { Button };\n","\"use client\";\n\nimport React, { ReactNode } from \"react\";\n\nexport const SpritePathContext = React.createContext(\"/sprite.svg\");\n\ninterface SpritePathProviderProps {\n children: ReactNode;\n value?: string;\n}\n\nexport const SpritePathProvider: React.FC<SpritePathProviderProps> = ({\n children,\n value = \"/sprite.svg\",\n ...other\n}) => {\n return (\n <SpritePathContext.Provider value={value} {...other}>\n {React.Children.only(children)}\n </SpritePathContext.Provider>\n );\n};\n","\"use client\";\n\nimport React, { useContext } from \"react\";\nimport cx from \"classnames\";\nimport { SpritePathContext } from \"./SpritePathContext\";\n\nexport type IconColor = \"info\" | \"success\" | \"warning\" | \"danger\";\nexport type IconSize =\n | \"small\"\n | \"medium\"\n | \"large\"\n | \"xlarge\"\n | \"xxlarge\"\n | \"huge\";\n\ninterface IconProps extends React.SVGAttributes<SVGSVGElement> {\n /** Accessible label for the icon. */\n alt?: string;\n /** Icon color. */\n color?: IconColor;\n /** Icon name (required). */\n name: string;\n /** Icon size. */\n size?: IconSize;\n /** Path to the SVG sprite. */\n spritePath?: string;\n className?: string;\n}\n\nconst CLASS_ROOT = \"icon\";\n\nconst Icon: React.FC<IconProps> = ({\n className,\n alt,\n color,\n name,\n size,\n spritePath = \"/sprite.svg\",\n ...other\n}) => {\n const contextPath = useContext(SpritePathContext);\n\n const classes = cx(\n CLASS_ROOT,\n {\n [`${CLASS_ROOT}--${size}`]: size,\n [`${CLASS_ROOT}--${color}`]: color,\n },\n className,\n );\n\n return (\n <svg\n className={classes}\n aria-hidden={alt !== undefined ? undefined : \"true\"}\n role={alt !== undefined ? \"img\" : undefined}\n {...other}\n >\n {alt !== undefined && alt.length > 0 && <title>{alt}</title>}\n <use\n xlinkHref={\n spritePath !== \"/sprite.svg\" || typeof contextPath === \"undefined\"\n ? `${spritePath}#${name}`\n : `${contextPath}#${name}`\n }\n />\n </svg>\n );\n};\n\nIcon.displayName = \"Icon\";\n\nexport { Icon };\n","import React from \"react\";\nimport cx from \"classnames\";\n\nimport { Icon } from \"../Icon\";\nimport { Button, ButtonSize } from \"./Button\";\n\nexport type IconPosition = \"left\" | \"right\";\n\nexport interface IconButtonProps\n extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, \"type\" | \"ref\"> {\n /** Name of the icon */\n iconName: string;\n /** Position of the icon */\n iconPosition?: IconPosition;\n /** Class of the icon */\n iconClassName?: string;\n /** Button size. Also affects icon size */\n size?: ButtonSize;\n /** Use square button. Children are rendered as visually hidden */\n isSquare?: boolean;\n children?: React.ReactNode;\n}\n\nconst IconButton = React.forwardRef<HTMLButtonElement, IconButtonProps>(\n (\n {\n iconName,\n iconPosition = \"left\",\n iconClassName,\n children,\n size,\n isSquare,\n ...other\n },\n ref,\n ) => {\n const IconComponent = ({ className, ...props }: { className?: string }) => (\n <Icon\n name={iconName}\n size={size ?? \"medium\"}\n className={cx(iconClassName, className)}\n {...props}\n />\n );\n\n if (isSquare) {\n return (\n <Button size={size} isSquare {...other} ref={ref}>\n <IconComponent />\n <span className=\"visually-hidden\">{children}</span>\n </Button>\n );\n }\n\n return (\n <Button ref={ref} size={size} {...other}>\n {iconPosition === \"left\" && <IconComponent className=\"btn__icon-left\" />}\n {children}\n {iconPosition === \"right\" && <IconComponent className=\"btn__icon-right\" />}\n </Button>\n );\n },\n);\n\nIconButton.displayName = \"IconButton\";\n\nexport { IconButton };\n","import cx from \"classnames\";\n\ninterface ButtonsProps extends React.HTMLAttributes<HTMLDivElement> {\n /** On XS viewport, forces buttons to stack vertically and span the available width. */\n isStackedOnXs?: boolean;\n className?: string;\n children?: React.ReactNode;\n}\n\nconst CLASS_ROOT = \"buttons\";\n\nconst Buttons: React.FC<ButtonsProps> = ({\n isStackedOnXs,\n children,\n className,\n ...other\n}) => (\n <div\n className={cx(\n CLASS_ROOT,\n {\n [`${CLASS_ROOT}--stack-on-xs`]: isStackedOnXs,\n },\n className,\n )}\n {...other}\n >\n {children}\n </div>\n);\n\nButtons.displayName = \"Buttons\";\n\nexport { Buttons };\n","const not = {\n inert: ':not([inert]):not([inert] *)',\n negTabIndex: ':not([tabindex^=\"-\"])',\n disabled: ':not(:disabled)',\n};\n\nvar focusableSelectors = [\n `a[href]${not.inert}${not.negTabIndex}`,\n `area[href]${not.inert}${not.negTabIndex}`,\n `input:not([type=\"hidden\"]):not([type=\"radio\"])${not.inert}${not.negTabIndex}${not.disabled}`,\n `input[type=\"radio\"]${not.inert}${not.negTabIndex}${not.disabled}`,\n `select${not.inert}${not.negTabIndex}${not.disabled}`,\n `textarea${not.inert}${not.negTabIndex}${not.disabled}`,\n `button${not.inert}${not.negTabIndex}${not.disabled}`,\n `details${not.inert} > summary:first-of-type${not.negTabIndex}`,\n // Discard until Firefox supports `:has()`\n // See: https://github.com/KittyGiraudel/focusable-selectors/issues/12\n // `details:not(:has(> summary))${not.inert}${not.negTabIndex}`,\n `iframe${not.inert}${not.negTabIndex}`,\n `audio[controls]${not.inert}${not.negTabIndex}`,\n `video[controls]${not.inert}${not.negTabIndex}`,\n `[contenteditable]${not.inert}${not.negTabIndex}`,\n `[tabindex]${not.inert}${not.negTabIndex}`,\n];\n\n/**\n * Set the focus to the first element with `autofocus` with the element or the\n * element itself.\n */\nfunction focus(el) {\n (el.querySelector('[autofocus]') || el).focus();\n}\n/**\n * Get the first and last focusable elements within a given element.\n */\nfunction getFocusableEdges(el) {\n // Check for a focusable element within the subtree of the given element.\n const firstEl = findFocusableEl(el, true);\n // Only if we find the first element do we need to look for the last one. If\n // there’s no last element, we set `lastEl` as a reference to `firstEl` so\n // that the returned array is still always of length 2.\n const lastEl = firstEl ? findFocusableEl(el, false) || firstEl : null;\n return [firstEl, lastEl];\n}\n/**\n * Find the first focusable element inside the given element if `forward` is\n * truthy or the last focusable element otherwise.\n */\nfunction findFocusableEl(el, forward) {\n // If we’re walking forward, check if this element is focusable, and return it\n // immediately if it is.\n if (forward && isFocusable(el))\n return el;\n // We should only search the subtree of this element if it can have focusable\n // children.\n if (canHaveFocusableChildren(el)) {\n // Start walking the DOM tree, looking for focusable elements.\n // Case 1: If this element has a shadow root, search it recursively.\n if (el.shadowRoot) {\n // Descend into this subtree.\n let next = getNextChildEl(el.shadowRoot, forward);\n // Traverse the siblings, searching the subtree of each one for focusable\n // elements.\n while (next) {\n const focusableEl = findFocusableEl(next, forward);\n if (focusableEl)\n return focusableEl;\n next = getNextSiblingEl(next, forward);\n }\n }\n // Case 2: If this element is a slot for a Custom Element, search its\n // assigned elements recursively.\n else if (el.localName === 'slot') {\n const assignedElements = el.assignedElements({\n flatten: true,\n });\n if (!forward)\n assignedElements.reverse();\n for (const assignedElement of assignedElements) {\n const focusableEl = findFocusableEl(assignedElement, forward);\n if (focusableEl)\n return focusableEl;\n }\n }\n // Case 3: this is a regular Light DOM element. Search its subtree.\n else {\n // Descend into this subtree.\n let next = getNextChildEl(el, forward);\n // Traverse siblings, searching the subtree of each one\n // for focusable elements.\n while (next) {\n const focusableEl = findFocusableEl(next, forward);\n if (focusableEl)\n return focusableEl;\n next = getNextSiblingEl(next, forward);\n }\n }\n }\n // If we’re walking backward, we want to check the element’s entire subtree\n // before checking the element itself. If this element is focusable, return\n // it.\n if (!forward && isFocusable(el))\n return el;\n return null;\n}\nfunction getNextChildEl(el, forward) {\n return forward ? el.firstElementChild : el.lastElementChild;\n}\nfunction getNextSiblingEl(el, forward) {\n return forward ? el.nextElementSibling : el.previousElementSibling;\n}\n/**\n * Determine if an element is hidden from the user.\n */\nconst isHidden = (el) => {\n // Browsers hide all non-<summary> descendants of closed <details> elements\n // from user interaction, but those non-<summary> elements may still match our\n // focusable-selectors and may still have dimensions, so we need a special\n // case to ignore them.\n if (el.matches('details:not([open]) *') &&\n !el.matches('details>summary:first-of-type'))\n return true;\n // If this element has no painted dimensions, it's hidden.\n return !(el.offsetWidth || el.offsetHeight || el.getClientRects().length);\n};\n/**\n * Determine if an element is focusable and has user-visible painted dimensions.\n */\nconst isFocusable = (el) => {\n // A shadow host that delegates focus will never directly receive focus,\n // even with `tabindex=0`. Consider our <fancy-button> custom element, which\n // delegates focus to its shadow button:\n //\n // <fancy-button tabindex=\"0\">\n // #shadow-root\n // <button><slot></slot></button>\n // </fancy-button>\n //\n // The browser acts as as if there is only one focusable element – the shadow\n // button. Our library should behave the same way.\n if (el.shadowRoot?.delegatesFocus)\n return false;\n return el.matches(focusableSelectors.join(',')) && !isHidden(el);\n};\n/**\n * Determine if an element can have focusable children. Useful for bailing out\n * early when walking the DOM tree.\n * @example\n * This div is inert, so none of its children can be focused, even though they\n * meet our criteria for what is focusable. Once we check the div, we can skip\n * the rest of the subtree.\n * ```html\n * <div inert>\n * <button>Button</button>\n * <a href=\"#\">Link</a>\n * </div>\n * ```\n */\nfunction canHaveFocusableChildren(el) {\n // The browser will never send focus into a Shadow DOM if the host element\n // has a negative tabindex. This applies to both slotted Light DOM Shadow DOM\n // children\n if (el.shadowRoot && el.getAttribute('tabindex') === '-1')\n return false;\n // Elemments matching this selector are either hidden entirely from the user,\n // or are visible but unavailable for interaction. Their descentants can never\n // receive focus.\n return !el.matches(':disabled,[hidden],[inert]');\n}\n/**\n * Get the active element, accounting for Shadow DOM subtrees.\n * @author Cory LaViska\n * @see: https://www.abeautifulsite.net/posts/finding-the-active-element-in-a-shadow-root/\n */\nfunction getActiveEl(root = document) {\n const activeEl = root.activeElement;\n if (!activeEl)\n return null;\n // If there’s a shadow root, recursively find the active element within it.\n // If the recursive call returns null, return the active element\n // of the top-level Document.\n if (activeEl.shadowRoot)\n return getActiveEl(activeEl.shadowRoot) || document.activeElement;\n // If not, we can just return the active element\n return activeEl;\n}\n/**\n * Trap the focus inside the given element\n */\nfunction trapTabKey(el, event) {\n const [firstFocusableEl, lastFocusableEl] = getFocusableEdges(el);\n // If there are no focusable children in the dialog, prevent the user from\n // tabbing out of it\n if (!firstFocusableEl)\n return event.preventDefault();\n const activeEl = getActiveEl();\n // If the SHIFT key is pressed while tabbing (moving backwards) and the\n // currently focused item is the first one, move the focus to the last\n // focusable item from the dialog element\n if (event.shiftKey && activeEl === firstFocusableEl) {\n // @ts-ignore: we know that `lastFocusableEl` is not null here\n lastFocusableEl.focus();\n event.preventDefault();\n }\n // If the SHIFT key is not pressed (moving forwards) and the currently focused\n // item is the last one, move the focus to the first focusable item from the\n // dialog element\n else if (!event.shiftKey && activeEl === lastFocusableEl) {\n firstFocusableEl.focus();\n event.preventDefault();\n }\n}\n/**\n * Find the closest element to the given element matching the given selector,\n * accounting for Shadow DOM subtrees.\n * @author Louis St-Amour\n * @see: https://stackoverflow.com/a/56105394\n */\nfunction closest(selector, base) {\n function from(el) {\n if (!el || el === document || el === window)\n return null;\n // Reading the `assignedSlot` property from the element (as suggested by the\n // aforementioned StackOverflow answer) is not enough, because it does not\n // take into consideration elements nested deeply within a <slot>. For these\n // elements, the `assignedSlot` property is `null` as it is only specified\n // for top-level elements within a <slot>. To still find the closest <slot>,\n // we walk up the tree looking for the `assignedSlot` property.\n const slot = findAssignedSlot(el);\n if (slot)\n el = slot;\n return (el.closest(selector) ||\n from(el.getRootNode().host));\n }\n return from(base);\n}\nfunction findAssignedSlot(node) {\n return (node.assignedSlot ||\n (node.parentNode ? findAssignedSlot(node.parentNode) : null));\n}\n\nconst SCOPE = 'data-a11y-dialog';\nclass A11yDialog {\n $el;\n id;\n previouslyFocused;\n shown;\n constructor(element) {\n this.$el = element;\n this.id = this.$el.getAttribute(SCOPE) || this.$el.id;\n this.previouslyFocused = null;\n this.shown = false;\n this.maintainFocus = this.maintainFocus.bind(this);\n this.bindKeypress = this.bindKeypress.bind(this);\n this.handleTriggerClicks = this.handleTriggerClicks.bind(this);\n this.show = this.show.bind(this);\n this.hide = this.hide.bind(this);\n this.$el.setAttribute('aria-hidden', 'true');\n this.$el.setAttribute('aria-modal', 'true');\n this.$el.setAttribute('tabindex', '-1');\n if (!this.$el.hasAttribute('role')) {\n this.$el.setAttribute('role', 'dialog');\n }\n document.addEventListener('click', this.handleTriggerClicks, true);\n }\n /**\n * Destroy the current instance (after making sure the dialog has been hidden)\n * and remove all associated listeners from dialog openers and closers\n */\n destroy() {\n // Dispatch a `destroy` event\n const destroyEvent = this.fire('destroy');\n // If the event was prevented, do not continue with the normal behavior\n if (destroyEvent.defaultPrevented)\n return this;\n // Hide the dialog to avoid destroying an open instance\n this.hide();\n // Remove the click event delegates for our openers and closers\n document.removeEventListener('click', this.handleTriggerClicks, true);\n // Clone and replace the dialog element to prevent memory leaks caused by\n // event listeners that the author might not have cleaned up.\n this.$el.replaceWith(this.$el.cloneNode(true));\n return this;\n }\n /**\n * Show the dialog element, trap the current focus within it, listen for some\n * specific key presses and fire all registered callbacks for `show` event\n */\n show(event) {\n // If the dialog is already open, abort\n if (this.shown)\n return this;\n // Dispatch a `show` event\n const showEvent = this.fire('show', event);\n // If the event was prevented, do not continue with the normal behavior\n if (showEvent.defaultPrevented)\n return this;\n // Keep a reference to the currently focused element to be able to restore\n // it later\n this.shown = true;\n this.$el.removeAttribute('aria-hidden');\n this.previouslyFocused = getActiveEl();\n // Due to a long lasting bug in Safari, clicking an interactive element\n // (like a <button>) does *not* move the focus to that element, which means\n // `document.activeElement` is whatever element is currently focused (like\n // an <input>), or the <body> element otherwise. We can work around that\n // problem by checking whether the focused element is the <body>, and if it,\n // store the click event target.\n // See: https://bugs.webkit.org/show_bug.cgi?id=22261\n if (this.previouslyFocused?.tagName === 'BODY' && event?.target) {\n this.previouslyFocused = event.target;\n }\n // Set the focus to the dialog element\n // See: https://github.com/KittyGiraudel/a11y-dialog/pull/583\n if (event?.type === 'focus') {\n this.maintainFocus();\n }\n else {\n focus(this.$el);\n }\n // Bind a focus event listener to the body element to make sure the focus\n // stays trapped inside the dialog while open, and start listening for some\n // specific key presses (TAB and ESC)\n document.body.addEventListener('focus', this.maintainFocus, true);\n this.$el.addEventListener('keydown', this.bindKeypress, true);\n return this;\n }\n /**\n * Hide the dialog element, restore the focus to the previously active\n * element, stop listening for some specific key presses and fire all\n * registered callbacks for `hide` event\n */\n hide(event) {\n // If the dialog is already closed, abort\n if (!this.shown)\n return this;\n // Dispatch a `hide` event\n const hideEvent = this.fire('hide', event);\n // If the event was prevented, do not continue with the normal behavior\n if (hideEvent.defaultPrevented)\n return this;\n this.shown = false;\n this.$el.setAttribute('aria-hidden', 'true');\n // Remove the focus event listener to the body element and stop listening\n // for specific key presses\n document.body.removeEventListener('focus', this.maintainFocus, true);\n this.$el.removeEventListener('keydown', this.bindKeypress, true);\n // Ensure the previously focused element (if any) has a `focus` method\n // before attempting to call it to account for SVG elements\n // See: https://github.com/KittyGiraudel/a11y-dialog/issues/108\n this.previouslyFocused?.focus?.();\n return this;\n }\n /**\n * Register a new callback for the given event type\n */\n on(type, handler, options) {\n this.$el.addEventListener(type, handler, options);\n return this;\n }\n /**\n * Unregister an existing callback for the given event type\n */\n off(type, handler, options) {\n this.$el.removeEventListener(type, handler, options);\n return this;\n }\n /**\n * Dispatch and return a custom event from the DOM element associated with\n * this dialog; this allows authors to listen for and respond to the events\n * in their own code\n */\n fire(type, event) {\n const customEvent = new CustomEvent(type, {\n detail: event,\n cancelable: true,\n });\n this.$el.dispatchEvent(customEvent);\n return customEvent;\n }\n /**\n * Add a delegated event listener for when elememts that open or close the\n * dialog are clicked, and call `show` or `hide`, respectively\n */\n handleTriggerClicks(event) {\n // We need to retrieve the click target while accounting for Shadow DOM.\n // When within a web component, `event.target` is the shadow root (e.g.\n // `<my-dialog>`), so we need to use `event.composedPath()` to get the click\n // target\n // See: https://github.com/KittyGiraudel/a11y-dialog/issues/582\n const target = event.composedPath()[0];\n const opener = closest(`[${SCOPE}-show=\"${this.id}\"]`, target);\n const explicitCloser = closest(`[${SCOPE}-hide=\"${this.id}\"]`, target);\n const implicitCloser = closest(`[${SCOPE}-hide]`, target) &&\n closest('[aria-modal=\"true\"]', target) === this.$el;\n // We use `closest(..)` (instead of `matches(..)`) so that clicking an\n // element nested within a dialog opener does cause the dialog to open, and\n // we use our custom `closest(..)` function so that it can cross shadow\n // boundaries\n // See: https://github.com/KittyGiraudel/a11y-dialog/issues/712\n if (opener)\n this.show(event);\n if (explicitCloser || implicitCloser)\n this.hide(event);\n }\n /**\n * Private event handler used when listening to some specific key presses\n * (namely ESC and TAB)\n */\n bindKeypress(event) {\n // This is an escape hatch in case there are nested open dialogs, so that\n // only the top most dialog gets interacted with (`closest` is basically\n // `Element.prototype.closest()` accounting for Shadow DOM subtrees)\n if (closest('[aria-modal=\"true\"]', getActiveEl()) !== this.$el) {\n return;\n }\n let hasOpenPopover = false;\n try {\n hasOpenPopover = !!this.$el.querySelector('[popover]:not([popover=\"manual\"]):popover-open');\n }\n catch {\n // Run that DOM query in a try/catch because not all browsers support the\n // `:popover-open` selector, which would cause the whole expression to\n // fail\n // See: https://caniuse.com/mdn-css_selectors_popover-open\n // See: https://github.com/KittyGiraudel/a11y-dialog/pull/578#discussion_r1343215149\n }\n // If the dialog is shown and the ESC key is pressed, prevent any further\n // effects from the ESC key and hide the dialog, unless:\n // - its role is `alertdialog`, which means it should be modal\n // - or it contains an open popover, in which case ESC should close it\n if (event.key === 'Escape' &&\n this.$el.getAttribute('role') !== 'alertdialog' &&\n !hasOpenPopover) {\n event.preventDefault();\n this.hide(event);\n }\n // If the dialog is shown and the TAB key is pressed, make sure the focus\n // stays trapped within the dialog element\n if (event.key === 'Tab') {\n trapTabKey(this.$el, event);\n }\n }\n /**\n * If the dialog is shown and the focus is not within a dialog element (either\n * this one or another one in case of nested dialogs) or an element with the\n * ignore attribute, move it back to the dialog container\n * See: https://github.com/KittyGiraudel/a11y-dialog/issues/177\n */\n maintainFocus() {\n // We use `getActiveEl()` and not `event.target` here because the latter can\n // be a shadow root. This can happen when having a focusable element after\n // slotted content: tabbing out of it causes this focus listener to trigger\n // with the shadow root as a target event. In such a case, the focus would\n // be incorrectly moved to the dialog, which shouldn’t happen. Getting the\n // active element (while accounting for Shadow DOM) avoids that problem.\n // See: https://github.com/KittyGiraudel/a11y-dialog/issues/778\n const target = getActiveEl();\n if (!closest(`[aria-modal=\"true\"], [${SCOPE}-ignore-focus-trap]`, target)) {\n focus(this.$el);\n }\n }\n}\n\nfunction instantiateDialogs() {\n for (const el of document.querySelectorAll('[data-a11y-dialog]')) {\n new A11yDialog(el);\n }\n}\nif (typeof document !== 'undefined') {\n if (document.readyState === 'loading') {\n document.addEventListener('DOMContentLoaded', instantiateDialogs);\n }\n else {\n instantiateDialogs();\n }\n}\n\nexport { A11yDialog as default };\n","/*!\n* tabbable 6.2.0\n* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE\n*/\n// NOTE: separate `:not()` selectors has broader browser support than the newer\n// `:not([inert], [inert] *)` (Feb 2023)\n// CAREFUL: JSDom does not support `:not([inert] *)` as a selector; using it causes\n// the entire query to fail, resulting in no nodes found, which will break a lot\n// of things... so we have to rely on JS to identify nodes inside an inert container\nvar candidateSelectors = ['input:not([inert])', 'select:not([inert])', 'textarea:not([inert])', 'a[href]:not([inert])', 'button:not([inert])', '[tabindex]:not(slot):not([inert])', 'audio[controls]:not([inert])', 'video[controls]:not([inert])', '[contenteditable]:not([contenteditable=\"false\"]):not([inert])', 'details>summary:first-of-type:not([inert])', 'details:not([inert])'];\nvar candidateSelector = /* #__PURE__ */candidateSelectors.join(',');\nvar NoElement = typeof Element === 'undefined';\nvar matches = NoElement ? function () {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;\nvar getRootNode = !NoElement && Element.prototype.getRootNode ? function (element) {\n var _element$getRootNode;\n return element === null || element === void 0 ? void 0 : (_element$getRootNode = element.getRootNode) === null || _element$getRootNode === void 0 ? void 0 : _element$getRootNode.call(element);\n} : function (element) {\n return element === null || element === void 0 ? void 0 : element.ownerDocument;\n};\n\n/**\n * Determines if a node is inert or in an inert ancestor.\n * @param {Element} [node]\n * @param {boolean} [lookUp] If true and `node` is not inert, looks up at ancestors to\n * see if any of them are inert. If false, only `node` itself is considered.\n * @returns {boolean} True if inert itself or by way of being in an inert ancestor.\n * False if `node` is falsy.\n */\nvar isInert = function isInert(node, lookUp) {\n var _node$getAttribute;\n if (lookUp === void 0) {\n lookUp = true;\n }\n // CAREFUL: JSDom does not support inert at all, so we can't use the `HTMLElement.inert`\n // JS API property; we have to check the attribute, which can either be empty or 'true';\n // if it's `null` (not specified) or 'false', it's an active element\n var inertAtt = node === null || node === void 0 ? void 0 : (_node$getAttribute = node.getAttribute) === null || _node$getAttribute === void 0 ? void 0 : _node$getAttribute.call(node, 'inert');\n var inert = inertAtt === '' || inertAtt === 'true';\n\n // NOTE: this could also be handled with `node.matches('[inert], :is([inert] *)')`\n // if it weren't for `matches()` not being a function on shadow roots; the following\n // code works for any kind of node\n // CAREFUL: JSDom does not appear to support certain selectors like `:not([inert] *)`\n // so it likely would not support `:is([inert] *)` either...\n var result = inert || lookUp && node && isInert(node.parentNode); // recursive\n\n return result;\n};\n\n/**\n * Determines if a node's content is editable.\n * @param {Element} [node]\n * @returns True if it's content-editable; false if it's not or `node` is falsy.\n */\nvar isContentEditable = function isContentEditable(node) {\n var _node$getAttribute2;\n // CAREFUL: JSDom does not support the `HTMLElement.isContentEditable` API so we have\n // to use the attribute directly to check for this, which can either be empty or 'true';\n // if it's `null` (not specified) or 'false', it's a non-editable element\n var attValue = node === null || node === void 0 ? void 0 : (_node$getAttribute2 = node.getAttribute) === null || _node$getAttribute2 === void 0 ? void 0 : _node$getAttribute2.call(node, 'contenteditable');\n return attValue === '' || attValue === 'true';\n};\n\n/**\n * @param {Element} el container to check in\n * @param {boolean} includeContainer add container to check\n * @param {(node: Element) => boolean} filter filter candidates\n * @returns {Element[]}\n */\nvar getCandidates = function getCandidates(el, includeContainer, filter) {\n // even if `includeContainer=false`, we still have to check it for inertness because\n // if it's inert, all its children are inert\n if (isInert(el)) {\n return [];\n }\n var candidates = Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));\n if (includeContainer && matches.call(el, candidateSelector)) {\n candidates.unshift(el);\n }\n candidates = candidates.filter(filter);\n return candidates;\n};\n\n/**\n * @callback GetShadowRoot\n * @param {Element} element to check for shadow root\n * @returns {ShadowRoot|boolean} ShadowRoot if available or boolean indicating if a shadowRoot is attached but not available.\n */\n\n/**\n * @callback ShadowRootFilter\n * @param {Element} shadowHostNode the element which contains shadow content\n * @returns {boolean} true if a shadow root could potentially contain valid candidates.\n */\n\n/**\n * @typedef {Object} CandidateScope\n * @property {Element} scopeParent contains inner candidates\n * @property {Element[]} candidates list of candidates found in the scope parent\n */\n\n/**\n * @typedef {Object} IterativeOptions\n * @property {GetShadowRoot|boolean} getShadowRoot true if shadow support is enabled; falsy if not;\n * if a function, implies shadow support is enabled and either returns the shadow root of an element\n * or a boolean stating if it has an undisclosed shadow root\n * @property {(node: Element) => boolean} filter filter candidates\n * @property {boolean} flatten if true then result will flatten any CandidateScope into the returned list\n * @property {ShadowRootFilter} shadowRootFilter filter shadow roots;\n */\n\n/**\n * @param {Element[]} elements list of element containers to match candidates from\n * @param {boolean} includeContainer add container list to check\n * @param {IterativeOptions} options\n * @returns {Array.<Element|CandidateScope>}\n */\nvar getCandidatesIteratively = function getCandidatesIteratively(elements, includeContainer, options) {\n var candidates = [];\n var elementsToCheck = Array.from(elements);\n while (elementsToCheck.length) {\n var element = elementsToCheck.shift();\n if (isInert(element, false)) {\n // no need to look up since we're drilling down\n // anything inside this container will also be inert\n continue;\n }\n if (element.tagName === 'SLOT') {\n // add shadow dom slot scope (slot itself cannot be focusable)\n var assigned = element.assignedElements();\n var content = assigned.length ? assigned : element.children;\n var nestedCandidates = getCandidatesIteratively(content, true, options);\n if (options.flatten) {\n candidates.push.apply(candidates, nestedCandidates);\n } else {\n candidates.push({\n scopeParent: element,\n candidates: nestedCandidates\n });\n }\n } else {\n // check candidate element\n var validCandidate = matches.call(element, candidateSelector);\n if (validCandidate && options.filter(element) && (includeContainer || !elements.includes(element))) {\n candidates.push(element);\n }\n\n // iterate over shadow content if possible\n var shadowRoot = element.shadowRoot ||\n // check for an undisclosed shadow\n typeof options.getShadowRoot === 'function' && options.getShadowRoot(element);\n\n // no inert look up because we're already drilling down and checking for inertness\n // on the way down, so all containers to this root node should have already been\n // vetted as non-inert\n var validShadowRoot = !isInert(shadowRoot, false) && (!options.shadowRootFilter || options.shadowRootFilter(element));\n if (shadowRoot && validShadowRoot) {\n // add shadow dom scope IIF a shadow root node was given; otherwise, an undisclosed\n // shadow exists, so look at light dom children as fallback BUT create a scope for any\n // child candidates found because they're likely slotted elements (elements that are\n // children of the web component element (which has the shadow), in the light dom, but\n // slotted somewhere _inside_ the undisclosed shadow) -- the scope is created below,\n // _after_ we return from this recursive call\n var _nestedCandidates = getCandidatesIteratively(shadowRoot === true ? element.children : shadowRoot.children, true, options);\n if (options.flatten) {\n candidates.push.apply(candidates, _nestedCandidates);\n } else {\n candidates.push({\n scopeParent: element,\n candidates: _nestedCandidates\n });\n }\n } else {\n // there's not shadow so just dig into the element's (light dom) children\n // __without__ giving the element special scope treatment\n elementsToCheck.unshift.apply(elementsToCheck, element.children);\n }\n }\n }\n return candidates;\n};\n\n/**\n * @private\n * Determines if the node has an explicitly specified `tabindex` attribute.\n * @param {HTMLElement} node\n * @returns {boolean} True if so; false if not.\n */\nvar hasTabIndex = function hasTabIndex(node) {\n return !isNaN(parseInt(node.getAttribute('tabindex'), 10));\n};\n\n/**\n * Determine the tab index of a given node.\n * @param {HTMLElement} node\n * @returns {number} Tab order (negative, 0, or positive number).\n * @throws {Error} If `node` is falsy.\n */\nvar getTabIndex = function getTabIndex(node) {\n if (!node) {\n throw new Error('No node provided');\n }\n if (node.tabIndex < 0) {\n // in Chrome, <details/>, <audio controls/> and <video controls/> elements get a default\n // `tabIndex` of -1 when the 'tabindex' attribute isn't specified in the DOM,\n // yet they are still part of the regular tab order; in FF, they get a default\n // `tabIndex` of 0; since Chrome still puts those elements in the regular tab\n // order, consider their tab index to be 0.\n // Also browsers do not return `tabIndex` correctly for contentEditable nodes;\n // so if they don't have a tabindex attribute specifically set, assume it's 0.\n if ((/^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName) || isContentEditable(node)) && !hasTabIndex(node)) {\n return 0;\n }\n }\n return node.tabIndex;\n};\n\n/**\n * Determine the tab index of a given node __for sort order purposes__.\n * @param {HTMLElement} node\n * @param {boolean} [isScope] True for a custom element with shadow root or slot that, by default,\n * has tabIndex -1, but needs to be sorted by document order in order for its content to be\n * inserted into the correct sort position.\n * @returns {number} Tab order (negative, 0, or positive number).\n */\nvar getSortOrderTabIndex = function getSortOrderTabIndex(node, isScope) {\n var tabIndex = getTabIndex(node);\n if (tabIndex < 0 && isScope && !hasTabIndex(node)) {\n return 0;\n }\n return tabIndex;\n};\nvar sortOrderedTabbables = function sortOrderedTabbables(a, b) {\n return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex;\n};\nvar isInput = function isInput(node) {\n return node.tagName === 'INPUT';\n};\nvar isHiddenInput = function isHiddenInput(node) {\n return isInput(node) && node.type === 'hidden';\n};\nvar isDetailsWithSummary = function isDetailsWithSummary(node) {\n var r = node.tagName === 'DETAILS' && Array.prototype.slice.apply(node.children).some(function (child) {\n return child.tagName === 'SUMMARY';\n });\n return r;\n};\nvar getCheckedRadio = function getCheckedRadio(nodes, form) {\n for (var i = 0; i < nodes.length; i++) {\n if (nodes[i].checked && nodes[i].form === form) {\n return nodes[i];\n }\n }\n};\nvar isTabbableRadio = function isTabbableRadio(node) {\n if (!node.name) {\n return true;\n }\n var radioScope = node.form || getRootNode(node);\n var queryRadios = function queryRadios(name) {\n return radioScope.querySelectorAll('input[type=\"radio\"][name=\"' + name + '\"]');\n };\n var radioSet;\n if (typeof window !== 'undefined' && typeof window.CSS !== 'undefined' && typeof window.CSS.escape === 'function') {\n radioSet = queryRadios(window.CSS.escape(node.name));\n } else {\n try {\n radioSet = queryRadios(node.name);\n } catch (err) {\n // eslint-disable-next-line no-console\n console.error('Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s', err.message);\n return false;\n }\n }\n var checked = getCheckedRadio(radioSet, node.form);\n return !checked || checked === node;\n};\nvar isRadio = function isRadio(node) {\n return isInput(node) && node.type === 'radio';\n};\nvar isNonTabbableRadio = function isNonTabbableRadio(node) {\n return isRadio(node) && !isTabbableRadio(node);\n};\n\n// determines if a node is ultimately attached to the window's document\nvar isNodeAttached = function isNodeAttached(node) {\n var _nodeRoot;\n // The root node is the shadow root if the node is in a shadow DOM; some document otherwise\n // (but NOT _the_ document; see second 'If' comment below for more).\n // If rootNode is shadow root, it'll have a host, which is the element to which the shadow\n // is attached, and the one we need to check if it's in the document or not (because the\n // shadow, and all nodes it contains, is never considered in the document since shadows\n // behave like self-contained DOMs; but if the shadow's HOST, which is part of the document,\n // is hidden, or is not in the document itself but is detached, it will affect the shadow's\n // visibility, including all the nodes it contains). The host could be any normal node,\n // or a custom element (i.e. web component). Either way, that's the one that is considered\n // part of the document, not the shadow root, nor any of its children (i.e. the node being\n // tested).\n // To further complicate things, we have to look all the way up until we find a shadow HOST\n // that is attached (or find none) because the node might be in nested shadows...\n // If rootNode is not a shadow root, it won't have a host, and so rootNode should be the\n // document (per the docs) and while it's a Document-type object, that document does not\n // appear to be the same as the node's `ownerDocument` for some reason, so it's safer\n // to ignore the rootNode at this point, and use `node.ownerDocument`. Otherwise,\n // using `rootNode.contains(node)` will _always_ be true we'll get false-positives when\n // node is actually detached.\n // NOTE: If `nodeRootHost` or `node` happens to be the `document` itself (which is possible\n // if a tabbable/focusable node was quickly added to the DOM, focused, and then removed\n // from the DOM as in https://github.com/focus-trap/focus-trap-react/issues/905), then\n // `ownerDocument` will be `null`, hence the optional chaining on it.\n var nodeRoot = node && getRootNode(node);\n var nodeRootHost = (_nodeRoot = nodeRoot) === null || _nodeRoot === void 0 ? void 0 : _nodeRoot.host;\n\n // in some cases, a detached node will return itself as the root instead of a document or\n // shadow root object, in which case, we shouldn't try to look further up the host chain\n var attached = false;\n if (nodeRoot && nodeRoot !== node) {\n var _nodeRootHost, _nodeRootHost$ownerDo, _node$ownerDocument;\n attached = !!((_nodeRootHost = nodeRootHost) !== null && _nodeRootHost !== void 0 && (_nodeRootHost$ownerDo = _nodeRootHost.ownerDocument) !== null && _nodeRootHost$ownerDo !== void 0 && _nodeRootHost$ownerDo.contains(nodeRootHost) || node !== null && node !== void 0 && (_node$ownerDocument = node.ownerDocument) !== null && _node$ownerDocument !== void 0 && _node$ownerDocument.contains(node));\n while (!attached && nodeRootHost) {\n var _nodeRoot2, _nodeRootHost2, _nodeRootHost2$ownerD;\n // since it's not attached and we have a root host, the node MUST be in a nested shadow DOM,\n // which means we need to get the host's host and check if that parent host is contained\n // in (i.e. attached to) the document\n nodeRoot = getRootNode(nodeRootHost);\n nodeRootHost = (_nodeRoot2 = nodeRoot) === null || _nodeRoot2 === void 0 ? void 0 : _nodeRoot2.host;\n attached = !!((_nodeRootHost2 = nodeRootHost) !== null && _nodeRootHost2 !== void 0 && (_nodeRootHost2$ownerD = _nodeRootHost2.ownerDocument) !== null && _nodeRootHost2$ownerD !== void 0 && _nodeRootHost2$ownerD.contains(nodeRootHost));\n }\n }\n return attached;\n};\nvar isZeroArea = function isZeroArea(node) {\n var _node$getBoundingClie = node.getBoundingClientRect(),\n width = _node$getBoundingClie.width,\n height = _node$getBoundingClie.height;\n return width === 0 && height === 0;\n};\nvar isHidden = function isHidden(node, _ref) {\n var displayCheck = _ref.displayCheck,\n getShadowRoot = _ref.getShadowRoot;\n // NOTE: visibility will be `undefined` if node is detached from the document\n // (see notes about this further down), which means we will consider it visible\n // (this is legacy behavior from a very long way back)\n // NOTE: we check this regardless of `displayCheck=\"none\"` because this is a\n // _visibility_ check, not a _display_ check\n if (getComputedStyle(node).visibility === 'hidden') {\n return true;\n }\n var isDirectSummary = matches.call(node, 'details>summary:first-of-type');\n var nodeUnderDetails = isDirectSummary ? node.parentElement : node;\n if (matches.call(nodeUnderDetails, 'details:not([open]) *')) {\n return true;\n }\n if (!displayCheck || displayCheck === 'full' || displayCheck === 'legacy-full') {\n if (typeof getShadowRoot === 'function') {\n // figure out if we should consider the node to be in an undisclosed shadow and use the\n // 'non-zero-area' fallback\n var originalNode = node;\n while (node) {\n var parentElement = node.parentElement;\n var rootNode = getRootNode(node);\n if (parentElement && !parentElement.shadowRoot && getShadowRoot(parentElement) === true // check if there's an undisclosed shadow\n ) {\n // node has an undisclosed shadow which means we can only treat it as a black box, so we\n // fall back to a non-zero-area test\n return isZeroArea(node);\n } else if (node.assignedSlot) {\n // iterate up slot\n node = node.assignedSlot;\n } else if (!parentElement && rootNode !== node.ownerDocument) {\n // cross shadow boundary\n node = rootNode.host;\n } else {\n // iterate up normal dom\n node = parentElement;\n }\n }\n node = originalNode;\n }\n // else, `getShadowRoot` might be true, but all that does is enable shadow DOM support\n // (i.e. it does not also presume that all nodes might have undisclosed shadows); or\n // it might be a falsy value, which means shadow DOM support is disabled\n\n // Since we didn't find it sitting in an undisclosed shadow (or shadows are disabled)\n // now we can just test to see if it would normally be visible or not, provided it's\n // attached to the main document.\n // NOTE: We must consider case where node is inside a shadow DOM and given directly to\n // `isTabbable()` or `isFocusable()` -- regardless of `getShadowRoot` option setting.\n\n if (isNodeAttached(node)) {\n // this works wherever the node is: if there's at least one client rect, it's\n // somehow displayed; it also covers the CSS 'display: contents' case where the\n // node itself is hidden in place of its contents; and there's no need to search\n // up the hierarchy either\n return !node.getClientRects().length;\n }\n\n // Else, the node isn't attached to the document, which means the `getClientRects()`\n // API will __always__ return zero rects (this can happen, for example, if React\n // is used to render nodes onto a detached tree, as confirmed in this thread:\n // https://github.com/facebook/react/issues/9117#issuecomment-284228870)\n //\n // It also means that even window.getComputedStyle(node).display will return `undefined`\n // because styles are only computed for nodes that are in the document.\n //\n // NOTE: THIS HAS BEEN THE CASE FOR YEARS. It is not new, nor is it caused by tabbable\n // somehow. Though it was never stated officially, anyone who has ever used tabbable\n // APIs on nodes in detached containers has actually implicitly used tabbable in what\n // was later (as of v5.2.0 on Apr 9, 2021) called `displayCheck=\"none\"` mode -- essentially\n // considering __everything__ to be visible because of the innability to determine styles.\n //\n // v6.0.0: As of this major release, the default 'full' option __no longer treats detached\n // nodes as visible with the 'none' fallback.__\n if (displayCheck !== 'legacy-full') {\n return true; // hidden\n }\n // else, fallback to 'none' mode and consider the node visible\n } else if (displayCheck === 'non-zero-area') {\n // NOTE: Even though this tests that the node's client rect is non-zero to determine\n // whether it's displayed, and that a detached node will __always__ have a zero-area\n // client rect, we don't special-case for whether the node is attached or not. In\n // this mode, we do want to consider nodes that have a zero area to be hidden at all\n // times, and that includes attached or not.\n return isZeroArea(node);\n }\n\n // visible, as far as we can tell, or per current `displayCheck=none` mode, we assume\n // it's visible\n return false;\n};\n\n// form fields (nested) inside a disabled fieldset are not focusable/tabbable\n// unless they are in the _first_ <legend> element of the top-most disabled\n// fieldset\nvar isDisabledFromFieldset = function isDisabledFromFieldset(node) {\n if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(node.tagName)) {\n var parentNode = node.parentElement;\n // check if `node` is contained in a disabled <fieldset>\n while (parentNode) {\n if (parentNode.tagName === 'FIELDSET' && parentNode.disabled) {\n // look for the first <legend> among the children of the disabled <fieldset>\n for (var i = 0; i < parentNode.children.length; i++) {\n var child = parentNode.children.item(i);\n // when the first <legend> (in document order) is found\n if (child.tagName === 'LEGEND') {\n // if its parent <fieldset> is not nested in another disabled <fieldset>,\n // return whether `node` is a descendant of its first <legend>\n return matches.call(parentNode, 'fieldset[disabled] *') ? true : !child.contains(node);\n }\n }\n // the disabled <fieldset> containing `node` has no <legend>\n return true;\n }\n parentNode = parentNode.parentElement;\n }\n }\n\n // else, node's tabbable/focusable state should not be affected by a fieldset's\n // enabled/disabled state\n return false;\n};\nvar isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable(options, node) {\n if (node.disabled ||\n // we must do an inert look up to filter out any elements inside an inert ancestor\n // because we're limited in the type of selectors we can use in JSDom (see related\n // note related to `candidateSelectors`)\n isInert(node) || isHiddenInput(node) || isHidden(node, options) ||\n // For a details element with a summary, the summary element gets the focus\n isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {\n return false;\n }\n return true;\n};\nvar isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable(options, node) {\n if (isNonTabbableRadio(node) || getTabIndex(node) < 0 || !isNodeMatchingSelectorFocusable(options, node)) {\n return false;\n }\n return true;\n};\nvar isValidShadowRootTabbable = function isValidShadowRootTabbable(shadowHostNode) {\n var tabIndex = parseInt(shadowHostNode.getAttribute('tabindex'), 10);\n if (isNaN(tabIndex) || tabIndex >= 0) {\n return true;\n }\n // If a custom element has an explicit negative tabindex,\n // browsers will not allow tab targeting said element's children.\n return false;\n};\n\n/**\n * @param {Array.<Element|CandidateScope>} candidates\n * @returns Element[]\n */\nvar sortByOrder = function sortByOrder(candidates) {\n var regularTabbables = [];\n var orderedTabbables = [];\n candidates.forEach(function (item, i) {\n var isScope = !!item.scopeParent;\n var element = isScope ? item.scopeParent : item;\n var candidateTabindex = getSortOrderTabIndex(element, isScope);\n var elements = isScope ? sortByOrder(item.candidates) : element;\n if (candidateTabindex === 0) {\n isScope ? regularTabbables.push.apply(regularTabbables, elements) : regularTabbables.push(element);\n } else {\n orderedTabbables.push({\n documentOrder: i,\n tabIndex: candidateTabindex,\n item: item,\n isScope: isScope,\n content: elements\n });\n }\n });\n return orderedTabbables.sort(sortOrderedTabbables).reduce(function (acc, sortable) {\n sortable.isScope ? acc.push.apply(acc, sortable.content) : acc.push(sortable.content);\n return acc;\n }, []).concat(regularTabbables);\n};\nvar tabbable = function tabbable(container, options) {\n options = options || {};\n var candidates;\n if (options.getShadowRoot) {\n candidates = getCandidatesIteratively([container], options.includeContainer, {\n filter: isNodeMatchingSelectorTabbable.bind(null, options),\n flatten: false,\n getShadowRoot: options.getShadowRoot,\n shadowRootFilter: isValidShadowRootTabbable\n });\n } else {\n candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));\n }\n return sortByOrder(candidates);\n};\nvar focusable = function focusable(container, options) {\n options = options || {};\n var candidates;\n if (options.getShadowRoot) {\n candidates = getCandidatesIteratively([container], options.includeContainer, {\n filter: isNodeMatchingSelectorFocusable.bind(null, options),\n flatten: true,\n getShadowRoot: options.getShadowRoot\n });\n } else {\n candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorFocusable.bind(null, options));\n }\n return candidates;\n};\nvar isTabbable = function isTabbable(node, options) {\n options = options || {};\n if (!node) {\n throw new Error('No node provided');\n }\n if (matches.call(node, candidateSelector) === false) {\n return false;\n }\n return isNodeMatchingSelectorTabbable(options, node);\n};\nvar focusableCandidateSelector = /* #__PURE__ */candidateSelectors.concat('iframe').join(',');\nvar isFocusable = function isFocusable(node, options) {\n options = options || {};\n if (!node) {\n throw new Error('No node provided');\n }\n if (matches.call(node, focusableCandidateSelector) === false) {\n return false;\n }\n return isNodeMatchingSelectorFocusable(options, node);\n};\n\nexport { focusable, getTabIndex, isFocusable, isTabbable, tabbable };\n//# sourceMappingURL=index.esm.js.map\n","import A11yDialog from \"a11y-dialog\";\nimport { isTabbable } from \"tabbable\";\n\ninterface ModalConfig {\n /** Class which indicates that modal is open */\n classModalIsOpen: string;\n /** Class on body which indicates that modal is open */\n classModalIsOpenBody: string;\n /** Root of page content which should be hidden when modal is open */\n root: string;\n /** Move modal into this element selector (must be unique in DOM) */\n modalsRoot: string;\n}\n\nconst defaultConfig = (): ModalConfig => ({\n /** Class which indicates that modal is open */\n classModalIsOpen: \"is-active\",\n /** Class on body which indicates that modal is open */\n classModalIsOpenBody: \"has-modal\",\n /** Root of page content which should be hidden when modal is open */\n root: \"#root\",\n /** Move modal into this element selector (must be unique in DOM) */\n modalsRoot: \"#root-modals\",\n});\n\ninterface HTMLElementWithModal extends HTMLElement {\n ODS_Modal?: Modal;\n}\n\nexport default class Modal {\n element: HTMLElementWithModal;\n config: ModalConfig;\n instance!: A11yDialog; // Using definite assignment assertion as it's initialized in init()\n\n constructor(element: HTMLElement, config?: Partial<ModalConfig>) {\n this.element = element as HTMLElementWithModal;\n this.config = { ...defaultConfig(), ...config };\n\n this.handleShow = this.handleShow.bind(this);\n this.handleHide = this.handleHide.bind(this);\n this.show = this.show.bind(this);\n this.hide = this.hide.bind(this);\n this.headerFirstItemSpacing = this.headerFirstItemSpacing.bind(this);\n\n Modal.moveToModalRoot = Modal.moveToModalRoot.bind(this);\n Modal.lockBody = Modal.lockBody.bind(this);\n Modal.unlockBody = Modal.unlockBody.bind(this);\n\n this.element.ODS_Modal = this;\n\n this.init();\n\n return this;\n }\n\n static getInstance(el: HTMLElement | null): Modal | null {\n if (!el) return null;\n const modalEl = el as HTMLElementWithModal;\n return modalEl.ODS_Modal || null;\n }\n\n handleShow(el: HTMLElement): void {\n Modal.lockBody();\n if (el) el.classList.add(this.config.classModalIsOpen);\n\n // Long modals can have first focusabble element under the fold, so static content above the fold should be focused instead to prevent undesirable scrolling\n const initialFocusEl = el.querySelector(\"[data-a11y-dialog-initial-focus]\");\n\n if (!initialFocusEl) {\n return;\n }\n\n // set tabindex to -1 so element can't be focused via keyboard\n if (!isTabbable(initialFocusEl as HTMLElement)) {\n initialFocusEl.setAttribute(\"tabindex\", \"-1\");\n }\n\n (initialFocusEl as HTMLElement).focus();\n }\n\n handleHide(el: HTMLElement): void {\n Modal.unlockBody();\n if (el) el.classList.remove(this.config.classModalIsOpen);\n }\n\n show(): void {\n this.instance.show();\n }\n\n hide(): void {\n this.instance.hide();\n }\n\n headerFirstItemSpacing(): void {\n /**\n * Target the first element which is not .btn inside .modal__header and add margin-right 40px.\n * css has its limitations and it is not possible with pseudo selectors\n */\n const modalHeader = this.element.querySelector(\".modal__header\");\n if (modalHeader) {\n const firstNonBtnElement = Array.from(modalHeader.children).find(\n (child) => !child.classList.contains(\"btn\"),\n );\n if (firstNonBtnElement) {\n (firstNonBtnElement as HTMLElement).style.marginRight = \"40px\";\n }\n }\n }\n\n init(): void {\n if (this.config.modalsRoot) {\n Modal.moveToModalRoot(\n this.element,\n document.querySelector(this.config.modalsRoot),\n );\n }\n\n this.instance = new A11yDialog(this.element);\n\n this.instance.on(\"show\", (event: Event) => {\n const dialogEl = event.currentTarget as HTMLElement;\n this.handleShow(dialogEl);\n });\n\n this.instance.on(\"hide\", (event: Event) => {\n const dialogEl = event.currentTarget as HTMLElement;\n this.handleHide(dialogEl);\n });\n\n this.headerFirstItemSpacing();\n }\n\n destroy(): void {\n this.instance.destroy();\n this.element.ODS_Modal = this;\n }\n\n update(): void {\n this.destroy();\n this.init();\n }\n\n static moveToModalRoot(el: HTMLElement, container: Element | null): void {\n if (container) {\n container.appendChild(el);\n } else {\n console.warn(\n `\\`modalsRoot: ${(this as unknown as Modal).config?.modalsRoot}\\` element is not present in DOM. Modal will be placed inside content which can affect it's styling. Please provide \\`modalsRoot\\` selector (should be placed outside of main contant, usualy in end of <body /> tag)`,\n );\n }\n }\n\n static lockBody(className?: string, root?: string): void {\n const actualClassName =\n className || (this as unknown as Modal).config?.classModalIsOpenBody;\n const actualRoot = root || (this as unknown as Modal).config?.root;\n\n const container = document.querySelector(actualRoot);\n // store current scrollTop value\n const scrollTop =\n document.documentElement.scrollTop || document.body.scrollTop;\n document.body.setAttribute(\"data-lock-scrolltop\", scrollTop.toString());\n\n // add locking styles to body\n document.body.style.height = \"100%\";\n document.body.style.width = \"100%\";\n document.body.style.overflow = \"hidden\";\n document.body.style.position = \"fixed\";\n\n // add locking styles to scrollTop\n if (container) {\n (container as HTMLElement).style.height = \"100%\";\n (container as HTMLElement).style.width = \"100%\";\n (container as HTMLElement).style.overflow = \"hidden\";\n (container as HTMLElement).style.position = \"fixed\";\n // scroll page-container to scrollTop position\n (container as HTMLElement).scrollTop = scrollTop;\n }\n\n // add modal class\n document.body.classList.add(actualClassName);\n\n // attempt to scroll top fixed position\n window.requestAnimationFrame(() => {\n window.scrollTo(0, scrollTop);\n });\n }\n\n static unlockBody(className?: string, root?: string): void {\n const actualClassName =\n className || (this as unknown as Modal).config?.classModalIsOpenBody;\n const actualRoot = root || (this as unknown as Modal).config?.root;\n\n const container = document.querySelector(actualRoot);\n const scrollTop = document.body.getAttribute(\"data-lock-scrolltop\") || \"0\";\n\n // remove locking styles from body\n document.body.style.height = \"\";\n document.body.style.width = \"\";\n document.body.style.overflow = \"\";\n document.body.style.position = \"\";\n\n // add modal class\n document.body.classList.remove(actualClassName);\n\n // remove locking styles from page-container\n if (container) {\n (container as HTMLElement).style.height = \"\";\n (container as HTMLElement).style.width = \"\";\n (container as HTMLElement).style.overflow = \"\";\n (container as HTMLElement).style.position = \"\";\n }\n\n // set scroll position back\n window.requestAnimationFrame(() => {\n window.scrollTo({\n left: 0,\n top: parseInt(scrollTop, 10),\n behavior: \"instant\" as ScrollBehavior,\n });\n });\n }\n}\n","import { IconButton } from \"../Button\";\nimport { IconButtonProps } from \"../Button/IconButton\";\nimport { ButtonType } from \"../Button/Button\";\n\ninterface ExtendedIconButtonProps extends IconButtonProps {\n type?: ButtonType;\n}\n\ntype ModalCloseButtonProps = Omit<ExtendedIconButtonProps, \"iconName\">;\n\nconst ModalCloseButton: React.FC<ModalCloseButtonProps> = (props) => (\n <IconButton\n iconName=\"delete\"\n type=\"ghost\"\n isSquare\n size=\"small\"\n className=\"modal__close\"\n data-a11y-dialog-hide\n aria-label=\"Zatvoriť\"\n {...props}\n />\n);\n\nModalCloseButton.displayName = \"ModalCloseButton\";\n\nexport { ModalCloseButton };\n","import cx from \"classnames\";\n\nexport const sizes = [\"small\", \"large\"] as const;\n\nexport type TitleSize = (typeof sizes)[number];\n\ninterface ModalTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {\n size?: TitleSize;\n className?: string;\n children?: React.ReactNode;\n}\n\nconst ModalTitle: React.FC<ModalTitleProps> = ({\n size,\n className,\n children,\n ...other\n}) => (\n <h2\n className={cx(className, {\n \"display-3\": size === \"large\",\n h2: size === \"small\",\n })}\n {...other}\n >\n {children}\n </h2>\n);\n\nModalTitle.displayName = \"ModalTitle\";\n\nexport { ModalTitle };\n","import React from \"react\";\nimport cx from \"classnames\";\n\nexport const colors = [\n \"white\",\n \"gray\",\n \"orange\",\n \"orange-dark\",\n \"black\",\n \"blue\",\n \"green\",\n \"pink\",\n \"violet\",\n \"yellow\",\n] as const;\n\nexport type BodyColor = (typeof colors)[number];\n\ninterface ModalBodyProps extends React.HTMLAttributes<HTMLDivElement> {\n color?: BodyColor;\n className?: string;\n children?: React.ReactNode;\n}\n\nconst CLASS_ROOT = \"modal__body\";\n\nconst ModalBody: React.FC<ModalBodyProps> = ({\n color,\n className,\n children,\n ...other\n}) => (\n <div\n className={cx(CLASS_ROOT, className, {\n [`bg-${color}`]: color,\n [`${CLASS_ROOT}--colorful`]: color,\n })}\n {...other}\n >\n {children}\n </div>\n);\n\nModalBody.displayName = \"ModalBody\";\n\nexport { ModalBody };\n","\"use client\";\n\nimport React, { useEffect } from \"react\";\nimport cx from \"classnames\";\n\nimport { useStatic } from \"../../utils/hooks\";\nimport ConditionalWrapper from \"../../utils/ConditionalWrapper\";\nimport { Button } from \"../Button\";\nimport { Buttons } from \"../Buttons\";\n\n// Use JavaScript version for now, then convert to TypeScript later\nimport ModalStatic from \"./Modal.static\";\nimport { ModalCloseButton } from \"./ModalCloseButton\";\nimport { ModalTitle } from \"./ModalTitle\";\nimport { ModalBody } from \"./ModalBody\";\n\nconst CLASS_ROOT = \"modal\";\n\nexport const sizes = [\"small\", \"large\"] as const;\n\nexport type ModalSize = (typeof sizes)[number];\n\ninterface ModalProps extends React.HTMLAttributes<HTMLDivElement> {\n /** Action buttons in footer */\n actions: React.ReactNode[];\n /** Full height on XS */\n fullHeight?: boolean;\n /** Sticky footer is visible when modal content is too long */\n hasStickyFooter?: boolean;\n /** Html id attribute. */\n id: string;\n /** isActive controls if modal is opened or closed */\n isActive?: boolean;\n /** Disable plugin initialization. */\n noInit?: boolean;\n /** Custom body renderer. Receives title as function param. Returned element(s) must contain a title. */\n renderBody?: () => React.ReactNode;\n /** Custom footer renderer. Receives actions as function param. Returned element(s) must contain the actions. */\n renderFooter?: () => React.ReactNode;\n /** Custom main title renderer. Receives id as function param. Returned element must be a heading and use this id for accessibility purposes */\n renderTitle?: (id: string) => React.ReactNode;\n /** Modal dialog size */\n size?: ModalSize;\n /** Main title */\n title?: string;\n /** Child elements */\n children?: React.ReactNode;\n /** Additional CSS classes */\n className?: string;\n}\n\nconst defaultProps = {\n actions: [\n <Button key=\"1\" data-a11y-dialog-hide>\n Zatvoriť\n </Button>,\n ],\n noInit: false,\n};\n\nconst Modal: React.FC<ModalProps> = ({\n actions = defaultProps.actions,\n className,\n children,\n hasStickyFooter,\n id,\n noInit = defaultProps.noInit,\n isActive,\n size,\n title,\n renderBody,\n renderTitle,\n renderFooter,\n fullHeight,\n ...other\n}) => {\n const [modalRef, instance] = useStatic(ModalStatic);\n\n useEffect(() => {\n if (isActive && instance && (instance as any).current) {\n (instance as any).current.show();\n }\n }, [instance, isActive]);\n\n const dialogClasses = cx(\n `${CLASS_ROOT}__dialog`,\n {\n [`${CLASS_ROOT}__dialog--${size}`]: size,\n [`${CLASS_ROOT}__dialog--full-height`]: fullHeight,\n },\n className,\n );\n\n const titleId = `${id}-title`;\n\n const dialogTitle = renderTitle ? (\n renderTitle(id)\n ) : (\n <ModalTitle id={titleId} size={size} data-a11y-dialog-initial-focus>\n {title}\n </ModalTitle>\n );\n\n return (\n <div\n id={id}\n data-modal={!noInit}\n className={CLASS_ROOT}\n ref={modalRef}\n role=\"dialog\"\n aria-hidden=\"true\"\n aria-modal=\"true\"\n aria-labelledby={titleId}\n >\n <div className=\"modal__overlay\" tabIndex={-1} data-a11y-dialog-hide />\n <div className={dialogClasses} role=\"document\" {...other}>\n <div className={`${CLASS_ROOT}__header`}>\n <ModalCloseButton />\n {dialogTitle}\n </div>\n {renderBody ? renderBody() : <ModalBody>{children}</ModalBody>}\n <div\n className={cx(`${CLASS_ROOT}__footer`, {\n [`${CLASS_ROOT}__footer--sticky`]: hasStickyFooter,\n })}\n >\n {renderFooter ? (\n renderFooter()\n ) : (\n <ConditionalWrapper\n condition={actions.length > 1}\n wrapper={<Buttons />}\n >\n {actions.map((action) => action)}\n </ConditionalWrapper>\n )}\n </div>\n </div>\n </div>\n );\n};\n\nModal.displayName = \"Modal\";\n\nexport { Modal };\n"],"names":["useStatic","StaticClass","config","arguments","length","undefined","instance","useRef","configRef","useEffect","current","ref","useCallback","node","currentConfig","_b","_a","update","call","destroy","reactIsModule","require$$0","require$$1","require$$2","require$$3","require$$4","propTypesModule","propTypes","condition","bool","wrapper","element","ConditionalWrapper","_ref","children","cloneElement","props","React","jsxRuntimeModule","CLASS_ROOT","Button","forwardRef","className","_props$htmlType","htmlType","href","isActive","isDefault","isDisabled","isInverse","size","isSquare","type","elemRef","other","__rest","classes","cx","_defineProperty","concat","anchorProps","_jsx","_objectSpread","buttonProps","disabled","displayName","SpritePathContext","createContext","Icon","alt","color","name","_a$spritePath","spritePath","contextPath","useContext","_jsxs","role","xlinkHref","IconButton","iconName","_a$iconPosition","iconPosition","iconClassName","IconComponent","Buttons","isStackedOnXs","isHidden","defaultConfig","classModalIsOpen","classModalIsOpenBody","root","modalsRoot","Modal","_classCallCheck","Object","assign","handleShow","bind","handleHide","show","hide","headerFirstItemSpacing","moveToModalRoot","lockBody","unlockBody","ODS_Modal","init","_createClass","key","value","el","classList","add","initialFocusEl","querySelector","isTabbable","setAttribute","focus","remove","modalHeader","firstNonBtnElement","Array","from","find","child","contains","style","marginRight","_this","document","A11yDialog","on","event","dialogEl","currentTarget","getInstance","modalEl","container","appendChild","console","warn","actualClassName","actualRoot","scrollTop","documentElement","body","toString","height","width","overflow","position","window","requestAnimationFrame","scrollTo","getAttribute","left","top","parseInt","behavior","ModalCloseButton","ModalTitle","h2","ModalBody","defaultProps","actions","noInit","_a$actions","hasStickyFooter","id","_a$noInit","title","renderBody","renderTitle","renderFooter","fullHeight","_useStatic","ModalStatic","_useStatic2","_slicedToArray","modalRef","dialogClasses","titleId","dialogTitle","tabIndex","map","action"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA0BA;AACO,SAAS,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE;AAC7B,IAAI,IAAI,CAAC,GAAG,EAAE,CAAC;AACf,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,MAAM,CAAC,SAA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,GAAK,CAAC;AAEV;AAEA7F,KAAK,CAAC5B,WAAW,GAAG,OAAO;;;;","x_google_ignoreList":[0,1,3,4,5,6,7,8,9,10,11,12,14,15,16,22,23]}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../node_modules/tslib/tslib.es6.js","../../../node_modules/classnames/index.js","../../../src/utils/ConditionalWrapper.tsx","../../../node_modules/react/cjs/react-jsx-runtime.development.js","../../../node_modules/react/jsx-runtime.js","../../../node_modules/react/cjs/react-jsx-runtime.production.js","../../../src/components/Button/Button.tsx","../../../src/components/Icon/SpritePathContext.tsx","../../../src/components/Icon/Icon.tsx","../../../src/components/Button/IconButton.tsx","../../../src/components/Buttons/Buttons.tsx","../../../node_modules/a11y-dialog/dist/a11y-dialog.esm.js","../../../node_modules/tabbable/dist/index.esm.js","../../../src/components/Modal/Modal.static.ts","../../../src/components/Modal/ModalCloseButton.tsx","../../../src/components/Modal/ModalTitle.tsx","../../../src/components/Modal/ModalBody.tsx","../../../src/components/Modal/Modal.tsx","../../../src/utils/hooks.ts"],"sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.unshift(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.unshift(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n};\r\n\r\nexport function __runInitializers(thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n};\r\n\r\nexport function __propKey(x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n};\r\n\r\nexport function __setFunctionName(f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n};\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\r\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\r\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nvar ownKeys = function(o) {\r\n ownKeys = Object.getOwnPropertyNames || function (o) {\r\n var ar = [];\r\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\r\n return ar;\r\n };\r\n return ownKeys(o);\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n\r\nexport function __addDisposableResource(env, value, async) {\r\n if (value !== null && value !== void 0) {\r\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\r\n var dispose, inner;\r\n if (async) {\r\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\r\n dispose = value[Symbol.asyncDispose];\r\n }\r\n if (dispose === void 0) {\r\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\r\n dispose = value[Symbol.dispose];\r\n if (async) inner = dispose;\r\n }\r\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\r\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\r\n env.stack.push({ value: value, dispose: dispose, async: async });\r\n }\r\n else if (async) {\r\n env.stack.push({ async: true });\r\n }\r\n return value;\r\n\r\n}\r\n\r\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n};\r\n\r\nexport function __disposeResources(env) {\r\n function fail(e) {\r\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\r\n env.hasError = true;\r\n }\r\n var r, s = 0;\r\n function next() {\r\n while (r = env.stack.pop()) {\r\n try {\r\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\r\n if (r.dispose) {\r\n var result = r.dispose.call(r.value);\r\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\r\n }\r\n else s |= 1;\r\n }\r\n catch (e) {\r\n fail(e);\r\n }\r\n }\r\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\r\n if (env.hasError) throw env.error;\r\n }\r\n return next();\r\n}\r\n\r\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\r\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\r\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\r\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\r\n });\r\n }\r\n return path;\r\n}\r\n\r\nexport default {\r\n __extends: __extends,\r\n __assign: __assign,\r\n __rest: __rest,\r\n __decorate: __decorate,\r\n __param: __param,\r\n __esDecorate: __esDecorate,\r\n __runInitializers: __runInitializers,\r\n __propKey: __propKey,\r\n __setFunctionName: __setFunctionName,\r\n __metadata: __metadata,\r\n __awaiter: __awaiter,\r\n __generator: __generator,\r\n __createBinding: __createBinding,\r\n __exportStar: __exportStar,\r\n __values: __values,\r\n __read: __read,\r\n __spread: __spread,\r\n __spreadArrays: __spreadArrays,\r\n __spreadArray: __spreadArray,\r\n __await: __await,\r\n __asyncGenerator: __asyncGenerator,\r\n __asyncDelegator: __asyncDelegator,\r\n __asyncValues: __asyncValues,\r\n __makeTemplateObject: __makeTemplateObject,\r\n __importStar: __importStar,\r\n __importDefault: __importDefault,\r\n __classPrivateFieldGet: __classPrivateFieldGet,\r\n __classPrivateFieldSet: __classPrivateFieldSet,\r\n __classPrivateFieldIn: __classPrivateFieldIn,\r\n __addDisposableResource: __addDisposableResource,\r\n __disposeResources: __disposeResources,\r\n __rewriteRelativeImportExtension: __rewriteRelativeImportExtension,\r\n};\r\n","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","import React, { cloneElement, ReactElement, ReactNode } from \"react\";\n\ninterface ConditionalWrapperProps {\n /** When to wrap children */\n condition: boolean;\n /** Wrapper element */\n wrapper: ReactElement;\n children: ReactNode;\n}\n\nconst ConditionalWrapper: React.FC<ConditionalWrapperProps> = ({\n condition,\n wrapper,\n children,\n}) => {\n if (condition) {\n return cloneElement(wrapper, undefined, children);\n }\n return children;\n};\n\nConditionalWrapper.displayName = \"ConditionalWrapper\";\n\nexport default ConditionalWrapper;\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return (type.displayName || \"Context\") + \".Provider\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%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://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(\n type,\n key,\n self,\n source,\n owner,\n props,\n debugStack,\n debugTask\n ) {\n self = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== self ? self : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n source,\n self,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n self,\n source,\n getOwner(),\n maybeKey,\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_ELEMENT_TYPE &&\n node._store &&\n (node._store.validated = 1);\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\");\n Symbol.for(\"react.provider\");\n var REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey, source, self) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n source,\n self,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey, source, self) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n source,\n self,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","import React from \"react\";\nimport cx from \"classnames\";\n\nexport type ButtonSize = \"small\" | \"large\";\nexport type ButtonType = \"primary\" | \"fill\" | \"ghost\";\n\ninterface CommonProps {\n elemRef?: React.Ref<any>;\n htmlType?: \"button\" | \"submit\" | \"reset\";\n isActive?: boolean;\n isDefault?: boolean;\n isDisabled?: boolean;\n colorScheme?: \"dark\" | \"light\";\n isSquare?: boolean;\n size?: ButtonSize;\n type?: ButtonType;\n className?: string;\n children?: React.ReactNode;\n}\n\ntype AnchorProps = CommonProps &\n Omit<\n React.AnchorHTMLAttributes<HTMLAnchorElement>,\n keyof CommonProps | \"type\" | \"ref\"\n > & {\n href: string;\n };\n\ntype NativeButtonProps = CommonProps &\n Omit<\n React.ButtonHTMLAttributes<HTMLButtonElement>,\n keyof CommonProps | \"href\" | \"ref\"\n > & {\n href?: undefined;\n };\n\nexport type ButtonProps = AnchorProps | NativeButtonProps;\n\nconst CLASS_ROOT = \"btn\";\n\nconst Button = React.forwardRef<any, ButtonProps>((props, ref) => {\n const {\n className,\n children,\n htmlType = \"button\",\n href,\n isActive,\n isDefault,\n isDisabled,\n colorScheme,\n size,\n isSquare,\n type,\n elemRef,\n ...other\n } = props;\n\n const classes = cx(\n CLASS_ROOT,\n {\n [`${CLASS_ROOT}--square`]: isSquare,\n [`${CLASS_ROOT}--${size}`]: size,\n [`${CLASS_ROOT}--${type}`]: type,\n [`${CLASS_ROOT}--default`]: isDefault,\n \"is-dark\": colorScheme === \"dark\",\n \"is-light\": colorScheme === \"light\",\n \"is-active\": isActive,\n },\n className,\n );\n\n if (href) {\n // Anchor element\n const anchorProps = other as React.AnchorHTMLAttributes<HTMLAnchorElement>;\n return (\n <a\n href={href}\n className={classes}\n aria-disabled={isDisabled ? \"true\" : undefined}\n ref={elemRef || ref}\n {...anchorProps}\n >\n {children}\n </a>\n );\n } else {\n // Button element\n const buttonProps = other as React.ButtonHTMLAttributes<HTMLButtonElement>;\n return (\n <button\n type={htmlType}\n className={classes}\n disabled={isDisabled ? true : undefined}\n aria-disabled={isDisabled ? \"true\" : undefined}\n ref={elemRef || ref}\n {...buttonProps}\n >\n {children}\n </button>\n );\n }\n});\n\nButton.displayName = \"Button\";\n\nexport { Button };\n","\"use client\";\n\nimport React, { ReactNode } from \"react\";\n\nexport const SpritePathContext = React.createContext(\"/sprite.svg\");\n\ninterface SpritePathProviderProps {\n children: ReactNode;\n value?: string;\n}\n\nexport const SpritePathProvider: React.FC<SpritePathProviderProps> = ({\n children,\n value = \"/sprite.svg\",\n ...other\n}) => {\n return (\n <SpritePathContext.Provider value={value} {...other}>\n {React.Children.only(children)}\n </SpritePathContext.Provider>\n );\n};\n","\"use client\";\n\nimport React, { useContext } from \"react\";\nimport cx from \"classnames\";\nimport { SpritePathContext } from \"./SpritePathContext\";\n\nexport type IconColor = \"info\" | \"success\" | \"warning\" | \"danger\" | \"orange\";\nexport type IconSize =\n | \"small\"\n | \"medium\"\n | \"large\"\n | \"xlarge\"\n | \"xxlarge\"\n | \"huge\";\n\nexport interface IconProps extends React.SVGAttributes<SVGSVGElement> {\n /** Accessible label for the icon. */\n alt?: string;\n /** Icon color. */\n color?: IconColor;\n /** Icon name (required). */\n name: string;\n /** Icon size. */\n size?: IconSize;\n /** Path to the SVG sprite. */\n spritePath?: string;\n className?: string;\n}\n\nconst CLASS_ROOT = \"icon\";\n\nconst Icon: React.FC<IconProps> = ({\n className,\n alt,\n color,\n name,\n size,\n spritePath = \"/sprite.svg\",\n ...other\n}) => {\n const contextPath = useContext(SpritePathContext);\n\n const classes = cx(\n CLASS_ROOT,\n {\n [`${CLASS_ROOT}--${size}`]: size,\n [`${CLASS_ROOT}--${color}`]: color,\n },\n className,\n );\n\n return (\n <svg\n className={classes}\n aria-hidden={alt !== undefined ? undefined : \"true\"}\n role={alt !== undefined ? \"img\" : undefined}\n {...other}\n >\n {alt !== undefined && alt.length > 0 && <title>{alt}</title>}\n <use\n xlinkHref={\n spritePath !== \"/sprite.svg\" || typeof contextPath === \"undefined\"\n ? `${spritePath}#${name}`\n : `${contextPath}#${name}`\n }\n />\n </svg>\n );\n};\n\nIcon.displayName = \"Icon\";\n\nexport { Icon };\n","import React from \"react\";\nimport cx from \"classnames\";\n\nimport { Icon } from \"../Icon\";\nimport { Button, ButtonSize } from \"./Button\";\n\nexport type IconPosition = \"left\" | \"right\";\n\nexport interface IconButtonProps\n extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, \"type\" | \"ref\"> {\n /** Name of the icon */\n iconName: string;\n /** Position of the icon */\n iconPosition?: IconPosition;\n /** Class of the icon */\n iconClassName?: string;\n /** Button size. Also affects icon size */\n size?: ButtonSize;\n /** Use square button. Children are rendered as visually hidden */\n isSquare?: boolean;\n children?: React.ReactNode;\n}\n\nconst IconButton = React.forwardRef<HTMLButtonElement, IconButtonProps>(\n (\n {\n iconName,\n iconPosition = \"left\",\n iconClassName,\n children,\n size,\n isSquare,\n ...other\n },\n ref,\n ) => {\n const IconComponent = ({ className, ...props }: { className?: string }) => (\n <Icon\n name={iconName}\n size={size ?? \"medium\"}\n className={cx(iconClassName, className)}\n {...props}\n />\n );\n\n if (isSquare) {\n return (\n <Button size={size} isSquare {...other} ref={ref}>\n <IconComponent />\n <span className=\"visually-hidden\">{children}</span>\n </Button>\n );\n }\n\n return (\n <Button ref={ref} size={size} {...other}>\n {iconPosition === \"left\" && <IconComponent className=\"btn__icon-left\" />}\n {children}\n {iconPosition === \"right\" && <IconComponent className=\"btn__icon-right\" />}\n </Button>\n );\n },\n);\n\nIconButton.displayName = \"IconButton\";\n\nexport { IconButton };\n","import cx from \"classnames\";\n\ninterface ButtonsProps extends React.HTMLAttributes<HTMLDivElement> {\n /** On XS viewport, forces buttons to stack vertically and span the available width. */\n isStackedOnXs?: boolean;\n className?: string;\n children?: React.ReactNode;\n}\n\nconst CLASS_ROOT = \"buttons\";\n\nconst Buttons: React.FC<ButtonsProps> = ({\n isStackedOnXs,\n children,\n className,\n ...other\n}) => (\n <div\n className={cx(\n CLASS_ROOT,\n {\n [`${CLASS_ROOT}--stack-on-xs`]: isStackedOnXs,\n },\n className,\n )}\n {...other}\n >\n {children}\n </div>\n);\n\nButtons.displayName = \"Buttons\";\n\nexport { Buttons };\n","const not = {\n inert: ':not([inert]):not([inert] *)',\n negTabIndex: ':not([tabindex^=\"-\"])',\n disabled: ':not(:disabled)',\n};\n\nvar focusableSelectors = [\n `a[href]${not.inert}${not.negTabIndex}`,\n `area[href]${not.inert}${not.negTabIndex}`,\n `input:not([type=\"hidden\"]):not([type=\"radio\"])${not.inert}${not.negTabIndex}${not.disabled}`,\n `input[type=\"radio\"]${not.inert}${not.negTabIndex}${not.disabled}`,\n `select${not.inert}${not.negTabIndex}${not.disabled}`,\n `textarea${not.inert}${not.negTabIndex}${not.disabled}`,\n `button${not.inert}${not.negTabIndex}${not.disabled}`,\n `details${not.inert} > summary:first-of-type${not.negTabIndex}`,\n // Discard until Firefox supports `:has()`\n // See: https://github.com/KittyGiraudel/focusable-selectors/issues/12\n // `details:not(:has(> summary))${not.inert}${not.negTabIndex}`,\n `iframe${not.inert}${not.negTabIndex}`,\n `audio[controls]${not.inert}${not.negTabIndex}`,\n `video[controls]${not.inert}${not.negTabIndex}`,\n `[contenteditable]${not.inert}${not.negTabIndex}`,\n `[tabindex]${not.inert}${not.negTabIndex}`,\n];\n\n/**\n * Set the focus to the first element with `autofocus` with the element or the\n * element itself.\n */\nfunction focus(el) {\n (el.querySelector('[autofocus]') || el).focus();\n}\n/**\n * Get the first and last focusable elements within a given element.\n */\nfunction getFocusableEdges(el) {\n // Check for a focusable element within the subtree of the given element.\n const firstEl = findFocusableEl(el, true);\n // Only if we find the first element do we need to look for the last one. If\n // there’s no last element, we set `lastEl` as a reference to `firstEl` so\n // that the returned array is still always of length 2.\n const lastEl = firstEl ? findFocusableEl(el, false) || firstEl : null;\n return [firstEl, lastEl];\n}\n/**\n * Find the first focusable element inside the given element if `forward` is\n * truthy or the last focusable element otherwise.\n */\nfunction findFocusableEl(el, forward) {\n // If we’re walking forward, check if this element is focusable, and return it\n // immediately if it is.\n if (forward && isFocusable(el))\n return el;\n // We should only search the subtree of this element if it can have focusable\n // children.\n if (canHaveFocusableChildren(el)) {\n // Start walking the DOM tree, looking for focusable elements.\n // Case 1: If this element has a shadow root, search it recursively.\n if (el.shadowRoot) {\n // Descend into this subtree.\n let next = getNextChildEl(el.shadowRoot, forward);\n // Traverse the siblings, searching the subtree of each one for focusable\n // elements.\n while (next) {\n const focusableEl = findFocusableEl(next, forward);\n if (focusableEl)\n return focusableEl;\n next = getNextSiblingEl(next, forward);\n }\n }\n // Case 2: If this element is a slot for a Custom Element, search its\n // assigned elements recursively.\n else if (el.localName === 'slot') {\n const assignedElements = el.assignedElements({\n flatten: true,\n });\n if (!forward)\n assignedElements.reverse();\n for (const assignedElement of assignedElements) {\n const focusableEl = findFocusableEl(assignedElement, forward);\n if (focusableEl)\n return focusableEl;\n }\n }\n // Case 3: this is a regular Light DOM element. Search its subtree.\n else {\n // Descend into this subtree.\n let next = getNextChildEl(el, forward);\n // Traverse siblings, searching the subtree of each one\n // for focusable elements.\n while (next) {\n const focusableEl = findFocusableEl(next, forward);\n if (focusableEl)\n return focusableEl;\n next = getNextSiblingEl(next, forward);\n }\n }\n }\n // If we’re walking backward, we want to check the element’s entire subtree\n // before checking the element itself. If this element is focusable, return\n // it.\n if (!forward && isFocusable(el))\n return el;\n return null;\n}\nfunction getNextChildEl(el, forward) {\n return forward ? el.firstElementChild : el.lastElementChild;\n}\nfunction getNextSiblingEl(el, forward) {\n return forward ? el.nextElementSibling : el.previousElementSibling;\n}\n/**\n * Determine if an element is hidden from the user.\n */\nconst isHidden = (el) => {\n // Browsers hide all non-<summary> descendants of closed <details> elements\n // from user interaction, but those non-<summary> elements may still match our\n // focusable-selectors and may still have dimensions, so we need a special\n // case to ignore them.\n if (el.matches('details:not([open]) *') &&\n !el.matches('details>summary:first-of-type'))\n return true;\n // If this element has no painted dimensions, it's hidden.\n return !(el.offsetWidth || el.offsetHeight || el.getClientRects().length);\n};\n/**\n * Determine if an element is focusable and has user-visible painted dimensions.\n */\nconst isFocusable = (el) => {\n // A shadow host that delegates focus will never directly receive focus,\n // even with `tabindex=0`. Consider our <fancy-button> custom element, which\n // delegates focus to its shadow button:\n //\n // <fancy-button tabindex=\"0\">\n // #shadow-root\n // <button><slot></slot></button>\n // </fancy-button>\n //\n // The browser acts as as if there is only one focusable element – the shadow\n // button. Our library should behave the same way.\n if (el.shadowRoot?.delegatesFocus)\n return false;\n return el.matches(focusableSelectors.join(',')) && !isHidden(el);\n};\n/**\n * Determine if an element can have focusable children. Useful for bailing out\n * early when walking the DOM tree.\n * @example\n * This div is inert, so none of its children can be focused, even though they\n * meet our criteria for what is focusable. Once we check the div, we can skip\n * the rest of the subtree.\n * ```html\n * <div inert>\n * <button>Button</button>\n * <a href=\"#\">Link</a>\n * </div>\n * ```\n */\nfunction canHaveFocusableChildren(el) {\n // The browser will never send focus into a Shadow DOM if the host element\n // has a negative tabindex. This applies to both slotted Light DOM Shadow DOM\n // children\n if (el.shadowRoot && el.getAttribute('tabindex') === '-1')\n return false;\n // Elemments matching this selector are either hidden entirely from the user,\n // or are visible but unavailable for interaction. Their descentants can never\n // receive focus.\n return !el.matches(':disabled,[hidden],[inert]');\n}\n/**\n * Get the active element, accounting for Shadow DOM subtrees.\n * @author Cory LaViska\n * @see: https://www.abeautifulsite.net/posts/finding-the-active-element-in-a-shadow-root/\n */\nfunction getActiveEl(root = document) {\n const activeEl = root.activeElement;\n if (!activeEl)\n return null;\n // If there’s a shadow root, recursively find the active element within it.\n // If the recursive call returns null, return the active element\n // of the top-level Document.\n if (activeEl.shadowRoot)\n return getActiveEl(activeEl.shadowRoot) || document.activeElement;\n // If not, we can just return the active element\n return activeEl;\n}\n/**\n * Trap the focus inside the given element\n */\nfunction trapTabKey(el, event) {\n const [firstFocusableEl, lastFocusableEl] = getFocusableEdges(el);\n // If there are no focusable children in the dialog, prevent the user from\n // tabbing out of it\n if (!firstFocusableEl)\n return event.preventDefault();\n const activeEl = getActiveEl();\n // If the SHIFT key is pressed while tabbing (moving backwards) and the\n // currently focused item is the first one, move the focus to the last\n // focusable item from the dialog element\n if (event.shiftKey && activeEl === firstFocusableEl) {\n // @ts-ignore: we know that `lastFocusableEl` is not null here\n lastFocusableEl.focus();\n event.preventDefault();\n }\n // If the SHIFT key is not pressed (moving forwards) and the currently focused\n // item is the last one, move the focus to the first focusable item from the\n // dialog element\n else if (!event.shiftKey && activeEl === lastFocusableEl) {\n firstFocusableEl.focus();\n event.preventDefault();\n }\n}\n/**\n * Find the closest element to the given element matching the given selector,\n * accounting for Shadow DOM subtrees.\n * @author Louis St-Amour\n * @see: https://stackoverflow.com/a/56105394\n */\nfunction closest(selector, base) {\n function from(el) {\n if (!el || el === document || el === window)\n return null;\n // Reading the `assignedSlot` property from the element (as suggested by the\n // aforementioned StackOverflow answer) is not enough, because it does not\n // take into consideration elements nested deeply within a <slot>. For these\n // elements, the `assignedSlot` property is `null` as it is only specified\n // for top-level elements within a <slot>. To still find the closest <slot>,\n // we walk up the tree looking for the `assignedSlot` property.\n const slot = findAssignedSlot(el);\n if (slot)\n el = slot;\n return (el.closest(selector) ||\n from(el.getRootNode().host));\n }\n return from(base);\n}\nfunction findAssignedSlot(node) {\n return (node.assignedSlot ||\n (node.parentNode ? findAssignedSlot(node.parentNode) : null));\n}\n\nconst SCOPE = 'data-a11y-dialog';\nclass A11yDialog {\n $el;\n id;\n previouslyFocused;\n shown;\n constructor(element) {\n this.$el = element;\n this.id = this.$el.getAttribute(SCOPE) || this.$el.id;\n this.previouslyFocused = null;\n this.shown = false;\n this.maintainFocus = this.maintainFocus.bind(this);\n this.bindKeypress = this.bindKeypress.bind(this);\n this.handleTriggerClicks = this.handleTriggerClicks.bind(this);\n this.show = this.show.bind(this);\n this.hide = this.hide.bind(this);\n this.$el.setAttribute('aria-hidden', 'true');\n this.$el.setAttribute('aria-modal', 'true');\n this.$el.setAttribute('tabindex', '-1');\n if (!this.$el.hasAttribute('role')) {\n this.$el.setAttribute('role', 'dialog');\n }\n document.addEventListener('click', this.handleTriggerClicks, true);\n }\n /**\n * Destroy the current instance (after making sure the dialog has been hidden)\n * and remove all associated listeners from dialog openers and closers\n */\n destroy() {\n // Dispatch a `destroy` event\n const destroyEvent = this.fire('destroy');\n // If the event was prevented, do not continue with the normal behavior\n if (destroyEvent.defaultPrevented)\n return this;\n // Hide the dialog to avoid destroying an open instance\n this.hide();\n // Remove the click event delegates for our openers and closers\n document.removeEventListener('click', this.handleTriggerClicks, true);\n // Clone and replace the dialog element to prevent memory leaks caused by\n // event listeners that the author might not have cleaned up.\n this.$el.replaceWith(this.$el.cloneNode(true));\n return this;\n }\n /**\n * Show the dialog element, trap the current focus within it, listen for some\n * specific key presses and fire all registered callbacks for `show` event\n */\n show(event) {\n // If the dialog is already open, abort\n if (this.shown)\n return this;\n // Dispatch a `show` event\n const showEvent = this.fire('show', event);\n // If the event was prevented, do not continue with the normal behavior\n if (showEvent.defaultPrevented)\n return this;\n // Keep a reference to the currently focused element to be able to restore\n // it later\n this.shown = true;\n this.$el.removeAttribute('aria-hidden');\n this.previouslyFocused = getActiveEl();\n // Due to a long lasting bug in Safari, clicking an interactive element\n // (like a <button>) does *not* move the focus to that element, which means\n // `document.activeElement` is whatever element is currently focused (like\n // an <input>), or the <body> element otherwise. We can work around that\n // problem by checking whether the focused element is the <body>, and if it,\n // store the click event target.\n // See: https://bugs.webkit.org/show_bug.cgi?id=22261\n if (this.previouslyFocused?.tagName === 'BODY' && event?.target) {\n this.previouslyFocused = event.target;\n }\n // Set the focus to the dialog element\n // See: https://github.com/KittyGiraudel/a11y-dialog/pull/583\n if (event?.type === 'focus') {\n this.maintainFocus();\n }\n else {\n focus(this.$el);\n }\n // Bind a focus event listener to the body element to make sure the focus\n // stays trapped inside the dialog while open, and start listening for some\n // specific key presses (TAB and ESC)\n document.body.addEventListener('focus', this.maintainFocus, true);\n this.$el.addEventListener('keydown', this.bindKeypress, true);\n return this;\n }\n /**\n * Hide the dialog element, restore the focus to the previously active\n * element, stop listening for some specific key presses and fire all\n * registered callbacks for `hide` event\n */\n hide(event) {\n // If the dialog is already closed, abort\n if (!this.shown)\n return this;\n // Dispatch a `hide` event\n const hideEvent = this.fire('hide', event);\n // If the event was prevented, do not continue with the normal behavior\n if (hideEvent.defaultPrevented)\n return this;\n this.shown = false;\n this.$el.setAttribute('aria-hidden', 'true');\n // Remove the focus event listener to the body element and stop listening\n // for specific key presses\n document.body.removeEventListener('focus', this.maintainFocus, true);\n this.$el.removeEventListener('keydown', this.bindKeypress, true);\n // Ensure the previously focused element (if any) has a `focus` method\n // before attempting to call it to account for SVG elements\n // See: https://github.com/KittyGiraudel/a11y-dialog/issues/108\n this.previouslyFocused?.focus?.();\n return this;\n }\n /**\n * Register a new callback for the given event type\n */\n on(type, handler, options) {\n this.$el.addEventListener(type, handler, options);\n return this;\n }\n /**\n * Unregister an existing callback for the given event type\n */\n off(type, handler, options) {\n this.$el.removeEventListener(type, handler, options);\n return this;\n }\n /**\n * Dispatch and return a custom event from the DOM element associated with\n * this dialog; this allows authors to listen for and respond to the events\n * in their own code\n */\n fire(type, event) {\n const customEvent = new CustomEvent(type, {\n detail: event,\n cancelable: true,\n });\n this.$el.dispatchEvent(customEvent);\n return customEvent;\n }\n /**\n * Add a delegated event listener for when elememts that open or close the\n * dialog are clicked, and call `show` or `hide`, respectively\n */\n handleTriggerClicks(event) {\n // We need to retrieve the click target while accounting for Shadow DOM.\n // When within a web component, `event.target` is the shadow root (e.g.\n // `<my-dialog>`), so we need to use `event.composedPath()` to get the click\n // target\n // See: https://github.com/KittyGiraudel/a11y-dialog/issues/582\n const target = event.composedPath()[0];\n const opener = closest(`[${SCOPE}-show=\"${this.id}\"]`, target);\n const explicitCloser = closest(`[${SCOPE}-hide=\"${this.id}\"]`, target);\n const implicitCloser = closest(`[${SCOPE}-hide]`, target) &&\n closest('[aria-modal=\"true\"]', target) === this.$el;\n // We use `closest(..)` (instead of `matches(..)`) so that clicking an\n // element nested within a dialog opener does cause the dialog to open, and\n // we use our custom `closest(..)` function so that it can cross shadow\n // boundaries\n // See: https://github.com/KittyGiraudel/a11y-dialog/issues/712\n if (opener)\n this.show(event);\n if (explicitCloser || implicitCloser)\n this.hide(event);\n }\n /**\n * Private event handler used when listening to some specific key presses\n * (namely ESC and TAB)\n */\n bindKeypress(event) {\n // This is an escape hatch in case there are nested open dialogs, so that\n // only the top most dialog gets interacted with (`closest` is basically\n // `Element.prototype.closest()` accounting for Shadow DOM subtrees)\n if (closest('[aria-modal=\"true\"]', getActiveEl()) !== this.$el) {\n return;\n }\n let hasOpenPopover = false;\n try {\n hasOpenPopover = !!this.$el.querySelector('[popover]:not([popover=\"manual\"]):popover-open');\n }\n catch {\n // Run that DOM query in a try/catch because not all browsers support the\n // `:popover-open` selector, which would cause the whole expression to\n // fail\n // See: https://caniuse.com/mdn-css_selectors_popover-open\n // See: https://github.com/KittyGiraudel/a11y-dialog/pull/578#discussion_r1343215149\n }\n // If the dialog is shown and the ESC key is pressed, prevent any further\n // effects from the ESC key and hide the dialog, unless:\n // - its role is `alertdialog`, which means it should be modal\n // - or it contains an open popover, in which case ESC should close it\n if (event.key === 'Escape' &&\n this.$el.getAttribute('role') !== 'alertdialog' &&\n !hasOpenPopover) {\n event.preventDefault();\n this.hide(event);\n }\n // If the dialog is shown and the TAB key is pressed, make sure the focus\n // stays trapped within the dialog element\n if (event.key === 'Tab') {\n trapTabKey(this.$el, event);\n }\n }\n /**\n * If the dialog is shown and the focus is not within a dialog element (either\n * this one or another one in case of nested dialogs) or an element with the\n * ignore attribute, move it back to the dialog container\n * See: https://github.com/KittyGiraudel/a11y-dialog/issues/177\n */\n maintainFocus() {\n // We use `getActiveEl()` and not `event.target` here because the latter can\n // be a shadow root. This can happen when having a focusable element after\n // slotted content: tabbing out of it causes this focus listener to trigger\n // with the shadow root as a target event. In such a case, the focus would\n // be incorrectly moved to the dialog, which shouldn’t happen. Getting the\n // active element (while accounting for Shadow DOM) avoids that problem.\n // See: https://github.com/KittyGiraudel/a11y-dialog/issues/778\n const target = getActiveEl();\n if (!closest(`[aria-modal=\"true\"], [${SCOPE}-ignore-focus-trap]`, target)) {\n focus(this.$el);\n }\n }\n}\n\nfunction instantiateDialogs() {\n for (const el of document.querySelectorAll('[data-a11y-dialog]')) {\n new A11yDialog(el);\n }\n}\nif (typeof document !== 'undefined') {\n if (document.readyState === 'loading') {\n document.addEventListener('DOMContentLoaded', instantiateDialogs);\n }\n else {\n instantiateDialogs();\n }\n}\n\nexport { A11yDialog as default };\n","/*!\n* tabbable 6.2.0\n* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE\n*/\n// NOTE: separate `:not()` selectors has broader browser support than the newer\n// `:not([inert], [inert] *)` (Feb 2023)\n// CAREFUL: JSDom does not support `:not([inert] *)` as a selector; using it causes\n// the entire query to fail, resulting in no nodes found, which will break a lot\n// of things... so we have to rely on JS to identify nodes inside an inert container\nvar candidateSelectors = ['input:not([inert])', 'select:not([inert])', 'textarea:not([inert])', 'a[href]:not([inert])', 'button:not([inert])', '[tabindex]:not(slot):not([inert])', 'audio[controls]:not([inert])', 'video[controls]:not([inert])', '[contenteditable]:not([contenteditable=\"false\"]):not([inert])', 'details>summary:first-of-type:not([inert])', 'details:not([inert])'];\nvar candidateSelector = /* #__PURE__ */candidateSelectors.join(',');\nvar NoElement = typeof Element === 'undefined';\nvar matches = NoElement ? function () {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;\nvar getRootNode = !NoElement && Element.prototype.getRootNode ? function (element) {\n var _element$getRootNode;\n return element === null || element === void 0 ? void 0 : (_element$getRootNode = element.getRootNode) === null || _element$getRootNode === void 0 ? void 0 : _element$getRootNode.call(element);\n} : function (element) {\n return element === null || element === void 0 ? void 0 : element.ownerDocument;\n};\n\n/**\n * Determines if a node is inert or in an inert ancestor.\n * @param {Element} [node]\n * @param {boolean} [lookUp] If true and `node` is not inert, looks up at ancestors to\n * see if any of them are inert. If false, only `node` itself is considered.\n * @returns {boolean} True if inert itself or by way of being in an inert ancestor.\n * False if `node` is falsy.\n */\nvar isInert = function isInert(node, lookUp) {\n var _node$getAttribute;\n if (lookUp === void 0) {\n lookUp = true;\n }\n // CAREFUL: JSDom does not support inert at all, so we can't use the `HTMLElement.inert`\n // JS API property; we have to check the attribute, which can either be empty or 'true';\n // if it's `null` (not specified) or 'false', it's an active element\n var inertAtt = node === null || node === void 0 ? void 0 : (_node$getAttribute = node.getAttribute) === null || _node$getAttribute === void 0 ? void 0 : _node$getAttribute.call(node, 'inert');\n var inert = inertAtt === '' || inertAtt === 'true';\n\n // NOTE: this could also be handled with `node.matches('[inert], :is([inert] *)')`\n // if it weren't for `matches()` not being a function on shadow roots; the following\n // code works for any kind of node\n // CAREFUL: JSDom does not appear to support certain selectors like `:not([inert] *)`\n // so it likely would not support `:is([inert] *)` either...\n var result = inert || lookUp && node && isInert(node.parentNode); // recursive\n\n return result;\n};\n\n/**\n * Determines if a node's content is editable.\n * @param {Element} [node]\n * @returns True if it's content-editable; false if it's not or `node` is falsy.\n */\nvar isContentEditable = function isContentEditable(node) {\n var _node$getAttribute2;\n // CAREFUL: JSDom does not support the `HTMLElement.isContentEditable` API so we have\n // to use the attribute directly to check for this, which can either be empty or 'true';\n // if it's `null` (not specified) or 'false', it's a non-editable element\n var attValue = node === null || node === void 0 ? void 0 : (_node$getAttribute2 = node.getAttribute) === null || _node$getAttribute2 === void 0 ? void 0 : _node$getAttribute2.call(node, 'contenteditable');\n return attValue === '' || attValue === 'true';\n};\n\n/**\n * @param {Element} el container to check in\n * @param {boolean} includeContainer add container to check\n * @param {(node: Element) => boolean} filter filter candidates\n * @returns {Element[]}\n */\nvar getCandidates = function getCandidates(el, includeContainer, filter) {\n // even if `includeContainer=false`, we still have to check it for inertness because\n // if it's inert, all its children are inert\n if (isInert(el)) {\n return [];\n }\n var candidates = Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));\n if (includeContainer && matches.call(el, candidateSelector)) {\n candidates.unshift(el);\n }\n candidates = candidates.filter(filter);\n return candidates;\n};\n\n/**\n * @callback GetShadowRoot\n * @param {Element} element to check for shadow root\n * @returns {ShadowRoot|boolean} ShadowRoot if available or boolean indicating if a shadowRoot is attached but not available.\n */\n\n/**\n * @callback ShadowRootFilter\n * @param {Element} shadowHostNode the element which contains shadow content\n * @returns {boolean} true if a shadow root could potentially contain valid candidates.\n */\n\n/**\n * @typedef {Object} CandidateScope\n * @property {Element} scopeParent contains inner candidates\n * @property {Element[]} candidates list of candidates found in the scope parent\n */\n\n/**\n * @typedef {Object} IterativeOptions\n * @property {GetShadowRoot|boolean} getShadowRoot true if shadow support is enabled; falsy if not;\n * if a function, implies shadow support is enabled and either returns the shadow root of an element\n * or a boolean stating if it has an undisclosed shadow root\n * @property {(node: Element) => boolean} filter filter candidates\n * @property {boolean} flatten if true then result will flatten any CandidateScope into the returned list\n * @property {ShadowRootFilter} shadowRootFilter filter shadow roots;\n */\n\n/**\n * @param {Element[]} elements list of element containers to match candidates from\n * @param {boolean} includeContainer add container list to check\n * @param {IterativeOptions} options\n * @returns {Array.<Element|CandidateScope>}\n */\nvar getCandidatesIteratively = function getCandidatesIteratively(elements, includeContainer, options) {\n var candidates = [];\n var elementsToCheck = Array.from(elements);\n while (elementsToCheck.length) {\n var element = elementsToCheck.shift();\n if (isInert(element, false)) {\n // no need to look up since we're drilling down\n // anything inside this container will also be inert\n continue;\n }\n if (element.tagName === 'SLOT') {\n // add shadow dom slot scope (slot itself cannot be focusable)\n var assigned = element.assignedElements();\n var content = assigned.length ? assigned : element.children;\n var nestedCandidates = getCandidatesIteratively(content, true, options);\n if (options.flatten) {\n candidates.push.apply(candidates, nestedCandidates);\n } else {\n candidates.push({\n scopeParent: element,\n candidates: nestedCandidates\n });\n }\n } else {\n // check candidate element\n var validCandidate = matches.call(element, candidateSelector);\n if (validCandidate && options.filter(element) && (includeContainer || !elements.includes(element))) {\n candidates.push(element);\n }\n\n // iterate over shadow content if possible\n var shadowRoot = element.shadowRoot ||\n // check for an undisclosed shadow\n typeof options.getShadowRoot === 'function' && options.getShadowRoot(element);\n\n // no inert look up because we're already drilling down and checking for inertness\n // on the way down, so all containers to this root node should have already been\n // vetted as non-inert\n var validShadowRoot = !isInert(shadowRoot, false) && (!options.shadowRootFilter || options.shadowRootFilter(element));\n if (shadowRoot && validShadowRoot) {\n // add shadow dom scope IIF a shadow root node was given; otherwise, an undisclosed\n // shadow exists, so look at light dom children as fallback BUT create a scope for any\n // child candidates found because they're likely slotted elements (elements that are\n // children of the web component element (which has the shadow), in the light dom, but\n // slotted somewhere _inside_ the undisclosed shadow) -- the scope is created below,\n // _after_ we return from this recursive call\n var _nestedCandidates = getCandidatesIteratively(shadowRoot === true ? element.children : shadowRoot.children, true, options);\n if (options.flatten) {\n candidates.push.apply(candidates, _nestedCandidates);\n } else {\n candidates.push({\n scopeParent: element,\n candidates: _nestedCandidates\n });\n }\n } else {\n // there's not shadow so just dig into the element's (light dom) children\n // __without__ giving the element special scope treatment\n elementsToCheck.unshift.apply(elementsToCheck, element.children);\n }\n }\n }\n return candidates;\n};\n\n/**\n * @private\n * Determines if the node has an explicitly specified `tabindex` attribute.\n * @param {HTMLElement} node\n * @returns {boolean} True if so; false if not.\n */\nvar hasTabIndex = function hasTabIndex(node) {\n return !isNaN(parseInt(node.getAttribute('tabindex'), 10));\n};\n\n/**\n * Determine the tab index of a given node.\n * @param {HTMLElement} node\n * @returns {number} Tab order (negative, 0, or positive number).\n * @throws {Error} If `node` is falsy.\n */\nvar getTabIndex = function getTabIndex(node) {\n if (!node) {\n throw new Error('No node provided');\n }\n if (node.tabIndex < 0) {\n // in Chrome, <details/>, <audio controls/> and <video controls/> elements get a default\n // `tabIndex` of -1 when the 'tabindex' attribute isn't specified in the DOM,\n // yet they are still part of the regular tab order; in FF, they get a default\n // `tabIndex` of 0; since Chrome still puts those elements in the regular tab\n // order, consider their tab index to be 0.\n // Also browsers do not return `tabIndex` correctly for contentEditable nodes;\n // so if they don't have a tabindex attribute specifically set, assume it's 0.\n if ((/^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName) || isContentEditable(node)) && !hasTabIndex(node)) {\n return 0;\n }\n }\n return node.tabIndex;\n};\n\n/**\n * Determine the tab index of a given node __for sort order purposes__.\n * @param {HTMLElement} node\n * @param {boolean} [isScope] True for a custom element with shadow root or slot that, by default,\n * has tabIndex -1, but needs to be sorted by document order in order for its content to be\n * inserted into the correct sort position.\n * @returns {number} Tab order (negative, 0, or positive number).\n */\nvar getSortOrderTabIndex = function getSortOrderTabIndex(node, isScope) {\n var tabIndex = getTabIndex(node);\n if (tabIndex < 0 && isScope && !hasTabIndex(node)) {\n return 0;\n }\n return tabIndex;\n};\nvar sortOrderedTabbables = function sortOrderedTabbables(a, b) {\n return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex;\n};\nvar isInput = function isInput(node) {\n return node.tagName === 'INPUT';\n};\nvar isHiddenInput = function isHiddenInput(node) {\n return isInput(node) && node.type === 'hidden';\n};\nvar isDetailsWithSummary = function isDetailsWithSummary(node) {\n var r = node.tagName === 'DETAILS' && Array.prototype.slice.apply(node.children).some(function (child) {\n return child.tagName === 'SUMMARY';\n });\n return r;\n};\nvar getCheckedRadio = function getCheckedRadio(nodes, form) {\n for (var i = 0; i < nodes.length; i++) {\n if (nodes[i].checked && nodes[i].form === form) {\n return nodes[i];\n }\n }\n};\nvar isTabbableRadio = function isTabbableRadio(node) {\n if (!node.name) {\n return true;\n }\n var radioScope = node.form || getRootNode(node);\n var queryRadios = function queryRadios(name) {\n return radioScope.querySelectorAll('input[type=\"radio\"][name=\"' + name + '\"]');\n };\n var radioSet;\n if (typeof window !== 'undefined' && typeof window.CSS !== 'undefined' && typeof window.CSS.escape === 'function') {\n radioSet = queryRadios(window.CSS.escape(node.name));\n } else {\n try {\n radioSet = queryRadios(node.name);\n } catch (err) {\n // eslint-disable-next-line no-console\n console.error('Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s', err.message);\n return false;\n }\n }\n var checked = getCheckedRadio(radioSet, node.form);\n return !checked || checked === node;\n};\nvar isRadio = function isRadio(node) {\n return isInput(node) && node.type === 'radio';\n};\nvar isNonTabbableRadio = function isNonTabbableRadio(node) {\n return isRadio(node) && !isTabbableRadio(node);\n};\n\n// determines if a node is ultimately attached to the window's document\nvar isNodeAttached = function isNodeAttached(node) {\n var _nodeRoot;\n // The root node is the shadow root if the node is in a shadow DOM; some document otherwise\n // (but NOT _the_ document; see second 'If' comment below for more).\n // If rootNode is shadow root, it'll have a host, which is the element to which the shadow\n // is attached, and the one we need to check if it's in the document or not (because the\n // shadow, and all nodes it contains, is never considered in the document since shadows\n // behave like self-contained DOMs; but if the shadow's HOST, which is part of the document,\n // is hidden, or is not in the document itself but is detached, it will affect the shadow's\n // visibility, including all the nodes it contains). The host could be any normal node,\n // or a custom element (i.e. web component). Either way, that's the one that is considered\n // part of the document, not the shadow root, nor any of its children (i.e. the node being\n // tested).\n // To further complicate things, we have to look all the way up until we find a shadow HOST\n // that is attached (or find none) because the node might be in nested shadows...\n // If rootNode is not a shadow root, it won't have a host, and so rootNode should be the\n // document (per the docs) and while it's a Document-type object, that document does not\n // appear to be the same as the node's `ownerDocument` for some reason, so it's safer\n // to ignore the rootNode at this point, and use `node.ownerDocument`. Otherwise,\n // using `rootNode.contains(node)` will _always_ be true we'll get false-positives when\n // node is actually detached.\n // NOTE: If `nodeRootHost` or `node` happens to be the `document` itself (which is possible\n // if a tabbable/focusable node was quickly added to the DOM, focused, and then removed\n // from the DOM as in https://github.com/focus-trap/focus-trap-react/issues/905), then\n // `ownerDocument` will be `null`, hence the optional chaining on it.\n var nodeRoot = node && getRootNode(node);\n var nodeRootHost = (_nodeRoot = nodeRoot) === null || _nodeRoot === void 0 ? void 0 : _nodeRoot.host;\n\n // in some cases, a detached node will return itself as the root instead of a document or\n // shadow root object, in which case, we shouldn't try to look further up the host chain\n var attached = false;\n if (nodeRoot && nodeRoot !== node) {\n var _nodeRootHost, _nodeRootHost$ownerDo, _node$ownerDocument;\n attached = !!((_nodeRootHost = nodeRootHost) !== null && _nodeRootHost !== void 0 && (_nodeRootHost$ownerDo = _nodeRootHost.ownerDocument) !== null && _nodeRootHost$ownerDo !== void 0 && _nodeRootHost$ownerDo.contains(nodeRootHost) || node !== null && node !== void 0 && (_node$ownerDocument = node.ownerDocument) !== null && _node$ownerDocument !== void 0 && _node$ownerDocument.contains(node));\n while (!attached && nodeRootHost) {\n var _nodeRoot2, _nodeRootHost2, _nodeRootHost2$ownerD;\n // since it's not attached and we have a root host, the node MUST be in a nested shadow DOM,\n // which means we need to get the host's host and check if that parent host is contained\n // in (i.e. attached to) the document\n nodeRoot = getRootNode(nodeRootHost);\n nodeRootHost = (_nodeRoot2 = nodeRoot) === null || _nodeRoot2 === void 0 ? void 0 : _nodeRoot2.host;\n attached = !!((_nodeRootHost2 = nodeRootHost) !== null && _nodeRootHost2 !== void 0 && (_nodeRootHost2$ownerD = _nodeRootHost2.ownerDocument) !== null && _nodeRootHost2$ownerD !== void 0 && _nodeRootHost2$ownerD.contains(nodeRootHost));\n }\n }\n return attached;\n};\nvar isZeroArea = function isZeroArea(node) {\n var _node$getBoundingClie = node.getBoundingClientRect(),\n width = _node$getBoundingClie.width,\n height = _node$getBoundingClie.height;\n return width === 0 && height === 0;\n};\nvar isHidden = function isHidden(node, _ref) {\n var displayCheck = _ref.displayCheck,\n getShadowRoot = _ref.getShadowRoot;\n // NOTE: visibility will be `undefined` if node is detached from the document\n // (see notes about this further down), which means we will consider it visible\n // (this is legacy behavior from a very long way back)\n // NOTE: we check this regardless of `displayCheck=\"none\"` because this is a\n // _visibility_ check, not a _display_ check\n if (getComputedStyle(node).visibility === 'hidden') {\n return true;\n }\n var isDirectSummary = matches.call(node, 'details>summary:first-of-type');\n var nodeUnderDetails = isDirectSummary ? node.parentElement : node;\n if (matches.call(nodeUnderDetails, 'details:not([open]) *')) {\n return true;\n }\n if (!displayCheck || displayCheck === 'full' || displayCheck === 'legacy-full') {\n if (typeof getShadowRoot === 'function') {\n // figure out if we should consider the node to be in an undisclosed shadow and use the\n // 'non-zero-area' fallback\n var originalNode = node;\n while (node) {\n var parentElement = node.parentElement;\n var rootNode = getRootNode(node);\n if (parentElement && !parentElement.shadowRoot && getShadowRoot(parentElement) === true // check if there's an undisclosed shadow\n ) {\n // node has an undisclosed shadow which means we can only treat it as a black box, so we\n // fall back to a non-zero-area test\n return isZeroArea(node);\n } else if (node.assignedSlot) {\n // iterate up slot\n node = node.assignedSlot;\n } else if (!parentElement && rootNode !== node.ownerDocument) {\n // cross shadow boundary\n node = rootNode.host;\n } else {\n // iterate up normal dom\n node = parentElement;\n }\n }\n node = originalNode;\n }\n // else, `getShadowRoot` might be true, but all that does is enable shadow DOM support\n // (i.e. it does not also presume that all nodes might have undisclosed shadows); or\n // it might be a falsy value, which means shadow DOM support is disabled\n\n // Since we didn't find it sitting in an undisclosed shadow (or shadows are disabled)\n // now we can just test to see if it would normally be visible or not, provided it's\n // attached to the main document.\n // NOTE: We must consider case where node is inside a shadow DOM and given directly to\n // `isTabbable()` or `isFocusable()` -- regardless of `getShadowRoot` option setting.\n\n if (isNodeAttached(node)) {\n // this works wherever the node is: if there's at least one client rect, it's\n // somehow displayed; it also covers the CSS 'display: contents' case where the\n // node itself is hidden in place of its contents; and there's no need to search\n // up the hierarchy either\n return !node.getClientRects().length;\n }\n\n // Else, the node isn't attached to the document, which means the `getClientRects()`\n // API will __always__ return zero rects (this can happen, for example, if React\n // is used to render nodes onto a detached tree, as confirmed in this thread:\n // https://github.com/facebook/react/issues/9117#issuecomment-284228870)\n //\n // It also means that even window.getComputedStyle(node).display will return `undefined`\n // because styles are only computed for nodes that are in the document.\n //\n // NOTE: THIS HAS BEEN THE CASE FOR YEARS. It is not new, nor is it caused by tabbable\n // somehow. Though it was never stated officially, anyone who has ever used tabbable\n // APIs on nodes in detached containers has actually implicitly used tabbable in what\n // was later (as of v5.2.0 on Apr 9, 2021) called `displayCheck=\"none\"` mode -- essentially\n // considering __everything__ to be visible because of the innability to determine styles.\n //\n // v6.0.0: As of this major release, the default 'full' option __no longer treats detached\n // nodes as visible with the 'none' fallback.__\n if (displayCheck !== 'legacy-full') {\n return true; // hidden\n }\n // else, fallback to 'none' mode and consider the node visible\n } else if (displayCheck === 'non-zero-area') {\n // NOTE: Even though this tests that the node's client rect is non-zero to determine\n // whether it's displayed, and that a detached node will __always__ have a zero-area\n // client rect, we don't special-case for whether the node is attached or not. In\n // this mode, we do want to consider nodes that have a zero area to be hidden at all\n // times, and that includes attached or not.\n return isZeroArea(node);\n }\n\n // visible, as far as we can tell, or per current `displayCheck=none` mode, we assume\n // it's visible\n return false;\n};\n\n// form fields (nested) inside a disabled fieldset are not focusable/tabbable\n// unless they are in the _first_ <legend> element of the top-most disabled\n// fieldset\nvar isDisabledFromFieldset = function isDisabledFromFieldset(node) {\n if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(node.tagName)) {\n var parentNode = node.parentElement;\n // check if `node` is contained in a disabled <fieldset>\n while (parentNode) {\n if (parentNode.tagName === 'FIELDSET' && parentNode.disabled) {\n // look for the first <legend> among the children of the disabled <fieldset>\n for (var i = 0; i < parentNode.children.length; i++) {\n var child = parentNode.children.item(i);\n // when the first <legend> (in document order) is found\n if (child.tagName === 'LEGEND') {\n // if its parent <fieldset> is not nested in another disabled <fieldset>,\n // return whether `node` is a descendant of its first <legend>\n return matches.call(parentNode, 'fieldset[disabled] *') ? true : !child.contains(node);\n }\n }\n // the disabled <fieldset> containing `node` has no <legend>\n return true;\n }\n parentNode = parentNode.parentElement;\n }\n }\n\n // else, node's tabbable/focusable state should not be affected by a fieldset's\n // enabled/disabled state\n return false;\n};\nvar isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable(options, node) {\n if (node.disabled ||\n // we must do an inert look up to filter out any elements inside an inert ancestor\n // because we're limited in the type of selectors we can use in JSDom (see related\n // note related to `candidateSelectors`)\n isInert(node) || isHiddenInput(node) || isHidden(node, options) ||\n // For a details element with a summary, the summary element gets the focus\n isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {\n return false;\n }\n return true;\n};\nvar isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable(options, node) {\n if (isNonTabbableRadio(node) || getTabIndex(node) < 0 || !isNodeMatchingSelectorFocusable(options, node)) {\n return false;\n }\n return true;\n};\nvar isValidShadowRootTabbable = function isValidShadowRootTabbable(shadowHostNode) {\n var tabIndex = parseInt(shadowHostNode.getAttribute('tabindex'), 10);\n if (isNaN(tabIndex) || tabIndex >= 0) {\n return true;\n }\n // If a custom element has an explicit negative tabindex,\n // browsers will not allow tab targeting said element's children.\n return false;\n};\n\n/**\n * @param {Array.<Element|CandidateScope>} candidates\n * @returns Element[]\n */\nvar sortByOrder = function sortByOrder(candidates) {\n var regularTabbables = [];\n var orderedTabbables = [];\n candidates.forEach(function (item, i) {\n var isScope = !!item.scopeParent;\n var element = isScope ? item.scopeParent : item;\n var candidateTabindex = getSortOrderTabIndex(element, isScope);\n var elements = isScope ? sortByOrder(item.candidates) : element;\n if (candidateTabindex === 0) {\n isScope ? regularTabbables.push.apply(regularTabbables, elements) : regularTabbables.push(element);\n } else {\n orderedTabbables.push({\n documentOrder: i,\n tabIndex: candidateTabindex,\n item: item,\n isScope: isScope,\n content: elements\n });\n }\n });\n return orderedTabbables.sort(sortOrderedTabbables).reduce(function (acc, sortable) {\n sortable.isScope ? acc.push.apply(acc, sortable.content) : acc.push(sortable.content);\n return acc;\n }, []).concat(regularTabbables);\n};\nvar tabbable = function tabbable(container, options) {\n options = options || {};\n var candidates;\n if (options.getShadowRoot) {\n candidates = getCandidatesIteratively([container], options.includeContainer, {\n filter: isNodeMatchingSelectorTabbable.bind(null, options),\n flatten: false,\n getShadowRoot: options.getShadowRoot,\n shadowRootFilter: isValidShadowRootTabbable\n });\n } else {\n candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));\n }\n return sortByOrder(candidates);\n};\nvar focusable = function focusable(container, options) {\n options = options || {};\n var candidates;\n if (options.getShadowRoot) {\n candidates = getCandidatesIteratively([container], options.includeContainer, {\n filter: isNodeMatchingSelectorFocusable.bind(null, options),\n flatten: true,\n getShadowRoot: options.getShadowRoot\n });\n } else {\n candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorFocusable.bind(null, options));\n }\n return candidates;\n};\nvar isTabbable = function isTabbable(node, options) {\n options = options || {};\n if (!node) {\n throw new Error('No node provided');\n }\n if (matches.call(node, candidateSelector) === false) {\n return false;\n }\n return isNodeMatchingSelectorTabbable(options, node);\n};\nvar focusableCandidateSelector = /* #__PURE__ */candidateSelectors.concat('iframe').join(',');\nvar isFocusable = function isFocusable(node, options) {\n options = options || {};\n if (!node) {\n throw new Error('No node provided');\n }\n if (matches.call(node, focusableCandidateSelector) === false) {\n return false;\n }\n return isNodeMatchingSelectorFocusable(options, node);\n};\n\nexport { focusable, getTabIndex, isFocusable, isTabbable, tabbable };\n//# sourceMappingURL=index.esm.js.map\n","import A11yDialog from \"a11y-dialog\";\nimport { isTabbable } from \"tabbable\";\n\ninterface ModalConfig {\n /** Class which indicates that modal is open */\n classModalIsOpen: string;\n /** Class on body which indicates that modal is open */\n classModalIsOpenBody: string;\n /** Root of page content which should be hidden when modal is open */\n root: string;\n /** Move modal into this element selector (must be unique in DOM) */\n modalsRoot: string;\n}\n\nconst defaultConfig = (): ModalConfig => ({\n /** Class which indicates that modal is open */\n classModalIsOpen: \"is-active\",\n /** Class on body which indicates that modal is open */\n classModalIsOpenBody: \"has-modal\",\n /** Root of page content which should be hidden when modal is open */\n root: \"#root\",\n /** Move modal into this element selector (must be unique in DOM) */\n modalsRoot: \"#root-modals\",\n});\n\ninterface HTMLElementWithModal extends HTMLElement {\n ODS_Modal?: Modal;\n}\n\nexport default class Modal {\n element: HTMLElementWithModal;\n config: ModalConfig;\n instance!: A11yDialog; // Using definite assignment assertion as it's initialized in init()\n\n constructor(element: HTMLElement, config?: Partial<ModalConfig>) {\n this.element = element as HTMLElementWithModal;\n this.config = { ...defaultConfig(), ...config };\n\n this.handleShow = this.handleShow.bind(this);\n this.handleHide = this.handleHide.bind(this);\n this.show = this.show.bind(this);\n this.hide = this.hide.bind(this);\n this.headerFirstItemSpacing = this.headerFirstItemSpacing.bind(this);\n\n Modal.moveToModalRoot = Modal.moveToModalRoot.bind(this);\n Modal.lockBody = Modal.lockBody.bind(this);\n Modal.unlockBody = Modal.unlockBody.bind(this);\n\n this.element.ODS_Modal = this;\n\n this.init();\n\n return this;\n }\n\n static getInstance(el: HTMLElement | null): Modal | null {\n if (!el) return null;\n const modalEl = el as HTMLElementWithModal;\n return modalEl.ODS_Modal || null;\n }\n\n handleShow(el: HTMLElement): void {\n Modal.lockBody();\n if (el) el.classList.add(this.config.classModalIsOpen);\n\n // Long modals can have first focusabble element under the fold, so static content above the fold should be focused instead to prevent undesirable scrolling\n const initialFocusEl = el.querySelector(\"[data-a11y-dialog-initial-focus]\");\n\n if (!initialFocusEl) {\n return;\n }\n\n // set tabindex to -1 so element can't be focused via keyboard\n if (!isTabbable(initialFocusEl as HTMLElement)) {\n initialFocusEl.setAttribute(\"tabindex\", \"-1\");\n }\n\n (initialFocusEl as HTMLElement).focus();\n }\n\n handleHide(el: HTMLElement): void {\n Modal.unlockBody();\n if (el) el.classList.remove(this.config.classModalIsOpen);\n }\n\n show(): void {\n this.instance.show();\n }\n\n hide(): void {\n this.instance.hide();\n }\n\n headerFirstItemSpacing(): void {\n /**\n * Target the first element which is not .btn inside .modal__header and add margin-right 40px.\n * css has its limitations and it is not possible with pseudo selectors\n */\n const modalHeader = this.element.querySelector(\".modal__header\");\n if (modalHeader) {\n const firstNonBtnElement = Array.from(modalHeader.children).find(\n (child) => !child.classList.contains(\"btn\"),\n );\n if (firstNonBtnElement) {\n (firstNonBtnElement as HTMLElement).style.marginRight = \"40px\";\n }\n }\n }\n\n init(): void {\n if (this.config.modalsRoot) {\n Modal.moveToModalRoot(\n this.element,\n document.querySelector(this.config.modalsRoot),\n );\n }\n\n this.instance = new A11yDialog(this.element);\n\n this.instance.on(\"show\", (event: Event) => {\n const dialogEl = event.currentTarget as HTMLElement;\n this.handleShow(dialogEl);\n });\n\n this.instance.on(\"hide\", (event: Event) => {\n const dialogEl = event.currentTarget as HTMLElement;\n this.handleHide(dialogEl);\n });\n\n this.headerFirstItemSpacing();\n }\n\n destroy(): void {\n this.instance.destroy();\n this.element.ODS_Modal = this;\n }\n\n update(): void {\n this.destroy();\n this.init();\n }\n\n static moveToModalRoot(el: HTMLElement, container: Element | null): void {\n if (container) {\n container.appendChild(el);\n } else {\n console.warn(\n `\\`modalsRoot: ${(this as unknown as Modal).config?.modalsRoot}\\` element is not present in DOM. Modal will be placed inside content which can affect it's styling. Please provide \\`modalsRoot\\` selector (should be placed outside of main contant, usualy in end of <body /> tag)`,\n );\n }\n }\n\n static lockBody(className?: string, root?: string): void {\n const actualClassName =\n className || (this as unknown as Modal).config?.classModalIsOpenBody;\n const actualRoot = root || (this as unknown as Modal).config?.root;\n\n const container = document.querySelector(actualRoot);\n // store current scrollTop value\n const scrollTop =\n document.documentElement.scrollTop || document.body.scrollTop;\n document.body.setAttribute(\"data-lock-scrolltop\", scrollTop.toString());\n\n // add locking styles to body\n document.body.style.height = \"100%\";\n document.body.style.width = \"100%\";\n document.body.style.overflow = \"hidden\";\n document.body.style.position = \"fixed\";\n\n // add locking styles to scrollTop\n if (container) {\n (container as HTMLElement).style.height = \"100%\";\n (container as HTMLElement).style.width = \"100%\";\n (container as HTMLElement).style.overflow = \"hidden\";\n (container as HTMLElement).style.position = \"fixed\";\n // scroll page-container to scrollTop position\n (container as HTMLElement).scrollTop = scrollTop;\n }\n\n // add modal class\n document.body.classList.add(actualClassName);\n\n // attempt to scroll top fixed position\n window.requestAnimationFrame(() => {\n window.scrollTo(0, scrollTop);\n });\n }\n\n static unlockBody(className?: string, root?: string): void {\n const actualClassName =\n className || (this as unknown as Modal).config?.classModalIsOpenBody;\n const actualRoot = root || (this as unknown as Modal).config?.root;\n\n const container = document.querySelector(actualRoot);\n const scrollTop = document.body.getAttribute(\"data-lock-scrolltop\") || \"0\";\n\n // remove locking styles from body\n document.body.style.height = \"\";\n document.body.style.width = \"\";\n document.body.style.overflow = \"\";\n document.body.style.position = \"\";\n\n // add modal class\n document.body.classList.remove(actualClassName);\n\n // remove locking styles from page-container\n if (container) {\n (container as HTMLElement).style.height = \"\";\n (container as HTMLElement).style.width = \"\";\n (container as HTMLElement).style.overflow = \"\";\n (container as HTMLElement).style.position = \"\";\n }\n\n // set scroll position back\n window.requestAnimationFrame(() => {\n window.scrollTo({\n left: 0,\n top: parseInt(scrollTop, 10),\n behavior: \"instant\" as ScrollBehavior,\n });\n });\n }\n}\n","import { IconButton } from \"../Button\";\nimport { IconButtonProps } from \"../Button/IconButton\";\nimport { ButtonType } from \"../Button/Button\";\n\ninterface ExtendedIconButtonProps extends IconButtonProps {\n type?: ButtonType;\n}\n\ntype ModalCloseButtonProps = Omit<ExtendedIconButtonProps, \"iconName\">;\n\nconst ModalCloseButton: React.FC<ModalCloseButtonProps> = (props) => (\n <IconButton\n iconName=\"delete\"\n type=\"ghost\"\n isSquare\n size=\"small\"\n className=\"modal__close\"\n data-a11y-dialog-hide\n aria-label=\"Zatvoriť\"\n {...props}\n />\n);\n\nModalCloseButton.displayName = \"ModalCloseButton\";\n\nexport { ModalCloseButton };\n","import cx from \"classnames\";\n\nexport const sizes = [\"small\", \"large\"] as const;\n\nexport type TitleSize = (typeof sizes)[number];\n\ninterface ModalTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {\n size?: TitleSize;\n className?: string;\n children?: React.ReactNode;\n}\n\nconst ModalTitle: React.FC<ModalTitleProps> = ({\n size,\n className,\n children,\n ...other\n}) => (\n <h2\n className={cx(className, {\n \"display-3\": size === \"large\",\n h2: size === \"small\",\n })}\n {...other}\n >\n {children}\n </h2>\n);\n\nModalTitle.displayName = \"ModalTitle\";\n\nexport { ModalTitle };\n","import React from \"react\";\nimport cx from \"classnames\";\n\nexport const colors = [\n \"white\",\n \"gray\",\n \"orange\",\n \"orange-dark\",\n \"black\",\n \"blue\",\n \"green\",\n \"pink\",\n \"violet\",\n \"yellow\",\n] as const;\n\nexport type BodyColor = (typeof colors)[number];\n\ninterface ModalBodyProps extends React.HTMLAttributes<HTMLDivElement> {\n color?: BodyColor;\n className?: string;\n children?: React.ReactNode;\n}\n\nconst CLASS_ROOT = \"modal__body\";\n\nconst ModalBody: React.FC<ModalBodyProps> = ({\n color,\n className,\n children,\n ...other\n}) => (\n <div\n className={cx(CLASS_ROOT, className, {\n [`bg-${color}`]: color,\n [`${CLASS_ROOT}--colorful`]: color,\n })}\n {...other}\n >\n {children}\n </div>\n);\n\nModalBody.displayName = \"ModalBody\";\n\nexport { ModalBody };\n","\"use client\";\n\nimport React, { useEffect } from \"react\";\nimport cx from \"classnames\";\n\nimport { useStatic } from \"../../utils/hooks\";\nimport ConditionalWrapper from \"../../utils/ConditionalWrapper\";\nimport { Button } from \"../Button\";\nimport { Buttons } from \"../Buttons\";\n\n// Use JavaScript version for now, then convert to TypeScript later\nimport ModalStatic from \"./Modal.static\";\nimport { ModalCloseButton } from \"./ModalCloseButton\";\nimport { ModalTitle } from \"./ModalTitle\";\nimport { ModalBody } from \"./ModalBody\";\n\nconst CLASS_ROOT = \"modal\";\n\nexport const sizes = [\"small\", \"large\"] as const;\n\nexport type ModalSize = (typeof sizes)[number];\n\ninterface ModalProps extends React.HTMLAttributes<HTMLDivElement> {\n /** Action buttons in footer */\n actions: React.ReactNode[];\n /** Full height on XS */\n fullHeight?: boolean;\n /** Sticky footer is visible when modal content is too long */\n hasStickyFooter?: boolean;\n /** Html id attribute. */\n id: string;\n /** isActive controls if modal is opened or closed */\n isActive?: boolean;\n /** Disable plugin initialization. */\n noInit?: boolean;\n /** Custom body renderer. Receives title as function param. Returned element(s) must contain a title. */\n renderBody?: () => React.ReactNode;\n /** Custom footer renderer. Receives actions as function param. Returned element(s) must contain the actions. */\n renderFooter?: () => React.ReactNode;\n /** Custom main title renderer. Receives id as function param. Returned element must be a heading and use this id for accessibility purposes */\n renderTitle?: (id: string) => React.ReactNode;\n /** Modal dialog size */\n size?: ModalSize;\n /** Main title */\n title?: string;\n /** Child elements */\n children?: React.ReactNode;\n /** Additional CSS classes */\n className?: string;\n /** Color scheme for the modal */\n colorScheme?: \"dark\" | \"light\";\n}\n\nconst defaultProps = {\n actions: [\n <Button key=\"1\" data-a11y-dialog-hide>\n Zatvoriť\n </Button>,\n ],\n noInit: false,\n};\n\nconst Modal: React.FC<ModalProps> = ({\n actions = defaultProps.actions,\n className,\n children,\n hasStickyFooter,\n id,\n noInit = defaultProps.noInit,\n isActive,\n size,\n title,\n renderBody,\n renderTitle,\n renderFooter,\n fullHeight,\n colorScheme,\n ...other\n}) => {\n const [modalRef, instance] = useStatic(ModalStatic);\n\n useEffect(() => {\n if (isActive && instance && (instance as any).current) {\n (instance as any).current.show();\n }\n }, [instance, isActive]);\n\n const dialogClasses = cx(\n `${CLASS_ROOT}__dialog`,\n {\n [`${CLASS_ROOT}__dialog--${size}`]: size,\n [`${CLASS_ROOT}__dialog--full-height`]: fullHeight,\n \"is-dark\": colorScheme === \"dark\",\n \"is-light\": colorScheme === \"light\",\n },\n className,\n );\n\n const titleId = `${id}-title`;\n\n const dialogTitle = renderTitle ? (\n renderTitle(id)\n ) : (\n <ModalTitle id={titleId} size={size} data-a11y-dialog-initial-focus>\n {title}\n </ModalTitle>\n );\n\n return (\n <div\n id={id}\n data-modal={!noInit}\n className={CLASS_ROOT}\n ref={modalRef}\n role=\"dialog\"\n aria-hidden=\"true\"\n aria-modal=\"true\"\n aria-labelledby={titleId}\n >\n <div className=\"modal__overlay\" tabIndex={-1} data-a11y-dialog-hide />\n <div className={dialogClasses} role=\"document\" {...other}>\n <div className={`${CLASS_ROOT}__header`}>\n <ModalCloseButton />\n {dialogTitle}\n </div>\n {renderBody ? renderBody() : <ModalBody>{children}</ModalBody>}\n <div\n className={cx(`${CLASS_ROOT}__footer`, {\n [`${CLASS_ROOT}__footer--sticky`]: hasStickyFooter,\n })}\n >\n {renderFooter ? (\n renderFooter()\n ) : (\n <ConditionalWrapper\n condition={actions.length > 1}\n wrapper={<Buttons />}\n >\n {actions.map((action) => action)}\n </ConditionalWrapper>\n )}\n </div>\n </div>\n </div>\n );\n};\n\nModal.displayName = \"Modal\";\n\nexport { Modal };\n","\"use client\";\n\nimport {\n useEffect,\n useCallback,\n useRef,\n useMemo,\n RefCallback,\n type RefObject,\n useState,\n} from \"react\";\n\nimport generateId from \"./generateId\";\n\n// Generic type for any class constructor\ntype StaticClassType<T = any> = new (element: HTMLElement, config?: any) => T;\n\n// Define a generic interface for static class instances\ninterface StaticInstance {\n update?: (config: any) => void;\n destroy?: () => void;\n}\n\n/**\n * A hook to create and manage an instance of a \"static\" class\n * @param StaticClass The class to instantiate\n * @param config Configuration options for the class\n * @returns [ref callback, instance reference]\n */\nconst useStatic = <T extends StaticInstance>(\n StaticClass: StaticClassType<T>,\n config: Record<string, any> = {},\n): [RefCallback<HTMLElement>, RefObject<T | null>] => {\n const instance = useRef<T | null>(null);\n const configRef = useRef(config);\n\n useEffect(() => {\n configRef.current = config ?? {};\n }, [config]);\n\n const ref = useCallback(\n (node: HTMLElement | null) => {\n // use latest config available\n const currentConfig = configRef.current;\n if (node) {\n if (instance.current === null) {\n instance.current = new StaticClass(node, currentConfig);\n } else {\n instance.current.update?.(currentConfig);\n }\n }\n },\n [StaticClass],\n );\n\n useEffect(\n () => () => {\n if (instance.current) {\n instance.current.destroy?.();\n instance.current = null;\n }\n },\n [],\n );\n\n return [ref, instance];\n};\n\n/**\n * A hook for creating React portals\n * From https://www.jayfreestone.com/writing/react-portals-with-hooks/\n * @param id The id of the target DOM element\n * @returns A DOM element that can be used as a portal container\n */\nfunction usePortal(id: string): HTMLDivElement {\n const rootElemRef = useRef<HTMLDivElement | null>(null);\n\n useEffect(\n function setupElement() {\n if (typeof document === \"undefined\") return;\n\n // Create element if it doesn't exist\n if (!rootElemRef.current) {\n rootElemRef.current = document.createElement(\"div\");\n }\n\n // Look for existing target dom element to append to\n const parentElem = document.querySelector(`#${id}`);\n\n // Add the detached element to the parent\n if (parentElem && rootElemRef.current) {\n parentElem.appendChild(rootElemRef.current);\n }\n\n // This function is run on unmount\n return function removeElement() {\n rootElemRef.current?.remove();\n };\n },\n [id],\n );\n\n function getRootElem(): HTMLDivElement {\n if (typeof document === \"undefined\") {\n throw new Error(\"usePortal must be used in a browser environment\");\n }\n\n if (!rootElemRef.current) {\n rootElemRef.current = document.createElement(\"div\");\n }\n return rootElemRef.current;\n }\n\n return getRootElem();\n}\n\n/**\n * Returns unique string for the `id` attribute.\n *\n * @param id Provided id\n * @param name Optional prefix\n * @returns A unique ID string\n */\nconst useUniqueId = (id?: string, name?: string): string =>\n useMemo(() => id ?? generateId(name), [id, name]);\n\n/**\n * Hydration-safe hook for generating a unique, numeric ID for tooltips and similar components.\n * Ensures IDs are consistent between SSR and client, and match test expectations.\n * @param providedId Optional externally provided ID\n * @returns Hydration-safe unique ID string (e.g., \"id-1\")\n */\nconst idCounter = { current: 0 };\n\nfunction useHydrationSafeId(providedId?: string): string {\n const [hydratedId, setHydratedId] = useState<string | undefined>(providedId);\n const idRef = useRef<string | undefined>(providedId);\n\n useEffect(() => {\n if (!providedId) {\n idCounter.current += 1;\n const newId = `id-${idCounter.current}`;\n idRef.current = newId;\n setHydratedId(newId);\n }\n }, [providedId]);\n\n return hydratedId || idRef.current || providedId || \"id-0\";\n}\n\nexport { useStatic, usePortal, useUniqueId, useHydrationSafeId };\n"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","SuppressedError","hasOwn","classNames","classes","arguments","arg","appendClass","parseValue","Array","isArray","apply","toString","includes","key","value","newClass","module","exports","default","window","ConditionalWrapper","_ref","condition","wrapper","children","cloneElement","undefined","displayName","process","env","NODE_ENV","getComponentNameFromType","type","$$typeof","REACT_CLIENT_REFERENCE","name","REACT_FRAGMENT_TYPE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_ACTIVITY_TYPE","tag","console","error","REACT_PORTAL_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","_context","REACT_FORWARD_REF_TYPE","innerType","render","REACT_MEMO_TYPE","REACT_LAZY_TYPE","_payload","_init","x","testStringCoercion","checkKeyStringCoercion","JSCompiler_inline_result","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","Symbol","toStringTag","constructor","getTaskName","UnknownOwner","Error","elementRefGetterWithDeprecationWarning","componentName","this","didWarnAboutElementRef","props","ref","jsxDEVImpl","config","maybeKey","isStaticChildren","source","self","debugStack","debugTask","dispatcher","isArrayImpl","validateChildKeys","freeze","keys","filter","k","join","didWarnAboutKeySpread","getter","getOwnPropertyDescriptor","get","isReactWarning","hasValidKey","propName","warnAboutAccessingKey","specialPropKeyWarningShown","defineProperty","configurable","defineKeyPropWarningGetter","owner","REACT_ELEMENT_TYPE","_owner","enumerable","_store","writable","ReactElement","ReactSharedInternals","A","getOwner","node","validated","React","require$$0","for","__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE","createTask","unknownOwnerDebugStack","react_stack_bottom_frame","callStackForError","bind","unknownOwnerDebugTask","reactJsxRuntime_development","Fragment","jsx","trackActualOwner","recentlyCreatedOwnerStacks","jsxs","jsxRuntimeModule","jsxProd","reactJsxRuntime_production","require$$1","CLASS_ROOT","Button","forwardRef","className","_props$htmlType","htmlType","href","isActive","isDefault","isDisabled","colorScheme","size","isSquare","elemRef","other","cx","_defineProperty","concat","anchorProps","_jsx","_objectSpread","buttonProps","disabled","SpritePathContext","createContext","Icon","_a","alt","color","_a$spritePath","spritePath","contextPath","useContext","_jsxs","role","xlinkHref","IconButton","iconName","_a$iconPosition","iconPosition","iconClassName","IconComponent","Buttons","isStackedOnXs","not","focusableSelectors","focus","el","querySelector","findFocusableEl","forward","isFocusable","shadowRoot","getAttribute","matches","canHaveFocusableChildren","next","getNextChildEl","focusableEl","getNextSiblingEl","localName","assignedElements","flatten","reverse","assignedElement","firstElementChild","lastElementChild","nextElementSibling","previousElementSibling","delegatesFocus","offsetWidth","offsetHeight","getClientRects","isHidden","getActiveEl","root","document","activeEl","activeElement","trapTabKey","event","firstFocusableEl","lastFocusableEl","firstEl","getFocusableEdges","preventDefault","shiftKey","closest","selector","base","from","slot","findAssignedSlot","getRootNode","host","assignedSlot","parentNode","SCOPE","A11yDialog","$el","id","previouslyFocused","shown","element","maintainFocus","bindKeypress","handleTriggerClicks","show","hide","setAttribute","hasAttribute","addEventListener","destroy","fire","defaultPrevented","removeEventListener","replaceWith","cloneNode","removeAttribute","tagName","target","body","on","handler","options","off","customEvent","CustomEvent","detail","cancelable","dispatchEvent","composedPath","opener","explicitCloser","implicitCloser","hasOpenPopover","instantiateDialogs","querySelectorAll","readyState","candidateSelector","NoElement","Element","msMatchesSelector","webkitMatchesSelector","_element$getRootNode","ownerDocument","isInert","lookUp","_node$getAttribute","inertAtt","getTabIndex","tabIndex","test","_node$getAttribute2","attValue","isContentEditable","isNaN","parseInt","hasTabIndex","isInput","isNonTabbableRadio","isRadio","radioSet","radioScope","form","queryRadios","CSS","escape","err","message","checked","nodes","getCheckedRadio","isTabbableRadio","isZeroArea","_node$getBoundingClie","getBoundingClientRect","width","height","displayCheck","getShadowRoot","getComputedStyle","visibility","nodeUnderDetails","parentElement","originalNode","rootNode","_nodeRoot","_nodeRootHost","_nodeRootHost$ownerDo","_node$ownerDocument","nodeRoot","nodeRootHost","attached","contains","_nodeRoot2","_nodeRootHost2","_nodeRootHost2$ownerD","isNodeAttached","isNodeMatchingSelectorFocusable","isHiddenInput","slice","some","child","isDetailsWithSummary","item","isDisabledFromFieldset","isTabbable","isNodeMatchingSelectorTabbable","Modal","_classCallCheck","assign","classModalIsOpen","classModalIsOpenBody","modalsRoot","handleShow","handleHide","headerFirstItemSpacing","moveToModalRoot","lockBody","unlockBody","ODS_Modal","init","container","appendChild","warn","actualClassName","actualRoot","_b","scrollTop","documentElement","style","overflow","position","classList","add","requestAnimationFrame","scrollTo","remove","left","top","behavior","initialFocusEl","instance","modalHeader","firstNonBtnElement","find","marginRight","_this","dialogEl","currentTarget","ModalCloseButton","ModalTitle","h2","ModalBody","defaultProps","actions","noInit","_a$actions","hasStickyFooter","_a$noInit","title","renderBody","renderTitle","renderFooter","fullHeight","_useStatic","StaticClass","useRef","configRef","useEffect","current","useCallback","currentConfig","update","useStatic","ModalStatic","_useStatic2","_slicedToArray","modalRef","dialogClasses","titleId","dialogTitle","map","action"],"mappings":"8tEA0CO,SAASA,EAAOC,EAAGC,GACtB,IAAIC,EAAI,CAAA,EACR,IAAK,IAAIC,KAAKH,EAAOI,OAAOC,UAAUC,eAAeC,KAAKP,EAAGG,IAAMF,EAAEO,QAAQL,GAAK,IAC9ED,EAAEC,GAAKH,EAAEG,IACb,GAAS,MAALH,GAAqD,mBAAjCI,OAAOK,sBACtB,KAAIC,EAAI,EAAb,IAAgBP,EAAIC,OAAOK,sBAAsBT,GAAIU,EAAIP,EAAEQ,OAAQD,IAC3DT,EAAEO,QAAQL,EAAEO,IAAM,GAAKN,OAAOC,UAAUO,qBAAqBL,KAAKP,EAAGG,EAAEO,MACvER,EAAEC,EAAEO,IAAMV,EAAEG,EAAEO,IAF4B,CAItD,OAAOR,CACX,qGAoRkD,mBAApBW,iBAAiCA;;;;;yBCjU9D,WAGA,IAAIC,EAAS,CAAA,EAAGR,eAEhB,SAASS,IAGR,IAFA,IAAIC,EAAU,GAELN,EAAI,EAAGA,EAAIO,UAAUN,OAAQD,IAAK,CAC1C,IAAIQ,EAAMD,UAAUP,GAChBQ,IACHF,EAAUG,EAAYH,EAASI,EAAWF,IAE9C,CAEE,OAAOF,CACT,CAEC,SAASI,EAAYF,GACpB,GAAmB,i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