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A,EAAA,kD,E,iB,C,GAMD,EAAA,MAAA,CAAA,EAAA,oBAAA,IAAgB,GAJhB,IAAA,EAAA,EAAA,mBAIO,SAAS,UAEd,CADY,AAAA,CAAA,EAAA,EAAA,QAAQ,AAAR,KACC,AAAkB,aAAlB,OAAO,QAIb,OAAO,MAAM,CAAC,KAAK,EARA,GAS5B,C,E,C,kB,Q,iD,O,E,E,E,C,E","sources":["<anon>","packages/@react-spectrum/utils/src/index.ts","packages/@react-spectrum/utils/src/classNames.ts","packages/@react-spectrum/utils/src/getWrappedElement.tsx","packages/@react-spectrum/utils/src/useMediaQuery.ts","packages/@react-spectrum/utils/src/useDOMRef.ts","packages/@react-spectrum/utils/src/styleProps.ts","packages/@react-spectrum/utils/src/BreakpointProvider.tsx","packages/@react-spectrum/utils/src/Slots.tsx","packages/@react-spectrum/utils/src/useHasChild.ts","packages/@react-spectrum/utils/src/useIsMobileDevice.ts"],"sourcesContent":["// modules are defined as an array\n// [ module function, map of requires ]\n//\n// map of requires is short require name -> numeric require\n//\n// anything defined in a previous bundle is accessed via the\n// orig method which is the require for previous bundles\n\n(function (modules, entry, mainEntry, parcelRequireName, globalName) {\n /* eslint-disable no-undef */\n var globalObject =\n typeof globalThis !== 'undefined'\n ? globalThis\n : typeof self !== 'undefined'\n ? self\n : typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {};\n /* eslint-enable no-undef */\n\n // Save the require from previous bundle to this closure if any\n var previousRequire =\n typeof globalObject[parcelRequireName] === 'function' &&\n globalObject[parcelRequireName];\n\n var cache = previousRequire.cache || {};\n // Do not use `require` to prevent Webpack from trying to bundle this call\n var nodeRequire =\n typeof module !== 'undefined' &&\n typeof module.require === 'function' &&\n module.require.bind(module);\n\n function newRequire(name, jumped) {\n if (!cache[name]) {\n if (!modules[name]) {\n // if we cannot find the module within our internal map or\n // cache jump to the current global require ie. the last bundle\n // that was added to the page.\n var currentRequire =\n typeof globalObject[parcelRequireName] === 'function' &&\n globalObject[parcelRequireName];\n if (!jumped && currentRequire) {\n return currentRequire(name, true);\n }\n\n // If there are other bundles on this page the require from the\n // previous one is saved to 'previousRequire'. Repeat this as\n // many times as there are bundles until the module is found or\n // we exhaust the require chain.\n if (previousRequire) {\n return previousRequire(name, true);\n }\n\n // Try the node require function if it exists.\n if (nodeRequire && typeof name === 'string') {\n return nodeRequire(name);\n }\n\n var err = new Error(\"Cannot find module '\" + name + \"'\");\n err.code = 'MODULE_NOT_FOUND';\n throw err;\n }\n\n localRequire.resolve = resolve;\n localRequire.cache = {};\n\n var module = (cache[name] = new newRequire.Module(name));\n\n modules[name][0].call(\n module.exports,\n localRequire,\n module,\n module.exports,\n globalObject\n );\n }\n\n return cache[name].exports;\n\n function localRequire(x) {\n var res = localRequire.resolve(x);\n return res === false ? {} : newRequire(res);\n }\n\n function resolve(x) {\n var id = modules[name][1][x];\n return id != null ? id : x;\n }\n }\n\n function Module(moduleName) {\n this.id = moduleName;\n this.bundle = newRequire;\n this.exports = {};\n }\n\n newRequire.isParcelRequire = true;\n newRequire.Module = Module;\n newRequire.modules = modules;\n newRequire.cache = cache;\n newRequire.parent = previousRequire;\n newRequire.register = function (id, exports) {\n modules[id] = [\n function (require, module) {\n module.exports = exports;\n },\n {},\n ];\n };\n\n Object.defineProperty(newRequire, 'root', {\n get: function () {\n return globalObject[parcelRequireName];\n },\n });\n\n globalObject[parcelRequireName] = newRequire;\n\n for (var i = 0; i < entry.length; i++) {\n newRequire(entry[i]);\n }\n\n if (mainEntry) {\n // Expose entry point to Node, AMD or browser globals\n // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js\n var mainExports = newRequire(mainEntry);\n\n // CommonJS\n if (typeof exports === 'object' && typeof module !== 'undefined') {\n module.exports = mainExports;\n\n // RequireJS\n } else if (typeof define === 'function' && define.amd) {\n define(function () {\n return mainExports;\n });\n\n // <script>\n } else if (globalName) {\n this[globalName] = mainExports;\n }\n }\n})({\"bebxO\":[function(require,module,exports,__globalThis) {\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 */ /// <reference types=\"css-module-types\" />\nvar parcelHelpers = require(\"@parcel/transformer-js/src/esmodule-helpers.js\");\nparcelHelpers.defineInteropFlag(exports);\nparcelHelpers.export(exports, \"shouldKeepSpectrumClassNames\", ()=>(0, _classNames.shouldKeepSpectrumClassNames));\nparcelHelpers.export(exports, \"keepSpectrumClassNames\", ()=>(0, _classNames.keepSpectrumClassNames));\nparcelHelpers.export(exports, \"classNames\", ()=>(0, _classNames.classNames));\nparcelHelpers.export(exports, \"getWrappedElement\", ()=>(0, _getWrappedElement.getWrappedElement));\nparcelHelpers.export(exports, \"useMediaQuery\", ()=>(0, _useMediaQuery.useMediaQuery));\nparcelHelpers.export(exports, \"createDOMRef\", ()=>(0, _useDOMRef.createDOMRef));\nparcelHelpers.export(exports, \"createFocusableRef\", ()=>(0, _useDOMRef.createFocusableRef));\nparcelHelpers.export(exports, \"useDOMRef\", ()=>(0, _useDOMRef.useDOMRef));\nparcelHelpers.export(exports, \"useFocusableRef\", ()=>(0, _useDOMRef.useFocusableRef));\nparcelHelpers.export(exports, \"unwrapDOMRef\", ()=>(0, _useDOMRef.unwrapDOMRef));\nparcelHelpers.export(exports, \"useUnwrapDOMRef\", ()=>(0, _useDOMRef.useUnwrapDOMRef));\nparcelHelpers.export(exports, \"baseStyleProps\", ()=>(0, _styleProps.baseStyleProps));\nparcelHelpers.export(exports, \"viewStyleProps\", ()=>(0, _styleProps.viewStyleProps));\nparcelHelpers.export(exports, \"dimensionValue\", ()=>(0, _styleProps.dimensionValue));\nparcelHelpers.export(exports, \"responsiveDimensionValue\", ()=>(0, _styleProps.responsiveDimensionValue));\nparcelHelpers.export(exports, \"convertStyleProps\", ()=>(0, _styleProps.convertStyleProps));\nparcelHelpers.export(exports, \"useStyleProps\", ()=>(0, _styleProps.useStyleProps));\nparcelHelpers.export(exports, \"passthroughStyle\", ()=>(0, _styleProps.passthroughStyle));\nparcelHelpers.export(exports, \"getResponsiveProp\", ()=>(0, _styleProps.getResponsiveProp));\nparcelHelpers.export(exports, \"useSlotProps\", ()=>(0, _slots.useSlotProps));\nparcelHelpers.export(exports, \"cssModuleToSlots\", ()=>(0, _slots.cssModuleToSlots));\nparcelHelpers.export(exports, \"SlotProvider\", ()=>(0, _slots.SlotProvider));\nparcelHelpers.export(exports, \"ClearSlots\", ()=>(0, _slots.ClearSlots));\nparcelHelpers.export(exports, \"useHasChild\", ()=>(0, _useHasChild.useHasChild));\nparcelHelpers.export(exports, \"useIsMobileDevice\", ()=>(0, _useIsMobileDevice.useIsMobileDevice));\nparcelHelpers.export(exports, \"useValueEffect\", ()=>(0, _utils.useValueEffect));\nparcelHelpers.export(exports, \"BreakpointProvider\", ()=>(0, _breakpointProvider.BreakpointProvider));\nparcelHelpers.export(exports, \"useMatchedBreakpoints\", ()=>(0, _breakpointProvider.useMatchedBreakpoints));\nparcelHelpers.export(exports, \"useBreakpoint\", ()=>(0, _breakpointProvider.useBreakpoint));\nparcelHelpers.export(exports, \"useResizeObserver\", ()=>(0, _utils.useResizeObserver));\nvar _classNames = require(\"./classNames\");\nvar _getWrappedElement = require(\"./getWrappedElement\");\nvar _useMediaQuery = require(\"./useMediaQuery\");\nvar _useDOMRef = require(\"./useDOMRef\");\nvar _styleProps = require(\"./styleProps\");\nvar _slots = require(\"./Slots\");\nvar _useHasChild = require(\"./useHasChild\");\nvar _useIsMobileDevice = require(\"./useIsMobileDevice\");\nvar _utils = require(\"@react-aria/utils\");\nvar _breakpointProvider = require(\"./BreakpointProvider\");\n\n},{\"./classNames\":\"48STA\",\"./getWrappedElement\":\"69a8J\",\"./useMediaQuery\":\"bMGcn\",\"./useDOMRef\":\"eE3gf\",\"./styleProps\":\"iXAXC\",\"./Slots\":\"5IMBP\",\"./useHasChild\":\"1BbKc\",\"./useIsMobileDevice\":\"30sEK\",\"@react-aria/utils\":\"e9Yvo\",\"./BreakpointProvider\":\"jkbKa\",\"@parcel/transformer-js/src/esmodule-helpers.js\":\"diccK\"}],\"48STA\":[function(require,module,exports,__globalThis) {\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 */ var parcelHelpers = require(\"@parcel/transformer-js/src/esmodule-helpers.js\");\nparcelHelpers.defineInteropFlag(exports);\nparcelHelpers.export(exports, \"shouldKeepSpectrumClassNames\", ()=>shouldKeepSpectrumClassNames);\nparcelHelpers.export(exports, \"keepSpectrumClassNames\", ()=>keepSpectrumClassNames);\nparcelHelpers.export(exports, \"classNames\", ()=>classNames);\nvar _clsx = require(\"clsx\");\nvar _clsxDefault = parcelHelpers.interopDefault(_clsx);\nlet shouldKeepSpectrumClassNames = false;\nfunction keepSpectrumClassNames() {\n shouldKeepSpectrumClassNames = true;\n console.warn(\"Legacy spectrum-prefixed class names enabled for backward compatibility. We recommend replacing instances of CSS overrides targeting spectrum selectors in your app with custom class names of your own, and disabling this flag.\");\n}\nfunction classNames(cssModule, ...values) {\n let classes = [];\n for (let value of values){\n if (typeof value === 'object' && value) {\n let mapped = {};\n for(let key in value){\n if (cssModule[key]) mapped[cssModule[key]] = value[key];\n if (shouldKeepSpectrumClassNames || !cssModule[key]) mapped[key] = value[key];\n }\n classes.push(mapped);\n } else if (typeof value === 'string') {\n if (cssModule[value]) classes.push(cssModule[value]);\n if (shouldKeepSpectrumClassNames || !cssModule[value]) classes.push(value);\n } else classes.push(value);\n }\n return (0, _clsxDefault.default)(...classes);\n}\n\n},{\"clsx\":\"8TJoV\",\"@parcel/transformer-js/src/esmodule-helpers.js\":\"diccK\"}],\"69a8J\":[function(require,module,exports,__globalThis) {\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 */ var parcelHelpers = require(\"@parcel/transformer-js/src/esmodule-helpers.js\");\nparcelHelpers.defineInteropFlag(exports);\nparcelHelpers.export(exports, \"getWrappedElement\", ()=>getWrappedElement);\nvar _react = require(\"react\");\nvar _reactDefault = parcelHelpers.interopDefault(_react);\nfunction getWrappedElement(children) {\n let element;\n if (typeof children === 'string') element = /*#__PURE__*/ (0, _reactDefault.default).createElement(\"span\", null, children);\n else element = (0, _reactDefault.default).Children.only(children);\n return element;\n}\n\n},{\"react\":\"jEiK2\",\"@parcel/transformer-js/src/esmodule-helpers.js\":\"diccK\"}],\"bMGcn\":[function(require,module,exports,__globalThis) {\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 */ var parcelHelpers = require(\"@parcel/transformer-js/src/esmodule-helpers.js\");\nparcelHelpers.defineInteropFlag(exports);\nparcelHelpers.export(exports, \"useMediaQuery\", ()=>useMediaQuery);\nvar _react = require(\"react\");\nvar _ssr = require(\"@react-aria/ssr\");\nfunction useMediaQuery(query) {\n let supportsMatchMedia = typeof window !== 'undefined' && typeof window.matchMedia === 'function';\n let [matches, setMatches] = (0, _react.useState)(()=>supportsMatchMedia ? window.matchMedia(query).matches : false);\n (0, _react.useEffect)(()=>{\n if (!supportsMatchMedia) return;\n let mq = window.matchMedia(query);\n let onChange = (evt)=>{\n setMatches(evt.matches);\n };\n mq.addListener(onChange);\n return ()=>{\n mq.removeListener(onChange);\n };\n }, [\n supportsMatchMedia,\n query\n ]);\n // If in SSR, the media query should never match. Once the page hydrates,\n // this will update and the real value will be returned.\n let isSSR = (0, _ssr.useIsSSR)();\n return isSSR ? false : matches;\n}\n\n},{\"react\":\"jEiK2\",\"@react-aria/ssr\":\"jNw7O\",\"@parcel/transformer-js/src/esmodule-helpers.js\":\"diccK\"}],\"eE3gf\":[function(require,module,exports,__globalThis) {\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 */ var parcelHelpers = require(\"@parcel/transformer-js/src/esmodule-helpers.js\");\nparcelHelpers.defineInteropFlag(exports);\nparcelHelpers.export(exports, \"createDOMRef\", ()=>createDOMRef);\nparcelHelpers.export(exports, \"createFocusableRef\", ()=>createFocusableRef);\nparcelHelpers.export(exports, \"useDOMRef\", ()=>useDOMRef);\nparcelHelpers.export(exports, \"useFocusableRef\", ()=>useFocusableRef);\nparcelHelpers.export(exports, \"unwrapDOMRef\", ()=>unwrapDOMRef);\nparcelHelpers.export(exports, \"useUnwrapDOMRef\", ()=>useUnwrapDOMRef);\nvar _react = require(\"react\");\nfunction createDOMRef(ref) {\n return {\n UNSAFE_getDOMNode () {\n return ref.current;\n }\n };\n}\nfunction createFocusableRef(domRef, focusableRef = domRef) {\n return {\n ...createDOMRef(domRef),\n focus () {\n if (focusableRef.current) focusableRef.current.focus();\n }\n };\n}\nfunction useDOMRef(ref) {\n let domRef = (0, _react.useRef)(null);\n (0, _react.useImperativeHandle)(ref, ()=>createDOMRef(domRef));\n return domRef;\n}\nfunction useFocusableRef(ref, focusableRef) {\n let domRef = (0, _react.useRef)(null);\n (0, _react.useImperativeHandle)(ref, ()=>createFocusableRef(domRef, focusableRef));\n return domRef;\n}\nfunction unwrapDOMRef(ref) {\n return {\n get current () {\n return ref.current && ref.current.UNSAFE_getDOMNode();\n }\n };\n}\nfunction useUnwrapDOMRef(ref) {\n return (0, _react.useMemo)(()=>unwrapDOMRef(ref), [\n ref\n ]);\n}\n\n},{\"react\":\"jEiK2\",\"@parcel/transformer-js/src/esmodule-helpers.js\":\"diccK\"}],\"iXAXC\":[function(require,module,exports,__globalThis) {\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 */ var parcelHelpers = require(\"@parcel/transformer-js/src/esmodule-helpers.js\");\nparcelHelpers.defineInteropFlag(exports);\nparcelHelpers.export(exports, \"baseStyleProps\", ()=>baseStyleProps);\nparcelHelpers.export(exports, \"viewStyleProps\", ()=>viewStyleProps);\nparcelHelpers.export(exports, \"dimensionValue\", ()=>dimensionValue);\nparcelHelpers.export(exports, \"responsiveDimensionValue\", ()=>responsiveDimensionValue);\nparcelHelpers.export(exports, \"convertStyleProps\", ()=>convertStyleProps);\nparcelHelpers.export(exports, \"useStyleProps\", ()=>useStyleProps);\nparcelHelpers.export(exports, \"passthroughStyle\", ()=>passthroughStyle);\nparcelHelpers.export(exports, \"getResponsiveProp\", ()=>getResponsiveProp);\nvar _breakpointProvider = require(\"./BreakpointProvider\");\nvar _i18N = require(\"@react-aria/i18n\");\nconst baseStyleProps = {\n margin: [\n 'margin',\n dimensionValue\n ],\n marginStart: [\n rtl('marginLeft', 'marginRight'),\n dimensionValue\n ],\n marginEnd: [\n rtl('marginRight', 'marginLeft'),\n dimensionValue\n ],\n // marginLeft: ['marginLeft', dimensionValue],\n // marginRight: ['marginRight', dimensionValue],\n marginTop: [\n 'marginTop',\n dimensionValue\n ],\n marginBottom: [\n 'marginBottom',\n dimensionValue\n ],\n marginX: [\n [\n 'marginLeft',\n 'marginRight'\n ],\n dimensionValue\n ],\n marginY: [\n [\n 'marginTop',\n 'marginBottom'\n ],\n dimensionValue\n ],\n width: [\n 'width',\n dimensionValue\n ],\n height: [\n 'height',\n dimensionValue\n ],\n minWidth: [\n 'minWidth',\n dimensionValue\n ],\n minHeight: [\n 'minHeight',\n dimensionValue\n ],\n maxWidth: [\n 'maxWidth',\n dimensionValue\n ],\n maxHeight: [\n 'maxHeight',\n dimensionValue\n ],\n isHidden: [\n 'display',\n hiddenValue\n ],\n alignSelf: [\n 'alignSelf',\n passthroughStyle\n ],\n justifySelf: [\n 'justifySelf',\n passthroughStyle\n ],\n position: [\n 'position',\n anyValue\n ],\n zIndex: [\n 'zIndex',\n anyValue\n ],\n top: [\n 'top',\n dimensionValue\n ],\n bottom: [\n 'bottom',\n dimensionValue\n ],\n start: [\n rtl('left', 'right'),\n dimensionValue\n ],\n end: [\n rtl('right', 'left'),\n dimensionValue\n ],\n left: [\n 'left',\n dimensionValue\n ],\n right: [\n 'right',\n dimensionValue\n ],\n order: [\n 'order',\n anyValue\n ],\n flex: [\n 'flex',\n flexValue\n ],\n flexGrow: [\n 'flexGrow',\n passthroughStyle\n ],\n flexShrink: [\n 'flexShrink',\n passthroughStyle\n ],\n flexBasis: [\n 'flexBasis',\n passthroughStyle\n ],\n gridArea: [\n 'gridArea',\n passthroughStyle\n ],\n gridColumn: [\n 'gridColumn',\n passthroughStyle\n ],\n gridColumnEnd: [\n 'gridColumnEnd',\n passthroughStyle\n ],\n gridColumnStart: [\n 'gridColumnStart',\n passthroughStyle\n ],\n gridRow: [\n 'gridRow',\n passthroughStyle\n ],\n gridRowEnd: [\n 'gridRowEnd',\n passthroughStyle\n ],\n gridRowStart: [\n 'gridRowStart',\n passthroughStyle\n ]\n};\nconst viewStyleProps = {\n ...baseStyleProps,\n backgroundColor: [\n 'backgroundColor',\n backgroundColorValue\n ],\n borderWidth: [\n 'borderWidth',\n borderSizeValue\n ],\n borderStartWidth: [\n rtl('borderLeftWidth', 'borderRightWidth'),\n borderSizeValue\n ],\n borderEndWidth: [\n rtl('borderRightWidth', 'borderLeftWidth'),\n borderSizeValue\n ],\n borderLeftWidth: [\n 'borderLeftWidth',\n borderSizeValue\n ],\n borderRightWidth: [\n 'borderRightWidth',\n borderSizeValue\n ],\n borderTopWidth: [\n 'borderTopWidth',\n borderSizeValue\n ],\n borderBottomWidth: [\n 'borderBottomWidth',\n borderSizeValue\n ],\n borderXWidth: [\n [\n 'borderLeftWidth',\n 'borderRightWidth'\n ],\n borderSizeValue\n ],\n borderYWidth: [\n [\n 'borderTopWidth',\n 'borderBottomWidth'\n ],\n borderSizeValue\n ],\n borderColor: [\n 'borderColor',\n borderColorValue\n ],\n borderStartColor: [\n rtl('borderLeftColor', 'borderRightColor'),\n borderColorValue\n ],\n borderEndColor: [\n rtl('borderRightColor', 'borderLeftColor'),\n borderColorValue\n ],\n borderLeftColor: [\n 'borderLeftColor',\n borderColorValue\n ],\n borderRightColor: [\n 'borderRightColor',\n borderColorValue\n ],\n borderTopColor: [\n 'borderTopColor',\n borderColorValue\n ],\n borderBottomColor: [\n 'borderBottomColor',\n borderColorValue\n ],\n borderXColor: [\n [\n 'borderLeftColor',\n 'borderRightColor'\n ],\n borderColorValue\n ],\n borderYColor: [\n [\n 'borderTopColor',\n 'borderBottomColor'\n ],\n borderColorValue\n ],\n borderRadius: [\n 'borderRadius',\n borderRadiusValue\n ],\n borderTopStartRadius: [\n rtl('borderTopLeftRadius', 'borderTopRightRadius'),\n borderRadiusValue\n ],\n borderTopEndRadius: [\n rtl('borderTopRightRadius', 'borderTopLeftRadius'),\n borderRadiusValue\n ],\n borderBottomStartRadius: [\n rtl('borderBottomLeftRadius', 'borderBottomRightRadius'),\n borderRadiusValue\n ],\n borderBottomEndRadius: [\n rtl('borderBottomRightRadius', 'borderBottomLeftRadius'),\n borderRadiusValue\n ],\n borderTopLeftRadius: [\n 'borderTopLeftRadius',\n borderRadiusValue\n ],\n borderTopRightRadius: [\n 'borderTopRightRadius',\n borderRadiusValue\n ],\n borderBottomLeftRadius: [\n 'borderBottomLeftRadius',\n borderRadiusValue\n ],\n borderBottomRightRadius: [\n 'borderBottomRightRadius',\n borderRadiusValue\n ],\n padding: [\n 'padding',\n dimensionValue\n ],\n paddingStart: [\n rtl('paddingLeft', 'paddingRight'),\n dimensionValue\n ],\n paddingEnd: [\n rtl('paddingRight', 'paddingLeft'),\n dimensionValue\n ],\n paddingLeft: [\n 'paddingLeft',\n dimensionValue\n ],\n paddingRight: [\n 'paddingRight',\n dimensionValue\n ],\n paddingTop: [\n 'paddingTop',\n dimensionValue\n ],\n paddingBottom: [\n 'paddingBottom',\n dimensionValue\n ],\n paddingX: [\n [\n 'paddingLeft',\n 'paddingRight'\n ],\n dimensionValue\n ],\n paddingY: [\n [\n 'paddingTop',\n 'paddingBottom'\n ],\n dimensionValue\n ],\n overflow: [\n 'overflow',\n passthroughStyle\n ]\n};\nconst borderStyleProps = {\n borderWidth: 'borderStyle',\n borderLeftWidth: 'borderLeftStyle',\n borderRightWidth: 'borderRightStyle',\n borderTopWidth: 'borderTopStyle',\n borderBottomWidth: 'borderBottomStyle'\n};\nfunction rtl(ltr, rtl) {\n return (direction)=>direction === 'rtl' ? rtl : ltr;\n}\nconst UNIT_RE = /(%|px|em|rem|vw|vh|auto|cm|mm|in|pt|pc|ex|ch|rem|vmin|vmax|fr)$/;\nconst FUNC_RE = /^\\s*\\w+\\(/;\nconst SPECTRUM_VARIABLE_RE = /(static-)?size-\\d+|single-line-(height|width)/g;\nfunction dimensionValue(value) {\n if (typeof value === 'number') return value + 'px';\n if (!value) return undefined;\n if (UNIT_RE.test(value)) return value;\n if (FUNC_RE.test(value)) return value.replace(SPECTRUM_VARIABLE_RE, 'var(--spectrum-global-dimension-$&, var(--spectrum-alias-$&))');\n return `var(--spectrum-global-dimension-${value}, var(--spectrum-alias-${value}))`;\n}\nfunction responsiveDimensionValue(value, matchedBreakpoints) {\n let responsiveValue = getResponsiveProp(value, matchedBreakpoints);\n if (responsiveValue != null) return dimensionValue(responsiveValue);\n}\nfunction colorValue(value, type = 'default', version = 5) {\n if (version > 5) return `var(--spectrum-${value}, var(--spectrum-semantic-${value}-color-${type}))`;\n return `var(--spectrum-legacy-color-${value}, var(--spectrum-global-color-${value}, var(--spectrum-semantic-${value}-color-${type})))`;\n}\nfunction backgroundColorValue(value, version = 5) {\n if (!value) return undefined;\n return `var(--spectrum-alias-background-color-${value}, ${colorValue(value, 'background', version)})`;\n}\nfunction borderColorValue(value, version = 5) {\n if (!value) return undefined;\n if (value === 'default') return 'var(--spectrum-alias-border-color)';\n return `var(--spectrum-alias-border-color-${value}, ${colorValue(value, 'border', version)})`;\n}\nfunction borderSizeValue(value) {\n return value && value !== 'none' ? `var(--spectrum-alias-border-size-${value})` : '0';\n}\nfunction borderRadiusValue(value) {\n if (!value) return undefined;\n return `var(--spectrum-alias-border-radius-${value})`;\n}\nfunction hiddenValue(value) {\n return value ? 'none' : undefined;\n}\nfunction anyValue(value) {\n return value;\n}\nfunction flexValue(value) {\n if (typeof value === 'boolean') return value ? '1' : undefined;\n return '' + value;\n}\nfunction convertStyleProps(props, handlers, direction, matchedBreakpoints) {\n let style = {};\n for(let key in props){\n let styleProp = handlers[key];\n if (!styleProp || props[key] == null) continue;\n let [name, convert] = styleProp;\n if (typeof name === 'function') name = name(direction);\n let prop = getResponsiveProp(props[key], matchedBreakpoints);\n let value = convert(prop, props.colorVersion);\n if (Array.isArray(name)) for (let k of name)style[k] = value;\n else style[name] = value;\n }\n for(let prop in borderStyleProps)if (style[prop]) {\n style[borderStyleProps[prop]] = 'solid';\n style.boxSizing = 'border-box';\n }\n return style;\n}\nfunction useStyleProps(props, handlers = baseStyleProps, options = {}) {\n let { UNSAFE_className, UNSAFE_style, ...otherProps } = props;\n let breakpointProvider = (0, _breakpointProvider.useBreakpoint)();\n let { direction } = (0, _i18N.useLocale)();\n let { matchedBreakpoints = breakpointProvider?.matchedBreakpoints || [\n 'base'\n ] } = options;\n let styles = convertStyleProps(props, handlers, direction, matchedBreakpoints);\n let style = {\n ...UNSAFE_style,\n ...styles\n };\n // @ts-ignore\n if (otherProps.className) console.warn(\"The className prop is unsafe and is unsupported in React Spectrum v3. Please use style props with Spectrum variables, or UNSAFE_className if you absolutely must do something custom. Note that this may break in future versions due to DOM structure changes.\");\n // @ts-ignore\n if (otherProps.style) console.warn(\"The style prop is unsafe and is unsupported in React Spectrum v3. Please use style props with Spectrum variables, or UNSAFE_style if you absolutely must do something custom. Note that this may break in future versions due to DOM structure changes.\");\n let styleProps = {\n style,\n className: UNSAFE_className\n };\n if (getResponsiveProp(props.isHidden, matchedBreakpoints)) styleProps.hidden = true;\n return {\n styleProps\n };\n}\nfunction passthroughStyle(value) {\n return value;\n}\nfunction getResponsiveProp(prop, matchedBreakpoints) {\n if (prop && typeof prop === 'object' && !Array.isArray(prop)) {\n for(let i = 0; i < matchedBreakpoints.length; i++){\n let breakpoint = matchedBreakpoints[i];\n if (prop[breakpoint] != null) return prop[breakpoint];\n }\n return prop.base;\n }\n return prop;\n}\n\n},{\"./BreakpointProvider\":\"jkbKa\",\"@react-aria/i18n\":\"hFrKJ\",\"@parcel/transformer-js/src/esmodule-helpers.js\":\"diccK\"}],\"jkbKa\":[function(require,module,exports,__globalThis) {\nvar parcelHelpers = require(\"@parcel/transformer-js/src/esmodule-helpers.js\");\nparcelHelpers.defineInteropFlag(exports);\nparcelHelpers.export(exports, \"BreakpointProvider\", ()=>BreakpointProvider);\nparcelHelpers.export(exports, \"useMatchedBreakpoints\", ()=>useMatchedBreakpoints);\nparcelHelpers.export(exports, \"useBreakpoint\", ()=>useBreakpoint);\nvar _react = require(\"react\");\nvar _reactDefault = parcelHelpers.interopDefault(_react);\nvar _ssr = require(\"@react-aria/ssr\");\nconst Context = /*#__PURE__*/ (0, _reactDefault.default).createContext(null);\nContext.displayName = 'BreakpointContext';\nfunction BreakpointProvider(props) {\n let { children, matchedBreakpoints } = props;\n return /*#__PURE__*/ (0, _reactDefault.default).createElement(Context.Provider, {\n value: {\n matchedBreakpoints\n }\n }, children);\n}\nfunction useMatchedBreakpoints(breakpoints) {\n let entries = Object.entries(breakpoints).sort(([, valueA], [, valueB])=>valueB - valueA);\n let breakpointQueries = entries.map(([, value])=>`(min-width: ${value}px)`);\n let supportsMatchMedia = typeof window !== 'undefined' && typeof window.matchMedia === 'function';\n let getBreakpointHandler = ()=>{\n let matched = [];\n for(let i in breakpointQueries){\n let query = breakpointQueries[i];\n if (window.matchMedia(query).matches) matched.push(entries[i][0]);\n }\n matched.push('base');\n return matched;\n };\n let [breakpoint, setBreakpoint] = (0, _react.useState)(()=>supportsMatchMedia ? getBreakpointHandler() : [\n 'base'\n ]);\n (0, _react.useEffect)(()=>{\n if (!supportsMatchMedia) return;\n let onResize = ()=>{\n const breakpointHandler = getBreakpointHandler();\n setBreakpoint((previousBreakpointHandler)=>{\n if (previousBreakpointHandler.length !== breakpointHandler.length || previousBreakpointHandler.some((breakpoint, idx)=>breakpoint !== breakpointHandler[idx])) return [\n ...breakpointHandler\n ]; // Return a new array to force state change\n return previousBreakpointHandler;\n });\n };\n window.addEventListener('resize', onResize);\n return ()=>{\n window.removeEventListener('resize', onResize);\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n supportsMatchMedia\n ]);\n // If in SSR, the media query should never match. Once the page hydrates,\n // this will update and the real value will be returned.\n let isSSR = (0, _ssr.useIsSSR)();\n return isSSR ? [\n 'base'\n ] : breakpoint;\n}\nfunction useBreakpoint() {\n return (0, _react.useContext)(Context);\n}\n\n},{\"react\":\"jEiK2\",\"@react-aria/ssr\":\"jNw7O\",\"@parcel/transformer-js/src/esmodule-helpers.js\":\"diccK\"}],\"5IMBP\":[function(require,module,exports,__globalThis) {\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 */ var parcelHelpers = require(\"@parcel/transformer-js/src/esmodule-helpers.js\");\nparcelHelpers.defineInteropFlag(exports);\nparcelHelpers.export(exports, \"useSlotProps\", ()=>useSlotProps);\nparcelHelpers.export(exports, \"cssModuleToSlots\", ()=>cssModuleToSlots);\nparcelHelpers.export(exports, \"SlotProvider\", ()=>SlotProvider);\nparcelHelpers.export(exports, \"ClearSlots\", ()=>ClearSlots);\nvar _utils = require(\"@react-aria/utils\");\nvar _react = require(\"react\");\nvar _reactDefault = parcelHelpers.interopDefault(_react);\nlet SlotContext = /*#__PURE__*/ (0, _reactDefault.default).createContext(null);\nfunction useSlotProps(props, defaultSlot) {\n let slot = props.slot || defaultSlot;\n // @ts-ignore TODO why is slot an object and not just string or undefined?\n let { [slot]: slotProps = {} } = (0, _react.useContext)(SlotContext) || {};\n return (0, _utils.mergeProps)(props, (0, _utils.mergeProps)(slotProps, {\n id: props.id\n }));\n}\nfunction cssModuleToSlots(cssModule) {\n return Object.keys(cssModule).reduce((acc, slot)=>{\n acc[slot] = {\n UNSAFE_className: cssModule[slot]\n };\n return acc;\n }, {});\n}\nfunction SlotProvider(props) {\n // eslint-disable-next-line react-hooks/exhaustive-deps\n let parentSlots = (0, _react.useContext)(SlotContext) || {};\n let { slots = {}, children } = props;\n // Merge props for each slot from parent context and props\n let value = (0, _react.useMemo)(()=>Object.keys(parentSlots).concat(Object.keys(slots)).reduce((o, p)=>({\n ...o,\n [p]: (0, _utils.mergeProps)(parentSlots[p] || {}, slots[p] || {})\n }), {}), [\n parentSlots,\n slots\n ]);\n return /*#__PURE__*/ (0, _reactDefault.default).createElement(SlotContext.Provider, {\n value: value\n }, children);\n}\nfunction ClearSlots(props) {\n let { children, ...otherProps } = props;\n let content = children;\n if ((0, _reactDefault.default).Children.toArray(children).length <= 1) {\n if (typeof children === 'function') content = /*#__PURE__*/ (0, _reactDefault.default).cloneElement((0, _reactDefault.default).Children.only(children), otherProps);\n }\n return /*#__PURE__*/ (0, _reactDefault.default).createElement(SlotContext.Provider, {\n value: {}\n }, content);\n}\n\n},{\"@react-aria/utils\":\"e9Yvo\",\"react\":\"jEiK2\",\"@parcel/transformer-js/src/esmodule-helpers.js\":\"diccK\"}],\"1BbKc\":[function(require,module,exports,__globalThis) {\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 */ var parcelHelpers = require(\"@parcel/transformer-js/src/esmodule-helpers.js\");\nparcelHelpers.defineInteropFlag(exports);\nparcelHelpers.export(exports, \"useHasChild\", ()=>useHasChild);\nvar _utils = require(\"@react-aria/utils\");\nvar _react = require(\"react\");\nfunction useHasChild(query, ref) {\n let [hasChild, setHasChild] = (0, _react.useState)(true);\n (0, _utils.useLayoutEffect)(()=>{\n setHasChild(!!(ref.current && ref.current.querySelector(query)));\n }, [\n setHasChild,\n query,\n ref\n ]);\n return hasChild;\n}\n\n},{\"@react-aria/utils\":\"e9Yvo\",\"react\":\"jEiK2\",\"@parcel/transformer-js/src/esmodule-helpers.js\":\"diccK\"}],\"30sEK\":[function(require,module,exports,__globalThis) {\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 */ var parcelHelpers = require(\"@parcel/transformer-js/src/esmodule-helpers.js\");\nparcelHelpers.defineInteropFlag(exports);\nparcelHelpers.export(exports, \"useIsMobileDevice\", ()=>useIsMobileDevice);\nvar _ssr = require(\"@react-aria/ssr\");\nconst MOBILE_SCREEN_WIDTH = 700;\nfunction useIsMobileDevice() {\n let isSSR = (0, _ssr.useIsSSR)();\n if (isSSR || typeof window === 'undefined') return false;\n return window.screen.width <= MOBILE_SCREEN_WIDTH;\n}\n\n},{\"@react-aria/ssr\":\"jNw7O\",\"@parcel/transformer-js/src/esmodule-helpers.js\":\"diccK\"}]},[], null, \"parcelRequire94c2\")\n\n//# sourceMappingURL=useCalendar.stories.33ad385e.js.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 */\n\n/// <reference types=\"css-module-types\" />\n\nexport type {StyleHandlers} from './styleProps';\nexport {shouldKeepSpectrumClassNames, keepSpectrumClassNames, classNames} from './classNames';\nexport {getWrappedElement} from './getWrappedElement';\nexport {useMediaQuery} from './useMediaQuery';\nexport {createDOMRef, createFocusableRef, useDOMRef, useFocusableRef, unwrapDOMRef, useUnwrapDOMRef} from './useDOMRef';\nexport {\n baseStyleProps,\n viewStyleProps,\n dimensionValue,\n responsiveDimensionValue,\n convertStyleProps,\n useStyleProps,\n passthroughStyle,\n getResponsiveProp\n} from './styleProps';\nexport {useSlotProps, cssModuleToSlots, SlotProvider, ClearSlots} from './Slots';\nexport {useHasChild} from './useHasChild';\nexport {useIsMobileDevice} from './useIsMobileDevice';\nexport {useValueEffect} from '@react-aria/utils';\nexport {BreakpointProvider, useMatchedBreakpoints, useBreakpoint} from './BreakpointProvider';\nexport {useResizeObserver} from '@react-aria/utils';\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\nimport _clsx from 'clsx';\n\nexport let shouldKeepSpectrumClassNames = false;\n\nexport function keepSpectrumClassNames() {\n shouldKeepSpectrumClassNames = true;\n console.warn(\n 'Legacy spectrum-prefixed class names enabled for backward compatibility. ' +\n 'We recommend replacing instances of CSS overrides targeting spectrum selectors ' +\n 'in your app with custom class names of your own, and disabling this flag.'\n );\n}\n\nexport function classNames(cssModule: {[key: string]: string}, ...values: Array<string | Object | undefined>): string {\n let classes: Array<{} | undefined> = [];\n for (let value of values) {\n if (typeof value === 'object' && value) {\n let mapped = {};\n for (let key in value) {\n if (cssModule[key]) {\n mapped[cssModule[key]] = value[key];\n }\n\n if (shouldKeepSpectrumClassNames || !cssModule[key]) {\n mapped[key] = value[key];\n }\n }\n\n classes.push(mapped);\n } else if (typeof value === 'string') {\n if (cssModule[value]) {\n classes.push(cssModule[value]);\n }\n\n if (shouldKeepSpectrumClassNames || !cssModule[value]) {\n classes.push(value);\n }\n } else {\n classes.push(value);\n }\n }\n\n return _clsx(...classes);\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\nimport React, {JSXElementConstructor, ReactElement, ReactNode} from 'react';\n\nexport function getWrappedElement(children: string | ReactElement | ReactNode): ReactElement<any, JSXElementConstructor<any>> {\n let element;\n if (typeof children === 'string') {\n element = <span>{children}</span>;\n } else {\n element = React.Children.only(children);\n }\n return element;\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\nimport {useEffect, useState} from 'react';\nimport {useIsSSR} from '@react-aria/ssr';\n\nexport function useMediaQuery(query: string) {\n let supportsMatchMedia = typeof window !== 'undefined' && typeof window.matchMedia === 'function';\n let [matches, setMatches] = useState(() =>\n supportsMatchMedia\n ? window.matchMedia(query).matches\n : false\n );\n\n useEffect(() => {\n if (!supportsMatchMedia) {\n return;\n }\n\n let mq = window.matchMedia(query);\n let onChange = (evt) => {\n setMatches(evt.matches);\n };\n\n mq.addListener(onChange);\n return () => {\n mq.removeListener(onChange);\n };\n }, [supportsMatchMedia, query]);\n\n // If in SSR, the media query should never match. Once the page hydrates,\n // this will update and the real value will be returned.\n let isSSR = useIsSSR();\n return isSSR ? false : matches;\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\nimport {DOMRef, DOMRefValue, FocusableElement, FocusableRef, FocusableRefValue, RefObject} from '@react-types/shared';\nimport {useImperativeHandle, useMemo, useRef} from 'react';\n\nexport function createDOMRef<T extends HTMLElement = HTMLElement>(ref: RefObject<T | null>): DOMRefValue<T> {\n return {\n UNSAFE_getDOMNode() {\n return ref.current;\n }\n };\n}\n\nexport function createFocusableRef<T extends HTMLElement = HTMLElement>(domRef: RefObject<T | null>, focusableRef: RefObject<FocusableElement | null> = domRef): FocusableRefValue<T> {\n return {\n ...createDOMRef(domRef),\n focus() {\n if (focusableRef.current) {\n focusableRef.current.focus();\n }\n }\n };\n}\n\nexport function useDOMRef<T extends HTMLElement = HTMLElement>(ref: DOMRef<T>): RefObject<T | null> {\n let domRef = useRef<T>(null);\n useImperativeHandle(ref, () => createDOMRef(domRef));\n return domRef;\n}\n\nexport function useFocusableRef<T extends HTMLElement = HTMLElement>(ref: FocusableRef<T>, focusableRef?: RefObject<FocusableElement | null>): RefObject<T | null> {\n let domRef = useRef<T>(null);\n useImperativeHandle(ref, () => createFocusableRef(domRef, focusableRef));\n return domRef;\n}\n\nexport function unwrapDOMRef<T extends HTMLElement>(ref: RefObject<DOMRefValue<T> | null>): RefObject<T | null> {\n return {\n get current() {\n return ref.current && ref.current.UNSAFE_getDOMNode();\n }\n };\n}\n\nexport function useUnwrapDOMRef<T extends HTMLElement>(ref: RefObject<DOMRefValue<T> | null>) : RefObject<T | null> {\n return useMemo(() => unwrapDOMRef(ref), [ref]);\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\nimport {BackgroundColorValue, BorderColorValue, BorderRadiusValue, BorderSizeValue, ColorValue, ColorVersion, DimensionValue, Direction, Responsive, ResponsiveProp, StyleProps, ViewStyleProps} from '@react-types/shared';\nimport {CSSProperties, HTMLAttributes} from 'react';\nimport {useBreakpoint} from './BreakpointProvider';\nimport {useLocale} from '@react-aria/i18n';\n\ntype Breakpoint = 'base' | 'S' | 'M' | 'L' | string;\ntype StyleName = string | string[] | ((dir: Direction) => string);\ntype StyleHandler = (value: any, colorVersion?: number) => string | undefined;\nexport interface StyleHandlers {\n [key: string]: [StyleName, StyleHandler]\n}\n\nexport const baseStyleProps: StyleHandlers = {\n margin: ['margin', dimensionValue],\n marginStart: [rtl('marginLeft', 'marginRight'), dimensionValue],\n marginEnd: [rtl('marginRight', 'marginLeft'), dimensionValue],\n // marginLeft: ['marginLeft', dimensionValue],\n // marginRight: ['marginRight', dimensionValue],\n marginTop: ['marginTop', dimensionValue],\n marginBottom: ['marginBottom', dimensionValue],\n marginX: [['marginLeft', 'marginRight'], dimensionValue],\n marginY: [['marginTop', 'marginBottom'], dimensionValue],\n width: ['width', dimensionValue],\n height: ['height', dimensionValue],\n minWidth: ['minWidth', dimensionValue],\n minHeight: ['minHeight', dimensionValue],\n maxWidth: ['maxWidth', dimensionValue],\n maxHeight: ['maxHeight', dimensionValue],\n isHidden: ['display', hiddenValue],\n alignSelf: ['alignSelf', passthroughStyle],\n justifySelf: ['justifySelf', passthroughStyle],\n position: ['position', anyValue],\n zIndex: ['zIndex', anyValue],\n top: ['top', dimensionValue],\n bottom: ['bottom', dimensionValue],\n start: [rtl('left', 'right'), dimensionValue],\n end: [rtl('right', 'left'), dimensionValue],\n left: ['left', dimensionValue],\n right: ['right', dimensionValue],\n order: ['order', anyValue],\n flex: ['flex', flexValue],\n flexGrow: ['flexGrow', passthroughStyle],\n flexShrink: ['flexShrink', passthroughStyle],\n flexBasis: ['flexBasis', passthroughStyle],\n gridArea: ['gridArea', passthroughStyle],\n gridColumn: ['gridColumn', passthroughStyle],\n gridColumnEnd: ['gridColumnEnd', passthroughStyle],\n gridColumnStart: ['gridColumnStart', passthroughStyle],\n gridRow: ['gridRow', passthroughStyle],\n gridRowEnd: ['gridRowEnd', passthroughStyle],\n gridRowStart: ['gridRowStart', passthroughStyle]\n};\n\nexport const viewStyleProps: StyleHandlers = {\n ...baseStyleProps,\n backgroundColor: ['backgroundColor', backgroundColorValue],\n borderWidth: ['borderWidth', borderSizeValue],\n borderStartWidth: [rtl('borderLeftWidth', 'borderRightWidth'), borderSizeValue],\n borderEndWidth: [rtl('borderRightWidth', 'borderLeftWidth'), borderSizeValue],\n borderLeftWidth: ['borderLeftWidth', borderSizeValue],\n borderRightWidth: ['borderRightWidth', borderSizeValue],\n borderTopWidth: ['borderTopWidth', borderSizeValue],\n borderBottomWidth: ['borderBottomWidth', borderSizeValue],\n borderXWidth: [['borderLeftWidth', 'borderRightWidth'], borderSizeValue],\n borderYWidth: [['borderTopWidth', 'borderBottomWidth'], borderSizeValue],\n borderColor: ['borderColor', borderColorValue],\n borderStartColor: [rtl('borderLeftColor', 'borderRightColor'), borderColorValue],\n borderEndColor: [rtl('borderRightColor', 'borderLeftColor'), borderColorValue],\n borderLeftColor: ['borderLeftColor', borderColorValue],\n borderRightColor: ['borderRightColor', borderColorValue],\n borderTopColor: ['borderTopColor', borderColorValue],\n borderBottomColor: ['borderBottomColor', borderColorValue],\n borderXColor: [['borderLeftColor', 'borderRightColor'], borderColorValue],\n borderYColor: [['borderTopColor', 'borderBottomColor'], borderColorValue],\n borderRadius: ['borderRadius', borderRadiusValue],\n borderTopStartRadius: [rtl('borderTopLeftRadius', 'borderTopRightRadius'), borderRadiusValue],\n borderTopEndRadius: [rtl('borderTopRightRadius', 'borderTopLeftRadius'), borderRadiusValue],\n borderBottomStartRadius: [rtl('borderBottomLeftRadius', 'borderBottomRightRadius'), borderRadiusValue],\n borderBottomEndRadius: [rtl('borderBottomRightRadius', 'borderBottomLeftRadius'), borderRadiusValue],\n borderTopLeftRadius: ['borderTopLeftRadius', borderRadiusValue],\n borderTopRightRadius: ['borderTopRightRadius', borderRadiusValue],\n borderBottomLeftRadius: ['borderBottomLeftRadius', borderRadiusValue],\n borderBottomRightRadius: ['borderBottomRightRadius', borderRadiusValue],\n padding: ['padding', dimensionValue],\n paddingStart: [rtl('paddingLeft', 'paddingRight'), dimensionValue],\n paddingEnd: [rtl('paddingRight', 'paddingLeft'), dimensionValue],\n paddingLeft: ['paddingLeft', dimensionValue],\n paddingRight: ['paddingRight', dimensionValue],\n paddingTop: ['paddingTop', dimensionValue],\n paddingBottom: ['paddingBottom', dimensionValue],\n paddingX: [['paddingLeft', 'paddingRight'], dimensionValue],\n paddingY: [['paddingTop', 'paddingBottom'], dimensionValue],\n overflow: ['overflow', passthroughStyle]\n};\n\nconst borderStyleProps = {\n borderWidth: 'borderStyle',\n borderLeftWidth: 'borderLeftStyle',\n borderRightWidth: 'borderRightStyle',\n borderTopWidth: 'borderTopStyle',\n borderBottomWidth: 'borderBottomStyle'\n};\n\nfunction rtl(ltr: string, rtl: string) {\n return (direction: Direction) => (\n direction === 'rtl' ? rtl : ltr\n );\n}\n\nconst UNIT_RE = /(%|px|em|rem|vw|vh|auto|cm|mm|in|pt|pc|ex|ch|rem|vmin|vmax|fr)$/;\nconst FUNC_RE = /^\\s*\\w+\\(/;\nconst SPECTRUM_VARIABLE_RE = /(static-)?size-\\d+|single-line-(height|width)/g;\n\nexport function dimensionValue(value: DimensionValue) {\n if (typeof value === 'number') {\n return value + 'px';\n }\n\n if (!value) {\n return undefined;\n }\n\n if (UNIT_RE.test(value)) {\n return value;\n }\n\n if (FUNC_RE.test(value)) {\n return value.replace(SPECTRUM_VARIABLE_RE, 'var(--spectrum-global-dimension-$&, var(--spectrum-alias-$&))');\n }\n\n return `var(--spectrum-global-dimension-${value}, var(--spectrum-alias-${value}))`;\n}\n\nexport function responsiveDimensionValue(value: Responsive<DimensionValue>, matchedBreakpoints: Breakpoint[]) {\n let responsiveValue = getResponsiveProp(value, matchedBreakpoints);\n if (responsiveValue != null) {\n return dimensionValue(responsiveValue);\n }\n}\n\ntype ColorType = 'default' | 'background' | 'border' | 'icon' | 'status';\nfunction colorValue(value: ColorValue, type: ColorType = 'default', version = 5) {\n if (version > 5) {\n return `var(--spectrum-${value}, var(--spectrum-semantic-${value}-color-${type}))`;\n }\n\n return `var(--spectrum-legacy-color-${value}, var(--spectrum-global-color-${value}, var(--spectrum-semantic-${value}-color-${type})))`;\n}\n\nfunction backgroundColorValue(value: BackgroundColorValue, version = 5) {\n if (!value) {\n return undefined;\n }\n\n return `var(--spectrum-alias-background-color-${value}, ${colorValue(value as ColorValue, 'background', version)})`;\n}\n\nfunction borderColorValue(value: BorderColorValue, version = 5) {\n if (!value) {\n return undefined;\n }\n\n if (value === 'default') {\n return 'var(--spectrum-alias-border-color)';\n }\n\n return `var(--spectrum-alias-border-color-${value}, ${colorValue(value as ColorValue, 'border', version)})`;\n}\n\nfunction borderSizeValue(value?: BorderSizeValue | null) {\n return value && value !== 'none'\n ? `var(--spectrum-alias-border-size-${value})`\n : '0';\n}\n\nfunction borderRadiusValue(value: BorderRadiusValue) {\n if (!value) {\n return undefined;\n }\n\n return `var(--spectrum-alias-border-radius-${value})`;\n}\n\nfunction hiddenValue(value: boolean) {\n return value ? 'none' : undefined;\n}\n\nfunction anyValue(value: any) {\n return value;\n}\n\nfunction flexValue(value: boolean | number | string) {\n if (typeof value === 'boolean') {\n return value ? '1' : undefined;\n }\n\n return '' + value;\n}\n\nexport function convertStyleProps<C extends ColorVersion>(props: ViewStyleProps<C>, handlers: StyleHandlers, direction: Direction, matchedBreakpoints: Breakpoint[]) {\n let style: CSSProperties = {};\n for (let key in props) {\n let styleProp = handlers[key];\n if (!styleProp || props[key] == null) {\n continue;\n }\n\n let [name, convert] = styleProp;\n if (typeof name === 'function') {\n name = name(direction);\n }\n\n let prop = getResponsiveProp(props[key], matchedBreakpoints);\n let value = convert(prop, props.colorVersion);\n if (Array.isArray(name)) {\n for (let k of name) {\n style[k] = value;\n }\n } else {\n style[name] = value;\n }\n }\n\n for (let prop in borderStyleProps) {\n if (style[prop]) {\n style[borderStyleProps[prop]] = 'solid';\n style.boxSizing = 'border-box';\n }\n }\n\n return style;\n}\n\ntype StylePropsOptions = {\n matchedBreakpoints?: Breakpoint[]\n};\n\nexport function useStyleProps<T extends StyleProps>(\n props: T,\n handlers: StyleHandlers = baseStyleProps,\n options: StylePropsOptions = {}\n) {\n let {\n UNSAFE_className,\n UNSAFE_style,\n ...otherProps\n } = props;\n let breakpointProvider = useBreakpoint();\n let {direction} = useLocale();\n let {\n matchedBreakpoints = breakpointProvider?.matchedBreakpoints || ['base']\n } = options;\n let styles = convertStyleProps(props, handlers, direction, matchedBreakpoints);\n let style = {...UNSAFE_style, ...styles};\n\n // @ts-ignore\n if (otherProps.className) {\n console.warn(\n 'The className prop is unsafe and is unsupported in React Spectrum v3. ' +\n 'Please use style props with Spectrum variables, or UNSAFE_className if you absolutely must do something custom. ' +\n 'Note that this may break in future versions due to DOM structure changes.'\n );\n }\n\n // @ts-ignore\n if (otherProps.style) {\n console.warn(\n 'The style prop is unsafe and is unsupported in React Spectrum v3. ' +\n 'Please use style props with Spectrum variables, or UNSAFE_style if you absolutely must do something custom. ' +\n 'Note that this may break in future versions due to DOM structure changes.'\n );\n }\n\n let styleProps: HTMLAttributes<HTMLElement> = {\n style,\n className: UNSAFE_className\n };\n\n if (getResponsiveProp(props.isHidden, matchedBreakpoints)) {\n styleProps.hidden = true;\n }\n\n return {\n styleProps\n };\n}\n\nexport function passthroughStyle(value) {\n return value;\n}\n\nexport function getResponsiveProp<T>(prop: Responsive<T>, matchedBreakpoints: Breakpoint[]): T | undefined {\n if (prop && typeof prop === 'object' && !Array.isArray(prop)) {\n for (let i = 0; i < matchedBreakpoints.length; i++) {\n let breakpoint = matchedBreakpoints[i];\n if (prop[breakpoint] != null) {\n return prop[breakpoint];\n }\n }\n return (prop as ResponsiveProp<T>).base;\n }\n return prop as T;\n}\n","import React, {ReactNode, useContext, useEffect, useState} from 'react';\nimport {useIsSSR} from '@react-aria/ssr';\n\ninterface Breakpoints {\n S?: number,\n M?: number,\n L?: number,\n [custom: string]: number | undefined\n}\n\ninterface BreakpointContext {\n matchedBreakpoints: string[]\n}\n\nconst Context = React.createContext<BreakpointContext | null>(null);\nContext.displayName = 'BreakpointContext';\n\ninterface BreakpointProviderProps {\n children?: ReactNode,\n matchedBreakpoints: string[]\n}\n\nexport function BreakpointProvider(props: BreakpointProviderProps) {\n let {\n children,\n matchedBreakpoints\n } = props;\n return (\n <Context.Provider\n value={{matchedBreakpoints}} >\n {children}\n </Context.Provider>\n );\n}\n\nexport function useMatchedBreakpoints(breakpoints: Breakpoints): string[] {\n let entries = Object.entries(breakpoints).sort(([, valueA], [, valueB]) => valueB! - valueA!);\n let breakpointQueries = entries.map(([, value]) => `(min-width: ${value}px)`);\n\n let supportsMatchMedia = typeof window !== 'undefined' && typeof window.matchMedia === 'function';\n let getBreakpointHandler = () => {\n let matched: string[] = [];\n for (let i in breakpointQueries) {\n let query = breakpointQueries[i];\n if (window.matchMedia(query).matches) {\n matched.push(entries[i][0]);\n }\n }\n matched.push('base');\n return matched;\n };\n\n let [breakpoint, setBreakpoint] = useState(() =>\n supportsMatchMedia\n ? getBreakpointHandler()\n : ['base']\n );\n\n useEffect(() => {\n if (!supportsMatchMedia) {\n return;\n }\n\n let onResize = () => {\n const breakpointHandler = getBreakpointHandler();\n\n setBreakpoint(previousBreakpointHandler => {\n if (previousBreakpointHandler.length !== breakpointHandler.length ||\n previousBreakpointHandler.some((breakpoint, idx) => breakpoint !== breakpointHandler[idx])) {\n return [...breakpointHandler]; // Return a new array to force state change\n }\n\n return previousBreakpointHandler;\n });\n };\n\n window.addEventListener('resize', onResize);\n return () => {\n window.removeEventListener('resize', onResize);\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [supportsMatchMedia]);\n\n // If in SSR, the media query should never match. Once the page hydrates,\n // this will update and the real value will be returned.\n let isSSR = useIsSSR();\n return isSSR ? ['base'] : breakpoint;\n}\n\nexport function useBreakpoint() {\n return useContext(Context);\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\nimport {mergeProps} from '@react-aria/utils';\nimport React, {useContext, useMemo} from 'react';\n\ninterface SlotProps {\n slot?: string\n}\n\nlet SlotContext = React.createContext<{} | null>(null);\n\nexport function useSlotProps<T>(props: T & {id?: string}, defaultSlot?: string): T {\n let slot = (props as SlotProps).slot || defaultSlot;\n // @ts-ignore TODO why is slot an object and not just string or undefined?\n let {[slot]: slotProps = {}} = useContext(SlotContext) || {};\n\n return mergeProps(props, mergeProps(slotProps, {id: props.id}));\n}\n\nexport function cssModuleToSlots(cssModule) {\n return Object.keys(cssModule).reduce((acc, slot) => {\n acc[slot] = {UNSAFE_className: cssModule[slot]};\n return acc;\n }, {});\n}\n\nexport function SlotProvider(props) {\n // eslint-disable-next-line react-hooks/exhaustive-deps\n let parentSlots = useContext(SlotContext) || {};\n let {slots = {}, children} = props;\n\n // Merge props for each slot from parent context and props\n let value = useMemo(() =>\n Object.keys(parentSlots)\n .concat(Object.keys(slots))\n .reduce((o, p) => ({\n ...o,\n [p]: mergeProps(parentSlots[p] || {}, slots[p] || {})}), {})\n , [parentSlots, slots]);\n\n return (\n <SlotContext.Provider value={value}>\n {children}\n </SlotContext.Provider>\n );\n}\n\nexport function ClearSlots(props) {\n let {children, ...otherProps} = props;\n let content = children;\n if (React.Children.toArray(children).length <= 1) {\n if (typeof children === 'function') { // need to know if the node is a string or something else that react can render that doesn't get props\n content = React.cloneElement(React.Children.only(children), otherProps);\n }\n }\n return (\n <SlotContext.Provider value={{}}>\n {content}\n </SlotContext.Provider>\n );\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\nimport {RefObject} from '@react-types/shared';\nimport {useLayoutEffect} from '@react-aria/utils';\nimport {useState} from 'react';\n\nexport function useHasChild(query: string, ref: RefObject<HTMLElement | null>) {\n let [hasChild, setHasChild] = useState(true);\n useLayoutEffect(() => {\n setHasChild(!!(ref.current && ref.current.querySelector(query)));\n }, [setHasChild, query, ref]);\n return hasChild;\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\nimport {useIsSSR} from '@react-aria/ssr';\n\nconst MOBILE_SCREEN_WIDTH = 700;\n\nexport function useIsMobileDevice(): boolean {\n let isSSR = useIsSSR();\n if (isSSR || typeof window === 'undefined') {\n return false;\n }\n\n return window.screen.width <= MOBILE_SCREEN_WIDTH;\n}\n"],"names":["modules","entry","mainEntry","parcelRequireName","globalName","globalObject","globalThis","self","window","global","previousRequire","cache","nodeRequire","module","require","bind","newRequire","name","jumped","currentRequire","err","Error","code","localRequire","resolve","x","id","Module","call","exports","res","isParcelRequire","moduleName","bundle","parent","register","Object","defineProperty","get","i","length","__globalThis","parcelHelpers","defineInteropFlag","export","_classNames","shouldKeepSpectrumClassNames","keepSpectrumClassNames","classNames","_getWrappedElement","getWrappedElement","_useMediaQuery","useMediaQuery","_useDOMRef","createDOMRef","createFocusableRef","useDOMRef","useFocusableRef","unwrapDOMRef","useUnwrapDOMRef","_styleProps","baseStyleProps","viewStyleProps","dimensionValue","responsiveDimensionValue","convertStyleProps","useStyleProps","passthroughStyle","getResponsiveProp","_slots","useSlotProps","cssModuleToSlots","SlotProvider","ClearSlots","_useHasChild","useHasChild","_useIsMobileDevice","useIsMobileDevice","_utils","useValueEffect","_breakpointProvider","BreakpointProvider","useMatchedBreakpoints","useBreakpoint","useResizeObserver","_clsx","_clsxDefault","interopDefault","console","warn","cssModule","values","classes","value","mapped","key","push","default","_react","_reactDefault","children","createElement","Children","only","_ssr","query","supportsMatchMedia","matchMedia","matches","setMatches","useState","useEffect","mq","onChange","evt","addListener","removeListener","isSSR","useIsSSR","ref","UNSAFE_getDOMNode","current","domRef","focusableRef","focus","useRef","useImperativeHandle","useMemo","_i18N","margin","marginStart","rtl","marginEnd","marginTop","marginBottom","marginX","marginY","width","height","minWidth","minHeight","maxWidth","maxHeight","isHidden","undefined","alignSelf","justifySelf","position","anyValue","zIndex","top","bottom","start","end","left","right","order","flex","flexGrow","flexShrink","flexBasis","gridArea","gridColumn","gridColumnEnd","gridColumnStart","gridRow","gridRowEnd","gridRowStart","backgroundColor","version","colorValue","borderWidth","borderSizeValue","borderStartWidth","borderEndWidth","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth","borderXWidth","borderYWidth","borderColor","borderColorValue","borderStartColor","borderEndColor","borderLeftColor","borderRightColor","borderTopColor","borderBottomColor","borderXColor","borderYColor","borderRadius","borderRadiusValue","borderTopStartRadius","borderTopEndRadius","borderBottomStartRadius","borderBottomEndRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","padding","paddingStart","paddingEnd","paddingLeft","paddingRight","paddingTop","paddingBottom","paddingX","paddingY","overflow","borderStyleProps","ltr","direction","UNIT_RE","FUNC_RE","SPECTRUM_VARIABLE_RE","test","replace","matchedBreakpoints","responsiveValue","type","props","handlers","style","styleProp","convert","colorVersion","Array","isArray","k","prop","boxSizing","options","UNSAFE_className","UNSAFE_style","otherProps","breakpointProvider","useLocale","styles","className","styleProps","hidden","breakpoint","base","Context","createContext","Provider","breakpoints","entries","sort","valueA","valueB","breakpointQueries","map","getBreakpointHandler","matched","setBreakpoint","onResize","breakpointHandler","previousBreakpointHandler","some","idx","addEventListener","removeEventListener","useContext","displayName","SlotContext","defaultSlot","slot","slotProps","mergeProps","keys","reduce","acc","parentSlots","slots","concat","o","p","content","toArray","cloneElement","hasChild","setHasChild","useLayoutEffect","querySelector","screen"],"version":3,"file":"useCalendar.stories.33ad385e.js.map"}