@consumidor-positivo/aurora 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Alert/index.es.js +1 -1
- package/dist/components/BadgeInfo/index.es.js +1 -1
- package/dist/components/BadgeState/index.es.js +1 -1
- package/dist/components/Calendar/index.es.js +2 -2
- package/dist/components/CalendarHeader/index.es.js +2 -2
- package/dist/components/Checkbox/index.es.js +1 -1
- package/dist/components/Datepicker/index.es.js +3 -3
- package/dist/components/PortalHolder/index.es.js +1 -1
- package/dist/components/Segment/index.es.js +1 -1
- package/dist/components/SelectField/index.es.js +1 -1
- package/dist/components/Tag/index.d.ts +5 -0
- package/dist/components/Tag/index.es.js +1 -1
- package/dist/components/Tag/index.es.js.map +1 -1
- package/dist/{index-BvQw_Wgb.js → index-BmRuA8Rb.js} +2 -2
- package/dist/{index-BvQw_Wgb.js.map → index-BmRuA8Rb.js.map} +1 -1
- package/dist/{index-vsYzka4t.js → index-DO2dHApF.js} +2 -2
- package/dist/{index-vsYzka4t.js.map → index-DO2dHApF.js.map} +1 -1
- package/dist/{index-NIxlEyxx.js → index-DRMgbgZb.js} +3 -3
- package/dist/{index-NIxlEyxx.js.map → index-DRMgbgZb.js.map} +1 -1
- package/dist/main.d.ts +1 -0
- package/dist/main.es.js +3 -1
- package/dist/main.es.js.map +1 -1
- package/dist/mixins.scss +11 -11
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-vsYzka4t.js","sources":["../node_modules/react-aria/dist/private/utils/chain.mjs","../node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs","../node_modules/react-aria/dist/private/ssr/SSRProvider.mjs","../node_modules/react-aria/dist/private/utils/useValueEffect.mjs","../node_modules/react-aria/dist/private/utils/useId.mjs","../node_modules/react-aria/dist/private/utils/mergeRefs.mjs","../node_modules/clsx/dist/clsx.mjs","../node_modules/react-aria/dist/private/utils/mergeProps.mjs","../node_modules/react-aria/dist/private/utils/useObjectRef.mjs","../node_modules/react-aria-components/dist/private/utils.mjs","../node_modules/react-aria/dist/private/utils/domHelpers.mjs","../node_modules/react-stately/dist/private/flags/flags.mjs","../node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs","../node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs","../node_modules/react-aria/dist/private/utils/isElementVisible.mjs","../node_modules/react-aria/dist/private/utils/isFocusable.mjs","../node_modules/react-aria/dist/private/interactions/utils.mjs","../node_modules/react-aria/dist/private/utils/platform.mjs","../node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs","../node_modules/react-aria/dist/private/utils/openLink.mjs","../node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs","../node_modules/react-aria/dist/private/utils/useEffectEvent.mjs","../node_modules/react-aria/dist/private/utils/useLabels.mjs","../node_modules/react-aria/dist/private/i18n/utils.mjs","../node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs","../node_modules/react-aria/dist/private/i18n/I18nProvider.mjs","../node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs","../node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs","../node_modules/react-aria/dist/private/i18n/useLocalizedStringFormatter.mjs","../node_modules/react-stately/dist/private/utils/useControlledState.mjs","../node_modules/react-aria/dist/private/utils/runAfterTransition.mjs","../node_modules/react-aria/dist/private/interactions/useFocus.mjs","../node_modules/react-aria/dist/private/utils/useSyncRef.mjs","../node_modules/react-aria/dist/private/utils/filterDOMProps.mjs","../node_modules/react-aria/dist/private/interactions/textSelection.mjs","../node_modules/react-aria/dist/private/utils/getNonce.mjs","../node_modules/react-aria/dist/private/interactions/context.mjs","../node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs","../node_modules/react-aria/dist/private/interactions/usePress.mjs","../node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs","../node_modules/react-aria/dist/private/focus/useFocusRing.mjs","../node_modules/react-aria/dist/private/interactions/useHover.mjs","../node_modules/react-aria/dist/private/live-announcer/LiveAnnouncer.mjs","../node_modules/react-aria-components/dist/private/Button.mjs","../node_modules/react-aria-components/dist/private/Heading.mjs","../node_modules/react-aria-components/dist/private/Text.mjs","../node_modules/react-aria/dist/private/intl/calendar/ar-AE.mjs","../node_modules/react-aria/dist/private/intl/calendar/bg-BG.mjs","../node_modules/react-aria/dist/private/intl/calendar/cs-CZ.mjs","../node_modules/react-aria/dist/private/intl/calendar/da-DK.mjs","../node_modules/react-aria/dist/private/intl/calendar/de-DE.mjs","../node_modules/react-aria/dist/private/intl/calendar/el-GR.mjs","../node_modules/react-aria/dist/private/intl/calendar/en-US.mjs","../node_modules/react-aria/dist/private/intl/calendar/es-ES.mjs","../node_modules/react-aria/dist/private/intl/calendar/et-EE.mjs","../node_modules/react-aria/dist/private/intl/calendar/fi-FI.mjs","../node_modules/react-aria/dist/private/intl/calendar/fr-FR.mjs","../node_modules/react-aria/dist/private/intl/calendar/he-IL.mjs","../node_modules/react-aria/dist/private/intl/calendar/hr-HR.mjs","../node_modules/react-aria/dist/private/intl/calendar/hu-HU.mjs","../node_modules/react-aria/dist/private/intl/calendar/it-IT.mjs","../node_modules/react-aria/dist/private/intl/calendar/ja-JP.mjs","../node_modules/react-aria/dist/private/intl/calendar/ko-KR.mjs","../node_modules/react-aria/dist/private/intl/calendar/lt-LT.mjs","../node_modules/react-aria/dist/private/intl/calendar/lv-LV.mjs","../node_modules/react-aria/dist/private/intl/calendar/nb-NO.mjs","../node_modules/react-aria/dist/private/intl/calendar/nl-NL.mjs","../node_modules/react-aria/dist/private/intl/calendar/pl-PL.mjs","../node_modules/react-aria/dist/private/intl/calendar/pt-BR.mjs","../node_modules/react-aria/dist/private/intl/calendar/pt-PT.mjs","../node_modules/react-aria/dist/private/intl/calendar/ro-RO.mjs","../node_modules/react-aria/dist/private/intl/calendar/ru-RU.mjs","../node_modules/react-aria/dist/private/intl/calendar/sk-SK.mjs","../node_modules/react-aria/dist/private/intl/calendar/sl-SI.mjs","../node_modules/react-aria/dist/private/intl/calendar/sr-SP.mjs","../node_modules/react-aria/dist/private/intl/calendar/sv-SE.mjs","../node_modules/react-aria/dist/private/intl/calendar/tr-TR.mjs","../node_modules/react-aria/dist/private/intl/calendar/uk-UA.mjs","../node_modules/react-aria/dist/private/intl/calendar/zh-CN.mjs","../node_modules/react-aria/dist/private/intl/calendar/zh-TW.mjs","../node_modules/react-aria/dist/private/calendar/intlStrings.mjs","../node_modules/react-aria/dist/private/utils/useDeepMemo.mjs","../node_modules/@internationalized/date/dist/private/utils.mjs","../node_modules/@internationalized/date/dist/private/calendars/GregorianCalendar.mjs","../node_modules/@internationalized/date/dist/private/weekStartData.mjs","../node_modules/@internationalized/date/dist/private/queries.mjs","../node_modules/@internationalized/date/dist/private/conversion.mjs","../node_modules/@internationalized/date/dist/private/manipulation.mjs","../node_modules/@internationalized/date/dist/private/string.mjs","../node_modules/@internationalized/date/dist/private/CalendarDate.mjs","../node_modules/@internationalized/date/dist/private/calendars/JapaneseCalendar.mjs","../node_modules/@internationalized/date/dist/private/calendars/BuddhistCalendar.mjs","../node_modules/@internationalized/date/dist/private/calendars/TaiwanCalendar.mjs","../node_modules/@internationalized/date/dist/private/calendars/PersianCalendar.mjs","../node_modules/@internationalized/date/dist/private/calendars/IndianCalendar.mjs","../node_modules/@internationalized/date/dist/private/calendars/IslamicCalendar.mjs","../node_modules/@internationalized/date/dist/private/calendars/HebrewCalendar.mjs","../node_modules/@internationalized/date/dist/private/calendars/EthiopicCalendar.mjs","../node_modules/@internationalized/date/dist/private/createCalendar.mjs","../node_modules/@internationalized/date/dist/private/DateFormatter.mjs","../node_modules/react-aria/dist/private/i18n/useDateFormatter.mjs","../node_modules/react-aria/dist/private/calendar/utils.mjs","../node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs","../node_modules/react-aria/dist/private/calendar/useCalendarBase.mjs","../node_modules/react-aria/dist/private/calendar/useCalendar.mjs","../node_modules/react-aria/dist/private/calendar/useCalendarGrid.mjs","../node_modules/react-aria/dist/private/utils/isScrollable.mjs","../node_modules/react-aria/dist/private/utils/getScrollParent.mjs","../node_modules/react-aria/dist/private/utils/getScrollParents.mjs","../node_modules/react-aria/dist/private/utils/scrollIntoView.mjs","../node_modules/react-aria/dist/private/utils/useDescription.mjs","../node_modules/react-aria/dist/private/calendar/useCalendarCell.mjs","../node_modules/react-stately/dist/private/calendar/utils.mjs","../node_modules/react-stately/dist/private/calendar/useCalendarState.mjs","../node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs","../node_modules/react-aria-components/dist/private/Calendar.mjs","../lib/components/form/Datepicker/CalendarHeader/hook.ts","../lib/components/form/Datepicker/CalendarHeader/index.tsx"],"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 */ /**\n * Calls all functions in the order they were chained with the same arguments.\n */ function $a4e76a5424781910$export$e08e3b67e392101e(...callbacks) {\n return (...args)=>{\n for (let callback of callbacks)if (typeof callback === 'function') callback(...args);\n };\n}\n\n\nexport {$a4e76a5424781910$export$e08e3b67e392101e as chain};\n//# sourceMappingURL=chain.mjs.map\n","import $3ARPR$react from \"react\";\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 */ \nconst $c4867b2f328c2698$export$e5c5a5f917a5871c = typeof document !== 'undefined' ? (0, $3ARPR$react).useLayoutEffect : ()=>{};\n\n\nexport {$c4867b2f328c2698$export$e5c5a5f917a5871c as useLayoutEffect};\n//# sourceMappingURL=useLayoutEffect.mjs.map\n","import $bl59K$react, {useContext as $bl59K$useContext, useState as $bl59K$useState, useMemo as $bl59K$useMemo, useLayoutEffect as $bl59K$useLayoutEffect, useRef as $bl59K$useRef} from \"react\";\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 */ // We must avoid a circular dependency with @react-aria/utils, and this useLayoutEffect is\n// guarded by a check that it only runs on the client side.\n// eslint-disable-next-line rulesdir/useLayoutEffectRule\n\n// Default context value to use in case there is no SSRProvider. This is fine for\n// client-only apps. In order to support multiple copies of React Aria potentially\n// being on the page at once, the prefix is set to a random number. SSRProvider\n// will reset this to zero for consistency between server and client, so in the\n// SSR case multiple copies of React Aria is not supported.\nconst $c7eafbbe1ea5834e$var$defaultContext = {\n prefix: String(Math.round(Math.random() * 10000000000)),\n current: 0\n};\nconst $c7eafbbe1ea5834e$var$SSRContext = /*#__PURE__*/ (0, $bl59K$react).createContext($c7eafbbe1ea5834e$var$defaultContext);\nconst $c7eafbbe1ea5834e$var$IsSSRContext = /*#__PURE__*/ (0, $bl59K$react).createContext(false);\n// This is only used in React < 18.\nfunction $c7eafbbe1ea5834e$var$LegacySSRProvider(props) {\n let cur = (0, $bl59K$useContext)($c7eafbbe1ea5834e$var$SSRContext);\n let counter = $c7eafbbe1ea5834e$var$useCounter(cur === $c7eafbbe1ea5834e$var$defaultContext);\n let [isSSR, setIsSSR] = (0, $bl59K$useState)(true);\n let value = (0, $bl59K$useMemo)(()=>({\n // If this is the first SSRProvider, start with an empty string prefix, otherwise\n // append and increment the counter.\n prefix: cur === $c7eafbbe1ea5834e$var$defaultContext ? '' : `${cur.prefix}-${counter}`,\n current: 0\n }), [\n cur,\n counter\n ]);\n // If on the client, and the component was initially server rendered,\n // then schedule a layout effect to update the component after hydration.\n if (typeof document !== 'undefined') // This if statement technically breaks the rules of hooks, but is safe\n // because the condition never changes after mounting.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n (0, $bl59K$useLayoutEffect)(()=>{\n setIsSSR(false);\n }, []);\n return /*#__PURE__*/ (0, $bl59K$react).createElement($c7eafbbe1ea5834e$var$SSRContext.Provider, {\n value: value\n }, /*#__PURE__*/ (0, $bl59K$react).createElement($c7eafbbe1ea5834e$var$IsSSRContext.Provider, {\n value: isSSR\n }, props.children));\n}\nlet $c7eafbbe1ea5834e$var$warnedAboutSSRProvider = false;\nfunction $c7eafbbe1ea5834e$export$9f8ac96af4b1b2ae(props) {\n if (typeof (0, $bl59K$react)['useId'] === 'function') {\n if (process.env.NODE_ENV !== 'test' && process.env.NODE_ENV !== 'production' && !$c7eafbbe1ea5834e$var$warnedAboutSSRProvider) {\n console.warn('In React 18, SSRProvider is not necessary and is a noop. You can remove it from your app.');\n $c7eafbbe1ea5834e$var$warnedAboutSSRProvider = true;\n }\n return /*#__PURE__*/ (0, $bl59K$react).createElement((0, $bl59K$react).Fragment, null, props.children);\n }\n return /*#__PURE__*/ (0, $bl59K$react).createElement($c7eafbbe1ea5834e$var$LegacySSRProvider, props);\n}\nlet $c7eafbbe1ea5834e$var$canUseDOM = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);\nlet $c7eafbbe1ea5834e$var$componentIds = new WeakMap();\nfunction $c7eafbbe1ea5834e$var$useCounter(isDisabled = false) {\n let ctx = (0, $bl59K$useContext)($c7eafbbe1ea5834e$var$SSRContext);\n let ref = (0, $bl59K$useRef)(null);\n // eslint-disable-next-line rulesdir/pure-render\n if (ref.current === null && !isDisabled) {\n // In strict mode, React renders components twice, and the ref will be reset to null on the second render.\n // This means our id counter will be incremented twice instead of once. This is a problem because on the\n // server, components are only rendered once and so ids generated on the server won't match the client.\n // In React 18, useId was introduced to solve this, but it is not available in older versions. So to solve this\n // we need to use some React internals to access the underlying Fiber instance, which is stable between renders.\n // This is exposed as ReactCurrentOwner in development, which is all we need since StrictMode only runs in development.\n // To ensure that we only increment the global counter once, we store the starting id for this component in\n // a weak map associated with the Fiber. On the second render, we reset the global counter to this value.\n // Since React runs the second render immediately after the first, this is safe.\n // @ts-ignore\n let currentOwner = (0, $bl59K$react).__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;\n if (currentOwner) {\n let prevComponentValue = $c7eafbbe1ea5834e$var$componentIds.get(currentOwner);\n if (prevComponentValue == null) // On the first render, and first call to useId, store the id and state in our weak map.\n $c7eafbbe1ea5834e$var$componentIds.set(currentOwner, {\n id: ctx.current,\n state: currentOwner.memoizedState\n });\n else if (currentOwner.memoizedState !== prevComponentValue.state) {\n // On the second render, the memoizedState gets reset by React.\n // Reset the counter, and remove from the weak map so we don't\n // do this for subsequent useId calls.\n ctx.current = prevComponentValue.id;\n $c7eafbbe1ea5834e$var$componentIds.delete(currentOwner);\n }\n }\n // eslint-disable-next-line rulesdir/pure-render\n ref.current = ++ctx.current;\n }\n // eslint-disable-next-line rulesdir/pure-render\n return ref.current;\n}\nfunction $c7eafbbe1ea5834e$var$useLegacySSRSafeId(defaultId) {\n let ctx = (0, $bl59K$useContext)($c7eafbbe1ea5834e$var$SSRContext);\n // If we are rendering in a non-DOM environment, and there's no SSRProvider,\n // provide a warning to hint to the developer to add one.\n if (ctx === $c7eafbbe1ea5834e$var$defaultContext && !$c7eafbbe1ea5834e$var$canUseDOM && process.env.NODE_ENV !== 'production') console.warn('When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.');\n let counter = $c7eafbbe1ea5834e$var$useCounter(!!defaultId);\n let prefix = ctx === $c7eafbbe1ea5834e$var$defaultContext && process.env.NODE_ENV === 'test' ? 'react-aria' : `react-aria${ctx.prefix}`;\n return defaultId || `${prefix}-${counter}`;\n}\nfunction $c7eafbbe1ea5834e$var$useModernSSRSafeId(defaultId) {\n let id = (0, $bl59K$react).useId();\n let [didSSR] = (0, $bl59K$useState)($c7eafbbe1ea5834e$export$535bd6ca7f90a273());\n let prefix = didSSR || process.env.NODE_ENV === 'test' ? 'react-aria' : `react-aria${$c7eafbbe1ea5834e$var$defaultContext.prefix}`;\n return defaultId || `${prefix}-${id}`;\n}\nconst $c7eafbbe1ea5834e$export$619500959fc48b26 = typeof (0, $bl59K$react)['useId'] === 'function' ? $c7eafbbe1ea5834e$var$useModernSSRSafeId : $c7eafbbe1ea5834e$var$useLegacySSRSafeId;\nfunction $c7eafbbe1ea5834e$var$getSnapshot() {\n return false;\n}\nfunction $c7eafbbe1ea5834e$var$getServerSnapshot() {\n return true;\n}\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $c7eafbbe1ea5834e$var$subscribe(onStoreChange) {\n // noop\n return ()=>{};\n}\nfunction $c7eafbbe1ea5834e$export$535bd6ca7f90a273() {\n // In React 18, we can use useSyncExternalStore to detect if we're server rendering or hydrating.\n if (typeof (0, $bl59K$react)['useSyncExternalStore'] === 'function') return (0, $bl59K$react)['useSyncExternalStore']($c7eafbbe1ea5834e$var$subscribe, $c7eafbbe1ea5834e$var$getSnapshot, $c7eafbbe1ea5834e$var$getServerSnapshot);\n // eslint-disable-next-line react-hooks/rules-of-hooks\n return (0, $bl59K$useContext)($c7eafbbe1ea5834e$var$IsSSRContext);\n}\n\n\nexport {$c7eafbbe1ea5834e$export$9f8ac96af4b1b2ae as SSRProvider, $c7eafbbe1ea5834e$export$535bd6ca7f90a273 as useIsSSR, $c7eafbbe1ea5834e$export$619500959fc48b26 as useSSRSafeId};\n//# sourceMappingURL=SSRProvider.mjs.map\n","import {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useState as $dPTrK$useState, useRef as $dPTrK$useRef, useCallback as $dPTrK$useCallback} from \"react\";\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\nfunction $1a716630a9e3a599$export$14d238f342723f25(defaultValue) {\n let [value, setValue] = (0, $dPTrK$useState)(defaultValue);\n // Keep an up to date copy of value in a ref so we can access the current value in the generator.\n // This allows us to maintain a stable queue function.\n let currValue = (0, $dPTrK$useRef)(value);\n let effect = (0, $dPTrK$useRef)(null);\n // Store the function in a ref so we can always access the current version\n // which has the proper `value` in scope.\n let nextRef = (0, $dPTrK$useRef)(()=>{\n if (!effect.current) return;\n // Run the generator to the next yield.\n let newValue = effect.current.next();\n // If the generator is done, reset the effect.\n if (newValue.done) {\n effect.current = null;\n return;\n }\n // If the value is the same as the current value,\n // then continue to the next yield. Otherwise,\n // set the value in state and wait for the next layout effect.\n if (currValue.current === newValue.value) nextRef.current();\n else setValue(newValue.value);\n });\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n currValue.current = value;\n // If there is an effect currently running, continue to the next yield.\n if (effect.current) nextRef.current();\n });\n let queue = (0, $dPTrK$useCallback)((fn)=>{\n effect.current = fn(currValue.current);\n nextRef.current();\n }, [\n nextRef\n ]);\n return [\n value,\n queue\n ];\n}\n\n\nexport {$1a716630a9e3a599$export$14d238f342723f25 as useValueEffect};\n//# sourceMappingURL=useValueEffect.mjs.map\n","import {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useSSRSafeId as $c7eafbbe1ea5834e$export$619500959fc48b26} from \"../ssr/SSRProvider.mjs\";\nimport {useValueEffect as $1a716630a9e3a599$export$14d238f342723f25} from \"./useValueEffect.mjs\";\nimport {useState as $4QKZm$useState, useRef as $4QKZm$useRef, useEffect as $4QKZm$useEffect, useCallback as $4QKZm$useCallback} from \"react\";\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// copied from SSRProvider.tsx to reduce exports, if needed again, consider sharing\nlet $390e54f620492c70$var$canUseDOM = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);\nlet $390e54f620492c70$export$d41a04c74483c6ef = new Map();\n// This allows us to clean up the idsUpdaterMap when the id is no longer used.\n// Map is a strong reference, so unused ids wouldn't be cleaned up otherwise.\n// This can happen in suspended components where mount/unmount is not called.\nlet $390e54f620492c70$var$registry;\nif (typeof FinalizationRegistry !== 'undefined') $390e54f620492c70$var$registry = new FinalizationRegistry((heldValue)=>{\n $390e54f620492c70$export$d41a04c74483c6ef.delete(heldValue);\n});\nfunction $390e54f620492c70$export$f680877a34711e37(defaultId) {\n let [value, setValue] = (0, $4QKZm$useState)(defaultId);\n let nextId = (0, $4QKZm$useRef)(null);\n let res = (0, $c7eafbbe1ea5834e$export$619500959fc48b26)(value);\n let cleanupRef = (0, $4QKZm$useRef)(null);\n if ($390e54f620492c70$var$registry) $390e54f620492c70$var$registry.register(cleanupRef, res);\n if ($390e54f620492c70$var$canUseDOM) {\n const cacheIdRef = $390e54f620492c70$export$d41a04c74483c6ef.get(res);\n if (cacheIdRef && !cacheIdRef.includes(nextId)) cacheIdRef.push(nextId);\n else $390e54f620492c70$export$d41a04c74483c6ef.set(res, [\n nextId\n ]);\n }\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n let r = res;\n return ()=>{\n // In Suspense, the cleanup function may be not called\n // when it is though, also remove it from the finalization registry.\n if ($390e54f620492c70$var$registry) $390e54f620492c70$var$registry.unregister(cleanupRef);\n $390e54f620492c70$export$d41a04c74483c6ef.delete(r);\n };\n }, [\n res\n ]);\n // This cannot cause an infinite loop because the ref is always cleaned up.\n // eslint-disable-next-line\n (0, $4QKZm$useEffect)(()=>{\n let newId = nextId.current;\n if (newId) setValue(newId);\n return ()=>{\n if (newId) nextId.current = null;\n };\n });\n return res;\n}\nfunction $390e54f620492c70$export$cd8c9cb68f842629(idA, idB) {\n if (idA === idB) return idA;\n let setIdsA = $390e54f620492c70$export$d41a04c74483c6ef.get(idA);\n if (setIdsA) {\n setIdsA.forEach((ref)=>ref.current = idB);\n return idB;\n }\n let setIdsB = $390e54f620492c70$export$d41a04c74483c6ef.get(idB);\n if (setIdsB) {\n setIdsB.forEach((ref)=>ref.current = idA);\n return idA;\n }\n return idB;\n}\nfunction $390e54f620492c70$export$b4cc09c592e8fdb8(depArray = []) {\n let id = $390e54f620492c70$export$f680877a34711e37();\n let [resolvedId, setResolvedId] = (0, $1a716630a9e3a599$export$14d238f342723f25)(id);\n let updateId = (0, $4QKZm$useCallback)(()=>{\n setResolvedId(function*() {\n yield id;\n yield document.getElementById(id) ? id : undefined;\n });\n }, [\n id,\n setResolvedId\n ]);\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(updateId, [\n id,\n updateId,\n ...depArray\n ]);\n return resolvedId;\n}\n\n\nexport {$390e54f620492c70$export$d41a04c74483c6ef as idsUpdaterMap, $390e54f620492c70$export$f680877a34711e37 as useId, $390e54f620492c70$export$cd8c9cb68f842629 as mergeIds, $390e54f620492c70$export$b4cc09c592e8fdb8 as useSlotId};\n//# sourceMappingURL=useId.mjs.map\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 */ function $4064df0d6f9620e1$export$c9058316764c140e(...refs) {\n if (refs.length === 1 && refs[0]) return refs[0];\n return (value)=>{\n let hasCleanup = false;\n const cleanups = refs.map((ref)=>{\n const cleanup = $4064df0d6f9620e1$var$setRef(ref, value);\n hasCleanup ||= typeof cleanup == 'function';\n return cleanup;\n });\n if (hasCleanup) return ()=>{\n cleanups.forEach((cleanup, i)=>{\n if (typeof cleanup === 'function') cleanup();\n else $4064df0d6f9620e1$var$setRef(refs[i], null);\n });\n };\n };\n}\nfunction $4064df0d6f9620e1$var$setRef(ref, value) {\n if (typeof ref === 'function') return ref(value);\n else if (ref != null) ref.current = value;\n}\n\n\nexport {$4064df0d6f9620e1$export$c9058316764c140e as mergeRefs};\n//# sourceMappingURL=mergeRefs.mjs.map\n","function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;","import {chain as $a4e76a5424781910$export$e08e3b67e392101e} from \"./chain.mjs\";\nimport {mergeIds as $390e54f620492c70$export$cd8c9cb68f842629} from \"./useId.mjs\";\nimport {mergeRefs as $4064df0d6f9620e1$export$c9058316764c140e} from \"./mergeRefs.mjs\";\nimport $aPpn7$clsx from \"clsx\";\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\nfunction $bbaa08b3cd72f041$export$9d1611c77c2fe928(...args) {\n // Start with a base clone of the first argument. This is a lot faster than starting\n // with an empty object and adding properties as we go.\n let result = {\n ...args[0]\n };\n for(let i = 1; i < args.length; i++){\n let props = args[i];\n for(let key in props){\n let a = result[key];\n let b = props[key];\n // Chain events\n if (typeof a === 'function' && typeof b === 'function' && // This is a lot faster than a regex.\n key[0] === 'o' && key[1] === 'n' && key.charCodeAt(2) >= /* 'A' */ 65 && key.charCodeAt(2) <= /* 'Z' */ 90) result[key] = (0, $a4e76a5424781910$export$e08e3b67e392101e)(a, b);\n else if ((key === 'className' || key === 'UNSAFE_className') && typeof a === 'string' && typeof b === 'string') result[key] = (0, $aPpn7$clsx)(a, b);\n else if (key === 'id' && a && b) result.id = (0, $390e54f620492c70$export$cd8c9cb68f842629)(a, b);\n else if (key === 'ref' && a && b) result.ref = (0, $4064df0d6f9620e1$export$c9058316764c140e)(a, b);\n else result[key] = b !== undefined ? b : a;\n }\n }\n return result;\n}\n\n\nexport {$bbaa08b3cd72f041$export$9d1611c77c2fe928 as mergeProps};\n//# sourceMappingURL=mergeProps.mjs.map\n","import {useRef as $i6EpZ$useRef, useCallback as $i6EpZ$useCallback, useMemo as $i6EpZ$useMemo} from \"react\";\n\n/*\n * Copyright 2021 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 $03e8ab2d84d7657a$export$4338b53315abf666(ref) {\n const objRef = (0, $i6EpZ$useRef)(null);\n const cleanupRef = (0, $i6EpZ$useRef)(undefined);\n const refEffect = (0, $i6EpZ$useCallback)((instance)=>{\n if (typeof ref === 'function') {\n const refCallback = ref;\n const refCleanup = refCallback(instance);\n return ()=>{\n if (typeof refCleanup === 'function') refCleanup();\n else refCallback(null);\n };\n } else if (ref) {\n ref.current = instance;\n return ()=>{\n ref.current = null;\n };\n }\n }, [\n ref\n ]);\n return (0, $i6EpZ$useMemo)(()=>({\n get current () {\n return objRef.current;\n },\n set current (value){\n objRef.current = value;\n if (cleanupRef.current) {\n cleanupRef.current();\n cleanupRef.current = undefined;\n }\n if (value != null) cleanupRef.current = refEffect(value);\n }\n }), [\n refEffect\n ]);\n}\n\n\nexport {$03e8ab2d84d7657a$export$4338b53315abf666 as useObjectRef};\n//# sourceMappingURL=useObjectRef.mjs.map\n","import {mergeProps as $ahdqC$mergeProps} from \"react-aria/mergeProps\";\nimport {mergeRefs as $ahdqC$mergeRefs} from \"react-aria/mergeRefs\";\nimport $ahdqC$react, {useMemo as $ahdqC$useMemo, useContext as $ahdqC$useContext, useState as $ahdqC$useState, useRef as $ahdqC$useRef, useCallback as $ahdqC$useCallback, forwardRef as $ahdqC$forwardRef} from \"react\";\nimport {useLayoutEffect as $ahdqC$useLayoutEffect} from \"react-aria/private/utils/useLayoutEffect\";\nimport {useObjectRef as $ahdqC$useObjectRef} from \"react-aria/useObjectRef\";\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\nconst $7230ffa83bc0c2cf$export$c62b8e45d58ddad9 = Symbol('default');\nfunction $7230ffa83bc0c2cf$export$2881499e37b75b9a({ values: values, children: children }) {\n for (let [Context, value] of values)// @ts-ignore\n children = /*#__PURE__*/ (0, $ahdqC$react).createElement(Context.Provider, {\n value: value\n }, children);\n return children;\n}\nfunction $7230ffa83bc0c2cf$export$4d86445c2cf5e3(props) {\n let { className: className, style: style, children: children, defaultClassName: defaultClassName, defaultChildren: defaultChildren, defaultStyle: defaultStyle, values: values, render: render } = props;\n return (0, $ahdqC$useMemo)(()=>{\n let computedClassName;\n let computedStyle;\n let computedChildren;\n if (typeof className === 'function') computedClassName = className({\n ...values,\n defaultClassName: defaultClassName\n });\n else computedClassName = className;\n if (typeof style === 'function') computedStyle = style({\n ...values,\n defaultStyle: defaultStyle || {}\n });\n else computedStyle = style;\n if (typeof children === 'function') computedChildren = children({\n ...values,\n defaultChildren: defaultChildren\n });\n else if (children == null) computedChildren = defaultChildren;\n else computedChildren = children;\n return {\n className: computedClassName ?? defaultClassName,\n style: computedStyle || defaultStyle ? {\n ...defaultStyle,\n ...computedStyle\n } : undefined,\n children: computedChildren ?? defaultChildren,\n 'data-rac': '',\n render: render ? (props)=>render(props, values) : undefined\n };\n }, [\n className,\n style,\n children,\n defaultClassName,\n defaultChildren,\n defaultStyle,\n values,\n render\n ]);\n}\nfunction $7230ffa83bc0c2cf$export$c245e6201fed2f75(// https://stackoverflow.com/questions/60898079/typescript-type-t-or-function-t-usage\nvalue, wrap) {\n return (renderProps)=>wrap(typeof value === 'function' ? value(renderProps) : value, renderProps);\n}\nfunction $7230ffa83bc0c2cf$export$fabf2dc03a41866e(context, slot) {\n let ctx = (0, $ahdqC$useContext)(context);\n if (slot === null) // An explicit `null` slot means don't use context.\n return null;\n if (ctx && typeof ctx === 'object' && 'slots' in ctx && ctx.slots) {\n let slotKey = slot || $7230ffa83bc0c2cf$export$c62b8e45d58ddad9;\n if (!ctx.slots[slotKey]) {\n let availableSlots = new Intl.ListFormat().format(Object.keys(ctx.slots).map((p)=>`\"${p}\"`));\n let errorMessage = slot ? `Invalid slot \"${slot}\".` : 'A slot prop is required.';\n throw new Error(`${errorMessage} Valid slot names are ${availableSlots}.`);\n }\n return ctx.slots[slotKey];\n }\n // @ts-ignore\n return ctx;\n}\nfunction $7230ffa83bc0c2cf$export$29f1550f4b0d4415(props, ref, context) {\n let ctx = $7230ffa83bc0c2cf$export$fabf2dc03a41866e(context, props.slot) || {};\n let { ref: contextRef, ...contextProps } = ctx;\n let mergedRef = (0, $ahdqC$useObjectRef)((0, $ahdqC$useMemo)(()=>(0, $ahdqC$mergeRefs)(ref, contextRef), [\n ref,\n contextRef\n ]));\n let mergedProps = (0, $ahdqC$mergeProps)(contextProps, props);\n // mergeProps does not merge `style`. Adding this there might be a breaking change.\n if ('style' in contextProps && contextProps.style && 'style' in props && props.style) {\n if (typeof contextProps.style === 'function' || typeof props.style === 'function') // @ts-ignore\n mergedProps.style = (renderProps)=>{\n let contextStyle = typeof contextProps.style === 'function' ? contextProps.style(renderProps) : contextProps.style;\n let defaultStyle = {\n ...renderProps.defaultStyle,\n ...contextStyle\n };\n let style = typeof props.style === 'function' ? props.style({\n ...renderProps,\n defaultStyle: defaultStyle\n }) : props.style;\n return {\n ...defaultStyle,\n ...style\n };\n };\n else // @ts-ignore\n mergedProps.style = {\n ...contextProps.style,\n ...props.style\n };\n }\n return [\n mergedProps,\n mergedRef\n ];\n}\nfunction $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8(initialState = true) {\n // Initial state is typically based on the parent having an aria-label or aria-labelledby.\n // If it does, this value should be false so that we don't update the state and cause a rerender when we go through the layoutEffect\n let [hasSlot, setHasSlot] = (0, $ahdqC$useState)(initialState);\n let hasRun = (0, $ahdqC$useRef)(false);\n // A callback ref which will run when the slotted element mounts.\n // This should happen before the useLayoutEffect below.\n let ref = (0, $ahdqC$useCallback)((el)=>{\n hasRun.current = true;\n setHasSlot(!!el);\n }, []);\n // If the callback hasn't been called, then reset to false.\n (0, $ahdqC$useLayoutEffect)(()=>{\n if (!hasRun.current) setHasSlot(false);\n }, []);\n return [\n ref,\n hasSlot\n ];\n}\nfunction $7230ffa83bc0c2cf$export$ef03459518577ad4(props) {\n const prefix = /^(data-.*)$/;\n let filteredProps = {};\n for(const prop in props)if (!prefix.test(prop)) filteredProps[prop] = props[prop];\n return filteredProps;\n}\nfunction $7230ffa83bc0c2cf$var$DOMElement(ElementType, props, forwardedRef) {\n let { render: render, ...otherProps } = props;\n let elementRef = (0, $ahdqC$useRef)(null);\n let ref = (0, $ahdqC$useMemo)(()=>(0, $ahdqC$mergeRefs)(forwardedRef, elementRef), [\n forwardedRef,\n elementRef\n ]);\n (0, $ahdqC$useLayoutEffect)(()=>{\n if (process.env.NODE_ENV !== 'production' && render) {\n if (!elementRef.current) console.warn('Ref was not connected to DOM element returned by custom `render` function. Did you forget to pass through or merge the `ref`?');\n else if (elementRef.current.localName !== ElementType) console.warn(`Unexpected DOM element returned by custom \\`render\\` function. Expected <${ElementType}>, got <${elementRef.current.localName}>. This may break the component behavior and accessibility.`);\n }\n }, [\n ElementType,\n render\n ]);\n let domProps = {\n ...otherProps,\n ref: ref\n };\n if (render) return render(domProps, undefined);\n return /*#__PURE__*/ (0, $ahdqC$react).createElement(ElementType, domProps);\n}\nconst $7230ffa83bc0c2cf$var$domComponentCache = {};\nconst $7230ffa83bc0c2cf$export$df3a06d6289f983e = new Proxy({}, {\n get (target, elementType) {\n if (typeof elementType !== 'string') return undefined;\n let res = $7230ffa83bc0c2cf$var$domComponentCache[elementType];\n if (!res) {\n res = /*#__PURE__*/ (0, $ahdqC$forwardRef)($7230ffa83bc0c2cf$var$DOMElement.bind(null, elementType));\n $7230ffa83bc0c2cf$var$domComponentCache[elementType] = res;\n }\n return res;\n }\n});\n\n\nexport {$7230ffa83bc0c2cf$export$c62b8e45d58ddad9 as DEFAULT_SLOT, $7230ffa83bc0c2cf$export$2881499e37b75b9a as Provider, $7230ffa83bc0c2cf$export$4d86445c2cf5e3 as useRenderProps, $7230ffa83bc0c2cf$export$c245e6201fed2f75 as composeRenderProps, $7230ffa83bc0c2cf$export$fabf2dc03a41866e as useSlottedContext, $7230ffa83bc0c2cf$export$29f1550f4b0d4415 as useContextProps, $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8 as useSlot, $7230ffa83bc0c2cf$export$ef03459518577ad4 as removeDataAttributes, $7230ffa83bc0c2cf$export$df3a06d6289f983e as dom};\n//# sourceMappingURL=utils.mjs.map\n","const $d447af545b77c9f1$export$b204af158042fbac = (el)=>{\n return el?.ownerDocument ?? document;\n};\nconst $d447af545b77c9f1$export$f21a1ffae260145a = (el)=>{\n if (el && 'window' in el && el.window === el) return el;\n const doc = $d447af545b77c9f1$export$b204af158042fbac(el);\n return doc.defaultView || window;\n};\n/**\n * Type guard that checks if a value is a Node. Verifies the presence and type of the nodeType property.\n */ function $d447af545b77c9f1$var$isNode(value) {\n return value !== null && typeof value === 'object' && 'nodeType' in value && typeof value.nodeType === 'number';\n}\nfunction $d447af545b77c9f1$export$af51f0f06c0f328a(node) {\n return $d447af545b77c9f1$var$isNode(node) && node.nodeType === Node.DOCUMENT_FRAGMENT_NODE && 'host' in node;\n}\n\n\nexport {$d447af545b77c9f1$export$b204af158042fbac as getOwnerDocument, $d447af545b77c9f1$export$f21a1ffae260145a as getOwnerWindow, $d447af545b77c9f1$export$af51f0f06c0f328a as isShadowRoot};\n//# sourceMappingURL=domHelpers.mjs.map\n","/*\n * Copyright 2023 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 */ let $6a20a7989e6c817a$var$_tableNestedRows = false;\nlet $6a20a7989e6c817a$var$_shadowDOM = false;\nfunction $6a20a7989e6c817a$export$d9d8a0f82de49530() {\n $6a20a7989e6c817a$var$_tableNestedRows = true;\n}\nfunction $6a20a7989e6c817a$export$1b00cb14a96194e6() {\n return $6a20a7989e6c817a$var$_tableNestedRows;\n}\nfunction $6a20a7989e6c817a$export$12b151d9882e9985() {\n $6a20a7989e6c817a$var$_shadowDOM = true;\n}\nfunction $6a20a7989e6c817a$export$98658e8c59125e6a() {\n return $6a20a7989e6c817a$var$_shadowDOM;\n}\n\n\nexport {$6a20a7989e6c817a$export$d9d8a0f82de49530 as enableTableNestedRows, $6a20a7989e6c817a$export$1b00cb14a96194e6 as tableNestedRows, $6a20a7989e6c817a$export$12b151d9882e9985 as enableShadowDOM, $6a20a7989e6c817a$export$98658e8c59125e6a as shadowDOM};\n//# sourceMappingURL=flags.mjs.map\n","import {getOwnerWindow as $d447af545b77c9f1$export$f21a1ffae260145a, isShadowRoot as $d447af545b77c9f1$export$af51f0f06c0f328a} from \"../domHelpers.mjs\";\nimport {shadowDOM as $eXv8n$shadowDOM} from \"react-stately/private/flags/flags\";\n\n// Source: https://github.com/microsoft/tabster/blob/a89fc5d7e332d48f68d03b1ca6e344489d1c3898/src/Shadowdomize/DOMFunctions.ts#L16\n/* eslint-disable rsp-rules/no-non-shadow-contains, rsp-rules/safe-event-target */ \n\nfunction $23f2114a1b82827e$export$4282f70798064fe0(node, otherNode) {\n if (!(0, $eXv8n$shadowDOM)()) return otherNode && node ? node.contains(otherNode) : false;\n if (!node || !otherNode) return false;\n let currentNode = otherNode;\n while(currentNode !== null){\n if (currentNode === node) return true;\n if (currentNode.tagName === 'SLOT' && currentNode.assignedSlot) // Element is slotted\n currentNode = currentNode.assignedSlot.parentNode;\n else if ((0, $d447af545b77c9f1$export$af51f0f06c0f328a)(currentNode)) // Element is in shadow root\n currentNode = currentNode.host;\n else currentNode = currentNode.parentNode;\n }\n return false;\n}\nconst $23f2114a1b82827e$export$cd4e5573fbe2b576 = (doc = document)=>{\n if (!(0, $eXv8n$shadowDOM)()) return doc.activeElement;\n let activeElement = doc.activeElement;\n while(activeElement && 'shadowRoot' in activeElement && activeElement.shadowRoot?.activeElement)activeElement = activeElement.shadowRoot.activeElement;\n return activeElement;\n};\nfunction $23f2114a1b82827e$export$e58f029f0fbfdb29(event) {\n if ((0, $eXv8n$shadowDOM)() && event.target instanceof Element && event.target.shadowRoot) {\n if ('composedPath' in event) return event.composedPath()[0] ?? null;\n else if ('composedPath' in event.nativeEvent) return event.nativeEvent.composedPath()[0] ?? null;\n }\n return event.target;\n}\nfunction $23f2114a1b82827e$export$b4f377a2b6254582(node) {\n if (!node) return false;\n // Get the active element within the node's parent shadow root (or the document). Can return null.\n let root = node.getRootNode();\n let ownerWindow = (0, $d447af545b77c9f1$export$f21a1ffae260145a)(node);\n if (!(root instanceof ownerWindow.Document || root instanceof ownerWindow.ShadowRoot)) return false;\n let activeElement = root.activeElement;\n // Check if the active element is within this node. These nodes are within the same shadow root.\n return activeElement != null && node.contains(activeElement);\n}\n\n\nexport {$23f2114a1b82827e$export$4282f70798064fe0 as nodeContains, $23f2114a1b82827e$export$cd4e5573fbe2b576 as getActiveElement, $23f2114a1b82827e$export$e58f029f0fbfdb29 as getEventTarget, $23f2114a1b82827e$export$b4f377a2b6254582 as isFocusWithin};\n//# sourceMappingURL=DOMFunctions.mjs.map\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 */ function $1969ac565cfec8d0$export$de79e2c695e052f3(element) {\n if ($1969ac565cfec8d0$var$supportsPreventScroll()) element.focus({\n preventScroll: true\n });\n else {\n let scrollableElements = $1969ac565cfec8d0$var$getScrollableElements(element);\n element.focus();\n $1969ac565cfec8d0$var$restoreScrollPosition(scrollableElements);\n }\n}\nlet $1969ac565cfec8d0$var$supportsPreventScrollCached = null;\nfunction $1969ac565cfec8d0$var$supportsPreventScroll() {\n if ($1969ac565cfec8d0$var$supportsPreventScrollCached == null) {\n $1969ac565cfec8d0$var$supportsPreventScrollCached = false;\n try {\n let focusElem = document.createElement('div');\n focusElem.focus({\n get preventScroll () {\n $1969ac565cfec8d0$var$supportsPreventScrollCached = true;\n return true;\n }\n });\n } catch {\n // Ignore\n }\n }\n return $1969ac565cfec8d0$var$supportsPreventScrollCached;\n}\nfunction $1969ac565cfec8d0$var$getScrollableElements(element) {\n let parent = element.parentNode;\n let scrollableElements = [];\n let rootScrollingElement = document.scrollingElement || document.documentElement;\n while(parent instanceof HTMLElement && parent !== rootScrollingElement){\n if (parent.offsetHeight < parent.scrollHeight || parent.offsetWidth < parent.scrollWidth) scrollableElements.push({\n element: parent,\n scrollTop: parent.scrollTop,\n scrollLeft: parent.scrollLeft\n });\n parent = parent.parentNode;\n }\n if (rootScrollingElement instanceof HTMLElement) scrollableElements.push({\n element: rootScrollingElement,\n scrollTop: rootScrollingElement.scrollTop,\n scrollLeft: rootScrollingElement.scrollLeft\n });\n return scrollableElements;\n}\nfunction $1969ac565cfec8d0$var$restoreScrollPosition(scrollableElements) {\n for (let { element: element, scrollTop: scrollTop, scrollLeft: scrollLeft } of scrollableElements){\n element.scrollTop = scrollTop;\n element.scrollLeft = scrollLeft;\n }\n}\n\n\nexport {$1969ac565cfec8d0$export$de79e2c695e052f3 as focusWithoutScrolling};\n//# sourceMappingURL=focusWithoutScrolling.mjs.map\n","import {getOwnerWindow as $d447af545b77c9f1$export$f21a1ffae260145a} from \"./domHelpers.mjs\";\n\n/*\n * Copyright 2021 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 */ \nconst $ae77152785188400$var$supportsCheckVisibility = typeof Element !== 'undefined' && 'checkVisibility' in Element.prototype;\nfunction $ae77152785188400$var$isStyleVisible(element) {\n const windowObject = (0, $d447af545b77c9f1$export$f21a1ffae260145a)(element);\n if (!(element instanceof windowObject.HTMLElement) && !(element instanceof windowObject.SVGElement)) return false;\n let { display: display, visibility: visibility } = element.style;\n let isVisible = display !== 'none' && visibility !== 'hidden' && visibility !== 'collapse';\n if (isVisible) {\n const { getComputedStyle: getComputedStyle } = element.ownerDocument.defaultView;\n let { display: computedDisplay, visibility: computedVisibility } = getComputedStyle(element);\n isVisible = computedDisplay !== 'none' && computedVisibility !== 'hidden' && computedVisibility !== 'collapse';\n }\n return isVisible;\n}\nfunction $ae77152785188400$var$isAttributeVisible(element, childElement) {\n return !element.hasAttribute('hidden') && // Ignore HiddenSelect when tree walking.\n !element.hasAttribute('data-react-aria-prevent-focus') && (element.nodeName === 'DETAILS' && childElement && childElement.nodeName !== 'SUMMARY' ? element.hasAttribute('open') : true);\n}\nfunction $ae77152785188400$export$e989c0fffaa6b27a(element, childElement) {\n if ($ae77152785188400$var$supportsCheckVisibility) return element.checkVisibility({\n visibilityProperty: true\n }) && !element.closest('[data-react-aria-prevent-focus]');\n return element.nodeName !== '#comment' && $ae77152785188400$var$isStyleVisible(element) && $ae77152785188400$var$isAttributeVisible(element, childElement) && (!element.parentElement || $ae77152785188400$export$e989c0fffaa6b27a(element.parentElement, element));\n}\n\n\nexport {$ae77152785188400$export$e989c0fffaa6b27a as isElementVisible};\n//# sourceMappingURL=isElementVisible.mjs.map\n","import {isElementVisible as $ae77152785188400$export$e989c0fffaa6b27a} from \"./isElementVisible.mjs\";\n\n/*\n * Copyright 2025 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 */ \nconst $3b8b240c1bf84ab9$var$focusableElements = [\n 'input:not([disabled]):not([type=hidden])',\n 'select:not([disabled])',\n 'textarea:not([disabled])',\n 'button:not([disabled])',\n 'a[href]',\n 'area[href]',\n 'summary',\n 'iframe',\n 'object',\n 'embed',\n 'audio[controls]',\n 'video[controls]',\n '[contenteditable]:not([contenteditable^=\"false\"])',\n 'permission'\n];\nconst $3b8b240c1bf84ab9$var$FOCUSABLE_ELEMENT_SELECTOR = $3b8b240c1bf84ab9$var$focusableElements.join(':not([hidden]),') + ',[tabindex]:not([disabled]):not([hidden])';\n$3b8b240c1bf84ab9$var$focusableElements.push('[tabindex]:not([tabindex=\"-1\"]):not([disabled])');\nconst $3b8b240c1bf84ab9$var$TABBABLE_ELEMENT_SELECTOR = $3b8b240c1bf84ab9$var$focusableElements.join(':not([hidden]):not([tabindex=\"-1\"]),');\nfunction $3b8b240c1bf84ab9$export$4c063cf1350e6fed(element, options) {\n return element.matches($3b8b240c1bf84ab9$var$FOCUSABLE_ELEMENT_SELECTOR) && !$3b8b240c1bf84ab9$var$isInert(element) && (options?.skipVisibilityCheck || (0, $ae77152785188400$export$e989c0fffaa6b27a)(element));\n}\nfunction $3b8b240c1bf84ab9$export$bebd5a1431fec25d(element) {\n return element.matches($3b8b240c1bf84ab9$var$TABBABLE_ELEMENT_SELECTOR) && (0, $ae77152785188400$export$e989c0fffaa6b27a)(element) && !$3b8b240c1bf84ab9$var$isInert(element);\n}\nfunction $3b8b240c1bf84ab9$var$isInert(element) {\n let node = element;\n while(node != null){\n if (node instanceof node.ownerDocument.defaultView.HTMLElement && node.inert) return true;\n node = node.parentElement;\n }\n return false;\n}\n\n\nexport {$3b8b240c1bf84ab9$export$4c063cf1350e6fed as isFocusable, $3b8b240c1bf84ab9$export$bebd5a1431fec25d as isTabbable};\n//# sourceMappingURL=isFocusable.mjs.map\n","import {focusWithoutScrolling as $1969ac565cfec8d0$export$de79e2c695e052f3} from \"../utils/focusWithoutScrolling.mjs\";\nimport {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576, getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getOwnerWindow as $d447af545b77c9f1$export$f21a1ffae260145a} from \"../utils/domHelpers.mjs\";\nimport {isFocusable as $3b8b240c1bf84ab9$export$4c063cf1350e6fed} from \"../utils/isFocusable.mjs\";\nimport {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"../utils/useLayoutEffect.mjs\";\nimport {useRef as $lIB5W$useRef, useCallback as $lIB5W$useCallback} from \"react\";\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\n\nfunction $a92dc41f639950be$export$525bc4921d56d4a(nativeEvent) {\n let event = nativeEvent;\n event.nativeEvent = nativeEvent;\n event.isDefaultPrevented = ()=>event.defaultPrevented;\n // cancelBubble is technically deprecated in the spec, but still supported in all browsers.\n event.isPropagationStopped = ()=>event.cancelBubble;\n event.persist = ()=>{};\n return event;\n}\nfunction $a92dc41f639950be$export$c2b7abe5d61ec696(event, target) {\n Object.defineProperty(event, 'target', {\n value: target\n });\n Object.defineProperty(event, 'currentTarget', {\n value: target\n });\n}\nfunction $a92dc41f639950be$export$715c682d09d639cc(onBlur) {\n let stateRef = (0, $lIB5W$useRef)({\n isFocused: false,\n observer: null\n });\n // Clean up MutationObserver on unmount. See below.\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n const state = stateRef.current;\n return ()=>{\n if (state.observer) {\n state.observer.disconnect();\n state.observer = null;\n }\n };\n }, []);\n // This function is called during a React onFocus event.\n return (0, $lIB5W$useCallback)((e)=>{\n // React does not fire onBlur when an element is disabled. https://github.com/facebook/react/issues/9142\n // Most browsers fire a native focusout event in this case, except for Firefox. In that case, we use a\n // MutationObserver to watch for the disabled attribute, and dispatch these events ourselves.\n // For browsers that do, focusout fires before the MutationObserver, so onBlur should not fire twice.\n let eventTarget = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n if (eventTarget instanceof HTMLButtonElement || eventTarget instanceof HTMLInputElement || eventTarget instanceof HTMLTextAreaElement || eventTarget instanceof HTMLSelectElement) {\n stateRef.current.isFocused = true;\n let target = eventTarget;\n let onBlurHandler = (e)=>{\n stateRef.current.isFocused = false;\n if (target.disabled) {\n // For backward compatibility, dispatch a (fake) React synthetic event.\n let event = $a92dc41f639950be$export$525bc4921d56d4a(e);\n onBlur?.(event);\n }\n // We no longer need the MutationObserver once the target is blurred.\n if (stateRef.current.observer) {\n stateRef.current.observer.disconnect();\n stateRef.current.observer = null;\n }\n };\n target.addEventListener('focusout', onBlurHandler, {\n once: true\n });\n stateRef.current.observer = new MutationObserver(()=>{\n if (stateRef.current.isFocused && target.disabled) {\n stateRef.current.observer?.disconnect();\n let relatedTargetEl = target === (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)() ? null : (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)();\n target.dispatchEvent(new FocusEvent('blur', {\n relatedTarget: relatedTargetEl\n }));\n target.dispatchEvent(new FocusEvent('focusout', {\n bubbles: true,\n relatedTarget: relatedTargetEl\n }));\n }\n });\n stateRef.current.observer.observe(target, {\n attributes: true,\n attributeFilter: [\n 'disabled'\n ]\n });\n }\n }, [\n onBlur\n ]);\n}\nlet $a92dc41f639950be$export$fda7da73ab5d4c48 = false;\nfunction $a92dc41f639950be$export$cabe61c495ee3649(target) {\n // The browser will focus the nearest focusable ancestor of our target.\n while(target && !(0, $3b8b240c1bf84ab9$export$4c063cf1350e6fed)(target, {\n skipVisibilityCheck: true\n }))target = target.parentElement;\n let window = (0, $d447af545b77c9f1$export$f21a1ffae260145a)(target);\n let activeElement = window.document.activeElement;\n if (!activeElement || activeElement === target) return;\n $a92dc41f639950be$export$fda7da73ab5d4c48 = true;\n let isRefocusing = false;\n let onBlur = (e)=>{\n if ((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) === activeElement || isRefocusing) e.stopImmediatePropagation();\n };\n let onFocusOut = (e)=>{\n if ((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) === activeElement || isRefocusing) {\n e.stopImmediatePropagation();\n // If there was no focusable ancestor, we don't expect a focus event.\n // Re-focus the original active element here.\n if (!target && !isRefocusing) {\n isRefocusing = true;\n (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(activeElement);\n cleanup();\n }\n }\n };\n let onFocus = (e)=>{\n if ((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) === target || isRefocusing) e.stopImmediatePropagation();\n };\n let onFocusIn = (e)=>{\n if ((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) === target || isRefocusing) {\n e.stopImmediatePropagation();\n if (!isRefocusing) {\n isRefocusing = true;\n (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(activeElement);\n cleanup();\n }\n }\n };\n window.addEventListener('blur', onBlur, true);\n window.addEventListener('focusout', onFocusOut, true);\n window.addEventListener('focusin', onFocusIn, true);\n window.addEventListener('focus', onFocus, true);\n let cleanup = ()=>{\n cancelAnimationFrame(raf);\n window.removeEventListener('blur', onBlur, true);\n window.removeEventListener('focusout', onFocusOut, true);\n window.removeEventListener('focusin', onFocusIn, true);\n window.removeEventListener('focus', onFocus, true);\n $a92dc41f639950be$export$fda7da73ab5d4c48 = false;\n isRefocusing = false;\n };\n let raf = requestAnimationFrame(cleanup);\n return cleanup;\n}\n\n\nexport {$a92dc41f639950be$export$525bc4921d56d4a as createSyntheticEvent, $a92dc41f639950be$export$c2b7abe5d61ec696 as setEventTarget, $a92dc41f639950be$export$715c682d09d639cc as useSyntheticBlurEvent, $a92dc41f639950be$export$fda7da73ab5d4c48 as ignoreFocusEvent, $a92dc41f639950be$export$cabe61c495ee3649 as preventFocus};\n//# sourceMappingURL=utils.mjs.map\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 */ function $2add3ce32c6007eb$var$testUserAgent(re) {\n if (typeof window === 'undefined' || window.navigator == null) return false;\n let brands = window.navigator['userAgentData']?.brands;\n return Array.isArray(brands) && brands.some((brand)=>re.test(brand.brand)) || re.test(window.navigator.userAgent);\n}\nfunction $2add3ce32c6007eb$var$testPlatform(re) {\n return typeof window !== 'undefined' && window.navigator != null ? re.test(window.navigator['userAgentData']?.platform || window.navigator.platform) : false;\n}\nfunction $2add3ce32c6007eb$var$cached(fn) {\n if (process.env.NODE_ENV === 'test') return fn;\n let res = null;\n return ()=>{\n if (res == null) res = fn();\n return res;\n };\n}\nconst $2add3ce32c6007eb$export$9ac100e40613ea10 = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$var$testPlatform(/^Mac/i);\n});\nconst $2add3ce32c6007eb$export$186c6964ca17d99 = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$var$testPlatform(/^iPhone/i);\n});\nconst $2add3ce32c6007eb$export$7bef049ce92e4224 = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$var$testPlatform(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.\n $2add3ce32c6007eb$export$9ac100e40613ea10() && navigator.maxTouchPoints > 1;\n});\nconst $2add3ce32c6007eb$export$fedb369cb70207f1 = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$export$186c6964ca17d99() || $2add3ce32c6007eb$export$7bef049ce92e4224();\n});\nconst $2add3ce32c6007eb$export$e1865c3bedcd822b = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$export$9ac100e40613ea10() || $2add3ce32c6007eb$export$fedb369cb70207f1();\n});\nconst $2add3ce32c6007eb$export$78551043582a6a98 = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$var$testUserAgent(/AppleWebKit/i) && !$2add3ce32c6007eb$export$6446a186d09e379e();\n});\nconst $2add3ce32c6007eb$export$6446a186d09e379e = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$var$testUserAgent(/Chrome/i);\n});\nconst $2add3ce32c6007eb$export$a11b0059900ceec8 = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$var$testUserAgent(/Android/i);\n});\nconst $2add3ce32c6007eb$export$b7d78993b74f766d = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$var$testUserAgent(/Firefox/i);\n});\n\n\nexport {$2add3ce32c6007eb$export$9ac100e40613ea10 as isMac, $2add3ce32c6007eb$export$186c6964ca17d99 as isIPhone, $2add3ce32c6007eb$export$7bef049ce92e4224 as isIPad, $2add3ce32c6007eb$export$fedb369cb70207f1 as isIOS, $2add3ce32c6007eb$export$e1865c3bedcd822b as isAppleDevice, $2add3ce32c6007eb$export$78551043582a6a98 as isWebKit, $2add3ce32c6007eb$export$6446a186d09e379e as isChrome, $2add3ce32c6007eb$export$a11b0059900ceec8 as isAndroid, $2add3ce32c6007eb$export$b7d78993b74f766d as isFirefox};\n//# sourceMappingURL=platform.mjs.map\n","import {isAndroid as $2add3ce32c6007eb$export$a11b0059900ceec8} from \"./platform.mjs\";\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 */ \nfunction $b5c62b033c25b96d$export$60278871457622de(event) {\n // JAWS/NVDA with Firefox.\n if (event.pointerType === '' && event.isTrusted) return true;\n // Android TalkBack's detail value varies depending on the event listener providing the event so we have specific logic here instead\n // If pointerType is defined, event is from a click listener. For events from mousedown listener, detail === 0 is a sufficient check\n // to detect TalkBack virtual clicks.\n if ((0, $2add3ce32c6007eb$export$a11b0059900ceec8)() && event.pointerType) return event.type === 'click' && event.buttons === 1;\n return event.detail === 0 && !event.pointerType;\n}\nfunction $b5c62b033c25b96d$export$29bf1b5f2c56cf63(event) {\n // If the pointer size is zero, then we assume it's from a screen reader.\n // Android TalkBack double tap will sometimes return a event with width and height of 1\n // and pointerType === 'mouse' so we need to check for a specific combination of event attributes.\n // Cannot use \"event.pressure === 0\" as the sole check due to Safari pointer events always returning pressure === 0\n // instead of .5, see https://bugs.webkit.org/show_bug.cgi?id=206216. event.pointerType === 'mouse' is to distingush\n // Talkback double tap from Windows Firefox touch screen press\n return !(0, $2add3ce32c6007eb$export$a11b0059900ceec8)() && event.width === 0 && event.height === 0 || event.width === 1 && event.height === 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === 'mouse';\n}\n\n\nexport {$b5c62b033c25b96d$export$60278871457622de as isVirtualClick, $b5c62b033c25b96d$export$29bf1b5f2c56cf63 as isVirtualPointerEvent};\n//# sourceMappingURL=isVirtualEvent.mjs.map\n","import {focusWithoutScrolling as $1969ac565cfec8d0$export$de79e2c695e052f3} from \"./focusWithoutScrolling.mjs\";\nimport {isFirefox as $2add3ce32c6007eb$export$b7d78993b74f766d, isIPad as $2add3ce32c6007eb$export$7bef049ce92e4224, isMac as $2add3ce32c6007eb$export$9ac100e40613ea10, isWebKit as $2add3ce32c6007eb$export$78551043582a6a98} from \"./platform.mjs\";\nimport $epzQQ$react, {createContext as $epzQQ$createContext, useMemo as $epzQQ$useMemo, useContext as $epzQQ$useContext} from \"react\";\n\n/*\n * Copyright 2023 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\nconst $caaf0dd3060ed57c$var$RouterContext = /*#__PURE__*/ (0, $epzQQ$createContext)({\n isNative: true,\n open: $caaf0dd3060ed57c$var$openSyntheticLink,\n useHref: (href)=>href\n});\nfunction $caaf0dd3060ed57c$export$323e4fc2fa4753fb(props) {\n let { children: children, navigate: navigate, useHref: useHref } = props;\n let ctx = (0, $epzQQ$useMemo)(()=>({\n isNative: false,\n open: (target, modifiers, href, routerOptions)=>{\n $caaf0dd3060ed57c$var$getSyntheticLink(target, (link)=>{\n if ($caaf0dd3060ed57c$export$efa8c9099e530235(link, modifiers)) navigate(href, routerOptions);\n else $caaf0dd3060ed57c$export$95185d699e05d4d7(link, modifiers);\n });\n },\n useHref: useHref || ((href)=>href)\n }), [\n navigate,\n useHref\n ]);\n return /*#__PURE__*/ (0, $epzQQ$react).createElement($caaf0dd3060ed57c$var$RouterContext.Provider, {\n value: ctx\n }, children);\n}\nfunction $caaf0dd3060ed57c$export$9a302a45f65d0572() {\n return (0, $epzQQ$useContext)($caaf0dd3060ed57c$var$RouterContext);\n}\nfunction $caaf0dd3060ed57c$export$efa8c9099e530235(link, modifiers) {\n // Use getAttribute here instead of link.target. Firefox will default link.target to \"_parent\" when inside an iframe.\n let target = link.getAttribute('target');\n return (!target || target === '_self') && link.origin === location.origin && !link.hasAttribute('download') && !modifiers.metaKey && // open in new tab (mac)\n !modifiers.ctrlKey && // open in new tab (windows)\n !modifiers.altKey && // download\n !modifiers.shiftKey;\n}\nfunction $caaf0dd3060ed57c$export$95185d699e05d4d7(target, modifiers, setOpening = true) {\n let { metaKey: metaKey, ctrlKey: ctrlKey, altKey: altKey, shiftKey: shiftKey } = modifiers;\n // Firefox does not recognize keyboard events as a user action by default, and the popup blocker\n // will prevent links with target=\"_blank\" from opening. However, it does allow the event if the\n // Command/Control key is held, which opens the link in a background tab. This seems like the best we can do.\n // See https://bugzilla.mozilla.org/show_bug.cgi?id=257870 and https://bugzilla.mozilla.org/show_bug.cgi?id=746640.\n if ((0, $2add3ce32c6007eb$export$b7d78993b74f766d)() && window.event?.type?.startsWith('key') && target.target === '_blank') {\n if ((0, $2add3ce32c6007eb$export$9ac100e40613ea10)()) metaKey = true;\n else ctrlKey = true;\n }\n // WebKit does not support firing click events with modifier keys, but does support keyboard events.\n // https://github.com/WebKit/WebKit/blob/c03d0ac6e6db178f90923a0a63080b5ca210d25f/Source/WebCore/html/HTMLAnchorElement.cpp#L184\n let event = (0, $2add3ce32c6007eb$export$78551043582a6a98)() && (0, $2add3ce32c6007eb$export$9ac100e40613ea10)() && !(0, $2add3ce32c6007eb$export$7bef049ce92e4224)() && process.env.NODE_ENV !== 'test' ? new KeyboardEvent('keydown', {\n keyIdentifier: 'Enter',\n metaKey: metaKey,\n ctrlKey: ctrlKey,\n altKey: altKey,\n shiftKey: shiftKey\n }) : new MouseEvent('click', {\n metaKey: metaKey,\n ctrlKey: ctrlKey,\n altKey: altKey,\n shiftKey: shiftKey,\n detail: 1,\n bubbles: true,\n cancelable: true\n });\n $caaf0dd3060ed57c$export$95185d699e05d4d7.isOpening = setOpening;\n (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(target);\n target.dispatchEvent(event);\n $caaf0dd3060ed57c$export$95185d699e05d4d7.isOpening = false;\n}\n// https://github.com/parcel-bundler/parcel/issues/8724\n$caaf0dd3060ed57c$export$95185d699e05d4d7.isOpening = false;\nfunction $caaf0dd3060ed57c$var$getSyntheticLink(target, open) {\n if (target instanceof HTMLAnchorElement) open(target);\n else if (target.hasAttribute('data-href')) {\n let link = document.createElement('a');\n link.href = target.getAttribute('data-href');\n if (target.hasAttribute('data-target')) link.target = target.getAttribute('data-target');\n if (target.hasAttribute('data-rel')) link.rel = target.getAttribute('data-rel');\n if (target.hasAttribute('data-download')) link.download = target.getAttribute('data-download');\n if (target.hasAttribute('data-ping')) link.ping = target.getAttribute('data-ping');\n if (target.hasAttribute('data-referrer-policy')) link.referrerPolicy = target.getAttribute('data-referrer-policy');\n target.appendChild(link);\n open(link);\n target.removeChild(link);\n }\n}\nfunction $caaf0dd3060ed57c$var$openSyntheticLink(target, modifiers) {\n $caaf0dd3060ed57c$var$getSyntheticLink(target, (link)=>$caaf0dd3060ed57c$export$95185d699e05d4d7(link, modifiers));\n}\nfunction $caaf0dd3060ed57c$export$bdc77b0c0a3a85d6(props) {\n let router = $caaf0dd3060ed57c$export$9a302a45f65d0572();\n const href = router.useHref(props.href ?? '');\n return {\n 'data-href': props.href ? href : undefined,\n 'data-target': props.target,\n 'data-rel': props.rel,\n 'data-download': props.download,\n 'data-ping': props.ping,\n 'data-referrer-policy': props.referrerPolicy\n };\n}\nfunction $caaf0dd3060ed57c$export$51437d503373d223(props) {\n return {\n 'data-href': props.href,\n 'data-target': props.target,\n 'data-rel': props.rel,\n 'data-download': props.download,\n 'data-ping': props.ping,\n 'data-referrer-policy': props.referrerPolicy\n };\n}\nfunction $caaf0dd3060ed57c$export$7e924b3091a3bd18(props) {\n let router = $caaf0dd3060ed57c$export$9a302a45f65d0572();\n const href = router.useHref(props?.href ?? '');\n return {\n href: props?.href ? href : undefined,\n target: props?.target,\n rel: props?.rel,\n download: props?.download,\n ping: props?.ping,\n referrerPolicy: props?.referrerPolicy\n };\n}\nfunction $caaf0dd3060ed57c$export$13aea1a3cb5e3f1f(e, router, href, routerOptions) {\n // If a custom router is provided, prevent default and forward if this link should client navigate.\n if (!router.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && // If props are applied to a router Link component, it may have already prevented default.\n !e.isDefaultPrevented() && $caaf0dd3060ed57c$export$efa8c9099e530235(e.currentTarget, e) && href) {\n e.preventDefault();\n router.open(e.currentTarget, e, href, routerOptions);\n }\n}\n\n\nexport {$caaf0dd3060ed57c$export$323e4fc2fa4753fb as RouterProvider, $caaf0dd3060ed57c$export$efa8c9099e530235 as shouldClientNavigate, $caaf0dd3060ed57c$export$95185d699e05d4d7 as openLink, $caaf0dd3060ed57c$export$9a302a45f65d0572 as useRouter, $caaf0dd3060ed57c$export$bdc77b0c0a3a85d6 as useSyntheticLinkProps, $caaf0dd3060ed57c$export$51437d503373d223 as getSyntheticLinkProps, $caaf0dd3060ed57c$export$7e924b3091a3bd18 as useLinkProps, $caaf0dd3060ed57c$export$13aea1a3cb5e3f1f as handleLinkClick};\n//# sourceMappingURL=openLink.mjs.map\n","import {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576, getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac, getOwnerWindow as $d447af545b77c9f1$export$f21a1ffae260145a} from \"../utils/domHelpers.mjs\";\nimport {ignoreFocusEvent as $a92dc41f639950be$export$fda7da73ab5d4c48} from \"./utils.mjs\";\nimport {isMac as $2add3ce32c6007eb$export$9ac100e40613ea10} from \"../utils/platform.mjs\";\nimport {isVirtualClick as $b5c62b033c25b96d$export$60278871457622de} from \"../utils/isVirtualEvent.mjs\";\nimport {openLink as $caaf0dd3060ed57c$export$95185d699e05d4d7} from \"../utils/openLink.mjs\";\nimport {useIsSSR as $c7eafbbe1ea5834e$export$535bd6ca7f90a273} from \"../ssr/SSRProvider.mjs\";\nimport {useState as $7U4qw$useState, useEffect as $7U4qw$useEffect} from \"react\";\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 */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n\n\n\n\n\n\nlet $8f5a2122b0992be3$var$currentModality = null;\nlet $8f5a2122b0992be3$var$currentPointerType = 'keyboard';\nconst $8f5a2122b0992be3$export$901e90a13c50a14e = new Set();\nlet $8f5a2122b0992be3$export$d90243b58daecda7 = new Map(); // We use a map here to support setting event listeners across multiple document objects.\nlet $8f5a2122b0992be3$var$hasEventBeforeFocus = false;\nlet $8f5a2122b0992be3$var$hasBlurredWindowRecently = false;\n// Only Tab or Esc keys will make focus visible on text input elements\nconst $8f5a2122b0992be3$var$FOCUS_VISIBLE_INPUT_KEYS = {\n Tab: true,\n Escape: true\n};\nfunction $8f5a2122b0992be3$var$triggerChangeHandlers(modality, e) {\n for (let handler of $8f5a2122b0992be3$export$901e90a13c50a14e)handler(modality, e);\n}\n/**\n * Helper function to determine if a KeyboardEvent is unmodified and could make keyboard focus styles visible.\n */ function $8f5a2122b0992be3$var$isValidKey(e) {\n // Control and Shift keys trigger when navigating back to the tab with keyboard.\n return !(e.metaKey || !(0, $2add3ce32c6007eb$export$9ac100e40613ea10)() && e.altKey || e.ctrlKey || e.key === 'Control' || e.key === 'Shift' || e.key === 'Meta');\n}\nfunction $8f5a2122b0992be3$var$handleKeyboardEvent(e) {\n $8f5a2122b0992be3$var$hasEventBeforeFocus = true;\n if (!(0, $caaf0dd3060ed57c$export$95185d699e05d4d7).isOpening && $8f5a2122b0992be3$var$isValidKey(e)) {\n $8f5a2122b0992be3$var$currentModality = 'keyboard';\n $8f5a2122b0992be3$var$currentPointerType = 'keyboard';\n $8f5a2122b0992be3$var$triggerChangeHandlers('keyboard', e);\n }\n}\nfunction $8f5a2122b0992be3$var$handlePointerEvent(e) {\n $8f5a2122b0992be3$var$currentModality = 'pointer';\n $8f5a2122b0992be3$var$currentPointerType = 'pointerType' in e ? e.pointerType : 'mouse';\n if (e.type === 'mousedown' || e.type === 'pointerdown') {\n $8f5a2122b0992be3$var$hasEventBeforeFocus = true;\n $8f5a2122b0992be3$var$triggerChangeHandlers('pointer', e);\n }\n}\nfunction $8f5a2122b0992be3$var$handleClickEvent(e) {\n if (!(0, $caaf0dd3060ed57c$export$95185d699e05d4d7).isOpening && (0, $b5c62b033c25b96d$export$60278871457622de)(e)) {\n $8f5a2122b0992be3$var$hasEventBeforeFocus = true;\n $8f5a2122b0992be3$var$currentModality = 'virtual';\n $8f5a2122b0992be3$var$currentPointerType = 'virtual';\n }\n}\nfunction $8f5a2122b0992be3$var$handleFocusEvent(e) {\n // Firefox fires two extra focus events when the user first clicks into an iframe:\n // first on the window, then on the document. We ignore these events so they don't\n // cause keyboard focus rings to appear.\n let ownerWindow = (0, $d447af545b77c9f1$export$f21a1ffae260145a)((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e));\n let ownerDocument = (0, $d447af545b77c9f1$export$b204af158042fbac)((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e));\n if ((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) === ownerWindow || (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) === ownerDocument || (0, $a92dc41f639950be$export$fda7da73ab5d4c48) || !e.isTrusted) return;\n // If a focus event occurs without a preceding keyboard or pointer event, switch to virtual modality.\n // This occurs, for example, when navigating a form with the next/previous buttons on iOS.\n if (!$8f5a2122b0992be3$var$hasEventBeforeFocus && !$8f5a2122b0992be3$var$hasBlurredWindowRecently) {\n $8f5a2122b0992be3$var$currentModality = 'virtual';\n $8f5a2122b0992be3$var$currentPointerType = 'virtual';\n $8f5a2122b0992be3$var$triggerChangeHandlers('virtual', e);\n }\n $8f5a2122b0992be3$var$hasEventBeforeFocus = false;\n $8f5a2122b0992be3$var$hasBlurredWindowRecently = false;\n}\nfunction $8f5a2122b0992be3$var$handleWindowBlur() {\n if (0, $a92dc41f639950be$export$fda7da73ab5d4c48) return;\n // When the window is blurred, reset state. This is necessary when tabbing out of the window,\n // for example, since a subsequent focus event won't be fired.\n $8f5a2122b0992be3$var$hasEventBeforeFocus = false;\n $8f5a2122b0992be3$var$hasBlurredWindowRecently = true;\n}\n/**\n * Setup global event listeners to control when keyboard focus style should be visible.\n */ function $8f5a2122b0992be3$var$setupGlobalFocusEvents(element) {\n // eslint-disable-next-line no-restricted-globals\n if (typeof window === 'undefined' || typeof document === 'undefined') return;\n const windowObject = (0, $d447af545b77c9f1$export$f21a1ffae260145a)(element);\n const documentObject = (0, $d447af545b77c9f1$export$b204af158042fbac)(element);\n if ($8f5a2122b0992be3$export$d90243b58daecda7.get(windowObject)) return;\n // Programmatic focus() calls shouldn't affect the current input modality.\n // However, we need to detect other cases when a focus event occurs without\n // a preceding user event (e.g. screen reader focus). Overriding the focus\n // method on HTMLElement.prototype is a bit hacky, but works.\n let focus = windowObject.HTMLElement.prototype.focus;\n windowObject.HTMLElement.prototype.focus = function() {\n $8f5a2122b0992be3$var$hasEventBeforeFocus = true;\n focus.apply(this, arguments);\n };\n documentObject.addEventListener('keydown', $8f5a2122b0992be3$var$handleKeyboardEvent, true);\n documentObject.addEventListener('keyup', $8f5a2122b0992be3$var$handleKeyboardEvent, true);\n documentObject.addEventListener('click', $8f5a2122b0992be3$var$handleClickEvent, true);\n // Register focus events on the window so they are sure to happen\n // before React's event listeners (registered on the document).\n windowObject.addEventListener('focus', $8f5a2122b0992be3$var$handleFocusEvent, true);\n windowObject.addEventListener('blur', $8f5a2122b0992be3$var$handleWindowBlur, false);\n if (typeof PointerEvent !== 'undefined') {\n documentObject.addEventListener('pointerdown', $8f5a2122b0992be3$var$handlePointerEvent, true);\n documentObject.addEventListener('pointermove', $8f5a2122b0992be3$var$handlePointerEvent, true);\n documentObject.addEventListener('pointerup', $8f5a2122b0992be3$var$handlePointerEvent, true);\n } else if (process.env.NODE_ENV === 'test') {\n documentObject.addEventListener('mousedown', $8f5a2122b0992be3$var$handlePointerEvent, true);\n documentObject.addEventListener('mousemove', $8f5a2122b0992be3$var$handlePointerEvent, true);\n documentObject.addEventListener('mouseup', $8f5a2122b0992be3$var$handlePointerEvent, true);\n }\n // Add unmount handler\n windowObject.addEventListener('beforeunload', ()=>{\n $8f5a2122b0992be3$var$tearDownWindowFocusTracking(element);\n }, {\n once: true\n });\n $8f5a2122b0992be3$export$d90243b58daecda7.set(windowObject, {\n focus: focus\n });\n}\nconst $8f5a2122b0992be3$var$tearDownWindowFocusTracking = (element, loadListener)=>{\n const windowObject = (0, $d447af545b77c9f1$export$f21a1ffae260145a)(element);\n const documentObject = (0, $d447af545b77c9f1$export$b204af158042fbac)(element);\n if (loadListener) documentObject.removeEventListener('DOMContentLoaded', loadListener);\n if (!$8f5a2122b0992be3$export$d90243b58daecda7.has(windowObject)) return;\n windowObject.HTMLElement.prototype.focus = $8f5a2122b0992be3$export$d90243b58daecda7.get(windowObject).focus;\n documentObject.removeEventListener('keydown', $8f5a2122b0992be3$var$handleKeyboardEvent, true);\n documentObject.removeEventListener('keyup', $8f5a2122b0992be3$var$handleKeyboardEvent, true);\n documentObject.removeEventListener('click', $8f5a2122b0992be3$var$handleClickEvent, true);\n windowObject.removeEventListener('focus', $8f5a2122b0992be3$var$handleFocusEvent, true);\n windowObject.removeEventListener('blur', $8f5a2122b0992be3$var$handleWindowBlur, false);\n if (typeof PointerEvent !== 'undefined') {\n documentObject.removeEventListener('pointerdown', $8f5a2122b0992be3$var$handlePointerEvent, true);\n documentObject.removeEventListener('pointermove', $8f5a2122b0992be3$var$handlePointerEvent, true);\n documentObject.removeEventListener('pointerup', $8f5a2122b0992be3$var$handlePointerEvent, true);\n } else if (process.env.NODE_ENV === 'test') {\n documentObject.removeEventListener('mousedown', $8f5a2122b0992be3$var$handlePointerEvent, true);\n documentObject.removeEventListener('mousemove', $8f5a2122b0992be3$var$handlePointerEvent, true);\n documentObject.removeEventListener('mouseup', $8f5a2122b0992be3$var$handlePointerEvent, true);\n }\n $8f5a2122b0992be3$export$d90243b58daecda7.delete(windowObject);\n};\nfunction $8f5a2122b0992be3$export$2f1888112f558a7d(element) {\n const documentObject = (0, $d447af545b77c9f1$export$b204af158042fbac)(element);\n let loadListener;\n if (documentObject.readyState !== 'loading') $8f5a2122b0992be3$var$setupGlobalFocusEvents(element);\n else {\n loadListener = ()=>{\n $8f5a2122b0992be3$var$setupGlobalFocusEvents(element);\n };\n documentObject.addEventListener('DOMContentLoaded', loadListener);\n }\n return ()=>$8f5a2122b0992be3$var$tearDownWindowFocusTracking(element, loadListener);\n}\n// Server-side rendering does not have the document object defined\n// eslint-disable-next-line no-restricted-globals\nif (typeof document !== 'undefined') $8f5a2122b0992be3$export$2f1888112f558a7d();\nfunction $8f5a2122b0992be3$export$b9b3dfddab17db27() {\n return $8f5a2122b0992be3$var$currentModality !== 'pointer';\n}\nfunction $8f5a2122b0992be3$export$630ff653c5ada6a9() {\n return $8f5a2122b0992be3$var$currentModality;\n}\nfunction $8f5a2122b0992be3$export$8397ddfc504fdb9a(modality) {\n $8f5a2122b0992be3$var$currentModality = modality;\n $8f5a2122b0992be3$var$currentPointerType = modality === 'pointer' ? 'mouse' : modality;\n $8f5a2122b0992be3$var$triggerChangeHandlers(modality, null);\n}\nfunction $8f5a2122b0992be3$export$887a228355cf7d95() {\n return $8f5a2122b0992be3$var$currentPointerType;\n}\nfunction $8f5a2122b0992be3$export$98e20ec92f614cfe() {\n $8f5a2122b0992be3$var$setupGlobalFocusEvents();\n let [modality, setModality] = (0, $7U4qw$useState)($8f5a2122b0992be3$var$currentModality);\n (0, $7U4qw$useEffect)(()=>{\n let handler = ()=>{\n setModality($8f5a2122b0992be3$var$currentModality);\n };\n $8f5a2122b0992be3$export$901e90a13c50a14e.add(handler);\n return ()=>{\n $8f5a2122b0992be3$export$901e90a13c50a14e.delete(handler);\n };\n }, []);\n return (0, $c7eafbbe1ea5834e$export$535bd6ca7f90a273)() ? null : modality;\n}\nconst $8f5a2122b0992be3$var$nonTextInputTypes = new Set([\n 'checkbox',\n 'radio',\n 'range',\n 'color',\n 'file',\n 'image',\n 'button',\n 'submit',\n 'reset'\n]);\n/**\n * If this is attached to text input component, return if the event is a focus event (Tab/Escape keys pressed) so that\n * focus visible style can be properly set.\n */ function $8f5a2122b0992be3$var$isKeyboardFocusEvent(isTextInput, modality, e) {\n let eventTarget = e ? (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) : undefined;\n let document1 = (0, $d447af545b77c9f1$export$b204af158042fbac)(eventTarget);\n let ownerWindow = (0, $d447af545b77c9f1$export$f21a1ffae260145a)(eventTarget);\n const IHTMLInputElement = typeof ownerWindow !== 'undefined' ? ownerWindow.HTMLInputElement : HTMLInputElement;\n const IHTMLTextAreaElement = typeof ownerWindow !== 'undefined' ? ownerWindow.HTMLTextAreaElement : HTMLTextAreaElement;\n const IHTMLElement = typeof ownerWindow !== 'undefined' ? ownerWindow.HTMLElement : HTMLElement;\n const IKeyboardEvent = typeof ownerWindow !== 'undefined' ? ownerWindow.KeyboardEvent : KeyboardEvent;\n // For keyboard events that occur on a non-input element that will move focus into input element (aka ArrowLeft going from Datepicker button to the main input group)\n // we need to rely on the user passing isTextInput into here. This way we can skip toggling focus visiblity for said input element\n let activeElement = (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)(document1);\n isTextInput = isTextInput || activeElement instanceof IHTMLInputElement && !$8f5a2122b0992be3$var$nonTextInputTypes.has(activeElement.type) || activeElement instanceof IHTMLTextAreaElement || activeElement instanceof IHTMLElement && activeElement.isContentEditable;\n return !(isTextInput && modality === 'keyboard' && e instanceof IKeyboardEvent && !$8f5a2122b0992be3$var$FOCUS_VISIBLE_INPUT_KEYS[e.key]);\n}\nfunction $8f5a2122b0992be3$export$ffd9e5021c1fb2d6(props = {}) {\n let { isTextInput: isTextInput, autoFocus: autoFocus } = props;\n let [isFocusVisibleState, setFocusVisible] = (0, $7U4qw$useState)(autoFocus || $8f5a2122b0992be3$export$b9b3dfddab17db27());\n $8f5a2122b0992be3$export$ec71b4b83ac08ec3((isFocusVisible)=>{\n setFocusVisible(isFocusVisible);\n }, [\n isTextInput\n ], {\n isTextInput: isTextInput\n });\n return {\n isFocusVisible: isFocusVisibleState\n };\n}\nfunction $8f5a2122b0992be3$export$ec71b4b83ac08ec3(fn, deps, opts) {\n $8f5a2122b0992be3$var$setupGlobalFocusEvents();\n (0, $7U4qw$useEffect)(()=>{\n if (opts?.enabled === false) return;\n let handler = (modality, e)=>{\n // We want to early return for any keyboard events that occur inside text inputs EXCEPT for Tab and Escape\n if (!$8f5a2122b0992be3$var$isKeyboardFocusEvent(!!opts?.isTextInput, modality, e)) return;\n fn($8f5a2122b0992be3$export$b9b3dfddab17db27());\n };\n $8f5a2122b0992be3$export$901e90a13c50a14e.add(handler);\n return ()=>{\n $8f5a2122b0992be3$export$901e90a13c50a14e.delete(handler);\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, deps);\n}\n\n\nexport {$8f5a2122b0992be3$export$901e90a13c50a14e as changeHandlers, $8f5a2122b0992be3$export$d90243b58daecda7 as hasSetupGlobalListeners, $8f5a2122b0992be3$export$2f1888112f558a7d as addWindowFocusTracking, $8f5a2122b0992be3$export$b9b3dfddab17db27 as isFocusVisible, $8f5a2122b0992be3$export$630ff653c5ada6a9 as getInteractionModality, $8f5a2122b0992be3$export$8397ddfc504fdb9a as setInteractionModality, $8f5a2122b0992be3$export$887a228355cf7d95 as getPointerType, $8f5a2122b0992be3$export$98e20ec92f614cfe as useInteractionModality, $8f5a2122b0992be3$export$ffd9e5021c1fb2d6 as useFocusVisible, $8f5a2122b0992be3$export$ec71b4b83ac08ec3 as useFocusVisibleListener};\n//# sourceMappingURL=useFocusVisible.mjs.map\n","import {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport $emnFQ$react, {useRef as $emnFQ$useRef, useCallback as $emnFQ$useCallback} from \"react\";\n\n/*\n * Copyright 2023 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// Use the earliest effect type possible. useInsertionEffect runs during the mutation phase,\n// before all layout effects, but is available only in React 18 and later.\nconst $fe16bffc7a557bf0$var$useEarlyEffect = (0, $emnFQ$react)['useInsertionEffect'] ?? (0, $c4867b2f328c2698$export$e5c5a5f917a5871c);\nfunction $fe16bffc7a557bf0$export$7f54fc3180508a52(fn) {\n const ref = (0, $emnFQ$useRef)(null);\n $fe16bffc7a557bf0$var$useEarlyEffect(()=>{\n ref.current = fn;\n }, [\n fn\n ]);\n // @ts-ignore\n return (0, $emnFQ$useCallback)((...args)=>{\n const f = ref.current;\n return f?.(...args);\n }, []);\n}\n\n\nexport {$fe16bffc7a557bf0$export$7f54fc3180508a52 as useEffectEvent};\n//# sourceMappingURL=useEffectEvent.mjs.map\n","import {useId as $390e54f620492c70$export$f680877a34711e37} from \"./useId.mjs\";\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 $e8ac3c3f5d4bae7f$export$d6875122194c7b44(props, defaultLabel) {\n let { id: id, 'aria-label': label, 'aria-labelledby': labelledBy } = props;\n // If there is both an aria-label and aria-labelledby,\n // combine them by pointing to the element itself.\n id = (0, $390e54f620492c70$export$f680877a34711e37)(id);\n if (labelledBy && label) {\n let ids = new Set([\n id,\n ...labelledBy.trim().split(/\\s+/)\n ]);\n labelledBy = [\n ...ids\n ].join(' ');\n } else if (labelledBy) labelledBy = labelledBy.trim().split(/\\s+/).join(' ');\n // If no labels are provided, use the default\n if (!label && !labelledBy && defaultLabel) label = defaultLabel;\n return {\n id: id,\n 'aria-label': label,\n 'aria-labelledby': labelledBy\n };\n}\n\n\nexport {$e8ac3c3f5d4bae7f$export$d6875122194c7b44 as useLabels};\n//# sourceMappingURL=useLabels.mjs.map\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 */ // https://en.wikipedia.org/wiki/Right-to-left\nconst $d805ff57cab8bee2$var$RTL_SCRIPTS = new Set([\n 'Arab',\n 'Syrc',\n 'Samr',\n 'Mand',\n 'Thaa',\n 'Mend',\n 'Nkoo',\n 'Adlm',\n 'Rohg',\n 'Hebr'\n]);\nconst $d805ff57cab8bee2$var$RTL_LANGS = new Set([\n 'ae',\n 'ar',\n 'arc',\n 'bcc',\n 'bqi',\n 'ckb',\n 'dv',\n 'fa',\n 'glk',\n 'he',\n 'ku',\n 'mzn',\n 'nqo',\n 'pnb',\n 'ps',\n 'sd',\n 'ug',\n 'ur',\n 'yi'\n]);\nfunction $d805ff57cab8bee2$export$702d680b21cbd764(localeString) {\n // If the Intl.Locale API is available, use it to get the locale's text direction.\n if (Intl.Locale) {\n let locale = new Intl.Locale(localeString).maximize();\n // Use the text info object to get the direction if possible.\n // @ts-ignore - this was implemented as a property by some browsers before it was standardized as a function.\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getTextInfo\n let textInfo = typeof locale.getTextInfo === 'function' ? locale.getTextInfo() : locale.textInfo;\n if (textInfo) return textInfo.direction === 'rtl';\n // Fallback: guess using the script.\n // This is more accurate than guessing by language, since languages can be written in multiple scripts.\n if (locale.script) return $d805ff57cab8bee2$var$RTL_SCRIPTS.has(locale.script);\n }\n // If not, just guess by the language (first part of the locale)\n let lang = localeString.split('-')[0];\n return $d805ff57cab8bee2$var$RTL_LANGS.has(lang);\n}\n\n\nexport {$d805ff57cab8bee2$export$702d680b21cbd764 as isRTL};\n//# sourceMappingURL=utils.mjs.map\n","import {isRTL as $d805ff57cab8bee2$export$702d680b21cbd764} from \"./utils.mjs\";\nimport {useIsSSR as $c7eafbbe1ea5834e$export$535bd6ca7f90a273} from \"../ssr/SSRProvider.mjs\";\nimport {useState as $lEF9U$useState, useEffect as $lEF9U$useEffect} from \"react\";\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// Locale passed from server by PackageLocalizationProvider.\nconst $520a025cdb0d710d$var$localeSymbol = Symbol.for('react-aria.i18n.locale');\nfunction $520a025cdb0d710d$export$f09106e7c6677ec5() {\n let locale = typeof window !== 'undefined' && window[$520a025cdb0d710d$var$localeSymbol] || typeof navigator !== 'undefined' && (navigator.language || navigator.userLanguage) || 'en-US';\n try {\n Intl.DateTimeFormat.supportedLocalesOf([\n locale\n ]);\n } catch {\n locale = 'en-US';\n }\n return {\n locale: locale,\n direction: (0, $d805ff57cab8bee2$export$702d680b21cbd764)(locale) ? 'rtl' : 'ltr'\n };\n}\nlet $520a025cdb0d710d$var$currentLocale = $520a025cdb0d710d$export$f09106e7c6677ec5();\nlet $520a025cdb0d710d$var$listeners = new Set();\nfunction $520a025cdb0d710d$var$updateLocale() {\n $520a025cdb0d710d$var$currentLocale = $520a025cdb0d710d$export$f09106e7c6677ec5();\n for (let listener of $520a025cdb0d710d$var$listeners)listener($520a025cdb0d710d$var$currentLocale);\n}\nfunction $520a025cdb0d710d$export$188ec29ebc2bdc3a() {\n let isSSR = (0, $c7eafbbe1ea5834e$export$535bd6ca7f90a273)();\n let [defaultLocale, setDefaultLocale] = (0, $lEF9U$useState)($520a025cdb0d710d$var$currentLocale);\n (0, $lEF9U$useEffect)(()=>{\n if ($520a025cdb0d710d$var$listeners.size === 0) window.addEventListener('languagechange', $520a025cdb0d710d$var$updateLocale);\n $520a025cdb0d710d$var$listeners.add(setDefaultLocale);\n return ()=>{\n $520a025cdb0d710d$var$listeners.delete(setDefaultLocale);\n if ($520a025cdb0d710d$var$listeners.size === 0) window.removeEventListener('languagechange', $520a025cdb0d710d$var$updateLocale);\n };\n }, []);\n // We cannot determine the browser's language on the server, so default to\n // en-US. This will be updated after hydration on the client to the correct value.\n if (isSSR) {\n let locale = typeof window !== 'undefined' && window[$520a025cdb0d710d$var$localeSymbol];\n return {\n locale: locale || 'en-US',\n direction: 'ltr'\n };\n }\n return defaultLocale;\n}\n\n\nexport {$520a025cdb0d710d$export$f09106e7c6677ec5 as getDefaultLocale, $520a025cdb0d710d$export$188ec29ebc2bdc3a as useDefaultLocale};\n//# sourceMappingURL=useDefaultLocale.mjs.map\n","import {isRTL as $d805ff57cab8bee2$export$702d680b21cbd764} from \"./utils.mjs\";\nimport {useDefaultLocale as $520a025cdb0d710d$export$188ec29ebc2bdc3a} from \"./useDefaultLocale.mjs\";\nimport $01Dwp$react, {useContext as $01Dwp$useContext} from \"react\";\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\nconst $2eb8e6d23f3d0cb0$var$I18nContext = /*#__PURE__*/ (0, $01Dwp$react).createContext(null);\n/**\n * Internal component that handles the case when locale is provided.\n */ function $2eb8e6d23f3d0cb0$var$I18nProviderWithLocale(props) {\n let { locale: locale, children: children } = props;\n let value = (0, $01Dwp$react).useMemo(()=>({\n locale: locale,\n direction: (0, $d805ff57cab8bee2$export$702d680b21cbd764)(locale) ? 'rtl' : 'ltr'\n }), [\n locale\n ]);\n return /*#__PURE__*/ (0, $01Dwp$react).createElement($2eb8e6d23f3d0cb0$var$I18nContext.Provider, {\n value: value\n }, children);\n}\n/**\n * Internal component that handles the case when no locale is provided.\n */ function $2eb8e6d23f3d0cb0$var$I18nProviderWithDefaultLocale(props) {\n let { children: children } = props;\n let defaultLocale = (0, $520a025cdb0d710d$export$188ec29ebc2bdc3a)();\n return /*#__PURE__*/ (0, $01Dwp$react).createElement($2eb8e6d23f3d0cb0$var$I18nContext.Provider, {\n value: defaultLocale\n }, children);\n}\nfunction $2eb8e6d23f3d0cb0$export$a54013f0d02a8f82(props) {\n let { locale: locale, children: children } = props;\n // Conditionally render different components to avoid calling useDefaultLocale.\n // This is necessary because useDefaultLocale triggers a re-render.\n if (locale) return /*#__PURE__*/ (0, $01Dwp$react).createElement($2eb8e6d23f3d0cb0$var$I18nProviderWithLocale, {\n locale: locale,\n children: children\n });\n return /*#__PURE__*/ (0, $01Dwp$react).createElement($2eb8e6d23f3d0cb0$var$I18nProviderWithDefaultLocale, {\n children: children\n });\n}\nfunction $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7() {\n let defaultLocale = (0, $520a025cdb0d710d$export$188ec29ebc2bdc3a)();\n let context = (0, $01Dwp$useContext)($2eb8e6d23f3d0cb0$var$I18nContext);\n return context || defaultLocale;\n}\n\n\nexport {$2eb8e6d23f3d0cb0$export$a54013f0d02a8f82 as I18nProvider, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7 as useLocale};\n//# sourceMappingURL=I18nProvider.mjs.map\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 */ const $a747a10fe70a57da$var$localeSymbol = Symbol.for('react-aria.i18n.locale');\nconst $a747a10fe70a57da$var$stringsSymbol = Symbol.for('react-aria.i18n.strings');\nlet $a747a10fe70a57da$var$cachedGlobalStrings = undefined;\nclass $a747a10fe70a57da$export$c17fa47878dc55b6 {\n constructor(messages, defaultLocale = 'en-US'){\n // Clone messages so we don't modify the original object.\n // Filter out entries with falsy values which may have been caused by applying optimize-locales-plugin.\n this.strings = Object.fromEntries(Object.entries(messages).filter(([, v])=>v));\n this.defaultLocale = defaultLocale;\n }\n /** Returns a localized string for the given key and locale. */ getStringForLocale(key, locale) {\n let strings = this.getStringsForLocale(locale);\n let string = strings[key];\n if (!string) throw new Error(`Could not find intl message ${key} in ${locale} locale`);\n return string;\n }\n /** Returns all localized strings for the given locale. */ getStringsForLocale(locale) {\n let strings = this.strings[locale];\n if (!strings) {\n strings = $a747a10fe70a57da$var$getStringsForLocale(locale, this.strings, this.defaultLocale);\n this.strings[locale] = strings;\n }\n return strings;\n }\n static getGlobalDictionaryForPackage(packageName) {\n if (typeof window === 'undefined') return null;\n let locale = window[$a747a10fe70a57da$var$localeSymbol];\n if ($a747a10fe70a57da$var$cachedGlobalStrings === undefined) {\n let globalStrings = window[$a747a10fe70a57da$var$stringsSymbol];\n if (!globalStrings) return null;\n $a747a10fe70a57da$var$cachedGlobalStrings = {};\n for(let pkg in globalStrings)$a747a10fe70a57da$var$cachedGlobalStrings[pkg] = new $a747a10fe70a57da$export$c17fa47878dc55b6({\n [locale]: globalStrings[pkg]\n }, locale);\n }\n let dictionary = $a747a10fe70a57da$var$cachedGlobalStrings?.[packageName];\n if (!dictionary) throw new Error(`Strings for package \"${packageName}\" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);\n return dictionary;\n }\n}\nfunction $a747a10fe70a57da$var$getStringsForLocale(locale, strings, defaultLocale = 'en-US') {\n // If there is an exact match, use it.\n if (strings[locale]) return strings[locale];\n // Attempt to find the closest match by language.\n // For example, if the locale is fr-CA (French Canadian), but there is only\n // an fr-FR (France) set of strings, use that.\n // This could be replaced with Intl.LocaleMatcher once it is supported.\n // https://github.com/tc39/proposal-intl-localematcher\n let language = $a747a10fe70a57da$var$getLanguage(locale);\n if (strings[language]) return strings[language];\n for(let key in strings){\n if (key.startsWith(language + '-')) return strings[key];\n }\n // Nothing close, use english.\n return strings[defaultLocale];\n}\nfunction $a747a10fe70a57da$var$getLanguage(locale) {\n // @ts-ignore\n if (Intl.Locale) // @ts-ignore\n return new Intl.Locale(locale).language;\n return locale.split('-')[0];\n}\n\n\nexport {$a747a10fe70a57da$export$c17fa47878dc55b6 as LocalizedStringDictionary};\n//# sourceMappingURL=LocalizedStringDictionary.mjs.map\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 */ const $b27c684a33948c64$var$pluralRulesCache = new Map();\nconst $b27c684a33948c64$var$numberFormatCache = new Map();\nclass $b27c684a33948c64$export$2f817fcdc4b89ae0 {\n constructor(locale, strings){\n this.locale = locale;\n this.strings = strings;\n }\n /** Formats a localized string for the given key with the provided variables. */ format(key, variables) {\n let message = this.strings.getStringForLocale(key, this.locale);\n return typeof message === 'function' ? message(variables, this) : message;\n }\n plural(count, options, type = 'cardinal') {\n let opt = options['=' + count];\n if (opt) return typeof opt === 'function' ? opt() : opt;\n let key = this.locale + ':' + type;\n let pluralRules = $b27c684a33948c64$var$pluralRulesCache.get(key);\n if (!pluralRules) {\n pluralRules = new Intl.PluralRules(this.locale, {\n type: type\n });\n $b27c684a33948c64$var$pluralRulesCache.set(key, pluralRules);\n }\n let selected = pluralRules.select(count);\n opt = options[selected] || options.other;\n return typeof opt === 'function' ? opt() : opt;\n }\n number(value) {\n let numberFormat = $b27c684a33948c64$var$numberFormatCache.get(this.locale);\n if (!numberFormat) {\n numberFormat = new Intl.NumberFormat(this.locale);\n $b27c684a33948c64$var$numberFormatCache.set(this.locale, numberFormat);\n }\n return numberFormat.format(value);\n }\n select(options, value) {\n let opt = options[value] || options.other;\n return typeof opt === 'function' ? opt() : opt;\n }\n}\n\n\nexport {$b27c684a33948c64$export$2f817fcdc4b89ae0 as LocalizedStringFormatter};\n//# sourceMappingURL=LocalizedStringFormatter.mjs.map\n","import {useLocale as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7} from \"./I18nProvider.mjs\";\nimport {LocalizedStringDictionary as $hwcjY$LocalizedStringDictionary, LocalizedStringFormatter as $hwcjY$LocalizedStringFormatter} from \"@internationalized/string\";\nimport {useMemo as $hwcjY$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\nconst $cf2482eff2eeeec2$var$cache = new WeakMap();\nfunction $cf2482eff2eeeec2$var$getCachedDictionary(strings) {\n let dictionary = $cf2482eff2eeeec2$var$cache.get(strings);\n if (!dictionary) {\n dictionary = new (0, $hwcjY$LocalizedStringDictionary)(strings);\n $cf2482eff2eeeec2$var$cache.set(strings, dictionary);\n }\n return dictionary;\n}\nfunction $cf2482eff2eeeec2$export$87b761675e8eaa10(strings, packageName) {\n return packageName && (0, $hwcjY$LocalizedStringDictionary).getGlobalDictionaryForPackage(packageName) || $cf2482eff2eeeec2$var$getCachedDictionary(strings);\n}\nfunction $cf2482eff2eeeec2$export$f12b703ca79dfbb1(strings, packageName) {\n let { locale: locale } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n let dictionary = $cf2482eff2eeeec2$export$87b761675e8eaa10(strings, packageName);\n return (0, $hwcjY$useMemo)(()=>new (0, $hwcjY$LocalizedStringFormatter)(locale, dictionary), [\n locale,\n dictionary\n ]);\n}\n\n\nexport {$cf2482eff2eeeec2$export$87b761675e8eaa10 as useLocalizedStringDictionary, $cf2482eff2eeeec2$export$f12b703ca79dfbb1 as useLocalizedStringFormatter};\n//# sourceMappingURL=useLocalizedStringFormatter.mjs.map\n","import $1CcWn$react, {useState as $1CcWn$useState, useRef as $1CcWn$useRef, useEffect as $1CcWn$useEffect, useReducer as $1CcWn$useReducer, useCallback as $1CcWn$useCallback} from \"react\";\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// Use the earliest effect possible to reset the ref below.\nconst $3e6197669829fe11$var$useEarlyEffect = typeof document !== 'undefined' ? (0, $1CcWn$react)['useInsertionEffect'] ?? (0, $1CcWn$react).useLayoutEffect : ()=>{};\nfunction $3e6197669829fe11$export$40bfa8c7b0832715(value, defaultValue, onChange) {\n // Store the value in both state and a ref. The state value will only be used when uncontrolled.\n // The ref is used to track the most current value, which is passed to the function setState callback.\n let [stateValue, setStateValue] = (0, $1CcWn$useState)(value || defaultValue);\n let valueRef = (0, $1CcWn$useRef)(stateValue);\n let isControlledRef = (0, $1CcWn$useRef)(value !== undefined);\n let isControlled = value !== undefined;\n (0, $1CcWn$useEffect)(()=>{\n let wasControlled = isControlledRef.current;\n if (wasControlled !== isControlled && process.env.NODE_ENV !== 'production') console.warn(`WARN: A component changed from ${wasControlled ? 'controlled' : 'uncontrolled'} to ${isControlled ? 'controlled' : 'uncontrolled'}.`);\n isControlledRef.current = isControlled;\n }, [\n isControlled\n ]);\n // After each render, update the ref to the current value.\n // This ensures that the setState callback argument is reset.\n // Note: the effect should not have any dependencies so that controlled values always reset.\n let currentValue = isControlled ? value : stateValue;\n $3e6197669829fe11$var$useEarlyEffect(()=>{\n valueRef.current = currentValue;\n });\n let [, forceUpdate] = (0, $1CcWn$useReducer)(()=>({}), {});\n let setValue = (0, $1CcWn$useCallback)((value, ...args)=>{\n // @ts-ignore - TS doesn't know that T cannot be a function.\n let newValue = typeof value === 'function' ? value(valueRef.current) : value;\n if (!Object.is(valueRef.current, newValue)) {\n // Update the ref so that the next setState callback has the most recent value.\n valueRef.current = newValue;\n setStateValue(newValue);\n // Always trigger a re-render, even when controlled, so that the layout effect above runs to reset the value.\n forceUpdate();\n // Trigger onChange. Note that if setState is called multiple times in a single event,\n // onChange will be called for each one instead of only once.\n onChange?.(newValue, ...args);\n }\n }, [\n onChange\n ]);\n return [\n currentValue,\n setValue\n ];\n}\n\n\nexport {$3e6197669829fe11$export$40bfa8c7b0832715 as useControlledState};\n//# sourceMappingURL=useControlledState.mjs.map\n","import {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"./shadowdom/DOMFunctions.mjs\";\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 */ // We store a global list of elements that are currently transitioning,\n// mapped to a set of CSS properties that are transitioning for that element.\n// This is necessary rather than a simple count of transitions because of browser\n// bugs, e.g. Chrome sometimes fires both transitionend and transitioncancel rather\n// than one or the other. So we need to track what's actually transitioning so that\n// we can ignore these duplicate events.\n\nlet $081cb5757e08788e$var$transitionsByElement = new Map();\n// A list of callbacks to call once there are no transitioning elements.\nlet $081cb5757e08788e$var$transitionCallbacks = new Set();\nfunction $081cb5757e08788e$var$setupGlobalEvents() {\n if (typeof window === 'undefined') return;\n function isTransitionEvent(event) {\n return 'propertyName' in event;\n }\n let onTransitionStart = (e)=>{\n let eventTarget = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n if (!isTransitionEvent(e) || !eventTarget) return;\n // Add the transitioning property to the list for this element.\n let transitions = $081cb5757e08788e$var$transitionsByElement.get(eventTarget);\n if (!transitions) {\n transitions = new Set();\n $081cb5757e08788e$var$transitionsByElement.set(eventTarget, transitions);\n // The transitioncancel event must be registered on the element itself, rather than as a global\n // event. This enables us to handle when the node is deleted from the document while it is transitioning.\n // In that case, the cancel event would have nowhere to bubble to so we need to handle it directly.\n eventTarget.addEventListener('transitioncancel', onTransitionEnd, {\n once: true\n });\n }\n transitions.add(e.propertyName);\n };\n let onTransitionEnd = (e)=>{\n let eventTarget = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n if (!isTransitionEvent(e) || !eventTarget) return;\n // Remove property from list of transitioning properties.\n let properties = $081cb5757e08788e$var$transitionsByElement.get(eventTarget);\n if (!properties) return;\n properties.delete(e.propertyName);\n // If empty, remove transitioncancel event, and remove the element from the list of transitioning elements.\n if (properties.size === 0) {\n eventTarget.removeEventListener('transitioncancel', onTransitionEnd);\n $081cb5757e08788e$var$transitionsByElement.delete(eventTarget);\n }\n // If no transitioning elements, call all of the queued callbacks.\n if ($081cb5757e08788e$var$transitionsByElement.size === 0) {\n for (let cb of $081cb5757e08788e$var$transitionCallbacks)cb();\n $081cb5757e08788e$var$transitionCallbacks.clear();\n }\n };\n document.body.addEventListener('transitionrun', onTransitionStart);\n document.body.addEventListener('transitionend', onTransitionEnd);\n}\nif (typeof document !== 'undefined') {\n if (document.readyState !== 'loading') $081cb5757e08788e$var$setupGlobalEvents();\n else document.addEventListener('DOMContentLoaded', $081cb5757e08788e$var$setupGlobalEvents);\n}\n/**\n * Cleans up any elements that are no longer in the document.\n * This is necessary because we can't rely on transitionend events to fire\n * for elements that are removed from the document while transitioning.\n */ function $081cb5757e08788e$var$cleanupDetachedElements() {\n for (const [eventTarget] of $081cb5757e08788e$var$transitionsByElement)// Similar to `eventTarget instanceof Element && !eventTarget.isConnected`, but avoids\n // the explicit instanceof check, since it may be different in different contexts.\n if ('isConnected' in eventTarget && !eventTarget.isConnected) $081cb5757e08788e$var$transitionsByElement.delete(eventTarget);\n}\nfunction $081cb5757e08788e$export$24490316f764c430(fn) {\n // Wait one frame to see if an animation starts, e.g. a transition on mount.\n requestAnimationFrame(()=>{\n $081cb5757e08788e$var$cleanupDetachedElements();\n // If no transitions are running, call the function immediately.\n // Otherwise, add it to a list of callbacks to run at the end of the animation.\n if ($081cb5757e08788e$var$transitionsByElement.size === 0) fn();\n else $081cb5757e08788e$var$transitionCallbacks.add(fn);\n });\n}\n\n\nexport {$081cb5757e08788e$export$24490316f764c430 as runAfterTransition};\n//# sourceMappingURL=runAfterTransition.mjs.map\n","import {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576, getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac} from \"../utils/domHelpers.mjs\";\nimport {useSyntheticBlurEvent as $a92dc41f639950be$export$715c682d09d639cc} from \"./utils.mjs\";\nimport {useCallback as $3siB1$useCallback} from \"react\";\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 */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n\n\nfunction $1e74c67db218ce67$export$f8168d8dd8fd66e6(props) {\n let { isDisabled: isDisabled, onFocus: onFocusProp, onBlur: onBlurProp, onFocusChange: onFocusChange } = props;\n const onBlur = (0, $3siB1$useCallback)((e)=>{\n if ((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) === e.currentTarget) {\n if (onBlurProp) onBlurProp(e);\n if (onFocusChange) onFocusChange(false);\n return true;\n }\n }, [\n onBlurProp,\n onFocusChange\n ]);\n const onSyntheticFocus = (0, $a92dc41f639950be$export$715c682d09d639cc)(onBlur);\n const onFocus = (0, $3siB1$useCallback)((e)=>{\n // Double check that document.activeElement actually matches e.target in case a previously chained\n // focus handler already moved focus somewhere else.\n let eventTarget = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n const ownerDocument = (0, $d447af545b77c9f1$export$b204af158042fbac)(eventTarget);\n const activeElement = ownerDocument ? (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)(ownerDocument) : (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)();\n if (eventTarget === e.currentTarget && eventTarget === activeElement) {\n if (onFocusProp) onFocusProp(e);\n if (onFocusChange) onFocusChange(true);\n onSyntheticFocus(e);\n }\n }, [\n onFocusChange,\n onFocusProp,\n onSyntheticFocus\n ]);\n return {\n focusProps: {\n onFocus: !isDisabled && (onFocusProp || onFocusChange || onBlurProp) ? onFocus : undefined,\n onBlur: !isDisabled && (onBlurProp || onFocusChange) ? onBlur : undefined\n }\n };\n}\n\n\nexport {$1e74c67db218ce67$export$f8168d8dd8fd66e6 as useFocus};\n//# sourceMappingURL=useFocus.mjs.map\n","import {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\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 $b7115c395c64f7b5$export$4debdb1a3f0fa79e(context, ref) {\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n if (context && context.ref && ref) {\n context.ref.current = ref.current;\n return ()=>{\n if (context.ref) context.ref.current = null;\n };\n }\n });\n}\n\n\nexport {$b7115c395c64f7b5$export$4debdb1a3f0fa79e as useSyncRef};\n//# sourceMappingURL=useSyncRef.mjs.map\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 */ const $8e9d2fae0ecb9001$var$DOMPropNames = new Set([\n 'id'\n]);\nconst $8e9d2fae0ecb9001$var$labelablePropNames = new Set([\n 'aria-label',\n 'aria-labelledby',\n 'aria-describedby',\n 'aria-details'\n]);\n// See LinkDOMProps in dom.d.ts.\nconst $8e9d2fae0ecb9001$var$linkPropNames = new Set([\n 'href',\n 'hrefLang',\n 'target',\n 'rel',\n 'download',\n 'ping',\n 'referrerPolicy'\n]);\nconst $8e9d2fae0ecb9001$var$globalAttrs = new Set([\n 'dir',\n 'lang',\n 'hidden',\n 'inert',\n 'translate'\n]);\nconst $8e9d2fae0ecb9001$var$globalEvents = new Set([\n 'onClick',\n 'onAuxClick',\n 'onContextMenu',\n 'onDoubleClick',\n 'onMouseDown',\n 'onMouseEnter',\n 'onMouseLeave',\n 'onMouseMove',\n 'onMouseOut',\n 'onMouseOver',\n 'onMouseUp',\n 'onTouchCancel',\n 'onTouchEnd',\n 'onTouchMove',\n 'onTouchStart',\n 'onPointerDown',\n 'onPointerMove',\n 'onPointerUp',\n 'onPointerCancel',\n 'onPointerEnter',\n 'onPointerLeave',\n 'onPointerOver',\n 'onPointerOut',\n 'onGotPointerCapture',\n 'onLostPointerCapture',\n 'onScroll',\n 'onWheel',\n 'onAnimationStart',\n 'onAnimationEnd',\n 'onAnimationIteration',\n 'onTransitionCancel',\n 'onTransitionEnd',\n 'onTransitionRun',\n 'onTransitionStart'\n]);\nconst $8e9d2fae0ecb9001$var$propRe = /^(data-.*)$/;\nfunction $8e9d2fae0ecb9001$export$457c3d6518dd4c6f(props, opts = {}) {\n let { labelable: labelable, isLink: isLink, global: global, events: events = global, propNames: propNames } = opts;\n let filteredProps = {};\n for(const prop in props)if (Object.prototype.hasOwnProperty.call(props, prop) && ($8e9d2fae0ecb9001$var$DOMPropNames.has(prop) || labelable && $8e9d2fae0ecb9001$var$labelablePropNames.has(prop) || isLink && $8e9d2fae0ecb9001$var$linkPropNames.has(prop) || global && $8e9d2fae0ecb9001$var$globalAttrs.has(prop) || events && ($8e9d2fae0ecb9001$var$globalEvents.has(prop) || prop.endsWith('Capture') && $8e9d2fae0ecb9001$var$globalEvents.has(prop.slice(0, -7))) || propNames?.has(prop) || $8e9d2fae0ecb9001$var$propRe.test(prop))) filteredProps[prop] = props[prop];\n return filteredProps;\n}\n\n\nexport {$8e9d2fae0ecb9001$export$457c3d6518dd4c6f as filterDOMProps};\n//# sourceMappingURL=filterDOMProps.mjs.map\n","import {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac} from \"../utils/domHelpers.mjs\";\nimport {isIOS as $2add3ce32c6007eb$export$fedb369cb70207f1} from \"../utils/platform.mjs\";\nimport {runAfterTransition as $081cb5757e08788e$export$24490316f764c430} from \"../utils/runAfterTransition.mjs\";\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// Note that state only matters here for iOS. Non-iOS gets user-select: none applied to the target element\n// rather than at the document level so we just need to apply/remove user-select: none for each pressed element individually\nlet $cbf007e418543821$var$state = 'default';\nlet $cbf007e418543821$var$savedUserSelect = '';\nlet $cbf007e418543821$var$modifiedElementMap = new WeakMap();\nfunction $cbf007e418543821$export$16a4697467175487(target) {\n if ((0, $2add3ce32c6007eb$export$fedb369cb70207f1)()) {\n if ($cbf007e418543821$var$state === 'default') {\n const documentObject = (0, $d447af545b77c9f1$export$b204af158042fbac)(target);\n $cbf007e418543821$var$savedUserSelect = documentObject.documentElement.style.webkitUserSelect;\n documentObject.documentElement.style.webkitUserSelect = 'none';\n }\n $cbf007e418543821$var$state = 'disabled';\n } else if (target instanceof HTMLElement || target instanceof SVGElement) {\n // If not iOS, store the target's original user-select and change to user-select: none\n // Ignore state since it doesn't apply for non iOS\n let property = 'userSelect' in target.style ? 'userSelect' : 'webkitUserSelect';\n $cbf007e418543821$var$modifiedElementMap.set(target, target.style[property]);\n target.style[property] = 'none';\n }\n}\nfunction $cbf007e418543821$export$b0d6fa1ab32e3295(target) {\n if ((0, $2add3ce32c6007eb$export$fedb369cb70207f1)()) {\n // If the state is already default, there's nothing to do.\n // If it is restoring, then there's no need to queue a second restore.\n if ($cbf007e418543821$var$state !== 'disabled') return;\n $cbf007e418543821$var$state = 'restoring';\n // There appears to be a delay on iOS where selection still might occur\n // after pointer up, so wait a bit before removing user-select.\n setTimeout(()=>{\n // Wait for any CSS transitions to complete so we don't recompute style\n // for the whole page in the middle of the animation and cause jank.\n (0, $081cb5757e08788e$export$24490316f764c430)(()=>{\n // Avoid race conditions\n if ($cbf007e418543821$var$state === 'restoring') {\n const documentObject = (0, $d447af545b77c9f1$export$b204af158042fbac)(target);\n if (documentObject.documentElement.style.webkitUserSelect === 'none') documentObject.documentElement.style.webkitUserSelect = $cbf007e418543821$var$savedUserSelect || '';\n $cbf007e418543821$var$savedUserSelect = '';\n $cbf007e418543821$var$state = 'default';\n }\n });\n }, 300);\n } else if (target instanceof HTMLElement || target instanceof SVGElement) // If not iOS, restore the target's original user-select if any\n // Ignore state since it doesn't apply for non iOS\n {\n if (target && $cbf007e418543821$var$modifiedElementMap.has(target)) {\n let targetOldUserSelect = $cbf007e418543821$var$modifiedElementMap.get(target);\n let property = 'userSelect' in target.style ? 'userSelect' : 'webkitUserSelect';\n if (target.style[property] === 'none') target.style[property] = targetOldUserSelect;\n if (target.getAttribute('style') === '') target.removeAttribute('style');\n $cbf007e418543821$var$modifiedElementMap.delete(target);\n }\n }\n}\n\n\nexport {$cbf007e418543821$export$16a4697467175487 as disableTextSelection, $cbf007e418543821$export$b0d6fa1ab32e3295 as restoreTextSelection};\n//# sourceMappingURL=textSelection.mjs.map\n","import {getOwnerWindow as $d447af545b77c9f1$export$f21a1ffae260145a} from \"./domHelpers.mjs\";\n\n/*\n * Copyright 2026 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 $2b2d34ff061957fb$var$getWebpackNonce(doc) {\n let ownerWindow = doc?.defaultView;\n return ownerWindow?.__webpack_nonce__ || globalThis['__webpack_nonce__'] || undefined;\n}\nlet $2b2d34ff061957fb$var$nonceCache = new WeakMap();\nfunction $2b2d34ff061957fb$export$88b319273f3705b4() {\n $2b2d34ff061957fb$var$nonceCache = new WeakMap();\n}\nfunction $2b2d34ff061957fb$export$2b85b721e524d74b(doc) {\n let d = doc ?? (typeof document !== 'undefined' ? document : undefined);\n if (!d) return $2b2d34ff061957fb$var$getWebpackNonce(d);\n if ($2b2d34ff061957fb$var$nonceCache.has(d)) return $2b2d34ff061957fb$var$nonceCache.get(d);\n let meta = d.querySelector('meta[property=\"csp-nonce\"]');\n let nonce = meta && meta instanceof (0, $d447af545b77c9f1$export$f21a1ffae260145a)(meta).HTMLMetaElement && (meta.nonce || meta.content) || $2b2d34ff061957fb$var$getWebpackNonce(d) || undefined;\n if (nonce !== undefined) $2b2d34ff061957fb$var$nonceCache.set(d, nonce);\n return nonce;\n}\n\n\nexport {$2b2d34ff061957fb$export$88b319273f3705b4 as resetNonceCache, $2b2d34ff061957fb$export$2b85b721e524d74b as getNonce};\n//# sourceMappingURL=getNonce.mjs.map\n","import $kV9Vy$react from \"react\";\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 */ \nconst $24f9a20f226ad820$export$5165eccb35aaadb5 = (0, $kV9Vy$react).createContext({\n register: ()=>{}\n});\n$24f9a20f226ad820$export$5165eccb35aaadb5.displayName = 'PressResponderContext';\n\n\nexport {$24f9a20f226ad820$export$5165eccb35aaadb5 as PressResponderContext};\n//# sourceMappingURL=context.mjs.map\n","import {useRef as $awe0O$useRef, useCallback as $awe0O$useCallback, useEffect as $awe0O$useEffect} from \"react\";\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 $48a7d519b337145d$export$4eaf04e54aa8eed6() {\n let globalListeners = (0, $awe0O$useRef)(new Map());\n let addGlobalListener = (0, $awe0O$useCallback)((eventTarget, type, listener, options)=>{\n // Make sure we remove the listener after it is called with the `once` option.\n let fn = options?.once ? (...args)=>{\n globalListeners.current.delete(listener);\n listener(...args);\n } : listener;\n globalListeners.current.set(listener, {\n type: type,\n eventTarget: eventTarget,\n fn: fn,\n options: options\n });\n eventTarget.addEventListener(type, fn, options);\n }, []);\n let removeGlobalListener = (0, $awe0O$useCallback)((eventTarget, type, listener, options)=>{\n let fn = globalListeners.current.get(listener)?.fn || listener;\n eventTarget.removeEventListener(type, fn, options);\n globalListeners.current.delete(listener);\n }, []);\n let removeAllGlobalListeners = (0, $awe0O$useCallback)(()=>{\n globalListeners.current.forEach((value, key)=>{\n removeGlobalListener(value.eventTarget, value.type, key, value.options);\n });\n }, [\n removeGlobalListener\n ]);\n (0, $awe0O$useEffect)(()=>{\n return removeAllGlobalListeners;\n }, [\n removeAllGlobalListeners\n ]);\n return {\n addGlobalListener: addGlobalListener,\n removeGlobalListener: removeGlobalListener,\n removeAllGlobalListeners: removeAllGlobalListeners\n };\n}\n\n\nexport {$48a7d519b337145d$export$4eaf04e54aa8eed6 as useGlobalListeners};\n//# sourceMappingURL=useGlobalListeners.mjs.map\n","import {chain as $a4e76a5424781910$export$e08e3b67e392101e} from \"../utils/chain.mjs\";\nimport {createSyntheticEvent as $a92dc41f639950be$export$525bc4921d56d4a, preventFocus as $a92dc41f639950be$export$cabe61c495ee3649, setEventTarget as $a92dc41f639950be$export$c2b7abe5d61ec696} from \"./utils.mjs\";\nimport {disableTextSelection as $cbf007e418543821$export$16a4697467175487, restoreTextSelection as $cbf007e418543821$export$b0d6fa1ab32e3295} from \"./textSelection.mjs\";\nimport {focusWithoutScrolling as $1969ac565cfec8d0$export$de79e2c695e052f3} from \"../utils/focusWithoutScrolling.mjs\";\nimport {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29, nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getNonce as $2b2d34ff061957fb$export$2b85b721e524d74b} from \"../utils/getNonce.mjs\";\nimport {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac, getOwnerWindow as $d447af545b77c9f1$export$f21a1ffae260145a} from \"../utils/domHelpers.mjs\";\nimport {isMac as $2add3ce32c6007eb$export$9ac100e40613ea10} from \"../utils/platform.mjs\";\nimport {isVirtualClick as $b5c62b033c25b96d$export$60278871457622de, isVirtualPointerEvent as $b5c62b033c25b96d$export$29bf1b5f2c56cf63} from \"../utils/isVirtualEvent.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {openLink as $caaf0dd3060ed57c$export$95185d699e05d4d7} from \"../utils/openLink.mjs\";\nimport {PressResponderContext as $24f9a20f226ad820$export$5165eccb35aaadb5} from \"./context.mjs\";\nimport {useEffectEvent as $fe16bffc7a557bf0$export$7f54fc3180508a52} from \"../utils/useEffectEvent.mjs\";\nimport {useGlobalListeners as $48a7d519b337145d$export$4eaf04e54aa8eed6} from \"../utils/useGlobalListeners.mjs\";\nimport {useSyncRef as $b7115c395c64f7b5$export$4debdb1a3f0fa79e} from \"../utils/useSyncRef.mjs\";\nimport {flushSync as $fL2C6$flushSync} from \"react-dom\";\nimport {useContext as $fL2C6$useContext, useState as $fL2C6$useState, useRef as $fL2C6$useRef, useCallback as $fL2C6$useCallback, useMemo as $fL2C6$useMemo, useEffect as $fL2C6$useEffect} from \"react\";\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 */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction $d27d541f9569d26d$var$usePressResponderContext(props) {\n // Consume context from <PressResponder> and merge with props.\n let context = (0, $fL2C6$useContext)((0, $24f9a20f226ad820$export$5165eccb35aaadb5));\n if (context) {\n // Prevent mergeProps from merging ref.\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n let { register: register, ref: ref, ...contextProps } = context;\n props = (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(contextProps, props);\n register();\n }\n (0, $b7115c395c64f7b5$export$4debdb1a3f0fa79e)(context, props.ref);\n return props;\n}\nclass $d27d541f9569d26d$var$PressEvent {\n #shouldStopPropagation;\n constructor(type, pointerType, originalEvent, state){\n this.#shouldStopPropagation = true;\n let currentTarget = state?.target ?? originalEvent.currentTarget;\n const rect = currentTarget?.getBoundingClientRect();\n let x, y = 0;\n let clientX, clientY = null;\n if (originalEvent.clientX != null && originalEvent.clientY != null) {\n clientX = originalEvent.clientX;\n clientY = originalEvent.clientY;\n }\n if (rect) {\n if (clientX != null && clientY != null) {\n x = clientX - rect.left;\n y = clientY - rect.top;\n } else {\n x = rect.width / 2;\n y = rect.height / 2;\n }\n }\n this.type = type;\n this.pointerType = pointerType;\n this.target = originalEvent.currentTarget;\n this.shiftKey = originalEvent.shiftKey;\n this.metaKey = originalEvent.metaKey;\n this.ctrlKey = originalEvent.ctrlKey;\n this.altKey = originalEvent.altKey;\n this.x = x;\n this.y = y;\n this.key = originalEvent.key;\n }\n continuePropagation() {\n this.#shouldStopPropagation = false;\n }\n get shouldStopPropagation() {\n return this.#shouldStopPropagation;\n }\n}\nconst $d27d541f9569d26d$var$LINK_CLICKED = Symbol('linkClicked');\nconst $d27d541f9569d26d$var$STYLE_ID = 'react-aria-pressable-style';\nconst $d27d541f9569d26d$var$PRESSABLE_ATTRIBUTE = 'data-react-aria-pressable';\nfunction $d27d541f9569d26d$export$45712eceda6fad21(props) {\n let { onPress: onPress, onPressChange: onPressChange, onPressStart: onPressStart, onPressEnd: onPressEnd, onPressUp: onPressUp, onClick: onClick, isDisabled: isDisabled, isPressed: isPressedProp, preventFocusOnPress: preventFocusOnPress, shouldCancelOnPointerExit: shouldCancelOnPointerExit, allowTextSelectionOnPress: allowTextSelectionOnPress, ref: domRef, ...domProps } = $d27d541f9569d26d$var$usePressResponderContext(props);\n let [isPressed, setPressed] = (0, $fL2C6$useState)(false);\n let ref = (0, $fL2C6$useRef)({\n isPressed: false,\n ignoreEmulatedMouseEvents: false,\n didFirePressStart: false,\n isTriggeringEvent: false,\n activePointerId: null,\n target: null,\n isOverTarget: false,\n pointerType: null,\n disposables: []\n });\n let { addGlobalListener: addGlobalListener, removeAllGlobalListeners: removeAllGlobalListeners } = (0, $48a7d519b337145d$export$4eaf04e54aa8eed6)();\n let triggerPressStart = (0, $fL2C6$useCallback)((originalEvent, pointerType)=>{\n let state = ref.current;\n if (isDisabled || state.didFirePressStart) return false;\n let shouldStopPropagation = true;\n state.isTriggeringEvent = true;\n if (onPressStart) {\n let event = new $d27d541f9569d26d$var$PressEvent('pressstart', pointerType, originalEvent);\n onPressStart(event);\n shouldStopPropagation = event.shouldStopPropagation;\n }\n if (onPressChange) onPressChange(true);\n state.isTriggeringEvent = false;\n state.didFirePressStart = true;\n setPressed(true);\n return shouldStopPropagation;\n }, [\n isDisabled,\n onPressStart,\n onPressChange\n ]);\n let triggerPressEnd = (0, $fL2C6$useCallback)((originalEvent, pointerType, wasPressed = true)=>{\n let state = ref.current;\n if (!state.didFirePressStart) return false;\n state.didFirePressStart = false;\n state.isTriggeringEvent = true;\n let shouldStopPropagation = true;\n if (onPressEnd) {\n let event = new $d27d541f9569d26d$var$PressEvent('pressend', pointerType, originalEvent);\n onPressEnd(event);\n shouldStopPropagation = event.shouldStopPropagation;\n }\n if (onPressChange) onPressChange(false);\n setPressed(false);\n if (onPress && wasPressed && !isDisabled) {\n let event = new $d27d541f9569d26d$var$PressEvent('press', pointerType, originalEvent);\n onPress(event);\n shouldStopPropagation &&= event.shouldStopPropagation;\n }\n state.isTriggeringEvent = false;\n return shouldStopPropagation;\n }, [\n isDisabled,\n onPressEnd,\n onPressChange,\n onPress\n ]);\n let triggerPressEndEvent = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)(triggerPressEnd);\n let triggerPressUp = (0, $fL2C6$useCallback)((originalEvent, pointerType)=>{\n let state = ref.current;\n if (isDisabled) return false;\n if (onPressUp) {\n state.isTriggeringEvent = true;\n let event = new $d27d541f9569d26d$var$PressEvent('pressup', pointerType, originalEvent);\n onPressUp(event);\n state.isTriggeringEvent = false;\n return event.shouldStopPropagation;\n }\n return true;\n }, [\n isDisabled,\n onPressUp\n ]);\n let triggerPressUpEvent = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)(triggerPressUp);\n let cancel = (0, $fL2C6$useCallback)((e)=>{\n let state = ref.current;\n if (state.isPressed && state.target) {\n if (state.didFirePressStart && state.pointerType != null) triggerPressEnd($d27d541f9569d26d$var$createEvent(state.target, e), state.pointerType, false);\n state.isPressed = false;\n state.isOverTarget = false;\n state.activePointerId = null;\n state.pointerType = null;\n removeAllGlobalListeners();\n if (!allowTextSelectionOnPress) (0, $cbf007e418543821$export$b0d6fa1ab32e3295)(state.target);\n for (let dispose of state.disposables)dispose();\n state.disposables = [];\n }\n }, [\n allowTextSelectionOnPress,\n removeAllGlobalListeners,\n triggerPressEnd\n ]);\n let cancelEvent = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)(cancel);\n let cancelOnPointerExit = (0, $fL2C6$useCallback)((e)=>{\n if (shouldCancelOnPointerExit) cancel(e);\n }, [\n shouldCancelOnPointerExit,\n cancel\n ]);\n let triggerClick = (0, $fL2C6$useCallback)((e)=>{\n if (isDisabled) return;\n onClick?.(e);\n }, [\n isDisabled,\n onClick\n ]);\n let triggerSyntheticClick = (0, $fL2C6$useCallback)((e, target)=>{\n if (isDisabled) return;\n // Some third-party libraries pass in onClick instead of onPress.\n // Create a fake mouse event and trigger onClick as well.\n // This matches the browser's native activation behavior for certain elements (e.g. button).\n // https://html.spec.whatwg.org/#activation\n // https://html.spec.whatwg.org/#fire-a-synthetic-pointer-event\n if (onClick) {\n let event = new MouseEvent('click', e);\n (0, $a92dc41f639950be$export$c2b7abe5d61ec696)(event, target);\n onClick((0, $a92dc41f639950be$export$525bc4921d56d4a)(event));\n }\n }, [\n isDisabled,\n onClick\n ]);\n let pressProps = (0, $fL2C6$useMemo)(()=>{\n let state = ref.current;\n let pressProps = {\n onKeyDown (e) {\n if ($d27d541f9569d26d$var$isValidKeyboardEvent(e.nativeEvent, e.currentTarget) && (0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) {\n if ($d27d541f9569d26d$var$shouldPreventDefaultKeyboard((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e), e.key)) e.preventDefault();\n // If the event is repeating, it may have started on a different element\n // after which focus moved to the current element. Ignore these events and\n // only handle the first key down event.\n let shouldStopPropagation = true;\n if (!state.isPressed && !e.repeat) {\n state.target = e.currentTarget;\n state.isPressed = true;\n state.pointerType = 'keyboard';\n shouldStopPropagation = triggerPressStart(e, 'keyboard');\n }\n // Focus may move before the key up event, so register the event on the document\n // instead of the same element where the key down event occurred. Make it capturing so that it will trigger\n // before stopPropagation from useKeyboard on a child element may happen and thus we can still call triggerPress for the parent element.\n let originalTarget = e.currentTarget;\n let pressUp = (e)=>{\n if ($d27d541f9569d26d$var$isValidKeyboardEvent(e, originalTarget) && !e.repeat && (0, $23f2114a1b82827e$export$4282f70798064fe0)(originalTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e)) && state.target) // eslint-disable-next-line react-hooks/rules-of-hooks\n triggerPressUpEvent($d27d541f9569d26d$var$createEvent(state.target, e), 'keyboard');\n };\n addGlobalListener((0, $d447af545b77c9f1$export$b204af158042fbac)(e.currentTarget), 'keyup', (0, $a4e76a5424781910$export$e08e3b67e392101e)(pressUp, onKeyUp), true);\n if (shouldStopPropagation) e.stopPropagation();\n // Keep track of the keydown events that occur while the Meta (e.g. Command) key is held.\n // macOS has a bug where keyup events are not fired while the Meta key is down.\n // When the Meta key itself is released we will get an event for that, and we'll act as if\n // all of these other keys were released as well.\n // https://bugs.chromium.org/p/chromium/issues/detail?id=1393524\n // https://bugs.webkit.org/show_bug.cgi?id=55291\n // https://bugzilla.mozilla.org/show_bug.cgi?id=1299553\n if (e.metaKey && (0, $2add3ce32c6007eb$export$9ac100e40613ea10)()) state.metaKeyEvents?.set(e.key, e.nativeEvent);\n } else if (e.key === 'Meta') state.metaKeyEvents = new Map();\n },\n onClick (e) {\n if (e && !(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n if (e && e.button === 0 && !state.isTriggeringEvent && !(0, $caaf0dd3060ed57c$export$95185d699e05d4d7).isOpening) {\n let shouldStopPropagation = true;\n if (isDisabled) e.preventDefault();\n // If triggered from a screen reader or by using element.click(),\n // trigger as if it were a keyboard click.\n if (!state.ignoreEmulatedMouseEvents && !state.isPressed && (state.pointerType === 'virtual' || (0, $b5c62b033c25b96d$export$60278871457622de)(e.nativeEvent))) {\n let stopPressStart = triggerPressStart(e, 'virtual');\n // eslint-disable-next-line react-hooks/rules-of-hooks\n let stopPressUp = triggerPressUpEvent(e, 'virtual');\n // eslint-disable-next-line react-hooks/rules-of-hooks\n let stopPressEnd = triggerPressEndEvent(e, 'virtual');\n triggerClick(e);\n shouldStopPropagation = stopPressStart && stopPressUp && stopPressEnd;\n } else if (state.isPressed && state.pointerType !== 'keyboard') {\n let pointerType = state.pointerType || e.nativeEvent.pointerType || 'virtual';\n // eslint-disable-next-line react-hooks/rules-of-hooks\n let stopPressUp = triggerPressUpEvent($d27d541f9569d26d$var$createEvent(e.currentTarget, e), pointerType);\n // eslint-disable-next-line react-hooks/rules-of-hooks\n let stopPressEnd = triggerPressEndEvent($d27d541f9569d26d$var$createEvent(e.currentTarget, e), pointerType, true);\n shouldStopPropagation = stopPressUp && stopPressEnd;\n state.isOverTarget = false;\n triggerClick(e);\n // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent(e);\n }\n state.ignoreEmulatedMouseEvents = false;\n if (shouldStopPropagation) e.stopPropagation();\n }\n }\n };\n let onKeyUp = (e)=>{\n if (state.isPressed && state.target && $d27d541f9569d26d$var$isValidKeyboardEvent(e, state.target)) {\n if ($d27d541f9569d26d$var$shouldPreventDefaultKeyboard((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e), e.key)) e.preventDefault();\n let target = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n let wasPressed = (0, $23f2114a1b82827e$export$4282f70798064fe0)(state.target, target);\n // eslint-disable-next-line react-hooks/rules-of-hooks\n triggerPressEndEvent($d27d541f9569d26d$var$createEvent(state.target, e), 'keyboard', wasPressed);\n if (wasPressed) triggerSyntheticClick(e, state.target);\n removeAllGlobalListeners();\n // If a link was triggered with a key other than Enter, open the URL ourselves.\n // This means the link has a role override, and the default browser behavior\n // only applies when using the Enter key.\n if (e.key !== 'Enter' && $d27d541f9569d26d$var$isHTMLAnchorLink(state.target) && (0, $23f2114a1b82827e$export$4282f70798064fe0)(state.target, target) && !e[$d27d541f9569d26d$var$LINK_CLICKED]) {\n // Store a hidden property on the event so we only trigger link click once,\n // even if there are multiple usePress instances attached to the element.\n e[$d27d541f9569d26d$var$LINK_CLICKED] = true;\n (0, $caaf0dd3060ed57c$export$95185d699e05d4d7)(state.target, e, false);\n }\n state.isPressed = false;\n state.metaKeyEvents?.delete(e.key);\n } else if (e.key === 'Meta' && state.metaKeyEvents?.size) {\n // If we recorded keydown events that occurred while the Meta key was pressed,\n // and those haven't received keyup events already, fire keyup events ourselves.\n // See comment above for more info about the macOS bug causing this.\n let events = state.metaKeyEvents;\n state.metaKeyEvents = undefined;\n for (let event of events.values())state.target?.dispatchEvent(new KeyboardEvent('keyup', event));\n }\n };\n if (typeof PointerEvent !== 'undefined') {\n pressProps.onPointerDown = (e)=>{\n // Only handle left clicks, and ignore events that bubbled through portals.\n if (e.button !== 0 || !(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n // iOS safari fires pointer events from VoiceOver with incorrect coordinates/target.\n // Ignore and let the onClick handler take care of it instead.\n // https://bugs.webkit.org/show_bug.cgi?id=222627\n // https://bugs.webkit.org/show_bug.cgi?id=223202\n if ((0, $b5c62b033c25b96d$export$29bf1b5f2c56cf63)(e.nativeEvent)) {\n state.pointerType = 'virtual';\n return;\n }\n state.pointerType = e.pointerType;\n let shouldStopPropagation = true;\n if (!state.isPressed) {\n state.isPressed = true;\n state.isOverTarget = true;\n state.activePointerId = e.pointerId;\n state.target = e.currentTarget;\n if (!allowTextSelectionOnPress) (0, $cbf007e418543821$export$16a4697467175487)(state.target);\n shouldStopPropagation = triggerPressStart(e, state.pointerType);\n // Release pointer capture so that touch interactions can leave the original target.\n // This enables onPointerLeave and onPointerEnter to fire.\n let target = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n if ('releasePointerCapture' in target) {\n if ('hasPointerCapture' in target) {\n if (target.hasPointerCapture(e.pointerId)) target.releasePointerCapture(e.pointerId);\n } else target.releasePointerCapture(e.pointerId);\n }\n addGlobalListener((0, $d447af545b77c9f1$export$b204af158042fbac)(e.currentTarget), 'pointerup', onPointerUp, false);\n addGlobalListener((0, $d447af545b77c9f1$export$b204af158042fbac)(e.currentTarget), 'pointercancel', onPointerCancel, false);\n }\n if (shouldStopPropagation) e.stopPropagation();\n };\n pressProps.onMouseDown = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n if (e.button === 0) {\n if (preventFocusOnPress) {\n let dispose = (0, $a92dc41f639950be$export$cabe61c495ee3649)(e.target);\n if (dispose) state.disposables.push(dispose);\n }\n e.stopPropagation();\n }\n };\n pressProps.onPointerUp = (e)=>{\n // iOS fires pointerup with zero width and height, so check the pointerType recorded during pointerdown.\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e)) || state.pointerType === 'virtual') return;\n // Only handle left clicks. If isPressed is true, delay until onClick.\n if (e.button === 0 && !state.isPressed) // eslint-disable-next-line react-hooks/rules-of-hooks\n triggerPressUpEvent(e, state.pointerType || e.pointerType);\n };\n pressProps.onPointerEnter = (e)=>{\n if (e.pointerId === state.activePointerId && state.target && !state.isOverTarget && state.pointerType != null) {\n state.isOverTarget = true;\n triggerPressStart($d27d541f9569d26d$var$createEvent(state.target, e), state.pointerType);\n }\n };\n pressProps.onPointerLeave = (e)=>{\n if (e.pointerId === state.activePointerId && state.target && state.isOverTarget && state.pointerType != null) {\n state.isOverTarget = false;\n // eslint-disable-next-line react-hooks/rules-of-hooks\n triggerPressEndEvent($d27d541f9569d26d$var$createEvent(state.target, e), state.pointerType, false);\n cancelOnPointerExit(e);\n }\n };\n let onPointerUp = (e)=>{\n if (e.pointerId === state.activePointerId && state.isPressed && e.button === 0 && state.target) {\n if ((0, $23f2114a1b82827e$export$4282f70798064fe0)(state.target, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e)) && state.pointerType != null) {\n // Wait for onClick to fire onPress. This avoids browser issues when the DOM\n // is mutated between onPointerUp and onClick, and is more compatible with third party libraries.\n // https://github.com/adobe/react-spectrum/issues/1513\n // https://issues.chromium.org/issues/40732224\n // However, iOS and Android do not focus or fire onClick after a long press.\n // We work around this by triggering a click ourselves after a timeout.\n // This timeout is canceled during the click event in case the real one fires first.\n // The timeout must be at least 32ms, because Safari on iOS delays the click event on\n // non-form elements without certain ARIA roles (for hover emulation).\n // https://github.com/WebKit/WebKit/blob/dccfae42bb29bd4bdef052e469f604a9387241c0/Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm#L875-L892\n let clicked = false;\n let timeout = setTimeout(()=>{\n if (state.isPressed && state.target instanceof HTMLElement) {\n if (clicked) // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent(e);\n else {\n (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(state.target);\n state.target.click();\n }\n }\n }, 80);\n // Use a capturing listener to track if a click occurred.\n // If stopPropagation is called it may never reach our handler.\n addGlobalListener(e.currentTarget, 'click', ()=>clicked = true, true);\n state.disposables.push(()=>clearTimeout(timeout));\n } else // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent(e);\n // Ignore subsequent onPointerLeave event before onClick on touch devices.\n state.isOverTarget = false;\n }\n };\n let onPointerCancel = (e)=>{\n // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent(e);\n };\n pressProps.onDragStart = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n // Safari does not call onPointerCancel when a drag starts, whereas Chrome and Firefox do.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent(e);\n };\n } else if (process.env.NODE_ENV === 'test') {\n // NOTE: this fallback branch is entirely used by unit tests.\n // All browsers now support pointer events, but JSDOM still does not.\n pressProps.onMouseDown = (e)=>{\n // Only handle left clicks\n if (e.button !== 0 || !(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n if (state.ignoreEmulatedMouseEvents) {\n e.stopPropagation();\n return;\n }\n state.isPressed = true;\n state.isOverTarget = true;\n state.target = e.currentTarget;\n state.pointerType = (0, $b5c62b033c25b96d$export$60278871457622de)(e.nativeEvent) ? 'virtual' : 'mouse';\n // Flush sync so that focus moved during react re-renders occurs before we yield back to the browser.\n let shouldStopPropagation = (0, $fL2C6$flushSync)(()=>triggerPressStart(e, state.pointerType));\n if (shouldStopPropagation) e.stopPropagation();\n if (preventFocusOnPress) {\n let dispose = (0, $a92dc41f639950be$export$cabe61c495ee3649)(e.target);\n if (dispose) state.disposables.push(dispose);\n }\n addGlobalListener((0, $d447af545b77c9f1$export$b204af158042fbac)(e.currentTarget), 'mouseup', onMouseUp, false);\n };\n pressProps.onMouseEnter = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n let shouldStopPropagation = true;\n if (state.isPressed && !state.ignoreEmulatedMouseEvents && state.pointerType != null) {\n state.isOverTarget = true;\n shouldStopPropagation = triggerPressStart(e, state.pointerType);\n }\n if (shouldStopPropagation) e.stopPropagation();\n };\n pressProps.onMouseLeave = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n let shouldStopPropagation = true;\n if (state.isPressed && !state.ignoreEmulatedMouseEvents && state.pointerType != null) {\n state.isOverTarget = false;\n // eslint-disable-next-line react-hooks/rules-of-hooks\n shouldStopPropagation = triggerPressEndEvent(e, state.pointerType, false);\n cancelOnPointerExit(e);\n }\n if (shouldStopPropagation) e.stopPropagation();\n };\n pressProps.onMouseUp = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n if (!state.ignoreEmulatedMouseEvents && e.button === 0 && !state.isPressed) // eslint-disable-next-line react-hooks/rules-of-hooks\n triggerPressUpEvent(e, state.pointerType || 'mouse');\n };\n let onMouseUp = (e)=>{\n // Only handle left clicks\n if (e.button !== 0) return;\n if (state.ignoreEmulatedMouseEvents) {\n state.ignoreEmulatedMouseEvents = false;\n return;\n }\n if (state.target && (0, $23f2114a1b82827e$export$4282f70798064fe0)(state.target, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e)) && state.pointerType != null) ;\n else // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent(e);\n state.isOverTarget = false;\n };\n pressProps.onTouchStart = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n let touch = $d27d541f9569d26d$var$getTouchFromEvent(e.nativeEvent);\n if (!touch) return;\n state.activePointerId = touch.identifier;\n state.ignoreEmulatedMouseEvents = true;\n state.isOverTarget = true;\n state.isPressed = true;\n state.target = e.currentTarget;\n state.pointerType = 'touch';\n if (!allowTextSelectionOnPress) (0, $cbf007e418543821$export$16a4697467175487)(state.target);\n let shouldStopPropagation = triggerPressStart($d27d541f9569d26d$var$createTouchEvent(state.target, e), state.pointerType);\n if (shouldStopPropagation) e.stopPropagation();\n addGlobalListener((0, $d447af545b77c9f1$export$f21a1ffae260145a)(e.currentTarget), 'scroll', onScroll, true);\n };\n pressProps.onTouchMove = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n if (!state.isPressed) {\n e.stopPropagation();\n return;\n }\n let touch = $d27d541f9569d26d$var$getTouchById(e.nativeEvent, state.activePointerId);\n let shouldStopPropagation = true;\n if (touch && $d27d541f9569d26d$var$isOverTarget(touch, e.currentTarget)) {\n if (!state.isOverTarget && state.pointerType != null) {\n state.isOverTarget = true;\n shouldStopPropagation = triggerPressStart($d27d541f9569d26d$var$createTouchEvent(state.target, e), state.pointerType);\n }\n } else if (state.isOverTarget && state.pointerType != null) {\n state.isOverTarget = false;\n // eslint-disable-next-line react-hooks/rules-of-hooks\n shouldStopPropagation = triggerPressEndEvent($d27d541f9569d26d$var$createTouchEvent(state.target, e), state.pointerType, false);\n cancelOnPointerExit($d27d541f9569d26d$var$createTouchEvent(state.target, e));\n }\n if (shouldStopPropagation) e.stopPropagation();\n };\n pressProps.onTouchEnd = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n if (!state.isPressed) {\n e.stopPropagation();\n return;\n }\n let touch = $d27d541f9569d26d$var$getTouchById(e.nativeEvent, state.activePointerId);\n let shouldStopPropagation = true;\n if (touch && $d27d541f9569d26d$var$isOverTarget(touch, e.currentTarget) && state.pointerType != null) {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n triggerPressUpEvent($d27d541f9569d26d$var$createTouchEvent(state.target, e), state.pointerType);\n // eslint-disable-next-line react-hooks/rules-of-hooks\n shouldStopPropagation = triggerPressEndEvent($d27d541f9569d26d$var$createTouchEvent(state.target, e), state.pointerType);\n triggerSyntheticClick(e.nativeEvent, state.target);\n } else if (state.isOverTarget && state.pointerType != null) // eslint-disable-next-line react-hooks/rules-of-hooks\n shouldStopPropagation = triggerPressEndEvent($d27d541f9569d26d$var$createTouchEvent(state.target, e), state.pointerType, false);\n if (shouldStopPropagation) e.stopPropagation();\n state.isPressed = false;\n state.activePointerId = null;\n state.isOverTarget = false;\n state.ignoreEmulatedMouseEvents = true;\n if (state.target && !allowTextSelectionOnPress) (0, $cbf007e418543821$export$b0d6fa1ab32e3295)(state.target);\n removeAllGlobalListeners();\n };\n pressProps.onTouchCancel = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n e.stopPropagation();\n if (state.isPressed) // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent($d27d541f9569d26d$var$createTouchEvent(state.target, e));\n };\n let onScroll = (e)=>{\n if (state.isPressed && (0, $23f2114a1b82827e$export$4282f70798064fe0)((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e), state.target)) // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent({\n currentTarget: state.target,\n shiftKey: false,\n ctrlKey: false,\n metaKey: false,\n altKey: false\n });\n };\n pressProps.onDragStart = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent(e);\n };\n }\n return pressProps;\n }, [\n addGlobalListener,\n isDisabled,\n preventFocusOnPress,\n removeAllGlobalListeners,\n allowTextSelectionOnPress,\n cancelOnPointerExit,\n triggerPressStart,\n triggerClick,\n triggerSyntheticClick\n ]);\n // Avoid onClick delay for double tap to zoom by default.\n (0, $fL2C6$useEffect)(()=>{\n if (!domRef || process.env.NODE_ENV === 'test') return;\n const ownerDocument = (0, $d447af545b77c9f1$export$b204af158042fbac)(domRef.current);\n if (!ownerDocument || !ownerDocument.head || ownerDocument.getElementById($d27d541f9569d26d$var$STYLE_ID)) return;\n const style = ownerDocument.createElement('style');\n style.id = $d27d541f9569d26d$var$STYLE_ID;\n let nonce = (0, $2b2d34ff061957fb$export$2b85b721e524d74b)(ownerDocument);\n if (nonce) style.nonce = nonce;\n // touchAction: 'manipulation' is supposed to be equivalent, but in\n // Safari it causes onPointerCancel not to fire on scroll.\n // https://bugs.webkit.org/show_bug.cgi?id=240917\n style.textContent = `\n@layer {\n [${$d27d541f9569d26d$var$PRESSABLE_ATTRIBUTE}] {\n touch-action: pan-x pan-y pinch-zoom;\n }\n}\n `.trim();\n ownerDocument.head.prepend(style);\n }, [\n domRef\n ]);\n // Remove user-select: none in case component unmounts immediately after pressStart\n (0, $fL2C6$useEffect)(()=>{\n let state = ref.current;\n return ()=>{\n if (!allowTextSelectionOnPress) (0, $cbf007e418543821$export$b0d6fa1ab32e3295)(state.target ?? undefined);\n for (let dispose of state.disposables)dispose();\n state.disposables = [];\n };\n }, [\n allowTextSelectionOnPress\n ]);\n return {\n isPressed: isPressedProp || isPressed,\n pressProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(domProps, pressProps, {\n [$d27d541f9569d26d$var$PRESSABLE_ATTRIBUTE]: true\n })\n };\n}\nfunction $d27d541f9569d26d$var$isHTMLAnchorLink(target) {\n return target.tagName === 'A' && target.hasAttribute('href');\n}\nfunction $d27d541f9569d26d$var$isValidKeyboardEvent(event, currentTarget) {\n const { key: key, code: code } = event;\n const element = currentTarget;\n const role = element.getAttribute('role');\n // Accessibility for keyboards. Space and Enter only.\n // \"Spacebar\" is for IE 11\n return (key === 'Enter' || key === ' ' || key === 'Spacebar' || code === 'Space') && !(element instanceof (0, $d447af545b77c9f1$export$f21a1ffae260145a)(element).HTMLInputElement && !$d27d541f9569d26d$var$isValidInputKey(element, key) || element instanceof (0, $d447af545b77c9f1$export$f21a1ffae260145a)(element).HTMLTextAreaElement || element.isContentEditable) && // Links should only trigger with Enter key\n !((role === 'link' || !role && $d27d541f9569d26d$var$isHTMLAnchorLink(element)) && key !== 'Enter');\n}\nfunction $d27d541f9569d26d$var$getTouchFromEvent(event) {\n const { targetTouches: targetTouches } = event;\n if (targetTouches.length > 0) return targetTouches[0];\n return null;\n}\nfunction $d27d541f9569d26d$var$getTouchById(event, pointerId) {\n const changedTouches = event.changedTouches;\n for(let i = 0; i < changedTouches.length; i++){\n const touch = changedTouches[i];\n if (touch.identifier === pointerId) return touch;\n }\n return null;\n}\nfunction $d27d541f9569d26d$var$createTouchEvent(target, e) {\n let clientX = 0;\n let clientY = 0;\n if (e.targetTouches && e.targetTouches.length === 1) {\n clientX = e.targetTouches[0].clientX;\n clientY = e.targetTouches[0].clientY;\n }\n return {\n currentTarget: target,\n shiftKey: e.shiftKey,\n ctrlKey: e.ctrlKey,\n metaKey: e.metaKey,\n altKey: e.altKey,\n clientX: clientX,\n clientY: clientY\n };\n}\nfunction $d27d541f9569d26d$var$createEvent(target, e) {\n let clientX = e.clientX;\n let clientY = e.clientY;\n return {\n currentTarget: target,\n shiftKey: e.shiftKey,\n ctrlKey: e.ctrlKey,\n metaKey: e.metaKey,\n altKey: e.altKey,\n clientX: clientX,\n clientY: clientY,\n key: e.key\n };\n}\nfunction $d27d541f9569d26d$var$getPointClientRect(point) {\n let offsetX = 0;\n let offsetY = 0;\n if (point.width !== undefined) offsetX = point.width / 2;\n else if (point.radiusX !== undefined) offsetX = point.radiusX;\n if (point.height !== undefined) offsetY = point.height / 2;\n else if (point.radiusY !== undefined) offsetY = point.radiusY;\n return {\n top: point.clientY - offsetY,\n right: point.clientX + offsetX,\n bottom: point.clientY + offsetY,\n left: point.clientX - offsetX\n };\n}\nfunction $d27d541f9569d26d$var$areRectanglesOverlapping(a, b) {\n // check if they cannot overlap on x axis\n if (a.left > b.right || b.left > a.right) return false;\n // check if they cannot overlap on y axis\n if (a.top > b.bottom || b.top > a.bottom) return false;\n return true;\n}\nfunction $d27d541f9569d26d$var$isOverTarget(point, target) {\n let rect = target.getBoundingClientRect();\n let pointRect = $d27d541f9569d26d$var$getPointClientRect(point);\n return $d27d541f9569d26d$var$areRectanglesOverlapping(rect, pointRect);\n}\nfunction $d27d541f9569d26d$var$shouldPreventDefaultUp(target) {\n if (target instanceof HTMLInputElement) return false;\n if (target instanceof HTMLButtonElement) return target.type !== 'submit' && target.type !== 'reset';\n if ($d27d541f9569d26d$var$isHTMLAnchorLink(target)) return false;\n return true;\n}\nfunction $d27d541f9569d26d$var$shouldPreventDefaultKeyboard(target, key) {\n if (target instanceof HTMLInputElement) return !$d27d541f9569d26d$var$isValidInputKey(target, key);\n return $d27d541f9569d26d$var$shouldPreventDefaultUp(target);\n}\nconst $d27d541f9569d26d$var$nonTextInputTypes = new Set([\n 'checkbox',\n 'radio',\n 'range',\n 'color',\n 'file',\n 'image',\n 'button',\n 'submit',\n 'reset'\n]);\nfunction $d27d541f9569d26d$var$isValidInputKey(target, key) {\n // Only space should toggle checkboxes and radios, not enter.\n return target.type === 'checkbox' || target.type === 'radio' ? key === ' ' : $d27d541f9569d26d$var$nonTextInputTypes.has(target.type);\n}\n\n\nexport {$d27d541f9569d26d$export$45712eceda6fad21 as usePress};\n//# sourceMappingURL=usePress.mjs.map\n","import {createSyntheticEvent as $a92dc41f639950be$export$525bc4921d56d4a, setEventTarget as $a92dc41f639950be$export$c2b7abe5d61ec696, useSyntheticBlurEvent as $a92dc41f639950be$export$715c682d09d639cc} from \"./utils.mjs\";\nimport {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576, getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29, nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac} from \"../utils/domHelpers.mjs\";\nimport {useGlobalListeners as $48a7d519b337145d$export$4eaf04e54aa8eed6} from \"../utils/useGlobalListeners.mjs\";\nimport {useRef as $5319z$useRef, useCallback as $5319z$useCallback} from \"react\";\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 */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n\n\n\nfunction $2c9edc598a03d523$export$420e68273165f4ec(props) {\n let { isDisabled: isDisabled, onBlurWithin: onBlurWithin, onFocusWithin: onFocusWithin, onFocusWithinChange: onFocusWithinChange } = props;\n let state = (0, $5319z$useRef)({\n isFocusWithin: false\n });\n let { addGlobalListener: addGlobalListener, removeAllGlobalListeners: removeAllGlobalListeners } = (0, $48a7d519b337145d$export$4eaf04e54aa8eed6)();\n let onBlur = (0, $5319z$useCallback)((e)=>{\n // Ignore events bubbling through portals.\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n // We don't want to trigger onBlurWithin and then immediately onFocusWithin again\n // when moving focus inside the element. Only trigger if the currentTarget doesn't\n // include the relatedTarget (where focus is moving).\n if (state.current.isFocusWithin && !(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, e.relatedTarget)) {\n state.current.isFocusWithin = false;\n removeAllGlobalListeners();\n if (onBlurWithin) onBlurWithin(e);\n if (onFocusWithinChange) onFocusWithinChange(false);\n }\n }, [\n onBlurWithin,\n onFocusWithinChange,\n state,\n removeAllGlobalListeners\n ]);\n let onSyntheticFocus = (0, $a92dc41f639950be$export$715c682d09d639cc)(onBlur);\n let onFocus = (0, $5319z$useCallback)((e)=>{\n // Ignore events bubbling through portals.\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n // Double check that document.activeElement actually matches e.target in case a previously chained\n // focus handler already moved focus somewhere else.\n let eventTarget = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n const ownerDocument = (0, $d447af545b77c9f1$export$b204af158042fbac)(eventTarget);\n const activeElement = (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)(ownerDocument);\n if (!state.current.isFocusWithin && activeElement === eventTarget) {\n if (onFocusWithin) onFocusWithin(e);\n if (onFocusWithinChange) onFocusWithinChange(true);\n state.current.isFocusWithin = true;\n onSyntheticFocus(e);\n // Browsers don't fire blur events when elements are removed from the DOM.\n // However, if a focus event occurs outside the element we're tracking, we\n // can manually fire onBlur.\n let currentTarget = e.currentTarget;\n addGlobalListener(ownerDocument, 'focus', (e)=>{\n let eventTarget = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n if (state.current.isFocusWithin && !(0, $23f2114a1b82827e$export$4282f70798064fe0)(currentTarget, eventTarget)) {\n let nativeEvent = new ownerDocument.defaultView.FocusEvent('blur', {\n relatedTarget: eventTarget\n });\n (0, $a92dc41f639950be$export$c2b7abe5d61ec696)(nativeEvent, currentTarget);\n let event = (0, $a92dc41f639950be$export$525bc4921d56d4a)(nativeEvent);\n onBlur(event);\n }\n }, {\n capture: true\n });\n }\n }, [\n onFocusWithin,\n onFocusWithinChange,\n onSyntheticFocus,\n addGlobalListener,\n onBlur\n ]);\n if (isDisabled) return {\n focusWithinProps: {\n // These cannot be null, that would conflict in mergeProps\n onFocus: undefined,\n onBlur: undefined\n }\n };\n return {\n focusWithinProps: {\n onFocus: onFocus,\n onBlur: onBlur\n }\n };\n}\n\n\nexport {$2c9edc598a03d523$export$420e68273165f4ec as useFocusWithin};\n//# sourceMappingURL=useFocusWithin.mjs.map\n","import {isFocusVisible as $8f5a2122b0992be3$export$b9b3dfddab17db27, useFocusVisibleListener as $8f5a2122b0992be3$export$ec71b4b83ac08ec3} from \"../interactions/useFocusVisible.mjs\";\nimport {useFocus as $1e74c67db218ce67$export$f8168d8dd8fd66e6} from \"../interactions/useFocus.mjs\";\nimport {useFocusWithin as $2c9edc598a03d523$export$420e68273165f4ec} from \"../interactions/useFocusWithin.mjs\";\nimport {useRef as $3s2y0$useRef, useState as $3s2y0$useState, useCallback as $3s2y0$useCallback} from \"react\";\n\n\n\n\n\nfunction $0c4a58759813079a$export$4e328f61c538687f(props = {}) {\n let { autoFocus: autoFocus = false, isTextInput: isTextInput, within: within } = props;\n let state = (0, $3s2y0$useRef)({\n isFocused: false,\n isFocusVisible: autoFocus || (0, $8f5a2122b0992be3$export$b9b3dfddab17db27)()\n });\n let [isFocused, setFocused] = (0, $3s2y0$useState)(false);\n let [isFocusVisibleState, setFocusVisible] = (0, $3s2y0$useState)(()=>state.current.isFocused && state.current.isFocusVisible);\n let updateState = (0, $3s2y0$useCallback)(()=>setFocusVisible(state.current.isFocused && state.current.isFocusVisible), []);\n let onFocusChange = (0, $3s2y0$useCallback)((isFocused)=>{\n state.current.isFocused = isFocused;\n state.current.isFocusVisible = (0, $8f5a2122b0992be3$export$b9b3dfddab17db27)();\n setFocused(isFocused);\n updateState();\n }, [\n updateState\n ]);\n (0, $8f5a2122b0992be3$export$ec71b4b83ac08ec3)((isFocusVisible)=>{\n state.current.isFocusVisible = isFocusVisible;\n updateState();\n }, [\n isTextInput,\n isFocused\n ], {\n enabled: isFocused,\n isTextInput: isTextInput\n });\n let { focusProps: focusProps } = (0, $1e74c67db218ce67$export$f8168d8dd8fd66e6)({\n isDisabled: within,\n onFocusChange: onFocusChange\n });\n let { focusWithinProps: focusWithinProps } = (0, $2c9edc598a03d523$export$420e68273165f4ec)({\n isDisabled: !within,\n onFocusWithinChange: onFocusChange\n });\n return {\n isFocused: isFocused,\n isFocusVisible: isFocusVisibleState,\n focusProps: within ? focusWithinProps : focusProps\n };\n}\n\n\nexport {$0c4a58759813079a$export$4e328f61c538687f as useFocusRing};\n//# sourceMappingURL=useFocusRing.mjs.map\n","import {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29, nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac} from \"../utils/domHelpers.mjs\";\nimport {useGlobalListeners as $48a7d519b337145d$export$4eaf04e54aa8eed6} from \"../utils/useGlobalListeners.mjs\";\nimport {useState as $hZqKM$useState, useRef as $hZqKM$useRef, useEffect as $hZqKM$useEffect, useMemo as $hZqKM$useMemo} from \"react\";\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 */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n\n\n// iOS fires onPointerEnter twice: once with pointerType=\"touch\" and again with pointerType=\"mouse\".\n// We want to ignore these emulated events so they do not trigger hover behavior.\n// See https://bugs.webkit.org/show_bug.cgi?id=214609.\nlet $e969f22b6713ca4a$var$globalIgnoreEmulatedMouseEvents = false;\nlet $e969f22b6713ca4a$var$hoverCount = 0;\nfunction $e969f22b6713ca4a$var$setGlobalIgnoreEmulatedMouseEvents() {\n $e969f22b6713ca4a$var$globalIgnoreEmulatedMouseEvents = true;\n // Clear globalIgnoreEmulatedMouseEvents after a short timeout. iOS fires onPointerEnter\n // with pointerType=\"mouse\" immediately after onPointerUp and before onFocus. On other\n // devices that don't have this quirk, we don't want to ignore a mouse hover sometime in\n // the distant future because a user previously touched the element.\n setTimeout(()=>{\n $e969f22b6713ca4a$var$globalIgnoreEmulatedMouseEvents = false;\n }, 500);\n}\nfunction $e969f22b6713ca4a$var$handleGlobalPointerEvent(e) {\n if (e.pointerType === 'touch') $e969f22b6713ca4a$var$setGlobalIgnoreEmulatedMouseEvents();\n}\nfunction $e969f22b6713ca4a$var$setupGlobalTouchEvents() {\n let ownerDocument = (0, $d447af545b77c9f1$export$b204af158042fbac)(null);\n if (typeof ownerDocument === 'undefined') return;\n if ($e969f22b6713ca4a$var$hoverCount === 0) {\n if (typeof PointerEvent !== 'undefined') ownerDocument.addEventListener('pointerup', $e969f22b6713ca4a$var$handleGlobalPointerEvent);\n else if (process.env.NODE_ENV === 'test') ownerDocument.addEventListener('touchend', $e969f22b6713ca4a$var$setGlobalIgnoreEmulatedMouseEvents);\n }\n $e969f22b6713ca4a$var$hoverCount++;\n return ()=>{\n $e969f22b6713ca4a$var$hoverCount--;\n if ($e969f22b6713ca4a$var$hoverCount > 0) return;\n if (typeof PointerEvent !== 'undefined') ownerDocument.removeEventListener('pointerup', $e969f22b6713ca4a$var$handleGlobalPointerEvent);\n else if (process.env.NODE_ENV === 'test') ownerDocument.removeEventListener('touchend', $e969f22b6713ca4a$var$setGlobalIgnoreEmulatedMouseEvents);\n };\n}\nfunction $e969f22b6713ca4a$export$ae780daf29e6d456(props) {\n let { onHoverStart: onHoverStart, onHoverChange: onHoverChange, onHoverEnd: onHoverEnd, isDisabled: isDisabled } = props;\n let [isHovered, setHovered] = (0, $hZqKM$useState)(false);\n let state = (0, $hZqKM$useRef)({\n isHovered: false,\n ignoreEmulatedMouseEvents: false,\n pointerType: '',\n target: null\n }).current;\n (0, $hZqKM$useEffect)($e969f22b6713ca4a$var$setupGlobalTouchEvents, []);\n let { addGlobalListener: addGlobalListener, removeAllGlobalListeners: removeAllGlobalListeners } = (0, $48a7d519b337145d$export$4eaf04e54aa8eed6)();\n let { hoverProps: hoverProps, triggerHoverEnd: triggerHoverEnd } = (0, $hZqKM$useMemo)(()=>{\n let triggerHoverStart = (event, pointerType)=>{\n state.pointerType = pointerType;\n if (isDisabled || pointerType === 'touch' || state.isHovered || !(0, $23f2114a1b82827e$export$4282f70798064fe0)(event.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(event))) return;\n state.isHovered = true;\n let target = event.currentTarget;\n state.target = target;\n // When an element that is hovered over is removed, no pointerleave event is fired by the browser,\n // even though the originally hovered target may have shrunk in size so it is no longer hovered.\n // However, a pointerover event will be fired on the new target the mouse is over.\n // In Chrome this happens immediately. In Safari and Firefox, it happens upon moving the mouse one pixel.\n addGlobalListener((0, $d447af545b77c9f1$export$b204af158042fbac)((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(event)), 'pointerover', (e)=>{\n if (state.isHovered && state.target && !(0, $23f2114a1b82827e$export$4282f70798064fe0)(state.target, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) triggerHoverEnd(e, e.pointerType);\n }, {\n capture: true\n });\n if (onHoverStart) onHoverStart({\n type: 'hoverstart',\n target: target,\n pointerType: pointerType\n });\n if (onHoverChange) onHoverChange(true);\n setHovered(true);\n };\n let triggerHoverEnd = (event, pointerType)=>{\n let target = state.target;\n state.pointerType = '';\n state.target = null;\n if (pointerType === 'touch' || !state.isHovered || !target) return;\n state.isHovered = false;\n removeAllGlobalListeners();\n if (onHoverEnd) onHoverEnd({\n type: 'hoverend',\n target: target,\n pointerType: pointerType\n });\n if (onHoverChange) onHoverChange(false);\n setHovered(false);\n };\n let hoverProps = {};\n if (typeof PointerEvent !== 'undefined') {\n hoverProps.onPointerEnter = (e)=>{\n if ($e969f22b6713ca4a$var$globalIgnoreEmulatedMouseEvents && e.pointerType === 'mouse') return;\n triggerHoverStart(e, e.pointerType);\n };\n hoverProps.onPointerLeave = (e)=>{\n if (!isDisabled && (0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) triggerHoverEnd(e, e.pointerType);\n };\n } else if (process.env.NODE_ENV === 'test') {\n hoverProps.onTouchStart = ()=>{\n state.ignoreEmulatedMouseEvents = true;\n };\n hoverProps.onMouseEnter = (e)=>{\n if (!state.ignoreEmulatedMouseEvents && !$e969f22b6713ca4a$var$globalIgnoreEmulatedMouseEvents) triggerHoverStart(e, 'mouse');\n state.ignoreEmulatedMouseEvents = false;\n };\n hoverProps.onMouseLeave = (e)=>{\n if (!isDisabled && (0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) triggerHoverEnd(e, 'mouse');\n };\n }\n return {\n hoverProps: hoverProps,\n triggerHoverEnd: triggerHoverEnd\n };\n }, [\n onHoverStart,\n onHoverChange,\n onHoverEnd,\n isDisabled,\n state,\n addGlobalListener,\n removeAllGlobalListeners\n ]);\n (0, $hZqKM$useEffect)(()=>{\n // Call the triggerHoverEnd as soon as isDisabled changes to true\n // Safe to call triggerHoverEnd, it will early return if we aren't currently hovering\n if (isDisabled) triggerHoverEnd({\n currentTarget: state.target\n }, state.pointerType);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n isDisabled\n ]);\n return {\n hoverProps: hoverProps,\n isHovered: isHovered\n };\n}\n\n\nexport {$e969f22b6713ca4a$export$ae780daf29e6d456 as useHover};\n//# sourceMappingURL=useHover.mjs.map\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 */ /* Inspired by https://github.com/AlmeroSteyn/react-aria-live */ const $a46cf152bb926da5$var$LIVEREGION_TIMEOUT_DELAY = 7000;\nlet $a46cf152bb926da5$var$liveAnnouncer = null;\nfunction $a46cf152bb926da5$export$a9b970dcc4ae71a9(message, assertiveness = 'assertive', timeout = $a46cf152bb926da5$var$LIVEREGION_TIMEOUT_DELAY) {\n if (!$a46cf152bb926da5$var$liveAnnouncer) {\n $a46cf152bb926da5$var$liveAnnouncer = new $a46cf152bb926da5$var$LiveAnnouncer();\n // wait for the live announcer regions to be added to the dom, then announce\n // otherwise Safari won't announce the message if it's added too quickly\n // found most times less than 100ms were not consistent when announcing with Safari\n // IS_REACT_ACT_ENVIRONMENT is used by React 18. Previous versions checked for the `jest` global.\n // https://github.com/reactwg/react-18/discussions/102\n // if we're in a test environment, announce without waiting\n // @ts-ignore\n if (!(typeof IS_REACT_ACT_ENVIRONMENT === 'boolean' ? IS_REACT_ACT_ENVIRONMENT : typeof jest !== 'undefined')) setTimeout(()=>{\n if ($a46cf152bb926da5$var$liveAnnouncer?.isAttached()) $a46cf152bb926da5$var$liveAnnouncer?.announce(message, assertiveness, timeout);\n }, 100);\n else $a46cf152bb926da5$var$liveAnnouncer.announce(message, assertiveness, timeout);\n } else $a46cf152bb926da5$var$liveAnnouncer.announce(message, assertiveness, timeout);\n}\nfunction $a46cf152bb926da5$export$d10ae4f68404609a(assertiveness) {\n if ($a46cf152bb926da5$var$liveAnnouncer) $a46cf152bb926da5$var$liveAnnouncer.clear(assertiveness);\n}\nfunction $a46cf152bb926da5$export$d8686216b8b81b2f() {\n if ($a46cf152bb926da5$var$liveAnnouncer) {\n $a46cf152bb926da5$var$liveAnnouncer.destroy();\n $a46cf152bb926da5$var$liveAnnouncer = null;\n }\n}\n// LiveAnnouncer is implemented using vanilla DOM, not React. That's because as of React 18\n// ReactDOM.render is deprecated, and the replacement, ReactDOM.createRoot is moved into a\n// subpath import `react-dom/client`. That makes it hard for us to support multiple React versions.\n// As a global API, we can't use portals without introducing a breaking API change. LiveAnnouncer\n// is simple enough to implement without React, so that's what we do here.\n// See this discussion for more details: https://github.com/reactwg/react-18/discussions/125#discussioncomment-2382638\nclass $a46cf152bb926da5$var$LiveAnnouncer {\n constructor(){\n this.node = null;\n this.assertiveLog = null;\n this.politeLog = null;\n if (typeof document !== 'undefined') {\n this.node = document.createElement('div');\n this.node.dataset.liveAnnouncer = 'true';\n // copied from VisuallyHidden\n Object.assign(this.node.style, {\n border: 0,\n clip: 'rect(0 0 0 0)',\n clipPath: 'inset(50%)',\n height: '1px',\n margin: '-1px',\n overflow: 'hidden',\n padding: 0,\n position: 'absolute',\n width: '1px',\n whiteSpace: 'nowrap'\n });\n this.assertiveLog = this.createLog('assertive');\n this.node.appendChild(this.assertiveLog);\n this.politeLog = this.createLog('polite');\n this.node.appendChild(this.politeLog);\n document.body.prepend(this.node);\n }\n }\n isAttached() {\n return this.node?.isConnected;\n }\n createLog(ariaLive) {\n let node = document.createElement('div');\n node.setAttribute('role', 'log');\n node.setAttribute('aria-live', ariaLive);\n node.setAttribute('aria-relevant', 'additions');\n return node;\n }\n destroy() {\n if (!this.node) return;\n document.body.removeChild(this.node);\n this.node = null;\n }\n announce(message, assertiveness = 'assertive', timeout = $a46cf152bb926da5$var$LIVEREGION_TIMEOUT_DELAY) {\n if (!this.node) return;\n let node = document.createElement('div');\n if (typeof message === 'object') {\n // To read an aria-labelledby, the element must have an appropriate role, such as img.\n node.setAttribute('role', 'img');\n node.setAttribute('aria-labelledby', message['aria-labelledby']);\n } else node.textContent = message;\n if (assertiveness === 'assertive') this.assertiveLog?.appendChild(node);\n else this.politeLog?.appendChild(node);\n if (message !== '') setTimeout(()=>{\n node.remove();\n }, timeout);\n }\n clear(assertiveness) {\n if (!this.node) return;\n if ((!assertiveness || assertiveness === 'assertive') && this.assertiveLog) this.assertiveLog.innerHTML = '';\n if ((!assertiveness || assertiveness === 'polite') && this.politeLog) this.politeLog.innerHTML = '';\n }\n}\n\n\nexport {$a46cf152bb926da5$export$a9b970dcc4ae71a9 as announce, $a46cf152bb926da5$export$d10ae4f68404609a as clearAnnouncer, $a46cf152bb926da5$export$d8686216b8b81b2f as destroyAnnouncer};\n//# sourceMappingURL=LiveAnnouncer.mjs.map\n","import {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, useRenderProps as $7230ffa83bc0c2cf$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {ProgressBarContext as $6c0095e7e99364f2$export$e9f3bf65a26ce129} from \"./ProgressBar.mjs\";\nimport {announce as $9s8kH$announce} from \"react-aria/private/live-announcer/LiveAnnouncer\";\nimport {useButton as $9s8kH$useButton} from \"react-aria/useButton\";\nimport {createHideableComponent as $9s8kH$createHideableComponent} from \"react-aria/private/collections/Hidden\";\nimport {filterDOMProps as $9s8kH$filterDOMProps} from \"react-aria/filterDOMProps\";\nimport {mergeProps as $9s8kH$mergeProps} from \"react-aria/mergeProps\";\nimport $9s8kH$react, {createContext as $9s8kH$createContext, useRef as $9s8kH$useRef, useEffect as $9s8kH$useEffect} from \"react\";\nimport {useFocusRing as $9s8kH$useFocusRing} from \"react-aria/useFocusRing\";\nimport {useHover as $9s8kH$useHover} from \"react-aria/useHover\";\nimport {useId as $9s8kH$useId} from \"react-aria/useId\";\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\nconst $7705c033048f6da7$export$24d547caef80ccd1 = /*#__PURE__*/ (0, $9s8kH$createContext)({});\nconst $7705c033048f6da7$export$353f5b6fc5456de1 = /*#__PURE__*/ (0, $9s8kH$createHideableComponent)(function Button(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $7705c033048f6da7$export$24d547caef80ccd1);\n let ctx = props;\n let { isPending: isPending } = ctx;\n let { buttonProps: buttonProps, isPressed: isPressed } = (0, $9s8kH$useButton)(props, ref);\n buttonProps = $7705c033048f6da7$var$useDisableInteractions(buttonProps, isPending);\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $9s8kH$useFocusRing)(props);\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $9s8kH$useHover)({\n ...props,\n isDisabled: props.isDisabled || isPending\n });\n let renderValues = {\n isHovered: isHovered,\n isPressed: (ctx.isPressed || isPressed) && !isPending,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n isDisabled: props.isDisabled || false,\n isPending: isPending ?? false\n };\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n values: renderValues,\n defaultClassName: 'react-aria-Button'\n });\n let buttonId = (0, $9s8kH$useId)(buttonProps.id);\n let progressId = (0, $9s8kH$useId)();\n let ariaLabelledby = buttonProps['aria-labelledby'];\n if (isPending) {\n // aria-labelledby wins over aria-label\n // https://www.w3.org/TR/accname-1.2/#computation-steps\n if (ariaLabelledby) ariaLabelledby = `${ariaLabelledby} ${progressId}`;\n else if (buttonProps['aria-label']) ariaLabelledby = `${buttonId} ${progressId}`;\n }\n let wasPending = (0, $9s8kH$useRef)(isPending);\n (0, $9s8kH$useEffect)(()=>{\n let message = {\n 'aria-labelledby': ariaLabelledby || buttonId\n };\n if (!wasPending.current && isFocused && isPending) (0, $9s8kH$announce)(message, 'assertive');\n else if (wasPending.current && isFocused && !isPending) (0, $9s8kH$announce)(message, 'assertive');\n wasPending.current = isPending;\n }, [\n isPending,\n isFocused,\n ariaLabelledby,\n buttonId\n ]);\n let DOMProps = (0, $9s8kH$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.onClick;\n return /*#__PURE__*/ (0, $9s8kH$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).button, {\n ...(0, $9s8kH$mergeProps)(DOMProps, renderProps, buttonProps, focusProps, hoverProps),\n // When the button is in a pending state, we want to stop implicit form submission (ie. when the user presses enter on a text input).\n // We do this by changing the button's type to button.\n type: buttonProps.type === 'submit' && isPending ? 'button' : buttonProps.type,\n id: buttonId,\n ref: ref,\n \"aria-labelledby\": ariaLabelledby,\n slot: props.slot || undefined,\n \"aria-disabled\": isPending ? 'true' : buttonProps['aria-disabled'],\n \"data-disabled\": props.isDisabled || undefined,\n \"data-pressed\": renderValues.isPressed || undefined,\n \"data-hovered\": isHovered || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-pending\": isPending || undefined,\n \"data-focus-visible\": isFocusVisible || undefined\n }, /*#__PURE__*/ (0, $9s8kH$react).createElement((0, $6c0095e7e99364f2$export$e9f3bf65a26ce129).Provider, {\n value: {\n id: progressId\n }\n }, renderProps.children));\n});\n// Events to preserve when isPending is true (for tooltips and other overlays)\nconst $7705c033048f6da7$var$PRESERVED_EVENT_PATTERN = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;\nfunction $7705c033048f6da7$var$useDisableInteractions(props, isPending) {\n if (isPending) {\n for(const key in props)if (key.startsWith('on') && !$7705c033048f6da7$var$PRESERVED_EVENT_PATTERN.test(key)) props[key] = undefined;\n props.href = undefined;\n props.target = undefined;\n }\n return props;\n}\n\n\nexport {$7705c033048f6da7$export$24d547caef80ccd1 as ButtonContext, $7705c033048f6da7$export$353f5b6fc5456de1 as Button};\n//# sourceMappingURL=Button.mjs.map\n","import {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415} from \"./utils.mjs\";\nimport $6Xi9O$react, {createContext as $6Xi9O$createContext, forwardRef as $6Xi9O$forwardRef} 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\nconst $2ec61d1d4f780267$export$d688439359537581 = /*#__PURE__*/ (0, $6Xi9O$createContext)({});\nconst $2ec61d1d4f780267$export$a8a3e93435678ff9 = /*#__PURE__*/ (0, $6Xi9O$forwardRef)(function Heading(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $2ec61d1d4f780267$export$d688439359537581);\n let { children: children, level: level = 3, className: className, ...domProps } = props;\n let Element = (0, $7230ffa83bc0c2cf$export$df3a06d6289f983e)[`h${level}`];\n return /*#__PURE__*/ (0, $6Xi9O$react).createElement(Element, {\n ...domProps,\n ref: ref,\n className: className ?? 'react-aria-Heading'\n }, children);\n});\n\n\nexport {$2ec61d1d4f780267$export$d688439359537581 as HeadingContext, $2ec61d1d4f780267$export$a8a3e93435678ff9 as Heading};\n//# sourceMappingURL=Heading.mjs.map\n","import {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415} from \"./utils.mjs\";\nimport $cGkLv$react, {createContext as $cGkLv$createContext, forwardRef as $cGkLv$forwardRef} 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\nconst $efe09c6d1c304b50$export$9afb8bc826b033ea = /*#__PURE__*/ (0, $cGkLv$createContext)({});\nconst $efe09c6d1c304b50$export$5f1af8db9871e1d6 = /*#__PURE__*/ (0, $cGkLv$forwardRef)(function Text(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $efe09c6d1c304b50$export$9afb8bc826b033ea);\n let { elementType: elementType = 'span', ...domProps } = props;\n let ElementType = (0, $7230ffa83bc0c2cf$export$df3a06d6289f983e)[elementType];\n // @ts-ignore\n return /*#__PURE__*/ (0, $cGkLv$react).createElement(ElementType, {\n className: \"react-aria-Text\",\n ...domProps,\n ref: ref\n });\n});\n\n\nexport {$efe09c6d1c304b50$export$9afb8bc826b033ea as TextContext, $efe09c6d1c304b50$export$5f1af8db9871e1d6 as Text};\n//# sourceMappingURL=Text.mjs.map\n","var $de4ff52e53c44097$exports = {};\n$de4ff52e53c44097$exports = {\n \"dateRange\": (args)=>`${args.startDate} \\u{625}\\u{644}\\u{649} ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} \\u{627}\\u{644}\\u{645}\\u{62D}\\u{62F}\\u{62F}`,\n \"finishRangeSelectionPrompt\": `\\u{627}\\u{646}\\u{642}\\u{631} \\u{644}\\u{625}\\u{646}\\u{647}\\u{627}\\u{621} \\u{639}\\u{645}\\u{644}\\u{64A}\\u{629} \\u{62A}\\u{62D}\\u{62F}\\u{64A}\\u{62F} \\u{646}\\u{637}\\u{627}\\u{642} \\u{627}\\u{644}\\u{62A}\\u{627}\\u{631}\\u{64A}\\u{62E}`,\n \"maximumDate\": `\\u{622}\\u{62E}\\u{631} \\u{62A}\\u{627}\\u{631}\\u{64A}\\u{62E} \\u{645}\\u{62A}\\u{627}\\u{62D}`,\n \"minimumDate\": `\\u{623}\\u{648}\\u{644} \\u{62A}\\u{627}\\u{631}\\u{64A}\\u{62E} \\u{645}\\u{62A}\\u{627}\\u{62D}`,\n \"next\": `\\u{627}\\u{644}\\u{62A}\\u{627}\\u{644}\\u{64A}`,\n \"previous\": `\\u{627}\\u{644}\\u{633}\\u{627}\\u{628}\\u{642}`,\n \"selectedDateDescription\": (args)=>`\\u{62A}\\u{627}\\u{631}\\u{64A}\\u{62E} \\u{645}\\u{62D}\\u{62F}\\u{62F}: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`\\u{627}\\u{644}\\u{645}\\u{62F}\\u{649} \\u{627}\\u{644}\\u{632}\\u{645}\\u{646}\\u{64A} \\u{627}\\u{644}\\u{645}\\u{62D}\\u{62F}\\u{62F}: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `\\u{627}\\u{646}\\u{642}\\u{631} \\u{644}\\u{628}\\u{62F}\\u{621} \\u{639}\\u{645}\\u{644}\\u{64A}\\u{629} \\u{62A}\\u{62D}\\u{62F}\\u{64A}\\u{62F} \\u{646}\\u{637}\\u{627}\\u{642} \\u{627}\\u{644}\\u{62A}\\u{627}\\u{631}\\u{64A}\\u{62E}`,\n \"todayDate\": (args)=>`\\u{627}\\u{644}\\u{64A}\\u{648}\\u{645}\\u{60C} ${args.date}`,\n \"todayDateSelected\": (args)=>`\\u{627}\\u{644}\\u{64A}\\u{648}\\u{645}\\u{60C} ${args.date} \\u{645}\\u{62D}\\u{62F}\\u{62F}`\n};\n\n\nexport {$de4ff52e53c44097$exports as default};\n//# sourceMappingURL=ar-AE.mjs.map\n","var $3033c86f23206ee6$exports = {};\n$3033c86f23206ee6$exports = {\n \"dateRange\": (args)=>`${args.startDate} \\u{434}\\u{43E} ${args.endDate}`,\n \"dateSelected\": (args)=>`\\u{418}\\u{437}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E} \\u{435} ${args.date}`,\n \"finishRangeSelectionPrompt\": `\\u{41D}\\u{430}\\u{442}\\u{438}\\u{441}\\u{43D}\\u{435}\\u{442}\\u{435}, \\u{437}\\u{430} \\u{434}\\u{430} \\u{434}\\u{43E}\\u{432}\\u{44A}\\u{440}\\u{448}\\u{438}\\u{442}\\u{435} \\u{438}\\u{437}\\u{431}\\u{43E}\\u{440}\\u{430} \\u{43D}\\u{430} \\u{432}\\u{440}\\u{435}\\u{43C}\\u{435}\\u{432}\\u{438} \\u{438}\\u{43D}\\u{442}\\u{435}\\u{440}\\u{432}\\u{430}\\u{43B}`,\n \"maximumDate\": `\\u{41F}\\u{43E}\\u{441}\\u{43B}\\u{435}\\u{434}\\u{43D}\\u{430} \\u{43D}\\u{430}\\u{43B}\\u{438}\\u{447}\\u{43D}\\u{430} \\u{434}\\u{430}\\u{442}\\u{430}`,\n \"minimumDate\": `\\u{41F}\\u{44A}\\u{440}\\u{432}\\u{430} \\u{43D}\\u{430}\\u{43B}\\u{438}\\u{447}\\u{43D}\\u{430} \\u{434}\\u{430}\\u{442}\\u{430}`,\n \"next\": `\\u{41D}\\u{430}\\u{43F}\\u{440}\\u{435}\\u{434}`,\n \"previous\": `\\u{41D}\\u{430}\\u{437}\\u{430}\\u{434}`,\n \"selectedDateDescription\": (args)=>`\\u{418}\\u{437}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{430} \\u{434}\\u{430}\\u{442}\\u{430}: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`\\u{418}\\u{437}\\u{431}\\u{440}\\u{430}\\u{43D} \\u{434}\\u{438}\\u{430}\\u{43F}\\u{430}\\u{437}\\u{43E}\\u{43D}: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `\\u{41D}\\u{430}\\u{442}\\u{438}\\u{441}\\u{43D}\\u{435}\\u{442}\\u{435}, \\u{437}\\u{430} \\u{434}\\u{430} \\u{43F}\\u{440}\\u{438}\\u{441}\\u{442}\\u{44A}\\u{43F}\\u{438}\\u{442}\\u{435} \\u{43A}\\u{44A}\\u{43C} \\u{438}\\u{437}\\u{431}\\u{43E}\\u{440}\\u{430} \\u{43D}\\u{430} \\u{432}\\u{440}\\u{435}\\u{43C}\\u{435}\\u{432}\\u{438} \\u{438}\\u{43D}\\u{442}\\u{435}\\u{440}\\u{432}\\u{430}\\u{43B}`,\n \"todayDate\": (args)=>`\\u{414}\\u{43D}\\u{435}\\u{441}, ${args.date}`,\n \"todayDateSelected\": (args)=>`\\u{414}\\u{43D}\\u{435}\\u{441}, ${args.date} \\u{441}\\u{430} \\u{438}\\u{437}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{438}`\n};\n\n\nexport {$3033c86f23206ee6$exports as default};\n//# sourceMappingURL=bg-BG.mjs.map\n","var $e63c2c159c28ba5d$exports = {};\n$e63c2c159c28ba5d$exports = {\n \"dateRange\": (args)=>`${args.startDate} a\\u{17E} ${args.endDate}`,\n \"dateSelected\": (args)=>`Vybr\\xe1no ${args.date}`,\n \"finishRangeSelectionPrompt\": `Kliknut\\xedm dokon\\u{10D}\\xedte v\\xfdb\\u{11B}r rozsahu dat`,\n \"maximumDate\": `Posledn\\xed dostupn\\xe9 datum`,\n \"minimumDate\": `Prvn\\xed dostupn\\xe9 datum`,\n \"next\": `Dal\\u{161}\\xed`,\n \"previous\": `P\\u{159}edchoz\\xed`,\n \"selectedDateDescription\": (args)=>`Vybran\\xe9 datum: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Vybran\\xe9 obdob\\xed: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Kliknut\\xedm zah\\xe1j\\xedte v\\xfdb\\u{11B}r rozsahu dat`,\n \"todayDate\": (args)=>`Dnes, ${args.date}`,\n \"todayDateSelected\": (args)=>`Dnes, vybr\\xe1no ${args.date}`\n};\n\n\nexport {$e63c2c159c28ba5d$exports as default};\n//# sourceMappingURL=cs-CZ.mjs.map\n","var $8e0410439778b957$exports = {};\n$8e0410439778b957$exports = {\n \"dateRange\": (args)=>`${args.startDate} til ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} valgt`,\n \"finishRangeSelectionPrompt\": `Klik for at fuldf\\xf8re valg af datoomr\\xe5de`,\n \"maximumDate\": `Sidste ledige dato`,\n \"minimumDate\": `F\\xf8rste ledige dato`,\n \"next\": `N\\xe6ste`,\n \"previous\": `Forrige`,\n \"selectedDateDescription\": (args)=>`Valgt dato: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Valgt interval: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Klik for at starte valg af datoomr\\xe5de`,\n \"todayDate\": (args)=>`I dag, ${args.date}`,\n \"todayDateSelected\": (args)=>`I dag, ${args.date} valgt`\n};\n\n\nexport {$8e0410439778b957$exports as default};\n//# sourceMappingURL=da-DK.mjs.map\n","var $b0f7870d1ca7ced9$exports = {};\n$b0f7870d1ca7ced9$exports = {\n \"dateRange\": (args)=>`${args.startDate} bis ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} ausgew\\xe4hlt`,\n \"finishRangeSelectionPrompt\": `Klicken, um die Auswahl des Datumsbereichs zu beenden`,\n \"maximumDate\": `Letztes verf\\xfcgbares Datum`,\n \"minimumDate\": `Erstes verf\\xfcgbares Datum`,\n \"next\": `Weiter`,\n \"previous\": `Zur\\xfcck`,\n \"selectedDateDescription\": (args)=>`Ausgew\\xe4hltes Datum: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Ausgew\\xe4hlter Bereich: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Klicken, um die Auswahl des Datumsbereichs zu beginnen`,\n \"todayDate\": (args)=>`Heute, ${args.date}`,\n \"todayDateSelected\": (args)=>`Heute, ${args.date} ausgew\\xe4hlt`\n};\n\n\nexport {$b0f7870d1ca7ced9$exports as default};\n//# sourceMappingURL=de-DE.mjs.map\n","var $4a6d5d90f11b57e2$exports = {};\n$4a6d5d90f11b57e2$exports = {\n \"dateRange\": (args)=>`${args.startDate} \\u{3AD}\\u{3C9}\\u{3C2} ${args.endDate}`,\n \"dateSelected\": (args)=>`\\u{395}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3AD}\\u{3C7}\\u{3B8}\\u{3B7}\\u{3BA}\\u{3B5} ${args.date}`,\n \"finishRangeSelectionPrompt\": `\\u{39A}\\u{3AC}\\u{3BD}\\u{3C4}\\u{3B5} \\u{3BA}\\u{3BB}\\u{3B9}\\u{3BA} \\u{3B3}\\u{3B9}\\u{3B1} \\u{3BD}\\u{3B1} \\u{3BF}\\u{3BB}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B5}\\u{3C1}\\u{3BF}\\u{3BC}\\u{3B7}\\u{3BD}\\u{3AF}\\u{3B1}: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`\\u{395}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3B5}\\u{3B3}\\u{3BC}\\u{3AD}\\u{3BD}\\u{3BF} \\u{3B5}\\u{3CD}\\u{3C1}\\u{3BF}\\u{3C2}: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `\\u{39A}\\u{3AC}\\u{3BD}\\u{3C4}\\u{3B5} \\u{3BA}\\u{3BB}\\u{3B9}\\u{3BA} \\u{3B3}\\u{3B9}\\u{3B1} \\u{3BD}\\u{3B1} \\u{3BE}\\u{3B5}\\u{3BA}\\u{3B9}\\u{3BD}\\u{3AE}\\u{3C3}\\u{3B5}\\u{3C4}\\u{3B5} \\u{3C4}\\u{3B7}\\u{3BD} \\u{3B5}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3BF}\\u{3B3}\\u{3AE} \\u{3B5}\\u{3CD}\\u{3C1}\\u{3BF}\\u{3C5}\\u{3C2} \\u{3B7}\\u{3BC}\\u{3B5}\\u{3C1}\\u{3BF}\\u{3BC}\\u{3B7}\\u{3BD}\\u{3B9}\\u{3CE}\\u{3BD}`,\n \"todayDate\": (args)=>`\\u{3A3}\\u{3AE}\\u{3BC}\\u{3B5}\\u{3C1}\\u{3B1}, ${args.date}`,\n \"todayDateSelected\": (args)=>`\\u{3A3}\\u{3AE}\\u{3BC}\\u{3B5}\\u{3C1}\\u{3B1}, \\u{3B5}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3AD}\\u{3C7}\\u{3C4}\\u{3B7}\\u{3BA}\\u{3B5} ${args.date}`\n};\n\n\nexport {$4a6d5d90f11b57e2$exports as default};\n//# sourceMappingURL=el-GR.mjs.map\n","var $237b063e672c0a93$exports = {};\n$237b063e672c0a93$exports = {\n \"previous\": `Previous`,\n \"next\": `Next`,\n \"selectedDateDescription\": (args)=>`Selected Date: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Selected Range: ${args.dateRange}`,\n \"todayDate\": (args)=>`Today, ${args.date}`,\n \"todayDateSelected\": (args)=>`Today, ${args.date} selected`,\n \"dateSelected\": (args)=>`${args.date} selected`,\n \"startRangeSelectionPrompt\": `Click to start selecting date range`,\n \"finishRangeSelectionPrompt\": `Click to finish selecting date range`,\n \"minimumDate\": `First available date`,\n \"maximumDate\": `Last available date`,\n \"dateRange\": (args)=>`${args.startDate} to ${args.endDate}`\n};\n\n\nexport {$237b063e672c0a93$exports as default};\n//# sourceMappingURL=en-US.mjs.map\n","var $0bf9be334194066b$exports = {};\n$0bf9be334194066b$exports = {\n \"dateRange\": (args)=>`${args.startDate} a ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} seleccionado`,\n \"finishRangeSelectionPrompt\": `Haga clic para terminar de seleccionar rango de fechas`,\n \"maximumDate\": `\\xdaltima fecha disponible`,\n \"minimumDate\": `Primera fecha disponible`,\n \"next\": `Siguiente`,\n \"previous\": `Anterior`,\n \"selectedDateDescription\": (args)=>`Fecha seleccionada: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Intervalo seleccionado: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Haga clic para comenzar a seleccionar un rango de fechas`,\n \"todayDate\": (args)=>`Hoy, ${args.date}`,\n \"todayDateSelected\": (args)=>`Hoy, ${args.date} seleccionado`\n};\n\n\nexport {$0bf9be334194066b$exports as default};\n//# sourceMappingURL=es-ES.mjs.map\n","var $762bc0f67e5e5cc7$exports = {};\n$762bc0f67e5e5cc7$exports = {\n \"dateRange\": (args)=>`${args.startDate} kuni ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} valitud`,\n \"finishRangeSelectionPrompt\": `Kl\\xf5psake kuup\\xe4evavahemiku valimise l\\xf5petamiseks`,\n \"maximumDate\": `Viimane saadaolev kuup\\xe4ev`,\n \"minimumDate\": `Esimene saadaolev kuup\\xe4ev`,\n \"next\": `J\\xe4rgmine`,\n \"previous\": `Eelmine`,\n \"selectedDateDescription\": (args)=>`Valitud kuup\\xe4ev: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Valitud vahemik: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Kl\\xf5psake kuup\\xe4evavahemiku valimiseks`,\n \"todayDate\": (args)=>`T\\xe4na, ${args.date}`,\n \"todayDateSelected\": (args)=>`T\\xe4na, ${args.date} valitud`\n};\n\n\nexport {$762bc0f67e5e5cc7$exports as default};\n//# sourceMappingURL=et-EE.mjs.map\n","var $7bf481627c09eee2$exports = {};\n$7bf481627c09eee2$exports = {\n \"dateRange\": (args)=>`${args.startDate} \\u{2013} ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} valittu`,\n \"finishRangeSelectionPrompt\": `Lopeta p\\xe4iv\\xe4m\\xe4\\xe4r\\xe4alueen valinta napsauttamalla t\\xe4t\\xe4.`,\n \"maximumDate\": `Viimeinen varattavissa oleva p\\xe4iv\\xe4m\\xe4\\xe4r\\xe4`,\n \"minimumDate\": `Ensimm\\xe4inen varattavissa oleva p\\xe4iv\\xe4m\\xe4\\xe4r\\xe4`,\n \"next\": `Seuraava`,\n \"previous\": `Edellinen`,\n \"selectedDateDescription\": (args)=>`Valittu p\\xe4iv\\xe4m\\xe4\\xe4r\\xe4: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Valittu aikav\\xe4li: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Aloita p\\xe4iv\\xe4m\\xe4\\xe4r\\xe4alueen valinta napsauttamalla t\\xe4t\\xe4.`,\n \"todayDate\": (args)=>`T\\xe4n\\xe4\\xe4n, ${args.date}`,\n \"todayDateSelected\": (args)=>`T\\xe4n\\xe4\\xe4n, ${args.date} valittu`\n};\n\n\nexport {$7bf481627c09eee2$exports as default};\n//# sourceMappingURL=fi-FI.mjs.map\n","var $1e9f53915be2c8ed$exports = {};\n$1e9f53915be2c8ed$exports = {\n \"dateRange\": (args)=>`${args.startDate} \\xe0 ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} s\\xe9lectionn\\xe9`,\n \"finishRangeSelectionPrompt\": `Cliquer pour finir de s\\xe9lectionner la plage de dates`,\n \"maximumDate\": `Derni\\xe8re date disponible`,\n \"minimumDate\": `Premi\\xe8re date disponible`,\n \"next\": `Suivant`,\n \"previous\": `Pr\\xe9c\\xe9dent`,\n \"selectedDateDescription\": (args)=>`Date s\\xe9lectionn\\xe9e\\xa0: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Plage s\\xe9lectionn\\xe9e\\xa0: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Cliquer pour commencer \\xe0 s\\xe9lectionner la plage de dates`,\n \"todayDate\": (args)=>`Aujourd'hui, ${args.date}`,\n \"todayDateSelected\": (args)=>`Aujourd\\u{2019}hui, ${args.date} s\\xe9lectionn\\xe9`\n};\n\n\nexport {$1e9f53915be2c8ed$exports as default};\n//# sourceMappingURL=fr-FR.mjs.map\n","var $838528550da127b3$exports = {};\n$838528550da127b3$exports = {\n \"dateRange\": (args)=>`${args.startDate} \\u{5E2}\\u{5D3} ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} \\u{5E0}\\u{5D1}\\u{5D7}\\u{5E8}`,\n \"finishRangeSelectionPrompt\": `\\u{5D7}\\u{5E5} \\u{5DB}\\u{5D3}\\u{5D9} \\u{5DC}\\u{5E1}\\u{5D9}\\u{5D9}\\u{5DD} \\u{5D0}\\u{5EA} \\u{5D1}\\u{5D7}\\u{5D9}\\u{5E8}\\u{5EA} \\u{5D8}\\u{5D5}\\u{5D5}\\u{5D7} \\u{5D4}\\u{5EA}\\u{5D0}\\u{5E8}\\u{5D9}\\u{5DB}\\u{5D9}\\u{5DD}`,\n \"maximumDate\": `\\u{5EA}\\u{5D0}\\u{5E8}\\u{5D9}\\u{5DA} \\u{5E4}\\u{5E0}\\u{5D5}\\u{5D9} \\u{5D0}\\u{5D7}\\u{5E8}\\u{5D5}\\u{5DF}`,\n \"minimumDate\": `\\u{5EA}\\u{5D0}\\u{5E8}\\u{5D9}\\u{5DA} \\u{5E4}\\u{5E0}\\u{5D5}\\u{5D9} \\u{5E8}\\u{5D0}\\u{5E9}\\u{5D5}\\u{5DF}`,\n \"next\": `\\u{5D4}\\u{5D1}\\u{5D0}`,\n \"previous\": `\\u{5D4}\\u{5E7}\\u{5D5}\\u{5D3}\\u{5DD}`,\n \"selectedDateDescription\": (args)=>`\\u{5EA}\\u{5D0}\\u{5E8}\\u{5D9}\\u{5DA} \\u{5E0}\\u{5D1}\\u{5D7}\\u{5E8}: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`\\u{5D8}\\u{5D5}\\u{5D5}\\u{5D7} \\u{5E0}\\u{5D1}\\u{5D7}\\u{5E8}: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `\\u{5DC}\\u{5D7}\\u{5E5} \\u{5DB}\\u{5D3}\\u{5D9} \\u{5DC}\\u{5D4}\\u{5EA}\\u{5D7}\\u{5D9}\\u{5DC} \\u{5D1}\\u{5D1}\\u{5D7}\\u{5D9}\\u{5E8}\\u{5EA} \\u{5D8}\\u{5D5}\\u{5D5}\\u{5D7} \\u{5D4}\\u{5EA}\\u{5D0}\\u{5E8}\\u{5D9}\\u{5DB}\\u{5D9}\\u{5DD}`,\n \"todayDate\": (args)=>`\\u{5D4}\\u{5D9}\\u{5D5}\\u{5DD}, ${args.date}`,\n \"todayDateSelected\": (args)=>`\\u{5D4}\\u{5D9}\\u{5D5}\\u{5DD}, ${args.date} \\u{5E0}\\u{5D1}\\u{5D7}\\u{5E8}`\n};\n\n\nexport {$838528550da127b3$exports as default};\n//# sourceMappingURL=he-IL.mjs.map\n","var $6fbc7e3e61335323$exports = {};\n$6fbc7e3e61335323$exports = {\n \"dateRange\": (args)=>`${args.startDate} do ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} odabran`,\n \"finishRangeSelectionPrompt\": `Kliknite da dovr\\u{161}ite raspon odabranih datuma`,\n \"maximumDate\": `Posljednji raspolo\\u{17E}ivi datum`,\n \"minimumDate\": `Prvi raspolo\\u{17E}ivi datum`,\n \"next\": `Sljede\\u{107}i`,\n \"previous\": `Prethodni`,\n \"selectedDateDescription\": (args)=>`Odabrani datum: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Odabrani raspon: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Kliknite da zapo\\u{10D}nete raspon odabranih datuma`,\n \"todayDate\": (args)=>`Danas, ${args.date}`,\n \"todayDateSelected\": (args)=>`Danas, odabran ${args.date}`\n};\n\n\nexport {$6fbc7e3e61335323$exports as default};\n//# sourceMappingURL=hr-HR.mjs.map\n","var $78de8ac0adbb6929$exports = {};\n$78de8ac0adbb6929$exports = {\n \"dateRange\": (args)=>`${args.startDate}\\u{2013}${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} kiv\\xe1lasztva`,\n \"finishRangeSelectionPrompt\": `Kattintson a d\\xe1tumtartom\\xe1ny kijel\\xf6l\\xe9s\\xe9nek befejez\\xe9s\\xe9hez`,\n \"maximumDate\": `Utols\\xf3 el\\xe9rhet\\u{151} d\\xe1tum`,\n \"minimumDate\": `Az els\\u{151} el\\xe9rhet\\u{151} d\\xe1tum`,\n \"next\": `K\\xf6vetkez\\u{151}`,\n \"previous\": `El\\u{151}z\\u{151}`,\n \"selectedDateDescription\": (args)=>`Kijel\\xf6lt d\\xe1tum: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Kijel\\xf6lt tartom\\xe1ny: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Kattintson a d\\xe1tumtartom\\xe1ny kijel\\xf6l\\xe9s\\xe9nek ind\\xedt\\xe1s\\xe1hoz`,\n \"todayDate\": (args)=>`Ma, ${args.date}`,\n \"todayDateSelected\": (args)=>`Ma, ${args.date} kijel\\xf6lve`\n};\n\n\nexport {$78de8ac0adbb6929$exports as default};\n//# sourceMappingURL=hu-HU.mjs.map\n","var $a8be7f99cec60bdd$exports = {};\n$a8be7f99cec60bdd$exports = {\n \"dateRange\": (args)=>`Da ${args.startDate} a ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} selezionata`,\n \"finishRangeSelectionPrompt\": `Fai clic per completare la selezione dell\\u{2019}intervallo di date`,\n \"maximumDate\": `Ultima data disponibile`,\n \"minimumDate\": `Prima data disponibile`,\n \"next\": `Successivo`,\n \"previous\": `Precedente`,\n \"selectedDateDescription\": (args)=>`Data selezionata: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Intervallo selezionato: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Fai clic per selezionare l\\u{2019}intervallo di date`,\n \"todayDate\": (args)=>`Oggi, ${args.date}`,\n \"todayDateSelected\": (args)=>`Oggi, ${args.date} selezionata`\n};\n\n\nexport {$a8be7f99cec60bdd$exports as default};\n//# sourceMappingURL=it-IT.mjs.map\n","var $d8d7a17d4c1790c2$exports = {};\n$d8d7a17d4c1790c2$exports = {\n \"dateRange\": (args)=>`${args.startDate} \\u{304B}\\u{3089} ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} \\u{3092}\\u{9078}\\u{629E}`,\n \"finishRangeSelectionPrompt\": `\\u{30AF}\\u{30EA}\\u{30C3}\\u{30AF}\\u{3057}\\u{3066}\\u{65E5}\\u{4ED8}\\u{7BC4}\\u{56F2}\\u{306E}\\u{9078}\\u{629E}\\u{3092}\\u{7D42}\\u{4E86}`,\n \"maximumDate\": `\\u{6700}\\u{7D42}\\u{5229}\\u{7528}\\u{53EF}\\u{80FD}\\u{65E5}`,\n \"minimumDate\": `\\u{6700}\\u{521D}\\u{306E}\\u{5229}\\u{7528}\\u{53EF}\\u{80FD}\\u{65E5}`,\n \"next\": `\\u{6B21}\\u{3078}`,\n \"previous\": `\\u{524D}\\u{3078}`,\n \"selectedDateDescription\": (args)=>`\\u{9078}\\u{629E}\\u{3057}\\u{305F}\\u{65E5}\\u{4ED8} : ${args.date}`,\n \"selectedRangeDescription\": (args)=>`\\u{9078}\\u{629E}\\u{7BC4}\\u{56F2} : ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `\\u{30AF}\\u{30EA}\\u{30C3}\\u{30AF}\\u{3057}\\u{3066}\\u{65E5}\\u{4ED8}\\u{7BC4}\\u{56F2}\\u{306E}\\u{9078}\\u{629E}\\u{3092}\\u{958B}\\u{59CB}`,\n \"todayDate\": (args)=>`\\u{672C}\\u{65E5}\\u{3001}${args.date}`,\n \"todayDateSelected\": (args)=>`\\u{672C}\\u{65E5}\\u{3001}${args.date} \\u{3092}\\u{9078}\\u{629E}`\n};\n\n\nexport {$d8d7a17d4c1790c2$exports as default};\n//# sourceMappingURL=ja-JP.mjs.map\n","var $c8412aa45d40ecea$exports = {};\n$c8412aa45d40ecea$exports = {\n \"dateRange\": (args)=>`${args.startDate} ~ ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} \\u{C120}\\u{D0DD}\\u{B428}`,\n \"finishRangeSelectionPrompt\": `\\u{B0A0}\\u{C9DC} \\u{BC94}\\u{C704} \\u{C120}\\u{D0DD}\\u{C744} \\u{C644}\\u{B8CC}\\u{D558}\\u{B824}\\u{BA74} \\u{D074}\\u{B9AD}\\u{D558}\\u{C2ED}\\u{C2DC}\\u{C624}.`,\n \"maximumDate\": `\\u{B9C8}\\u{C9C0}\\u{B9C9}\\u{C73C}\\u{B85C} \\u{C0AC}\\u{C6A9} \\u{AC00}\\u{B2A5}\\u{D55C} \\u{C77C}\\u{C790}`,\n \"minimumDate\": `\\u{CC98}\\u{C74C}\\u{C73C}\\u{B85C} \\u{C0AC}\\u{C6A9} \\u{AC00}\\u{B2A5}\\u{D55C} \\u{C77C}\\u{C790}`,\n \"next\": `\\u{B2E4}\\u{C74C}`,\n \"previous\": `\\u{C774}\\u{C804}`,\n \"selectedDateDescription\": (args)=>`\\u{C120}\\u{D0DD} \\u{C77C}\\u{C790}: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`\\u{C120}\\u{D0DD} \\u{BC94}\\u{C704}: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `\\u{B0A0}\\u{C9DC} \\u{BC94}\\u{C704} \\u{C120}\\u{D0DD}\\u{C744} \\u{C2DC}\\u{C791}\\u{D558}\\u{B824}\\u{BA74} \\u{D074}\\u{B9AD}\\u{D558}\\u{C2ED}\\u{C2DC}\\u{C624}.`,\n \"todayDate\": (args)=>`\\u{C624}\\u{B298}, ${args.date}`,\n \"todayDateSelected\": (args)=>`\\u{C624}\\u{B298}, ${args.date} \\u{C120}\\u{D0DD}\\u{B428}`\n};\n\n\nexport {$c8412aa45d40ecea$exports as default};\n//# sourceMappingURL=ko-KR.mjs.map\n","var $0688f78441c44b9b$exports = {};\n$0688f78441c44b9b$exports = {\n \"dateRange\": (args)=>`Nuo ${args.startDate} iki ${args.endDate}`,\n \"dateSelected\": (args)=>`Pasirinkta ${args.date}`,\n \"finishRangeSelectionPrompt\": `Spustel\\u{117}kite, kad baigtum\\u{117}te pasirinkti dat\\u{173} interval\\u{105}`,\n \"maximumDate\": `Paskutin\\u{117} galima data`,\n \"minimumDate\": `Pirmoji galima data`,\n \"next\": `Paskesnis`,\n \"previous\": `Ankstesnis`,\n \"selectedDateDescription\": (args)=>`Pasirinkta data: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Pasirinktas intervalas: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Spustel\\u{117}kite, kad prad\\u{117}tum\\u{117}te pasirinkti dat\\u{173} interval\\u{105}`,\n \"todayDate\": (args)=>`\\u{160}iandien, ${args.date}`,\n \"todayDateSelected\": (args)=>`\\u{160}iandien, pasirinkta ${args.date}`\n};\n\n\nexport {$0688f78441c44b9b$exports as default};\n//# sourceMappingURL=lt-LT.mjs.map\n","var $2e99f61e399c4671$exports = {};\n$2e99f61e399c4671$exports = {\n \"dateRange\": (args)=>`No ${args.startDate} l\\u{12B}dz ${args.endDate}`,\n \"dateSelected\": (args)=>`Atlas\\u{12B}ts: ${args.date}`,\n \"finishRangeSelectionPrompt\": `Noklik\\u{161}\\u{137}iniet, lai pabeigtu datumu diapazona atlasi`,\n \"maximumDate\": `P\\u{113}d\\u{113}jais pieejamais datums`,\n \"minimumDate\": `Pirmais pieejamais datums`,\n \"next\": `T\\u{101}l\\u{101}k`,\n \"previous\": `Atpaka\\u{13C}`,\n \"selectedDateDescription\": (args)=>`Atlas\\u{12B}tais datums: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Atlas\\u{12B}tais diapazons: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Noklik\\u{161}\\u{137}iniet, lai s\\u{101}ktu datumu diapazona atlasi`,\n \"todayDate\": (args)=>`\\u{160}odien, ${args.date}`,\n \"todayDateSelected\": (args)=>`Atlas\\u{12B}ta \\u{161}odiena, ${args.date}`\n};\n\n\nexport {$2e99f61e399c4671$exports as default};\n//# sourceMappingURL=lv-LV.mjs.map\n","var $3308acf44b9ebfe2$exports = {};\n$3308acf44b9ebfe2$exports = {\n \"dateRange\": (args)=>`${args.startDate} til ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} valgt`,\n \"finishRangeSelectionPrompt\": `Klikk for \\xe5 fullf\\xf8re valg av datoomr\\xe5de`,\n \"maximumDate\": `Siste tilgjengelige dato`,\n \"minimumDate\": `F\\xf8rste tilgjengelige dato`,\n \"next\": `Neste`,\n \"previous\": `Forrige`,\n \"selectedDateDescription\": (args)=>`Valgt dato: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Valgt omr\\xe5de: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Klikk for \\xe5 starte valg av datoomr\\xe5de`,\n \"todayDate\": (args)=>`I dag, ${args.date}`,\n \"todayDateSelected\": (args)=>`I dag, ${args.date} valgt`\n};\n\n\nexport {$3308acf44b9ebfe2$exports as default};\n//# sourceMappingURL=nb-NO.mjs.map\n","var $21c44b9667b0a4d9$exports = {};\n$21c44b9667b0a4d9$exports = {\n \"dateRange\": (args)=>`${args.startDate} tot ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} geselecteerd`,\n \"finishRangeSelectionPrompt\": `Klik om de selectie van het datumbereik te voltooien`,\n \"maximumDate\": `Laatste beschikbare datum`,\n \"minimumDate\": `Eerste beschikbare datum`,\n \"next\": `Volgende`,\n \"previous\": `Vorige`,\n \"selectedDateDescription\": (args)=>`Geselecteerde datum: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Geselecteerd bereik: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Klik om het datumbereik te selecteren`,\n \"todayDate\": (args)=>`Vandaag, ${args.date}`,\n \"todayDateSelected\": (args)=>`Vandaag, ${args.date} geselecteerd`\n};\n\n\nexport {$21c44b9667b0a4d9$exports as default};\n//# sourceMappingURL=nl-NL.mjs.map\n","var $623c23717aa9790e$exports = {};\n$623c23717aa9790e$exports = {\n \"dateRange\": (args)=>`${args.startDate} do ${args.endDate}`,\n \"dateSelected\": (args)=>`Wybrano ${args.date}`,\n \"finishRangeSelectionPrompt\": `Kliknij, aby zako\\u{144}czy\\u{107} wyb\\xf3r zakresu dat`,\n \"maximumDate\": `Ostatnia dost\\u{119}pna data`,\n \"minimumDate\": `Pierwsza dost\\u{119}pna data`,\n \"next\": `Dalej`,\n \"previous\": `Wstecz`,\n \"selectedDateDescription\": (args)=>`Wybrana data: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Wybrany zakres: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Kliknij, aby rozpocz\\u{105}\\u{107} wyb\\xf3r zakresu dat`,\n \"todayDate\": (args)=>`Dzisiaj, ${args.date}`,\n \"todayDateSelected\": (args)=>`Dzisiaj wybrano ${args.date}`\n};\n\n\nexport {$623c23717aa9790e$exports as default};\n//# sourceMappingURL=pl-PL.mjs.map\n","var $e7f4b8491d3557b4$exports = {};\n$e7f4b8491d3557b4$exports = {\n \"dateRange\": (args)=>`${args.startDate} a ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} selecionado`,\n \"finishRangeSelectionPrompt\": `Clique para concluir a sele\\xe7\\xe3o do intervalo de datas`,\n \"maximumDate\": `\\xdaltima data dispon\\xedvel`,\n \"minimumDate\": `Primeira data dispon\\xedvel`,\n \"next\": `Pr\\xf3ximo`,\n \"previous\": `Anterior`,\n \"selectedDateDescription\": (args)=>`Data selecionada: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Intervalo selecionado: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Clique para iniciar a sele\\xe7\\xe3o do intervalo de datas`,\n \"todayDate\": (args)=>`Hoje, ${args.date}`,\n \"todayDateSelected\": (args)=>`Hoje, ${args.date} selecionado`\n};\n\n\nexport {$e7f4b8491d3557b4$exports as default};\n//# sourceMappingURL=pt-BR.mjs.map\n","var $e99996dc60ab2305$exports = {};\n$e99996dc60ab2305$exports = {\n \"dateRange\": (args)=>`${args.startDate} a ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} selecionado`,\n \"finishRangeSelectionPrompt\": `Clique para terminar de selecionar o intervalo de datas`,\n \"maximumDate\": `\\xdaltima data dispon\\xedvel`,\n \"minimumDate\": `Primeira data dispon\\xedvel`,\n \"next\": `Pr\\xf3ximo`,\n \"previous\": `Anterior`,\n \"selectedDateDescription\": (args)=>`Data selecionada: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Intervalo selecionado: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Clique para come\\xe7ar a selecionar o intervalo de datas`,\n \"todayDate\": (args)=>`Hoje, ${args.date}`,\n \"todayDateSelected\": (args)=>`Hoje, ${args.date} selecionado`\n};\n\n\nexport {$e99996dc60ab2305$exports as default};\n//# sourceMappingURL=pt-PT.mjs.map\n","var $95deb956d533bce5$exports = {};\n$95deb956d533bce5$exports = {\n \"dateRange\": (args)=>`De la ${args.startDate} p\\xe2n\\u{103} la ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} selectat\\u{103}`,\n \"finishRangeSelectionPrompt\": `Ap\\u{103}sa\\u{163}i pentru a finaliza selec\\u{163}ia razei pentru dat\\u{103}`,\n \"maximumDate\": `Ultima dat\\u{103} disponibil\\u{103}`,\n \"minimumDate\": `Prima dat\\u{103} disponibil\\u{103}`,\n \"next\": `Urm\\u{103}torul`,\n \"previous\": `\\xcenainte`,\n \"selectedDateDescription\": (args)=>`Dat\\u{103} selectat\\u{103}: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Interval selectat: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Ap\\u{103}sa\\u{163}i pentru a \\xeencepe selec\\u{163}ia razei pentru dat\\u{103}`,\n \"todayDate\": (args)=>`Ast\\u{103}zi, ${args.date}`,\n \"todayDateSelected\": (args)=>`Azi, ${args.date} selectat\\u{103}`\n};\n\n\nexport {$95deb956d533bce5$exports as default};\n//# sourceMappingURL=ro-RO.mjs.map\n","var $e8b100cc46a72272$exports = {};\n$e8b100cc46a72272$exports = {\n \"dateRange\": (args)=>`\\u{421} ${args.startDate} \\u{43F}\\u{43E} ${args.endDate}`,\n \"dateSelected\": (args)=>`\\u{412}\\u{44B}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E} ${args.date}`,\n \"finishRangeSelectionPrompt\": `\\u{429}\\u{435}\\u{43B}\\u{43A}\\u{43D}\\u{438}\\u{442}\\u{435}, \\u{447}\\u{442}\\u{43E}\\u{431}\\u{44B} \\u{437}\\u{430}\\u{432}\\u{435}\\u{440}\\u{448}\\u{438}\\u{442}\\u{44C} \\u{432}\\u{44B}\\u{431}\\u{43E}\\u{440} \\u{434}\\u{438}\\u{430}\\u{43F}\\u{430}\\u{437}\\u{43E}\\u{43D}\\u{430} \\u{434}\\u{430}\\u{442}`,\n \"maximumDate\": `\\u{41F}\\u{43E}\\u{441}\\u{43B}\\u{435}\\u{434}\\u{43D}\\u{44F}\\u{44F} \\u{434}\\u{43E}\\u{441}\\u{442}\\u{443}\\u{43F}\\u{43D}\\u{430}\\u{44F} \\u{434}\\u{430}\\u{442}\\u{430}`,\n \"minimumDate\": `\\u{41F}\\u{435}\\u{440}\\u{432}\\u{430}\\u{44F} \\u{434}\\u{43E}\\u{441}\\u{442}\\u{443}\\u{43F}\\u{43D}\\u{430}\\u{44F} \\u{434}\\u{430}\\u{442}\\u{430}`,\n \"next\": `\\u{414}\\u{430}\\u{43B}\\u{435}\\u{435}`,\n \"previous\": `\\u{41D}\\u{430}\\u{437}\\u{430}\\u{434}`,\n \"selectedDateDescription\": (args)=>`\\u{412}\\u{44B}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43D}\\u{430}\\u{44F} \\u{434}\\u{430}\\u{442}\\u{430}: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`\\u{412}\\u{44B}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43D}\\u{44B}\\u{439} \\u{434}\\u{438}\\u{430}\\u{43F}\\u{430}\\u{437}\\u{43E}\\u{43D}: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `\\u{429}\\u{435}\\u{43B}\\u{43A}\\u{43D}\\u{438}\\u{442}\\u{435}, \\u{447}\\u{442}\\u{43E}\\u{431}\\u{44B} \\u{43D}\\u{430}\\u{447}\\u{430}\\u{442}\\u{44C} \\u{432}\\u{44B}\\u{431}\\u{43E}\\u{440} \\u{434}\\u{438}\\u{430}\\u{43F}\\u{430}\\u{437}\\u{43E}\\u{43D}\\u{430} \\u{434}\\u{430}\\u{442}`,\n \"todayDate\": (args)=>`\\u{421}\\u{435}\\u{433}\\u{43E}\\u{434}\\u{43D}\\u{44F}, ${args.date}`,\n \"todayDateSelected\": (args)=>`\\u{421}\\u{435}\\u{433}\\u{43E}\\u{434}\\u{43D}\\u{44F}, \\u{432}\\u{44B}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E} ${args.date}`\n};\n\n\nexport {$e8b100cc46a72272$exports as default};\n//# sourceMappingURL=ru-RU.mjs.map\n","var $481c4b85f271df66$exports = {};\n$481c4b85f271df66$exports = {\n \"dateRange\": (args)=>`Od ${args.startDate} do ${args.endDate}`,\n \"dateSelected\": (args)=>`Vybrat\\xfd d\\xe1tum ${args.date}`,\n \"finishRangeSelectionPrompt\": `Kliknut\\xedm dokon\\u{10D}\\xedte v\\xfdber rozsahu d\\xe1tumov`,\n \"maximumDate\": `Posledn\\xfd dostupn\\xfd d\\xe1tum`,\n \"minimumDate\": `Prv\\xfd dostupn\\xfd d\\xe1tum`,\n \"next\": `Nasleduj\\xface`,\n \"previous\": `Predch\\xe1dzaj\\xface`,\n \"selectedDateDescription\": (args)=>`Vybrat\\xfd d\\xe1tum: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Vybrat\\xfd rozsah: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Kliknut\\xedm spust\\xedte v\\xfdber rozsahu d\\xe1tumov`,\n \"todayDate\": (args)=>`Dnes ${args.date}`,\n \"todayDateSelected\": (args)=>`Vybrat\\xfd dne\\u{161}n\\xfd d\\xe1tum ${args.date}`\n};\n\n\nexport {$481c4b85f271df66$exports as default};\n//# sourceMappingURL=sk-SK.mjs.map\n","var $64589b243bc78a0f$exports = {};\n$64589b243bc78a0f$exports = {\n \"dateRange\": (args)=>`${args.startDate} do ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} izbrano`,\n \"finishRangeSelectionPrompt\": `Kliknite za dokon\\u{10D}anje izbire datumskega obsega`,\n \"maximumDate\": `Zadnji razpolo\\u{17E}ljivi datum`,\n \"minimumDate\": `Prvi razpolo\\u{17E}ljivi datum`,\n \"next\": `Naprej`,\n \"previous\": `Nazaj`,\n \"selectedDateDescription\": (args)=>`Izbrani datum: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Izbrano obmo\\u{10D}je: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Kliknite za za\\u{10D}etek izbire datumskega obsega`,\n \"todayDate\": (args)=>`Danes, ${args.date}`,\n \"todayDateSelected\": (args)=>`Danes, ${args.date} izbrano`\n};\n\n\nexport {$64589b243bc78a0f$exports as default};\n//# sourceMappingURL=sl-SI.mjs.map\n","var $018d90f18dffe1c6$exports = {};\n$018d90f18dffe1c6$exports = {\n \"dateRange\": (args)=>`${args.startDate} do ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} izabran`,\n \"finishRangeSelectionPrompt\": `Kliknite da dovr\\u{161}ite opseg izabranih datuma`,\n \"maximumDate\": `Zadnji raspolo\\u{17E}ivi datum`,\n \"minimumDate\": `Prvi raspolo\\u{17E}ivi datum`,\n \"next\": `Slede\\u{107}i`,\n \"previous\": `Prethodni`,\n \"selectedDateDescription\": (args)=>`Izabrani datum: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Izabrani period: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Kliknite da zapo\\u{10D}nete opseg izabranih datuma`,\n \"todayDate\": (args)=>`Danas, ${args.date}`,\n \"todayDateSelected\": (args)=>`Danas, izabran ${args.date}`\n};\n\n\nexport {$018d90f18dffe1c6$exports as default};\n//# sourceMappingURL=sr-SP.mjs.map\n","var $7fc9e71ef8ebabc4$exports = {};\n$7fc9e71ef8ebabc4$exports = {\n \"dateRange\": (args)=>`${args.startDate} till ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} har valts`,\n \"finishRangeSelectionPrompt\": `Klicka f\\xf6r att avsluta val av datumintervall`,\n \"maximumDate\": `Sista tillg\\xe4ngliga datum`,\n \"minimumDate\": `F\\xf6rsta tillg\\xe4ngliga datum`,\n \"next\": `N\\xe4sta`,\n \"previous\": `F\\xf6reg\\xe5ende`,\n \"selectedDateDescription\": (args)=>`Valt datum: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Valt intervall: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Klicka f\\xf6r att v\\xe4lja datumintervall`,\n \"todayDate\": (args)=>`Idag, ${args.date}`,\n \"todayDateSelected\": (args)=>`Idag, ${args.date} har valts`\n};\n\n\nexport {$7fc9e71ef8ebabc4$exports as default};\n//# sourceMappingURL=sv-SE.mjs.map\n","var $ef7f075a1788bc8c$exports = {};\n$ef7f075a1788bc8c$exports = {\n \"dateRange\": (args)=>`${args.startDate} - ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} se\\xe7ildi`,\n \"finishRangeSelectionPrompt\": `Tarih aral\\u{131}\\u{11F}\\u{131} se\\xe7imini tamamlamak i\\xe7in t\\u{131}klay\\u{131}n`,\n \"maximumDate\": `Son m\\xfcsait tarih`,\n \"minimumDate\": `\\u{130}lk m\\xfcsait tarih`,\n \"next\": `Sonraki`,\n \"previous\": `\\xd6nceki`,\n \"selectedDateDescription\": (args)=>`Se\\xe7ilen Tarih: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Se\\xe7ilen Aral\\u{131}k: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Tarih aral\\u{131}\\u{11F}\\u{131} se\\xe7imini ba\\u{15F}latmak i\\xe7in t\\u{131}klay\\u{131}n`,\n \"todayDate\": (args)=>`Bug\\xfcn, ${args.date}`,\n \"todayDateSelected\": (args)=>`Bug\\xfcn, ${args.date} se\\xe7ildi`\n};\n\n\nexport {$ef7f075a1788bc8c$exports as default};\n//# sourceMappingURL=tr-TR.mjs.map\n","var $1c1c5ddca5934ba3$exports = {};\n$1c1c5ddca5934ba3$exports = {\n \"dateRange\": (args)=>`${args.startDate} \\u{2014} ${args.endDate}`,\n \"dateSelected\": (args)=>`\\u{412}\\u{438}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E} ${args.date}`,\n \"finishRangeSelectionPrompt\": `\\u{41D}\\u{430}\\u{442}\\u{438}\\u{441}\\u{43D}\\u{456}\\u{442}\\u{44C}, \\u{449}\\u{43E}\\u{431} \\u{437}\\u{430}\\u{432}\\u{435}\\u{440}\\u{448}\\u{438}\\u{442}\\u{438} \\u{432}\\u{438}\\u{431}\\u{456}\\u{440} \\u{434}\\u{456}\\u{430}\\u{43F}\\u{430}\\u{437}\\u{43E}\\u{43D}\\u{443} \\u{434}\\u{430}\\u{442}`,\n \"maximumDate\": `\\u{41E}\\u{441}\\u{442}\\u{430}\\u{43D}\\u{43D}\\u{44F} \\u{434}\\u{43E}\\u{441}\\u{442}\\u{443}\\u{43F}\\u{43D}\\u{430} \\u{434}\\u{430}\\u{442}\\u{430}`,\n \"minimumDate\": `\\u{41F}\\u{435}\\u{440}\\u{448}\\u{430} \\u{434}\\u{43E}\\u{441}\\u{442}\\u{443}\\u{43F}\\u{43D}\\u{430} \\u{434}\\u{430}\\u{442}\\u{430}`,\n \"next\": `\\u{41D}\\u{430}\\u{441}\\u{442}\\u{443}\\u{43F}\\u{43D}\\u{438}\\u{439}`,\n \"previous\": `\\u{41F}\\u{43E}\\u{43F}\\u{435}\\u{440}\\u{435}\\u{434}\\u{43D}\\u{456}\\u{439}`,\n \"selectedDateDescription\": (args)=>`\\u{412}\\u{438}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{430} \\u{434}\\u{430}\\u{442}\\u{430}: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`\\u{412}\\u{438}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{438}\\u{439} \\u{434}\\u{456}\\u{430}\\u{43F}\\u{430}\\u{437}\\u{43E}\\u{43D}: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `\\u{41D}\\u{430}\\u{442}\\u{438}\\u{441}\\u{43D}\\u{456}\\u{442}\\u{44C}, \\u{449}\\u{43E}\\u{431} \\u{43F}\\u{43E}\\u{447}\\u{430}\\u{442}\\u{438} \\u{432}\\u{438}\\u{431}\\u{456}\\u{440} \\u{434}\\u{456}\\u{430}\\u{43F}\\u{430}\\u{437}\\u{43E}\\u{43D}\\u{443} \\u{434}\\u{430}\\u{442}`,\n \"todayDate\": (args)=>`\\u{421}\\u{44C}\\u{43E}\\u{433}\\u{43E}\\u{434}\\u{43D}\\u{456}, ${args.date}`,\n \"todayDateSelected\": (args)=>`\\u{421}\\u{44C}\\u{43E}\\u{433}\\u{43E}\\u{434}\\u{43D}\\u{456}, \\u{432}\\u{438}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E} ${args.date}`\n};\n\n\nexport {$1c1c5ddca5934ba3$exports as default};\n//# sourceMappingURL=uk-UA.mjs.map\n","var $a43114bde648d07d$exports = {};\n$a43114bde648d07d$exports = {\n \"dateRange\": (args)=>`${args.startDate} \\u{81F3} ${args.endDate}`,\n \"dateSelected\": (args)=>`\\u{5DF2}\\u{9009}\\u{62E9} ${args.date}`,\n \"finishRangeSelectionPrompt\": `\\u{5355}\\u{51FB}\\u{4EE5}\\u{5B8C}\\u{6210}\\u{9009}\\u{62E9}\\u{65E5}\\u{671F}\\u{8303}\\u{56F4}`,\n \"maximumDate\": `\\u{6700}\\u{540E}\\u{4E00}\\u{4E2A}\\u{53EF}\\u{7528}\\u{65E5}\\u{671F}`,\n \"minimumDate\": `\\u{7B2C}\\u{4E00}\\u{4E2A}\\u{53EF}\\u{7528}\\u{65E5}\\u{671F}`,\n \"next\": `\\u{4E0B}\\u{4E00}\\u{9875}`,\n \"previous\": `\\u{4E0A}\\u{4E00}\\u{9875}`,\n \"selectedDateDescription\": (args)=>`\\u{9009}\\u{5B9A}\\u{7684}\\u{65E5}\\u{671F}\\u{FF1A}${args.date}`,\n \"selectedRangeDescription\": (args)=>`\\u{9009}\\u{5B9A}\\u{7684}\\u{8303}\\u{56F4}\\u{FF1A}${args.dateRange}`,\n \"startRangeSelectionPrompt\": `\\u{5355}\\u{51FB}\\u{4EE5}\\u{5F00}\\u{59CB}\\u{9009}\\u{62E9}\\u{65E5}\\u{671F}\\u{8303}\\u{56F4}`,\n \"todayDate\": (args)=>`\\u{4ECA}\\u{5929}\\u{FF0C}\\u{5373} ${args.date}`,\n \"todayDateSelected\": (args)=>`\\u{5DF2}\\u{9009}\\u{62E9}\\u{4ECA}\\u{5929}\\u{FF0C}\\u{5373} ${args.date}`\n};\n\n\nexport {$a43114bde648d07d$exports as default};\n//# sourceMappingURL=zh-CN.mjs.map\n","var $139934e8158dd341$exports = {};\n$139934e8158dd341$exports = {\n \"dateRange\": (args)=>`${args.startDate} \\u{81F3} ${args.endDate}`,\n \"dateSelected\": (args)=>`\\u{5DF2}\\u{9078}\\u{53D6} ${args.date}`,\n \"finishRangeSelectionPrompt\": `\\u{6309}\\u{4E00}\\u{4E0B}\\u{4EE5}\\u{5B8C}\\u{6210}\\u{9078}\\u{53D6}\\u{65E5}\\u{671F}\\u{7BC4}\\u{570D}`,\n \"maximumDate\": `\\u{6700}\\u{5F8C}\\u{4E00}\\u{500B}\\u{53EF}\\u{7528}\\u{65E5}\\u{671F}`,\n \"minimumDate\": `\\u{7B2C}\\u{4E00}\\u{500B}\\u{53EF}\\u{7528}\\u{65E5}\\u{671F}`,\n \"next\": `\\u{4E0B}\\u{4E00}\\u{9801}`,\n \"previous\": `\\u{4E0A}\\u{4E00}\\u{9801}`,\n \"selectedDateDescription\": (args)=>`\\u{9078}\\u{5B9A}\\u{7684}\\u{65E5}\\u{671F}\\u{FF1A}${args.date}`,\n \"selectedRangeDescription\": (args)=>`\\u{9078}\\u{5B9A}\\u{7684}\\u{7BC4}\\u{570D}\\u{FF1A}${args.dateRange}`,\n \"startRangeSelectionPrompt\": `\\u{6309}\\u{4E00}\\u{4E0B}\\u{4EE5}\\u{958B}\\u{59CB}\\u{9078}\\u{53D6}\\u{65E5}\\u{671F}\\u{7BC4}\\u{570D}`,\n \"todayDate\": (args)=>`\\u{4ECA}\\u{5929}\\u{FF0C}${args.date}`,\n \"todayDateSelected\": (args)=>`\\u{5DF2}\\u{9078}\\u{53D6}\\u{4ECA}\\u{5929}\\u{FF0C}${args.date}`\n};\n\n\nexport {$139934e8158dd341$exports as default};\n//# sourceMappingURL=zh-TW.mjs.map\n","import $3T2N1$intlcalendararAEmjs from \"../intl/calendar/ar-AE.mjs\";\nimport $3T2N1$intlcalendarbgBGmjs from \"../intl/calendar/bg-BG.mjs\";\nimport $3T2N1$intlcalendarcsCZmjs from \"../intl/calendar/cs-CZ.mjs\";\nimport $3T2N1$intlcalendardaDKmjs from \"../intl/calendar/da-DK.mjs\";\nimport $3T2N1$intlcalendardeDEmjs from \"../intl/calendar/de-DE.mjs\";\nimport $3T2N1$intlcalendarelGRmjs from \"../intl/calendar/el-GR.mjs\";\nimport $3T2N1$intlcalendarenUSmjs from \"../intl/calendar/en-US.mjs\";\nimport $3T2N1$intlcalendaresESmjs from \"../intl/calendar/es-ES.mjs\";\nimport $3T2N1$intlcalendaretEEmjs from \"../intl/calendar/et-EE.mjs\";\nimport $3T2N1$intlcalendarfiFImjs from \"../intl/calendar/fi-FI.mjs\";\nimport $3T2N1$intlcalendarfrFRmjs from \"../intl/calendar/fr-FR.mjs\";\nimport $3T2N1$intlcalendarheILmjs from \"../intl/calendar/he-IL.mjs\";\nimport $3T2N1$intlcalendarhrHRmjs from \"../intl/calendar/hr-HR.mjs\";\nimport $3T2N1$intlcalendarhuHUmjs from \"../intl/calendar/hu-HU.mjs\";\nimport $3T2N1$intlcalendaritITmjs from \"../intl/calendar/it-IT.mjs\";\nimport $3T2N1$intlcalendarjaJPmjs from \"../intl/calendar/ja-JP.mjs\";\nimport $3T2N1$intlcalendarkoKRmjs from \"../intl/calendar/ko-KR.mjs\";\nimport $3T2N1$intlcalendarltLTmjs from \"../intl/calendar/lt-LT.mjs\";\nimport $3T2N1$intlcalendarlvLVmjs from \"../intl/calendar/lv-LV.mjs\";\nimport $3T2N1$intlcalendarnbNOmjs from \"../intl/calendar/nb-NO.mjs\";\nimport $3T2N1$intlcalendarnlNLmjs from \"../intl/calendar/nl-NL.mjs\";\nimport $3T2N1$intlcalendarplPLmjs from \"../intl/calendar/pl-PL.mjs\";\nimport $3T2N1$intlcalendarptBRmjs from \"../intl/calendar/pt-BR.mjs\";\nimport $3T2N1$intlcalendarptPTmjs from \"../intl/calendar/pt-PT.mjs\";\nimport $3T2N1$intlcalendarroROmjs from \"../intl/calendar/ro-RO.mjs\";\nimport $3T2N1$intlcalendarruRUmjs from \"../intl/calendar/ru-RU.mjs\";\nimport $3T2N1$intlcalendarskSKmjs from \"../intl/calendar/sk-SK.mjs\";\nimport $3T2N1$intlcalendarslSImjs from \"../intl/calendar/sl-SI.mjs\";\nimport $3T2N1$intlcalendarsrSPmjs from \"../intl/calendar/sr-SP.mjs\";\nimport $3T2N1$intlcalendarsvSEmjs from \"../intl/calendar/sv-SE.mjs\";\nimport $3T2N1$intlcalendartrTRmjs from \"../intl/calendar/tr-TR.mjs\";\nimport $3T2N1$intlcalendarukUAmjs from \"../intl/calendar/uk-UA.mjs\";\nimport $3T2N1$intlcalendarzhCNmjs from \"../intl/calendar/zh-CN.mjs\";\nimport $3T2N1$intlcalendarzhTWmjs from \"../intl/calendar/zh-TW.mjs\";\n\nvar $e05239aa7a8d905d$exports = {};\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n$e05239aa7a8d905d$exports = {\n \"ar-AE\": $3T2N1$intlcalendararAEmjs,\n \"bg-BG\": $3T2N1$intlcalendarbgBGmjs,\n \"cs-CZ\": $3T2N1$intlcalendarcsCZmjs,\n \"da-DK\": $3T2N1$intlcalendardaDKmjs,\n \"de-DE\": $3T2N1$intlcalendardeDEmjs,\n \"el-GR\": $3T2N1$intlcalendarelGRmjs,\n \"en-US\": $3T2N1$intlcalendarenUSmjs,\n \"es-ES\": $3T2N1$intlcalendaresESmjs,\n \"et-EE\": $3T2N1$intlcalendaretEEmjs,\n \"fi-FI\": $3T2N1$intlcalendarfiFImjs,\n \"fr-FR\": $3T2N1$intlcalendarfrFRmjs,\n \"he-IL\": $3T2N1$intlcalendarheILmjs,\n \"hr-HR\": $3T2N1$intlcalendarhrHRmjs,\n \"hu-HU\": $3T2N1$intlcalendarhuHUmjs,\n \"it-IT\": $3T2N1$intlcalendaritITmjs,\n \"ja-JP\": $3T2N1$intlcalendarjaJPmjs,\n \"ko-KR\": $3T2N1$intlcalendarkoKRmjs,\n \"lt-LT\": $3T2N1$intlcalendarltLTmjs,\n \"lv-LV\": $3T2N1$intlcalendarlvLVmjs,\n \"nb-NO\": $3T2N1$intlcalendarnbNOmjs,\n \"nl-NL\": $3T2N1$intlcalendarnlNLmjs,\n \"pl-PL\": $3T2N1$intlcalendarplPLmjs,\n \"pt-BR\": $3T2N1$intlcalendarptBRmjs,\n \"pt-PT\": $3T2N1$intlcalendarptPTmjs,\n \"ro-RO\": $3T2N1$intlcalendarroROmjs,\n \"ru-RU\": $3T2N1$intlcalendarruRUmjs,\n \"sk-SK\": $3T2N1$intlcalendarskSKmjs,\n \"sl-SI\": $3T2N1$intlcalendarslSImjs,\n \"sr-SP\": $3T2N1$intlcalendarsrSPmjs,\n \"sv-SE\": $3T2N1$intlcalendarsvSEmjs,\n \"tr-TR\": $3T2N1$intlcalendartrTRmjs,\n \"uk-UA\": $3T2N1$intlcalendarukUAmjs,\n \"zh-CN\": $3T2N1$intlcalendarzhCNmjs,\n \"zh-TW\": $3T2N1$intlcalendarzhTWmjs\n};\n\n\nexport {$e05239aa7a8d905d$exports as default};\n//# sourceMappingURL=intlStrings.mjs.map\n","import {useRef as $1QAm5$useRef} from \"react\";\n\n/*\n * Copyright 2023 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 */ /* eslint-disable rulesdir/pure-render */ \nfunction $9c268ab73a5d55e5$export$722debc0e56fea39(value, isEqual) {\n // Using a ref during render is ok here because it's only an optimization – both values are equivalent.\n // If a render is thrown away, it'll still work the same no matter if the next render is the same or not.\n let lastValue = (0, $1QAm5$useRef)(null);\n if (value && lastValue.current && isEqual(value, lastValue.current)) value = lastValue.current;\n lastValue.current = value;\n return value;\n}\n\n\nexport {$9c268ab73a5d55e5$export$722debc0e56fea39 as useDeepMemo};\n//# sourceMappingURL=useDeepMemo.mjs.map\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 */ function $09ec6a572d60460f$export$842a2cf37af977e1(amount, numerator) {\n return amount - numerator * Math.floor(amount / numerator);\n}\n\n\nexport {$09ec6a572d60460f$export$842a2cf37af977e1 as mod};\n//# sourceMappingURL=utils.mjs.map\n","import {CalendarDate as $2aaf608024c21ca1$export$99faa760c7908e4f} from \"../CalendarDate.mjs\";\nimport {mod as $09ec6a572d60460f$export$842a2cf37af977e1} from \"../utils.mjs\";\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 */ // Portions of the code in this file are based on code from ICU.\n// Original licensing can be found in the NOTICE file in the root directory of this source tree.\n\n\nconst $93635573935797de$var$EPOCH = 1721426; // 001/01/03 Julian C.E.\nfunction $93635573935797de$export$f297eb839006d339(era, year, month, day) {\n year = $93635573935797de$export$c36e0ecb2d4fa69d(era, year);\n let y1 = year - 1;\n let monthOffset = -2;\n if (month <= 2) monthOffset = 0;\n else if ($93635573935797de$export$553d7fa8e3805fc0(year)) monthOffset = -1;\n return $93635573935797de$var$EPOCH - 1 + 365 * y1 + Math.floor(y1 / 4) - Math.floor(y1 / 100) + Math.floor(y1 / 400) + Math.floor((367 * month - 362) / 12 + monthOffset + day);\n}\nfunction $93635573935797de$export$553d7fa8e3805fc0(year) {\n return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);\n}\nfunction $93635573935797de$export$c36e0ecb2d4fa69d(era, year) {\n return era === 'BC' ? 1 - year : year;\n}\nfunction $93635573935797de$export$4475b7e617eb123c(year) {\n let era = 'AD';\n if (year <= 0) {\n era = 'BC';\n year = 1 - year;\n }\n return [\n era,\n year\n ];\n}\nconst $93635573935797de$var$daysInMonth = {\n standard: [\n 31,\n 28,\n 31,\n 30,\n 31,\n 30,\n 31,\n 31,\n 30,\n 31,\n 30,\n 31\n ],\n leapyear: [\n 31,\n 29,\n 31,\n 30,\n 31,\n 30,\n 31,\n 31,\n 30,\n 31,\n 30,\n 31\n ]\n};\nclass $93635573935797de$export$80ee6245ec4f29ec {\n fromJulianDay(jd) {\n let jd0 = jd;\n let depoch = jd0 - $93635573935797de$var$EPOCH;\n let quadricent = Math.floor(depoch / 146097);\n let dqc = (0, $09ec6a572d60460f$export$842a2cf37af977e1)(depoch, 146097);\n let cent = Math.floor(dqc / 36524);\n let dcent = (0, $09ec6a572d60460f$export$842a2cf37af977e1)(dqc, 36524);\n let quad = Math.floor(dcent / 1461);\n let dquad = (0, $09ec6a572d60460f$export$842a2cf37af977e1)(dcent, 1461);\n let yindex = Math.floor(dquad / 365);\n let extendedYear = quadricent * 400 + cent * 100 + quad * 4 + yindex + (cent !== 4 && yindex !== 4 ? 1 : 0);\n let [era, year] = $93635573935797de$export$4475b7e617eb123c(extendedYear);\n let yearDay = jd0 - $93635573935797de$export$f297eb839006d339(era, year, 1, 1);\n let leapAdj = 2;\n if (jd0 < $93635573935797de$export$f297eb839006d339(era, year, 3, 1)) leapAdj = 0;\n else if ($93635573935797de$export$553d7fa8e3805fc0(year)) leapAdj = 1;\n let month = Math.floor(((yearDay + leapAdj) * 12 + 373) / 367);\n let day = jd0 - $93635573935797de$export$f297eb839006d339(era, year, month, 1) + 1;\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(era, year, month, day);\n }\n toJulianDay(date) {\n return $93635573935797de$export$f297eb839006d339(date.era, date.year, date.month, date.day);\n }\n getDaysInMonth(date) {\n return $93635573935797de$var$daysInMonth[$93635573935797de$export$553d7fa8e3805fc0(date.year) ? 'leapyear' : 'standard'][date.month - 1];\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n getMonthsInYear(date) {\n return 12;\n }\n getDaysInYear(date) {\n return $93635573935797de$export$553d7fa8e3805fc0(date.year) ? 366 : 365;\n }\n getMaximumMonthsInYear() {\n return 12;\n }\n getMaximumDaysInMonth() {\n return 31;\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n getYearsInEra(date) {\n return 9999;\n }\n getEras() {\n return [\n 'BC',\n 'AD'\n ];\n }\n isInverseEra(date) {\n return date.era === 'BC';\n }\n balanceDate(date) {\n if (date.year <= 0) {\n date.era = date.era === 'BC' ? 'AD' : 'BC';\n date.year = 1 - date.year;\n }\n }\n constructor(){\n this.identifier = 'gregory';\n }\n}\n\n\nexport {$93635573935797de$export$f297eb839006d339 as gregorianToJulianDay, $93635573935797de$export$c36e0ecb2d4fa69d as getExtendedYear, $93635573935797de$export$553d7fa8e3805fc0 as isLeapYear, $93635573935797de$export$4475b7e617eb123c as fromExtendedYear, $93635573935797de$export$80ee6245ec4f29ec as GregorianCalendar};\n//# sourceMappingURL=GregorianCalendar.mjs.map\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 */ // Data from https://github.com/unicode-cldr/cldr-core/blob/master/supplemental/weekData.json\n// Locales starting on Sunday have been removed for compression.\nconst $d2ca8165c9aa885a$export$7a5acbd77d414bd9 = {\n '001': 1,\n AD: 1,\n AE: 6,\n AF: 6,\n AI: 1,\n AL: 1,\n AM: 1,\n AN: 1,\n AR: 1,\n AT: 1,\n AU: 1,\n AX: 1,\n AZ: 1,\n BA: 1,\n BE: 1,\n BG: 1,\n BH: 6,\n BM: 1,\n BN: 1,\n BY: 1,\n CH: 1,\n CL: 1,\n CM: 1,\n CN: 1,\n CR: 1,\n CY: 1,\n CZ: 1,\n DE: 1,\n DJ: 6,\n DK: 1,\n DZ: 6,\n EC: 1,\n EE: 1,\n EG: 6,\n ES: 1,\n FI: 1,\n FJ: 1,\n FO: 1,\n FR: 1,\n GB: 1,\n GE: 1,\n GF: 1,\n GP: 1,\n GR: 1,\n HR: 1,\n HU: 1,\n IE: 1,\n IQ: 6,\n IR: 6,\n IS: 1,\n IT: 1,\n JO: 6,\n KG: 1,\n KW: 6,\n KZ: 1,\n LB: 1,\n LI: 1,\n LK: 1,\n LT: 1,\n LU: 1,\n LV: 1,\n LY: 6,\n MC: 1,\n MD: 1,\n ME: 1,\n MK: 1,\n MN: 1,\n MQ: 1,\n MV: 5,\n MY: 1,\n NL: 1,\n NO: 1,\n NZ: 1,\n OM: 6,\n PL: 1,\n QA: 6,\n RE: 1,\n RO: 1,\n RS: 1,\n RU: 1,\n SD: 6,\n SE: 1,\n SI: 1,\n SK: 1,\n SM: 1,\n SY: 6,\n TJ: 1,\n TM: 1,\n TR: 1,\n UA: 1,\n UY: 1,\n UZ: 1,\n VA: 1,\n VN: 1,\n XK: 1\n};\n\n\nexport {$d2ca8165c9aa885a$export$7a5acbd77d414bd9 as weekStartData};\n//# sourceMappingURL=weekStartData.mjs.map\n","import {fromAbsolute as $d07e34cce18680fd$export$1b96692a1ba042ac, toAbsolute as $d07e34cce18680fd$export$5107c82f94518f5c, toCalendar as $d07e34cce18680fd$export$b4a036af3fc0b032, toCalendarDate as $d07e34cce18680fd$export$93522d1a439f3617} from \"./conversion.mjs\";\nimport {weekStartData as $d2ca8165c9aa885a$export$7a5acbd77d414bd9} from \"./weekStartData.mjs\";\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\nfunction $ad063034c8620db8$export$ea39ec197993aef0(a, b) {\n b = (0, $d07e34cce18680fd$export$b4a036af3fc0b032)(b, a.calendar);\n return a.era === b.era && a.year === b.year && a.month === b.month && a.day === b.day;\n}\nfunction $ad063034c8620db8$export$a18c89cbd24170ff(a, b) {\n b = (0, $d07e34cce18680fd$export$b4a036af3fc0b032)(b, a.calendar);\n // In the Japanese calendar, months can span multiple eras/years, so only compare the first of the month.\n a = $ad063034c8620db8$export$a5a3b454ada2268e(a);\n b = $ad063034c8620db8$export$a5a3b454ada2268e(b);\n return a.era === b.era && a.year === b.year && a.month === b.month;\n}\nfunction $ad063034c8620db8$export$5841f9eb9773f25f(a, b) {\n b = (0, $d07e34cce18680fd$export$b4a036af3fc0b032)(b, a.calendar);\n a = $ad063034c8620db8$export$f91e89d3d0406102(a);\n b = $ad063034c8620db8$export$f91e89d3d0406102(b);\n return a.era === b.era && a.year === b.year;\n}\nfunction $ad063034c8620db8$export$91b62ebf2ba703ee(a, b) {\n return $ad063034c8620db8$export$dbc69fd56b53d5e(a.calendar, b.calendar) && $ad063034c8620db8$export$ea39ec197993aef0(a, b);\n}\nfunction $ad063034c8620db8$export$5a8da0c44a3afdf2(a, b) {\n return $ad063034c8620db8$export$dbc69fd56b53d5e(a.calendar, b.calendar) && $ad063034c8620db8$export$a18c89cbd24170ff(a, b);\n}\nfunction $ad063034c8620db8$export$ea840f5a6dda8147(a, b) {\n return $ad063034c8620db8$export$dbc69fd56b53d5e(a.calendar, b.calendar) && $ad063034c8620db8$export$5841f9eb9773f25f(a, b);\n}\nfunction $ad063034c8620db8$export$dbc69fd56b53d5e(a, b) {\n return a.isEqual?.(b) ?? b.isEqual?.(a) ?? a.identifier === b.identifier;\n}\nfunction $ad063034c8620db8$export$629b0a497aa65267(date, timeZone) {\n return $ad063034c8620db8$export$ea39ec197993aef0(date, $ad063034c8620db8$export$d0bdf45af03a6ea3(timeZone));\n}\nconst $ad063034c8620db8$var$DAY_MAP = {\n sun: 0,\n mon: 1,\n tue: 2,\n wed: 3,\n thu: 4,\n fri: 5,\n sat: 6\n};\nfunction $ad063034c8620db8$export$2061056d06d7cdf7(date, locale, firstDayOfWeek) {\n let julian = date.calendar.toJulianDay(date);\n // If julian is negative, then julian % 7 will be negative, so we adjust\n // accordingly. Julian day 0 is Monday.\n let weekStart = firstDayOfWeek ? $ad063034c8620db8$var$DAY_MAP[firstDayOfWeek] : $ad063034c8620db8$var$getWeekStart(locale);\n let dayOfWeek = Math.ceil(julian + 1 - weekStart) % 7;\n if (dayOfWeek < 0) dayOfWeek += 7;\n return dayOfWeek;\n}\nfunction $ad063034c8620db8$export$461939dd4422153(timeZone) {\n return (0, $d07e34cce18680fd$export$1b96692a1ba042ac)(Date.now(), timeZone);\n}\nfunction $ad063034c8620db8$export$d0bdf45af03a6ea3(timeZone) {\n return (0, $d07e34cce18680fd$export$93522d1a439f3617)($ad063034c8620db8$export$461939dd4422153(timeZone));\n}\nfunction $ad063034c8620db8$export$68781ddf31c0090f(a, b) {\n return a.calendar.toJulianDay(a) - b.calendar.toJulianDay(b);\n}\nfunction $ad063034c8620db8$export$c19a80a9721b80f6(a, b) {\n return $ad063034c8620db8$var$timeToMs(a) - $ad063034c8620db8$var$timeToMs(b);\n}\nfunction $ad063034c8620db8$var$timeToMs(a) {\n return a.hour * 3600000 + a.minute * 60000 + a.second * 1000 + a.millisecond;\n}\nfunction $ad063034c8620db8$export$126c91c941de7e(a, timeZone) {\n let ms = (0, $d07e34cce18680fd$export$5107c82f94518f5c)(a, timeZone);\n let tomorrow = a.add({\n days: 1\n });\n let tomorrowMs = (0, $d07e34cce18680fd$export$5107c82f94518f5c)(tomorrow, timeZone);\n return (tomorrowMs - ms) / 3600000;\n}\nlet $ad063034c8620db8$var$localTimeZone = null;\nlet $ad063034c8620db8$var$localTimeZoneOverride = false;\nfunction $ad063034c8620db8$export$aa8b41735afcabd2() {\n if ($ad063034c8620db8$var$localTimeZone == null) $ad063034c8620db8$var$localTimeZone = new Intl.DateTimeFormat().resolvedOptions().timeZone;\n return $ad063034c8620db8$var$localTimeZone;\n}\nfunction $ad063034c8620db8$export$61a9d83ceb59a3dd(timeZone) {\n $ad063034c8620db8$var$localTimeZoneOverride = true;\n $ad063034c8620db8$var$localTimeZone = timeZone;\n}\nfunction $ad063034c8620db8$export$55753838ffe79333() {\n $ad063034c8620db8$var$localTimeZoneOverride = false;\n $ad063034c8620db8$var$localTimeZone = null;\n}\nfunction $ad063034c8620db8$export$6ab69b273755230b() {\n return $ad063034c8620db8$var$localTimeZoneOverride;\n}\nfunction $ad063034c8620db8$export$a5a3b454ada2268e(date) {\n // Use `subtract` instead of `set` so we don't get constrained in an era.\n return date.subtract({\n days: date.day - 1\n });\n}\nfunction $ad063034c8620db8$export$a2258d9c4118825c(date) {\n return date.add({\n days: date.calendar.getDaysInMonth(date) - date.day\n });\n}\nfunction $ad063034c8620db8$export$f91e89d3d0406102(date) {\n return $ad063034c8620db8$export$a5a3b454ada2268e(date.subtract({\n months: date.month - 1\n }));\n}\nfunction $ad063034c8620db8$export$8b7aa55c66d5569e(date) {\n return $ad063034c8620db8$export$a2258d9c4118825c(date.add({\n months: date.calendar.getMonthsInYear(date) - date.month\n }));\n}\nfunction $ad063034c8620db8$export$5412ac11713b72ad(date) {\n if (date.calendar.getMinimumMonthInYear) return date.calendar.getMinimumMonthInYear(date);\n return 1;\n}\nfunction $ad063034c8620db8$export$b2f4953d301981d5(date) {\n if (date.calendar.getMinimumDayInMonth) return date.calendar.getMinimumDayInMonth(date);\n return 1;\n}\nfunction $ad063034c8620db8$export$42c81a444fbfb5d4(date, locale, firstDayOfWeek) {\n let dayOfWeek = $ad063034c8620db8$export$2061056d06d7cdf7(date, locale, firstDayOfWeek);\n return date.subtract({\n days: dayOfWeek\n });\n}\nfunction $ad063034c8620db8$export$ef8b6d9133084f4e(date, locale, firstDayOfWeek) {\n return $ad063034c8620db8$export$42c81a444fbfb5d4(date, locale, firstDayOfWeek).add({\n days: 6\n });\n}\nconst $ad063034c8620db8$var$cachedRegions = new Map();\nconst $ad063034c8620db8$var$cachedWeekInfo = new Map();\nfunction $ad063034c8620db8$var$getRegion(locale) {\n // If the Intl.Locale API is available, use it to get the region for the locale.\n // @ts-ignore\n if (Intl.Locale) {\n // Constructing an Intl.Locale is expensive, so cache the result.\n let region = $ad063034c8620db8$var$cachedRegions.get(locale);\n if (!region) {\n // @ts-ignore\n region = new Intl.Locale(locale).maximize().region;\n if (region) $ad063034c8620db8$var$cachedRegions.set(locale, region);\n }\n return region;\n }\n // If not, just try splitting the string.\n // If the second part of the locale string is 'u',\n // then this is a unicode extension, so ignore it.\n // Otherwise, it should be the region.\n let part = locale.split('-')[1];\n return part === 'u' ? undefined : part;\n}\nfunction $ad063034c8620db8$var$getWeekStart(locale) {\n // TODO: use Intl.Locale for this once browsers support the weekInfo property\n // https://github.com/tc39/proposal-intl-locale-info\n let weekInfo = $ad063034c8620db8$var$cachedWeekInfo.get(locale);\n if (!weekInfo) {\n if (Intl.Locale) {\n // @ts-ignore\n let localeInst = new Intl.Locale(locale);\n if ('getWeekInfo' in localeInst) {\n // @ts-expect-error\n weekInfo = localeInst.getWeekInfo();\n if (weekInfo) {\n $ad063034c8620db8$var$cachedWeekInfo.set(locale, weekInfo);\n return weekInfo.firstDay;\n }\n }\n }\n let region = $ad063034c8620db8$var$getRegion(locale);\n if (locale.includes('-fw-')) {\n // pull the value for the attribute fw from strings such as en-US-u-ca-iso8601-fw-tue or en-US-u-ca-iso8601-fw-mon-nu-thai\n // where the fw attribute could be followed by another unicode locale extension or not\n let day = locale.split('-fw-')[1].split('-')[0];\n if (day === 'mon') weekInfo = {\n firstDay: 1\n };\n else if (day === 'tue') weekInfo = {\n firstDay: 2\n };\n else if (day === 'wed') weekInfo = {\n firstDay: 3\n };\n else if (day === 'thu') weekInfo = {\n firstDay: 4\n };\n else if (day === 'fri') weekInfo = {\n firstDay: 5\n };\n else if (day === 'sat') weekInfo = {\n firstDay: 6\n };\n else weekInfo = {\n firstDay: 0\n };\n } else if (locale.includes('-ca-iso8601')) weekInfo = {\n firstDay: 1\n };\n else weekInfo = {\n firstDay: region ? (0, $d2ca8165c9aa885a$export$7a5acbd77d414bd9)[region] || 0 : 0\n };\n $ad063034c8620db8$var$cachedWeekInfo.set(locale, weekInfo);\n }\n return weekInfo.firstDay;\n}\nfunction $ad063034c8620db8$export$ccc1b2479e7dd654(date, locale, firstDayOfWeek) {\n let days = date.calendar.getDaysInMonth(date);\n return Math.ceil(($ad063034c8620db8$export$2061056d06d7cdf7($ad063034c8620db8$export$a5a3b454ada2268e(date), locale, firstDayOfWeek) + days) / 7);\n}\nfunction $ad063034c8620db8$export$5c333a116e949cdd(a, b) {\n if (a && b) return a.compare(b) <= 0 ? a : b;\n return a || b;\n}\nfunction $ad063034c8620db8$export$a75f2bff57811055(a, b) {\n if (a && b) return a.compare(b) >= 0 ? a : b;\n return a || b;\n}\nconst $ad063034c8620db8$var$WEEKEND_DATA = {\n AF: [\n 4,\n 5\n ],\n AE: [\n 5,\n 6\n ],\n BH: [\n 5,\n 6\n ],\n DZ: [\n 5,\n 6\n ],\n EG: [\n 5,\n 6\n ],\n IL: [\n 5,\n 6\n ],\n IQ: [\n 5,\n 6\n ],\n IR: [\n 5,\n 5\n ],\n JO: [\n 5,\n 6\n ],\n KW: [\n 5,\n 6\n ],\n LY: [\n 5,\n 6\n ],\n OM: [\n 5,\n 6\n ],\n QA: [\n 5,\n 6\n ],\n SA: [\n 5,\n 6\n ],\n SD: [\n 5,\n 6\n ],\n SY: [\n 5,\n 6\n ],\n YE: [\n 5,\n 6\n ]\n};\nfunction $ad063034c8620db8$export$618d60ea299da42(date, locale) {\n let julian = date.calendar.toJulianDay(date);\n // If julian is negative, then julian % 7 will be negative, so we adjust\n // accordingly. Julian day 0 is Monday.\n let dayOfWeek = Math.ceil(julian + 1) % 7;\n if (dayOfWeek < 0) dayOfWeek += 7;\n let region = $ad063034c8620db8$var$getRegion(locale);\n // Use Intl.Locale for this once weekInfo is supported.\n // https://github.com/tc39/proposal-intl-locale-info\n let [start, end] = $ad063034c8620db8$var$WEEKEND_DATA[region] || [\n 6,\n 0\n ];\n return dayOfWeek === start || dayOfWeek === end;\n}\nfunction $ad063034c8620db8$export$ee9d87258e1d19ed(date, locale) {\n return !$ad063034c8620db8$export$618d60ea299da42(date, locale);\n}\n\n\nexport {$ad063034c8620db8$export$ea39ec197993aef0 as isSameDay, $ad063034c8620db8$export$a18c89cbd24170ff as isSameMonth, $ad063034c8620db8$export$a5a3b454ada2268e as startOfMonth, $ad063034c8620db8$export$5841f9eb9773f25f as isSameYear, $ad063034c8620db8$export$f91e89d3d0406102 as startOfYear, $ad063034c8620db8$export$91b62ebf2ba703ee as isEqualDay, $ad063034c8620db8$export$dbc69fd56b53d5e as isEqualCalendar, $ad063034c8620db8$export$5a8da0c44a3afdf2 as isEqualMonth, $ad063034c8620db8$export$ea840f5a6dda8147 as isEqualYear, $ad063034c8620db8$export$629b0a497aa65267 as isToday, $ad063034c8620db8$export$d0bdf45af03a6ea3 as today, $ad063034c8620db8$export$2061056d06d7cdf7 as getDayOfWeek, $ad063034c8620db8$export$461939dd4422153 as now, $ad063034c8620db8$export$68781ddf31c0090f as compareDate, $ad063034c8620db8$export$c19a80a9721b80f6 as compareTime, $ad063034c8620db8$export$126c91c941de7e as getHoursInDay, $ad063034c8620db8$export$aa8b41735afcabd2 as getLocalTimeZone, $ad063034c8620db8$export$61a9d83ceb59a3dd as setLocalTimeZone, $ad063034c8620db8$export$55753838ffe79333 as resetLocalTimeZone, $ad063034c8620db8$export$6ab69b273755230b as isLocalTimeZoneOverridden, $ad063034c8620db8$export$a2258d9c4118825c as endOfMonth, $ad063034c8620db8$export$8b7aa55c66d5569e as endOfYear, $ad063034c8620db8$export$5412ac11713b72ad as getMinimumMonthInYear, $ad063034c8620db8$export$b2f4953d301981d5 as getMinimumDayInMonth, $ad063034c8620db8$export$42c81a444fbfb5d4 as startOfWeek, $ad063034c8620db8$export$ef8b6d9133084f4e as endOfWeek, $ad063034c8620db8$export$ccc1b2479e7dd654 as getWeeksInMonth, $ad063034c8620db8$export$5c333a116e949cdd as minDate, $ad063034c8620db8$export$a75f2bff57811055 as maxDate, $ad063034c8620db8$export$618d60ea299da42 as isWeekend, $ad063034c8620db8$export$ee9d87258e1d19ed as isWeekday};\n//# sourceMappingURL=queries.mjs.map\n","import {CalendarDate as $2aaf608024c21ca1$export$99faa760c7908e4f, CalendarDateTime as $2aaf608024c21ca1$export$ca871e8dbb80966f, Time as $2aaf608024c21ca1$export$680ea196effce5f, ZonedDateTime as $2aaf608024c21ca1$export$d3b7288e7994edea} from \"./CalendarDate.mjs\";\nimport {constrain as $435a2ceaa8778ed8$export$c4e2ecac49351ef2} from \"./manipulation.mjs\";\nimport {getExtendedYear as $93635573935797de$export$c36e0ecb2d4fa69d, GregorianCalendar as $93635573935797de$export$80ee6245ec4f29ec} from \"./calendars/GregorianCalendar.mjs\";\nimport {getLocalTimeZone as $ad063034c8620db8$export$aa8b41735afcabd2, isEqualCalendar as $ad063034c8620db8$export$dbc69fd56b53d5e, isLocalTimeZoneOverridden as $ad063034c8620db8$export$6ab69b273755230b} from \"./queries.mjs\";\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 */ // Portions of the code in this file are based on code from the TC39 Temporal proposal.\n// Original licensing can be found in the NOTICE file in the root directory of this source tree.\n\n\n\n\nfunction $d07e34cce18680fd$export$bd4fb2bc8bb06fb(date) {\n date = $d07e34cce18680fd$export$b4a036af3fc0b032(date, new (0, $93635573935797de$export$80ee6245ec4f29ec)());\n let year = (0, $93635573935797de$export$c36e0ecb2d4fa69d)(date.era, date.year);\n return $d07e34cce18680fd$var$epochFromParts(year, date.month, date.day, date.hour, date.minute, date.second, date.millisecond);\n}\nfunction $d07e34cce18680fd$var$epochFromParts(year, month, day, hour, minute, second, millisecond) {\n // Note: Date.UTC() interprets one and two-digit years as being in the\n // 20th century, so don't use it\n let date = new Date();\n date.setUTCHours(hour, minute, second, millisecond);\n date.setUTCFullYear(year, month - 1, day);\n return date.getTime();\n}\nfunction $d07e34cce18680fd$export$59c99f3515d3493f(ms, timeZone) {\n // Fast path for UTC.\n if (timeZone === 'UTC') return 0;\n // Fast path: for local timezone after 1970, use native Date.\n // Skip this fast path if the local timezone was explicitly overridden via setLocalTimeZone,\n // since native Date always uses the browser's timezone, not the overridden one.\n if (ms > 0 && timeZone === (0, $ad063034c8620db8$export$aa8b41735afcabd2)() && !(0, $ad063034c8620db8$export$6ab69b273755230b)()) return new Date(ms).getTimezoneOffset() * -60000;\n let { year: year, month: month, day: day, hour: hour, minute: minute, second: second } = $d07e34cce18680fd$var$getTimeZoneParts(ms, timeZone);\n let utc = $d07e34cce18680fd$var$epochFromParts(year, month, day, hour, minute, second, 0);\n return utc - Math.floor(ms / 1000) * 1000;\n}\nconst $d07e34cce18680fd$var$formattersByTimeZone = new Map();\nfunction $d07e34cce18680fd$var$getTimeZoneParts(ms, timeZone) {\n let formatter = $d07e34cce18680fd$var$formattersByTimeZone.get(timeZone);\n if (!formatter) {\n formatter = new Intl.DateTimeFormat('en-US', {\n timeZone: timeZone,\n hour12: false,\n era: 'short',\n year: 'numeric',\n month: 'numeric',\n day: 'numeric',\n hour: 'numeric',\n minute: 'numeric',\n second: 'numeric'\n });\n $d07e34cce18680fd$var$formattersByTimeZone.set(timeZone, formatter);\n }\n let parts = formatter.formatToParts(new Date(ms));\n let namedParts = {};\n for (let part of parts)if (part.type !== 'literal') namedParts[part.type] = part.value;\n return {\n // Firefox returns B instead of BC... https://bugzilla.mozilla.org/show_bug.cgi?id=1752253\n year: namedParts.era === 'BC' || namedParts.era === 'B' ? -namedParts.year + 1 : +namedParts.year,\n month: +namedParts.month,\n day: +namedParts.day,\n hour: namedParts.hour === '24' ? 0 : +namedParts.hour,\n minute: +namedParts.minute,\n second: +namedParts.second\n };\n}\nconst $d07e34cce18680fd$var$DAYMILLIS = 86400000;\nfunction $d07e34cce18680fd$export$136f38efe7caf549(date, timeZone) {\n let ms = $d07e34cce18680fd$export$bd4fb2bc8bb06fb(date);\n let earlier = ms - $d07e34cce18680fd$export$59c99f3515d3493f(ms - $d07e34cce18680fd$var$DAYMILLIS, timeZone);\n let later = ms - $d07e34cce18680fd$export$59c99f3515d3493f(ms + $d07e34cce18680fd$var$DAYMILLIS, timeZone);\n return $d07e34cce18680fd$var$getValidWallTimes(date, timeZone, earlier, later);\n}\nfunction $d07e34cce18680fd$var$getValidWallTimes(date, timeZone, earlier, later) {\n let found = earlier === later ? [\n earlier\n ] : [\n earlier,\n later\n ];\n return found.filter((absolute)=>$d07e34cce18680fd$var$isValidWallTime(date, timeZone, absolute));\n}\nfunction $d07e34cce18680fd$var$isValidWallTime(date, timeZone, absolute) {\n let parts = $d07e34cce18680fd$var$getTimeZoneParts(absolute, timeZone);\n return date.year === parts.year && date.month === parts.month && date.day === parts.day && date.hour === parts.hour && date.minute === parts.minute && date.second === parts.second;\n}\nfunction $d07e34cce18680fd$export$5107c82f94518f5c(date, timeZone, disambiguation = 'compatible') {\n let dateTime = $d07e34cce18680fd$export$b21e0b124e224484(date);\n // Fast path: if the time zone is UTC, use native Date.\n if (timeZone === 'UTC') return $d07e34cce18680fd$export$bd4fb2bc8bb06fb(dateTime);\n // Fast path: if the time zone is the local timezone and disambiguation is compatible, use native Date.\n // Skip this fast path if the local timezone was explicitly overridden via setLocalTimeZone,\n // since native Date always uses the browser's timezone, not the overridden one.\n if (timeZone === (0, $ad063034c8620db8$export$aa8b41735afcabd2)() && disambiguation === 'compatible' && !(0, $ad063034c8620db8$export$6ab69b273755230b)()) {\n dateTime = $d07e34cce18680fd$export$b4a036af3fc0b032(dateTime, new (0, $93635573935797de$export$80ee6245ec4f29ec)());\n // Don't use Date constructor here because two-digit years are interpreted in the 20th century.\n let date = new Date();\n let year = (0, $93635573935797de$export$c36e0ecb2d4fa69d)(dateTime.era, dateTime.year);\n date.setFullYear(year, dateTime.month - 1, dateTime.day);\n date.setHours(dateTime.hour, dateTime.minute, dateTime.second, dateTime.millisecond);\n return date.getTime();\n }\n let ms = $d07e34cce18680fd$export$bd4fb2bc8bb06fb(dateTime);\n let offsetBefore = $d07e34cce18680fd$export$59c99f3515d3493f(ms - $d07e34cce18680fd$var$DAYMILLIS, timeZone);\n let offsetAfter = $d07e34cce18680fd$export$59c99f3515d3493f(ms + $d07e34cce18680fd$var$DAYMILLIS, timeZone);\n let valid = $d07e34cce18680fd$var$getValidWallTimes(dateTime, timeZone, ms - offsetBefore, ms - offsetAfter);\n if (valid.length === 1) return valid[0];\n if (valid.length > 1) switch(disambiguation){\n // 'compatible' means 'earlier' for \"fall back\" transitions\n case 'compatible':\n case 'earlier':\n return valid[0];\n case 'later':\n return valid[valid.length - 1];\n case 'reject':\n throw new RangeError('Multiple possible absolute times found');\n }\n switch(disambiguation){\n case 'earlier':\n return Math.min(ms - offsetBefore, ms - offsetAfter);\n // 'compatible' means 'later' for \"spring forward\" transitions\n case 'compatible':\n case 'later':\n return Math.max(ms - offsetBefore, ms - offsetAfter);\n case 'reject':\n throw new RangeError('No such absolute time found');\n }\n}\nfunction $d07e34cce18680fd$export$e67a095c620b86fe(dateTime, timeZone, disambiguation = 'compatible') {\n return new Date($d07e34cce18680fd$export$5107c82f94518f5c(dateTime, timeZone, disambiguation));\n}\nfunction $d07e34cce18680fd$export$1b96692a1ba042ac(ms, timeZone) {\n let offset = $d07e34cce18680fd$export$59c99f3515d3493f(ms, timeZone);\n let date = new Date(ms + offset);\n let year = date.getUTCFullYear();\n let month = date.getUTCMonth() + 1;\n let day = date.getUTCDate();\n let hour = date.getUTCHours();\n let minute = date.getUTCMinutes();\n let second = date.getUTCSeconds();\n let millisecond = date.getUTCMilliseconds();\n return new (0, $2aaf608024c21ca1$export$d3b7288e7994edea)(year < 1 ? 'BC' : 'AD', year < 1 ? -year + 1 : year, month, day, timeZone, offset, hour, minute, second, millisecond);\n}\nfunction $d07e34cce18680fd$export$e57ff100d91bd4b9(date, timeZone) {\n return $d07e34cce18680fd$export$1b96692a1ba042ac(date.getTime(), timeZone);\n}\nfunction $d07e34cce18680fd$export$d7f92bcd3596b086(date) {\n return $d07e34cce18680fd$export$e57ff100d91bd4b9(date, (0, $ad063034c8620db8$export$aa8b41735afcabd2)());\n}\nfunction $d07e34cce18680fd$export$93522d1a439f3617(dateTime) {\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(dateTime.calendar, dateTime.era, dateTime.year, dateTime.month, dateTime.day);\n}\nfunction $d07e34cce18680fd$export$6f4d78149f3f53ac(date) {\n return {\n era: date.era,\n year: date.year,\n month: date.month,\n day: date.day\n };\n}\nfunction $d07e34cce18680fd$export$4d0393e732857be5(date) {\n return {\n hour: date.hour,\n minute: date.minute,\n second: date.second,\n millisecond: date.millisecond\n };\n}\nfunction $d07e34cce18680fd$export$b21e0b124e224484(date, time) {\n let hour = 0, minute = 0, second = 0, millisecond = 0;\n if ('timeZone' in date) ({ hour: hour, minute: minute, second: second, millisecond: millisecond } = date);\n else if ('hour' in date && !time) return date;\n if (time) ({ hour: hour, minute: minute, second: second, millisecond: millisecond } = time);\n return new (0, $2aaf608024c21ca1$export$ca871e8dbb80966f)(date.calendar, date.era, date.year, date.month, date.day, hour, minute, second, millisecond);\n}\nfunction $d07e34cce18680fd$export$d33f79e3ffc3dc83(dateTime) {\n return new (0, $2aaf608024c21ca1$export$680ea196effce5f)(dateTime.hour, dateTime.minute, dateTime.second, dateTime.millisecond);\n}\nfunction $d07e34cce18680fd$export$b4a036af3fc0b032(date, calendar) {\n if ((0, $ad063034c8620db8$export$dbc69fd56b53d5e)(date.calendar, calendar)) return date;\n let calendarDate = calendar.fromJulianDay(date.calendar.toJulianDay(date));\n let copy = date.copy();\n copy.calendar = calendar;\n copy.era = calendarDate.era;\n copy.year = calendarDate.year;\n copy.month = calendarDate.month;\n copy.day = calendarDate.day;\n (0, $435a2ceaa8778ed8$export$c4e2ecac49351ef2)(copy);\n return copy;\n}\nfunction $d07e34cce18680fd$export$84c95a83c799e074(date, timeZone, disambiguation) {\n if (date instanceof (0, $2aaf608024c21ca1$export$d3b7288e7994edea)) {\n if (date.timeZone === timeZone) return date;\n return $d07e34cce18680fd$export$538b00033cc11c75(date, timeZone);\n }\n let ms = $d07e34cce18680fd$export$5107c82f94518f5c(date, timeZone, disambiguation);\n return $d07e34cce18680fd$export$1b96692a1ba042ac(ms, timeZone);\n}\nfunction $d07e34cce18680fd$export$83aac07b4c37b25(date) {\n let ms = $d07e34cce18680fd$export$bd4fb2bc8bb06fb(date) - date.offset;\n return new Date(ms);\n}\nfunction $d07e34cce18680fd$export$538b00033cc11c75(date, timeZone) {\n let ms = $d07e34cce18680fd$export$bd4fb2bc8bb06fb(date) - date.offset;\n return $d07e34cce18680fd$export$b4a036af3fc0b032($d07e34cce18680fd$export$1b96692a1ba042ac(ms, timeZone), date.calendar);\n}\nfunction $d07e34cce18680fd$export$d9b67bc93c097491(date) {\n return $d07e34cce18680fd$export$538b00033cc11c75(date, (0, $ad063034c8620db8$export$aa8b41735afcabd2)());\n}\n\n\nexport {$d07e34cce18680fd$export$bd4fb2bc8bb06fb as epochFromDate, $d07e34cce18680fd$export$b4a036af3fc0b032 as toCalendar, $d07e34cce18680fd$export$59c99f3515d3493f as getTimeZoneOffset, $d07e34cce18680fd$export$136f38efe7caf549 as possibleAbsolutes, $d07e34cce18680fd$export$5107c82f94518f5c as toAbsolute, $d07e34cce18680fd$export$b21e0b124e224484 as toCalendarDateTime, $d07e34cce18680fd$export$e67a095c620b86fe as toDate, $d07e34cce18680fd$export$1b96692a1ba042ac as fromAbsolute, $d07e34cce18680fd$export$e57ff100d91bd4b9 as fromDate, $d07e34cce18680fd$export$d7f92bcd3596b086 as fromDateToLocal, $d07e34cce18680fd$export$93522d1a439f3617 as toCalendarDate, $d07e34cce18680fd$export$6f4d78149f3f53ac as toDateFields, $d07e34cce18680fd$export$4d0393e732857be5 as toTimeFields, $d07e34cce18680fd$export$d33f79e3ffc3dc83 as toTime, $d07e34cce18680fd$export$84c95a83c799e074 as toZoned, $d07e34cce18680fd$export$538b00033cc11c75 as toTimeZone, $d07e34cce18680fd$export$83aac07b4c37b25 as zonedToDate, $d07e34cce18680fd$export$d9b67bc93c097491 as toLocalTimeZone};\n//# sourceMappingURL=conversion.mjs.map\n","import {epochFromDate as $d07e34cce18680fd$export$bd4fb2bc8bb06fb, fromAbsolute as $d07e34cce18680fd$export$1b96692a1ba042ac, toAbsolute as $d07e34cce18680fd$export$5107c82f94518f5c, toCalendar as $d07e34cce18680fd$export$b4a036af3fc0b032, toCalendarDateTime as $d07e34cce18680fd$export$b21e0b124e224484} from \"./conversion.mjs\";\nimport {GregorianCalendar as $93635573935797de$export$80ee6245ec4f29ec} from \"./calendars/GregorianCalendar.mjs\";\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\nconst $435a2ceaa8778ed8$var$ONE_HOUR = 3600000;\nfunction $435a2ceaa8778ed8$export$e16d8520af44a096(date, duration) {\n let mutableDate = date.copy();\n let days = 'hour' in mutableDate ? $435a2ceaa8778ed8$var$addTimeFields(mutableDate, duration) : 0;\n $435a2ceaa8778ed8$var$addYears(mutableDate, duration.years || 0);\n if (mutableDate.calendar.balanceYearMonth) mutableDate.calendar.balanceYearMonth(mutableDate, date);\n mutableDate.month += duration.months || 0;\n $435a2ceaa8778ed8$var$balanceYearMonth(mutableDate);\n $435a2ceaa8778ed8$var$constrainMonthDay(mutableDate);\n mutableDate.day += (duration.weeks || 0) * 7;\n mutableDate.day += duration.days || 0;\n mutableDate.day += days;\n $435a2ceaa8778ed8$var$balanceDay(mutableDate);\n if (mutableDate.calendar.balanceDate) mutableDate.calendar.balanceDate(mutableDate);\n // Constrain in case adding ended up with a date outside the valid range for the calendar system.\n // The behavior here is slightly different than when constraining in the `set` function in that\n // we adjust smaller fields to their minimum/maximum values rather than constraining each field\n // individually. This matches the general behavior of `add` vs `set` regarding how fields are balanced.\n if (mutableDate.year < 1) {\n mutableDate.year = 1;\n mutableDate.month = 1;\n mutableDate.day = 1;\n }\n let maxYear = mutableDate.calendar.getYearsInEra(mutableDate);\n if (mutableDate.year > maxYear) {\n let isInverseEra = mutableDate.calendar.isInverseEra?.(mutableDate);\n mutableDate.year = maxYear;\n mutableDate.month = isInverseEra ? 1 : mutableDate.calendar.getMonthsInYear(mutableDate);\n mutableDate.day = isInverseEra ? 1 : mutableDate.calendar.getDaysInMonth(mutableDate);\n }\n if (mutableDate.month < 1) {\n mutableDate.month = 1;\n mutableDate.day = 1;\n }\n let maxMonth = mutableDate.calendar.getMonthsInYear(mutableDate);\n if (mutableDate.month > maxMonth) {\n mutableDate.month = maxMonth;\n mutableDate.day = mutableDate.calendar.getDaysInMonth(mutableDate);\n }\n mutableDate.day = Math.max(1, Math.min(mutableDate.calendar.getDaysInMonth(mutableDate), mutableDate.day));\n return mutableDate;\n}\nfunction $435a2ceaa8778ed8$var$addYears(date, years) {\n if (date.calendar.isInverseEra?.(date)) years = -years;\n date.year += years;\n}\nfunction $435a2ceaa8778ed8$var$balanceYearMonth(date) {\n while(date.month < 1){\n $435a2ceaa8778ed8$var$addYears(date, -1);\n date.month += date.calendar.getMonthsInYear(date);\n }\n let monthsInYear = 0;\n while(date.month > (monthsInYear = date.calendar.getMonthsInYear(date))){\n date.month -= monthsInYear;\n $435a2ceaa8778ed8$var$addYears(date, 1);\n }\n}\nfunction $435a2ceaa8778ed8$var$balanceDay(date) {\n while(date.day < 1){\n date.month--;\n $435a2ceaa8778ed8$var$balanceYearMonth(date);\n date.day += date.calendar.getDaysInMonth(date);\n }\n while(date.day > date.calendar.getDaysInMonth(date)){\n date.day -= date.calendar.getDaysInMonth(date);\n date.month++;\n $435a2ceaa8778ed8$var$balanceYearMonth(date);\n }\n}\nfunction $435a2ceaa8778ed8$var$constrainMonthDay(date) {\n date.month = Math.max(1, Math.min(date.calendar.getMonthsInYear(date), date.month));\n date.day = Math.max(1, Math.min(date.calendar.getDaysInMonth(date), date.day));\n}\nfunction $435a2ceaa8778ed8$export$c4e2ecac49351ef2(date) {\n if (date.calendar.constrainDate) date.calendar.constrainDate(date);\n date.year = Math.max(1, Math.min(date.calendar.getYearsInEra(date), date.year));\n $435a2ceaa8778ed8$var$constrainMonthDay(date);\n}\nfunction $435a2ceaa8778ed8$export$3e2544e88a25bff8(duration) {\n let inverseDuration = {};\n for(let key in duration)if (typeof duration[key] === 'number') inverseDuration[key] = -duration[key];\n return inverseDuration;\n}\nfunction $435a2ceaa8778ed8$export$4e2d2ead65e5f7e3(date, duration) {\n return $435a2ceaa8778ed8$export$e16d8520af44a096(date, $435a2ceaa8778ed8$export$3e2544e88a25bff8(duration));\n}\nfunction $435a2ceaa8778ed8$export$adaa4cf7ef1b65be(date, fields) {\n let mutableDate = date.copy();\n if (fields.era != null) mutableDate.era = fields.era;\n if (fields.year != null) mutableDate.year = fields.year;\n if (fields.month != null) mutableDate.month = fields.month;\n if (fields.day != null) mutableDate.day = fields.day;\n $435a2ceaa8778ed8$export$c4e2ecac49351ef2(mutableDate);\n return mutableDate;\n}\nfunction $435a2ceaa8778ed8$export$e5d5e1c1822b6e56(value, fields) {\n let mutableValue = value.copy();\n if (fields.hour != null) mutableValue.hour = fields.hour;\n if (fields.minute != null) mutableValue.minute = fields.minute;\n if (fields.second != null) mutableValue.second = fields.second;\n if (fields.millisecond != null) mutableValue.millisecond = fields.millisecond;\n $435a2ceaa8778ed8$export$7555de1e070510cb(mutableValue);\n return mutableValue;\n}\nfunction $435a2ceaa8778ed8$var$balanceTime(time) {\n time.second += Math.floor(time.millisecond / 1000);\n time.millisecond = $435a2ceaa8778ed8$var$nonNegativeMod(time.millisecond, 1000);\n time.minute += Math.floor(time.second / 60);\n time.second = $435a2ceaa8778ed8$var$nonNegativeMod(time.second, 60);\n time.hour += Math.floor(time.minute / 60);\n time.minute = $435a2ceaa8778ed8$var$nonNegativeMod(time.minute, 60);\n let days = Math.floor(time.hour / 24);\n time.hour = $435a2ceaa8778ed8$var$nonNegativeMod(time.hour, 24);\n return days;\n}\nfunction $435a2ceaa8778ed8$export$7555de1e070510cb(time) {\n time.millisecond = Math.max(0, Math.min(time.millisecond, 1000));\n time.second = Math.max(0, Math.min(time.second, 59));\n time.minute = Math.max(0, Math.min(time.minute, 59));\n time.hour = Math.max(0, Math.min(time.hour, 23));\n}\nfunction $435a2ceaa8778ed8$var$nonNegativeMod(a, b) {\n let result = a % b;\n if (result < 0) result += b;\n return result;\n}\nfunction $435a2ceaa8778ed8$var$addTimeFields(time, duration) {\n time.hour += duration.hours || 0;\n time.minute += duration.minutes || 0;\n time.second += duration.seconds || 0;\n time.millisecond += duration.milliseconds || 0;\n return $435a2ceaa8778ed8$var$balanceTime(time);\n}\nfunction $435a2ceaa8778ed8$export$7ed87b6bc2506470(time, duration) {\n let res = time.copy();\n $435a2ceaa8778ed8$var$addTimeFields(res, duration);\n return res;\n}\nfunction $435a2ceaa8778ed8$export$fe34d3a381cd7501(time, duration) {\n return $435a2ceaa8778ed8$export$7ed87b6bc2506470(time, $435a2ceaa8778ed8$export$3e2544e88a25bff8(duration));\n}\nfunction $435a2ceaa8778ed8$export$d52ced6badfb9a4c(value, field, amount, options) {\n let mutable = value.copy();\n switch(field){\n case 'era':\n {\n let eras = value.calendar.getEras();\n let eraIndex = eras.indexOf(value.era);\n if (eraIndex < 0) throw new Error('Invalid era: ' + value.era);\n eraIndex = $435a2ceaa8778ed8$var$cycleValue(eraIndex, amount, 0, eras.length - 1, options?.round);\n mutable.era = eras[eraIndex];\n // Constrain the year and other fields within the era, so the era doesn't change when we balance below.\n $435a2ceaa8778ed8$export$c4e2ecac49351ef2(mutable);\n break;\n }\n case 'year':\n if (mutable.calendar.isInverseEra?.(mutable)) amount = -amount;\n // The year field should not cycle within the era as that can cause weird behavior affecting other fields.\n // We need to also allow values < 1 so that decrementing goes to the previous era. If we get -Infinity back\n // we know we wrapped around after reaching 9999 (the maximum), so set the year back to 1.\n mutable.year = $435a2ceaa8778ed8$var$cycleValue(value.year, amount, -Infinity, 9999, options?.round);\n if (mutable.year === -Infinity) mutable.year = 1;\n if (mutable.calendar.balanceYearMonth) mutable.calendar.balanceYearMonth(mutable, value);\n break;\n case 'month':\n mutable.month = $435a2ceaa8778ed8$var$cycleValue(value.month, amount, 1, value.calendar.getMonthsInYear(value), options?.round);\n break;\n case 'day':\n mutable.day = $435a2ceaa8778ed8$var$cycleValue(value.day, amount, 1, value.calendar.getDaysInMonth(value), options?.round);\n break;\n default:\n throw new Error('Unsupported field ' + field);\n }\n if (value.calendar.balanceDate) value.calendar.balanceDate(mutable);\n $435a2ceaa8778ed8$export$c4e2ecac49351ef2(mutable);\n return mutable;\n}\nfunction $435a2ceaa8778ed8$export$dd02b3e0007dfe28(value, field, amount, options) {\n let mutable = value.copy();\n switch(field){\n case 'hour':\n {\n let hours = value.hour;\n let min = 0;\n let max = 23;\n if (options?.hourCycle === 12) {\n let isPM = hours >= 12;\n min = isPM ? 12 : 0;\n max = isPM ? 23 : 11;\n }\n mutable.hour = $435a2ceaa8778ed8$var$cycleValue(hours, amount, min, max, options?.round);\n break;\n }\n case 'minute':\n mutable.minute = $435a2ceaa8778ed8$var$cycleValue(value.minute, amount, 0, 59, options?.round);\n break;\n case 'second':\n mutable.second = $435a2ceaa8778ed8$var$cycleValue(value.second, amount, 0, 59, options?.round);\n break;\n case 'millisecond':\n mutable.millisecond = $435a2ceaa8778ed8$var$cycleValue(value.millisecond, amount, 0, 999, options?.round);\n break;\n default:\n throw new Error('Unsupported field ' + field);\n }\n return mutable;\n}\nfunction $435a2ceaa8778ed8$var$cycleValue(value, amount, min, max, round = false) {\n if (round) {\n value += Math.sign(amount);\n if (value < min) value = max;\n let div = Math.abs(amount);\n if (amount > 0) value = Math.ceil(value / div) * div;\n else value = Math.floor(value / div) * div;\n if (value > max) value = min;\n } else {\n value += amount;\n if (value < min) value = max - (min - value - 1);\n else if (value > max) value = min + (value - max - 1);\n }\n return value;\n}\nfunction $435a2ceaa8778ed8$export$96b1d28349274637(dateTime, duration) {\n let ms;\n if (duration.years != null && duration.years !== 0 || duration.months != null && duration.months !== 0 || duration.weeks != null && duration.weeks !== 0 || duration.days != null && duration.days !== 0) {\n let res = $435a2ceaa8778ed8$export$e16d8520af44a096((0, $d07e34cce18680fd$export$b21e0b124e224484)(dateTime), {\n years: duration.years,\n months: duration.months,\n weeks: duration.weeks,\n days: duration.days\n });\n // Changing the date may change the timezone offset, so we need to recompute\n // using the 'compatible' disambiguation.\n ms = (0, $d07e34cce18680fd$export$5107c82f94518f5c)(res, dateTime.timeZone);\n } else // Otherwise, preserve the offset of the original date.\n ms = (0, $d07e34cce18680fd$export$bd4fb2bc8bb06fb)(dateTime) - dateTime.offset;\n // Perform time manipulation in milliseconds rather than on the original time fields to account for DST.\n // For example, adding one hour during a DST transition may result in the hour field staying the same or\n // skipping an hour. This results in the offset field changing value instead of the specified field.\n ms += duration.milliseconds || 0;\n ms += (duration.seconds || 0) * 1000;\n ms += (duration.minutes || 0) * 60000;\n ms += (duration.hours || 0) * 3600000;\n let res = (0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone);\n return (0, $d07e34cce18680fd$export$b4a036af3fc0b032)(res, dateTime.calendar);\n}\nfunction $435a2ceaa8778ed8$export$6814caac34ca03c7(dateTime, duration) {\n return $435a2ceaa8778ed8$export$96b1d28349274637(dateTime, $435a2ceaa8778ed8$export$3e2544e88a25bff8(duration));\n}\nfunction $435a2ceaa8778ed8$export$9a297d111fc86b79(dateTime, field, amount, options) {\n // For date fields, we want the time to remain consistent and the UTC offset to potentially change to account for DST changes.\n // For time fields, we want the time to change by the amount given. This may result in the hour field staying the same, but the UTC\n // offset changing in the case of a backward DST transition, or skipping an hour in the case of a forward DST transition.\n switch(field){\n case 'hour':\n {\n let min = 0;\n let max = 23;\n if (options?.hourCycle === 12) {\n let isPM = dateTime.hour >= 12;\n min = isPM ? 12 : 0;\n max = isPM ? 23 : 11;\n }\n // The minimum and maximum hour may be affected by daylight saving time.\n // For example, it might jump forward at midnight, and skip 1am.\n // Or it might end at midnight and repeat the 11pm hour. To handle this, we get\n // the possible absolute times for the min and max, and find the maximum range\n // that is within the current day.\n let plainDateTime = (0, $d07e34cce18680fd$export$b21e0b124e224484)(dateTime);\n let minDate = (0, $d07e34cce18680fd$export$b4a036af3fc0b032)($435a2ceaa8778ed8$export$e5d5e1c1822b6e56(plainDateTime, {\n hour: min\n }), new (0, $93635573935797de$export$80ee6245ec4f29ec)());\n let minAbsolute = [\n (0, $d07e34cce18680fd$export$5107c82f94518f5c)(minDate, dateTime.timeZone, 'earlier'),\n (0, $d07e34cce18680fd$export$5107c82f94518f5c)(minDate, dateTime.timeZone, 'later')\n ].filter((ms)=>(0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone).day === minDate.day)[0];\n let maxDate = (0, $d07e34cce18680fd$export$b4a036af3fc0b032)($435a2ceaa8778ed8$export$e5d5e1c1822b6e56(plainDateTime, {\n hour: max\n }), new (0, $93635573935797de$export$80ee6245ec4f29ec)());\n let maxAbsolute = [\n (0, $d07e34cce18680fd$export$5107c82f94518f5c)(maxDate, dateTime.timeZone, 'earlier'),\n (0, $d07e34cce18680fd$export$5107c82f94518f5c)(maxDate, dateTime.timeZone, 'later')\n ].filter((ms)=>(0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone).day === maxDate.day).pop();\n // Since hours may repeat, we need to operate on the absolute time in milliseconds.\n // This is done in hours from the Unix epoch so that cycleValue works correctly,\n // and then converted back to milliseconds.\n let ms = (0, $d07e34cce18680fd$export$bd4fb2bc8bb06fb)(dateTime) - dateTime.offset;\n let hours = Math.floor(ms / $435a2ceaa8778ed8$var$ONE_HOUR);\n let remainder = ms % $435a2ceaa8778ed8$var$ONE_HOUR;\n ms = $435a2ceaa8778ed8$var$cycleValue(hours, amount, Math.floor(minAbsolute / $435a2ceaa8778ed8$var$ONE_HOUR), Math.floor(maxAbsolute / $435a2ceaa8778ed8$var$ONE_HOUR), options?.round) * $435a2ceaa8778ed8$var$ONE_HOUR + remainder;\n // Now compute the new timezone offset, and convert the absolute time back to local time.\n return (0, $d07e34cce18680fd$export$b4a036af3fc0b032)((0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone), dateTime.calendar);\n }\n case 'minute':\n case 'second':\n case 'millisecond':\n // @ts-ignore\n return $435a2ceaa8778ed8$export$dd02b3e0007dfe28(dateTime, field, amount, options);\n case 'era':\n case 'year':\n case 'month':\n case 'day':\n {\n let res = $435a2ceaa8778ed8$export$d52ced6badfb9a4c((0, $d07e34cce18680fd$export$b21e0b124e224484)(dateTime), field, amount, options);\n let ms = (0, $d07e34cce18680fd$export$5107c82f94518f5c)(res, dateTime.timeZone);\n return (0, $d07e34cce18680fd$export$b4a036af3fc0b032)((0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone), dateTime.calendar);\n }\n default:\n throw new Error('Unsupported field ' + field);\n }\n}\nfunction $435a2ceaa8778ed8$export$31b5430eb18be4f8(dateTime, fields, disambiguation) {\n // Set the date/time fields, and recompute the UTC offset to account for DST changes.\n // We also need to validate by converting back to a local time in case hours are skipped during forward DST transitions.\n let plainDateTime = (0, $d07e34cce18680fd$export$b21e0b124e224484)(dateTime);\n let res = $435a2ceaa8778ed8$export$e5d5e1c1822b6e56($435a2ceaa8778ed8$export$adaa4cf7ef1b65be(plainDateTime, fields), fields);\n // If the resulting plain date time values are equal, return the original time.\n // We don't want to change the offset when setting the time to the same value.\n if (res.compare(plainDateTime) === 0) return dateTime;\n let ms = (0, $d07e34cce18680fd$export$5107c82f94518f5c)(res, dateTime.timeZone, disambiguation);\n return (0, $d07e34cce18680fd$export$b4a036af3fc0b032)((0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone), dateTime.calendar);\n}\n\n\nexport {$435a2ceaa8778ed8$export$e16d8520af44a096 as add, $435a2ceaa8778ed8$export$c4e2ecac49351ef2 as constrain, $435a2ceaa8778ed8$export$3e2544e88a25bff8 as invertDuration, $435a2ceaa8778ed8$export$4e2d2ead65e5f7e3 as subtract, $435a2ceaa8778ed8$export$adaa4cf7ef1b65be as set, $435a2ceaa8778ed8$export$e5d5e1c1822b6e56 as setTime, $435a2ceaa8778ed8$export$7555de1e070510cb as constrainTime, $435a2ceaa8778ed8$export$7ed87b6bc2506470 as addTime, $435a2ceaa8778ed8$export$fe34d3a381cd7501 as subtractTime, $435a2ceaa8778ed8$export$d52ced6badfb9a4c as cycleDate, $435a2ceaa8778ed8$export$dd02b3e0007dfe28 as cycleTime, $435a2ceaa8778ed8$export$96b1d28349274637 as addZoned, $435a2ceaa8778ed8$export$6814caac34ca03c7 as subtractZoned, $435a2ceaa8778ed8$export$9a297d111fc86b79 as cycleZoned, $435a2ceaa8778ed8$export$31b5430eb18be4f8 as setZoned};\n//# sourceMappingURL=manipulation.mjs.map\n","import {CalendarDate as $2aaf608024c21ca1$export$99faa760c7908e4f, CalendarDateTime as $2aaf608024c21ca1$export$ca871e8dbb80966f, Time as $2aaf608024c21ca1$export$680ea196effce5f, ZonedDateTime as $2aaf608024c21ca1$export$d3b7288e7994edea} from \"./CalendarDate.mjs\";\nimport {epochFromDate as $d07e34cce18680fd$export$bd4fb2bc8bb06fb, fromAbsolute as $d07e34cce18680fd$export$1b96692a1ba042ac, possibleAbsolutes as $d07e34cce18680fd$export$136f38efe7caf549, toAbsolute as $d07e34cce18680fd$export$5107c82f94518f5c, toCalendar as $d07e34cce18680fd$export$b4a036af3fc0b032, toCalendarDateTime as $d07e34cce18680fd$export$b21e0b124e224484, toTimeZone as $d07e34cce18680fd$export$538b00033cc11c75} from \"./conversion.mjs\";\nimport {getLocalTimeZone as $ad063034c8620db8$export$aa8b41735afcabd2} from \"./queries.mjs\";\nimport {GregorianCalendar as $93635573935797de$export$80ee6245ec4f29ec} from \"./calendars/GregorianCalendar.mjs\";\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\nconst $58246871e4652552$var$TIME_RE = /^(\\d{2})(?::(\\d{2}))?(?::(\\d{2}))?(\\.\\d+)?$/;\nconst $58246871e4652552$var$DATE_RE = /^([+-]\\d{6}|\\d{4})-(\\d{2})-(\\d{2})$/;\nconst $58246871e4652552$var$DATE_TIME_RE = /^([+-]\\d{6}|\\d{4})-(\\d{2})-(\\d{2})(?:T(\\d{2}))?(?::(\\d{2}))?(?::(\\d{2}))?(\\.\\d+)?$/;\nconst $58246871e4652552$var$ZONED_DATE_TIME_RE = /^([+-]\\d{6}|\\d{4})-(\\d{2})-(\\d{2})(?:T(\\d{2}))?(?::(\\d{2}))?(?::(\\d{2}))?(\\.\\d+)?(?:([+-]\\d{2})(?::?(\\d{2}))?(?::?(\\d{2}))?)?\\[(.*?)\\]$/;\nconst $58246871e4652552$var$ABSOLUTE_RE = /^([+-]\\d{6}|\\d{4})-(\\d{2})-(\\d{2})(?:T(\\d{2}))?(?::(\\d{2}))?(?::(\\d{2}))?(\\.\\d+)?(?:(?:([+-]\\d{2})(?::?(\\d{2}))?)|Z)$/;\nconst $58246871e4652552$var$DATE_TIME_DURATION_RE = /^((?<negative>-)|\\+)?P((?<years>\\d*)Y)?((?<months>\\d*)M)?((?<weeks>\\d*)W)?((?<days>\\d*)D)?((?<time>T)((?<hours>\\d*[.,]?\\d{1,9})H)?((?<minutes>\\d*[.,]?\\d{1,9})M)?((?<seconds>\\d*[.,]?\\d{1,9})S)?)?$/;\nconst $58246871e4652552$var$requiredDurationTimeGroups = [\n 'hours',\n 'minutes',\n 'seconds'\n];\nconst $58246871e4652552$var$requiredDurationGroups = [\n 'years',\n 'months',\n 'weeks',\n 'days',\n ...$58246871e4652552$var$requiredDurationTimeGroups\n];\nfunction $58246871e4652552$export$c9698ec7f05a07e1(value) {\n let m = value.match($58246871e4652552$var$TIME_RE);\n if (!m) throw new Error('Invalid ISO 8601 time string: ' + value);\n return new (0, $2aaf608024c21ca1$export$680ea196effce5f)($58246871e4652552$var$parseNumber(m[1], 0, 23), m[2] ? $58246871e4652552$var$parseNumber(m[2], 0, 59) : 0, m[3] ? $58246871e4652552$var$parseNumber(m[3], 0, 59) : 0, m[4] ? $58246871e4652552$var$parseNumber(m[4], 0, Infinity) * 1000 : 0);\n}\nfunction $58246871e4652552$export$6b862160d295c8e(value) {\n let m = value.match($58246871e4652552$var$DATE_RE);\n if (!m) {\n if ($58246871e4652552$var$ABSOLUTE_RE.test(value)) throw new Error(`Invalid ISO 8601 date string: ${value}. Use parseAbsolute() instead.`);\n throw new Error('Invalid ISO 8601 date string: ' + value);\n }\n let date = new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)($58246871e4652552$var$parseNumber(m[1], 0, 9999), $58246871e4652552$var$parseNumber(m[2], 1, 12), 1);\n date.day = $58246871e4652552$var$parseNumber(m[3], 1, date.calendar.getDaysInMonth(date));\n return date;\n}\nfunction $58246871e4652552$export$588937bcd60ade55(value) {\n let m = value.match($58246871e4652552$var$DATE_TIME_RE);\n if (!m) {\n if ($58246871e4652552$var$ABSOLUTE_RE.test(value)) throw new Error(`Invalid ISO 8601 date time string: ${value}. Use parseAbsolute() instead.`);\n throw new Error('Invalid ISO 8601 date time string: ' + value);\n }\n let year = $58246871e4652552$var$parseNumber(m[1], -9999, 9999);\n let era = year < 1 ? 'BC' : 'AD';\n let date = new (0, $2aaf608024c21ca1$export$ca871e8dbb80966f)(era, year < 1 ? -year + 1 : year, $58246871e4652552$var$parseNumber(m[2], 1, 12), 1, m[4] ? $58246871e4652552$var$parseNumber(m[4], 0, 23) : 0, m[5] ? $58246871e4652552$var$parseNumber(m[5], 0, 59) : 0, m[6] ? $58246871e4652552$var$parseNumber(m[6], 0, 59) : 0, m[7] ? $58246871e4652552$var$parseNumber(m[7], 0, Infinity) * 1000 : 0);\n date.day = $58246871e4652552$var$parseNumber(m[3], 0, date.calendar.getDaysInMonth(date));\n return date;\n}\nfunction $58246871e4652552$export$fd7893f06e92a6a4(value, disambiguation) {\n let m = value.match($58246871e4652552$var$ZONED_DATE_TIME_RE);\n if (!m) throw new Error('Invalid ISO 8601 date time string: ' + value);\n let year = $58246871e4652552$var$parseNumber(m[1], -9999, 9999);\n let era = year < 1 ? 'BC' : 'AD';\n let date = new (0, $2aaf608024c21ca1$export$d3b7288e7994edea)(era, year < 1 ? -year + 1 : year, $58246871e4652552$var$parseNumber(m[2], 1, 12), 1, m[11], 0, m[4] ? $58246871e4652552$var$parseNumber(m[4], 0, 23) : 0, m[5] ? $58246871e4652552$var$parseNumber(m[5], 0, 59) : 0, m[6] ? $58246871e4652552$var$parseNumber(m[6], 0, 59) : 0, m[7] ? $58246871e4652552$var$parseNumber(m[7], 0, Infinity) * 1000 : 0);\n date.day = $58246871e4652552$var$parseNumber(m[3], 0, date.calendar.getDaysInMonth(date));\n let plainDateTime = (0, $d07e34cce18680fd$export$b21e0b124e224484)(date);\n let ms;\n if (m[8]) {\n let hourOffset = $58246871e4652552$var$parseNumber(m[8], -23, 23);\n date.offset = Math.sign(hourOffset) * (Math.abs(hourOffset) * 3600000 + $58246871e4652552$var$parseNumber(m[9] ?? '0', 0, 59) * 60000 + $58246871e4652552$var$parseNumber(m[10] ?? '0', 0, 59) * 1000);\n ms = (0, $d07e34cce18680fd$export$bd4fb2bc8bb06fb)(date) - date.offset;\n // Validate offset against parsed date.\n let absolutes = (0, $d07e34cce18680fd$export$136f38efe7caf549)(plainDateTime, date.timeZone);\n if (!absolutes.includes(ms)) throw new Error(`Offset ${$58246871e4652552$var$offsetToString(date.offset)} is invalid for ${$58246871e4652552$export$4223de14708adc63(date)} in ${date.timeZone}`);\n } else // Convert to absolute and back to fix invalid times due to DST.\n ms = (0, $d07e34cce18680fd$export$5107c82f94518f5c)((0, $d07e34cce18680fd$export$b21e0b124e224484)(plainDateTime), date.timeZone, disambiguation);\n return (0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, date.timeZone);\n}\nfunction $58246871e4652552$export$5adfdab05168c219(value, timeZone) {\n let m = value.match($58246871e4652552$var$ABSOLUTE_RE);\n if (!m) throw new Error('Invalid ISO 8601 date time string: ' + value);\n let year = $58246871e4652552$var$parseNumber(m[1], -9999, 9999);\n let era = year < 1 ? 'BC' : 'AD';\n let date = new (0, $2aaf608024c21ca1$export$d3b7288e7994edea)(era, year < 1 ? -year + 1 : year, $58246871e4652552$var$parseNumber(m[2], 1, 12), 1, timeZone, 0, m[4] ? $58246871e4652552$var$parseNumber(m[4], 0, 23) : 0, m[5] ? $58246871e4652552$var$parseNumber(m[5], 0, 59) : 0, m[6] ? $58246871e4652552$var$parseNumber(m[6], 0, 59) : 0, m[7] ? $58246871e4652552$var$parseNumber(m[7], 0, Infinity) * 1000 : 0);\n date.day = $58246871e4652552$var$parseNumber(m[3], 0, date.calendar.getDaysInMonth(date));\n if (m[8]) date.offset = $58246871e4652552$var$parseNumber(m[8], -23, 23) * 3600000 + $58246871e4652552$var$parseNumber(m[9] ?? '0', 0, 59) * 60000;\n return (0, $d07e34cce18680fd$export$538b00033cc11c75)(date, timeZone);\n}\nfunction $58246871e4652552$export$8e384432362ed0f0(value) {\n return $58246871e4652552$export$5adfdab05168c219(value, (0, $ad063034c8620db8$export$aa8b41735afcabd2)());\n}\nfunction $58246871e4652552$var$parseNumber(value, min, max) {\n let val = Number(value);\n if (val < min || val > max) throw new RangeError(`Value out of range: ${min} <= ${val} <= ${max}`);\n return val;\n}\nfunction $58246871e4652552$export$f59dee82248f5ad4(time) {\n return `${String(time.hour).padStart(2, '0')}:${String(time.minute).padStart(2, '0')}:${String(time.second).padStart(2, '0')}${time.millisecond ? String(time.millisecond / 1000).slice(1) : ''}`;\n}\nfunction $58246871e4652552$export$60dfd74aa96791bd(date) {\n let gregorianDate = (0, $d07e34cce18680fd$export$b4a036af3fc0b032)(date, new (0, $93635573935797de$export$80ee6245ec4f29ec)());\n let year;\n if (gregorianDate.era === 'BC') year = gregorianDate.year === 1 ? '0000' : '-' + String(Math.abs(1 - gregorianDate.year)).padStart(6, '00');\n else year = String(gregorianDate.year).padStart(4, '0');\n return `${year}-${String(gregorianDate.month).padStart(2, '0')}-${String(gregorianDate.day).padStart(2, '0')}`;\n}\nfunction $58246871e4652552$export$4223de14708adc63(date) {\n // @ts-ignore\n return `${$58246871e4652552$export$60dfd74aa96791bd(date)}T${$58246871e4652552$export$f59dee82248f5ad4(date)}`;\n}\nfunction $58246871e4652552$var$offsetToString(offset) {\n let sign = Math.sign(offset) < 0 ? '-' : '+';\n offset = Math.abs(offset);\n let offsetHours = Math.floor(offset / 3600000);\n let offsetMinutes = Math.floor(offset % 3600000 / 60000);\n let offsetSeconds = Math.floor(offset % 3600000 % 60000 / 1000);\n let stringOffset = `${sign}${String(offsetHours).padStart(2, '0')}:${String(offsetMinutes).padStart(2, '0')}`;\n if (offsetSeconds !== 0) stringOffset += `:${String(offsetSeconds).padStart(2, '0')}`;\n return stringOffset;\n}\nfunction $58246871e4652552$export$bf79f1ebf4b18792(date) {\n return `${$58246871e4652552$export$4223de14708adc63(date)}${$58246871e4652552$var$offsetToString(date.offset)}[${date.timeZone}]`;\n}\nfunction $58246871e4652552$export$ecae829bb3747ea6(value) {\n const match = value.match($58246871e4652552$var$DATE_TIME_DURATION_RE);\n if (!match) throw new Error(`Invalid ISO 8601 Duration string: ${value}`);\n const parseDurationGroup = (group, isNegative)=>{\n if (!group) return 0;\n try {\n const sign = isNegative ? -1 : 1;\n return sign * Number(group.replace(',', '.'));\n } catch {\n throw new Error(`Invalid ISO 8601 Duration string: ${value}`);\n }\n };\n const isNegative = !!match.groups?.negative;\n const hasRequiredGroups = $58246871e4652552$var$requiredDurationGroups.some((group)=>match.groups?.[group]);\n if (!hasRequiredGroups) throw new Error(`Invalid ISO 8601 Duration string: ${value}`);\n const durationStringIncludesTime = match.groups?.time;\n if (durationStringIncludesTime) {\n const hasRequiredDurationTimeGroups = $58246871e4652552$var$requiredDurationTimeGroups.some((group)=>match.groups?.[group]);\n if (!hasRequiredDurationTimeGroups) throw new Error(`Invalid ISO 8601 Duration string: ${value}`);\n }\n const duration = {\n years: parseDurationGroup(match.groups?.years, isNegative),\n months: parseDurationGroup(match.groups?.months, isNegative),\n weeks: parseDurationGroup(match.groups?.weeks, isNegative),\n days: parseDurationGroup(match.groups?.days, isNegative),\n hours: parseDurationGroup(match.groups?.hours, isNegative),\n minutes: parseDurationGroup(match.groups?.minutes, isNegative),\n seconds: parseDurationGroup(match.groups?.seconds, isNegative)\n };\n if (duration.hours !== undefined && duration.hours % 1 !== 0 && (duration.minutes || duration.seconds)) throw new Error(`Invalid ISO 8601 Duration string: ${value} - only the smallest unit can be fractional`);\n if (duration.minutes !== undefined && duration.minutes % 1 !== 0 && duration.seconds) throw new Error(`Invalid ISO 8601 Duration string: ${value} - only the smallest unit can be fractional`);\n return duration;\n}\n\n\nexport {$58246871e4652552$export$c9698ec7f05a07e1 as parseTime, $58246871e4652552$export$6b862160d295c8e as parseDate, $58246871e4652552$export$588937bcd60ade55 as parseDateTime, $58246871e4652552$export$fd7893f06e92a6a4 as parseZonedDateTime, $58246871e4652552$export$4223de14708adc63 as dateTimeToString, $58246871e4652552$export$5adfdab05168c219 as parseAbsolute, $58246871e4652552$export$8e384432362ed0f0 as parseAbsoluteToLocal, $58246871e4652552$export$f59dee82248f5ad4 as timeToString, $58246871e4652552$export$60dfd74aa96791bd as dateToString, $58246871e4652552$export$bf79f1ebf4b18792 as zonedDateTimeToString, $58246871e4652552$export$ecae829bb3747ea6 as parseDuration};\n//# sourceMappingURL=string.mjs.map\n","import {add as $435a2ceaa8778ed8$export$e16d8520af44a096, addTime as $435a2ceaa8778ed8$export$7ed87b6bc2506470, addZoned as $435a2ceaa8778ed8$export$96b1d28349274637, constrain as $435a2ceaa8778ed8$export$c4e2ecac49351ef2, constrainTime as $435a2ceaa8778ed8$export$7555de1e070510cb, cycleDate as $435a2ceaa8778ed8$export$d52ced6badfb9a4c, cycleTime as $435a2ceaa8778ed8$export$dd02b3e0007dfe28, cycleZoned as $435a2ceaa8778ed8$export$9a297d111fc86b79, set as $435a2ceaa8778ed8$export$adaa4cf7ef1b65be, setTime as $435a2ceaa8778ed8$export$e5d5e1c1822b6e56, setZoned as $435a2ceaa8778ed8$export$31b5430eb18be4f8, subtract as $435a2ceaa8778ed8$export$4e2d2ead65e5f7e3, subtractTime as $435a2ceaa8778ed8$export$fe34d3a381cd7501, subtractZoned as $435a2ceaa8778ed8$export$6814caac34ca03c7} from \"./manipulation.mjs\";\nimport {compareDate as $ad063034c8620db8$export$68781ddf31c0090f, compareTime as $ad063034c8620db8$export$c19a80a9721b80f6} from \"./queries.mjs\";\nimport {dateTimeToString as $58246871e4652552$export$4223de14708adc63, dateToString as $58246871e4652552$export$60dfd74aa96791bd, timeToString as $58246871e4652552$export$f59dee82248f5ad4, zonedDateTimeToString as $58246871e4652552$export$bf79f1ebf4b18792} from \"./string.mjs\";\nimport {GregorianCalendar as $93635573935797de$export$80ee6245ec4f29ec} from \"./calendars/GregorianCalendar.mjs\";\nimport {toCalendarDateTime as $d07e34cce18680fd$export$b21e0b124e224484, toDate as $d07e34cce18680fd$export$e67a095c620b86fe, toZoned as $d07e34cce18680fd$export$84c95a83c799e074, zonedToDate as $d07e34cce18680fd$export$83aac07b4c37b25} from \"./conversion.mjs\";\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 $2aaf608024c21ca1$var$shiftArgs(args) {\n let calendar = typeof args[0] === 'object' ? args.shift() : new (0, $93635573935797de$export$80ee6245ec4f29ec)();\n let era;\n if (typeof args[0] === 'string') era = args.shift();\n else {\n let eras = calendar.getEras();\n era = eras[eras.length - 1];\n }\n let year = args.shift();\n let month = args.shift();\n let day = args.shift();\n return [\n calendar,\n era,\n year,\n month,\n day\n ];\n}\nclass $2aaf608024c21ca1$export$99faa760c7908e4f {\n // This prevents TypeScript from allowing other types with the same fields to match.\n // i.e. a ZonedDateTime should not be be passable to a parameter that expects CalendarDate.\n // If that behavior is desired, use the AnyCalendarDate interface instead.\n // @ts-ignore\n #type;\n constructor(...args){\n let [calendar, era, year, month, day] = $2aaf608024c21ca1$var$shiftArgs(args);\n this.calendar = calendar;\n this.era = era;\n this.year = year;\n this.month = month;\n this.day = day;\n (0, $435a2ceaa8778ed8$export$c4e2ecac49351ef2)(this);\n }\n /** Returns a copy of this date. */ copy() {\n if (this.era) return new $2aaf608024c21ca1$export$99faa760c7908e4f(this.calendar, this.era, this.year, this.month, this.day);\n else return new $2aaf608024c21ca1$export$99faa760c7908e4f(this.calendar, this.year, this.month, this.day);\n }\n /** Returns a new `CalendarDate` with the given duration added to it. */ add(duration) {\n return (0, $435a2ceaa8778ed8$export$e16d8520af44a096)(this, duration);\n }\n /** Returns a new `CalendarDate` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $435a2ceaa8778ed8$export$4e2d2ead65e5f7e3)(this, duration);\n }\n /** Returns a new `CalendarDate` with the given fields set to the provided values. Other fields will be constrained accordingly. */ set(fields) {\n return (0, $435a2ceaa8778ed8$export$adaa4cf7ef1b65be)(this, fields);\n }\n /**\n * Returns a new `CalendarDate` with the given field adjusted by a specified amount.\n * When the resulting value reaches the limits of the field, it wraps around.\n */ cycle(field, amount, options) {\n return (0, $435a2ceaa8778ed8$export$d52ced6badfb9a4c)(this, field, amount, options);\n }\n /** Converts the date to a native JavaScript Date object, with the time set to midnight in the given time zone. */ toDate(timeZone) {\n return (0, $d07e34cce18680fd$export$e67a095c620b86fe)(this, timeZone);\n }\n /** Converts the date to an ISO 8601 formatted string. */ toString() {\n return (0, $58246871e4652552$export$60dfd74aa96791bd)(this);\n }\n /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */ compare(b) {\n return (0, $ad063034c8620db8$export$68781ddf31c0090f)(this, b);\n }\n}\nclass $2aaf608024c21ca1$export$680ea196effce5f {\n // This prevents TypeScript from allowing other types with the same fields to match.\n // @ts-ignore\n #type;\n constructor(hour = 0, minute = 0, second = 0, millisecond = 0){\n this.hour = hour;\n this.minute = minute;\n this.second = second;\n this.millisecond = millisecond;\n (0, $435a2ceaa8778ed8$export$7555de1e070510cb)(this);\n }\n /** Returns a copy of this time. */ copy() {\n return new $2aaf608024c21ca1$export$680ea196effce5f(this.hour, this.minute, this.second, this.millisecond);\n }\n /** Returns a new `Time` with the given duration added to it. */ add(duration) {\n return (0, $435a2ceaa8778ed8$export$7ed87b6bc2506470)(this, duration);\n }\n /** Returns a new `Time` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $435a2ceaa8778ed8$export$fe34d3a381cd7501)(this, duration);\n }\n /** Returns a new `Time` with the given fields set to the provided values. Other fields will be constrained accordingly. */ set(fields) {\n return (0, $435a2ceaa8778ed8$export$e5d5e1c1822b6e56)(this, fields);\n }\n /**\n * Returns a new `Time` with the given field adjusted by a specified amount.\n * When the resulting value reaches the limits of the field, it wraps around.\n */ cycle(field, amount, options) {\n return (0, $435a2ceaa8778ed8$export$dd02b3e0007dfe28)(this, field, amount, options);\n }\n /** Converts the time to an ISO 8601 formatted string. */ toString() {\n return (0, $58246871e4652552$export$f59dee82248f5ad4)(this);\n }\n /** Compares this time with another. A negative result indicates that this time is before the given one, and a positive time indicates that it is after. */ compare(b) {\n return (0, $ad063034c8620db8$export$c19a80a9721b80f6)(this, b);\n }\n}\nclass $2aaf608024c21ca1$export$ca871e8dbb80966f {\n // This prevents TypeScript from allowing other types with the same fields to match.\n // @ts-ignore\n #type;\n constructor(...args){\n let [calendar, era, year, month, day] = $2aaf608024c21ca1$var$shiftArgs(args);\n this.calendar = calendar;\n this.era = era;\n this.year = year;\n this.month = month;\n this.day = day;\n this.hour = args.shift() || 0;\n this.minute = args.shift() || 0;\n this.second = args.shift() || 0;\n this.millisecond = args.shift() || 0;\n (0, $435a2ceaa8778ed8$export$c4e2ecac49351ef2)(this);\n }\n /** Returns a copy of this date. */ copy() {\n if (this.era) return new $2aaf608024c21ca1$export$ca871e8dbb80966f(this.calendar, this.era, this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond);\n else return new $2aaf608024c21ca1$export$ca871e8dbb80966f(this.calendar, this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond);\n }\n /** Returns a new `CalendarDateTime` with the given duration added to it. */ add(duration) {\n return (0, $435a2ceaa8778ed8$export$e16d8520af44a096)(this, duration);\n }\n /** Returns a new `CalendarDateTime` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $435a2ceaa8778ed8$export$4e2d2ead65e5f7e3)(this, duration);\n }\n /** Returns a new `CalendarDateTime` with the given fields set to the provided values. Other fields will be constrained accordingly. */ set(fields) {\n return (0, $435a2ceaa8778ed8$export$adaa4cf7ef1b65be)((0, $435a2ceaa8778ed8$export$e5d5e1c1822b6e56)(this, fields), fields);\n }\n /**\n * Returns a new `CalendarDateTime` with the given field adjusted by a specified amount.\n * When the resulting value reaches the limits of the field, it wraps around.\n */ cycle(field, amount, options) {\n switch(field){\n case 'era':\n case 'year':\n case 'month':\n case 'day':\n return (0, $435a2ceaa8778ed8$export$d52ced6badfb9a4c)(this, field, amount, options);\n default:\n return (0, $435a2ceaa8778ed8$export$dd02b3e0007dfe28)(this, field, amount, options);\n }\n }\n /** Converts the date to a native JavaScript Date object in the given time zone. */ toDate(timeZone, disambiguation) {\n return (0, $d07e34cce18680fd$export$e67a095c620b86fe)(this, timeZone, disambiguation);\n }\n /** Converts the date to an ISO 8601 formatted string. */ toString() {\n return (0, $58246871e4652552$export$4223de14708adc63)(this);\n }\n /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */ compare(b) {\n let res = (0, $ad063034c8620db8$export$68781ddf31c0090f)(this, b);\n if (res === 0) return (0, $ad063034c8620db8$export$c19a80a9721b80f6)(this, (0, $d07e34cce18680fd$export$b21e0b124e224484)(b));\n return res;\n }\n}\nclass $2aaf608024c21ca1$export$d3b7288e7994edea {\n // This prevents TypeScript from allowing other types with the same fields to match.\n // @ts-ignore\n #type;\n constructor(...args){\n let [calendar, era, year, month, day] = $2aaf608024c21ca1$var$shiftArgs(args);\n let timeZone = args.shift();\n let offset = args.shift();\n this.calendar = calendar;\n this.era = era;\n this.year = year;\n this.month = month;\n this.day = day;\n this.timeZone = timeZone;\n this.offset = offset;\n this.hour = args.shift() || 0;\n this.minute = args.shift() || 0;\n this.second = args.shift() || 0;\n this.millisecond = args.shift() || 0;\n (0, $435a2ceaa8778ed8$export$c4e2ecac49351ef2)(this);\n }\n /** Returns a copy of this date. */ copy() {\n if (this.era) return new $2aaf608024c21ca1$export$d3b7288e7994edea(this.calendar, this.era, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond);\n else return new $2aaf608024c21ca1$export$d3b7288e7994edea(this.calendar, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond);\n }\n /** Returns a new `ZonedDateTime` with the given duration added to it. */ add(duration) {\n return (0, $435a2ceaa8778ed8$export$96b1d28349274637)(this, duration);\n }\n /** Returns a new `ZonedDateTime` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $435a2ceaa8778ed8$export$6814caac34ca03c7)(this, duration);\n }\n /** Returns a new `ZonedDateTime` with the given fields set to the provided values. Other fields will be constrained accordingly. */ set(fields, disambiguation) {\n return (0, $435a2ceaa8778ed8$export$31b5430eb18be4f8)(this, fields, disambiguation);\n }\n /**\n * Returns a new `ZonedDateTime` with the given field adjusted by a specified amount.\n * When the resulting value reaches the limits of the field, it wraps around.\n */ cycle(field, amount, options) {\n return (0, $435a2ceaa8778ed8$export$9a297d111fc86b79)(this, field, amount, options);\n }\n /** Converts the date to a native JavaScript Date object. */ toDate() {\n return (0, $d07e34cce18680fd$export$83aac07b4c37b25)(this);\n }\n /** Converts the date to an ISO 8601 formatted string, including the UTC offset and time zone identifier. */ toString() {\n return (0, $58246871e4652552$export$bf79f1ebf4b18792)(this);\n }\n /** Converts the date to an ISO 8601 formatted string in UTC. */ toAbsoluteString() {\n return this.toDate().toISOString();\n }\n /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */ compare(b) {\n // TODO: Is this a bad idea??\n return this.toDate().getTime() - (0, $d07e34cce18680fd$export$84c95a83c799e074)(b, this.timeZone).toDate().getTime();\n }\n}\n\n\nexport {$2aaf608024c21ca1$export$99faa760c7908e4f as CalendarDate, $2aaf608024c21ca1$export$680ea196effce5f as Time, $2aaf608024c21ca1$export$ca871e8dbb80966f as CalendarDateTime, $2aaf608024c21ca1$export$d3b7288e7994edea as ZonedDateTime};\n//# sourceMappingURL=CalendarDate.mjs.map\n","import {CalendarDate as $2aaf608024c21ca1$export$99faa760c7908e4f} from \"../CalendarDate.mjs\";\nimport {GregorianCalendar as $93635573935797de$export$80ee6245ec4f29ec} from \"./GregorianCalendar.mjs\";\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 */ // Portions of the code in this file are based on code from the TC39 Temporal proposal.\n// Original licensing can be found in the NOTICE file in the root directory of this source tree.\n\n\nconst $34b940b49ba042df$var$ERA_START_DATES = [\n [\n 1868,\n 9,\n 8\n ],\n [\n 1912,\n 7,\n 30\n ],\n [\n 1926,\n 12,\n 25\n ],\n [\n 1989,\n 1,\n 8\n ],\n [\n 2019,\n 5,\n 1\n ]\n];\nconst $34b940b49ba042df$var$ERA_END_DATES = [\n [\n 1912,\n 7,\n 29\n ],\n [\n 1926,\n 12,\n 24\n ],\n [\n 1989,\n 1,\n 7\n ],\n [\n 2019,\n 4,\n 30\n ]\n];\nconst $34b940b49ba042df$var$ERA_ADDENDS = [\n 1867,\n 1911,\n 1925,\n 1988,\n 2018\n];\nconst $34b940b49ba042df$var$ERA_NAMES = [\n 'meiji',\n 'taisho',\n 'showa',\n 'heisei',\n 'reiwa'\n];\nfunction $34b940b49ba042df$var$findEraFromGregorianDate(date) {\n const idx = $34b940b49ba042df$var$ERA_START_DATES.findIndex(([year, month, day])=>{\n if (date.year < year) return true;\n if (date.year === year && date.month < month) return true;\n if (date.year === year && date.month === month && date.day < day) return true;\n return false;\n });\n if (idx === -1) return $34b940b49ba042df$var$ERA_START_DATES.length - 1;\n if (idx === 0) return 0;\n return idx - 1;\n}\nfunction $34b940b49ba042df$var$toGregorian(date) {\n let eraAddend = $34b940b49ba042df$var$ERA_ADDENDS[$34b940b49ba042df$var$ERA_NAMES.indexOf(date.era)];\n if (!eraAddend) throw new Error('Unknown era: ' + date.era);\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(date.year + eraAddend, date.month, date.day);\n}\nclass $34b940b49ba042df$export$b746ab2b60cdffbf extends (0, $93635573935797de$export$80ee6245ec4f29ec) {\n fromJulianDay(jd) {\n let date = super.fromJulianDay(jd);\n let era = $34b940b49ba042df$var$findEraFromGregorianDate(date);\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(this, $34b940b49ba042df$var$ERA_NAMES[era], date.year - $34b940b49ba042df$var$ERA_ADDENDS[era], date.month, date.day);\n }\n toJulianDay(date) {\n return super.toJulianDay($34b940b49ba042df$var$toGregorian(date));\n }\n balanceDate(date) {\n let gregorianDate = $34b940b49ba042df$var$toGregorian(date);\n let era = $34b940b49ba042df$var$findEraFromGregorianDate(gregorianDate);\n if ($34b940b49ba042df$var$ERA_NAMES[era] !== date.era) {\n date.era = $34b940b49ba042df$var$ERA_NAMES[era];\n date.year = gregorianDate.year - $34b940b49ba042df$var$ERA_ADDENDS[era];\n }\n // Constrain in case we went before the first supported era.\n this.constrainDate(date);\n }\n constrainDate(date) {\n let idx = $34b940b49ba042df$var$ERA_NAMES.indexOf(date.era);\n let end = $34b940b49ba042df$var$ERA_END_DATES[idx];\n if (end != null) {\n let [endYear, endMonth, endDay] = end;\n // Constrain the year to the maximum possible value in the era.\n // Then constrain the month and day fields within that.\n let maxYear = endYear - $34b940b49ba042df$var$ERA_ADDENDS[idx];\n date.year = Math.max(1, Math.min(maxYear, date.year));\n if (date.year === maxYear) {\n date.month = Math.min(endMonth, date.month);\n if (date.month === endMonth) date.day = Math.min(endDay, date.day);\n }\n }\n if (date.year === 1 && idx >= 0) {\n let [, startMonth, startDay] = $34b940b49ba042df$var$ERA_START_DATES[idx];\n date.month = Math.max(startMonth, date.month);\n if (date.month === startMonth) date.day = Math.max(startDay, date.day);\n }\n }\n getEras() {\n return $34b940b49ba042df$var$ERA_NAMES;\n }\n getYearsInEra(date) {\n // Get the number of years in the era, taking into account the date's month and day fields.\n let era = $34b940b49ba042df$var$ERA_NAMES.indexOf(date.era);\n let cur = $34b940b49ba042df$var$ERA_START_DATES[era];\n let next = $34b940b49ba042df$var$ERA_START_DATES[era + 1];\n if (next == null) // 9999 gregorian is the maximum year allowed.\n return 9999 - cur[0] + 1;\n let years = next[0] - cur[0];\n if (date.month < next[1] || date.month === next[1] && date.day < next[2]) years++;\n return years;\n }\n getDaysInMonth(date) {\n return super.getDaysInMonth($34b940b49ba042df$var$toGregorian(date));\n }\n getMinimumMonthInYear(date) {\n let start = $34b940b49ba042df$var$getMinimums(date);\n return start ? start[1] : 1;\n }\n getMinimumDayInMonth(date) {\n let start = $34b940b49ba042df$var$getMinimums(date);\n return start && date.month === start[1] ? start[2] : 1;\n }\n constructor(...args){\n super(...args), this.identifier = 'japanese';\n }\n}\nfunction $34b940b49ba042df$var$getMinimums(date) {\n if (date.year === 1) {\n let idx = $34b940b49ba042df$var$ERA_NAMES.indexOf(date.era);\n return $34b940b49ba042df$var$ERA_START_DATES[idx];\n }\n}\n\n\nexport {$34b940b49ba042df$export$b746ab2b60cdffbf as JapaneseCalendar};\n//# sourceMappingURL=JapaneseCalendar.mjs.map\n","import {CalendarDate as $2aaf608024c21ca1$export$99faa760c7908e4f} from \"../CalendarDate.mjs\";\nimport {fromExtendedYear as $93635573935797de$export$4475b7e617eb123c, getExtendedYear as $93635573935797de$export$c36e0ecb2d4fa69d, GregorianCalendar as $93635573935797de$export$80ee6245ec4f29ec} from \"./GregorianCalendar.mjs\";\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 */ // Portions of the code in this file are based on code from ICU.\n// Original licensing can be found in the NOTICE file in the root directory of this source tree.\n\n\nconst $63d4eafd4d826996$var$BUDDHIST_ERA_START = -543;\nclass $63d4eafd4d826996$export$42d20a78301dee44 extends (0, $93635573935797de$export$80ee6245ec4f29ec) {\n fromJulianDay(jd) {\n let gregorianDate = super.fromJulianDay(jd);\n let year = (0, $93635573935797de$export$c36e0ecb2d4fa69d)(gregorianDate.era, gregorianDate.year);\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(this, year - $63d4eafd4d826996$var$BUDDHIST_ERA_START, gregorianDate.month, gregorianDate.day);\n }\n toJulianDay(date) {\n return super.toJulianDay($63d4eafd4d826996$var$toGregorian(date));\n }\n getEras() {\n return [\n 'BE'\n ];\n }\n getDaysInMonth(date) {\n return super.getDaysInMonth($63d4eafd4d826996$var$toGregorian(date));\n }\n balanceDate() {}\n constructor(...args){\n super(...args), this.identifier = 'buddhist';\n }\n}\nfunction $63d4eafd4d826996$var$toGregorian(date) {\n let [era, year] = (0, $93635573935797de$export$4475b7e617eb123c)(date.year + $63d4eafd4d826996$var$BUDDHIST_ERA_START);\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(era, year, date.month, date.day);\n}\n\n\nexport {$63d4eafd4d826996$export$42d20a78301dee44 as BuddhistCalendar};\n//# sourceMappingURL=BuddhistCalendar.mjs.map\n","import {CalendarDate as $2aaf608024c21ca1$export$99faa760c7908e4f} from \"../CalendarDate.mjs\";\nimport {fromExtendedYear as $93635573935797de$export$4475b7e617eb123c, getExtendedYear as $93635573935797de$export$c36e0ecb2d4fa69d, GregorianCalendar as $93635573935797de$export$80ee6245ec4f29ec} from \"./GregorianCalendar.mjs\";\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 */ // Portions of the code in this file are based on code from ICU.\n// Original licensing can be found in the NOTICE file in the root directory of this source tree.\n\n\nconst $c009cc5f64923054$var$TAIWAN_ERA_START = 1911;\nfunction $c009cc5f64923054$var$gregorianYear(date) {\n return date.era === 'minguo' ? date.year + $c009cc5f64923054$var$TAIWAN_ERA_START : 1 - date.year + $c009cc5f64923054$var$TAIWAN_ERA_START;\n}\nfunction $c009cc5f64923054$var$gregorianToTaiwan(year) {\n let y = year - $c009cc5f64923054$var$TAIWAN_ERA_START;\n if (y > 0) return [\n 'minguo',\n y\n ];\n else return [\n 'before_minguo',\n 1 - y\n ];\n}\nclass $c009cc5f64923054$export$65e01080afcb0799 extends (0, $93635573935797de$export$80ee6245ec4f29ec) {\n fromJulianDay(jd) {\n let date = super.fromJulianDay(jd);\n let extendedYear = (0, $93635573935797de$export$c36e0ecb2d4fa69d)(date.era, date.year);\n let [era, year] = $c009cc5f64923054$var$gregorianToTaiwan(extendedYear);\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(this, era, year, date.month, date.day);\n }\n toJulianDay(date) {\n return super.toJulianDay($c009cc5f64923054$var$toGregorian(date));\n }\n getEras() {\n return [\n 'before_minguo',\n 'minguo'\n ];\n }\n balanceDate(date) {\n let [era, year] = $c009cc5f64923054$var$gregorianToTaiwan($c009cc5f64923054$var$gregorianYear(date));\n date.era = era;\n date.year = year;\n }\n isInverseEra(date) {\n return date.era === 'before_minguo';\n }\n getDaysInMonth(date) {\n return super.getDaysInMonth($c009cc5f64923054$var$toGregorian(date));\n }\n getYearsInEra(date) {\n return date.era === 'before_minguo' ? 9999 : 9999 - $c009cc5f64923054$var$TAIWAN_ERA_START;\n }\n constructor(...args){\n super(...args), this.identifier = 'roc' // Republic of China\n ;\n }\n}\nfunction $c009cc5f64923054$var$toGregorian(date) {\n let [era, year] = (0, $93635573935797de$export$4475b7e617eb123c)($c009cc5f64923054$var$gregorianYear(date));\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(era, year, date.month, date.day);\n}\n\n\nexport {$c009cc5f64923054$export$65e01080afcb0799 as TaiwanCalendar};\n//# sourceMappingURL=TaiwanCalendar.mjs.map\n","import {CalendarDate as $2aaf608024c21ca1$export$99faa760c7908e4f} from \"../CalendarDate.mjs\";\nimport {mod as $09ec6a572d60460f$export$842a2cf37af977e1} from \"../utils.mjs\";\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 */ // Portions of the code in this file are based on code from ICU.\n// Original licensing can be found in the NOTICE file in the root directory of this source tree.\n\n\nconst $a0cc0739a536c3b1$var$PERSIAN_EPOCH = 1948320;\n// Number of days from the start of the year to the start of each month.\nconst $a0cc0739a536c3b1$var$MONTH_START = [\n 0,\n 31,\n 62,\n 93,\n 124,\n 155,\n 186,\n 216,\n 246,\n 276,\n 306,\n 336 // Esfand\n];\nclass $a0cc0739a536c3b1$export$37fccdbfd14c5939 {\n fromJulianDay(jd) {\n let daysSinceEpoch = jd - $a0cc0739a536c3b1$var$PERSIAN_EPOCH;\n let year = 1 + Math.floor((33 * daysSinceEpoch + 3) / 12053);\n let farvardin1 = 365 * (year - 1) + Math.floor((8 * year + 21) / 33);\n let dayOfYear = daysSinceEpoch - farvardin1;\n let month = dayOfYear < 216 ? Math.floor(dayOfYear / 31) : Math.floor((dayOfYear - 6) / 30);\n let day = dayOfYear - $a0cc0739a536c3b1$var$MONTH_START[month] + 1;\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(this, year, month + 1, day);\n }\n toJulianDay(date) {\n let jd = $a0cc0739a536c3b1$var$PERSIAN_EPOCH - 1 + 365 * (date.year - 1) + Math.floor((8 * date.year + 21) / 33);\n jd += $a0cc0739a536c3b1$var$MONTH_START[date.month - 1];\n jd += date.day;\n return jd;\n }\n getMonthsInYear() {\n return 12;\n }\n getDaysInMonth(date) {\n if (date.month <= 6) return 31;\n if (date.month <= 11) return 30;\n let isLeapYear = (0, $09ec6a572d60460f$export$842a2cf37af977e1)(25 * date.year + 11, 33) < 8;\n return isLeapYear ? 30 : 29;\n }\n getMaximumMonthsInYear() {\n return 12;\n }\n getMaximumDaysInMonth() {\n return 31;\n }\n getEras() {\n return [\n 'AP'\n ];\n }\n getYearsInEra() {\n // 9378-10-10 persian is 9999-12-31 gregorian.\n // Round down to 9377 to set the maximum full year.\n return 9377;\n }\n constructor(){\n this.identifier = 'persian';\n }\n}\n\n\nexport {$a0cc0739a536c3b1$export$37fccdbfd14c5939 as PersianCalendar};\n//# sourceMappingURL=PersianCalendar.mjs.map\n","import {CalendarDate as $2aaf608024c21ca1$export$99faa760c7908e4f} from \"../CalendarDate.mjs\";\nimport {fromExtendedYear as $93635573935797de$export$4475b7e617eb123c, GregorianCalendar as $93635573935797de$export$80ee6245ec4f29ec, gregorianToJulianDay as $93635573935797de$export$f297eb839006d339, isLeapYear as $93635573935797de$export$553d7fa8e3805fc0} from \"./GregorianCalendar.mjs\";\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 */ // Portions of the code in this file are based on code from ICU.\n// Original licensing can be found in the NOTICE file in the root directory of this source tree.\n\n\n// Starts in 78 AD,\nconst $11fa67a177e45470$var$INDIAN_ERA_START = 78;\n// The Indian year starts 80 days later than the Gregorian year.\nconst $11fa67a177e45470$var$INDIAN_YEAR_START = 80;\nclass $11fa67a177e45470$export$39f31c639fa15726 extends (0, $93635573935797de$export$80ee6245ec4f29ec) {\n fromJulianDay(jd) {\n // Gregorian date for Julian day\n let date = super.fromJulianDay(jd);\n // Year in Saka era\n let indianYear = date.year - $11fa67a177e45470$var$INDIAN_ERA_START;\n // Day number in Gregorian year (starting from 0)\n let yDay = jd - (0, $93635573935797de$export$f297eb839006d339)(date.era, date.year, 1, 1);\n let leapMonth;\n if (yDay < $11fa67a177e45470$var$INDIAN_YEAR_START) {\n // Day is at the end of the preceding Saka year\n indianYear--;\n // Days in leapMonth this year, previous Gregorian year\n leapMonth = (0, $93635573935797de$export$553d7fa8e3805fc0)(date.year - 1) ? 31 : 30;\n yDay += leapMonth + 155 + 90 + 10;\n } else {\n // Days in leapMonth this year\n leapMonth = (0, $93635573935797de$export$553d7fa8e3805fc0)(date.year) ? 31 : 30;\n yDay -= $11fa67a177e45470$var$INDIAN_YEAR_START;\n }\n let indianMonth;\n let indianDay;\n if (yDay < leapMonth) {\n indianMonth = 1;\n indianDay = yDay + 1;\n } else {\n let mDay = yDay - leapMonth;\n if (mDay < 155) {\n indianMonth = Math.floor(mDay / 31) + 2;\n indianDay = mDay % 31 + 1;\n } else {\n mDay -= 155;\n indianMonth = Math.floor(mDay / 30) + 7;\n indianDay = mDay % 30 + 1;\n }\n }\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(this, indianYear, indianMonth, indianDay);\n }\n toJulianDay(date) {\n let extendedYear = date.year + $11fa67a177e45470$var$INDIAN_ERA_START;\n let [era, year] = (0, $93635573935797de$export$4475b7e617eb123c)(extendedYear);\n let leapMonth;\n let jd;\n if ((0, $93635573935797de$export$553d7fa8e3805fc0)(year)) {\n leapMonth = 31;\n jd = (0, $93635573935797de$export$f297eb839006d339)(era, year, 3, 21);\n } else {\n leapMonth = 30;\n jd = (0, $93635573935797de$export$f297eb839006d339)(era, year, 3, 22);\n }\n if (date.month === 1) return jd + date.day - 1;\n jd += leapMonth + Math.min(date.month - 2, 5) * 31;\n if (date.month >= 8) jd += (date.month - 7) * 30;\n jd += date.day - 1;\n return jd;\n }\n getDaysInMonth(date) {\n if (date.month === 1 && (0, $93635573935797de$export$553d7fa8e3805fc0)(date.year + $11fa67a177e45470$var$INDIAN_ERA_START)) return 31;\n if (date.month >= 2 && date.month <= 6) return 31;\n return 30;\n }\n getYearsInEra() {\n // 9999-12-31 gregorian is 9920-10-10 indian.\n // Round down to 9919 for the last full year.\n return 9919;\n }\n getEras() {\n return [\n 'saka'\n ];\n }\n balanceDate() {}\n constructor(...args){\n super(...args), this.identifier = 'indian';\n }\n}\n\n\nexport {$11fa67a177e45470$export$39f31c639fa15726 as IndianCalendar};\n//# sourceMappingURL=IndianCalendar.mjs.map\n","import {CalendarDate as $2aaf608024c21ca1$export$99faa760c7908e4f} from \"../CalendarDate.mjs\";\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 */ // Portions of the code in this file are based on code from ICU.\n// Original licensing can be found in the NOTICE file in the root directory of this source tree.\n\nconst $fd4f9bc1ba0e49a8$var$CIVIL_EPOC = 1948440; // CE 622 July 16 Friday (Julian calendar) / CE 622 July 19 (Gregorian calendar)\nconst $fd4f9bc1ba0e49a8$var$ASTRONOMICAL_EPOC = 1948439; // CE 622 July 15 Thursday (Julian calendar)\nconst $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START = 1300;\nconst $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_END = 1600;\nconst $fd4f9bc1ba0e49a8$var$UMALQURA_START_DAYS = 460322;\nfunction $fd4f9bc1ba0e49a8$var$islamicToJulianDay(epoch, year, month, day) {\n return day + Math.ceil(29.5 * (month - 1)) + (year - 1) * 354 + Math.floor((3 + 11 * year) / 30) + epoch - 1;\n}\nfunction $fd4f9bc1ba0e49a8$var$julianDayToIslamic(calendar, epoch, jd) {\n let year = Math.floor((30 * (jd - epoch) + 10646) / 10631);\n let month = Math.min(12, Math.ceil((jd - (29 + $fd4f9bc1ba0e49a8$var$islamicToJulianDay(epoch, year, 1, 1))) / 29.5) + 1);\n let day = jd - $fd4f9bc1ba0e49a8$var$islamicToJulianDay(epoch, year, month, 1) + 1;\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(calendar, year, month, day);\n}\nfunction $fd4f9bc1ba0e49a8$var$isLeapYear(year) {\n return (14 + 11 * year) % 30 < 11;\n}\nclass $fd4f9bc1ba0e49a8$export$2066795aadd37bfc {\n fromJulianDay(jd) {\n return $fd4f9bc1ba0e49a8$var$julianDayToIslamic(this, $fd4f9bc1ba0e49a8$var$CIVIL_EPOC, jd);\n }\n toJulianDay(date) {\n return $fd4f9bc1ba0e49a8$var$islamicToJulianDay($fd4f9bc1ba0e49a8$var$CIVIL_EPOC, date.year, date.month, date.day);\n }\n getDaysInMonth(date) {\n let length = 29 + date.month % 2;\n if (date.month === 12 && $fd4f9bc1ba0e49a8$var$isLeapYear(date.year)) length++;\n return length;\n }\n getMonthsInYear() {\n return 12;\n }\n getDaysInYear(date) {\n return $fd4f9bc1ba0e49a8$var$isLeapYear(date.year) ? 355 : 354;\n }\n getMaximumMonthsInYear() {\n return 12;\n }\n getMaximumDaysInMonth() {\n return 30;\n }\n getYearsInEra() {\n // 9999 gregorian\n return 9665;\n }\n getEras() {\n return [\n 'AH'\n ];\n }\n constructor(){\n this.identifier = 'islamic-civil';\n }\n}\nclass $fd4f9bc1ba0e49a8$export$37f0887f2f9d22f7 extends $fd4f9bc1ba0e49a8$export$2066795aadd37bfc {\n fromJulianDay(jd) {\n return $fd4f9bc1ba0e49a8$var$julianDayToIslamic(this, $fd4f9bc1ba0e49a8$var$ASTRONOMICAL_EPOC, jd);\n }\n toJulianDay(date) {\n return $fd4f9bc1ba0e49a8$var$islamicToJulianDay($fd4f9bc1ba0e49a8$var$ASTRONOMICAL_EPOC, date.year, date.month, date.day);\n }\n constructor(...args){\n super(...args), this.identifier = 'islamic-tbla';\n }\n}\n// Generated by scripts/generate-umalqura.js\nconst $fd4f9bc1ba0e49a8$var$UMALQURA_DATA = 'qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=';\nlet $fd4f9bc1ba0e49a8$var$UMALQURA_MONTHLENGTH;\nlet $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START_TABLE;\nfunction $fd4f9bc1ba0e49a8$var$umalquraYearStart(year) {\n return $fd4f9bc1ba0e49a8$var$UMALQURA_START_DAYS + $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START_TABLE[year - $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START];\n}\nfunction $fd4f9bc1ba0e49a8$var$umalquraMonthLength(year, month) {\n let idx = year - $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START;\n let mask = 0x01 << 11 - (month - 1);\n if (($fd4f9bc1ba0e49a8$var$UMALQURA_MONTHLENGTH[idx] & mask) === 0) return 29;\n else return 30;\n}\nfunction $fd4f9bc1ba0e49a8$var$umalquraMonthStart(year, month) {\n let day = $fd4f9bc1ba0e49a8$var$umalquraYearStart(year);\n for(let i = 1; i < month; i++)day += $fd4f9bc1ba0e49a8$var$umalquraMonthLength(year, i);\n return day;\n}\nfunction $fd4f9bc1ba0e49a8$var$umalquraYearLength(year) {\n return $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START_TABLE[year + 1 - $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START] - $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START_TABLE[year - $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START];\n}\nclass $fd4f9bc1ba0e49a8$export$5baab4758c231076 extends $fd4f9bc1ba0e49a8$export$2066795aadd37bfc {\n constructor(){\n super(), this.identifier = 'islamic-umalqura';\n if (!$fd4f9bc1ba0e49a8$var$UMALQURA_MONTHLENGTH) $fd4f9bc1ba0e49a8$var$UMALQURA_MONTHLENGTH = new Uint16Array(Uint8Array.from(atob($fd4f9bc1ba0e49a8$var$UMALQURA_DATA), (c)=>c.charCodeAt(0)).buffer);\n if (!$fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START_TABLE) {\n $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START_TABLE = new Uint32Array($fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_END - $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START + 1);\n let yearStart = 0;\n for(let year = $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START; year <= $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_END; year++){\n $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START_TABLE[year - $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START] = yearStart;\n for(let i = 1; i <= 12; i++)yearStart += $fd4f9bc1ba0e49a8$var$umalquraMonthLength(year, i);\n }\n }\n }\n fromJulianDay(jd) {\n let days = jd - $fd4f9bc1ba0e49a8$var$CIVIL_EPOC;\n let startDays = $fd4f9bc1ba0e49a8$var$umalquraYearStart($fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START);\n let endDays = $fd4f9bc1ba0e49a8$var$umalquraYearStart($fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_END);\n if (days < startDays || days > endDays) return super.fromJulianDay(jd);\n else {\n let y = $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START - 1;\n let m = 1;\n let d = 1;\n while(d > 0){\n y++;\n d = days - $fd4f9bc1ba0e49a8$var$umalquraYearStart(y) + 1;\n let yearLength = $fd4f9bc1ba0e49a8$var$umalquraYearLength(y);\n if (d === yearLength) {\n m = 12;\n break;\n } else if (d < yearLength) {\n let monthLength = $fd4f9bc1ba0e49a8$var$umalquraMonthLength(y, m);\n m = 1;\n while(d > monthLength){\n d -= monthLength;\n m++;\n monthLength = $fd4f9bc1ba0e49a8$var$umalquraMonthLength(y, m);\n }\n break;\n }\n }\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(this, y, m, days - $fd4f9bc1ba0e49a8$var$umalquraMonthStart(y, m) + 1);\n }\n }\n toJulianDay(date) {\n if (date.year < $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START || date.year > $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_END) return super.toJulianDay(date);\n return $fd4f9bc1ba0e49a8$var$CIVIL_EPOC + $fd4f9bc1ba0e49a8$var$umalquraMonthStart(date.year, date.month) + (date.day - 1);\n }\n getDaysInMonth(date) {\n if (date.year < $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START || date.year > $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_END) return super.getDaysInMonth(date);\n return $fd4f9bc1ba0e49a8$var$umalquraMonthLength(date.year, date.month);\n }\n getDaysInYear(date) {\n if (date.year < $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START || date.year > $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_END) return super.getDaysInYear(date);\n return $fd4f9bc1ba0e49a8$var$umalquraYearLength(date.year);\n }\n}\n\n\nexport {$fd4f9bc1ba0e49a8$export$2066795aadd37bfc as IslamicCivilCalendar, $fd4f9bc1ba0e49a8$export$37f0887f2f9d22f7 as IslamicTabularCalendar, $fd4f9bc1ba0e49a8$export$5baab4758c231076 as IslamicUmalquraCalendar};\n//# sourceMappingURL=IslamicCalendar.mjs.map\n","import {CalendarDate as $2aaf608024c21ca1$export$99faa760c7908e4f} from \"../CalendarDate.mjs\";\nimport {mod as $09ec6a572d60460f$export$842a2cf37af977e1} from \"../utils.mjs\";\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 */ // Portions of the code in this file are based on code from ICU.\n// Original licensing can be found in the NOTICE file in the root directory of this source tree.\n\n\nconst $f39495b96f9dbac6$var$HEBREW_EPOCH = 347997;\n// Hebrew date calculations are performed in terms of days, hours, and\n// \"parts\" (or halakim), which are 1/1080 of an hour, or 3 1/3 seconds.\nconst $f39495b96f9dbac6$var$HOUR_PARTS = 1080;\nconst $f39495b96f9dbac6$var$DAY_PARTS = 24 * $f39495b96f9dbac6$var$HOUR_PARTS;\n// An approximate value for the length of a lunar month.\n// It is used to calculate the approximate year and month of a given\n// absolute date.\nconst $f39495b96f9dbac6$var$MONTH_DAYS = 29;\nconst $f39495b96f9dbac6$var$MONTH_FRACT = 12 * $f39495b96f9dbac6$var$HOUR_PARTS + 793;\nconst $f39495b96f9dbac6$var$MONTH_PARTS = $f39495b96f9dbac6$var$MONTH_DAYS * $f39495b96f9dbac6$var$DAY_PARTS + $f39495b96f9dbac6$var$MONTH_FRACT;\nfunction $f39495b96f9dbac6$var$isLeapYear(year) {\n return (0, $09ec6a572d60460f$export$842a2cf37af977e1)(year * 7 + 1, 19) < 7;\n}\n// Test for delay of start of new year and to avoid\n// Sunday, Wednesday, and Friday as start of the new year.\nfunction $f39495b96f9dbac6$var$hebrewDelay1(year) {\n let months = Math.floor((235 * year - 234) / 19);\n let parts = 12084 + 13753 * months;\n let day = months * 29 + Math.floor(parts / 25920);\n if ((0, $09ec6a572d60460f$export$842a2cf37af977e1)(3 * (day + 1), 7) < 3) day += 1;\n return day;\n}\n// Check for delay in start of new year due to length of adjacent years\nfunction $f39495b96f9dbac6$var$hebrewDelay2(year) {\n let last = $f39495b96f9dbac6$var$hebrewDelay1(year - 1);\n let present = $f39495b96f9dbac6$var$hebrewDelay1(year);\n let next = $f39495b96f9dbac6$var$hebrewDelay1(year + 1);\n if (next - present === 356) return 2;\n if (present - last === 382) return 1;\n return 0;\n}\nfunction $f39495b96f9dbac6$var$startOfYear(year) {\n return $f39495b96f9dbac6$var$hebrewDelay1(year) + $f39495b96f9dbac6$var$hebrewDelay2(year);\n}\nfunction $f39495b96f9dbac6$var$getDaysInYear(year) {\n return $f39495b96f9dbac6$var$startOfYear(year + 1) - $f39495b96f9dbac6$var$startOfYear(year);\n}\nfunction $f39495b96f9dbac6$var$getYearType(year) {\n let yearLength = $f39495b96f9dbac6$var$getDaysInYear(year);\n if (yearLength > 380) yearLength -= 30; // Subtract length of leap month.\n switch(yearLength){\n case 353:\n return 0; // deficient\n case 354:\n return 1; // normal\n case 355:\n return 2; // complete\n }\n}\nfunction $f39495b96f9dbac6$var$getDaysInMonth(year, month) {\n // Normalize month numbers from 1 - 13, even on non-leap years\n if (month >= 6 && !$f39495b96f9dbac6$var$isLeapYear(year)) month++;\n // First of all, dispose of fixed-length 29 day months\n if (month === 4 || month === 7 || month === 9 || month === 11 || month === 13) return 29;\n let yearType = $f39495b96f9dbac6$var$getYearType(year);\n // If it's Heshvan, days depend on length of year\n if (month === 2) return yearType === 2 ? 30 : 29;\n // Similarly, Kislev varies with the length of year\n if (month === 3) return yearType === 0 ? 29 : 30;\n // Adar I only exists in leap years\n if (month === 6) return $f39495b96f9dbac6$var$isLeapYear(year) ? 30 : 0;\n return 30;\n}\nclass $f39495b96f9dbac6$export$ca405048b8fb5af {\n fromJulianDay(jd) {\n let d = jd - $f39495b96f9dbac6$var$HEBREW_EPOCH;\n let m = d * $f39495b96f9dbac6$var$DAY_PARTS / $f39495b96f9dbac6$var$MONTH_PARTS; // Months (approx)\n let year = Math.floor((19 * m + 234) / 235) + 1; // Years (approx)\n let ys = $f39495b96f9dbac6$var$startOfYear(year); // 1st day of year\n let dayOfYear = Math.floor(d - ys);\n // Because of the postponement rules, it's possible to guess wrong. Fix it.\n while(dayOfYear < 1){\n year--;\n ys = $f39495b96f9dbac6$var$startOfYear(year);\n dayOfYear = Math.floor(d - ys);\n }\n // Now figure out which month we're in, and the date within that month\n let month = 1;\n let monthStart = 0;\n while(monthStart < dayOfYear){\n monthStart += $f39495b96f9dbac6$var$getDaysInMonth(year, month);\n month++;\n }\n month--;\n monthStart -= $f39495b96f9dbac6$var$getDaysInMonth(year, month);\n let day = dayOfYear - monthStart;\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(this, year, month, day);\n }\n toJulianDay(date) {\n let jd = $f39495b96f9dbac6$var$startOfYear(date.year);\n for(let month = 1; month < date.month; month++)jd += $f39495b96f9dbac6$var$getDaysInMonth(date.year, month);\n return jd + date.day + $f39495b96f9dbac6$var$HEBREW_EPOCH;\n }\n getDaysInMonth(date) {\n return $f39495b96f9dbac6$var$getDaysInMonth(date.year, date.month);\n }\n getMonthsInYear(date) {\n return $f39495b96f9dbac6$var$isLeapYear(date.year) ? 13 : 12;\n }\n getDaysInYear(date) {\n return $f39495b96f9dbac6$var$getDaysInYear(date.year);\n }\n getMaximumMonthsInYear() {\n return 13;\n }\n getMaximumDaysInMonth() {\n return 30;\n }\n getYearsInEra() {\n // 6239 gregorian\n return 9999;\n }\n getEras() {\n return [\n 'AM'\n ];\n }\n balanceYearMonth(date, previousDate) {\n // Keep date in the same month when switching between leap years and non leap years\n if (previousDate.year !== date.year) {\n if ($f39495b96f9dbac6$var$isLeapYear(previousDate.year) && !$f39495b96f9dbac6$var$isLeapYear(date.year) && previousDate.month > 6) date.month--;\n else if (!$f39495b96f9dbac6$var$isLeapYear(previousDate.year) && $f39495b96f9dbac6$var$isLeapYear(date.year) && previousDate.month > 6) date.month++;\n }\n }\n constructor(){\n this.identifier = 'hebrew';\n }\n}\n\n\nexport {$f39495b96f9dbac6$export$ca405048b8fb5af as HebrewCalendar};\n//# sourceMappingURL=HebrewCalendar.mjs.map\n","import {CalendarDate as $2aaf608024c21ca1$export$99faa760c7908e4f} from \"../CalendarDate.mjs\";\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 */ // Portions of the code in this file are based on code from ICU.\n// Original licensing can be found in the NOTICE file in the root directory of this source tree.\n\nconst $97cfca9efd59523d$var$ETHIOPIC_EPOCH = 1723856;\nconst $97cfca9efd59523d$var$COPTIC_EPOCH = 1824665;\n// The delta between Amete Alem 1 and Amete Mihret 1\n// AA 5501 = AM 1\nconst $97cfca9efd59523d$var$AMETE_MIHRET_DELTA = 5500;\nfunction $97cfca9efd59523d$var$ceToJulianDay(epoch, year, month, day) {\n return epoch // difference from Julian epoch to 1,1,1\n + 365 * year // number of days from years\n + Math.floor(year / 4) // extra day of leap year\n + 30 * (month - 1 // number of days from months (1 based)\n ) + day - 1 // number of days for present month (1 based)\n ;\n}\nfunction $97cfca9efd59523d$var$julianDayToCE(epoch, jd) {\n let year = Math.floor(4 * (jd - epoch) / 1461);\n let month = 1 + Math.floor((jd - $97cfca9efd59523d$var$ceToJulianDay(epoch, year, 1, 1)) / 30);\n let day = jd + 1 - $97cfca9efd59523d$var$ceToJulianDay(epoch, year, month, 1);\n return [\n year,\n month,\n day\n ];\n}\nfunction $97cfca9efd59523d$var$getLeapDay(year) {\n return Math.floor(year % 4 / 3);\n}\nfunction $97cfca9efd59523d$var$getDaysInMonth(year, month) {\n // The Ethiopian and Coptic calendars have 13 months, 12 of 30 days each and\n // an intercalary month at the end of the year of 5 or 6 days, depending whether\n // the year is a leap year or not. The Leap Year follows the same rules as the\n // Julian Calendar so that the extra month always has six days in the year before\n // a Julian Leap Year.\n if (month % 13 !== 0) // not intercalary month\n return 30;\n else // intercalary month 5 days + possible leap day\n return $97cfca9efd59523d$var$getLeapDay(year) + 5;\n}\nclass $97cfca9efd59523d$export$26ba6eab5e20cd7d {\n fromJulianDay(jd) {\n let [year, month, day] = $97cfca9efd59523d$var$julianDayToCE($97cfca9efd59523d$var$ETHIOPIC_EPOCH, jd);\n let era = 'AM';\n if (year <= 0) {\n era = 'AA';\n year += $97cfca9efd59523d$var$AMETE_MIHRET_DELTA;\n }\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(this, era, year, month, day);\n }\n toJulianDay(date) {\n let year = date.year;\n if (date.era === 'AA') year -= $97cfca9efd59523d$var$AMETE_MIHRET_DELTA;\n return $97cfca9efd59523d$var$ceToJulianDay($97cfca9efd59523d$var$ETHIOPIC_EPOCH, year, date.month, date.day);\n }\n getDaysInMonth(date) {\n return $97cfca9efd59523d$var$getDaysInMonth(date.year, date.month);\n }\n getMonthsInYear() {\n return 13;\n }\n getDaysInYear(date) {\n return 365 + $97cfca9efd59523d$var$getLeapDay(date.year);\n }\n getMaximumMonthsInYear() {\n return 13;\n }\n getMaximumDaysInMonth() {\n return 30;\n }\n getYearsInEra(date) {\n // 9999-12-31 gregorian is 9992-20-02 ethiopic.\n // Round down to 9991 for the last full year.\n // AA 9999-01-01 ethiopic is 4506-09-30 gregorian.\n return date.era === 'AA' ? 9999 : 9991;\n }\n getEras() {\n return [\n 'AA',\n 'AM'\n ];\n }\n constructor(){\n this.identifier = 'ethiopic';\n }\n}\nclass $97cfca9efd59523d$export$d72e0c37005a4914 extends $97cfca9efd59523d$export$26ba6eab5e20cd7d {\n fromJulianDay(jd) {\n let [year, month, day] = $97cfca9efd59523d$var$julianDayToCE($97cfca9efd59523d$var$ETHIOPIC_EPOCH, jd);\n year += $97cfca9efd59523d$var$AMETE_MIHRET_DELTA;\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(this, 'AA', year, month, day);\n }\n getEras() {\n return [\n 'AA'\n ];\n }\n getYearsInEra() {\n // 9999-13-04 ethioaa is the maximum date, which is equivalent to 4506-09-29 gregorian.\n return 9999;\n }\n constructor(...args){\n super(...args), this.identifier = 'ethioaa' // also known as 'ethiopic-amete-alem' in ICU\n ;\n }\n}\nclass $97cfca9efd59523d$export$fe6243cbe1a4b7c1 extends $97cfca9efd59523d$export$26ba6eab5e20cd7d {\n fromJulianDay(jd) {\n let [year, month, day] = $97cfca9efd59523d$var$julianDayToCE($97cfca9efd59523d$var$COPTIC_EPOCH, jd);\n let era = 'CE';\n if (year <= 0) {\n era = 'BCE';\n year = 1 - year;\n }\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(this, era, year, month, day);\n }\n toJulianDay(date) {\n let year = date.year;\n if (date.era === 'BCE') year = 1 - year;\n return $97cfca9efd59523d$var$ceToJulianDay($97cfca9efd59523d$var$COPTIC_EPOCH, year, date.month, date.day);\n }\n getDaysInMonth(date) {\n let year = date.year;\n if (date.era === 'BCE') year = 1 - year;\n return $97cfca9efd59523d$var$getDaysInMonth(year, date.month);\n }\n isInverseEra(date) {\n return date.era === 'BCE';\n }\n balanceDate(date) {\n if (date.year <= 0) {\n date.era = date.era === 'BCE' ? 'CE' : 'BCE';\n date.year = 1 - date.year;\n }\n }\n getEras() {\n return [\n 'BCE',\n 'CE'\n ];\n }\n getYearsInEra(date) {\n // 9999-12-30 gregorian is 9716-02-20 coptic.\n // Round down to 9715 for the last full year.\n // BCE 9999-01-01 coptic is BC 9716-06-15 gregorian.\n return date.era === 'BCE' ? 9999 : 9715;\n }\n constructor(...args){\n super(...args), this.identifier = 'coptic';\n }\n}\n\n\nexport {$97cfca9efd59523d$export$26ba6eab5e20cd7d as EthiopicCalendar, $97cfca9efd59523d$export$d72e0c37005a4914 as EthiopicAmeteAlemCalendar, $97cfca9efd59523d$export$fe6243cbe1a4b7c1 as CopticCalendar};\n//# sourceMappingURL=EthiopicCalendar.mjs.map\n","import {BuddhistCalendar as $63d4eafd4d826996$export$42d20a78301dee44} from \"./calendars/BuddhistCalendar.mjs\";\nimport {CopticCalendar as $97cfca9efd59523d$export$fe6243cbe1a4b7c1, EthiopicAmeteAlemCalendar as $97cfca9efd59523d$export$d72e0c37005a4914, EthiopicCalendar as $97cfca9efd59523d$export$26ba6eab5e20cd7d} from \"./calendars/EthiopicCalendar.mjs\";\nimport {GregorianCalendar as $93635573935797de$export$80ee6245ec4f29ec} from \"./calendars/GregorianCalendar.mjs\";\nimport {HebrewCalendar as $f39495b96f9dbac6$export$ca405048b8fb5af} from \"./calendars/HebrewCalendar.mjs\";\nimport {IndianCalendar as $11fa67a177e45470$export$39f31c639fa15726} from \"./calendars/IndianCalendar.mjs\";\nimport {IslamicCivilCalendar as $fd4f9bc1ba0e49a8$export$2066795aadd37bfc, IslamicTabularCalendar as $fd4f9bc1ba0e49a8$export$37f0887f2f9d22f7, IslamicUmalquraCalendar as $fd4f9bc1ba0e49a8$export$5baab4758c231076} from \"./calendars/IslamicCalendar.mjs\";\nimport {JapaneseCalendar as $34b940b49ba042df$export$b746ab2b60cdffbf} from \"./calendars/JapaneseCalendar.mjs\";\nimport {PersianCalendar as $a0cc0739a536c3b1$export$37fccdbfd14c5939} from \"./calendars/PersianCalendar.mjs\";\nimport {TaiwanCalendar as $c009cc5f64923054$export$65e01080afcb0799} from \"./calendars/TaiwanCalendar.mjs\";\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\n\n\n\n\nfunction $84102b64e5ca022f$export$dd0bbc9b26defe37(name) {\n switch(name){\n case 'buddhist':\n return new (0, $63d4eafd4d826996$export$42d20a78301dee44)();\n case 'ethiopic':\n return new (0, $97cfca9efd59523d$export$26ba6eab5e20cd7d)();\n case 'ethioaa':\n return new (0, $97cfca9efd59523d$export$d72e0c37005a4914)();\n case 'coptic':\n return new (0, $97cfca9efd59523d$export$fe6243cbe1a4b7c1)();\n case 'hebrew':\n return new (0, $f39495b96f9dbac6$export$ca405048b8fb5af)();\n case 'indian':\n return new (0, $11fa67a177e45470$export$39f31c639fa15726)();\n case 'islamic-civil':\n return new (0, $fd4f9bc1ba0e49a8$export$2066795aadd37bfc)();\n case 'islamic-tbla':\n return new (0, $fd4f9bc1ba0e49a8$export$37f0887f2f9d22f7)();\n case 'islamic-umalqura':\n return new (0, $fd4f9bc1ba0e49a8$export$5baab4758c231076)();\n case 'japanese':\n return new (0, $34b940b49ba042df$export$b746ab2b60cdffbf)();\n case 'persian':\n return new (0, $a0cc0739a536c3b1$export$37fccdbfd14c5939)();\n case 'roc':\n return new (0, $c009cc5f64923054$export$65e01080afcb0799)();\n case 'gregory':\n default:\n return new (0, $93635573935797de$export$80ee6245ec4f29ec)();\n }\n}\n\n\nexport {$84102b64e5ca022f$export$dd0bbc9b26defe37 as createCalendar};\n//# sourceMappingURL=createCalendar.mjs.map\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 */ let $12a3c853105e5a70$var$formatterCache = new Map();\nclass $12a3c853105e5a70$export$ad991b66133851cf {\n constructor(locale, options = {}){\n this.formatter = $12a3c853105e5a70$var$getCachedDateFormatter(locale, options);\n this.options = options;\n }\n /** Formats a date as a string according to the locale and format options passed to the constructor. */ format(value) {\n return this.formatter.format(value);\n }\n /** Formats a date to an array of parts such as separators, numbers, punctuation, and more. */ formatToParts(value) {\n return this.formatter.formatToParts(value);\n }\n /** Formats a date range as a string. */ formatRange(start, end) {\n // @ts-ignore\n if (typeof this.formatter.formatRange === 'function') // @ts-ignore\n return this.formatter.formatRange(start, end);\n if (end < start) throw new RangeError('End date must be >= start date');\n // Very basic fallback for old browsers.\n return `${this.formatter.format(start)} \\u{2013} ${this.formatter.format(end)}`;\n }\n /** Formats a date range as an array of parts. */ formatRangeToParts(start, end) {\n // @ts-ignore\n if (typeof this.formatter.formatRangeToParts === 'function') // @ts-ignore\n return this.formatter.formatRangeToParts(start, end);\n if (end < start) throw new RangeError('End date must be >= start date');\n let startParts = this.formatter.formatToParts(start);\n let endParts = this.formatter.formatToParts(end);\n return [\n ...startParts.map((p)=>({\n ...p,\n source: 'startRange'\n })),\n {\n type: 'literal',\n value: \" \\u2013 \",\n source: 'shared'\n },\n ...endParts.map((p)=>({\n ...p,\n source: 'endRange'\n }))\n ];\n }\n /** Returns the resolved formatting options based on the values passed to the constructor. */ resolvedOptions() {\n let resolvedOptions = this.formatter.resolvedOptions();\n if ($12a3c853105e5a70$var$hasBuggyResolvedHourCycle()) {\n if (!this.resolvedHourCycle) this.resolvedHourCycle = $12a3c853105e5a70$var$getResolvedHourCycle(resolvedOptions.locale, this.options);\n resolvedOptions.hourCycle = this.resolvedHourCycle;\n resolvedOptions.hour12 = this.resolvedHourCycle === 'h11' || this.resolvedHourCycle === 'h12';\n }\n // Safari uses a different name for the Ethiopic (Amete Alem) calendar.\n // https://bugs.webkit.org/show_bug.cgi?id=241564\n if (resolvedOptions.calendar === 'ethiopic-amete-alem') resolvedOptions.calendar = 'ethioaa';\n return resolvedOptions;\n }\n}\n// There are multiple bugs involving the hour12 and hourCycle options in various browser engines.\n// - Chrome [1] (and the ECMA 402 spec [2]) resolve hour12: false in English and other locales to h24 (24:00 - 23:59)\n// rather than h23 (00:00 - 23:59). Same can happen with hour12: true in French, which Chrome resolves to h11 (00:00 - 11:59)\n// rather than h12 (12:00 - 11:59).\n// - WebKit returns an incorrect hourCycle resolved option in the French locale due to incorrect parsing of 'h' literal\n// in the resolved pattern. It also formats incorrectly when specifying the hourCycle option for the same reason. [3]\n// [1] https://bugs.chromium.org/p/chromium/issues/detail?id=1045791\n// [2] https://github.com/tc39/ecma402/issues/402\n// [3] https://bugs.webkit.org/show_bug.cgi?id=229313\n// https://github.com/unicode-org/cldr/blob/018b55eff7ceb389c7e3fc44e2f657eae3b10b38/common/supplemental/supplementalData.xml#L4774-L4802\nconst $12a3c853105e5a70$var$hour12Preferences = {\n true: {\n // Only Japanese uses the h11 style for 12 hour time. All others use h12.\n ja: 'h11'\n },\n false: {\n }\n};\nfunction $12a3c853105e5a70$var$getCachedDateFormatter(locale, options = {}) {\n // Work around buggy hour12 behavior in Chrome / ECMA 402 spec by using hourCycle instead.\n // Only apply the workaround if the issue is detected, because the hourCycle option is buggy in Safari.\n if (typeof options.hour12 === 'boolean' && $12a3c853105e5a70$var$hasBuggyHour12Behavior()) {\n options = {\n ...options\n };\n let pref = $12a3c853105e5a70$var$hour12Preferences[String(options.hour12)][locale.split('-')[0]];\n let defaultHourCycle = options.hour12 ? 'h12' : 'h23';\n options.hourCycle = pref ?? defaultHourCycle;\n delete options.hour12;\n }\n let cacheKey = locale + (options ? Object.entries(options).sort((a, b)=>a[0] < b[0] ? -1 : 1).join() : '');\n if ($12a3c853105e5a70$var$formatterCache.has(cacheKey)) return $12a3c853105e5a70$var$formatterCache.get(cacheKey);\n let numberFormatter = new Intl.DateTimeFormat(locale, options);\n $12a3c853105e5a70$var$formatterCache.set(cacheKey, numberFormatter);\n return numberFormatter;\n}\nlet $12a3c853105e5a70$var$_hasBuggyHour12Behavior = null;\nfunction $12a3c853105e5a70$var$hasBuggyHour12Behavior() {\n if ($12a3c853105e5a70$var$_hasBuggyHour12Behavior == null) $12a3c853105e5a70$var$_hasBuggyHour12Behavior = new Intl.DateTimeFormat('en-US', {\n hour: 'numeric',\n hour12: false\n }).format(new Date(2020, 2, 3, 0)) === '24';\n return $12a3c853105e5a70$var$_hasBuggyHour12Behavior;\n}\nlet $12a3c853105e5a70$var$_hasBuggyResolvedHourCycle = null;\nfunction $12a3c853105e5a70$var$hasBuggyResolvedHourCycle() {\n if ($12a3c853105e5a70$var$_hasBuggyResolvedHourCycle == null) $12a3c853105e5a70$var$_hasBuggyResolvedHourCycle = new Intl.DateTimeFormat('fr', {\n hour: 'numeric',\n hour12: false\n }).resolvedOptions().hourCycle === 'h12';\n return $12a3c853105e5a70$var$_hasBuggyResolvedHourCycle;\n}\nfunction $12a3c853105e5a70$var$getResolvedHourCycle(locale, options) {\n if (!options.timeStyle && !options.hour) return undefined;\n // Work around buggy results in resolved hourCycle and hour12 options in WebKit.\n // Format the minimum possible hour and maximum possible hour in a day and parse the results.\n locale = locale.replace(/(-u-)?-nu-[a-zA-Z0-9]+/, '');\n locale += (locale.includes('-u-') ? '' : '-u') + '-nu-latn';\n let formatter = $12a3c853105e5a70$var$getCachedDateFormatter(locale, {\n ...options,\n timeZone: undefined // use local timezone\n });\n let min = parseInt(formatter.formatToParts(new Date(2020, 2, 3, 0)).find((p)=>p.type === 'hour').value, 10);\n let max = parseInt(formatter.formatToParts(new Date(2020, 2, 3, 23)).find((p)=>p.type === 'hour').value, 10);\n if (min === 0 && max === 23) return 'h23';\n if (min === 24 && max === 23) return 'h24';\n if (min === 0 && max === 11) return 'h11';\n if (min === 12 && max === 11) return 'h12';\n throw new Error('Unexpected hour cycle result');\n}\n\n\nexport {$12a3c853105e5a70$export$ad991b66133851cf as DateFormatter};\n//# sourceMappingURL=DateFormatter.mjs.map\n","import {useDeepMemo as $9c268ab73a5d55e5$export$722debc0e56fea39} from \"../utils/useDeepMemo.mjs\";\nimport {useLocale as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7} from \"./I18nProvider.mjs\";\nimport {DateFormatter as $guoDu$DateFormatter} from \"@internationalized/date\";\nimport {useMemo as $guoDu$useMemo} from \"react\";\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\nfunction $60f33508b4cd9d3b$export$85fd5fdf27bacc79(options) {\n // Reuse last options object if it is shallowly equal, which allows the useMemo result to also be reused.\n options = (0, $9c268ab73a5d55e5$export$722debc0e56fea39)(options ?? {}, $60f33508b4cd9d3b$var$isEqual);\n let { locale: locale } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n return (0, $guoDu$useMemo)(()=>new (0, $guoDu$DateFormatter)(locale, options), [\n locale,\n options\n ]);\n}\nfunction $60f33508b4cd9d3b$var$isEqual(a, b) {\n if (a === b) return true;\n let aKeys = Object.keys(a);\n let bKeys = Object.keys(b);\n if (aKeys.length !== bKeys.length) return false;\n for (let key of aKeys){\n if (b[key] !== a[key]) return false;\n }\n return true;\n}\n\n\nexport {$60f33508b4cd9d3b$export$85fd5fdf27bacc79 as useDateFormatter};\n//# sourceMappingURL=useDateFormatter.mjs.map\n","import $4SBhA$intlStringsmjs from \"./intlStrings.mjs\";\nimport {useDateFormatter as $60f33508b4cd9d3b$export$85fd5fdf27bacc79} from \"../i18n/useDateFormatter.mjs\";\nimport {useLocalizedStringFormatter as $cf2482eff2eeeec2$export$f12b703ca79dfbb1} from \"../i18n/useLocalizedStringFormatter.mjs\";\nimport {isSameDay as $4SBhA$isSameDay, startOfMonth as $4SBhA$startOfMonth, endOfMonth as $4SBhA$endOfMonth} from \"@internationalized/date\";\nimport {useMemo as $4SBhA$useMemo} from \"react\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\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\nconst $9bac9bf03b87f160$export$653eddfc964b0f8a = new WeakMap();\nfunction $9bac9bf03b87f160$export$134cbb7fb09a9522(date) {\n return date?.calendar.identifier === 'gregory' && date.era === 'BC' ? 'short' : undefined;\n}\nfunction $9bac9bf03b87f160$export$b6df97c887c38e1a(state) {\n let stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($4SBhA$intlStringsmjs))), '@react-aria/calendar');\n let start, end;\n if ('highlightedRange' in state) ({ start: start, end: end } = state.highlightedRange || {});\n else start = end = state.value ?? undefined;\n let dateFormatter = (0, $60f33508b4cd9d3b$export$85fd5fdf27bacc79)({\n weekday: 'long',\n month: 'long',\n year: 'numeric',\n day: 'numeric',\n era: $9bac9bf03b87f160$export$134cbb7fb09a9522(start) || $9bac9bf03b87f160$export$134cbb7fb09a9522(end),\n timeZone: state.timeZone\n });\n let anchorDate = 'anchorDate' in state ? state.anchorDate : null;\n return (0, $4SBhA$useMemo)(()=>{\n // No message if currently selecting a range, or there is nothing highlighted.\n if (!anchorDate && start && end) {\n // Use a single date message if the start and end dates are the same day,\n // otherwise include both dates.\n if ((0, $4SBhA$isSameDay)(start, end)) {\n let date = dateFormatter.format(start.toDate(state.timeZone));\n return stringFormatter.format('selectedDateDescription', {\n date: date\n });\n } else {\n let dateRange = $9bac9bf03b87f160$var$formatRange(dateFormatter, stringFormatter, start, end, state.timeZone);\n return stringFormatter.format('selectedRangeDescription', {\n dateRange: dateRange\n });\n }\n }\n return '';\n }, [\n start,\n end,\n anchorDate,\n state.timeZone,\n stringFormatter,\n dateFormatter\n ]);\n}\nfunction $9bac9bf03b87f160$export$31afe65d91ef6e8(startDate, endDate, timeZone, isAria) {\n let stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($4SBhA$intlStringsmjs))), '@react-aria/calendar');\n let era = $9bac9bf03b87f160$export$134cbb7fb09a9522(startDate) || $9bac9bf03b87f160$export$134cbb7fb09a9522(endDate);\n let monthFormatter = (0, $60f33508b4cd9d3b$export$85fd5fdf27bacc79)({\n month: 'long',\n year: 'numeric',\n era: era,\n calendar: startDate.calendar.identifier,\n timeZone: timeZone\n });\n let dateFormatter = (0, $60f33508b4cd9d3b$export$85fd5fdf27bacc79)({\n month: 'long',\n year: 'numeric',\n day: 'numeric',\n era: era,\n calendar: startDate.calendar.identifier,\n timeZone: timeZone\n });\n return (0, $4SBhA$useMemo)(()=>{\n // Special case for month granularity. Format as a single month if only a\n // single month is visible, otherwise format as a range of months.\n if ((0, $4SBhA$isSameDay)(startDate, (0, $4SBhA$startOfMonth)(startDate))) {\n let startMonth = startDate;\n let endMonth = endDate;\n if (startDate.calendar.getFormattableMonth) startMonth = startDate.calendar.getFormattableMonth(startDate);\n if (endDate.calendar.getFormattableMonth) endMonth = endDate.calendar.getFormattableMonth(endDate);\n if ((0, $4SBhA$isSameDay)(endDate, (0, $4SBhA$endOfMonth)(startDate))) return monthFormatter.format(startMonth.toDate(timeZone));\n else if ((0, $4SBhA$isSameDay)(endDate, (0, $4SBhA$endOfMonth)(endDate))) return isAria ? $9bac9bf03b87f160$var$formatRange(monthFormatter, stringFormatter, startMonth, endMonth, timeZone) : monthFormatter.formatRange(startMonth.toDate(timeZone), endMonth.toDate(timeZone));\n }\n return isAria ? $9bac9bf03b87f160$var$formatRange(dateFormatter, stringFormatter, startDate, endDate, timeZone) : dateFormatter.formatRange(startDate.toDate(timeZone), endDate.toDate(timeZone));\n }, [\n startDate,\n endDate,\n monthFormatter,\n dateFormatter,\n stringFormatter,\n timeZone,\n isAria\n ]);\n}\nfunction $9bac9bf03b87f160$var$formatRange(dateFormatter, stringFormatter, start, end, timeZone) {\n let parts = dateFormatter.formatRangeToParts(start.toDate(timeZone), end.toDate(timeZone));\n // Find the separator between the start and end date. This is determined\n // by finding the last shared literal before the end range.\n let separatorIndex = -1;\n for(let i = 0; i < parts.length; i++){\n let part = parts[i];\n if (part.source === 'shared' && part.type === 'literal') separatorIndex = i;\n else if (part.source === 'endRange') break;\n }\n // Now we can combine the parts into start and end strings.\n let startValue = '';\n let endValue = '';\n for(let i = 0; i < parts.length; i++){\n if (i < separatorIndex) startValue += parts[i].value;\n else if (i > separatorIndex) endValue += parts[i].value;\n }\n return stringFormatter.format('dateRange', {\n startDate: startValue,\n endDate: endValue\n });\n}\n\n\nexport {$9bac9bf03b87f160$export$653eddfc964b0f8a as hookData, $9bac9bf03b87f160$export$134cbb7fb09a9522 as getEraFormat, $9bac9bf03b87f160$export$b6df97c887c38e1a as useSelectedDateDescription, $9bac9bf03b87f160$export$31afe65d91ef6e8 as useVisibleRangeDescription};\n//# sourceMappingURL=utils.mjs.map\n","import {useEffectEvent as $fe16bffc7a557bf0$export$7f54fc3180508a52} from \"./useEffectEvent.mjs\";\nimport {useRef as $iuQV4$useRef, useEffect as $iuQV4$useEffect} from \"react\";\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\nfunction $3c71b1595a147f24$export$496315a1608d9602(cb, dependencies) {\n const isInitialMount = (0, $iuQV4$useRef)(true);\n const lastDeps = (0, $iuQV4$useRef)(null);\n let cbEvent = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)(cb);\n (0, $iuQV4$useEffect)(()=>{\n isInitialMount.current = true;\n return ()=>{\n isInitialMount.current = false;\n };\n }, []);\n (0, $iuQV4$useEffect)(()=>{\n let prevDeps = lastDeps.current;\n if (isInitialMount.current) isInitialMount.current = false;\n else if (!prevDeps || dependencies.some((dep, i)=>!Object.is(dep, prevDeps[i]))) cbEvent();\n lastDeps.current = dependencies;\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, dependencies);\n}\n\n\nexport {$3c71b1595a147f24$export$496315a1608d9602 as useUpdateEffect};\n//# sourceMappingURL=useUpdateEffect.mjs.map\n","import {announce as $a46cf152bb926da5$export$a9b970dcc4ae71a9} from \"../live-announcer/LiveAnnouncer.mjs\";\nimport {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\nimport {hookData as $9bac9bf03b87f160$export$653eddfc964b0f8a, useSelectedDateDescription as $9bac9bf03b87f160$export$b6df97c887c38e1a, useVisibleRangeDescription as $9bac9bf03b87f160$export$31afe65d91ef6e8} from \"./utils.mjs\";\nimport $aPiNG$intlStringsmjs from \"./intlStrings.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useLabels as $e8ac3c3f5d4bae7f$export$d6875122194c7b44} from \"../utils/useLabels.mjs\";\nimport {useLocalizedStringFormatter as $cf2482eff2eeeec2$export$f12b703ca79dfbb1} from \"../i18n/useLocalizedStringFormatter.mjs\";\nimport {useSlotId as $390e54f620492c70$export$b4cc09c592e8fdb8} from \"../utils/useId.mjs\";\nimport {useUpdateEffect as $3c71b1595a147f24$export$496315a1608d9602} from \"../utils/useUpdateEffect.mjs\";\nimport {useState as $aPiNG$useState} from \"react\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\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\n\n\n\n\n\nfunction $4ca33167bdccdd26$export$d652b3ea2d672d5b(props, state) {\n let stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($aPiNG$intlStringsmjs))), '@react-aria/calendar');\n let domProps = (0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(props);\n let title = (0, $9bac9bf03b87f160$export$31afe65d91ef6e8)(state.visibleRange.start, state.visibleRange.end, state.timeZone, false);\n let visibleRangeDescription = (0, $9bac9bf03b87f160$export$31afe65d91ef6e8)(state.visibleRange.start, state.visibleRange.end, state.timeZone, true);\n // Announce when the visible date range changes\n (0, $3c71b1595a147f24$export$496315a1608d9602)(()=>{\n // only when pressing the Previous or Next button\n if (!state.isFocused) (0, $a46cf152bb926da5$export$a9b970dcc4ae71a9)(visibleRangeDescription);\n }, [\n visibleRangeDescription\n ]);\n // Announce when the selected value changes\n let selectedDateDescription = (0, $9bac9bf03b87f160$export$b6df97c887c38e1a)(state);\n (0, $3c71b1595a147f24$export$496315a1608d9602)(()=>{\n if (selectedDateDescription) (0, $a46cf152bb926da5$export$a9b970dcc4ae71a9)(selectedDateDescription, 'polite', 4000);\n // handle an update to the caption that describes the currently selected range, to announce the new value\n }, [\n selectedDateDescription\n ]);\n let errorMessageId = (0, $390e54f620492c70$export$b4cc09c592e8fdb8)([\n Boolean(props.errorMessage),\n props.isInvalid,\n props.validationState\n ]);\n // Pass the label to the child grid elements.\n (0, $9bac9bf03b87f160$export$653eddfc964b0f8a).set(state, {\n ariaLabel: props['aria-label'],\n ariaLabelledBy: props['aria-labelledby'],\n errorMessageId: errorMessageId,\n selectedDateDescription: selectedDateDescription\n });\n // If the next or previous buttons become disabled while they are focused, move focus to the calendar body.\n let [nextFocused, setNextFocused] = (0, $aPiNG$useState)(false);\n let nextDisabled = props.isDisabled || state.isNextVisibleRangeInvalid();\n if (nextDisabled && nextFocused) {\n setNextFocused(false);\n state.setFocused(true);\n }\n let [previousFocused, setPreviousFocused] = (0, $aPiNG$useState)(false);\n let previousDisabled = props.isDisabled || state.isPreviousVisibleRangeInvalid();\n if (previousDisabled && previousFocused) {\n setPreviousFocused(false);\n state.setFocused(true);\n }\n let labelProps = (0, $e8ac3c3f5d4bae7f$export$d6875122194c7b44)({\n id: props['id'],\n 'aria-label': [\n props['aria-label'],\n visibleRangeDescription\n ].filter(Boolean).join(', '),\n 'aria-labelledby': props['aria-labelledby']\n });\n return {\n calendarProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(domProps, labelProps, {\n role: 'application',\n 'aria-details': props['aria-details'] || undefined,\n 'aria-describedby': props['aria-describedby'] || undefined\n }),\n nextButtonProps: {\n onPress: ()=>state.focusNextPage(),\n 'aria-label': stringFormatter.format('next'),\n isDisabled: nextDisabled,\n onFocusChange: setNextFocused\n },\n prevButtonProps: {\n onPress: ()=>state.focusPreviousPage(),\n 'aria-label': stringFormatter.format('previous'),\n isDisabled: previousDisabled,\n onFocusChange: setPreviousFocused\n },\n errorMessageProps: {\n id: errorMessageId\n },\n title: title\n };\n}\n\n\nexport {$4ca33167bdccdd26$export$d652b3ea2d672d5b as useCalendarBase};\n//# sourceMappingURL=useCalendarBase.mjs.map\n","import {useCalendarBase as $4ca33167bdccdd26$export$d652b3ea2d672d5b} from \"./useCalendarBase.mjs\";\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 $a1efc3efb5426bf7$export$3ee915f8151bd4f1(props, state) {\n return (0, $4ca33167bdccdd26$export$d652b3ea2d672d5b)(props, state);\n}\n\n\nexport {$a1efc3efb5426bf7$export$3ee915f8151bd4f1 as useCalendar};\n//# sourceMappingURL=useCalendar.mjs.map\n","import {hookData as $9bac9bf03b87f160$export$653eddfc964b0f8a, useVisibleRangeDescription as $9bac9bf03b87f160$export$31afe65d91ef6e8} from \"./utils.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useDateFormatter as $60f33508b4cd9d3b$export$85fd5fdf27bacc79} from \"../i18n/useDateFormatter.mjs\";\nimport {useLabels as $e8ac3c3f5d4bae7f$export$d6875122194c7b44} from \"../utils/useLabels.mjs\";\nimport {useLocale as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7} from \"../i18n/I18nProvider.mjs\";\nimport {startOfWeek as $aLm0I$startOfWeek, today as $aLm0I$today, getWeeksInMonth as $aLm0I$getWeeksInMonth} from \"@internationalized/date\";\nimport {useMemo as $aLm0I$useMemo} from \"react\";\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\n\n\nfunction $2d54ee2ec11ddab8$export$cb95147730a423f5(props, state) {\n let { startDate: startDate = state.visibleRange.start, endDate: endDate = state.visibleRange.end, firstDayOfWeek: firstDayOfWeek } = props;\n let { direction: direction } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n let onKeyDown = (e)=>{\n switch(e.key){\n case 'Enter':\n case ' ':\n e.preventDefault();\n state.selectFocusedDate();\n break;\n case 'PageUp':\n e.preventDefault();\n e.stopPropagation();\n state.focusPreviousSection(e.shiftKey);\n break;\n case 'PageDown':\n e.preventDefault();\n e.stopPropagation();\n state.focusNextSection(e.shiftKey);\n break;\n case 'End':\n e.preventDefault();\n e.stopPropagation();\n state.focusSectionEnd();\n break;\n case 'Home':\n e.preventDefault();\n e.stopPropagation();\n state.focusSectionStart();\n break;\n case 'ArrowLeft':\n e.preventDefault();\n e.stopPropagation();\n if (direction === 'rtl') state.focusNextDay();\n else state.focusPreviousDay();\n break;\n case 'ArrowUp':\n e.preventDefault();\n e.stopPropagation();\n state.focusPreviousRow();\n break;\n case 'ArrowRight':\n e.preventDefault();\n e.stopPropagation();\n if (direction === 'rtl') state.focusPreviousDay();\n else state.focusNextDay();\n break;\n case 'ArrowDown':\n e.preventDefault();\n e.stopPropagation();\n state.focusNextRow();\n break;\n case 'Escape':\n // Cancel the selection.\n if ('setAnchorDate' in state) {\n e.preventDefault();\n state.setAnchorDate(null);\n }\n break;\n }\n };\n let visibleRangeDescription = (0, $9bac9bf03b87f160$export$31afe65d91ef6e8)(startDate, endDate, state.timeZone, true);\n let { ariaLabel: ariaLabel, ariaLabelledBy: ariaLabelledBy } = (0, $9bac9bf03b87f160$export$653eddfc964b0f8a).get(state);\n let labelProps = (0, $e8ac3c3f5d4bae7f$export$d6875122194c7b44)({\n 'aria-label': [\n ariaLabel,\n visibleRangeDescription\n ].filter(Boolean).join(', '),\n 'aria-labelledby': ariaLabelledBy\n });\n let dayFormatter = (0, $60f33508b4cd9d3b$export$85fd5fdf27bacc79)({\n weekday: props.weekdayStyle || 'narrow',\n timeZone: state.timeZone\n });\n let { locale: locale } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n let weekDays = (0, $aLm0I$useMemo)(()=>{\n let weekStart = (0, $aLm0I$startOfWeek)((0, $aLm0I$today)(state.timeZone), locale, firstDayOfWeek);\n return [\n ...new Array(7).keys()\n ].map((index)=>{\n let date = weekStart.add({\n days: index\n });\n let dateDay = date.toDate(state.timeZone);\n return dayFormatter.format(dateDay);\n });\n }, [\n locale,\n state.timeZone,\n dayFormatter,\n firstDayOfWeek\n ]);\n let weeksInMonth = (0, $aLm0I$getWeeksInMonth)(startDate, locale, firstDayOfWeek);\n return {\n gridProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(labelProps, {\n role: 'grid',\n 'aria-readonly': state.isReadOnly || undefined,\n 'aria-disabled': state.isDisabled || undefined,\n 'aria-multiselectable': 'highlightedRange' in state || undefined,\n onKeyDown: onKeyDown,\n onFocus: ()=>state.setFocused(true),\n onBlur: ()=>state.setFocused(false)\n }),\n headerProps: {\n // Column headers are hidden to screen readers to make navigating with a touch screen reader easier.\n // The day names are already included in the label of each cell, so there's no need to announce them twice.\n 'aria-hidden': true\n },\n weekDays: weekDays,\n weeksInMonth: weeksInMonth\n };\n}\n\n\nexport {$2d54ee2ec11ddab8$export$cb95147730a423f5 as useCalendarGrid};\n//# sourceMappingURL=useCalendarGrid.mjs.map\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 */ function $901761b40e390936$export$2bb74740c4e19def(node, checkForOverflow) {\n if (!node) return false;\n let style = window.getComputedStyle(node);\n let root = document.scrollingElement || document.documentElement;\n let isScrollable = /(auto|scroll)/.test(style.overflow + style.overflowX + style.overflowY);\n // Root element has `visible` overflow by default, but is scrollable nonetheless.\n if (node === root && style.overflow !== 'hidden') isScrollable = true;\n if (isScrollable && checkForOverflow) isScrollable = node.scrollHeight !== node.clientHeight || node.scrollWidth !== node.clientWidth;\n return isScrollable;\n}\n\n\nexport {$901761b40e390936$export$2bb74740c4e19def as isScrollable};\n//# sourceMappingURL=isScrollable.mjs.map\n","import {isScrollable as $901761b40e390936$export$2bb74740c4e19def} from \"./isScrollable.mjs\";\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 $3578607fe3d4b096$export$cfa2225e87938781(node, checkForOverflow) {\n let scrollableNode = node;\n if ((0, $901761b40e390936$export$2bb74740c4e19def)(scrollableNode, checkForOverflow)) scrollableNode = scrollableNode.parentElement;\n while(scrollableNode && !(0, $901761b40e390936$export$2bb74740c4e19def)(scrollableNode, checkForOverflow))scrollableNode = scrollableNode.parentElement;\n return scrollableNode || document.scrollingElement || document.documentElement;\n}\n\n\nexport {$3578607fe3d4b096$export$cfa2225e87938781 as getScrollParent};\n//# sourceMappingURL=getScrollParent.mjs.map\n","import {isScrollable as $901761b40e390936$export$2bb74740c4e19def} from \"./isScrollable.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 */ \nfunction $76d97191f0f90600$export$94ed1c92c7beeb22(node, checkForOverflow) {\n let parentElements = [];\n let root = document.scrollingElement || document.documentElement;\n do {\n if ((0, $901761b40e390936$export$2bb74740c4e19def)(node, checkForOverflow)) parentElements.push(node);\n node = node.parentElement;\n }while (node && node !== root);\n return parentElements;\n}\n\n\nexport {$76d97191f0f90600$export$94ed1c92c7beeb22 as getScrollParents};\n//# sourceMappingURL=getScrollParents.mjs.map\n","import {getScrollParents as $76d97191f0f90600$export$94ed1c92c7beeb22} from \"./getScrollParents.mjs\";\nimport {isIOS as $2add3ce32c6007eb$export$fedb369cb70207f1} from \"./platform.mjs\";\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\nfunction $51a3e22a5186a962$export$53a0910f038337bd(scrollView, element, opts = {}) {\n let { block: block = 'nearest', inline: inline = 'nearest' } = opts;\n if (scrollView === element) return;\n let y = scrollView.scrollTop;\n let x = scrollView.scrollLeft;\n let target = element.getBoundingClientRect();\n let view = scrollView.getBoundingClientRect();\n let itemStyle = window.getComputedStyle(element);\n let viewStyle = window.getComputedStyle(scrollView);\n let root = document.scrollingElement || document.documentElement;\n let viewTop = scrollView === root ? 0 : view.top;\n let viewBottom = scrollView === root ? scrollView.clientHeight : view.bottom;\n let viewLeft = scrollView === root ? 0 : view.left;\n let viewRight = scrollView === root ? scrollView.clientWidth : view.right;\n let scrollMarginTop = parseInt(itemStyle.scrollMarginTop, 10) || 0;\n let scrollMarginBottom = parseInt(itemStyle.scrollMarginBottom, 10) || 0;\n let scrollMarginLeft = parseInt(itemStyle.scrollMarginLeft, 10) || 0;\n let scrollMarginRight = parseInt(itemStyle.scrollMarginRight, 10) || 0;\n let scrollPaddingTop = parseInt(viewStyle.scrollPaddingTop, 10) || 0;\n let scrollPaddingBottom = parseInt(viewStyle.scrollPaddingBottom, 10) || 0;\n let scrollPaddingLeft = parseInt(viewStyle.scrollPaddingLeft, 10) || 0;\n let scrollPaddingRight = parseInt(viewStyle.scrollPaddingRight, 10) || 0;\n let borderTopWidth = parseInt(viewStyle.borderTopWidth, 10) || 0;\n let borderBottomWidth = parseInt(viewStyle.borderBottomWidth, 10) || 0;\n let borderLeftWidth = parseInt(viewStyle.borderLeftWidth, 10) || 0;\n let borderRightWidth = parseInt(viewStyle.borderRightWidth, 10) || 0;\n let scrollAreaTop = target.top - scrollMarginTop;\n let scrollAreaBottom = target.bottom + scrollMarginBottom;\n let scrollAreaLeft = target.left - scrollMarginLeft;\n let scrollAreaRight = target.right + scrollMarginRight;\n let scrollBarOffsetX = scrollView === root ? 0 : borderLeftWidth + borderRightWidth;\n let scrollBarOffsetY = scrollView === root ? 0 : borderTopWidth + borderBottomWidth;\n let scrollBarWidth = scrollView.offsetWidth - scrollView.clientWidth - scrollBarOffsetX;\n let scrollBarHeight = scrollView.offsetHeight - scrollView.clientHeight - scrollBarOffsetY;\n let scrollPortTop = viewTop + borderTopWidth + scrollPaddingTop;\n let scrollPortBottom = viewBottom - borderBottomWidth - scrollPaddingBottom - scrollBarHeight;\n let scrollPortLeft = viewLeft + borderLeftWidth + scrollPaddingLeft;\n let scrollPortRight = viewRight - borderRightWidth - scrollPaddingRight;\n // IOS always positions the scrollbar on the right ¯\\_(ツ)_/¯\n if (viewStyle.direction === 'rtl' && !(0, $2add3ce32c6007eb$export$fedb369cb70207f1)()) scrollPortLeft += scrollBarWidth;\n else scrollPortRight -= scrollBarWidth;\n let shouldScrollBlock = scrollAreaTop < scrollPortTop || scrollAreaBottom > scrollPortBottom;\n let shouldScrollInline = scrollAreaLeft < scrollPortLeft || scrollAreaRight > scrollPortRight;\n if (shouldScrollBlock && block === 'start') y += scrollAreaTop - scrollPortTop;\n else if (shouldScrollBlock && block === 'center') y += (scrollAreaTop + scrollAreaBottom) / 2 - (scrollPortTop + scrollPortBottom) / 2;\n else if (shouldScrollBlock && block === 'end') y += scrollAreaBottom - scrollPortBottom;\n else if (shouldScrollBlock && block === 'nearest') {\n let start = scrollAreaTop - scrollPortTop;\n let end = scrollAreaBottom - scrollPortBottom;\n y += Math.abs(start) <= Math.abs(end) ? start : end;\n }\n if (shouldScrollInline && inline === 'start') x += scrollAreaLeft - scrollPortLeft;\n else if (shouldScrollInline && inline === 'center') x += (scrollAreaLeft + scrollAreaRight) / 2 - (scrollPortLeft + scrollPortRight) / 2;\n else if (shouldScrollInline && inline === 'end') x += scrollAreaRight - scrollPortRight;\n else if (shouldScrollInline && inline === 'nearest') {\n let start = scrollAreaLeft - scrollPortLeft;\n let end = scrollAreaRight - scrollPortRight;\n x += Math.abs(start) <= Math.abs(end) ? start : end;\n }\n if (process.env.NODE_ENV === 'test') {\n scrollView.scrollLeft = x;\n scrollView.scrollTop = y;\n return;\n }\n scrollView.scrollTo({\n left: x,\n top: y\n });\n}\nfunction $51a3e22a5186a962$export$c826860796309d1b(targetElement, opts = {}) {\n let { containingElement: containingElement } = opts;\n if (targetElement && targetElement.isConnected) {\n let root = document.scrollingElement || document.documentElement;\n let isScrollPrevented = window.getComputedStyle(root).overflow === 'hidden';\n if (!isScrollPrevented) {\n let { left: originalLeft, top: originalTop } = targetElement.getBoundingClientRect();\n // use scrollIntoView({block: 'nearest'}) instead of .focus to check if the element is fully in view or not since .focus()\n // won't cause a scroll if the element is already focused and doesn't behave consistently when an element is partially out of view horizontally vs vertically\n targetElement?.scrollIntoView?.({\n block: 'nearest'\n });\n let { left: newLeft, top: newTop } = targetElement.getBoundingClientRect();\n // Account for sub pixel differences from rounding\n if (Math.abs(originalLeft - newLeft) > 1 || Math.abs(originalTop - newTop) > 1) {\n containingElement?.scrollIntoView?.({\n block: 'center',\n inline: 'center'\n });\n targetElement.scrollIntoView?.({\n block: 'nearest'\n });\n }\n } else {\n let { left: originalLeft, top: originalTop } = targetElement.getBoundingClientRect();\n // If scrolling is prevented, we don't want to scroll the body since it might move the overlay partially offscreen and the user can't scroll it back into view.\n let scrollParents = (0, $76d97191f0f90600$export$94ed1c92c7beeb22)(targetElement, true);\n for (let scrollParent of scrollParents)$51a3e22a5186a962$export$53a0910f038337bd(scrollParent, targetElement);\n let { left: newLeft, top: newTop } = targetElement.getBoundingClientRect();\n // Account for sub pixel differences from rounding\n if (Math.abs(originalLeft - newLeft) > 1 || Math.abs(originalTop - newTop) > 1) {\n scrollParents = containingElement ? (0, $76d97191f0f90600$export$94ed1c92c7beeb22)(containingElement, true) : [];\n for (let scrollParent of scrollParents)$51a3e22a5186a962$export$53a0910f038337bd(scrollParent, containingElement, {\n block: 'center',\n inline: 'center'\n });\n }\n }\n }\n}\n\n\nexport {$51a3e22a5186a962$export$53a0910f038337bd as scrollIntoView, $51a3e22a5186a962$export$c826860796309d1b as scrollIntoViewport};\n//# sourceMappingURL=scrollIntoView.mjs.map\n","import {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useState as $4UXHm$useState} from \"react\";\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\nlet $121970af65029459$var$descriptionId = 0;\nconst $121970af65029459$var$descriptionNodes = new Map();\nfunction $121970af65029459$export$f8aeda7b10753fa1(description) {\n let [id, setId] = (0, $4UXHm$useState)();\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n if (!description) return;\n let desc = $121970af65029459$var$descriptionNodes.get(description);\n if (!desc) {\n let id = `react-aria-description-${$121970af65029459$var$descriptionId++}`;\n setId(id);\n let node = document.createElement('div');\n node.id = id;\n node.style.display = 'none';\n node.textContent = description;\n document.body.appendChild(node);\n desc = {\n refCount: 0,\n element: node\n };\n $121970af65029459$var$descriptionNodes.set(description, desc);\n } else setId(desc.element.id);\n desc.refCount++;\n return ()=>{\n if (desc && --desc.refCount === 0) {\n desc.element.remove();\n $121970af65029459$var$descriptionNodes.delete(description);\n }\n };\n }, [\n description\n ]);\n return {\n 'aria-describedby': description ? id : undefined\n };\n}\n\n\nexport {$121970af65029459$export$f8aeda7b10753fa1 as useDescription};\n//# sourceMappingURL=useDescription.mjs.map\n","import {focusWithoutScrolling as $1969ac565cfec8d0$export$de79e2c695e052f3} from \"../utils/focusWithoutScrolling.mjs\";\nimport {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576, getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getEraFormat as $9bac9bf03b87f160$export$134cbb7fb09a9522, hookData as $9bac9bf03b87f160$export$653eddfc964b0f8a} from \"./utils.mjs\";\nimport {getInteractionModality as $8f5a2122b0992be3$export$630ff653c5ada6a9} from \"../interactions/useFocusVisible.mjs\";\nimport {getScrollParent as $3578607fe3d4b096$export$cfa2225e87938781} from \"../utils/getScrollParent.mjs\";\nimport $8nrHP$intlStringsmjs from \"./intlStrings.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {scrollIntoViewport as $51a3e22a5186a962$export$c826860796309d1b} from \"../utils/scrollIntoView.mjs\";\nimport {useDateFormatter as $60f33508b4cd9d3b$export$85fd5fdf27bacc79} from \"../i18n/useDateFormatter.mjs\";\nimport {useDeepMemo as $9c268ab73a5d55e5$export$722debc0e56fea39} from \"../utils/useDeepMemo.mjs\";\nimport {useDescription as $121970af65029459$export$f8aeda7b10753fa1} from \"../utils/useDescription.mjs\";\nimport {useLocalizedStringFormatter as $cf2482eff2eeeec2$export$f12b703ca79dfbb1} from \"../i18n/useLocalizedStringFormatter.mjs\";\nimport {usePress as $d27d541f9569d26d$export$45712eceda6fad21} from \"../interactions/usePress.mjs\";\nimport {isSameDay as $8nrHP$isSameDay, isEqualDay as $8nrHP$isEqualDay, isToday as $8nrHP$isToday} from \"@internationalized/date\";\nimport {useMemo as $8nrHP$useMemo, useRef as $8nrHP$useRef, useEffect as $8nrHP$useEffect} from \"react\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\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\n\n\n\n\n\n\n\n\n\n\nfunction $be61a22f9aa88c7c$export$136073280381448e(props, state, ref) {\n let { date: date, isDisabled: isDisabled } = props;\n let { errorMessageId: errorMessageId, selectedDateDescription: selectedDateDescription } = (0, $9bac9bf03b87f160$export$653eddfc964b0f8a).get(state);\n let stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($8nrHP$intlStringsmjs))), '@react-aria/calendar');\n let dateFormatter = (0, $60f33508b4cd9d3b$export$85fd5fdf27bacc79)({\n weekday: 'long',\n day: 'numeric',\n month: 'long',\n year: 'numeric',\n era: (0, $9bac9bf03b87f160$export$134cbb7fb09a9522)(date),\n timeZone: state.timeZone\n });\n let isSelected = state.isSelected(date);\n let isFocused = state.isCellFocused(date) && !props.isOutsideMonth;\n isDisabled = isDisabled || state.isCellDisabled(date);\n let isUnavailable = state.isCellUnavailable(date);\n let isSelectable = !isDisabled && !isUnavailable;\n let isInvalid = state.isValueInvalid && Boolean('highlightedRange' in state ? !state.anchorDate && state.highlightedRange && date.compare(state.highlightedRange.start) >= 0 && date.compare(state.highlightedRange.end) <= 0 : state.value && (0, $8nrHP$isSameDay)(state.value, date));\n if (isInvalid) isSelected = true;\n // For performance, reuse the same date object as before if the new date prop is the same.\n // This allows subsequent useMemo results to be reused.\n date = (0, $9c268ab73a5d55e5$export$722debc0e56fea39)(date, (0, $8nrHP$isEqualDay));\n let nativeDate = (0, $8nrHP$useMemo)(()=>date.toDate(state.timeZone), [\n date,\n state.timeZone\n ]);\n // aria-label should be localize Day of week, Month, Day and Year without Time.\n let isDateToday = (0, $8nrHP$isToday)(date, state.timeZone);\n let label = (0, $8nrHP$useMemo)(()=>{\n let label = '';\n // If this is a range calendar, add a description of the full selected range\n // to the first and last selected date.\n if ('highlightedRange' in state && state.value && !state.anchorDate && ((0, $8nrHP$isSameDay)(date, state.value.start) || (0, $8nrHP$isSameDay)(date, state.value.end))) label = selectedDateDescription + ', ';\n label += dateFormatter.format(nativeDate);\n if (isDateToday) // If date is today, set appropriate string depending on selected state:\n label = stringFormatter.format(isSelected ? 'todayDateSelected' : 'todayDate', {\n date: label\n });\n else if (isSelected) // If date is selected but not today:\n label = stringFormatter.format('dateSelected', {\n date: label\n });\n if (state.minValue && (0, $8nrHP$isSameDay)(date, state.minValue)) label += ', ' + stringFormatter.format('minimumDate');\n else if (state.maxValue && (0, $8nrHP$isSameDay)(date, state.maxValue)) label += ', ' + stringFormatter.format('maximumDate');\n return label;\n }, [\n dateFormatter,\n nativeDate,\n stringFormatter,\n isSelected,\n isDateToday,\n date,\n state,\n selectedDateDescription\n ]);\n // When a cell is focused and this is a range calendar, add a prompt to help\n // screenreader users know that they are in a range selection mode.\n let rangeSelectionPrompt = '';\n if ('anchorDate' in state && isFocused && !state.isReadOnly && isSelectable) {\n // If selection has started add \"click to finish selecting range\"\n if (state.anchorDate) rangeSelectionPrompt = stringFormatter.format('finishRangeSelectionPrompt');\n else rangeSelectionPrompt = stringFormatter.format('startRangeSelectionPrompt');\n }\n let descriptionProps = (0, $121970af65029459$export$f8aeda7b10753fa1)(rangeSelectionPrompt);\n let isAnchorPressed = (0, $8nrHP$useRef)(false);\n let isRangeBoundaryPressed = (0, $8nrHP$useRef)(false);\n let touchDragTimerRef = (0, $8nrHP$useRef)(undefined);\n let { pressProps: pressProps, isPressed: isPressed } = (0, $d27d541f9569d26d$export$45712eceda6fad21)({\n // When dragging to select a range, we don't want dragging over the original anchor\n // again to trigger onPressStart. Cancel presses immediately when the pointer exits.\n shouldCancelOnPointerExit: 'anchorDate' in state && !!state.anchorDate,\n preventFocusOnPress: true,\n isDisabled: !isSelectable || state.isReadOnly,\n onPressStart (e) {\n if (state.isReadOnly) {\n state.setFocusedDate(date);\n state.setFocused(true);\n return;\n }\n if ('highlightedRange' in state && !state.anchorDate && (e.pointerType === 'mouse' || e.pointerType === 'touch')) {\n // Allow dragging the start or end date of a range to modify it\n // rather than starting a new selection.\n // Don't allow dragging when invalid, or weird jumping behavior may occur as date ranges\n // are constrained to available dates. The user will need to select a new range in this case.\n if (state.highlightedRange && !isInvalid) {\n if ((0, $8nrHP$isSameDay)(date, state.highlightedRange.start)) {\n state.setAnchorDate(state.highlightedRange.end);\n state.setFocusedDate(date);\n state.setFocused(true);\n state.setDragging(true);\n isRangeBoundaryPressed.current = true;\n return;\n } else if ((0, $8nrHP$isSameDay)(date, state.highlightedRange.end)) {\n state.setAnchorDate(state.highlightedRange.start);\n state.setFocusedDate(date);\n state.setFocused(true);\n state.setDragging(true);\n isRangeBoundaryPressed.current = true;\n return;\n }\n }\n let startDragging = ()=>{\n state.setDragging(true);\n touchDragTimerRef.current = undefined;\n state.selectDate(date);\n state.setFocusedDate(date);\n state.setFocused(true);\n isAnchorPressed.current = true;\n };\n // Start selection on mouse/touch down so users can drag to select a range.\n // On touch, delay dragging to determine if the user really meant to scroll.\n if (e.pointerType === 'touch') touchDragTimerRef.current = setTimeout(startDragging, 200);\n else startDragging();\n }\n },\n onPressEnd () {\n isRangeBoundaryPressed.current = false;\n isAnchorPressed.current = false;\n clearTimeout(touchDragTimerRef.current);\n touchDragTimerRef.current = undefined;\n },\n onPress () {\n // For non-range selection, always select on press up.\n if (!('anchorDate' in state) && !state.isReadOnly) {\n state.selectDate(date);\n state.setFocusedDate(date);\n state.setFocused(true);\n }\n },\n onPressUp (e) {\n if (state.isReadOnly) return;\n // If the user tapped quickly, the date won't be selected yet and the\n // timer will still be in progress. In this case, select the date on touch up.\n // Timer is cleared in onPressEnd.\n if ('anchorDate' in state && touchDragTimerRef.current) {\n state.selectDate(date);\n state.setFocusedDate(date);\n state.setFocused(true);\n }\n if ('anchorDate' in state) {\n if (isRangeBoundaryPressed.current) // When clicking on the start or end date of an already selected range,\n // start a new selection on press up to also allow dragging the date to\n // change the existing range.\n state.setAnchorDate(date);\n else if (state.anchorDate && !isAnchorPressed.current) {\n // When releasing a drag or pressing the end date of a range, select it.\n state.selectDate(date);\n state.setFocusedDate(date);\n state.setFocused(true);\n } else if (e.pointerType === 'keyboard' && !state.anchorDate) {\n // For range selection, auto-advance the focused date by one if using keyboard.\n // This gives an indication that you're selecting a range rather than a single date.\n // For mouse, this is unnecessary because users will see the indication on hover. For screen readers,\n // there will be an announcement to \"click to finish selecting range\" (above).\n state.selectDate(date);\n let nextDay = date.add({\n days: 1\n });\n if (state.isInvalid(nextDay)) nextDay = date.subtract({\n days: 1\n });\n if (!state.isInvalid(nextDay)) {\n state.setFocusedDate(nextDay);\n state.setFocused(true);\n }\n } else if (e.pointerType === 'virtual') {\n // For screen readers, just select the date on click.\n state.selectDate(date);\n state.setFocusedDate(date);\n state.setFocused(true);\n }\n }\n }\n });\n let tabIndex = undefined;\n if (!isDisabled) tabIndex = (0, $8nrHP$isSameDay)(date, state.focusedDate) ? 0 : -1;\n // Focus the button in the DOM when the state updates.\n (0, $8nrHP$useEffect)(()=>{\n if (isFocused && ref.current) {\n (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(ref.current);\n // Scroll into view if navigating with a keyboard, otherwise\n // try not to shift the view under the user's mouse/finger.\n // If in a overlay, scrollIntoViewport will only cause scrolling\n // up to the overlay scroll body to prevent overlay shifting.\n // Also only scroll into view if the cell actually got focused.\n // There are some cases where the cell might be disabled or inside,\n // an inert container and we don't want to scroll then.\n if ((0, $8f5a2122b0992be3$export$630ff653c5ada6a9)() !== 'pointer' && (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)() === ref.current) (0, $51a3e22a5186a962$export$c826860796309d1b)(ref.current, {\n containingElement: (0, $3578607fe3d4b096$export$cfa2225e87938781)(ref.current)\n });\n }\n }, [\n isFocused,\n ref\n ]);\n let cellDateFormatter = (0, $60f33508b4cd9d3b$export$85fd5fdf27bacc79)({\n day: 'numeric',\n timeZone: state.timeZone,\n calendar: date.calendar.identifier\n });\n let formattedDate = (0, $8nrHP$useMemo)(()=>cellDateFormatter.formatToParts(nativeDate).find((part)=>part.type === 'day').value, [\n cellDateFormatter,\n nativeDate\n ]);\n return {\n cellProps: {\n role: 'gridcell',\n 'aria-disabled': !isSelectable || undefined,\n 'aria-selected': isSelected || undefined,\n 'aria-invalid': isInvalid || undefined\n },\n buttonProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(pressProps, {\n onFocus () {\n if (!isDisabled) {\n state.setFocusedDate(date);\n state.setFocused(true);\n }\n },\n tabIndex: tabIndex,\n role: 'button',\n 'aria-disabled': !isSelectable || undefined,\n 'aria-label': label,\n 'aria-invalid': isInvalid || undefined,\n 'aria-describedby': [\n isInvalid ? errorMessageId : undefined,\n descriptionProps['aria-describedby']\n ].filter(Boolean).join(' ') || undefined,\n onPointerEnter (e) {\n // Highlight the date on hover or drag over a date when selecting a range.\n if ('highlightDate' in state && (e.pointerType !== 'touch' || state.isDragging) && isSelectable) state.highlightDate(date);\n },\n onPointerDown (e) {\n // This is necessary on touch devices to allow dragging\n // outside the original pressed element.\n // (JSDOM does not support this)\n let target = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n if (target instanceof HTMLElement && 'releasePointerCapture' in target) {\n if ('hasPointerCapture' in target) {\n if (target.hasPointerCapture(e.pointerId)) target.releasePointerCapture(e.pointerId);\n } else target.releasePointerCapture(e.pointerId);\n }\n },\n onContextMenu (e) {\n // Prevent context menu on long press.\n e.preventDefault();\n }\n }),\n isPressed: isPressed,\n isFocused: isFocused,\n isSelected: isSelected,\n isDisabled: isDisabled,\n isUnavailable: isUnavailable,\n isOutsideVisibleRange: date.compare(state.visibleRange.start) < 0 || date.compare(state.visibleRange.end) > 0,\n isInvalid: isInvalid,\n formattedDate: formattedDate\n };\n}\n\n\nexport {$be61a22f9aa88c7c$export$136073280381448e as useCalendarCell};\n//# sourceMappingURL=useCalendarCell.mjs.map\n","import {startOfYear as $ijDZM$startOfYear, startOfMonth as $ijDZM$startOfMonth, startOfWeek as $ijDZM$startOfWeek, maxDate as $ijDZM$maxDate, toCalendarDate as $ijDZM$toCalendarDate, minDate as $ijDZM$minDate} from \"@internationalized/date\";\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 $dd602d3c757202f2$export$eac50920cf2fd59a(date, minValue, maxValue) {\n return minValue != null && date.compare(minValue) < 0 || maxValue != null && date.compare(maxValue) > 0;\n}\nfunction $dd602d3c757202f2$export$f4a51ff076cc9a09(date, duration, locale, minValue, maxValue) {\n let halfDuration = {};\n for(let key in duration){\n halfDuration[key] = Math.floor(duration[key] / 2);\n if (halfDuration[key] > 0 && duration[key] % 2 === 0) halfDuration[key]--;\n }\n let aligned = $dd602d3c757202f2$export$144a00ba6044eb9(date, duration, locale).subtract(halfDuration);\n return $dd602d3c757202f2$export$5bb865b12696a77d(date, aligned, duration, locale, minValue, maxValue);\n}\nfunction $dd602d3c757202f2$export$144a00ba6044eb9(date, duration, locale, minValue, maxValue) {\n // align to the start of the largest unit\n let aligned = date;\n if (duration.years) aligned = (0, $ijDZM$startOfYear)(date);\n else if (duration.months) aligned = (0, $ijDZM$startOfMonth)(date);\n else if (duration.weeks) aligned = (0, $ijDZM$startOfWeek)(date, locale);\n return $dd602d3c757202f2$export$5bb865b12696a77d(date, aligned, duration, locale, minValue, maxValue);\n}\nfunction $dd602d3c757202f2$export$530edbfc915b2b04(date, duration, locale, minValue, maxValue) {\n let d = {\n ...duration\n };\n // subtract 1 from the smallest unit\n if (d.days) d.days--;\n else if (d.weeks) d.weeks--;\n else if (d.months) d.months--;\n else if (d.years) d.years--;\n let aligned = $dd602d3c757202f2$export$144a00ba6044eb9(date, duration, locale).subtract(d);\n return $dd602d3c757202f2$export$5bb865b12696a77d(date, aligned, duration, locale, minValue, maxValue);\n}\nfunction $dd602d3c757202f2$export$5bb865b12696a77d(date, aligned, duration, locale, minValue, maxValue) {\n if (minValue && date.compare(minValue) >= 0) {\n let newDate = (0, $ijDZM$maxDate)(aligned, $dd602d3c757202f2$export$144a00ba6044eb9((0, $ijDZM$toCalendarDate)(minValue), duration, locale));\n if (newDate) aligned = newDate;\n }\n if (maxValue && date.compare(maxValue) <= 0) {\n let newDate = (0, $ijDZM$minDate)(aligned, $dd602d3c757202f2$export$530edbfc915b2b04((0, $ijDZM$toCalendarDate)(maxValue), duration, locale));\n if (newDate) aligned = newDate;\n }\n return aligned;\n}\nfunction $dd602d3c757202f2$export$4f5203c0d889109e(date, minValue, maxValue) {\n if (minValue) {\n let newDate = (0, $ijDZM$maxDate)(date, (0, $ijDZM$toCalendarDate)(minValue));\n if (newDate) date = newDate;\n }\n if (maxValue) {\n let newDate = (0, $ijDZM$minDate)(date, (0, $ijDZM$toCalendarDate)(maxValue));\n if (newDate) date = newDate;\n }\n return date;\n}\nfunction $dd602d3c757202f2$export$a1d3911297b952d7(date, minValue, isDateUnavailable) {\n if (!isDateUnavailable) return date;\n while(date.compare(minValue) >= 0 && isDateUnavailable(date))date = date.subtract({\n days: 1\n });\n if (date.compare(minValue) >= 0) return date;\n return null;\n}\n\n\nexport {$dd602d3c757202f2$export$eac50920cf2fd59a as isInvalid, $dd602d3c757202f2$export$f4a51ff076cc9a09 as alignCenter, $dd602d3c757202f2$export$144a00ba6044eb9 as alignStart, $dd602d3c757202f2$export$5bb865b12696a77d as constrainStart, $dd602d3c757202f2$export$530edbfc915b2b04 as alignEnd, $dd602d3c757202f2$export$4f5203c0d889109e as constrainValue, $dd602d3c757202f2$export$a1d3911297b952d7 as previousAvailableDate};\n//# sourceMappingURL=utils.mjs.map\n","import {alignCenter as $dd602d3c757202f2$export$f4a51ff076cc9a09, alignEnd as $dd602d3c757202f2$export$530edbfc915b2b04, alignStart as $dd602d3c757202f2$export$144a00ba6044eb9, constrainStart as $dd602d3c757202f2$export$5bb865b12696a77d, constrainValue as $dd602d3c757202f2$export$4f5203c0d889109e, isInvalid as $dd602d3c757202f2$export$eac50920cf2fd59a, previousAvailableDate as $dd602d3c757202f2$export$a1d3911297b952d7} from \"./utils.mjs\";\nimport {useControlledState as $3e6197669829fe11$export$40bfa8c7b0832715} from \"../utils/useControlledState.mjs\";\nimport {DateFormatter as $aoVcW$DateFormatter, toCalendar as $aoVcW$toCalendar, toCalendarDate as $aoVcW$toCalendarDate, today as $aoVcW$today, isEqualCalendar as $aoVcW$isEqualCalendar, GregorianCalendar as $aoVcW$GregorianCalendar, startOfWeek as $aoVcW$startOfWeek, startOfMonth as $aoVcW$startOfMonth, endOfWeek as $aoVcW$endOfWeek, endOfMonth as $aoVcW$endOfMonth, isSameDay as $aoVcW$isSameDay, getDayOfWeek as $aoVcW$getDayOfWeek} from \"@internationalized/date\";\nimport {useMemo as $aoVcW$useMemo, useState as $aoVcW$useState} from \"react\";\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\nfunction $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f(props) {\n let defaultFormatter = (0, $aoVcW$useMemo)(()=>new (0, $aoVcW$DateFormatter)(props.locale), [\n props.locale\n ]);\n let resolvedOptions = (0, $aoVcW$useMemo)(()=>defaultFormatter.resolvedOptions(), [\n defaultFormatter\n ]);\n let { locale: locale, createCalendar: createCalendar, visibleDuration: visibleDuration = {\n months: 1\n }, minValue: minValue, maxValue: maxValue, selectionAlignment: selectionAlignment, isDateUnavailable: isDateUnavailable, pageBehavior: pageBehavior = 'visible', firstDayOfWeek: firstDayOfWeek } = props;\n let calendar = (0, $aoVcW$useMemo)(()=>createCalendar(resolvedOptions.calendar), [\n createCalendar,\n resolvedOptions.calendar\n ]);\n let [value, setControlledValue] = (0, $3e6197669829fe11$export$40bfa8c7b0832715)(props.value, props.defaultValue ?? null, props.onChange);\n let calendarDateValue = (0, $aoVcW$useMemo)(()=>value ? (0, $aoVcW$toCalendar)((0, $aoVcW$toCalendarDate)(value), calendar) : null, [\n value,\n calendar\n ]);\n let timeZone = (0, $aoVcW$useMemo)(()=>value && 'timeZone' in value ? value.timeZone : resolvedOptions.timeZone, [\n value,\n resolvedOptions.timeZone\n ]);\n let focusedCalendarDate = (0, $aoVcW$useMemo)(()=>props.focusedValue ? (0, $dd602d3c757202f2$export$4f5203c0d889109e)((0, $aoVcW$toCalendar)((0, $aoVcW$toCalendarDate)(props.focusedValue), calendar), minValue, maxValue) : undefined, [\n props.focusedValue,\n calendar,\n minValue,\n maxValue\n ]);\n let defaultFocusedCalendarDate = (0, $aoVcW$useMemo)(()=>(0, $dd602d3c757202f2$export$4f5203c0d889109e)(props.defaultFocusedValue ? (0, $aoVcW$toCalendar)((0, $aoVcW$toCalendarDate)(props.defaultFocusedValue), calendar) : calendarDateValue || (0, $aoVcW$toCalendar)((0, $aoVcW$today)(timeZone), calendar), minValue, maxValue), [\n props.defaultFocusedValue,\n calendarDateValue,\n timeZone,\n calendar,\n minValue,\n maxValue\n ]);\n let [focusedDate, setFocusedDate] = (0, $3e6197669829fe11$export$40bfa8c7b0832715)(focusedCalendarDate, defaultFocusedCalendarDate, props.onFocusChange);\n let [startDate, setStartDate] = (0, $aoVcW$useState)(()=>{\n switch(selectionAlignment){\n case 'start':\n return (0, $dd602d3c757202f2$export$144a00ba6044eb9)(focusedDate, visibleDuration, locale, minValue, maxValue);\n case 'end':\n return (0, $dd602d3c757202f2$export$530edbfc915b2b04)(focusedDate, visibleDuration, locale, minValue, maxValue);\n case 'center':\n default:\n return (0, $dd602d3c757202f2$export$f4a51ff076cc9a09)(focusedDate, visibleDuration, locale, minValue, maxValue);\n }\n });\n let [isFocused, setFocused] = (0, $aoVcW$useState)(props.autoFocus || false);\n let endDate = (0, $aoVcW$useMemo)(()=>{\n let duration = {\n ...visibleDuration\n };\n if (duration.days) duration.days--;\n else duration.days = -1;\n return startDate.add(duration);\n }, [\n startDate,\n visibleDuration\n ]);\n // Reset focused date and visible range when calendar changes.\n let [lastCalendar, setLastCalendar] = (0, $aoVcW$useState)(calendar);\n if (!(0, $aoVcW$isEqualCalendar)(calendar, lastCalendar)) {\n let newFocusedDate = (0, $aoVcW$toCalendar)(focusedDate, calendar);\n setStartDate((0, $dd602d3c757202f2$export$f4a51ff076cc9a09)(newFocusedDate, visibleDuration, locale, minValue, maxValue));\n setFocusedDate(newFocusedDate);\n setLastCalendar(calendar);\n }\n if ((0, $dd602d3c757202f2$export$eac50920cf2fd59a)(focusedDate, minValue, maxValue)) // If the focused date was moved to an invalid value, it can't be focused, so constrain it.\n setFocusedDate((0, $dd602d3c757202f2$export$4f5203c0d889109e)(focusedDate, minValue, maxValue));\n else if (focusedDate.compare(startDate) < 0) setStartDate((0, $dd602d3c757202f2$export$530edbfc915b2b04)(focusedDate, visibleDuration, locale, minValue, maxValue));\n else if (focusedDate.compare(endDate) > 0) setStartDate((0, $dd602d3c757202f2$export$144a00ba6044eb9)(focusedDate, visibleDuration, locale, minValue, maxValue));\n // Sets focus to a specific cell date\n function focusCell(date) {\n date = (0, $dd602d3c757202f2$export$4f5203c0d889109e)(date, minValue, maxValue);\n setFocusedDate(date);\n }\n function setValue(newValue) {\n if (!props.isDisabled && !props.isReadOnly) {\n let localValue = newValue;\n if (localValue === null) {\n setControlledValue(null);\n return;\n }\n localValue = (0, $dd602d3c757202f2$export$4f5203c0d889109e)(localValue, minValue, maxValue);\n localValue = (0, $dd602d3c757202f2$export$a1d3911297b952d7)(localValue, startDate, isDateUnavailable);\n if (!localValue) return;\n // The display calendar should not have any effect on the emitted value.\n // Emit dates in the same calendar as the original value, if any, otherwise gregorian.\n localValue = (0, $aoVcW$toCalendar)(localValue, value?.calendar || new (0, $aoVcW$GregorianCalendar)());\n // Preserve time if the input value had one.\n if (value && 'hour' in value) setControlledValue(value.set(localValue));\n else setControlledValue(localValue);\n }\n }\n let isUnavailable = (0, $aoVcW$useMemo)(()=>{\n if (!calendarDateValue) return false;\n if (isDateUnavailable && isDateUnavailable(calendarDateValue)) return true;\n return (0, $dd602d3c757202f2$export$eac50920cf2fd59a)(calendarDateValue, minValue, maxValue);\n }, [\n calendarDateValue,\n isDateUnavailable,\n minValue,\n maxValue\n ]);\n let isValueInvalid = props.isInvalid || props.validationState === 'invalid' || isUnavailable;\n let validationState = isValueInvalid ? 'invalid' : null;\n let pageDuration = (0, $aoVcW$useMemo)(()=>{\n if (pageBehavior === 'visible') return visibleDuration;\n return $ea0ea6e62ae0d7ca$var$unitDuration(visibleDuration);\n }, [\n pageBehavior,\n visibleDuration\n ]);\n return {\n isDisabled: props.isDisabled ?? false,\n isReadOnly: props.isReadOnly ?? false,\n value: calendarDateValue,\n setValue: setValue,\n visibleRange: {\n start: startDate,\n end: endDate\n },\n minValue: minValue,\n maxValue: maxValue,\n focusedDate: focusedDate,\n timeZone: timeZone,\n validationState: validationState,\n isValueInvalid: isValueInvalid,\n setFocusedDate (date) {\n focusCell(date);\n },\n focusNextDay () {\n focusCell(focusedDate.add({\n days: 1\n }));\n },\n focusPreviousDay () {\n focusCell(focusedDate.subtract({\n days: 1\n }));\n },\n focusNextRow () {\n if (visibleDuration.days) this.focusNextPage();\n else if (visibleDuration.weeks || visibleDuration.months || visibleDuration.years) focusCell(focusedDate.add({\n weeks: 1\n }));\n },\n focusPreviousRow () {\n if (visibleDuration.days) this.focusPreviousPage();\n else if (visibleDuration.weeks || visibleDuration.months || visibleDuration.years) focusCell(focusedDate.subtract({\n weeks: 1\n }));\n },\n focusNextPage () {\n let start = startDate.add(pageDuration);\n setFocusedDate((0, $dd602d3c757202f2$export$4f5203c0d889109e)(focusedDate.add(pageDuration), minValue, maxValue));\n setStartDate((0, $dd602d3c757202f2$export$144a00ba6044eb9)((0, $dd602d3c757202f2$export$5bb865b12696a77d)(focusedDate, start, pageDuration, locale, minValue, maxValue), pageDuration, locale));\n },\n focusPreviousPage () {\n let start = startDate.subtract(pageDuration);\n setFocusedDate((0, $dd602d3c757202f2$export$4f5203c0d889109e)(focusedDate.subtract(pageDuration), minValue, maxValue));\n setStartDate((0, $dd602d3c757202f2$export$144a00ba6044eb9)((0, $dd602d3c757202f2$export$5bb865b12696a77d)(focusedDate, start, pageDuration, locale, minValue, maxValue), pageDuration, locale));\n },\n focusSectionStart () {\n if (visibleDuration.days) focusCell(startDate);\n else if (visibleDuration.weeks) focusCell((0, $aoVcW$startOfWeek)(focusedDate, locale));\n else if (visibleDuration.months || visibleDuration.years) focusCell((0, $aoVcW$startOfMonth)(focusedDate));\n },\n focusSectionEnd () {\n if (visibleDuration.days) focusCell(endDate);\n else if (visibleDuration.weeks) focusCell((0, $aoVcW$endOfWeek)(focusedDate, locale));\n else if (visibleDuration.months || visibleDuration.years) focusCell((0, $aoVcW$endOfMonth)(focusedDate));\n },\n focusNextSection (larger) {\n if (!larger && !visibleDuration.days) {\n focusCell(focusedDate.add($ea0ea6e62ae0d7ca$var$unitDuration(visibleDuration)));\n return;\n }\n if (visibleDuration.days) this.focusNextPage();\n else if (visibleDuration.weeks) focusCell(focusedDate.add({\n months: 1\n }));\n else if (visibleDuration.months || visibleDuration.years) focusCell(focusedDate.add({\n years: 1\n }));\n },\n focusPreviousSection (larger) {\n if (!larger && !visibleDuration.days) {\n focusCell(focusedDate.subtract($ea0ea6e62ae0d7ca$var$unitDuration(visibleDuration)));\n return;\n }\n if (visibleDuration.days) this.focusPreviousPage();\n else if (visibleDuration.weeks) focusCell(focusedDate.subtract({\n months: 1\n }));\n else if (visibleDuration.months || visibleDuration.years) focusCell(focusedDate.subtract({\n years: 1\n }));\n },\n selectFocusedDate () {\n if (!(isDateUnavailable && isDateUnavailable(focusedDate))) setValue(focusedDate);\n },\n selectDate (date) {\n setValue(date);\n },\n isFocused: isFocused,\n setFocused: setFocused,\n isInvalid (date) {\n return (0, $dd602d3c757202f2$export$eac50920cf2fd59a)(date, minValue, maxValue);\n },\n isSelected (date) {\n return calendarDateValue != null && (0, $aoVcW$isSameDay)(date, calendarDateValue) && !this.isCellDisabled(date) && !this.isCellUnavailable(date);\n },\n isCellFocused (date) {\n return isFocused && focusedDate && (0, $aoVcW$isSameDay)(date, focusedDate);\n },\n isCellDisabled (date) {\n return props.isDisabled || date.compare(startDate) < 0 || date.compare(endDate) > 0 || this.isInvalid(date);\n },\n isCellUnavailable (date) {\n return props.isDateUnavailable ? props.isDateUnavailable(date) : false;\n },\n isPreviousVisibleRangeInvalid () {\n let prev = startDate.subtract({\n days: 1\n });\n return (0, $aoVcW$isSameDay)(prev, startDate) || this.isInvalid(prev);\n },\n isNextVisibleRangeInvalid () {\n // Adding may return the same date if we reached the end of time\n // according to the calendar system (e.g. 9999-12-31).\n let next = endDate.add({\n days: 1\n });\n return (0, $aoVcW$isSameDay)(next, endDate) || this.isInvalid(next);\n },\n getDatesInWeek (weekIndex, from = startDate) {\n let date = from.add({\n weeks: weekIndex\n });\n let dates = [];\n date = (0, $aoVcW$startOfWeek)(date, locale, firstDayOfWeek);\n // startOfWeek will clamp dates within the calendar system's valid range, which may\n // start in the middle of a week. In this case, add null placeholders.\n let dayOfWeek = (0, $aoVcW$getDayOfWeek)(date, locale, firstDayOfWeek);\n for(let i = 0; i < dayOfWeek; i++)dates.push(null);\n while(dates.length < 7){\n dates.push(date);\n let nextDate = date.add({\n days: 1\n });\n if ((0, $aoVcW$isSameDay)(date, nextDate)) break;\n date = nextDate;\n }\n // Add null placeholders if at the end of the calendar system.\n while(dates.length < 7)dates.push(null);\n return dates;\n }\n };\n}\nfunction $ea0ea6e62ae0d7ca$var$unitDuration(duration) {\n let unit = {\n ...duration\n };\n for(let key in duration)unit[key] = 1;\n return unit;\n}\n\n\nexport {$ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f as useCalendarState};\n//# sourceMappingURL=useCalendarState.mjs.map\n","import {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useFocusWithin as $2c9edc598a03d523$export$420e68273165f4ec} from \"../interactions/useFocusWithin.mjs\";\nimport $48drk$react, {useState as $48drk$useState, useMemo as $48drk$useMemo} from \"react\";\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\nconst $ea3928288112382f$var$styles = {\n border: 0,\n clip: 'rect(0 0 0 0)',\n clipPath: 'inset(50%)',\n height: '1px',\n margin: '-1px',\n overflow: 'hidden',\n padding: 0,\n position: 'absolute',\n width: '1px',\n whiteSpace: 'nowrap'\n};\nfunction $ea3928288112382f$export$a966af930f325cab(props = {}) {\n let { style: style, isFocusable: isFocusable } = props;\n let [isFocused, setFocused] = (0, $48drk$useState)(false);\n let { focusWithinProps: focusWithinProps } = (0, $2c9edc598a03d523$export$420e68273165f4ec)({\n isDisabled: !isFocusable,\n onFocusWithinChange: (val)=>setFocused(val)\n });\n // If focused, don't hide the element.\n let combinedStyles = (0, $48drk$useMemo)(()=>{\n if (isFocused) return style;\n else if (style) return {\n ...$ea3928288112382f$var$styles,\n ...style\n };\n else return $ea3928288112382f$var$styles;\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n isFocused\n ]);\n return {\n visuallyHiddenProps: {\n ...focusWithinProps,\n style: combinedStyles\n }\n };\n}\nfunction $ea3928288112382f$export$439d29a4e110a164(props) {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n let { children: children, elementType: Element = 'div', isFocusable: isFocusable, style: style, ...otherProps } = props;\n let { visuallyHiddenProps: visuallyHiddenProps } = $ea3928288112382f$export$a966af930f325cab(props);\n return /*#__PURE__*/ (0, $48drk$react).createElement(Element, (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(otherProps, visuallyHiddenProps), children);\n}\n\n\nexport {$ea3928288112382f$export$a966af930f325cab as useVisuallyHidden, $ea3928288112382f$export$439d29a4e110a164 as VisuallyHidden};\n//# sourceMappingURL=VisuallyHidden.mjs.map\n","import {ButtonContext as $7705c033048f6da7$export$24d547caef80ccd1} from \"./Button.mjs\";\nimport {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, Provider as $7230ffa83bc0c2cf$export$2881499e37b75b9a, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, useRenderProps as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, useSlottedContext as $7230ffa83bc0c2cf$export$fabf2dc03a41866e} from \"./utils.mjs\";\nimport {HeadingContext as $2ec61d1d4f780267$export$d688439359537581} from \"./Heading.mjs\";\nimport {TextContext as $efe09c6d1c304b50$export$9afb8bc826b033ea} from \"./Text.mjs\";\nimport {useCalendar as $drly1$useCalendar, useCalendarGrid as $drly1$useCalendarGrid, useCalendarCell as $drly1$useCalendarCell} from \"react-aria/useCalendar\";\nimport {useRangeCalendar as $drly1$useRangeCalendar} from \"react-aria/useRangeCalendar\";\nimport {createCalendar as $drly1$createCalendar, endOfMonth as $drly1$endOfMonth, isSameMonth as $drly1$isSameMonth, isToday as $drly1$isToday, isSameDay as $drly1$isSameDay} from \"@internationalized/date\";\nimport {useRangeCalendarState as $drly1$useRangeCalendarState} from \"react-stately/useRangeCalendarState\";\nimport {filterDOMProps as $drly1$filterDOMProps} from \"react-aria/filterDOMProps\";\nimport {mergeProps as $drly1$mergeProps} from \"react-aria/mergeProps\";\nimport $drly1$react, {createContext as $drly1$createContext, forwardRef as $drly1$forwardRef, useContext as $drly1$useContext, useRef as $drly1$useRef} from \"react\";\nimport {useCalendarState as $drly1$useCalendarState} from \"react-stately/useCalendarState\";\nimport {useFocusRing as $drly1$useFocusRing} from \"react-aria/useFocusRing\";\nimport {useHover as $drly1$useHover} from \"react-aria/useHover\";\nimport {useLocale as $drly1$useLocale} from \"react-aria/I18nProvider\";\nimport {VisuallyHidden as $drly1$VisuallyHidden} from \"react-aria/VisuallyHidden\";\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\n\n\nconst $6f9a1820b787aac7$export$3b805cea1f178355 = /*#__PURE__*/ (0, $drly1$createContext)(null);\nconst $6f9a1820b787aac7$export$233dd9682e1ad64b = /*#__PURE__*/ (0, $drly1$createContext)(null);\nconst $6f9a1820b787aac7$export$9e31dcedda1dadc7 = /*#__PURE__*/ (0, $drly1$createContext)(null);\nconst $6f9a1820b787aac7$export$5e0fc348c00f87a0 = /*#__PURE__*/ (0, $drly1$createContext)(null);\nconst $6f9a1820b787aac7$export$e1aef45b828286de = /*#__PURE__*/ (0, $drly1$forwardRef)(function Calendar(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $6f9a1820b787aac7$export$3b805cea1f178355);\n let { locale: locale } = (0, $drly1$useLocale)();\n let state = (0, $drly1$useCalendarState)({\n ...props,\n locale: locale,\n createCalendar: props.createCalendar || (0, $drly1$createCalendar)\n });\n let { calendarProps: calendarProps, prevButtonProps: prevButtonProps, nextButtonProps: nextButtonProps, errorMessageProps: errorMessageProps, title: title } = (0, $drly1$useCalendar)(props, state);\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n values: {\n state: state,\n isDisabled: props.isDisabled || false,\n isInvalid: state.isValueInvalid\n },\n defaultClassName: 'react-aria-Calendar'\n });\n let DOMProps = (0, $drly1$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $drly1$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...(0, $drly1$mergeProps)(DOMProps, renderProps, calendarProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-disabled\": props.isDisabled || undefined,\n \"data-invalid\": state.isValueInvalid || undefined\n }, /*#__PURE__*/ (0, $drly1$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n (0, $7705c033048f6da7$export$24d547caef80ccd1),\n {\n slots: {\n previous: prevButtonProps,\n next: nextButtonProps\n }\n }\n ],\n [\n (0, $2ec61d1d4f780267$export$d688439359537581),\n {\n 'aria-hidden': true,\n level: 2,\n children: title\n }\n ],\n [\n $6f9a1820b787aac7$export$9e31dcedda1dadc7,\n state\n ],\n [\n $6f9a1820b787aac7$export$3b805cea1f178355,\n props\n ],\n [\n (0, $efe09c6d1c304b50$export$9afb8bc826b033ea),\n {\n slots: {\n errorMessage: errorMessageProps\n }\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $drly1$react).createElement((0, $drly1$VisuallyHidden), null, /*#__PURE__*/ (0, $drly1$react).createElement(\"h2\", null, calendarProps['aria-label'])), renderProps.children, /*#__PURE__*/ (0, $drly1$react).createElement((0, $drly1$VisuallyHidden), null, /*#__PURE__*/ (0, $drly1$react).createElement(\"button\", {\n \"aria-label\": nextButtonProps['aria-label'],\n disabled: nextButtonProps.isDisabled,\n onClick: ()=>state.focusNextPage(),\n tabIndex: -1\n }))));\n});\nconst $6f9a1820b787aac7$export$a4f5c8b89d277a8d = /*#__PURE__*/ (0, $drly1$forwardRef)(function RangeCalendar(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $6f9a1820b787aac7$export$233dd9682e1ad64b);\n let { locale: locale } = (0, $drly1$useLocale)();\n let state = (0, $drly1$useRangeCalendarState)({\n ...props,\n locale: locale,\n createCalendar: props.createCalendar || (0, $drly1$createCalendar)\n });\n let { calendarProps: calendarProps, prevButtonProps: prevButtonProps, nextButtonProps: nextButtonProps, errorMessageProps: errorMessageProps, title: title } = (0, $drly1$useRangeCalendar)(props, state, ref);\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n values: {\n state: state,\n isDisabled: props.isDisabled || false,\n isInvalid: state.isValueInvalid\n },\n defaultClassName: 'react-aria-RangeCalendar'\n });\n let DOMProps = (0, $drly1$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $drly1$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...(0, $drly1$mergeProps)(renderProps, DOMProps, calendarProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-disabled\": props.isDisabled || undefined,\n \"data-invalid\": state.isValueInvalid || undefined\n }, /*#__PURE__*/ (0, $drly1$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n (0, $7705c033048f6da7$export$24d547caef80ccd1),\n {\n slots: {\n previous: prevButtonProps,\n next: nextButtonProps\n }\n }\n ],\n [\n (0, $2ec61d1d4f780267$export$d688439359537581),\n {\n 'aria-hidden': true,\n level: 2,\n children: title\n }\n ],\n [\n $6f9a1820b787aac7$export$5e0fc348c00f87a0,\n state\n ],\n [\n $6f9a1820b787aac7$export$233dd9682e1ad64b,\n props\n ],\n [\n (0, $efe09c6d1c304b50$export$9afb8bc826b033ea),\n {\n slots: {\n errorMessage: errorMessageProps\n }\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $drly1$react).createElement((0, $drly1$VisuallyHidden), null, /*#__PURE__*/ (0, $drly1$react).createElement(\"h2\", null, calendarProps['aria-label'])), renderProps.children, /*#__PURE__*/ (0, $drly1$react).createElement((0, $drly1$VisuallyHidden), null, /*#__PURE__*/ (0, $drly1$react).createElement(\"button\", {\n \"aria-label\": nextButtonProps['aria-label'],\n disabled: nextButtonProps.isDisabled,\n onClick: ()=>state.focusNextPage(),\n tabIndex: -1\n }))));\n});\nconst $6f9a1820b787aac7$var$InternalCalendarGridContext = /*#__PURE__*/ (0, $drly1$createContext)(null);\nconst $6f9a1820b787aac7$export$5bd780d491cfc46c = /*#__PURE__*/ (0, $drly1$forwardRef)(function CalendarGrid(props, ref) {\n let calendarState = (0, $drly1$useContext)($6f9a1820b787aac7$export$9e31dcedda1dadc7);\n let rangeCalendarState = (0, $drly1$useContext)($6f9a1820b787aac7$export$5e0fc348c00f87a0);\n let calenderProps = (0, $7230ffa83bc0c2cf$export$fabf2dc03a41866e)($6f9a1820b787aac7$export$3b805cea1f178355);\n let rangeCalenderProps = (0, $7230ffa83bc0c2cf$export$fabf2dc03a41866e)($6f9a1820b787aac7$export$233dd9682e1ad64b);\n let state = calendarState ?? rangeCalendarState;\n let startDate = state.visibleRange.start;\n if (props.offset) startDate = startDate.add(props.offset);\n let firstDayOfWeek = calenderProps?.firstDayOfWeek ?? rangeCalenderProps?.firstDayOfWeek;\n let { gridProps: gridProps, headerProps: headerProps, weekDays: weekDays, weeksInMonth: weeksInMonth } = (0, $drly1$useCalendarGrid)({\n startDate: startDate,\n endDate: (0, $drly1$endOfMonth)(startDate),\n weekdayStyle: props.weekdayStyle,\n firstDayOfWeek: firstDayOfWeek\n }, state);\n let DOMProps = (0, $drly1$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $drly1$react).createElement($6f9a1820b787aac7$var$InternalCalendarGridContext.Provider, {\n value: {\n headerProps: headerProps,\n weekDays: weekDays,\n startDate: startDate,\n weeksInMonth: weeksInMonth\n }\n }, /*#__PURE__*/ (0, $drly1$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).table, {\n render: props.render,\n ...(0, $drly1$mergeProps)(DOMProps, gridProps),\n ref: ref,\n style: props.style,\n cellPadding: 0,\n className: props.className ?? 'react-aria-CalendarGrid'\n }, typeof props.children !== 'function' ? props.children : /*#__PURE__*/ (0, $drly1$react).createElement((0, $drly1$react).Fragment, null, /*#__PURE__*/ (0, $drly1$react).createElement($6f9a1820b787aac7$export$22e2d15eaa4d2377, null, (day)=>/*#__PURE__*/ (0, $drly1$react).createElement($6f9a1820b787aac7$export$ad2135cac3a11b3d, null, day)), /*#__PURE__*/ (0, $drly1$react).createElement($6f9a1820b787aac7$export$e11f8ba65d857bff, null, props.children))));\n});\nfunction $6f9a1820b787aac7$var$CalendarGridHeader(props, ref) {\n let { children: children, style: style, className: className } = props;\n let { headerProps: headerProps, weekDays: weekDays } = (0, $drly1$useContext)($6f9a1820b787aac7$var$InternalCalendarGridContext);\n let DOMProps = (0, $drly1$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $drly1$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).thead, {\n render: props.render,\n ...(0, $drly1$mergeProps)(DOMProps, headerProps),\n ref: ref,\n style: style,\n className: className ?? 'react-aria-CalendarGridHeader'\n }, /*#__PURE__*/ (0, $drly1$react).createElement(\"tr\", null, weekDays.map((day, key)=>/*#__PURE__*/ (0, $drly1$react).cloneElement(children(day), {\n key: key\n }))));\n}\n/**\n * A calendar grid header displays a row of week day names at the top of a month.\n */ const $6f9a1820b787aac7$export$22e2d15eaa4d2377 = /*#__PURE__*/ (0, $drly1$forwardRef)($6f9a1820b787aac7$var$CalendarGridHeader);\nfunction $6f9a1820b787aac7$var$CalendarHeaderCell(props, ref) {\n let { children: children, style: style, className: className } = props;\n let DOMProps = (0, $drly1$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $drly1$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).th, {\n render: props.render,\n ...DOMProps,\n ref: ref,\n style: style,\n className: className || 'react-aria-CalendarHeaderCell'\n }, children);\n}\n/**\n * A calendar header cell displays a week day name at the top of a column within a calendar.\n */ const $6f9a1820b787aac7$export$ad2135cac3a11b3d = /*#__PURE__*/ (0, $drly1$forwardRef)($6f9a1820b787aac7$var$CalendarHeaderCell);\nfunction $6f9a1820b787aac7$var$CalendarGridBody(props, ref) {\n let { children: children, style: style, className: className } = props;\n let calendarState = (0, $drly1$useContext)($6f9a1820b787aac7$export$9e31dcedda1dadc7);\n let rangeCalendarState = (0, $drly1$useContext)($6f9a1820b787aac7$export$5e0fc348c00f87a0);\n let state = calendarState ?? rangeCalendarState;\n let { startDate: startDate, weeksInMonth: weeksInMonth } = (0, $drly1$useContext)($6f9a1820b787aac7$var$InternalCalendarGridContext);\n let DOMProps = (0, $drly1$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $drly1$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).tbody, {\n render: props.render,\n ...DOMProps,\n ref: ref,\n style: style,\n className: className ?? 'react-aria-CalendarGridBody'\n }, [\n ...new Array(weeksInMonth).keys()\n ].map((weekIndex)=>/*#__PURE__*/ (0, $drly1$react).createElement(\"tr\", {\n key: weekIndex\n }, state.getDatesInWeek(weekIndex, startDate).map((date, i)=>date ? /*#__PURE__*/ (0, $drly1$react).cloneElement(children(date), {\n key: i\n }) : /*#__PURE__*/ (0, $drly1$react).createElement(\"td\", {\n key: i\n })))));\n}\n/**\n * A calendar grid body displays a grid of calendar cells within a month.\n */ const $6f9a1820b787aac7$export$e11f8ba65d857bff = /*#__PURE__*/ (0, $drly1$forwardRef)($6f9a1820b787aac7$var$CalendarGridBody);\nconst $6f9a1820b787aac7$export$5d847498420df57b = /*#__PURE__*/ (0, $drly1$forwardRef)(function CalendarCell({ date: date, ...otherProps }, ref) {\n let calendarState = (0, $drly1$useContext)($6f9a1820b787aac7$export$9e31dcedda1dadc7);\n let rangeCalendarState = (0, $drly1$useContext)($6f9a1820b787aac7$export$5e0fc348c00f87a0);\n let state = calendarState ?? rangeCalendarState;\n let { startDate: currentMonth } = (0, $drly1$useContext)($6f9a1820b787aac7$var$InternalCalendarGridContext) ?? {\n startDate: state.visibleRange.start\n };\n let isOutsideMonth = !(0, $drly1$isSameMonth)(currentMonth, date);\n let istoday = (0, $drly1$isToday)(date, state.timeZone);\n let buttonRef = (0, $drly1$useRef)(null);\n let { cellProps: cellProps, buttonProps: buttonProps, ...states } = (0, $drly1$useCalendarCell)({\n date: date,\n isOutsideMonth: isOutsideMonth\n }, state, buttonRef);\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $drly1$useHover)({\n ...otherProps,\n isDisabled: states.isDisabled\n });\n let { focusProps: focusProps, isFocusVisible: isFocusVisible } = (0, $drly1$useFocusRing)();\n isFocusVisible &&= states.isFocused;\n let isSelectionStart = false;\n let isSelectionEnd = false;\n if ('highlightedRange' in state && state.highlightedRange) {\n isSelectionStart = (0, $drly1$isSameDay)(date, state.highlightedRange.start);\n isSelectionEnd = (0, $drly1$isSameDay)(date, state.highlightedRange.end);\n }\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...otherProps,\n defaultChildren: states.formattedDate,\n defaultClassName: 'react-aria-CalendarCell',\n values: {\n date: date,\n isHovered: isHovered,\n isOutsideMonth: isOutsideMonth,\n isFocusVisible: isFocusVisible,\n isSelectionStart: isSelectionStart,\n isSelectionEnd: isSelectionEnd,\n isToday: istoday,\n ...states\n }\n });\n let dataAttrs = {\n 'data-focused': states.isFocused || undefined,\n 'data-hovered': isHovered || undefined,\n 'data-pressed': states.isPressed || undefined,\n 'data-unavailable': states.isUnavailable || undefined,\n 'data-disabled': states.isDisabled || undefined,\n 'data-focus-visible': isFocusVisible || undefined,\n 'data-outside-visible-range': states.isOutsideVisibleRange || undefined,\n 'data-outside-month': isOutsideMonth || undefined,\n 'data-selected': states.isSelected || undefined,\n 'data-selection-start': isSelectionStart || undefined,\n 'data-selection-end': isSelectionEnd || undefined,\n 'data-invalid': states.isInvalid || undefined,\n 'data-today': istoday || undefined\n };\n let DOMProps = (0, $drly1$filterDOMProps)(otherProps, {\n global: true\n });\n return /*#__PURE__*/ (0, $drly1$react).createElement(\"td\", {\n ...cellProps,\n ref: ref\n }, /*#__PURE__*/ (0, $drly1$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...(0, $drly1$mergeProps)(DOMProps, buttonProps, focusProps, hoverProps, dataAttrs, renderProps),\n ref: buttonRef\n }));\n});\n\n\nexport {$6f9a1820b787aac7$export$3b805cea1f178355 as CalendarContext, $6f9a1820b787aac7$export$233dd9682e1ad64b as RangeCalendarContext, $6f9a1820b787aac7$export$9e31dcedda1dadc7 as CalendarStateContext, $6f9a1820b787aac7$export$5e0fc348c00f87a0 as RangeCalendarStateContext, $6f9a1820b787aac7$export$e1aef45b828286de as Calendar, $6f9a1820b787aac7$export$a4f5c8b89d277a8d as RangeCalendar, $6f9a1820b787aac7$export$5bd780d491cfc46c as CalendarGrid, $6f9a1820b787aac7$export$22e2d15eaa4d2377 as CalendarGridHeader, $6f9a1820b787aac7$export$ad2135cac3a11b3d as CalendarHeaderCell, $6f9a1820b787aac7$export$e11f8ba65d857bff as CalendarGridBody, $6f9a1820b787aac7$export$5d847498420df57b as CalendarCell};\n//# sourceMappingURL=Calendar.mjs.map\n","import { useContext, useEffect, useMemo } from 'react'\nimport { CalendarStateContext } from 'react-aria-components'\nimport { CalendarDate } from '@internationalized/date'\nimport { SegmentItem } from '../types'\n\ntype UseCalendarHeaderProps = {\n defaultFocusDate?: CalendarDate\n}\n\nexport function useCalendarHeader({\n defaultFocusDate,\n}: UseCalendarHeaderProps) {\n const {\n focusNextPage,\n focusPreviousPage,\n setFocusedDate,\n focusedDate,\n minValue,\n maxValue,\n } = useContext(CalendarStateContext)!\n\n const yearsOptions = useMemo(() => {\n const minYear = minValue?.year || 1900\n const maxYear = maxValue?.year || 2100\n const items: SegmentItem[] = []\n\n for (let i = minYear; i <= maxYear; i++) {\n items.push({ label: String(i), value: i })\n }\n\n return items\n }, [minValue, maxValue])\n\n const monthsOptions = useMemo(\n () =>\n [\n 'Janeiro',\n 'Fevereiro',\n 'Março',\n 'Abril',\n 'Maio',\n 'Junho',\n 'Julho',\n 'Agosto',\n 'Setembro',\n 'Outubro',\n 'Novembro',\n 'Dezembro',\n ].map((label, idx) => ({ label, value: idx + 1 })),\n [],\n )\n\n useEffect(() => {\n if (defaultFocusDate) {\n setFocusedDate(defaultFocusDate)\n }\n }, [defaultFocusDate])\n\n function handleFocusNewMonth(month: SegmentItem) {\n const monthNumber = month.value\n const focusedDay = focusedDate.day\n const focusedYear = focusedDate.year\n setFocusedDate(new CalendarDate(focusedYear, monthNumber, focusedDay))\n }\n\n function handleFocusNewYear(selectedOption: SegmentItem) {\n const focusedDay = focusedDate.day\n const focusedMonth = focusedDate.month\n const newYear = selectedOption.value\n setFocusedDate(new CalendarDate(newYear, focusedMonth, focusedDay))\n }\n\n return {\n focusNextPage,\n focusPreviousPage,\n handleFocusNewMonth,\n handleFocusNewYear,\n focusedDate,\n yearsOptions,\n monthsOptions,\n }\n}\n","import { IconChevronLeft, IconChevronRight } from '@components/icons'\nimport { CalendarDate } from '@internationalized/date'\nimport { Segment } from '../Segment'\n\nimport { useCalendarHeader } from './hook'\nimport './styles.scss'\n\ntype CalendarHeaderProps = {\n defaultFocusDate?: CalendarDate\n}\n\nexport const CalendarHeader = ({ defaultFocusDate }: CalendarHeaderProps) => {\n const {\n focusNextPage,\n focusPreviousPage,\n focusedDate,\n handleFocusNewMonth,\n yearsOptions,\n monthsOptions,\n handleFocusNewYear,\n } = useCalendarHeader({ defaultFocusDate })\n\n return (\n <div className=\"au-datepicker__header\">\n <button\n className=\"au-datepicker__header-navigation-btn\"\n aria-label=\"Mês anterior\"\n onClick={focusPreviousPage}>\n <IconChevronLeft aria-hidden=\"true\" />\n </button>\n <div className=\"au-datepicker__header-segments\">\n <Segment\n currentValue={focusedDate.month}\n mobileTitle=\"Escolha o mês\"\n onSelect={handleFocusNewMonth}\n options={monthsOptions}\n />\n <Segment\n currentValue={focusedDate.year}\n mobileTitle=\"Escolha o ano\"\n onSelect={handleFocusNewYear}\n options={yearsOptions}\n />\n </div>\n <button\n className=\"au-datepicker__header-navigation-btn\"\n aria-label=\"Próximo\"\n onClick={focusNextPage}>\n <IconChevronRight aria-hidden=\"true\" />\n </button>\n </div>\n )\n}\n"],"names":["$3ARPR$react","$bl59K$react","$bl59K$useContext","$bl59K$useRef","$bl59K$useState","$dPTrK$useState","$dPTrK$useRef","$dPTrK$useCallback","$4QKZm$useState","$4QKZm$useRef","r","$4QKZm$useEffect","$4QKZm$useCallback","$aPpn7$clsx","$i6EpZ$useRef","$i6EpZ$useCallback","$i6EpZ$useMemo","$ahdqC$react","$ahdqC$useMemo","props","$ahdqC$useContext","$ahdqC$useObjectRef","$ahdqC$mergeRefs","$ahdqC$mergeProps","$ahdqC$useRef","$ahdqC$useLayoutEffect","$ahdqC$forwardRef","$eXv8n$shadowDOM","$lIB5W$useRef","$lIB5W$useCallback","e","window","$7U4qw$useEffect","$emnFQ$react","$emnFQ$useRef","$emnFQ$useCallback","$lEF9U$useState","$lEF9U$useEffect","$01Dwp$react","$01Dwp$useContext","$hwcjY$LocalizedStringDictionary","$hwcjY$useMemo","$hwcjY$LocalizedStringFormatter","$1CcWn$react","$1CcWn$useState","$1CcWn$useRef","$1CcWn$useEffect","$1CcWn$useReducer","$1CcWn$useCallback","value","$3siB1$useCallback","$kV9Vy$react","$awe0O$useRef","$awe0O$useCallback","$awe0O$useEffect","$fL2C6$useContext","$fL2C6$useState","$fL2C6$useRef","$fL2C6$useCallback","$fL2C6$useMemo","pressProps","$fL2C6$flushSync","$fL2C6$useEffect","$5319z$useRef","$5319z$useCallback","eventTarget","$3s2y0$useRef","$3s2y0$useState","$3s2y0$useCallback","isFocused","$hZqKM$useState","$hZqKM$useRef","$hZqKM$useEffect","$hZqKM$useMemo","triggerHoverEnd","hoverProps","$9s8kH$createContext","$6Xi9O$createContext","$cGkLv$createContext","$3T2N1$intlcalendararAEmjs","$3T2N1$intlcalendarbgBGmjs","$3T2N1$intlcalendarcsCZmjs","$3T2N1$intlcalendardaDKmjs","$3T2N1$intlcalendardeDEmjs","$3T2N1$intlcalendarelGRmjs","$3T2N1$intlcalendarenUSmjs","$3T2N1$intlcalendaresESmjs","$3T2N1$intlcalendaretEEmjs","$3T2N1$intlcalendarfiFImjs","$3T2N1$intlcalendarfrFRmjs","$3T2N1$intlcalendarheILmjs","$3T2N1$intlcalendarhrHRmjs","$3T2N1$intlcalendarhuHUmjs","$3T2N1$intlcalendaritITmjs","$3T2N1$intlcalendarjaJPmjs","$3T2N1$intlcalendarkoKRmjs","$3T2N1$intlcalendarltLTmjs","$3T2N1$intlcalendarlvLVmjs","$3T2N1$intlcalendarnbNOmjs","$3T2N1$intlcalendarnlNLmjs","$3T2N1$intlcalendarplPLmjs","$3T2N1$intlcalendarptBRmjs","$3T2N1$intlcalendarptPTmjs","$3T2N1$intlcalendarroROmjs","$3T2N1$intlcalendarruRUmjs","$3T2N1$intlcalendarskSKmjs","$3T2N1$intlcalendarslSImjs","$3T2N1$intlcalendarsrSPmjs","$3T2N1$intlcalendarsvSEmjs","$3T2N1$intlcalendartrTRmjs","$3T2N1$intlcalendarukUAmjs","$3T2N1$intlcalendarzhCNmjs","$3T2N1$intlcalendarzhTWmjs","$1QAm5$useRef","date","res","ms","_type","$guoDu$useMemo","$guoDu$DateFormatter","$parcel$interopDefault","$4SBhA$intlStringsmjs","$4SBhA$useMemo","$4SBhA$isSameDay","$4SBhA$startOfMonth","$4SBhA$endOfMonth","$iuQV4$useRef","$iuQV4$useEffect","$aPiNG$intlStringsmjs","$aPiNG$useState","$aLm0I$useMemo","$aLm0I$startOfWeek","$aLm0I$today","$aLm0I$getWeeksInMonth","$4UXHm$useState","id","$8nrHP$intlStringsmjs","$8nrHP$isSameDay","$8nrHP$isEqualDay","$8nrHP$useMemo","$8nrHP$isToday","label","$8nrHP$useRef","$8nrHP$useEffect","$ijDZM$startOfYear","$ijDZM$startOfMonth","$ijDZM$startOfWeek","$ijDZM$maxDate","$ijDZM$toCalendarDate","$ijDZM$minDate","$aoVcW$useMemo","$aoVcW$DateFormatter","$aoVcW$toCalendar","$aoVcW$toCalendarDate","$aoVcW$today","$aoVcW$useState","$aoVcW$isEqualCalendar","$aoVcW$GregorianCalendar","$aoVcW$startOfWeek","$aoVcW$startOfMonth","$aoVcW$endOfWeek","$aoVcW$endOfMonth","$aoVcW$isSameDay","$aoVcW$getDayOfWeek","$48drk$useState","$48drk$useMemo","Element","$48drk$react","$drly1$createContext","$drly1$forwardRef","$drly1$useLocale","$drly1$useCalendarState","$drly1$createCalendar","$drly1$useCalendar","$drly1$filterDOMProps","$drly1$react","$drly1$mergeProps","$drly1$VisuallyHidden","$drly1$useContext","$drly1$useCalendarGrid","$drly1$endOfMonth","$drly1$isSameMonth","$drly1$isToday","$drly1$useRef","$drly1$useCalendarCell","$drly1$useHover","$drly1$useFocusRing","$drly1$isSameDay","CalendarStateContext","CalendarDate"],"mappings":";;;;;;;;;;;;;;;;AAYI,SAAS,6CAA6C,WAAW;AACjE,SAAO,IAAI,SAAO;AACd,aAAS,YAAY,UAAU,KAAI,OAAO,aAAa,WAAY,UAAS,GAAG,IAAI;AAAA,EACvF;AACJ;ACHA,MAAM,4CAA4C,OAAO,aAAa,cAAkBA,sBAAc,kBAAkB,MAAI;AAAC;ACQ7H,MAAM,uCAAuC;AAAA,EACzC,QAAQ,OAAO,KAAK,MAAM,KAAK,OAAM,IAAK,IAAW,CAAC;AAAA,EACtD,SAAS;AACb;AACA,MAAM,mCAAqDC,sCAAc,cAAc,oCAAoC;AAC3H,MAAM,qCAAuDA,sCAAc,cAAc,KAAK;AAwC9F,IAAI,kCAAkC,QAAQ,OAAO,WAAW,eAAe,OAAO,YAAY,OAAO,SAAS,aAAa;AAC/H,IAAI,qCAAqC,oBAAI,QAAO;AACpD,SAAS,iCAAiC,aAAa,OAAO;;AAC1D,MAAI,MAAUC,WAAmB,gCAAgC;AACjE,MAAI,MAAUC,OAAe,IAAI;AAEjC,MAAI,IAAI,YAAY,QAAQ,CAAC,YAAY;AAWrC,QAAI,gBAAmBF,iCAAc,uDAAdA,mBAAkE,sBAAlEA,mBAAqF;AAC5G,QAAI,cAAc;AACd,UAAI,qBAAqB,mCAAmC,IAAI,YAAY;AAC5E,UAAI,sBAAsB;AAC1B,2CAAmC,IAAI,cAAc;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C,WAAU;AAAA,QACV,cAAW;AAAA,QACX,SAAS;AAAA,QACT,UAAA,oBAAC,kBAAA,EAAiB,eAAY,OAAA,CAAO;AAAA,MAAA;AAAA,IAAA;AAAA,EACvC,GACF;AAEJ;","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115]}
|
|
1
|
+
{"version":3,"file":"index-DO2dHApF.js","sources":["../node_modules/react-aria/dist/private/utils/chain.mjs","../node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs","../node_modules/react-aria/dist/private/ssr/SSRProvider.mjs","../node_modules/react-aria/dist/private/utils/useValueEffect.mjs","../node_modules/react-aria/dist/private/utils/useId.mjs","../node_modules/react-aria/dist/private/utils/mergeRefs.mjs","../node_modules/clsx/dist/clsx.mjs","../node_modules/react-aria/dist/private/utils/mergeProps.mjs","../node_modules/react-aria/dist/private/utils/useObjectRef.mjs","../node_modules/react-aria-components/dist/private/utils.mjs","../node_modules/react-aria/dist/private/utils/domHelpers.mjs","../node_modules/react-stately/dist/private/flags/flags.mjs","../node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs","../node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs","../node_modules/react-aria/dist/private/utils/isElementVisible.mjs","../node_modules/react-aria/dist/private/utils/isFocusable.mjs","../node_modules/react-aria/dist/private/interactions/utils.mjs","../node_modules/react-aria/dist/private/utils/platform.mjs","../node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs","../node_modules/react-aria/dist/private/utils/openLink.mjs","../node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs","../node_modules/react-aria/dist/private/utils/useEffectEvent.mjs","../node_modules/react-aria/dist/private/utils/useLabels.mjs","../node_modules/react-aria/dist/private/i18n/utils.mjs","../node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs","../node_modules/react-aria/dist/private/i18n/I18nProvider.mjs","../node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs","../node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs","../node_modules/react-aria/dist/private/i18n/useLocalizedStringFormatter.mjs","../node_modules/react-stately/dist/private/utils/useControlledState.mjs","../node_modules/react-aria/dist/private/utils/runAfterTransition.mjs","../node_modules/react-aria/dist/private/interactions/useFocus.mjs","../node_modules/react-aria/dist/private/utils/useSyncRef.mjs","../node_modules/react-aria/dist/private/utils/filterDOMProps.mjs","../node_modules/react-aria/dist/private/interactions/textSelection.mjs","../node_modules/react-aria/dist/private/utils/getNonce.mjs","../node_modules/react-aria/dist/private/interactions/context.mjs","../node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs","../node_modules/react-aria/dist/private/interactions/usePress.mjs","../node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs","../node_modules/react-aria/dist/private/focus/useFocusRing.mjs","../node_modules/react-aria/dist/private/interactions/useHover.mjs","../node_modules/react-aria/dist/private/live-announcer/LiveAnnouncer.mjs","../node_modules/react-aria-components/dist/private/Button.mjs","../node_modules/react-aria-components/dist/private/Heading.mjs","../node_modules/react-aria-components/dist/private/Text.mjs","../node_modules/react-aria/dist/private/intl/calendar/ar-AE.mjs","../node_modules/react-aria/dist/private/intl/calendar/bg-BG.mjs","../node_modules/react-aria/dist/private/intl/calendar/cs-CZ.mjs","../node_modules/react-aria/dist/private/intl/calendar/da-DK.mjs","../node_modules/react-aria/dist/private/intl/calendar/de-DE.mjs","../node_modules/react-aria/dist/private/intl/calendar/el-GR.mjs","../node_modules/react-aria/dist/private/intl/calendar/en-US.mjs","../node_modules/react-aria/dist/private/intl/calendar/es-ES.mjs","../node_modules/react-aria/dist/private/intl/calendar/et-EE.mjs","../node_modules/react-aria/dist/private/intl/calendar/fi-FI.mjs","../node_modules/react-aria/dist/private/intl/calendar/fr-FR.mjs","../node_modules/react-aria/dist/private/intl/calendar/he-IL.mjs","../node_modules/react-aria/dist/private/intl/calendar/hr-HR.mjs","../node_modules/react-aria/dist/private/intl/calendar/hu-HU.mjs","../node_modules/react-aria/dist/private/intl/calendar/it-IT.mjs","../node_modules/react-aria/dist/private/intl/calendar/ja-JP.mjs","../node_modules/react-aria/dist/private/intl/calendar/ko-KR.mjs","../node_modules/react-aria/dist/private/intl/calendar/lt-LT.mjs","../node_modules/react-aria/dist/private/intl/calendar/lv-LV.mjs","../node_modules/react-aria/dist/private/intl/calendar/nb-NO.mjs","../node_modules/react-aria/dist/private/intl/calendar/nl-NL.mjs","../node_modules/react-aria/dist/private/intl/calendar/pl-PL.mjs","../node_modules/react-aria/dist/private/intl/calendar/pt-BR.mjs","../node_modules/react-aria/dist/private/intl/calendar/pt-PT.mjs","../node_modules/react-aria/dist/private/intl/calendar/ro-RO.mjs","../node_modules/react-aria/dist/private/intl/calendar/ru-RU.mjs","../node_modules/react-aria/dist/private/intl/calendar/sk-SK.mjs","../node_modules/react-aria/dist/private/intl/calendar/sl-SI.mjs","../node_modules/react-aria/dist/private/intl/calendar/sr-SP.mjs","../node_modules/react-aria/dist/private/intl/calendar/sv-SE.mjs","../node_modules/react-aria/dist/private/intl/calendar/tr-TR.mjs","../node_modules/react-aria/dist/private/intl/calendar/uk-UA.mjs","../node_modules/react-aria/dist/private/intl/calendar/zh-CN.mjs","../node_modules/react-aria/dist/private/intl/calendar/zh-TW.mjs","../node_modules/react-aria/dist/private/calendar/intlStrings.mjs","../node_modules/react-aria/dist/private/utils/useDeepMemo.mjs","../node_modules/@internationalized/date/dist/private/utils.mjs","../node_modules/@internationalized/date/dist/private/calendars/GregorianCalendar.mjs","../node_modules/@internationalized/date/dist/private/weekStartData.mjs","../node_modules/@internationalized/date/dist/private/queries.mjs","../node_modules/@internationalized/date/dist/private/conversion.mjs","../node_modules/@internationalized/date/dist/private/manipulation.mjs","../node_modules/@internationalized/date/dist/private/string.mjs","../node_modules/@internationalized/date/dist/private/CalendarDate.mjs","../node_modules/@internationalized/date/dist/private/calendars/JapaneseCalendar.mjs","../node_modules/@internationalized/date/dist/private/calendars/BuddhistCalendar.mjs","../node_modules/@internationalized/date/dist/private/calendars/TaiwanCalendar.mjs","../node_modules/@internationalized/date/dist/private/calendars/PersianCalendar.mjs","../node_modules/@internationalized/date/dist/private/calendars/IndianCalendar.mjs","../node_modules/@internationalized/date/dist/private/calendars/IslamicCalendar.mjs","../node_modules/@internationalized/date/dist/private/calendars/HebrewCalendar.mjs","../node_modules/@internationalized/date/dist/private/calendars/EthiopicCalendar.mjs","../node_modules/@internationalized/date/dist/private/createCalendar.mjs","../node_modules/@internationalized/date/dist/private/DateFormatter.mjs","../node_modules/react-aria/dist/private/i18n/useDateFormatter.mjs","../node_modules/react-aria/dist/private/calendar/utils.mjs","../node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs","../node_modules/react-aria/dist/private/calendar/useCalendarBase.mjs","../node_modules/react-aria/dist/private/calendar/useCalendar.mjs","../node_modules/react-aria/dist/private/calendar/useCalendarGrid.mjs","../node_modules/react-aria/dist/private/utils/isScrollable.mjs","../node_modules/react-aria/dist/private/utils/getScrollParent.mjs","../node_modules/react-aria/dist/private/utils/getScrollParents.mjs","../node_modules/react-aria/dist/private/utils/scrollIntoView.mjs","../node_modules/react-aria/dist/private/utils/useDescription.mjs","../node_modules/react-aria/dist/private/calendar/useCalendarCell.mjs","../node_modules/react-stately/dist/private/calendar/utils.mjs","../node_modules/react-stately/dist/private/calendar/useCalendarState.mjs","../node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs","../node_modules/react-aria-components/dist/private/Calendar.mjs","../lib/components/form/Datepicker/CalendarHeader/hook.ts","../lib/components/form/Datepicker/CalendarHeader/index.tsx"],"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 */ /**\n * Calls all functions in the order they were chained with the same arguments.\n */ function $a4e76a5424781910$export$e08e3b67e392101e(...callbacks) {\n return (...args)=>{\n for (let callback of callbacks)if (typeof callback === 'function') callback(...args);\n };\n}\n\n\nexport {$a4e76a5424781910$export$e08e3b67e392101e as chain};\n//# sourceMappingURL=chain.mjs.map\n","import $3ARPR$react from \"react\";\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 */ \nconst $c4867b2f328c2698$export$e5c5a5f917a5871c = typeof document !== 'undefined' ? (0, $3ARPR$react).useLayoutEffect : ()=>{};\n\n\nexport {$c4867b2f328c2698$export$e5c5a5f917a5871c as useLayoutEffect};\n//# sourceMappingURL=useLayoutEffect.mjs.map\n","import $bl59K$react, {useContext as $bl59K$useContext, useState as $bl59K$useState, useMemo as $bl59K$useMemo, useLayoutEffect as $bl59K$useLayoutEffect, useRef as $bl59K$useRef} from \"react\";\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 */ // We must avoid a circular dependency with @react-aria/utils, and this useLayoutEffect is\n// guarded by a check that it only runs on the client side.\n// eslint-disable-next-line rulesdir/useLayoutEffectRule\n\n// Default context value to use in case there is no SSRProvider. This is fine for\n// client-only apps. In order to support multiple copies of React Aria potentially\n// being on the page at once, the prefix is set to a random number. SSRProvider\n// will reset this to zero for consistency between server and client, so in the\n// SSR case multiple copies of React Aria is not supported.\nconst $c7eafbbe1ea5834e$var$defaultContext = {\n prefix: String(Math.round(Math.random() * 10000000000)),\n current: 0\n};\nconst $c7eafbbe1ea5834e$var$SSRContext = /*#__PURE__*/ (0, $bl59K$react).createContext($c7eafbbe1ea5834e$var$defaultContext);\nconst $c7eafbbe1ea5834e$var$IsSSRContext = /*#__PURE__*/ (0, $bl59K$react).createContext(false);\n// This is only used in React < 18.\nfunction $c7eafbbe1ea5834e$var$LegacySSRProvider(props) {\n let cur = (0, $bl59K$useContext)($c7eafbbe1ea5834e$var$SSRContext);\n let counter = $c7eafbbe1ea5834e$var$useCounter(cur === $c7eafbbe1ea5834e$var$defaultContext);\n let [isSSR, setIsSSR] = (0, $bl59K$useState)(true);\n let value = (0, $bl59K$useMemo)(()=>({\n // If this is the first SSRProvider, start with an empty string prefix, otherwise\n // append and increment the counter.\n prefix: cur === $c7eafbbe1ea5834e$var$defaultContext ? '' : `${cur.prefix}-${counter}`,\n current: 0\n }), [\n cur,\n counter\n ]);\n // If on the client, and the component was initially server rendered,\n // then schedule a layout effect to update the component after hydration.\n if (typeof document !== 'undefined') // This if statement technically breaks the rules of hooks, but is safe\n // because the condition never changes after mounting.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n (0, $bl59K$useLayoutEffect)(()=>{\n setIsSSR(false);\n }, []);\n return /*#__PURE__*/ (0, $bl59K$react).createElement($c7eafbbe1ea5834e$var$SSRContext.Provider, {\n value: value\n }, /*#__PURE__*/ (0, $bl59K$react).createElement($c7eafbbe1ea5834e$var$IsSSRContext.Provider, {\n value: isSSR\n }, props.children));\n}\nlet $c7eafbbe1ea5834e$var$warnedAboutSSRProvider = false;\nfunction $c7eafbbe1ea5834e$export$9f8ac96af4b1b2ae(props) {\n if (typeof (0, $bl59K$react)['useId'] === 'function') {\n if (process.env.NODE_ENV !== 'test' && process.env.NODE_ENV !== 'production' && !$c7eafbbe1ea5834e$var$warnedAboutSSRProvider) {\n console.warn('In React 18, SSRProvider is not necessary and is a noop. You can remove it from your app.');\n $c7eafbbe1ea5834e$var$warnedAboutSSRProvider = true;\n }\n return /*#__PURE__*/ (0, $bl59K$react).createElement((0, $bl59K$react).Fragment, null, props.children);\n }\n return /*#__PURE__*/ (0, $bl59K$react).createElement($c7eafbbe1ea5834e$var$LegacySSRProvider, props);\n}\nlet $c7eafbbe1ea5834e$var$canUseDOM = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);\nlet $c7eafbbe1ea5834e$var$componentIds = new WeakMap();\nfunction $c7eafbbe1ea5834e$var$useCounter(isDisabled = false) {\n let ctx = (0, $bl59K$useContext)($c7eafbbe1ea5834e$var$SSRContext);\n let ref = (0, $bl59K$useRef)(null);\n // eslint-disable-next-line rulesdir/pure-render\n if (ref.current === null && !isDisabled) {\n // In strict mode, React renders components twice, and the ref will be reset to null on the second render.\n // This means our id counter will be incremented twice instead of once. This is a problem because on the\n // server, components are only rendered once and so ids generated on the server won't match the client.\n // In React 18, useId was introduced to solve this, but it is not available in older versions. So to solve this\n // we need to use some React internals to access the underlying Fiber instance, which is stable between renders.\n // This is exposed as ReactCurrentOwner in development, which is all we need since StrictMode only runs in development.\n // To ensure that we only increment the global counter once, we store the starting id for this component in\n // a weak map associated with the Fiber. On the second render, we reset the global counter to this value.\n // Since React runs the second render immediately after the first, this is safe.\n // @ts-ignore\n let currentOwner = (0, $bl59K$react).__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;\n if (currentOwner) {\n let prevComponentValue = $c7eafbbe1ea5834e$var$componentIds.get(currentOwner);\n if (prevComponentValue == null) // On the first render, and first call to useId, store the id and state in our weak map.\n $c7eafbbe1ea5834e$var$componentIds.set(currentOwner, {\n id: ctx.current,\n state: currentOwner.memoizedState\n });\n else if (currentOwner.memoizedState !== prevComponentValue.state) {\n // On the second render, the memoizedState gets reset by React.\n // Reset the counter, and remove from the weak map so we don't\n // do this for subsequent useId calls.\n ctx.current = prevComponentValue.id;\n $c7eafbbe1ea5834e$var$componentIds.delete(currentOwner);\n }\n }\n // eslint-disable-next-line rulesdir/pure-render\n ref.current = ++ctx.current;\n }\n // eslint-disable-next-line rulesdir/pure-render\n return ref.current;\n}\nfunction $c7eafbbe1ea5834e$var$useLegacySSRSafeId(defaultId) {\n let ctx = (0, $bl59K$useContext)($c7eafbbe1ea5834e$var$SSRContext);\n // If we are rendering in a non-DOM environment, and there's no SSRProvider,\n // provide a warning to hint to the developer to add one.\n if (ctx === $c7eafbbe1ea5834e$var$defaultContext && !$c7eafbbe1ea5834e$var$canUseDOM && process.env.NODE_ENV !== 'production') console.warn('When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.');\n let counter = $c7eafbbe1ea5834e$var$useCounter(!!defaultId);\n let prefix = ctx === $c7eafbbe1ea5834e$var$defaultContext && process.env.NODE_ENV === 'test' ? 'react-aria' : `react-aria${ctx.prefix}`;\n return defaultId || `${prefix}-${counter}`;\n}\nfunction $c7eafbbe1ea5834e$var$useModernSSRSafeId(defaultId) {\n let id = (0, $bl59K$react).useId();\n let [didSSR] = (0, $bl59K$useState)($c7eafbbe1ea5834e$export$535bd6ca7f90a273());\n let prefix = didSSR || process.env.NODE_ENV === 'test' ? 'react-aria' : `react-aria${$c7eafbbe1ea5834e$var$defaultContext.prefix}`;\n return defaultId || `${prefix}-${id}`;\n}\nconst $c7eafbbe1ea5834e$export$619500959fc48b26 = typeof (0, $bl59K$react)['useId'] === 'function' ? $c7eafbbe1ea5834e$var$useModernSSRSafeId : $c7eafbbe1ea5834e$var$useLegacySSRSafeId;\nfunction $c7eafbbe1ea5834e$var$getSnapshot() {\n return false;\n}\nfunction $c7eafbbe1ea5834e$var$getServerSnapshot() {\n return true;\n}\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $c7eafbbe1ea5834e$var$subscribe(onStoreChange) {\n // noop\n return ()=>{};\n}\nfunction $c7eafbbe1ea5834e$export$535bd6ca7f90a273() {\n // In React 18, we can use useSyncExternalStore to detect if we're server rendering or hydrating.\n if (typeof (0, $bl59K$react)['useSyncExternalStore'] === 'function') return (0, $bl59K$react)['useSyncExternalStore']($c7eafbbe1ea5834e$var$subscribe, $c7eafbbe1ea5834e$var$getSnapshot, $c7eafbbe1ea5834e$var$getServerSnapshot);\n // eslint-disable-next-line react-hooks/rules-of-hooks\n return (0, $bl59K$useContext)($c7eafbbe1ea5834e$var$IsSSRContext);\n}\n\n\nexport {$c7eafbbe1ea5834e$export$9f8ac96af4b1b2ae as SSRProvider, $c7eafbbe1ea5834e$export$535bd6ca7f90a273 as useIsSSR, $c7eafbbe1ea5834e$export$619500959fc48b26 as useSSRSafeId};\n//# sourceMappingURL=SSRProvider.mjs.map\n","import {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useState as $dPTrK$useState, useRef as $dPTrK$useRef, useCallback as $dPTrK$useCallback} from \"react\";\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\nfunction $1a716630a9e3a599$export$14d238f342723f25(defaultValue) {\n let [value, setValue] = (0, $dPTrK$useState)(defaultValue);\n // Keep an up to date copy of value in a ref so we can access the current value in the generator.\n // This allows us to maintain a stable queue function.\n let currValue = (0, $dPTrK$useRef)(value);\n let effect = (0, $dPTrK$useRef)(null);\n // Store the function in a ref so we can always access the current version\n // which has the proper `value` in scope.\n let nextRef = (0, $dPTrK$useRef)(()=>{\n if (!effect.current) return;\n // Run the generator to the next yield.\n let newValue = effect.current.next();\n // If the generator is done, reset the effect.\n if (newValue.done) {\n effect.current = null;\n return;\n }\n // If the value is the same as the current value,\n // then continue to the next yield. Otherwise,\n // set the value in state and wait for the next layout effect.\n if (currValue.current === newValue.value) nextRef.current();\n else setValue(newValue.value);\n });\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n currValue.current = value;\n // If there is an effect currently running, continue to the next yield.\n if (effect.current) nextRef.current();\n });\n let queue = (0, $dPTrK$useCallback)((fn)=>{\n effect.current = fn(currValue.current);\n nextRef.current();\n }, [\n nextRef\n ]);\n return [\n value,\n queue\n ];\n}\n\n\nexport {$1a716630a9e3a599$export$14d238f342723f25 as useValueEffect};\n//# sourceMappingURL=useValueEffect.mjs.map\n","import {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useSSRSafeId as $c7eafbbe1ea5834e$export$619500959fc48b26} from \"../ssr/SSRProvider.mjs\";\nimport {useValueEffect as $1a716630a9e3a599$export$14d238f342723f25} from \"./useValueEffect.mjs\";\nimport {useState as $4QKZm$useState, useRef as $4QKZm$useRef, useEffect as $4QKZm$useEffect, useCallback as $4QKZm$useCallback} from \"react\";\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// copied from SSRProvider.tsx to reduce exports, if needed again, consider sharing\nlet $390e54f620492c70$var$canUseDOM = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);\nlet $390e54f620492c70$export$d41a04c74483c6ef = new Map();\n// This allows us to clean up the idsUpdaterMap when the id is no longer used.\n// Map is a strong reference, so unused ids wouldn't be cleaned up otherwise.\n// This can happen in suspended components where mount/unmount is not called.\nlet $390e54f620492c70$var$registry;\nif (typeof FinalizationRegistry !== 'undefined') $390e54f620492c70$var$registry = new FinalizationRegistry((heldValue)=>{\n $390e54f620492c70$export$d41a04c74483c6ef.delete(heldValue);\n});\nfunction $390e54f620492c70$export$f680877a34711e37(defaultId) {\n let [value, setValue] = (0, $4QKZm$useState)(defaultId);\n let nextId = (0, $4QKZm$useRef)(null);\n let res = (0, $c7eafbbe1ea5834e$export$619500959fc48b26)(value);\n let cleanupRef = (0, $4QKZm$useRef)(null);\n if ($390e54f620492c70$var$registry) $390e54f620492c70$var$registry.register(cleanupRef, res);\n if ($390e54f620492c70$var$canUseDOM) {\n const cacheIdRef = $390e54f620492c70$export$d41a04c74483c6ef.get(res);\n if (cacheIdRef && !cacheIdRef.includes(nextId)) cacheIdRef.push(nextId);\n else $390e54f620492c70$export$d41a04c74483c6ef.set(res, [\n nextId\n ]);\n }\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n let r = res;\n return ()=>{\n // In Suspense, the cleanup function may be not called\n // when it is though, also remove it from the finalization registry.\n if ($390e54f620492c70$var$registry) $390e54f620492c70$var$registry.unregister(cleanupRef);\n $390e54f620492c70$export$d41a04c74483c6ef.delete(r);\n };\n }, [\n res\n ]);\n // This cannot cause an infinite loop because the ref is always cleaned up.\n // eslint-disable-next-line\n (0, $4QKZm$useEffect)(()=>{\n let newId = nextId.current;\n if (newId) setValue(newId);\n return ()=>{\n if (newId) nextId.current = null;\n };\n });\n return res;\n}\nfunction $390e54f620492c70$export$cd8c9cb68f842629(idA, idB) {\n if (idA === idB) return idA;\n let setIdsA = $390e54f620492c70$export$d41a04c74483c6ef.get(idA);\n if (setIdsA) {\n setIdsA.forEach((ref)=>ref.current = idB);\n return idB;\n }\n let setIdsB = $390e54f620492c70$export$d41a04c74483c6ef.get(idB);\n if (setIdsB) {\n setIdsB.forEach((ref)=>ref.current = idA);\n return idA;\n }\n return idB;\n}\nfunction $390e54f620492c70$export$b4cc09c592e8fdb8(depArray = []) {\n let id = $390e54f620492c70$export$f680877a34711e37();\n let [resolvedId, setResolvedId] = (0, $1a716630a9e3a599$export$14d238f342723f25)(id);\n let updateId = (0, $4QKZm$useCallback)(()=>{\n setResolvedId(function*() {\n yield id;\n yield document.getElementById(id) ? id : undefined;\n });\n }, [\n id,\n setResolvedId\n ]);\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(updateId, [\n id,\n updateId,\n ...depArray\n ]);\n return resolvedId;\n}\n\n\nexport {$390e54f620492c70$export$d41a04c74483c6ef as idsUpdaterMap, $390e54f620492c70$export$f680877a34711e37 as useId, $390e54f620492c70$export$cd8c9cb68f842629 as mergeIds, $390e54f620492c70$export$b4cc09c592e8fdb8 as useSlotId};\n//# sourceMappingURL=useId.mjs.map\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 */ function $4064df0d6f9620e1$export$c9058316764c140e(...refs) {\n if (refs.length === 1 && refs[0]) return refs[0];\n return (value)=>{\n let hasCleanup = false;\n const cleanups = refs.map((ref)=>{\n const cleanup = $4064df0d6f9620e1$var$setRef(ref, value);\n hasCleanup ||= typeof cleanup == 'function';\n return cleanup;\n });\n if (hasCleanup) return ()=>{\n cleanups.forEach((cleanup, i)=>{\n if (typeof cleanup === 'function') cleanup();\n else $4064df0d6f9620e1$var$setRef(refs[i], null);\n });\n };\n };\n}\nfunction $4064df0d6f9620e1$var$setRef(ref, value) {\n if (typeof ref === 'function') return ref(value);\n else if (ref != null) ref.current = value;\n}\n\n\nexport {$4064df0d6f9620e1$export$c9058316764c140e as mergeRefs};\n//# sourceMappingURL=mergeRefs.mjs.map\n","function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;","import {chain as $a4e76a5424781910$export$e08e3b67e392101e} from \"./chain.mjs\";\nimport {mergeIds as $390e54f620492c70$export$cd8c9cb68f842629} from \"./useId.mjs\";\nimport {mergeRefs as $4064df0d6f9620e1$export$c9058316764c140e} from \"./mergeRefs.mjs\";\nimport $aPpn7$clsx from \"clsx\";\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\nfunction $bbaa08b3cd72f041$export$9d1611c77c2fe928(...args) {\n // Start with a base clone of the first argument. This is a lot faster than starting\n // with an empty object and adding properties as we go.\n let result = {\n ...args[0]\n };\n for(let i = 1; i < args.length; i++){\n let props = args[i];\n for(let key in props){\n let a = result[key];\n let b = props[key];\n // Chain events\n if (typeof a === 'function' && typeof b === 'function' && // This is a lot faster than a regex.\n key[0] === 'o' && key[1] === 'n' && key.charCodeAt(2) >= /* 'A' */ 65 && key.charCodeAt(2) <= /* 'Z' */ 90) result[key] = (0, $a4e76a5424781910$export$e08e3b67e392101e)(a, b);\n else if ((key === 'className' || key === 'UNSAFE_className') && typeof a === 'string' && typeof b === 'string') result[key] = (0, $aPpn7$clsx)(a, b);\n else if (key === 'id' && a && b) result.id = (0, $390e54f620492c70$export$cd8c9cb68f842629)(a, b);\n else if (key === 'ref' && a && b) result.ref = (0, $4064df0d6f9620e1$export$c9058316764c140e)(a, b);\n else result[key] = b !== undefined ? b : a;\n }\n }\n return result;\n}\n\n\nexport {$bbaa08b3cd72f041$export$9d1611c77c2fe928 as mergeProps};\n//# sourceMappingURL=mergeProps.mjs.map\n","import {useRef as $i6EpZ$useRef, useCallback as $i6EpZ$useCallback, useMemo as $i6EpZ$useMemo} from \"react\";\n\n/*\n * Copyright 2021 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 $03e8ab2d84d7657a$export$4338b53315abf666(ref) {\n const objRef = (0, $i6EpZ$useRef)(null);\n const cleanupRef = (0, $i6EpZ$useRef)(undefined);\n const refEffect = (0, $i6EpZ$useCallback)((instance)=>{\n if (typeof ref === 'function') {\n const refCallback = ref;\n const refCleanup = refCallback(instance);\n return ()=>{\n if (typeof refCleanup === 'function') refCleanup();\n else refCallback(null);\n };\n } else if (ref) {\n ref.current = instance;\n return ()=>{\n ref.current = null;\n };\n }\n }, [\n ref\n ]);\n return (0, $i6EpZ$useMemo)(()=>({\n get current () {\n return objRef.current;\n },\n set current (value){\n objRef.current = value;\n if (cleanupRef.current) {\n cleanupRef.current();\n cleanupRef.current = undefined;\n }\n if (value != null) cleanupRef.current = refEffect(value);\n }\n }), [\n refEffect\n ]);\n}\n\n\nexport {$03e8ab2d84d7657a$export$4338b53315abf666 as useObjectRef};\n//# sourceMappingURL=useObjectRef.mjs.map\n","import {mergeProps as $ahdqC$mergeProps} from \"react-aria/mergeProps\";\nimport {mergeRefs as $ahdqC$mergeRefs} from \"react-aria/mergeRefs\";\nimport $ahdqC$react, {useMemo as $ahdqC$useMemo, useContext as $ahdqC$useContext, useState as $ahdqC$useState, useRef as $ahdqC$useRef, useCallback as $ahdqC$useCallback, forwardRef as $ahdqC$forwardRef} from \"react\";\nimport {useLayoutEffect as $ahdqC$useLayoutEffect} from \"react-aria/private/utils/useLayoutEffect\";\nimport {useObjectRef as $ahdqC$useObjectRef} from \"react-aria/useObjectRef\";\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\nconst $7230ffa83bc0c2cf$export$c62b8e45d58ddad9 = Symbol('default');\nfunction $7230ffa83bc0c2cf$export$2881499e37b75b9a({ values: values, children: children }) {\n for (let [Context, value] of values)// @ts-ignore\n children = /*#__PURE__*/ (0, $ahdqC$react).createElement(Context.Provider, {\n value: value\n }, children);\n return children;\n}\nfunction $7230ffa83bc0c2cf$export$4d86445c2cf5e3(props) {\n let { className: className, style: style, children: children, defaultClassName: defaultClassName, defaultChildren: defaultChildren, defaultStyle: defaultStyle, values: values, render: render } = props;\n return (0, $ahdqC$useMemo)(()=>{\n let computedClassName;\n let computedStyle;\n let computedChildren;\n if (typeof className === 'function') computedClassName = className({\n ...values,\n defaultClassName: defaultClassName\n });\n else computedClassName = className;\n if (typeof style === 'function') computedStyle = style({\n ...values,\n defaultStyle: defaultStyle || {}\n });\n else computedStyle = style;\n if (typeof children === 'function') computedChildren = children({\n ...values,\n defaultChildren: defaultChildren\n });\n else if (children == null) computedChildren = defaultChildren;\n else computedChildren = children;\n return {\n className: computedClassName ?? defaultClassName,\n style: computedStyle || defaultStyle ? {\n ...defaultStyle,\n ...computedStyle\n } : undefined,\n children: computedChildren ?? defaultChildren,\n 'data-rac': '',\n render: render ? (props)=>render(props, values) : undefined\n };\n }, [\n className,\n style,\n children,\n defaultClassName,\n defaultChildren,\n defaultStyle,\n values,\n render\n ]);\n}\nfunction $7230ffa83bc0c2cf$export$c245e6201fed2f75(// https://stackoverflow.com/questions/60898079/typescript-type-t-or-function-t-usage\nvalue, wrap) {\n return (renderProps)=>wrap(typeof value === 'function' ? value(renderProps) : value, renderProps);\n}\nfunction $7230ffa83bc0c2cf$export$fabf2dc03a41866e(context, slot) {\n let ctx = (0, $ahdqC$useContext)(context);\n if (slot === null) // An explicit `null` slot means don't use context.\n return null;\n if (ctx && typeof ctx === 'object' && 'slots' in ctx && ctx.slots) {\n let slotKey = slot || $7230ffa83bc0c2cf$export$c62b8e45d58ddad9;\n if (!ctx.slots[slotKey]) {\n let availableSlots = new Intl.ListFormat().format(Object.keys(ctx.slots).map((p)=>`\"${p}\"`));\n let errorMessage = slot ? `Invalid slot \"${slot}\".` : 'A slot prop is required.';\n throw new Error(`${errorMessage} Valid slot names are ${availableSlots}.`);\n }\n return ctx.slots[slotKey];\n }\n // @ts-ignore\n return ctx;\n}\nfunction $7230ffa83bc0c2cf$export$29f1550f4b0d4415(props, ref, context) {\n let ctx = $7230ffa83bc0c2cf$export$fabf2dc03a41866e(context, props.slot) || {};\n let { ref: contextRef, ...contextProps } = ctx;\n let mergedRef = (0, $ahdqC$useObjectRef)((0, $ahdqC$useMemo)(()=>(0, $ahdqC$mergeRefs)(ref, contextRef), [\n ref,\n contextRef\n ]));\n let mergedProps = (0, $ahdqC$mergeProps)(contextProps, props);\n // mergeProps does not merge `style`. Adding this there might be a breaking change.\n if ('style' in contextProps && contextProps.style && 'style' in props && props.style) {\n if (typeof contextProps.style === 'function' || typeof props.style === 'function') // @ts-ignore\n mergedProps.style = (renderProps)=>{\n let contextStyle = typeof contextProps.style === 'function' ? contextProps.style(renderProps) : contextProps.style;\n let defaultStyle = {\n ...renderProps.defaultStyle,\n ...contextStyle\n };\n let style = typeof props.style === 'function' ? props.style({\n ...renderProps,\n defaultStyle: defaultStyle\n }) : props.style;\n return {\n ...defaultStyle,\n ...style\n };\n };\n else // @ts-ignore\n mergedProps.style = {\n ...contextProps.style,\n ...props.style\n };\n }\n return [\n mergedProps,\n mergedRef\n ];\n}\nfunction $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8(initialState = true) {\n // Initial state is typically based on the parent having an aria-label or aria-labelledby.\n // If it does, this value should be false so that we don't update the state and cause a rerender when we go through the layoutEffect\n let [hasSlot, setHasSlot] = (0, $ahdqC$useState)(initialState);\n let hasRun = (0, $ahdqC$useRef)(false);\n // A callback ref which will run when the slotted element mounts.\n // This should happen before the useLayoutEffect below.\n let ref = (0, $ahdqC$useCallback)((el)=>{\n hasRun.current = true;\n setHasSlot(!!el);\n }, []);\n // If the callback hasn't been called, then reset to false.\n (0, $ahdqC$useLayoutEffect)(()=>{\n if (!hasRun.current) setHasSlot(false);\n }, []);\n return [\n ref,\n hasSlot\n ];\n}\nfunction $7230ffa83bc0c2cf$export$ef03459518577ad4(props) {\n const prefix = /^(data-.*)$/;\n let filteredProps = {};\n for(const prop in props)if (!prefix.test(prop)) filteredProps[prop] = props[prop];\n return filteredProps;\n}\nfunction $7230ffa83bc0c2cf$var$DOMElement(ElementType, props, forwardedRef) {\n let { render: render, ...otherProps } = props;\n let elementRef = (0, $ahdqC$useRef)(null);\n let ref = (0, $ahdqC$useMemo)(()=>(0, $ahdqC$mergeRefs)(forwardedRef, elementRef), [\n forwardedRef,\n elementRef\n ]);\n (0, $ahdqC$useLayoutEffect)(()=>{\n if (process.env.NODE_ENV !== 'production' && render) {\n if (!elementRef.current) console.warn('Ref was not connected to DOM element returned by custom `render` function. Did you forget to pass through or merge the `ref`?');\n else if (elementRef.current.localName !== ElementType) console.warn(`Unexpected DOM element returned by custom \\`render\\` function. Expected <${ElementType}>, got <${elementRef.current.localName}>. This may break the component behavior and accessibility.`);\n }\n }, [\n ElementType,\n render\n ]);\n let domProps = {\n ...otherProps,\n ref: ref\n };\n if (render) return render(domProps, undefined);\n return /*#__PURE__*/ (0, $ahdqC$react).createElement(ElementType, domProps);\n}\nconst $7230ffa83bc0c2cf$var$domComponentCache = {};\nconst $7230ffa83bc0c2cf$export$df3a06d6289f983e = new Proxy({}, {\n get (target, elementType) {\n if (typeof elementType !== 'string') return undefined;\n let res = $7230ffa83bc0c2cf$var$domComponentCache[elementType];\n if (!res) {\n res = /*#__PURE__*/ (0, $ahdqC$forwardRef)($7230ffa83bc0c2cf$var$DOMElement.bind(null, elementType));\n $7230ffa83bc0c2cf$var$domComponentCache[elementType] = res;\n }\n return res;\n }\n});\n\n\nexport {$7230ffa83bc0c2cf$export$c62b8e45d58ddad9 as DEFAULT_SLOT, $7230ffa83bc0c2cf$export$2881499e37b75b9a as Provider, $7230ffa83bc0c2cf$export$4d86445c2cf5e3 as useRenderProps, $7230ffa83bc0c2cf$export$c245e6201fed2f75 as composeRenderProps, $7230ffa83bc0c2cf$export$fabf2dc03a41866e as useSlottedContext, $7230ffa83bc0c2cf$export$29f1550f4b0d4415 as useContextProps, $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8 as useSlot, $7230ffa83bc0c2cf$export$ef03459518577ad4 as removeDataAttributes, $7230ffa83bc0c2cf$export$df3a06d6289f983e as dom};\n//# sourceMappingURL=utils.mjs.map\n","const $d447af545b77c9f1$export$b204af158042fbac = (el)=>{\n return el?.ownerDocument ?? document;\n};\nconst $d447af545b77c9f1$export$f21a1ffae260145a = (el)=>{\n if (el && 'window' in el && el.window === el) return el;\n const doc = $d447af545b77c9f1$export$b204af158042fbac(el);\n return doc.defaultView || window;\n};\n/**\n * Type guard that checks if a value is a Node. Verifies the presence and type of the nodeType property.\n */ function $d447af545b77c9f1$var$isNode(value) {\n return value !== null && typeof value === 'object' && 'nodeType' in value && typeof value.nodeType === 'number';\n}\nfunction $d447af545b77c9f1$export$af51f0f06c0f328a(node) {\n return $d447af545b77c9f1$var$isNode(node) && node.nodeType === Node.DOCUMENT_FRAGMENT_NODE && 'host' in node;\n}\n\n\nexport {$d447af545b77c9f1$export$b204af158042fbac as getOwnerDocument, $d447af545b77c9f1$export$f21a1ffae260145a as getOwnerWindow, $d447af545b77c9f1$export$af51f0f06c0f328a as isShadowRoot};\n//# sourceMappingURL=domHelpers.mjs.map\n","/*\n * Copyright 2023 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 */ let $6a20a7989e6c817a$var$_tableNestedRows = false;\nlet $6a20a7989e6c817a$var$_shadowDOM = false;\nfunction $6a20a7989e6c817a$export$d9d8a0f82de49530() {\n $6a20a7989e6c817a$var$_tableNestedRows = true;\n}\nfunction $6a20a7989e6c817a$export$1b00cb14a96194e6() {\n return $6a20a7989e6c817a$var$_tableNestedRows;\n}\nfunction $6a20a7989e6c817a$export$12b151d9882e9985() {\n $6a20a7989e6c817a$var$_shadowDOM = true;\n}\nfunction $6a20a7989e6c817a$export$98658e8c59125e6a() {\n return $6a20a7989e6c817a$var$_shadowDOM;\n}\n\n\nexport {$6a20a7989e6c817a$export$d9d8a0f82de49530 as enableTableNestedRows, $6a20a7989e6c817a$export$1b00cb14a96194e6 as tableNestedRows, $6a20a7989e6c817a$export$12b151d9882e9985 as enableShadowDOM, $6a20a7989e6c817a$export$98658e8c59125e6a as shadowDOM};\n//# sourceMappingURL=flags.mjs.map\n","import {getOwnerWindow as $d447af545b77c9f1$export$f21a1ffae260145a, isShadowRoot as $d447af545b77c9f1$export$af51f0f06c0f328a} from \"../domHelpers.mjs\";\nimport {shadowDOM as $eXv8n$shadowDOM} from \"react-stately/private/flags/flags\";\n\n// Source: https://github.com/microsoft/tabster/blob/a89fc5d7e332d48f68d03b1ca6e344489d1c3898/src/Shadowdomize/DOMFunctions.ts#L16\n/* eslint-disable rsp-rules/no-non-shadow-contains, rsp-rules/safe-event-target */ \n\nfunction $23f2114a1b82827e$export$4282f70798064fe0(node, otherNode) {\n if (!(0, $eXv8n$shadowDOM)()) return otherNode && node ? node.contains(otherNode) : false;\n if (!node || !otherNode) return false;\n let currentNode = otherNode;\n while(currentNode !== null){\n if (currentNode === node) return true;\n if (currentNode.tagName === 'SLOT' && currentNode.assignedSlot) // Element is slotted\n currentNode = currentNode.assignedSlot.parentNode;\n else if ((0, $d447af545b77c9f1$export$af51f0f06c0f328a)(currentNode)) // Element is in shadow root\n currentNode = currentNode.host;\n else currentNode = currentNode.parentNode;\n }\n return false;\n}\nconst $23f2114a1b82827e$export$cd4e5573fbe2b576 = (doc = document)=>{\n if (!(0, $eXv8n$shadowDOM)()) return doc.activeElement;\n let activeElement = doc.activeElement;\n while(activeElement && 'shadowRoot' in activeElement && activeElement.shadowRoot?.activeElement)activeElement = activeElement.shadowRoot.activeElement;\n return activeElement;\n};\nfunction $23f2114a1b82827e$export$e58f029f0fbfdb29(event) {\n if ((0, $eXv8n$shadowDOM)() && event.target instanceof Element && event.target.shadowRoot) {\n if ('composedPath' in event) return event.composedPath()[0] ?? null;\n else if ('composedPath' in event.nativeEvent) return event.nativeEvent.composedPath()[0] ?? null;\n }\n return event.target;\n}\nfunction $23f2114a1b82827e$export$b4f377a2b6254582(node) {\n if (!node) return false;\n // Get the active element within the node's parent shadow root (or the document). Can return null.\n let root = node.getRootNode();\n let ownerWindow = (0, $d447af545b77c9f1$export$f21a1ffae260145a)(node);\n if (!(root instanceof ownerWindow.Document || root instanceof ownerWindow.ShadowRoot)) return false;\n let activeElement = root.activeElement;\n // Check if the active element is within this node. These nodes are within the same shadow root.\n return activeElement != null && node.contains(activeElement);\n}\n\n\nexport {$23f2114a1b82827e$export$4282f70798064fe0 as nodeContains, $23f2114a1b82827e$export$cd4e5573fbe2b576 as getActiveElement, $23f2114a1b82827e$export$e58f029f0fbfdb29 as getEventTarget, $23f2114a1b82827e$export$b4f377a2b6254582 as isFocusWithin};\n//# sourceMappingURL=DOMFunctions.mjs.map\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 */ function $1969ac565cfec8d0$export$de79e2c695e052f3(element) {\n if ($1969ac565cfec8d0$var$supportsPreventScroll()) element.focus({\n preventScroll: true\n });\n else {\n let scrollableElements = $1969ac565cfec8d0$var$getScrollableElements(element);\n element.focus();\n $1969ac565cfec8d0$var$restoreScrollPosition(scrollableElements);\n }\n}\nlet $1969ac565cfec8d0$var$supportsPreventScrollCached = null;\nfunction $1969ac565cfec8d0$var$supportsPreventScroll() {\n if ($1969ac565cfec8d0$var$supportsPreventScrollCached == null) {\n $1969ac565cfec8d0$var$supportsPreventScrollCached = false;\n try {\n let focusElem = document.createElement('div');\n focusElem.focus({\n get preventScroll () {\n $1969ac565cfec8d0$var$supportsPreventScrollCached = true;\n return true;\n }\n });\n } catch {\n // Ignore\n }\n }\n return $1969ac565cfec8d0$var$supportsPreventScrollCached;\n}\nfunction $1969ac565cfec8d0$var$getScrollableElements(element) {\n let parent = element.parentNode;\n let scrollableElements = [];\n let rootScrollingElement = document.scrollingElement || document.documentElement;\n while(parent instanceof HTMLElement && parent !== rootScrollingElement){\n if (parent.offsetHeight < parent.scrollHeight || parent.offsetWidth < parent.scrollWidth) scrollableElements.push({\n element: parent,\n scrollTop: parent.scrollTop,\n scrollLeft: parent.scrollLeft\n });\n parent = parent.parentNode;\n }\n if (rootScrollingElement instanceof HTMLElement) scrollableElements.push({\n element: rootScrollingElement,\n scrollTop: rootScrollingElement.scrollTop,\n scrollLeft: rootScrollingElement.scrollLeft\n });\n return scrollableElements;\n}\nfunction $1969ac565cfec8d0$var$restoreScrollPosition(scrollableElements) {\n for (let { element: element, scrollTop: scrollTop, scrollLeft: scrollLeft } of scrollableElements){\n element.scrollTop = scrollTop;\n element.scrollLeft = scrollLeft;\n }\n}\n\n\nexport {$1969ac565cfec8d0$export$de79e2c695e052f3 as focusWithoutScrolling};\n//# sourceMappingURL=focusWithoutScrolling.mjs.map\n","import {getOwnerWindow as $d447af545b77c9f1$export$f21a1ffae260145a} from \"./domHelpers.mjs\";\n\n/*\n * Copyright 2021 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 */ \nconst $ae77152785188400$var$supportsCheckVisibility = typeof Element !== 'undefined' && 'checkVisibility' in Element.prototype;\nfunction $ae77152785188400$var$isStyleVisible(element) {\n const windowObject = (0, $d447af545b77c9f1$export$f21a1ffae260145a)(element);\n if (!(element instanceof windowObject.HTMLElement) && !(element instanceof windowObject.SVGElement)) return false;\n let { display: display, visibility: visibility } = element.style;\n let isVisible = display !== 'none' && visibility !== 'hidden' && visibility !== 'collapse';\n if (isVisible) {\n const { getComputedStyle: getComputedStyle } = element.ownerDocument.defaultView;\n let { display: computedDisplay, visibility: computedVisibility } = getComputedStyle(element);\n isVisible = computedDisplay !== 'none' && computedVisibility !== 'hidden' && computedVisibility !== 'collapse';\n }\n return isVisible;\n}\nfunction $ae77152785188400$var$isAttributeVisible(element, childElement) {\n return !element.hasAttribute('hidden') && // Ignore HiddenSelect when tree walking.\n !element.hasAttribute('data-react-aria-prevent-focus') && (element.nodeName === 'DETAILS' && childElement && childElement.nodeName !== 'SUMMARY' ? element.hasAttribute('open') : true);\n}\nfunction $ae77152785188400$export$e989c0fffaa6b27a(element, childElement) {\n if ($ae77152785188400$var$supportsCheckVisibility) return element.checkVisibility({\n visibilityProperty: true\n }) && !element.closest('[data-react-aria-prevent-focus]');\n return element.nodeName !== '#comment' && $ae77152785188400$var$isStyleVisible(element) && $ae77152785188400$var$isAttributeVisible(element, childElement) && (!element.parentElement || $ae77152785188400$export$e989c0fffaa6b27a(element.parentElement, element));\n}\n\n\nexport {$ae77152785188400$export$e989c0fffaa6b27a as isElementVisible};\n//# sourceMappingURL=isElementVisible.mjs.map\n","import {isElementVisible as $ae77152785188400$export$e989c0fffaa6b27a} from \"./isElementVisible.mjs\";\n\n/*\n * Copyright 2025 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 */ \nconst $3b8b240c1bf84ab9$var$focusableElements = [\n 'input:not([disabled]):not([type=hidden])',\n 'select:not([disabled])',\n 'textarea:not([disabled])',\n 'button:not([disabled])',\n 'a[href]',\n 'area[href]',\n 'summary',\n 'iframe',\n 'object',\n 'embed',\n 'audio[controls]',\n 'video[controls]',\n '[contenteditable]:not([contenteditable^=\"false\"])',\n 'permission'\n];\nconst $3b8b240c1bf84ab9$var$FOCUSABLE_ELEMENT_SELECTOR = $3b8b240c1bf84ab9$var$focusableElements.join(':not([hidden]),') + ',[tabindex]:not([disabled]):not([hidden])';\n$3b8b240c1bf84ab9$var$focusableElements.push('[tabindex]:not([tabindex=\"-1\"]):not([disabled])');\nconst $3b8b240c1bf84ab9$var$TABBABLE_ELEMENT_SELECTOR = $3b8b240c1bf84ab9$var$focusableElements.join(':not([hidden]):not([tabindex=\"-1\"]),');\nfunction $3b8b240c1bf84ab9$export$4c063cf1350e6fed(element, options) {\n return element.matches($3b8b240c1bf84ab9$var$FOCUSABLE_ELEMENT_SELECTOR) && !$3b8b240c1bf84ab9$var$isInert(element) && (options?.skipVisibilityCheck || (0, $ae77152785188400$export$e989c0fffaa6b27a)(element));\n}\nfunction $3b8b240c1bf84ab9$export$bebd5a1431fec25d(element) {\n return element.matches($3b8b240c1bf84ab9$var$TABBABLE_ELEMENT_SELECTOR) && (0, $ae77152785188400$export$e989c0fffaa6b27a)(element) && !$3b8b240c1bf84ab9$var$isInert(element);\n}\nfunction $3b8b240c1bf84ab9$var$isInert(element) {\n let node = element;\n while(node != null){\n if (node instanceof node.ownerDocument.defaultView.HTMLElement && node.inert) return true;\n node = node.parentElement;\n }\n return false;\n}\n\n\nexport {$3b8b240c1bf84ab9$export$4c063cf1350e6fed as isFocusable, $3b8b240c1bf84ab9$export$bebd5a1431fec25d as isTabbable};\n//# sourceMappingURL=isFocusable.mjs.map\n","import {focusWithoutScrolling as $1969ac565cfec8d0$export$de79e2c695e052f3} from \"../utils/focusWithoutScrolling.mjs\";\nimport {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576, getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getOwnerWindow as $d447af545b77c9f1$export$f21a1ffae260145a} from \"../utils/domHelpers.mjs\";\nimport {isFocusable as $3b8b240c1bf84ab9$export$4c063cf1350e6fed} from \"../utils/isFocusable.mjs\";\nimport {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"../utils/useLayoutEffect.mjs\";\nimport {useRef as $lIB5W$useRef, useCallback as $lIB5W$useCallback} from \"react\";\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\n\nfunction $a92dc41f639950be$export$525bc4921d56d4a(nativeEvent) {\n let event = nativeEvent;\n event.nativeEvent = nativeEvent;\n event.isDefaultPrevented = ()=>event.defaultPrevented;\n // cancelBubble is technically deprecated in the spec, but still supported in all browsers.\n event.isPropagationStopped = ()=>event.cancelBubble;\n event.persist = ()=>{};\n return event;\n}\nfunction $a92dc41f639950be$export$c2b7abe5d61ec696(event, target) {\n Object.defineProperty(event, 'target', {\n value: target\n });\n Object.defineProperty(event, 'currentTarget', {\n value: target\n });\n}\nfunction $a92dc41f639950be$export$715c682d09d639cc(onBlur) {\n let stateRef = (0, $lIB5W$useRef)({\n isFocused: false,\n observer: null\n });\n // Clean up MutationObserver on unmount. See below.\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n const state = stateRef.current;\n return ()=>{\n if (state.observer) {\n state.observer.disconnect();\n state.observer = null;\n }\n };\n }, []);\n // This function is called during a React onFocus event.\n return (0, $lIB5W$useCallback)((e)=>{\n // React does not fire onBlur when an element is disabled. https://github.com/facebook/react/issues/9142\n // Most browsers fire a native focusout event in this case, except for Firefox. In that case, we use a\n // MutationObserver to watch for the disabled attribute, and dispatch these events ourselves.\n // For browsers that do, focusout fires before the MutationObserver, so onBlur should not fire twice.\n let eventTarget = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n if (eventTarget instanceof HTMLButtonElement || eventTarget instanceof HTMLInputElement || eventTarget instanceof HTMLTextAreaElement || eventTarget instanceof HTMLSelectElement) {\n stateRef.current.isFocused = true;\n let target = eventTarget;\n let onBlurHandler = (e)=>{\n stateRef.current.isFocused = false;\n if (target.disabled) {\n // For backward compatibility, dispatch a (fake) React synthetic event.\n let event = $a92dc41f639950be$export$525bc4921d56d4a(e);\n onBlur?.(event);\n }\n // We no longer need the MutationObserver once the target is blurred.\n if (stateRef.current.observer) {\n stateRef.current.observer.disconnect();\n stateRef.current.observer = null;\n }\n };\n target.addEventListener('focusout', onBlurHandler, {\n once: true\n });\n stateRef.current.observer = new MutationObserver(()=>{\n if (stateRef.current.isFocused && target.disabled) {\n stateRef.current.observer?.disconnect();\n let relatedTargetEl = target === (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)() ? null : (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)();\n target.dispatchEvent(new FocusEvent('blur', {\n relatedTarget: relatedTargetEl\n }));\n target.dispatchEvent(new FocusEvent('focusout', {\n bubbles: true,\n relatedTarget: relatedTargetEl\n }));\n }\n });\n stateRef.current.observer.observe(target, {\n attributes: true,\n attributeFilter: [\n 'disabled'\n ]\n });\n }\n }, [\n onBlur\n ]);\n}\nlet $a92dc41f639950be$export$fda7da73ab5d4c48 = false;\nfunction $a92dc41f639950be$export$cabe61c495ee3649(target) {\n // The browser will focus the nearest focusable ancestor of our target.\n while(target && !(0, $3b8b240c1bf84ab9$export$4c063cf1350e6fed)(target, {\n skipVisibilityCheck: true\n }))target = target.parentElement;\n let window = (0, $d447af545b77c9f1$export$f21a1ffae260145a)(target);\n let activeElement = window.document.activeElement;\n if (!activeElement || activeElement === target) return;\n $a92dc41f639950be$export$fda7da73ab5d4c48 = true;\n let isRefocusing = false;\n let onBlur = (e)=>{\n if ((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) === activeElement || isRefocusing) e.stopImmediatePropagation();\n };\n let onFocusOut = (e)=>{\n if ((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) === activeElement || isRefocusing) {\n e.stopImmediatePropagation();\n // If there was no focusable ancestor, we don't expect a focus event.\n // Re-focus the original active element here.\n if (!target && !isRefocusing) {\n isRefocusing = true;\n (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(activeElement);\n cleanup();\n }\n }\n };\n let onFocus = (e)=>{\n if ((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) === target || isRefocusing) e.stopImmediatePropagation();\n };\n let onFocusIn = (e)=>{\n if ((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) === target || isRefocusing) {\n e.stopImmediatePropagation();\n if (!isRefocusing) {\n isRefocusing = true;\n (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(activeElement);\n cleanup();\n }\n }\n };\n window.addEventListener('blur', onBlur, true);\n window.addEventListener('focusout', onFocusOut, true);\n window.addEventListener('focusin', onFocusIn, true);\n window.addEventListener('focus', onFocus, true);\n let cleanup = ()=>{\n cancelAnimationFrame(raf);\n window.removeEventListener('blur', onBlur, true);\n window.removeEventListener('focusout', onFocusOut, true);\n window.removeEventListener('focusin', onFocusIn, true);\n window.removeEventListener('focus', onFocus, true);\n $a92dc41f639950be$export$fda7da73ab5d4c48 = false;\n isRefocusing = false;\n };\n let raf = requestAnimationFrame(cleanup);\n return cleanup;\n}\n\n\nexport {$a92dc41f639950be$export$525bc4921d56d4a as createSyntheticEvent, $a92dc41f639950be$export$c2b7abe5d61ec696 as setEventTarget, $a92dc41f639950be$export$715c682d09d639cc as useSyntheticBlurEvent, $a92dc41f639950be$export$fda7da73ab5d4c48 as ignoreFocusEvent, $a92dc41f639950be$export$cabe61c495ee3649 as preventFocus};\n//# sourceMappingURL=utils.mjs.map\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 */ function $2add3ce32c6007eb$var$testUserAgent(re) {\n if (typeof window === 'undefined' || window.navigator == null) return false;\n let brands = window.navigator['userAgentData']?.brands;\n return Array.isArray(brands) && brands.some((brand)=>re.test(brand.brand)) || re.test(window.navigator.userAgent);\n}\nfunction $2add3ce32c6007eb$var$testPlatform(re) {\n return typeof window !== 'undefined' && window.navigator != null ? re.test(window.navigator['userAgentData']?.platform || window.navigator.platform) : false;\n}\nfunction $2add3ce32c6007eb$var$cached(fn) {\n if (process.env.NODE_ENV === 'test') return fn;\n let res = null;\n return ()=>{\n if (res == null) res = fn();\n return res;\n };\n}\nconst $2add3ce32c6007eb$export$9ac100e40613ea10 = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$var$testPlatform(/^Mac/i);\n});\nconst $2add3ce32c6007eb$export$186c6964ca17d99 = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$var$testPlatform(/^iPhone/i);\n});\nconst $2add3ce32c6007eb$export$7bef049ce92e4224 = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$var$testPlatform(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.\n $2add3ce32c6007eb$export$9ac100e40613ea10() && navigator.maxTouchPoints > 1;\n});\nconst $2add3ce32c6007eb$export$fedb369cb70207f1 = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$export$186c6964ca17d99() || $2add3ce32c6007eb$export$7bef049ce92e4224();\n});\nconst $2add3ce32c6007eb$export$e1865c3bedcd822b = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$export$9ac100e40613ea10() || $2add3ce32c6007eb$export$fedb369cb70207f1();\n});\nconst $2add3ce32c6007eb$export$78551043582a6a98 = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$var$testUserAgent(/AppleWebKit/i) && !$2add3ce32c6007eb$export$6446a186d09e379e();\n});\nconst $2add3ce32c6007eb$export$6446a186d09e379e = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$var$testUserAgent(/Chrome/i);\n});\nconst $2add3ce32c6007eb$export$a11b0059900ceec8 = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$var$testUserAgent(/Android/i);\n});\nconst $2add3ce32c6007eb$export$b7d78993b74f766d = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$var$testUserAgent(/Firefox/i);\n});\n\n\nexport {$2add3ce32c6007eb$export$9ac100e40613ea10 as isMac, $2add3ce32c6007eb$export$186c6964ca17d99 as isIPhone, $2add3ce32c6007eb$export$7bef049ce92e4224 as isIPad, $2add3ce32c6007eb$export$fedb369cb70207f1 as isIOS, $2add3ce32c6007eb$export$e1865c3bedcd822b as isAppleDevice, $2add3ce32c6007eb$export$78551043582a6a98 as isWebKit, $2add3ce32c6007eb$export$6446a186d09e379e as isChrome, $2add3ce32c6007eb$export$a11b0059900ceec8 as isAndroid, $2add3ce32c6007eb$export$b7d78993b74f766d as isFirefox};\n//# sourceMappingURL=platform.mjs.map\n","import {isAndroid as $2add3ce32c6007eb$export$a11b0059900ceec8} from \"./platform.mjs\";\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 */ \nfunction $b5c62b033c25b96d$export$60278871457622de(event) {\n // JAWS/NVDA with Firefox.\n if (event.pointerType === '' && event.isTrusted) return true;\n // Android TalkBack's detail value varies depending on the event listener providing the event so we have specific logic here instead\n // If pointerType is defined, event is from a click listener. For events from mousedown listener, detail === 0 is a sufficient check\n // to detect TalkBack virtual clicks.\n if ((0, $2add3ce32c6007eb$export$a11b0059900ceec8)() && event.pointerType) return event.type === 'click' && event.buttons === 1;\n return event.detail === 0 && !event.pointerType;\n}\nfunction $b5c62b033c25b96d$export$29bf1b5f2c56cf63(event) {\n // If the pointer size is zero, then we assume it's from a screen reader.\n // Android TalkBack double tap will sometimes return a event with width and height of 1\n // and pointerType === 'mouse' so we need to check for a specific combination of event attributes.\n // Cannot use \"event.pressure === 0\" as the sole check due to Safari pointer events always returning pressure === 0\n // instead of .5, see https://bugs.webkit.org/show_bug.cgi?id=206216. event.pointerType === 'mouse' is to distingush\n // Talkback double tap from Windows Firefox touch screen press\n return !(0, $2add3ce32c6007eb$export$a11b0059900ceec8)() && event.width === 0 && event.height === 0 || event.width === 1 && event.height === 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === 'mouse';\n}\n\n\nexport {$b5c62b033c25b96d$export$60278871457622de as isVirtualClick, $b5c62b033c25b96d$export$29bf1b5f2c56cf63 as isVirtualPointerEvent};\n//# sourceMappingURL=isVirtualEvent.mjs.map\n","import {focusWithoutScrolling as $1969ac565cfec8d0$export$de79e2c695e052f3} from \"./focusWithoutScrolling.mjs\";\nimport {isFirefox as $2add3ce32c6007eb$export$b7d78993b74f766d, isIPad as $2add3ce32c6007eb$export$7bef049ce92e4224, isMac as $2add3ce32c6007eb$export$9ac100e40613ea10, isWebKit as $2add3ce32c6007eb$export$78551043582a6a98} from \"./platform.mjs\";\nimport $epzQQ$react, {createContext as $epzQQ$createContext, useMemo as $epzQQ$useMemo, useContext as $epzQQ$useContext} from \"react\";\n\n/*\n * Copyright 2023 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\nconst $caaf0dd3060ed57c$var$RouterContext = /*#__PURE__*/ (0, $epzQQ$createContext)({\n isNative: true,\n open: $caaf0dd3060ed57c$var$openSyntheticLink,\n useHref: (href)=>href\n});\nfunction $caaf0dd3060ed57c$export$323e4fc2fa4753fb(props) {\n let { children: children, navigate: navigate, useHref: useHref } = props;\n let ctx = (0, $epzQQ$useMemo)(()=>({\n isNative: false,\n open: (target, modifiers, href, routerOptions)=>{\n $caaf0dd3060ed57c$var$getSyntheticLink(target, (link)=>{\n if ($caaf0dd3060ed57c$export$efa8c9099e530235(link, modifiers)) navigate(href, routerOptions);\n else $caaf0dd3060ed57c$export$95185d699e05d4d7(link, modifiers);\n });\n },\n useHref: useHref || ((href)=>href)\n }), [\n navigate,\n useHref\n ]);\n return /*#__PURE__*/ (0, $epzQQ$react).createElement($caaf0dd3060ed57c$var$RouterContext.Provider, {\n value: ctx\n }, children);\n}\nfunction $caaf0dd3060ed57c$export$9a302a45f65d0572() {\n return (0, $epzQQ$useContext)($caaf0dd3060ed57c$var$RouterContext);\n}\nfunction $caaf0dd3060ed57c$export$efa8c9099e530235(link, modifiers) {\n // Use getAttribute here instead of link.target. Firefox will default link.target to \"_parent\" when inside an iframe.\n let target = link.getAttribute('target');\n return (!target || target === '_self') && link.origin === location.origin && !link.hasAttribute('download') && !modifiers.metaKey && // open in new tab (mac)\n !modifiers.ctrlKey && // open in new tab (windows)\n !modifiers.altKey && // download\n !modifiers.shiftKey;\n}\nfunction $caaf0dd3060ed57c$export$95185d699e05d4d7(target, modifiers, setOpening = true) {\n let { metaKey: metaKey, ctrlKey: ctrlKey, altKey: altKey, shiftKey: shiftKey } = modifiers;\n // Firefox does not recognize keyboard events as a user action by default, and the popup blocker\n // will prevent links with target=\"_blank\" from opening. However, it does allow the event if the\n // Command/Control key is held, which opens the link in a background tab. This seems like the best we can do.\n // See https://bugzilla.mozilla.org/show_bug.cgi?id=257870 and https://bugzilla.mozilla.org/show_bug.cgi?id=746640.\n if ((0, $2add3ce32c6007eb$export$b7d78993b74f766d)() && window.event?.type?.startsWith('key') && target.target === '_blank') {\n if ((0, $2add3ce32c6007eb$export$9ac100e40613ea10)()) metaKey = true;\n else ctrlKey = true;\n }\n // WebKit does not support firing click events with modifier keys, but does support keyboard events.\n // https://github.com/WebKit/WebKit/blob/c03d0ac6e6db178f90923a0a63080b5ca210d25f/Source/WebCore/html/HTMLAnchorElement.cpp#L184\n let event = (0, $2add3ce32c6007eb$export$78551043582a6a98)() && (0, $2add3ce32c6007eb$export$9ac100e40613ea10)() && !(0, $2add3ce32c6007eb$export$7bef049ce92e4224)() && process.env.NODE_ENV !== 'test' ? new KeyboardEvent('keydown', {\n keyIdentifier: 'Enter',\n metaKey: metaKey,\n ctrlKey: ctrlKey,\n altKey: altKey,\n shiftKey: shiftKey\n }) : new MouseEvent('click', {\n metaKey: metaKey,\n ctrlKey: ctrlKey,\n altKey: altKey,\n shiftKey: shiftKey,\n detail: 1,\n bubbles: true,\n cancelable: true\n });\n $caaf0dd3060ed57c$export$95185d699e05d4d7.isOpening = setOpening;\n (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(target);\n target.dispatchEvent(event);\n $caaf0dd3060ed57c$export$95185d699e05d4d7.isOpening = false;\n}\n// https://github.com/parcel-bundler/parcel/issues/8724\n$caaf0dd3060ed57c$export$95185d699e05d4d7.isOpening = false;\nfunction $caaf0dd3060ed57c$var$getSyntheticLink(target, open) {\n if (target instanceof HTMLAnchorElement) open(target);\n else if (target.hasAttribute('data-href')) {\n let link = document.createElement('a');\n link.href = target.getAttribute('data-href');\n if (target.hasAttribute('data-target')) link.target = target.getAttribute('data-target');\n if (target.hasAttribute('data-rel')) link.rel = target.getAttribute('data-rel');\n if (target.hasAttribute('data-download')) link.download = target.getAttribute('data-download');\n if (target.hasAttribute('data-ping')) link.ping = target.getAttribute('data-ping');\n if (target.hasAttribute('data-referrer-policy')) link.referrerPolicy = target.getAttribute('data-referrer-policy');\n target.appendChild(link);\n open(link);\n target.removeChild(link);\n }\n}\nfunction $caaf0dd3060ed57c$var$openSyntheticLink(target, modifiers) {\n $caaf0dd3060ed57c$var$getSyntheticLink(target, (link)=>$caaf0dd3060ed57c$export$95185d699e05d4d7(link, modifiers));\n}\nfunction $caaf0dd3060ed57c$export$bdc77b0c0a3a85d6(props) {\n let router = $caaf0dd3060ed57c$export$9a302a45f65d0572();\n const href = router.useHref(props.href ?? '');\n return {\n 'data-href': props.href ? href : undefined,\n 'data-target': props.target,\n 'data-rel': props.rel,\n 'data-download': props.download,\n 'data-ping': props.ping,\n 'data-referrer-policy': props.referrerPolicy\n };\n}\nfunction $caaf0dd3060ed57c$export$51437d503373d223(props) {\n return {\n 'data-href': props.href,\n 'data-target': props.target,\n 'data-rel': props.rel,\n 'data-download': props.download,\n 'data-ping': props.ping,\n 'data-referrer-policy': props.referrerPolicy\n };\n}\nfunction $caaf0dd3060ed57c$export$7e924b3091a3bd18(props) {\n let router = $caaf0dd3060ed57c$export$9a302a45f65d0572();\n const href = router.useHref(props?.href ?? '');\n return {\n href: props?.href ? href : undefined,\n target: props?.target,\n rel: props?.rel,\n download: props?.download,\n ping: props?.ping,\n referrerPolicy: props?.referrerPolicy\n };\n}\nfunction $caaf0dd3060ed57c$export$13aea1a3cb5e3f1f(e, router, href, routerOptions) {\n // If a custom router is provided, prevent default and forward if this link should client navigate.\n if (!router.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && // If props are applied to a router Link component, it may have already prevented default.\n !e.isDefaultPrevented() && $caaf0dd3060ed57c$export$efa8c9099e530235(e.currentTarget, e) && href) {\n e.preventDefault();\n router.open(e.currentTarget, e, href, routerOptions);\n }\n}\n\n\nexport {$caaf0dd3060ed57c$export$323e4fc2fa4753fb as RouterProvider, $caaf0dd3060ed57c$export$efa8c9099e530235 as shouldClientNavigate, $caaf0dd3060ed57c$export$95185d699e05d4d7 as openLink, $caaf0dd3060ed57c$export$9a302a45f65d0572 as useRouter, $caaf0dd3060ed57c$export$bdc77b0c0a3a85d6 as useSyntheticLinkProps, $caaf0dd3060ed57c$export$51437d503373d223 as getSyntheticLinkProps, $caaf0dd3060ed57c$export$7e924b3091a3bd18 as useLinkProps, $caaf0dd3060ed57c$export$13aea1a3cb5e3f1f as handleLinkClick};\n//# sourceMappingURL=openLink.mjs.map\n","import {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576, getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac, getOwnerWindow as $d447af545b77c9f1$export$f21a1ffae260145a} from \"../utils/domHelpers.mjs\";\nimport {ignoreFocusEvent as $a92dc41f639950be$export$fda7da73ab5d4c48} from \"./utils.mjs\";\nimport {isMac as $2add3ce32c6007eb$export$9ac100e40613ea10} from \"../utils/platform.mjs\";\nimport {isVirtualClick as $b5c62b033c25b96d$export$60278871457622de} from \"../utils/isVirtualEvent.mjs\";\nimport {openLink as $caaf0dd3060ed57c$export$95185d699e05d4d7} from \"../utils/openLink.mjs\";\nimport {useIsSSR as $c7eafbbe1ea5834e$export$535bd6ca7f90a273} from \"../ssr/SSRProvider.mjs\";\nimport {useState as $7U4qw$useState, useEffect as $7U4qw$useEffect} from \"react\";\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 */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n\n\n\n\n\n\nlet $8f5a2122b0992be3$var$currentModality = null;\nlet $8f5a2122b0992be3$var$currentPointerType = 'keyboard';\nconst $8f5a2122b0992be3$export$901e90a13c50a14e = new Set();\nlet $8f5a2122b0992be3$export$d90243b58daecda7 = new Map(); // We use a map here to support setting event listeners across multiple document objects.\nlet $8f5a2122b0992be3$var$hasEventBeforeFocus = false;\nlet $8f5a2122b0992be3$var$hasBlurredWindowRecently = false;\n// Only Tab or Esc keys will make focus visible on text input elements\nconst $8f5a2122b0992be3$var$FOCUS_VISIBLE_INPUT_KEYS = {\n Tab: true,\n Escape: true\n};\nfunction $8f5a2122b0992be3$var$triggerChangeHandlers(modality, e) {\n for (let handler of $8f5a2122b0992be3$export$901e90a13c50a14e)handler(modality, e);\n}\n/**\n * Helper function to determine if a KeyboardEvent is unmodified and could make keyboard focus styles visible.\n */ function $8f5a2122b0992be3$var$isValidKey(e) {\n // Control and Shift keys trigger when navigating back to the tab with keyboard.\n return !(e.metaKey || !(0, $2add3ce32c6007eb$export$9ac100e40613ea10)() && e.altKey || e.ctrlKey || e.key === 'Control' || e.key === 'Shift' || e.key === 'Meta');\n}\nfunction $8f5a2122b0992be3$var$handleKeyboardEvent(e) {\n $8f5a2122b0992be3$var$hasEventBeforeFocus = true;\n if (!(0, $caaf0dd3060ed57c$export$95185d699e05d4d7).isOpening && $8f5a2122b0992be3$var$isValidKey(e)) {\n $8f5a2122b0992be3$var$currentModality = 'keyboard';\n $8f5a2122b0992be3$var$currentPointerType = 'keyboard';\n $8f5a2122b0992be3$var$triggerChangeHandlers('keyboard', e);\n }\n}\nfunction $8f5a2122b0992be3$var$handlePointerEvent(e) {\n $8f5a2122b0992be3$var$currentModality = 'pointer';\n $8f5a2122b0992be3$var$currentPointerType = 'pointerType' in e ? e.pointerType : 'mouse';\n if (e.type === 'mousedown' || e.type === 'pointerdown') {\n $8f5a2122b0992be3$var$hasEventBeforeFocus = true;\n $8f5a2122b0992be3$var$triggerChangeHandlers('pointer', e);\n }\n}\nfunction $8f5a2122b0992be3$var$handleClickEvent(e) {\n if (!(0, $caaf0dd3060ed57c$export$95185d699e05d4d7).isOpening && (0, $b5c62b033c25b96d$export$60278871457622de)(e)) {\n $8f5a2122b0992be3$var$hasEventBeforeFocus = true;\n $8f5a2122b0992be3$var$currentModality = 'virtual';\n $8f5a2122b0992be3$var$currentPointerType = 'virtual';\n }\n}\nfunction $8f5a2122b0992be3$var$handleFocusEvent(e) {\n // Firefox fires two extra focus events when the user first clicks into an iframe:\n // first on the window, then on the document. We ignore these events so they don't\n // cause keyboard focus rings to appear.\n let ownerWindow = (0, $d447af545b77c9f1$export$f21a1ffae260145a)((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e));\n let ownerDocument = (0, $d447af545b77c9f1$export$b204af158042fbac)((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e));\n if ((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) === ownerWindow || (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) === ownerDocument || (0, $a92dc41f639950be$export$fda7da73ab5d4c48) || !e.isTrusted) return;\n // If a focus event occurs without a preceding keyboard or pointer event, switch to virtual modality.\n // This occurs, for example, when navigating a form with the next/previous buttons on iOS.\n if (!$8f5a2122b0992be3$var$hasEventBeforeFocus && !$8f5a2122b0992be3$var$hasBlurredWindowRecently) {\n $8f5a2122b0992be3$var$currentModality = 'virtual';\n $8f5a2122b0992be3$var$currentPointerType = 'virtual';\n $8f5a2122b0992be3$var$triggerChangeHandlers('virtual', e);\n }\n $8f5a2122b0992be3$var$hasEventBeforeFocus = false;\n $8f5a2122b0992be3$var$hasBlurredWindowRecently = false;\n}\nfunction $8f5a2122b0992be3$var$handleWindowBlur() {\n if (0, $a92dc41f639950be$export$fda7da73ab5d4c48) return;\n // When the window is blurred, reset state. This is necessary when tabbing out of the window,\n // for example, since a subsequent focus event won't be fired.\n $8f5a2122b0992be3$var$hasEventBeforeFocus = false;\n $8f5a2122b0992be3$var$hasBlurredWindowRecently = true;\n}\n/**\n * Setup global event listeners to control when keyboard focus style should be visible.\n */ function $8f5a2122b0992be3$var$setupGlobalFocusEvents(element) {\n // eslint-disable-next-line no-restricted-globals\n if (typeof window === 'undefined' || typeof document === 'undefined') return;\n const windowObject = (0, $d447af545b77c9f1$export$f21a1ffae260145a)(element);\n const documentObject = (0, $d447af545b77c9f1$export$b204af158042fbac)(element);\n if ($8f5a2122b0992be3$export$d90243b58daecda7.get(windowObject)) return;\n // Programmatic focus() calls shouldn't affect the current input modality.\n // However, we need to detect other cases when a focus event occurs without\n // a preceding user event (e.g. screen reader focus). Overriding the focus\n // method on HTMLElement.prototype is a bit hacky, but works.\n let focus = windowObject.HTMLElement.prototype.focus;\n windowObject.HTMLElement.prototype.focus = function() {\n $8f5a2122b0992be3$var$hasEventBeforeFocus = true;\n focus.apply(this, arguments);\n };\n documentObject.addEventListener('keydown', $8f5a2122b0992be3$var$handleKeyboardEvent, true);\n documentObject.addEventListener('keyup', $8f5a2122b0992be3$var$handleKeyboardEvent, true);\n documentObject.addEventListener('click', $8f5a2122b0992be3$var$handleClickEvent, true);\n // Register focus events on the window so they are sure to happen\n // before React's event listeners (registered on the document).\n windowObject.addEventListener('focus', $8f5a2122b0992be3$var$handleFocusEvent, true);\n windowObject.addEventListener('blur', $8f5a2122b0992be3$var$handleWindowBlur, false);\n if (typeof PointerEvent !== 'undefined') {\n documentObject.addEventListener('pointerdown', $8f5a2122b0992be3$var$handlePointerEvent, true);\n documentObject.addEventListener('pointermove', $8f5a2122b0992be3$var$handlePointerEvent, true);\n documentObject.addEventListener('pointerup', $8f5a2122b0992be3$var$handlePointerEvent, true);\n } else if (process.env.NODE_ENV === 'test') {\n documentObject.addEventListener('mousedown', $8f5a2122b0992be3$var$handlePointerEvent, true);\n documentObject.addEventListener('mousemove', $8f5a2122b0992be3$var$handlePointerEvent, true);\n documentObject.addEventListener('mouseup', $8f5a2122b0992be3$var$handlePointerEvent, true);\n }\n // Add unmount handler\n windowObject.addEventListener('beforeunload', ()=>{\n $8f5a2122b0992be3$var$tearDownWindowFocusTracking(element);\n }, {\n once: true\n });\n $8f5a2122b0992be3$export$d90243b58daecda7.set(windowObject, {\n focus: focus\n });\n}\nconst $8f5a2122b0992be3$var$tearDownWindowFocusTracking = (element, loadListener)=>{\n const windowObject = (0, $d447af545b77c9f1$export$f21a1ffae260145a)(element);\n const documentObject = (0, $d447af545b77c9f1$export$b204af158042fbac)(element);\n if (loadListener) documentObject.removeEventListener('DOMContentLoaded', loadListener);\n if (!$8f5a2122b0992be3$export$d90243b58daecda7.has(windowObject)) return;\n windowObject.HTMLElement.prototype.focus = $8f5a2122b0992be3$export$d90243b58daecda7.get(windowObject).focus;\n documentObject.removeEventListener('keydown', $8f5a2122b0992be3$var$handleKeyboardEvent, true);\n documentObject.removeEventListener('keyup', $8f5a2122b0992be3$var$handleKeyboardEvent, true);\n documentObject.removeEventListener('click', $8f5a2122b0992be3$var$handleClickEvent, true);\n windowObject.removeEventListener('focus', $8f5a2122b0992be3$var$handleFocusEvent, true);\n windowObject.removeEventListener('blur', $8f5a2122b0992be3$var$handleWindowBlur, false);\n if (typeof PointerEvent !== 'undefined') {\n documentObject.removeEventListener('pointerdown', $8f5a2122b0992be3$var$handlePointerEvent, true);\n documentObject.removeEventListener('pointermove', $8f5a2122b0992be3$var$handlePointerEvent, true);\n documentObject.removeEventListener('pointerup', $8f5a2122b0992be3$var$handlePointerEvent, true);\n } else if (process.env.NODE_ENV === 'test') {\n documentObject.removeEventListener('mousedown', $8f5a2122b0992be3$var$handlePointerEvent, true);\n documentObject.removeEventListener('mousemove', $8f5a2122b0992be3$var$handlePointerEvent, true);\n documentObject.removeEventListener('mouseup', $8f5a2122b0992be3$var$handlePointerEvent, true);\n }\n $8f5a2122b0992be3$export$d90243b58daecda7.delete(windowObject);\n};\nfunction $8f5a2122b0992be3$export$2f1888112f558a7d(element) {\n const documentObject = (0, $d447af545b77c9f1$export$b204af158042fbac)(element);\n let loadListener;\n if (documentObject.readyState !== 'loading') $8f5a2122b0992be3$var$setupGlobalFocusEvents(element);\n else {\n loadListener = ()=>{\n $8f5a2122b0992be3$var$setupGlobalFocusEvents(element);\n };\n documentObject.addEventListener('DOMContentLoaded', loadListener);\n }\n return ()=>$8f5a2122b0992be3$var$tearDownWindowFocusTracking(element, loadListener);\n}\n// Server-side rendering does not have the document object defined\n// eslint-disable-next-line no-restricted-globals\nif (typeof document !== 'undefined') $8f5a2122b0992be3$export$2f1888112f558a7d();\nfunction $8f5a2122b0992be3$export$b9b3dfddab17db27() {\n return $8f5a2122b0992be3$var$currentModality !== 'pointer';\n}\nfunction $8f5a2122b0992be3$export$630ff653c5ada6a9() {\n return $8f5a2122b0992be3$var$currentModality;\n}\nfunction $8f5a2122b0992be3$export$8397ddfc504fdb9a(modality) {\n $8f5a2122b0992be3$var$currentModality = modality;\n $8f5a2122b0992be3$var$currentPointerType = modality === 'pointer' ? 'mouse' : modality;\n $8f5a2122b0992be3$var$triggerChangeHandlers(modality, null);\n}\nfunction $8f5a2122b0992be3$export$887a228355cf7d95() {\n return $8f5a2122b0992be3$var$currentPointerType;\n}\nfunction $8f5a2122b0992be3$export$98e20ec92f614cfe() {\n $8f5a2122b0992be3$var$setupGlobalFocusEvents();\n let [modality, setModality] = (0, $7U4qw$useState)($8f5a2122b0992be3$var$currentModality);\n (0, $7U4qw$useEffect)(()=>{\n let handler = ()=>{\n setModality($8f5a2122b0992be3$var$currentModality);\n };\n $8f5a2122b0992be3$export$901e90a13c50a14e.add(handler);\n return ()=>{\n $8f5a2122b0992be3$export$901e90a13c50a14e.delete(handler);\n };\n }, []);\n return (0, $c7eafbbe1ea5834e$export$535bd6ca7f90a273)() ? null : modality;\n}\nconst $8f5a2122b0992be3$var$nonTextInputTypes = new Set([\n 'checkbox',\n 'radio',\n 'range',\n 'color',\n 'file',\n 'image',\n 'button',\n 'submit',\n 'reset'\n]);\n/**\n * If this is attached to text input component, return if the event is a focus event (Tab/Escape keys pressed) so that\n * focus visible style can be properly set.\n */ function $8f5a2122b0992be3$var$isKeyboardFocusEvent(isTextInput, modality, e) {\n let eventTarget = e ? (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) : undefined;\n let document1 = (0, $d447af545b77c9f1$export$b204af158042fbac)(eventTarget);\n let ownerWindow = (0, $d447af545b77c9f1$export$f21a1ffae260145a)(eventTarget);\n const IHTMLInputElement = typeof ownerWindow !== 'undefined' ? ownerWindow.HTMLInputElement : HTMLInputElement;\n const IHTMLTextAreaElement = typeof ownerWindow !== 'undefined' ? ownerWindow.HTMLTextAreaElement : HTMLTextAreaElement;\n const IHTMLElement = typeof ownerWindow !== 'undefined' ? ownerWindow.HTMLElement : HTMLElement;\n const IKeyboardEvent = typeof ownerWindow !== 'undefined' ? ownerWindow.KeyboardEvent : KeyboardEvent;\n // For keyboard events that occur on a non-input element that will move focus into input element (aka ArrowLeft going from Datepicker button to the main input group)\n // we need to rely on the user passing isTextInput into here. This way we can skip toggling focus visiblity for said input element\n let activeElement = (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)(document1);\n isTextInput = isTextInput || activeElement instanceof IHTMLInputElement && !$8f5a2122b0992be3$var$nonTextInputTypes.has(activeElement.type) || activeElement instanceof IHTMLTextAreaElement || activeElement instanceof IHTMLElement && activeElement.isContentEditable;\n return !(isTextInput && modality === 'keyboard' && e instanceof IKeyboardEvent && !$8f5a2122b0992be3$var$FOCUS_VISIBLE_INPUT_KEYS[e.key]);\n}\nfunction $8f5a2122b0992be3$export$ffd9e5021c1fb2d6(props = {}) {\n let { isTextInput: isTextInput, autoFocus: autoFocus } = props;\n let [isFocusVisibleState, setFocusVisible] = (0, $7U4qw$useState)(autoFocus || $8f5a2122b0992be3$export$b9b3dfddab17db27());\n $8f5a2122b0992be3$export$ec71b4b83ac08ec3((isFocusVisible)=>{\n setFocusVisible(isFocusVisible);\n }, [\n isTextInput\n ], {\n isTextInput: isTextInput\n });\n return {\n isFocusVisible: isFocusVisibleState\n };\n}\nfunction $8f5a2122b0992be3$export$ec71b4b83ac08ec3(fn, deps, opts) {\n $8f5a2122b0992be3$var$setupGlobalFocusEvents();\n (0, $7U4qw$useEffect)(()=>{\n if (opts?.enabled === false) return;\n let handler = (modality, e)=>{\n // We want to early return for any keyboard events that occur inside text inputs EXCEPT for Tab and Escape\n if (!$8f5a2122b0992be3$var$isKeyboardFocusEvent(!!opts?.isTextInput, modality, e)) return;\n fn($8f5a2122b0992be3$export$b9b3dfddab17db27());\n };\n $8f5a2122b0992be3$export$901e90a13c50a14e.add(handler);\n return ()=>{\n $8f5a2122b0992be3$export$901e90a13c50a14e.delete(handler);\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, deps);\n}\n\n\nexport {$8f5a2122b0992be3$export$901e90a13c50a14e as changeHandlers, $8f5a2122b0992be3$export$d90243b58daecda7 as hasSetupGlobalListeners, $8f5a2122b0992be3$export$2f1888112f558a7d as addWindowFocusTracking, $8f5a2122b0992be3$export$b9b3dfddab17db27 as isFocusVisible, $8f5a2122b0992be3$export$630ff653c5ada6a9 as getInteractionModality, $8f5a2122b0992be3$export$8397ddfc504fdb9a as setInteractionModality, $8f5a2122b0992be3$export$887a228355cf7d95 as getPointerType, $8f5a2122b0992be3$export$98e20ec92f614cfe as useInteractionModality, $8f5a2122b0992be3$export$ffd9e5021c1fb2d6 as useFocusVisible, $8f5a2122b0992be3$export$ec71b4b83ac08ec3 as useFocusVisibleListener};\n//# sourceMappingURL=useFocusVisible.mjs.map\n","import {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport $emnFQ$react, {useRef as $emnFQ$useRef, useCallback as $emnFQ$useCallback} from \"react\";\n\n/*\n * Copyright 2023 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// Use the earliest effect type possible. useInsertionEffect runs during the mutation phase,\n// before all layout effects, but is available only in React 18 and later.\nconst $fe16bffc7a557bf0$var$useEarlyEffect = (0, $emnFQ$react)['useInsertionEffect'] ?? (0, $c4867b2f328c2698$export$e5c5a5f917a5871c);\nfunction $fe16bffc7a557bf0$export$7f54fc3180508a52(fn) {\n const ref = (0, $emnFQ$useRef)(null);\n $fe16bffc7a557bf0$var$useEarlyEffect(()=>{\n ref.current = fn;\n }, [\n fn\n ]);\n // @ts-ignore\n return (0, $emnFQ$useCallback)((...args)=>{\n const f = ref.current;\n return f?.(...args);\n }, []);\n}\n\n\nexport {$fe16bffc7a557bf0$export$7f54fc3180508a52 as useEffectEvent};\n//# sourceMappingURL=useEffectEvent.mjs.map\n","import {useId as $390e54f620492c70$export$f680877a34711e37} from \"./useId.mjs\";\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 $e8ac3c3f5d4bae7f$export$d6875122194c7b44(props, defaultLabel) {\n let { id: id, 'aria-label': label, 'aria-labelledby': labelledBy } = props;\n // If there is both an aria-label and aria-labelledby,\n // combine them by pointing to the element itself.\n id = (0, $390e54f620492c70$export$f680877a34711e37)(id);\n if (labelledBy && label) {\n let ids = new Set([\n id,\n ...labelledBy.trim().split(/\\s+/)\n ]);\n labelledBy = [\n ...ids\n ].join(' ');\n } else if (labelledBy) labelledBy = labelledBy.trim().split(/\\s+/).join(' ');\n // If no labels are provided, use the default\n if (!label && !labelledBy && defaultLabel) label = defaultLabel;\n return {\n id: id,\n 'aria-label': label,\n 'aria-labelledby': labelledBy\n };\n}\n\n\nexport {$e8ac3c3f5d4bae7f$export$d6875122194c7b44 as useLabels};\n//# sourceMappingURL=useLabels.mjs.map\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 */ // https://en.wikipedia.org/wiki/Right-to-left\nconst $d805ff57cab8bee2$var$RTL_SCRIPTS = new Set([\n 'Arab',\n 'Syrc',\n 'Samr',\n 'Mand',\n 'Thaa',\n 'Mend',\n 'Nkoo',\n 'Adlm',\n 'Rohg',\n 'Hebr'\n]);\nconst $d805ff57cab8bee2$var$RTL_LANGS = new Set([\n 'ae',\n 'ar',\n 'arc',\n 'bcc',\n 'bqi',\n 'ckb',\n 'dv',\n 'fa',\n 'glk',\n 'he',\n 'ku',\n 'mzn',\n 'nqo',\n 'pnb',\n 'ps',\n 'sd',\n 'ug',\n 'ur',\n 'yi'\n]);\nfunction $d805ff57cab8bee2$export$702d680b21cbd764(localeString) {\n // If the Intl.Locale API is available, use it to get the locale's text direction.\n if (Intl.Locale) {\n let locale = new Intl.Locale(localeString).maximize();\n // Use the text info object to get the direction if possible.\n // @ts-ignore - this was implemented as a property by some browsers before it was standardized as a function.\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getTextInfo\n let textInfo = typeof locale.getTextInfo === 'function' ? locale.getTextInfo() : locale.textInfo;\n if (textInfo) return textInfo.direction === 'rtl';\n // Fallback: guess using the script.\n // This is more accurate than guessing by language, since languages can be written in multiple scripts.\n if (locale.script) return $d805ff57cab8bee2$var$RTL_SCRIPTS.has(locale.script);\n }\n // If not, just guess by the language (first part of the locale)\n let lang = localeString.split('-')[0];\n return $d805ff57cab8bee2$var$RTL_LANGS.has(lang);\n}\n\n\nexport {$d805ff57cab8bee2$export$702d680b21cbd764 as isRTL};\n//# sourceMappingURL=utils.mjs.map\n","import {isRTL as $d805ff57cab8bee2$export$702d680b21cbd764} from \"./utils.mjs\";\nimport {useIsSSR as $c7eafbbe1ea5834e$export$535bd6ca7f90a273} from \"../ssr/SSRProvider.mjs\";\nimport {useState as $lEF9U$useState, useEffect as $lEF9U$useEffect} from \"react\";\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// Locale passed from server by PackageLocalizationProvider.\nconst $520a025cdb0d710d$var$localeSymbol = Symbol.for('react-aria.i18n.locale');\nfunction $520a025cdb0d710d$export$f09106e7c6677ec5() {\n let locale = typeof window !== 'undefined' && window[$520a025cdb0d710d$var$localeSymbol] || typeof navigator !== 'undefined' && (navigator.language || navigator.userLanguage) || 'en-US';\n try {\n Intl.DateTimeFormat.supportedLocalesOf([\n locale\n ]);\n } catch {\n locale = 'en-US';\n }\n return {\n locale: locale,\n direction: (0, $d805ff57cab8bee2$export$702d680b21cbd764)(locale) ? 'rtl' : 'ltr'\n };\n}\nlet $520a025cdb0d710d$var$currentLocale = $520a025cdb0d710d$export$f09106e7c6677ec5();\nlet $520a025cdb0d710d$var$listeners = new Set();\nfunction $520a025cdb0d710d$var$updateLocale() {\n $520a025cdb0d710d$var$currentLocale = $520a025cdb0d710d$export$f09106e7c6677ec5();\n for (let listener of $520a025cdb0d710d$var$listeners)listener($520a025cdb0d710d$var$currentLocale);\n}\nfunction $520a025cdb0d710d$export$188ec29ebc2bdc3a() {\n let isSSR = (0, $c7eafbbe1ea5834e$export$535bd6ca7f90a273)();\n let [defaultLocale, setDefaultLocale] = (0, $lEF9U$useState)($520a025cdb0d710d$var$currentLocale);\n (0, $lEF9U$useEffect)(()=>{\n if ($520a025cdb0d710d$var$listeners.size === 0) window.addEventListener('languagechange', $520a025cdb0d710d$var$updateLocale);\n $520a025cdb0d710d$var$listeners.add(setDefaultLocale);\n return ()=>{\n $520a025cdb0d710d$var$listeners.delete(setDefaultLocale);\n if ($520a025cdb0d710d$var$listeners.size === 0) window.removeEventListener('languagechange', $520a025cdb0d710d$var$updateLocale);\n };\n }, []);\n // We cannot determine the browser's language on the server, so default to\n // en-US. This will be updated after hydration on the client to the correct value.\n if (isSSR) {\n let locale = typeof window !== 'undefined' && window[$520a025cdb0d710d$var$localeSymbol];\n return {\n locale: locale || 'en-US',\n direction: 'ltr'\n };\n }\n return defaultLocale;\n}\n\n\nexport {$520a025cdb0d710d$export$f09106e7c6677ec5 as getDefaultLocale, $520a025cdb0d710d$export$188ec29ebc2bdc3a as useDefaultLocale};\n//# sourceMappingURL=useDefaultLocale.mjs.map\n","import {isRTL as $d805ff57cab8bee2$export$702d680b21cbd764} from \"./utils.mjs\";\nimport {useDefaultLocale as $520a025cdb0d710d$export$188ec29ebc2bdc3a} from \"./useDefaultLocale.mjs\";\nimport $01Dwp$react, {useContext as $01Dwp$useContext} from \"react\";\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\nconst $2eb8e6d23f3d0cb0$var$I18nContext = /*#__PURE__*/ (0, $01Dwp$react).createContext(null);\n/**\n * Internal component that handles the case when locale is provided.\n */ function $2eb8e6d23f3d0cb0$var$I18nProviderWithLocale(props) {\n let { locale: locale, children: children } = props;\n let value = (0, $01Dwp$react).useMemo(()=>({\n locale: locale,\n direction: (0, $d805ff57cab8bee2$export$702d680b21cbd764)(locale) ? 'rtl' : 'ltr'\n }), [\n locale\n ]);\n return /*#__PURE__*/ (0, $01Dwp$react).createElement($2eb8e6d23f3d0cb0$var$I18nContext.Provider, {\n value: value\n }, children);\n}\n/**\n * Internal component that handles the case when no locale is provided.\n */ function $2eb8e6d23f3d0cb0$var$I18nProviderWithDefaultLocale(props) {\n let { children: children } = props;\n let defaultLocale = (0, $520a025cdb0d710d$export$188ec29ebc2bdc3a)();\n return /*#__PURE__*/ (0, $01Dwp$react).createElement($2eb8e6d23f3d0cb0$var$I18nContext.Provider, {\n value: defaultLocale\n }, children);\n}\nfunction $2eb8e6d23f3d0cb0$export$a54013f0d02a8f82(props) {\n let { locale: locale, children: children } = props;\n // Conditionally render different components to avoid calling useDefaultLocale.\n // This is necessary because useDefaultLocale triggers a re-render.\n if (locale) return /*#__PURE__*/ (0, $01Dwp$react).createElement($2eb8e6d23f3d0cb0$var$I18nProviderWithLocale, {\n locale: locale,\n children: children\n });\n return /*#__PURE__*/ (0, $01Dwp$react).createElement($2eb8e6d23f3d0cb0$var$I18nProviderWithDefaultLocale, {\n children: children\n });\n}\nfunction $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7() {\n let defaultLocale = (0, $520a025cdb0d710d$export$188ec29ebc2bdc3a)();\n let context = (0, $01Dwp$useContext)($2eb8e6d23f3d0cb0$var$I18nContext);\n return context || defaultLocale;\n}\n\n\nexport {$2eb8e6d23f3d0cb0$export$a54013f0d02a8f82 as I18nProvider, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7 as useLocale};\n//# sourceMappingURL=I18nProvider.mjs.map\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 */ const $a747a10fe70a57da$var$localeSymbol = Symbol.for('react-aria.i18n.locale');\nconst $a747a10fe70a57da$var$stringsSymbol = Symbol.for('react-aria.i18n.strings');\nlet $a747a10fe70a57da$var$cachedGlobalStrings = undefined;\nclass $a747a10fe70a57da$export$c17fa47878dc55b6 {\n constructor(messages, defaultLocale = 'en-US'){\n // Clone messages so we don't modify the original object.\n // Filter out entries with falsy values which may have been caused by applying optimize-locales-plugin.\n this.strings = Object.fromEntries(Object.entries(messages).filter(([, v])=>v));\n this.defaultLocale = defaultLocale;\n }\n /** Returns a localized string for the given key and locale. */ getStringForLocale(key, locale) {\n let strings = this.getStringsForLocale(locale);\n let string = strings[key];\n if (!string) throw new Error(`Could not find intl message ${key} in ${locale} locale`);\n return string;\n }\n /** Returns all localized strings for the given locale. */ getStringsForLocale(locale) {\n let strings = this.strings[locale];\n if (!strings) {\n strings = $a747a10fe70a57da$var$getStringsForLocale(locale, this.strings, this.defaultLocale);\n this.strings[locale] = strings;\n }\n return strings;\n }\n static getGlobalDictionaryForPackage(packageName) {\n if (typeof window === 'undefined') return null;\n let locale = window[$a747a10fe70a57da$var$localeSymbol];\n if ($a747a10fe70a57da$var$cachedGlobalStrings === undefined) {\n let globalStrings = window[$a747a10fe70a57da$var$stringsSymbol];\n if (!globalStrings) return null;\n $a747a10fe70a57da$var$cachedGlobalStrings = {};\n for(let pkg in globalStrings)$a747a10fe70a57da$var$cachedGlobalStrings[pkg] = new $a747a10fe70a57da$export$c17fa47878dc55b6({\n [locale]: globalStrings[pkg]\n }, locale);\n }\n let dictionary = $a747a10fe70a57da$var$cachedGlobalStrings?.[packageName];\n if (!dictionary) throw new Error(`Strings for package \"${packageName}\" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);\n return dictionary;\n }\n}\nfunction $a747a10fe70a57da$var$getStringsForLocale(locale, strings, defaultLocale = 'en-US') {\n // If there is an exact match, use it.\n if (strings[locale]) return strings[locale];\n // Attempt to find the closest match by language.\n // For example, if the locale is fr-CA (French Canadian), but there is only\n // an fr-FR (France) set of strings, use that.\n // This could be replaced with Intl.LocaleMatcher once it is supported.\n // https://github.com/tc39/proposal-intl-localematcher\n let language = $a747a10fe70a57da$var$getLanguage(locale);\n if (strings[language]) return strings[language];\n for(let key in strings){\n if (key.startsWith(language + '-')) return strings[key];\n }\n // Nothing close, use english.\n return strings[defaultLocale];\n}\nfunction $a747a10fe70a57da$var$getLanguage(locale) {\n // @ts-ignore\n if (Intl.Locale) // @ts-ignore\n return new Intl.Locale(locale).language;\n return locale.split('-')[0];\n}\n\n\nexport {$a747a10fe70a57da$export$c17fa47878dc55b6 as LocalizedStringDictionary};\n//# sourceMappingURL=LocalizedStringDictionary.mjs.map\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 */ const $b27c684a33948c64$var$pluralRulesCache = new Map();\nconst $b27c684a33948c64$var$numberFormatCache = new Map();\nclass $b27c684a33948c64$export$2f817fcdc4b89ae0 {\n constructor(locale, strings){\n this.locale = locale;\n this.strings = strings;\n }\n /** Formats a localized string for the given key with the provided variables. */ format(key, variables) {\n let message = this.strings.getStringForLocale(key, this.locale);\n return typeof message === 'function' ? message(variables, this) : message;\n }\n plural(count, options, type = 'cardinal') {\n let opt = options['=' + count];\n if (opt) return typeof opt === 'function' ? opt() : opt;\n let key = this.locale + ':' + type;\n let pluralRules = $b27c684a33948c64$var$pluralRulesCache.get(key);\n if (!pluralRules) {\n pluralRules = new Intl.PluralRules(this.locale, {\n type: type\n });\n $b27c684a33948c64$var$pluralRulesCache.set(key, pluralRules);\n }\n let selected = pluralRules.select(count);\n opt = options[selected] || options.other;\n return typeof opt === 'function' ? opt() : opt;\n }\n number(value) {\n let numberFormat = $b27c684a33948c64$var$numberFormatCache.get(this.locale);\n if (!numberFormat) {\n numberFormat = new Intl.NumberFormat(this.locale);\n $b27c684a33948c64$var$numberFormatCache.set(this.locale, numberFormat);\n }\n return numberFormat.format(value);\n }\n select(options, value) {\n let opt = options[value] || options.other;\n return typeof opt === 'function' ? opt() : opt;\n }\n}\n\n\nexport {$b27c684a33948c64$export$2f817fcdc4b89ae0 as LocalizedStringFormatter};\n//# sourceMappingURL=LocalizedStringFormatter.mjs.map\n","import {useLocale as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7} from \"./I18nProvider.mjs\";\nimport {LocalizedStringDictionary as $hwcjY$LocalizedStringDictionary, LocalizedStringFormatter as $hwcjY$LocalizedStringFormatter} from \"@internationalized/string\";\nimport {useMemo as $hwcjY$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\nconst $cf2482eff2eeeec2$var$cache = new WeakMap();\nfunction $cf2482eff2eeeec2$var$getCachedDictionary(strings) {\n let dictionary = $cf2482eff2eeeec2$var$cache.get(strings);\n if (!dictionary) {\n dictionary = new (0, $hwcjY$LocalizedStringDictionary)(strings);\n $cf2482eff2eeeec2$var$cache.set(strings, dictionary);\n }\n return dictionary;\n}\nfunction $cf2482eff2eeeec2$export$87b761675e8eaa10(strings, packageName) {\n return packageName && (0, $hwcjY$LocalizedStringDictionary).getGlobalDictionaryForPackage(packageName) || $cf2482eff2eeeec2$var$getCachedDictionary(strings);\n}\nfunction $cf2482eff2eeeec2$export$f12b703ca79dfbb1(strings, packageName) {\n let { locale: locale } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n let dictionary = $cf2482eff2eeeec2$export$87b761675e8eaa10(strings, packageName);\n return (0, $hwcjY$useMemo)(()=>new (0, $hwcjY$LocalizedStringFormatter)(locale, dictionary), [\n locale,\n dictionary\n ]);\n}\n\n\nexport {$cf2482eff2eeeec2$export$87b761675e8eaa10 as useLocalizedStringDictionary, $cf2482eff2eeeec2$export$f12b703ca79dfbb1 as useLocalizedStringFormatter};\n//# sourceMappingURL=useLocalizedStringFormatter.mjs.map\n","import $1CcWn$react, {useState as $1CcWn$useState, useRef as $1CcWn$useRef, useEffect as $1CcWn$useEffect, useReducer as $1CcWn$useReducer, useCallback as $1CcWn$useCallback} from \"react\";\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// Use the earliest effect possible to reset the ref below.\nconst $3e6197669829fe11$var$useEarlyEffect = typeof document !== 'undefined' ? (0, $1CcWn$react)['useInsertionEffect'] ?? (0, $1CcWn$react).useLayoutEffect : ()=>{};\nfunction $3e6197669829fe11$export$40bfa8c7b0832715(value, defaultValue, onChange) {\n // Store the value in both state and a ref. The state value will only be used when uncontrolled.\n // The ref is used to track the most current value, which is passed to the function setState callback.\n let [stateValue, setStateValue] = (0, $1CcWn$useState)(value || defaultValue);\n let valueRef = (0, $1CcWn$useRef)(stateValue);\n let isControlledRef = (0, $1CcWn$useRef)(value !== undefined);\n let isControlled = value !== undefined;\n (0, $1CcWn$useEffect)(()=>{\n let wasControlled = isControlledRef.current;\n if (wasControlled !== isControlled && process.env.NODE_ENV !== 'production') console.warn(`WARN: A component changed from ${wasControlled ? 'controlled' : 'uncontrolled'} to ${isControlled ? 'controlled' : 'uncontrolled'}.`);\n isControlledRef.current = isControlled;\n }, [\n isControlled\n ]);\n // After each render, update the ref to the current value.\n // This ensures that the setState callback argument is reset.\n // Note: the effect should not have any dependencies so that controlled values always reset.\n let currentValue = isControlled ? value : stateValue;\n $3e6197669829fe11$var$useEarlyEffect(()=>{\n valueRef.current = currentValue;\n });\n let [, forceUpdate] = (0, $1CcWn$useReducer)(()=>({}), {});\n let setValue = (0, $1CcWn$useCallback)((value, ...args)=>{\n // @ts-ignore - TS doesn't know that T cannot be a function.\n let newValue = typeof value === 'function' ? value(valueRef.current) : value;\n if (!Object.is(valueRef.current, newValue)) {\n // Update the ref so that the next setState callback has the most recent value.\n valueRef.current = newValue;\n setStateValue(newValue);\n // Always trigger a re-render, even when controlled, so that the layout effect above runs to reset the value.\n forceUpdate();\n // Trigger onChange. Note that if setState is called multiple times in a single event,\n // onChange will be called for each one instead of only once.\n onChange?.(newValue, ...args);\n }\n }, [\n onChange\n ]);\n return [\n currentValue,\n setValue\n ];\n}\n\n\nexport {$3e6197669829fe11$export$40bfa8c7b0832715 as useControlledState};\n//# sourceMappingURL=useControlledState.mjs.map\n","import {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"./shadowdom/DOMFunctions.mjs\";\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 */ // We store a global list of elements that are currently transitioning,\n// mapped to a set of CSS properties that are transitioning for that element.\n// This is necessary rather than a simple count of transitions because of browser\n// bugs, e.g. Chrome sometimes fires both transitionend and transitioncancel rather\n// than one or the other. So we need to track what's actually transitioning so that\n// we can ignore these duplicate events.\n\nlet $081cb5757e08788e$var$transitionsByElement = new Map();\n// A list of callbacks to call once there are no transitioning elements.\nlet $081cb5757e08788e$var$transitionCallbacks = new Set();\nfunction $081cb5757e08788e$var$setupGlobalEvents() {\n if (typeof window === 'undefined') return;\n function isTransitionEvent(event) {\n return 'propertyName' in event;\n }\n let onTransitionStart = (e)=>{\n let eventTarget = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n if (!isTransitionEvent(e) || !eventTarget) return;\n // Add the transitioning property to the list for this element.\n let transitions = $081cb5757e08788e$var$transitionsByElement.get(eventTarget);\n if (!transitions) {\n transitions = new Set();\n $081cb5757e08788e$var$transitionsByElement.set(eventTarget, transitions);\n // The transitioncancel event must be registered on the element itself, rather than as a global\n // event. This enables us to handle when the node is deleted from the document while it is transitioning.\n // In that case, the cancel event would have nowhere to bubble to so we need to handle it directly.\n eventTarget.addEventListener('transitioncancel', onTransitionEnd, {\n once: true\n });\n }\n transitions.add(e.propertyName);\n };\n let onTransitionEnd = (e)=>{\n let eventTarget = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n if (!isTransitionEvent(e) || !eventTarget) return;\n // Remove property from list of transitioning properties.\n let properties = $081cb5757e08788e$var$transitionsByElement.get(eventTarget);\n if (!properties) return;\n properties.delete(e.propertyName);\n // If empty, remove transitioncancel event, and remove the element from the list of transitioning elements.\n if (properties.size === 0) {\n eventTarget.removeEventListener('transitioncancel', onTransitionEnd);\n $081cb5757e08788e$var$transitionsByElement.delete(eventTarget);\n }\n // If no transitioning elements, call all of the queued callbacks.\n if ($081cb5757e08788e$var$transitionsByElement.size === 0) {\n for (let cb of $081cb5757e08788e$var$transitionCallbacks)cb();\n $081cb5757e08788e$var$transitionCallbacks.clear();\n }\n };\n document.body.addEventListener('transitionrun', onTransitionStart);\n document.body.addEventListener('transitionend', onTransitionEnd);\n}\nif (typeof document !== 'undefined') {\n if (document.readyState !== 'loading') $081cb5757e08788e$var$setupGlobalEvents();\n else document.addEventListener('DOMContentLoaded', $081cb5757e08788e$var$setupGlobalEvents);\n}\n/**\n * Cleans up any elements that are no longer in the document.\n * This is necessary because we can't rely on transitionend events to fire\n * for elements that are removed from the document while transitioning.\n */ function $081cb5757e08788e$var$cleanupDetachedElements() {\n for (const [eventTarget] of $081cb5757e08788e$var$transitionsByElement)// Similar to `eventTarget instanceof Element && !eventTarget.isConnected`, but avoids\n // the explicit instanceof check, since it may be different in different contexts.\n if ('isConnected' in eventTarget && !eventTarget.isConnected) $081cb5757e08788e$var$transitionsByElement.delete(eventTarget);\n}\nfunction $081cb5757e08788e$export$24490316f764c430(fn) {\n // Wait one frame to see if an animation starts, e.g. a transition on mount.\n requestAnimationFrame(()=>{\n $081cb5757e08788e$var$cleanupDetachedElements();\n // If no transitions are running, call the function immediately.\n // Otherwise, add it to a list of callbacks to run at the end of the animation.\n if ($081cb5757e08788e$var$transitionsByElement.size === 0) fn();\n else $081cb5757e08788e$var$transitionCallbacks.add(fn);\n });\n}\n\n\nexport {$081cb5757e08788e$export$24490316f764c430 as runAfterTransition};\n//# sourceMappingURL=runAfterTransition.mjs.map\n","import {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576, getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac} from \"../utils/domHelpers.mjs\";\nimport {useSyntheticBlurEvent as $a92dc41f639950be$export$715c682d09d639cc} from \"./utils.mjs\";\nimport {useCallback as $3siB1$useCallback} from \"react\";\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 */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n\n\nfunction $1e74c67db218ce67$export$f8168d8dd8fd66e6(props) {\n let { isDisabled: isDisabled, onFocus: onFocusProp, onBlur: onBlurProp, onFocusChange: onFocusChange } = props;\n const onBlur = (0, $3siB1$useCallback)((e)=>{\n if ((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) === e.currentTarget) {\n if (onBlurProp) onBlurProp(e);\n if (onFocusChange) onFocusChange(false);\n return true;\n }\n }, [\n onBlurProp,\n onFocusChange\n ]);\n const onSyntheticFocus = (0, $a92dc41f639950be$export$715c682d09d639cc)(onBlur);\n const onFocus = (0, $3siB1$useCallback)((e)=>{\n // Double check that document.activeElement actually matches e.target in case a previously chained\n // focus handler already moved focus somewhere else.\n let eventTarget = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n const ownerDocument = (0, $d447af545b77c9f1$export$b204af158042fbac)(eventTarget);\n const activeElement = ownerDocument ? (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)(ownerDocument) : (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)();\n if (eventTarget === e.currentTarget && eventTarget === activeElement) {\n if (onFocusProp) onFocusProp(e);\n if (onFocusChange) onFocusChange(true);\n onSyntheticFocus(e);\n }\n }, [\n onFocusChange,\n onFocusProp,\n onSyntheticFocus\n ]);\n return {\n focusProps: {\n onFocus: !isDisabled && (onFocusProp || onFocusChange || onBlurProp) ? onFocus : undefined,\n onBlur: !isDisabled && (onBlurProp || onFocusChange) ? onBlur : undefined\n }\n };\n}\n\n\nexport {$1e74c67db218ce67$export$f8168d8dd8fd66e6 as useFocus};\n//# sourceMappingURL=useFocus.mjs.map\n","import {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\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 $b7115c395c64f7b5$export$4debdb1a3f0fa79e(context, ref) {\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n if (context && context.ref && ref) {\n context.ref.current = ref.current;\n return ()=>{\n if (context.ref) context.ref.current = null;\n };\n }\n });\n}\n\n\nexport {$b7115c395c64f7b5$export$4debdb1a3f0fa79e as useSyncRef};\n//# sourceMappingURL=useSyncRef.mjs.map\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 */ const $8e9d2fae0ecb9001$var$DOMPropNames = new Set([\n 'id'\n]);\nconst $8e9d2fae0ecb9001$var$labelablePropNames = new Set([\n 'aria-label',\n 'aria-labelledby',\n 'aria-describedby',\n 'aria-details'\n]);\n// See LinkDOMProps in dom.d.ts.\nconst $8e9d2fae0ecb9001$var$linkPropNames = new Set([\n 'href',\n 'hrefLang',\n 'target',\n 'rel',\n 'download',\n 'ping',\n 'referrerPolicy'\n]);\nconst $8e9d2fae0ecb9001$var$globalAttrs = new Set([\n 'dir',\n 'lang',\n 'hidden',\n 'inert',\n 'translate'\n]);\nconst $8e9d2fae0ecb9001$var$globalEvents = new Set([\n 'onClick',\n 'onAuxClick',\n 'onContextMenu',\n 'onDoubleClick',\n 'onMouseDown',\n 'onMouseEnter',\n 'onMouseLeave',\n 'onMouseMove',\n 'onMouseOut',\n 'onMouseOver',\n 'onMouseUp',\n 'onTouchCancel',\n 'onTouchEnd',\n 'onTouchMove',\n 'onTouchStart',\n 'onPointerDown',\n 'onPointerMove',\n 'onPointerUp',\n 'onPointerCancel',\n 'onPointerEnter',\n 'onPointerLeave',\n 'onPointerOver',\n 'onPointerOut',\n 'onGotPointerCapture',\n 'onLostPointerCapture',\n 'onScroll',\n 'onWheel',\n 'onAnimationStart',\n 'onAnimationEnd',\n 'onAnimationIteration',\n 'onTransitionCancel',\n 'onTransitionEnd',\n 'onTransitionRun',\n 'onTransitionStart'\n]);\nconst $8e9d2fae0ecb9001$var$propRe = /^(data-.*)$/;\nfunction $8e9d2fae0ecb9001$export$457c3d6518dd4c6f(props, opts = {}) {\n let { labelable: labelable, isLink: isLink, global: global, events: events = global, propNames: propNames } = opts;\n let filteredProps = {};\n for(const prop in props)if (Object.prototype.hasOwnProperty.call(props, prop) && ($8e9d2fae0ecb9001$var$DOMPropNames.has(prop) || labelable && $8e9d2fae0ecb9001$var$labelablePropNames.has(prop) || isLink && $8e9d2fae0ecb9001$var$linkPropNames.has(prop) || global && $8e9d2fae0ecb9001$var$globalAttrs.has(prop) || events && ($8e9d2fae0ecb9001$var$globalEvents.has(prop) || prop.endsWith('Capture') && $8e9d2fae0ecb9001$var$globalEvents.has(prop.slice(0, -7))) || propNames?.has(prop) || $8e9d2fae0ecb9001$var$propRe.test(prop))) filteredProps[prop] = props[prop];\n return filteredProps;\n}\n\n\nexport {$8e9d2fae0ecb9001$export$457c3d6518dd4c6f as filterDOMProps};\n//# sourceMappingURL=filterDOMProps.mjs.map\n","import {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac} from \"../utils/domHelpers.mjs\";\nimport {isIOS as $2add3ce32c6007eb$export$fedb369cb70207f1} from \"../utils/platform.mjs\";\nimport {runAfterTransition as $081cb5757e08788e$export$24490316f764c430} from \"../utils/runAfterTransition.mjs\";\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// Note that state only matters here for iOS. Non-iOS gets user-select: none applied to the target element\n// rather than at the document level so we just need to apply/remove user-select: none for each pressed element individually\nlet $cbf007e418543821$var$state = 'default';\nlet $cbf007e418543821$var$savedUserSelect = '';\nlet $cbf007e418543821$var$modifiedElementMap = new WeakMap();\nfunction $cbf007e418543821$export$16a4697467175487(target) {\n if ((0, $2add3ce32c6007eb$export$fedb369cb70207f1)()) {\n if ($cbf007e418543821$var$state === 'default') {\n const documentObject = (0, $d447af545b77c9f1$export$b204af158042fbac)(target);\n $cbf007e418543821$var$savedUserSelect = documentObject.documentElement.style.webkitUserSelect;\n documentObject.documentElement.style.webkitUserSelect = 'none';\n }\n $cbf007e418543821$var$state = 'disabled';\n } else if (target instanceof HTMLElement || target instanceof SVGElement) {\n // If not iOS, store the target's original user-select and change to user-select: none\n // Ignore state since it doesn't apply for non iOS\n let property = 'userSelect' in target.style ? 'userSelect' : 'webkitUserSelect';\n $cbf007e418543821$var$modifiedElementMap.set(target, target.style[property]);\n target.style[property] = 'none';\n }\n}\nfunction $cbf007e418543821$export$b0d6fa1ab32e3295(target) {\n if ((0, $2add3ce32c6007eb$export$fedb369cb70207f1)()) {\n // If the state is already default, there's nothing to do.\n // If it is restoring, then there's no need to queue a second restore.\n if ($cbf007e418543821$var$state !== 'disabled') return;\n $cbf007e418543821$var$state = 'restoring';\n // There appears to be a delay on iOS where selection still might occur\n // after pointer up, so wait a bit before removing user-select.\n setTimeout(()=>{\n // Wait for any CSS transitions to complete so we don't recompute style\n // for the whole page in the middle of the animation and cause jank.\n (0, $081cb5757e08788e$export$24490316f764c430)(()=>{\n // Avoid race conditions\n if ($cbf007e418543821$var$state === 'restoring') {\n const documentObject = (0, $d447af545b77c9f1$export$b204af158042fbac)(target);\n if (documentObject.documentElement.style.webkitUserSelect === 'none') documentObject.documentElement.style.webkitUserSelect = $cbf007e418543821$var$savedUserSelect || '';\n $cbf007e418543821$var$savedUserSelect = '';\n $cbf007e418543821$var$state = 'default';\n }\n });\n }, 300);\n } else if (target instanceof HTMLElement || target instanceof SVGElement) // If not iOS, restore the target's original user-select if any\n // Ignore state since it doesn't apply for non iOS\n {\n if (target && $cbf007e418543821$var$modifiedElementMap.has(target)) {\n let targetOldUserSelect = $cbf007e418543821$var$modifiedElementMap.get(target);\n let property = 'userSelect' in target.style ? 'userSelect' : 'webkitUserSelect';\n if (target.style[property] === 'none') target.style[property] = targetOldUserSelect;\n if (target.getAttribute('style') === '') target.removeAttribute('style');\n $cbf007e418543821$var$modifiedElementMap.delete(target);\n }\n }\n}\n\n\nexport {$cbf007e418543821$export$16a4697467175487 as disableTextSelection, $cbf007e418543821$export$b0d6fa1ab32e3295 as restoreTextSelection};\n//# sourceMappingURL=textSelection.mjs.map\n","import {getOwnerWindow as $d447af545b77c9f1$export$f21a1ffae260145a} from \"./domHelpers.mjs\";\n\n/*\n * Copyright 2026 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 $2b2d34ff061957fb$var$getWebpackNonce(doc) {\n let ownerWindow = doc?.defaultView;\n return ownerWindow?.__webpack_nonce__ || globalThis['__webpack_nonce__'] || undefined;\n}\nlet $2b2d34ff061957fb$var$nonceCache = new WeakMap();\nfunction $2b2d34ff061957fb$export$88b319273f3705b4() {\n $2b2d34ff061957fb$var$nonceCache = new WeakMap();\n}\nfunction $2b2d34ff061957fb$export$2b85b721e524d74b(doc) {\n let d = doc ?? (typeof document !== 'undefined' ? document : undefined);\n if (!d) return $2b2d34ff061957fb$var$getWebpackNonce(d);\n if ($2b2d34ff061957fb$var$nonceCache.has(d)) return $2b2d34ff061957fb$var$nonceCache.get(d);\n let meta = d.querySelector('meta[property=\"csp-nonce\"]');\n let nonce = meta && meta instanceof (0, $d447af545b77c9f1$export$f21a1ffae260145a)(meta).HTMLMetaElement && (meta.nonce || meta.content) || $2b2d34ff061957fb$var$getWebpackNonce(d) || undefined;\n if (nonce !== undefined) $2b2d34ff061957fb$var$nonceCache.set(d, nonce);\n return nonce;\n}\n\n\nexport {$2b2d34ff061957fb$export$88b319273f3705b4 as resetNonceCache, $2b2d34ff061957fb$export$2b85b721e524d74b as getNonce};\n//# sourceMappingURL=getNonce.mjs.map\n","import $kV9Vy$react from \"react\";\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 */ \nconst $24f9a20f226ad820$export$5165eccb35aaadb5 = (0, $kV9Vy$react).createContext({\n register: ()=>{}\n});\n$24f9a20f226ad820$export$5165eccb35aaadb5.displayName = 'PressResponderContext';\n\n\nexport {$24f9a20f226ad820$export$5165eccb35aaadb5 as PressResponderContext};\n//# sourceMappingURL=context.mjs.map\n","import {useRef as $awe0O$useRef, useCallback as $awe0O$useCallback, useEffect as $awe0O$useEffect} from \"react\";\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 $48a7d519b337145d$export$4eaf04e54aa8eed6() {\n let globalListeners = (0, $awe0O$useRef)(new Map());\n let addGlobalListener = (0, $awe0O$useCallback)((eventTarget, type, listener, options)=>{\n // Make sure we remove the listener after it is called with the `once` option.\n let fn = options?.once ? (...args)=>{\n globalListeners.current.delete(listener);\n listener(...args);\n } : listener;\n globalListeners.current.set(listener, {\n type: type,\n eventTarget: eventTarget,\n fn: fn,\n options: options\n });\n eventTarget.addEventListener(type, fn, options);\n }, []);\n let removeGlobalListener = (0, $awe0O$useCallback)((eventTarget, type, listener, options)=>{\n let fn = globalListeners.current.get(listener)?.fn || listener;\n eventTarget.removeEventListener(type, fn, options);\n globalListeners.current.delete(listener);\n }, []);\n let removeAllGlobalListeners = (0, $awe0O$useCallback)(()=>{\n globalListeners.current.forEach((value, key)=>{\n removeGlobalListener(value.eventTarget, value.type, key, value.options);\n });\n }, [\n removeGlobalListener\n ]);\n (0, $awe0O$useEffect)(()=>{\n return removeAllGlobalListeners;\n }, [\n removeAllGlobalListeners\n ]);\n return {\n addGlobalListener: addGlobalListener,\n removeGlobalListener: removeGlobalListener,\n removeAllGlobalListeners: removeAllGlobalListeners\n };\n}\n\n\nexport {$48a7d519b337145d$export$4eaf04e54aa8eed6 as useGlobalListeners};\n//# sourceMappingURL=useGlobalListeners.mjs.map\n","import {chain as $a4e76a5424781910$export$e08e3b67e392101e} from \"../utils/chain.mjs\";\nimport {createSyntheticEvent as $a92dc41f639950be$export$525bc4921d56d4a, preventFocus as $a92dc41f639950be$export$cabe61c495ee3649, setEventTarget as $a92dc41f639950be$export$c2b7abe5d61ec696} from \"./utils.mjs\";\nimport {disableTextSelection as $cbf007e418543821$export$16a4697467175487, restoreTextSelection as $cbf007e418543821$export$b0d6fa1ab32e3295} from \"./textSelection.mjs\";\nimport {focusWithoutScrolling as $1969ac565cfec8d0$export$de79e2c695e052f3} from \"../utils/focusWithoutScrolling.mjs\";\nimport {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29, nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getNonce as $2b2d34ff061957fb$export$2b85b721e524d74b} from \"../utils/getNonce.mjs\";\nimport {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac, getOwnerWindow as $d447af545b77c9f1$export$f21a1ffae260145a} from \"../utils/domHelpers.mjs\";\nimport {isMac as $2add3ce32c6007eb$export$9ac100e40613ea10} from \"../utils/platform.mjs\";\nimport {isVirtualClick as $b5c62b033c25b96d$export$60278871457622de, isVirtualPointerEvent as $b5c62b033c25b96d$export$29bf1b5f2c56cf63} from \"../utils/isVirtualEvent.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {openLink as $caaf0dd3060ed57c$export$95185d699e05d4d7} from \"../utils/openLink.mjs\";\nimport {PressResponderContext as $24f9a20f226ad820$export$5165eccb35aaadb5} from \"./context.mjs\";\nimport {useEffectEvent as $fe16bffc7a557bf0$export$7f54fc3180508a52} from \"../utils/useEffectEvent.mjs\";\nimport {useGlobalListeners as $48a7d519b337145d$export$4eaf04e54aa8eed6} from \"../utils/useGlobalListeners.mjs\";\nimport {useSyncRef as $b7115c395c64f7b5$export$4debdb1a3f0fa79e} from \"../utils/useSyncRef.mjs\";\nimport {flushSync as $fL2C6$flushSync} from \"react-dom\";\nimport {useContext as $fL2C6$useContext, useState as $fL2C6$useState, useRef as $fL2C6$useRef, useCallback as $fL2C6$useCallback, useMemo as $fL2C6$useMemo, useEffect as $fL2C6$useEffect} from \"react\";\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 */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction $d27d541f9569d26d$var$usePressResponderContext(props) {\n // Consume context from <PressResponder> and merge with props.\n let context = (0, $fL2C6$useContext)((0, $24f9a20f226ad820$export$5165eccb35aaadb5));\n if (context) {\n // Prevent mergeProps from merging ref.\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n let { register: register, ref: ref, ...contextProps } = context;\n props = (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(contextProps, props);\n register();\n }\n (0, $b7115c395c64f7b5$export$4debdb1a3f0fa79e)(context, props.ref);\n return props;\n}\nclass $d27d541f9569d26d$var$PressEvent {\n #shouldStopPropagation;\n constructor(type, pointerType, originalEvent, state){\n this.#shouldStopPropagation = true;\n let currentTarget = state?.target ?? originalEvent.currentTarget;\n const rect = currentTarget?.getBoundingClientRect();\n let x, y = 0;\n let clientX, clientY = null;\n if (originalEvent.clientX != null && originalEvent.clientY != null) {\n clientX = originalEvent.clientX;\n clientY = originalEvent.clientY;\n }\n if (rect) {\n if (clientX != null && clientY != null) {\n x = clientX - rect.left;\n y = clientY - rect.top;\n } else {\n x = rect.width / 2;\n y = rect.height / 2;\n }\n }\n this.type = type;\n this.pointerType = pointerType;\n this.target = originalEvent.currentTarget;\n this.shiftKey = originalEvent.shiftKey;\n this.metaKey = originalEvent.metaKey;\n this.ctrlKey = originalEvent.ctrlKey;\n this.altKey = originalEvent.altKey;\n this.x = x;\n this.y = y;\n this.key = originalEvent.key;\n }\n continuePropagation() {\n this.#shouldStopPropagation = false;\n }\n get shouldStopPropagation() {\n return this.#shouldStopPropagation;\n }\n}\nconst $d27d541f9569d26d$var$LINK_CLICKED = Symbol('linkClicked');\nconst $d27d541f9569d26d$var$STYLE_ID = 'react-aria-pressable-style';\nconst $d27d541f9569d26d$var$PRESSABLE_ATTRIBUTE = 'data-react-aria-pressable';\nfunction $d27d541f9569d26d$export$45712eceda6fad21(props) {\n let { onPress: onPress, onPressChange: onPressChange, onPressStart: onPressStart, onPressEnd: onPressEnd, onPressUp: onPressUp, onClick: onClick, isDisabled: isDisabled, isPressed: isPressedProp, preventFocusOnPress: preventFocusOnPress, shouldCancelOnPointerExit: shouldCancelOnPointerExit, allowTextSelectionOnPress: allowTextSelectionOnPress, ref: domRef, ...domProps } = $d27d541f9569d26d$var$usePressResponderContext(props);\n let [isPressed, setPressed] = (0, $fL2C6$useState)(false);\n let ref = (0, $fL2C6$useRef)({\n isPressed: false,\n ignoreEmulatedMouseEvents: false,\n didFirePressStart: false,\n isTriggeringEvent: false,\n activePointerId: null,\n target: null,\n isOverTarget: false,\n pointerType: null,\n disposables: []\n });\n let { addGlobalListener: addGlobalListener, removeAllGlobalListeners: removeAllGlobalListeners } = (0, $48a7d519b337145d$export$4eaf04e54aa8eed6)();\n let triggerPressStart = (0, $fL2C6$useCallback)((originalEvent, pointerType)=>{\n let state = ref.current;\n if (isDisabled || state.didFirePressStart) return false;\n let shouldStopPropagation = true;\n state.isTriggeringEvent = true;\n if (onPressStart) {\n let event = new $d27d541f9569d26d$var$PressEvent('pressstart', pointerType, originalEvent);\n onPressStart(event);\n shouldStopPropagation = event.shouldStopPropagation;\n }\n if (onPressChange) onPressChange(true);\n state.isTriggeringEvent = false;\n state.didFirePressStart = true;\n setPressed(true);\n return shouldStopPropagation;\n }, [\n isDisabled,\n onPressStart,\n onPressChange\n ]);\n let triggerPressEnd = (0, $fL2C6$useCallback)((originalEvent, pointerType, wasPressed = true)=>{\n let state = ref.current;\n if (!state.didFirePressStart) return false;\n state.didFirePressStart = false;\n state.isTriggeringEvent = true;\n let shouldStopPropagation = true;\n if (onPressEnd) {\n let event = new $d27d541f9569d26d$var$PressEvent('pressend', pointerType, originalEvent);\n onPressEnd(event);\n shouldStopPropagation = event.shouldStopPropagation;\n }\n if (onPressChange) onPressChange(false);\n setPressed(false);\n if (onPress && wasPressed && !isDisabled) {\n let event = new $d27d541f9569d26d$var$PressEvent('press', pointerType, originalEvent);\n onPress(event);\n shouldStopPropagation &&= event.shouldStopPropagation;\n }\n state.isTriggeringEvent = false;\n return shouldStopPropagation;\n }, [\n isDisabled,\n onPressEnd,\n onPressChange,\n onPress\n ]);\n let triggerPressEndEvent = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)(triggerPressEnd);\n let triggerPressUp = (0, $fL2C6$useCallback)((originalEvent, pointerType)=>{\n let state = ref.current;\n if (isDisabled) return false;\n if (onPressUp) {\n state.isTriggeringEvent = true;\n let event = new $d27d541f9569d26d$var$PressEvent('pressup', pointerType, originalEvent);\n onPressUp(event);\n state.isTriggeringEvent = false;\n return event.shouldStopPropagation;\n }\n return true;\n }, [\n isDisabled,\n onPressUp\n ]);\n let triggerPressUpEvent = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)(triggerPressUp);\n let cancel = (0, $fL2C6$useCallback)((e)=>{\n let state = ref.current;\n if (state.isPressed && state.target) {\n if (state.didFirePressStart && state.pointerType != null) triggerPressEnd($d27d541f9569d26d$var$createEvent(state.target, e), state.pointerType, false);\n state.isPressed = false;\n state.isOverTarget = false;\n state.activePointerId = null;\n state.pointerType = null;\n removeAllGlobalListeners();\n if (!allowTextSelectionOnPress) (0, $cbf007e418543821$export$b0d6fa1ab32e3295)(state.target);\n for (let dispose of state.disposables)dispose();\n state.disposables = [];\n }\n }, [\n allowTextSelectionOnPress,\n removeAllGlobalListeners,\n triggerPressEnd\n ]);\n let cancelEvent = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)(cancel);\n let cancelOnPointerExit = (0, $fL2C6$useCallback)((e)=>{\n if (shouldCancelOnPointerExit) cancel(e);\n }, [\n shouldCancelOnPointerExit,\n cancel\n ]);\n let triggerClick = (0, $fL2C6$useCallback)((e)=>{\n if (isDisabled) return;\n onClick?.(e);\n }, [\n isDisabled,\n onClick\n ]);\n let triggerSyntheticClick = (0, $fL2C6$useCallback)((e, target)=>{\n if (isDisabled) return;\n // Some third-party libraries pass in onClick instead of onPress.\n // Create a fake mouse event and trigger onClick as well.\n // This matches the browser's native activation behavior for certain elements (e.g. button).\n // https://html.spec.whatwg.org/#activation\n // https://html.spec.whatwg.org/#fire-a-synthetic-pointer-event\n if (onClick) {\n let event = new MouseEvent('click', e);\n (0, $a92dc41f639950be$export$c2b7abe5d61ec696)(event, target);\n onClick((0, $a92dc41f639950be$export$525bc4921d56d4a)(event));\n }\n }, [\n isDisabled,\n onClick\n ]);\n let pressProps = (0, $fL2C6$useMemo)(()=>{\n let state = ref.current;\n let pressProps = {\n onKeyDown (e) {\n if ($d27d541f9569d26d$var$isValidKeyboardEvent(e.nativeEvent, e.currentTarget) && (0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) {\n if ($d27d541f9569d26d$var$shouldPreventDefaultKeyboard((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e), e.key)) e.preventDefault();\n // If the event is repeating, it may have started on a different element\n // after which focus moved to the current element. Ignore these events and\n // only handle the first key down event.\n let shouldStopPropagation = true;\n if (!state.isPressed && !e.repeat) {\n state.target = e.currentTarget;\n state.isPressed = true;\n state.pointerType = 'keyboard';\n shouldStopPropagation = triggerPressStart(e, 'keyboard');\n }\n // Focus may move before the key up event, so register the event on the document\n // instead of the same element where the key down event occurred. Make it capturing so that it will trigger\n // before stopPropagation from useKeyboard on a child element may happen and thus we can still call triggerPress for the parent element.\n let originalTarget = e.currentTarget;\n let pressUp = (e)=>{\n if ($d27d541f9569d26d$var$isValidKeyboardEvent(e, originalTarget) && !e.repeat && (0, $23f2114a1b82827e$export$4282f70798064fe0)(originalTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e)) && state.target) // eslint-disable-next-line react-hooks/rules-of-hooks\n triggerPressUpEvent($d27d541f9569d26d$var$createEvent(state.target, e), 'keyboard');\n };\n addGlobalListener((0, $d447af545b77c9f1$export$b204af158042fbac)(e.currentTarget), 'keyup', (0, $a4e76a5424781910$export$e08e3b67e392101e)(pressUp, onKeyUp), true);\n if (shouldStopPropagation) e.stopPropagation();\n // Keep track of the keydown events that occur while the Meta (e.g. Command) key is held.\n // macOS has a bug where keyup events are not fired while the Meta key is down.\n // When the Meta key itself is released we will get an event for that, and we'll act as if\n // all of these other keys were released as well.\n // https://bugs.chromium.org/p/chromium/issues/detail?id=1393524\n // https://bugs.webkit.org/show_bug.cgi?id=55291\n // https://bugzilla.mozilla.org/show_bug.cgi?id=1299553\n if (e.metaKey && (0, $2add3ce32c6007eb$export$9ac100e40613ea10)()) state.metaKeyEvents?.set(e.key, e.nativeEvent);\n } else if (e.key === 'Meta') state.metaKeyEvents = new Map();\n },\n onClick (e) {\n if (e && !(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n if (e && e.button === 0 && !state.isTriggeringEvent && !(0, $caaf0dd3060ed57c$export$95185d699e05d4d7).isOpening) {\n let shouldStopPropagation = true;\n if (isDisabled) e.preventDefault();\n // If triggered from a screen reader or by using element.click(),\n // trigger as if it were a keyboard click.\n if (!state.ignoreEmulatedMouseEvents && !state.isPressed && (state.pointerType === 'virtual' || (0, $b5c62b033c25b96d$export$60278871457622de)(e.nativeEvent))) {\n let stopPressStart = triggerPressStart(e, 'virtual');\n // eslint-disable-next-line react-hooks/rules-of-hooks\n let stopPressUp = triggerPressUpEvent(e, 'virtual');\n // eslint-disable-next-line react-hooks/rules-of-hooks\n let stopPressEnd = triggerPressEndEvent(e, 'virtual');\n triggerClick(e);\n shouldStopPropagation = stopPressStart && stopPressUp && stopPressEnd;\n } else if (state.isPressed && state.pointerType !== 'keyboard') {\n let pointerType = state.pointerType || e.nativeEvent.pointerType || 'virtual';\n // eslint-disable-next-line react-hooks/rules-of-hooks\n let stopPressUp = triggerPressUpEvent($d27d541f9569d26d$var$createEvent(e.currentTarget, e), pointerType);\n // eslint-disable-next-line react-hooks/rules-of-hooks\n let stopPressEnd = triggerPressEndEvent($d27d541f9569d26d$var$createEvent(e.currentTarget, e), pointerType, true);\n shouldStopPropagation = stopPressUp && stopPressEnd;\n state.isOverTarget = false;\n triggerClick(e);\n // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent(e);\n }\n state.ignoreEmulatedMouseEvents = false;\n if (shouldStopPropagation) e.stopPropagation();\n }\n }\n };\n let onKeyUp = (e)=>{\n if (state.isPressed && state.target && $d27d541f9569d26d$var$isValidKeyboardEvent(e, state.target)) {\n if ($d27d541f9569d26d$var$shouldPreventDefaultKeyboard((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e), e.key)) e.preventDefault();\n let target = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n let wasPressed = (0, $23f2114a1b82827e$export$4282f70798064fe0)(state.target, target);\n // eslint-disable-next-line react-hooks/rules-of-hooks\n triggerPressEndEvent($d27d541f9569d26d$var$createEvent(state.target, e), 'keyboard', wasPressed);\n if (wasPressed) triggerSyntheticClick(e, state.target);\n removeAllGlobalListeners();\n // If a link was triggered with a key other than Enter, open the URL ourselves.\n // This means the link has a role override, and the default browser behavior\n // only applies when using the Enter key.\n if (e.key !== 'Enter' && $d27d541f9569d26d$var$isHTMLAnchorLink(state.target) && (0, $23f2114a1b82827e$export$4282f70798064fe0)(state.target, target) && !e[$d27d541f9569d26d$var$LINK_CLICKED]) {\n // Store a hidden property on the event so we only trigger link click once,\n // even if there are multiple usePress instances attached to the element.\n e[$d27d541f9569d26d$var$LINK_CLICKED] = true;\n (0, $caaf0dd3060ed57c$export$95185d699e05d4d7)(state.target, e, false);\n }\n state.isPressed = false;\n state.metaKeyEvents?.delete(e.key);\n } else if (e.key === 'Meta' && state.metaKeyEvents?.size) {\n // If we recorded keydown events that occurred while the Meta key was pressed,\n // and those haven't received keyup events already, fire keyup events ourselves.\n // See comment above for more info about the macOS bug causing this.\n let events = state.metaKeyEvents;\n state.metaKeyEvents = undefined;\n for (let event of events.values())state.target?.dispatchEvent(new KeyboardEvent('keyup', event));\n }\n };\n if (typeof PointerEvent !== 'undefined') {\n pressProps.onPointerDown = (e)=>{\n // Only handle left clicks, and ignore events that bubbled through portals.\n if (e.button !== 0 || !(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n // iOS safari fires pointer events from VoiceOver with incorrect coordinates/target.\n // Ignore and let the onClick handler take care of it instead.\n // https://bugs.webkit.org/show_bug.cgi?id=222627\n // https://bugs.webkit.org/show_bug.cgi?id=223202\n if ((0, $b5c62b033c25b96d$export$29bf1b5f2c56cf63)(e.nativeEvent)) {\n state.pointerType = 'virtual';\n return;\n }\n state.pointerType = e.pointerType;\n let shouldStopPropagation = true;\n if (!state.isPressed) {\n state.isPressed = true;\n state.isOverTarget = true;\n state.activePointerId = e.pointerId;\n state.target = e.currentTarget;\n if (!allowTextSelectionOnPress) (0, $cbf007e418543821$export$16a4697467175487)(state.target);\n shouldStopPropagation = triggerPressStart(e, state.pointerType);\n // Release pointer capture so that touch interactions can leave the original target.\n // This enables onPointerLeave and onPointerEnter to fire.\n let target = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n if ('releasePointerCapture' in target) {\n if ('hasPointerCapture' in target) {\n if (target.hasPointerCapture(e.pointerId)) target.releasePointerCapture(e.pointerId);\n } else target.releasePointerCapture(e.pointerId);\n }\n addGlobalListener((0, $d447af545b77c9f1$export$b204af158042fbac)(e.currentTarget), 'pointerup', onPointerUp, false);\n addGlobalListener((0, $d447af545b77c9f1$export$b204af158042fbac)(e.currentTarget), 'pointercancel', onPointerCancel, false);\n }\n if (shouldStopPropagation) e.stopPropagation();\n };\n pressProps.onMouseDown = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n if (e.button === 0) {\n if (preventFocusOnPress) {\n let dispose = (0, $a92dc41f639950be$export$cabe61c495ee3649)(e.target);\n if (dispose) state.disposables.push(dispose);\n }\n e.stopPropagation();\n }\n };\n pressProps.onPointerUp = (e)=>{\n // iOS fires pointerup with zero width and height, so check the pointerType recorded during pointerdown.\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e)) || state.pointerType === 'virtual') return;\n // Only handle left clicks. If isPressed is true, delay until onClick.\n if (e.button === 0 && !state.isPressed) // eslint-disable-next-line react-hooks/rules-of-hooks\n triggerPressUpEvent(e, state.pointerType || e.pointerType);\n };\n pressProps.onPointerEnter = (e)=>{\n if (e.pointerId === state.activePointerId && state.target && !state.isOverTarget && state.pointerType != null) {\n state.isOverTarget = true;\n triggerPressStart($d27d541f9569d26d$var$createEvent(state.target, e), state.pointerType);\n }\n };\n pressProps.onPointerLeave = (e)=>{\n if (e.pointerId === state.activePointerId && state.target && state.isOverTarget && state.pointerType != null) {\n state.isOverTarget = false;\n // eslint-disable-next-line react-hooks/rules-of-hooks\n triggerPressEndEvent($d27d541f9569d26d$var$createEvent(state.target, e), state.pointerType, false);\n cancelOnPointerExit(e);\n }\n };\n let onPointerUp = (e)=>{\n if (e.pointerId === state.activePointerId && state.isPressed && e.button === 0 && state.target) {\n if ((0, $23f2114a1b82827e$export$4282f70798064fe0)(state.target, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e)) && state.pointerType != null) {\n // Wait for onClick to fire onPress. This avoids browser issues when the DOM\n // is mutated between onPointerUp and onClick, and is more compatible with third party libraries.\n // https://github.com/adobe/react-spectrum/issues/1513\n // https://issues.chromium.org/issues/40732224\n // However, iOS and Android do not focus or fire onClick after a long press.\n // We work around this by triggering a click ourselves after a timeout.\n // This timeout is canceled during the click event in case the real one fires first.\n // The timeout must be at least 32ms, because Safari on iOS delays the click event on\n // non-form elements without certain ARIA roles (for hover emulation).\n // https://github.com/WebKit/WebKit/blob/dccfae42bb29bd4bdef052e469f604a9387241c0/Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm#L875-L892\n let clicked = false;\n let timeout = setTimeout(()=>{\n if (state.isPressed && state.target instanceof HTMLElement) {\n if (clicked) // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent(e);\n else {\n (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(state.target);\n state.target.click();\n }\n }\n }, 80);\n // Use a capturing listener to track if a click occurred.\n // If stopPropagation is called it may never reach our handler.\n addGlobalListener(e.currentTarget, 'click', ()=>clicked = true, true);\n state.disposables.push(()=>clearTimeout(timeout));\n } else // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent(e);\n // Ignore subsequent onPointerLeave event before onClick on touch devices.\n state.isOverTarget = false;\n }\n };\n let onPointerCancel = (e)=>{\n // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent(e);\n };\n pressProps.onDragStart = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n // Safari does not call onPointerCancel when a drag starts, whereas Chrome and Firefox do.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent(e);\n };\n } else if (process.env.NODE_ENV === 'test') {\n // NOTE: this fallback branch is entirely used by unit tests.\n // All browsers now support pointer events, but JSDOM still does not.\n pressProps.onMouseDown = (e)=>{\n // Only handle left clicks\n if (e.button !== 0 || !(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n if (state.ignoreEmulatedMouseEvents) {\n e.stopPropagation();\n return;\n }\n state.isPressed = true;\n state.isOverTarget = true;\n state.target = e.currentTarget;\n state.pointerType = (0, $b5c62b033c25b96d$export$60278871457622de)(e.nativeEvent) ? 'virtual' : 'mouse';\n // Flush sync so that focus moved during react re-renders occurs before we yield back to the browser.\n let shouldStopPropagation = (0, $fL2C6$flushSync)(()=>triggerPressStart(e, state.pointerType));\n if (shouldStopPropagation) e.stopPropagation();\n if (preventFocusOnPress) {\n let dispose = (0, $a92dc41f639950be$export$cabe61c495ee3649)(e.target);\n if (dispose) state.disposables.push(dispose);\n }\n addGlobalListener((0, $d447af545b77c9f1$export$b204af158042fbac)(e.currentTarget), 'mouseup', onMouseUp, false);\n };\n pressProps.onMouseEnter = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n let shouldStopPropagation = true;\n if (state.isPressed && !state.ignoreEmulatedMouseEvents && state.pointerType != null) {\n state.isOverTarget = true;\n shouldStopPropagation = triggerPressStart(e, state.pointerType);\n }\n if (shouldStopPropagation) e.stopPropagation();\n };\n pressProps.onMouseLeave = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n let shouldStopPropagation = true;\n if (state.isPressed && !state.ignoreEmulatedMouseEvents && state.pointerType != null) {\n state.isOverTarget = false;\n // eslint-disable-next-line react-hooks/rules-of-hooks\n shouldStopPropagation = triggerPressEndEvent(e, state.pointerType, false);\n cancelOnPointerExit(e);\n }\n if (shouldStopPropagation) e.stopPropagation();\n };\n pressProps.onMouseUp = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n if (!state.ignoreEmulatedMouseEvents && e.button === 0 && !state.isPressed) // eslint-disable-next-line react-hooks/rules-of-hooks\n triggerPressUpEvent(e, state.pointerType || 'mouse');\n };\n let onMouseUp = (e)=>{\n // Only handle left clicks\n if (e.button !== 0) return;\n if (state.ignoreEmulatedMouseEvents) {\n state.ignoreEmulatedMouseEvents = false;\n return;\n }\n if (state.target && (0, $23f2114a1b82827e$export$4282f70798064fe0)(state.target, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e)) && state.pointerType != null) ;\n else // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent(e);\n state.isOverTarget = false;\n };\n pressProps.onTouchStart = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n let touch = $d27d541f9569d26d$var$getTouchFromEvent(e.nativeEvent);\n if (!touch) return;\n state.activePointerId = touch.identifier;\n state.ignoreEmulatedMouseEvents = true;\n state.isOverTarget = true;\n state.isPressed = true;\n state.target = e.currentTarget;\n state.pointerType = 'touch';\n if (!allowTextSelectionOnPress) (0, $cbf007e418543821$export$16a4697467175487)(state.target);\n let shouldStopPropagation = triggerPressStart($d27d541f9569d26d$var$createTouchEvent(state.target, e), state.pointerType);\n if (shouldStopPropagation) e.stopPropagation();\n addGlobalListener((0, $d447af545b77c9f1$export$f21a1ffae260145a)(e.currentTarget), 'scroll', onScroll, true);\n };\n pressProps.onTouchMove = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n if (!state.isPressed) {\n e.stopPropagation();\n return;\n }\n let touch = $d27d541f9569d26d$var$getTouchById(e.nativeEvent, state.activePointerId);\n let shouldStopPropagation = true;\n if (touch && $d27d541f9569d26d$var$isOverTarget(touch, e.currentTarget)) {\n if (!state.isOverTarget && state.pointerType != null) {\n state.isOverTarget = true;\n shouldStopPropagation = triggerPressStart($d27d541f9569d26d$var$createTouchEvent(state.target, e), state.pointerType);\n }\n } else if (state.isOverTarget && state.pointerType != null) {\n state.isOverTarget = false;\n // eslint-disable-next-line react-hooks/rules-of-hooks\n shouldStopPropagation = triggerPressEndEvent($d27d541f9569d26d$var$createTouchEvent(state.target, e), state.pointerType, false);\n cancelOnPointerExit($d27d541f9569d26d$var$createTouchEvent(state.target, e));\n }\n if (shouldStopPropagation) e.stopPropagation();\n };\n pressProps.onTouchEnd = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n if (!state.isPressed) {\n e.stopPropagation();\n return;\n }\n let touch = $d27d541f9569d26d$var$getTouchById(e.nativeEvent, state.activePointerId);\n let shouldStopPropagation = true;\n if (touch && $d27d541f9569d26d$var$isOverTarget(touch, e.currentTarget) && state.pointerType != null) {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n triggerPressUpEvent($d27d541f9569d26d$var$createTouchEvent(state.target, e), state.pointerType);\n // eslint-disable-next-line react-hooks/rules-of-hooks\n shouldStopPropagation = triggerPressEndEvent($d27d541f9569d26d$var$createTouchEvent(state.target, e), state.pointerType);\n triggerSyntheticClick(e.nativeEvent, state.target);\n } else if (state.isOverTarget && state.pointerType != null) // eslint-disable-next-line react-hooks/rules-of-hooks\n shouldStopPropagation = triggerPressEndEvent($d27d541f9569d26d$var$createTouchEvent(state.target, e), state.pointerType, false);\n if (shouldStopPropagation) e.stopPropagation();\n state.isPressed = false;\n state.activePointerId = null;\n state.isOverTarget = false;\n state.ignoreEmulatedMouseEvents = true;\n if (state.target && !allowTextSelectionOnPress) (0, $cbf007e418543821$export$b0d6fa1ab32e3295)(state.target);\n removeAllGlobalListeners();\n };\n pressProps.onTouchCancel = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n e.stopPropagation();\n if (state.isPressed) // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent($d27d541f9569d26d$var$createTouchEvent(state.target, e));\n };\n let onScroll = (e)=>{\n if (state.isPressed && (0, $23f2114a1b82827e$export$4282f70798064fe0)((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e), state.target)) // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent({\n currentTarget: state.target,\n shiftKey: false,\n ctrlKey: false,\n metaKey: false,\n altKey: false\n });\n };\n pressProps.onDragStart = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent(e);\n };\n }\n return pressProps;\n }, [\n addGlobalListener,\n isDisabled,\n preventFocusOnPress,\n removeAllGlobalListeners,\n allowTextSelectionOnPress,\n cancelOnPointerExit,\n triggerPressStart,\n triggerClick,\n triggerSyntheticClick\n ]);\n // Avoid onClick delay for double tap to zoom by default.\n (0, $fL2C6$useEffect)(()=>{\n if (!domRef || process.env.NODE_ENV === 'test') return;\n const ownerDocument = (0, $d447af545b77c9f1$export$b204af158042fbac)(domRef.current);\n if (!ownerDocument || !ownerDocument.head || ownerDocument.getElementById($d27d541f9569d26d$var$STYLE_ID)) return;\n const style = ownerDocument.createElement('style');\n style.id = $d27d541f9569d26d$var$STYLE_ID;\n let nonce = (0, $2b2d34ff061957fb$export$2b85b721e524d74b)(ownerDocument);\n if (nonce) style.nonce = nonce;\n // touchAction: 'manipulation' is supposed to be equivalent, but in\n // Safari it causes onPointerCancel not to fire on scroll.\n // https://bugs.webkit.org/show_bug.cgi?id=240917\n style.textContent = `\n@layer {\n [${$d27d541f9569d26d$var$PRESSABLE_ATTRIBUTE}] {\n touch-action: pan-x pan-y pinch-zoom;\n }\n}\n `.trim();\n ownerDocument.head.prepend(style);\n }, [\n domRef\n ]);\n // Remove user-select: none in case component unmounts immediately after pressStart\n (0, $fL2C6$useEffect)(()=>{\n let state = ref.current;\n return ()=>{\n if (!allowTextSelectionOnPress) (0, $cbf007e418543821$export$b0d6fa1ab32e3295)(state.target ?? undefined);\n for (let dispose of state.disposables)dispose();\n state.disposables = [];\n };\n }, [\n allowTextSelectionOnPress\n ]);\n return {\n isPressed: isPressedProp || isPressed,\n pressProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(domProps, pressProps, {\n [$d27d541f9569d26d$var$PRESSABLE_ATTRIBUTE]: true\n })\n };\n}\nfunction $d27d541f9569d26d$var$isHTMLAnchorLink(target) {\n return target.tagName === 'A' && target.hasAttribute('href');\n}\nfunction $d27d541f9569d26d$var$isValidKeyboardEvent(event, currentTarget) {\n const { key: key, code: code } = event;\n const element = currentTarget;\n const role = element.getAttribute('role');\n // Accessibility for keyboards. Space and Enter only.\n // \"Spacebar\" is for IE 11\n return (key === 'Enter' || key === ' ' || key === 'Spacebar' || code === 'Space') && !(element instanceof (0, $d447af545b77c9f1$export$f21a1ffae260145a)(element).HTMLInputElement && !$d27d541f9569d26d$var$isValidInputKey(element, key) || element instanceof (0, $d447af545b77c9f1$export$f21a1ffae260145a)(element).HTMLTextAreaElement || element.isContentEditable) && // Links should only trigger with Enter key\n !((role === 'link' || !role && $d27d541f9569d26d$var$isHTMLAnchorLink(element)) && key !== 'Enter');\n}\nfunction $d27d541f9569d26d$var$getTouchFromEvent(event) {\n const { targetTouches: targetTouches } = event;\n if (targetTouches.length > 0) return targetTouches[0];\n return null;\n}\nfunction $d27d541f9569d26d$var$getTouchById(event, pointerId) {\n const changedTouches = event.changedTouches;\n for(let i = 0; i < changedTouches.length; i++){\n const touch = changedTouches[i];\n if (touch.identifier === pointerId) return touch;\n }\n return null;\n}\nfunction $d27d541f9569d26d$var$createTouchEvent(target, e) {\n let clientX = 0;\n let clientY = 0;\n if (e.targetTouches && e.targetTouches.length === 1) {\n clientX = e.targetTouches[0].clientX;\n clientY = e.targetTouches[0].clientY;\n }\n return {\n currentTarget: target,\n shiftKey: e.shiftKey,\n ctrlKey: e.ctrlKey,\n metaKey: e.metaKey,\n altKey: e.altKey,\n clientX: clientX,\n clientY: clientY\n };\n}\nfunction $d27d541f9569d26d$var$createEvent(target, e) {\n let clientX = e.clientX;\n let clientY = e.clientY;\n return {\n currentTarget: target,\n shiftKey: e.shiftKey,\n ctrlKey: e.ctrlKey,\n metaKey: e.metaKey,\n altKey: e.altKey,\n clientX: clientX,\n clientY: clientY,\n key: e.key\n };\n}\nfunction $d27d541f9569d26d$var$getPointClientRect(point) {\n let offsetX = 0;\n let offsetY = 0;\n if (point.width !== undefined) offsetX = point.width / 2;\n else if (point.radiusX !== undefined) offsetX = point.radiusX;\n if (point.height !== undefined) offsetY = point.height / 2;\n else if (point.radiusY !== undefined) offsetY = point.radiusY;\n return {\n top: point.clientY - offsetY,\n right: point.clientX + offsetX,\n bottom: point.clientY + offsetY,\n left: point.clientX - offsetX\n };\n}\nfunction $d27d541f9569d26d$var$areRectanglesOverlapping(a, b) {\n // check if they cannot overlap on x axis\n if (a.left > b.right || b.left > a.right) return false;\n // check if they cannot overlap on y axis\n if (a.top > b.bottom || b.top > a.bottom) return false;\n return true;\n}\nfunction $d27d541f9569d26d$var$isOverTarget(point, target) {\n let rect = target.getBoundingClientRect();\n let pointRect = $d27d541f9569d26d$var$getPointClientRect(point);\n return $d27d541f9569d26d$var$areRectanglesOverlapping(rect, pointRect);\n}\nfunction $d27d541f9569d26d$var$shouldPreventDefaultUp(target) {\n if (target instanceof HTMLInputElement) return false;\n if (target instanceof HTMLButtonElement) return target.type !== 'submit' && target.type !== 'reset';\n if ($d27d541f9569d26d$var$isHTMLAnchorLink(target)) return false;\n return true;\n}\nfunction $d27d541f9569d26d$var$shouldPreventDefaultKeyboard(target, key) {\n if (target instanceof HTMLInputElement) return !$d27d541f9569d26d$var$isValidInputKey(target, key);\n return $d27d541f9569d26d$var$shouldPreventDefaultUp(target);\n}\nconst $d27d541f9569d26d$var$nonTextInputTypes = new Set([\n 'checkbox',\n 'radio',\n 'range',\n 'color',\n 'file',\n 'image',\n 'button',\n 'submit',\n 'reset'\n]);\nfunction $d27d541f9569d26d$var$isValidInputKey(target, key) {\n // Only space should toggle checkboxes and radios, not enter.\n return target.type === 'checkbox' || target.type === 'radio' ? key === ' ' : $d27d541f9569d26d$var$nonTextInputTypes.has(target.type);\n}\n\n\nexport {$d27d541f9569d26d$export$45712eceda6fad21 as usePress};\n//# sourceMappingURL=usePress.mjs.map\n","import {createSyntheticEvent as $a92dc41f639950be$export$525bc4921d56d4a, setEventTarget as $a92dc41f639950be$export$c2b7abe5d61ec696, useSyntheticBlurEvent as $a92dc41f639950be$export$715c682d09d639cc} from \"./utils.mjs\";\nimport {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576, getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29, nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac} from \"../utils/domHelpers.mjs\";\nimport {useGlobalListeners as $48a7d519b337145d$export$4eaf04e54aa8eed6} from \"../utils/useGlobalListeners.mjs\";\nimport {useRef as $5319z$useRef, useCallback as $5319z$useCallback} from \"react\";\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 */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n\n\n\nfunction $2c9edc598a03d523$export$420e68273165f4ec(props) {\n let { isDisabled: isDisabled, onBlurWithin: onBlurWithin, onFocusWithin: onFocusWithin, onFocusWithinChange: onFocusWithinChange } = props;\n let state = (0, $5319z$useRef)({\n isFocusWithin: false\n });\n let { addGlobalListener: addGlobalListener, removeAllGlobalListeners: removeAllGlobalListeners } = (0, $48a7d519b337145d$export$4eaf04e54aa8eed6)();\n let onBlur = (0, $5319z$useCallback)((e)=>{\n // Ignore events bubbling through portals.\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n // We don't want to trigger onBlurWithin and then immediately onFocusWithin again\n // when moving focus inside the element. Only trigger if the currentTarget doesn't\n // include the relatedTarget (where focus is moving).\n if (state.current.isFocusWithin && !(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, e.relatedTarget)) {\n state.current.isFocusWithin = false;\n removeAllGlobalListeners();\n if (onBlurWithin) onBlurWithin(e);\n if (onFocusWithinChange) onFocusWithinChange(false);\n }\n }, [\n onBlurWithin,\n onFocusWithinChange,\n state,\n removeAllGlobalListeners\n ]);\n let onSyntheticFocus = (0, $a92dc41f639950be$export$715c682d09d639cc)(onBlur);\n let onFocus = (0, $5319z$useCallback)((e)=>{\n // Ignore events bubbling through portals.\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n // Double check that document.activeElement actually matches e.target in case a previously chained\n // focus handler already moved focus somewhere else.\n let eventTarget = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n const ownerDocument = (0, $d447af545b77c9f1$export$b204af158042fbac)(eventTarget);\n const activeElement = (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)(ownerDocument);\n if (!state.current.isFocusWithin && activeElement === eventTarget) {\n if (onFocusWithin) onFocusWithin(e);\n if (onFocusWithinChange) onFocusWithinChange(true);\n state.current.isFocusWithin = true;\n onSyntheticFocus(e);\n // Browsers don't fire blur events when elements are removed from the DOM.\n // However, if a focus event occurs outside the element we're tracking, we\n // can manually fire onBlur.\n let currentTarget = e.currentTarget;\n addGlobalListener(ownerDocument, 'focus', (e)=>{\n let eventTarget = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n if (state.current.isFocusWithin && !(0, $23f2114a1b82827e$export$4282f70798064fe0)(currentTarget, eventTarget)) {\n let nativeEvent = new ownerDocument.defaultView.FocusEvent('blur', {\n relatedTarget: eventTarget\n });\n (0, $a92dc41f639950be$export$c2b7abe5d61ec696)(nativeEvent, currentTarget);\n let event = (0, $a92dc41f639950be$export$525bc4921d56d4a)(nativeEvent);\n onBlur(event);\n }\n }, {\n capture: true\n });\n }\n }, [\n onFocusWithin,\n onFocusWithinChange,\n onSyntheticFocus,\n addGlobalListener,\n onBlur\n ]);\n if (isDisabled) return {\n focusWithinProps: {\n // These cannot be null, that would conflict in mergeProps\n onFocus: undefined,\n onBlur: undefined\n }\n };\n return {\n focusWithinProps: {\n onFocus: onFocus,\n onBlur: onBlur\n }\n };\n}\n\n\nexport {$2c9edc598a03d523$export$420e68273165f4ec as useFocusWithin};\n//# sourceMappingURL=useFocusWithin.mjs.map\n","import {isFocusVisible as $8f5a2122b0992be3$export$b9b3dfddab17db27, useFocusVisibleListener as $8f5a2122b0992be3$export$ec71b4b83ac08ec3} from \"../interactions/useFocusVisible.mjs\";\nimport {useFocus as $1e74c67db218ce67$export$f8168d8dd8fd66e6} from \"../interactions/useFocus.mjs\";\nimport {useFocusWithin as $2c9edc598a03d523$export$420e68273165f4ec} from \"../interactions/useFocusWithin.mjs\";\nimport {useRef as $3s2y0$useRef, useState as $3s2y0$useState, useCallback as $3s2y0$useCallback} from \"react\";\n\n\n\n\n\nfunction $0c4a58759813079a$export$4e328f61c538687f(props = {}) {\n let { autoFocus: autoFocus = false, isTextInput: isTextInput, within: within } = props;\n let state = (0, $3s2y0$useRef)({\n isFocused: false,\n isFocusVisible: autoFocus || (0, $8f5a2122b0992be3$export$b9b3dfddab17db27)()\n });\n let [isFocused, setFocused] = (0, $3s2y0$useState)(false);\n let [isFocusVisibleState, setFocusVisible] = (0, $3s2y0$useState)(()=>state.current.isFocused && state.current.isFocusVisible);\n let updateState = (0, $3s2y0$useCallback)(()=>setFocusVisible(state.current.isFocused && state.current.isFocusVisible), []);\n let onFocusChange = (0, $3s2y0$useCallback)((isFocused)=>{\n state.current.isFocused = isFocused;\n state.current.isFocusVisible = (0, $8f5a2122b0992be3$export$b9b3dfddab17db27)();\n setFocused(isFocused);\n updateState();\n }, [\n updateState\n ]);\n (0, $8f5a2122b0992be3$export$ec71b4b83ac08ec3)((isFocusVisible)=>{\n state.current.isFocusVisible = isFocusVisible;\n updateState();\n }, [\n isTextInput,\n isFocused\n ], {\n enabled: isFocused,\n isTextInput: isTextInput\n });\n let { focusProps: focusProps } = (0, $1e74c67db218ce67$export$f8168d8dd8fd66e6)({\n isDisabled: within,\n onFocusChange: onFocusChange\n });\n let { focusWithinProps: focusWithinProps } = (0, $2c9edc598a03d523$export$420e68273165f4ec)({\n isDisabled: !within,\n onFocusWithinChange: onFocusChange\n });\n return {\n isFocused: isFocused,\n isFocusVisible: isFocusVisibleState,\n focusProps: within ? focusWithinProps : focusProps\n };\n}\n\n\nexport {$0c4a58759813079a$export$4e328f61c538687f as useFocusRing};\n//# sourceMappingURL=useFocusRing.mjs.map\n","import {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29, nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac} from \"../utils/domHelpers.mjs\";\nimport {useGlobalListeners as $48a7d519b337145d$export$4eaf04e54aa8eed6} from \"../utils/useGlobalListeners.mjs\";\nimport {useState as $hZqKM$useState, useRef as $hZqKM$useRef, useEffect as $hZqKM$useEffect, useMemo as $hZqKM$useMemo} from \"react\";\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 */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n\n\n// iOS fires onPointerEnter twice: once with pointerType=\"touch\" and again with pointerType=\"mouse\".\n// We want to ignore these emulated events so they do not trigger hover behavior.\n// See https://bugs.webkit.org/show_bug.cgi?id=214609.\nlet $e969f22b6713ca4a$var$globalIgnoreEmulatedMouseEvents = false;\nlet $e969f22b6713ca4a$var$hoverCount = 0;\nfunction $e969f22b6713ca4a$var$setGlobalIgnoreEmulatedMouseEvents() {\n $e969f22b6713ca4a$var$globalIgnoreEmulatedMouseEvents = true;\n // Clear globalIgnoreEmulatedMouseEvents after a short timeout. iOS fires onPointerEnter\n // with pointerType=\"mouse\" immediately after onPointerUp and before onFocus. On other\n // devices that don't have this quirk, we don't want to ignore a mouse hover sometime in\n // the distant future because a user previously touched the element.\n setTimeout(()=>{\n $e969f22b6713ca4a$var$globalIgnoreEmulatedMouseEvents = false;\n }, 500);\n}\nfunction $e969f22b6713ca4a$var$handleGlobalPointerEvent(e) {\n if (e.pointerType === 'touch') $e969f22b6713ca4a$var$setGlobalIgnoreEmulatedMouseEvents();\n}\nfunction $e969f22b6713ca4a$var$setupGlobalTouchEvents() {\n let ownerDocument = (0, $d447af545b77c9f1$export$b204af158042fbac)(null);\n if (typeof ownerDocument === 'undefined') return;\n if ($e969f22b6713ca4a$var$hoverCount === 0) {\n if (typeof PointerEvent !== 'undefined') ownerDocument.addEventListener('pointerup', $e969f22b6713ca4a$var$handleGlobalPointerEvent);\n else if (process.env.NODE_ENV === 'test') ownerDocument.addEventListener('touchend', $e969f22b6713ca4a$var$setGlobalIgnoreEmulatedMouseEvents);\n }\n $e969f22b6713ca4a$var$hoverCount++;\n return ()=>{\n $e969f22b6713ca4a$var$hoverCount--;\n if ($e969f22b6713ca4a$var$hoverCount > 0) return;\n if (typeof PointerEvent !== 'undefined') ownerDocument.removeEventListener('pointerup', $e969f22b6713ca4a$var$handleGlobalPointerEvent);\n else if (process.env.NODE_ENV === 'test') ownerDocument.removeEventListener('touchend', $e969f22b6713ca4a$var$setGlobalIgnoreEmulatedMouseEvents);\n };\n}\nfunction $e969f22b6713ca4a$export$ae780daf29e6d456(props) {\n let { onHoverStart: onHoverStart, onHoverChange: onHoverChange, onHoverEnd: onHoverEnd, isDisabled: isDisabled } = props;\n let [isHovered, setHovered] = (0, $hZqKM$useState)(false);\n let state = (0, $hZqKM$useRef)({\n isHovered: false,\n ignoreEmulatedMouseEvents: false,\n pointerType: '',\n target: null\n }).current;\n (0, $hZqKM$useEffect)($e969f22b6713ca4a$var$setupGlobalTouchEvents, []);\n let { addGlobalListener: addGlobalListener, removeAllGlobalListeners: removeAllGlobalListeners } = (0, $48a7d519b337145d$export$4eaf04e54aa8eed6)();\n let { hoverProps: hoverProps, triggerHoverEnd: triggerHoverEnd } = (0, $hZqKM$useMemo)(()=>{\n let triggerHoverStart = (event, pointerType)=>{\n state.pointerType = pointerType;\n if (isDisabled || pointerType === 'touch' || state.isHovered || !(0, $23f2114a1b82827e$export$4282f70798064fe0)(event.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(event))) return;\n state.isHovered = true;\n let target = event.currentTarget;\n state.target = target;\n // When an element that is hovered over is removed, no pointerleave event is fired by the browser,\n // even though the originally hovered target may have shrunk in size so it is no longer hovered.\n // However, a pointerover event will be fired on the new target the mouse is over.\n // In Chrome this happens immediately. In Safari and Firefox, it happens upon moving the mouse one pixel.\n addGlobalListener((0, $d447af545b77c9f1$export$b204af158042fbac)((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(event)), 'pointerover', (e)=>{\n if (state.isHovered && state.target && !(0, $23f2114a1b82827e$export$4282f70798064fe0)(state.target, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) triggerHoverEnd(e, e.pointerType);\n }, {\n capture: true\n });\n if (onHoverStart) onHoverStart({\n type: 'hoverstart',\n target: target,\n pointerType: pointerType\n });\n if (onHoverChange) onHoverChange(true);\n setHovered(true);\n };\n let triggerHoverEnd = (event, pointerType)=>{\n let target = state.target;\n state.pointerType = '';\n state.target = null;\n if (pointerType === 'touch' || !state.isHovered || !target) return;\n state.isHovered = false;\n removeAllGlobalListeners();\n if (onHoverEnd) onHoverEnd({\n type: 'hoverend',\n target: target,\n pointerType: pointerType\n });\n if (onHoverChange) onHoverChange(false);\n setHovered(false);\n };\n let hoverProps = {};\n if (typeof PointerEvent !== 'undefined') {\n hoverProps.onPointerEnter = (e)=>{\n if ($e969f22b6713ca4a$var$globalIgnoreEmulatedMouseEvents && e.pointerType === 'mouse') return;\n triggerHoverStart(e, e.pointerType);\n };\n hoverProps.onPointerLeave = (e)=>{\n if (!isDisabled && (0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) triggerHoverEnd(e, e.pointerType);\n };\n } else if (process.env.NODE_ENV === 'test') {\n hoverProps.onTouchStart = ()=>{\n state.ignoreEmulatedMouseEvents = true;\n };\n hoverProps.onMouseEnter = (e)=>{\n if (!state.ignoreEmulatedMouseEvents && !$e969f22b6713ca4a$var$globalIgnoreEmulatedMouseEvents) triggerHoverStart(e, 'mouse');\n state.ignoreEmulatedMouseEvents = false;\n };\n hoverProps.onMouseLeave = (e)=>{\n if (!isDisabled && (0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) triggerHoverEnd(e, 'mouse');\n };\n }\n return {\n hoverProps: hoverProps,\n triggerHoverEnd: triggerHoverEnd\n };\n }, [\n onHoverStart,\n onHoverChange,\n onHoverEnd,\n isDisabled,\n state,\n addGlobalListener,\n removeAllGlobalListeners\n ]);\n (0, $hZqKM$useEffect)(()=>{\n // Call the triggerHoverEnd as soon as isDisabled changes to true\n // Safe to call triggerHoverEnd, it will early return if we aren't currently hovering\n if (isDisabled) triggerHoverEnd({\n currentTarget: state.target\n }, state.pointerType);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n isDisabled\n ]);\n return {\n hoverProps: hoverProps,\n isHovered: isHovered\n };\n}\n\n\nexport {$e969f22b6713ca4a$export$ae780daf29e6d456 as useHover};\n//# sourceMappingURL=useHover.mjs.map\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 */ /* Inspired by https://github.com/AlmeroSteyn/react-aria-live */ const $a46cf152bb926da5$var$LIVEREGION_TIMEOUT_DELAY = 7000;\nlet $a46cf152bb926da5$var$liveAnnouncer = null;\nfunction $a46cf152bb926da5$export$a9b970dcc4ae71a9(message, assertiveness = 'assertive', timeout = $a46cf152bb926da5$var$LIVEREGION_TIMEOUT_DELAY) {\n if (!$a46cf152bb926da5$var$liveAnnouncer) {\n $a46cf152bb926da5$var$liveAnnouncer = new $a46cf152bb926da5$var$LiveAnnouncer();\n // wait for the live announcer regions to be added to the dom, then announce\n // otherwise Safari won't announce the message if it's added too quickly\n // found most times less than 100ms were not consistent when announcing with Safari\n // IS_REACT_ACT_ENVIRONMENT is used by React 18. Previous versions checked for the `jest` global.\n // https://github.com/reactwg/react-18/discussions/102\n // if we're in a test environment, announce without waiting\n // @ts-ignore\n if (!(typeof IS_REACT_ACT_ENVIRONMENT === 'boolean' ? IS_REACT_ACT_ENVIRONMENT : typeof jest !== 'undefined')) setTimeout(()=>{\n if ($a46cf152bb926da5$var$liveAnnouncer?.isAttached()) $a46cf152bb926da5$var$liveAnnouncer?.announce(message, assertiveness, timeout);\n }, 100);\n else $a46cf152bb926da5$var$liveAnnouncer.announce(message, assertiveness, timeout);\n } else $a46cf152bb926da5$var$liveAnnouncer.announce(message, assertiveness, timeout);\n}\nfunction $a46cf152bb926da5$export$d10ae4f68404609a(assertiveness) {\n if ($a46cf152bb926da5$var$liveAnnouncer) $a46cf152bb926da5$var$liveAnnouncer.clear(assertiveness);\n}\nfunction $a46cf152bb926da5$export$d8686216b8b81b2f() {\n if ($a46cf152bb926da5$var$liveAnnouncer) {\n $a46cf152bb926da5$var$liveAnnouncer.destroy();\n $a46cf152bb926da5$var$liveAnnouncer = null;\n }\n}\n// LiveAnnouncer is implemented using vanilla DOM, not React. That's because as of React 18\n// ReactDOM.render is deprecated, and the replacement, ReactDOM.createRoot is moved into a\n// subpath import `react-dom/client`. That makes it hard for us to support multiple React versions.\n// As a global API, we can't use portals without introducing a breaking API change. LiveAnnouncer\n// is simple enough to implement without React, so that's what we do here.\n// See this discussion for more details: https://github.com/reactwg/react-18/discussions/125#discussioncomment-2382638\nclass $a46cf152bb926da5$var$LiveAnnouncer {\n constructor(){\n this.node = null;\n this.assertiveLog = null;\n this.politeLog = null;\n if (typeof document !== 'undefined') {\n this.node = document.createElement('div');\n this.node.dataset.liveAnnouncer = 'true';\n // copied from VisuallyHidden\n Object.assign(this.node.style, {\n border: 0,\n clip: 'rect(0 0 0 0)',\n clipPath: 'inset(50%)',\n height: '1px',\n margin: '-1px',\n overflow: 'hidden',\n padding: 0,\n position: 'absolute',\n width: '1px',\n whiteSpace: 'nowrap'\n });\n this.assertiveLog = this.createLog('assertive');\n this.node.appendChild(this.assertiveLog);\n this.politeLog = this.createLog('polite');\n this.node.appendChild(this.politeLog);\n document.body.prepend(this.node);\n }\n }\n isAttached() {\n return this.node?.isConnected;\n }\n createLog(ariaLive) {\n let node = document.createElement('div');\n node.setAttribute('role', 'log');\n node.setAttribute('aria-live', ariaLive);\n node.setAttribute('aria-relevant', 'additions');\n return node;\n }\n destroy() {\n if (!this.node) return;\n document.body.removeChild(this.node);\n this.node = null;\n }\n announce(message, assertiveness = 'assertive', timeout = $a46cf152bb926da5$var$LIVEREGION_TIMEOUT_DELAY) {\n if (!this.node) return;\n let node = document.createElement('div');\n if (typeof message === 'object') {\n // To read an aria-labelledby, the element must have an appropriate role, such as img.\n node.setAttribute('role', 'img');\n node.setAttribute('aria-labelledby', message['aria-labelledby']);\n } else node.textContent = message;\n if (assertiveness === 'assertive') this.assertiveLog?.appendChild(node);\n else this.politeLog?.appendChild(node);\n if (message !== '') setTimeout(()=>{\n node.remove();\n }, timeout);\n }\n clear(assertiveness) {\n if (!this.node) return;\n if ((!assertiveness || assertiveness === 'assertive') && this.assertiveLog) this.assertiveLog.innerHTML = '';\n if ((!assertiveness || assertiveness === 'polite') && this.politeLog) this.politeLog.innerHTML = '';\n }\n}\n\n\nexport {$a46cf152bb926da5$export$a9b970dcc4ae71a9 as announce, $a46cf152bb926da5$export$d10ae4f68404609a as clearAnnouncer, $a46cf152bb926da5$export$d8686216b8b81b2f as destroyAnnouncer};\n//# sourceMappingURL=LiveAnnouncer.mjs.map\n","import {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, useRenderProps as $7230ffa83bc0c2cf$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {ProgressBarContext as $6c0095e7e99364f2$export$e9f3bf65a26ce129} from \"./ProgressBar.mjs\";\nimport {announce as $9s8kH$announce} from \"react-aria/private/live-announcer/LiveAnnouncer\";\nimport {useButton as $9s8kH$useButton} from \"react-aria/useButton\";\nimport {createHideableComponent as $9s8kH$createHideableComponent} from \"react-aria/private/collections/Hidden\";\nimport {filterDOMProps as $9s8kH$filterDOMProps} from \"react-aria/filterDOMProps\";\nimport {mergeProps as $9s8kH$mergeProps} from \"react-aria/mergeProps\";\nimport $9s8kH$react, {createContext as $9s8kH$createContext, useRef as $9s8kH$useRef, useEffect as $9s8kH$useEffect} from \"react\";\nimport {useFocusRing as $9s8kH$useFocusRing} from \"react-aria/useFocusRing\";\nimport {useHover as $9s8kH$useHover} from \"react-aria/useHover\";\nimport {useId as $9s8kH$useId} from \"react-aria/useId\";\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\nconst $7705c033048f6da7$export$24d547caef80ccd1 = /*#__PURE__*/ (0, $9s8kH$createContext)({});\nconst $7705c033048f6da7$export$353f5b6fc5456de1 = /*#__PURE__*/ (0, $9s8kH$createHideableComponent)(function Button(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $7705c033048f6da7$export$24d547caef80ccd1);\n let ctx = props;\n let { isPending: isPending } = ctx;\n let { buttonProps: buttonProps, isPressed: isPressed } = (0, $9s8kH$useButton)(props, ref);\n buttonProps = $7705c033048f6da7$var$useDisableInteractions(buttonProps, isPending);\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $9s8kH$useFocusRing)(props);\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $9s8kH$useHover)({\n ...props,\n isDisabled: props.isDisabled || isPending\n });\n let renderValues = {\n isHovered: isHovered,\n isPressed: (ctx.isPressed || isPressed) && !isPending,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n isDisabled: props.isDisabled || false,\n isPending: isPending ?? false\n };\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n values: renderValues,\n defaultClassName: 'react-aria-Button'\n });\n let buttonId = (0, $9s8kH$useId)(buttonProps.id);\n let progressId = (0, $9s8kH$useId)();\n let ariaLabelledby = buttonProps['aria-labelledby'];\n if (isPending) {\n // aria-labelledby wins over aria-label\n // https://www.w3.org/TR/accname-1.2/#computation-steps\n if (ariaLabelledby) ariaLabelledby = `${ariaLabelledby} ${progressId}`;\n else if (buttonProps['aria-label']) ariaLabelledby = `${buttonId} ${progressId}`;\n }\n let wasPending = (0, $9s8kH$useRef)(isPending);\n (0, $9s8kH$useEffect)(()=>{\n let message = {\n 'aria-labelledby': ariaLabelledby || buttonId\n };\n if (!wasPending.current && isFocused && isPending) (0, $9s8kH$announce)(message, 'assertive');\n else if (wasPending.current && isFocused && !isPending) (0, $9s8kH$announce)(message, 'assertive');\n wasPending.current = isPending;\n }, [\n isPending,\n isFocused,\n ariaLabelledby,\n buttonId\n ]);\n let DOMProps = (0, $9s8kH$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.onClick;\n return /*#__PURE__*/ (0, $9s8kH$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).button, {\n ...(0, $9s8kH$mergeProps)(DOMProps, renderProps, buttonProps, focusProps, hoverProps),\n // When the button is in a pending state, we want to stop implicit form submission (ie. when the user presses enter on a text input).\n // We do this by changing the button's type to button.\n type: buttonProps.type === 'submit' && isPending ? 'button' : buttonProps.type,\n id: buttonId,\n ref: ref,\n \"aria-labelledby\": ariaLabelledby,\n slot: props.slot || undefined,\n \"aria-disabled\": isPending ? 'true' : buttonProps['aria-disabled'],\n \"data-disabled\": props.isDisabled || undefined,\n \"data-pressed\": renderValues.isPressed || undefined,\n \"data-hovered\": isHovered || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-pending\": isPending || undefined,\n \"data-focus-visible\": isFocusVisible || undefined\n }, /*#__PURE__*/ (0, $9s8kH$react).createElement((0, $6c0095e7e99364f2$export$e9f3bf65a26ce129).Provider, {\n value: {\n id: progressId\n }\n }, renderProps.children));\n});\n// Events to preserve when isPending is true (for tooltips and other overlays)\nconst $7705c033048f6da7$var$PRESERVED_EVENT_PATTERN = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;\nfunction $7705c033048f6da7$var$useDisableInteractions(props, isPending) {\n if (isPending) {\n for(const key in props)if (key.startsWith('on') && !$7705c033048f6da7$var$PRESERVED_EVENT_PATTERN.test(key)) props[key] = undefined;\n props.href = undefined;\n props.target = undefined;\n }\n return props;\n}\n\n\nexport {$7705c033048f6da7$export$24d547caef80ccd1 as ButtonContext, $7705c033048f6da7$export$353f5b6fc5456de1 as Button};\n//# sourceMappingURL=Button.mjs.map\n","import {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415} from \"./utils.mjs\";\nimport $6Xi9O$react, {createContext as $6Xi9O$createContext, forwardRef as $6Xi9O$forwardRef} 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\nconst $2ec61d1d4f780267$export$d688439359537581 = /*#__PURE__*/ (0, $6Xi9O$createContext)({});\nconst $2ec61d1d4f780267$export$a8a3e93435678ff9 = /*#__PURE__*/ (0, $6Xi9O$forwardRef)(function Heading(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $2ec61d1d4f780267$export$d688439359537581);\n let { children: children, level: level = 3, className: className, ...domProps } = props;\n let Element = (0, $7230ffa83bc0c2cf$export$df3a06d6289f983e)[`h${level}`];\n return /*#__PURE__*/ (0, $6Xi9O$react).createElement(Element, {\n ...domProps,\n ref: ref,\n className: className ?? 'react-aria-Heading'\n }, children);\n});\n\n\nexport {$2ec61d1d4f780267$export$d688439359537581 as HeadingContext, $2ec61d1d4f780267$export$a8a3e93435678ff9 as Heading};\n//# sourceMappingURL=Heading.mjs.map\n","import {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415} from \"./utils.mjs\";\nimport $cGkLv$react, {createContext as $cGkLv$createContext, forwardRef as $cGkLv$forwardRef} 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\nconst $efe09c6d1c304b50$export$9afb8bc826b033ea = /*#__PURE__*/ (0, $cGkLv$createContext)({});\nconst $efe09c6d1c304b50$export$5f1af8db9871e1d6 = /*#__PURE__*/ (0, $cGkLv$forwardRef)(function Text(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $efe09c6d1c304b50$export$9afb8bc826b033ea);\n let { elementType: elementType = 'span', ...domProps } = props;\n let ElementType = (0, $7230ffa83bc0c2cf$export$df3a06d6289f983e)[elementType];\n // @ts-ignore\n return /*#__PURE__*/ (0, $cGkLv$react).createElement(ElementType, {\n className: \"react-aria-Text\",\n ...domProps,\n ref: ref\n });\n});\n\n\nexport {$efe09c6d1c304b50$export$9afb8bc826b033ea as TextContext, $efe09c6d1c304b50$export$5f1af8db9871e1d6 as Text};\n//# sourceMappingURL=Text.mjs.map\n","var $de4ff52e53c44097$exports = {};\n$de4ff52e53c44097$exports = {\n \"dateRange\": (args)=>`${args.startDate} \\u{625}\\u{644}\\u{649} ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} \\u{627}\\u{644}\\u{645}\\u{62D}\\u{62F}\\u{62F}`,\n \"finishRangeSelectionPrompt\": `\\u{627}\\u{646}\\u{642}\\u{631} \\u{644}\\u{625}\\u{646}\\u{647}\\u{627}\\u{621} \\u{639}\\u{645}\\u{644}\\u{64A}\\u{629} \\u{62A}\\u{62D}\\u{62F}\\u{64A}\\u{62F} \\u{646}\\u{637}\\u{627}\\u{642} \\u{627}\\u{644}\\u{62A}\\u{627}\\u{631}\\u{64A}\\u{62E}`,\n \"maximumDate\": `\\u{622}\\u{62E}\\u{631} \\u{62A}\\u{627}\\u{631}\\u{64A}\\u{62E} \\u{645}\\u{62A}\\u{627}\\u{62D}`,\n \"minimumDate\": `\\u{623}\\u{648}\\u{644} \\u{62A}\\u{627}\\u{631}\\u{64A}\\u{62E} \\u{645}\\u{62A}\\u{627}\\u{62D}`,\n \"next\": `\\u{627}\\u{644}\\u{62A}\\u{627}\\u{644}\\u{64A}`,\n \"previous\": `\\u{627}\\u{644}\\u{633}\\u{627}\\u{628}\\u{642}`,\n \"selectedDateDescription\": (args)=>`\\u{62A}\\u{627}\\u{631}\\u{64A}\\u{62E} \\u{645}\\u{62D}\\u{62F}\\u{62F}: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`\\u{627}\\u{644}\\u{645}\\u{62F}\\u{649} \\u{627}\\u{644}\\u{632}\\u{645}\\u{646}\\u{64A} \\u{627}\\u{644}\\u{645}\\u{62D}\\u{62F}\\u{62F}: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `\\u{627}\\u{646}\\u{642}\\u{631} \\u{644}\\u{628}\\u{62F}\\u{621} \\u{639}\\u{645}\\u{644}\\u{64A}\\u{629} \\u{62A}\\u{62D}\\u{62F}\\u{64A}\\u{62F} \\u{646}\\u{637}\\u{627}\\u{642} \\u{627}\\u{644}\\u{62A}\\u{627}\\u{631}\\u{64A}\\u{62E}`,\n \"todayDate\": (args)=>`\\u{627}\\u{644}\\u{64A}\\u{648}\\u{645}\\u{60C} ${args.date}`,\n \"todayDateSelected\": (args)=>`\\u{627}\\u{644}\\u{64A}\\u{648}\\u{645}\\u{60C} ${args.date} \\u{645}\\u{62D}\\u{62F}\\u{62F}`\n};\n\n\nexport {$de4ff52e53c44097$exports as default};\n//# sourceMappingURL=ar-AE.mjs.map\n","var $3033c86f23206ee6$exports = {};\n$3033c86f23206ee6$exports = {\n \"dateRange\": (args)=>`${args.startDate} \\u{434}\\u{43E} ${args.endDate}`,\n \"dateSelected\": (args)=>`\\u{418}\\u{437}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E} \\u{435} ${args.date}`,\n \"finishRangeSelectionPrompt\": `\\u{41D}\\u{430}\\u{442}\\u{438}\\u{441}\\u{43D}\\u{435}\\u{442}\\u{435}, \\u{437}\\u{430} \\u{434}\\u{430} \\u{434}\\u{43E}\\u{432}\\u{44A}\\u{440}\\u{448}\\u{438}\\u{442}\\u{435} \\u{438}\\u{437}\\u{431}\\u{43E}\\u{440}\\u{430} \\u{43D}\\u{430} \\u{432}\\u{440}\\u{435}\\u{43C}\\u{435}\\u{432}\\u{438} \\u{438}\\u{43D}\\u{442}\\u{435}\\u{440}\\u{432}\\u{430}\\u{43B}`,\n \"maximumDate\": `\\u{41F}\\u{43E}\\u{441}\\u{43B}\\u{435}\\u{434}\\u{43D}\\u{430} \\u{43D}\\u{430}\\u{43B}\\u{438}\\u{447}\\u{43D}\\u{430} \\u{434}\\u{430}\\u{442}\\u{430}`,\n \"minimumDate\": `\\u{41F}\\u{44A}\\u{440}\\u{432}\\u{430} \\u{43D}\\u{430}\\u{43B}\\u{438}\\u{447}\\u{43D}\\u{430} \\u{434}\\u{430}\\u{442}\\u{430}`,\n \"next\": `\\u{41D}\\u{430}\\u{43F}\\u{440}\\u{435}\\u{434}`,\n \"previous\": `\\u{41D}\\u{430}\\u{437}\\u{430}\\u{434}`,\n \"selectedDateDescription\": (args)=>`\\u{418}\\u{437}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{430} \\u{434}\\u{430}\\u{442}\\u{430}: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`\\u{418}\\u{437}\\u{431}\\u{440}\\u{430}\\u{43D} \\u{434}\\u{438}\\u{430}\\u{43F}\\u{430}\\u{437}\\u{43E}\\u{43D}: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `\\u{41D}\\u{430}\\u{442}\\u{438}\\u{441}\\u{43D}\\u{435}\\u{442}\\u{435}, \\u{437}\\u{430} \\u{434}\\u{430} \\u{43F}\\u{440}\\u{438}\\u{441}\\u{442}\\u{44A}\\u{43F}\\u{438}\\u{442}\\u{435} \\u{43A}\\u{44A}\\u{43C} \\u{438}\\u{437}\\u{431}\\u{43E}\\u{440}\\u{430} \\u{43D}\\u{430} \\u{432}\\u{440}\\u{435}\\u{43C}\\u{435}\\u{432}\\u{438} \\u{438}\\u{43D}\\u{442}\\u{435}\\u{440}\\u{432}\\u{430}\\u{43B}`,\n \"todayDate\": (args)=>`\\u{414}\\u{43D}\\u{435}\\u{441}, ${args.date}`,\n \"todayDateSelected\": (args)=>`\\u{414}\\u{43D}\\u{435}\\u{441}, ${args.date} \\u{441}\\u{430} \\u{438}\\u{437}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{438}`\n};\n\n\nexport {$3033c86f23206ee6$exports as default};\n//# sourceMappingURL=bg-BG.mjs.map\n","var $e63c2c159c28ba5d$exports = {};\n$e63c2c159c28ba5d$exports = {\n \"dateRange\": (args)=>`${args.startDate} a\\u{17E} ${args.endDate}`,\n \"dateSelected\": (args)=>`Vybr\\xe1no ${args.date}`,\n \"finishRangeSelectionPrompt\": `Kliknut\\xedm dokon\\u{10D}\\xedte v\\xfdb\\u{11B}r rozsahu dat`,\n \"maximumDate\": `Posledn\\xed dostupn\\xe9 datum`,\n \"minimumDate\": `Prvn\\xed dostupn\\xe9 datum`,\n \"next\": `Dal\\u{161}\\xed`,\n \"previous\": `P\\u{159}edchoz\\xed`,\n \"selectedDateDescription\": (args)=>`Vybran\\xe9 datum: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Vybran\\xe9 obdob\\xed: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Kliknut\\xedm zah\\xe1j\\xedte v\\xfdb\\u{11B}r rozsahu dat`,\n \"todayDate\": (args)=>`Dnes, ${args.date}`,\n \"todayDateSelected\": (args)=>`Dnes, vybr\\xe1no ${args.date}`\n};\n\n\nexport {$e63c2c159c28ba5d$exports as default};\n//# sourceMappingURL=cs-CZ.mjs.map\n","var $8e0410439778b957$exports = {};\n$8e0410439778b957$exports = {\n \"dateRange\": (args)=>`${args.startDate} til ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} valgt`,\n \"finishRangeSelectionPrompt\": `Klik for at fuldf\\xf8re valg af datoomr\\xe5de`,\n \"maximumDate\": `Sidste ledige dato`,\n \"minimumDate\": `F\\xf8rste ledige dato`,\n \"next\": `N\\xe6ste`,\n \"previous\": `Forrige`,\n \"selectedDateDescription\": (args)=>`Valgt dato: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Valgt interval: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Klik for at starte valg af datoomr\\xe5de`,\n \"todayDate\": (args)=>`I dag, ${args.date}`,\n \"todayDateSelected\": (args)=>`I dag, ${args.date} valgt`\n};\n\n\nexport {$8e0410439778b957$exports as default};\n//# sourceMappingURL=da-DK.mjs.map\n","var $b0f7870d1ca7ced9$exports = {};\n$b0f7870d1ca7ced9$exports = {\n \"dateRange\": (args)=>`${args.startDate} bis ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} ausgew\\xe4hlt`,\n \"finishRangeSelectionPrompt\": `Klicken, um die Auswahl des Datumsbereichs zu beenden`,\n \"maximumDate\": `Letztes verf\\xfcgbares Datum`,\n \"minimumDate\": `Erstes verf\\xfcgbares Datum`,\n \"next\": `Weiter`,\n \"previous\": `Zur\\xfcck`,\n \"selectedDateDescription\": (args)=>`Ausgew\\xe4hltes Datum: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Ausgew\\xe4hlter Bereich: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Klicken, um die Auswahl des Datumsbereichs zu beginnen`,\n \"todayDate\": (args)=>`Heute, ${args.date}`,\n \"todayDateSelected\": (args)=>`Heute, ${args.date} ausgew\\xe4hlt`\n};\n\n\nexport {$b0f7870d1ca7ced9$exports as default};\n//# sourceMappingURL=de-DE.mjs.map\n","var $4a6d5d90f11b57e2$exports = {};\n$4a6d5d90f11b57e2$exports = {\n \"dateRange\": (args)=>`${args.startDate} \\u{3AD}\\u{3C9}\\u{3C2} ${args.endDate}`,\n \"dateSelected\": (args)=>`\\u{395}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3AD}\\u{3C7}\\u{3B8}\\u{3B7}\\u{3BA}\\u{3B5} ${args.date}`,\n \"finishRangeSelectionPrompt\": `\\u{39A}\\u{3AC}\\u{3BD}\\u{3C4}\\u{3B5} \\u{3BA}\\u{3BB}\\u{3B9}\\u{3BA} \\u{3B3}\\u{3B9}\\u{3B1} \\u{3BD}\\u{3B1} \\u{3BF}\\u{3BB}\\u{3BF}\\u{3BA}\\u{3BB}\\u{3B7}\\u{3C1}\\u{3CE}\\u{3C3}\\u{3B5}\\u{3C4}\\u{3B5} \\u{3C4}\\u{3B7}\\u{3BD} \\u{3B5}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3BF}\\u{3B3}\\u{3AE} \\u{3B5}\\u{3CD}\\u{3C1}\\u{3BF}\\u{3C5}\\u{3C2} \\u{3B7}\\u{3BC}\\u{3B5}\\u{3C1}\\u{3BF}\\u{3BC}\\u{3B7}\\u{3BD}\\u{3B9}\\u{3CE}\\u{3BD}`,\n \"maximumDate\": `\\u{3A4}\\u{3B5}\\u{3BB}\\u{3B5}\\u{3C5}\\u{3C4}\\u{3B1}\\u{3AF}\\u{3B1} \\u{3B4}\\u{3B9}\\u{3B1}\\u{3B8}\\u{3AD}\\u{3C3}\\u{3B9}\\u{3BC}\\u{3B7} \\u{3B7}\\u{3BC}\\u{3B5}\\u{3C1}\\u{3BF}\\u{3BC}\\u{3B7}\\u{3BD}\\u{3AF}\\u{3B1}`,\n \"minimumDate\": `\\u{3A0}\\u{3C1}\\u{3CE}\\u{3C4}\\u{3B7} \\u{3B4}\\u{3B9}\\u{3B1}\\u{3B8}\\u{3AD}\\u{3C3}\\u{3B9}\\u{3BC}\\u{3B7} \\u{3B7}\\u{3BC}\\u{3B5}\\u{3C1}\\u{3BF}\\u{3BC}\\u{3B7}\\u{3BD}\\u{3AF}\\u{3B1}`,\n \"next\": `\\u{395}\\u{3C0}\\u{3CC}\\u{3BC}\\u{3B5}\\u{3BD}\\u{3BF}`,\n \"previous\": `\\u{3A0}\\u{3C1}\\u{3BF}\\u{3B7}\\u{3B3}\\u{3BF}\\u{3CD}\\u{3BC}\\u{3B5}\\u{3BD}\\u{3BF}`,\n \"selectedDateDescription\": (args)=>`\\u{395}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3B5}\\u{3B3}\\u{3BC}\\u{3AD}\\u{3BD}\\u{3B7} \\u{3B7}\\u{3BC}\\u{3B5}\\u{3C1}\\u{3BF}\\u{3BC}\\u{3B7}\\u{3BD}\\u{3AF}\\u{3B1}: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`\\u{395}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3B5}\\u{3B3}\\u{3BC}\\u{3AD}\\u{3BD}\\u{3BF} \\u{3B5}\\u{3CD}\\u{3C1}\\u{3BF}\\u{3C2}: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `\\u{39A}\\u{3AC}\\u{3BD}\\u{3C4}\\u{3B5} \\u{3BA}\\u{3BB}\\u{3B9}\\u{3BA} \\u{3B3}\\u{3B9}\\u{3B1} \\u{3BD}\\u{3B1} \\u{3BE}\\u{3B5}\\u{3BA}\\u{3B9}\\u{3BD}\\u{3AE}\\u{3C3}\\u{3B5}\\u{3C4}\\u{3B5} \\u{3C4}\\u{3B7}\\u{3BD} \\u{3B5}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3BF}\\u{3B3}\\u{3AE} \\u{3B5}\\u{3CD}\\u{3C1}\\u{3BF}\\u{3C5}\\u{3C2} \\u{3B7}\\u{3BC}\\u{3B5}\\u{3C1}\\u{3BF}\\u{3BC}\\u{3B7}\\u{3BD}\\u{3B9}\\u{3CE}\\u{3BD}`,\n \"todayDate\": (args)=>`\\u{3A3}\\u{3AE}\\u{3BC}\\u{3B5}\\u{3C1}\\u{3B1}, ${args.date}`,\n \"todayDateSelected\": (args)=>`\\u{3A3}\\u{3AE}\\u{3BC}\\u{3B5}\\u{3C1}\\u{3B1}, \\u{3B5}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3AD}\\u{3C7}\\u{3C4}\\u{3B7}\\u{3BA}\\u{3B5} ${args.date}`\n};\n\n\nexport {$4a6d5d90f11b57e2$exports as default};\n//# sourceMappingURL=el-GR.mjs.map\n","var $237b063e672c0a93$exports = {};\n$237b063e672c0a93$exports = {\n \"previous\": `Previous`,\n \"next\": `Next`,\n \"selectedDateDescription\": (args)=>`Selected Date: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Selected Range: ${args.dateRange}`,\n \"todayDate\": (args)=>`Today, ${args.date}`,\n \"todayDateSelected\": (args)=>`Today, ${args.date} selected`,\n \"dateSelected\": (args)=>`${args.date} selected`,\n \"startRangeSelectionPrompt\": `Click to start selecting date range`,\n \"finishRangeSelectionPrompt\": `Click to finish selecting date range`,\n \"minimumDate\": `First available date`,\n \"maximumDate\": `Last available date`,\n \"dateRange\": (args)=>`${args.startDate} to ${args.endDate}`\n};\n\n\nexport {$237b063e672c0a93$exports as default};\n//# sourceMappingURL=en-US.mjs.map\n","var $0bf9be334194066b$exports = {};\n$0bf9be334194066b$exports = {\n \"dateRange\": (args)=>`${args.startDate} a ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} seleccionado`,\n \"finishRangeSelectionPrompt\": `Haga clic para terminar de seleccionar rango de fechas`,\n \"maximumDate\": `\\xdaltima fecha disponible`,\n \"minimumDate\": `Primera fecha disponible`,\n \"next\": `Siguiente`,\n \"previous\": `Anterior`,\n \"selectedDateDescription\": (args)=>`Fecha seleccionada: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Intervalo seleccionado: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Haga clic para comenzar a seleccionar un rango de fechas`,\n \"todayDate\": (args)=>`Hoy, ${args.date}`,\n \"todayDateSelected\": (args)=>`Hoy, ${args.date} seleccionado`\n};\n\n\nexport {$0bf9be334194066b$exports as default};\n//# sourceMappingURL=es-ES.mjs.map\n","var $762bc0f67e5e5cc7$exports = {};\n$762bc0f67e5e5cc7$exports = {\n \"dateRange\": (args)=>`${args.startDate} kuni ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} valitud`,\n \"finishRangeSelectionPrompt\": `Kl\\xf5psake kuup\\xe4evavahemiku valimise l\\xf5petamiseks`,\n \"maximumDate\": `Viimane saadaolev kuup\\xe4ev`,\n \"minimumDate\": `Esimene saadaolev kuup\\xe4ev`,\n \"next\": `J\\xe4rgmine`,\n \"previous\": `Eelmine`,\n \"selectedDateDescription\": (args)=>`Valitud kuup\\xe4ev: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Valitud vahemik: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Kl\\xf5psake kuup\\xe4evavahemiku valimiseks`,\n \"todayDate\": (args)=>`T\\xe4na, ${args.date}`,\n \"todayDateSelected\": (args)=>`T\\xe4na, ${args.date} valitud`\n};\n\n\nexport {$762bc0f67e5e5cc7$exports as default};\n//# sourceMappingURL=et-EE.mjs.map\n","var $7bf481627c09eee2$exports = {};\n$7bf481627c09eee2$exports = {\n \"dateRange\": (args)=>`${args.startDate} \\u{2013} ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} valittu`,\n \"finishRangeSelectionPrompt\": `Lopeta p\\xe4iv\\xe4m\\xe4\\xe4r\\xe4alueen valinta napsauttamalla t\\xe4t\\xe4.`,\n \"maximumDate\": `Viimeinen varattavissa oleva p\\xe4iv\\xe4m\\xe4\\xe4r\\xe4`,\n \"minimumDate\": `Ensimm\\xe4inen varattavissa oleva p\\xe4iv\\xe4m\\xe4\\xe4r\\xe4`,\n \"next\": `Seuraava`,\n \"previous\": `Edellinen`,\n \"selectedDateDescription\": (args)=>`Valittu p\\xe4iv\\xe4m\\xe4\\xe4r\\xe4: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Valittu aikav\\xe4li: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Aloita p\\xe4iv\\xe4m\\xe4\\xe4r\\xe4alueen valinta napsauttamalla t\\xe4t\\xe4.`,\n \"todayDate\": (args)=>`T\\xe4n\\xe4\\xe4n, ${args.date}`,\n \"todayDateSelected\": (args)=>`T\\xe4n\\xe4\\xe4n, ${args.date} valittu`\n};\n\n\nexport {$7bf481627c09eee2$exports as default};\n//# sourceMappingURL=fi-FI.mjs.map\n","var $1e9f53915be2c8ed$exports = {};\n$1e9f53915be2c8ed$exports = {\n \"dateRange\": (args)=>`${args.startDate} \\xe0 ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} s\\xe9lectionn\\xe9`,\n \"finishRangeSelectionPrompt\": `Cliquer pour finir de s\\xe9lectionner la plage de dates`,\n \"maximumDate\": `Derni\\xe8re date disponible`,\n \"minimumDate\": `Premi\\xe8re date disponible`,\n \"next\": `Suivant`,\n \"previous\": `Pr\\xe9c\\xe9dent`,\n \"selectedDateDescription\": (args)=>`Date s\\xe9lectionn\\xe9e\\xa0: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Plage s\\xe9lectionn\\xe9e\\xa0: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Cliquer pour commencer \\xe0 s\\xe9lectionner la plage de dates`,\n \"todayDate\": (args)=>`Aujourd'hui, ${args.date}`,\n \"todayDateSelected\": (args)=>`Aujourd\\u{2019}hui, ${args.date} s\\xe9lectionn\\xe9`\n};\n\n\nexport {$1e9f53915be2c8ed$exports as default};\n//# sourceMappingURL=fr-FR.mjs.map\n","var $838528550da127b3$exports = {};\n$838528550da127b3$exports = {\n \"dateRange\": (args)=>`${args.startDate} \\u{5E2}\\u{5D3} ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} \\u{5E0}\\u{5D1}\\u{5D7}\\u{5E8}`,\n \"finishRangeSelectionPrompt\": `\\u{5D7}\\u{5E5} \\u{5DB}\\u{5D3}\\u{5D9} \\u{5DC}\\u{5E1}\\u{5D9}\\u{5D9}\\u{5DD} \\u{5D0}\\u{5EA} \\u{5D1}\\u{5D7}\\u{5D9}\\u{5E8}\\u{5EA} \\u{5D8}\\u{5D5}\\u{5D5}\\u{5D7} \\u{5D4}\\u{5EA}\\u{5D0}\\u{5E8}\\u{5D9}\\u{5DB}\\u{5D9}\\u{5DD}`,\n \"maximumDate\": `\\u{5EA}\\u{5D0}\\u{5E8}\\u{5D9}\\u{5DA} \\u{5E4}\\u{5E0}\\u{5D5}\\u{5D9} \\u{5D0}\\u{5D7}\\u{5E8}\\u{5D5}\\u{5DF}`,\n \"minimumDate\": `\\u{5EA}\\u{5D0}\\u{5E8}\\u{5D9}\\u{5DA} \\u{5E4}\\u{5E0}\\u{5D5}\\u{5D9} \\u{5E8}\\u{5D0}\\u{5E9}\\u{5D5}\\u{5DF}`,\n \"next\": `\\u{5D4}\\u{5D1}\\u{5D0}`,\n \"previous\": `\\u{5D4}\\u{5E7}\\u{5D5}\\u{5D3}\\u{5DD}`,\n \"selectedDateDescription\": (args)=>`\\u{5EA}\\u{5D0}\\u{5E8}\\u{5D9}\\u{5DA} \\u{5E0}\\u{5D1}\\u{5D7}\\u{5E8}: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`\\u{5D8}\\u{5D5}\\u{5D5}\\u{5D7} \\u{5E0}\\u{5D1}\\u{5D7}\\u{5E8}: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `\\u{5DC}\\u{5D7}\\u{5E5} \\u{5DB}\\u{5D3}\\u{5D9} \\u{5DC}\\u{5D4}\\u{5EA}\\u{5D7}\\u{5D9}\\u{5DC} \\u{5D1}\\u{5D1}\\u{5D7}\\u{5D9}\\u{5E8}\\u{5EA} \\u{5D8}\\u{5D5}\\u{5D5}\\u{5D7} \\u{5D4}\\u{5EA}\\u{5D0}\\u{5E8}\\u{5D9}\\u{5DB}\\u{5D9}\\u{5DD}`,\n \"todayDate\": (args)=>`\\u{5D4}\\u{5D9}\\u{5D5}\\u{5DD}, ${args.date}`,\n \"todayDateSelected\": (args)=>`\\u{5D4}\\u{5D9}\\u{5D5}\\u{5DD}, ${args.date} \\u{5E0}\\u{5D1}\\u{5D7}\\u{5E8}`\n};\n\n\nexport {$838528550da127b3$exports as default};\n//# sourceMappingURL=he-IL.mjs.map\n","var $6fbc7e3e61335323$exports = {};\n$6fbc7e3e61335323$exports = {\n \"dateRange\": (args)=>`${args.startDate} do ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} odabran`,\n \"finishRangeSelectionPrompt\": `Kliknite da dovr\\u{161}ite raspon odabranih datuma`,\n \"maximumDate\": `Posljednji raspolo\\u{17E}ivi datum`,\n \"minimumDate\": `Prvi raspolo\\u{17E}ivi datum`,\n \"next\": `Sljede\\u{107}i`,\n \"previous\": `Prethodni`,\n \"selectedDateDescription\": (args)=>`Odabrani datum: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Odabrani raspon: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Kliknite da zapo\\u{10D}nete raspon odabranih datuma`,\n \"todayDate\": (args)=>`Danas, ${args.date}`,\n \"todayDateSelected\": (args)=>`Danas, odabran ${args.date}`\n};\n\n\nexport {$6fbc7e3e61335323$exports as default};\n//# sourceMappingURL=hr-HR.mjs.map\n","var $78de8ac0adbb6929$exports = {};\n$78de8ac0adbb6929$exports = {\n \"dateRange\": (args)=>`${args.startDate}\\u{2013}${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} kiv\\xe1lasztva`,\n \"finishRangeSelectionPrompt\": `Kattintson a d\\xe1tumtartom\\xe1ny kijel\\xf6l\\xe9s\\xe9nek befejez\\xe9s\\xe9hez`,\n \"maximumDate\": `Utols\\xf3 el\\xe9rhet\\u{151} d\\xe1tum`,\n \"minimumDate\": `Az els\\u{151} el\\xe9rhet\\u{151} d\\xe1tum`,\n \"next\": `K\\xf6vetkez\\u{151}`,\n \"previous\": `El\\u{151}z\\u{151}`,\n \"selectedDateDescription\": (args)=>`Kijel\\xf6lt d\\xe1tum: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Kijel\\xf6lt tartom\\xe1ny: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Kattintson a d\\xe1tumtartom\\xe1ny kijel\\xf6l\\xe9s\\xe9nek ind\\xedt\\xe1s\\xe1hoz`,\n \"todayDate\": (args)=>`Ma, ${args.date}`,\n \"todayDateSelected\": (args)=>`Ma, ${args.date} kijel\\xf6lve`\n};\n\n\nexport {$78de8ac0adbb6929$exports as default};\n//# sourceMappingURL=hu-HU.mjs.map\n","var $a8be7f99cec60bdd$exports = {};\n$a8be7f99cec60bdd$exports = {\n \"dateRange\": (args)=>`Da ${args.startDate} a ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} selezionata`,\n \"finishRangeSelectionPrompt\": `Fai clic per completare la selezione dell\\u{2019}intervallo di date`,\n \"maximumDate\": `Ultima data disponibile`,\n \"minimumDate\": `Prima data disponibile`,\n \"next\": `Successivo`,\n \"previous\": `Precedente`,\n \"selectedDateDescription\": (args)=>`Data selezionata: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Intervallo selezionato: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Fai clic per selezionare l\\u{2019}intervallo di date`,\n \"todayDate\": (args)=>`Oggi, ${args.date}`,\n \"todayDateSelected\": (args)=>`Oggi, ${args.date} selezionata`\n};\n\n\nexport {$a8be7f99cec60bdd$exports as default};\n//# sourceMappingURL=it-IT.mjs.map\n","var $d8d7a17d4c1790c2$exports = {};\n$d8d7a17d4c1790c2$exports = {\n \"dateRange\": (args)=>`${args.startDate} \\u{304B}\\u{3089} ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} \\u{3092}\\u{9078}\\u{629E}`,\n \"finishRangeSelectionPrompt\": `\\u{30AF}\\u{30EA}\\u{30C3}\\u{30AF}\\u{3057}\\u{3066}\\u{65E5}\\u{4ED8}\\u{7BC4}\\u{56F2}\\u{306E}\\u{9078}\\u{629E}\\u{3092}\\u{7D42}\\u{4E86}`,\n \"maximumDate\": `\\u{6700}\\u{7D42}\\u{5229}\\u{7528}\\u{53EF}\\u{80FD}\\u{65E5}`,\n \"minimumDate\": `\\u{6700}\\u{521D}\\u{306E}\\u{5229}\\u{7528}\\u{53EF}\\u{80FD}\\u{65E5}`,\n \"next\": `\\u{6B21}\\u{3078}`,\n \"previous\": `\\u{524D}\\u{3078}`,\n \"selectedDateDescription\": (args)=>`\\u{9078}\\u{629E}\\u{3057}\\u{305F}\\u{65E5}\\u{4ED8} : ${args.date}`,\n \"selectedRangeDescription\": (args)=>`\\u{9078}\\u{629E}\\u{7BC4}\\u{56F2} : ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `\\u{30AF}\\u{30EA}\\u{30C3}\\u{30AF}\\u{3057}\\u{3066}\\u{65E5}\\u{4ED8}\\u{7BC4}\\u{56F2}\\u{306E}\\u{9078}\\u{629E}\\u{3092}\\u{958B}\\u{59CB}`,\n \"todayDate\": (args)=>`\\u{672C}\\u{65E5}\\u{3001}${args.date}`,\n \"todayDateSelected\": (args)=>`\\u{672C}\\u{65E5}\\u{3001}${args.date} \\u{3092}\\u{9078}\\u{629E}`\n};\n\n\nexport {$d8d7a17d4c1790c2$exports as default};\n//# sourceMappingURL=ja-JP.mjs.map\n","var $c8412aa45d40ecea$exports = {};\n$c8412aa45d40ecea$exports = {\n \"dateRange\": (args)=>`${args.startDate} ~ ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} \\u{C120}\\u{D0DD}\\u{B428}`,\n \"finishRangeSelectionPrompt\": `\\u{B0A0}\\u{C9DC} \\u{BC94}\\u{C704} \\u{C120}\\u{D0DD}\\u{C744} \\u{C644}\\u{B8CC}\\u{D558}\\u{B824}\\u{BA74} \\u{D074}\\u{B9AD}\\u{D558}\\u{C2ED}\\u{C2DC}\\u{C624}.`,\n \"maximumDate\": `\\u{B9C8}\\u{C9C0}\\u{B9C9}\\u{C73C}\\u{B85C} \\u{C0AC}\\u{C6A9} \\u{AC00}\\u{B2A5}\\u{D55C} \\u{C77C}\\u{C790}`,\n \"minimumDate\": `\\u{CC98}\\u{C74C}\\u{C73C}\\u{B85C} \\u{C0AC}\\u{C6A9} \\u{AC00}\\u{B2A5}\\u{D55C} \\u{C77C}\\u{C790}`,\n \"next\": `\\u{B2E4}\\u{C74C}`,\n \"previous\": `\\u{C774}\\u{C804}`,\n \"selectedDateDescription\": (args)=>`\\u{C120}\\u{D0DD} \\u{C77C}\\u{C790}: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`\\u{C120}\\u{D0DD} \\u{BC94}\\u{C704}: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `\\u{B0A0}\\u{C9DC} \\u{BC94}\\u{C704} \\u{C120}\\u{D0DD}\\u{C744} \\u{C2DC}\\u{C791}\\u{D558}\\u{B824}\\u{BA74} \\u{D074}\\u{B9AD}\\u{D558}\\u{C2ED}\\u{C2DC}\\u{C624}.`,\n \"todayDate\": (args)=>`\\u{C624}\\u{B298}, ${args.date}`,\n \"todayDateSelected\": (args)=>`\\u{C624}\\u{B298}, ${args.date} \\u{C120}\\u{D0DD}\\u{B428}`\n};\n\n\nexport {$c8412aa45d40ecea$exports as default};\n//# sourceMappingURL=ko-KR.mjs.map\n","var $0688f78441c44b9b$exports = {};\n$0688f78441c44b9b$exports = {\n \"dateRange\": (args)=>`Nuo ${args.startDate} iki ${args.endDate}`,\n \"dateSelected\": (args)=>`Pasirinkta ${args.date}`,\n \"finishRangeSelectionPrompt\": `Spustel\\u{117}kite, kad baigtum\\u{117}te pasirinkti dat\\u{173} interval\\u{105}`,\n \"maximumDate\": `Paskutin\\u{117} galima data`,\n \"minimumDate\": `Pirmoji galima data`,\n \"next\": `Paskesnis`,\n \"previous\": `Ankstesnis`,\n \"selectedDateDescription\": (args)=>`Pasirinkta data: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Pasirinktas intervalas: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Spustel\\u{117}kite, kad prad\\u{117}tum\\u{117}te pasirinkti dat\\u{173} interval\\u{105}`,\n \"todayDate\": (args)=>`\\u{160}iandien, ${args.date}`,\n \"todayDateSelected\": (args)=>`\\u{160}iandien, pasirinkta ${args.date}`\n};\n\n\nexport {$0688f78441c44b9b$exports as default};\n//# sourceMappingURL=lt-LT.mjs.map\n","var $2e99f61e399c4671$exports = {};\n$2e99f61e399c4671$exports = {\n \"dateRange\": (args)=>`No ${args.startDate} l\\u{12B}dz ${args.endDate}`,\n \"dateSelected\": (args)=>`Atlas\\u{12B}ts: ${args.date}`,\n \"finishRangeSelectionPrompt\": `Noklik\\u{161}\\u{137}iniet, lai pabeigtu datumu diapazona atlasi`,\n \"maximumDate\": `P\\u{113}d\\u{113}jais pieejamais datums`,\n \"minimumDate\": `Pirmais pieejamais datums`,\n \"next\": `T\\u{101}l\\u{101}k`,\n \"previous\": `Atpaka\\u{13C}`,\n \"selectedDateDescription\": (args)=>`Atlas\\u{12B}tais datums: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Atlas\\u{12B}tais diapazons: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Noklik\\u{161}\\u{137}iniet, lai s\\u{101}ktu datumu diapazona atlasi`,\n \"todayDate\": (args)=>`\\u{160}odien, ${args.date}`,\n \"todayDateSelected\": (args)=>`Atlas\\u{12B}ta \\u{161}odiena, ${args.date}`\n};\n\n\nexport {$2e99f61e399c4671$exports as default};\n//# sourceMappingURL=lv-LV.mjs.map\n","var $3308acf44b9ebfe2$exports = {};\n$3308acf44b9ebfe2$exports = {\n \"dateRange\": (args)=>`${args.startDate} til ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} valgt`,\n \"finishRangeSelectionPrompt\": `Klikk for \\xe5 fullf\\xf8re valg av datoomr\\xe5de`,\n \"maximumDate\": `Siste tilgjengelige dato`,\n \"minimumDate\": `F\\xf8rste tilgjengelige dato`,\n \"next\": `Neste`,\n \"previous\": `Forrige`,\n \"selectedDateDescription\": (args)=>`Valgt dato: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Valgt omr\\xe5de: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Klikk for \\xe5 starte valg av datoomr\\xe5de`,\n \"todayDate\": (args)=>`I dag, ${args.date}`,\n \"todayDateSelected\": (args)=>`I dag, ${args.date} valgt`\n};\n\n\nexport {$3308acf44b9ebfe2$exports as default};\n//# sourceMappingURL=nb-NO.mjs.map\n","var $21c44b9667b0a4d9$exports = {};\n$21c44b9667b0a4d9$exports = {\n \"dateRange\": (args)=>`${args.startDate} tot ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} geselecteerd`,\n \"finishRangeSelectionPrompt\": `Klik om de selectie van het datumbereik te voltooien`,\n \"maximumDate\": `Laatste beschikbare datum`,\n \"minimumDate\": `Eerste beschikbare datum`,\n \"next\": `Volgende`,\n \"previous\": `Vorige`,\n \"selectedDateDescription\": (args)=>`Geselecteerde datum: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Geselecteerd bereik: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Klik om het datumbereik te selecteren`,\n \"todayDate\": (args)=>`Vandaag, ${args.date}`,\n \"todayDateSelected\": (args)=>`Vandaag, ${args.date} geselecteerd`\n};\n\n\nexport {$21c44b9667b0a4d9$exports as default};\n//# sourceMappingURL=nl-NL.mjs.map\n","var $623c23717aa9790e$exports = {};\n$623c23717aa9790e$exports = {\n \"dateRange\": (args)=>`${args.startDate} do ${args.endDate}`,\n \"dateSelected\": (args)=>`Wybrano ${args.date}`,\n \"finishRangeSelectionPrompt\": `Kliknij, aby zako\\u{144}czy\\u{107} wyb\\xf3r zakresu dat`,\n \"maximumDate\": `Ostatnia dost\\u{119}pna data`,\n \"minimumDate\": `Pierwsza dost\\u{119}pna data`,\n \"next\": `Dalej`,\n \"previous\": `Wstecz`,\n \"selectedDateDescription\": (args)=>`Wybrana data: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Wybrany zakres: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Kliknij, aby rozpocz\\u{105}\\u{107} wyb\\xf3r zakresu dat`,\n \"todayDate\": (args)=>`Dzisiaj, ${args.date}`,\n \"todayDateSelected\": (args)=>`Dzisiaj wybrano ${args.date}`\n};\n\n\nexport {$623c23717aa9790e$exports as default};\n//# sourceMappingURL=pl-PL.mjs.map\n","var $e7f4b8491d3557b4$exports = {};\n$e7f4b8491d3557b4$exports = {\n \"dateRange\": (args)=>`${args.startDate} a ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} selecionado`,\n \"finishRangeSelectionPrompt\": `Clique para concluir a sele\\xe7\\xe3o do intervalo de datas`,\n \"maximumDate\": `\\xdaltima data dispon\\xedvel`,\n \"minimumDate\": `Primeira data dispon\\xedvel`,\n \"next\": `Pr\\xf3ximo`,\n \"previous\": `Anterior`,\n \"selectedDateDescription\": (args)=>`Data selecionada: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Intervalo selecionado: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Clique para iniciar a sele\\xe7\\xe3o do intervalo de datas`,\n \"todayDate\": (args)=>`Hoje, ${args.date}`,\n \"todayDateSelected\": (args)=>`Hoje, ${args.date} selecionado`\n};\n\n\nexport {$e7f4b8491d3557b4$exports as default};\n//# sourceMappingURL=pt-BR.mjs.map\n","var $e99996dc60ab2305$exports = {};\n$e99996dc60ab2305$exports = {\n \"dateRange\": (args)=>`${args.startDate} a ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} selecionado`,\n \"finishRangeSelectionPrompt\": `Clique para terminar de selecionar o intervalo de datas`,\n \"maximumDate\": `\\xdaltima data dispon\\xedvel`,\n \"minimumDate\": `Primeira data dispon\\xedvel`,\n \"next\": `Pr\\xf3ximo`,\n \"previous\": `Anterior`,\n \"selectedDateDescription\": (args)=>`Data selecionada: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Intervalo selecionado: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Clique para come\\xe7ar a selecionar o intervalo de datas`,\n \"todayDate\": (args)=>`Hoje, ${args.date}`,\n \"todayDateSelected\": (args)=>`Hoje, ${args.date} selecionado`\n};\n\n\nexport {$e99996dc60ab2305$exports as default};\n//# sourceMappingURL=pt-PT.mjs.map\n","var $95deb956d533bce5$exports = {};\n$95deb956d533bce5$exports = {\n \"dateRange\": (args)=>`De la ${args.startDate} p\\xe2n\\u{103} la ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} selectat\\u{103}`,\n \"finishRangeSelectionPrompt\": `Ap\\u{103}sa\\u{163}i pentru a finaliza selec\\u{163}ia razei pentru dat\\u{103}`,\n \"maximumDate\": `Ultima dat\\u{103} disponibil\\u{103}`,\n \"minimumDate\": `Prima dat\\u{103} disponibil\\u{103}`,\n \"next\": `Urm\\u{103}torul`,\n \"previous\": `\\xcenainte`,\n \"selectedDateDescription\": (args)=>`Dat\\u{103} selectat\\u{103}: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Interval selectat: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Ap\\u{103}sa\\u{163}i pentru a \\xeencepe selec\\u{163}ia razei pentru dat\\u{103}`,\n \"todayDate\": (args)=>`Ast\\u{103}zi, ${args.date}`,\n \"todayDateSelected\": (args)=>`Azi, ${args.date} selectat\\u{103}`\n};\n\n\nexport {$95deb956d533bce5$exports as default};\n//# sourceMappingURL=ro-RO.mjs.map\n","var $e8b100cc46a72272$exports = {};\n$e8b100cc46a72272$exports = {\n \"dateRange\": (args)=>`\\u{421} ${args.startDate} \\u{43F}\\u{43E} ${args.endDate}`,\n \"dateSelected\": (args)=>`\\u{412}\\u{44B}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E} ${args.date}`,\n \"finishRangeSelectionPrompt\": `\\u{429}\\u{435}\\u{43B}\\u{43A}\\u{43D}\\u{438}\\u{442}\\u{435}, \\u{447}\\u{442}\\u{43E}\\u{431}\\u{44B} \\u{437}\\u{430}\\u{432}\\u{435}\\u{440}\\u{448}\\u{438}\\u{442}\\u{44C} \\u{432}\\u{44B}\\u{431}\\u{43E}\\u{440} \\u{434}\\u{438}\\u{430}\\u{43F}\\u{430}\\u{437}\\u{43E}\\u{43D}\\u{430} \\u{434}\\u{430}\\u{442}`,\n \"maximumDate\": `\\u{41F}\\u{43E}\\u{441}\\u{43B}\\u{435}\\u{434}\\u{43D}\\u{44F}\\u{44F} \\u{434}\\u{43E}\\u{441}\\u{442}\\u{443}\\u{43F}\\u{43D}\\u{430}\\u{44F} \\u{434}\\u{430}\\u{442}\\u{430}`,\n \"minimumDate\": `\\u{41F}\\u{435}\\u{440}\\u{432}\\u{430}\\u{44F} \\u{434}\\u{43E}\\u{441}\\u{442}\\u{443}\\u{43F}\\u{43D}\\u{430}\\u{44F} \\u{434}\\u{430}\\u{442}\\u{430}`,\n \"next\": `\\u{414}\\u{430}\\u{43B}\\u{435}\\u{435}`,\n \"previous\": `\\u{41D}\\u{430}\\u{437}\\u{430}\\u{434}`,\n \"selectedDateDescription\": (args)=>`\\u{412}\\u{44B}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43D}\\u{430}\\u{44F} \\u{434}\\u{430}\\u{442}\\u{430}: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`\\u{412}\\u{44B}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43D}\\u{44B}\\u{439} \\u{434}\\u{438}\\u{430}\\u{43F}\\u{430}\\u{437}\\u{43E}\\u{43D}: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `\\u{429}\\u{435}\\u{43B}\\u{43A}\\u{43D}\\u{438}\\u{442}\\u{435}, \\u{447}\\u{442}\\u{43E}\\u{431}\\u{44B} \\u{43D}\\u{430}\\u{447}\\u{430}\\u{442}\\u{44C} \\u{432}\\u{44B}\\u{431}\\u{43E}\\u{440} \\u{434}\\u{438}\\u{430}\\u{43F}\\u{430}\\u{437}\\u{43E}\\u{43D}\\u{430} \\u{434}\\u{430}\\u{442}`,\n \"todayDate\": (args)=>`\\u{421}\\u{435}\\u{433}\\u{43E}\\u{434}\\u{43D}\\u{44F}, ${args.date}`,\n \"todayDateSelected\": (args)=>`\\u{421}\\u{435}\\u{433}\\u{43E}\\u{434}\\u{43D}\\u{44F}, \\u{432}\\u{44B}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E} ${args.date}`\n};\n\n\nexport {$e8b100cc46a72272$exports as default};\n//# sourceMappingURL=ru-RU.mjs.map\n","var $481c4b85f271df66$exports = {};\n$481c4b85f271df66$exports = {\n \"dateRange\": (args)=>`Od ${args.startDate} do ${args.endDate}`,\n \"dateSelected\": (args)=>`Vybrat\\xfd d\\xe1tum ${args.date}`,\n \"finishRangeSelectionPrompt\": `Kliknut\\xedm dokon\\u{10D}\\xedte v\\xfdber rozsahu d\\xe1tumov`,\n \"maximumDate\": `Posledn\\xfd dostupn\\xfd d\\xe1tum`,\n \"minimumDate\": `Prv\\xfd dostupn\\xfd d\\xe1tum`,\n \"next\": `Nasleduj\\xface`,\n \"previous\": `Predch\\xe1dzaj\\xface`,\n \"selectedDateDescription\": (args)=>`Vybrat\\xfd d\\xe1tum: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Vybrat\\xfd rozsah: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Kliknut\\xedm spust\\xedte v\\xfdber rozsahu d\\xe1tumov`,\n \"todayDate\": (args)=>`Dnes ${args.date}`,\n \"todayDateSelected\": (args)=>`Vybrat\\xfd dne\\u{161}n\\xfd d\\xe1tum ${args.date}`\n};\n\n\nexport {$481c4b85f271df66$exports as default};\n//# sourceMappingURL=sk-SK.mjs.map\n","var $64589b243bc78a0f$exports = {};\n$64589b243bc78a0f$exports = {\n \"dateRange\": (args)=>`${args.startDate} do ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} izbrano`,\n \"finishRangeSelectionPrompt\": `Kliknite za dokon\\u{10D}anje izbire datumskega obsega`,\n \"maximumDate\": `Zadnji razpolo\\u{17E}ljivi datum`,\n \"minimumDate\": `Prvi razpolo\\u{17E}ljivi datum`,\n \"next\": `Naprej`,\n \"previous\": `Nazaj`,\n \"selectedDateDescription\": (args)=>`Izbrani datum: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Izbrano obmo\\u{10D}je: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Kliknite za za\\u{10D}etek izbire datumskega obsega`,\n \"todayDate\": (args)=>`Danes, ${args.date}`,\n \"todayDateSelected\": (args)=>`Danes, ${args.date} izbrano`\n};\n\n\nexport {$64589b243bc78a0f$exports as default};\n//# sourceMappingURL=sl-SI.mjs.map\n","var $018d90f18dffe1c6$exports = {};\n$018d90f18dffe1c6$exports = {\n \"dateRange\": (args)=>`${args.startDate} do ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} izabran`,\n \"finishRangeSelectionPrompt\": `Kliknite da dovr\\u{161}ite opseg izabranih datuma`,\n \"maximumDate\": `Zadnji raspolo\\u{17E}ivi datum`,\n \"minimumDate\": `Prvi raspolo\\u{17E}ivi datum`,\n \"next\": `Slede\\u{107}i`,\n \"previous\": `Prethodni`,\n \"selectedDateDescription\": (args)=>`Izabrani datum: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Izabrani period: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Kliknite da zapo\\u{10D}nete opseg izabranih datuma`,\n \"todayDate\": (args)=>`Danas, ${args.date}`,\n \"todayDateSelected\": (args)=>`Danas, izabran ${args.date}`\n};\n\n\nexport {$018d90f18dffe1c6$exports as default};\n//# sourceMappingURL=sr-SP.mjs.map\n","var $7fc9e71ef8ebabc4$exports = {};\n$7fc9e71ef8ebabc4$exports = {\n \"dateRange\": (args)=>`${args.startDate} till ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} har valts`,\n \"finishRangeSelectionPrompt\": `Klicka f\\xf6r att avsluta val av datumintervall`,\n \"maximumDate\": `Sista tillg\\xe4ngliga datum`,\n \"minimumDate\": `F\\xf6rsta tillg\\xe4ngliga datum`,\n \"next\": `N\\xe4sta`,\n \"previous\": `F\\xf6reg\\xe5ende`,\n \"selectedDateDescription\": (args)=>`Valt datum: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Valt intervall: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Klicka f\\xf6r att v\\xe4lja datumintervall`,\n \"todayDate\": (args)=>`Idag, ${args.date}`,\n \"todayDateSelected\": (args)=>`Idag, ${args.date} har valts`\n};\n\n\nexport {$7fc9e71ef8ebabc4$exports as default};\n//# sourceMappingURL=sv-SE.mjs.map\n","var $ef7f075a1788bc8c$exports = {};\n$ef7f075a1788bc8c$exports = {\n \"dateRange\": (args)=>`${args.startDate} - ${args.endDate}`,\n \"dateSelected\": (args)=>`${args.date} se\\xe7ildi`,\n \"finishRangeSelectionPrompt\": `Tarih aral\\u{131}\\u{11F}\\u{131} se\\xe7imini tamamlamak i\\xe7in t\\u{131}klay\\u{131}n`,\n \"maximumDate\": `Son m\\xfcsait tarih`,\n \"minimumDate\": `\\u{130}lk m\\xfcsait tarih`,\n \"next\": `Sonraki`,\n \"previous\": `\\xd6nceki`,\n \"selectedDateDescription\": (args)=>`Se\\xe7ilen Tarih: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`Se\\xe7ilen Aral\\u{131}k: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `Tarih aral\\u{131}\\u{11F}\\u{131} se\\xe7imini ba\\u{15F}latmak i\\xe7in t\\u{131}klay\\u{131}n`,\n \"todayDate\": (args)=>`Bug\\xfcn, ${args.date}`,\n \"todayDateSelected\": (args)=>`Bug\\xfcn, ${args.date} se\\xe7ildi`\n};\n\n\nexport {$ef7f075a1788bc8c$exports as default};\n//# sourceMappingURL=tr-TR.mjs.map\n","var $1c1c5ddca5934ba3$exports = {};\n$1c1c5ddca5934ba3$exports = {\n \"dateRange\": (args)=>`${args.startDate} \\u{2014} ${args.endDate}`,\n \"dateSelected\": (args)=>`\\u{412}\\u{438}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E} ${args.date}`,\n \"finishRangeSelectionPrompt\": `\\u{41D}\\u{430}\\u{442}\\u{438}\\u{441}\\u{43D}\\u{456}\\u{442}\\u{44C}, \\u{449}\\u{43E}\\u{431} \\u{437}\\u{430}\\u{432}\\u{435}\\u{440}\\u{448}\\u{438}\\u{442}\\u{438} \\u{432}\\u{438}\\u{431}\\u{456}\\u{440} \\u{434}\\u{456}\\u{430}\\u{43F}\\u{430}\\u{437}\\u{43E}\\u{43D}\\u{443} \\u{434}\\u{430}\\u{442}`,\n \"maximumDate\": `\\u{41E}\\u{441}\\u{442}\\u{430}\\u{43D}\\u{43D}\\u{44F} \\u{434}\\u{43E}\\u{441}\\u{442}\\u{443}\\u{43F}\\u{43D}\\u{430} \\u{434}\\u{430}\\u{442}\\u{430}`,\n \"minimumDate\": `\\u{41F}\\u{435}\\u{440}\\u{448}\\u{430} \\u{434}\\u{43E}\\u{441}\\u{442}\\u{443}\\u{43F}\\u{43D}\\u{430} \\u{434}\\u{430}\\u{442}\\u{430}`,\n \"next\": `\\u{41D}\\u{430}\\u{441}\\u{442}\\u{443}\\u{43F}\\u{43D}\\u{438}\\u{439}`,\n \"previous\": `\\u{41F}\\u{43E}\\u{43F}\\u{435}\\u{440}\\u{435}\\u{434}\\u{43D}\\u{456}\\u{439}`,\n \"selectedDateDescription\": (args)=>`\\u{412}\\u{438}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{430} \\u{434}\\u{430}\\u{442}\\u{430}: ${args.date}`,\n \"selectedRangeDescription\": (args)=>`\\u{412}\\u{438}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{438}\\u{439} \\u{434}\\u{456}\\u{430}\\u{43F}\\u{430}\\u{437}\\u{43E}\\u{43D}: ${args.dateRange}`,\n \"startRangeSelectionPrompt\": `\\u{41D}\\u{430}\\u{442}\\u{438}\\u{441}\\u{43D}\\u{456}\\u{442}\\u{44C}, \\u{449}\\u{43E}\\u{431} \\u{43F}\\u{43E}\\u{447}\\u{430}\\u{442}\\u{438} \\u{432}\\u{438}\\u{431}\\u{456}\\u{440} \\u{434}\\u{456}\\u{430}\\u{43F}\\u{430}\\u{437}\\u{43E}\\u{43D}\\u{443} \\u{434}\\u{430}\\u{442}`,\n \"todayDate\": (args)=>`\\u{421}\\u{44C}\\u{43E}\\u{433}\\u{43E}\\u{434}\\u{43D}\\u{456}, ${args.date}`,\n \"todayDateSelected\": (args)=>`\\u{421}\\u{44C}\\u{43E}\\u{433}\\u{43E}\\u{434}\\u{43D}\\u{456}, \\u{432}\\u{438}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E} ${args.date}`\n};\n\n\nexport {$1c1c5ddca5934ba3$exports as default};\n//# sourceMappingURL=uk-UA.mjs.map\n","var $a43114bde648d07d$exports = {};\n$a43114bde648d07d$exports = {\n \"dateRange\": (args)=>`${args.startDate} \\u{81F3} ${args.endDate}`,\n \"dateSelected\": (args)=>`\\u{5DF2}\\u{9009}\\u{62E9} ${args.date}`,\n \"finishRangeSelectionPrompt\": `\\u{5355}\\u{51FB}\\u{4EE5}\\u{5B8C}\\u{6210}\\u{9009}\\u{62E9}\\u{65E5}\\u{671F}\\u{8303}\\u{56F4}`,\n \"maximumDate\": `\\u{6700}\\u{540E}\\u{4E00}\\u{4E2A}\\u{53EF}\\u{7528}\\u{65E5}\\u{671F}`,\n \"minimumDate\": `\\u{7B2C}\\u{4E00}\\u{4E2A}\\u{53EF}\\u{7528}\\u{65E5}\\u{671F}`,\n \"next\": `\\u{4E0B}\\u{4E00}\\u{9875}`,\n \"previous\": `\\u{4E0A}\\u{4E00}\\u{9875}`,\n \"selectedDateDescription\": (args)=>`\\u{9009}\\u{5B9A}\\u{7684}\\u{65E5}\\u{671F}\\u{FF1A}${args.date}`,\n \"selectedRangeDescription\": (args)=>`\\u{9009}\\u{5B9A}\\u{7684}\\u{8303}\\u{56F4}\\u{FF1A}${args.dateRange}`,\n \"startRangeSelectionPrompt\": `\\u{5355}\\u{51FB}\\u{4EE5}\\u{5F00}\\u{59CB}\\u{9009}\\u{62E9}\\u{65E5}\\u{671F}\\u{8303}\\u{56F4}`,\n \"todayDate\": (args)=>`\\u{4ECA}\\u{5929}\\u{FF0C}\\u{5373} ${args.date}`,\n \"todayDateSelected\": (args)=>`\\u{5DF2}\\u{9009}\\u{62E9}\\u{4ECA}\\u{5929}\\u{FF0C}\\u{5373} ${args.date}`\n};\n\n\nexport {$a43114bde648d07d$exports as default};\n//# sourceMappingURL=zh-CN.mjs.map\n","var $139934e8158dd341$exports = {};\n$139934e8158dd341$exports = {\n \"dateRange\": (args)=>`${args.startDate} \\u{81F3} ${args.endDate}`,\n \"dateSelected\": (args)=>`\\u{5DF2}\\u{9078}\\u{53D6} ${args.date}`,\n \"finishRangeSelectionPrompt\": `\\u{6309}\\u{4E00}\\u{4E0B}\\u{4EE5}\\u{5B8C}\\u{6210}\\u{9078}\\u{53D6}\\u{65E5}\\u{671F}\\u{7BC4}\\u{570D}`,\n \"maximumDate\": `\\u{6700}\\u{5F8C}\\u{4E00}\\u{500B}\\u{53EF}\\u{7528}\\u{65E5}\\u{671F}`,\n \"minimumDate\": `\\u{7B2C}\\u{4E00}\\u{500B}\\u{53EF}\\u{7528}\\u{65E5}\\u{671F}`,\n \"next\": `\\u{4E0B}\\u{4E00}\\u{9801}`,\n \"previous\": `\\u{4E0A}\\u{4E00}\\u{9801}`,\n \"selectedDateDescription\": (args)=>`\\u{9078}\\u{5B9A}\\u{7684}\\u{65E5}\\u{671F}\\u{FF1A}${args.date}`,\n \"selectedRangeDescription\": (args)=>`\\u{9078}\\u{5B9A}\\u{7684}\\u{7BC4}\\u{570D}\\u{FF1A}${args.dateRange}`,\n \"startRangeSelectionPrompt\": `\\u{6309}\\u{4E00}\\u{4E0B}\\u{4EE5}\\u{958B}\\u{59CB}\\u{9078}\\u{53D6}\\u{65E5}\\u{671F}\\u{7BC4}\\u{570D}`,\n \"todayDate\": (args)=>`\\u{4ECA}\\u{5929}\\u{FF0C}${args.date}`,\n \"todayDateSelected\": (args)=>`\\u{5DF2}\\u{9078}\\u{53D6}\\u{4ECA}\\u{5929}\\u{FF0C}${args.date}`\n};\n\n\nexport {$139934e8158dd341$exports as default};\n//# sourceMappingURL=zh-TW.mjs.map\n","import $3T2N1$intlcalendararAEmjs from \"../intl/calendar/ar-AE.mjs\";\nimport $3T2N1$intlcalendarbgBGmjs from \"../intl/calendar/bg-BG.mjs\";\nimport $3T2N1$intlcalendarcsCZmjs from \"../intl/calendar/cs-CZ.mjs\";\nimport $3T2N1$intlcalendardaDKmjs from \"../intl/calendar/da-DK.mjs\";\nimport $3T2N1$intlcalendardeDEmjs from \"../intl/calendar/de-DE.mjs\";\nimport $3T2N1$intlcalendarelGRmjs from \"../intl/calendar/el-GR.mjs\";\nimport $3T2N1$intlcalendarenUSmjs from \"../intl/calendar/en-US.mjs\";\nimport $3T2N1$intlcalendaresESmjs from \"../intl/calendar/es-ES.mjs\";\nimport $3T2N1$intlcalendaretEEmjs from \"../intl/calendar/et-EE.mjs\";\nimport $3T2N1$intlcalendarfiFImjs from \"../intl/calendar/fi-FI.mjs\";\nimport $3T2N1$intlcalendarfrFRmjs from \"../intl/calendar/fr-FR.mjs\";\nimport $3T2N1$intlcalendarheILmjs from \"../intl/calendar/he-IL.mjs\";\nimport $3T2N1$intlcalendarhrHRmjs from \"../intl/calendar/hr-HR.mjs\";\nimport $3T2N1$intlcalendarhuHUmjs from \"../intl/calendar/hu-HU.mjs\";\nimport $3T2N1$intlcalendaritITmjs from \"../intl/calendar/it-IT.mjs\";\nimport $3T2N1$intlcalendarjaJPmjs from \"../intl/calendar/ja-JP.mjs\";\nimport $3T2N1$intlcalendarkoKRmjs from \"../intl/calendar/ko-KR.mjs\";\nimport $3T2N1$intlcalendarltLTmjs from \"../intl/calendar/lt-LT.mjs\";\nimport $3T2N1$intlcalendarlvLVmjs from \"../intl/calendar/lv-LV.mjs\";\nimport $3T2N1$intlcalendarnbNOmjs from \"../intl/calendar/nb-NO.mjs\";\nimport $3T2N1$intlcalendarnlNLmjs from \"../intl/calendar/nl-NL.mjs\";\nimport $3T2N1$intlcalendarplPLmjs from \"../intl/calendar/pl-PL.mjs\";\nimport $3T2N1$intlcalendarptBRmjs from \"../intl/calendar/pt-BR.mjs\";\nimport $3T2N1$intlcalendarptPTmjs from \"../intl/calendar/pt-PT.mjs\";\nimport $3T2N1$intlcalendarroROmjs from \"../intl/calendar/ro-RO.mjs\";\nimport $3T2N1$intlcalendarruRUmjs from \"../intl/calendar/ru-RU.mjs\";\nimport $3T2N1$intlcalendarskSKmjs from \"../intl/calendar/sk-SK.mjs\";\nimport $3T2N1$intlcalendarslSImjs from \"../intl/calendar/sl-SI.mjs\";\nimport $3T2N1$intlcalendarsrSPmjs from \"../intl/calendar/sr-SP.mjs\";\nimport $3T2N1$intlcalendarsvSEmjs from \"../intl/calendar/sv-SE.mjs\";\nimport $3T2N1$intlcalendartrTRmjs from \"../intl/calendar/tr-TR.mjs\";\nimport $3T2N1$intlcalendarukUAmjs from \"../intl/calendar/uk-UA.mjs\";\nimport $3T2N1$intlcalendarzhCNmjs from \"../intl/calendar/zh-CN.mjs\";\nimport $3T2N1$intlcalendarzhTWmjs from \"../intl/calendar/zh-TW.mjs\";\n\nvar $e05239aa7a8d905d$exports = {};\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n$e05239aa7a8d905d$exports = {\n \"ar-AE\": $3T2N1$intlcalendararAEmjs,\n \"bg-BG\": $3T2N1$intlcalendarbgBGmjs,\n \"cs-CZ\": $3T2N1$intlcalendarcsCZmjs,\n \"da-DK\": $3T2N1$intlcalendardaDKmjs,\n \"de-DE\": $3T2N1$intlcalendardeDEmjs,\n \"el-GR\": $3T2N1$intlcalendarelGRmjs,\n \"en-US\": $3T2N1$intlcalendarenUSmjs,\n \"es-ES\": $3T2N1$intlcalendaresESmjs,\n \"et-EE\": $3T2N1$intlcalendaretEEmjs,\n \"fi-FI\": $3T2N1$intlcalendarfiFImjs,\n \"fr-FR\": $3T2N1$intlcalendarfrFRmjs,\n \"he-IL\": $3T2N1$intlcalendarheILmjs,\n \"hr-HR\": $3T2N1$intlcalendarhrHRmjs,\n \"hu-HU\": $3T2N1$intlcalendarhuHUmjs,\n \"it-IT\": $3T2N1$intlcalendaritITmjs,\n \"ja-JP\": $3T2N1$intlcalendarjaJPmjs,\n \"ko-KR\": $3T2N1$intlcalendarkoKRmjs,\n \"lt-LT\": $3T2N1$intlcalendarltLTmjs,\n \"lv-LV\": $3T2N1$intlcalendarlvLVmjs,\n \"nb-NO\": $3T2N1$intlcalendarnbNOmjs,\n \"nl-NL\": $3T2N1$intlcalendarnlNLmjs,\n \"pl-PL\": $3T2N1$intlcalendarplPLmjs,\n \"pt-BR\": $3T2N1$intlcalendarptBRmjs,\n \"pt-PT\": $3T2N1$intlcalendarptPTmjs,\n \"ro-RO\": $3T2N1$intlcalendarroROmjs,\n \"ru-RU\": $3T2N1$intlcalendarruRUmjs,\n \"sk-SK\": $3T2N1$intlcalendarskSKmjs,\n \"sl-SI\": $3T2N1$intlcalendarslSImjs,\n \"sr-SP\": $3T2N1$intlcalendarsrSPmjs,\n \"sv-SE\": $3T2N1$intlcalendarsvSEmjs,\n \"tr-TR\": $3T2N1$intlcalendartrTRmjs,\n \"uk-UA\": $3T2N1$intlcalendarukUAmjs,\n \"zh-CN\": $3T2N1$intlcalendarzhCNmjs,\n \"zh-TW\": $3T2N1$intlcalendarzhTWmjs\n};\n\n\nexport {$e05239aa7a8d905d$exports as default};\n//# sourceMappingURL=intlStrings.mjs.map\n","import {useRef as $1QAm5$useRef} from \"react\";\n\n/*\n * Copyright 2023 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 */ /* eslint-disable rulesdir/pure-render */ \nfunction $9c268ab73a5d55e5$export$722debc0e56fea39(value, isEqual) {\n // Using a ref during render is ok here because it's only an optimization – both values are equivalent.\n // If a render is thrown away, it'll still work the same no matter if the next render is the same or not.\n let lastValue = (0, $1QAm5$useRef)(null);\n if (value && lastValue.current && isEqual(value, lastValue.current)) value = lastValue.current;\n lastValue.current = value;\n return value;\n}\n\n\nexport {$9c268ab73a5d55e5$export$722debc0e56fea39 as useDeepMemo};\n//# sourceMappingURL=useDeepMemo.mjs.map\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 */ function $09ec6a572d60460f$export$842a2cf37af977e1(amount, numerator) {\n return amount - numerator * Math.floor(amount / numerator);\n}\n\n\nexport {$09ec6a572d60460f$export$842a2cf37af977e1 as mod};\n//# sourceMappingURL=utils.mjs.map\n","import {CalendarDate as $2aaf608024c21ca1$export$99faa760c7908e4f} from \"../CalendarDate.mjs\";\nimport {mod as $09ec6a572d60460f$export$842a2cf37af977e1} from \"../utils.mjs\";\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 */ // Portions of the code in this file are based on code from ICU.\n// Original licensing can be found in the NOTICE file in the root directory of this source tree.\n\n\nconst $93635573935797de$var$EPOCH = 1721426; // 001/01/03 Julian C.E.\nfunction $93635573935797de$export$f297eb839006d339(era, year, month, day) {\n year = $93635573935797de$export$c36e0ecb2d4fa69d(era, year);\n let y1 = year - 1;\n let monthOffset = -2;\n if (month <= 2) monthOffset = 0;\n else if ($93635573935797de$export$553d7fa8e3805fc0(year)) monthOffset = -1;\n return $93635573935797de$var$EPOCH - 1 + 365 * y1 + Math.floor(y1 / 4) - Math.floor(y1 / 100) + Math.floor(y1 / 400) + Math.floor((367 * month - 362) / 12 + monthOffset + day);\n}\nfunction $93635573935797de$export$553d7fa8e3805fc0(year) {\n return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);\n}\nfunction $93635573935797de$export$c36e0ecb2d4fa69d(era, year) {\n return era === 'BC' ? 1 - year : year;\n}\nfunction $93635573935797de$export$4475b7e617eb123c(year) {\n let era = 'AD';\n if (year <= 0) {\n era = 'BC';\n year = 1 - year;\n }\n return [\n era,\n year\n ];\n}\nconst $93635573935797de$var$daysInMonth = {\n standard: [\n 31,\n 28,\n 31,\n 30,\n 31,\n 30,\n 31,\n 31,\n 30,\n 31,\n 30,\n 31\n ],\n leapyear: [\n 31,\n 29,\n 31,\n 30,\n 31,\n 30,\n 31,\n 31,\n 30,\n 31,\n 30,\n 31\n ]\n};\nclass $93635573935797de$export$80ee6245ec4f29ec {\n fromJulianDay(jd) {\n let jd0 = jd;\n let depoch = jd0 - $93635573935797de$var$EPOCH;\n let quadricent = Math.floor(depoch / 146097);\n let dqc = (0, $09ec6a572d60460f$export$842a2cf37af977e1)(depoch, 146097);\n let cent = Math.floor(dqc / 36524);\n let dcent = (0, $09ec6a572d60460f$export$842a2cf37af977e1)(dqc, 36524);\n let quad = Math.floor(dcent / 1461);\n let dquad = (0, $09ec6a572d60460f$export$842a2cf37af977e1)(dcent, 1461);\n let yindex = Math.floor(dquad / 365);\n let extendedYear = quadricent * 400 + cent * 100 + quad * 4 + yindex + (cent !== 4 && yindex !== 4 ? 1 : 0);\n let [era, year] = $93635573935797de$export$4475b7e617eb123c(extendedYear);\n let yearDay = jd0 - $93635573935797de$export$f297eb839006d339(era, year, 1, 1);\n let leapAdj = 2;\n if (jd0 < $93635573935797de$export$f297eb839006d339(era, year, 3, 1)) leapAdj = 0;\n else if ($93635573935797de$export$553d7fa8e3805fc0(year)) leapAdj = 1;\n let month = Math.floor(((yearDay + leapAdj) * 12 + 373) / 367);\n let day = jd0 - $93635573935797de$export$f297eb839006d339(era, year, month, 1) + 1;\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(era, year, month, day);\n }\n toJulianDay(date) {\n return $93635573935797de$export$f297eb839006d339(date.era, date.year, date.month, date.day);\n }\n getDaysInMonth(date) {\n return $93635573935797de$var$daysInMonth[$93635573935797de$export$553d7fa8e3805fc0(date.year) ? 'leapyear' : 'standard'][date.month - 1];\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n getMonthsInYear(date) {\n return 12;\n }\n getDaysInYear(date) {\n return $93635573935797de$export$553d7fa8e3805fc0(date.year) ? 366 : 365;\n }\n getMaximumMonthsInYear() {\n return 12;\n }\n getMaximumDaysInMonth() {\n return 31;\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n getYearsInEra(date) {\n return 9999;\n }\n getEras() {\n return [\n 'BC',\n 'AD'\n ];\n }\n isInverseEra(date) {\n return date.era === 'BC';\n }\n balanceDate(date) {\n if (date.year <= 0) {\n date.era = date.era === 'BC' ? 'AD' : 'BC';\n date.year = 1 - date.year;\n }\n }\n constructor(){\n this.identifier = 'gregory';\n }\n}\n\n\nexport {$93635573935797de$export$f297eb839006d339 as gregorianToJulianDay, $93635573935797de$export$c36e0ecb2d4fa69d as getExtendedYear, $93635573935797de$export$553d7fa8e3805fc0 as isLeapYear, $93635573935797de$export$4475b7e617eb123c as fromExtendedYear, $93635573935797de$export$80ee6245ec4f29ec as GregorianCalendar};\n//# sourceMappingURL=GregorianCalendar.mjs.map\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 */ // Data from https://github.com/unicode-cldr/cldr-core/blob/master/supplemental/weekData.json\n// Locales starting on Sunday have been removed for compression.\nconst $d2ca8165c9aa885a$export$7a5acbd77d414bd9 = {\n '001': 1,\n AD: 1,\n AE: 6,\n AF: 6,\n AI: 1,\n AL: 1,\n AM: 1,\n AN: 1,\n AR: 1,\n AT: 1,\n AU: 1,\n AX: 1,\n AZ: 1,\n BA: 1,\n BE: 1,\n BG: 1,\n BH: 6,\n BM: 1,\n BN: 1,\n BY: 1,\n CH: 1,\n CL: 1,\n CM: 1,\n CN: 1,\n CR: 1,\n CY: 1,\n CZ: 1,\n DE: 1,\n DJ: 6,\n DK: 1,\n DZ: 6,\n EC: 1,\n EE: 1,\n EG: 6,\n ES: 1,\n FI: 1,\n FJ: 1,\n FO: 1,\n FR: 1,\n GB: 1,\n GE: 1,\n GF: 1,\n GP: 1,\n GR: 1,\n HR: 1,\n HU: 1,\n IE: 1,\n IQ: 6,\n IR: 6,\n IS: 1,\n IT: 1,\n JO: 6,\n KG: 1,\n KW: 6,\n KZ: 1,\n LB: 1,\n LI: 1,\n LK: 1,\n LT: 1,\n LU: 1,\n LV: 1,\n LY: 6,\n MC: 1,\n MD: 1,\n ME: 1,\n MK: 1,\n MN: 1,\n MQ: 1,\n MV: 5,\n MY: 1,\n NL: 1,\n NO: 1,\n NZ: 1,\n OM: 6,\n PL: 1,\n QA: 6,\n RE: 1,\n RO: 1,\n RS: 1,\n RU: 1,\n SD: 6,\n SE: 1,\n SI: 1,\n SK: 1,\n SM: 1,\n SY: 6,\n TJ: 1,\n TM: 1,\n TR: 1,\n UA: 1,\n UY: 1,\n UZ: 1,\n VA: 1,\n VN: 1,\n XK: 1\n};\n\n\nexport {$d2ca8165c9aa885a$export$7a5acbd77d414bd9 as weekStartData};\n//# sourceMappingURL=weekStartData.mjs.map\n","import {fromAbsolute as $d07e34cce18680fd$export$1b96692a1ba042ac, toAbsolute as $d07e34cce18680fd$export$5107c82f94518f5c, toCalendar as $d07e34cce18680fd$export$b4a036af3fc0b032, toCalendarDate as $d07e34cce18680fd$export$93522d1a439f3617} from \"./conversion.mjs\";\nimport {weekStartData as $d2ca8165c9aa885a$export$7a5acbd77d414bd9} from \"./weekStartData.mjs\";\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\nfunction $ad063034c8620db8$export$ea39ec197993aef0(a, b) {\n b = (0, $d07e34cce18680fd$export$b4a036af3fc0b032)(b, a.calendar);\n return a.era === b.era && a.year === b.year && a.month === b.month && a.day === b.day;\n}\nfunction $ad063034c8620db8$export$a18c89cbd24170ff(a, b) {\n b = (0, $d07e34cce18680fd$export$b4a036af3fc0b032)(b, a.calendar);\n // In the Japanese calendar, months can span multiple eras/years, so only compare the first of the month.\n a = $ad063034c8620db8$export$a5a3b454ada2268e(a);\n b = $ad063034c8620db8$export$a5a3b454ada2268e(b);\n return a.era === b.era && a.year === b.year && a.month === b.month;\n}\nfunction $ad063034c8620db8$export$5841f9eb9773f25f(a, b) {\n b = (0, $d07e34cce18680fd$export$b4a036af3fc0b032)(b, a.calendar);\n a = $ad063034c8620db8$export$f91e89d3d0406102(a);\n b = $ad063034c8620db8$export$f91e89d3d0406102(b);\n return a.era === b.era && a.year === b.year;\n}\nfunction $ad063034c8620db8$export$91b62ebf2ba703ee(a, b) {\n return $ad063034c8620db8$export$dbc69fd56b53d5e(a.calendar, b.calendar) && $ad063034c8620db8$export$ea39ec197993aef0(a, b);\n}\nfunction $ad063034c8620db8$export$5a8da0c44a3afdf2(a, b) {\n return $ad063034c8620db8$export$dbc69fd56b53d5e(a.calendar, b.calendar) && $ad063034c8620db8$export$a18c89cbd24170ff(a, b);\n}\nfunction $ad063034c8620db8$export$ea840f5a6dda8147(a, b) {\n return $ad063034c8620db8$export$dbc69fd56b53d5e(a.calendar, b.calendar) && $ad063034c8620db8$export$5841f9eb9773f25f(a, b);\n}\nfunction $ad063034c8620db8$export$dbc69fd56b53d5e(a, b) {\n return a.isEqual?.(b) ?? b.isEqual?.(a) ?? a.identifier === b.identifier;\n}\nfunction $ad063034c8620db8$export$629b0a497aa65267(date, timeZone) {\n return $ad063034c8620db8$export$ea39ec197993aef0(date, $ad063034c8620db8$export$d0bdf45af03a6ea3(timeZone));\n}\nconst $ad063034c8620db8$var$DAY_MAP = {\n sun: 0,\n mon: 1,\n tue: 2,\n wed: 3,\n thu: 4,\n fri: 5,\n sat: 6\n};\nfunction $ad063034c8620db8$export$2061056d06d7cdf7(date, locale, firstDayOfWeek) {\n let julian = date.calendar.toJulianDay(date);\n // If julian is negative, then julian % 7 will be negative, so we adjust\n // accordingly. Julian day 0 is Monday.\n let weekStart = firstDayOfWeek ? $ad063034c8620db8$var$DAY_MAP[firstDayOfWeek] : $ad063034c8620db8$var$getWeekStart(locale);\n let dayOfWeek = Math.ceil(julian + 1 - weekStart) % 7;\n if (dayOfWeek < 0) dayOfWeek += 7;\n return dayOfWeek;\n}\nfunction $ad063034c8620db8$export$461939dd4422153(timeZone) {\n return (0, $d07e34cce18680fd$export$1b96692a1ba042ac)(Date.now(), timeZone);\n}\nfunction $ad063034c8620db8$export$d0bdf45af03a6ea3(timeZone) {\n return (0, $d07e34cce18680fd$export$93522d1a439f3617)($ad063034c8620db8$export$461939dd4422153(timeZone));\n}\nfunction $ad063034c8620db8$export$68781ddf31c0090f(a, b) {\n return a.calendar.toJulianDay(a) - b.calendar.toJulianDay(b);\n}\nfunction $ad063034c8620db8$export$c19a80a9721b80f6(a, b) {\n return $ad063034c8620db8$var$timeToMs(a) - $ad063034c8620db8$var$timeToMs(b);\n}\nfunction $ad063034c8620db8$var$timeToMs(a) {\n return a.hour * 3600000 + a.minute * 60000 + a.second * 1000 + a.millisecond;\n}\nfunction $ad063034c8620db8$export$126c91c941de7e(a, timeZone) {\n let ms = (0, $d07e34cce18680fd$export$5107c82f94518f5c)(a, timeZone);\n let tomorrow = a.add({\n days: 1\n });\n let tomorrowMs = (0, $d07e34cce18680fd$export$5107c82f94518f5c)(tomorrow, timeZone);\n return (tomorrowMs - ms) / 3600000;\n}\nlet $ad063034c8620db8$var$localTimeZone = null;\nlet $ad063034c8620db8$var$localTimeZoneOverride = false;\nfunction $ad063034c8620db8$export$aa8b41735afcabd2() {\n if ($ad063034c8620db8$var$localTimeZone == null) $ad063034c8620db8$var$localTimeZone = new Intl.DateTimeFormat().resolvedOptions().timeZone;\n return $ad063034c8620db8$var$localTimeZone;\n}\nfunction $ad063034c8620db8$export$61a9d83ceb59a3dd(timeZone) {\n $ad063034c8620db8$var$localTimeZoneOverride = true;\n $ad063034c8620db8$var$localTimeZone = timeZone;\n}\nfunction $ad063034c8620db8$export$55753838ffe79333() {\n $ad063034c8620db8$var$localTimeZoneOverride = false;\n $ad063034c8620db8$var$localTimeZone = null;\n}\nfunction $ad063034c8620db8$export$6ab69b273755230b() {\n return $ad063034c8620db8$var$localTimeZoneOverride;\n}\nfunction $ad063034c8620db8$export$a5a3b454ada2268e(date) {\n // Use `subtract` instead of `set` so we don't get constrained in an era.\n return date.subtract({\n days: date.day - 1\n });\n}\nfunction $ad063034c8620db8$export$a2258d9c4118825c(date) {\n return date.add({\n days: date.calendar.getDaysInMonth(date) - date.day\n });\n}\nfunction $ad063034c8620db8$export$f91e89d3d0406102(date) {\n return $ad063034c8620db8$export$a5a3b454ada2268e(date.subtract({\n months: date.month - 1\n }));\n}\nfunction $ad063034c8620db8$export$8b7aa55c66d5569e(date) {\n return $ad063034c8620db8$export$a2258d9c4118825c(date.add({\n months: date.calendar.getMonthsInYear(date) - date.month\n }));\n}\nfunction $ad063034c8620db8$export$5412ac11713b72ad(date) {\n if (date.calendar.getMinimumMonthInYear) return date.calendar.getMinimumMonthInYear(date);\n return 1;\n}\nfunction $ad063034c8620db8$export$b2f4953d301981d5(date) {\n if (date.calendar.getMinimumDayInMonth) return date.calendar.getMinimumDayInMonth(date);\n return 1;\n}\nfunction $ad063034c8620db8$export$42c81a444fbfb5d4(date, locale, firstDayOfWeek) {\n let dayOfWeek = $ad063034c8620db8$export$2061056d06d7cdf7(date, locale, firstDayOfWeek);\n return date.subtract({\n days: dayOfWeek\n });\n}\nfunction $ad063034c8620db8$export$ef8b6d9133084f4e(date, locale, firstDayOfWeek) {\n return $ad063034c8620db8$export$42c81a444fbfb5d4(date, locale, firstDayOfWeek).add({\n days: 6\n });\n}\nconst $ad063034c8620db8$var$cachedRegions = new Map();\nconst $ad063034c8620db8$var$cachedWeekInfo = new Map();\nfunction $ad063034c8620db8$var$getRegion(locale) {\n // If the Intl.Locale API is available, use it to get the region for the locale.\n // @ts-ignore\n if (Intl.Locale) {\n // Constructing an Intl.Locale is expensive, so cache the result.\n let region = $ad063034c8620db8$var$cachedRegions.get(locale);\n if (!region) {\n // @ts-ignore\n region = new Intl.Locale(locale).maximize().region;\n if (region) $ad063034c8620db8$var$cachedRegions.set(locale, region);\n }\n return region;\n }\n // If not, just try splitting the string.\n // If the second part of the locale string is 'u',\n // then this is a unicode extension, so ignore it.\n // Otherwise, it should be the region.\n let part = locale.split('-')[1];\n return part === 'u' ? undefined : part;\n}\nfunction $ad063034c8620db8$var$getWeekStart(locale) {\n // TODO: use Intl.Locale for this once browsers support the weekInfo property\n // https://github.com/tc39/proposal-intl-locale-info\n let weekInfo = $ad063034c8620db8$var$cachedWeekInfo.get(locale);\n if (!weekInfo) {\n if (Intl.Locale) {\n // @ts-ignore\n let localeInst = new Intl.Locale(locale);\n if ('getWeekInfo' in localeInst) {\n // @ts-expect-error\n weekInfo = localeInst.getWeekInfo();\n if (weekInfo) {\n $ad063034c8620db8$var$cachedWeekInfo.set(locale, weekInfo);\n return weekInfo.firstDay;\n }\n }\n }\n let region = $ad063034c8620db8$var$getRegion(locale);\n if (locale.includes('-fw-')) {\n // pull the value for the attribute fw from strings such as en-US-u-ca-iso8601-fw-tue or en-US-u-ca-iso8601-fw-mon-nu-thai\n // where the fw attribute could be followed by another unicode locale extension or not\n let day = locale.split('-fw-')[1].split('-')[0];\n if (day === 'mon') weekInfo = {\n firstDay: 1\n };\n else if (day === 'tue') weekInfo = {\n firstDay: 2\n };\n else if (day === 'wed') weekInfo = {\n firstDay: 3\n };\n else if (day === 'thu') weekInfo = {\n firstDay: 4\n };\n else if (day === 'fri') weekInfo = {\n firstDay: 5\n };\n else if (day === 'sat') weekInfo = {\n firstDay: 6\n };\n else weekInfo = {\n firstDay: 0\n };\n } else if (locale.includes('-ca-iso8601')) weekInfo = {\n firstDay: 1\n };\n else weekInfo = {\n firstDay: region ? (0, $d2ca8165c9aa885a$export$7a5acbd77d414bd9)[region] || 0 : 0\n };\n $ad063034c8620db8$var$cachedWeekInfo.set(locale, weekInfo);\n }\n return weekInfo.firstDay;\n}\nfunction $ad063034c8620db8$export$ccc1b2479e7dd654(date, locale, firstDayOfWeek) {\n let days = date.calendar.getDaysInMonth(date);\n return Math.ceil(($ad063034c8620db8$export$2061056d06d7cdf7($ad063034c8620db8$export$a5a3b454ada2268e(date), locale, firstDayOfWeek) + days) / 7);\n}\nfunction $ad063034c8620db8$export$5c333a116e949cdd(a, b) {\n if (a && b) return a.compare(b) <= 0 ? a : b;\n return a || b;\n}\nfunction $ad063034c8620db8$export$a75f2bff57811055(a, b) {\n if (a && b) return a.compare(b) >= 0 ? a : b;\n return a || b;\n}\nconst $ad063034c8620db8$var$WEEKEND_DATA = {\n AF: [\n 4,\n 5\n ],\n AE: [\n 5,\n 6\n ],\n BH: [\n 5,\n 6\n ],\n DZ: [\n 5,\n 6\n ],\n EG: [\n 5,\n 6\n ],\n IL: [\n 5,\n 6\n ],\n IQ: [\n 5,\n 6\n ],\n IR: [\n 5,\n 5\n ],\n JO: [\n 5,\n 6\n ],\n KW: [\n 5,\n 6\n ],\n LY: [\n 5,\n 6\n ],\n OM: [\n 5,\n 6\n ],\n QA: [\n 5,\n 6\n ],\n SA: [\n 5,\n 6\n ],\n SD: [\n 5,\n 6\n ],\n SY: [\n 5,\n 6\n ],\n YE: [\n 5,\n 6\n ]\n};\nfunction $ad063034c8620db8$export$618d60ea299da42(date, locale) {\n let julian = date.calendar.toJulianDay(date);\n // If julian is negative, then julian % 7 will be negative, so we adjust\n // accordingly. Julian day 0 is Monday.\n let dayOfWeek = Math.ceil(julian + 1) % 7;\n if (dayOfWeek < 0) dayOfWeek += 7;\n let region = $ad063034c8620db8$var$getRegion(locale);\n // Use Intl.Locale for this once weekInfo is supported.\n // https://github.com/tc39/proposal-intl-locale-info\n let [start, end] = $ad063034c8620db8$var$WEEKEND_DATA[region] || [\n 6,\n 0\n ];\n return dayOfWeek === start || dayOfWeek === end;\n}\nfunction $ad063034c8620db8$export$ee9d87258e1d19ed(date, locale) {\n return !$ad063034c8620db8$export$618d60ea299da42(date, locale);\n}\n\n\nexport {$ad063034c8620db8$export$ea39ec197993aef0 as isSameDay, $ad063034c8620db8$export$a18c89cbd24170ff as isSameMonth, $ad063034c8620db8$export$a5a3b454ada2268e as startOfMonth, $ad063034c8620db8$export$5841f9eb9773f25f as isSameYear, $ad063034c8620db8$export$f91e89d3d0406102 as startOfYear, $ad063034c8620db8$export$91b62ebf2ba703ee as isEqualDay, $ad063034c8620db8$export$dbc69fd56b53d5e as isEqualCalendar, $ad063034c8620db8$export$5a8da0c44a3afdf2 as isEqualMonth, $ad063034c8620db8$export$ea840f5a6dda8147 as isEqualYear, $ad063034c8620db8$export$629b0a497aa65267 as isToday, $ad063034c8620db8$export$d0bdf45af03a6ea3 as today, $ad063034c8620db8$export$2061056d06d7cdf7 as getDayOfWeek, $ad063034c8620db8$export$461939dd4422153 as now, $ad063034c8620db8$export$68781ddf31c0090f as compareDate, $ad063034c8620db8$export$c19a80a9721b80f6 as compareTime, $ad063034c8620db8$export$126c91c941de7e as getHoursInDay, $ad063034c8620db8$export$aa8b41735afcabd2 as getLocalTimeZone, $ad063034c8620db8$export$61a9d83ceb59a3dd as setLocalTimeZone, $ad063034c8620db8$export$55753838ffe79333 as resetLocalTimeZone, $ad063034c8620db8$export$6ab69b273755230b as isLocalTimeZoneOverridden, $ad063034c8620db8$export$a2258d9c4118825c as endOfMonth, $ad063034c8620db8$export$8b7aa55c66d5569e as endOfYear, $ad063034c8620db8$export$5412ac11713b72ad as getMinimumMonthInYear, $ad063034c8620db8$export$b2f4953d301981d5 as getMinimumDayInMonth, $ad063034c8620db8$export$42c81a444fbfb5d4 as startOfWeek, $ad063034c8620db8$export$ef8b6d9133084f4e as endOfWeek, $ad063034c8620db8$export$ccc1b2479e7dd654 as getWeeksInMonth, $ad063034c8620db8$export$5c333a116e949cdd as minDate, $ad063034c8620db8$export$a75f2bff57811055 as maxDate, $ad063034c8620db8$export$618d60ea299da42 as isWeekend, $ad063034c8620db8$export$ee9d87258e1d19ed as isWeekday};\n//# sourceMappingURL=queries.mjs.map\n","import {CalendarDate as $2aaf608024c21ca1$export$99faa760c7908e4f, CalendarDateTime as $2aaf608024c21ca1$export$ca871e8dbb80966f, Time as $2aaf608024c21ca1$export$680ea196effce5f, ZonedDateTime as $2aaf608024c21ca1$export$d3b7288e7994edea} from \"./CalendarDate.mjs\";\nimport {constrain as $435a2ceaa8778ed8$export$c4e2ecac49351ef2} from \"./manipulation.mjs\";\nimport {getExtendedYear as $93635573935797de$export$c36e0ecb2d4fa69d, GregorianCalendar as $93635573935797de$export$80ee6245ec4f29ec} from \"./calendars/GregorianCalendar.mjs\";\nimport {getLocalTimeZone as $ad063034c8620db8$export$aa8b41735afcabd2, isEqualCalendar as $ad063034c8620db8$export$dbc69fd56b53d5e, isLocalTimeZoneOverridden as $ad063034c8620db8$export$6ab69b273755230b} from \"./queries.mjs\";\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 */ // Portions of the code in this file are based on code from the TC39 Temporal proposal.\n// Original licensing can be found in the NOTICE file in the root directory of this source tree.\n\n\n\n\nfunction $d07e34cce18680fd$export$bd4fb2bc8bb06fb(date) {\n date = $d07e34cce18680fd$export$b4a036af3fc0b032(date, new (0, $93635573935797de$export$80ee6245ec4f29ec)());\n let year = (0, $93635573935797de$export$c36e0ecb2d4fa69d)(date.era, date.year);\n return $d07e34cce18680fd$var$epochFromParts(year, date.month, date.day, date.hour, date.minute, date.second, date.millisecond);\n}\nfunction $d07e34cce18680fd$var$epochFromParts(year, month, day, hour, minute, second, millisecond) {\n // Note: Date.UTC() interprets one and two-digit years as being in the\n // 20th century, so don't use it\n let date = new Date();\n date.setUTCHours(hour, minute, second, millisecond);\n date.setUTCFullYear(year, month - 1, day);\n return date.getTime();\n}\nfunction $d07e34cce18680fd$export$59c99f3515d3493f(ms, timeZone) {\n // Fast path for UTC.\n if (timeZone === 'UTC') return 0;\n // Fast path: for local timezone after 1970, use native Date.\n // Skip this fast path if the local timezone was explicitly overridden via setLocalTimeZone,\n // since native Date always uses the browser's timezone, not the overridden one.\n if (ms > 0 && timeZone === (0, $ad063034c8620db8$export$aa8b41735afcabd2)() && !(0, $ad063034c8620db8$export$6ab69b273755230b)()) return new Date(ms).getTimezoneOffset() * -60000;\n let { year: year, month: month, day: day, hour: hour, minute: minute, second: second } = $d07e34cce18680fd$var$getTimeZoneParts(ms, timeZone);\n let utc = $d07e34cce18680fd$var$epochFromParts(year, month, day, hour, minute, second, 0);\n return utc - Math.floor(ms / 1000) * 1000;\n}\nconst $d07e34cce18680fd$var$formattersByTimeZone = new Map();\nfunction $d07e34cce18680fd$var$getTimeZoneParts(ms, timeZone) {\n let formatter = $d07e34cce18680fd$var$formattersByTimeZone.get(timeZone);\n if (!formatter) {\n formatter = new Intl.DateTimeFormat('en-US', {\n timeZone: timeZone,\n hour12: false,\n era: 'short',\n year: 'numeric',\n month: 'numeric',\n day: 'numeric',\n hour: 'numeric',\n minute: 'numeric',\n second: 'numeric'\n });\n $d07e34cce18680fd$var$formattersByTimeZone.set(timeZone, formatter);\n }\n let parts = formatter.formatToParts(new Date(ms));\n let namedParts = {};\n for (let part of parts)if (part.type !== 'literal') namedParts[part.type] = part.value;\n return {\n // Firefox returns B instead of BC... https://bugzilla.mozilla.org/show_bug.cgi?id=1752253\n year: namedParts.era === 'BC' || namedParts.era === 'B' ? -namedParts.year + 1 : +namedParts.year,\n month: +namedParts.month,\n day: +namedParts.day,\n hour: namedParts.hour === '24' ? 0 : +namedParts.hour,\n minute: +namedParts.minute,\n second: +namedParts.second\n };\n}\nconst $d07e34cce18680fd$var$DAYMILLIS = 86400000;\nfunction $d07e34cce18680fd$export$136f38efe7caf549(date, timeZone) {\n let ms = $d07e34cce18680fd$export$bd4fb2bc8bb06fb(date);\n let earlier = ms - $d07e34cce18680fd$export$59c99f3515d3493f(ms - $d07e34cce18680fd$var$DAYMILLIS, timeZone);\n let later = ms - $d07e34cce18680fd$export$59c99f3515d3493f(ms + $d07e34cce18680fd$var$DAYMILLIS, timeZone);\n return $d07e34cce18680fd$var$getValidWallTimes(date, timeZone, earlier, later);\n}\nfunction $d07e34cce18680fd$var$getValidWallTimes(date, timeZone, earlier, later) {\n let found = earlier === later ? [\n earlier\n ] : [\n earlier,\n later\n ];\n return found.filter((absolute)=>$d07e34cce18680fd$var$isValidWallTime(date, timeZone, absolute));\n}\nfunction $d07e34cce18680fd$var$isValidWallTime(date, timeZone, absolute) {\n let parts = $d07e34cce18680fd$var$getTimeZoneParts(absolute, timeZone);\n return date.year === parts.year && date.month === parts.month && date.day === parts.day && date.hour === parts.hour && date.minute === parts.minute && date.second === parts.second;\n}\nfunction $d07e34cce18680fd$export$5107c82f94518f5c(date, timeZone, disambiguation = 'compatible') {\n let dateTime = $d07e34cce18680fd$export$b21e0b124e224484(date);\n // Fast path: if the time zone is UTC, use native Date.\n if (timeZone === 'UTC') return $d07e34cce18680fd$export$bd4fb2bc8bb06fb(dateTime);\n // Fast path: if the time zone is the local timezone and disambiguation is compatible, use native Date.\n // Skip this fast path if the local timezone was explicitly overridden via setLocalTimeZone,\n // since native Date always uses the browser's timezone, not the overridden one.\n if (timeZone === (0, $ad063034c8620db8$export$aa8b41735afcabd2)() && disambiguation === 'compatible' && !(0, $ad063034c8620db8$export$6ab69b273755230b)()) {\n dateTime = $d07e34cce18680fd$export$b4a036af3fc0b032(dateTime, new (0, $93635573935797de$export$80ee6245ec4f29ec)());\n // Don't use Date constructor here because two-digit years are interpreted in the 20th century.\n let date = new Date();\n let year = (0, $93635573935797de$export$c36e0ecb2d4fa69d)(dateTime.era, dateTime.year);\n date.setFullYear(year, dateTime.month - 1, dateTime.day);\n date.setHours(dateTime.hour, dateTime.minute, dateTime.second, dateTime.millisecond);\n return date.getTime();\n }\n let ms = $d07e34cce18680fd$export$bd4fb2bc8bb06fb(dateTime);\n let offsetBefore = $d07e34cce18680fd$export$59c99f3515d3493f(ms - $d07e34cce18680fd$var$DAYMILLIS, timeZone);\n let offsetAfter = $d07e34cce18680fd$export$59c99f3515d3493f(ms + $d07e34cce18680fd$var$DAYMILLIS, timeZone);\n let valid = $d07e34cce18680fd$var$getValidWallTimes(dateTime, timeZone, ms - offsetBefore, ms - offsetAfter);\n if (valid.length === 1) return valid[0];\n if (valid.length > 1) switch(disambiguation){\n // 'compatible' means 'earlier' for \"fall back\" transitions\n case 'compatible':\n case 'earlier':\n return valid[0];\n case 'later':\n return valid[valid.length - 1];\n case 'reject':\n throw new RangeError('Multiple possible absolute times found');\n }\n switch(disambiguation){\n case 'earlier':\n return Math.min(ms - offsetBefore, ms - offsetAfter);\n // 'compatible' means 'later' for \"spring forward\" transitions\n case 'compatible':\n case 'later':\n return Math.max(ms - offsetBefore, ms - offsetAfter);\n case 'reject':\n throw new RangeError('No such absolute time found');\n }\n}\nfunction $d07e34cce18680fd$export$e67a095c620b86fe(dateTime, timeZone, disambiguation = 'compatible') {\n return new Date($d07e34cce18680fd$export$5107c82f94518f5c(dateTime, timeZone, disambiguation));\n}\nfunction $d07e34cce18680fd$export$1b96692a1ba042ac(ms, timeZone) {\n let offset = $d07e34cce18680fd$export$59c99f3515d3493f(ms, timeZone);\n let date = new Date(ms + offset);\n let year = date.getUTCFullYear();\n let month = date.getUTCMonth() + 1;\n let day = date.getUTCDate();\n let hour = date.getUTCHours();\n let minute = date.getUTCMinutes();\n let second = date.getUTCSeconds();\n let millisecond = date.getUTCMilliseconds();\n return new (0, $2aaf608024c21ca1$export$d3b7288e7994edea)(year < 1 ? 'BC' : 'AD', year < 1 ? -year + 1 : year, month, day, timeZone, offset, hour, minute, second, millisecond);\n}\nfunction $d07e34cce18680fd$export$e57ff100d91bd4b9(date, timeZone) {\n return $d07e34cce18680fd$export$1b96692a1ba042ac(date.getTime(), timeZone);\n}\nfunction $d07e34cce18680fd$export$d7f92bcd3596b086(date) {\n return $d07e34cce18680fd$export$e57ff100d91bd4b9(date, (0, $ad063034c8620db8$export$aa8b41735afcabd2)());\n}\nfunction $d07e34cce18680fd$export$93522d1a439f3617(dateTime) {\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(dateTime.calendar, dateTime.era, dateTime.year, dateTime.month, dateTime.day);\n}\nfunction $d07e34cce18680fd$export$6f4d78149f3f53ac(date) {\n return {\n era: date.era,\n year: date.year,\n month: date.month,\n day: date.day\n };\n}\nfunction $d07e34cce18680fd$export$4d0393e732857be5(date) {\n return {\n hour: date.hour,\n minute: date.minute,\n second: date.second,\n millisecond: date.millisecond\n };\n}\nfunction $d07e34cce18680fd$export$b21e0b124e224484(date, time) {\n let hour = 0, minute = 0, second = 0, millisecond = 0;\n if ('timeZone' in date) ({ hour: hour, minute: minute, second: second, millisecond: millisecond } = date);\n else if ('hour' in date && !time) return date;\n if (time) ({ hour: hour, minute: minute, second: second, millisecond: millisecond } = time);\n return new (0, $2aaf608024c21ca1$export$ca871e8dbb80966f)(date.calendar, date.era, date.year, date.month, date.day, hour, minute, second, millisecond);\n}\nfunction $d07e34cce18680fd$export$d33f79e3ffc3dc83(dateTime) {\n return new (0, $2aaf608024c21ca1$export$680ea196effce5f)(dateTime.hour, dateTime.minute, dateTime.second, dateTime.millisecond);\n}\nfunction $d07e34cce18680fd$export$b4a036af3fc0b032(date, calendar) {\n if ((0, $ad063034c8620db8$export$dbc69fd56b53d5e)(date.calendar, calendar)) return date;\n let calendarDate = calendar.fromJulianDay(date.calendar.toJulianDay(date));\n let copy = date.copy();\n copy.calendar = calendar;\n copy.era = calendarDate.era;\n copy.year = calendarDate.year;\n copy.month = calendarDate.month;\n copy.day = calendarDate.day;\n (0, $435a2ceaa8778ed8$export$c4e2ecac49351ef2)(copy);\n return copy;\n}\nfunction $d07e34cce18680fd$export$84c95a83c799e074(date, timeZone, disambiguation) {\n if (date instanceof (0, $2aaf608024c21ca1$export$d3b7288e7994edea)) {\n if (date.timeZone === timeZone) return date;\n return $d07e34cce18680fd$export$538b00033cc11c75(date, timeZone);\n }\n let ms = $d07e34cce18680fd$export$5107c82f94518f5c(date, timeZone, disambiguation);\n return $d07e34cce18680fd$export$1b96692a1ba042ac(ms, timeZone);\n}\nfunction $d07e34cce18680fd$export$83aac07b4c37b25(date) {\n let ms = $d07e34cce18680fd$export$bd4fb2bc8bb06fb(date) - date.offset;\n return new Date(ms);\n}\nfunction $d07e34cce18680fd$export$538b00033cc11c75(date, timeZone) {\n let ms = $d07e34cce18680fd$export$bd4fb2bc8bb06fb(date) - date.offset;\n return $d07e34cce18680fd$export$b4a036af3fc0b032($d07e34cce18680fd$export$1b96692a1ba042ac(ms, timeZone), date.calendar);\n}\nfunction $d07e34cce18680fd$export$d9b67bc93c097491(date) {\n return $d07e34cce18680fd$export$538b00033cc11c75(date, (0, $ad063034c8620db8$export$aa8b41735afcabd2)());\n}\n\n\nexport {$d07e34cce18680fd$export$bd4fb2bc8bb06fb as epochFromDate, $d07e34cce18680fd$export$b4a036af3fc0b032 as toCalendar, $d07e34cce18680fd$export$59c99f3515d3493f as getTimeZoneOffset, $d07e34cce18680fd$export$136f38efe7caf549 as possibleAbsolutes, $d07e34cce18680fd$export$5107c82f94518f5c as toAbsolute, $d07e34cce18680fd$export$b21e0b124e224484 as toCalendarDateTime, $d07e34cce18680fd$export$e67a095c620b86fe as toDate, $d07e34cce18680fd$export$1b96692a1ba042ac as fromAbsolute, $d07e34cce18680fd$export$e57ff100d91bd4b9 as fromDate, $d07e34cce18680fd$export$d7f92bcd3596b086 as fromDateToLocal, $d07e34cce18680fd$export$93522d1a439f3617 as toCalendarDate, $d07e34cce18680fd$export$6f4d78149f3f53ac as toDateFields, $d07e34cce18680fd$export$4d0393e732857be5 as toTimeFields, $d07e34cce18680fd$export$d33f79e3ffc3dc83 as toTime, $d07e34cce18680fd$export$84c95a83c799e074 as toZoned, $d07e34cce18680fd$export$538b00033cc11c75 as toTimeZone, $d07e34cce18680fd$export$83aac07b4c37b25 as zonedToDate, $d07e34cce18680fd$export$d9b67bc93c097491 as toLocalTimeZone};\n//# sourceMappingURL=conversion.mjs.map\n","import {epochFromDate as $d07e34cce18680fd$export$bd4fb2bc8bb06fb, fromAbsolute as $d07e34cce18680fd$export$1b96692a1ba042ac, toAbsolute as $d07e34cce18680fd$export$5107c82f94518f5c, toCalendar as $d07e34cce18680fd$export$b4a036af3fc0b032, toCalendarDateTime as $d07e34cce18680fd$export$b21e0b124e224484} from \"./conversion.mjs\";\nimport {GregorianCalendar as $93635573935797de$export$80ee6245ec4f29ec} from \"./calendars/GregorianCalendar.mjs\";\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\nconst $435a2ceaa8778ed8$var$ONE_HOUR = 3600000;\nfunction $435a2ceaa8778ed8$export$e16d8520af44a096(date, duration) {\n let mutableDate = date.copy();\n let days = 'hour' in mutableDate ? $435a2ceaa8778ed8$var$addTimeFields(mutableDate, duration) : 0;\n $435a2ceaa8778ed8$var$addYears(mutableDate, duration.years || 0);\n if (mutableDate.calendar.balanceYearMonth) mutableDate.calendar.balanceYearMonth(mutableDate, date);\n mutableDate.month += duration.months || 0;\n $435a2ceaa8778ed8$var$balanceYearMonth(mutableDate);\n $435a2ceaa8778ed8$var$constrainMonthDay(mutableDate);\n mutableDate.day += (duration.weeks || 0) * 7;\n mutableDate.day += duration.days || 0;\n mutableDate.day += days;\n $435a2ceaa8778ed8$var$balanceDay(mutableDate);\n if (mutableDate.calendar.balanceDate) mutableDate.calendar.balanceDate(mutableDate);\n // Constrain in case adding ended up with a date outside the valid range for the calendar system.\n // The behavior here is slightly different than when constraining in the `set` function in that\n // we adjust smaller fields to their minimum/maximum values rather than constraining each field\n // individually. This matches the general behavior of `add` vs `set` regarding how fields are balanced.\n if (mutableDate.year < 1) {\n mutableDate.year = 1;\n mutableDate.month = 1;\n mutableDate.day = 1;\n }\n let maxYear = mutableDate.calendar.getYearsInEra(mutableDate);\n if (mutableDate.year > maxYear) {\n let isInverseEra = mutableDate.calendar.isInverseEra?.(mutableDate);\n mutableDate.year = maxYear;\n mutableDate.month = isInverseEra ? 1 : mutableDate.calendar.getMonthsInYear(mutableDate);\n mutableDate.day = isInverseEra ? 1 : mutableDate.calendar.getDaysInMonth(mutableDate);\n }\n if (mutableDate.month < 1) {\n mutableDate.month = 1;\n mutableDate.day = 1;\n }\n let maxMonth = mutableDate.calendar.getMonthsInYear(mutableDate);\n if (mutableDate.month > maxMonth) {\n mutableDate.month = maxMonth;\n mutableDate.day = mutableDate.calendar.getDaysInMonth(mutableDate);\n }\n mutableDate.day = Math.max(1, Math.min(mutableDate.calendar.getDaysInMonth(mutableDate), mutableDate.day));\n return mutableDate;\n}\nfunction $435a2ceaa8778ed8$var$addYears(date, years) {\n if (date.calendar.isInverseEra?.(date)) years = -years;\n date.year += years;\n}\nfunction $435a2ceaa8778ed8$var$balanceYearMonth(date) {\n while(date.month < 1){\n $435a2ceaa8778ed8$var$addYears(date, -1);\n date.month += date.calendar.getMonthsInYear(date);\n }\n let monthsInYear = 0;\n while(date.month > (monthsInYear = date.calendar.getMonthsInYear(date))){\n date.month -= monthsInYear;\n $435a2ceaa8778ed8$var$addYears(date, 1);\n }\n}\nfunction $435a2ceaa8778ed8$var$balanceDay(date) {\n while(date.day < 1){\n date.month--;\n $435a2ceaa8778ed8$var$balanceYearMonth(date);\n date.day += date.calendar.getDaysInMonth(date);\n }\n while(date.day > date.calendar.getDaysInMonth(date)){\n date.day -= date.calendar.getDaysInMonth(date);\n date.month++;\n $435a2ceaa8778ed8$var$balanceYearMonth(date);\n }\n}\nfunction $435a2ceaa8778ed8$var$constrainMonthDay(date) {\n date.month = Math.max(1, Math.min(date.calendar.getMonthsInYear(date), date.month));\n date.day = Math.max(1, Math.min(date.calendar.getDaysInMonth(date), date.day));\n}\nfunction $435a2ceaa8778ed8$export$c4e2ecac49351ef2(date) {\n if (date.calendar.constrainDate) date.calendar.constrainDate(date);\n date.year = Math.max(1, Math.min(date.calendar.getYearsInEra(date), date.year));\n $435a2ceaa8778ed8$var$constrainMonthDay(date);\n}\nfunction $435a2ceaa8778ed8$export$3e2544e88a25bff8(duration) {\n let inverseDuration = {};\n for(let key in duration)if (typeof duration[key] === 'number') inverseDuration[key] = -duration[key];\n return inverseDuration;\n}\nfunction $435a2ceaa8778ed8$export$4e2d2ead65e5f7e3(date, duration) {\n return $435a2ceaa8778ed8$export$e16d8520af44a096(date, $435a2ceaa8778ed8$export$3e2544e88a25bff8(duration));\n}\nfunction $435a2ceaa8778ed8$export$adaa4cf7ef1b65be(date, fields) {\n let mutableDate = date.copy();\n if (fields.era != null) mutableDate.era = fields.era;\n if (fields.year != null) mutableDate.year = fields.year;\n if (fields.month != null) mutableDate.month = fields.month;\n if (fields.day != null) mutableDate.day = fields.day;\n $435a2ceaa8778ed8$export$c4e2ecac49351ef2(mutableDate);\n return mutableDate;\n}\nfunction $435a2ceaa8778ed8$export$e5d5e1c1822b6e56(value, fields) {\n let mutableValue = value.copy();\n if (fields.hour != null) mutableValue.hour = fields.hour;\n if (fields.minute != null) mutableValue.minute = fields.minute;\n if (fields.second != null) mutableValue.second = fields.second;\n if (fields.millisecond != null) mutableValue.millisecond = fields.millisecond;\n $435a2ceaa8778ed8$export$7555de1e070510cb(mutableValue);\n return mutableValue;\n}\nfunction $435a2ceaa8778ed8$var$balanceTime(time) {\n time.second += Math.floor(time.millisecond / 1000);\n time.millisecond = $435a2ceaa8778ed8$var$nonNegativeMod(time.millisecond, 1000);\n time.minute += Math.floor(time.second / 60);\n time.second = $435a2ceaa8778ed8$var$nonNegativeMod(time.second, 60);\n time.hour += Math.floor(time.minute / 60);\n time.minute = $435a2ceaa8778ed8$var$nonNegativeMod(time.minute, 60);\n let days = Math.floor(time.hour / 24);\n time.hour = $435a2ceaa8778ed8$var$nonNegativeMod(time.hour, 24);\n return days;\n}\nfunction $435a2ceaa8778ed8$export$7555de1e070510cb(time) {\n time.millisecond = Math.max(0, Math.min(time.millisecond, 1000));\n time.second = Math.max(0, Math.min(time.second, 59));\n time.minute = Math.max(0, Math.min(time.minute, 59));\n time.hour = Math.max(0, Math.min(time.hour, 23));\n}\nfunction $435a2ceaa8778ed8$var$nonNegativeMod(a, b) {\n let result = a % b;\n if (result < 0) result += b;\n return result;\n}\nfunction $435a2ceaa8778ed8$var$addTimeFields(time, duration) {\n time.hour += duration.hours || 0;\n time.minute += duration.minutes || 0;\n time.second += duration.seconds || 0;\n time.millisecond += duration.milliseconds || 0;\n return $435a2ceaa8778ed8$var$balanceTime(time);\n}\nfunction $435a2ceaa8778ed8$export$7ed87b6bc2506470(time, duration) {\n let res = time.copy();\n $435a2ceaa8778ed8$var$addTimeFields(res, duration);\n return res;\n}\nfunction $435a2ceaa8778ed8$export$fe34d3a381cd7501(time, duration) {\n return $435a2ceaa8778ed8$export$7ed87b6bc2506470(time, $435a2ceaa8778ed8$export$3e2544e88a25bff8(duration));\n}\nfunction $435a2ceaa8778ed8$export$d52ced6badfb9a4c(value, field, amount, options) {\n let mutable = value.copy();\n switch(field){\n case 'era':\n {\n let eras = value.calendar.getEras();\n let eraIndex = eras.indexOf(value.era);\n if (eraIndex < 0) throw new Error('Invalid era: ' + value.era);\n eraIndex = $435a2ceaa8778ed8$var$cycleValue(eraIndex, amount, 0, eras.length - 1, options?.round);\n mutable.era = eras[eraIndex];\n // Constrain the year and other fields within the era, so the era doesn't change when we balance below.\n $435a2ceaa8778ed8$export$c4e2ecac49351ef2(mutable);\n break;\n }\n case 'year':\n if (mutable.calendar.isInverseEra?.(mutable)) amount = -amount;\n // The year field should not cycle within the era as that can cause weird behavior affecting other fields.\n // We need to also allow values < 1 so that decrementing goes to the previous era. If we get -Infinity back\n // we know we wrapped around after reaching 9999 (the maximum), so set the year back to 1.\n mutable.year = $435a2ceaa8778ed8$var$cycleValue(value.year, amount, -Infinity, 9999, options?.round);\n if (mutable.year === -Infinity) mutable.year = 1;\n if (mutable.calendar.balanceYearMonth) mutable.calendar.balanceYearMonth(mutable, value);\n break;\n case 'month':\n mutable.month = $435a2ceaa8778ed8$var$cycleValue(value.month, amount, 1, value.calendar.getMonthsInYear(value), options?.round);\n break;\n case 'day':\n mutable.day = $435a2ceaa8778ed8$var$cycleValue(value.day, amount, 1, value.calendar.getDaysInMonth(value), options?.round);\n break;\n default:\n throw new Error('Unsupported field ' + field);\n }\n if (value.calendar.balanceDate) value.calendar.balanceDate(mutable);\n $435a2ceaa8778ed8$export$c4e2ecac49351ef2(mutable);\n return mutable;\n}\nfunction $435a2ceaa8778ed8$export$dd02b3e0007dfe28(value, field, amount, options) {\n let mutable = value.copy();\n switch(field){\n case 'hour':\n {\n let hours = value.hour;\n let min = 0;\n let max = 23;\n if (options?.hourCycle === 12) {\n let isPM = hours >= 12;\n min = isPM ? 12 : 0;\n max = isPM ? 23 : 11;\n }\n mutable.hour = $435a2ceaa8778ed8$var$cycleValue(hours, amount, min, max, options?.round);\n break;\n }\n case 'minute':\n mutable.minute = $435a2ceaa8778ed8$var$cycleValue(value.minute, amount, 0, 59, options?.round);\n break;\n case 'second':\n mutable.second = $435a2ceaa8778ed8$var$cycleValue(value.second, amount, 0, 59, options?.round);\n break;\n case 'millisecond':\n mutable.millisecond = $435a2ceaa8778ed8$var$cycleValue(value.millisecond, amount, 0, 999, options?.round);\n break;\n default:\n throw new Error('Unsupported field ' + field);\n }\n return mutable;\n}\nfunction $435a2ceaa8778ed8$var$cycleValue(value, amount, min, max, round = false) {\n if (round) {\n value += Math.sign(amount);\n if (value < min) value = max;\n let div = Math.abs(amount);\n if (amount > 0) value = Math.ceil(value / div) * div;\n else value = Math.floor(value / div) * div;\n if (value > max) value = min;\n } else {\n value += amount;\n if (value < min) value = max - (min - value - 1);\n else if (value > max) value = min + (value - max - 1);\n }\n return value;\n}\nfunction $435a2ceaa8778ed8$export$96b1d28349274637(dateTime, duration) {\n let ms;\n if (duration.years != null && duration.years !== 0 || duration.months != null && duration.months !== 0 || duration.weeks != null && duration.weeks !== 0 || duration.days != null && duration.days !== 0) {\n let res = $435a2ceaa8778ed8$export$e16d8520af44a096((0, $d07e34cce18680fd$export$b21e0b124e224484)(dateTime), {\n years: duration.years,\n months: duration.months,\n weeks: duration.weeks,\n days: duration.days\n });\n // Changing the date may change the timezone offset, so we need to recompute\n // using the 'compatible' disambiguation.\n ms = (0, $d07e34cce18680fd$export$5107c82f94518f5c)(res, dateTime.timeZone);\n } else // Otherwise, preserve the offset of the original date.\n ms = (0, $d07e34cce18680fd$export$bd4fb2bc8bb06fb)(dateTime) - dateTime.offset;\n // Perform time manipulation in milliseconds rather than on the original time fields to account for DST.\n // For example, adding one hour during a DST transition may result in the hour field staying the same or\n // skipping an hour. This results in the offset field changing value instead of the specified field.\n ms += duration.milliseconds || 0;\n ms += (duration.seconds || 0) * 1000;\n ms += (duration.minutes || 0) * 60000;\n ms += (duration.hours || 0) * 3600000;\n let res = (0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone);\n return (0, $d07e34cce18680fd$export$b4a036af3fc0b032)(res, dateTime.calendar);\n}\nfunction $435a2ceaa8778ed8$export$6814caac34ca03c7(dateTime, duration) {\n return $435a2ceaa8778ed8$export$96b1d28349274637(dateTime, $435a2ceaa8778ed8$export$3e2544e88a25bff8(duration));\n}\nfunction $435a2ceaa8778ed8$export$9a297d111fc86b79(dateTime, field, amount, options) {\n // For date fields, we want the time to remain consistent and the UTC offset to potentially change to account for DST changes.\n // For time fields, we want the time to change by the amount given. This may result in the hour field staying the same, but the UTC\n // offset changing in the case of a backward DST transition, or skipping an hour in the case of a forward DST transition.\n switch(field){\n case 'hour':\n {\n let min = 0;\n let max = 23;\n if (options?.hourCycle === 12) {\n let isPM = dateTime.hour >= 12;\n min = isPM ? 12 : 0;\n max = isPM ? 23 : 11;\n }\n // The minimum and maximum hour may be affected by daylight saving time.\n // For example, it might jump forward at midnight, and skip 1am.\n // Or it might end at midnight and repeat the 11pm hour. To handle this, we get\n // the possible absolute times for the min and max, and find the maximum range\n // that is within the current day.\n let plainDateTime = (0, $d07e34cce18680fd$export$b21e0b124e224484)(dateTime);\n let minDate = (0, $d07e34cce18680fd$export$b4a036af3fc0b032)($435a2ceaa8778ed8$export$e5d5e1c1822b6e56(plainDateTime, {\n hour: min\n }), new (0, $93635573935797de$export$80ee6245ec4f29ec)());\n let minAbsolute = [\n (0, $d07e34cce18680fd$export$5107c82f94518f5c)(minDate, dateTime.timeZone, 'earlier'),\n (0, $d07e34cce18680fd$export$5107c82f94518f5c)(minDate, dateTime.timeZone, 'later')\n ].filter((ms)=>(0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone).day === minDate.day)[0];\n let maxDate = (0, $d07e34cce18680fd$export$b4a036af3fc0b032)($435a2ceaa8778ed8$export$e5d5e1c1822b6e56(plainDateTime, {\n hour: max\n }), new (0, $93635573935797de$export$80ee6245ec4f29ec)());\n let maxAbsolute = [\n (0, $d07e34cce18680fd$export$5107c82f94518f5c)(maxDate, dateTime.timeZone, 'earlier'),\n (0, $d07e34cce18680fd$export$5107c82f94518f5c)(maxDate, dateTime.timeZone, 'later')\n ].filter((ms)=>(0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone).day === maxDate.day).pop();\n // Since hours may repeat, we need to operate on the absolute time in milliseconds.\n // This is done in hours from the Unix epoch so that cycleValue works correctly,\n // and then converted back to milliseconds.\n let ms = (0, $d07e34cce18680fd$export$bd4fb2bc8bb06fb)(dateTime) - dateTime.offset;\n let hours = Math.floor(ms / $435a2ceaa8778ed8$var$ONE_HOUR);\n let remainder = ms % $435a2ceaa8778ed8$var$ONE_HOUR;\n ms = $435a2ceaa8778ed8$var$cycleValue(hours, amount, Math.floor(minAbsolute / $435a2ceaa8778ed8$var$ONE_HOUR), Math.floor(maxAbsolute / $435a2ceaa8778ed8$var$ONE_HOUR), options?.round) * $435a2ceaa8778ed8$var$ONE_HOUR + remainder;\n // Now compute the new timezone offset, and convert the absolute time back to local time.\n return (0, $d07e34cce18680fd$export$b4a036af3fc0b032)((0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone), dateTime.calendar);\n }\n case 'minute':\n case 'second':\n case 'millisecond':\n // @ts-ignore\n return $435a2ceaa8778ed8$export$dd02b3e0007dfe28(dateTime, field, amount, options);\n case 'era':\n case 'year':\n case 'month':\n case 'day':\n {\n let res = $435a2ceaa8778ed8$export$d52ced6badfb9a4c((0, $d07e34cce18680fd$export$b21e0b124e224484)(dateTime), field, amount, options);\n let ms = (0, $d07e34cce18680fd$export$5107c82f94518f5c)(res, dateTime.timeZone);\n return (0, $d07e34cce18680fd$export$b4a036af3fc0b032)((0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone), dateTime.calendar);\n }\n default:\n throw new Error('Unsupported field ' + field);\n }\n}\nfunction $435a2ceaa8778ed8$export$31b5430eb18be4f8(dateTime, fields, disambiguation) {\n // Set the date/time fields, and recompute the UTC offset to account for DST changes.\n // We also need to validate by converting back to a local time in case hours are skipped during forward DST transitions.\n let plainDateTime = (0, $d07e34cce18680fd$export$b21e0b124e224484)(dateTime);\n let res = $435a2ceaa8778ed8$export$e5d5e1c1822b6e56($435a2ceaa8778ed8$export$adaa4cf7ef1b65be(plainDateTime, fields), fields);\n // If the resulting plain date time values are equal, return the original time.\n // We don't want to change the offset when setting the time to the same value.\n if (res.compare(plainDateTime) === 0) return dateTime;\n let ms = (0, $d07e34cce18680fd$export$5107c82f94518f5c)(res, dateTime.timeZone, disambiguation);\n return (0, $d07e34cce18680fd$export$b4a036af3fc0b032)((0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone), dateTime.calendar);\n}\n\n\nexport {$435a2ceaa8778ed8$export$e16d8520af44a096 as add, $435a2ceaa8778ed8$export$c4e2ecac49351ef2 as constrain, $435a2ceaa8778ed8$export$3e2544e88a25bff8 as invertDuration, $435a2ceaa8778ed8$export$4e2d2ead65e5f7e3 as subtract, $435a2ceaa8778ed8$export$adaa4cf7ef1b65be as set, $435a2ceaa8778ed8$export$e5d5e1c1822b6e56 as setTime, $435a2ceaa8778ed8$export$7555de1e070510cb as constrainTime, $435a2ceaa8778ed8$export$7ed87b6bc2506470 as addTime, $435a2ceaa8778ed8$export$fe34d3a381cd7501 as subtractTime, $435a2ceaa8778ed8$export$d52ced6badfb9a4c as cycleDate, $435a2ceaa8778ed8$export$dd02b3e0007dfe28 as cycleTime, $435a2ceaa8778ed8$export$96b1d28349274637 as addZoned, $435a2ceaa8778ed8$export$6814caac34ca03c7 as subtractZoned, $435a2ceaa8778ed8$export$9a297d111fc86b79 as cycleZoned, $435a2ceaa8778ed8$export$31b5430eb18be4f8 as setZoned};\n//# sourceMappingURL=manipulation.mjs.map\n","import {CalendarDate as $2aaf608024c21ca1$export$99faa760c7908e4f, CalendarDateTime as $2aaf608024c21ca1$export$ca871e8dbb80966f, Time as $2aaf608024c21ca1$export$680ea196effce5f, ZonedDateTime as $2aaf608024c21ca1$export$d3b7288e7994edea} from \"./CalendarDate.mjs\";\nimport {epochFromDate as $d07e34cce18680fd$export$bd4fb2bc8bb06fb, fromAbsolute as $d07e34cce18680fd$export$1b96692a1ba042ac, possibleAbsolutes as $d07e34cce18680fd$export$136f38efe7caf549, toAbsolute as $d07e34cce18680fd$export$5107c82f94518f5c, toCalendar as $d07e34cce18680fd$export$b4a036af3fc0b032, toCalendarDateTime as $d07e34cce18680fd$export$b21e0b124e224484, toTimeZone as $d07e34cce18680fd$export$538b00033cc11c75} from \"./conversion.mjs\";\nimport {getLocalTimeZone as $ad063034c8620db8$export$aa8b41735afcabd2} from \"./queries.mjs\";\nimport {GregorianCalendar as $93635573935797de$export$80ee6245ec4f29ec} from \"./calendars/GregorianCalendar.mjs\";\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\nconst $58246871e4652552$var$TIME_RE = /^(\\d{2})(?::(\\d{2}))?(?::(\\d{2}))?(\\.\\d+)?$/;\nconst $58246871e4652552$var$DATE_RE = /^([+-]\\d{6}|\\d{4})-(\\d{2})-(\\d{2})$/;\nconst $58246871e4652552$var$DATE_TIME_RE = /^([+-]\\d{6}|\\d{4})-(\\d{2})-(\\d{2})(?:T(\\d{2}))?(?::(\\d{2}))?(?::(\\d{2}))?(\\.\\d+)?$/;\nconst $58246871e4652552$var$ZONED_DATE_TIME_RE = /^([+-]\\d{6}|\\d{4})-(\\d{2})-(\\d{2})(?:T(\\d{2}))?(?::(\\d{2}))?(?::(\\d{2}))?(\\.\\d+)?(?:([+-]\\d{2})(?::?(\\d{2}))?(?::?(\\d{2}))?)?\\[(.*?)\\]$/;\nconst $58246871e4652552$var$ABSOLUTE_RE = /^([+-]\\d{6}|\\d{4})-(\\d{2})-(\\d{2})(?:T(\\d{2}))?(?::(\\d{2}))?(?::(\\d{2}))?(\\.\\d+)?(?:(?:([+-]\\d{2})(?::?(\\d{2}))?)|Z)$/;\nconst $58246871e4652552$var$DATE_TIME_DURATION_RE = /^((?<negative>-)|\\+)?P((?<years>\\d*)Y)?((?<months>\\d*)M)?((?<weeks>\\d*)W)?((?<days>\\d*)D)?((?<time>T)((?<hours>\\d*[.,]?\\d{1,9})H)?((?<minutes>\\d*[.,]?\\d{1,9})M)?((?<seconds>\\d*[.,]?\\d{1,9})S)?)?$/;\nconst $58246871e4652552$var$requiredDurationTimeGroups = [\n 'hours',\n 'minutes',\n 'seconds'\n];\nconst $58246871e4652552$var$requiredDurationGroups = [\n 'years',\n 'months',\n 'weeks',\n 'days',\n ...$58246871e4652552$var$requiredDurationTimeGroups\n];\nfunction $58246871e4652552$export$c9698ec7f05a07e1(value) {\n let m = value.match($58246871e4652552$var$TIME_RE);\n if (!m) throw new Error('Invalid ISO 8601 time string: ' + value);\n return new (0, $2aaf608024c21ca1$export$680ea196effce5f)($58246871e4652552$var$parseNumber(m[1], 0, 23), m[2] ? $58246871e4652552$var$parseNumber(m[2], 0, 59) : 0, m[3] ? $58246871e4652552$var$parseNumber(m[3], 0, 59) : 0, m[4] ? $58246871e4652552$var$parseNumber(m[4], 0, Infinity) * 1000 : 0);\n}\nfunction $58246871e4652552$export$6b862160d295c8e(value) {\n let m = value.match($58246871e4652552$var$DATE_RE);\n if (!m) {\n if ($58246871e4652552$var$ABSOLUTE_RE.test(value)) throw new Error(`Invalid ISO 8601 date string: ${value}. Use parseAbsolute() instead.`);\n throw new Error('Invalid ISO 8601 date string: ' + value);\n }\n let date = new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)($58246871e4652552$var$parseNumber(m[1], 0, 9999), $58246871e4652552$var$parseNumber(m[2], 1, 12), 1);\n date.day = $58246871e4652552$var$parseNumber(m[3], 1, date.calendar.getDaysInMonth(date));\n return date;\n}\nfunction $58246871e4652552$export$588937bcd60ade55(value) {\n let m = value.match($58246871e4652552$var$DATE_TIME_RE);\n if (!m) {\n if ($58246871e4652552$var$ABSOLUTE_RE.test(value)) throw new Error(`Invalid ISO 8601 date time string: ${value}. Use parseAbsolute() instead.`);\n throw new Error('Invalid ISO 8601 date time string: ' + value);\n }\n let year = $58246871e4652552$var$parseNumber(m[1], -9999, 9999);\n let era = year < 1 ? 'BC' : 'AD';\n let date = new (0, $2aaf608024c21ca1$export$ca871e8dbb80966f)(era, year < 1 ? -year + 1 : year, $58246871e4652552$var$parseNumber(m[2], 1, 12), 1, m[4] ? $58246871e4652552$var$parseNumber(m[4], 0, 23) : 0, m[5] ? $58246871e4652552$var$parseNumber(m[5], 0, 59) : 0, m[6] ? $58246871e4652552$var$parseNumber(m[6], 0, 59) : 0, m[7] ? $58246871e4652552$var$parseNumber(m[7], 0, Infinity) * 1000 : 0);\n date.day = $58246871e4652552$var$parseNumber(m[3], 0, date.calendar.getDaysInMonth(date));\n return date;\n}\nfunction $58246871e4652552$export$fd7893f06e92a6a4(value, disambiguation) {\n let m = value.match($58246871e4652552$var$ZONED_DATE_TIME_RE);\n if (!m) throw new Error('Invalid ISO 8601 date time string: ' + value);\n let year = $58246871e4652552$var$parseNumber(m[1], -9999, 9999);\n let era = year < 1 ? 'BC' : 'AD';\n let date = new (0, $2aaf608024c21ca1$export$d3b7288e7994edea)(era, year < 1 ? -year + 1 : year, $58246871e4652552$var$parseNumber(m[2], 1, 12), 1, m[11], 0, m[4] ? $58246871e4652552$var$parseNumber(m[4], 0, 23) : 0, m[5] ? $58246871e4652552$var$parseNumber(m[5], 0, 59) : 0, m[6] ? $58246871e4652552$var$parseNumber(m[6], 0, 59) : 0, m[7] ? $58246871e4652552$var$parseNumber(m[7], 0, Infinity) * 1000 : 0);\n date.day = $58246871e4652552$var$parseNumber(m[3], 0, date.calendar.getDaysInMonth(date));\n let plainDateTime = (0, $d07e34cce18680fd$export$b21e0b124e224484)(date);\n let ms;\n if (m[8]) {\n let hourOffset = $58246871e4652552$var$parseNumber(m[8], -23, 23);\n date.offset = Math.sign(hourOffset) * (Math.abs(hourOffset) * 3600000 + $58246871e4652552$var$parseNumber(m[9] ?? '0', 0, 59) * 60000 + $58246871e4652552$var$parseNumber(m[10] ?? '0', 0, 59) * 1000);\n ms = (0, $d07e34cce18680fd$export$bd4fb2bc8bb06fb)(date) - date.offset;\n // Validate offset against parsed date.\n let absolutes = (0, $d07e34cce18680fd$export$136f38efe7caf549)(plainDateTime, date.timeZone);\n if (!absolutes.includes(ms)) throw new Error(`Offset ${$58246871e4652552$var$offsetToString(date.offset)} is invalid for ${$58246871e4652552$export$4223de14708adc63(date)} in ${date.timeZone}`);\n } else // Convert to absolute and back to fix invalid times due to DST.\n ms = (0, $d07e34cce18680fd$export$5107c82f94518f5c)((0, $d07e34cce18680fd$export$b21e0b124e224484)(plainDateTime), date.timeZone, disambiguation);\n return (0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, date.timeZone);\n}\nfunction $58246871e4652552$export$5adfdab05168c219(value, timeZone) {\n let m = value.match($58246871e4652552$var$ABSOLUTE_RE);\n if (!m) throw new Error('Invalid ISO 8601 date time string: ' + value);\n let year = $58246871e4652552$var$parseNumber(m[1], -9999, 9999);\n let era = year < 1 ? 'BC' : 'AD';\n let date = new (0, $2aaf608024c21ca1$export$d3b7288e7994edea)(era, year < 1 ? -year + 1 : year, $58246871e4652552$var$parseNumber(m[2], 1, 12), 1, timeZone, 0, m[4] ? $58246871e4652552$var$parseNumber(m[4], 0, 23) : 0, m[5] ? $58246871e4652552$var$parseNumber(m[5], 0, 59) : 0, m[6] ? $58246871e4652552$var$parseNumber(m[6], 0, 59) : 0, m[7] ? $58246871e4652552$var$parseNumber(m[7], 0, Infinity) * 1000 : 0);\n date.day = $58246871e4652552$var$parseNumber(m[3], 0, date.calendar.getDaysInMonth(date));\n if (m[8]) date.offset = $58246871e4652552$var$parseNumber(m[8], -23, 23) * 3600000 + $58246871e4652552$var$parseNumber(m[9] ?? '0', 0, 59) * 60000;\n return (0, $d07e34cce18680fd$export$538b00033cc11c75)(date, timeZone);\n}\nfunction $58246871e4652552$export$8e384432362ed0f0(value) {\n return $58246871e4652552$export$5adfdab05168c219(value, (0, $ad063034c8620db8$export$aa8b41735afcabd2)());\n}\nfunction $58246871e4652552$var$parseNumber(value, min, max) {\n let val = Number(value);\n if (val < min || val > max) throw new RangeError(`Value out of range: ${min} <= ${val} <= ${max}`);\n return val;\n}\nfunction $58246871e4652552$export$f59dee82248f5ad4(time) {\n return `${String(time.hour).padStart(2, '0')}:${String(time.minute).padStart(2, '0')}:${String(time.second).padStart(2, '0')}${time.millisecond ? String(time.millisecond / 1000).slice(1) : ''}`;\n}\nfunction $58246871e4652552$export$60dfd74aa96791bd(date) {\n let gregorianDate = (0, $d07e34cce18680fd$export$b4a036af3fc0b032)(date, new (0, $93635573935797de$export$80ee6245ec4f29ec)());\n let year;\n if (gregorianDate.era === 'BC') year = gregorianDate.year === 1 ? '0000' : '-' + String(Math.abs(1 - gregorianDate.year)).padStart(6, '00');\n else year = String(gregorianDate.year).padStart(4, '0');\n return `${year}-${String(gregorianDate.month).padStart(2, '0')}-${String(gregorianDate.day).padStart(2, '0')}`;\n}\nfunction $58246871e4652552$export$4223de14708adc63(date) {\n // @ts-ignore\n return `${$58246871e4652552$export$60dfd74aa96791bd(date)}T${$58246871e4652552$export$f59dee82248f5ad4(date)}`;\n}\nfunction $58246871e4652552$var$offsetToString(offset) {\n let sign = Math.sign(offset) < 0 ? '-' : '+';\n offset = Math.abs(offset);\n let offsetHours = Math.floor(offset / 3600000);\n let offsetMinutes = Math.floor(offset % 3600000 / 60000);\n let offsetSeconds = Math.floor(offset % 3600000 % 60000 / 1000);\n let stringOffset = `${sign}${String(offsetHours).padStart(2, '0')}:${String(offsetMinutes).padStart(2, '0')}`;\n if (offsetSeconds !== 0) stringOffset += `:${String(offsetSeconds).padStart(2, '0')}`;\n return stringOffset;\n}\nfunction $58246871e4652552$export$bf79f1ebf4b18792(date) {\n return `${$58246871e4652552$export$4223de14708adc63(date)}${$58246871e4652552$var$offsetToString(date.offset)}[${date.timeZone}]`;\n}\nfunction $58246871e4652552$export$ecae829bb3747ea6(value) {\n const match = value.match($58246871e4652552$var$DATE_TIME_DURATION_RE);\n if (!match) throw new Error(`Invalid ISO 8601 Duration string: ${value}`);\n const parseDurationGroup = (group, isNegative)=>{\n if (!group) return 0;\n try {\n const sign = isNegative ? -1 : 1;\n return sign * Number(group.replace(',', '.'));\n } catch {\n throw new Error(`Invalid ISO 8601 Duration string: ${value}`);\n }\n };\n const isNegative = !!match.groups?.negative;\n const hasRequiredGroups = $58246871e4652552$var$requiredDurationGroups.some((group)=>match.groups?.[group]);\n if (!hasRequiredGroups) throw new Error(`Invalid ISO 8601 Duration string: ${value}`);\n const durationStringIncludesTime = match.groups?.time;\n if (durationStringIncludesTime) {\n const hasRequiredDurationTimeGroups = $58246871e4652552$var$requiredDurationTimeGroups.some((group)=>match.groups?.[group]);\n if (!hasRequiredDurationTimeGroups) throw new Error(`Invalid ISO 8601 Duration string: ${value}`);\n }\n const duration = {\n years: parseDurationGroup(match.groups?.years, isNegative),\n months: parseDurationGroup(match.groups?.months, isNegative),\n weeks: parseDurationGroup(match.groups?.weeks, isNegative),\n days: parseDurationGroup(match.groups?.days, isNegative),\n hours: parseDurationGroup(match.groups?.hours, isNegative),\n minutes: parseDurationGroup(match.groups?.minutes, isNegative),\n seconds: parseDurationGroup(match.groups?.seconds, isNegative)\n };\n if (duration.hours !== undefined && duration.hours % 1 !== 0 && (duration.minutes || duration.seconds)) throw new Error(`Invalid ISO 8601 Duration string: ${value} - only the smallest unit can be fractional`);\n if (duration.minutes !== undefined && duration.minutes % 1 !== 0 && duration.seconds) throw new Error(`Invalid ISO 8601 Duration string: ${value} - only the smallest unit can be fractional`);\n return duration;\n}\n\n\nexport {$58246871e4652552$export$c9698ec7f05a07e1 as parseTime, $58246871e4652552$export$6b862160d295c8e as parseDate, $58246871e4652552$export$588937bcd60ade55 as parseDateTime, $58246871e4652552$export$fd7893f06e92a6a4 as parseZonedDateTime, $58246871e4652552$export$4223de14708adc63 as dateTimeToString, $58246871e4652552$export$5adfdab05168c219 as parseAbsolute, $58246871e4652552$export$8e384432362ed0f0 as parseAbsoluteToLocal, $58246871e4652552$export$f59dee82248f5ad4 as timeToString, $58246871e4652552$export$60dfd74aa96791bd as dateToString, $58246871e4652552$export$bf79f1ebf4b18792 as zonedDateTimeToString, $58246871e4652552$export$ecae829bb3747ea6 as parseDuration};\n//# sourceMappingURL=string.mjs.map\n","import {add as $435a2ceaa8778ed8$export$e16d8520af44a096, addTime as $435a2ceaa8778ed8$export$7ed87b6bc2506470, addZoned as $435a2ceaa8778ed8$export$96b1d28349274637, constrain as $435a2ceaa8778ed8$export$c4e2ecac49351ef2, constrainTime as $435a2ceaa8778ed8$export$7555de1e070510cb, cycleDate as $435a2ceaa8778ed8$export$d52ced6badfb9a4c, cycleTime as $435a2ceaa8778ed8$export$dd02b3e0007dfe28, cycleZoned as $435a2ceaa8778ed8$export$9a297d111fc86b79, set as $435a2ceaa8778ed8$export$adaa4cf7ef1b65be, setTime as $435a2ceaa8778ed8$export$e5d5e1c1822b6e56, setZoned as $435a2ceaa8778ed8$export$31b5430eb18be4f8, subtract as $435a2ceaa8778ed8$export$4e2d2ead65e5f7e3, subtractTime as $435a2ceaa8778ed8$export$fe34d3a381cd7501, subtractZoned as $435a2ceaa8778ed8$export$6814caac34ca03c7} from \"./manipulation.mjs\";\nimport {compareDate as $ad063034c8620db8$export$68781ddf31c0090f, compareTime as $ad063034c8620db8$export$c19a80a9721b80f6} from \"./queries.mjs\";\nimport {dateTimeToString as $58246871e4652552$export$4223de14708adc63, dateToString as $58246871e4652552$export$60dfd74aa96791bd, timeToString as $58246871e4652552$export$f59dee82248f5ad4, zonedDateTimeToString as $58246871e4652552$export$bf79f1ebf4b18792} from \"./string.mjs\";\nimport {GregorianCalendar as $93635573935797de$export$80ee6245ec4f29ec} from \"./calendars/GregorianCalendar.mjs\";\nimport {toCalendarDateTime as $d07e34cce18680fd$export$b21e0b124e224484, toDate as $d07e34cce18680fd$export$e67a095c620b86fe, toZoned as $d07e34cce18680fd$export$84c95a83c799e074, zonedToDate as $d07e34cce18680fd$export$83aac07b4c37b25} from \"./conversion.mjs\";\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 $2aaf608024c21ca1$var$shiftArgs(args) {\n let calendar = typeof args[0] === 'object' ? args.shift() : new (0, $93635573935797de$export$80ee6245ec4f29ec)();\n let era;\n if (typeof args[0] === 'string') era = args.shift();\n else {\n let eras = calendar.getEras();\n era = eras[eras.length - 1];\n }\n let year = args.shift();\n let month = args.shift();\n let day = args.shift();\n return [\n calendar,\n era,\n year,\n month,\n day\n ];\n}\nclass $2aaf608024c21ca1$export$99faa760c7908e4f {\n // This prevents TypeScript from allowing other types with the same fields to match.\n // i.e. a ZonedDateTime should not be be passable to a parameter that expects CalendarDate.\n // If that behavior is desired, use the AnyCalendarDate interface instead.\n // @ts-ignore\n #type;\n constructor(...args){\n let [calendar, era, year, month, day] = $2aaf608024c21ca1$var$shiftArgs(args);\n this.calendar = calendar;\n this.era = era;\n this.year = year;\n this.month = month;\n this.day = day;\n (0, $435a2ceaa8778ed8$export$c4e2ecac49351ef2)(this);\n }\n /** Returns a copy of this date. */ copy() {\n if (this.era) return new $2aaf608024c21ca1$export$99faa760c7908e4f(this.calendar, this.era, this.year, this.month, this.day);\n else return new $2aaf608024c21ca1$export$99faa760c7908e4f(this.calendar, this.year, this.month, this.day);\n }\n /** Returns a new `CalendarDate` with the given duration added to it. */ add(duration) {\n return (0, $435a2ceaa8778ed8$export$e16d8520af44a096)(this, duration);\n }\n /** Returns a new `CalendarDate` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $435a2ceaa8778ed8$export$4e2d2ead65e5f7e3)(this, duration);\n }\n /** Returns a new `CalendarDate` with the given fields set to the provided values. Other fields will be constrained accordingly. */ set(fields) {\n return (0, $435a2ceaa8778ed8$export$adaa4cf7ef1b65be)(this, fields);\n }\n /**\n * Returns a new `CalendarDate` with the given field adjusted by a specified amount.\n * When the resulting value reaches the limits of the field, it wraps around.\n */ cycle(field, amount, options) {\n return (0, $435a2ceaa8778ed8$export$d52ced6badfb9a4c)(this, field, amount, options);\n }\n /** Converts the date to a native JavaScript Date object, with the time set to midnight in the given time zone. */ toDate(timeZone) {\n return (0, $d07e34cce18680fd$export$e67a095c620b86fe)(this, timeZone);\n }\n /** Converts the date to an ISO 8601 formatted string. */ toString() {\n return (0, $58246871e4652552$export$60dfd74aa96791bd)(this);\n }\n /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */ compare(b) {\n return (0, $ad063034c8620db8$export$68781ddf31c0090f)(this, b);\n }\n}\nclass $2aaf608024c21ca1$export$680ea196effce5f {\n // This prevents TypeScript from allowing other types with the same fields to match.\n // @ts-ignore\n #type;\n constructor(hour = 0, minute = 0, second = 0, millisecond = 0){\n this.hour = hour;\n this.minute = minute;\n this.second = second;\n this.millisecond = millisecond;\n (0, $435a2ceaa8778ed8$export$7555de1e070510cb)(this);\n }\n /** Returns a copy of this time. */ copy() {\n return new $2aaf608024c21ca1$export$680ea196effce5f(this.hour, this.minute, this.second, this.millisecond);\n }\n /** Returns a new `Time` with the given duration added to it. */ add(duration) {\n return (0, $435a2ceaa8778ed8$export$7ed87b6bc2506470)(this, duration);\n }\n /** Returns a new `Time` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $435a2ceaa8778ed8$export$fe34d3a381cd7501)(this, duration);\n }\n /** Returns a new `Time` with the given fields set to the provided values. Other fields will be constrained accordingly. */ set(fields) {\n return (0, $435a2ceaa8778ed8$export$e5d5e1c1822b6e56)(this, fields);\n }\n /**\n * Returns a new `Time` with the given field adjusted by a specified amount.\n * When the resulting value reaches the limits of the field, it wraps around.\n */ cycle(field, amount, options) {\n return (0, $435a2ceaa8778ed8$export$dd02b3e0007dfe28)(this, field, amount, options);\n }\n /** Converts the time to an ISO 8601 formatted string. */ toString() {\n return (0, $58246871e4652552$export$f59dee82248f5ad4)(this);\n }\n /** Compares this time with another. A negative result indicates that this time is before the given one, and a positive time indicates that it is after. */ compare(b) {\n return (0, $ad063034c8620db8$export$c19a80a9721b80f6)(this, b);\n }\n}\nclass $2aaf608024c21ca1$export$ca871e8dbb80966f {\n // This prevents TypeScript from allowing other types with the same fields to match.\n // @ts-ignore\n #type;\n constructor(...args){\n let [calendar, era, year, month, day] = $2aaf608024c21ca1$var$shiftArgs(args);\n this.calendar = calendar;\n this.era = era;\n this.year = year;\n this.month = month;\n this.day = day;\n this.hour = args.shift() || 0;\n this.minute = args.shift() || 0;\n this.second = args.shift() || 0;\n this.millisecond = args.shift() || 0;\n (0, $435a2ceaa8778ed8$export$c4e2ecac49351ef2)(this);\n }\n /** Returns a copy of this date. */ copy() {\n if (this.era) return new $2aaf608024c21ca1$export$ca871e8dbb80966f(this.calendar, this.era, this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond);\n else return new $2aaf608024c21ca1$export$ca871e8dbb80966f(this.calendar, this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond);\n }\n /** Returns a new `CalendarDateTime` with the given duration added to it. */ add(duration) {\n return (0, $435a2ceaa8778ed8$export$e16d8520af44a096)(this, duration);\n }\n /** Returns a new `CalendarDateTime` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $435a2ceaa8778ed8$export$4e2d2ead65e5f7e3)(this, duration);\n }\n /** Returns a new `CalendarDateTime` with the given fields set to the provided values. Other fields will be constrained accordingly. */ set(fields) {\n return (0, $435a2ceaa8778ed8$export$adaa4cf7ef1b65be)((0, $435a2ceaa8778ed8$export$e5d5e1c1822b6e56)(this, fields), fields);\n }\n /**\n * Returns a new `CalendarDateTime` with the given field adjusted by a specified amount.\n * When the resulting value reaches the limits of the field, it wraps around.\n */ cycle(field, amount, options) {\n switch(field){\n case 'era':\n case 'year':\n case 'month':\n case 'day':\n return (0, $435a2ceaa8778ed8$export$d52ced6badfb9a4c)(this, field, amount, options);\n default:\n return (0, $435a2ceaa8778ed8$export$dd02b3e0007dfe28)(this, field, amount, options);\n }\n }\n /** Converts the date to a native JavaScript Date object in the given time zone. */ toDate(timeZone, disambiguation) {\n return (0, $d07e34cce18680fd$export$e67a095c620b86fe)(this, timeZone, disambiguation);\n }\n /** Converts the date to an ISO 8601 formatted string. */ toString() {\n return (0, $58246871e4652552$export$4223de14708adc63)(this);\n }\n /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */ compare(b) {\n let res = (0, $ad063034c8620db8$export$68781ddf31c0090f)(this, b);\n if (res === 0) return (0, $ad063034c8620db8$export$c19a80a9721b80f6)(this, (0, $d07e34cce18680fd$export$b21e0b124e224484)(b));\n return res;\n }\n}\nclass $2aaf608024c21ca1$export$d3b7288e7994edea {\n // This prevents TypeScript from allowing other types with the same fields to match.\n // @ts-ignore\n #type;\n constructor(...args){\n let [calendar, era, year, month, day] = $2aaf608024c21ca1$var$shiftArgs(args);\n let timeZone = args.shift();\n let offset = args.shift();\n this.calendar = calendar;\n this.era = era;\n this.year = year;\n this.month = month;\n this.day = day;\n this.timeZone = timeZone;\n this.offset = offset;\n this.hour = args.shift() || 0;\n this.minute = args.shift() || 0;\n this.second = args.shift() || 0;\n this.millisecond = args.shift() || 0;\n (0, $435a2ceaa8778ed8$export$c4e2ecac49351ef2)(this);\n }\n /** Returns a copy of this date. */ copy() {\n if (this.era) return new $2aaf608024c21ca1$export$d3b7288e7994edea(this.calendar, this.era, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond);\n else return new $2aaf608024c21ca1$export$d3b7288e7994edea(this.calendar, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond);\n }\n /** Returns a new `ZonedDateTime` with the given duration added to it. */ add(duration) {\n return (0, $435a2ceaa8778ed8$export$96b1d28349274637)(this, duration);\n }\n /** Returns a new `ZonedDateTime` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $435a2ceaa8778ed8$export$6814caac34ca03c7)(this, duration);\n }\n /** Returns a new `ZonedDateTime` with the given fields set to the provided values. Other fields will be constrained accordingly. */ set(fields, disambiguation) {\n return (0, $435a2ceaa8778ed8$export$31b5430eb18be4f8)(this, fields, disambiguation);\n }\n /**\n * Returns a new `ZonedDateTime` with the given field adjusted by a specified amount.\n * When the resulting value reaches the limits of the field, it wraps around.\n */ cycle(field, amount, options) {\n return (0, $435a2ceaa8778ed8$export$9a297d111fc86b79)(this, field, amount, options);\n }\n /** Converts the date to a native JavaScript Date object. */ toDate() {\n return (0, $d07e34cce18680fd$export$83aac07b4c37b25)(this);\n }\n /** Converts the date to an ISO 8601 formatted string, including the UTC offset and time zone identifier. */ toString() {\n return (0, $58246871e4652552$export$bf79f1ebf4b18792)(this);\n }\n /** Converts the date to an ISO 8601 formatted string in UTC. */ toAbsoluteString() {\n return this.toDate().toISOString();\n }\n /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */ compare(b) {\n // TODO: Is this a bad idea??\n return this.toDate().getTime() - (0, $d07e34cce18680fd$export$84c95a83c799e074)(b, this.timeZone).toDate().getTime();\n }\n}\n\n\nexport {$2aaf608024c21ca1$export$99faa760c7908e4f as CalendarDate, $2aaf608024c21ca1$export$680ea196effce5f as Time, $2aaf608024c21ca1$export$ca871e8dbb80966f as CalendarDateTime, $2aaf608024c21ca1$export$d3b7288e7994edea as ZonedDateTime};\n//# sourceMappingURL=CalendarDate.mjs.map\n","import {CalendarDate as $2aaf608024c21ca1$export$99faa760c7908e4f} from \"../CalendarDate.mjs\";\nimport {GregorianCalendar as $93635573935797de$export$80ee6245ec4f29ec} from \"./GregorianCalendar.mjs\";\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 */ // Portions of the code in this file are based on code from the TC39 Temporal proposal.\n// Original licensing can be found in the NOTICE file in the root directory of this source tree.\n\n\nconst $34b940b49ba042df$var$ERA_START_DATES = [\n [\n 1868,\n 9,\n 8\n ],\n [\n 1912,\n 7,\n 30\n ],\n [\n 1926,\n 12,\n 25\n ],\n [\n 1989,\n 1,\n 8\n ],\n [\n 2019,\n 5,\n 1\n ]\n];\nconst $34b940b49ba042df$var$ERA_END_DATES = [\n [\n 1912,\n 7,\n 29\n ],\n [\n 1926,\n 12,\n 24\n ],\n [\n 1989,\n 1,\n 7\n ],\n [\n 2019,\n 4,\n 30\n ]\n];\nconst $34b940b49ba042df$var$ERA_ADDENDS = [\n 1867,\n 1911,\n 1925,\n 1988,\n 2018\n];\nconst $34b940b49ba042df$var$ERA_NAMES = [\n 'meiji',\n 'taisho',\n 'showa',\n 'heisei',\n 'reiwa'\n];\nfunction $34b940b49ba042df$var$findEraFromGregorianDate(date) {\n const idx = $34b940b49ba042df$var$ERA_START_DATES.findIndex(([year, month, day])=>{\n if (date.year < year) return true;\n if (date.year === year && date.month < month) return true;\n if (date.year === year && date.month === month && date.day < day) return true;\n return false;\n });\n if (idx === -1) return $34b940b49ba042df$var$ERA_START_DATES.length - 1;\n if (idx === 0) return 0;\n return idx - 1;\n}\nfunction $34b940b49ba042df$var$toGregorian(date) {\n let eraAddend = $34b940b49ba042df$var$ERA_ADDENDS[$34b940b49ba042df$var$ERA_NAMES.indexOf(date.era)];\n if (!eraAddend) throw new Error('Unknown era: ' + date.era);\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(date.year + eraAddend, date.month, date.day);\n}\nclass $34b940b49ba042df$export$b746ab2b60cdffbf extends (0, $93635573935797de$export$80ee6245ec4f29ec) {\n fromJulianDay(jd) {\n let date = super.fromJulianDay(jd);\n let era = $34b940b49ba042df$var$findEraFromGregorianDate(date);\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(this, $34b940b49ba042df$var$ERA_NAMES[era], date.year - $34b940b49ba042df$var$ERA_ADDENDS[era], date.month, date.day);\n }\n toJulianDay(date) {\n return super.toJulianDay($34b940b49ba042df$var$toGregorian(date));\n }\n balanceDate(date) {\n let gregorianDate = $34b940b49ba042df$var$toGregorian(date);\n let era = $34b940b49ba042df$var$findEraFromGregorianDate(gregorianDate);\n if ($34b940b49ba042df$var$ERA_NAMES[era] !== date.era) {\n date.era = $34b940b49ba042df$var$ERA_NAMES[era];\n date.year = gregorianDate.year - $34b940b49ba042df$var$ERA_ADDENDS[era];\n }\n // Constrain in case we went before the first supported era.\n this.constrainDate(date);\n }\n constrainDate(date) {\n let idx = $34b940b49ba042df$var$ERA_NAMES.indexOf(date.era);\n let end = $34b940b49ba042df$var$ERA_END_DATES[idx];\n if (end != null) {\n let [endYear, endMonth, endDay] = end;\n // Constrain the year to the maximum possible value in the era.\n // Then constrain the month and day fields within that.\n let maxYear = endYear - $34b940b49ba042df$var$ERA_ADDENDS[idx];\n date.year = Math.max(1, Math.min(maxYear, date.year));\n if (date.year === maxYear) {\n date.month = Math.min(endMonth, date.month);\n if (date.month === endMonth) date.day = Math.min(endDay, date.day);\n }\n }\n if (date.year === 1 && idx >= 0) {\n let [, startMonth, startDay] = $34b940b49ba042df$var$ERA_START_DATES[idx];\n date.month = Math.max(startMonth, date.month);\n if (date.month === startMonth) date.day = Math.max(startDay, date.day);\n }\n }\n getEras() {\n return $34b940b49ba042df$var$ERA_NAMES;\n }\n getYearsInEra(date) {\n // Get the number of years in the era, taking into account the date's month and day fields.\n let era = $34b940b49ba042df$var$ERA_NAMES.indexOf(date.era);\n let cur = $34b940b49ba042df$var$ERA_START_DATES[era];\n let next = $34b940b49ba042df$var$ERA_START_DATES[era + 1];\n if (next == null) // 9999 gregorian is the maximum year allowed.\n return 9999 - cur[0] + 1;\n let years = next[0] - cur[0];\n if (date.month < next[1] || date.month === next[1] && date.day < next[2]) years++;\n return years;\n }\n getDaysInMonth(date) {\n return super.getDaysInMonth($34b940b49ba042df$var$toGregorian(date));\n }\n getMinimumMonthInYear(date) {\n let start = $34b940b49ba042df$var$getMinimums(date);\n return start ? start[1] : 1;\n }\n getMinimumDayInMonth(date) {\n let start = $34b940b49ba042df$var$getMinimums(date);\n return start && date.month === start[1] ? start[2] : 1;\n }\n constructor(...args){\n super(...args), this.identifier = 'japanese';\n }\n}\nfunction $34b940b49ba042df$var$getMinimums(date) {\n if (date.year === 1) {\n let idx = $34b940b49ba042df$var$ERA_NAMES.indexOf(date.era);\n return $34b940b49ba042df$var$ERA_START_DATES[idx];\n }\n}\n\n\nexport {$34b940b49ba042df$export$b746ab2b60cdffbf as JapaneseCalendar};\n//# sourceMappingURL=JapaneseCalendar.mjs.map\n","import {CalendarDate as $2aaf608024c21ca1$export$99faa760c7908e4f} from \"../CalendarDate.mjs\";\nimport {fromExtendedYear as $93635573935797de$export$4475b7e617eb123c, getExtendedYear as $93635573935797de$export$c36e0ecb2d4fa69d, GregorianCalendar as $93635573935797de$export$80ee6245ec4f29ec} from \"./GregorianCalendar.mjs\";\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 */ // Portions of the code in this file are based on code from ICU.\n// Original licensing can be found in the NOTICE file in the root directory of this source tree.\n\n\nconst $63d4eafd4d826996$var$BUDDHIST_ERA_START = -543;\nclass $63d4eafd4d826996$export$42d20a78301dee44 extends (0, $93635573935797de$export$80ee6245ec4f29ec) {\n fromJulianDay(jd) {\n let gregorianDate = super.fromJulianDay(jd);\n let year = (0, $93635573935797de$export$c36e0ecb2d4fa69d)(gregorianDate.era, gregorianDate.year);\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(this, year - $63d4eafd4d826996$var$BUDDHIST_ERA_START, gregorianDate.month, gregorianDate.day);\n }\n toJulianDay(date) {\n return super.toJulianDay($63d4eafd4d826996$var$toGregorian(date));\n }\n getEras() {\n return [\n 'BE'\n ];\n }\n getDaysInMonth(date) {\n return super.getDaysInMonth($63d4eafd4d826996$var$toGregorian(date));\n }\n balanceDate() {}\n constructor(...args){\n super(...args), this.identifier = 'buddhist';\n }\n}\nfunction $63d4eafd4d826996$var$toGregorian(date) {\n let [era, year] = (0, $93635573935797de$export$4475b7e617eb123c)(date.year + $63d4eafd4d826996$var$BUDDHIST_ERA_START);\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(era, year, date.month, date.day);\n}\n\n\nexport {$63d4eafd4d826996$export$42d20a78301dee44 as BuddhistCalendar};\n//# sourceMappingURL=BuddhistCalendar.mjs.map\n","import {CalendarDate as $2aaf608024c21ca1$export$99faa760c7908e4f} from \"../CalendarDate.mjs\";\nimport {fromExtendedYear as $93635573935797de$export$4475b7e617eb123c, getExtendedYear as $93635573935797de$export$c36e0ecb2d4fa69d, GregorianCalendar as $93635573935797de$export$80ee6245ec4f29ec} from \"./GregorianCalendar.mjs\";\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 */ // Portions of the code in this file are based on code from ICU.\n// Original licensing can be found in the NOTICE file in the root directory of this source tree.\n\n\nconst $c009cc5f64923054$var$TAIWAN_ERA_START = 1911;\nfunction $c009cc5f64923054$var$gregorianYear(date) {\n return date.era === 'minguo' ? date.year + $c009cc5f64923054$var$TAIWAN_ERA_START : 1 - date.year + $c009cc5f64923054$var$TAIWAN_ERA_START;\n}\nfunction $c009cc5f64923054$var$gregorianToTaiwan(year) {\n let y = year - $c009cc5f64923054$var$TAIWAN_ERA_START;\n if (y > 0) return [\n 'minguo',\n y\n ];\n else return [\n 'before_minguo',\n 1 - y\n ];\n}\nclass $c009cc5f64923054$export$65e01080afcb0799 extends (0, $93635573935797de$export$80ee6245ec4f29ec) {\n fromJulianDay(jd) {\n let date = super.fromJulianDay(jd);\n let extendedYear = (0, $93635573935797de$export$c36e0ecb2d4fa69d)(date.era, date.year);\n let [era, year] = $c009cc5f64923054$var$gregorianToTaiwan(extendedYear);\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(this, era, year, date.month, date.day);\n }\n toJulianDay(date) {\n return super.toJulianDay($c009cc5f64923054$var$toGregorian(date));\n }\n getEras() {\n return [\n 'before_minguo',\n 'minguo'\n ];\n }\n balanceDate(date) {\n let [era, year] = $c009cc5f64923054$var$gregorianToTaiwan($c009cc5f64923054$var$gregorianYear(date));\n date.era = era;\n date.year = year;\n }\n isInverseEra(date) {\n return date.era === 'before_minguo';\n }\n getDaysInMonth(date) {\n return super.getDaysInMonth($c009cc5f64923054$var$toGregorian(date));\n }\n getYearsInEra(date) {\n return date.era === 'before_minguo' ? 9999 : 9999 - $c009cc5f64923054$var$TAIWAN_ERA_START;\n }\n constructor(...args){\n super(...args), this.identifier = 'roc' // Republic of China\n ;\n }\n}\nfunction $c009cc5f64923054$var$toGregorian(date) {\n let [era, year] = (0, $93635573935797de$export$4475b7e617eb123c)($c009cc5f64923054$var$gregorianYear(date));\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(era, year, date.month, date.day);\n}\n\n\nexport {$c009cc5f64923054$export$65e01080afcb0799 as TaiwanCalendar};\n//# sourceMappingURL=TaiwanCalendar.mjs.map\n","import {CalendarDate as $2aaf608024c21ca1$export$99faa760c7908e4f} from \"../CalendarDate.mjs\";\nimport {mod as $09ec6a572d60460f$export$842a2cf37af977e1} from \"../utils.mjs\";\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 */ // Portions of the code in this file are based on code from ICU.\n// Original licensing can be found in the NOTICE file in the root directory of this source tree.\n\n\nconst $a0cc0739a536c3b1$var$PERSIAN_EPOCH = 1948320;\n// Number of days from the start of the year to the start of each month.\nconst $a0cc0739a536c3b1$var$MONTH_START = [\n 0,\n 31,\n 62,\n 93,\n 124,\n 155,\n 186,\n 216,\n 246,\n 276,\n 306,\n 336 // Esfand\n];\nclass $a0cc0739a536c3b1$export$37fccdbfd14c5939 {\n fromJulianDay(jd) {\n let daysSinceEpoch = jd - $a0cc0739a536c3b1$var$PERSIAN_EPOCH;\n let year = 1 + Math.floor((33 * daysSinceEpoch + 3) / 12053);\n let farvardin1 = 365 * (year - 1) + Math.floor((8 * year + 21) / 33);\n let dayOfYear = daysSinceEpoch - farvardin1;\n let month = dayOfYear < 216 ? Math.floor(dayOfYear / 31) : Math.floor((dayOfYear - 6) / 30);\n let day = dayOfYear - $a0cc0739a536c3b1$var$MONTH_START[month] + 1;\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(this, year, month + 1, day);\n }\n toJulianDay(date) {\n let jd = $a0cc0739a536c3b1$var$PERSIAN_EPOCH - 1 + 365 * (date.year - 1) + Math.floor((8 * date.year + 21) / 33);\n jd += $a0cc0739a536c3b1$var$MONTH_START[date.month - 1];\n jd += date.day;\n return jd;\n }\n getMonthsInYear() {\n return 12;\n }\n getDaysInMonth(date) {\n if (date.month <= 6) return 31;\n if (date.month <= 11) return 30;\n let isLeapYear = (0, $09ec6a572d60460f$export$842a2cf37af977e1)(25 * date.year + 11, 33) < 8;\n return isLeapYear ? 30 : 29;\n }\n getMaximumMonthsInYear() {\n return 12;\n }\n getMaximumDaysInMonth() {\n return 31;\n }\n getEras() {\n return [\n 'AP'\n ];\n }\n getYearsInEra() {\n // 9378-10-10 persian is 9999-12-31 gregorian.\n // Round down to 9377 to set the maximum full year.\n return 9377;\n }\n constructor(){\n this.identifier = 'persian';\n }\n}\n\n\nexport {$a0cc0739a536c3b1$export$37fccdbfd14c5939 as PersianCalendar};\n//# sourceMappingURL=PersianCalendar.mjs.map\n","import {CalendarDate as $2aaf608024c21ca1$export$99faa760c7908e4f} from \"../CalendarDate.mjs\";\nimport {fromExtendedYear as $93635573935797de$export$4475b7e617eb123c, GregorianCalendar as $93635573935797de$export$80ee6245ec4f29ec, gregorianToJulianDay as $93635573935797de$export$f297eb839006d339, isLeapYear as $93635573935797de$export$553d7fa8e3805fc0} from \"./GregorianCalendar.mjs\";\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 */ // Portions of the code in this file are based on code from ICU.\n// Original licensing can be found in the NOTICE file in the root directory of this source tree.\n\n\n// Starts in 78 AD,\nconst $11fa67a177e45470$var$INDIAN_ERA_START = 78;\n// The Indian year starts 80 days later than the Gregorian year.\nconst $11fa67a177e45470$var$INDIAN_YEAR_START = 80;\nclass $11fa67a177e45470$export$39f31c639fa15726 extends (0, $93635573935797de$export$80ee6245ec4f29ec) {\n fromJulianDay(jd) {\n // Gregorian date for Julian day\n let date = super.fromJulianDay(jd);\n // Year in Saka era\n let indianYear = date.year - $11fa67a177e45470$var$INDIAN_ERA_START;\n // Day number in Gregorian year (starting from 0)\n let yDay = jd - (0, $93635573935797de$export$f297eb839006d339)(date.era, date.year, 1, 1);\n let leapMonth;\n if (yDay < $11fa67a177e45470$var$INDIAN_YEAR_START) {\n // Day is at the end of the preceding Saka year\n indianYear--;\n // Days in leapMonth this year, previous Gregorian year\n leapMonth = (0, $93635573935797de$export$553d7fa8e3805fc0)(date.year - 1) ? 31 : 30;\n yDay += leapMonth + 155 + 90 + 10;\n } else {\n // Days in leapMonth this year\n leapMonth = (0, $93635573935797de$export$553d7fa8e3805fc0)(date.year) ? 31 : 30;\n yDay -= $11fa67a177e45470$var$INDIAN_YEAR_START;\n }\n let indianMonth;\n let indianDay;\n if (yDay < leapMonth) {\n indianMonth = 1;\n indianDay = yDay + 1;\n } else {\n let mDay = yDay - leapMonth;\n if (mDay < 155) {\n indianMonth = Math.floor(mDay / 31) + 2;\n indianDay = mDay % 31 + 1;\n } else {\n mDay -= 155;\n indianMonth = Math.floor(mDay / 30) + 7;\n indianDay = mDay % 30 + 1;\n }\n }\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(this, indianYear, indianMonth, indianDay);\n }\n toJulianDay(date) {\n let extendedYear = date.year + $11fa67a177e45470$var$INDIAN_ERA_START;\n let [era, year] = (0, $93635573935797de$export$4475b7e617eb123c)(extendedYear);\n let leapMonth;\n let jd;\n if ((0, $93635573935797de$export$553d7fa8e3805fc0)(year)) {\n leapMonth = 31;\n jd = (0, $93635573935797de$export$f297eb839006d339)(era, year, 3, 21);\n } else {\n leapMonth = 30;\n jd = (0, $93635573935797de$export$f297eb839006d339)(era, year, 3, 22);\n }\n if (date.month === 1) return jd + date.day - 1;\n jd += leapMonth + Math.min(date.month - 2, 5) * 31;\n if (date.month >= 8) jd += (date.month - 7) * 30;\n jd += date.day - 1;\n return jd;\n }\n getDaysInMonth(date) {\n if (date.month === 1 && (0, $93635573935797de$export$553d7fa8e3805fc0)(date.year + $11fa67a177e45470$var$INDIAN_ERA_START)) return 31;\n if (date.month >= 2 && date.month <= 6) return 31;\n return 30;\n }\n getYearsInEra() {\n // 9999-12-31 gregorian is 9920-10-10 indian.\n // Round down to 9919 for the last full year.\n return 9919;\n }\n getEras() {\n return [\n 'saka'\n ];\n }\n balanceDate() {}\n constructor(...args){\n super(...args), this.identifier = 'indian';\n }\n}\n\n\nexport {$11fa67a177e45470$export$39f31c639fa15726 as IndianCalendar};\n//# sourceMappingURL=IndianCalendar.mjs.map\n","import {CalendarDate as $2aaf608024c21ca1$export$99faa760c7908e4f} from \"../CalendarDate.mjs\";\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 */ // Portions of the code in this file are based on code from ICU.\n// Original licensing can be found in the NOTICE file in the root directory of this source tree.\n\nconst $fd4f9bc1ba0e49a8$var$CIVIL_EPOC = 1948440; // CE 622 July 16 Friday (Julian calendar) / CE 622 July 19 (Gregorian calendar)\nconst $fd4f9bc1ba0e49a8$var$ASTRONOMICAL_EPOC = 1948439; // CE 622 July 15 Thursday (Julian calendar)\nconst $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START = 1300;\nconst $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_END = 1600;\nconst $fd4f9bc1ba0e49a8$var$UMALQURA_START_DAYS = 460322;\nfunction $fd4f9bc1ba0e49a8$var$islamicToJulianDay(epoch, year, month, day) {\n return day + Math.ceil(29.5 * (month - 1)) + (year - 1) * 354 + Math.floor((3 + 11 * year) / 30) + epoch - 1;\n}\nfunction $fd4f9bc1ba0e49a8$var$julianDayToIslamic(calendar, epoch, jd) {\n let year = Math.floor((30 * (jd - epoch) + 10646) / 10631);\n let month = Math.min(12, Math.ceil((jd - (29 + $fd4f9bc1ba0e49a8$var$islamicToJulianDay(epoch, year, 1, 1))) / 29.5) + 1);\n let day = jd - $fd4f9bc1ba0e49a8$var$islamicToJulianDay(epoch, year, month, 1) + 1;\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(calendar, year, month, day);\n}\nfunction $fd4f9bc1ba0e49a8$var$isLeapYear(year) {\n return (14 + 11 * year) % 30 < 11;\n}\nclass $fd4f9bc1ba0e49a8$export$2066795aadd37bfc {\n fromJulianDay(jd) {\n return $fd4f9bc1ba0e49a8$var$julianDayToIslamic(this, $fd4f9bc1ba0e49a8$var$CIVIL_EPOC, jd);\n }\n toJulianDay(date) {\n return $fd4f9bc1ba0e49a8$var$islamicToJulianDay($fd4f9bc1ba0e49a8$var$CIVIL_EPOC, date.year, date.month, date.day);\n }\n getDaysInMonth(date) {\n let length = 29 + date.month % 2;\n if (date.month === 12 && $fd4f9bc1ba0e49a8$var$isLeapYear(date.year)) length++;\n return length;\n }\n getMonthsInYear() {\n return 12;\n }\n getDaysInYear(date) {\n return $fd4f9bc1ba0e49a8$var$isLeapYear(date.year) ? 355 : 354;\n }\n getMaximumMonthsInYear() {\n return 12;\n }\n getMaximumDaysInMonth() {\n return 30;\n }\n getYearsInEra() {\n // 9999 gregorian\n return 9665;\n }\n getEras() {\n return [\n 'AH'\n ];\n }\n constructor(){\n this.identifier = 'islamic-civil';\n }\n}\nclass $fd4f9bc1ba0e49a8$export$37f0887f2f9d22f7 extends $fd4f9bc1ba0e49a8$export$2066795aadd37bfc {\n fromJulianDay(jd) {\n return $fd4f9bc1ba0e49a8$var$julianDayToIslamic(this, $fd4f9bc1ba0e49a8$var$ASTRONOMICAL_EPOC, jd);\n }\n toJulianDay(date) {\n return $fd4f9bc1ba0e49a8$var$islamicToJulianDay($fd4f9bc1ba0e49a8$var$ASTRONOMICAL_EPOC, date.year, date.month, date.day);\n }\n constructor(...args){\n super(...args), this.identifier = 'islamic-tbla';\n }\n}\n// Generated by scripts/generate-umalqura.js\nconst $fd4f9bc1ba0e49a8$var$UMALQURA_DATA = 'qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=';\nlet $fd4f9bc1ba0e49a8$var$UMALQURA_MONTHLENGTH;\nlet $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START_TABLE;\nfunction $fd4f9bc1ba0e49a8$var$umalquraYearStart(year) {\n return $fd4f9bc1ba0e49a8$var$UMALQURA_START_DAYS + $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START_TABLE[year - $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START];\n}\nfunction $fd4f9bc1ba0e49a8$var$umalquraMonthLength(year, month) {\n let idx = year - $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START;\n let mask = 0x01 << 11 - (month - 1);\n if (($fd4f9bc1ba0e49a8$var$UMALQURA_MONTHLENGTH[idx] & mask) === 0) return 29;\n else return 30;\n}\nfunction $fd4f9bc1ba0e49a8$var$umalquraMonthStart(year, month) {\n let day = $fd4f9bc1ba0e49a8$var$umalquraYearStart(year);\n for(let i = 1; i < month; i++)day += $fd4f9bc1ba0e49a8$var$umalquraMonthLength(year, i);\n return day;\n}\nfunction $fd4f9bc1ba0e49a8$var$umalquraYearLength(year) {\n return $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START_TABLE[year + 1 - $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START] - $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START_TABLE[year - $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START];\n}\nclass $fd4f9bc1ba0e49a8$export$5baab4758c231076 extends $fd4f9bc1ba0e49a8$export$2066795aadd37bfc {\n constructor(){\n super(), this.identifier = 'islamic-umalqura';\n if (!$fd4f9bc1ba0e49a8$var$UMALQURA_MONTHLENGTH) $fd4f9bc1ba0e49a8$var$UMALQURA_MONTHLENGTH = new Uint16Array(Uint8Array.from(atob($fd4f9bc1ba0e49a8$var$UMALQURA_DATA), (c)=>c.charCodeAt(0)).buffer);\n if (!$fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START_TABLE) {\n $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START_TABLE = new Uint32Array($fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_END - $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START + 1);\n let yearStart = 0;\n for(let year = $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START; year <= $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_END; year++){\n $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START_TABLE[year - $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START] = yearStart;\n for(let i = 1; i <= 12; i++)yearStart += $fd4f9bc1ba0e49a8$var$umalquraMonthLength(year, i);\n }\n }\n }\n fromJulianDay(jd) {\n let days = jd - $fd4f9bc1ba0e49a8$var$CIVIL_EPOC;\n let startDays = $fd4f9bc1ba0e49a8$var$umalquraYearStart($fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START);\n let endDays = $fd4f9bc1ba0e49a8$var$umalquraYearStart($fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_END);\n if (days < startDays || days > endDays) return super.fromJulianDay(jd);\n else {\n let y = $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START - 1;\n let m = 1;\n let d = 1;\n while(d > 0){\n y++;\n d = days - $fd4f9bc1ba0e49a8$var$umalquraYearStart(y) + 1;\n let yearLength = $fd4f9bc1ba0e49a8$var$umalquraYearLength(y);\n if (d === yearLength) {\n m = 12;\n break;\n } else if (d < yearLength) {\n let monthLength = $fd4f9bc1ba0e49a8$var$umalquraMonthLength(y, m);\n m = 1;\n while(d > monthLength){\n d -= monthLength;\n m++;\n monthLength = $fd4f9bc1ba0e49a8$var$umalquraMonthLength(y, m);\n }\n break;\n }\n }\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(this, y, m, days - $fd4f9bc1ba0e49a8$var$umalquraMonthStart(y, m) + 1);\n }\n }\n toJulianDay(date) {\n if (date.year < $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START || date.year > $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_END) return super.toJulianDay(date);\n return $fd4f9bc1ba0e49a8$var$CIVIL_EPOC + $fd4f9bc1ba0e49a8$var$umalquraMonthStart(date.year, date.month) + (date.day - 1);\n }\n getDaysInMonth(date) {\n if (date.year < $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START || date.year > $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_END) return super.getDaysInMonth(date);\n return $fd4f9bc1ba0e49a8$var$umalquraMonthLength(date.year, date.month);\n }\n getDaysInYear(date) {\n if (date.year < $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_START || date.year > $fd4f9bc1ba0e49a8$var$UMALQURA_YEAR_END) return super.getDaysInYear(date);\n return $fd4f9bc1ba0e49a8$var$umalquraYearLength(date.year);\n }\n}\n\n\nexport {$fd4f9bc1ba0e49a8$export$2066795aadd37bfc as IslamicCivilCalendar, $fd4f9bc1ba0e49a8$export$37f0887f2f9d22f7 as IslamicTabularCalendar, $fd4f9bc1ba0e49a8$export$5baab4758c231076 as IslamicUmalquraCalendar};\n//# sourceMappingURL=IslamicCalendar.mjs.map\n","import {CalendarDate as $2aaf608024c21ca1$export$99faa760c7908e4f} from \"../CalendarDate.mjs\";\nimport {mod as $09ec6a572d60460f$export$842a2cf37af977e1} from \"../utils.mjs\";\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 */ // Portions of the code in this file are based on code from ICU.\n// Original licensing can be found in the NOTICE file in the root directory of this source tree.\n\n\nconst $f39495b96f9dbac6$var$HEBREW_EPOCH = 347997;\n// Hebrew date calculations are performed in terms of days, hours, and\n// \"parts\" (or halakim), which are 1/1080 of an hour, or 3 1/3 seconds.\nconst $f39495b96f9dbac6$var$HOUR_PARTS = 1080;\nconst $f39495b96f9dbac6$var$DAY_PARTS = 24 * $f39495b96f9dbac6$var$HOUR_PARTS;\n// An approximate value for the length of a lunar month.\n// It is used to calculate the approximate year and month of a given\n// absolute date.\nconst $f39495b96f9dbac6$var$MONTH_DAYS = 29;\nconst $f39495b96f9dbac6$var$MONTH_FRACT = 12 * $f39495b96f9dbac6$var$HOUR_PARTS + 793;\nconst $f39495b96f9dbac6$var$MONTH_PARTS = $f39495b96f9dbac6$var$MONTH_DAYS * $f39495b96f9dbac6$var$DAY_PARTS + $f39495b96f9dbac6$var$MONTH_FRACT;\nfunction $f39495b96f9dbac6$var$isLeapYear(year) {\n return (0, $09ec6a572d60460f$export$842a2cf37af977e1)(year * 7 + 1, 19) < 7;\n}\n// Test for delay of start of new year and to avoid\n// Sunday, Wednesday, and Friday as start of the new year.\nfunction $f39495b96f9dbac6$var$hebrewDelay1(year) {\n let months = Math.floor((235 * year - 234) / 19);\n let parts = 12084 + 13753 * months;\n let day = months * 29 + Math.floor(parts / 25920);\n if ((0, $09ec6a572d60460f$export$842a2cf37af977e1)(3 * (day + 1), 7) < 3) day += 1;\n return day;\n}\n// Check for delay in start of new year due to length of adjacent years\nfunction $f39495b96f9dbac6$var$hebrewDelay2(year) {\n let last = $f39495b96f9dbac6$var$hebrewDelay1(year - 1);\n let present = $f39495b96f9dbac6$var$hebrewDelay1(year);\n let next = $f39495b96f9dbac6$var$hebrewDelay1(year + 1);\n if (next - present === 356) return 2;\n if (present - last === 382) return 1;\n return 0;\n}\nfunction $f39495b96f9dbac6$var$startOfYear(year) {\n return $f39495b96f9dbac6$var$hebrewDelay1(year) + $f39495b96f9dbac6$var$hebrewDelay2(year);\n}\nfunction $f39495b96f9dbac6$var$getDaysInYear(year) {\n return $f39495b96f9dbac6$var$startOfYear(year + 1) - $f39495b96f9dbac6$var$startOfYear(year);\n}\nfunction $f39495b96f9dbac6$var$getYearType(year) {\n let yearLength = $f39495b96f9dbac6$var$getDaysInYear(year);\n if (yearLength > 380) yearLength -= 30; // Subtract length of leap month.\n switch(yearLength){\n case 353:\n return 0; // deficient\n case 354:\n return 1; // normal\n case 355:\n return 2; // complete\n }\n}\nfunction $f39495b96f9dbac6$var$getDaysInMonth(year, month) {\n // Normalize month numbers from 1 - 13, even on non-leap years\n if (month >= 6 && !$f39495b96f9dbac6$var$isLeapYear(year)) month++;\n // First of all, dispose of fixed-length 29 day months\n if (month === 4 || month === 7 || month === 9 || month === 11 || month === 13) return 29;\n let yearType = $f39495b96f9dbac6$var$getYearType(year);\n // If it's Heshvan, days depend on length of year\n if (month === 2) return yearType === 2 ? 30 : 29;\n // Similarly, Kislev varies with the length of year\n if (month === 3) return yearType === 0 ? 29 : 30;\n // Adar I only exists in leap years\n if (month === 6) return $f39495b96f9dbac6$var$isLeapYear(year) ? 30 : 0;\n return 30;\n}\nclass $f39495b96f9dbac6$export$ca405048b8fb5af {\n fromJulianDay(jd) {\n let d = jd - $f39495b96f9dbac6$var$HEBREW_EPOCH;\n let m = d * $f39495b96f9dbac6$var$DAY_PARTS / $f39495b96f9dbac6$var$MONTH_PARTS; // Months (approx)\n let year = Math.floor((19 * m + 234) / 235) + 1; // Years (approx)\n let ys = $f39495b96f9dbac6$var$startOfYear(year); // 1st day of year\n let dayOfYear = Math.floor(d - ys);\n // Because of the postponement rules, it's possible to guess wrong. Fix it.\n while(dayOfYear < 1){\n year--;\n ys = $f39495b96f9dbac6$var$startOfYear(year);\n dayOfYear = Math.floor(d - ys);\n }\n // Now figure out which month we're in, and the date within that month\n let month = 1;\n let monthStart = 0;\n while(monthStart < dayOfYear){\n monthStart += $f39495b96f9dbac6$var$getDaysInMonth(year, month);\n month++;\n }\n month--;\n monthStart -= $f39495b96f9dbac6$var$getDaysInMonth(year, month);\n let day = dayOfYear - monthStart;\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(this, year, month, day);\n }\n toJulianDay(date) {\n let jd = $f39495b96f9dbac6$var$startOfYear(date.year);\n for(let month = 1; month < date.month; month++)jd += $f39495b96f9dbac6$var$getDaysInMonth(date.year, month);\n return jd + date.day + $f39495b96f9dbac6$var$HEBREW_EPOCH;\n }\n getDaysInMonth(date) {\n return $f39495b96f9dbac6$var$getDaysInMonth(date.year, date.month);\n }\n getMonthsInYear(date) {\n return $f39495b96f9dbac6$var$isLeapYear(date.year) ? 13 : 12;\n }\n getDaysInYear(date) {\n return $f39495b96f9dbac6$var$getDaysInYear(date.year);\n }\n getMaximumMonthsInYear() {\n return 13;\n }\n getMaximumDaysInMonth() {\n return 30;\n }\n getYearsInEra() {\n // 6239 gregorian\n return 9999;\n }\n getEras() {\n return [\n 'AM'\n ];\n }\n balanceYearMonth(date, previousDate) {\n // Keep date in the same month when switching between leap years and non leap years\n if (previousDate.year !== date.year) {\n if ($f39495b96f9dbac6$var$isLeapYear(previousDate.year) && !$f39495b96f9dbac6$var$isLeapYear(date.year) && previousDate.month > 6) date.month--;\n else if (!$f39495b96f9dbac6$var$isLeapYear(previousDate.year) && $f39495b96f9dbac6$var$isLeapYear(date.year) && previousDate.month > 6) date.month++;\n }\n }\n constructor(){\n this.identifier = 'hebrew';\n }\n}\n\n\nexport {$f39495b96f9dbac6$export$ca405048b8fb5af as HebrewCalendar};\n//# sourceMappingURL=HebrewCalendar.mjs.map\n","import {CalendarDate as $2aaf608024c21ca1$export$99faa760c7908e4f} from \"../CalendarDate.mjs\";\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 */ // Portions of the code in this file are based on code from ICU.\n// Original licensing can be found in the NOTICE file in the root directory of this source tree.\n\nconst $97cfca9efd59523d$var$ETHIOPIC_EPOCH = 1723856;\nconst $97cfca9efd59523d$var$COPTIC_EPOCH = 1824665;\n// The delta between Amete Alem 1 and Amete Mihret 1\n// AA 5501 = AM 1\nconst $97cfca9efd59523d$var$AMETE_MIHRET_DELTA = 5500;\nfunction $97cfca9efd59523d$var$ceToJulianDay(epoch, year, month, day) {\n return epoch // difference from Julian epoch to 1,1,1\n + 365 * year // number of days from years\n + Math.floor(year / 4) // extra day of leap year\n + 30 * (month - 1 // number of days from months (1 based)\n ) + day - 1 // number of days for present month (1 based)\n ;\n}\nfunction $97cfca9efd59523d$var$julianDayToCE(epoch, jd) {\n let year = Math.floor(4 * (jd - epoch) / 1461);\n let month = 1 + Math.floor((jd - $97cfca9efd59523d$var$ceToJulianDay(epoch, year, 1, 1)) / 30);\n let day = jd + 1 - $97cfca9efd59523d$var$ceToJulianDay(epoch, year, month, 1);\n return [\n year,\n month,\n day\n ];\n}\nfunction $97cfca9efd59523d$var$getLeapDay(year) {\n return Math.floor(year % 4 / 3);\n}\nfunction $97cfca9efd59523d$var$getDaysInMonth(year, month) {\n // The Ethiopian and Coptic calendars have 13 months, 12 of 30 days each and\n // an intercalary month at the end of the year of 5 or 6 days, depending whether\n // the year is a leap year or not. The Leap Year follows the same rules as the\n // Julian Calendar so that the extra month always has six days in the year before\n // a Julian Leap Year.\n if (month % 13 !== 0) // not intercalary month\n return 30;\n else // intercalary month 5 days + possible leap day\n return $97cfca9efd59523d$var$getLeapDay(year) + 5;\n}\nclass $97cfca9efd59523d$export$26ba6eab5e20cd7d {\n fromJulianDay(jd) {\n let [year, month, day] = $97cfca9efd59523d$var$julianDayToCE($97cfca9efd59523d$var$ETHIOPIC_EPOCH, jd);\n let era = 'AM';\n if (year <= 0) {\n era = 'AA';\n year += $97cfca9efd59523d$var$AMETE_MIHRET_DELTA;\n }\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(this, era, year, month, day);\n }\n toJulianDay(date) {\n let year = date.year;\n if (date.era === 'AA') year -= $97cfca9efd59523d$var$AMETE_MIHRET_DELTA;\n return $97cfca9efd59523d$var$ceToJulianDay($97cfca9efd59523d$var$ETHIOPIC_EPOCH, year, date.month, date.day);\n }\n getDaysInMonth(date) {\n return $97cfca9efd59523d$var$getDaysInMonth(date.year, date.month);\n }\n getMonthsInYear() {\n return 13;\n }\n getDaysInYear(date) {\n return 365 + $97cfca9efd59523d$var$getLeapDay(date.year);\n }\n getMaximumMonthsInYear() {\n return 13;\n }\n getMaximumDaysInMonth() {\n return 30;\n }\n getYearsInEra(date) {\n // 9999-12-31 gregorian is 9992-20-02 ethiopic.\n // Round down to 9991 for the last full year.\n // AA 9999-01-01 ethiopic is 4506-09-30 gregorian.\n return date.era === 'AA' ? 9999 : 9991;\n }\n getEras() {\n return [\n 'AA',\n 'AM'\n ];\n }\n constructor(){\n this.identifier = 'ethiopic';\n }\n}\nclass $97cfca9efd59523d$export$d72e0c37005a4914 extends $97cfca9efd59523d$export$26ba6eab5e20cd7d {\n fromJulianDay(jd) {\n let [year, month, day] = $97cfca9efd59523d$var$julianDayToCE($97cfca9efd59523d$var$ETHIOPIC_EPOCH, jd);\n year += $97cfca9efd59523d$var$AMETE_MIHRET_DELTA;\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(this, 'AA', year, month, day);\n }\n getEras() {\n return [\n 'AA'\n ];\n }\n getYearsInEra() {\n // 9999-13-04 ethioaa is the maximum date, which is equivalent to 4506-09-29 gregorian.\n return 9999;\n }\n constructor(...args){\n super(...args), this.identifier = 'ethioaa' // also known as 'ethiopic-amete-alem' in ICU\n ;\n }\n}\nclass $97cfca9efd59523d$export$fe6243cbe1a4b7c1 extends $97cfca9efd59523d$export$26ba6eab5e20cd7d {\n fromJulianDay(jd) {\n let [year, month, day] = $97cfca9efd59523d$var$julianDayToCE($97cfca9efd59523d$var$COPTIC_EPOCH, jd);\n let era = 'CE';\n if (year <= 0) {\n era = 'BCE';\n year = 1 - year;\n }\n return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(this, era, year, month, day);\n }\n toJulianDay(date) {\n let year = date.year;\n if (date.era === 'BCE') year = 1 - year;\n return $97cfca9efd59523d$var$ceToJulianDay($97cfca9efd59523d$var$COPTIC_EPOCH, year, date.month, date.day);\n }\n getDaysInMonth(date) {\n let year = date.year;\n if (date.era === 'BCE') year = 1 - year;\n return $97cfca9efd59523d$var$getDaysInMonth(year, date.month);\n }\n isInverseEra(date) {\n return date.era === 'BCE';\n }\n balanceDate(date) {\n if (date.year <= 0) {\n date.era = date.era === 'BCE' ? 'CE' : 'BCE';\n date.year = 1 - date.year;\n }\n }\n getEras() {\n return [\n 'BCE',\n 'CE'\n ];\n }\n getYearsInEra(date) {\n // 9999-12-30 gregorian is 9716-02-20 coptic.\n // Round down to 9715 for the last full year.\n // BCE 9999-01-01 coptic is BC 9716-06-15 gregorian.\n return date.era === 'BCE' ? 9999 : 9715;\n }\n constructor(...args){\n super(...args), this.identifier = 'coptic';\n }\n}\n\n\nexport {$97cfca9efd59523d$export$26ba6eab5e20cd7d as EthiopicCalendar, $97cfca9efd59523d$export$d72e0c37005a4914 as EthiopicAmeteAlemCalendar, $97cfca9efd59523d$export$fe6243cbe1a4b7c1 as CopticCalendar};\n//# sourceMappingURL=EthiopicCalendar.mjs.map\n","import {BuddhistCalendar as $63d4eafd4d826996$export$42d20a78301dee44} from \"./calendars/BuddhistCalendar.mjs\";\nimport {CopticCalendar as $97cfca9efd59523d$export$fe6243cbe1a4b7c1, EthiopicAmeteAlemCalendar as $97cfca9efd59523d$export$d72e0c37005a4914, EthiopicCalendar as $97cfca9efd59523d$export$26ba6eab5e20cd7d} from \"./calendars/EthiopicCalendar.mjs\";\nimport {GregorianCalendar as $93635573935797de$export$80ee6245ec4f29ec} from \"./calendars/GregorianCalendar.mjs\";\nimport {HebrewCalendar as $f39495b96f9dbac6$export$ca405048b8fb5af} from \"./calendars/HebrewCalendar.mjs\";\nimport {IndianCalendar as $11fa67a177e45470$export$39f31c639fa15726} from \"./calendars/IndianCalendar.mjs\";\nimport {IslamicCivilCalendar as $fd4f9bc1ba0e49a8$export$2066795aadd37bfc, IslamicTabularCalendar as $fd4f9bc1ba0e49a8$export$37f0887f2f9d22f7, IslamicUmalquraCalendar as $fd4f9bc1ba0e49a8$export$5baab4758c231076} from \"./calendars/IslamicCalendar.mjs\";\nimport {JapaneseCalendar as $34b940b49ba042df$export$b746ab2b60cdffbf} from \"./calendars/JapaneseCalendar.mjs\";\nimport {PersianCalendar as $a0cc0739a536c3b1$export$37fccdbfd14c5939} from \"./calendars/PersianCalendar.mjs\";\nimport {TaiwanCalendar as $c009cc5f64923054$export$65e01080afcb0799} from \"./calendars/TaiwanCalendar.mjs\";\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\n\n\n\n\nfunction $84102b64e5ca022f$export$dd0bbc9b26defe37(name) {\n switch(name){\n case 'buddhist':\n return new (0, $63d4eafd4d826996$export$42d20a78301dee44)();\n case 'ethiopic':\n return new (0, $97cfca9efd59523d$export$26ba6eab5e20cd7d)();\n case 'ethioaa':\n return new (0, $97cfca9efd59523d$export$d72e0c37005a4914)();\n case 'coptic':\n return new (0, $97cfca9efd59523d$export$fe6243cbe1a4b7c1)();\n case 'hebrew':\n return new (0, $f39495b96f9dbac6$export$ca405048b8fb5af)();\n case 'indian':\n return new (0, $11fa67a177e45470$export$39f31c639fa15726)();\n case 'islamic-civil':\n return new (0, $fd4f9bc1ba0e49a8$export$2066795aadd37bfc)();\n case 'islamic-tbla':\n return new (0, $fd4f9bc1ba0e49a8$export$37f0887f2f9d22f7)();\n case 'islamic-umalqura':\n return new (0, $fd4f9bc1ba0e49a8$export$5baab4758c231076)();\n case 'japanese':\n return new (0, $34b940b49ba042df$export$b746ab2b60cdffbf)();\n case 'persian':\n return new (0, $a0cc0739a536c3b1$export$37fccdbfd14c5939)();\n case 'roc':\n return new (0, $c009cc5f64923054$export$65e01080afcb0799)();\n case 'gregory':\n default:\n return new (0, $93635573935797de$export$80ee6245ec4f29ec)();\n }\n}\n\n\nexport {$84102b64e5ca022f$export$dd0bbc9b26defe37 as createCalendar};\n//# sourceMappingURL=createCalendar.mjs.map\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 */ let $12a3c853105e5a70$var$formatterCache = new Map();\nclass $12a3c853105e5a70$export$ad991b66133851cf {\n constructor(locale, options = {}){\n this.formatter = $12a3c853105e5a70$var$getCachedDateFormatter(locale, options);\n this.options = options;\n }\n /** Formats a date as a string according to the locale and format options passed to the constructor. */ format(value) {\n return this.formatter.format(value);\n }\n /** Formats a date to an array of parts such as separators, numbers, punctuation, and more. */ formatToParts(value) {\n return this.formatter.formatToParts(value);\n }\n /** Formats a date range as a string. */ formatRange(start, end) {\n // @ts-ignore\n if (typeof this.formatter.formatRange === 'function') // @ts-ignore\n return this.formatter.formatRange(start, end);\n if (end < start) throw new RangeError('End date must be >= start date');\n // Very basic fallback for old browsers.\n return `${this.formatter.format(start)} \\u{2013} ${this.formatter.format(end)}`;\n }\n /** Formats a date range as an array of parts. */ formatRangeToParts(start, end) {\n // @ts-ignore\n if (typeof this.formatter.formatRangeToParts === 'function') // @ts-ignore\n return this.formatter.formatRangeToParts(start, end);\n if (end < start) throw new RangeError('End date must be >= start date');\n let startParts = this.formatter.formatToParts(start);\n let endParts = this.formatter.formatToParts(end);\n return [\n ...startParts.map((p)=>({\n ...p,\n source: 'startRange'\n })),\n {\n type: 'literal',\n value: \" \\u2013 \",\n source: 'shared'\n },\n ...endParts.map((p)=>({\n ...p,\n source: 'endRange'\n }))\n ];\n }\n /** Returns the resolved formatting options based on the values passed to the constructor. */ resolvedOptions() {\n let resolvedOptions = this.formatter.resolvedOptions();\n if ($12a3c853105e5a70$var$hasBuggyResolvedHourCycle()) {\n if (!this.resolvedHourCycle) this.resolvedHourCycle = $12a3c853105e5a70$var$getResolvedHourCycle(resolvedOptions.locale, this.options);\n resolvedOptions.hourCycle = this.resolvedHourCycle;\n resolvedOptions.hour12 = this.resolvedHourCycle === 'h11' || this.resolvedHourCycle === 'h12';\n }\n // Safari uses a different name for the Ethiopic (Amete Alem) calendar.\n // https://bugs.webkit.org/show_bug.cgi?id=241564\n if (resolvedOptions.calendar === 'ethiopic-amete-alem') resolvedOptions.calendar = 'ethioaa';\n return resolvedOptions;\n }\n}\n// There are multiple bugs involving the hour12 and hourCycle options in various browser engines.\n// - Chrome [1] (and the ECMA 402 spec [2]) resolve hour12: false in English and other locales to h24 (24:00 - 23:59)\n// rather than h23 (00:00 - 23:59). Same can happen with hour12: true in French, which Chrome resolves to h11 (00:00 - 11:59)\n// rather than h12 (12:00 - 11:59).\n// - WebKit returns an incorrect hourCycle resolved option in the French locale due to incorrect parsing of 'h' literal\n// in the resolved pattern. It also formats incorrectly when specifying the hourCycle option for the same reason. [3]\n// [1] https://bugs.chromium.org/p/chromium/issues/detail?id=1045791\n// [2] https://github.com/tc39/ecma402/issues/402\n// [3] https://bugs.webkit.org/show_bug.cgi?id=229313\n// https://github.com/unicode-org/cldr/blob/018b55eff7ceb389c7e3fc44e2f657eae3b10b38/common/supplemental/supplementalData.xml#L4774-L4802\nconst $12a3c853105e5a70$var$hour12Preferences = {\n true: {\n // Only Japanese uses the h11 style for 12 hour time. All others use h12.\n ja: 'h11'\n },\n false: {\n }\n};\nfunction $12a3c853105e5a70$var$getCachedDateFormatter(locale, options = {}) {\n // Work around buggy hour12 behavior in Chrome / ECMA 402 spec by using hourCycle instead.\n // Only apply the workaround if the issue is detected, because the hourCycle option is buggy in Safari.\n if (typeof options.hour12 === 'boolean' && $12a3c853105e5a70$var$hasBuggyHour12Behavior()) {\n options = {\n ...options\n };\n let pref = $12a3c853105e5a70$var$hour12Preferences[String(options.hour12)][locale.split('-')[0]];\n let defaultHourCycle = options.hour12 ? 'h12' : 'h23';\n options.hourCycle = pref ?? defaultHourCycle;\n delete options.hour12;\n }\n let cacheKey = locale + (options ? Object.entries(options).sort((a, b)=>a[0] < b[0] ? -1 : 1).join() : '');\n if ($12a3c853105e5a70$var$formatterCache.has(cacheKey)) return $12a3c853105e5a70$var$formatterCache.get(cacheKey);\n let numberFormatter = new Intl.DateTimeFormat(locale, options);\n $12a3c853105e5a70$var$formatterCache.set(cacheKey, numberFormatter);\n return numberFormatter;\n}\nlet $12a3c853105e5a70$var$_hasBuggyHour12Behavior = null;\nfunction $12a3c853105e5a70$var$hasBuggyHour12Behavior() {\n if ($12a3c853105e5a70$var$_hasBuggyHour12Behavior == null) $12a3c853105e5a70$var$_hasBuggyHour12Behavior = new Intl.DateTimeFormat('en-US', {\n hour: 'numeric',\n hour12: false\n }).format(new Date(2020, 2, 3, 0)) === '24';\n return $12a3c853105e5a70$var$_hasBuggyHour12Behavior;\n}\nlet $12a3c853105e5a70$var$_hasBuggyResolvedHourCycle = null;\nfunction $12a3c853105e5a70$var$hasBuggyResolvedHourCycle() {\n if ($12a3c853105e5a70$var$_hasBuggyResolvedHourCycle == null) $12a3c853105e5a70$var$_hasBuggyResolvedHourCycle = new Intl.DateTimeFormat('fr', {\n hour: 'numeric',\n hour12: false\n }).resolvedOptions().hourCycle === 'h12';\n return $12a3c853105e5a70$var$_hasBuggyResolvedHourCycle;\n}\nfunction $12a3c853105e5a70$var$getResolvedHourCycle(locale, options) {\n if (!options.timeStyle && !options.hour) return undefined;\n // Work around buggy results in resolved hourCycle and hour12 options in WebKit.\n // Format the minimum possible hour and maximum possible hour in a day and parse the results.\n locale = locale.replace(/(-u-)?-nu-[a-zA-Z0-9]+/, '');\n locale += (locale.includes('-u-') ? '' : '-u') + '-nu-latn';\n let formatter = $12a3c853105e5a70$var$getCachedDateFormatter(locale, {\n ...options,\n timeZone: undefined // use local timezone\n });\n let min = parseInt(formatter.formatToParts(new Date(2020, 2, 3, 0)).find((p)=>p.type === 'hour').value, 10);\n let max = parseInt(formatter.formatToParts(new Date(2020, 2, 3, 23)).find((p)=>p.type === 'hour').value, 10);\n if (min === 0 && max === 23) return 'h23';\n if (min === 24 && max === 23) return 'h24';\n if (min === 0 && max === 11) return 'h11';\n if (min === 12 && max === 11) return 'h12';\n throw new Error('Unexpected hour cycle result');\n}\n\n\nexport {$12a3c853105e5a70$export$ad991b66133851cf as DateFormatter};\n//# sourceMappingURL=DateFormatter.mjs.map\n","import {useDeepMemo as $9c268ab73a5d55e5$export$722debc0e56fea39} from \"../utils/useDeepMemo.mjs\";\nimport {useLocale as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7} from \"./I18nProvider.mjs\";\nimport {DateFormatter as $guoDu$DateFormatter} from \"@internationalized/date\";\nimport {useMemo as $guoDu$useMemo} from \"react\";\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\nfunction $60f33508b4cd9d3b$export$85fd5fdf27bacc79(options) {\n // Reuse last options object if it is shallowly equal, which allows the useMemo result to also be reused.\n options = (0, $9c268ab73a5d55e5$export$722debc0e56fea39)(options ?? {}, $60f33508b4cd9d3b$var$isEqual);\n let { locale: locale } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n return (0, $guoDu$useMemo)(()=>new (0, $guoDu$DateFormatter)(locale, options), [\n locale,\n options\n ]);\n}\nfunction $60f33508b4cd9d3b$var$isEqual(a, b) {\n if (a === b) return true;\n let aKeys = Object.keys(a);\n let bKeys = Object.keys(b);\n if (aKeys.length !== bKeys.length) return false;\n for (let key of aKeys){\n if (b[key] !== a[key]) return false;\n }\n return true;\n}\n\n\nexport {$60f33508b4cd9d3b$export$85fd5fdf27bacc79 as useDateFormatter};\n//# sourceMappingURL=useDateFormatter.mjs.map\n","import $4SBhA$intlStringsmjs from \"./intlStrings.mjs\";\nimport {useDateFormatter as $60f33508b4cd9d3b$export$85fd5fdf27bacc79} from \"../i18n/useDateFormatter.mjs\";\nimport {useLocalizedStringFormatter as $cf2482eff2eeeec2$export$f12b703ca79dfbb1} from \"../i18n/useLocalizedStringFormatter.mjs\";\nimport {isSameDay as $4SBhA$isSameDay, startOfMonth as $4SBhA$startOfMonth, endOfMonth as $4SBhA$endOfMonth} from \"@internationalized/date\";\nimport {useMemo as $4SBhA$useMemo} from \"react\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\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\nconst $9bac9bf03b87f160$export$653eddfc964b0f8a = new WeakMap();\nfunction $9bac9bf03b87f160$export$134cbb7fb09a9522(date) {\n return date?.calendar.identifier === 'gregory' && date.era === 'BC' ? 'short' : undefined;\n}\nfunction $9bac9bf03b87f160$export$b6df97c887c38e1a(state) {\n let stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($4SBhA$intlStringsmjs))), '@react-aria/calendar');\n let start, end;\n if ('highlightedRange' in state) ({ start: start, end: end } = state.highlightedRange || {});\n else start = end = state.value ?? undefined;\n let dateFormatter = (0, $60f33508b4cd9d3b$export$85fd5fdf27bacc79)({\n weekday: 'long',\n month: 'long',\n year: 'numeric',\n day: 'numeric',\n era: $9bac9bf03b87f160$export$134cbb7fb09a9522(start) || $9bac9bf03b87f160$export$134cbb7fb09a9522(end),\n timeZone: state.timeZone\n });\n let anchorDate = 'anchorDate' in state ? state.anchorDate : null;\n return (0, $4SBhA$useMemo)(()=>{\n // No message if currently selecting a range, or there is nothing highlighted.\n if (!anchorDate && start && end) {\n // Use a single date message if the start and end dates are the same day,\n // otherwise include both dates.\n if ((0, $4SBhA$isSameDay)(start, end)) {\n let date = dateFormatter.format(start.toDate(state.timeZone));\n return stringFormatter.format('selectedDateDescription', {\n date: date\n });\n } else {\n let dateRange = $9bac9bf03b87f160$var$formatRange(dateFormatter, stringFormatter, start, end, state.timeZone);\n return stringFormatter.format('selectedRangeDescription', {\n dateRange: dateRange\n });\n }\n }\n return '';\n }, [\n start,\n end,\n anchorDate,\n state.timeZone,\n stringFormatter,\n dateFormatter\n ]);\n}\nfunction $9bac9bf03b87f160$export$31afe65d91ef6e8(startDate, endDate, timeZone, isAria) {\n let stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($4SBhA$intlStringsmjs))), '@react-aria/calendar');\n let era = $9bac9bf03b87f160$export$134cbb7fb09a9522(startDate) || $9bac9bf03b87f160$export$134cbb7fb09a9522(endDate);\n let monthFormatter = (0, $60f33508b4cd9d3b$export$85fd5fdf27bacc79)({\n month: 'long',\n year: 'numeric',\n era: era,\n calendar: startDate.calendar.identifier,\n timeZone: timeZone\n });\n let dateFormatter = (0, $60f33508b4cd9d3b$export$85fd5fdf27bacc79)({\n month: 'long',\n year: 'numeric',\n day: 'numeric',\n era: era,\n calendar: startDate.calendar.identifier,\n timeZone: timeZone\n });\n return (0, $4SBhA$useMemo)(()=>{\n // Special case for month granularity. Format as a single month if only a\n // single month is visible, otherwise format as a range of months.\n if ((0, $4SBhA$isSameDay)(startDate, (0, $4SBhA$startOfMonth)(startDate))) {\n let startMonth = startDate;\n let endMonth = endDate;\n if (startDate.calendar.getFormattableMonth) startMonth = startDate.calendar.getFormattableMonth(startDate);\n if (endDate.calendar.getFormattableMonth) endMonth = endDate.calendar.getFormattableMonth(endDate);\n if ((0, $4SBhA$isSameDay)(endDate, (0, $4SBhA$endOfMonth)(startDate))) return monthFormatter.format(startMonth.toDate(timeZone));\n else if ((0, $4SBhA$isSameDay)(endDate, (0, $4SBhA$endOfMonth)(endDate))) return isAria ? $9bac9bf03b87f160$var$formatRange(monthFormatter, stringFormatter, startMonth, endMonth, timeZone) : monthFormatter.formatRange(startMonth.toDate(timeZone), endMonth.toDate(timeZone));\n }\n return isAria ? $9bac9bf03b87f160$var$formatRange(dateFormatter, stringFormatter, startDate, endDate, timeZone) : dateFormatter.formatRange(startDate.toDate(timeZone), endDate.toDate(timeZone));\n }, [\n startDate,\n endDate,\n monthFormatter,\n dateFormatter,\n stringFormatter,\n timeZone,\n isAria\n ]);\n}\nfunction $9bac9bf03b87f160$var$formatRange(dateFormatter, stringFormatter, start, end, timeZone) {\n let parts = dateFormatter.formatRangeToParts(start.toDate(timeZone), end.toDate(timeZone));\n // Find the separator between the start and end date. This is determined\n // by finding the last shared literal before the end range.\n let separatorIndex = -1;\n for(let i = 0; i < parts.length; i++){\n let part = parts[i];\n if (part.source === 'shared' && part.type === 'literal') separatorIndex = i;\n else if (part.source === 'endRange') break;\n }\n // Now we can combine the parts into start and end strings.\n let startValue = '';\n let endValue = '';\n for(let i = 0; i < parts.length; i++){\n if (i < separatorIndex) startValue += parts[i].value;\n else if (i > separatorIndex) endValue += parts[i].value;\n }\n return stringFormatter.format('dateRange', {\n startDate: startValue,\n endDate: endValue\n });\n}\n\n\nexport {$9bac9bf03b87f160$export$653eddfc964b0f8a as hookData, $9bac9bf03b87f160$export$134cbb7fb09a9522 as getEraFormat, $9bac9bf03b87f160$export$b6df97c887c38e1a as useSelectedDateDescription, $9bac9bf03b87f160$export$31afe65d91ef6e8 as useVisibleRangeDescription};\n//# sourceMappingURL=utils.mjs.map\n","import {useEffectEvent as $fe16bffc7a557bf0$export$7f54fc3180508a52} from \"./useEffectEvent.mjs\";\nimport {useRef as $iuQV4$useRef, useEffect as $iuQV4$useEffect} from \"react\";\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\nfunction $3c71b1595a147f24$export$496315a1608d9602(cb, dependencies) {\n const isInitialMount = (0, $iuQV4$useRef)(true);\n const lastDeps = (0, $iuQV4$useRef)(null);\n let cbEvent = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)(cb);\n (0, $iuQV4$useEffect)(()=>{\n isInitialMount.current = true;\n return ()=>{\n isInitialMount.current = false;\n };\n }, []);\n (0, $iuQV4$useEffect)(()=>{\n let prevDeps = lastDeps.current;\n if (isInitialMount.current) isInitialMount.current = false;\n else if (!prevDeps || dependencies.some((dep, i)=>!Object.is(dep, prevDeps[i]))) cbEvent();\n lastDeps.current = dependencies;\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, dependencies);\n}\n\n\nexport {$3c71b1595a147f24$export$496315a1608d9602 as useUpdateEffect};\n//# sourceMappingURL=useUpdateEffect.mjs.map\n","import {announce as $a46cf152bb926da5$export$a9b970dcc4ae71a9} from \"../live-announcer/LiveAnnouncer.mjs\";\nimport {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\nimport {hookData as $9bac9bf03b87f160$export$653eddfc964b0f8a, useSelectedDateDescription as $9bac9bf03b87f160$export$b6df97c887c38e1a, useVisibleRangeDescription as $9bac9bf03b87f160$export$31afe65d91ef6e8} from \"./utils.mjs\";\nimport $aPiNG$intlStringsmjs from \"./intlStrings.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useLabels as $e8ac3c3f5d4bae7f$export$d6875122194c7b44} from \"../utils/useLabels.mjs\";\nimport {useLocalizedStringFormatter as $cf2482eff2eeeec2$export$f12b703ca79dfbb1} from \"../i18n/useLocalizedStringFormatter.mjs\";\nimport {useSlotId as $390e54f620492c70$export$b4cc09c592e8fdb8} from \"../utils/useId.mjs\";\nimport {useUpdateEffect as $3c71b1595a147f24$export$496315a1608d9602} from \"../utils/useUpdateEffect.mjs\";\nimport {useState as $aPiNG$useState} from \"react\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\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\n\n\n\n\n\nfunction $4ca33167bdccdd26$export$d652b3ea2d672d5b(props, state) {\n let stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($aPiNG$intlStringsmjs))), '@react-aria/calendar');\n let domProps = (0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(props);\n let title = (0, $9bac9bf03b87f160$export$31afe65d91ef6e8)(state.visibleRange.start, state.visibleRange.end, state.timeZone, false);\n let visibleRangeDescription = (0, $9bac9bf03b87f160$export$31afe65d91ef6e8)(state.visibleRange.start, state.visibleRange.end, state.timeZone, true);\n // Announce when the visible date range changes\n (0, $3c71b1595a147f24$export$496315a1608d9602)(()=>{\n // only when pressing the Previous or Next button\n if (!state.isFocused) (0, $a46cf152bb926da5$export$a9b970dcc4ae71a9)(visibleRangeDescription);\n }, [\n visibleRangeDescription\n ]);\n // Announce when the selected value changes\n let selectedDateDescription = (0, $9bac9bf03b87f160$export$b6df97c887c38e1a)(state);\n (0, $3c71b1595a147f24$export$496315a1608d9602)(()=>{\n if (selectedDateDescription) (0, $a46cf152bb926da5$export$a9b970dcc4ae71a9)(selectedDateDescription, 'polite', 4000);\n // handle an update to the caption that describes the currently selected range, to announce the new value\n }, [\n selectedDateDescription\n ]);\n let errorMessageId = (0, $390e54f620492c70$export$b4cc09c592e8fdb8)([\n Boolean(props.errorMessage),\n props.isInvalid,\n props.validationState\n ]);\n // Pass the label to the child grid elements.\n (0, $9bac9bf03b87f160$export$653eddfc964b0f8a).set(state, {\n ariaLabel: props['aria-label'],\n ariaLabelledBy: props['aria-labelledby'],\n errorMessageId: errorMessageId,\n selectedDateDescription: selectedDateDescription\n });\n // If the next or previous buttons become disabled while they are focused, move focus to the calendar body.\n let [nextFocused, setNextFocused] = (0, $aPiNG$useState)(false);\n let nextDisabled = props.isDisabled || state.isNextVisibleRangeInvalid();\n if (nextDisabled && nextFocused) {\n setNextFocused(false);\n state.setFocused(true);\n }\n let [previousFocused, setPreviousFocused] = (0, $aPiNG$useState)(false);\n let previousDisabled = props.isDisabled || state.isPreviousVisibleRangeInvalid();\n if (previousDisabled && previousFocused) {\n setPreviousFocused(false);\n state.setFocused(true);\n }\n let labelProps = (0, $e8ac3c3f5d4bae7f$export$d6875122194c7b44)({\n id: props['id'],\n 'aria-label': [\n props['aria-label'],\n visibleRangeDescription\n ].filter(Boolean).join(', '),\n 'aria-labelledby': props['aria-labelledby']\n });\n return {\n calendarProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(domProps, labelProps, {\n role: 'application',\n 'aria-details': props['aria-details'] || undefined,\n 'aria-describedby': props['aria-describedby'] || undefined\n }),\n nextButtonProps: {\n onPress: ()=>state.focusNextPage(),\n 'aria-label': stringFormatter.format('next'),\n isDisabled: nextDisabled,\n onFocusChange: setNextFocused\n },\n prevButtonProps: {\n onPress: ()=>state.focusPreviousPage(),\n 'aria-label': stringFormatter.format('previous'),\n isDisabled: previousDisabled,\n onFocusChange: setPreviousFocused\n },\n errorMessageProps: {\n id: errorMessageId\n },\n title: title\n };\n}\n\n\nexport {$4ca33167bdccdd26$export$d652b3ea2d672d5b as useCalendarBase};\n//# sourceMappingURL=useCalendarBase.mjs.map\n","import {useCalendarBase as $4ca33167bdccdd26$export$d652b3ea2d672d5b} from \"./useCalendarBase.mjs\";\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 $a1efc3efb5426bf7$export$3ee915f8151bd4f1(props, state) {\n return (0, $4ca33167bdccdd26$export$d652b3ea2d672d5b)(props, state);\n}\n\n\nexport {$a1efc3efb5426bf7$export$3ee915f8151bd4f1 as useCalendar};\n//# sourceMappingURL=useCalendar.mjs.map\n","import {hookData as $9bac9bf03b87f160$export$653eddfc964b0f8a, useVisibleRangeDescription as $9bac9bf03b87f160$export$31afe65d91ef6e8} from \"./utils.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useDateFormatter as $60f33508b4cd9d3b$export$85fd5fdf27bacc79} from \"../i18n/useDateFormatter.mjs\";\nimport {useLabels as $e8ac3c3f5d4bae7f$export$d6875122194c7b44} from \"../utils/useLabels.mjs\";\nimport {useLocale as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7} from \"../i18n/I18nProvider.mjs\";\nimport {startOfWeek as $aLm0I$startOfWeek, today as $aLm0I$today, getWeeksInMonth as $aLm0I$getWeeksInMonth} from \"@internationalized/date\";\nimport {useMemo as $aLm0I$useMemo} from \"react\";\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\n\n\nfunction $2d54ee2ec11ddab8$export$cb95147730a423f5(props, state) {\n let { startDate: startDate = state.visibleRange.start, endDate: endDate = state.visibleRange.end, firstDayOfWeek: firstDayOfWeek } = props;\n let { direction: direction } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n let onKeyDown = (e)=>{\n switch(e.key){\n case 'Enter':\n case ' ':\n e.preventDefault();\n state.selectFocusedDate();\n break;\n case 'PageUp':\n e.preventDefault();\n e.stopPropagation();\n state.focusPreviousSection(e.shiftKey);\n break;\n case 'PageDown':\n e.preventDefault();\n e.stopPropagation();\n state.focusNextSection(e.shiftKey);\n break;\n case 'End':\n e.preventDefault();\n e.stopPropagation();\n state.focusSectionEnd();\n break;\n case 'Home':\n e.preventDefault();\n e.stopPropagation();\n state.focusSectionStart();\n break;\n case 'ArrowLeft':\n e.preventDefault();\n e.stopPropagation();\n if (direction === 'rtl') state.focusNextDay();\n else state.focusPreviousDay();\n break;\n case 'ArrowUp':\n e.preventDefault();\n e.stopPropagation();\n state.focusPreviousRow();\n break;\n case 'ArrowRight':\n e.preventDefault();\n e.stopPropagation();\n if (direction === 'rtl') state.focusPreviousDay();\n else state.focusNextDay();\n break;\n case 'ArrowDown':\n e.preventDefault();\n e.stopPropagation();\n state.focusNextRow();\n break;\n case 'Escape':\n // Cancel the selection.\n if ('setAnchorDate' in state) {\n e.preventDefault();\n state.setAnchorDate(null);\n }\n break;\n }\n };\n let visibleRangeDescription = (0, $9bac9bf03b87f160$export$31afe65d91ef6e8)(startDate, endDate, state.timeZone, true);\n let { ariaLabel: ariaLabel, ariaLabelledBy: ariaLabelledBy } = (0, $9bac9bf03b87f160$export$653eddfc964b0f8a).get(state);\n let labelProps = (0, $e8ac3c3f5d4bae7f$export$d6875122194c7b44)({\n 'aria-label': [\n ariaLabel,\n visibleRangeDescription\n ].filter(Boolean).join(', '),\n 'aria-labelledby': ariaLabelledBy\n });\n let dayFormatter = (0, $60f33508b4cd9d3b$export$85fd5fdf27bacc79)({\n weekday: props.weekdayStyle || 'narrow',\n timeZone: state.timeZone\n });\n let { locale: locale } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n let weekDays = (0, $aLm0I$useMemo)(()=>{\n let weekStart = (0, $aLm0I$startOfWeek)((0, $aLm0I$today)(state.timeZone), locale, firstDayOfWeek);\n return [\n ...new Array(7).keys()\n ].map((index)=>{\n let date = weekStart.add({\n days: index\n });\n let dateDay = date.toDate(state.timeZone);\n return dayFormatter.format(dateDay);\n });\n }, [\n locale,\n state.timeZone,\n dayFormatter,\n firstDayOfWeek\n ]);\n let weeksInMonth = (0, $aLm0I$getWeeksInMonth)(startDate, locale, firstDayOfWeek);\n return {\n gridProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(labelProps, {\n role: 'grid',\n 'aria-readonly': state.isReadOnly || undefined,\n 'aria-disabled': state.isDisabled || undefined,\n 'aria-multiselectable': 'highlightedRange' in state || undefined,\n onKeyDown: onKeyDown,\n onFocus: ()=>state.setFocused(true),\n onBlur: ()=>state.setFocused(false)\n }),\n headerProps: {\n // Column headers are hidden to screen readers to make navigating with a touch screen reader easier.\n // The day names are already included in the label of each cell, so there's no need to announce them twice.\n 'aria-hidden': true\n },\n weekDays: weekDays,\n weeksInMonth: weeksInMonth\n };\n}\n\n\nexport {$2d54ee2ec11ddab8$export$cb95147730a423f5 as useCalendarGrid};\n//# sourceMappingURL=useCalendarGrid.mjs.map\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 */ function $901761b40e390936$export$2bb74740c4e19def(node, checkForOverflow) {\n if (!node) return false;\n let style = window.getComputedStyle(node);\n let root = document.scrollingElement || document.documentElement;\n let isScrollable = /(auto|scroll)/.test(style.overflow + style.overflowX + style.overflowY);\n // Root element has `visible` overflow by default, but is scrollable nonetheless.\n if (node === root && style.overflow !== 'hidden') isScrollable = true;\n if (isScrollable && checkForOverflow) isScrollable = node.scrollHeight !== node.clientHeight || node.scrollWidth !== node.clientWidth;\n return isScrollable;\n}\n\n\nexport {$901761b40e390936$export$2bb74740c4e19def as isScrollable};\n//# sourceMappingURL=isScrollable.mjs.map\n","import {isScrollable as $901761b40e390936$export$2bb74740c4e19def} from \"./isScrollable.mjs\";\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 $3578607fe3d4b096$export$cfa2225e87938781(node, checkForOverflow) {\n let scrollableNode = node;\n if ((0, $901761b40e390936$export$2bb74740c4e19def)(scrollableNode, checkForOverflow)) scrollableNode = scrollableNode.parentElement;\n while(scrollableNode && !(0, $901761b40e390936$export$2bb74740c4e19def)(scrollableNode, checkForOverflow))scrollableNode = scrollableNode.parentElement;\n return scrollableNode || document.scrollingElement || document.documentElement;\n}\n\n\nexport {$3578607fe3d4b096$export$cfa2225e87938781 as getScrollParent};\n//# sourceMappingURL=getScrollParent.mjs.map\n","import {isScrollable as $901761b40e390936$export$2bb74740c4e19def} from \"./isScrollable.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 */ \nfunction $76d97191f0f90600$export$94ed1c92c7beeb22(node, checkForOverflow) {\n let parentElements = [];\n let root = document.scrollingElement || document.documentElement;\n do {\n if ((0, $901761b40e390936$export$2bb74740c4e19def)(node, checkForOverflow)) parentElements.push(node);\n node = node.parentElement;\n }while (node && node !== root);\n return parentElements;\n}\n\n\nexport {$76d97191f0f90600$export$94ed1c92c7beeb22 as getScrollParents};\n//# sourceMappingURL=getScrollParents.mjs.map\n","import {getScrollParents as $76d97191f0f90600$export$94ed1c92c7beeb22} from \"./getScrollParents.mjs\";\nimport {isIOS as $2add3ce32c6007eb$export$fedb369cb70207f1} from \"./platform.mjs\";\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\nfunction $51a3e22a5186a962$export$53a0910f038337bd(scrollView, element, opts = {}) {\n let { block: block = 'nearest', inline: inline = 'nearest' } = opts;\n if (scrollView === element) return;\n let y = scrollView.scrollTop;\n let x = scrollView.scrollLeft;\n let target = element.getBoundingClientRect();\n let view = scrollView.getBoundingClientRect();\n let itemStyle = window.getComputedStyle(element);\n let viewStyle = window.getComputedStyle(scrollView);\n let root = document.scrollingElement || document.documentElement;\n let viewTop = scrollView === root ? 0 : view.top;\n let viewBottom = scrollView === root ? scrollView.clientHeight : view.bottom;\n let viewLeft = scrollView === root ? 0 : view.left;\n let viewRight = scrollView === root ? scrollView.clientWidth : view.right;\n let scrollMarginTop = parseInt(itemStyle.scrollMarginTop, 10) || 0;\n let scrollMarginBottom = parseInt(itemStyle.scrollMarginBottom, 10) || 0;\n let scrollMarginLeft = parseInt(itemStyle.scrollMarginLeft, 10) || 0;\n let scrollMarginRight = parseInt(itemStyle.scrollMarginRight, 10) || 0;\n let scrollPaddingTop = parseInt(viewStyle.scrollPaddingTop, 10) || 0;\n let scrollPaddingBottom = parseInt(viewStyle.scrollPaddingBottom, 10) || 0;\n let scrollPaddingLeft = parseInt(viewStyle.scrollPaddingLeft, 10) || 0;\n let scrollPaddingRight = parseInt(viewStyle.scrollPaddingRight, 10) || 0;\n let borderTopWidth = parseInt(viewStyle.borderTopWidth, 10) || 0;\n let borderBottomWidth = parseInt(viewStyle.borderBottomWidth, 10) || 0;\n let borderLeftWidth = parseInt(viewStyle.borderLeftWidth, 10) || 0;\n let borderRightWidth = parseInt(viewStyle.borderRightWidth, 10) || 0;\n let scrollAreaTop = target.top - scrollMarginTop;\n let scrollAreaBottom = target.bottom + scrollMarginBottom;\n let scrollAreaLeft = target.left - scrollMarginLeft;\n let scrollAreaRight = target.right + scrollMarginRight;\n let scrollBarOffsetX = scrollView === root ? 0 : borderLeftWidth + borderRightWidth;\n let scrollBarOffsetY = scrollView === root ? 0 : borderTopWidth + borderBottomWidth;\n let scrollBarWidth = scrollView.offsetWidth - scrollView.clientWidth - scrollBarOffsetX;\n let scrollBarHeight = scrollView.offsetHeight - scrollView.clientHeight - scrollBarOffsetY;\n let scrollPortTop = viewTop + borderTopWidth + scrollPaddingTop;\n let scrollPortBottom = viewBottom - borderBottomWidth - scrollPaddingBottom - scrollBarHeight;\n let scrollPortLeft = viewLeft + borderLeftWidth + scrollPaddingLeft;\n let scrollPortRight = viewRight - borderRightWidth - scrollPaddingRight;\n // IOS always positions the scrollbar on the right ¯\\_(ツ)_/¯\n if (viewStyle.direction === 'rtl' && !(0, $2add3ce32c6007eb$export$fedb369cb70207f1)()) scrollPortLeft += scrollBarWidth;\n else scrollPortRight -= scrollBarWidth;\n let shouldScrollBlock = scrollAreaTop < scrollPortTop || scrollAreaBottom > scrollPortBottom;\n let shouldScrollInline = scrollAreaLeft < scrollPortLeft || scrollAreaRight > scrollPortRight;\n if (shouldScrollBlock && block === 'start') y += scrollAreaTop - scrollPortTop;\n else if (shouldScrollBlock && block === 'center') y += (scrollAreaTop + scrollAreaBottom) / 2 - (scrollPortTop + scrollPortBottom) / 2;\n else if (shouldScrollBlock && block === 'end') y += scrollAreaBottom - scrollPortBottom;\n else if (shouldScrollBlock && block === 'nearest') {\n let start = scrollAreaTop - scrollPortTop;\n let end = scrollAreaBottom - scrollPortBottom;\n y += Math.abs(start) <= Math.abs(end) ? start : end;\n }\n if (shouldScrollInline && inline === 'start') x += scrollAreaLeft - scrollPortLeft;\n else if (shouldScrollInline && inline === 'center') x += (scrollAreaLeft + scrollAreaRight) / 2 - (scrollPortLeft + scrollPortRight) / 2;\n else if (shouldScrollInline && inline === 'end') x += scrollAreaRight - scrollPortRight;\n else if (shouldScrollInline && inline === 'nearest') {\n let start = scrollAreaLeft - scrollPortLeft;\n let end = scrollAreaRight - scrollPortRight;\n x += Math.abs(start) <= Math.abs(end) ? start : end;\n }\n if (process.env.NODE_ENV === 'test') {\n scrollView.scrollLeft = x;\n scrollView.scrollTop = y;\n return;\n }\n scrollView.scrollTo({\n left: x,\n top: y\n });\n}\nfunction $51a3e22a5186a962$export$c826860796309d1b(targetElement, opts = {}) {\n let { containingElement: containingElement } = opts;\n if (targetElement && targetElement.isConnected) {\n let root = document.scrollingElement || document.documentElement;\n let isScrollPrevented = window.getComputedStyle(root).overflow === 'hidden';\n if (!isScrollPrevented) {\n let { left: originalLeft, top: originalTop } = targetElement.getBoundingClientRect();\n // use scrollIntoView({block: 'nearest'}) instead of .focus to check if the element is fully in view or not since .focus()\n // won't cause a scroll if the element is already focused and doesn't behave consistently when an element is partially out of view horizontally vs vertically\n targetElement?.scrollIntoView?.({\n block: 'nearest'\n });\n let { left: newLeft, top: newTop } = targetElement.getBoundingClientRect();\n // Account for sub pixel differences from rounding\n if (Math.abs(originalLeft - newLeft) > 1 || Math.abs(originalTop - newTop) > 1) {\n containingElement?.scrollIntoView?.({\n block: 'center',\n inline: 'center'\n });\n targetElement.scrollIntoView?.({\n block: 'nearest'\n });\n }\n } else {\n let { left: originalLeft, top: originalTop } = targetElement.getBoundingClientRect();\n // If scrolling is prevented, we don't want to scroll the body since it might move the overlay partially offscreen and the user can't scroll it back into view.\n let scrollParents = (0, $76d97191f0f90600$export$94ed1c92c7beeb22)(targetElement, true);\n for (let scrollParent of scrollParents)$51a3e22a5186a962$export$53a0910f038337bd(scrollParent, targetElement);\n let { left: newLeft, top: newTop } = targetElement.getBoundingClientRect();\n // Account for sub pixel differences from rounding\n if (Math.abs(originalLeft - newLeft) > 1 || Math.abs(originalTop - newTop) > 1) {\n scrollParents = containingElement ? (0, $76d97191f0f90600$export$94ed1c92c7beeb22)(containingElement, true) : [];\n for (let scrollParent of scrollParents)$51a3e22a5186a962$export$53a0910f038337bd(scrollParent, containingElement, {\n block: 'center',\n inline: 'center'\n });\n }\n }\n }\n}\n\n\nexport {$51a3e22a5186a962$export$53a0910f038337bd as scrollIntoView, $51a3e22a5186a962$export$c826860796309d1b as scrollIntoViewport};\n//# sourceMappingURL=scrollIntoView.mjs.map\n","import {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useState as $4UXHm$useState} from \"react\";\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\nlet $121970af65029459$var$descriptionId = 0;\nconst $121970af65029459$var$descriptionNodes = new Map();\nfunction $121970af65029459$export$f8aeda7b10753fa1(description) {\n let [id, setId] = (0, $4UXHm$useState)();\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n if (!description) return;\n let desc = $121970af65029459$var$descriptionNodes.get(description);\n if (!desc) {\n let id = `react-aria-description-${$121970af65029459$var$descriptionId++}`;\n setId(id);\n let node = document.createElement('div');\n node.id = id;\n node.style.display = 'none';\n node.textContent = description;\n document.body.appendChild(node);\n desc = {\n refCount: 0,\n element: node\n };\n $121970af65029459$var$descriptionNodes.set(description, desc);\n } else setId(desc.element.id);\n desc.refCount++;\n return ()=>{\n if (desc && --desc.refCount === 0) {\n desc.element.remove();\n $121970af65029459$var$descriptionNodes.delete(description);\n }\n };\n }, [\n description\n ]);\n return {\n 'aria-describedby': description ? id : undefined\n };\n}\n\n\nexport {$121970af65029459$export$f8aeda7b10753fa1 as useDescription};\n//# sourceMappingURL=useDescription.mjs.map\n","import {focusWithoutScrolling as $1969ac565cfec8d0$export$de79e2c695e052f3} from \"../utils/focusWithoutScrolling.mjs\";\nimport {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576, getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getEraFormat as $9bac9bf03b87f160$export$134cbb7fb09a9522, hookData as $9bac9bf03b87f160$export$653eddfc964b0f8a} from \"./utils.mjs\";\nimport {getInteractionModality as $8f5a2122b0992be3$export$630ff653c5ada6a9} from \"../interactions/useFocusVisible.mjs\";\nimport {getScrollParent as $3578607fe3d4b096$export$cfa2225e87938781} from \"../utils/getScrollParent.mjs\";\nimport $8nrHP$intlStringsmjs from \"./intlStrings.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {scrollIntoViewport as $51a3e22a5186a962$export$c826860796309d1b} from \"../utils/scrollIntoView.mjs\";\nimport {useDateFormatter as $60f33508b4cd9d3b$export$85fd5fdf27bacc79} from \"../i18n/useDateFormatter.mjs\";\nimport {useDeepMemo as $9c268ab73a5d55e5$export$722debc0e56fea39} from \"../utils/useDeepMemo.mjs\";\nimport {useDescription as $121970af65029459$export$f8aeda7b10753fa1} from \"../utils/useDescription.mjs\";\nimport {useLocalizedStringFormatter as $cf2482eff2eeeec2$export$f12b703ca79dfbb1} from \"../i18n/useLocalizedStringFormatter.mjs\";\nimport {usePress as $d27d541f9569d26d$export$45712eceda6fad21} from \"../interactions/usePress.mjs\";\nimport {isSameDay as $8nrHP$isSameDay, isEqualDay as $8nrHP$isEqualDay, isToday as $8nrHP$isToday} from \"@internationalized/date\";\nimport {useMemo as $8nrHP$useMemo, useRef as $8nrHP$useRef, useEffect as $8nrHP$useEffect} from \"react\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\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\n\n\n\n\n\n\n\n\n\n\nfunction $be61a22f9aa88c7c$export$136073280381448e(props, state, ref) {\n let { date: date, isDisabled: isDisabled } = props;\n let { errorMessageId: errorMessageId, selectedDateDescription: selectedDateDescription } = (0, $9bac9bf03b87f160$export$653eddfc964b0f8a).get(state);\n let stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($8nrHP$intlStringsmjs))), '@react-aria/calendar');\n let dateFormatter = (0, $60f33508b4cd9d3b$export$85fd5fdf27bacc79)({\n weekday: 'long',\n day: 'numeric',\n month: 'long',\n year: 'numeric',\n era: (0, $9bac9bf03b87f160$export$134cbb7fb09a9522)(date),\n timeZone: state.timeZone\n });\n let isSelected = state.isSelected(date);\n let isFocused = state.isCellFocused(date) && !props.isOutsideMonth;\n isDisabled = isDisabled || state.isCellDisabled(date);\n let isUnavailable = state.isCellUnavailable(date);\n let isSelectable = !isDisabled && !isUnavailable;\n let isInvalid = state.isValueInvalid && Boolean('highlightedRange' in state ? !state.anchorDate && state.highlightedRange && date.compare(state.highlightedRange.start) >= 0 && date.compare(state.highlightedRange.end) <= 0 : state.value && (0, $8nrHP$isSameDay)(state.value, date));\n if (isInvalid) isSelected = true;\n // For performance, reuse the same date object as before if the new date prop is the same.\n // This allows subsequent useMemo results to be reused.\n date = (0, $9c268ab73a5d55e5$export$722debc0e56fea39)(date, (0, $8nrHP$isEqualDay));\n let nativeDate = (0, $8nrHP$useMemo)(()=>date.toDate(state.timeZone), [\n date,\n state.timeZone\n ]);\n // aria-label should be localize Day of week, Month, Day and Year without Time.\n let isDateToday = (0, $8nrHP$isToday)(date, state.timeZone);\n let label = (0, $8nrHP$useMemo)(()=>{\n let label = '';\n // If this is a range calendar, add a description of the full selected range\n // to the first and last selected date.\n if ('highlightedRange' in state && state.value && !state.anchorDate && ((0, $8nrHP$isSameDay)(date, state.value.start) || (0, $8nrHP$isSameDay)(date, state.value.end))) label = selectedDateDescription + ', ';\n label += dateFormatter.format(nativeDate);\n if (isDateToday) // If date is today, set appropriate string depending on selected state:\n label = stringFormatter.format(isSelected ? 'todayDateSelected' : 'todayDate', {\n date: label\n });\n else if (isSelected) // If date is selected but not today:\n label = stringFormatter.format('dateSelected', {\n date: label\n });\n if (state.minValue && (0, $8nrHP$isSameDay)(date, state.minValue)) label += ', ' + stringFormatter.format('minimumDate');\n else if (state.maxValue && (0, $8nrHP$isSameDay)(date, state.maxValue)) label += ', ' + stringFormatter.format('maximumDate');\n return label;\n }, [\n dateFormatter,\n nativeDate,\n stringFormatter,\n isSelected,\n isDateToday,\n date,\n state,\n selectedDateDescription\n ]);\n // When a cell is focused and this is a range calendar, add a prompt to help\n // screenreader users know that they are in a range selection mode.\n let rangeSelectionPrompt = '';\n if ('anchorDate' in state && isFocused && !state.isReadOnly && isSelectable) {\n // If selection has started add \"click to finish selecting range\"\n if (state.anchorDate) rangeSelectionPrompt = stringFormatter.format('finishRangeSelectionPrompt');\n else rangeSelectionPrompt = stringFormatter.format('startRangeSelectionPrompt');\n }\n let descriptionProps = (0, $121970af65029459$export$f8aeda7b10753fa1)(rangeSelectionPrompt);\n let isAnchorPressed = (0, $8nrHP$useRef)(false);\n let isRangeBoundaryPressed = (0, $8nrHP$useRef)(false);\n let touchDragTimerRef = (0, $8nrHP$useRef)(undefined);\n let { pressProps: pressProps, isPressed: isPressed } = (0, $d27d541f9569d26d$export$45712eceda6fad21)({\n // When dragging to select a range, we don't want dragging over the original anchor\n // again to trigger onPressStart. Cancel presses immediately when the pointer exits.\n shouldCancelOnPointerExit: 'anchorDate' in state && !!state.anchorDate,\n preventFocusOnPress: true,\n isDisabled: !isSelectable || state.isReadOnly,\n onPressStart (e) {\n if (state.isReadOnly) {\n state.setFocusedDate(date);\n state.setFocused(true);\n return;\n }\n if ('highlightedRange' in state && !state.anchorDate && (e.pointerType === 'mouse' || e.pointerType === 'touch')) {\n // Allow dragging the start or end date of a range to modify it\n // rather than starting a new selection.\n // Don't allow dragging when invalid, or weird jumping behavior may occur as date ranges\n // are constrained to available dates. The user will need to select a new range in this case.\n if (state.highlightedRange && !isInvalid) {\n if ((0, $8nrHP$isSameDay)(date, state.highlightedRange.start)) {\n state.setAnchorDate(state.highlightedRange.end);\n state.setFocusedDate(date);\n state.setFocused(true);\n state.setDragging(true);\n isRangeBoundaryPressed.current = true;\n return;\n } else if ((0, $8nrHP$isSameDay)(date, state.highlightedRange.end)) {\n state.setAnchorDate(state.highlightedRange.start);\n state.setFocusedDate(date);\n state.setFocused(true);\n state.setDragging(true);\n isRangeBoundaryPressed.current = true;\n return;\n }\n }\n let startDragging = ()=>{\n state.setDragging(true);\n touchDragTimerRef.current = undefined;\n state.selectDate(date);\n state.setFocusedDate(date);\n state.setFocused(true);\n isAnchorPressed.current = true;\n };\n // Start selection on mouse/touch down so users can drag to select a range.\n // On touch, delay dragging to determine if the user really meant to scroll.\n if (e.pointerType === 'touch') touchDragTimerRef.current = setTimeout(startDragging, 200);\n else startDragging();\n }\n },\n onPressEnd () {\n isRangeBoundaryPressed.current = false;\n isAnchorPressed.current = false;\n clearTimeout(touchDragTimerRef.current);\n touchDragTimerRef.current = undefined;\n },\n onPress () {\n // For non-range selection, always select on press up.\n if (!('anchorDate' in state) && !state.isReadOnly) {\n state.selectDate(date);\n state.setFocusedDate(date);\n state.setFocused(true);\n }\n },\n onPressUp (e) {\n if (state.isReadOnly) return;\n // If the user tapped quickly, the date won't be selected yet and the\n // timer will still be in progress. In this case, select the date on touch up.\n // Timer is cleared in onPressEnd.\n if ('anchorDate' in state && touchDragTimerRef.current) {\n state.selectDate(date);\n state.setFocusedDate(date);\n state.setFocused(true);\n }\n if ('anchorDate' in state) {\n if (isRangeBoundaryPressed.current) // When clicking on the start or end date of an already selected range,\n // start a new selection on press up to also allow dragging the date to\n // change the existing range.\n state.setAnchorDate(date);\n else if (state.anchorDate && !isAnchorPressed.current) {\n // When releasing a drag or pressing the end date of a range, select it.\n state.selectDate(date);\n state.setFocusedDate(date);\n state.setFocused(true);\n } else if (e.pointerType === 'keyboard' && !state.anchorDate) {\n // For range selection, auto-advance the focused date by one if using keyboard.\n // This gives an indication that you're selecting a range rather than a single date.\n // For mouse, this is unnecessary because users will see the indication on hover. For screen readers,\n // there will be an announcement to \"click to finish selecting range\" (above).\n state.selectDate(date);\n let nextDay = date.add({\n days: 1\n });\n if (state.isInvalid(nextDay)) nextDay = date.subtract({\n days: 1\n });\n if (!state.isInvalid(nextDay)) {\n state.setFocusedDate(nextDay);\n state.setFocused(true);\n }\n } else if (e.pointerType === 'virtual') {\n // For screen readers, just select the date on click.\n state.selectDate(date);\n state.setFocusedDate(date);\n state.setFocused(true);\n }\n }\n }\n });\n let tabIndex = undefined;\n if (!isDisabled) tabIndex = (0, $8nrHP$isSameDay)(date, state.focusedDate) ? 0 : -1;\n // Focus the button in the DOM when the state updates.\n (0, $8nrHP$useEffect)(()=>{\n if (isFocused && ref.current) {\n (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(ref.current);\n // Scroll into view if navigating with a keyboard, otherwise\n // try not to shift the view under the user's mouse/finger.\n // If in a overlay, scrollIntoViewport will only cause scrolling\n // up to the overlay scroll body to prevent overlay shifting.\n // Also only scroll into view if the cell actually got focused.\n // There are some cases where the cell might be disabled or inside,\n // an inert container and we don't want to scroll then.\n if ((0, $8f5a2122b0992be3$export$630ff653c5ada6a9)() !== 'pointer' && (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)() === ref.current) (0, $51a3e22a5186a962$export$c826860796309d1b)(ref.current, {\n containingElement: (0, $3578607fe3d4b096$export$cfa2225e87938781)(ref.current)\n });\n }\n }, [\n isFocused,\n ref\n ]);\n let cellDateFormatter = (0, $60f33508b4cd9d3b$export$85fd5fdf27bacc79)({\n day: 'numeric',\n timeZone: state.timeZone,\n calendar: date.calendar.identifier\n });\n let formattedDate = (0, $8nrHP$useMemo)(()=>cellDateFormatter.formatToParts(nativeDate).find((part)=>part.type === 'day').value, [\n cellDateFormatter,\n nativeDate\n ]);\n return {\n cellProps: {\n role: 'gridcell',\n 'aria-disabled': !isSelectable || undefined,\n 'aria-selected': isSelected || undefined,\n 'aria-invalid': isInvalid || undefined\n },\n buttonProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(pressProps, {\n onFocus () {\n if (!isDisabled) {\n state.setFocusedDate(date);\n state.setFocused(true);\n }\n },\n tabIndex: tabIndex,\n role: 'button',\n 'aria-disabled': !isSelectable || undefined,\n 'aria-label': label,\n 'aria-invalid': isInvalid || undefined,\n 'aria-describedby': [\n isInvalid ? errorMessageId : undefined,\n descriptionProps['aria-describedby']\n ].filter(Boolean).join(' ') || undefined,\n onPointerEnter (e) {\n // Highlight the date on hover or drag over a date when selecting a range.\n if ('highlightDate' in state && (e.pointerType !== 'touch' || state.isDragging) && isSelectable) state.highlightDate(date);\n },\n onPointerDown (e) {\n // This is necessary on touch devices to allow dragging\n // outside the original pressed element.\n // (JSDOM does not support this)\n let target = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n if (target instanceof HTMLElement && 'releasePointerCapture' in target) {\n if ('hasPointerCapture' in target) {\n if (target.hasPointerCapture(e.pointerId)) target.releasePointerCapture(e.pointerId);\n } else target.releasePointerCapture(e.pointerId);\n }\n },\n onContextMenu (e) {\n // Prevent context menu on long press.\n e.preventDefault();\n }\n }),\n isPressed: isPressed,\n isFocused: isFocused,\n isSelected: isSelected,\n isDisabled: isDisabled,\n isUnavailable: isUnavailable,\n isOutsideVisibleRange: date.compare(state.visibleRange.start) < 0 || date.compare(state.visibleRange.end) > 0,\n isInvalid: isInvalid,\n formattedDate: formattedDate\n };\n}\n\n\nexport {$be61a22f9aa88c7c$export$136073280381448e as useCalendarCell};\n//# sourceMappingURL=useCalendarCell.mjs.map\n","import {startOfYear as $ijDZM$startOfYear, startOfMonth as $ijDZM$startOfMonth, startOfWeek as $ijDZM$startOfWeek, maxDate as $ijDZM$maxDate, toCalendarDate as $ijDZM$toCalendarDate, minDate as $ijDZM$minDate} from \"@internationalized/date\";\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 $dd602d3c757202f2$export$eac50920cf2fd59a(date, minValue, maxValue) {\n return minValue != null && date.compare(minValue) < 0 || maxValue != null && date.compare(maxValue) > 0;\n}\nfunction $dd602d3c757202f2$export$f4a51ff076cc9a09(date, duration, locale, minValue, maxValue) {\n let halfDuration = {};\n for(let key in duration){\n halfDuration[key] = Math.floor(duration[key] / 2);\n if (halfDuration[key] > 0 && duration[key] % 2 === 0) halfDuration[key]--;\n }\n let aligned = $dd602d3c757202f2$export$144a00ba6044eb9(date, duration, locale).subtract(halfDuration);\n return $dd602d3c757202f2$export$5bb865b12696a77d(date, aligned, duration, locale, minValue, maxValue);\n}\nfunction $dd602d3c757202f2$export$144a00ba6044eb9(date, duration, locale, minValue, maxValue) {\n // align to the start of the largest unit\n let aligned = date;\n if (duration.years) aligned = (0, $ijDZM$startOfYear)(date);\n else if (duration.months) aligned = (0, $ijDZM$startOfMonth)(date);\n else if (duration.weeks) aligned = (0, $ijDZM$startOfWeek)(date, locale);\n return $dd602d3c757202f2$export$5bb865b12696a77d(date, aligned, duration, locale, minValue, maxValue);\n}\nfunction $dd602d3c757202f2$export$530edbfc915b2b04(date, duration, locale, minValue, maxValue) {\n let d = {\n ...duration\n };\n // subtract 1 from the smallest unit\n if (d.days) d.days--;\n else if (d.weeks) d.weeks--;\n else if (d.months) d.months--;\n else if (d.years) d.years--;\n let aligned = $dd602d3c757202f2$export$144a00ba6044eb9(date, duration, locale).subtract(d);\n return $dd602d3c757202f2$export$5bb865b12696a77d(date, aligned, duration, locale, minValue, maxValue);\n}\nfunction $dd602d3c757202f2$export$5bb865b12696a77d(date, aligned, duration, locale, minValue, maxValue) {\n if (minValue && date.compare(minValue) >= 0) {\n let newDate = (0, $ijDZM$maxDate)(aligned, $dd602d3c757202f2$export$144a00ba6044eb9((0, $ijDZM$toCalendarDate)(minValue), duration, locale));\n if (newDate) aligned = newDate;\n }\n if (maxValue && date.compare(maxValue) <= 0) {\n let newDate = (0, $ijDZM$minDate)(aligned, $dd602d3c757202f2$export$530edbfc915b2b04((0, $ijDZM$toCalendarDate)(maxValue), duration, locale));\n if (newDate) aligned = newDate;\n }\n return aligned;\n}\nfunction $dd602d3c757202f2$export$4f5203c0d889109e(date, minValue, maxValue) {\n if (minValue) {\n let newDate = (0, $ijDZM$maxDate)(date, (0, $ijDZM$toCalendarDate)(minValue));\n if (newDate) date = newDate;\n }\n if (maxValue) {\n let newDate = (0, $ijDZM$minDate)(date, (0, $ijDZM$toCalendarDate)(maxValue));\n if (newDate) date = newDate;\n }\n return date;\n}\nfunction $dd602d3c757202f2$export$a1d3911297b952d7(date, minValue, isDateUnavailable) {\n if (!isDateUnavailable) return date;\n while(date.compare(minValue) >= 0 && isDateUnavailable(date))date = date.subtract({\n days: 1\n });\n if (date.compare(minValue) >= 0) return date;\n return null;\n}\n\n\nexport {$dd602d3c757202f2$export$eac50920cf2fd59a as isInvalid, $dd602d3c757202f2$export$f4a51ff076cc9a09 as alignCenter, $dd602d3c757202f2$export$144a00ba6044eb9 as alignStart, $dd602d3c757202f2$export$5bb865b12696a77d as constrainStart, $dd602d3c757202f2$export$530edbfc915b2b04 as alignEnd, $dd602d3c757202f2$export$4f5203c0d889109e as constrainValue, $dd602d3c757202f2$export$a1d3911297b952d7 as previousAvailableDate};\n//# sourceMappingURL=utils.mjs.map\n","import {alignCenter as $dd602d3c757202f2$export$f4a51ff076cc9a09, alignEnd as $dd602d3c757202f2$export$530edbfc915b2b04, alignStart as $dd602d3c757202f2$export$144a00ba6044eb9, constrainStart as $dd602d3c757202f2$export$5bb865b12696a77d, constrainValue as $dd602d3c757202f2$export$4f5203c0d889109e, isInvalid as $dd602d3c757202f2$export$eac50920cf2fd59a, previousAvailableDate as $dd602d3c757202f2$export$a1d3911297b952d7} from \"./utils.mjs\";\nimport {useControlledState as $3e6197669829fe11$export$40bfa8c7b0832715} from \"../utils/useControlledState.mjs\";\nimport {DateFormatter as $aoVcW$DateFormatter, toCalendar as $aoVcW$toCalendar, toCalendarDate as $aoVcW$toCalendarDate, today as $aoVcW$today, isEqualCalendar as $aoVcW$isEqualCalendar, GregorianCalendar as $aoVcW$GregorianCalendar, startOfWeek as $aoVcW$startOfWeek, startOfMonth as $aoVcW$startOfMonth, endOfWeek as $aoVcW$endOfWeek, endOfMonth as $aoVcW$endOfMonth, isSameDay as $aoVcW$isSameDay, getDayOfWeek as $aoVcW$getDayOfWeek} from \"@internationalized/date\";\nimport {useMemo as $aoVcW$useMemo, useState as $aoVcW$useState} from \"react\";\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\nfunction $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f(props) {\n let defaultFormatter = (0, $aoVcW$useMemo)(()=>new (0, $aoVcW$DateFormatter)(props.locale), [\n props.locale\n ]);\n let resolvedOptions = (0, $aoVcW$useMemo)(()=>defaultFormatter.resolvedOptions(), [\n defaultFormatter\n ]);\n let { locale: locale, createCalendar: createCalendar, visibleDuration: visibleDuration = {\n months: 1\n }, minValue: minValue, maxValue: maxValue, selectionAlignment: selectionAlignment, isDateUnavailable: isDateUnavailable, pageBehavior: pageBehavior = 'visible', firstDayOfWeek: firstDayOfWeek } = props;\n let calendar = (0, $aoVcW$useMemo)(()=>createCalendar(resolvedOptions.calendar), [\n createCalendar,\n resolvedOptions.calendar\n ]);\n let [value, setControlledValue] = (0, $3e6197669829fe11$export$40bfa8c7b0832715)(props.value, props.defaultValue ?? null, props.onChange);\n let calendarDateValue = (0, $aoVcW$useMemo)(()=>value ? (0, $aoVcW$toCalendar)((0, $aoVcW$toCalendarDate)(value), calendar) : null, [\n value,\n calendar\n ]);\n let timeZone = (0, $aoVcW$useMemo)(()=>value && 'timeZone' in value ? value.timeZone : resolvedOptions.timeZone, [\n value,\n resolvedOptions.timeZone\n ]);\n let focusedCalendarDate = (0, $aoVcW$useMemo)(()=>props.focusedValue ? (0, $dd602d3c757202f2$export$4f5203c0d889109e)((0, $aoVcW$toCalendar)((0, $aoVcW$toCalendarDate)(props.focusedValue), calendar), minValue, maxValue) : undefined, [\n props.focusedValue,\n calendar,\n minValue,\n maxValue\n ]);\n let defaultFocusedCalendarDate = (0, $aoVcW$useMemo)(()=>(0, $dd602d3c757202f2$export$4f5203c0d889109e)(props.defaultFocusedValue ? (0, $aoVcW$toCalendar)((0, $aoVcW$toCalendarDate)(props.defaultFocusedValue), calendar) : calendarDateValue || (0, $aoVcW$toCalendar)((0, $aoVcW$today)(timeZone), calendar), minValue, maxValue), [\n props.defaultFocusedValue,\n calendarDateValue,\n timeZone,\n calendar,\n minValue,\n maxValue\n ]);\n let [focusedDate, setFocusedDate] = (0, $3e6197669829fe11$export$40bfa8c7b0832715)(focusedCalendarDate, defaultFocusedCalendarDate, props.onFocusChange);\n let [startDate, setStartDate] = (0, $aoVcW$useState)(()=>{\n switch(selectionAlignment){\n case 'start':\n return (0, $dd602d3c757202f2$export$144a00ba6044eb9)(focusedDate, visibleDuration, locale, minValue, maxValue);\n case 'end':\n return (0, $dd602d3c757202f2$export$530edbfc915b2b04)(focusedDate, visibleDuration, locale, minValue, maxValue);\n case 'center':\n default:\n return (0, $dd602d3c757202f2$export$f4a51ff076cc9a09)(focusedDate, visibleDuration, locale, minValue, maxValue);\n }\n });\n let [isFocused, setFocused] = (0, $aoVcW$useState)(props.autoFocus || false);\n let endDate = (0, $aoVcW$useMemo)(()=>{\n let duration = {\n ...visibleDuration\n };\n if (duration.days) duration.days--;\n else duration.days = -1;\n return startDate.add(duration);\n }, [\n startDate,\n visibleDuration\n ]);\n // Reset focused date and visible range when calendar changes.\n let [lastCalendar, setLastCalendar] = (0, $aoVcW$useState)(calendar);\n if (!(0, $aoVcW$isEqualCalendar)(calendar, lastCalendar)) {\n let newFocusedDate = (0, $aoVcW$toCalendar)(focusedDate, calendar);\n setStartDate((0, $dd602d3c757202f2$export$f4a51ff076cc9a09)(newFocusedDate, visibleDuration, locale, minValue, maxValue));\n setFocusedDate(newFocusedDate);\n setLastCalendar(calendar);\n }\n if ((0, $dd602d3c757202f2$export$eac50920cf2fd59a)(focusedDate, minValue, maxValue)) // If the focused date was moved to an invalid value, it can't be focused, so constrain it.\n setFocusedDate((0, $dd602d3c757202f2$export$4f5203c0d889109e)(focusedDate, minValue, maxValue));\n else if (focusedDate.compare(startDate) < 0) setStartDate((0, $dd602d3c757202f2$export$530edbfc915b2b04)(focusedDate, visibleDuration, locale, minValue, maxValue));\n else if (focusedDate.compare(endDate) > 0) setStartDate((0, $dd602d3c757202f2$export$144a00ba6044eb9)(focusedDate, visibleDuration, locale, minValue, maxValue));\n // Sets focus to a specific cell date\n function focusCell(date) {\n date = (0, $dd602d3c757202f2$export$4f5203c0d889109e)(date, minValue, maxValue);\n setFocusedDate(date);\n }\n function setValue(newValue) {\n if (!props.isDisabled && !props.isReadOnly) {\n let localValue = newValue;\n if (localValue === null) {\n setControlledValue(null);\n return;\n }\n localValue = (0, $dd602d3c757202f2$export$4f5203c0d889109e)(localValue, minValue, maxValue);\n localValue = (0, $dd602d3c757202f2$export$a1d3911297b952d7)(localValue, startDate, isDateUnavailable);\n if (!localValue) return;\n // The display calendar should not have any effect on the emitted value.\n // Emit dates in the same calendar as the original value, if any, otherwise gregorian.\n localValue = (0, $aoVcW$toCalendar)(localValue, value?.calendar || new (0, $aoVcW$GregorianCalendar)());\n // Preserve time if the input value had one.\n if (value && 'hour' in value) setControlledValue(value.set(localValue));\n else setControlledValue(localValue);\n }\n }\n let isUnavailable = (0, $aoVcW$useMemo)(()=>{\n if (!calendarDateValue) return false;\n if (isDateUnavailable && isDateUnavailable(calendarDateValue)) return true;\n return (0, $dd602d3c757202f2$export$eac50920cf2fd59a)(calendarDateValue, minValue, maxValue);\n }, [\n calendarDateValue,\n isDateUnavailable,\n minValue,\n maxValue\n ]);\n let isValueInvalid = props.isInvalid || props.validationState === 'invalid' || isUnavailable;\n let validationState = isValueInvalid ? 'invalid' : null;\n let pageDuration = (0, $aoVcW$useMemo)(()=>{\n if (pageBehavior === 'visible') return visibleDuration;\n return $ea0ea6e62ae0d7ca$var$unitDuration(visibleDuration);\n }, [\n pageBehavior,\n visibleDuration\n ]);\n return {\n isDisabled: props.isDisabled ?? false,\n isReadOnly: props.isReadOnly ?? false,\n value: calendarDateValue,\n setValue: setValue,\n visibleRange: {\n start: startDate,\n end: endDate\n },\n minValue: minValue,\n maxValue: maxValue,\n focusedDate: focusedDate,\n timeZone: timeZone,\n validationState: validationState,\n isValueInvalid: isValueInvalid,\n setFocusedDate (date) {\n focusCell(date);\n },\n focusNextDay () {\n focusCell(focusedDate.add({\n days: 1\n }));\n },\n focusPreviousDay () {\n focusCell(focusedDate.subtract({\n days: 1\n }));\n },\n focusNextRow () {\n if (visibleDuration.days) this.focusNextPage();\n else if (visibleDuration.weeks || visibleDuration.months || visibleDuration.years) focusCell(focusedDate.add({\n weeks: 1\n }));\n },\n focusPreviousRow () {\n if (visibleDuration.days) this.focusPreviousPage();\n else if (visibleDuration.weeks || visibleDuration.months || visibleDuration.years) focusCell(focusedDate.subtract({\n weeks: 1\n }));\n },\n focusNextPage () {\n let start = startDate.add(pageDuration);\n setFocusedDate((0, $dd602d3c757202f2$export$4f5203c0d889109e)(focusedDate.add(pageDuration), minValue, maxValue));\n setStartDate((0, $dd602d3c757202f2$export$144a00ba6044eb9)((0, $dd602d3c757202f2$export$5bb865b12696a77d)(focusedDate, start, pageDuration, locale, minValue, maxValue), pageDuration, locale));\n },\n focusPreviousPage () {\n let start = startDate.subtract(pageDuration);\n setFocusedDate((0, $dd602d3c757202f2$export$4f5203c0d889109e)(focusedDate.subtract(pageDuration), minValue, maxValue));\n setStartDate((0, $dd602d3c757202f2$export$144a00ba6044eb9)((0, $dd602d3c757202f2$export$5bb865b12696a77d)(focusedDate, start, pageDuration, locale, minValue, maxValue), pageDuration, locale));\n },\n focusSectionStart () {\n if (visibleDuration.days) focusCell(startDate);\n else if (visibleDuration.weeks) focusCell((0, $aoVcW$startOfWeek)(focusedDate, locale));\n else if (visibleDuration.months || visibleDuration.years) focusCell((0, $aoVcW$startOfMonth)(focusedDate));\n },\n focusSectionEnd () {\n if (visibleDuration.days) focusCell(endDate);\n else if (visibleDuration.weeks) focusCell((0, $aoVcW$endOfWeek)(focusedDate, locale));\n else if (visibleDuration.months || visibleDuration.years) focusCell((0, $aoVcW$endOfMonth)(focusedDate));\n },\n focusNextSection (larger) {\n if (!larger && !visibleDuration.days) {\n focusCell(focusedDate.add($ea0ea6e62ae0d7ca$var$unitDuration(visibleDuration)));\n return;\n }\n if (visibleDuration.days) this.focusNextPage();\n else if (visibleDuration.weeks) focusCell(focusedDate.add({\n months: 1\n }));\n else if (visibleDuration.months || visibleDuration.years) focusCell(focusedDate.add({\n years: 1\n }));\n },\n focusPreviousSection (larger) {\n if (!larger && !visibleDuration.days) {\n focusCell(focusedDate.subtract($ea0ea6e62ae0d7ca$var$unitDuration(visibleDuration)));\n return;\n }\n if (visibleDuration.days) this.focusPreviousPage();\n else if (visibleDuration.weeks) focusCell(focusedDate.subtract({\n months: 1\n }));\n else if (visibleDuration.months || visibleDuration.years) focusCell(focusedDate.subtract({\n years: 1\n }));\n },\n selectFocusedDate () {\n if (!(isDateUnavailable && isDateUnavailable(focusedDate))) setValue(focusedDate);\n },\n selectDate (date) {\n setValue(date);\n },\n isFocused: isFocused,\n setFocused: setFocused,\n isInvalid (date) {\n return (0, $dd602d3c757202f2$export$eac50920cf2fd59a)(date, minValue, maxValue);\n },\n isSelected (date) {\n return calendarDateValue != null && (0, $aoVcW$isSameDay)(date, calendarDateValue) && !this.isCellDisabled(date) && !this.isCellUnavailable(date);\n },\n isCellFocused (date) {\n return isFocused && focusedDate && (0, $aoVcW$isSameDay)(date, focusedDate);\n },\n isCellDisabled (date) {\n return props.isDisabled || date.compare(startDate) < 0 || date.compare(endDate) > 0 || this.isInvalid(date);\n },\n isCellUnavailable (date) {\n return props.isDateUnavailable ? props.isDateUnavailable(date) : false;\n },\n isPreviousVisibleRangeInvalid () {\n let prev = startDate.subtract({\n days: 1\n });\n return (0, $aoVcW$isSameDay)(prev, startDate) || this.isInvalid(prev);\n },\n isNextVisibleRangeInvalid () {\n // Adding may return the same date if we reached the end of time\n // according to the calendar system (e.g. 9999-12-31).\n let next = endDate.add({\n days: 1\n });\n return (0, $aoVcW$isSameDay)(next, endDate) || this.isInvalid(next);\n },\n getDatesInWeek (weekIndex, from = startDate) {\n let date = from.add({\n weeks: weekIndex\n });\n let dates = [];\n date = (0, $aoVcW$startOfWeek)(date, locale, firstDayOfWeek);\n // startOfWeek will clamp dates within the calendar system's valid range, which may\n // start in the middle of a week. In this case, add null placeholders.\n let dayOfWeek = (0, $aoVcW$getDayOfWeek)(date, locale, firstDayOfWeek);\n for(let i = 0; i < dayOfWeek; i++)dates.push(null);\n while(dates.length < 7){\n dates.push(date);\n let nextDate = date.add({\n days: 1\n });\n if ((0, $aoVcW$isSameDay)(date, nextDate)) break;\n date = nextDate;\n }\n // Add null placeholders if at the end of the calendar system.\n while(dates.length < 7)dates.push(null);\n return dates;\n }\n };\n}\nfunction $ea0ea6e62ae0d7ca$var$unitDuration(duration) {\n let unit = {\n ...duration\n };\n for(let key in duration)unit[key] = 1;\n return unit;\n}\n\n\nexport {$ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f as useCalendarState};\n//# sourceMappingURL=useCalendarState.mjs.map\n","import {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useFocusWithin as $2c9edc598a03d523$export$420e68273165f4ec} from \"../interactions/useFocusWithin.mjs\";\nimport $48drk$react, {useState as $48drk$useState, useMemo as $48drk$useMemo} from \"react\";\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\nconst $ea3928288112382f$var$styles = {\n border: 0,\n clip: 'rect(0 0 0 0)',\n clipPath: 'inset(50%)',\n height: '1px',\n margin: '-1px',\n overflow: 'hidden',\n padding: 0,\n position: 'absolute',\n width: '1px',\n whiteSpace: 'nowrap'\n};\nfunction $ea3928288112382f$export$a966af930f325cab(props = {}) {\n let { style: style, isFocusable: isFocusable } = props;\n let [isFocused, setFocused] = (0, $48drk$useState)(false);\n let { focusWithinProps: focusWithinProps } = (0, $2c9edc598a03d523$export$420e68273165f4ec)({\n isDisabled: !isFocusable,\n onFocusWithinChange: (val)=>setFocused(val)\n });\n // If focused, don't hide the element.\n let combinedStyles = (0, $48drk$useMemo)(()=>{\n if (isFocused) return style;\n else if (style) return {\n ...$ea3928288112382f$var$styles,\n ...style\n };\n else return $ea3928288112382f$var$styles;\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n isFocused\n ]);\n return {\n visuallyHiddenProps: {\n ...focusWithinProps,\n style: combinedStyles\n }\n };\n}\nfunction $ea3928288112382f$export$439d29a4e110a164(props) {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n let { children: children, elementType: Element = 'div', isFocusable: isFocusable, style: style, ...otherProps } = props;\n let { visuallyHiddenProps: visuallyHiddenProps } = $ea3928288112382f$export$a966af930f325cab(props);\n return /*#__PURE__*/ (0, $48drk$react).createElement(Element, (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(otherProps, visuallyHiddenProps), children);\n}\n\n\nexport {$ea3928288112382f$export$a966af930f325cab as useVisuallyHidden, $ea3928288112382f$export$439d29a4e110a164 as VisuallyHidden};\n//# sourceMappingURL=VisuallyHidden.mjs.map\n","import {ButtonContext as $7705c033048f6da7$export$24d547caef80ccd1} from \"./Button.mjs\";\nimport {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, Provider as $7230ffa83bc0c2cf$export$2881499e37b75b9a, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, useRenderProps as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, useSlottedContext as $7230ffa83bc0c2cf$export$fabf2dc03a41866e} from \"./utils.mjs\";\nimport {HeadingContext as $2ec61d1d4f780267$export$d688439359537581} from \"./Heading.mjs\";\nimport {TextContext as $efe09c6d1c304b50$export$9afb8bc826b033ea} from \"./Text.mjs\";\nimport {useCalendar as $drly1$useCalendar, useCalendarGrid as $drly1$useCalendarGrid, useCalendarCell as $drly1$useCalendarCell} from \"react-aria/useCalendar\";\nimport {useRangeCalendar as $drly1$useRangeCalendar} from \"react-aria/useRangeCalendar\";\nimport {createCalendar as $drly1$createCalendar, endOfMonth as $drly1$endOfMonth, isSameMonth as $drly1$isSameMonth, isToday as $drly1$isToday, isSameDay as $drly1$isSameDay} from \"@internationalized/date\";\nimport {useRangeCalendarState as $drly1$useRangeCalendarState} from \"react-stately/useRangeCalendarState\";\nimport {filterDOMProps as $drly1$filterDOMProps} from \"react-aria/filterDOMProps\";\nimport {mergeProps as $drly1$mergeProps} from \"react-aria/mergeProps\";\nimport $drly1$react, {createContext as $drly1$createContext, forwardRef as $drly1$forwardRef, useContext as $drly1$useContext, useRef as $drly1$useRef} from \"react\";\nimport {useCalendarState as $drly1$useCalendarState} from \"react-stately/useCalendarState\";\nimport {useFocusRing as $drly1$useFocusRing} from \"react-aria/useFocusRing\";\nimport {useHover as $drly1$useHover} from \"react-aria/useHover\";\nimport {useLocale as $drly1$useLocale} from \"react-aria/I18nProvider\";\nimport {VisuallyHidden as $drly1$VisuallyHidden} from \"react-aria/VisuallyHidden\";\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\n\n\nconst $6f9a1820b787aac7$export$3b805cea1f178355 = /*#__PURE__*/ (0, $drly1$createContext)(null);\nconst $6f9a1820b787aac7$export$233dd9682e1ad64b = /*#__PURE__*/ (0, $drly1$createContext)(null);\nconst $6f9a1820b787aac7$export$9e31dcedda1dadc7 = /*#__PURE__*/ (0, $drly1$createContext)(null);\nconst $6f9a1820b787aac7$export$5e0fc348c00f87a0 = /*#__PURE__*/ (0, $drly1$createContext)(null);\nconst $6f9a1820b787aac7$export$e1aef45b828286de = /*#__PURE__*/ (0, $drly1$forwardRef)(function Calendar(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $6f9a1820b787aac7$export$3b805cea1f178355);\n let { locale: locale } = (0, $drly1$useLocale)();\n let state = (0, $drly1$useCalendarState)({\n ...props,\n locale: locale,\n createCalendar: props.createCalendar || (0, $drly1$createCalendar)\n });\n let { calendarProps: calendarProps, prevButtonProps: prevButtonProps, nextButtonProps: nextButtonProps, errorMessageProps: errorMessageProps, title: title } = (0, $drly1$useCalendar)(props, state);\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n values: {\n state: state,\n isDisabled: props.isDisabled || false,\n isInvalid: state.isValueInvalid\n },\n defaultClassName: 'react-aria-Calendar'\n });\n let DOMProps = (0, $drly1$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $drly1$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...(0, $drly1$mergeProps)(DOMProps, renderProps, calendarProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-disabled\": props.isDisabled || undefined,\n \"data-invalid\": state.isValueInvalid || undefined\n }, /*#__PURE__*/ (0, $drly1$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n (0, $7705c033048f6da7$export$24d547caef80ccd1),\n {\n slots: {\n previous: prevButtonProps,\n next: nextButtonProps\n }\n }\n ],\n [\n (0, $2ec61d1d4f780267$export$d688439359537581),\n {\n 'aria-hidden': true,\n level: 2,\n children: title\n }\n ],\n [\n $6f9a1820b787aac7$export$9e31dcedda1dadc7,\n state\n ],\n [\n $6f9a1820b787aac7$export$3b805cea1f178355,\n props\n ],\n [\n (0, $efe09c6d1c304b50$export$9afb8bc826b033ea),\n {\n slots: {\n errorMessage: errorMessageProps\n }\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $drly1$react).createElement((0, $drly1$VisuallyHidden), null, /*#__PURE__*/ (0, $drly1$react).createElement(\"h2\", null, calendarProps['aria-label'])), renderProps.children, /*#__PURE__*/ (0, $drly1$react).createElement((0, $drly1$VisuallyHidden), null, /*#__PURE__*/ (0, $drly1$react).createElement(\"button\", {\n \"aria-label\": nextButtonProps['aria-label'],\n disabled: nextButtonProps.isDisabled,\n onClick: ()=>state.focusNextPage(),\n tabIndex: -1\n }))));\n});\nconst $6f9a1820b787aac7$export$a4f5c8b89d277a8d = /*#__PURE__*/ (0, $drly1$forwardRef)(function RangeCalendar(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $6f9a1820b787aac7$export$233dd9682e1ad64b);\n let { locale: locale } = (0, $drly1$useLocale)();\n let state = (0, $drly1$useRangeCalendarState)({\n ...props,\n locale: locale,\n createCalendar: props.createCalendar || (0, $drly1$createCalendar)\n });\n let { calendarProps: calendarProps, prevButtonProps: prevButtonProps, nextButtonProps: nextButtonProps, errorMessageProps: errorMessageProps, title: title } = (0, $drly1$useRangeCalendar)(props, state, ref);\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n values: {\n state: state,\n isDisabled: props.isDisabled || false,\n isInvalid: state.isValueInvalid\n },\n defaultClassName: 'react-aria-RangeCalendar'\n });\n let DOMProps = (0, $drly1$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $drly1$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...(0, $drly1$mergeProps)(renderProps, DOMProps, calendarProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-disabled\": props.isDisabled || undefined,\n \"data-invalid\": state.isValueInvalid || undefined\n }, /*#__PURE__*/ (0, $drly1$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n (0, $7705c033048f6da7$export$24d547caef80ccd1),\n {\n slots: {\n previous: prevButtonProps,\n next: nextButtonProps\n }\n }\n ],\n [\n (0, $2ec61d1d4f780267$export$d688439359537581),\n {\n 'aria-hidden': true,\n level: 2,\n children: title\n }\n ],\n [\n $6f9a1820b787aac7$export$5e0fc348c00f87a0,\n state\n ],\n [\n $6f9a1820b787aac7$export$233dd9682e1ad64b,\n props\n ],\n [\n (0, $efe09c6d1c304b50$export$9afb8bc826b033ea),\n {\n slots: {\n errorMessage: errorMessageProps\n }\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $drly1$react).createElement((0, $drly1$VisuallyHidden), null, /*#__PURE__*/ (0, $drly1$react).createElement(\"h2\", null, calendarProps['aria-label'])), renderProps.children, /*#__PURE__*/ (0, $drly1$react).createElement((0, $drly1$VisuallyHidden), null, /*#__PURE__*/ (0, $drly1$react).createElement(\"button\", {\n \"aria-label\": nextButtonProps['aria-label'],\n disabled: nextButtonProps.isDisabled,\n onClick: ()=>state.focusNextPage(),\n tabIndex: -1\n }))));\n});\nconst $6f9a1820b787aac7$var$InternalCalendarGridContext = /*#__PURE__*/ (0, $drly1$createContext)(null);\nconst $6f9a1820b787aac7$export$5bd780d491cfc46c = /*#__PURE__*/ (0, $drly1$forwardRef)(function CalendarGrid(props, ref) {\n let calendarState = (0, $drly1$useContext)($6f9a1820b787aac7$export$9e31dcedda1dadc7);\n let rangeCalendarState = (0, $drly1$useContext)($6f9a1820b787aac7$export$5e0fc348c00f87a0);\n let calenderProps = (0, $7230ffa83bc0c2cf$export$fabf2dc03a41866e)($6f9a1820b787aac7$export$3b805cea1f178355);\n let rangeCalenderProps = (0, $7230ffa83bc0c2cf$export$fabf2dc03a41866e)($6f9a1820b787aac7$export$233dd9682e1ad64b);\n let state = calendarState ?? rangeCalendarState;\n let startDate = state.visibleRange.start;\n if (props.offset) startDate = startDate.add(props.offset);\n let firstDayOfWeek = calenderProps?.firstDayOfWeek ?? rangeCalenderProps?.firstDayOfWeek;\n let { gridProps: gridProps, headerProps: headerProps, weekDays: weekDays, weeksInMonth: weeksInMonth } = (0, $drly1$useCalendarGrid)({\n startDate: startDate,\n endDate: (0, $drly1$endOfMonth)(startDate),\n weekdayStyle: props.weekdayStyle,\n firstDayOfWeek: firstDayOfWeek\n }, state);\n let DOMProps = (0, $drly1$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $drly1$react).createElement($6f9a1820b787aac7$var$InternalCalendarGridContext.Provider, {\n value: {\n headerProps: headerProps,\n weekDays: weekDays,\n startDate: startDate,\n weeksInMonth: weeksInMonth\n }\n }, /*#__PURE__*/ (0, $drly1$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).table, {\n render: props.render,\n ...(0, $drly1$mergeProps)(DOMProps, gridProps),\n ref: ref,\n style: props.style,\n cellPadding: 0,\n className: props.className ?? 'react-aria-CalendarGrid'\n }, typeof props.children !== 'function' ? props.children : /*#__PURE__*/ (0, $drly1$react).createElement((0, $drly1$react).Fragment, null, /*#__PURE__*/ (0, $drly1$react).createElement($6f9a1820b787aac7$export$22e2d15eaa4d2377, null, (day)=>/*#__PURE__*/ (0, $drly1$react).createElement($6f9a1820b787aac7$export$ad2135cac3a11b3d, null, day)), /*#__PURE__*/ (0, $drly1$react).createElement($6f9a1820b787aac7$export$e11f8ba65d857bff, null, props.children))));\n});\nfunction $6f9a1820b787aac7$var$CalendarGridHeader(props, ref) {\n let { children: children, style: style, className: className } = props;\n let { headerProps: headerProps, weekDays: weekDays } = (0, $drly1$useContext)($6f9a1820b787aac7$var$InternalCalendarGridContext);\n let DOMProps = (0, $drly1$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $drly1$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).thead, {\n render: props.render,\n ...(0, $drly1$mergeProps)(DOMProps, headerProps),\n ref: ref,\n style: style,\n className: className ?? 'react-aria-CalendarGridHeader'\n }, /*#__PURE__*/ (0, $drly1$react).createElement(\"tr\", null, weekDays.map((day, key)=>/*#__PURE__*/ (0, $drly1$react).cloneElement(children(day), {\n key: key\n }))));\n}\n/**\n * A calendar grid header displays a row of week day names at the top of a month.\n */ const $6f9a1820b787aac7$export$22e2d15eaa4d2377 = /*#__PURE__*/ (0, $drly1$forwardRef)($6f9a1820b787aac7$var$CalendarGridHeader);\nfunction $6f9a1820b787aac7$var$CalendarHeaderCell(props, ref) {\n let { children: children, style: style, className: className } = props;\n let DOMProps = (0, $drly1$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $drly1$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).th, {\n render: props.render,\n ...DOMProps,\n ref: ref,\n style: style,\n className: className || 'react-aria-CalendarHeaderCell'\n }, children);\n}\n/**\n * A calendar header cell displays a week day name at the top of a column within a calendar.\n */ const $6f9a1820b787aac7$export$ad2135cac3a11b3d = /*#__PURE__*/ (0, $drly1$forwardRef)($6f9a1820b787aac7$var$CalendarHeaderCell);\nfunction $6f9a1820b787aac7$var$CalendarGridBody(props, ref) {\n let { children: children, style: style, className: className } = props;\n let calendarState = (0, $drly1$useContext)($6f9a1820b787aac7$export$9e31dcedda1dadc7);\n let rangeCalendarState = (0, $drly1$useContext)($6f9a1820b787aac7$export$5e0fc348c00f87a0);\n let state = calendarState ?? rangeCalendarState;\n let { startDate: startDate, weeksInMonth: weeksInMonth } = (0, $drly1$useContext)($6f9a1820b787aac7$var$InternalCalendarGridContext);\n let DOMProps = (0, $drly1$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $drly1$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).tbody, {\n render: props.render,\n ...DOMProps,\n ref: ref,\n style: style,\n className: className ?? 'react-aria-CalendarGridBody'\n }, [\n ...new Array(weeksInMonth).keys()\n ].map((weekIndex)=>/*#__PURE__*/ (0, $drly1$react).createElement(\"tr\", {\n key: weekIndex\n }, state.getDatesInWeek(weekIndex, startDate).map((date, i)=>date ? /*#__PURE__*/ (0, $drly1$react).cloneElement(children(date), {\n key: i\n }) : /*#__PURE__*/ (0, $drly1$react).createElement(\"td\", {\n key: i\n })))));\n}\n/**\n * A calendar grid body displays a grid of calendar cells within a month.\n */ const $6f9a1820b787aac7$export$e11f8ba65d857bff = /*#__PURE__*/ (0, $drly1$forwardRef)($6f9a1820b787aac7$var$CalendarGridBody);\nconst $6f9a1820b787aac7$export$5d847498420df57b = /*#__PURE__*/ (0, $drly1$forwardRef)(function CalendarCell({ date: date, ...otherProps }, ref) {\n let calendarState = (0, $drly1$useContext)($6f9a1820b787aac7$export$9e31dcedda1dadc7);\n let rangeCalendarState = (0, $drly1$useContext)($6f9a1820b787aac7$export$5e0fc348c00f87a0);\n let state = calendarState ?? rangeCalendarState;\n let { startDate: currentMonth } = (0, $drly1$useContext)($6f9a1820b787aac7$var$InternalCalendarGridContext) ?? {\n startDate: state.visibleRange.start\n };\n let isOutsideMonth = !(0, $drly1$isSameMonth)(currentMonth, date);\n let istoday = (0, $drly1$isToday)(date, state.timeZone);\n let buttonRef = (0, $drly1$useRef)(null);\n let { cellProps: cellProps, buttonProps: buttonProps, ...states } = (0, $drly1$useCalendarCell)({\n date: date,\n isOutsideMonth: isOutsideMonth\n }, state, buttonRef);\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $drly1$useHover)({\n ...otherProps,\n isDisabled: states.isDisabled\n });\n let { focusProps: focusProps, isFocusVisible: isFocusVisible } = (0, $drly1$useFocusRing)();\n isFocusVisible &&= states.isFocused;\n let isSelectionStart = false;\n let isSelectionEnd = false;\n if ('highlightedRange' in state && state.highlightedRange) {\n isSelectionStart = (0, $drly1$isSameDay)(date, state.highlightedRange.start);\n isSelectionEnd = (0, $drly1$isSameDay)(date, state.highlightedRange.end);\n }\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...otherProps,\n defaultChildren: states.formattedDate,\n defaultClassName: 'react-aria-CalendarCell',\n values: {\n date: date,\n isHovered: isHovered,\n isOutsideMonth: isOutsideMonth,\n isFocusVisible: isFocusVisible,\n isSelectionStart: isSelectionStart,\n isSelectionEnd: isSelectionEnd,\n isToday: istoday,\n ...states\n }\n });\n let dataAttrs = {\n 'data-focused': states.isFocused || undefined,\n 'data-hovered': isHovered || undefined,\n 'data-pressed': states.isPressed || undefined,\n 'data-unavailable': states.isUnavailable || undefined,\n 'data-disabled': states.isDisabled || undefined,\n 'data-focus-visible': isFocusVisible || undefined,\n 'data-outside-visible-range': states.isOutsideVisibleRange || undefined,\n 'data-outside-month': isOutsideMonth || undefined,\n 'data-selected': states.isSelected || undefined,\n 'data-selection-start': isSelectionStart || undefined,\n 'data-selection-end': isSelectionEnd || undefined,\n 'data-invalid': states.isInvalid || undefined,\n 'data-today': istoday || undefined\n };\n let DOMProps = (0, $drly1$filterDOMProps)(otherProps, {\n global: true\n });\n return /*#__PURE__*/ (0, $drly1$react).createElement(\"td\", {\n ...cellProps,\n ref: ref\n }, /*#__PURE__*/ (0, $drly1$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...(0, $drly1$mergeProps)(DOMProps, buttonProps, focusProps, hoverProps, dataAttrs, renderProps),\n ref: buttonRef\n }));\n});\n\n\nexport {$6f9a1820b787aac7$export$3b805cea1f178355 as CalendarContext, $6f9a1820b787aac7$export$233dd9682e1ad64b as RangeCalendarContext, $6f9a1820b787aac7$export$9e31dcedda1dadc7 as CalendarStateContext, $6f9a1820b787aac7$export$5e0fc348c00f87a0 as RangeCalendarStateContext, $6f9a1820b787aac7$export$e1aef45b828286de as Calendar, $6f9a1820b787aac7$export$a4f5c8b89d277a8d as RangeCalendar, $6f9a1820b787aac7$export$5bd780d491cfc46c as CalendarGrid, $6f9a1820b787aac7$export$22e2d15eaa4d2377 as CalendarGridHeader, $6f9a1820b787aac7$export$ad2135cac3a11b3d as CalendarHeaderCell, $6f9a1820b787aac7$export$e11f8ba65d857bff as CalendarGridBody, $6f9a1820b787aac7$export$5d847498420df57b as CalendarCell};\n//# sourceMappingURL=Calendar.mjs.map\n","import { useContext, useEffect, useMemo } from 'react'\nimport { CalendarStateContext } from 'react-aria-components'\nimport { CalendarDate } from '@internationalized/date'\nimport { SegmentItem } from '../types'\n\ntype UseCalendarHeaderProps = {\n defaultFocusDate?: CalendarDate\n}\n\nexport function useCalendarHeader({\n defaultFocusDate,\n}: UseCalendarHeaderProps) {\n const {\n focusNextPage,\n focusPreviousPage,\n setFocusedDate,\n focusedDate,\n minValue,\n maxValue,\n } = useContext(CalendarStateContext)!\n\n const yearsOptions = useMemo(() => {\n const minYear = minValue?.year || 1900\n const maxYear = maxValue?.year || 2100\n const items: SegmentItem[] = []\n\n for (let i = minYear; i <= maxYear; i++) {\n items.push({ label: String(i), value: i })\n }\n\n return items\n }, [minValue, maxValue])\n\n const monthsOptions = useMemo(\n () =>\n [\n 'Janeiro',\n 'Fevereiro',\n 'Março',\n 'Abril',\n 'Maio',\n 'Junho',\n 'Julho',\n 'Agosto',\n 'Setembro',\n 'Outubro',\n 'Novembro',\n 'Dezembro',\n ].map((label, idx) => ({ label, value: idx + 1 })),\n [],\n )\n\n useEffect(() => {\n if (defaultFocusDate) {\n setFocusedDate(defaultFocusDate)\n }\n }, [defaultFocusDate])\n\n function handleFocusNewMonth(month: SegmentItem) {\n const monthNumber = month.value\n const focusedDay = focusedDate.day\n const focusedYear = focusedDate.year\n setFocusedDate(new CalendarDate(focusedYear, monthNumber, focusedDay))\n }\n\n function handleFocusNewYear(selectedOption: SegmentItem) {\n const focusedDay = focusedDate.day\n const focusedMonth = focusedDate.month\n const newYear = selectedOption.value\n setFocusedDate(new CalendarDate(newYear, focusedMonth, focusedDay))\n }\n\n return {\n focusNextPage,\n focusPreviousPage,\n handleFocusNewMonth,\n handleFocusNewYear,\n focusedDate,\n yearsOptions,\n monthsOptions,\n }\n}\n","import { IconChevronLeft, IconChevronRight } from '@components/icons'\nimport { CalendarDate } from '@internationalized/date'\nimport { Segment } from '../Segment'\n\nimport { useCalendarHeader } from './hook'\nimport './styles.scss'\n\ntype CalendarHeaderProps = {\n defaultFocusDate?: CalendarDate\n}\n\nexport const CalendarHeader = ({ defaultFocusDate }: CalendarHeaderProps) => {\n const {\n focusNextPage,\n focusPreviousPage,\n focusedDate,\n handleFocusNewMonth,\n yearsOptions,\n monthsOptions,\n handleFocusNewYear,\n } = useCalendarHeader({ defaultFocusDate })\n\n return (\n <div className=\"au-datepicker__header\">\n <button\n className=\"au-datepicker__header-navigation-btn\"\n aria-label=\"Mês anterior\"\n onClick={focusPreviousPage}>\n <IconChevronLeft aria-hidden=\"true\" />\n </button>\n <div className=\"au-datepicker__header-segments\">\n <Segment\n currentValue={focusedDate.month}\n mobileTitle=\"Escolha o mês\"\n onSelect={handleFocusNewMonth}\n options={monthsOptions}\n />\n <Segment\n currentValue={focusedDate.year}\n mobileTitle=\"Escolha o ano\"\n onSelect={handleFocusNewYear}\n options={yearsOptions}\n />\n </div>\n <button\n className=\"au-datepicker__header-navigation-btn\"\n aria-label=\"Próximo\"\n onClick={focusNextPage}>\n <IconChevronRight aria-hidden=\"true\" />\n </button>\n </div>\n )\n}\n"],"names":["$3ARPR$react","$bl59K$react","$bl59K$useContext","$bl59K$useRef","$bl59K$useState","$dPTrK$useState","$dPTrK$useRef","$dPTrK$useCallback","$4QKZm$useState","$4QKZm$useRef","r","$4QKZm$useEffect","$4QKZm$useCallback","$aPpn7$clsx","$i6EpZ$useRef","$i6EpZ$useCallback","$i6EpZ$useMemo","$ahdqC$react","$ahdqC$useMemo","props","$ahdqC$useContext","$ahdqC$useObjectRef","$ahdqC$mergeRefs","$ahdqC$mergeProps","$ahdqC$useRef","$ahdqC$useLayoutEffect","$ahdqC$forwardRef","$eXv8n$shadowDOM","$lIB5W$useRef","$lIB5W$useCallback","e","window","$7U4qw$useEffect","$emnFQ$react","$emnFQ$useRef","$emnFQ$useCallback","$lEF9U$useState","$lEF9U$useEffect","$01Dwp$react","$01Dwp$useContext","$hwcjY$LocalizedStringDictionary","$hwcjY$useMemo","$hwcjY$LocalizedStringFormatter","$1CcWn$react","$1CcWn$useState","$1CcWn$useRef","$1CcWn$useEffect","$1CcWn$useReducer","$1CcWn$useCallback","value","$3siB1$useCallback","$kV9Vy$react","$awe0O$useRef","$awe0O$useCallback","$awe0O$useEffect","$fL2C6$useContext","$fL2C6$useState","$fL2C6$useRef","$fL2C6$useCallback","$fL2C6$useMemo","pressProps","$fL2C6$flushSync","$fL2C6$useEffect","$5319z$useRef","$5319z$useCallback","eventTarget","$3s2y0$useRef","$3s2y0$useState","$3s2y0$useCallback","isFocused","$hZqKM$useState","$hZqKM$useRef","$hZqKM$useEffect","$hZqKM$useMemo","triggerHoverEnd","hoverProps","$9s8kH$createContext","$6Xi9O$createContext","$cGkLv$createContext","$3T2N1$intlcalendararAEmjs","$3T2N1$intlcalendarbgBGmjs","$3T2N1$intlcalendarcsCZmjs","$3T2N1$intlcalendardaDKmjs","$3T2N1$intlcalendardeDEmjs","$3T2N1$intlcalendarelGRmjs","$3T2N1$intlcalendarenUSmjs","$3T2N1$intlcalendaresESmjs","$3T2N1$intlcalendaretEEmjs","$3T2N1$intlcalendarfiFImjs","$3T2N1$intlcalendarfrFRmjs","$3T2N1$intlcalendarheILmjs","$3T2N1$intlcalendarhrHRmjs","$3T2N1$intlcalendarhuHUmjs","$3T2N1$intlcalendaritITmjs","$3T2N1$intlcalendarjaJPmjs","$3T2N1$intlcalendarkoKRmjs","$3T2N1$intlcalendarltLTmjs","$3T2N1$intlcalendarlvLVmjs","$3T2N1$intlcalendarnbNOmjs","$3T2N1$intlcalendarnlNLmjs","$3T2N1$intlcalendarplPLmjs","$3T2N1$intlcalendarptBRmjs","$3T2N1$intlcalendarptPTmjs","$3T2N1$intlcalendarroROmjs","$3T2N1$intlcalendarruRUmjs","$3T2N1$intlcalendarskSKmjs","$3T2N1$intlcalendarslSImjs","$3T2N1$intlcalendarsrSPmjs","$3T2N1$intlcalendarsvSEmjs","$3T2N1$intlcalendartrTRmjs","$3T2N1$intlcalendarukUAmjs","$3T2N1$intlcalendarzhCNmjs","$3T2N1$intlcalendarzhTWmjs","$1QAm5$useRef","date","res","ms","_type","$guoDu$useMemo","$guoDu$DateFormatter","$parcel$interopDefault","$4SBhA$intlStringsmjs","$4SBhA$useMemo","$4SBhA$isSameDay","$4SBhA$startOfMonth","$4SBhA$endOfMonth","$iuQV4$useRef","$iuQV4$useEffect","$aPiNG$intlStringsmjs","$aPiNG$useState","$aLm0I$useMemo","$aLm0I$startOfWeek","$aLm0I$today","$aLm0I$getWeeksInMonth","$4UXHm$useState","id","$8nrHP$intlStringsmjs","$8nrHP$isSameDay","$8nrHP$isEqualDay","$8nrHP$useMemo","$8nrHP$isToday","label","$8nrHP$useRef","$8nrHP$useEffect","$ijDZM$startOfYear","$ijDZM$startOfMonth","$ijDZM$startOfWeek","$ijDZM$maxDate","$ijDZM$toCalendarDate","$ijDZM$minDate","$aoVcW$useMemo","$aoVcW$DateFormatter","$aoVcW$toCalendar","$aoVcW$toCalendarDate","$aoVcW$today","$aoVcW$useState","$aoVcW$isEqualCalendar","$aoVcW$GregorianCalendar","$aoVcW$startOfWeek","$aoVcW$startOfMonth","$aoVcW$endOfWeek","$aoVcW$endOfMonth","$aoVcW$isSameDay","$aoVcW$getDayOfWeek","$48drk$useState","$48drk$useMemo","Element","$48drk$react","$drly1$createContext","$drly1$forwardRef","$drly1$useLocale","$drly1$useCalendarState","$drly1$createCalendar","$drly1$useCalendar","$drly1$filterDOMProps","$drly1$react","$drly1$mergeProps","$drly1$VisuallyHidden","$drly1$useContext","$drly1$useCalendarGrid","$drly1$endOfMonth","$drly1$isSameMonth","$drly1$isToday","$drly1$useRef","$drly1$useCalendarCell","$drly1$useHover","$drly1$useFocusRing","$drly1$isSameDay","CalendarStateContext","CalendarDate"],"mappings":";;;;;;;;;;;;;;;;AAYI,SAAS,6CAA6C,WAAW;AACjE,SAAO,IAAI,SAAO;AACd,aAAS,YAAY,UAAU,KA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AiB,CAAC,EAAE,uBAA4C;AAC3E,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA,IACE,kBAAkB,EAAE,kBAAkB;AAE1C,SACE,qBAAC,OAAA,EAAI,WAAU,yBACb,UAAA;AAAA,IAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAU;AAAA,QACV,cAAW;AAAA,QACX,SAAS;AAAA,QACT,UAAA,oBAAC,iBAAA,EAAgB,eAAY,OAAA,CAAO;AAAA,MAAA;AAAA,IAAA;AAAA,IAEtC,qBAAC,OAAA,EAAI,WAAU,kCACb,UAAA;AAAA,MAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,cAAc,YAAY;AAAA,UAC1B,aAAY;AAAA,UACZ,UAAU;AAAA,UACV,SAAS;AAAA,QAAA;AAAA,MAAA;AAAA,MAEX;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,cAAc,YAAY;AAAA,UAC1B,aAAY;AAAA,UACZ,UAAU;AAAA,UACV,SAAS;AAAA,QAAA;AAAA,MAAA;AAAA,IACX,GACF;AAAA,IACA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAU;AAAA,QACV,cAAW;AAAA,QACX,SAAS;AAAA,QACT,UAAA,oBAAC,kBAAA,EAAiB,eAAY,OAAA,CAAO;AAAA,MAAA;AAAA,IAAA;AAAA,EACvC,GACF;AAEJ;","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115]}
|