@midas-ds/components 10.1.1 → 10.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AccordionItem-BGWiWjxA.cjs +1 -0
- package/AccordionItem-ChHpW8EW.js +320 -0
- package/BadgeContainer-DM8TdyMT.js +37 -0
- package/BadgeContainer-I1XA3OCl.cjs +1 -0
- package/Breadcrumbs-CwDUNIqF.js +250 -0
- package/Breadcrumbs-DtjJ1UmU.cjs +1 -0
- package/Button-BoJl6JGM.cjs +1 -0
- package/Button-Csih3v23.js +38 -0
- package/Button-DjBChs7s.js +340 -0
- package/Button-htW9qIsS.cjs +1 -0
- package/Button.module-DEQtBYe5.cjs +1 -0
- package/Button.module-tti8HGxs.js +14 -0
- package/ButtonGroup-DUqW5dzM.cjs +1 -0
- package/ButtonGroup-DvVvear6.js +22 -0
- package/CHANGELOG.md +68 -0
- package/Card-0G0mj9q5.cjs +1 -0
- package/Card-yrtGzt70.js +131 -0
- package/CharacterCounter-BL_nZHya.js +22 -0
- package/CharacterCounter-CHcTDHO-.cjs +1 -0
- package/Checkbox-5HINZdGu.js +263 -0
- package/Checkbox-DqcPg5hz.cjs +1 -0
- package/CheckboxGroup-BBrSMuDY.cjs +1 -0
- package/CheckboxGroup-CLgixk2p.js +243 -0
- package/Collection-BIDsXNhi.cjs +1 -0
- package/Collection-Brgjpkne.js +576 -0
- package/ColorSchemeSwitch-BpzQ7g0b.js +106 -0
- package/ColorSchemeSwitch-C-qWuqkU.cjs +16 -0
- package/ComboBox-CVDyp2a-.js +1379 -0
- package/ComboBox-CWJUg9Xx.cjs +1 -0
- package/DateField-DeDhiYnW.cjs +1 -0
- package/DateField-DhU3q-rG.js +47 -0
- package/DateInputDivider-ADvOavHw.cjs +1 -0
- package/DateInputDivider-CF4xWsMT.js +2904 -0
- package/DateRangePicker-BsAHhy99.cjs +6 -0
- package/DateRangePicker-ziD1_k1W.js +881 -0
- package/Dialog-B8GTYbvu.cjs +1 -0
- package/Dialog-BOrYdX50.cjs +1 -0
- package/Dialog-CXNu48AC.js +208 -0
- package/Dialog-D14MbJ7o.js +1633 -0
- package/DragAndDrop-DNth776R.cjs +1 -0
- package/DragAndDrop-o3ruz_SR.js +60 -0
- package/Dropdown-CJ6My6EI.cjs +6 -0
- package/Dropdown-Df58j43I.js +84 -0
- package/FieldError-CAcjosk_.js +46 -0
- package/FieldError-CKBb2-mp.cjs +1 -0
- package/FileUpload-CxCOtyB9.cjs +2 -0
- package/FileUpload-D6qoEAjn.js +2373 -0
- package/FocusScope-5c9SVBcR.cjs +1 -0
- package/FocusScope-CxkURfoc.js +625 -0
- package/Form-BuOomA4T.cjs +1 -0
- package/Form-CXcEMuBf.js +5 -0
- package/Grid--OhtgCo6.js +27 -0
- package/Grid-DVQtOcu9.cjs +1 -0
- package/GridItem-DlbSdRmB.js +246 -0
- package/GridItem-XgHmZWXY.cjs +1 -0
- package/Group-B6EslsHZ.js +44 -0
- package/Group-CgiqQHH1.cjs +1 -0
- package/Heading-BFtiin0g.js +46 -0
- package/Heading-mHhCbGjY.cjs +1 -0
- package/Hidden-BxRZGdEW.cjs +1 -0
- package/Hidden-C9KWUR7b.js +34 -0
- package/InfoBanner-BLM-TJJ6.js +83 -0
- package/InfoBanner-C2kTIsrB.cjs +1 -0
- package/Input-BTzwcf72.js +41 -0
- package/Input-DKSAYvsw.cjs +1 -0
- package/Label-7Ybb99CE.cjs +1 -0
- package/Label-BwJrdqEE.js +70 -0
- package/Layout-1g6bMH62.cjs +16 -0
- package/Layout-Ey8flY7E.js +468 -0
- package/Link-B88l_oaE.cjs +6 -0
- package/Link-BQhauBuw.cjs +1 -0
- package/Link-DX5BbBnn.js +59 -0
- package/Link-yNO2-sqx.js +71 -0
- package/LinkButton-CBpGLETx.cjs +6 -0
- package/LinkButton-o6uS1XsR.js +69 -0
- package/ListBox-DP9M4H6R.cjs +1 -0
- package/ListBox-GnVK_Pdq.js +529 -0
- package/ListBoxButton-DPBrtXyv.cjs +1 -0
- package/ListBoxButton-D_J3jlP0.js +15 -0
- package/ListBoxSection-BGaigBnG.cjs +1 -0
- package/ListBoxSection-C0BGnpB4.js +1058 -0
- package/ListKeyboardDelegate-DNI8GQtX.js +167 -0
- package/ListKeyboardDelegate-DTg9h4v6.cjs +1 -0
- package/Logo-BIrOEINM.js +133 -0
- package/Logo-DT2_2O43.cjs +1 -0
- package/OverlayArrow-CDLXPTew.js +506 -0
- package/OverlayArrow-D75k-EMl.cjs +1 -0
- package/Popover-BGGXeD54.js +38 -0
- package/Popover-CqNWzPf-.cjs +1 -0
- package/ProgressBar-DMSg-Prr.js +53 -0
- package/ProgressBar-Jbg28j2a.cjs +1 -0
- package/RSPContexts-BW2SEIqe.js +11 -0
- package/RSPContexts-D8hmBfGm.cjs +1 -0
- package/Radio-BwqrdhQE.cjs +1 -0
- package/Radio-Cz29wPXd.js +311 -0
- package/RangeCalendar-BehUaydF.cjs +11 -0
- package/RangeCalendar-RAlAHlNL.js +1683 -0
- package/SearchField-CxMwDeUM.cjs +6 -0
- package/SearchField-IlvZ3Kh6.js +362 -0
- package/Select-2q1iSzAX.cjs +1 -0
- package/Select-BVQZtoi9.js +646 -0
- package/SelectionManager-B4ORduja.js +1032 -0
- package/SelectionManager-CwYux2h3.cjs +1 -0
- package/Separator-Cu9fYKUM.js +59 -0
- package/Separator-DECIYLtZ.cjs +1 -0
- package/Skeleton-BAwbfKBW.cjs +1 -0
- package/Skeleton-BePDRmrO.js +40 -0
- package/Spinner-D31SXm-U.js +41 -0
- package/Spinner-P35rvvsl.cjs +6 -0
- package/Table-B40CGLT-.cjs +16 -0
- package/Table-F4oYBtUM.js +2447 -0
- package/Tabs-B4oZJkZG.js +404 -0
- package/Tabs-DA2qXhzb.cjs +1 -0
- package/Tag-DPAGmcMK.cjs +1 -0
- package/Tag-Du7GvSv2.js +745 -0
- package/Text-3MNwRMpI.cjs +1 -0
- package/Text-B2K-BJKQ.cjs +1 -0
- package/Text-BoXuUVVH.js +15 -0
- package/Text-jWWg0B20.js +32 -0
- package/TextArea-C7JZ_pQd.cjs +1 -0
- package/TextArea-XeBCSyzl.js +191 -0
- package/TextField-BgNdhZi_.cjs +1 -0
- package/TextField-C-hTPukq.js +119 -0
- package/TextField.module-BcpPBWnD.js +13 -0
- package/TextField.module-Dw5Rtn9y.cjs +1 -0
- package/Toast-AbDA1BOs.cjs +1 -0
- package/Toast-Btg21Xge.js +989 -0
- package/ToggleButtonGroup-B5yz1tm2.js +210 -0
- package/ToggleButtonGroup-BFDoj0P6.cjs +1 -0
- package/Tooltip-CMLs7WMw.js +283 -0
- package/Tooltip-DeBuBKhS.cjs +1 -0
- package/VisuallyHidden-CLWHbz2n.cjs +1 -0
- package/VisuallyHidden-ZCYf65q4.js +40 -0
- package/accordion/index.cjs +1 -0
- package/accordion/index.js +5 -0
- package/arrow-right-Dg8sttFO.js +14 -0
- package/arrow-right-QJ2gXPKQ.cjs +6 -0
- package/assets/AccordionItem.css +1 -0
- package/assets/BadgeContainer.css +1 -0
- package/assets/Breadcrumbs.css +1 -0
- package/assets/Button.css +1 -0
- package/assets/ButtonGroup.css +1 -0
- package/assets/Card.css +1 -0
- package/assets/CharacterCounter.css +1 -0
- package/assets/Checkbox.css +1 -0
- package/assets/ColorSchemeSwitch.css +1 -0
- package/assets/ComboBox.css +1 -0
- package/assets/DateField.css +1 -0
- package/assets/DateInputDivider.css +1 -0
- package/assets/DateRangePicker.css +1 -0
- package/assets/Dialog.css +1 -0
- package/assets/Dropdown.css +1 -0
- package/assets/FieldError.css +1 -0
- package/assets/FileUpload.css +1 -0
- package/assets/GridItem.css +1 -0
- package/assets/Heading.css +1 -0
- package/assets/InfoBanner.css +1 -0
- package/assets/Label.css +1 -0
- package/assets/Layout.css +1 -0
- package/assets/Link.css +1 -0
- package/assets/LinkButton.css +1 -0
- package/assets/ListBoxSection.css +1 -0
- package/assets/Logo.css +1 -0
- package/assets/Popover.css +1 -0
- package/assets/ProgressBar.css +1 -0
- package/assets/Radio.css +1 -0
- package/assets/RangeCalendar.css +1 -0
- package/assets/SearchField.css +1 -0
- package/assets/Select.css +1 -0
- package/assets/Skeleton.css +1 -0
- package/assets/Spinner.css +1 -0
- package/assets/Table.css +1 -0
- package/assets/Tabs.css +1 -0
- package/assets/Tag.css +1 -0
- package/assets/Text.css +1 -0
- package/assets/TextField.css +1 -0
- package/assets/Toast.css +1 -0
- package/assets/ToggleButtonGroup.css +1 -0
- package/assets/Tooltip.css +1 -0
- package/badge/index.cjs +1 -0
- package/badge/index.js +5 -0
- package/breadcrumbs/index.cjs +1 -0
- package/breadcrumbs/index.js +4 -0
- package/button/index.cjs +1 -0
- package/button/index.js +6 -0
- package/calendar/CalendarHeader.d.ts +2 -1
- package/calendar/index.cjs +1 -0
- package/calendar/index.js +5 -0
- package/card/index.cjs +1 -0
- package/card/index.js +10 -0
- package/character-counter/index.cjs +1 -0
- package/character-counter/index.js +4 -0
- package/check-CLF6Yxza.js +11 -0
- package/check-D_KoootC.cjs +6 -0
- package/checkbox/Checkbox.d.ts +2 -2
- package/checkbox/CheckboxGroup.d.ts +8 -8
- package/checkbox/CheckboxGroupFieldError.d.ts +8 -0
- package/checkbox/CheckboxGroupItem.d.ts +3 -0
- package/checkbox/CheckboxInner.d.ts +2 -0
- package/checkbox/SingleCheckbox.d.ts +3 -0
- package/checkbox/context.d.ts +3 -0
- package/checkbox/index.cjs +1 -0
- package/checkbox/index.d.ts +2 -1
- package/checkbox/index.js +6 -0
- package/checkbox/intl/translations.json.d.ts +35 -0
- package/checkbox/types.d.ts +14 -0
- package/checkbox/useSelectAll.d.ts +7 -0
- package/chevron-down-Cd1bkzXT.js +13 -0
- package/chevron-down-jl83cllc.cjs +6 -0
- package/circle-check-B9HYcH7Z.js +26 -0
- package/circle-check-BGo8gML8.cjs +11 -0
- package/clsx-C11secjj.cjs +1 -0
- package/clsx-OuTLNxxd.js +16 -0
- package/color-scheme-switch/index.cjs +1 -0
- package/color-scheme-switch/index.js +4 -0
- package/combobox/ComboBox.d.ts +3 -1
- package/combobox/index.cjs +1 -0
- package/combobox/index.js +7 -0
- package/common/types.d.ts +2 -0
- package/context-C81gPYvC.js +80 -0
- package/context-DjwhtgxQ.cjs +1 -0
- package/createLucideIcon-Cg_wkoIA.cjs +21 -0
- package/createLucideIcon-DeWljiyi.js +79 -0
- package/date-field/DateField.d.ts +3 -0
- package/date-field/index.cjs +1 -0
- package/date-field/index.js +8 -0
- package/date-picker/DatePicker.d.ts +3 -0
- package/date-picker/DateRangePicker.d.ts +3 -0
- package/date-picker/index.cjs +1 -0
- package/date-picker/index.js +5 -0
- package/dropdown/index.cjs +1 -0
- package/dropdown/index.js +5 -0
- package/field-error/FieldError.d.ts +4 -1
- package/field-error/index.cjs +1 -0
- package/field-error/index.js +4 -0
- package/file-upload/FileUpload.d.ts +3 -0
- package/file-upload/index.cjs +1 -0
- package/file-upload/index.js +4 -0
- package/filterDOMProps-BS2lrgFA.cjs +1 -0
- package/filterDOMProps-D6KHYVBX.js +24 -0
- package/getScrollParent-BhFcYrwL.js +9 -0
- package/getScrollParent-DDJu9WHU.cjs +1 -0
- package/grid/Grid.d.ts +15 -4
- package/grid/GridItem.d.ts +31 -2
- package/grid/index.cjs +1 -0
- package/grid/index.d.ts +2 -2
- package/grid/index.js +8 -0
- package/heading/index.cjs +1 -0
- package/heading/index.js +4 -0
- package/index-CGRFP4CC.js +120 -0
- package/index-Dsz3aiWt.cjs +17 -0
- package/index.cjs +1 -169
- package/index.d.ts +1 -1
- package/index.js +129 -29979
- package/inertValue-B3AFhVG4.cjs +1 -0
- package/inertValue-B7loUihk.js +8 -0
- package/info-BZwphdye.js +15 -0
- package/info-CIEIENo6.cjs +6 -0
- package/info-banner/index.cjs +1 -0
- package/info-banner/index.js +4 -0
- package/label/InfoPopover.d.ts +9 -0
- package/label/LabelWrapper.d.ts +11 -0
- package/label/index.cjs +1 -0
- package/label/index.d.ts +1 -0
- package/label/index.js +4 -0
- package/layout/index.cjs +1 -0
- package/layout/index.js +8 -0
- package/link/index.cjs +1 -0
- package/link/index.js +6 -0
- package/link-button/index.cjs +1 -0
- package/link-button/index.js +6 -0
- package/list-box/index.cjs +1 -0
- package/list-box/index.js +9 -0
- package/logo/index.cjs +1 -0
- package/logo/index.js +4 -0
- package/modal/index.cjs +1 -0
- package/modal/index.js +6 -0
- package/number-BE8InLgI.js +6 -0
- package/number-E0x3H9cL.cjs +1 -0
- package/package.json +4 -4
- package/popover/Popover.d.ts +7 -0
- package/popover/index.cjs +1 -0
- package/popover/index.d.ts +1 -0
- package/popover/index.js +4 -0
- package/progress-bar/index.cjs +1 -0
- package/progress-bar/index.js +4 -0
- package/radio/Radio.d.ts +3 -0
- package/radio/index.cjs +1 -0
- package/radio/index.js +5 -0
- package/scrollIntoView-C8doLzDd.cjs +1 -0
- package/scrollIntoView-Hwb_aaNf.js +87 -0
- package/search-field/index.cjs +1 -0
- package/search-field/index.js +4 -0
- package/select/index.cjs +1 -0
- package/select/index.js +4 -0
- package/skeleton/Skeleton.d.ts +5 -0
- package/skeleton/index.cjs +1 -0
- package/skeleton/index.js +4 -0
- package/spinner/index.cjs +1 -0
- package/spinner/index.js +4 -0
- package/square-arrow-out-up-right-BkyqV2PN.js +15 -0
- package/square-arrow-out-up-right-V4Gd08uI.cjs +6 -0
- package/table/Table.d.ts +7 -1
- package/table/index.cjs +1 -0
- package/table/index.js +9 -0
- package/tabs/index.cjs +1 -0
- package/tabs/index.js +4 -0
- package/tag/index.cjs +1 -0
- package/tag/index.js +5 -0
- package/text/index.cjs +1 -0
- package/text/index.js +4 -0
- package/textfield/TextFieldBase.d.ts +2 -0
- package/textfield/index.cjs +1 -0
- package/textfield/index.js +7 -0
- package/theme/index.cjs +1 -0
- package/theme/index.d.ts +4 -0
- package/{theme.js → theme/index.js} +2 -2
- package/theme/tokens.d.ts +10 -0
- package/toast/index.cjs +1 -0
- package/toast/index.js +9 -0
- package/toggle-button/index.cjs +1 -0
- package/toggle-button/index.js +5 -0
- package/tokens-p6pg1Cea.cjs +1 -0
- package/{tokens-C0U7hdoO.js → tokens-xp-7KMK7.js} +18 -8
- package/tooltip/index.cjs +1 -0
- package/tooltip/index.js +5 -0
- package/triangle-alert-DJW8U7jL.cjs +6 -0
- package/triangle-alert-wxyxspAl.js +21 -0
- package/useButton-B8dB9sot.js +47 -0
- package/useButton-cpNi-fY4.cjs +1 -0
- package/useControlledState-D0L6S_5r.cjs +1 -0
- package/useControlledState-u436Wbp1.js +30 -0
- package/useDateFormatter-CnxoJ4jF.cjs +1 -0
- package/useDateFormatter-EHm4auIg.js +1571 -0
- package/useEvent-DxBxMX2V.cjs +1 -0
- package/useEvent-IsD2Awnh.js +21 -0
- package/useField-CXKYU74k.cjs +1 -0
- package/useField-DvpGZkw_.js +35 -0
- package/useFilter-BTgDWHVx.cjs +1 -0
- package/useFilter-CUq74PQ2.js +35 -0
- package/useFocusRing-CbImDrwF.cjs +1 -0
- package/useFocusRing-XnR3cZjO.js +82 -0
- package/useFocusable-C8uh8K4g.js +125 -0
- package/useFocusable-NUVSFcRC.cjs +1 -0
- package/useFormValidation-BIGzfO9h.js +215 -0
- package/useFormValidation-ClximP89.cjs +1 -0
- package/useHasTabbableChild-C-1mZUQe.js +34 -0
- package/useHasTabbableChild-DCBTulUQ.cjs +1 -0
- package/useHighlightSelectionDescription-CnBDT86u.js +567 -0
- package/useHighlightSelectionDescription-CzYucm61.cjs +1 -0
- package/useHover-DjIHtjGN.js +490 -0
- package/useHover-_mv5J4_q.cjs +1 -0
- package/useLabels-BDwkBYbE.js +17 -0
- package/useLabels-BLOfc6Y-.cjs +1 -0
- package/useListState-Bx8u4IFG.cjs +1 -0
- package/useListState-CrZFZffI.js +132 -0
- package/useLocalizedStringFormatter-BKoxGZf1.js +96 -0
- package/useLocalizedStringFormatter-BsxLt89S.cjs +1 -0
- package/useLocalizedStringFormatter-D3JQyjb4.js +21 -0
- package/useLocalizedStringFormatter-ioacM-Yt.cjs +1 -0
- package/useObserveElement-BdI4zgd7.js +27 -0
- package/useObserveElement-MhzEsCkX.cjs +1 -0
- package/usePress-0AjDbW9R.cjs +7 -0
- package/usePress-CNjmDzap.js +542 -0
- package/useSingleSelectListState-0AGHxvy3.js +34 -0
- package/useSingleSelectListState-Cl3KV5E1.cjs +1 -0
- package/useTextField--czJtyNd.cjs +1 -0
- package/useTextField-Cw-33OP_.js +86 -0
- package/useToggleState-Bz5rAf4C.js +18 -0
- package/useToggleState-DoIkSQdj.cjs +1 -0
- package/useUpdateEffect-C5YQs_1w.cjs +1 -0
- package/useUpdateEffect-CCDx8D4X.js +13 -0
- package/utils-BNtZbAib.cjs +1 -0
- package/utils-DIMfEPAt.js +308 -0
- package/x-H8Zrx8-x.cjs +6 -0
- package/x-JK7i-TQC.js +14 -0
- package/flex/Flex.d.ts +0 -17
- package/flex/FlexItem.d.ts +0 -15
- package/flex/index.d.ts +0 -2
- package/index.css +0 -1
- package/theme.cjs +0 -1
- package/tokens-COoF1t17.cjs +0 -1
- /package/{global.css → assets/global.css} +0 -0
|
@@ -0,0 +1,989 @@
|
|
|
1
|
+
import { jsx as $, jsxs as y, Fragment as Te } from "react/jsx-runtime";
|
|
2
|
+
import { B as ge } from "./Button-Csih3v23.js";
|
|
3
|
+
import A, { useState as P, useCallback as L, useEffect as T, useRef as v, useMemo as ye } from "react";
|
|
4
|
+
import { createPortal as Le, flushSync as _e } from "react-dom";
|
|
5
|
+
import { c as I } from "./clsx-OuTLNxxd.js";
|
|
6
|
+
import { s as N } from "./index-CGRFP4CC.js";
|
|
7
|
+
import { $ as j, e as we, d as Be, f as Ie, c as Ce } from "./utils-DIMfEPAt.js";
|
|
8
|
+
import { $ as Ae, r as _, v as E } from "./useHover-DjIHtjGN.js";
|
|
9
|
+
import { a as Pe } from "./useFocusRing-XnR3cZjO.js";
|
|
10
|
+
import { b as F } from "./useLocalizedStringFormatter-BKoxGZf1.js";
|
|
11
|
+
import { $ as Ne } from "./filterDOMProps-D6KHYVBX.js";
|
|
12
|
+
import { T as je } from "./triangle-alert-wxyxspAl.js";
|
|
13
|
+
import { C as Fe, a as De } from "./circle-check-B9HYcH7Z.js";
|
|
14
|
+
import { I as Se } from "./info-BZwphdye.js";
|
|
15
|
+
import { X as Re } from "./x-JK7i-TQC.js";
|
|
16
|
+
import './assets/Toast.css';const D = 1, w = Symbol.for("react-aria-landmark-manager");
|
|
17
|
+
function Me(t) {
|
|
18
|
+
return document.addEventListener("react-aria-landmark-manager-change", t), () => document.removeEventListener("react-aria-landmark-manager-change", t);
|
|
19
|
+
}
|
|
20
|
+
function C() {
|
|
21
|
+
if (typeof document > "u") return null;
|
|
22
|
+
let t = document[w];
|
|
23
|
+
return t && t.version >= D ? t : (document[w] = new He(), document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")), document[w]);
|
|
24
|
+
}
|
|
25
|
+
function Oe() {
|
|
26
|
+
return N.useSyncExternalStore(Me, C, C);
|
|
27
|
+
}
|
|
28
|
+
class He {
|
|
29
|
+
setupIfNeeded() {
|
|
30
|
+
this.isListening || (document.addEventListener("keydown", this.f6Handler, {
|
|
31
|
+
capture: !0
|
|
32
|
+
}), document.addEventListener("focusin", this.focusinHandler, {
|
|
33
|
+
capture: !0
|
|
34
|
+
}), document.addEventListener("focusout", this.focusoutHandler, {
|
|
35
|
+
capture: !0
|
|
36
|
+
}), this.isListening = !0);
|
|
37
|
+
}
|
|
38
|
+
teardownIfNeeded() {
|
|
39
|
+
!this.isListening || this.landmarks.length > 0 || this.refCount > 0 || (document.removeEventListener("keydown", this.f6Handler, {
|
|
40
|
+
capture: !0
|
|
41
|
+
}), document.removeEventListener("focusin", this.focusinHandler, {
|
|
42
|
+
capture: !0
|
|
43
|
+
}), document.removeEventListener("focusout", this.focusoutHandler, {
|
|
44
|
+
capture: !0
|
|
45
|
+
}), this.isListening = !1);
|
|
46
|
+
}
|
|
47
|
+
focusLandmark(e, n) {
|
|
48
|
+
var i, o;
|
|
49
|
+
(o = this.landmarks.find((r) => r.ref.current === e)) === null || o === void 0 || (i = o.focus) === null || i === void 0 || i.call(o, n);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Return set of landmarks with a specific role.
|
|
53
|
+
*/
|
|
54
|
+
getLandmarksByRole(e) {
|
|
55
|
+
return new Set(this.landmarks.filter((n) => n.role === e));
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Return first landmark with a specific role.
|
|
59
|
+
*/
|
|
60
|
+
getLandmarkByRole(e) {
|
|
61
|
+
return this.landmarks.find((n) => n.role === e);
|
|
62
|
+
}
|
|
63
|
+
addLandmark(e) {
|
|
64
|
+
if (this.setupIfNeeded(), this.landmarks.find((o) => o.ref === e.ref) || !e.ref.current) return;
|
|
65
|
+
if (this.landmarks.filter((o) => o.role === "main").length > 1 && process.env.NODE_ENV !== "production" && console.error('Page can contain no more than one landmark with the role "main".'), this.landmarks.length === 0) {
|
|
66
|
+
this.landmarks = [
|
|
67
|
+
e
|
|
68
|
+
], this.checkLabels(e.role);
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
let n = 0, i = this.landmarks.length - 1;
|
|
72
|
+
for (; n <= i; ) {
|
|
73
|
+
let o = Math.floor((n + i) / 2), r = e.ref.current.compareDocumentPosition(this.landmarks[o].ref.current);
|
|
74
|
+
!!(r & Node.DOCUMENT_POSITION_PRECEDING || r & Node.DOCUMENT_POSITION_CONTAINS) ? n = o + 1 : i = o - 1;
|
|
75
|
+
}
|
|
76
|
+
this.landmarks.splice(n, 0, e), this.checkLabels(e.role);
|
|
77
|
+
}
|
|
78
|
+
updateLandmark(e) {
|
|
79
|
+
let n = this.landmarks.findIndex((i) => i.ref === e.ref);
|
|
80
|
+
n >= 0 && (this.landmarks[n] = {
|
|
81
|
+
...this.landmarks[n],
|
|
82
|
+
...e
|
|
83
|
+
}, this.checkLabels(this.landmarks[n].role));
|
|
84
|
+
}
|
|
85
|
+
removeLandmark(e) {
|
|
86
|
+
this.landmarks = this.landmarks.filter((n) => n.ref !== e), this.teardownIfNeeded();
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Warn if there are 2+ landmarks with the same role but no label.
|
|
90
|
+
* Labels for landmarks with the same role must also be unique.
|
|
91
|
+
*
|
|
92
|
+
* See https://www.w3.org/WAI/ARIA/apg/practices/landmark-regions/.
|
|
93
|
+
*/
|
|
94
|
+
checkLabels(e) {
|
|
95
|
+
let n = this.getLandmarksByRole(e);
|
|
96
|
+
if (n.size > 1) {
|
|
97
|
+
let i = [
|
|
98
|
+
...n
|
|
99
|
+
].filter((o) => !o.label);
|
|
100
|
+
if (i.length > 0 && process.env.NODE_ENV !== "production") console.warn(`Page contains more than one landmark with the '${e}' role. If two or more landmarks on a page share the same role, all must be labeled with an aria-label or aria-labelledby attribute: `, i.map((o) => o.ref.current));
|
|
101
|
+
else if (process.env.NODE_ENV !== "production") {
|
|
102
|
+
let o = [
|
|
103
|
+
...n
|
|
104
|
+
].map((u) => u.label);
|
|
105
|
+
o.filter((u, a) => o.indexOf(u) !== a).forEach((u) => {
|
|
106
|
+
console.warn(`Page contains more than one landmark with the '${e}' role and '${u}' label. If two or more landmarks on a page share the same role, they must have unique labels: `, [
|
|
107
|
+
...n
|
|
108
|
+
].filter((a) => a.label === u).map((a) => a.ref.current));
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Get the landmark that is the closest parent in the DOM.
|
|
115
|
+
* Returns undefined if no parent is a landmark.
|
|
116
|
+
*/
|
|
117
|
+
closestLandmark(e) {
|
|
118
|
+
let n = new Map(this.landmarks.map((o) => [
|
|
119
|
+
o.ref.current,
|
|
120
|
+
o
|
|
121
|
+
])), i = e;
|
|
122
|
+
for (; i && !n.has(i) && i !== document.body && i.parentElement; ) i = i.parentElement;
|
|
123
|
+
return n.get(i);
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Gets the next landmark, in DOM focus order, or previous if backwards is specified.
|
|
127
|
+
* If last landmark, next should be the first landmark.
|
|
128
|
+
* If not inside a landmark, will return first landmark.
|
|
129
|
+
* Returns undefined if there are no landmarks.
|
|
130
|
+
*/
|
|
131
|
+
getNextLandmark(e, { backward: n }) {
|
|
132
|
+
var i;
|
|
133
|
+
let o = this.closestLandmark(e), r = n ? this.landmarks.length - 1 : 0;
|
|
134
|
+
o && (r = this.landmarks.indexOf(o) + (n ? -1 : 1));
|
|
135
|
+
let u = () => {
|
|
136
|
+
if (r < 0) {
|
|
137
|
+
if (!e.dispatchEvent(new CustomEvent("react-aria-landmark-navigation", {
|
|
138
|
+
detail: {
|
|
139
|
+
direction: "backward"
|
|
140
|
+
},
|
|
141
|
+
bubbles: !0,
|
|
142
|
+
cancelable: !0
|
|
143
|
+
}))) return !0;
|
|
144
|
+
r = this.landmarks.length - 1;
|
|
145
|
+
} else if (r >= this.landmarks.length) {
|
|
146
|
+
if (!e.dispatchEvent(new CustomEvent("react-aria-landmark-navigation", {
|
|
147
|
+
detail: {
|
|
148
|
+
direction: "forward"
|
|
149
|
+
},
|
|
150
|
+
bubbles: !0,
|
|
151
|
+
cancelable: !0
|
|
152
|
+
}))) return !0;
|
|
153
|
+
r = 0;
|
|
154
|
+
}
|
|
155
|
+
return r < 0 || r >= this.landmarks.length;
|
|
156
|
+
};
|
|
157
|
+
if (u()) return;
|
|
158
|
+
let a = r;
|
|
159
|
+
for (; !((i = this.landmarks[r].ref.current) === null || i === void 0) && i.closest("[aria-hidden=true]"); ) {
|
|
160
|
+
if (r += n ? -1 : 1, u()) return;
|
|
161
|
+
if (r === a) break;
|
|
162
|
+
}
|
|
163
|
+
return this.landmarks[r];
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Look at next landmark. If an element was previously focused inside, restore focus there.
|
|
167
|
+
* If not, focus the landmark itself.
|
|
168
|
+
* If no landmarks at all, or none with focusable elements, don't move focus.
|
|
169
|
+
*/
|
|
170
|
+
f6Handler(e) {
|
|
171
|
+
e.key === "F6" && (e.altKey ? this.focusMain() : this.navigate(e.target, e.shiftKey)) && (e.preventDefault(), e.stopPropagation());
|
|
172
|
+
}
|
|
173
|
+
focusMain() {
|
|
174
|
+
let e = this.getLandmarkByRole("main");
|
|
175
|
+
return e && e.ref.current && document.contains(e.ref.current) ? (this.focusLandmark(e.ref.current, "forward"), !0) : !1;
|
|
176
|
+
}
|
|
177
|
+
navigate(e, n) {
|
|
178
|
+
let i = this.getNextLandmark(e, {
|
|
179
|
+
backward: n
|
|
180
|
+
});
|
|
181
|
+
if (!i) return !1;
|
|
182
|
+
if (i.lastFocused) {
|
|
183
|
+
let o = i.lastFocused;
|
|
184
|
+
if (document.body.contains(o))
|
|
185
|
+
return o.focus(), !0;
|
|
186
|
+
}
|
|
187
|
+
return i.ref.current && document.contains(i.ref.current) ? (this.focusLandmark(i.ref.current, n ? "backward" : "forward"), !0) : !1;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Sets lastFocused for a landmark, if focus is moved within that landmark.
|
|
191
|
+
* Lets the last focused landmark know it was blurred if something else is focused.
|
|
192
|
+
*/
|
|
193
|
+
focusinHandler(e) {
|
|
194
|
+
let n = this.closestLandmark(e.target);
|
|
195
|
+
n && n.ref.current !== e.target && this.updateLandmark({
|
|
196
|
+
ref: n.ref,
|
|
197
|
+
lastFocused: e.target
|
|
198
|
+
});
|
|
199
|
+
let i = e.relatedTarget;
|
|
200
|
+
if (i) {
|
|
201
|
+
let o = this.closestLandmark(i);
|
|
202
|
+
o && o.ref.current === i && o.blur();
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Track if the focus is lost to the body. If it is, do cleanup on the landmark that last had focus.
|
|
207
|
+
*/
|
|
208
|
+
focusoutHandler(e) {
|
|
209
|
+
let n = e.target, i = e.relatedTarget;
|
|
210
|
+
if (!i || i === document) {
|
|
211
|
+
let o = this.closestLandmark(n);
|
|
212
|
+
o && o.ref.current === n && o.blur();
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
createLandmarkController() {
|
|
216
|
+
let e = this;
|
|
217
|
+
return e.refCount++, e.setupIfNeeded(), {
|
|
218
|
+
navigate(n, i) {
|
|
219
|
+
let o = (i == null ? void 0 : i.from) || document.activeElement;
|
|
220
|
+
return e.navigate(o, n === "backward");
|
|
221
|
+
},
|
|
222
|
+
focusNext(n) {
|
|
223
|
+
let i = (n == null ? void 0 : n.from) || document.activeElement;
|
|
224
|
+
return e.navigate(i, !1);
|
|
225
|
+
},
|
|
226
|
+
focusPrevious(n) {
|
|
227
|
+
let i = (n == null ? void 0 : n.from) || document.activeElement;
|
|
228
|
+
return e.navigate(i, !0);
|
|
229
|
+
},
|
|
230
|
+
focusMain() {
|
|
231
|
+
return e.focusMain();
|
|
232
|
+
},
|
|
233
|
+
dispose() {
|
|
234
|
+
e && (e.refCount--, e.teardownIfNeeded(), e = null);
|
|
235
|
+
}
|
|
236
|
+
};
|
|
237
|
+
}
|
|
238
|
+
registerLandmark(e) {
|
|
239
|
+
return this.landmarks.find((n) => n.ref === e.ref) ? this.updateLandmark(e) : this.addLandmark(e), () => this.removeLandmark(e.ref);
|
|
240
|
+
}
|
|
241
|
+
constructor() {
|
|
242
|
+
this.landmarks = [], this.isListening = !1, this.refCount = 0, this.version = D, this.f6Handler = this.f6Handler.bind(this), this.focusinHandler = this.focusinHandler.bind(this), this.focusoutHandler = this.focusoutHandler.bind(this);
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
function Ve(t, e) {
|
|
246
|
+
const { role: n, "aria-label": i, "aria-labelledby": o, focus: r } = t;
|
|
247
|
+
let u = Oe(), a = i || o, [p, d] = P(!1), f = L(() => {
|
|
248
|
+
d(!0);
|
|
249
|
+
}, [
|
|
250
|
+
d
|
|
251
|
+
]), m = L(() => {
|
|
252
|
+
d(!1);
|
|
253
|
+
}, [
|
|
254
|
+
d
|
|
255
|
+
]);
|
|
256
|
+
return j(() => {
|
|
257
|
+
if (u) return u.registerLandmark({
|
|
258
|
+
ref: e,
|
|
259
|
+
label: a,
|
|
260
|
+
role: n,
|
|
261
|
+
focus: r || f,
|
|
262
|
+
blur: m
|
|
263
|
+
});
|
|
264
|
+
}, [
|
|
265
|
+
u,
|
|
266
|
+
a,
|
|
267
|
+
e,
|
|
268
|
+
n,
|
|
269
|
+
r,
|
|
270
|
+
f,
|
|
271
|
+
m
|
|
272
|
+
]), T(() => {
|
|
273
|
+
var s;
|
|
274
|
+
p && ((s = e.current) === null || s === void 0 || s.focus());
|
|
275
|
+
}, [
|
|
276
|
+
p,
|
|
277
|
+
e
|
|
278
|
+
]), {
|
|
279
|
+
landmarkProps: {
|
|
280
|
+
role: n,
|
|
281
|
+
tabIndex: p ? -1 : void 0,
|
|
282
|
+
"aria-label": i,
|
|
283
|
+
"aria-labelledby": o
|
|
284
|
+
}
|
|
285
|
+
};
|
|
286
|
+
}
|
|
287
|
+
var S = {};
|
|
288
|
+
S = {
|
|
289
|
+
close: "إغلاق",
|
|
290
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
291
|
+
one: () => `${e.number(t.count)} إشعار`,
|
|
292
|
+
other: () => `${e.number(t.count)} إشعارات`
|
|
293
|
+
})}.`
|
|
294
|
+
};
|
|
295
|
+
var R = {};
|
|
296
|
+
R = {
|
|
297
|
+
close: "Затвори",
|
|
298
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
299
|
+
one: () => `${e.number(t.count)} известие`,
|
|
300
|
+
other: () => `${e.number(t.count)} известия`
|
|
301
|
+
})}.`
|
|
302
|
+
};
|
|
303
|
+
var M = {};
|
|
304
|
+
M = {
|
|
305
|
+
close: "Zavřít",
|
|
306
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
307
|
+
one: () => `${e.number(t.count)} oznámení`,
|
|
308
|
+
other: () => `${e.number(t.count)} oznámení`
|
|
309
|
+
})}.`
|
|
310
|
+
};
|
|
311
|
+
var O = {};
|
|
312
|
+
O = {
|
|
313
|
+
close: "Luk",
|
|
314
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
315
|
+
one: () => `${e.number(t.count)} besked`,
|
|
316
|
+
other: () => `${e.number(t.count)} beskeder`
|
|
317
|
+
})}.`
|
|
318
|
+
};
|
|
319
|
+
var H = {};
|
|
320
|
+
H = {
|
|
321
|
+
close: "Schließen",
|
|
322
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
323
|
+
one: () => `${e.number(t.count)} Benachrichtigung`,
|
|
324
|
+
other: () => `${e.number(t.count)} Benachrichtigungen`
|
|
325
|
+
})}.`
|
|
326
|
+
};
|
|
327
|
+
var V = {};
|
|
328
|
+
V = {
|
|
329
|
+
close: "Κλείσιμο",
|
|
330
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
331
|
+
one: () => `${e.number(t.count)} ειδοποίηση`,
|
|
332
|
+
other: () => `${e.number(t.count)} ειδοποιήσεις`
|
|
333
|
+
})}.`
|
|
334
|
+
};
|
|
335
|
+
var z = {};
|
|
336
|
+
z = {
|
|
337
|
+
close: "Close",
|
|
338
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
339
|
+
one: () => `${e.number(t.count)} notification`,
|
|
340
|
+
other: () => `${e.number(t.count)} notifications`
|
|
341
|
+
})}.`
|
|
342
|
+
};
|
|
343
|
+
var U = {};
|
|
344
|
+
U = {
|
|
345
|
+
close: "Cerrar",
|
|
346
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
347
|
+
one: () => `${e.number(t.count)} notificación`,
|
|
348
|
+
other: () => `${e.number(t.count)} notificaciones`
|
|
349
|
+
})}.`
|
|
350
|
+
};
|
|
351
|
+
var W = {};
|
|
352
|
+
W = {
|
|
353
|
+
close: "Sule",
|
|
354
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
355
|
+
one: () => `${e.number(t.count)} teatis`,
|
|
356
|
+
other: () => `${e.number(t.count)} teatist`
|
|
357
|
+
})}.`
|
|
358
|
+
};
|
|
359
|
+
var K = {};
|
|
360
|
+
K = {
|
|
361
|
+
close: "Sulje",
|
|
362
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
363
|
+
one: () => `${e.number(t.count)} ilmoitus`,
|
|
364
|
+
other: () => `${e.number(t.count)} ilmoitusta`
|
|
365
|
+
})}.`
|
|
366
|
+
};
|
|
367
|
+
var Z = {};
|
|
368
|
+
Z = {
|
|
369
|
+
close: "Fermer",
|
|
370
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
371
|
+
one: () => `${e.number(t.count)} notification`,
|
|
372
|
+
other: () => `${e.number(t.count)} notifications`
|
|
373
|
+
})}.`
|
|
374
|
+
};
|
|
375
|
+
var G = {};
|
|
376
|
+
G = {
|
|
377
|
+
close: "סגור",
|
|
378
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
379
|
+
one: () => `${e.number(t.count)} התראה`,
|
|
380
|
+
other: () => `${e.number(t.count)} התראות`
|
|
381
|
+
})}.`
|
|
382
|
+
};
|
|
383
|
+
var J = {};
|
|
384
|
+
J = {
|
|
385
|
+
close: "Zatvori",
|
|
386
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
387
|
+
one: () => `${e.number(t.count)} obavijest`,
|
|
388
|
+
other: () => `${e.number(t.count)} obavijesti`
|
|
389
|
+
})}.`
|
|
390
|
+
};
|
|
391
|
+
var Q = {};
|
|
392
|
+
Q = {
|
|
393
|
+
close: "Bezárás",
|
|
394
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
395
|
+
one: () => `${e.number(t.count)} értesítés`,
|
|
396
|
+
other: () => `${e.number(t.count)} értesítés`
|
|
397
|
+
})}.`
|
|
398
|
+
};
|
|
399
|
+
var X = {};
|
|
400
|
+
X = {
|
|
401
|
+
close: "Chiudi",
|
|
402
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
403
|
+
one: () => `${e.number(t.count)} notifica`,
|
|
404
|
+
other: () => `${e.number(t.count)} notifiche`
|
|
405
|
+
})}.`
|
|
406
|
+
};
|
|
407
|
+
var q = {};
|
|
408
|
+
q = {
|
|
409
|
+
close: "閉じる",
|
|
410
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
411
|
+
one: () => `${e.number(t.count)} 個の通知`,
|
|
412
|
+
other: () => `${e.number(t.count)} 個の通知`
|
|
413
|
+
})}。`
|
|
414
|
+
};
|
|
415
|
+
var Y = {};
|
|
416
|
+
Y = {
|
|
417
|
+
close: "닫기",
|
|
418
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
419
|
+
one: () => `${e.number(t.count)}개 알림`,
|
|
420
|
+
other: () => `${e.number(t.count)}개 알림`
|
|
421
|
+
})}.`
|
|
422
|
+
};
|
|
423
|
+
var ee = {};
|
|
424
|
+
ee = {
|
|
425
|
+
close: "Uždaryti",
|
|
426
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
427
|
+
one: () => `${e.number(t.count)} pranešimas`,
|
|
428
|
+
other: () => `${e.number(t.count)} pranešimai`
|
|
429
|
+
})}.`
|
|
430
|
+
};
|
|
431
|
+
var te = {};
|
|
432
|
+
te = {
|
|
433
|
+
close: "Aizvērt",
|
|
434
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
435
|
+
one: () => `${e.number(t.count)} paziņojums`,
|
|
436
|
+
other: () => `${e.number(t.count)} paziņojumi`
|
|
437
|
+
})}.`
|
|
438
|
+
};
|
|
439
|
+
var ne = {};
|
|
440
|
+
ne = {
|
|
441
|
+
close: "Lukk",
|
|
442
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
443
|
+
one: () => `${e.number(t.count)} varsling`,
|
|
444
|
+
other: () => `${e.number(t.count)} varsler`
|
|
445
|
+
})}.`
|
|
446
|
+
};
|
|
447
|
+
var ie = {};
|
|
448
|
+
ie = {
|
|
449
|
+
close: "Sluiten",
|
|
450
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
451
|
+
one: () => `${e.number(t.count)} melding`,
|
|
452
|
+
other: () => `${e.number(t.count)} meldingen`
|
|
453
|
+
})}.`
|
|
454
|
+
};
|
|
455
|
+
var oe = {};
|
|
456
|
+
oe = {
|
|
457
|
+
close: "Zamknij",
|
|
458
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
459
|
+
one: () => `${e.number(t.count)} powiadomienie`,
|
|
460
|
+
few: () => `${e.number(t.count)} powiadomienia`,
|
|
461
|
+
many: () => `${e.number(t.count)} powiadomień`,
|
|
462
|
+
other: () => `${e.number(t.count)} powiadomienia`
|
|
463
|
+
})}.`
|
|
464
|
+
};
|
|
465
|
+
var re = {};
|
|
466
|
+
re = {
|
|
467
|
+
close: "Fechar",
|
|
468
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
469
|
+
one: () => `${e.number(t.count)} notificação`,
|
|
470
|
+
other: () => `${e.number(t.count)} notificações`
|
|
471
|
+
})}.`
|
|
472
|
+
};
|
|
473
|
+
var ue = {};
|
|
474
|
+
ue = {
|
|
475
|
+
close: "Fechar",
|
|
476
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
477
|
+
one: () => `${e.number(t.count)} notificação`,
|
|
478
|
+
other: () => `${e.number(t.count)} notificações`
|
|
479
|
+
})}.`
|
|
480
|
+
};
|
|
481
|
+
var ae = {};
|
|
482
|
+
ae = {
|
|
483
|
+
close: "Închideţi",
|
|
484
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
485
|
+
one: () => `${e.number(t.count)} notificare`,
|
|
486
|
+
other: () => `${e.number(t.count)} notificări`
|
|
487
|
+
})}.`
|
|
488
|
+
};
|
|
489
|
+
var se = {};
|
|
490
|
+
se = {
|
|
491
|
+
close: "Закрыть",
|
|
492
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
493
|
+
one: () => `${e.number(t.count)} уведомление`,
|
|
494
|
+
other: () => `${e.number(t.count)} уведомления`
|
|
495
|
+
})}.`
|
|
496
|
+
};
|
|
497
|
+
var le = {};
|
|
498
|
+
le = {
|
|
499
|
+
close: "Zatvoriť",
|
|
500
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
501
|
+
one: () => `${e.number(t.count)} oznámenie`,
|
|
502
|
+
few: () => `${e.number(t.count)} oznámenia`,
|
|
503
|
+
other: () => `${e.number(t.count)} oznámení`
|
|
504
|
+
})}.`
|
|
505
|
+
};
|
|
506
|
+
var ce = {};
|
|
507
|
+
ce = {
|
|
508
|
+
close: "Zapri",
|
|
509
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
510
|
+
one: () => `${e.number(t.count)} obvestilo`,
|
|
511
|
+
two: () => `${e.number(t.count)} obvestili`,
|
|
512
|
+
few: () => `${e.number(t.count)} obvestila`,
|
|
513
|
+
other: () => `${e.number(t.count)} obvestil`
|
|
514
|
+
})}.`
|
|
515
|
+
};
|
|
516
|
+
var de = {};
|
|
517
|
+
de = {
|
|
518
|
+
close: "Zatvori",
|
|
519
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
520
|
+
one: () => `${e.number(t.count)} obaveštenje`,
|
|
521
|
+
other: () => `${e.number(t.count)} obaveštenja`
|
|
522
|
+
})}.`
|
|
523
|
+
};
|
|
524
|
+
var fe = {};
|
|
525
|
+
fe = {
|
|
526
|
+
close: "Stäng",
|
|
527
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
528
|
+
one: () => `${e.number(t.count)} meddelande`,
|
|
529
|
+
other: () => `${e.number(t.count)} meddelanden`
|
|
530
|
+
})}.`
|
|
531
|
+
};
|
|
532
|
+
var be = {};
|
|
533
|
+
be = {
|
|
534
|
+
close: "Kapat",
|
|
535
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
536
|
+
one: () => `${e.number(t.count)} bildirim`,
|
|
537
|
+
other: () => `${e.number(t.count)} bildirim`
|
|
538
|
+
})}.`
|
|
539
|
+
};
|
|
540
|
+
var me = {};
|
|
541
|
+
me = {
|
|
542
|
+
close: "Закрити",
|
|
543
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
544
|
+
one: () => `${e.number(t.count)} сповіщення`,
|
|
545
|
+
other: () => `${e.number(t.count)} сповіщення`
|
|
546
|
+
})}.`
|
|
547
|
+
};
|
|
548
|
+
var he = {};
|
|
549
|
+
he = {
|
|
550
|
+
close: "关闭",
|
|
551
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
552
|
+
one: () => `${e.number(t.count)} 个通知`,
|
|
553
|
+
other: () => `${e.number(t.count)} 个通知`
|
|
554
|
+
})}。`
|
|
555
|
+
};
|
|
556
|
+
var $e = {};
|
|
557
|
+
$e = {
|
|
558
|
+
close: "關閉",
|
|
559
|
+
notifications: (t, e) => `${e.plural(t.count, {
|
|
560
|
+
one: () => `${e.number(t.count)} 個通知`,
|
|
561
|
+
other: () => `${e.number(t.count)} 個通知`
|
|
562
|
+
})}。`
|
|
563
|
+
};
|
|
564
|
+
var B = {};
|
|
565
|
+
B = {
|
|
566
|
+
"ar-AE": S,
|
|
567
|
+
"bg-BG": R,
|
|
568
|
+
"cs-CZ": M,
|
|
569
|
+
"da-DK": O,
|
|
570
|
+
"de-DE": H,
|
|
571
|
+
"el-GR": V,
|
|
572
|
+
"en-US": z,
|
|
573
|
+
"es-ES": U,
|
|
574
|
+
"et-EE": W,
|
|
575
|
+
"fi-FI": K,
|
|
576
|
+
"fr-FR": Z,
|
|
577
|
+
"he-IL": G,
|
|
578
|
+
"hr-HR": J,
|
|
579
|
+
"hu-HU": Q,
|
|
580
|
+
"it-IT": X,
|
|
581
|
+
"ja-JP": q,
|
|
582
|
+
"ko-KR": Y,
|
|
583
|
+
"lt-LT": ee,
|
|
584
|
+
"lv-LV": te,
|
|
585
|
+
"nb-NO": ne,
|
|
586
|
+
"nl-NL": ie,
|
|
587
|
+
"pl-PL": oe,
|
|
588
|
+
"pt-BR": re,
|
|
589
|
+
"pt-PT": ue,
|
|
590
|
+
"ro-RO": ae,
|
|
591
|
+
"ru-RU": se,
|
|
592
|
+
"sk-SK": le,
|
|
593
|
+
"sl-SI": ce,
|
|
594
|
+
"sr-SP": de,
|
|
595
|
+
"sv-SE": fe,
|
|
596
|
+
"tr-TR": be,
|
|
597
|
+
"uk-UA": me,
|
|
598
|
+
"zh-CN": he,
|
|
599
|
+
"zh-TW": $e
|
|
600
|
+
};
|
|
601
|
+
function ze(t) {
|
|
602
|
+
return t && t.__esModule ? t.default : t;
|
|
603
|
+
}
|
|
604
|
+
function Ue(t, e, n) {
|
|
605
|
+
let { key: i, timer: o, timeout: r } = t.toast;
|
|
606
|
+
T(() => {
|
|
607
|
+
if (!(o == null || r == null))
|
|
608
|
+
return o.reset(r), () => {
|
|
609
|
+
o.pause();
|
|
610
|
+
};
|
|
611
|
+
}, [
|
|
612
|
+
o,
|
|
613
|
+
r
|
|
614
|
+
]);
|
|
615
|
+
let u = we(), a = Be(), p = F(ze(B), "@react-aria/toast"), [d, f] = P(!1);
|
|
616
|
+
return T(() => {
|
|
617
|
+
f(!0);
|
|
618
|
+
}, []), {
|
|
619
|
+
toastProps: {
|
|
620
|
+
...Ne(t, {
|
|
621
|
+
labelable: !0
|
|
622
|
+
}),
|
|
623
|
+
role: "alertdialog",
|
|
624
|
+
"aria-modal": "false",
|
|
625
|
+
"aria-labelledby": t["aria-labelledby"] || u,
|
|
626
|
+
"aria-describedby": t["aria-describedby"] || a,
|
|
627
|
+
tabIndex: 0
|
|
628
|
+
},
|
|
629
|
+
contentProps: {
|
|
630
|
+
role: "alert",
|
|
631
|
+
"aria-atomic": "true",
|
|
632
|
+
"aria-hidden": d ? void 0 : "true"
|
|
633
|
+
},
|
|
634
|
+
titleProps: {
|
|
635
|
+
id: u
|
|
636
|
+
},
|
|
637
|
+
descriptionProps: {
|
|
638
|
+
id: a
|
|
639
|
+
},
|
|
640
|
+
closeButtonProps: {
|
|
641
|
+
"aria-label": p.format("close"),
|
|
642
|
+
onPress: () => e.close(i)
|
|
643
|
+
}
|
|
644
|
+
};
|
|
645
|
+
}
|
|
646
|
+
function We(t) {
|
|
647
|
+
return t && t.__esModule ? t.default : t;
|
|
648
|
+
}
|
|
649
|
+
function Ke(t, e, n) {
|
|
650
|
+
let i = F(We(B), "@react-aria/toast"), { landmarkProps: o } = Ve({
|
|
651
|
+
role: "region",
|
|
652
|
+
"aria-label": t["aria-label"] || i.format("notifications", {
|
|
653
|
+
count: e.visibleToasts.length
|
|
654
|
+
})
|
|
655
|
+
}, n), r = v(!1), u = v(!1), a = Ie(() => {
|
|
656
|
+
r.current || u.current ? e.pauseAll() : e.resumeAll();
|
|
657
|
+
}), { hoverProps: p } = Ae({
|
|
658
|
+
onHoverStart: () => {
|
|
659
|
+
r.current = !0, a();
|
|
660
|
+
},
|
|
661
|
+
onHoverEnd: () => {
|
|
662
|
+
r.current = !1, a();
|
|
663
|
+
}
|
|
664
|
+
}), d = v([]), f = v(e.visibleToasts), m = v(null);
|
|
665
|
+
j(() => {
|
|
666
|
+
if (m.current === -1 || e.visibleToasts.length === 0 || !n.current) {
|
|
667
|
+
d.current = [], f.current = e.visibleToasts;
|
|
668
|
+
return;
|
|
669
|
+
}
|
|
670
|
+
if (d.current = [
|
|
671
|
+
...n.current.querySelectorAll('[role="alertdialog"]')
|
|
672
|
+
], f.current.length === e.visibleToasts.length && e.visibleToasts.every((c, b) => c.key === f.current[b].key)) {
|
|
673
|
+
f.current = e.visibleToasts;
|
|
674
|
+
return;
|
|
675
|
+
}
|
|
676
|
+
let l = f.current.map((c, b) => ({
|
|
677
|
+
...c,
|
|
678
|
+
i: b,
|
|
679
|
+
isRemoved: !e.visibleToasts.some((h) => c.key === h.key)
|
|
680
|
+
})), g = l.findIndex((c) => c.i === m.current && c.isRemoved);
|
|
681
|
+
if (g > -1) {
|
|
682
|
+
var k;
|
|
683
|
+
if (_() === "pointer" && (!((k = s.current) === null || k === void 0) && k.isConnected)) E(s.current);
|
|
684
|
+
else {
|
|
685
|
+
let c = 0, b, h;
|
|
686
|
+
for (; c <= g; )
|
|
687
|
+
l[c].isRemoved || (h = Math.max(0, c - 1)), c++;
|
|
688
|
+
for (; c < l.length; ) {
|
|
689
|
+
if (!l[c].isRemoved) {
|
|
690
|
+
b = c - 1;
|
|
691
|
+
break;
|
|
692
|
+
}
|
|
693
|
+
c++;
|
|
694
|
+
}
|
|
695
|
+
h === void 0 && b === void 0 && (h = 0), h >= 0 && h < d.current.length ? E(d.current[h]) : b >= 0 && b < d.current.length && E(d.current[b]);
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
f.current = e.visibleToasts;
|
|
699
|
+
}, [
|
|
700
|
+
e.visibleToasts,
|
|
701
|
+
n,
|
|
702
|
+
a
|
|
703
|
+
]);
|
|
704
|
+
let s = v(null), { focusWithinProps: Ee } = Pe({
|
|
705
|
+
onFocusWithin: (l) => {
|
|
706
|
+
u.current = !0, s.current = l.relatedTarget, a();
|
|
707
|
+
},
|
|
708
|
+
onBlurWithin: () => {
|
|
709
|
+
u.current = !1, s.current = null, a();
|
|
710
|
+
}
|
|
711
|
+
});
|
|
712
|
+
return T(() => {
|
|
713
|
+
var l;
|
|
714
|
+
e.visibleToasts.length === 0 && (!((l = s.current) === null || l === void 0) && l.isConnected) && (_() === "pointer" ? E(s.current) : s.current.focus(), s.current = null);
|
|
715
|
+
}, [
|
|
716
|
+
n,
|
|
717
|
+
e.visibleToasts.length
|
|
718
|
+
]), T(() => () => {
|
|
719
|
+
var l;
|
|
720
|
+
!((l = s.current) === null || l === void 0) && l.isConnected && (_() === "pointer" ? E(s.current) : s.current.focus(), s.current = null);
|
|
721
|
+
}, [
|
|
722
|
+
n
|
|
723
|
+
]), {
|
|
724
|
+
regionProps: Ce(o, p, Ee, {
|
|
725
|
+
tabIndex: -1,
|
|
726
|
+
// Mark the toast region as a "top layer", so that it:
|
|
727
|
+
// - is not aria-hidden when opening an overlay
|
|
728
|
+
// - allows focus even outside a containing focus scope
|
|
729
|
+
// - doesn’t dismiss overlays when clicking on it, even though it is outside
|
|
730
|
+
// @ts-ignore
|
|
731
|
+
"data-react-aria-top-layer": !0,
|
|
732
|
+
// listen to focus events separate from focuswithin because that will only fire once
|
|
733
|
+
// and we need to follow all focus changes
|
|
734
|
+
onFocus: (l) => {
|
|
735
|
+
let g = l.target.closest('[role="alertdialog"]');
|
|
736
|
+
m.current = d.current.findIndex((k) => k === g);
|
|
737
|
+
},
|
|
738
|
+
onBlur: () => {
|
|
739
|
+
m.current = -1;
|
|
740
|
+
}
|
|
741
|
+
})
|
|
742
|
+
};
|
|
743
|
+
}
|
|
744
|
+
function pe(t) {
|
|
745
|
+
let e = L((o) => t.subscribe(o), [
|
|
746
|
+
t
|
|
747
|
+
]), n = L(() => t.visibleToasts, [
|
|
748
|
+
t
|
|
749
|
+
]);
|
|
750
|
+
return {
|
|
751
|
+
visibleToasts: N.useSyncExternalStore(e, n, n),
|
|
752
|
+
add: (o, r) => t.add(o, r),
|
|
753
|
+
close: (o) => t.close(o),
|
|
754
|
+
pauseAll: () => t.pauseAll(),
|
|
755
|
+
resumeAll: () => t.resumeAll()
|
|
756
|
+
};
|
|
757
|
+
}
|
|
758
|
+
class ve {
|
|
759
|
+
runWithWrapUpdate(e, n) {
|
|
760
|
+
this.wrapUpdate ? this.wrapUpdate(e, n) : e();
|
|
761
|
+
}
|
|
762
|
+
/** Subscribes to updates to the visible toasts. */
|
|
763
|
+
subscribe(e) {
|
|
764
|
+
return this.subscriptions.add(e), () => this.subscriptions.delete(e);
|
|
765
|
+
}
|
|
766
|
+
/** Adds a new toast to the queue. */
|
|
767
|
+
add(e, n = {}) {
|
|
768
|
+
let i = "_" + Math.random().toString(36).slice(2), o = {
|
|
769
|
+
...n,
|
|
770
|
+
content: e,
|
|
771
|
+
key: i,
|
|
772
|
+
timer: n.timeout ? new Ze(() => this.close(i), n.timeout) : void 0
|
|
773
|
+
};
|
|
774
|
+
return this.queue.unshift(o), this.updateVisibleToasts("add"), i;
|
|
775
|
+
}
|
|
776
|
+
/**
|
|
777
|
+
* Closes a toast.
|
|
778
|
+
*/
|
|
779
|
+
close(e) {
|
|
780
|
+
let n = this.queue.findIndex((r) => r.key === e);
|
|
781
|
+
if (n >= 0) {
|
|
782
|
+
var i, o;
|
|
783
|
+
(i = (o = this.queue[n]).onClose) === null || i === void 0 || i.call(o), this.queue.splice(n, 1);
|
|
784
|
+
}
|
|
785
|
+
this.updateVisibleToasts("remove");
|
|
786
|
+
}
|
|
787
|
+
updateVisibleToasts(e) {
|
|
788
|
+
this.visibleToasts = this.queue.slice(0, this.maxVisibleToasts), this.runWithWrapUpdate(() => {
|
|
789
|
+
for (let n of this.subscriptions) n();
|
|
790
|
+
}, e);
|
|
791
|
+
}
|
|
792
|
+
/** Pauses the timers for all visible toasts. */
|
|
793
|
+
pauseAll() {
|
|
794
|
+
for (let e of this.visibleToasts) e.timer && e.timer.pause();
|
|
795
|
+
}
|
|
796
|
+
/** Resumes the timers for all visible toasts. */
|
|
797
|
+
resumeAll() {
|
|
798
|
+
for (let e of this.visibleToasts) e.timer && e.timer.resume();
|
|
799
|
+
}
|
|
800
|
+
clear() {
|
|
801
|
+
this.queue = [], this.updateVisibleToasts("clear");
|
|
802
|
+
}
|
|
803
|
+
constructor(e) {
|
|
804
|
+
this.queue = [], this.subscriptions = /* @__PURE__ */ new Set(), this.visibleToasts = [];
|
|
805
|
+
var n;
|
|
806
|
+
this.maxVisibleToasts = (n = e == null ? void 0 : e.maxVisibleToasts) !== null && n !== void 0 ? n : 1 / 0, this.wrapUpdate = e == null ? void 0 : e.wrapUpdate;
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
class Ze {
|
|
810
|
+
reset(e) {
|
|
811
|
+
this.remaining = e, this.resume();
|
|
812
|
+
}
|
|
813
|
+
pause() {
|
|
814
|
+
this.timerId != null && (clearTimeout(this.timerId), this.timerId = null, this.remaining -= Date.now() - this.startTime);
|
|
815
|
+
}
|
|
816
|
+
resume() {
|
|
817
|
+
this.remaining <= 0 || (this.startTime = Date.now(), this.timerId = setTimeout(() => {
|
|
818
|
+
this.timerId = null, this.remaining = 0, this.callback();
|
|
819
|
+
}, this.remaining));
|
|
820
|
+
}
|
|
821
|
+
constructor(e, n) {
|
|
822
|
+
this.startTime = null, this.remaining = n, this.callback = e;
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
const Ge = '"../theme/tokens.css"', Je = "_toastRegion_jgjyx_52", Qe = "_toast_jgjyx_52", Xe = "_success_jgjyx_95", qe = "_info_jgjyx_103", Ye = "_important_jgjyx_111", et = "_warning_jgjyx_119", tt = "_icon_jgjyx_127", nt = "_toastContent_jgjyx_137", it = "_toastMessage_jgjyx_144", ot = "_slideInTop_jgjyx_1", rt = "_slideInEnd_jgjyx_1", ut = "_slideOutTop_jgjyx_1", at = "_slideOutEnd_jgjyx_1", x = {
|
|
826
|
+
tokens: Ge,
|
|
827
|
+
"--font-family": '"Inter", sans-serif',
|
|
828
|
+
"--text-primary": "light-dark(#171717, #f2f2f2)",
|
|
829
|
+
"--support-background-success": "light-dark(#d5f2d9, light-dark(#f2f2f2, #262626))",
|
|
830
|
+
"--support-border-success": "light-dark(#008d3c, #008d3c)",
|
|
831
|
+
"--support-background-info": "light-dark(#eaf2f6, light-dark(#f2f2f2, #262626))",
|
|
832
|
+
"--support-border-info": "light-dark(#0066cc, #0066cc)",
|
|
833
|
+
"--support-background-important": "light-dark(#fff8e1, light-dark(#f2f2f2, #262626))",
|
|
834
|
+
"--support-border-important": "light-dark(#fdb813, #fdb813)",
|
|
835
|
+
"--support-border-warning": "light-dark(#e62323, #e62323)",
|
|
836
|
+
"--support-background-warning": "light-dark(#ffdfdf, light-dark(#f2f2f2, #262626))",
|
|
837
|
+
"--breakpoint-md": "(min-width: 768px)",
|
|
838
|
+
"--focus": "0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white)",
|
|
839
|
+
"--z-index-toast": "1100",
|
|
840
|
+
toastRegion: Je,
|
|
841
|
+
toast: Qe,
|
|
842
|
+
success: Xe,
|
|
843
|
+
info: qe,
|
|
844
|
+
important: Ye,
|
|
845
|
+
warning: et,
|
|
846
|
+
icon: tt,
|
|
847
|
+
toastContent: nt,
|
|
848
|
+
toastMessage: it,
|
|
849
|
+
slideInTop: ot,
|
|
850
|
+
slideInEnd: rt,
|
|
851
|
+
slideOutTop: ut,
|
|
852
|
+
slideOutEnd: at
|
|
853
|
+
}, st = {
|
|
854
|
+
success: De,
|
|
855
|
+
info: Se,
|
|
856
|
+
important: Fe,
|
|
857
|
+
warning: je
|
|
858
|
+
}, xe = {
|
|
859
|
+
wrapUpdate(t) {
|
|
860
|
+
"startViewTransition" in document ? document.startViewTransition(() => {
|
|
861
|
+
_e(t);
|
|
862
|
+
}) : t();
|
|
863
|
+
},
|
|
864
|
+
maxVisibleToasts: 5
|
|
865
|
+
};
|
|
866
|
+
function lt(t = {}) {
|
|
867
|
+
const { maxVisibleToasts: e = 1, wrapUpdate: n } = t, i = ye(
|
|
868
|
+
() => new ve({ maxVisibleToasts: e, wrapUpdate: n }),
|
|
869
|
+
[e, n]
|
|
870
|
+
);
|
|
871
|
+
return pe(i);
|
|
872
|
+
}
|
|
873
|
+
const ct = new ve(xe), wt = (t) => {
|
|
874
|
+
const e = pe(ct);
|
|
875
|
+
return e.visibleToasts.length > 0 ? Le(
|
|
876
|
+
/* @__PURE__ */ $(
|
|
877
|
+
ke,
|
|
878
|
+
{
|
|
879
|
+
...t,
|
|
880
|
+
state: e
|
|
881
|
+
}
|
|
882
|
+
),
|
|
883
|
+
document.body
|
|
884
|
+
) : null;
|
|
885
|
+
}, Bt = ({ children: t, ...e }) => {
|
|
886
|
+
const n = lt(xe);
|
|
887
|
+
return /* @__PURE__ */ y(Te, { children: [
|
|
888
|
+
typeof t == "function" ? t(n) : t,
|
|
889
|
+
n.visibleToasts.length > 0 && /* @__PURE__ */ $(
|
|
890
|
+
ke,
|
|
891
|
+
{
|
|
892
|
+
...e,
|
|
893
|
+
state: n
|
|
894
|
+
}
|
|
895
|
+
)
|
|
896
|
+
] });
|
|
897
|
+
};
|
|
898
|
+
function ke({
|
|
899
|
+
state: t,
|
|
900
|
+
...e
|
|
901
|
+
}) {
|
|
902
|
+
const n = A.useRef(null), { regionProps: i } = Ke(e, t, n);
|
|
903
|
+
return /* @__PURE__ */ $(
|
|
904
|
+
"div",
|
|
905
|
+
{
|
|
906
|
+
...i,
|
|
907
|
+
ref: n,
|
|
908
|
+
className: x.toastRegion,
|
|
909
|
+
children: t.visibleToasts.map((o) => /* @__PURE__ */ $(
|
|
910
|
+
dt,
|
|
911
|
+
{
|
|
912
|
+
toast: o,
|
|
913
|
+
state: t
|
|
914
|
+
},
|
|
915
|
+
o.key
|
|
916
|
+
))
|
|
917
|
+
}
|
|
918
|
+
);
|
|
919
|
+
}
|
|
920
|
+
function dt({
|
|
921
|
+
state: t,
|
|
922
|
+
...e
|
|
923
|
+
}) {
|
|
924
|
+
const n = A.useRef(null), { toastProps: i, contentProps: o, titleProps: r, closeButtonProps: u } = Ue(
|
|
925
|
+
e,
|
|
926
|
+
t
|
|
927
|
+
), a = st[e.toast.content.type];
|
|
928
|
+
return /* @__PURE__ */ y(
|
|
929
|
+
"div",
|
|
930
|
+
{
|
|
931
|
+
...i,
|
|
932
|
+
ref: n,
|
|
933
|
+
className: I(x.toast, x[e.toast.content.type]),
|
|
934
|
+
style: { viewTransitionName: e.toast.key },
|
|
935
|
+
children: [
|
|
936
|
+
/* @__PURE__ */ y(
|
|
937
|
+
"div",
|
|
938
|
+
{
|
|
939
|
+
...o,
|
|
940
|
+
className: I(x.toastContent, o.className),
|
|
941
|
+
children: [
|
|
942
|
+
/* @__PURE__ */ $(
|
|
943
|
+
a,
|
|
944
|
+
{
|
|
945
|
+
className: x.icon,
|
|
946
|
+
size: 20,
|
|
947
|
+
"aria-hidden": !0
|
|
948
|
+
}
|
|
949
|
+
),
|
|
950
|
+
/* @__PURE__ */ y("div", { children: [
|
|
951
|
+
/* @__PURE__ */ $(
|
|
952
|
+
"p",
|
|
953
|
+
{
|
|
954
|
+
className: x.toastMessage,
|
|
955
|
+
...r,
|
|
956
|
+
children: e.toast.content.message
|
|
957
|
+
}
|
|
958
|
+
),
|
|
959
|
+
e.toast.content.children
|
|
960
|
+
] })
|
|
961
|
+
]
|
|
962
|
+
}
|
|
963
|
+
),
|
|
964
|
+
/* @__PURE__ */ $(
|
|
965
|
+
ge,
|
|
966
|
+
{
|
|
967
|
+
variant: "icon",
|
|
968
|
+
...u,
|
|
969
|
+
children: /* @__PURE__ */ $(
|
|
970
|
+
Re,
|
|
971
|
+
{
|
|
972
|
+
size: 20,
|
|
973
|
+
"aria-hidden": !0
|
|
974
|
+
}
|
|
975
|
+
)
|
|
976
|
+
}
|
|
977
|
+
)
|
|
978
|
+
]
|
|
979
|
+
}
|
|
980
|
+
);
|
|
981
|
+
}
|
|
982
|
+
export {
|
|
983
|
+
wt as G,
|
|
984
|
+
Bt as T,
|
|
985
|
+
ke as a,
|
|
986
|
+
dt as b,
|
|
987
|
+
ct as t,
|
|
988
|
+
lt as u
|
|
989
|
+
};
|