@commercetools/nimbus 2.0.1-rc1 → 2.0.1-rc2
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/dist/chunks/{Button-CrgZzRm9.es.js → Button-Dx3xzN8n.es.js} +2 -2
- package/dist/chunks/{Button-CrgZzRm9.es.js.map → Button-Dx3xzN8n.es.js.map} +1 -1
- package/dist/chunks/{DateField-qGypjFaJ.es.js → DateField-B-4ymU5i.es.js} +3 -3
- package/dist/chunks/{DateField-qGypjFaJ.es.js.map → DateField-B-4ymU5i.es.js.map} +1 -1
- package/dist/chunks/{DatePicker-Dn0LNd7V.es.js → DatePicker-ByxT1sNF.es.js} +6 -6
- package/dist/chunks/{DatePicker-Dn0LNd7V.es.js.map → DatePicker-ByxT1sNF.es.js.map} +1 -1
- package/dist/chunks/{Dialog-B2hCMJnM.es.js → Dialog-Qpq4hk89.es.js} +6 -6
- package/dist/chunks/{Dialog-B2hCMJnM.es.js.map → Dialog-Qpq4hk89.es.js.map} +1 -1
- package/dist/chunks/{Header-B4V0zxSN.es.js → Header-DFcQWjkP.es.js} +3 -3
- package/dist/chunks/{Header-B4V0zxSN.es.js.map → Header-DFcQWjkP.es.js.map} +1 -1
- package/dist/chunks/{Heading-CfiWDgRZ.es.js → Heading-DFiVmZUR.es.js} +4 -4
- package/dist/chunks/{Heading-CfiWDgRZ.es.js.map → Heading-DFiVmZUR.es.js.map} +1 -1
- package/dist/chunks/{ListBox-DAcVFwWW.es.js → ListBox-_1Uk-5-7.es.js} +6 -6
- package/dist/chunks/{ListBox-DAcVFwWW.es.js.map → ListBox-_1Uk-5-7.es.js.map} +1 -1
- package/dist/chunks/{ListKeyboardDelegate-D-k0fIME.es.js → ListKeyboardDelegate-ByRdSpOe.es.js} +2 -2
- package/dist/chunks/{ListKeyboardDelegate-D-k0fIME.es.js.map → ListKeyboardDelegate-ByRdSpOe.es.js.map} +1 -1
- package/dist/chunks/{Modal-D91zBjIP.es.js → Modal-DZrVgGsJ.es.js} +3 -3
- package/dist/chunks/{Modal-D91zBjIP.es.js.map → Modal-DZrVgGsJ.es.js.map} +1 -1
- package/dist/chunks/{SelectionManager-2q7N4psD.es.js → SelectionManager-DMLLo5N3.es.js} +3 -3
- package/dist/chunks/{SelectionManager-2q7N4psD.es.js.map → SelectionManager-DMLLo5N3.es.js.map} +1 -1
- package/dist/chunks/{ToggleButton-Cj9AtHpY.es.js → ToggleButton-881iW8P_.es.js} +2 -2
- package/dist/chunks/{ToggleButton-Cj9AtHpY.es.js.map → ToggleButton-881iW8P_.es.js.map} +1 -1
- package/dist/chunks/accordion-B2FLWAh5.cjs.js.map +1 -1
- package/dist/chunks/{accordion-DSLccfDW.es.js → accordion-CKDnNkVv.es.js} +2 -2
- package/dist/chunks/accordion-CKDnNkVv.es.js.map +1 -0
- package/dist/chunks/{alert-Cz2mnKir.es.js → alert-lNg0Rz2w.es.js} +2 -2
- package/dist/chunks/{alert-Cz2mnKir.es.js.map → alert-lNg0Rz2w.es.js.map} +1 -1
- package/dist/chunks/{button-Cnui897Z.es.js → button-IZUJaJku.es.js} +3 -3
- package/dist/chunks/{button-Cnui897Z.es.js.map → button-IZUJaJku.es.js.map} +1 -1
- package/dist/chunks/calendar-V0KeNCQ3.cjs.js.map +1 -1
- package/dist/chunks/{calendar-BTdHdh7y.es.js → calendar-lD6G93R9.es.js} +5 -5
- package/dist/chunks/calendar-lD6G93R9.es.js.map +1 -0
- package/dist/chunks/{checkbox-Bm4Yqa_0.es.js → checkbox-BB-WJdal.es.js} +3 -3
- package/dist/chunks/{checkbox-Bm4Yqa_0.es.js.map → checkbox-BB-WJdal.es.js.map} +1 -1
- package/dist/chunks/collapsible-motion-C7M_CLNI.cjs.js.map +1 -1
- package/dist/chunks/{collapsible-motion-OOUmjdKw.es.js → collapsible-motion-CSrKjF8X.es.js} +2 -2
- package/dist/chunks/collapsible-motion-CSrKjF8X.es.js.map +1 -0
- package/dist/chunks/combobox-B5UxZWSX.cjs.js.map +1 -1
- package/dist/chunks/{combobox-Ch4VokC9.es.js → combobox-D_7gr3DY.es.js} +13 -13
- package/dist/chunks/{combobox-Ch4VokC9.es.js.map → combobox-D_7gr3DY.es.js.map} +1 -1
- package/dist/chunks/{data-table-DC369pb3.es.js → data-table-ClMivKY1.es.js} +8 -8
- package/dist/chunks/{data-table-DC369pb3.es.js.map → data-table-ClMivKY1.es.js.map} +1 -1
- package/dist/chunks/{date-input-KVuRsFzs.es.js → date-input-Do1wXp3t.es.js} +2 -2
- package/dist/chunks/{date-input-KVuRsFzs.es.js.map → date-input-Do1wXp3t.es.js.map} +1 -1
- package/dist/chunks/{date-picker-C304WfAN.es.js → date-picker-ClYge74a.es.js} +9 -9
- package/dist/chunks/{date-picker-C304WfAN.es.js.map → date-picker-ClYge74a.es.js.map} +1 -1
- package/dist/chunks/{date-range-picker-CkRgcwfm.es.js → date-range-picker-KRcGUZW-.es.js} +9 -9
- package/dist/chunks/{date-range-picker-CkRgcwfm.es.js.map → date-range-picker-KRcGUZW-.es.js.map} +1 -1
- package/dist/chunks/{dialog-gTeRW6GK.es.js → dialog-BwtIcIvd.es.js} +2 -2
- package/dist/chunks/{dialog-gTeRW6GK.es.js.map → dialog-BwtIcIvd.es.js.map} +1 -1
- package/dist/chunks/{dialog.title-B9cEUH8w.es.js → dialog.title-CP_ZeiK4.es.js} +5 -5
- package/dist/chunks/{dialog.title-B9cEUH8w.es.js.map → dialog.title-CP_ZeiK4.es.js.map} +1 -1
- package/dist/chunks/{draggable-list-BIJ7t5ou.es.js → draggable-list-s43baxoM.es.js} +11 -11
- package/dist/chunks/{draggable-list-BIJ7t5ou.es.js.map → draggable-list-s43baxoM.es.js.map} +1 -1
- package/dist/chunks/{drawer-DKF34Nfc.es.js → drawer-BJ4qvGnj.es.js} +5 -5
- package/dist/chunks/{drawer-DKF34Nfc.es.js.map → drawer-BJ4qvGnj.es.js.map} +1 -1
- package/dist/chunks/{form-field-cRZo4WSf.es.js → form-field-BYlpCXdY.es.js} +3 -3
- package/dist/chunks/{form-field-cRZo4WSf.es.js.map → form-field-BYlpCXdY.es.js.map} +1 -1
- package/dist/chunks/group-BqUFlw5R.cjs.js.map +1 -1
- package/dist/chunks/group-CWADf2vF.es.js.map +1 -1
- package/dist/chunks/icon-CenxuChf.es.js.map +1 -1
- package/dist/chunks/icon-D39U--jA.cjs.js.map +1 -1
- package/dist/chunks/{icon-button-9Ni8-hO7.es.js → icon-button-DQS2apw-.es.js} +2 -2
- package/dist/chunks/{icon-button-9Ni8-hO7.es.js.map → icon-button-DQS2apw-.es.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-Db8CLmE5.es.js → icon-toggle-button-Bi-9Obfx.es.js} +2 -2
- package/dist/chunks/{icon-toggle-button-Db8CLmE5.es.js.map → icon-toggle-button-Bi-9Obfx.es.js.map} +1 -1
- package/dist/chunks/kbd-BaeV_DL-.cjs.js.map +1 -1
- package/dist/chunks/kbd-CH9rYghB.es.js.map +1 -1
- package/dist/chunks/{link-QwdgCWJd.es.js → link-BEhlSTUU.es.js} +3 -3
- package/dist/chunks/{link-QwdgCWJd.es.js.map → link-BEhlSTUU.es.js.map} +1 -1
- package/dist/chunks/{localized-field-pJSLdod5.es.js → localized-field-D3G0Uy7Z.es.js} +8 -8
- package/dist/chunks/{localized-field-pJSLdod5.es.js.map → localized-field-D3G0Uy7Z.es.js.map} +1 -1
- package/dist/chunks/{menu-4QTf2m-7.es.js → menu-D-vE6ZpM.es.js} +4 -4
- package/dist/chunks/menu-D-vE6ZpM.es.js.map +1 -0
- package/dist/chunks/menu-DIepV2KZ.cjs.js.map +1 -1
- package/dist/chunks/{money-input-BJpffXRR.es.js → money-input-sk0Slpeu.es.js} +3 -3
- package/dist/chunks/{money-input-BJpffXRR.es.js.map → money-input-sk0Slpeu.es.js.map} +1 -1
- package/dist/chunks/{nimbus-provider-BfpEKy6w.es.js → nimbus-provider-BHNFDQ0f.es.js} +5 -5
- package/dist/chunks/{nimbus-provider-BfpEKy6w.es.js.map → nimbus-provider-BHNFDQ0f.es.js.map} +1 -1
- package/dist/chunks/{number-input-DXiwgboS.es.js → number-input-CktMxOdZ.es.js} +2 -2
- package/dist/chunks/{number-input-DXiwgboS.es.js.map → number-input-CktMxOdZ.es.js.map} +1 -1
- package/dist/chunks/{openLink-DT8XzqFh.es.js → openLink-CY66vjvW.es.js} +3 -3
- package/dist/chunks/{openLink-DT8XzqFh.es.js.map → openLink-CY66vjvW.es.js.map} +1 -1
- package/dist/chunks/{pagination-Sq1twv0k.es.js → pagination-Bcq69Nv3.es.js} +4 -4
- package/dist/chunks/{pagination-Sq1twv0k.es.js.map → pagination-Bcq69Nv3.es.js.map} +1 -1
- package/dist/chunks/{password-input-CBhC_e5Z.es.js → password-input-6MO4I-2j.es.js} +2 -2
- package/dist/chunks/{password-input-CBhC_e5Z.es.js.map → password-input-6MO4I-2j.es.js.map} +1 -1
- package/dist/chunks/popover-CfEq5G5-.cjs.js.map +1 -1
- package/dist/chunks/{popover-Cz6TnNt_.es.js → popover-DNaC7CwB.es.js} +2 -2
- package/dist/chunks/popover-DNaC7CwB.es.js.map +1 -0
- package/dist/chunks/{radio-input-DhqS9ipf.es.js → radio-input-4jw6HUjC.es.js} +2 -2
- package/dist/chunks/{radio-input-DhqS9ipf.es.js.map → radio-input-4jw6HUjC.es.js.map} +1 -1
- package/dist/chunks/{range-calendar-RBEpLQJb.es.js → range-calendar-DBpl6y5i.es.js} +5 -5
- package/dist/chunks/range-calendar-DBpl6y5i.es.js.map +1 -0
- package/dist/chunks/range-calendar-_dZfAsdG.cjs.js.map +1 -1
- package/dist/chunks/{rich-text-input-CrjP71KM.es.js → rich-text-input-BC8CBVio.es.js} +5 -5
- package/dist/chunks/rich-text-input-BC8CBVio.es.js.map +1 -0
- package/dist/chunks/rich-text-input-Da5WFZ3l.cjs.js.map +1 -1
- package/dist/chunks/{search-input-DCpjVXVS.es.js → search-input-DJy2NHYW.es.js} +3 -3
- package/dist/chunks/{search-input-DCpjVXVS.es.js.map → search-input-DJy2NHYW.es.js.map} +1 -1
- package/dist/chunks/{select-xlqMXZuO.es.js → select-BmMhTBo-.es.js} +9 -9
- package/dist/chunks/{select-xlqMXZuO.es.js.map → select-BmMhTBo-.es.js.map} +1 -1
- package/dist/chunks/separator-CvRn_J0r.cjs.js.map +1 -1
- package/dist/chunks/separator-DJGUFG-o.es.js.map +1 -1
- package/dist/chunks/split-button-BO52sL7h.cjs.js.map +1 -1
- package/dist/chunks/{split-button-C5MmKuVW.es.js → split-button-BxyZmuNi.es.js} +4 -4
- package/dist/chunks/split-button-BxyZmuNi.es.js.map +1 -0
- package/dist/chunks/{switch-B5bEl91n.es.js → switch-01hEhL9A.es.js} +2 -2
- package/dist/chunks/switch-01hEhL9A.es.js.map +1 -0
- package/dist/chunks/switch-CdLhBEPq.cjs.js.map +1 -1
- package/dist/chunks/tabs-CJ0OAUSR.cjs.js.map +1 -1
- package/dist/chunks/{tabs-DGzmzlun.es.js → tabs-Dhte-RCe.es.js} +4 -4
- package/dist/chunks/{tabs-DGzmzlun.es.js.map → tabs-Dhte-RCe.es.js.map} +1 -1
- package/dist/chunks/tag-group-Btt0egzG.cjs.js.map +1 -1
- package/dist/chunks/{tag-group-pJFnuRoJ.es.js → tag-group-D2dgXSsV.es.js} +9 -9
- package/dist/chunks/{tag-group-pJFnuRoJ.es.js.map → tag-group-D2dgXSsV.es.js.map} +1 -1
- package/dist/chunks/{time-input-BUej1BjY.es.js → time-input-DDrB_c0M.es.js} +2 -2
- package/dist/chunks/{time-input-BUej1BjY.es.js.map → time-input-DDrB_c0M.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-CPzjUSI_.es.js → toggle-button-awb1jBf8.es.js} +2 -2
- package/dist/chunks/{toggle-button-CPzjUSI_.es.js.map → toggle-button-awb1jBf8.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-group-DOxjowig.es.js → toggle-button-group-Ce7ezOED.es.js} +2 -2
- package/dist/chunks/{toggle-button-group-DOxjowig.es.js.map → toggle-button-group-Ce7ezOED.es.js.map} +1 -1
- package/dist/chunks/tooltip-BPTOkK7W.cjs.js.map +1 -1
- package/dist/chunks/tooltip-sgakxhiy.es.js.map +1 -1
- package/dist/chunks/{useButton-DkQVxdIF.es.js → useButton-_sJ3_8ha.es.js} +2 -2
- package/dist/chunks/{useButton-DkQVxdIF.es.js.map → useButton-_sJ3_8ha.es.js.map} +1 -1
- package/dist/chunks/{useDateFormatter-BkKCXbud.es.js → useDateFormatter-C4zVAL_K.es.js} +2 -2
- package/dist/chunks/{useDateFormatter-BkKCXbud.es.js.map → useDateFormatter-C4zVAL_K.es.js.map} +1 -1
- package/dist/chunks/{useGridListItem-Cosrmt8g.es.js → useGridListItem--iMluO7K.es.js} +4 -4
- package/dist/chunks/{useGridListItem-Cosrmt8g.es.js.map → useGridListItem--iMluO7K.es.js.map} +1 -1
- package/dist/chunks/{useListState-CUO8Wibt.es.js → useListState-Cf8n791-.es.js} +2 -2
- package/dist/chunks/{useListState-CUO8Wibt.es.js.map → useListState-Cf8n791-.es.js.map} +1 -1
- package/dist/chunks/{usePress-Bxb2-xLP.es.js → usePress-Dc6amhnJ.es.js} +2 -2
- package/dist/chunks/{usePress-Bxb2-xLP.es.js.map → usePress-Dc6amhnJ.es.js.map} +1 -1
- package/dist/chunks/{useSingleSelectListState-CnVWWOJD.es.js → useSingleSelectListState-DLY6K_dU.es.js} +2 -2
- package/dist/chunks/{useSingleSelectListState-CnVWWOJD.es.js.map → useSingleSelectListState-DLY6K_dU.es.js.map} +1 -1
- package/dist/chunks/{useToggle-CUMQAGyE.es.js → useToggle-CKEhqMIa.es.js} +2 -2
- package/dist/chunks/{useToggle-CUMQAGyE.es.js.map → useToggle-CKEhqMIa.es.js.map} +1 -1
- package/dist/components/accordion.es.js +1 -1
- package/dist/components/alert.es.js +1 -1
- package/dist/components/button.es.js +1 -1
- package/dist/components/calendar.es.js +1 -1
- package/dist/components/checkbox.es.js +1 -1
- package/dist/components/collapsible-motion.es.js +1 -1
- package/dist/components/combobox.es.js +1 -1
- package/dist/components/components.es.js +1 -1
- package/dist/components/data-table.es.js +1 -1
- package/dist/components/date-input.es.js +1 -1
- package/dist/components/date-picker.es.js +1 -1
- package/dist/components/date-range-picker.es.js +1 -1
- package/dist/components/dialog.es.js +1 -1
- package/dist/components/draggable-list.es.js +1 -1
- package/dist/components/drawer.es.js +1 -1
- package/dist/components/form-field.es.js +1 -1
- package/dist/components/icon-button.es.js +1 -1
- package/dist/components/icon-toggle-button.es.js +1 -1
- package/dist/components/link.es.js +1 -1
- package/dist/components/localized-field.es.js +1 -1
- package/dist/components/money-input.es.js +1 -1
- package/dist/components/nimbus-provider.es.js +1 -1
- package/dist/components/number-input.es.js +1 -1
- package/dist/components/pagination.es.js +1 -1
- package/dist/components/password-input.es.js +1 -1
- package/dist/components/popover.es.js +1 -1
- package/dist/components/radio-input.es.js +1 -1
- package/dist/components/range-calendar.es.js +1 -1
- package/dist/components/rich-text-input.es.js +1 -1
- package/dist/components/scoped-search-input.es.js +2 -2
- package/dist/components/search-input.es.js +1 -1
- package/dist/components/select.es.js +1 -1
- package/dist/components/split-button.es.js +1 -1
- package/dist/components/switch.es.js +1 -1
- package/dist/components/tabs.es.js +1 -1
- package/dist/components/tag-group.es.js +1 -1
- package/dist/components/time-input.es.js +1 -1
- package/dist/components/toggle-button-group.es.js +1 -1
- package/dist/components/toggle-button.es.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +34 -0
- package/dist/index.es.js +203 -198
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/accordion-DSLccfDW.es.js.map +0 -1
- package/dist/chunks/calendar-BTdHdh7y.es.js.map +0 -1
- package/dist/chunks/collapsible-motion-OOUmjdKw.es.js.map +0 -1
- package/dist/chunks/menu-4QTf2m-7.es.js.map +0 -1
- package/dist/chunks/popover-Cz6TnNt_.es.js.map +0 -1
- package/dist/chunks/range-calendar-RBEpLQJb.es.js.map +0 -1
- package/dist/chunks/rich-text-input-CrjP71KM.es.js.map +0 -1
- package/dist/chunks/split-button-C5MmKuVW.es.js.map +0 -1
- package/dist/chunks/switch-B5bEl91n.es.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as se, h as K, i as ce } from "./SelectionManager-
|
|
1
|
+
import { g as se, h as K, i as ce } from "./SelectionManager-DMLLo5N3.es.js";
|
|
2
2
|
import { a as T, d as J, f as ue, $ as Q, b as fe } from "./utils-Cyja2WdR.es.js";
|
|
3
3
|
import { $ as O, a as X, b as $e, c as pe, d as oo } from "./DragAndDrop-BXEtfOEa.es.js";
|
|
4
|
-
import { $ as be, a as ve, b as ge } from "./Header-
|
|
4
|
+
import { $ as be, a as ve, b as ge } from "./Header-DFcQWjkP.es.js";
|
|
5
5
|
import { a as me } from "./RSPContexts-DV4cFLUV.es.js";
|
|
6
6
|
import { a as he, $ as xe } from "./SelectionIndicator-DopimabS.es.js";
|
|
7
7
|
import { a as Pe } from "./Separator-DyXjJGoH.es.js";
|
|
@@ -12,16 +12,16 @@ import { $ as H } from "./filterDOMProps-BSVCO5jK.es.js";
|
|
|
12
12
|
import { $ as Z } from "./useObjectRef-CaJ5pgjX.es.js";
|
|
13
13
|
import { $ as po } from "./inertValue-B7loUihk.es.js";
|
|
14
14
|
import s, { forwardRef as ee, useContext as D, createContext as oe, useEffect as te, useMemo as we, useRef as z } from "react";
|
|
15
|
-
import { c as Le } from "./openLink-
|
|
15
|
+
import { c as Le } from "./openLink-CY66vjvW.es.js";
|
|
16
16
|
import { b as He, a as Ie } from "./platform-Z5fvtFmM.es.js";
|
|
17
17
|
import { $ as G } from "./useFocusVisible-BIPjFmFE.es.js";
|
|
18
18
|
import { $ as ae } from "./useHover-9Xdm5U9d.es.js";
|
|
19
19
|
import { $ as Ve } from "./useFocusWithin-CfiDXiVK.es.js";
|
|
20
20
|
import { $ as _e } from "./useLabel-Cv-EvK4W.es.js";
|
|
21
|
-
import { a as Ae, $ as Te } from "./useListState-
|
|
21
|
+
import { a as Ae, $ as Te } from "./useListState-Cf8n791-.es.js";
|
|
22
22
|
import { $ as Oe } from "./context-R4YUlO9Y.es.js";
|
|
23
23
|
import { $ as Ce } from "./useCollator-BHMZd1r6.es.js";
|
|
24
|
-
import { $ as Ne } from "./ListKeyboardDelegate-
|
|
24
|
+
import { $ as Ne } from "./ListKeyboardDelegate-ByRdSpOe.es.js";
|
|
25
25
|
import { $ as Ue } from "./useFocusRing-DRIG5NVg.es.js";
|
|
26
26
|
import { b as ze } from "./FocusScope-BY2fddGq.es.js";
|
|
27
27
|
const R = /* @__PURE__ */ new WeakMap();
|
|
@@ -490,4 +490,4 @@ export {
|
|
|
490
490
|
R as e,
|
|
491
491
|
Re as f
|
|
492
492
|
};
|
|
493
|
-
//# sourceMappingURL=ListBox-
|
|
493
|
+
//# sourceMappingURL=ListBox-_1Uk-5-7.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListBox-DAcVFwWW.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+listbox@3.15.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/listbox/dist/utils.mjs","../../../../node_modules/.pnpm/@react-aria+listbox@3.15.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/listbox/dist/useListBox.mjs","../../../../node_modules/.pnpm/@react-aria+listbox@3.15.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/listbox/dist/useOption.mjs","../../../../node_modules/.pnpm/@react-aria+listbox@3.15.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/listbox/dist/useListBoxSection.mjs","../../../../node_modules/.pnpm/react-aria-components@1.13.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/ListBox.mjs"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $b1f0cad8af73213b$export$3585ede4d035bf14 = new WeakMap();\nfunction $b1f0cad8af73213b$var$normalizeKey(key) {\n if (typeof key === 'string') return key.replace(/\\s*/g, '');\n return '' + key;\n}\nfunction $b1f0cad8af73213b$export$9145995848b05025(state, itemKey) {\n let data = $b1f0cad8af73213b$export$3585ede4d035bf14.get(state);\n if (!data) throw new Error('Unknown list');\n return `${data.id}-option-${$b1f0cad8af73213b$var$normalizeKey(itemKey)}`;\n}\n\n\nexport {$b1f0cad8af73213b$export$3585ede4d035bf14 as listData, $b1f0cad8af73213b$export$9145995848b05025 as getItemId};\n//# sourceMappingURL=utils.module.js.map\n","import {listData as $b1f0cad8af73213b$export$3585ede4d035bf14} from \"./utils.mjs\";\nimport {filterDOMProps as $by1yQ$filterDOMProps, useId as $by1yQ$useId, mergeProps as $by1yQ$mergeProps} from \"@react-aria/utils\";\nimport {useFocusWithin as $by1yQ$useFocusWithin} from \"@react-aria/interactions\";\nimport {useLabel as $by1yQ$useLabel} from \"@react-aria/label\";\nimport {useSelectableList as $by1yQ$useSelectableList} from \"@react-aria/selection\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nfunction $c132121280ec012d$export$50eacbbf140a3141(props, state, ref) {\n let domProps = (0, $by1yQ$filterDOMProps)(props, {\n labelable: true\n });\n // Use props instead of state here. We don't want this to change due to long press.\n let selectionBehavior = props.selectionBehavior || 'toggle';\n let linkBehavior = props.linkBehavior || (selectionBehavior === 'replace' ? 'action' : 'override');\n if (selectionBehavior === 'toggle' && linkBehavior === 'action') // linkBehavior=\"action\" does not work with selectionBehavior=\"toggle\" because there is no way\n // to initiate selection (checkboxes are not allowed inside a listbox). Link items will not be\n // selectable in this configuration.\n linkBehavior = 'override';\n let { listProps: listProps } = (0, $by1yQ$useSelectableList)({\n ...props,\n ref: ref,\n selectionManager: state.selectionManager,\n collection: state.collection,\n disabledKeys: state.disabledKeys,\n linkBehavior: linkBehavior\n });\n let { focusWithinProps: focusWithinProps } = (0, $by1yQ$useFocusWithin)({\n onFocusWithin: props.onFocus,\n onBlurWithin: props.onBlur,\n onFocusWithinChange: props.onFocusChange\n });\n // Share list id and some props with child options.\n let id = (0, $by1yQ$useId)(props.id);\n (0, $b1f0cad8af73213b$export$3585ede4d035bf14).set(state, {\n id: id,\n shouldUseVirtualFocus: props.shouldUseVirtualFocus,\n shouldSelectOnPressUp: props.shouldSelectOnPressUp,\n shouldFocusOnHover: props.shouldFocusOnHover,\n isVirtualized: props.isVirtualized,\n onAction: props.onAction,\n linkBehavior: linkBehavior,\n // @ts-ignore\n UNSTABLE_itemBehavior: props['UNSTABLE_itemBehavior']\n });\n let { labelProps: labelProps, fieldProps: fieldProps } = (0, $by1yQ$useLabel)({\n ...props,\n id: id,\n // listbox is not an HTML input element so it\n // shouldn't be labeled by a <label> element.\n labelElementType: 'span'\n });\n return {\n labelProps: labelProps,\n listBoxProps: (0, $by1yQ$mergeProps)(domProps, focusWithinProps, state.selectionManager.selectionMode === 'multiple' ? {\n 'aria-multiselectable': 'true'\n } : {}, {\n role: 'listbox',\n ...(0, $by1yQ$mergeProps)(fieldProps, listProps)\n })\n };\n}\n\n\nexport {$c132121280ec012d$export$50eacbbf140a3141 as useListBox};\n//# sourceMappingURL=useListBox.module.js.map\n","import {getItemId as $b1f0cad8af73213b$export$9145995848b05025, listData as $b1f0cad8af73213b$export$3585ede4d035bf14} from \"./utils.mjs\";\nimport {useSlotId as $fcwmx$useSlotId, isMac as $fcwmx$isMac, isWebKit as $fcwmx$isWebKit, chain as $fcwmx$chain, filterDOMProps as $fcwmx$filterDOMProps, useLinkProps as $fcwmx$useLinkProps, mergeProps as $fcwmx$mergeProps} from \"@react-aria/utils\";\nimport {getItemCount as $fcwmx$getItemCount} from \"@react-stately/collections\";\nimport {useHover as $fcwmx$useHover, isFocusVisible as $fcwmx$isFocusVisible} from \"@react-aria/interactions\";\nimport {useSelectableItem as $fcwmx$useSelectableItem} from \"@react-aria/selection\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nfunction $293f70390ea03370$export$497855f14858aa34(props, state, ref) {\n var _item_props, _item_props1;\n let { key: key } = props;\n let data = (0, $b1f0cad8af73213b$export$3585ede4d035bf14).get(state);\n var _props_isDisabled;\n let isDisabled = (_props_isDisabled = props.isDisabled) !== null && _props_isDisabled !== void 0 ? _props_isDisabled : state.selectionManager.isDisabled(key);\n var _props_isSelected;\n let isSelected = (_props_isSelected = props.isSelected) !== null && _props_isSelected !== void 0 ? _props_isSelected : state.selectionManager.isSelected(key);\n var _props_shouldSelectOnPressUp;\n let shouldSelectOnPressUp = (_props_shouldSelectOnPressUp = props.shouldSelectOnPressUp) !== null && _props_shouldSelectOnPressUp !== void 0 ? _props_shouldSelectOnPressUp : data === null || data === void 0 ? void 0 : data.shouldSelectOnPressUp;\n var _props_shouldFocusOnHover;\n let shouldFocusOnHover = (_props_shouldFocusOnHover = props.shouldFocusOnHover) !== null && _props_shouldFocusOnHover !== void 0 ? _props_shouldFocusOnHover : data === null || data === void 0 ? void 0 : data.shouldFocusOnHover;\n var _props_shouldUseVirtualFocus;\n let shouldUseVirtualFocus = (_props_shouldUseVirtualFocus = props.shouldUseVirtualFocus) !== null && _props_shouldUseVirtualFocus !== void 0 ? _props_shouldUseVirtualFocus : data === null || data === void 0 ? void 0 : data.shouldUseVirtualFocus;\n var _props_isVirtualized;\n let isVirtualized = (_props_isVirtualized = props.isVirtualized) !== null && _props_isVirtualized !== void 0 ? _props_isVirtualized : data === null || data === void 0 ? void 0 : data.isVirtualized;\n let labelId = (0, $fcwmx$useSlotId)();\n let descriptionId = (0, $fcwmx$useSlotId)();\n let optionProps = {\n role: 'option',\n 'aria-disabled': isDisabled || undefined,\n 'aria-selected': state.selectionManager.selectionMode !== 'none' ? isSelected : undefined\n };\n // Safari with VoiceOver on macOS misreads options with aria-labelledby or aria-label as simply \"text\".\n // We should not map slots to the label and description on Safari and instead just have VoiceOver read the textContent.\n // https://bugs.webkit.org/show_bug.cgi?id=209279\n if (!((0, $fcwmx$isMac)() && (0, $fcwmx$isWebKit)())) {\n optionProps['aria-label'] = props['aria-label'];\n optionProps['aria-labelledby'] = labelId;\n optionProps['aria-describedby'] = descriptionId;\n }\n let item = state.collection.getItem(key);\n if (isVirtualized) {\n let index = Number(item === null || item === void 0 ? void 0 : item.index);\n optionProps['aria-posinset'] = Number.isNaN(index) ? undefined : index + 1;\n optionProps['aria-setsize'] = (0, $fcwmx$getItemCount)(state.collection);\n }\n let onAction = (data === null || data === void 0 ? void 0 : data.onAction) ? ()=>{\n var _data_onAction;\n return data === null || data === void 0 ? void 0 : (_data_onAction = data.onAction) === null || _data_onAction === void 0 ? void 0 : _data_onAction.call(data, key);\n } : undefined;\n let id = (0, $b1f0cad8af73213b$export$9145995848b05025)(state, key);\n let { itemProps: itemProps, isPressed: isPressed, isFocused: isFocused, hasAction: hasAction, allowsSelection: allowsSelection } = (0, $fcwmx$useSelectableItem)({\n selectionManager: state.selectionManager,\n key: key,\n ref: ref,\n shouldSelectOnPressUp: shouldSelectOnPressUp,\n allowsDifferentPressOrigin: shouldSelectOnPressUp && shouldFocusOnHover,\n isVirtualized: isVirtualized,\n shouldUseVirtualFocus: shouldUseVirtualFocus,\n isDisabled: isDisabled,\n onAction: onAction || (item === null || item === void 0 ? void 0 : (_item_props = item.props) === null || _item_props === void 0 ? void 0 : _item_props.onAction) ? (0, $fcwmx$chain)(item === null || item === void 0 ? void 0 : (_item_props1 = item.props) === null || _item_props1 === void 0 ? void 0 : _item_props1.onAction, onAction) : undefined,\n linkBehavior: data === null || data === void 0 ? void 0 : data.linkBehavior,\n // @ts-ignore\n UNSTABLE_itemBehavior: data === null || data === void 0 ? void 0 : data['UNSTABLE_itemBehavior'],\n id: id\n });\n let { hoverProps: hoverProps } = (0, $fcwmx$useHover)({\n isDisabled: isDisabled || !shouldFocusOnHover,\n onHoverStart () {\n if (!(0, $fcwmx$isFocusVisible)()) {\n state.selectionManager.setFocused(true);\n state.selectionManager.setFocusedKey(key);\n }\n }\n });\n let domProps = (0, $fcwmx$filterDOMProps)(item === null || item === void 0 ? void 0 : item.props);\n delete domProps.id;\n let linkProps = (0, $fcwmx$useLinkProps)(item === null || item === void 0 ? void 0 : item.props);\n return {\n optionProps: {\n ...optionProps,\n ...(0, $fcwmx$mergeProps)(domProps, itemProps, hoverProps, linkProps),\n id: id\n },\n labelProps: {\n id: labelId\n },\n descriptionProps: {\n id: descriptionId\n },\n isFocused: isFocused,\n isFocusVisible: isFocused && state.selectionManager.isFocused && (0, $fcwmx$isFocusVisible)(),\n isSelected: isSelected,\n isDisabled: isDisabled,\n isPressed: isPressed,\n allowsSelection: allowsSelection,\n hasAction: hasAction\n };\n}\n\n\nexport {$293f70390ea03370$export$497855f14858aa34 as useOption};\n//# sourceMappingURL=useOption.module.js.map\n","import {useId as $8pE4M$useId} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $af383d3bef1cfdc9$export$c3f9f39876e4bc7(props) {\n let { heading: heading, 'aria-label': ariaLabel } = props;\n let headingId = (0, $8pE4M$useId)();\n return {\n itemProps: {\n role: 'presentation'\n },\n headingProps: heading ? {\n // Techincally, listbox cannot contain headings according to ARIA.\n // We hide the heading from assistive technology, using role=\"presentation\",\n // and only use it as a visual label for the nested group.\n id: headingId,\n role: 'presentation'\n } : {},\n groupProps: {\n role: 'group',\n 'aria-label': ariaLabel,\n 'aria-labelledby': heading ? headingId : undefined\n }\n };\n}\n\n\nexport {$af383d3bef1cfdc9$export$c3f9f39876e4bc7 as useListBoxSection};\n//# sourceMappingURL=useListBoxSection.module.js.map\n","import {CollectionRendererContext as $7135fc7d473fd974$export$4feb769f8ddf26c5, SectionContext as $7135fc7d473fd974$export$d40e14dec8b060a8} from \"./Collection.mjs\";\nimport {DEFAULT_SLOT as $64fa3d84918910a7$export$c62b8e45d58ddad9, Provider as $64fa3d84918910a7$export$2881499e37b75b9a, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3, useSlot as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8} from \"./utils.mjs\";\nimport {DragAndDropContext as $612b8eb6cb90e02d$export$d188a835a7bc5783, DropIndicatorContext as $612b8eb6cb90e02d$export$f55761759794cf55, useDndPersistedKeys as $612b8eb6cb90e02d$export$d1e8e3fbb7461f6, useRenderDropIndicator as $612b8eb6cb90e02d$export$971707d8a129a1f7} from \"./DragAndDrop.mjs\";\nimport {HeaderContext as $72a5793c14baf454$export$e0e4026c12a8bdbb} from \"./Header.mjs\";\nimport {SelectableCollectionContext as $4e85f108e88277b8$export$b0d3ecf7112093a7} from \"./RSPContexts.mjs\";\nimport {SelectionIndicatorContext as $1d5b8b8664671ef2$export$c9549807523555e0} from \"./SelectionIndicator.mjs\";\nimport {SeparatorContext as $431f98aba6844401$export$6615d83f6de245ce} from \"./Separator.mjs\";\nimport {SharedElementTransition as $c8a5a149f625efcf$export$758399f318e6385a} from \"./SharedElementTransition.mjs\";\nimport {TextContext as $514c0188e459b4c0$export$9afb8bc826b033ea} from \"./Text.mjs\";\nimport {useLocale as $e8Bmu$useLocale, useCollator as $e8Bmu$useCollator, ListKeyboardDelegate as $e8Bmu$ListKeyboardDelegate, useListBox as $e8Bmu$useListBox, useFocusRing as $e8Bmu$useFocusRing, FocusScope as $e8Bmu$FocusScope, mergeProps as $e8Bmu$mergeProps, useListBoxSection as $e8Bmu$useListBoxSection, useOption as $e8Bmu$useOption, useHover as $e8Bmu$useHover} from \"react-aria\";\nimport {CollectionBuilder as $e8Bmu$CollectionBuilder, Collection as $e8Bmu$Collection, createBranchComponent as $e8Bmu$createBranchComponent, SectionNode as $e8Bmu$SectionNode, createLeafComponent as $e8Bmu$createLeafComponent, ItemNode as $e8Bmu$ItemNode, LoaderNode as $e8Bmu$LoaderNode} from \"@react-aria/collections\";\nimport {useListState as $e8Bmu$useListState, UNSTABLE_useFilteredListState as $e8Bmu$UNSTABLE_useFilteredListState} from \"react-stately\";\nimport {filterDOMProps as $e8Bmu$filterDOMProps, useObjectRef as $e8Bmu$useObjectRef, useLoadMoreSentinel as $e8Bmu$useLoadMoreSentinel, inertValue as $e8Bmu$inertValue} from \"@react-aria/utils\";\nimport $e8Bmu$react, {createContext as $e8Bmu$createContext, forwardRef as $e8Bmu$forwardRef, useContext as $e8Bmu$useContext, useMemo as $e8Bmu$useMemo, useRef as $e8Bmu$useRef, useEffect as $e8Bmu$useEffect} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\n\n\n\nconst $eed445e0843c11d0$export$7ff8f37d2d81a48d = /*#__PURE__*/ (0, $e8Bmu$createContext)(null);\nconst $eed445e0843c11d0$export$7c5906fe4f1f2af2 = /*#__PURE__*/ (0, $e8Bmu$createContext)(null);\nconst $eed445e0843c11d0$export$41f133550aa26f48 = /*#__PURE__*/ (0, $e8Bmu$forwardRef)(function ListBox(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $eed445e0843c11d0$export$7ff8f37d2d81a48d);\n let state = (0, $e8Bmu$useContext)($eed445e0843c11d0$export$7c5906fe4f1f2af2);\n // The structure of ListBox is a bit strange because it needs to work inside other components like ComboBox and Select.\n // Those components render two copies of their children so that the collection can be built even when the popover is closed.\n // The first copy sends a collection document via context which we render the collection portal into.\n // The second copy sends a ListState object via context which we use to render the ListBox without rebuilding the state.\n // Otherwise, we have a standalone ListBox, so we need to create a collection and state ourselves.\n if (state) return /*#__PURE__*/ (0, $e8Bmu$react).createElement($eed445e0843c11d0$var$ListBoxInner, {\n state: state,\n props: props,\n listBoxRef: ref\n });\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $e8Bmu$CollectionBuilder), {\n content: /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $e8Bmu$Collection), props)\n }, (collection)=>/*#__PURE__*/ (0, $e8Bmu$react).createElement($eed445e0843c11d0$var$StandaloneListBox, {\n props: props,\n listBoxRef: ref,\n collection: collection\n }));\n});\nfunction $eed445e0843c11d0$var$StandaloneListBox({ props: props, listBoxRef: listBoxRef, collection: collection }) {\n props = {\n ...props,\n collection: collection,\n children: null,\n items: null\n };\n let { layoutDelegate: layoutDelegate } = (0, $e8Bmu$useContext)((0, $7135fc7d473fd974$export$4feb769f8ddf26c5));\n let state = (0, $e8Bmu$useListState)({\n ...props,\n layoutDelegate: layoutDelegate\n });\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement($eed445e0843c11d0$var$ListBoxInner, {\n state: state,\n props: props,\n listBoxRef: listBoxRef\n });\n}\nfunction $eed445e0843c11d0$var$ListBoxInner({ state: inputState, props: props, listBoxRef: listBoxRef }) {\n [props, listBoxRef] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, listBoxRef, (0, $4e85f108e88277b8$export$b0d3ecf7112093a7));\n let { dragAndDropHooks: dragAndDropHooks, layout: layout = 'stack', orientation: orientation = 'vertical', filter: filter } = props;\n let state = (0, $e8Bmu$UNSTABLE_useFilteredListState)(inputState, filter);\n let { collection: collection, selectionManager: selectionManager } = state;\n let isListDraggable = !!(dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.useDraggableCollectionState);\n let isListDroppable = !!(dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.useDroppableCollectionState);\n let { direction: direction } = (0, $e8Bmu$useLocale)();\n let { disabledBehavior: disabledBehavior, disabledKeys: disabledKeys } = selectionManager;\n let collator = (0, $e8Bmu$useCollator)({\n usage: 'search',\n sensitivity: 'base'\n });\n let { isVirtualized: isVirtualized, layoutDelegate: layoutDelegate, dropTargetDelegate: ctxDropTargetDelegate, CollectionRoot: CollectionRoot } = (0, $e8Bmu$useContext)((0, $7135fc7d473fd974$export$4feb769f8ddf26c5));\n let keyboardDelegate = (0, $e8Bmu$useMemo)(()=>props.keyboardDelegate || new (0, $e8Bmu$ListKeyboardDelegate)({\n collection: collection,\n collator: collator,\n ref: listBoxRef,\n disabledKeys: disabledKeys,\n disabledBehavior: disabledBehavior,\n layout: layout,\n orientation: orientation,\n direction: direction,\n layoutDelegate: layoutDelegate\n }), [\n collection,\n collator,\n listBoxRef,\n disabledBehavior,\n disabledKeys,\n orientation,\n direction,\n props.keyboardDelegate,\n layout,\n layoutDelegate\n ]);\n let { listBoxProps: listBoxProps } = (0, $e8Bmu$useListBox)({\n ...props,\n shouldSelectOnPressUp: isListDraggable || props.shouldSelectOnPressUp,\n keyboardDelegate: keyboardDelegate,\n isVirtualized: isVirtualized\n }, state, listBoxRef);\n let dragHooksProvided = (0, $e8Bmu$useRef)(isListDraggable);\n let dropHooksProvided = (0, $e8Bmu$useRef)(isListDroppable);\n (0, $e8Bmu$useEffect)(()=>{\n if (process.env.NODE_ENV === 'production') return;\n if (dragHooksProvided.current !== isListDraggable) console.warn('Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.');\n if (dropHooksProvided.current !== isListDroppable) console.warn('Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.');\n }, [\n isListDraggable,\n isListDroppable\n ]);\n let dragState = undefined;\n let dropState = undefined;\n let droppableCollection = undefined;\n let isRootDropTarget = false;\n let dragPreview = null;\n let preview = (0, $e8Bmu$useRef)(null);\n if (isListDraggable && dragAndDropHooks) {\n dragState = dragAndDropHooks.useDraggableCollectionState({\n collection: collection,\n selectionManager: selectionManager,\n preview: dragAndDropHooks.renderDragPreview ? preview : undefined\n });\n dragAndDropHooks.useDraggableCollection({}, dragState, listBoxRef);\n let DragPreview = dragAndDropHooks.DragPreview;\n dragPreview = dragAndDropHooks.renderDragPreview ? /*#__PURE__*/ (0, $e8Bmu$react).createElement(DragPreview, {\n ref: preview\n }, dragAndDropHooks.renderDragPreview) : null;\n }\n if (isListDroppable && dragAndDropHooks) {\n dropState = dragAndDropHooks.useDroppableCollectionState({\n collection: collection,\n selectionManager: selectionManager\n });\n let dropTargetDelegate = dragAndDropHooks.dropTargetDelegate || ctxDropTargetDelegate || new dragAndDropHooks.ListDropTargetDelegate(collection, listBoxRef, {\n orientation: orientation,\n layout: layout,\n direction: direction\n });\n droppableCollection = dragAndDropHooks.useDroppableCollection({\n keyboardDelegate: keyboardDelegate,\n dropTargetDelegate: dropTargetDelegate\n }, dropState, listBoxRef);\n isRootDropTarget = dropState.isDropTarget({\n type: 'root'\n });\n }\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $e8Bmu$useFocusRing)();\n let isEmpty = state.collection.size === 0;\n let renderValues = {\n isDropTarget: isRootDropTarget,\n isEmpty: isEmpty,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n layout: props.layout || 'stack',\n state: state\n };\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n className: props.className,\n style: props.style,\n defaultClassName: 'react-aria-ListBox',\n values: renderValues\n });\n let emptyState = null;\n if (isEmpty && props.renderEmptyState) emptyState = /*#__PURE__*/ (0, $e8Bmu$react).createElement(\"div\", {\n // eslint-disable-next-line\n role: \"option\",\n style: {\n display: 'contents'\n }\n }, props.renderEmptyState(renderValues));\n let DOMProps = (0, $e8Bmu$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $e8Bmu$FocusScope), null, /*#__PURE__*/ (0, $e8Bmu$react).createElement(\"div\", {\n ...(0, $e8Bmu$mergeProps)(DOMProps, renderProps, listBoxProps, focusProps, droppableCollection === null || droppableCollection === void 0 ? void 0 : droppableCollection.collectionProps),\n ref: listBoxRef,\n slot: props.slot || undefined,\n onScroll: props.onScroll,\n \"data-drop-target\": isRootDropTarget || undefined,\n \"data-empty\": isEmpty || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-layout\": props.layout || 'stack',\n \"data-orientation\": props.orientation || 'vertical'\n }, /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $eed445e0843c11d0$export$7ff8f37d2d81a48d,\n props\n ],\n [\n $eed445e0843c11d0$export$7c5906fe4f1f2af2,\n state\n ],\n [\n (0, $612b8eb6cb90e02d$export$d188a835a7bc5783),\n {\n dragAndDropHooks: dragAndDropHooks,\n dragState: dragState,\n dropState: dropState\n }\n ],\n [\n (0, $431f98aba6844401$export$6615d83f6de245ce),\n {\n elementType: 'div'\n }\n ],\n [\n (0, $612b8eb6cb90e02d$export$f55761759794cf55),\n {\n render: $eed445e0843c11d0$var$ListBoxDropIndicatorWrapper\n }\n ],\n [\n (0, $7135fc7d473fd974$export$d40e14dec8b060a8),\n {\n name: 'ListBoxSection',\n render: $eed445e0843c11d0$var$ListBoxSectionInner\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $c8a5a149f625efcf$export$758399f318e6385a), null, /*#__PURE__*/ (0, $e8Bmu$react).createElement(CollectionRoot, {\n collection: collection,\n scrollRef: listBoxRef,\n persistedKeys: (0, $612b8eb6cb90e02d$export$d1e8e3fbb7461f6)(selectionManager, dragAndDropHooks, dropState),\n renderDropIndicator: (0, $612b8eb6cb90e02d$export$971707d8a129a1f7)(dragAndDropHooks, dropState)\n }))), emptyState, dragPreview));\n}\nfunction $eed445e0843c11d0$var$ListBoxSectionInner(props, ref, section, className = 'react-aria-ListBoxSection') {\n let state = (0, $e8Bmu$useContext)($eed445e0843c11d0$export$7c5906fe4f1f2af2);\n let { dragAndDropHooks: dragAndDropHooks, dropState: dropState } = (0, $e8Bmu$useContext)((0, $612b8eb6cb90e02d$export$d188a835a7bc5783));\n let { CollectionBranch: CollectionBranch } = (0, $e8Bmu$useContext)((0, $7135fc7d473fd974$export$4feb769f8ddf26c5));\n let [headingRef, heading] = (0, $64fa3d84918910a7$export$9d4c57ee4c6ffdd8)();\n var _props_arialabel;\n let { headingProps: headingProps, groupProps: groupProps } = (0, $e8Bmu$useListBoxSection)({\n heading: heading,\n 'aria-label': (_props_arialabel = props['aria-label']) !== null && _props_arialabel !== void 0 ? _props_arialabel : undefined\n });\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n defaultClassName: className,\n className: props.className,\n style: props.style,\n values: {}\n });\n let DOMProps = (0, $e8Bmu$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement(\"section\", {\n ...(0, $e8Bmu$mergeProps)(DOMProps, renderProps, groupProps),\n ref: ref\n }, /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $72a5793c14baf454$export$e0e4026c12a8bdbb).Provider, {\n value: {\n ...headingProps,\n ref: headingRef\n }\n }, /*#__PURE__*/ (0, $e8Bmu$react).createElement(CollectionBranch, {\n collection: state.collection,\n parent: section,\n renderDropIndicator: (0, $612b8eb6cb90e02d$export$971707d8a129a1f7)(dragAndDropHooks, dropState)\n })));\n}\nconst $eed445e0843c11d0$export$dca12b0bb56e4fc = /*#__PURE__*/ (0, $e8Bmu$createBranchComponent)((0, $e8Bmu$SectionNode), $eed445e0843c11d0$var$ListBoxSectionInner);\nconst $eed445e0843c11d0$export$a11e76429ed99b4 = /*#__PURE__*/ (0, $e8Bmu$createLeafComponent)((0, $e8Bmu$ItemNode), function ListBoxItem(props, forwardedRef, item) {\n let ref = (0, $e8Bmu$useObjectRef)(forwardedRef);\n let state = (0, $e8Bmu$useContext)($eed445e0843c11d0$export$7c5906fe4f1f2af2);\n let { dragAndDropHooks: dragAndDropHooks, dragState: dragState, dropState: dropState } = (0, $e8Bmu$useContext)((0, $612b8eb6cb90e02d$export$d188a835a7bc5783));\n let { optionProps: optionProps, labelProps: labelProps, descriptionProps: descriptionProps, ...states } = (0, $e8Bmu$useOption)({\n key: item.key,\n 'aria-label': props === null || props === void 0 ? void 0 : props['aria-label']\n }, state, ref);\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $e8Bmu$useHover)({\n isDisabled: !states.allowsSelection && !states.hasAction,\n onHoverStart: item.props.onHoverStart,\n onHoverChange: item.props.onHoverChange,\n onHoverEnd: item.props.onHoverEnd\n });\n let draggableItem = null;\n if (dragState && dragAndDropHooks) draggableItem = dragAndDropHooks.useDraggableItem({\n key: item.key\n }, dragState);\n let droppableItem = null;\n if (dropState && dragAndDropHooks) droppableItem = dragAndDropHooks.useDroppableItem({\n target: {\n type: 'item',\n key: item.key,\n dropPosition: 'on'\n }\n }, dropState, ref);\n let isDragging = dragState && dragState.isDragging(item.key);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n id: undefined,\n children: props.children,\n defaultClassName: 'react-aria-ListBoxItem',\n values: {\n ...states,\n isHovered: isHovered,\n selectionMode: state.selectionManager.selectionMode,\n selectionBehavior: state.selectionManager.selectionBehavior,\n allowsDragging: !!dragState,\n isDragging: isDragging,\n isDropTarget: droppableItem === null || droppableItem === void 0 ? void 0 : droppableItem.isDropTarget\n }\n });\n (0, $e8Bmu$useEffect)(()=>{\n if (!item.textValue && process.env.NODE_ENV !== 'production') console.warn('A `textValue` prop is required for <ListBoxItem> elements with non-plain text children in order to support accessibility features such as type to select.');\n }, [\n item.textValue\n ]);\n let ElementType = props.href ? 'a' : 'div';\n let DOMProps = (0, $e8Bmu$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n delete DOMProps.onClick;\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement(ElementType, {\n ...(0, $e8Bmu$mergeProps)(DOMProps, renderProps, optionProps, hoverProps, draggableItem === null || draggableItem === void 0 ? void 0 : draggableItem.dragProps, droppableItem === null || droppableItem === void 0 ? void 0 : droppableItem.dropProps),\n ref: ref,\n \"data-allows-dragging\": !!dragState || undefined,\n \"data-selected\": states.isSelected || undefined,\n \"data-disabled\": states.isDisabled || undefined,\n \"data-hovered\": isHovered || undefined,\n \"data-focused\": states.isFocused || undefined,\n \"data-focus-visible\": states.isFocusVisible || undefined,\n \"data-pressed\": states.isPressed || undefined,\n \"data-dragging\": isDragging || undefined,\n \"data-drop-target\": (droppableItem === null || droppableItem === void 0 ? void 0 : droppableItem.isDropTarget) || undefined,\n \"data-selection-mode\": state.selectionManager.selectionMode === 'none' ? undefined : state.selectionManager.selectionMode\n }, /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n (0, $514c0188e459b4c0$export$9afb8bc826b033ea),\n {\n slots: {\n [(0, $64fa3d84918910a7$export$c62b8e45d58ddad9)]: labelProps,\n label: labelProps,\n description: descriptionProps\n }\n }\n ],\n [\n (0, $1d5b8b8664671ef2$export$c9549807523555e0),\n {\n isSelected: states.isSelected\n }\n ]\n ]\n }, renderProps.children));\n});\nfunction $eed445e0843c11d0$var$ListBoxDropIndicatorWrapper(props, ref) {\n ref = (0, $e8Bmu$useObjectRef)(ref);\n let { dragAndDropHooks: dragAndDropHooks, dropState: dropState } = (0, $e8Bmu$useContext)((0, $612b8eb6cb90e02d$export$d188a835a7bc5783));\n let { dropIndicatorProps: dropIndicatorProps, isHidden: isHidden, isDropTarget: isDropTarget } = dragAndDropHooks.useDropIndicator(props, dropState, ref);\n if (isHidden) return null;\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement($eed445e0843c11d0$var$ListBoxDropIndicatorForwardRef, {\n ...props,\n dropIndicatorProps: dropIndicatorProps,\n isDropTarget: isDropTarget,\n ref: ref\n });\n}\nfunction $eed445e0843c11d0$var$ListBoxDropIndicator(props, ref) {\n let { dropIndicatorProps: dropIndicatorProps, isDropTarget: isDropTarget, ...otherProps } = props;\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...otherProps,\n defaultClassName: 'react-aria-DropIndicator',\n values: {\n isDropTarget: isDropTarget\n }\n });\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement(\"div\", {\n ...dropIndicatorProps,\n ...renderProps,\n // eslint-disable-next-line\n role: \"option\",\n ref: ref,\n \"data-drop-target\": isDropTarget || undefined\n });\n}\nconst $eed445e0843c11d0$var$ListBoxDropIndicatorForwardRef = /*#__PURE__*/ (0, $e8Bmu$forwardRef)($eed445e0843c11d0$var$ListBoxDropIndicator);\nconst $eed445e0843c11d0$export$8e6d031a08cf56a1 = (0, $e8Bmu$createLeafComponent)((0, $e8Bmu$LoaderNode), function ListBoxLoadingIndicator(props, ref, item) {\n let state = (0, $e8Bmu$useContext)($eed445e0843c11d0$export$7c5906fe4f1f2af2);\n let { isLoading: isLoading, onLoadMore: onLoadMore, scrollOffset: scrollOffset, ...otherProps } = props;\n let sentinelRef = (0, $e8Bmu$useRef)(null);\n let memoedLoadMoreProps = (0, $e8Bmu$useMemo)(()=>({\n onLoadMore: onLoadMore,\n collection: state === null || state === void 0 ? void 0 : state.collection,\n sentinelRef: sentinelRef,\n scrollOffset: scrollOffset\n }), [\n onLoadMore,\n scrollOffset,\n state === null || state === void 0 ? void 0 : state.collection\n ]);\n (0, $e8Bmu$useLoadMoreSentinel)(memoedLoadMoreProps, sentinelRef);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...otherProps,\n id: undefined,\n children: item.rendered,\n defaultClassName: 'react-aria-ListBoxLoadingIndicator',\n values: null\n });\n let optionProps = {\n // For Android talkback\n tabIndex: -1\n };\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $e8Bmu$react).Fragment, null, /*#__PURE__*/ (0, $e8Bmu$react).createElement(\"div\", {\n style: {\n position: 'relative',\n width: 0,\n height: 0\n },\n inert: (0, $e8Bmu$inertValue)(true)\n }, /*#__PURE__*/ (0, $e8Bmu$react).createElement(\"div\", {\n \"data-testid\": \"loadMoreSentinel\",\n ref: sentinelRef,\n style: {\n position: 'absolute',\n height: 1,\n width: 1\n }\n })), isLoading && renderProps.children && /*#__PURE__*/ (0, $e8Bmu$react).createElement(\"div\", {\n ...(0, $e8Bmu$mergeProps)((0, $e8Bmu$filterDOMProps)(props, {\n global: true\n }), optionProps),\n ...renderProps,\n // aria-selected isn't needed here since this option is not selectable.\n // eslint-disable-next-line jsx-a11y/role-has-required-aria-props\n role: \"option\",\n ref: ref\n }, renderProps.children));\n});\n\n\nexport {$eed445e0843c11d0$export$7ff8f37d2d81a48d as ListBoxContext, $eed445e0843c11d0$export$7c5906fe4f1f2af2 as ListStateContext, $eed445e0843c11d0$export$41f133550aa26f48 as ListBox, $eed445e0843c11d0$export$dca12b0bb56e4fc as ListBoxSection, $eed445e0843c11d0$export$a11e76429ed99b4 as ListBoxItem, $eed445e0843c11d0$export$8e6d031a08cf56a1 as ListBoxLoadMoreItem};\n//# sourceMappingURL=ListBox.module.js.map\n"],"names":["$b1f0cad8af73213b$export$3585ede4d035bf14","$b1f0cad8af73213b$var$normalizeKey","key","$b1f0cad8af73213b$export$9145995848b05025","state","itemKey","data","$c132121280ec012d$export$50eacbbf140a3141","props","ref","domProps","$by1yQ$filterDOMProps","selectionBehavior","linkBehavior","listProps","$by1yQ$useSelectableList","focusWithinProps","$by1yQ$useFocusWithin","id","$by1yQ$useId","labelProps","fieldProps","$by1yQ$useLabel","$by1yQ$mergeProps","$293f70390ea03370$export$497855f14858aa34","_item_props","_item_props1","_props_isDisabled","isDisabled","_props_isSelected","isSelected","_props_shouldSelectOnPressUp","shouldSelectOnPressUp","_props_shouldFocusOnHover","shouldFocusOnHover","_props_shouldUseVirtualFocus","shouldUseVirtualFocus","_props_isVirtualized","isVirtualized","labelId","$fcwmx$useSlotId","descriptionId","optionProps","$fcwmx$isMac","$fcwmx$isWebKit","item","index","$fcwmx$getItemCount","onAction","_data_onAction","itemProps","isPressed","isFocused","hasAction","allowsSelection","$fcwmx$useSelectableItem","$fcwmx$chain","hoverProps","$fcwmx$useHover","$fcwmx$isFocusVisible","$fcwmx$filterDOMProps","linkProps","$fcwmx$useLinkProps","$fcwmx$mergeProps","$af383d3bef1cfdc9$export$c3f9f39876e4bc7","heading","ariaLabel","headingId","$8pE4M$useId","$eed445e0843c11d0$export$7ff8f37d2d81a48d","$e8Bmu$createContext","$eed445e0843c11d0$export$7c5906fe4f1f2af2","$eed445e0843c11d0$export$41f133550aa26f48","$e8Bmu$forwardRef","$64fa3d84918910a7$export$29f1550f4b0d4415","$e8Bmu$useContext","$e8Bmu$react","$eed445e0843c11d0$var$ListBoxInner","$e8Bmu$CollectionBuilder","$e8Bmu$Collection","collection","$eed445e0843c11d0$var$StandaloneListBox","listBoxRef","layoutDelegate","$7135fc7d473fd974$export$4feb769f8ddf26c5","$e8Bmu$useListState","inputState","$4e85f108e88277b8$export$b0d3ecf7112093a7","dragAndDropHooks","layout","orientation","filter","$e8Bmu$UNSTABLE_useFilteredListState","selectionManager","isListDraggable","isListDroppable","direction","$e8Bmu$useLocale","disabledBehavior","disabledKeys","collator","$e8Bmu$useCollator","ctxDropTargetDelegate","CollectionRoot","keyboardDelegate","$e8Bmu$useMemo","$e8Bmu$ListKeyboardDelegate","listBoxProps","$e8Bmu$useListBox","dragHooksProvided","$e8Bmu$useRef","dropHooksProvided","$e8Bmu$useEffect","dragState","dropState","droppableCollection","isRootDropTarget","dragPreview","preview","DragPreview","dropTargetDelegate","focusProps","isFocusVisible","$e8Bmu$useFocusRing","isEmpty","renderValues","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","emptyState","DOMProps","$e8Bmu$filterDOMProps","$e8Bmu$FocusScope","$e8Bmu$mergeProps","$64fa3d84918910a7$export$2881499e37b75b9a","$612b8eb6cb90e02d$export$d188a835a7bc5783","$431f98aba6844401$export$6615d83f6de245ce","$612b8eb6cb90e02d$export$f55761759794cf55","$eed445e0843c11d0$var$ListBoxDropIndicatorWrapper","$7135fc7d473fd974$export$d40e14dec8b060a8","$eed445e0843c11d0$var$ListBoxSectionInner","$c8a5a149f625efcf$export$758399f318e6385a","$612b8eb6cb90e02d$export$d1e8e3fbb7461f6","$612b8eb6cb90e02d$export$971707d8a129a1f7","section","className","CollectionBranch","headingRef","$64fa3d84918910a7$export$9d4c57ee4c6ffdd8","_props_arialabel","headingProps","groupProps","$e8Bmu$useListBoxSection","$72a5793c14baf454$export$e0e4026c12a8bdbb","$eed445e0843c11d0$export$dca12b0bb56e4fc","$e8Bmu$createBranchComponent","$e8Bmu$SectionNode","$eed445e0843c11d0$export$a11e76429ed99b4","$e8Bmu$createLeafComponent","$e8Bmu$ItemNode","forwardedRef","$e8Bmu$useObjectRef","descriptionProps","states","$e8Bmu$useOption","isHovered","$e8Bmu$useHover","draggableItem","droppableItem","isDragging","ElementType","$514c0188e459b4c0$export$9afb8bc826b033ea","$64fa3d84918910a7$export$c62b8e45d58ddad9","$1d5b8b8664671ef2$export$c9549807523555e0","dropIndicatorProps","isHidden","isDropTarget","$eed445e0843c11d0$var$ListBoxDropIndicatorForwardRef","$eed445e0843c11d0$var$ListBoxDropIndicator","otherProps"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAUS,MAACA,IAA4C,oBAAI,QAAO;AACjE,SAASC,GAAmCC,GAAK;AAC7C,SAAI,OAAOA,KAAQ,WAAiBA,EAAI,QAAQ,QAAQ,EAAE,IACnD,KAAKA;AAChB;AACA,SAASC,GAA0CC,GAAOC,GAAS;AAC/D,MAAIC,IAAON,EAA0C,IAAII,CAAK;AAC9D,MAAI,CAACE,EAAM,OAAM,IAAI,MAAM,cAAc;AACzC,SAAO,GAAGA,EAAK,EAAE,WAAWL,GAAmCI,CAAO,CAAC;AAC3E;ACEA,SAASE,GAA0CC,GAAOJ,GAAOK,GAAK;AAClE,MAAIC,IAAeC,EAAuBH,GAAO;AAAA,IAC7C,WAAW;AAAA,EACnB,CAAK,GAEGI,IAAoBJ,EAAM,qBAAqB,UAC/CK,IAAeL,EAAM,iBAAiBI,MAAsB,YAAY,WAAW;AACvF,EAAIA,MAAsB,YAAYC,MAAiB,aAGvDA,IAAe;AACf,MAAI,EAAE,WAAWC,EAAS,IAASC,GAA0B;AAAA,IACzD,GAAGP;AAAA,IACH,KAAKC;AAAA,IACL,kBAAkBL,EAAM;AAAA,IACxB,YAAYA,EAAM;AAAA,IAClB,cAAcA,EAAM;AAAA,IACpB,cAAcS;AAAA,EACtB,CAAK,GACG,EA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;AAAA,IACvG,GAAGxK;AAAA,IACH,oBAAoBqK;AAAA,IACpB,cAAcE;AAAA,IACd,KAAKtK;AAAA,EACb,CAAK;AACL;AACA,SAASwK,GAA2CzK,GAAOC,GAAK;AAC5D,MAAI,EAAE,oBAAoBoK,GAAoB,cAAcE,GAAc,GAAGG,EAAU,IAAK1K,GACxFsH,IAAkBC,EAAyC;AAAA,IAC3D,GAAGmD;AAAA,IACH,kBAAkB;AAAA,IAClB,QAAQ;AAAA,MACJ,cAAcH;AAAA,IAC1B;AAAA,EACA,CAAK;AACD,SAAyBnG,gBAAAA,EAAc,cAAc,OAAO;AAAA,IACxD,GAAGiG;AAAA,IACH,GAAG/C;AAAA;AAAA,IAEH,MAAM;AAAA,IACN,KAAKrH;AAAA,IACL,oBAAoBsK,KAAgB;AAAA,EAC5C,CAAK;AACL;AACA,MAAMC,KAAyEvG,gBAAAA,GAAmBwG,EAA0C;","x_google_ignoreList":[0,1,2,3,4]}
|
|
1
|
+
{"version":3,"file":"ListBox-_1Uk-5-7.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+listbox@3.15.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/listbox/dist/utils.mjs","../../../../node_modules/.pnpm/@react-aria+listbox@3.15.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/listbox/dist/useListBox.mjs","../../../../node_modules/.pnpm/@react-aria+listbox@3.15.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/listbox/dist/useOption.mjs","../../../../node_modules/.pnpm/@react-aria+listbox@3.15.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/listbox/dist/useListBoxSection.mjs","../../../../node_modules/.pnpm/react-aria-components@1.13.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/ListBox.mjs"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $b1f0cad8af73213b$export$3585ede4d035bf14 = new WeakMap();\nfunction $b1f0cad8af73213b$var$normalizeKey(key) {\n if (typeof key === 'string') return key.replace(/\\s*/g, '');\n return '' + key;\n}\nfunction $b1f0cad8af73213b$export$9145995848b05025(state, itemKey) {\n let data = $b1f0cad8af73213b$export$3585ede4d035bf14.get(state);\n if (!data) throw new Error('Unknown list');\n return `${data.id}-option-${$b1f0cad8af73213b$var$normalizeKey(itemKey)}`;\n}\n\n\nexport {$b1f0cad8af73213b$export$3585ede4d035bf14 as listData, $b1f0cad8af73213b$export$9145995848b05025 as getItemId};\n//# sourceMappingURL=utils.module.js.map\n","import {listData as $b1f0cad8af73213b$export$3585ede4d035bf14} from \"./utils.mjs\";\nimport {filterDOMProps as $by1yQ$filterDOMProps, useId as $by1yQ$useId, mergeProps as $by1yQ$mergeProps} from \"@react-aria/utils\";\nimport {useFocusWithin as $by1yQ$useFocusWithin} from \"@react-aria/interactions\";\nimport {useLabel as $by1yQ$useLabel} from \"@react-aria/label\";\nimport {useSelectableList as $by1yQ$useSelectableList} from \"@react-aria/selection\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nfunction $c132121280ec012d$export$50eacbbf140a3141(props, state, ref) {\n let domProps = (0, $by1yQ$filterDOMProps)(props, {\n labelable: true\n });\n // Use props instead of state here. We don't want this to change due to long press.\n let selectionBehavior = props.selectionBehavior || 'toggle';\n let linkBehavior = props.linkBehavior || (selectionBehavior === 'replace' ? 'action' : 'override');\n if (selectionBehavior === 'toggle' && linkBehavior === 'action') // linkBehavior=\"action\" does not work with selectionBehavior=\"toggle\" because there is no way\n // to initiate selection (checkboxes are not allowed inside a listbox). Link items will not be\n // selectable in this configuration.\n linkBehavior = 'override';\n let { listProps: listProps } = (0, $by1yQ$useSelectableList)({\n ...props,\n ref: ref,\n selectionManager: state.selectionManager,\n collection: state.collection,\n disabledKeys: state.disabledKeys,\n linkBehavior: linkBehavior\n });\n let { focusWithinProps: focusWithinProps } = (0, $by1yQ$useFocusWithin)({\n onFocusWithin: props.onFocus,\n onBlurWithin: props.onBlur,\n onFocusWithinChange: props.onFocusChange\n });\n // Share list id and some props with child options.\n let id = (0, $by1yQ$useId)(props.id);\n (0, $b1f0cad8af73213b$export$3585ede4d035bf14).set(state, {\n id: id,\n shouldUseVirtualFocus: props.shouldUseVirtualFocus,\n shouldSelectOnPressUp: props.shouldSelectOnPressUp,\n shouldFocusOnHover: props.shouldFocusOnHover,\n isVirtualized: props.isVirtualized,\n onAction: props.onAction,\n linkBehavior: linkBehavior,\n // @ts-ignore\n UNSTABLE_itemBehavior: props['UNSTABLE_itemBehavior']\n });\n let { labelProps: labelProps, fieldProps: fieldProps } = (0, $by1yQ$useLabel)({\n ...props,\n id: id,\n // listbox is not an HTML input element so it\n // shouldn't be labeled by a <label> element.\n labelElementType: 'span'\n });\n return {\n labelProps: labelProps,\n listBoxProps: (0, $by1yQ$mergeProps)(domProps, focusWithinProps, state.selectionManager.selectionMode === 'multiple' ? {\n 'aria-multiselectable': 'true'\n } : {}, {\n role: 'listbox',\n ...(0, $by1yQ$mergeProps)(fieldProps, listProps)\n })\n };\n}\n\n\nexport {$c132121280ec012d$export$50eacbbf140a3141 as useListBox};\n//# sourceMappingURL=useListBox.module.js.map\n","import {getItemId as $b1f0cad8af73213b$export$9145995848b05025, listData as $b1f0cad8af73213b$export$3585ede4d035bf14} from \"./utils.mjs\";\nimport {useSlotId as $fcwmx$useSlotId, isMac as $fcwmx$isMac, isWebKit as $fcwmx$isWebKit, chain as $fcwmx$chain, filterDOMProps as $fcwmx$filterDOMProps, useLinkProps as $fcwmx$useLinkProps, mergeProps as $fcwmx$mergeProps} from \"@react-aria/utils\";\nimport {getItemCount as $fcwmx$getItemCount} from \"@react-stately/collections\";\nimport {useHover as $fcwmx$useHover, isFocusVisible as $fcwmx$isFocusVisible} from \"@react-aria/interactions\";\nimport {useSelectableItem as $fcwmx$useSelectableItem} from \"@react-aria/selection\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nfunction $293f70390ea03370$export$497855f14858aa34(props, state, ref) {\n var _item_props, _item_props1;\n let { key: key } = props;\n let data = (0, $b1f0cad8af73213b$export$3585ede4d035bf14).get(state);\n var _props_isDisabled;\n let isDisabled = (_props_isDisabled = props.isDisabled) !== null && _props_isDisabled !== void 0 ? _props_isDisabled : state.selectionManager.isDisabled(key);\n var _props_isSelected;\n let isSelected = (_props_isSelected = props.isSelected) !== null && _props_isSelected !== void 0 ? _props_isSelected : state.selectionManager.isSelected(key);\n var _props_shouldSelectOnPressUp;\n let shouldSelectOnPressUp = (_props_shouldSelectOnPressUp = props.shouldSelectOnPressUp) !== null && _props_shouldSelectOnPressUp !== void 0 ? _props_shouldSelectOnPressUp : data === null || data === void 0 ? void 0 : data.shouldSelectOnPressUp;\n var _props_shouldFocusOnHover;\n let shouldFocusOnHover = (_props_shouldFocusOnHover = props.shouldFocusOnHover) !== null && _props_shouldFocusOnHover !== void 0 ? _props_shouldFocusOnHover : data === null || data === void 0 ? void 0 : data.shouldFocusOnHover;\n var _props_shouldUseVirtualFocus;\n let shouldUseVirtualFocus = (_props_shouldUseVirtualFocus = props.shouldUseVirtualFocus) !== null && _props_shouldUseVirtualFocus !== void 0 ? _props_shouldUseVirtualFocus : data === null || data === void 0 ? void 0 : data.shouldUseVirtualFocus;\n var _props_isVirtualized;\n let isVirtualized = (_props_isVirtualized = props.isVirtualized) !== null && _props_isVirtualized !== void 0 ? _props_isVirtualized : data === null || data === void 0 ? void 0 : data.isVirtualized;\n let labelId = (0, $fcwmx$useSlotId)();\n let descriptionId = (0, $fcwmx$useSlotId)();\n let optionProps = {\n role: 'option',\n 'aria-disabled': isDisabled || undefined,\n 'aria-selected': state.selectionManager.selectionMode !== 'none' ? isSelected : undefined\n };\n // Safari with VoiceOver on macOS misreads options with aria-labelledby or aria-label as simply \"text\".\n // We should not map slots to the label and description on Safari and instead just have VoiceOver read the textContent.\n // https://bugs.webkit.org/show_bug.cgi?id=209279\n if (!((0, $fcwmx$isMac)() && (0, $fcwmx$isWebKit)())) {\n optionProps['aria-label'] = props['aria-label'];\n optionProps['aria-labelledby'] = labelId;\n optionProps['aria-describedby'] = descriptionId;\n }\n let item = state.collection.getItem(key);\n if (isVirtualized) {\n let index = Number(item === null || item === void 0 ? void 0 : item.index);\n optionProps['aria-posinset'] = Number.isNaN(index) ? undefined : index + 1;\n optionProps['aria-setsize'] = (0, $fcwmx$getItemCount)(state.collection);\n }\n let onAction = (data === null || data === void 0 ? void 0 : data.onAction) ? ()=>{\n var _data_onAction;\n return data === null || data === void 0 ? void 0 : (_data_onAction = data.onAction) === null || _data_onAction === void 0 ? void 0 : _data_onAction.call(data, key);\n } : undefined;\n let id = (0, $b1f0cad8af73213b$export$9145995848b05025)(state, key);\n let { itemProps: itemProps, isPressed: isPressed, isFocused: isFocused, hasAction: hasAction, allowsSelection: allowsSelection } = (0, $fcwmx$useSelectableItem)({\n selectionManager: state.selectionManager,\n key: key,\n ref: ref,\n shouldSelectOnPressUp: shouldSelectOnPressUp,\n allowsDifferentPressOrigin: shouldSelectOnPressUp && shouldFocusOnHover,\n isVirtualized: isVirtualized,\n shouldUseVirtualFocus: shouldUseVirtualFocus,\n isDisabled: isDisabled,\n onAction: onAction || (item === null || item === void 0 ? void 0 : (_item_props = item.props) === null || _item_props === void 0 ? void 0 : _item_props.onAction) ? (0, $fcwmx$chain)(item === null || item === void 0 ? void 0 : (_item_props1 = item.props) === null || _item_props1 === void 0 ? void 0 : _item_props1.onAction, onAction) : undefined,\n linkBehavior: data === null || data === void 0 ? void 0 : data.linkBehavior,\n // @ts-ignore\n UNSTABLE_itemBehavior: data === null || data === void 0 ? void 0 : data['UNSTABLE_itemBehavior'],\n id: id\n });\n let { hoverProps: hoverProps } = (0, $fcwmx$useHover)({\n isDisabled: isDisabled || !shouldFocusOnHover,\n onHoverStart () {\n if (!(0, $fcwmx$isFocusVisible)()) {\n state.selectionManager.setFocused(true);\n state.selectionManager.setFocusedKey(key);\n }\n }\n });\n let domProps = (0, $fcwmx$filterDOMProps)(item === null || item === void 0 ? void 0 : item.props);\n delete domProps.id;\n let linkProps = (0, $fcwmx$useLinkProps)(item === null || item === void 0 ? void 0 : item.props);\n return {\n optionProps: {\n ...optionProps,\n ...(0, $fcwmx$mergeProps)(domProps, itemProps, hoverProps, linkProps),\n id: id\n },\n labelProps: {\n id: labelId\n },\n descriptionProps: {\n id: descriptionId\n },\n isFocused: isFocused,\n isFocusVisible: isFocused && state.selectionManager.isFocused && (0, $fcwmx$isFocusVisible)(),\n isSelected: isSelected,\n isDisabled: isDisabled,\n isPressed: isPressed,\n allowsSelection: allowsSelection,\n hasAction: hasAction\n };\n}\n\n\nexport {$293f70390ea03370$export$497855f14858aa34 as useOption};\n//# sourceMappingURL=useOption.module.js.map\n","import {useId as $8pE4M$useId} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $af383d3bef1cfdc9$export$c3f9f39876e4bc7(props) {\n let { heading: heading, 'aria-label': ariaLabel } = props;\n let headingId = (0, $8pE4M$useId)();\n return {\n itemProps: {\n role: 'presentation'\n },\n headingProps: heading ? {\n // Techincally, listbox cannot contain headings according to ARIA.\n // We hide the heading from assistive technology, using role=\"presentation\",\n // and only use it as a visual label for the nested group.\n id: headingId,\n role: 'presentation'\n } : {},\n groupProps: {\n role: 'group',\n 'aria-label': ariaLabel,\n 'aria-labelledby': heading ? headingId : undefined\n }\n };\n}\n\n\nexport {$af383d3bef1cfdc9$export$c3f9f39876e4bc7 as useListBoxSection};\n//# sourceMappingURL=useListBoxSection.module.js.map\n","import {CollectionRendererContext as $7135fc7d473fd974$export$4feb769f8ddf26c5, SectionContext as $7135fc7d473fd974$export$d40e14dec8b060a8} from \"./Collection.mjs\";\nimport {DEFAULT_SLOT as $64fa3d84918910a7$export$c62b8e45d58ddad9, Provider as $64fa3d84918910a7$export$2881499e37b75b9a, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3, useSlot as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8} from \"./utils.mjs\";\nimport {DragAndDropContext as $612b8eb6cb90e02d$export$d188a835a7bc5783, DropIndicatorContext as $612b8eb6cb90e02d$export$f55761759794cf55, useDndPersistedKeys as $612b8eb6cb90e02d$export$d1e8e3fbb7461f6, useRenderDropIndicator as $612b8eb6cb90e02d$export$971707d8a129a1f7} from \"./DragAndDrop.mjs\";\nimport {HeaderContext as $72a5793c14baf454$export$e0e4026c12a8bdbb} from \"./Header.mjs\";\nimport {SelectableCollectionContext as $4e85f108e88277b8$export$b0d3ecf7112093a7} from \"./RSPContexts.mjs\";\nimport {SelectionIndicatorContext as $1d5b8b8664671ef2$export$c9549807523555e0} from \"./SelectionIndicator.mjs\";\nimport {SeparatorContext as $431f98aba6844401$export$6615d83f6de245ce} from \"./Separator.mjs\";\nimport {SharedElementTransition as $c8a5a149f625efcf$export$758399f318e6385a} from \"./SharedElementTransition.mjs\";\nimport {TextContext as $514c0188e459b4c0$export$9afb8bc826b033ea} from \"./Text.mjs\";\nimport {useLocale as $e8Bmu$useLocale, useCollator as $e8Bmu$useCollator, ListKeyboardDelegate as $e8Bmu$ListKeyboardDelegate, useListBox as $e8Bmu$useListBox, useFocusRing as $e8Bmu$useFocusRing, FocusScope as $e8Bmu$FocusScope, mergeProps as $e8Bmu$mergeProps, useListBoxSection as $e8Bmu$useListBoxSection, useOption as $e8Bmu$useOption, useHover as $e8Bmu$useHover} from \"react-aria\";\nimport {CollectionBuilder as $e8Bmu$CollectionBuilder, Collection as $e8Bmu$Collection, createBranchComponent as $e8Bmu$createBranchComponent, SectionNode as $e8Bmu$SectionNode, createLeafComponent as $e8Bmu$createLeafComponent, ItemNode as $e8Bmu$ItemNode, LoaderNode as $e8Bmu$LoaderNode} from \"@react-aria/collections\";\nimport {useListState as $e8Bmu$useListState, UNSTABLE_useFilteredListState as $e8Bmu$UNSTABLE_useFilteredListState} from \"react-stately\";\nimport {filterDOMProps as $e8Bmu$filterDOMProps, useObjectRef as $e8Bmu$useObjectRef, useLoadMoreSentinel as $e8Bmu$useLoadMoreSentinel, inertValue as $e8Bmu$inertValue} from \"@react-aria/utils\";\nimport $e8Bmu$react, {createContext as $e8Bmu$createContext, forwardRef as $e8Bmu$forwardRef, useContext as $e8Bmu$useContext, useMemo as $e8Bmu$useMemo, useRef as $e8Bmu$useRef, useEffect as $e8Bmu$useEffect} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\n\n\n\nconst $eed445e0843c11d0$export$7ff8f37d2d81a48d = /*#__PURE__*/ (0, $e8Bmu$createContext)(null);\nconst $eed445e0843c11d0$export$7c5906fe4f1f2af2 = /*#__PURE__*/ (0, $e8Bmu$createContext)(null);\nconst $eed445e0843c11d0$export$41f133550aa26f48 = /*#__PURE__*/ (0, $e8Bmu$forwardRef)(function ListBox(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $eed445e0843c11d0$export$7ff8f37d2d81a48d);\n let state = (0, $e8Bmu$useContext)($eed445e0843c11d0$export$7c5906fe4f1f2af2);\n // The structure of ListBox is a bit strange because it needs to work inside other components like ComboBox and Select.\n // Those components render two copies of their children so that the collection can be built even when the popover is closed.\n // The first copy sends a collection document via context which we render the collection portal into.\n // The second copy sends a ListState object via context which we use to render the ListBox without rebuilding the state.\n // Otherwise, we have a standalone ListBox, so we need to create a collection and state ourselves.\n if (state) return /*#__PURE__*/ (0, $e8Bmu$react).createElement($eed445e0843c11d0$var$ListBoxInner, {\n state: state,\n props: props,\n listBoxRef: ref\n });\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $e8Bmu$CollectionBuilder), {\n content: /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $e8Bmu$Collection), props)\n }, (collection)=>/*#__PURE__*/ (0, $e8Bmu$react).createElement($eed445e0843c11d0$var$StandaloneListBox, {\n props: props,\n listBoxRef: ref,\n collection: collection\n }));\n});\nfunction $eed445e0843c11d0$var$StandaloneListBox({ props: props, listBoxRef: listBoxRef, collection: collection }) {\n props = {\n ...props,\n collection: collection,\n children: null,\n items: null\n };\n let { layoutDelegate: layoutDelegate } = (0, $e8Bmu$useContext)((0, $7135fc7d473fd974$export$4feb769f8ddf26c5));\n let state = (0, $e8Bmu$useListState)({\n ...props,\n layoutDelegate: layoutDelegate\n });\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement($eed445e0843c11d0$var$ListBoxInner, {\n state: state,\n props: props,\n listBoxRef: listBoxRef\n });\n}\nfunction $eed445e0843c11d0$var$ListBoxInner({ state: inputState, props: props, listBoxRef: listBoxRef }) {\n [props, listBoxRef] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, listBoxRef, (0, $4e85f108e88277b8$export$b0d3ecf7112093a7));\n let { dragAndDropHooks: dragAndDropHooks, layout: layout = 'stack', orientation: orientation = 'vertical', filter: filter } = props;\n let state = (0, $e8Bmu$UNSTABLE_useFilteredListState)(inputState, filter);\n let { collection: collection, selectionManager: selectionManager } = state;\n let isListDraggable = !!(dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.useDraggableCollectionState);\n let isListDroppable = !!(dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.useDroppableCollectionState);\n let { direction: direction } = (0, $e8Bmu$useLocale)();\n let { disabledBehavior: disabledBehavior, disabledKeys: disabledKeys } = selectionManager;\n let collator = (0, $e8Bmu$useCollator)({\n usage: 'search',\n sensitivity: 'base'\n });\n let { isVirtualized: isVirtualized, layoutDelegate: layoutDelegate, dropTargetDelegate: ctxDropTargetDelegate, CollectionRoot: CollectionRoot } = (0, $e8Bmu$useContext)((0, $7135fc7d473fd974$export$4feb769f8ddf26c5));\n let keyboardDelegate = (0, $e8Bmu$useMemo)(()=>props.keyboardDelegate || new (0, $e8Bmu$ListKeyboardDelegate)({\n collection: collection,\n collator: collator,\n ref: listBoxRef,\n disabledKeys: disabledKeys,\n disabledBehavior: disabledBehavior,\n layout: layout,\n orientation: orientation,\n direction: direction,\n layoutDelegate: layoutDelegate\n }), [\n collection,\n collator,\n listBoxRef,\n disabledBehavior,\n disabledKeys,\n orientation,\n direction,\n props.keyboardDelegate,\n layout,\n layoutDelegate\n ]);\n let { listBoxProps: listBoxProps } = (0, $e8Bmu$useListBox)({\n ...props,\n shouldSelectOnPressUp: isListDraggable || props.shouldSelectOnPressUp,\n keyboardDelegate: keyboardDelegate,\n isVirtualized: isVirtualized\n }, state, listBoxRef);\n let dragHooksProvided = (0, $e8Bmu$useRef)(isListDraggable);\n let dropHooksProvided = (0, $e8Bmu$useRef)(isListDroppable);\n (0, $e8Bmu$useEffect)(()=>{\n if (process.env.NODE_ENV === 'production') return;\n if (dragHooksProvided.current !== isListDraggable) console.warn('Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.');\n if (dropHooksProvided.current !== isListDroppable) console.warn('Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.');\n }, [\n isListDraggable,\n isListDroppable\n ]);\n let dragState = undefined;\n let dropState = undefined;\n let droppableCollection = undefined;\n let isRootDropTarget = false;\n let dragPreview = null;\n let preview = (0, $e8Bmu$useRef)(null);\n if (isListDraggable && dragAndDropHooks) {\n dragState = dragAndDropHooks.useDraggableCollectionState({\n collection: collection,\n selectionManager: selectionManager,\n preview: dragAndDropHooks.renderDragPreview ? preview : undefined\n });\n dragAndDropHooks.useDraggableCollection({}, dragState, listBoxRef);\n let DragPreview = dragAndDropHooks.DragPreview;\n dragPreview = dragAndDropHooks.renderDragPreview ? /*#__PURE__*/ (0, $e8Bmu$react).createElement(DragPreview, {\n ref: preview\n }, dragAndDropHooks.renderDragPreview) : null;\n }\n if (isListDroppable && dragAndDropHooks) {\n dropState = dragAndDropHooks.useDroppableCollectionState({\n collection: collection,\n selectionManager: selectionManager\n });\n let dropTargetDelegate = dragAndDropHooks.dropTargetDelegate || ctxDropTargetDelegate || new dragAndDropHooks.ListDropTargetDelegate(collection, listBoxRef, {\n orientation: orientation,\n layout: layout,\n direction: direction\n });\n droppableCollection = dragAndDropHooks.useDroppableCollection({\n keyboardDelegate: keyboardDelegate,\n dropTargetDelegate: dropTargetDelegate\n }, dropState, listBoxRef);\n isRootDropTarget = dropState.isDropTarget({\n type: 'root'\n });\n }\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $e8Bmu$useFocusRing)();\n let isEmpty = state.collection.size === 0;\n let renderValues = {\n isDropTarget: isRootDropTarget,\n isEmpty: isEmpty,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n layout: props.layout || 'stack',\n state: state\n };\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n className: props.className,\n style: props.style,\n defaultClassName: 'react-aria-ListBox',\n values: renderValues\n });\n let emptyState = null;\n if (isEmpty && props.renderEmptyState) emptyState = /*#__PURE__*/ (0, $e8Bmu$react).createElement(\"div\", {\n // eslint-disable-next-line\n role: \"option\",\n style: {\n display: 'contents'\n }\n }, props.renderEmptyState(renderValues));\n let DOMProps = (0, $e8Bmu$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $e8Bmu$FocusScope), null, /*#__PURE__*/ (0, $e8Bmu$react).createElement(\"div\", {\n ...(0, $e8Bmu$mergeProps)(DOMProps, renderProps, listBoxProps, focusProps, droppableCollection === null || droppableCollection === void 0 ? void 0 : droppableCollection.collectionProps),\n ref: listBoxRef,\n slot: props.slot || undefined,\n onScroll: props.onScroll,\n \"data-drop-target\": isRootDropTarget || undefined,\n \"data-empty\": isEmpty || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-layout\": props.layout || 'stack',\n \"data-orientation\": props.orientation || 'vertical'\n }, /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $eed445e0843c11d0$export$7ff8f37d2d81a48d,\n props\n ],\n [\n $eed445e0843c11d0$export$7c5906fe4f1f2af2,\n state\n ],\n [\n (0, $612b8eb6cb90e02d$export$d188a835a7bc5783),\n {\n dragAndDropHooks: dragAndDropHooks,\n dragState: dragState,\n dropState: dropState\n }\n ],\n [\n (0, $431f98aba6844401$export$6615d83f6de245ce),\n {\n elementType: 'div'\n }\n ],\n [\n (0, $612b8eb6cb90e02d$export$f55761759794cf55),\n {\n render: $eed445e0843c11d0$var$ListBoxDropIndicatorWrapper\n }\n ],\n [\n (0, $7135fc7d473fd974$export$d40e14dec8b060a8),\n {\n name: 'ListBoxSection',\n render: $eed445e0843c11d0$var$ListBoxSectionInner\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $c8a5a149f625efcf$export$758399f318e6385a), null, /*#__PURE__*/ (0, $e8Bmu$react).createElement(CollectionRoot, {\n collection: collection,\n scrollRef: listBoxRef,\n persistedKeys: (0, $612b8eb6cb90e02d$export$d1e8e3fbb7461f6)(selectionManager, dragAndDropHooks, dropState),\n renderDropIndicator: (0, $612b8eb6cb90e02d$export$971707d8a129a1f7)(dragAndDropHooks, dropState)\n }))), emptyState, dragPreview));\n}\nfunction $eed445e0843c11d0$var$ListBoxSectionInner(props, ref, section, className = 'react-aria-ListBoxSection') {\n let state = (0, $e8Bmu$useContext)($eed445e0843c11d0$export$7c5906fe4f1f2af2);\n let { dragAndDropHooks: dragAndDropHooks, dropState: dropState } = (0, $e8Bmu$useContext)((0, $612b8eb6cb90e02d$export$d188a835a7bc5783));\n let { CollectionBranch: CollectionBranch } = (0, $e8Bmu$useContext)((0, $7135fc7d473fd974$export$4feb769f8ddf26c5));\n let [headingRef, heading] = (0, $64fa3d84918910a7$export$9d4c57ee4c6ffdd8)();\n var _props_arialabel;\n let { headingProps: headingProps, groupProps: groupProps } = (0, $e8Bmu$useListBoxSection)({\n heading: heading,\n 'aria-label': (_props_arialabel = props['aria-label']) !== null && _props_arialabel !== void 0 ? _props_arialabel : undefined\n });\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n defaultClassName: className,\n className: props.className,\n style: props.style,\n values: {}\n });\n let DOMProps = (0, $e8Bmu$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement(\"section\", {\n ...(0, $e8Bmu$mergeProps)(DOMProps, renderProps, groupProps),\n ref: ref\n }, /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $72a5793c14baf454$export$e0e4026c12a8bdbb).Provider, {\n value: {\n ...headingProps,\n ref: headingRef\n }\n }, /*#__PURE__*/ (0, $e8Bmu$react).createElement(CollectionBranch, {\n collection: state.collection,\n parent: section,\n renderDropIndicator: (0, $612b8eb6cb90e02d$export$971707d8a129a1f7)(dragAndDropHooks, dropState)\n })));\n}\nconst $eed445e0843c11d0$export$dca12b0bb56e4fc = /*#__PURE__*/ (0, $e8Bmu$createBranchComponent)((0, $e8Bmu$SectionNode), $eed445e0843c11d0$var$ListBoxSectionInner);\nconst $eed445e0843c11d0$export$a11e76429ed99b4 = /*#__PURE__*/ (0, $e8Bmu$createLeafComponent)((0, $e8Bmu$ItemNode), function ListBoxItem(props, forwardedRef, item) {\n let ref = (0, $e8Bmu$useObjectRef)(forwardedRef);\n let state = (0, $e8Bmu$useContext)($eed445e0843c11d0$export$7c5906fe4f1f2af2);\n let { dragAndDropHooks: dragAndDropHooks, dragState: dragState, dropState: dropState } = (0, $e8Bmu$useContext)((0, $612b8eb6cb90e02d$export$d188a835a7bc5783));\n let { optionProps: optionProps, labelProps: labelProps, descriptionProps: descriptionProps, ...states } = (0, $e8Bmu$useOption)({\n key: item.key,\n 'aria-label': props === null || props === void 0 ? void 0 : props['aria-label']\n }, state, ref);\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $e8Bmu$useHover)({\n isDisabled: !states.allowsSelection && !states.hasAction,\n onHoverStart: item.props.onHoverStart,\n onHoverChange: item.props.onHoverChange,\n onHoverEnd: item.props.onHoverEnd\n });\n let draggableItem = null;\n if (dragState && dragAndDropHooks) draggableItem = dragAndDropHooks.useDraggableItem({\n key: item.key\n }, dragState);\n let droppableItem = null;\n if (dropState && dragAndDropHooks) droppableItem = dragAndDropHooks.useDroppableItem({\n target: {\n type: 'item',\n key: item.key,\n dropPosition: 'on'\n }\n }, dropState, ref);\n let isDragging = dragState && dragState.isDragging(item.key);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n id: undefined,\n children: props.children,\n defaultClassName: 'react-aria-ListBoxItem',\n values: {\n ...states,\n isHovered: isHovered,\n selectionMode: state.selectionManager.selectionMode,\n selectionBehavior: state.selectionManager.selectionBehavior,\n allowsDragging: !!dragState,\n isDragging: isDragging,\n isDropTarget: droppableItem === null || droppableItem === void 0 ? void 0 : droppableItem.isDropTarget\n }\n });\n (0, $e8Bmu$useEffect)(()=>{\n if (!item.textValue && process.env.NODE_ENV !== 'production') console.warn('A `textValue` prop is required for <ListBoxItem> elements with non-plain text children in order to support accessibility features such as type to select.');\n }, [\n item.textValue\n ]);\n let ElementType = props.href ? 'a' : 'div';\n let DOMProps = (0, $e8Bmu$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n delete DOMProps.onClick;\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement(ElementType, {\n ...(0, $e8Bmu$mergeProps)(DOMProps, renderProps, optionProps, hoverProps, draggableItem === null || draggableItem === void 0 ? void 0 : draggableItem.dragProps, droppableItem === null || droppableItem === void 0 ? void 0 : droppableItem.dropProps),\n ref: ref,\n \"data-allows-dragging\": !!dragState || undefined,\n \"data-selected\": states.isSelected || undefined,\n \"data-disabled\": states.isDisabled || undefined,\n \"data-hovered\": isHovered || undefined,\n \"data-focused\": states.isFocused || undefined,\n \"data-focus-visible\": states.isFocusVisible || undefined,\n \"data-pressed\": states.isPressed || undefined,\n \"data-dragging\": isDragging || undefined,\n \"data-drop-target\": (droppableItem === null || droppableItem === void 0 ? void 0 : droppableItem.isDropTarget) || undefined,\n \"data-selection-mode\": state.selectionManager.selectionMode === 'none' ? undefined : state.selectionManager.selectionMode\n }, /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n (0, $514c0188e459b4c0$export$9afb8bc826b033ea),\n {\n slots: {\n [(0, $64fa3d84918910a7$export$c62b8e45d58ddad9)]: labelProps,\n label: labelProps,\n description: descriptionProps\n }\n }\n ],\n [\n (0, $1d5b8b8664671ef2$export$c9549807523555e0),\n {\n isSelected: states.isSelected\n }\n ]\n ]\n }, renderProps.children));\n});\nfunction $eed445e0843c11d0$var$ListBoxDropIndicatorWrapper(props, ref) {\n ref = (0, $e8Bmu$useObjectRef)(ref);\n let { dragAndDropHooks: dragAndDropHooks, dropState: dropState } = (0, $e8Bmu$useContext)((0, $612b8eb6cb90e02d$export$d188a835a7bc5783));\n let { dropIndicatorProps: dropIndicatorProps, isHidden: isHidden, isDropTarget: isDropTarget } = dragAndDropHooks.useDropIndicator(props, dropState, ref);\n if (isHidden) return null;\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement($eed445e0843c11d0$var$ListBoxDropIndicatorForwardRef, {\n ...props,\n dropIndicatorProps: dropIndicatorProps,\n isDropTarget: isDropTarget,\n ref: ref\n });\n}\nfunction $eed445e0843c11d0$var$ListBoxDropIndicator(props, ref) {\n let { dropIndicatorProps: dropIndicatorProps, isDropTarget: isDropTarget, ...otherProps } = props;\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...otherProps,\n defaultClassName: 'react-aria-DropIndicator',\n values: {\n isDropTarget: isDropTarget\n }\n });\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement(\"div\", {\n ...dropIndicatorProps,\n ...renderProps,\n // eslint-disable-next-line\n role: \"option\",\n ref: ref,\n \"data-drop-target\": isDropTarget || undefined\n });\n}\nconst $eed445e0843c11d0$var$ListBoxDropIndicatorForwardRef = /*#__PURE__*/ (0, $e8Bmu$forwardRef)($eed445e0843c11d0$var$ListBoxDropIndicator);\nconst $eed445e0843c11d0$export$8e6d031a08cf56a1 = (0, $e8Bmu$createLeafComponent)((0, $e8Bmu$LoaderNode), function ListBoxLoadingIndicator(props, ref, item) {\n let state = (0, $e8Bmu$useContext)($eed445e0843c11d0$export$7c5906fe4f1f2af2);\n let { isLoading: isLoading, onLoadMore: onLoadMore, scrollOffset: scrollOffset, ...otherProps } = props;\n let sentinelRef = (0, $e8Bmu$useRef)(null);\n let memoedLoadMoreProps = (0, $e8Bmu$useMemo)(()=>({\n onLoadMore: onLoadMore,\n collection: state === null || state === void 0 ? void 0 : state.collection,\n sentinelRef: sentinelRef,\n scrollOffset: scrollOffset\n }), [\n onLoadMore,\n scrollOffset,\n state === null || state === void 0 ? void 0 : state.collection\n ]);\n (0, $e8Bmu$useLoadMoreSentinel)(memoedLoadMoreProps, sentinelRef);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...otherProps,\n id: undefined,\n children: item.rendered,\n defaultClassName: 'react-aria-ListBoxLoadingIndicator',\n values: null\n });\n let optionProps = {\n // For Android talkback\n tabIndex: -1\n };\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $e8Bmu$react).Fragment, null, /*#__PURE__*/ (0, $e8Bmu$react).createElement(\"div\", {\n style: {\n position: 'relative',\n width: 0,\n height: 0\n },\n inert: (0, $e8Bmu$inertValue)(true)\n }, /*#__PURE__*/ (0, $e8Bmu$react).createElement(\"div\", {\n \"data-testid\": \"loadMoreSentinel\",\n ref: sentinelRef,\n style: {\n position: 'absolute',\n height: 1,\n width: 1\n }\n })), isLoading && renderProps.children && /*#__PURE__*/ (0, $e8Bmu$react).createElement(\"div\", {\n ...(0, $e8Bmu$mergeProps)((0, $e8Bmu$filterDOMProps)(props, {\n global: true\n }), optionProps),\n ...renderProps,\n // aria-selected isn't needed here since this option is not selectable.\n // eslint-disable-next-line jsx-a11y/role-has-required-aria-props\n role: \"option\",\n ref: ref\n }, renderProps.children));\n});\n\n\nexport {$eed445e0843c11d0$export$7ff8f37d2d81a48d as ListBoxContext, $eed445e0843c11d0$export$7c5906fe4f1f2af2 as ListStateContext, $eed445e0843c11d0$export$41f133550aa26f48 as ListBox, $eed445e0843c11d0$export$dca12b0bb56e4fc as ListBoxSection, $eed445e0843c11d0$export$a11e76429ed99b4 as ListBoxItem, $eed445e0843c11d0$export$8e6d031a08cf56a1 as ListBoxLoadMoreItem};\n//# sourceMappingURL=ListBox.module.js.map\n"],"names":["$b1f0cad8af73213b$export$3585ede4d035bf14","$b1f0cad8af73213b$var$normalizeKey","key","$b1f0cad8af73213b$export$9145995848b05025","state","itemKey","data","$c132121280ec012d$export$50eacbbf140a3141","props","ref","domProps","$by1yQ$filterDOMProps","selectionBehavior","linkBehavior","listProps","$by1yQ$useSelectableList","focusWithinProps","$by1yQ$useFocusWithin","id","$by1yQ$useId","labelProps","fieldProps","$by1yQ$useLabel","$by1yQ$mergeProps","$293f70390ea03370$export$497855f14858aa34","_item_props","_item_props1","_props_isDisabled","isDisabled","_props_isSelected","isSelected","_props_shouldSelectOnPressUp","shouldSelectOnPressUp","_props_shouldFocusOnHover","shouldFocusOnHover","_props_shouldUseVirtualFocus","shouldUseVirtualFocus","_props_isVirtualized","isVirtualized","labelId","$fcwmx$useSlotId","descriptionId","optionProps","$fcwmx$isMac","$fcwmx$isWebKit","item","index","$fcwmx$getItemCount","onAction","_data_onAction","itemProps","isPressed","isFocused","hasAction","allowsSelection","$fcwmx$useSelectableItem","$fcwmx$chain","hoverProps","$fcwmx$useHover","$fcwmx$isFocusVisible","$fcwmx$filterDOMProps","linkProps","$fcwmx$useLinkProps","$fcwmx$mergeProps","$af383d3bef1cfdc9$export$c3f9f39876e4bc7","heading","ariaLabel","headingId","$8pE4M$useId","$eed445e0843c11d0$export$7ff8f37d2d81a48d","$e8Bmu$createContext","$eed445e0843c11d0$export$7c5906fe4f1f2af2","$eed445e0843c11d0$export$41f133550aa26f48","$e8Bmu$forwardRef","$64fa3d84918910a7$export$29f1550f4b0d4415","$e8Bmu$useContext","$e8Bmu$react","$eed445e0843c11d0$var$ListBoxInner","$e8Bmu$CollectionBuilder","$e8Bmu$Collection","collection","$eed445e0843c11d0$var$StandaloneListBox","listBoxRef","layoutDelegate","$7135fc7d473fd974$export$4feb769f8ddf26c5","$e8Bmu$useListState","inputState","$4e85f108e88277b8$export$b0d3ecf7112093a7","dragAndDropHooks","layout","orientation","filter","$e8Bmu$UNSTABLE_useFilteredListState","selectionManager","isListDraggable","isListDroppable","direction","$e8Bmu$useLocale","disabledBehavior","disabledKeys","collator","$e8Bmu$useCollator","ctxDropTargetDelegate","CollectionRoot","keyboardDelegate","$e8Bmu$useMemo","$e8Bmu$ListKeyboardDelegate","listBoxProps","$e8Bmu$useListBox","dragHooksProvided","$e8Bmu$useRef","dropHooksProvided","$e8Bmu$useEffect","dragState","dropState","droppableCollection","isRootDropTarget","dragPreview","preview","DragPreview","dropTargetDelegate","focusProps","isFocusVisible","$e8Bmu$useFocusRing","isEmpty","renderValues","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","emptyState","DOMProps","$e8Bmu$filterDOMProps","$e8Bmu$FocusScope","$e8Bmu$mergeProps","$64fa3d84918910a7$export$2881499e37b75b9a","$612b8eb6cb90e02d$export$d188a835a7bc5783","$431f98aba6844401$export$6615d83f6de245ce","$612b8eb6cb90e02d$export$f55761759794cf55","$eed445e0843c11d0$var$ListBoxDropIndicatorWrapper","$7135fc7d473fd974$export$d40e14dec8b060a8","$eed445e0843c11d0$var$ListBoxSectionInner","$c8a5a149f625efcf$export$758399f318e6385a","$612b8eb6cb90e02d$export$d1e8e3fbb7461f6","$612b8eb6cb90e02d$export$971707d8a129a1f7","section","className","CollectionBranch","headingRef","$64fa3d84918910a7$export$9d4c57ee4c6ffdd8","_props_arialabel","headingProps","groupProps","$e8Bmu$useListBoxSection","$72a5793c14baf454$export$e0e4026c12a8bdbb","$eed445e0843c11d0$export$dca12b0bb56e4fc","$e8Bmu$createBranchComponent","$e8Bmu$SectionNode","$eed445e0843c11d0$export$a11e76429ed99b4","$e8Bmu$createLeafComponent","$e8Bmu$ItemNode","forwardedRef","$e8Bmu$useObjectRef","descriptionProps","states","$e8Bmu$useOption","isHovered","$e8Bmu$useHover","draggableItem","droppableItem","isDragging","ElementType","$514c0188e459b4c0$export$9afb8bc826b033ea","$64fa3d84918910a7$export$c62b8e45d58ddad9","$1d5b8b8664671ef2$export$c9549807523555e0","dropIndicatorProps","isHidden","isDropTarget","$eed445e0843c11d0$var$ListBoxDropIndicatorForwardRef","$eed445e0843c11d0$var$ListBoxDropIndicator","otherProps"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAUS,MAACA,IAA4C,oBAAI,QAAO;AACjE,SAASC,GAAmCC,GAAK;AAC7C,SAAI,OAAOA,KAAQ,WAAiBA,EAAI,QAAQ,QAAQ,EAAE,IACnD,KAAKA;AAChB;AACA,SAASC,GAA0CC,GAAOC,GAAS;AAC/D,MAAIC,IAAON,EAA0C,IAAII,CAAK;AAC9D,MAAI,CAACE,EAAM,OAAM,IAAI,MAAM,cAAc;AACzC,SAAO,GAAGA,EAAK,EAAE,WAAWL,GAAmCI,CAAO,CAAC;AAC3E;ACEA,SAASE,GAA0CC,GAAOJ,GAAOK,GAAK;AAClE,MAAIC,IAAeC,EAAuBH,GAAO;AAAA,IAC7C,WAAW;AAAA,EACnB,CAAK,GAEGI,IAAoBJ,EAAM,qBAAqB,UAC/CK,IAAeL,EAAM,iBAAiBI,MAAsB,YAAY,WAAW;AACvF,EAAIA,MAAsB,YAAYC,MAAiB,aAGvDA,IAAe;AACf,MAAI,EAAE,WAAWC,EAAS,IAASC,GAA0B;AAAA,IACzD,GAAGP;AAAA,IACH,KAAKC;AAAA,IACL,kBAAkBL,EAAM;AAAA,IACxB,YAAYA,EAAM;AAAA,IAClB,cAAcA,EAAM;AAAA,IACpB,cAAcS;AAAA,E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Ac,cAAcoG,IAAsD;AAAA,IACvG,GAAGxK;AAAA,IACH,oBAAoBqK;AAAA,IACpB,cAAcE;AAAA,IACd,KAAKtK;AAAA,EACb,CAAK;AACL;AACA,SAASwK,GAA2CzK,GAAOC,GAAK;AAC5D,MAAI,EAAE,oBAAoBoK,GAAoB,cAAcE,GAAc,GAAGG,EAAU,IAAK1K,GACxFsH,IAAkBC,EAAyC;AAAA,IAC3D,GAAGmD;AAAA,IACH,kBAAkB;AAAA,IAClB,QAAQ;AAAA,MACJ,cAAcH;AAAA,IAC1B;AAAA,EACA,CAAK;AACD,SAAyBnG,gBAAAA,EAAc,cAAc,OAAO;AAAA,IACxD,GAAGiG;AAAA,IACH,GAAG/C;AAAA;AAAA,IAEH,MAAM;AAAA,IACN,KAAKrH;AAAA,IACL,oBAAoBsK,KAAgB;AAAA,EAC5C,CAAK;AACL;AACA,MAAMC,KAAyEvG,gBAAAA,GAAmBwG,EAA0C;","x_google_ignoreList":[0,1,2,3,4]}
|
package/dist/chunks/{ListKeyboardDelegate-D-k0fIME.es.js → ListKeyboardDelegate-ByRdSpOe.es.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as a } from "./SelectionManager-
|
|
1
|
+
import { $ as a } from "./SelectionManager-DMLLo5N3.es.js";
|
|
2
2
|
import { $ as r } from "./scrollIntoView-DTfS0nWq.es.js";
|
|
3
3
|
class s {
|
|
4
4
|
getItemRect(t) {
|
|
@@ -156,4 +156,4 @@ export {
|
|
|
156
156
|
c as $,
|
|
157
157
|
s as a
|
|
158
158
|
};
|
|
159
|
-
//# sourceMappingURL=ListKeyboardDelegate-
|
|
159
|
+
//# sourceMappingURL=ListKeyboardDelegate-ByRdSpOe.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListKeyboardDelegate-D-k0fIME.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+selection@3.26.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/selection/dist/DOMLayoutDelegate.mjs","../../../../node_modules/.pnpm/@react-aria+selection@3.26.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/selection/dist/ListKeyboardDelegate.mjs"],"sourcesContent":["import {getItemElement as $feb5ffebff200149$export$c3d8340acf92597f} from \"./utils.mjs\";\n\n/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nclass $657e4dc4a6e88df0$export$8f5ed9ff9f511381 {\n getItemRect(key) {\n let container = this.ref.current;\n if (!container) return null;\n let item = key != null ? (0, $feb5ffebff200149$export$c3d8340acf92597f)(this.ref, key) : null;\n if (!item) return null;\n let containerRect = container.getBoundingClientRect();\n let itemRect = item.getBoundingClientRect();\n return {\n x: itemRect.left - containerRect.left - container.clientLeft + container.scrollLeft,\n y: itemRect.top - containerRect.top - container.clientTop + container.scrollTop,\n width: itemRect.width,\n height: itemRect.height\n };\n }\n getContentSize() {\n let container = this.ref.current;\n var _container_scrollWidth, _container_scrollHeight;\n return {\n width: (_container_scrollWidth = container === null || container === void 0 ? void 0 : container.scrollWidth) !== null && _container_scrollWidth !== void 0 ? _container_scrollWidth : 0,\n height: (_container_scrollHeight = container === null || container === void 0 ? void 0 : container.scrollHeight) !== null && _container_scrollHeight !== void 0 ? _container_scrollHeight : 0\n };\n }\n getVisibleRect() {\n let container = this.ref.current;\n var _container_scrollLeft, _container_scrollTop, _container_clientWidth, _container_clientHeight;\n return {\n x: (_container_scrollLeft = container === null || container === void 0 ? void 0 : container.scrollLeft) !== null && _container_scrollLeft !== void 0 ? _container_scrollLeft : 0,\n y: (_container_scrollTop = container === null || container === void 0 ? void 0 : container.scrollTop) !== null && _container_scrollTop !== void 0 ? _container_scrollTop : 0,\n width: (_container_clientWidth = container === null || container === void 0 ? void 0 : container.clientWidth) !== null && _container_clientWidth !== void 0 ? _container_clientWidth : 0,\n height: (_container_clientHeight = container === null || container === void 0 ? void 0 : container.clientHeight) !== null && _container_clientHeight !== void 0 ? _container_clientHeight : 0\n };\n }\n constructor(ref){\n this.ref = ref;\n }\n}\n\n\nexport {$657e4dc4a6e88df0$export$8f5ed9ff9f511381 as DOMLayoutDelegate};\n//# sourceMappingURL=DOMLayoutDelegate.module.js.map\n","import {DOMLayoutDelegate as $657e4dc4a6e88df0$export$8f5ed9ff9f511381} from \"./DOMLayoutDelegate.mjs\";\nimport {isScrollable as $eak97$isScrollable} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nclass $2a25aae57d74318e$export$a05409b8bb224a5a {\n isDisabled(item) {\n var _item_props;\n return this.disabledBehavior === 'all' && (((_item_props = item.props) === null || _item_props === void 0 ? void 0 : _item_props.isDisabled) || this.disabledKeys.has(item.key));\n }\n findNextNonDisabled(key, getNext) {\n let nextKey = key;\n while(nextKey != null){\n let item = this.collection.getItem(nextKey);\n if ((item === null || item === void 0 ? void 0 : item.type) === 'item' && !this.isDisabled(item)) return nextKey;\n nextKey = getNext(nextKey);\n }\n return null;\n }\n getNextKey(key) {\n let nextKey = key;\n nextKey = this.collection.getKeyAfter(nextKey);\n return this.findNextNonDisabled(nextKey, (key)=>this.collection.getKeyAfter(key));\n }\n getPreviousKey(key) {\n let nextKey = key;\n nextKey = this.collection.getKeyBefore(nextKey);\n return this.findNextNonDisabled(nextKey, (key)=>this.collection.getKeyBefore(key));\n }\n findKey(key, nextKey, shouldSkip) {\n let tempKey = key;\n let itemRect = this.layoutDelegate.getItemRect(tempKey);\n if (!itemRect || tempKey == null) return null;\n // Find the item above or below in the same column.\n let prevRect = itemRect;\n do {\n tempKey = nextKey(tempKey);\n if (tempKey == null) break;\n itemRect = this.layoutDelegate.getItemRect(tempKey);\n }while (itemRect && shouldSkip(prevRect, itemRect) && tempKey != null);\n return tempKey;\n }\n isSameRow(prevRect, itemRect) {\n return prevRect.y === itemRect.y || prevRect.x !== itemRect.x;\n }\n isSameColumn(prevRect, itemRect) {\n return prevRect.x === itemRect.x || prevRect.y !== itemRect.y;\n }\n getKeyBelow(key) {\n if (this.layout === 'grid' && this.orientation === 'vertical') return this.findKey(key, (key)=>this.getNextKey(key), this.isSameRow);\n else return this.getNextKey(key);\n }\n getKeyAbove(key) {\n if (this.layout === 'grid' && this.orientation === 'vertical') return this.findKey(key, (key)=>this.getPreviousKey(key), this.isSameRow);\n else return this.getPreviousKey(key);\n }\n getNextColumn(key, right) {\n return right ? this.getPreviousKey(key) : this.getNextKey(key);\n }\n getKeyRightOf(key) {\n // This is a temporary solution for CardView until we refactor useSelectableCollection.\n // https://github.com/orgs/adobe/projects/19/views/32?pane=issue&itemId=77825042\n let layoutDelegateMethod = this.direction === 'ltr' ? 'getKeyRightOf' : 'getKeyLeftOf';\n if (this.layoutDelegate[layoutDelegateMethod]) {\n key = this.layoutDelegate[layoutDelegateMethod](key);\n return this.findNextNonDisabled(key, (key)=>this.layoutDelegate[layoutDelegateMethod](key));\n }\n if (this.layout === 'grid') {\n if (this.orientation === 'vertical') return this.getNextColumn(key, this.direction === 'rtl');\n else return this.findKey(key, (key)=>this.getNextColumn(key, this.direction === 'rtl'), this.isSameColumn);\n } else if (this.orientation === 'horizontal') return this.getNextColumn(key, this.direction === 'rtl');\n return null;\n }\n getKeyLeftOf(key) {\n let layoutDelegateMethod = this.direction === 'ltr' ? 'getKeyLeftOf' : 'getKeyRightOf';\n if (this.layoutDelegate[layoutDelegateMethod]) {\n key = this.layoutDelegate[layoutDelegateMethod](key);\n return this.findNextNonDisabled(key, (key)=>this.layoutDelegate[layoutDelegateMethod](key));\n }\n if (this.layout === 'grid') {\n if (this.orientation === 'vertical') return this.getNextColumn(key, this.direction === 'ltr');\n else return this.findKey(key, (key)=>this.getNextColumn(key, this.direction === 'ltr'), this.isSameColumn);\n } else if (this.orientation === 'horizontal') return this.getNextColumn(key, this.direction === 'ltr');\n return null;\n }\n getFirstKey() {\n let key = this.collection.getFirstKey();\n return this.findNextNonDisabled(key, (key)=>this.collection.getKeyAfter(key));\n }\n getLastKey() {\n let key = this.collection.getLastKey();\n return this.findNextNonDisabled(key, (key)=>this.collection.getKeyBefore(key));\n }\n getKeyPageAbove(key) {\n let menu = this.ref.current;\n let itemRect = this.layoutDelegate.getItemRect(key);\n if (!itemRect) return null;\n if (menu && !(0, $eak97$isScrollable)(menu)) return this.getFirstKey();\n let nextKey = key;\n if (this.orientation === 'horizontal') {\n let pageX = Math.max(0, itemRect.x + itemRect.width - this.layoutDelegate.getVisibleRect().width);\n while(itemRect && itemRect.x > pageX && nextKey != null){\n nextKey = this.getKeyAbove(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n } else {\n let pageY = Math.max(0, itemRect.y + itemRect.height - this.layoutDelegate.getVisibleRect().height);\n while(itemRect && itemRect.y > pageY && nextKey != null){\n nextKey = this.getKeyAbove(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n }\n return nextKey !== null && nextKey !== void 0 ? nextKey : this.getFirstKey();\n }\n getKeyPageBelow(key) {\n let menu = this.ref.current;\n let itemRect = this.layoutDelegate.getItemRect(key);\n if (!itemRect) return null;\n if (menu && !(0, $eak97$isScrollable)(menu)) return this.getLastKey();\n let nextKey = key;\n if (this.orientation === 'horizontal') {\n let pageX = Math.min(this.layoutDelegate.getContentSize().width, itemRect.y - itemRect.width + this.layoutDelegate.getVisibleRect().width);\n while(itemRect && itemRect.x < pageX && nextKey != null){\n nextKey = this.getKeyBelow(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n } else {\n let pageY = Math.min(this.layoutDelegate.getContentSize().height, itemRect.y - itemRect.height + this.layoutDelegate.getVisibleRect().height);\n while(itemRect && itemRect.y < pageY && nextKey != null){\n nextKey = this.getKeyBelow(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n }\n return nextKey !== null && nextKey !== void 0 ? nextKey : this.getLastKey();\n }\n getKeyForSearch(search, fromKey) {\n if (!this.collator) return null;\n let collection = this.collection;\n let key = fromKey || this.getFirstKey();\n while(key != null){\n let item = collection.getItem(key);\n if (!item) return null;\n let substring = item.textValue.slice(0, search.length);\n if (item.textValue && this.collator.compare(substring, search) === 0) return key;\n key = this.getNextKey(key);\n }\n return null;\n }\n constructor(...args){\n if (args.length === 1) {\n let opts = args[0];\n this.collection = opts.collection;\n this.ref = opts.ref;\n this.collator = opts.collator;\n this.disabledKeys = opts.disabledKeys || new Set();\n this.disabledBehavior = opts.disabledBehavior || 'all';\n this.orientation = opts.orientation || 'vertical';\n this.direction = opts.direction;\n this.layout = opts.layout || 'stack';\n this.layoutDelegate = opts.layoutDelegate || new (0, $657e4dc4a6e88df0$export$8f5ed9ff9f511381)(opts.ref);\n } else {\n this.collection = args[0];\n this.disabledKeys = args[1];\n this.ref = args[2];\n this.collator = args[3];\n this.layout = 'stack';\n this.orientation = 'vertical';\n this.disabledBehavior = 'all';\n this.layoutDelegate = new (0, $657e4dc4a6e88df0$export$8f5ed9ff9f511381)(this.ref);\n }\n // If this is a vertical stack, remove the left/right methods completely\n // so they aren't called by useDroppableCollection.\n if (this.layout === 'stack' && this.orientation === 'vertical') {\n this.getKeyLeftOf = undefined;\n this.getKeyRightOf = undefined;\n }\n }\n}\n\n\nexport {$2a25aae57d74318e$export$a05409b8bb224a5a as ListKeyboardDelegate};\n//# sourceMappingURL=ListKeyboardDelegate.module.js.map\n"],"names":["$657e4dc4a6e88df0$export$8f5ed9ff9f511381","key","container","item","$feb5ffebff200149$export$c3d8340acf92597f","containerRect","itemRect","_container_scrollWidth","_container_scrollHeight","_container_scrollLeft","_container_scrollTop","_container_clientWidth","_container_clientHeight","ref","$2a25aae57d74318e$export$a05409b8bb224a5a","_item_props","getNext","nextKey","shouldSkip","tempKey","prevRect","right","layoutDelegateMethod","menu","$eak97$isScrollable","pageX","pageY","search","fromKey","collection","substring","args","opts"],"mappings":";;AAaA,MAAMA,EAA0C;AAAA,EAC5C,YAAYC,GAAK;AACb,QAAIC,IAAY,KAAK,IAAI;AACzB,QAAI,CAACA,EAAW,QAAO;AACvB,QAAIC,IAAOF,KAAO,OAAWG,EAA2C,KAAK,KAAKH,CAAG,IAAI;AACzF,QAAI,CAACE,EAAM,QAAO;AAClB,QAAIE,IAAgBH,EAAU,sBAAqB,GAC/CI,IAAWH,EAAK,sBAAqB;AACzC,WAAO;AAAA,MACH,GAAGG,EAAS,OAAOD,EAAc,OAAOH,EAAU,aAAaA,EAAU;AAAA,MACzE,GAAGI,EAAS,MAAMD,EAAc,MAAMH,EAAU,YAAYA,EAAU;AAAA,MACtE,OAAOI,EAAS;AAAA,MAChB,QAAQA,EAAS;AAAA,IAC7B;AAAA,EACI;AAAA,EACA,iBAAiB;AACb,QAAIJ,IAAY,KAAK,IAAI;AACzB,QAAIK,GAAwBC;AAC5B,WAAO;AAAA,MACH,QAAQD,IAA+EL,GAAU,iBAAiB,QAAQK,MAA2B,SAASA,IAAyB;AAAA,MACvL,SAASC,IAAgFN,GAAU,kBAAkB,QAAQM,MAA4B,SAASA,IAA0B;AAAA,IACxM;AAAA,EACI;AAAA,EACA,iBAAiB;AACb,QAAIN,IAAY,KAAK,IAAI;AACzB,QAAIO,GAAuBC,GAAsBC,GAAwB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KAAK,SAAS,SACd,KAAK,cAAc,YACnB,KAAK,mBAAmB,OACxB,KAAK,iBAAiB,IAAQ/B,EAA2C,KAAK,GAAG;AAIrF,IAAI,KAAK,WAAW,WAAW,KAAK,gBAAgB,eAChD,KAAK,eAAe,QACpB,KAAK,gBAAgB;AAAA,EAE7B;AACJ;","x_google_ignoreList":[0,1]}
|
|
1
|
+
{"version":3,"file":"ListKeyboardDelegate-ByRdSpOe.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+selection@3.26.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/selection/dist/DOMLayoutDelegate.mjs","../../../../node_modules/.pnpm/@react-aria+selection@3.26.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/selection/dist/ListKeyboardDelegate.mjs"],"sourcesContent":["import {getItemElement as $feb5ffebff200149$export$c3d8340acf92597f} from \"./utils.mjs\";\n\n/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nclass $657e4dc4a6e88df0$export$8f5ed9ff9f511381 {\n getItemRect(key) {\n let container = this.ref.current;\n if (!container) return null;\n let item = key != null ? (0, $feb5ffebff200149$export$c3d8340acf92597f)(this.ref, key) : null;\n if (!item) return null;\n let containerRect = container.getBoundingClientRect();\n let itemRect = item.getBoundingClientRect();\n return {\n x: itemRect.left - containerRect.left - container.clientLeft + container.scrollLeft,\n y: itemRect.top - containerRect.top - container.clientTop + container.scrollTop,\n width: itemRect.width,\n height: itemRect.height\n };\n }\n getContentSize() {\n let container = this.ref.current;\n var _container_scrollWidth, _container_scrollHeight;\n return {\n width: (_container_scrollWidth = container === null || container === void 0 ? void 0 : container.scrollWidth) !== null && _container_scrollWidth !== void 0 ? _container_scrollWidth : 0,\n height: (_container_scrollHeight = container === null || container === void 0 ? void 0 : container.scrollHeight) !== null && _container_scrollHeight !== void 0 ? _container_scrollHeight : 0\n };\n }\n getVisibleRect() {\n let container = this.ref.current;\n var _container_scrollLeft, _container_scrollTop, _container_clientWidth, _container_clientHeight;\n return {\n x: (_container_scrollLeft = container === null || container === void 0 ? void 0 : container.scrollLeft) !== null && _container_scrollLeft !== void 0 ? _container_scrollLeft : 0,\n y: (_container_scrollTop = container === null || container === void 0 ? void 0 : container.scrollTop) !== null && _container_scrollTop !== void 0 ? _container_scrollTop : 0,\n width: (_container_clientWidth = container === null || container === void 0 ? void 0 : container.clientWidth) !== null && _container_clientWidth !== void 0 ? _container_clientWidth : 0,\n height: (_container_clientHeight = container === null || container === void 0 ? void 0 : container.clientHeight) !== null && _container_clientHeight !== void 0 ? _container_clientHeight : 0\n };\n }\n constructor(ref){\n this.ref = ref;\n }\n}\n\n\nexport {$657e4dc4a6e88df0$export$8f5ed9ff9f511381 as DOMLayoutDelegate};\n//# sourceMappingURL=DOMLayoutDelegate.module.js.map\n","import {DOMLayoutDelegate as $657e4dc4a6e88df0$export$8f5ed9ff9f511381} from \"./DOMLayoutDelegate.mjs\";\nimport {isScrollable as $eak97$isScrollable} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nclass $2a25aae57d74318e$export$a05409b8bb224a5a {\n isDisabled(item) {\n var _item_props;\n return this.disabledBehavior === 'all' && (((_item_props = item.props) === null || _item_props === void 0 ? void 0 : _item_props.isDisabled) || this.disabledKeys.has(item.key));\n }\n findNextNonDisabled(key, getNext) {\n let nextKey = key;\n while(nextKey != null){\n let item = this.collection.getItem(nextKey);\n if ((item === null || item === void 0 ? void 0 : item.type) === 'item' && !this.isDisabled(item)) return nextKey;\n nextKey = getNext(nextKey);\n }\n return null;\n }\n getNextKey(key) {\n let nextKey = key;\n nextKey = this.collection.getKeyAfter(nextKey);\n return this.findNextNonDisabled(nextKey, (key)=>this.collection.getKeyAfter(key));\n }\n getPreviousKey(key) {\n let nextKey = key;\n nextKey = this.collection.getKeyBefore(nextKey);\n return this.findNextNonDisabled(nextKey, (key)=>this.collection.getKeyBefore(key));\n }\n findKey(key, nextKey, shouldSkip) {\n let tempKey = key;\n let itemRect = this.layoutDelegate.getItemRect(tempKey);\n if (!itemRect || tempKey == null) return null;\n // Find the item above or below in the same column.\n let prevRect = itemRect;\n do {\n tempKey = nextKey(tempKey);\n if (tempKey == null) break;\n itemRect = this.layoutDelegate.getItemRect(tempKey);\n }while (itemRect && shouldSkip(prevRect, itemRect) && tempKey != null);\n return tempKey;\n }\n isSameRow(prevRect, itemRect) {\n return prevRect.y === itemRect.y || prevRect.x !== itemRect.x;\n }\n isSameColumn(prevRect, itemRect) {\n return prevRect.x === itemRect.x || prevRect.y !== itemRect.y;\n }\n getKeyBelow(key) {\n if (this.layout === 'grid' && this.orientation === 'vertical') return this.findKey(key, (key)=>this.getNextKey(key), this.isSameRow);\n else return this.getNextKey(key);\n }\n getKeyAbove(key) {\n if (this.layout === 'grid' && this.orientation === 'vertical') return this.findKey(key, (key)=>this.getPreviousKey(key), this.isSameRow);\n else return this.getPreviousKey(key);\n }\n getNextColumn(key, right) {\n return right ? this.getPreviousKey(key) : this.getNextKey(key);\n }\n getKeyRightOf(key) {\n // This is a temporary solution for CardView until we refactor useSelectableCollection.\n // https://github.com/orgs/adobe/projects/19/views/32?pane=issue&itemId=77825042\n let layoutDelegateMethod = this.direction === 'ltr' ? 'getKeyRightOf' : 'getKeyLeftOf';\n if (this.layoutDelegate[layoutDelegateMethod]) {\n key = this.layoutDelegate[layoutDelegateMethod](key);\n return this.findNextNonDisabled(key, (key)=>this.layoutDelegate[layoutDelegateMethod](key));\n }\n if (this.layout === 'grid') {\n if (this.orientation === 'vertical') return this.getNextColumn(key, this.direction === 'rtl');\n else return this.findKey(key, (key)=>this.getNextColumn(key, this.direction === 'rtl'), this.isSameColumn);\n } else if (this.orientation === 'horizontal') return this.getNextColumn(key, this.direction === 'rtl');\n return null;\n }\n getKeyLeftOf(key) {\n let layoutDelegateMethod = this.direction === 'ltr' ? 'getKeyLeftOf' : 'getKeyRightOf';\n if (this.layoutDelegate[layoutDelegateMethod]) {\n key = this.layoutDelegate[layoutDelegateMethod](key);\n return this.findNextNonDisabled(key, (key)=>this.layoutDelegate[layoutDelegateMethod](key));\n }\n if (this.layout === 'grid') {\n if (this.orientation === 'vertical') return this.getNextColumn(key, this.direction === 'ltr');\n else return this.findKey(key, (key)=>this.getNextColumn(key, this.direction === 'ltr'), this.isSameColumn);\n } else if (this.orientation === 'horizontal') return this.getNextColumn(key, this.direction === 'ltr');\n return null;\n }\n getFirstKey() {\n let key = this.collection.getFirstKey();\n return this.findNextNonDisabled(key, (key)=>this.collection.getKeyAfter(key));\n }\n getLastKey() {\n let key = this.collection.getLastKey();\n return this.findNextNonDisabled(key, (key)=>this.collection.getKeyBefore(key));\n }\n getKeyPageAbove(key) {\n let menu = this.ref.current;\n let itemRect = this.layoutDelegate.getItemRect(key);\n if (!itemRect) return null;\n if (menu && !(0, $eak97$isScrollable)(menu)) return this.getFirstKey();\n let nextKey = key;\n if (this.orientation === 'horizontal') {\n let pageX = Math.max(0, itemRect.x + itemRect.width - this.layoutDelegate.getVisibleRect().width);\n while(itemRect && itemRect.x > pageX && nextKey != null){\n nextKey = this.getKeyAbove(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n } else {\n let pageY = Math.max(0, itemRect.y + itemRect.height - this.layoutDelegate.getVisibleRect().height);\n while(itemRect && itemRect.y > pageY && nextKey != null){\n nextKey = this.getKeyAbove(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n }\n return nextKey !== null && nextKey !== void 0 ? nextKey : this.getFirstKey();\n }\n getKeyPageBelow(key) {\n let menu = this.ref.current;\n let itemRect = this.layoutDelegate.getItemRect(key);\n if (!itemRect) return null;\n if (menu && !(0, $eak97$isScrollable)(menu)) return this.getLastKey();\n let nextKey = key;\n if (this.orientation === 'horizontal') {\n let pageX = Math.min(this.layoutDelegate.getContentSize().width, itemRect.y - itemRect.width + this.layoutDelegate.getVisibleRect().width);\n while(itemRect && itemRect.x < pageX && nextKey != null){\n nextKey = this.getKeyBelow(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n } else {\n let pageY = Math.min(this.layoutDelegate.getContentSize().height, itemRect.y - itemRect.height + this.layoutDelegate.getVisibleRect().height);\n while(itemRect && itemRect.y < pageY && nextKey != null){\n nextKey = this.getKeyBelow(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n }\n return nextKey !== null && nextKey !== void 0 ? nextKey : this.getLastKey();\n }\n getKeyForSearch(search, fromKey) {\n if (!this.collator) return null;\n let collection = this.collection;\n let key = fromKey || this.getFirstKey();\n while(key != null){\n let item = collection.getItem(key);\n if (!item) return null;\n let substring = item.textValue.slice(0, search.length);\n if (item.textValue && this.collator.compare(substring, search) === 0) return key;\n key = this.getNextKey(key);\n }\n return null;\n }\n constructor(...args){\n if (args.length === 1) {\n let opts = args[0];\n this.collection = opts.collection;\n this.ref = opts.ref;\n this.collator = opts.collator;\n this.disabledKeys = opts.disabledKeys || new Set();\n this.disabledBehavior = opts.disabledBehavior || 'all';\n this.orientation = opts.orientation || 'vertical';\n this.direction = opts.direction;\n this.layout = opts.layout || 'stack';\n this.layoutDelegate = opts.layoutDelegate || new (0, $657e4dc4a6e88df0$export$8f5ed9ff9f511381)(opts.ref);\n } else {\n this.collection = args[0];\n this.disabledKeys = args[1];\n this.ref = args[2];\n this.collator = args[3];\n this.layout = 'stack';\n this.orientation = 'vertical';\n this.disabledBehavior = 'all';\n this.layoutDelegate = new (0, $657e4dc4a6e88df0$export$8f5ed9ff9f511381)(this.ref);\n }\n // If this is a vertical stack, remove the left/right methods completely\n // so they aren't called by useDroppableCollection.\n if (this.layout === 'stack' && this.orientation === 'vertical') {\n this.getKeyLeftOf = undefined;\n this.getKeyRightOf = undefined;\n }\n }\n}\n\n\nexport {$2a25aae57d74318e$export$a05409b8bb224a5a as ListKeyboardDelegate};\n//# sourceMappingURL=ListKeyboardDelegate.module.js.map\n"],"names":["$657e4dc4a6e88df0$export$8f5ed9ff9f511381","key","container","item","$feb5ffebff200149$export$c3d8340acf92597f","containerRect","itemRect","_container_scrollWidth","_container_scrollHeight","_container_scrollLeft","_container_scrollTop","_container_clientWidth","_container_clientHeight","ref","$2a25aae57d74318e$export$a05409b8bb224a5a","_item_props","getNext","nextKey","shouldSkip","tempKey","prevRect","right","layoutDelegateMethod","menu","$eak97$isScrollable","pageX","pageY","search","fromKey","collection","substring","args","opts"],"mappings":";;AAaA,MAAMA,EAA0C;AAAA,EAC5C,YAAYC,GAAK;AACb,QAAIC,IAAY,KAAK,IAAI;AACzB,QAAI,CAACA,EAAW,QAAO;AACvB,QAAIC,IAAOF,KAAO,OAAWG,EAA2C,KAAK,KAAKH,CAAG,IAAI;AACzF,QAAI,CAACE,EAAM,QAAO;AAClB,QAAIE,IAAgBH,EAAU,sBAAqB,GAC/CI,IAAWH,EAAK,sBAAqB;AACzC,WAAO;AAAA,MACH,GAAGG,EAAS,OAAOD,EAAc,OAAOH,EAAU,aAAaA,EAAU;AAAA,MACzE,GAAGI,EAAS,MAAMD,EAAc,MAAMH,EAAU,YAAYA,EAAU;AAAA,MACtE,OAAOI,EAAS;AAAA,MAChB,QAAQA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EAAK,gBAAgB,oBAAI,IAAG,GAChD,KAAK,mBAAmBA,EAAK,oBAAoB,OACjD,KAAK,cAAcA,EAAK,eAAe,YACvC,KAAK,YAAYA,EAAK,WACtB,KAAK,SAASA,EAAK,UAAU,SAC7B,KAAK,iBAAiBA,EAAK,kBAAkB,IAAQhC,EAA2CgC,EAAK,GAAG;AAAA,IAC5G;AACI,WAAK,aAAaD,EAAK,CAAC,GACxB,KAAK,eAAeA,EAAK,CAAC,GAC1B,KAAK,MAAMA,EAAK,CAAC,GACjB,KAAK,WAAWA,EAAK,CAAC,GACtB,KAAK,SAAS,SACd,KAAK,cAAc,YACnB,KAAK,mBAAmB,OACxB,KAAK,iBAAiB,IAAQ/B,EAA2C,KAAK,GAAG;AAIrF,IAAI,KAAK,WAAW,WAAW,KAAK,gBAAgB,eAChD,KAAK,eAAe,QACpB,KAAK,gBAAgB;AAAA,EAE7B;AACJ;","x_google_ignoreList":[0,1]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { $ as I, c as T, a as w, d as z } from "./utils-Cyja2WdR.es.js";
|
|
2
|
-
import { a as U, b as H, c as V, d as K, e as g, f as j, g as F } from "./Dialog-
|
|
2
|
+
import { a as U, b as H, c as V, d as K, e as g, f as j, g as F } from "./Dialog-Qpq4hk89.es.js";
|
|
3
3
|
import { a as h } from "./mergeProps-CzyOU2NE.es.js";
|
|
4
4
|
import { $ as y } from "./filterDOMProps-BSVCO5jK.es.js";
|
|
5
5
|
import { $ as C } from "./useObjectRef-CaJ5pgjX.es.js";
|
|
6
6
|
import { $ as W } from "./scrollIntoView-DTfS0nWq.es.js";
|
|
7
|
-
import { d as x } from "./SelectionManager-
|
|
7
|
+
import { d as x } from "./SelectionManager-DMLLo5N3.es.js";
|
|
8
8
|
import c, { useState as k, useEffect as R, forwardRef as D, useContext as m, createContext as S, useRef as q, useMemo as G } from "react";
|
|
9
9
|
import { $ as P } from "./SSRProvider-Cu8KibIK.es.js";
|
|
10
10
|
import { $ as J, a as p, b as L } from "./OverlayArrow-CwYMJqgj.es.js";
|
|
@@ -194,4 +194,4 @@ export {
|
|
|
194
194
|
ee as $,
|
|
195
195
|
ue as a
|
|
196
196
|
};
|
|
197
|
-
//# sourceMappingURL=Modal-
|
|
197
|
+
//# sourceMappingURL=Modal-DZrVgGsJ.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal-D91zBjIP.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/useViewportSize.mjs","../../../../node_modules/.pnpm/@react-aria+overlays@3.30.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/overlays/dist/useModalOverlay.mjs","../../../../node_modules/.pnpm/react-aria-components@1.13.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/Modal.mjs"],"sourcesContent":["import {willOpenKeyboard as $21f1aa98acb08317$export$c57958e35f31ed73} from \"./keyboard.mjs\";\nimport {useState as $fuDHA$useState, useEffect as $fuDHA$useEffect} from \"react\";\nimport {useIsSSR as $fuDHA$useIsSSR} from \"@react-aria/ssr\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nlet $5df64b3807dc15ee$var$visualViewport = typeof document !== 'undefined' && window.visualViewport;\nfunction $5df64b3807dc15ee$export$d699905dd57c73ca() {\n let isSSR = (0, $fuDHA$useIsSSR)();\n let [size, setSize] = (0, $fuDHA$useState)(()=>isSSR ? {\n width: 0,\n height: 0\n } : $5df64b3807dc15ee$var$getViewportSize());\n (0, $fuDHA$useEffect)(()=>{\n // Use visualViewport api to track available height even on iOS virtual keyboard opening\n let onResize = ()=>{\n // Ignore updates when zoomed.\n if ($5df64b3807dc15ee$var$visualViewport && $5df64b3807dc15ee$var$visualViewport.scale > 1) return;\n setSize((size)=>{\n let newSize = $5df64b3807dc15ee$var$getViewportSize();\n if (newSize.width === size.width && newSize.height === size.height) return size;\n return newSize;\n });\n };\n // When closing the keyboard, iOS does not fire the visual viewport resize event until the animation is complete.\n // We can anticipate this and resize early by handling the blur event and using the layout size.\n let frame;\n let onBlur = (e)=>{\n if ($5df64b3807dc15ee$var$visualViewport && $5df64b3807dc15ee$var$visualViewport.scale > 1) return;\n if ((0, $21f1aa98acb08317$export$c57958e35f31ed73)(e.target)) // Wait one frame to see if a new element gets focused.\n frame = requestAnimationFrame(()=>{\n if (!document.activeElement || !(0, $21f1aa98acb08317$export$c57958e35f31ed73)(document.activeElement)) setSize((size)=>{\n let newSize = {\n width: window.innerWidth,\n height: window.innerHeight\n };\n if (newSize.width === size.width && newSize.height === size.height) return size;\n return newSize;\n });\n });\n };\n window.addEventListener('blur', onBlur, true);\n if (!$5df64b3807dc15ee$var$visualViewport) window.addEventListener('resize', onResize);\n else $5df64b3807dc15ee$var$visualViewport.addEventListener('resize', onResize);\n return ()=>{\n cancelAnimationFrame(frame);\n window.removeEventListener('blur', onBlur, true);\n if (!$5df64b3807dc15ee$var$visualViewport) window.removeEventListener('resize', onResize);\n else $5df64b3807dc15ee$var$visualViewport.removeEventListener('resize', onResize);\n };\n }, []);\n return size;\n}\nfunction $5df64b3807dc15ee$var$getViewportSize() {\n return {\n // Multiply by the visualViewport scale to get the \"natural\" size, unaffected by pinch zooming.\n width: $5df64b3807dc15ee$var$visualViewport ? $5df64b3807dc15ee$var$visualViewport.width * $5df64b3807dc15ee$var$visualViewport.scale : window.innerWidth,\n height: $5df64b3807dc15ee$var$visualViewport ? $5df64b3807dc15ee$var$visualViewport.height * $5df64b3807dc15ee$var$visualViewport.scale : window.innerHeight\n };\n}\n\n\nexport {$5df64b3807dc15ee$export$d699905dd57c73ca as useViewportSize};\n//# sourceMappingURL=useViewportSize.module.js.map\n","import {ariaHideOutside as $5e3802645cc19319$export$1c3ebcada18427bf} from \"./ariaHideOutside.mjs\";\nimport {useOverlay as $a11501f3d1d39e6c$export$ea8f71083e90600f} from \"./useOverlay.mjs\";\nimport {useOverlayFocusContain as $337b884510726a0d$export$14c98a7594375490} from \"./Overlay.mjs\";\nimport {usePreventScroll as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18} from \"./usePreventScroll.mjs\";\nimport {mergeProps as $7Dhkr$mergeProps} from \"@react-aria/utils\";\nimport {useEffect as $7Dhkr$useEffect} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\nfunction $8ac8429251c45e4b$export$dbc0f175b25fb0fb(props, state, ref) {\n let { overlayProps: overlayProps, underlayProps: underlayProps } = (0, $a11501f3d1d39e6c$export$ea8f71083e90600f)({\n ...props,\n isOpen: state.isOpen,\n onClose: state.close\n }, ref);\n (0, $49c51c25361d4cd2$export$ee0f7cc6afcd1c18)({\n isDisabled: !state.isOpen\n });\n (0, $337b884510726a0d$export$14c98a7594375490)();\n (0, $7Dhkr$useEffect)(()=>{\n if (state.isOpen && ref.current) return (0, $5e3802645cc19319$export$1c3ebcada18427bf)([\n ref.current\n ], {\n shouldUseInert: true\n });\n }, [\n state.isOpen,\n ref\n ]);\n return {\n modalProps: (0, $7Dhkr$mergeProps)(overlayProps),\n underlayProps: underlayProps\n };\n}\n\n\nexport {$8ac8429251c45e4b$export$dbc0f175b25fb0fb as useModalOverlay};\n//# sourceMappingURL=useModalOverlay.module.js.map\n","import {Provider as $64fa3d84918910a7$export$2881499e37b75b9a, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {OverlayTriggerStateContext as $de32f1b87079253c$export$d2f961adcb0afbe} from \"./Dialog.mjs\";\nimport {useIsSSR as $daTMi$useIsSSR, useModalOverlay as $daTMi$useModalOverlay, Overlay as $daTMi$Overlay, DismissButton as $daTMi$DismissButton} from \"react-aria\";\nimport {useObjectRef as $daTMi$useObjectRef, useExitAnimation as $daTMi$useExitAnimation, useEnterAnimation as $daTMi$useEnterAnimation, useViewportSize as $daTMi$useViewportSize, isScrollable as $daTMi$isScrollable, mergeProps as $daTMi$mergeProps, filterDOMProps as $daTMi$filterDOMProps, mergeRefs as $daTMi$mergeRefs} from \"@react-aria/utils\";\nimport {useOverlayTriggerState as $daTMi$useOverlayTriggerState} from \"react-stately\";\nimport $daTMi$react, {createContext as $daTMi$createContext, forwardRef as $daTMi$forwardRef, useContext as $daTMi$useContext, useRef as $daTMi$useRef, useMemo as $daTMi$useMemo} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\nconst $f3f84453ead64de5$export$ab57792b9b6974a6 = /*#__PURE__*/ (0, $daTMi$createContext)(null);\nconst $f3f84453ead64de5$var$InternalModalContext = /*#__PURE__*/ (0, $daTMi$createContext)(null);\nconst $f3f84453ead64de5$export$2b77a92f1a5ad772 = /*#__PURE__*/ (0, $daTMi$forwardRef)(function Modal(props, ref) {\n let ctx = (0, $daTMi$useContext)($f3f84453ead64de5$var$InternalModalContext);\n if (ctx) {\n if (process.env.NODE_ENV !== 'production' && (props.onOpenChange || props.defaultOpen !== undefined || props.isOpen !== undefined)) {\n // create a list of props that are passed in but not allowed when using an external ModalOverlay\n const invalidSet = new Set([\n 'isDismissable',\n 'isKeyboardDismissDisabled',\n 'isOpen',\n 'defaultOpen',\n 'onOpenChange',\n 'isEntering',\n 'isExiting',\n 'UNSTABLE_portalContainer',\n 'shouldCloseOnInteractOutside'\n ]);\n const invalidProps = Object.keys(props).filter((key)=>invalidSet.has(key));\n console.warn(`This modal is already wrapped in a ModalOverlay, props [${invalidProps.join(', ')}] should be placed on the ModalOverlay instead.`);\n }\n return /*#__PURE__*/ (0, $daTMi$react).createElement($f3f84453ead64de5$var$ModalContent, {\n ...props,\n modalRef: ref\n }, props.children);\n }\n let { isDismissable: isDismissable, isKeyboardDismissDisabled: isKeyboardDismissDisabled, isOpen: isOpen, defaultOpen: defaultOpen, onOpenChange: onOpenChange, children: children, isEntering: isEntering, isExiting: isExiting, UNSTABLE_portalContainer: UNSTABLE_portalContainer, shouldCloseOnInteractOutside: shouldCloseOnInteractOutside, ...otherProps } = props;\n return /*#__PURE__*/ (0, $daTMi$react).createElement($f3f84453ead64de5$export$8948f78d83984c69, {\n isDismissable: isDismissable,\n isKeyboardDismissDisabled: isKeyboardDismissDisabled,\n isOpen: isOpen,\n defaultOpen: defaultOpen,\n onOpenChange: onOpenChange,\n isEntering: isEntering,\n isExiting: isExiting,\n UNSTABLE_portalContainer: UNSTABLE_portalContainer,\n shouldCloseOnInteractOutside: shouldCloseOnInteractOutside\n }, /*#__PURE__*/ (0, $daTMi$react).createElement($f3f84453ead64de5$var$ModalContent, {\n ...otherProps,\n modalRef: ref\n }, children));\n});\nfunction $f3f84453ead64de5$var$ModalOverlayWithForwardRef(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $f3f84453ead64de5$export$ab57792b9b6974a6);\n let contextState = (0, $daTMi$useContext)((0, $de32f1b87079253c$export$d2f961adcb0afbe));\n let localState = (0, $daTMi$useOverlayTriggerState)(props);\n let state = props.isOpen != null || props.defaultOpen != null || !contextState ? localState : contextState;\n if (state === contextState) {\n if (process.env.NODE_ENV !== 'production' && (props.onOpenChange || props.defaultOpen !== undefined || props.isOpen !== undefined)) console.warn('This modals state is controlled by a trigger, place onOpenChange on the trigger instead.');\n }\n let objectRef = (0, $daTMi$useObjectRef)(ref);\n let modalRef = (0, $daTMi$useRef)(null);\n let isOverlayExiting = (0, $daTMi$useExitAnimation)(objectRef, state.isOpen);\n let isModalExiting = (0, $daTMi$useExitAnimation)(modalRef, state.isOpen);\n let isExiting = isOverlayExiting || isModalExiting || props.isExiting || false;\n let isSSR = (0, $daTMi$useIsSSR)();\n if (!state.isOpen && !isExiting || isSSR) return null;\n return /*#__PURE__*/ (0, $daTMi$react).createElement($f3f84453ead64de5$var$ModalOverlayInner, {\n ...props,\n state: state,\n isExiting: isExiting,\n overlayRef: objectRef,\n modalRef: modalRef\n });\n}\nconst $f3f84453ead64de5$export$8948f78d83984c69 = /*#__PURE__*/ (0, $daTMi$forwardRef)($f3f84453ead64de5$var$ModalOverlayWithForwardRef);\nfunction $f3f84453ead64de5$var$ModalOverlayInner({ UNSTABLE_portalContainer: UNSTABLE_portalContainer, ...props }) {\n let modalRef = props.modalRef;\n let { state: state } = props;\n let { modalProps: modalProps, underlayProps: underlayProps } = (0, $daTMi$useModalOverlay)(props, state, modalRef);\n let entering = (0, $daTMi$useEnterAnimation)(props.overlayRef) || props.isEntering || false;\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-ModalOverlay',\n values: {\n isEntering: entering,\n isExiting: props.isExiting,\n state: state\n }\n });\n let viewport = (0, $daTMi$useViewportSize)();\n let pageHeight = undefined;\n if (typeof document !== 'undefined') {\n let scrollingElement = (0, $daTMi$isScrollable)(document.body) ? document.body : document.scrollingElement || document.documentElement;\n // Prevent Firefox from adding scrollbars when the page has a fractional height.\n let fractionalHeightDifference = scrollingElement.getBoundingClientRect().height % 1;\n pageHeight = scrollingElement.scrollHeight - fractionalHeightDifference;\n }\n let style = {\n ...renderProps.style,\n '--visual-viewport-height': viewport.height + 'px',\n '--page-height': pageHeight !== undefined ? pageHeight + 'px' : undefined\n };\n return /*#__PURE__*/ (0, $daTMi$react).createElement((0, $daTMi$Overlay), {\n isExiting: props.isExiting,\n portalContainer: UNSTABLE_portalContainer\n }, /*#__PURE__*/ (0, $daTMi$react).createElement(\"div\", {\n ...(0, $daTMi$mergeProps)((0, $daTMi$filterDOMProps)(props, {\n global: true\n }), underlayProps),\n ...renderProps,\n style: style,\n ref: props.overlayRef,\n \"data-entering\": entering || undefined,\n \"data-exiting\": props.isExiting || undefined\n }, /*#__PURE__*/ (0, $daTMi$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $f3f84453ead64de5$var$InternalModalContext,\n {\n modalProps: modalProps,\n modalRef: modalRef,\n isExiting: props.isExiting,\n isDismissable: props.isDismissable\n }\n ],\n [\n (0, $de32f1b87079253c$export$d2f961adcb0afbe),\n state\n ]\n ]\n }, renderProps.children)));\n}\nfunction $f3f84453ead64de5$var$ModalContent(props) {\n let { modalProps: modalProps, modalRef: modalRef, isExiting: isExiting, isDismissable: isDismissable } = (0, $daTMi$useContext)($f3f84453ead64de5$var$InternalModalContext);\n let state = (0, $daTMi$useContext)((0, $de32f1b87079253c$export$d2f961adcb0afbe));\n let mergedRefs = (0, $daTMi$useMemo)(()=>(0, $daTMi$mergeRefs)(props.modalRef, modalRef), [\n props.modalRef,\n modalRef\n ]);\n let ref = (0, $daTMi$useObjectRef)(mergedRefs);\n let entering = (0, $daTMi$useEnterAnimation)(ref);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-Modal',\n values: {\n isEntering: entering,\n isExiting: isExiting,\n state: state\n }\n });\n return /*#__PURE__*/ (0, $daTMi$react).createElement(\"div\", {\n ...(0, $daTMi$mergeProps)((0, $daTMi$filterDOMProps)(props, {\n global: true\n }), modalProps),\n ...renderProps,\n ref: ref,\n \"data-entering\": entering || undefined,\n \"data-exiting\": isExiting || undefined\n }, isDismissable && /*#__PURE__*/ (0, $daTMi$react).createElement((0, $daTMi$DismissButton), {\n onDismiss: state.close\n }), renderProps.children);\n}\n\n\nexport {$f3f84453ead64de5$export$ab57792b9b6974a6 as ModalContext, $f3f84453ead64de5$export$2b77a92f1a5ad772 as Modal, $f3f84453ead64de5$export$8948f78d83984c69 as ModalOverlay};\n//# sourceMappingURL=Modal.module.js.map\n"],"names":["$5df64b3807dc15ee$var$visualViewport","$5df64b3807dc15ee$export$d699905dd57c73ca","isSSR","$fuDHA$useIsSSR","size","setSize","$fuDHA$useState","$5df64b3807dc15ee$var$getViewportSize","$fuDHA$useEffect","onResize","newSize","frame","onBlur","e","$21f1aa98acb08317$export$c57958e35f31ed73","$8ac8429251c45e4b$export$dbc0f175b25fb0fb","props","state","ref","overlayProps","underlayProps","$a11501f3d1d39e6c$export$ea8f71083e90600f","$49c51c25361d4cd2$export$ee0f7cc6afcd1c18","$337b884510726a0d$export$14c98a7594375490","$7Dhkr$useEffect","$5e3802645cc19319$export$1c3ebcada18427bf","$7Dhkr$mergeProps","$f3f84453ead64de5$export$ab57792b9b6974a6","$daTMi$createContext","$f3f84453ead64de5$var$InternalModalContext","$f3f84453ead64de5$export$2b77a92f1a5ad772","$daTMi$forwardRef","$daTMi$useContext","invalidSet","invalidProps","key","$daTMi$react","$f3f84453ead64de5$var$ModalContent","isDismissable","isKeyboardDismissDisabled","isOpen","defaultOpen","onOpenChange","children","isEntering","isExiting","UNSTABLE_portalContainer","shouldCloseOnInteractOutside","otherProps","$f3f84453ead64de5$export$8948f78d83984c69","$f3f84453ead64de5$var$ModalOverlayWithForwardRef","$64fa3d84918910a7$export$29f1550f4b0d4415","contextState","$de32f1b87079253c$export$d2f961adcb0afbe","localState","$daTMi$useOverlayTriggerState","objectRef","$daTMi$useObjectRef","modalRef","$daTMi$useRef","isOverlayExiting","$daTMi$useExitAnimation","isModalExiting","$daTMi$useIsSSR","$f3f84453ead64de5$var$ModalOverlayInner","modalProps","$daTMi$useModalOverlay","entering","$daTMi$useEnterAnimation","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","viewport","$daTMi$useViewportSize","pageHeight","scrollingElement","$daTMi$isScrollable","fractionalHeightDifference","style","$daTMi$Overlay","$daTMi$mergeProps","$daTMi$filterDOMProps","$64fa3d84918910a7$export$2881499e37b75b9a","mergedRefs","$daTMi$useMemo","$daTMi$mergeRefs","$daTMi$DismissButton"],"mappings":";;;;;;;;;;AAiBA,IAAIA,IAAuC,OAAO,WAAa,OAAe,OAAO;AACrF,SAASC,IAA4C;AACjD,MAAIC,IAAYC,EAAe,GAC3B,CAACC,GAAMC,CAAO,IAAQC,EAAiB,MAAIJ,IAAQ;AAAA,IAC/C,OAAO;AAAA,IACP,QAAQ;AAAA,EACpB,IAAYK,EAAqC,CAAE;AAC/C,SAAIC,EAAkB,MAAI;AAEtB,QAAIC,IAAW,MAAI;AAEf,MAAIT,KAAwCA,EAAqC,QAAQ,KACzFK,EAAQ,CAACD,MAAO;AACZ,YAAIM,IAAUH,EAAqC;AACnD,eAAIG,EAAQ,UAAUN,EAAK,SAASM,EAAQ,WAAWN,EAAK,SAAeA,IACpEM;AAAA,MACX,CAAC;AAAA,IACL,GAGIC,GACAC,IAAS,CAACC,MAAI;AACd,MAAIb,KAAwCA,EAAqC,QAAQ,KACjFc,EAA2CD,EAAE,MAAM,MAC3DF,IAAQ,sBAAsB,MAAI;AAC9B,SAAI,CAAC,SAAS,iBAAiB,CAAKG,EAA2C,SAAS,aAAa,MAAGT,EAAQ,CAACD,MAAO;AACpH,cAAIM,IAAU;AAA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AAU,WAAWb,GAAW,eAAeP,EAAa,IAASN,EAAmBH,CAA0C,GACtKZ,IAAYe,EAAuBqB,CAAwC,GAC3E6B,IAAiBC,EAAgB,MAAQC,EAAkBpE,EAAM,UAAU0C,CAAQ,GAAG;AAAA,IACtF1C,EAAM;AAAA,IACN0C;AAAA,EACR,CAAK,GACGxC,IAAUuC,EAAqByB,CAAU,GACzCf,IAAeC,EAA0BlD,CAAG,GAC5CmD,IAAkBC,EAAyC;AAAA,IAC3D,GAAGtD;AAAA,IACH,kBAAkB;AAAA,IAClB,QAAQ;AAAA,MACJ,YAAYmD;AAAA,MACZ,WAAWtB;AAAA,MACX,OAAO5B;AAAA,IACnB;AAAA,EACA,CAAK;AACD,SAAyBmB,gBAAAA,EAAc,cAAc,OAAO;AAAA,IACxD,GAAO2C,EAAuBC,EAAuBhE,GAAO;AAAA,MACxD,QAAQ;AAAA,IACpB,CAAS,GAAGiD,CAAU;AAAA,IACd,GAAGI;AAAA,IACH,KAAKnD;AAAA,IACL,iBAAiBiD,KAAY;AAAA,IAC7B,gBAAgBtB,KAAa;AAAA,EACrC,GAAOP,KAAmCF,gBAAAA,EAAc,cAAkBiD,GAAuB;AAAA,IACzF,WAAWpE,EAAM;AAAA,EACzB,CAAK,GAAGoD,EAAY,QAAQ;AAC5B;","x_google_ignoreList":[0,1,2]}
|
|
1
|
+
{"version":3,"file":"Modal-DZrVgGsJ.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/useViewportSize.mjs","../../../../node_modules/.pnpm/@react-aria+overlays@3.30.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/overlays/dist/useModalOverlay.mjs","../../../../node_modules/.pnpm/react-aria-components@1.13.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/Modal.mjs"],"sourcesContent":["import {willOpenKeyboard as $21f1aa98acb08317$export$c57958e35f31ed73} from \"./keyboard.mjs\";\nimport {useState as $fuDHA$useState, useEffect as $fuDHA$useEffect} from \"react\";\nimport {useIsSSR as $fuDHA$useIsSSR} from \"@react-aria/ssr\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nlet $5df64b3807dc15ee$var$visualViewport = typeof document !== 'undefined' && window.visualViewport;\nfunction $5df64b3807dc15ee$export$d699905dd57c73ca() {\n let isSSR = (0, $fuDHA$useIsSSR)();\n let [size, setSize] = (0, $fuDHA$useState)(()=>isSSR ? {\n width: 0,\n height: 0\n } : $5df64b3807dc15ee$var$getViewportSize());\n (0, $fuDHA$useEffect)(()=>{\n // Use visualViewport api to track available height even on iOS virtual keyboard opening\n let onResize = ()=>{\n // Ignore updates when zoomed.\n if ($5df64b3807dc15ee$var$visualViewport && $5df64b3807dc15ee$var$visualViewport.scale > 1) return;\n setSize((size)=>{\n let newSize = $5df64b3807dc15ee$var$getViewportSize();\n if (newSize.width === size.width && newSize.height === size.height) return size;\n return newSize;\n });\n };\n // When closing the keyboard, iOS does not fire the visual viewport resize event until the animation is complete.\n // We can anticipate this and resize early by handling the blur event and using the layout size.\n let frame;\n let onBlur = (e)=>{\n if ($5df64b3807dc15ee$var$visualViewport && $5df64b3807dc15ee$var$visualViewport.scale > 1) return;\n if ((0, $21f1aa98acb08317$export$c57958e35f31ed73)(e.target)) // Wait one frame to see if a new element gets focused.\n frame = requestAnimationFrame(()=>{\n if (!document.activeElement || !(0, $21f1aa98acb08317$export$c57958e35f31ed73)(document.activeElement)) setSize((size)=>{\n let newSize = {\n width: window.innerWidth,\n height: window.innerHeight\n };\n if (newSize.width === size.width && newSize.height === size.height) return size;\n return newSize;\n });\n });\n };\n window.addEventListener('blur', onBlur, true);\n if (!$5df64b3807dc15ee$var$visualViewport) window.addEventListener('resize', onResize);\n else $5df64b3807dc15ee$var$visualViewport.addEventListener('resize', onResize);\n return ()=>{\n cancelAnimationFrame(frame);\n window.removeEventListener('blur', onBlur, true);\n if (!$5df64b3807dc15ee$var$visualViewport) window.removeEventListener('resize', onResize);\n else $5df64b3807dc15ee$var$visualViewport.removeEventListener('resize', onResize);\n };\n }, []);\n return size;\n}\nfunction $5df64b3807dc15ee$var$getViewportSize() {\n return {\n // Multiply by the visualViewport scale to get the \"natural\" size, unaffected by pinch zooming.\n width: $5df64b3807dc15ee$var$visualViewport ? $5df64b3807dc15ee$var$visualViewport.width * $5df64b3807dc15ee$var$visualViewport.scale : window.innerWidth,\n height: $5df64b3807dc15ee$var$visualViewport ? $5df64b3807dc15ee$var$visualViewport.height * $5df64b3807dc15ee$var$visualViewport.scale : window.innerHeight\n };\n}\n\n\nexport {$5df64b3807dc15ee$export$d699905dd57c73ca as useViewportSize};\n//# sourceMappingURL=useViewportSize.module.js.map\n","import {ariaHideOutside as $5e3802645cc19319$export$1c3ebcada18427bf} from \"./ariaHideOutside.mjs\";\nimport {useOverlay as $a11501f3d1d39e6c$export$ea8f71083e90600f} from \"./useOverlay.mjs\";\nimport {useOverlayFocusContain as $337b884510726a0d$export$14c98a7594375490} from \"./Overlay.mjs\";\nimport {usePreventScroll as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18} from \"./usePreventScroll.mjs\";\nimport {mergeProps as $7Dhkr$mergeProps} from \"@react-aria/utils\";\nimport {useEffect as $7Dhkr$useEffect} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\nfunction $8ac8429251c45e4b$export$dbc0f175b25fb0fb(props, state, ref) {\n let { overlayProps: overlayProps, underlayProps: underlayProps } = (0, $a11501f3d1d39e6c$export$ea8f71083e90600f)({\n ...props,\n isOpen: state.isOpen,\n onClose: state.close\n }, ref);\n (0, $49c51c25361d4cd2$export$ee0f7cc6afcd1c18)({\n isDisabled: !state.isOpen\n });\n (0, $337b884510726a0d$export$14c98a7594375490)();\n (0, $7Dhkr$useEffect)(()=>{\n if (state.isOpen && ref.current) return (0, $5e3802645cc19319$export$1c3ebcada18427bf)([\n ref.current\n ], {\n shouldUseInert: true\n });\n }, [\n state.isOpen,\n ref\n ]);\n return {\n modalProps: (0, $7Dhkr$mergeProps)(overlayProps),\n underlayProps: underlayProps\n };\n}\n\n\nexport {$8ac8429251c45e4b$export$dbc0f175b25fb0fb as useModalOverlay};\n//# sourceMappingURL=useModalOverlay.module.js.map\n","import {Provider as $64fa3d84918910a7$export$2881499e37b75b9a, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {OverlayTriggerStateContext as $de32f1b87079253c$export$d2f961adcb0afbe} from \"./Dialog.mjs\";\nimport {useIsSSR as $daTMi$useIsSSR, useModalOverlay as $daTMi$useModalOverlay, Overlay as $daTMi$Overlay, DismissButton as $daTMi$DismissButton} from \"react-aria\";\nimport {useObjectRef as $daTMi$useObjectRef, useExitAnimation as $daTMi$useExitAnimation, useEnterAnimation as $daTMi$useEnterAnimation, useViewportSize as $daTMi$useViewportSize, isScrollable as $daTMi$isScrollable, mergeProps as $daTMi$mergeProps, filterDOMProps as $daTMi$filterDOMProps, mergeRefs as $daTMi$mergeRefs} from \"@react-aria/utils\";\nimport {useOverlayTriggerState as $daTMi$useOverlayTriggerState} from \"react-stately\";\nimport $daTMi$react, {createContext as $daTMi$createContext, forwardRef as $daTMi$forwardRef, useContext as $daTMi$useContext, useRef as $daTMi$useRef, useMemo as $daTMi$useMemo} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\nconst $f3f84453ead64de5$export$ab57792b9b6974a6 = /*#__PURE__*/ (0, $daTMi$createContext)(null);\nconst $f3f84453ead64de5$var$InternalModalContext = /*#__PURE__*/ (0, $daTMi$createContext)(null);\nconst $f3f84453ead64de5$export$2b77a92f1a5ad772 = /*#__PURE__*/ (0, $daTMi$forwardRef)(function Modal(props, ref) {\n let ctx = (0, $daTMi$useContext)($f3f84453ead64de5$var$InternalModalContext);\n if (ctx) {\n if (process.env.NODE_ENV !== 'production' && (props.onOpenChange || props.defaultOpen !== undefined || props.isOpen !== undefined)) {\n // create a list of props that are passed in but not allowed when using an external ModalOverlay\n const invalidSet = new Set([\n 'isDismissable',\n 'isKeyboardDismissDisabled',\n 'isOpen',\n 'defaultOpen',\n 'onOpenChange',\n 'isEntering',\n 'isExiting',\n 'UNSTABLE_portalContainer',\n 'shouldCloseOnInteractOutside'\n ]);\n const invalidProps = Object.keys(props).filter((key)=>invalidSet.has(key));\n console.warn(`This modal is already wrapped in a ModalOverlay, props [${invalidProps.join(', ')}] should be placed on the ModalOverlay instead.`);\n }\n return /*#__PURE__*/ (0, $daTMi$react).createElement($f3f84453ead64de5$var$ModalContent, {\n ...props,\n modalRef: ref\n }, props.children);\n }\n let { isDismissable: isDismissable, isKeyboardDismissDisabled: isKeyboardDismissDisabled, isOpen: isOpen, defaultOpen: defaultOpen, onOpenChange: onOpenChange, children: children, isEntering: isEntering, isExiting: isExiting, UNSTABLE_portalContainer: UNSTABLE_portalContainer, shouldCloseOnInteractOutside: shouldCloseOnInteractOutside, ...otherProps } = props;\n return /*#__PURE__*/ (0, $daTMi$react).createElement($f3f84453ead64de5$export$8948f78d83984c69, {\n isDismissable: isDismissable,\n isKeyboardDismissDisabled: isKeyboardDismissDisabled,\n isOpen: isOpen,\n defaultOpen: defaultOpen,\n onOpenChange: onOpenChange,\n isEntering: isEntering,\n isExiting: isExiting,\n UNSTABLE_portalContainer: UNSTABLE_portalContainer,\n shouldCloseOnInteractOutside: shouldCloseOnInteractOutside\n }, /*#__PURE__*/ (0, $daTMi$react).createElement($f3f84453ead64de5$var$ModalContent, {\n ...otherProps,\n modalRef: ref\n }, children));\n});\nfunction $f3f84453ead64de5$var$ModalOverlayWithForwardRef(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $f3f84453ead64de5$export$ab57792b9b6974a6);\n let contextState = (0, $daTMi$useContext)((0, $de32f1b87079253c$export$d2f961adcb0afbe));\n let localState = (0, $daTMi$useOverlayTriggerState)(props);\n let state = props.isOpen != null || props.defaultOpen != null || !contextState ? localState : contextState;\n if (state === contextState) {\n if (process.env.NODE_ENV !== 'production' && (props.onOpenChange || props.defaultOpen !== undefined || props.isOpen !== undefined)) console.warn('This modals state is controlled by a trigger, place onOpenChange on the trigger instead.');\n }\n let objectRef = (0, $daTMi$useObjectRef)(ref);\n let modalRef = (0, $daTMi$useRef)(null);\n let isOverlayExiting = (0, $daTMi$useExitAnimation)(objectRef, state.isOpen);\n let isModalExiting = (0, $daTMi$useExitAnimation)(modalRef, state.isOpen);\n let isExiting = isOverlayExiting || isModalExiting || props.isExiting || false;\n let isSSR = (0, $daTMi$useIsSSR)();\n if (!state.isOpen && !isExiting || isSSR) return null;\n return /*#__PURE__*/ (0, $daTMi$react).createElement($f3f84453ead64de5$var$ModalOverlayInner, {\n ...props,\n state: state,\n isExiting: isExiting,\n overlayRef: objectRef,\n modalRef: modalRef\n });\n}\nconst $f3f84453ead64de5$export$8948f78d83984c69 = /*#__PURE__*/ (0, $daTMi$forwardRef)($f3f84453ead64de5$var$ModalOverlayWithForwardRef);\nfunction $f3f84453ead64de5$var$ModalOverlayInner({ UNSTABLE_portalContainer: UNSTABLE_portalContainer, ...props }) {\n let modalRef = props.modalRef;\n let { state: state } = props;\n let { modalProps: modalProps, underlayProps: underlayProps } = (0, $daTMi$useModalOverlay)(props, state, modalRef);\n let entering = (0, $daTMi$useEnterAnimation)(props.overlayRef) || props.isEntering || false;\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-ModalOverlay',\n values: {\n isEntering: entering,\n isExiting: props.isExiting,\n state: state\n }\n });\n let viewport = (0, $daTMi$useViewportSize)();\n let pageHeight = undefined;\n if (typeof document !== 'undefined') {\n let scrollingElement = (0, $daTMi$isScrollable)(document.body) ? document.body : document.scrollingElement || document.documentElement;\n // Prevent Firefox from adding scrollbars when the page has a fractional height.\n let fractionalHeightDifference = scrollingElement.getBoundingClientRect().height % 1;\n pageHeight = scrollingElement.scrollHeight - fractionalHeightDifference;\n }\n let style = {\n ...renderProps.style,\n '--visual-viewport-height': viewport.height + 'px',\n '--page-height': pageHeight !== undefined ? pageHeight + 'px' : undefined\n };\n return /*#__PURE__*/ (0, $daTMi$react).createElement((0, $daTMi$Overlay), {\n isExiting: props.isExiting,\n portalContainer: UNSTABLE_portalContainer\n }, /*#__PURE__*/ (0, $daTMi$react).createElement(\"div\", {\n ...(0, $daTMi$mergeProps)((0, $daTMi$filterDOMProps)(props, {\n global: true\n }), underlayProps),\n ...renderProps,\n style: style,\n ref: props.overlayRef,\n \"data-entering\": entering || undefined,\n \"data-exiting\": props.isExiting || undefined\n }, /*#__PURE__*/ (0, $daTMi$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $f3f84453ead64de5$var$InternalModalContext,\n {\n modalProps: modalProps,\n modalRef: modalRef,\n isExiting: props.isExiting,\n isDismissable: props.isDismissable\n }\n ],\n [\n (0, $de32f1b87079253c$export$d2f961adcb0afbe),\n state\n ]\n ]\n }, renderProps.children)));\n}\nfunction $f3f84453ead64de5$var$ModalContent(props) {\n let { modalProps: modalProps, modalRef: modalRef, isExiting: isExiting, isDismissable: isDismissable } = (0, $daTMi$useContext)($f3f84453ead64de5$var$InternalModalContext);\n let state = (0, $daTMi$useContext)((0, $de32f1b87079253c$export$d2f961adcb0afbe));\n let mergedRefs = (0, $daTMi$useMemo)(()=>(0, $daTMi$mergeRefs)(props.modalRef, modalRef), [\n props.modalRef,\n modalRef\n ]);\n let ref = (0, $daTMi$useObjectRef)(mergedRefs);\n let entering = (0, $daTMi$useEnterAnimation)(ref);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-Modal',\n values: {\n isEntering: entering,\n isExiting: isExiting,\n state: state\n }\n });\n return /*#__PURE__*/ (0, $daTMi$react).createElement(\"div\", {\n ...(0, $daTMi$mergeProps)((0, $daTMi$filterDOMProps)(props, {\n global: true\n }), modalProps),\n ...renderProps,\n ref: ref,\n \"data-entering\": entering || undefined,\n \"data-exiting\": isExiting || undefined\n }, isDismissable && /*#__PURE__*/ (0, $daTMi$react).createElement((0, $daTMi$DismissButton), {\n onDismiss: state.close\n }), renderProps.children);\n}\n\n\nexport {$f3f84453ead64de5$export$ab57792b9b6974a6 as ModalContext, $f3f84453ead64de5$export$2b77a92f1a5ad772 as Modal, $f3f84453ead64de5$export$8948f78d83984c69 as ModalOverlay};\n//# sourceMappingURL=Modal.module.js.map\n"],"names":["$5df64b3807dc15ee$var$visualViewport","$5df64b3807dc15ee$export$d699905dd57c73ca","isSSR","$fuDHA$useIsSSR","size","setSize","$fuDHA$useState","$5df64b3807dc15ee$var$getViewportSize","$fuDHA$useEffect","onResize","newSize","frame","onBlur","e","$21f1aa98acb08317$export$c57958e35f31ed73","$8ac8429251c45e4b$export$dbc0f175b25fb0fb","props","state","ref","overlayProps","underlayProps","$a11501f3d1d39e6c$export$ea8f71083e90600f","$49c51c25361d4cd2$export$ee0f7cc6afcd1c18","$337b884510726a0d$export$14c98a7594375490","$7Dhkr$useEffect","$5e3802645cc19319$export$1c3ebcada18427bf","$7Dhkr$mergeProps","$f3f84453ead64de5$export$ab57792b9b6974a6","$daTMi$createContext","$f3f84453ead64de5$var$InternalModalContext","$f3f84453ead64de5$export$2b77a92f1a5ad772","$daTMi$forwardRef","$daTMi$useContext","invalidSet","invalidProps","key","$daTMi$react","$f3f84453ead64de5$var$ModalContent","isDismissable","isKeyboardDismissDisabled","isOpen","defaultOpen","onOpenChange","children","isEntering","isExiting","UNSTABLE_portalContainer","shouldCloseOnInteractOutside","otherProps","$f3f84453ead64de5$export$8948f78d83984c69","$f3f84453ead64de5$var$ModalOverlayWithForwardRef","$64fa3d84918910a7$export$29f1550f4b0d4415","contextState","$de32f1b87079253c$export$d2f961adcb0afbe","localState","$daTMi$useOverlayTriggerState","objectRef","$daTMi$useObjectRef","modalRef","$daTMi$useRef","isOverlayExiting","$daTMi$useExitAnimation","isModalExiting","$daTMi$useIsSSR","$f3f84453ead64de5$var$ModalOverlayInner","modalProps","$daTMi$useModalOverlay","entering","$daTMi$useEnterAnimation","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","viewport","$daTMi$useViewportSize","pageHeight","scrollingElement","$daTMi$isScrollable","fractionalHeightDifference","style","$daTMi$Overlay","$daTMi$mergeProps","$daTMi$filterDOMProps","$64fa3d84918910a7$export$2881499e37b75b9a","mergedRefs","$daTMi$useMemo","$daTMi$mergeRefs","$daTMi$DismissButton"],"mappings":";;;;;;;;;;AAiBA,IAAIA,IAAuC,OAAO,WAAa,OAAe,OAAO;AACrF,SAASC,IAA4C;AACjD,MAAIC,IAAYC,EAA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