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AAiC,OAAA,OAAAzE,CAAA,EAA+BT,EAAAgI,KAAA,YAAoB,aAAArF,EAAA,EAAgB3C,EAAAyG,WAAA,YAA0B,YAAArB,MAAA,GAAAqB,WAAA,IAAmCzG,EAAA0E,QAAA,YAAuB,YAAAU,MAAA,GAAAsB,WAAA,IAAoC,IAAArG,EAAAL,EAAAoF,MAAA,CAAepF,EAAAoF,MAAA,UAAA3E,CAAA,EAAqB,YAAAA,GAAA,KAAAqC,OAAA,CAAApC,EAAA,KAAAsF,MAAA,6BAAAZ,MAAA,GAAA/E,EAAAgH,IAAA,QAA6F,IAAAnH,EAAAF,EAAAuG,IAAA,CAAavG,EAAAuG,IAAA,UAAA9F,CAAA,CAAAzI,CAAA,CAAA8H,CAAA,EAAuB,GAAAW,GAAA,KAAAkC,EAAA,GAAAlC,EAAAkC,EAAA,QAAAzC,EAAAmH,IAAA,MAAA5G,EAAAzI,EAAA8H,GAA+C,IAAA9S,EAAA,KAAAsa,KAAA,GAAAnH,EAAAO,EAAAD,GAAA6G,KAAA,GAAkC,OAAApH,EAAAmH,IAAA,CAAAra,EAAAmT,EAAAnI,EAAA8H,EAAA,IAA9mEmH,EAAAC,OAAA,CAAAlP","sources":["webpack://_N_E/./node_modules/@mui/base/useMenuButton/useMenuButton.js","webpack://_N_E/./node_modules/@mui/base/MenuButton/menuButtonClasses.js","webpack://_N_E/./node_modules/@mui/base/MenuButton/MenuButton.js","webpack://_N_E/./node_modules/@mui/base/useList/useListItem.js","webpack://_N_E/./node_modules/@mui/base/useCompound/useCompoundItem.js","webpack://_N_E/./node_modules/@mui/base/useMenuItem/useMenuItem.js","webpack://_N_E/./node_modules/@mui/base/useMenuItem/useMenuItemContextStabilizer.js","webpack://_N_E/./node_modules/@mui/base/MenuItem/MenuItem.js","webpack://_N_E/./node_modules/@mui/base/MenuItem/menuItemClasses.js","webpack://_N_E/./node_modules/@mui/base/useTransition/useTransitionStateManager.js","webpack://_N_E/./node_modules/@mui/base/Transitions/CssTransition.js","webpack://_N_E/./node_modules/@mui/base/Unstable_Popup/PopupContext.js","webpack://_N_E/./node_modules/@mui/base/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js","webpack://_N_E/./node_modules/@mui/base/generateUtilityClass/index.js","webpack://_N_E/./node_modules/@mui/base/generateUtilityClasses/index.js","webpack://_N_E/./node_modules/@mui/base/node_modules/@mui/utils/esm/composeClasses/composeClasses.js","webpack://_N_E/./node_modules/@mui/base/node_modules/@mui/utils/esm/extractEventHandlers/extractEventHandlers.js","webpack://_N_E/./node_modules/@mui/base/node_modules/@mui/utils/esm/setRef/setRef.js","webpack://_N_E/./node_modules/@mui/base/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js","webpack://_N_E/./node_modules/@mui/base/node_modules/@mui/utils/esm/useForkRef/useForkRef.js","webpack://_N_E/./node_modules/@mui/base/node_modules/@mui/utils/esm/useId/useId.js","webpack://_N_E/./node_modules/@mui/base/node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js","webpack://_N_E/./node_modules/@mui/base/node_modules/@mui/utils/esm/appendOwnerState/appendOwnerState.js","webpack://_N_E/./node_modules/@mui/base/node_modules/@mui/utils/esm/omitEventHandlers/omitEventHandlers.js","webpack://_N_E/./node_modules/@mui/base/node_modules/@mui/utils/esm/mergeSlotProps/mergeSlotProps.js","webpack://_N_E/./node_modules/@mui/base/node_modules/@mui/utils/esm/resolveComponentProps/resolveComponentProps.js","webpack://_N_E/./node_modules/@mui/base/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js","webpack://_N_E/./node_modules/@mui/base/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js","webpack://_N_E/./node_modules/@mui/base/utils/useRootElementName.js","webpack://_N_E/./node_modules/@mui/base/useButton/useButton.js","webpack://_N_E/./node_modules/@mui/base/useCompound/useCompoundParent.js","webpack://_N_E/./node_modules/@mui/base/useDropdown/DropdownContext.js","webpack://_N_E/./node_modules/@mui/base/useDropdown/useDropdown.types.js","webpack://_N_E/./node_modules/@mui/base/useList/ListContext.js","webpack://_N_E/./node_modules/@mui/base/useList/listActions.types.js","webpack://_N_E/./node_modules/@mui/base/useTransition/TransitionContext.js","webpack://_N_E/./node_modules/@mui/base/utils/ClassNameConfigurator.js","webpack://_N_E/./node_modules/@mui/base/utils/combineHooksSlotProps.js","webpack://_N_E/./node_modules/dayjs/dayjs.min.js","webpack://_N_E/./node_modules/dayjs/plugin/minMax.js","webpack://_N_E/./node_modules/dayjs/plugin/utc.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { unstable_useForkRef as useForkRef } from '@mui/utils';\nimport { DropdownContext } from \"../useDropdown/DropdownContext.js\";\nimport { DropdownActionTypes } from \"../useDropdown/useDropdown.types.js\";\nimport { useButton } from \"../useButton/useButton.js\";\nimport { combineHooksSlotProps } from \"../utils/combineHooksSlotProps.js\";\nimport { extractEventHandlers } from \"../utils/index.js\";\n\n/**\n *\n * Demos:\n *\n * - [Menu](https://mui.com/base-ui/react-menu/#hooks)\n *\n * API:\n *\n * - [useMenuButton API](https://mui.com/base-ui/react-menu/hooks-api/#use-menu-button)\n */\nexport function useMenuButton(parameters = {}) {\n const {\n disabled = false,\n focusableWhenDisabled,\n rootRef: externalRef\n } = parameters;\n const menuContext = React.useContext(DropdownContext);\n if (menuContext === null) {\n throw new Error('useMenuButton: no menu context available.');\n }\n const {\n state,\n dispatch,\n registerTrigger,\n popupId\n } = menuContext;\n const {\n getRootProps: getButtonRootProps,\n rootRef: buttonRootRef,\n active\n } = useButton({\n disabled,\n focusableWhenDisabled,\n rootRef: externalRef\n });\n const handleRef = useForkRef(buttonRootRef, registerTrigger);\n const createHandleClick = otherHandlers => event => {\n otherHandlers.onClick?.(event);\n if (event.defaultMuiPrevented) {\n return;\n }\n dispatch({\n type: DropdownActionTypes.toggle,\n event\n });\n };\n const createHandleKeyDown = otherHandlers => event => {\n otherHandlers.onKeyDown?.(event);\n if (event.defaultMuiPrevented) {\n return;\n }\n if (event.key === 'ArrowDown' || event.key === 'ArrowUp') {\n event.preventDefault();\n dispatch({\n type: DropdownActionTypes.open,\n event\n });\n }\n };\n const getOwnRootProps = (otherHandlers = {}) => ({\n onClick: createHandleClick(otherHandlers),\n onKeyDown: createHandleKeyDown(otherHandlers)\n });\n const getRootProps = (externalProps = {}) => {\n const externalEventHandlers = extractEventHandlers(externalProps);\n const getCombinedProps = combineHooksSlotProps(getOwnRootProps, getButtonRootProps);\n return {\n 'aria-haspopup': 'menu',\n 'aria-expanded': state.open,\n 'aria-controls': popupId,\n ...externalProps,\n ...externalEventHandlers,\n ...getCombinedProps(externalEventHandlers),\n tabIndex: 0,\n // this is needed to make the button focused after click in Safari\n ref: handleRef\n };\n };\n return {\n active,\n getRootProps,\n open: state.open,\n rootRef: handleRef\n };\n}","import { generateUtilityClass } from \"../generateUtilityClass/index.js\";\nimport { generateUtilityClasses } from \"../generateUtilityClasses/index.js\";\nconst COMPONENT_NAME = 'MenuButton';\nexport function getMenuButtonUtilityClass(slot) {\n return generateUtilityClass(COMPONENT_NAME, slot);\n}\nexport const menuButtonClasses = generateUtilityClasses(COMPONENT_NAME, ['root', 'active', 'disabled', 'expanded']);","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { useSlotProps } from \"../utils/index.js\";\nimport { useMenuButton } from \"../useMenuButton/index.js\";\nimport { unstable_composeClasses as composeClasses } from \"../composeClasses/index.js\";\nimport { useClassNamesOverride } from \"../utils/ClassNameConfigurator.js\";\nimport { getMenuButtonUtilityClass } from \"./menuButtonClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n active,\n disabled,\n open\n } = ownerState;\n const slots = {\n root: ['root', disabled && 'disabled', active && 'active', open && 'expanded']\n };\n return composeClasses(slots, useClassNamesOverride(getMenuButtonUtilityClass));\n};\n\n/**\n *\n * Demos:\n *\n * - [Menu](https://mui.com/base-ui/react-menu/)\n *\n * API:\n *\n * - [MenuButton API](https://mui.com/base-ui/react-menu/components-api/#menu-button)\n */\nconst MenuButton = /*#__PURE__*/React.forwardRef(function MenuButton(props, forwardedRef) {\n const {\n children,\n disabled = false,\n label,\n slots = {},\n slotProps = {},\n focusableWhenDisabled = false,\n ...other\n } = props;\n const {\n getRootProps,\n open,\n active\n } = useMenuButton({\n disabled,\n focusableWhenDisabled,\n rootRef: forwardedRef\n });\n const ownerState = {\n ...props,\n open,\n active,\n disabled,\n focusableWhenDisabled\n };\n const classes = useUtilityClasses(ownerState);\n const Root = slots.root || 'button';\n const rootProps = useSlotProps({\n elementType: Root,\n getSlotProps: getRootProps,\n externalForwardedProps: other,\n externalSlotProps: slotProps.root,\n additionalProps: {\n ref: forwardedRef,\n type: 'button'\n },\n ownerState,\n className: classes.root\n });\n return /*#__PURE__*/_jsx(Root, {\n ...rootProps,\n children: children\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? MenuButton.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n children: PropTypes.node,\n /**\n * Class name applied to the root element.\n */\n className: PropTypes.string,\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, allows a disabled button to receive focus.\n * @default false\n */\n focusableWhenDisabled: PropTypes.bool,\n /**\n * Label of the button\n */\n label: PropTypes.string,\n /**\n * The components used for each slot inside the MenuButton.\n * Either a string to use a HTML element or a component.\n * @default {}\n */\n slotProps: PropTypes.shape({\n root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The props used for each slot inside the MenuButton.\n * @default {}\n */\n slots: PropTypes.shape({\n root: PropTypes.elementType\n })\n} : void 0;\nexport { MenuButton };","'use client';\n\nimport * as React from 'react';\nimport { extractEventHandlers } from \"../utils/extractEventHandlers.js\";\nimport { ListActionTypes } from \"./listActions.types.js\";\nimport { ListContext } from \"./ListContext.js\";\n\n/**\n * Contains the logic for an item of a list-like component (for example Select, Menu, etc.).\n * It handles the item's mouse events and tab index.\n *\n * @template ItemValue The type of the item's value. This should be consistent with the type of useList's `items` parameter.\n * @ignore - internal hook.\n */\nexport function useListItem(parameters) {\n const {\n handlePointerOverEvents = false,\n item\n } = parameters;\n const listContext = React.useContext(ListContext);\n if (!listContext) {\n throw new Error('useListItem must be used within a ListProvider');\n }\n const {\n dispatch,\n getItemState\n } = listContext;\n const {\n highlighted,\n selected,\n focusable\n } = getItemState(item);\n const createHandleClick = React.useCallback(externalHandlers => event => {\n externalHandlers.onClick?.(event);\n if (event.defaultPrevented) {\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (item === undefined) {\n throw new Error(['MUI: The `item` provided to useListItem() is undefined.', 'This should happen only during server-side rendering under React 17.'].join('\\n'));\n }\n }\n dispatch({\n type: ListActionTypes.itemClick,\n item: item,\n event\n });\n }, [dispatch, item]);\n const createHandlePointerOver = React.useCallback(externalHandlers => event => {\n externalHandlers.onMouseOver?.(event);\n if (event.defaultPrevented) {\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (item === undefined) {\n throw new Error(['MUI: The `item` provided to useListItem() is undefined.', 'This should happen only during server-side rendering under React 17.'].join('\\n'));\n }\n }\n dispatch({\n type: ListActionTypes.itemHover,\n item: item,\n event\n });\n }, [dispatch, item]);\n let tabIndex;\n if (focusable) {\n tabIndex = highlighted ? 0 : -1;\n }\n const getRootProps = (externalProps = {}) => {\n const externalEventHandlers = extractEventHandlers(externalProps);\n return {\n ...externalProps,\n onClick: createHandleClick(externalEventHandlers),\n onPointerOver: handlePointerOverEvents ? createHandlePointerOver(externalEventHandlers) : undefined,\n tabIndex\n };\n };\n return {\n getRootProps,\n highlighted,\n selected\n };\n}","'use client';\n\nimport * as React from 'react';\nimport { unstable_useEnhancedEffect as useEnhancedEffect } from '@mui/utils';\nimport { CompoundComponentContext } from \"./useCompoundParent.js\";\n/**\n * Registers a child component with the parent component.\n *\n * @param id A unique key for the child component. If the `id` is `undefined`, the registration logic will not run (this can sometimes be the case during SSR).\n * This can be either a value, or a function that generates a value based on already registered siblings' ids.\n * If a function, it's called with the set of the ids of all the items that have already been registered.\n * Return `existingKeys.size` if you want to use the index of the new item as the id.\n * @param itemMetadata Arbitrary metadata to pass to the parent component. This should be a stable reference (for example a memoized object), to avoid unnecessary re-registrations.\n *\n * @ignore - internal hook.\n */\nexport function useCompoundItem(id, itemMetadata) {\n const context = React.useContext(CompoundComponentContext);\n if (context === null) {\n throw new Error('useCompoundItem must be used within a useCompoundParent');\n }\n const {\n registerItem\n } = context;\n const [registeredId, setRegisteredId] = React.useState(typeof id === 'function' ? undefined : id);\n useEnhancedEffect(() => {\n const {\n id: returnedId,\n deregister\n } = registerItem(id, itemMetadata);\n setRegisteredId(returnedId);\n return deregister;\n }, [registerItem, itemMetadata, id]);\n return {\n id: registeredId,\n index: registeredId !== undefined ? context.getItemIndex(registeredId) : -1,\n totalItemCount: context.totalSubitemCount\n };\n}","'use client';\n\nimport * as React from 'react';\nimport { unstable_useId as useId, unstable_useForkRef as useForkRef } from '@mui/utils';\nimport { useButton } from \"../useButton/index.js\";\nimport { useListItem } from \"../useList/index.js\";\nimport { DropdownActionTypes } from \"../useDropdown/index.js\";\nimport { DropdownContext } from \"../useDropdown/DropdownContext.js\";\nimport { combineHooksSlotProps } from \"../utils/combineHooksSlotProps.js\";\nimport { useCompoundItem } from \"../useCompound/index.js\";\nimport { extractEventHandlers } from \"../utils/extractEventHandlers.js\";\nfunction idGenerator(existingKeys) {\n return `menu-item-${existingKeys.size}`;\n}\nconst FALLBACK_MENU_CONTEXT = {\n dispatch: () => {},\n popupId: '',\n registerPopup: () => {},\n registerTrigger: () => {},\n state: {\n open: true,\n changeReason: null\n },\n triggerElement: null\n};\n\n/**\n *\n * Demos:\n *\n * - [Menu](https://mui.com/base-ui/react-menu/#hooks)\n *\n * API:\n *\n * - [useMenuItem API](https://mui.com/base-ui/react-menu/hooks-api/#use-menu-item)\n */\nexport function useMenuItem(params) {\n const {\n disabled = false,\n id: idParam,\n rootRef: externalRef,\n label,\n disableFocusOnHover = false\n } = params;\n const id = useId(idParam);\n const itemRef = React.useRef(null);\n const itemMetadata = React.useMemo(() => ({\n disabled,\n id: id ?? '',\n label,\n ref: itemRef\n }), [disabled, id, label]);\n const {\n dispatch\n } = React.useContext(DropdownContext) ?? FALLBACK_MENU_CONTEXT;\n const {\n getRootProps: getListRootProps,\n highlighted\n } = useListItem({\n item: id,\n handlePointerOverEvents: !disableFocusOnHover\n });\n const {\n index,\n totalItemCount\n } = useCompoundItem(id ?? idGenerator, itemMetadata);\n const {\n getRootProps: getButtonProps,\n focusVisible,\n rootRef: buttonRefHandler\n } = useButton({\n disabled,\n focusableWhenDisabled: true\n });\n const handleRef = useForkRef(buttonRefHandler, externalRef, itemRef);\n React.useDebugValue({\n id,\n highlighted,\n disabled,\n label\n });\n const createHandleClick = otherHandlers => event => {\n otherHandlers.onClick?.(event);\n if (event.defaultMuiPrevented) {\n return;\n }\n dispatch({\n type: DropdownActionTypes.close,\n event\n });\n };\n const getOwnHandlers = (otherHandlers = {}) => ({\n ...otherHandlers,\n onClick: createHandleClick(otherHandlers)\n });\n function getRootProps(externalProps = {}) {\n const externalEventHandlers = extractEventHandlers(externalProps);\n const getCombinedRootProps = combineHooksSlotProps(getOwnHandlers, combineHooksSlotProps(getButtonProps, getListRootProps));\n return {\n ...externalProps,\n ...externalEventHandlers,\n ...getCombinedRootProps(externalEventHandlers),\n id,\n ref: handleRef,\n role: 'menuitem'\n };\n }\n\n // If `id` is undefined (during SSR in React < 18), we fall back to rendering a simplified menu item\n // which does not have access to infortmation about its position or highlighted state.\n if (id === undefined) {\n return {\n getRootProps,\n disabled: false,\n focusVisible,\n highlighted: false,\n index: -1,\n totalItemCount: 0,\n rootRef: handleRef\n };\n }\n return {\n getRootProps,\n disabled,\n focusVisible,\n highlighted,\n index,\n totalItemCount,\n rootRef: handleRef\n };\n}","'use client';\n\nimport * as React from 'react';\nimport { unstable_useId as useId } from '@mui/utils';\nimport { ListContext } from \"../useList/index.js\";\n\n/**\n * Stabilizes the ListContext value for the MenuItem component, so it doesn't change when sibling items update.\n *\n * Demos:\n *\n * - [Menu](https://mui.com/base-ui/react-menu/#hooks)\n *\n * API:\n *\n * - [useMenuItemContextStabilizer API](https://mui.com/base-ui/react-menu/hooks-api/#use-menu-item-context-stabilizer)\n *\n * @param id - The id of the MenuItem. If undefined, it will be generated with useId.\n * @returns The stable ListContext value and the id of the MenuItem.\n */\nexport function useMenuItemContextStabilizer(id) {\n const listContext = React.useContext(ListContext);\n if (!listContext) {\n throw new Error('MenuItem: ListContext was not found.');\n }\n const itemId = useId(id);\n const {\n getItemState,\n dispatch\n } = listContext;\n let itemState;\n if (itemId != null) {\n itemState = getItemState(itemId);\n } else {\n itemState = {\n focusable: true,\n highlighted: false,\n selected: false\n };\n }\n const {\n highlighted,\n selected,\n focusable\n } = itemState;\n\n // The local version of getItemState can be only called with the current Option's value.\n // It doesn't make much sense to render an Option depending on other Options' state anyway.\n const localGetItemState = React.useCallback(itemValue => {\n if (itemValue !== itemId) {\n throw new Error(['Base UI MenuItem: Tried to access the state of another MenuItem.', `itemValue: ${itemValue} | id: ${itemId}`, 'This is unsupported when the MenuItem uses the MenuItemContextStabilizer as a performance optimization.'].join('/n'));\n }\n return {\n highlighted,\n selected,\n focusable\n };\n }, [highlighted, selected, focusable, itemId]);\n\n // Create a local (per MenuItem) instance of the ListContext that changes only when\n // the getItemState's return value changes.\n // This makes MenuItems re-render only when their state actually change, not when any MenuItem's state changes.\n const localContextValue = React.useMemo(() => ({\n dispatch,\n getItemState: localGetItemState\n }), [dispatch, localGetItemState]);\n return {\n contextValue: localContextValue,\n id: itemId\n };\n}","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { getMenuItemUtilityClass } from \"./menuItemClasses.js\";\nimport { useMenuItem, useMenuItemContextStabilizer } from \"../useMenuItem/index.js\";\nimport { unstable_composeClasses as composeClasses } from \"../composeClasses/index.js\";\nimport { useSlotProps } from \"../utils/useSlotProps.js\";\nimport { useClassNamesOverride } from \"../utils/ClassNameConfigurator.js\";\nimport { ListContext } from \"../useList/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction useUtilityClasses(ownerState) {\n const {\n disabled,\n focusVisible\n } = ownerState;\n const slots = {\n root: ['root', disabled && 'disabled', focusVisible && 'focusVisible']\n };\n return composeClasses(slots, useClassNamesOverride(getMenuItemUtilityClass));\n}\nconst InnerMenuItem = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function MenuItem(props, forwardedRef) {\n const {\n children,\n disabled: disabledProp = false,\n label,\n id,\n slotProps = {},\n slots = {},\n ...other\n } = props;\n const {\n getRootProps,\n disabled,\n focusVisible,\n highlighted\n } = useMenuItem({\n id,\n disabled: disabledProp,\n rootRef: forwardedRef,\n label\n });\n const ownerState = {\n ...props,\n disabled,\n focusVisible,\n highlighted\n };\n const classes = useUtilityClasses(ownerState);\n const Root = slots.root ?? 'li';\n const rootProps = useSlotProps({\n elementType: Root,\n getSlotProps: getRootProps,\n externalSlotProps: slotProps.root,\n externalForwardedProps: other,\n className: classes.root,\n ownerState\n });\n return /*#__PURE__*/_jsx(Root, {\n ...rootProps,\n children: children\n });\n}));\n\n/**\n * An unstyled menu item to be used within a Menu.\n *\n * Demos:\n *\n * - [Menu](https://mui.com/base-ui/react-menu/)\n *\n * API:\n *\n * - [MenuItem API](https://mui.com/base-ui/react-menu/components-api/#menu-item)\n */\n\nconst MenuItem = /*#__PURE__*/React.forwardRef(function MenuItem(props, ref) {\n const {\n id: idProp\n } = props;\n\n // This wrapper component is used as a performance optimization.\n // `useMenuItemContextStabilizer` ensures that the context value\n // is stable across renders, so that the actual MenuItem re-renders\n // only when it needs to.\n const {\n contextValue,\n id\n } = useMenuItemContextStabilizer(idProp);\n return /*#__PURE__*/_jsx(ListContext.Provider, {\n value: contextValue,\n children: /*#__PURE__*/_jsx(InnerMenuItem, {\n ...props,\n id: id,\n ref: ref\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? MenuItem.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n children: PropTypes.node,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * If `true`, the menu item will be disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the menu item won't receive focus when the mouse moves over it.\n *\n * @default false\n */\n disableFocusOnHover: PropTypes.bool,\n /**\n * A text representation of the menu item's content.\n * Used for keyboard text navigation matching.\n */\n label: PropTypes.string,\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n /**\n * The props used for each slot inside the MenuItem.\n * @default {}\n */\n slotProps: PropTypes.shape({\n root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside the MenuItem.\n * Either a string to use a HTML element or a component.\n * @default {}\n */\n slots: PropTypes.shape({\n root: PropTypes.elementType\n })\n} : void 0;\nexport { MenuItem };","import { generateUtilityClass } from \"../generateUtilityClass/index.js\";\nimport { generateUtilityClasses } from \"../generateUtilityClasses/index.js\";\nconst COMPONENT_NAME = 'MenuItem';\nexport function getMenuItemUtilityClass(slot) {\n return generateUtilityClass(COMPONENT_NAME, slot);\n}\nexport const menuItemClasses = generateUtilityClasses(COMPONENT_NAME, ['root', 'disabled', 'focusVisible']);","'use client';\n\nimport * as React from 'react';\nimport { TransitionContext } from \"./TransitionContext.js\";\n/**\n * Allows an element to be transitioned in and out.\n * The transition is triggerred by a `TransitionContext` placed above in the component tree.\n *\n * Demos:\n *\n * - [Transitions](https://mui.com/base-ui/react-transitions/#hooks)\n *\n * API:\n *\n * - [useTransitionStateManager API](https://mui.com/base-ui/react-transitions/hooks-api/#use-transition-state-manager)\n */\nexport function useTransitionStateManager() {\n const transitionContext = React.useContext(TransitionContext);\n if (!transitionContext) {\n throw new Error('Missing transition context');\n }\n const {\n registerTransition,\n requestedEnter,\n onExited\n } = transitionContext;\n React.useEffect(() => {\n return registerTransition();\n }, [registerTransition]);\n return {\n onExited,\n requestedEnter\n };\n}","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { useTransitionStateManager } from \"../useTransition/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n/**\n * A utility component that hooks up to the Base UI transitions API and\n * applies a CSS transition to its children when necessary.\n *\n * Demos:\n *\n * - [Transitions](https://mui.com/base-ui/react-transitions/)\n *\n * API:\n *\n * - [CssTransition API](https://mui.com/base-ui/react-transitions/components-api/#css-transition)\n */\nconst CssTransition = /*#__PURE__*/React.forwardRef(function CssTransition(props, forwardedRef) {\n const {\n children,\n className,\n lastTransitionedPropertyOnExit,\n enterClassName,\n exitClassName,\n ...other\n } = props;\n const {\n requestedEnter,\n onExited\n } = useTransitionStateManager();\n const [isEntering, setIsEntering] = React.useState(false);\n\n // The `isEntering` state (which is used to determine the right CSS class to apply)\n // is updated slightly (one animation frame) after the `requestedEnter` state is updated.\n // Thanks to this, elements that are mounted will have their enter transition applied\n // (if the `enterClassName` was applied when the element was mounted, the transition would not be fired).\n React.useEffect(() => {\n if (requestedEnter) {\n requestAnimationFrame(() => {\n setIsEntering(true);\n });\n } else {\n setIsEntering(false);\n }\n }, [requestedEnter]);\n const handleTransitionEnd = React.useCallback(event => {\n if (!requestedEnter && (lastTransitionedPropertyOnExit == null || event.propertyName === lastTransitionedPropertyOnExit)) {\n onExited();\n }\n }, [onExited, requestedEnter, lastTransitionedPropertyOnExit]);\n return /*#__PURE__*/_jsx(\"div\", {\n onTransitionEnd: handleTransitionEnd,\n className: clsx(className, isEntering ? enterClassName : exitClassName),\n ...other,\n ref: forwardedRef,\n children: children\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? CssTransition.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n enterClassName: PropTypes.string,\n exitClassName: PropTypes.string,\n lastTransitionedPropertyOnEnter: PropTypes.string,\n lastTransitionedPropertyOnExit: PropTypes.string\n} : void 0;\nexport { CssTransition };","import * as React from 'react';\nexport const PopupContext = /*#__PURE__*/React.createContext(null);\nif (process.env.NODE_ENV !== 'production') {\n PopupContext.displayName = 'PopupContext';\n}","import ClassNameGenerator from \"../ClassNameGenerator/index.js\";\nexport const globalStateClasses = {\n active: 'active',\n checked: 'checked',\n completed: 'completed',\n disabled: 'disabled',\n error: 'error',\n expanded: 'expanded',\n focused: 'focused',\n focusVisible: 'focusVisible',\n open: 'open',\n readOnly: 'readOnly',\n required: 'required',\n selected: 'selected'\n};\nexport default function generateUtilityClass(componentName, slot, globalStatePrefix = 'Mui') {\n const globalStateClass = globalStateClasses[slot];\n return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator.generate(componentName)}-${slot}`;\n}\nexport function isGlobalState(slot) {\n return globalStateClasses[slot] !== undefined;\n}","import { globalStateClasses } from '@mui/utils/generateUtilityClass';\nconst GLOBAL_CLASS_PREFIX = 'base';\nfunction buildStateClass(state) {\n return `${GLOBAL_CLASS_PREFIX}--${state}`;\n}\nfunction buildSlotClass(componentName, slot) {\n return `${GLOBAL_CLASS_PREFIX}-${componentName}-${slot}`;\n}\nexport function generateUtilityClass(componentName, slot) {\n const globalStateClass = globalStateClasses[slot];\n return globalStateClass ? buildStateClass(globalStateClass) : buildSlotClass(componentName, slot);\n}\nexport function isGlobalState(slot) {\n return globalStateClasses[slot] !== undefined;\n}","import { generateUtilityClass } from \"../generateUtilityClass/index.js\";\nexport function generateUtilityClasses(componentName, slots) {\n const result = {};\n slots.forEach(slot => {\n result[slot] = generateUtilityClass(componentName, slot);\n });\n return result;\n}","/* eslint no-restricted-syntax: 0, prefer-template: 0, guard-for-in: 0\n ---\n These rules are preventing the performance optimizations below.\n */\n\n/**\n * Compose classes from multiple sources.\n *\n * @example\n * ```tsx\n * const slots = {\n * root: ['root', 'primary'],\n * label: ['label'],\n * };\n *\n * const getUtilityClass = (slot) => `MuiButton-${slot}`;\n *\n * const classes = {\n * root: 'my-root-class',\n * };\n *\n * const output = composeClasses(slots, getUtilityClass, classes);\n * // {\n * // root: 'MuiButton-root MuiButton-primary my-root-class',\n * // label: 'MuiButton-label',\n * // }\n * ```\n *\n * @param slots a list of classes for each possible slot\n * @param getUtilityClass a function to resolve the class based on the slot name\n * @param classes the input classes from props\n * @returns the resolved classes for all slots\n */\nexport default function composeClasses(slots, getUtilityClass, classes = undefined) {\n const output = {};\n for (const slotName in slots) {\n const slot = slots[slotName];\n let buffer = '';\n let start = true;\n for (let i = 0; i < slot.length; i += 1) {\n const value = slot[i];\n if (value) {\n buffer += (start === true ? '' : ' ') + getUtilityClass(value);\n start = false;\n if (classes && classes[value]) {\n buffer += ' ' + classes[value];\n }\n }\n }\n output[slotName] = buffer;\n }\n return output;\n}","/**\n * Extracts event handlers from a given object.\n * A prop is considered an event handler if it is a function and its name starts with `on`.\n *\n * @param object An object to extract event handlers from.\n * @param excludeKeys An array of keys to exclude from the returned object.\n */\nfunction extractEventHandlers(object, excludeKeys = []) {\n if (object === undefined) {\n return {};\n }\n const result = {};\n Object.keys(object).filter(prop => prop.match(/^on[A-Z]/) && typeof object[prop] === 'function' && !excludeKeys.includes(prop)).forEach(prop => {\n result[prop] = object[prop];\n });\n return result;\n}\nexport default extractEventHandlers;","/**\n * TODO v5: consider making it private\n *\n * passes {value} to {ref}\n *\n * WARNING: Be sure to only call this inside a callback that is passed as a ref.\n * Otherwise, make sure to cleanup the previous {ref} if it changes. See\n * https://github.com/mui/material-ui/issues/13539\n *\n * Useful if you want to expose the ref of an inner component to the public API\n * while still using it inside the component.\n * @param ref A ref callback or ref object. If anything falsy, this is a no-op.\n */\nexport default function setRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n } else if (ref) {\n ref.current = value;\n }\n}","'use client';\n\nimport * as React from 'react';\n\n/**\n * A version of `React.useLayoutEffect` that does not show a warning when server-side rendering.\n * This is useful for effects that are only needed for client-side rendering but not for SSR.\n *\n * Before you use this hook, make sure to read https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85\n * and confirm it doesn't apply to your use-case.\n */\nconst useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\nexport default useEnhancedEffect;","'use client';\n\nimport * as React from 'react';\nimport setRef from \"../setRef/index.js\";\n\n/**\n * Takes an array of refs and returns a new ref which will apply any modification to all of the refs.\n * This is useful when you want to have the ref used in multiple places.\n *\n * ```tsx\n * const rootRef = React.useRef(null);\n * const refFork = useForkRef(rootRef, props.ref);\n *\n * return (\n * \n * );\n * ```\n *\n * @param {Array | undefined>} refs The ref array.\n * @returns {React.RefCallback | null} The new ref callback.\n */\nexport default function useForkRef(...refs) {\n /**\n * This will create a new function if the refs passed to this hook change and are all defined.\n * This means react will call the old forkRef with `null` and the new forkRef\n * with the ref. Cleanup naturally emerges from this behavior.\n */\n return React.useMemo(() => {\n if (refs.every(ref => ref == null)) {\n return null;\n }\n return instance => {\n refs.forEach(ref => {\n setRef(ref, instance);\n });\n };\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- intentionally ignoring that the dependency array must be an array literal\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, refs);\n}","'use client';\n\nimport * as React from 'react';\nlet globalId = 0;\n\n// TODO React 17: Remove `useGlobalId` once React 17 support is removed\nfunction useGlobalId(idOverride) {\n const [defaultId, setDefaultId] = React.useState(idOverride);\n const id = idOverride || defaultId;\n React.useEffect(() => {\n if (defaultId == null) {\n // Fallback to this default id when possible.\n // Use the incrementing value for client-side rendering only.\n // We can't use it server-side.\n // If you want to use random values please consider the Birthday Problem: https://en.wikipedia.org/wiki/Birthday_problem\n globalId += 1;\n setDefaultId(`mui-${globalId}`);\n }\n }, [defaultId]);\n return id;\n}\n\n// See https://github.com/mui/material-ui/issues/41190#issuecomment-2040873379 for why\nconst safeReact = {\n ...React\n};\nconst maybeReactUseId = safeReact.useId;\n\n/**\n *\n * @example
\n * @param idOverride\n * @returns {string}\n */\nexport default function useId(idOverride) {\n // React.useId() is only available from React 17.0.0.\n if (maybeReactUseId !== undefined) {\n const reactId = maybeReactUseId();\n return idOverride ?? reactId;\n }\n\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler\n // eslint-disable-next-line react-hooks/rules-of-hooks -- `React.useId` is invariant at runtime.\n return useGlobalId(idOverride);\n}","/**\n * Determines if a given element is a DOM element name (i.e. not a React component).\n */\nfunction isHostComponent(element) {\n return typeof element === 'string';\n}\nexport default isHostComponent;","import isHostComponent from \"../isHostComponent/index.js\";\n\n/**\n * Type of the ownerState based on the type of an element it applies to.\n * This resolves to the provided OwnerState for React components and `undefined` for host components.\n * Falls back to `OwnerState | undefined` when the exact type can't be determined in development time.\n */\n\n/**\n * Appends the ownerState object to the props, merging with the existing one if necessary.\n *\n * @param elementType Type of the element that owns the `existingProps`. If the element is a DOM node or undefined, `ownerState` is not applied.\n * @param otherProps Props of the element.\n * @param ownerState\n */\nfunction appendOwnerState(elementType, otherProps, ownerState) {\n if (elementType === undefined || isHostComponent(elementType)) {\n return otherProps;\n }\n return {\n ...otherProps,\n ownerState: {\n ...otherProps.ownerState,\n ...ownerState\n }\n };\n}\nexport default appendOwnerState;","/**\n * Removes event handlers from the given object.\n * A field is considered an event handler if it is a function with a name beginning with `on`.\n *\n * @param object Object to remove event handlers from.\n * @returns Object with event handlers removed.\n */\nfunction omitEventHandlers(object) {\n if (object === undefined) {\n return {};\n }\n const result = {};\n Object.keys(object).filter(prop => !(prop.match(/^on[A-Z]/) && typeof object[prop] === 'function')).forEach(prop => {\n result[prop] = object[prop];\n });\n return result;\n}\nexport default omitEventHandlers;","import clsx from 'clsx';\nimport extractEventHandlers from \"../extractEventHandlers/index.js\";\nimport omitEventHandlers from \"../omitEventHandlers/index.js\";\n/**\n * Merges the slot component internal props (usually coming from a hook)\n * with the externally provided ones.\n *\n * The merge order is (the latter overrides the former):\n * 1. The internal props (specified as a getter function to work with get*Props hook result)\n * 2. Additional props (specified internally on a Base UI component)\n * 3. External props specified on the owner component. These should only be used on a root slot.\n * 4. External props specified in the `slotProps.*` prop.\n * 5. The `className` prop - combined from all the above.\n * @param parameters\n * @returns\n */\nfunction mergeSlotProps(parameters) {\n const {\n getSlotProps,\n additionalProps,\n externalSlotProps,\n externalForwardedProps,\n className\n } = parameters;\n if (!getSlotProps) {\n // The simpler case - getSlotProps is not defined, so no internal event handlers are defined,\n // so we can simply merge all the props without having to worry about extracting event handlers.\n const joinedClasses = clsx(additionalProps?.className, className, externalForwardedProps?.className, externalSlotProps?.className);\n const mergedStyle = {\n ...additionalProps?.style,\n ...externalForwardedProps?.style,\n ...externalSlotProps?.style\n };\n const props = {\n ...additionalProps,\n ...externalForwardedProps,\n ...externalSlotProps\n };\n if (joinedClasses.length > 0) {\n props.className = joinedClasses;\n }\n if (Object.keys(mergedStyle).length > 0) {\n props.style = mergedStyle;\n }\n return {\n props,\n internalRef: undefined\n };\n }\n\n // In this case, getSlotProps is responsible for calling the external event handlers.\n // We don't need to include them in the merged props because of this.\n\n const eventHandlers = extractEventHandlers({\n ...externalForwardedProps,\n ...externalSlotProps\n });\n const componentsPropsWithoutEventHandlers = omitEventHandlers(externalSlotProps);\n const otherPropsWithoutEventHandlers = omitEventHandlers(externalForwardedProps);\n const internalSlotProps = getSlotProps(eventHandlers);\n\n // The order of classes is important here.\n // Emotion (that we use in libraries consuming Base UI) depends on this order\n // to properly override style. It requires the most important classes to be last\n // (see https://github.com/mui/material-ui/pull/33205) for the related discussion.\n const joinedClasses = clsx(internalSlotProps?.className, additionalProps?.className, className, externalForwardedProps?.className, externalSlotProps?.className);\n const mergedStyle = {\n ...internalSlotProps?.style,\n ...additionalProps?.style,\n ...externalForwardedProps?.style,\n ...externalSlotProps?.style\n };\n const props = {\n ...internalSlotProps,\n ...additionalProps,\n ...otherPropsWithoutEventHandlers,\n ...componentsPropsWithoutEventHandlers\n };\n if (joinedClasses.length > 0) {\n props.className = joinedClasses;\n }\n if (Object.keys(mergedStyle).length > 0) {\n props.style = mergedStyle;\n }\n return {\n props,\n internalRef: internalSlotProps.ref\n };\n}\nexport default mergeSlotProps;","/**\n * If `componentProps` is a function, calls it with the provided `ownerState`.\n * Otherwise, just returns `componentProps`.\n */\nfunction resolveComponentProps(componentProps, ownerState, slotState) {\n if (typeof componentProps === 'function') {\n return componentProps(ownerState, slotState);\n }\n return componentProps;\n}\nexport default resolveComponentProps;","'use client';\n\nimport useForkRef from \"../useForkRef/index.js\";\nimport appendOwnerState from \"../appendOwnerState/index.js\";\nimport mergeSlotProps from \"../mergeSlotProps/index.js\";\nimport resolveComponentProps from \"../resolveComponentProps/index.js\";\n/**\n * @ignore - do not document.\n * Builds the props to be passed into the slot of an unstyled component.\n * It merges the internal props of the component with the ones supplied by the user, allowing to customize the behavior.\n * If the slot component is not a host component, it also merges in the `ownerState`.\n *\n * @param parameters.getSlotProps - A function that returns the props to be passed to the slot component.\n */\nfunction useSlotProps(parameters) {\n const {\n elementType,\n externalSlotProps,\n ownerState,\n skipResolvingSlotProps = false,\n ...other\n } = parameters;\n const resolvedComponentsProps = skipResolvingSlotProps ? {} : resolveComponentProps(externalSlotProps, ownerState);\n const {\n props: mergedProps,\n internalRef\n } = mergeSlotProps({\n ...other,\n externalSlotProps: resolvedComponentsProps\n });\n const ref = useForkRef(internalRef, resolvedComponentsProps?.ref, parameters.additionalProps?.ref);\n const props = appendOwnerState(elementType, {\n ...mergedProps,\n ref\n }, ownerState);\n return props;\n}\nexport default useSlotProps;","/**\n * Returns a boolean indicating if the event's target has :focus-visible\n */\nexport default function isFocusVisible(element) {\n try {\n return element.matches(':focus-visible');\n } catch (error) {\n // Do not warn on jsdom tests, otherwise all tests that rely on focus have to be skipped\n // Tests that rely on `:focus-visible` will still have to be skipped in jsdom\n if (process.env.NODE_ENV !== 'production' && !/jsdom/.test(window.navigator.userAgent)) {\n console.warn(['MUI: The `:focus-visible` pseudo class is not supported in this browser.', 'Some components rely on this feature to work properly.'].join('\\n'));\n }\n }\n return false;\n}","'use client';\n\nimport * as React from 'react';\n/**\n * @ignore - do not document.\n *\n * Use this function determine the host element correctly on the server (in a SSR context, for example Next.js)\n */\nexport function useRootElementName(parameters) {\n const {\n rootElementName: rootElementNameProp = '',\n componentName\n } = parameters;\n const [rootElementName, setRootElementName] = React.useState(rootElementNameProp.toUpperCase());\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useEffect(() => {\n if (rootElementNameProp && rootElementName !== rootElementNameProp.toUpperCase()) {\n console.error(`useRootElementName: the \\`rootElementName\\` prop of ${componentName ? `the ${componentName} component` : 'a component'} expected the '${rootElementNameProp}' element, but a '${rootElementName.toLowerCase()}' was rendered instead`, 'This may cause hydration issues in an SSR context, for example in a Next.js app');\n }\n }, [rootElementNameProp, rootElementName, componentName]);\n }\n const updateRootElementName = React.useCallback(instance => {\n setRootElementName(instance?.tagName ?? '');\n }, []);\n return [rootElementName, updateRootElementName];\n}","'use client';\n\nimport * as React from 'react';\nimport { unstable_useForkRef as useForkRef, unstable_isFocusVisible as isFocusVisible } from '@mui/utils';\nimport { extractEventHandlers } from \"../utils/extractEventHandlers.js\";\nimport { useRootElementName } from \"../utils/useRootElementName.js\";\n/**\n *\n * Demos:\n *\n * - [Button](https://mui.com/base-ui/react-button/#hook)\n *\n * API:\n *\n * - [useButton API](https://mui.com/base-ui/react-button/hooks-api/#use-button)\n */\nexport function useButton(parameters = {}) {\n const {\n disabled = false,\n focusableWhenDisabled,\n href,\n rootRef: externalRef,\n tabIndex,\n to,\n type,\n rootElementName: rootElementNameProp\n } = parameters;\n const buttonRef = React.useRef(null);\n const [active, setActive] = React.useState(false);\n const [focusVisible, setFocusVisible] = React.useState(false);\n if (disabled && !focusableWhenDisabled && focusVisible) {\n setFocusVisible(false);\n }\n const [rootElementName, updateRootElementName] = useRootElementName({\n rootElementName: rootElementNameProp ?? (href || to ? 'a' : undefined),\n componentName: 'Button'\n });\n const createHandleMouseLeave = otherHandlers => event => {\n if (focusVisible) {\n event.preventDefault();\n }\n otherHandlers.onMouseLeave?.(event);\n };\n const createHandleBlur = otherHandlers => event => {\n if (!isFocusVisible(event.target)) {\n setFocusVisible(false);\n }\n otherHandlers.onBlur?.(event);\n };\n const createHandleFocus = otherHandlers => event => {\n // Fix for https://github.com/facebook/react/issues/7769\n if (!buttonRef.current) {\n buttonRef.current = event.currentTarget;\n }\n if (isFocusVisible(event.target)) {\n setFocusVisible(true);\n otherHandlers.onFocusVisible?.(event);\n }\n otherHandlers.onFocus?.(event);\n };\n const isNativeButton = () => {\n const button = buttonRef.current;\n return rootElementName === 'BUTTON' || rootElementName === 'INPUT' && ['button', 'submit', 'reset'].includes(button?.type) || rootElementName === 'A' && button?.href;\n };\n const createHandleClick = otherHandlers => event => {\n if (!disabled) {\n otherHandlers.onClick?.(event);\n }\n };\n const createHandleMouseDown = otherHandlers => event => {\n if (!disabled) {\n setActive(true);\n document.addEventListener('mouseup', () => {\n setActive(false);\n }, {\n once: true\n });\n }\n otherHandlers.onMouseDown?.(event);\n };\n const createHandleKeyDown = otherHandlers => event => {\n otherHandlers.onKeyDown?.(event);\n if (event.defaultMuiPrevented) {\n return;\n }\n if (event.target === event.currentTarget && !isNativeButton() && event.key === ' ') {\n event.preventDefault();\n }\n if (event.target === event.currentTarget && event.key === ' ' && !disabled) {\n setActive(true);\n }\n\n // Keyboard accessibility for non interactive elements\n if (event.target === event.currentTarget && !isNativeButton() && event.key === 'Enter' && !disabled) {\n otherHandlers.onClick?.(event);\n event.preventDefault();\n }\n };\n const createHandleKeyUp = otherHandlers => event => {\n // calling preventDefault in keyUp on a