@commercetools/nimbus 0.0.5-rc4 → 0.0.5-rc7

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/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/components/avatar/avatar.recipe.tsx","../src/components/avatar/avatar.slots.tsx","../src/components/avatar/avatar.tsx","../src/components/box/box.tsx","../src/components/button/button.recipe.ts","../../../node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","../../../node_modules/.pnpm/@emotion+is-prop-valid@1.3.1/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js","../src/components/button/button.slots.tsx","../src/components/button/button.tsx","../src/components/dialog/dialog.tsx","../src/components/icon-button/icon-button.tsx","../src/components/link/link.recipe.ts","../src/components/link/link.slots.tsx","../src/components/link/link.tsx","../src/components/list/list.tsx","../src/components/simple-grid/simple-grid.tsx","../src/components/table/table.tsx","../src/components/text/text.tsx","../src/components/tooltip/tooltip.recipe.ts","../src/components/tooltip/tooltip.slots.ts","../src/components/tooltip/tooltip.tsx","../src/components/tooltip/tooltip-trigger.tsx","../src/components/tooltip/make-element-focusable.tsx","../../../node_modules/.pnpm/next-themes@0.4.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next-themes/dist/index.mjs","../src/components/nimbus-provider/color-mode.tsx","../src/theme/animation-styles.ts","../src/theme/breakpoints.ts","../src/theme/global-css.ts","../src/theme/keyframes.ts","../src/theme/layer-styles.ts","../src/components/code/code.recipe.ts","../src/components/heading/heading.recipe.ts","../src/components/kbd/kbd.recipe.ts","../src/components/text-input/text-input.recipe.tsx","../src/theme/recipes/index.ts","../src/theme/semantic-tokens/colors.ts","../src/theme/semantic-tokens/shadows.ts","../src/theme/semantic-tokens/radii.ts","../src/theme/semantic-tokens/index.ts","../src/components/dialog/dialog.recipe.ts","../src/components/list/list.recipe.ts","../src/components/table/table.recipe.ts","../src/components/checkbox/checkbox.recipe.tsx","../src/components/select/select.recipe.tsx","../src/components/accordion/accordion.recipe.tsx","../src/theme/slot-recipes/index.ts","../src/theme/text-styles.ts","../src/theme/tokens/aspect-ratios.ts","../src/theme/tokens/animations.ts","../src/theme/tokens/blurs.ts","../src/theme/tokens/borders.ts","../src/theme/tokens/colors.ts","../src/theme/tokens/durations.ts","../src/theme/tokens/easings.ts","../src/theme/tokens/fonts.ts","../src/theme/tokens/font-sizes.ts","../src/theme/tokens/font-weights.ts","../src/theme/tokens/letter-spacings.ts","../src/theme/tokens/line-heights.ts","../src/theme/tokens/radii.ts","../src/theme/tokens/spacing.ts","../src/theme/tokens/sizes.ts","../src/theme/tokens/z-index.ts","../src/theme/tokens/cursor.ts","../src/theme/tokens/index.ts","../src/theme/index.ts","../src/components/nimbus-provider/nimbus-provider.tsx","../src/utils/extractStyleProps.ts","../src/components/checkbox/checkbox.slots.tsx","../src/components/checkbox/checkbox.tsx","../src/components/stack/stack.tsx","../src/components/visually-hidden/visually-hidden.tsx","../src/components/text-input/text-input.slots.tsx","../src/components/text-input/text-input.tsx","../src/components/grid/grid.tsx","../src/components/select/select.slots.tsx","../src/components/select/components/select.clear-button.tsx","../src/components/select/components/select.root.tsx","../src/utils/fixedForwardRef.ts","../src/components/select/components/select.options.tsx","../src/components/select/components/select.option.tsx","../src/components/select/components/select.option-group.tsx","../src/components/select/select.tsx","../src/components/accordion/accordion.slots.tsx","../src/components/accordion/accordion-context.tsx","../src/components/accordion/components/accordion-group.tsx","../src/components/accordion/components/accordion-header.tsx","../src/components/accordion/components/accordion-content.tsx","../src/components/accordion/components/accordion-item.tsx","../src/components/accordion/accordion.tsx","../src/components/loading-spinner/loading-spinner.recipe.tsx","../src/components/loading-spinner/loading-spinner.slots.tsx","../src/components/loading-spinner/loading-spinner.tsx","../src/components/card/card.recipe.tsx","../src/components/card/card.slots.tsx","../src/components/card/components/card.root.tsx","../src/components/card/components/card.header.tsx","../src/components/card/components/card.content.tsx","../src/components/card/card.tsx","../src/components/badge/badge.recipe.tsx","../src/components/badge/badge.slots.tsx","../src/components/badge/badge.tsx","../src/components/alert/alert.recipe.tsx","../src/components/alert/alert.slots.tsx","../src/components/alert/components/alert.root.tsx","../src/components/alert/components/alert.title.tsx","../src/components/alert/components/alert.description.tsx","../src/components/alert/components/alert.actions.tsx","../src/components/alert/components/alert.dismiss-button.tsx","../src/components/alert/alert.tsx","../src/components/toggle-button-group/toggle-button-group.recipe.tsx","../src/components/toggle-button-group/toggle-button-group.slots.tsx","../src/components/toggle-button-group/components/toggle-button-group.root.tsx","../src/components/toggle-button-group/components/toggle-button-group.button.tsx","../src/components/toggle-button-group/toggle-button-group.tsx","../src/components/form-field/form-field.recipe.tsx","../src/components/form-field/form-field.slots.tsx","../src/components/form-field/components/form-field.root.tsx","../src/components/form-field/components/form-field.label.tsx","../src/components/form-field/components/form-field.input.tsx","../src/components/form-field/components/form-field.description.tsx","../src/components/form-field/components/form-field.error.tsx","../src/components/form-field/components/form-field.info-box.tsx","../src/components/form-field/form-field.tsx","../../../node_modules/.pnpm/react-hotkeys-hook@4.6.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-hotkeys-hook/dist/react-hotkeys-hook.esm.js","../../../node_modules/.pnpm/react-use@17.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-use/esm/useMountedState.js","../../../node_modules/.pnpm/react-use@17.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-use/esm/useSetState.js","../../../node_modules/.pnpm/toggle-selection@1.0.6/node_modules/toggle-selection/index.js","../../../node_modules/.pnpm/copy-to-clipboard@3.3.3/node_modules/copy-to-clipboard/index.js","../../../node_modules/.pnpm/react-use@17.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-use/esm/useCopyToClipboard.js"],"sourcesContent":["import { defineRecipe } from \"@chakra-ui/react\";\n\nexport const avatarRecipe = defineRecipe({\n className: \"avatar\",\n base: {\n display: \"inline-flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n verticalAlign: \"middle\",\n overflow: \"hidden\",\n userSelect: \"none\",\n borderRadius: \"full\",\n flexShrink: 0,\n fontWeight: \"600\",\n backgroundColor: \"colorPalette.3\",\n colorPalette: \"primary\",\n color: \"colorPalette.11\",\n focusVisibleRing: \"outside\",\n \"button&\": {\n cursor: \"button\",\n },\n _disabled: {\n layerStyle: \"disabled\",\n },\n },\n variants: {\n size: {\n md: { width: 1000, height: 1000, textStyle: \"sm\" },\n xs: { width: 800, height: 800, textStyle: \"xs\" },\n \"2xs\": { width: 600, height: 600, textStyle: \"xs\" },\n },\n },\n defaultVariants: {\n size: \"md\",\n },\n});\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react\";\nimport { avatarRecipe } from \"./avatar.recipe\";\n\ninterface AvatarRecipeProps extends RecipeProps<\"div\">, UnstyledProp {}\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface AvatarRootProps\n extends HTMLChakraProps<\"div\", AvatarRecipeProps> {}\nconst { withContext } = createRecipeContext({ recipe: avatarRecipe });\n\nexport const AvatarRoot = withContext<HTMLElement, AvatarRootProps>(\"figure\");\n","import { forwardRef } from \"react\";\nimport { Image } from \"@chakra-ui/react\";\nimport { type AvatarProps } from \"./avatar.types\";\nimport { AvatarRoot } from \"./avatar.slots.tsx\";\n\nfunction getInitials(firstName: string, lastName: string) {\n return (\n firstName.split(\"\")[0].toUpperCase() + lastName.split(\"\")[0].toUpperCase()\n );\n}\n\nexport const Avatar = forwardRef<HTMLDivElement, AvatarProps>((props, ref) => {\n const { firstName, lastName, src, alt, ...rest } = props;\n\n const fullName = `${firstName} ${lastName}`;\n\n const sharedProps = {\n \"aria-label\": `${fullName} avatar`,\n ref,\n ...rest,\n };\n return (\n <AvatarRoot {...sharedProps}>\n {src ? (\n // TODO: implement more robust error handling for image\n <Image src={src} alt={alt || fullName} />\n ) : (\n getInitials(firstName, lastName)\n )}\n </AvatarRoot>\n );\n});\n\nAvatar.displayName = \"Avatar\";\n","import { forwardRef } from \"react\";\nimport { Box as ChakraBox, type HTMLChakraProps } from \"@chakra-ui/react\";\nexport interface BoxProps extends HTMLChakraProps<\"div\"> {\n children?: React.ReactNode;\n}\n\nexport const Box = forwardRef<HTMLDivElement, BoxProps>((props, ref) => {\n return <ChakraBox ref={ref} {...props} />;\n});\n\nBox.displayName = \"Box\";\n","import { defineRecipe } from \"@chakra-ui/react\";\n\nexport const buttonRecipe = defineRecipe({\n className: \"nimbus-button\",\n base: {\n borderRadius: \"200\",\n display: \"inline-flex\",\n appearance: \"none\",\n alignItems: \"center\",\n justifyContent: \"center\",\n userSelect: \"none\",\n position: \"relative\",\n whiteSpace: \"nowrap\",\n verticalAlign: \"middle\",\n borderWidth: \"1px\",\n borderColor: \"transparent\",\n cursor: \"button\",\n flexShrink: \"0\",\n outline: \"0\",\n lineHeight: \"1.2\",\n isolation: \"isolate\",\n fontWeight: \"500\",\n transitionProperty: \"common\",\n transitionDuration: \"moderate\",\n focusVisibleRing: \"outside\",\n _disabled: {\n layerStyle: \"disabled\",\n },\n _icon: {\n flexShrink: \"0\",\n },\n },\n variants: {\n size: {\n \"2xs\": {\n h: \"600\",\n minW: \"600\",\n fontSize: \"300\",\n fontWeight: \"500\",\n lineHeight: \"400\",\n px: \"200\",\n gap: \"100\",\n _icon: {\n width: \"400\",\n height: \"400\",\n },\n },\n xs: {\n h: \"800\",\n minW: \"800\",\n fontSize: \"350\",\n fontWeight: \"500\",\n lineHeight: \"400\",\n px: \"300\",\n gap: \"100\",\n _icon: {\n width: \"500\",\n height: \"500\",\n },\n },\n /* sm: {\n h: \"900\",\n minW: \"900\",\n px: \"350\",\n textStyle: \"sm\",\n gap: \"200\",\n _icon: {\n width: \"400\",\n height: \"400\",\n },\n }, */\n md: {\n h: \"1000\",\n minW: \"1000\",\n fontSize: \"400\",\n lineHeight: \"500\",\n px: \"400\",\n gap: \"200\",\n _icon: {\n width: \"600\",\n height: \"600\",\n },\n },\n /* lg: {\n h: \"1100\",\n minW: \"1100\",\n textStyle: \"md\",\n px: \"500\",\n gap: \"300\",\n _icon: {\n width: \"500\",\n height: \"500\",\n },\n }, */\n /* xl: {\n h: \"1200\",\n minW: \"1200\",\n textStyle: \"md\",\n px: \"500\",\n gap: \"250\",\n _icon: {\n width: \"500\",\n height: \"500\",\n },\n }, */\n /* \"2xl\": {\n h: \"1600\",\n minW: \"1600\",\n textStyle: \"lg\",\n px: \"700\",\n gap: \"300\",\n _icon: {\n width: \"600\",\n height: \"600\",\n },\n }, */\n },\n variant: {\n solid: {\n bg: \"colorPalette.9\",\n color: \"colorPalette.contrast\",\n _hover: {\n bg: \"colorPalette.10\",\n },\n _expanded: {\n bg: \"colorPalette.10\",\n },\n },\n subtle: {\n bg: \"colorPalette.3\",\n color: \"colorPalette.11\",\n _hover: {\n bg: \"colorPalette.4\",\n },\n _expanded: {\n bg: \"colorPalette.4\",\n },\n },\n outline: {\n borderWidth: \"1px\",\n borderColor: \"colorPalette.7\",\n color: \"colorPalette.11\",\n transitionProperty: \"background-color, border-color, color\",\n transitionDuration: \"moderate\",\n _hover: {\n bg: \"colorPalette.3\",\n borderColor: \"colorPalette.8\",\n },\n _expanded: {\n bg: \"colorPalette.subtle\",\n },\n },\n ghost: {\n color: \"colorPalette.11\",\n _hover: {\n bg: \"colorPalette.4\",\n },\n _expanded: {\n bg: \"colorPalette.4\",\n },\n },\n link: {\n color: \"colorPalette.11\",\n _hover: {\n textDecoration: \"underline\",\n },\n },\n },\n tone: {\n primary: {\n colorPalette: \"primary\",\n },\n critical: {\n colorPalette: \"critical\",\n },\n neutral: {\n colorPalette: \"neutral\",\n },\n info: {\n colorPalette: \"info\",\n },\n },\n },\n defaultVariants: {\n size: \"md\",\n variant: \"subtle\",\n },\n});\n","function memoize(fn) {\n var cache = Object.create(null);\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport { memoize as default };\n","import memoize from '@emotion/memoize';\n\n// eslint-disable-next-line no-undef\nvar reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23\n\nvar isPropValid = /* #__PURE__ */memoize(function (prop) {\n return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111\n /* o */\n && prop.charCodeAt(1) === 110\n /* n */\n && prop.charCodeAt(2) < 91;\n}\n/* Z+1 */\n);\n\nexport { isPropValid as default };\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n defaultSystem,\n} from \"@chakra-ui/react\";\nimport { buttonRecipe } from \"./button.recipe\";\nimport shouldForwardProp from \"@emotion/is-prop-valid\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the button element.\n */\ninterface ButtonRecipeProps extends RecipeProps<\"button\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport type ButtonRootProps = HTMLChakraProps<\"button\", ButtonRecipeProps>;\n\nconst { withContext } = createRecipeContext({\n recipe: buttonRecipe,\n});\n\n/**\n * Root component that provides the styling context for the Battn component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const ButtonRoot = withContext<HTMLButtonElement, ButtonRootProps>(\n \"button\",\n {\n defaultProps: {\n type: \"button\",\n },\n /** make sure the `onPress` properties won't end up as attribute on the rendered DOM element */\n shouldForwardProp(prop, variantKeys) {\n const chakraSfp =\n !variantKeys?.includes(prop) && !defaultSystem.isValidProperty(prop);\n return shouldForwardProp(prop) && chakraSfp && !prop.includes(\"onPress\");\n },\n }\n);\n","import { forwardRef, useRef } from \"react\";\nimport { useButton, useObjectRef, mergeProps } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport { ButtonRoot } from \"./button.slots.tsx\";\nimport type { ButtonProps } from \"./button.types.ts\";\n\nexport const Button = forwardRef<HTMLButtonElement, ButtonProps>(\n (props, forwardedRef) => {\n const { as, asChild, children, ...rest } = props;\n\n // create a local ref (because the consumer may not provide a forwardedRef)\n const localRef = useRef<HTMLButtonElement>(null);\n // merge the local ref with a potentially forwarded ref\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n // if asChild is set, for react-aria to add the button-role, the elementType\n // has to be manually set to something else than button\n const elementType = as || (asChild ? \"a\" : \"button\") || \"button\";\n\n const { buttonProps } = useButton(\n {\n ...rest,\n elementType,\n },\n ref\n );\n\n return (\n <ButtonRoot {...mergeProps(rest, buttonProps, { as, asChild, ref })}>\n {children}\n </ButtonRoot>\n );\n }\n);\n\n// Manually assign a displayName for debugging purposes\nButton.displayName = \"Button\";\n","import { Dialog as ChakraDialog, Portal } from \"@chakra-ui/react\";\nimport { forwardRef } from \"react\";\nimport { Button } from \"../button\";\n\ninterface DialogContentProps extends ChakraDialog.ContentProps {\n portalled?: boolean;\n portalRef?: React.RefObject<HTMLElement>;\n backdrop?: boolean;\n}\n\nexport const DialogContent = forwardRef<HTMLDivElement, DialogContentProps>(\n function DialogContent(props, ref) {\n const {\n children,\n portalled = true,\n portalRef,\n backdrop = true,\n ...rest\n } = props;\n\n return (\n <Portal disabled={!portalled} container={portalRef}>\n {backdrop && <ChakraDialog.Backdrop />}\n <ChakraDialog.Positioner>\n <ChakraDialog.Content ref={ref} {...rest} asChild={false}>\n {children}\n </ChakraDialog.Content>\n </ChakraDialog.Positioner>\n </Portal>\n );\n }\n);\n\nexport const DialogCloseTrigger = forwardRef<\n HTMLButtonElement,\n ChakraDialog.CloseTriggerProps\n>(function DialogCloseTrigger(props, ref) {\n return (\n <ChakraDialog.CloseTrigger\n position=\"absolute\"\n top=\"2\"\n insetEnd=\"2\"\n {...props}\n asChild\n >\n <Button size=\"xs\" ref={ref}>\n {props.children}\n </Button>\n </ChakraDialog.CloseTrigger>\n );\n});\n\nexport const DialogRoot = ChakraDialog.Root;\nexport const DialogFooter = ChakraDialog.Footer;\nexport const DialogHeader = ChakraDialog.Header;\nexport const DialogBody = ChakraDialog.Body;\nexport const DialogBackdrop = ChakraDialog.Backdrop;\nexport const DialogTitle = ChakraDialog.Title;\nexport const DialogDescription = ChakraDialog.Description;\nexport const DialogTrigger = ChakraDialog.Trigger;\nexport const DialogActionTrigger = ChakraDialog.ActionTrigger;\n","import { forwardRef } from \"react\";\nimport type { IconButtonProps } from \"./icon-button.types\";\nimport { Button } from \"@/components\";\n\n/**\n * IconButton\n * ============================================================\n * displays a button with only an icon as child. It is based\n * on the regular `Button` component, but with a few adjustments.\n */\nexport const IconButton = forwardRef<HTMLButtonElement, IconButtonProps>(\n ({ children, ...props }, ref) => {\n return (\n <Button px={0} py={0} ref={ref} {...props}>\n {children}\n </Button>\n );\n }\n);\n\nIconButton.displayName = \"IconButton\";\n","import { defineRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the Link component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const linkRecipe = defineRecipe({\n className: \"nimbus-link\",\n // Base styles applied to all instances of the component\n base: {\n display: \"inline-flex\",\n alignItems: \"center\",\n color: \"colorPalette.11\",\n borderRadius: \"100\",\n focusVisibleRing: \"outside\",\n bg: \"transparent\",\n outline: \"none\",\n cursor: \"pointer\",\n textDecoration: \"underline\",\n textUnderlineOffset: \"3px\",\n _hover: {\n textDecorationThickness: \"12%\",\n },\n },\n // Available variants for customizing the component's appearance\n variants: {\n // Size variants from smallest to largest\n size: {\n xs: {\n fontSize: \"300\",\n lineHeight: \"450\",\n },\n sm: {\n fontSize: \"350\",\n lineHeight: \"500\",\n },\n md: {\n fontSize: \"400\",\n lineHeight: \"600\",\n },\n },\n // style variants\n fontColor: {\n primary: {\n color: \"primary\",\n },\n inherit: {\n color: \"inherit\",\n },\n },\n },\n});\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react\";\n\nimport { linkRecipe } from \"./link.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the a element.\n */\ninterface LinkRecipeProps extends RecipeProps<\"a\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport type LinkRootProps = HTMLChakraProps<\"a\", LinkRecipeProps>;\n\nconst { withContext } = createRecipeContext({ recipe: linkRecipe });\n\n/**\n * Root component that provides the styling context for the Link component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const LinkRoot = withContext<HTMLAnchorElement, LinkRootProps>(\"a\");\n","import { forwardRef, useRef } from \"react\";\nimport { LinkRoot } from \"./link.slots\";\nimport type { LinkProps } from \"./link.types\";\nimport { useLink, useObjectRef, mergeProps } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\n\n/**\n * Link\n * ============================================================\n * To allow a user to navigate to a different page or resource\n *\n * Features:\n *\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLAnchorElement' attributes (including aria- & data-attributes)\n * - supports 'variants', 'sizes', etc. configured in the recipe\n * - allows overriding styles by using style-props\n * - supports 'asChild' and 'as' to modify the underlying html-element (polymorphic)\n */\nexport const Link = forwardRef<HTMLAnchorElement, LinkProps>(\n (props, forwardedRef) => {\n const { as, asChild, children, ...rest } = props;\n\n const localRef = useRef<HTMLAnchorElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n const elementType = (as as string) || (asChild ? \"span\" : \"a\") || \"a\";\n const { linkProps } = useLink({ ...rest, elementType }, ref);\n\n return (\n <LinkRoot {...mergeProps(rest, linkProps, { as, asChild, ref })}>\n {children}\n </LinkRoot>\n );\n }\n);\n\nLink.displayName = \"Link\";\n","import { List } from \"@chakra-ui/react\";\n\nexport type ListRootType = React.ComponentProps<typeof List.Root>;\nexport type ListItemType = React.ComponentProps<typeof List.Item>;\n\nconst ListRoot = (props: ListRootType) => <List.Root {...props} />;\nconst ListItem = (props: ListItemType) => <List.Item {...props} />;\n\nexport { List, ListRoot, ListItem };\n","import { forwardRef } from \"react\";\nimport {\n SimpleGrid as ChakraSimpleGrid,\n GridItem,\n type SimpleGridProps as ChakraSimpleGridProps,\n} from \"@chakra-ui/react\";\n\n/**\n * SimpleGrid\n * ============================================================\n * The SimpleGrid Layout Component provides a flexible and responsive way to structure content.\n *\n * Features:\n *\n * - allows forwarding refs to the underlying DOM element\n */\nexport interface SimpleGridProps extends ChakraSimpleGridProps {\n children?: React.ReactNode;\n}\n\nconst GridComponent = forwardRef<HTMLDivElement, SimpleGridProps>(\n (props, ref) => {\n return <ChakraSimpleGrid ref={ref} {...props} />;\n }\n);\n\nGridComponent.displayName = \"SimpleGrid\";\n\nexport const SimpleGrid = Object.assign(GridComponent, {\n Item: GridItem,\n});\n","import { Table } from \"@chakra-ui/react\";\n\n// Extracting props types from subcomponents\nexport type TableRootProps = React.ComponentProps<typeof Table.Root>;\nexport type TableColumnGroupProps = React.ComponentProps<\n typeof Table.ColumnGroup\n>;\nexport type TableColumnProps = React.ComponentProps<typeof Table.Column>;\nexport type TableHeaderProps = React.ComponentProps<typeof Table.Header>;\nexport type TableFooterProps = React.ComponentProps<typeof Table.Footer>;\nexport type TableRowProps = React.ComponentProps<typeof Table.Row>;\nexport type TableCellProps = React.ComponentProps<typeof Table.Cell>;\nexport type TableBodyProps = React.ComponentProps<typeof Table.Body>;\nexport type TableColumnHeaderProps = React.ComponentProps<\n typeof Table.ColumnHeader\n>;\n\nconst TableRoot = (props: TableRootProps) => <Table.Root {...props} />;\nconst TableColumnGroup = (props: TableColumnGroupProps) => (\n <Table.ColumnGroup {...props} />\n);\nconst TableColumn = (props: TableColumnProps) => <Table.Column {...props} />;\nconst TableHeader = (props: TableHeaderProps) => <Table.Header {...props} />;\nconst TableFooter = (props: TableFooterProps) => <Table.Footer {...props} />;\nconst TableRow = (props: TableRowProps) => <Table.Row {...props} />;\nconst TableCell = (props: TableCellProps) => <Table.Cell {...props} />;\nconst TableBody = (props: TableBodyProps) => <Table.Body {...props} />;\nconst TableColumnHeader = (props: TableColumnHeaderProps) => (\n <Table.ColumnHeader {...props} />\n);\n\nexport {\n Table,\n TableRoot,\n TableColumnGroup,\n TableColumn,\n TableHeader,\n TableFooter,\n TableRow,\n TableCell,\n TableBody,\n TableColumnHeader,\n};\n","import {\n Text as ChakraText,\n type TextProps as ChakraTextProps,\n} from \"@chakra-ui/react\";\nimport { forwardRef } from \"react\";\n\nexport interface TextProps extends ChakraTextProps {}\n\n/**\n * Render Text\n *\n * Use this component to render text. Various props can be passed to customize the text.\n * Check the documentation for more information.\n *\n * @see https://DOMAIN/components/typography/text\n */\nexport const Text = forwardRef<HTMLParagraphElement, TextProps>(\n (props, ref) => {\n return <ChakraText ref={ref} {...props} />;\n }\n);\n\nText.displayName = \"Text\";\n","import { defineRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the Tooltip component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const tooltipRecipe = defineRecipe({\n // Unique class name prefix for the component\n className: \"nimbus-tooltip\",\n\n // Base styles applied to all instances of the component\n base: {\n color: \"white\",\n textStyle: \"xs\",\n fontWeight: \"400\",\n background: \"slate.12\",\n display: \"inline-flex\",\n alignItems: \"center\",\n borderRadius: \"100\",\n paddingX: \"300\",\n paddingY: \"100\",\n margin: \"100\",\n maxW: \"6400\",\n boxShadow: \"1\",\n },\n});\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react\";\n\nimport { type TooltipProps as RATooltipProps } from \"react-aria-components\";\n\nimport { tooltipRecipe } from \"./tooltip.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n */\ninterface TooltipRecipeProps extends RecipeProps<\"div\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface TooltipRootProps\n extends HTMLChakraProps<\"div\", TooltipRecipeProps> {}\n\nconst { withContext } = createRecipeContext({ recipe: tooltipRecipe });\n\n/**\n * Root component that provides the styling context for the Tooltip component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const TooltipRoot = withContext<\n HTMLDivElement,\n TooltipRootProps & RATooltipProps\n>(\"div\");\n","import { forwardRef } from \"react\";\nimport { Tooltip as RATooltip } from \"react-aria-components\";\nimport { TooltipRoot } from \"./tooltip.slots\";\nimport type { TooltipProps } from \"./tooltip.types\";\n\n/**\n * Tooltip\n * ============================================================\n * A contextual popup that displays a description for an element, uses `Tooltip` component from `react-aria-components`.\n *\n * Features:\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLDivElement' attributes (including aria- & data-attributes)\n * - allows overriding styles by using style-props\n *\n * Further Context:\n * - [React Aria Components Tooltip Documentation](https://react-spectrum.adobe.com/react-aria/Tooltip.html)\n * - [ARIA Tooltip Pattern](https://www.w3.org/TR/wai-aria-1.2/#tooltip)\n */\nexport const Tooltip = forwardRef<HTMLDivElement, TooltipProps>(\n function Tooltip({ children, placement = \"bottom\", ...props }, forwardedRef) {\n return (\n <TooltipRoot ref={forwardedRef} asChild {...props}>\n <RATooltip placement={placement} {...props}>\n {children}\n </RATooltip>\n </TooltipRoot>\n );\n }\n);\nTooltip.displayName = \"Tooltip\";\n","import { TooltipTrigger as RATooltipTrigger } from \"react-aria-components\";\n\n/**\n * TooltipTrigger\n * ============================================================\n * TooltipTrigger wraps around a trigger element and a Tooltip.\n * It handles opening and closing the Tooltip when the user hovers over or focuses the trigger,\n * and positioning the Tooltip relative to the trigger.\n *\n * Directly exported from `react-aria-components`\n * - [React Aria Components Tooltip Documentation](https://react-spectrum.adobe.com/react-aria/Tooltip.html)\n */\nexport const TooltipTrigger = RATooltipTrigger;\n// @ts-expect-error displaynames can be set on component instances, necessary for pretty react-live output\nTooltipTrigger.displayName = \"TooltipTrigger\";\n","import {\n cloneElement,\n forwardRef,\n useRef,\n type PropsWithChildren,\n isValidElement,\n} from \"react\";\nimport {\n mergeProps,\n useObjectRef,\n useFocusable,\n type FocusableOptions,\n} from \"react-aria\";\n\nimport { mergeRefs } from \"@chakra-ui/react\";\n\n/**\n * MakeElementFocusable\n * ============================================================\n * A helper component that adds props from `react-aria`s `useFocusable` hook\n * to its child so that it can be used as a trigger element for a `Tooltip`\n *\n * Caveats:\n * - Using non-interactive elements as tooltip triggers is against ARIA best-practices,\n * it is your responsibility to ensure that the underlying trigger element handles\n * focus and hover interactions correctly for keyboard-only users\n *\n * Features:\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLElement' attributes (including aria- & data-attributes)\n *\n * Further Context:\n * - [React Aria Components Tooltip Documentation](https://react-spectrum.adobe.com/react-aria/Tooltip.html)\n * - [React Aria Components Issue re:Tooltip with custom trigger](https://github.com/adobe/react-spectrum/issues/5733#issuecomment-1918691983)\n * - [ARIA Tooltip Pattern](https://www.w3.org/TR/wai-aria-1.2/#tooltip)\n */\nexport const MakeElementFocusable = forwardRef<\n HTMLElement,\n PropsWithChildren<FocusableOptions<HTMLElement>>\n>(function MakeElementFocusable(props, forwardedRef) {\n const localRef = useRef<HTMLElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n const { focusableProps } = useFocusable(props, ref);\n if (isValidElement(props.children)) {\n return cloneElement(\n props.children,\n mergeProps(\n focusableProps,\n props.children.props as PropsWithChildren<\n FocusableOptions<HTMLElement>\n >,\n { ref: ref }\n )\n );\n }\n});\nMakeElementFocusable.displayName = \"MakeElementFocusable\";\n","\"use client\";import*as t from\"react\";var M=(e,i,s,u,m,a,l,h)=>{let d=document.documentElement,w=[\"light\",\"dark\"];function p(n){(Array.isArray(e)?e:[e]).forEach(y=>{let k=y===\"class\",S=k&&a?m.map(f=>a[f]||f):m;k?(d.classList.remove(...S),d.classList.add(a&&a[n]?a[n]:n)):d.setAttribute(y,n)}),R(n)}function R(n){h&&w.includes(n)&&(d.style.colorScheme=n)}function c(){return window.matchMedia(\"(prefers-color-scheme: dark)\").matches?\"dark\":\"light\"}if(u)p(u);else try{let n=localStorage.getItem(i)||s,y=l&&n===\"system\"?c():n;p(y)}catch(n){}};var b=[\"light\",\"dark\"],I=\"(prefers-color-scheme: dark)\",O=typeof window==\"undefined\",x=t.createContext(void 0),U={setTheme:e=>{},themes:[]},z=()=>{var e;return(e=t.useContext(x))!=null?e:U},J=e=>t.useContext(x)?t.createElement(t.Fragment,null,e.children):t.createElement(V,{...e}),N=[\"light\",\"dark\"],V=({forcedTheme:e,disableTransitionOnChange:i=!1,enableSystem:s=!0,enableColorScheme:u=!0,storageKey:m=\"theme\",themes:a=N,defaultTheme:l=s?\"system\":\"light\",attribute:h=\"data-theme\",value:d,children:w,nonce:p,scriptProps:R})=>{let[c,n]=t.useState(()=>H(m,l)),[T,y]=t.useState(()=>c===\"system\"?E():c),k=d?Object.values(d):a,S=t.useCallback(o=>{let r=o;if(!r)return;o===\"system\"&&s&&(r=E());let v=d?d[r]:r,C=i?W(p):null,P=document.documentElement,L=g=>{g===\"class\"?(P.classList.remove(...k),v&&P.classList.add(v)):g.startsWith(\"data-\")&&(v?P.setAttribute(g,v):P.removeAttribute(g))};if(Array.isArray(h)?h.forEach(L):L(h),u){let g=b.includes(l)?l:null,D=b.includes(r)?r:g;P.style.colorScheme=D}C==null||C()},[p]),f=t.useCallback(o=>{let r=typeof o==\"function\"?o(c):o;n(r);try{localStorage.setItem(m,r)}catch(v){}},[c]),A=t.useCallback(o=>{let r=E(o);y(r),c===\"system\"&&s&&!e&&S(\"system\")},[c,e]);t.useEffect(()=>{let o=window.matchMedia(I);return o.addListener(A),A(o),()=>o.removeListener(A)},[A]),t.useEffect(()=>{let o=r=>{r.key===m&&(r.newValue?n(r.newValue):f(l))};return window.addEventListener(\"storage\",o),()=>window.removeEventListener(\"storage\",o)},[f]),t.useEffect(()=>{S(e!=null?e:c)},[e,c]);let Q=t.useMemo(()=>({theme:c,setTheme:f,forcedTheme:e,resolvedTheme:c===\"system\"?T:c,themes:s?[...a,\"system\"]:a,systemTheme:s?T:void 0}),[c,f,e,T,s,a]);return t.createElement(x.Provider,{value:Q},t.createElement(_,{forcedTheme:e,storageKey:m,attribute:h,enableSystem:s,enableColorScheme:u,defaultTheme:l,value:d,themes:a,nonce:p,scriptProps:R}),w)},_=t.memo(({forcedTheme:e,storageKey:i,attribute:s,enableSystem:u,enableColorScheme:m,defaultTheme:a,value:l,themes:h,nonce:d,scriptProps:w})=>{let p=JSON.stringify([s,i,a,e,h,l,u,m]).slice(1,-1);return t.createElement(\"script\",{...w,suppressHydrationWarning:!0,nonce:typeof window==\"undefined\"?d:\"\",dangerouslySetInnerHTML:{__html:`(${M.toString()})(${p})`}})}),H=(e,i)=>{if(O)return;let s;try{s=localStorage.getItem(e)||void 0}catch(u){}return s||i},W=e=>{let i=document.createElement(\"style\");return e&&i.setAttribute(\"nonce\",e),i.appendChild(document.createTextNode(\"*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}\")),document.head.appendChild(i),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(i)},1)}},E=e=>(e||(e=window.matchMedia(I)),e.matches?\"dark\":\"light\");export{J as ThemeProvider,z as useTheme};\n","\"use client\";\nimport { ThemeProvider, useTheme, type ThemeProviderProps } from \"next-themes\";\n\nexport interface ColorModeProviderProps extends ThemeProviderProps {}\n\nexport function ColorModeProvider(props: ColorModeProviderProps) {\n return (\n <ThemeProvider attribute=\"class\" disableTransitionOnChange {...props} />\n );\n}\n\nexport function useColorMode() {\n const { resolvedTheme, setTheme } = useTheme();\n const toggleColorMode = () => {\n setTheme(resolvedTheme === \"light\" ? \"dark\" : \"light\");\n };\n return {\n colorMode: resolvedTheme,\n setColorMode: setTheme,\n toggleColorMode,\n };\n}\n\nexport function useColorModeValue<T>(light: T, dark: T) {\n const { colorMode } = useColorMode();\n return colorMode === \"light\" ? light : dark;\n}\n\nexport function ColorModeLabel() {\n const { colorMode } = useColorMode();\n return colorMode === \"light\" ? \"Light Theme\" : \"DarkTheme\";\n}\n","import { defineAnimationStyles } from \"@chakra-ui/react\";\n\ntype AnimationStylesType = ReturnType<typeof defineAnimationStyles>;\n\nexport const animationStyles: AnimationStylesType = defineAnimationStyles({\n \"slide-fade-in\": {\n value: {\n transformOrigin: \"var(--transform-origin)\",\n \"&[data-placement^=top]\": {\n animationName: \"slide-from-bottom, fade-in\",\n },\n \"&[data-placement^=bottom]\": {\n animationName: \"slide-from-top, fade-in\",\n },\n \"&[data-placement^=left]\": {\n animationName: \"slide-from-right, fade-in\",\n },\n \"&[data-placement^=right]\": {\n animationName: \"slide-from-left, fade-in\",\n },\n },\n },\n \"slide-fade-out\": {\n value: {\n transformOrigin: \"var(--transform-origin)\",\n \"&[data-placement^=top]\": {\n animationName: \"slide-to-bottom, fade-out\",\n },\n \"&[data-placement^=bottom]\": {\n animationName: \"slide-to-top, fade-out\",\n },\n \"&[data-placement^=left]\": {\n animationName: \"slide-to-right, fade-out\",\n },\n \"&[data-placement^=right]\": {\n animationName: \"slide-to-left, fade-out\",\n },\n },\n },\n \"scale-fade-in\": {\n value: {\n transformOrigin: \"var(--transform-origin)\",\n animationName: \"scale-in, fade-in\",\n },\n },\n \"scale-fade-out\": {\n value: {\n transformOrigin: \"var(--transform-origin)\",\n animationName: \"scale-out, fade-out\",\n },\n },\n});\n","import { themeTokens } from \"@commercetools/nimbus-tokens\";\n\ninterface BreakpointValue {\n value?: string;\n [key: string]: any;\n}\n\ninterface BreakpointsTokenObject {\n [key: string]: string | BreakpointValue;\n}\n\ninterface TransformedBreakpoints {\n [key: string]: string;\n}\n\nfunction transformBreakpoints(\n input: BreakpointsTokenObject\n): TransformedBreakpoints {\n const transformed: TransformedBreakpoints = {};\n\n for (const key in input) {\n if ((input[key] as BreakpointValue)?.value) {\n transformed[key] = (input[key] as BreakpointValue).value!;\n } else {\n transformed[key] = input[key] as string;\n }\n }\n\n return transformed;\n}\n\nexport const breakpoints = transformBreakpoints(themeTokens.breakpoints);\n","import { defineGlobalStyles } from \"@chakra-ui/react\";\n\nexport const globalCss = defineGlobalStyles({\n \"*\": {\n fontFeatureSettings:\n '\"liga\", \"calt\", \"case\", \"ss01\", \"ss07\", \"ss08\", \"tnum\"',\n \"--ring-inset\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--ring-offset-width\": \"0px\",\n \"--ring-offset-color\": \"#fff\",\n \"--ring-color\": \"rgba(66, 153, 225, 0.6)\",\n \"--ring-offset-shadow\": \"0 0 #0000\",\n \"--ring-shadow\": \"0 0 #0000\",\n \"--focus-ring-color\": \"colors.primary.7\",\n \"--brightness\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--contrast\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--grayscale\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--hue-rotate\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--invert\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--saturate\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--sepia\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--drop-shadow\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--backdrop-blur\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--backdrop-brightness\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--backdrop-contrast\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--backdrop-grayscale\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--backdrop-hue-rotate\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--backdrop-invert\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--backdrop-opacity\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--backdrop-saturate\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--backdrop-sepia\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--global-font-mono\": \"fonts.mono\",\n \"--global-font-body\": \"fonts.body\",\n \"--global-color-border\": \"colors.border\",\n },\n /** 'liga' may replace 2 characters with a single one,\n * which causes differences in formatting when a monospace font is used.*/\n \"code *\": {\n fontFeatureSettings: '\"calt\", \"case\", \"ss01\", \"ss07\", \"ss08\", \"tnum\"',\n },\n html: {\n color: \"fg\",\n bg: \"bg\",\n lineHeight: \"1.5\",\n colorPalette: \"neutral\",\n },\n \"*::placeholder\": {\n color: \"fg.muted/80\",\n },\n \"*::selection\": {\n bg: \"colorPalette.9\",\n color: \"colorPalette.contrast\",\n },\n});\n","export const keyframes = {\n spin: {\n \"0%\": {\n transform: \"rotate(0deg)\",\n },\n \"100%\": {\n transform: \"rotate(360deg)\",\n },\n },\n pulse: {\n \"50%\": {\n opacity: \"0.5\",\n },\n },\n ping: {\n \"75%, 100%\": {\n transform: \"scale(2)\",\n opacity: \"0\",\n },\n },\n bounce: {\n \"0%, 100%\": {\n transform: \"translateY(-25%)\",\n animationTimingFunction: \"cubic-bezier(0.8,0,1,1)\",\n },\n \"50%\": {\n transform: \"none\",\n animationTimingFunction: \"cubic-bezier(0,0,0.2,1)\",\n },\n },\n\n \"fade-in\": {\n from: {\n opacity: 0,\n },\n to: {\n opacity: 1,\n },\n },\n \"fade-out\": {\n from: {\n opacity: 1,\n },\n to: {\n opacity: 0,\n },\n },\n \"slide-from-left-full\": {\n from: {\n translate: \"-100% 0\",\n },\n to: {\n translate: \"0 0\",\n },\n },\n \"slide-from-right-full\": {\n from: {\n translate: \"100% 0\",\n },\n to: {\n translate: \"0 0\",\n },\n },\n \"slide-from-top-full\": {\n from: {\n translate: \"0 -100%\",\n },\n to: {\n translate: \"0 0\",\n },\n },\n \"slide-from-bottom-full\": {\n from: {\n translate: \"0 100%\",\n },\n to: {\n translate: \"0 0\",\n },\n },\n \"slide-to-left-full\": {\n from: {\n translate: \"0 0\",\n },\n to: {\n translate: \"-100% 0\",\n },\n },\n \"slide-to-right-full\": {\n from: {\n translate: \"0 0\",\n },\n to: {\n translate: \"100% 0\",\n },\n },\n \"slide-to-top-full\": {\n from: {\n translate: \"0 0\",\n },\n to: {\n translate: \"0 -100%\",\n },\n },\n \"slide-to-bottom-full\": {\n from: {\n translate: \"0 0\",\n },\n to: {\n translate: \"0 100%\",\n },\n },\n \"slide-from-top\": {\n \"0%\": {\n translate: \"0 -0.5rem\",\n },\n to: {\n translate: \"0\",\n },\n },\n \"slide-from-bottom\": {\n \"0%\": {\n translate: \"0 0.5rem\",\n },\n to: {\n translate: \"0\",\n },\n },\n \"slide-from-left\": {\n \"0%\": {\n translate: \"-0.5rem 0\",\n },\n to: {\n translate: \"0\",\n },\n },\n \"slide-from-right\": {\n \"0%\": {\n translate: \"0.5rem 0\",\n },\n to: {\n translate: \"0\",\n },\n },\n \"slide-to-top\": {\n \"0%\": {\n translate: \"0\",\n },\n to: {\n translate: \"0 -0.5rem\",\n },\n },\n \"slide-to-bottom\": {\n \"0%\": {\n translate: \"0\",\n },\n to: {\n translate: \"0 0.5rem\",\n },\n },\n \"slide-to-left\": {\n \"0%\": {\n translate: \"0\",\n },\n to: {\n translate: \"-0.5rem 0\",\n },\n },\n \"slide-to-right\": {\n \"0%\": {\n translate: \"0\",\n },\n to: {\n translate: \"0.5rem 0\",\n },\n },\n \"scale-in\": {\n from: {\n scale: \"0.95\",\n },\n to: {\n scale: \"1\",\n },\n },\n \"scale-out\": {\n from: {\n scale: \"1\",\n },\n to: {\n scale: \"0.95\",\n },\n },\n};\n","import { defineLayerStyles } from \"@chakra-ui/react\";\n\ntype LayerStylesType = ReturnType<typeof defineLayerStyles>;\n\nexport const layerStyles: LayerStylesType = defineLayerStyles({\n disabled: {\n value: {\n opacity: \"0.5\",\n cursor: \"not-allowed\",\n },\n },\n});\n","import { defineRecipe } from \"@chakra-ui/react\";\n\nexport const codeRecipe = defineRecipe({\n className: \"nimbus-code\",\n base: {\n fontFamily: \"mono\",\n alignItems: \"center\",\n display: \"inline-flex\",\n borderRadius: \"100\",\n },\n variants: {\n variant: {\n solid: {\n bg: \"colorPalette.4\",\n color: \"colorPalette.11\",\n },\n subtle: {\n bg: \"colorPalette.3\",\n color: \"colorPalette.11\",\n },\n outline: {\n color: \"colorPalette.fg\",\n shadow: \"inset 0 0 0px 1px var(--shadow-color)\",\n shadowColor: \"colorPalette.muted\",\n },\n surface: {\n bg: \"colorPalette.subtle\",\n color: \"colorPalette.fg\",\n shadow: \"inset 0 0 0px 1px var(--shadow-color)\",\n shadowColor: \"colorPalette.muted\",\n },\n plain: {\n color: \"colorPalette.fg\",\n },\n },\n size: {\n xs: {\n textStyle: \"2xs\",\n px: \"100\",\n minH: \"400\",\n },\n sm: {\n textStyle: \"xs\",\n px: \"150\",\n minH: \"500\",\n },\n md: {\n textStyle: \"sm\",\n px: \"200\",\n minH: \"600\",\n },\n lg: {\n textStyle: \"sm\",\n px: \"250\",\n minH: \"700\",\n },\n },\n },\n defaultVariants: {\n variant: \"solid\",\n size: \"md\",\n },\n});\n","import { defineRecipe } from \"@chakra-ui/react\";\n\nexport const headingRecipe = defineRecipe({\n className: \"nimbus-heading\",\n base: {\n fontFamily: \"heading\",\n fontWeight: \"600\",\n },\n variants: {\n size: {\n xs: {\n textStyle: \"xs\",\n },\n sm: {\n textStyle: \"sm\",\n },\n md: {\n textStyle: \"md\",\n },\n lg: {\n textStyle: \"lg\",\n },\n xl: {\n textStyle: \"xl\",\n },\n \"2xl\": {\n textStyle: \"2xl\",\n },\n \"3xl\": {\n textStyle: \"3xl\",\n },\n \"4xl\": {\n textStyle: \"4xl\",\n },\n \"5xl\": {\n textStyle: \"5xl\",\n },\n \"6xl\": {\n textStyle: \"6xl\",\n },\n \"7xl\": {\n textStyle: \"7xl\",\n },\n },\n },\n defaultVariants: {\n size: \"xl\",\n },\n});\n","import { defineRecipe } from \"@chakra-ui/react\";\n\nexport const kbdRecipe = defineRecipe({\n className: \"nimbus-kbd\",\n base: {\n display: \"inline-flex\",\n alignItems: \"center\",\n fontWeight: \"medium\",\n fontFamily: \"mono\",\n flexShrink: \"0\",\n whiteSpace: \"nowrap\",\n wordSpacing: \"-0.5em\",\n userSelect: \"none\",\n px: \"100\",\n borderRadius: \"100\",\n },\n variants: {\n variant: {\n raised: {\n bg: \"colorPalette.subtle\",\n color: \"colorPalette.fg\",\n borderWidth: \"1px\",\n borderBottomWidth: \"2px\",\n borderColor: \"colorPalette.muted\",\n },\n outline: {\n borderWidth: \"1px\",\n color: \"colorPalette.fg\",\n },\n subtle: {\n bg: \"colorPalette.muted\",\n color: \"colorPalette.fg\",\n },\n plain: {\n color: \"colorPalette.fg\",\n },\n },\n size: {\n sm: {\n textStyle: \"xs\",\n height: \"450\",\n },\n md: {\n textStyle: \"sm\",\n height: \"500\",\n },\n lg: {\n textStyle: \"md\",\n height: \"600\",\n },\n },\n },\n defaultVariants: {\n size: \"md\",\n variant: \"raised\",\n },\n});\n","import { defineRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the TextInput component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const textInputRecipe = defineRecipe({\n // Unique class name prefix for the component\n className: \"nimbus-text-input\",\n\n // Base styles applied to all instances of the component\n base: {\n display: \"block\",\n borderRadius: \"200\",\n colorPalette: \"neutral\",\n focusVisibleRing: \"outside\",\n bg: \"transparent\",\n outline: \"none\",\n boxShadow: \"inset 0 0 0 var(--border-width) var(--border-color)\",\n _placeholder: {\n opacity: 0.5,\n color: \"currentColor\",\n },\n _disabled: {\n layerStyle: \"disabled\",\n },\n \"&[data-invalid='true']\": {\n \"--border-color\": \"colors.critical.7\",\n color: \"critical.11\",\n },\n },\n\n variants: {\n size: {\n sm: {\n h: 800,\n textStyle: \"sm\",\n px: 300,\n },\n md: {\n h: 1000,\n textStyle: \"md\",\n px: 400,\n },\n },\n\n variant: {\n solid: {\n \"--border-width\": \"sizes.25\",\n \"--border-color\": \"colors.neutral.7\",\n backgroundColor: \"neutral.1\",\n _hover: {\n backgroundColor: \"primary.2\",\n },\n },\n ghost: {\n _hover: {\n backgroundColor: \"primary.2\",\n },\n },\n },\n },\n\n defaultVariants: {\n size: \"md\",\n variant: \"solid\",\n },\n});\n","import { avatarRecipe } from \"@/components/avatar/avatar.recipe\";\nimport { buttonRecipe } from \"@/components/button/button.recipe\";\nimport { codeRecipe } from \"@/components/code/code.recipe\";\nimport { headingRecipe } from \"@/components/heading/heading.recipe\";\n\nimport { kbdRecipe } from \"@/components/kbd/kbd.recipe\";\nimport { linkRecipe } from \"@/components/link/link.recipe\";\nimport { tooltipRecipe } from \"@/components/tooltip/tooltip.recipe\";\nimport { textInputRecipe } from \"@/components/text-input/text-input.recipe\";\n\nexport const recipes = {\n avatar: avatarRecipe,\n button: buttonRecipe,\n code: codeRecipe,\n heading: headingRecipe,\n kbd: kbdRecipe,\n link: linkRecipe,\n tooltip: tooltipRecipe,\n textInput: textInputRecipe,\n};\n","import { defineSemanticTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const colors = defineSemanticTokens.colors({\n bg: {\n DEFAULT: {\n value: {\n _light: \"{colors.neutral.1}\",\n _dark: \"{colors.neutral.1}\",\n },\n },\n },\n fg: {\n DEFAULT: {\n value: {\n _light: \"{colors.neutral.12}\",\n _dark: \"{colors.neutral.12}\",\n },\n },\n },\n border: {\n DEFAULT: {\n value: \"{colors.neutral.6}\",\n },\n muted: {\n value: \"{colors.neutral.7}\",\n },\n subtle: {\n value: \"{colors.neutral.6}\",\n },\n emphasized: {\n value: \"{colors.neutral.8}\",\n },\n inverted: {\n value: \"{colors.neutral.9}\",\n },\n critical: {\n value: \"{colors.critical.8}\",\n },\n warning: {\n value: \"{colors.warning.8}\",\n },\n positive: {\n value: \"{colors.positive.8}\",\n },\n info: {\n value: \"{colors.ingo.8}\",\n },\n },\n ...themeTokens.color[\"system-palettes\"],\n ...themeTokens.color[\"brand-palettes\"],\n ...themeTokens.color[\"semantic-palettes\"],\n});\n\nexport const darkColors = colors;\n","import { defineSemanticTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const shadows = defineSemanticTokens.shadows(themeTokens.shadow);\n","import { defineSemanticTokens } from \"@chakra-ui/react\";\n\nexport const radii = defineSemanticTokens.radii({});\n","import { colors } from \"./colors\";\nimport { shadows } from \"./shadows\";\nimport { radii } from \"./radii\";\n\nexport const semanticTokens = {\n colors,\n shadows,\n radii,\n};\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\n\nexport const dialogSlotRecipe = defineSlotRecipe({\n slots: [\n \"trigger\",\n \"backdrop\",\n \"positioner\",\n \"content\",\n \"title\",\n \"description\",\n \"closeTrigger\",\n \"header\",\n \"body\",\n \"footer\",\n \"backdrop\",\n ],\n className: \"nimbus-dialog\",\n base: {\n backdrop: {\n bg: {\n _dark: \"bg/50\",\n _light: \"fg/50\",\n },\n pos: \"fixed\",\n left: 0,\n top: 0,\n w: \"100vw\",\n h: \"100dvh\",\n zIndex: \"modal\",\n _open: {\n animationName: \"fade-in\",\n animationDuration: \"slow\",\n },\n _closed: {\n animationName: \"fade-out\",\n animationDuration: \"moderate\",\n },\n },\n positioner: {\n display: \"flex\",\n width: \"100vw\",\n height: \"100dvh\",\n position: \"fixed\",\n left: 0,\n top: 0,\n \"--dialog-z-index\": \"zIndex.modal\",\n zIndex: \"calc(var(--dialog-z-index) + var(--layer-index, 0))\",\n justifyContent: \"center\",\n overscrollBehaviorY: \"none\",\n },\n content: {\n display: \"flex\",\n flexDirection: \"column\",\n position: \"relative\",\n width: \"100%\",\n outline: 0,\n borderRadius: \"200\",\n textStyle: \"sm\",\n my: \"var(--dialog-margin, var(--dialog-base-margin))\",\n \"--dialog-z-index\": \"zIndex.modal\",\n zIndex: \"calc(var(--dialog-z-index) + var(--layer-index, 0))\",\n bg: \"bg\",\n boxShadow: \"lg\",\n _open: {\n animationDuration: \"moderate\",\n },\n _closed: {\n animationDuration: \"faster\",\n },\n },\n header: {\n flex: 0,\n px: \"600\",\n pt: \"600\",\n pb: \"400\",\n },\n body: {\n flex: \"1\",\n px: \"600\",\n pt: \"200\",\n pb: \"600\",\n },\n footer: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"flex-end\",\n gap: \"300\",\n px: \"600\",\n pt: \"200\",\n pb: \"400\",\n },\n title: {\n textStyle: \"lg\",\n fontWeight: \"semibold\",\n },\n description: {\n color: \"fg.muted\",\n },\n },\n variants: {\n placement: {\n center: {\n positioner: {\n alignItems: \"center\",\n },\n content: {\n \"--dialog-base-margin\": \"auto\",\n mx: \"auto\",\n },\n },\n top: {\n positioner: {\n alignItems: \"flex-start\",\n },\n content: {\n \"--dialog-base-margin\": \"spacing.1600\",\n mx: \"auto\",\n },\n },\n bottom: {\n positioner: {\n alignItems: \"flex-end\",\n },\n content: {\n \"--dialog-base-margin\": \"spacing.1600\",\n mx: \"auto\",\n },\n },\n },\n scrollBehavior: {\n inside: {\n positioner: {\n overflow: \"hidden\",\n },\n content: {\n maxH: \"calc(100% - 7.5rem)\",\n },\n body: {\n overflow: \"auto\",\n },\n },\n outside: {\n positioner: {\n overflow: \"auto\",\n pointerEvents: \"auto\",\n },\n },\n },\n size: {\n xs: {\n content: {\n maxW: \"sm\",\n },\n },\n sm: {\n content: {\n maxW: \"md\",\n },\n },\n md: {\n content: {\n maxW: \"lg\",\n },\n },\n lg: {\n content: {\n maxW: \"2xl\",\n },\n },\n xl: {\n content: {\n maxW: \"4xl\",\n },\n },\n cover: {\n positioner: {\n padding: \"1000\",\n },\n content: {\n width: \"100%\",\n height: \"100%\",\n \"--dialog-margin\": \"0\",\n },\n },\n full: {\n content: {\n maxW: \"100vw\",\n minH: \"100vh\",\n \"--dialog-margin\": \"0\",\n borderRadius: \"0\",\n },\n },\n },\n motionPreset: {\n scale: {\n content: {\n _open: {\n animationName: \"scale-in, fade-in\",\n },\n _closed: {\n animationName: \"scale-out, fade-out\",\n },\n },\n },\n \"slide-in-bottom\": {\n content: {\n _open: {\n animationName: \"slide-from-bottom, fade-in\",\n },\n _closed: {\n animationName: \"slide-to-bottom, fade-out\",\n },\n },\n },\n \"slide-in-top\": {\n content: {\n _open: {\n animationName: \"slide-from-top, fade-in\",\n },\n _closed: {\n animationName: \"slide-to-top, fade-out\",\n },\n },\n },\n \"slide-in-left\": {\n content: {\n _open: {\n animationName: \"slide-from-left, fade-in\",\n },\n _closed: {\n animationName: \"slide-to-left, fade-out\",\n },\n },\n },\n \"slide-in-right\": {\n content: {\n _open: {\n animationName: \"slide-from-right, fade-in\",\n },\n _closed: {\n animationName: \"slide-to-right, fade-out\",\n },\n },\n },\n none: {},\n },\n },\n defaultVariants: {\n size: \"md\",\n scrollBehavior: \"outside\",\n placement: \"top\",\n motionPreset: \"scale\",\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\n\nexport const listSlotRecipe = defineSlotRecipe({\n className: \"chakra-list\",\n slots: [\"root\", \"item\", \"indicator\"],\n base: {\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n gap: \"var(--list-gap)\",\n \"& :where(ul, ol)\": {\n marginTop: \"var(--list-gap)\",\n },\n },\n item: {\n whiteSpace: \"normal\",\n display: \"list-item\",\n },\n indicator: {\n marginEnd: \"200\",\n minHeight: \"1lh\",\n flexShrink: 0,\n display: \"inline-block\",\n verticalAlign: \"middle\",\n },\n },\n variants: {\n variant: {\n marker: {\n root: {\n listStyle: \"revert\",\n listStylePosition: \"inside\",\n },\n item: {\n _marker: {\n color: \"fg.subtle\",\n },\n },\n },\n plain: {\n item: {\n alignItems: \"flex-start\",\n display: \"inline-flex\",\n },\n },\n },\n align: {\n center: {\n item: {\n alignItems: \"center\",\n },\n },\n start: {\n item: {\n alignItems: \"flex-start\",\n },\n },\n end: {\n item: {\n alignItems: \"flex-end\",\n },\n },\n },\n },\n defaultVariants: {\n variant: \"marker\",\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\n\nexport const tableSlotRecipe = defineSlotRecipe({\n className: \"chakra-table\",\n slots: [\n \"root\",\n \"header\",\n \"body\",\n \"row\",\n \"columnHeader\",\n \"cell\",\n \"footer\",\n \"caption\",\n ],\n base: {\n root: {\n fontVariantNumeric: \"lining-nums tabular-nums\",\n borderCollapse: \"collapse\",\n width: \"full\",\n textAlign: \"start\",\n verticalAlign: \"top\",\n },\n row: {\n _selected: {\n bg: \"colorPalette.subtle\",\n },\n },\n cell: {\n textAlign: \"start\",\n alignItems: \"center\",\n },\n columnHeader: {\n fontWeight: \"medium\",\n textAlign: \"start\",\n color: \"fg\",\n },\n caption: {\n fontWeight: \"medium\",\n textStyle: \"xs\",\n },\n footer: {\n fontWeight: \"medium\",\n },\n },\n variants: {\n interactive: {\n true: {\n body: {\n \"& tr\": {\n _hover: {\n bg: \"colorPalette.subtle\",\n },\n },\n },\n },\n },\n stickyHeader: {\n true: {\n header: {\n \"& :where(tr)\": {\n top: \"var(--table-sticky-offset, 0)\",\n position: \"sticky\",\n zIndex: 1,\n },\n },\n },\n },\n striped: {\n true: {\n row: {\n \"&:nth-of-type(odd) td\": {\n bg: \"bg.muted\",\n },\n },\n },\n },\n showColumnBorder: {\n true: {\n columnHeader: {\n \"&:not(:last-of-type)\": {\n borderInlineEndWidth: \"1px\",\n },\n },\n cell: {\n \"&:not(:last-of-type)\": {\n borderInlineEndWidth: \"1px\",\n },\n },\n },\n },\n variant: {\n line: {\n columnHeader: {\n borderBottomWidth: \"1px\",\n },\n cell: {\n borderBottomWidth: \"1px\",\n },\n row: {\n bg: \"bg\",\n },\n },\n outline: {\n root: {\n boxShadow: \"0 0 0 1px {colors.border}\",\n overflow: \"hidden\",\n },\n columnHeader: {\n borderBottomWidth: \"1px\",\n },\n header: {\n bg: \"bg.muted\",\n },\n row: {\n \"&:not(:last-of-type)\": {\n borderBottomWidth: \"1px\",\n },\n },\n footer: {\n borderTopWidth: \"1px\",\n },\n },\n },\n size: {\n sm: {\n root: {\n textStyle: \"sm\",\n },\n columnHeader: {\n px: \"200\",\n py: \"200\",\n },\n cell: {\n px: \"200\",\n py: \"200\",\n },\n },\n md: {\n root: {\n textStyle: \"sm\",\n },\n columnHeader: {\n px: \"300\",\n py: \"300\",\n },\n cell: {\n px: \"300\",\n py: \"300\",\n },\n },\n lg: {\n root: {\n textStyle: \"md\",\n },\n columnHeader: {\n px: \"400\",\n py: \"300\",\n },\n cell: {\n px: \"400\",\n py: \"300\",\n },\n },\n },\n },\n defaultVariants: {\n variant: \"line\",\n size: \"md\",\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the Checkbox component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const checkboxSlotRecipe = defineSlotRecipe({\n slots: [\"root\", \"label\", \"indicator\"],\n // Unique class name prefix for the component\n className: \"nimbus-checkbox\",\n\n base: {\n root: {\n colorPalette: \"primary\",\n display: \"inline-flex\",\n gap: \"200\",\n alignItems: \"center\",\n verticalAlign: \"top\",\n minWidth: \"600\",\n minHeight: \"600\",\n\n [\"&[data-disabled='true']\"]: {\n layerStyle: \"disabled\",\n },\n },\n label: {\n flexShrink: 0,\n userSelect: \"none\",\n color: \"neutral.11\",\n\n [\"&[data-invalid='true']\"]: {\n color: \"critical.11\",\n },\n },\n indicator: {\n position: \"relative\",\n display: \"flex\",\n flexShrink: 0,\n alignItems: \"center\",\n justifyContent: \"center\",\n border: \"solid-50\",\n borderRadius: \"50\",\n focusRing: \"outside\",\n borderColor: \"neutral.9\",\n bg: \"transparent\",\n color: \"neutral.11\",\n\n _icon: {\n w: \"350\",\n h: \"350\",\n },\n\n \"&:hover\": {\n borderColor: \"neutral.10\",\n },\n\n [\"&[data-invalid='true']\"]: {\n bg: \"transparent\",\n borderColor: \"critical.9\",\n color: \"critical.11\",\n\n \"&:hover\": {\n borderColor: \"critical.10\",\n },\n },\n\n [\"&[data-selected='true'], &[data-indeterminate='true']\"]: {\n bg: \"colorPalette.9\",\n borderColor: \"colorPalette.9\",\n color: \"colorPalette.contrast\",\n\n \"&:hover\": {\n bg: \"colorPalette.10\",\n borderColor: \"colorPalette.10\",\n },\n\n \"&[data-invalid='true']\": {\n bg: \"critical.9\",\n borderColor: \"critical.9\",\n color: \"critical.contrast\",\n\n \"&:hover\": {\n bg: \"critical.10\",\n borderColor: \"critical.10\",\n },\n },\n },\n },\n },\n variants: {\n size: {\n md: {\n label: {\n fontSize: \"350\",\n fontWeight: \"400\",\n lineHeight: \"400\",\n },\n indicator: {\n w: \"400\",\n h: \"400\",\n zIndex: 1,\n _after: {\n position: \"absolute\",\n content: \"''\",\n width: \"600\",\n height: \"600\",\n zIndex: 0,\n },\n },\n },\n },\n },\n defaultVariants: {\n size: \"md\",\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the Select component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const selectSlotRecipe = defineSlotRecipe({\n slots: [\n \"root\",\n \"trigger\",\n \"triggerLabel\",\n \"options\",\n \"optionGroup\",\n \"option\",\n ],\n // Unique class name prefix for the component\n className: \"nimbus-select\",\n\n // Base styles applied to all instances of the component\n base: {\n // RA <Select>\n root: {\n colorPalette: \"primary\",\n display: \"inline-block\",\n position: \"relative\",\n maxWidth: \"100%\",\n borderRadius: \"200\",\n // [data-focused]\n // [data-focus-visible]\n // [data-open]\n // [data-invalid]\n // [data-required]\n \"&[data-disabled]\": {\n layerStyle: \"disabled\",\n pointerEvents: \"none\",\n },\n },\n trigger: {\n cursor: \"button\",\n display: \"inline-flex\",\n focusRing: \"outside\",\n alignItems: \"flex-start\",\n borderRadius: \"200\",\n color: \"neutral.12\",\n width: \"100%\",\n userSelect: \"none\",\n boxShadow: \"inset 0 0 0 var(--border-width) var(--border-color)\",\n\n \"& span\": {\n display: \"inline-block\",\n my: \"auto\",\n },\n '& [slot=\"description\"]': {\n display: \"none\",\n },\n\n \"[data-invalid] &\": {\n \"--border-width\": \"sizes.50\",\n \"--border-color\": \"colors.critical.7\",\n },\n\n // [data-hovered]\n // [data-pressed]\n // [data-focused]\n // [data-focus-visible]\n // [data-disabled]\n // [data-pending]\n },\n triggerLabel: {\n // *Magic*\n // the trigger-label defines the overall width of the select,\n // but since we position 2 buttons/icons next to it, we need to account for\n // their width as well and reserve some space for them\n // = label-button-gap + button-size + icon-size\n // = 8px + 24px + 24px\n // = 56px * 25 = 1400 token\n \"--button-safespace\": \"sizes.1400\",\n color: \"neutral.12\",\n textAlign: \"left\",\n marginRight: \"var(--button-safespace)\",\n maxWidth: \"100%\",\n whiteSpace: \"nowrap\",\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n\n \"&[data-placeholder]\": {\n opacity: 0.5,\n },\n \"[data-invalid] &\": {\n color: \"critical.11\",\n },\n },\n // Popover\n options: {\n \"--scrollbar-color\": \"colors.neutral.8\",\n \"--scrollbar-bg\": \"colors.neutral.3\",\n\n bg: \"bg\",\n borderRadius: \"200\",\n boxShadow: \"5\",\n minWidth: \"var(--trigger-width)\",\n p: \"200\",\n focusRing: \"outside\",\n maxHeight: \"40svh\",\n overflowY: \"auto\",\n scrollbarWidth: \"thin\",\n scrollbarColor: \"var(--scrollbar-color) var(--scrollbar-bg)\",\n // [data-trigger=\"...\"]\n // [data-placement=\"left | right | top | bottom\"]\n // [data-entering]\n // [data-exiting]\n },\n // Option group header\n optionGroup: {\n textStyle: \"xs\",\n color: \"neutral.11\",\n fontWeight: \"600\",\n lineHeight: \"350\",\n letterSpacing: \"25\",\n textTransform: \"uppercase\",\n p: \"200\",\n borderBottom: \"solid-25\",\n borderColor: \"neutral.6\",\n mx: \"-200\",\n mt: \"200\",\n mb: \"300\",\n },\n // ListBoxItem\n option: {\n focusRing: \"outside\",\n cursor: \"menuitem\",\n color: \"neutral.12\",\n textStyle: \"sm\",\n p: \"200\",\n borderRadius: \"200\",\n whiteSpace: \"nowrap\",\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n\n '&[aria-selected=\"true\"], &[data-focused=\"true\"]': {\n bg: \"primary.4\",\n },\n\n '& [slot=\"label\"]': {\n display: \"block\",\n },\n\n '& [slot=\"description\"]': {\n display: \"block\",\n color: \"neutral.11\",\n textStyle: \"xs\",\n },\n\n '&[data-disabled=\"true\"]': {\n layerStyle: \"disabled\",\n },\n },\n },\n\n // Available variants for customizing the component's appearance\n variants: {\n // Size variants from smallest to largest\n size: {\n sm: {\n root: {},\n trigger: {\n h: \"800\",\n px: \"400\",\n textStyle: \"sm\",\n },\n },\n md: {\n root: {},\n trigger: {\n h: \"1000\",\n px: \"400\",\n textStyle: \"md\",\n },\n }, // Medium\n },\n\n // Visual style variants\n variant: {\n outline: {\n root: {\n bg: \"bg\",\n \"&:hover\": {\n bg: \"primary.2\",\n },\n },\n trigger: {\n \"--border-width\": \"sizes.25\",\n \"--border-color\": \"colors.neutral.7\",\n },\n },\n ghost: {\n root: {\n bg: \"transparent\",\n \"&:hover\": {\n bg: \"primaryAlpha.2\",\n },\n },\n trigger: {\n \"--border-width\": \"sizes.25\",\n \"--border-color\": \"transparent\",\n },\n },\n },\n },\n\n // Default variant values when not explicitly specified\n defaultVariants: {\n size: \"md\",\n variant: \"outline\",\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the Accordion component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const accordionSlotRecipe = defineSlotRecipe({\n slots: [\n \"root\",\n \"disclosure\",\n \"trigger\",\n \"panel\",\n \"accordionTitle\",\n \"headerContentRight\",\n ],\n // Unique class name prefix for the component\n className: \"nimbus-accordion\",\n\n base: {\n root: {\n width: \"100%\",\n },\n disclosure: {\n width: \"100%\",\n },\n trigger: {\n fontSize: \"var(--font-size)\",\n focusVisibleRing: \"outside\",\n minHeight: \"1200\",\n bg: \"none\",\n flexGrow: 1,\n display: \"flex\",\n alignItems: \"center\",\n gap: \"8px\",\n width: \"auto\",\n \"& svg\": {\n width: \"var(--width)\",\n height: \"var(--height)\",\n rotate: \"0deg\",\n transition: \"rotate 200ms\",\n },\n '&[aria-expanded=\"true\"] svg': {\n rotate: \"90deg\",\n },\n \"&[disabled]\": {\n layerStyle: \"disabled\",\n },\n },\n panel: {\n paddingTop: \"var(--padding-top)\",\n paddingBottom: \"var(--padding-bottom)\",\n paddingLeft: \"var(--padding-left)\",\n '&[aria-hidden=\"true\"]': {\n display: \"none\",\n },\n },\n accordionTitle: {\n fontWeight: \"700\",\n },\n },\n\n variants: {\n size: {\n md: {\n trigger: {\n \"--font-size\": \"fontSizes.500\",\n \"& svg\": {\n \"--width\": \"sizes.600\",\n \"--height\": \"sizes.600\",\n },\n },\n panel: {\n \"--padding-top\": \"spacing.600\",\n \"--padding-bottom\": \"spacing.800\",\n \"--padding-left\": \"spacing.800\",\n },\n },\n sm: {\n trigger: {\n \"--font-size\": \"fontSizes.400\",\n \"& svg\": {\n \"--width\": \"sizes.500\",\n \"--height\": \"sizes.500\",\n },\n },\n panel: {\n \"--padding-top\": \"spacing.400\",\n \"--padding-bottom\": \"spacing.600\",\n \"--padding-left\": \"spacing.700\",\n },\n },\n },\n },\n\n defaultVariants: {\n size: \"md\",\n },\n});\n","import { dialogSlotRecipe } from \"@/components/dialog/dialog.recipe\";\nimport { listSlotRecipe } from \"@/components/list/list.recipe\";\nimport { tableSlotRecipe } from \"@/components/table/table.recipe\";\nimport { checkboxSlotRecipe } from \"@/components/checkbox/checkbox.recipe\";\nimport { selectSlotRecipe } from \"@/components/select/select.recipe\";\nimport { accordionSlotRecipe } from \"@/components/accordion/accordion.recipe\";\n\nexport const slotRecipes = {\n dialog: dialogSlotRecipe,\n list: listSlotRecipe,\n table: tableSlotRecipe,\n checkbox: checkboxSlotRecipe,\n select: selectSlotRecipe,\n accordion: accordionSlotRecipe,\n};\n","import { defineTextStyles } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\ntype TextStylesType = ReturnType<typeof defineTextStyles>;\n\nexport const textStyles: TextStylesType = defineTextStyles(\n themeTokens.textStyle\n);\n","import { defineTokens } from \"@chakra-ui/react\";\n\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const aspectRatios = defineTokens.durations(themeTokens.aspectRatio);\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const animations = defineTokens.animations(themeTokens.animation);\n","import { defineTokens } from \"@chakra-ui/react\";\n\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const blurs = defineTokens.blurs(themeTokens.blur);\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const borders = defineTokens.borders(themeTokens.border);\n","import { themeTokens } from \"@commercetools/nimbus-tokens\";\nimport { defineTokens } from \"@chakra-ui/react\";\n\nexport const colors = defineTokens.colors({\n ...themeTokens.color[\"blacks-and-whites\"],\n});\n\nexport const darkColors = colors;\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const durations = defineTokens.durations(themeTokens.duration);\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const easings = defineTokens.easings(themeTokens.easing);\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const fonts = defineTokens.fonts(themeTokens.fontFamily);\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const fontSizes = defineTokens.fontSizes(themeTokens.fontSize);\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const fontWeights = defineTokens.fontWeights(themeTokens.fontWeight);\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\n// convert token percentage values (needed by figma) to em values (needded by code)\n// todo: fix this in the token build process\nconst convertPercentToEm = (\n obj: Record<string, { value: string }>\n): Record<string, { value: string }> => {\n return Object.keys(obj).reduce(\n (acc, key) => {\n // Remove '%' and divide by 100 to convert to em\n const percentage = parseFloat(obj[key].value);\n const emValue = percentage / 100; // 1% = 0.01em, 100% = 1em\n // Update the object with the new em value\n acc[key] = { value: `${emValue}em` };\n return acc;\n },\n {} as Record<string, { value: string }>\n );\n};\n\nexport const letterSpacings = defineTokens.letterSpacings(\n convertPercentToEm(themeTokens.letterSpacing)\n);\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const lineHeights = defineTokens.lineHeights(themeTokens.lineHeight);\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const radii = defineTokens.radii(themeTokens.borderRadius);\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const spacing = defineTokens.spacing(themeTokens.spacing);\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const sizes = defineTokens.sizes({\n ...themeTokens.size,\n \"1/2\": {\n value: \"50%\",\n },\n \"1/3\": {\n value: \"33.333333%\",\n },\n \"2/3\": {\n value: \"66.666667%\",\n },\n \"1/4\": {\n value: \"25%\",\n },\n \"3/4\": {\n value: \"75%\",\n },\n \"1/5\": {\n value: \"20%\",\n },\n \"2/5\": {\n value: \"40%\",\n },\n \"3/5\": {\n value: \"60%\",\n },\n \"4/5\": {\n value: \"80%\",\n },\n \"1/6\": {\n value: \"16.666667%\",\n },\n \"2/6\": {\n value: \"33.333333%\",\n },\n \"3/6\": {\n value: \"50%\",\n },\n \"4/6\": {\n value: \"66.666667%\",\n },\n \"5/6\": {\n value: \"83.333333%\",\n },\n \"1/12\": {\n value: \"8.333333%\",\n },\n \"2/12\": {\n value: \"16.666667%\",\n },\n \"3/12\": {\n value: \"25%\",\n },\n \"4/12\": {\n value: \"33.333333%\",\n },\n \"5/12\": {\n value: \"41.666667%\",\n },\n \"6/12\": {\n value: \"50%\",\n },\n \"7/12\": {\n value: \"58.333333%\",\n },\n \"8/12\": {\n value: \"66.666667%\",\n },\n \"9/12\": {\n value: \"75%\",\n },\n \"10/12\": {\n value: \"83.333333%\",\n },\n \"11/12\": {\n value: \"91.666667%\",\n },\n max: {\n value: \"max-content\",\n },\n min: {\n value: \"min-content\",\n },\n fit: {\n value: \"fit-content\",\n },\n prose: {\n value: \"60ch\",\n },\n full: {\n value: \"100%\",\n },\n dvh: {\n value: \"100dvh\",\n },\n svh: {\n value: \"100svh\",\n },\n lvh: {\n value: \"100lvh\",\n },\n dvw: {\n value: \"100dvw\",\n },\n svw: {\n value: \"100svw\",\n },\n lvw: {\n value: \"100lvw\",\n },\n vw: {\n value: \"100vw\",\n },\n vh: {\n value: \"100vh\",\n },\n});\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const zIndex = defineTokens.zIndex(themeTokens.zIndex);\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const cursor = defineTokens.cursor(themeTokens.cursor);\n","import { aspectRatios } from \"./aspect-ratios\";\nimport { animations } from \"./animations\";\nimport { blurs } from \"./blurs\";\nimport { borders } from \"./borders\";\nimport { colors, darkColors } from \"./colors\";\nimport { durations } from \"./durations\";\nimport { easings } from \"./easings\";\nimport { fonts } from \"./fonts\";\nimport { fontSizes } from \"./font-sizes\";\nimport { fontWeights } from \"./font-weights\";\nimport { letterSpacings } from \"./letter-spacings\";\nimport { lineHeights } from \"./line-heights\";\nimport { radii } from \"./radii\";\nimport { spacing } from \"./spacing\";\nimport { sizes } from \"./sizes\";\nimport { zIndex } from \"./z-index\";\nimport { cursor } from \"./cursor\";\n\nexport const tokens = {\n aspectRatios,\n animations,\n blurs,\n borders,\n colors,\n durations,\n easings,\n fonts,\n fontSizes,\n fontWeights,\n letterSpacings,\n lineHeights,\n radii,\n spacing,\n sizes,\n zIndex,\n cursor,\n};\n\nexport const darkTokens = {\n aspectRatios,\n animations,\n blurs,\n borders,\n colors: darkColors,\n durations,\n easings,\n fonts,\n fontSizes,\n fontWeights,\n letterSpacings,\n lineHeights,\n radii,\n spacing,\n sizes,\n zIndex,\n cursor,\n};\n","import {\n createSystem,\n defaultBaseConfig,\n defineConfig,\n} from \"@chakra-ui/react\";\nimport { animationStyles } from \"./animation-styles\";\nimport { breakpoints } from \"./breakpoints\";\nimport { globalCss } from \"./global-css\";\nimport { keyframes } from \"./keyframes\";\nimport { layerStyles } from \"./layer-styles\";\nimport { recipes } from \"./recipes\";\nimport { semanticTokens } from \"./semantic-tokens\";\nimport { slotRecipes } from \"./slot-recipes\";\nimport { textStyles } from \"./text-styles\";\nimport { tokens } from \"./tokens\";\n\nconst themeConfig = defineConfig({\n preflight: true,\n cssVarsPrefix: \"nimbus\",\n cssVarsRoot: \":where(:root, :host)\",\n globalCss,\n theme: {\n breakpoints,\n keyframes,\n tokens,\n semanticTokens,\n recipes,\n slotRecipes,\n textStyles,\n layerStyles,\n animationStyles,\n },\n});\n\nexport const system = createSystem(defaultBaseConfig, themeConfig);\n","\"use client\";\n\nimport {\n ChakraProvider,\n // defaultSystem as defaultSystemChakra,\n} from \"@chakra-ui/react\";\nimport { ColorModeProvider, type ColorModeProviderProps } from \"./color-mode\";\nimport { system } from \"../../theme\";\n\nexport function NimbusProvider({ children, ...props }: ColorModeProviderProps) {\n return (\n <ChakraProvider value={system}>\n <ColorModeProvider enableSystem={false} {...props}>\n <>{children}</>\n </ColorModeProvider>\n </ChakraProvider>\n );\n}\n","import { defaultSystem } from \"@chakra-ui/react\";\n\n/**\n * Extracts chakra-ui style-props from an object, separating them from other props\n * @param props The props object to separate\n * @returns A tuple containing [styleProps, otherProps]\n */\nexport function extractStyleProps<T extends object>(\n props: T\n): [Record<string, unknown>, Omit<T, string>] {\n const styleProps: Record<string, unknown> = {};\n const otherProps = { ...props } as Record<string, unknown>;\n\n // Process only own properties\n Object.keys(props).forEach((key) => {\n if (\n Object.prototype.hasOwnProperty.call(props, key) &&\n defaultSystem.isValidProperty(key)\n ) {\n styleProps[key] = props[key as keyof T];\n delete otherProps[key];\n }\n });\n\n return [styleProps, otherProps as Omit<T, string>];\n}\n","/* eslint-disable @typescript-eslint/no-empty-object-type */\nimport {\n createSlotRecipeContext,\n type HTMLChakraProps,\n type RecipeVariantProps,\n} from \"@chakra-ui/react\";\nimport { checkboxSlotRecipe } from \"./checkbox.recipe\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"checkbox\",\n});\n\nexport interface CheckboxRootProps\n extends HTMLChakraProps<\n \"label\",\n RecipeVariantProps<typeof checkboxSlotRecipe>\n > {}\nexport const CheckboxRoot = withProvider<HTMLLabelElement, CheckboxRootProps>(\n \"label\",\n \"root\"\n);\n\ninterface CheckboxLabelProps extends HTMLChakraProps<\"span\"> {}\nexport const CheckboxLabel = withContext<HTMLSpanElement, CheckboxLabelProps>(\n \"span\",\n \"label\"\n);\n\ninterface ChekcboxIndicatorProps extends HTMLChakraProps<\"span\"> {}\nexport const CheckboxIndicator = withContext<\n HTMLSpanElement,\n ChekcboxIndicatorProps\n>(\"span\", \"indicator\");\n","import { forwardRef, useRef } from \"react\";\nimport { useToggleState } from \"react-stately\";\nimport { useSlotRecipe } from \"@chakra-ui/react\";\nimport { VisuallyHidden } from \"@/components\";\nimport { Check, Remove as Minus } from \"@commercetools/nimbus-icons\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\n\nimport {\n useFocusRing,\n useCheckbox,\n useObjectRef,\n mergeProps,\n} from \"react-aria\";\n\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport type { CheckboxProps } from \"./checkbox.types\";\nimport {\n CheckboxIndicator,\n CheckboxRoot,\n CheckboxLabel,\n} from \"./checkbox.slots\";\n\n/**\n * Checkbox\n * ============================================================\n * displays a checkbox and an associated label\n *\n * Features:\n *\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLDivElement' attributes (including aria- & data-attributes)\n * - supports 'variants', 'sizes', etc. configured in the recipe\n * - allows overriding styles by using style-props\n * - supports 'asChild' and 'as' to modify the underlying html-element (polymorphic)\n */\nexport const Checkbox = forwardRef<HTMLInputElement, CheckboxProps>(\n (props, forwardedRef) => {\n const localRef = useRef<HTMLInputElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n const recipe = useSlotRecipe({ key: \"checkbox\" });\n const [recipeProps] = recipe.splitVariantProps(props);\n\n const [styleProps, restProps] = extractStyleProps(props);\n\n const state = useToggleState(props);\n const { inputProps } = useCheckbox(restProps, state, ref);\n\n const { isFocused, focusProps } = useFocusRing();\n const isSelected = state.isSelected && !props.isIndeterminate;\n const isIndeterminate = props.isIndeterminate;\n\n const stateProps = {\n \"data-selected\": isSelected,\n \"data-indeterminate\": isIndeterminate,\n \"data-invalid\": props.isInvalid,\n \"data-disabled\": props.isDisabled,\n \"data-focus\": isFocused || undefined,\n };\n\n return (\n <CheckboxRoot\n data-slot=\"root\"\n {...recipeProps}\n {...stateProps}\n {...styleProps}\n >\n <CheckboxIndicator data-slot=\"indicator\" {...stateProps}>\n {isSelected && <Check />}\n {isIndeterminate && <Minus />}\n <VisuallyHidden as=\"span\">\n <input {...mergeProps(inputProps, focusProps)} ref={ref} />\n </VisuallyHidden>\n </CheckboxIndicator>\n\n {props.children && (\n <CheckboxLabel data-slot=\"label\" {...stateProps}>\n {props.children}\n </CheckboxLabel>\n )}\n </CheckboxRoot>\n );\n }\n);\nCheckbox.displayName = \"Checkbox\";\n","import { forwardRef } from \"react\";\nimport {\n Stack as ChakraStack,\n type StackProps as ChakraStackProps,\n} from \"@chakra-ui/react\";\n\nexport interface StackProps extends ChakraStackProps {\n children?: React.ReactNode;\n}\n\nexport const Stack = forwardRef<HTMLDivElement, StackProps>((props, ref) => {\n return <ChakraStack ref={ref} {...props} />;\n});\n\nStack.displayName = \"Stack\";\n","import {\n VisuallyHidden as ReactAriaViusallyHidden,\n type VisuallyHiddenProps as ReactAriaVisuallyHiddenProps,\n} from \"react-aria\";\n\nexport interface VisuallyHiddenProps\n extends Omit<ReactAriaVisuallyHiddenProps, \"elementType\"> {\n /** specifies the element type to render, use `span` for inline content\n * and `div` for block content */\n as?: \"span\" | \"div\";\n}\n\nexport const VisuallyHidden = (props: VisuallyHiddenProps) => {\n const { as = \"div\", ...leftoverProps } = props;\n return <ReactAriaViusallyHidden elementType={as} {...leftoverProps} />;\n};\n\nVisuallyHidden.displayName = \"VisuallyHidden\";\n","import {\n type HTMLChakraProps,\n type RecipeVariantProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react\";\n\nimport { textInputRecipe } from \"./text-input.recipe\";\n\nexport interface TextInputRecipeProps\n extends RecipeVariantProps<typeof textInputRecipe>,\n UnstyledProp {}\n\nexport type TextInputRootProps = HTMLChakraProps<\"input\", TextInputRecipeProps>;\n\nconst { withContext } = createRecipeContext({ recipe: textInputRecipe });\n\n/**\n * Root component that provides the styling context for the TextInput component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const TextInputRoot = withContext<HTMLInputElement, TextInputRootProps>(\n \"input\"\n);\n","import { forwardRef, useRef } from \"react\";\nimport { TextInputRoot } from \"./text-input.slots\";\nimport type { TextInputProps } from \"./text-input.types\";\nimport { useObjectRef } from \"react-aria\";\nimport { mergeRefs, useRecipe } from \"@chakra-ui/react\";\nimport { textInputRecipe } from \"./text-input.recipe\";\nimport { TextField, Input } from \"react-aria-components\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\n\n/**\n * TextInput\n * ============================================================\n * An input component that takes in a text as input\n *\n * Features:\n *\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLInputElement' attributes (including aria- & data-attributes)\n * - supports 'variants', 'sizes', etc. configured in the recipe\n * - allows overriding styles by using style-props\n */\nexport const TextInput = forwardRef<HTMLInputElement, TextInputProps>(\n (props, forwardedRef) => {\n const localRef = useRef<HTMLInputElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n const recipe = useRecipe({ recipe: textInputRecipe });\n const [recipeProps, leftOverProps] = recipe.splitVariantProps(props);\n const [styleProps, textfieldProps] = extractStyleProps(leftOverProps);\n\n return (\n <TextField {...textfieldProps}>\n <TextInputRoot ref={ref} {...recipeProps} {...styleProps} asChild>\n <Input />\n </TextInputRoot>\n </TextField>\n );\n }\n);\nTextInput.displayName = \"TextInput\";\n","import { forwardRef } from \"react\";\nimport {\n Grid as ChakraGrid,\n GridItem,\n type GridProps as ChakraGridProps,\n} from \"@chakra-ui/react\";\n\n/**\n * Grid\n * ============================================================\n * The Grid Layout Component provides a flexible and responsive way to structure content using a two-dimensional grid system. It allows elements to be arranged in rows and columns, enabling dynamic and efficient layouts for different screen sizes.\n *\n * Features:\n *\n * - allows forwarding refs to the underlying DOM element\n */\nexport interface GridProps extends ChakraGridProps {\n children?: React.ReactNode;\n}\n\nconst GridComponent = forwardRef<HTMLDivElement, GridProps>((props, ref) => {\n return <ChakraGrid ref={ref} {...props} />;\n});\n\nGridComponent.displayName = \"Grid\";\n\nexport const Grid = Object.assign(GridComponent, {\n Item: GridItem,\n});\n","/* eslint-disable @typescript-eslint/no-empty-object-type */\nimport {\n createSlotRecipeContext,\n type HTMLChakraProps,\n type RecipeVariantProps,\n} from \"@chakra-ui/react\";\nimport { selectSlotRecipe } from \"./select.recipe\";\nimport { type SelectProps as RaSelectProps } from \"react-aria-components\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"select\",\n});\n\n// Select\nexport interface SelectRootSlotProps\n extends HTMLChakraProps<\n \"div\",\n RecipeVariantProps<typeof selectSlotRecipe> & RaSelectProps<object>\n > {}\nexport const SelectRootSlot = withProvider<HTMLDivElement, SelectRootSlotProps>(\n \"div\",\n \"root\"\n);\n\n// Trigger Button\nexport interface SelectTriggerSlotProps extends HTMLChakraProps<\"button\"> {}\nexport const SelectTriggerSlot = withContext<\n HTMLButtonElement,\n SelectTriggerSlotProps\n>(\"button\", \"trigger\");\n\n// Trigger Button Label\nexport interface SelectTriggerLabelSlotProps extends HTMLChakraProps<\"span\"> {}\nexport const SelectTriggerLabelSlot = withContext<\n HTMLButtonElement,\n SelectTriggerLabelSlotProps\n>(\"span\", \"triggerLabel\");\n\n// ListBox\nexport interface SelectOptionsSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const SelectOptionsSlot = withContext<\n HTMLDivElement,\n SelectOptionsSlotProps\n>(\"div\", \"options\");\n\n// ListBoxItem\nexport interface SelectOptionSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const SelectOptionSlot = withContext<\n HTMLDivElement,\n SelectOptionSlotProps\n>(\"div\", \"option\");\n\n// OptionGroup\nexport interface SelectOptionGroupSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const SelectOptionGroupSlot = withContext<\n HTMLDivElement,\n SelectOptionGroupSlotProps\n>(\"div\", \"optionGroup\");\n","import { useContext } from \"react\";\nimport { Close as CloseIcon } from \"@commercetools/nimbus-icons\";\nimport { IconButton } from \"@/components\";\nimport { SelectStateContext } from \"react-aria-components\";\n\nexport const SelectClearButton = () => {\n const state = useContext(SelectStateContext);\n\n if (!state?.selectedKey) {\n return null;\n }\n\n const onPressRequest = () => {\n state?.setSelectedKey(null);\n };\n\n return (\n <IconButton\n pointerEvents=\"all\"\n size=\"2xs\"\n variant=\"ghost\"\n tone=\"primary\"\n aria-label=\"Clear Selection\"\n onPress={onPressRequest}\n >\n <CloseIcon />\n </IconButton>\n );\n};\n\nSelectClearButton.displayName = \"Select.ClearButton\";\n","import { forwardRef } from \"react\";\nimport { chakra, useSlotRecipe } from \"@chakra-ui/react\";\n\nimport {\n KeyboardArrowDown as DropdownIndicatorIcon,\n Loop as SpinnerIcon,\n} from \"@commercetools/nimbus-icons\";\n\nimport { Flex, Box } from \"@/components\";\nimport {\n Button as RaButton,\n Popover as RaPopover,\n Select as RaSelect,\n SelectValue as RaSelectValue,\n} from \"react-aria-components\";\nimport {\n SelectRootSlot,\n SelectTriggerSlot,\n SelectTriggerLabelSlot,\n} from \"./../select.slots\";\nimport { SelectClearButton } from \"./select.clear-button\";\nimport { type SelectRootProps } from \"./../select.types\";\nimport { selectSlotRecipe } from \"../select.recipe\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\n\nexport const SelectRoot = forwardRef<HTMLDivElement, SelectRootProps>(\n ({ children, isLoading, isDisabled, ...props }, ref) => {\n const recipe = useSlotRecipe({ recipe: selectSlotRecipe });\n const [recipeProps, restRecipeProps] = recipe.splitVariantProps(props);\n const [styleProps, restProps] = extractStyleProps(restRecipeProps);\n\n const raSelectProps = {\n ...restProps,\n isDisabled: isLoading || isDisabled,\n };\n\n return (\n <SelectRootSlot asChild ref={ref} {...recipeProps} {...styleProps}>\n <RaSelect {...raSelectProps}>\n <chakra.div position=\"relative\">\n <SelectTriggerSlot zIndex={0} asChild>\n <RaButton>\n <SelectTriggerLabelSlot asChild>\n <RaSelectValue />\n </SelectTriggerLabelSlot>\n </RaButton>\n </SelectTriggerSlot>\n <Flex\n position=\"absolute\"\n top=\"0\"\n bottom=\"0\"\n zIndex={1}\n right=\"400\"\n pointerEvents=\"none\"\n >\n <Flex width=\"600\" my=\"auto\">\n <SelectClearButton />\n </Flex>\n\n <Flex my=\"auto\" w=\"600\" h=\"600\" pointerEvents=\"none\">\n <Box color=\"neutral.9\" asChild m=\"auto\" w=\"400\" h=\"400\">\n {isLoading ? (\n <Box asChild animation=\"spin\" animationDuration=\"slowest\">\n <SpinnerIcon />\n </Box>\n ) : (\n <DropdownIndicatorIcon />\n )}\n </Box>\n </Flex>\n </Flex>\n </chakra.div>\n\n <RaPopover>{children}</RaPopover>\n </RaSelect>\n </SelectRootSlot>\n );\n }\n);\n\nSelectRoot.displayName = \"Select.Root\";\n","import { forwardRef, type JSX } from \"react\";\n\n/**\n * This is a workaround to fix the type of `forwardRef`.\n * The issue is that the type of `forwardRef` is not correct when using generics.\n *\n * While not ideal from a type-safety perspective, it's necessary because\n * TypeScript cannot properly express the transformation that happens when\n * combining generics with `forwardRef`.\n */\nexport const fixedForwardRef = <T, P extends object>(\n render: (props: P, ref: React.Ref<T>) => JSX.Element\n): ((props: P & React.RefAttributes<T>) => JSX.Element) => {\n // @ts-expect-error - This tells TypeScript to \"trust us\" about the resulting type.\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return, @typescript-eslint/no-explicit-any\n return forwardRef(render) as any;\n};\n","import { type ForwardedRef } from \"react\";\nimport { ListBox as RaListBox } from \"react-aria-components\";\nimport { SelectOptionsSlot } from \"./../select.slots\";\nimport type { SelectOptionsProps } from \"../select.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport { fixedForwardRef } from \"@/utils/fixedForwardRef\";\n\nexport const SelectOptions = fixedForwardRef(\n <T extends object>(\n props: SelectOptionsProps<T>,\n forwardedRef: ForwardedRef<HTMLDivElement>\n ) => {\n const [styleProps, rest] = extractStyleProps(props);\n return (\n <SelectOptionsSlot asChild {...styleProps}>\n <RaListBox ref={forwardedRef} {...rest} />\n </SelectOptionsSlot>\n );\n }\n);\n\n// @ts-expect-error - doesn't work with this complex types\nSelectOptions.displayName = \"Select.Options\";\n","import { type ForwardedRef } from \"react\";\nimport { ListBoxItem as RaListBoxItem } from \"react-aria-components\";\nimport { SelectOptionSlot } from \"./../select.slots\";\nimport type { SelectOptionProps } from \"../select.types\";\nimport { fixedForwardRef } from \"@/utils/fixedForwardRef\";\n\nexport const SelectOption = fixedForwardRef(\n <T extends object>(\n props: SelectOptionProps<T>,\n forwardedRef: ForwardedRef<HTMLDivElement>\n ) => {\n return (\n <SelectOptionSlot asChild ref={forwardedRef}>\n <RaListBoxItem {...props} />\n </SelectOptionSlot>\n );\n }\n);\n\n// @ts-expect-error - doesn't work with this complex types\nSelectOption.displayName = \"Select.Option\";\n","import { forwardRef, type ForwardedRef, type ReactNode } from \"react\";\n\nimport {\n ListBoxSection as RaListBoxSection,\n Header as RaHeader,\n Collection,\n} from \"react-aria-components\";\nimport { SelectOptionGroupSlot } from \"./../select.slots\";\nimport type { SelectOptionGroupProps } from \"../select.types\";\nimport { fixedForwardRef } from \"@/utils/fixedForwardRef\";\n\nexport const SelectOptionGroup = fixedForwardRef(\n <T extends object>(\n { label, items, children, ...props }: SelectOptionGroupProps<T>,\n forwardedRef: ForwardedRef<HTMLDivElement>\n ) => {\n // Validate that children is a function when items is provided\n if (items && typeof children !== \"function\") {\n throw new Error(\n 'SelectOptionGroup: When \"items\" is provided, \"children\" must be a function'\n );\n }\n\n return (\n <RaListBoxSection ref={forwardedRef} {...props}>\n <SelectOptionGroupSlot asChild>\n <RaHeader>{label}</RaHeader>\n </SelectOptionGroupSlot>\n\n {items ? (\n <Collection items={items}>\n {(item: T) => {\n if (typeof children === \"function\") {\n return children(item);\n }\n return null;\n }}\n </Collection>\n ) : (\n (children as ReactNode)\n )}\n </RaListBoxSection>\n );\n }\n);\n\n// @ts-expect-error - doesn't work with this complex types\nSelectOptionGroup.displayName = \"Select.OptionGroup\";\n","import { SelectRoot as _SelectRoot } from \"./components/select.root\";\nimport { SelectOptions as _SelectOptions } from \"./components/select.options\";\nimport { SelectOption as _SelectOption } from \"./components/select.option\";\nimport { SelectOptionGroup as _SelectOptionGroup } from \"./components/select.option-group\";\n\nexport const Select = {\n Root: _SelectRoot,\n Options: _SelectOptions,\n Option: _SelectOption,\n OptionGroup: _SelectOptionGroup,\n};\n\n/**\n * todo: get rid of this, this is needed for the react-docgen-typescript script\n * that is parsing the typescript types for our documentation. The _ underscores\n * serve as a reminder that this exports are awkward and should not be used.\n */\nexport { _SelectRoot, _SelectOptions, _SelectOption, _SelectOptionGroup };\n","import {\n createSlotRecipeContext,\n type HTMLChakraProps,\n} from \"@chakra-ui/react\";\nimport type { AccordionRootProps } from \"./accordion.types\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"accordion\",\n});\n\nexport const AccordionRoot = withProvider<HTMLDivElement, AccordionRootProps>(\n \"div\",\n \"root\"\n);\n\nexport const AccordionDisclosure = withContext<\n HTMLDivElement,\n HTMLChakraProps<\"div\">\n>(\"div\", \"disclosure\");\n\nexport const AccordionTrigger = withContext<\n HTMLButtonElement,\n HTMLChakraProps<\"button\">\n>(\"button\", \"trigger\");\n\nexport const AccordionPanel = withContext<\n HTMLDivElement,\n HTMLChakraProps<\"div\">\n>(\"div\", \"panel\");\n\nexport const AccordionTitle = withContext<\n HTMLButtonElement,\n HTMLChakraProps<\"div\">\n>(\"div\", \"accordionTitle\");\n\nexport const HeaderRightContent = withContext<\n HTMLDivElement,\n HTMLChakraProps<\"div\">\n>(\"div\", \"headerContentRight\");\n","import React, { createContext } from \"react\";\nimport type { DisclosureGroupState } from \"react-stately\";\n\n// Define types for the item context\nexport interface ItemContextType {\n isExpanded: boolean;\n triggerRef: React.RefObject<HTMLButtonElement | null>;\n panelRef: React.RefObject<HTMLDivElement | null>;\n buttonProps: React.ButtonHTMLAttributes<HTMLButtonElement>;\n panelProps: React.ButtonHTMLAttributes<HTMLButtonElement>;\n isFocusVisible: boolean;\n}\n\n// Create and export the contexts\nexport const ItemContext = createContext<ItemContextType | null>(null);\nexport const DisclosureGroupStateContext =\n createContext<DisclosureGroupState | null>(null);\n","import React, { forwardRef, type Key } from \"react\";\nimport { AccordionRoot as AccordionRootSlot } from \"../accordion.slots\";\nimport { useDisclosureGroupState } from \"react-stately\";\nimport { useSlotRecipe } from \"@chakra-ui/react\";\nimport type { DisclosureGroupProps } from \"../accordion.types\";\nimport { DisclosureGroupStateContext } from \"../accordion-context\";\n\nexport const AccordionGroup = forwardRef<HTMLDivElement, DisclosureGroupProps>(\n ({ children, onExpandedChange, ...props }, forwardedRef) => {\n const state = useDisclosureGroupState({\n ...props,\n onExpandedChange: (keys: Set<Key>) => {\n onExpandedChange?.(keys.size > 0);\n },\n });\n const recipe = useSlotRecipe({ key: \"accordion\" });\n const [recipeProps] = recipe.splitVariantProps(props);\n\n return (\n <DisclosureGroupStateContext.Provider value={state}>\n <AccordionRootSlot data-slot=\"root\" ref={forwardedRef} {...recipeProps}>\n {children}\n </AccordionRootSlot>\n </DisclosureGroupStateContext.Provider>\n );\n }\n);\n","import React, { forwardRef, useContext } from \"react\";\nimport {\n AccordionTrigger,\n AccordionTitle,\n HeaderRightContent,\n} from \"../accordion.slots\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport { Flex } from \"@/components\";\nimport { KeyboardArrowRight } from \"@commercetools/nimbus-icons\";\nimport type { DisclosureGroupProps } from \"../accordion.types\";\nimport { ItemContext } from \"../accordion-context\";\n\nexport const AccordionHeader = forwardRef<\n HTMLButtonElement,\n DisclosureGroupProps\n>(({ children }, ref) => {\n const context = useContext(ItemContext);\n if (!context) {\n throw new Error(\"Accordion.Header must be used within Accordion.Item\");\n }\n\n // Extract HeaderRightContent if present\n const headerContent = React.Children.toArray(children).reduce<{\n main: React.ReactNode[];\n rightContent: React.ReactNode[];\n }>(\n (acc, child) => {\n if (React.isValidElement(child) && child.type === HeaderRightContent) {\n acc.rightContent.push(child);\n } else {\n acc.main.push(child);\n }\n return acc;\n },\n { main: [], rightContent: [] }\n );\n\n return (\n <Flex\n justifyContent=\"space-between\"\n alignItems=\"center\"\n borderBottom=\"solid-25\"\n borderColor=\"neutral.4\"\n >\n <AccordionTrigger\n ref={mergeRefs(context.triggerRef, ref)}\n {...context.buttonProps}\n data-slot=\"trigger\"\n outline={context.isFocusVisible ? undefined : \"none\"}\n >\n <KeyboardArrowRight />\n <AccordionTitle data-slot=\"accordionTitle\">\n {headerContent.main}\n </AccordionTitle>\n </AccordionTrigger>\n {headerContent.rightContent.length > 0 && (\n <HeaderRightContent data-slot=\"headerContentRight\">\n {headerContent.rightContent}\n </HeaderRightContent>\n )}\n </Flex>\n );\n});\n","import React, { forwardRef, useContext } from \"react\";\nimport { AccordionPanel } from \"../accordion.slots\";\nimport { useObjectRef } from \"react-aria\";\nimport { mergeProps, mergeRefs } from \"@chakra-ui/react\";\nimport type { DisclosureGroupProps } from \"../accordion.types\";\nimport { ItemContext } from \"../accordion-context\";\n\n// Create Content component\nexport const AccordionContent = forwardRef<\n HTMLDivElement,\n DisclosureGroupProps\n>((props, forwardedRef) => {\n const context = useContext(ItemContext);\n const ref = useObjectRef<HTMLDivElement>(\n mergeRefs(context?.panelRef, forwardedRef)\n );\n\n return (\n // @ts-expect-error TODO - fix prop types merging conflict\n <AccordionPanel\n ref={ref}\n {...mergeProps({ ...context?.panelProps, ...props })}\n data-slot=\"panel\"\n >\n {props.children}\n </AccordionPanel>\n );\n});\n","import React, { forwardRef, useContext, useRef } from \"react\";\nimport { AccordionDisclosure } from \"../accordion.slots\";\nimport { useDisclosureState } from \"react-stately\";\nimport {\n useDisclosure,\n mergeProps,\n useButton,\n useFocusRing,\n useId,\n} from \"react-aria\";\nimport type { DisclosureItemProps } from \"../accordion.types\";\n// Import the contexts from the shared file\nimport { ItemContext, DisclosureGroupStateContext } from \"../accordion-context\";\n\nexport const AccordionItem = forwardRef<HTMLDivElement, DisclosureItemProps>(\n (\n { children, id, isDisabled, isExpanded, onExpandedChange, value },\n forwardedRef\n ) => {\n const defaultId = useId();\n const itemId = id || defaultId;\n const itemValue = value || itemId;\n\n // Get group state from context\n const groupState = useContext(DisclosureGroupStateContext);\n\n // Determine if expanded based on group state or prop\n const expanded = groupState\n ? groupState.expandedKeys.has(itemValue)\n : isExpanded;\n\n // Create disclosure state\n const state = useDisclosureState({\n isExpanded: expanded,\n onExpandedChange: (isExpanded) => {\n if (groupState) {\n groupState.toggleKey(itemValue);\n }\n onExpandedChange?.(isExpanded);\n },\n });\n\n // Create refs and get props\n const panelRef = useRef<HTMLDivElement>(null);\n const triggerRef = useRef<HTMLButtonElement>(null);\n const disabled = isDisabled || groupState?.isDisabled || false;\n\n const { buttonProps, panelProps } = useDisclosure(\n {\n isExpanded: state.isExpanded,\n isDisabled: disabled,\n },\n state,\n panelRef\n );\n\n const { buttonProps: finalButtonProps } = useButton(\n buttonProps,\n triggerRef\n );\n const { focusProps, isFocusVisible } = useFocusRing();\n\n // Create context value for Header and Content\n const contextValue = {\n isExpanded: state.isExpanded,\n triggerRef,\n panelRef,\n buttonProps: mergeProps(finalButtonProps, focusProps),\n panelProps,\n isFocusVisible,\n };\n\n // Using the imported ItemContext\n return (\n <ItemContext.Provider value={contextValue}>\n <AccordionDisclosure\n data-slot=\"disclosure\"\n data-value={itemValue}\n data-expanded={state.isExpanded}\n ref={forwardedRef}\n >\n {children}\n </AccordionDisclosure>\n </ItemContext.Provider>\n );\n }\n);\n","import { HeaderRightContent } from \"./accordion.slots\";\nimport { AccordionGroup } from \"./components/accordion-group\";\nimport { AccordionHeader } from \"./components/accordion-header\";\nimport { AccordionContent } from \"./components/accordion-content\";\nimport { AccordionItem } from \"./components/accordion-item\";\n\n// Create the Accordion namespace object as an object literal\nexport const Accordion = {\n Root: AccordionGroup,\n Item: AccordionItem,\n Header: AccordionHeader,\n Content: AccordionContent,\n HeaderRightContent,\n};\n","import { defineRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the LoadingSpinner component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const loadingSpinnerRecipe = defineRecipe({\n className: \"nimbus-loading-spinner\",\n\n base: {\n display: \"inline-flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n \"& svg\": {\n overflow: \"visible\",\n // This proportionally scales the spinner to fit the container while also scaling padding\n transform: \"scale(calc(1 - 2/12))\",\n },\n \"& svg [data-svg-path='spinner-pointer']\": {\n stroke: \"colorPalette.10\",\n animationName: \"spin\",\n animationDuration: \"0.5s\",\n animationTimingFunction: \"linear\",\n animationIterationCount: \"infinite\",\n transformOrigin: \"center center 0\",\n },\n \"& svg [data-svg-path='spinner-circle']\": {\n stroke: \"colorPalette.5\",\n },\n },\n\n variants: {\n size: {\n \"2xs\": {\n width: \"350\",\n height: \"350\",\n },\n xs: {\n width: \"500\",\n height: \"500\",\n },\n sm: {\n width: \"600\",\n height: \"600\",\n },\n md: {\n width: \"800\",\n height: \"800\",\n },\n lg: {\n width: \"1000\",\n height: \"1000\",\n },\n },\n\n tone: {\n primary: {\n colorPalette: \"ctvioletAlpha\",\n },\n white: {\n colorPalette: \"whiteAlpha\",\n },\n },\n },\n\n defaultVariants: {\n size: \"sm\",\n tone: \"primary\",\n },\n});\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react\";\n\nimport { loadingSpinnerRecipe } from \"./loading-spinner.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the div element.\n */\nexport interface LoadingSpinnerRecipeProps\n extends RecipeProps<\"div\">,\n UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport type LoadingSpinnerRootProps = Omit<\n HTMLChakraProps<\"div\", LoadingSpinnerRecipeProps>,\n // We want to omit polymorphic props from the root props since they are not used internally.\n \"as\" | \"asChild\"\n>;\n\nconst { withContext } = createRecipeContext({ recipe: loadingSpinnerRecipe });\n\n/**\n * Root component that provides the styling context for the LoadingSpinner component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const LoadingSpinnerRoot = withContext<\n HTMLDivElement,\n LoadingSpinnerRootProps\n>(\"div\");\n","import { forwardRef } from \"react\";\nimport { LoadingSpinnerRoot } from \"./loading-spinner.slots\";\nimport type { LoadingSpinnerProps } from \"./loading-spinner.types\";\nimport { mergeProps, useProgressBar } from \"react-aria\";\n\nconst circlePath =\n \"M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.7079 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 10.6211 1.77159 9.25574 2.29927 7.98182C2.82694 6.7079 3.60037 5.55039 4.57538 4.57538C5.5504 3.60036 6.70791 2.82694 7.98183 2.29926C9.25575 1.77159 10.6211 1.5 12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60037 19.4246 4.57538C20.3996 5.5504 21.1731 6.70791 21.7007 7.98183C22.2284 9.25575 22.5 10.6211 22.5 12L22.5 12Z\";\nconst pointerPath =\n \"M12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60036 19.4246 4.57538C20.3996 5.55039 21.1731 6.70791 21.7007 7.98183C22.2284 9.25574 22.5 10.6211 22.5 12\";\n\n/**\n * LoadingSpinner\n * ============================================================\n * Indicates ongoing processes or loading states\n */\nexport const LoadingSpinner = forwardRef<HTMLDivElement, LoadingSpinnerProps>(\n ({ \"aria-label\": ariaLabel = \"Loading data\", ...props }, ref) => {\n const { progressBarProps } = useProgressBar({\n isIndeterminate: true,\n \"aria-label\": ariaLabel,\n ...props,\n });\n\n return (\n <LoadingSpinnerRoot\n ref={ref}\n {...mergeProps(props, progressBarProps)}\n aria-label={ariaLabel}\n >\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\">\n <path\n d={circlePath}\n data-svg-path=\"spinner-circle\"\n strokeWidth=\"3\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d={pointerPath}\n data-svg-path=\"spinner-pointer\"\n strokeWidth=\"3\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </LoadingSpinnerRoot>\n );\n }\n);\nLoadingSpinner.displayName = \"LoadingSpinner\";\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the Card component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const cardRecipe = defineSlotRecipe({\n slots: [\"root\", \"header\", \"content\"],\n\n className: \"nimbus-card\",\n\n base: {\n root: {\n colorPalette: \"slate\",\n display: \"inline-flex\",\n alignItems: \"flex-start\",\n borderRadius: \"300\",\n focusVisibleRing: \"outside\",\n },\n },\n\n variants: {\n cardPadding: {\n sm: {\n root: {\n padding: \"200\",\n },\n },\n md: {\n root: {\n padding: \"400\",\n },\n },\n lg: {\n root: {\n padding: \"600\",\n },\n },\n },\n\n borderStyle: {\n none: {},\n outlined: {\n root: {\n border: \"solid-25\",\n borderColor: \"colorPalette.3\",\n },\n },\n },\n elevation: {\n none: {},\n elevated: {\n root: {\n shadow: \"1\",\n },\n },\n },\n backgroundStyle: {\n default: {\n root: {\n backgroundColor: \"colorPalette.contrast\",\n },\n },\n muted: {\n root: {\n backgroundColor: \"colorPalette.2\",\n },\n },\n },\n },\n});\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createSlotRecipeContext,\n} from \"@chakra-ui/react\";\n\nimport { cardRecipe } from \"./card.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the div element.\n */\ninterface CardRecipeProps extends RecipeProps<\"div\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport interface CardRootProps\n extends HTMLChakraProps<\"div\", CardRecipeProps> {}\n\nexport interface CardHeaderProps\n extends HTMLChakraProps<\"div\", CardRecipeProps> {}\n\nexport interface CardContentProps\n extends HTMLChakraProps<\"div\", CardRecipeProps> {}\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: cardRecipe,\n});\n\n/**\n * Root component that provides the styling context for the Card component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const CardRoot = withProvider<HTMLDivElement, CardRootProps>(\n \"div\",\n \"root\"\n);\n\nexport const CardHeader = withContext<HTMLDivElement, CardHeaderProps>(\n \"div\",\n \"header\"\n);\nexport const CardContent = withContext<HTMLDivElement, CardContentProps>(\n \"div\",\n \"content\"\n);\n","import {\n createContext,\n forwardRef,\n useMemo,\n useState,\n type ReactNode,\n} from \"react\";\nimport { CardRoot as CardRootSlot } from \"../card.slots\";\nimport type { CardProps } from \"../card.types\";\nimport { Stack } from \"../../stack\";\nimport { mergeProps, useFocusRing } from \"react-aria\";\n\ntype CardContextValue = {\n setHeader: (header: React.ReactNode) => void;\n setContent: (content: React.ReactNode) => void;\n};\n\nexport const CardContext = createContext<CardContextValue | undefined>(\n undefined\n);\n\nexport const CardRoot = forwardRef<HTMLDivElement, CardProps>(\n ({ children, ...props }, ref) => {\n const { isFocused, isFocusVisible, focusProps } = useFocusRing();\n const [headerNode, setHeader] = useState<ReactNode>(null);\n const [contentNode, setContent] = useState<ReactNode>(null);\n\n // Memoize the context value so we don't cause unnecessary re-renders\n const contextValue = useMemo(\n () => ({\n setHeader,\n setContent,\n }),\n [setHeader, setContent]\n );\n\n return (\n <CardContext.Provider value={contextValue}>\n <CardRootSlot\n ref={ref}\n {...mergeProps(props, focusProps)}\n data-focus={isFocused || undefined}\n data-focus-visible={isFocusVisible || undefined}\n tabIndex={0}\n >\n {/* Always render them in this order/layout to protect consumers */}\n <Stack direction=\"column\" gap=\"200\">\n {headerNode}\n {contentNode}\n </Stack>\n\n {/* Render all consumer sub-components, including our own */}\n {children}\n </CardRootSlot>\n </CardContext.Provider>\n );\n }\n);\n\nCardRoot.displayName = \"Card.Root\";\n","import { useContext, useEffect } from \"react\";\nimport {\n CardHeader as CardHeaderSlot,\n type CardHeaderProps,\n} from \"../card.slots\";\nimport { CardContext } from \"./card.root\";\n\nexport const CardHeader = ({ children, ...props }: CardHeaderProps) => {\n const context = useContext(CardContext);\n\n useEffect(() => {\n if (context) {\n const slotElement = (\n <CardHeaderSlot {...props}>{children}</CardHeaderSlot>\n );\n // Register it with the parent\n context.setHeader(slotElement);\n\n // On unmount, remove it\n return () => context.setHeader(null);\n }\n }, [children, props]);\n\n return null;\n};\nCardHeader.displayName = \"Card.Header\";\n","import { useContext, useEffect } from \"react\";\nimport {\n CardContent as CardContentSlot,\n type CardContentProps,\n} from \"../card.slots\";\nimport { CardContext } from \"./card.root\";\n\nexport const CardContent = ({ children, ...props }: CardContentProps) => {\n const context = useContext(CardContext);\n\n useEffect(() => {\n if (context) {\n const slotElement = (\n <CardContentSlot {...props}>{children}</CardContentSlot>\n );\n // Register it with the parent\n context.setContent(slotElement);\n\n // On unmount, remove it\n return () => context.setContent(null);\n }\n }, [children, props]);\n\n return null;\n};\n\nCardContent.displayName = \"Card.Content\";\n","import { CardRoot } from \"./components/card.root\";\nimport { CardHeader } from \"./components/card.header\";\nimport { CardContent } from \"./components/card.content\";\n\nexport { CardRoot, CardHeader, CardContent };\n\nexport const Card = {\n Root: CardRoot,\n Header: CardHeader,\n Content: CardContent,\n};\n","import { defineRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the Badge component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const badgeRecipe = defineRecipe({\n className: \"nimbus-badge\",\n\n // Base styles applied to all instances of the component\n base: {\n display: \"inline-flex\",\n alignItems: \"center\",\n borderRadius: \"200\",\n justifyContent: \"center\",\n whiteSpace: \"nowrap\",\n verticalAlign: \"middle\",\n py: \"25\",\n fontWeight: \"500\",\n backgroundColor: \"colorPalette.3\",\n color: \"colorPalette.11\",\n w: \"auto\",\n userSelect: \"none\",\n _icon: {\n flexShrink: \"0\",\n },\n },\n\n // Available variants for customizing the component's appearance\n variants: {\n size: {\n \"2xs\": {\n fontSize: \"300\",\n gap: \"100\",\n h: \"600\",\n lineHeight: \"350\",\n px: \"200\",\n _icon: {\n width: \"400\",\n height: \"400\",\n },\n },\n xs: {\n fontSize: \"350\",\n gap: \"100\",\n h: \"800\",\n lineHeight: \"400\",\n px: \"300\",\n _icon: {\n width: \"500\",\n height: \"500\",\n },\n },\n md: {\n fontSize: \"400\",\n gap: \"200\",\n h: \"1000\",\n lineHeight: \"500\",\n px: \"400\",\n _icon: {\n width: \"600\",\n height: \"600\",\n },\n },\n },\n },\n\n // Default variant values when not explicitly specified\n defaultVariants: {\n size: \"md\",\n },\n});\n","import { createRecipeContext } from \"@chakra-ui/react\";\n\nimport { badgeRecipe } from \"./badge.recipe\";\nimport type { BadgeRootProps } from \"./badge.types\";\n\nconst { withContext } = createRecipeContext({ recipe: badgeRecipe });\n\nexport const BadgeRoot = withContext<HTMLSpanElement, BadgeRootProps>(\"span\");\n","import { forwardRef, useRef } from \"react\";\nimport { BadgeRoot } from \"./badge.slots\";\nimport type { BadgeProps } from \"./badge.types\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport { useObjectRef, mergeProps } from \"react-aria\";\n/**\n * Badge\n * ============================================================\n * badge\n *\n * Features:\n *\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLSpanElement' attributes (including aria- & data-attributes)\n * - supports 'variants', 'sizes', etc. configured in the recipe\n * - allows overriding styles by using style-props\n * - supports 'asChild' and 'as' to modify the underlying html-element (polymorphic)\n */\n\nexport const Badge = forwardRef<HTMLSpanElement, BadgeProps>(\n (props, forwardedRef) => {\n const { as, asChild, children, ...rest } = props;\n\n const localRef = useRef<HTMLSpanElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n const elementType = as || \"span\";\n\n return (\n <BadgeRoot as={elementType} {...mergeProps(rest, { ref })}>\n {children}\n </BadgeRoot>\n );\n }\n);\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the Alert component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const alertRecipe = defineSlotRecipe({\n slots: [\"root\", \"title\", \"description\", \"icon\", \"actions\", \"dismissButton\"],\n // Unique class name prefix for the component\n className: \"nimbus-alert\",\n\n // Base styles applied to all instances of the component\n base: {\n root: {\n display: \"inline-flex\",\n flexDirection: \"row\",\n gap: \"200\",\n width: \"100%\",\n },\n icon: {\n marginTop: \"50\",\n \"& svg\": {\n width: \"500\",\n height: \"500\",\n color: \"colorPalette.11\",\n },\n },\n title: {\n color: \"colorPalette.11\",\n },\n description: {\n color: \"colorPalette.11\",\n },\n },\n\n variants: {\n tone: {\n critical: {\n root: { colorPalette: \"critical\" },\n },\n info: {\n root: { colorPalette: \"info\" },\n },\n warning: {\n root: { colorPalette: \"amber\" },\n },\n positive: {\n root: { colorPalette: \"positive\" },\n },\n },\n\n variant: {\n flat: {},\n outlined: {\n root: {\n border: \"solid-25\",\n borderColor: \"colorPalette.5\",\n backgroundColor: \"colorPalette.2\",\n padding: \"200\",\n borderRadius: \"200\",\n },\n },\n },\n },\n});\n","import { createSlotRecipeContext } from \"@chakra-ui/react\";\nimport { alertRecipe } from \"./alert.recipe\";\nimport type {\n AlertActionsProps,\n AlertDescriptionProps,\n AlertDismissButtonProps,\n AlertIconProps,\n AlertRootProps,\n AlertTitleProps,\n} from \"./alert.types\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: alertRecipe,\n});\n\nexport const AlertRoot = withProvider<HTMLDivElement, AlertRootProps>(\n \"div\",\n \"root\"\n);\n\nexport const AlertTitle = withContext<HTMLDivElement, AlertTitleProps>(\n \"div\",\n \"title\"\n);\n\nexport const AlertDescription = withContext<\n HTMLDivElement,\n AlertDescriptionProps\n>(\"div\", \"description\");\n\nexport const AlertIcon = withContext<HTMLDivElement, AlertIconProps>(\n \"div\",\n \"icon\"\n);\n\nexport const AlertActions = withContext<HTMLDivElement, AlertActionsProps>(\n \"div\",\n \"actions\"\n);\n\n// This is a div wrapper for layout placement - note that we expect it to receive `IconButton` props, but we use a `div`.\n// We then forward the consumer props to the interior `IconButton` component.\nexport const AlertDismissButton = withContext<\n HTMLDivElement,\n AlertDismissButtonProps\n>(\"div\", \"dismissButton\");\n","import {\n createContext,\n forwardRef,\n useMemo,\n useState,\n type ReactNode,\n} from \"react\";\nimport { AlertRoot as AlertRootSlot, AlertIcon } from \"../alert.slots\";\nimport type { AlertProps, AlertRootComponent } from \"../alert.types\";\nimport { Box } from \"../../box\";\nimport { Stack } from \"../../stack\";\nimport {\n CheckCircleOutline,\n ErrorOutline,\n Info,\n WarningAmber,\n} from \"@commercetools/nimbus-icons\";\n\nconst getIconFromTone = (tone: AlertProps[\"tone\"]) => {\n switch (tone) {\n case \"critical\":\n return <ErrorOutline />;\n case \"info\":\n return <Info />;\n case \"warning\":\n return <WarningAmber />;\n case \"positive\":\n return <CheckCircleOutline />;\n default:\n return null;\n }\n};\n\ntype AlertContextValue = {\n setTitle: (title: ReactNode) => void;\n setDescription: (description: ReactNode) => void;\n setActions: (actions: ReactNode) => void;\n setDismiss: (dismiss: ReactNode) => void;\n};\n\nexport const AlertContext = createContext<AlertContextValue | undefined>(\n undefined\n);\n\n/**\n * Alert\n * ============================================================\n * Provides feedback to the user about the status of an action or system event\n */\nexport const AlertRoot: AlertRootComponent = forwardRef<\n HTMLDivElement,\n AlertProps\n>(({ children, ...props }, ref) => {\n const [titleNode, setTitle] = useState<ReactNode>(null);\n const [descriptionNode, setDescription] = useState<ReactNode>(null);\n const [actionsNode, setActions] = useState<ReactNode>(null);\n const [dismissNode, setDismiss] = useState<ReactNode>(null);\n\n // Memoize the context value so we don't cause unnecessary re-renders\n const contextValue = useMemo(\n () => ({\n setTitle,\n setDescription,\n setActions,\n setDismiss,\n }),\n [setTitle, setDescription, setActions, setDismiss]\n );\n\n return (\n <AlertContext.Provider value={contextValue}>\n <AlertRootSlot ref={ref} {...props} role=\"alert\">\n <AlertIcon alignItems=\"flex-start\">\n {getIconFromTone(props.tone)}\n </AlertIcon>\n <Stack flex=\"1\" gap=\"200\">\n <Box>\n {titleNode}\n {descriptionNode}\n </Box>\n {actionsNode}\n </Stack>\n {dismissNode}\n\n {children}\n </AlertRootSlot>\n </AlertContext.Provider>\n );\n});\n\nAlertRoot.displayName = \"Alert.Root\";\n","import { useContext, useEffect } from \"react\";\nimport { AlertTitle as AlertTitleSlot } from \"../alert.slots\";\nimport type { AlertTitleProps } from \"../alert.types\";\nimport { AlertContext } from \"./alert.root\";\n\nexport const AlertTitle = ({ children, ...props }: AlertTitleProps) => {\n const context = useContext(AlertContext);\n\n useEffect(() => {\n if (context) {\n const slotElement = (\n <AlertTitleSlot {...props} fontWeight=\"600\">\n {children}\n </AlertTitleSlot>\n );\n // Register it with the parent\n context.setTitle(slotElement);\n\n // On unmount, remove it\n return () => context.setTitle(null);\n }\n }, [children, props]);\n\n return null;\n};\n\nAlertTitle.displayName = \"Alert.Title\";\n","import { useContext, useEffect } from \"react\";\nimport { AlertDescription as AlertDescriptionSlot } from \"../alert.slots\";\nimport type { AlertDescriptionProps } from \"../alert.types\";\nimport { AlertContext } from \"./alert.root\";\n\nexport const AlertDescription = ({\n children,\n ...props\n}: AlertDescriptionProps) => {\n const context = useContext(AlertContext);\n\n useEffect(() => {\n if (context) {\n const slotElement = (\n <AlertDescriptionSlot {...props}>{children}</AlertDescriptionSlot>\n );\n // Register it with the parent\n context.setDescription(slotElement);\n\n // On unmount, remove it\n return () => context.setDescription(null);\n }\n }, [children, props]);\n\n return null;\n};\n\nAlertDescription.displayName = \"Alert.Description\";\n","import { useContext, useEffect } from \"react\";\nimport { AlertActions as AlertActionsSlot } from \"../alert.slots\";\nimport type { AlertActionsProps } from \"../alert.types\";\nimport { AlertContext } from \"./alert.root\";\n\nexport const AlertActions = ({ children, ...props }: AlertActionsProps) => {\n const context = useContext(AlertContext);\n\n useEffect(() => {\n if (context) {\n const slotElement = (\n <AlertActionsSlot {...props}>{children}</AlertActionsSlot>\n );\n // Register it with the parent\n context.setActions(slotElement);\n\n // On unmount, remove it\n return () => context.setActions(null);\n }\n }, [children, props]);\n\n return null;\n};\n\nAlertActions.displayName = \"Alert.Actions\";\n","import { useContext, useEffect } from \"react\";\nimport { AlertDismissButton as AlertDismissButtonSlot } from \"../alert.slots\";\nimport type { AlertDismissButtonProps } from \"../alert.types\";\nimport { Clear } from \"@commercetools/nimbus-icons\";\nimport { IconButton } from \"../../icon-button\";\nimport { AlertContext } from \"./alert.root\";\n\nexport const AlertDismissButton = ({\n children,\n ...props\n}: AlertDismissButtonProps) => {\n const context = useContext(AlertContext);\n\n useEffect(() => {\n if (context) {\n const slotElement = (\n <AlertDismissButtonSlot>\n <IconButton\n aria-label=\"Dismiss\"\n {...props}\n variant=\"ghost\"\n size=\"2xs\"\n >\n <Clear role=\"img\" />\n </IconButton>\n </AlertDismissButtonSlot>\n );\n // Register it with the parent\n context.setDismiss(slotElement);\n\n // On unmount, remove it\n return () => context.setDismiss(null);\n }\n }, [children, props]);\n\n return null;\n};\n\nAlertDismissButton.displayName = \"Alert.DismissButton\";\n","import { AlertTitle } from \"./components/alert.title\";\nimport { AlertDescription } from \"./components/alert.description\";\nimport { AlertActions } from \"./components/alert.actions\";\nimport { AlertDismissButton } from \"./components/alert.dismiss-button\";\nimport { AlertRoot } from \"./components/alert.root\";\n\n/**\n * Alert\n * ============================================================\n * Provides feedback to the user about the status of an action or system event\n */\nexport const Alert = {\n Root: AlertRoot,\n Title: AlertTitle,\n Description: AlertDescription,\n Actions: AlertActions,\n DismissButton: AlertDismissButton,\n};\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { buttonRecipe } from \"../button/button.recipe\";\n\n/**\n * Recipe configuration for the ToggleButtonGroup component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const buttonGroupRecipe = defineSlotRecipe({\n slots: [\"root\", \"button\"],\n // Unique class name prefix for the component\n className: \"nimbus-toggle-button-group\",\n\n // Base styles applied to all instances of the component\n base: {\n root: {\n display: \"inline-flex\",\n },\n button: {\n // Base style is the same as our Button\n ...buttonRecipe.base,\n // Default style is outlined\n ...buttonRecipe.variants?.variant.outline,\n // Create overrides for custom ToggleButtonGroup styles\n borderRadius: \"0\",\n borderRightWidth: \"0\",\n \"&:first-of-type\": {\n borderLeftRadius: \"200\",\n },\n \"&:last-of-type\": {\n borderRightWidth: \"1px\",\n borderRightRadius: \"200\",\n },\n // When selected, the button is styled like a solid button\n \"&[data-selected=true]\": buttonRecipe.variants?.variant.solid,\n },\n },\n\n variants: {\n size: {\n xs: {\n button: buttonRecipe.variants?.size.xs,\n },\n md: {\n button: buttonRecipe.variants?.size.md,\n },\n },\n\n tone: {\n primary: {\n button: { colorPalette: \"primary\" },\n },\n critical: {\n button: { colorPalette: \"critical\" },\n },\n neutral: {\n button: { colorPalette: \"neutral\" },\n },\n },\n },\n\n defaultVariants: {\n size: \"md\",\n },\n});\n","import { createSlotRecipeContext } from \"@chakra-ui/react\";\nimport { buttonGroupRecipe } from \"./toggle-button-group.recipe\";\nimport type {\n ToggleButtonGroupButtonProps,\n ToggleButtonGroupProps,\n ToggleButtonGroupButtonComponent,\n} from \"./toggle-button-group.types\";\nimport {\n ToggleButton as RacToggleButton,\n ToggleButtonGroup as RacToggleButtonGroup,\n} from \"react-aria-components\";\n\nconst { withContext, withProvider } = createSlotRecipeContext({\n recipe: buttonGroupRecipe,\n});\n\nexport const ToggleButtonGroupRoot = withProvider<\n typeof RacToggleButtonGroup,\n ToggleButtonGroupProps\n>(RacToggleButtonGroup, \"root\");\n\nexport const ToggleButtonGroupButton: ToggleButtonGroupButtonComponent =\n withContext<typeof RacToggleButton, ToggleButtonGroupButtonProps>(\n RacToggleButton,\n \"button\"\n );\n","import { forwardRef } from \"react\";\nimport { ToggleButtonGroupRoot as ToggleButtonGroupRootSlot } from \"../toggle-button-group.slots\";\nimport type { ToggleButtonGroupRootComponent } from \"../toggle-button-group.types\";\n\nexport const ToggleButtonGroupRoot: ToggleButtonGroupRootComponent = forwardRef(\n ({ children, ...rest }, ref) => {\n return (\n <ToggleButtonGroupRootSlot ref={ref} {...rest}>\n {children}\n </ToggleButtonGroupRootSlot>\n );\n }\n);\n\nToggleButtonGroupRoot.displayName = \"ToggleButtonGroup.Root\";\n","import { forwardRef } from \"react\";\nimport { ToggleButtonGroupButton as ToggleButtonGroupButtonSlot } from \"../toggle-button-group.slots\";\nimport type { ToggleButtonGroupButtonComponent } from \"../toggle-button-group.types\";\n\nexport const ToggleButtonGroupButton: ToggleButtonGroupButtonComponent =\n forwardRef(({ children, ...rest }, ref) => {\n return (\n <ToggleButtonGroupButtonSlot {...rest} ref={ref}>\n {children}\n </ToggleButtonGroupButtonSlot>\n );\n });\n\nToggleButtonGroupButton.displayName = \"ToggleButtonGroup.Button\";\n","import { ToggleButtonGroupRoot } from \"./components/toggle-button-group.root\";\nimport { ToggleButtonGroupButton } from \"./components/toggle-button-group.button\";\n\nexport { ToggleButtonGroupRoot, ToggleButtonGroupButton };\n\n/**\n * ToggleButtonGroup\n * ============================================================\n * To group multiple `Button` components together, visually and logically, representing a set of related actions.\n */\nexport const ToggleButtonGroup = {\n Root: ToggleButtonGroupRoot,\n Button: ToggleButtonGroupButton,\n};\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\n\nconst columnLayout = `\n\"label\"\n\"input\"\n\"description\"\n\"error\"\n`;\nconst rowLayout = `\n\"label input\"\n\"label description\"\n\"label error\"\n`;\n\n/**\n * Recipe configuration for the FormField component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const formFieldRecipe = defineSlotRecipe({\n slots: [\"root\", \"label\", \"input\", \"description\", \"error\", \"popover\"],\n // Unique class name prefix for the component\n className: \"nimbus-ui-form-field\",\n\n base: {\n root: {\n \"--grid-gap\": \"spacing.100\",\n\n display: \"grid\",\n width: \"auto\",\n },\n label: {\n gridArea: \"label\",\n fontWeight: \"500\",\n color: \"neutral.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n input: {\n gridArea: \"input\",\n },\n description: {\n gridArea: \"description\",\n color: \"neutral.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n error: {\n gridArea: \"error\",\n color: \"critical.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n popover: {\n \"--scrollbar-color\": \"colors.neutral.8\",\n \"--scrollbar-bg\": \"colors.neutral.3\",\n bg: \"neutral.1\",\n maxWidth: \"xl\",\n borderRadius: \"200\",\n boxShadow: \"6\",\n border: \"solid-25\",\n borderColor: \"neutral.8\",\n maxHeight: \"40svh\",\n overflow: \"auto\",\n scrollbarWidth: \"thin\",\n scrollbarColor: \"var(--scrollbar-color) var(--scrollbar-bg)\",\n focusRing: \"outside\",\n },\n },\n\n variants: {\n size: {\n md: {\n root: {\n \"--form-field-font-size\": \"fontSizes.350\",\n \"--form-field-line-height\": \"lineHeights.500\",\n },\n },\n sm: {\n root: {\n \"--form-field-font-size\": \"fontSizes.300\",\n \"--form-field-line-height\": \"lineHeights.450\",\n },\n },\n },\n direction: {\n column: {\n root: {\n gridTemplateAreas: columnLayout,\n },\n input: {\n mt: \"var(--grid-gap)\",\n },\n description: {\n mt: \"var(--grid-gap)\",\n },\n error: {\n mt: \"var(--grid-gap)\",\n },\n },\n row: {\n root: {\n gridTemplateAreas: rowLayout,\n gridTemplateColumns: \"auto 1fr\",\n gridColumnGap: \"200\",\n },\n description: {\n mt: \"var(--grid-gap)\",\n },\n error: {\n mt: \"var(--grid-gap)\",\n },\n },\n },\n },\n\n // Default variant values when not explicitly specified\n defaultVariants: {\n direction: \"column\",\n size: \"md\",\n },\n});\n","/* eslint-disable @typescript-eslint/no-empty-object-type */\nimport {\n type HTMLChakraProps,\n type RecipeVariantProps,\n type UnstyledProp,\n createSlotRecipeContext,\n} from \"@chakra-ui/react\";\n\nimport { formFieldRecipe } from \"./form-field.recipe\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: formFieldRecipe,\n});\n\n// Root slot\nexport interface FormFieldRootSlotProps\n extends HTMLChakraProps<\n \"div\",\n RecipeVariantProps<typeof formFieldRecipe> & UnstyledProp\n > {}\n\nexport const FormFieldRootSlot = withProvider<\n HTMLDivElement,\n FormFieldRootSlotProps\n>(\"div\", \"root\");\n\n// Label Slot\nexport interface FormFieldLabelSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldLabelSlot = withContext<\n HTMLDivElement,\n FormFieldLabelSlotProps\n>(\"div\", \"label\");\n\n// Input Slot\nexport interface FormFieldInputSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldInputSlot = withContext<\n HTMLDivElement,\n FormFieldInputSlotProps\n>(\"div\", \"input\");\n\n// Description Slot\nexport interface FormFieldDescriptionSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldDescriptionSlot = withContext<\n HTMLDivElement,\n FormFieldDescriptionSlotProps\n>(\"div\", \"description\");\n\n// Error Slot\nexport interface FormFieldErrorSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldErrorSlot = withContext<\n HTMLDivElement,\n FormFieldErrorSlotProps\n>(\"div\", \"error\");\n\n// Error Slot\nexport interface FormFieldPopoverSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldPopoverSlot = withContext<\n HTMLDivElement,\n FormFieldPopoverSlotProps\n>(\"div\", \"popover\");\n","import {\n Children,\n cloneElement,\n forwardRef,\n isValidElement,\n useEffect,\n useState,\n} from \"react\";\nimport type { FormFieldProps } from \"../form-field.types\";\nimport { useField } from \"react-aria\";\nimport {\n FormFieldContext,\n type FormFieldContextPayloadType,\n} from \"../form-field\";\nimport {\n FormFieldDescriptionSlot,\n FormFieldErrorSlot,\n FormFieldInputSlot,\n FormFieldLabelSlot,\n FormFieldPopoverSlot,\n FormFieldRootSlot,\n} from \"../form-field.slots\";\nimport { Dialog, DialogTrigger, Popover } from \"react-aria-components\";\nimport { Box, IconButton } from \"@/components\";\nimport { ErrorOutline, HelpOutline } from \"@commercetools/nimbus-icons\";\n\n/**\n * FormField\n * ============================================================\n * displays inputs in a FormField context\n */\nexport const FormFieldRoot = forwardRef<HTMLDivElement, FormFieldProps>(\n (\n { isInvalid, isRequired, isDisabled, isReadOnly, children, ...props },\n ref\n ) => {\n const [context, setContext] = useState<FormFieldContextPayloadType>({\n label: null,\n description: null,\n error: null,\n info: null,\n input: null,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n });\n\n const { labelProps, fieldProps, descriptionProps, errorMessageProps } =\n useField({\n label: context.label,\n description: context.description,\n errorMessage: context.error,\n });\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n }));\n }, [isInvalid, isRequired, isDisabled, isReadOnly]);\n\n const inputProps = {\n ...fieldProps,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n };\n\n return (\n <FormFieldContext.Provider value={{ context, setContext }}>\n <FormFieldRootSlot ref={ref} {...props}>\n {context.label && (\n <FormFieldLabelSlot {...context.labelSlotProps}>\n <label {...labelProps}>\n {context.label}\n {isRequired && <sup aria-hidden=\"true\">*</sup>}\n </label>\n {context.info && (\n <DialogTrigger>\n <Box\n as=\"span\"\n display=\"inline-block\"\n position=\"relative\"\n width=\"1ch\"\n height=\"1ch\"\n ml=\"200\"\n >\n <Box\n as=\"span\"\n display=\"inline-flex\"\n position=\"absolute\"\n top=\"50%\"\n right=\"50%\"\n transform=\"translate(50%, -50%)\"\n >\n <IconButton\n aria-label=\"__MORE INFO\"\n size=\"2xs\"\n tone=\"info\"\n variant=\"link\"\n >\n <HelpOutline />\n </IconButton>\n </Box>\n </Box>\n <Popover>\n <FormFieldPopoverSlot asChild>\n <Dialog>\n <Box p=\"300\">{context.info}</Box>\n </Dialog>\n </FormFieldPopoverSlot>\n </Popover>\n </DialogTrigger>\n )}\n </FormFieldLabelSlot>\n )}\n {context.input && (\n <FormFieldInputSlot {...context.inputSlotProps}>\n {Children.map(context.input, (child) => {\n // Important: Check if the child is a valid React element before cloning.\n if (isValidElement(child)) {\n return cloneElement(child, inputProps);\n }\n // If it's not a valid element (e.g., text node, null, undefined), return it as is.\n return child;\n })}\n </FormFieldInputSlot>\n )}\n {context.description && (\n <FormFieldDescriptionSlot\n {...descriptionProps}\n {...context.descriptionSlotProps}\n >\n {context.description}\n </FormFieldDescriptionSlot>\n )}\n {isInvalid && context.error && (\n <FormFieldErrorSlot\n {...errorMessageProps}\n {...context.errorSlotProps}\n >\n <Box\n as={ErrorOutline}\n display=\"inline-flex\"\n boxSize=\"400\"\n verticalAlign=\"text-bottom\"\n mr=\"100\"\n />\n {context.error}\n </FormFieldErrorSlot>\n )}\n {children}\n </FormFieldRootSlot>\n </FormFieldContext.Provider>\n );\n }\n);\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"../form-field\";\nimport type { FormFieldLabelSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldLabel = ({\n children,\n ...labelSlotProps\n}: FormFieldLabelSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n label: children,\n labelSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"../form-field\";\nimport type { FormFieldInputSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldInput = ({\n children,\n ...inputSlotProps\n}: FormFieldInputSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n input: children,\n inputSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"../form-field\";\nimport type { FormFieldDescriptionSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldDescription = ({\n children,\n ...descriptionSlotProps\n}: FormFieldDescriptionSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n description: children,\n descriptionSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"../form-field\";\nimport type { FormFieldErrorSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldError = ({\n children,\n ...errorSlotProps\n}: FormFieldErrorSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n error: children,\n errorSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect, type ReactNode } from \"react\";\nimport { FormFieldContext } from \"../form-field\";\n\nexport const FormFieldInfoBox = ({ children }: { children: ReactNode }) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n info: children,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { createContext, type ReactNode } from \"react\";\nimport { FormFieldRoot } from \"./components/form-field.root\";\nimport { FormFieldLabel } from \"./components/form-field.label\";\nimport { FormFieldInput } from \"./components/form-field.input\";\nimport { FormFieldDescription } from \"./components/form-field.description\";\nimport { FormFieldError } from \"./components/form-field.error\";\nimport { FormFieldInfoBox } from \"./components/form-field.info-box\";\nimport type {\n FormFieldDescriptionSlotProps,\n FormFieldErrorSlotProps,\n FormFieldInputSlotProps,\n FormFieldLabelSlotProps,\n} from \"./form-field.slots\";\n\nexport type FormFieldContextPayloadType = {\n label: ReactNode;\n labelSlotProps?: FormFieldLabelSlotProps;\n input: ReactNode;\n inputSlotProps?: FormFieldInputSlotProps;\n description: ReactNode;\n descriptionSlotProps?: FormFieldDescriptionSlotProps;\n error: ReactNode;\n errorSlotProps?: FormFieldErrorSlotProps;\n info: ReactNode;\n isInvalid?: boolean;\n isRequired?: boolean;\n isDisabled?: boolean;\n isReadOnly?: boolean;\n};\n\nexport type FormFieldContextType = {\n context: FormFieldContextPayloadType;\n setContext: React.Dispatch<React.SetStateAction<FormFieldContextPayloadType>>;\n};\n\nexport const FormFieldContext = createContext<FormFieldContextType>({\n context: {\n label: null,\n description: null,\n error: null,\n info: null,\n input: null,\n },\n setContext: () => {},\n});\n\nexport const FormField = {\n Root: FormFieldRoot,\n Label: FormFieldLabel,\n Input: FormFieldInput,\n Description: FormFieldDescription,\n Error: FormFieldError,\n InfoBox: FormFieldInfoBox,\n};\n","import { useContext, createContext, useState, useCallback, useRef, useLayoutEffect, useEffect } from 'react';\nimport { jsx } from 'react/jsx-runtime';\n\nfunction _extends() {\n return _extends = Object.assign ? Object.assign.bind() : function (n) {\n for (var e = 1; e < arguments.length; e++) {\n var t = arguments[e];\n for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n }\n return n;\n }, _extends.apply(null, arguments);\n}\n\nvar reservedModifierKeywords = ['shift', 'alt', 'meta', 'mod', 'ctrl'];\nvar mappedKeys = {\n esc: 'escape',\n \"return\": 'enter',\n '.': 'period',\n ',': 'comma',\n '-': 'slash',\n ' ': 'space',\n '`': 'backquote',\n '#': 'backslash',\n '+': 'bracketright',\n ShiftLeft: 'shift',\n ShiftRight: 'shift',\n AltLeft: 'alt',\n AltRight: 'alt',\n MetaLeft: 'meta',\n MetaRight: 'meta',\n OSLeft: 'meta',\n OSRight: 'meta',\n ControlLeft: 'ctrl',\n ControlRight: 'ctrl'\n};\nfunction mapKey(key) {\n return (key && mappedKeys[key] || key || '').trim().toLowerCase().replace(/key|digit|numpad|arrow/, '');\n}\nfunction isHotkeyModifier(key) {\n return reservedModifierKeywords.includes(key);\n}\nfunction parseKeysHookInput(keys, splitKey) {\n if (splitKey === void 0) {\n splitKey = ',';\n }\n return keys.split(splitKey);\n}\nfunction parseHotkey(hotkey, combinationKey, description) {\n if (combinationKey === void 0) {\n combinationKey = '+';\n }\n var keys = hotkey.toLocaleLowerCase().split(combinationKey).map(function (k) {\n return mapKey(k);\n });\n var modifiers = {\n alt: keys.includes('alt'),\n ctrl: keys.includes('ctrl') || keys.includes('control'),\n shift: keys.includes('shift'),\n meta: keys.includes('meta'),\n mod: keys.includes('mod')\n };\n var singleCharKeys = keys.filter(function (k) {\n return !reservedModifierKeywords.includes(k);\n });\n return _extends({}, modifiers, {\n keys: singleCharKeys,\n description: description,\n hotkey: hotkey\n });\n}\n\n(function () {\n if (typeof document !== 'undefined') {\n document.addEventListener('keydown', function (e) {\n if (e.key === undefined) {\n // Synthetic event (e.g., Chrome autofill). Ignore.\n return;\n }\n pushToCurrentlyPressedKeys([mapKey(e.key), mapKey(e.code)]);\n });\n document.addEventListener('keyup', function (e) {\n if (e.key === undefined) {\n // Synthetic event (e.g., Chrome autofill). Ignore.\n return;\n }\n removeFromCurrentlyPressedKeys([mapKey(e.key), mapKey(e.code)]);\n });\n }\n if (typeof window !== 'undefined') {\n window.addEventListener('blur', function () {\n currentlyPressedKeys.clear();\n });\n }\n})();\nvar currentlyPressedKeys = /*#__PURE__*/new Set();\n// https://github.com/microsoft/TypeScript/issues/17002\nfunction isReadonlyArray(value) {\n return Array.isArray(value);\n}\nfunction isHotkeyPressed(key, splitKey) {\n if (splitKey === void 0) {\n splitKey = ',';\n }\n var hotkeyArray = isReadonlyArray(key) ? key : key.split(splitKey);\n return hotkeyArray.every(function (hotkey) {\n return currentlyPressedKeys.has(hotkey.trim().toLowerCase());\n });\n}\nfunction pushToCurrentlyPressedKeys(key) {\n var hotkeyArray = Array.isArray(key) ? key : [key];\n /*\r\n Due to a weird behavior on macOS we need to clear the set if the user pressed down the meta key and presses another key.\r\n https://stackoverflow.com/questions/11818637/why-does-javascript-drop-keyup-events-when-the-metakey-is-pressed-on-mac-browser\r\n Otherwise the set will hold all ever pressed keys while the meta key is down which leads to wrong results.\r\n */\n if (currentlyPressedKeys.has('meta')) {\n currentlyPressedKeys.forEach(function (key) {\n return !isHotkeyModifier(key) && currentlyPressedKeys[\"delete\"](key.toLowerCase());\n });\n }\n hotkeyArray.forEach(function (hotkey) {\n return currentlyPressedKeys.add(hotkey.toLowerCase());\n });\n}\nfunction removeFromCurrentlyPressedKeys(key) {\n var hotkeyArray = Array.isArray(key) ? key : [key];\n /*\r\n Due to a weird behavior on macOS we need to clear the set if the user pressed down the meta key and presses another key.\r\n https://stackoverflow.com/questions/11818637/why-does-javascript-drop-keyup-events-when-the-metakey-is-pressed-on-mac-browser\r\n Otherwise the set will hold all ever pressed keys while the meta key is down which leads to wrong results.\r\n */\n if (key === 'meta') {\n currentlyPressedKeys.clear();\n } else {\n hotkeyArray.forEach(function (hotkey) {\n return currentlyPressedKeys[\"delete\"](hotkey.toLowerCase());\n });\n }\n}\n\nfunction maybePreventDefault(e, hotkey, preventDefault) {\n if (typeof preventDefault === 'function' && preventDefault(e, hotkey) || preventDefault === true) {\n e.preventDefault();\n }\n}\nfunction isHotkeyEnabled(e, hotkey, enabled) {\n if (typeof enabled === 'function') {\n return enabled(e, hotkey);\n }\n return enabled === true || enabled === undefined;\n}\nfunction isKeyboardEventTriggeredByInput(ev) {\n return isHotkeyEnabledOnTag(ev, ['input', 'textarea', 'select']);\n}\nfunction isHotkeyEnabledOnTag(event, enabledOnTags) {\n if (enabledOnTags === void 0) {\n enabledOnTags = false;\n }\n var target = event.target,\n composed = event.composed;\n var targetTagName = null;\n if (isCustomElement(target) && composed) {\n targetTagName = event.composedPath()[0] && event.composedPath()[0].tagName;\n } else {\n targetTagName = target && target.tagName;\n }\n if (isReadonlyArray(enabledOnTags)) {\n return Boolean(targetTagName && enabledOnTags && enabledOnTags.some(function (tag) {\n var _targetTagName;\n return tag.toLowerCase() === ((_targetTagName = targetTagName) == null ? void 0 : _targetTagName.toLowerCase());\n }));\n }\n return Boolean(targetTagName && enabledOnTags && enabledOnTags);\n}\nfunction isCustomElement(element) {\n // We just do a basic check w/o any complex RegEx or validation against the list of legacy names containing a hyphen,\n // as none of them is likely to be an event target, and it won't hurt anyway if we miss.\n // see: https://html.spec.whatwg.org/multipage/custom-elements.html#prod-potentialcustomelementname\n return !!element.tagName && !element.tagName.startsWith(\"-\") && element.tagName.includes(\"-\");\n}\nfunction isScopeActive(activeScopes, scopes) {\n if (activeScopes.length === 0 && scopes) {\n console.warn('A hotkey has the \"scopes\" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a <HotkeysProvider>');\n return true;\n }\n if (!scopes) {\n return true;\n }\n return activeScopes.some(function (scope) {\n return scopes.includes(scope);\n }) || activeScopes.includes('*');\n}\nvar isHotkeyMatchingKeyboardEvent = function isHotkeyMatchingKeyboardEvent(e, hotkey, ignoreModifiers) {\n if (ignoreModifiers === void 0) {\n ignoreModifiers = false;\n }\n var alt = hotkey.alt,\n meta = hotkey.meta,\n mod = hotkey.mod,\n shift = hotkey.shift,\n ctrl = hotkey.ctrl,\n keys = hotkey.keys;\n var pressedKeyUppercase = e.key,\n code = e.code,\n ctrlKey = e.ctrlKey,\n metaKey = e.metaKey,\n shiftKey = e.shiftKey,\n altKey = e.altKey;\n var keyCode = mapKey(code);\n var pressedKey = pressedKeyUppercase.toLowerCase();\n if (!(keys != null && keys.includes(keyCode)) && !(keys != null && keys.includes(pressedKey)) && !['ctrl', 'control', 'unknown', 'meta', 'alt', 'shift', 'os'].includes(keyCode)) {\n return false;\n }\n if (!ignoreModifiers) {\n // We check the pressed keys for compatibility with the keyup event. In keyup events the modifier flags are not set.\n if (alt === !altKey && pressedKey !== 'alt') {\n return false;\n }\n if (shift === !shiftKey && pressedKey !== 'shift') {\n return false;\n }\n // Mod is a special key name that is checking for meta on macOS and ctrl on other platforms\n if (mod) {\n if (!metaKey && !ctrlKey) {\n return false;\n }\n } else {\n if (meta === !metaKey && pressedKey !== 'meta' && pressedKey !== 'os') {\n return false;\n }\n if (ctrl === !ctrlKey && pressedKey !== 'ctrl' && pressedKey !== 'control') {\n return false;\n }\n }\n }\n // All modifiers are correct, now check the key\n // If the key is set, we check for the key\n if (keys && keys.length === 1 && (keys.includes(pressedKey) || keys.includes(keyCode))) {\n return true;\n } else if (keys) {\n // Check if all keys are present in pressedDownKeys set\n return isHotkeyPressed(keys);\n } else if (!keys) {\n // If the key is not set, we only listen for modifiers, that check went alright, so we return true\n return true;\n }\n // There is nothing that matches.\n return false;\n};\n\nvar BoundHotkeysProxyProvider = /*#__PURE__*/createContext(undefined);\nvar useBoundHotkeysProxy = function useBoundHotkeysProxy() {\n return useContext(BoundHotkeysProxyProvider);\n};\nfunction BoundHotkeysProxyProviderProvider(_ref) {\n var addHotkey = _ref.addHotkey,\n removeHotkey = _ref.removeHotkey,\n children = _ref.children;\n return /*#__PURE__*/jsx(BoundHotkeysProxyProvider.Provider, {\n value: {\n addHotkey: addHotkey,\n removeHotkey: removeHotkey\n },\n children: children\n });\n}\n\nfunction deepEqual(x, y) {\n //@ts-ignore\n return x && y && typeof x === 'object' && typeof y === 'object' ? Object.keys(x).length === Object.keys(y).length &&\n //@ts-ignore\n Object.keys(x).reduce(function (isEqual, key) {\n return isEqual && deepEqual(x[key], y[key]);\n }, true) : x === y;\n}\n\nvar HotkeysContext = /*#__PURE__*/createContext({\n hotkeys: [],\n enabledScopes: [],\n toggleScope: function toggleScope() {},\n enableScope: function enableScope() {},\n disableScope: function disableScope() {}\n});\nvar useHotkeysContext = function useHotkeysContext() {\n return useContext(HotkeysContext);\n};\nvar HotkeysProvider = function HotkeysProvider(_ref) {\n var _ref$initiallyActiveS = _ref.initiallyActiveScopes,\n initiallyActiveScopes = _ref$initiallyActiveS === void 0 ? ['*'] : _ref$initiallyActiveS,\n children = _ref.children;\n var _useState = useState((initiallyActiveScopes == null ? void 0 : initiallyActiveScopes.length) > 0 ? initiallyActiveScopes : ['*']),\n internalActiveScopes = _useState[0],\n setInternalActiveScopes = _useState[1];\n var _useState2 = useState([]),\n boundHotkeys = _useState2[0],\n setBoundHotkeys = _useState2[1];\n var enableScope = useCallback(function (scope) {\n setInternalActiveScopes(function (prev) {\n if (prev.includes('*')) {\n return [scope];\n }\n return Array.from(new Set([].concat(prev, [scope])));\n });\n }, []);\n var disableScope = useCallback(function (scope) {\n setInternalActiveScopes(function (prev) {\n if (prev.filter(function (s) {\n return s !== scope;\n }).length === 0) {\n return ['*'];\n } else {\n return prev.filter(function (s) {\n return s !== scope;\n });\n }\n });\n }, []);\n var toggleScope = useCallback(function (scope) {\n setInternalActiveScopes(function (prev) {\n if (prev.includes(scope)) {\n if (prev.filter(function (s) {\n return s !== scope;\n }).length === 0) {\n return ['*'];\n } else {\n return prev.filter(function (s) {\n return s !== scope;\n });\n }\n } else {\n if (prev.includes('*')) {\n return [scope];\n }\n return Array.from(new Set([].concat(prev, [scope])));\n }\n });\n }, []);\n var addBoundHotkey = useCallback(function (hotkey) {\n setBoundHotkeys(function (prev) {\n return [].concat(prev, [hotkey]);\n });\n }, []);\n var removeBoundHotkey = useCallback(function (hotkey) {\n setBoundHotkeys(function (prev) {\n return prev.filter(function (h) {\n return !deepEqual(h, hotkey);\n });\n });\n }, []);\n return /*#__PURE__*/jsx(HotkeysContext.Provider, {\n value: {\n enabledScopes: internalActiveScopes,\n hotkeys: boundHotkeys,\n enableScope: enableScope,\n disableScope: disableScope,\n toggleScope: toggleScope\n },\n children: /*#__PURE__*/jsx(BoundHotkeysProxyProviderProvider, {\n addHotkey: addBoundHotkey,\n removeHotkey: removeBoundHotkey,\n children: children\n })\n });\n};\n\nfunction useDeepEqualMemo(value) {\n var ref = useRef(undefined);\n if (!deepEqual(ref.current, value)) {\n ref.current = value;\n }\n return ref.current;\n}\n\nvar stopPropagation = function stopPropagation(e) {\n e.stopPropagation();\n e.preventDefault();\n e.stopImmediatePropagation();\n};\nvar useSafeLayoutEffect = typeof window !== 'undefined' ? useLayoutEffect : useEffect;\nfunction useHotkeys(keys, callback, options, dependencies) {\n var _useState = useState(null),\n ref = _useState[0],\n setRef = _useState[1];\n var hasTriggeredRef = useRef(false);\n var _options = !(options instanceof Array) ? options : !(dependencies instanceof Array) ? dependencies : undefined;\n var _keys = isReadonlyArray(keys) ? keys.join(_options == null ? void 0 : _options.splitKey) : keys;\n var _deps = options instanceof Array ? options : dependencies instanceof Array ? dependencies : undefined;\n var memoisedCB = useCallback(callback, _deps != null ? _deps : []);\n var cbRef = useRef(memoisedCB);\n if (_deps) {\n cbRef.current = memoisedCB;\n } else {\n cbRef.current = callback;\n }\n var memoisedOptions = useDeepEqualMemo(_options);\n var _useHotkeysContext = useHotkeysContext(),\n enabledScopes = _useHotkeysContext.enabledScopes;\n var proxy = useBoundHotkeysProxy();\n useSafeLayoutEffect(function () {\n if ((memoisedOptions == null ? void 0 : memoisedOptions.enabled) === false || !isScopeActive(enabledScopes, memoisedOptions == null ? void 0 : memoisedOptions.scopes)) {\n return;\n }\n var listener = function listener(e, isKeyUp) {\n var _e$target;\n if (isKeyUp === void 0) {\n isKeyUp = false;\n }\n if (isKeyboardEventTriggeredByInput(e) && !isHotkeyEnabledOnTag(e, memoisedOptions == null ? void 0 : memoisedOptions.enableOnFormTags)) {\n return;\n }\n // TODO: SINCE THE EVENT IS NOW ATTACHED TO THE REF, THE ACTIVE ELEMENT CAN NEVER BE INSIDE THE REF. THE HOTKEY ONLY TRIGGERS IF THE\n // REF IS THE ACTIVE ELEMENT. THIS IS A PROBLEM SINCE FOCUSED SUB COMPONENTS WON'T TRIGGER THE HOTKEY.\n if (ref !== null) {\n var rootNode = ref.getRootNode();\n if ((rootNode instanceof Document || rootNode instanceof ShadowRoot) && rootNode.activeElement !== ref && !ref.contains(rootNode.activeElement)) {\n stopPropagation(e);\n return;\n }\n }\n if ((_e$target = e.target) != null && _e$target.isContentEditable && !(memoisedOptions != null && memoisedOptions.enableOnContentEditable)) {\n return;\n }\n parseKeysHookInput(_keys, memoisedOptions == null ? void 0 : memoisedOptions.splitKey).forEach(function (key) {\n var _hotkey$keys;\n var hotkey = parseHotkey(key, memoisedOptions == null ? void 0 : memoisedOptions.combinationKey);\n if (isHotkeyMatchingKeyboardEvent(e, hotkey, memoisedOptions == null ? void 0 : memoisedOptions.ignoreModifiers) || (_hotkey$keys = hotkey.keys) != null && _hotkey$keys.includes('*')) {\n if (memoisedOptions != null && memoisedOptions.ignoreEventWhen != null && memoisedOptions.ignoreEventWhen(e)) {\n return;\n }\n if (isKeyUp && hasTriggeredRef.current) {\n return;\n }\n maybePreventDefault(e, hotkey, memoisedOptions == null ? void 0 : memoisedOptions.preventDefault);\n if (!isHotkeyEnabled(e, hotkey, memoisedOptions == null ? void 0 : memoisedOptions.enabled)) {\n stopPropagation(e);\n return;\n }\n // Execute the user callback for that hotkey\n cbRef.current(e, hotkey);\n if (!isKeyUp) {\n hasTriggeredRef.current = true;\n }\n }\n });\n };\n var handleKeyDown = function handleKeyDown(event) {\n if (event.key === undefined) {\n // Synthetic event (e.g., Chrome autofill). Ignore.\n return;\n }\n pushToCurrentlyPressedKeys(mapKey(event.code));\n if ((memoisedOptions == null ? void 0 : memoisedOptions.keydown) === undefined && (memoisedOptions == null ? void 0 : memoisedOptions.keyup) !== true || memoisedOptions != null && memoisedOptions.keydown) {\n listener(event);\n }\n };\n var handleKeyUp = function handleKeyUp(event) {\n if (event.key === undefined) {\n // Synthetic event (e.g., Chrome autofill). Ignore.\n return;\n }\n removeFromCurrentlyPressedKeys(mapKey(event.code));\n hasTriggeredRef.current = false;\n if (memoisedOptions != null && memoisedOptions.keyup) {\n listener(event, true);\n }\n };\n var domNode = ref || (_options == null ? void 0 : _options.document) || document;\n // @ts-ignore\n domNode.addEventListener('keyup', handleKeyUp);\n // @ts-ignore\n domNode.addEventListener('keydown', handleKeyDown);\n if (proxy) {\n parseKeysHookInput(_keys, memoisedOptions == null ? void 0 : memoisedOptions.splitKey).forEach(function (key) {\n return proxy.addHotkey(parseHotkey(key, memoisedOptions == null ? void 0 : memoisedOptions.combinationKey, memoisedOptions == null ? void 0 : memoisedOptions.description));\n });\n }\n return function () {\n // @ts-ignore\n domNode.removeEventListener('keyup', handleKeyUp);\n // @ts-ignore\n domNode.removeEventListener('keydown', handleKeyDown);\n if (proxy) {\n parseKeysHookInput(_keys, memoisedOptions == null ? void 0 : memoisedOptions.splitKey).forEach(function (key) {\n return proxy.removeHotkey(parseHotkey(key, memoisedOptions == null ? void 0 : memoisedOptions.combinationKey, memoisedOptions == null ? void 0 : memoisedOptions.description));\n });\n }\n };\n }, [ref, _keys, memoisedOptions, enabledScopes]);\n return setRef;\n}\n\nfunction useRecordHotkeys() {\n var _useState = useState(new Set()),\n keys = _useState[0],\n setKeys = _useState[1];\n var _useState2 = useState(false),\n isRecording = _useState2[0],\n setIsRecording = _useState2[1];\n var handler = useCallback(function (event) {\n if (event.key === undefined) {\n // Synthetic event (e.g., Chrome autofill). Ignore.\n return;\n }\n event.preventDefault();\n event.stopPropagation();\n setKeys(function (prev) {\n var newKeys = new Set(prev);\n newKeys.add(mapKey(event.code));\n return newKeys;\n });\n }, []);\n var stop = useCallback(function () {\n if (typeof document !== 'undefined') {\n document.removeEventListener('keydown', handler);\n setIsRecording(false);\n }\n }, [handler]);\n var start = useCallback(function () {\n setKeys(new Set());\n if (typeof document !== 'undefined') {\n stop();\n document.addEventListener('keydown', handler);\n setIsRecording(true);\n }\n }, [handler, stop]);\n var resetKeys = useCallback(function () {\n setKeys(new Set());\n }, []);\n return [keys, {\n start: start,\n stop: stop,\n resetKeys: resetKeys,\n isRecording: isRecording\n }];\n}\n\nexport { HotkeysProvider, isHotkeyPressed, useHotkeys, useHotkeysContext, useRecordHotkeys };\n//# sourceMappingURL=react-hotkeys-hook.esm.js.map\n","import { useCallback, useEffect, useRef } from 'react';\nexport default function useMountedState() {\n var mountedRef = useRef(false);\n var get = useCallback(function () { return mountedRef.current; }, []);\n useEffect(function () {\n mountedRef.current = true;\n return function () {\n mountedRef.current = false;\n };\n }, []);\n return get;\n}\n","import { useCallback, useState } from 'react';\nvar useSetState = function (initialState) {\n if (initialState === void 0) { initialState = {}; }\n var _a = useState(initialState), state = _a[0], set = _a[1];\n var setState = useCallback(function (patch) {\n set(function (prevState) {\n return Object.assign({}, prevState, patch instanceof Function ? patch(prevState) : patch);\n });\n }, []);\n return [state, setState];\n};\nexport default useSetState;\n","\nmodule.exports = function () {\n var selection = document.getSelection();\n if (!selection.rangeCount) {\n return function () {};\n }\n var active = document.activeElement;\n\n var ranges = [];\n for (var i = 0; i < selection.rangeCount; i++) {\n ranges.push(selection.getRangeAt(i));\n }\n\n switch (active.tagName.toUpperCase()) { // .toUpperCase handles XHTML\n case 'INPUT':\n case 'TEXTAREA':\n active.blur();\n break;\n\n default:\n active = null;\n break;\n }\n\n selection.removeAllRanges();\n return function () {\n selection.type === 'Caret' &&\n selection.removeAllRanges();\n\n if (!selection.rangeCount) {\n ranges.forEach(function(range) {\n selection.addRange(range);\n });\n }\n\n active &&\n active.focus();\n };\n};\n","\"use strict\";\n\nvar deselectCurrent = require(\"toggle-selection\");\n\nvar clipboardToIE11Formatting = {\n \"text/plain\": \"Text\",\n \"text/html\": \"Url\",\n \"default\": \"Text\"\n}\n\nvar defaultMessage = \"Copy to clipboard: #{key}, Enter\";\n\nfunction format(message) {\n var copyKey = (/mac os x/i.test(navigator.userAgent) ? \"⌘\" : \"Ctrl\") + \"+C\";\n return message.replace(/#{\\s*key\\s*}/g, copyKey);\n}\n\nfunction copy(text, options) {\n var debug,\n message,\n reselectPrevious,\n range,\n selection,\n mark,\n success = false;\n if (!options) {\n options = {};\n }\n debug = options.debug || false;\n try {\n reselectPrevious = deselectCurrent();\n\n range = document.createRange();\n selection = document.getSelection();\n\n mark = document.createElement(\"span\");\n mark.textContent = text;\n // avoid screen readers from reading out loud the text\n mark.ariaHidden = \"true\"\n // reset user styles for span element\n mark.style.all = \"unset\";\n // prevents scrolling to the end of the page\n mark.style.position = \"fixed\";\n mark.style.top = 0;\n mark.style.clip = \"rect(0, 0, 0, 0)\";\n // used to preserve spaces and line breaks\n mark.style.whiteSpace = \"pre\";\n // do not inherit user-select (it may be `none`)\n mark.style.webkitUserSelect = \"text\";\n mark.style.MozUserSelect = \"text\";\n mark.style.msUserSelect = \"text\";\n mark.style.userSelect = \"text\";\n mark.addEventListener(\"copy\", function(e) {\n e.stopPropagation();\n if (options.format) {\n e.preventDefault();\n if (typeof e.clipboardData === \"undefined\") { // IE 11\n debug && console.warn(\"unable to use e.clipboardData\");\n debug && console.warn(\"trying IE specific stuff\");\n window.clipboardData.clearData();\n var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting[\"default\"]\n window.clipboardData.setData(format, text);\n } else { // all other browsers\n e.clipboardData.clearData();\n e.clipboardData.setData(options.format, text);\n }\n }\n if (options.onCopy) {\n e.preventDefault();\n options.onCopy(e.clipboardData);\n }\n });\n\n document.body.appendChild(mark);\n\n range.selectNodeContents(mark);\n selection.addRange(range);\n\n var successful = document.execCommand(\"copy\");\n if (!successful) {\n throw new Error(\"copy command was unsuccessful\");\n }\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using execCommand: \", err);\n debug && console.warn(\"trying IE specific stuff\");\n try {\n window.clipboardData.setData(options.format || \"text\", text);\n options.onCopy && options.onCopy(window.clipboardData);\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using clipboardData: \", err);\n debug && console.error(\"falling back to prompt\");\n message = format(\"message\" in options ? options.message : defaultMessage);\n window.prompt(message, text);\n }\n } finally {\n if (selection) {\n if (typeof selection.removeRange == \"function\") {\n selection.removeRange(range);\n } else {\n selection.removeAllRanges();\n }\n }\n\n if (mark) {\n document.body.removeChild(mark);\n }\n reselectPrevious();\n }\n\n return success;\n}\n\nmodule.exports = copy;\n","import writeText from 'copy-to-clipboard';\nimport { useCallback } from 'react';\nimport useMountedState from './useMountedState';\nimport useSetState from './useSetState';\nvar useCopyToClipboard = function () {\n var isMounted = useMountedState();\n var _a = useSetState({\n value: undefined,\n error: undefined,\n noUserInteraction: true,\n }), state = _a[0], setState = _a[1];\n var copyToClipboard = useCallback(function (value) {\n if (!isMounted()) {\n return;\n }\n var noUserInteraction;\n var normalizedValue;\n try {\n // only strings and numbers casted to strings can be copied to clipboard\n if (typeof value !== 'string' && typeof value !== 'number') {\n var error = new Error(\"Cannot copy typeof \" + typeof value + \" to clipboard, must be a string\");\n if (process.env.NODE_ENV === 'development')\n console.error(error);\n setState({\n value: value,\n error: error,\n noUserInteraction: true,\n });\n return;\n }\n // empty strings are also considered invalid\n else if (value === '') {\n var error = new Error(\"Cannot copy empty string to clipboard.\");\n if (process.env.NODE_ENV === 'development')\n console.error(error);\n setState({\n value: value,\n error: error,\n noUserInteraction: true,\n });\n return;\n }\n normalizedValue = value.toString();\n noUserInteraction = writeText(normalizedValue);\n setState({\n value: normalizedValue,\n error: undefined,\n noUserInteraction: noUserInteraction,\n });\n }\n catch (error) {\n setState({\n value: normalizedValue,\n error: error,\n noUserInteraction: noUserInteraction,\n });\n }\n }, []);\n return [state, copyToClipboard];\n};\nexport default useCopyToClipboard;\n"],"names":["avatarRecipe","defineRecipe","withContext","createRecipeContext","AvatarRoot","getInitials","firstName","lastName","Avatar","forwardRef","props","ref","src","alt","rest","fullName","sharedProps","jsx","Image","Box","ChakraBox","buttonRecipe","memoize","fn","cache","arg","reactPropsRegex","isPropValid","prop","ButtonRoot","variantKeys","chakraSfp","defaultSystem","shouldForwardProp","Button","forwardedRef","as","asChild","children","localRef","useRef","useObjectRef","mergeRefs","elementType","buttonProps","useButton","mergeProps","DialogContent","portalled","portalRef","backdrop","Portal","ChakraDialog","DialogCloseTrigger","DialogRoot","DialogFooter","DialogHeader","DialogBody","DialogBackdrop","DialogTitle","DialogDescription","DialogTrigger","DialogActionTrigger","IconButton","linkRecipe","LinkRoot","Link","linkProps","useLink","ListRoot","List","ListItem","GridComponent","ChakraSimpleGrid","SimpleGrid","GridItem","TableRoot","Table","TableColumnGroup","TableColumn","TableHeader","TableFooter","TableRow","TableCell","TableBody","TableColumnHeader","Text","ChakraText","tooltipRecipe","TooltipRoot","Tooltip","placement","RATooltip","TooltipTrigger","RATooltipTrigger","MakeElementFocusable","focusableProps","useFocusable","isValidElement","cloneElement","M","i","s","u","m","a","l","h","w","p","n","y","k","S","f","R","c","b","I","O","x","t","U","z","J","V","N","H","T","E","o","r","v","C","W","P","L","g","D","A","Q","_","ColorModeProvider","ThemeProvider","useColorMode","resolvedTheme","setTheme","useTheme","useColorModeValue","light","dark","colorMode","ColorModeLabel","animationStyles","defineAnimationStyles","transformBreakpoints","input","transformed","key","_a","breakpoints","themeTokens","globalCss","defineGlobalStyles","keyframes","layerStyles","defineLayerStyles","codeRecipe","headingRecipe","kbdRecipe","textInputRecipe","recipes","colors","defineSemanticTokens","shadows","radii","semanticTokens","dialogSlotRecipe","defineSlotRecipe","listSlotRecipe","tableSlotRecipe","checkboxSlotRecipe","selectSlotRecipe","accordionSlotRecipe","slotRecipes","textStyles","defineTextStyles","aspectRatios","defineTokens","animations","blurs","borders","durations","easings","fonts","fontSizes","fontWeights","convertPercentToEm","obj","acc","emValue","letterSpacings","lineHeights","spacing","sizes","zIndex","cursor","tokens","themeConfig","defineConfig","system","createSystem","defaultBaseConfig","NimbusProvider","ChakraProvider","Fragment","extractStyleProps","styleProps","otherProps","withProvider","createSlotRecipeContext","CheckboxRoot","CheckboxLabel","CheckboxIndicator","Checkbox","recipe","useSlotRecipe","recipeProps","restProps","state","useToggleState","inputProps","useCheckbox","isFocused","focusProps","useFocusRing","isSelected","isIndeterminate","stateProps","jsxs","Check","Minus","VisuallyHidden","Stack","ChakraStack","leftoverProps","ReactAriaViusallyHidden","TextInputRoot","TextInput","useRecipe","leftOverProps","textfieldProps","TextField","Input","ChakraGrid","Grid","SelectRootSlot","SelectTriggerSlot","SelectTriggerLabelSlot","SelectOptionsSlot","SelectOptionSlot","SelectOptionGroupSlot","SelectClearButton","useContext","SelectStateContext","CloseIcon","SelectRoot","isLoading","isDisabled","restRecipeProps","raSelectProps","RaSelect","chakra","RaButton","RaSelectValue","Flex","SpinnerIcon","DropdownIndicatorIcon","RaPopover","fixedForwardRef","render","SelectOptions","RaListBox","SelectOption","RaListBoxItem","SelectOptionGroup","label","items","RaListBoxSection","RaHeader","Collection","item","Select","_SelectRoot","_SelectOptions","_SelectOption","_SelectOptionGroup","AccordionRoot","AccordionDisclosure","AccordionTrigger","AccordionPanel","AccordionTitle","HeaderRightContent","ItemContext","createContext","DisclosureGroupStateContext","AccordionGroup","onExpandedChange","useDisclosureGroupState","keys","AccordionRootSlot","AccordionHeader","context","headerContent","React","child","KeyboardArrowRight","AccordionContent","AccordionItem","id","isExpanded","value","defaultId","useId","itemValue","groupState","expanded","useDisclosureState","panelRef","triggerRef","disabled","panelProps","useDisclosure","finalButtonProps","isFocusVisible","contextValue","Accordion","loadingSpinnerRecipe","LoadingSpinnerRoot","circlePath","pointerPath","LoadingSpinner","ariaLabel","progressBarProps","useProgressBar","cardRecipe","CardRoot","CardHeader","CardContent","CardContext","headerNode","setHeader","useState","contentNode","setContent","useMemo","CardRootSlot","useEffect","slotElement","CardHeaderSlot","CardContentSlot","Card","badgeRecipe","BadgeRoot","Badge","alertRecipe","AlertRoot","AlertTitle","AlertDescription","AlertIcon","AlertActions","AlertDismissButton","getIconFromTone","tone","ErrorOutline","Info","WarningAmber","CheckCircleOutline","AlertContext","titleNode","setTitle","descriptionNode","setDescription","actionsNode","setActions","dismissNode","setDismiss","AlertRootSlot","AlertTitleSlot","AlertDescriptionSlot","AlertActionsSlot","AlertDismissButtonSlot","Clear","Alert","buttonGroupRecipe","_b","_c","_d","ToggleButtonGroupRoot","RacToggleButtonGroup","ToggleButtonGroupButton","RacToggleButton","ToggleButtonGroupRootSlot","ToggleButtonGroupButtonSlot","ToggleButtonGroup","columnLayout","rowLayout","formFieldRecipe","FormFieldRootSlot","FormFieldLabelSlot","FormFieldInputSlot","FormFieldDescriptionSlot","FormFieldErrorSlot","FormFieldPopoverSlot","FormFieldRoot","isInvalid","isRequired","isReadOnly","setContext","labelProps","fieldProps","descriptionProps","errorMessageProps","useField","prevContext","FormFieldContext","HelpOutline","Popover","Dialog","Children","FormFieldLabel","labelSlotProps","FormFieldInput","inputSlotProps","FormFieldDescription","descriptionSlotProps","FormFieldError","errorSlotProps","FormFieldInfoBox","FormField","_extends","e","reservedModifierKeywords","mappedKeys","mapKey","isHotkeyModifier","parseKeysHookInput","splitKey","parseHotkey","hotkey","combinationKey","description","modifiers","singleCharKeys","pushToCurrentlyPressedKeys","removeFromCurrentlyPressedKeys","currentlyPressedKeys","isReadonlyArray","isHotkeyPressed","hotkeyArray","maybePreventDefault","preventDefault","isHotkeyEnabled","enabled","isKeyboardEventTriggeredByInput","ev","isHotkeyEnabledOnTag","event","enabledOnTags","target","composed","targetTagName","isCustomElement","tag","_targetTagName","element","isScopeActive","activeScopes","scopes","scope","isHotkeyMatchingKeyboardEvent","ignoreModifiers","meta","mod","shift","ctrl","pressedKeyUppercase","code","ctrlKey","metaKey","shiftKey","altKey","keyCode","pressedKey","BoundHotkeysProxyProvider","useBoundHotkeysProxy","deepEqual","isEqual","HotkeysContext","useHotkeysContext","useDeepEqualMemo","stopPropagation","useSafeLayoutEffect","useLayoutEffect","useHotkeys","callback","options","dependencies","_useState","setRef","hasTriggeredRef","_options","_keys","_deps","memoisedCB","useCallback","cbRef","memoisedOptions","_useHotkeysContext","enabledScopes","proxy","listener","isKeyUp","_e$target","rootNode","_hotkey$keys","handleKeyDown","handleKeyUp","domNode","useMountedState","mountedRef","get","useSetState","initialState","set","setState","patch","prevState","toggleSelection","selection","active","ranges","range","deselectCurrent","require$$0","clipboardToIE11Formatting","defaultMessage","format","message","copyKey","copy","text","debug","reselectPrevious","mark","success","successful","err","copyToClipboard","useCopyToClipboard","isMounted","noUserInteraction","normalizedValue","error","writeText"],"mappings":";;;;;;;;;;AAEO,MAAMA,KAAeC,EAAa;AAAA,EACvC,WAAW;AAAA,EACX,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,gBAAgB;AAAA,IAChB,eAAe;AAAA,IACf,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,iBAAiB;AAAA,IACjB,cAAc;AAAA,IACd,OAAO;AAAA,IACP,kBAAkB;AAAA,IAClB,WAAW;AAAA,MACT,QAAQ;AAAA,IACV;AAAA,IACA,WAAW;AAAA,MACT,YAAY;AAAA,IAAA;AAAA,EAEhB;AAAA,EACA,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,IAAI,EAAE,OAAO,KAAM,QAAQ,KAAM,WAAW,KAAK;A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,UAAU;AACxD,cAAIkP,IAAQ,IAAI,MAAM,wBAAwB,OAAOlP,IAAQ,iCAAiC;AAC9F,UAAI,QAAQ,IAAI,aAAa,iBACzB,QAAQ,MAAMkP,CAAK,GACvB5B,EAAS;AAAA,YACL,OAAOtN;AAAA,YACP,OAAOkP;AAAA,YACP,mBAAmB;AAAA,UACvC,CAAiB;AACD;AAAA,QAChB,WAEqBlP,MAAU,IAAI;AACnB,cAAIkP,IAAQ,IAAI,MAAM,wCAAwC;AAC9D,UAAI,QAAQ,IAAI,aAAa,iBACzB,QAAQ,MAAMA,CAAK,GACvB5B,EAAS;AAAA,YACL,OAAOtN;AAAA,YACP,OAAOkP;AAAA,YACP,mBAAmB;AAAA,UACvC,CAAiB;AACD;AAAA,QAChB;AACY,QAAAD,IAAkBjP,EAAM,SAAU,GAClCgP,IAAoBG,GAAUF,CAAe,GAC7C3B,EAAS;AAAA,UACL,OAAO2B;AAAA,UACP,OAAO;AAAA,UACP,mBAAmBD;AAAA,QACnC,CAAa;AAAA,MACb,SACeE,GAAO;AACV,QAAA5B,EAAS;AAAA,UACL,OAAO2B;AAAA,UACP,OAAOC;AAAA,UACP,mBAAmBF;AAAA,QACnC,CAAa;AAAA,MACb;AAAA;AAAA,EACK,GAAE,EAAE;AACL,SAAO,CAAC5U,GAAOyU,CAAe;AAClC;","x_google_ignoreList":[5,6,23,124,125,126,127,128,129]}
1
+ {"version":3,"file":"index.js","sources":["../src/components/avatar/avatar.recipe.tsx","../src/components/avatar/avatar.slots.tsx","../src/components/avatar/avatar.tsx","../src/components/box/box.tsx","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/useLayoutEffect.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/useEffectEvent.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/useValueEffect.mjs","../../../node_modules/.pnpm/@react-aria+ssr@3.9.7_react@18.3.1/node_modules/@react-aria/ssr/dist/SSRProvider.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/useId.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/chain.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/domHelpers.mjs","../../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/mergeProps.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/mergeRefs.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/filterDOMProps.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/focusWithoutScrolling.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/platform.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/openLink.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/runAfterTransition.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/useGlobalListeners.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/useLabels.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/useObjectRef.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/useUpdateEffect.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/useUpdateLayoutEffect.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/useResizeObserver.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/useSyncRef.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/isScrollable.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/getScrollParent.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/getScrollParents.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/useDescription.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/useEvent.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/scrollIntoView.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/isVirtualEvent.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/useFormReset.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/constants.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/keyboard.mjs","../../../node_modules/.pnpm/@react-aria+utils@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/animation.mjs","../../../node_modules/.pnpm/@react-stately+utils@3.10.5_react@18.3.1/node_modules/@react-stately/utils/dist/useControlledState.mjs","../../../node_modules/.pnpm/@react-stately+utils@3.10.5_react@18.3.1/node_modules/@react-stately/utils/dist/number.mjs","../../../node_modules/.pnpm/@react-aria+interactions@3.23.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/interactions/dist/textSelection.mjs","../../../node_modules/.pnpm/@react-aria+interactions@3.23.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/interactions/dist/context.mjs","../../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.js","../../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.js","../../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_class_private_field_get.js","../../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_check_private_redeclaration.js","../../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_class_private_field_init.js","../../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.js","../../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_class_private_field_set.js","../../../node_modules/.pnpm/@react-aria+interactions@3.23.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/interactions/dist/usePress.mjs","../../../node_modules/.pnpm/@react-aria+interactions@3.23.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/interactions/dist/PressResponder.mjs","../../../node_modules/.pnpm/@react-aria+interactions@3.23.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/interactions/dist/utils.mjs","../../../node_modules/.pnpm/@react-aria+interactions@3.23.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/interactions/dist/useFocus.mjs","../../../node_modules/.pnpm/@react-aria+interactions@3.23.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/interactions/dist/useFocusVisible.mjs","../../../node_modules/.pnpm/@react-aria+interactions@3.23.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/interactions/dist/useFocusWithin.mjs","../../../node_modules/.pnpm/@react-aria+interactions@3.23.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/interactions/dist/useHover.mjs","../../../node_modules/.pnpm/@react-aria+interactions@3.23.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/interactions/dist/useInteractOutside.mjs","../../../node_modules/.pnpm/@react-aria+interactions@3.23.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/interactions/dist/createEventHandler.mjs","../../../node_modules/.pnpm/@react-aria+interactions@3.23.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/interactions/dist/useKeyboard.mjs","../../../node_modules/.pnpm/@react-aria+interactions@3.23.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/interactions/dist/useLongPress.mjs","../../../node_modules/.pnpm/@react-aria+focus@3.19.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/focus/dist/focusSafely.mjs","../../../node_modules/.pnpm/@react-aria+focus@3.19.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/focus/dist/isElementVisible.mjs","../../../node_modules/.pnpm/@react-aria+focus@3.19.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/focus/dist/FocusScope.mjs","../../../node_modules/.pnpm/@react-aria+focus@3.19.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/focus/dist/useFocusRing.mjs","../../../node_modules/.pnpm/@react-aria+focus@3.19.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/focus/dist/useFocusable.mjs","../../../node_modules/.pnpm/@react-aria+focus@3.19.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/focus/dist/useHasTabbableChild.mjs","../../../node_modules/.pnpm/@react-aria+link@3.7.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/link/dist/useLink.mjs","../../../node_modules/.pnpm/@react-aria+i18n@3.12.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/i18n/dist/utils.mjs","../../../node_modules/.pnpm/@react-aria+i18n@3.12.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/i18n/dist/useDefaultLocale.mjs","../../../node_modules/.pnpm/@react-aria+i18n@3.12.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/i18n/dist/context.mjs","../../../node_modules/.pnpm/@internationalized+string@3.2.5/node_modules/@internationalized/string/dist/LocalizedStringDictionary.mjs","../../../node_modules/.pnpm/@internationalized+string@3.2.5/node_modules/@internationalized/string/dist/LocalizedStringFormatter.mjs","../../../node_modules/.pnpm/@react-aria+i18n@3.12.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/i18n/dist/useLocalizedStringFormatter.mjs","../../../node_modules/.pnpm/@internationalized+number@3.6.0/node_modules/@internationalized/number/dist/NumberFormatter.mjs","../../../node_modules/.pnpm/@react-aria+i18n@3.12.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/i18n/dist/useNumberFormatter.mjs","../../../node_modules/.pnpm/@react-aria+i18n@3.12.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/i18n/dist/useCollator.mjs","../../../node_modules/.pnpm/@react-aria+button@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/button/dist/useButton.mjs","../../../node_modules/.pnpm/@react-aria+button@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/button/dist/useToggleButton.mjs","../../../node_modules/.pnpm/@react-aria+toolbar@3.0.0-beta.12_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/toolbar/dist/useToolbar.mjs","../../../node_modules/.pnpm/@react-aria+button@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/button/dist/useToggleButtonGroup.mjs","../../../node_modules/.pnpm/@react-aria+live-announcer@3.4.1/node_modules/@react-aria/live-announcer/dist/LiveAnnouncer.mjs","../../../node_modules/.pnpm/@react-stately+form@3.1.1_react@18.3.1/node_modules/@react-stately/form/dist/useFormValidationState.mjs","../../../node_modules/.pnpm/@react-aria+form@3.0.12_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/form/dist/useFormValidation.mjs","../../../node_modules/.pnpm/@react-aria+toggle@3.10.11_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/toggle/dist/useToggle.mjs","../../../node_modules/.pnpm/@react-aria+checkbox@3.15.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/checkbox/dist/useCheckbox.mjs","../../../node_modules/.pnpm/@react-aria+label@3.7.14_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/label/dist/useLabel.mjs","../../../node_modules/.pnpm/@react-aria+label@3.7.14_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/label/dist/useField.mjs","../../../node_modules/.pnpm/@react-stately+toggle@3.8.1_react@18.3.1/node_modules/@react-stately/toggle/dist/useToggleState.mjs","../../../node_modules/.pnpm/@react-stately+toggle@3.8.1_react@18.3.1/node_modules/@react-stately/toggle/dist/useToggleGroupState.mjs","../../../node_modules/.pnpm/@react-aria+visually-hidden@3.8.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/visually-hidden/dist/VisuallyHidden.mjs","../../../node_modules/.pnpm/@react-aria+textfield@3.16.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/textfield/dist/useTextField.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/calculatePosition.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/useCloseOnScroll.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/useOverlayPosition.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/useOverlay.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/useOverlayTrigger.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/usePreventScroll.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/useModal.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/ar-AE.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/bg-BG.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/cs-CZ.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/da-DK.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/de-DE.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/el-GR.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/en-US.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/es-ES.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/et-EE.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/fi-FI.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/fr-FR.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/he-IL.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/hr-HR.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/hu-HU.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/it-IT.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/ja-JP.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/ko-KR.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/lt-LT.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/lv-LV.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/nb-NO.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/nl-NL.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/pl-PL.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/pt-BR.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/pt-PT.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/ro-RO.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/ru-RU.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/sk-SK.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/sl-SI.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/sr-SP.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/sv-SE.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/tr-TR.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/uk-UA.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/zh-CN.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/zh-TW.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/intlStrings.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/DismissButton.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/ariaHideOutside.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/usePopover.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/PortalProvider.mjs","../../../node_modules/.pnpm/@react-aria+overlays@3.25.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/overlays/dist/Overlay.mjs","../../../node_modules/.pnpm/@react-aria+listbox@3.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/listbox/dist/utils.mjs","../../../node_modules/.pnpm/@react-aria+selection@3.22.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/selection/dist/utils.mjs","../../../node_modules/.pnpm/@react-aria+selection@3.22.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/selection/dist/useTypeSelect.mjs","../../../node_modules/.pnpm/@react-aria+selection@3.22.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/selection/dist/useSelectableCollection.mjs","../../../node_modules/.pnpm/@react-aria+selection@3.22.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/selection/dist/useSelectableItem.mjs","../../../node_modules/.pnpm/@react-aria+selection@3.22.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/selection/dist/DOMLayoutDelegate.mjs","../../../node_modules/.pnpm/@react-aria+selection@3.22.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/selection/dist/ListKeyboardDelegate.mjs","../../../node_modules/.pnpm/@react-aria+selection@3.22.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/selection/dist/useSelectableList.mjs","../../../node_modules/.pnpm/@react-aria+listbox@3.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/listbox/dist/useListBox.mjs","../../../node_modules/.pnpm/@react-stately+collections@3.12.1_react@18.3.1/node_modules/@react-stately/collections/dist/CollectionBuilder.mjs","../../../node_modules/.pnpm/@react-stately+collections@3.12.1_react@18.3.1/node_modules/@react-stately/collections/dist/useCollection.mjs","../../../node_modules/.pnpm/@react-stately+collections@3.12.1_react@18.3.1/node_modules/@react-stately/collections/dist/getChildNodes.mjs","../../../node_modules/.pnpm/@react-stately+collections@3.12.1_react@18.3.1/node_modules/@react-stately/collections/dist/getItemCount.mjs","../../../node_modules/.pnpm/@react-aria+listbox@3.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/listbox/dist/useOption.mjs","../../../node_modules/.pnpm/@react-aria+listbox@3.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/listbox/dist/useListBoxSection.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/ar-AE.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/bg-BG.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/cs-CZ.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/da-DK.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/de-DE.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/el-GR.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/en-US.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/es-ES.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/et-EE.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/fi-FI.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/fr-FR.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/he-IL.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/hr-HR.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/hu-HU.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/it-IT.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/ja-JP.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/ko-KR.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/lt-LT.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/lv-LV.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/nb-NO.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/nl-NL.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/pl-PL.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/pt-BR.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/pt-PT.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/ro-RO.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/ru-RU.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/sk-SK.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/sl-SI.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/sr-SP.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/sv-SE.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/tr-TR.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/uk-UA.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/zh-CN.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/zh-TW.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/intlStrings.mjs","../../../node_modules/.pnpm/@react-aria+menu@3.17.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/menu/dist/useMenuTrigger.mjs","../../../node_modules/.pnpm/@react-aria+dialog@3.5.21_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/dialog/dist/useDialog.mjs","../../../node_modules/.pnpm/@react-aria+disclosure@3.0.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/disclosure/dist/useDisclosure.mjs","../../../node_modules/.pnpm/@react-aria+gridlist@3.10.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/gridlist/dist/utils.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/ar-AE.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/bg-BG.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/cs-CZ.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/da-DK.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/de-DE.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/el-GR.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/en-US.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/es-ES.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/et-EE.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/fi-FI.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/fr-FR.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/he-IL.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/hr-HR.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/hu-HU.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/it-IT.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/ja-JP.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/ko-KR.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/lt-LT.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/lv-LV.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/nb-NO.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/nl-NL.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/pl-PL.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/pt-BR.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/pt-PT.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/ro-RO.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/ru-RU.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/sk-SK.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/sl-SI.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/sr-SP.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/sv-SE.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/tr-TR.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/uk-UA.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/zh-CN.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/zh-TW.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/intlStrings.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/useGridSelectionAnnouncement.mjs","../../../node_modules/.pnpm/@react-aria+grid@3.11.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/grid/dist/useHighlightSelectionDescription.mjs","../../../node_modules/.pnpm/@react-aria+gridlist@3.10.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/gridlist/dist/useGridList.mjs","../../../node_modules/.pnpm/@react-aria+gridlist@3.10.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/gridlist/dist/useGridListItem.mjs","../../../node_modules/.pnpm/@react-aria+progress@3.4.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/progress/dist/useProgressBar.mjs","../../../node_modules/.pnpm/@react-aria+select@3.15.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/select/dist/useSelect.mjs","../../../node_modules/.pnpm/@react-aria+select@3.15.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/select/dist/HiddenSelect.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/useTagGroup.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/ar-AE.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/bg-BG.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/cs-CZ.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/da-DK.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/de-DE.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/el-GR.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/en-US.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/es-ES.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/et-EE.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/fi-FI.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/fr-FR.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/he-IL.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/hr-HR.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/hu-HU.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/it-IT.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/ja-JP.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/ko-KR.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/lt-LT.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/lv-LV.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/nb-NO.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/nl-NL.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/pl-PL.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/pt-BR.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/pt-PT.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/ro-RO.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/ru-RU.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/sk-SK.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/sl-SI.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/sr-SP.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/sv-SE.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/tr-TR.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/uk-UA.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/zh-CN.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/zh-TW.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/intlStrings.mjs","../../../node_modules/.pnpm/@react-aria+tag@3.4.9_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tag/dist/useTag.mjs","../../../node_modules/.pnpm/@react-aria+tooltip@3.7.11_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tooltip/dist/useTooltip.mjs","../../../node_modules/.pnpm/@react-aria+tooltip@3.7.11_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/tooltip/dist/useTooltipTrigger.mjs","../src/components/button/button.recipe.ts","../../../node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","../../../node_modules/.pnpm/@emotion+is-prop-valid@1.3.1/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js","../src/components/button/button.slots.tsx","../src/components/button/button.tsx","../src/components/dialog/dialog.tsx","../src/components/icon-button/icon-button.tsx","../src/components/link/link.recipe.ts","../src/components/link/link.slots.tsx","../src/components/link/link.tsx","../src/components/list/list.tsx","../src/components/simple-grid/simple-grid.tsx","../src/components/table/table.tsx","../src/components/text/text.tsx","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/RSPContexts.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/utils.mjs","../../../node_modules/.pnpm/@react-aria+collections@3.0.0-alpha.7_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/collections/dist/BaseCollection.mjs","../../../node_modules/.pnpm/@react-aria+collections@3.0.0-alpha.7_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/collections/dist/Document.mjs","../../../node_modules/.pnpm/@react-aria+collections@3.0.0-alpha.7_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/collections/dist/useCachedChildren.mjs","../../../node_modules/.pnpm/@react-aria+collections@3.0.0-alpha.7_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/collections/dist/Hidden.mjs","../../../node_modules/.pnpm/use-sync-external-store@1.4.0_react@18.3.1/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js","../../../node_modules/.pnpm/use-sync-external-store@1.4.0_react@18.3.1/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js","../../../node_modules/.pnpm/use-sync-external-store@1.4.0_react@18.3.1/node_modules/use-sync-external-store/shim/index.js","../../../node_modules/.pnpm/@react-aria+collections@3.0.0-alpha.7_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/collections/dist/CollectionBuilder.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/Label.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/ProgressBar.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/Button.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/Text.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/FieldError.mjs","../../../node_modules/.pnpm/@react-stately+list@3.11.2_react@18.3.1/node_modules/@react-stately/list/dist/ListCollection.mjs","../../../node_modules/.pnpm/@react-stately+selection@3.19.0_react@18.3.1/node_modules/@react-stately/selection/dist/Selection.mjs","../../../node_modules/.pnpm/@react-stately+selection@3.19.0_react@18.3.1/node_modules/@react-stately/selection/dist/useMultipleSelectionState.mjs","../../../node_modules/.pnpm/@react-stately+selection@3.19.0_react@18.3.1/node_modules/@react-stately/selection/dist/SelectionManager.mjs","../../../node_modules/.pnpm/@react-stately+list@3.11.2_react@18.3.1/node_modules/@react-stately/list/dist/useListState.mjs","../../../node_modules/.pnpm/@react-stately+list@3.11.2_react@18.3.1/node_modules/@react-stately/list/dist/useSingleSelectListState.mjs","../../../node_modules/.pnpm/@react-stately+overlays@3.6.13_react@18.3.1/node_modules/@react-stately/overlays/dist/useOverlayTriggerState.mjs","../../../node_modules/.pnpm/@react-stately+disclosure@3.0.1_react@18.3.1/node_modules/@react-stately/disclosure/dist/useDisclosureState.mjs","../../../node_modules/.pnpm/@react-stately+disclosure@3.0.1_react@18.3.1/node_modules/@react-stately/disclosure/dist/useDisclosureGroupState.mjs","../../../node_modules/.pnpm/@react-stately+menu@3.9.1_react@18.3.1/node_modules/@react-stately/menu/dist/useMenuTriggerState.mjs","../../../node_modules/.pnpm/@react-stately+select@3.6.10_react@18.3.1/node_modules/@react-stately/select/dist/useSelectState.mjs","../../../node_modules/.pnpm/@react-stately+tooltip@3.5.1_react@18.3.1/node_modules/@react-stately/tooltip/dist/useTooltipTriggerState.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/Form.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/Input.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/TextArea.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/TextField.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/Autocomplete.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/Collection.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/ar-AE.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/bg-BG.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/cs-CZ.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/da-DK.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/de-DE.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/el-GR.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/en-US.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/es-ES.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/et-EE.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/fi-FI.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/fr-FR.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/he-IL.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/hr-HR.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/hu-HU.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/it-IT.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/ja-JP.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/ko-KR.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/lt-LT.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/lv-LV.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/nb-NO.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/nl-NL.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/pl-PL.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/pt-BR.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/pt-PT.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/ro-RO.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/ru-RU.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/sk-SK.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/sl-SI.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/sr-SP.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/sv-SE.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/tr-TR.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/uk-UA.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/zh-CN.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/zh-TW.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/intlStrings.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/DragAndDrop.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/Header.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/Separator.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/ListBox.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/OverlayArrow.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/Popover.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/Menu.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/Dialog.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/Select.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/TagGroup.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/ToggleButtonGroup.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/ToggleButton.mjs","../../../node_modules/.pnpm/react-aria-components@1.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/Tooltip.mjs","../src/components/tooltip/tooltip.recipe.ts","../src/components/tooltip/tooltip.slots.ts","../src/components/tooltip/tooltip.tsx","../src/components/tooltip/tooltip-trigger.tsx","../src/components/tooltip/make-element-focusable.tsx","../../../node_modules/.pnpm/next-themes@0.4.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next-themes/dist/index.mjs","../src/components/nimbus-provider/color-mode.tsx","../src/theme/animation-styles.ts","../src/theme/breakpoints.ts","../src/theme/global-css.ts","../src/theme/keyframes.ts","../src/theme/layer-styles.ts","../src/components/code/code.recipe.ts","../src/components/heading/heading.recipe.ts","../src/components/kbd/kbd.recipe.ts","../src/components/text-input/text-input.recipe.tsx","../src/theme/recipes/index.ts","../src/theme/semantic-tokens/colors.ts","../src/theme/semantic-tokens/shadows.ts","../src/theme/semantic-tokens/radii.ts","../src/theme/semantic-tokens/index.ts","../src/components/dialog/dialog.recipe.ts","../src/components/list/list.recipe.ts","../src/components/table/table.recipe.ts","../src/components/checkbox/checkbox.recipe.tsx","../src/components/select/select.recipe.tsx","../src/components/accordion/accordion.recipe.tsx","../src/components/tag-group/tag-group.recipe.tsx","../src/theme/slot-recipes/index.ts","../src/theme/text-styles.ts","../src/theme/tokens/aspect-ratios.ts","../src/theme/tokens/animations.ts","../src/theme/tokens/blurs.ts","../src/theme/tokens/borders.ts","../src/theme/tokens/colors.ts","../src/theme/tokens/durations.ts","../src/theme/tokens/easings.ts","../src/theme/tokens/fonts.ts","../src/theme/tokens/font-sizes.ts","../src/theme/tokens/font-weights.ts","../src/theme/tokens/letter-spacings.ts","../src/theme/tokens/line-heights.ts","../src/theme/tokens/radii.ts","../src/theme/tokens/spacing.ts","../src/theme/tokens/sizes.ts","../src/theme/tokens/z-index.ts","../src/theme/tokens/cursor.ts","../src/theme/tokens/index.ts","../src/theme/index.ts","../src/components/nimbus-provider/nimbus-provider.tsx","../src/utils/extractStyleProps.ts","../src/components/checkbox/checkbox.slots.tsx","../src/components/checkbox/checkbox.tsx","../src/components/stack/stack.tsx","../src/components/visually-hidden/visually-hidden.tsx","../src/components/text-input/text-input.slots.tsx","../src/components/text-input/text-input.tsx","../src/components/grid/grid.tsx","../src/components/select/select.slots.tsx","../src/components/select/components/select.clear-button.tsx","../src/components/select/components/select.root.tsx","../src/utils/fixedForwardRef.ts","../src/components/select/components/select.options.tsx","../src/components/select/components/select.option.tsx","../src/components/select/components/select.option-group.tsx","../src/components/select/select.tsx","../src/components/accordion/accordion.slots.tsx","../src/components/accordion/accordion-context.tsx","../src/components/accordion/components/accordion-group.tsx","../src/components/accordion/components/accordion-header.tsx","../src/components/accordion/components/accordion-content.tsx","../src/components/accordion/components/accordion-item.tsx","../src/components/accordion/accordion.tsx","../src/components/loading-spinner/loading-spinner.recipe.tsx","../src/components/loading-spinner/loading-spinner.slots.tsx","../src/components/loading-spinner/loading-spinner.tsx","../src/components/card/card.recipe.tsx","../src/components/card/card.slots.tsx","../src/components/card/components/card.root.tsx","../src/components/card/components/card.header.tsx","../src/components/card/components/card.content.tsx","../src/components/card/card.tsx","../src/components/badge/badge.recipe.tsx","../src/components/badge/badge.slots.tsx","../src/components/badge/badge.tsx","../src/components/alert/alert.recipe.tsx","../src/components/alert/alert.slots.tsx","../src/components/alert/components/alert.root.tsx","../src/components/alert/components/alert.title.tsx","../src/components/alert/components/alert.description.tsx","../src/components/alert/components/alert.actions.tsx","../src/components/alert/components/alert.dismiss-button.tsx","../src/components/alert/alert.tsx","../src/components/toggle-button-group/toggle-button-group.recipe.tsx","../src/components/toggle-button-group/toggle-button-group.slots.tsx","../src/components/toggle-button-group/components/toggle-button-group.root.tsx","../src/components/toggle-button-group/components/toggle-button-group.button.tsx","../src/components/toggle-button-group/toggle-button-group.tsx","../src/components/form-field/form-field.recipe.tsx","../src/components/form-field/form-field.slots.tsx","../src/components/form-field/components/form-field.root.tsx","../src/components/form-field/components/form-field.label.tsx","../src/components/form-field/components/form-field.input.tsx","../src/components/form-field/components/form-field.description.tsx","../src/components/form-field/components/form-field.error.tsx","../src/components/form-field/components/form-field.info-box.tsx","../src/components/form-field/form-field.tsx","../src/components/tag-group/tag-group.slots.tsx","../src/components/tag-group/components/tag-group.root.tsx","../src/components/tag-group/components/tag-group.tag-list.tsx","../src/components/tag-group/components/tag-group.tag.tsx","../src/components/tag-group/tag-group.tsx","../../../node_modules/.pnpm/react-hotkeys-hook@4.6.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-hotkeys-hook/dist/react-hotkeys-hook.esm.js","../../../node_modules/.pnpm/react-use@17.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-use/esm/useMountedState.js","../../../node_modules/.pnpm/react-use@17.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-use/esm/useSetState.js","../../../node_modules/.pnpm/toggle-selection@1.0.6/node_modules/toggle-selection/index.js","../../../node_modules/.pnpm/copy-to-clipboard@3.3.3/node_modules/copy-to-clipboard/index.js","../../../node_modules/.pnpm/react-use@17.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-use/esm/useCopyToClipboard.js"],"sourcesContent":["import { defineRecipe } from \"@chakra-ui/react\";\n\nexport const avatarRecipe = defineRecipe({\n className: \"avatar\",\n base: {\n display: \"inline-flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n verticalAlign: \"middle\",\n overflow: \"hidden\",\n userSelect: \"none\",\n borderRadius: \"full\",\n flexShrink: 0,\n fontWeight: \"600\",\n backgroundColor: \"colorPalette.3\",\n colorPalette: \"primary\",\n color: \"colorPalette.11\",\n focusVisibleRing: \"outside\",\n \"button&\": {\n cursor: \"button\",\n },\n _disabled: {\n layerStyle: \"disabled\",\n },\n },\n variants: {\n size: {\n md: { width: 1000, height: 1000, textStyle: \"sm\" },\n xs: { width: 800, height: 800, textStyle: \"xs\" },\n \"2xs\": { width: 600, height: 600, textStyle: \"xs\" },\n },\n },\n defaultVariants: {\n size: \"md\",\n },\n});\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react\";\nimport { avatarRecipe } from \"./avatar.recipe\";\n\ninterface AvatarRecipeProps extends RecipeProps<\"div\">, UnstyledProp {}\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface AvatarRootProps\n extends HTMLChakraProps<\"div\", AvatarRecipeProps> {}\nconst { withContext } = createRecipeContext({ recipe: avatarRecipe });\n\nexport const AvatarRoot = withContext<HTMLElement, AvatarRootProps>(\"figure\");\n","import { forwardRef } from \"react\";\nimport { Image } from \"@chakra-ui/react\";\nimport { type AvatarProps } from \"./avatar.types\";\nimport { AvatarRoot } from \"./avatar.slots.tsx\";\n\nfunction getInitials(firstName: string, lastName: string) {\n return (\n firstName.split(\"\")[0].toUpperCase() + lastName.split(\"\")[0].toUpperCase()\n );\n}\n\nexport const Avatar = forwardRef<HTMLDivElement, AvatarProps>((props, ref) => {\n const { firstName, lastName, src, alt, ...rest } = props;\n\n const fullName = `${firstName} ${lastName}`;\n\n const sharedProps = {\n \"aria-label\": `${fullName} avatar`,\n ref,\n ...rest,\n };\n return (\n <AvatarRoot {...sharedProps}>\n {src ? (\n // TODO: implement more robust error handling for image\n <Image src={src} alt={alt || fullName} />\n ) : (\n getInitials(firstName, lastName)\n )}\n </AvatarRoot>\n );\n});\n\nAvatar.displayName = \"Avatar\";\n","import { forwardRef } from \"react\";\nimport { Box as ChakraBox, type HTMLChakraProps } from \"@chakra-ui/react\";\nexport interface BoxProps extends HTMLChakraProps<\"div\"> {\n children?: React.ReactNode;\n}\n\nexport const Box = forwardRef<HTMLDivElement, BoxProps>((props, ref) => {\n return <ChakraBox ref={ref} {...props} />;\n});\n\nBox.displayName = \"Box\";\n","import $HgANd$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 $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c = typeof document !== 'undefined' ? (0, $HgANd$react).useLayoutEffect : ()=>{};\n\n\nexport {$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c as useLayoutEffect};\n//# sourceMappingURL=useLayoutEffect.module.js.map\n","import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useRef as $lmaYr$useRef, useCallback as $lmaYr$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\nfunction $8ae05eaa5c114e9c$export$7f54fc3180508a52(fn) {\n const ref = (0, $lmaYr$useRef)(null);\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n ref.current = fn;\n }, [\n fn\n ]);\n // @ts-ignore\n return (0, $lmaYr$useCallback)((...args)=>{\n const f = ref.current;\n return f === null || f === void 0 ? void 0 : f(...args);\n }, []);\n}\n\n\nexport {$8ae05eaa5c114e9c$export$7f54fc3180508a52 as useEffectEvent};\n//# sourceMappingURL=useEffectEvent.module.js.map\n","import {useEffectEvent as $8ae05eaa5c114e9c$export$7f54fc3180508a52} from \"./useEffectEvent.mjs\";\nimport {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useState as $fCAlL$useState, useRef as $fCAlL$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 */ \n\nfunction $1dbecbe27a04f9af$export$14d238f342723f25(defaultValue) {\n let [value, setValue] = (0, $fCAlL$useState)(defaultValue);\n let effect = (0, $fCAlL$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, $8ae05eaa5c114e9c$export$7f54fc3180508a52)(()=>{\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 (value === newValue.value) nextRef();\n else setValue(newValue.value);\n });\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n // If there is an effect currently running, continue to the next yield.\n if (effect.current) nextRef();\n });\n let queue = (0, $8ae05eaa5c114e9c$export$7f54fc3180508a52)((fn)=>{\n effect.current = fn(value);\n nextRef();\n });\n return [\n value,\n queue\n ];\n}\n\n\nexport {$1dbecbe27a04f9af$export$14d238f342723f25 as useValueEffect};\n//# sourceMappingURL=useValueEffect.module.js.map\n","import $670gB$react, {useContext as $670gB$useContext, useState as $670gB$useState, useMemo as $670gB$useMemo, useLayoutEffect as $670gB$useLayoutEffect, useRef as $670gB$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 $b5e257d569688ac6$var$defaultContext = {\n prefix: String(Math.round(Math.random() * 10000000000)),\n current: 0\n};\nconst $b5e257d569688ac6$var$SSRContext = /*#__PURE__*/ (0, $670gB$react).createContext($b5e257d569688ac6$var$defaultContext);\nconst $b5e257d569688ac6$var$IsSSRContext = /*#__PURE__*/ (0, $670gB$react).createContext(false);\n// This is only used in React < 18.\nfunction $b5e257d569688ac6$var$LegacySSRProvider(props) {\n let cur = (0, $670gB$useContext)($b5e257d569688ac6$var$SSRContext);\n let counter = $b5e257d569688ac6$var$useCounter(cur === $b5e257d569688ac6$var$defaultContext);\n let [isSSR, setIsSSR] = (0, $670gB$useState)(true);\n let value = (0, $670gB$useMemo)(()=>({\n // If this is the first SSRProvider, start with an empty string prefix, otherwise\n // append and increment the counter.\n prefix: cur === $b5e257d569688ac6$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, $670gB$useLayoutEffect)(()=>{\n setIsSSR(false);\n }, []);\n return /*#__PURE__*/ (0, $670gB$react).createElement($b5e257d569688ac6$var$SSRContext.Provider, {\n value: value\n }, /*#__PURE__*/ (0, $670gB$react).createElement($b5e257d569688ac6$var$IsSSRContext.Provider, {\n value: isSSR\n }, props.children));\n}\nlet $b5e257d569688ac6$var$warnedAboutSSRProvider = false;\nfunction $b5e257d569688ac6$export$9f8ac96af4b1b2ae(props) {\n if (typeof (0, $670gB$react)['useId'] === 'function') {\n if (process.env.NODE_ENV !== 'test' && !$b5e257d569688ac6$var$warnedAboutSSRProvider) {\n console.warn('In React 18, SSRProvider is not necessary and is a noop. You can remove it from your app.');\n $b5e257d569688ac6$var$warnedAboutSSRProvider = true;\n }\n return /*#__PURE__*/ (0, $670gB$react).createElement((0, $670gB$react).Fragment, null, props.children);\n }\n return /*#__PURE__*/ (0, $670gB$react).createElement($b5e257d569688ac6$var$LegacySSRProvider, props);\n}\nlet $b5e257d569688ac6$var$canUseDOM = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);\nlet $b5e257d569688ac6$var$componentIds = new WeakMap();\nfunction $b5e257d569688ac6$var$useCounter(isDisabled = false) {\n let ctx = (0, $670gB$useContext)($b5e257d569688ac6$var$SSRContext);\n let ref = (0, $670gB$useRef)(null);\n // eslint-disable-next-line rulesdir/pure-render\n if (ref.current === null && !isDisabled) {\n var _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner, _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\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 = (_React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = (0, $670gB$react).__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) === null || _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED === void 0 ? void 0 : (_React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner = _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner) === null || _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner === void 0 ? void 0 : _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner.current;\n if (currentOwner) {\n let prevComponentValue = $b5e257d569688ac6$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 $b5e257d569688ac6$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 $b5e257d569688ac6$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 $b5e257d569688ac6$var$useLegacySSRSafeId(defaultId) {\n let ctx = (0, $670gB$useContext)($b5e257d569688ac6$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 === $b5e257d569688ac6$var$defaultContext && !$b5e257d569688ac6$var$canUseDOM) 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 = $b5e257d569688ac6$var$useCounter(!!defaultId);\n let prefix = ctx === $b5e257d569688ac6$var$defaultContext && process.env.NODE_ENV === 'test' ? 'react-aria' : `react-aria${ctx.prefix}`;\n return defaultId || `${prefix}-${counter}`;\n}\nfunction $b5e257d569688ac6$var$useModernSSRSafeId(defaultId) {\n let id = (0, $670gB$react).useId();\n let [didSSR] = (0, $670gB$useState)($b5e257d569688ac6$export$535bd6ca7f90a273());\n let prefix = didSSR || process.env.NODE_ENV === 'test' ? 'react-aria' : `react-aria${$b5e257d569688ac6$var$defaultContext.prefix}`;\n return defaultId || `${prefix}-${id}`;\n}\nconst $b5e257d569688ac6$export$619500959fc48b26 = typeof (0, $670gB$react)['useId'] === 'function' ? $b5e257d569688ac6$var$useModernSSRSafeId : $b5e257d569688ac6$var$useLegacySSRSafeId;\nfunction $b5e257d569688ac6$var$getSnapshot() {\n return false;\n}\nfunction $b5e257d569688ac6$var$getServerSnapshot() {\n return true;\n}\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $b5e257d569688ac6$var$subscribe(onStoreChange) {\n // noop\n return ()=>{};\n}\nfunction $b5e257d569688ac6$export$535bd6ca7f90a273() {\n // In React 18, we can use useSyncExternalStore to detect if we're server rendering or hydrating.\n if (typeof (0, $670gB$react)['useSyncExternalStore'] === 'function') return (0, $670gB$react)['useSyncExternalStore']($b5e257d569688ac6$var$subscribe, $b5e257d569688ac6$var$getSnapshot, $b5e257d569688ac6$var$getServerSnapshot);\n // eslint-disable-next-line react-hooks/rules-of-hooks\n return (0, $670gB$useContext)($b5e257d569688ac6$var$IsSSRContext);\n}\n\n\nexport {$b5e257d569688ac6$export$9f8ac96af4b1b2ae as SSRProvider, $b5e257d569688ac6$export$535bd6ca7f90a273 as useIsSSR, $b5e257d569688ac6$export$619500959fc48b26 as useSSRSafeId};\n//# sourceMappingURL=SSRProvider.module.js.map\n","import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useValueEffect as $1dbecbe27a04f9af$export$14d238f342723f25} from \"./useValueEffect.mjs\";\nimport {useState as $eKkEp$useState, useRef as $eKkEp$useRef, useCallback as $eKkEp$useCallback, useEffect as $eKkEp$useEffect} from \"react\";\nimport {useSSRSafeId as $eKkEp$useSSRSafeId} from \"@react-aria/ssr\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n// copied from SSRProvider.tsx to reduce exports, if needed again, consider sharing\nlet $bdb11010cef70236$var$canUseDOM = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);\nlet $bdb11010cef70236$var$idsUpdaterMap = new Map();\nfunction $bdb11010cef70236$export$f680877a34711e37(defaultId) {\n let [value, setValue] = (0, $eKkEp$useState)(defaultId);\n let nextId = (0, $eKkEp$useRef)(null);\n let res = (0, $eKkEp$useSSRSafeId)(value);\n let updateValue = (0, $eKkEp$useCallback)((val)=>{\n nextId.current = val;\n }, []);\n if ($bdb11010cef70236$var$canUseDOM) {\n // TS not smart enough to know that `has` means the value exists\n if ($bdb11010cef70236$var$idsUpdaterMap.has(res) && !$bdb11010cef70236$var$idsUpdaterMap.get(res).includes(updateValue)) $bdb11010cef70236$var$idsUpdaterMap.set(res, [\n ...$bdb11010cef70236$var$idsUpdaterMap.get(res),\n updateValue\n ]);\n else $bdb11010cef70236$var$idsUpdaterMap.set(res, [\n updateValue\n ]);\n }\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n let r = res;\n return ()=>{\n $bdb11010cef70236$var$idsUpdaterMap.delete(r);\n };\n }, [\n res\n ]);\n // This cannot cause an infinite loop because the ref is updated first.\n // eslint-disable-next-line\n (0, $eKkEp$useEffect)(()=>{\n let newId = nextId.current;\n if (newId) {\n nextId.current = null;\n setValue(newId);\n }\n });\n return res;\n}\nfunction $bdb11010cef70236$export$cd8c9cb68f842629(idA, idB) {\n if (idA === idB) return idA;\n let setIdsA = $bdb11010cef70236$var$idsUpdaterMap.get(idA);\n if (setIdsA) {\n setIdsA.forEach((fn)=>fn(idB));\n return idB;\n }\n let setIdsB = $bdb11010cef70236$var$idsUpdaterMap.get(idB);\n if (setIdsB) {\n setIdsB.forEach((fn)=>fn(idA));\n return idA;\n }\n return idB;\n}\nfunction $bdb11010cef70236$export$b4cc09c592e8fdb8(depArray = []) {\n let id = $bdb11010cef70236$export$f680877a34711e37();\n let [resolvedId, setResolvedId] = (0, $1dbecbe27a04f9af$export$14d238f342723f25)(id);\n let updateId = (0, $eKkEp$useCallback)(()=>{\n setResolvedId(function*() {\n yield id;\n yield document.getElementById(id) ? id : undefined;\n });\n }, [\n id,\n setResolvedId\n ]);\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(updateId, [\n id,\n updateId,\n ...depArray\n ]);\n return resolvedId;\n}\n\n\nexport {$bdb11010cef70236$export$f680877a34711e37 as useId, $bdb11010cef70236$export$cd8c9cb68f842629 as mergeIds, $bdb11010cef70236$export$b4cc09c592e8fdb8 as useSlotId};\n//# sourceMappingURL=useId.module.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 * Calls all functions in the order they were chained with the same arguments.\n */ function $ff5963eb1fccf552$export$e08e3b67e392101e(...callbacks) {\n return (...args)=>{\n for (let callback of callbacks)if (typeof callback === 'function') callback(...args);\n };\n}\n\n\nexport {$ff5963eb1fccf552$export$e08e3b67e392101e as chain};\n//# sourceMappingURL=chain.module.js.map\n","const $431fbd86ca7dc216$export$b204af158042fbac = (el)=>{\n var _el_ownerDocument;\n return (_el_ownerDocument = el === null || el === void 0 ? void 0 : el.ownerDocument) !== null && _el_ownerDocument !== void 0 ? _el_ownerDocument : document;\n};\nconst $431fbd86ca7dc216$export$f21a1ffae260145a = (el)=>{\n if (el && 'window' in el && el.window === el) return el;\n const doc = $431fbd86ca7dc216$export$b204af158042fbac(el);\n return doc.defaultView || window;\n};\n\n\nexport {$431fbd86ca7dc216$export$b204af158042fbac as getOwnerDocument, $431fbd86ca7dc216$export$f21a1ffae260145a as getOwnerWindow};\n//# sourceMappingURL=domHelpers.module.js.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 $ff5963eb1fccf552$export$e08e3b67e392101e} from \"./chain.mjs\";\nimport {mergeIds as $bdb11010cef70236$export$cd8c9cb68f842629} from \"./useId.mjs\";\nimport $7jXr9$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\nfunction $3ef42575df84b30b$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, $ff5963eb1fccf552$export$e08e3b67e392101e)(a, b);\n else if ((key === 'className' || key === 'UNSAFE_className') && typeof a === 'string' && typeof b === 'string') result[key] = (0, $7jXr9$clsx)(a, b);\n else if (key === 'id' && a && b) result.id = (0, $bdb11010cef70236$export$cd8c9cb68f842629)(a, b);\n else result[key] = b !== undefined ? b : a;\n }\n }\n return result;\n}\n\n\nexport {$3ef42575df84b30b$export$9d1611c77c2fe928 as mergeProps};\n//# sourceMappingURL=mergeProps.module.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 */ function $5dc95899b306f630$export$c9058316764c140e(...refs) {\n if (refs.length === 1 && refs[0]) return refs[0];\n return (value)=>{\n for (let ref of refs){\n if (typeof ref === 'function') ref(value);\n else if (ref != null) ref.current = value;\n }\n };\n}\n\n\nexport {$5dc95899b306f630$export$c9058316764c140e as mergeRefs};\n//# sourceMappingURL=mergeRefs.module.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 */ const $65484d02dcb7eb3e$var$DOMPropNames = new Set([\n 'id'\n]);\nconst $65484d02dcb7eb3e$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 $65484d02dcb7eb3e$var$linkPropNames = new Set([\n 'href',\n 'hrefLang',\n 'target',\n 'rel',\n 'download',\n 'ping',\n 'referrerPolicy'\n]);\nconst $65484d02dcb7eb3e$var$propRe = /^(data-.*)$/;\nfunction $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, opts = {}) {\n let { labelable: labelable, isLink: isLink, propNames: propNames } = opts;\n let filteredProps = {};\n for(const prop in props)if (Object.prototype.hasOwnProperty.call(props, prop) && ($65484d02dcb7eb3e$var$DOMPropNames.has(prop) || labelable && $65484d02dcb7eb3e$var$labelablePropNames.has(prop) || isLink && $65484d02dcb7eb3e$var$linkPropNames.has(prop) || (propNames === null || propNames === void 0 ? void 0 : propNames.has(prop)) || $65484d02dcb7eb3e$var$propRe.test(prop))) filteredProps[prop] = props[prop];\n return filteredProps;\n}\n\n\nexport {$65484d02dcb7eb3e$export$457c3d6518dd4c6f as filterDOMProps};\n//# sourceMappingURL=filterDOMProps.module.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 */ function $7215afc6de606d6b$export$de79e2c695e052f3(element) {\n if ($7215afc6de606d6b$var$supportsPreventScroll()) element.focus({\n preventScroll: true\n });\n else {\n let scrollableElements = $7215afc6de606d6b$var$getScrollableElements(element);\n element.focus();\n $7215afc6de606d6b$var$restoreScrollPosition(scrollableElements);\n }\n}\nlet $7215afc6de606d6b$var$supportsPreventScrollCached = null;\nfunction $7215afc6de606d6b$var$supportsPreventScroll() {\n if ($7215afc6de606d6b$var$supportsPreventScrollCached == null) {\n $7215afc6de606d6b$var$supportsPreventScrollCached = false;\n try {\n let focusElem = document.createElement('div');\n focusElem.focus({\n get preventScroll () {\n $7215afc6de606d6b$var$supportsPreventScrollCached = true;\n return true;\n }\n });\n } catch {\n // Ignore\n }\n }\n return $7215afc6de606d6b$var$supportsPreventScrollCached;\n}\nfunction $7215afc6de606d6b$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 $7215afc6de606d6b$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 {$7215afc6de606d6b$export$de79e2c695e052f3 as focusWithoutScrolling};\n//# sourceMappingURL=focusWithoutScrolling.module.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 */ function $c87311424ea30a05$var$testUserAgent(re) {\n var _window_navigator_userAgentData;\n if (typeof window === 'undefined' || window.navigator == null) return false;\n return ((_window_navigator_userAgentData = window.navigator['userAgentData']) === null || _window_navigator_userAgentData === void 0 ? void 0 : _window_navigator_userAgentData.brands.some((brand)=>re.test(brand.brand))) || re.test(window.navigator.userAgent);\n}\nfunction $c87311424ea30a05$var$testPlatform(re) {\n var _window_navigator_userAgentData;\n return typeof window !== 'undefined' && window.navigator != null ? re.test(((_window_navigator_userAgentData = window.navigator['userAgentData']) === null || _window_navigator_userAgentData === void 0 ? void 0 : _window_navigator_userAgentData.platform) || window.navigator.platform) : false;\n}\nfunction $c87311424ea30a05$var$cached(fn) {\n let res = null;\n return ()=>{\n if (res == null) res = fn();\n return res;\n };\n}\nconst $c87311424ea30a05$export$9ac100e40613ea10 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testPlatform(/^Mac/i);\n});\nconst $c87311424ea30a05$export$186c6964ca17d99 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testPlatform(/^iPhone/i);\n});\nconst $c87311424ea30a05$export$7bef049ce92e4224 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testPlatform(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.\n $c87311424ea30a05$export$9ac100e40613ea10() && navigator.maxTouchPoints > 1;\n});\nconst $c87311424ea30a05$export$fedb369cb70207f1 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$export$186c6964ca17d99() || $c87311424ea30a05$export$7bef049ce92e4224();\n});\nconst $c87311424ea30a05$export$e1865c3bedcd822b = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$export$9ac100e40613ea10() || $c87311424ea30a05$export$fedb369cb70207f1();\n});\nconst $c87311424ea30a05$export$78551043582a6a98 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testUserAgent(/AppleWebKit/i) && !$c87311424ea30a05$export$6446a186d09e379e();\n});\nconst $c87311424ea30a05$export$6446a186d09e379e = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testUserAgent(/Chrome/i);\n});\nconst $c87311424ea30a05$export$a11b0059900ceec8 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testUserAgent(/Android/i);\n});\nconst $c87311424ea30a05$export$b7d78993b74f766d = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testUserAgent(/Firefox/i);\n});\n\n\nexport {$c87311424ea30a05$export$9ac100e40613ea10 as isMac, $c87311424ea30a05$export$186c6964ca17d99 as isIPhone, $c87311424ea30a05$export$7bef049ce92e4224 as isIPad, $c87311424ea30a05$export$fedb369cb70207f1 as isIOS, $c87311424ea30a05$export$e1865c3bedcd822b as isAppleDevice, $c87311424ea30a05$export$78551043582a6a98 as isWebKit, $c87311424ea30a05$export$6446a186d09e379e as isChrome, $c87311424ea30a05$export$a11b0059900ceec8 as isAndroid, $c87311424ea30a05$export$b7d78993b74f766d as isFirefox};\n//# sourceMappingURL=platform.module.js.map\n","import {focusWithoutScrolling as $7215afc6de606d6b$export$de79e2c695e052f3} from \"./focusWithoutScrolling.mjs\";\nimport {isMac as $c87311424ea30a05$export$9ac100e40613ea10, isWebKit as $c87311424ea30a05$export$78551043582a6a98, isFirefox as $c87311424ea30a05$export$b7d78993b74f766d, isIPad as $c87311424ea30a05$export$7bef049ce92e4224} from \"./platform.mjs\";\nimport $g3jFn$react, {createContext as $g3jFn$createContext, useMemo as $g3jFn$useMemo, useContext as $g3jFn$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 $ea8dcbcb9ea1b556$var$RouterContext = /*#__PURE__*/ (0, $g3jFn$createContext)({\n isNative: true,\n open: $ea8dcbcb9ea1b556$var$openSyntheticLink,\n useHref: (href)=>href\n});\nfunction $ea8dcbcb9ea1b556$export$323e4fc2fa4753fb(props) {\n let { children: children, navigate: navigate, useHref: useHref } = props;\n let ctx = (0, $g3jFn$useMemo)(()=>({\n isNative: false,\n open: (target, modifiers, href, routerOptions)=>{\n $ea8dcbcb9ea1b556$var$getSyntheticLink(target, (link)=>{\n if ($ea8dcbcb9ea1b556$export$efa8c9099e530235(link, modifiers)) navigate(href, routerOptions);\n else $ea8dcbcb9ea1b556$export$95185d699e05d4d7(link, modifiers);\n });\n },\n useHref: useHref || ((href)=>href)\n }), [\n navigate,\n useHref\n ]);\n return /*#__PURE__*/ (0, $g3jFn$react).createElement($ea8dcbcb9ea1b556$var$RouterContext.Provider, {\n value: ctx\n }, children);\n}\nfunction $ea8dcbcb9ea1b556$export$9a302a45f65d0572() {\n return (0, $g3jFn$useContext)($ea8dcbcb9ea1b556$var$RouterContext);\n}\nfunction $ea8dcbcb9ea1b556$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 $ea8dcbcb9ea1b556$export$95185d699e05d4d7(target, modifiers, setOpening = true) {\n var _window_event_type, _window_event;\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, $c87311424ea30a05$export$b7d78993b74f766d)() && ((_window_event = window.event) === null || _window_event === void 0 ? void 0 : (_window_event_type = _window_event.type) === null || _window_event_type === void 0 ? void 0 : _window_event_type.startsWith('key')) && target.target === '_blank') {\n if ((0, $c87311424ea30a05$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, $c87311424ea30a05$export$78551043582a6a98)() && (0, $c87311424ea30a05$export$9ac100e40613ea10)() && !(0, $c87311424ea30a05$export$7bef049ce92e4224)() && true ? 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 bubbles: true,\n cancelable: true\n });\n $ea8dcbcb9ea1b556$export$95185d699e05d4d7.isOpening = setOpening;\n (0, $7215afc6de606d6b$export$de79e2c695e052f3)(target);\n target.dispatchEvent(event);\n $ea8dcbcb9ea1b556$export$95185d699e05d4d7.isOpening = false;\n}\n// https://github.com/parcel-bundler/parcel/issues/8724\n$ea8dcbcb9ea1b556$export$95185d699e05d4d7.isOpening = false;\nfunction $ea8dcbcb9ea1b556$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 $ea8dcbcb9ea1b556$var$openSyntheticLink(target, modifiers) {\n $ea8dcbcb9ea1b556$var$getSyntheticLink(target, (link)=>$ea8dcbcb9ea1b556$export$95185d699e05d4d7(link, modifiers));\n}\nfunction $ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6(props) {\n let router = $ea8dcbcb9ea1b556$export$9a302a45f65d0572();\n var _props_href;\n const href = router.useHref((_props_href = props.href) !== null && _props_href !== void 0 ? _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 $ea8dcbcb9ea1b556$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 $ea8dcbcb9ea1b556$export$7e924b3091a3bd18(props) {\n let router = $ea8dcbcb9ea1b556$export$9a302a45f65d0572();\n var _props_href;\n const href = router.useHref((_props_href = props === null || props === void 0 ? void 0 : props.href) !== null && _props_href !== void 0 ? _props_href : '');\n return {\n href: (props === null || props === void 0 ? void 0 : props.href) ? href : undefined,\n target: props === null || props === void 0 ? void 0 : props.target,\n rel: props === null || props === void 0 ? void 0 : props.rel,\n download: props === null || props === void 0 ? void 0 : props.download,\n ping: props === null || props === void 0 ? void 0 : props.ping,\n referrerPolicy: props === null || props === void 0 ? void 0 : props.referrerPolicy\n };\n}\n\n\nexport {$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb as RouterProvider, $ea8dcbcb9ea1b556$export$efa8c9099e530235 as shouldClientNavigate, $ea8dcbcb9ea1b556$export$95185d699e05d4d7 as openLink, $ea8dcbcb9ea1b556$export$9a302a45f65d0572 as useRouter, $ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6 as useSyntheticLinkProps, $ea8dcbcb9ea1b556$export$51437d503373d223 as getSyntheticLinkProps, $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 as useLinkProps};\n//# sourceMappingURL=openLink.module.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 */ // 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.\nlet $bbed8b41f857bcc0$var$transitionsByElement = new Map();\n// A list of callbacks to call once there are no transitioning elements.\nlet $bbed8b41f857bcc0$var$transitionCallbacks = new Set();\nfunction $bbed8b41f857bcc0$var$setupGlobalEvents() {\n if (typeof window === 'undefined') return;\n function isTransitionEvent(event) {\n return 'propertyName' in event;\n }\n let onTransitionStart = (e)=>{\n if (!isTransitionEvent(e) || !e.target) return;\n // Add the transitioning property to the list for this element.\n let transitions = $bbed8b41f857bcc0$var$transitionsByElement.get(e.target);\n if (!transitions) {\n transitions = new Set();\n $bbed8b41f857bcc0$var$transitionsByElement.set(e.target, 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 e.target.addEventListener('transitioncancel', onTransitionEnd, {\n once: true\n });\n }\n transitions.add(e.propertyName);\n };\n let onTransitionEnd = (e)=>{\n if (!isTransitionEvent(e) || !e.target) return;\n // Remove property from list of transitioning properties.\n let properties = $bbed8b41f857bcc0$var$transitionsByElement.get(e.target);\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 e.target.removeEventListener('transitioncancel', onTransitionEnd);\n $bbed8b41f857bcc0$var$transitionsByElement.delete(e.target);\n }\n // If no transitioning elements, call all of the queued callbacks.\n if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) {\n for (let cb of $bbed8b41f857bcc0$var$transitionCallbacks)cb();\n $bbed8b41f857bcc0$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') $bbed8b41f857bcc0$var$setupGlobalEvents();\n else document.addEventListener('DOMContentLoaded', $bbed8b41f857bcc0$var$setupGlobalEvents);\n}\nfunction $bbed8b41f857bcc0$export$24490316f764c430(fn) {\n // Wait one frame to see if an animation starts, e.g. a transition on mount.\n requestAnimationFrame(()=>{\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 ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) fn();\n else $bbed8b41f857bcc0$var$transitionCallbacks.add(fn);\n });\n}\n\n\nexport {$bbed8b41f857bcc0$export$24490316f764c430 as runAfterTransition};\n//# sourceMappingURL=runAfterTransition.module.js.map\n","import {useRef as $lPAwt$useRef, useCallback as $lPAwt$useCallback, useEffect as $lPAwt$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 $03deb23ff14920c4$export$4eaf04e54aa8eed6() {\n let globalListeners = (0, $lPAwt$useRef)(new Map());\n let addGlobalListener = (0, $lPAwt$useCallback)((eventTarget, type, listener, options)=>{\n // Make sure we remove the listener after it is called with the `once` option.\n let fn = (options === null || options === void 0 ? void 0 : 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, $lPAwt$useCallback)((eventTarget, type, listener, options)=>{\n var _globalListeners_current_get;\n let fn = ((_globalListeners_current_get = globalListeners.current.get(listener)) === null || _globalListeners_current_get === void 0 ? void 0 : _globalListeners_current_get.fn) || listener;\n eventTarget.removeEventListener(type, fn, options);\n globalListeners.current.delete(listener);\n }, []);\n let removeAllGlobalListeners = (0, $lPAwt$useCallback)(()=>{\n globalListeners.current.forEach((value, key)=>{\n removeGlobalListener(value.eventTarget, value.type, key, value.options);\n });\n }, [\n removeGlobalListener\n ]);\n (0, $lPAwt$useEffect)(()=>{\n return removeAllGlobalListeners;\n }, [\n removeAllGlobalListeners\n ]);\n return {\n addGlobalListener: addGlobalListener,\n removeGlobalListener: removeGlobalListener,\n removeAllGlobalListeners: removeAllGlobalListeners\n };\n}\n\n\nexport {$03deb23ff14920c4$export$4eaf04e54aa8eed6 as useGlobalListeners};\n//# sourceMappingURL=useGlobalListeners.module.js.map\n","import {useId as $bdb11010cef70236$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 $313b98861ee5dd6c$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, $bdb11010cef70236$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 {$313b98861ee5dd6c$export$d6875122194c7b44 as useLabels};\n//# sourceMappingURL=useLabels.module.js.map\n","import {useRef as $gbmns$useRef, useMemo as $gbmns$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 $df56164dff5785e2$export$4338b53315abf666(forwardedRef) {\n const objRef = (0, $gbmns$useRef)(null);\n return (0, $gbmns$useMemo)(()=>({\n get current () {\n return objRef.current;\n },\n set current (value){\n objRef.current = value;\n if (typeof forwardedRef === 'function') forwardedRef(value);\n else if (forwardedRef) forwardedRef.current = value;\n }\n }), [\n forwardedRef\n ]);\n}\n\n\nexport {$df56164dff5785e2$export$4338b53315abf666 as useObjectRef};\n//# sourceMappingURL=useObjectRef.module.js.map\n","import {useRef as $9vW05$useRef, useEffect as $9vW05$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 $4f58c5f72bcf79f7$export$496315a1608d9602(effect, dependencies) {\n const isInitialMount = (0, $9vW05$useRef)(true);\n const lastDeps = (0, $9vW05$useRef)(null);\n (0, $9vW05$useEffect)(()=>{\n isInitialMount.current = true;\n return ()=>{\n isInitialMount.current = false;\n };\n }, []);\n (0, $9vW05$useEffect)(()=>{\n if (isInitialMount.current) isInitialMount.current = false;\n else if (!lastDeps.current || dependencies.some((dep, i)=>!Object.is(dep, lastDeps[i]))) effect();\n lastDeps.current = dependencies;\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, dependencies);\n}\n\n\nexport {$4f58c5f72bcf79f7$export$496315a1608d9602 as useUpdateEffect};\n//# sourceMappingURL=useUpdateEffect.module.js.map\n","import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useRef as $azsE2$useRef} from \"react\";\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 */ \n\nfunction $ca9b37712f007381$export$72ef708ab07251f1(effect, dependencies) {\n const isInitialMount = (0, $azsE2$useRef)(true);\n const lastDeps = (0, $azsE2$useRef)(null);\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n isInitialMount.current = true;\n return ()=>{\n isInitialMount.current = false;\n };\n }, []);\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n if (isInitialMount.current) isInitialMount.current = false;\n else if (!lastDeps.current || dependencies.some((dep, i)=>!Object.is(dep, lastDeps[i]))) effect();\n lastDeps.current = dependencies;\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, dependencies);\n}\n\n\nexport {$ca9b37712f007381$export$72ef708ab07251f1 as useUpdateLayoutEffect};\n//# sourceMappingURL=useUpdateLayoutEffect.module.js.map\n","import {useEffect as $Vsl8o$useEffect} from \"react\";\n\n\nfunction $9daab02d461809db$var$hasResizeObserver() {\n return typeof window.ResizeObserver !== 'undefined';\n}\nfunction $9daab02d461809db$export$683480f191c0e3ea(options) {\n const { ref: ref, box: box, onResize: onResize } = options;\n (0, $Vsl8o$useEffect)(()=>{\n let element = ref === null || ref === void 0 ? void 0 : ref.current;\n if (!element) return;\n if (!$9daab02d461809db$var$hasResizeObserver()) {\n window.addEventListener('resize', onResize, false);\n return ()=>{\n window.removeEventListener('resize', onResize, false);\n };\n } else {\n const resizeObserverInstance = new window.ResizeObserver((entries)=>{\n if (!entries.length) return;\n onResize();\n });\n resizeObserverInstance.observe(element, {\n box: box\n });\n return ()=>{\n if (element) resizeObserverInstance.unobserve(element);\n };\n }\n }, [\n onResize,\n ref,\n box\n ]);\n}\n\n\nexport {$9daab02d461809db$export$683480f191c0e3ea as useResizeObserver};\n//# sourceMappingURL=useResizeObserver.module.js.map\n","import {useLayoutEffect as $f0a04ccd8dbdd83b$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 $e7801be82b4b2a53$export$4debdb1a3f0fa79e(context, ref) {\n (0, $f0a04ccd8dbdd83b$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 {$e7801be82b4b2a53$export$4debdb1a3f0fa79e as useSyncRef};\n//# sourceMappingURL=useSyncRef.module.js.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 $cc38e7bd3fc7b213$export$2bb74740c4e19def(node, checkForOverflow) {\n if (!node) return false;\n let style = window.getComputedStyle(node);\n let isScrollable = /(auto|scroll)/.test(style.overflow + style.overflowX + style.overflowY);\n if (isScrollable && checkForOverflow) isScrollable = node.scrollHeight !== node.clientHeight || node.scrollWidth !== node.clientWidth;\n return isScrollable;\n}\n\n\nexport {$cc38e7bd3fc7b213$export$2bb74740c4e19def as isScrollable};\n//# sourceMappingURL=isScrollable.module.js.map\n","import {isScrollable as $cc38e7bd3fc7b213$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 $62d8ded9296f3872$export$cfa2225e87938781(node, checkForOverflow) {\n let scrollableNode = node;\n if ((0, $cc38e7bd3fc7b213$export$2bb74740c4e19def)(scrollableNode, checkForOverflow)) scrollableNode = scrollableNode.parentElement;\n while(scrollableNode && !(0, $cc38e7bd3fc7b213$export$2bb74740c4e19def)(scrollableNode, checkForOverflow))scrollableNode = scrollableNode.parentElement;\n return scrollableNode || document.scrollingElement || document.documentElement;\n}\n\n\nexport {$62d8ded9296f3872$export$cfa2225e87938781 as getScrollParent};\n//# sourceMappingURL=getScrollParent.module.js.map\n","import {isScrollable as $cc38e7bd3fc7b213$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 $a40c673dc9f6d9c7$export$94ed1c92c7beeb22(node, checkForOverflow) {\n const scrollParents = [];\n while(node && node !== document.documentElement){\n if ((0, $cc38e7bd3fc7b213$export$2bb74740c4e19def)(node, checkForOverflow)) scrollParents.push(node);\n node = node.parentElement;\n }\n return scrollParents;\n}\n\n\nexport {$a40c673dc9f6d9c7$export$94ed1c92c7beeb22 as getScrollParents};\n//# sourceMappingURL=getScrollParents.module.js.map\n","import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useState as $hQ5Hp$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 $ef06256079686ba0$var$descriptionId = 0;\nconst $ef06256079686ba0$var$descriptionNodes = new Map();\nfunction $ef06256079686ba0$export$f8aeda7b10753fa1(description) {\n let [id, setId] = (0, $hQ5Hp$useState)();\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n if (!description) return;\n let desc = $ef06256079686ba0$var$descriptionNodes.get(description);\n if (!desc) {\n let id = `react-aria-description-${$ef06256079686ba0$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 $ef06256079686ba0$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 $ef06256079686ba0$var$descriptionNodes.delete(description);\n }\n };\n }, [\n description\n ]);\n return {\n 'aria-describedby': description ? id : undefined\n };\n}\n\n\nexport {$ef06256079686ba0$export$f8aeda7b10753fa1 as useDescription};\n//# sourceMappingURL=useDescription.module.js.map\n","import {useEffectEvent as $8ae05eaa5c114e9c$export$7f54fc3180508a52} from \"./useEffectEvent.mjs\";\nimport {useEffect as $ceQd6$useEffect} 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 */ \n\nfunction $e9faafb641e167db$export$90fc3a17d93f704c(ref, event, handler, options) {\n let handleEvent = (0, $8ae05eaa5c114e9c$export$7f54fc3180508a52)(handler);\n let isDisabled = handler == null;\n (0, $ceQd6$useEffect)(()=>{\n if (isDisabled || !ref.current) return;\n let element = ref.current;\n element.addEventListener(event, handleEvent, options);\n return ()=>{\n element.removeEventListener(event, handleEvent, options);\n };\n }, [\n ref,\n event,\n options,\n isDisabled,\n handleEvent\n ]);\n}\n\n\nexport {$e9faafb641e167db$export$90fc3a17d93f704c as useEvent};\n//# sourceMappingURL=useEvent.module.js.map\n","import {getScrollParents as $a40c673dc9f6d9c7$export$94ed1c92c7beeb22} from \"./getScrollParents.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 $2f04cbc44ee30ce0$export$53a0910f038337bd(scrollView, element) {\n let offsetX = $2f04cbc44ee30ce0$var$relativeOffset(scrollView, element, 'left');\n let offsetY = $2f04cbc44ee30ce0$var$relativeOffset(scrollView, element, 'top');\n let width = element.offsetWidth;\n let height = element.offsetHeight;\n let x = scrollView.scrollLeft;\n let y = scrollView.scrollTop;\n // Account for top/left border offsetting the scroll top/Left + scroll padding\n let { borderTopWidth: borderTopWidth, borderLeftWidth: borderLeftWidth, scrollPaddingTop: scrollPaddingTop, scrollPaddingRight: scrollPaddingRight, scrollPaddingBottom: scrollPaddingBottom, scrollPaddingLeft: scrollPaddingLeft } = getComputedStyle(scrollView);\n let borderAdjustedX = x + parseInt(borderLeftWidth, 10);\n let borderAdjustedY = y + parseInt(borderTopWidth, 10);\n // Ignore end/bottom border via clientHeight/Width instead of offsetHeight/Width\n let maxX = borderAdjustedX + scrollView.clientWidth;\n let maxY = borderAdjustedY + scrollView.clientHeight;\n // Get scroll padding values as pixels - defaults to 0 if no scroll padding\n // is used.\n let scrollPaddingTopNumber = parseInt(scrollPaddingTop, 10) || 0;\n let scrollPaddingBottomNumber = parseInt(scrollPaddingBottom, 10) || 0;\n let scrollPaddingRightNumber = parseInt(scrollPaddingRight, 10) || 0;\n let scrollPaddingLeftNumber = parseInt(scrollPaddingLeft, 10) || 0;\n if (offsetX <= x + scrollPaddingLeftNumber) x = offsetX - parseInt(borderLeftWidth, 10) - scrollPaddingLeftNumber;\n else if (offsetX + width > maxX - scrollPaddingRightNumber) x += offsetX + width - maxX + scrollPaddingRightNumber;\n if (offsetY <= borderAdjustedY + scrollPaddingTopNumber) y = offsetY - parseInt(borderTopWidth, 10) - scrollPaddingTopNumber;\n else if (offsetY + height > maxY - scrollPaddingBottomNumber) y += offsetY + height - maxY + scrollPaddingBottomNumber;\n scrollView.scrollLeft = x;\n scrollView.scrollTop = y;\n}\n/**\n * Computes the offset left or top from child to ancestor by accumulating\n * offsetLeft or offsetTop through intervening offsetParents.\n */ function $2f04cbc44ee30ce0$var$relativeOffset(ancestor, child, axis) {\n const prop = axis === 'left' ? 'offsetLeft' : 'offsetTop';\n let sum = 0;\n while(child.offsetParent){\n sum += child[prop];\n if (child.offsetParent === ancestor) break;\n else if (child.offsetParent.contains(ancestor)) {\n // If the ancestor is not `position:relative`, then we stop at\n // _its_ offset parent, and we subtract off _its_ offset, so that\n // we end up with the proper offset from child to ancestor.\n sum -= ancestor[prop];\n break;\n }\n child = child.offsetParent;\n }\n return sum;\n}\nfunction $2f04cbc44ee30ce0$export$c826860796309d1b(targetElement, opts) {\n if (targetElement && document.contains(targetElement)) {\n let root = document.scrollingElement || document.documentElement;\n let isScrollPrevented = window.getComputedStyle(root).overflow === 'hidden';\n // If scrolling is not currently prevented then we aren’t in a overlay nor is a overlay open, just use element.scrollIntoView to bring the element into view\n if (!isScrollPrevented) {\n var // 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 let { left: originalLeft, top: originalTop } = targetElement.getBoundingClientRect();\n targetElement === null || targetElement === void 0 ? void 0 : (_targetElement_scrollIntoView = targetElement.scrollIntoView) === null || _targetElement_scrollIntoView === void 0 ? void 0 : _targetElement_scrollIntoView.call(targetElement, {\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 var _opts_containingElement_scrollIntoView, _opts_containingElement, _targetElement_scrollIntoView1;\n opts === null || opts === void 0 ? void 0 : (_opts_containingElement = opts.containingElement) === null || _opts_containingElement === void 0 ? void 0 : (_opts_containingElement_scrollIntoView = _opts_containingElement.scrollIntoView) === null || _opts_containingElement_scrollIntoView === void 0 ? void 0 : _opts_containingElement_scrollIntoView.call(_opts_containingElement, {\n block: 'center',\n inline: 'center'\n });\n (_targetElement_scrollIntoView1 = targetElement.scrollIntoView) === null || _targetElement_scrollIntoView1 === void 0 ? void 0 : _targetElement_scrollIntoView1.call(targetElement, {\n block: 'nearest'\n });\n }\n } else {\n let scrollParents = (0, $a40c673dc9f6d9c7$export$94ed1c92c7beeb22)(targetElement);\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 for (let scrollParent of scrollParents)$2f04cbc44ee30ce0$export$53a0910f038337bd(scrollParent, targetElement);\n }\n }\n}\n\n\nexport {$2f04cbc44ee30ce0$export$53a0910f038337bd as scrollIntoView, $2f04cbc44ee30ce0$export$c826860796309d1b as scrollIntoViewport};\n//# sourceMappingURL=scrollIntoView.module.js.map\n","import {isAndroid as $c87311424ea30a05$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 $6a7db85432448f7f$export$60278871457622de(event) {\n // JAWS/NVDA with Firefox.\n if (event.mozInputSource === 0 && 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, $c87311424ea30a05$export$a11b0059900ceec8)() && event.pointerType) return event.type === 'click' && event.buttons === 1;\n return event.detail === 0 && !event.pointerType;\n}\nfunction $6a7db85432448f7f$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, $c87311424ea30a05$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 {$6a7db85432448f7f$export$60278871457622de as isVirtualClick, $6a7db85432448f7f$export$29bf1b5f2c56cf63 as isVirtualPointerEvent};\n//# sourceMappingURL=isVirtualEvent.module.js.map\n","import {useEffectEvent as $8ae05eaa5c114e9c$export$7f54fc3180508a52} from \"./useEffectEvent.mjs\";\nimport {useRef as $8rM3G$useRef, useEffect as $8rM3G$useEffect} 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\nfunction $99facab73266f662$export$5add1d006293d136(ref, initialValue, onReset) {\n let resetValue = (0, $8rM3G$useRef)(initialValue);\n let handleReset = (0, $8ae05eaa5c114e9c$export$7f54fc3180508a52)(()=>{\n if (onReset) onReset(resetValue.current);\n });\n (0, $8rM3G$useEffect)(()=>{\n var _ref_current;\n let form = ref === null || ref === void 0 ? void 0 : (_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.form;\n form === null || form === void 0 ? void 0 : form.addEventListener('reset', handleReset);\n return ()=>{\n form === null || form === void 0 ? void 0 : form.removeEventListener('reset', handleReset);\n };\n }, [\n ref,\n handleReset\n ]);\n}\n\n\nexport {$99facab73266f662$export$5add1d006293d136 as useFormReset};\n//# sourceMappingURL=useFormReset.module.js.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 */ // Custom event names for updating the autocomplete's aria-activedecendant.\nconst $5671b20cf9b562b2$export$447a38995de2c711 = 'react-aria-clear-focus';\nconst $5671b20cf9b562b2$export$831c820ad60f9d12 = 'react-aria-focus';\nconst $5671b20cf9b562b2$export$9db568f6321ad9dc = 'react-aria-update-activedescendant';\n\n\nexport {$5671b20cf9b562b2$export$447a38995de2c711 as CLEAR_FOCUS_EVENT, $5671b20cf9b562b2$export$831c820ad60f9d12 as FOCUS_EVENT, $5671b20cf9b562b2$export$9db568f6321ad9dc as UPDATE_ACTIVEDESCENDANT};\n//# sourceMappingURL=constants.module.js.map\n","import {isMac as $c87311424ea30a05$export$9ac100e40613ea10} from \"./platform.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 $21f1aa98acb08317$export$16792effe837dba3(e) {\n if ((0, $c87311424ea30a05$export$9ac100e40613ea10)()) return e.metaKey;\n return e.ctrlKey;\n}\n\n\nexport {$21f1aa98acb08317$export$16792effe837dba3 as isCtrlKeyPressed};\n//# sourceMappingURL=keyboard.module.js.map\n","import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {flushSync as $jJMAe$flushSync} from \"react-dom\";\nimport {useState as $jJMAe$useState, useCallback as $jJMAe$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\nfunction $d3f049242431219c$export$6d3443f2c48bfc20(ref, isReady = true) {\n let [isEntering, setEntering] = (0, $jJMAe$useState)(true);\n let isAnimationReady = isEntering && isReady;\n // There are two cases for entry animations:\n // 1. CSS @keyframes. The `animation` property is set during the isEntering state, and it is removed after the animation finishes.\n // 2. CSS transitions. The initial styles are applied during the isEntering state, and removed immediately, causing the transition to occur.\n //\n // In the second case, cancel any transitions that were triggered prior to the isEntering = false state (when the transition is supposed to start).\n // This can happen when isReady starts as false (e.g. popovers prior to placement calculation).\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n if (isAnimationReady && ref.current && 'getAnimations' in ref.current) {\n for (let animation of ref.current.getAnimations())if (animation instanceof CSSTransition) animation.cancel();\n }\n }, [\n ref,\n isAnimationReady\n ]);\n $d3f049242431219c$var$useAnimation(ref, isAnimationReady, (0, $jJMAe$useCallback)(()=>setEntering(false), []));\n return isAnimationReady;\n}\nfunction $d3f049242431219c$export$45fda7c47f93fd48(ref, isOpen) {\n let [exitState, setExitState] = (0, $jJMAe$useState)(isOpen ? 'open' : 'closed');\n switch(exitState){\n case 'open':\n // If isOpen becomes false, set the state to exiting.\n if (!isOpen) setExitState('exiting');\n break;\n case 'closed':\n case 'exiting':\n // If we are exiting and isOpen becomes true, the animation was interrupted.\n // Reset the state to open.\n if (isOpen) setExitState('open');\n break;\n }\n let isExiting = exitState === 'exiting';\n $d3f049242431219c$var$useAnimation(ref, isExiting, (0, $jJMAe$useCallback)(()=>{\n // Set the state to closed, which will cause the element to be unmounted.\n setExitState((state)=>state === 'exiting' ? 'closed' : state);\n }, []));\n return isExiting;\n}\nfunction $d3f049242431219c$var$useAnimation(ref, isActive, onEnd) {\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n if (isActive && ref.current) {\n if (!('getAnimations' in ref.current)) {\n // JSDOM\n onEnd();\n return;\n }\n let animations = ref.current.getAnimations();\n if (animations.length === 0) {\n onEnd();\n return;\n }\n let canceled = false;\n Promise.all(animations.map((a)=>a.finished)).then(()=>{\n if (!canceled) (0, $jJMAe$flushSync)(()=>{\n onEnd();\n });\n }).catch(()=>{});\n return ()=>{\n canceled = true;\n };\n }\n }, [\n ref,\n isActive,\n onEnd\n ]);\n}\n\n\nexport {$d3f049242431219c$export$6d3443f2c48bfc20 as useEnterAnimation, $d3f049242431219c$export$45fda7c47f93fd48 as useExitAnimation};\n//# sourceMappingURL=animation.module.js.map\n","import {useState as $3whtM$useState, useRef as $3whtM$useRef, useEffect as $3whtM$useEffect, useCallback as $3whtM$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 */ \nfunction $458b0a5536c1a7cf$export$40bfa8c7b0832715(value, defaultValue, onChange) {\n let [stateValue, setStateValue] = (0, $3whtM$useState)(value || defaultValue);\n let isControlledRef = (0, $3whtM$useRef)(value !== undefined);\n let isControlled = value !== undefined;\n (0, $3whtM$useEffect)(()=>{\n let wasControlled = isControlledRef.current;\n if (wasControlled !== isControlled) console.warn(`WARN: A component changed from ${wasControlled ? 'controlled' : 'uncontrolled'} to ${isControlled ? 'controlled' : 'uncontrolled'}.`);\n isControlledRef.current = isControlled;\n }, [\n isControlled\n ]);\n let currentValue = isControlled ? value : stateValue;\n let setValue = (0, $3whtM$useCallback)((value, ...args)=>{\n let onChangeCaller = (value, ...onChangeArgs)=>{\n if (onChange) {\n if (!Object.is(currentValue, value)) onChange(value, ...onChangeArgs);\n }\n if (!isControlled) // If uncontrolled, mutate the currentValue local variable so that\n // calling setState multiple times with the same value only emits onChange once.\n // We do not use a ref for this because we specifically _do_ want the value to\n // reset every render, and assigning to a ref in render breaks aborted suspended renders.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n currentValue = value;\n };\n if (typeof value === 'function') {\n console.warn('We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320');\n // this supports functional updates https://reactjs.org/docs/hooks-reference.html#functional-updates\n // when someone using useControlledState calls setControlledState(myFunc)\n // this will call our useState setState with a function as well which invokes myFunc and calls onChange with the value from myFunc\n // if we're in an uncontrolled state, then we also return the value of myFunc which to setState looks as though it was just called with myFunc from the beginning\n // otherwise we just return the controlled value, which won't cause a rerender because React knows to bail out when the value is the same\n let updateFunction = (oldValue, ...functionArgs)=>{\n let interceptedValue = value(isControlled ? currentValue : oldValue, ...functionArgs);\n onChangeCaller(interceptedValue, ...args);\n if (!isControlled) return interceptedValue;\n return oldValue;\n };\n setStateValue(updateFunction);\n } else {\n if (!isControlled) setStateValue(value);\n onChangeCaller(value, ...args);\n }\n }, [\n isControlled,\n currentValue,\n onChange\n ]);\n return [\n currentValue,\n setValue\n ];\n}\n\n\nexport {$458b0a5536c1a7cf$export$40bfa8c7b0832715 as useControlledState};\n//# sourceMappingURL=useControlledState.module.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 * Takes a value and forces it to the closest min/max if it's outside. Also forces it to the closest valid step.\n */ function $9446cca9a3875146$export$7d15b64cf5a3a4c4(value, min = -Infinity, max = Infinity) {\n let newValue = Math.min(Math.max(value, min), max);\n return newValue;\n}\nfunction $9446cca9a3875146$export$e1a7b8e69ef6c52f(value, step) {\n let roundedValue = value;\n let stepString = step.toString();\n let pointIndex = stepString.indexOf('.');\n let precision = pointIndex >= 0 ? stepString.length - pointIndex : 0;\n if (precision > 0) {\n let pow = Math.pow(10, precision);\n roundedValue = Math.round(roundedValue * pow) / pow;\n }\n return roundedValue;\n}\nfunction $9446cca9a3875146$export$cb6e0bb50bc19463(value, min, max, step) {\n min = Number(min);\n max = Number(max);\n let remainder = (value - (isNaN(min) ? 0 : min)) % step;\n let snappedValue = $9446cca9a3875146$export$e1a7b8e69ef6c52f(Math.abs(remainder) * 2 >= step ? value + Math.sign(remainder) * (step - Math.abs(remainder)) : value - remainder, step);\n if (!isNaN(min)) {\n if (snappedValue < min) snappedValue = min;\n else if (!isNaN(max) && snappedValue > max) snappedValue = min + Math.floor($9446cca9a3875146$export$e1a7b8e69ef6c52f((max - min) / step, step)) * step;\n } else if (!isNaN(max) && snappedValue > max) snappedValue = Math.floor($9446cca9a3875146$export$e1a7b8e69ef6c52f(max / step, step)) * step;\n // correct floating point behavior by rounding to step precision\n snappedValue = $9446cca9a3875146$export$e1a7b8e69ef6c52f(snappedValue, step);\n return snappedValue;\n}\nfunction $9446cca9a3875146$export$b6268554fba451f(value, digits, base = 10) {\n const pow = Math.pow(base, digits);\n return Math.round(value * pow) / pow;\n}\n\n\nexport {$9446cca9a3875146$export$7d15b64cf5a3a4c4 as clamp, $9446cca9a3875146$export$e1a7b8e69ef6c52f as roundToStepPrecision, $9446cca9a3875146$export$cb6e0bb50bc19463 as snapValueToStep, $9446cca9a3875146$export$b6268554fba451f as toFixedNumber};\n//# sourceMappingURL=number.module.js.map\n","import {isIOS as $7R18e$isIOS, getOwnerDocument as $7R18e$getOwnerDocument, runAfterTransition as $7R18e$runAfterTransition} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n// 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 $14c0b72509d70225$var$state = 'default';\nlet $14c0b72509d70225$var$savedUserSelect = '';\nlet $14c0b72509d70225$var$modifiedElementMap = new WeakMap();\nfunction $14c0b72509d70225$export$16a4697467175487(target) {\n if ((0, $7R18e$isIOS)()) {\n if ($14c0b72509d70225$var$state === 'default') {\n const documentObject = (0, $7R18e$getOwnerDocument)(target);\n $14c0b72509d70225$var$savedUserSelect = documentObject.documentElement.style.webkitUserSelect;\n documentObject.documentElement.style.webkitUserSelect = 'none';\n }\n $14c0b72509d70225$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 $14c0b72509d70225$var$modifiedElementMap.set(target, target.style.userSelect);\n target.style.userSelect = 'none';\n }\n}\nfunction $14c0b72509d70225$export$b0d6fa1ab32e3295(target) {\n if ((0, $7R18e$isIOS)()) {\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 ($14c0b72509d70225$var$state !== 'disabled') return;\n $14c0b72509d70225$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, $7R18e$runAfterTransition)(()=>{\n // Avoid race conditions\n if ($14c0b72509d70225$var$state === 'restoring') {\n const documentObject = (0, $7R18e$getOwnerDocument)(target);\n if (documentObject.documentElement.style.webkitUserSelect === 'none') documentObject.documentElement.style.webkitUserSelect = $14c0b72509d70225$var$savedUserSelect || '';\n $14c0b72509d70225$var$savedUserSelect = '';\n $14c0b72509d70225$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 && $14c0b72509d70225$var$modifiedElementMap.has(target)) {\n let targetOldUserSelect = $14c0b72509d70225$var$modifiedElementMap.get(target);\n if (target.style.userSelect === 'none') target.style.userSelect = targetOldUserSelect;\n if (target.getAttribute('style') === '') target.removeAttribute('style');\n $14c0b72509d70225$var$modifiedElementMap.delete(target);\n }\n }\n}\n\n\nexport {$14c0b72509d70225$export$16a4697467175487 as disableTextSelection, $14c0b72509d70225$export$b0d6fa1ab32e3295 as restoreTextSelection};\n//# sourceMappingURL=textSelection.module.js.map\n","import $3aeG1$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 $ae1eeba8b9eafd08$export$5165eccb35aaadb5 = (0, $3aeG1$react).createContext({\n register: ()=>{}\n});\n$ae1eeba8b9eafd08$export$5165eccb35aaadb5.displayName = 'PressResponderContext';\n\n\nexport {$ae1eeba8b9eafd08$export$5165eccb35aaadb5 as PressResponderContext};\n//# sourceMappingURL=context.module.js.map\n","function _class_apply_descriptor_get(receiver, descriptor) {\n if (descriptor.get) return descriptor.get.call(receiver);\n\n return descriptor.value;\n}\nexport { _class_apply_descriptor_get as _ };\n","function _class_extract_field_descriptor(receiver, privateMap, action) {\n if (!privateMap.has(receiver)) throw new TypeError(\"attempted to \" + action + \" private field on non-instance\");\n\n return privateMap.get(receiver);\n}\nexport { _class_extract_field_descriptor as _ };\n","import { _ as _class_apply_descriptor_get } from \"./_class_apply_descriptor_get.js\";\nimport { _ as _class_extract_field_descriptor } from \"./_class_extract_field_descriptor.js\";\n\nfunction _class_private_field_get(receiver, privateMap) {\n var descriptor = _class_extract_field_descriptor(receiver, privateMap, \"get\");\n return _class_apply_descriptor_get(receiver, descriptor);\n}\nexport { _class_private_field_get as _ };\n","function _check_private_redeclaration(obj, privateCollection) {\n if (privateCollection.has(obj)) {\n throw new TypeError(\"Cannot initialize the same private elements twice on an object\");\n }\n}\nexport { _check_private_redeclaration as _ };\n","import { _ as _check_private_redeclaration } from \"./_check_private_redeclaration.js\";\n\nfunction _class_private_field_init(obj, privateMap, value) {\n _check_private_redeclaration(obj, privateMap);\n privateMap.set(obj, value);\n}\nexport { _class_private_field_init as _ };\n","function _class_apply_descriptor_set(receiver, descriptor, value) {\n if (descriptor.set) descriptor.set.call(receiver, value);\n else {\n if (!descriptor.writable) {\n // This should only throw in strict mode, but class bodies are\n // always strict and private fields can only be used inside\n // class bodies.\n throw new TypeError(\"attempted to set read only private field\");\n }\n descriptor.value = value;\n }\n}\nexport { _class_apply_descriptor_set as _ };\n","import { _ as _class_apply_descriptor_set } from \"./_class_apply_descriptor_set.js\";\nimport { _ as _class_extract_field_descriptor } from \"./_class_extract_field_descriptor.js\";\n\nfunction _class_private_field_set(receiver, privateMap, value) {\n var descriptor = _class_extract_field_descriptor(receiver, privateMap, \"set\");\n _class_apply_descriptor_set(receiver, descriptor, value);\n return value;\n}\nexport { _class_private_field_set as _ };\n","import {disableTextSelection as $14c0b72509d70225$export$16a4697467175487, restoreTextSelection as $14c0b72509d70225$export$b0d6fa1ab32e3295} from \"./textSelection.mjs\";\nimport {PressResponderContext as $ae1eeba8b9eafd08$export$5165eccb35aaadb5} from \"./context.mjs\";\nimport {_ as $7mdmh$_} from \"@swc/helpers/_/_class_private_field_get\";\nimport {_ as $7mdmh$_1} from \"@swc/helpers/_/_class_private_field_init\";\nimport {_ as $7mdmh$_2} from \"@swc/helpers/_/_class_private_field_set\";\nimport {mergeProps as $7mdmh$mergeProps, useSyncRef as $7mdmh$useSyncRef, useGlobalListeners as $7mdmh$useGlobalListeners, useEffectEvent as $7mdmh$useEffectEvent, getOwnerDocument as $7mdmh$getOwnerDocument, chain as $7mdmh$chain, isMac as $7mdmh$isMac, openLink as $7mdmh$openLink, isVirtualClick as $7mdmh$isVirtualClick, focusWithoutScrolling as $7mdmh$focusWithoutScrolling, isVirtualPointerEvent as $7mdmh$isVirtualPointerEvent, getOwnerWindow as $7mdmh$getOwnerWindow} from \"@react-aria/utils\";\nimport {useContext as $7mdmh$useContext, useState as $7mdmh$useState, useRef as $7mdmh$useRef, useMemo as $7mdmh$useMemo, useEffect as $7mdmh$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\nfunction $f6c31cce2adf654f$var$usePressResponderContext(props) {\n // Consume context from <PressResponder> and merge with props.\n let context = (0, $7mdmh$useContext)((0, $ae1eeba8b9eafd08$export$5165eccb35aaadb5));\n if (context) {\n let { register: register, ...contextProps } = context;\n props = (0, $7mdmh$mergeProps)(contextProps, props);\n register();\n }\n (0, $7mdmh$useSyncRef)(context, props.ref);\n return props;\n}\nvar $f6c31cce2adf654f$var$_shouldStopPropagation = /*#__PURE__*/ new WeakMap();\nclass $f6c31cce2adf654f$var$PressEvent {\n continuePropagation() {\n (0, $7mdmh$_2)(this, $f6c31cce2adf654f$var$_shouldStopPropagation, false);\n }\n get shouldStopPropagation() {\n return (0, $7mdmh$_)(this, $f6c31cce2adf654f$var$_shouldStopPropagation);\n }\n constructor(type, pointerType, originalEvent, state){\n (0, $7mdmh$_1)(this, $f6c31cce2adf654f$var$_shouldStopPropagation, {\n writable: true,\n value: void 0\n });\n (0, $7mdmh$_2)(this, $f6c31cce2adf654f$var$_shouldStopPropagation, true);\n var _state_target;\n let currentTarget = (_state_target = state === null || state === void 0 ? void 0 : state.target) !== null && _state_target !== void 0 ? _state_target : originalEvent.currentTarget;\n const rect = currentTarget === null || currentTarget === void 0 ? void 0 : 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 }\n}\nconst $f6c31cce2adf654f$var$LINK_CLICKED = Symbol('linkClicked');\nfunction $f6c31cce2adf654f$export$45712eceda6fad21(props) {\n let { onPress: onPress, onPressChange: onPressChange, onPressStart: onPressStart, onPressEnd: onPressEnd, onPressUp: onPressUp, isDisabled: isDisabled, isPressed: isPressedProp, preventFocusOnPress: preventFocusOnPress, shouldCancelOnPointerExit: shouldCancelOnPointerExit, allowTextSelectionOnPress: allowTextSelectionOnPress, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n ref: _, ...domProps } = $f6c31cce2adf654f$var$usePressResponderContext(props);\n let [isPressed, setPressed] = (0, $7mdmh$useState)(false);\n let ref = (0, $7mdmh$useRef)({\n isPressed: false,\n ignoreEmulatedMouseEvents: false,\n ignoreClickAfterPress: false,\n didFirePressStart: false,\n isTriggeringEvent: false,\n activePointerId: null,\n target: null,\n isOverTarget: false,\n pointerType: null\n });\n let { addGlobalListener: addGlobalListener, removeAllGlobalListeners: removeAllGlobalListeners } = (0, $7mdmh$useGlobalListeners)();\n let triggerPressStart = (0, $7mdmh$useEffectEvent)((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 $f6c31cce2adf654f$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 let triggerPressEnd = (0, $7mdmh$useEffectEvent)((originalEvent, pointerType, wasPressed = true)=>{\n let state = ref.current;\n if (!state.didFirePressStart) return false;\n state.ignoreClickAfterPress = true;\n state.didFirePressStart = false;\n state.isTriggeringEvent = true;\n let shouldStopPropagation = true;\n if (onPressEnd) {\n let event = new $f6c31cce2adf654f$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 $f6c31cce2adf654f$var$PressEvent('press', pointerType, originalEvent);\n onPress(event);\n shouldStopPropagation && (shouldStopPropagation = event.shouldStopPropagation);\n }\n state.isTriggeringEvent = false;\n return shouldStopPropagation;\n });\n let triggerPressUp = (0, $7mdmh$useEffectEvent)((originalEvent, pointerType)=>{\n let state = ref.current;\n if (isDisabled) return false;\n if (onPressUp) {\n state.isTriggeringEvent = true;\n let event = new $f6c31cce2adf654f$var$PressEvent('pressup', pointerType, originalEvent);\n onPressUp(event);\n state.isTriggeringEvent = false;\n return event.shouldStopPropagation;\n }\n return true;\n });\n let cancel = (0, $7mdmh$useEffectEvent)((e)=>{\n let state = ref.current;\n if (state.isPressed && state.target) {\n if (state.isOverTarget && state.pointerType != null) triggerPressEnd($f6c31cce2adf654f$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, $14c0b72509d70225$export$b0d6fa1ab32e3295)(state.target);\n }\n });\n let cancelOnPointerExit = (0, $7mdmh$useEffectEvent)((e)=>{\n if (shouldCancelOnPointerExit) cancel(e);\n });\n let pressProps = (0, $7mdmh$useMemo)(()=>{\n let state = ref.current;\n let pressProps = {\n onKeyDown (e) {\n if ($f6c31cce2adf654f$var$isValidKeyboardEvent(e.nativeEvent, e.currentTarget) && e.currentTarget.contains(e.target)) {\n var _state_metaKeyEvents;\n if ($f6c31cce2adf654f$var$shouldPreventDefaultKeyboard(e.target, 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 shouldStopPropagation = triggerPressStart(e, 'keyboard');\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 ($f6c31cce2adf654f$var$isValidKeyboardEvent(e, originalTarget) && !e.repeat && originalTarget.contains(e.target) && state.target) triggerPressUp($f6c31cce2adf654f$var$createEvent(state.target, e), 'keyboard');\n };\n addGlobalListener((0, $7mdmh$getOwnerDocument)(e.currentTarget), 'keyup', (0, $7mdmh$chain)(pressUp, onKeyUp), true);\n }\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, $7mdmh$isMac)()) (_state_metaKeyEvents = state.metaKeyEvents) === null || _state_metaKeyEvents === void 0 ? void 0 : _state_metaKeyEvents.set(e.key, e.nativeEvent);\n } else if (e.key === 'Meta') state.metaKeyEvents = new Map();\n },\n onClick (e) {\n if (e && !e.currentTarget.contains(e.target)) return;\n if (e && e.button === 0 && !state.isTriggeringEvent && !(0, $7mdmh$openLink).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.ignoreClickAfterPress && !state.ignoreEmulatedMouseEvents && !state.isPressed && (state.pointerType === 'virtual' || (0, $7mdmh$isVirtualClick)(e.nativeEvent))) {\n // Ensure the element receives focus (VoiceOver on iOS does not do this)\n if (!isDisabled && !preventFocusOnPress) (0, $7mdmh$focusWithoutScrolling)(e.currentTarget);\n let stopPressStart = triggerPressStart(e, 'virtual');\n let stopPressUp = triggerPressUp(e, 'virtual');\n let stopPressEnd = triggerPressEnd(e, 'virtual');\n shouldStopPropagation = stopPressStart && stopPressUp && stopPressEnd;\n }\n state.ignoreEmulatedMouseEvents = false;\n state.ignoreClickAfterPress = false;\n if (shouldStopPropagation) e.stopPropagation();\n }\n }\n };\n let onKeyUp = (e)=>{\n var _state_metaKeyEvents;\n if (state.isPressed && state.target && $f6c31cce2adf654f$var$isValidKeyboardEvent(e, state.target)) {\n var _state_metaKeyEvents1;\n if ($f6c31cce2adf654f$var$shouldPreventDefaultKeyboard(e.target, e.key)) e.preventDefault();\n let target = e.target;\n triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), 'keyboard', state.target.contains(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' && $f6c31cce2adf654f$var$isHTMLAnchorLink(state.target) && state.target.contains(target) && !e[$f6c31cce2adf654f$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[$f6c31cce2adf654f$var$LINK_CLICKED] = true;\n (0, $7mdmh$openLink)(state.target, e, false);\n }\n state.isPressed = false;\n (_state_metaKeyEvents1 = state.metaKeyEvents) === null || _state_metaKeyEvents1 === void 0 ? void 0 : _state_metaKeyEvents1.delete(e.key);\n } else if (e.key === 'Meta' && ((_state_metaKeyEvents = state.metaKeyEvents) === null || _state_metaKeyEvents === void 0 ? void 0 : _state_metaKeyEvents.size)) {\n var _state_target;\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 = state.target) === null || _state_target === void 0 ? void 0 : _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 || !e.currentTarget.contains(e.target)) 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, $7mdmh$isVirtualPointerEvent)(e.nativeEvent)) {\n state.pointerType = 'virtual';\n return;\n }\n // Due to browser inconsistencies, especially on mobile browsers, we prevent\n // default on pointer down and handle focusing the pressable element ourselves.\n if ($f6c31cce2adf654f$var$shouldPreventDefaultDown(e.currentTarget)) e.preventDefault();\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 (!isDisabled && !preventFocusOnPress) (0, $7mdmh$focusWithoutScrolling)(e.currentTarget);\n if (!allowTextSelectionOnPress) (0, $14c0b72509d70225$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 = e.target;\n if ('releasePointerCapture' in target) target.releasePointerCapture(e.pointerId);\n addGlobalListener((0, $7mdmh$getOwnerDocument)(e.currentTarget), 'pointerup', onPointerUp, false);\n addGlobalListener((0, $7mdmh$getOwnerDocument)(e.currentTarget), 'pointercancel', onPointerCancel, false);\n }\n if (shouldStopPropagation) e.stopPropagation();\n };\n pressProps.onMouseDown = (e)=>{\n if (!e.currentTarget.contains(e.target)) return;\n if (e.button === 0) {\n // Chrome and Firefox on touch Windows devices require mouse down events\n // to be canceled in addition to pointer events, or an extra asynchronous\n // focus event will be fired.\n if ($f6c31cce2adf654f$var$shouldPreventDefaultDown(e.currentTarget)) e.preventDefault();\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 (!e.currentTarget.contains(e.target) || state.pointerType === 'virtual') return;\n // Only handle left clicks\n if (e.button === 0) triggerPressUp(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($f6c31cce2adf654f$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 triggerPressEnd($f6c31cce2adf654f$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 (state.target.contains(e.target) && state.pointerType != null) triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType);\n else if (state.isOverTarget && state.pointerType != null) triggerPressEnd($f6c31cce2adf654f$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, $14c0b72509d70225$export$b0d6fa1ab32e3295)(state.target);\n // Prevent subsequent touchend event from triggering onClick on unrelated elements on Android. See below.\n // Both 'touch' and 'pen' pointerTypes trigger onTouchEnd, but 'mouse' does not.\n if ('ontouchend' in state.target && e.pointerType !== 'mouse') addGlobalListener(state.target, 'touchend', onTouchEnd, {\n once: true\n });\n }\n };\n // This is a workaround for an Android Chrome/Firefox issue where click events are fired on an incorrect element\n // if the original target is removed during onPointerUp (before onClick).\n // https://github.com/adobe/react-spectrum/issues/1513\n // https://issues.chromium.org/issues/40732224\n // Note: this event must be registered directly on the element, not via React props in order to work.\n // https://github.com/facebook/react/issues/9809\n let onTouchEnd = (e)=>{\n // Don't preventDefault if we actually want the default (e.g. submit/link click).\n if ($f6c31cce2adf654f$var$shouldPreventDefaultUp(e.currentTarget)) e.preventDefault();\n };\n let onPointerCancel = (e)=>{\n cancel(e);\n };\n pressProps.onDragStart = (e)=>{\n if (!e.currentTarget.contains(e.target)) return;\n // Safari does not call onPointerCancel when a drag starts, whereas Chrome and Firefox do.\n cancel(e);\n };\n } else {\n pressProps.onMouseDown = (e)=>{\n // Only handle left clicks\n if (e.button !== 0 || !e.currentTarget.contains(e.target)) return;\n // Due to browser inconsistencies, especially on mobile browsers, we prevent\n // default on mouse down and handle focusing the pressable element ourselves.\n if ($f6c31cce2adf654f$var$shouldPreventDefaultDown(e.currentTarget)) e.preventDefault();\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, $7mdmh$isVirtualClick)(e.nativeEvent) ? 'virtual' : 'mouse';\n if (!isDisabled && !preventFocusOnPress) (0, $7mdmh$focusWithoutScrolling)(e.currentTarget);\n let shouldStopPropagation = triggerPressStart(e, state.pointerType);\n if (shouldStopPropagation) e.stopPropagation();\n addGlobalListener((0, $7mdmh$getOwnerDocument)(e.currentTarget), 'mouseup', onMouseUp, false);\n };\n pressProps.onMouseEnter = (e)=>{\n if (!e.currentTarget.contains(e.target)) 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 (!e.currentTarget.contains(e.target)) return;\n let shouldStopPropagation = true;\n if (state.isPressed && !state.ignoreEmulatedMouseEvents && state.pointerType != null) {\n state.isOverTarget = false;\n shouldStopPropagation = triggerPressEnd(e, state.pointerType, false);\n cancelOnPointerExit(e);\n }\n if (shouldStopPropagation) e.stopPropagation();\n };\n pressProps.onMouseUp = (e)=>{\n if (!e.currentTarget.contains(e.target)) return;\n if (!state.ignoreEmulatedMouseEvents && e.button === 0) triggerPressUp(e, state.pointerType || 'mouse');\n };\n let onMouseUp = (e)=>{\n // Only handle left clicks\n if (e.button !== 0) return;\n state.isPressed = false;\n removeAllGlobalListeners();\n if (state.ignoreEmulatedMouseEvents) {\n state.ignoreEmulatedMouseEvents = false;\n return;\n }\n if (state.target && $f6c31cce2adf654f$var$isOverTarget(e, state.target) && state.pointerType != null) triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType);\n else if (state.target && state.isOverTarget && state.pointerType != null) triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType, false);\n state.isOverTarget = false;\n };\n pressProps.onTouchStart = (e)=>{\n if (!e.currentTarget.contains(e.target)) return;\n let touch = $f6c31cce2adf654f$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 // Due to browser inconsistencies, especially on mobile browsers, we prevent default\n // on the emulated mouse event and handle focusing the pressable element ourselves.\n if (!isDisabled && !preventFocusOnPress) (0, $7mdmh$focusWithoutScrolling)(e.currentTarget);\n if (!allowTextSelectionOnPress) (0, $14c0b72509d70225$export$16a4697467175487)(state.target);\n let shouldStopPropagation = triggerPressStart($f6c31cce2adf654f$var$createTouchEvent(state.target, e), state.pointerType);\n if (shouldStopPropagation) e.stopPropagation();\n addGlobalListener((0, $7mdmh$getOwnerWindow)(e.currentTarget), 'scroll', onScroll, true);\n };\n pressProps.onTouchMove = (e)=>{\n if (!e.currentTarget.contains(e.target)) return;\n if (!state.isPressed) {\n e.stopPropagation();\n return;\n }\n let touch = $f6c31cce2adf654f$var$getTouchById(e.nativeEvent, state.activePointerId);\n let shouldStopPropagation = true;\n if (touch && $f6c31cce2adf654f$var$isOverTarget(touch, e.currentTarget)) {\n if (!state.isOverTarget && state.pointerType != null) {\n state.isOverTarget = true;\n shouldStopPropagation = triggerPressStart($f6c31cce2adf654f$var$createTouchEvent(state.target, e), state.pointerType);\n }\n } else if (state.isOverTarget && state.pointerType != null) {\n state.isOverTarget = false;\n shouldStopPropagation = triggerPressEnd($f6c31cce2adf654f$var$createTouchEvent(state.target, e), state.pointerType, false);\n cancelOnPointerExit($f6c31cce2adf654f$var$createTouchEvent(state.target, e));\n }\n if (shouldStopPropagation) e.stopPropagation();\n };\n pressProps.onTouchEnd = (e)=>{\n if (!e.currentTarget.contains(e.target)) return;\n if (!state.isPressed) {\n e.stopPropagation();\n return;\n }\n let touch = $f6c31cce2adf654f$var$getTouchById(e.nativeEvent, state.activePointerId);\n let shouldStopPropagation = true;\n if (touch && $f6c31cce2adf654f$var$isOverTarget(touch, e.currentTarget) && state.pointerType != null) {\n triggerPressUp($f6c31cce2adf654f$var$createTouchEvent(state.target, e), state.pointerType);\n shouldStopPropagation = triggerPressEnd($f6c31cce2adf654f$var$createTouchEvent(state.target, e), state.pointerType);\n } else if (state.isOverTarget && state.pointerType != null) shouldStopPropagation = triggerPressEnd($f6c31cce2adf654f$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, $14c0b72509d70225$export$b0d6fa1ab32e3295)(state.target);\n removeAllGlobalListeners();\n };\n pressProps.onTouchCancel = (e)=>{\n if (!e.currentTarget.contains(e.target)) return;\n e.stopPropagation();\n if (state.isPressed) cancel($f6c31cce2adf654f$var$createTouchEvent(state.target, e));\n };\n let onScroll = (e)=>{\n if (state.isPressed && e.target.contains(state.target)) cancel({\n currentTarget: state.target,\n shiftKey: false,\n ctrlKey: false,\n metaKey: false,\n altKey: false\n });\n };\n pressProps.onDragStart = (e)=>{\n if (!e.currentTarget.contains(e.target)) return;\n cancel(e);\n };\n }\n return pressProps;\n }, [\n addGlobalListener,\n isDisabled,\n preventFocusOnPress,\n removeAllGlobalListeners,\n allowTextSelectionOnPress,\n cancel,\n cancelOnPointerExit,\n triggerPressEnd,\n triggerPressStart,\n triggerPressUp\n ]);\n // Remove user-select: none in case component unmounts immediately after pressStart\n (0, $7mdmh$useEffect)(()=>{\n return ()=>{\n var _ref_current_target;\n if (!allowTextSelectionOnPress) // eslint-disable-next-line react-hooks/exhaustive-deps\n (0, $14c0b72509d70225$export$b0d6fa1ab32e3295)((_ref_current_target = ref.current.target) !== null && _ref_current_target !== void 0 ? _ref_current_target : undefined);\n };\n }, [\n allowTextSelectionOnPress\n ]);\n return {\n isPressed: isPressedProp || isPressed,\n pressProps: (0, $7mdmh$mergeProps)(domProps, pressProps)\n };\n}\nfunction $f6c31cce2adf654f$var$isHTMLAnchorLink(target) {\n return target.tagName === 'A' && target.hasAttribute('href');\n}\nfunction $f6c31cce2adf654f$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, $7mdmh$getOwnerWindow)(element).HTMLInputElement && !$f6c31cce2adf654f$var$isValidInputKey(element, key) || element instanceof (0, $7mdmh$getOwnerWindow)(element).HTMLTextAreaElement || element.isContentEditable) && // Links should only trigger with Enter key\n !((role === 'link' || !role && $f6c31cce2adf654f$var$isHTMLAnchorLink(element)) && key !== 'Enter');\n}\nfunction $f6c31cce2adf654f$var$getTouchFromEvent(event) {\n const { targetTouches: targetTouches } = event;\n if (targetTouches.length > 0) return targetTouches[0];\n return null;\n}\nfunction $f6c31cce2adf654f$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 $f6c31cce2adf654f$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 $f6c31cce2adf654f$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 };\n}\nfunction $f6c31cce2adf654f$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 $f6c31cce2adf654f$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 $f6c31cce2adf654f$var$isOverTarget(point, target) {\n let rect = target.getBoundingClientRect();\n let pointRect = $f6c31cce2adf654f$var$getPointClientRect(point);\n return $f6c31cce2adf654f$var$areRectanglesOverlapping(rect, pointRect);\n}\nfunction $f6c31cce2adf654f$var$shouldPreventDefaultDown(target) {\n // We cannot prevent default if the target is a draggable element.\n return !(target instanceof HTMLElement) || !target.hasAttribute('draggable');\n}\nfunction $f6c31cce2adf654f$var$shouldPreventDefaultUp(target) {\n if (target instanceof HTMLInputElement) return false;\n if (target instanceof HTMLButtonElement) return target.type !== 'submit' && target.type !== 'reset';\n if ($f6c31cce2adf654f$var$isHTMLAnchorLink(target)) return false;\n return true;\n}\nfunction $f6c31cce2adf654f$var$shouldPreventDefaultKeyboard(target, key) {\n if (target instanceof HTMLInputElement) return !$f6c31cce2adf654f$var$isValidInputKey(target, key);\n return $f6c31cce2adf654f$var$shouldPreventDefaultUp(target);\n}\nconst $f6c31cce2adf654f$var$nonTextInputTypes = new Set([\n 'checkbox',\n 'radio',\n 'range',\n 'color',\n 'file',\n 'image',\n 'button',\n 'submit',\n 'reset'\n]);\nfunction $f6c31cce2adf654f$var$isValidInputKey(target, key) {\n // Only space should toggle checkboxes and radios, not enter.\n return target.type === 'checkbox' || target.type === 'radio' ? key === ' ' : $f6c31cce2adf654f$var$nonTextInputTypes.has(target.type);\n}\n\n\nexport {$f6c31cce2adf654f$export$45712eceda6fad21 as usePress};\n//# sourceMappingURL=usePress.module.js.map\n","import {PressResponderContext as $ae1eeba8b9eafd08$export$5165eccb35aaadb5} from \"./context.mjs\";\nimport {useObjectRef as $87RPk$useObjectRef, mergeProps as $87RPk$mergeProps, useSyncRef as $87RPk$useSyncRef} from \"@react-aria/utils\";\nimport $87RPk$react, {useRef as $87RPk$useRef, useContext as $87RPk$useContext, useEffect as $87RPk$useEffect, useMemo as $87RPk$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 $f1ab8c75478c6f73$export$3351871ee4b288b8 = /*#__PURE__*/ (0, $87RPk$react).forwardRef(({ children: children, ...props }, ref)=>{\n let isRegistered = (0, $87RPk$useRef)(false);\n let prevContext = (0, $87RPk$useContext)((0, $ae1eeba8b9eafd08$export$5165eccb35aaadb5));\n ref = (0, $87RPk$useObjectRef)(ref || (prevContext === null || prevContext === void 0 ? void 0 : prevContext.ref));\n let context = (0, $87RPk$mergeProps)(prevContext || {}, {\n ...props,\n ref: ref,\n register () {\n isRegistered.current = true;\n if (prevContext) prevContext.register();\n }\n });\n (0, $87RPk$useSyncRef)(prevContext, ref);\n (0, $87RPk$useEffect)(()=>{\n if (!isRegistered.current) {\n console.warn(\"A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with <Pressable> component.\");\n isRegistered.current = true; // only warn once in strict mode.\n }\n }, []);\n return /*#__PURE__*/ (0, $87RPk$react).createElement((0, $ae1eeba8b9eafd08$export$5165eccb35aaadb5).Provider, {\n value: context\n }, children);\n});\nfunction $f1ab8c75478c6f73$export$cf75428e0b9ed1ea({ children: children }) {\n let context = (0, $87RPk$useMemo)(()=>({\n register: ()=>{}\n }), []);\n return /*#__PURE__*/ (0, $87RPk$react).createElement((0, $ae1eeba8b9eafd08$export$5165eccb35aaadb5).Provider, {\n value: context\n }, children);\n}\n\n\nexport {$f1ab8c75478c6f73$export$3351871ee4b288b8 as PressResponder, $f1ab8c75478c6f73$export$cf75428e0b9ed1ea as ClearPressResponder};\n//# sourceMappingURL=PressResponder.module.js.map\n","import {useRef as $6dfIe$useRef, useCallback as $6dfIe$useCallback} from \"react\";\nimport {useLayoutEffect as $6dfIe$useLayoutEffect, useEffectEvent as $6dfIe$useEffectEvent} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nclass $8a9cb279dc87e130$export$905e7fc544a71f36 {\n isDefaultPrevented() {\n return this.nativeEvent.defaultPrevented;\n }\n preventDefault() {\n this.defaultPrevented = true;\n this.nativeEvent.preventDefault();\n }\n stopPropagation() {\n this.nativeEvent.stopPropagation();\n this.isPropagationStopped = ()=>true;\n }\n isPropagationStopped() {\n return false;\n }\n persist() {}\n constructor(type, nativeEvent){\n this.nativeEvent = nativeEvent;\n this.target = nativeEvent.target;\n this.currentTarget = nativeEvent.currentTarget;\n this.relatedTarget = nativeEvent.relatedTarget;\n this.bubbles = nativeEvent.bubbles;\n this.cancelable = nativeEvent.cancelable;\n this.defaultPrevented = nativeEvent.defaultPrevented;\n this.eventPhase = nativeEvent.eventPhase;\n this.isTrusted = nativeEvent.isTrusted;\n this.timeStamp = nativeEvent.timeStamp;\n this.type = type;\n }\n}\nfunction $8a9cb279dc87e130$export$715c682d09d639cc(onBlur) {\n let stateRef = (0, $6dfIe$useRef)({\n isFocused: false,\n observer: null\n });\n // Clean up MutationObserver on unmount. See below.\n (0, $6dfIe$useLayoutEffect)(()=>{\n const state = stateRef.current;\n return ()=>{\n if (state.observer) {\n state.observer.disconnect();\n state.observer = null;\n }\n };\n }, []);\n let dispatchBlur = (0, $6dfIe$useEffectEvent)((e)=>{\n onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);\n });\n // This function is called during a React onFocus event.\n return (0, $6dfIe$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 if (e.target instanceof HTMLButtonElement || e.target instanceof HTMLInputElement || e.target instanceof HTMLTextAreaElement || e.target instanceof HTMLSelectElement) {\n stateRef.current.isFocused = true;\n let target = e.target;\n let onBlurHandler = (e)=>{\n stateRef.current.isFocused = false;\n if (target.disabled) // For backward compatibility, dispatch a (fake) React synthetic event.\n dispatchBlur(new $8a9cb279dc87e130$export$905e7fc544a71f36('blur', e));\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 var _stateRef_current_observer;\n (_stateRef_current_observer = stateRef.current.observer) === null || _stateRef_current_observer === void 0 ? void 0 : _stateRef_current_observer.disconnect();\n let relatedTargetEl = target === document.activeElement ? null : document.activeElement;\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 dispatchBlur\n ]);\n}\n\n\nexport {$8a9cb279dc87e130$export$905e7fc544a71f36 as SyntheticFocusEvent, $8a9cb279dc87e130$export$715c682d09d639cc as useSyntheticBlurEvent};\n//# sourceMappingURL=utils.module.js.map\n","import {useSyntheticBlurEvent as $8a9cb279dc87e130$export$715c682d09d639cc} from \"./utils.mjs\";\nimport {useCallback as $hf0lj$useCallback} from \"react\";\nimport {getOwnerDocument as $hf0lj$getOwnerDocument} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // 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\nfunction $a1ea59d68270f0dd$export$f8168d8dd8fd66e6(props) {\n let { isDisabled: isDisabled, onFocus: onFocusProp, onBlur: onBlurProp, onFocusChange: onFocusChange } = props;\n const onBlur = (0, $hf0lj$useCallback)((e)=>{\n if (e.target === 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, $8a9cb279dc87e130$export$715c682d09d639cc)(onBlur);\n const onFocus = (0, $hf0lj$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 const ownerDocument = (0, $hf0lj$getOwnerDocument)(e.target);\n if (e.target === e.currentTarget && ownerDocument.activeElement === e.target) {\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 {$a1ea59d68270f0dd$export$f8168d8dd8fd66e6 as useFocus};\n//# sourceMappingURL=useFocus.module.js.map\n","import {isMac as $28AnR$isMac, isVirtualClick as $28AnR$isVirtualClick, getOwnerWindow as $28AnR$getOwnerWindow, getOwnerDocument as $28AnR$getOwnerDocument} from \"@react-aria/utils\";\nimport {useState as $28AnR$useState, useEffect as $28AnR$useEffect} from \"react\";\nimport {useIsSSR as $28AnR$useIsSSR} from \"@react-aria/ssr\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // 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\nlet $507fabe10e71c6fb$var$currentModality = null;\nlet $507fabe10e71c6fb$var$changeHandlers = new Set();\nlet $507fabe10e71c6fb$export$d90243b58daecda7 = new Map(); // We use a map here to support setting event listeners across multiple document objects.\nlet $507fabe10e71c6fb$var$hasEventBeforeFocus = false;\nlet $507fabe10e71c6fb$var$hasBlurredWindowRecently = false;\n// Only Tab or Esc keys will make focus visible on text input elements\nconst $507fabe10e71c6fb$var$FOCUS_VISIBLE_INPUT_KEYS = {\n Tab: true,\n Escape: true\n};\nfunction $507fabe10e71c6fb$var$triggerChangeHandlers(modality, e) {\n for (let handler of $507fabe10e71c6fb$var$changeHandlers)handler(modality, e);\n}\n/**\n * Helper function to determine if a KeyboardEvent is unmodified and could make keyboard focus styles visible.\n */ function $507fabe10e71c6fb$var$isValidKey(e) {\n // Control and Shift keys trigger when navigating back to the tab with keyboard.\n return !(e.metaKey || !(0, $28AnR$isMac)() && e.altKey || e.ctrlKey || e.key === 'Control' || e.key === 'Shift' || e.key === 'Meta');\n}\nfunction $507fabe10e71c6fb$var$handleKeyboardEvent(e) {\n $507fabe10e71c6fb$var$hasEventBeforeFocus = true;\n if ($507fabe10e71c6fb$var$isValidKey(e)) {\n $507fabe10e71c6fb$var$currentModality = 'keyboard';\n $507fabe10e71c6fb$var$triggerChangeHandlers('keyboard', e);\n }\n}\nfunction $507fabe10e71c6fb$var$handlePointerEvent(e) {\n $507fabe10e71c6fb$var$currentModality = 'pointer';\n if (e.type === 'mousedown' || e.type === 'pointerdown') {\n $507fabe10e71c6fb$var$hasEventBeforeFocus = true;\n $507fabe10e71c6fb$var$triggerChangeHandlers('pointer', e);\n }\n}\nfunction $507fabe10e71c6fb$var$handleClickEvent(e) {\n if ((0, $28AnR$isVirtualClick)(e)) {\n $507fabe10e71c6fb$var$hasEventBeforeFocus = true;\n $507fabe10e71c6fb$var$currentModality = 'virtual';\n }\n}\nfunction $507fabe10e71c6fb$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 if (e.target === window || e.target === document) 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 (!$507fabe10e71c6fb$var$hasEventBeforeFocus && !$507fabe10e71c6fb$var$hasBlurredWindowRecently) {\n $507fabe10e71c6fb$var$currentModality = 'virtual';\n $507fabe10e71c6fb$var$triggerChangeHandlers('virtual', e);\n }\n $507fabe10e71c6fb$var$hasEventBeforeFocus = false;\n $507fabe10e71c6fb$var$hasBlurredWindowRecently = false;\n}\nfunction $507fabe10e71c6fb$var$handleWindowBlur() {\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 $507fabe10e71c6fb$var$hasEventBeforeFocus = false;\n $507fabe10e71c6fb$var$hasBlurredWindowRecently = true;\n}\n/**\n * Setup global event listeners to control when keyboard focus style should be visible.\n */ function $507fabe10e71c6fb$var$setupGlobalFocusEvents(element) {\n if (typeof window === 'undefined' || $507fabe10e71c6fb$export$d90243b58daecda7.get((0, $28AnR$getOwnerWindow)(element))) return;\n const windowObject = (0, $28AnR$getOwnerWindow)(element);\n const documentObject = (0, $28AnR$getOwnerDocument)(element);\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 $507fabe10e71c6fb$var$hasEventBeforeFocus = true;\n focus.apply(this, arguments);\n };\n documentObject.addEventListener('keydown', $507fabe10e71c6fb$var$handleKeyboardEvent, true);\n documentObject.addEventListener('keyup', $507fabe10e71c6fb$var$handleKeyboardEvent, true);\n documentObject.addEventListener('click', $507fabe10e71c6fb$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', $507fabe10e71c6fb$var$handleFocusEvent, true);\n windowObject.addEventListener('blur', $507fabe10e71c6fb$var$handleWindowBlur, false);\n if (typeof PointerEvent !== 'undefined') {\n documentObject.addEventListener('pointerdown', $507fabe10e71c6fb$var$handlePointerEvent, true);\n documentObject.addEventListener('pointermove', $507fabe10e71c6fb$var$handlePointerEvent, true);\n documentObject.addEventListener('pointerup', $507fabe10e71c6fb$var$handlePointerEvent, true);\n } else {\n documentObject.addEventListener('mousedown', $507fabe10e71c6fb$var$handlePointerEvent, true);\n documentObject.addEventListener('mousemove', $507fabe10e71c6fb$var$handlePointerEvent, true);\n documentObject.addEventListener('mouseup', $507fabe10e71c6fb$var$handlePointerEvent, true);\n }\n // Add unmount handler\n windowObject.addEventListener('beforeunload', ()=>{\n $507fabe10e71c6fb$var$tearDownWindowFocusTracking(element);\n }, {\n once: true\n });\n $507fabe10e71c6fb$export$d90243b58daecda7.set(windowObject, {\n focus: focus\n });\n}\nconst $507fabe10e71c6fb$var$tearDownWindowFocusTracking = (element, loadListener)=>{\n const windowObject = (0, $28AnR$getOwnerWindow)(element);\n const documentObject = (0, $28AnR$getOwnerDocument)(element);\n if (loadListener) documentObject.removeEventListener('DOMContentLoaded', loadListener);\n if (!$507fabe10e71c6fb$export$d90243b58daecda7.has(windowObject)) return;\n windowObject.HTMLElement.prototype.focus = $507fabe10e71c6fb$export$d90243b58daecda7.get(windowObject).focus;\n documentObject.removeEventListener('keydown', $507fabe10e71c6fb$var$handleKeyboardEvent, true);\n documentObject.removeEventListener('keyup', $507fabe10e71c6fb$var$handleKeyboardEvent, true);\n documentObject.removeEventListener('click', $507fabe10e71c6fb$var$handleClickEvent, true);\n windowObject.removeEventListener('focus', $507fabe10e71c6fb$var$handleFocusEvent, true);\n windowObject.removeEventListener('blur', $507fabe10e71c6fb$var$handleWindowBlur, false);\n if (typeof PointerEvent !== 'undefined') {\n documentObject.removeEventListener('pointerdown', $507fabe10e71c6fb$var$handlePointerEvent, true);\n documentObject.removeEventListener('pointermove', $507fabe10e71c6fb$var$handlePointerEvent, true);\n documentObject.removeEventListener('pointerup', $507fabe10e71c6fb$var$handlePointerEvent, true);\n } else {\n documentObject.removeEventListener('mousedown', $507fabe10e71c6fb$var$handlePointerEvent, true);\n documentObject.removeEventListener('mousemove', $507fabe10e71c6fb$var$handlePointerEvent, true);\n documentObject.removeEventListener('mouseup', $507fabe10e71c6fb$var$handlePointerEvent, true);\n }\n $507fabe10e71c6fb$export$d90243b58daecda7.delete(windowObject);\n};\nfunction $507fabe10e71c6fb$export$2f1888112f558a7d(element) {\n const documentObject = (0, $28AnR$getOwnerDocument)(element);\n let loadListener;\n if (documentObject.readyState !== 'loading') $507fabe10e71c6fb$var$setupGlobalFocusEvents(element);\n else {\n loadListener = ()=>{\n $507fabe10e71c6fb$var$setupGlobalFocusEvents(element);\n };\n documentObject.addEventListener('DOMContentLoaded', loadListener);\n }\n return ()=>$507fabe10e71c6fb$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') $507fabe10e71c6fb$export$2f1888112f558a7d();\nfunction $507fabe10e71c6fb$export$b9b3dfddab17db27() {\n return $507fabe10e71c6fb$var$currentModality !== 'pointer';\n}\nfunction $507fabe10e71c6fb$export$630ff653c5ada6a9() {\n return $507fabe10e71c6fb$var$currentModality;\n}\nfunction $507fabe10e71c6fb$export$8397ddfc504fdb9a(modality) {\n $507fabe10e71c6fb$var$currentModality = modality;\n $507fabe10e71c6fb$var$triggerChangeHandlers(modality, null);\n}\nfunction $507fabe10e71c6fb$export$98e20ec92f614cfe() {\n $507fabe10e71c6fb$var$setupGlobalFocusEvents();\n let [modality, setModality] = (0, $28AnR$useState)($507fabe10e71c6fb$var$currentModality);\n (0, $28AnR$useEffect)(()=>{\n let handler = ()=>{\n setModality($507fabe10e71c6fb$var$currentModality);\n };\n $507fabe10e71c6fb$var$changeHandlers.add(handler);\n return ()=>{\n $507fabe10e71c6fb$var$changeHandlers.delete(handler);\n };\n }, []);\n return (0, $28AnR$useIsSSR)() ? null : modality;\n}\nconst $507fabe10e71c6fb$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 $507fabe10e71c6fb$var$isKeyboardFocusEvent(isTextInput, modality, e) {\n var _e_target;\n const IHTMLInputElement = typeof window !== 'undefined' ? (0, $28AnR$getOwnerWindow)(e === null || e === void 0 ? void 0 : e.target).HTMLInputElement : HTMLInputElement;\n const IHTMLTextAreaElement = typeof window !== 'undefined' ? (0, $28AnR$getOwnerWindow)(e === null || e === void 0 ? void 0 : e.target).HTMLTextAreaElement : HTMLTextAreaElement;\n const IHTMLElement = typeof window !== 'undefined' ? (0, $28AnR$getOwnerWindow)(e === null || e === void 0 ? void 0 : e.target).HTMLElement : HTMLElement;\n const IKeyboardEvent = typeof window !== 'undefined' ? (0, $28AnR$getOwnerWindow)(e === null || e === void 0 ? void 0 : e.target).KeyboardEvent : KeyboardEvent;\n isTextInput = isTextInput || (e === null || e === void 0 ? void 0 : e.target) instanceof IHTMLInputElement && !$507fabe10e71c6fb$var$nonTextInputTypes.has(e === null || e === void 0 ? void 0 : (_e_target = e.target) === null || _e_target === void 0 ? void 0 : _e_target.type) || (e === null || e === void 0 ? void 0 : e.target) instanceof IHTMLTextAreaElement || (e === null || e === void 0 ? void 0 : e.target) instanceof IHTMLElement && (e === null || e === void 0 ? void 0 : e.target.isContentEditable);\n return !(isTextInput && modality === 'keyboard' && e instanceof IKeyboardEvent && !$507fabe10e71c6fb$var$FOCUS_VISIBLE_INPUT_KEYS[e.key]);\n}\nfunction $507fabe10e71c6fb$export$ffd9e5021c1fb2d6(props = {}) {\n let { isTextInput: isTextInput, autoFocus: autoFocus } = props;\n let [isFocusVisibleState, setFocusVisible] = (0, $28AnR$useState)(autoFocus || $507fabe10e71c6fb$export$b9b3dfddab17db27());\n $507fabe10e71c6fb$export$ec71b4b83ac08ec3((isFocusVisible)=>{\n setFocusVisible(isFocusVisible);\n }, [\n isTextInput\n ], {\n isTextInput: isTextInput\n });\n return {\n isFocusVisible: isFocusVisibleState\n };\n}\nfunction $507fabe10e71c6fb$export$ec71b4b83ac08ec3(fn, deps, opts) {\n $507fabe10e71c6fb$var$setupGlobalFocusEvents();\n (0, $28AnR$useEffect)(()=>{\n let handler = (modality, e)=>{\n if (!$507fabe10e71c6fb$var$isKeyboardFocusEvent(!!(opts === null || opts === void 0 ? void 0 : opts.isTextInput), modality, e)) return;\n fn($507fabe10e71c6fb$export$b9b3dfddab17db27());\n };\n $507fabe10e71c6fb$var$changeHandlers.add(handler);\n return ()=>{\n $507fabe10e71c6fb$var$changeHandlers.delete(handler);\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, deps);\n}\n\n\nexport {$507fabe10e71c6fb$export$d90243b58daecda7 as hasSetupGlobalListeners, $507fabe10e71c6fb$export$2f1888112f558a7d as addWindowFocusTracking, $507fabe10e71c6fb$export$b9b3dfddab17db27 as isFocusVisible, $507fabe10e71c6fb$export$630ff653c5ada6a9 as getInteractionModality, $507fabe10e71c6fb$export$8397ddfc504fdb9a as setInteractionModality, $507fabe10e71c6fb$export$98e20ec92f614cfe as useInteractionModality, $507fabe10e71c6fb$export$ffd9e5021c1fb2d6 as useFocusVisible, $507fabe10e71c6fb$export$ec71b4b83ac08ec3 as useFocusVisibleListener};\n//# sourceMappingURL=useFocusVisible.module.js.map\n","import {useSyntheticBlurEvent as $8a9cb279dc87e130$export$715c682d09d639cc} from \"./utils.mjs\";\nimport {useRef as $3b9Q0$useRef, useCallback as $3b9Q0$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\nfunction $9ab94262bd0047c7$export$420e68273165f4ec(props) {\n let { isDisabled: isDisabled, onBlurWithin: onBlurWithin, onFocusWithin: onFocusWithin, onFocusWithinChange: onFocusWithinChange } = props;\n let state = (0, $3b9Q0$useRef)({\n isFocusWithin: false\n });\n let onBlur = (0, $3b9Q0$useCallback)((e)=>{\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 && !e.currentTarget.contains(e.relatedTarget)) {\n state.current.isFocusWithin = false;\n if (onBlurWithin) onBlurWithin(e);\n if (onFocusWithinChange) onFocusWithinChange(false);\n }\n }, [\n onBlurWithin,\n onFocusWithinChange,\n state\n ]);\n let onSyntheticFocus = (0, $8a9cb279dc87e130$export$715c682d09d639cc)(onBlur);\n let onFocus = (0, $3b9Q0$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 if (!state.current.isFocusWithin && document.activeElement === e.target) {\n if (onFocusWithin) onFocusWithin(e);\n if (onFocusWithinChange) onFocusWithinChange(true);\n state.current.isFocusWithin = true;\n onSyntheticFocus(e);\n }\n }, [\n onFocusWithin,\n onFocusWithinChange,\n onSyntheticFocus\n ]);\n if (isDisabled) return {\n focusWithinProps: {\n // These should not have been 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 {$9ab94262bd0047c7$export$420e68273165f4ec as useFocusWithin};\n//# sourceMappingURL=useFocusWithin.module.js.map\n","import {useState as $AWxnT$useState, useRef as $AWxnT$useRef, useEffect as $AWxnT$useEffect, useMemo as $AWxnT$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// 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 $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;\nlet $6179b936705e76d3$var$hoverCount = 0;\nfunction $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents() {\n $6179b936705e76d3$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 $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;\n }, 50);\n}\nfunction $6179b936705e76d3$var$handleGlobalPointerEvent(e) {\n if (e.pointerType === 'touch') $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents();\n}\nfunction $6179b936705e76d3$var$setupGlobalTouchEvents() {\n if (typeof document === 'undefined') return;\n if (typeof PointerEvent !== 'undefined') document.addEventListener('pointerup', $6179b936705e76d3$var$handleGlobalPointerEvent);\n else document.addEventListener('touchend', $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents);\n $6179b936705e76d3$var$hoverCount++;\n return ()=>{\n $6179b936705e76d3$var$hoverCount--;\n if ($6179b936705e76d3$var$hoverCount > 0) return;\n if (typeof PointerEvent !== 'undefined') document.removeEventListener('pointerup', $6179b936705e76d3$var$handleGlobalPointerEvent);\n else document.removeEventListener('touchend', $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents);\n };\n}\nfunction $6179b936705e76d3$export$ae780daf29e6d456(props) {\n let { onHoverStart: onHoverStart, onHoverChange: onHoverChange, onHoverEnd: onHoverEnd, isDisabled: isDisabled } = props;\n let [isHovered, setHovered] = (0, $AWxnT$useState)(false);\n let state = (0, $AWxnT$useRef)({\n isHovered: false,\n ignoreEmulatedMouseEvents: false,\n pointerType: '',\n target: null\n }).current;\n (0, $AWxnT$useEffect)($6179b936705e76d3$var$setupGlobalTouchEvents, []);\n let { hoverProps: hoverProps, triggerHoverEnd: triggerHoverEnd } = (0, $AWxnT$useMemo)(()=>{\n let triggerHoverStart = (event, pointerType)=>{\n state.pointerType = pointerType;\n if (isDisabled || pointerType === 'touch' || state.isHovered || !event.currentTarget.contains(event.target)) return;\n state.isHovered = true;\n let target = event.currentTarget;\n state.target = target;\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 state.pointerType = '';\n state.target = null;\n if (pointerType === 'touch' || !state.isHovered) return;\n state.isHovered = false;\n let target = event.currentTarget;\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 ($6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents && e.pointerType === 'mouse') return;\n triggerHoverStart(e, e.pointerType);\n };\n hoverProps.onPointerLeave = (e)=>{\n if (!isDisabled && e.currentTarget.contains(e.target)) triggerHoverEnd(e, e.pointerType);\n };\n } else {\n hoverProps.onTouchStart = ()=>{\n state.ignoreEmulatedMouseEvents = true;\n };\n hoverProps.onMouseEnter = (e)=>{\n if (!state.ignoreEmulatedMouseEvents && !$6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents) triggerHoverStart(e, 'mouse');\n state.ignoreEmulatedMouseEvents = false;\n };\n hoverProps.onMouseLeave = (e)=>{\n if (!isDisabled && e.currentTarget.contains(e.target)) 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 ]);\n (0, $AWxnT$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 {$6179b936705e76d3$export$ae780daf29e6d456 as useHover};\n//# sourceMappingURL=useHover.module.js.map\n","import {useEffectEvent as $ispOf$useEffectEvent, getOwnerDocument as $ispOf$getOwnerDocument} from \"@react-aria/utils\";\nimport {useRef as $ispOf$useRef, useEffect as $ispOf$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\nfunction $e0b6e0b68ec7f50f$export$872b660ac5a1ff98(props) {\n let { ref: ref, onInteractOutside: onInteractOutside, isDisabled: isDisabled, onInteractOutsideStart: onInteractOutsideStart } = props;\n let stateRef = (0, $ispOf$useRef)({\n isPointerDown: false,\n ignoreEmulatedMouseEvents: false\n });\n let onPointerDown = (0, $ispOf$useEffectEvent)((e)=>{\n if (onInteractOutside && $e0b6e0b68ec7f50f$var$isValidEvent(e, ref)) {\n if (onInteractOutsideStart) onInteractOutsideStart(e);\n stateRef.current.isPointerDown = true;\n }\n });\n let triggerInteractOutside = (0, $ispOf$useEffectEvent)((e)=>{\n if (onInteractOutside) onInteractOutside(e);\n });\n (0, $ispOf$useEffect)(()=>{\n let state = stateRef.current;\n if (isDisabled) return;\n const element = ref.current;\n const documentObject = (0, $ispOf$getOwnerDocument)(element);\n // Use pointer events if available. Otherwise, fall back to mouse and touch events.\n if (typeof PointerEvent !== 'undefined') {\n let onPointerUp = (e)=>{\n if (state.isPointerDown && $e0b6e0b68ec7f50f$var$isValidEvent(e, ref)) triggerInteractOutside(e);\n state.isPointerDown = false;\n };\n // changing these to capture phase fixed combobox\n documentObject.addEventListener('pointerdown', onPointerDown, true);\n documentObject.addEventListener('pointerup', onPointerUp, true);\n return ()=>{\n documentObject.removeEventListener('pointerdown', onPointerDown, true);\n documentObject.removeEventListener('pointerup', onPointerUp, true);\n };\n } else {\n let onMouseUp = (e)=>{\n if (state.ignoreEmulatedMouseEvents) state.ignoreEmulatedMouseEvents = false;\n else if (state.isPointerDown && $e0b6e0b68ec7f50f$var$isValidEvent(e, ref)) triggerInteractOutside(e);\n state.isPointerDown = false;\n };\n let onTouchEnd = (e)=>{\n state.ignoreEmulatedMouseEvents = true;\n if (state.isPointerDown && $e0b6e0b68ec7f50f$var$isValidEvent(e, ref)) triggerInteractOutside(e);\n state.isPointerDown = false;\n };\n documentObject.addEventListener('mousedown', onPointerDown, true);\n documentObject.addEventListener('mouseup', onMouseUp, true);\n documentObject.addEventListener('touchstart', onPointerDown, true);\n documentObject.addEventListener('touchend', onTouchEnd, true);\n return ()=>{\n documentObject.removeEventListener('mousedown', onPointerDown, true);\n documentObject.removeEventListener('mouseup', onMouseUp, true);\n documentObject.removeEventListener('touchstart', onPointerDown, true);\n documentObject.removeEventListener('touchend', onTouchEnd, true);\n };\n }\n }, [\n ref,\n isDisabled,\n onPointerDown,\n triggerInteractOutside\n ]);\n}\nfunction $e0b6e0b68ec7f50f$var$isValidEvent(event, ref) {\n if (event.button > 0) return false;\n if (event.target) {\n // if the event target is no longer in the document, ignore\n const ownerDocument = event.target.ownerDocument;\n if (!ownerDocument || !ownerDocument.documentElement.contains(event.target)) return false;\n // If the target is within a top layer element (e.g. toasts), ignore.\n if (event.target.closest('[data-react-aria-top-layer]')) return false;\n }\n return ref.current && !ref.current.contains(event.target);\n}\n\n\nexport {$e0b6e0b68ec7f50f$export$872b660ac5a1ff98 as useInteractOutside};\n//# sourceMappingURL=useInteractOutside.module.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 */ function $93925083ecbb358c$export$48d1ea6320830260(handler) {\n if (!handler) return undefined;\n let shouldStopPropagation = true;\n return (e)=>{\n let event = {\n ...e,\n preventDefault () {\n e.preventDefault();\n },\n isDefaultPrevented () {\n return e.isDefaultPrevented();\n },\n stopPropagation () {\n if (shouldStopPropagation) console.error('stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.');\n else shouldStopPropagation = true;\n },\n continuePropagation () {\n shouldStopPropagation = false;\n },\n isPropagationStopped () {\n return shouldStopPropagation;\n }\n };\n handler(event);\n if (shouldStopPropagation) e.stopPropagation();\n };\n}\n\n\nexport {$93925083ecbb358c$export$48d1ea6320830260 as createEventHandler};\n//# sourceMappingURL=createEventHandler.module.js.map\n","import {createEventHandler as $93925083ecbb358c$export$48d1ea6320830260} from \"./createEventHandler.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 $46d819fcbaf35654$export$8f71654801c2f7cd(props) {\n return {\n keyboardProps: props.isDisabled ? {} : {\n onKeyDown: (0, $93925083ecbb358c$export$48d1ea6320830260)(props.onKeyDown),\n onKeyUp: (0, $93925083ecbb358c$export$48d1ea6320830260)(props.onKeyUp)\n }\n };\n}\n\n\nexport {$46d819fcbaf35654$export$8f71654801c2f7cd as useKeyboard};\n//# sourceMappingURL=useKeyboard.module.js.map\n","import {usePress as $f6c31cce2adf654f$export$45712eceda6fad21} from \"./usePress.mjs\";\nimport {useGlobalListeners as $4k2kv$useGlobalListeners, useDescription as $4k2kv$useDescription, mergeProps as $4k2kv$mergeProps} from \"@react-aria/utils\";\nimport {useRef as $4k2kv$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 */ \n\n\nconst $8a26561d2877236e$var$DEFAULT_THRESHOLD = 500;\nfunction $8a26561d2877236e$export$c24ed0104d07eab9(props) {\n let { isDisabled: isDisabled, onLongPressStart: onLongPressStart, onLongPressEnd: onLongPressEnd, onLongPress: onLongPress, threshold: threshold = $8a26561d2877236e$var$DEFAULT_THRESHOLD, accessibilityDescription: accessibilityDescription } = props;\n const timeRef = (0, $4k2kv$useRef)(undefined);\n let { addGlobalListener: addGlobalListener, removeGlobalListener: removeGlobalListener } = (0, $4k2kv$useGlobalListeners)();\n let { pressProps: pressProps } = (0, $f6c31cce2adf654f$export$45712eceda6fad21)({\n isDisabled: isDisabled,\n onPressStart (e) {\n e.continuePropagation();\n if (e.pointerType === 'mouse' || e.pointerType === 'touch') {\n if (onLongPressStart) onLongPressStart({\n ...e,\n type: 'longpressstart'\n });\n timeRef.current = setTimeout(()=>{\n // Prevent other usePress handlers from also handling this event.\n e.target.dispatchEvent(new PointerEvent('pointercancel', {\n bubbles: true\n }));\n if (onLongPress) onLongPress({\n ...e,\n type: 'longpress'\n });\n timeRef.current = undefined;\n }, threshold);\n // Prevent context menu, which may be opened on long press on touch devices\n if (e.pointerType === 'touch') {\n let onContextMenu = (e)=>{\n e.preventDefault();\n };\n addGlobalListener(e.target, 'contextmenu', onContextMenu, {\n once: true\n });\n addGlobalListener(window, 'pointerup', ()=>{\n // If no contextmenu event is fired quickly after pointerup, remove the handler\n // so future context menu events outside a long press are not prevented.\n setTimeout(()=>{\n removeGlobalListener(e.target, 'contextmenu', onContextMenu);\n }, 30);\n }, {\n once: true\n });\n }\n }\n },\n onPressEnd (e) {\n if (timeRef.current) clearTimeout(timeRef.current);\n if (onLongPressEnd && (e.pointerType === 'mouse' || e.pointerType === 'touch')) onLongPressEnd({\n ...e,\n type: 'longpressend'\n });\n }\n });\n let descriptionProps = (0, $4k2kv$useDescription)(onLongPress && !isDisabled ? accessibilityDescription : undefined);\n return {\n longPressProps: (0, $4k2kv$mergeProps)(pressProps, descriptionProps)\n };\n}\n\n\nexport {$8a26561d2877236e$export$c24ed0104d07eab9 as useLongPress};\n//# sourceMappingURL=useLongPress.module.js.map\n","import {getOwnerDocument as $jlOai$getOwnerDocument, runAfterTransition as $jlOai$runAfterTransition, focusWithoutScrolling as $jlOai$focusWithoutScrolling} from \"@react-aria/utils\";\nimport {getInteractionModality as $jlOai$getInteractionModality} from \"@react-aria/interactions\";\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 $6a99195332edec8b$export$80f3e147d781571c(element) {\n // If the user is interacting with a virtual cursor, e.g. screen reader, then\n // wait until after any animated transitions that are currently occurring on\n // the page before shifting focus. This avoids issues with VoiceOver on iOS\n // causing the page to scroll when moving focus if the element is transitioning\n // from off the screen.\n const ownerDocument = (0, $jlOai$getOwnerDocument)(element);\n if ((0, $jlOai$getInteractionModality)() === 'virtual') {\n let lastFocusedElement = ownerDocument.activeElement;\n (0, $jlOai$runAfterTransition)(()=>{\n // If focus did not move and the element is still in the document, focus it.\n if (ownerDocument.activeElement === lastFocusedElement && element.isConnected) (0, $jlOai$focusWithoutScrolling)(element);\n });\n } else (0, $jlOai$focusWithoutScrolling)(element);\n}\n\n\nexport {$6a99195332edec8b$export$80f3e147d781571c as focusSafely};\n//# sourceMappingURL=focusSafely.module.js.map\n","import {getOwnerWindow as $djhjW$getOwnerWindow} from \"@react-aria/utils\";\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 $645f2e67b85a24c9$var$isStyleVisible(element) {\n const windowObject = (0, $djhjW$getOwnerWindow)(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 $645f2e67b85a24c9$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 $645f2e67b85a24c9$export$e989c0fffaa6b27a(element, childElement) {\n return element.nodeName !== '#comment' && $645f2e67b85a24c9$var$isStyleVisible(element) && $645f2e67b85a24c9$var$isAttributeVisible(element, childElement) && (!element.parentElement || $645f2e67b85a24c9$export$e989c0fffaa6b27a(element.parentElement, element));\n}\n\n\nexport {$645f2e67b85a24c9$export$e989c0fffaa6b27a as isElementVisible};\n//# sourceMappingURL=isElementVisible.module.js.map\n","import {focusSafely as $6a99195332edec8b$export$80f3e147d781571c} from \"./focusSafely.mjs\";\nimport {isElementVisible as $645f2e67b85a24c9$export$e989c0fffaa6b27a} from \"./isElementVisible.mjs\";\nimport {getInteractionModality as $cgawC$getInteractionModality} from \"@react-aria/interactions\";\nimport {useLayoutEffect as $cgawC$useLayoutEffect, getOwnerDocument as $cgawC$getOwnerDocument, isAndroid as $cgawC$isAndroid, isChrome as $cgawC$isChrome} from \"@react-aria/utils\";\nimport $cgawC$react, {useRef as $cgawC$useRef, useContext as $cgawC$useContext, useMemo as $cgawC$useMemo, useEffect as $cgawC$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\n\nconst $9bf71ea28793e738$var$FocusContext = /*#__PURE__*/ (0, $cgawC$react).createContext(null);\nconst $9bf71ea28793e738$var$RESTORE_FOCUS_EVENT = 'react-aria-focus-scope-restore';\nlet $9bf71ea28793e738$var$activeScope = null;\nfunction $9bf71ea28793e738$export$20e40289641fbbb6(props) {\n let { children: children, contain: contain, restoreFocus: restoreFocus, autoFocus: autoFocus } = props;\n let startRef = (0, $cgawC$useRef)(null);\n let endRef = (0, $cgawC$useRef)(null);\n let scopeRef = (0, $cgawC$useRef)([]);\n let { parentNode: parentNode } = (0, $cgawC$useContext)($9bf71ea28793e738$var$FocusContext) || {};\n // Create a tree node here so we can add children to it even before it is added to the tree.\n let node = (0, $cgawC$useMemo)(()=>new $9bf71ea28793e738$var$TreeNode({\n scopeRef: scopeRef\n }), [\n scopeRef\n ]);\n (0, $cgawC$useLayoutEffect)(()=>{\n // If a new scope mounts outside the active scope, (e.g. DialogContainer launched from a menu),\n // use the active scope as the parent instead of the parent from context. Layout effects run bottom\n // up, so if the parent is not yet added to the tree, don't do this. Only the outer-most FocusScope\n // that is being added should get the activeScope as its parent.\n let parent = parentNode || $9bf71ea28793e738$export$d06fae2ee68b101e.root;\n if ($9bf71ea28793e738$export$d06fae2ee68b101e.getTreeNode(parent.scopeRef) && $9bf71ea28793e738$var$activeScope && !$9bf71ea28793e738$var$isAncestorScope($9bf71ea28793e738$var$activeScope, parent.scopeRef)) {\n let activeNode = $9bf71ea28793e738$export$d06fae2ee68b101e.getTreeNode($9bf71ea28793e738$var$activeScope);\n if (activeNode) parent = activeNode;\n }\n // Add the node to the parent, and to the tree.\n parent.addChild(node);\n $9bf71ea28793e738$export$d06fae2ee68b101e.addNode(node);\n }, [\n node,\n parentNode\n ]);\n (0, $cgawC$useLayoutEffect)(()=>{\n let node = $9bf71ea28793e738$export$d06fae2ee68b101e.getTreeNode(scopeRef);\n if (node) node.contain = !!contain;\n }, [\n contain\n ]);\n (0, $cgawC$useLayoutEffect)(()=>{\n var _startRef_current;\n // Find all rendered nodes between the sentinels and add them to the scope.\n let node = (_startRef_current = startRef.current) === null || _startRef_current === void 0 ? void 0 : _startRef_current.nextSibling;\n let nodes = [];\n let stopPropagation = (e)=>e.stopPropagation();\n while(node && node !== endRef.current){\n nodes.push(node);\n // Stop custom restore focus event from propagating to parent focus scopes.\n node.addEventListener($9bf71ea28793e738$var$RESTORE_FOCUS_EVENT, stopPropagation);\n node = node.nextSibling;\n }\n scopeRef.current = nodes;\n return ()=>{\n for (let node of nodes)node.removeEventListener($9bf71ea28793e738$var$RESTORE_FOCUS_EVENT, stopPropagation);\n };\n }, [\n children\n ]);\n $9bf71ea28793e738$var$useActiveScopeTracker(scopeRef, restoreFocus, contain);\n $9bf71ea28793e738$var$useFocusContainment(scopeRef, contain);\n $9bf71ea28793e738$var$useRestoreFocus(scopeRef, restoreFocus, contain);\n $9bf71ea28793e738$var$useAutoFocus(scopeRef, autoFocus);\n // This needs to be an effect so that activeScope is updated after the FocusScope tree is complete.\n // It cannot be a useLayoutEffect because the parent of this node hasn't been attached in the tree yet.\n (0, $cgawC$useEffect)(()=>{\n const activeElement = (0, $cgawC$getOwnerDocument)(scopeRef.current ? scopeRef.current[0] : undefined).activeElement;\n let scope = null;\n if ($9bf71ea28793e738$var$isElementInScope(activeElement, scopeRef.current)) {\n // We need to traverse the focusScope tree and find the bottom most scope that\n // contains the active element and set that as the activeScope.\n for (let node of $9bf71ea28793e738$export$d06fae2ee68b101e.traverse())if (node.scopeRef && $9bf71ea28793e738$var$isElementInScope(activeElement, node.scopeRef.current)) scope = node;\n if (scope === $9bf71ea28793e738$export$d06fae2ee68b101e.getTreeNode(scopeRef)) $9bf71ea28793e738$var$activeScope = scope.scopeRef;\n }\n }, [\n scopeRef\n ]);\n // This layout effect cleanup is so that the tree node is removed synchronously with react before the RAF\n // in useRestoreFocus cleanup runs.\n (0, $cgawC$useLayoutEffect)(()=>{\n return ()=>{\n var _focusScopeTree_getTreeNode_parent, _focusScopeTree_getTreeNode;\n var _focusScopeTree_getTreeNode_parent_scopeRef;\n // Scope may have been re-parented.\n let parentScope = (_focusScopeTree_getTreeNode_parent_scopeRef = (_focusScopeTree_getTreeNode = $9bf71ea28793e738$export$d06fae2ee68b101e.getTreeNode(scopeRef)) === null || _focusScopeTree_getTreeNode === void 0 ? void 0 : (_focusScopeTree_getTreeNode_parent = _focusScopeTree_getTreeNode.parent) === null || _focusScopeTree_getTreeNode_parent === void 0 ? void 0 : _focusScopeTree_getTreeNode_parent.scopeRef) !== null && _focusScopeTree_getTreeNode_parent_scopeRef !== void 0 ? _focusScopeTree_getTreeNode_parent_scopeRef : null;\n if ((scopeRef === $9bf71ea28793e738$var$activeScope || $9bf71ea28793e738$var$isAncestorScope(scopeRef, $9bf71ea28793e738$var$activeScope)) && (!parentScope || $9bf71ea28793e738$export$d06fae2ee68b101e.getTreeNode(parentScope))) $9bf71ea28793e738$var$activeScope = parentScope;\n $9bf71ea28793e738$export$d06fae2ee68b101e.removeTreeNode(scopeRef);\n };\n }, [\n scopeRef\n ]);\n let focusManager = (0, $cgawC$useMemo)(()=>$9bf71ea28793e738$var$createFocusManagerForScope(scopeRef), []);\n let value = (0, $cgawC$useMemo)(()=>({\n focusManager: focusManager,\n parentNode: node\n }), [\n node,\n focusManager\n ]);\n return /*#__PURE__*/ (0, $cgawC$react).createElement($9bf71ea28793e738$var$FocusContext.Provider, {\n value: value\n }, /*#__PURE__*/ (0, $cgawC$react).createElement(\"span\", {\n \"data-focus-scope-start\": true,\n hidden: true,\n ref: startRef\n }), children, /*#__PURE__*/ (0, $cgawC$react).createElement(\"span\", {\n \"data-focus-scope-end\": true,\n hidden: true,\n ref: endRef\n }));\n}\nfunction $9bf71ea28793e738$export$10c5169755ce7bd7() {\n var _useContext;\n return (_useContext = (0, $cgawC$useContext)($9bf71ea28793e738$var$FocusContext)) === null || _useContext === void 0 ? void 0 : _useContext.focusManager;\n}\nfunction $9bf71ea28793e738$var$createFocusManagerForScope(scopeRef) {\n return {\n focusNext (opts = {}) {\n let scope = scopeRef.current;\n let { from: from, tabbable: tabbable, wrap: wrap, accept: accept } = opts;\n let node = from || (0, $cgawC$getOwnerDocument)(scope[0]).activeElement;\n let sentinel = scope[0].previousElementSibling;\n let scopeRoot = $9bf71ea28793e738$var$getScopeRoot(scope);\n let walker = $9bf71ea28793e738$export$2d6ec8fc375ceafa(scopeRoot, {\n tabbable: tabbable,\n accept: accept\n }, scope);\n walker.currentNode = $9bf71ea28793e738$var$isElementInScope(node, scope) ? node : sentinel;\n let nextNode = walker.nextNode();\n if (!nextNode && wrap) {\n walker.currentNode = sentinel;\n nextNode = walker.nextNode();\n }\n if (nextNode) $9bf71ea28793e738$var$focusElement(nextNode, true);\n return nextNode;\n },\n focusPrevious (opts = {}) {\n let scope = scopeRef.current;\n let { from: from, tabbable: tabbable, wrap: wrap, accept: accept } = opts;\n let node = from || (0, $cgawC$getOwnerDocument)(scope[0]).activeElement;\n let sentinel = scope[scope.length - 1].nextElementSibling;\n let scopeRoot = $9bf71ea28793e738$var$getScopeRoot(scope);\n let walker = $9bf71ea28793e738$export$2d6ec8fc375ceafa(scopeRoot, {\n tabbable: tabbable,\n accept: accept\n }, scope);\n walker.currentNode = $9bf71ea28793e738$var$isElementInScope(node, scope) ? node : sentinel;\n let previousNode = walker.previousNode();\n if (!previousNode && wrap) {\n walker.currentNode = sentinel;\n previousNode = walker.previousNode();\n }\n if (previousNode) $9bf71ea28793e738$var$focusElement(previousNode, true);\n return previousNode;\n },\n focusFirst (opts = {}) {\n let scope = scopeRef.current;\n let { tabbable: tabbable, accept: accept } = opts;\n let scopeRoot = $9bf71ea28793e738$var$getScopeRoot(scope);\n let walker = $9bf71ea28793e738$export$2d6ec8fc375ceafa(scopeRoot, {\n tabbable: tabbable,\n accept: accept\n }, scope);\n walker.currentNode = scope[0].previousElementSibling;\n let nextNode = walker.nextNode();\n if (nextNode) $9bf71ea28793e738$var$focusElement(nextNode, true);\n return nextNode;\n },\n focusLast (opts = {}) {\n let scope = scopeRef.current;\n let { tabbable: tabbable, accept: accept } = opts;\n let scopeRoot = $9bf71ea28793e738$var$getScopeRoot(scope);\n let walker = $9bf71ea28793e738$export$2d6ec8fc375ceafa(scopeRoot, {\n tabbable: tabbable,\n accept: accept\n }, scope);\n walker.currentNode = scope[scope.length - 1].nextElementSibling;\n let previousNode = walker.previousNode();\n if (previousNode) $9bf71ea28793e738$var$focusElement(previousNode, true);\n return previousNode;\n }\n };\n}\nconst $9bf71ea28793e738$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];\nconst $9bf71ea28793e738$var$FOCUSABLE_ELEMENT_SELECTOR = $9bf71ea28793e738$var$focusableElements.join(':not([hidden]),') + ',[tabindex]:not([disabled]):not([hidden])';\n$9bf71ea28793e738$var$focusableElements.push('[tabindex]:not([tabindex=\"-1\"]):not([disabled])');\nconst $9bf71ea28793e738$var$TABBABLE_ELEMENT_SELECTOR = $9bf71ea28793e738$var$focusableElements.join(':not([hidden]):not([tabindex=\"-1\"]),');\nfunction $9bf71ea28793e738$export$4c063cf1350e6fed(element) {\n return element.matches($9bf71ea28793e738$var$FOCUSABLE_ELEMENT_SELECTOR);\n}\nfunction $9bf71ea28793e738$var$getScopeRoot(scope) {\n return scope[0].parentElement;\n}\nfunction $9bf71ea28793e738$var$shouldContainFocus(scopeRef) {\n let scope = $9bf71ea28793e738$export$d06fae2ee68b101e.getTreeNode($9bf71ea28793e738$var$activeScope);\n while(scope && scope.scopeRef !== scopeRef){\n if (scope.contain) return false;\n scope = scope.parent;\n }\n return true;\n}\nfunction $9bf71ea28793e738$var$useFocusContainment(scopeRef, contain) {\n let focusedNode = (0, $cgawC$useRef)(undefined);\n let raf = (0, $cgawC$useRef)(undefined);\n (0, $cgawC$useLayoutEffect)(()=>{\n let scope = scopeRef.current;\n if (!contain) {\n // if contain was changed, then we should cancel any ongoing waits to pull focus back into containment\n if (raf.current) {\n cancelAnimationFrame(raf.current);\n raf.current = undefined;\n }\n return;\n }\n const ownerDocument = (0, $cgawC$getOwnerDocument)(scope ? scope[0] : undefined);\n // Handle the Tab key to contain focus within the scope\n let onKeyDown = (e)=>{\n if (e.key !== 'Tab' || e.altKey || e.ctrlKey || e.metaKey || !$9bf71ea28793e738$var$shouldContainFocus(scopeRef) || e.isComposing) return;\n let focusedElement = ownerDocument.activeElement;\n let scope = scopeRef.current;\n if (!scope || !$9bf71ea28793e738$var$isElementInScope(focusedElement, scope)) return;\n let scopeRoot = $9bf71ea28793e738$var$getScopeRoot(scope);\n let walker = $9bf71ea28793e738$export$2d6ec8fc375ceafa(scopeRoot, {\n tabbable: true\n }, scope);\n if (!focusedElement) return;\n walker.currentNode = focusedElement;\n let nextElement = e.shiftKey ? walker.previousNode() : walker.nextNode();\n if (!nextElement) {\n walker.currentNode = e.shiftKey ? scope[scope.length - 1].nextElementSibling : scope[0].previousElementSibling;\n nextElement = e.shiftKey ? walker.previousNode() : walker.nextNode();\n }\n e.preventDefault();\n if (nextElement) $9bf71ea28793e738$var$focusElement(nextElement, true);\n };\n let onFocus = (e)=>{\n // If focusing an element in a child scope of the currently active scope, the child becomes active.\n // Moving out of the active scope to an ancestor is not allowed.\n if ((!$9bf71ea28793e738$var$activeScope || $9bf71ea28793e738$var$isAncestorScope($9bf71ea28793e738$var$activeScope, scopeRef)) && $9bf71ea28793e738$var$isElementInScope(e.target, scopeRef.current)) {\n $9bf71ea28793e738$var$activeScope = scopeRef;\n focusedNode.current = e.target;\n } else if ($9bf71ea28793e738$var$shouldContainFocus(scopeRef) && !$9bf71ea28793e738$var$isElementInChildScope(e.target, scopeRef)) {\n // If a focus event occurs outside the active scope (e.g. user tabs from browser location bar),\n // restore focus to the previously focused node or the first tabbable element in the active scope.\n if (focusedNode.current) focusedNode.current.focus();\n else if ($9bf71ea28793e738$var$activeScope && $9bf71ea28793e738$var$activeScope.current) $9bf71ea28793e738$var$focusFirstInScope($9bf71ea28793e738$var$activeScope.current);\n } else if ($9bf71ea28793e738$var$shouldContainFocus(scopeRef)) focusedNode.current = e.target;\n };\n let onBlur = (e)=>{\n // Firefox doesn't shift focus back to the Dialog properly without this\n if (raf.current) cancelAnimationFrame(raf.current);\n raf.current = requestAnimationFrame(()=>{\n // Patches infinite focus coersion loop for Android Talkback where the user isn't able to move the virtual cursor\n // if within a containing focus scope. Bug filed against Chrome: https://issuetracker.google.com/issues/384844019.\n // Note that this means focus can leave focus containing modals due to this, but it is isolated to Chrome Talkback.\n let modality = (0, $cgawC$getInteractionModality)();\n let shouldSkipFocusRestore = (modality === 'virtual' || modality === null) && (0, $cgawC$isAndroid)() && (0, $cgawC$isChrome)();\n // Use document.activeElement instead of e.relatedTarget so we can tell if user clicked into iframe\n if (!shouldSkipFocusRestore && ownerDocument.activeElement && $9bf71ea28793e738$var$shouldContainFocus(scopeRef) && !$9bf71ea28793e738$var$isElementInChildScope(ownerDocument.activeElement, scopeRef)) {\n $9bf71ea28793e738$var$activeScope = scopeRef;\n if (ownerDocument.body.contains(e.target)) {\n var _focusedNode_current;\n focusedNode.current = e.target;\n (_focusedNode_current = focusedNode.current) === null || _focusedNode_current === void 0 ? void 0 : _focusedNode_current.focus();\n } else if ($9bf71ea28793e738$var$activeScope.current) $9bf71ea28793e738$var$focusFirstInScope($9bf71ea28793e738$var$activeScope.current);\n }\n });\n };\n ownerDocument.addEventListener('keydown', onKeyDown, false);\n ownerDocument.addEventListener('focusin', onFocus, false);\n scope === null || scope === void 0 ? void 0 : scope.forEach((element)=>element.addEventListener('focusin', onFocus, false));\n scope === null || scope === void 0 ? void 0 : scope.forEach((element)=>element.addEventListener('focusout', onBlur, false));\n return ()=>{\n ownerDocument.removeEventListener('keydown', onKeyDown, false);\n ownerDocument.removeEventListener('focusin', onFocus, false);\n scope === null || scope === void 0 ? void 0 : scope.forEach((element)=>element.removeEventListener('focusin', onFocus, false));\n scope === null || scope === void 0 ? void 0 : scope.forEach((element)=>element.removeEventListener('focusout', onBlur, false));\n };\n }, [\n scopeRef,\n contain\n ]);\n // This is a useLayoutEffect so it is guaranteed to run before our async synthetic blur\n (0, $cgawC$useLayoutEffect)(()=>{\n return ()=>{\n if (raf.current) cancelAnimationFrame(raf.current);\n };\n }, [\n raf\n ]);\n}\nfunction $9bf71ea28793e738$var$isElementInAnyScope(element) {\n return $9bf71ea28793e738$var$isElementInChildScope(element);\n}\nfunction $9bf71ea28793e738$var$isElementInScope(element, scope) {\n if (!element) return false;\n if (!scope) return false;\n return scope.some((node)=>node.contains(element));\n}\nfunction $9bf71ea28793e738$var$isElementInChildScope(element, scope = null) {\n // If the element is within a top layer element (e.g. toasts), always allow moving focus there.\n if (element instanceof Element && element.closest('[data-react-aria-top-layer]')) return true;\n // node.contains in isElementInScope covers child scopes that are also DOM children,\n // but does not cover child scopes in portals.\n for (let { scopeRef: s } of $9bf71ea28793e738$export$d06fae2ee68b101e.traverse($9bf71ea28793e738$export$d06fae2ee68b101e.getTreeNode(scope))){\n if (s && $9bf71ea28793e738$var$isElementInScope(element, s.current)) return true;\n }\n return false;\n}\nfunction $9bf71ea28793e738$export$1258395f99bf9cbf(element) {\n return $9bf71ea28793e738$var$isElementInChildScope(element, $9bf71ea28793e738$var$activeScope);\n}\nfunction $9bf71ea28793e738$var$isAncestorScope(ancestor, scope) {\n var _focusScopeTree_getTreeNode;\n let parent = (_focusScopeTree_getTreeNode = $9bf71ea28793e738$export$d06fae2ee68b101e.getTreeNode(scope)) === null || _focusScopeTree_getTreeNode === void 0 ? void 0 : _focusScopeTree_getTreeNode.parent;\n while(parent){\n if (parent.scopeRef === ancestor) return true;\n parent = parent.parent;\n }\n return false;\n}\nfunction $9bf71ea28793e738$var$focusElement(element, scroll = false) {\n if (element != null && !scroll) try {\n (0, $6a99195332edec8b$export$80f3e147d781571c)(element);\n } catch {\n // ignore\n }\n else if (element != null) try {\n element.focus();\n } catch {\n // ignore\n }\n}\nfunction $9bf71ea28793e738$var$getFirstInScope(scope, tabbable = true) {\n let sentinel = scope[0].previousElementSibling;\n let scopeRoot = $9bf71ea28793e738$var$getScopeRoot(scope);\n let walker = $9bf71ea28793e738$export$2d6ec8fc375ceafa(scopeRoot, {\n tabbable: tabbable\n }, scope);\n walker.currentNode = sentinel;\n let nextNode = walker.nextNode();\n // If the scope does not contain a tabbable element, use the first focusable element.\n if (tabbable && !nextNode) {\n scopeRoot = $9bf71ea28793e738$var$getScopeRoot(scope);\n walker = $9bf71ea28793e738$export$2d6ec8fc375ceafa(scopeRoot, {\n tabbable: false\n }, scope);\n walker.currentNode = sentinel;\n nextNode = walker.nextNode();\n }\n return nextNode;\n}\nfunction $9bf71ea28793e738$var$focusFirstInScope(scope, tabbable = true) {\n $9bf71ea28793e738$var$focusElement($9bf71ea28793e738$var$getFirstInScope(scope, tabbable));\n}\nfunction $9bf71ea28793e738$var$useAutoFocus(scopeRef, autoFocus) {\n const autoFocusRef = (0, $cgawC$react).useRef(autoFocus);\n (0, $cgawC$useEffect)(()=>{\n if (autoFocusRef.current) {\n $9bf71ea28793e738$var$activeScope = scopeRef;\n const ownerDocument = (0, $cgawC$getOwnerDocument)(scopeRef.current ? scopeRef.current[0] : undefined);\n if (!$9bf71ea28793e738$var$isElementInScope(ownerDocument.activeElement, $9bf71ea28793e738$var$activeScope.current) && scopeRef.current) $9bf71ea28793e738$var$focusFirstInScope(scopeRef.current);\n }\n autoFocusRef.current = false;\n }, [\n scopeRef\n ]);\n}\nfunction $9bf71ea28793e738$var$useActiveScopeTracker(scopeRef, restore, contain) {\n // tracks the active scope, in case restore and contain are both false.\n // if either are true, this is tracked in useRestoreFocus or useFocusContainment.\n (0, $cgawC$useLayoutEffect)(()=>{\n if (restore || contain) return;\n let scope = scopeRef.current;\n const ownerDocument = (0, $cgawC$getOwnerDocument)(scope ? scope[0] : undefined);\n let onFocus = (e)=>{\n let target = e.target;\n if ($9bf71ea28793e738$var$isElementInScope(target, scopeRef.current)) $9bf71ea28793e738$var$activeScope = scopeRef;\n else if (!$9bf71ea28793e738$var$isElementInAnyScope(target)) $9bf71ea28793e738$var$activeScope = null;\n };\n ownerDocument.addEventListener('focusin', onFocus, false);\n scope === null || scope === void 0 ? void 0 : scope.forEach((element)=>element.addEventListener('focusin', onFocus, false));\n return ()=>{\n ownerDocument.removeEventListener('focusin', onFocus, false);\n scope === null || scope === void 0 ? void 0 : scope.forEach((element)=>element.removeEventListener('focusin', onFocus, false));\n };\n }, [\n scopeRef,\n restore,\n contain\n ]);\n}\nfunction $9bf71ea28793e738$var$shouldRestoreFocus(scopeRef) {\n let scope = $9bf71ea28793e738$export$d06fae2ee68b101e.getTreeNode($9bf71ea28793e738$var$activeScope);\n while(scope && scope.scopeRef !== scopeRef){\n if (scope.nodeToRestore) return false;\n scope = scope.parent;\n }\n return (scope === null || scope === void 0 ? void 0 : scope.scopeRef) === scopeRef;\n}\nfunction $9bf71ea28793e738$var$useRestoreFocus(scopeRef, restoreFocus, contain) {\n // create a ref during render instead of useLayoutEffect so the active element is saved before a child with autoFocus=true mounts.\n // eslint-disable-next-line no-restricted-globals\n const nodeToRestoreRef = (0, $cgawC$useRef)(typeof document !== 'undefined' ? (0, $cgawC$getOwnerDocument)(scopeRef.current ? scopeRef.current[0] : undefined).activeElement : null);\n // restoring scopes should all track if they are active regardless of contain, but contain already tracks it plus logic to contain the focus\n // restoring-non-containing scopes should only care if they become active so they can perform the restore\n (0, $cgawC$useLayoutEffect)(()=>{\n let scope = scopeRef.current;\n const ownerDocument = (0, $cgawC$getOwnerDocument)(scope ? scope[0] : undefined);\n if (!restoreFocus || contain) return;\n let onFocus = ()=>{\n // If focusing an element in a child scope of the currently active scope, the child becomes active.\n // Moving out of the active scope to an ancestor is not allowed.\n if ((!$9bf71ea28793e738$var$activeScope || $9bf71ea28793e738$var$isAncestorScope($9bf71ea28793e738$var$activeScope, scopeRef)) && $9bf71ea28793e738$var$isElementInScope(ownerDocument.activeElement, scopeRef.current)) $9bf71ea28793e738$var$activeScope = scopeRef;\n };\n ownerDocument.addEventListener('focusin', onFocus, false);\n scope === null || scope === void 0 ? void 0 : scope.forEach((element)=>element.addEventListener('focusin', onFocus, false));\n return ()=>{\n ownerDocument.removeEventListener('focusin', onFocus, false);\n scope === null || scope === void 0 ? void 0 : scope.forEach((element)=>element.removeEventListener('focusin', onFocus, false));\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n scopeRef,\n contain\n ]);\n (0, $cgawC$useLayoutEffect)(()=>{\n const ownerDocument = (0, $cgawC$getOwnerDocument)(scopeRef.current ? scopeRef.current[0] : undefined);\n if (!restoreFocus) return;\n // Handle the Tab key so that tabbing out of the scope goes to the next element\n // after the node that had focus when the scope mounted. This is important when\n // using portals for overlays, so that focus goes to the expected element when\n // tabbing out of the overlay.\n let onKeyDown = (e)=>{\n if (e.key !== 'Tab' || e.altKey || e.ctrlKey || e.metaKey || !$9bf71ea28793e738$var$shouldContainFocus(scopeRef) || e.isComposing) return;\n let focusedElement = ownerDocument.activeElement;\n if (!$9bf71ea28793e738$var$isElementInChildScope(focusedElement, scopeRef) || !$9bf71ea28793e738$var$shouldRestoreFocus(scopeRef)) return;\n let treeNode = $9bf71ea28793e738$export$d06fae2ee68b101e.getTreeNode(scopeRef);\n if (!treeNode) return;\n let nodeToRestore = treeNode.nodeToRestore;\n // Create a DOM tree walker that matches all tabbable elements\n let walker = $9bf71ea28793e738$export$2d6ec8fc375ceafa(ownerDocument.body, {\n tabbable: true\n });\n // Find the next tabbable element after the currently focused element\n walker.currentNode = focusedElement;\n let nextElement = e.shiftKey ? walker.previousNode() : walker.nextNode();\n if (!nodeToRestore || !ownerDocument.body.contains(nodeToRestore) || nodeToRestore === ownerDocument.body) {\n nodeToRestore = undefined;\n treeNode.nodeToRestore = undefined;\n }\n // If there is no next element, or it is outside the current scope, move focus to the\n // next element after the node to restore to instead.\n if ((!nextElement || !$9bf71ea28793e738$var$isElementInChildScope(nextElement, scopeRef)) && nodeToRestore) {\n walker.currentNode = nodeToRestore;\n // Skip over elements within the scope, in case the scope immediately follows the node to restore.\n do nextElement = e.shiftKey ? walker.previousNode() : walker.nextNode();\n while ($9bf71ea28793e738$var$isElementInChildScope(nextElement, scopeRef));\n e.preventDefault();\n e.stopPropagation();\n if (nextElement) $9bf71ea28793e738$var$focusElement(nextElement, true);\n else // If there is no next element and the nodeToRestore isn't within a FocusScope (i.e. we are leaving the top level focus scope)\n // then move focus to the body.\n // Otherwise restore focus to the nodeToRestore (e.g menu within a popover -> tabbing to close the menu should move focus to menu trigger)\n if (!$9bf71ea28793e738$var$isElementInAnyScope(nodeToRestore)) focusedElement.blur();\n else $9bf71ea28793e738$var$focusElement(nodeToRestore, true);\n }\n };\n if (!contain) ownerDocument.addEventListener('keydown', onKeyDown, true);\n return ()=>{\n if (!contain) ownerDocument.removeEventListener('keydown', onKeyDown, true);\n };\n }, [\n scopeRef,\n restoreFocus,\n contain\n ]);\n // useLayoutEffect instead of useEffect so the active element is saved synchronously instead of asynchronously.\n (0, $cgawC$useLayoutEffect)(()=>{\n const ownerDocument = (0, $cgawC$getOwnerDocument)(scopeRef.current ? scopeRef.current[0] : undefined);\n if (!restoreFocus) return;\n let treeNode = $9bf71ea28793e738$export$d06fae2ee68b101e.getTreeNode(scopeRef);\n if (!treeNode) return;\n var _nodeToRestoreRef_current;\n treeNode.nodeToRestore = (_nodeToRestoreRef_current = nodeToRestoreRef.current) !== null && _nodeToRestoreRef_current !== void 0 ? _nodeToRestoreRef_current : undefined;\n return ()=>{\n let treeNode = $9bf71ea28793e738$export$d06fae2ee68b101e.getTreeNode(scopeRef);\n if (!treeNode) return;\n let nodeToRestore = treeNode.nodeToRestore;\n // if we already lost focus to the body and this was the active scope, then we should attempt to restore\n if (restoreFocus && nodeToRestore && (ownerDocument.activeElement && $9bf71ea28793e738$var$isElementInChildScope(ownerDocument.activeElement, scopeRef) || ownerDocument.activeElement === ownerDocument.body && $9bf71ea28793e738$var$shouldRestoreFocus(scopeRef))) {\n // freeze the focusScopeTree so it persists after the raf, otherwise during unmount nodes are removed from it\n let clonedTree = $9bf71ea28793e738$export$d06fae2ee68b101e.clone();\n requestAnimationFrame(()=>{\n // Only restore focus if we've lost focus to the body, the alternative is that focus has been purposefully moved elsewhere\n if (ownerDocument.activeElement === ownerDocument.body) {\n // look up the tree starting with our scope to find a nodeToRestore still in the DOM\n let treeNode = clonedTree.getTreeNode(scopeRef);\n while(treeNode){\n if (treeNode.nodeToRestore && treeNode.nodeToRestore.isConnected) {\n $9bf71ea28793e738$var$restoreFocusToElement(treeNode.nodeToRestore);\n return;\n }\n treeNode = treeNode.parent;\n }\n // If no nodeToRestore was found, focus the first element in the nearest\n // ancestor scope that is still in the tree.\n treeNode = clonedTree.getTreeNode(scopeRef);\n while(treeNode){\n if (treeNode.scopeRef && treeNode.scopeRef.current && $9bf71ea28793e738$export$d06fae2ee68b101e.getTreeNode(treeNode.scopeRef)) {\n let node = $9bf71ea28793e738$var$getFirstInScope(treeNode.scopeRef.current, true);\n $9bf71ea28793e738$var$restoreFocusToElement(node);\n return;\n }\n treeNode = treeNode.parent;\n }\n }\n });\n }\n };\n }, [\n scopeRef,\n restoreFocus\n ]);\n}\nfunction $9bf71ea28793e738$var$restoreFocusToElement(node) {\n // Dispatch a custom event that parent elements can intercept to customize focus restoration.\n // For example, virtualized collection components reuse DOM elements, so the original element\n // might still exist in the DOM but representing a different item.\n if (node.dispatchEvent(new CustomEvent($9bf71ea28793e738$var$RESTORE_FOCUS_EVENT, {\n bubbles: true,\n cancelable: true\n }))) $9bf71ea28793e738$var$focusElement(node);\n}\nfunction $9bf71ea28793e738$export$2d6ec8fc375ceafa(root, opts, scope) {\n let selector = (opts === null || opts === void 0 ? void 0 : opts.tabbable) ? $9bf71ea28793e738$var$TABBABLE_ELEMENT_SELECTOR : $9bf71ea28793e738$var$FOCUSABLE_ELEMENT_SELECTOR;\n let walker = (0, $cgawC$getOwnerDocument)(root).createTreeWalker(root, NodeFilter.SHOW_ELEMENT, {\n acceptNode (node) {\n var _opts_from;\n // Skip nodes inside the starting node.\n if (opts === null || opts === void 0 ? void 0 : (_opts_from = opts.from) === null || _opts_from === void 0 ? void 0 : _opts_from.contains(node)) return NodeFilter.FILTER_REJECT;\n if (node.matches(selector) && (0, $645f2e67b85a24c9$export$e989c0fffaa6b27a)(node) && (!scope || $9bf71ea28793e738$var$isElementInScope(node, scope)) && (!(opts === null || opts === void 0 ? void 0 : opts.accept) || opts.accept(node))) return NodeFilter.FILTER_ACCEPT;\n return NodeFilter.FILTER_SKIP;\n }\n });\n if (opts === null || opts === void 0 ? void 0 : opts.from) walker.currentNode = opts.from;\n return walker;\n}\nfunction $9bf71ea28793e738$export$c5251b9e124bf29(ref, defaultOptions = {}) {\n return {\n focusNext (opts = {}) {\n let root = ref.current;\n if (!root) return null;\n let { from: from, tabbable: tabbable = defaultOptions.tabbable, wrap: wrap = defaultOptions.wrap, accept: accept = defaultOptions.accept } = opts;\n let node = from || (0, $cgawC$getOwnerDocument)(root).activeElement;\n let walker = $9bf71ea28793e738$export$2d6ec8fc375ceafa(root, {\n tabbable: tabbable,\n accept: accept\n });\n if (root.contains(node)) walker.currentNode = node;\n let nextNode = walker.nextNode();\n if (!nextNode && wrap) {\n walker.currentNode = root;\n nextNode = walker.nextNode();\n }\n if (nextNode) $9bf71ea28793e738$var$focusElement(nextNode, true);\n return nextNode;\n },\n focusPrevious (opts = defaultOptions) {\n let root = ref.current;\n if (!root) return null;\n let { from: from, tabbable: tabbable = defaultOptions.tabbable, wrap: wrap = defaultOptions.wrap, accept: accept = defaultOptions.accept } = opts;\n let node = from || (0, $cgawC$getOwnerDocument)(root).activeElement;\n let walker = $9bf71ea28793e738$export$2d6ec8fc375ceafa(root, {\n tabbable: tabbable,\n accept: accept\n });\n if (root.contains(node)) walker.currentNode = node;\n else {\n let next = $9bf71ea28793e738$var$last(walker);\n if (next) $9bf71ea28793e738$var$focusElement(next, true);\n return next !== null && next !== void 0 ? next : null;\n }\n let previousNode = walker.previousNode();\n if (!previousNode && wrap) {\n walker.currentNode = root;\n let lastNode = $9bf71ea28793e738$var$last(walker);\n if (!lastNode) // couldn't wrap\n return null;\n previousNode = lastNode;\n }\n if (previousNode) $9bf71ea28793e738$var$focusElement(previousNode, true);\n return previousNode !== null && previousNode !== void 0 ? previousNode : null;\n },\n focusFirst (opts = defaultOptions) {\n let root = ref.current;\n if (!root) return null;\n let { tabbable: tabbable = defaultOptions.tabbable, accept: accept = defaultOptions.accept } = opts;\n let walker = $9bf71ea28793e738$export$2d6ec8fc375ceafa(root, {\n tabbable: tabbable,\n accept: accept\n });\n let nextNode = walker.nextNode();\n if (nextNode) $9bf71ea28793e738$var$focusElement(nextNode, true);\n return nextNode;\n },\n focusLast (opts = defaultOptions) {\n let root = ref.current;\n if (!root) return null;\n let { tabbable: tabbable = defaultOptions.tabbable, accept: accept = defaultOptions.accept } = opts;\n let walker = $9bf71ea28793e738$export$2d6ec8fc375ceafa(root, {\n tabbable: tabbable,\n accept: accept\n });\n let next = $9bf71ea28793e738$var$last(walker);\n if (next) $9bf71ea28793e738$var$focusElement(next, true);\n return next !== null && next !== void 0 ? next : null;\n }\n };\n}\nfunction $9bf71ea28793e738$var$last(walker) {\n let next = undefined;\n let last;\n do {\n last = walker.lastChild();\n if (last) next = last;\n }while (last);\n return next;\n}\nclass $9bf71ea28793e738$var$Tree {\n get size() {\n return this.fastMap.size;\n }\n getTreeNode(data) {\n return this.fastMap.get(data);\n }\n addTreeNode(scopeRef, parent, nodeToRestore) {\n let parentNode = this.fastMap.get(parent !== null && parent !== void 0 ? parent : null);\n if (!parentNode) return;\n let node = new $9bf71ea28793e738$var$TreeNode({\n scopeRef: scopeRef\n });\n parentNode.addChild(node);\n node.parent = parentNode;\n this.fastMap.set(scopeRef, node);\n if (nodeToRestore) node.nodeToRestore = nodeToRestore;\n }\n addNode(node) {\n this.fastMap.set(node.scopeRef, node);\n }\n removeTreeNode(scopeRef) {\n // never remove the root\n if (scopeRef === null) return;\n let node = this.fastMap.get(scopeRef);\n if (!node) return;\n let parentNode = node.parent;\n // when we remove a scope, check if any sibling scopes are trying to restore focus to something inside the scope we're removing\n // if we are, then replace the siblings restore with the restore from the scope we're removing\n for (let current of this.traverse())if (current !== node && node.nodeToRestore && current.nodeToRestore && node.scopeRef && node.scopeRef.current && $9bf71ea28793e738$var$isElementInScope(current.nodeToRestore, node.scopeRef.current)) current.nodeToRestore = node.nodeToRestore;\n let children = node.children;\n if (parentNode) {\n parentNode.removeChild(node);\n if (children.size > 0) children.forEach((child)=>parentNode && parentNode.addChild(child));\n }\n this.fastMap.delete(node.scopeRef);\n }\n // Pre Order Depth First\n *traverse(node = this.root) {\n if (node.scopeRef != null) yield node;\n if (node.children.size > 0) for (let child of node.children)yield* this.traverse(child);\n }\n clone() {\n var _node_parent;\n let newTree = new $9bf71ea28793e738$var$Tree();\n var _node_parent_scopeRef;\n for (let node of this.traverse())newTree.addTreeNode(node.scopeRef, (_node_parent_scopeRef = (_node_parent = node.parent) === null || _node_parent === void 0 ? void 0 : _node_parent.scopeRef) !== null && _node_parent_scopeRef !== void 0 ? _node_parent_scopeRef : null, node.nodeToRestore);\n return newTree;\n }\n constructor(){\n this.fastMap = new Map();\n this.root = new $9bf71ea28793e738$var$TreeNode({\n scopeRef: null\n });\n this.fastMap.set(null, this.root);\n }\n}\nclass $9bf71ea28793e738$var$TreeNode {\n addChild(node) {\n this.children.add(node);\n node.parent = this;\n }\n removeChild(node) {\n this.children.delete(node);\n node.parent = undefined;\n }\n constructor(props){\n this.children = new Set();\n this.contain = false;\n this.scopeRef = props.scopeRef;\n }\n}\nlet $9bf71ea28793e738$export$d06fae2ee68b101e = new $9bf71ea28793e738$var$Tree();\n\n\nexport {$9bf71ea28793e738$export$20e40289641fbbb6 as FocusScope, $9bf71ea28793e738$export$d06fae2ee68b101e as focusScopeTree, $9bf71ea28793e738$export$10c5169755ce7bd7 as useFocusManager, $9bf71ea28793e738$export$2d6ec8fc375ceafa as getFocusableTreeWalker, $9bf71ea28793e738$export$4c063cf1350e6fed as isFocusable, $9bf71ea28793e738$export$1258395f99bf9cbf as isElementInChildOfActiveScope, $9bf71ea28793e738$export$c5251b9e124bf29 as createFocusManager};\n//# sourceMappingURL=FocusScope.module.js.map\n","import {isFocusVisible as $isWE5$isFocusVisible, useFocusVisibleListener as $isWE5$useFocusVisibleListener, useFocus as $isWE5$useFocus, useFocusWithin as $isWE5$useFocusWithin} from \"@react-aria/interactions\";\nimport {useRef as $isWE5$useRef, useState as $isWE5$useState, useCallback as $isWE5$useCallback} from \"react\";\n\n\n\nfunction $f7dceffc5ad7768b$export$4e328f61c538687f(props = {}) {\n let { autoFocus: autoFocus = false, isTextInput: isTextInput, within: within } = props;\n let state = (0, $isWE5$useRef)({\n isFocused: false,\n isFocusVisible: autoFocus || (0, $isWE5$isFocusVisible)()\n });\n let [isFocused, setFocused] = (0, $isWE5$useState)(false);\n let [isFocusVisibleState, setFocusVisible] = (0, $isWE5$useState)(()=>state.current.isFocused && state.current.isFocusVisible);\n let updateState = (0, $isWE5$useCallback)(()=>setFocusVisible(state.current.isFocused && state.current.isFocusVisible), []);\n let onFocusChange = (0, $isWE5$useCallback)((isFocused)=>{\n state.current.isFocused = isFocused;\n setFocused(isFocused);\n updateState();\n }, [\n updateState\n ]);\n (0, $isWE5$useFocusVisibleListener)((isFocusVisible)=>{\n state.current.isFocusVisible = isFocusVisible;\n updateState();\n }, [], {\n isTextInput: isTextInput\n });\n let { focusProps: focusProps } = (0, $isWE5$useFocus)({\n isDisabled: within,\n onFocusChange: onFocusChange\n });\n let { focusWithinProps: focusWithinProps } = (0, $isWE5$useFocusWithin)({\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 {$f7dceffc5ad7768b$export$4e328f61c538687f as useFocusRing};\n//# sourceMappingURL=useFocusRing.module.js.map\n","import {focusSafely as $6a99195332edec8b$export$80f3e147d781571c} from \"./focusSafely.mjs\";\nimport {useSyncRef as $h8xso$useSyncRef, useObjectRef as $h8xso$useObjectRef, mergeProps as $h8xso$mergeProps} from \"@react-aria/utils\";\nimport $h8xso$react, {useContext as $h8xso$useContext, useRef as $h8xso$useRef, useEffect as $h8xso$useEffect} from \"react\";\nimport {useFocus as $h8xso$useFocus, useKeyboard as $h8xso$useKeyboard} from \"@react-aria/interactions\";\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\nlet $e6afbd83fe6ebbd2$var$FocusableContext = /*#__PURE__*/ (0, $h8xso$react).createContext(null);\nfunction $e6afbd83fe6ebbd2$var$useFocusableContext(ref) {\n let context = (0, $h8xso$useContext)($e6afbd83fe6ebbd2$var$FocusableContext) || {};\n (0, $h8xso$useSyncRef)(context, ref);\n // eslint-disable-next-line\n let { ref: _, ...otherProps } = context;\n return otherProps;\n}\nconst $e6afbd83fe6ebbd2$export$13f3202a3e5ddd5 = /*#__PURE__*/ (0, $h8xso$react).forwardRef(function FocusableProvider(props, ref) {\n let { children: children, ...otherProps } = props;\n let objRef = (0, $h8xso$useObjectRef)(ref);\n let context = {\n ...otherProps,\n ref: objRef\n };\n return /*#__PURE__*/ (0, $h8xso$react).createElement($e6afbd83fe6ebbd2$var$FocusableContext.Provider, {\n value: context\n }, children);\n});\nfunction $e6afbd83fe6ebbd2$export$4c014de7c8940b4c(props, domRef) {\n let { focusProps: focusProps } = (0, $h8xso$useFocus)(props);\n let { keyboardProps: keyboardProps } = (0, $h8xso$useKeyboard)(props);\n let interactions = (0, $h8xso$mergeProps)(focusProps, keyboardProps);\n let domProps = $e6afbd83fe6ebbd2$var$useFocusableContext(domRef);\n let interactionProps = props.isDisabled ? {} : domProps;\n let autoFocusRef = (0, $h8xso$useRef)(props.autoFocus);\n (0, $h8xso$useEffect)(()=>{\n if (autoFocusRef.current && domRef.current) (0, $6a99195332edec8b$export$80f3e147d781571c)(domRef.current);\n autoFocusRef.current = false;\n }, [\n domRef\n ]);\n return {\n focusableProps: (0, $h8xso$mergeProps)({\n ...interactions,\n tabIndex: props.excludeFromTabOrder && !props.isDisabled ? -1 : undefined\n }, interactionProps)\n };\n}\n\n\nexport {$e6afbd83fe6ebbd2$export$13f3202a3e5ddd5 as FocusableProvider, $e6afbd83fe6ebbd2$export$4c014de7c8940b4c as useFocusable};\n//# sourceMappingURL=useFocusable.module.js.map\n","import {getFocusableTreeWalker as $9bf71ea28793e738$export$2d6ec8fc375ceafa} from \"./FocusScope.mjs\";\nimport {useLayoutEffect as $hGAaG$useLayoutEffect} from \"@react-aria/utils\";\nimport {useState as $hGAaG$useState} 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\nfunction $83013635b024ae3d$export$eac1895992b9f3d6(ref, options) {\n let isDisabled = options === null || options === void 0 ? void 0 : options.isDisabled;\n let [hasTabbableChild, setHasTabbableChild] = (0, $hGAaG$useState)(false);\n (0, $hGAaG$useLayoutEffect)(()=>{\n if ((ref === null || ref === void 0 ? void 0 : ref.current) && !isDisabled) {\n let update = ()=>{\n if (ref.current) {\n let walker = (0, $9bf71ea28793e738$export$2d6ec8fc375ceafa)(ref.current, {\n tabbable: true\n });\n setHasTabbableChild(!!walker.nextNode());\n }\n };\n update();\n // Update when new elements are inserted, or the tabIndex/disabled attribute updates.\n let observer = new MutationObserver(update);\n observer.observe(ref.current, {\n subtree: true,\n childList: true,\n attributes: true,\n attributeFilter: [\n 'tabIndex',\n 'disabled'\n ]\n });\n return ()=>{\n // Disconnect mutation observer when a React update occurs on the top-level component\n // so we update synchronously after re-rendering. Otherwise React will emit act warnings\n // in tests since mutation observers fire asynchronously. The mutation observer is necessary\n // so we also update if a child component re-renders and adds/removes something tabbable.\n observer.disconnect();\n };\n }\n });\n return isDisabled ? false : hasTabbableChild;\n}\n\n\nexport {$83013635b024ae3d$export$eac1895992b9f3d6 as useHasTabbableChild};\n//# sourceMappingURL=useHasTabbableChild.module.js.map\n","import {filterDOMProps as $5Ot33$filterDOMProps, mergeProps as $5Ot33$mergeProps, useRouter as $5Ot33$useRouter, useLinkProps as $5Ot33$useLinkProps, shouldClientNavigate as $5Ot33$shouldClientNavigate} from \"@react-aria/utils\";\nimport {useFocusable as $5Ot33$useFocusable} from \"@react-aria/focus\";\nimport {usePress as $5Ot33$usePress} from \"@react-aria/interactions\";\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\nfunction $298d61e98472621b$export$dcf14c9974fe2767(props, ref) {\n let { elementType: elementType = 'a', onPress: onPress, onPressStart: onPressStart, onPressEnd: onPressEnd, // @ts-ignore\n onClick: deprecatedOnClick, isDisabled: isDisabled, ...otherProps } = props;\n let linkProps = {};\n if (elementType !== 'a') linkProps = {\n role: 'link',\n tabIndex: !isDisabled ? 0 : undefined\n };\n let { focusableProps: focusableProps } = (0, $5Ot33$useFocusable)(props, ref);\n let { pressProps: pressProps, isPressed: isPressed } = (0, $5Ot33$usePress)({\n onPress: onPress,\n onPressStart: onPressStart,\n onPressEnd: onPressEnd,\n isDisabled: isDisabled,\n ref: ref\n });\n let domProps = (0, $5Ot33$filterDOMProps)(otherProps, {\n labelable: true\n });\n let interactionHandlers = (0, $5Ot33$mergeProps)(focusableProps, pressProps);\n let router = (0, $5Ot33$useRouter)();\n let routerLinkProps = (0, $5Ot33$useLinkProps)(props);\n return {\n isPressed: isPressed,\n linkProps: (0, $5Ot33$mergeProps)(domProps, routerLinkProps, {\n ...interactionHandlers,\n ...linkProps,\n 'aria-disabled': isDisabled || undefined,\n 'aria-current': props['aria-current'],\n onClick: (e)=>{\n var _pressProps_onClick;\n (_pressProps_onClick = pressProps.onClick) === null || _pressProps_onClick === void 0 ? void 0 : _pressProps_onClick.call(pressProps, e);\n if (deprecatedOnClick) {\n deprecatedOnClick(e);\n console.warn('onClick is deprecated, please use onPress');\n }\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() && (0, $5Ot33$shouldClientNavigate)(e.currentTarget, e) && props.href) {\n e.preventDefault();\n router.open(e.currentTarget, e, props.href, props.routerOptions);\n }\n }\n })\n };\n}\n\n\nexport {$298d61e98472621b$export$dcf14c9974fe2767 as useLink};\n//# sourceMappingURL=useLink.module.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 */ // https://en.wikipedia.org/wiki/Right-to-left\nconst $148a7a147e38ea7f$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 $148a7a147e38ea7f$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 $148a7a147e38ea7f$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 $148a7a147e38ea7f$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 $148a7a147e38ea7f$var$RTL_LANGS.has(lang);\n}\n\n\nexport {$148a7a147e38ea7f$export$702d680b21cbd764 as isRTL};\n//# sourceMappingURL=utils.module.js.map\n","import {isRTL as $148a7a147e38ea7f$export$702d680b21cbd764} from \"./utils.mjs\";\nimport {useState as $ffhGL$useState, useEffect as $ffhGL$useEffect} from \"react\";\nimport {useIsSSR as $ffhGL$useIsSSR} from \"@react-aria/ssr\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n// Locale passed from server by PackageLocalizationProvider.\nconst $1e5a04cdaf7d1af8$var$localeSymbol = Symbol.for('react-aria.i18n.locale');\nfunction $1e5a04cdaf7d1af8$export$f09106e7c6677ec5() {\n let locale = typeof window !== 'undefined' && window[$1e5a04cdaf7d1af8$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, $148a7a147e38ea7f$export$702d680b21cbd764)(locale) ? 'rtl' : 'ltr'\n };\n}\nlet $1e5a04cdaf7d1af8$var$currentLocale = $1e5a04cdaf7d1af8$export$f09106e7c6677ec5();\nlet $1e5a04cdaf7d1af8$var$listeners = new Set();\nfunction $1e5a04cdaf7d1af8$var$updateLocale() {\n $1e5a04cdaf7d1af8$var$currentLocale = $1e5a04cdaf7d1af8$export$f09106e7c6677ec5();\n for (let listener of $1e5a04cdaf7d1af8$var$listeners)listener($1e5a04cdaf7d1af8$var$currentLocale);\n}\nfunction $1e5a04cdaf7d1af8$export$188ec29ebc2bdc3a() {\n let isSSR = (0, $ffhGL$useIsSSR)();\n let [defaultLocale, setDefaultLocale] = (0, $ffhGL$useState)($1e5a04cdaf7d1af8$var$currentLocale);\n (0, $ffhGL$useEffect)(()=>{\n if ($1e5a04cdaf7d1af8$var$listeners.size === 0) window.addEventListener('languagechange', $1e5a04cdaf7d1af8$var$updateLocale);\n $1e5a04cdaf7d1af8$var$listeners.add(setDefaultLocale);\n return ()=>{\n $1e5a04cdaf7d1af8$var$listeners.delete(setDefaultLocale);\n if ($1e5a04cdaf7d1af8$var$listeners.size === 0) window.removeEventListener('languagechange', $1e5a04cdaf7d1af8$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) return {\n locale: 'en-US',\n direction: 'ltr'\n };\n return defaultLocale;\n}\n\n\nexport {$1e5a04cdaf7d1af8$export$f09106e7c6677ec5 as getDefaultLocale, $1e5a04cdaf7d1af8$export$188ec29ebc2bdc3a as useDefaultLocale};\n//# sourceMappingURL=useDefaultLocale.module.js.map\n","import {isRTL as $148a7a147e38ea7f$export$702d680b21cbd764} from \"./utils.mjs\";\nimport {useDefaultLocale as $1e5a04cdaf7d1af8$export$188ec29ebc2bdc3a} from \"./useDefaultLocale.mjs\";\nimport $h9FiU$react, {useContext as $h9FiU$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 $18f2051aff69b9bf$var$I18nContext = /*#__PURE__*/ (0, $h9FiU$react).createContext(null);\nfunction $18f2051aff69b9bf$export$a54013f0d02a8f82(props) {\n let { locale: locale, children: children } = props;\n let defaultLocale = (0, $1e5a04cdaf7d1af8$export$188ec29ebc2bdc3a)();\n let value = (0, $h9FiU$react).useMemo(()=>{\n if (!locale) return defaultLocale;\n return {\n locale: locale,\n direction: (0, $148a7a147e38ea7f$export$702d680b21cbd764)(locale) ? 'rtl' : 'ltr'\n };\n }, [\n defaultLocale,\n locale\n ]);\n return /*#__PURE__*/ (0, $h9FiU$react).createElement($18f2051aff69b9bf$var$I18nContext.Provider, {\n value: value\n }, children);\n}\nfunction $18f2051aff69b9bf$export$43bb16f9c6d9e3f7() {\n let defaultLocale = (0, $1e5a04cdaf7d1af8$export$188ec29ebc2bdc3a)();\n let context = (0, $h9FiU$useContext)($18f2051aff69b9bf$var$I18nContext);\n return context || defaultLocale;\n}\n\n\nexport {$18f2051aff69b9bf$export$a54013f0d02a8f82 as I18nProvider, $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 as useLocale};\n//# sourceMappingURL=context.module.js.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 $5b160d28a433310d$var$localeSymbol = Symbol.for('react-aria.i18n.locale');\nconst $5b160d28a433310d$var$stringsSymbol = Symbol.for('react-aria.i18n.strings');\nlet $5b160d28a433310d$var$cachedGlobalStrings = undefined;\nclass $5b160d28a433310d$export$c17fa47878dc55b6 {\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 = $5b160d28a433310d$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[$5b160d28a433310d$var$localeSymbol];\n if ($5b160d28a433310d$var$cachedGlobalStrings === undefined) {\n let globalStrings = window[$5b160d28a433310d$var$stringsSymbol];\n if (!globalStrings) return null;\n $5b160d28a433310d$var$cachedGlobalStrings = {};\n for(let pkg in globalStrings)$5b160d28a433310d$var$cachedGlobalStrings[pkg] = new $5b160d28a433310d$export$c17fa47878dc55b6({\n [locale]: globalStrings[pkg]\n }, locale);\n }\n let dictionary = $5b160d28a433310d$var$cachedGlobalStrings === null || $5b160d28a433310d$var$cachedGlobalStrings === void 0 ? void 0 : $5b160d28a433310d$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 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}\nfunction $5b160d28a433310d$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 = $5b160d28a433310d$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 $5b160d28a433310d$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 {$5b160d28a433310d$export$c17fa47878dc55b6 as LocalizedStringDictionary};\n//# sourceMappingURL=LocalizedStringDictionary.module.js.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 $6db58dc88e78b024$var$pluralRulesCache = new Map();\nconst $6db58dc88e78b024$var$numberFormatCache = new Map();\nclass $6db58dc88e78b024$export$2f817fcdc4b89ae0 {\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 = $6db58dc88e78b024$var$pluralRulesCache.get(key);\n if (!pluralRules) {\n pluralRules = new Intl.PluralRules(this.locale, {\n type: type\n });\n $6db58dc88e78b024$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 = $6db58dc88e78b024$var$numberFormatCache.get(this.locale);\n if (!numberFormat) {\n numberFormat = new Intl.NumberFormat(this.locale);\n $6db58dc88e78b024$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 constructor(locale, strings){\n this.locale = locale;\n this.strings = strings;\n }\n}\n\n\nexport {$6db58dc88e78b024$export$2f817fcdc4b89ae0 as LocalizedStringFormatter};\n//# sourceMappingURL=LocalizedStringFormatter.module.js.map\n","import {useLocale as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7} from \"./context.mjs\";\nimport {LocalizedStringDictionary as $6ksNp$LocalizedStringDictionary, LocalizedStringFormatter as $6ksNp$LocalizedStringFormatter} from \"@internationalized/string\";\nimport {useMemo as $6ksNp$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 $fca6afa0e843324b$var$cache = new WeakMap();\nfunction $fca6afa0e843324b$var$getCachedDictionary(strings) {\n let dictionary = $fca6afa0e843324b$var$cache.get(strings);\n if (!dictionary) {\n dictionary = new (0, $6ksNp$LocalizedStringDictionary)(strings);\n $fca6afa0e843324b$var$cache.set(strings, dictionary);\n }\n return dictionary;\n}\nfunction $fca6afa0e843324b$export$87b761675e8eaa10(strings, packageName) {\n return packageName && (0, $6ksNp$LocalizedStringDictionary).getGlobalDictionaryForPackage(packageName) || $fca6afa0e843324b$var$getCachedDictionary(strings);\n}\nfunction $fca6afa0e843324b$export$f12b703ca79dfbb1(strings, packageName) {\n let { locale: locale } = (0, $18f2051aff69b9bf$export$43bb16f9c6d9e3f7)();\n let dictionary = $fca6afa0e843324b$export$87b761675e8eaa10(strings, packageName);\n return (0, $6ksNp$useMemo)(()=>new (0, $6ksNp$LocalizedStringFormatter)(locale, dictionary), [\n locale,\n dictionary\n ]);\n}\n\n\nexport {$fca6afa0e843324b$export$87b761675e8eaa10 as useLocalizedStringDictionary, $fca6afa0e843324b$export$f12b703ca79dfbb1 as useLocalizedStringFormatter};\n//# sourceMappingURL=useLocalizedStringFormatter.module.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 */ let $488c6ddbf4ef74c2$var$formatterCache = new Map();\nlet $488c6ddbf4ef74c2$var$supportsSignDisplay = false;\ntry {\n $488c6ddbf4ef74c2$var$supportsSignDisplay = new Intl.NumberFormat('de-DE', {\n signDisplay: 'exceptZero'\n }).resolvedOptions().signDisplay === 'exceptZero';\n// eslint-disable-next-line no-empty\n} catch {}\nlet $488c6ddbf4ef74c2$var$supportsUnit = false;\ntry {\n $488c6ddbf4ef74c2$var$supportsUnit = new Intl.NumberFormat('de-DE', {\n style: 'unit',\n unit: 'degree'\n }).resolvedOptions().style === 'unit';\n// eslint-disable-next-line no-empty\n} catch {}\n// Polyfill for units since Safari doesn't support them yet. See https://bugs.webkit.org/show_bug.cgi?id=215438.\n// Currently only polyfilling the unit degree in narrow format for ColorSlider in our supported locales.\n// Values were determined by switching to each locale manually in Chrome.\nconst $488c6ddbf4ef74c2$var$UNITS = {\n degree: {\n narrow: {\n default: \"\\xb0\",\n 'ja-JP': \" \\u5EA6\",\n 'zh-TW': \"\\u5EA6\",\n 'sl-SI': \" \\xb0\"\n }\n }\n};\nclass $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 {\n /** Formats a number value as a string, according to the locale and options provided to the constructor. */ format(value) {\n let res = '';\n if (!$488c6ddbf4ef74c2$var$supportsSignDisplay && this.options.signDisplay != null) res = $488c6ddbf4ef74c2$export$711b50b3c525e0f2(this.numberFormatter, this.options.signDisplay, value);\n else res = this.numberFormatter.format(value);\n if (this.options.style === 'unit' && !$488c6ddbf4ef74c2$var$supportsUnit) {\n var _UNITS_unit;\n let { unit: unit, unitDisplay: unitDisplay = 'short', locale: locale } = this.resolvedOptions();\n if (!unit) return res;\n let values = (_UNITS_unit = $488c6ddbf4ef74c2$var$UNITS[unit]) === null || _UNITS_unit === void 0 ? void 0 : _UNITS_unit[unitDisplay];\n res += values[locale] || values.default;\n }\n return res;\n }\n /** Formats a number to an array of parts such as separators, digits, punctuation, and more. */ formatToParts(value) {\n // TODO: implement signDisplay for formatToParts\n return this.numberFormatter.formatToParts(value);\n }\n /** Formats a number range as a string. */ formatRange(start, end) {\n if (typeof this.numberFormatter.formatRange === 'function') return this.numberFormatter.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.format(start)} \\u{2013} ${this.format(end)}`;\n }\n /** Formats a number range as an array of parts. */ formatRangeToParts(start, end) {\n if (typeof this.numberFormatter.formatRangeToParts === 'function') return this.numberFormatter.formatRangeToParts(start, end);\n if (end < start) throw new RangeError('End date must be >= start date');\n let startParts = this.numberFormatter.formatToParts(start);\n let endParts = this.numberFormatter.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 options = this.numberFormatter.resolvedOptions();\n if (!$488c6ddbf4ef74c2$var$supportsSignDisplay && this.options.signDisplay != null) options = {\n ...options,\n signDisplay: this.options.signDisplay\n };\n if (!$488c6ddbf4ef74c2$var$supportsUnit && this.options.style === 'unit') options = {\n ...options,\n style: 'unit',\n unit: this.options.unit,\n unitDisplay: this.options.unitDisplay\n };\n return options;\n }\n constructor(locale, options = {}){\n this.numberFormatter = $488c6ddbf4ef74c2$var$getCachedNumberFormatter(locale, options);\n this.options = options;\n }\n}\nfunction $488c6ddbf4ef74c2$var$getCachedNumberFormatter(locale, options = {}) {\n let { numberingSystem: numberingSystem } = options;\n if (numberingSystem && locale.includes('-nu-')) {\n if (!locale.includes('-u-')) locale += '-u-';\n locale += `-nu-${numberingSystem}`;\n }\n if (options.style === 'unit' && !$488c6ddbf4ef74c2$var$supportsUnit) {\n var _UNITS_unit;\n let { unit: unit, unitDisplay: unitDisplay = 'short' } = options;\n if (!unit) throw new Error('unit option must be provided with style: \"unit\"');\n if (!((_UNITS_unit = $488c6ddbf4ef74c2$var$UNITS[unit]) === null || _UNITS_unit === void 0 ? void 0 : _UNITS_unit[unitDisplay])) throw new Error(`Unsupported unit ${unit} with unitDisplay = ${unitDisplay}`);\n options = {\n ...options,\n style: 'decimal'\n };\n }\n let cacheKey = locale + (options ? Object.entries(options).sort((a, b)=>a[0] < b[0] ? -1 : 1).join() : '');\n if ($488c6ddbf4ef74c2$var$formatterCache.has(cacheKey)) return $488c6ddbf4ef74c2$var$formatterCache.get(cacheKey);\n let numberFormatter = new Intl.NumberFormat(locale, options);\n $488c6ddbf4ef74c2$var$formatterCache.set(cacheKey, numberFormatter);\n return numberFormatter;\n}\nfunction $488c6ddbf4ef74c2$export$711b50b3c525e0f2(numberFormat, signDisplay, num) {\n if (signDisplay === 'auto') return numberFormat.format(num);\n else if (signDisplay === 'never') return numberFormat.format(Math.abs(num));\n else {\n let needsPositiveSign = false;\n if (signDisplay === 'always') needsPositiveSign = num > 0 || Object.is(num, 0);\n else if (signDisplay === 'exceptZero') {\n if (Object.is(num, -0) || Object.is(num, 0)) num = Math.abs(num);\n else needsPositiveSign = num > 0;\n }\n if (needsPositiveSign) {\n let negative = numberFormat.format(-num);\n let noSign = numberFormat.format(num);\n // ignore RTL/LTR marker character\n let minus = negative.replace(noSign, '').replace(/\\u200e|\\u061C/, '');\n if ([\n ...minus\n ].length !== 1) console.warn('@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case');\n let positive = negative.replace(noSign, '!!!').replace(minus, '+').replace('!!!', noSign);\n return positive;\n } else return numberFormat.format(num);\n }\n}\n\n\nexport {$488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 as NumberFormatter, $488c6ddbf4ef74c2$export$711b50b3c525e0f2 as numberFormatSignDisplayPolyfill};\n//# sourceMappingURL=NumberFormatter.module.js.map\n","import {useLocale as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7} from \"./context.mjs\";\nimport {NumberFormatter as $JFEdn$NumberFormatter} from \"@internationalized/number\";\nimport {useMemo as $JFEdn$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\nfunction $a916eb452884faea$export$b7a616150fdb9f44(options = {}) {\n let { locale: locale } = (0, $18f2051aff69b9bf$export$43bb16f9c6d9e3f7)();\n return (0, $JFEdn$useMemo)(()=>new (0, $JFEdn$NumberFormatter)(locale, options), [\n locale,\n options\n ]);\n}\n\n\nexport {$a916eb452884faea$export$b7a616150fdb9f44 as useNumberFormatter};\n//# sourceMappingURL=useNumberFormatter.module.js.map\n","import {useLocale as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7} from \"./context.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 */ \nlet $325a3faab7a68acd$var$cache = new Map();\nfunction $325a3faab7a68acd$export$a16aca283550c30d(options) {\n let { locale: locale } = (0, $18f2051aff69b9bf$export$43bb16f9c6d9e3f7)();\n let cacheKey = locale + (options ? Object.entries(options).sort((a, b)=>a[0] < b[0] ? -1 : 1).join() : '');\n if ($325a3faab7a68acd$var$cache.has(cacheKey)) return $325a3faab7a68acd$var$cache.get(cacheKey);\n let formatter = new Intl.Collator(locale, options);\n $325a3faab7a68acd$var$cache.set(cacheKey, formatter);\n return formatter;\n}\n\n\nexport {$325a3faab7a68acd$export$a16aca283550c30d as useCollator};\n//# sourceMappingURL=useCollator.module.js.map\n","import {mergeProps as $bwqiF$mergeProps, filterDOMProps as $bwqiF$filterDOMProps} from \"@react-aria/utils\";\nimport {useFocusable as $bwqiF$useFocusable} from \"@react-aria/focus\";\nimport {usePress as $bwqiF$usePress} from \"@react-aria/interactions\";\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\nfunction $701a24aa0da5b062$export$ea18c227d4417cc3(props, ref) {\n let { elementType: elementType = 'button', isDisabled: isDisabled, onPress: onPress, onPressStart: onPressStart, onPressEnd: onPressEnd, onPressUp: onPressUp, onPressChange: onPressChange, preventFocusOnPress: preventFocusOnPress, allowFocusWhenDisabled: // @ts-ignore - undocumented\n allowFocusWhenDisabled, // @ts-ignore\n onClick: deprecatedOnClick, href: href, target: target, rel: rel, type: type = 'button' } = props;\n let additionalProps;\n if (elementType === 'button') additionalProps = {\n type: type,\n disabled: isDisabled\n };\n else additionalProps = {\n role: 'button',\n tabIndex: isDisabled ? undefined : 0,\n href: elementType === 'a' && !isDisabled ? href : undefined,\n target: elementType === 'a' ? target : undefined,\n type: elementType === 'input' ? type : undefined,\n disabled: elementType === 'input' ? isDisabled : undefined,\n 'aria-disabled': !isDisabled || elementType === 'input' ? undefined : isDisabled,\n rel: elementType === 'a' ? rel : undefined\n };\n let { pressProps: pressProps, isPressed: isPressed } = (0, $bwqiF$usePress)({\n onPressStart: onPressStart,\n onPressEnd: onPressEnd,\n onPressChange: onPressChange,\n onPress: onPress,\n onPressUp: onPressUp,\n isDisabled: isDisabled,\n preventFocusOnPress: preventFocusOnPress,\n ref: ref\n });\n let { focusableProps: focusableProps } = (0, $bwqiF$useFocusable)(props, ref);\n if (allowFocusWhenDisabled) focusableProps.tabIndex = isDisabled ? -1 : focusableProps.tabIndex;\n let buttonProps = (0, $bwqiF$mergeProps)(focusableProps, pressProps, (0, $bwqiF$filterDOMProps)(props, {\n labelable: true\n }));\n return {\n isPressed: isPressed,\n buttonProps: (0, $bwqiF$mergeProps)(additionalProps, buttonProps, {\n 'aria-haspopup': props['aria-haspopup'],\n 'aria-expanded': props['aria-expanded'],\n 'aria-controls': props['aria-controls'],\n 'aria-pressed': props['aria-pressed'],\n onClick: (e)=>{\n if (deprecatedOnClick) {\n deprecatedOnClick(e);\n console.warn('onClick is deprecated, please use onPress');\n }\n }\n })\n };\n}\n\n\nexport {$701a24aa0da5b062$export$ea18c227d4417cc3 as useButton};\n//# sourceMappingURL=useButton.module.js.map\n","import {useButton as $701a24aa0da5b062$export$ea18c227d4417cc3} from \"./useButton.mjs\";\nimport {chain as $h7Tql$chain, mergeProps as $h7Tql$mergeProps} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $55f54f7887471b58$export$51e84d46ca0bc451(props, state, ref) {\n const { isSelected: isSelected } = state;\n const { isPressed: isPressed, buttonProps: buttonProps } = (0, $701a24aa0da5b062$export$ea18c227d4417cc3)({\n ...props,\n onPress: (0, $h7Tql$chain)(state.toggle, props.onPress)\n }, ref);\n return {\n isPressed: isPressed,\n isSelected: isSelected,\n isDisabled: props.isDisabled || false,\n buttonProps: (0, $h7Tql$mergeProps)(buttonProps, {\n 'aria-pressed': isSelected\n })\n };\n}\n\n\nexport {$55f54f7887471b58$export$51e84d46ca0bc451 as useToggleButton};\n//# sourceMappingURL=useToggleButton.module.js.map\n","import {createFocusManager as $k3LOe$createFocusManager} from \"@react-aria/focus\";\nimport {useLayoutEffect as $k3LOe$useLayoutEffect, filterDOMProps as $k3LOe$filterDOMProps} from \"@react-aria/utils\";\nimport {useState as $k3LOe$useState, useRef as $k3LOe$useRef} from \"react\";\nimport {useLocale as $k3LOe$useLocale} from \"@react-aria/i18n\";\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\n\nfunction $2680b1829e803644$export$fa142eb1681c520(props, ref) {\n const { 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, orientation: orientation = 'horizontal' } = props;\n let [isInToolbar, setInToolbar] = (0, $k3LOe$useState)(false);\n // should be safe because re-calling set state with the same value it already has is a no-op\n // this will allow us to react should a parent re-render and change its role though\n // eslint-disable-next-line react-hooks/exhaustive-deps\n (0, $k3LOe$useLayoutEffect)(()=>{\n var _ref_current_parentElement;\n setInToolbar(!!(ref.current && ((_ref_current_parentElement = ref.current.parentElement) === null || _ref_current_parentElement === void 0 ? void 0 : _ref_current_parentElement.closest('[role=\"toolbar\"]'))));\n });\n const { direction: direction } = (0, $k3LOe$useLocale)();\n const shouldReverse = direction === 'rtl' && orientation === 'horizontal';\n let focusManager = (0, $k3LOe$createFocusManager)(ref);\n const onKeyDown = (e)=>{\n // don't handle portalled events\n if (!e.currentTarget.contains(e.target)) return;\n if (orientation === 'horizontal' && e.key === 'ArrowRight' || orientation === 'vertical' && e.key === 'ArrowDown') {\n if (shouldReverse) focusManager.focusPrevious();\n else focusManager.focusNext();\n } else if (orientation === 'horizontal' && e.key === 'ArrowLeft' || orientation === 'vertical' && e.key === 'ArrowUp') {\n if (shouldReverse) focusManager.focusNext();\n else focusManager.focusPrevious();\n } else if (e.key === 'Tab') {\n // When the tab key is pressed, we want to move focus\n // out of the entire toolbar. To do this, move focus\n // to the first or last focusable child, and let the\n // browser handle the Tab key as usual from there.\n e.stopPropagation();\n lastFocused.current = document.activeElement;\n if (e.shiftKey) focusManager.focusFirst();\n else focusManager.focusLast();\n return;\n } else // if we didn't handle anything, return early so we don't preventDefault\n return;\n // Prevent arrow keys from being handled by nested action groups.\n e.stopPropagation();\n e.preventDefault();\n };\n // Record the last focused child when focus moves out of the toolbar.\n const lastFocused = (0, $k3LOe$useRef)(null);\n const onBlur = (e)=>{\n if (!e.currentTarget.contains(e.relatedTarget) && !lastFocused.current) lastFocused.current = e.target;\n };\n // Restore focus to the last focused child when focus returns into the toolbar.\n // If the element was removed, do nothing, either the first item in the first group,\n // or the last item in the last group will be focused, depending on direction.\n const onFocus = (e)=>{\n var _ref_current;\n if (lastFocused.current && !e.currentTarget.contains(e.relatedTarget) && ((_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.contains(e.target))) {\n var _lastFocused_current;\n (_lastFocused_current = lastFocused.current) === null || _lastFocused_current === void 0 ? void 0 : _lastFocused_current.focus();\n lastFocused.current = null;\n }\n };\n return {\n toolbarProps: {\n ...(0, $k3LOe$filterDOMProps)(props, {\n labelable: true\n }),\n role: !isInToolbar ? 'toolbar' : 'group',\n 'aria-orientation': orientation,\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabel == null ? ariaLabelledBy : undefined,\n onKeyDownCapture: !isInToolbar ? onKeyDown : undefined,\n onFocusCapture: !isInToolbar ? onFocus : undefined,\n onBlurCapture: !isInToolbar ? onBlur : undefined\n }\n };\n}\n\n\nexport {$2680b1829e803644$export$fa142eb1681c520 as useToolbar};\n//# sourceMappingURL=useToolbar.module.js.map\n","import {useToggleButton as $55f54f7887471b58$export$51e84d46ca0bc451} from \"./useToggleButton.mjs\";\nimport {useToolbar as $9iEyV$useToolbar} from \"@react-aria/toolbar\";\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 */ \n\nfunction $4547d1bf40011fdf$export$dd5580ae642f110f(props, state, ref) {\n let { isDisabled: isDisabled } = props;\n let { toolbarProps: toolbarProps } = (0, $9iEyV$useToolbar)(props, ref);\n return {\n groupProps: {\n ...toolbarProps,\n role: state.selectionMode === 'single' ? 'radiogroup' : toolbarProps.role,\n 'aria-disabled': isDisabled\n }\n };\n}\nfunction $4547d1bf40011fdf$export$bc53712daae3d6e6(props, state, ref) {\n let toggleState = {\n isSelected: state.selectedKeys.has(props.id),\n setSelected (isSelected) {\n state.setSelected(props.id, isSelected);\n },\n toggle () {\n state.toggleKey(props.id);\n }\n };\n let { isPressed: isPressed, isSelected: isSelected, isDisabled: isDisabled, buttonProps: buttonProps } = (0, $55f54f7887471b58$export$51e84d46ca0bc451)({\n ...props,\n id: undefined,\n isDisabled: props.isDisabled || state.isDisabled\n }, toggleState, ref);\n if (state.selectionMode === 'single') {\n buttonProps.role = 'radio';\n buttonProps['aria-checked'] = toggleState.isSelected;\n delete buttonProps['aria-pressed'];\n }\n return {\n isPressed: isPressed,\n isSelected: isSelected,\n isDisabled: isDisabled,\n buttonProps: buttonProps\n };\n}\n\n\nexport {$4547d1bf40011fdf$export$dd5580ae642f110f as useToggleButtonGroup, $4547d1bf40011fdf$export$bc53712daae3d6e6 as useToggleButtonGroupItem};\n//# sourceMappingURL=useToggleButtonGroup.module.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 */ /* Inspired by https://github.com/AlmeroSteyn/react-aria-live */ const $319e236875307eab$var$LIVEREGION_TIMEOUT_DELAY = 7000;\nlet $319e236875307eab$var$liveAnnouncer = null;\nfunction $319e236875307eab$export$a9b970dcc4ae71a9(message, assertiveness = 'assertive', timeout = $319e236875307eab$var$LIVEREGION_TIMEOUT_DELAY) {\n if (!$319e236875307eab$var$liveAnnouncer) {\n $319e236875307eab$var$liveAnnouncer = new $319e236875307eab$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 ($319e236875307eab$var$liveAnnouncer === null || $319e236875307eab$var$liveAnnouncer === void 0 ? void 0 : $319e236875307eab$var$liveAnnouncer.isAttached()) $319e236875307eab$var$liveAnnouncer === null || $319e236875307eab$var$liveAnnouncer === void 0 ? void 0 : $319e236875307eab$var$liveAnnouncer.announce(message, assertiveness, timeout);\n }, 100);\n else $319e236875307eab$var$liveAnnouncer.announce(message, assertiveness, timeout);\n } else $319e236875307eab$var$liveAnnouncer.announce(message, assertiveness, timeout);\n}\nfunction $319e236875307eab$export$d10ae4f68404609a(assertiveness) {\n if ($319e236875307eab$var$liveAnnouncer) $319e236875307eab$var$liveAnnouncer.clear(assertiveness);\n}\nfunction $319e236875307eab$export$d8686216b8b81b2f() {\n if ($319e236875307eab$var$liveAnnouncer) {\n $319e236875307eab$var$liveAnnouncer.destroy();\n $319e236875307eab$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 $319e236875307eab$var$LiveAnnouncer {\n isAttached() {\n var _this_node;\n return (_this_node = this.node) === null || _this_node === void 0 ? void 0 : _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 = $319e236875307eab$var$LIVEREGION_TIMEOUT_DELAY) {\n var _this_assertiveLog, _this_politeLog;\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 = this.assertiveLog) === null || _this_assertiveLog === void 0 ? void 0 : _this_assertiveLog.appendChild(node);\n else (_this_politeLog = this.politeLog) === null || _this_politeLog === void 0 ? void 0 : _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 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}\n\n\nexport {$319e236875307eab$export$a9b970dcc4ae71a9 as announce, $319e236875307eab$export$d10ae4f68404609a as clearAnnouncer, $319e236875307eab$export$d8686216b8b81b2f as destroyAnnouncer};\n//# sourceMappingURL=LiveAnnouncer.module.js.map\n","import {createContext as $69F46$createContext, useMemo as $69F46$useMemo, useContext as $69F46$useContext, useState as $69F46$useState, useRef as $69F46$useRef, useEffect as $69F46$useEffect} 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 */ \nconst $e5be200c675c3b3a$export$aca958c65c314e6c = {\n badInput: false,\n customError: false,\n patternMismatch: false,\n rangeOverflow: false,\n rangeUnderflow: false,\n stepMismatch: false,\n tooLong: false,\n tooShort: false,\n typeMismatch: false,\n valueMissing: false,\n valid: true\n};\nconst $e5be200c675c3b3a$var$CUSTOM_VALIDITY_STATE = {\n ...$e5be200c675c3b3a$export$aca958c65c314e6c,\n customError: true,\n valid: false\n};\nconst $e5be200c675c3b3a$export$dad6ae84456c676a = {\n isInvalid: false,\n validationDetails: $e5be200c675c3b3a$export$aca958c65c314e6c,\n validationErrors: []\n};\nconst $e5be200c675c3b3a$export$571b5131b7e65c11 = (0, $69F46$createContext)({});\nconst $e5be200c675c3b3a$export$a763b9476acd3eb = '__formValidationState' + Date.now();\nfunction $e5be200c675c3b3a$export$fc1a364ae1f3ff10(props) {\n // Private prop for parent components to pass state to children.\n if (props[$e5be200c675c3b3a$export$a763b9476acd3eb]) {\n let { realtimeValidation: realtimeValidation, displayValidation: displayValidation, updateValidation: updateValidation, resetValidation: resetValidation, commitValidation: commitValidation } = props[$e5be200c675c3b3a$export$a763b9476acd3eb];\n return {\n realtimeValidation: realtimeValidation,\n displayValidation: displayValidation,\n updateValidation: updateValidation,\n resetValidation: resetValidation,\n commitValidation: commitValidation\n };\n }\n // eslint-disable-next-line react-hooks/rules-of-hooks\n return $e5be200c675c3b3a$var$useFormValidationStateImpl(props);\n}\nfunction $e5be200c675c3b3a$var$useFormValidationStateImpl(props) {\n let { isInvalid: isInvalid, validationState: validationState, name: name, value: value, builtinValidation: builtinValidation, validate: validate, validationBehavior: validationBehavior = 'aria' } = props;\n // backward compatibility.\n if (validationState) isInvalid || (isInvalid = validationState === 'invalid');\n // If the isInvalid prop is controlled, update validation result in realtime.\n let controlledError = isInvalid !== undefined ? {\n isInvalid: isInvalid,\n validationErrors: [],\n validationDetails: $e5be200c675c3b3a$var$CUSTOM_VALIDITY_STATE\n } : null;\n // Perform custom client side validation.\n let clientError = (0, $69F46$useMemo)(()=>{\n if (!validate || value == null) return null;\n let validateErrors = $e5be200c675c3b3a$var$runValidate(validate, value);\n return $e5be200c675c3b3a$var$getValidationResult(validateErrors);\n }, [\n validate,\n value\n ]);\n if (builtinValidation === null || builtinValidation === void 0 ? void 0 : builtinValidation.validationDetails.valid) builtinValidation = undefined;\n // Get relevant server errors from the form.\n let serverErrors = (0, $69F46$useContext)($e5be200c675c3b3a$export$571b5131b7e65c11);\n let serverErrorMessages = (0, $69F46$useMemo)(()=>{\n if (name) return Array.isArray(name) ? name.flatMap((name)=>$e5be200c675c3b3a$var$asArray(serverErrors[name])) : $e5be200c675c3b3a$var$asArray(serverErrors[name]);\n return [];\n }, [\n serverErrors,\n name\n ]);\n // Show server errors when the form gets a new value, and clear when the user changes the value.\n let [lastServerErrors, setLastServerErrors] = (0, $69F46$useState)(serverErrors);\n let [isServerErrorCleared, setServerErrorCleared] = (0, $69F46$useState)(false);\n if (serverErrors !== lastServerErrors) {\n setLastServerErrors(serverErrors);\n setServerErrorCleared(false);\n }\n let serverError = (0, $69F46$useMemo)(()=>$e5be200c675c3b3a$var$getValidationResult(isServerErrorCleared ? [] : serverErrorMessages), [\n isServerErrorCleared,\n serverErrorMessages\n ]);\n // Track the next validation state in a ref until commitValidation is called.\n let nextValidation = (0, $69F46$useRef)($e5be200c675c3b3a$export$dad6ae84456c676a);\n let [currentValidity, setCurrentValidity] = (0, $69F46$useState)($e5be200c675c3b3a$export$dad6ae84456c676a);\n let lastError = (0, $69F46$useRef)($e5be200c675c3b3a$export$dad6ae84456c676a);\n let commitValidation = ()=>{\n if (!commitQueued) return;\n setCommitQueued(false);\n let error = clientError || builtinValidation || nextValidation.current;\n if (!$e5be200c675c3b3a$var$isEqualValidation(error, lastError.current)) {\n lastError.current = error;\n setCurrentValidity(error);\n }\n };\n let [commitQueued, setCommitQueued] = (0, $69F46$useState)(false);\n (0, $69F46$useEffect)(commitValidation);\n // realtimeValidation is used to update the native input element's state based on custom validation logic.\n // displayValidation is the currently displayed validation state that the user sees (e.g. on input change/form submit).\n // With validationBehavior=\"aria\", all errors are displayed in realtime rather than on submit.\n let realtimeValidation = controlledError || serverError || clientError || builtinValidation || $e5be200c675c3b3a$export$dad6ae84456c676a;\n let displayValidation = validationBehavior === 'native' ? controlledError || serverError || currentValidity : controlledError || serverError || clientError || builtinValidation || currentValidity;\n return {\n realtimeValidation: realtimeValidation,\n displayValidation: displayValidation,\n updateValidation (value) {\n // If validationBehavior is 'aria', update in realtime. Otherwise, store in a ref until commit.\n if (validationBehavior === 'aria' && !$e5be200c675c3b3a$var$isEqualValidation(currentValidity, value)) setCurrentValidity(value);\n else nextValidation.current = value;\n },\n resetValidation () {\n // Update the currently displayed validation state to valid on form reset,\n // even if the native validity says it isn't. It'll show again on the next form submit.\n let error = $e5be200c675c3b3a$export$dad6ae84456c676a;\n if (!$e5be200c675c3b3a$var$isEqualValidation(error, lastError.current)) {\n lastError.current = error;\n setCurrentValidity(error);\n }\n // Do not commit validation after the next render. This avoids a condition where\n // useSelect calls commitValidation inside an onReset handler.\n if (validationBehavior === 'native') setCommitQueued(false);\n setServerErrorCleared(true);\n },\n commitValidation () {\n // Commit validation state so the user sees it on blur/change/submit. Also clear any server errors.\n // Wait until after the next render to commit so that the latest value has been validated.\n if (validationBehavior === 'native') setCommitQueued(true);\n setServerErrorCleared(true);\n }\n };\n}\nfunction $e5be200c675c3b3a$var$asArray(v) {\n if (!v) return [];\n return Array.isArray(v) ? v : [\n v\n ];\n}\nfunction $e5be200c675c3b3a$var$runValidate(validate, value) {\n if (typeof validate === 'function') {\n let e = validate(value);\n if (e && typeof e !== 'boolean') return $e5be200c675c3b3a$var$asArray(e);\n }\n return [];\n}\nfunction $e5be200c675c3b3a$var$getValidationResult(errors) {\n return errors.length ? {\n isInvalid: true,\n validationErrors: errors,\n validationDetails: $e5be200c675c3b3a$var$CUSTOM_VALIDITY_STATE\n } : null;\n}\nfunction $e5be200c675c3b3a$var$isEqualValidation(a, b) {\n if (a === b) return true;\n return !!a && !!b && a.isInvalid === b.isInvalid && a.validationErrors.length === b.validationErrors.length && a.validationErrors.every((a, i)=>a === b.validationErrors[i]) && Object.entries(a.validationDetails).every(([k, v])=>b.validationDetails[k] === v);\n}\nfunction $e5be200c675c3b3a$export$75ee7c75d68f5b0e(...results) {\n let errors = new Set();\n let isInvalid = false;\n let validationDetails = {\n ...$e5be200c675c3b3a$export$aca958c65c314e6c\n };\n for (let v of results){\n var _validationDetails, _key;\n for (let e of v.validationErrors)errors.add(e);\n // Only these properties apply for checkboxes.\n isInvalid || (isInvalid = v.isInvalid);\n for(let key in validationDetails)(_validationDetails = validationDetails)[_key = key] || (_validationDetails[_key] = v.validationDetails[key]);\n }\n validationDetails.valid = !isInvalid;\n return {\n isInvalid: isInvalid,\n validationErrors: [\n ...errors\n ],\n validationDetails: validationDetails\n };\n}\n\n\nexport {$e5be200c675c3b3a$export$aca958c65c314e6c as VALID_VALIDITY_STATE, $e5be200c675c3b3a$export$dad6ae84456c676a as DEFAULT_VALIDATION_RESULT, $e5be200c675c3b3a$export$571b5131b7e65c11 as FormValidationContext, $e5be200c675c3b3a$export$a763b9476acd3eb as privateValidationStateProp, $e5be200c675c3b3a$export$fc1a364ae1f3ff10 as useFormValidationState, $e5be200c675c3b3a$export$75ee7c75d68f5b0e as mergeValidation};\n//# sourceMappingURL=useFormValidationState.module.js.map\n","import {setInteractionModality as $9Gacy$setInteractionModality} from \"@react-aria/interactions\";\nimport {useEffect as $9Gacy$useEffect} from \"react\";\nimport {useLayoutEffect as $9Gacy$useLayoutEffect, useEffectEvent as $9Gacy$useEffectEvent} from \"@react-aria/utils\";\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\nfunction $e93e671b31057976$export$b8473d3665f3a75a(props, state, ref) {\n let { validationBehavior: validationBehavior, focus: focus } = props;\n // This is a useLayoutEffect so that it runs before the useEffect in useFormValidationState, which commits the validation change.\n (0, $9Gacy$useLayoutEffect)(()=>{\n if (validationBehavior === 'native' && (ref === null || ref === void 0 ? void 0 : ref.current) && !ref.current.disabled) {\n let errorMessage = state.realtimeValidation.isInvalid ? state.realtimeValidation.validationErrors.join(' ') || 'Invalid value.' : '';\n ref.current.setCustomValidity(errorMessage);\n // Prevent default tooltip for validation message.\n // https://bugzilla.mozilla.org/show_bug.cgi?id=605277\n if (!ref.current.hasAttribute('title')) ref.current.title = '';\n if (!state.realtimeValidation.isInvalid) state.updateValidation($e93e671b31057976$var$getNativeValidity(ref.current));\n }\n });\n let onReset = (0, $9Gacy$useEffectEvent)(()=>{\n state.resetValidation();\n });\n let onInvalid = (0, $9Gacy$useEffectEvent)((e)=>{\n var _ref_current;\n // Only commit validation if we are not already displaying one.\n // This avoids clearing server errors that the user didn't actually fix.\n if (!state.displayValidation.isInvalid) state.commitValidation();\n // Auto focus the first invalid input in a form, unless the error already had its default prevented.\n let form = ref === null || ref === void 0 ? void 0 : (_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.form;\n if (!e.defaultPrevented && ref && form && $e93e671b31057976$var$getFirstInvalidInput(form) === ref.current) {\n var _ref_current1;\n if (focus) focus();\n else (_ref_current1 = ref.current) === null || _ref_current1 === void 0 ? void 0 : _ref_current1.focus();\n // Always show focus ring.\n (0, $9Gacy$setInteractionModality)('keyboard');\n }\n // Prevent default browser error UI from appearing.\n e.preventDefault();\n });\n let onChange = (0, $9Gacy$useEffectEvent)(()=>{\n state.commitValidation();\n });\n (0, $9Gacy$useEffect)(()=>{\n let input = ref === null || ref === void 0 ? void 0 : ref.current;\n if (!input) return;\n let form = input.form;\n input.addEventListener('invalid', onInvalid);\n input.addEventListener('change', onChange);\n form === null || form === void 0 ? void 0 : form.addEventListener('reset', onReset);\n return ()=>{\n input.removeEventListener('invalid', onInvalid);\n input.removeEventListener('change', onChange);\n form === null || form === void 0 ? void 0 : form.removeEventListener('reset', onReset);\n };\n }, [\n ref,\n onInvalid,\n onChange,\n onReset,\n validationBehavior\n ]);\n}\nfunction $e93e671b31057976$var$getValidity(input) {\n // The native ValidityState object is live, meaning each property is a getter that returns the current state.\n // We need to create a snapshot of the validity state at the time this function is called to avoid unpredictable React renders.\n let validity = input.validity;\n return {\n badInput: validity.badInput,\n customError: validity.customError,\n patternMismatch: validity.patternMismatch,\n rangeOverflow: validity.rangeOverflow,\n rangeUnderflow: validity.rangeUnderflow,\n stepMismatch: validity.stepMismatch,\n tooLong: validity.tooLong,\n tooShort: validity.tooShort,\n typeMismatch: validity.typeMismatch,\n valueMissing: validity.valueMissing,\n valid: validity.valid\n };\n}\nfunction $e93e671b31057976$var$getNativeValidity(input) {\n return {\n isInvalid: !input.validity.valid,\n validationDetails: $e93e671b31057976$var$getValidity(input),\n validationErrors: input.validationMessage ? [\n input.validationMessage\n ] : []\n };\n}\nfunction $e93e671b31057976$var$getFirstInvalidInput(form) {\n for(let i = 0; i < form.elements.length; i++){\n let element = form.elements[i];\n if (!element.validity.valid) return element;\n }\n return null;\n}\n\n\nexport {$e93e671b31057976$export$b8473d3665f3a75a as useFormValidation};\n//# sourceMappingURL=useFormValidation.module.js.map\n","import {mergeProps as $bvdLj$mergeProps, filterDOMProps as $bvdLj$filterDOMProps, useFormReset as $bvdLj$useFormReset} from \"@react-aria/utils\";\nimport {useFocusable as $bvdLj$useFocusable} from \"@react-aria/focus\";\nimport {usePress as $bvdLj$usePress} from \"@react-aria/interactions\";\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\nfunction $d2c8e2b0480f3f34$export$cbe85ee05b554577(props, state, ref) {\n let { isDisabled: isDisabled = false, isReadOnly: isReadOnly = false, value: value, name: name, children: children, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, validationState: validationState = 'valid', isInvalid: isInvalid } = props;\n let onChange = (e)=>{\n // since we spread props on label, onChange will end up there as well as in here.\n // so we have to stop propagation at the lowest level that we care about\n e.stopPropagation();\n state.setSelected(e.target.checked);\n };\n let hasChildren = children != null;\n let hasAriaLabel = ariaLabel != null || ariaLabelledby != null;\n if (!hasChildren && !hasAriaLabel) console.warn('If you do not provide children, you must specify an aria-label for accessibility');\n // This handles focusing the input on pointer down, which Safari does not do by default.\n let { pressProps: pressProps, isPressed: isPressed } = (0, $bvdLj$usePress)({\n isDisabled: isDisabled\n });\n // iOS does not toggle checkboxes if you drag off and back onto the label, so handle it ourselves.\n let { pressProps: labelProps, isPressed: isLabelPressed } = (0, $bvdLj$usePress)({\n isDisabled: isDisabled || isReadOnly,\n onPress () {\n state.toggle();\n }\n });\n let { focusableProps: focusableProps } = (0, $bvdLj$useFocusable)(props, ref);\n let interactions = (0, $bvdLj$mergeProps)(pressProps, focusableProps);\n let domProps = (0, $bvdLj$filterDOMProps)(props, {\n labelable: true\n });\n (0, $bvdLj$useFormReset)(ref, state.isSelected, state.setSelected);\n return {\n labelProps: (0, $bvdLj$mergeProps)(labelProps, {\n onClick: (e)=>e.preventDefault()\n }),\n inputProps: (0, $bvdLj$mergeProps)(domProps, {\n 'aria-invalid': isInvalid || validationState === 'invalid' || undefined,\n 'aria-errormessage': props['aria-errormessage'],\n 'aria-controls': props['aria-controls'],\n 'aria-readonly': isReadOnly || undefined,\n onChange: onChange,\n disabled: isDisabled,\n ...value == null ? {} : {\n value: value\n },\n name: name,\n type: 'checkbox',\n ...interactions\n }),\n isSelected: state.isSelected,\n isPressed: isPressed || isLabelPressed,\n isDisabled: isDisabled,\n isReadOnly: isReadOnly,\n isInvalid: isInvalid || validationState === 'invalid'\n };\n}\n\n\nexport {$d2c8e2b0480f3f34$export$cbe85ee05b554577 as useToggle};\n//# sourceMappingURL=useToggle.module.js.map\n","import {useEffect as $jNP0e$useEffect} from \"react\";\nimport {mergeProps as $jNP0e$mergeProps} from \"@react-aria/utils\";\nimport {useFormValidationState as $jNP0e$useFormValidationState, privateValidationStateProp as $jNP0e$privateValidationStateProp} from \"@react-stately/form\";\nimport {useFormValidation as $jNP0e$useFormValidation} from \"@react-aria/form\";\nimport {usePress as $jNP0e$usePress} from \"@react-aria/interactions\";\nimport {useToggle as $jNP0e$useToggle} from \"@react-aria/toggle\";\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 $406796ff087fe49b$export$e375f10ce42261c5(props, state, inputRef) {\n // Create validation state here because it doesn't make sense to add to general useToggleState.\n let validationState = (0, $jNP0e$useFormValidationState)({\n ...props,\n value: state.isSelected\n });\n let { isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = validationState.displayValidation;\n let { labelProps: labelProps, inputProps: inputProps, isSelected: isSelected, isPressed: isPressed, isDisabled: isDisabled, isReadOnly: isReadOnly } = (0, $jNP0e$useToggle)({\n ...props,\n isInvalid: isInvalid\n }, state, inputRef);\n (0, $jNP0e$useFormValidation)(props, validationState, inputRef);\n let { isIndeterminate: isIndeterminate, isRequired: isRequired, validationBehavior: validationBehavior = 'aria' } = props;\n (0, $jNP0e$useEffect)(()=>{\n // indeterminate is a property, but it can only be set via javascript\n // https://css-tricks.com/indeterminate-checkboxes/\n if (inputRef.current) inputRef.current.indeterminate = !!isIndeterminate;\n });\n // Reset validation state on label press for checkbox with a hidden input.\n let { pressProps: pressProps } = (0, $jNP0e$usePress)({\n isDisabled: isDisabled || isReadOnly,\n onPress () {\n // @ts-expect-error\n let { [(0, $jNP0e$privateValidationStateProp)]: groupValidationState } = props;\n let { commitValidation: commitValidation } = groupValidationState ? groupValidationState : validationState;\n commitValidation();\n }\n });\n return {\n labelProps: (0, $jNP0e$mergeProps)(labelProps, pressProps),\n inputProps: {\n ...inputProps,\n checked: isSelected,\n 'aria-required': isRequired && validationBehavior === 'aria' || undefined,\n required: isRequired && validationBehavior === 'native'\n },\n isSelected: isSelected,\n isPressed: isPressed,\n isDisabled: isDisabled,\n isReadOnly: isReadOnly,\n isInvalid: isInvalid,\n validationErrors: validationErrors,\n validationDetails: validationDetails\n };\n}\n\n\nexport {$406796ff087fe49b$export$e375f10ce42261c5 as useCheckbox};\n//# sourceMappingURL=useCheckbox.module.js.map\n","import {useId as $83Elw$useId, useLabels as $83Elw$useLabels} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $d191a55c9702f145$export$8467354a121f1b9f(props) {\n let { id: id, label: label, 'aria-labelledby': ariaLabelledby, 'aria-label': ariaLabel, labelElementType: labelElementType = 'label' } = props;\n id = (0, $83Elw$useId)(id);\n let labelId = (0, $83Elw$useId)();\n let labelProps = {};\n if (label) {\n ariaLabelledby = ariaLabelledby ? `${labelId} ${ariaLabelledby}` : labelId;\n labelProps = {\n id: labelId,\n htmlFor: labelElementType === 'label' ? id : undefined\n };\n } else if (!ariaLabelledby && !ariaLabel) console.warn('If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility');\n let fieldProps = (0, $83Elw$useLabels)({\n id: id,\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledby\n });\n return {\n labelProps: labelProps,\n fieldProps: fieldProps\n };\n}\n\n\nexport {$d191a55c9702f145$export$8467354a121f1b9f as useLabel};\n//# sourceMappingURL=useLabel.module.js.map\n","import {useLabel as $d191a55c9702f145$export$8467354a121f1b9f} from \"./useLabel.mjs\";\nimport {useSlotId as $2kC82$useSlotId, mergeProps as $2kC82$mergeProps} from \"@react-aria/utils\";\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 */ \n\nfunction $2baaea4c71418dea$export$294aa081a6c6f55d(props) {\n let { description: description, errorMessage: errorMessage, isInvalid: isInvalid, validationState: validationState } = props;\n let { labelProps: labelProps, fieldProps: fieldProps } = (0, $d191a55c9702f145$export$8467354a121f1b9f)(props);\n let descriptionId = (0, $2kC82$useSlotId)([\n Boolean(description),\n Boolean(errorMessage),\n isInvalid,\n validationState\n ]);\n let errorMessageId = (0, $2kC82$useSlotId)([\n Boolean(description),\n Boolean(errorMessage),\n isInvalid,\n validationState\n ]);\n fieldProps = (0, $2kC82$mergeProps)(fieldProps, {\n 'aria-describedby': [\n descriptionId,\n // Use aria-describedby for error message because aria-errormessage is unsupported using VoiceOver or NVDA. See https://github.com/adobe/react-spectrum/issues/1346#issuecomment-740136268\n errorMessageId,\n props['aria-describedby']\n ].filter(Boolean).join(' ') || undefined\n });\n return {\n labelProps: labelProps,\n fieldProps: fieldProps,\n descriptionProps: {\n id: descriptionId\n },\n errorMessageProps: {\n id: errorMessageId\n }\n };\n}\n\n\nexport {$2baaea4c71418dea$export$294aa081a6c6f55d as useField};\n//# sourceMappingURL=useField.module.js.map\n","import {useControlledState as $d8rik$useControlledState} from \"@react-stately/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $3017fa7ffdddec74$export$8042c6c013fd5226(props = {}) {\n let { isReadOnly: isReadOnly } = props;\n // have to provide an empty function so useControlledState doesn't throw a fit\n // can't use useControlledState's prop calling because we need the event object from the change\n let [isSelected, setSelected] = (0, $d8rik$useControlledState)(props.isSelected, props.defaultSelected || false, props.onChange);\n function updateSelected(value) {\n if (!isReadOnly) setSelected(value);\n }\n function toggleState() {\n if (!isReadOnly) setSelected(!isSelected);\n }\n return {\n isSelected: isSelected,\n setSelected: updateSelected,\n toggle: toggleState\n };\n}\n\n\nexport {$3017fa7ffdddec74$export$8042c6c013fd5226 as useToggleState};\n//# sourceMappingURL=useToggleState.module.js.map\n","import {useControlledState as $69RjW$useControlledState} from \"@react-stately/utils\";\nimport {useMemo as $69RjW$useMemo} from \"react\";\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 */ \n\nfunction $ad999b7f496648d1$export$8deac67f4addf270(props) {\n let { selectionMode: selectionMode = 'single', disallowEmptySelection: disallowEmptySelection, isDisabled: isDisabled = false } = props;\n let [selectedKeys, setSelectedKeys] = (0, $69RjW$useControlledState)((0, $69RjW$useMemo)(()=>props.selectedKeys ? new Set(props.selectedKeys) : undefined, [\n props.selectedKeys\n ]), (0, $69RjW$useMemo)(()=>props.defaultSelectedKeys ? new Set(props.defaultSelectedKeys) : new Set(), [\n props.defaultSelectedKeys\n ]), props.onSelectionChange);\n return {\n selectionMode: selectionMode,\n isDisabled: isDisabled,\n selectedKeys: selectedKeys,\n setSelectedKeys: setSelectedKeys,\n toggleKey (key) {\n let keys;\n if (selectionMode === 'multiple') {\n keys = new Set(selectedKeys);\n if (keys.has(key) && (!disallowEmptySelection || keys.size > 1)) keys.delete(key);\n else keys.add(key);\n } else keys = new Set(selectedKeys.has(key) && !disallowEmptySelection ? [] : [\n key\n ]);\n setSelectedKeys(keys);\n },\n setSelected (key, isSelected) {\n if (isSelected !== selectedKeys.has(key)) this.toggleKey(key);\n }\n };\n}\n\n\nexport {$ad999b7f496648d1$export$8deac67f4addf270 as useToggleGroupState};\n//# sourceMappingURL=useToggleGroupState.module.js.map\n","import {mergeProps as $7JYt2$mergeProps} from \"@react-aria/utils\";\nimport $7JYt2$react, {useState as $7JYt2$useState, useMemo as $7JYt2$useMemo} from \"react\";\nimport {useFocusWithin as $7JYt2$useFocusWithin} from \"@react-aria/interactions\";\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 $5c3e21d68f1c4674$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 $5c3e21d68f1c4674$export$a966af930f325cab(props = {}) {\n let { style: style, isFocusable: isFocusable } = props;\n let [isFocused, setFocused] = (0, $7JYt2$useState)(false);\n let { focusWithinProps: focusWithinProps } = (0, $7JYt2$useFocusWithin)({\n isDisabled: !isFocusable,\n onFocusWithinChange: (val)=>setFocused(val)\n });\n // If focused, don't hide the element.\n let combinedStyles = (0, $7JYt2$useMemo)(()=>{\n if (isFocused) return style;\n else if (style) return {\n ...$5c3e21d68f1c4674$var$styles,\n ...style\n };\n else return $5c3e21d68f1c4674$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 $5c3e21d68f1c4674$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 } = $5c3e21d68f1c4674$export$a966af930f325cab(props);\n return /*#__PURE__*/ (0, $7JYt2$react).createElement(Element, (0, $7JYt2$mergeProps)(otherProps, visuallyHiddenProps), children);\n}\n\n\nexport {$5c3e21d68f1c4674$export$a966af930f325cab as useVisuallyHidden, $5c3e21d68f1c4674$export$439d29a4e110a164 as VisuallyHidden};\n//# sourceMappingURL=VisuallyHidden.module.js.map\n","import {useEffect as $ig234$useEffect} from \"react\";\nimport {filterDOMProps as $ig234$filterDOMProps, useFormReset as $ig234$useFormReset, getOwnerWindow as $ig234$getOwnerWindow, mergeProps as $ig234$mergeProps} from \"@react-aria/utils\";\nimport {useControlledState as $ig234$useControlledState} from \"@react-stately/utils\";\nimport {useField as $ig234$useField} from \"@react-aria/label\";\nimport {useFocusable as $ig234$useFocusable} from \"@react-aria/focus\";\nimport {useFormValidation as $ig234$useFormValidation} from \"@react-aria/form\";\nimport {useFormValidationState as $ig234$useFormValidationState} from \"@react-stately/form\";\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 $2d73ec29415bd339$export$712718f7aec83d5(props, ref) {\n let { inputElementType: inputElementType = 'input', isDisabled: isDisabled = false, isRequired: isRequired = false, isReadOnly: isReadOnly = false, type: type = 'text', validationBehavior: validationBehavior = 'aria' } = props;\n let [value, setValue] = (0, $ig234$useControlledState)(props.value, props.defaultValue || '', props.onChange);\n let { focusableProps: focusableProps } = (0, $ig234$useFocusable)(props, ref);\n let validationState = (0, $ig234$useFormValidationState)({\n ...props,\n value: value\n });\n let { isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = validationState.displayValidation;\n let { labelProps: labelProps, fieldProps: fieldProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps } = (0, $ig234$useField)({\n ...props,\n isInvalid: isInvalid,\n errorMessage: props.errorMessage || validationErrors\n });\n let domProps = (0, $ig234$filterDOMProps)(props, {\n labelable: true\n });\n const inputOnlyProps = {\n type: type,\n pattern: props.pattern\n };\n (0, $ig234$useFormReset)(ref, value, setValue);\n (0, $ig234$useFormValidation)(props, validationState, ref);\n (0, $ig234$useEffect)(()=>{\n // This works around a React/Chrome bug that prevents textarea elements from validating when controlled.\n // We prevent React from updating defaultValue (i.e. children) of textarea when `value` changes,\n // which causes Chrome to skip validation. Only updating `value` is ok in our case since our\n // textareas are always controlled. React is planning on removing this synchronization in a\n // future major version.\n // https://github.com/facebook/react/issues/19474\n // https://github.com/facebook/react/issues/11896\n if (ref.current instanceof (0, $ig234$getOwnerWindow)(ref.current).HTMLTextAreaElement) {\n let input = ref.current;\n Object.defineProperty(input, 'defaultValue', {\n get: ()=>input.value,\n set: ()=>{},\n configurable: true\n });\n }\n }, [\n ref\n ]);\n return {\n labelProps: labelProps,\n inputProps: (0, $ig234$mergeProps)(domProps, inputElementType === 'input' ? inputOnlyProps : undefined, {\n disabled: isDisabled,\n readOnly: isReadOnly,\n required: isRequired && validationBehavior === 'native',\n 'aria-required': isRequired && validationBehavior === 'aria' || undefined,\n 'aria-invalid': isInvalid || undefined,\n 'aria-errormessage': props['aria-errormessage'],\n 'aria-activedescendant': props['aria-activedescendant'],\n 'aria-autocomplete': props['aria-autocomplete'],\n 'aria-haspopup': props['aria-haspopup'],\n 'aria-controls': props['aria-controls'],\n value: value,\n onChange: (e)=>setValue(e.target.value),\n autoComplete: props.autoComplete,\n autoCapitalize: props.autoCapitalize,\n maxLength: props.maxLength,\n minLength: props.minLength,\n name: props.name,\n placeholder: props.placeholder,\n inputMode: props.inputMode,\n autoCorrect: props.autoCorrect,\n spellCheck: props.spellCheck,\n // Clipboard events\n onCopy: props.onCopy,\n onCut: props.onCut,\n onPaste: props.onPaste,\n // Composition events\n onCompositionEnd: props.onCompositionEnd,\n onCompositionStart: props.onCompositionStart,\n onCompositionUpdate: props.onCompositionUpdate,\n // Selection events\n onSelect: props.onSelect,\n // Input events\n onBeforeInput: props.onBeforeInput,\n onInput: props.onInput,\n ...focusableProps,\n ...fieldProps\n }),\n descriptionProps: descriptionProps,\n errorMessageProps: errorMessageProps,\n isInvalid: isInvalid,\n validationErrors: validationErrors,\n validationDetails: validationDetails\n };\n}\n\n\nexport {$2d73ec29415bd339$export$712718f7aec83d5 as useTextField};\n//# sourceMappingURL=useTextField.module.js.map\n","import {isWebKit as $fZVmS$isWebKit, clamp as $fZVmS$clamp} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nconst $edcf132a9284368a$var$AXIS = {\n top: 'top',\n bottom: 'top',\n left: 'left',\n right: 'left'\n};\nconst $edcf132a9284368a$var$FLIPPED_DIRECTION = {\n top: 'bottom',\n bottom: 'top',\n left: 'right',\n right: 'left'\n};\nconst $edcf132a9284368a$var$CROSS_AXIS = {\n top: 'left',\n left: 'top'\n};\nconst $edcf132a9284368a$var$AXIS_SIZE = {\n top: 'height',\n left: 'width'\n};\nconst $edcf132a9284368a$var$TOTAL_SIZE = {\n width: 'totalWidth',\n height: 'totalHeight'\n};\nconst $edcf132a9284368a$var$PARSED_PLACEMENT_CACHE = {};\nlet $edcf132a9284368a$var$visualViewport = typeof document !== 'undefined' ? window.visualViewport : null;\nfunction $edcf132a9284368a$var$getContainerDimensions(containerNode) {\n let width = 0, height = 0, totalWidth = 0, totalHeight = 0, top = 0, left = 0;\n let scroll = {};\n var _visualViewport_scale;\n let isPinchZoomedIn = ((_visualViewport_scale = $edcf132a9284368a$var$visualViewport === null || $edcf132a9284368a$var$visualViewport === void 0 ? void 0 : $edcf132a9284368a$var$visualViewport.scale) !== null && _visualViewport_scale !== void 0 ? _visualViewport_scale : 1) > 1;\n if (containerNode.tagName === 'BODY') {\n let documentElement = document.documentElement;\n totalWidth = documentElement.clientWidth;\n totalHeight = documentElement.clientHeight;\n var _visualViewport_width;\n width = (_visualViewport_width = $edcf132a9284368a$var$visualViewport === null || $edcf132a9284368a$var$visualViewport === void 0 ? void 0 : $edcf132a9284368a$var$visualViewport.width) !== null && _visualViewport_width !== void 0 ? _visualViewport_width : totalWidth;\n var _visualViewport_height;\n height = (_visualViewport_height = $edcf132a9284368a$var$visualViewport === null || $edcf132a9284368a$var$visualViewport === void 0 ? void 0 : $edcf132a9284368a$var$visualViewport.height) !== null && _visualViewport_height !== void 0 ? _visualViewport_height : totalHeight;\n scroll.top = documentElement.scrollTop || containerNode.scrollTop;\n scroll.left = documentElement.scrollLeft || containerNode.scrollLeft;\n // The goal of the below is to get a top/left value that represents the top/left of the visual viewport with\n // respect to the layout viewport origin. This combined with the scrollTop/scrollLeft will allow us to calculate\n // coordinates/values with respect to the visual viewport or with respect to the layout viewport.\n if ($edcf132a9284368a$var$visualViewport) {\n top = $edcf132a9284368a$var$visualViewport.offsetTop;\n left = $edcf132a9284368a$var$visualViewport.offsetLeft;\n }\n } else {\n ({ width: width, height: height, top: top, left: left } = $edcf132a9284368a$var$getOffset(containerNode));\n scroll.top = containerNode.scrollTop;\n scroll.left = containerNode.scrollLeft;\n totalWidth = width;\n totalHeight = height;\n }\n if ((0, $fZVmS$isWebKit)() && (containerNode.tagName === 'BODY' || containerNode.tagName === 'HTML') && isPinchZoomedIn) {\n // Safari will report a non-zero scrollTop/Left for the non-scrolling body/HTML element when pinch zoomed in unlike other browsers.\n // Set to zero for parity calculations so we get consistent positioning of overlays across all browsers.\n // Also switch to visualViewport.pageTop/pageLeft so that we still accomodate for scroll positioning for body/HTML elements that are actually scrollable\n // before pinch zoom happens\n scroll.top = 0;\n scroll.left = 0;\n var _visualViewport_pageTop;\n top = (_visualViewport_pageTop = $edcf132a9284368a$var$visualViewport === null || $edcf132a9284368a$var$visualViewport === void 0 ? void 0 : $edcf132a9284368a$var$visualViewport.pageTop) !== null && _visualViewport_pageTop !== void 0 ? _visualViewport_pageTop : 0;\n var _visualViewport_pageLeft;\n left = (_visualViewport_pageLeft = $edcf132a9284368a$var$visualViewport === null || $edcf132a9284368a$var$visualViewport === void 0 ? void 0 : $edcf132a9284368a$var$visualViewport.pageLeft) !== null && _visualViewport_pageLeft !== void 0 ? _visualViewport_pageLeft : 0;\n }\n return {\n width: width,\n height: height,\n totalWidth: totalWidth,\n totalHeight: totalHeight,\n scroll: scroll,\n top: top,\n left: left\n };\n}\nfunction $edcf132a9284368a$var$getScroll(node) {\n return {\n top: node.scrollTop,\n left: node.scrollLeft,\n width: node.scrollWidth,\n height: node.scrollHeight\n };\n}\n// Determines the amount of space required when moving the overlay to ensure it remains in the boundary\nfunction $edcf132a9284368a$var$getDelta(axis, offset, size, // The dimensions of the boundary element that the popover is\n// positioned within (most of the time this is the <body>).\nboundaryDimensions, // The dimensions of the containing block element that the popover is\n// positioned relative to (e.g. parent with position: relative).\n// Usually this is the same as the boundary element, but if the popover\n// is portaled somewhere other than the body and has an ancestor with\n// position: relative/absolute, it will be different.\ncontainerDimensions, padding, containerOffsetWithBoundary) {\n var _containerDimensions_scroll_axis;\n let containerScroll = (_containerDimensions_scroll_axis = containerDimensions.scroll[axis]) !== null && _containerDimensions_scroll_axis !== void 0 ? _containerDimensions_scroll_axis : 0;\n // The height/width of the boundary. Matches the axis along which we are adjusting the overlay position\n let boundarySize = boundaryDimensions[$edcf132a9284368a$var$AXIS_SIZE[axis]];\n // Calculate the edges of the boundary (accomodating for the boundary padding) and the edges of the overlay.\n // Note that these values are with respect to the visual viewport (aka 0,0 is the top left of the viewport)\n let boundaryStartEdge = boundaryDimensions.scroll[$edcf132a9284368a$var$AXIS[axis]] + padding;\n let boundaryEndEdge = boundarySize + boundaryDimensions.scroll[$edcf132a9284368a$var$AXIS[axis]] - padding;\n let startEdgeOffset = offset - containerScroll + containerOffsetWithBoundary[axis] - boundaryDimensions[$edcf132a9284368a$var$AXIS[axis]];\n let endEdgeOffset = offset - containerScroll + size + containerOffsetWithBoundary[axis] - boundaryDimensions[$edcf132a9284368a$var$AXIS[axis]];\n // If any of the overlay edges falls outside of the boundary, shift the overlay the required amount to align one of the overlay's\n // edges with the closest boundary edge.\n if (startEdgeOffset < boundaryStartEdge) return boundaryStartEdge - startEdgeOffset;\n else if (endEdgeOffset > boundaryEndEdge) return Math.max(boundaryEndEdge - endEdgeOffset, boundaryStartEdge - startEdgeOffset);\n else return 0;\n}\nfunction $edcf132a9284368a$var$getMargins(node) {\n let style = window.getComputedStyle(node);\n return {\n top: parseInt(style.marginTop, 10) || 0,\n bottom: parseInt(style.marginBottom, 10) || 0,\n left: parseInt(style.marginLeft, 10) || 0,\n right: parseInt(style.marginRight, 10) || 0\n };\n}\nfunction $edcf132a9284368a$var$parsePlacement(input) {\n if ($edcf132a9284368a$var$PARSED_PLACEMENT_CACHE[input]) return $edcf132a9284368a$var$PARSED_PLACEMENT_CACHE[input];\n let [placement, crossPlacement] = input.split(' ');\n let axis = $edcf132a9284368a$var$AXIS[placement] || 'right';\n let crossAxis = $edcf132a9284368a$var$CROSS_AXIS[axis];\n if (!$edcf132a9284368a$var$AXIS[crossPlacement]) crossPlacement = 'center';\n let size = $edcf132a9284368a$var$AXIS_SIZE[axis];\n let crossSize = $edcf132a9284368a$var$AXIS_SIZE[crossAxis];\n $edcf132a9284368a$var$PARSED_PLACEMENT_CACHE[input] = {\n placement: placement,\n crossPlacement: crossPlacement,\n axis: axis,\n crossAxis: crossAxis,\n size: size,\n crossSize: crossSize\n };\n return $edcf132a9284368a$var$PARSED_PLACEMENT_CACHE[input];\n}\nfunction $edcf132a9284368a$var$computePosition(childOffset, boundaryDimensions, overlaySize, placementInfo, offset, crossOffset, containerOffsetWithBoundary, isContainerPositioned, arrowSize, arrowBoundaryOffset) {\n let { placement: placement, crossPlacement: crossPlacement, axis: axis, crossAxis: crossAxis, size: size, crossSize: crossSize } = placementInfo;\n let position = {};\n var _childOffset_crossAxis;\n // button position\n position[crossAxis] = (_childOffset_crossAxis = childOffset[crossAxis]) !== null && _childOffset_crossAxis !== void 0 ? _childOffset_crossAxis : 0;\n var _childOffset_crossSize, _overlaySize_crossSize, _childOffset_crossSize1, _overlaySize_crossSize1;\n if (crossPlacement === 'center') // + (button size / 2) - (overlay size / 2)\n // at this point the overlay center should match the button center\n position[crossAxis] += (((_childOffset_crossSize = childOffset[crossSize]) !== null && _childOffset_crossSize !== void 0 ? _childOffset_crossSize : 0) - ((_overlaySize_crossSize = overlaySize[crossSize]) !== null && _overlaySize_crossSize !== void 0 ? _overlaySize_crossSize : 0)) / 2;\n else if (crossPlacement !== crossAxis) // + (button size) - (overlay size)\n // at this point the overlay bottom should match the button bottom\n position[crossAxis] += ((_childOffset_crossSize1 = childOffset[crossSize]) !== null && _childOffset_crossSize1 !== void 0 ? _childOffset_crossSize1 : 0) - ((_overlaySize_crossSize1 = overlaySize[crossSize]) !== null && _overlaySize_crossSize1 !== void 0 ? _overlaySize_crossSize1 : 0);\n /* else {\n the overlay top should match the button top\n } */ \n position[crossAxis] += crossOffset;\n // overlay top overlapping arrow with button bottom\n const minPosition = childOffset[crossAxis] - overlaySize[crossSize] + arrowSize + arrowBoundaryOffset;\n // overlay bottom overlapping arrow with button top\n const maxPosition = childOffset[crossAxis] + childOffset[crossSize] - arrowSize - arrowBoundaryOffset;\n position[crossAxis] = (0, $fZVmS$clamp)(position[crossAxis], minPosition, maxPosition);\n // Floor these so the position isn't placed on a partial pixel, only whole pixels. Shouldn't matter if it was floored or ceiled, so chose one.\n if (placement === axis) {\n // If the container is positioned (non-static), then we use the container's actual\n // height, as `bottom` will be relative to this height. But if the container is static,\n // then it can only be the `document.body`, and `bottom` will be relative to _its_\n // container, which should be as large as boundaryDimensions.\n const containerHeight = isContainerPositioned ? containerOffsetWithBoundary[size] : boundaryDimensions[$edcf132a9284368a$var$TOTAL_SIZE[size]];\n position[$edcf132a9284368a$var$FLIPPED_DIRECTION[axis]] = Math.floor(containerHeight - childOffset[axis] + offset);\n } else position[axis] = Math.floor(childOffset[axis] + childOffset[size] + offset);\n return position;\n}\nfunction $edcf132a9284368a$var$getMaxHeight(position, boundaryDimensions, containerOffsetWithBoundary, isContainerPositioned, margins, padding, overlayHeight, heightGrowthDirection) {\n const containerHeight = isContainerPositioned ? containerOffsetWithBoundary.height : boundaryDimensions[$edcf132a9284368a$var$TOTAL_SIZE.height];\n var _position_bottom;\n // For cases where position is set via \"bottom\" instead of \"top\", we need to calculate the true overlay top with respect to the boundary. Reverse calculate this with the same method\n // used in computePosition.\n let overlayTop = position.top != null ? containerOffsetWithBoundary.top + position.top : containerOffsetWithBoundary.top + (containerHeight - ((_position_bottom = position.bottom) !== null && _position_bottom !== void 0 ? _position_bottom : 0) - overlayHeight);\n var _boundaryDimensions_scroll_top, _margins_top, _margins_bottom, _boundaryDimensions_scroll_top1, _margins_top1, _margins_bottom1;\n let maxHeight = heightGrowthDirection !== 'top' ? // We want the distance between the top of the overlay to the bottom of the boundary\n Math.max(0, boundaryDimensions.height + boundaryDimensions.top + ((_boundaryDimensions_scroll_top = boundaryDimensions.scroll.top) !== null && _boundaryDimensions_scroll_top !== void 0 ? _boundaryDimensions_scroll_top : 0) - overlayTop // this is the top of the overlay\n - (((_margins_top = margins.top) !== null && _margins_top !== void 0 ? _margins_top : 0) + ((_margins_bottom = margins.bottom) !== null && _margins_bottom !== void 0 ? _margins_bottom : 0) + padding // save additional space for margin and padding\n )) : Math.max(0, overlayTop + overlayHeight // this is the bottom of the overlay\n - (boundaryDimensions.top + ((_boundaryDimensions_scroll_top1 = boundaryDimensions.scroll.top) !== null && _boundaryDimensions_scroll_top1 !== void 0 ? _boundaryDimensions_scroll_top1 : 0) // this is the top of the boundary\n ) - (((_margins_top1 = margins.top) !== null && _margins_top1 !== void 0 ? _margins_top1 : 0) + ((_margins_bottom1 = margins.bottom) !== null && _margins_bottom1 !== void 0 ? _margins_bottom1 : 0) + padding // save additional space for margin and padding\n ));\n return Math.min(boundaryDimensions.height - padding * 2, maxHeight);\n}\nfunction $edcf132a9284368a$var$getAvailableSpace(boundaryDimensions, containerOffsetWithBoundary, childOffset, margins, padding, placementInfo) {\n let { placement: placement, axis: axis, size: size } = placementInfo;\n var _boundaryDimensions_scroll_axis, _margins_axis;\n if (placement === axis) return Math.max(0, childOffset[axis] - boundaryDimensions[axis] - ((_boundaryDimensions_scroll_axis = boundaryDimensions.scroll[axis]) !== null && _boundaryDimensions_scroll_axis !== void 0 ? _boundaryDimensions_scroll_axis : 0) + containerOffsetWithBoundary[axis] - ((_margins_axis = margins[axis]) !== null && _margins_axis !== void 0 ? _margins_axis : 0) - margins[$edcf132a9284368a$var$FLIPPED_DIRECTION[axis]] - padding);\n var _margins_axis1;\n return Math.max(0, boundaryDimensions[size] + boundaryDimensions[axis] + boundaryDimensions.scroll[axis] - containerOffsetWithBoundary[axis] - childOffset[axis] - childOffset[size] - ((_margins_axis1 = margins[axis]) !== null && _margins_axis1 !== void 0 ? _margins_axis1 : 0) - margins[$edcf132a9284368a$var$FLIPPED_DIRECTION[axis]] - padding);\n}\nfunction $edcf132a9284368a$export$6839422d1f33cee9(placementInput, childOffset, overlaySize, scrollSize, margins, padding, flip, boundaryDimensions, containerDimensions, containerOffsetWithBoundary, offset, crossOffset, isContainerPositioned, userSetMaxHeight, arrowSize, arrowBoundaryOffset) {\n let placementInfo = $edcf132a9284368a$var$parsePlacement(placementInput);\n let { size: size, crossAxis: crossAxis, crossSize: crossSize, placement: placement, crossPlacement: crossPlacement } = placementInfo;\n let position = $edcf132a9284368a$var$computePosition(childOffset, boundaryDimensions, overlaySize, placementInfo, offset, crossOffset, containerOffsetWithBoundary, isContainerPositioned, arrowSize, arrowBoundaryOffset);\n let normalizedOffset = offset;\n let space = $edcf132a9284368a$var$getAvailableSpace(boundaryDimensions, containerOffsetWithBoundary, childOffset, margins, padding + offset, placementInfo);\n // Check if the scroll size of the overlay is greater than the available space to determine if we need to flip\n if (flip && scrollSize[size] > space) {\n let flippedPlacementInfo = $edcf132a9284368a$var$parsePlacement(`${$edcf132a9284368a$var$FLIPPED_DIRECTION[placement]} ${crossPlacement}`);\n let flippedPosition = $edcf132a9284368a$var$computePosition(childOffset, boundaryDimensions, overlaySize, flippedPlacementInfo, offset, crossOffset, containerOffsetWithBoundary, isContainerPositioned, arrowSize, arrowBoundaryOffset);\n let flippedSpace = $edcf132a9284368a$var$getAvailableSpace(boundaryDimensions, containerOffsetWithBoundary, childOffset, margins, padding + offset, flippedPlacementInfo);\n // If the available space for the flipped position is greater than the original available space, flip.\n if (flippedSpace > space) {\n placementInfo = flippedPlacementInfo;\n position = flippedPosition;\n normalizedOffset = offset;\n }\n }\n // Determine the direction the height of the overlay can grow so that we can choose how to calculate the max height\n let heightGrowthDirection = 'bottom';\n if (placementInfo.axis === 'top') {\n if (placementInfo.placement === 'top') heightGrowthDirection = 'top';\n else if (placementInfo.placement === 'bottom') heightGrowthDirection = 'bottom';\n } else if (placementInfo.crossAxis === 'top') {\n if (placementInfo.crossPlacement === 'top') heightGrowthDirection = 'bottom';\n else if (placementInfo.crossPlacement === 'bottom') heightGrowthDirection = 'top';\n }\n let delta = $edcf132a9284368a$var$getDelta(crossAxis, position[crossAxis], overlaySize[crossSize], boundaryDimensions, containerDimensions, padding, containerOffsetWithBoundary);\n position[crossAxis] += delta;\n let maxHeight = $edcf132a9284368a$var$getMaxHeight(position, boundaryDimensions, containerOffsetWithBoundary, isContainerPositioned, margins, padding, overlaySize.height, heightGrowthDirection);\n if (userSetMaxHeight && userSetMaxHeight < maxHeight) maxHeight = userSetMaxHeight;\n overlaySize.height = Math.min(overlaySize.height, maxHeight);\n position = $edcf132a9284368a$var$computePosition(childOffset, boundaryDimensions, overlaySize, placementInfo, normalizedOffset, crossOffset, containerOffsetWithBoundary, isContainerPositioned, arrowSize, arrowBoundaryOffset);\n delta = $edcf132a9284368a$var$getDelta(crossAxis, position[crossAxis], overlaySize[crossSize], boundaryDimensions, containerDimensions, padding, containerOffsetWithBoundary);\n position[crossAxis] += delta;\n let arrowPosition = {};\n // All values are transformed so that 0 is at the top/left of the overlay depending on the orientation\n // Prefer the arrow being in the center of the trigger/overlay anchor element\n // childOffset[crossAxis] + .5 * childOffset[crossSize] = absolute position with respect to the trigger's coordinate system that would place the arrow in the center of the trigger\n // position[crossAxis] - margins[AXIS[crossAxis]] = value use to transform the position to a value with respect to the overlay's coordinate system. A child element's (aka arrow) position absolute's \"0\"\n // is positioned after the margin of its parent (aka overlay) so we need to subtract it to get the proper coordinate transform\n let preferredArrowPosition = childOffset[crossAxis] + .5 * childOffset[crossSize] - position[crossAxis] - margins[$edcf132a9284368a$var$AXIS[crossAxis]];\n // Min/Max position limits for the arrow with respect to the overlay\n const arrowMinPosition = arrowSize / 2 + arrowBoundaryOffset;\n var _margins_left, _margins_right, _margins_top, _margins_bottom;\n // overlaySize[crossSize] - margins = true size of the overlay\n const overlayMargin = $edcf132a9284368a$var$AXIS[crossAxis] === 'left' ? ((_margins_left = margins.left) !== null && _margins_left !== void 0 ? _margins_left : 0) + ((_margins_right = margins.right) !== null && _margins_right !== void 0 ? _margins_right : 0) : ((_margins_top = margins.top) !== null && _margins_top !== void 0 ? _margins_top : 0) + ((_margins_bottom = margins.bottom) !== null && _margins_bottom !== void 0 ? _margins_bottom : 0);\n const arrowMaxPosition = overlaySize[crossSize] - overlayMargin - arrowSize / 2 - arrowBoundaryOffset;\n // Min/Max position limits for the arrow with respect to the trigger/overlay anchor element\n // Same margin accomodation done here as well as for the preferredArrowPosition\n const arrowOverlappingChildMinEdge = childOffset[crossAxis] + arrowSize / 2 - (position[crossAxis] + margins[$edcf132a9284368a$var$AXIS[crossAxis]]);\n const arrowOverlappingChildMaxEdge = childOffset[crossAxis] + childOffset[crossSize] - arrowSize / 2 - (position[crossAxis] + margins[$edcf132a9284368a$var$AXIS[crossAxis]]);\n // Clamp the arrow positioning so that it always is within the bounds of the anchor and the overlay\n const arrowPositionOverlappingChild = (0, $fZVmS$clamp)(preferredArrowPosition, arrowOverlappingChildMinEdge, arrowOverlappingChildMaxEdge);\n arrowPosition[crossAxis] = (0, $fZVmS$clamp)(arrowPositionOverlappingChild, arrowMinPosition, arrowMaxPosition);\n return {\n position: position,\n maxHeight: maxHeight,\n arrowOffsetLeft: arrowPosition.left,\n arrowOffsetTop: arrowPosition.top,\n placement: placementInfo.placement\n };\n}\nfunction $edcf132a9284368a$export$b3ceb0cbf1056d98(opts) {\n let { placement: placement, targetNode: targetNode, overlayNode: overlayNode, scrollNode: scrollNode, padding: padding, shouldFlip: shouldFlip, boundaryElement: boundaryElement, offset: offset, crossOffset: crossOffset, maxHeight: maxHeight, arrowSize: arrowSize = 0, arrowBoundaryOffset: arrowBoundaryOffset = 0 } = opts;\n let container = overlayNode instanceof HTMLElement ? $edcf132a9284368a$var$getContainingBlock(overlayNode) : document.documentElement;\n let isViewportContainer = container === document.documentElement;\n const containerPositionStyle = window.getComputedStyle(container).position;\n let isContainerPositioned = !!containerPositionStyle && containerPositionStyle !== 'static';\n let childOffset = isViewportContainer ? $edcf132a9284368a$var$getOffset(targetNode) : $edcf132a9284368a$var$getPosition(targetNode, container);\n if (!isViewportContainer) {\n let { marginTop: marginTop, marginLeft: marginLeft } = window.getComputedStyle(targetNode);\n childOffset.top += parseInt(marginTop, 10) || 0;\n childOffset.left += parseInt(marginLeft, 10) || 0;\n }\n let overlaySize = $edcf132a9284368a$var$getOffset(overlayNode);\n let margins = $edcf132a9284368a$var$getMargins(overlayNode);\n var _margins_left, _margins_right;\n overlaySize.width += ((_margins_left = margins.left) !== null && _margins_left !== void 0 ? _margins_left : 0) + ((_margins_right = margins.right) !== null && _margins_right !== void 0 ? _margins_right : 0);\n var _margins_top, _margins_bottom;\n overlaySize.height += ((_margins_top = margins.top) !== null && _margins_top !== void 0 ? _margins_top : 0) + ((_margins_bottom = margins.bottom) !== null && _margins_bottom !== void 0 ? _margins_bottom : 0);\n let scrollSize = $edcf132a9284368a$var$getScroll(scrollNode);\n let boundaryDimensions = $edcf132a9284368a$var$getContainerDimensions(boundaryElement);\n let containerDimensions = $edcf132a9284368a$var$getContainerDimensions(container);\n // If the container is the HTML element wrapping the body element, the retrieved scrollTop/scrollLeft will be equal to the\n // body element's scroll. Set the container's scroll values to 0 since the overlay's edge position value in getDelta don't then need to be further offset\n // by the container scroll since they are essentially the same containing element and thus in the same coordinate system\n let containerOffsetWithBoundary = boundaryElement.tagName === 'BODY' ? $edcf132a9284368a$var$getOffset(container) : $edcf132a9284368a$var$getPosition(container, boundaryElement);\n if (container.tagName === 'HTML' && boundaryElement.tagName === 'BODY') {\n containerDimensions.scroll.top = 0;\n containerDimensions.scroll.left = 0;\n }\n return $edcf132a9284368a$export$6839422d1f33cee9(placement, childOffset, overlaySize, scrollSize, margins, padding, shouldFlip, boundaryDimensions, containerDimensions, containerOffsetWithBoundary, offset, crossOffset, isContainerPositioned, maxHeight, arrowSize, arrowBoundaryOffset);\n}\nfunction $edcf132a9284368a$var$getOffset(node) {\n let { top: top, left: left, width: width, height: height } = node.getBoundingClientRect();\n let { scrollTop: scrollTop, scrollLeft: scrollLeft, clientTop: clientTop, clientLeft: clientLeft } = document.documentElement;\n return {\n top: top + scrollTop - clientTop,\n left: left + scrollLeft - clientLeft,\n width: width,\n height: height\n };\n}\nfunction $edcf132a9284368a$var$getPosition(node, parent) {\n let style = window.getComputedStyle(node);\n let offset;\n if (style.position === 'fixed') {\n let { top: top, left: left, width: width, height: height } = node.getBoundingClientRect();\n offset = {\n top: top,\n left: left,\n width: width,\n height: height\n };\n } else {\n offset = $edcf132a9284368a$var$getOffset(node);\n let parentOffset = $edcf132a9284368a$var$getOffset(parent);\n let parentStyle = window.getComputedStyle(parent);\n parentOffset.top += (parseInt(parentStyle.borderTopWidth, 10) || 0) - parent.scrollTop;\n parentOffset.left += (parseInt(parentStyle.borderLeftWidth, 10) || 0) - parent.scrollLeft;\n offset.top -= parentOffset.top;\n offset.left -= parentOffset.left;\n }\n offset.top -= parseInt(style.marginTop, 10) || 0;\n offset.left -= parseInt(style.marginLeft, 10) || 0;\n return offset;\n}\n// Returns the containing block of an element, which is the element that\n// this element will be positioned relative to.\n// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block\nfunction $edcf132a9284368a$var$getContainingBlock(node) {\n // The offsetParent of an element in most cases equals the containing block.\n // https://w3c.github.io/csswg-drafts/cssom-view/#dom-htmlelement-offsetparent\n let offsetParent = node.offsetParent;\n // The offsetParent algorithm terminates at the document body,\n // even if the body is not a containing block. Double check that\n // and use the documentElement if so.\n if (offsetParent && offsetParent === document.body && window.getComputedStyle(offsetParent).position === 'static' && !$edcf132a9284368a$var$isContainingBlock(offsetParent)) offsetParent = document.documentElement;\n // TODO(later): handle table elements?\n // The offsetParent can be null if the element has position: fixed, or a few other cases.\n // We have to walk up the tree manually in this case because fixed positioned elements\n // are still positioned relative to their containing block, which is not always the viewport.\n if (offsetParent == null) {\n offsetParent = node.parentElement;\n while(offsetParent && !$edcf132a9284368a$var$isContainingBlock(offsetParent))offsetParent = offsetParent.parentElement;\n }\n // Fall back to the viewport.\n return offsetParent || document.documentElement;\n}\n// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\nfunction $edcf132a9284368a$var$isContainingBlock(node) {\n let style = window.getComputedStyle(node);\n return style.transform !== 'none' || /transform|perspective/.test(style.willChange) || style.filter !== 'none' || style.contain === 'paint' || 'backdropFilter' in style && style.backdropFilter !== 'none' || 'WebkitBackdropFilter' in style && style.WebkitBackdropFilter !== 'none';\n}\n\n\nexport {$edcf132a9284368a$export$6839422d1f33cee9 as calculatePositionInternal, $edcf132a9284368a$export$b3ceb0cbf1056d98 as calculatePosition};\n//# sourceMappingURL=calculatePosition.module.js.map\n","import {useEffect as $dRVb8$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 */ \nconst $dd149f63282afbbf$export$f6211563215e3b37 = new WeakMap();\nfunction $dd149f63282afbbf$export$18fc8428861184da(opts) {\n let { triggerRef: triggerRef, isOpen: isOpen, onClose: onClose } = opts;\n (0, $dRVb8$useEffect)(()=>{\n if (!isOpen || onClose === null) return;\n let onScroll = (e)=>{\n // Ignore if scrolling an scrollable region outside the trigger's tree.\n let target = e.target;\n // window is not a Node and doesn't have contain, but window contains everything\n if (!triggerRef.current || target instanceof Node && !target.contains(triggerRef.current)) return;\n // Ignore scroll events on any input or textarea as the cursor position can cause it to scroll\n // such as in a combobox. Clicking the dropdown button places focus on the input, and if the\n // text inside the input extends beyond the 'end', then it will scroll so the cursor is visible at the end.\n if (e.target instanceof HTMLInputElement || e.target instanceof HTMLTextAreaElement) return;\n let onCloseHandler = onClose || $dd149f63282afbbf$export$f6211563215e3b37.get(triggerRef.current);\n if (onCloseHandler) onCloseHandler();\n };\n window.addEventListener('scroll', onScroll, true);\n return ()=>{\n window.removeEventListener('scroll', onScroll, true);\n };\n }, [\n isOpen,\n onClose,\n triggerRef\n ]);\n}\n\n\nexport {$dd149f63282afbbf$export$f6211563215e3b37 as onCloseMap, $dd149f63282afbbf$export$18fc8428861184da as useCloseOnScroll};\n//# sourceMappingURL=useCloseOnScroll.module.js.map\n","import {calculatePosition as $edcf132a9284368a$export$b3ceb0cbf1056d98} from \"./calculatePosition.mjs\";\nimport {useCloseOnScroll as $dd149f63282afbbf$export$18fc8428861184da} from \"./useCloseOnScroll.mjs\";\nimport {useState as $39EOa$useState, useRef as $39EOa$useRef, useEffect as $39EOa$useEffect, useCallback as $39EOa$useCallback} from \"react\";\nimport {useLayoutEffect as $39EOa$useLayoutEffect, useResizeObserver as $39EOa$useResizeObserver} from \"@react-aria/utils\";\nimport {useLocale as $39EOa$useLocale} from \"@react-aria/i18n\";\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\nlet $2a41e45df1593e64$var$visualViewport = typeof document !== 'undefined' ? window.visualViewport : null;\nfunction $2a41e45df1593e64$export$d39e1813b3bdd0e1(props) {\n let { direction: direction } = (0, $39EOa$useLocale)();\n let { arrowSize: arrowSize = 0, targetRef: targetRef, overlayRef: overlayRef, scrollRef: scrollRef = overlayRef, placement: placement = 'bottom', containerPadding: containerPadding = 12, shouldFlip: shouldFlip = true, boundaryElement: boundaryElement = typeof document !== 'undefined' ? document.body : null, offset: offset = 0, crossOffset: crossOffset = 0, shouldUpdatePosition: shouldUpdatePosition = true, isOpen: isOpen = true, onClose: onClose, maxHeight: maxHeight, arrowBoundaryOffset: arrowBoundaryOffset = 0 } = props;\n let [position, setPosition] = (0, $39EOa$useState)(null);\n let deps = [\n shouldUpdatePosition,\n placement,\n overlayRef.current,\n targetRef.current,\n scrollRef.current,\n containerPadding,\n shouldFlip,\n boundaryElement,\n offset,\n crossOffset,\n isOpen,\n direction,\n maxHeight,\n arrowBoundaryOffset,\n arrowSize\n ];\n // Note, the position freezing breaks if body sizes itself dynamicly with the visual viewport but that might\n // just be a non-realistic use case\n // Upon opening a overlay, record the current visual viewport scale so we can freeze the overlay styles\n let lastScale = (0, $39EOa$useRef)($2a41e45df1593e64$var$visualViewport === null || $2a41e45df1593e64$var$visualViewport === void 0 ? void 0 : $2a41e45df1593e64$var$visualViewport.scale);\n (0, $39EOa$useEffect)(()=>{\n if (isOpen) lastScale.current = $2a41e45df1593e64$var$visualViewport === null || $2a41e45df1593e64$var$visualViewport === void 0 ? void 0 : $2a41e45df1593e64$var$visualViewport.scale;\n }, [\n isOpen\n ]);\n let updatePosition = (0, $39EOa$useCallback)(()=>{\n if (shouldUpdatePosition === false || !isOpen || !overlayRef.current || !targetRef.current || !boundaryElement) return;\n if (($2a41e45df1593e64$var$visualViewport === null || $2a41e45df1593e64$var$visualViewport === void 0 ? void 0 : $2a41e45df1593e64$var$visualViewport.scale) !== lastScale.current) return;\n // Determine a scroll anchor based on the focused element.\n // This stores the offset of the anchor element from the scroll container\n // so it can be restored after repositioning. This way if the overlay height\n // changes, the focused element appears to stay in the same position.\n let anchor = null;\n if (scrollRef.current && scrollRef.current.contains(document.activeElement)) {\n var _document_activeElement;\n let anchorRect = (_document_activeElement = document.activeElement) === null || _document_activeElement === void 0 ? void 0 : _document_activeElement.getBoundingClientRect();\n let scrollRect = scrollRef.current.getBoundingClientRect();\n var _anchorRect_top;\n // Anchor from the top if the offset is in the top half of the scrollable element,\n // otherwise anchor from the bottom.\n anchor = {\n type: 'top',\n offset: ((_anchorRect_top = anchorRect === null || anchorRect === void 0 ? void 0 : anchorRect.top) !== null && _anchorRect_top !== void 0 ? _anchorRect_top : 0) - scrollRect.top\n };\n if (anchor.offset > scrollRect.height / 2) {\n anchor.type = 'bottom';\n var _anchorRect_bottom;\n anchor.offset = ((_anchorRect_bottom = anchorRect === null || anchorRect === void 0 ? void 0 : anchorRect.bottom) !== null && _anchorRect_bottom !== void 0 ? _anchorRect_bottom : 0) - scrollRect.bottom;\n }\n }\n // Always reset the overlay's previous max height if not defined by the user so that we can compensate for\n // RAC collections populating after a second render and properly set a correct max height + positioning when it populates.\n let overlay = overlayRef.current;\n if (!maxHeight && overlayRef.current) {\n var _window_visualViewport;\n overlay.style.top = '0px';\n overlay.style.bottom = '';\n var _window_visualViewport_height;\n overlay.style.maxHeight = ((_window_visualViewport_height = (_window_visualViewport = window.visualViewport) === null || _window_visualViewport === void 0 ? void 0 : _window_visualViewport.height) !== null && _window_visualViewport_height !== void 0 ? _window_visualViewport_height : window.innerHeight) + 'px';\n }\n let position = (0, $edcf132a9284368a$export$b3ceb0cbf1056d98)({\n placement: $2a41e45df1593e64$var$translateRTL(placement, direction),\n overlayNode: overlayRef.current,\n targetNode: targetRef.current,\n scrollNode: scrollRef.current || overlayRef.current,\n padding: containerPadding,\n shouldFlip: shouldFlip,\n boundaryElement: boundaryElement,\n offset: offset,\n crossOffset: crossOffset,\n maxHeight: maxHeight,\n arrowSize: arrowSize,\n arrowBoundaryOffset: arrowBoundaryOffset\n });\n if (!position.position) return;\n // Modify overlay styles directly so positioning happens immediately without the need of a second render\n // This is so we don't have to delay autoFocus scrolling or delay applying preventScroll for popovers\n overlay.style.top = '';\n overlay.style.bottom = '';\n overlay.style.left = '';\n overlay.style.right = '';\n Object.keys(position.position).forEach((key)=>overlay.style[key] = position.position[key] + 'px');\n overlay.style.maxHeight = position.maxHeight != null ? position.maxHeight + 'px' : '';\n // Restore scroll position relative to anchor element.\n if (anchor && document.activeElement && scrollRef.current) {\n let anchorRect = document.activeElement.getBoundingClientRect();\n let scrollRect = scrollRef.current.getBoundingClientRect();\n let newOffset = anchorRect[anchor.type] - scrollRect[anchor.type];\n scrollRef.current.scrollTop += newOffset - anchor.offset;\n }\n // Trigger a set state for a second render anyway for arrow positioning\n setPosition(position);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, deps);\n // Update position when anything changes\n // eslint-disable-next-line react-hooks/exhaustive-deps\n (0, $39EOa$useLayoutEffect)(updatePosition, deps);\n // Update position on window resize\n $2a41e45df1593e64$var$useResize(updatePosition);\n // Update position when the overlay changes size (might need to flip).\n (0, $39EOa$useResizeObserver)({\n ref: overlayRef,\n onResize: updatePosition\n });\n // Update position when the target changes size (might need to flip).\n (0, $39EOa$useResizeObserver)({\n ref: targetRef,\n onResize: updatePosition\n });\n // Reposition the overlay and do not close on scroll while the visual viewport is resizing.\n // This will ensure that overlays adjust their positioning when the iOS virtual keyboard appears.\n let isResizing = (0, $39EOa$useRef)(false);\n (0, $39EOa$useLayoutEffect)(()=>{\n let timeout;\n let onResize = ()=>{\n isResizing.current = true;\n clearTimeout(timeout);\n timeout = setTimeout(()=>{\n isResizing.current = false;\n }, 500);\n updatePosition();\n };\n // Only reposition the overlay if a scroll event happens immediately as a result of resize (aka the virtual keyboard has appears)\n // We don't want to reposition the overlay if the user has pinch zoomed in and is scrolling the viewport around.\n let onScroll = ()=>{\n if (isResizing.current) onResize();\n };\n $2a41e45df1593e64$var$visualViewport === null || $2a41e45df1593e64$var$visualViewport === void 0 ? void 0 : $2a41e45df1593e64$var$visualViewport.addEventListener('resize', onResize);\n $2a41e45df1593e64$var$visualViewport === null || $2a41e45df1593e64$var$visualViewport === void 0 ? void 0 : $2a41e45df1593e64$var$visualViewport.addEventListener('scroll', onScroll);\n return ()=>{\n $2a41e45df1593e64$var$visualViewport === null || $2a41e45df1593e64$var$visualViewport === void 0 ? void 0 : $2a41e45df1593e64$var$visualViewport.removeEventListener('resize', onResize);\n $2a41e45df1593e64$var$visualViewport === null || $2a41e45df1593e64$var$visualViewport === void 0 ? void 0 : $2a41e45df1593e64$var$visualViewport.removeEventListener('scroll', onScroll);\n };\n }, [\n updatePosition\n ]);\n let close = (0, $39EOa$useCallback)(()=>{\n if (!isResizing.current) onClose === null || onClose === void 0 ? void 0 : onClose();\n }, [\n onClose,\n isResizing\n ]);\n // When scrolling a parent scrollable region of the trigger (other than the body),\n // we hide the popover. Otherwise, its position would be incorrect.\n (0, $dd149f63282afbbf$export$18fc8428861184da)({\n triggerRef: targetRef,\n isOpen: isOpen,\n onClose: onClose && close\n });\n var _position_maxHeight, _position_placement;\n return {\n overlayProps: {\n style: {\n position: 'absolute',\n zIndex: 100000,\n ...position === null || position === void 0 ? void 0 : position.position,\n maxHeight: (_position_maxHeight = position === null || position === void 0 ? void 0 : position.maxHeight) !== null && _position_maxHeight !== void 0 ? _position_maxHeight : '100vh'\n }\n },\n placement: (_position_placement = position === null || position === void 0 ? void 0 : position.placement) !== null && _position_placement !== void 0 ? _position_placement : null,\n arrowProps: {\n 'aria-hidden': 'true',\n role: 'presentation',\n style: {\n left: position === null || position === void 0 ? void 0 : position.arrowOffsetLeft,\n top: position === null || position === void 0 ? void 0 : position.arrowOffsetTop\n }\n },\n updatePosition: updatePosition\n };\n}\nfunction $2a41e45df1593e64$var$useResize(onResize) {\n (0, $39EOa$useLayoutEffect)(()=>{\n window.addEventListener('resize', onResize, false);\n return ()=>{\n window.removeEventListener('resize', onResize, false);\n };\n }, [\n onResize\n ]);\n}\nfunction $2a41e45df1593e64$var$translateRTL(position, direction) {\n if (direction === 'rtl') return position.replace('start', 'right').replace('end', 'left');\n return position.replace('start', 'left').replace('end', 'right');\n}\n\n\nexport {$2a41e45df1593e64$export$d39e1813b3bdd0e1 as useOverlayPosition};\n//# sourceMappingURL=useOverlayPosition.module.js.map\n","import {isElementInChildOfActiveScope as $jtpZv$isElementInChildOfActiveScope} from \"@react-aria/focus\";\nimport {useEffect as $jtpZv$useEffect} from \"react\";\nimport {useInteractOutside as $jtpZv$useInteractOutside, useFocusWithin as $jtpZv$useFocusWithin} from \"@react-aria/interactions\";\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 $a11501f3d1d39e6c$var$visibleOverlays = [];\nfunction $a11501f3d1d39e6c$export$ea8f71083e90600f(props, ref) {\n let { onClose: onClose, shouldCloseOnBlur: shouldCloseOnBlur, isOpen: isOpen, isDismissable: isDismissable = false, isKeyboardDismissDisabled: isKeyboardDismissDisabled = false, shouldCloseOnInteractOutside: shouldCloseOnInteractOutside } = props;\n // Add the overlay ref to the stack of visible overlays on mount, and remove on unmount.\n (0, $jtpZv$useEffect)(()=>{\n if (isOpen) $a11501f3d1d39e6c$var$visibleOverlays.push(ref);\n return ()=>{\n let index = $a11501f3d1d39e6c$var$visibleOverlays.indexOf(ref);\n if (index >= 0) $a11501f3d1d39e6c$var$visibleOverlays.splice(index, 1);\n };\n }, [\n isOpen,\n ref\n ]);\n // Only hide the overlay when it is the topmost visible overlay in the stack\n let onHide = ()=>{\n if ($a11501f3d1d39e6c$var$visibleOverlays[$a11501f3d1d39e6c$var$visibleOverlays.length - 1] === ref && onClose) onClose();\n };\n let onInteractOutsideStart = (e)=>{\n if (!shouldCloseOnInteractOutside || shouldCloseOnInteractOutside(e.target)) {\n if ($a11501f3d1d39e6c$var$visibleOverlays[$a11501f3d1d39e6c$var$visibleOverlays.length - 1] === ref) {\n e.stopPropagation();\n e.preventDefault();\n }\n }\n };\n let onInteractOutside = (e)=>{\n if (!shouldCloseOnInteractOutside || shouldCloseOnInteractOutside(e.target)) {\n if ($a11501f3d1d39e6c$var$visibleOverlays[$a11501f3d1d39e6c$var$visibleOverlays.length - 1] === ref) {\n e.stopPropagation();\n e.preventDefault();\n }\n onHide();\n }\n };\n // Handle the escape key\n let onKeyDown = (e)=>{\n if (e.key === 'Escape' && !isKeyboardDismissDisabled && !e.nativeEvent.isComposing) {\n e.stopPropagation();\n e.preventDefault();\n onHide();\n }\n };\n // Handle clicking outside the overlay to close it\n (0, $jtpZv$useInteractOutside)({\n ref: ref,\n onInteractOutside: isDismissable && isOpen ? onInteractOutside : undefined,\n onInteractOutsideStart: onInteractOutsideStart\n });\n let { focusWithinProps: focusWithinProps } = (0, $jtpZv$useFocusWithin)({\n isDisabled: !shouldCloseOnBlur,\n onBlurWithin: (e)=>{\n // Do not close if relatedTarget is null, which means focus is lost to the body.\n // That can happen when switching tabs, or due to a VoiceOver/Chrome bug with Control+Option+Arrow navigation.\n // Clicking on the body to close the overlay should already be handled by useInteractOutside.\n // https://github.com/adobe/react-spectrum/issues/4130\n // https://github.com/adobe/react-spectrum/issues/4922\n //\n // If focus is moving into a child focus scope (e.g. menu inside a dialog),\n // do not close the outer overlay. At this point, the active scope should\n // still be the outer overlay, since blur events run before focus.\n if (!e.relatedTarget || (0, $jtpZv$isElementInChildOfActiveScope)(e.relatedTarget)) return;\n if (!shouldCloseOnInteractOutside || shouldCloseOnInteractOutside(e.relatedTarget)) onClose === null || onClose === void 0 ? void 0 : onClose();\n }\n });\n let onPointerDownUnderlay = (e)=>{\n // fixes a firefox issue that starts text selection https://bugzilla.mozilla.org/show_bug.cgi?id=1675846\n if (e.target === e.currentTarget) e.preventDefault();\n };\n return {\n overlayProps: {\n onKeyDown: onKeyDown,\n ...focusWithinProps\n },\n underlayProps: {\n onPointerDown: onPointerDownUnderlay\n }\n };\n}\n\n\nexport {$a11501f3d1d39e6c$export$ea8f71083e90600f as useOverlay};\n//# sourceMappingURL=useOverlay.module.js.map\n","import {onCloseMap as $dd149f63282afbbf$export$f6211563215e3b37} from \"./useCloseOnScroll.mjs\";\nimport {useEffect as $gMvIk$useEffect} from \"react\";\nimport {useId as $gMvIk$useId} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $628037886ba31236$export$f9d5c8beee7d008d(props, state, ref) {\n let { type: type } = props;\n let { isOpen: isOpen } = state;\n // Backward compatibility. Share state close function with useOverlayPosition so it can close on scroll\n // without forcing users to pass onClose.\n (0, $gMvIk$useEffect)(()=>{\n if (ref && ref.current) (0, $dd149f63282afbbf$export$f6211563215e3b37).set(ref.current, state.close);\n });\n // Aria 1.1 supports multiple values for aria-haspopup other than just menus.\n // https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup\n // However, we only add it for menus for now because screen readers often\n // announce it as a menu even for other values.\n let ariaHasPopup = undefined;\n if (type === 'menu') ariaHasPopup = true;\n else if (type === 'listbox') ariaHasPopup = 'listbox';\n let overlayId = (0, $gMvIk$useId)();\n return {\n triggerProps: {\n 'aria-haspopup': ariaHasPopup,\n 'aria-expanded': isOpen,\n 'aria-controls': isOpen ? overlayId : undefined,\n onPress: state.toggle\n },\n overlayProps: {\n id: overlayId\n }\n };\n}\n\n\nexport {$628037886ba31236$export$f9d5c8beee7d008d as useOverlayTrigger};\n//# sourceMappingURL=useOverlayTrigger.module.js.map\n","import {useLayoutEffect as $7mMvr$useLayoutEffect, isIOS as $7mMvr$isIOS, chain as $7mMvr$chain, getScrollParent as $7mMvr$getScrollParent} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nconst $49c51c25361d4cd2$var$visualViewport = typeof document !== 'undefined' && window.visualViewport;\n// HTML input types that do not cause the software keyboard to appear.\nconst $49c51c25361d4cd2$var$nonTextInputTypes = new Set([\n 'checkbox',\n 'radio',\n 'range',\n 'color',\n 'file',\n 'image',\n 'button',\n 'submit',\n 'reset'\n]);\n// The number of active usePreventScroll calls. Used to determine whether to revert back to the original page style/scroll position\nlet $49c51c25361d4cd2$var$preventScrollCount = 0;\nlet $49c51c25361d4cd2$var$restore;\nfunction $49c51c25361d4cd2$export$ee0f7cc6afcd1c18(options = {}) {\n let { isDisabled: isDisabled } = options;\n (0, $7mMvr$useLayoutEffect)(()=>{\n if (isDisabled) return;\n $49c51c25361d4cd2$var$preventScrollCount++;\n if ($49c51c25361d4cd2$var$preventScrollCount === 1) {\n if ((0, $7mMvr$isIOS)()) $49c51c25361d4cd2$var$restore = $49c51c25361d4cd2$var$preventScrollMobileSafari();\n else $49c51c25361d4cd2$var$restore = $49c51c25361d4cd2$var$preventScrollStandard();\n }\n return ()=>{\n $49c51c25361d4cd2$var$preventScrollCount--;\n if ($49c51c25361d4cd2$var$preventScrollCount === 0) $49c51c25361d4cd2$var$restore();\n };\n }, [\n isDisabled\n ]);\n}\n// For most browsers, all we need to do is set `overflow: hidden` on the root element, and\n// add some padding to prevent the page from shifting when the scrollbar is hidden.\nfunction $49c51c25361d4cd2$var$preventScrollStandard() {\n return (0, $7mMvr$chain)($49c51c25361d4cd2$var$setStyle(document.documentElement, 'paddingRight', `${window.innerWidth - document.documentElement.clientWidth}px`), $49c51c25361d4cd2$var$setStyle(document.documentElement, 'overflow', 'hidden'));\n}\n// Mobile Safari is a whole different beast. Even with overflow: hidden,\n// it still scrolls the page in many situations:\n//\n// 1. When the bottom toolbar and address bar are collapsed, page scrolling is always allowed.\n// 2. When the keyboard is visible, the viewport does not resize. Instead, the keyboard covers part of\n// it, so it becomes scrollable.\n// 3. When tapping on an input, the page always scrolls so that the input is centered in the visual viewport.\n// This may cause even fixed position elements to scroll off the screen.\n// 4. When using the next/previous buttons in the keyboard to navigate between inputs, the whole page always\n// scrolls, even if the input is inside a nested scrollable element that could be scrolled instead.\n//\n// In order to work around these cases, and prevent scrolling without jankiness, we do a few things:\n//\n// 1. Prevent default on `touchmove` events that are not in a scrollable element. This prevents touch scrolling\n// on the window.\n// 2. Set `overscroll-behavior: contain` on nested scrollable regions so they do not scroll the page when at\n// the top or bottom. Work around a bug where this does not work when the element does not actually overflow\n// by preventing default in a `touchmove` event.\n// 3. Prevent default on `touchend` events on input elements and handle focusing the element ourselves.\n// 4. When focusing an input, apply a transform to trick Safari into thinking the input is at the top\n// of the page, which prevents it from scrolling the page. After the input is focused, scroll the element\n// into view ourselves, without scrolling the whole page.\n// 5. Offset the body by the scroll position using a negative margin and scroll to the top. This should appear the\n// same visually, but makes the actual scroll position always zero. This is required to make all of the\n// above work or Safari will still try to scroll the page when focusing an input.\n// 6. As a last resort, handle window scroll events, and scroll back to the top. This can happen when attempting\n// to navigate to an input with the next/previous buttons that's outside a modal.\nfunction $49c51c25361d4cd2$var$preventScrollMobileSafari() {\n let scrollable;\n let restoreScrollableStyles;\n let onTouchStart = (e)=>{\n // Store the nearest scrollable parent element from the element that the user touched.\n scrollable = (0, $7mMvr$getScrollParent)(e.target, true);\n if (scrollable === document.documentElement && scrollable === document.body) return;\n // Prevent scrolling up when at the top and scrolling down when at the bottom\n // of a nested scrollable area, otherwise mobile Safari will start scrolling\n // the window instead.\n if (scrollable instanceof HTMLElement && window.getComputedStyle(scrollable).overscrollBehavior === 'auto') restoreScrollableStyles = $49c51c25361d4cd2$var$setStyle(scrollable, 'overscrollBehavior', 'contain');\n };\n let onTouchMove = (e)=>{\n // Prevent scrolling the window.\n if (!scrollable || scrollable === document.documentElement || scrollable === document.body) {\n e.preventDefault();\n return;\n }\n // overscroll-behavior should prevent scroll chaining, but currently does not\n // if the element doesn't actually overflow. https://bugs.webkit.org/show_bug.cgi?id=243452\n // This checks that both the width and height do not overflow, otherwise we might\n // block horizontal scrolling too. In that case, adding `touch-action: pan-x` to\n // the element will prevent vertical page scrolling. We can't add that automatically\n // because it must be set before the touchstart event.\n if (scrollable.scrollHeight === scrollable.clientHeight && scrollable.scrollWidth === scrollable.clientWidth) e.preventDefault();\n };\n let onTouchEnd = ()=>{\n if (restoreScrollableStyles) restoreScrollableStyles();\n };\n let onFocus = (e)=>{\n let target = e.target;\n if ($49c51c25361d4cd2$var$willOpenKeyboard(target)) {\n setupStyles();\n // Apply a transform to trick Safari into thinking the input is at the top of the page\n // so it doesn't try to scroll it into view.\n target.style.transform = 'translateY(-2000px)';\n requestAnimationFrame(()=>{\n target.style.transform = '';\n // This will have prevented the browser from scrolling the focused element into view,\n // so we need to do this ourselves in a way that doesn't cause the whole page to scroll.\n if ($49c51c25361d4cd2$var$visualViewport) {\n if ($49c51c25361d4cd2$var$visualViewport.height < window.innerHeight) // If the keyboard is already visible, do this after one additional frame\n // to wait for the transform to be removed.\n requestAnimationFrame(()=>{\n $49c51c25361d4cd2$var$scrollIntoView(target);\n });\n else // Otherwise, wait for the visual viewport to resize before scrolling so we can\n // measure the correct position to scroll to.\n $49c51c25361d4cd2$var$visualViewport.addEventListener('resize', ()=>$49c51c25361d4cd2$var$scrollIntoView(target), {\n once: true\n });\n }\n });\n }\n };\n let restoreStyles = null;\n let setupStyles = ()=>{\n if (restoreStyles) return;\n let onWindowScroll = ()=>{\n // Last resort. If the window scrolled, scroll it back to the top.\n // It should always be at the top because the body will have a negative margin (see below).\n window.scrollTo(0, 0);\n };\n // Record the original scroll position so we can restore it.\n // Then apply a negative margin to the body to offset it by the scroll position. This will\n // enable us to scroll the window to the top, which is required for the rest of this to work.\n let scrollX = window.pageXOffset;\n let scrollY = window.pageYOffset;\n restoreStyles = (0, $7mMvr$chain)($49c51c25361d4cd2$var$addEvent(window, 'scroll', onWindowScroll), $49c51c25361d4cd2$var$setStyle(document.documentElement, 'paddingRight', `${window.innerWidth - document.documentElement.clientWidth}px`), $49c51c25361d4cd2$var$setStyle(document.documentElement, 'overflow', 'hidden'), $49c51c25361d4cd2$var$setStyle(document.body, 'marginTop', `-${scrollY}px`), ()=>{\n window.scrollTo(scrollX, scrollY);\n });\n // Scroll to the top. The negative margin on the body will make this appear the same.\n window.scrollTo(0, 0);\n };\n let removeEvents = (0, $7mMvr$chain)($49c51c25361d4cd2$var$addEvent(document, 'touchstart', onTouchStart, {\n passive: false,\n capture: true\n }), $49c51c25361d4cd2$var$addEvent(document, 'touchmove', onTouchMove, {\n passive: false,\n capture: true\n }), $49c51c25361d4cd2$var$addEvent(document, 'touchend', onTouchEnd, {\n passive: false,\n capture: true\n }), $49c51c25361d4cd2$var$addEvent(document, 'focus', onFocus, true));\n return ()=>{\n // Restore styles and scroll the page back to where it was.\n restoreScrollableStyles === null || restoreScrollableStyles === void 0 ? void 0 : restoreScrollableStyles();\n restoreStyles === null || restoreStyles === void 0 ? void 0 : restoreStyles();\n removeEvents();\n };\n}\n// Sets a CSS property on an element, and returns a function to revert it to the previous value.\nfunction $49c51c25361d4cd2$var$setStyle(element, style, value) {\n let cur = element.style[style];\n element.style[style] = value;\n return ()=>{\n element.style[style] = cur;\n };\n}\n// Adds an event listener to an element, and returns a function to remove it.\nfunction $49c51c25361d4cd2$var$addEvent(target, event, handler, options) {\n // internal function, so it's ok to ignore the difficult to fix type error\n // @ts-ignore\n target.addEventListener(event, handler, options);\n return ()=>{\n // @ts-ignore\n target.removeEventListener(event, handler, options);\n };\n}\nfunction $49c51c25361d4cd2$var$scrollIntoView(target) {\n let root = document.scrollingElement || document.documentElement;\n let nextTarget = target;\n while(nextTarget && nextTarget !== root){\n // Find the parent scrollable element and adjust the scroll position if the target is not already in view.\n let scrollable = (0, $7mMvr$getScrollParent)(nextTarget);\n if (scrollable !== document.documentElement && scrollable !== document.body && scrollable !== nextTarget) {\n let scrollableTop = scrollable.getBoundingClientRect().top;\n let targetTop = nextTarget.getBoundingClientRect().top;\n if (targetTop > scrollableTop + nextTarget.clientHeight) scrollable.scrollTop += targetTop - scrollableTop;\n }\n nextTarget = scrollable.parentElement;\n }\n}\nfunction $49c51c25361d4cd2$var$willOpenKeyboard(target) {\n return target instanceof HTMLInputElement && !$49c51c25361d4cd2$var$nonTextInputTypes.has(target.type) || target instanceof HTMLTextAreaElement || target instanceof HTMLElement && target.isContentEditable;\n}\n\n\nexport {$49c51c25361d4cd2$export$ee0f7cc6afcd1c18 as usePreventScroll};\n//# sourceMappingURL=usePreventScroll.module.js.map\n","import $4AOtR$react, {useContext as $4AOtR$useContext, useState as $4AOtR$useState, useMemo as $4AOtR$useMemo, useEffect as $4AOtR$useEffect} from \"react\";\nimport $4AOtR$reactdom from \"react-dom\";\nimport {useIsSSR as $4AOtR$useIsSSR} from \"@react-aria/ssr\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nconst $f57aed4a881a3485$var$Context = /*#__PURE__*/ (0, $4AOtR$react).createContext(null);\nfunction $f57aed4a881a3485$export$178405afcd8c5eb(props) {\n let { children: children } = props;\n let parent = (0, $4AOtR$useContext)($f57aed4a881a3485$var$Context);\n let [modalCount, setModalCount] = (0, $4AOtR$useState)(0);\n let context = (0, $4AOtR$useMemo)(()=>({\n parent: parent,\n modalCount: modalCount,\n addModal () {\n setModalCount((count)=>count + 1);\n if (parent) parent.addModal();\n },\n removeModal () {\n setModalCount((count)=>count - 1);\n if (parent) parent.removeModal();\n }\n }), [\n parent,\n modalCount\n ]);\n return /*#__PURE__*/ (0, $4AOtR$react).createElement($f57aed4a881a3485$var$Context.Provider, {\n value: context\n }, children);\n}\nfunction $f57aed4a881a3485$export$d9aaed4c3ece1bc0() {\n let context = (0, $4AOtR$useContext)($f57aed4a881a3485$var$Context);\n return {\n modalProviderProps: {\n 'aria-hidden': context && context.modalCount > 0 ? true : undefined\n }\n };\n}\n/**\n * Creates a root node that will be aria-hidden if there are other modals open.\n */ function $f57aed4a881a3485$var$OverlayContainerDOM(props) {\n let { modalProviderProps: modalProviderProps } = $f57aed4a881a3485$export$d9aaed4c3ece1bc0();\n return /*#__PURE__*/ (0, $4AOtR$react).createElement(\"div\", {\n \"data-overlay-container\": true,\n ...props,\n ...modalProviderProps\n });\n}\nfunction $f57aed4a881a3485$export$bf688221f59024e5(props) {\n return /*#__PURE__*/ (0, $4AOtR$react).createElement($f57aed4a881a3485$export$178405afcd8c5eb, null, /*#__PURE__*/ (0, $4AOtR$react).createElement($f57aed4a881a3485$var$OverlayContainerDOM, props));\n}\nfunction $f57aed4a881a3485$export$b47c3594eab58386(props) {\n let isSSR = (0, $4AOtR$useIsSSR)();\n let { portalContainer: portalContainer = isSSR ? null : document.body, ...rest } = props;\n (0, $4AOtR$react).useEffect(()=>{\n if (portalContainer === null || portalContainer === void 0 ? void 0 : portalContainer.closest('[data-overlay-container]')) throw new Error('An OverlayContainer must not be inside another container. Please change the portalContainer prop.');\n }, [\n portalContainer\n ]);\n if (!portalContainer) return null;\n let contents = /*#__PURE__*/ (0, $4AOtR$react).createElement($f57aed4a881a3485$export$bf688221f59024e5, rest);\n return /*#__PURE__*/ (0, $4AOtR$reactdom).createPortal(contents, portalContainer);\n}\nfunction $f57aed4a881a3485$export$33ffd74ebf07f060(options) {\n // Add aria-hidden to all parent providers on mount, and restore on unmount.\n let context = (0, $4AOtR$useContext)($f57aed4a881a3485$var$Context);\n if (!context) throw new Error('Modal is not contained within a provider');\n (0, $4AOtR$useEffect)(()=>{\n if ((options === null || options === void 0 ? void 0 : options.isDisabled) || !context || !context.parent) return;\n // The immediate context is from the provider containing this modal, so we only\n // want to trigger aria-hidden on its parents not on the modal provider itself.\n context.parent.addModal();\n return ()=>{\n if (context && context.parent) context.parent.removeModal();\n };\n }, [\n context,\n context.parent,\n options === null || options === void 0 ? void 0 : options.isDisabled\n ]);\n return {\n modalProps: {\n 'data-ismodal': !(options === null || options === void 0 ? void 0 : options.isDisabled)\n }\n };\n}\n\n\nexport {$f57aed4a881a3485$export$178405afcd8c5eb as ModalProvider, $f57aed4a881a3485$export$d9aaed4c3ece1bc0 as useModalProvider, $f57aed4a881a3485$export$bf688221f59024e5 as OverlayProvider, $f57aed4a881a3485$export$b47c3594eab58386 as OverlayContainer, $f57aed4a881a3485$export$33ffd74ebf07f060 as useModal};\n//# sourceMappingURL=useModal.module.js.map\n","var $773d5888b972f1cf$exports = {};\n$773d5888b972f1cf$exports = {\n \"dismiss\": `\\u{62A}\\u{62C}\\u{627}\\u{647}\\u{644}`\n};\n\n\nexport {$773d5888b972f1cf$exports as default};\n//# sourceMappingURL=ar-AE.module.js.map\n","var $d11f19852b941573$exports = {};\n$d11f19852b941573$exports = {\n \"dismiss\": `\\u{41E}\\u{442}\\u{445}\\u{432}\\u{44A}\\u{440}\\u{43B}\\u{44F}\\u{43D}\\u{435}`\n};\n\n\nexport {$d11f19852b941573$exports as default};\n//# sourceMappingURL=bg-BG.module.js.map\n","var $b983974c2ee1efb3$exports = {};\n$b983974c2ee1efb3$exports = {\n \"dismiss\": `Odstranit`\n};\n\n\nexport {$b983974c2ee1efb3$exports as default};\n//# sourceMappingURL=cs-CZ.module.js.map\n","var $5809cc9d4e92de73$exports = {};\n$5809cc9d4e92de73$exports = {\n \"dismiss\": `Luk`\n};\n\n\nexport {$5809cc9d4e92de73$exports as default};\n//# sourceMappingURL=da-DK.module.js.map\n","var $c68c2e4fc74398d1$exports = {};\n$c68c2e4fc74398d1$exports = {\n \"dismiss\": `Schlie\\xdfen`\n};\n\n\nexport {$c68c2e4fc74398d1$exports as default};\n//# sourceMappingURL=de-DE.module.js.map\n","var $0898b4c153db2b77$exports = {};\n$0898b4c153db2b77$exports = {\n \"dismiss\": `\\u{391}\\u{3C0}\\u{3CC}\\u{3C1}\\u{3C1}\\u{3B9}\\u{3C8}\\u{3B7}`\n};\n\n\nexport {$0898b4c153db2b77$exports as default};\n//# sourceMappingURL=el-GR.module.js.map\n","var $6d74810286a15183$exports = {};\n$6d74810286a15183$exports = {\n \"dismiss\": `Dismiss`\n};\n\n\nexport {$6d74810286a15183$exports as default};\n//# sourceMappingURL=en-US.module.js.map\n","var $309d73dc65f78055$exports = {};\n$309d73dc65f78055$exports = {\n \"dismiss\": `Descartar`\n};\n\n\nexport {$309d73dc65f78055$exports as default};\n//# sourceMappingURL=es-ES.module.js.map\n","var $44ad94f7205cf593$exports = {};\n$44ad94f7205cf593$exports = {\n \"dismiss\": `L\\xf5peta`\n};\n\n\nexport {$44ad94f7205cf593$exports as default};\n//# sourceMappingURL=et-EE.module.js.map\n","var $7c28f5687f0779a9$exports = {};\n$7c28f5687f0779a9$exports = {\n \"dismiss\": `Hylk\\xe4\\xe4`\n};\n\n\nexport {$7c28f5687f0779a9$exports as default};\n//# sourceMappingURL=fi-FI.module.js.map\n","var $e6d75df4b68bd73a$exports = {};\n$e6d75df4b68bd73a$exports = {\n \"dismiss\": `Rejeter`\n};\n\n\nexport {$e6d75df4b68bd73a$exports as default};\n//# sourceMappingURL=fr-FR.module.js.map\n","var $87505c9dab186d0f$exports = {};\n$87505c9dab186d0f$exports = {\n \"dismiss\": `\\u{5D4}\\u{5EA}\\u{5E2}\\u{5DC}\\u{5DD}`\n};\n\n\nexport {$87505c9dab186d0f$exports as default};\n//# sourceMappingURL=he-IL.module.js.map\n","var $553439c3ffb3e492$exports = {};\n$553439c3ffb3e492$exports = {\n \"dismiss\": `Odbaci`\n};\n\n\nexport {$553439c3ffb3e492$exports as default};\n//# sourceMappingURL=hr-HR.module.js.map\n","var $74cf411061b983a2$exports = {};\n$74cf411061b983a2$exports = {\n \"dismiss\": `Elutas\\xedt\\xe1s`\n};\n\n\nexport {$74cf411061b983a2$exports as default};\n//# sourceMappingURL=hu-HU.module.js.map\n","var $e933f298574dc435$exports = {};\n$e933f298574dc435$exports = {\n \"dismiss\": `Ignora`\n};\n\n\nexport {$e933f298574dc435$exports as default};\n//# sourceMappingURL=it-IT.module.js.map\n","var $ac91fc9fe02f71f6$exports = {};\n$ac91fc9fe02f71f6$exports = {\n \"dismiss\": `\\u{9589}\\u{3058}\\u{308B}`\n};\n\n\nexport {$ac91fc9fe02f71f6$exports as default};\n//# sourceMappingURL=ja-JP.module.js.map\n","var $52b96f86422025af$exports = {};\n$52b96f86422025af$exports = {\n \"dismiss\": `\\u{BB34}\\u{C2DC}`\n};\n\n\nexport {$52b96f86422025af$exports as default};\n//# sourceMappingURL=ko-KR.module.js.map\n","var $c0d724c3e51dafa6$exports = {};\n$c0d724c3e51dafa6$exports = {\n \"dismiss\": `Atmesti`\n};\n\n\nexport {$c0d724c3e51dafa6$exports as default};\n//# sourceMappingURL=lt-LT.module.js.map\n","var $c92899672a3fe72e$exports = {};\n$c92899672a3fe72e$exports = {\n \"dismiss\": `Ner\\u{101}d\\u{12B}t`\n};\n\n\nexport {$c92899672a3fe72e$exports as default};\n//# sourceMappingURL=lv-LV.module.js.map\n","var $9f576b39d8e7a9d6$exports = {};\n$9f576b39d8e7a9d6$exports = {\n \"dismiss\": `Lukk`\n};\n\n\nexport {$9f576b39d8e7a9d6$exports as default};\n//# sourceMappingURL=nb-NO.module.js.map\n","var $9d025808aeec81a7$exports = {};\n$9d025808aeec81a7$exports = {\n \"dismiss\": `Negeren`\n};\n\n\nexport {$9d025808aeec81a7$exports as default};\n//# sourceMappingURL=nl-NL.module.js.map\n","var $fce709921e2c0fa6$exports = {};\n$fce709921e2c0fa6$exports = {\n \"dismiss\": `Zignoruj`\n};\n\n\nexport {$fce709921e2c0fa6$exports as default};\n//# sourceMappingURL=pl-PL.module.js.map\n","var $2599cf0c4ab37f59$exports = {};\n$2599cf0c4ab37f59$exports = {\n \"dismiss\": `Descartar`\n};\n\n\nexport {$2599cf0c4ab37f59$exports as default};\n//# sourceMappingURL=pt-BR.module.js.map\n","var $3c220ae7ef8a35fd$exports = {};\n$3c220ae7ef8a35fd$exports = {\n \"dismiss\": `Dispensar`\n};\n\n\nexport {$3c220ae7ef8a35fd$exports as default};\n//# sourceMappingURL=pt-PT.module.js.map\n","var $93562b5094072f54$exports = {};\n$93562b5094072f54$exports = {\n \"dismiss\": `Revocare`\n};\n\n\nexport {$93562b5094072f54$exports as default};\n//# sourceMappingURL=ro-RO.module.js.map\n","var $cd9e2abd0d06c7b4$exports = {};\n$cd9e2abd0d06c7b4$exports = {\n \"dismiss\": `\\u{41F}\\u{440}\\u{43E}\\u{43F}\\u{443}\\u{441}\\u{442}\\u{438}\\u{442}\\u{44C}`\n};\n\n\nexport {$cd9e2abd0d06c7b4$exports as default};\n//# sourceMappingURL=ru-RU.module.js.map\n","var $45375701f409adf1$exports = {};\n$45375701f409adf1$exports = {\n \"dismiss\": `Zru\\u{161}i\\u{165}`\n};\n\n\nexport {$45375701f409adf1$exports as default};\n//# sourceMappingURL=sk-SK.module.js.map\n","var $27fab53a576de9dd$exports = {};\n$27fab53a576de9dd$exports = {\n \"dismiss\": `Opusti`\n};\n\n\nexport {$27fab53a576de9dd$exports as default};\n//# sourceMappingURL=sl-SI.module.js.map\n","var $4438748d9952e7c7$exports = {};\n$4438748d9952e7c7$exports = {\n \"dismiss\": `Odbaci`\n};\n\n\nexport {$4438748d9952e7c7$exports as default};\n//# sourceMappingURL=sr-SP.module.js.map\n","var $0936d7347ef4da4c$exports = {};\n$0936d7347ef4da4c$exports = {\n \"dismiss\": `Avvisa`\n};\n\n\nexport {$0936d7347ef4da4c$exports as default};\n//# sourceMappingURL=sv-SE.module.js.map\n","var $29700c92185d38f8$exports = {};\n$29700c92185d38f8$exports = {\n \"dismiss\": `Kapat`\n};\n\n\nexport {$29700c92185d38f8$exports as default};\n//# sourceMappingURL=tr-TR.module.js.map\n","var $662ccaf2be4c25b3$exports = {};\n$662ccaf2be4c25b3$exports = {\n \"dismiss\": `\\u{421}\\u{43A}\\u{430}\\u{441}\\u{443}\\u{432}\\u{430}\\u{442}\\u{438}`\n};\n\n\nexport {$662ccaf2be4c25b3$exports as default};\n//# sourceMappingURL=uk-UA.module.js.map\n","var $d80a27deda7cdb3c$exports = {};\n$d80a27deda7cdb3c$exports = {\n \"dismiss\": `\\u{53D6}\\u{6D88}`\n};\n\n\nexport {$d80a27deda7cdb3c$exports as default};\n//# sourceMappingURL=zh-CN.module.js.map\n","var $2b2734393847c884$exports = {};\n$2b2734393847c884$exports = {\n \"dismiss\": `\\u{95DC}\\u{9589}`\n};\n\n\nexport {$2b2734393847c884$exports as default};\n//# sourceMappingURL=zh-TW.module.js.map\n","import $k51So$arAEmodulejs from \"./ar-AE.mjs\";\nimport $k51So$bgBGmodulejs from \"./bg-BG.mjs\";\nimport $k51So$csCZmodulejs from \"./cs-CZ.mjs\";\nimport $k51So$daDKmodulejs from \"./da-DK.mjs\";\nimport $k51So$deDEmodulejs from \"./de-DE.mjs\";\nimport $k51So$elGRmodulejs from \"./el-GR.mjs\";\nimport $k51So$enUSmodulejs from \"./en-US.mjs\";\nimport $k51So$esESmodulejs from \"./es-ES.mjs\";\nimport $k51So$etEEmodulejs from \"./et-EE.mjs\";\nimport $k51So$fiFImodulejs from \"./fi-FI.mjs\";\nimport $k51So$frFRmodulejs from \"./fr-FR.mjs\";\nimport $k51So$heILmodulejs from \"./he-IL.mjs\";\nimport $k51So$hrHRmodulejs from \"./hr-HR.mjs\";\nimport $k51So$huHUmodulejs from \"./hu-HU.mjs\";\nimport $k51So$itITmodulejs from \"./it-IT.mjs\";\nimport $k51So$jaJPmodulejs from \"./ja-JP.mjs\";\nimport $k51So$koKRmodulejs from \"./ko-KR.mjs\";\nimport $k51So$ltLTmodulejs from \"./lt-LT.mjs\";\nimport $k51So$lvLVmodulejs from \"./lv-LV.mjs\";\nimport $k51So$nbNOmodulejs from \"./nb-NO.mjs\";\nimport $k51So$nlNLmodulejs from \"./nl-NL.mjs\";\nimport $k51So$plPLmodulejs from \"./pl-PL.mjs\";\nimport $k51So$ptBRmodulejs from \"./pt-BR.mjs\";\nimport $k51So$ptPTmodulejs from \"./pt-PT.mjs\";\nimport $k51So$roROmodulejs from \"./ro-RO.mjs\";\nimport $k51So$ruRUmodulejs from \"./ru-RU.mjs\";\nimport $k51So$skSKmodulejs from \"./sk-SK.mjs\";\nimport $k51So$slSImodulejs from \"./sl-SI.mjs\";\nimport $k51So$srSPmodulejs from \"./sr-SP.mjs\";\nimport $k51So$svSEmodulejs from \"./sv-SE.mjs\";\nimport $k51So$trTRmodulejs from \"./tr-TR.mjs\";\nimport $k51So$ukUAmodulejs from \"./uk-UA.mjs\";\nimport $k51So$zhCNmodulejs from \"./zh-CN.mjs\";\nimport $k51So$zhTWmodulejs from \"./zh-TW.mjs\";\n\nvar $a2f21f5f14f60553$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$a2f21f5f14f60553$exports = {\n \"ar-AE\": $k51So$arAEmodulejs,\n \"bg-BG\": $k51So$bgBGmodulejs,\n \"cs-CZ\": $k51So$csCZmodulejs,\n \"da-DK\": $k51So$daDKmodulejs,\n \"de-DE\": $k51So$deDEmodulejs,\n \"el-GR\": $k51So$elGRmodulejs,\n \"en-US\": $k51So$enUSmodulejs,\n \"es-ES\": $k51So$esESmodulejs,\n \"et-EE\": $k51So$etEEmodulejs,\n \"fi-FI\": $k51So$fiFImodulejs,\n \"fr-FR\": $k51So$frFRmodulejs,\n \"he-IL\": $k51So$heILmodulejs,\n \"hr-HR\": $k51So$hrHRmodulejs,\n \"hu-HU\": $k51So$huHUmodulejs,\n \"it-IT\": $k51So$itITmodulejs,\n \"ja-JP\": $k51So$jaJPmodulejs,\n \"ko-KR\": $k51So$koKRmodulejs,\n \"lt-LT\": $k51So$ltLTmodulejs,\n \"lv-LV\": $k51So$lvLVmodulejs,\n \"nb-NO\": $k51So$nbNOmodulejs,\n \"nl-NL\": $k51So$nlNLmodulejs,\n \"pl-PL\": $k51So$plPLmodulejs,\n \"pt-BR\": $k51So$ptBRmodulejs,\n \"pt-PT\": $k51So$ptPTmodulejs,\n \"ro-RO\": $k51So$roROmodulejs,\n \"ru-RU\": $k51So$ruRUmodulejs,\n \"sk-SK\": $k51So$skSKmodulejs,\n \"sl-SI\": $k51So$slSImodulejs,\n \"sr-SP\": $k51So$srSPmodulejs,\n \"sv-SE\": $k51So$svSEmodulejs,\n \"tr-TR\": $k51So$trTRmodulejs,\n \"uk-UA\": $k51So$ukUAmodulejs,\n \"zh-CN\": $k51So$zhCNmodulejs,\n \"zh-TW\": $k51So$zhTWmodulejs\n};\n\n\nexport {$a2f21f5f14f60553$exports as default};\n//# sourceMappingURL=intlStrings.module.js.map\n","import $iYaQO$intlStringsmodulejs from \"./intlStrings.mjs\";\nimport $iYaQO$react from \"react\";\nimport {useLabels as $iYaQO$useLabels} from \"@react-aria/utils\";\nimport {useLocalizedStringFormatter as $iYaQO$useLocalizedStringFormatter} from \"@react-aria/i18n\";\nimport {VisuallyHidden as $iYaQO$VisuallyHidden} from \"@react-aria/visually-hidden\";\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\nfunction $86ea4cb521eb2e37$export$2317d149ed6f78c4(props) {\n let { onDismiss: onDismiss, ...otherProps } = props;\n let stringFormatter = (0, $iYaQO$useLocalizedStringFormatter)((0, ($parcel$interopDefault($iYaQO$intlStringsmodulejs))), '@react-aria/overlays');\n let labels = (0, $iYaQO$useLabels)(otherProps, stringFormatter.format('dismiss'));\n let onClick = ()=>{\n if (onDismiss) onDismiss();\n };\n return /*#__PURE__*/ (0, $iYaQO$react).createElement((0, $iYaQO$VisuallyHidden), null, /*#__PURE__*/ (0, $iYaQO$react).createElement(\"button\", {\n ...labels,\n tabIndex: -1,\n onClick: onClick,\n style: {\n width: 1,\n height: 1\n }\n }));\n}\n\n\nexport {$86ea4cb521eb2e37$export$2317d149ed6f78c4 as DismissButton};\n//# sourceMappingURL=DismissButton.module.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 */ // Keeps a ref count of all hidden elements. Added to when hiding an element, and\n// subtracted from when showing it again. When it reaches zero, aria-hidden is removed.\nlet $5e3802645cc19319$var$refCountMap = new WeakMap();\nlet $5e3802645cc19319$var$observerStack = [];\nfunction $5e3802645cc19319$export$1c3ebcada18427bf(targets, root = document.body) {\n let visibleNodes = new Set(targets);\n let hiddenNodes = new Set();\n let walk = (root)=>{\n // Keep live announcer and top layer elements (e.g. toasts) visible.\n for (let element of root.querySelectorAll('[data-live-announcer], [data-react-aria-top-layer]'))visibleNodes.add(element);\n let acceptNode = (node)=>{\n // Skip this node and its children if it is one of the target nodes, or a live announcer.\n // Also skip children of already hidden nodes, as aria-hidden is recursive. An exception is\n // made for elements with role=\"row\" since VoiceOver on iOS has issues hiding elements with role=\"row\".\n // For that case we want to hide the cells inside as well (https://bugs.webkit.org/show_bug.cgi?id=222623).\n if (visibleNodes.has(node) || node.parentElement && hiddenNodes.has(node.parentElement) && node.parentElement.getAttribute('role') !== 'row') return NodeFilter.FILTER_REJECT;\n // Skip this node but continue to children if one of the targets is inside the node.\n for (let target of visibleNodes){\n if (node.contains(target)) return NodeFilter.FILTER_SKIP;\n }\n return NodeFilter.FILTER_ACCEPT;\n };\n let walker = document.createTreeWalker(root, NodeFilter.SHOW_ELEMENT, {\n acceptNode: acceptNode\n });\n // TreeWalker does not include the root.\n let acceptRoot = acceptNode(root);\n if (acceptRoot === NodeFilter.FILTER_ACCEPT) hide(root);\n if (acceptRoot !== NodeFilter.FILTER_REJECT) {\n let node = walker.nextNode();\n while(node != null){\n hide(node);\n node = walker.nextNode();\n }\n }\n };\n let hide = (node)=>{\n var _refCountMap_get;\n let refCount = (_refCountMap_get = $5e3802645cc19319$var$refCountMap.get(node)) !== null && _refCountMap_get !== void 0 ? _refCountMap_get : 0;\n // If already aria-hidden, and the ref count is zero, then this element\n // was already hidden and there's nothing for us to do.\n if (node.getAttribute('aria-hidden') === 'true' && refCount === 0) return;\n if (refCount === 0) node.setAttribute('aria-hidden', 'true');\n hiddenNodes.add(node);\n $5e3802645cc19319$var$refCountMap.set(node, refCount + 1);\n };\n // If there is already a MutationObserver listening from a previous call,\n // disconnect it so the new on takes over.\n if ($5e3802645cc19319$var$observerStack.length) $5e3802645cc19319$var$observerStack[$5e3802645cc19319$var$observerStack.length - 1].disconnect();\n walk(root);\n let observer = new MutationObserver((changes)=>{\n for (let change of changes){\n if (change.type !== 'childList' || change.addedNodes.length === 0) continue;\n // If the parent element of the added nodes is not within one of the targets,\n // and not already inside a hidden node, hide all of the new children.\n if (![\n ...visibleNodes,\n ...hiddenNodes\n ].some((node)=>node.contains(change.target))) {\n for (let node of change.removedNodes)if (node instanceof Element) {\n visibleNodes.delete(node);\n hiddenNodes.delete(node);\n }\n for (let node of change.addedNodes){\n if ((node instanceof HTMLElement || node instanceof SVGElement) && (node.dataset.liveAnnouncer === 'true' || node.dataset.reactAriaTopLayer === 'true')) visibleNodes.add(node);\n else if (node instanceof Element) walk(node);\n }\n }\n }\n });\n observer.observe(root, {\n childList: true,\n subtree: true\n });\n let observerWrapper = {\n observe () {\n observer.observe(root, {\n childList: true,\n subtree: true\n });\n },\n disconnect () {\n observer.disconnect();\n }\n };\n $5e3802645cc19319$var$observerStack.push(observerWrapper);\n return ()=>{\n observer.disconnect();\n for (let node of hiddenNodes){\n let count = $5e3802645cc19319$var$refCountMap.get(node);\n if (count == null) continue;\n if (count === 1) {\n node.removeAttribute('aria-hidden');\n $5e3802645cc19319$var$refCountMap.delete(node);\n } else $5e3802645cc19319$var$refCountMap.set(node, count - 1);\n }\n // Remove this observer from the stack, and start the previous one.\n if (observerWrapper === $5e3802645cc19319$var$observerStack[$5e3802645cc19319$var$observerStack.length - 1]) {\n $5e3802645cc19319$var$observerStack.pop();\n if ($5e3802645cc19319$var$observerStack.length) $5e3802645cc19319$var$observerStack[$5e3802645cc19319$var$observerStack.length - 1].observe();\n } else $5e3802645cc19319$var$observerStack.splice($5e3802645cc19319$var$observerStack.indexOf(observerWrapper), 1);\n };\n}\n\n\nexport {$5e3802645cc19319$export$1c3ebcada18427bf as ariaHideOutside};\n//# sourceMappingURL=ariaHideOutside.module.js.map\n","import {ariaHideOutside as $5e3802645cc19319$export$1c3ebcada18427bf} from \"./ariaHideOutside.mjs\";\nimport {useOverlayPosition as $2a41e45df1593e64$export$d39e1813b3bdd0e1} from \"./useOverlayPosition.mjs\";\nimport {useOverlay as $a11501f3d1d39e6c$export$ea8f71083e90600f} from \"./useOverlay.mjs\";\nimport {usePreventScroll as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18} from \"./usePreventScroll.mjs\";\nimport {useLayoutEffect as $m0yab$useLayoutEffect, mergeProps as $m0yab$mergeProps} from \"@react-aria/utils\";\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\nfunction $f2f8a6077418541e$export$542a6fd13ac93354(props, state) {\n let { triggerRef: triggerRef, popoverRef: popoverRef, isNonModal: isNonModal, isKeyboardDismissDisabled: isKeyboardDismissDisabled, shouldCloseOnInteractOutside: shouldCloseOnInteractOutside, ...otherProps } = props;\n let { overlayProps: overlayProps, underlayProps: underlayProps } = (0, $a11501f3d1d39e6c$export$ea8f71083e90600f)({\n // If popover is in the top layer, it should not prevent other popovers from being dismissed.\n isOpen: state.isOpen && !otherProps['data-react-aria-top-layer'],\n onClose: state.close,\n shouldCloseOnBlur: true,\n isDismissable: !isNonModal,\n isKeyboardDismissDisabled: isKeyboardDismissDisabled,\n shouldCloseOnInteractOutside: shouldCloseOnInteractOutside\n }, popoverRef);\n let { overlayProps: positionProps, arrowProps: arrowProps, placement: placement } = (0, $2a41e45df1593e64$export$d39e1813b3bdd0e1)({\n ...otherProps,\n targetRef: triggerRef,\n overlayRef: popoverRef,\n isOpen: state.isOpen,\n onClose: isNonModal ? state.close : null\n });\n (0, $49c51c25361d4cd2$export$ee0f7cc6afcd1c18)({\n isDisabled: isNonModal || !state.isOpen\n });\n (0, $m0yab$useLayoutEffect)(()=>{\n if (state.isOpen && !isNonModal && popoverRef.current) return (0, $5e3802645cc19319$export$1c3ebcada18427bf)([\n popoverRef.current\n ]);\n }, [\n isNonModal,\n state.isOpen,\n popoverRef\n ]);\n return {\n popoverProps: (0, $m0yab$mergeProps)(overlayProps, positionProps),\n arrowProps: arrowProps,\n underlayProps: underlayProps,\n placement: placement\n };\n}\n\n\nexport {$f2f8a6077418541e$export$542a6fd13ac93354 as usePopover};\n//# sourceMappingURL=usePopover.module.js.map\n","import $7yuSY$react, {createContext as $7yuSY$createContext, useContext as $7yuSY$useContext} from \"react\";\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 */ \nconst $96b38030c423d352$export$60d741e20e0aa309 = /*#__PURE__*/ (0, $7yuSY$createContext)({});\nfunction $96b38030c423d352$export$db995ea7163b4b67(props) {\n let { getContainer: getContainer } = props;\n let { getContainer: ctxGetContainer } = $96b38030c423d352$export$574e9b0fb070c3b0();\n return /*#__PURE__*/ (0, $7yuSY$react).createElement($96b38030c423d352$export$60d741e20e0aa309.Provider, {\n value: {\n getContainer: getContainer === null ? undefined : getContainer !== null && getContainer !== void 0 ? getContainer : ctxGetContainer\n }\n }, props.children);\n}\nfunction $96b38030c423d352$export$574e9b0fb070c3b0() {\n var _useContext;\n return (_useContext = (0, $7yuSY$useContext)($96b38030c423d352$export$60d741e20e0aa309)) !== null && _useContext !== void 0 ? _useContext : {};\n}\n\n\nexport {$96b38030c423d352$export$60d741e20e0aa309 as PortalContext, $96b38030c423d352$export$db995ea7163b4b67 as UNSTABLE_PortalProvider, $96b38030c423d352$export$574e9b0fb070c3b0 as useUNSTABLE_PortalContext};\n//# sourceMappingURL=PortalProvider.module.js.map\n","import {useUNSTABLE_PortalContext as $96b38030c423d352$export$574e9b0fb070c3b0} from \"./PortalProvider.mjs\";\nimport {ClearPressResponder as $1CM7W$ClearPressResponder} from \"@react-aria/interactions\";\nimport {FocusScope as $1CM7W$FocusScope} from \"@react-aria/focus\";\nimport $1CM7W$react, {useState as $1CM7W$useState, useMemo as $1CM7W$useMemo, useContext as $1CM7W$useContext} from \"react\";\nimport $1CM7W$reactdom from \"react-dom\";\nimport {useIsSSR as $1CM7W$useIsSSR} from \"@react-aria/ssr\";\nimport {useLayoutEffect as $1CM7W$useLayoutEffect} from \"@react-aria/utils\";\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\nconst $337b884510726a0d$export$a2200b96afd16271 = /*#__PURE__*/ (0, $1CM7W$react).createContext(null);\nfunction $337b884510726a0d$export$c6fdb837b070b4ff(props) {\n let isSSR = (0, $1CM7W$useIsSSR)();\n let { portalContainer: portalContainer = isSSR ? null : document.body, isExiting: isExiting } = props;\n let [contain, setContain] = (0, $1CM7W$useState)(false);\n let contextValue = (0, $1CM7W$useMemo)(()=>({\n contain: contain,\n setContain: setContain\n }), [\n contain,\n setContain\n ]);\n let { getContainer: getContainer } = (0, $96b38030c423d352$export$574e9b0fb070c3b0)();\n if (!props.portalContainer && getContainer) portalContainer = getContainer();\n if (!portalContainer) return null;\n let contents = props.children;\n if (!props.disableFocusManagement) contents = /*#__PURE__*/ (0, $1CM7W$react).createElement((0, $1CM7W$FocusScope), {\n restoreFocus: true,\n contain: contain && !isExiting\n }, contents);\n contents = /*#__PURE__*/ (0, $1CM7W$react).createElement($337b884510726a0d$export$a2200b96afd16271.Provider, {\n value: contextValue\n }, /*#__PURE__*/ (0, $1CM7W$react).createElement((0, $1CM7W$ClearPressResponder), null, contents));\n return /*#__PURE__*/ (0, $1CM7W$reactdom).createPortal(contents, portalContainer);\n}\nfunction $337b884510726a0d$export$14c98a7594375490() {\n let ctx = (0, $1CM7W$useContext)($337b884510726a0d$export$a2200b96afd16271);\n let setContain = ctx === null || ctx === void 0 ? void 0 : ctx.setContain;\n (0, $1CM7W$useLayoutEffect)(()=>{\n setContain === null || setContain === void 0 ? void 0 : setContain(true);\n }, [\n setContain\n ]);\n}\n\n\nexport {$337b884510726a0d$export$a2200b96afd16271 as OverlayContext, $337b884510726a0d$export$c6fdb837b070b4ff as Overlay, $337b884510726a0d$export$14c98a7594375490 as useOverlayFocusContain};\n//# sourceMappingURL=Overlay.module.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 */ const $b1f0cad8af73213b$export$3585ede4d035bf14 = new WeakMap();\nfunction $b1f0cad8af73213b$var$normalizeKey(key) {\n if (typeof key === 'string') return key.replace(/\\s*/g, '');\n return '' + key;\n}\nfunction $b1f0cad8af73213b$export$9145995848b05025(state, itemKey) {\n let data = $b1f0cad8af73213b$export$3585ede4d035bf14.get(state);\n if (!data) throw new Error('Unknown list');\n return `${data.id}-option-${$b1f0cad8af73213b$var$normalizeKey(itemKey)}`;\n}\n\n\nexport {$b1f0cad8af73213b$export$3585ede4d035bf14 as listData, $b1f0cad8af73213b$export$9145995848b05025 as getItemId};\n//# sourceMappingURL=utils.module.js.map\n","import {isAppleDevice as $jUnAJ$isAppleDevice} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $feb5ffebff200149$export$d3e3bd3e26688c04(e) {\n // Ctrl + Arrow Up/Arrow Down has a system wide meaning on macOS, so use Alt instead.\n // On Windows and Ubuntu, Alt + Space has a system wide meaning.\n return (0, $jUnAJ$isAppleDevice)() ? e.altKey : e.ctrlKey;\n}\n\n\nexport {$feb5ffebff200149$export$d3e3bd3e26688c04 as isNonContiguousSelectionModifier};\n//# sourceMappingURL=utils.module.js.map\n","import {useRef as $dAE4Y$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 */ \n/**\n * Controls how long to wait before clearing the typeahead buffer.\n */ const $fb3050f43d946246$var$TYPEAHEAD_DEBOUNCE_WAIT_MS = 1000; // 1 second\nfunction $fb3050f43d946246$export$e32c88dfddc6e1d8(options) {\n let { keyboardDelegate: keyboardDelegate, selectionManager: selectionManager, onTypeSelect: onTypeSelect } = options;\n let state = (0, $dAE4Y$useRef)({\n search: '',\n timeout: undefined\n }).current;\n let onKeyDown = (e)=>{\n let character = $fb3050f43d946246$var$getStringForKey(e.key);\n if (!character || e.ctrlKey || e.metaKey || !e.currentTarget.contains(e.target)) return;\n // Do not propagate the Spacebar event if it's meant to be part of the search.\n // When we time out, the search term becomes empty, hence the check on length.\n // Trimming is to account for the case of pressing the Spacebar more than once,\n // which should cycle through the selection/deselection of the focused item.\n if (character === ' ' && state.search.trim().length > 0) {\n e.preventDefault();\n if (!('continuePropagation' in e)) e.stopPropagation();\n }\n state.search += character;\n if (keyboardDelegate.getKeyForSearch != null) {\n // Use the delegate to find a key to focus.\n // Prioritize items after the currently focused item, falling back to searching the whole list.\n let key = keyboardDelegate.getKeyForSearch(state.search, selectionManager.focusedKey);\n // If no key found, search from the top.\n if (key == null) key = keyboardDelegate.getKeyForSearch(state.search);\n if (key != null) {\n selectionManager.setFocusedKey(key);\n if (onTypeSelect) onTypeSelect(key);\n }\n }\n clearTimeout(state.timeout);\n state.timeout = setTimeout(()=>{\n state.search = '';\n }, $fb3050f43d946246$var$TYPEAHEAD_DEBOUNCE_WAIT_MS);\n };\n return {\n typeSelectProps: {\n // Using a capturing listener to catch the keydown event before\n // other hooks in order to handle the Spacebar event.\n onKeyDownCapture: keyboardDelegate.getKeyForSearch ? onKeyDown : undefined\n }\n };\n}\nfunction $fb3050f43d946246$var$getStringForKey(key) {\n // If the key is of length 1, it is an ASCII value.\n // Otherwise, if there are no ASCII characters in the key name,\n // it is a Unicode character.\n // See https://www.w3.org/TR/uievents-key/\n if (key.length === 1 || !/^[A-Z]/i.test(key)) return key;\n return '';\n}\n\n\nexport {$fb3050f43d946246$export$e32c88dfddc6e1d8 as useTypeSelect};\n//# sourceMappingURL=useTypeSelect.module.js.map\n","import {isNonContiguousSelectionModifier as $feb5ffebff200149$export$d3e3bd3e26688c04} from \"./utils.mjs\";\nimport {useTypeSelect as $fb3050f43d946246$export$e32c88dfddc6e1d8} from \"./useTypeSelect.mjs\";\nimport {useRouter as $3H3GQ$useRouter, isCtrlKeyPressed as $3H3GQ$isCtrlKeyPressed, focusWithoutScrolling as $3H3GQ$focusWithoutScrolling, useEvent as $3H3GQ$useEvent, scrollIntoViewport as $3H3GQ$scrollIntoViewport, FOCUS_EVENT as $3H3GQ$FOCUS_EVENT, useEffectEvent as $3H3GQ$useEffectEvent, UPDATE_ACTIVEDESCENDANT as $3H3GQ$UPDATE_ACTIVEDESCENDANT, useUpdateLayoutEffect as $3H3GQ$useUpdateLayoutEffect, CLEAR_FOCUS_EVENT as $3H3GQ$CLEAR_FOCUS_EVENT, scrollIntoView as $3H3GQ$scrollIntoView, mergeProps as $3H3GQ$mergeProps} from \"@react-aria/utils\";\nimport {flushSync as $3H3GQ$flushSync} from \"react-dom\";\nimport {useRef as $3H3GQ$useRef, useEffect as $3H3GQ$useEffect} from \"react\";\nimport {getFocusableTreeWalker as $3H3GQ$getFocusableTreeWalker, focusSafely as $3H3GQ$focusSafely} from \"@react-aria/focus\";\nimport {getInteractionModality as $3H3GQ$getInteractionModality} from \"@react-aria/interactions\";\nimport {useLocale as $3H3GQ$useLocale} from \"@react-aria/i18n\";\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\nfunction $ae20dd8cbca75726$export$d6daf82dcd84e87c(options) {\n let { selectionManager: manager, keyboardDelegate: delegate, ref: ref, autoFocus: autoFocus = false, shouldFocusWrap: shouldFocusWrap = false, disallowEmptySelection: disallowEmptySelection = false, disallowSelectAll: disallowSelectAll = false, selectOnFocus: selectOnFocus = manager.selectionBehavior === 'replace', disallowTypeAhead: disallowTypeAhead = false, shouldUseVirtualFocus: shouldUseVirtualFocus, allowsTabNavigation: allowsTabNavigation = false, isVirtualized: isVirtualized, scrollRef: // If no scrollRef is provided, assume the collection ref is the scrollable region\n scrollRef = ref, linkBehavior: linkBehavior = 'action' } = options;\n let { direction: direction } = (0, $3H3GQ$useLocale)();\n let router = (0, $3H3GQ$useRouter)();\n let onKeyDown = (e)=>{\n var _ref_current;\n // Prevent option + tab from doing anything since it doesn't move focus to the cells, only buttons/checkboxes\n if (e.altKey && e.key === 'Tab') e.preventDefault();\n // Keyboard events bubble through portals. Don't handle keyboard events\n // for elements outside the collection (e.g. menus).\n if (!((_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.contains(e.target))) return;\n const navigateToKey = (key, childFocus)=>{\n if (key != null) {\n if (manager.isLink(key) && linkBehavior === 'selection' && selectOnFocus && !(0, $feb5ffebff200149$export$d3e3bd3e26688c04)(e)) {\n var _scrollRef_current;\n // Set focused key and re-render synchronously to bring item into view if needed.\n (0, $3H3GQ$flushSync)(()=>{\n manager.setFocusedKey(key, childFocus);\n });\n let item = (_scrollRef_current = scrollRef.current) === null || _scrollRef_current === void 0 ? void 0 : _scrollRef_current.querySelector(`[data-key=\"${CSS.escape(key.toString())}\"]`);\n let itemProps = manager.getItemProps(key);\n if (item) router.open(item, e, itemProps.href, itemProps.routerOptions);\n return;\n }\n manager.setFocusedKey(key, childFocus);\n if (manager.isLink(key) && linkBehavior === 'override') return;\n if (e.shiftKey && manager.selectionMode === 'multiple') manager.extendSelection(key);\n else if (selectOnFocus && !(0, $feb5ffebff200149$export$d3e3bd3e26688c04)(e)) manager.replaceSelection(key);\n }\n };\n switch(e.key){\n case 'ArrowDown':\n if (delegate.getKeyBelow) {\n var _delegate_getKeyBelow, _delegate_getFirstKey, _delegate_getFirstKey1;\n let nextKey = manager.focusedKey != null ? (_delegate_getKeyBelow = delegate.getKeyBelow) === null || _delegate_getKeyBelow === void 0 ? void 0 : _delegate_getKeyBelow.call(delegate, manager.focusedKey) : (_delegate_getFirstKey = delegate.getFirstKey) === null || _delegate_getFirstKey === void 0 ? void 0 : _delegate_getFirstKey.call(delegate);\n if (nextKey == null && shouldFocusWrap) nextKey = (_delegate_getFirstKey1 = delegate.getFirstKey) === null || _delegate_getFirstKey1 === void 0 ? void 0 : _delegate_getFirstKey1.call(delegate, manager.focusedKey);\n if (nextKey != null) {\n e.preventDefault();\n navigateToKey(nextKey);\n }\n }\n break;\n case 'ArrowUp':\n if (delegate.getKeyAbove) {\n var _delegate_getKeyAbove, _delegate_getLastKey, _delegate_getLastKey1;\n let nextKey = manager.focusedKey != null ? (_delegate_getKeyAbove = delegate.getKeyAbove) === null || _delegate_getKeyAbove === void 0 ? void 0 : _delegate_getKeyAbove.call(delegate, manager.focusedKey) : (_delegate_getLastKey = delegate.getLastKey) === null || _delegate_getLastKey === void 0 ? void 0 : _delegate_getLastKey.call(delegate);\n if (nextKey == null && shouldFocusWrap) nextKey = (_delegate_getLastKey1 = delegate.getLastKey) === null || _delegate_getLastKey1 === void 0 ? void 0 : _delegate_getLastKey1.call(delegate, manager.focusedKey);\n if (nextKey != null) {\n e.preventDefault();\n navigateToKey(nextKey);\n }\n }\n break;\n case 'ArrowLeft':\n if (delegate.getKeyLeftOf) {\n var _delegate_getKeyLeftOf, _delegate_getFirstKey2, _delegate_getLastKey2;\n let nextKey = manager.focusedKey != null ? (_delegate_getKeyLeftOf = delegate.getKeyLeftOf) === null || _delegate_getKeyLeftOf === void 0 ? void 0 : _delegate_getKeyLeftOf.call(delegate, manager.focusedKey) : null;\n if (nextKey == null && shouldFocusWrap) nextKey = direction === 'rtl' ? (_delegate_getFirstKey2 = delegate.getFirstKey) === null || _delegate_getFirstKey2 === void 0 ? void 0 : _delegate_getFirstKey2.call(delegate, manager.focusedKey) : (_delegate_getLastKey2 = delegate.getLastKey) === null || _delegate_getLastKey2 === void 0 ? void 0 : _delegate_getLastKey2.call(delegate, manager.focusedKey);\n if (nextKey != null) {\n e.preventDefault();\n navigateToKey(nextKey, direction === 'rtl' ? 'first' : 'last');\n }\n }\n break;\n case 'ArrowRight':\n if (delegate.getKeyRightOf) {\n var _delegate_getKeyRightOf, _delegate_getLastKey3, _delegate_getFirstKey3;\n let nextKey = manager.focusedKey != null ? (_delegate_getKeyRightOf = delegate.getKeyRightOf) === null || _delegate_getKeyRightOf === void 0 ? void 0 : _delegate_getKeyRightOf.call(delegate, manager.focusedKey) : null;\n if (nextKey == null && shouldFocusWrap) nextKey = direction === 'rtl' ? (_delegate_getLastKey3 = delegate.getLastKey) === null || _delegate_getLastKey3 === void 0 ? void 0 : _delegate_getLastKey3.call(delegate, manager.focusedKey) : (_delegate_getFirstKey3 = delegate.getFirstKey) === null || _delegate_getFirstKey3 === void 0 ? void 0 : _delegate_getFirstKey3.call(delegate, manager.focusedKey);\n if (nextKey != null) {\n e.preventDefault();\n navigateToKey(nextKey, direction === 'rtl' ? 'last' : 'first');\n }\n }\n break;\n case 'Home':\n if (delegate.getFirstKey) {\n if (manager.focusedKey === null && e.shiftKey) return;\n e.preventDefault();\n let firstKey = delegate.getFirstKey(manager.focusedKey, (0, $3H3GQ$isCtrlKeyPressed)(e));\n manager.setFocusedKey(firstKey);\n if (firstKey != null) {\n if ((0, $3H3GQ$isCtrlKeyPressed)(e) && e.shiftKey && manager.selectionMode === 'multiple') manager.extendSelection(firstKey);\n else if (selectOnFocus) manager.replaceSelection(firstKey);\n }\n }\n break;\n case 'End':\n if (delegate.getLastKey) {\n if (manager.focusedKey === null && e.shiftKey) return;\n e.preventDefault();\n let lastKey = delegate.getLastKey(manager.focusedKey, (0, $3H3GQ$isCtrlKeyPressed)(e));\n manager.setFocusedKey(lastKey);\n if (lastKey != null) {\n if ((0, $3H3GQ$isCtrlKeyPressed)(e) && e.shiftKey && manager.selectionMode === 'multiple') manager.extendSelection(lastKey);\n else if (selectOnFocus) manager.replaceSelection(lastKey);\n }\n }\n break;\n case 'PageDown':\n if (delegate.getKeyPageBelow && manager.focusedKey != null) {\n let nextKey = delegate.getKeyPageBelow(manager.focusedKey);\n if (nextKey != null) {\n e.preventDefault();\n navigateToKey(nextKey);\n }\n }\n break;\n case 'PageUp':\n if (delegate.getKeyPageAbove && manager.focusedKey != null) {\n let nextKey = delegate.getKeyPageAbove(manager.focusedKey);\n if (nextKey != null) {\n e.preventDefault();\n navigateToKey(nextKey);\n }\n }\n break;\n case 'a':\n if ((0, $3H3GQ$isCtrlKeyPressed)(e) && manager.selectionMode === 'multiple' && disallowSelectAll !== true) {\n e.preventDefault();\n manager.selectAll();\n }\n break;\n case 'Escape':\n if (!disallowEmptySelection && manager.selectedKeys.size !== 0) {\n e.stopPropagation();\n e.preventDefault();\n manager.clearSelection();\n }\n break;\n case 'Tab':\n if (!allowsTabNavigation) {\n // There may be elements that are \"tabbable\" inside a collection (e.g. in a grid cell).\n // However, collections should be treated as a single tab stop, with arrow key navigation internally.\n // We don't control the rendering of these, so we can't override the tabIndex to prevent tabbing.\n // Instead, we handle the Tab key, and move focus manually to the first/last tabbable element\n // in the collection, so that the browser default behavior will apply starting from that element\n // rather than the currently focused one.\n if (e.shiftKey) ref.current.focus();\n else {\n let walker = (0, $3H3GQ$getFocusableTreeWalker)(ref.current, {\n tabbable: true\n });\n let next = undefined;\n let last;\n do {\n last = walker.lastChild();\n if (last) next = last;\n }while (last);\n if (next && !next.contains(document.activeElement)) (0, $3H3GQ$focusWithoutScrolling)(next);\n }\n break;\n }\n }\n };\n // Store the scroll position so we can restore it later.\n /// TODO: should this happen all the time??\n let scrollPos = (0, $3H3GQ$useRef)({\n top: 0,\n left: 0\n });\n (0, $3H3GQ$useEvent)(scrollRef, 'scroll', isVirtualized ? undefined : ()=>{\n var _scrollRef_current, _scrollRef_current1;\n var _scrollRef_current_scrollTop, _scrollRef_current_scrollLeft;\n scrollPos.current = {\n top: (_scrollRef_current_scrollTop = (_scrollRef_current = scrollRef.current) === null || _scrollRef_current === void 0 ? void 0 : _scrollRef_current.scrollTop) !== null && _scrollRef_current_scrollTop !== void 0 ? _scrollRef_current_scrollTop : 0,\n left: (_scrollRef_current_scrollLeft = (_scrollRef_current1 = scrollRef.current) === null || _scrollRef_current1 === void 0 ? void 0 : _scrollRef_current1.scrollLeft) !== null && _scrollRef_current_scrollLeft !== void 0 ? _scrollRef_current_scrollLeft : 0\n };\n });\n let onFocus = (e)=>{\n if (manager.isFocused) {\n // If a focus event bubbled through a portal, reset focus state.\n if (!e.currentTarget.contains(e.target)) manager.setFocused(false);\n return;\n }\n // Focus events can bubble through portals. Ignore these events.\n if (!e.currentTarget.contains(e.target)) return;\n manager.setFocused(true);\n if (manager.focusedKey == null) {\n var _delegate_getLastKey, _delegate_getFirstKey;\n let navigateToFirstKey = (key)=>{\n if (key != null) {\n manager.setFocusedKey(key);\n if (selectOnFocus) manager.replaceSelection(key);\n }\n };\n // If the user hasn't yet interacted with the collection, there will be no focusedKey set.\n // Attempt to detect whether the user is tabbing forward or backward into the collection\n // and either focus the first or last item accordingly.\n let relatedTarget = e.relatedTarget;\n var _manager_lastSelectedKey, _manager_firstSelectedKey;\n if (relatedTarget && e.currentTarget.compareDocumentPosition(relatedTarget) & Node.DOCUMENT_POSITION_FOLLOWING) navigateToFirstKey((_manager_lastSelectedKey = manager.lastSelectedKey) !== null && _manager_lastSelectedKey !== void 0 ? _manager_lastSelectedKey : (_delegate_getLastKey = delegate.getLastKey) === null || _delegate_getLastKey === void 0 ? void 0 : _delegate_getLastKey.call(delegate));\n else navigateToFirstKey((_manager_firstSelectedKey = manager.firstSelectedKey) !== null && _manager_firstSelectedKey !== void 0 ? _manager_firstSelectedKey : (_delegate_getFirstKey = delegate.getFirstKey) === null || _delegate_getFirstKey === void 0 ? void 0 : _delegate_getFirstKey.call(delegate));\n } else if (!isVirtualized && scrollRef.current) {\n // Restore the scroll position to what it was before.\n scrollRef.current.scrollTop = scrollPos.current.top;\n scrollRef.current.scrollLeft = scrollPos.current.left;\n }\n if (manager.focusedKey != null && scrollRef.current) {\n // Refocus and scroll the focused item into view if it exists within the scrollable region.\n let element = scrollRef.current.querySelector(`[data-key=\"${CSS.escape(manager.focusedKey.toString())}\"]`);\n if (element) {\n // This prevents a flash of focus on the first/last element in the collection, or the collection itself.\n if (!element.contains(document.activeElement)) (0, $3H3GQ$focusWithoutScrolling)(element);\n let modality = (0, $3H3GQ$getInteractionModality)();\n if (modality === 'keyboard') (0, $3H3GQ$scrollIntoViewport)(element, {\n containingElement: ref.current\n });\n }\n }\n };\n let onBlur = (e)=>{\n // Don't set blurred and then focused again if moving focus within the collection.\n if (!e.currentTarget.contains(e.relatedTarget)) manager.setFocused(false);\n };\n // Ref to track whether the first item in the collection should be automatically focused. Specifically used for autocomplete when user types\n // to focus the first key AFTER the collection updates.\n // TODO: potentially expand the usage of this\n let shouldVirtualFocusFirst = (0, $3H3GQ$useRef)(false);\n // Add event listeners for custom virtual events. These handle updating the focused key in response to various keyboard events\n // at the autocomplete level\n // TODO: fix type later\n (0, $3H3GQ$useEvent)(ref, (0, $3H3GQ$FOCUS_EVENT), !shouldUseVirtualFocus ? undefined : (e)=>{\n let { detail: detail } = e;\n e.stopPropagation();\n manager.setFocused(true);\n // If the user is typing forwards, autofocus the first option in the list.\n if ((detail === null || detail === void 0 ? void 0 : detail.focusStrategy) === 'first') shouldVirtualFocusFirst.current = true;\n });\n let updateActiveDescendant = (0, $3H3GQ$useEffectEvent)(()=>{\n var _delegate_getFirstKey;\n var _delegate_getFirstKey1;\n let keyToFocus = (_delegate_getFirstKey1 = (_delegate_getFirstKey = delegate.getFirstKey) === null || _delegate_getFirstKey === void 0 ? void 0 : _delegate_getFirstKey.call(delegate)) !== null && _delegate_getFirstKey1 !== void 0 ? _delegate_getFirstKey1 : null;\n // If no focusable items exist in the list, make sure to clear any activedescendant that may still exist\n if (keyToFocus == null) {\n var _ref_current;\n (_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.dispatchEvent(new CustomEvent((0, $3H3GQ$UPDATE_ACTIVEDESCENDANT), {\n cancelable: true,\n bubbles: true\n }));\n // If there wasn't a focusable key but the collection had items, then that means we aren't in an intermediate load state and all keys are disabled.\n // Reset shouldVirtualFocusFirst so that we don't erronously autofocus an item when the collection is filtered again.\n if (manager.collection.size > 0) shouldVirtualFocusFirst.current = false;\n } else {\n manager.setFocusedKey(keyToFocus);\n // Only set shouldVirtualFocusFirst to false if we've successfully set the first key as the focused key\n // If there wasn't a key to focus, we might be in a temporary loading state so we'll want to still focus the first key\n // after the collection updates after load\n shouldVirtualFocusFirst.current = false;\n }\n });\n (0, $3H3GQ$useUpdateLayoutEffect)(()=>{\n if (shouldVirtualFocusFirst.current) updateActiveDescendant();\n }, [\n manager.collection,\n updateActiveDescendant\n ]);\n let resetFocusFirstFlag = (0, $3H3GQ$useEffectEvent)(()=>{\n // If user causes the focused key to change in any other way, clear shouldVirtualFocusFirst so we don't\n // accidentally move focus from under them. Skip this if the collection was empty because we might be in a load\n // state and will still want to focus the first item after load\n if (manager.collection.size > 0) shouldVirtualFocusFirst.current = false;\n });\n (0, $3H3GQ$useUpdateLayoutEffect)(()=>{\n resetFocusFirstFlag();\n }, [\n manager.focusedKey,\n resetFocusFirstFlag\n ]);\n (0, $3H3GQ$useEvent)(ref, (0, $3H3GQ$CLEAR_FOCUS_EVENT), !shouldUseVirtualFocus ? undefined : (e)=>{\n e.stopPropagation();\n manager.setFocused(false);\n manager.setFocusedKey(null);\n });\n const autoFocusRef = (0, $3H3GQ$useRef)(autoFocus);\n (0, $3H3GQ$useEffect)(()=>{\n if (autoFocusRef.current) {\n var _delegate_getFirstKey, _delegate_getLastKey;\n let focusedKey = null;\n var _delegate_getFirstKey1;\n // Check focus strategy to determine which item to focus\n if (autoFocus === 'first') focusedKey = (_delegate_getFirstKey1 = (_delegate_getFirstKey = delegate.getFirstKey) === null || _delegate_getFirstKey === void 0 ? void 0 : _delegate_getFirstKey.call(delegate)) !== null && _delegate_getFirstKey1 !== void 0 ? _delegate_getFirstKey1 : null;\n var _delegate_getLastKey1;\n if (autoFocus === 'last') focusedKey = (_delegate_getLastKey1 = (_delegate_getLastKey = delegate.getLastKey) === null || _delegate_getLastKey === void 0 ? void 0 : _delegate_getLastKey.call(delegate)) !== null && _delegate_getLastKey1 !== void 0 ? _delegate_getLastKey1 : null;\n // If there are any selected keys, make the first one the new focus target\n let selectedKeys = manager.selectedKeys;\n if (selectedKeys.size) {\n for (let key of selectedKeys)if (manager.canSelectItem(key)) {\n focusedKey = key;\n break;\n }\n }\n manager.setFocused(true);\n manager.setFocusedKey(focusedKey);\n // If no default focus key is selected, focus the collection itself.\n if (focusedKey == null && !shouldUseVirtualFocus && ref.current) (0, $3H3GQ$focusSafely)(ref.current);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n // Scroll the focused element into view when the focusedKey changes.\n let lastFocusedKey = (0, $3H3GQ$useRef)(manager.focusedKey);\n (0, $3H3GQ$useEffect)(()=>{\n if (manager.isFocused && manager.focusedKey != null && (manager.focusedKey !== lastFocusedKey.current || autoFocusRef.current) && scrollRef.current && ref.current) {\n let modality = (0, $3H3GQ$getInteractionModality)();\n let element = ref.current.querySelector(`[data-key=\"${CSS.escape(manager.focusedKey.toString())}\"]`);\n if (!element) // If item element wasn't found, return early (don't update autoFocusRef and lastFocusedKey).\n // The collection may initially be empty (e.g. virtualizer), so wait until the element exists.\n return;\n if (modality === 'keyboard' || autoFocusRef.current) {\n (0, $3H3GQ$scrollIntoView)(scrollRef.current, element);\n // Avoid scroll in iOS VO, since it may cause overlay to close (i.e. RAC submenu)\n if (modality !== 'virtual') (0, $3H3GQ$scrollIntoViewport)(element, {\n containingElement: ref.current\n });\n }\n }\n // If the focused key becomes null (e.g. the last item is deleted), focus the whole collection.\n if (!shouldUseVirtualFocus && manager.isFocused && manager.focusedKey == null && lastFocusedKey.current != null && ref.current) (0, $3H3GQ$focusSafely)(ref.current);\n lastFocusedKey.current = manager.focusedKey;\n autoFocusRef.current = false;\n });\n // Intercept FocusScope restoration since virtualized collections can reuse DOM nodes.\n (0, $3H3GQ$useEvent)(ref, 'react-aria-focus-scope-restore', (e)=>{\n e.preventDefault();\n manager.setFocused(true);\n });\n let handlers = {\n onKeyDown: onKeyDown,\n onFocus: onFocus,\n onBlur: onBlur,\n onMouseDown (e) {\n // Ignore events that bubbled through portals.\n if (scrollRef.current === e.target) // Prevent focus going to the collection when clicking on the scrollbar.\n e.preventDefault();\n }\n };\n let { typeSelectProps: typeSelectProps } = (0, $fb3050f43d946246$export$e32c88dfddc6e1d8)({\n keyboardDelegate: delegate,\n selectionManager: manager\n });\n if (!disallowTypeAhead) handlers = (0, $3H3GQ$mergeProps)(typeSelectProps, handlers);\n // If nothing is focused within the collection, make the collection itself tabbable.\n // This will be marshalled to either the first or last item depending on where focus came from.\n let tabIndex = undefined;\n if (!shouldUseVirtualFocus) tabIndex = manager.focusedKey == null ? 0 : -1;\n else tabIndex = -1;\n return {\n collectionProps: {\n ...handlers,\n tabIndex: tabIndex\n }\n };\n}\n\n\nexport {$ae20dd8cbca75726$export$d6daf82dcd84e87c as useSelectableCollection};\n//# sourceMappingURL=useSelectableCollection.module.js.map\n","import {isNonContiguousSelectionModifier as $feb5ffebff200149$export$d3e3bd3e26688c04} from \"./utils.mjs\";\nimport {focusSafely as $581M0$focusSafely} from \"@react-aria/focus\";\nimport {useRouter as $581M0$useRouter, useId as $581M0$useId, isCtrlKeyPressed as $581M0$isCtrlKeyPressed, UPDATE_ACTIVEDESCENDANT as $581M0$UPDATE_ACTIVEDESCENDANT, openLink as $581M0$openLink, mergeProps as $581M0$mergeProps} from \"@react-aria/utils\";\nimport {usePress as $581M0$usePress, useLongPress as $581M0$useLongPress} from \"@react-aria/interactions\";\nimport {useEffect as $581M0$useEffect, useRef as $581M0$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 */ \n\n\n\n\nfunction $880e95eb8b93ba9a$export$ecf600387e221c37(options) {\n let { id: id, selectionManager: manager, key: key, ref: ref, shouldSelectOnPressUp: shouldSelectOnPressUp, shouldUseVirtualFocus: shouldUseVirtualFocus, focus: focus, isDisabled: isDisabled, onAction: onAction, allowsDifferentPressOrigin: allowsDifferentPressOrigin, linkBehavior: linkBehavior = 'action' } = options;\n let router = (0, $581M0$useRouter)();\n id = (0, $581M0$useId)(id);\n let onSelect = (e)=>{\n if (e.pointerType === 'keyboard' && (0, $feb5ffebff200149$export$d3e3bd3e26688c04)(e)) manager.toggleSelection(key);\n else {\n if (manager.selectionMode === 'none') return;\n if (manager.isLink(key)) {\n if (linkBehavior === 'selection' && ref.current) {\n let itemProps = manager.getItemProps(key);\n router.open(ref.current, e, itemProps.href, itemProps.routerOptions);\n // Always set selected keys back to what they were so that select and combobox close.\n manager.setSelectedKeys(manager.selectedKeys);\n return;\n } else if (linkBehavior === 'override' || linkBehavior === 'none') return;\n }\n if (manager.selectionMode === 'single') {\n if (manager.isSelected(key) && !manager.disallowEmptySelection) manager.toggleSelection(key);\n else manager.replaceSelection(key);\n } else if (e && e.shiftKey) manager.extendSelection(key);\n else if (manager.selectionBehavior === 'toggle' || e && ((0, $581M0$isCtrlKeyPressed)(e) || e.pointerType === 'touch' || e.pointerType === 'virtual')) // if touch or virtual (VO) then we just want to toggle, otherwise it's impossible to multi select because they don't have modifier keys\n manager.toggleSelection(key);\n else manager.replaceSelection(key);\n }\n };\n // Focus the associated DOM node when this item becomes the focusedKey\n // TODO: can't make this useLayoutEffect bacause it breaks menus inside dialogs\n // However, if this is a useEffect, it runs twice and dispatches two UPDATE_ACTIVEDESCENDANT and immediately sets\n // aria-activeDescendant in useAutocomplete... I've worked around this for now\n (0, $581M0$useEffect)(()=>{\n let isFocused = key === manager.focusedKey;\n if (isFocused && manager.isFocused) {\n if (!shouldUseVirtualFocus) {\n if (focus) focus();\n else if (document.activeElement !== ref.current && ref.current) (0, $581M0$focusSafely)(ref.current);\n } else {\n var _ref_current;\n let updateActiveDescendant = new CustomEvent((0, $581M0$UPDATE_ACTIVEDESCENDANT), {\n cancelable: true,\n bubbles: true\n });\n (_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.dispatchEvent(updateActiveDescendant);\n }\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n ref,\n key,\n manager.focusedKey,\n manager.childFocusStrategy,\n manager.isFocused,\n shouldUseVirtualFocus\n ]);\n isDisabled = isDisabled || manager.isDisabled(key);\n // Set tabIndex to 0 if the element is focused, or -1 otherwise so that only the last focused\n // item is tabbable. If using virtual focus, don't set a tabIndex at all so that VoiceOver\n // on iOS 14 doesn't try to move real DOM focus to the item anyway.\n let itemProps = {};\n if (!shouldUseVirtualFocus && !isDisabled) itemProps = {\n tabIndex: key === manager.focusedKey ? 0 : -1,\n onFocus (e) {\n if (e.target === ref.current) manager.setFocusedKey(key);\n }\n };\n else if (isDisabled) itemProps.onMouseDown = (e)=>{\n // Prevent focus going to the body when clicking on a disabled item.\n e.preventDefault();\n };\n // With checkbox selection, onAction (i.e. navigation) becomes primary, and occurs on a single click of the row.\n // Clicking the checkbox enters selection mode, after which clicking anywhere on any row toggles selection for that row.\n // With highlight selection, onAction is secondary, and occurs on double click. Single click selects the row.\n // With touch, onAction occurs on single tap, and long press enters selection mode.\n let isLinkOverride = manager.isLink(key) && linkBehavior === 'override';\n let hasLinkAction = manager.isLink(key) && linkBehavior !== 'selection' && linkBehavior !== 'none';\n let allowsSelection = !isDisabled && manager.canSelectItem(key) && !isLinkOverride;\n let allowsActions = (onAction || hasLinkAction) && !isDisabled;\n let hasPrimaryAction = allowsActions && (manager.selectionBehavior === 'replace' ? !allowsSelection : !allowsSelection || manager.isEmpty);\n let hasSecondaryAction = allowsActions && allowsSelection && manager.selectionBehavior === 'replace';\n let hasAction = hasPrimaryAction || hasSecondaryAction;\n let modality = (0, $581M0$useRef)(null);\n let longPressEnabled = hasAction && allowsSelection;\n let longPressEnabledOnPressStart = (0, $581M0$useRef)(false);\n let hadPrimaryActionOnPressStart = (0, $581M0$useRef)(false);\n let performAction = (e)=>{\n if (onAction) onAction();\n if (hasLinkAction && ref.current) {\n let itemProps = manager.getItemProps(key);\n router.open(ref.current, e, itemProps.href, itemProps.routerOptions);\n }\n };\n // By default, selection occurs on pointer down. This can be strange if selecting an\n // item causes the UI to disappear immediately (e.g. menus).\n // If shouldSelectOnPressUp is true, we use onPressUp instead of onPressStart.\n // onPress requires a pointer down event on the same element as pointer up. For menus,\n // we want to be able to have the pointer down on the trigger that opens the menu and\n // the pointer up on the menu item rather than requiring a separate press.\n // For keyboard events, selection still occurs on key down.\n let itemPressProps = {};\n if (shouldSelectOnPressUp) {\n itemPressProps.onPressStart = (e)=>{\n modality.current = e.pointerType;\n longPressEnabledOnPressStart.current = longPressEnabled;\n if (e.pointerType === 'keyboard' && (!hasAction || $880e95eb8b93ba9a$var$isSelectionKey())) onSelect(e);\n };\n // If allowsDifferentPressOrigin and interacting with mouse, make selection happen on pressUp (e.g. open menu on press down, selection on menu item happens on press up.)\n // Otherwise, have selection happen onPress (prevents listview row selection when clicking on interactable elements in the row)\n if (!allowsDifferentPressOrigin) itemPressProps.onPress = (e)=>{\n if (hasPrimaryAction || hasSecondaryAction && e.pointerType !== 'mouse') {\n if (e.pointerType === 'keyboard' && !$880e95eb8b93ba9a$var$isActionKey()) return;\n performAction(e);\n } else if (e.pointerType !== 'keyboard' && allowsSelection) onSelect(e);\n };\n else {\n itemPressProps.onPressUp = hasPrimaryAction ? undefined : (e)=>{\n if (e.pointerType === 'mouse' && allowsSelection) onSelect(e);\n };\n itemPressProps.onPress = hasPrimaryAction ? performAction : (e)=>{\n if (e.pointerType !== 'keyboard' && e.pointerType !== 'mouse' && allowsSelection) onSelect(e);\n };\n }\n } else {\n itemPressProps.onPressStart = (e)=>{\n modality.current = e.pointerType;\n longPressEnabledOnPressStart.current = longPressEnabled;\n hadPrimaryActionOnPressStart.current = hasPrimaryAction;\n // Select on mouse down unless there is a primary action which will occur on mouse up.\n // For keyboard, select on key down. If there is an action, the Space key selects on key down,\n // and the Enter key performs onAction on key up.\n if (allowsSelection && (e.pointerType === 'mouse' && !hasPrimaryAction || e.pointerType === 'keyboard' && (!allowsActions || $880e95eb8b93ba9a$var$isSelectionKey()))) onSelect(e);\n };\n itemPressProps.onPress = (e)=>{\n // Selection occurs on touch up. Primary actions always occur on pointer up.\n // Both primary and secondary actions occur on Enter key up. The only exception\n // is secondary actions, which occur on double click with a mouse.\n if (e.pointerType === 'touch' || e.pointerType === 'pen' || e.pointerType === 'virtual' || e.pointerType === 'keyboard' && hasAction && $880e95eb8b93ba9a$var$isActionKey() || e.pointerType === 'mouse' && hadPrimaryActionOnPressStart.current) {\n if (hasAction) performAction(e);\n else if (allowsSelection) onSelect(e);\n }\n };\n }\n itemProps['data-key'] = key;\n itemPressProps.preventFocusOnPress = shouldUseVirtualFocus;\n let { pressProps: pressProps, isPressed: isPressed } = (0, $581M0$usePress)(itemPressProps);\n // Double clicking with a mouse with selectionBehavior = 'replace' performs an action.\n let onDoubleClick = hasSecondaryAction ? (e)=>{\n if (modality.current === 'mouse') {\n e.stopPropagation();\n e.preventDefault();\n performAction(e);\n }\n } : undefined;\n // Long pressing an item with touch when selectionBehavior = 'replace' switches the selection behavior\n // to 'toggle'. This changes the single tap behavior from performing an action (i.e. navigating) to\n // selecting, and may toggle the appearance of a UI affordance like checkboxes on each item.\n let { longPressProps: longPressProps } = (0, $581M0$useLongPress)({\n isDisabled: !longPressEnabled,\n onLongPress (e) {\n if (e.pointerType === 'touch') {\n onSelect(e);\n manager.setSelectionBehavior('toggle');\n }\n }\n });\n // Prevent native drag and drop on long press if we also select on long press.\n // Once the user is in selection mode, they can long press again to drag.\n // Use a capturing listener to ensure this runs before useDrag, regardless of\n // the order the props get merged.\n let onDragStartCapture = (e)=>{\n if (modality.current === 'touch' && longPressEnabledOnPressStart.current) e.preventDefault();\n };\n // Prevent default on link clicks so that we control exactly\n // when they open (to match selection behavior).\n let onClick = manager.isLink(key) ? (e)=>{\n if (!(0, $581M0$openLink).isOpening) e.preventDefault();\n } : undefined;\n return {\n itemProps: (0, $581M0$mergeProps)(itemProps, allowsSelection || hasPrimaryAction ? pressProps : {}, longPressEnabled ? longPressProps : {}, {\n onDoubleClick: onDoubleClick,\n onDragStartCapture: onDragStartCapture,\n onClick: onClick,\n id: id\n }),\n isPressed: isPressed,\n isSelected: manager.isSelected(key),\n isFocused: manager.isFocused && manager.focusedKey === key,\n isDisabled: isDisabled,\n allowsSelection: allowsSelection,\n hasAction: hasAction\n };\n}\nfunction $880e95eb8b93ba9a$var$isActionKey() {\n let event = window.event;\n return (event === null || event === void 0 ? void 0 : event.key) === 'Enter';\n}\nfunction $880e95eb8b93ba9a$var$isSelectionKey() {\n let event = window.event;\n return (event === null || event === void 0 ? void 0 : event.key) === ' ' || (event === null || event === void 0 ? void 0 : event.code) === 'Space';\n}\n\n\nexport {$880e95eb8b93ba9a$export$ecf600387e221c37 as useSelectableItem};\n//# sourceMappingURL=useSelectableItem.module.js.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 */ class $657e4dc4a6e88df0$export$8f5ed9ff9f511381 {\n getItemRect(key) {\n let container = this.ref.current;\n if (!container) return null;\n let item = key != null ? container.querySelector(`[data-key=\"${CSS.escape(key.toString())}\"]`) : null;\n if (!item) return null;\n let containerRect = container.getBoundingClientRect();\n let itemRect = item.getBoundingClientRect();\n return {\n x: itemRect.left - containerRect.left + container.scrollLeft,\n y: itemRect.top - containerRect.top + container.scrollTop,\n width: itemRect.width,\n height: itemRect.height\n };\n }\n getContentSize() {\n let container = this.ref.current;\n var _container_scrollWidth, _container_scrollHeight;\n return {\n width: (_container_scrollWidth = container === null || container === void 0 ? void 0 : container.scrollWidth) !== null && _container_scrollWidth !== void 0 ? _container_scrollWidth : 0,\n height: (_container_scrollHeight = container === null || container === void 0 ? void 0 : container.scrollHeight) !== null && _container_scrollHeight !== void 0 ? _container_scrollHeight : 0\n };\n }\n getVisibleRect() {\n let container = this.ref.current;\n var _container_scrollLeft, _container_scrollTop, _container_offsetWidth, _container_offsetHeight;\n return {\n x: (_container_scrollLeft = container === null || container === void 0 ? void 0 : container.scrollLeft) !== null && _container_scrollLeft !== void 0 ? _container_scrollLeft : 0,\n y: (_container_scrollTop = container === null || container === void 0 ? void 0 : container.scrollTop) !== null && _container_scrollTop !== void 0 ? _container_scrollTop : 0,\n width: (_container_offsetWidth = container === null || container === void 0 ? void 0 : container.offsetWidth) !== null && _container_offsetWidth !== void 0 ? _container_offsetWidth : 0,\n height: (_container_offsetHeight = container === null || container === void 0 ? void 0 : container.offsetHeight) !== null && _container_offsetHeight !== void 0 ? _container_offsetHeight : 0\n };\n }\n constructor(ref){\n this.ref = ref;\n }\n}\n\n\nexport {$657e4dc4a6e88df0$export$8f5ed9ff9f511381 as DOMLayoutDelegate};\n//# sourceMappingURL=DOMLayoutDelegate.module.js.map\n","import {DOMLayoutDelegate as $657e4dc4a6e88df0$export$8f5ed9ff9f511381} from \"./DOMLayoutDelegate.mjs\";\nimport {isScrollable as $eak97$isScrollable} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nclass $2a25aae57d74318e$export$a05409b8bb224a5a {\n isDisabled(item) {\n var _item_props;\n return this.disabledBehavior === 'all' && (((_item_props = item.props) === null || _item_props === void 0 ? void 0 : _item_props.isDisabled) || this.disabledKeys.has(item.key));\n }\n findNextNonDisabled(key, getNext) {\n let nextKey = key;\n while(nextKey != null){\n let item = this.collection.getItem(nextKey);\n if ((item === null || item === void 0 ? void 0 : item.type) === 'item' && !this.isDisabled(item)) return nextKey;\n nextKey = getNext(nextKey);\n }\n return null;\n }\n getNextKey(key) {\n let nextKey = key;\n nextKey = this.collection.getKeyAfter(nextKey);\n return this.findNextNonDisabled(nextKey, (key)=>this.collection.getKeyAfter(key));\n }\n getPreviousKey(key) {\n let nextKey = key;\n nextKey = this.collection.getKeyBefore(nextKey);\n return this.findNextNonDisabled(nextKey, (key)=>this.collection.getKeyBefore(key));\n }\n findKey(key, nextKey, shouldSkip) {\n let tempKey = key;\n let itemRect = this.layoutDelegate.getItemRect(tempKey);\n if (!itemRect || tempKey == null) return null;\n // Find the item above or below in the same column.\n let prevRect = itemRect;\n do {\n tempKey = nextKey(tempKey);\n if (tempKey == null) break;\n itemRect = this.layoutDelegate.getItemRect(tempKey);\n }while (itemRect && shouldSkip(prevRect, itemRect) && tempKey != null);\n return tempKey;\n }\n isSameRow(prevRect, itemRect) {\n return prevRect.y === itemRect.y || prevRect.x !== itemRect.x;\n }\n isSameColumn(prevRect, itemRect) {\n return prevRect.x === itemRect.x || prevRect.y !== itemRect.y;\n }\n getKeyBelow(key) {\n if (this.layout === 'grid' && this.orientation === 'vertical') return this.findKey(key, (key)=>this.getNextKey(key), this.isSameRow);\n else return this.getNextKey(key);\n }\n getKeyAbove(key) {\n if (this.layout === 'grid' && this.orientation === 'vertical') return this.findKey(key, (key)=>this.getPreviousKey(key), this.isSameRow);\n else return this.getPreviousKey(key);\n }\n getNextColumn(key, right) {\n return right ? this.getPreviousKey(key) : this.getNextKey(key);\n }\n getKeyRightOf(key) {\n // This is a temporary solution for CardView until we refactor useSelectableCollection.\n // https://github.com/orgs/adobe/projects/19/views/32?pane=issue&itemId=77825042\n let layoutDelegateMethod = this.direction === 'ltr' ? 'getKeyRightOf' : 'getKeyLeftOf';\n if (this.layoutDelegate[layoutDelegateMethod]) {\n key = this.layoutDelegate[layoutDelegateMethod](key);\n return this.findNextNonDisabled(key, (key)=>this.layoutDelegate[layoutDelegateMethod](key));\n }\n if (this.layout === 'grid') {\n if (this.orientation === 'vertical') return this.getNextColumn(key, this.direction === 'rtl');\n else return this.findKey(key, (key)=>this.getNextColumn(key, this.direction === 'rtl'), this.isSameColumn);\n } else if (this.orientation === 'horizontal') return this.getNextColumn(key, this.direction === 'rtl');\n return null;\n }\n getKeyLeftOf(key) {\n let layoutDelegateMethod = this.direction === 'ltr' ? 'getKeyLeftOf' : 'getKeyRightOf';\n if (this.layoutDelegate[layoutDelegateMethod]) {\n key = this.layoutDelegate[layoutDelegateMethod](key);\n return this.findNextNonDisabled(key, (key)=>this.layoutDelegate[layoutDelegateMethod](key));\n }\n if (this.layout === 'grid') {\n if (this.orientation === 'vertical') return this.getNextColumn(key, this.direction === 'ltr');\n else return this.findKey(key, (key)=>this.getNextColumn(key, this.direction === 'ltr'), this.isSameColumn);\n } else if (this.orientation === 'horizontal') return this.getNextColumn(key, this.direction === 'ltr');\n return null;\n }\n getFirstKey() {\n let key = this.collection.getFirstKey();\n return this.findNextNonDisabled(key, (key)=>this.collection.getKeyAfter(key));\n }\n getLastKey() {\n let key = this.collection.getLastKey();\n return this.findNextNonDisabled(key, (key)=>this.collection.getKeyBefore(key));\n }\n getKeyPageAbove(key) {\n let menu = this.ref.current;\n let itemRect = this.layoutDelegate.getItemRect(key);\n if (!itemRect) return null;\n if (menu && !(0, $eak97$isScrollable)(menu)) return this.getFirstKey();\n let nextKey = key;\n if (this.orientation === 'horizontal') {\n let pageX = Math.max(0, itemRect.x + itemRect.width - this.layoutDelegate.getVisibleRect().width);\n while(itemRect && itemRect.x > pageX && nextKey != null){\n nextKey = this.getKeyAbove(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n } else {\n let pageY = Math.max(0, itemRect.y + itemRect.height - this.layoutDelegate.getVisibleRect().height);\n while(itemRect && itemRect.y > pageY && nextKey != null){\n nextKey = this.getKeyAbove(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n }\n return nextKey !== null && nextKey !== void 0 ? nextKey : this.getFirstKey();\n }\n getKeyPageBelow(key) {\n let menu = this.ref.current;\n let itemRect = this.layoutDelegate.getItemRect(key);\n if (!itemRect) return null;\n if (menu && !(0, $eak97$isScrollable)(menu)) return this.getLastKey();\n let nextKey = key;\n if (this.orientation === 'horizontal') {\n let pageX = Math.min(this.layoutDelegate.getContentSize().width, itemRect.y - itemRect.width + this.layoutDelegate.getVisibleRect().width);\n while(itemRect && itemRect.x < pageX && nextKey != null){\n nextKey = this.getKeyBelow(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n } else {\n let pageY = Math.min(this.layoutDelegate.getContentSize().height, itemRect.y - itemRect.height + this.layoutDelegate.getVisibleRect().height);\n while(itemRect && itemRect.y < pageY && nextKey != null){\n nextKey = this.getKeyBelow(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n }\n return nextKey !== null && nextKey !== void 0 ? nextKey : this.getLastKey();\n }\n getKeyForSearch(search, fromKey) {\n if (!this.collator) return null;\n let collection = this.collection;\n let key = fromKey || this.getFirstKey();\n while(key != null){\n let item = collection.getItem(key);\n if (!item) return null;\n let substring = item.textValue.slice(0, search.length);\n if (item.textValue && this.collator.compare(substring, search) === 0) return key;\n key = this.getNextKey(key);\n }\n return null;\n }\n constructor(...args){\n if (args.length === 1) {\n let opts = args[0];\n this.collection = opts.collection;\n this.ref = opts.ref;\n this.collator = opts.collator;\n this.disabledKeys = opts.disabledKeys || new Set();\n this.disabledBehavior = opts.disabledBehavior || 'all';\n this.orientation = opts.orientation || 'vertical';\n this.direction = opts.direction;\n this.layout = opts.layout || 'stack';\n this.layoutDelegate = opts.layoutDelegate || new (0, $657e4dc4a6e88df0$export$8f5ed9ff9f511381)(opts.ref);\n } else {\n this.collection = args[0];\n this.disabledKeys = args[1];\n this.ref = args[2];\n this.collator = args[3];\n this.layout = 'stack';\n this.orientation = 'vertical';\n this.disabledBehavior = 'all';\n this.layoutDelegate = new (0, $657e4dc4a6e88df0$export$8f5ed9ff9f511381)(this.ref);\n }\n // If this is a vertical stack, remove the left/right methods completely\n // so they aren't called by useDroppableCollection.\n if (this.layout === 'stack' && this.orientation === 'vertical') {\n this.getKeyLeftOf = undefined;\n this.getKeyRightOf = undefined;\n }\n }\n}\n\n\nexport {$2a25aae57d74318e$export$a05409b8bb224a5a as ListKeyboardDelegate};\n//# sourceMappingURL=ListKeyboardDelegate.module.js.map\n","import {useSelectableCollection as $ae20dd8cbca75726$export$d6daf82dcd84e87c} from \"./useSelectableCollection.mjs\";\nimport {ListKeyboardDelegate as $2a25aae57d74318e$export$a05409b8bb224a5a} from \"./ListKeyboardDelegate.mjs\";\nimport {useCollator as $1aJk5$useCollator} from \"@react-aria/i18n\";\nimport {useMemo as $1aJk5$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 $982254629710d113$export$b95089534ab7c1fd(props) {\n let { selectionManager: selectionManager, collection: collection, disabledKeys: disabledKeys, ref: ref, keyboardDelegate: keyboardDelegate, layoutDelegate: layoutDelegate } = props;\n // By default, a KeyboardDelegate is provided which uses the DOM to query layout information (e.g. for page up/page down).\n // When virtualized, the layout object will be passed in as a prop and override this.\n let collator = (0, $1aJk5$useCollator)({\n usage: 'search',\n sensitivity: 'base'\n });\n let disabledBehavior = selectionManager.disabledBehavior;\n let delegate = (0, $1aJk5$useMemo)(()=>keyboardDelegate || new (0, $2a25aae57d74318e$export$a05409b8bb224a5a)({\n collection: collection,\n disabledKeys: disabledKeys,\n disabledBehavior: disabledBehavior,\n ref: ref,\n collator: collator,\n layoutDelegate: layoutDelegate\n }), [\n keyboardDelegate,\n layoutDelegate,\n collection,\n disabledKeys,\n ref,\n collator,\n disabledBehavior\n ]);\n let { collectionProps: collectionProps } = (0, $ae20dd8cbca75726$export$d6daf82dcd84e87c)({\n ...props,\n ref: ref,\n selectionManager: selectionManager,\n keyboardDelegate: delegate\n });\n return {\n listProps: collectionProps\n };\n}\n\n\nexport {$982254629710d113$export$b95089534ab7c1fd as useSelectableList};\n//# sourceMappingURL=useSelectableList.module.js.map\n","import {listData as $b1f0cad8af73213b$export$3585ede4d035bf14} from \"./utils.mjs\";\nimport {filterDOMProps as $by1yQ$filterDOMProps, useId as $by1yQ$useId, mergeProps as $by1yQ$mergeProps} from \"@react-aria/utils\";\nimport {useFocusWithin as $by1yQ$useFocusWithin} from \"@react-aria/interactions\";\nimport {useLabel as $by1yQ$useLabel} from \"@react-aria/label\";\nimport {useSelectableList as $by1yQ$useSelectableList} from \"@react-aria/selection\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nfunction $c132121280ec012d$export$50eacbbf140a3141(props, state, ref) {\n let domProps = (0, $by1yQ$filterDOMProps)(props, {\n labelable: true\n });\n // Use props instead of state here. We don't want this to change due to long press.\n let selectionBehavior = props.selectionBehavior || 'toggle';\n let linkBehavior = props.linkBehavior || (selectionBehavior === 'replace' ? 'action' : 'override');\n if (selectionBehavior === 'toggle' && linkBehavior === 'action') // linkBehavior=\"action\" does not work with selectionBehavior=\"toggle\" because there is no way\n // to initiate selection (checkboxes are not allowed inside a listbox). Link items will not be\n // selectable in this configuration.\n linkBehavior = 'override';\n let { listProps: listProps } = (0, $by1yQ$useSelectableList)({\n ...props,\n ref: ref,\n selectionManager: state.selectionManager,\n collection: state.collection,\n disabledKeys: state.disabledKeys,\n linkBehavior: linkBehavior\n });\n let { focusWithinProps: focusWithinProps } = (0, $by1yQ$useFocusWithin)({\n onFocusWithin: props.onFocus,\n onBlurWithin: props.onBlur,\n onFocusWithinChange: props.onFocusChange\n });\n // Share list id and some props with child options.\n let id = (0, $by1yQ$useId)(props.id);\n (0, $b1f0cad8af73213b$export$3585ede4d035bf14).set(state, {\n id: id,\n shouldUseVirtualFocus: props.shouldUseVirtualFocus,\n shouldSelectOnPressUp: props.shouldSelectOnPressUp,\n shouldFocusOnHover: props.shouldFocusOnHover,\n isVirtualized: props.isVirtualized,\n onAction: props.onAction,\n linkBehavior: linkBehavior\n });\n let { labelProps: labelProps, fieldProps: fieldProps } = (0, $by1yQ$useLabel)({\n ...props,\n id: id,\n // listbox is not an HTML input element so it\n // shouldn't be labeled by a <label> element.\n labelElementType: 'span'\n });\n return {\n labelProps: labelProps,\n listBoxProps: (0, $by1yQ$mergeProps)(domProps, focusWithinProps, state.selectionManager.selectionMode === 'multiple' ? {\n 'aria-multiselectable': 'true'\n } : {}, {\n role: 'listbox',\n ...(0, $by1yQ$mergeProps)(fieldProps, listProps)\n })\n };\n}\n\n\nexport {$c132121280ec012d$export$50eacbbf140a3141 as useListBox};\n//# sourceMappingURL=useListBox.module.js.map\n","import $fzaAv$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 */ \nclass $eb2240fc39a57fa5$export$bf788dd355e3a401 {\n build(props, context) {\n this.context = context;\n return $eb2240fc39a57fa5$var$iterable(()=>this.iterateCollection(props));\n }\n *iterateCollection(props) {\n let { children: children, items: items } = props;\n if ((0, $fzaAv$react).isValidElement(children) && children.type === (0, $fzaAv$react).Fragment) yield* this.iterateCollection({\n children: children.props.children,\n items: items\n });\n else if (typeof children === 'function') {\n if (!items) throw new Error('props.children was a function but props.items is missing');\n let index = 0;\n for (let item of items){\n yield* this.getFullNode({\n value: item,\n index: index\n }, {\n renderer: children\n });\n index++;\n }\n } else {\n let items = [];\n (0, $fzaAv$react).Children.forEach(children, (child)=>{\n if (child) items.push(child);\n });\n let index = 0;\n for (let item of items){\n let nodes = this.getFullNode({\n element: item,\n index: index\n }, {});\n for (let node of nodes){\n index++;\n yield node;\n }\n }\n }\n }\n getKey(item, partialNode, state, parentKey) {\n if (item.key != null) return item.key;\n if (partialNode.type === 'cell' && partialNode.key != null) return `${parentKey}${partialNode.key}`;\n let v = partialNode.value;\n if (v != null) {\n var _v_key;\n let key = (_v_key = v.key) !== null && _v_key !== void 0 ? _v_key : v.id;\n if (key == null) throw new Error('No key found for item');\n return key;\n }\n return parentKey ? `${parentKey}.${partialNode.index}` : `$.${partialNode.index}`;\n }\n getChildState(state, partialNode) {\n return {\n renderer: partialNode.renderer || state.renderer\n };\n }\n *getFullNode(partialNode, state, parentKey, parentNode) {\n if ((0, $fzaAv$react).isValidElement(partialNode.element) && partialNode.element.type === (0, $fzaAv$react).Fragment) {\n let children = [];\n (0, $fzaAv$react).Children.forEach(partialNode.element.props.children, (child)=>{\n children.push(child);\n });\n var _partialNode_index;\n let index = (_partialNode_index = partialNode.index) !== null && _partialNode_index !== void 0 ? _partialNode_index : 0;\n for (const child of children)yield* this.getFullNode({\n element: child,\n index: index++\n }, state, parentKey, parentNode);\n return;\n }\n // If there's a value instead of an element on the node, and a parent renderer function is available,\n // use it to render an element for the value.\n let element = partialNode.element;\n if (!element && partialNode.value && state && state.renderer) {\n let cached = this.cache.get(partialNode.value);\n if (cached && (!cached.shouldInvalidate || !cached.shouldInvalidate(this.context))) {\n cached.index = partialNode.index;\n cached.parentKey = parentNode ? parentNode.key : null;\n yield cached;\n return;\n }\n element = state.renderer(partialNode.value);\n }\n // If there's an element with a getCollectionNode function on its type, then it's a supported component.\n // Call this function to get a partial node, and recursively build a full node from there.\n if ((0, $fzaAv$react).isValidElement(element)) {\n let type = element.type;\n if (typeof type !== 'function' && typeof type.getCollectionNode !== 'function') {\n let name = element.type;\n throw new Error(`Unknown element <${name}> in collection.`);\n }\n let childNodes = type.getCollectionNode(element.props, this.context);\n var _partialNode_index1;\n let index = (_partialNode_index1 = partialNode.index) !== null && _partialNode_index1 !== void 0 ? _partialNode_index1 : 0;\n let result = childNodes.next();\n while(!result.done && result.value){\n let childNode = result.value;\n partialNode.index = index;\n var _childNode_key;\n let nodeKey = (_childNode_key = childNode.key) !== null && _childNode_key !== void 0 ? _childNode_key : null;\n if (nodeKey == null) nodeKey = childNode.element ? null : this.getKey(element, partialNode, state, parentKey);\n let nodes = this.getFullNode({\n ...childNode,\n key: nodeKey,\n index: index,\n wrapper: $eb2240fc39a57fa5$var$compose(partialNode.wrapper, childNode.wrapper)\n }, this.getChildState(state, childNode), parentKey ? `${parentKey}${element.key}` : element.key, parentNode);\n let children = [\n ...nodes\n ];\n for (let node of children){\n var _childNode_value, _ref;\n // Cache the node based on its value\n node.value = (_ref = (_childNode_value = childNode.value) !== null && _childNode_value !== void 0 ? _childNode_value : partialNode.value) !== null && _ref !== void 0 ? _ref : null;\n if (node.value) this.cache.set(node.value, node);\n var _parentNode_type;\n // The partial node may have specified a type for the child in order to specify a constraint.\n // Verify that the full node that was built recursively matches this type.\n if (partialNode.type && node.type !== partialNode.type) throw new Error(`Unsupported type <${$eb2240fc39a57fa5$var$capitalize(node.type)}> in <${$eb2240fc39a57fa5$var$capitalize((_parentNode_type = parentNode === null || parentNode === void 0 ? void 0 : parentNode.type) !== null && _parentNode_type !== void 0 ? _parentNode_type : 'unknown parent type')}>. Only <${$eb2240fc39a57fa5$var$capitalize(partialNode.type)}> is supported.`);\n index++;\n yield node;\n }\n result = childNodes.next(children);\n }\n return;\n }\n // Ignore invalid elements\n if (partialNode.key == null || partialNode.type == null) return;\n // Create full node\n let builder = this;\n var _partialNode_value, _partialNode_textValue;\n let node = {\n type: partialNode.type,\n props: partialNode.props,\n key: partialNode.key,\n parentKey: parentNode ? parentNode.key : null,\n value: (_partialNode_value = partialNode.value) !== null && _partialNode_value !== void 0 ? _partialNode_value : null,\n level: parentNode ? parentNode.level + 1 : 0,\n index: partialNode.index,\n rendered: partialNode.rendered,\n textValue: (_partialNode_textValue = partialNode.textValue) !== null && _partialNode_textValue !== void 0 ? _partialNode_textValue : '',\n 'aria-label': partialNode['aria-label'],\n wrapper: partialNode.wrapper,\n shouldInvalidate: partialNode.shouldInvalidate,\n hasChildNodes: partialNode.hasChildNodes || false,\n childNodes: $eb2240fc39a57fa5$var$iterable(function*() {\n if (!partialNode.hasChildNodes || !partialNode.childNodes) return;\n let index = 0;\n for (let child of partialNode.childNodes()){\n // Ensure child keys are globally unique by prepending the parent node's key\n if (child.key != null) // TODO: Remove this line entirely and enforce that users always provide unique keys.\n // Currently this line will have issues when a parent has a key `a` and a child with key `bc`\n // but another parent has key `ab` and its child has a key `c`. The combined keys would result in both\n // children having a key of `abc`.\n child.key = `${node.key}${child.key}`;\n let nodes = builder.getFullNode({\n ...child,\n index: index\n }, builder.getChildState(state, child), node.key, node);\n for (let node of nodes){\n index++;\n yield node;\n }\n }\n })\n };\n yield node;\n }\n constructor(){\n this.cache = new WeakMap();\n }\n}\n// Wraps an iterator function as an iterable object, and caches the results.\nfunction $eb2240fc39a57fa5$var$iterable(iterator) {\n let cache = [];\n let iterable = null;\n return {\n *[Symbol.iterator] () {\n for (let item of cache)yield item;\n if (!iterable) iterable = iterator();\n for (let item of iterable){\n cache.push(item);\n yield item;\n }\n }\n };\n}\nfunction $eb2240fc39a57fa5$var$compose(outer, inner) {\n if (outer && inner) return (element)=>outer(inner(element));\n if (outer) return outer;\n if (inner) return inner;\n}\nfunction $eb2240fc39a57fa5$var$capitalize(str) {\n return str[0].toUpperCase() + str.slice(1);\n}\n\n\nexport {$eb2240fc39a57fa5$export$bf788dd355e3a401 as CollectionBuilder};\n//# sourceMappingURL=CollectionBuilder.module.js.map\n","import {CollectionBuilder as $eb2240fc39a57fa5$export$bf788dd355e3a401} from \"./CollectionBuilder.mjs\";\nimport {useMemo as $lbNth$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\nfunction $7613b1592d41b092$export$6cd28814d92fa9c9(props, factory, context) {\n let builder = (0, $lbNth$useMemo)(()=>new (0, $eb2240fc39a57fa5$export$bf788dd355e3a401)(), []);\n let { children: children, items: items, collection: collection } = props;\n let result = (0, $lbNth$useMemo)(()=>{\n if (collection) return collection;\n let nodes = builder.build({\n children: children,\n items: items\n }, context);\n return factory(nodes);\n }, [\n builder,\n children,\n items,\n collection,\n context,\n factory\n ]);\n return result;\n}\n\n\nexport {$7613b1592d41b092$export$6cd28814d92fa9c9 as useCollection};\n//# sourceMappingURL=useCollection.module.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 */ function $c5a24bc478652b5f$export$1005530eda016c13(node, collection) {\n // New API: call collection.getChildren with the node key.\n if (typeof collection.getChildren === 'function') return collection.getChildren(node.key);\n // Old API: access childNodes directly.\n return node.childNodes;\n}\nfunction $c5a24bc478652b5f$export$fbdeaa6a76694f71(iterable) {\n return $c5a24bc478652b5f$export$5f3398f8733f90e2(iterable, 0);\n}\nfunction $c5a24bc478652b5f$export$5f3398f8733f90e2(iterable, index) {\n if (index < 0) return undefined;\n let i = 0;\n for (let item of iterable){\n if (i === index) return item;\n i++;\n }\n}\nfunction $c5a24bc478652b5f$export$7475b2c64539e4cf(iterable) {\n let lastItem = undefined;\n for (let value of iterable)lastItem = value;\n return lastItem;\n}\nfunction $c5a24bc478652b5f$export$8c434b3a7a4dad6(collection, a, b) {\n // If the two nodes have the same parent, compare their indices.\n if (a.parentKey === b.parentKey) return a.index - b.index;\n // Otherwise, collect all of the ancestors from each node, and find the first one that doesn't match starting from the root.\n // Include the base nodes in case we are comparing nodes of different levels so that we can compare the higher node to the lower level node's\n // ancestor of the same level\n let aAncestors = [\n ...$c5a24bc478652b5f$var$getAncestors(collection, a),\n a\n ];\n let bAncestors = [\n ...$c5a24bc478652b5f$var$getAncestors(collection, b),\n b\n ];\n let firstNonMatchingAncestor = aAncestors.slice(0, bAncestors.length).findIndex((a, i)=>a !== bAncestors[i]);\n if (firstNonMatchingAncestor !== -1) {\n // Compare the indices of two children within the common ancestor.\n a = aAncestors[firstNonMatchingAncestor];\n b = bAncestors[firstNonMatchingAncestor];\n return a.index - b.index;\n }\n // If there isn't a non matching ancestor, we might be in a case where one of the nodes is the ancestor of the other.\n if (aAncestors.findIndex((node)=>node === b) >= 0) return 1;\n else if (bAncestors.findIndex((node)=>node === a) >= 0) return -1;\n // 🤷\n return -1;\n}\nfunction $c5a24bc478652b5f$var$getAncestors(collection, node) {\n let parents = [];\n let currNode = node;\n while((currNode === null || currNode === void 0 ? void 0 : currNode.parentKey) != null){\n currNode = collection.getItem(currNode.parentKey);\n if (currNode) parents.unshift(currNode);\n }\n return parents;\n}\n\n\nexport {$c5a24bc478652b5f$export$1005530eda016c13 as getChildNodes, $c5a24bc478652b5f$export$fbdeaa6a76694f71 as getFirstItem, $c5a24bc478652b5f$export$5f3398f8733f90e2 as getNthItem, $c5a24bc478652b5f$export$7475b2c64539e4cf as getLastItem, $c5a24bc478652b5f$export$8c434b3a7a4dad6 as compareNodeOrder};\n//# sourceMappingURL=getChildNodes.module.js.map\n","import {getChildNodes as $c5a24bc478652b5f$export$1005530eda016c13} from \"./getChildNodes.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 */ \nconst $453cc9f0df89c0a5$var$cache = new WeakMap();\nfunction $453cc9f0df89c0a5$export$77d5aafae4e095b2(collection) {\n let count = $453cc9f0df89c0a5$var$cache.get(collection);\n if (count != null) return count;\n // TS isn't smart enough to know we've ensured count is a number, so use a new variable\n let counter = 0;\n let countItems = (items)=>{\n for (let item of items)if (item.type === 'section') countItems((0, $c5a24bc478652b5f$export$1005530eda016c13)(item, collection));\n else counter++;\n };\n countItems(collection);\n $453cc9f0df89c0a5$var$cache.set(collection, counter);\n return counter;\n}\n\n\nexport {$453cc9f0df89c0a5$export$77d5aafae4e095b2 as getItemCount};\n//# sourceMappingURL=getItemCount.module.js.map\n","import {getItemId as $b1f0cad8af73213b$export$9145995848b05025, listData as $b1f0cad8af73213b$export$3585ede4d035bf14} from \"./utils.mjs\";\nimport {useSlotId as $fcwmx$useSlotId, isMac as $fcwmx$isMac, isWebKit as $fcwmx$isWebKit, chain as $fcwmx$chain, filterDOMProps as $fcwmx$filterDOMProps, useLinkProps as $fcwmx$useLinkProps, mergeProps as $fcwmx$mergeProps} from \"@react-aria/utils\";\nimport {getItemCount as $fcwmx$getItemCount} from \"@react-stately/collections\";\nimport {useHover as $fcwmx$useHover, isFocusVisible as $fcwmx$isFocusVisible} from \"@react-aria/interactions\";\nimport {useSelectableItem as $fcwmx$useSelectableItem} from \"@react-aria/selection\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nfunction $293f70390ea03370$export$497855f14858aa34(props, state, ref) {\n var _item_props, _item_props1;\n let { key: key } = props;\n let data = (0, $b1f0cad8af73213b$export$3585ede4d035bf14).get(state);\n var _props_isDisabled;\n let isDisabled = (_props_isDisabled = props.isDisabled) !== null && _props_isDisabled !== void 0 ? _props_isDisabled : state.selectionManager.isDisabled(key);\n var _props_isSelected;\n let isSelected = (_props_isSelected = props.isSelected) !== null && _props_isSelected !== void 0 ? _props_isSelected : state.selectionManager.isSelected(key);\n var _props_shouldSelectOnPressUp;\n let shouldSelectOnPressUp = (_props_shouldSelectOnPressUp = props.shouldSelectOnPressUp) !== null && _props_shouldSelectOnPressUp !== void 0 ? _props_shouldSelectOnPressUp : data === null || data === void 0 ? void 0 : data.shouldSelectOnPressUp;\n var _props_shouldFocusOnHover;\n let shouldFocusOnHover = (_props_shouldFocusOnHover = props.shouldFocusOnHover) !== null && _props_shouldFocusOnHover !== void 0 ? _props_shouldFocusOnHover : data === null || data === void 0 ? void 0 : data.shouldFocusOnHover;\n var _props_shouldUseVirtualFocus;\n let shouldUseVirtualFocus = (_props_shouldUseVirtualFocus = props.shouldUseVirtualFocus) !== null && _props_shouldUseVirtualFocus !== void 0 ? _props_shouldUseVirtualFocus : data === null || data === void 0 ? void 0 : data.shouldUseVirtualFocus;\n var _props_isVirtualized;\n let isVirtualized = (_props_isVirtualized = props.isVirtualized) !== null && _props_isVirtualized !== void 0 ? _props_isVirtualized : data === null || data === void 0 ? void 0 : data.isVirtualized;\n let labelId = (0, $fcwmx$useSlotId)();\n let descriptionId = (0, $fcwmx$useSlotId)();\n let optionProps = {\n role: 'option',\n 'aria-disabled': isDisabled || undefined,\n 'aria-selected': state.selectionManager.selectionMode !== 'none' ? isSelected : undefined\n };\n // Safari with VoiceOver on macOS misreads options with aria-labelledby or aria-label as simply \"text\".\n // We should not map slots to the label and description on Safari and instead just have VoiceOver read the textContent.\n // https://bugs.webkit.org/show_bug.cgi?id=209279\n if (!((0, $fcwmx$isMac)() && (0, $fcwmx$isWebKit)())) {\n optionProps['aria-label'] = props['aria-label'];\n optionProps['aria-labelledby'] = labelId;\n optionProps['aria-describedby'] = descriptionId;\n }\n let item = state.collection.getItem(key);\n if (isVirtualized) {\n let index = Number(item === null || item === void 0 ? void 0 : item.index);\n optionProps['aria-posinset'] = Number.isNaN(index) ? undefined : index + 1;\n optionProps['aria-setsize'] = (0, $fcwmx$getItemCount)(state.collection);\n }\n let onAction = (data === null || data === void 0 ? void 0 : data.onAction) ? ()=>{\n var _data_onAction;\n return data === null || data === void 0 ? void 0 : (_data_onAction = data.onAction) === null || _data_onAction === void 0 ? void 0 : _data_onAction.call(data, key);\n } : undefined;\n let id = (0, $b1f0cad8af73213b$export$9145995848b05025)(state, key);\n let { itemProps: itemProps, isPressed: isPressed, isFocused: isFocused, hasAction: hasAction, allowsSelection: allowsSelection } = (0, $fcwmx$useSelectableItem)({\n selectionManager: state.selectionManager,\n key: key,\n ref: ref,\n shouldSelectOnPressUp: shouldSelectOnPressUp,\n allowsDifferentPressOrigin: shouldSelectOnPressUp && shouldFocusOnHover,\n isVirtualized: isVirtualized,\n shouldUseVirtualFocus: shouldUseVirtualFocus,\n isDisabled: isDisabled,\n onAction: onAction || (item === null || item === void 0 ? void 0 : (_item_props = item.props) === null || _item_props === void 0 ? void 0 : _item_props.onAction) ? (0, $fcwmx$chain)(item === null || item === void 0 ? void 0 : (_item_props1 = item.props) === null || _item_props1 === void 0 ? void 0 : _item_props1.onAction, onAction) : undefined,\n linkBehavior: data === null || data === void 0 ? void 0 : data.linkBehavior,\n id: id\n });\n let { hoverProps: hoverProps } = (0, $fcwmx$useHover)({\n isDisabled: isDisabled || !shouldFocusOnHover,\n onHoverStart () {\n if (!(0, $fcwmx$isFocusVisible)()) {\n state.selectionManager.setFocused(true);\n state.selectionManager.setFocusedKey(key);\n }\n }\n });\n let domProps = (0, $fcwmx$filterDOMProps)(item === null || item === void 0 ? void 0 : item.props);\n delete domProps.id;\n let linkProps = (0, $fcwmx$useLinkProps)(item === null || item === void 0 ? void 0 : item.props);\n return {\n optionProps: {\n ...optionProps,\n ...(0, $fcwmx$mergeProps)(domProps, itemProps, hoverProps, linkProps),\n id: id\n },\n labelProps: {\n id: labelId\n },\n descriptionProps: {\n id: descriptionId\n },\n isFocused: isFocused,\n isFocusVisible: isFocused && (0, $fcwmx$isFocusVisible)(),\n isSelected: isSelected,\n isDisabled: isDisabled,\n isPressed: isPressed,\n allowsSelection: allowsSelection,\n hasAction: hasAction\n };\n}\n\n\nexport {$293f70390ea03370$export$497855f14858aa34 as useOption};\n//# sourceMappingURL=useOption.module.js.map\n","import {useId as $8pE4M$useId} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $af383d3bef1cfdc9$export$c3f9f39876e4bc7(props) {\n let { heading: heading, 'aria-label': ariaLabel } = props;\n let headingId = (0, $8pE4M$useId)();\n return {\n itemProps: {\n role: 'presentation'\n },\n headingProps: heading ? {\n // Techincally, listbox cannot contain headings according to ARIA.\n // We hide the heading from assistive technology, using role=\"presentation\",\n // and only use it as a visual label for the nested group.\n id: headingId,\n role: 'presentation'\n } : {},\n groupProps: {\n role: 'group',\n 'aria-label': ariaLabel,\n 'aria-labelledby': heading ? headingId : undefined\n }\n };\n}\n\n\nexport {$af383d3bef1cfdc9$export$c3f9f39876e4bc7 as useListBoxSection};\n//# sourceMappingURL=useListBoxSection.module.js.map\n","var $c0398ad35c3639b7$exports = {};\n$c0398ad35c3639b7$exports = {\n \"longPressMessage\": `\\u{627}\\u{636}\\u{63A}\\u{637} \\u{645}\\u{637}\\u{648}\\u{644}\\u{627}\\u{64B} \\u{623}\\u{648} \\u{627}\\u{636}\\u{63A}\\u{637} \\u{639}\\u{644}\\u{649} Alt + \\u{627}\\u{644}\\u{633}\\u{647}\\u{645} \\u{644}\\u{623}\\u{633}\\u{641}\\u{644} \\u{644}\\u{641}\\u{62A}\\u{62D} \\u{627}\\u{644}\\u{642}\\u{627}\\u{626}\\u{645}\\u{629}`\n};\n\n\nexport {$c0398ad35c3639b7$exports as default};\n//# sourceMappingURL=ar-AE.module.js.map\n","var $7af657c4165927c3$exports = {};\n$7af657c4165927c3$exports = {\n \"longPressMessage\": `\\u{41D}\\u{430}\\u{442}\\u{438}\\u{441}\\u{43D}\\u{435}\\u{442}\\u{435} \\u{43F}\\u{440}\\u{43E}\\u{434}\\u{44A}\\u{43B}\\u{436}\\u{438}\\u{442}\\u{435}\\u{43B}\\u{43D}\\u{43E} \\u{438}\\u{43B}\\u{438} \\u{43D}\\u{430}\\u{442}\\u{438}\\u{441}\\u{43D}\\u{435}\\u{442}\\u{435} Alt+ \\u{441}\\u{442}\\u{440}\\u{435}\\u{43B}\\u{43A}\\u{430} \\u{43D}\\u{430}\\u{434}\\u{43E}\\u{43B}\\u{443}, \\u{437}\\u{430} \\u{434}\\u{430} \\u{43E}\\u{442}\\u{432}\\u{43E}\\u{440}\\u{438}\\u{442}\\u{435} \\u{43C}\\u{435}\\u{43D}\\u{44E}\\u{442}\\u{43E}`\n};\n\n\nexport {$7af657c4165927c3$exports as default};\n//# sourceMappingURL=bg-BG.module.js.map\n","var $d95d4da6d531ab81$exports = {};\n$d95d4da6d531ab81$exports = {\n \"longPressMessage\": `Dlouh\\xfdm stiskem nebo stisknut\\xedm kl\\xe1ves Alt + \\u{161}ipka dol\\u{16F} otev\\u{159}ete nab\\xeddku`\n};\n\n\nexport {$d95d4da6d531ab81$exports as default};\n//# sourceMappingURL=cs-CZ.module.js.map\n","var $24ebda9c775dca17$exports = {};\n$24ebda9c775dca17$exports = {\n \"longPressMessage\": `Langt tryk eller tryk p\\xe5 Alt + pil ned for at \\xe5bne menuen`\n};\n\n\nexport {$24ebda9c775dca17$exports as default};\n//# sourceMappingURL=da-DK.module.js.map\n","var $743e0dfca6cab1e9$exports = {};\n$743e0dfca6cab1e9$exports = {\n \"longPressMessage\": `Dr\\xfccken Sie lange oder dr\\xfccken Sie Alt + Nach-unten, um das Men\\xfc zu \\xf6ffnen`\n};\n\n\nexport {$743e0dfca6cab1e9$exports as default};\n//# sourceMappingURL=de-DE.module.js.map\n","var $a2f41026e05f1c84$exports = {};\n$a2f41026e05f1c84$exports = {\n \"longPressMessage\": `\\u{3A0}\\u{3B9}\\u{3AD}\\u{3C3}\\u{3C4}\\u{3B5} \\u{3C0}\\u{3B1}\\u{3C1}\\u{3B1}\\u{3C4}\\u{3B5}\\u{3C4}\\u{3B1}\\u{3BC}\\u{3AD}\\u{3BD}\\u{3B1} \\u{3AE} \\u{3C0}\\u{3B1}\\u{3C4}\\u{3AE}\\u{3C3}\\u{3C4}\\u{3B5} Alt + \\u{3BA}\\u{3AC}\\u{3C4}\\u{3C9} \\u{3B2}\\u{3AD}\\u{3BB}\\u{3BF}\\u{3C2} \\u{3B3}\\u{3B9}\\u{3B1} \\u{3BD}\\u{3B1} \\u{3B1}\\u{3BD}\\u{3BF}\\u{3AF}\\u{3BE}\\u{3B5}\\u{3C4}\\u{3B5} \\u{3C4}\\u{3BF} \\u{3BC}\\u{3B5}\\u{3BD}\\u{3BF}\\u{3CD}`\n};\n\n\nexport {$a2f41026e05f1c84$exports as default};\n//# sourceMappingURL=el-GR.module.js.map\n","var $43b800e97c901737$exports = {};\n$43b800e97c901737$exports = {\n \"longPressMessage\": `Long press or press Alt + ArrowDown to open menu`\n};\n\n\nexport {$43b800e97c901737$exports as default};\n//# sourceMappingURL=en-US.module.js.map\n","var $442f5f6ac211e29f$exports = {};\n$442f5f6ac211e29f$exports = {\n \"longPressMessage\": `Mantenga pulsado o pulse Alt + flecha abajo para abrir el men\\xfa`\n};\n\n\nexport {$442f5f6ac211e29f$exports as default};\n//# sourceMappingURL=es-ES.module.js.map\n","var $dff280acfeb2d8ac$exports = {};\n$dff280acfeb2d8ac$exports = {\n \"longPressMessage\": `Men\\xfc\\xfc avamiseks vajutage pikalt v\\xf5i vajutage klahve Alt + allanool`\n};\n\n\nexport {$dff280acfeb2d8ac$exports as default};\n//# sourceMappingURL=et-EE.module.js.map\n","var $51608325613944d7$exports = {};\n$51608325613944d7$exports = {\n \"longPressMessage\": `Avaa valikko painamalla pohjassa tai n\\xe4pp\\xe4inyhdistelm\\xe4ll\\xe4 Alt + Alanuoli`\n};\n\n\nexport {$51608325613944d7$exports as default};\n//# sourceMappingURL=fi-FI.module.js.map\n","var $c4a1b1eabeaa87be$exports = {};\n$c4a1b1eabeaa87be$exports = {\n \"longPressMessage\": `Appuyez de mani\\xe8re prolong\\xe9e ou appuyez sur Alt\\xa0+\\xa0Fl\\xe8che vers le bas pour ouvrir le menu.`\n};\n\n\nexport {$c4a1b1eabeaa87be$exports as default};\n//# sourceMappingURL=fr-FR.module.js.map\n","var $8c74815cdee18d1b$exports = {};\n$8c74815cdee18d1b$exports = {\n \"longPressMessage\": `\\u{5DC}\\u{5D7}\\u{5E5} \\u{5DC}\\u{5D7}\\u{5D9}\\u{5E6}\\u{5D4} \\u{5D0}\\u{5E8}\\u{5D5}\\u{5DB}\\u{5D4} \\u{5D0}\\u{5D5} \\u{5D4}\\u{5E7}\\u{5E9} Alt + ArrowDown \\u{5DB}\\u{5D3}\\u{5D9} \\u{5DC}\\u{5E4}\\u{5EA}\\u{5D5}\\u{5D7} \\u{5D0}\\u{5EA} \\u{5D4}\\u{5EA}\\u{5E4}\\u{5E8}\\u{5D9}\\u{5D8}`\n};\n\n\nexport {$8c74815cdee18d1b$exports as default};\n//# sourceMappingURL=he-IL.module.js.map\n","var $fd0e9ef6a7fe0ec9$exports = {};\n$fd0e9ef6a7fe0ec9$exports = {\n \"longPressMessage\": `Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika`\n};\n\n\nexport {$fd0e9ef6a7fe0ec9$exports as default};\n//# sourceMappingURL=hr-HR.module.js.map\n","var $a89a74a39eba465a$exports = {};\n$a89a74a39eba465a$exports = {\n \"longPressMessage\": `Nyomja meg hosszan, vagy nyomja meg az Alt + lefele ny\\xedl gombot a men\\xfc megnyit\\xe1s\\xe1hoz`\n};\n\n\nexport {$a89a74a39eba465a$exports as default};\n//# sourceMappingURL=hu-HU.module.js.map\n","var $edc7c66594a0ae8a$exports = {};\n$edc7c66594a0ae8a$exports = {\n \"longPressMessage\": `Premere a lungo o premere Alt + Freccia gi\\xf9 per aprire il menu`\n};\n\n\nexport {$edc7c66594a0ae8a$exports as default};\n//# sourceMappingURL=it-IT.module.js.map\n","var $f1ab51510712db52$exports = {};\n$f1ab51510712db52$exports = {\n \"longPressMessage\": `\\u{9577}\\u{62BC}\\u{3057}\\u{307E}\\u{305F}\\u{306F} Alt+\\u{4E0B}\\u{77E2}\\u{5370}\\u{30AD}\\u{30FC}\\u{3067}\\u{30E1}\\u{30CB}\\u{30E5}\\u{30FC}\\u{3092}\\u{958B}\\u{304F}`\n};\n\n\nexport {$f1ab51510712db52$exports as default};\n//# sourceMappingURL=ja-JP.module.js.map\n","var $f9b672d9b82fa3d6$exports = {};\n$f9b672d9b82fa3d6$exports = {\n \"longPressMessage\": `\\u{AE38}\\u{AC8C} \\u{B204}\\u{B974}\\u{AC70}\\u{B098} Alt + \\u{C544}\\u{B798}\\u{CABD} \\u{D654}\\u{C0B4}\\u{D45C}\\u{B97C} \\u{B20C}\\u{B7EC} \\u{BA54}\\u{B274} \\u{C5F4}\\u{AE30}`\n};\n\n\nexport {$f9b672d9b82fa3d6$exports as default};\n//# sourceMappingURL=ko-KR.module.js.map\n","var $a385f3910feda499$exports = {};\n$a385f3910feda499$exports = {\n \"longPressMessage\": `Nor\\u{117}dami atidaryti meniu, nuspaud\\u{119} palaikykite arba paspauskite \\u{201E}Alt + ArrowDown\\u{201C}.`\n};\n\n\nexport {$a385f3910feda499$exports as default};\n//# sourceMappingURL=lt-LT.module.js.map\n","var $4f1bde932c441789$exports = {};\n$4f1bde932c441789$exports = {\n \"longPressMessage\": `Lai atv\\u{113}rtu izv\\u{113}lni, turiet nospiestu vai nospiediet tausti\\u{146}u kombin\\u{101}ciju Alt + lejupv\\u{113}rst\\u{101} bulti\\u{146}a`\n};\n\n\nexport {$4f1bde932c441789$exports as default};\n//# sourceMappingURL=lv-LV.module.js.map\n","var $914a51a8a594d5be$exports = {};\n$914a51a8a594d5be$exports = {\n \"longPressMessage\": `Langt trykk eller trykk Alt + PilNed for \\xe5 \\xe5pne menyen`\n};\n\n\nexport {$914a51a8a594d5be$exports as default};\n//# sourceMappingURL=nb-NO.module.js.map\n","var $89aaf803103bb500$exports = {};\n$89aaf803103bb500$exports = {\n \"longPressMessage\": `Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen`\n};\n\n\nexport {$89aaf803103bb500$exports as default};\n//# sourceMappingURL=nl-NL.module.js.map\n","var $c685891476dbaaca$exports = {};\n$c685891476dbaaca$exports = {\n \"longPressMessage\": `Naci\\u{15B}nij i przytrzymaj lub naci\\u{15B}nij klawisze Alt + Strza\\u{142}ka w d\\xf3\\u{142}, aby otworzy\\u{107} menu`\n};\n\n\nexport {$c685891476dbaaca$exports as default};\n//# sourceMappingURL=pl-PL.module.js.map\n","var $885879b9b10c2959$exports = {};\n$885879b9b10c2959$exports = {\n \"longPressMessage\": `Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu`\n};\n\n\nexport {$885879b9b10c2959$exports as default};\n//# sourceMappingURL=pt-BR.module.js.map\n","var $6b39616688a51692$exports = {};\n$6b39616688a51692$exports = {\n \"longPressMessage\": `Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu`\n};\n\n\nexport {$6b39616688a51692$exports as default};\n//# sourceMappingURL=pt-PT.module.js.map\n","var $f26362aed63f47e2$exports = {};\n$f26362aed63f47e2$exports = {\n \"longPressMessage\": `Ap\\u{103}sa\\u{21B}i lung sau ap\\u{103}sa\\u{21B}i pe Alt + s\\u{103}geat\\u{103} \\xeen jos pentru a deschide meniul`\n};\n\n\nexport {$f26362aed63f47e2$exports as default};\n//# sourceMappingURL=ro-RO.module.js.map\n","var $06cbade644558bf0$exports = {};\n$06cbade644558bf0$exports = {\n \"longPressMessage\": `\\u{41D}\\u{430}\\u{436}\\u{43C}\\u{438}\\u{442}\\u{435} \\u{438} \\u{443}\\u{434}\\u{435}\\u{440}\\u{436}\\u{438}\\u{432}\\u{430}\\u{439}\\u{442}\\u{435} \\u{438}\\u{43B}\\u{438} \\u{43D}\\u{430}\\u{436}\\u{43C}\\u{438}\\u{442}\\u{435} Alt + \\u{421}\\u{442}\\u{440}\\u{435}\\u{43B}\\u{43A}\\u{430} \\u{432}\\u{43D}\\u{438}\\u{437}, \\u{447}\\u{442}\\u{43E}\\u{431}\\u{44B} \\u{43E}\\u{442}\\u{43A}\\u{440}\\u{44B}\\u{442}\\u{44C} \\u{43C}\\u{435}\\u{43D}\\u{44E}`\n};\n\n\nexport {$06cbade644558bf0$exports as default};\n//# sourceMappingURL=ru-RU.module.js.map\n","var $0a391ff68f9d59b1$exports = {};\n$0a391ff68f9d59b1$exports = {\n \"longPressMessage\": `Ponuku otvor\\xedte dlh\\xfdm stla\\u{10D}en\\xedm alebo stla\\u{10D}en\\xedm kl\\xe1vesu Alt + kl\\xe1vesu so \\u{161}\\xedpkou nadol`\n};\n\n\nexport {$0a391ff68f9d59b1$exports as default};\n//# sourceMappingURL=sk-SK.module.js.map\n","var $8193cf0e649c7928$exports = {};\n$8193cf0e649c7928$exports = {\n \"longPressMessage\": `Za odprtje menija pritisnite in dr\\u{17E}ite gumb ali pritisnite Alt+pu\\u{161}\\u{10D}ica navzdol`\n};\n\n\nexport {$8193cf0e649c7928$exports as default};\n//# sourceMappingURL=sl-SI.module.js.map\n","var $f398debcce5a5c55$exports = {};\n$f398debcce5a5c55$exports = {\n \"longPressMessage\": `Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni`\n};\n\n\nexport {$f398debcce5a5c55$exports as default};\n//# sourceMappingURL=sr-SP.module.js.map\n","var $9e9fef000aa4c013$exports = {};\n$9e9fef000aa4c013$exports = {\n \"longPressMessage\": `H\\xe5ll nedtryckt eller tryck p\\xe5 Alt + pil ned\\xe5t f\\xf6r att \\xf6ppna menyn`\n};\n\n\nexport {$9e9fef000aa4c013$exports as default};\n//# sourceMappingURL=sv-SE.module.js.map\n","var $c016c8183bbe3d68$exports = {};\n$c016c8183bbe3d68$exports = {\n \"longPressMessage\": `Men\\xfcy\\xfc a\\xe7mak i\\xe7in uzun bas\\u{131}n veya Alt + A\\u{15F}a\\u{11F}\\u{131} Ok tu\\u{15F}una bas\\u{131}n`\n};\n\n\nexport {$c016c8183bbe3d68$exports as default};\n//# sourceMappingURL=tr-TR.module.js.map\n","var $ca4f6c8462244e62$exports = {};\n$ca4f6c8462244e62$exports = {\n \"longPressMessage\": `\\u{414}\\u{43E}\\u{432}\\u{433}\\u{43E} \\u{430}\\u{431}\\u{43E} \\u{437}\\u{432}\\u{438}\\u{447}\\u{430}\\u{439}\\u{43D}\\u{43E} \\u{43D}\\u{430}\\u{442}\\u{438}\\u{441}\\u{43D}\\u{456}\\u{442}\\u{44C} \\u{43A}\\u{43E}\\u{43C}\\u{431}\\u{456}\\u{43D}\\u{430}\\u{446}\\u{456}\\u{44E} \\u{43A}\\u{43B}\\u{430}\\u{432}\\u{456}\\u{448} Alt \\u{456} \\u{441}\\u{442}\\u{440}\\u{456}\\u{43B}\\u{43A}\\u{430} \\u{432}\\u{43D}\\u{438}\\u{437}, \\u{449}\\u{43E}\\u{431} \\u{432}\\u{456}\\u{434}\\u{43A}\\u{440}\\u{438}\\u{442}\\u{438} \\u{43C}\\u{435}\\u{43D}\\u{44E}`\n};\n\n\nexport {$ca4f6c8462244e62$exports as default};\n//# sourceMappingURL=uk-UA.module.js.map\n","var $2d9960c02ccac927$exports = {};\n$2d9960c02ccac927$exports = {\n \"longPressMessage\": `\\u{957F}\\u{6309}\\u{6216}\\u{6309} Alt + \\u{5411}\\u{4E0B}\\u{65B9}\\u{5411}\\u{952E}\\u{4EE5}\\u{6253}\\u{5F00}\\u{83DC}\\u{5355}`\n};\n\n\nexport {$2d9960c02ccac927$exports as default};\n//# sourceMappingURL=zh-CN.module.js.map\n","var $f1b682a4c8c5631c$exports = {};\n$f1b682a4c8c5631c$exports = {\n \"longPressMessage\": `\\u{9577}\\u{6309}\\u{6216}\\u{6309} Alt+\\u{5411}\\u{4E0B}\\u{9375}\\u{4EE5}\\u{958B}\\u{555F}\\u{529F}\\u{80FD}\\u{8868}`\n};\n\n\nexport {$f1b682a4c8c5631c$exports as default};\n//# sourceMappingURL=zh-TW.module.js.map\n","import $5FSX7$arAEmodulejs from \"./ar-AE.mjs\";\nimport $5FSX7$bgBGmodulejs from \"./bg-BG.mjs\";\nimport $5FSX7$csCZmodulejs from \"./cs-CZ.mjs\";\nimport $5FSX7$daDKmodulejs from \"./da-DK.mjs\";\nimport $5FSX7$deDEmodulejs from \"./de-DE.mjs\";\nimport $5FSX7$elGRmodulejs from \"./el-GR.mjs\";\nimport $5FSX7$enUSmodulejs from \"./en-US.mjs\";\nimport $5FSX7$esESmodulejs from \"./es-ES.mjs\";\nimport $5FSX7$etEEmodulejs from \"./et-EE.mjs\";\nimport $5FSX7$fiFImodulejs from \"./fi-FI.mjs\";\nimport $5FSX7$frFRmodulejs from \"./fr-FR.mjs\";\nimport $5FSX7$heILmodulejs from \"./he-IL.mjs\";\nimport $5FSX7$hrHRmodulejs from \"./hr-HR.mjs\";\nimport $5FSX7$huHUmodulejs from \"./hu-HU.mjs\";\nimport $5FSX7$itITmodulejs from \"./it-IT.mjs\";\nimport $5FSX7$jaJPmodulejs from \"./ja-JP.mjs\";\nimport $5FSX7$koKRmodulejs from \"./ko-KR.mjs\";\nimport $5FSX7$ltLTmodulejs from \"./lt-LT.mjs\";\nimport $5FSX7$lvLVmodulejs from \"./lv-LV.mjs\";\nimport $5FSX7$nbNOmodulejs from \"./nb-NO.mjs\";\nimport $5FSX7$nlNLmodulejs from \"./nl-NL.mjs\";\nimport $5FSX7$plPLmodulejs from \"./pl-PL.mjs\";\nimport $5FSX7$ptBRmodulejs from \"./pt-BR.mjs\";\nimport $5FSX7$ptPTmodulejs from \"./pt-PT.mjs\";\nimport $5FSX7$roROmodulejs from \"./ro-RO.mjs\";\nimport $5FSX7$ruRUmodulejs from \"./ru-RU.mjs\";\nimport $5FSX7$skSKmodulejs from \"./sk-SK.mjs\";\nimport $5FSX7$slSImodulejs from \"./sl-SI.mjs\";\nimport $5FSX7$srSPmodulejs from \"./sr-SP.mjs\";\nimport $5FSX7$svSEmodulejs from \"./sv-SE.mjs\";\nimport $5FSX7$trTRmodulejs from \"./tr-TR.mjs\";\nimport $5FSX7$ukUAmodulejs from \"./uk-UA.mjs\";\nimport $5FSX7$zhCNmodulejs from \"./zh-CN.mjs\";\nimport $5FSX7$zhTWmodulejs from \"./zh-TW.mjs\";\n\nvar $2cbb7ca666678a14$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$2cbb7ca666678a14$exports = {\n \"ar-AE\": $5FSX7$arAEmodulejs,\n \"bg-BG\": $5FSX7$bgBGmodulejs,\n \"cs-CZ\": $5FSX7$csCZmodulejs,\n \"da-DK\": $5FSX7$daDKmodulejs,\n \"de-DE\": $5FSX7$deDEmodulejs,\n \"el-GR\": $5FSX7$elGRmodulejs,\n \"en-US\": $5FSX7$enUSmodulejs,\n \"es-ES\": $5FSX7$esESmodulejs,\n \"et-EE\": $5FSX7$etEEmodulejs,\n \"fi-FI\": $5FSX7$fiFImodulejs,\n \"fr-FR\": $5FSX7$frFRmodulejs,\n \"he-IL\": $5FSX7$heILmodulejs,\n \"hr-HR\": $5FSX7$hrHRmodulejs,\n \"hu-HU\": $5FSX7$huHUmodulejs,\n \"it-IT\": $5FSX7$itITmodulejs,\n \"ja-JP\": $5FSX7$jaJPmodulejs,\n \"ko-KR\": $5FSX7$koKRmodulejs,\n \"lt-LT\": $5FSX7$ltLTmodulejs,\n \"lv-LV\": $5FSX7$lvLVmodulejs,\n \"nb-NO\": $5FSX7$nbNOmodulejs,\n \"nl-NL\": $5FSX7$nlNLmodulejs,\n \"pl-PL\": $5FSX7$plPLmodulejs,\n \"pt-BR\": $5FSX7$ptBRmodulejs,\n \"pt-PT\": $5FSX7$ptPTmodulejs,\n \"ro-RO\": $5FSX7$roROmodulejs,\n \"ru-RU\": $5FSX7$ruRUmodulejs,\n \"sk-SK\": $5FSX7$skSKmodulejs,\n \"sl-SI\": $5FSX7$slSImodulejs,\n \"sr-SP\": $5FSX7$srSPmodulejs,\n \"sv-SE\": $5FSX7$svSEmodulejs,\n \"tr-TR\": $5FSX7$trTRmodulejs,\n \"uk-UA\": $5FSX7$ukUAmodulejs,\n \"zh-CN\": $5FSX7$zhCNmodulejs,\n \"zh-TW\": $5FSX7$zhTWmodulejs\n};\n\n\nexport {$2cbb7ca666678a14$exports as default};\n//# sourceMappingURL=intlStrings.module.js.map\n","import $czs6v$intlStringsmodulejs from \"./intlStrings.mjs\";\nimport {useId as $czs6v$useId} from \"@react-aria/utils\";\nimport {useLocalizedStringFormatter as $czs6v$useLocalizedStringFormatter} from \"@react-aria/i18n\";\nimport {useLongPress as $czs6v$useLongPress} from \"@react-aria/interactions\";\nimport {useOverlayTrigger as $czs6v$useOverlayTrigger} from \"@react-aria/overlays\";\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\nfunction $168583247155ddda$export$dc9c12ed27dd1b49(props, state, ref) {\n let { type: type = 'menu', isDisabled: isDisabled, trigger: trigger = 'press' } = props;\n let menuTriggerId = (0, $czs6v$useId)();\n let { triggerProps: triggerProps, overlayProps: overlayProps } = (0, $czs6v$useOverlayTrigger)({\n type: type\n }, state, ref);\n let onKeyDown = (e)=>{\n if (isDisabled) return;\n if (trigger === 'longPress' && !e.altKey) return;\n if (ref && ref.current) switch(e.key){\n case 'Enter':\n case ' ':\n if (trigger === 'longPress') return;\n // fallthrough\n case 'ArrowDown':\n // Stop propagation, unless it would already be handled by useKeyboard.\n if (!('continuePropagation' in e)) e.stopPropagation();\n e.preventDefault();\n state.toggle('first');\n break;\n case 'ArrowUp':\n if (!('continuePropagation' in e)) e.stopPropagation();\n e.preventDefault();\n state.toggle('last');\n break;\n default:\n // Allow other keys.\n if ('continuePropagation' in e) e.continuePropagation();\n }\n };\n let stringFormatter = (0, $czs6v$useLocalizedStringFormatter)((0, ($parcel$interopDefault($czs6v$intlStringsmodulejs))), '@react-aria/menu');\n let { longPressProps: longPressProps } = (0, $czs6v$useLongPress)({\n isDisabled: isDisabled || trigger !== 'longPress',\n accessibilityDescription: stringFormatter.format('longPressMessage'),\n onLongPressStart () {\n state.close();\n },\n onLongPress () {\n state.open('first');\n }\n });\n let pressProps = {\n onPressStart (e) {\n // For consistency with native, open the menu on mouse/key down, but touch up.\n if (e.pointerType !== 'touch' && e.pointerType !== 'keyboard' && !isDisabled) // If opened with a screen reader, auto focus the first item.\n // Otherwise, the menu itself will be focused.\n state.open(e.pointerType === 'virtual' ? 'first' : null);\n },\n onPress (e) {\n if (e.pointerType === 'touch' && !isDisabled) state.toggle();\n }\n };\n // omit onPress from triggerProps since we override it above.\n delete triggerProps.onPress;\n return {\n // @ts-ignore - TODO we pass out both DOMAttributes AND AriaButtonProps, but useButton will discard the longPress event handlers, it's only through PressResponder magic that this works for RSP and RAC. it does not work in aria examples\n menuTriggerProps: {\n ...triggerProps,\n ...trigger === 'press' ? pressProps : longPressProps,\n id: menuTriggerId,\n onKeyDown: onKeyDown\n },\n menuProps: {\n ...overlayProps,\n 'aria-labelledby': menuTriggerId,\n autoFocus: state.focusStrategy || true,\n onClose: state.close\n }\n };\n}\n\n\nexport {$168583247155ddda$export$dc9c12ed27dd1b49 as useMenuTrigger};\n//# sourceMappingURL=useMenuTrigger.module.js.map\n","import {useSlotId as $i6df2$useSlotId, filterDOMProps as $i6df2$filterDOMProps} from \"@react-aria/utils\";\nimport {focusSafely as $i6df2$focusSafely} from \"@react-aria/focus\";\nimport {useRef as $i6df2$useRef, useEffect as $i6df2$useEffect} from \"react\";\nimport {useOverlayFocusContain as $i6df2$useOverlayFocusContain} from \"@react-aria/overlays\";\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 $40df3f8667284809$export$d55e7ee900f34e93(props, ref) {\n let { role: role = 'dialog' } = props;\n let titleId = (0, $i6df2$useSlotId)();\n titleId = props['aria-label'] ? undefined : titleId;\n let isRefocusing = (0, $i6df2$useRef)(false);\n // Focus the dialog itself on mount, unless a child element is already focused.\n (0, $i6df2$useEffect)(()=>{\n if (ref.current && !ref.current.contains(document.activeElement)) {\n (0, $i6df2$focusSafely)(ref.current);\n // Safari on iOS does not move the VoiceOver cursor to the dialog\n // or announce that it has opened until it has rendered. A workaround\n // is to wait for half a second, then blur and re-focus the dialog.\n let timeout = setTimeout(()=>{\n if (document.activeElement === ref.current) {\n isRefocusing.current = true;\n if (ref.current) {\n ref.current.blur();\n (0, $i6df2$focusSafely)(ref.current);\n }\n isRefocusing.current = false;\n }\n }, 500);\n return ()=>{\n clearTimeout(timeout);\n };\n }\n }, [\n ref\n ]);\n (0, $i6df2$useOverlayFocusContain)();\n // We do not use aria-modal due to a Safari bug which forces the first focusable element to be focused\n // on mount when inside an iframe, no matter which element we programmatically focus.\n // See https://bugs.webkit.org/show_bug.cgi?id=211934.\n // useModal sets aria-hidden on all elements outside the dialog, so the dialog will behave as a modal\n // even without aria-modal on the dialog itself.\n return {\n dialogProps: {\n ...(0, $i6df2$filterDOMProps)(props, {\n labelable: true\n }),\n role: role,\n tabIndex: -1,\n 'aria-labelledby': props['aria-labelledby'] || titleId,\n // Prevent blur events from reaching useOverlay, which may cause\n // popovers to close. Since focus is contained within the dialog,\n // we don't want this to occur due to the above useEffect.\n onBlur: (e)=>{\n if (isRefocusing.current) e.stopPropagation();\n }\n },\n titleProps: {\n id: titleId\n }\n };\n}\n\n\nexport {$40df3f8667284809$export$d55e7ee900f34e93 as useDialog};\n//# sourceMappingURL=useDialog.module.js.map\n","import {flushSync as $6wN6e$flushSync} from \"react-dom\";\nimport {useRef as $6wN6e$useRef, useCallback as $6wN6e$useCallback, useEffect as $6wN6e$useEffect} from \"react\";\nimport {useId as $6wN6e$useId, useEvent as $6wN6e$useEvent, useLayoutEffect as $6wN6e$useLayoutEffect} from \"@react-aria/utils\";\nimport {useIsSSR as $6wN6e$useIsSSR} from \"@react-aria/ssr\";\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 */ \n\n\n\nfunction $5e910fae8e128ead$export$6e3e27031a30522f(props, state, ref) {\n let { isDisabled: isDisabled } = props;\n let triggerId = (0, $6wN6e$useId)();\n let panelId = (0, $6wN6e$useId)();\n let isSSR = (0, $6wN6e$useIsSSR)();\n let supportsBeforeMatch = !isSSR && 'onbeforematch' in document.body;\n let raf = (0, $6wN6e$useRef)(null);\n let handleBeforeMatch = (0, $6wN6e$useCallback)(()=>{\n // Wait a frame to revert browser's removal of hidden attribute\n raf.current = requestAnimationFrame(()=>{\n if (ref.current) ref.current.setAttribute('hidden', 'until-found');\n });\n // Force sync state update\n (0, $6wN6e$flushSync)(()=>{\n state.toggle();\n });\n }, [\n ref,\n state\n ]);\n // @ts-ignore https://github.com/facebook/react/pull/24741\n (0, $6wN6e$useEvent)(ref, 'beforematch', supportsBeforeMatch ? handleBeforeMatch : null);\n (0, $6wN6e$useLayoutEffect)(()=>{\n // Cancel any pending RAF to prevent stale updates\n if (raf.current) cancelAnimationFrame(raf.current);\n // Until React supports hidden=\"until-found\": https://github.com/facebook/react/pull/24741\n if (supportsBeforeMatch && ref.current && !isDisabled) {\n if (state.isExpanded) ref.current.removeAttribute('hidden');\n else ref.current.setAttribute('hidden', 'until-found');\n }\n }, [\n isDisabled,\n ref,\n state.isExpanded,\n supportsBeforeMatch\n ]);\n (0, $6wN6e$useEffect)(()=>{\n return ()=>{\n if (raf.current) cancelAnimationFrame(raf.current);\n };\n }, []);\n return {\n buttonProps: {\n id: triggerId,\n 'aria-expanded': state.isExpanded,\n 'aria-controls': panelId,\n onPress: (e)=>{\n if (!isDisabled && e.pointerType !== 'keyboard') state.toggle();\n },\n isDisabled: isDisabled,\n onPressStart (e) {\n if (e.pointerType === 'keyboard' && !isDisabled) state.toggle();\n }\n },\n panelProps: {\n id: panelId,\n // This can be overridden at the panel element level.\n role: 'group',\n 'aria-labelledby': triggerId,\n 'aria-hidden': !state.isExpanded,\n hidden: supportsBeforeMatch ? true : !state.isExpanded\n }\n };\n}\n\n\nexport {$5e910fae8e128ead$export$6e3e27031a30522f as useDisclosure};\n//# sourceMappingURL=useDisclosure.module.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 */ const $ce9b18daab526bbd$export$5b9bb410392e3991 = new WeakMap();\nfunction $ce9b18daab526bbd$export$f45c25170b9a99c2(state, key) {\n var _listMap_get;\n let { id: id } = (_listMap_get = $ce9b18daab526bbd$export$5b9bb410392e3991.get(state)) !== null && _listMap_get !== void 0 ? _listMap_get : {};\n if (!id) throw new Error('Unknown list');\n return `${id}-${$ce9b18daab526bbd$export$e0c709538cb8ae18(key)}`;\n}\nfunction $ce9b18daab526bbd$export$e0c709538cb8ae18(key) {\n if (typeof key === 'string') return key.replace(/\\s*/g, '');\n return '' + key;\n}\n\n\nexport {$ce9b18daab526bbd$export$5b9bb410392e3991 as listMap, $ce9b18daab526bbd$export$f45c25170b9a99c2 as getRowId, $ce9b18daab526bbd$export$e0c709538cb8ae18 as normalizeKey};\n//# sourceMappingURL=utils.module.js.map\n","var $682989befd4f478d$exports = {};\n$682989befd4f478d$exports = {\n \"deselectedItem\": (args)=>`${args.item} \\u{63A}\\u{64A}\\u{631} \\u{627}\\u{644}\\u{645}\\u{62D}\\u{62F}\\u{62F}`,\n \"longPressToSelect\": `\\u{627}\\u{636}\\u{63A}\\u{637} \\u{645}\\u{637}\\u{648}\\u{644}\\u{64B}\\u{627} \\u{644}\\u{644}\\u{62F}\\u{62E}\\u{648}\\u{644} \\u{625}\\u{644}\\u{649} \\u{648}\\u{636}\\u{639} \\u{627}\\u{644}\\u{62A}\\u{62D}\\u{62F}\\u{64A}\\u{62F}.`,\n \"select\": `\\u{62A}\\u{62D}\\u{62F}\\u{64A}\\u{62F}`,\n \"selectedAll\": `\\u{62C}\\u{645}\\u{64A}\\u{639} \\u{627}\\u{644}\\u{639}\\u{646}\\u{627}\\u{635}\\u{631} \\u{627}\\u{644}\\u{645}\\u{62D}\\u{62F}\\u{62F}\\u{629}.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `\\u{644}\\u{645} \\u{64A}\\u{62A}\\u{645} \\u{62A}\\u{62D}\\u{62F}\\u{64A}\\u{62F} \\u{639}\\u{646}\\u{627}\\u{635}\\u{631}`,\n one: ()=>`${formatter.number(args.count)} \\u{639}\\u{646}\\u{635}\\u{631} \\u{645}\\u{62D}\\u{62F}\\u{62F}`,\n other: ()=>`${formatter.number(args.count)} \\u{639}\\u{646}\\u{635}\\u{631} \\u{645}\\u{62D}\\u{62F}\\u{62F}`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} \\u{627}\\u{644}\\u{645}\\u{62D}\\u{62F}\\u{62F}`\n};\n\n\nexport {$682989befd4f478d$exports as default};\n//# sourceMappingURL=ar-AE.module.js.map\n","var $f7fca02019afd941$exports = {};\n$f7fca02019afd941$exports = {\n \"deselectedItem\": (args)=>`${args.item} \\u{43D}\\u{435} \\u{435} \\u{438}\\u{437}\\u{431}\\u{440}\\u{430}\\u{43D}.`,\n \"longPressToSelect\": `\\u{41D}\\u{430}\\u{442}\\u{438}\\u{441}\\u{43D}\\u{435}\\u{442}\\u{435} \\u{438} \\u{437}\\u{430}\\u{434}\\u{440}\\u{44A}\\u{436}\\u{442}\\u{435} \\u{437}\\u{430} \\u{434}\\u{430} \\u{432}\\u{43B}\\u{435}\\u{437}\\u{435}\\u{442}\\u{435} \\u{432} \\u{438}\\u{437}\\u{431}\\u{438}\\u{440}\\u{430}\\u{442}\\u{435}\\u{43B}\\u{435}\\u{43D} \\u{440}\\u{435}\\u{436}\\u{438}\\u{43C}.`,\n \"select\": `\\u{418}\\u{437}\\u{431}\\u{435}\\u{440}\\u{435}\\u{442}\\u{435}`,\n \"selectedAll\": `\\u{412}\\u{441}\\u{438}\\u{447}\\u{43A}\\u{438} \\u{435}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442}\\u{438} \\u{441}\\u{430} \\u{438}\\u{437}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{438}.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `\\u{41D}\\u{44F}\\u{43C}\\u{430} \\u{438}\\u{437}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{438} \\u{435}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442}\\u{438}`,\n one: ()=>`${formatter.number(args.count)} \\u{438}\\u{437}\\u{431}\\u{440}\\u{430}\\u{43D} \\u{435}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442}`,\n other: ()=>`${formatter.number(args.count)} \\u{438}\\u{437}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{438} \\u{435}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442}\\u{438}`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} \\u{438}\\u{437}\\u{431}\\u{440}\\u{430}\\u{43D}.`\n};\n\n\nexport {$f7fca02019afd941$exports as default};\n//# sourceMappingURL=bg-BG.module.js.map\n","var $8f86f40be75387f1$exports = {};\n$8f86f40be75387f1$exports = {\n \"deselectedItem\": (args)=>`Polo\\u{17E}ka ${args.item} nen\\xed vybr\\xe1na.`,\n \"longPressToSelect\": `Dlouh\\xfdm stisknut\\xedm p\\u{159}ejdete do re\\u{17E}imu v\\xfdb\\u{11B}ru.`,\n \"select\": `Vybrat`,\n \"selectedAll\": `Vybr\\xe1ny v\\u{161}echny polo\\u{17E}ky.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Nevybr\\xe1ny \\u{17E}\\xe1dn\\xe9 polo\\u{17E}ky`,\n one: ()=>`Vybr\\xe1na ${formatter.number(args.count)} polo\\u{17E}ka`,\n other: ()=>`Vybr\\xe1no ${formatter.number(args.count)} polo\\u{17E}ek`\n })}.`,\n \"selectedItem\": (args)=>`Vybr\\xe1na polo\\u{17E}ka ${args.item}.`\n};\n\n\nexport {$8f86f40be75387f1$exports as default};\n//# sourceMappingURL=cs-CZ.module.js.map\n","var $db24ba43c8d652ee$exports = {};\n$db24ba43c8d652ee$exports = {\n \"deselectedItem\": (args)=>`${args.item} ikke valgt.`,\n \"longPressToSelect\": `Lav et langt tryk for at aktivere valgtilstand.`,\n \"select\": `V\\xe6lg`,\n \"selectedAll\": `Alle elementer valgt.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Ingen elementer valgt`,\n one: ()=>`${formatter.number(args.count)} element valgt`,\n other: ()=>`${formatter.number(args.count)} elementer valgt`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} valgt.`\n};\n\n\nexport {$db24ba43c8d652ee$exports as default};\n//# sourceMappingURL=da-DK.module.js.map\n","var $f8f1e72c8b5447d6$exports = {};\n$f8f1e72c8b5447d6$exports = {\n \"deselectedItem\": (args)=>`${args.item} nicht ausgew\\xe4hlt.`,\n \"longPressToSelect\": `Gedr\\xfcckt halten, um Auswahlmodus zu \\xf6ffnen.`,\n \"select\": `Ausw\\xe4hlen`,\n \"selectedAll\": `Alle Elemente ausgew\\xe4hlt.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Keine Elemente ausgew\\xe4hlt`,\n one: ()=>`${formatter.number(args.count)} Element ausgew\\xe4hlt`,\n other: ()=>`${formatter.number(args.count)} Elemente ausgew\\xe4hlt`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} ausgew\\xe4hlt.`\n};\n\n\nexport {$f8f1e72c8b5447d6$exports as default};\n//# sourceMappingURL=de-DE.module.js.map\n","var $9a73ed2983c3ab0b$exports = {};\n$9a73ed2983c3ab0b$exports = {\n \"deselectedItem\": (args)=>`\\u{394}\\u{3B5}\\u{3BD} \\u{3B5}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3AD}\\u{3C7}\\u{3B8}\\u{3B7}\\u{3BA}\\u{3B5} \\u{3C4}\\u{3BF} \\u{3C3}\\u{3C4}\\u{3BF}\\u{3B9}\\u{3C7}\\u{3B5}\\u{3AF}\\u{3BF} ${args.item}.`,\n \"longPressToSelect\": `\\u{3A0}\\u{3B1}\\u{3C4}\\u{3AE}\\u{3C3}\\u{3C4}\\u{3B5} \\u{3C0}\\u{3B1}\\u{3C1}\\u{3B1}\\u{3C4}\\u{3B5}\\u{3C4}\\u{3B1}\\u{3BC}\\u{3AD}\\u{3BD}\\u{3B1} \\u{3B3}\\u{3B9}\\u{3B1} \\u{3BD}\\u{3B1} \\u{3BC}\\u{3C0}\\u{3B5}\\u{3AF}\\u{3C4}\\u{3B5} \\u{3C3}\\u{3B5} \\u{3BB}\\u{3B5}\\u{3B9}\\u{3C4}\\u{3BF}\\u{3C5}\\u{3C1}\\u{3B3}\\u{3AF}\\u{3B1} \\u{3B5}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3BF}\\u{3B3}\\u{3AE}\\u{3C2}.`,\n \"select\": `\\u{395}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3BF}\\u{3B3}\\u{3AE}`,\n \"selectedAll\": `\\u{395}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3AD}\\u{3C7}\\u{3B8}\\u{3B7}\\u{3BA}\\u{3B1}\\u{3BD} \\u{3CC}\\u{3BB}\\u{3B1} \\u{3C4}\\u{3B1} \\u{3C3}\\u{3C4}\\u{3BF}\\u{3B9}\\u{3C7}\\u{3B5}\\u{3AF}\\u{3B1}.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `\\u{394}\\u{3B5}\\u{3BD} \\u{3B5}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3AD}\\u{3C7}\\u{3B8}\\u{3B7}\\u{3BA}\\u{3B1}\\u{3BD} \\u{3C3}\\u{3C4}\\u{3BF}\\u{3B9}\\u{3C7}\\u{3B5}\\u{3AF}\\u{3B1}`,\n one: ()=>`\\u{395}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3AD}\\u{3C7}\\u{3B8}\\u{3B7}\\u{3BA}\\u{3B5} ${formatter.number(args.count)} \\u{3C3}\\u{3C4}\\u{3BF}\\u{3B9}\\u{3C7}\\u{3B5}\\u{3AF}\\u{3BF}`,\n other: ()=>`\\u{395}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3AD}\\u{3C7}\\u{3B8}\\u{3B7}\\u{3BA}\\u{3B1}\\u{3BD} ${formatter.number(args.count)} \\u{3C3}\\u{3C4}\\u{3BF}\\u{3B9}\\u{3C7}\\u{3B5}\\u{3AF}\\u{3B1}`\n })}.`,\n \"selectedItem\": (args)=>`\\u{395}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3AD}\\u{3C7}\\u{3B8}\\u{3B7}\\u{3BA}\\u{3B5} \\u{3C4}\\u{3BF} \\u{3C3}\\u{3C4}\\u{3BF}\\u{3B9}\\u{3C7}\\u{3B5}\\u{3AF}\\u{3BF} ${args.item}.`\n};\n\n\nexport {$9a73ed2983c3ab0b$exports as default};\n//# sourceMappingURL=el-GR.module.js.map\n","var $583de0b3587601b9$exports = {};\n$583de0b3587601b9$exports = {\n \"deselectedItem\": (args)=>`${args.item} not selected.`,\n \"select\": `Select`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `No items selected`,\n one: ()=>`${formatter.number(args.count)} item selected`,\n other: ()=>`${formatter.number(args.count)} items selected`\n })}.`,\n \"selectedAll\": `All items selected.`,\n \"selectedItem\": (args)=>`${args.item} selected.`,\n \"longPressToSelect\": `Long press to enter selection mode.`\n};\n\n\nexport {$583de0b3587601b9$exports as default};\n//# sourceMappingURL=en-US.module.js.map\n","var $147159c978043442$exports = {};\n$147159c978043442$exports = {\n \"deselectedItem\": (args)=>`${args.item} no seleccionado.`,\n \"longPressToSelect\": `Mantenga pulsado para abrir el modo de selecci\\xf3n.`,\n \"select\": `Seleccionar`,\n \"selectedAll\": `Todos los elementos seleccionados.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Ning\\xfan elemento seleccionado`,\n one: ()=>`${formatter.number(args.count)} elemento seleccionado`,\n other: ()=>`${formatter.number(args.count)} elementos seleccionados`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} seleccionado.`\n};\n\n\nexport {$147159c978043442$exports as default};\n//# sourceMappingURL=es-ES.module.js.map\n","var $5cbb62c8a19173ac$exports = {};\n$5cbb62c8a19173ac$exports = {\n \"deselectedItem\": (args)=>`${args.item} pole valitud.`,\n \"longPressToSelect\": `Valikure\\u{17E}iimi sisenemiseks vajutage pikalt.`,\n \"select\": `Vali`,\n \"selectedAll\": `K\\xf5ik \\xfcksused valitud.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `\\xdcksusi pole valitud`,\n one: ()=>`${formatter.number(args.count)} \\xfcksus valitud`,\n other: ()=>`${formatter.number(args.count)} \\xfcksust valitud`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} valitud.`\n};\n\n\nexport {$5cbb62c8a19173ac$exports as default};\n//# sourceMappingURL=et-EE.module.js.map\n","var $a33d71dc804cc59e$exports = {};\n$a33d71dc804cc59e$exports = {\n \"deselectedItem\": (args)=>`Kohdetta ${args.item} ei valittu.`,\n \"longPressToSelect\": `Siirry valintatilaan painamalla pitk\\xe4\\xe4n.`,\n \"select\": `Valitse`,\n \"selectedAll\": `Kaikki kohteet valittu.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Ei yht\\xe4\\xe4n kohdetta valittu`,\n one: ()=>`${formatter.number(args.count)} kohde valittu`,\n other: ()=>`${formatter.number(args.count)} kohdetta valittu`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} valittu.`\n};\n\n\nexport {$a33d71dc804cc59e$exports as default};\n//# sourceMappingURL=fi-FI.module.js.map\n","var $92d800447793d084$exports = {};\n$92d800447793d084$exports = {\n \"deselectedItem\": (args)=>`${args.item} non s\\xe9lectionn\\xe9.`,\n \"longPressToSelect\": `Appuyez de mani\\xe8re prolong\\xe9e pour passer en mode de s\\xe9lection.`,\n \"select\": `S\\xe9lectionner`,\n \"selectedAll\": `Tous les \\xe9l\\xe9ments s\\xe9lectionn\\xe9s.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Aucun \\xe9l\\xe9ment s\\xe9lectionn\\xe9`,\n one: ()=>`${formatter.number(args.count)} \\xe9l\\xe9ment s\\xe9lectionn\\xe9`,\n other: ()=>`${formatter.number(args.count)} \\xe9l\\xe9ments s\\xe9lectionn\\xe9s`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} s\\xe9lectionn\\xe9.`\n};\n\n\nexport {$92d800447793d084$exports as default};\n//# sourceMappingURL=fr-FR.module.js.map\n","var $fe732cdb32124ea8$exports = {};\n$fe732cdb32124ea8$exports = {\n \"deselectedItem\": (args)=>`${args.item} \\u{5DC}\\u{5D0} \\u{5E0}\\u{5D1}\\u{5D7}\\u{5E8}.`,\n \"longPressToSelect\": `\\u{5D4}\\u{5E7}\\u{5E9}\\u{5D4} \\u{5D0}\\u{5E8}\\u{5D5}\\u{5DB}\\u{5D4} \\u{5DC}\\u{5DB}\\u{5E0}\\u{5D9}\\u{5E1}\\u{5D4} \\u{5DC}\\u{5DE}\\u{5E6}\\u{5D1} \\u{5D1}\\u{5D7}\\u{5D9}\\u{5E8}\\u{5D4}.`,\n \"select\": `\\u{5D1}\\u{5D7}\\u{5E8}`,\n \"selectedAll\": `\\u{5DB}\\u{5DC} \\u{5D4}\\u{5E4}\\u{5E8}\\u{5D9}\\u{5D8}\\u{5D9}\\u{5DD} \\u{5E0}\\u{5D1}\\u{5D7}\\u{5E8}\\u{5D5}.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `\\u{5DC}\\u{5D0} \\u{5E0}\\u{5D1}\\u{5D7}\\u{5E8}\\u{5D5} \\u{5E4}\\u{5E8}\\u{5D9}\\u{5D8}\\u{5D9}\\u{5DD}`,\n one: ()=>`\\u{5E4}\\u{5E8}\\u{5D9}\\u{5D8} ${formatter.number(args.count)} \\u{5E0}\\u{5D1}\\u{5D7}\\u{5E8}`,\n other: ()=>`${formatter.number(args.count)} \\u{5E4}\\u{5E8}\\u{5D9}\\u{5D8}\\u{5D9}\\u{5DD} \\u{5E0}\\u{5D1}\\u{5D7}\\u{5E8}\\u{5D5}`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} \\u{5E0}\\u{5D1}\\u{5D7}\\u{5E8}.`\n};\n\n\nexport {$fe732cdb32124ea8$exports as default};\n//# sourceMappingURL=he-IL.module.js.map\n","var $e41234e934efb4f5$exports = {};\n$e41234e934efb4f5$exports = {\n \"deselectedItem\": (args)=>`Stavka ${args.item} nije odabrana.`,\n \"longPressToSelect\": `Dugo pritisnite za ulazak u na\\u{10D}in odabira.`,\n \"select\": `Odaberite`,\n \"selectedAll\": `Odabrane su sve stavke.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Nije odabrana nijedna stavka`,\n one: ()=>`Odabrana je ${formatter.number(args.count)} stavka`,\n other: ()=>`Odabrano je ${formatter.number(args.count)} stavki`\n })}.`,\n \"selectedItem\": (args)=>`Stavka ${args.item} je odabrana.`\n};\n\n\nexport {$e41234e934efb4f5$exports as default};\n//# sourceMappingURL=hr-HR.module.js.map\n","var $1b0393182473bf9e$exports = {};\n$1b0393182473bf9e$exports = {\n \"deselectedItem\": (args)=>`${args.item} nincs kijel\\xf6lve.`,\n \"longPressToSelect\": `Nyomja hosszan a kijel\\xf6l\\xe9shez.`,\n \"select\": `Kijel\\xf6l\\xe9s`,\n \"selectedAll\": `Az \\xf6sszes elem kijel\\xf6lve.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Egy elem sincs kijel\\xf6lve`,\n one: ()=>`${formatter.number(args.count)} elem kijel\\xf6lve`,\n other: ()=>`${formatter.number(args.count)} elem kijel\\xf6lve`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} kijel\\xf6lve.`\n};\n\n\nexport {$1b0393182473bf9e$exports as default};\n//# sourceMappingURL=hu-HU.module.js.map\n","var $2eed782c1c110ce7$exports = {};\n$2eed782c1c110ce7$exports = {\n \"deselectedItem\": (args)=>`${args.item} non selezionato.`,\n \"longPressToSelect\": `Premi a lungo per passare alla modalit\\xe0 di selezione.`,\n \"select\": `Seleziona`,\n \"selectedAll\": `Tutti gli elementi selezionati.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Nessun elemento selezionato`,\n one: ()=>`${formatter.number(args.count)} elemento selezionato`,\n other: ()=>`${formatter.number(args.count)} elementi selezionati`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} selezionato.`\n};\n\n\nexport {$2eed782c1c110ce7$exports as default};\n//# sourceMappingURL=it-IT.module.js.map\n","var $8b5d459f86e9b23c$exports = {};\n$8b5d459f86e9b23c$exports = {\n \"deselectedItem\": (args)=>`${args.item} \\u{304C}\\u{9078}\\u{629E}\\u{3055}\\u{308C}\\u{3066}\\u{3044}\\u{307E}\\u{305B}\\u{3093}\\u{3002}`,\n \"longPressToSelect\": `\\u{9577}\\u{62BC}\\u{3057}\\u{3057}\\u{3066}\\u{9078}\\u{629E}\\u{30E2}\\u{30FC}\\u{30C9}\\u{3092}\\u{958B}\\u{304D}\\u{307E}\\u{3059}\\u{3002}`,\n \"select\": `\\u{9078}\\u{629E}`,\n \"selectedAll\": `\\u{3059}\\u{3079}\\u{3066}\\u{306E}\\u{9805}\\u{76EE}\\u{3092}\\u{9078}\\u{629E}\\u{3057}\\u{307E}\\u{3057}\\u{305F}\\u{3002}`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `\\u{9805}\\u{76EE}\\u{304C}\\u{9078}\\u{629E}\\u{3055}\\u{308C}\\u{3066}\\u{3044}\\u{307E}\\u{305B}\\u{3093}`,\n one: ()=>`${formatter.number(args.count)} \\u{9805}\\u{76EE}\\u{3092}\\u{9078}\\u{629E}\\u{3057}\\u{307E}\\u{3057}\\u{305F}`,\n other: ()=>`${formatter.number(args.count)} \\u{9805}\\u{76EE}\\u{3092}\\u{9078}\\u{629E}\\u{3057}\\u{307E}\\u{3057}\\u{305F}`\n })}\\u{3002}`,\n \"selectedItem\": (args)=>`${args.item} \\u{3092}\\u{9078}\\u{629E}\\u{3057}\\u{307E}\\u{3057}\\u{305F}\\u{3002}`\n};\n\n\nexport {$8b5d459f86e9b23c$exports as default};\n//# sourceMappingURL=ja-JP.module.js.map\n","var $1949c3ad17295fd4$exports = {};\n$1949c3ad17295fd4$exports = {\n \"deselectedItem\": (args)=>`${args.item}\\u{C774}(\\u{AC00}) \\u{C120}\\u{D0DD}\\u{B418}\\u{C9C0} \\u{C54A}\\u{C558}\\u{C2B5}\\u{B2C8}\\u{B2E4}.`,\n \"longPressToSelect\": `\\u{C120}\\u{D0DD} \\u{BAA8}\\u{B4DC}\\u{B85C} \\u{B4E4}\\u{C5B4}\\u{AC00}\\u{B824}\\u{BA74} \\u{AE38}\\u{AC8C} \\u{B204}\\u{B974}\\u{C2ED}\\u{C2DC}\\u{C624}.`,\n \"select\": `\\u{C120}\\u{D0DD}`,\n \"selectedAll\": `\\u{BAA8}\\u{B4E0} \\u{D56D}\\u{BAA9}\\u{C774} \\u{C120}\\u{D0DD}\\u{B418}\\u{C5C8}\\u{C2B5}\\u{B2C8}\\u{B2E4}.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `\\u{C120}\\u{D0DD}\\u{B41C} \\u{D56D}\\u{BAA9}\\u{C774} \\u{C5C6}\\u{C2B5}\\u{B2C8}\\u{B2E4}`,\n one: ()=>`${formatter.number(args.count)}\\u{AC1C} \\u{D56D}\\u{BAA9}\\u{C774} \\u{C120}\\u{D0DD}\\u{B418}\\u{C5C8}\\u{C2B5}\\u{B2C8}\\u{B2E4}`,\n other: ()=>`${formatter.number(args.count)}\\u{AC1C} \\u{D56D}\\u{BAA9}\\u{C774} \\u{C120}\\u{D0DD}\\u{B418}\\u{C5C8}\\u{C2B5}\\u{B2C8}\\u{B2E4}`\n })}.`,\n \"selectedItem\": (args)=>`${args.item}\\u{C774}(\\u{AC00}) \\u{C120}\\u{D0DD}\\u{B418}\\u{C5C8}\\u{C2B5}\\u{B2C8}\\u{B2E4}.`\n};\n\n\nexport {$1949c3ad17295fd4$exports as default};\n//# sourceMappingURL=ko-KR.module.js.map\n","var $f5e3df4dc8aa7b54$exports = {};\n$f5e3df4dc8aa7b54$exports = {\n \"deselectedItem\": (args)=>`${args.item} nepasirinkta.`,\n \"longPressToSelect\": `Nor\\u{117}dami \\u{12F}jungti pasirinkimo re\\u{17E}im\\u{105}, paspauskite ir palaikykite.`,\n \"select\": `Pasirinkti`,\n \"selectedAll\": `Pasirinkti visi elementai.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Nepasirinktas n\\u{117} vienas elementas`,\n one: ()=>`Pasirinktas ${formatter.number(args.count)} elementas`,\n other: ()=>`Pasirinkta element\\u{173}: ${formatter.number(args.count)}`\n })}.`,\n \"selectedItem\": (args)=>`Pasirinkta: ${args.item}.`\n};\n\n\nexport {$f5e3df4dc8aa7b54$exports as default};\n//# sourceMappingURL=lt-LT.module.js.map\n","var $9dd86690a5c2b2c5$exports = {};\n$9dd86690a5c2b2c5$exports = {\n \"deselectedItem\": (args)=>`Vienums ${args.item} nav atlas\\u{12B}ts.`,\n \"longPressToSelect\": `Ilgi turiet nospiestu. lai iesl\\u{113}gtu atlases re\\u{17E}\\u{12B}mu.`,\n \"select\": `Atlas\\u{12B}t`,\n \"selectedAll\": `Atlas\\u{12B}ti visi vienumi.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Nav atlas\\u{12B}ts neviens vienums`,\n one: ()=>`Atlas\\u{12B}to vienumu skaits: ${formatter.number(args.count)}`,\n other: ()=>`Atlas\\u{12B}to vienumu skaits: ${formatter.number(args.count)}`\n })}.`,\n \"selectedItem\": (args)=>`Atlas\\u{12B}ts vienums ${args.item}.`\n};\n\n\nexport {$9dd86690a5c2b2c5$exports as default};\n//# sourceMappingURL=lv-LV.module.js.map\n","var $843964c3bf9a7d24$exports = {};\n$843964c3bf9a7d24$exports = {\n \"deselectedItem\": (args)=>`${args.item} er ikke valgt.`,\n \"longPressToSelect\": `Bruk et langt trykk for \\xe5 g\\xe5 inn i valgmodus.`,\n \"select\": `Velg`,\n \"selectedAll\": `Alle elementer er valgt.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Ingen elementer er valgt`,\n one: ()=>`${formatter.number(args.count)} element er valgt`,\n other: ()=>`${formatter.number(args.count)} elementer er valgt`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} er valgt.`\n};\n\n\nexport {$843964c3bf9a7d24$exports as default};\n//# sourceMappingURL=nb-NO.module.js.map\n","var $73f50e845f9ef3b4$exports = {};\n$73f50e845f9ef3b4$exports = {\n \"deselectedItem\": (args)=>`${args.item} niet geselecteerd.`,\n \"longPressToSelect\": `Druk lang om de selectiemodus te openen.`,\n \"select\": `Selecteren`,\n \"selectedAll\": `Alle items geselecteerd.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Geen items geselecteerd`,\n one: ()=>`${formatter.number(args.count)} item geselecteerd`,\n other: ()=>`${formatter.number(args.count)} items geselecteerd`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} geselecteerd.`\n};\n\n\nexport {$73f50e845f9ef3b4$exports as default};\n//# sourceMappingURL=nl-NL.module.js.map\n","var $87f92a7e077514b2$exports = {};\n$87f92a7e077514b2$exports = {\n \"deselectedItem\": (args)=>`Nie zaznaczono ${args.item}.`,\n \"longPressToSelect\": `Naci\\u{15B}nij i przytrzymaj, aby wej\\u{15B}\\u{107} do trybu wyboru.`,\n \"select\": `Zaznacz`,\n \"selectedAll\": `Wszystkie zaznaczone elementy.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Nie zaznaczono \\u{17C}adnych element\\xf3w`,\n one: ()=>`${formatter.number(args.count)} zaznaczony element`,\n other: ()=>`${formatter.number(args.count)} zaznaczonych element\\xf3w`\n })}.`,\n \"selectedItem\": (args)=>`Zaznaczono ${args.item}.`\n};\n\n\nexport {$87f92a7e077514b2$exports as default};\n//# sourceMappingURL=pl-PL.module.js.map\n","var $c28c98d58ee9ff6f$exports = {};\n$c28c98d58ee9ff6f$exports = {\n \"deselectedItem\": (args)=>`${args.item} n\\xe3o selecionado.`,\n \"longPressToSelect\": `Mantenha pressionado para entrar no modo de sele\\xe7\\xe3o.`,\n \"select\": `Selecionar`,\n \"selectedAll\": `Todos os itens selecionados.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Nenhum item selecionado`,\n one: ()=>`${formatter.number(args.count)} item selecionado`,\n other: ()=>`${formatter.number(args.count)} itens selecionados`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} selecionado.`\n};\n\n\nexport {$c28c98d58ee9ff6f$exports as default};\n//# sourceMappingURL=pt-BR.module.js.map\n","var $b6b1503b17b2254d$exports = {};\n$b6b1503b17b2254d$exports = {\n \"deselectedItem\": (args)=>`${args.item} n\\xe3o selecionado.`,\n \"longPressToSelect\": `Prima continuamente para entrar no modo de sele\\xe7\\xe3o.`,\n \"select\": `Selecionar`,\n \"selectedAll\": `Todos os itens selecionados.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Nenhum item selecionado`,\n one: ()=>`${formatter.number(args.count)} item selecionado`,\n other: ()=>`${formatter.number(args.count)} itens selecionados`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} selecionado.`\n};\n\n\nexport {$b6b1503b17b2254d$exports as default};\n//# sourceMappingURL=pt-PT.module.js.map\n","var $8bdaeb71e50c3e1a$exports = {};\n$8bdaeb71e50c3e1a$exports = {\n \"deselectedItem\": (args)=>`${args.item} neselectat.`,\n \"longPressToSelect\": `Ap\\u{103}sa\\u{21B}i lung pentru a intra \\xeen modul de selectare.`,\n \"select\": `Selectare`,\n \"selectedAll\": `Toate elementele selectate.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Niciun element selectat`,\n one: ()=>`${formatter.number(args.count)} element selectat`,\n other: ()=>`${formatter.number(args.count)} elemente selectate`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} selectat.`\n};\n\n\nexport {$8bdaeb71e50c3e1a$exports as default};\n//# sourceMappingURL=ro-RO.module.js.map\n","var $ec2b852dd7c3d1f2$exports = {};\n$ec2b852dd7c3d1f2$exports = {\n \"deselectedItem\": (args)=>`${args.item} \\u{43D}\\u{435} \\u{432}\\u{44B}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E}.`,\n \"longPressToSelect\": `\\u{41D}\\u{430}\\u{436}\\u{43C}\\u{438}\\u{442}\\u{435} \\u{438} \\u{443}\\u{434}\\u{435}\\u{440}\\u{436}\\u{438}\\u{432}\\u{430}\\u{439}\\u{442}\\u{435} \\u{434}\\u{43B}\\u{44F} \\u{432}\\u{445}\\u{43E}\\u{434}\\u{430} \\u{432} \\u{440}\\u{435}\\u{436}\\u{438}\\u{43C} \\u{432}\\u{44B}\\u{431}\\u{43E}\\u{440}\\u{430}.`,\n \"select\": `\\u{412}\\u{44B}\\u{431}\\u{440}\\u{430}\\u{442}\\u{44C}`,\n \"selectedAll\": `\\u{412}\\u{44B}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{44B} \\u{432}\\u{441}\\u{435} \\u{44D}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442}\\u{44B}.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `\\u{41D}\\u{435}\\u{442} \\u{432}\\u{44B}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43D}\\u{44B}\\u{445} \\u{44D}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442}\\u{43E}\\u{432}`,\n one: ()=>`${formatter.number(args.count)} \\u{44D}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442} \\u{432}\\u{44B}\\u{431}\\u{440}\\u{430}\\u{43D}`,\n other: ()=>`${formatter.number(args.count)} \\u{44D}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442}\\u{43E}\\u{432} \\u{432}\\u{44B}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E}`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} \\u{432}\\u{44B}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E}.`\n};\n\n\nexport {$ec2b852dd7c3d1f2$exports as default};\n//# sourceMappingURL=ru-RU.module.js.map\n","var $79e6d900d6a4f82d$exports = {};\n$79e6d900d6a4f82d$exports = {\n \"deselectedItem\": (args)=>`Nevybrat\\xe9 polo\\u{17E}ky: ${args.item}.`,\n \"longPressToSelect\": `Dlh\\u{161}\\xedm stla\\u{10D}en\\xedm prejdite do re\\u{17E}imu v\\xfdberu.`,\n \"select\": `Vybra\\u{165}`,\n \"selectedAll\": `V\\u{161}etky vybrat\\xe9 polo\\u{17E}ky.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `\\u{17D}iadne vybrat\\xe9 polo\\u{17E}ky`,\n one: ()=>`${formatter.number(args.count)} vybrat\\xe1 polo\\u{17E}ka`,\n other: ()=>`Po\\u{10D}et vybrat\\xfdch polo\\u{17E}iek:${formatter.number(args.count)}`\n })}.`,\n \"selectedItem\": (args)=>`Vybrat\\xe9 polo\\u{17E}ky: ${args.item}.`\n};\n\n\nexport {$79e6d900d6a4f82d$exports as default};\n//# sourceMappingURL=sk-SK.module.js.map\n","var $f4c1f0d5d4d03d80$exports = {};\n$f4c1f0d5d4d03d80$exports = {\n \"deselectedItem\": (args)=>`Element ${args.item} ni izbran.`,\n \"longPressToSelect\": `Za izbirni na\\u{10D}in pritisnite in dlje \\u{10D}asa dr\\u{17E}ite.`,\n \"select\": `Izberite`,\n \"selectedAll\": `Vsi elementi so izbrani.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Noben element ni izbran`,\n one: ()=>`${formatter.number(args.count)} element je izbran`,\n other: ()=>`${formatter.number(args.count)} elementov je izbranih`\n })}.`,\n \"selectedItem\": (args)=>`Element ${args.item} je izbran.`\n};\n\n\nexport {$f4c1f0d5d4d03d80$exports as default};\n//# sourceMappingURL=sl-SI.module.js.map\n","var $46252cd87269b10b$exports = {};\n$46252cd87269b10b$exports = {\n \"deselectedItem\": (args)=>`${args.item} nije izabrano.`,\n \"longPressToSelect\": `Dugo pritisnite za ulazak u re\\u{17E}im biranja.`,\n \"select\": `Izaberite`,\n \"selectedAll\": `Izabrane su sve stavke.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Nije izabrana nijedna stavka`,\n one: ()=>`Izabrana je ${formatter.number(args.count)} stavka`,\n other: ()=>`Izabrano je ${formatter.number(args.count)} stavki`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} je izabrano.`\n};\n\n\nexport {$46252cd87269b10b$exports as default};\n//# sourceMappingURL=sr-SP.module.js.map\n","var $d4d5d8dab362555c$exports = {};\n$d4d5d8dab362555c$exports = {\n \"deselectedItem\": (args)=>`${args.item} ej markerat.`,\n \"longPressToSelect\": `Tryck l\\xe4nge n\\xe4r du vill \\xf6ppna v\\xe4ljarl\\xe4ge.`,\n \"select\": `Markera`,\n \"selectedAll\": `Alla markerade objekt.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Inga markerade objekt`,\n one: ()=>`${formatter.number(args.count)} markerat objekt`,\n other: ()=>`${formatter.number(args.count)} markerade objekt`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} markerat.`\n};\n\n\nexport {$d4d5d8dab362555c$exports as default};\n//# sourceMappingURL=sv-SE.module.js.map\n","var $3d55d1f97c377e83$exports = {};\n$3d55d1f97c377e83$exports = {\n \"deselectedItem\": (args)=>`${args.item} se\\xe7ilmedi.`,\n \"longPressToSelect\": `Se\\xe7im moduna girmek i\\xe7in uzun bas\\u{131}n.`,\n \"select\": `Se\\xe7`,\n \"selectedAll\": `T\\xfcm \\xf6geler se\\xe7ildi.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Hi\\xe7bir \\xf6ge se\\xe7ilmedi`,\n one: ()=>`${formatter.number(args.count)} \\xf6ge se\\xe7ildi`,\n other: ()=>`${formatter.number(args.count)} \\xf6ge se\\xe7ildi`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} se\\xe7ildi.`\n};\n\n\nexport {$3d55d1f97c377e83$exports as default};\n//# sourceMappingURL=tr-TR.module.js.map\n","var $5368512f1c703a3f$exports = {};\n$5368512f1c703a3f$exports = {\n \"deselectedItem\": (args)=>`${args.item} \\u{43D}\\u{435} \\u{432}\\u{438}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E}.`,\n \"longPressToSelect\": `\\u{412}\\u{438}\\u{43A}\\u{43E}\\u{43D}\\u{430}\\u{439}\\u{442}\\u{435} \\u{434}\\u{43E}\\u{432}\\u{433}\\u{435} \\u{43D}\\u{430}\\u{442}\\u{438}\\u{441}\\u{43D}\\u{435}\\u{43D}\\u{43D}\\u{44F}, \\u{449}\\u{43E}\\u{431} \\u{43F}\\u{435}\\u{440}\\u{435}\\u{439}\\u{442}\\u{438} \\u{432} \\u{440}\\u{435}\\u{436}\\u{438}\\u{43C} \\u{432}\\u{438}\\u{431}\\u{43E}\\u{440}\\u{443}.`,\n \"select\": `\\u{412}\\u{438}\\u{431}\\u{440}\\u{430}\\u{442}\\u{438}`,\n \"selectedAll\": `\\u{423}\\u{441}\\u{456} \\u{435}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442}\\u{438} \\u{432}\\u{438}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E}.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `\\u{416}\\u{43E}\\u{434}\\u{43D}\\u{438}\\u{445} \\u{435}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442}\\u{456}\\u{432} \\u{43D}\\u{435} \\u{432}\\u{438}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E}`,\n one: ()=>`${formatter.number(args.count)} \\u{435}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442} \\u{432}\\u{438}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E}`,\n other: ()=>`\\u{412}\\u{438}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E} \\u{435}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442}\\u{456}\\u{432}: ${formatter.number(args.count)}`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} \\u{432}\\u{438}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E}.`\n};\n\n\nexport {$5368512f1c703a3f$exports as default};\n//# sourceMappingURL=uk-UA.module.js.map\n","var $f1316b1074463583$exports = {};\n$f1316b1074463583$exports = {\n \"deselectedItem\": (args)=>`\\u{672A}\\u{9009}\\u{62E9} ${args.item}\\u{3002}`,\n \"longPressToSelect\": `\\u{957F}\\u{6309}\\u{4EE5}\\u{8FDB}\\u{5165}\\u{9009}\\u{62E9}\\u{6A21}\\u{5F0F}\\u{3002}`,\n \"select\": `\\u{9009}\\u{62E9}`,\n \"selectedAll\": `\\u{5DF2}\\u{9009}\\u{62E9}\\u{6240}\\u{6709}\\u{9879}\\u{76EE}\\u{3002}`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `\\u{672A}\\u{9009}\\u{62E9}\\u{9879}\\u{76EE}`,\n one: ()=>`\\u{5DF2}\\u{9009}\\u{62E9} ${formatter.number(args.count)} \\u{4E2A}\\u{9879}\\u{76EE}`,\n other: ()=>`\\u{5DF2}\\u{9009}\\u{62E9} ${formatter.number(args.count)} \\u{4E2A}\\u{9879}\\u{76EE}`\n })}\\u{3002}`,\n \"selectedItem\": (args)=>`\\u{5DF2}\\u{9009}\\u{62E9} ${args.item}\\u{3002}`\n};\n\n\nexport {$f1316b1074463583$exports as default};\n//# sourceMappingURL=zh-CN.module.js.map\n","var $7e60654723031b6f$exports = {};\n$7e60654723031b6f$exports = {\n \"deselectedItem\": (args)=>`\\u{672A}\\u{9078}\\u{53D6}\\u{300C}${args.item}\\u{300D}\\u{3002}`,\n \"longPressToSelect\": `\\u{9577}\\u{6309}\\u{4EE5}\\u{9032}\\u{5165}\\u{9078}\\u{64C7}\\u{6A21}\\u{5F0F}\\u{3002}`,\n \"select\": `\\u{9078}\\u{53D6}`,\n \"selectedAll\": `\\u{5DF2}\\u{9078}\\u{53D6}\\u{6240}\\u{6709}\\u{9805}\\u{76EE}\\u{3002}`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `\\u{672A}\\u{9078}\\u{53D6}\\u{4EFB}\\u{4F55}\\u{9805}\\u{76EE}`,\n one: ()=>`\\u{5DF2}\\u{9078}\\u{53D6} ${formatter.number(args.count)} \\u{500B}\\u{9805}\\u{76EE}`,\n other: ()=>`\\u{5DF2}\\u{9078}\\u{53D6} ${formatter.number(args.count)} \\u{500B}\\u{9805}\\u{76EE}`\n })}\\u{3002}`,\n \"selectedItem\": (args)=>`\\u{5DF2}\\u{9078}\\u{53D6}\\u{300C}${args.item}\\u{300D}\\u{3002}`\n};\n\n\nexport {$7e60654723031b6f$exports as default};\n//# sourceMappingURL=zh-TW.module.js.map\n","import $ftaEG$arAEmodulejs from \"./ar-AE.mjs\";\nimport $ftaEG$bgBGmodulejs from \"./bg-BG.mjs\";\nimport $ftaEG$csCZmodulejs from \"./cs-CZ.mjs\";\nimport $ftaEG$daDKmodulejs from \"./da-DK.mjs\";\nimport $ftaEG$deDEmodulejs from \"./de-DE.mjs\";\nimport $ftaEG$elGRmodulejs from \"./el-GR.mjs\";\nimport $ftaEG$enUSmodulejs from \"./en-US.mjs\";\nimport $ftaEG$esESmodulejs from \"./es-ES.mjs\";\nimport $ftaEG$etEEmodulejs from \"./et-EE.mjs\";\nimport $ftaEG$fiFImodulejs from \"./fi-FI.mjs\";\nimport $ftaEG$frFRmodulejs from \"./fr-FR.mjs\";\nimport $ftaEG$heILmodulejs from \"./he-IL.mjs\";\nimport $ftaEG$hrHRmodulejs from \"./hr-HR.mjs\";\nimport $ftaEG$huHUmodulejs from \"./hu-HU.mjs\";\nimport $ftaEG$itITmodulejs from \"./it-IT.mjs\";\nimport $ftaEG$jaJPmodulejs from \"./ja-JP.mjs\";\nimport $ftaEG$koKRmodulejs from \"./ko-KR.mjs\";\nimport $ftaEG$ltLTmodulejs from \"./lt-LT.mjs\";\nimport $ftaEG$lvLVmodulejs from \"./lv-LV.mjs\";\nimport $ftaEG$nbNOmodulejs from \"./nb-NO.mjs\";\nimport $ftaEG$nlNLmodulejs from \"./nl-NL.mjs\";\nimport $ftaEG$plPLmodulejs from \"./pl-PL.mjs\";\nimport $ftaEG$ptBRmodulejs from \"./pt-BR.mjs\";\nimport $ftaEG$ptPTmodulejs from \"./pt-PT.mjs\";\nimport $ftaEG$roROmodulejs from \"./ro-RO.mjs\";\nimport $ftaEG$ruRUmodulejs from \"./ru-RU.mjs\";\nimport $ftaEG$skSKmodulejs from \"./sk-SK.mjs\";\nimport $ftaEG$slSImodulejs from \"./sl-SI.mjs\";\nimport $ftaEG$srSPmodulejs from \"./sr-SP.mjs\";\nimport $ftaEG$svSEmodulejs from \"./sv-SE.mjs\";\nimport $ftaEG$trTRmodulejs from \"./tr-TR.mjs\";\nimport $ftaEG$ukUAmodulejs from \"./uk-UA.mjs\";\nimport $ftaEG$zhCNmodulejs from \"./zh-CN.mjs\";\nimport $ftaEG$zhTWmodulejs from \"./zh-TW.mjs\";\n\nvar $835c96616a7cb4f9$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$835c96616a7cb4f9$exports = {\n \"ar-AE\": $ftaEG$arAEmodulejs,\n \"bg-BG\": $ftaEG$bgBGmodulejs,\n \"cs-CZ\": $ftaEG$csCZmodulejs,\n \"da-DK\": $ftaEG$daDKmodulejs,\n \"de-DE\": $ftaEG$deDEmodulejs,\n \"el-GR\": $ftaEG$elGRmodulejs,\n \"en-US\": $ftaEG$enUSmodulejs,\n \"es-ES\": $ftaEG$esESmodulejs,\n \"et-EE\": $ftaEG$etEEmodulejs,\n \"fi-FI\": $ftaEG$fiFImodulejs,\n \"fr-FR\": $ftaEG$frFRmodulejs,\n \"he-IL\": $ftaEG$heILmodulejs,\n \"hr-HR\": $ftaEG$hrHRmodulejs,\n \"hu-HU\": $ftaEG$huHUmodulejs,\n \"it-IT\": $ftaEG$itITmodulejs,\n \"ja-JP\": $ftaEG$jaJPmodulejs,\n \"ko-KR\": $ftaEG$koKRmodulejs,\n \"lt-LT\": $ftaEG$ltLTmodulejs,\n \"lv-LV\": $ftaEG$lvLVmodulejs,\n \"nb-NO\": $ftaEG$nbNOmodulejs,\n \"nl-NL\": $ftaEG$nlNLmodulejs,\n \"pl-PL\": $ftaEG$plPLmodulejs,\n \"pt-BR\": $ftaEG$ptBRmodulejs,\n \"pt-PT\": $ftaEG$ptPTmodulejs,\n \"ro-RO\": $ftaEG$roROmodulejs,\n \"ru-RU\": $ftaEG$ruRUmodulejs,\n \"sk-SK\": $ftaEG$skSKmodulejs,\n \"sl-SI\": $ftaEG$slSImodulejs,\n \"sr-SP\": $ftaEG$srSPmodulejs,\n \"sv-SE\": $ftaEG$svSEmodulejs,\n \"tr-TR\": $ftaEG$trTRmodulejs,\n \"uk-UA\": $ftaEG$ukUAmodulejs,\n \"zh-CN\": $ftaEG$zhCNmodulejs,\n \"zh-TW\": $ftaEG$zhTWmodulejs\n};\n\n\nexport {$835c96616a7cb4f9$exports as default};\n//# sourceMappingURL=intlStrings.module.js.map\n","import $4stjr$intlStringsmodulejs from \"./intlStrings.mjs\";\nimport {announce as $4stjr$announce} from \"@react-aria/live-announcer\";\nimport {useLocalizedStringFormatter as $4stjr$useLocalizedStringFormatter} from \"@react-aria/i18n\";\nimport {useRef as $4stjr$useRef} from \"react\";\nimport {useUpdateEffect as $4stjr$useUpdateEffect} from \"@react-aria/utils\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\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\nfunction $92599c3fd427b763$export$137e594ef3218a10(props, state) {\n let { getRowText: getRowText = (key)=>{\n var _state_collection_getTextValue, _state_collection, _state_collection_getItem;\n var _state_collection_getTextValue1;\n return (_state_collection_getTextValue1 = (_state_collection_getTextValue = (_state_collection = state.collection).getTextValue) === null || _state_collection_getTextValue === void 0 ? void 0 : _state_collection_getTextValue.call(_state_collection, key)) !== null && _state_collection_getTextValue1 !== void 0 ? _state_collection_getTextValue1 : (_state_collection_getItem = state.collection.getItem(key)) === null || _state_collection_getItem === void 0 ? void 0 : _state_collection_getItem.textValue;\n } } = props;\n let stringFormatter = (0, $4stjr$useLocalizedStringFormatter)((0, ($parcel$interopDefault($4stjr$intlStringsmodulejs))), '@react-aria/grid');\n // Many screen readers do not announce when items in a grid are selected/deselected.\n // We do this using an ARIA live region.\n let selection = state.selectionManager.rawSelection;\n let lastSelection = (0, $4stjr$useRef)(selection);\n (0, $4stjr$useUpdateEffect)(()=>{\n var _lastSelection_current;\n if (!state.selectionManager.isFocused) {\n lastSelection.current = selection;\n return;\n }\n let addedKeys = $92599c3fd427b763$var$diffSelection(selection, lastSelection.current);\n let removedKeys = $92599c3fd427b763$var$diffSelection(lastSelection.current, selection);\n // If adding or removing a single row from the selection, announce the name of that item.\n let isReplace = state.selectionManager.selectionBehavior === 'replace';\n let messages = [];\n if (state.selectionManager.selectedKeys.size === 1 && isReplace) {\n if (state.collection.getItem(state.selectionManager.selectedKeys.keys().next().value)) {\n let currentSelectionText = getRowText(state.selectionManager.selectedKeys.keys().next().value);\n if (currentSelectionText) messages.push(stringFormatter.format('selectedItem', {\n item: currentSelectionText\n }));\n }\n } else if (addedKeys.size === 1 && removedKeys.size === 0) {\n let addedText = getRowText(addedKeys.keys().next().value);\n if (addedText) messages.push(stringFormatter.format('selectedItem', {\n item: addedText\n }));\n } else if (removedKeys.size === 1 && addedKeys.size === 0) {\n if (state.collection.getItem(removedKeys.keys().next().value)) {\n let removedText = getRowText(removedKeys.keys().next().value);\n if (removedText) messages.push(stringFormatter.format('deselectedItem', {\n item: removedText\n }));\n }\n }\n // Announce how many items are selected, except when selecting the first item.\n if (state.selectionManager.selectionMode === 'multiple') {\n if (messages.length === 0 || selection === 'all' || selection.size > 1 || lastSelection.current === 'all' || ((_lastSelection_current = lastSelection.current) === null || _lastSelection_current === void 0 ? void 0 : _lastSelection_current.size) > 1) messages.push(selection === 'all' ? stringFormatter.format('selectedAll') : stringFormatter.format('selectedCount', {\n count: selection.size\n }));\n }\n if (messages.length > 0) (0, $4stjr$announce)(messages.join(' '));\n lastSelection.current = selection;\n }, [\n selection\n ]);\n}\nfunction $92599c3fd427b763$var$diffSelection(a, b) {\n let res = new Set();\n if (a === 'all' || b === 'all') return res;\n for (let key of a.keys())if (!b.has(key)) res.add(key);\n return res;\n}\n\n\nexport {$92599c3fd427b763$export$137e594ef3218a10 as useGridSelectionAnnouncement};\n//# sourceMappingURL=useGridSelectionAnnouncement.module.js.map\n","import $kh5JA$intlStringsmodulejs from \"./intlStrings.mjs\";\nimport {useDescription as $kh5JA$useDescription} from \"@react-aria/utils\";\nimport {useInteractionModality as $kh5JA$useInteractionModality} from \"@react-aria/interactions\";\nimport {useLocalizedStringFormatter as $kh5JA$useLocalizedStringFormatter} from \"@react-aria/i18n\";\nimport {useMemo as $kh5JA$useMemo} from \"react\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\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 */ \n\n\n\n\nfunction $5b9b5b5723db6ae1$export$be42ebdab07ae4c2(props) {\n let stringFormatter = (0, $kh5JA$useLocalizedStringFormatter)((0, ($parcel$interopDefault($kh5JA$intlStringsmodulejs))), '@react-aria/grid');\n let modality = (0, $kh5JA$useInteractionModality)();\n // null is the default if the user hasn't interacted with the table at all yet or the rest of the page\n let shouldLongPress = (modality === 'pointer' || modality === 'virtual' || modality == null) && typeof window !== 'undefined' && 'ontouchstart' in window;\n let interactionDescription = (0, $kh5JA$useMemo)(()=>{\n let selectionMode = props.selectionManager.selectionMode;\n let selectionBehavior = props.selectionManager.selectionBehavior;\n let message;\n if (shouldLongPress) message = stringFormatter.format('longPressToSelect');\n return selectionBehavior === 'replace' && selectionMode !== 'none' && props.hasItemActions ? message : undefined;\n }, [\n props.selectionManager.selectionMode,\n props.selectionManager.selectionBehavior,\n props.hasItemActions,\n stringFormatter,\n shouldLongPress\n ]);\n let descriptionProps = (0, $kh5JA$useDescription)(interactionDescription);\n return descriptionProps;\n}\n\n\nexport {$5b9b5b5723db6ae1$export$be42ebdab07ae4c2 as useHighlightSelectionDescription};\n//# sourceMappingURL=useHighlightSelectionDescription.module.js.map\n","import {listMap as $ce9b18daab526bbd$export$5b9bb410392e3991} from \"./utils.mjs\";\nimport {useId as $lnALe$useId, filterDOMProps as $lnALe$filterDOMProps, mergeProps as $lnALe$mergeProps} from \"@react-aria/utils\";\nimport {useHighlightSelectionDescription as $lnALe$useHighlightSelectionDescription, useGridSelectionAnnouncement as $lnALe$useGridSelectionAnnouncement} from \"@react-aria/grid\";\nimport {useHasTabbableChild as $lnALe$useHasTabbableChild} from \"@react-aria/focus\";\nimport {useSelectableList as $lnALe$useSelectableList} from \"@react-aria/selection\";\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\nfunction $f47efb0c3a859cf2$export$664f9155035607eb(props, state, ref) {\n let { isVirtualized: isVirtualized, keyboardDelegate: keyboardDelegate, layoutDelegate: layoutDelegate, onAction: onAction, linkBehavior: linkBehavior = 'action', keyboardNavigationBehavior: keyboardNavigationBehavior = 'arrow' } = props;\n if (!props['aria-label'] && !props['aria-labelledby']) console.warn('An aria-label or aria-labelledby prop is required for accessibility.');\n let { listProps: listProps } = (0, $lnALe$useSelectableList)({\n selectionManager: state.selectionManager,\n collection: state.collection,\n disabledKeys: state.disabledKeys,\n ref: ref,\n keyboardDelegate: keyboardDelegate,\n layoutDelegate: layoutDelegate,\n isVirtualized: isVirtualized,\n selectOnFocus: state.selectionManager.selectionBehavior === 'replace',\n shouldFocusWrap: props.shouldFocusWrap,\n linkBehavior: linkBehavior\n });\n let id = (0, $lnALe$useId)(props.id);\n (0, $ce9b18daab526bbd$export$5b9bb410392e3991).set(state, {\n id: id,\n onAction: onAction,\n linkBehavior: linkBehavior,\n keyboardNavigationBehavior: keyboardNavigationBehavior\n });\n let descriptionProps = (0, $lnALe$useHighlightSelectionDescription)({\n selectionManager: state.selectionManager,\n hasItemActions: !!onAction\n });\n let hasTabbableChild = (0, $lnALe$useHasTabbableChild)(ref, {\n isDisabled: state.collection.size !== 0\n });\n let domProps = (0, $lnALe$filterDOMProps)(props, {\n labelable: true\n });\n let gridProps = (0, $lnALe$mergeProps)(domProps, {\n role: 'grid',\n id: id,\n 'aria-multiselectable': state.selectionManager.selectionMode === 'multiple' ? 'true' : undefined\n }, // If collection is empty, make sure the grid is tabbable unless there is a child tabbable element.\n state.collection.size === 0 ? {\n tabIndex: hasTabbableChild ? -1 : 0\n } : listProps, descriptionProps);\n if (isVirtualized) {\n gridProps['aria-rowcount'] = state.collection.size;\n gridProps['aria-colcount'] = 1;\n }\n (0, $lnALe$useGridSelectionAnnouncement)({}, state);\n return {\n gridProps: gridProps\n };\n}\n\n\nexport {$f47efb0c3a859cf2$export$664f9155035607eb as useGridList};\n//# sourceMappingURL=useGridList.module.js.map\n","import {getRowId as $ce9b18daab526bbd$export$f45c25170b9a99c2, listMap as $ce9b18daab526bbd$export$5b9bb410392e3991} from \"./utils.mjs\";\nimport {useSlotId as $lxFUG$useSlotId, chain as $lxFUG$chain, scrollIntoViewport as $lxFUG$scrollIntoViewport, getScrollParent as $lxFUG$getScrollParent, useSyntheticLinkProps as $lxFUG$useSyntheticLinkProps, mergeProps as $lxFUG$mergeProps} from \"@react-aria/utils\";\nimport {focusSafely as $lxFUG$focusSafely, getFocusableTreeWalker as $lxFUG$getFocusableTreeWalker} from \"@react-aria/focus\";\nimport {getLastItem as $lxFUG$getLastItem} from \"@react-stately/collections\";\nimport {useRef as $lxFUG$useRef} from \"react\";\nimport {isFocusVisible as $lxFUG$isFocusVisible} from \"@react-aria/interactions\";\nimport {useSelectableItem as $lxFUG$useSelectableItem} from \"@react-aria/selection\";\nimport {useLocale as $lxFUG$useLocale} from \"@react-aria/i18n\";\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\nconst $4e8b0456ef72939f$var$EXPANSION_KEYS = {\n 'expand': {\n ltr: 'ArrowRight',\n rtl: 'ArrowLeft'\n },\n 'collapse': {\n ltr: 'ArrowLeft',\n rtl: 'ArrowRight'\n }\n};\nfunction $4e8b0456ef72939f$export$9610e69494fadfd2(props, state, ref) {\n var _node_props, _node_props1;\n // Copied from useGridCell + some modifications to make it not so grid specific\n let { node: node, isVirtualized: isVirtualized, shouldSelectOnPressUp: shouldSelectOnPressUp } = props;\n // let stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-aria/gridlist');\n let { direction: direction } = (0, $lxFUG$useLocale)();\n let { onAction: onAction, linkBehavior: linkBehavior, keyboardNavigationBehavior: keyboardNavigationBehavior } = (0, $ce9b18daab526bbd$export$5b9bb410392e3991).get(state);\n let descriptionId = (0, $lxFUG$useSlotId)();\n // We need to track the key of the item at the time it was last focused so that we force\n // focus to go to the item when the DOM node is reused for a different item in a virtualizer.\n let keyWhenFocused = (0, $lxFUG$useRef)(null);\n let focus = ()=>{\n var _ref_current;\n // Don't shift focus to the row if the active element is a element within the row already\n // (e.g. clicking on a row button)\n if (ref.current !== null && (keyWhenFocused.current != null && node.key !== keyWhenFocused.current || !((_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.contains(document.activeElement)))) (0, $lxFUG$focusSafely)(ref.current);\n };\n let treeGridRowProps = {};\n let hasChildRows;\n let hasLink = state.selectionManager.isLink(node.key);\n if (node != null && 'expandedKeys' in state) {\n var _state_collection_getChildren, _state_collection, _filter_at;\n // TODO: ideally node.hasChildNodes would be a way to tell if a row has child nodes, but the row's contents make it so that value is always\n // true...\n let children = (_state_collection_getChildren = (_state_collection = state.collection).getChildren) === null || _state_collection_getChildren === void 0 ? void 0 : _state_collection_getChildren.call(_state_collection, node.key);\n hasChildRows = [\n ...children !== null && children !== void 0 ? children : []\n ].length > 1;\n if (onAction == null && !hasLink && state.selectionManager.selectionMode === 'none' && hasChildRows) onAction = ()=>state.toggleKey(node.key);\n let isExpanded = hasChildRows ? state.expandedKeys.has(node.key) : undefined;\n let setSize = 1;\n var _filter_at_index;\n if (node.level > 0 && (node === null || node === void 0 ? void 0 : node.parentKey) != null) {\n let parent = state.collection.getItem(node.parentKey);\n if (parent) {\n var _state_collection_getChildren1, _state_collection1;\n // siblings must exist because our original node exists, same with lastItem\n let siblings = (_state_collection_getChildren1 = (_state_collection1 = state.collection).getChildren) === null || _state_collection_getChildren1 === void 0 ? void 0 : _state_collection_getChildren1.call(_state_collection1, parent.key);\n setSize = (0, $lxFUG$getLastItem)(siblings).index + 1;\n }\n } else setSize = ((_filter_at_index = (_filter_at = [\n ...state.collection\n ].filter((row)=>row.level === 0).at(-1)) === null || _filter_at === void 0 ? void 0 : _filter_at.index) !== null && _filter_at_index !== void 0 ? _filter_at_index : 0) + 1;\n treeGridRowProps = {\n 'aria-expanded': isExpanded,\n 'aria-level': node.level + 1,\n 'aria-posinset': (node === null || node === void 0 ? void 0 : node.index) + 1,\n 'aria-setsize': setSize\n };\n }\n let { itemProps: itemProps, ...itemStates } = (0, $lxFUG$useSelectableItem)({\n selectionManager: state.selectionManager,\n key: node.key,\n ref: ref,\n isVirtualized: isVirtualized,\n shouldSelectOnPressUp: shouldSelectOnPressUp,\n onAction: onAction || ((_node_props = node.props) === null || _node_props === void 0 ? void 0 : _node_props.onAction) ? (0, $lxFUG$chain)((_node_props1 = node.props) === null || _node_props1 === void 0 ? void 0 : _node_props1.onAction, onAction ? ()=>onAction(node.key) : undefined) : undefined,\n focus: focus,\n linkBehavior: linkBehavior\n });\n let onKeyDown = (e)=>{\n if (!e.currentTarget.contains(e.target) || !ref.current || !document.activeElement) return;\n let walker = (0, $lxFUG$getFocusableTreeWalker)(ref.current);\n walker.currentNode = document.activeElement;\n if ('expandedKeys' in state && document.activeElement === ref.current) {\n if (e.key === $4e8b0456ef72939f$var$EXPANSION_KEYS['expand'][direction] && state.selectionManager.focusedKey === node.key && hasChildRows && !state.expandedKeys.has(node.key)) {\n state.toggleKey(node.key);\n e.stopPropagation();\n return;\n } else if (e.key === $4e8b0456ef72939f$var$EXPANSION_KEYS['collapse'][direction] && state.selectionManager.focusedKey === node.key && hasChildRows && state.expandedKeys.has(node.key)) {\n state.toggleKey(node.key);\n e.stopPropagation();\n return;\n }\n }\n switch(e.key){\n case 'ArrowLeft':\n if (keyboardNavigationBehavior === 'arrow') {\n // Find the next focusable element within the row.\n let focusable = direction === 'rtl' ? walker.nextNode() : walker.previousNode();\n if (focusable) {\n e.preventDefault();\n e.stopPropagation();\n (0, $lxFUG$focusSafely)(focusable);\n (0, $lxFUG$scrollIntoViewport)(focusable, {\n containingElement: (0, $lxFUG$getScrollParent)(ref.current)\n });\n } else {\n // If there is no next focusable child, then return focus back to the row\n e.preventDefault();\n e.stopPropagation();\n if (direction === 'rtl') {\n (0, $lxFUG$focusSafely)(ref.current);\n (0, $lxFUG$scrollIntoViewport)(ref.current, {\n containingElement: (0, $lxFUG$getScrollParent)(ref.current)\n });\n } else {\n walker.currentNode = ref.current;\n let lastElement = $4e8b0456ef72939f$var$last(walker);\n if (lastElement) {\n (0, $lxFUG$focusSafely)(lastElement);\n (0, $lxFUG$scrollIntoViewport)(lastElement, {\n containingElement: (0, $lxFUG$getScrollParent)(ref.current)\n });\n }\n }\n }\n }\n break;\n case 'ArrowRight':\n if (keyboardNavigationBehavior === 'arrow') {\n let focusable = direction === 'rtl' ? walker.previousNode() : walker.nextNode();\n if (focusable) {\n e.preventDefault();\n e.stopPropagation();\n (0, $lxFUG$focusSafely)(focusable);\n (0, $lxFUG$scrollIntoViewport)(focusable, {\n containingElement: (0, $lxFUG$getScrollParent)(ref.current)\n });\n } else {\n e.preventDefault();\n e.stopPropagation();\n if (direction === 'ltr') {\n (0, $lxFUG$focusSafely)(ref.current);\n (0, $lxFUG$scrollIntoViewport)(ref.current, {\n containingElement: (0, $lxFUG$getScrollParent)(ref.current)\n });\n } else {\n walker.currentNode = ref.current;\n let lastElement = $4e8b0456ef72939f$var$last(walker);\n if (lastElement) {\n (0, $lxFUG$focusSafely)(lastElement);\n (0, $lxFUG$scrollIntoViewport)(lastElement, {\n containingElement: (0, $lxFUG$getScrollParent)(ref.current)\n });\n }\n }\n }\n }\n break;\n case 'ArrowUp':\n case 'ArrowDown':\n // Prevent this event from reaching row children, e.g. menu buttons. We want arrow keys to navigate\n // to the row above/below instead. We need to re-dispatch the event from a higher parent so it still\n // bubbles and gets handled by useSelectableCollection.\n if (!e.altKey && ref.current.contains(e.target)) {\n var _ref_current_parentElement;\n e.stopPropagation();\n e.preventDefault();\n (_ref_current_parentElement = ref.current.parentElement) === null || _ref_current_parentElement === void 0 ? void 0 : _ref_current_parentElement.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));\n }\n break;\n case 'Tab':\n if (keyboardNavigationBehavior === 'tab') {\n // If there is another focusable element within this item, stop propagation so the tab key\n // is handled by the browser and not by useSelectableCollection (which would take us out of the list).\n let walker = (0, $lxFUG$getFocusableTreeWalker)(ref.current, {\n tabbable: true\n });\n walker.currentNode = document.activeElement;\n let next = e.shiftKey ? walker.previousNode() : walker.nextNode();\n if (next) e.stopPropagation();\n }\n }\n };\n let onFocus = (e)=>{\n keyWhenFocused.current = node.key;\n if (e.target !== ref.current) {\n // useSelectableItem only handles setting the focused key when\n // the focused element is the row itself. We also want to\n // set the focused key when a child element receives focus.\n // If focus is currently visible (e.g. the user is navigating with the keyboard),\n // then skip this. We want to restore focus to the previously focused row\n // in that case since the list should act like a single tab stop.\n if (!(0, $lxFUG$isFocusVisible)()) state.selectionManager.setFocusedKey(node.key);\n return;\n }\n };\n let syntheticLinkProps = (0, $lxFUG$useSyntheticLinkProps)(node.props);\n let linkProps = itemStates.hasAction ? syntheticLinkProps : {};\n // TODO: re-add when we get translations and fix this for iOS VO\n // let rowAnnouncement;\n // if (onAction) {\n // rowAnnouncement = stringFormatter.format('hasActionAnnouncement');\n // } else if (hasLink) {\n // rowAnnouncement = stringFormatter.format('hasLinkAnnouncement', {\n // link: node.props.href\n // });\n // }\n let rowProps = (0, $lxFUG$mergeProps)(itemProps, linkProps, {\n role: 'row',\n onKeyDownCapture: onKeyDown,\n onFocus: onFocus,\n // 'aria-label': [(node.textValue || undefined), rowAnnouncement].filter(Boolean).join(', '),\n 'aria-label': node.textValue || undefined,\n 'aria-selected': state.selectionManager.canSelectItem(node.key) ? state.selectionManager.isSelected(node.key) : undefined,\n 'aria-disabled': state.selectionManager.isDisabled(node.key) || undefined,\n 'aria-labelledby': descriptionId && node.textValue ? `${(0, $ce9b18daab526bbd$export$f45c25170b9a99c2)(state, node.key)} ${descriptionId}` : undefined,\n id: (0, $ce9b18daab526bbd$export$f45c25170b9a99c2)(state, node.key)\n });\n if (isVirtualized) rowProps['aria-rowindex'] = node.index + 1;\n let gridCellProps = {\n role: 'gridcell',\n 'aria-colindex': 1\n };\n // TODO: should isExpanded and hasChildRows be a item state that gets returned by the hook?\n return {\n rowProps: {\n ...(0, $lxFUG$mergeProps)(rowProps, treeGridRowProps)\n },\n gridCellProps: gridCellProps,\n descriptionProps: {\n id: descriptionId\n },\n ...itemStates\n };\n}\nfunction $4e8b0456ef72939f$var$last(walker) {\n let next = null;\n let last = null;\n do {\n last = walker.lastChild();\n if (last) next = last;\n }while (last);\n return next;\n}\n\n\nexport {$4e8b0456ef72939f$export$9610e69494fadfd2 as useGridListItem};\n//# sourceMappingURL=useGridListItem.module.js.map\n","import {filterDOMProps as $2xLm1$filterDOMProps, clamp as $2xLm1$clamp, mergeProps as $2xLm1$mergeProps} from \"@react-aria/utils\";\nimport {useLabel as $2xLm1$useLabel} from \"@react-aria/label\";\nimport {useNumberFormatter as $2xLm1$useNumberFormatter} from \"@react-aria/i18n\";\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\nfunction $204d9ebcedfb8806$export$ed5abd763a836edc(props) {\n let { value: value = 0, minValue: minValue = 0, maxValue: maxValue = 100, valueLabel: valueLabel, isIndeterminate: isIndeterminate, formatOptions: formatOptions = {\n style: 'percent'\n } } = props;\n let domProps = (0, $2xLm1$filterDOMProps)(props, {\n labelable: true\n });\n let { labelProps: labelProps, fieldProps: fieldProps } = (0, $2xLm1$useLabel)({\n ...props,\n // Progress bar is not an HTML input element so it\n // shouldn't be labeled by a <label> element.\n labelElementType: 'span'\n });\n value = (0, $2xLm1$clamp)(value, minValue, maxValue);\n let percentage = (value - minValue) / (maxValue - minValue);\n let formatter = (0, $2xLm1$useNumberFormatter)(formatOptions);\n if (!isIndeterminate && !valueLabel) {\n let valueToFormat = formatOptions.style === 'percent' ? percentage : value;\n valueLabel = formatter.format(valueToFormat);\n }\n return {\n progressBarProps: (0, $2xLm1$mergeProps)(domProps, {\n ...fieldProps,\n 'aria-valuenow': isIndeterminate ? undefined : value,\n 'aria-valuemin': minValue,\n 'aria-valuemax': maxValue,\n 'aria-valuetext': isIndeterminate ? undefined : valueLabel,\n role: 'progressbar'\n }),\n labelProps: labelProps\n };\n}\n\n\nexport {$204d9ebcedfb8806$export$ed5abd763a836edc as useProgressBar};\n//# sourceMappingURL=useProgressBar.module.js.map\n","import {filterDOMProps as $aUnai$filterDOMProps, mergeProps as $aUnai$mergeProps, useId as $aUnai$useId, chain as $aUnai$chain} from \"@react-aria/utils\";\nimport {useMemo as $aUnai$useMemo} from \"react\";\nimport {ListKeyboardDelegate as $aUnai$ListKeyboardDelegate, useTypeSelect as $aUnai$useTypeSelect} from \"@react-aria/selection\";\nimport {setInteractionModality as $aUnai$setInteractionModality} from \"@react-aria/interactions\";\nimport {useCollator as $aUnai$useCollator} from \"@react-aria/i18n\";\nimport {useField as $aUnai$useField} from \"@react-aria/label\";\nimport {useMenuTrigger as $aUnai$useMenuTrigger} from \"@react-aria/menu\";\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\nconst $58aed456727eb0f3$export$703601b7e90536f8 = new WeakMap();\nfunction $58aed456727eb0f3$export$e64b2f635402ca43(props, state, ref) {\n let { keyboardDelegate: keyboardDelegate, isDisabled: isDisabled, isRequired: isRequired, name: name, validationBehavior: validationBehavior = 'aria' } = props;\n // By default, a KeyboardDelegate is provided which uses the DOM to query layout information (e.g. for page up/page down).\n // When virtualized, the layout object will be passed in as a prop and override this.\n let collator = (0, $aUnai$useCollator)({\n usage: 'search',\n sensitivity: 'base'\n });\n let delegate = (0, $aUnai$useMemo)(()=>keyboardDelegate || new (0, $aUnai$ListKeyboardDelegate)(state.collection, state.disabledKeys, ref, collator), [\n keyboardDelegate,\n state.collection,\n state.disabledKeys,\n collator\n ]);\n let { menuTriggerProps: menuTriggerProps, menuProps: menuProps } = (0, $aUnai$useMenuTrigger)({\n isDisabled: isDisabled,\n type: 'listbox'\n }, state, ref);\n let onKeyDown = (e)=>{\n switch(e.key){\n case 'ArrowLeft':\n {\n var _delegate_getKeyAbove, _delegate_getFirstKey;\n // prevent scrolling containers\n e.preventDefault();\n let key = state.selectedKey != null ? (_delegate_getKeyAbove = delegate.getKeyAbove) === null || _delegate_getKeyAbove === void 0 ? void 0 : _delegate_getKeyAbove.call(delegate, state.selectedKey) : (_delegate_getFirstKey = delegate.getFirstKey) === null || _delegate_getFirstKey === void 0 ? void 0 : _delegate_getFirstKey.call(delegate);\n if (key) state.setSelectedKey(key);\n break;\n }\n case 'ArrowRight':\n {\n var _delegate_getKeyBelow, _delegate_getFirstKey1;\n // prevent scrolling containers\n e.preventDefault();\n let key = state.selectedKey != null ? (_delegate_getKeyBelow = delegate.getKeyBelow) === null || _delegate_getKeyBelow === void 0 ? void 0 : _delegate_getKeyBelow.call(delegate, state.selectedKey) : (_delegate_getFirstKey1 = delegate.getFirstKey) === null || _delegate_getFirstKey1 === void 0 ? void 0 : _delegate_getFirstKey1.call(delegate);\n if (key) state.setSelectedKey(key);\n break;\n }\n }\n };\n let { typeSelectProps: typeSelectProps } = (0, $aUnai$useTypeSelect)({\n keyboardDelegate: delegate,\n selectionManager: state.selectionManager,\n onTypeSelect (key) {\n state.setSelectedKey(key);\n }\n });\n let { isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = state.displayValidation;\n let { labelProps: labelProps, fieldProps: fieldProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps } = (0, $aUnai$useField)({\n ...props,\n labelElementType: 'span',\n isInvalid: isInvalid,\n errorMessage: props.errorMessage || validationErrors\n });\n typeSelectProps.onKeyDown = typeSelectProps.onKeyDownCapture;\n delete typeSelectProps.onKeyDownCapture;\n let domProps = (0, $aUnai$filterDOMProps)(props, {\n labelable: true\n });\n let triggerProps = (0, $aUnai$mergeProps)(typeSelectProps, menuTriggerProps, fieldProps);\n let valueId = (0, $aUnai$useId)();\n $58aed456727eb0f3$export$703601b7e90536f8.set(state, {\n isDisabled: isDisabled,\n isRequired: isRequired,\n name: name,\n validationBehavior: validationBehavior\n });\n return {\n labelProps: {\n ...labelProps,\n onClick: ()=>{\n if (!props.isDisabled) {\n var _ref_current;\n (_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.focus();\n // Show the focus ring so the user knows where focus went\n (0, $aUnai$setInteractionModality)('keyboard');\n }\n }\n },\n triggerProps: (0, $aUnai$mergeProps)(domProps, {\n ...triggerProps,\n isDisabled: isDisabled,\n onKeyDown: (0, $aUnai$chain)(triggerProps.onKeyDown, onKeyDown, props.onKeyDown),\n onKeyUp: props.onKeyUp,\n 'aria-labelledby': [\n valueId,\n triggerProps['aria-labelledby'],\n triggerProps['aria-label'] && !triggerProps['aria-labelledby'] ? triggerProps.id : null\n ].filter(Boolean).join(' '),\n onFocus (e) {\n if (state.isFocused) return;\n if (props.onFocus) props.onFocus(e);\n if (props.onFocusChange) props.onFocusChange(true);\n state.setFocused(true);\n },\n onBlur (e) {\n if (state.isOpen) return;\n if (props.onBlur) props.onBlur(e);\n if (props.onFocusChange) props.onFocusChange(false);\n state.setFocused(false);\n }\n }),\n valueProps: {\n id: valueId\n },\n menuProps: {\n ...menuProps,\n autoFocus: state.focusStrategy || true,\n shouldSelectOnPressUp: true,\n shouldFocusOnHover: true,\n disallowEmptySelection: true,\n linkBehavior: 'selection',\n onBlur: (e)=>{\n if (e.currentTarget.contains(e.relatedTarget)) return;\n if (props.onBlur) props.onBlur(e);\n if (props.onFocusChange) props.onFocusChange(false);\n state.setFocused(false);\n },\n 'aria-labelledby': [\n fieldProps['aria-labelledby'],\n triggerProps['aria-label'] && !fieldProps['aria-labelledby'] ? triggerProps.id : null\n ].filter(Boolean).join(' ')\n },\n descriptionProps: descriptionProps,\n errorMessageProps: errorMessageProps,\n isInvalid: isInvalid,\n validationErrors: validationErrors,\n validationDetails: validationDetails\n };\n}\n\n\nexport {$58aed456727eb0f3$export$703601b7e90536f8 as selectData, $58aed456727eb0f3$export$e64b2f635402ca43 as useSelect};\n//# sourceMappingURL=useSelect.module.js.map\n","import {selectData as $58aed456727eb0f3$export$703601b7e90536f8} from \"./useSelect.mjs\";\nimport $8BE50$react, {useRef as $8BE50$useRef} from \"react\";\nimport {useFormReset as $8BE50$useFormReset} from \"@react-aria/utils\";\nimport {useFormValidation as $8BE50$useFormValidation} from \"@react-aria/form\";\nimport {useVisuallyHidden as $8BE50$useVisuallyHidden} from \"@react-aria/visually-hidden\";\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 $bdd25dc72710631f$export$f809e80f58e251d1(props, state, triggerRef) {\n let data = (0, $58aed456727eb0f3$export$703601b7e90536f8).get(state) || {};\n let { autoComplete: autoComplete, name: name = data.name, isDisabled: isDisabled = data.isDisabled } = props;\n let { validationBehavior: validationBehavior, isRequired: isRequired } = data;\n let { visuallyHiddenProps: visuallyHiddenProps } = (0, $8BE50$useVisuallyHidden)();\n (0, $8BE50$useFormReset)(props.selectRef, state.selectedKey, state.setSelectedKey);\n (0, $8BE50$useFormValidation)({\n validationBehavior: validationBehavior,\n focus: ()=>{\n var _triggerRef_current;\n return (_triggerRef_current = triggerRef.current) === null || _triggerRef_current === void 0 ? void 0 : _triggerRef_current.focus();\n }\n }, state, props.selectRef);\n var _state_selectedKey;\n // In Safari, the <select> cannot have `display: none` or `hidden` for autofill to work.\n // In Firefox, there must be a <label> to identify the <select> whereas other browsers\n // seem to identify it just by surrounding text.\n // The solution is to use <VisuallyHidden> to hide the elements, which clips the elements to a\n // 1px rectangle. In addition, we hide from screen readers with aria-hidden, and make the <select>\n // non tabbable with tabIndex={-1}.\n return {\n containerProps: {\n ...visuallyHiddenProps,\n 'aria-hidden': true,\n // @ts-ignore\n ['data-react-aria-prevent-focus']: true,\n // @ts-ignore\n ['data-a11y-ignore']: 'aria-hidden-focus'\n },\n inputProps: {\n style: {\n display: 'none'\n }\n },\n selectProps: {\n tabIndex: -1,\n autoComplete: autoComplete,\n disabled: isDisabled,\n required: validationBehavior === 'native' && isRequired,\n name: name,\n value: (_state_selectedKey = state.selectedKey) !== null && _state_selectedKey !== void 0 ? _state_selectedKey : '',\n onChange: (e)=>state.setSelectedKey(e.target.value)\n }\n };\n}\nfunction $bdd25dc72710631f$export$cbd84cdb2e668835(props) {\n let { state: state, triggerRef: triggerRef, label: label, name: name, isDisabled: isDisabled } = props;\n let selectRef = (0, $8BE50$useRef)(null);\n let { containerProps: containerProps, selectProps: selectProps } = $bdd25dc72710631f$export$f809e80f58e251d1({\n ...props,\n selectRef: selectRef\n }, state, triggerRef);\n var _state_selectedKey;\n // If used in a <form>, use a hidden input so the value can be submitted to a server.\n // If the collection isn't too big, use a hidden <select> element for this so that browser\n // autofill will work. Otherwise, use an <input type=\"hidden\">.\n if (state.collection.size <= 300) return /*#__PURE__*/ (0, $8BE50$react).createElement(\"div\", {\n ...containerProps,\n \"data-testid\": \"hidden-select-container\"\n }, /*#__PURE__*/ (0, $8BE50$react).createElement(\"label\", null, label, /*#__PURE__*/ (0, $8BE50$react).createElement(\"select\", {\n ...selectProps,\n ref: selectRef\n }, /*#__PURE__*/ (0, $8BE50$react).createElement(\"option\", null), [\n ...state.collection.getKeys()\n ].map((key)=>{\n let item = state.collection.getItem(key);\n if (item && item.type === 'item') return /*#__PURE__*/ (0, $8BE50$react).createElement(\"option\", {\n key: item.key,\n value: item.key\n }, item.textValue);\n }))));\n else if (name) return /*#__PURE__*/ (0, $8BE50$react).createElement(\"input\", {\n type: \"hidden\",\n autoComplete: selectProps.autoComplete,\n name: name,\n disabled: isDisabled,\n value: (_state_selectedKey = state.selectedKey) !== null && _state_selectedKey !== void 0 ? _state_selectedKey : ''\n });\n return null;\n}\n\n\nexport {$bdd25dc72710631f$export$f809e80f58e251d1 as useHiddenSelect, $bdd25dc72710631f$export$cbd84cdb2e668835 as HiddenSelect};\n//# sourceMappingURL=HiddenSelect.module.js.map\n","import {filterDOMProps as $eUtJD$filterDOMProps, mergeProps as $eUtJD$mergeProps} from \"@react-aria/utils\";\nimport {ListKeyboardDelegate as $eUtJD$ListKeyboardDelegate} from \"@react-aria/selection\";\nimport {useState as $eUtJD$useState, useRef as $eUtJD$useRef, useEffect as $eUtJD$useEffect} from \"react\";\nimport {useField as $eUtJD$useField} from \"@react-aria/label\";\nimport {useFocusWithin as $eUtJD$useFocusWithin} from \"@react-aria/interactions\";\nimport {useGridList as $eUtJD$useGridList} from \"@react-aria/gridlist\";\nimport {useLocale as $eUtJD$useLocale} from \"@react-aria/i18n\";\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\nconst $d7323bca8d074eeb$export$653eddfc964b0f8a = new WeakMap();\nfunction $d7323bca8d074eeb$export$4f8b5cda58b7e8ff(props, state, ref) {\n let { direction: direction } = (0, $eUtJD$useLocale)();\n let keyboardDelegate = props.keyboardDelegate || new (0, $eUtJD$ListKeyboardDelegate)({\n collection: state.collection,\n ref: ref,\n orientation: 'horizontal',\n direction: direction,\n disabledKeys: state.disabledKeys,\n disabledBehavior: state.selectionManager.disabledBehavior\n });\n let { labelProps: labelProps, fieldProps: fieldProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps } = (0, $eUtJD$useField)({\n ...props,\n labelElementType: 'span'\n });\n let { gridProps: gridProps } = (0, $eUtJD$useGridList)({\n ...props,\n ...fieldProps,\n keyboardDelegate: keyboardDelegate,\n shouldFocusWrap: true,\n linkBehavior: 'override'\n }, state, ref);\n let [isFocusWithin, setFocusWithin] = (0, $eUtJD$useState)(false);\n let { focusWithinProps: focusWithinProps } = (0, $eUtJD$useFocusWithin)({\n onFocusWithinChange: setFocusWithin\n });\n let domProps = (0, $eUtJD$filterDOMProps)(props);\n // If the last tag is removed, focus the container.\n let prevCount = (0, $eUtJD$useRef)(state.collection.size);\n (0, $eUtJD$useEffect)(()=>{\n if (ref.current && prevCount.current > 0 && state.collection.size === 0 && isFocusWithin) ref.current.focus();\n prevCount.current = state.collection.size;\n }, [\n state.collection.size,\n isFocusWithin,\n ref\n ]);\n $d7323bca8d074eeb$export$653eddfc964b0f8a.set(state, {\n onRemove: props.onRemove\n });\n return {\n gridProps: (0, $eUtJD$mergeProps)(gridProps, domProps, {\n role: state.collection.size ? 'grid' : null,\n 'aria-atomic': false,\n 'aria-relevant': 'additions',\n 'aria-live': isFocusWithin ? 'polite' : 'off',\n ...focusWithinProps,\n ...fieldProps\n }),\n labelProps: labelProps,\n descriptionProps: descriptionProps,\n errorMessageProps: errorMessageProps\n };\n}\n\n\nexport {$d7323bca8d074eeb$export$653eddfc964b0f8a as hookData, $d7323bca8d074eeb$export$4f8b5cda58b7e8ff as useTagGroup};\n//# sourceMappingURL=useTagGroup.module.js.map\n","var $84925f526f90eebd$exports = {};\n$84925f526f90eebd$exports = {\n \"removeButtonLabel\": `\\u{625}\\u{632}\\u{627}\\u{644}\\u{629}`,\n \"removeDescription\": `\\u{627}\\u{636}\\u{63A}\\u{637} \\u{639}\\u{644}\\u{649} \\u{645}\\u{641}\\u{62A}\\u{627}\\u{62D} DELETE \\u{644}\\u{625}\\u{632}\\u{627}\\u{644}\\u{629} \\u{639}\\u{644}\\u{627}\\u{645}\\u{629}.`\n};\n\n\nexport {$84925f526f90eebd$exports as default};\n//# sourceMappingURL=ar-AE.module.js.map\n","var $c0650163dc1b6f9d$exports = {};\n$c0650163dc1b6f9d$exports = {\n \"removeButtonLabel\": `\\u{41F}\\u{440}\\u{435}\\u{43C}\\u{430}\\u{445}\\u{432}\\u{430}\\u{43D}\\u{435}`,\n \"removeDescription\": `\\u{41D}\\u{430}\\u{442}\\u{438}\\u{441}\\u{43D}\\u{435}\\u{442}\\u{435} Delete, \\u{437}\\u{430} \\u{434}\\u{430} \\u{43F}\\u{440}\\u{435}\\u{43C}\\u{430}\\u{445}\\u{43D}\\u{435}\\u{442}\\u{435} \\u{43C}\\u{430}\\u{440}\\u{43A}\\u{435}\\u{440}\\u{430}.`\n};\n\n\nexport {$c0650163dc1b6f9d$exports as default};\n//# sourceMappingURL=bg-BG.module.js.map\n","var $b2b55661291de587$exports = {};\n$b2b55661291de587$exports = {\n \"removeButtonLabel\": `Odebrat`,\n \"removeDescription\": `Stisknut\\xedm kl\\xe1vesy Delete odeberete zna\\u{10D}ku.`\n};\n\n\nexport {$b2b55661291de587$exports as default};\n//# sourceMappingURL=cs-CZ.module.js.map\n","var $deb83970956f6d5b$exports = {};\n$deb83970956f6d5b$exports = {\n \"removeButtonLabel\": `Fjern`,\n \"removeDescription\": `Tryk p\\xe5 Slet for at fjerne tag.`\n};\n\n\nexport {$deb83970956f6d5b$exports as default};\n//# sourceMappingURL=da-DK.module.js.map\n","var $aea1cb4c7ec97e1c$exports = {};\n$aea1cb4c7ec97e1c$exports = {\n \"removeButtonLabel\": `Entfernen`,\n \"removeDescription\": `Auf \\u{201E}L\\xf6schen\\u{201C} dr\\xfccken, um das Tag zu entfernen.`\n};\n\n\nexport {$aea1cb4c7ec97e1c$exports as default};\n//# sourceMappingURL=de-DE.module.js.map\n","var $3618d917e503a8d3$exports = {};\n$3618d917e503a8d3$exports = {\n \"removeButtonLabel\": `\\u{39A}\\u{3B1}\\u{3C4}\\u{3AC}\\u{3C1}\\u{3B3}\\u{3B7}\\u{3C3}\\u{3B7}`,\n \"removeDescription\": `\\u{3A0}\\u{3B1}\\u{3C4}\\u{3AE}\\u{3C3}\\u{3C4}\\u{3B5} \\u{394}\\u{3B9}\\u{3B1}\\u{3B3}\\u{3C1}\\u{3B1}\\u{3C6}\\u{3AE} \\u{3B3}\\u{3B9}\\u{3B1} \\u{3BD}\\u{3B1} \\u{3BA}\\u{3B1}\\u{3C4}\\u{3B1}\\u{3C1}\\u{3B3}\\u{3AE}\\u{3C3}\\u{3B5}\\u{3C4}\\u{3B5} \\u{3C4}\\u{3B7}\\u{3BD} \\u{3B5}\\u{3C4}\\u{3B9}\\u{3BA}\\u{3AD}\\u{3C4}\\u{3B1}.`\n};\n\n\nexport {$3618d917e503a8d3$exports as default};\n//# sourceMappingURL=el-GR.module.js.map\n","var $9eb56bbbe8e31294$exports = {};\n$9eb56bbbe8e31294$exports = {\n \"removeDescription\": `Press Delete to remove tag.`,\n \"removeButtonLabel\": `Remove`\n};\n\n\nexport {$9eb56bbbe8e31294$exports as default};\n//# sourceMappingURL=en-US.module.js.map\n","var $361c604b0fc269a3$exports = {};\n$361c604b0fc269a3$exports = {\n \"removeButtonLabel\": `Quitar`,\n \"removeDescription\": `Pulse Eliminar para quitar la etiqueta.`\n};\n\n\nexport {$361c604b0fc269a3$exports as default};\n//# sourceMappingURL=es-ES.module.js.map\n","var $2f00170f4ee3ca01$exports = {};\n$2f00170f4ee3ca01$exports = {\n \"removeButtonLabel\": `Eemalda`,\n \"removeDescription\": `Sildi eemaldamiseks vajutage kustutusklahvi Delete.`\n};\n\n\nexport {$2f00170f4ee3ca01$exports as default};\n//# sourceMappingURL=et-EE.module.js.map\n","var $80ee16b64fab9fb5$exports = {};\n$80ee16b64fab9fb5$exports = {\n \"removeButtonLabel\": `Poista`,\n \"removeDescription\": `Poista tunniste painamalla Poista-painiketta.`\n};\n\n\nexport {$80ee16b64fab9fb5$exports as default};\n//# sourceMappingURL=fi-FI.module.js.map\n","var $be9d354476c08087$exports = {};\n$be9d354476c08087$exports = {\n \"removeButtonLabel\": `Supprimer`,\n \"removeDescription\": `Appuyez sur Supprimer pour supprimer l\\u{2019}\\xe9tiquette.`\n};\n\n\nexport {$be9d354476c08087$exports as default};\n//# sourceMappingURL=fr-FR.module.js.map\n","var $ffeb903ba092eb35$exports = {};\n$ffeb903ba092eb35$exports = {\n \"removeButtonLabel\": `\\u{5D4}\\u{5E1}\\u{5E8}`,\n \"removeDescription\": `\\u{5DC}\\u{5D7}\\u{5E5} \\u{5E2}\\u{5DC} \\u{5DE}\\u{5D7}\\u{5E7} \\u{5DB}\\u{5D3}\\u{5D9} \\u{5DC}\\u{5D4}\\u{5E1}\\u{5D9}\\u{5E8} \\u{5EA}\\u{5D2}.`\n};\n\n\nexport {$ffeb903ba092eb35$exports as default};\n//# sourceMappingURL=he-IL.module.js.map\n","var $1df6722c6f19728b$exports = {};\n$1df6722c6f19728b$exports = {\n \"removeButtonLabel\": `Ukloni`,\n \"removeDescription\": `Pritisnite Delete za uklanjanje oznake.`\n};\n\n\nexport {$1df6722c6f19728b$exports as default};\n//# sourceMappingURL=hr-HR.module.js.map\n","var $093d57e325bc9071$exports = {};\n$093d57e325bc9071$exports = {\n \"removeButtonLabel\": `Elt\\xe1vol\\xedt\\xe1s`,\n \"removeDescription\": `Nyomja meg a Delete billenty\\u{171}t a c\\xedmke elt\\xe1vol\\xedt\\xe1s\\xe1hoz.`\n};\n\n\nexport {$093d57e325bc9071$exports as default};\n//# sourceMappingURL=hu-HU.module.js.map\n","var $609dbdfbcad85bdb$exports = {};\n$609dbdfbcad85bdb$exports = {\n \"removeButtonLabel\": `Rimuovi`,\n \"removeDescription\": `Premi Elimina per rimuovere il tag.`\n};\n\n\nexport {$609dbdfbcad85bdb$exports as default};\n//# sourceMappingURL=it-IT.module.js.map\n","var $c08e84f882644048$exports = {};\n$c08e84f882644048$exports = {\n \"removeButtonLabel\": `\\u{524A}\\u{9664}`,\n \"removeDescription\": `\\u{30BF}\\u{30B0}\\u{3092}\\u{524A}\\u{9664}\\u{3059}\\u{308B}\\u{306B}\\u{306F}\\u{3001}Delete \\u{30AD}\\u{30FC}\\u{3092}\\u{62BC}\\u{3057}\\u{307E}\\u{3059}\\u{3002}`\n};\n\n\nexport {$c08e84f882644048$exports as default};\n//# sourceMappingURL=ja-JP.module.js.map\n","var $5cd130489822fa21$exports = {};\n$5cd130489822fa21$exports = {\n \"removeButtonLabel\": `\\u{C81C}\\u{AC70}`,\n \"removeDescription\": `\\u{D0DC}\\u{ADF8}\\u{B97C} \\u{C81C}\\u{AC70}\\u{D558}\\u{B824}\\u{BA74} Delete \\u{D0A4}\\u{B97C} \\u{B204}\\u{B974}\\u{C2ED}\\u{C2DC}\\u{C624}.`\n};\n\n\nexport {$5cd130489822fa21$exports as default};\n//# sourceMappingURL=ko-KR.module.js.map\n","var $ab5183739b6c5e7e$exports = {};\n$ab5183739b6c5e7e$exports = {\n \"removeButtonLabel\": `Pa\\u{161}alinti`,\n \"removeDescription\": `Nor\\u{117}dami pa\\u{161}alinti \\u{17E}ym\\u{105}, paspauskite \\u{201E}Delete\\u{201C} klavi\\u{161}\\u{105}.`\n};\n\n\nexport {$ab5183739b6c5e7e$exports as default};\n//# sourceMappingURL=lt-LT.module.js.map\n","var $dd84a0b574be3f23$exports = {};\n$dd84a0b574be3f23$exports = {\n \"removeButtonLabel\": `No\\u{146}emt`,\n \"removeDescription\": `Nospiediet Delete [Dz\\u{113}st], lai no\\u{146}emtu tagu.`\n};\n\n\nexport {$dd84a0b574be3f23$exports as default};\n//# sourceMappingURL=lv-LV.module.js.map\n","var $85eee97d14eef7b5$exports = {};\n$85eee97d14eef7b5$exports = {\n \"removeButtonLabel\": `Fjern`,\n \"removeDescription\": `Trykk p\\xe5 Slett for \\xe5 fjerne taggen.`\n};\n\n\nexport {$85eee97d14eef7b5$exports as default};\n//# sourceMappingURL=nb-NO.module.js.map\n","var $18781839f93b0314$exports = {};\n$18781839f93b0314$exports = {\n \"removeButtonLabel\": `Verwijderen`,\n \"removeDescription\": `Druk op Verwijderen om de tag te verwijderen.`\n};\n\n\nexport {$18781839f93b0314$exports as default};\n//# sourceMappingURL=nl-NL.module.js.map\n","var $1c40ffbbfe9f3bda$exports = {};\n$1c40ffbbfe9f3bda$exports = {\n \"removeButtonLabel\": `Usu\\u{144}`,\n \"removeDescription\": `Naci\\u{15B}nij Usu\\u{144}, aby usun\\u{105}\\u{107} znacznik.`\n};\n\n\nexport {$1c40ffbbfe9f3bda$exports as default};\n//# sourceMappingURL=pl-PL.module.js.map\n","var $156880e329b1c717$exports = {};\n$156880e329b1c717$exports = {\n \"removeButtonLabel\": `Remover`,\n \"removeDescription\": `Pressione Delete para remover a tag.`\n};\n\n\nexport {$156880e329b1c717$exports as default};\n//# sourceMappingURL=pt-BR.module.js.map\n","var $b6d50b1d20768ce4$exports = {};\n$b6d50b1d20768ce4$exports = {\n \"removeButtonLabel\": `Eliminar`,\n \"removeDescription\": `Prima Delete para eliminar a tag.`\n};\n\n\nexport {$b6d50b1d20768ce4$exports as default};\n//# sourceMappingURL=pt-PT.module.js.map\n","var $d8c38c691b006187$exports = {};\n$d8c38c691b006187$exports = {\n \"removeButtonLabel\": `\\xcendep\\u{103}rta\\u{163}i`,\n \"removeDescription\": `Ap\\u{103}sa\\u{21B}i pe Delete (\\u{218}tergere) pentru a elimina eticheta.`\n};\n\n\nexport {$d8c38c691b006187$exports as default};\n//# sourceMappingURL=ro-RO.module.js.map\n","var $ed9b4bf7ce1fb1d7$exports = {};\n$ed9b4bf7ce1fb1d7$exports = {\n \"removeButtonLabel\": `\\u{423}\\u{434}\\u{430}\\u{43B}\\u{438}\\u{442}\\u{44C}`,\n \"removeDescription\": `\\u{41D}\\u{430}\\u{436}\\u{43C}\\u{438}\\u{442}\\u{435} DELETE, \\u{447}\\u{442}\\u{43E}\\u{431}\\u{44B} \\u{443}\\u{434}\\u{430}\\u{43B}\\u{438}\\u{442}\\u{44C} \\u{442}\\u{435}\\u{433}.`\n};\n\n\nexport {$ed9b4bf7ce1fb1d7$exports as default};\n//# sourceMappingURL=ru-RU.module.js.map\n","var $51d8721afda4d678$exports = {};\n$51d8721afda4d678$exports = {\n \"removeButtonLabel\": `Odstr\\xe1ni\\u{165}`,\n \"removeDescription\": `Ak chcete odstr\\xe1ni\\u{165} zna\\u{10D}ku, stla\\u{10D}te kl\\xe1ves Delete.`\n};\n\n\nexport {$51d8721afda4d678$exports as default};\n//# sourceMappingURL=sk-SK.module.js.map\n","var $fd37a27baae493e8$exports = {};\n$fd37a27baae493e8$exports = {\n \"removeButtonLabel\": `Odstrani`,\n \"removeDescription\": `Pritisnite Delete, da odstranite oznako.`\n};\n\n\nexport {$fd37a27baae493e8$exports as default};\n//# sourceMappingURL=sl-SI.module.js.map\n","var $5505a1ca71ffd6f4$exports = {};\n$5505a1ca71ffd6f4$exports = {\n \"removeButtonLabel\": `Ukloni`,\n \"removeDescription\": `Pritisnite Obri\\u{161}i da biste uklonili oznaku.`\n};\n\n\nexport {$5505a1ca71ffd6f4$exports as default};\n//# sourceMappingURL=sr-SP.module.js.map\n","var $33670e148c84ad02$exports = {};\n$33670e148c84ad02$exports = {\n \"removeButtonLabel\": `Ta bort`,\n \"removeDescription\": `Tryck p\\xe5 Radera f\\xf6r att ta bort taggen.`\n};\n\n\nexport {$33670e148c84ad02$exports as default};\n//# sourceMappingURL=sv-SE.module.js.map\n","var $0bf46fdcdd7cb5f6$exports = {};\n$0bf46fdcdd7cb5f6$exports = {\n \"removeButtonLabel\": `Kald\\u{131}r`,\n \"removeDescription\": `Etiketi kald\\u{131}rmak i\\xe7in Sil tu\\u{15F}una bas\\u{131}n.`\n};\n\n\nexport {$0bf46fdcdd7cb5f6$exports as default};\n//# sourceMappingURL=tr-TR.module.js.map\n","var $9d9765222bc08ca2$exports = {};\n$9d9765222bc08ca2$exports = {\n \"removeButtonLabel\": `\\u{412}\\u{438}\\u{43B}\\u{443}\\u{447}\\u{438}\\u{442}\\u{438}`,\n \"removeDescription\": `\\u{41D}\\u{430}\\u{442}\\u{438}\\u{441}\\u{43D}\\u{456}\\u{442}\\u{44C} Delete, \\u{449}\\u{43E}\\u{431} \\u{432}\\u{438}\\u{43B}\\u{443}\\u{447}\\u{438}\\u{442}\\u{438} \\u{442}\\u{435}\\u{433}.`\n};\n\n\nexport {$9d9765222bc08ca2$exports as default};\n//# sourceMappingURL=uk-UA.module.js.map\n","var $d737296cedcdee9f$exports = {};\n$d737296cedcdee9f$exports = {\n \"removeButtonLabel\": `\\u{5220}\\u{9664}`,\n \"removeDescription\": `\\u{6309}\\u{4E0B}\\u{201C}\\u{5220}\\u{9664}\\u{201D}\\u{4EE5}\\u{5220}\\u{9664}\\u{6807}\\u{8BB0}\\u{3002}`\n};\n\n\nexport {$d737296cedcdee9f$exports as default};\n//# sourceMappingURL=zh-CN.module.js.map\n","var $09cd168ab18773f4$exports = {};\n$09cd168ab18773f4$exports = {\n \"removeButtonLabel\": `\\u{79FB}\\u{9664}`,\n \"removeDescription\": `\\u{6309} Delete \\u{9375}\\u{4EE5}\\u{79FB}\\u{9664}\\u{6A19}\\u{8A18}\\u{3002}`\n};\n\n\nexport {$09cd168ab18773f4$exports as default};\n//# sourceMappingURL=zh-TW.module.js.map\n","import $6FBua$arAEmodulejs from \"./ar-AE.mjs\";\nimport $6FBua$bgBGmodulejs from \"./bg-BG.mjs\";\nimport $6FBua$csCZmodulejs from \"./cs-CZ.mjs\";\nimport $6FBua$daDKmodulejs from \"./da-DK.mjs\";\nimport $6FBua$deDEmodulejs from \"./de-DE.mjs\";\nimport $6FBua$elGRmodulejs from \"./el-GR.mjs\";\nimport $6FBua$enUSmodulejs from \"./en-US.mjs\";\nimport $6FBua$esESmodulejs from \"./es-ES.mjs\";\nimport $6FBua$etEEmodulejs from \"./et-EE.mjs\";\nimport $6FBua$fiFImodulejs from \"./fi-FI.mjs\";\nimport $6FBua$frFRmodulejs from \"./fr-FR.mjs\";\nimport $6FBua$heILmodulejs from \"./he-IL.mjs\";\nimport $6FBua$hrHRmodulejs from \"./hr-HR.mjs\";\nimport $6FBua$huHUmodulejs from \"./hu-HU.mjs\";\nimport $6FBua$itITmodulejs from \"./it-IT.mjs\";\nimport $6FBua$jaJPmodulejs from \"./ja-JP.mjs\";\nimport $6FBua$koKRmodulejs from \"./ko-KR.mjs\";\nimport $6FBua$ltLTmodulejs from \"./lt-LT.mjs\";\nimport $6FBua$lvLVmodulejs from \"./lv-LV.mjs\";\nimport $6FBua$nbNOmodulejs from \"./nb-NO.mjs\";\nimport $6FBua$nlNLmodulejs from \"./nl-NL.mjs\";\nimport $6FBua$plPLmodulejs from \"./pl-PL.mjs\";\nimport $6FBua$ptBRmodulejs from \"./pt-BR.mjs\";\nimport $6FBua$ptPTmodulejs from \"./pt-PT.mjs\";\nimport $6FBua$roROmodulejs from \"./ro-RO.mjs\";\nimport $6FBua$ruRUmodulejs from \"./ru-RU.mjs\";\nimport $6FBua$skSKmodulejs from \"./sk-SK.mjs\";\nimport $6FBua$slSImodulejs from \"./sl-SI.mjs\";\nimport $6FBua$srSPmodulejs from \"./sr-SP.mjs\";\nimport $6FBua$svSEmodulejs from \"./sv-SE.mjs\";\nimport $6FBua$trTRmodulejs from \"./tr-TR.mjs\";\nimport $6FBua$ukUAmodulejs from \"./uk-UA.mjs\";\nimport $6FBua$zhCNmodulejs from \"./zh-CN.mjs\";\nimport $6FBua$zhTWmodulejs from \"./zh-TW.mjs\";\n\nvar $3bb15cc24d006ec5$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$3bb15cc24d006ec5$exports = {\n \"ar-AE\": $6FBua$arAEmodulejs,\n \"bg-BG\": $6FBua$bgBGmodulejs,\n \"cs-CZ\": $6FBua$csCZmodulejs,\n \"da-DK\": $6FBua$daDKmodulejs,\n \"de-DE\": $6FBua$deDEmodulejs,\n \"el-GR\": $6FBua$elGRmodulejs,\n \"en-US\": $6FBua$enUSmodulejs,\n \"es-ES\": $6FBua$esESmodulejs,\n \"et-EE\": $6FBua$etEEmodulejs,\n \"fi-FI\": $6FBua$fiFImodulejs,\n \"fr-FR\": $6FBua$frFRmodulejs,\n \"he-IL\": $6FBua$heILmodulejs,\n \"hr-HR\": $6FBua$hrHRmodulejs,\n \"hu-HU\": $6FBua$huHUmodulejs,\n \"it-IT\": $6FBua$itITmodulejs,\n \"ja-JP\": $6FBua$jaJPmodulejs,\n \"ko-KR\": $6FBua$koKRmodulejs,\n \"lt-LT\": $6FBua$ltLTmodulejs,\n \"lv-LV\": $6FBua$lvLVmodulejs,\n \"nb-NO\": $6FBua$nbNOmodulejs,\n \"nl-NL\": $6FBua$nlNLmodulejs,\n \"pl-PL\": $6FBua$plPLmodulejs,\n \"pt-BR\": $6FBua$ptBRmodulejs,\n \"pt-PT\": $6FBua$ptPTmodulejs,\n \"ro-RO\": $6FBua$roROmodulejs,\n \"ru-RU\": $6FBua$ruRUmodulejs,\n \"sk-SK\": $6FBua$skSKmodulejs,\n \"sl-SI\": $6FBua$slSImodulejs,\n \"sr-SP\": $6FBua$srSPmodulejs,\n \"sv-SE\": $6FBua$svSEmodulejs,\n \"tr-TR\": $6FBua$trTRmodulejs,\n \"uk-UA\": $6FBua$ukUAmodulejs,\n \"zh-CN\": $6FBua$zhCNmodulejs,\n \"zh-TW\": $6FBua$zhTWmodulejs\n};\n\n\nexport {$3bb15cc24d006ec5$exports as default};\n//# sourceMappingURL=intlStrings.module.js.map\n","import {hookData as $d7323bca8d074eeb$export$653eddfc964b0f8a} from \"./useTagGroup.mjs\";\nimport $ioKwR$intlStringsmodulejs from \"./intlStrings.mjs\";\nimport {useId as $ioKwR$useId, useDescription as $ioKwR$useDescription, filterDOMProps as $ioKwR$filterDOMProps, useSyntheticLinkProps as $ioKwR$useSyntheticLinkProps, mergeProps as $ioKwR$mergeProps} from \"@react-aria/utils\";\nimport {useGridListItem as $ioKwR$useGridListItem} from \"@react-aria/gridlist\";\nimport {useInteractionModality as $ioKwR$useInteractionModality} from \"@react-aria/interactions\";\nimport {useLocalizedStringFormatter as $ioKwR$useLocalizedStringFormatter} from \"@react-aria/i18n\";\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\nfunction $fc6126c82a4601f1$export$3f568fff7dff2f03(props, state, ref) {\n let { item: item } = props;\n let stringFormatter = (0, $ioKwR$useLocalizedStringFormatter)((0, ($parcel$interopDefault($ioKwR$intlStringsmodulejs))), '@react-aria/tag');\n let buttonId = (0, $ioKwR$useId)();\n let { onRemove: onRemove } = (0, $d7323bca8d074eeb$export$653eddfc964b0f8a).get(state) || {};\n let { rowProps: rowProps, gridCellProps: gridCellProps, ...states } = (0, $ioKwR$useGridListItem)({\n node: item\n }, state, ref);\n // We want the group to handle keyboard navigation between tags.\n delete rowProps.onKeyDownCapture;\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n let { descriptionProps: _, ...stateWithoutDescription } = states;\n let isDisabled = state.disabledKeys.has(item.key) || item.props.isDisabled;\n let onKeyDown = (e)=>{\n if (e.key === 'Delete' || e.key === 'Backspace') {\n if (isDisabled) return;\n e.preventDefault();\n if (state.selectionManager.isSelected(item.key)) onRemove === null || onRemove === void 0 ? void 0 : onRemove(new Set(state.selectionManager.selectedKeys));\n else onRemove === null || onRemove === void 0 ? void 0 : onRemove(new Set([\n item.key\n ]));\n }\n };\n let modality = (0, $ioKwR$useInteractionModality)();\n if (modality === 'virtual' && typeof window !== 'undefined' && 'ontouchstart' in window) modality = 'pointer';\n let description = onRemove && (modality === 'keyboard' || modality === 'virtual') ? stringFormatter.format('removeDescription') : '';\n let descProps = (0, $ioKwR$useDescription)(description);\n let isItemFocused = item.key === state.selectionManager.focusedKey;\n let isFocused = state.selectionManager.focusedKey != null;\n let tabIndex = -1;\n if (!isDisabled && (isItemFocused || !isFocused)) tabIndex = 0;\n let domProps = (0, $ioKwR$filterDOMProps)(item.props);\n let linkProps = (0, $ioKwR$useSyntheticLinkProps)(item.props);\n return {\n removeButtonProps: {\n 'aria-label': stringFormatter.format('removeButtonLabel'),\n 'aria-labelledby': `${buttonId} ${rowProps.id}`,\n isDisabled: isDisabled,\n id: buttonId,\n onPress: ()=>onRemove ? onRemove(new Set([\n item.key\n ])) : null,\n excludeFromTabOrder: true\n },\n rowProps: (0, $ioKwR$mergeProps)(rowProps, domProps, linkProps, {\n tabIndex: tabIndex,\n onKeyDown: onRemove ? onKeyDown : undefined,\n 'aria-describedby': descProps['aria-describedby']\n }),\n gridCellProps: (0, $ioKwR$mergeProps)(gridCellProps, {\n 'aria-errormessage': props['aria-errormessage'],\n 'aria-label': props['aria-label']\n }),\n ...stateWithoutDescription,\n allowsRemoving: !!onRemove\n };\n}\n\n\nexport {$fc6126c82a4601f1$export$3f568fff7dff2f03 as useTag};\n//# sourceMappingURL=useTag.module.js.map\n","import {filterDOMProps as $kwmr2$filterDOMProps, mergeProps as $kwmr2$mergeProps} from \"@react-aria/utils\";\nimport {useHover as $kwmr2$useHover} from \"@react-aria/interactions\";\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 $326e436e94273fe1$export$1c4b08e0eca38426(props, state) {\n let domProps = (0, $kwmr2$filterDOMProps)(props, {\n labelable: true\n });\n let { hoverProps: hoverProps } = (0, $kwmr2$useHover)({\n onHoverStart: ()=>state === null || state === void 0 ? void 0 : state.open(true),\n onHoverEnd: ()=>state === null || state === void 0 ? void 0 : state.close()\n });\n return {\n tooltipProps: (0, $kwmr2$mergeProps)(domProps, hoverProps, {\n role: 'tooltip'\n })\n };\n}\n\n\nexport {$326e436e94273fe1$export$1c4b08e0eca38426 as useTooltip};\n//# sourceMappingURL=useTooltip.module.js.map\n","import {getInteractionModality as $6VwSn$getInteractionModality, isFocusVisible as $6VwSn$isFocusVisible, useHover as $6VwSn$useHover} from \"@react-aria/interactions\";\nimport {useId as $6VwSn$useId, mergeProps as $6VwSn$mergeProps} from \"@react-aria/utils\";\nimport {useRef as $6VwSn$useRef, useEffect as $6VwSn$useEffect} from \"react\";\nimport {useFocusable as $6VwSn$useFocusable} from \"@react-aria/focus\";\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 $4e1b34546679e357$export$a6da6c504e4bba8b(props, state, ref) {\n let { isDisabled: isDisabled, trigger: trigger } = props;\n let tooltipId = (0, $6VwSn$useId)();\n let isHovered = (0, $6VwSn$useRef)(false);\n let isFocused = (0, $6VwSn$useRef)(false);\n let handleShow = ()=>{\n if (isHovered.current || isFocused.current) state.open(isFocused.current);\n };\n let handleHide = (immediate)=>{\n if (!isHovered.current && !isFocused.current) state.close(immediate);\n };\n (0, $6VwSn$useEffect)(()=>{\n let onKeyDown = (e)=>{\n if (ref && ref.current) // Escape after clicking something can give it keyboard focus\n // dismiss tooltip on esc key press\n {\n if (e.key === 'Escape') {\n e.stopPropagation();\n state.close(true);\n }\n }\n };\n if (state.isOpen) {\n document.addEventListener('keydown', onKeyDown, true);\n return ()=>{\n document.removeEventListener('keydown', onKeyDown, true);\n };\n }\n }, [\n ref,\n state\n ]);\n let onHoverStart = ()=>{\n if (trigger === 'focus') return;\n // In chrome, if you hover a trigger, then another element obscures it, due to keyboard\n // interactions for example, hover will end. When hover is restored after that element disappears,\n // focus moves on for example, then the tooltip will reopen. We check the modality to know if the hover\n // is the result of moving the mouse.\n if ((0, $6VwSn$getInteractionModality)() === 'pointer') isHovered.current = true;\n else isHovered.current = false;\n handleShow();\n };\n let onHoverEnd = ()=>{\n if (trigger === 'focus') return;\n // no matter how the trigger is left, we should close the tooltip\n isFocused.current = false;\n isHovered.current = false;\n handleHide();\n };\n let onPressStart = ()=>{\n // no matter how the trigger is pressed, we should close the tooltip\n isFocused.current = false;\n isHovered.current = false;\n handleHide(true);\n };\n let onFocus = ()=>{\n let isVisible = (0, $6VwSn$isFocusVisible)();\n if (isVisible) {\n isFocused.current = true;\n handleShow();\n }\n };\n let onBlur = ()=>{\n isFocused.current = false;\n isHovered.current = false;\n handleHide(true);\n };\n let { hoverProps: hoverProps } = (0, $6VwSn$useHover)({\n isDisabled: isDisabled,\n onHoverStart: onHoverStart,\n onHoverEnd: onHoverEnd\n });\n let { focusableProps: focusableProps } = (0, $6VwSn$useFocusable)({\n isDisabled: isDisabled,\n onFocus: onFocus,\n onBlur: onBlur\n }, ref);\n return {\n triggerProps: {\n 'aria-describedby': state.isOpen ? tooltipId : undefined,\n ...(0, $6VwSn$mergeProps)(focusableProps, hoverProps, {\n onPointerDown: onPressStart,\n onKeyDown: onPressStart\n })\n },\n tooltipProps: {\n id: tooltipId\n }\n };\n}\n\n\nexport {$4e1b34546679e357$export$a6da6c504e4bba8b as useTooltipTrigger};\n//# sourceMappingURL=useTooltipTrigger.module.js.map\n","import { defineRecipe } from \"@chakra-ui/react\";\n\nexport const buttonRecipe = defineRecipe({\n className: \"nimbus-button\",\n base: {\n borderRadius: \"200\",\n display: \"inline-flex\",\n appearance: \"none\",\n alignItems: \"center\",\n justifyContent: \"center\",\n userSelect: \"none\",\n position: \"relative\",\n whiteSpace: \"nowrap\",\n verticalAlign: \"middle\",\n borderWidth: \"1px\",\n borderColor: \"transparent\",\n cursor: \"button\",\n flexShrink: \"0\",\n outline: \"0\",\n lineHeight: \"1.2\",\n isolation: \"isolate\",\n fontWeight: \"500\",\n transitionProperty: \"common\",\n transitionDuration: \"moderate\",\n focusVisibleRing: \"outside\",\n _disabled: {\n layerStyle: \"disabled\",\n },\n _icon: {\n flexShrink: \"0\",\n },\n },\n variants: {\n size: {\n \"2xs\": {\n h: \"600\",\n minW: \"600\",\n fontSize: \"300\",\n fontWeight: \"500\",\n lineHeight: \"400\",\n px: \"200\",\n gap: \"100\",\n _icon: {\n width: \"400\",\n height: \"400\",\n },\n },\n xs: {\n h: \"800\",\n minW: \"800\",\n fontSize: \"350\",\n fontWeight: \"500\",\n lineHeight: \"400\",\n px: \"300\",\n gap: \"100\",\n _icon: {\n width: \"500\",\n height: \"500\",\n },\n },\n /* sm: {\n h: \"900\",\n minW: \"900\",\n px: \"350\",\n textStyle: \"sm\",\n gap: \"200\",\n _icon: {\n width: \"400\",\n height: \"400\",\n },\n }, */\n md: {\n h: \"1000\",\n minW: \"1000\",\n fontSize: \"400\",\n lineHeight: \"500\",\n px: \"400\",\n gap: \"200\",\n _icon: {\n width: \"600\",\n height: \"600\",\n },\n },\n /* lg: {\n h: \"1100\",\n minW: \"1100\",\n textStyle: \"md\",\n px: \"500\",\n gap: \"300\",\n _icon: {\n width: \"500\",\n height: \"500\",\n },\n }, */\n /* xl: {\n h: \"1200\",\n minW: \"1200\",\n textStyle: \"md\",\n px: \"500\",\n gap: \"250\",\n _icon: {\n width: \"500\",\n height: \"500\",\n },\n }, */\n /* \"2xl\": {\n h: \"1600\",\n minW: \"1600\",\n textStyle: \"lg\",\n px: \"700\",\n gap: \"300\",\n _icon: {\n width: \"600\",\n height: \"600\",\n },\n }, */\n },\n variant: {\n solid: {\n bg: \"colorPalette.9\",\n color: \"colorPalette.contrast\",\n _hover: {\n bg: \"colorPalette.10\",\n },\n _expanded: {\n bg: \"colorPalette.10\",\n },\n },\n subtle: {\n bg: \"colorPalette.3\",\n color: \"colorPalette.11\",\n _hover: {\n bg: \"colorPalette.4\",\n },\n _expanded: {\n bg: \"colorPalette.4\",\n },\n },\n outline: {\n borderWidth: \"1px\",\n borderColor: \"colorPalette.7\",\n color: \"colorPalette.11\",\n transitionProperty: \"background-color, border-color, color\",\n transitionDuration: \"moderate\",\n _hover: {\n bg: \"colorPalette.3\",\n borderColor: \"colorPalette.8\",\n },\n _expanded: {\n bg: \"colorPalette.subtle\",\n },\n },\n ghost: {\n color: \"colorPalette.11\",\n _hover: {\n bg: \"colorPalette.4\",\n },\n _expanded: {\n bg: \"colorPalette.4\",\n },\n },\n link: {\n color: \"colorPalette.11\",\n _hover: {\n textDecoration: \"underline\",\n },\n },\n },\n tone: {\n primary: {\n colorPalette: \"primary\",\n },\n critical: {\n colorPalette: \"critical\",\n },\n neutral: {\n colorPalette: \"neutral\",\n },\n info: {\n colorPalette: \"info\",\n },\n },\n },\n defaultVariants: {\n size: \"md\",\n variant: \"subtle\",\n },\n});\n","function memoize(fn) {\n var cache = Object.create(null);\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport { memoize as default };\n","import memoize from '@emotion/memoize';\n\n// eslint-disable-next-line no-undef\nvar reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23\n\nvar isPropValid = /* #__PURE__ */memoize(function (prop) {\n return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111\n /* o */\n && prop.charCodeAt(1) === 110\n /* n */\n && prop.charCodeAt(2) < 91;\n}\n/* Z+1 */\n);\n\nexport { isPropValid as default };\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n defaultSystem,\n} from \"@chakra-ui/react\";\nimport { buttonRecipe } from \"./button.recipe\";\nimport shouldForwardProp from \"@emotion/is-prop-valid\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the button element.\n */\ninterface ButtonRecipeProps extends RecipeProps<\"button\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport type ButtonRootProps = HTMLChakraProps<\"button\", ButtonRecipeProps>;\n\nconst { withContext } = createRecipeContext({\n recipe: buttonRecipe,\n});\n\n/**\n * Root component that provides the styling context for the Battn component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const ButtonRoot = withContext<HTMLButtonElement, ButtonRootProps>(\n \"button\",\n {\n defaultProps: {\n type: \"button\",\n },\n /** make sure the `onPress` properties won't end up as attribute on the rendered DOM element */\n shouldForwardProp(prop, variantKeys) {\n const chakraSfp =\n !variantKeys?.includes(prop) && !defaultSystem.isValidProperty(prop);\n return shouldForwardProp(prop) && chakraSfp && !prop.includes(\"onPress\");\n },\n }\n);\n","import { forwardRef, useRef } from \"react\";\nimport { useButton, useObjectRef, mergeProps } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport { ButtonRoot } from \"./button.slots.tsx\";\nimport type { ButtonProps } from \"./button.types.ts\";\n\nexport const Button = forwardRef<HTMLButtonElement, ButtonProps>(\n (props, forwardedRef) => {\n const { as, asChild, children, onClick, ...rest } = props;\n\n // create a local ref (because the consumer may not provide a forwardedRef)\n const localRef = useRef<HTMLButtonElement>(null);\n // merge the local ref with a potentially forwarded ref\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n // if asChild is set, for react-aria to add the button-role, the elementType\n // has to be manually set to something else than button\n\n const elementType = as || (asChild ? \"a\" : \"button\") || \"button\";\n console.log(onClick, rest);\n const { buttonProps } = useButton(\n {\n ...rest,\n onPress: onClick\n ? (e) => onClick(e as unknown as React.MouseEvent<HTMLButtonElement>)\n : undefined,\n elementType,\n },\n ref\n );\n console.log(buttonProps);\n return (\n <ButtonRoot\n {...mergeProps(rest, buttonProps, { as, asChild })}\n onPress={buttonProps.onClick}\n ref={ref}\n >\n {children}\n </ButtonRoot>\n );\n }\n);\n\n// Manually assign a displayName for debugging purposes\nButton.displayName = \"Button\";\n","import { Dialog as ChakraDialog, Portal } from \"@chakra-ui/react\";\nimport { forwardRef } from \"react\";\nimport { Button } from \"../button\";\n\ninterface DialogContentProps extends ChakraDialog.ContentProps {\n portalled?: boolean;\n portalRef?: React.RefObject<HTMLElement>;\n backdrop?: boolean;\n}\n\nexport const DialogContent = forwardRef<HTMLDivElement, DialogContentProps>(\n function DialogContent(props, ref) {\n const {\n children,\n portalled = true,\n portalRef,\n backdrop = true,\n ...rest\n } = props;\n\n return (\n <Portal disabled={!portalled} container={portalRef}>\n {backdrop && <ChakraDialog.Backdrop />}\n <ChakraDialog.Positioner>\n <ChakraDialog.Content ref={ref} {...rest} asChild={false}>\n {children}\n </ChakraDialog.Content>\n </ChakraDialog.Positioner>\n </Portal>\n );\n }\n);\n\nexport const DialogCloseTrigger = forwardRef<\n HTMLButtonElement,\n ChakraDialog.CloseTriggerProps\n>(function DialogCloseTrigger(props, ref) {\n return (\n <ChakraDialog.CloseTrigger\n position=\"absolute\"\n top=\"2\"\n insetEnd=\"2\"\n {...props}\n asChild\n >\n <Button size=\"xs\" ref={ref}>\n {props.children}\n </Button>\n </ChakraDialog.CloseTrigger>\n );\n});\n\nexport const DialogRoot = ChakraDialog.Root;\nexport const DialogFooter = ChakraDialog.Footer;\nexport const DialogHeader = ChakraDialog.Header;\nexport const DialogBody = ChakraDialog.Body;\nexport const DialogBackdrop = ChakraDialog.Backdrop;\nexport const DialogTitle = ChakraDialog.Title;\nexport const DialogDescription = ChakraDialog.Description;\nexport const DialogTrigger = ChakraDialog.Trigger;\nexport const DialogActionTrigger = ChakraDialog.ActionTrigger;\n","import { forwardRef } from \"react\";\nimport type { IconButtonProps } from \"./icon-button.types\";\nimport { Button } from \"@/components\";\n\n/**\n * IconButton\n * ============================================================\n * displays a button with only an icon as child. It is based\n * on the regular `Button` component, but with a few adjustments.\n */\nexport const IconButton = forwardRef<HTMLButtonElement, IconButtonProps>(\n ({ children, ...props }, ref) => {\n return (\n <Button px={0} py={0} ref={ref} {...props}>\n {children}\n </Button>\n );\n }\n);\n\nIconButton.displayName = \"IconButton\";\n","import { defineRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the Link component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const linkRecipe = defineRecipe({\n className: \"nimbus-link\",\n // Base styles applied to all instances of the component\n base: {\n display: \"inline-flex\",\n alignItems: \"center\",\n color: \"colorPalette.11\",\n borderRadius: \"100\",\n focusVisibleRing: \"outside\",\n bg: \"transparent\",\n outline: \"none\",\n cursor: \"pointer\",\n textDecoration: \"underline\",\n textUnderlineOffset: \"3px\",\n _hover: {\n textDecorationThickness: \"12%\",\n },\n },\n // Available variants for customizing the component's appearance\n variants: {\n // Size variants from smallest to largest\n size: {\n xs: {\n fontSize: \"300\",\n lineHeight: \"450\",\n },\n sm: {\n fontSize: \"350\",\n lineHeight: \"500\",\n },\n md: {\n fontSize: \"400\",\n lineHeight: \"600\",\n },\n },\n // style variants\n fontColor: {\n primary: {\n color: \"primary\",\n },\n inherit: {\n color: \"inherit\",\n },\n },\n },\n});\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react\";\n\nimport { linkRecipe } from \"./link.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the a element.\n */\ninterface LinkRecipeProps extends RecipeProps<\"a\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport type LinkRootProps = HTMLChakraProps<\"a\", LinkRecipeProps>;\n\nconst { withContext } = createRecipeContext({ recipe: linkRecipe });\n\n/**\n * Root component that provides the styling context for the Link component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const LinkRoot = withContext<HTMLAnchorElement, LinkRootProps>(\"a\");\n","import { forwardRef, useRef } from \"react\";\nimport { LinkRoot } from \"./link.slots\";\nimport type { LinkProps } from \"./link.types\";\nimport { useLink, useObjectRef, mergeProps } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\n\n/**\n * Link\n * ============================================================\n * To allow a user to navigate to a different page or resource\n *\n * Features:\n *\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLAnchorElement' attributes (including aria- & data-attributes)\n * - supports 'variants', 'sizes', etc. configured in the recipe\n * - allows overriding styles by using style-props\n * - supports 'asChild' and 'as' to modify the underlying html-element (polymorphic)\n */\nexport const Link = forwardRef<HTMLAnchorElement, LinkProps>(\n (props, forwardedRef) => {\n const { as, asChild, children, ...rest } = props;\n\n const localRef = useRef<HTMLAnchorElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n const elementType = (as as string) || (asChild ? \"span\" : \"a\") || \"a\";\n const { linkProps } = useLink({ ...rest, elementType }, ref);\n\n return (\n <LinkRoot {...mergeProps(rest, linkProps, { as, asChild, ref })}>\n {children}\n </LinkRoot>\n );\n }\n);\n\nLink.displayName = \"Link\";\n","import { List } from \"@chakra-ui/react\";\n\nexport type ListRootType = React.ComponentProps<typeof List.Root>;\nexport type ListItemType = React.ComponentProps<typeof List.Item>;\n\nconst ListRoot = (props: ListRootType) => <List.Root {...props} />;\nconst ListItem = (props: ListItemType) => <List.Item {...props} />;\n\nexport { List, ListRoot, ListItem };\n","import { forwardRef } from \"react\";\nimport {\n SimpleGrid as ChakraSimpleGrid,\n GridItem,\n type SimpleGridProps as ChakraSimpleGridProps,\n} from \"@chakra-ui/react\";\n\n/**\n * SimpleGrid\n * ============================================================\n * The SimpleGrid Layout Component provides a flexible and responsive way to structure content.\n *\n * Features:\n *\n * - allows forwarding refs to the underlying DOM element\n */\nexport interface SimpleGridProps extends ChakraSimpleGridProps {\n children?: React.ReactNode;\n}\n\nconst GridComponent = forwardRef<HTMLDivElement, SimpleGridProps>(\n (props, ref) => {\n return <ChakraSimpleGrid ref={ref} {...props} />;\n }\n);\n\nGridComponent.displayName = \"SimpleGrid\";\n\nexport const SimpleGrid = Object.assign(GridComponent, {\n Item: GridItem,\n});\n","import { Table } from \"@chakra-ui/react\";\n\n// Extracting props types from subcomponents\nexport type TableRootProps = React.ComponentProps<typeof Table.Root>;\nexport type TableColumnGroupProps = React.ComponentProps<\n typeof Table.ColumnGroup\n>;\nexport type TableColumnProps = React.ComponentProps<typeof Table.Column>;\nexport type TableHeaderProps = React.ComponentProps<typeof Table.Header>;\nexport type TableFooterProps = React.ComponentProps<typeof Table.Footer>;\nexport type TableRowProps = React.ComponentProps<typeof Table.Row>;\nexport type TableCellProps = React.ComponentProps<typeof Table.Cell>;\nexport type TableBodyProps = React.ComponentProps<typeof Table.Body>;\nexport type TableColumnHeaderProps = React.ComponentProps<\n typeof Table.ColumnHeader\n>;\n\nconst TableRoot = (props: TableRootProps) => <Table.Root {...props} />;\nconst TableColumnGroup = (props: TableColumnGroupProps) => (\n <Table.ColumnGroup {...props} />\n);\nconst TableColumn = (props: TableColumnProps) => <Table.Column {...props} />;\nconst TableHeader = (props: TableHeaderProps) => <Table.Header {...props} />;\nconst TableFooter = (props: TableFooterProps) => <Table.Footer {...props} />;\nconst TableRow = (props: TableRowProps) => <Table.Row {...props} />;\nconst TableCell = (props: TableCellProps) => <Table.Cell {...props} />;\nconst TableBody = (props: TableBodyProps) => <Table.Body {...props} />;\nconst TableColumnHeader = (props: TableColumnHeaderProps) => (\n <Table.ColumnHeader {...props} />\n);\n\nexport {\n Table,\n TableRoot,\n TableColumnGroup,\n TableColumn,\n TableHeader,\n TableFooter,\n TableRow,\n TableCell,\n TableBody,\n TableColumnHeader,\n};\n","import {\n Text as ChakraText,\n type TextProps as ChakraTextProps,\n} from \"@chakra-ui/react\";\nimport { forwardRef } from \"react\";\n\nexport interface TextProps extends ChakraTextProps {}\n\n/**\n * Render Text\n *\n * Use this component to render text. Various props can be passed to customize the text.\n * Check the documentation for more information.\n *\n * @see https://DOMAIN/components/typography/text\n */\nexport const Text = forwardRef<HTMLParagraphElement, TextProps>(\n (props, ref) => {\n return <ChakraText ref={ref} {...props} />;\n }\n);\n\nText.displayName = \"Text\";\n","import {createContext as $95phC$createContext} from \"react\";\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 */ \nconst $4e85f108e88277b8$export$b085522c77523c51 = (0, $95phC$createContext)(null);\nconst $4e85f108e88277b8$export$ebe63fadcdce34ed = (0, $95phC$createContext)(null);\nconst $4e85f108e88277b8$export$44644b8a16031b5b = (0, $95phC$createContext)(null);\nconst $4e85f108e88277b8$export$717b2c0a523a0b53 = (0, $95phC$createContext)(null);\nconst $4e85f108e88277b8$export$265015d6dc85bf21 = (0, $95phC$createContext)(null);\nconst $4e85f108e88277b8$export$d688439359537581 = (0, $95phC$createContext)({});\n\n\nexport {$4e85f108e88277b8$export$b085522c77523c51 as CheckboxContext, $4e85f108e88277b8$export$ebe63fadcdce34ed as ColorAreaContext, $4e85f108e88277b8$export$44644b8a16031b5b as ColorFieldContext, $4e85f108e88277b8$export$717b2c0a523a0b53 as ColorSliderContext, $4e85f108e88277b8$export$265015d6dc85bf21 as ColorWheelContext, $4e85f108e88277b8$export$d688439359537581 as HeadingContext};\n//# sourceMappingURL=RSPContexts.module.js.map\n","import {useObjectRef as $iETbY$useObjectRef, mergeRefs as $iETbY$mergeRefs, mergeProps as $iETbY$mergeProps, useLayoutEffect as $iETbY$useLayoutEffect} from \"@react-aria/utils\";\nimport $iETbY$react, {useMemo as $iETbY$useMemo, useContext as $iETbY$useContext, useState as $iETbY$useState, useRef as $iETbY$useRef, useCallback as $iETbY$useCallback} 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 $64fa3d84918910a7$export$c62b8e45d58ddad9 = Symbol('default');\nfunction $64fa3d84918910a7$export$2881499e37b75b9a({ values: values, children: children }) {\n for (let [Context, value] of values)// @ts-ignore\n children = /*#__PURE__*/ (0, $iETbY$react).createElement(Context.Provider, {\n value: value\n }, children);\n return children;\n}\nfunction $64fa3d84918910a7$export$4d86445c2cf5e3(props) {\n let { className: className, style: style, children: children, defaultClassName: defaultClassName, defaultChildren: defaultChildren, defaultStyle: defaultStyle, values: values } = props;\n return (0, $iETbY$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 !== null && computedClassName !== void 0 ? computedClassName : defaultClassName,\n style: computedStyle || defaultStyle ? {\n ...defaultStyle,\n ...computedStyle\n } : undefined,\n children: computedChildren !== null && computedChildren !== void 0 ? computedChildren : defaultChildren,\n 'data-rac': ''\n };\n }, [\n className,\n style,\n children,\n defaultClassName,\n defaultChildren,\n defaultStyle,\n values\n ]);\n}\nfunction $64fa3d84918910a7$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 $64fa3d84918910a7$export$fabf2dc03a41866e(context, slot) {\n let ctx = (0, $iETbY$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 availableSlots = new Intl.ListFormat().format(Object.keys(ctx.slots).map((p)=>`\"${p}\"`));\n if (!slot && !ctx.slots[$64fa3d84918910a7$export$c62b8e45d58ddad9]) throw new Error(`A slot prop is required. Valid slot names are ${availableSlots}.`);\n let slotKey = slot || $64fa3d84918910a7$export$c62b8e45d58ddad9;\n if (!ctx.slots[slotKey]) // @ts-ignore\n throw new Error(`Invalid slot \"${slot}\". Valid slot names are ${availableSlots}.`);\n return ctx.slots[slotKey];\n }\n // @ts-ignore\n return ctx;\n}\nfunction $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, context) {\n let ctx = $64fa3d84918910a7$export$fabf2dc03a41866e(context, props.slot) || {};\n // @ts-ignore - TS says \"Type 'unique symbol' cannot be used as an index type.\" but not sure why.\n let { ref: contextRef, ...contextProps } = ctx;\n let mergedRef = (0, $iETbY$useObjectRef)((0, $iETbY$useMemo)(()=>(0, $iETbY$mergeRefs)(ref, contextRef), [\n ref,\n contextRef\n ]));\n let mergedProps = (0, $iETbY$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 $64fa3d84918910a7$export$9d4c57ee4c6ffdd8() {\n // Assume we do have the slot in the initial render.\n let [hasSlot, setHasSlot] = (0, $iETbY$useState)(true);\n let hasRun = (0, $iETbY$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, $iETbY$useCallback)((el)=>{\n hasRun.current = true;\n setHasSlot(!!el);\n }, []);\n // If the callback hasn't been called, then reset to false.\n (0, $iETbY$useLayoutEffect)(()=>{\n if (!hasRun.current) setHasSlot(false);\n }, []);\n return [\n ref,\n hasSlot\n ];\n}\nfunction $64fa3d84918910a7$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}\n\n\nexport {$64fa3d84918910a7$export$c62b8e45d58ddad9 as DEFAULT_SLOT, $64fa3d84918910a7$export$2881499e37b75b9a as Provider, $64fa3d84918910a7$export$4d86445c2cf5e3 as useRenderProps, $64fa3d84918910a7$export$c245e6201fed2f75 as composeRenderProps, $64fa3d84918910a7$export$fabf2dc03a41866e as useSlottedContext, $64fa3d84918910a7$export$29f1550f4b0d4415 as useContextProps, $64fa3d84918910a7$export$9d4c57ee4c6ffdd8 as useSlot, $64fa3d84918910a7$export$ef03459518577ad4 as removeDataAttributes};\n//# sourceMappingURL=utils.module.js.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 */ class $23b9f4fcf0fe224b$export$d68d59712b04d9d1 {\n get childNodes() {\n throw new Error('childNodes is not supported');\n }\n clone() {\n let node = new $23b9f4fcf0fe224b$export$d68d59712b04d9d1(this.type, this.key);\n node.value = this.value;\n node.level = this.level;\n node.hasChildNodes = this.hasChildNodes;\n node.rendered = this.rendered;\n node.textValue = this.textValue;\n node['aria-label'] = this['aria-label'];\n node.index = this.index;\n node.parentKey = this.parentKey;\n node.prevKey = this.prevKey;\n node.nextKey = this.nextKey;\n node.firstChildKey = this.firstChildKey;\n node.lastChildKey = this.lastChildKey;\n node.props = this.props;\n node.render = this.render;\n return node;\n }\n constructor(type, key){\n this.value = null;\n this.level = 0;\n this.hasChildNodes = false;\n this.rendered = null;\n this.textValue = '';\n this['aria-label'] = undefined;\n this.index = 0;\n this.parentKey = null;\n this.prevKey = null;\n this.nextKey = null;\n this.firstChildKey = null;\n this.lastChildKey = null;\n this.props = {};\n this.type = type;\n this.key = key;\n }\n}\nclass $23b9f4fcf0fe224b$export$408d25a4e12db025 {\n get size() {\n return this.keyMap.size;\n }\n getKeys() {\n return this.keyMap.keys();\n }\n *[Symbol.iterator]() {\n let node = this.firstKey != null ? this.keyMap.get(this.firstKey) : undefined;\n while(node){\n yield node;\n node = node.nextKey != null ? this.keyMap.get(node.nextKey) : undefined;\n }\n }\n getChildren(key) {\n let keyMap = this.keyMap;\n return {\n *[Symbol.iterator] () {\n let parent = keyMap.get(key);\n let node = (parent === null || parent === void 0 ? void 0 : parent.firstChildKey) != null ? keyMap.get(parent.firstChildKey) : null;\n while(node){\n yield node;\n node = node.nextKey != null ? keyMap.get(node.nextKey) : undefined;\n }\n }\n };\n }\n getKeyBefore(key) {\n let node = this.keyMap.get(key);\n if (!node) return null;\n if (node.prevKey != null) {\n node = this.keyMap.get(node.prevKey);\n while(node && node.type !== 'item' && node.lastChildKey != null)node = this.keyMap.get(node.lastChildKey);\n var _node_key;\n return (_node_key = node === null || node === void 0 ? void 0 : node.key) !== null && _node_key !== void 0 ? _node_key : null;\n }\n return node.parentKey;\n }\n getKeyAfter(key) {\n let node = this.keyMap.get(key);\n if (!node) return null;\n if (node.type !== 'item' && node.firstChildKey != null) return node.firstChildKey;\n while(node){\n if (node.nextKey != null) return node.nextKey;\n if (node.parentKey != null) node = this.keyMap.get(node.parentKey);\n else return null;\n }\n return null;\n }\n getFirstKey() {\n return this.firstKey;\n }\n getLastKey() {\n let node = this.lastKey != null ? this.keyMap.get(this.lastKey) : null;\n while((node === null || node === void 0 ? void 0 : node.lastChildKey) != null)node = this.keyMap.get(node.lastChildKey);\n var _node_key;\n return (_node_key = node === null || node === void 0 ? void 0 : node.key) !== null && _node_key !== void 0 ? _node_key : null;\n }\n getItem(key) {\n var _this_keyMap_get;\n return (_this_keyMap_get = this.keyMap.get(key)) !== null && _this_keyMap_get !== void 0 ? _this_keyMap_get : null;\n }\n at() {\n throw new Error('Not implemented');\n }\n clone() {\n // We need to clone using this.constructor so that subclasses have the right prototype.\n // TypeScript isn't happy about this yet.\n // https://github.com/microsoft/TypeScript/issues/3841\n let Constructor = this.constructor;\n let collection = new Constructor();\n collection.keyMap = new Map(this.keyMap);\n collection.firstKey = this.firstKey;\n collection.lastKey = this.lastKey;\n return collection;\n }\n addNode(node) {\n if (this.frozen) throw new Error('Cannot add a node to a frozen collection');\n this.keyMap.set(node.key, node);\n }\n removeNode(key) {\n if (this.frozen) throw new Error('Cannot remove a node to a frozen collection');\n this.keyMap.delete(key);\n }\n commit(firstKey, lastKey, isSSR = false) {\n if (this.frozen) throw new Error('Cannot commit a frozen collection');\n this.firstKey = firstKey;\n this.lastKey = lastKey;\n this.frozen = !isSSR;\n }\n // TODO: this is pretty specific to menu, will need to check if it is generic enough\n // Will need to handle varying levels I assume but will revisit after I get searchable menu working for base menu\n // TODO: an alternative is to simply walk the collection and add all item nodes that match the filter and any sections/separators we encounter\n // to an array, then walk that new array and fix all the next/Prev keys while adding them to the new collection\n filter(filterFn) {\n let newCollection = new $23b9f4fcf0fe224b$export$408d25a4e12db025();\n // This tracks the absolute last node we've visited in the collection when filtering, used for setting up the filteredCollection's lastKey and\n // for updating the next/prevKey for every non-filtered node.\n let lastNode = null;\n for (let node of this){\n if (node.type === 'section' && node.hasChildNodes) {\n let clonedSection = node.clone();\n let lastChildInSection = null;\n for (let child of this.getChildren(node.key))if (filterFn(child.textValue) || child.type === 'header') {\n let clonedChild = child.clone();\n // eslint-disable-next-line max-depth\n if (lastChildInSection == null) clonedSection.firstChildKey = clonedChild.key;\n // eslint-disable-next-line max-depth\n if (newCollection.firstKey == null) newCollection.firstKey = clonedSection.key;\n // eslint-disable-next-line max-depth\n if (lastChildInSection && lastChildInSection.parentKey === clonedChild.parentKey) {\n lastChildInSection.nextKey = clonedChild.key;\n clonedChild.prevKey = lastChildInSection.key;\n } else clonedChild.prevKey = null;\n clonedChild.nextKey = null;\n newCollection.addNode(clonedChild);\n lastChildInSection = clonedChild;\n }\n // Add newly filtered section to collection if it has any valid child nodes, otherwise remove it and its header if any\n if (lastChildInSection) {\n if (lastChildInSection.type !== 'header') {\n clonedSection.lastChildKey = lastChildInSection.key;\n // If the old prev section was filtered out, will need to attach to whatever came before\n // eslint-disable-next-line max-depth\n if (lastNode == null) clonedSection.prevKey = null;\n else if (lastNode.type === 'section' || lastNode.type === 'separator') {\n lastNode.nextKey = clonedSection.key;\n clonedSection.prevKey = lastNode.key;\n }\n clonedSection.nextKey = null;\n lastNode = clonedSection;\n newCollection.addNode(clonedSection);\n } else {\n if (newCollection.firstKey === clonedSection.key) newCollection.firstKey = null;\n newCollection.removeNode(lastChildInSection.key);\n }\n }\n } else if (node.type === 'separator') {\n // will need to check if previous section key exists, if it does then we add the separator to the collection.\n // After the full collection is created we'll need to remove it it is the last node in the section (aka no following section after the separator)\n let clonedSeparator = node.clone();\n clonedSeparator.nextKey = null;\n if ((lastNode === null || lastNode === void 0 ? void 0 : lastNode.type) === 'section') {\n lastNode.nextKey = clonedSeparator.key;\n clonedSeparator.prevKey = lastNode.key;\n lastNode = clonedSeparator;\n newCollection.addNode(clonedSeparator);\n }\n } else if (filterFn(node.textValue)) {\n let clonedNode = node.clone();\n if (newCollection.firstKey == null) newCollection.firstKey = clonedNode.key;\n if (lastNode != null && lastNode.type !== 'section' && lastNode.type !== 'separator' && lastNode.parentKey === clonedNode.parentKey) {\n lastNode.nextKey = clonedNode.key;\n clonedNode.prevKey = lastNode.key;\n } else clonedNode.prevKey = null;\n clonedNode.nextKey = null;\n newCollection.addNode(clonedNode);\n lastNode = clonedNode;\n }\n }\n if ((lastNode === null || lastNode === void 0 ? void 0 : lastNode.type) === 'separator' && lastNode.nextKey === null) {\n let lastSection;\n if (lastNode.prevKey != null) {\n lastSection = newCollection.getItem(lastNode.prevKey);\n lastSection.nextKey = null;\n }\n newCollection.removeNode(lastNode.key);\n lastNode = lastSection;\n }\n newCollection.lastKey = (lastNode === null || lastNode === void 0 ? void 0 : lastNode.key) || null;\n return newCollection;\n }\n constructor(){\n this.keyMap = new Map();\n this.firstKey = null;\n this.lastKey = null;\n this.frozen = false;\n }\n}\n\n\nexport {$23b9f4fcf0fe224b$export$d68d59712b04d9d1 as CollectionNode, $23b9f4fcf0fe224b$export$408d25a4e12db025 as BaseCollection};\n//# sourceMappingURL=BaseCollection.module.js.map\n","import {CollectionNode as $23b9f4fcf0fe224b$export$d68d59712b04d9d1} from \"./BaseCollection.mjs\";\n\n/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nclass $681cc3c98f569e39$export$410b0c854570d131 {\n *[Symbol.iterator]() {\n let node = this.firstChild;\n while(node){\n yield node;\n node = node.nextSibling;\n }\n }\n get firstChild() {\n return this._firstChild;\n }\n set firstChild(firstChild) {\n this._firstChild = firstChild;\n this.ownerDocument.markDirty(this);\n }\n get lastChild() {\n return this._lastChild;\n }\n set lastChild(lastChild) {\n this._lastChild = lastChild;\n this.ownerDocument.markDirty(this);\n }\n get previousSibling() {\n return this._previousSibling;\n }\n set previousSibling(previousSibling) {\n this._previousSibling = previousSibling;\n this.ownerDocument.markDirty(this);\n }\n get nextSibling() {\n return this._nextSibling;\n }\n set nextSibling(nextSibling) {\n this._nextSibling = nextSibling;\n this.ownerDocument.markDirty(this);\n }\n get parentNode() {\n return this._parentNode;\n }\n set parentNode(parentNode) {\n this._parentNode = parentNode;\n this.ownerDocument.markDirty(this);\n }\n get isConnected() {\n var _this_parentNode;\n return ((_this_parentNode = this.parentNode) === null || _this_parentNode === void 0 ? void 0 : _this_parentNode.isConnected) || false;\n }\n appendChild(child) {\n this.ownerDocument.startTransaction();\n if (child.parentNode) child.parentNode.removeChild(child);\n if (this.firstChild == null) this.firstChild = child;\n if (this.lastChild) {\n this.lastChild.nextSibling = child;\n child.index = this.lastChild.index + 1;\n child.previousSibling = this.lastChild;\n } else {\n child.previousSibling = null;\n child.index = 0;\n }\n child.parentNode = this;\n child.nextSibling = null;\n this.lastChild = child;\n this.ownerDocument.markDirty(this);\n if (child.hasSetProps) // Only add the node to the collection if we already received props for it.\n // Otherwise wait until then so we have the correct id for the node.\n this.ownerDocument.addNode(child);\n this.ownerDocument.endTransaction();\n this.ownerDocument.queueUpdate();\n }\n insertBefore(newNode, referenceNode) {\n if (referenceNode == null) return this.appendChild(newNode);\n this.ownerDocument.startTransaction();\n if (newNode.parentNode) newNode.parentNode.removeChild(newNode);\n newNode.nextSibling = referenceNode;\n newNode.previousSibling = referenceNode.previousSibling;\n newNode.index = referenceNode.index;\n if (this.firstChild === referenceNode) this.firstChild = newNode;\n else if (referenceNode.previousSibling) referenceNode.previousSibling.nextSibling = newNode;\n referenceNode.previousSibling = newNode;\n newNode.parentNode = referenceNode.parentNode;\n let node = referenceNode;\n while(node){\n node.index++;\n node = node.nextSibling;\n }\n if (newNode.hasSetProps) this.ownerDocument.addNode(newNode);\n this.ownerDocument.endTransaction();\n this.ownerDocument.queueUpdate();\n }\n removeChild(child) {\n if (child.parentNode !== this || !this.ownerDocument.isMounted) return;\n this.ownerDocument.startTransaction();\n let node = child.nextSibling;\n while(node){\n node.index--;\n node = node.nextSibling;\n }\n if (child.nextSibling) child.nextSibling.previousSibling = child.previousSibling;\n if (child.previousSibling) child.previousSibling.nextSibling = child.nextSibling;\n if (this.firstChild === child) this.firstChild = child.nextSibling;\n if (this.lastChild === child) this.lastChild = child.previousSibling;\n child.parentNode = null;\n child.nextSibling = null;\n child.previousSibling = null;\n child.index = 0;\n this.ownerDocument.removeNode(child);\n this.ownerDocument.endTransaction();\n this.ownerDocument.queueUpdate();\n }\n addEventListener() {}\n removeEventListener() {}\n constructor(ownerDocument){\n this._firstChild = null;\n this._lastChild = null;\n this._previousSibling = null;\n this._nextSibling = null;\n this._parentNode = null;\n this.ownerDocument = ownerDocument;\n }\n}\nclass $681cc3c98f569e39$export$dc064fe9e59310fd extends $681cc3c98f569e39$export$410b0c854570d131 {\n get index() {\n return this._index;\n }\n set index(index) {\n this._index = index;\n this.ownerDocument.markDirty(this);\n }\n get level() {\n if (this.parentNode instanceof $681cc3c98f569e39$export$dc064fe9e59310fd) return this.parentNode.level + (this.node.type === 'item' ? 1 : 0);\n return 0;\n }\n updateNode() {\n var _this_previousSibling, _this_nextSibling, _this_firstChild, _this_lastChild;\n let node = this.ownerDocument.getMutableNode(this);\n node.index = this.index;\n node.level = this.level;\n node.parentKey = this.parentNode instanceof $681cc3c98f569e39$export$dc064fe9e59310fd ? this.parentNode.node.key : null;\n var _this_previousSibling_node_key;\n node.prevKey = (_this_previousSibling_node_key = (_this_previousSibling = this.previousSibling) === null || _this_previousSibling === void 0 ? void 0 : _this_previousSibling.node.key) !== null && _this_previousSibling_node_key !== void 0 ? _this_previousSibling_node_key : null;\n var _this_nextSibling_node_key;\n node.nextKey = (_this_nextSibling_node_key = (_this_nextSibling = this.nextSibling) === null || _this_nextSibling === void 0 ? void 0 : _this_nextSibling.node.key) !== null && _this_nextSibling_node_key !== void 0 ? _this_nextSibling_node_key : null;\n node.hasChildNodes = !!this.firstChild;\n var _this_firstChild_node_key;\n node.firstChildKey = (_this_firstChild_node_key = (_this_firstChild = this.firstChild) === null || _this_firstChild === void 0 ? void 0 : _this_firstChild.node.key) !== null && _this_firstChild_node_key !== void 0 ? _this_firstChild_node_key : null;\n var _this_lastChild_node_key;\n node.lastChildKey = (_this_lastChild_node_key = (_this_lastChild = this.lastChild) === null || _this_lastChild === void 0 ? void 0 : _this_lastChild.node.key) !== null && _this_lastChild_node_key !== void 0 ? _this_lastChild_node_key : null;\n }\n setProps(obj, ref, rendered, render) {\n let node = this.ownerDocument.getMutableNode(this);\n let { value: value, textValue: textValue, id: id, ...props } = obj;\n props.ref = ref;\n node.props = props;\n node.rendered = rendered;\n node.render = render;\n node.value = value;\n node.textValue = textValue || (typeof props.children === 'string' ? props.children : '') || obj['aria-label'] || '';\n if (id != null && id !== node.key) {\n if (this.hasSetProps) throw new Error('Cannot change the id of an item');\n node.key = id;\n }\n // If this is the first time props have been set, end the transaction started in the constructor\n // so this node can be emitted.\n if (!this.hasSetProps) {\n this.ownerDocument.addNode(this);\n this.ownerDocument.endTransaction();\n this.hasSetProps = true;\n }\n this.ownerDocument.queueUpdate();\n }\n get style() {\n return {};\n }\n hasAttribute() {}\n setAttribute() {}\n setAttributeNS() {}\n removeAttribute() {}\n constructor(type, ownerDocument){\n super(ownerDocument), this.nodeType = 8 // COMMENT_NODE (we'd use ELEMENT_NODE but React DevTools will fail to get its dimensions)\n , this._index = 0, this.hasSetProps = false;\n this.node = new (0, $23b9f4fcf0fe224b$export$d68d59712b04d9d1)(type, `react-aria-${++ownerDocument.nodeId}`);\n // Start a transaction so that no updates are emitted from the collection\n // until the props for this node are set. We don't know the real id for the\n // node until then, so we need to avoid emitting collections in an inconsistent state.\n this.ownerDocument.startTransaction();\n }\n}\nclass $681cc3c98f569e39$export$b34a105447964f9f extends $681cc3c98f569e39$export$410b0c854570d131 {\n get isConnected() {\n return this.isMounted;\n }\n createElement(type) {\n return new $681cc3c98f569e39$export$dc064fe9e59310fd(type, this);\n }\n /**\n * Lazily gets a mutable instance of a Node. If the node has already\n * been cloned during this update cycle, it just returns the existing one.\n */ getMutableNode(element) {\n let node = element.node;\n if (!this.mutatedNodes.has(element)) {\n node = element.node.clone();\n this.mutatedNodes.add(element);\n element.node = node;\n }\n this.markDirty(element);\n return node;\n }\n getMutableCollection() {\n if (!this.isSSR && !this.collectionMutated) {\n this.collection = this.collection.clone();\n this.collectionMutated = true;\n }\n return this.collection;\n }\n markDirty(node) {\n this.dirtyNodes.add(node);\n }\n startTransaction() {\n this.transactionCount++;\n }\n endTransaction() {\n this.transactionCount--;\n }\n addNode(element) {\n let collection = this.getMutableCollection();\n if (!collection.getItem(element.node.key)) {\n collection.addNode(element.node);\n for (let child of element)this.addNode(child);\n }\n this.markDirty(element);\n }\n removeNode(node) {\n for (let child of node)this.removeNode(child);\n let collection = this.getMutableCollection();\n collection.removeNode(node.node.key);\n this.markDirty(node);\n }\n /** Finalizes the collection update, updating all nodes and freezing the collection. */ getCollection() {\n if (this.transactionCount > 0) return this.collection;\n this.updateCollection();\n return this.collection;\n }\n updateCollection() {\n for (let element of this.dirtyNodes)if (element instanceof $681cc3c98f569e39$export$dc064fe9e59310fd && element.isConnected) element.updateNode();\n this.dirtyNodes.clear();\n if (this.mutatedNodes.size || this.collectionMutated) {\n var _this_firstChild, _this_lastChild;\n let collection = this.getMutableCollection();\n for (let element of this.mutatedNodes)if (element.isConnected) collection.addNode(element.node);\n var _this_firstChild_node_key, _this_lastChild_node_key;\n collection.commit((_this_firstChild_node_key = (_this_firstChild = this.firstChild) === null || _this_firstChild === void 0 ? void 0 : _this_firstChild.node.key) !== null && _this_firstChild_node_key !== void 0 ? _this_firstChild_node_key : null, (_this_lastChild_node_key = (_this_lastChild = this.lastChild) === null || _this_lastChild === void 0 ? void 0 : _this_lastChild.node.key) !== null && _this_lastChild_node_key !== void 0 ? _this_lastChild_node_key : null, this.isSSR);\n this.mutatedNodes.clear();\n }\n this.collectionMutated = false;\n }\n queueUpdate() {\n // Don't emit any updates if there is a transaction in progress.\n // queueUpdate should be called again after the transaction.\n if (this.dirtyNodes.size === 0 || this.transactionCount > 0) return;\n for (let fn of this.subscriptions)fn();\n }\n subscribe(fn) {\n this.subscriptions.add(fn);\n return ()=>this.subscriptions.delete(fn);\n }\n resetAfterSSR() {\n if (this.isSSR) {\n this.isSSR = false;\n this.firstChild = null;\n this.lastChild = null;\n this.nodeId = 0;\n }\n }\n constructor(collection){\n // @ts-ignore\n super(null), this.nodeType = 11 // DOCUMENT_FRAGMENT_NODE\n , this.ownerDocument = this, this.dirtyNodes = new Set(), this.isSSR = false, this.nodeId = 0, this.nodesByProps = new WeakMap(), this.isMounted = true, this.mutatedNodes = new Set(), this.subscriptions = new Set(), this.transactionCount = 0;\n this.collection = collection;\n this.collectionMutated = true;\n }\n}\n\n\nexport {$681cc3c98f569e39$export$410b0c854570d131 as BaseNode, $681cc3c98f569e39$export$dc064fe9e59310fd as ElementNode, $681cc3c98f569e39$export$b34a105447964f9f as Document};\n//# sourceMappingURL=Document.module.js.map\n","import {useMemo as $luMFQ$useMemo, cloneElement as $luMFQ$cloneElement} from \"react\";\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 $e948873055cbafe4$export$727c8fc270210f13(props) {\n let { children: children, items: items, idScope: idScope, addIdAndValue: addIdAndValue, dependencies: dependencies = [] } = props;\n // Invalidate the cache whenever the parent value changes.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n let cache = (0, $luMFQ$useMemo)(()=>new WeakMap(), dependencies);\n return (0, $luMFQ$useMemo)(()=>{\n if (items && typeof children === 'function') {\n let res = [];\n for (let item of items){\n let rendered = cache.get(item);\n if (!rendered) {\n rendered = children(item);\n var _rendered_props_id, _ref;\n // @ts-ignore\n let key = (_ref = (_rendered_props_id = rendered.props.id) !== null && _rendered_props_id !== void 0 ? _rendered_props_id : item.key) !== null && _ref !== void 0 ? _ref : item.id;\n if (key == null) throw new Error('Could not determine key for item');\n if (idScope) key = idScope + ':' + key;\n // Note: only works if wrapped Item passes through id...\n rendered = (0, $luMFQ$cloneElement)(rendered, addIdAndValue ? {\n key: key,\n id: key,\n value: item\n } : {\n key: key\n });\n cache.set(item, rendered);\n }\n res.push(rendered);\n }\n return res;\n } else if (typeof children !== 'function') return children;\n }, [\n children,\n items,\n cache,\n idScope,\n addIdAndValue\n ]);\n}\n\n\nexport {$e948873055cbafe4$export$727c8fc270210f13 as useCachedChildren};\n//# sourceMappingURL=useCachedChildren.module.js.map\n","import {createPortal as $8SdCi$createPortal} from \"react-dom\";\nimport $8SdCi$react, {createContext as $8SdCi$createContext, useContext as $8SdCi$useContext, forwardRef as $8SdCi$forwardRef} from \"react\";\nimport {useIsSSR as $8SdCi$useIsSSR} from \"@react-aria/ssr\";\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 */ \n\n\n// React doesn't understand the <template> element, which doesn't have children like a normal element.\n// It will throw an error during hydration when it expects the firstChild to contain content rendered\n// on the server, when in reality, the browser will have placed this inside the `content` document fragment.\n// This monkey patches the firstChild property for our special hidden template elements to work around this error.\n// See https://github.com/facebook/react/issues/19932\nif (typeof HTMLTemplateElement !== 'undefined') {\n const getFirstChild = Object.getOwnPropertyDescriptor(Node.prototype, 'firstChild').get;\n Object.defineProperty(HTMLTemplateElement.prototype, 'firstChild', {\n configurable: true,\n enumerable: true,\n get: function() {\n if (this.dataset.reactAriaHidden) return this.content.firstChild;\n else return getFirstChild.call(this);\n }\n });\n}\nconst $f39a9eba43920ace$export$94b6d0abf7d33e8c = /*#__PURE__*/ (0, $8SdCi$createContext)(false);\n// Portal to nowhere\nconst $f39a9eba43920ace$var$hiddenFragment = typeof DocumentFragment !== 'undefined' ? new DocumentFragment() : null;\nfunction $f39a9eba43920ace$export$8dc98ba7eadeaa56(props) {\n let isHidden = (0, $8SdCi$useContext)($f39a9eba43920ace$export$94b6d0abf7d33e8c);\n let isSSR = (0, $8SdCi$useIsSSR)();\n if (isHidden) // Don't hide again if we are already hidden.\n return /*#__PURE__*/ (0, $8SdCi$react).createElement((0, $8SdCi$react).Fragment, null, props.children);\n let children = /*#__PURE__*/ (0, $8SdCi$react).createElement($f39a9eba43920ace$export$94b6d0abf7d33e8c.Provider, {\n value: true\n }, props.children);\n // In SSR, portals are not supported by React. Instead, render into a <template>\n // element, which the browser will never display to the user. In addition, the\n // content is not part of the DOM tree, so it won't affect ids or other accessibility attributes.\n return isSSR ? /*#__PURE__*/ (0, $8SdCi$react).createElement(\"template\", {\n \"data-react-aria-hidden\": true\n }, children) : /*#__PURE__*/ (0, $8SdCi$createPortal)(children, $f39a9eba43920ace$var$hiddenFragment);\n}\nfunction $f39a9eba43920ace$export$86427a43e3e48ebb(fn) {\n let Wrapper = (props, ref)=>{\n let isHidden = (0, $8SdCi$useContext)($f39a9eba43920ace$export$94b6d0abf7d33e8c);\n if (isHidden) return null;\n return fn(props, ref);\n };\n // @ts-ignore - for react dev tools\n Wrapper.displayName = fn.displayName || fn.name;\n return (0, $8SdCi$forwardRef)(Wrapper);\n}\nfunction $f39a9eba43920ace$export$b5d7cc18bb8d2b59() {\n return (0, $8SdCi$useContext)($f39a9eba43920ace$export$94b6d0abf7d33e8c);\n}\n\n\nexport {$f39a9eba43920ace$export$94b6d0abf7d33e8c as HiddenContext, $f39a9eba43920ace$export$8dc98ba7eadeaa56 as Hidden, $f39a9eba43920ace$export$86427a43e3e48ebb as createHideableComponent, $f39a9eba43920ace$export$b5d7cc18bb8d2b59 as useIsHidden};\n//# sourceMappingURL=Hidden.module.js.map\n","/**\n * @license React\n * use-sync-external-store-shim.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar React = require(\"react\");\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue;\nfunction useSyncExternalStore$2(subscribe, getSnapshot) {\n var value = getSnapshot(),\n _useState = useState({ inst: { value: value, getSnapshot: getSnapshot } }),\n inst = _useState[0].inst,\n forceUpdate = _useState[1];\n useLayoutEffect(\n function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n },\n [subscribe, value, getSnapshot]\n );\n useEffect(\n function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n });\n },\n [subscribe]\n );\n useDebugValue(value);\n return value;\n}\nfunction checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n}\nfunction useSyncExternalStore$1(subscribe, getSnapshot) {\n return getSnapshot();\n}\nvar shim =\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ? useSyncExternalStore$1\n : useSyncExternalStore$2;\nexports.useSyncExternalStore =\n void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;\n","/**\n * @license React\n * use-sync-external-store-shim.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n }\n function useSyncExternalStore$2(subscribe, getSnapshot) {\n didWarnOld18Alpha ||\n void 0 === React.startTransition ||\n ((didWarnOld18Alpha = !0),\n console.error(\n \"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release.\"\n ));\n var value = getSnapshot();\n if (!didWarnUncachedGetSnapshot) {\n var cachedValue = getSnapshot();\n objectIs(value, cachedValue) ||\n (console.error(\n \"The result of getSnapshot should be cached to avoid an infinite loop\"\n ),\n (didWarnUncachedGetSnapshot = !0));\n }\n cachedValue = useState({\n inst: { value: value, getSnapshot: getSnapshot }\n });\n var inst = cachedValue[0].inst,\n forceUpdate = cachedValue[1];\n useLayoutEffect(\n function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n },\n [subscribe, value, getSnapshot]\n );\n useEffect(\n function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n });\n },\n [subscribe]\n );\n useDebugValue(value);\n return value;\n }\n function checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n }\n function useSyncExternalStore$1(subscribe, getSnapshot) {\n return getSnapshot();\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var React = require(\"react\"),\n objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue,\n didWarnOld18Alpha = !1,\n didWarnUncachedGetSnapshot = !1,\n shim =\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ? useSyncExternalStore$1\n : useSyncExternalStore$2;\n exports.useSyncExternalStore =\n void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim.production.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim.development.js');\n}\n","import {BaseCollection as $23b9f4fcf0fe224b$export$408d25a4e12db025} from \"./BaseCollection.mjs\";\nimport {Document as $681cc3c98f569e39$export$b34a105447964f9f} from \"./Document.mjs\";\nimport {useCachedChildren as $e948873055cbafe4$export$727c8fc270210f13} from \"./useCachedChildren.mjs\";\nimport {Hidden as $f39a9eba43920ace$export$8dc98ba7eadeaa56} from \"./Hidden.mjs\";\nimport {createPortal as $95feo$createPortal} from \"react-dom\";\nimport $95feo$react, {createContext as $95feo$createContext, useContext as $95feo$useContext, useRef as $95feo$useRef, useCallback as $95feo$useCallback, useState as $95feo$useState, forwardRef as $95feo$forwardRef, useMemo as $95feo$useMemo} from \"react\";\nimport {useIsSSR as $95feo$useIsSSR} from \"@react-aria/ssr\";\nimport {useLayoutEffect as $95feo$useLayoutEffect} from \"@react-aria/utils\";\nimport {useSyncExternalStore as $95feo$useSyncExternalStore} from \"use-sync-external-store/shim/index.js\";\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 */ \n\n\n\n\n\n\n\n\nconst $e1995378a142960e$var$ShallowRenderContext = /*#__PURE__*/ (0, $95feo$createContext)(false);\nconst $e1995378a142960e$var$CollectionDocumentContext = /*#__PURE__*/ (0, $95feo$createContext)(null);\nfunction $e1995378a142960e$export$bf788dd355e3a401(props) {\n // If a document was provided above us, we're already in a hidden tree. Just render the content.\n let doc = (0, $95feo$useContext)($e1995378a142960e$var$CollectionDocumentContext);\n if (doc) // The React types prior to 18 did not allow returning ReactNode from components\n // even though the actual implementation since React 16 did.\n // We must return ReactElement so that TS does not complain that <CollectionBuilder>\n // is not a valid JSX element with React 16 and 17 types.\n // https://github.com/DefinitelyTyped/DefinitelyTyped/issues/20544\n return props.content;\n // Otherwise, render a hidden copy of the children so that we can build the collection before constructing the state.\n // This should always come before the real DOM content so we have built the collection by the time it renders during SSR.\n // This is fine. CollectionDocumentContext never changes after mounting.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n let { collection: collection, document: document } = $e1995378a142960e$var$useCollectionDocument(props.createCollection);\n return /*#__PURE__*/ (0, $95feo$react).createElement((0, $95feo$react).Fragment, null, /*#__PURE__*/ (0, $95feo$react).createElement((0, $f39a9eba43920ace$export$8dc98ba7eadeaa56), null, /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionDocumentContext.Provider, {\n value: document\n }, props.content)), /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionInner, {\n render: props.children,\n collection: collection\n }));\n}\nfunction $e1995378a142960e$var$CollectionInner({ collection: collection, render: render }) {\n return render(collection);\n}\n// React 16 and 17 don't support useSyncExternalStore natively, and the shim provided by React does not support getServerSnapshot.\n// This wrapper uses the shim, but additionally calls getServerSnapshot during SSR (according to SSRProvider).\nfunction $e1995378a142960e$var$useSyncExternalStoreFallback(subscribe, getSnapshot, getServerSnapshot) {\n let isSSR = (0, $95feo$useIsSSR)();\n let isSSRRef = (0, $95feo$useRef)(isSSR);\n // This is read immediately inside the wrapper, which also runs during render.\n // We just need a ref to avoid invalidating the callback itself, which\n // would cause React to re-run the callback more than necessary.\n // eslint-disable-next-line rulesdir/pure-render\n isSSRRef.current = isSSR;\n let getSnapshotWrapper = (0, $95feo$useCallback)(()=>{\n return isSSRRef.current ? getServerSnapshot() : getSnapshot();\n }, [\n getSnapshot,\n getServerSnapshot\n ]);\n return (0, $95feo$useSyncExternalStore)(subscribe, getSnapshotWrapper);\n}\nconst $e1995378a142960e$var$useSyncExternalStore = typeof (0, $95feo$react)['useSyncExternalStore'] === 'function' ? (0, $95feo$react)['useSyncExternalStore'] : $e1995378a142960e$var$useSyncExternalStoreFallback;\nfunction $e1995378a142960e$var$useCollectionDocument(createCollection) {\n // The document instance is mutable, and should never change between renders.\n // useSyncExternalStore is used to subscribe to updates, which vends immutable Collection objects.\n let [document] = (0, $95feo$useState)(()=>new (0, $681cc3c98f569e39$export$b34a105447964f9f)((createCollection === null || createCollection === void 0 ? void 0 : createCollection()) || new (0, $23b9f4fcf0fe224b$export$408d25a4e12db025)()));\n let subscribe = (0, $95feo$useCallback)((fn)=>document.subscribe(fn), [\n document\n ]);\n let getSnapshot = (0, $95feo$useCallback)(()=>{\n let collection = document.getCollection();\n if (document.isSSR) // After SSR is complete, reset the document to empty so it is ready for React to render the portal into.\n // We do this _after_ getting the collection above so that the collection still has content in it from SSR\n // during the current render, before React has finished the client render.\n document.resetAfterSSR();\n return collection;\n }, [\n document\n ]);\n let getServerSnapshot = (0, $95feo$useCallback)(()=>{\n document.isSSR = true;\n return document.getCollection();\n }, [\n document\n ]);\n let collection = $e1995378a142960e$var$useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);\n (0, $95feo$useLayoutEffect)(()=>{\n document.isMounted = true;\n return ()=>{\n // Mark unmounted so we can skip all of the collection updates caused by \n // React calling removeChild on every item in the collection.\n document.isMounted = false;\n };\n }, [\n document\n ]);\n return {\n collection: collection,\n document: document\n };\n}\nconst $e1995378a142960e$var$SSRContext = /*#__PURE__*/ (0, $95feo$createContext)(null);\nfunction $e1995378a142960e$var$useSSRCollectionNode(Type, props, ref, rendered, children, render) {\n // During SSR, portals are not supported, so the collection children will be wrapped in an SSRContext.\n // Since SSR occurs only once, we assume that the elements are rendered in order and never re-render.\n // Therefore we can create elements in our collection document during render so that they are in the\n // collection by the time we need to use the collection to render to the real DOM.\n // After hydration, we switch to client rendering using the portal.\n let itemRef = (0, $95feo$useCallback)((element)=>{\n element === null || element === void 0 ? void 0 : element.setProps(props, ref, rendered, render);\n }, [\n props,\n ref,\n rendered,\n render\n ]);\n let parentNode = (0, $95feo$useContext)($e1995378a142960e$var$SSRContext);\n if (parentNode) {\n // Guard against double rendering in strict mode.\n let element = parentNode.ownerDocument.nodesByProps.get(props);\n if (!element) {\n element = parentNode.ownerDocument.createElement(Type);\n element.setProps(props, ref, rendered, render);\n parentNode.appendChild(element);\n parentNode.ownerDocument.updateCollection();\n parentNode.ownerDocument.nodesByProps.set(props, element);\n }\n return children ? /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$SSRContext.Provider, {\n value: element\n }, children) : null;\n }\n // @ts-ignore\n return /*#__PURE__*/ (0, $95feo$react).createElement(Type, {\n ref: itemRef\n }, children);\n}\nfunction $e1995378a142960e$export$18af5c7a9e9b3664(type, render) {\n let Component = ({ node: node })=>render(node.props, node.props.ref, node);\n let Result = (0, $95feo$forwardRef)((props, ref)=>{\n let isShallow = (0, $95feo$useContext)($e1995378a142960e$var$ShallowRenderContext);\n if (!isShallow) {\n if (render.length >= 3) throw new Error(render.name + ' cannot be rendered outside a collection.');\n return render(props, ref);\n }\n return $e1995378a142960e$var$useSSRCollectionNode(type, props, ref, 'children' in props ? props.children : null, null, (node)=>/*#__PURE__*/ (0, $95feo$react).createElement(Component, {\n node: node\n }));\n });\n // @ts-ignore\n Result.displayName = render.name;\n return Result;\n}\nfunction $e1995378a142960e$export$e953bb1cd0f19726(type, render, useChildren = $e1995378a142960e$var$useCollectionChildren) {\n let Component = ({ node: node })=>render(node.props, node.props.ref, node);\n let Result = (0, $95feo$forwardRef)((props, ref)=>{\n let children = useChildren(props);\n var _useSSRCollectionNode;\n return (_useSSRCollectionNode = $e1995378a142960e$var$useSSRCollectionNode(type, props, ref, null, children, (node)=>/*#__PURE__*/ (0, $95feo$react).createElement(Component, {\n node: node\n }))) !== null && _useSSRCollectionNode !== void 0 ? _useSSRCollectionNode : /*#__PURE__*/ (0, $95feo$react).createElement((0, $95feo$react).Fragment, null);\n });\n // @ts-ignore\n Result.displayName = render.name;\n return Result;\n}\nfunction $e1995378a142960e$var$useCollectionChildren(options) {\n return (0, $e948873055cbafe4$export$727c8fc270210f13)({\n ...options,\n addIdAndValue: true\n });\n}\nconst $e1995378a142960e$var$CollectionContext = /*#__PURE__*/ (0, $95feo$createContext)(null);\nfunction $e1995378a142960e$export$fb8073518f34e6ec(props) {\n let ctx = (0, $95feo$useContext)($e1995378a142960e$var$CollectionContext);\n let dependencies = ((ctx === null || ctx === void 0 ? void 0 : ctx.dependencies) || []).concat(props.dependencies);\n let idScope = props.idScope || (ctx === null || ctx === void 0 ? void 0 : ctx.idScope);\n let children = $e1995378a142960e$var$useCollectionChildren({\n ...props,\n idScope: idScope,\n dependencies: dependencies\n });\n let doc = (0, $95feo$useContext)($e1995378a142960e$var$CollectionDocumentContext);\n if (doc) children = /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionRoot, null, children);\n // Propagate dependencies and idScope to child collections.\n ctx = (0, $95feo$useMemo)(()=>({\n dependencies: dependencies,\n idScope: idScope\n }), [\n idScope,\n ...dependencies\n ]);\n return /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionContext.Provider, {\n value: ctx\n }, children);\n}\nfunction $e1995378a142960e$var$CollectionRoot({ children: children }) {\n let doc = (0, $95feo$useContext)($e1995378a142960e$var$CollectionDocumentContext);\n let wrappedChildren = (0, $95feo$useMemo)(()=>/*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionDocumentContext.Provider, {\n value: null\n }, /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$ShallowRenderContext.Provider, {\n value: true\n }, children)), [\n children\n ]);\n // During SSR, we render the content directly, and append nodes to the document during render.\n // The collection children return null so that nothing is actually rendered into the HTML.\n return (0, $95feo$useIsSSR)() ? /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$SSRContext.Provider, {\n value: doc\n }, wrappedChildren) : /*#__PURE__*/ (0, $95feo$createPortal)(wrappedChildren, doc);\n}\n\n\nexport {$e1995378a142960e$export$bf788dd355e3a401 as CollectionBuilder, $e1995378a142960e$export$18af5c7a9e9b3664 as createLeafComponent, $e1995378a142960e$export$e953bb1cd0f19726 as createBranchComponent, $e1995378a142960e$export$fb8073518f34e6ec as Collection};\n//# sourceMappingURL=CollectionBuilder.module.js.map\n","import {useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415} from \"./utils.mjs\";\nimport {createHideableComponent as $kc2Tc$createHideableComponent} from \"@react-aria/collections\";\nimport $kc2Tc$react, {createContext as $kc2Tc$createContext} 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 $01b77f81d0f07f68$export$75b6ee27786ba447 = /*#__PURE__*/ (0, $kc2Tc$createContext)({});\nconst $01b77f81d0f07f68$export$b04be29aa201d4f5 = /*#__PURE__*/ (0, $kc2Tc$createHideableComponent)(function Label(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $01b77f81d0f07f68$export$75b6ee27786ba447);\n let { elementType: ElementType = 'label', ...labelProps } = props;\n // @ts-ignore\n return /*#__PURE__*/ (0, $kc2Tc$react).createElement(ElementType, {\n className: \"react-aria-Label\",\n ...labelProps,\n ref: ref\n });\n});\n\n\nexport {$01b77f81d0f07f68$export$75b6ee27786ba447 as LabelContext, $01b77f81d0f07f68$export$b04be29aa201d4f5 as Label};\n//# sourceMappingURL=Label.module.js.map\n","import {useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3, useSlot as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8} from \"./utils.mjs\";\nimport {LabelContext as $01b77f81d0f07f68$export$75b6ee27786ba447} from \"./Label.mjs\";\nimport {useProgressBar as $hU2kz$useProgressBar} from \"react-aria\";\nimport {clamp as $hU2kz$clamp} from \"@react-stately/utils\";\nimport $hU2kz$react, {createContext as $hU2kz$createContext, forwardRef as $hU2kz$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\n\n\n\nconst $0393f8ab869a0f1a$export$e9f3bf65a26ce129 = /*#__PURE__*/ (0, $hU2kz$createContext)(null);\nconst $0393f8ab869a0f1a$export$c17561cb55d4db30 = /*#__PURE__*/ (0, $hU2kz$forwardRef)(function ProgressBar(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $0393f8ab869a0f1a$export$e9f3bf65a26ce129);\n let { value: value = 0, minValue: minValue = 0, maxValue: maxValue = 100, isIndeterminate: isIndeterminate = false } = props;\n value = (0, $hU2kz$clamp)(value, minValue, maxValue);\n let [labelRef, label] = (0, $64fa3d84918910a7$export$9d4c57ee4c6ffdd8)();\n let { progressBarProps: progressBarProps, labelProps: labelProps } = (0, $hU2kz$useProgressBar)({\n ...props,\n label: label\n });\n // Calculate the width of the progress bar as a percentage\n let percentage = isIndeterminate ? undefined : (value - minValue) / (maxValue - minValue) * 100;\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-ProgressBar',\n values: {\n percentage: percentage,\n valueText: progressBarProps['aria-valuetext'],\n isIndeterminate: isIndeterminate\n }\n });\n return /*#__PURE__*/ (0, $hU2kz$react).createElement(\"div\", {\n ...progressBarProps,\n ...renderProps,\n ref: ref,\n slot: props.slot || undefined\n }, /*#__PURE__*/ (0, $hU2kz$react).createElement((0, $01b77f81d0f07f68$export$75b6ee27786ba447).Provider, {\n value: {\n ...labelProps,\n ref: labelRef,\n elementType: 'span'\n }\n }, renderProps.children));\n});\n\n\nexport {$0393f8ab869a0f1a$export$e9f3bf65a26ce129 as ProgressBarContext, $0393f8ab869a0f1a$export$c17561cb55d4db30 as ProgressBar};\n//# sourceMappingURL=ProgressBar.module.js.map\n","import {useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {ProgressBarContext as $0393f8ab869a0f1a$export$e9f3bf65a26ce129} from \"./ProgressBar.mjs\";\nimport {announce as $fM325$announce} from \"@react-aria/live-announcer\";\nimport {useButton as $fM325$useButton, useFocusRing as $fM325$useFocusRing, useHover as $fM325$useHover, useId as $fM325$useId, mergeProps as $fM325$mergeProps} from \"react-aria\";\nimport {createHideableComponent as $fM325$createHideableComponent} from \"@react-aria/collections\";\nimport {filterDOMProps as $fM325$filterDOMProps} from \"@react-aria/utils\";\nimport $fM325$react, {createContext as $fM325$createContext, useRef as $fM325$useRef, useEffect as $fM325$useEffect} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\nconst $d2b4bc8c273e7be6$var$additionalButtonHTMLAttributes = new Set([\n 'form',\n 'formAction',\n 'formEncType',\n 'formMethod',\n 'formNoValidate',\n 'formTarget',\n 'name',\n 'value'\n]);\nconst $d2b4bc8c273e7be6$export$24d547caef80ccd1 = /*#__PURE__*/ (0, $fM325$createContext)({});\nconst $d2b4bc8c273e7be6$export$353f5b6fc5456de1 = /*#__PURE__*/ (0, $fM325$createHideableComponent)(function Button(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $d2b4bc8c273e7be6$export$24d547caef80ccd1);\n props = $d2b4bc8c273e7be6$var$disablePendingProps(props);\n let ctx = props;\n let { isPending: isPending } = ctx;\n let { buttonProps: buttonProps, isPressed: isPressed } = (0, $fM325$useButton)(props, ref);\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $fM325$useFocusRing)(props);\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $fM325$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 !== null && isPending !== void 0 ? isPending : false\n };\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n values: renderValues,\n defaultClassName: 'react-aria-Button'\n });\n let buttonId = (0, $fM325$useId)(buttonProps.id);\n let progressId = (0, $fM325$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, $fM325$useRef)(isPending);\n (0, $fM325$useEffect)(()=>{\n let message = {\n 'aria-labelledby': ariaLabelledby || buttonId\n };\n if (!wasPending.current && isFocused && isPending) (0, $fM325$announce)(message, 'assertive');\n else if (wasPending.current && isFocused && !isPending) (0, $fM325$announce)(message, 'assertive');\n wasPending.current = isPending;\n }, [\n isPending,\n isFocused,\n ariaLabelledby,\n buttonId\n ]);\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 return /*#__PURE__*/ (0, $fM325$react).createElement(\"button\", {\n ...(0, $fM325$filterDOMProps)(props, {\n propNames: $d2b4bc8c273e7be6$var$additionalButtonHTMLAttributes\n }),\n ...(0, $fM325$mergeProps)(buttonProps, focusProps, hoverProps),\n ...renderProps,\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, $fM325$react).createElement((0, $0393f8ab869a0f1a$export$e9f3bf65a26ce129).Provider, {\n value: {\n id: progressId\n }\n }, renderProps.children));\n});\nfunction $d2b4bc8c273e7be6$var$disablePendingProps(props) {\n // Don't allow interaction while isPending is true\n if (props.isPending) {\n props.onPress = undefined;\n props.onPressStart = undefined;\n props.onPressEnd = undefined;\n props.onPressChange = undefined;\n props.onPressUp = undefined;\n props.onKeyDown = undefined;\n props.onKeyUp = undefined;\n props.onClick = undefined;\n props.href = undefined;\n }\n return props;\n}\n\n\nexport {$d2b4bc8c273e7be6$export$24d547caef80ccd1 as ButtonContext, $d2b4bc8c273e7be6$export$353f5b6fc5456de1 as Button};\n//# sourceMappingURL=Button.module.js.map\n","import {useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415} from \"./utils.mjs\";\nimport $1B3Dx$react, {createContext as $1B3Dx$createContext, forwardRef as $1B3Dx$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 $514c0188e459b4c0$export$9afb8bc826b033ea = /*#__PURE__*/ (0, $1B3Dx$createContext)({});\nconst $514c0188e459b4c0$export$5f1af8db9871e1d6 = /*#__PURE__*/ (0, $1B3Dx$forwardRef)(function Text(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $514c0188e459b4c0$export$9afb8bc826b033ea);\n let { elementType: ElementType = 'span', ...domProps } = props;\n // @ts-ignore\n return /*#__PURE__*/ (0, $1B3Dx$react).createElement(ElementType, {\n className: \"react-aria-Text\",\n ...domProps,\n ref: ref\n });\n});\n\n\nexport {$514c0188e459b4c0$export$9afb8bc826b033ea as TextContext, $514c0188e459b4c0$export$5f1af8db9871e1d6 as Text};\n//# sourceMappingURL=Text.module.js.map\n","import {useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {Text as $514c0188e459b4c0$export$5f1af8db9871e1d6} from \"./Text.mjs\";\nimport {filterDOMProps as $hnYyE$filterDOMProps} from \"@react-aria/utils\";\nimport $hnYyE$react, {createContext as $hnYyE$createContext, forwardRef as $hnYyE$forwardRef, useContext as $hnYyE$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\n\nconst $ee014567cb39d3f0$export$ff05c3ac10437e03 = /*#__PURE__*/ (0, $hnYyE$createContext)(null);\nconst $ee014567cb39d3f0$export$f551688fc98f2e09 = /*#__PURE__*/ (0, $hnYyE$forwardRef)(function FieldError(props, ref) {\n let validation = (0, $hnYyE$useContext)($ee014567cb39d3f0$export$ff05c3ac10437e03);\n if (!(validation === null || validation === void 0 ? void 0 : validation.isInvalid)) return null;\n return /*#__PURE__*/ (0, $hnYyE$react).createElement($ee014567cb39d3f0$var$FieldErrorInner, {\n ...props,\n ref: ref\n });\n});\nconst $ee014567cb39d3f0$var$FieldErrorInner = /*#__PURE__*/ (0, $hnYyE$forwardRef)((props, ref)=>{\n let validation = (0, $hnYyE$useContext)($ee014567cb39d3f0$export$ff05c3ac10437e03);\n let domProps = (0, $hnYyE$filterDOMProps)(props);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-FieldError',\n defaultChildren: validation.validationErrors.length === 0 ? undefined : validation.validationErrors.join(' '),\n values: validation\n });\n if (renderProps.children == null) return null;\n return /*#__PURE__*/ (0, $hnYyE$react).createElement((0, $514c0188e459b4c0$export$5f1af8db9871e1d6), {\n slot: \"errorMessage\",\n ...domProps,\n ...renderProps,\n ref: ref\n });\n});\n\n\nexport {$ee014567cb39d3f0$export$ff05c3ac10437e03 as FieldErrorContext, $ee014567cb39d3f0$export$f551688fc98f2e09 as FieldError};\n//# sourceMappingURL=FieldError.module.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 */ class $a02d57049d202695$export$d085fb9e920b5ca7 {\n *[Symbol.iterator]() {\n yield* this.iterable;\n }\n get size() {\n return this.keyMap.size;\n }\n getKeys() {\n return this.keyMap.keys();\n }\n getKeyBefore(key) {\n let node = this.keyMap.get(key);\n var _node_prevKey;\n return node ? (_node_prevKey = node.prevKey) !== null && _node_prevKey !== void 0 ? _node_prevKey : null : null;\n }\n getKeyAfter(key) {\n let node = this.keyMap.get(key);\n var _node_nextKey;\n return node ? (_node_nextKey = node.nextKey) !== null && _node_nextKey !== void 0 ? _node_nextKey : null : null;\n }\n getFirstKey() {\n return this.firstKey;\n }\n getLastKey() {\n return this.lastKey;\n }\n getItem(key) {\n var _this_keyMap_get;\n return (_this_keyMap_get = this.keyMap.get(key)) !== null && _this_keyMap_get !== void 0 ? _this_keyMap_get : null;\n }\n at(idx) {\n const keys = [\n ...this.getKeys()\n ];\n return this.getItem(keys[idx]);\n }\n getChildren(key) {\n let node = this.keyMap.get(key);\n return (node === null || node === void 0 ? void 0 : node.childNodes) || [];\n }\n constructor(nodes){\n this.keyMap = new Map();\n this.firstKey = null;\n this.lastKey = null;\n this.iterable = nodes;\n let visit = (node)=>{\n this.keyMap.set(node.key, node);\n if (node.childNodes && node.type === 'section') for (let child of node.childNodes)visit(child);\n };\n for (let node of nodes)visit(node);\n let last = null;\n let index = 0;\n for (let [key, node] of this.keyMap){\n if (last) {\n last.nextKey = key;\n node.prevKey = last.key;\n } else {\n this.firstKey = key;\n node.prevKey = undefined;\n }\n if (node.type === 'item') node.index = index++;\n last = node;\n // Set nextKey as undefined since this might be the last node\n // If it isn't the last node, last.nextKey will properly set at start of new loop\n last.nextKey = undefined;\n }\n var _last_key;\n this.lastKey = (_last_key = last === null || last === void 0 ? void 0 : last.key) !== null && _last_key !== void 0 ? _last_key : null;\n }\n}\n\n\nexport {$a02d57049d202695$export$d085fb9e920b5ca7 as ListCollection};\n//# sourceMappingURL=ListCollection.module.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 */ class $e40ea825a81a3709$export$52baac22726c72bf extends Set {\n constructor(keys, anchorKey, currentKey){\n super(keys);\n if (keys instanceof $e40ea825a81a3709$export$52baac22726c72bf) {\n this.anchorKey = anchorKey !== null && anchorKey !== void 0 ? anchorKey : keys.anchorKey;\n this.currentKey = currentKey !== null && currentKey !== void 0 ? currentKey : keys.currentKey;\n } else {\n this.anchorKey = anchorKey !== null && anchorKey !== void 0 ? anchorKey : null;\n this.currentKey = currentKey !== null && currentKey !== void 0 ? currentKey : null;\n }\n }\n}\n\n\nexport {$e40ea825a81a3709$export$52baac22726c72bf as Selection};\n//# sourceMappingURL=Selection.module.js.map\n","import {Selection as $e40ea825a81a3709$export$52baac22726c72bf} from \"./Selection.mjs\";\nimport {useControlledState as $6tM1y$useControlledState} from \"@react-stately/utils\";\nimport {useRef as $6tM1y$useRef, useState as $6tM1y$useState, useMemo as $6tM1y$useMemo, useEffect as $6tM1y$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\nfunction $7af3f5b51489e0b5$var$equalSets(setA, setB) {\n if (setA.size !== setB.size) return false;\n for (let item of setA){\n if (!setB.has(item)) return false;\n }\n return true;\n}\nfunction $7af3f5b51489e0b5$export$253fe78d46329472(props) {\n let { selectionMode: selectionMode = 'none', disallowEmptySelection: disallowEmptySelection = false, allowDuplicateSelectionEvents: allowDuplicateSelectionEvents, selectionBehavior: selectionBehaviorProp = 'toggle', disabledBehavior: disabledBehavior = 'all' } = props;\n // We want synchronous updates to `isFocused` and `focusedKey` after their setters are called.\n // But we also need to trigger a react re-render. So, we have both a ref (sync) and state (async).\n let isFocusedRef = (0, $6tM1y$useRef)(false);\n let [, setFocused] = (0, $6tM1y$useState)(false);\n let focusedKeyRef = (0, $6tM1y$useRef)(null);\n let childFocusStrategyRef = (0, $6tM1y$useRef)(null);\n let [, setFocusedKey] = (0, $6tM1y$useState)(null);\n let selectedKeysProp = (0, $6tM1y$useMemo)(()=>$7af3f5b51489e0b5$var$convertSelection(props.selectedKeys), [\n props.selectedKeys\n ]);\n let defaultSelectedKeys = (0, $6tM1y$useMemo)(()=>$7af3f5b51489e0b5$var$convertSelection(props.defaultSelectedKeys, new (0, $e40ea825a81a3709$export$52baac22726c72bf)()), [\n props.defaultSelectedKeys\n ]);\n let [selectedKeys, setSelectedKeys] = (0, $6tM1y$useControlledState)(selectedKeysProp, defaultSelectedKeys, props.onSelectionChange);\n let disabledKeysProp = (0, $6tM1y$useMemo)(()=>props.disabledKeys ? new Set(props.disabledKeys) : new Set(), [\n props.disabledKeys\n ]);\n let [selectionBehavior, setSelectionBehavior] = (0, $6tM1y$useState)(selectionBehaviorProp);\n // If the selectionBehavior prop is set to replace, but the current state is toggle (e.g. due to long press\n // to enter selection mode on touch), and the selection becomes empty, reset the selection behavior.\n if (selectionBehaviorProp === 'replace' && selectionBehavior === 'toggle' && typeof selectedKeys === 'object' && selectedKeys.size === 0) setSelectionBehavior('replace');\n // If the selectionBehavior prop changes, update the state as well.\n let lastSelectionBehavior = (0, $6tM1y$useRef)(selectionBehaviorProp);\n (0, $6tM1y$useEffect)(()=>{\n if (selectionBehaviorProp !== lastSelectionBehavior.current) {\n setSelectionBehavior(selectionBehaviorProp);\n lastSelectionBehavior.current = selectionBehaviorProp;\n }\n }, [\n selectionBehaviorProp\n ]);\n return {\n selectionMode: selectionMode,\n disallowEmptySelection: disallowEmptySelection,\n selectionBehavior: selectionBehavior,\n setSelectionBehavior: setSelectionBehavior,\n get isFocused () {\n return isFocusedRef.current;\n },\n setFocused (f) {\n isFocusedRef.current = f;\n setFocused(f);\n },\n get focusedKey () {\n return focusedKeyRef.current;\n },\n get childFocusStrategy () {\n return childFocusStrategyRef.current;\n },\n setFocusedKey (k, childFocusStrategy = 'first') {\n focusedKeyRef.current = k;\n childFocusStrategyRef.current = childFocusStrategy;\n setFocusedKey(k);\n },\n selectedKeys: selectedKeys,\n setSelectedKeys (keys) {\n if (allowDuplicateSelectionEvents || !$7af3f5b51489e0b5$var$equalSets(keys, selectedKeys)) setSelectedKeys(keys);\n },\n disabledKeys: disabledKeysProp,\n disabledBehavior: disabledBehavior\n };\n}\nfunction $7af3f5b51489e0b5$var$convertSelection(selection, defaultValue) {\n if (!selection) return defaultValue;\n return selection === 'all' ? 'all' : new (0, $e40ea825a81a3709$export$52baac22726c72bf)(selection);\n}\n\n\nexport {$7af3f5b51489e0b5$export$253fe78d46329472 as useMultipleSelectionState};\n//# sourceMappingURL=useMultipleSelectionState.module.js.map\n","import {Selection as $e40ea825a81a3709$export$52baac22726c72bf} from \"./Selection.mjs\";\nimport {compareNodeOrder as $jkhUT$compareNodeOrder, getFirstItem as $jkhUT$getFirstItem, getChildNodes as $jkhUT$getChildNodes} from \"@react-stately/collections\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nclass $d496c0a20b6e58ec$export$6c8a5aaad13c9852 {\n /**\n * The type of selection that is allowed in the collection.\n */ get selectionMode() {\n return this.state.selectionMode;\n }\n /**\n * Whether the collection allows empty selection.\n */ get disallowEmptySelection() {\n return this.state.disallowEmptySelection;\n }\n /**\n * The selection behavior for the collection.\n */ get selectionBehavior() {\n return this.state.selectionBehavior;\n }\n /**\n * Sets the selection behavior for the collection.\n */ setSelectionBehavior(selectionBehavior) {\n this.state.setSelectionBehavior(selectionBehavior);\n }\n /**\n * Whether the collection is currently focused.\n */ get isFocused() {\n return this.state.isFocused;\n }\n /**\n * Sets whether the collection is focused.\n */ setFocused(isFocused) {\n this.state.setFocused(isFocused);\n }\n /**\n * The current focused key in the collection.\n */ get focusedKey() {\n return this.state.focusedKey;\n }\n /** Whether the first or last child of the focused key should receive focus. */ get childFocusStrategy() {\n return this.state.childFocusStrategy;\n }\n /**\n * Sets the focused key.\n */ setFocusedKey(key, childFocusStrategy) {\n if (key == null || this.collection.getItem(key)) this.state.setFocusedKey(key, childFocusStrategy);\n }\n /**\n * The currently selected keys in the collection.\n */ get selectedKeys() {\n return this.state.selectedKeys === 'all' ? new Set(this.getSelectAllKeys()) : this.state.selectedKeys;\n }\n /**\n * The raw selection value for the collection.\n * Either 'all' for select all, or a set of keys.\n */ get rawSelection() {\n return this.state.selectedKeys;\n }\n /**\n * Returns whether a key is selected.\n */ isSelected(key) {\n if (this.state.selectionMode === 'none') return false;\n let mappedKey = this.getKey(key);\n if (mappedKey == null) return false;\n return this.state.selectedKeys === 'all' ? this.canSelectItem(mappedKey) : this.state.selectedKeys.has(mappedKey);\n }\n /**\n * Whether the selection is empty.\n */ get isEmpty() {\n return this.state.selectedKeys !== 'all' && this.state.selectedKeys.size === 0;\n }\n /**\n * Whether all items in the collection are selected.\n */ get isSelectAll() {\n if (this.isEmpty) return false;\n if (this.state.selectedKeys === 'all') return true;\n if (this._isSelectAll != null) return this._isSelectAll;\n let allKeys = this.getSelectAllKeys();\n let selectedKeys = this.state.selectedKeys;\n this._isSelectAll = allKeys.every((k)=>selectedKeys.has(k));\n return this._isSelectAll;\n }\n get firstSelectedKey() {\n let first = null;\n for (let key of this.state.selectedKeys){\n let item = this.collection.getItem(key);\n if (!first || item && (0, $jkhUT$compareNodeOrder)(this.collection, item, first) < 0) first = item;\n }\n var _first_key;\n return (_first_key = first === null || first === void 0 ? void 0 : first.key) !== null && _first_key !== void 0 ? _first_key : null;\n }\n get lastSelectedKey() {\n let last = null;\n for (let key of this.state.selectedKeys){\n let item = this.collection.getItem(key);\n if (!last || item && (0, $jkhUT$compareNodeOrder)(this.collection, item, last) > 0) last = item;\n }\n var _last_key;\n return (_last_key = last === null || last === void 0 ? void 0 : last.key) !== null && _last_key !== void 0 ? _last_key : null;\n }\n get disabledKeys() {\n return this.state.disabledKeys;\n }\n get disabledBehavior() {\n return this.state.disabledBehavior;\n }\n /**\n * Extends the selection to the given key.\n */ extendSelection(toKey) {\n if (this.selectionMode === 'none') return;\n if (this.selectionMode === 'single') {\n this.replaceSelection(toKey);\n return;\n }\n let mappedToKey = this.getKey(toKey);\n if (mappedToKey == null) return;\n let selection;\n // Only select the one key if coming from a select all.\n if (this.state.selectedKeys === 'all') selection = new (0, $e40ea825a81a3709$export$52baac22726c72bf)([\n mappedToKey\n ], mappedToKey, mappedToKey);\n else {\n let selectedKeys = this.state.selectedKeys;\n var _selectedKeys_anchorKey;\n let anchorKey = (_selectedKeys_anchorKey = selectedKeys.anchorKey) !== null && _selectedKeys_anchorKey !== void 0 ? _selectedKeys_anchorKey : mappedToKey;\n selection = new (0, $e40ea825a81a3709$export$52baac22726c72bf)(selectedKeys, anchorKey, mappedToKey);\n var _selectedKeys_currentKey;\n for (let key of this.getKeyRange(anchorKey, (_selectedKeys_currentKey = selectedKeys.currentKey) !== null && _selectedKeys_currentKey !== void 0 ? _selectedKeys_currentKey : mappedToKey))selection.delete(key);\n for (let key of this.getKeyRange(mappedToKey, anchorKey))if (this.canSelectItem(key)) selection.add(key);\n }\n this.state.setSelectedKeys(selection);\n }\n getKeyRange(from, to) {\n let fromItem = this.collection.getItem(from);\n let toItem = this.collection.getItem(to);\n if (fromItem && toItem) {\n if ((0, $jkhUT$compareNodeOrder)(this.collection, fromItem, toItem) <= 0) return this.getKeyRangeInternal(from, to);\n return this.getKeyRangeInternal(to, from);\n }\n return [];\n }\n getKeyRangeInternal(from, to) {\n var _this_layoutDelegate;\n if ((_this_layoutDelegate = this.layoutDelegate) === null || _this_layoutDelegate === void 0 ? void 0 : _this_layoutDelegate.getKeyRange) return this.layoutDelegate.getKeyRange(from, to);\n let keys = [];\n let key = from;\n while(key != null){\n let item = this.collection.getItem(key);\n if (item && (item.type === 'item' || item.type === 'cell' && this.allowsCellSelection)) keys.push(key);\n if (key === to) return keys;\n key = this.collection.getKeyAfter(key);\n }\n return [];\n }\n getKey(key) {\n let item = this.collection.getItem(key);\n if (!item) // ¯\\_(ツ)_/¯\n return key;\n // If cell selection is allowed, just return the key.\n if (item.type === 'cell' && this.allowsCellSelection) return key;\n // Find a parent item to select\n while(item && item.type !== 'item' && item.parentKey != null)item = this.collection.getItem(item.parentKey);\n if (!item || item.type !== 'item') return null;\n return item.key;\n }\n /**\n * Toggles whether the given key is selected.\n */ toggleSelection(key) {\n if (this.selectionMode === 'none') return;\n if (this.selectionMode === 'single' && !this.isSelected(key)) {\n this.replaceSelection(key);\n return;\n }\n let mappedKey = this.getKey(key);\n if (mappedKey == null) return;\n let keys = new (0, $e40ea825a81a3709$export$52baac22726c72bf)(this.state.selectedKeys === 'all' ? this.getSelectAllKeys() : this.state.selectedKeys);\n if (keys.has(mappedKey)) keys.delete(mappedKey);\n else if (this.canSelectItem(mappedKey)) {\n keys.add(mappedKey);\n keys.anchorKey = mappedKey;\n keys.currentKey = mappedKey;\n }\n if (this.disallowEmptySelection && keys.size === 0) return;\n this.state.setSelectedKeys(keys);\n }\n /**\n * Replaces the selection with only the given key.\n */ replaceSelection(key) {\n if (this.selectionMode === 'none') return;\n let mappedKey = this.getKey(key);\n if (mappedKey == null) return;\n let selection = this.canSelectItem(mappedKey) ? new (0, $e40ea825a81a3709$export$52baac22726c72bf)([\n mappedKey\n ], mappedKey, mappedKey) : new (0, $e40ea825a81a3709$export$52baac22726c72bf)();\n this.state.setSelectedKeys(selection);\n }\n /**\n * Replaces the selection with the given keys.\n */ setSelectedKeys(keys) {\n if (this.selectionMode === 'none') return;\n let selection = new (0, $e40ea825a81a3709$export$52baac22726c72bf)();\n for (let key of keys){\n let mappedKey = this.getKey(key);\n if (mappedKey != null) {\n selection.add(mappedKey);\n if (this.selectionMode === 'single') break;\n }\n }\n this.state.setSelectedKeys(selection);\n }\n getSelectAllKeys() {\n let keys = [];\n let addKeys = (key)=>{\n while(key != null){\n if (this.canSelectItem(key)) {\n var _getFirstItem;\n let item = this.collection.getItem(key);\n if ((item === null || item === void 0 ? void 0 : item.type) === 'item') keys.push(key);\n var _getFirstItem_key;\n // Add child keys. If cell selection is allowed, then include item children too.\n if ((item === null || item === void 0 ? void 0 : item.hasChildNodes) && (this.allowsCellSelection || item.type !== 'item')) addKeys((_getFirstItem_key = (_getFirstItem = (0, $jkhUT$getFirstItem)((0, $jkhUT$getChildNodes)(item, this.collection))) === null || _getFirstItem === void 0 ? void 0 : _getFirstItem.key) !== null && _getFirstItem_key !== void 0 ? _getFirstItem_key : null);\n }\n key = this.collection.getKeyAfter(key);\n }\n };\n addKeys(this.collection.getFirstKey());\n return keys;\n }\n /**\n * Selects all items in the collection.\n */ selectAll() {\n if (!this.isSelectAll && this.selectionMode === 'multiple') this.state.setSelectedKeys('all');\n }\n /**\n * Removes all keys from the selection.\n */ clearSelection() {\n if (!this.disallowEmptySelection && (this.state.selectedKeys === 'all' || this.state.selectedKeys.size > 0)) this.state.setSelectedKeys(new (0, $e40ea825a81a3709$export$52baac22726c72bf)());\n }\n /**\n * Toggles between select all and an empty selection.\n */ toggleSelectAll() {\n if (this.isSelectAll) this.clearSelection();\n else this.selectAll();\n }\n select(key, e) {\n if (this.selectionMode === 'none') return;\n if (this.selectionMode === 'single') {\n if (this.isSelected(key) && !this.disallowEmptySelection) this.toggleSelection(key);\n else this.replaceSelection(key);\n } else if (this.selectionBehavior === 'toggle' || e && (e.pointerType === 'touch' || e.pointerType === 'virtual')) // if touch or virtual (VO) then we just want to toggle, otherwise it's impossible to multi select because they don't have modifier keys\n this.toggleSelection(key);\n else this.replaceSelection(key);\n }\n /**\n * Returns whether the current selection is equal to the given selection.\n */ isSelectionEqual(selection) {\n if (selection === this.state.selectedKeys) return true;\n // Check if the set of keys match.\n let selectedKeys = this.selectedKeys;\n if (selection.size !== selectedKeys.size) return false;\n for (let key of selection){\n if (!selectedKeys.has(key)) return false;\n }\n for (let key of selectedKeys){\n if (!selection.has(key)) return false;\n }\n return true;\n }\n canSelectItem(key) {\n var _item_props;\n if (this.state.selectionMode === 'none' || this.state.disabledKeys.has(key)) return false;\n let item = this.collection.getItem(key);\n if (!item || (item === null || item === void 0 ? void 0 : (_item_props = item.props) === null || _item_props === void 0 ? void 0 : _item_props.isDisabled) || item.type === 'cell' && !this.allowsCellSelection) return false;\n return true;\n }\n isDisabled(key) {\n var _this_collection_getItem_props, _this_collection_getItem;\n return this.state.disabledBehavior === 'all' && (this.state.disabledKeys.has(key) || !!((_this_collection_getItem = this.collection.getItem(key)) === null || _this_collection_getItem === void 0 ? void 0 : (_this_collection_getItem_props = _this_collection_getItem.props) === null || _this_collection_getItem_props === void 0 ? void 0 : _this_collection_getItem_props.isDisabled));\n }\n isLink(key) {\n var _this_collection_getItem_props, _this_collection_getItem;\n return !!((_this_collection_getItem = this.collection.getItem(key)) === null || _this_collection_getItem === void 0 ? void 0 : (_this_collection_getItem_props = _this_collection_getItem.props) === null || _this_collection_getItem_props === void 0 ? void 0 : _this_collection_getItem_props.href);\n }\n getItemProps(key) {\n var _this_collection_getItem;\n return (_this_collection_getItem = this.collection.getItem(key)) === null || _this_collection_getItem === void 0 ? void 0 : _this_collection_getItem.props;\n }\n constructor(collection, state, options){\n this.collection = collection;\n this.state = state;\n var _options_allowsCellSelection;\n this.allowsCellSelection = (_options_allowsCellSelection = options === null || options === void 0 ? void 0 : options.allowsCellSelection) !== null && _options_allowsCellSelection !== void 0 ? _options_allowsCellSelection : false;\n this._isSelectAll = null;\n this.layoutDelegate = (options === null || options === void 0 ? void 0 : options.layoutDelegate) || null;\n }\n}\n\n\nexport {$d496c0a20b6e58ec$export$6c8a5aaad13c9852 as SelectionManager};\n//# sourceMappingURL=SelectionManager.module.js.map\n","import {ListCollection as $a02d57049d202695$export$d085fb9e920b5ca7} from \"./ListCollection.mjs\";\nimport {useMultipleSelectionState as $d5vlZ$useMultipleSelectionState, SelectionManager as $d5vlZ$SelectionManager} from \"@react-stately/selection\";\nimport {useMemo as $d5vlZ$useMemo, useCallback as $d5vlZ$useCallback, useRef as $d5vlZ$useRef, useEffect as $d5vlZ$useEffect} from \"react\";\nimport {useCollection as $d5vlZ$useCollection} from \"@react-stately/collections\";\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 $e72dd72e1c76a225$export$2f645645f7bca764(props) {\n let { filter: filter, layoutDelegate: layoutDelegate } = props;\n let selectionState = (0, $d5vlZ$useMultipleSelectionState)(props);\n let disabledKeys = (0, $d5vlZ$useMemo)(()=>props.disabledKeys ? new Set(props.disabledKeys) : new Set(), [\n props.disabledKeys\n ]);\n let factory = (0, $d5vlZ$useCallback)((nodes)=>filter ? new (0, $a02d57049d202695$export$d085fb9e920b5ca7)(filter(nodes)) : new (0, $a02d57049d202695$export$d085fb9e920b5ca7)(nodes), [\n filter\n ]);\n let context = (0, $d5vlZ$useMemo)(()=>({\n suppressTextValueWarning: props.suppressTextValueWarning\n }), [\n props.suppressTextValueWarning\n ]);\n let collection = (0, $d5vlZ$useCollection)(props, factory, context);\n let selectionManager = (0, $d5vlZ$useMemo)(()=>new (0, $d5vlZ$SelectionManager)(collection, selectionState, {\n layoutDelegate: layoutDelegate\n }), [\n collection,\n selectionState,\n layoutDelegate\n ]);\n // Reset focused key if that item is deleted from the collection.\n const cachedCollection = (0, $d5vlZ$useRef)(null);\n (0, $d5vlZ$useEffect)(()=>{\n if (selectionState.focusedKey != null && !collection.getItem(selectionState.focusedKey) && cachedCollection.current) {\n const startItem = cachedCollection.current.getItem(selectionState.focusedKey);\n const cachedItemNodes = [\n ...cachedCollection.current.getKeys()\n ].map((key)=>{\n const itemNode = cachedCollection.current.getItem(key);\n return (itemNode === null || itemNode === void 0 ? void 0 : itemNode.type) === 'item' ? itemNode : null;\n }).filter((node)=>node !== null);\n const itemNodes = [\n ...collection.getKeys()\n ].map((key)=>{\n const itemNode = collection.getItem(key);\n return (itemNode === null || itemNode === void 0 ? void 0 : itemNode.type) === 'item' ? itemNode : null;\n }).filter((node)=>node !== null);\n var _cachedItemNodes_length, _itemNodes_length;\n const diff = ((_cachedItemNodes_length = cachedItemNodes === null || cachedItemNodes === void 0 ? void 0 : cachedItemNodes.length) !== null && _cachedItemNodes_length !== void 0 ? _cachedItemNodes_length : 0) - ((_itemNodes_length = itemNodes === null || itemNodes === void 0 ? void 0 : itemNodes.length) !== null && _itemNodes_length !== void 0 ? _itemNodes_length : 0);\n var _startItem_index, _startItem_index1, _itemNodes_length1;\n let index = Math.min(diff > 1 ? Math.max(((_startItem_index = startItem === null || startItem === void 0 ? void 0 : startItem.index) !== null && _startItem_index !== void 0 ? _startItem_index : 0) - diff + 1, 0) : (_startItem_index1 = startItem === null || startItem === void 0 ? void 0 : startItem.index) !== null && _startItem_index1 !== void 0 ? _startItem_index1 : 0, ((_itemNodes_length1 = itemNodes === null || itemNodes === void 0 ? void 0 : itemNodes.length) !== null && _itemNodes_length1 !== void 0 ? _itemNodes_length1 : 0) - 1);\n let newNode = null;\n let isReverseSearching = false;\n while(index >= 0){\n if (!selectionManager.isDisabled(itemNodes[index].key)) {\n newNode = itemNodes[index];\n break;\n }\n // Find next, not disabled item.\n if (index < itemNodes.length - 1 && !isReverseSearching) index++;\n else {\n isReverseSearching = true;\n var _startItem_index2, _startItem_index3;\n if (index > ((_startItem_index2 = startItem === null || startItem === void 0 ? void 0 : startItem.index) !== null && _startItem_index2 !== void 0 ? _startItem_index2 : 0)) index = (_startItem_index3 = startItem === null || startItem === void 0 ? void 0 : startItem.index) !== null && _startItem_index3 !== void 0 ? _startItem_index3 : 0;\n index--;\n }\n }\n selectionState.setFocusedKey(newNode ? newNode.key : null);\n }\n cachedCollection.current = collection;\n }, [\n collection,\n selectionManager,\n selectionState,\n selectionState.focusedKey\n ]);\n return {\n collection: collection,\n disabledKeys: disabledKeys,\n selectionManager: selectionManager\n };\n}\n\n\nexport {$e72dd72e1c76a225$export$2f645645f7bca764 as useListState};\n//# sourceMappingURL=useListState.module.js.map\n","import {useListState as $e72dd72e1c76a225$export$2f645645f7bca764} from \"./useListState.mjs\";\nimport {useControlledState as $eBozH$useControlledState} from \"@react-stately/utils\";\nimport {useMemo as $eBozH$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\nfunction $a0d645289fe9b86b$export$e7f05e985daf4b5f(props) {\n var _props_defaultSelectedKey;\n let [selectedKey, setSelectedKey] = (0, $eBozH$useControlledState)(props.selectedKey, (_props_defaultSelectedKey = props.defaultSelectedKey) !== null && _props_defaultSelectedKey !== void 0 ? _props_defaultSelectedKey : null, props.onSelectionChange);\n let selectedKeys = (0, $eBozH$useMemo)(()=>selectedKey != null ? [\n selectedKey\n ] : [], [\n selectedKey\n ]);\n let { collection: collection, disabledKeys: disabledKeys, selectionManager: selectionManager } = (0, $e72dd72e1c76a225$export$2f645645f7bca764)({\n ...props,\n selectionMode: 'single',\n disallowEmptySelection: true,\n allowDuplicateSelectionEvents: true,\n selectedKeys: selectedKeys,\n onSelectionChange: (keys)=>{\n // impossible, but TS doesn't know that\n if (keys === 'all') return;\n var _keys_values_next_value;\n let key = (_keys_values_next_value = keys.values().next().value) !== null && _keys_values_next_value !== void 0 ? _keys_values_next_value : null;\n // Always fire onSelectionChange, even if the key is the same\n // as the current key (useControlledState does not).\n if (key === selectedKey && props.onSelectionChange) props.onSelectionChange(key);\n setSelectedKey(key);\n }\n });\n let selectedItem = selectedKey != null ? collection.getItem(selectedKey) : null;\n return {\n collection: collection,\n disabledKeys: disabledKeys,\n selectionManager: selectionManager,\n selectedKey: selectedKey,\n setSelectedKey: setSelectedKey,\n selectedItem: selectedItem\n };\n}\n\n\nexport {$a0d645289fe9b86b$export$e7f05e985daf4b5f as useSingleSelectListState};\n//# sourceMappingURL=useSingleSelectListState.module.js.map\n","import {useCallback as $hnMvi$useCallback} from \"react\";\nimport {useControlledState as $hnMvi$useControlledState} from \"@react-stately/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $fc909762b330b746$export$61c6a8c84e605fb6(props) {\n let [isOpen, setOpen] = (0, $hnMvi$useControlledState)(props.isOpen, props.defaultOpen || false, props.onOpenChange);\n const open = (0, $hnMvi$useCallback)(()=>{\n setOpen(true);\n }, [\n setOpen\n ]);\n const close = (0, $hnMvi$useCallback)(()=>{\n setOpen(false);\n }, [\n setOpen\n ]);\n const toggle = (0, $hnMvi$useCallback)(()=>{\n setOpen(!isOpen);\n }, [\n setOpen,\n isOpen\n ]);\n return {\n isOpen: isOpen,\n setOpen: setOpen,\n open: open,\n close: close,\n toggle: toggle\n };\n}\n\n\nexport {$fc909762b330b746$export$61c6a8c84e605fb6 as useOverlayTriggerState};\n//# sourceMappingURL=useOverlayTriggerState.module.js.map\n","import {useCallback as $acGV5$useCallback} from \"react\";\nimport {useControlledState as $acGV5$useControlledState} from \"@react-stately/utils\";\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 */ \n\nfunction $bf996d45f4a36925$export$3fcbf6e4407997e0(props) {\n let [isExpanded, setExpanded] = (0, $acGV5$useControlledState)(props.isExpanded, props.defaultExpanded || false, props.onExpandedChange);\n const expand = (0, $acGV5$useCallback)(()=>{\n setExpanded(true);\n }, [\n setExpanded\n ]);\n const collapse = (0, $acGV5$useCallback)(()=>{\n setExpanded(false);\n }, [\n setExpanded\n ]);\n const toggle = (0, $acGV5$useCallback)(()=>{\n setExpanded(!isExpanded);\n }, [\n setExpanded,\n isExpanded\n ]);\n return {\n isExpanded: isExpanded,\n setExpanded: setExpanded,\n expand: expand,\n collapse: collapse,\n toggle: toggle\n };\n}\n\n\nexport {$bf996d45f4a36925$export$3fcbf6e4407997e0 as useDisclosureState};\n//# sourceMappingURL=useDisclosureState.module.js.map\n","import {useControlledState as $j4gLc$useControlledState} from \"@react-stately/utils\";\nimport {useMemo as $j4gLc$useMemo, useEffect as $j4gLc$useEffect} from \"react\";\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 */ \n\nfunction $9385b3affbdec831$export$f36461af0ef4707d(props) {\n let { allowsMultipleExpanded: allowsMultipleExpanded = false, isDisabled: isDisabled = false } = props;\n let [expandedKeys, setExpandedKeys] = (0, $j4gLc$useControlledState)((0, $j4gLc$useMemo)(()=>props.expandedKeys ? new Set(props.expandedKeys) : undefined, [\n props.expandedKeys\n ]), (0, $j4gLc$useMemo)(()=>props.defaultExpandedKeys ? new Set(props.defaultExpandedKeys) : new Set(), [\n props.defaultExpandedKeys\n ]), props.onExpandedChange);\n (0, $j4gLc$useEffect)(()=>{\n // Ensure only one item is expanded if allowsMultipleExpanded is false.\n if (!allowsMultipleExpanded && expandedKeys.size > 1) setExpandedKeys(new Set([\n expandedKeys.values().next().value\n ]));\n });\n return {\n allowsMultipleExpanded: allowsMultipleExpanded,\n isDisabled: isDisabled,\n expandedKeys: expandedKeys,\n setExpandedKeys: setExpandedKeys,\n toggleKey (key) {\n let keys;\n if (allowsMultipleExpanded) {\n keys = new Set(expandedKeys);\n if (keys.has(key)) keys.delete(key);\n else keys.add(key);\n } else keys = new Set(expandedKeys.has(key) ? [] : [\n key\n ]);\n setExpandedKeys(keys);\n }\n };\n}\n\n\nexport {$9385b3affbdec831$export$f36461af0ef4707d as useDisclosureGroupState};\n//# sourceMappingURL=useDisclosureGroupState.module.js.map\n","import {useOverlayTriggerState as $8bn9m$useOverlayTriggerState} from \"@react-stately/overlays\";\nimport {useState as $8bn9m$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\nfunction $a28c903ee9ad8dc5$export$79fefeb1c2091ac3(props) {\n let overlayTriggerState = (0, $8bn9m$useOverlayTriggerState)(props);\n let [focusStrategy, setFocusStrategy] = (0, $8bn9m$useState)(null);\n let [expandedKeysStack, setExpandedKeysStack] = (0, $8bn9m$useState)([]);\n let closeAll = ()=>{\n setExpandedKeysStack([]);\n overlayTriggerState.close();\n };\n let openSubmenu = (triggerKey, level)=>{\n setExpandedKeysStack((oldStack)=>{\n if (level > oldStack.length) return oldStack;\n return [\n ...oldStack.slice(0, level),\n triggerKey\n ];\n });\n };\n let closeSubmenu = (triggerKey, level)=>{\n setExpandedKeysStack((oldStack)=>{\n let key = oldStack[level];\n if (key === triggerKey) return oldStack.slice(0, level);\n else return oldStack;\n });\n };\n return {\n focusStrategy: focusStrategy,\n ...overlayTriggerState,\n open (focusStrategy = null) {\n setFocusStrategy(focusStrategy);\n overlayTriggerState.open();\n },\n toggle (focusStrategy = null) {\n setFocusStrategy(focusStrategy);\n overlayTriggerState.toggle();\n },\n close () {\n closeAll();\n },\n expandedKeysStack: expandedKeysStack,\n openSubmenu: openSubmenu,\n closeSubmenu: closeSubmenu\n };\n}\n\n\nexport {$a28c903ee9ad8dc5$export$79fefeb1c2091ac3 as useMenuTriggerState};\n//# sourceMappingURL=useMenuTriggerState.module.js.map\n","import {useFormValidationState as $6FfNf$useFormValidationState} from \"@react-stately/form\";\nimport {useOverlayTriggerState as $6FfNf$useOverlayTriggerState} from \"@react-stately/overlays\";\nimport {useSingleSelectListState as $6FfNf$useSingleSelectListState} from \"@react-stately/list\";\nimport {useState as $6FfNf$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 $2bc3a590c5373a4e$export$5159ec8b34d4ec12(props) {\n let triggerState = (0, $6FfNf$useOverlayTriggerState)(props);\n let [focusStrategy, setFocusStrategy] = (0, $6FfNf$useState)(null);\n let listState = (0, $6FfNf$useSingleSelectListState)({\n ...props,\n onSelectionChange: (key)=>{\n if (props.onSelectionChange != null) props.onSelectionChange(key);\n triggerState.close();\n validationState.commitValidation();\n }\n });\n let validationState = (0, $6FfNf$useFormValidationState)({\n ...props,\n value: listState.selectedKey\n });\n let [isFocused, setFocused] = (0, $6FfNf$useState)(false);\n return {\n ...validationState,\n ...listState,\n ...triggerState,\n focusStrategy: focusStrategy,\n open (focusStrategy = null) {\n // Don't open if the collection is empty.\n if (listState.collection.size !== 0) {\n setFocusStrategy(focusStrategy);\n triggerState.open();\n }\n },\n toggle (focusStrategy = null) {\n if (listState.collection.size !== 0) {\n setFocusStrategy(focusStrategy);\n triggerState.toggle();\n }\n },\n isFocused: isFocused,\n setFocused: setFocused\n };\n}\n\n\nexport {$2bc3a590c5373a4e$export$5159ec8b34d4ec12 as useSelectState};\n//# sourceMappingURL=useSelectState.module.js.map\n","import {useMemo as $50cCT$useMemo, useRef as $50cCT$useRef, useEffect as $50cCT$useEffect} from \"react\";\nimport {useOverlayTriggerState as $50cCT$useOverlayTriggerState} from \"@react-stately/overlays\";\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 $8796f90736e175cb$var$TOOLTIP_DELAY = 1500; // this seems to be a 1.5 second delay, check with design\nconst $8796f90736e175cb$var$TOOLTIP_COOLDOWN = 500;\nlet $8796f90736e175cb$var$tooltips = {};\nlet $8796f90736e175cb$var$tooltipId = 0;\nlet $8796f90736e175cb$var$globalWarmedUp = false;\nlet $8796f90736e175cb$var$globalWarmUpTimeout = null;\nlet $8796f90736e175cb$var$globalCooldownTimeout = null;\nfunction $8796f90736e175cb$export$4d40659c25ecb50b(props = {}) {\n let { delay: delay = $8796f90736e175cb$var$TOOLTIP_DELAY, closeDelay: closeDelay = $8796f90736e175cb$var$TOOLTIP_COOLDOWN } = props;\n let { isOpen: isOpen, open: open, close: close } = (0, $50cCT$useOverlayTriggerState)(props);\n let id = (0, $50cCT$useMemo)(()=>`${++$8796f90736e175cb$var$tooltipId}`, []);\n let closeTimeout = (0, $50cCT$useRef)(null);\n let closeCallback = (0, $50cCT$useRef)(close);\n let ensureTooltipEntry = ()=>{\n $8796f90736e175cb$var$tooltips[id] = hideTooltip;\n };\n let closeOpenTooltips = ()=>{\n for(let hideTooltipId in $8796f90736e175cb$var$tooltips)if (hideTooltipId !== id) {\n $8796f90736e175cb$var$tooltips[hideTooltipId](true);\n delete $8796f90736e175cb$var$tooltips[hideTooltipId];\n }\n };\n let showTooltip = ()=>{\n if (closeTimeout.current) clearTimeout(closeTimeout.current);\n closeTimeout.current = null;\n closeOpenTooltips();\n ensureTooltipEntry();\n $8796f90736e175cb$var$globalWarmedUp = true;\n open();\n if ($8796f90736e175cb$var$globalWarmUpTimeout) {\n clearTimeout($8796f90736e175cb$var$globalWarmUpTimeout);\n $8796f90736e175cb$var$globalWarmUpTimeout = null;\n }\n if ($8796f90736e175cb$var$globalCooldownTimeout) {\n clearTimeout($8796f90736e175cb$var$globalCooldownTimeout);\n $8796f90736e175cb$var$globalCooldownTimeout = null;\n }\n };\n let hideTooltip = (immediate)=>{\n if (immediate || closeDelay <= 0) {\n if (closeTimeout.current) clearTimeout(closeTimeout.current);\n closeTimeout.current = null;\n closeCallback.current();\n } else if (!closeTimeout.current) closeTimeout.current = setTimeout(()=>{\n closeTimeout.current = null;\n closeCallback.current();\n }, closeDelay);\n if ($8796f90736e175cb$var$globalWarmUpTimeout) {\n clearTimeout($8796f90736e175cb$var$globalWarmUpTimeout);\n $8796f90736e175cb$var$globalWarmUpTimeout = null;\n }\n if ($8796f90736e175cb$var$globalWarmedUp) {\n if ($8796f90736e175cb$var$globalCooldownTimeout) clearTimeout($8796f90736e175cb$var$globalCooldownTimeout);\n $8796f90736e175cb$var$globalCooldownTimeout = setTimeout(()=>{\n delete $8796f90736e175cb$var$tooltips[id];\n $8796f90736e175cb$var$globalCooldownTimeout = null;\n $8796f90736e175cb$var$globalWarmedUp = false;\n }, Math.max($8796f90736e175cb$var$TOOLTIP_COOLDOWN, closeDelay));\n }\n };\n let warmupTooltip = ()=>{\n closeOpenTooltips();\n ensureTooltipEntry();\n if (!isOpen && !$8796f90736e175cb$var$globalWarmUpTimeout && !$8796f90736e175cb$var$globalWarmedUp) $8796f90736e175cb$var$globalWarmUpTimeout = setTimeout(()=>{\n $8796f90736e175cb$var$globalWarmUpTimeout = null;\n $8796f90736e175cb$var$globalWarmedUp = true;\n showTooltip();\n }, delay);\n else if (!isOpen) showTooltip();\n };\n (0, $50cCT$useEffect)(()=>{\n closeCallback.current = close;\n }, [\n close\n ]);\n (0, $50cCT$useEffect)(()=>{\n return ()=>{\n if (closeTimeout.current) clearTimeout(closeTimeout.current);\n let tooltip = $8796f90736e175cb$var$tooltips[id];\n if (tooltip) delete $8796f90736e175cb$var$tooltips[id];\n };\n }, [\n id\n ]);\n return {\n isOpen: isOpen,\n open: (immediate)=>{\n if (!immediate && delay > 0 && !closeTimeout.current) warmupTooltip();\n else showTooltip();\n },\n close: hideTooltip\n };\n}\n\n\nexport {$8796f90736e175cb$export$4d40659c25ecb50b as useTooltipTriggerState};\n//# sourceMappingURL=useTooltipTriggerState.module.js.map\n","import {useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415} from \"./utils.mjs\";\nimport {FormValidationContext as $j6ya4$FormValidationContext} from \"react-stately\";\nimport $j6ya4$react, {createContext as $j6ya4$createContext, forwardRef as $j6ya4$forwardRef} 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 $d3e0e05bdfcf66bd$export$c24727297075ec6a = /*#__PURE__*/ (0, $j6ya4$createContext)(null);\nconst $d3e0e05bdfcf66bd$export$a7fed597f4b8afd8 = /*#__PURE__*/ (0, $j6ya4$forwardRef)(function Form(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $d3e0e05bdfcf66bd$export$c24727297075ec6a);\n let { validationErrors: validationErrors, validationBehavior: validationBehavior = 'native', children: children, className: className, ...domProps } = props;\n return /*#__PURE__*/ (0, $j6ya4$react).createElement(\"form\", {\n noValidate: validationBehavior !== 'native',\n ...domProps,\n ref: ref,\n className: className || 'react-aria-Form'\n }, /*#__PURE__*/ (0, $j6ya4$react).createElement($d3e0e05bdfcf66bd$export$c24727297075ec6a.Provider, {\n value: {\n ...props,\n validationBehavior: validationBehavior\n }\n }, /*#__PURE__*/ (0, $j6ya4$react).createElement((0, $j6ya4$FormValidationContext).Provider, {\n value: validationErrors !== null && validationErrors !== void 0 ? validationErrors : {}\n }, children)));\n});\n\n\nexport {$d3e0e05bdfcf66bd$export$c24727297075ec6a as FormContext, $d3e0e05bdfcf66bd$export$a7fed597f4b8afd8 as Form};\n//# sourceMappingURL=Form.module.js.map\n","import {useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {createHideableComponent as $jMZTB$createHideableComponent} from \"@react-aria/collections\";\nimport {useHover as $jMZTB$useHover, useFocusRing as $jMZTB$useFocusRing, mergeProps as $jMZTB$mergeProps} from \"react-aria\";\nimport $jMZTB$react, {createContext as $jMZTB$createContext} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nconst $3985021b0ad6602f$export$37fb8590cf2c088c = /*#__PURE__*/ (0, $jMZTB$createContext)({});\nlet $3985021b0ad6602f$var$filterHoverProps = (props)=>{\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n let { onHoverStart: onHoverStart, onHoverChange: onHoverChange, onHoverEnd: onHoverEnd, ...otherProps } = props;\n return otherProps;\n};\nconst $3985021b0ad6602f$export$f5b8910cec6cf069 = /*#__PURE__*/ (0, $jMZTB$createHideableComponent)(function Input(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $3985021b0ad6602f$export$37fb8590cf2c088c);\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $jMZTB$useHover)(props);\n let { isFocused: isFocused, isFocusVisible: isFocusVisible, focusProps: focusProps } = (0, $jMZTB$useFocusRing)({\n isTextInput: true,\n autoFocus: props.autoFocus\n });\n let isInvalid = !!props['aria-invalid'] && props['aria-invalid'] !== 'false';\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n values: {\n isHovered: isHovered,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n isDisabled: props.disabled || false,\n isInvalid: isInvalid\n },\n defaultClassName: 'react-aria-Input'\n });\n return /*#__PURE__*/ (0, $jMZTB$react).createElement(\"input\", {\n ...(0, $jMZTB$mergeProps)($3985021b0ad6602f$var$filterHoverProps(props), focusProps, hoverProps),\n ...renderProps,\n ref: ref,\n \"data-focused\": isFocused || undefined,\n \"data-disabled\": props.disabled || undefined,\n \"data-hovered\": isHovered || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-invalid\": isInvalid || undefined\n });\n});\n\n\nexport {$3985021b0ad6602f$export$37fb8590cf2c088c as InputContext, $3985021b0ad6602f$export$f5b8910cec6cf069 as Input};\n//# sourceMappingURL=Input.module.js.map\n","import {useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {useHover as $9Usiy$useHover, useFocusRing as $9Usiy$useFocusRing, mergeProps as $9Usiy$mergeProps} from \"react-aria\";\nimport $9Usiy$react, {createContext as $9Usiy$createContext, forwardRef as $9Usiy$forwardRef} from \"react\";\n\n\n\n\nconst $216918bed6669f72$export$2dc6166a7e65358c = /*#__PURE__*/ (0, $9Usiy$createContext)({});\nlet $216918bed6669f72$var$filterHoverProps = (props)=>{\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n let { onHoverStart: onHoverStart, onHoverChange: onHoverChange, onHoverEnd: onHoverEnd, ...otherProps } = props;\n return otherProps;\n};\nconst $216918bed6669f72$export$f5c9f3c2c4054eec = /*#__PURE__*/ (0, $9Usiy$forwardRef)(function TextArea(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $216918bed6669f72$export$2dc6166a7e65358c);\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $9Usiy$useHover)(props);\n let { isFocused: isFocused, isFocusVisible: isFocusVisible, focusProps: focusProps } = (0, $9Usiy$useFocusRing)({\n isTextInput: true,\n autoFocus: props.autoFocus\n });\n let isInvalid = !!props['aria-invalid'] && props['aria-invalid'] !== 'false';\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n values: {\n isHovered: isHovered,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n isDisabled: props.disabled || false,\n isInvalid: isInvalid\n },\n defaultClassName: 'react-aria-TextArea'\n });\n return /*#__PURE__*/ (0, $9Usiy$react).createElement(\"textarea\", {\n ...(0, $9Usiy$mergeProps)($216918bed6669f72$var$filterHoverProps(props), focusProps, hoverProps),\n ...renderProps,\n ref: ref,\n \"data-focused\": isFocused || undefined,\n \"data-disabled\": props.disabled || undefined,\n \"data-hovered\": isHovered || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-invalid\": isInvalid || undefined\n });\n});\n\n\nexport {$216918bed6669f72$export$2dc6166a7e65358c as TextAreaContext, $216918bed6669f72$export$f5c9f3c2c4054eec as TextArea};\n//# sourceMappingURL=TextArea.module.js.map\n","import {Provider as $64fa3d84918910a7$export$2881499e37b75b9a, removeDataAttributes as $64fa3d84918910a7$export$ef03459518577ad4, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3, useSlot as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, useSlottedContext as $64fa3d84918910a7$export$fabf2dc03a41866e} from \"./utils.mjs\";\nimport {FieldErrorContext as $ee014567cb39d3f0$export$ff05c3ac10437e03} from \"./FieldError.mjs\";\nimport {FormContext as $d3e0e05bdfcf66bd$export$c24727297075ec6a} from \"./Form.mjs\";\nimport {InputContext as $3985021b0ad6602f$export$37fb8590cf2c088c} from \"./Input.mjs\";\nimport {LabelContext as $01b77f81d0f07f68$export$75b6ee27786ba447} from \"./Label.mjs\";\nimport {TextAreaContext as $216918bed6669f72$export$2dc6166a7e65358c} from \"./TextArea.mjs\";\nimport {TextContext as $514c0188e459b4c0$export$9afb8bc826b033ea} from \"./Text.mjs\";\nimport {useTextField as $jmnGn$useTextField} from \"react-aria\";\nimport {filterDOMProps as $jmnGn$filterDOMProps, mergeProps as $jmnGn$mergeProps} from \"@react-aria/utils\";\nimport $jmnGn$react, {createContext as $jmnGn$createContext, forwardRef as $jmnGn$forwardRef, useRef as $jmnGn$useRef, useState as $jmnGn$useState, useCallback as $jmnGn$useCallback} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\nconst $bcdf0525bf22703d$export$2129e27b3ef0d483 = /*#__PURE__*/ (0, $jmnGn$createContext)(null);\nconst $bcdf0525bf22703d$export$2c73285ae9390cec = /*#__PURE__*/ (0, $jmnGn$forwardRef)(function TextField(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $bcdf0525bf22703d$export$2129e27b3ef0d483);\n let { validationBehavior: formValidationBehavior } = (0, $64fa3d84918910a7$export$fabf2dc03a41866e)((0, $d3e0e05bdfcf66bd$export$c24727297075ec6a)) || {};\n var _props_validationBehavior, _ref;\n let validationBehavior = (_ref = (_props_validationBehavior = props.validationBehavior) !== null && _props_validationBehavior !== void 0 ? _props_validationBehavior : formValidationBehavior) !== null && _ref !== void 0 ? _ref : 'native';\n let inputRef = (0, $jmnGn$useRef)(null);\n let [inputContextProps, mergedInputRef] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)({}, inputRef, (0, $3985021b0ad6602f$export$37fb8590cf2c088c));\n let [labelRef, label] = (0, $64fa3d84918910a7$export$9d4c57ee4c6ffdd8)();\n let [inputElementType, setInputElementType] = (0, $jmnGn$useState)('input');\n let { labelProps: labelProps, inputProps: inputProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps, ...validation } = (0, $jmnGn$useTextField)({\n ...(0, $64fa3d84918910a7$export$ef03459518577ad4)(props),\n inputElementType: inputElementType,\n label: label,\n validationBehavior: validationBehavior\n }, mergedInputRef);\n // Intercept setting the input ref so we can determine what kind of element we have.\n // useTextField uses this to determine what props to include.\n let inputOrTextAreaRef = (0, $jmnGn$useCallback)((el)=>{\n mergedInputRef.current = el;\n if (el) setInputElementType(el instanceof HTMLTextAreaElement ? 'textarea' : 'input');\n }, [\n mergedInputRef\n ]);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n values: {\n isDisabled: props.isDisabled || false,\n isInvalid: validation.isInvalid,\n isReadOnly: props.isReadOnly || false,\n isRequired: props.isRequired || false\n },\n defaultClassName: 'react-aria-TextField'\n });\n let DOMProps = (0, $jmnGn$filterDOMProps)(props);\n delete DOMProps.id;\n return /*#__PURE__*/ (0, $jmnGn$react).createElement(\"div\", {\n ...DOMProps,\n ...renderProps,\n ref: ref,\n slot: props.slot || undefined,\n \"data-disabled\": props.isDisabled || undefined,\n \"data-invalid\": validation.isInvalid || undefined,\n \"data-readonly\": props.isReadOnly || undefined,\n \"data-required\": props.isRequired || undefined\n }, /*#__PURE__*/ (0, $jmnGn$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n (0, $01b77f81d0f07f68$export$75b6ee27786ba447),\n {\n ...labelProps,\n ref: labelRef\n }\n ],\n [\n (0, $3985021b0ad6602f$export$37fb8590cf2c088c),\n {\n ...(0, $jmnGn$mergeProps)(inputProps, inputContextProps),\n ref: inputOrTextAreaRef\n }\n ],\n [\n (0, $216918bed6669f72$export$2dc6166a7e65358c),\n {\n ...inputProps,\n ref: inputOrTextAreaRef\n }\n ],\n [\n (0, $514c0188e459b4c0$export$9afb8bc826b033ea),\n {\n slots: {\n description: descriptionProps,\n errorMessage: errorMessageProps\n }\n }\n ],\n [\n (0, $ee014567cb39d3f0$export$ff05c3ac10437e03),\n validation\n ]\n ]\n }, renderProps.children));\n});\n\n\nexport {$bcdf0525bf22703d$export$2129e27b3ef0d483 as TextFieldContext, $bcdf0525bf22703d$export$2c73285ae9390cec as TextField};\n//# sourceMappingURL=TextField.module.js.map\n","import {Provider as $64fa3d84918910a7$export$2881499e37b75b9a, removeDataAttributes as $64fa3d84918910a7$export$ef03459518577ad4, useSlottedContext as $64fa3d84918910a7$export$fabf2dc03a41866e} from \"./utils.mjs\";\nimport {SearchFieldContext as $440f4836bcb56932$export$d1c4e4c63cb03a11} from \"./SearchField.mjs\";\nimport {TextFieldContext as $bcdf0525bf22703d$export$2129e27b3ef0d483} from \"./TextField.mjs\";\nimport {UNSTABLE_useAutocomplete as $llkzs$UNSTABLE_useAutocomplete} from \"@react-aria/autocomplete\";\nimport {UNSTABLE_useAutocompleteState as $llkzs$UNSTABLE_useAutocompleteState} from \"@react-stately/autocomplete\";\nimport {mergeProps as $llkzs$mergeProps} from \"@react-aria/utils\";\nimport $llkzs$react, {createContext as $llkzs$createContext, useRef as $llkzs$useRef} from \"react\";\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 */ \n\n\n\n\n\n\nconst $d2f53cda644affe3$export$4581e569cc48eb6b = /*#__PURE__*/ (0, $llkzs$createContext)(null);\nconst $d2f53cda644affe3$export$879ad50d6ce9688 = /*#__PURE__*/ (0, $llkzs$createContext)(null);\nconst $d2f53cda644affe3$export$65d2a03b8800d6e3 = /*#__PURE__*/ (0, $llkzs$createContext)(null);\nfunction $d2f53cda644affe3$export$d834fde4e1147cd8(props) {\n let ctx = (0, $64fa3d84918910a7$export$fabf2dc03a41866e)($d2f53cda644affe3$export$4581e569cc48eb6b, props.slot);\n props = (0, $llkzs$mergeProps)(ctx, props);\n let { filter: filter } = props;\n let state = (0, $llkzs$UNSTABLE_useAutocompleteState)(props);\n let collectionRef = (0, $llkzs$useRef)(null);\n let { textFieldProps: textFieldProps, collectionProps: collectionProps, collectionRef: mergedCollectionRef, filterFn: filterFn } = (0, $llkzs$UNSTABLE_useAutocomplete)({\n ...(0, $64fa3d84918910a7$export$ef03459518577ad4)(props),\n filter: filter,\n collectionRef: collectionRef\n }, state);\n return /*#__PURE__*/ (0, $llkzs$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $d2f53cda644affe3$export$879ad50d6ce9688,\n state\n ],\n [\n (0, $440f4836bcb56932$export$d1c4e4c63cb03a11),\n textFieldProps\n ],\n [\n (0, $bcdf0525bf22703d$export$2129e27b3ef0d483),\n textFieldProps\n ],\n [\n $d2f53cda644affe3$export$65d2a03b8800d6e3,\n {\n filterFn: filterFn,\n collectionProps: collectionProps,\n collectionRef: mergedCollectionRef\n }\n ]\n ]\n }, props.children);\n}\n\n\nexport {$d2f53cda644affe3$export$4581e569cc48eb6b as UNSTABLE_AutocompleteContext, $d2f53cda644affe3$export$879ad50d6ce9688 as UNSTABLE_AutocompleteStateContext, $d2f53cda644affe3$export$65d2a03b8800d6e3 as UNSTABLE_InternalAutocompleteContext, $d2f53cda644affe3$export$d834fde4e1147cd8 as UNSTABLE_Autocomplete};\n//# sourceMappingURL=Autocomplete.module.js.map\n","import {createBranchComponent as $18I52$createBranchComponent, useCachedChildren as $18I52$useCachedChildren} from \"@react-aria/collections\";\nimport $18I52$react, {createContext as $18I52$createContext, useContext as $18I52$useContext, useMemo as $18I52$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\nconst $7135fc7d473fd974$export$d40e14dec8b060a8 = /*#__PURE__*/ (0, $18I52$createContext)(null);\nconst $7135fc7d473fd974$export$6e2c8f0811a474ce = /*#__PURE__*/ (0, $18I52$createBranchComponent)('section', (props, ref, section)=>{\n let { name: name, render: render } = (0, $18I52$useContext)($7135fc7d473fd974$export$d40e14dec8b060a8);\n console.warn(`<Section> is deprecated. Please use <${name}> instead.`);\n return render(props, ref, section, 'react-aria-Section');\n});\nconst $7135fc7d473fd974$export$a164736487e3f0ae = {\n CollectionRoot ({ collection: collection, renderDropIndicator: renderDropIndicator }) {\n return $7135fc7d473fd974$var$useCollectionRender(collection, null, renderDropIndicator);\n },\n CollectionBranch ({ collection: collection, parent: parent, renderDropIndicator: renderDropIndicator }) {\n return $7135fc7d473fd974$var$useCollectionRender(collection, parent, renderDropIndicator);\n }\n};\nfunction $7135fc7d473fd974$var$useCollectionRender(collection, parent, renderDropIndicator) {\n return (0, $18I52$useCachedChildren)({\n items: parent ? collection.getChildren(parent.key) : collection,\n dependencies: [\n renderDropIndicator\n ],\n children (node) {\n var _collection_getItem;\n let rendered = node.render(node);\n if (!renderDropIndicator || node.type !== 'item') return rendered;\n let key = node.key;\n let keyAfter = collection.getKeyAfter(key);\n return /*#__PURE__*/ (0, $18I52$react).createElement((0, $18I52$react).Fragment, null, renderDropIndicator({\n type: 'item',\n key: key,\n dropPosition: 'before'\n }), rendered, (keyAfter == null || ((_collection_getItem = collection.getItem(keyAfter)) === null || _collection_getItem === void 0 ? void 0 : _collection_getItem.type) !== 'item') && renderDropIndicator({\n type: 'item',\n key: key,\n dropPosition: 'after'\n }));\n }\n });\n}\nconst $7135fc7d473fd974$export$4feb769f8ddf26c5 = /*#__PURE__*/ (0, $18I52$createContext)($7135fc7d473fd974$export$a164736487e3f0ae);\nfunction $7135fc7d473fd974$export$90e00781bc59d8f9(focusedKey) {\n return (0, $18I52$useMemo)(()=>focusedKey != null ? new Set([\n focusedKey\n ]) : null, [\n focusedKey\n ]);\n}\n\n\nexport {$7135fc7d473fd974$export$d40e14dec8b060a8 as SectionContext, $7135fc7d473fd974$export$6e2c8f0811a474ce as Section, $7135fc7d473fd974$export$a164736487e3f0ae as DefaultCollectionRenderer, $7135fc7d473fd974$export$4feb769f8ddf26c5 as CollectionRendererContext, $7135fc7d473fd974$export$90e00781bc59d8f9 as usePersistedKeys};\n//# sourceMappingURL=Collection.module.js.map\n","var $e038a7e7a6d81989$exports = {};\n$e038a7e7a6d81989$exports = {\n \"colorSwatchPicker\": `\\u{62A}\\u{63A}\\u{64A}\\u{64A}\\u{631}\\u{627}\\u{62A} \\u{627}\\u{644}\\u{623}\\u{644}\\u{648}\\u{627}\\u{646}`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `\\u{62D}\\u{62F}\\u{62F} \\u{639}\\u{646}\\u{635}\\u{631}\\u{64B}\\u{627}`,\n \"tableResizer\": `\\u{623}\\u{62F}\\u{627}\\u{629} \\u{62A}\\u{63A}\\u{64A}\\u{64A}\\u{631} \\u{627}\\u{644}\\u{62D}\\u{62C}\\u{645}`\n};\n\n\nexport {$e038a7e7a6d81989$exports as default};\n//# sourceMappingURL=ar-AE.module.js.map\n","var $0ec14741b0133644$exports = {};\n$0ec14741b0133644$exports = {\n \"colorSwatchPicker\": `\\u{426}\\u{432}\\u{435}\\u{442}\\u{43E}\\u{432}\\u{438} \\u{43C}\\u{43E}\\u{441}\\u{442}\\u{440}\\u{438}`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `\\u{418}\\u{437}\\u{431}\\u{435}\\u{440}\\u{435}\\u{442}\\u{435} \\u{43F}\\u{440}\\u{435}\\u{434}\\u{43C}\\u{435}\\u{442}`,\n \"tableResizer\": `\\u{41F}\\u{440}\\u{435}\\u{43E}\\u{440}\\u{430}\\u{437}\\u{43C}\\u{435}\\u{440}\\u{438}\\u{442}\\u{435}\\u{43B}`\n};\n\n\nexport {$0ec14741b0133644$exports as default};\n//# sourceMappingURL=bg-BG.module.js.map\n","var $642f7badf2405784$exports = {};\n$642f7badf2405784$exports = {\n \"colorSwatchPicker\": `Vzorky barev`,\n \"dropzoneLabel\": `M\\xedsto pro p\\u{159}eta\\u{17E}en\\xed`,\n \"selectPlaceholder\": `Vyberte polo\\u{17E}ku`,\n \"tableResizer\": `Zm\\u{11B}na velikosti`\n};\n\n\nexport {$642f7badf2405784$exports as default};\n//# sourceMappingURL=cs-CZ.module.js.map\n","var $30cee8d2535734ec$exports = {};\n$30cee8d2535734ec$exports = {\n \"colorSwatchPicker\": `Farvepr\\xf8ver`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `V\\xe6lg et element`,\n \"tableResizer\": `St\\xf8rrelses\\xe6ndring`\n};\n\n\nexport {$30cee8d2535734ec$exports as default};\n//# sourceMappingURL=da-DK.module.js.map\n","var $c302d0504fca332a$exports = {};\n$c302d0504fca332a$exports = {\n \"colorSwatchPicker\": `Farbfelder`,\n \"dropzoneLabel\": `Ablegebereich`,\n \"selectPlaceholder\": `Element w\\xe4hlen`,\n \"tableResizer\": `Gr\\xf6\\xdfenanpassung`\n};\n\n\nexport {$c302d0504fca332a$exports as default};\n//# sourceMappingURL=de-DE.module.js.map\n","var $0d0703f2bd7e421c$exports = {};\n$0d0703f2bd7e421c$exports = {\n \"colorSwatchPicker\": `\\u{3A7}\\u{3C1}\\u{3C9}\\u{3BC}\\u{3B1}\\u{3C4}\\u{3B9}\\u{3BA}\\u{3AC} \\u{3B4}\\u{3B5}\\u{3AF}\\u{3B3}\\u{3BC}\\u{3B1}\\u{3C4}\\u{3B1}`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `\\u{395}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3AD}\\u{3BE}\\u{3C4}\\u{3B5} \\u{3AD}\\u{3BD}\\u{3B1} \\u{3B1}\\u{3BD}\\u{3C4}\\u{3B9}\\u{3BA}\\u{3B5}\\u{3AF}\\u{3BC}\\u{3B5}\\u{3BD}\\u{3BF}`,\n \"tableResizer\": `\\u{391}\\u{3BB}\\u{3BB}\\u{3B1}\\u{3B3}\\u{3AE} \\u{3BC}\\u{3B5}\\u{3B3}\\u{3AD}\\u{3B8}\\u{3BF}\\u{3C5}\\u{3C2}`\n};\n\n\nexport {$0d0703f2bd7e421c$exports as default};\n//# sourceMappingURL=el-GR.module.js.map\n","var $cafa55beb2fc5ef3$exports = {};\n$cafa55beb2fc5ef3$exports = {\n \"selectPlaceholder\": `Select an item`,\n \"tableResizer\": `Resizer`,\n \"dropzoneLabel\": `DropZone`,\n \"colorSwatchPicker\": `Color swatches`\n};\n\n\nexport {$cafa55beb2fc5ef3$exports as default};\n//# sourceMappingURL=en-US.module.js.map\n","var $18ac2ceede598103$exports = {};\n$18ac2ceede598103$exports = {\n \"colorSwatchPicker\": `Muestras de colores`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `Seleccionar un art\\xedculo`,\n \"tableResizer\": `Cambiador de tama\\xf1o`\n};\n\n\nexport {$18ac2ceede598103$exports as default};\n//# sourceMappingURL=es-ES.module.js.map\n","var $718705a15b8a633a$exports = {};\n$718705a15b8a633a$exports = {\n \"colorSwatchPicker\": `V\\xe4rvin\\xe4idised`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `Valige \\xfcksus`,\n \"tableResizer\": `Suuruse muutja`\n};\n\n\nexport {$718705a15b8a633a$exports as default};\n//# sourceMappingURL=et-EE.module.js.map\n","var $bf36dae9ecc81ce0$exports = {};\n$bf36dae9ecc81ce0$exports = {\n \"colorSwatchPicker\": `V\\xe4rimallit`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `Valitse kohde`,\n \"tableResizer\": `Koon muuttaja`\n};\n\n\nexport {$bf36dae9ecc81ce0$exports as default};\n//# sourceMappingURL=fi-FI.module.js.map\n","var $0b4828edb010b855$exports = {};\n$0b4828edb010b855$exports = {\n \"colorSwatchPicker\": `\\xc9chantillons de couleurs`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `S\\xe9lectionner un \\xe9l\\xe9ment`,\n \"tableResizer\": `Redimensionneur`\n};\n\n\nexport {$0b4828edb010b855$exports as default};\n//# sourceMappingURL=fr-FR.module.js.map\n","var $0030f210b040e540$exports = {};\n$0030f210b040e540$exports = {\n \"colorSwatchPicker\": `\\u{5D3}\\u{5D5}\\u{5D2}\\u{5DE}\\u{5D9}\\u{5D5}\\u{5EA} \\u{5E6}\\u{5D1}\\u{5E2}`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `\\u{5D1}\\u{5D7}\\u{5E8} \\u{5E4}\\u{5E8}\\u{5D9}\\u{5D8}`,\n \"tableResizer\": `\\u{5E9}\\u{5D9}\\u{5E0}\\u{5D5}\\u{5D9} \\u{5D2}\\u{5D5}\\u{5D3}\\u{5DC}`\n};\n\n\nexport {$0030f210b040e540$exports as default};\n//# sourceMappingURL=he-IL.module.js.map\n","var $1f0ebacf5a0c0fa1$exports = {};\n$1f0ebacf5a0c0fa1$exports = {\n \"colorSwatchPicker\": `Uzorci boja`,\n \"dropzoneLabel\": `Zona spu\\u{161}tanja`,\n \"selectPlaceholder\": `Odaberite stavku`,\n \"tableResizer\": `Promjena veli\\u{10D}ine`\n};\n\n\nexport {$1f0ebacf5a0c0fa1$exports as default};\n//# sourceMappingURL=hr-HR.module.js.map\n","var $3a706ba61f3d6bba$exports = {};\n$3a706ba61f3d6bba$exports = {\n \"colorSwatchPicker\": `Sz\\xednt\\xe1rak`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `V\\xe1lasszon ki egy elemet`,\n \"tableResizer\": `\\xc1tm\\xe9retez\\u{151}`\n};\n\n\nexport {$3a706ba61f3d6bba$exports as default};\n//# sourceMappingURL=hu-HU.module.js.map\n","var $0d17809e74607796$exports = {};\n$0d17809e74607796$exports = {\n \"colorSwatchPicker\": `Campioni di colore`,\n \"dropzoneLabel\": `Zona di rilascio`,\n \"selectPlaceholder\": `Seleziona un elemento`,\n \"tableResizer\": `Ridimensionamento`\n};\n\n\nexport {$0d17809e74607796$exports as default};\n//# sourceMappingURL=it-IT.module.js.map\n","var $65a71f9a56f1398f$exports = {};\n$65a71f9a56f1398f$exports = {\n \"colorSwatchPicker\": `\\u{30AB}\\u{30E9}\\u{30FC}\\u{30B9}\\u{30A6}\\u{30A9}\\u{30C3}\\u{30C1}`,\n \"dropzoneLabel\": `\\u{30C9}\\u{30ED}\\u{30C3}\\u{30D7}\\u{30BE}\\u{30FC}\\u{30F3}`,\n \"selectPlaceholder\": `\\u{9805}\\u{76EE}\\u{3092}\\u{9078}\\u{629E}`,\n \"tableResizer\": `\\u{30B5}\\u{30A4}\\u{30BA}\\u{5909}\\u{66F4}\\u{30C4}\\u{30FC}\\u{30EB}`\n};\n\n\nexport {$65a71f9a56f1398f$exports as default};\n//# sourceMappingURL=ja-JP.module.js.map\n","var $e5efad074a74abef$exports = {};\n$e5efad074a74abef$exports = {\n \"colorSwatchPicker\": `\\u{C0C9}\\u{C0C1} \\u{ACAC}\\u{BCF8}`,\n \"dropzoneLabel\": `\\u{B4DC}\\u{B86D} \\u{C601}\\u{C5ED}`,\n \"selectPlaceholder\": `\\u{D56D}\\u{BAA9} \\u{C120}\\u{D0DD}`,\n \"tableResizer\": `\\u{D06C}\\u{AE30} \\u{C870}\\u{C815}\\u{AE30}`\n};\n\n\nexport {$e5efad074a74abef$exports as default};\n//# sourceMappingURL=ko-KR.module.js.map\n","var $d70c2a849e55c607$exports = {};\n$d70c2a849e55c607$exports = {\n \"colorSwatchPicker\": `Spalv\\u{173} pavyzd\\u{17E}iai`,\n \"dropzoneLabel\": `\\u{201E}DropZone\\u{201C}`,\n \"selectPlaceholder\": `Pasirinkite element\\u{105}`,\n \"tableResizer\": `Dyd\\u{17E}io keitiklis`\n};\n\n\nexport {$d70c2a849e55c607$exports as default};\n//# sourceMappingURL=lt-LT.module.js.map\n","var $009bbbb440d0e907$exports = {};\n$009bbbb440d0e907$exports = {\n \"colorSwatchPicker\": `Kr\\u{101}su paraugi`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `Izv\\u{113}l\\u{113}ties vienumu`,\n \"tableResizer\": `Izm\\u{113}ra main\\u{12B}t\\u{101}js`\n};\n\n\nexport {$009bbbb440d0e907$exports as default};\n//# sourceMappingURL=lv-LV.module.js.map\n","var $9366fe642464ee83$exports = {};\n$9366fe642464ee83$exports = {\n \"colorSwatchPicker\": `Fargekart`,\n \"dropzoneLabel\": `Droppsone`,\n \"selectPlaceholder\": `Velg et element`,\n \"tableResizer\": `St\\xf8rrelsesendrer`\n};\n\n\nexport {$9366fe642464ee83$exports as default};\n//# sourceMappingURL=nb-NO.module.js.map\n","var $62f9bc1f98ea21de$exports = {};\n$62f9bc1f98ea21de$exports = {\n \"colorSwatchPicker\": `kleurstalen`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `Selecteer een item`,\n \"tableResizer\": `Resizer`\n};\n\n\nexport {$62f9bc1f98ea21de$exports as default};\n//# sourceMappingURL=nl-NL.module.js.map\n","var $4ec2e5b6623b1b76$exports = {};\n$4ec2e5b6623b1b76$exports = {\n \"colorSwatchPicker\": `Pr\\xf3bki kolor\\xf3w`,\n \"dropzoneLabel\": `Strefa upuszczania`,\n \"selectPlaceholder\": `Wybierz element`,\n \"tableResizer\": `Zmiana rozmiaru`\n};\n\n\nexport {$4ec2e5b6623b1b76$exports as default};\n//# sourceMappingURL=pl-PL.module.js.map\n","var $e25098e26647cc04$exports = {};\n$e25098e26647cc04$exports = {\n \"colorSwatchPicker\": `Amostras de cores`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `Selecione um item`,\n \"tableResizer\": `Redimensionador`\n};\n\n\nexport {$e25098e26647cc04$exports as default};\n//# sourceMappingURL=pt-BR.module.js.map\n","var $dd39c57d242c8156$exports = {};\n$dd39c57d242c8156$exports = {\n \"colorSwatchPicker\": `Amostras de cores`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `Selecione um item`,\n \"tableResizer\": `Redimensionador`\n};\n\n\nexport {$dd39c57d242c8156$exports as default};\n//# sourceMappingURL=pt-PT.module.js.map\n","var $3b4c1ba5afd57b35$exports = {};\n$3b4c1ba5afd57b35$exports = {\n \"colorSwatchPicker\": `Specimene de culoare`,\n \"dropzoneLabel\": `Zon\\u{103} de plasare`,\n \"selectPlaceholder\": `Selecta\\u{21B}i un element`,\n \"tableResizer\": `Instrument de redimensionare`\n};\n\n\nexport {$3b4c1ba5afd57b35$exports as default};\n//# sourceMappingURL=ro-RO.module.js.map\n","var $a455b2cda79eb746$exports = {};\n$a455b2cda79eb746$exports = {\n \"colorSwatchPicker\": `\\u{426}\\u{432}\\u{435}\\u{442}\\u{43E}\\u{432}\\u{44B}\\u{435} \\u{43E}\\u{431}\\u{440}\\u{430}\\u{437}\\u{446}\\u{44B}`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `\\u{412}\\u{44B}\\u{431}\\u{435}\\u{440}\\u{438}\\u{442}\\u{435} \\u{44D}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442}`,\n \"tableResizer\": `\\u{421}\\u{440}\\u{435}\\u{434}\\u{441}\\u{442}\\u{432}\\u{43E} \\u{438}\\u{437}\\u{43C}\\u{435}\\u{43D}\\u{435}\\u{43D}\\u{438}\\u{44F} \\u{440}\\u{430}\\u{437}\\u{43C}\\u{435}\\u{440}\\u{430}`\n};\n\n\nexport {$a455b2cda79eb746$exports as default};\n//# sourceMappingURL=ru-RU.module.js.map\n","var $b983ca1383d5b960$exports = {};\n$b983ca1383d5b960$exports = {\n \"colorSwatchPicker\": `Vzorkovn\\xedky farieb`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `Vyberte polo\\u{17E}ku`,\n \"tableResizer\": `N\\xe1stroj na zmenu ve\\u{13E}kosti`\n};\n\n\nexport {$b983ca1383d5b960$exports as default};\n//# sourceMappingURL=sk-SK.module.js.map\n","var $32a515ef673b0655$exports = {};\n$32a515ef673b0655$exports = {\n \"colorSwatchPicker\": `Barvne palete`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `Izberite element`,\n \"tableResizer\": `Spreminjanje velikosti`\n};\n\n\nexport {$32a515ef673b0655$exports as default};\n//# sourceMappingURL=sl-SI.module.js.map\n","var $89434176ab35446b$exports = {};\n$89434176ab35446b$exports = {\n \"colorSwatchPicker\": `Uzorci boje`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `Izaberite stavku`,\n \"tableResizer\": `Promena veli\\u{10D}ine`\n};\n\n\nexport {$89434176ab35446b$exports as default};\n//# sourceMappingURL=sr-SP.module.js.map\n","var $727da781aca847f9$exports = {};\n$727da781aca847f9$exports = {\n \"colorSwatchPicker\": `F\\xe4rgrutor`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `V\\xe4lj en artikel`,\n \"tableResizer\": `Storleks\\xe4ndrare`\n};\n\n\nexport {$727da781aca847f9$exports as default};\n//# sourceMappingURL=sv-SE.module.js.map\n","var $fcd2d84b9a2d489c$exports = {};\n$fcd2d84b9a2d489c$exports = {\n \"colorSwatchPicker\": `Renk \\xf6rnekleri`,\n \"dropzoneLabel\": `B\\u{131}rakma B\\xf6lgesi`,\n \"selectPlaceholder\": `Bir \\xf6\\u{11F}e se\\xe7in`,\n \"tableResizer\": `Yeniden boyutland\\u{131}r\\u{131}c\\u{131}`\n};\n\n\nexport {$fcd2d84b9a2d489c$exports as default};\n//# sourceMappingURL=tr-TR.module.js.map\n","var $2422ac328687ee23$exports = {};\n$2422ac328687ee23$exports = {\n \"colorSwatchPicker\": `\\u{417}\\u{440}\\u{430}\\u{437}\\u{43A}\\u{438} \\u{43A}\\u{43E}\\u{43B}\\u{44C}\\u{43E}\\u{440}\\u{456}\\u{432}`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `\\u{412}\\u{438}\\u{431}\\u{435}\\u{440}\\u{456}\\u{442}\\u{44C} \\u{435}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442}`,\n \"tableResizer\": `\\u{417}\\u{430}\\u{441}\\u{456}\\u{431} \\u{437}\\u{43C}\\u{456}\\u{43D}\\u{435}\\u{43D}\\u{43D}\\u{44F} \\u{440}\\u{43E}\\u{437}\\u{43C}\\u{456}\\u{440}\\u{443}`\n};\n\n\nexport {$2422ac328687ee23$exports as default};\n//# sourceMappingURL=uk-UA.module.js.map\n","var $c9a532d1c973af61$exports = {};\n$c9a532d1c973af61$exports = {\n \"colorSwatchPicker\": `\\u{989C}\\u{8272}\\u{8272}\\u{677F}`,\n \"dropzoneLabel\": `\\u{653E}\\u{7F6E}\\u{533A}\\u{57DF}`,\n \"selectPlaceholder\": `\\u{9009}\\u{62E9}\\u{4E00}\\u{4E2A}\\u{9879}\\u{76EE}`,\n \"tableResizer\": `\\u{5C3A}\\u{5BF8}\\u{8C03}\\u{6574}\\u{5668}`\n};\n\n\nexport {$c9a532d1c973af61$exports as default};\n//# sourceMappingURL=zh-CN.module.js.map\n","var $34de119f14549a4b$exports = {};\n$34de119f14549a4b$exports = {\n \"colorSwatchPicker\": `\\u{8272}\\u{7968}`,\n \"dropzoneLabel\": `\\u{653E}\\u{7F6E}\\u{5340}`,\n \"selectPlaceholder\": `\\u{9078}\\u{53D6}\\u{9805}\\u{76EE}`,\n \"tableResizer\": `\\u{5927}\\u{5C0F}\\u{8ABF}\\u{6574}\\u{5668}`\n};\n\n\nexport {$34de119f14549a4b$exports as default};\n//# sourceMappingURL=zh-TW.module.js.map\n","import $bK1z9$arAEmodulejs from \"./ar-AE.mjs\";\nimport $bK1z9$bgBGmodulejs from \"./bg-BG.mjs\";\nimport $bK1z9$csCZmodulejs from \"./cs-CZ.mjs\";\nimport $bK1z9$daDKmodulejs from \"./da-DK.mjs\";\nimport $bK1z9$deDEmodulejs from \"./de-DE.mjs\";\nimport $bK1z9$elGRmodulejs from \"./el-GR.mjs\";\nimport $bK1z9$enUSmodulejs from \"./en-US.mjs\";\nimport $bK1z9$esESmodulejs from \"./es-ES.mjs\";\nimport $bK1z9$etEEmodulejs from \"./et-EE.mjs\";\nimport $bK1z9$fiFImodulejs from \"./fi-FI.mjs\";\nimport $bK1z9$frFRmodulejs from \"./fr-FR.mjs\";\nimport $bK1z9$heILmodulejs from \"./he-IL.mjs\";\nimport $bK1z9$hrHRmodulejs from \"./hr-HR.mjs\";\nimport $bK1z9$huHUmodulejs from \"./hu-HU.mjs\";\nimport $bK1z9$itITmodulejs from \"./it-IT.mjs\";\nimport $bK1z9$jaJPmodulejs from \"./ja-JP.mjs\";\nimport $bK1z9$koKRmodulejs from \"./ko-KR.mjs\";\nimport $bK1z9$ltLTmodulejs from \"./lt-LT.mjs\";\nimport $bK1z9$lvLVmodulejs from \"./lv-LV.mjs\";\nimport $bK1z9$nbNOmodulejs from \"./nb-NO.mjs\";\nimport $bK1z9$nlNLmodulejs from \"./nl-NL.mjs\";\nimport $bK1z9$plPLmodulejs from \"./pl-PL.mjs\";\nimport $bK1z9$ptBRmodulejs from \"./pt-BR.mjs\";\nimport $bK1z9$ptPTmodulejs from \"./pt-PT.mjs\";\nimport $bK1z9$roROmodulejs from \"./ro-RO.mjs\";\nimport $bK1z9$ruRUmodulejs from \"./ru-RU.mjs\";\nimport $bK1z9$skSKmodulejs from \"./sk-SK.mjs\";\nimport $bK1z9$slSImodulejs from \"./sl-SI.mjs\";\nimport $bK1z9$srSPmodulejs from \"./sr-SP.mjs\";\nimport $bK1z9$svSEmodulejs from \"./sv-SE.mjs\";\nimport $bK1z9$trTRmodulejs from \"./tr-TR.mjs\";\nimport $bK1z9$ukUAmodulejs from \"./uk-UA.mjs\";\nimport $bK1z9$zhCNmodulejs from \"./zh-CN.mjs\";\nimport $bK1z9$zhTWmodulejs from \"./zh-TW.mjs\";\n\nvar $df39c1238ae2b5f3$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$df39c1238ae2b5f3$exports = {\n \"ar-AE\": $bK1z9$arAEmodulejs,\n \"bg-BG\": $bK1z9$bgBGmodulejs,\n \"cs-CZ\": $bK1z9$csCZmodulejs,\n \"da-DK\": $bK1z9$daDKmodulejs,\n \"de-DE\": $bK1z9$deDEmodulejs,\n \"el-GR\": $bK1z9$elGRmodulejs,\n \"en-US\": $bK1z9$enUSmodulejs,\n \"es-ES\": $bK1z9$esESmodulejs,\n \"et-EE\": $bK1z9$etEEmodulejs,\n \"fi-FI\": $bK1z9$fiFImodulejs,\n \"fr-FR\": $bK1z9$frFRmodulejs,\n \"he-IL\": $bK1z9$heILmodulejs,\n \"hr-HR\": $bK1z9$hrHRmodulejs,\n \"hu-HU\": $bK1z9$huHUmodulejs,\n \"it-IT\": $bK1z9$itITmodulejs,\n \"ja-JP\": $bK1z9$jaJPmodulejs,\n \"ko-KR\": $bK1z9$koKRmodulejs,\n \"lt-LT\": $bK1z9$ltLTmodulejs,\n \"lv-LV\": $bK1z9$lvLVmodulejs,\n \"nb-NO\": $bK1z9$nbNOmodulejs,\n \"nl-NL\": $bK1z9$nlNLmodulejs,\n \"pl-PL\": $bK1z9$plPLmodulejs,\n \"pt-BR\": $bK1z9$ptBRmodulejs,\n \"pt-PT\": $bK1z9$ptPTmodulejs,\n \"ro-RO\": $bK1z9$roROmodulejs,\n \"ru-RU\": $bK1z9$ruRUmodulejs,\n \"sk-SK\": $bK1z9$skSKmodulejs,\n \"sl-SI\": $bK1z9$slSImodulejs,\n \"sr-SP\": $bK1z9$srSPmodulejs,\n \"sv-SE\": $bK1z9$svSEmodulejs,\n \"tr-TR\": $bK1z9$trTRmodulejs,\n \"uk-UA\": $bK1z9$ukUAmodulejs,\n \"zh-CN\": $bK1z9$zhCNmodulejs,\n \"zh-TW\": $bK1z9$zhTWmodulejs\n};\n\n\nexport {$df39c1238ae2b5f3$exports as default};\n//# sourceMappingURL=intlStrings.module.js.map\n","import $f3JOg$react, {createContext as $f3JOg$createContext, forwardRef as $f3JOg$forwardRef, useContext as $f3JOg$useContext, useCallback as $f3JOg$useCallback, useMemo as $f3JOg$useMemo} from \"react\";\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 */ \nconst $612b8eb6cb90e02d$export$d188a835a7bc5783 = /*#__PURE__*/ (0, $f3JOg$createContext)({});\nconst $612b8eb6cb90e02d$export$f55761759794cf55 = /*#__PURE__*/ (0, $f3JOg$createContext)(null);\nconst $612b8eb6cb90e02d$export$62ed72bc21f6b8a6 = /*#__PURE__*/ (0, $f3JOg$forwardRef)(function DropIndicator(props, ref) {\n let { render: render } = (0, $f3JOg$useContext)($612b8eb6cb90e02d$export$f55761759794cf55);\n return /*#__PURE__*/ (0, $f3JOg$react).createElement((0, $f3JOg$react).Fragment, null, render(props, ref));\n});\nfunction $612b8eb6cb90e02d$export$971707d8a129a1f7(dragAndDropHooks, dropState) {\n var _dragAndDropHooks_isVirtualDragging;\n let renderDropIndicator = dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.renderDropIndicator;\n let isVirtualDragging = dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : (_dragAndDropHooks_isVirtualDragging = dragAndDropHooks.isVirtualDragging) === null || _dragAndDropHooks_isVirtualDragging === void 0 ? void 0 : _dragAndDropHooks_isVirtualDragging.call(dragAndDropHooks);\n let fn = (0, $f3JOg$useCallback)((target)=>{\n // Only show drop indicators when virtual dragging or this is the current drop target.\n if (isVirtualDragging || (dropState === null || dropState === void 0 ? void 0 : dropState.isDropTarget(target))) return renderDropIndicator ? renderDropIndicator(target) : /*#__PURE__*/ (0, $f3JOg$react).createElement($612b8eb6cb90e02d$export$62ed72bc21f6b8a6, {\n target: target\n });\n // We invalidate whenever the target changes.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n dropState === null || dropState === void 0 ? void 0 : dropState.target,\n isVirtualDragging,\n renderDropIndicator\n ]);\n return (dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.useDropIndicator) ? fn : undefined;\n}\nfunction $612b8eb6cb90e02d$export$d1e8e3fbb7461f6(selectionManager, dragAndDropHooks, dropState) {\n var _dragAndDropHooks_isVirtualDragging, _dropState_target;\n // Persist the focused key and the drop target key.\n let focusedKey = selectionManager.focusedKey;\n let dropTargetKey = null;\n if ((dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : (_dragAndDropHooks_isVirtualDragging = dragAndDropHooks.isVirtualDragging) === null || _dragAndDropHooks_isVirtualDragging === void 0 ? void 0 : _dragAndDropHooks_isVirtualDragging.call(dragAndDropHooks)) && (dropState === null || dropState === void 0 ? void 0 : (_dropState_target = dropState.target) === null || _dropState_target === void 0 ? void 0 : _dropState_target.type) === 'item') {\n dropTargetKey = dropState.target.key;\n var _dropState_collection_getKeyAfter;\n if (dropState.target.dropPosition === 'after') // Normalize to the \"before\" drop position since we only render those to the DOM.\n dropTargetKey = (_dropState_collection_getKeyAfter = dropState.collection.getKeyAfter(dropTargetKey)) !== null && _dropState_collection_getKeyAfter !== void 0 ? _dropState_collection_getKeyAfter : dropTargetKey;\n }\n return (0, $f3JOg$useMemo)(()=>{\n return new Set([\n focusedKey,\n dropTargetKey\n ].filter((k)=>k != null));\n }, [\n focusedKey,\n dropTargetKey\n ]);\n}\n\n\nexport {$612b8eb6cb90e02d$export$d188a835a7bc5783 as DragAndDropContext, $612b8eb6cb90e02d$export$f55761759794cf55 as DropIndicatorContext, $612b8eb6cb90e02d$export$62ed72bc21f6b8a6 as DropIndicator, $612b8eb6cb90e02d$export$971707d8a129a1f7 as useRenderDropIndicator, $612b8eb6cb90e02d$export$d1e8e3fbb7461f6 as useDndPersistedKeys};\n//# sourceMappingURL=DragAndDrop.module.js.map\n","import {useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415} from \"./utils.mjs\";\nimport {createLeafComponent as $i47tY$createLeafComponent} from \"@react-aria/collections\";\nimport $i47tY$react, {createContext as $i47tY$createContext} 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 $72a5793c14baf454$export$e0e4026c12a8bdbb = /*#__PURE__*/ (0, $i47tY$createContext)({});\nconst $72a5793c14baf454$export$8b251419efc915eb = /*#__PURE__*/ (0, $i47tY$createLeafComponent)('header', function Header(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $72a5793c14baf454$export$e0e4026c12a8bdbb);\n return /*#__PURE__*/ (0, $i47tY$react).createElement(\"header\", {\n className: \"react-aria-Header\",\n ...props,\n ref: ref\n }, props.children);\n});\n\n\nexport {$72a5793c14baf454$export$e0e4026c12a8bdbb as HeaderContext, $72a5793c14baf454$export$8b251419efc915eb as Header};\n//# sourceMappingURL=Header.module.js.map\n","import {useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415} from \"./utils.mjs\";\nimport {useSeparator as $i9JCE$useSeparator} from \"react-aria\";\nimport {createLeafComponent as $i9JCE$createLeafComponent} from \"@react-aria/collections\";\nimport {filterDOMProps as $i9JCE$filterDOMProps} from \"@react-aria/utils\";\nimport $i9JCE$react, {createContext as $i9JCE$createContext} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nconst $431f98aba6844401$export$6615d83f6de245ce = /*#__PURE__*/ (0, $i9JCE$createContext)({});\nconst $431f98aba6844401$export$1ff3c3f08ae963c0 = /*#__PURE__*/ (0, $i9JCE$createLeafComponent)('separator', function Separator(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $431f98aba6844401$export$6615d83f6de245ce);\n let { elementType: elementType, orientation: orientation, style: style, className: className } = props;\n let Element = elementType || 'hr';\n if (Element === 'hr' && orientation === 'vertical') Element = 'div';\n let { separatorProps: separatorProps } = (0, $i9JCE$useSeparator)({\n elementType: elementType,\n orientation: orientation\n });\n return /*#__PURE__*/ (0, $i9JCE$react).createElement(Element, {\n ...(0, $i9JCE$filterDOMProps)(props),\n ...separatorProps,\n style: style,\n className: className !== null && className !== void 0 ? className : 'react-aria-Separator',\n ref: ref,\n slot: props.slot || undefined\n });\n});\n\n\nexport {$431f98aba6844401$export$6615d83f6de245ce as SeparatorContext, $431f98aba6844401$export$1ff3c3f08ae963c0 as Separator};\n//# sourceMappingURL=Separator.module.js.map\n","import {CollectionRendererContext as $7135fc7d473fd974$export$4feb769f8ddf26c5, SectionContext as $7135fc7d473fd974$export$d40e14dec8b060a8} from \"./Collection.mjs\";\nimport {Provider as $64fa3d84918910a7$export$2881499e37b75b9a, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3, useSlot as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8} from \"./utils.mjs\";\nimport {DragAndDropContext as $612b8eb6cb90e02d$export$d188a835a7bc5783, DropIndicatorContext as $612b8eb6cb90e02d$export$f55761759794cf55, useDndPersistedKeys as $612b8eb6cb90e02d$export$d1e8e3fbb7461f6, useRenderDropIndicator as $612b8eb6cb90e02d$export$971707d8a129a1f7} from \"./DragAndDrop.mjs\";\nimport {HeaderContext as $72a5793c14baf454$export$e0e4026c12a8bdbb} from \"./Header.mjs\";\nimport {SeparatorContext as $431f98aba6844401$export$6615d83f6de245ce} from \"./Separator.mjs\";\nimport {TextContext as $514c0188e459b4c0$export$9afb8bc826b033ea} from \"./Text.mjs\";\nimport {UNSTABLE_InternalAutocompleteContext as $d2f53cda644affe3$export$65d2a03b8800d6e3} from \"./Autocomplete.mjs\";\nimport {useLocale as $e8Bmu$useLocale, useCollator as $e8Bmu$useCollator, ListKeyboardDelegate as $e8Bmu$ListKeyboardDelegate, useListBox as $e8Bmu$useListBox, useFocusRing as $e8Bmu$useFocusRing, FocusScope as $e8Bmu$FocusScope, mergeProps as $e8Bmu$mergeProps, useListBoxSection as $e8Bmu$useListBoxSection, useOption as $e8Bmu$useOption, useHover as $e8Bmu$useHover} from \"react-aria\";\nimport {CollectionBuilder as $e8Bmu$CollectionBuilder, Collection as $e8Bmu$Collection, createBranchComponent as $e8Bmu$createBranchComponent, createLeafComponent as $e8Bmu$createLeafComponent} from \"@react-aria/collections\";\nimport {useListState as $e8Bmu$useListState} from \"react-stately\";\nimport {useObjectRef as $e8Bmu$useObjectRef, mergeRefs as $e8Bmu$mergeRefs, filterDOMProps as $e8Bmu$filterDOMProps} from \"@react-aria/utils\";\nimport $e8Bmu$react, {createContext as $e8Bmu$createContext, forwardRef as $e8Bmu$forwardRef, useContext as $e8Bmu$useContext, useMemo as $e8Bmu$useMemo, useRef as $e8Bmu$useRef, useEffect as $e8Bmu$useEffect} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\n\nconst $eed445e0843c11d0$export$7ff8f37d2d81a48d = /*#__PURE__*/ (0, $e8Bmu$createContext)(null);\nconst $eed445e0843c11d0$export$7c5906fe4f1f2af2 = /*#__PURE__*/ (0, $e8Bmu$createContext)(null);\nconst $eed445e0843c11d0$export$41f133550aa26f48 = /*#__PURE__*/ (0, $e8Bmu$forwardRef)(function ListBox(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $eed445e0843c11d0$export$7ff8f37d2d81a48d);\n let state = (0, $e8Bmu$useContext)($eed445e0843c11d0$export$7c5906fe4f1f2af2);\n // The structure of ListBox is a bit strange because it needs to work inside other components like ComboBox and Select.\n // Those components render two copies of their children so that the collection can be built even when the popover is closed.\n // The first copy sends a collection document via context which we render the collection portal into.\n // The second copy sends a ListState object via context which we use to render the ListBox without rebuilding the state.\n // Otherwise, we have a standalone ListBox, so we need to create a collection and state ourselves.\n if (state) return /*#__PURE__*/ (0, $e8Bmu$react).createElement($eed445e0843c11d0$var$ListBoxInner, {\n state: state,\n props: props,\n listBoxRef: ref\n });\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $e8Bmu$CollectionBuilder), {\n content: /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $e8Bmu$Collection), props)\n }, (collection)=>/*#__PURE__*/ (0, $e8Bmu$react).createElement($eed445e0843c11d0$var$StandaloneListBox, {\n props: props,\n listBoxRef: ref,\n collection: collection\n }));\n});\nfunction $eed445e0843c11d0$var$StandaloneListBox({ props: props, listBoxRef: listBoxRef, collection: collection }) {\n props = {\n ...props,\n collection: collection,\n children: null,\n items: null\n };\n let { layoutDelegate: layoutDelegate } = (0, $e8Bmu$useContext)((0, $7135fc7d473fd974$export$4feb769f8ddf26c5));\n let { filterFn: filterFn, collectionProps: collectionProps, collectionRef: collectionRef } = (0, $e8Bmu$useContext)((0, $d2f53cda644affe3$export$65d2a03b8800d6e3)) || {};\n // Memoed so that useAutocomplete callback ref is properly only called once on mount and not everytime a rerender happens\n listBoxRef = (0, $e8Bmu$useObjectRef)((0, $e8Bmu$useMemo)(()=>(0, $e8Bmu$mergeRefs)(listBoxRef, collectionRef !== undefined ? collectionRef : null), [\n collectionRef,\n listBoxRef\n ]));\n let filteredCollection = (0, $e8Bmu$useMemo)(()=>filterFn ? collection.filter(filterFn) : collection, [\n collection,\n filterFn\n ]);\n let state = (0, $e8Bmu$useListState)({\n ...props,\n collection: filteredCollection,\n layoutDelegate: layoutDelegate\n });\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement($eed445e0843c11d0$var$ListBoxInner, {\n state: state,\n props: {\n ...props,\n ...collectionProps\n },\n listBoxRef: listBoxRef\n });\n}\nfunction $eed445e0843c11d0$var$ListBoxInner({ state: state, props: props, listBoxRef: listBoxRef }) {\n let { dragAndDropHooks: dragAndDropHooks, layout: layout = 'stack', orientation: orientation = 'vertical' } = props;\n let { collection: collection, selectionManager: selectionManager } = state;\n let isListDraggable = !!(dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.useDraggableCollectionState);\n let isListDroppable = !!(dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.useDroppableCollectionState);\n let { direction: direction } = (0, $e8Bmu$useLocale)();\n let { disabledBehavior: disabledBehavior, disabledKeys: disabledKeys } = selectionManager;\n let collator = (0, $e8Bmu$useCollator)({\n usage: 'search',\n sensitivity: 'base'\n });\n let { isVirtualized: isVirtualized, layoutDelegate: layoutDelegate, dropTargetDelegate: ctxDropTargetDelegate, CollectionRoot: CollectionRoot } = (0, $e8Bmu$useContext)((0, $7135fc7d473fd974$export$4feb769f8ddf26c5));\n let keyboardDelegate = (0, $e8Bmu$useMemo)(()=>props.keyboardDelegate || new (0, $e8Bmu$ListKeyboardDelegate)({\n collection: collection,\n collator: collator,\n ref: listBoxRef,\n disabledKeys: disabledKeys,\n disabledBehavior: disabledBehavior,\n layout: layout,\n orientation: orientation,\n direction: direction,\n layoutDelegate: layoutDelegate\n }), [\n collection,\n collator,\n listBoxRef,\n disabledBehavior,\n disabledKeys,\n orientation,\n direction,\n props.keyboardDelegate,\n layout,\n layoutDelegate\n ]);\n let { listBoxProps: listBoxProps } = (0, $e8Bmu$useListBox)({\n ...props,\n shouldSelectOnPressUp: isListDraggable || props.shouldSelectOnPressUp,\n keyboardDelegate: keyboardDelegate,\n isVirtualized: isVirtualized\n }, state, listBoxRef);\n let dragHooksProvided = (0, $e8Bmu$useRef)(isListDraggable);\n let dropHooksProvided = (0, $e8Bmu$useRef)(isListDroppable);\n (0, $e8Bmu$useEffect)(()=>{\n if (dragHooksProvided.current !== isListDraggable) console.warn('Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.');\n if (dropHooksProvided.current !== isListDroppable) console.warn('Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.');\n }, [\n isListDraggable,\n isListDroppable\n ]);\n let dragState = undefined;\n let dropState = undefined;\n let droppableCollection = undefined;\n let isRootDropTarget = false;\n let dragPreview = null;\n let preview = (0, $e8Bmu$useRef)(null);\n if (isListDraggable && dragAndDropHooks) {\n dragState = dragAndDropHooks.useDraggableCollectionState({\n collection: collection,\n selectionManager: selectionManager,\n preview: dragAndDropHooks.renderDragPreview ? preview : undefined\n });\n dragAndDropHooks.useDraggableCollection({}, dragState, listBoxRef);\n let DragPreview = dragAndDropHooks.DragPreview;\n dragPreview = dragAndDropHooks.renderDragPreview ? /*#__PURE__*/ (0, $e8Bmu$react).createElement(DragPreview, {\n ref: preview\n }, dragAndDropHooks.renderDragPreview) : null;\n }\n if (isListDroppable && dragAndDropHooks) {\n dropState = dragAndDropHooks.useDroppableCollectionState({\n collection: collection,\n selectionManager: selectionManager\n });\n let dropTargetDelegate = dragAndDropHooks.dropTargetDelegate || ctxDropTargetDelegate || new dragAndDropHooks.ListDropTargetDelegate(collection, listBoxRef, {\n orientation: orientation,\n layout: layout,\n direction: direction\n });\n droppableCollection = dragAndDropHooks.useDroppableCollection({\n keyboardDelegate: keyboardDelegate,\n dropTargetDelegate: dropTargetDelegate\n }, dropState, listBoxRef);\n isRootDropTarget = dropState.isDropTarget({\n type: 'root'\n });\n }\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $e8Bmu$useFocusRing)();\n let renderValues = {\n isDropTarget: isRootDropTarget,\n isEmpty: state.collection.size === 0,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n layout: props.layout || 'stack',\n state: state\n };\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n className: props.className,\n style: props.style,\n defaultClassName: 'react-aria-ListBox',\n values: renderValues\n });\n let emptyState = null;\n if (state.collection.size === 0 && props.renderEmptyState) emptyState = /*#__PURE__*/ (0, $e8Bmu$react).createElement(\"div\", {\n // eslint-disable-next-line\n role: \"option\",\n style: {\n display: 'contents'\n }\n }, props.renderEmptyState(renderValues));\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $e8Bmu$FocusScope), null, /*#__PURE__*/ (0, $e8Bmu$react).createElement(\"div\", {\n ...(0, $e8Bmu$filterDOMProps)(props),\n ...(0, $e8Bmu$mergeProps)(listBoxProps, focusProps, droppableCollection === null || droppableCollection === void 0 ? void 0 : droppableCollection.collectionProps),\n ...renderProps,\n ref: listBoxRef,\n slot: props.slot || undefined,\n onScroll: props.onScroll,\n \"data-drop-target\": isRootDropTarget || undefined,\n \"data-empty\": state.collection.size === 0 || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-layout\": props.layout || 'stack',\n \"data-orientation\": props.orientation || 'vertical'\n }, /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $eed445e0843c11d0$export$7ff8f37d2d81a48d,\n props\n ],\n [\n $eed445e0843c11d0$export$7c5906fe4f1f2af2,\n state\n ],\n [\n (0, $612b8eb6cb90e02d$export$d188a835a7bc5783),\n {\n dragAndDropHooks: dragAndDropHooks,\n dragState: dragState,\n dropState: dropState\n }\n ],\n [\n (0, $431f98aba6844401$export$6615d83f6de245ce),\n {\n elementType: 'div'\n }\n ],\n [\n (0, $612b8eb6cb90e02d$export$f55761759794cf55),\n {\n render: $eed445e0843c11d0$var$ListBoxDropIndicatorWrapper\n }\n ],\n [\n (0, $7135fc7d473fd974$export$d40e14dec8b060a8),\n {\n name: 'ListBoxSection',\n render: $eed445e0843c11d0$var$ListBoxSectionInner\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $e8Bmu$react).createElement(CollectionRoot, {\n collection: collection,\n scrollRef: listBoxRef,\n persistedKeys: (0, $612b8eb6cb90e02d$export$d1e8e3fbb7461f6)(selectionManager, dragAndDropHooks, dropState),\n renderDropIndicator: (0, $612b8eb6cb90e02d$export$971707d8a129a1f7)(dragAndDropHooks, dropState)\n })), emptyState, dragPreview));\n}\nfunction $eed445e0843c11d0$var$ListBoxSectionInner(props, ref, section, className = 'react-aria-ListBoxSection') {\n let state = (0, $e8Bmu$useContext)($eed445e0843c11d0$export$7c5906fe4f1f2af2);\n let { dragAndDropHooks: dragAndDropHooks, dropState: dropState } = (0, $e8Bmu$useContext)((0, $612b8eb6cb90e02d$export$d188a835a7bc5783));\n let { CollectionBranch: CollectionBranch } = (0, $e8Bmu$useContext)((0, $7135fc7d473fd974$export$4feb769f8ddf26c5));\n let [headingRef, heading] = (0, $64fa3d84918910a7$export$9d4c57ee4c6ffdd8)();\n var _props_arialabel;\n let { headingProps: headingProps, groupProps: groupProps } = (0, $e8Bmu$useListBoxSection)({\n heading: heading,\n 'aria-label': (_props_arialabel = props['aria-label']) !== null && _props_arialabel !== void 0 ? _props_arialabel : undefined\n });\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n defaultClassName: className,\n className: props.className,\n style: props.style,\n values: {}\n });\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement(\"section\", {\n ...(0, $e8Bmu$filterDOMProps)(props),\n ...groupProps,\n ...renderProps,\n ref: ref\n }, /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $72a5793c14baf454$export$e0e4026c12a8bdbb).Provider, {\n value: {\n ...headingProps,\n ref: headingRef\n }\n }, /*#__PURE__*/ (0, $e8Bmu$react).createElement(CollectionBranch, {\n collection: state.collection,\n parent: section,\n renderDropIndicator: (0, $612b8eb6cb90e02d$export$971707d8a129a1f7)(dragAndDropHooks, dropState)\n })));\n}\nconst $eed445e0843c11d0$export$dca12b0bb56e4fc = /*#__PURE__*/ (0, $e8Bmu$createBranchComponent)('section', $eed445e0843c11d0$var$ListBoxSectionInner);\nconst $eed445e0843c11d0$export$a11e76429ed99b4 = /*#__PURE__*/ (0, $e8Bmu$createLeafComponent)('item', function ListBoxItem(props, forwardedRef, item) {\n let ref = (0, $e8Bmu$useObjectRef)(forwardedRef);\n let state = (0, $e8Bmu$useContext)($eed445e0843c11d0$export$7c5906fe4f1f2af2);\n let { dragAndDropHooks: dragAndDropHooks, dragState: dragState, dropState: dropState } = (0, $e8Bmu$useContext)((0, $612b8eb6cb90e02d$export$d188a835a7bc5783));\n let { optionProps: optionProps, labelProps: labelProps, descriptionProps: descriptionProps, ...states } = (0, $e8Bmu$useOption)({\n key: item.key,\n 'aria-label': props === null || props === void 0 ? void 0 : props['aria-label']\n }, state, ref);\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $e8Bmu$useHover)({\n isDisabled: !states.allowsSelection && !states.hasAction,\n onHoverStart: item.props.onHoverStart,\n onHoverChange: item.props.onHoverChange,\n onHoverEnd: item.props.onHoverEnd\n });\n let draggableItem = null;\n if (dragState && dragAndDropHooks) draggableItem = dragAndDropHooks.useDraggableItem({\n key: item.key\n }, dragState);\n let droppableItem = null;\n if (dropState && dragAndDropHooks) droppableItem = dragAndDropHooks.useDroppableItem({\n target: {\n type: 'item',\n key: item.key,\n dropPosition: 'on'\n }\n }, dropState, ref);\n let isDragging = dragState && dragState.isDragging(item.key);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n id: undefined,\n children: props.children,\n defaultClassName: 'react-aria-ListBoxItem',\n values: {\n ...states,\n isHovered: isHovered,\n selectionMode: state.selectionManager.selectionMode,\n selectionBehavior: state.selectionManager.selectionBehavior,\n allowsDragging: !!dragState,\n isDragging: isDragging,\n isDropTarget: droppableItem === null || droppableItem === void 0 ? void 0 : droppableItem.isDropTarget\n }\n });\n (0, $e8Bmu$useEffect)(()=>{\n if (!item.textValue) console.warn('A `textValue` prop is required for <ListBoxItem> elements with non-plain text children in order to support accessibility features such as type to select.');\n }, [\n item.textValue\n ]);\n let ElementType = props.href ? 'a' : 'div';\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement(ElementType, {\n ...(0, $e8Bmu$mergeProps)(optionProps, hoverProps, draggableItem === null || draggableItem === void 0 ? void 0 : draggableItem.dragProps, droppableItem === null || droppableItem === void 0 ? void 0 : droppableItem.dropProps),\n ...renderProps,\n ref: ref,\n \"data-allows-dragging\": !!dragState || undefined,\n \"data-selected\": states.isSelected || undefined,\n \"data-disabled\": states.isDisabled || undefined,\n \"data-hovered\": isHovered || undefined,\n \"data-focused\": states.isFocused || undefined,\n \"data-focus-visible\": states.isFocusVisible || undefined,\n \"data-pressed\": states.isPressed || undefined,\n \"data-dragging\": isDragging || undefined,\n \"data-drop-target\": (droppableItem === null || droppableItem === void 0 ? void 0 : droppableItem.isDropTarget) || undefined,\n \"data-selection-mode\": state.selectionManager.selectionMode === 'none' ? undefined : state.selectionManager.selectionMode\n }, /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n (0, $514c0188e459b4c0$export$9afb8bc826b033ea),\n {\n slots: {\n label: labelProps,\n description: descriptionProps\n }\n }\n ]\n ]\n }, renderProps.children));\n});\nfunction $eed445e0843c11d0$var$ListBoxDropIndicatorWrapper(props, ref) {\n ref = (0, $e8Bmu$useObjectRef)(ref);\n let { dragAndDropHooks: dragAndDropHooks, dropState: dropState } = (0, $e8Bmu$useContext)((0, $612b8eb6cb90e02d$export$d188a835a7bc5783));\n let { dropIndicatorProps: dropIndicatorProps, isHidden: isHidden, isDropTarget: isDropTarget } = dragAndDropHooks.useDropIndicator(props, dropState, ref);\n if (isHidden) return null;\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement($eed445e0843c11d0$var$ListBoxDropIndicatorForwardRef, {\n ...props,\n dropIndicatorProps: dropIndicatorProps,\n isDropTarget: isDropTarget,\n ref: ref\n });\n}\nfunction $eed445e0843c11d0$var$ListBoxDropIndicator(props, ref) {\n let { dropIndicatorProps: dropIndicatorProps, isDropTarget: isDropTarget, ...otherProps } = props;\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...otherProps,\n defaultClassName: 'react-aria-DropIndicator',\n values: {\n isDropTarget: isDropTarget\n }\n });\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement(\"div\", {\n ...dropIndicatorProps,\n ...renderProps,\n // eslint-disable-next-line\n role: \"option\",\n ref: ref,\n \"data-drop-target\": isDropTarget || undefined\n });\n}\nconst $eed445e0843c11d0$var$ListBoxDropIndicatorForwardRef = /*#__PURE__*/ (0, $e8Bmu$forwardRef)($eed445e0843c11d0$var$ListBoxDropIndicator);\n\n\nexport {$eed445e0843c11d0$export$7ff8f37d2d81a48d as ListBoxContext, $eed445e0843c11d0$export$7c5906fe4f1f2af2 as ListStateContext, $eed445e0843c11d0$export$41f133550aa26f48 as ListBox, $eed445e0843c11d0$export$dca12b0bb56e4fc as ListBoxSection, $eed445e0843c11d0$export$a11e76429ed99b4 as ListBoxItem};\n//# sourceMappingURL=ListBox.module.js.map\n","import {useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport $8wt2Z$react, {createContext as $8wt2Z$createContext, forwardRef as $8wt2Z$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 $44f671af83e7d9e0$export$2de4954e8ae13b9f = /*#__PURE__*/ (0, $8wt2Z$createContext)({\n placement: 'bottom'\n});\nconst $44f671af83e7d9e0$export$746d02f47f4d381 = /*#__PURE__*/ (0, $8wt2Z$forwardRef)(function OverlayArrow(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $44f671af83e7d9e0$export$2de4954e8ae13b9f);\n let placement = props.placement;\n let style = {\n position: 'absolute',\n transform: placement === 'top' || placement === 'bottom' ? 'translateX(-50%)' : 'translateY(-50%)'\n };\n if (placement != null) style[placement] = '100%';\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-OverlayArrow',\n values: {\n placement: placement\n }\n });\n // remove undefined values from renderProps.style object so that it can be\n // spread merged with the other style object\n if (renderProps.style) Object.keys(renderProps.style).forEach((key)=>renderProps.style[key] === undefined && delete renderProps.style[key]);\n return /*#__PURE__*/ (0, $8wt2Z$react).createElement(\"div\", {\n ...props,\n ...renderProps,\n style: {\n ...style,\n ...renderProps.style\n },\n ref: ref,\n \"data-placement\": placement\n });\n});\n\n\nexport {$44f671af83e7d9e0$export$2de4954e8ae13b9f as OverlayArrowContext, $44f671af83e7d9e0$export$746d02f47f4d381 as OverlayArrow};\n//# sourceMappingURL=OverlayArrow.module.js.map\n","import {useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {OverlayArrowContext as $44f671af83e7d9e0$export$2de4954e8ae13b9f} from \"./OverlayArrow.mjs\";\nimport {OverlayTriggerStateContext as $de32f1b87079253c$export$d2f961adcb0afbe} from \"./Dialog.mjs\";\nimport {usePopover as $ehFet$usePopover, Overlay as $ehFet$Overlay, DismissButton as $ehFet$DismissButton} from \"react-aria\";\nimport {useExitAnimation as $ehFet$useExitAnimation, useLayoutEffect as $ehFet$useLayoutEffect, useEnterAnimation as $ehFet$useEnterAnimation, mergeProps as $ehFet$mergeProps, filterDOMProps as $ehFet$filterDOMProps} from \"@react-aria/utils\";\nimport {useOverlayTriggerState as $ehFet$useOverlayTriggerState} from \"react-stately\";\nimport $ehFet$react, {createContext as $ehFet$createContext, forwardRef as $ehFet$forwardRef, useContext as $ehFet$useContext, useRef as $ehFet$useRef, useState as $ehFet$useState} from \"react\";\nimport {useIsHidden as $ehFet$useIsHidden} from \"@react-aria/collections\";\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\nconst $07b14b47974efb58$export$9b9a0cd73afb7ca4 = /*#__PURE__*/ (0, $ehFet$createContext)(null);\nconst $07b14b47974efb58$export$5b6b19405a83ff9d = /*#__PURE__*/ (0, $ehFet$forwardRef)(function Popover(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $07b14b47974efb58$export$9b9a0cd73afb7ca4);\n let contextState = (0, $ehFet$useContext)((0, $de32f1b87079253c$export$d2f961adcb0afbe));\n let localState = (0, $ehFet$useOverlayTriggerState)(props);\n let state = props.isOpen != null || props.defaultOpen != null || !contextState ? localState : contextState;\n let isExiting = (0, $ehFet$useExitAnimation)(ref, state.isOpen) || props.isExiting || false;\n let isHidden = (0, $ehFet$useIsHidden)();\n // If we are in a hidden tree, we still need to preserve our children.\n if (isHidden) {\n let children = props.children;\n if (typeof children === 'function') children = children({\n trigger: props.trigger || null,\n placement: 'bottom',\n isEntering: false,\n isExiting: false,\n defaultChildren: null\n });\n return /*#__PURE__*/ (0, $ehFet$react).createElement((0, $ehFet$react).Fragment, null, children);\n }\n if (state && !state.isOpen && !isExiting) return null;\n return /*#__PURE__*/ (0, $ehFet$react).createElement($07b14b47974efb58$var$PopoverInner, {\n ...props,\n triggerRef: props.triggerRef,\n state: state,\n popoverRef: ref,\n isExiting: isExiting\n });\n});\nfunction $07b14b47974efb58$var$PopoverInner({ state: state, isExiting: isExiting, UNSTABLE_portalContainer: UNSTABLE_portalContainer, ...props }) {\n // Calculate the arrow size internally (and remove props.arrowSize from PopoverProps)\n // Referenced from: packages/@react-spectrum/tooltip/src/TooltipTrigger.tsx\n let arrowRef = (0, $ehFet$useRef)(null);\n let [arrowWidth, setArrowWidth] = (0, $ehFet$useState)(0);\n (0, $ehFet$useLayoutEffect)(()=>{\n if (arrowRef.current && state.isOpen) setArrowWidth(arrowRef.current.getBoundingClientRect().width);\n }, [\n state.isOpen,\n arrowRef\n ]);\n var _props_offset;\n let { popoverProps: popoverProps, underlayProps: underlayProps, arrowProps: arrowProps, placement: placement } = (0, $ehFet$usePopover)({\n ...props,\n offset: (_props_offset = props.offset) !== null && _props_offset !== void 0 ? _props_offset : 8,\n arrowSize: arrowWidth\n }, state);\n let ref = props.popoverRef;\n let isEntering = (0, $ehFet$useEnterAnimation)(ref, !!placement) || props.isEntering || false;\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-Popover',\n values: {\n trigger: props.trigger || null,\n placement: placement,\n isEntering: isEntering,\n isExiting: isExiting\n }\n });\n let style = {\n ...popoverProps.style,\n ...renderProps.style\n };\n return /*#__PURE__*/ (0, $ehFet$react).createElement((0, $ehFet$Overlay), {\n ...props,\n isExiting: isExiting,\n portalContainer: UNSTABLE_portalContainer\n }, !props.isNonModal && state.isOpen && /*#__PURE__*/ (0, $ehFet$react).createElement(\"div\", {\n \"data-testid\": \"underlay\",\n ...underlayProps,\n style: {\n position: 'fixed',\n inset: 0\n }\n }), /*#__PURE__*/ (0, $ehFet$react).createElement(\"div\", {\n ...(0, $ehFet$mergeProps)((0, $ehFet$filterDOMProps)(props), popoverProps),\n ...renderProps,\n ref: ref,\n slot: props.slot || undefined,\n style: style,\n \"data-trigger\": props.trigger,\n \"data-placement\": placement,\n \"data-entering\": isEntering || undefined,\n \"data-exiting\": isExiting || undefined\n }, !props.isNonModal && /*#__PURE__*/ (0, $ehFet$react).createElement((0, $ehFet$DismissButton), {\n onDismiss: state.close\n }), /*#__PURE__*/ (0, $ehFet$react).createElement((0, $44f671af83e7d9e0$export$2de4954e8ae13b9f).Provider, {\n value: {\n ...arrowProps,\n placement: placement,\n ref: arrowRef\n }\n }, renderProps.children), /*#__PURE__*/ (0, $ehFet$react).createElement((0, $ehFet$DismissButton), {\n onDismiss: state.close\n })));\n}\n\n\nexport {$07b14b47974efb58$export$9b9a0cd73afb7ca4 as PopoverContext, $07b14b47974efb58$export$5b6b19405a83ff9d as Popover};\n//# sourceMappingURL=Popover.module.js.map\n","import {CollectionRendererContext as $7135fc7d473fd974$export$4feb769f8ddf26c5, SectionContext as $7135fc7d473fd974$export$d40e14dec8b060a8, usePersistedKeys as $7135fc7d473fd974$export$90e00781bc59d8f9} from \"./Collection.mjs\";\nimport {Provider as $64fa3d84918910a7$export$2881499e37b75b9a, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3, useSlot as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, useSlottedContext as $64fa3d84918910a7$export$fabf2dc03a41866e} from \"./utils.mjs\";\nimport {HeaderContext as $72a5793c14baf454$export$e0e4026c12a8bdbb} from \"./Header.mjs\";\nimport {KeyboardContext as $63df2425e2108aa8$export$744d98a3b8a94e1c} from \"./Keyboard.mjs\";\nimport {OverlayTriggerStateContext as $de32f1b87079253c$export$d2f961adcb0afbe} from \"./Dialog.mjs\";\nimport {PopoverContext as $07b14b47974efb58$export$9b9a0cd73afb7ca4} from \"./Popover.mjs\";\nimport {SeparatorContext as $431f98aba6844401$export$6615d83f6de245ce} from \"./Separator.mjs\";\nimport {TextContext as $514c0188e459b4c0$export$9afb8bc826b033ea} from \"./Text.mjs\";\nimport {UNSTABLE_InternalAutocompleteContext as $d2f53cda644affe3$export$65d2a03b8800d6e3} from \"./Autocomplete.mjs\";\nimport {useMenuTrigger as $kM2ZM$useMenuTrigger, useMenu as $kM2ZM$useMenu, FocusScope as $kM2ZM$FocusScope, useMenuSection as $kM2ZM$useMenuSection, useMenuItem as $kM2ZM$useMenuItem, useFocusRing as $kM2ZM$useFocusRing, mergeProps as $kM2ZM$mergeProps} from \"react-aria\";\nimport {createBranchComponent as $kM2ZM$createBranchComponent, CollectionBuilder as $kM2ZM$CollectionBuilder, Collection as $kM2ZM$Collection, createLeafComponent as $kM2ZM$createLeafComponent} from \"@react-aria/collections\";\nimport {useMenuTriggerState as $kM2ZM$useMenuTriggerState, useTreeState as $kM2ZM$useTreeState} from \"react-stately\";\nimport {useResizeObserver as $kM2ZM$useResizeObserver, useObjectRef as $kM2ZM$useObjectRef, mergeRefs as $kM2ZM$mergeRefs, filterDOMProps as $kM2ZM$filterDOMProps} from \"@react-aria/utils\";\nimport {SelectionManager as $kM2ZM$SelectionManager, useMultipleSelectionState as $kM2ZM$useMultipleSelectionState} from \"@react-stately/selection\";\nimport {PressResponder as $kM2ZM$PressResponder, useHover as $kM2ZM$useHover} from \"@react-aria/interactions\";\nimport $kM2ZM$react, {createContext as $kM2ZM$createContext, useRef as $kM2ZM$useRef, useState as $kM2ZM$useState, useCallback as $kM2ZM$useCallback, useContext as $kM2ZM$useContext, forwardRef as $kM2ZM$forwardRef, useMemo as $kM2ZM$useMemo} from \"react\";\nimport {useSubmenuTriggerState as $kM2ZM$useSubmenuTriggerState} from \"@react-stately/menu\";\nimport {useSubmenuTrigger as $kM2ZM$useSubmenuTrigger} from \"@react-aria/menu\";\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\n\n\nconst $3674c52c6b3c5bce$export$c7e742effb1c51e2 = /*#__PURE__*/ (0, $kM2ZM$createContext)(null);\nconst $3674c52c6b3c5bce$export$24aad8519b95b41b = /*#__PURE__*/ (0, $kM2ZM$createContext)(null);\nconst $3674c52c6b3c5bce$export$795aec4671cbae19 = /*#__PURE__*/ (0, $kM2ZM$createContext)(null);\nconst $3674c52c6b3c5bce$var$SelectionManagerContext = /*#__PURE__*/ (0, $kM2ZM$createContext)(null);\nfunction $3674c52c6b3c5bce$export$27d2ad3c5815583e(props) {\n let state = (0, $kM2ZM$useMenuTriggerState)(props);\n let ref = (0, $kM2ZM$useRef)(null);\n let { menuTriggerProps: menuTriggerProps, menuProps: menuProps } = (0, $kM2ZM$useMenuTrigger)({\n ...props,\n type: 'menu'\n }, state, ref);\n // Allows menu width to match button\n let [buttonWidth, setButtonWidth] = (0, $kM2ZM$useState)(null);\n let onResize = (0, $kM2ZM$useCallback)(()=>{\n if (ref.current) setButtonWidth(ref.current.offsetWidth + 'px');\n }, [\n ref\n ]);\n (0, $kM2ZM$useResizeObserver)({\n ref: ref,\n onResize: onResize\n });\n let scrollRef = (0, $kM2ZM$useRef)(null);\n return /*#__PURE__*/ (0, $kM2ZM$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $3674c52c6b3c5bce$export$c7e742effb1c51e2,\n {\n ...menuProps,\n ref: scrollRef\n }\n ],\n [\n (0, $de32f1b87079253c$export$d2f961adcb0afbe),\n state\n ],\n [\n $3674c52c6b3c5bce$export$795aec4671cbae19,\n state\n ],\n [\n (0, $07b14b47974efb58$export$9b9a0cd73afb7ca4),\n {\n trigger: 'MenuTrigger',\n triggerRef: ref,\n scrollRef: scrollRef,\n placement: 'bottom start',\n style: {\n '--trigger-width': buttonWidth\n }\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $kM2ZM$react).createElement((0, $kM2ZM$PressResponder), {\n ...menuTriggerProps,\n ref: ref,\n isPressed: state.isOpen\n }, props.children));\n}\nconst $3674c52c6b3c5bce$var$SubmenuTriggerContext = /*#__PURE__*/ (0, $kM2ZM$createContext)(null);\nconst $3674c52c6b3c5bce$export$ecabc99eeffab7ca = /*#__PURE__*/ (0, $kM2ZM$createBranchComponent)('submenutrigger', (props, ref, item)=>{\n let { CollectionBranch: CollectionBranch } = (0, $kM2ZM$useContext)((0, $7135fc7d473fd974$export$4feb769f8ddf26c5));\n let state = (0, $kM2ZM$useContext)($3674c52c6b3c5bce$export$24aad8519b95b41b);\n let rootMenuTriggerState = (0, $kM2ZM$useContext)($3674c52c6b3c5bce$export$795aec4671cbae19);\n let submenuTriggerState = (0, $kM2ZM$useSubmenuTriggerState)({\n triggerKey: item.key\n }, rootMenuTriggerState);\n let submenuRef = (0, $kM2ZM$useRef)(null);\n let itemRef = (0, $kM2ZM$useObjectRef)(ref);\n let { parentMenuRef: parentMenuRef } = (0, $kM2ZM$useContext)($3674c52c6b3c5bce$var$SubmenuTriggerContext);\n let { submenuTriggerProps: submenuTriggerProps, submenuProps: submenuProps, popoverProps: popoverProps } = (0, $kM2ZM$useSubmenuTrigger)({\n parentMenuRef: parentMenuRef,\n submenuRef: submenuRef,\n delay: props.delay\n }, submenuTriggerState, itemRef);\n return /*#__PURE__*/ (0, $kM2ZM$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $3674c52c6b3c5bce$var$MenuItemContext,\n {\n ...submenuTriggerProps,\n onAction: undefined,\n ref: itemRef\n }\n ],\n [\n $3674c52c6b3c5bce$export$c7e742effb1c51e2,\n submenuProps\n ],\n [\n (0, $de32f1b87079253c$export$d2f961adcb0afbe),\n submenuTriggerState\n ],\n [\n (0, $07b14b47974efb58$export$9b9a0cd73afb7ca4),\n {\n ref: submenuRef,\n trigger: 'SubmenuTrigger',\n triggerRef: itemRef,\n placement: 'end top',\n // Prevent parent popover from hiding submenu.\n // @ts-ignore\n 'data-react-aria-top-layer': true,\n ...popoverProps\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $kM2ZM$react).createElement(CollectionBranch, {\n collection: state.collection,\n parent: item\n }), props.children[1]);\n}, (props)=>props.children[0]);\nconst $3674c52c6b3c5bce$export$d9b273488cd8ce6f = /*#__PURE__*/ (0, $kM2ZM$forwardRef)(function Menu(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $3674c52c6b3c5bce$export$c7e742effb1c51e2);\n // Delay rendering the actual menu until we have the collection so that auto focus works properly.\n return /*#__PURE__*/ (0, $kM2ZM$react).createElement((0, $kM2ZM$CollectionBuilder), {\n content: /*#__PURE__*/ (0, $kM2ZM$react).createElement((0, $kM2ZM$Collection), props)\n }, (collection)=>collection.size > 0 && /*#__PURE__*/ (0, $kM2ZM$react).createElement($3674c52c6b3c5bce$var$MenuInner, {\n props: props,\n collection: collection,\n menuRef: ref\n }));\n});\nfunction $3674c52c6b3c5bce$var$MenuInner({ props: props, collection: collection, menuRef: ref }) {\n let { filterFn: filterFn, collectionProps: autocompleteMenuProps, collectionRef: collectionRef } = (0, $kM2ZM$useContext)((0, $d2f53cda644affe3$export$65d2a03b8800d6e3)) || {};\n // Memoed so that useAutocomplete callback ref is properly only called once on mount and not everytime a rerender happens\n ref = (0, $kM2ZM$useObjectRef)((0, $kM2ZM$useMemo)(()=>(0, $kM2ZM$mergeRefs)(ref, collectionRef !== undefined ? collectionRef : null), [\n collectionRef,\n ref\n ]));\n let filteredCollection = (0, $kM2ZM$useMemo)(()=>filterFn ? collection.filter(filterFn) : collection, [\n collection,\n filterFn\n ]);\n let state = (0, $kM2ZM$useTreeState)({\n ...props,\n collection: filteredCollection,\n children: undefined\n });\n let triggerState = (0, $kM2ZM$useContext)($3674c52c6b3c5bce$export$795aec4671cbae19);\n let { isVirtualized: isVirtualized, CollectionRoot: CollectionRoot } = (0, $kM2ZM$useContext)((0, $7135fc7d473fd974$export$4feb769f8ddf26c5));\n let { menuProps: menuProps } = (0, $kM2ZM$useMenu)({\n ...props,\n ...autocompleteMenuProps,\n isVirtualized: isVirtualized,\n onClose: props.onClose || (triggerState === null || triggerState === void 0 ? void 0 : triggerState.close)\n }, state, ref);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n defaultClassName: 'react-aria-Menu',\n className: props.className,\n style: props.style,\n values: {}\n });\n return /*#__PURE__*/ (0, $kM2ZM$react).createElement((0, $kM2ZM$FocusScope), null, /*#__PURE__*/ (0, $kM2ZM$react).createElement(\"div\", {\n ...(0, $kM2ZM$filterDOMProps)(props),\n ...menuProps,\n ...renderProps,\n ref: ref,\n slot: props.slot || undefined,\n onScroll: props.onScroll\n }, /*#__PURE__*/ (0, $kM2ZM$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $3674c52c6b3c5bce$export$24aad8519b95b41b,\n state\n ],\n [\n (0, $431f98aba6844401$export$6615d83f6de245ce),\n {\n elementType: 'div'\n }\n ],\n [\n (0, $7135fc7d473fd974$export$d40e14dec8b060a8),\n {\n name: 'MenuSection',\n render: $3674c52c6b3c5bce$var$MenuSectionInner\n }\n ],\n [\n $3674c52c6b3c5bce$var$SubmenuTriggerContext,\n {\n parentMenuRef: ref\n }\n ],\n [\n $3674c52c6b3c5bce$var$MenuItemContext,\n null\n ],\n [\n $3674c52c6b3c5bce$var$SelectionManagerContext,\n state.selectionManager\n ]\n ]\n }, /*#__PURE__*/ (0, $kM2ZM$react).createElement(CollectionRoot, {\n collection: state.collection,\n persistedKeys: (0, $7135fc7d473fd974$export$90e00781bc59d8f9)(state.selectionManager.focusedKey),\n scrollRef: ref\n }))));\n}\n// A subclass of SelectionManager that forwards focus-related properties to the parent,\n// but has its own local selection state.\nclass $3674c52c6b3c5bce$var$GroupSelectionManager extends (0, $kM2ZM$SelectionManager) {\n get focusedKey() {\n return this.parent.focusedKey;\n }\n get isFocused() {\n return this.parent.isFocused;\n }\n setFocusedKey(key, childFocusStrategy) {\n return this.parent.setFocusedKey(key, childFocusStrategy);\n }\n setFocused(isFocused) {\n this.parent.setFocused(isFocused);\n }\n get childFocusStrategy() {\n return this.parent.childFocusStrategy;\n }\n constructor(parent, state){\n super(parent.collection, state);\n this.parent = parent;\n }\n}\nfunction $3674c52c6b3c5bce$var$MenuSectionInner(props, ref, section, className = 'react-aria-MenuSection') {\n var _section_props, _section_props1;\n let state = (0, $kM2ZM$useContext)($3674c52c6b3c5bce$export$24aad8519b95b41b);\n let { CollectionBranch: CollectionBranch } = (0, $kM2ZM$useContext)((0, $7135fc7d473fd974$export$4feb769f8ddf26c5));\n let [headingRef, heading] = (0, $64fa3d84918910a7$export$9d4c57ee4c6ffdd8)();\n var _section_props_arialabel;\n let { headingProps: headingProps, groupProps: groupProps } = (0, $kM2ZM$useMenuSection)({\n heading: heading,\n 'aria-label': (_section_props_arialabel = section.props['aria-label']) !== null && _section_props_arialabel !== void 0 ? _section_props_arialabel : undefined\n });\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n defaultClassName: className,\n className: (_section_props = section.props) === null || _section_props === void 0 ? void 0 : _section_props.className,\n style: (_section_props1 = section.props) === null || _section_props1 === void 0 ? void 0 : _section_props1.style,\n values: {}\n });\n let parent = (0, $kM2ZM$useContext)($3674c52c6b3c5bce$var$SelectionManagerContext);\n let selectionState = (0, $kM2ZM$useMultipleSelectionState)(props);\n let manager = props.selectionMode != null ? new $3674c52c6b3c5bce$var$GroupSelectionManager(parent, selectionState) : parent;\n return /*#__PURE__*/ (0, $kM2ZM$react).createElement(\"section\", {\n ...(0, $kM2ZM$filterDOMProps)(props),\n ...groupProps,\n ...renderProps,\n ref: ref\n }, /*#__PURE__*/ (0, $kM2ZM$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n (0, $72a5793c14baf454$export$e0e4026c12a8bdbb),\n {\n ...headingProps,\n ref: headingRef\n }\n ],\n [\n $3674c52c6b3c5bce$var$SelectionManagerContext,\n manager\n ]\n ]\n }, /*#__PURE__*/ (0, $kM2ZM$react).createElement(CollectionBranch, {\n collection: state.collection,\n parent: section\n })));\n}\nconst $3674c52c6b3c5bce$export$4b1545b4f2016d26 = /*#__PURE__*/ (0, $kM2ZM$createBranchComponent)('section', $3674c52c6b3c5bce$var$MenuSectionInner);\nconst $3674c52c6b3c5bce$var$MenuItemContext = /*#__PURE__*/ (0, $kM2ZM$createContext)(null);\nconst $3674c52c6b3c5bce$export$2ce376c2cc3355c8 = /*#__PURE__*/ (0, $kM2ZM$createLeafComponent)('item', function MenuItem(props, forwardedRef, item) {\n var _useSlottedContext;\n [props, forwardedRef] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, forwardedRef, $3674c52c6b3c5bce$var$MenuItemContext);\n let id = (_useSlottedContext = (0, $64fa3d84918910a7$export$fabf2dc03a41866e)($3674c52c6b3c5bce$var$MenuItemContext)) === null || _useSlottedContext === void 0 ? void 0 : _useSlottedContext.id;\n let state = (0, $kM2ZM$useContext)($3674c52c6b3c5bce$export$24aad8519b95b41b);\n let ref = (0, $kM2ZM$useObjectRef)(forwardedRef);\n let selectionManager = (0, $kM2ZM$useContext)($3674c52c6b3c5bce$var$SelectionManagerContext);\n let { menuItemProps: menuItemProps, labelProps: labelProps, descriptionProps: descriptionProps, keyboardShortcutProps: keyboardShortcutProps, ...states } = (0, $kM2ZM$useMenuItem)({\n ...props,\n id: id,\n key: item.key,\n selectionManager: selectionManager\n }, state, ref);\n let { isFocusVisible: isFocusVisible, focusProps: focusProps } = (0, $kM2ZM$useFocusRing)();\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $kM2ZM$useHover)({\n isDisabled: states.isDisabled\n });\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n id: undefined,\n children: item.rendered,\n defaultClassName: 'react-aria-MenuItem',\n values: {\n ...states,\n isHovered: isHovered,\n isFocusVisible: isFocusVisible,\n selectionMode: selectionManager.selectionMode,\n selectionBehavior: selectionManager.selectionBehavior,\n hasSubmenu: !!props['aria-haspopup'],\n isOpen: props['aria-expanded'] === 'true'\n }\n });\n let ElementType = props.href ? 'a' : 'div';\n return /*#__PURE__*/ (0, $kM2ZM$react).createElement(ElementType, {\n ...(0, $kM2ZM$mergeProps)(menuItemProps, focusProps, hoverProps),\n ...renderProps,\n ref: ref,\n \"data-disabled\": states.isDisabled || undefined,\n \"data-hovered\": isHovered || undefined,\n \"data-focused\": states.isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-pressed\": states.isPressed || undefined,\n \"data-selected\": states.isSelected || undefined,\n \"data-selection-mode\": selectionManager.selectionMode === 'none' ? undefined : selectionManager.selectionMode,\n \"data-has-submenu\": !!props['aria-haspopup'] || undefined,\n \"data-open\": props['aria-expanded'] === 'true' || undefined\n }, /*#__PURE__*/ (0, $kM2ZM$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n (0, $514c0188e459b4c0$export$9afb8bc826b033ea),\n {\n slots: {\n label: labelProps,\n description: descriptionProps\n }\n }\n ],\n [\n (0, $63df2425e2108aa8$export$744d98a3b8a94e1c),\n keyboardShortcutProps\n ]\n ]\n }, renderProps.children));\n});\n\n\nexport {$3674c52c6b3c5bce$export$c7e742effb1c51e2 as MenuContext, $3674c52c6b3c5bce$export$24aad8519b95b41b as MenuStateContext, $3674c52c6b3c5bce$export$795aec4671cbae19 as RootMenuTriggerStateContext, $3674c52c6b3c5bce$export$27d2ad3c5815583e as MenuTrigger, $3674c52c6b3c5bce$export$ecabc99eeffab7ca as SubmenuTrigger, $3674c52c6b3c5bce$export$d9b273488cd8ce6f as Menu, $3674c52c6b3c5bce$export$4b1545b4f2016d26 as MenuSection, $3674c52c6b3c5bce$export$2ce376c2cc3355c8 as MenuItem};\n//# sourceMappingURL=Menu.module.js.map\n","import {ButtonContext as $d2b4bc8c273e7be6$export$24d547caef80ccd1} from \"./Button.mjs\";\nimport {DEFAULT_SLOT as $64fa3d84918910a7$export$c62b8e45d58ddad9, Provider as $64fa3d84918910a7$export$2881499e37b75b9a, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {HeadingContext as $4e85f108e88277b8$export$d688439359537581} from \"./RSPContexts.mjs\";\nimport {PopoverContext as $07b14b47974efb58$export$9b9a0cd73afb7ca4} from \"./Popover.mjs\";\nimport {RootMenuTriggerStateContext as $3674c52c6b3c5bce$export$795aec4671cbae19} from \"./Menu.mjs\";\nimport {useOverlayTrigger as $6IYYA$useOverlayTrigger, useId as $6IYYA$useId, useDialog as $6IYYA$useDialog} from \"react-aria\";\nimport {filterDOMProps as $6IYYA$filterDOMProps} from \"@react-aria/utils\";\nimport {useMenuTriggerState as $6IYYA$useMenuTriggerState} from \"react-stately\";\nimport {PressResponder as $6IYYA$PressResponder} from \"@react-aria/interactions\";\nimport $6IYYA$react, {createContext as $6IYYA$createContext, useRef as $6IYYA$useRef, forwardRef as $6IYYA$forwardRef, useContext as $6IYYA$useContext} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\nconst $de32f1b87079253c$export$8b93a07348a7730c = /*#__PURE__*/ (0, $6IYYA$createContext)(null);\nconst $de32f1b87079253c$export$d2f961adcb0afbe = /*#__PURE__*/ (0, $6IYYA$createContext)(null);\nfunction $de32f1b87079253c$export$2e1e1122cf0cba88(props) {\n // Use useMenuTriggerState instead of useOverlayTriggerState in case a menu is embedded in the dialog.\n // This is needed to handle submenus.\n let state = (0, $6IYYA$useMenuTriggerState)(props);\n let buttonRef = (0, $6IYYA$useRef)(null);\n let { triggerProps: triggerProps, overlayProps: overlayProps } = (0, $6IYYA$useOverlayTrigger)({\n type: 'dialog'\n }, state, buttonRef);\n // Label dialog by the trigger as a fallback if there is no title slot.\n // This is done in RAC instead of hooks because otherwise we cannot distinguish\n // between context and props. Normally aria-labelledby overrides the title\n // but when sent by context we want the title to win.\n triggerProps.id = (0, $6IYYA$useId)();\n overlayProps['aria-labelledby'] = triggerProps.id;\n return /*#__PURE__*/ (0, $6IYYA$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $de32f1b87079253c$export$d2f961adcb0afbe,\n state\n ],\n [\n (0, $3674c52c6b3c5bce$export$795aec4671cbae19),\n state\n ],\n [\n $de32f1b87079253c$export$8b93a07348a7730c,\n overlayProps\n ],\n [\n (0, $07b14b47974efb58$export$9b9a0cd73afb7ca4),\n {\n trigger: 'DialogTrigger',\n triggerRef: buttonRef\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $6IYYA$react).createElement((0, $6IYYA$PressResponder), {\n ...triggerProps,\n ref: buttonRef,\n isPressed: state.isOpen\n }, props.children));\n}\nconst $de32f1b87079253c$export$3ddf2d174ce01153 = /*#__PURE__*/ (0, $6IYYA$forwardRef)(function Dialog(props, ref) {\n let originalAriaLabelledby = props['aria-labelledby'];\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $de32f1b87079253c$export$8b93a07348a7730c);\n let { dialogProps: dialogProps, titleProps: titleProps } = (0, $6IYYA$useDialog)({\n ...props,\n // Only pass aria-labelledby from props, not context.\n // Context is used as a fallback below.\n 'aria-labelledby': originalAriaLabelledby\n }, ref);\n let state = (0, $6IYYA$useContext)($de32f1b87079253c$export$d2f961adcb0afbe);\n if (!dialogProps['aria-label'] && !dialogProps['aria-labelledby']) {\n // If aria-labelledby exists on props, we know it came from context.\n // Use that as a fallback in case there is no title slot.\n if (props['aria-labelledby']) dialogProps['aria-labelledby'] = props['aria-labelledby'];\n else console.warn('If a Dialog does not contain a <Heading slot=\"title\">, it must have an aria-label or aria-labelledby attribute for accessibility.');\n }\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n defaultClassName: 'react-aria-Dialog',\n className: props.className,\n style: props.style,\n children: props.children,\n values: {\n close: (state === null || state === void 0 ? void 0 : state.close) || (()=>{})\n }\n });\n return /*#__PURE__*/ (0, $6IYYA$react).createElement(\"section\", {\n ...(0, $6IYYA$filterDOMProps)(props),\n ...dialogProps,\n ...renderProps,\n ref: ref,\n slot: props.slot || undefined\n }, /*#__PURE__*/ (0, $6IYYA$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n (0, $4e85f108e88277b8$export$d688439359537581),\n {\n slots: {\n [(0, $64fa3d84918910a7$export$c62b8e45d58ddad9)]: {},\n title: {\n ...titleProps,\n level: 2\n }\n }\n }\n ],\n [\n (0, $d2b4bc8c273e7be6$export$24d547caef80ccd1),\n {\n slots: {\n [(0, $64fa3d84918910a7$export$c62b8e45d58ddad9)]: {},\n close: {\n onPress: ()=>state === null || state === void 0 ? void 0 : state.close()\n }\n }\n }\n ]\n ]\n }, renderProps.children));\n});\n\n\nexport {$de32f1b87079253c$export$8b93a07348a7730c as DialogContext, $de32f1b87079253c$export$d2f961adcb0afbe as OverlayTriggerStateContext, $de32f1b87079253c$export$2e1e1122cf0cba88 as DialogTrigger, $de32f1b87079253c$export$3ddf2d174ce01153 as Dialog};\n//# sourceMappingURL=Dialog.module.js.map\n","import {ButtonContext as $d2b4bc8c273e7be6$export$24d547caef80ccd1} from \"./Button.mjs\";\nimport {Provider as $64fa3d84918910a7$export$2881499e37b75b9a, removeDataAttributes as $64fa3d84918910a7$export$ef03459518577ad4, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3, useSlot as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, useSlottedContext as $64fa3d84918910a7$export$fabf2dc03a41866e} from \"./utils.mjs\";\nimport {FieldErrorContext as $ee014567cb39d3f0$export$ff05c3ac10437e03} from \"./FieldError.mjs\";\nimport {FormContext as $d3e0e05bdfcf66bd$export$c24727297075ec6a} from \"./Form.mjs\";\nimport $akiWb$intlStringsmodulejs from \"./intlStrings.mjs\";\nimport {LabelContext as $01b77f81d0f07f68$export$75b6ee27786ba447} from \"./Label.mjs\";\nimport {ListBoxContext as $eed445e0843c11d0$export$7ff8f37d2d81a48d, ListStateContext as $eed445e0843c11d0$export$7c5906fe4f1f2af2} from \"./ListBox.mjs\";\nimport {OverlayTriggerStateContext as $de32f1b87079253c$export$d2f961adcb0afbe} from \"./Dialog.mjs\";\nimport {PopoverContext as $07b14b47974efb58$export$9b9a0cd73afb7ca4} from \"./Popover.mjs\";\nimport {TextContext as $514c0188e459b4c0$export$9afb8bc826b033ea} from \"./Text.mjs\";\nimport {useFocusRing as $akiWb$useFocusRing, useSelect as $akiWb$useSelect, HiddenSelect as $akiWb$HiddenSelect, useLocalizedStringFormatter as $akiWb$useLocalizedStringFormatter} from \"react-aria\";\nimport {useSelectState as $akiWb$useSelectState} from \"react-stately\";\nimport {CollectionBuilder as $akiWb$CollectionBuilder} from \"@react-aria/collections\";\nimport {useResizeObserver as $akiWb$useResizeObserver, filterDOMProps as $akiWb$filterDOMProps} from \"@react-aria/utils\";\nimport $akiWb$react, {createContext as $akiWb$createContext, forwardRef as $akiWb$forwardRef, useMemo as $akiWb$useMemo, useRef as $akiWb$useRef, useState as $akiWb$useState, useCallback as $akiWb$useCallback, useContext as $akiWb$useContext} from \"react\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\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\nconst $82d7e5349645de74$export$7540cee5be7dc19b = /*#__PURE__*/ (0, $akiWb$createContext)(null);\nconst $82d7e5349645de74$export$ef445b55be0601bd = /*#__PURE__*/ (0, $akiWb$createContext)(null);\nconst $82d7e5349645de74$export$ef9b1a59e592288f = /*#__PURE__*/ (0, $akiWb$forwardRef)(function Select(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $82d7e5349645de74$export$7540cee5be7dc19b);\n let { children: children, isDisabled: isDisabled = false, isInvalid: isInvalid = false, isRequired: isRequired = false } = props;\n let content = (0, $akiWb$useMemo)(()=>typeof children === 'function' ? children({\n isOpen: false,\n isDisabled: isDisabled,\n isInvalid: isInvalid,\n isRequired: isRequired,\n isFocused: false,\n isFocusVisible: false,\n defaultChildren: null\n }) : children, [\n children,\n isDisabled,\n isInvalid,\n isRequired\n ]);\n return /*#__PURE__*/ (0, $akiWb$react).createElement((0, $akiWb$CollectionBuilder), {\n content: content\n }, (collection)=>/*#__PURE__*/ (0, $akiWb$react).createElement($82d7e5349645de74$var$SelectInner, {\n props: props,\n collection: collection,\n selectRef: ref\n }));\n});\nfunction $82d7e5349645de74$var$SelectInner({ props: props, selectRef: ref, collection: collection }) {\n let { validationBehavior: formValidationBehavior } = (0, $64fa3d84918910a7$export$fabf2dc03a41866e)((0, $d3e0e05bdfcf66bd$export$c24727297075ec6a)) || {};\n var _props_validationBehavior, _ref;\n let validationBehavior = (_ref = (_props_validationBehavior = props.validationBehavior) !== null && _props_validationBehavior !== void 0 ? _props_validationBehavior : formValidationBehavior) !== null && _ref !== void 0 ? _ref : 'native';\n let state = (0, $akiWb$useSelectState)({\n ...props,\n collection: collection,\n children: undefined,\n validationBehavior: validationBehavior\n });\n let { isFocusVisible: isFocusVisible, focusProps: focusProps } = (0, $akiWb$useFocusRing)({\n within: true\n });\n // Get props for child elements from useSelect\n let buttonRef = (0, $akiWb$useRef)(null);\n let [labelRef, label] = (0, $64fa3d84918910a7$export$9d4c57ee4c6ffdd8)();\n let { labelProps: labelProps, triggerProps: triggerProps, valueProps: valueProps, menuProps: menuProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps, ...validation } = (0, $akiWb$useSelect)({\n ...(0, $64fa3d84918910a7$export$ef03459518577ad4)(props),\n label: label,\n validationBehavior: validationBehavior\n }, state, buttonRef);\n // Make menu width match input + button\n let [buttonWidth, setButtonWidth] = (0, $akiWb$useState)(null);\n let onResize = (0, $akiWb$useCallback)(()=>{\n if (buttonRef.current) setButtonWidth(buttonRef.current.offsetWidth + 'px');\n }, [\n buttonRef\n ]);\n (0, $akiWb$useResizeObserver)({\n ref: buttonRef,\n onResize: onResize\n });\n // Only expose a subset of state to renderProps function to avoid infinite render loop\n let renderPropsState = (0, $akiWb$useMemo)(()=>({\n isOpen: state.isOpen,\n isFocused: state.isFocused,\n isFocusVisible: isFocusVisible,\n isDisabled: props.isDisabled || false,\n isInvalid: validation.isInvalid || false,\n isRequired: props.isRequired || false\n }), [\n state.isOpen,\n state.isFocused,\n isFocusVisible,\n props.isDisabled,\n validation.isInvalid,\n props.isRequired\n ]);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n values: renderPropsState,\n defaultClassName: 'react-aria-Select'\n });\n let DOMProps = (0, $akiWb$filterDOMProps)(props);\n delete DOMProps.id;\n let scrollRef = (0, $akiWb$useRef)(null);\n return /*#__PURE__*/ (0, $akiWb$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $82d7e5349645de74$export$7540cee5be7dc19b,\n props\n ],\n [\n $82d7e5349645de74$export$ef445b55be0601bd,\n state\n ],\n [\n $82d7e5349645de74$export$f8f745c04421623f,\n valueProps\n ],\n [\n (0, $01b77f81d0f07f68$export$75b6ee27786ba447),\n {\n ...labelProps,\n ref: labelRef,\n elementType: 'span'\n }\n ],\n [\n (0, $d2b4bc8c273e7be6$export$24d547caef80ccd1),\n {\n ...triggerProps,\n ref: buttonRef,\n isPressed: state.isOpen\n }\n ],\n [\n (0, $de32f1b87079253c$export$d2f961adcb0afbe),\n state\n ],\n [\n (0, $07b14b47974efb58$export$9b9a0cd73afb7ca4),\n {\n trigger: 'Select',\n triggerRef: buttonRef,\n scrollRef: scrollRef,\n placement: 'bottom start',\n style: {\n '--trigger-width': buttonWidth\n }\n }\n ],\n [\n (0, $eed445e0843c11d0$export$7ff8f37d2d81a48d),\n {\n ...menuProps,\n ref: scrollRef\n }\n ],\n [\n (0, $eed445e0843c11d0$export$7c5906fe4f1f2af2),\n state\n ],\n [\n (0, $514c0188e459b4c0$export$9afb8bc826b033ea),\n {\n slots: {\n description: descriptionProps,\n errorMessage: errorMessageProps\n }\n }\n ],\n [\n (0, $ee014567cb39d3f0$export$ff05c3ac10437e03),\n validation\n ]\n ]\n }, /*#__PURE__*/ (0, $akiWb$react).createElement(\"div\", {\n ...DOMProps,\n ...renderProps,\n ...focusProps,\n ref: ref,\n slot: props.slot || undefined,\n \"data-focused\": state.isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-open\": state.isOpen || undefined,\n \"data-disabled\": props.isDisabled || undefined,\n \"data-invalid\": validation.isInvalid || undefined,\n \"data-required\": props.isRequired || undefined\n }), /*#__PURE__*/ (0, $akiWb$react).createElement((0, $akiWb$HiddenSelect), {\n autoComplete: props.autoComplete,\n state: state,\n triggerRef: buttonRef,\n label: label,\n name: props.name,\n isDisabled: props.isDisabled\n }));\n}\nconst $82d7e5349645de74$export$f8f745c04421623f = /*#__PURE__*/ (0, $akiWb$createContext)(null);\nconst $82d7e5349645de74$export$e288731fd71264f0 = /*#__PURE__*/ (0, $akiWb$forwardRef)(function SelectValue(props, ref) {\n var _state_selectedItem, _state_selectedItem1;\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $82d7e5349645de74$export$f8f745c04421623f);\n let state = (0, $akiWb$useContext)($82d7e5349645de74$export$ef445b55be0601bd);\n let { placeholder: placeholder } = (0, $64fa3d84918910a7$export$fabf2dc03a41866e)($82d7e5349645de74$export$7540cee5be7dc19b);\n let selectedItem = state.selectedKey != null ? state.collection.getItem(state.selectedKey) : null;\n let rendered = selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.props.children;\n if (typeof rendered === 'function') {\n // If the selected item has a function as a child, we need to call it to render to React.JSX.\n let fn = rendered;\n rendered = fn({\n isHovered: false,\n isPressed: false,\n isSelected: false,\n isFocused: false,\n isFocusVisible: false,\n isDisabled: false,\n selectionMode: 'single',\n selectionBehavior: 'toggle'\n });\n }\n let stringFormatter = (0, $akiWb$useLocalizedStringFormatter)((0, ($parcel$interopDefault($akiWb$intlStringsmodulejs))), 'react-aria-components');\n var _ref, _state_selectedItem_value, _state_selectedItem_textValue;\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultChildren: (_ref = rendered !== null && rendered !== void 0 ? rendered : placeholder) !== null && _ref !== void 0 ? _ref : stringFormatter.format('selectPlaceholder'),\n defaultClassName: 'react-aria-SelectValue',\n values: {\n selectedItem: (_state_selectedItem_value = (_state_selectedItem = state.selectedItem) === null || _state_selectedItem === void 0 ? void 0 : _state_selectedItem.value) !== null && _state_selectedItem_value !== void 0 ? _state_selectedItem_value : null,\n selectedText: (_state_selectedItem_textValue = (_state_selectedItem1 = state.selectedItem) === null || _state_selectedItem1 === void 0 ? void 0 : _state_selectedItem1.textValue) !== null && _state_selectedItem_textValue !== void 0 ? _state_selectedItem_textValue : null,\n isPlaceholder: !selectedItem\n }\n });\n let DOMProps = (0, $akiWb$filterDOMProps)(props);\n return /*#__PURE__*/ (0, $akiWb$react).createElement(\"span\", {\n ref: ref,\n ...DOMProps,\n ...renderProps,\n \"data-placeholder\": !selectedItem || undefined\n }, /*#__PURE__*/ (0, $akiWb$react).createElement((0, $514c0188e459b4c0$export$9afb8bc826b033ea).Provider, {\n value: undefined\n }, renderProps.children));\n});\n\n\nexport {$82d7e5349645de74$export$7540cee5be7dc19b as SelectContext, $82d7e5349645de74$export$ef445b55be0601bd as SelectStateContext, $82d7e5349645de74$export$ef9b1a59e592288f as Select, $82d7e5349645de74$export$f8f745c04421623f as SelectValueContext, $82d7e5349645de74$export$e288731fd71264f0 as SelectValue};\n//# sourceMappingURL=Select.module.js.map\n","import {ButtonContext as $d2b4bc8c273e7be6$export$24d547caef80ccd1} from \"./Button.mjs\";\nimport {CollectionRendererContext as $7135fc7d473fd974$export$4feb769f8ddf26c5, DefaultCollectionRenderer as $7135fc7d473fd974$export$a164736487e3f0ae, usePersistedKeys as $7135fc7d473fd974$export$90e00781bc59d8f9} from \"./Collection.mjs\";\nimport {Provider as $64fa3d84918910a7$export$2881499e37b75b9a, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3, useSlot as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8} from \"./utils.mjs\";\nimport {LabelContext as $01b77f81d0f07f68$export$75b6ee27786ba447} from \"./Label.mjs\";\nimport {ListStateContext as $eed445e0843c11d0$export$7c5906fe4f1f2af2} from \"./ListBox.mjs\";\nimport {TextContext as $514c0188e459b4c0$export$9afb8bc826b033ea} from \"./Text.mjs\";\nimport {useTagGroup as $7lruP$useTagGroup, useFocusRing as $7lruP$useFocusRing, useTag as $7lruP$useTag, useHover as $7lruP$useHover} from \"react-aria\";\nimport {CollectionBuilder as $7lruP$CollectionBuilder, Collection as $7lruP$Collection, createLeafComponent as $7lruP$createLeafComponent} from \"@react-aria/collections\";\nimport {filterDOMProps as $7lruP$filterDOMProps, mergeProps as $7lruP$mergeProps, useObjectRef as $7lruP$useObjectRef} from \"@react-aria/utils\";\nimport {useListState as $7lruP$useListState} from \"react-stately\";\nimport $7lruP$react, {createContext as $7lruP$createContext, forwardRef as $7lruP$forwardRef, useRef as $7lruP$useRef, useContext as $7lruP$useContext, useEffect as $7lruP$useEffect} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\nconst $eaf9e70818b436db$export$5b07b5dd2cbd96e3 = /*#__PURE__*/ (0, $7lruP$createContext)(null);\nconst $eaf9e70818b436db$export$e755ce3685dd0ca9 = /*#__PURE__*/ (0, $7lruP$createContext)(null);\nconst $eaf9e70818b436db$export$67ea30858aaf75e3 = /*#__PURE__*/ (0, $7lruP$forwardRef)(function TagGroup(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $eaf9e70818b436db$export$5b07b5dd2cbd96e3);\n return /*#__PURE__*/ (0, $7lruP$react).createElement((0, $7lruP$CollectionBuilder), {\n content: props.children\n }, (collection)=>/*#__PURE__*/ (0, $7lruP$react).createElement($eaf9e70818b436db$var$TagGroupInner, {\n props: props,\n forwardedRef: ref,\n collection: collection\n }));\n});\nfunction $eaf9e70818b436db$var$TagGroupInner({ props: props, forwardedRef: ref, collection: collection }) {\n let tagListRef = (0, $7lruP$useRef)(null);\n let [labelRef, label] = (0, $64fa3d84918910a7$export$9d4c57ee4c6ffdd8)();\n let state = (0, $7lruP$useListState)({\n ...props,\n children: undefined,\n collection: collection\n });\n // Prevent DOM props from going to two places.\n let domProps = (0, $7lruP$filterDOMProps)(props);\n let domPropOverrides = Object.fromEntries(Object.entries(domProps).map(([k])=>[\n k,\n undefined\n ]));\n let { gridProps: gridProps, labelProps: labelProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps } = (0, $7lruP$useTagGroup)({\n ...props,\n ...domPropOverrides,\n label: label\n }, state, tagListRef);\n var _props_className;\n return /*#__PURE__*/ (0, $7lruP$react).createElement(\"div\", {\n ...domProps,\n ref: ref,\n slot: props.slot || undefined,\n className: (_props_className = props.className) !== null && _props_className !== void 0 ? _props_className : 'react-aria-TagGroup',\n style: props.style\n }, /*#__PURE__*/ (0, $7lruP$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n (0, $01b77f81d0f07f68$export$75b6ee27786ba447),\n {\n ...labelProps,\n elementType: 'span',\n ref: labelRef\n }\n ],\n [\n $eaf9e70818b436db$export$e755ce3685dd0ca9,\n {\n ...gridProps,\n ref: tagListRef\n }\n ],\n [\n (0, $eed445e0843c11d0$export$7c5906fe4f1f2af2),\n state\n ],\n [\n (0, $514c0188e459b4c0$export$9afb8bc826b033ea),\n {\n slots: {\n description: descriptionProps,\n errorMessage: errorMessageProps\n }\n }\n ]\n ]\n }, props.children));\n}\nconst $eaf9e70818b436db$export$f9fef0f55402315b = /*#__PURE__*/ (0, $7lruP$forwardRef)(function TagList(props, ref) {\n let state = (0, $7lruP$useContext)((0, $eed445e0843c11d0$export$7c5906fe4f1f2af2));\n return state ? /*#__PURE__*/ (0, $7lruP$react).createElement($eaf9e70818b436db$var$TagListInner, {\n props: props,\n forwardedRef: ref\n }) : /*#__PURE__*/ (0, $7lruP$react).createElement((0, $7lruP$Collection), props);\n});\nfunction $eaf9e70818b436db$var$TagListInner({ props: props, forwardedRef: forwardedRef }) {\n let state = (0, $7lruP$useContext)((0, $eed445e0843c11d0$export$7c5906fe4f1f2af2));\n let { CollectionRoot: CollectionRoot } = (0, $7lruP$useContext)((0, $7135fc7d473fd974$export$4feb769f8ddf26c5));\n let [gridProps, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, forwardedRef, $eaf9e70818b436db$export$e755ce3685dd0ca9);\n delete gridProps.items;\n delete gridProps.renderEmptyState;\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $7lruP$useFocusRing)();\n let renderValues = {\n isEmpty: state.collection.size === 0,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n state: state\n };\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n className: props.className,\n style: props.style,\n defaultClassName: 'react-aria-TagList',\n values: renderValues\n });\n let persistedKeys = (0, $7135fc7d473fd974$export$90e00781bc59d8f9)(state.selectionManager.focusedKey);\n return /*#__PURE__*/ (0, $7lruP$react).createElement(\"div\", {\n ...(0, $7lruP$mergeProps)(gridProps, focusProps),\n ...renderProps,\n ref: ref,\n \"data-empty\": state.collection.size === 0 || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined\n }, state.collection.size === 0 && props.renderEmptyState ? props.renderEmptyState(renderValues) : /*#__PURE__*/ (0, $7lruP$react).createElement(CollectionRoot, {\n collection: state.collection,\n persistedKeys: persistedKeys\n }));\n}\nconst $eaf9e70818b436db$export$3288d34c523a1192 = /*#__PURE__*/ (0, $7lruP$createLeafComponent)('item', (props, forwardedRef, item)=>{\n let state = (0, $7lruP$useContext)((0, $eed445e0843c11d0$export$7c5906fe4f1f2af2));\n let ref = (0, $7lruP$useObjectRef)(forwardedRef);\n let { focusProps: focusProps, isFocusVisible: isFocusVisible } = (0, $7lruP$useFocusRing)({\n within: true\n });\n let { rowProps: rowProps, gridCellProps: gridCellProps, removeButtonProps: removeButtonProps, ...states } = (0, $7lruP$useTag)({\n item: item\n }, state, ref);\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $7lruP$useHover)({\n isDisabled: !states.allowsSelection,\n onHoverStart: item.props.onHoverStart,\n onHoverChange: item.props.onHoverChange,\n onHoverEnd: item.props.onHoverEnd\n });\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n id: undefined,\n children: item.rendered,\n defaultClassName: 'react-aria-Tag',\n values: {\n ...states,\n isFocusVisible: isFocusVisible,\n isHovered: isHovered,\n selectionMode: state.selectionManager.selectionMode,\n selectionBehavior: state.selectionManager.selectionBehavior\n }\n });\n (0, $7lruP$useEffect)(()=>{\n if (!item.textValue) console.warn('A `textValue` prop is required for <Tag> elements with non-plain text children for accessibility.');\n }, [\n item.textValue\n ]);\n return /*#__PURE__*/ (0, $7lruP$react).createElement(\"div\", {\n ref: ref,\n ...renderProps,\n ...(0, $7lruP$mergeProps)((0, $7lruP$filterDOMProps)(props), rowProps, focusProps, hoverProps),\n \"data-selected\": states.isSelected || undefined,\n \"data-disabled\": states.isDisabled || undefined,\n \"data-hovered\": isHovered || undefined,\n \"data-focused\": states.isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-pressed\": states.isPressed || undefined,\n \"data-allows-removing\": states.allowsRemoving || undefined,\n \"data-selection-mode\": state.selectionManager.selectionMode === 'none' ? undefined : state.selectionManager.selectionMode\n }, /*#__PURE__*/ (0, $7lruP$react).createElement(\"div\", {\n ...gridCellProps,\n style: {\n display: 'contents'\n }\n }, /*#__PURE__*/ (0, $7lruP$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n (0, $d2b4bc8c273e7be6$export$24d547caef80ccd1),\n {\n slots: {\n remove: removeButtonProps\n }\n }\n ],\n [\n (0, $7135fc7d473fd974$export$4feb769f8ddf26c5),\n (0, $7135fc7d473fd974$export$a164736487e3f0ae)\n ]\n ]\n }, renderProps.children)));\n});\n\n\nexport {$eaf9e70818b436db$export$5b07b5dd2cbd96e3 as TagGroupContext, $eaf9e70818b436db$export$e755ce3685dd0ca9 as TagListContext, $eaf9e70818b436db$export$67ea30858aaf75e3 as TagGroup, $eaf9e70818b436db$export$f9fef0f55402315b as TagList, $eaf9e70818b436db$export$3288d34c523a1192 as Tag};\n//# sourceMappingURL=TagGroup.module.js.map\n","import {useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {useToggleButtonGroup as $1lXgK$useToggleButtonGroup} from \"react-aria\";\nimport $1lXgK$react, {createContext as $1lXgK$createContext, forwardRef as $1lXgK$forwardRef} from \"react\";\nimport {useToggleGroupState as $1lXgK$useToggleGroupState} from \"react-stately\";\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 */ \n\n\n\nconst $84b7d8702d4ff4a8$export$298258635ae0dd97 = /*#__PURE__*/ (0, $1lXgK$createContext)({});\nconst $84b7d8702d4ff4a8$export$a8a71863db173133 = /*#__PURE__*/ (0, $1lXgK$createContext)(null);\nconst $84b7d8702d4ff4a8$export$40258cc1d95ff477 = /*#__PURE__*/ (0, $1lXgK$forwardRef)(function ToggleButtonGroup(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $84b7d8702d4ff4a8$export$298258635ae0dd97);\n let state = (0, $1lXgK$useToggleGroupState)(props);\n let { groupProps: groupProps } = (0, $1lXgK$useToggleButtonGroup)(props, state, ref);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n values: {\n isDisabled: state.isDisabled,\n state: state\n },\n defaultClassName: 'react-aria-ToggleButtonGroup'\n });\n return /*#__PURE__*/ (0, $1lXgK$react).createElement(\"div\", {\n ...groupProps,\n ...renderProps,\n ref: ref,\n slot: props.slot || undefined,\n \"data-orientation\": props.orientation || 'horizontal',\n \"data-disabled\": props.isDisabled || undefined\n }, /*#__PURE__*/ (0, $1lXgK$react).createElement($84b7d8702d4ff4a8$export$a8a71863db173133.Provider, {\n value: state\n }, renderProps.children));\n});\n\n\nexport {$84b7d8702d4ff4a8$export$298258635ae0dd97 as ToggleButtonGroupContext, $84b7d8702d4ff4a8$export$a8a71863db173133 as ToggleGroupStateContext, $84b7d8702d4ff4a8$export$40258cc1d95ff477 as ToggleButtonGroup};\n//# sourceMappingURL=ToggleButtonGroup.module.js.map\n","import {useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {ToggleGroupStateContext as $84b7d8702d4ff4a8$export$a8a71863db173133} from \"./ToggleButtonGroup.mjs\";\nimport {useToggleButtonGroupItem as $jrJ9L$useToggleButtonGroupItem, useToggleButton as $jrJ9L$useToggleButton, useFocusRing as $jrJ9L$useFocusRing, useHover as $jrJ9L$useHover, mergeProps as $jrJ9L$mergeProps} from \"react-aria\";\nimport $jrJ9L$react, {createContext as $jrJ9L$createContext, forwardRef as $jrJ9L$forwardRef, useContext as $jrJ9L$useContext} from \"react\";\nimport {useToggleState as $jrJ9L$useToggleState} from \"react-stately\";\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 $efde0372d7a700fe$export$43506d75ebd2e218 = /*#__PURE__*/ (0, $jrJ9L$createContext)({});\nconst $efde0372d7a700fe$export$d2b052e7b4be1756 = /*#__PURE__*/ (0, $jrJ9L$forwardRef)(function ToggleButton(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $efde0372d7a700fe$export$43506d75ebd2e218);\n let groupState = (0, $jrJ9L$useContext)((0, $84b7d8702d4ff4a8$export$a8a71863db173133));\n let state = (0, $jrJ9L$useToggleState)(groupState && props.id != null ? {\n isSelected: groupState.selectedKeys.has(props.id),\n onChange (isSelected) {\n groupState.setSelected(props.id, isSelected);\n }\n } : props);\n let { buttonProps: buttonProps, isPressed: isPressed, isSelected: isSelected, isDisabled: isDisabled } = groupState && props.id != null ? (0, $jrJ9L$useToggleButtonGroupItem)({\n ...props,\n id: props.id\n }, groupState, ref) : (0, $jrJ9L$useToggleButton)({\n ...props,\n id: props.id != null ? String(props.id) : undefined\n }, state, ref);\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $jrJ9L$useFocusRing)(props);\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $jrJ9L$useHover)(props);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n id: undefined,\n values: {\n isHovered: isHovered,\n isPressed: isPressed,\n isFocused: isFocused,\n isSelected: state.isSelected,\n isFocusVisible: isFocusVisible,\n isDisabled: isDisabled,\n state: state\n },\n defaultClassName: 'react-aria-ToggleButton'\n });\n return /*#__PURE__*/ (0, $jrJ9L$react).createElement(\"button\", {\n ...(0, $jrJ9L$mergeProps)(buttonProps, focusProps, hoverProps),\n ...renderProps,\n ref: ref,\n slot: props.slot || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-disabled\": isDisabled || undefined,\n \"data-pressed\": isPressed || undefined,\n \"data-selected\": isSelected || undefined,\n \"data-hovered\": isHovered || undefined,\n \"data-focus-visible\": isFocusVisible || undefined\n });\n});\n\n\nexport {$efde0372d7a700fe$export$43506d75ebd2e218 as ToggleButtonContext, $efde0372d7a700fe$export$d2b052e7b4be1756 as ToggleButton};\n//# sourceMappingURL=ToggleButton.module.js.map\n","import {Provider as $64fa3d84918910a7$export$2881499e37b75b9a, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {OverlayArrowContext as $44f671af83e7d9e0$export$2de4954e8ae13b9f} from \"./OverlayArrow.mjs\";\nimport {useTooltipTrigger as $cCslV$useTooltipTrigger, OverlayContainer as $cCslV$OverlayContainer, useOverlayPosition as $cCslV$useOverlayPosition, mergeProps as $cCslV$mergeProps, useTooltip as $cCslV$useTooltip} from \"react-aria\";\nimport {FocusableProvider as $cCslV$FocusableProvider} from \"@react-aria/focus\";\nimport {useTooltipTriggerState as $cCslV$useTooltipTriggerState} from \"react-stately\";\nimport $cCslV$react, {createContext as $cCslV$createContext, useRef as $cCslV$useRef, forwardRef as $cCslV$forwardRef, useContext as $cCslV$useContext, useState as $cCslV$useState} from \"react\";\nimport {useExitAnimation as $cCslV$useExitAnimation, useLayoutEffect as $cCslV$useLayoutEffect, useEnterAnimation as $cCslV$useEnterAnimation} from \"@react-aria/utils\";\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\nconst $4e3b923658d69c60$export$7a7623236eec67fa = /*#__PURE__*/ (0, $cCslV$createContext)(null);\nconst $4e3b923658d69c60$export$39ae08fa83328b12 = /*#__PURE__*/ (0, $cCslV$createContext)(null);\nfunction $4e3b923658d69c60$export$8c610744efcf8a1d(props) {\n let state = (0, $cCslV$useTooltipTriggerState)(props);\n let ref = (0, $cCslV$useRef)(null);\n let { triggerProps: triggerProps, tooltipProps: tooltipProps } = (0, $cCslV$useTooltipTrigger)(props, state, ref);\n return /*#__PURE__*/ (0, $cCslV$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $4e3b923658d69c60$export$7a7623236eec67fa,\n state\n ],\n [\n $4e3b923658d69c60$export$39ae08fa83328b12,\n {\n ...tooltipProps,\n triggerRef: ref\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $cCslV$react).createElement((0, $cCslV$FocusableProvider), {\n ...triggerProps,\n ref: ref\n }, props.children));\n}\nconst $4e3b923658d69c60$export$28c660c63b792dea = /*#__PURE__*/ (0, $cCslV$forwardRef)(function Tooltip({ UNSTABLE_portalContainer: UNSTABLE_portalContainer, ...props }, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $4e3b923658d69c60$export$39ae08fa83328b12);\n let contextState = (0, $cCslV$useContext)($4e3b923658d69c60$export$7a7623236eec67fa);\n let localState = (0, $cCslV$useTooltipTriggerState)(props);\n let state = props.isOpen != null || props.defaultOpen != null || !contextState ? localState : contextState;\n let isExiting = (0, $cCslV$useExitAnimation)(ref, state.isOpen) || props.isExiting || false;\n if (!state.isOpen && !isExiting) return null;\n return /*#__PURE__*/ (0, $cCslV$react).createElement((0, $cCslV$OverlayContainer), {\n portalContainer: UNSTABLE_portalContainer\n }, /*#__PURE__*/ (0, $cCslV$react).createElement($4e3b923658d69c60$var$TooltipInner, {\n ...props,\n tooltipRef: ref,\n isExiting: isExiting\n }));\n});\nfunction $4e3b923658d69c60$var$TooltipInner(props) {\n let state = (0, $cCslV$useContext)($4e3b923658d69c60$export$7a7623236eec67fa);\n // Calculate the arrow size internally\n // Referenced from: packages/@react-spectrum/tooltip/src/TooltipTrigger.tsx\n let arrowRef = (0, $cCslV$useRef)(null);\n let [arrowWidth, setArrowWidth] = (0, $cCslV$useState)(0);\n (0, $cCslV$useLayoutEffect)(()=>{\n if (arrowRef.current && state.isOpen) setArrowWidth(arrowRef.current.getBoundingClientRect().width);\n }, [\n state.isOpen,\n arrowRef\n ]);\n let { overlayProps: overlayProps, arrowProps: arrowProps, placement: placement } = (0, $cCslV$useOverlayPosition)({\n placement: props.placement || 'top',\n targetRef: props.triggerRef,\n overlayRef: props.tooltipRef,\n offset: props.offset,\n crossOffset: props.crossOffset,\n isOpen: state.isOpen,\n arrowSize: arrowWidth,\n arrowBoundaryOffset: props.arrowBoundaryOffset,\n shouldFlip: props.shouldFlip,\n onClose: ()=>state.close(true)\n });\n let isEntering = (0, $cCslV$useEnterAnimation)(props.tooltipRef, !!placement) || props.isEntering || false;\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-Tooltip',\n values: {\n placement: placement,\n isEntering: isEntering,\n isExiting: props.isExiting,\n state: state\n }\n });\n props = (0, $cCslV$mergeProps)(props, overlayProps);\n let { tooltipProps: tooltipProps } = (0, $cCslV$useTooltip)(props, state);\n return /*#__PURE__*/ (0, $cCslV$react).createElement(\"div\", {\n ...tooltipProps,\n ref: props.tooltipRef,\n ...renderProps,\n style: {\n ...overlayProps.style,\n ...renderProps.style\n },\n \"data-placement\": placement !== null && placement !== void 0 ? placement : undefined,\n \"data-entering\": isEntering || undefined,\n \"data-exiting\": props.isExiting || undefined\n }, /*#__PURE__*/ (0, $cCslV$react).createElement((0, $44f671af83e7d9e0$export$2de4954e8ae13b9f).Provider, {\n value: {\n ...arrowProps,\n placement: placement,\n ref: arrowRef\n }\n }, renderProps.children));\n}\n\n\nexport {$4e3b923658d69c60$export$7a7623236eec67fa as TooltipTriggerStateContext, $4e3b923658d69c60$export$39ae08fa83328b12 as TooltipContext, $4e3b923658d69c60$export$8c610744efcf8a1d as TooltipTrigger, $4e3b923658d69c60$export$28c660c63b792dea as Tooltip};\n//# sourceMappingURL=Tooltip.module.js.map\n","import { defineRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the Tooltip component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const tooltipRecipe = defineRecipe({\n // Unique class name prefix for the component\n className: \"nimbus-tooltip\",\n\n // Base styles applied to all instances of the component\n base: {\n color: \"white\",\n textStyle: \"xs\",\n fontWeight: \"400\",\n background: \"slate.12\",\n display: \"inline-flex\",\n alignItems: \"center\",\n borderRadius: \"100\",\n paddingX: \"300\",\n paddingY: \"100\",\n margin: \"100\",\n maxW: \"6400\",\n boxShadow: \"1\",\n },\n});\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react\";\n\nimport { type TooltipProps as RATooltipProps } from \"react-aria-components\";\n\nimport { tooltipRecipe } from \"./tooltip.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n */\ninterface TooltipRecipeProps extends RecipeProps<\"div\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface TooltipRootProps\n extends HTMLChakraProps<\"div\", TooltipRecipeProps> {}\n\nconst { withContext } = createRecipeContext({ recipe: tooltipRecipe });\n\n/**\n * Root component that provides the styling context for the Tooltip component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const TooltipRoot = withContext<\n HTMLDivElement,\n TooltipRootProps & RATooltipProps\n>(\"div\");\n","import { forwardRef } from \"react\";\nimport { Tooltip as RATooltip } from \"react-aria-components\";\nimport { TooltipRoot } from \"./tooltip.slots\";\nimport type { TooltipProps } from \"./tooltip.types\";\n\n/**\n * Tooltip\n * ============================================================\n * A contextual popup that displays a description for an element, uses `Tooltip` component from `react-aria-components`.\n *\n * Features:\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLDivElement' attributes (including aria- & data-attributes)\n * - allows overriding styles by using style-props\n *\n * Further Context:\n * - [React Aria Components Tooltip Documentation](https://react-spectrum.adobe.com/react-aria/Tooltip.html)\n * - [ARIA Tooltip Pattern](https://www.w3.org/TR/wai-aria-1.2/#tooltip)\n */\nexport const Tooltip = forwardRef<HTMLDivElement, TooltipProps>(\n function Tooltip({ children, placement = \"bottom\", ...props }, forwardedRef) {\n return (\n <TooltipRoot ref={forwardedRef} asChild {...props}>\n <RATooltip placement={placement} {...props}>\n {children}\n </RATooltip>\n </TooltipRoot>\n );\n }\n);\nTooltip.displayName = \"Tooltip\";\n","import { TooltipTrigger as RATooltipTrigger } from \"react-aria-components\";\n\n/**\n * TooltipTrigger\n * ============================================================\n * TooltipTrigger wraps around a trigger element and a Tooltip.\n * It handles opening and closing the Tooltip when the user hovers over or focuses the trigger,\n * and positioning the Tooltip relative to the trigger.\n *\n * Directly exported from `react-aria-components`\n * - [React Aria Components Tooltip Documentation](https://react-spectrum.adobe.com/react-aria/Tooltip.html)\n */\nexport const TooltipTrigger = RATooltipTrigger;\n// @ts-expect-error displaynames can be set on component instances, necessary for pretty react-live output\nTooltipTrigger.displayName = \"TooltipTrigger\";\n","import {\n cloneElement,\n forwardRef,\n useRef,\n type PropsWithChildren,\n isValidElement,\n} from \"react\";\nimport {\n mergeProps,\n useObjectRef,\n useFocusable,\n type FocusableOptions,\n} from \"react-aria\";\n\nimport { mergeRefs } from \"@chakra-ui/react\";\n\n/**\n * MakeElementFocusable\n * ============================================================\n * A helper component that adds props from `react-aria`s `useFocusable` hook\n * to its child so that it can be used as a trigger element for a `Tooltip`\n *\n * Caveats:\n * - Using non-interactive elements as tooltip triggers is against ARIA best-practices,\n * it is your responsibility to ensure that the underlying trigger element handles\n * focus and hover interactions correctly for keyboard-only users\n *\n * Features:\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLElement' attributes (including aria- & data-attributes)\n *\n * Further Context:\n * - [React Aria Components Tooltip Documentation](https://react-spectrum.adobe.com/react-aria/Tooltip.html)\n * - [React Aria Components Issue re:Tooltip with custom trigger](https://github.com/adobe/react-spectrum/issues/5733#issuecomment-1918691983)\n * - [ARIA Tooltip Pattern](https://www.w3.org/TR/wai-aria-1.2/#tooltip)\n */\nexport const MakeElementFocusable = forwardRef<\n HTMLElement,\n PropsWithChildren<FocusableOptions<HTMLElement>>\n>(function MakeElementFocusable(props, forwardedRef) {\n const localRef = useRef<HTMLElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n const { focusableProps } = useFocusable(props, ref);\n if (isValidElement(props.children)) {\n return cloneElement(\n props.children,\n mergeProps(\n focusableProps,\n props.children.props as PropsWithChildren<\n FocusableOptions<HTMLElement>\n >,\n { ref: ref }\n )\n );\n }\n});\nMakeElementFocusable.displayName = \"MakeElementFocusable\";\n","\"use client\";import*as t from\"react\";var M=(e,i,s,u,m,a,l,h)=>{let d=document.documentElement,w=[\"light\",\"dark\"];function p(n){(Array.isArray(e)?e:[e]).forEach(y=>{let k=y===\"class\",S=k&&a?m.map(f=>a[f]||f):m;k?(d.classList.remove(...S),d.classList.add(a&&a[n]?a[n]:n)):d.setAttribute(y,n)}),R(n)}function R(n){h&&w.includes(n)&&(d.style.colorScheme=n)}function c(){return window.matchMedia(\"(prefers-color-scheme: dark)\").matches?\"dark\":\"light\"}if(u)p(u);else try{let n=localStorage.getItem(i)||s,y=l&&n===\"system\"?c():n;p(y)}catch(n){}};var b=[\"light\",\"dark\"],I=\"(prefers-color-scheme: dark)\",O=typeof window==\"undefined\",x=t.createContext(void 0),U={setTheme:e=>{},themes:[]},z=()=>{var e;return(e=t.useContext(x))!=null?e:U},J=e=>t.useContext(x)?t.createElement(t.Fragment,null,e.children):t.createElement(V,{...e}),N=[\"light\",\"dark\"],V=({forcedTheme:e,disableTransitionOnChange:i=!1,enableSystem:s=!0,enableColorScheme:u=!0,storageKey:m=\"theme\",themes:a=N,defaultTheme:l=s?\"system\":\"light\",attribute:h=\"data-theme\",value:d,children:w,nonce:p,scriptProps:R})=>{let[c,n]=t.useState(()=>H(m,l)),[T,y]=t.useState(()=>c===\"system\"?E():c),k=d?Object.values(d):a,S=t.useCallback(o=>{let r=o;if(!r)return;o===\"system\"&&s&&(r=E());let v=d?d[r]:r,C=i?W(p):null,P=document.documentElement,L=g=>{g===\"class\"?(P.classList.remove(...k),v&&P.classList.add(v)):g.startsWith(\"data-\")&&(v?P.setAttribute(g,v):P.removeAttribute(g))};if(Array.isArray(h)?h.forEach(L):L(h),u){let g=b.includes(l)?l:null,D=b.includes(r)?r:g;P.style.colorScheme=D}C==null||C()},[p]),f=t.useCallback(o=>{let r=typeof o==\"function\"?o(c):o;n(r);try{localStorage.setItem(m,r)}catch(v){}},[c]),A=t.useCallback(o=>{let r=E(o);y(r),c===\"system\"&&s&&!e&&S(\"system\")},[c,e]);t.useEffect(()=>{let o=window.matchMedia(I);return o.addListener(A),A(o),()=>o.removeListener(A)},[A]),t.useEffect(()=>{let o=r=>{r.key===m&&(r.newValue?n(r.newValue):f(l))};return window.addEventListener(\"storage\",o),()=>window.removeEventListener(\"storage\",o)},[f]),t.useEffect(()=>{S(e!=null?e:c)},[e,c]);let Q=t.useMemo(()=>({theme:c,setTheme:f,forcedTheme:e,resolvedTheme:c===\"system\"?T:c,themes:s?[...a,\"system\"]:a,systemTheme:s?T:void 0}),[c,f,e,T,s,a]);return t.createElement(x.Provider,{value:Q},t.createElement(_,{forcedTheme:e,storageKey:m,attribute:h,enableSystem:s,enableColorScheme:u,defaultTheme:l,value:d,themes:a,nonce:p,scriptProps:R}),w)},_=t.memo(({forcedTheme:e,storageKey:i,attribute:s,enableSystem:u,enableColorScheme:m,defaultTheme:a,value:l,themes:h,nonce:d,scriptProps:w})=>{let p=JSON.stringify([s,i,a,e,h,l,u,m]).slice(1,-1);return t.createElement(\"script\",{...w,suppressHydrationWarning:!0,nonce:typeof window==\"undefined\"?d:\"\",dangerouslySetInnerHTML:{__html:`(${M.toString()})(${p})`}})}),H=(e,i)=>{if(O)return;let s;try{s=localStorage.getItem(e)||void 0}catch(u){}return s||i},W=e=>{let i=document.createElement(\"style\");return e&&i.setAttribute(\"nonce\",e),i.appendChild(document.createTextNode(\"*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}\")),document.head.appendChild(i),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(i)},1)}},E=e=>(e||(e=window.matchMedia(I)),e.matches?\"dark\":\"light\");export{J as ThemeProvider,z as useTheme};\n","\"use client\";\nimport { ThemeProvider, useTheme, type ThemeProviderProps } from \"next-themes\";\n\nexport interface ColorModeProviderProps extends ThemeProviderProps {}\n\nexport function ColorModeProvider(props: ColorModeProviderProps) {\n return (\n <ThemeProvider attribute=\"class\" disableTransitionOnChange {...props} />\n );\n}\n\nexport function useColorMode() {\n const { resolvedTheme, setTheme } = useTheme();\n const toggleColorMode = () => {\n setTheme(resolvedTheme === \"light\" ? \"dark\" : \"light\");\n };\n return {\n colorMode: resolvedTheme,\n setColorMode: setTheme,\n toggleColorMode,\n };\n}\n\nexport function useColorModeValue<T>(light: T, dark: T) {\n const { colorMode } = useColorMode();\n return colorMode === \"light\" ? light : dark;\n}\n\nexport function ColorModeLabel() {\n const { colorMode } = useColorMode();\n return colorMode === \"light\" ? \"Light Theme\" : \"DarkTheme\";\n}\n","import { defineAnimationStyles } from \"@chakra-ui/react\";\n\ntype AnimationStylesType = ReturnType<typeof defineAnimationStyles>;\n\nexport const animationStyles: AnimationStylesType = defineAnimationStyles({\n \"slide-fade-in\": {\n value: {\n transformOrigin: \"var(--transform-origin)\",\n \"&[data-placement^=top]\": {\n animationName: \"slide-from-bottom, fade-in\",\n },\n \"&[data-placement^=bottom]\": {\n animationName: \"slide-from-top, fade-in\",\n },\n \"&[data-placement^=left]\": {\n animationName: \"slide-from-right, fade-in\",\n },\n \"&[data-placement^=right]\": {\n animationName: \"slide-from-left, fade-in\",\n },\n },\n },\n \"slide-fade-out\": {\n value: {\n transformOrigin: \"var(--transform-origin)\",\n \"&[data-placement^=top]\": {\n animationName: \"slide-to-bottom, fade-out\",\n },\n \"&[data-placement^=bottom]\": {\n animationName: \"slide-to-top, fade-out\",\n },\n \"&[data-placement^=left]\": {\n animationName: \"slide-to-right, fade-out\",\n },\n \"&[data-placement^=right]\": {\n animationName: \"slide-to-left, fade-out\",\n },\n },\n },\n \"scale-fade-in\": {\n value: {\n transformOrigin: \"var(--transform-origin)\",\n animationName: \"scale-in, fade-in\",\n },\n },\n \"scale-fade-out\": {\n value: {\n transformOrigin: \"var(--transform-origin)\",\n animationName: \"scale-out, fade-out\",\n },\n },\n});\n","import { themeTokens } from \"@commercetools/nimbus-tokens\";\n\ninterface BreakpointValue {\n value?: string;\n [key: string]: any;\n}\n\ninterface BreakpointsTokenObject {\n [key: string]: string | BreakpointValue;\n}\n\ninterface TransformedBreakpoints {\n [key: string]: string;\n}\n\nfunction transformBreakpoints(\n input: BreakpointsTokenObject\n): TransformedBreakpoints {\n const transformed: TransformedBreakpoints = {};\n\n for (const key in input) {\n if ((input[key] as BreakpointValue)?.value) {\n transformed[key] = (input[key] as BreakpointValue).value!;\n } else {\n transformed[key] = input[key] as string;\n }\n }\n\n return transformed;\n}\n\nexport const breakpoints = transformBreakpoints(themeTokens.breakpoints);\n","import { defineGlobalStyles } from \"@chakra-ui/react\";\n\nexport const globalCss = defineGlobalStyles({\n \"*\": {\n fontFeatureSettings:\n '\"liga\", \"calt\", \"case\", \"ss01\", \"ss07\", \"ss08\", \"tnum\"',\n \"--ring-inset\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--ring-offset-width\": \"0px\",\n \"--ring-offset-color\": \"#fff\",\n \"--ring-color\": \"rgba(66, 153, 225, 0.6)\",\n \"--ring-offset-shadow\": \"0 0 #0000\",\n \"--ring-shadow\": \"0 0 #0000\",\n \"--focus-ring-color\": \"colors.primary.7\",\n \"--brightness\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--contrast\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--grayscale\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--hue-rotate\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--invert\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--saturate\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--sepia\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--drop-shadow\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--backdrop-blur\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--backdrop-brightness\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--backdrop-contrast\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--backdrop-grayscale\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--backdrop-hue-rotate\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--backdrop-invert\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--backdrop-opacity\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--backdrop-saturate\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--backdrop-sepia\": \"var(--chakra-empty,/*!*/ /*!*/)\",\n \"--global-font-mono\": \"fonts.mono\",\n \"--global-font-body\": \"fonts.body\",\n \"--global-color-border\": \"colors.border\",\n },\n /** 'liga' may replace 2 characters with a single one,\n * which causes differences in formatting when a monospace font is used.*/\n \"code *\": {\n fontFeatureSettings: '\"calt\", \"case\", \"ss01\", \"ss07\", \"ss08\", \"tnum\"',\n },\n html: {\n color: \"fg\",\n bg: \"bg\",\n lineHeight: \"1.5\",\n colorPalette: \"neutral\",\n },\n \"*::placeholder\": {\n color: \"fg.muted/80\",\n },\n \"*::selection\": {\n bg: \"colorPalette.9\",\n color: \"colorPalette.contrast\",\n },\n});\n","export const keyframes = {\n spin: {\n \"0%\": {\n transform: \"rotate(0deg)\",\n },\n \"100%\": {\n transform: \"rotate(360deg)\",\n },\n },\n pulse: {\n \"50%\": {\n opacity: \"0.5\",\n },\n },\n ping: {\n \"75%, 100%\": {\n transform: \"scale(2)\",\n opacity: \"0\",\n },\n },\n bounce: {\n \"0%, 100%\": {\n transform: \"translateY(-25%)\",\n animationTimingFunction: \"cubic-bezier(0.8,0,1,1)\",\n },\n \"50%\": {\n transform: \"none\",\n animationTimingFunction: \"cubic-bezier(0,0,0.2,1)\",\n },\n },\n\n \"fade-in\": {\n from: {\n opacity: 0,\n },\n to: {\n opacity: 1,\n },\n },\n \"fade-out\": {\n from: {\n opacity: 1,\n },\n to: {\n opacity: 0,\n },\n },\n \"slide-from-left-full\": {\n from: {\n translate: \"-100% 0\",\n },\n to: {\n translate: \"0 0\",\n },\n },\n \"slide-from-right-full\": {\n from: {\n translate: \"100% 0\",\n },\n to: {\n translate: \"0 0\",\n },\n },\n \"slide-from-top-full\": {\n from: {\n translate: \"0 -100%\",\n },\n to: {\n translate: \"0 0\",\n },\n },\n \"slide-from-bottom-full\": {\n from: {\n translate: \"0 100%\",\n },\n to: {\n translate: \"0 0\",\n },\n },\n \"slide-to-left-full\": {\n from: {\n translate: \"0 0\",\n },\n to: {\n translate: \"-100% 0\",\n },\n },\n \"slide-to-right-full\": {\n from: {\n translate: \"0 0\",\n },\n to: {\n translate: \"100% 0\",\n },\n },\n \"slide-to-top-full\": {\n from: {\n translate: \"0 0\",\n },\n to: {\n translate: \"0 -100%\",\n },\n },\n \"slide-to-bottom-full\": {\n from: {\n translate: \"0 0\",\n },\n to: {\n translate: \"0 100%\",\n },\n },\n \"slide-from-top\": {\n \"0%\": {\n translate: \"0 -0.5rem\",\n },\n to: {\n translate: \"0\",\n },\n },\n \"slide-from-bottom\": {\n \"0%\": {\n translate: \"0 0.5rem\",\n },\n to: {\n translate: \"0\",\n },\n },\n \"slide-from-left\": {\n \"0%\": {\n translate: \"-0.5rem 0\",\n },\n to: {\n translate: \"0\",\n },\n },\n \"slide-from-right\": {\n \"0%\": {\n translate: \"0.5rem 0\",\n },\n to: {\n translate: \"0\",\n },\n },\n \"slide-to-top\": {\n \"0%\": {\n translate: \"0\",\n },\n to: {\n translate: \"0 -0.5rem\",\n },\n },\n \"slide-to-bottom\": {\n \"0%\": {\n translate: \"0\",\n },\n to: {\n translate: \"0 0.5rem\",\n },\n },\n \"slide-to-left\": {\n \"0%\": {\n translate: \"0\",\n },\n to: {\n translate: \"-0.5rem 0\",\n },\n },\n \"slide-to-right\": {\n \"0%\": {\n translate: \"0\",\n },\n to: {\n translate: \"0.5rem 0\",\n },\n },\n \"scale-in\": {\n from: {\n scale: \"0.95\",\n },\n to: {\n scale: \"1\",\n },\n },\n \"scale-out\": {\n from: {\n scale: \"1\",\n },\n to: {\n scale: \"0.95\",\n },\n },\n};\n","import { defineLayerStyles } from \"@chakra-ui/react\";\n\ntype LayerStylesType = ReturnType<typeof defineLayerStyles>;\n\nexport const layerStyles: LayerStylesType = defineLayerStyles({\n disabled: {\n value: {\n opacity: \"0.5\",\n cursor: \"not-allowed\",\n },\n },\n});\n","import { defineRecipe } from \"@chakra-ui/react\";\n\nexport const codeRecipe = defineRecipe({\n className: \"nimbus-code\",\n base: {\n fontFamily: \"mono\",\n alignItems: \"center\",\n display: \"inline-flex\",\n borderRadius: \"100\",\n },\n variants: {\n variant: {\n solid: {\n bg: \"colorPalette.4\",\n color: \"colorPalette.11\",\n },\n subtle: {\n bg: \"colorPalette.3\",\n color: \"colorPalette.11\",\n },\n outline: {\n color: \"colorPalette.fg\",\n shadow: \"inset 0 0 0px 1px var(--shadow-color)\",\n shadowColor: \"colorPalette.muted\",\n },\n surface: {\n bg: \"colorPalette.subtle\",\n color: \"colorPalette.fg\",\n shadow: \"inset 0 0 0px 1px var(--shadow-color)\",\n shadowColor: \"colorPalette.muted\",\n },\n plain: {\n color: \"colorPalette.fg\",\n },\n },\n size: {\n xs: {\n textStyle: \"2xs\",\n px: \"100\",\n minH: \"400\",\n },\n sm: {\n textStyle: \"xs\",\n px: \"150\",\n minH: \"500\",\n },\n md: {\n textStyle: \"sm\",\n px: \"200\",\n minH: \"600\",\n },\n lg: {\n textStyle: \"sm\",\n px: \"250\",\n minH: \"700\",\n },\n },\n },\n defaultVariants: {\n variant: \"solid\",\n size: \"md\",\n },\n});\n","import { defineRecipe } from \"@chakra-ui/react\";\n\nexport const headingRecipe = defineRecipe({\n className: \"nimbus-heading\",\n base: {\n fontFamily: \"heading\",\n fontWeight: \"600\",\n },\n variants: {\n size: {\n xs: {\n textStyle: \"xs\",\n },\n sm: {\n textStyle: \"sm\",\n },\n md: {\n textStyle: \"md\",\n },\n lg: {\n textStyle: \"lg\",\n },\n xl: {\n textStyle: \"xl\",\n },\n \"2xl\": {\n textStyle: \"2xl\",\n },\n \"3xl\": {\n textStyle: \"3xl\",\n },\n \"4xl\": {\n textStyle: \"4xl\",\n },\n \"5xl\": {\n textStyle: \"5xl\",\n },\n \"6xl\": {\n textStyle: \"6xl\",\n },\n \"7xl\": {\n textStyle: \"7xl\",\n },\n },\n },\n defaultVariants: {\n size: \"xl\",\n },\n});\n","import { defineRecipe } from \"@chakra-ui/react\";\n\nexport const kbdRecipe = defineRecipe({\n className: \"nimbus-kbd\",\n base: {\n display: \"inline-flex\",\n alignItems: \"center\",\n fontWeight: \"medium\",\n fontFamily: \"mono\",\n flexShrink: \"0\",\n whiteSpace: \"nowrap\",\n wordSpacing: \"-0.5em\",\n userSelect: \"none\",\n px: \"100\",\n borderRadius: \"100\",\n },\n variants: {\n variant: {\n raised: {\n bg: \"colorPalette.subtle\",\n color: \"colorPalette.fg\",\n borderWidth: \"1px\",\n borderBottomWidth: \"2px\",\n borderColor: \"colorPalette.muted\",\n },\n outline: {\n borderWidth: \"1px\",\n color: \"colorPalette.fg\",\n },\n subtle: {\n bg: \"colorPalette.muted\",\n color: \"colorPalette.fg\",\n },\n plain: {\n color: \"colorPalette.fg\",\n },\n },\n size: {\n sm: {\n textStyle: \"xs\",\n height: \"450\",\n },\n md: {\n textStyle: \"sm\",\n height: \"500\",\n },\n lg: {\n textStyle: \"md\",\n height: \"600\",\n },\n },\n },\n defaultVariants: {\n size: \"md\",\n variant: \"raised\",\n },\n});\n","import { defineRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the TextInput component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const textInputRecipe = defineRecipe({\n // Unique class name prefix for the component\n className: \"nimbus-text-input\",\n\n // Base styles applied to all instances of the component\n base: {\n display: \"block\",\n borderRadius: \"200\",\n colorPalette: \"neutral\",\n focusVisibleRing: \"outside\",\n bg: \"transparent\",\n outline: \"none\",\n boxShadow: \"inset 0 0 0 var(--border-width) var(--border-color)\",\n _placeholder: {\n opacity: 0.5,\n color: \"currentColor\",\n },\n _disabled: {\n layerStyle: \"disabled\",\n },\n \"&[data-invalid='true']\": {\n \"--border-color\": \"colors.critical.7\",\n color: \"critical.11\",\n },\n },\n\n variants: {\n size: {\n sm: {\n h: 800,\n textStyle: \"sm\",\n px: 300,\n },\n md: {\n h: 1000,\n textStyle: \"md\",\n px: 400,\n },\n },\n\n variant: {\n solid: {\n \"--border-width\": \"sizes.25\",\n \"--border-color\": \"colors.neutral.7\",\n backgroundColor: \"neutral.1\",\n _hover: {\n backgroundColor: \"primary.2\",\n },\n },\n ghost: {\n _hover: {\n backgroundColor: \"primary.2\",\n },\n },\n },\n },\n\n defaultVariants: {\n size: \"md\",\n variant: \"solid\",\n },\n});\n","import { avatarRecipe } from \"@/components/avatar/avatar.recipe\";\nimport { buttonRecipe } from \"@/components/button/button.recipe\";\nimport { codeRecipe } from \"@/components/code/code.recipe\";\nimport { headingRecipe } from \"@/components/heading/heading.recipe\";\n\nimport { kbdRecipe } from \"@/components/kbd/kbd.recipe\";\nimport { linkRecipe } from \"@/components/link/link.recipe\";\nimport { tooltipRecipe } from \"@/components/tooltip/tooltip.recipe\";\nimport { textInputRecipe } from \"@/components/text-input/text-input.recipe\";\n\nexport const recipes = {\n avatar: avatarRecipe,\n button: buttonRecipe,\n code: codeRecipe,\n heading: headingRecipe,\n kbd: kbdRecipe,\n link: linkRecipe,\n tooltip: tooltipRecipe,\n textInput: textInputRecipe,\n};\n","import { defineSemanticTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const colors = defineSemanticTokens.colors({\n bg: {\n DEFAULT: {\n value: {\n _light: \"{colors.neutral.1}\",\n _dark: \"{colors.neutral.1}\",\n },\n },\n },\n fg: {\n DEFAULT: {\n value: {\n _light: \"{colors.neutral.12}\",\n _dark: \"{colors.neutral.12}\",\n },\n },\n },\n border: {\n DEFAULT: {\n value: \"{colors.neutral.6}\",\n },\n muted: {\n value: \"{colors.neutral.7}\",\n },\n subtle: {\n value: \"{colors.neutral.6}\",\n },\n emphasized: {\n value: \"{colors.neutral.8}\",\n },\n inverted: {\n value: \"{colors.neutral.9}\",\n },\n critical: {\n value: \"{colors.critical.8}\",\n },\n warning: {\n value: \"{colors.warning.8}\",\n },\n positive: {\n value: \"{colors.positive.8}\",\n },\n info: {\n value: \"{colors.ingo.8}\",\n },\n },\n ...themeTokens.color[\"system-palettes\"],\n ...themeTokens.color[\"brand-palettes\"],\n ...themeTokens.color[\"semantic-palettes\"],\n});\n\nexport const darkColors = colors;\n","import { defineSemanticTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const shadows = defineSemanticTokens.shadows(themeTokens.shadow);\n","import { defineSemanticTokens } from \"@chakra-ui/react\";\n\nexport const radii = defineSemanticTokens.radii({});\n","import { colors } from \"./colors\";\nimport { shadows } from \"./shadows\";\nimport { radii } from \"./radii\";\n\nexport const semanticTokens = {\n colors,\n shadows,\n radii,\n};\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\n\nexport const dialogSlotRecipe = defineSlotRecipe({\n slots: [\n \"trigger\",\n \"backdrop\",\n \"positioner\",\n \"content\",\n \"title\",\n \"description\",\n \"closeTrigger\",\n \"header\",\n \"body\",\n \"footer\",\n \"backdrop\",\n ],\n className: \"nimbus-dialog\",\n base: {\n backdrop: {\n bg: {\n _dark: \"bg/50\",\n _light: \"fg/50\",\n },\n pos: \"fixed\",\n left: 0,\n top: 0,\n w: \"100vw\",\n h: \"100dvh\",\n zIndex: \"modal\",\n _open: {\n animationName: \"fade-in\",\n animationDuration: \"slow\",\n },\n _closed: {\n animationName: \"fade-out\",\n animationDuration: \"moderate\",\n },\n },\n positioner: {\n display: \"flex\",\n width: \"100vw\",\n height: \"100dvh\",\n position: \"fixed\",\n left: 0,\n top: 0,\n \"--dialog-z-index\": \"zIndex.modal\",\n zIndex: \"calc(var(--dialog-z-index) + var(--layer-index, 0))\",\n justifyContent: \"center\",\n overscrollBehaviorY: \"none\",\n },\n content: {\n display: \"flex\",\n flexDirection: \"column\",\n position: \"relative\",\n width: \"100%\",\n outline: 0,\n borderRadius: \"200\",\n textStyle: \"sm\",\n my: \"var(--dialog-margin, var(--dialog-base-margin))\",\n \"--dialog-z-index\": \"zIndex.modal\",\n zIndex: \"calc(var(--dialog-z-index) + var(--layer-index, 0))\",\n bg: \"bg\",\n boxShadow: \"lg\",\n _open: {\n animationDuration: \"moderate\",\n },\n _closed: {\n animationDuration: \"faster\",\n },\n },\n header: {\n flex: 0,\n px: \"600\",\n pt: \"600\",\n pb: \"400\",\n },\n body: {\n flex: \"1\",\n px: \"600\",\n pt: \"200\",\n pb: \"600\",\n },\n footer: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"flex-end\",\n gap: \"300\",\n px: \"600\",\n pt: \"200\",\n pb: \"400\",\n },\n title: {\n textStyle: \"lg\",\n fontWeight: \"semibold\",\n },\n description: {\n color: \"fg.muted\",\n },\n },\n variants: {\n placement: {\n center: {\n positioner: {\n alignItems: \"center\",\n },\n content: {\n \"--dialog-base-margin\": \"auto\",\n mx: \"auto\",\n },\n },\n top: {\n positioner: {\n alignItems: \"flex-start\",\n },\n content: {\n \"--dialog-base-margin\": \"spacing.1600\",\n mx: \"auto\",\n },\n },\n bottom: {\n positioner: {\n alignItems: \"flex-end\",\n },\n content: {\n \"--dialog-base-margin\": \"spacing.1600\",\n mx: \"auto\",\n },\n },\n },\n scrollBehavior: {\n inside: {\n positioner: {\n overflow: \"hidden\",\n },\n content: {\n maxH: \"calc(100% - 7.5rem)\",\n },\n body: {\n overflow: \"auto\",\n },\n },\n outside: {\n positioner: {\n overflow: \"auto\",\n pointerEvents: \"auto\",\n },\n },\n },\n size: {\n xs: {\n content: {\n maxW: \"sm\",\n },\n },\n sm: {\n content: {\n maxW: \"md\",\n },\n },\n md: {\n content: {\n maxW: \"lg\",\n },\n },\n lg: {\n content: {\n maxW: \"2xl\",\n },\n },\n xl: {\n content: {\n maxW: \"4xl\",\n },\n },\n cover: {\n positioner: {\n padding: \"1000\",\n },\n content: {\n width: \"100%\",\n height: \"100%\",\n \"--dialog-margin\": \"0\",\n },\n },\n full: {\n content: {\n maxW: \"100vw\",\n minH: \"100vh\",\n \"--dialog-margin\": \"0\",\n borderRadius: \"0\",\n },\n },\n },\n motionPreset: {\n scale: {\n content: {\n _open: {\n animationName: \"scale-in, fade-in\",\n },\n _closed: {\n animationName: \"scale-out, fade-out\",\n },\n },\n },\n \"slide-in-bottom\": {\n content: {\n _open: {\n animationName: \"slide-from-bottom, fade-in\",\n },\n _closed: {\n animationName: \"slide-to-bottom, fade-out\",\n },\n },\n },\n \"slide-in-top\": {\n content: {\n _open: {\n animationName: \"slide-from-top, fade-in\",\n },\n _closed: {\n animationName: \"slide-to-top, fade-out\",\n },\n },\n },\n \"slide-in-left\": {\n content: {\n _open: {\n animationName: \"slide-from-left, fade-in\",\n },\n _closed: {\n animationName: \"slide-to-left, fade-out\",\n },\n },\n },\n \"slide-in-right\": {\n content: {\n _open: {\n animationName: \"slide-from-right, fade-in\",\n },\n _closed: {\n animationName: \"slide-to-right, fade-out\",\n },\n },\n },\n none: {},\n },\n },\n defaultVariants: {\n size: \"md\",\n scrollBehavior: \"outside\",\n placement: \"top\",\n motionPreset: \"scale\",\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\n\nexport const listSlotRecipe = defineSlotRecipe({\n className: \"chakra-list\",\n slots: [\"root\", \"item\", \"indicator\"],\n base: {\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n gap: \"var(--list-gap)\",\n \"& :where(ul, ol)\": {\n marginTop: \"var(--list-gap)\",\n },\n },\n item: {\n whiteSpace: \"normal\",\n display: \"list-item\",\n },\n indicator: {\n marginEnd: \"200\",\n minHeight: \"1lh\",\n flexShrink: 0,\n display: \"inline-block\",\n verticalAlign: \"middle\",\n },\n },\n variants: {\n variant: {\n marker: {\n root: {\n listStyle: \"revert\",\n listStylePosition: \"inside\",\n },\n item: {\n _marker: {\n color: \"fg.subtle\",\n },\n },\n },\n plain: {\n item: {\n alignItems: \"flex-start\",\n display: \"inline-flex\",\n },\n },\n },\n align: {\n center: {\n item: {\n alignItems: \"center\",\n },\n },\n start: {\n item: {\n alignItems: \"flex-start\",\n },\n },\n end: {\n item: {\n alignItems: \"flex-end\",\n },\n },\n },\n },\n defaultVariants: {\n variant: \"marker\",\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\n\nexport const tableSlotRecipe = defineSlotRecipe({\n className: \"chakra-table\",\n slots: [\n \"root\",\n \"header\",\n \"body\",\n \"row\",\n \"columnHeader\",\n \"cell\",\n \"footer\",\n \"caption\",\n ],\n base: {\n root: {\n fontVariantNumeric: \"lining-nums tabular-nums\",\n borderCollapse: \"collapse\",\n width: \"full\",\n textAlign: \"start\",\n verticalAlign: \"top\",\n },\n row: {\n _selected: {\n bg: \"colorPalette.subtle\",\n },\n },\n cell: {\n textAlign: \"start\",\n alignItems: \"center\",\n },\n columnHeader: {\n fontWeight: \"medium\",\n textAlign: \"start\",\n color: \"fg\",\n },\n caption: {\n fontWeight: \"medium\",\n textStyle: \"xs\",\n },\n footer: {\n fontWeight: \"medium\",\n },\n },\n variants: {\n interactive: {\n true: {\n body: {\n \"& tr\": {\n _hover: {\n bg: \"colorPalette.subtle\",\n },\n },\n },\n },\n },\n stickyHeader: {\n true: {\n header: {\n \"& :where(tr)\": {\n top: \"var(--table-sticky-offset, 0)\",\n position: \"sticky\",\n zIndex: 1,\n },\n },\n },\n },\n striped: {\n true: {\n row: {\n \"&:nth-of-type(odd) td\": {\n bg: \"bg.muted\",\n },\n },\n },\n },\n showColumnBorder: {\n true: {\n columnHeader: {\n \"&:not(:last-of-type)\": {\n borderInlineEndWidth: \"1px\",\n },\n },\n cell: {\n \"&:not(:last-of-type)\": {\n borderInlineEndWidth: \"1px\",\n },\n },\n },\n },\n variant: {\n line: {\n columnHeader: {\n borderBottomWidth: \"1px\",\n },\n cell: {\n borderBottomWidth: \"1px\",\n },\n row: {\n bg: \"bg\",\n },\n },\n outline: {\n root: {\n boxShadow: \"0 0 0 1px {colors.border}\",\n overflow: \"hidden\",\n },\n columnHeader: {\n borderBottomWidth: \"1px\",\n },\n header: {\n bg: \"bg.muted\",\n },\n row: {\n \"&:not(:last-of-type)\": {\n borderBottomWidth: \"1px\",\n },\n },\n footer: {\n borderTopWidth: \"1px\",\n },\n },\n },\n size: {\n sm: {\n root: {\n textStyle: \"sm\",\n },\n columnHeader: {\n px: \"200\",\n py: \"200\",\n },\n cell: {\n px: \"200\",\n py: \"200\",\n },\n },\n md: {\n root: {\n textStyle: \"sm\",\n },\n columnHeader: {\n px: \"300\",\n py: \"300\",\n },\n cell: {\n px: \"300\",\n py: \"300\",\n },\n },\n lg: {\n root: {\n textStyle: \"md\",\n },\n columnHeader: {\n px: \"400\",\n py: \"300\",\n },\n cell: {\n px: \"400\",\n py: \"300\",\n },\n },\n },\n },\n defaultVariants: {\n variant: \"line\",\n size: \"md\",\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the Checkbox component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const checkboxSlotRecipe = defineSlotRecipe({\n slots: [\"root\", \"label\", \"indicator\"],\n // Unique class name prefix for the component\n className: \"nimbus-checkbox\",\n\n base: {\n root: {\n colorPalette: \"primary\",\n display: \"inline-flex\",\n gap: \"200\",\n alignItems: \"center\",\n verticalAlign: \"top\",\n minWidth: \"600\",\n minHeight: \"600\",\n\n [\"&[data-disabled='true']\"]: {\n layerStyle: \"disabled\",\n },\n },\n label: {\n flexShrink: 0,\n userSelect: \"none\",\n color: \"neutral.11\",\n\n [\"&[data-invalid='true']\"]: {\n color: \"critical.11\",\n },\n },\n indicator: {\n position: \"relative\",\n display: \"flex\",\n flexShrink: 0,\n alignItems: \"center\",\n justifyContent: \"center\",\n border: \"solid-50\",\n borderRadius: \"50\",\n focusRing: \"outside\",\n borderColor: \"neutral.9\",\n bg: \"transparent\",\n color: \"neutral.11\",\n\n _icon: {\n w: \"350\",\n h: \"350\",\n },\n\n \"&:hover\": {\n borderColor: \"neutral.10\",\n },\n\n [\"&[data-invalid='true']\"]: {\n bg: \"transparent\",\n borderColor: \"critical.9\",\n color: \"critical.11\",\n\n \"&:hover\": {\n borderColor: \"critical.10\",\n },\n },\n\n [\"&[data-selected='true'], &[data-indeterminate='true']\"]: {\n bg: \"colorPalette.9\",\n borderColor: \"colorPalette.9\",\n color: \"colorPalette.contrast\",\n\n \"&:hover\": {\n bg: \"colorPalette.10\",\n borderColor: \"colorPalette.10\",\n },\n\n \"&[data-invalid='true']\": {\n bg: \"critical.9\",\n borderColor: \"critical.9\",\n color: \"critical.contrast\",\n\n \"&:hover\": {\n bg: \"critical.10\",\n borderColor: \"critical.10\",\n },\n },\n },\n },\n },\n variants: {\n size: {\n md: {\n label: {\n fontSize: \"350\",\n fontWeight: \"400\",\n lineHeight: \"400\",\n },\n indicator: {\n w: \"400\",\n h: \"400\",\n zIndex: 1,\n _after: {\n position: \"absolute\",\n content: \"''\",\n width: \"600\",\n height: \"600\",\n zIndex: 0,\n },\n },\n },\n },\n },\n defaultVariants: {\n size: \"md\",\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the Select component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const selectSlotRecipe = defineSlotRecipe({\n slots: [\n \"root\",\n \"trigger\",\n \"triggerLabel\",\n \"options\",\n \"optionGroup\",\n \"option\",\n ],\n // Unique class name prefix for the component\n className: \"nimbus-select\",\n\n // Base styles applied to all instances of the component\n base: {\n // RA <Select>\n root: {\n colorPalette: \"primary\",\n display: \"inline-block\",\n position: \"relative\",\n maxWidth: \"100%\",\n borderRadius: \"200\",\n // [data-focused]\n // [data-focus-visible]\n // [data-open]\n // [data-invalid]\n // [data-required]\n \"&[data-disabled]\": {\n layerStyle: \"disabled\",\n pointerEvents: \"none\",\n },\n },\n trigger: {\n cursor: \"button\",\n display: \"inline-flex\",\n focusRing: \"outside\",\n alignItems: \"flex-start\",\n borderRadius: \"200\",\n color: \"neutral.12\",\n width: \"100%\",\n userSelect: \"none\",\n boxShadow: \"inset 0 0 0 var(--border-width) var(--border-color)\",\n\n \"& span\": {\n display: \"inline-block\",\n my: \"auto\",\n },\n '& [slot=\"description\"]': {\n display: \"none\",\n },\n\n \"[data-invalid] &\": {\n \"--border-width\": \"sizes.50\",\n \"--border-color\": \"colors.critical.7\",\n },\n\n // [data-hovered]\n // [data-pressed]\n // [data-focused]\n // [data-focus-visible]\n // [data-disabled]\n // [data-pending]\n },\n triggerLabel: {\n // *Magic*\n // the trigger-label defines the overall width of the select,\n // but since we position 2 buttons/icons next to it, we need to account for\n // their width as well and reserve some space for them\n // = label-button-gap + button-size + icon-size\n // = 8px + 24px + 24px\n // = 56px * 25 = 1400 token\n \"--button-safespace\": \"sizes.1400\",\n color: \"neutral.12\",\n textAlign: \"left\",\n marginRight: \"var(--button-safespace)\",\n maxWidth: \"100%\",\n whiteSpace: \"nowrap\",\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n\n \"&[data-placeholder]\": {\n opacity: 0.5,\n },\n \"[data-invalid] &\": {\n color: \"critical.11\",\n },\n },\n // Popover\n options: {\n \"--scrollbar-color\": \"colors.neutral.8\",\n \"--scrollbar-bg\": \"colors.neutral.3\",\n\n bg: \"bg\",\n borderRadius: \"200\",\n boxShadow: \"5\",\n minWidth: \"var(--trigger-width)\",\n p: \"200\",\n focusRing: \"outside\",\n maxHeight: \"40svh\",\n overflowY: \"auto\",\n scrollbarWidth: \"thin\",\n scrollbarColor: \"var(--scrollbar-color) var(--scrollbar-bg)\",\n // [data-trigger=\"...\"]\n // [data-placement=\"left | right | top | bottom\"]\n // [data-entering]\n // [data-exiting]\n },\n // Option group header\n optionGroup: {\n textStyle: \"xs\",\n color: \"neutral.11\",\n fontWeight: \"600\",\n lineHeight: \"350\",\n letterSpacing: \"25\",\n textTransform: \"uppercase\",\n p: \"200\",\n borderBottom: \"solid-25\",\n borderColor: \"neutral.6\",\n mx: \"-200\",\n mt: \"200\",\n mb: \"300\",\n },\n // ListBoxItem\n option: {\n focusRing: \"outside\",\n cursor: \"menuitem\",\n color: \"neutral.12\",\n textStyle: \"sm\",\n p: \"200\",\n borderRadius: \"200\",\n whiteSpace: \"nowrap\",\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n\n '&[aria-selected=\"true\"], &[data-focused=\"true\"]': {\n bg: \"primary.4\",\n },\n\n '& [slot=\"label\"]': {\n display: \"block\",\n },\n\n '& [slot=\"description\"]': {\n display: \"block\",\n color: \"neutral.11\",\n textStyle: \"xs\",\n },\n\n '&[data-disabled=\"true\"]': {\n layerStyle: \"disabled\",\n },\n },\n },\n\n // Available variants for customizing the component's appearance\n variants: {\n // Size variants from smallest to largest\n size: {\n sm: {\n root: {},\n trigger: {\n h: \"800\",\n px: \"400\",\n textStyle: \"sm\",\n },\n },\n md: {\n root: {},\n trigger: {\n h: \"1000\",\n px: \"400\",\n textStyle: \"md\",\n },\n }, // Medium\n },\n\n // Visual style variants\n variant: {\n outline: {\n root: {\n bg: \"bg\",\n \"&:hover\": {\n bg: \"primary.2\",\n },\n },\n trigger: {\n \"--border-width\": \"sizes.25\",\n \"--border-color\": \"colors.neutral.7\",\n },\n },\n ghost: {\n root: {\n bg: \"transparent\",\n \"&:hover\": {\n bg: \"primaryAlpha.2\",\n },\n },\n trigger: {\n \"--border-width\": \"sizes.25\",\n \"--border-color\": \"transparent\",\n },\n },\n },\n },\n\n // Default variant values when not explicitly specified\n defaultVariants: {\n size: \"md\",\n variant: \"outline\",\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the Accordion component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const accordionSlotRecipe = defineSlotRecipe({\n slots: [\n \"root\",\n \"disclosure\",\n \"trigger\",\n \"panel\",\n \"accordionTitle\",\n \"headerContentRight\",\n ],\n // Unique class name prefix for the component\n className: \"nimbus-accordion\",\n\n base: {\n root: {\n width: \"100%\",\n },\n disclosure: {\n width: \"100%\",\n },\n trigger: {\n fontSize: \"var(--font-size)\",\n focusVisibleRing: \"outside\",\n minHeight: \"1200\",\n bg: \"none\",\n flexGrow: 1,\n display: \"flex\",\n alignItems: \"center\",\n gap: \"8px\",\n width: \"auto\",\n \"& svg\": {\n width: \"var(--width)\",\n height: \"var(--height)\",\n rotate: \"0deg\",\n transition: \"rotate 200ms\",\n },\n '&[aria-expanded=\"true\"] svg': {\n rotate: \"90deg\",\n },\n \"&[disabled]\": {\n layerStyle: \"disabled\",\n },\n },\n panel: {\n paddingTop: \"var(--padding-top)\",\n paddingBottom: \"var(--padding-bottom)\",\n paddingLeft: \"var(--padding-left)\",\n '&[aria-hidden=\"true\"]': {\n display: \"none\",\n },\n },\n accordionTitle: {\n fontWeight: \"700\",\n },\n },\n\n variants: {\n size: {\n md: {\n trigger: {\n \"--font-size\": \"fontSizes.500\",\n \"& svg\": {\n \"--width\": \"sizes.600\",\n \"--height\": \"sizes.600\",\n },\n },\n panel: {\n \"--padding-top\": \"spacing.600\",\n \"--padding-bottom\": \"spacing.800\",\n \"--padding-left\": \"spacing.800\",\n },\n },\n sm: {\n trigger: {\n \"--font-size\": \"fontSizes.400\",\n \"& svg\": {\n \"--width\": \"sizes.500\",\n \"--height\": \"sizes.500\",\n },\n },\n panel: {\n \"--padding-top\": \"spacing.400\",\n \"--padding-bottom\": \"spacing.600\",\n \"--padding-left\": \"spacing.700\",\n },\n },\n },\n },\n\n defaultVariants: {\n size: \"md\",\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the TagGroup component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const tagGroupSlotRecipe = defineSlotRecipe({\n slots: [\"root\", \"tagList\", \"tag\"],\n // Unique class name prefix for the component\n className: \"nimbus-tag-group\",\n\n // Base styles applied to all instances of the component\n base: {\n root: { display: \"flex\", flexDirection: \"column\", gapY: \"50\" },\n tagList: { display: \"flex\", flexWrap: \"wrap\", gap: \"100\" },\n tag: {\n display: \"flex\",\n alignItems: \"center\",\n gap: \"100\",\n borderRadius: \"200\",\n background: \"primary.3\",\n border: \"solid-25\",\n borderColor: \"primary.5\",\n fontSize: \"400\",\n lineHeight: \"500\",\n },\n },\n\n // Available variants for customizing the component's appearance\n variants: {\n // Size variants from smallest to largest\n size: {\n sm: {\n tag: {\n maxH: \"3600\",\n paddingX: \"200\",\n fontSize: \"350\",\n lineHeight: \"400\",\n },\n }, // Small\n md: {\n tag: {\n maxH: \"3800\",\n paddingX: \"200\",\n paddingY: \"100\",\n },\n }, // Medium\n lg: {\n tag: {\n maxH: \"4000\",\n padding: \"200\",\n },\n }, // Large\n },\n },\n\n // Default variant values when not explicitly specified\n defaultVariants: {\n size: \"lg\",\n },\n});\n","import { dialogSlotRecipe } from \"@/components/dialog/dialog.recipe\";\nimport { listSlotRecipe } from \"@/components/list/list.recipe\";\nimport { tableSlotRecipe } from \"@/components/table/table.recipe\";\nimport { checkboxSlotRecipe } from \"@/components/checkbox/checkbox.recipe\";\nimport { selectSlotRecipe } from \"@/components/select/select.recipe\";\nimport { accordionSlotRecipe } from \"@/components/accordion/accordion.recipe\";\nimport { tagGroupSlotRecipe } from \"@/components/tag-group/tag-group.recipe\";\n\nexport const slotRecipes = {\n dialog: dialogSlotRecipe,\n list: listSlotRecipe,\n table: tableSlotRecipe,\n checkbox: checkboxSlotRecipe,\n select: selectSlotRecipe,\n accordion: accordionSlotRecipe,\n taggroup: tagGroupSlotRecipe,\n};\n","import { defineTextStyles } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\ntype TextStylesType = ReturnType<typeof defineTextStyles>;\n\nexport const textStyles: TextStylesType = defineTextStyles(\n themeTokens.textStyle\n);\n","import { defineTokens } from \"@chakra-ui/react\";\n\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const aspectRatios = defineTokens.durations(themeTokens.aspectRatio);\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const animations = defineTokens.animations(themeTokens.animation);\n","import { defineTokens } from \"@chakra-ui/react\";\n\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const blurs = defineTokens.blurs(themeTokens.blur);\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const borders = defineTokens.borders(themeTokens.border);\n","import { themeTokens } from \"@commercetools/nimbus-tokens\";\nimport { defineTokens } from \"@chakra-ui/react\";\n\nexport const colors = defineTokens.colors({\n ...themeTokens.color[\"blacks-and-whites\"],\n});\n\nexport const darkColors = colors;\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const durations = defineTokens.durations(themeTokens.duration);\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const easings = defineTokens.easings(themeTokens.easing);\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const fonts = defineTokens.fonts(themeTokens.fontFamily);\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const fontSizes = defineTokens.fontSizes(themeTokens.fontSize);\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const fontWeights = defineTokens.fontWeights(themeTokens.fontWeight);\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\n// convert token percentage values (needed by figma) to em values (needded by code)\n// todo: fix this in the token build process\nconst convertPercentToEm = (\n obj: Record<string, { value: string }>\n): Record<string, { value: string }> => {\n return Object.keys(obj).reduce(\n (acc, key) => {\n // Remove '%' and divide by 100 to convert to em\n const percentage = parseFloat(obj[key].value);\n const emValue = percentage / 100; // 1% = 0.01em, 100% = 1em\n // Update the object with the new em value\n acc[key] = { value: `${emValue}em` };\n return acc;\n },\n {} as Record<string, { value: string }>\n );\n};\n\nexport const letterSpacings = defineTokens.letterSpacings(\n convertPercentToEm(themeTokens.letterSpacing)\n);\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const lineHeights = defineTokens.lineHeights(themeTokens.lineHeight);\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const radii = defineTokens.radii(themeTokens.borderRadius);\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const spacing = defineTokens.spacing(themeTokens.spacing);\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const sizes = defineTokens.sizes({\n ...themeTokens.size,\n \"1/2\": {\n value: \"50%\",\n },\n \"1/3\": {\n value: \"33.333333%\",\n },\n \"2/3\": {\n value: \"66.666667%\",\n },\n \"1/4\": {\n value: \"25%\",\n },\n \"3/4\": {\n value: \"75%\",\n },\n \"1/5\": {\n value: \"20%\",\n },\n \"2/5\": {\n value: \"40%\",\n },\n \"3/5\": {\n value: \"60%\",\n },\n \"4/5\": {\n value: \"80%\",\n },\n \"1/6\": {\n value: \"16.666667%\",\n },\n \"2/6\": {\n value: \"33.333333%\",\n },\n \"3/6\": {\n value: \"50%\",\n },\n \"4/6\": {\n value: \"66.666667%\",\n },\n \"5/6\": {\n value: \"83.333333%\",\n },\n \"1/12\": {\n value: \"8.333333%\",\n },\n \"2/12\": {\n value: \"16.666667%\",\n },\n \"3/12\": {\n value: \"25%\",\n },\n \"4/12\": {\n value: \"33.333333%\",\n },\n \"5/12\": {\n value: \"41.666667%\",\n },\n \"6/12\": {\n value: \"50%\",\n },\n \"7/12\": {\n value: \"58.333333%\",\n },\n \"8/12\": {\n value: \"66.666667%\",\n },\n \"9/12\": {\n value: \"75%\",\n },\n \"10/12\": {\n value: \"83.333333%\",\n },\n \"11/12\": {\n value: \"91.666667%\",\n },\n max: {\n value: \"max-content\",\n },\n min: {\n value: \"min-content\",\n },\n fit: {\n value: \"fit-content\",\n },\n prose: {\n value: \"60ch\",\n },\n full: {\n value: \"100%\",\n },\n dvh: {\n value: \"100dvh\",\n },\n svh: {\n value: \"100svh\",\n },\n lvh: {\n value: \"100lvh\",\n },\n dvw: {\n value: \"100dvw\",\n },\n svw: {\n value: \"100svw\",\n },\n lvw: {\n value: \"100lvw\",\n },\n vw: {\n value: \"100vw\",\n },\n vh: {\n value: \"100vh\",\n },\n});\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const zIndex = defineTokens.zIndex(themeTokens.zIndex);\n","import { defineTokens } from \"@chakra-ui/react\";\nimport { themeTokens } from \"@commercetools/nimbus-tokens\";\n\nexport const cursor = defineTokens.cursor(themeTokens.cursor);\n","import { aspectRatios } from \"./aspect-ratios\";\nimport { animations } from \"./animations\";\nimport { blurs } from \"./blurs\";\nimport { borders } from \"./borders\";\nimport { colors, darkColors } from \"./colors\";\nimport { durations } from \"./durations\";\nimport { easings } from \"./easings\";\nimport { fonts } from \"./fonts\";\nimport { fontSizes } from \"./font-sizes\";\nimport { fontWeights } from \"./font-weights\";\nimport { letterSpacings } from \"./letter-spacings\";\nimport { lineHeights } from \"./line-heights\";\nimport { radii } from \"./radii\";\nimport { spacing } from \"./spacing\";\nimport { sizes } from \"./sizes\";\nimport { zIndex } from \"./z-index\";\nimport { cursor } from \"./cursor\";\n\nexport const tokens = {\n aspectRatios,\n animations,\n blurs,\n borders,\n colors,\n durations,\n easings,\n fonts,\n fontSizes,\n fontWeights,\n letterSpacings,\n lineHeights,\n radii,\n spacing,\n sizes,\n zIndex,\n cursor,\n};\n\nexport const darkTokens = {\n aspectRatios,\n animations,\n blurs,\n borders,\n colors: darkColors,\n durations,\n easings,\n fonts,\n fontSizes,\n fontWeights,\n letterSpacings,\n lineHeights,\n radii,\n spacing,\n sizes,\n zIndex,\n cursor,\n};\n","import {\n createSystem,\n defaultBaseConfig,\n defineConfig,\n} from \"@chakra-ui/react\";\nimport { animationStyles } from \"./animation-styles\";\nimport { breakpoints } from \"./breakpoints\";\nimport { globalCss } from \"./global-css\";\nimport { keyframes } from \"./keyframes\";\nimport { layerStyles } from \"./layer-styles\";\nimport { recipes } from \"./recipes\";\nimport { semanticTokens } from \"./semantic-tokens\";\nimport { slotRecipes } from \"./slot-recipes\";\nimport { textStyles } from \"./text-styles\";\nimport { tokens } from \"./tokens\";\n\nconst themeConfig = defineConfig({\n preflight: true,\n cssVarsPrefix: \"nimbus\",\n cssVarsRoot: \":where(:root, :host)\",\n globalCss,\n theme: {\n breakpoints,\n keyframes,\n tokens,\n semanticTokens,\n recipes,\n slotRecipes,\n textStyles,\n layerStyles,\n animationStyles,\n },\n});\n\nexport const system = createSystem(defaultBaseConfig, themeConfig);\n","\"use client\";\n\nimport {\n ChakraProvider,\n // defaultSystem as defaultSystemChakra,\n} from \"@chakra-ui/react\";\nimport { ColorModeProvider, type ColorModeProviderProps } from \"./color-mode\";\nimport { system } from \"../../theme\";\nimport { useEffect, useState } from \"react\";\n\nexport function useColorScheme() {\n const [colorScheme, setColorScheme] = useState(getCurrentColorScheme());\n\n // Helper function to get the current color-scheme from the <html> tag\n function getCurrentColorScheme() {\n return (\n document.documentElement.style.getPropertyValue(\"color-scheme\") ||\n localStorage.getItem(\"theme\") ||\n \"light\"\n );\n }\n\n useEffect(() => {\n const htmlElement = document.documentElement;\n\n const observer = new MutationObserver(() => {\n const newColorScheme = getCurrentColorScheme();\n setColorScheme(newColorScheme);\n });\n\n // Observe changes to the 'style' attribute of the <html> element\n observer.observe(htmlElement, {\n attributes: true,\n attributeFilter: [\"style\"],\n });\n\n return () => observer.disconnect();\n }, []);\n\n return colorScheme;\n}\n\nexport function NimbusProvider({ children, ...props }: ColorModeProviderProps) {\n return (\n <ChakraProvider value={system}>\n <ColorModeProvider enableSystem={false} {...props}>\n <>{children}</>\n </ColorModeProvider>\n </ChakraProvider>\n );\n}\n","import { defaultSystem } from \"@chakra-ui/react\";\n\n/**\n * Extracts chakra-ui style-props from an object, separating them from other props\n * @param props The props object to separate\n * @returns A tuple containing [styleProps, otherProps]\n */\nexport function extractStyleProps<T extends object>(\n props: T\n): [Record<string, unknown>, Omit<T, string>] {\n const styleProps: Record<string, unknown> = {};\n const otherProps = { ...props } as Record<string, unknown>;\n\n // Process only own properties\n Object.keys(props).forEach((key) => {\n if (\n Object.prototype.hasOwnProperty.call(props, key) &&\n defaultSystem.isValidProperty(key)\n ) {\n styleProps[key] = props[key as keyof T];\n delete otherProps[key];\n }\n });\n\n return [styleProps, otherProps as Omit<T, string>];\n}\n","/* eslint-disable @typescript-eslint/no-empty-object-type */\nimport {\n createSlotRecipeContext,\n type HTMLChakraProps,\n type RecipeVariantProps,\n} from \"@chakra-ui/react\";\nimport { checkboxSlotRecipe } from \"./checkbox.recipe\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"checkbox\",\n});\n\nexport interface CheckboxRootProps\n extends HTMLChakraProps<\n \"label\",\n RecipeVariantProps<typeof checkboxSlotRecipe>\n > {}\nexport const CheckboxRoot = withProvider<HTMLLabelElement, CheckboxRootProps>(\n \"label\",\n \"root\"\n);\n\ninterface CheckboxLabelProps extends HTMLChakraProps<\"span\"> {}\nexport const CheckboxLabel = withContext<HTMLSpanElement, CheckboxLabelProps>(\n \"span\",\n \"label\"\n);\n\ninterface ChekcboxIndicatorProps extends HTMLChakraProps<\"span\"> {}\nexport const CheckboxIndicator = withContext<\n HTMLSpanElement,\n ChekcboxIndicatorProps\n>(\"span\", \"indicator\");\n","import { forwardRef, useRef } from \"react\";\nimport { useToggleState } from \"react-stately\";\nimport { useSlotRecipe } from \"@chakra-ui/react\";\nimport { VisuallyHidden } from \"@/components\";\nimport { Check, Remove as Minus } from \"@commercetools/nimbus-icons\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\n\nimport {\n useFocusRing,\n useCheckbox,\n useObjectRef,\n mergeProps,\n} from \"react-aria\";\n\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport type { CheckboxProps } from \"./checkbox.types\";\nimport {\n CheckboxIndicator,\n CheckboxRoot,\n CheckboxLabel,\n} from \"./checkbox.slots\";\n\n/**\n * Checkbox\n * ============================================================\n * displays a checkbox and an associated label\n *\n * Features:\n *\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLDivElement' attributes (including aria- & data-attributes)\n * - supports 'variants', 'sizes', etc. configured in the recipe\n * - allows overriding styles by using style-props\n * - supports 'asChild' and 'as' to modify the underlying html-element (polymorphic)\n */\nexport const Checkbox = forwardRef<HTMLInputElement, CheckboxProps>(\n (props, forwardedRef) => {\n const localRef = useRef<HTMLInputElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n const recipe = useSlotRecipe({ key: \"checkbox\" });\n const [recipeProps] = recipe.splitVariantProps(props);\n\n const [styleProps, restProps] = extractStyleProps(props);\n\n const state = useToggleState(props);\n const { inputProps } = useCheckbox(restProps, state, ref);\n\n const { isFocused, focusProps } = useFocusRing();\n const isSelected = state.isSelected && !props.isIndeterminate;\n const isIndeterminate = props.isIndeterminate;\n\n const stateProps = {\n \"data-selected\": isSelected,\n \"data-indeterminate\": isIndeterminate,\n \"data-invalid\": props.isInvalid,\n \"data-disabled\": props.isDisabled,\n \"data-focus\": isFocused || undefined,\n };\n\n return (\n <CheckboxRoot\n data-slot=\"root\"\n {...recipeProps}\n {...stateProps}\n {...styleProps}\n >\n <CheckboxIndicator data-slot=\"indicator\" {...stateProps}>\n {isSelected && <Check />}\n {isIndeterminate && <Minus />}\n <VisuallyHidden as=\"span\">\n <input {...mergeProps(inputProps, focusProps)} ref={ref} />\n </VisuallyHidden>\n </CheckboxIndicator>\n\n {props.children && (\n <CheckboxLabel data-slot=\"label\" {...stateProps}>\n {props.children}\n </CheckboxLabel>\n )}\n </CheckboxRoot>\n );\n }\n);\nCheckbox.displayName = \"Checkbox\";\n","import { forwardRef } from \"react\";\nimport {\n Stack as ChakraStack,\n type StackProps as ChakraStackProps,\n} from \"@chakra-ui/react\";\n\nexport interface StackProps extends ChakraStackProps {\n children?: React.ReactNode;\n}\n\nexport const Stack = forwardRef<HTMLDivElement, StackProps>((props, ref) => {\n return <ChakraStack ref={ref} {...props} />;\n});\n\nStack.displayName = \"Stack\";\n","import {\n VisuallyHidden as ReactAriaViusallyHidden,\n type VisuallyHiddenProps as ReactAriaVisuallyHiddenProps,\n} from \"react-aria\";\n\nexport interface VisuallyHiddenProps\n extends Omit<ReactAriaVisuallyHiddenProps, \"elementType\"> {\n /** specifies the element type to render, use `span` for inline content\n * and `div` for block content */\n as?: \"span\" | \"div\";\n}\n\nexport const VisuallyHidden = (props: VisuallyHiddenProps) => {\n const { as = \"div\", ...leftoverProps } = props;\n return <ReactAriaViusallyHidden elementType={as} {...leftoverProps} />;\n};\n\nVisuallyHidden.displayName = \"VisuallyHidden\";\n","import {\n type HTMLChakraProps,\n type RecipeVariantProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react\";\n\nimport { textInputRecipe } from \"./text-input.recipe\";\n\nexport interface TextInputRecipeProps\n extends RecipeVariantProps<typeof textInputRecipe>,\n UnstyledProp {}\n\nexport type TextInputRootProps = HTMLChakraProps<\"input\", TextInputRecipeProps>;\n\nconst { withContext } = createRecipeContext({ recipe: textInputRecipe });\n\n/**\n * Root component that provides the styling context for the TextInput component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const TextInputRoot = withContext<HTMLInputElement, TextInputRootProps>(\n \"input\"\n);\n","import { forwardRef, useRef } from \"react\";\nimport { TextInputRoot } from \"./text-input.slots\";\nimport type { TextInputProps } from \"./text-input.types\";\nimport { useObjectRef } from \"react-aria\";\nimport { mergeRefs, useRecipe } from \"@chakra-ui/react\";\nimport { textInputRecipe } from \"./text-input.recipe\";\nimport { TextField, Input } from \"react-aria-components\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\n\n/**\n * TextInput\n * ============================================================\n * An input component that takes in a text as input\n *\n * Features:\n *\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLInputElement' attributes (including aria- & data-attributes)\n * - supports 'variants', 'sizes', etc. configured in the recipe\n * - allows overriding styles by using style-props\n */\nexport const TextInput = forwardRef<HTMLInputElement, TextInputProps>(\n (props, forwardedRef) => {\n const localRef = useRef<HTMLInputElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n const recipe = useRecipe({ recipe: textInputRecipe });\n const [recipeProps, leftOverProps] = recipe.splitVariantProps(props);\n const [styleProps, textfieldProps] = extractStyleProps(leftOverProps);\n\n return (\n <TextField {...textfieldProps}>\n <TextInputRoot ref={ref} {...recipeProps} {...styleProps} asChild>\n <Input />\n </TextInputRoot>\n </TextField>\n );\n }\n);\nTextInput.displayName = \"TextInput\";\n","import { forwardRef } from \"react\";\nimport {\n Grid as ChakraGrid,\n GridItem,\n type GridProps as ChakraGridProps,\n} from \"@chakra-ui/react\";\n\n/**\n * Grid\n * ============================================================\n * The Grid Layout Component provides a flexible and responsive way to structure content using a two-dimensional grid system. It allows elements to be arranged in rows and columns, enabling dynamic and efficient layouts for different screen sizes.\n *\n * Features:\n *\n * - allows forwarding refs to the underlying DOM element\n */\nexport interface GridProps extends ChakraGridProps {\n children?: React.ReactNode;\n}\n\nconst GridComponent = forwardRef<HTMLDivElement, GridProps>((props, ref) => {\n return <ChakraGrid ref={ref} {...props} />;\n});\n\nGridComponent.displayName = \"Grid\";\n\nexport const Grid = Object.assign(GridComponent, {\n Item: GridItem,\n});\n","/* eslint-disable @typescript-eslint/no-empty-object-type */\nimport {\n createSlotRecipeContext,\n type HTMLChakraProps,\n type RecipeVariantProps,\n} from \"@chakra-ui/react\";\nimport { selectSlotRecipe } from \"./select.recipe\";\nimport { type SelectProps as RaSelectProps } from \"react-aria-components\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"select\",\n});\n\n// Select\nexport interface SelectRootSlotProps\n extends HTMLChakraProps<\n \"div\",\n RecipeVariantProps<typeof selectSlotRecipe> & RaSelectProps<object>\n > {}\nexport const SelectRootSlot = withProvider<HTMLDivElement, SelectRootSlotProps>(\n \"div\",\n \"root\"\n);\n\n// Trigger Button\nexport interface SelectTriggerSlotProps extends HTMLChakraProps<\"button\"> {}\nexport const SelectTriggerSlot = withContext<\n HTMLButtonElement,\n SelectTriggerSlotProps\n>(\"button\", \"trigger\");\n\n// Trigger Button Label\nexport interface SelectTriggerLabelSlotProps extends HTMLChakraProps<\"span\"> {}\nexport const SelectTriggerLabelSlot = withContext<\n HTMLButtonElement,\n SelectTriggerLabelSlotProps\n>(\"span\", \"triggerLabel\");\n\n// ListBox\nexport interface SelectOptionsSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const SelectOptionsSlot = withContext<\n HTMLDivElement,\n SelectOptionsSlotProps\n>(\"div\", \"options\");\n\n// ListBoxItem\nexport interface SelectOptionSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const SelectOptionSlot = withContext<\n HTMLDivElement,\n SelectOptionSlotProps\n>(\"div\", \"option\");\n\n// OptionGroup\nexport interface SelectOptionGroupSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const SelectOptionGroupSlot = withContext<\n HTMLDivElement,\n SelectOptionGroupSlotProps\n>(\"div\", \"optionGroup\");\n","import { useContext } from \"react\";\nimport { Close as CloseIcon } from \"@commercetools/nimbus-icons\";\nimport { IconButton } from \"@/components\";\nimport { SelectStateContext } from \"react-aria-components\";\n\nexport const SelectClearButton = () => {\n const state = useContext(SelectStateContext);\n\n if (!state?.selectedKey) {\n return null;\n }\n\n const onPressRequest = () => {\n state?.setSelectedKey(null);\n };\n\n return (\n <IconButton\n pointerEvents=\"all\"\n size=\"2xs\"\n variant=\"ghost\"\n tone=\"primary\"\n aria-label=\"Clear Selection\"\n onPress={onPressRequest}\n >\n <CloseIcon />\n </IconButton>\n );\n};\n\nSelectClearButton.displayName = \"Select.ClearButton\";\n","import { forwardRef } from \"react\";\nimport { chakra, useSlotRecipe } from \"@chakra-ui/react\";\n\nimport {\n KeyboardArrowDown as DropdownIndicatorIcon,\n Loop as SpinnerIcon,\n} from \"@commercetools/nimbus-icons\";\n\nimport { Flex, Box } from \"@/components\";\nimport {\n Button as RaButton,\n Popover as RaPopover,\n Select as RaSelect,\n SelectValue as RaSelectValue,\n} from \"react-aria-components\";\nimport {\n SelectRootSlot,\n SelectTriggerSlot,\n SelectTriggerLabelSlot,\n} from \"./../select.slots\";\nimport { SelectClearButton } from \"./select.clear-button\";\nimport { type SelectRootProps } from \"./../select.types\";\nimport { selectSlotRecipe } from \"../select.recipe\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\n\nexport const SelectRoot = forwardRef<HTMLDivElement, SelectRootProps>(\n ({ children, isLoading, isDisabled, ...props }, ref) => {\n const recipe = useSlotRecipe({ recipe: selectSlotRecipe });\n const [recipeProps, restRecipeProps] = recipe.splitVariantProps(props);\n const [styleProps, restProps] = extractStyleProps(restRecipeProps);\n\n const raSelectProps = {\n ...restProps,\n isDisabled: isLoading || isDisabled,\n };\n\n return (\n <SelectRootSlot asChild ref={ref} {...recipeProps} {...styleProps}>\n <RaSelect {...raSelectProps}>\n <chakra.div position=\"relative\">\n <SelectTriggerSlot zIndex={0} asChild>\n <RaButton>\n <SelectTriggerLabelSlot asChild>\n <RaSelectValue />\n </SelectTriggerLabelSlot>\n </RaButton>\n </SelectTriggerSlot>\n <Flex\n position=\"absolute\"\n top=\"0\"\n bottom=\"0\"\n zIndex={1}\n right=\"400\"\n pointerEvents=\"none\"\n >\n <Flex width=\"600\" my=\"auto\">\n <SelectClearButton />\n </Flex>\n\n <Flex my=\"auto\" w=\"600\" h=\"600\" pointerEvents=\"none\">\n <Box color=\"neutral.9\" asChild m=\"auto\" w=\"400\" h=\"400\">\n {isLoading ? (\n <Box asChild animation=\"spin\" animationDuration=\"slowest\">\n <SpinnerIcon />\n </Box>\n ) : (\n <DropdownIndicatorIcon />\n )}\n </Box>\n </Flex>\n </Flex>\n </chakra.div>\n\n <RaPopover>{children}</RaPopover>\n </RaSelect>\n </SelectRootSlot>\n );\n }\n);\n\nSelectRoot.displayName = \"Select.Root\";\n","import { forwardRef, type JSX } from \"react\";\n\n/**\n * This is a workaround to fix the type of `forwardRef`.\n * The issue is that the type of `forwardRef` is not correct when using generics.\n *\n * While not ideal from a type-safety perspective, it's necessary because\n * TypeScript cannot properly express the transformation that happens when\n * combining generics with `forwardRef`.\n */\nexport const fixedForwardRef = <T, P extends object>(\n render: (props: P, ref: React.Ref<T>) => JSX.Element\n): ((props: P & React.RefAttributes<T>) => JSX.Element) => {\n // @ts-expect-error - This tells TypeScript to \"trust us\" about the resulting type.\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return, @typescript-eslint/no-explicit-any\n return forwardRef(render) as any;\n};\n","import { type ForwardedRef } from \"react\";\nimport { ListBox as RaListBox } from \"react-aria-components\";\nimport { SelectOptionsSlot } from \"./../select.slots\";\nimport type { SelectOptionsProps } from \"../select.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport { fixedForwardRef } from \"@/utils/fixedForwardRef\";\n\nexport const SelectOptions = fixedForwardRef(\n <T extends object>(\n props: SelectOptionsProps<T>,\n forwardedRef: ForwardedRef<HTMLDivElement>\n ) => {\n const [styleProps, rest] = extractStyleProps(props);\n return (\n <SelectOptionsSlot asChild {...styleProps}>\n <RaListBox ref={forwardedRef} {...rest} />\n </SelectOptionsSlot>\n );\n }\n);\n\n// @ts-expect-error - doesn't work with this complex types\nSelectOptions.displayName = \"Select.Options\";\n","import { type ForwardedRef } from \"react\";\nimport { ListBoxItem as RaListBoxItem } from \"react-aria-components\";\nimport { SelectOptionSlot } from \"./../select.slots\";\nimport type { SelectOptionProps } from \"../select.types\";\nimport { fixedForwardRef } from \"@/utils/fixedForwardRef\";\n\nexport const SelectOption = fixedForwardRef(\n <T extends object>(\n props: SelectOptionProps<T>,\n forwardedRef: ForwardedRef<HTMLDivElement>\n ) => {\n return (\n <SelectOptionSlot asChild ref={forwardedRef}>\n <RaListBoxItem {...props} />\n </SelectOptionSlot>\n );\n }\n);\n\n// @ts-expect-error - doesn't work with this complex types\nSelectOption.displayName = \"Select.Option\";\n","import { type ForwardedRef, type ReactNode } from \"react\";\n\nimport {\n ListBoxSection as RaListBoxSection,\n Header as RaHeader,\n Collection,\n} from \"react-aria-components\";\nimport { SelectOptionGroupSlot } from \"./../select.slots\";\nimport type { SelectOptionGroupProps } from \"../select.types\";\nimport { fixedForwardRef } from \"@/utils/fixedForwardRef\";\n\nexport const SelectOptionGroup = fixedForwardRef(\n <T extends object>(\n { label, items, children, ...props }: SelectOptionGroupProps<T>,\n forwardedRef: ForwardedRef<HTMLDivElement>\n ) => {\n // Validate that children is a function when items is provided\n if (items && typeof children !== \"function\") {\n throw new Error(\n 'SelectOptionGroup: When \"items\" is provided, \"children\" must be a function'\n );\n }\n\n return (\n <RaListBoxSection ref={forwardedRef} {...props}>\n <SelectOptionGroupSlot asChild>\n <RaHeader>{label}</RaHeader>\n </SelectOptionGroupSlot>\n\n {items ? (\n <Collection items={items}>\n {(item: T) => {\n if (typeof children === \"function\") {\n return children(item);\n }\n return null;\n }}\n </Collection>\n ) : (\n (children as ReactNode)\n )}\n </RaListBoxSection>\n );\n }\n);\n\n// @ts-expect-error - doesn't work with this complex types\nSelectOptionGroup.displayName = \"Select.OptionGroup\";\n","import { SelectRoot as _SelectRoot } from \"./components/select.root\";\nimport { SelectOptions as _SelectOptions } from \"./components/select.options\";\nimport { SelectOption as _SelectOption } from \"./components/select.option\";\nimport { SelectOptionGroup as _SelectOptionGroup } from \"./components/select.option-group\";\n\nexport const Select = {\n Root: _SelectRoot,\n Options: _SelectOptions,\n Option: _SelectOption,\n OptionGroup: _SelectOptionGroup,\n};\n\n/**\n * todo: get rid of this, this is needed for the react-docgen-typescript script\n * that is parsing the typescript types for our documentation. The _ underscores\n * serve as a reminder that this exports are awkward and should not be used.\n */\nexport { _SelectRoot, _SelectOptions, _SelectOption, _SelectOptionGroup };\n","import {\n createSlotRecipeContext,\n type HTMLChakraProps,\n} from \"@chakra-ui/react\";\nimport type { AccordionRootProps } from \"./accordion.types\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"accordion\",\n});\n\nexport const AccordionRoot = withProvider<HTMLDivElement, AccordionRootProps>(\n \"div\",\n \"root\"\n);\n\nexport const AccordionDisclosure = withContext<\n HTMLDivElement,\n HTMLChakraProps<\"div\">\n>(\"div\", \"disclosure\");\n\nexport const AccordionTrigger = withContext<\n HTMLButtonElement,\n HTMLChakraProps<\"button\">\n>(\"button\", \"trigger\");\n\nexport const AccordionPanel = withContext<\n HTMLDivElement,\n HTMLChakraProps<\"div\">\n>(\"div\", \"panel\");\n\nexport const AccordionTitle = withContext<\n HTMLButtonElement,\n HTMLChakraProps<\"div\">\n>(\"div\", \"accordionTitle\");\n\nexport const HeaderRightContent = withContext<\n HTMLDivElement,\n HTMLChakraProps<\"div\">\n>(\"div\", \"headerContentRight\");\n","import React, { createContext } from \"react\";\nimport type { DisclosureGroupState } from \"react-stately\";\n\n// Define types for the item context\nexport interface ItemContextType {\n isExpanded: boolean;\n triggerRef: React.RefObject<HTMLButtonElement | null>;\n panelRef: React.RefObject<HTMLDivElement | null>;\n buttonProps: React.ButtonHTMLAttributes<HTMLButtonElement>;\n panelProps: React.ButtonHTMLAttributes<HTMLButtonElement>;\n isFocusVisible: boolean;\n}\n\n// Create and export the contexts\nexport const ItemContext = createContext<ItemContextType | null>(null);\nexport const DisclosureGroupStateContext =\n createContext<DisclosureGroupState | null>(null);\n","import React, { forwardRef, type Key } from \"react\";\nimport { AccordionRoot as AccordionRootSlot } from \"../accordion.slots\";\nimport { useDisclosureGroupState } from \"react-stately\";\nimport { useSlotRecipe } from \"@chakra-ui/react\";\nimport type { DisclosureGroupProps } from \"../accordion.types\";\nimport { DisclosureGroupStateContext } from \"../accordion-context\";\n\nexport const AccordionGroup = forwardRef<HTMLDivElement, DisclosureGroupProps>(\n ({ children, onExpandedChange, ...props }, forwardedRef) => {\n const state = useDisclosureGroupState({\n ...props,\n onExpandedChange: (keys: Set<Key>) => {\n onExpandedChange?.(keys.size > 0);\n },\n });\n const recipe = useSlotRecipe({ key: \"accordion\" });\n const [recipeProps] = recipe.splitVariantProps(props);\n\n return (\n <DisclosureGroupStateContext.Provider value={state}>\n <AccordionRootSlot data-slot=\"root\" ref={forwardedRef} {...recipeProps}>\n {children}\n </AccordionRootSlot>\n </DisclosureGroupStateContext.Provider>\n );\n }\n);\n","import React, { forwardRef, useContext } from \"react\";\nimport {\n AccordionTrigger,\n AccordionTitle,\n HeaderRightContent,\n} from \"../accordion.slots\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport { Flex } from \"@/components\";\nimport { KeyboardArrowRight } from \"@commercetools/nimbus-icons\";\nimport type { DisclosureGroupProps } from \"../accordion.types\";\nimport { ItemContext } from \"../accordion-context\";\n\nexport const AccordionHeader = forwardRef<\n HTMLButtonElement,\n DisclosureGroupProps\n>(({ children }, ref) => {\n const context = useContext(ItemContext);\n if (!context) {\n throw new Error(\"Accordion.Header must be used within Accordion.Item\");\n }\n\n // Extract HeaderRightContent if present\n const headerContent = React.Children.toArray(children).reduce<{\n main: React.ReactNode[];\n rightContent: React.ReactNode[];\n }>(\n (acc, child) => {\n if (React.isValidElement(child) && child.type === HeaderRightContent) {\n acc.rightContent.push(child);\n } else {\n acc.main.push(child);\n }\n return acc;\n },\n { main: [], rightContent: [] }\n );\n\n return (\n <Flex\n justifyContent=\"space-between\"\n alignItems=\"center\"\n borderBottom=\"solid-25\"\n borderColor=\"neutral.4\"\n >\n <AccordionTrigger\n ref={mergeRefs(context.triggerRef, ref)}\n {...context.buttonProps}\n data-slot=\"trigger\"\n outline={context.isFocusVisible ? undefined : \"none\"}\n >\n <KeyboardArrowRight />\n <AccordionTitle data-slot=\"accordionTitle\">\n {headerContent.main}\n </AccordionTitle>\n </AccordionTrigger>\n {headerContent.rightContent.length > 0 && (\n <HeaderRightContent data-slot=\"headerContentRight\">\n {headerContent.rightContent}\n </HeaderRightContent>\n )}\n </Flex>\n );\n});\n","import React, { forwardRef, useContext } from \"react\";\nimport { AccordionPanel } from \"../accordion.slots\";\nimport { useObjectRef } from \"react-aria\";\nimport { mergeProps, mergeRefs } from \"@chakra-ui/react\";\nimport type { DisclosureGroupProps } from \"../accordion.types\";\nimport { ItemContext } from \"../accordion-context\";\n\n// Create Content component\nexport const AccordionContent = forwardRef<\n HTMLDivElement,\n DisclosureGroupProps\n>((props, forwardedRef) => {\n const context = useContext(ItemContext);\n const ref = useObjectRef<HTMLDivElement>(\n mergeRefs(context?.panelRef, forwardedRef)\n );\n\n return (\n // @ts-expect-error TODO - fix prop types merging conflict\n <AccordionPanel\n ref={ref}\n {...mergeProps({ ...context?.panelProps, ...props })}\n data-slot=\"panel\"\n >\n {props.children}\n </AccordionPanel>\n );\n});\n","import React, { forwardRef, useContext, useRef } from \"react\";\nimport { AccordionDisclosure } from \"../accordion.slots\";\nimport { useDisclosureState } from \"react-stately\";\nimport {\n useDisclosure,\n mergeProps,\n useButton,\n useFocusRing,\n useId,\n} from \"react-aria\";\nimport type { DisclosureItemProps } from \"../accordion.types\";\n// Import the contexts from the shared file\nimport { ItemContext, DisclosureGroupStateContext } from \"../accordion-context\";\n\nexport const AccordionItem = forwardRef<HTMLDivElement, DisclosureItemProps>(\n (\n { children, id, isDisabled, isExpanded, onExpandedChange, value },\n forwardedRef\n ) => {\n const defaultId = useId();\n const itemId = id || defaultId;\n const itemValue = value || itemId;\n\n // Get group state from context\n const groupState = useContext(DisclosureGroupStateContext);\n\n // Determine if expanded based on group state or prop\n const expanded = groupState\n ? groupState.expandedKeys.has(itemValue)\n : isExpanded;\n\n // Create disclosure state\n const state = useDisclosureState({\n isExpanded: expanded,\n onExpandedChange: (isExpanded) => {\n if (groupState) {\n groupState.toggleKey(itemValue);\n }\n onExpandedChange?.(isExpanded);\n },\n });\n\n // Create refs and get props\n const panelRef = useRef<HTMLDivElement>(null);\n const triggerRef = useRef<HTMLButtonElement>(null);\n const disabled = isDisabled || groupState?.isDisabled || false;\n\n const { buttonProps, panelProps } = useDisclosure(\n {\n isExpanded: state.isExpanded,\n isDisabled: disabled,\n },\n state,\n panelRef\n );\n\n const { buttonProps: finalButtonProps } = useButton(\n buttonProps,\n triggerRef\n );\n const { focusProps, isFocusVisible } = useFocusRing();\n\n // Create context value for Header and Content\n const contextValue = {\n isExpanded: state.isExpanded,\n triggerRef,\n panelRef,\n buttonProps: mergeProps(finalButtonProps, focusProps),\n panelProps,\n isFocusVisible,\n };\n\n // Using the imported ItemContext\n return (\n <ItemContext.Provider value={contextValue}>\n <AccordionDisclosure\n data-slot=\"disclosure\"\n data-value={itemValue}\n data-expanded={state.isExpanded}\n ref={forwardedRef}\n >\n {children}\n </AccordionDisclosure>\n </ItemContext.Provider>\n );\n }\n);\n","import { HeaderRightContent } from \"./accordion.slots\";\nimport { AccordionGroup } from \"./components/accordion-group\";\nimport { AccordionHeader } from \"./components/accordion-header\";\nimport { AccordionContent } from \"./components/accordion-content\";\nimport { AccordionItem } from \"./components/accordion-item\";\n\n// Create the Accordion namespace object as an object literal\nexport const Accordion = {\n Root: AccordionGroup,\n Item: AccordionItem,\n Header: AccordionHeader,\n Content: AccordionContent,\n HeaderRightContent,\n};\n","import { defineRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the LoadingSpinner component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const loadingSpinnerRecipe = defineRecipe({\n className: \"nimbus-loading-spinner\",\n\n base: {\n display: \"inline-flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n \"& svg\": {\n overflow: \"visible\",\n // This proportionally scales the spinner to fit the container while also scaling padding\n transform: \"scale(calc(1 - 2/12))\",\n },\n \"& svg [data-svg-path='spinner-pointer']\": {\n stroke: \"colorPalette.10\",\n animationName: \"spin\",\n animationDuration: \"0.5s\",\n animationTimingFunction: \"linear\",\n animationIterationCount: \"infinite\",\n transformOrigin: \"center center 0\",\n },\n \"& svg [data-svg-path='spinner-circle']\": {\n stroke: \"colorPalette.5\",\n },\n },\n\n variants: {\n size: {\n \"2xs\": {\n width: \"350\",\n height: \"350\",\n },\n xs: {\n width: \"500\",\n height: \"500\",\n },\n sm: {\n width: \"600\",\n height: \"600\",\n },\n md: {\n width: \"800\",\n height: \"800\",\n },\n lg: {\n width: \"1000\",\n height: \"1000\",\n },\n },\n\n tone: {\n primary: {\n colorPalette: \"ctvioletAlpha\",\n },\n white: {\n colorPalette: \"whiteAlpha\",\n },\n },\n },\n\n defaultVariants: {\n size: \"sm\",\n tone: \"primary\",\n },\n});\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react\";\n\nimport { loadingSpinnerRecipe } from \"./loading-spinner.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the div element.\n */\nexport interface LoadingSpinnerRecipeProps\n extends RecipeProps<\"div\">,\n UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport type LoadingSpinnerRootProps = Omit<\n HTMLChakraProps<\"div\", LoadingSpinnerRecipeProps>,\n // We want to omit polymorphic props from the root props since they are not used internally.\n \"as\" | \"asChild\"\n>;\n\nconst { withContext } = createRecipeContext({ recipe: loadingSpinnerRecipe });\n\n/**\n * Root component that provides the styling context for the LoadingSpinner component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const LoadingSpinnerRoot = withContext<\n HTMLDivElement,\n LoadingSpinnerRootProps\n>(\"div\");\n","import { forwardRef } from \"react\";\nimport { LoadingSpinnerRoot } from \"./loading-spinner.slots\";\nimport type { LoadingSpinnerProps } from \"./loading-spinner.types\";\nimport { mergeProps, useProgressBar } from \"react-aria\";\n\nconst circlePath =\n \"M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.7079 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 10.6211 1.77159 9.25574 2.29927 7.98182C2.82694 6.7079 3.60037 5.55039 4.57538 4.57538C5.5504 3.60036 6.70791 2.82694 7.98183 2.29926C9.25575 1.77159 10.6211 1.5 12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60037 19.4246 4.57538C20.3996 5.5504 21.1731 6.70791 21.7007 7.98183C22.2284 9.25575 22.5 10.6211 22.5 12L22.5 12Z\";\nconst pointerPath =\n \"M12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60036 19.4246 4.57538C20.3996 5.55039 21.1731 6.70791 21.7007 7.98183C22.2284 9.25574 22.5 10.6211 22.5 12\";\n\n/**\n * LoadingSpinner\n * ============================================================\n * Indicates ongoing processes or loading states\n */\nexport const LoadingSpinner = forwardRef<HTMLDivElement, LoadingSpinnerProps>(\n ({ \"aria-label\": ariaLabel = \"Loading data\", ...props }, ref) => {\n const { progressBarProps } = useProgressBar({\n isIndeterminate: true,\n \"aria-label\": ariaLabel,\n ...props,\n });\n\n return (\n <LoadingSpinnerRoot\n ref={ref}\n {...mergeProps(props, progressBarProps)}\n aria-label={ariaLabel}\n >\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\">\n <path\n d={circlePath}\n data-svg-path=\"spinner-circle\"\n strokeWidth=\"3\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d={pointerPath}\n data-svg-path=\"spinner-pointer\"\n strokeWidth=\"3\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </LoadingSpinnerRoot>\n );\n }\n);\nLoadingSpinner.displayName = \"LoadingSpinner\";\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the Card component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const cardRecipe = defineSlotRecipe({\n slots: [\"root\", \"header\", \"content\"],\n\n className: \"nimbus-card\",\n\n base: {\n root: {\n colorPalette: \"slate\",\n display: \"inline-flex\",\n alignItems: \"flex-start\",\n borderRadius: \"300\",\n focusVisibleRing: \"outside\",\n },\n },\n\n variants: {\n cardPadding: {\n sm: {\n root: {\n padding: \"200\",\n },\n },\n md: {\n root: {\n padding: \"400\",\n },\n },\n lg: {\n root: {\n padding: \"600\",\n },\n },\n },\n\n borderStyle: {\n none: {},\n outlined: {\n root: {\n border: \"solid-25\",\n borderColor: \"colorPalette.3\",\n },\n },\n },\n elevation: {\n none: {},\n elevated: {\n root: {\n shadow: \"1\",\n },\n },\n },\n backgroundStyle: {\n default: {\n root: {\n backgroundColor: \"colorPalette.contrast\",\n },\n },\n muted: {\n root: {\n backgroundColor: \"colorPalette.2\",\n },\n },\n },\n },\n});\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createSlotRecipeContext,\n} from \"@chakra-ui/react\";\n\nimport { cardRecipe } from \"./card.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the div element.\n */\ninterface CardRecipeProps extends RecipeProps<\"div\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport interface CardRootProps\n extends HTMLChakraProps<\"div\", CardRecipeProps> {}\n\nexport interface CardHeaderProps\n extends HTMLChakraProps<\"div\", CardRecipeProps> {}\n\nexport interface CardContentProps\n extends HTMLChakraProps<\"div\", CardRecipeProps> {}\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: cardRecipe,\n});\n\n/**\n * Root component that provides the styling context for the Card component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const CardRoot = withProvider<HTMLDivElement, CardRootProps>(\n \"div\",\n \"root\"\n);\n\nexport const CardHeader = withContext<HTMLDivElement, CardHeaderProps>(\n \"div\",\n \"header\"\n);\nexport const CardContent = withContext<HTMLDivElement, CardContentProps>(\n \"div\",\n \"content\"\n);\n","import {\n createContext,\n forwardRef,\n useMemo,\n useState,\n type ReactNode,\n} from \"react\";\nimport { CardRoot as CardRootSlot } from \"../card.slots\";\nimport type { CardProps } from \"../card.types\";\nimport { Stack } from \"../../stack\";\nimport { mergeProps, useFocusRing } from \"react-aria\";\n\ntype CardContextValue = {\n setHeader: (header: React.ReactNode) => void;\n setContent: (content: React.ReactNode) => void;\n};\n\nexport const CardContext = createContext<CardContextValue | undefined>(\n undefined\n);\n\nexport const CardRoot = forwardRef<HTMLDivElement, CardProps>(\n ({ children, ...props }, ref) => {\n const { isFocused, isFocusVisible, focusProps } = useFocusRing();\n const [headerNode, setHeader] = useState<ReactNode>(null);\n const [contentNode, setContent] = useState<ReactNode>(null);\n\n // Memoize the context value so we don't cause unnecessary re-renders\n const contextValue = useMemo(\n () => ({\n setHeader,\n setContent,\n }),\n [setHeader, setContent]\n );\n\n return (\n <CardContext.Provider value={contextValue}>\n <CardRootSlot\n ref={ref}\n {...mergeProps(props, focusProps)}\n data-focus={isFocused || undefined}\n data-focus-visible={isFocusVisible || undefined}\n tabIndex={0}\n >\n {/* Always render them in this order/layout to protect consumers */}\n <Stack direction=\"column\" gap=\"200\">\n {headerNode}\n {contentNode}\n </Stack>\n\n {/* Render all consumer sub-components, including our own */}\n {children}\n </CardRootSlot>\n </CardContext.Provider>\n );\n }\n);\n\nCardRoot.displayName = \"Card.Root\";\n","import { useContext, useEffect } from \"react\";\nimport {\n CardHeader as CardHeaderSlot,\n type CardHeaderProps,\n} from \"../card.slots\";\nimport { CardContext } from \"./card.root\";\n\nexport const CardHeader = ({ children, ...props }: CardHeaderProps) => {\n const context = useContext(CardContext);\n\n useEffect(() => {\n if (context) {\n const slotElement = (\n <CardHeaderSlot {...props}>{children}</CardHeaderSlot>\n );\n // Register it with the parent\n context.setHeader(slotElement);\n\n // On unmount, remove it\n return () => context.setHeader(null);\n }\n }, [children, props]);\n\n return null;\n};\nCardHeader.displayName = \"Card.Header\";\n","import { useContext, useEffect } from \"react\";\nimport {\n CardContent as CardContentSlot,\n type CardContentProps,\n} from \"../card.slots\";\nimport { CardContext } from \"./card.root\";\n\nexport const CardContent = ({ children, ...props }: CardContentProps) => {\n const context = useContext(CardContext);\n\n useEffect(() => {\n if (context) {\n const slotElement = (\n <CardContentSlot {...props}>{children}</CardContentSlot>\n );\n // Register it with the parent\n context.setContent(slotElement);\n\n // On unmount, remove it\n return () => context.setContent(null);\n }\n }, [children, props]);\n\n return null;\n};\n\nCardContent.displayName = \"Card.Content\";\n","import { CardRoot } from \"./components/card.root\";\nimport { CardHeader } from \"./components/card.header\";\nimport { CardContent } from \"./components/card.content\";\n\nexport { CardRoot, CardHeader, CardContent };\n\nexport const Card = {\n Root: CardRoot,\n Header: CardHeader,\n Content: CardContent,\n};\n","import { defineRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the Badge component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const badgeRecipe = defineRecipe({\n className: \"nimbus-badge\",\n\n // Base styles applied to all instances of the component\n base: {\n display: \"inline-flex\",\n alignItems: \"center\",\n borderRadius: \"200\",\n justifyContent: \"center\",\n whiteSpace: \"nowrap\",\n verticalAlign: \"middle\",\n py: \"25\",\n fontWeight: \"500\",\n backgroundColor: \"colorPalette.3\",\n color: \"colorPalette.11\",\n w: \"auto\",\n userSelect: \"none\",\n _icon: {\n flexShrink: \"0\",\n },\n },\n\n // Available variants for customizing the component's appearance\n variants: {\n size: {\n \"2xs\": {\n fontSize: \"300\",\n gap: \"100\",\n h: \"600\",\n lineHeight: \"350\",\n px: \"200\",\n _icon: {\n width: \"400\",\n height: \"400\",\n },\n },\n xs: {\n fontSize: \"350\",\n gap: \"100\",\n h: \"800\",\n lineHeight: \"400\",\n px: \"300\",\n _icon: {\n width: \"500\",\n height: \"500\",\n },\n },\n md: {\n fontSize: \"400\",\n gap: \"200\",\n h: \"1000\",\n lineHeight: \"500\",\n px: \"400\",\n _icon: {\n width: \"600\",\n height: \"600\",\n },\n },\n },\n },\n\n // Default variant values when not explicitly specified\n defaultVariants: {\n size: \"md\",\n },\n});\n","import { createRecipeContext } from \"@chakra-ui/react\";\n\nimport { badgeRecipe } from \"./badge.recipe\";\nimport type { BadgeRootProps } from \"./badge.types\";\n\nconst { withContext } = createRecipeContext({ recipe: badgeRecipe });\n\nexport const BadgeRoot = withContext<HTMLSpanElement, BadgeRootProps>(\"span\");\n","import { forwardRef, useRef } from \"react\";\nimport { BadgeRoot } from \"./badge.slots\";\nimport type { BadgeProps } from \"./badge.types\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport { useObjectRef, mergeProps } from \"react-aria\";\n/**\n * Badge\n * ============================================================\n * badge\n *\n * Features:\n *\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLSpanElement' attributes (including aria- & data-attributes)\n * - supports 'variants', 'sizes', etc. configured in the recipe\n * - allows overriding styles by using style-props\n * - supports 'asChild' and 'as' to modify the underlying html-element (polymorphic)\n */\n\nexport const Badge = forwardRef<HTMLSpanElement, BadgeProps>(\n (props, forwardedRef) => {\n const { as, asChild, children, ...rest } = props;\n\n const localRef = useRef<HTMLSpanElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n const elementType = as || \"span\";\n\n return (\n <BadgeRoot as={elementType} {...mergeProps(rest, { ref })}>\n {children}\n </BadgeRoot>\n );\n }\n);\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the Alert component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const alertRecipe = defineSlotRecipe({\n slots: [\"root\", \"title\", \"description\", \"icon\", \"actions\", \"dismissButton\"],\n // Unique class name prefix for the component\n className: \"nimbus-alert\",\n\n // Base styles applied to all instances of the component\n base: {\n root: {\n display: \"inline-flex\",\n flexDirection: \"row\",\n gap: \"200\",\n width: \"100%\",\n },\n icon: {\n marginTop: \"50\",\n \"& svg\": {\n width: \"500\",\n height: \"500\",\n color: \"colorPalette.11\",\n },\n },\n title: {\n color: \"colorPalette.11\",\n },\n description: {\n color: \"colorPalette.11\",\n },\n },\n\n variants: {\n tone: {\n critical: {\n root: { colorPalette: \"critical\" },\n },\n info: {\n root: { colorPalette: \"info\" },\n },\n warning: {\n root: { colorPalette: \"amber\" },\n },\n positive: {\n root: { colorPalette: \"positive\" },\n },\n },\n\n variant: {\n flat: {},\n outlined: {\n root: {\n border: \"solid-25\",\n borderColor: \"colorPalette.5\",\n backgroundColor: \"colorPalette.2\",\n padding: \"200\",\n borderRadius: \"200\",\n },\n },\n },\n },\n});\n","import { createSlotRecipeContext } from \"@chakra-ui/react\";\nimport { alertRecipe } from \"./alert.recipe\";\nimport type {\n AlertActionsProps,\n AlertDescriptionProps,\n AlertDismissButtonProps,\n AlertIconProps,\n AlertRootProps,\n AlertTitleProps,\n} from \"./alert.types\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: alertRecipe,\n});\n\nexport const AlertRoot = withProvider<HTMLDivElement, AlertRootProps>(\n \"div\",\n \"root\"\n);\n\nexport const AlertTitle = withContext<HTMLDivElement, AlertTitleProps>(\n \"div\",\n \"title\"\n);\n\nexport const AlertDescription = withContext<\n HTMLDivElement,\n AlertDescriptionProps\n>(\"div\", \"description\");\n\nexport const AlertIcon = withContext<HTMLDivElement, AlertIconProps>(\n \"div\",\n \"icon\"\n);\n\nexport const AlertActions = withContext<HTMLDivElement, AlertActionsProps>(\n \"div\",\n \"actions\"\n);\n\n// This is a div wrapper for layout placement - note that we expect it to receive `IconButton` props, but we use a `div`.\n// We then forward the consumer props to the interior `IconButton` component.\nexport const AlertDismissButton = withContext<\n HTMLDivElement,\n AlertDismissButtonProps\n>(\"div\", \"dismissButton\");\n","import {\n createContext,\n forwardRef,\n useMemo,\n useState,\n type ReactNode,\n} from \"react\";\nimport { AlertRoot as AlertRootSlot, AlertIcon } from \"../alert.slots\";\nimport type { AlertProps, AlertRootComponent } from \"../alert.types\";\nimport { Box } from \"../../box\";\nimport { Stack } from \"../../stack\";\nimport {\n CheckCircleOutline,\n ErrorOutline,\n Info,\n WarningAmber,\n} from \"@commercetools/nimbus-icons\";\n\nconst getIconFromTone = (tone: AlertProps[\"tone\"]) => {\n switch (tone) {\n case \"critical\":\n return <ErrorOutline />;\n case \"info\":\n return <Info />;\n case \"warning\":\n return <WarningAmber />;\n case \"positive\":\n return <CheckCircleOutline />;\n default:\n return null;\n }\n};\n\ntype AlertContextValue = {\n setTitle: (title: ReactNode) => void;\n setDescription: (description: ReactNode) => void;\n setActions: (actions: ReactNode) => void;\n setDismiss: (dismiss: ReactNode) => void;\n};\n\nexport const AlertContext = createContext<AlertContextValue | undefined>(\n undefined\n);\n\n/**\n * Alert\n * ============================================================\n * Provides feedback to the user about the status of an action or system event\n */\nexport const AlertRoot: AlertRootComponent = forwardRef<\n HTMLDivElement,\n AlertProps\n>(({ children, ...props }, ref) => {\n const [titleNode, setTitle] = useState<ReactNode>(null);\n const [descriptionNode, setDescription] = useState<ReactNode>(null);\n const [actionsNode, setActions] = useState<ReactNode>(null);\n const [dismissNode, setDismiss] = useState<ReactNode>(null);\n\n // Memoize the context value so we don't cause unnecessary re-renders\n const contextValue = useMemo(\n () => ({\n setTitle,\n setDescription,\n setActions,\n setDismiss,\n }),\n [setTitle, setDescription, setActions, setDismiss]\n );\n\n return (\n <AlertContext.Provider value={contextValue}>\n <AlertRootSlot ref={ref} {...props} role=\"alert\">\n <AlertIcon alignItems=\"flex-start\">\n {getIconFromTone(props.tone)}\n </AlertIcon>\n <Stack flex=\"1\" gap=\"200\">\n <Box>\n {titleNode}\n {descriptionNode}\n </Box>\n {actionsNode}\n </Stack>\n {dismissNode}\n\n {children}\n </AlertRootSlot>\n </AlertContext.Provider>\n );\n});\n\nAlertRoot.displayName = \"Alert.Root\";\n","import { useContext, useEffect } from \"react\";\nimport { AlertTitle as AlertTitleSlot } from \"../alert.slots\";\nimport type { AlertTitleProps } from \"../alert.types\";\nimport { AlertContext } from \"./alert.root\";\n\nexport const AlertTitle = ({ children, ...props }: AlertTitleProps) => {\n const context = useContext(AlertContext);\n\n useEffect(() => {\n if (context) {\n const slotElement = (\n <AlertTitleSlot {...props} fontWeight=\"600\">\n {children}\n </AlertTitleSlot>\n );\n // Register it with the parent\n context.setTitle(slotElement);\n\n // On unmount, remove it\n return () => context.setTitle(null);\n }\n }, [children, props]);\n\n return null;\n};\n\nAlertTitle.displayName = \"Alert.Title\";\n","import { useContext, useEffect } from \"react\";\nimport { AlertDescription as AlertDescriptionSlot } from \"../alert.slots\";\nimport type { AlertDescriptionProps } from \"../alert.types\";\nimport { AlertContext } from \"./alert.root\";\n\nexport const AlertDescription = ({\n children,\n ...props\n}: AlertDescriptionProps) => {\n const context = useContext(AlertContext);\n\n useEffect(() => {\n if (context) {\n const slotElement = (\n <AlertDescriptionSlot {...props}>{children}</AlertDescriptionSlot>\n );\n // Register it with the parent\n context.setDescription(slotElement);\n\n // On unmount, remove it\n return () => context.setDescription(null);\n }\n }, [children, props]);\n\n return null;\n};\n\nAlertDescription.displayName = \"Alert.Description\";\n","import { useContext, useEffect } from \"react\";\nimport { AlertActions as AlertActionsSlot } from \"../alert.slots\";\nimport type { AlertActionsProps } from \"../alert.types\";\nimport { AlertContext } from \"./alert.root\";\n\nexport const AlertActions = ({ children, ...props }: AlertActionsProps) => {\n const context = useContext(AlertContext);\n\n useEffect(() => {\n if (context) {\n const slotElement = (\n <AlertActionsSlot {...props}>{children}</AlertActionsSlot>\n );\n // Register it with the parent\n context.setActions(slotElement);\n\n // On unmount, remove it\n return () => context.setActions(null);\n }\n }, [children, props]);\n\n return null;\n};\n\nAlertActions.displayName = \"Alert.Actions\";\n","import { useContext, useEffect } from \"react\";\nimport { AlertDismissButton as AlertDismissButtonSlot } from \"../alert.slots\";\nimport type { AlertDismissButtonProps } from \"../alert.types\";\nimport { Clear } from \"@commercetools/nimbus-icons\";\nimport { IconButton } from \"../../icon-button\";\nimport { AlertContext } from \"./alert.root\";\n\nexport const AlertDismissButton = ({\n children,\n ...props\n}: AlertDismissButtonProps) => {\n const context = useContext(AlertContext);\n\n useEffect(() => {\n if (context) {\n const slotElement = (\n <AlertDismissButtonSlot>\n <IconButton\n aria-label=\"Dismiss\"\n {...props}\n variant=\"ghost\"\n size=\"2xs\"\n >\n <Clear role=\"img\" />\n </IconButton>\n </AlertDismissButtonSlot>\n );\n // Register it with the parent\n context.setDismiss(slotElement);\n\n // On unmount, remove it\n return () => context.setDismiss(null);\n }\n }, [children, props]);\n\n return null;\n};\n\nAlertDismissButton.displayName = \"Alert.DismissButton\";\n","import { AlertTitle } from \"./components/alert.title\";\nimport { AlertDescription } from \"./components/alert.description\";\nimport { AlertActions } from \"./components/alert.actions\";\nimport { AlertDismissButton } from \"./components/alert.dismiss-button\";\nimport { AlertRoot } from \"./components/alert.root\";\n\n/**\n * Alert\n * ============================================================\n * Provides feedback to the user about the status of an action or system event\n */\nexport const Alert = {\n Root: AlertRoot,\n Title: AlertTitle,\n Description: AlertDescription,\n Actions: AlertActions,\n DismissButton: AlertDismissButton,\n};\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { buttonRecipe } from \"../button/button.recipe\";\n\n/**\n * Recipe configuration for the ToggleButtonGroup component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const buttonGroupRecipe = defineSlotRecipe({\n slots: [\"root\", \"button\"],\n // Unique class name prefix for the component\n className: \"nimbus-toggle-button-group\",\n\n // Base styles applied to all instances of the component\n base: {\n root: {\n display: \"inline-flex\",\n },\n button: {\n // Base style is the same as our Button\n ...buttonRecipe.base,\n // Default style is outlined\n ...buttonRecipe.variants?.variant.outline,\n // Create overrides for custom ToggleButtonGroup styles\n borderRadius: \"0\",\n borderRightWidth: \"0\",\n \"&:first-of-type\": {\n borderLeftRadius: \"200\",\n },\n \"&:last-of-type\": {\n borderRightWidth: \"1px\",\n borderRightRadius: \"200\",\n },\n // When selected, the button is styled like a solid button\n \"&[data-selected=true]\": buttonRecipe.variants?.variant.solid,\n },\n },\n\n variants: {\n size: {\n xs: {\n button: buttonRecipe.variants?.size.xs,\n },\n md: {\n button: buttonRecipe.variants?.size.md,\n },\n },\n\n tone: {\n primary: {\n button: { colorPalette: \"primary\" },\n },\n critical: {\n button: { colorPalette: \"critical\" },\n },\n neutral: {\n button: { colorPalette: \"neutral\" },\n },\n },\n },\n\n defaultVariants: {\n size: \"md\",\n },\n});\n","import { createSlotRecipeContext } from \"@chakra-ui/react\";\nimport { buttonGroupRecipe } from \"./toggle-button-group.recipe\";\nimport type {\n ToggleButtonGroupButtonProps,\n ToggleButtonGroupProps,\n ToggleButtonGroupButtonComponent,\n} from \"./toggle-button-group.types\";\nimport {\n ToggleButton as RacToggleButton,\n ToggleButtonGroup as RacToggleButtonGroup,\n} from \"react-aria-components\";\n\nconst { withContext, withProvider } = createSlotRecipeContext({\n recipe: buttonGroupRecipe,\n});\n\nexport const ToggleButtonGroupRoot = withProvider<\n typeof RacToggleButtonGroup,\n ToggleButtonGroupProps\n>(RacToggleButtonGroup, \"root\");\n\nexport const ToggleButtonGroupButton: ToggleButtonGroupButtonComponent =\n withContext<typeof RacToggleButton, ToggleButtonGroupButtonProps>(\n RacToggleButton,\n \"button\"\n );\n","import { forwardRef } from \"react\";\nimport { ToggleButtonGroupRoot as ToggleButtonGroupRootSlot } from \"../toggle-button-group.slots\";\nimport type { ToggleButtonGroupRootComponent } from \"../toggle-button-group.types\";\n\nexport const ToggleButtonGroupRoot: ToggleButtonGroupRootComponent = forwardRef(\n ({ children, ...rest }, ref) => {\n return (\n <ToggleButtonGroupRootSlot ref={ref} {...rest}>\n {children}\n </ToggleButtonGroupRootSlot>\n );\n }\n);\n\nToggleButtonGroupRoot.displayName = \"ToggleButtonGroup.Root\";\n","import { forwardRef } from \"react\";\nimport { ToggleButtonGroupButton as ToggleButtonGroupButtonSlot } from \"../toggle-button-group.slots\";\nimport type { ToggleButtonGroupButtonComponent } from \"../toggle-button-group.types\";\n\nexport const ToggleButtonGroupButton: ToggleButtonGroupButtonComponent =\n forwardRef(({ children, ...rest }, ref) => {\n return (\n <ToggleButtonGroupButtonSlot {...rest} ref={ref}>\n {children}\n </ToggleButtonGroupButtonSlot>\n );\n });\n\nToggleButtonGroupButton.displayName = \"ToggleButtonGroup.Button\";\n","import { ToggleButtonGroupRoot } from \"./components/toggle-button-group.root\";\nimport { ToggleButtonGroupButton } from \"./components/toggle-button-group.button\";\n\nexport { ToggleButtonGroupRoot, ToggleButtonGroupButton };\n\n/**\n * ToggleButtonGroup\n * ============================================================\n * To group multiple `Button` components together, visually and logically, representing a set of related actions.\n */\nexport const ToggleButtonGroup = {\n Root: ToggleButtonGroupRoot,\n Button: ToggleButtonGroupButton,\n};\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\n\nconst columnLayout = `\n\"label\"\n\"input\"\n\"description\"\n\"error\"\n`;\nconst rowLayout = `\n\"label input\"\n\"label description\"\n\"label error\"\n`;\n\n/**\n * Recipe configuration for the FormField component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const formFieldRecipe = defineSlotRecipe({\n slots: [\"root\", \"label\", \"input\", \"description\", \"error\", \"popover\"],\n // Unique class name prefix for the component\n className: \"nimbus-ui-form-field\",\n\n base: {\n root: {\n \"--grid-gap\": \"spacing.100\",\n\n display: \"grid\",\n width: \"auto\",\n },\n label: {\n gridArea: \"label\",\n fontWeight: \"500\",\n color: \"neutral.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n input: {\n gridArea: \"input\",\n },\n description: {\n gridArea: \"description\",\n color: \"neutral.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n error: {\n gridArea: \"error\",\n color: \"critical.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n popover: {\n \"--scrollbar-color\": \"colors.neutral.8\",\n \"--scrollbar-bg\": \"colors.neutral.3\",\n bg: \"neutral.1\",\n maxWidth: \"xl\",\n borderRadius: \"200\",\n boxShadow: \"6\",\n border: \"solid-25\",\n borderColor: \"neutral.8\",\n maxHeight: \"40svh\",\n overflow: \"auto\",\n scrollbarWidth: \"thin\",\n scrollbarColor: \"var(--scrollbar-color) var(--scrollbar-bg)\",\n focusRing: \"outside\",\n },\n },\n\n variants: {\n size: {\n md: {\n root: {\n \"--form-field-font-size\": \"fontSizes.350\",\n \"--form-field-line-height\": \"lineHeights.500\",\n },\n },\n sm: {\n root: {\n \"--form-field-font-size\": \"fontSizes.300\",\n \"--form-field-line-height\": \"lineHeights.450\",\n },\n },\n },\n direction: {\n column: {\n root: {\n gridTemplateAreas: columnLayout,\n },\n input: {\n mt: \"var(--grid-gap)\",\n },\n description: {\n mt: \"var(--grid-gap)\",\n },\n error: {\n mt: \"var(--grid-gap)\",\n },\n },\n row: {\n root: {\n gridTemplateAreas: rowLayout,\n gridTemplateColumns: \"auto 1fr\",\n gridColumnGap: \"200\",\n },\n description: {\n mt: \"var(--grid-gap)\",\n },\n error: {\n mt: \"var(--grid-gap)\",\n },\n },\n },\n },\n\n // Default variant values when not explicitly specified\n defaultVariants: {\n direction: \"column\",\n size: \"md\",\n },\n});\n","/* eslint-disable @typescript-eslint/no-empty-object-type */\nimport {\n type HTMLChakraProps,\n type RecipeVariantProps,\n type UnstyledProp,\n createSlotRecipeContext,\n} from \"@chakra-ui/react\";\n\nimport { formFieldRecipe } from \"./form-field.recipe\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: formFieldRecipe,\n});\n\n// Root slot\nexport interface FormFieldRootSlotProps\n extends HTMLChakraProps<\n \"div\",\n RecipeVariantProps<typeof formFieldRecipe> & UnstyledProp\n > {}\n\nexport const FormFieldRootSlot = withProvider<\n HTMLDivElement,\n FormFieldRootSlotProps\n>(\"div\", \"root\");\n\n// Label Slot\nexport interface FormFieldLabelSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldLabelSlot = withContext<\n HTMLDivElement,\n FormFieldLabelSlotProps\n>(\"div\", \"label\");\n\n// Input Slot\nexport interface FormFieldInputSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldInputSlot = withContext<\n HTMLDivElement,\n FormFieldInputSlotProps\n>(\"div\", \"input\");\n\n// Description Slot\nexport interface FormFieldDescriptionSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldDescriptionSlot = withContext<\n HTMLDivElement,\n FormFieldDescriptionSlotProps\n>(\"div\", \"description\");\n\n// Error Slot\nexport interface FormFieldErrorSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldErrorSlot = withContext<\n HTMLDivElement,\n FormFieldErrorSlotProps\n>(\"div\", \"error\");\n\n// Error Slot\nexport interface FormFieldPopoverSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldPopoverSlot = withContext<\n HTMLDivElement,\n FormFieldPopoverSlotProps\n>(\"div\", \"popover\");\n","import {\n Children,\n cloneElement,\n forwardRef,\n isValidElement,\n useEffect,\n useState,\n} from \"react\";\nimport type { FormFieldProps } from \"../form-field.types\";\nimport { useField } from \"react-aria\";\nimport {\n FormFieldContext,\n type FormFieldContextPayloadType,\n} from \"../form-field\";\nimport {\n FormFieldDescriptionSlot,\n FormFieldErrorSlot,\n FormFieldInputSlot,\n FormFieldLabelSlot,\n FormFieldPopoverSlot,\n FormFieldRootSlot,\n} from \"../form-field.slots\";\nimport { Dialog, DialogTrigger, Popover } from \"react-aria-components\";\nimport { Box, IconButton } from \"@/components\";\nimport { ErrorOutline, HelpOutline } from \"@commercetools/nimbus-icons\";\n\n/**\n * FormField\n * ============================================================\n * displays inputs in a FormField context\n */\nexport const FormFieldRoot = forwardRef<HTMLDivElement, FormFieldProps>(\n (\n { isInvalid, isRequired, isDisabled, isReadOnly, children, ...props },\n ref\n ) => {\n const [context, setContext] = useState<FormFieldContextPayloadType>({\n label: null,\n description: null,\n error: null,\n info: null,\n input: null,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n });\n\n const { labelProps, fieldProps, descriptionProps, errorMessageProps } =\n useField({\n label: context.label,\n description: context.description,\n errorMessage: context.error,\n });\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n }));\n }, [isInvalid, isRequired, isDisabled, isReadOnly]);\n\n const inputProps = {\n ...fieldProps,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n };\n\n return (\n <FormFieldContext.Provider value={{ context, setContext }}>\n <FormFieldRootSlot ref={ref} {...props}>\n {context.label && (\n <FormFieldLabelSlot {...context.labelSlotProps}>\n <label {...labelProps}>\n {context.label}\n {isRequired && <sup aria-hidden=\"true\">*</sup>}\n </label>\n {context.info && (\n <DialogTrigger>\n <Box\n as=\"span\"\n display=\"inline-block\"\n position=\"relative\"\n width=\"1ch\"\n height=\"1ch\"\n ml=\"200\"\n >\n <Box\n as=\"span\"\n display=\"inline-flex\"\n position=\"absolute\"\n top=\"50%\"\n right=\"50%\"\n transform=\"translate(50%, -50%)\"\n >\n <IconButton\n aria-label=\"__MORE INFO\"\n size=\"2xs\"\n tone=\"info\"\n variant=\"link\"\n >\n <HelpOutline />\n </IconButton>\n </Box>\n </Box>\n <Popover>\n <FormFieldPopoverSlot asChild>\n <Dialog>\n <Box p=\"300\">{context.info}</Box>\n </Dialog>\n </FormFieldPopoverSlot>\n </Popover>\n </DialogTrigger>\n )}\n </FormFieldLabelSlot>\n )}\n {context.input && (\n <FormFieldInputSlot {...context.inputSlotProps}>\n {Children.map(context.input, (child) => {\n // Important: Check if the child is a valid React element before cloning.\n if (isValidElement(child)) {\n return cloneElement(child, inputProps);\n }\n // If it's not a valid element (e.g., text node, null, undefined), return it as is.\n return child;\n })}\n </FormFieldInputSlot>\n )}\n {context.description && (\n <FormFieldDescriptionSlot\n {...descriptionProps}\n {...context.descriptionSlotProps}\n >\n {context.description}\n </FormFieldDescriptionSlot>\n )}\n {isInvalid && context.error && (\n <FormFieldErrorSlot\n {...errorMessageProps}\n {...context.errorSlotProps}\n >\n <Box\n as={ErrorOutline}\n display=\"inline-flex\"\n boxSize=\"400\"\n verticalAlign=\"text-bottom\"\n mr=\"100\"\n />\n {context.error}\n </FormFieldErrorSlot>\n )}\n {children}\n </FormFieldRootSlot>\n </FormFieldContext.Provider>\n );\n }\n);\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"../form-field\";\nimport type { FormFieldLabelSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldLabel = ({\n children,\n ...labelSlotProps\n}: FormFieldLabelSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n label: children,\n labelSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"../form-field\";\nimport type { FormFieldInputSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldInput = ({\n children,\n ...inputSlotProps\n}: FormFieldInputSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n input: children,\n inputSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"../form-field\";\nimport type { FormFieldDescriptionSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldDescription = ({\n children,\n ...descriptionSlotProps\n}: FormFieldDescriptionSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n description: children,\n descriptionSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"../form-field\";\nimport type { FormFieldErrorSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldError = ({\n children,\n ...errorSlotProps\n}: FormFieldErrorSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n error: children,\n errorSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect, type ReactNode } from \"react\";\nimport { FormFieldContext } from \"../form-field\";\n\nexport const FormFieldInfoBox = ({ children }: { children: ReactNode }) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n info: children,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { createContext, type ReactNode } from \"react\";\nimport { FormFieldRoot } from \"./components/form-field.root\";\nimport { FormFieldLabel } from \"./components/form-field.label\";\nimport { FormFieldInput } from \"./components/form-field.input\";\nimport { FormFieldDescription } from \"./components/form-field.description\";\nimport { FormFieldError } from \"./components/form-field.error\";\nimport { FormFieldInfoBox } from \"./components/form-field.info-box\";\nimport type {\n FormFieldDescriptionSlotProps,\n FormFieldErrorSlotProps,\n FormFieldInputSlotProps,\n FormFieldLabelSlotProps,\n} from \"./form-field.slots\";\n\nexport type FormFieldContextPayloadType = {\n label: ReactNode;\n labelSlotProps?: FormFieldLabelSlotProps;\n input: ReactNode;\n inputSlotProps?: FormFieldInputSlotProps;\n description: ReactNode;\n descriptionSlotProps?: FormFieldDescriptionSlotProps;\n error: ReactNode;\n errorSlotProps?: FormFieldErrorSlotProps;\n info: ReactNode;\n isInvalid?: boolean;\n isRequired?: boolean;\n isDisabled?: boolean;\n isReadOnly?: boolean;\n};\n\nexport type FormFieldContextType = {\n context: FormFieldContextPayloadType;\n setContext: React.Dispatch<React.SetStateAction<FormFieldContextPayloadType>>;\n};\n\nexport const FormFieldContext = createContext<FormFieldContextType>({\n context: {\n label: null,\n description: null,\n error: null,\n info: null,\n input: null,\n },\n setContext: () => {},\n});\n\nexport const FormField = {\n Root: FormFieldRoot,\n Label: FormFieldLabel,\n Input: FormFieldInput,\n Description: FormFieldDescription,\n Error: FormFieldError,\n InfoBox: FormFieldInfoBox,\n};\n","import { createSlotRecipeContext } from \"@chakra-ui/react\";\nimport {\n TagGroup as RaTagGroup,\n TagList as RaTagList,\n Tag as RaTag,\n} from \"react-aria-components\";\n\nimport type {\n TagGroupProps,\n TagGroupTagListComponent,\n TagGroupTagListProps,\n TagGroupTagComponent,\n TagGroupTagProps,\n} from \"./tag-group.types\";\n\nconst { withContext, withProvider } = createSlotRecipeContext({\n key: \"taggroup\",\n});\n\nexport const TagGroupRootSlot = withProvider<typeof RaTagGroup, TagGroupProps>(\n RaTagGroup,\n \"root\"\n);\n\nexport const TagGroupTagListSlot: TagGroupTagListComponent<object> =\n withContext<typeof RaTagList, TagGroupTagListProps<object>>(\n RaTagList,\n \"tagList\"\n );\n\nexport const TagGroupTagSlot: TagGroupTagComponent = withContext<\n typeof RaTag,\n TagGroupTagProps\n>(RaTag, \"tag\");\n","import { forwardRef } from \"react\";\nimport { TagGroupRootSlot } from \"../tag-group.slots\";\nimport type { TagGroupRootComponent } from \"../tag-group.types\";\n\nexport const TagGroupRoot: TagGroupRootComponent = forwardRef(\n ({ children, ...rest }, ref) => (\n <TagGroupRootSlot ref={ref} {...rest}>\n {children}\n </TagGroupRootSlot>\n )\n);\n\nTagGroupRoot.displayName = \"TagGroup.Root\";\n","import { forwardRef } from \"react\";\nimport { TagGroupTagListSlot } from \"../tag-group.slots\";\nimport type { TagGroupTagListComponent } from \"../tag-group.types\";\n\nexport const TagGroupTagList: TagGroupTagListComponent<object> = forwardRef(\n ({ children, ...rest }, ref) => {\n return (\n <TagGroupTagListSlot ref={ref} {...rest}>\n {children}\n </TagGroupTagListSlot>\n );\n }\n);\n\nTagGroupTagList.displayName = \"TagGroup.TagList\";\n","import { forwardRef, useRef } from \"react\";\nimport { Close as CloseIcon } from \"@commercetools/nimbus-icons\";\nimport { TagGroupTagSlot } from \"../tag-group.slots\";\nimport { ButtonContext, useContextProps, Button } from \"react-aria-components\";\n\nimport type { TagGroupTagComponent } from \"../tag-group.types\";\nimport { IconButton } from \"@/components\";\n\nexport const TagGroupTag: TagGroupTagComponent = forwardRef(\n ({ children, ...rest }, ref) => {\n const textValue = typeof children === \"string\" ? children : undefined;\n return (\n <TagGroupTagSlot ref={ref} textValue={textValue} {...rest}>\n {({ allowsRemoving }) => (\n <>\n {children}\n {allowsRemoving && (\n <IconButton size=\"2xs\" variant=\"ghost\" slot=\"remove\">\n <CloseIcon />\n </IconButton>\n )}\n </>\n )}\n </TagGroupTagSlot>\n );\n }\n);\n\nTagGroupTag.displayName = \"TagGroup.Tag\";\n","import { TagGroupRoot } from \"./components/tag-group.root\";\nimport { TagGroupTagList } from \"./components/tag-group.tag-list\";\nimport { TagGroupTag } from \"./components/tag-group.tag\";\n\n/**\n * TagGroup\n * ============================================================\n * A tag group is a focusable list of labels, categories, keywords, filters, or other items, with support for keyboard navigation, selection, and removal.\n *\n */\nexport const TagGroup = {\n Root: TagGroupRoot,\n TagList: TagGroupTagList,\n Tag: TagGroupTag,\n};\n","import { useContext, createContext, useState, useCallback, useRef, useLayoutEffect, useEffect } from 'react';\nimport { jsx } from 'react/jsx-runtime';\n\nfunction _extends() {\n return _extends = Object.assign ? Object.assign.bind() : function (n) {\n for (var e = 1; e < arguments.length; e++) {\n var t = arguments[e];\n for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n }\n return n;\n }, _extends.apply(null, arguments);\n}\n\nvar reservedModifierKeywords = ['shift', 'alt', 'meta', 'mod', 'ctrl'];\nvar mappedKeys = {\n esc: 'escape',\n \"return\": 'enter',\n '.': 'period',\n ',': 'comma',\n '-': 'slash',\n ' ': 'space',\n '`': 'backquote',\n '#': 'backslash',\n '+': 'bracketright',\n ShiftLeft: 'shift',\n ShiftRight: 'shift',\n AltLeft: 'alt',\n AltRight: 'alt',\n MetaLeft: 'meta',\n MetaRight: 'meta',\n OSLeft: 'meta',\n OSRight: 'meta',\n ControlLeft: 'ctrl',\n ControlRight: 'ctrl'\n};\nfunction mapKey(key) {\n return (key && mappedKeys[key] || key || '').trim().toLowerCase().replace(/key|digit|numpad|arrow/, '');\n}\nfunction isHotkeyModifier(key) {\n return reservedModifierKeywords.includes(key);\n}\nfunction parseKeysHookInput(keys, splitKey) {\n if (splitKey === void 0) {\n splitKey = ',';\n }\n return keys.split(splitKey);\n}\nfunction parseHotkey(hotkey, combinationKey, description) {\n if (combinationKey === void 0) {\n combinationKey = '+';\n }\n var keys = hotkey.toLocaleLowerCase().split(combinationKey).map(function (k) {\n return mapKey(k);\n });\n var modifiers = {\n alt: keys.includes('alt'),\n ctrl: keys.includes('ctrl') || keys.includes('control'),\n shift: keys.includes('shift'),\n meta: keys.includes('meta'),\n mod: keys.includes('mod')\n };\n var singleCharKeys = keys.filter(function (k) {\n return !reservedModifierKeywords.includes(k);\n });\n return _extends({}, modifiers, {\n keys: singleCharKeys,\n description: description,\n hotkey: hotkey\n });\n}\n\n(function () {\n if (typeof document !== 'undefined') {\n document.addEventListener('keydown', function (e) {\n if (e.key === undefined) {\n // Synthetic event (e.g., Chrome autofill). Ignore.\n return;\n }\n pushToCurrentlyPressedKeys([mapKey(e.key), mapKey(e.code)]);\n });\n document.addEventListener('keyup', function (e) {\n if (e.key === undefined) {\n // Synthetic event (e.g., Chrome autofill). Ignore.\n return;\n }\n removeFromCurrentlyPressedKeys([mapKey(e.key), mapKey(e.code)]);\n });\n }\n if (typeof window !== 'undefined') {\n window.addEventListener('blur', function () {\n currentlyPressedKeys.clear();\n });\n }\n})();\nvar currentlyPressedKeys = /*#__PURE__*/new Set();\n// https://github.com/microsoft/TypeScript/issues/17002\nfunction isReadonlyArray(value) {\n return Array.isArray(value);\n}\nfunction isHotkeyPressed(key, splitKey) {\n if (splitKey === void 0) {\n splitKey = ',';\n }\n var hotkeyArray = isReadonlyArray(key) ? key : key.split(splitKey);\n return hotkeyArray.every(function (hotkey) {\n return currentlyPressedKeys.has(hotkey.trim().toLowerCase());\n });\n}\nfunction pushToCurrentlyPressedKeys(key) {\n var hotkeyArray = Array.isArray(key) ? key : [key];\n /*\r\n Due to a weird behavior on macOS we need to clear the set if the user pressed down the meta key and presses another key.\r\n https://stackoverflow.com/questions/11818637/why-does-javascript-drop-keyup-events-when-the-metakey-is-pressed-on-mac-browser\r\n Otherwise the set will hold all ever pressed keys while the meta key is down which leads to wrong results.\r\n */\n if (currentlyPressedKeys.has('meta')) {\n currentlyPressedKeys.forEach(function (key) {\n return !isHotkeyModifier(key) && currentlyPressedKeys[\"delete\"](key.toLowerCase());\n });\n }\n hotkeyArray.forEach(function (hotkey) {\n return currentlyPressedKeys.add(hotkey.toLowerCase());\n });\n}\nfunction removeFromCurrentlyPressedKeys(key) {\n var hotkeyArray = Array.isArray(key) ? key : [key];\n /*\r\n Due to a weird behavior on macOS we need to clear the set if the user pressed down the meta key and presses another key.\r\n https://stackoverflow.com/questions/11818637/why-does-javascript-drop-keyup-events-when-the-metakey-is-pressed-on-mac-browser\r\n Otherwise the set will hold all ever pressed keys while the meta key is down which leads to wrong results.\r\n */\n if (key === 'meta') {\n currentlyPressedKeys.clear();\n } else {\n hotkeyArray.forEach(function (hotkey) {\n return currentlyPressedKeys[\"delete\"](hotkey.toLowerCase());\n });\n }\n}\n\nfunction maybePreventDefault(e, hotkey, preventDefault) {\n if (typeof preventDefault === 'function' && preventDefault(e, hotkey) || preventDefault === true) {\n e.preventDefault();\n }\n}\nfunction isHotkeyEnabled(e, hotkey, enabled) {\n if (typeof enabled === 'function') {\n return enabled(e, hotkey);\n }\n return enabled === true || enabled === undefined;\n}\nfunction isKeyboardEventTriggeredByInput(ev) {\n return isHotkeyEnabledOnTag(ev, ['input', 'textarea', 'select']);\n}\nfunction isHotkeyEnabledOnTag(event, enabledOnTags) {\n if (enabledOnTags === void 0) {\n enabledOnTags = false;\n }\n var target = event.target,\n composed = event.composed;\n var targetTagName = null;\n if (isCustomElement(target) && composed) {\n targetTagName = event.composedPath()[0] && event.composedPath()[0].tagName;\n } else {\n targetTagName = target && target.tagName;\n }\n if (isReadonlyArray(enabledOnTags)) {\n return Boolean(targetTagName && enabledOnTags && enabledOnTags.some(function (tag) {\n var _targetTagName;\n return tag.toLowerCase() === ((_targetTagName = targetTagName) == null ? void 0 : _targetTagName.toLowerCase());\n }));\n }\n return Boolean(targetTagName && enabledOnTags && enabledOnTags);\n}\nfunction isCustomElement(element) {\n // We just do a basic check w/o any complex RegEx or validation against the list of legacy names containing a hyphen,\n // as none of them is likely to be an event target, and it won't hurt anyway if we miss.\n // see: https://html.spec.whatwg.org/multipage/custom-elements.html#prod-potentialcustomelementname\n return !!element.tagName && !element.tagName.startsWith(\"-\") && element.tagName.includes(\"-\");\n}\nfunction isScopeActive(activeScopes, scopes) {\n if (activeScopes.length === 0 && scopes) {\n console.warn('A hotkey has the \"scopes\" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a <HotkeysProvider>');\n return true;\n }\n if (!scopes) {\n return true;\n }\n return activeScopes.some(function (scope) {\n return scopes.includes(scope);\n }) || activeScopes.includes('*');\n}\nvar isHotkeyMatchingKeyboardEvent = function isHotkeyMatchingKeyboardEvent(e, hotkey, ignoreModifiers) {\n if (ignoreModifiers === void 0) {\n ignoreModifiers = false;\n }\n var alt = hotkey.alt,\n meta = hotkey.meta,\n mod = hotkey.mod,\n shift = hotkey.shift,\n ctrl = hotkey.ctrl,\n keys = hotkey.keys;\n var pressedKeyUppercase = e.key,\n code = e.code,\n ctrlKey = e.ctrlKey,\n metaKey = e.metaKey,\n shiftKey = e.shiftKey,\n altKey = e.altKey;\n var keyCode = mapKey(code);\n var pressedKey = pressedKeyUppercase.toLowerCase();\n if (!(keys != null && keys.includes(keyCode)) && !(keys != null && keys.includes(pressedKey)) && !['ctrl', 'control', 'unknown', 'meta', 'alt', 'shift', 'os'].includes(keyCode)) {\n return false;\n }\n if (!ignoreModifiers) {\n // We check the pressed keys for compatibility with the keyup event. In keyup events the modifier flags are not set.\n if (alt === !altKey && pressedKey !== 'alt') {\n return false;\n }\n if (shift === !shiftKey && pressedKey !== 'shift') {\n return false;\n }\n // Mod is a special key name that is checking for meta on macOS and ctrl on other platforms\n if (mod) {\n if (!metaKey && !ctrlKey) {\n return false;\n }\n } else {\n if (meta === !metaKey && pressedKey !== 'meta' && pressedKey !== 'os') {\n return false;\n }\n if (ctrl === !ctrlKey && pressedKey !== 'ctrl' && pressedKey !== 'control') {\n return false;\n }\n }\n }\n // All modifiers are correct, now check the key\n // If the key is set, we check for the key\n if (keys && keys.length === 1 && (keys.includes(pressedKey) || keys.includes(keyCode))) {\n return true;\n } else if (keys) {\n // Check if all keys are present in pressedDownKeys set\n return isHotkeyPressed(keys);\n } else if (!keys) {\n // If the key is not set, we only listen for modifiers, that check went alright, so we return true\n return true;\n }\n // There is nothing that matches.\n return false;\n};\n\nvar BoundHotkeysProxyProvider = /*#__PURE__*/createContext(undefined);\nvar useBoundHotkeysProxy = function useBoundHotkeysProxy() {\n return useContext(BoundHotkeysProxyProvider);\n};\nfunction BoundHotkeysProxyProviderProvider(_ref) {\n var addHotkey = _ref.addHotkey,\n removeHotkey = _ref.removeHotkey,\n children = _ref.children;\n return /*#__PURE__*/jsx(BoundHotkeysProxyProvider.Provider, {\n value: {\n addHotkey: addHotkey,\n removeHotkey: removeHotkey\n },\n children: children\n });\n}\n\nfunction deepEqual(x, y) {\n //@ts-ignore\n return x && y && typeof x === 'object' && typeof y === 'object' ? Object.keys(x).length === Object.keys(y).length &&\n //@ts-ignore\n Object.keys(x).reduce(function (isEqual, key) {\n return isEqual && deepEqual(x[key], y[key]);\n }, true) : x === y;\n}\n\nvar HotkeysContext = /*#__PURE__*/createContext({\n hotkeys: [],\n enabledScopes: [],\n toggleScope: function toggleScope() {},\n enableScope: function enableScope() {},\n disableScope: function disableScope() {}\n});\nvar useHotkeysContext = function useHotkeysContext() {\n return useContext(HotkeysContext);\n};\nvar HotkeysProvider = function HotkeysProvider(_ref) {\n var _ref$initiallyActiveS = _ref.initiallyActiveScopes,\n initiallyActiveScopes = _ref$initiallyActiveS === void 0 ? ['*'] : _ref$initiallyActiveS,\n children = _ref.children;\n var _useState = useState((initiallyActiveScopes == null ? void 0 : initiallyActiveScopes.length) > 0 ? initiallyActiveScopes : ['*']),\n internalActiveScopes = _useState[0],\n setInternalActiveScopes = _useState[1];\n var _useState2 = useState([]),\n boundHotkeys = _useState2[0],\n setBoundHotkeys = _useState2[1];\n var enableScope = useCallback(function (scope) {\n setInternalActiveScopes(function (prev) {\n if (prev.includes('*')) {\n return [scope];\n }\n return Array.from(new Set([].concat(prev, [scope])));\n });\n }, []);\n var disableScope = useCallback(function (scope) {\n setInternalActiveScopes(function (prev) {\n if (prev.filter(function (s) {\n return s !== scope;\n }).length === 0) {\n return ['*'];\n } else {\n return prev.filter(function (s) {\n return s !== scope;\n });\n }\n });\n }, []);\n var toggleScope = useCallback(function (scope) {\n setInternalActiveScopes(function (prev) {\n if (prev.includes(scope)) {\n if (prev.filter(function (s) {\n return s !== scope;\n }).length === 0) {\n return ['*'];\n } else {\n return prev.filter(function (s) {\n return s !== scope;\n });\n }\n } else {\n if (prev.includes('*')) {\n return [scope];\n }\n return Array.from(new Set([].concat(prev, [scope])));\n }\n });\n }, []);\n var addBoundHotkey = useCallback(function (hotkey) {\n setBoundHotkeys(function (prev) {\n return [].concat(prev, [hotkey]);\n });\n }, []);\n var removeBoundHotkey = useCallback(function (hotkey) {\n setBoundHotkeys(function (prev) {\n return prev.filter(function (h) {\n return !deepEqual(h, hotkey);\n });\n });\n }, []);\n return /*#__PURE__*/jsx(HotkeysContext.Provider, {\n value: {\n enabledScopes: internalActiveScopes,\n hotkeys: boundHotkeys,\n enableScope: enableScope,\n disableScope: disableScope,\n toggleScope: toggleScope\n },\n children: /*#__PURE__*/jsx(BoundHotkeysProxyProviderProvider, {\n addHotkey: addBoundHotkey,\n removeHotkey: removeBoundHotkey,\n children: children\n })\n });\n};\n\nfunction useDeepEqualMemo(value) {\n var ref = useRef(undefined);\n if (!deepEqual(ref.current, value)) {\n ref.current = value;\n }\n return ref.current;\n}\n\nvar stopPropagation = function stopPropagation(e) {\n e.stopPropagation();\n e.preventDefault();\n e.stopImmediatePropagation();\n};\nvar useSafeLayoutEffect = typeof window !== 'undefined' ? useLayoutEffect : useEffect;\nfunction useHotkeys(keys, callback, options, dependencies) {\n var _useState = useState(null),\n ref = _useState[0],\n setRef = _useState[1];\n var hasTriggeredRef = useRef(false);\n var _options = !(options instanceof Array) ? options : !(dependencies instanceof Array) ? dependencies : undefined;\n var _keys = isReadonlyArray(keys) ? keys.join(_options == null ? void 0 : _options.splitKey) : keys;\n var _deps = options instanceof Array ? options : dependencies instanceof Array ? dependencies : undefined;\n var memoisedCB = useCallback(callback, _deps != null ? _deps : []);\n var cbRef = useRef(memoisedCB);\n if (_deps) {\n cbRef.current = memoisedCB;\n } else {\n cbRef.current = callback;\n }\n var memoisedOptions = useDeepEqualMemo(_options);\n var _useHotkeysContext = useHotkeysContext(),\n enabledScopes = _useHotkeysContext.enabledScopes;\n var proxy = useBoundHotkeysProxy();\n useSafeLayoutEffect(function () {\n if ((memoisedOptions == null ? void 0 : memoisedOptions.enabled) === false || !isScopeActive(enabledScopes, memoisedOptions == null ? void 0 : memoisedOptions.scopes)) {\n return;\n }\n var listener = function listener(e, isKeyUp) {\n var _e$target;\n if (isKeyUp === void 0) {\n isKeyUp = false;\n }\n if (isKeyboardEventTriggeredByInput(e) && !isHotkeyEnabledOnTag(e, memoisedOptions == null ? void 0 : memoisedOptions.enableOnFormTags)) {\n return;\n }\n // TODO: SINCE THE EVENT IS NOW ATTACHED TO THE REF, THE ACTIVE ELEMENT CAN NEVER BE INSIDE THE REF. THE HOTKEY ONLY TRIGGERS IF THE\n // REF IS THE ACTIVE ELEMENT. THIS IS A PROBLEM SINCE FOCUSED SUB COMPONENTS WON'T TRIGGER THE HOTKEY.\n if (ref !== null) {\n var rootNode = ref.getRootNode();\n if ((rootNode instanceof Document || rootNode instanceof ShadowRoot) && rootNode.activeElement !== ref && !ref.contains(rootNode.activeElement)) {\n stopPropagation(e);\n return;\n }\n }\n if ((_e$target = e.target) != null && _e$target.isContentEditable && !(memoisedOptions != null && memoisedOptions.enableOnContentEditable)) {\n return;\n }\n parseKeysHookInput(_keys, memoisedOptions == null ? void 0 : memoisedOptions.splitKey).forEach(function (key) {\n var _hotkey$keys;\n var hotkey = parseHotkey(key, memoisedOptions == null ? void 0 : memoisedOptions.combinationKey);\n if (isHotkeyMatchingKeyboardEvent(e, hotkey, memoisedOptions == null ? void 0 : memoisedOptions.ignoreModifiers) || (_hotkey$keys = hotkey.keys) != null && _hotkey$keys.includes('*')) {\n if (memoisedOptions != null && memoisedOptions.ignoreEventWhen != null && memoisedOptions.ignoreEventWhen(e)) {\n return;\n }\n if (isKeyUp && hasTriggeredRef.current) {\n return;\n }\n maybePreventDefault(e, hotkey, memoisedOptions == null ? void 0 : memoisedOptions.preventDefault);\n if (!isHotkeyEnabled(e, hotkey, memoisedOptions == null ? void 0 : memoisedOptions.enabled)) {\n stopPropagation(e);\n return;\n }\n // Execute the user callback for that hotkey\n cbRef.current(e, hotkey);\n if (!isKeyUp) {\n hasTriggeredRef.current = true;\n }\n }\n });\n };\n var handleKeyDown = function handleKeyDown(event) {\n if (event.key === undefined) {\n // Synthetic event (e.g., Chrome autofill). Ignore.\n return;\n }\n pushToCurrentlyPressedKeys(mapKey(event.code));\n if ((memoisedOptions == null ? void 0 : memoisedOptions.keydown) === undefined && (memoisedOptions == null ? void 0 : memoisedOptions.keyup) !== true || memoisedOptions != null && memoisedOptions.keydown) {\n listener(event);\n }\n };\n var handleKeyUp = function handleKeyUp(event) {\n if (event.key === undefined) {\n // Synthetic event (e.g., Chrome autofill). Ignore.\n return;\n }\n removeFromCurrentlyPressedKeys(mapKey(event.code));\n hasTriggeredRef.current = false;\n if (memoisedOptions != null && memoisedOptions.keyup) {\n listener(event, true);\n }\n };\n var domNode = ref || (_options == null ? void 0 : _options.document) || document;\n // @ts-ignore\n domNode.addEventListener('keyup', handleKeyUp);\n // @ts-ignore\n domNode.addEventListener('keydown', handleKeyDown);\n if (proxy) {\n parseKeysHookInput(_keys, memoisedOptions == null ? void 0 : memoisedOptions.splitKey).forEach(function (key) {\n return proxy.addHotkey(parseHotkey(key, memoisedOptions == null ? void 0 : memoisedOptions.combinationKey, memoisedOptions == null ? void 0 : memoisedOptions.description));\n });\n }\n return function () {\n // @ts-ignore\n domNode.removeEventListener('keyup', handleKeyUp);\n // @ts-ignore\n domNode.removeEventListener('keydown', handleKeyDown);\n if (proxy) {\n parseKeysHookInput(_keys, memoisedOptions == null ? void 0 : memoisedOptions.splitKey).forEach(function (key) {\n return proxy.removeHotkey(parseHotkey(key, memoisedOptions == null ? void 0 : memoisedOptions.combinationKey, memoisedOptions == null ? void 0 : memoisedOptions.description));\n });\n }\n };\n }, [ref, _keys, memoisedOptions, enabledScopes]);\n return setRef;\n}\n\nfunction useRecordHotkeys() {\n var _useState = useState(new Set()),\n keys = _useState[0],\n setKeys = _useState[1];\n var _useState2 = useState(false),\n isRecording = _useState2[0],\n setIsRecording = _useState2[1];\n var handler = useCallback(function (event) {\n if (event.key === undefined) {\n // Synthetic event (e.g., Chrome autofill). Ignore.\n return;\n }\n event.preventDefault();\n event.stopPropagation();\n setKeys(function (prev) {\n var newKeys = new Set(prev);\n newKeys.add(mapKey(event.code));\n return newKeys;\n });\n }, []);\n var stop = useCallback(function () {\n if (typeof document !== 'undefined') {\n document.removeEventListener('keydown', handler);\n setIsRecording(false);\n }\n }, [handler]);\n var start = useCallback(function () {\n setKeys(new Set());\n if (typeof document !== 'undefined') {\n stop();\n document.addEventListener('keydown', handler);\n setIsRecording(true);\n }\n }, [handler, stop]);\n var resetKeys = useCallback(function () {\n setKeys(new Set());\n }, []);\n return [keys, {\n start: start,\n stop: stop,\n resetKeys: resetKeys,\n isRecording: isRecording\n }];\n}\n\nexport { HotkeysProvider, isHotkeyPressed, useHotkeys, useHotkeysContext, useRecordHotkeys };\n//# sourceMappingURL=react-hotkeys-hook.esm.js.map\n","import { useCallback, useEffect, useRef } from 'react';\nexport default function useMountedState() {\n var mountedRef = useRef(false);\n var get = useCallback(function () { return mountedRef.current; }, []);\n useEffect(function () {\n mountedRef.current = true;\n return function () {\n mountedRef.current = false;\n };\n }, []);\n return get;\n}\n","import { useCallback, useState } from 'react';\nvar useSetState = function (initialState) {\n if (initialState === void 0) { initialState = {}; }\n var _a = useState(initialState), state = _a[0], set = _a[1];\n var setState = useCallback(function (patch) {\n set(function (prevState) {\n return Object.assign({}, prevState, patch instanceof Function ? patch(prevState) : patch);\n });\n }, []);\n return [state, setState];\n};\nexport default useSetState;\n","\nmodule.exports = function () {\n var selection = document.getSelection();\n if (!selection.rangeCount) {\n return function () {};\n }\n var active = document.activeElement;\n\n var ranges = [];\n for (var i = 0; i < selection.rangeCount; i++) {\n ranges.push(selection.getRangeAt(i));\n }\n\n switch (active.tagName.toUpperCase()) { // .toUpperCase handles XHTML\n case 'INPUT':\n case 'TEXTAREA':\n active.blur();\n break;\n\n default:\n active = null;\n break;\n }\n\n selection.removeAllRanges();\n return function () {\n selection.type === 'Caret' &&\n selection.removeAllRanges();\n\n if (!selection.rangeCount) {\n ranges.forEach(function(range) {\n selection.addRange(range);\n });\n }\n\n active &&\n active.focus();\n };\n};\n","\"use strict\";\n\nvar deselectCurrent = require(\"toggle-selection\");\n\nvar clipboardToIE11Formatting = {\n \"text/plain\": \"Text\",\n \"text/html\": \"Url\",\n \"default\": \"Text\"\n}\n\nvar defaultMessage = \"Copy to clipboard: #{key}, Enter\";\n\nfunction format(message) {\n var copyKey = (/mac os x/i.test(navigator.userAgent) ? \"⌘\" : \"Ctrl\") + \"+C\";\n return message.replace(/#{\\s*key\\s*}/g, copyKey);\n}\n\nfunction copy(text, options) {\n var debug,\n message,\n reselectPrevious,\n range,\n selection,\n mark,\n success = false;\n if (!options) {\n options = {};\n }\n debug = options.debug || false;\n try {\n reselectPrevious = deselectCurrent();\n\n range = document.createRange();\n selection = document.getSelection();\n\n mark = document.createElement(\"span\");\n mark.textContent = text;\n // avoid screen readers from reading out loud the text\n mark.ariaHidden = \"true\"\n // reset user styles for span element\n mark.style.all = \"unset\";\n // prevents scrolling to the end of the page\n mark.style.position = \"fixed\";\n mark.style.top = 0;\n mark.style.clip = \"rect(0, 0, 0, 0)\";\n // used to preserve spaces and line breaks\n mark.style.whiteSpace = \"pre\";\n // do not inherit user-select (it may be `none`)\n mark.style.webkitUserSelect = \"text\";\n mark.style.MozUserSelect = \"text\";\n mark.style.msUserSelect = \"text\";\n mark.style.userSelect = \"text\";\n mark.addEventListener(\"copy\", function(e) {\n e.stopPropagation();\n if (options.format) {\n e.preventDefault();\n if (typeof e.clipboardData === \"undefined\") { // IE 11\n debug && console.warn(\"unable to use e.clipboardData\");\n debug && console.warn(\"trying IE specific stuff\");\n window.clipboardData.clearData();\n var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting[\"default\"]\n window.clipboardData.setData(format, text);\n } else { // all other browsers\n e.clipboardData.clearData();\n e.clipboardData.setData(options.format, text);\n }\n }\n if (options.onCopy) {\n e.preventDefault();\n options.onCopy(e.clipboardData);\n }\n });\n\n document.body.appendChild(mark);\n\n range.selectNodeContents(mark);\n selection.addRange(range);\n\n var successful = document.execCommand(\"copy\");\n if (!successful) {\n throw new Error(\"copy command was unsuccessful\");\n }\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using execCommand: \", err);\n debug && console.warn(\"trying IE specific stuff\");\n try {\n window.clipboardData.setData(options.format || \"text\", text);\n options.onCopy && options.onCopy(window.clipboardData);\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using clipboardData: \", err);\n debug && console.error(\"falling back to prompt\");\n message = format(\"message\" in options ? options.message : defaultMessage);\n window.prompt(message, text);\n }\n } finally {\n if (selection) {\n if (typeof selection.removeRange == \"function\") {\n selection.removeRange(range);\n } else {\n selection.removeAllRanges();\n }\n }\n\n if (mark) {\n document.body.removeChild(mark);\n }\n reselectPrevious();\n }\n\n return success;\n}\n\nmodule.exports = copy;\n","import writeText from 'copy-to-clipboard';\nimport { useCallback } from 'react';\nimport useMountedState from './useMountedState';\nimport useSetState from './useSetState';\nvar useCopyToClipboard = function () {\n var isMounted = useMountedState();\n var _a = useSetState({\n value: undefined,\n error: undefined,\n noUserInteraction: true,\n }), state = _a[0], setState = _a[1];\n var copyToClipboard = useCallback(function (value) {\n if (!isMounted()) {\n return;\n }\n var noUserInteraction;\n var normalizedValue;\n try {\n // only strings and numbers casted to strings can be copied to clipboard\n if (typeof value !== 'string' && typeof value !== 'number') {\n var error = new Error(\"Cannot copy typeof \" + typeof value + \" to clipboard, must be a string\");\n if (process.env.NODE_ENV === 'development')\n console.error(error);\n setState({\n value: value,\n error: error,\n noUserInteraction: true,\n });\n return;\n }\n // empty strings are also considered invalid\n else if (value === '') {\n var error = new Error(\"Cannot copy empty string to clipboard.\");\n if (process.env.NODE_ENV === 'development')\n console.error(error);\n setState({\n value: value,\n error: error,\n noUserInteraction: true,\n });\n return;\n }\n normalizedValue = value.toString();\n noUserInteraction = writeText(normalizedValue);\n setState({\n value: normalizedValue,\n error: undefined,\n noUserInteraction: noUserInteraction,\n });\n }\n catch (error) {\n setState({\n value: normalizedValue,\n error: error,\n noUserInteraction: noUserInteraction,\n });\n }\n }, []);\n return [state, copyToClipboard];\n};\nexport default useCopyToClipboard;\n"],"names":["avatarRecipe","defineRecipe","withContext","createRecipeContext","AvatarRoot","getInitials","firstName","lastName","Avatar","forwardRef","props","ref","src","alt","rest","fullName","sharedProps","jsx","Image","Box","ChakraBox","$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c","$HgANd$react","$8ae05eaa5c114e9c$export$7f54fc3180508a52","fn","$lmaYr$useRef","$lmaYr$useCallback","args","f","$1dbecbe27a04f9af$export$14d238f342723f25","defaultValue","value","setValue","$fCAlL$useState","effect","$fCAlL$useRef","nextRef","newValue","queue","$b5e257d569688ac6$var$defaultContext","$b5e257d569688ac6$var$SSRContext","$670gB$react","$b5e257d569688ac6$var$IsSSRContext","$b5e257d569688ac6$var$canUseDOM","$b5e257d569688ac6$var$componentIds","$b5e257d569688ac6$var$useCounter","isDisabled","ctx","$670gB$useContext","$670gB$useRef","_React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner","_React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","currentOwner","prevComponentValue","$b5e257d569688ac6$var$useLegacySSRSafeId","defaultId","counter","prefix","$b5e257d569688ac6$var$useModernSSRSafeId","id","didSSR","$670gB$useState","$b5e257d569688ac6$export$535bd6ca7f90a273","$b5e257d569688ac6$export$619500959fc48b26","$b5e257d569688ac6$var$getSnapshot","$b5e257d569688ac6$var$getServerSnapshot","$b5e257d569688ac6$var$subscribe","onStoreChange","$bdb11010cef70236$var$canUseDOM","$bdb11010cef70236$var$idsUpdaterMap","$bdb11010cef70236$export$f680877a34711e37","$eKkEp$useState","nextId","$eKkEp$useRef","res","$eKkEp$useSSRSafeId","updateValue","$eKkEp$useCallback","val","r","$eKkEp$useEffect","newId","$bdb11010cef70236$export$cd8c9cb68f842629","idA","idB","setIdsA","setIdsB","$bdb11010cef70236$export$b4cc09c592e8fdb8","depArray","resolvedId","setResolvedId","updateId","$ff5963eb1fccf552$export$e08e3b67e392101e","callbacks","callback","$431fbd86ca7dc216$export$b204af158042fbac","el","_el_ownerDocument","$431fbd86ca7dc216$export$f21a1ffae260145a","e","t","n","clsx","$3ef42575df84b30b$export$9d1611c77c2fe928","result","i","key","a","b","$7jXr9$clsx","$5dc95899b306f630$export$c9058316764c140e","refs","$65484d02dcb7eb3e$var$DOMPropNames","$65484d02dcb7eb3e$var$labelablePropNames","$65484d02dcb7eb3e$var$linkPropNames","$65484d02dcb7eb3e$var$propRe","$65484d02dcb7eb3e$export$457c3d6518dd4c6f","opts","labelable","isLink","propNames","filteredProps","prop","$7215afc6de606d6b$export$de79e2c695e052f3","element","$7215afc6de606d6b$var$supportsPreventScroll","scrollableElements","$7215afc6de606d6b$var$getScrollableElements","$7215afc6de606d6b$var$restoreScrollPosition","$7215afc6de606d6b$var$supportsPreventScrollCached","parent","rootScrollingElement","scrollTop","scrollLeft","$c87311424ea30a05$var$testUserAgent","re","_window_navigator_userAgentData","brand","$c87311424ea30a05$var$testPlatform","$c87311424ea30a05$var$cached","$c87311424ea30a05$export$9ac100e40613ea10","$c87311424ea30a05$export$186c6964ca17d99","$c87311424ea30a05$export$7bef049ce92e4224","$c87311424ea30a05$export$fedb369cb70207f1","$c87311424ea30a05$export$e1865c3bedcd822b","$c87311424ea30a05$export$78551043582a6a98","$c87311424ea30a05$export$6446a186d09e379e","$c87311424ea30a05$export$a11b0059900ceec8","$c87311424ea30a05$export$b7d78993b74f766d","$ea8dcbcb9ea1b556$var$RouterContext","$g3jFn$createContext","$ea8dcbcb9ea1b556$var$openSyntheticLink","href","$ea8dcbcb9ea1b556$export$9a302a45f65d0572","$g3jFn$useContext","$ea8dcbcb9ea1b556$export$efa8c9099e530235","link","modifiers","target","$ea8dcbcb9ea1b556$export$95185d699e05d4d7","setOpening","_window_event_type","_window_event","metaKey","ctrlKey","altKey","shiftKey","event","$ea8dcbcb9ea1b556$var$getSyntheticLink","open","$ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6","router","_props_href","$ea8dcbcb9ea1b556$export$7e924b3091a3bd18","$bbed8b41f857bcc0$var$transitionsByElement","$bbed8b41f857bcc0$var$transitionCallbacks","$bbed8b41f857bcc0$var$setupGlobalEvents","isTransitionEvent","onTransitionStart","transitions","onTransitionEnd","properties","cb","$bbed8b41f857bcc0$export$24490316f764c430","$03deb23ff14920c4$export$4eaf04e54aa8eed6","globalListeners","$lPAwt$useRef","addGlobalListener","$lPAwt$useCallback","eventTarget","type","listener","options","removeGlobalListener","_globalListeners_current_get","removeAllGlobalListeners","$lPAwt$useEffect","$313b98861ee5dd6c$export$d6875122194c7b44","defaultLabel","label","labelledBy","$df56164dff5785e2$export$4338b53315abf666","forwardedRef","objRef","$gbmns$useRef","$gbmns$useMemo","$4f58c5f72bcf79f7$export$496315a1608d9602","dependencies","isInitialMount","$9vW05$useRef","lastDeps","$9vW05$useEffect","dep","$ca9b37712f007381$export$72ef708ab07251f1","$azsE2$useRef","$9daab02d461809db$var$hasResizeObserver","$9daab02d461809db$export$683480f191c0e3ea","box","onResize","$Vsl8o$useEffect","resizeObserverInstance","entries","$e7801be82b4b2a53$export$4debdb1a3f0fa79e","context","$cc38e7bd3fc7b213$export$2bb74740c4e19def","node","checkForOverflow","style","isScrollable","$62d8ded9296f3872$export$cfa2225e87938781","scrollableNode","$a40c673dc9f6d9c7$export$94ed1c92c7beeb22","scrollParents","$ef06256079686ba0$var$descriptionId","$ef06256079686ba0$var$descriptionNodes","$ef06256079686ba0$export$f8aeda7b10753fa1","description","setId","$hQ5Hp$useState","desc","$e9faafb641e167db$export$90fc3a17d93f704c","handler","handleEvent","$ceQd6$useEffect","$2f04cbc44ee30ce0$export$53a0910f038337bd","scrollView","offsetX","$2f04cbc44ee30ce0$var$relativeOffset","offsetY","width","height","x","y","borderTopWidth","borderLeftWidth","scrollPaddingTop","scrollPaddingRight","scrollPaddingBottom","scrollPaddingLeft","borderAdjustedX","borderAdjustedY","maxX","maxY","scrollPaddingTopNumber","scrollPaddingBottomNumber","scrollPaddingRightNumber","scrollPaddingLeftNumber","ancestor","child","axis","sum","$2f04cbc44ee30ce0$export$c826860796309d1b","targetElement","root","scrollParent","_targetElement_scrollIntoView","originalLeft","originalTop","newLeft","newTop","_opts_containingElement_scrollIntoView","_opts_containingElement","_targetElement_scrollIntoView1","$6a7db85432448f7f$export$60278871457622de","$6a7db85432448f7f$export$29bf1b5f2c56cf63","$99facab73266f662$export$5add1d006293d136","initialValue","onReset","resetValue","$8rM3G$useRef","handleReset","$8rM3G$useEffect","_ref_current","form","$5671b20cf9b562b2$export$447a38995de2c711","$5671b20cf9b562b2$export$831c820ad60f9d12","$5671b20cf9b562b2$export$9db568f6321ad9dc","$21f1aa98acb08317$export$16792effe837dba3","$d3f049242431219c$export$6d3443f2c48bfc20","isReady","isEntering","setEntering","$jJMAe$useState","isAnimationReady","animation","$d3f049242431219c$var$useAnimation","$jJMAe$useCallback","$d3f049242431219c$export$45fda7c47f93fd48","isOpen","exitState","setExitState","isExiting","state","isActive","onEnd","animations","canceled","$jJMAe$flushSync","$458b0a5536c1a7cf$export$40bfa8c7b0832715","onChange","stateValue","setStateValue","$3whtM$useState","isControlledRef","$3whtM$useRef","isControlled","$3whtM$useEffect","wasControlled","currentValue","$3whtM$useCallback","onChangeCaller","onChangeArgs","oldValue","functionArgs","interceptedValue","$9446cca9a3875146$export$7d15b64cf5a3a4c4","min","max","$14c0b72509d70225$var$state","$14c0b72509d70225$var$savedUserSelect","$14c0b72509d70225$var$modifiedElementMap","$14c0b72509d70225$export$16a4697467175487","$7R18e$isIOS","documentObject","$7R18e$getOwnerDocument","$14c0b72509d70225$export$b0d6fa1ab32e3295","$7R18e$runAfterTransition","targetOldUserSelect","$ae1eeba8b9eafd08$export$5165eccb35aaadb5","$3aeG1$react","_class_apply_descriptor_get","receiver","descriptor","_class_extract_field_descriptor","privateMap","action","_class_private_field_get","_check_private_redeclaration","obj","privateCollection","_class_private_field_init","_class_apply_descriptor_set","_class_private_field_set","$f6c31cce2adf654f$var$usePressResponderContext","$7mdmh$useContext","register","contextProps","$7mdmh$mergeProps","$7mdmh$useSyncRef","$f6c31cce2adf654f$var$_shouldStopPropagation","$f6c31cce2adf654f$var$PressEvent","$7mdmh$_2","$7mdmh$_","pointerType","originalEvent","$7mdmh$_1","_state_target","currentTarget","rect","clientX","clientY","$f6c31cce2adf654f$var$LINK_CLICKED","$f6c31cce2adf654f$export$45712eceda6fad21","onPress","onPressChange","onPressStart","onPressEnd","onPressUp","isPressedProp","preventFocusOnPress","shouldCancelOnPointerExit","allowTextSelectionOnPress","_","domProps","isPressed","setPressed","$7mdmh$useState","$7mdmh$useRef","$7mdmh$useGlobalListeners","triggerPressStart","$7mdmh$useEffectEvent","shouldStopPropagation","triggerPressEnd","wasPressed","triggerPressUp","cancel","$f6c31cce2adf654f$var$createEvent","cancelOnPointerExit","pressProps","$7mdmh$useMemo","$f6c31cce2adf654f$var$isValidKeyboardEvent","_state_metaKeyEvents","$f6c31cce2adf654f$var$shouldPreventDefaultKeyboard","originalTarget","pressUp","$7mdmh$getOwnerDocument","$7mdmh$chain","onKeyUp","$7mdmh$isMac","$7mdmh$openLink","$7mdmh$isVirtualClick","$7mdmh$focusWithoutScrolling","stopPressStart","stopPressUp","stopPressEnd","_state_metaKeyEvents1","$f6c31cce2adf654f$var$isHTMLAnchorLink","events","$7mdmh$isVirtualPointerEvent","$f6c31cce2adf654f$var$shouldPreventDefaultDown","onPointerUp","onPointerCancel","onTouchEnd","$f6c31cce2adf654f$var$shouldPreventDefaultUp","onMouseUp","$f6c31cce2adf654f$var$isOverTarget","touch","$f6c31cce2adf654f$var$getTouchFromEvent","$f6c31cce2adf654f$var$createTouchEvent","$7mdmh$getOwnerWindow","onScroll","$f6c31cce2adf654f$var$getTouchById","$7mdmh$useEffect","_ref_current_target","code","role","$f6c31cce2adf654f$var$isValidInputKey","targetTouches","pointerId","changedTouches","$f6c31cce2adf654f$var$getPointClientRect","point","$f6c31cce2adf654f$var$areRectanglesOverlapping","pointRect","$f6c31cce2adf654f$var$nonTextInputTypes","$f1ab8c75478c6f73$export$3351871ee4b288b8","$87RPk$react","children","isRegistered","$87RPk$useRef","prevContext","$87RPk$useContext","$87RPk$useObjectRef","$87RPk$mergeProps","$87RPk$useSyncRef","$87RPk$useEffect","$f1ab8c75478c6f73$export$cf75428e0b9ed1ea","$87RPk$useMemo","$8a9cb279dc87e130$export$905e7fc544a71f36","nativeEvent","$8a9cb279dc87e130$export$715c682d09d639cc","onBlur","stateRef","$6dfIe$useRef","$6dfIe$useLayoutEffect","dispatchBlur","$6dfIe$useEffectEvent","$6dfIe$useCallback","onBlurHandler","_stateRef_current_observer","relatedTargetEl","$a1ea59d68270f0dd$export$f8168d8dd8fd66e6","onFocusProp","onBlurProp","onFocusChange","$hf0lj$useCallback","onSyntheticFocus","onFocus","ownerDocument","$hf0lj$getOwnerDocument","$507fabe10e71c6fb$var$currentModality","$507fabe10e71c6fb$var$changeHandlers","$507fabe10e71c6fb$export$d90243b58daecda7","$507fabe10e71c6fb$var$hasEventBeforeFocus","$507fabe10e71c6fb$var$hasBlurredWindowRecently","$507fabe10e71c6fb$var$FOCUS_VISIBLE_INPUT_KEYS","$507fabe10e71c6fb$var$triggerChangeHandlers","modality","$507fabe10e71c6fb$var$isValidKey","$28AnR$isMac","$507fabe10e71c6fb$var$handleKeyboardEvent","$507fabe10e71c6fb$var$handlePointerEvent","$507fabe10e71c6fb$var$handleClickEvent","$28AnR$isVirtualClick","$507fabe10e71c6fb$var$handleFocusEvent","$507fabe10e71c6fb$var$handleWindowBlur","$507fabe10e71c6fb$var$setupGlobalFocusEvents","$28AnR$getOwnerWindow","windowObject","$28AnR$getOwnerDocument","focus","$507fabe10e71c6fb$var$tearDownWindowFocusTracking","loadListener","$507fabe10e71c6fb$export$2f1888112f558a7d","$507fabe10e71c6fb$export$b9b3dfddab17db27","$507fabe10e71c6fb$export$630ff653c5ada6a9","$507fabe10e71c6fb$export$8397ddfc504fdb9a","$507fabe10e71c6fb$export$98e20ec92f614cfe","setModality","$28AnR$useState","$28AnR$useEffect","$28AnR$useIsSSR","$507fabe10e71c6fb$var$nonTextInputTypes","$507fabe10e71c6fb$var$isKeyboardFocusEvent","isTextInput","_e_target","IHTMLInputElement","IHTMLTextAreaElement","IHTMLElement","IKeyboardEvent","$507fabe10e71c6fb$export$ec71b4b83ac08ec3","deps","$9ab94262bd0047c7$export$420e68273165f4ec","onBlurWithin","onFocusWithin","onFocusWithinChange","$3b9Q0$useRef","$3b9Q0$useCallback","$6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents","$6179b936705e76d3$var$hoverCount","$6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents","$6179b936705e76d3$var$handleGlobalPointerEvent","$6179b936705e76d3$var$setupGlobalTouchEvents","$6179b936705e76d3$export$ae780daf29e6d456","onHoverStart","onHoverChange","onHoverEnd","isHovered","setHovered","$AWxnT$useState","$AWxnT$useRef","$AWxnT$useEffect","hoverProps","triggerHoverEnd","$AWxnT$useMemo","triggerHoverStart","$e0b6e0b68ec7f50f$export$872b660ac5a1ff98","onInteractOutside","onInteractOutsideStart","$ispOf$useRef","onPointerDown","$ispOf$useEffectEvent","$e0b6e0b68ec7f50f$var$isValidEvent","triggerInteractOutside","$ispOf$useEffect","$ispOf$getOwnerDocument","$93925083ecbb358c$export$48d1ea6320830260","$46d819fcbaf35654$export$8f71654801c2f7cd","$8a26561d2877236e$var$DEFAULT_THRESHOLD","$8a26561d2877236e$export$c24ed0104d07eab9","onLongPressStart","onLongPressEnd","onLongPress","threshold","accessibilityDescription","timeRef","$4k2kv$useRef","$4k2kv$useGlobalListeners","onContextMenu","descriptionProps","$4k2kv$useDescription","$4k2kv$mergeProps","$6a99195332edec8b$export$80f3e147d781571c","$jlOai$getOwnerDocument","$jlOai$getInteractionModality","lastFocusedElement","$jlOai$runAfterTransition","$jlOai$focusWithoutScrolling","$645f2e67b85a24c9$var$isStyleVisible","$djhjW$getOwnerWindow","display","visibility","isVisible","getComputedStyle","computedDisplay","computedVisibility","$645f2e67b85a24c9$var$isAttributeVisible","childElement","$645f2e67b85a24c9$export$e989c0fffaa6b27a","$9bf71ea28793e738$var$FocusContext","$cgawC$react","$9bf71ea28793e738$var$RESTORE_FOCUS_EVENT","$9bf71ea28793e738$var$activeScope","$9bf71ea28793e738$export$20e40289641fbbb6","contain","restoreFocus","autoFocus","startRef","$cgawC$useRef","endRef","scopeRef","parentNode","$cgawC$useContext","$cgawC$useMemo","$9bf71ea28793e738$var$TreeNode","$cgawC$useLayoutEffect","$9bf71ea28793e738$export$d06fae2ee68b101e","$9bf71ea28793e738$var$isAncestorScope","activeNode","_startRef_current","nodes","stopPropagation","$9bf71ea28793e738$var$useActiveScopeTracker","$9bf71ea28793e738$var$useFocusContainment","$9bf71ea28793e738$var$useRestoreFocus","$9bf71ea28793e738$var$useAutoFocus","$cgawC$useEffect","activeElement","$cgawC$getOwnerDocument","scope","$9bf71ea28793e738$var$isElementInScope","_focusScopeTree_getTreeNode_parent","_focusScopeTree_getTreeNode","_focusScopeTree_getTreeNode_parent_scopeRef","parentScope","focusManager","$9bf71ea28793e738$var$createFocusManagerForScope","from","tabbable","wrap","accept","sentinel","scopeRoot","$9bf71ea28793e738$var$getScopeRoot","walker","$9bf71ea28793e738$export$2d6ec8fc375ceafa","nextNode","$9bf71ea28793e738$var$focusElement","previousNode","$9bf71ea28793e738$var$focusableElements","$9bf71ea28793e738$var$FOCUSABLE_ELEMENT_SELECTOR","$9bf71ea28793e738$var$TABBABLE_ELEMENT_SELECTOR","$9bf71ea28793e738$var$shouldContainFocus","focusedNode","raf","onKeyDown","focusedElement","nextElement","$9bf71ea28793e738$var$isElementInChildScope","$9bf71ea28793e738$var$focusFirstInScope","$cgawC$getInteractionModality","$cgawC$isAndroid","$cgawC$isChrome","_focusedNode_current","$9bf71ea28793e738$var$isElementInAnyScope","s","$9bf71ea28793e738$export$1258395f99bf9cbf","scroll","$9bf71ea28793e738$var$getFirstInScope","autoFocusRef","restore","$9bf71ea28793e738$var$shouldRestoreFocus","nodeToRestoreRef","treeNode","nodeToRestore","_nodeToRestoreRef_current","clonedTree","$9bf71ea28793e738$var$restoreFocusToElement","selector","_opts_from","$9bf71ea28793e738$export$c5251b9e124bf29","defaultOptions","next","$9bf71ea28793e738$var$last","lastNode","last","$9bf71ea28793e738$var$Tree","data","current","_node_parent","newTree","_node_parent_scopeRef","$f7dceffc5ad7768b$export$4e328f61c538687f","within","$isWE5$useRef","$isWE5$isFocusVisible","isFocused","setFocused","$isWE5$useState","isFocusVisibleState","setFocusVisible","updateState","$isWE5$useCallback","$isWE5$useFocusVisibleListener","isFocusVisible","focusProps","$isWE5$useFocus","focusWithinProps","$isWE5$useFocusWithin","$e6afbd83fe6ebbd2$var$FocusableContext","$h8xso$react","$e6afbd83fe6ebbd2$var$useFocusableContext","$h8xso$useContext","$h8xso$useSyncRef","otherProps","$e6afbd83fe6ebbd2$export$13f3202a3e5ddd5","$h8xso$useObjectRef","$e6afbd83fe6ebbd2$export$4c014de7c8940b4c","domRef","$h8xso$useFocus","keyboardProps","$h8xso$useKeyboard","interactions","$h8xso$mergeProps","interactionProps","$h8xso$useRef","$h8xso$useEffect","$83013635b024ae3d$export$eac1895992b9f3d6","hasTabbableChild","setHasTabbableChild","$hGAaG$useState","$hGAaG$useLayoutEffect","update","observer","$298d61e98472621b$export$dcf14c9974fe2767","elementType","deprecatedOnClick","linkProps","focusableProps","$5Ot33$useFocusable","$5Ot33$usePress","$5Ot33$filterDOMProps","interactionHandlers","$5Ot33$mergeProps","$5Ot33$useRouter","routerLinkProps","$5Ot33$useLinkProps","_pressProps_onClick","$5Ot33$shouldClientNavigate","$148a7a147e38ea7f$var$RTL_SCRIPTS","$148a7a147e38ea7f$var$RTL_LANGS","$148a7a147e38ea7f$export$702d680b21cbd764","localeString","locale","textInfo","lang","$1e5a04cdaf7d1af8$var$localeSymbol","$1e5a04cdaf7d1af8$export$f09106e7c6677ec5","$1e5a04cdaf7d1af8$var$currentLocale","$1e5a04cdaf7d1af8$var$listeners","$1e5a04cdaf7d1af8$var$updateLocale","$1e5a04cdaf7d1af8$export$188ec29ebc2bdc3a","isSSR","$ffhGL$useIsSSR","defaultLocale","setDefaultLocale","$ffhGL$useState","$ffhGL$useEffect","$18f2051aff69b9bf$var$I18nContext","$h9FiU$react","$18f2051aff69b9bf$export$43bb16f9c6d9e3f7","$h9FiU$useContext","$5b160d28a433310d$var$localeSymbol","$5b160d28a433310d$var$stringsSymbol","$5b160d28a433310d$var$cachedGlobalStrings","$5b160d28a433310d$export$c17fa47878dc55b6","string","strings","$5b160d28a433310d$var$getStringsForLocale","packageName","globalStrings","pkg","dictionary","messages","v","language","$5b160d28a433310d$var$getLanguage","$6db58dc88e78b024$var$pluralRulesCache","$6db58dc88e78b024$var$numberFormatCache","$6db58dc88e78b024$export$2f817fcdc4b89ae0","variables","message","count","opt","pluralRules","selected","numberFormat","$fca6afa0e843324b$var$cache","$fca6afa0e843324b$var$getCachedDictionary","$6ksNp$LocalizedStringDictionary","$fca6afa0e843324b$export$87b761675e8eaa10","$fca6afa0e843324b$export$f12b703ca79dfbb1","$6ksNp$useMemo","$6ksNp$LocalizedStringFormatter","$488c6ddbf4ef74c2$var$formatterCache","$488c6ddbf4ef74c2$var$supportsSignDisplay","$488c6ddbf4ef74c2$var$supportsUnit","$488c6ddbf4ef74c2$var$UNITS","$488c6ddbf4ef74c2$export$cc77c4ff7e8673c5","$488c6ddbf4ef74c2$export$711b50b3c525e0f2","_UNITS_unit","unit","unitDisplay","values","start","end","startParts","endParts","p","$488c6ddbf4ef74c2$var$getCachedNumberFormatter","numberingSystem","cacheKey","numberFormatter","signDisplay","num","needsPositiveSign","negative","noSign","minus","$a916eb452884faea$export$b7a616150fdb9f44","$JFEdn$useMemo","$JFEdn$NumberFormatter","$325a3faab7a68acd$var$cache","$325a3faab7a68acd$export$a16aca283550c30d","formatter","$701a24aa0da5b062$export$ea18c227d4417cc3","allowFocusWhenDisabled","rel","additionalProps","$bwqiF$usePress","$bwqiF$useFocusable","buttonProps","$bwqiF$mergeProps","$bwqiF$filterDOMProps","$55f54f7887471b58$export$51e84d46ca0bc451","isSelected","$h7Tql$chain","$h7Tql$mergeProps","$2680b1829e803644$export$fa142eb1681c520","ariaLabel","ariaLabelledBy","orientation","isInToolbar","setInToolbar","$k3LOe$useState","$k3LOe$useLayoutEffect","_ref_current_parentElement","direction","$k3LOe$useLocale","shouldReverse","$k3LOe$createFocusManager","lastFocused","$k3LOe$useRef","_lastFocused_current","$k3LOe$filterDOMProps","$4547d1bf40011fdf$export$dd5580ae642f110f","toolbarProps","$9iEyV$useToolbar","$4547d1bf40011fdf$export$bc53712daae3d6e6","toggleState","$319e236875307eab$var$LIVEREGION_TIMEOUT_DELAY","$319e236875307eab$var$liveAnnouncer","$319e236875307eab$export$a9b970dcc4ae71a9","assertiveness","timeout","$319e236875307eab$var$LiveAnnouncer","_this_node","ariaLive","_this_assertiveLog","_this_politeLog","$e5be200c675c3b3a$export$aca958c65c314e6c","$e5be200c675c3b3a$var$CUSTOM_VALIDITY_STATE","$e5be200c675c3b3a$export$dad6ae84456c676a","$e5be200c675c3b3a$export$571b5131b7e65c11","$69F46$createContext","$e5be200c675c3b3a$export$a763b9476acd3eb","$e5be200c675c3b3a$export$fc1a364ae1f3ff10","realtimeValidation","displayValidation","updateValidation","resetValidation","commitValidation","$e5be200c675c3b3a$var$useFormValidationStateImpl","isInvalid","validationState","name","builtinValidation","validate","validationBehavior","controlledError","clientError","$69F46$useMemo","validateErrors","$e5be200c675c3b3a$var$runValidate","$e5be200c675c3b3a$var$getValidationResult","serverErrors","$69F46$useContext","serverErrorMessages","$e5be200c675c3b3a$var$asArray","lastServerErrors","setLastServerErrors","$69F46$useState","isServerErrorCleared","setServerErrorCleared","serverError","nextValidation","$69F46$useRef","currentValidity","setCurrentValidity","lastError","commitQueued","setCommitQueued","error","$e5be200c675c3b3a$var$isEqualValidation","$69F46$useEffect","errors","k","$e93e671b31057976$export$b8473d3665f3a75a","$9Gacy$useLayoutEffect","errorMessage","$e93e671b31057976$var$getNativeValidity","$9Gacy$useEffectEvent","onInvalid","$e93e671b31057976$var$getFirstInvalidInput","_ref_current1","$9Gacy$setInteractionModality","$9Gacy$useEffect","input","$e93e671b31057976$var$getValidity","validity","$d2c8e2b0480f3f34$export$cbe85ee05b554577","isReadOnly","ariaLabelledby","hasChildren","hasAriaLabel","$bvdLj$usePress","labelProps","isLabelPressed","$bvdLj$useFocusable","$bvdLj$mergeProps","$bvdLj$filterDOMProps","$bvdLj$useFormReset","$406796ff087fe49b$export$e375f10ce42261c5","inputRef","$jNP0e$useFormValidationState","validationErrors","validationDetails","inputProps","$jNP0e$useToggle","$jNP0e$useFormValidation","isIndeterminate","isRequired","$jNP0e$useEffect","$jNP0e$usePress","$jNP0e$privateValidationStateProp","groupValidationState","$jNP0e$mergeProps","$d191a55c9702f145$export$8467354a121f1b9f","labelElementType","$83Elw$useId","labelId","fieldProps","$83Elw$useLabels","$2baaea4c71418dea$export$294aa081a6c6f55d","descriptionId","$2kC82$useSlotId","errorMessageId","$2kC82$mergeProps","$3017fa7ffdddec74$export$8042c6c013fd5226","setSelected","$d8rik$useControlledState","updateSelected","$ad999b7f496648d1$export$8deac67f4addf270","selectionMode","disallowEmptySelection","selectedKeys","setSelectedKeys","$69RjW$useControlledState","$69RjW$useMemo","keys","$5c3e21d68f1c4674$var$styles","$5c3e21d68f1c4674$export$a966af930f325cab","isFocusable","$7JYt2$useState","$7JYt2$useFocusWithin","combinedStyles","$7JYt2$useMemo","$5c3e21d68f1c4674$export$439d29a4e110a164","Element","visuallyHiddenProps","$7JYt2$react","$7JYt2$mergeProps","$2d73ec29415bd339$export$712718f7aec83d5","inputElementType","$ig234$useControlledState","$ig234$useFocusable","$ig234$useFormValidationState","errorMessageProps","$ig234$useField","$ig234$filterDOMProps","inputOnlyProps","$ig234$useFormReset","$ig234$useFormValidation","$ig234$useEffect","$ig234$getOwnerWindow","$ig234$mergeProps","$edcf132a9284368a$var$AXIS","$edcf132a9284368a$var$FLIPPED_DIRECTION","$edcf132a9284368a$var$CROSS_AXIS","$edcf132a9284368a$var$AXIS_SIZE","$edcf132a9284368a$var$TOTAL_SIZE","$edcf132a9284368a$var$PARSED_PLACEMENT_CACHE","$edcf132a9284368a$var$visualViewport","$edcf132a9284368a$var$getContainerDimensions","containerNode","totalWidth","totalHeight","top","left","_visualViewport_scale","isPinchZoomedIn","documentElement","_visualViewport_width","_visualViewport_height","$edcf132a9284368a$var$getOffset","$fZVmS$isWebKit","_visualViewport_pageTop","_visualViewport_pageLeft","$edcf132a9284368a$var$getScroll","$edcf132a9284368a$var$getDelta","offset","size","boundaryDimensions","containerDimensions","padding","containerOffsetWithBoundary","_containerDimensions_scroll_axis","containerScroll","boundarySize","boundaryStartEdge","boundaryEndEdge","startEdgeOffset","endEdgeOffset","$edcf132a9284368a$var$getMargins","$edcf132a9284368a$var$parsePlacement","placement","crossPlacement","crossAxis","crossSize","$edcf132a9284368a$var$computePosition","childOffset","overlaySize","placementInfo","crossOffset","isContainerPositioned","arrowSize","arrowBoundaryOffset","position","_childOffset_crossAxis","_childOffset_crossSize","_overlaySize_crossSize","_childOffset_crossSize1","_overlaySize_crossSize1","minPosition","maxPosition","$fZVmS$clamp","containerHeight","$edcf132a9284368a$var$getMaxHeight","margins","overlayHeight","heightGrowthDirection","_position_bottom","overlayTop","_boundaryDimensions_scroll_top","_margins_top","_margins_bottom","_boundaryDimensions_scroll_top1","_margins_top1","_margins_bottom1","maxHeight","$edcf132a9284368a$var$getAvailableSpace","_boundaryDimensions_scroll_axis","_margins_axis","_margins_axis1","$edcf132a9284368a$export$6839422d1f33cee9","placementInput","scrollSize","flip","userSetMaxHeight","normalizedOffset","space","flippedPlacementInfo","flippedPosition","delta","arrowPosition","preferredArrowPosition","arrowMinPosition","_margins_left","_margins_right","overlayMargin","arrowMaxPosition","arrowOverlappingChildMinEdge","arrowOverlappingChildMaxEdge","arrowPositionOverlappingChild","$edcf132a9284368a$export$b3ceb0cbf1056d98","targetNode","overlayNode","scrollNode","shouldFlip","boundaryElement","container","$edcf132a9284368a$var$getContainingBlock","isViewportContainer","containerPositionStyle","$edcf132a9284368a$var$getPosition","marginTop","marginLeft","clientTop","clientLeft","parentOffset","parentStyle","offsetParent","$edcf132a9284368a$var$isContainingBlock","$dd149f63282afbbf$export$f6211563215e3b37","$dd149f63282afbbf$export$18fc8428861184da","triggerRef","onClose","$dRVb8$useEffect","onCloseHandler","$2a41e45df1593e64$var$visualViewport","$2a41e45df1593e64$export$d39e1813b3bdd0e1","$39EOa$useLocale","targetRef","overlayRef","scrollRef","containerPadding","shouldUpdatePosition","setPosition","$39EOa$useState","lastScale","$39EOa$useRef","$39EOa$useEffect","updatePosition","$39EOa$useCallback","anchor","_document_activeElement","anchorRect","scrollRect","_anchorRect_top","_anchorRect_bottom","overlay","_window_visualViewport","_window_visualViewport_height","$2a41e45df1593e64$var$translateRTL","newOffset","$39EOa$useLayoutEffect","$2a41e45df1593e64$var$useResize","$39EOa$useResizeObserver","isResizing","close","_position_maxHeight","_position_placement","$a11501f3d1d39e6c$var$visibleOverlays","$a11501f3d1d39e6c$export$ea8f71083e90600f","shouldCloseOnBlur","isDismissable","isKeyboardDismissDisabled","shouldCloseOnInteractOutside","$jtpZv$useEffect","index","onHide","$jtpZv$useInteractOutside","$jtpZv$useFocusWithin","$jtpZv$isElementInChildOfActiveScope","onPointerDownUnderlay","$628037886ba31236$export$f9d5c8beee7d008d","$gMvIk$useEffect","ariaHasPopup","overlayId","$gMvIk$useId","$49c51c25361d4cd2$var$visualViewport","$49c51c25361d4cd2$var$nonTextInputTypes","$49c51c25361d4cd2$var$preventScrollCount","$49c51c25361d4cd2$var$restore","$49c51c25361d4cd2$export$ee0f7cc6afcd1c18","$7mMvr$useLayoutEffect","$7mMvr$isIOS","$49c51c25361d4cd2$var$preventScrollMobileSafari","$49c51c25361d4cd2$var$preventScrollStandard","$7mMvr$chain","$49c51c25361d4cd2$var$setStyle","scrollable","restoreScrollableStyles","onTouchStart","$7mMvr$getScrollParent","onTouchMove","$49c51c25361d4cd2$var$willOpenKeyboard","setupStyles","$49c51c25361d4cd2$var$scrollIntoView","restoreStyles","onWindowScroll","scrollX","scrollY","$49c51c25361d4cd2$var$addEvent","removeEvents","cur","nextTarget","scrollableTop","targetTop","$f57aed4a881a3485$var$Context","$4AOtR$react","$f57aed4a881a3485$export$178405afcd8c5eb","$4AOtR$useContext","modalCount","setModalCount","$4AOtR$useState","$4AOtR$useMemo","$f57aed4a881a3485$export$d9aaed4c3ece1bc0","$f57aed4a881a3485$var$OverlayContainerDOM","modalProviderProps","$f57aed4a881a3485$export$bf688221f59024e5","$f57aed4a881a3485$export$b47c3594eab58386","$4AOtR$useIsSSR","portalContainer","contents","$4AOtR$reactdom","$773d5888b972f1cf$exports","$d11f19852b941573$exports","$b983974c2ee1efb3$exports","$5809cc9d4e92de73$exports","$c68c2e4fc74398d1$exports","$0898b4c153db2b77$exports","$6d74810286a15183$exports","$309d73dc65f78055$exports","$44ad94f7205cf593$exports","$7c28f5687f0779a9$exports","$e6d75df4b68bd73a$exports","$87505c9dab186d0f$exports","$553439c3ffb3e492$exports","$74cf411061b983a2$exports","$e933f298574dc435$exports","$ac91fc9fe02f71f6$exports","$52b96f86422025af$exports","$c0d724c3e51dafa6$exports","$c92899672a3fe72e$exports","$9f576b39d8e7a9d6$exports","$9d025808aeec81a7$exports","$fce709921e2c0fa6$exports","$2599cf0c4ab37f59$exports","$3c220ae7ef8a35fd$exports","$93562b5094072f54$exports","$cd9e2abd0d06c7b4$exports","$45375701f409adf1$exports","$27fab53a576de9dd$exports","$4438748d9952e7c7$exports","$0936d7347ef4da4c$exports","$29700c92185d38f8$exports","$662ccaf2be4c25b3$exports","$d80a27deda7cdb3c$exports","$2b2734393847c884$exports","$a2f21f5f14f60553$exports","$k51So$arAEmodulejs","$k51So$bgBGmodulejs","$k51So$csCZmodulejs","$k51So$daDKmodulejs","$k51So$deDEmodulejs","$k51So$elGRmodulejs","$k51So$enUSmodulejs","$k51So$esESmodulejs","$k51So$etEEmodulejs","$k51So$fiFImodulejs","$k51So$frFRmodulejs","$k51So$heILmodulejs","$k51So$hrHRmodulejs","$k51So$huHUmodulejs","$k51So$itITmodulejs","$k51So$jaJPmodulejs","$k51So$koKRmodulejs","$k51So$ltLTmodulejs","$k51So$lvLVmodulejs","$k51So$nbNOmodulejs","$k51So$nlNLmodulejs","$k51So$plPLmodulejs","$k51So$ptBRmodulejs","$k51So$ptPTmodulejs","$k51So$roROmodulejs","$k51So$ruRUmodulejs","$k51So$skSKmodulejs","$k51So$slSImodulejs","$k51So$srSPmodulejs","$k51So$svSEmodulejs","$k51So$trTRmodulejs","$k51So$ukUAmodulejs","$k51So$zhCNmodulejs","$k51So$zhTWmodulejs","$parcel$interopDefault","$86ea4cb521eb2e37$export$2317d149ed6f78c4","onDismiss","stringFormatter","$iYaQO$useLocalizedStringFormatter","$iYaQO$intlStringsmodulejs","labels","$iYaQO$useLabels","onClick","$iYaQO$react","$iYaQO$VisuallyHidden","$5e3802645cc19319$var$refCountMap","$5e3802645cc19319$var$observerStack","$5e3802645cc19319$export$1c3ebcada18427bf","targets","visibleNodes","hiddenNodes","walk","acceptNode","acceptRoot","hide","_refCountMap_get","refCount","changes","change","observerWrapper","$f2f8a6077418541e$export$542a6fd13ac93354","popoverRef","isNonModal","overlayProps","underlayProps","positionProps","arrowProps","$m0yab$useLayoutEffect","$m0yab$mergeProps","$96b38030c423d352$export$60d741e20e0aa309","$7yuSY$createContext","$96b38030c423d352$export$574e9b0fb070c3b0","_useContext","$7yuSY$useContext","$337b884510726a0d$export$a2200b96afd16271","$1CM7W$react","$337b884510726a0d$export$c6fdb837b070b4ff","$1CM7W$useIsSSR","setContain","$1CM7W$useState","contextValue","$1CM7W$useMemo","getContainer","$1CM7W$FocusScope","$1CM7W$ClearPressResponder","$1CM7W$reactdom","$337b884510726a0d$export$14c98a7594375490","$1CM7W$useContext","$1CM7W$useLayoutEffect","$b1f0cad8af73213b$export$3585ede4d035bf14","$b1f0cad8af73213b$var$normalizeKey","$b1f0cad8af73213b$export$9145995848b05025","itemKey","$feb5ffebff200149$export$d3e3bd3e26688c04","$jUnAJ$isAppleDevice","$fb3050f43d946246$var$TYPEAHEAD_DEBOUNCE_WAIT_MS","$fb3050f43d946246$export$e32c88dfddc6e1d8","keyboardDelegate","selectionManager","onTypeSelect","$dAE4Y$useRef","character","$fb3050f43d946246$var$getStringForKey","$ae20dd8cbca75726$export$d6daf82dcd84e87c","manager","delegate","shouldFocusWrap","disallowSelectAll","selectOnFocus","disallowTypeAhead","shouldUseVirtualFocus","allowsTabNavigation","isVirtualized","linkBehavior","$3H3GQ$useLocale","$3H3GQ$useRouter","navigateToKey","childFocus","_scrollRef_current","$3H3GQ$flushSync","item","itemProps","_delegate_getKeyBelow","_delegate_getFirstKey","_delegate_getFirstKey1","nextKey","_delegate_getKeyAbove","_delegate_getLastKey","_delegate_getLastKey1","_delegate_getKeyLeftOf","_delegate_getFirstKey2","_delegate_getLastKey2","_delegate_getKeyRightOf","_delegate_getLastKey3","_delegate_getFirstKey3","firstKey","$3H3GQ$isCtrlKeyPressed","lastKey","$3H3GQ$getFocusableTreeWalker","$3H3GQ$focusWithoutScrolling","scrollPos","$3H3GQ$useRef","$3H3GQ$useEvent","_scrollRef_current1","_scrollRef_current_scrollTop","_scrollRef_current_scrollLeft","navigateToFirstKey","relatedTarget","_manager_lastSelectedKey","_manager_firstSelectedKey","$3H3GQ$getInteractionModality","$3H3GQ$scrollIntoViewport","shouldVirtualFocusFirst","$3H3GQ$FOCUS_EVENT","detail","updateActiveDescendant","$3H3GQ$useEffectEvent","keyToFocus","$3H3GQ$UPDATE_ACTIVEDESCENDANT","$3H3GQ$useUpdateLayoutEffect","resetFocusFirstFlag","$3H3GQ$CLEAR_FOCUS_EVENT","$3H3GQ$useEffect","focusedKey","$3H3GQ$focusSafely","lastFocusedKey","$3H3GQ$scrollIntoView","handlers","typeSelectProps","$3H3GQ$mergeProps","tabIndex","$880e95eb8b93ba9a$export$ecf600387e221c37","shouldSelectOnPressUp","onAction","allowsDifferentPressOrigin","$581M0$useRouter","$581M0$useId","onSelect","$581M0$isCtrlKeyPressed","$581M0$useEffect","$581M0$focusSafely","$581M0$UPDATE_ACTIVEDESCENDANT","isLinkOverride","hasLinkAction","allowsSelection","allowsActions","hasPrimaryAction","hasSecondaryAction","hasAction","$581M0$useRef","longPressEnabled","longPressEnabledOnPressStart","hadPrimaryActionOnPressStart","performAction","itemPressProps","$880e95eb8b93ba9a$var$isSelectionKey","$880e95eb8b93ba9a$var$isActionKey","$581M0$usePress","onDoubleClick","longPressProps","$581M0$useLongPress","onDragStartCapture","$581M0$openLink","$581M0$mergeProps","$657e4dc4a6e88df0$export$8f5ed9ff9f511381","containerRect","itemRect","_container_scrollWidth","_container_scrollHeight","_container_scrollLeft","_container_scrollTop","_container_offsetWidth","_container_offsetHeight","$2a25aae57d74318e$export$a05409b8bb224a5a","_item_props","getNext","shouldSkip","tempKey","prevRect","right","layoutDelegateMethod","menu","$eak97$isScrollable","pageX","pageY","search","fromKey","collection","substring","$982254629710d113$export$b95089534ab7c1fd","disabledKeys","layoutDelegate","collator","$1aJk5$useCollator","disabledBehavior","$1aJk5$useMemo","collectionProps","$c132121280ec012d$export$50eacbbf140a3141","$by1yQ$filterDOMProps","selectionBehavior","listProps","$by1yQ$useSelectableList","$by1yQ$useFocusWithin","$by1yQ$useId","$by1yQ$useLabel","$by1yQ$mergeProps","$eb2240fc39a57fa5$export$bf788dd355e3a401","$eb2240fc39a57fa5$var$iterable","items","$fzaAv$react","partialNode","parentKey","_v_key","_partialNode_index","cached","childNodes","_partialNode_index1","childNode","_childNode_key","nodeKey","$eb2240fc39a57fa5$var$compose","_childNode_value","_ref","_parentNode_type","$eb2240fc39a57fa5$var$capitalize","builder","_partialNode_value","_partialNode_textValue","iterator","cache","iterable","outer","inner","str","$7613b1592d41b092$export$6cd28814d92fa9c9","factory","$lbNth$useMemo","$c5a24bc478652b5f$export$1005530eda016c13","$c5a24bc478652b5f$export$fbdeaa6a76694f71","$c5a24bc478652b5f$export$5f3398f8733f90e2","$c5a24bc478652b5f$export$7475b2c64539e4cf","lastItem","$c5a24bc478652b5f$export$8c434b3a7a4dad6","aAncestors","$c5a24bc478652b5f$var$getAncestors","bAncestors","firstNonMatchingAncestor","parents","currNode","$453cc9f0df89c0a5$var$cache","$453cc9f0df89c0a5$export$77d5aafae4e095b2","countItems","$293f70390ea03370$export$497855f14858aa34","_item_props1","_props_isDisabled","_props_isSelected","_props_shouldSelectOnPressUp","_props_shouldFocusOnHover","shouldFocusOnHover","_props_shouldUseVirtualFocus","_props_isVirtualized","$fcwmx$useSlotId","optionProps","$fcwmx$isMac","$fcwmx$isWebKit","$fcwmx$getItemCount","_data_onAction","$fcwmx$useSelectableItem","$fcwmx$chain","$fcwmx$useHover","$fcwmx$isFocusVisible","$fcwmx$filterDOMProps","$fcwmx$useLinkProps","$fcwmx$mergeProps","$af383d3bef1cfdc9$export$c3f9f39876e4bc7","heading","headingId","$8pE4M$useId","$c0398ad35c3639b7$exports","$7af657c4165927c3$exports","$d95d4da6d531ab81$exports","$24ebda9c775dca17$exports","$743e0dfca6cab1e9$exports","$a2f41026e05f1c84$exports","$43b800e97c901737$exports","$442f5f6ac211e29f$exports","$dff280acfeb2d8ac$exports","$51608325613944d7$exports","$c4a1b1eabeaa87be$exports","$8c74815cdee18d1b$exports","$fd0e9ef6a7fe0ec9$exports","$a89a74a39eba465a$exports","$edc7c66594a0ae8a$exports","$f1ab51510712db52$exports","$f9b672d9b82fa3d6$exports","$a385f3910feda499$exports","$4f1bde932c441789$exports","$914a51a8a594d5be$exports","$89aaf803103bb500$exports","$c685891476dbaaca$exports","$885879b9b10c2959$exports","$6b39616688a51692$exports","$f26362aed63f47e2$exports","$06cbade644558bf0$exports","$0a391ff68f9d59b1$exports","$8193cf0e649c7928$exports","$f398debcce5a5c55$exports","$9e9fef000aa4c013$exports","$c016c8183bbe3d68$exports","$ca4f6c8462244e62$exports","$2d9960c02ccac927$exports","$f1b682a4c8c5631c$exports","$2cbb7ca666678a14$exports","$5FSX7$arAEmodulejs","$5FSX7$bgBGmodulejs","$5FSX7$csCZmodulejs","$5FSX7$daDKmodulejs","$5FSX7$deDEmodulejs","$5FSX7$elGRmodulejs","$5FSX7$enUSmodulejs","$5FSX7$esESmodulejs","$5FSX7$etEEmodulejs","$5FSX7$fiFImodulejs","$5FSX7$frFRmodulejs","$5FSX7$heILmodulejs","$5FSX7$hrHRmodulejs","$5FSX7$huHUmodulejs","$5FSX7$itITmodulejs","$5FSX7$jaJPmodulejs","$5FSX7$koKRmodulejs","$5FSX7$ltLTmodulejs","$5FSX7$lvLVmodulejs","$5FSX7$nbNOmodulejs","$5FSX7$nlNLmodulejs","$5FSX7$plPLmodulejs","$5FSX7$ptBRmodulejs","$5FSX7$ptPTmodulejs","$5FSX7$roROmodulejs","$5FSX7$ruRUmodulejs","$5FSX7$skSKmodulejs","$5FSX7$slSImodulejs","$5FSX7$srSPmodulejs","$5FSX7$svSEmodulejs","$5FSX7$trTRmodulejs","$5FSX7$ukUAmodulejs","$5FSX7$zhCNmodulejs","$5FSX7$zhTWmodulejs","$168583247155ddda$export$dc9c12ed27dd1b49","trigger","menuTriggerId","$czs6v$useId","triggerProps","$czs6v$useOverlayTrigger","$czs6v$useLocalizedStringFormatter","$czs6v$intlStringsmodulejs","$czs6v$useLongPress","$40df3f8667284809$export$d55e7ee900f34e93","titleId","$i6df2$useSlotId","isRefocusing","$i6df2$useRef","$i6df2$useEffect","$i6df2$focusSafely","$i6df2$useOverlayFocusContain","$i6df2$filterDOMProps","$5e910fae8e128ead$export$6e3e27031a30522f","triggerId","$6wN6e$useId","panelId","supportsBeforeMatch","$6wN6e$useIsSSR","$6wN6e$useRef","handleBeforeMatch","$6wN6e$useCallback","$6wN6e$flushSync","$6wN6e$useEvent","$6wN6e$useLayoutEffect","$6wN6e$useEffect","$ce9b18daab526bbd$export$5b9bb410392e3991","$ce9b18daab526bbd$export$f45c25170b9a99c2","_listMap_get","$ce9b18daab526bbd$export$e0c709538cb8ae18","$682989befd4f478d$exports","$f7fca02019afd941$exports","$8f86f40be75387f1$exports","$db24ba43c8d652ee$exports","$f8f1e72c8b5447d6$exports","$9a73ed2983c3ab0b$exports","$583de0b3587601b9$exports","$147159c978043442$exports","$5cbb62c8a19173ac$exports","$a33d71dc804cc59e$exports","$92d800447793d084$exports","$fe732cdb32124ea8$exports","$e41234e934efb4f5$exports","$1b0393182473bf9e$exports","$2eed782c1c110ce7$exports","$8b5d459f86e9b23c$exports","$1949c3ad17295fd4$exports","$f5e3df4dc8aa7b54$exports","$9dd86690a5c2b2c5$exports","$843964c3bf9a7d24$exports","$73f50e845f9ef3b4$exports","$87f92a7e077514b2$exports","$c28c98d58ee9ff6f$exports","$b6b1503b17b2254d$exports","$8bdaeb71e50c3e1a$exports","$ec2b852dd7c3d1f2$exports","$79e6d900d6a4f82d$exports","$f4c1f0d5d4d03d80$exports","$46252cd87269b10b$exports","$d4d5d8dab362555c$exports","$3d55d1f97c377e83$exports","$5368512f1c703a3f$exports","$f1316b1074463583$exports","$7e60654723031b6f$exports","$835c96616a7cb4f9$exports","$ftaEG$arAEmodulejs","$ftaEG$bgBGmodulejs","$ftaEG$csCZmodulejs","$ftaEG$daDKmodulejs","$ftaEG$deDEmodulejs","$ftaEG$elGRmodulejs","$ftaEG$enUSmodulejs","$ftaEG$esESmodulejs","$ftaEG$etEEmodulejs","$ftaEG$fiFImodulejs","$ftaEG$frFRmodulejs","$ftaEG$heILmodulejs","$ftaEG$hrHRmodulejs","$ftaEG$huHUmodulejs","$ftaEG$itITmodulejs","$ftaEG$jaJPmodulejs","$ftaEG$koKRmodulejs","$ftaEG$ltLTmodulejs","$ftaEG$lvLVmodulejs","$ftaEG$nbNOmodulejs","$ftaEG$nlNLmodulejs","$ftaEG$plPLmodulejs","$ftaEG$ptBRmodulejs","$ftaEG$ptPTmodulejs","$ftaEG$roROmodulejs","$ftaEG$ruRUmodulejs","$ftaEG$skSKmodulejs","$ftaEG$slSImodulejs","$ftaEG$srSPmodulejs","$ftaEG$svSEmodulejs","$ftaEG$trTRmodulejs","$ftaEG$ukUAmodulejs","$ftaEG$zhCNmodulejs","$ftaEG$zhTWmodulejs","$92599c3fd427b763$export$137e594ef3218a10","getRowText","_state_collection_getTextValue","_state_collection","_state_collection_getItem","_state_collection_getTextValue1","$4stjr$useLocalizedStringFormatter","$4stjr$intlStringsmodulejs","selection","lastSelection","$4stjr$useRef","$4stjr$useUpdateEffect","_lastSelection_current","addedKeys","$92599c3fd427b763$var$diffSelection","removedKeys","isReplace","currentSelectionText","addedText","removedText","$4stjr$announce","$5b9b5b5723db6ae1$export$be42ebdab07ae4c2","$kh5JA$useLocalizedStringFormatter","$kh5JA$intlStringsmodulejs","$kh5JA$useInteractionModality","shouldLongPress","interactionDescription","$kh5JA$useMemo","$kh5JA$useDescription","$f47efb0c3a859cf2$export$664f9155035607eb","keyboardNavigationBehavior","$lnALe$useSelectableList","$lnALe$useId","$lnALe$useHighlightSelectionDescription","$lnALe$useHasTabbableChild","$lnALe$filterDOMProps","gridProps","$lnALe$mergeProps","$lnALe$useGridSelectionAnnouncement","$4e8b0456ef72939f$var$EXPANSION_KEYS","$4e8b0456ef72939f$export$9610e69494fadfd2","_node_props","_node_props1","$lxFUG$useLocale","$lxFUG$useSlotId","keyWhenFocused","$lxFUG$useRef","$lxFUG$focusSafely","treeGridRowProps","hasChildRows","hasLink","_state_collection_getChildren","_filter_at","isExpanded","setSize","_filter_at_index","_state_collection_getChildren1","_state_collection1","siblings","$lxFUG$getLastItem","row","itemStates","$lxFUG$useSelectableItem","$lxFUG$chain","$lxFUG$getFocusableTreeWalker","focusable","$lxFUG$scrollIntoViewport","$lxFUG$getScrollParent","lastElement","$4e8b0456ef72939f$var$last","$lxFUG$isFocusVisible","syntheticLinkProps","$lxFUG$useSyntheticLinkProps","rowProps","$lxFUG$mergeProps","gridCellProps","$204d9ebcedfb8806$export$ed5abd763a836edc","minValue","maxValue","valueLabel","formatOptions","$2xLm1$filterDOMProps","$2xLm1$useLabel","$2xLm1$clamp","percentage","$2xLm1$useNumberFormatter","valueToFormat","$2xLm1$mergeProps","$58aed456727eb0f3$export$703601b7e90536f8","$58aed456727eb0f3$export$e64b2f635402ca43","$aUnai$useCollator","$aUnai$useMemo","$aUnai$ListKeyboardDelegate","menuTriggerProps","menuProps","$aUnai$useMenuTrigger","$aUnai$useTypeSelect","$aUnai$useField","$aUnai$filterDOMProps","$aUnai$mergeProps","valueId","$aUnai$useId","$aUnai$setInteractionModality","$aUnai$chain","$bdd25dc72710631f$export$f809e80f58e251d1","autoComplete","$8BE50$useVisuallyHidden","$8BE50$useFormReset","$8BE50$useFormValidation","_triggerRef_current","_state_selectedKey","$bdd25dc72710631f$export$cbd84cdb2e668835","selectRef","$8BE50$useRef","containerProps","selectProps","$8BE50$react","$d7323bca8d074eeb$export$653eddfc964b0f8a","$d7323bca8d074eeb$export$4f8b5cda58b7e8ff","$eUtJD$useLocale","$eUtJD$ListKeyboardDelegate","$eUtJD$useField","$eUtJD$useGridList","isFocusWithin","setFocusWithin","$eUtJD$useState","$eUtJD$useFocusWithin","$eUtJD$filterDOMProps","prevCount","$eUtJD$useRef","$eUtJD$useEffect","$eUtJD$mergeProps","$84925f526f90eebd$exports","$c0650163dc1b6f9d$exports","$b2b55661291de587$exports","$deb83970956f6d5b$exports","$aea1cb4c7ec97e1c$exports","$3618d917e503a8d3$exports","$9eb56bbbe8e31294$exports","$361c604b0fc269a3$exports","$2f00170f4ee3ca01$exports","$80ee16b64fab9fb5$exports","$be9d354476c08087$exports","$ffeb903ba092eb35$exports","$1df6722c6f19728b$exports","$093d57e325bc9071$exports","$609dbdfbcad85bdb$exports","$c08e84f882644048$exports","$5cd130489822fa21$exports","$ab5183739b6c5e7e$exports","$dd84a0b574be3f23$exports","$85eee97d14eef7b5$exports","$18781839f93b0314$exports","$1c40ffbbfe9f3bda$exports","$156880e329b1c717$exports","$b6d50b1d20768ce4$exports","$d8c38c691b006187$exports","$ed9b4bf7ce1fb1d7$exports","$51d8721afda4d678$exports","$fd37a27baae493e8$exports","$5505a1ca71ffd6f4$exports","$33670e148c84ad02$exports","$0bf46fdcdd7cb5f6$exports","$9d9765222bc08ca2$exports","$d737296cedcdee9f$exports","$09cd168ab18773f4$exports","$3bb15cc24d006ec5$exports","$6FBua$arAEmodulejs","$6FBua$bgBGmodulejs","$6FBua$csCZmodulejs","$6FBua$daDKmodulejs","$6FBua$deDEmodulejs","$6FBua$elGRmodulejs","$6FBua$enUSmodulejs","$6FBua$esESmodulejs","$6FBua$etEEmodulejs","$6FBua$fiFImodulejs","$6FBua$frFRmodulejs","$6FBua$heILmodulejs","$6FBua$hrHRmodulejs","$6FBua$huHUmodulejs","$6FBua$itITmodulejs","$6FBua$jaJPmodulejs","$6FBua$koKRmodulejs","$6FBua$ltLTmodulejs","$6FBua$lvLVmodulejs","$6FBua$nbNOmodulejs","$6FBua$nlNLmodulejs","$6FBua$plPLmodulejs","$6FBua$ptBRmodulejs","$6FBua$ptPTmodulejs","$6FBua$roROmodulejs","$6FBua$ruRUmodulejs","$6FBua$skSKmodulejs","$6FBua$slSImodulejs","$6FBua$srSPmodulejs","$6FBua$svSEmodulejs","$6FBua$trTRmodulejs","$6FBua$ukUAmodulejs","$6FBua$zhCNmodulejs","$6FBua$zhTWmodulejs","$fc6126c82a4601f1$export$3f568fff7dff2f03","$ioKwR$useLocalizedStringFormatter","$ioKwR$intlStringsmodulejs","buttonId","$ioKwR$useId","onRemove","states","$ioKwR$useGridListItem","stateWithoutDescription","$ioKwR$useInteractionModality","descProps","$ioKwR$useDescription","isItemFocused","$ioKwR$filterDOMProps","$ioKwR$useSyntheticLinkProps","$ioKwR$mergeProps","$326e436e94273fe1$export$1c4b08e0eca38426","$kwmr2$filterDOMProps","$kwmr2$useHover","$kwmr2$mergeProps","$4e1b34546679e357$export$a6da6c504e4bba8b","tooltipId","$6VwSn$useId","$6VwSn$useRef","handleShow","handleHide","immediate","$6VwSn$useEffect","$6VwSn$getInteractionModality","$6VwSn$isFocusVisible","$6VwSn$useHover","$6VwSn$useFocusable","$6VwSn$mergeProps","buttonRecipe","memoize","arg","reactPropsRegex","isPropValid","ButtonRoot","variantKeys","chakraSfp","defaultSystem","shouldForwardProp","Button","as","asChild","localRef","useRef","useObjectRef","mergeRefs","useButton","mergeProps","DialogContent","portalled","portalRef","backdrop","Portal","ChakraDialog","DialogCloseTrigger","DialogRoot","DialogFooter","DialogHeader","DialogBody","DialogBackdrop","DialogTitle","DialogDescription","DialogTrigger","DialogActionTrigger","IconButton","linkRecipe","LinkRoot","Link","useLink","ListRoot","List","ListItem","GridComponent","ChakraSimpleGrid","SimpleGrid","GridItem","TableRoot","Table","TableColumnGroup","TableColumn","TableHeader","TableFooter","TableRow","TableCell","TableBody","TableColumnHeader","Text","ChakraText","$95phC$createContext","$4e85f108e88277b8$export$d688439359537581","$64fa3d84918910a7$export$c62b8e45d58ddad9","$64fa3d84918910a7$export$2881499e37b75b9a","Context","$iETbY$react","$64fa3d84918910a7$export$4d86445c2cf5e3","className","defaultClassName","defaultChildren","defaultStyle","$iETbY$useMemo","computedClassName","computedStyle","computedChildren","$64fa3d84918910a7$export$fabf2dc03a41866e","slot","$iETbY$useContext","availableSlots","slotKey","$64fa3d84918910a7$export$29f1550f4b0d4415","contextRef","mergedRef","$iETbY$useObjectRef","$iETbY$mergeRefs","mergedProps","$iETbY$mergeProps","renderProps","contextStyle","$64fa3d84918910a7$export$9d4c57ee4c6ffdd8","hasSlot","setHasSlot","$iETbY$useState","hasRun","$iETbY$useRef","$iETbY$useCallback","$iETbY$useLayoutEffect","$64fa3d84918910a7$export$ef03459518577ad4","$23b9f4fcf0fe224b$export$d68d59712b04d9d1","$23b9f4fcf0fe224b$export$408d25a4e12db025","keyMap","_node_key","_this_keyMap_get","Constructor","filterFn","newCollection","clonedSection","lastChildInSection","clonedChild","clonedSeparator","clonedNode","lastSection","$681cc3c98f569e39$export$410b0c854570d131","firstChild","lastChild","previousSibling","nextSibling","_this_parentNode","newNode","referenceNode","$681cc3c98f569e39$export$dc064fe9e59310fd","_this_previousSibling","_this_nextSibling","_this_firstChild","_this_lastChild","_this_previousSibling_node_key","_this_nextSibling_node_key","_this_firstChild_node_key","_this_lastChild_node_key","rendered","render","textValue","$681cc3c98f569e39$export$b34a105447964f9f","$e948873055cbafe4$export$727c8fc270210f13","idScope","addIdAndValue","$luMFQ$useMemo","_rendered_props_id","$luMFQ$cloneElement","getFirstChild","$f39a9eba43920ace$export$94b6d0abf7d33e8c","$8SdCi$createContext","$f39a9eba43920ace$var$hiddenFragment","$f39a9eba43920ace$export$8dc98ba7eadeaa56","isHidden","$8SdCi$useContext","$8SdCi$useIsSSR","$8SdCi$react","$8SdCi$createPortal","$f39a9eba43920ace$export$86427a43e3e48ebb","Wrapper","$8SdCi$forwardRef","$f39a9eba43920ace$export$b5d7cc18bb8d2b59","React","require$$0","is","objectIs","useState","useEffect","useLayoutEffect","useDebugValue","useSyncExternalStore$2","subscribe","getSnapshot","_useState","inst","forceUpdate","checkIfSnapshotChanged","latestGetSnapshot","nextValue","useSyncExternalStore$1","shim","useSyncExternalStoreShim_production","didWarnOld18Alpha","didWarnUncachedGetSnapshot","cachedValue","useSyncExternalStoreShim_development","shimModule","require$$1","$e1995378a142960e$var$ShallowRenderContext","$95feo$createContext","$e1995378a142960e$var$CollectionDocumentContext","$e1995378a142960e$export$bf788dd355e3a401","$95feo$useContext","document","$e1995378a142960e$var$useCollectionDocument","$95feo$react","$e1995378a142960e$var$CollectionInner","$e1995378a142960e$var$useSyncExternalStoreFallback","getServerSnapshot","$95feo$useIsSSR","isSSRRef","$95feo$useRef","getSnapshotWrapper","$95feo$useCallback","$95feo$useSyncExternalStore","$e1995378a142960e$var$useSyncExternalStore","createCollection","$95feo$useState","$95feo$useLayoutEffect","$e1995378a142960e$var$SSRContext","$e1995378a142960e$var$useSSRCollectionNode","Type","itemRef","$e1995378a142960e$export$18af5c7a9e9b3664","Component","Result","$95feo$forwardRef","$e1995378a142960e$export$e953bb1cd0f19726","useChildren","$e1995378a142960e$var$useCollectionChildren","_useSSRCollectionNode","$e1995378a142960e$var$CollectionContext","$e1995378a142960e$export$fb8073518f34e6ec","$e1995378a142960e$var$CollectionRoot","$95feo$useMemo","doc","wrappedChildren","$95feo$createPortal","$01b77f81d0f07f68$export$75b6ee27786ba447","$kc2Tc$createContext","$0393f8ab869a0f1a$export$e9f3bf65a26ce129","$hU2kz$createContext","$d2b4bc8c273e7be6$var$additionalButtonHTMLAttributes","$d2b4bc8c273e7be6$export$24d547caef80ccd1","$fM325$createContext","$d2b4bc8c273e7be6$export$353f5b6fc5456de1","$fM325$createHideableComponent","$d2b4bc8c273e7be6$var$disablePendingProps","isPending","$fM325$useButton","$fM325$useFocusRing","$fM325$useHover","renderValues","$fM325$useId","progressId","wasPending","$fM325$useRef","$fM325$useEffect","$fM325$announce","$fM325$react","$fM325$filterDOMProps","$fM325$mergeProps","$514c0188e459b4c0$export$9afb8bc826b033ea","$1B3Dx$createContext","$ee014567cb39d3f0$export$ff05c3ac10437e03","$hnYyE$createContext","$a02d57049d202695$export$d085fb9e920b5ca7","_node_prevKey","_node_nextKey","idx","visit","_last_key","$e40ea825a81a3709$export$52baac22726c72bf","anchorKey","currentKey","$7af3f5b51489e0b5$var$equalSets","setA","setB","$7af3f5b51489e0b5$export$253fe78d46329472","allowDuplicateSelectionEvents","selectionBehaviorProp","isFocusedRef","$6tM1y$useRef","$6tM1y$useState","focusedKeyRef","childFocusStrategyRef","setFocusedKey","selectedKeysProp","$6tM1y$useMemo","$7af3f5b51489e0b5$var$convertSelection","defaultSelectedKeys","$6tM1y$useControlledState","disabledKeysProp","setSelectionBehavior","lastSelectionBehavior","$6tM1y$useEffect","childFocusStrategy","$d496c0a20b6e58ec$export$6c8a5aaad13c9852","mappedKey","allKeys","first","$jkhUT$compareNodeOrder","_first_key","toKey","mappedToKey","_selectedKeys_anchorKey","_selectedKeys_currentKey","to","fromItem","toItem","_this_layoutDelegate","addKeys","_getFirstItem","_getFirstItem_key","$jkhUT$getFirstItem","$jkhUT$getChildNodes","_this_collection_getItem_props","_this_collection_getItem","_options_allowsCellSelection","$e72dd72e1c76a225$export$2f645645f7bca764","filter","selectionState","$d5vlZ$useMultipleSelectionState","$d5vlZ$useMemo","$d5vlZ$useCallback","$d5vlZ$useCollection","$d5vlZ$SelectionManager","cachedCollection","$d5vlZ$useRef","$d5vlZ$useEffect","startItem","cachedItemNodes","itemNode","itemNodes","_cachedItemNodes_length","_itemNodes_length","diff","_startItem_index","_startItem_index1","_itemNodes_length1","isReverseSearching","_startItem_index2","_startItem_index3","$a0d645289fe9b86b$export$e7f05e985daf4b5f","_props_defaultSelectedKey","selectedKey","setSelectedKey","$eBozH$useControlledState","$eBozH$useMemo","_keys_values_next_value","selectedItem","$fc909762b330b746$export$61c6a8c84e605fb6","setOpen","$hnMvi$useControlledState","$hnMvi$useCallback","toggle","$bf996d45f4a36925$export$3fcbf6e4407997e0","setExpanded","$acGV5$useControlledState","expand","$acGV5$useCallback","collapse","$9385b3affbdec831$export$f36461af0ef4707d","allowsMultipleExpanded","expandedKeys","setExpandedKeys","$j4gLc$useControlledState","$j4gLc$useMemo","$j4gLc$useEffect","$a28c903ee9ad8dc5$export$79fefeb1c2091ac3","overlayTriggerState","$8bn9m$useOverlayTriggerState","focusStrategy","setFocusStrategy","$8bn9m$useState","expandedKeysStack","setExpandedKeysStack","closeAll","triggerKey","level","oldStack","$2bc3a590c5373a4e$export$5159ec8b34d4ec12","triggerState","$6FfNf$useOverlayTriggerState","$6FfNf$useState","listState","$6FfNf$useSingleSelectListState","$6FfNf$useFormValidationState","$8796f90736e175cb$var$TOOLTIP_DELAY","$8796f90736e175cb$var$TOOLTIP_COOLDOWN","$8796f90736e175cb$var$tooltips","$8796f90736e175cb$var$tooltipId","$8796f90736e175cb$var$globalWarmedUp","$8796f90736e175cb$var$globalWarmUpTimeout","$8796f90736e175cb$var$globalCooldownTimeout","$8796f90736e175cb$export$4d40659c25ecb50b","delay","closeDelay","$50cCT$useOverlayTriggerState","$50cCT$useMemo","closeTimeout","$50cCT$useRef","closeCallback","ensureTooltipEntry","hideTooltip","closeOpenTooltips","hideTooltipId","showTooltip","warmupTooltip","$50cCT$useEffect","$d3e0e05bdfcf66bd$export$c24727297075ec6a","$j6ya4$createContext","$3985021b0ad6602f$export$37fb8590cf2c088c","$jMZTB$createContext","$3985021b0ad6602f$var$filterHoverProps","$3985021b0ad6602f$export$f5b8910cec6cf069","$jMZTB$createHideableComponent","$jMZTB$useHover","$jMZTB$useFocusRing","$jMZTB$react","$jMZTB$mergeProps","$216918bed6669f72$export$2dc6166a7e65358c","$9Usiy$createContext","$bcdf0525bf22703d$export$2129e27b3ef0d483","$jmnGn$createContext","$bcdf0525bf22703d$export$2c73285ae9390cec","$jmnGn$forwardRef","formValidationBehavior","_props_validationBehavior","$jmnGn$useRef","inputContextProps","mergedInputRef","labelRef","setInputElementType","$jmnGn$useState","validation","$jmnGn$useTextField","inputOrTextAreaRef","$jmnGn$useCallback","DOMProps","$jmnGn$filterDOMProps","$jmnGn$react","$jmnGn$mergeProps","$d2f53cda644affe3$export$65d2a03b8800d6e3","$llkzs$createContext","$7135fc7d473fd974$export$d40e14dec8b060a8","$18I52$createContext","$7135fc7d473fd974$export$a164736487e3f0ae","renderDropIndicator","$7135fc7d473fd974$var$useCollectionRender","$18I52$useCachedChildren","_collection_getItem","keyAfter","$18I52$react","$7135fc7d473fd974$export$4feb769f8ddf26c5","$7135fc7d473fd974$export$90e00781bc59d8f9","$18I52$useMemo","$e038a7e7a6d81989$exports","$0ec14741b0133644$exports","$642f7badf2405784$exports","$30cee8d2535734ec$exports","$c302d0504fca332a$exports","$0d0703f2bd7e421c$exports","$cafa55beb2fc5ef3$exports","$18ac2ceede598103$exports","$718705a15b8a633a$exports","$bf36dae9ecc81ce0$exports","$0b4828edb010b855$exports","$0030f210b040e540$exports","$1f0ebacf5a0c0fa1$exports","$3a706ba61f3d6bba$exports","$0d17809e74607796$exports","$65a71f9a56f1398f$exports","$e5efad074a74abef$exports","$d70c2a849e55c607$exports","$009bbbb440d0e907$exports","$9366fe642464ee83$exports","$62f9bc1f98ea21de$exports","$4ec2e5b6623b1b76$exports","$e25098e26647cc04$exports","$dd39c57d242c8156$exports","$3b4c1ba5afd57b35$exports","$a455b2cda79eb746$exports","$b983ca1383d5b960$exports","$32a515ef673b0655$exports","$89434176ab35446b$exports","$727da781aca847f9$exports","$fcd2d84b9a2d489c$exports","$2422ac328687ee23$exports","$c9a532d1c973af61$exports","$34de119f14549a4b$exports","$df39c1238ae2b5f3$exports","$bK1z9$arAEmodulejs","$bK1z9$bgBGmodulejs","$bK1z9$csCZmodulejs","$bK1z9$daDKmodulejs","$bK1z9$deDEmodulejs","$bK1z9$elGRmodulejs","$bK1z9$enUSmodulejs","$bK1z9$esESmodulejs","$bK1z9$etEEmodulejs","$bK1z9$fiFImodulejs","$bK1z9$frFRmodulejs","$bK1z9$heILmodulejs","$bK1z9$hrHRmodulejs","$bK1z9$huHUmodulejs","$bK1z9$itITmodulejs","$bK1z9$jaJPmodulejs","$bK1z9$koKRmodulejs","$bK1z9$ltLTmodulejs","$bK1z9$lvLVmodulejs","$bK1z9$nbNOmodulejs","$bK1z9$nlNLmodulejs","$bK1z9$plPLmodulejs","$bK1z9$ptBRmodulejs","$bK1z9$ptPTmodulejs","$bK1z9$roROmodulejs","$bK1z9$ruRUmodulejs","$bK1z9$skSKmodulejs","$bK1z9$slSImodulejs","$bK1z9$srSPmodulejs","$bK1z9$svSEmodulejs","$bK1z9$trTRmodulejs","$bK1z9$ukUAmodulejs","$bK1z9$zhCNmodulejs","$bK1z9$zhTWmodulejs","$612b8eb6cb90e02d$export$d188a835a7bc5783","$f3JOg$createContext","$612b8eb6cb90e02d$export$f55761759794cf55","$612b8eb6cb90e02d$export$62ed72bc21f6b8a6","$f3JOg$forwardRef","$f3JOg$useContext","$f3JOg$react","$612b8eb6cb90e02d$export$971707d8a129a1f7","dragAndDropHooks","dropState","_dragAndDropHooks_isVirtualDragging","isVirtualDragging","$f3JOg$useCallback","$612b8eb6cb90e02d$export$d1e8e3fbb7461f6","_dropState_target","dropTargetKey","_dropState_collection_getKeyAfter","$f3JOg$useMemo","$72a5793c14baf454$export$e0e4026c12a8bdbb","$i47tY$createContext","$72a5793c14baf454$export$8b251419efc915eb","$i47tY$createLeafComponent","$i47tY$react","$431f98aba6844401$export$6615d83f6de245ce","$i9JCE$createContext","$eed445e0843c11d0$export$7ff8f37d2d81a48d","$e8Bmu$createContext","$eed445e0843c11d0$export$7c5906fe4f1f2af2","$eed445e0843c11d0$export$41f133550aa26f48","$e8Bmu$forwardRef","$e8Bmu$useContext","$e8Bmu$react","$eed445e0843c11d0$var$ListBoxInner","$e8Bmu$CollectionBuilder","$e8Bmu$Collection","$eed445e0843c11d0$var$StandaloneListBox","listBoxRef","collectionRef","$e8Bmu$useObjectRef","$e8Bmu$useMemo","$e8Bmu$mergeRefs","filteredCollection","$e8Bmu$useListState","layout","isListDraggable","isListDroppable","$e8Bmu$useLocale","$e8Bmu$useCollator","ctxDropTargetDelegate","CollectionRoot","$e8Bmu$ListKeyboardDelegate","listBoxProps","$e8Bmu$useListBox","dragHooksProvided","$e8Bmu$useRef","dropHooksProvided","$e8Bmu$useEffect","dragState","droppableCollection","isRootDropTarget","dragPreview","preview","DragPreview","dropTargetDelegate","$e8Bmu$useFocusRing","emptyState","$e8Bmu$FocusScope","$e8Bmu$filterDOMProps","$e8Bmu$mergeProps","$eed445e0843c11d0$var$ListBoxDropIndicatorWrapper","$eed445e0843c11d0$var$ListBoxSectionInner","section","CollectionBranch","headingRef","_props_arialabel","headingProps","groupProps","$e8Bmu$useListBoxSection","$eed445e0843c11d0$export$dca12b0bb56e4fc","$e8Bmu$createBranchComponent","$eed445e0843c11d0$export$a11e76429ed99b4","$e8Bmu$createLeafComponent","$e8Bmu$useOption","$e8Bmu$useHover","draggableItem","droppableItem","isDragging","ElementType","dropIndicatorProps","isDropTarget","$eed445e0843c11d0$var$ListBoxDropIndicatorForwardRef","$eed445e0843c11d0$var$ListBoxDropIndicator","$44f671af83e7d9e0$export$2de4954e8ae13b9f","$8wt2Z$createContext","$07b14b47974efb58$export$9b9a0cd73afb7ca4","$ehFet$createContext","$07b14b47974efb58$export$5b6b19405a83ff9d","$ehFet$forwardRef","contextState","$ehFet$useContext","$de32f1b87079253c$export$d2f961adcb0afbe","localState","$ehFet$useOverlayTriggerState","$ehFet$useExitAnimation","$ehFet$useIsHidden","$ehFet$react","$07b14b47974efb58$var$PopoverInner","UNSTABLE_portalContainer","arrowRef","$ehFet$useRef","arrowWidth","setArrowWidth","$ehFet$useState","$ehFet$useLayoutEffect","_props_offset","popoverProps","$ehFet$usePopover","$ehFet$useEnterAnimation","$ehFet$Overlay","$ehFet$mergeProps","$ehFet$filterDOMProps","$ehFet$DismissButton","$3674c52c6b3c5bce$export$795aec4671cbae19","$kM2ZM$createContext","$de32f1b87079253c$export$8b93a07348a7730c","$6IYYA$createContext","$de32f1b87079253c$export$2e1e1122cf0cba88","$6IYYA$useMenuTriggerState","buttonRef","$6IYYA$useRef","$6IYYA$useOverlayTrigger","$6IYYA$useId","$6IYYA$react","$6IYYA$PressResponder","$de32f1b87079253c$export$3ddf2d174ce01153","$6IYYA$forwardRef","originalAriaLabelledby","dialogProps","titleProps","$6IYYA$useDialog","$6IYYA$useContext","$6IYYA$filterDOMProps","$82d7e5349645de74$export$7540cee5be7dc19b","$akiWb$createContext","$82d7e5349645de74$export$ef445b55be0601bd","$82d7e5349645de74$export$ef9b1a59e592288f","$akiWb$forwardRef","content","$akiWb$useMemo","$akiWb$react","$akiWb$CollectionBuilder","$82d7e5349645de74$var$SelectInner","$akiWb$useSelectState","$akiWb$useFocusRing","$akiWb$useRef","valueProps","$akiWb$useSelect","buttonWidth","setButtonWidth","$akiWb$useState","$akiWb$useCallback","$akiWb$useResizeObserver","renderPropsState","$akiWb$filterDOMProps","$82d7e5349645de74$export$f8f745c04421623f","$akiWb$HiddenSelect","$82d7e5349645de74$export$e288731fd71264f0","_state_selectedItem","_state_selectedItem1","$akiWb$useContext","placeholder","$akiWb$useLocalizedStringFormatter","$akiWb$intlStringsmodulejs","_state_selectedItem_value","_state_selectedItem_textValue","$eaf9e70818b436db$export$5b07b5dd2cbd96e3","$7lruP$createContext","$eaf9e70818b436db$export$e755ce3685dd0ca9","$eaf9e70818b436db$export$67ea30858aaf75e3","$7lruP$forwardRef","$7lruP$react","$7lruP$CollectionBuilder","$eaf9e70818b436db$var$TagGroupInner","tagListRef","$7lruP$useRef","$7lruP$useListState","$7lruP$filterDOMProps","domPropOverrides","$7lruP$useTagGroup","_props_className","$eaf9e70818b436db$export$f9fef0f55402315b","$7lruP$useContext","$eaf9e70818b436db$var$TagListInner","$7lruP$Collection","$7lruP$useFocusRing","persistedKeys","$7lruP$mergeProps","$eaf9e70818b436db$export$3288d34c523a1192","$7lruP$createLeafComponent","$7lruP$useObjectRef","removeButtonProps","$7lruP$useTag","$7lruP$useHover","$7lruP$useEffect","$84b7d8702d4ff4a8$export$298258635ae0dd97","$1lXgK$createContext","$84b7d8702d4ff4a8$export$a8a71863db173133","$84b7d8702d4ff4a8$export$40258cc1d95ff477","$1lXgK$forwardRef","$1lXgK$useToggleGroupState","$1lXgK$useToggleButtonGroup","$1lXgK$react","$efde0372d7a700fe$export$43506d75ebd2e218","$jrJ9L$createContext","$efde0372d7a700fe$export$d2b052e7b4be1756","$jrJ9L$forwardRef","groupState","$jrJ9L$useContext","$jrJ9L$useToggleState","$jrJ9L$useToggleButtonGroupItem","$jrJ9L$useToggleButton","$jrJ9L$useFocusRing","$jrJ9L$useHover","$jrJ9L$react","$jrJ9L$mergeProps","$4e3b923658d69c60$export$7a7623236eec67fa","$cCslV$createContext","$4e3b923658d69c60$export$39ae08fa83328b12","$4e3b923658d69c60$export$8c610744efcf8a1d","$cCslV$useTooltipTriggerState","$cCslV$useRef","tooltipProps","$cCslV$useTooltipTrigger","$cCslV$react","$cCslV$FocusableProvider","$4e3b923658d69c60$export$28c660c63b792dea","$cCslV$forwardRef","$cCslV$useContext","$cCslV$useExitAnimation","$cCslV$OverlayContainer","$4e3b923658d69c60$var$TooltipInner","$cCslV$useState","$cCslV$useLayoutEffect","$cCslV$useOverlayPosition","$cCslV$useEnterAnimation","$cCslV$mergeProps","$cCslV$useTooltip","tooltipRecipe","TooltipRoot","Tooltip","RATooltip","TooltipTrigger","RATooltipTrigger","MakeElementFocusable","useFocusable","isValidElement","cloneElement","M","u","m","l","h","d","w","S","R","c","I","O","U","z","J","V","N","H","T","E","o","C","W","P","L","g","D","A","Q","ColorModeProvider","ThemeProvider","useColorMode","resolvedTheme","setTheme","useTheme","useColorModeValue","light","dark","colorMode","ColorModeLabel","animationStyles","defineAnimationStyles","transformBreakpoints","transformed","_a","breakpoints","themeTokens","globalCss","defineGlobalStyles","keyframes","layerStyles","defineLayerStyles","codeRecipe","headingRecipe","kbdRecipe","textInputRecipe","recipes","colors","defineSemanticTokens","shadows","radii","semanticTokens","dialogSlotRecipe","defineSlotRecipe","listSlotRecipe","tableSlotRecipe","checkboxSlotRecipe","selectSlotRecipe","accordionSlotRecipe","tagGroupSlotRecipe","slotRecipes","textStyles","defineTextStyles","aspectRatios","defineTokens","blurs","borders","durations","easings","fonts","fontSizes","fontWeights","convertPercentToEm","acc","emValue","letterSpacings","lineHeights","spacing","sizes","zIndex","cursor","tokens","themeConfig","defineConfig","system","createSystem","defaultBaseConfig","useColorScheme","colorScheme","setColorScheme","getCurrentColorScheme","htmlElement","newColorScheme","NimbusProvider","ChakraProvider","Fragment","extractStyleProps","styleProps","withProvider","createSlotRecipeContext","CheckboxRoot","CheckboxLabel","CheckboxIndicator","Checkbox","recipe","useSlotRecipe","recipeProps","restProps","useToggleState","useCheckbox","useFocusRing","stateProps","jsxs","Check","Minus","VisuallyHidden","Stack","ChakraStack","leftoverProps","ReactAriaViusallyHidden","TextInputRoot","TextInput","useRecipe","leftOverProps","textfieldProps","TextField","Input","ChakraGrid","Grid","SelectRootSlot","SelectTriggerSlot","SelectTriggerLabelSlot","SelectOptionsSlot","SelectOptionSlot","SelectOptionGroupSlot","SelectClearButton","useContext","SelectStateContext","CloseIcon","SelectRoot","isLoading","restRecipeProps","raSelectProps","RaSelect","chakra","RaButton","RaSelectValue","Flex","SpinnerIcon","DropdownIndicatorIcon","RaPopover","fixedForwardRef","SelectOptions","RaListBox","SelectOption","RaListBoxItem","SelectOptionGroup","RaListBoxSection","RaHeader","Collection","Select","_SelectRoot","_SelectOptions","_SelectOption","_SelectOptionGroup","AccordionRoot","AccordionDisclosure","AccordionTrigger","AccordionPanel","AccordionTitle","HeaderRightContent","ItemContext","createContext","DisclosureGroupStateContext","AccordionGroup","onExpandedChange","useDisclosureGroupState","AccordionRootSlot","AccordionHeader","headerContent","KeyboardArrowRight","AccordionContent","AccordionItem","useId","itemValue","expanded","useDisclosureState","panelRef","disabled","panelProps","useDisclosure","finalButtonProps","Accordion","loadingSpinnerRecipe","LoadingSpinnerRoot","circlePath","pointerPath","LoadingSpinner","progressBarProps","useProgressBar","cardRecipe","CardRoot","CardHeader","CardContent","CardContext","headerNode","setHeader","contentNode","setContent","useMemo","CardRootSlot","slotElement","CardHeaderSlot","CardContentSlot","Card","badgeRecipe","BadgeRoot","Badge","alertRecipe","AlertRoot","AlertTitle","AlertDescription","AlertIcon","AlertActions","AlertDismissButton","getIconFromTone","tone","ErrorOutline","Info","WarningAmber","CheckCircleOutline","AlertContext","titleNode","setTitle","descriptionNode","setDescription","actionsNode","setActions","dismissNode","setDismiss","AlertRootSlot","AlertTitleSlot","AlertDescriptionSlot","AlertActionsSlot","AlertDismissButtonSlot","Clear","Alert","buttonGroupRecipe","_b","_c","_d","ToggleButtonGroupRoot","RacToggleButtonGroup","ToggleButtonGroupButton","RacToggleButton","ToggleButtonGroupRootSlot","ToggleButtonGroupButtonSlot","ToggleButtonGroup","columnLayout","rowLayout","formFieldRecipe","FormFieldRootSlot","FormFieldLabelSlot","FormFieldInputSlot","FormFieldDescriptionSlot","FormFieldErrorSlot","FormFieldPopoverSlot","FormFieldRoot","setContext","useField","FormFieldContext","HelpOutline","Popover","Dialog","Children","FormFieldLabel","labelSlotProps","FormFieldInput","inputSlotProps","FormFieldDescription","descriptionSlotProps","FormFieldError","errorSlotProps","FormFieldInfoBox","FormField","TagGroupRootSlot","RaTagGroup","TagGroupTagListSlot","RaTagList","TagGroupTagSlot","RaTag","TagGroupRoot","TagGroupTagList","TagGroupTag","allowsRemoving","TagGroup","_extends","reservedModifierKeywords","mappedKeys","mapKey","isHotkeyModifier","parseKeysHookInput","splitKey","parseHotkey","hotkey","combinationKey","singleCharKeys","pushToCurrentlyPressedKeys","removeFromCurrentlyPressedKeys","currentlyPressedKeys","isReadonlyArray","isHotkeyPressed","hotkeyArray","maybePreventDefault","preventDefault","isHotkeyEnabled","enabled","isKeyboardEventTriggeredByInput","ev","isHotkeyEnabledOnTag","enabledOnTags","composed","targetTagName","isCustomElement","tag","_targetTagName","isScopeActive","activeScopes","scopes","isHotkeyMatchingKeyboardEvent","ignoreModifiers","meta","mod","shift","ctrl","pressedKeyUppercase","keyCode","pressedKey","BoundHotkeysProxyProvider","useBoundHotkeysProxy","deepEqual","isEqual","HotkeysContext","useHotkeysContext","useDeepEqualMemo","useSafeLayoutEffect","useHotkeys","setRef","hasTriggeredRef","_options","_keys","_deps","memoisedCB","useCallback","cbRef","memoisedOptions","_useHotkeysContext","enabledScopes","proxy","isKeyUp","_e$target","rootNode","_hotkey$keys","handleKeyDown","handleKeyUp","domNode","useMountedState","mountedRef","get","useSetState","initialState","set","setState","patch","prevState","toggleSelection","active","ranges","range","deselectCurrent","clipboardToIE11Formatting","defaultMessage","format","copyKey","copy","text","debug","reselectPrevious","mark","success","successful","err","copyToClipboard","useCopyToClipboard","isMounted","noUserInteraction","normalizedValue","writeText"],"mappings":";;;;;;;;AAEO,MAAMA,KAAeC,GAAa;AAAA,EACvC,WAAW;AAAA,EACX,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,gBAAgB;AAAA,IAChB,eAAe;AAAA,IACf,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,YAA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AAA,YACP,mBAAmB;AAAA,UACvC,CAAiB;AACD;AAAA,QAChB;AACY,QAAAmsE,IAAkB9jG,EAAM,SAAU,GAClC6jG,IAAoBE,GAAUD,CAAe,GAC7CxB,EAAS;AAAA,UACL,OAAOwB;AAAA,UACP,OAAO;AAAA,UACP,mBAAmBD;AAAA,QACnC,CAAa;AAAA,MACb,SACelsE,GAAO;AACV,QAAA2qE,EAAS;AAAA,UACL,OAAOwB;AAAA,UACP,OAAOnsE;AAAA,UACP,mBAAmBksE;AAAA,QACnC,CAAa;AAAA,MACb;AAAA;AAAA,EACK,GAAE,EAAE;AACL,SAAO,CAACpyF,GAAOiyF,CAAe;AAClC;","x_google_ignoreList":[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,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,273,274,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,372,479,480,481,482,483,484]}