@rivm-loculus-tools/sequence-editor 0.1.5 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/EditorWorkerService.js +12 -11
- package/dist/_chunks/EditorWorkerService.js.map +1 -1
- package/dist/_chunks/SequenceEditor.js +362 -495
- package/dist/_chunks/SequenceEditor.js.map +1 -1
- package/dist/_chunks/SequenceEditorPageDrawer.js +160 -49577
- package/dist/_chunks/SequenceEditorPageDrawer.js.map +1 -1
- package/dist/_chunks/comlink.js +228 -0
- package/dist/_chunks/comlink.js.map +1 -0
- package/dist/_chunks/react.js +11 -0
- package/dist/_chunks/react.js.map +1 -0
- package/dist/_chunks/sequenceEditorStore.js +40 -273
- package/dist/_chunks/sequenceEditorStore.js.map +1 -1
- package/dist/assets/index-Dn92arD_.js +8 -0
- package/dist/assets/index-Dn92arD_.js.map +1 -0
- package/dist/classes/services/EditorWorkerService/index.js +1 -2
- package/dist/classes/services/SequenceEditorEventBusService/index.js +16 -2
- package/dist/classes/services/SequenceEditorEventBusService/index.js.map +1 -0
- package/dist/classes/workers/EngineWorker/index.js +3 -2
- package/dist/classes/workers/EngineWorker/index.js.map +1 -1
- package/dist/components/app/App/index.js +15 -951
- package/dist/components/app/App/index.js.map +1 -1
- package/dist/components/pages/SequenceEditorErrorPage/index.js +6 -6
- package/dist/components/pages/SequenceEditorErrorPage/index.js.map +1 -1
- package/dist/components/pages/SequenceEditorMainPage/index.js +61 -2
- package/dist/components/pages/SequenceEditorMainPage/index.js.map +1 -0
- package/dist/components/ui/SequenceEditor/index.js +1 -2
- package/dist/components/ui/SequenceEditorPage/index.js +8 -8
- package/dist/components/ui/SequenceEditorPage/index.js.map +1 -1
- package/dist/components/ui/SequenceEditorPageDrawer/index.js +1 -2
- package/dist/components/ui/SequenceEditorPageHeader/index.js +60 -2
- package/dist/components/ui/SequenceEditorPageHeader/index.js.map +1 -0
- package/dist/components/ui/SequenceEditorSearchBar/index.js +27 -2
- package/dist/components/ui/SequenceEditorSearchBar/index.js.map +1 -0
- package/dist/constants/editor.js.map +1 -1
- package/dist/constants/keyboard.js +1 -1
- package/dist/constants/keyboard.js.map +1 -1
- package/dist/constants/palette.js.map +1 -1
- package/dist/models/editor.js.map +1 -1
- package/dist/models/model.js.map +1 -1
- package/dist/models/palette.js.map +1 -1
- package/dist/stores/sequenceEditorStore/index.js +1 -2
- package/dist/utils/EditorUtil/index.js +158 -150
- package/dist/utils/EditorUtil/index.js.map +1 -1
- package/dist/utils/PaletteUtil/index.js.map +1 -1
- package/package.json +52 -29
- package/dist/_chunks/Box.js +0 -6737
- package/dist/_chunks/Box.js.map +0 -1
- package/dist/_chunks/Close.js +0 -7
- package/dist/_chunks/Close.js.map +0 -1
- package/dist/_chunks/KeyboardArrowDown.js +0 -1023
- package/dist/_chunks/KeyboardArrowDown.js.map +0 -1
- package/dist/_chunks/Redo.js +0 -2559
- package/dist/_chunks/Redo.js.map +0 -1
- package/dist/_chunks/SequenceEditorEventBusService.js +0 -102
- package/dist/_chunks/SequenceEditorEventBusService.js.map +0 -1
- package/dist/_chunks/SequenceEditorMainPage.js +0 -552
- package/dist/_chunks/SequenceEditorMainPage.js.map +0 -1
- package/dist/_chunks/SequenceEditorPageHeader.js +0 -236
- package/dist/_chunks/SequenceEditorPageHeader.js.map +0 -1
- package/dist/_chunks/SequenceEditorSearchBar.js +0 -143
- package/dist/_chunks/SequenceEditorSearchBar.js.map +0 -1
- package/dist/_chunks/TestIdUtil.js +0 -4695
- package/dist/_chunks/TestIdUtil.js.map +0 -1
- package/dist/_chunks/TextField.js +0 -3083
- package/dist/_chunks/TextField.js.map +0 -1
- package/dist/_chunks/rolldown-runtime.js +0 -13
- package/dist/_chunks/sequence_editor.js +0 -517
- package/dist/_chunks/sequence_editor.js.map +0 -1
- package/dist/_chunks/withDialog.js +0 -289
- package/dist/_chunks/withDialog.js.map +0 -1
- package/dist/assets/index-C5rc-pJV.js +0 -8
- package/dist/assets/index-C5rc-pJV.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextField.js","names":["useUtilityClasses","capitalize","isMuiElement","PropTypes","_span","useUtilityClasses","capitalize","PropTypes","useUtilityClasses","capitalize","PropTypes","useUtilityClasses","inputBaseRootOverridesResolver","inputBaseInputOverridesResolver","PropTypes","useUtilityClasses","capitalize","PropTypes","useUtilityClasses","PropTypes","getActiveElement","useEventCallback","ownerWindow","getScrollbarSize","getActiveElement","ownerDocument","contains","useForkRef","PropTypes","useUtilityClasses","PaperBase","ownerDocument","ownerWindow","debounce","PropTypes","useUtilityClasses","PropTypes","useUtilityClasses","capitalize","PropTypes","_span","NotchedOutlineRoot","PropTypes","useUtilityClasses","inputBaseRootOverridesResolver","inputBaseInputOverridesResolver","PropTypes","useUtilityClasses","useControlled","useForkRef","ownerDocument","useEventCallback","isFragment","_formatErrorMessage","PropTypes","useUtilityClasses","ArrowDropDownIcon","useForkRef","PropTypes","PropTypes"],"sources":["../../../../../../node_modules/.pnpm/@mui+utils@9.4.0_@types+react@19.3.0_react@19.3.0/node_modules/@mui/utils/isMuiElement/isMuiElement.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/FormHelperText/formHelperTextClasses.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/FormLabel/formLabelClasses.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Input/inputClasses.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/NativeSelect/nativeSelectClasses.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/OutlinedInput/outlinedInputClasses.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/utils/isMuiElement.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/internal/svg-icons/ArrowDropDown.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/FormControl/formControlClasses.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/FormControl/FormControl.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/FormHelperText/FormHelperText.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/FormLabel/FormLabel.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/InputLabel/inputLabelClasses.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Input/Input.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/InputLabel/InputLabel.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/List/ListContext.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/List/listClasses.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/List/List.mjs","../../../../../../node_modules/.pnpm/@mui+utils@9.4.0_@types+react@19.3.0_react@19.3.0/node_modules/@mui/utils/useRovingTabIndex/RovingTabIndexContext.mjs","../../../../../../node_modules/.pnpm/@mui+utils@9.4.0_@types+react@19.3.0_react@19.3.0/node_modules/@mui/utils/fastObjectShallowCompare/fastObjectShallowCompare.mjs","../../../../../../node_modules/.pnpm/@mui+utils@9.4.0_@types+react@19.3.0_react@19.3.0/node_modules/@mui/utils/useRovingTabIndex/useRovingTabIndex.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/utils/getScrollbarSize.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/utils/focusWithVisible.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Select/utils/getOpenInteractionType.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Select/utils/isEmpty.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Select/utils/areEqualValues.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Select/utils/SelectFocusSourceContext.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/MenuList/MenuListContext.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/MenuList/MenuList.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Popover/popoverClasses.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Popover/Popover.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Menu/menuClasses.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Menu/Menu.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/NativeSelect/NativeSelectInput.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/OutlinedInput/NotchedOutline.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/OutlinedInput/OutlinedInput.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Select/utils/closedTypeahead.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Select/SelectInput.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/Select/Select.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/TextField/textFieldClasses.mjs","../../../../../../node_modules/.pnpm/@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3.0_react@19.3.0_supports-co_876c01243dbcdb7de27cf1bcc84db747/node_modules/@mui/material/TextField/TextField.mjs"],"sourcesContent":["import * as React from 'react';\nexport default function isMuiElement(element, muiNames) {\n return /*#__PURE__*/React.isValidElement(element) && muiNames.indexOf(\n // For server components `muiName` is available in element.type._payload.value.muiName\n // relevant info - https://github.com/react/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45\n // eslint-disable-next-line no-underscore-dangle\n element.type.muiName ?? element.type?._payload?.value?.muiName) !== -1;\n}","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getFormHelperTextUtilityClasses(slot) {\n return generateUtilityClass('MuiFormHelperText', slot);\n}\nconst formHelperTextClasses = generateUtilityClasses('MuiFormHelperText', ['root', 'error', 'disabled', 'sizeSmall', 'sizeMedium', 'contained', 'focused', 'filled', 'required']);\nexport default formHelperTextClasses;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getFormLabelUtilityClasses(slot) {\n return generateUtilityClass('MuiFormLabel', slot);\n}\nconst formLabelClasses = generateUtilityClasses('MuiFormLabel', ['root', 'colorSecondary', 'focused', 'disabled', 'error', 'filled', 'required', 'asterisk']);\nexport default formLabelClasses;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport { inputBaseClasses } from \"../InputBase/index.mjs\";\nexport function getInputUtilityClass(slot) {\n return generateUtilityClass('MuiInput', slot);\n}\nconst inputClasses = {\n ...inputBaseClasses,\n ...generateUtilityClasses('MuiInput', ['root', 'underline', 'input'])\n};\nexport default inputClasses;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getNativeSelectUtilityClasses(slot) {\n return generateUtilityClass('MuiNativeSelect', slot);\n}\nconst nativeSelectClasses = generateUtilityClasses('MuiNativeSelect', ['root', 'select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput', 'error']);\nexport default nativeSelectClasses;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport { inputBaseClasses } from \"../InputBase/index.mjs\";\nexport function getOutlinedInputUtilityClass(slot) {\n return generateUtilityClass('MuiOutlinedInput', slot);\n}\nconst outlinedInputClasses = {\n ...inputBaseClasses,\n ...generateUtilityClasses('MuiOutlinedInput', ['root', 'notchedOutline', 'input'])\n};\nexport default outlinedInputClasses;","import isMuiElement from '@mui/utils/isMuiElement';\nexport default isMuiElement;","'use client';\n\nimport createSvgIcon from \"../../utils/createSvgIcon.mjs\";\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M7 10l5 5 5-5z\"\n}), 'ArrowDropDown');","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getFormControlUtilityClasses(slot) {\n return generateUtilityClass('MuiFormControl', slot);\n}\nconst formControlClasses = generateUtilityClasses('MuiFormControl', ['root', 'marginNone', 'marginNormal', 'marginDense', 'fullWidth', 'disabled']);\nexport default formControlClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { styled } from \"../zero-styled/index.mjs\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.mjs\";\nimport { isFilled, isAdornedStart } from \"../InputBase/utils.mjs\";\nimport capitalize from \"../utils/capitalize.mjs\";\nimport isMuiElement from \"../utils/isMuiElement.mjs\";\nimport FormControlContext from \"./FormControlContext.mjs\";\nimport { getFormControlUtilityClasses } from \"./formControlClasses.mjs\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n margin,\n fullWidth\n } = ownerState;\n const slots = {\n root: ['root', margin !== 'none' && `margin${capitalize(margin)}`, fullWidth && 'fullWidth']\n };\n return composeClasses(slots, getFormControlUtilityClasses, classes);\n};\nconst FormControlRoot = styled('div', {\n name: 'MuiFormControl',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[`margin${capitalize(ownerState.margin)}`], ownerState.fullWidth && styles.fullWidth];\n }\n})({\n display: 'inline-flex',\n flexDirection: 'column',\n position: 'relative',\n // Reset fieldset default style.\n minWidth: 0,\n padding: 0,\n margin: 0,\n border: 0,\n verticalAlign: 'top',\n // Fix alignment issue on Safari.\n variants: [{\n props: {\n margin: 'normal'\n },\n style: {\n marginTop: 16,\n marginBottom: 8\n }\n }, {\n props: {\n margin: 'dense'\n },\n style: {\n marginTop: 8,\n marginBottom: 4\n }\n }, {\n props: {\n fullWidth: true\n },\n style: {\n width: '100%'\n }\n }]\n});\n\n/**\n * Provides context such as filled/focused/error/required for form inputs.\n * Relying on the context provides high flexibility and ensures that the state always stays\n * consistent across the children of the `FormControl`.\n * This context is used by the following components:\n *\n * - FormLabel\n * - FormHelperText\n * - Input\n * - InputLabel\n *\n * You can find one composition example below and more going to [the demos](/material-ui/react-text-field/#components).\n *\n * ```jsx\n * <FormControl>\n * <InputLabel htmlFor=\"my-input\">Email address</InputLabel>\n * <Input id=\"my-input\" aria-describedby=\"my-helper-text\" />\n * <FormHelperText id=\"my-helper-text\">We'll never share your email.</FormHelperText>\n * </FormControl>\n * ```\n *\n * ⚠️ Only one `InputBase` can be used within a FormControl because it creates visual inconsistencies.\n * For instance, only one input can be focused at the same time, the state shouldn't be shared.\n */\nconst FormControl = /*#__PURE__*/React.forwardRef(function FormControl(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiFormControl'\n });\n const {\n children,\n className,\n color = 'primary',\n component = 'div',\n disabled = false,\n error = false,\n focused: visuallyFocused,\n fullWidth = false,\n hiddenLabel = false,\n margin = 'none',\n required = false,\n size = 'medium',\n variant = 'outlined',\n ...other\n } = props;\n const ownerState = {\n ...props,\n color,\n component,\n disabled,\n error,\n fullWidth,\n hiddenLabel,\n margin,\n required,\n size,\n variant\n };\n const classes = useUtilityClasses(ownerState);\n const [adornedStart, setAdornedStart] = React.useState(() => {\n // We need to iterate through the children and find the Input in order\n // to fully support server-side rendering.\n let initialAdornedStart = false;\n if (children) {\n React.Children.forEach(children, child => {\n if (!isMuiElement(child, ['Input', 'Select'])) {\n return;\n }\n const input = isMuiElement(child, ['Select']) ? child.props.input : child;\n if (input && isAdornedStart(input.props)) {\n initialAdornedStart = true;\n }\n });\n }\n return initialAdornedStart;\n });\n const [filled, setFilled] = React.useState(() => {\n // We need to iterate through the children and find the Input in order\n // to fully support server-side rendering.\n let initialFilled = false;\n if (children) {\n React.Children.forEach(children, child => {\n if (!isMuiElement(child, ['Input', 'Select'])) {\n return;\n }\n if (isFilled(child.props, true) || isFilled(child.props.inputProps, true)) {\n initialFilled = true;\n }\n });\n }\n return initialFilled;\n });\n const [focusedState, setFocused] = React.useState(false);\n if (disabled && focusedState) {\n setFocused(false);\n }\n const focused = visuallyFocused !== undefined && !disabled ? visuallyFocused : focusedState;\n let registerEffect;\n const registeredInput = React.useRef(false);\n if (process.env.NODE_ENV !== 'production') {\n registerEffect = () => {\n if (registeredInput.current) {\n console.error(['MUI: There are multiple `InputBase` components inside a FormControl.', 'This creates visual inconsistencies, only use one `InputBase`.'].join('\\n'));\n }\n registeredInput.current = true;\n return () => {\n registeredInput.current = false;\n };\n };\n }\n const onFilled = React.useCallback(() => {\n setFilled(true);\n }, []);\n const onEmpty = React.useCallback(() => {\n setFilled(false);\n }, []);\n const childContext = React.useMemo(() => {\n return {\n adornedStart,\n setAdornedStart,\n color,\n disabled,\n error,\n filled,\n focused,\n fullWidth,\n hiddenLabel,\n size,\n onBlur: () => {\n setFocused(false);\n },\n onFocus: () => {\n setFocused(true);\n },\n onEmpty,\n onFilled,\n registerEffect,\n required,\n variant\n };\n }, [adornedStart, color, disabled, error, filled, focused, fullWidth, hiddenLabel, registerEffect, onEmpty, onFilled, required, size, variant]);\n return /*#__PURE__*/_jsx(FormControlContext.Provider, {\n value: childContext,\n children: /*#__PURE__*/_jsx(FormControlRoot, {\n as: component,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ref: ref,\n ...other,\n children: children\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? FormControl.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * @default 'primary'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * If `true`, the label, input and helper text should be displayed in a disabled state.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the label is displayed in an error state.\n * @default false\n */\n error: PropTypes.bool,\n /**\n * If `true`, the component is displayed in focused state.\n */\n focused: PropTypes.bool,\n /**\n * If `true`, the component will take up the full width of its container.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * If `true`, the label is hidden.\n * This is used to increase density for a `FilledInput`.\n * Be sure to add `aria-label` to the `input` element.\n * @default false\n */\n hiddenLabel: PropTypes.bool,\n /**\n * If `dense` or `normal`, will adjust vertical spacing of this and contained components.\n * @default 'none'\n */\n margin: PropTypes.oneOf(['dense', 'none', 'normal']),\n /**\n * If `true`, the label will indicate that the `input` is required.\n * @default false\n */\n required: PropTypes.bool,\n /**\n * The size of the component.\n * @default 'medium'\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.string]),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The variant to use.\n * @default 'outlined'\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nexport default FormControl;","'use client';\n\nvar _span;\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { useFormControlState } from \"../FormControl/useFormControl.mjs\";\nimport { styled } from \"../zero-styled/index.mjs\";\nimport memoTheme from \"../utils/memoTheme.mjs\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.mjs\";\nimport capitalize from \"../utils/capitalize.mjs\";\nimport formHelperTextClasses, { getFormHelperTextUtilityClasses } from \"./formHelperTextClasses.mjs\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n contained,\n size,\n disabled,\n error,\n filled,\n focused,\n required\n } = ownerState;\n const slots = {\n root: ['root', disabled && 'disabled', error && 'error', size && `size${capitalize(size)}`, contained && 'contained', focused && 'focused', filled && 'filled', required && 'required']\n };\n return composeClasses(slots, getFormHelperTextUtilityClasses, classes);\n};\nconst FormHelperTextRoot = styled('p', {\n name: 'MuiFormHelperText',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.size && styles[`size${capitalize(ownerState.size)}`], ownerState.contained && styles.contained, ownerState.filled && styles.filled];\n }\n})(memoTheme(({\n theme\n}) => ({\n color: (theme.vars || theme).palette.text.secondary,\n ...theme.typography.caption,\n textAlign: 'left',\n marginTop: 3,\n marginRight: 0,\n marginBottom: 0,\n marginLeft: 0,\n [`&.${formHelperTextClasses.disabled}`]: {\n color: (theme.vars || theme).palette.text.disabled\n },\n [`&.${formHelperTextClasses.error}`]: {\n color: (theme.vars || theme).palette.error.main\n },\n variants: [{\n props: {\n size: 'small'\n },\n style: {\n marginTop: 4\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.contained,\n style: {\n marginLeft: 14,\n marginRight: 14\n }\n }]\n})));\nconst FormHelperText = /*#__PURE__*/React.forwardRef(function FormHelperText(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiFormHelperText'\n });\n const {\n children,\n className,\n component = 'p',\n disabled,\n error,\n filled,\n focused,\n margin,\n required,\n variant,\n ...other\n } = props;\n const [fcs] = useFormControlState({\n props,\n states: ['variant', 'size', 'disabled', 'error', 'filled', 'focused', 'required']\n });\n const ownerState = {\n ...props,\n component,\n contained: fcs.variant === 'filled' || fcs.variant === 'outlined',\n variant: fcs.variant,\n size: fcs.size,\n disabled: fcs.disabled,\n error: fcs.error,\n filled: fcs.filled,\n focused: fcs.focused,\n required: fcs.required\n };\n\n // This issue explains why this is required: https://github.com/mui/material-ui/issues/42184\n delete ownerState.ownerState;\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(FormHelperTextRoot, {\n as: component,\n className: clsx(classes.root, className),\n ref: ref,\n ...other,\n ownerState: ownerState,\n children: children === ' ' ? // notranslate needed while Google Translate will not fix zero-width space issue\n _span || (_span = /*#__PURE__*/_jsx(\"span\", {\n className: \"notranslate\",\n \"aria-hidden\": true,\n children: \"\\u200B\"\n })) : children\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? FormHelperText.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n *\n * If `' '` is provided, the component reserves one line height for displaying a future message.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * If `true`, the helper text should be displayed in a disabled state.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, helper text should be displayed in an error state.\n */\n error: PropTypes.bool,\n /**\n * If `true`, the helper text should use filled classes key.\n */\n filled: PropTypes.bool,\n /**\n * If `true`, the helper text should use focused classes key.\n */\n focused: PropTypes.bool,\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n */\n margin: PropTypes.oneOf(['dense']),\n /**\n * If `true`, the helper text should use required classes key.\n */\n required: PropTypes.bool,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The variant to use.\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['filled', 'outlined', 'standard']), PropTypes.string])\n} : void 0;\nexport default FormHelperText;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { useFormControlState } from \"../FormControl/useFormControl.mjs\";\nimport capitalize from \"../utils/capitalize.mjs\";\nimport { styled } from \"../zero-styled/index.mjs\";\nimport memoTheme from \"../utils/memoTheme.mjs\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.mjs\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.mjs\";\nimport formLabelClasses, { getFormLabelUtilityClasses } from \"./formLabelClasses.mjs\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n color,\n focused,\n disabled,\n error,\n filled,\n required\n } = ownerState;\n const slots = {\n root: ['root', `color${capitalize(color)}`, disabled && 'disabled', error && 'error', filled && 'filled', focused && 'focused', required && 'required'],\n asterisk: ['asterisk', error && 'error']\n };\n return composeClasses(slots, getFormLabelUtilityClasses, classes);\n};\nexport const FormLabelRoot = styled('label', {\n name: 'MuiFormLabel',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.color === 'secondary' && styles.colorSecondary, ownerState.filled && styles.filled];\n }\n})(memoTheme(({\n theme\n}) => ({\n color: (theme.vars || theme).palette.text.secondary,\n ...theme.typography.body1,\n lineHeight: '1.4375em',\n padding: 0,\n position: 'relative',\n variants: [...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({\n props: {\n color\n },\n style: {\n [`&.${formLabelClasses.focused}`]: {\n color: (theme.vars || theme).palette[color].main\n }\n }\n })), {\n props: {},\n style: {\n [`&.${formLabelClasses.disabled}`]: {\n color: (theme.vars || theme).palette.text.disabled\n },\n [`&.${formLabelClasses.error}`]: {\n color: (theme.vars || theme).palette.error.main\n }\n }\n }]\n})));\nconst AsteriskComponent = styled('span', {\n name: 'MuiFormLabel',\n slot: 'Asterisk'\n})(memoTheme(({\n theme\n}) => ({\n [`&.${formLabelClasses.error}`]: {\n color: (theme.vars || theme).palette.error.main\n }\n})));\nconst FormLabel = /*#__PURE__*/React.forwardRef(function FormLabel(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiFormLabel'\n });\n const {\n children,\n className,\n color,\n component = 'label',\n disabled,\n error,\n filled,\n focused,\n required,\n ...other\n } = props;\n const [fcs] = useFormControlState({\n props,\n states: ['color', 'required', 'focused', 'disabled', 'error', 'filled']\n });\n const ownerState = {\n ...props,\n color: fcs.color || 'primary',\n component,\n disabled: fcs.disabled,\n error: fcs.error,\n filled: fcs.filled,\n focused: fcs.focused,\n required: fcs.required\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsxs(FormLabelRoot, {\n as: component,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ref: ref,\n ...other,\n children: [children, fcs.required && /*#__PURE__*/_jsxs(AsteriskComponent, {\n ownerState: ownerState,\n \"aria-hidden\": true,\n className: classes.asterisk,\n children: [\"\\u2009\", '*']\n })]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? FormLabel.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'primary', 'secondary', 'success', 'warning']), PropTypes.string]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * If `true`, the label should be displayed in a disabled state.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the label is displayed in an error state.\n */\n error: PropTypes.bool,\n /**\n * If `true`, the label should use filled classes key.\n */\n filled: PropTypes.bool,\n /**\n * If `true`, the input of this label is focused (used by `FormGroup` components).\n */\n focused: PropTypes.bool,\n /**\n * If `true`, the label will indicate that the `input` is required.\n */\n required: PropTypes.bool,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default FormLabel;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getInputLabelUtilityClasses(slot) {\n return generateUtilityClass('MuiInputLabel', slot);\n}\nconst inputLabelClasses = generateUtilityClasses('MuiInputLabel', ['root', 'focused', 'disabled', 'error', 'required', 'asterisk', 'formControl', 'sizeSmall', 'shrink', 'animated', 'standard', 'filled', 'outlined']);\nexport default inputLabelClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport composeClasses from '@mui/utils/composeClasses';\nimport deepmerge from '@mui/utils/deepmerge';\nimport refType from '@mui/utils/refType';\nimport InputBase from \"../InputBase/index.mjs\";\nimport rootShouldForwardProp from \"../styles/rootShouldForwardProp.mjs\";\nimport { styled } from \"../zero-styled/index.mjs\";\nimport memoTheme from \"../utils/memoTheme.mjs\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.mjs\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.mjs\";\nimport inputLabelClasses from \"../InputLabel/inputLabelClasses.mjs\";\nimport inputClasses, { getInputUtilityClass } from \"./inputClasses.mjs\";\nimport { getTransitionStyles } from \"../transitions/utils.mjs\";\nimport { rootOverridesResolver as inputBaseRootOverridesResolver, inputOverridesResolver as inputBaseInputOverridesResolver, InputBaseRoot, InputBaseInput } from \"../InputBase/InputBase.mjs\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disableUnderline\n } = ownerState;\n const slots = {\n root: ['root', !disableUnderline && 'underline'],\n input: ['input']\n };\n const composedClasses = composeClasses(slots, getInputUtilityClass, classes);\n return {\n ...classes,\n // forward classes to the InputBase\n ...composedClasses\n };\n};\nconst InputRoot = styled(InputBaseRoot, {\n shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',\n name: 'MuiInput',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [...inputBaseRootOverridesResolver(props, styles), !ownerState.disableUnderline && styles.underline];\n }\n})(memoTheme(({\n theme\n}) => {\n const light = theme.palette.mode === 'light';\n let bottomLineColor = light ? 'rgba(0, 0, 0, 0.42)' : 'rgba(255, 255, 255, 0.7)';\n if (theme.vars) {\n bottomLineColor = theme.alpha(theme.vars.palette.common.onBackground, theme.vars.opacity.inputUnderline);\n }\n return {\n position: 'relative',\n variants: [{\n props: ({\n ownerState\n }) => ownerState.formControl,\n style: {\n [`label + &, .${inputLabelClasses.root} + &`]: {\n marginTop: 16\n }\n }\n }, {\n props: ({\n ownerState\n }) => !ownerState.disableUnderline,\n style: {\n '&::after': {\n left: 0,\n bottom: 0,\n content: '\"\"',\n position: 'absolute',\n right: 0,\n transform: 'scaleX(0)',\n ...getTransitionStyles(theme, 'transform', {\n duration: theme.transitions.duration.shorter,\n easing: theme.transitions.easing.easeOut\n }),\n pointerEvents: 'none' // Transparent to the hover style.\n },\n [`&.${inputClasses.focused}:after`]: {\n // translateX(0) is a workaround for Safari transform scale bug\n // See https://github.com/mui/material-ui/issues/31766\n transform: 'scaleX(1) translateX(0)'\n },\n [`&.${inputClasses.error}`]: {\n '&::before, &::after': {\n borderBottomColor: (theme.vars || theme).palette.error.main\n }\n },\n '&::before': {\n borderBottom: `1px solid ${bottomLineColor}`,\n left: 0,\n bottom: 0,\n content: '\"\"',\n position: 'absolute',\n right: 0,\n ...getTransitionStyles(theme, 'border-bottom-color', {\n duration: theme.transitions.duration.shorter\n }),\n pointerEvents: 'none' // Transparent to the hover style.\n },\n [`&:hover:not(.${inputClasses.disabled}, .${inputClasses.error}):before`]: {\n borderBottom: `2px solid ${(theme.vars || theme).palette.text.primary}`,\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n borderBottom: `1px solid ${bottomLineColor}`\n }\n },\n [`&.${inputClasses.disabled}:before`]: {\n borderBottomStyle: 'dotted'\n }\n }\n }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({\n props: {\n color,\n disableUnderline: false\n },\n style: {\n '&::after': {\n borderBottom: `2px solid ${(theme.vars || theme).palette[color].main}`\n }\n }\n }))]\n };\n}));\nconst InputInput = styled(InputBaseInput, {\n name: 'MuiInput',\n slot: 'Input',\n overridesResolver: inputBaseInputOverridesResolver\n})({});\nconst Input = /*#__PURE__*/React.forwardRef(function Input(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiInput'\n });\n const {\n disableUnderline = false,\n fullWidth = false,\n inputComponent = 'input',\n multiline = false,\n notched,\n // declare here to prevent spreading to DOM\n slotProps,\n slots = {},\n type = 'text',\n ...other\n } = props;\n const classes = useUtilityClasses(props);\n const ownerState = {\n disableUnderline\n };\n const inputComponentsProps = {\n root: {\n ownerState\n }\n };\n const componentsProps = slotProps ? deepmerge(slotProps, inputComponentsProps) : inputComponentsProps;\n const RootSlot = slots.root ?? InputRoot;\n const InputSlot = slots.input ?? InputInput;\n return /*#__PURE__*/_jsx(InputBase, {\n slots: {\n root: RootSlot,\n input: InputSlot\n },\n slotProps: componentsProps,\n fullWidth: fullWidth,\n inputComponent: inputComponent,\n multiline: multiline,\n ref: ref,\n type: type,\n ...other,\n classes: classes\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Input.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n /**\n * If `true`, the `input` element is focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * If `true`, the component is disabled.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the `input` will not have an underline.\n * @default false\n */\n disableUnderline: PropTypes.bool,\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment: PropTypes.node,\n /**\n * If `true`, the `input` will indicate an error.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n error: PropTypes.bool,\n /**\n * If `true`, the `input` will take up the full width of its container.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n /**\n * The component used for the `input` element.\n * Either a string to use a HTML element or a component.\n * @default 'input'\n */\n inputComponent: PropTypes.elementType,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.\n * @default {}\n */\n inputProps: PropTypes.object,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n * The prop defaults to the value (`'none'`) inherited from the parent FormControl component.\n */\n margin: PropTypes.oneOf(['dense', 'none']),\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n maxRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Minimum number of rows to display when multiline option is set to true.\n */\n minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * If `true`, a [TextareaAutosize](https://mui.com/material-ui/react-textarea-autosize/) element is rendered.\n * @default false\n */\n multiline: PropTypes.bool,\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n /**\n * @internal\n */\n notched: PropTypes.bool,\n /**\n * Callback fired when the value is changed.\n *\n * @param {React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n /**\n * The short hint displayed in the `input` before the user enters a value.\n */\n placeholder: PropTypes.string,\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n /**\n * If `true`, the `input` element is required.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n required: PropTypes.bool,\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * @default {}\n */\n slotProps: PropTypes.shape({\n input: PropTypes.object,\n root: PropTypes.object\n }),\n /**\n * The components used for each slot inside.\n *\n * @default {}\n */\n slots: PropTypes.shape({\n input: PropTypes.elementType,\n root: PropTypes.elementType\n }),\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment: PropTypes.node,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types).\n * @default 'text'\n */\n type: PropTypes.string,\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any\n} : void 0;\nInput.muiName = 'Input';\nexport default Input;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport composeClasses from '@mui/utils/composeClasses';\nimport clsx from 'clsx';\nimport { useFormControlState } from \"../FormControl/useFormControl.mjs\";\nimport FormLabel, { formLabelClasses } from \"../FormLabel/index.mjs\";\nimport capitalize from \"../utils/capitalize.mjs\";\nimport rootShouldForwardProp from \"../styles/rootShouldForwardProp.mjs\";\nimport { styled } from \"../zero-styled/index.mjs\";\nimport memoTheme from \"../utils/memoTheme.mjs\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.mjs\";\nimport { getInputLabelUtilityClasses } from \"./inputLabelClasses.mjs\";\nimport { getTransitionStyles } from \"../transitions/utils.mjs\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n formControl,\n size,\n shrink,\n disableAnimation,\n variant,\n required\n } = ownerState;\n const slots = {\n root: ['root', formControl && 'formControl', !disableAnimation && 'animated', shrink && 'shrink', size && size !== 'medium' && `size${capitalize(size)}`, variant],\n asterisk: [required && 'asterisk']\n };\n const composedClasses = composeClasses(slots, getInputLabelUtilityClasses, classes);\n return {\n ...classes,\n // forward the focused, disabled, etc. classes to the FormLabel\n ...composedClasses\n };\n};\nconst InputLabelRoot = styled(FormLabel, {\n shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',\n name: 'MuiInputLabel',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [{\n [`& .${formLabelClasses.asterisk}`]: styles.asterisk\n }, styles.root, ownerState.formControl && styles.formControl, ownerState.size === 'small' && styles.sizeSmall, ownerState.shrink && styles.shrink, !ownerState.disableAnimation && styles.animated, ownerState.focused && styles.focused, styles[ownerState.variant]];\n }\n})(memoTheme(({\n theme\n}) => ({\n display: 'block',\n transformOrigin: 'top left',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n maxWidth: '100%',\n variants: [{\n props: ({\n ownerState\n }) => ownerState.formControl,\n style: {\n position: 'absolute',\n left: 0,\n top: 0,\n // slight alteration to spec spacing to match visual spec result\n transform: 'translate(0, 20px) scale(1)'\n }\n }, {\n props: {\n size: 'small'\n },\n style: {\n // Compensation for the `Input` small size style.\n transform: 'translate(0, 17px) scale(1)'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.shrink,\n style: {\n transform: 'translate(0, -1.5px) scale(0.75)',\n transformOrigin: 'top left',\n maxWidth: '133%'\n }\n }, {\n props: ({\n ownerState\n }) => !ownerState.disableAnimation,\n style: {\n ...getTransitionStyles(theme, ['color', 'transform', 'max-width'], {\n duration: theme.transitions.duration.shorter,\n easing: theme.transitions.easing.easeOut\n })\n }\n }, {\n props: {\n variant: 'filled'\n },\n style: {\n // Chrome's autofill feature gives the input field a yellow background.\n // Since the input field is behind the label in the HTML tree,\n // the input field is drawn last and hides the label with an opaque background color.\n // zIndex: 1 will raise the label above opaque background-colors of input.\n zIndex: 1,\n pointerEvents: 'none',\n transform: 'translate(12px, 16px) scale(1)',\n maxWidth: 'calc(100% - 24px)'\n }\n }, {\n props: {\n variant: 'filled',\n size: 'small'\n },\n style: {\n transform: 'translate(12px, 13px) scale(1)'\n }\n }, {\n props: ({\n variant,\n ownerState\n }) => variant === 'filled' && ownerState.shrink,\n style: {\n userSelect: 'none',\n pointerEvents: 'auto',\n transform: 'translate(12px, 7px) scale(0.75)',\n maxWidth: 'calc(133% - 24px)'\n }\n }, {\n props: ({\n variant,\n ownerState,\n size\n }) => variant === 'filled' && ownerState.shrink && size === 'small',\n style: {\n transform: 'translate(12px, 4px) scale(0.75)'\n }\n }, {\n props: {\n variant: 'outlined'\n },\n style: {\n // see comment above on filled.zIndex\n zIndex: 1,\n pointerEvents: 'none',\n transform: 'translate(14px, 16px) scale(1)',\n maxWidth: 'calc(100% - 24px)'\n }\n }, {\n props: {\n variant: 'outlined',\n size: 'small'\n },\n style: {\n transform: 'translate(14px, 9px) scale(1)'\n }\n }, {\n props: ({\n variant,\n ownerState\n }) => variant === 'outlined' && ownerState.shrink,\n style: {\n userSelect: 'none',\n pointerEvents: 'auto',\n // Theoretically, we should have (8+5)*2/0.75 = 34px\n // but it feels a better when it bleeds a bit on the left, so 32px.\n maxWidth: 'calc(133% - 32px)',\n transform: 'translate(14px, -9px) scale(0.75)'\n }\n }]\n})));\nconst InputLabel = /*#__PURE__*/React.forwardRef(function InputLabel(inProps, ref) {\n const props = useDefaultProps({\n name: 'MuiInputLabel',\n props: inProps\n });\n const {\n disableAnimation = false,\n margin,\n shrink: shrinkProp,\n variant,\n className,\n ...other\n } = props;\n const [fcs, muiFormControl] = useFormControlState({\n props,\n states: ['size', 'variant', 'required', 'focused']\n });\n let shrink = shrinkProp;\n if (typeof shrink === 'undefined' && muiFormControl) {\n shrink = muiFormControl.filled || muiFormControl.focused || muiFormControl.adornedStart;\n }\n const ownerState = {\n ...props,\n disableAnimation,\n formControl: muiFormControl,\n shrink,\n size: fcs.size,\n variant: fcs.variant,\n required: fcs.required,\n focused: fcs.focused\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(InputLabelRoot, {\n \"data-shrink\": shrink,\n ref: ref,\n className: clsx(classes.root, className),\n ...other,\n ownerState: ownerState,\n classes: classes\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? InputLabel.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'primary', 'secondary', 'success', 'warning']), PropTypes.string]),\n /**\n * If `true`, the transition animation is disabled.\n * @default false\n */\n disableAnimation: PropTypes.bool,\n /**\n * If `true`, the component is disabled.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the label is displayed in an error state.\n */\n error: PropTypes.bool,\n /**\n * If `true`, the `input` of this label is focused.\n */\n focused: PropTypes.bool,\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n */\n margin: PropTypes.oneOf(['dense']),\n /**\n * if `true`, the label will indicate that the `input` is required.\n */\n required: PropTypes.bool,\n /**\n * If `true`, the label is shrunk.\n */\n shrink: PropTypes.bool,\n /**\n * The size of the component.\n * @default 'medium'\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.string]),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nexport default InputLabel;","'use client';\n\nimport * as React from 'react';\n\n/**\n * @ignore - internal component.\n */\nconst ListContext = /*#__PURE__*/React.createContext({});\nif (process.env.NODE_ENV !== 'production') {\n ListContext.displayName = 'ListContext';\n}\nexport default ListContext;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getListUtilityClass(slot) {\n return generateUtilityClass('MuiList', slot);\n}\nconst listClasses = generateUtilityClasses('MuiList', ['root', 'padding', 'dense', 'subheader']);\nexport default listClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { styled } from \"../zero-styled/index.mjs\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.mjs\";\nimport ListContext from \"./ListContext.mjs\";\nimport { getListUtilityClass } from \"./listClasses.mjs\";\nimport { jsxs as _jsxs, jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disablePadding,\n dense,\n subheader\n } = ownerState;\n const slots = {\n root: ['root', !disablePadding && 'padding', dense && 'dense', subheader && 'subheader']\n };\n return composeClasses(slots, getListUtilityClass, classes);\n};\nconst ListRoot = styled('ul', {\n name: 'MuiList',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, !ownerState.disablePadding && styles.padding, ownerState.dense && styles.dense, ownerState.subheader && styles.subheader];\n }\n})({\n listStyle: 'none',\n margin: 0,\n padding: 0,\n position: 'relative',\n variants: [{\n props: ({\n ownerState\n }) => !ownerState.disablePadding,\n style: {\n paddingTop: 8,\n paddingBottom: 8\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.subheader,\n style: {\n paddingTop: 0,\n isolation: 'isolate' // Prevent overlap with iOS overlay scrollbars.\n }\n }]\n});\nconst List = /*#__PURE__*/React.forwardRef(function List(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiList'\n });\n const {\n children,\n className,\n component = 'ul',\n dense = false,\n disablePadding = false,\n subheader,\n ...other\n } = props;\n const context = React.useMemo(() => ({\n dense\n }), [dense]);\n const ownerState = {\n ...props,\n component,\n dense,\n disablePadding\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(ListContext.Provider, {\n value: context,\n children: /*#__PURE__*/_jsxs(ListRoot, {\n as: component,\n className: clsx(classes.root, className),\n ref: ref,\n ownerState: ownerState,\n ...other,\n children: [subheader, children]\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? List.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * If `true`, compact vertical padding designed for keyboard and mouse input is used for\n * the list and list items.\n * The prop is available to descendant components as the `dense` context.\n * @default false\n */\n dense: PropTypes.bool,\n /**\n * If `true`, vertical padding is removed from the list.\n * @default false\n */\n disablePadding: PropTypes.bool,\n /**\n * The content of the subheader, normally `ListSubheader`.\n */\n subheader: PropTypes.node,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default List;","'use client';\n\nimport * as React from 'react';\nexport const RovingTabIndexContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== 'production') {\n RovingTabIndexContext.displayName = 'RovingTabIndexContext';\n}\nexport function useRovingTabIndexContext() {\n const context = React.useContext(RovingTabIndexContext);\n if (context === undefined) {\n throw new Error('MUI: RovingTabIndexContext is missing. Roving tab index items must be placed within a roving tab index provider.');\n }\n return context;\n}","// From mui-x: https://github.com/mui/mui-x/blob/bb92fb0adac6764461adea9a9d7d43f1095f49e5/packages/x-internals/src/fastObjectShallowCompare/fastObjectShallowCompare.ts\n/* eslint-disable guard-for-in */\n\nconst is = Object.is;\n\n/**\n * Fast shallow compare for plain objects.\n * Returns `true` when both objects have the same own enumerable keys and each value is equal\n * according to `Object.is()`.\n */\nexport default function fastObjectShallowCompare(a, b) {\n if (a === b) {\n return true;\n }\n if (!(a instanceof Object) || !(b instanceof Object)) {\n return false;\n }\n let aLength = 0;\n let bLength = 0;\n for (const key in a) {\n aLength += 1;\n if (!is(a[key], b[key])) {\n return false;\n }\n if (!(key in b)) {\n return false;\n }\n }\n\n // eslint-disable-next-line @typescript-eslint/naming-convention, @typescript-eslint/no-unused-vars\n for (const _ in b) {\n bLength += 1;\n }\n return aLength === bLength;\n}","'use client';\n\nimport * as React from 'react';\nimport fastObjectShallowCompare from \"../fastObjectShallowCompare/index.mjs\";\nimport getActiveElement from \"../getActiveElement/index.mjs\";\nimport ownerDocument from \"../ownerDocument/index.mjs\";\nimport setRef from \"../setRef/index.mjs\";\nimport useEnhancedEffect from \"../useEnhancedEffect/index.mjs\";\nimport useEventCallback from \"../useEventCallback/index.mjs\";\nimport useForkRef from \"../useForkRef/index.mjs\";\nimport { useRovingTabIndexContext } from \"./RovingTabIndexContext.mjs\";\nconst SUPPORTED_KEYS = ['ArrowRight', 'ArrowLeft', 'ArrowUp', 'ArrowDown', 'Home', 'End'];\n\n/**\n * Provides roving tab index behavior for a composite container and its focusable children.\n * This is useful for implementing keyboard navigation in components like menus, tabs, and lists.\n * The hook manages the focus state of child elements and provides props to be spread on both the container and the items.\n * The container will handle keyboard events to move focus between items based on the specified orientation and wrapping behavior.\n */\nexport function useRovingTabIndexRoot(params) {\n const {\n activeItemId: activeItemIdProp,\n getDefaultActiveItemId,\n orientation,\n isRtl = false,\n isItemFocusable: itemFilter = isItemFocusable,\n wrap = true\n } = params;\n const [activeItemIdState, setActiveItemIdState] = React.useState(activeItemIdProp);\n const [previousActiveItemIdProp, setPreviousActiveItemIdProp] = React.useState(activeItemIdProp);\n let activeItemIdCandidate = activeItemIdState;\n if (activeItemIdProp !== previousActiveItemIdProp) {\n setPreviousActiveItemIdProp(activeItemIdProp);\n if (activeItemIdProp !== undefined && activeItemIdProp !== activeItemIdState) {\n activeItemIdCandidate = activeItemIdProp;\n setActiveItemIdState(activeItemIdProp);\n }\n }\n const containerRef = React.useRef(null);\n\n // based on https://github.com/mui/base-ui/blob/7392a928fca91fcc68b9fad3439ac61e10f3f7ba/packages/react/src/composite/list/CompositeList.tsx#L25-L35\n const itemMapRef = React.useRef(new Map());\n const [mapTick, setMapTick] = React.useState(0);\n const orderedItems = React.useMemo(() => {\n void mapTick;\n return getOrderedItems(itemMapRef.current);\n }, [mapTick]);\n const resolvedActiveItemId = resolveActiveItemId(activeItemIdCandidate, orderedItems, itemFilter, getDefaultActiveItemId);\n const activeItemIdRef = React.useRef(resolvedActiveItemId);\n activeItemIdRef.current = resolvedActiveItemId;\n const getActiveItem = React.useCallback(() => {\n const snapshot = getOrderedItems(itemMapRef.current);\n const resolvedItemId = resolveActiveItemId(activeItemIdRef.current, snapshot, itemFilter, getDefaultActiveItemId);\n return getItemById(snapshot, resolvedItemId);\n }, [getDefaultActiveItemId, itemFilter]);\n const getItemMap = React.useCallback(() => {\n return itemMapRef.current;\n }, []);\n const registerItem = useEventCallback(item => {\n const previousItem = itemMapRef.current.get(item.id);\n if (fastObjectShallowCompare(previousItem ?? null, item)) {\n return;\n }\n itemMapRef.current.set(item.id, item);\n setMapTick(value => value + 1);\n });\n const unregisterItem = useEventCallback(itemId => {\n if (itemMapRef.current.delete(itemId)) {\n setMapTick(value => value + 1);\n }\n });\n const setActiveItemId = useEventCallback(itemId => {\n setActiveItemIdState(itemId);\n });\n const isItemActive = React.useCallback(itemId => {\n return activeItemIdRef.current === itemId;\n }, []);\n\n // Moves focus relative to a starting index. This is the directional helper used by\n // keyboard navigation and `focusNext()`.\n const focusItem = React.useCallback((currentIndex, direction, wrap, isItemFocusableOverride) => {\n const snapshot = getNavigableItemsSnapshot(itemMapRef.current);\n const nextItem = getNextActiveItem(snapshot, currentIndex, direction, wrap, isItemFocusableOverride ?? itemFilter);\n if (!nextItem) {\n return null;\n }\n nextItem.element?.focus();\n setActiveItemIdState(nextItem.id);\n return nextItem;\n }, [itemFilter]);\n const getContainerProps = React.useCallback((ref, onFocusProp, onKeyDownProp) => {\n const onFocus = event => {\n onFocusProp?.(event);\n const snapshot = getNavigableItemsSnapshot(itemMapRef.current);\n const focusedIndex = findItemIndexByElement(snapshot, event.target);\n if (focusedIndex !== -1) {\n setActiveItemIdState(snapshot[focusedIndex].id);\n }\n };\n const onKeyDown = event => {\n onKeyDownProp?.(event);\n if (event.defaultPrevented || event.altKey || event.shiftKey || event.ctrlKey || event.metaKey) {\n return;\n }\n if (!SUPPORTED_KEYS.includes(event.key)) {\n return;\n }\n let previousItemKey = orientation === 'horizontal' ? 'ArrowLeft' : 'ArrowUp';\n let nextItemKey = orientation === 'horizontal' ? 'ArrowRight' : 'ArrowDown';\n if (orientation === 'horizontal' && isRtl) {\n previousItemKey = 'ArrowRight';\n nextItemKey = 'ArrowLeft';\n }\n const snapshot = getNavigableItemsSnapshot(itemMapRef.current);\n const currentFocus = getActiveElement(ownerDocument(containerRef.current));\n const isFocusOnContainer = currentFocus === containerRef.current;\n let currentIndex = getCurrentActiveItemIndex(snapshot, currentFocus, activeItemIdRef.current);\n let direction = 'next';\n switch (event.key) {\n case previousItemKey:\n direction = 'previous';\n event.preventDefault();\n if (isFocusOnContainer) {\n // Set to length, so that the previous focused element will be the last one.\n currentIndex = snapshot.length;\n }\n break;\n case nextItemKey:\n event.preventDefault();\n if (isFocusOnContainer) {\n currentIndex = -1;\n }\n break;\n case 'Home':\n event.preventDefault();\n currentIndex = -1;\n break;\n case 'End':\n event.preventDefault();\n direction = 'previous';\n currentIndex = snapshot.length;\n break;\n default:\n return;\n }\n focusItem(currentIndex, direction, wrap);\n };\n return {\n onFocus,\n onKeyDown,\n ref: handleRefs(ref, elementNode => {\n containerRef.current = elementNode;\n })\n };\n }, [focusItem, isRtl, orientation, wrap]);\n const focusNext = React.useCallback(isItemFocusableOverride => {\n const snapshot = getNavigableItemsSnapshot(itemMapRef.current);\n const currentFocus = getActiveElement(ownerDocument(containerRef.current));\n const isFocusOnContainer = currentFocus === containerRef.current;\n const currentIndex = isFocusOnContainer ? -1 : getCurrentActiveItemIndex(snapshot, currentFocus, activeItemIdRef.current);\n return focusItem(currentIndex, 'next', true, isItemFocusableOverride)?.id ?? null;\n }, [focusItem]);\n return React.useMemo(() => ({\n activeItemId: resolvedActiveItemId,\n focusNext,\n getActiveItem,\n getContainerProps,\n getItemMap,\n isItemActive,\n registerItem,\n setActiveItemId,\n unregisterItem\n }), [resolvedActiveItemId, focusNext, getActiveItem, getContainerProps, getItemMap, isItemActive, registerItem, setActiveItemId, unregisterItem]);\n}\nexport function useRovingTabIndexItem(params) {\n const rootContext = useRovingTabIndexContext();\n const {\n activeItemId,\n registerItem,\n unregisterItem\n } = rootContext;\n const elementRef = React.useRef(null);\n const item = React.useMemo(() => ({\n disabled: params.disabled ?? false,\n element: null,\n focusableWhenDisabled: params.focusableWhenDisabled ?? false,\n id: params.id,\n selected: params.selected ?? false,\n textValue: params.textValue\n }), [params.disabled, params.focusableWhenDisabled, params.id, params.selected, params.textValue]);\n const latestItemRef = React.useRef(item);\n // Keep the ref callback stable across item prop changes. The callback reads the latest\n // item metadata from this ref so React does not have to detach and re-attach the ref\n // every time `disabled`, `selected`, or similar item state changes.\n latestItemRef.current = item;\n const handleElementRef = React.useCallback(element => {\n elementRef.current = element;\n if (element == null) {\n // Ref detachment runs during React's commit phase. Calling `unregisterItem()`\n // synchronously here can trigger a nested state update while React is still\n // finishing that commit. Unregister in a microtask so it runs after the\n // commit completes.\n queueMicrotask(() => {\n // null check prevents stale unregisters for a remove-then-re-add edge case\n if (elementRef.current == null) {\n unregisterItem(params.id);\n }\n });\n return;\n }\n registerItem({\n ...latestItemRef.current,\n element\n });\n }, [params.id, registerItem, unregisterItem]);\n\n // `UseRovingTabIndexItemReturnValue.ref` must always be a callback ref. `useForkRef()`\n // is typed to return `null` when every input ref is nullish, but this call always includes\n // `handleElementRef`, so the merged ref cannot be `null` here.\n const mergedRef = useForkRef(params.ref, handleElementRef);\n useEnhancedEffect(() => {\n if (!elementRef.current) {\n return;\n }\n registerItem({\n ...item,\n element: elementRef.current\n });\n }, [item, registerItem]);\n useEnhancedEffect(() => {\n const itemId = params.id;\n\n // Keep unmount cleanup separate from the effect above. The effect above re-runs when\n // item metadata changes, but we only want to unregister on unmount or when the item id changes.\n return () => {\n unregisterItem(itemId);\n };\n }, [params.id, unregisterItem]);\n return {\n ref: mergedRef,\n tabIndex: activeItemId === params.id ? 0 : -1\n };\n}\n\n/**\n * Resolves which item id should own the roving tab stop for the current render.\n *\n * This is the top-level decision point for \"who gets `tabIndex=0` right now?\".\n * For example:\n * - `Tabs` sometimes passes `selectedValue` as `activeItemId` so the selected tab becomes\n * the tab stop when focus enters the list from outside.\n * - `MenuList` leaves `activeItemId` undefined and relies on the default-item logic below\n * so that menu-specific rules decide which menu item should initially own the tab stop.\n *\n * @param activeItemId The item id supplied through the root hook's `activeItemId` option.\n * `undefined` means \"the caller did not ask for a specific item, use the default-item\n * logic instead\". `null` means \"there is intentionally no preferred item, so also fall\n * back to the default-item logic\".\n * @param items The ordered registered items currently in the roving set.\n * @param isFocusable A predicate that decides whether an item may receive roving focus.\n * @param getDefaultActiveItemId Optional caller-provided function that picks the preferred\n * default item when `activeItemId` is not driving the tab stop directly.\n * @returns The id of the item that should own `tabIndex=0`, or `null` if no item is focusable.\n */\nfunction resolveActiveItemId(activeItemId, items, isFocusable, getDefaultActiveItemId) {\n if (activeItemId != null) {\n return resolveRequestedItemId(activeItemId, items, isFocusable);\n }\n return resolveDefaultItemId(items, isFocusable, getDefaultActiveItemId);\n}\n\n/**\n * Resolves the item id supplied through the root hook's `activeItemId` option.\n *\n * This path is used when a component such as `Tabs` or `MenuList` wants roving focus to\n * follow a specific logical item. For example, `Tabs` can pass the selected tab's value as\n * `activeItemId` so that the selected tab owns `tabIndex=0` when focus enters the list.\n *\n * @param requestedItemId The item id passed to the root hook's `activeItemId` option.\n * @param items The ordered registered items currently in the roving set.\n * @param isFocusable A predicate that decides whether an item may receive roving focus.\n * @returns The same id when it still points to a focusable item. If that id no longer exists,\n * returns the first focusable item. If the id still exists but the item is not focusable,\n * returns the next focusable item after it without wrapping.\n */\nfunction resolveRequestedItemId(requestedItemId, items, isFocusable) {\n const requestedItemIndex = findItemIndexById(items, requestedItemId);\n if (requestedItemIndex === -1) {\n return getFirstFocusableItemId(items, isFocusable);\n }\n if (isFocusable(items[requestedItemIndex])) {\n return items[requestedItemIndex].id;\n }\n return getNextActiveItem(items, requestedItemIndex, 'next', false, isFocusable)?.id ?? null;\n}\n\n/**\n * Resolves the default active item when the caller is not driving roving focus with\n * `activeItemId`.\n *\n * This path is used on the initial render and whenever the caller leaves the choice of tab\n * stop to the hook. `getDefaultActiveItemId` lets a component prefer a specific logical item\n * before falling back to the first focusable item.\n *\n * For example:\n * - `MenuList` uses this path all the time. When `variant=\"selectedMenu\"`, it prefers the\n * selected menu item; otherwise it prefers the first focusable menu item.\n * - `Tabs` uses this path while focus is already inside the tab list, because at that point\n * the current roving position should be driven by actual focus movement rather than by the\n * selected tab value.\n *\n * @param items The ordered registered items currently in the roving set.\n * @param isFocusable A predicate that decides whether an item may receive roving focus.\n * @param getDefaultActiveItemId Optional caller-provided function that chooses which item\n * should own the tab stop before the generic \"first focusable item\" fallback runs.\n * @returns The default item id when it points to a focusable item, otherwise the first\n * focusable item in the snapshot, or `null` when none are focusable.\n */\nfunction resolveDefaultItemId(items, isFocusable, getDefaultActiveItemId) {\n const defaultItemId = getDefaultActiveItemId?.(items);\n if (defaultItemId != null) {\n const defaultItem = getItemById(items, defaultItemId);\n if (defaultItem && isFocusable(defaultItem)) {\n return defaultItem.id;\n }\n }\n return getFirstFocusableItemId(items, isFocusable);\n}\n\n/**\n * Finds the best starting index for keyboard navigation.\n *\n * This is used immediately before keyboard navigation and `focusNext()` navigation. It prefers\n * the item that currently holds DOM focus, but if focus is on the container or outside the item\n * set it falls back to the last known active item id.\n *\n * @param items The navigable item snapshot used for the current keyboard interaction.\n * @param currentFocus The element that currently has DOM focus, if any.\n * @param fallbackActiveItemId The last known active item id when focus is not on an item.\n * @returns The focused item's index when focus is currently on an item. Otherwise, the index\n * of the fallback active item id, or `-1` when no matching item exists.\n */\nfunction getCurrentActiveItemIndex(items, currentFocus, fallbackActiveItemId) {\n if (currentFocus) {\n const focusedIndex = findItemIndexByElement(items, currentFocus);\n if (focusedIndex !== -1) {\n return focusedIndex;\n }\n }\n return findItemIndexById(items, fallbackActiveItemId);\n}\n\n/**\n * Walks the item snapshot to find the next focusable item in the requested direction.\n *\n * This is the shared navigation primitive used by keyboard handling and imperative helpers\n * such as `focusNext()`. It starts from the supplied index, advances through the snapshot in\n * the requested direction, and skips over items that fail the `isFocusable` predicate.\n *\n * @param items The ordered navigable item snapshot.\n * @param currentIndex The index to start from. Use `-1` to start before the first item or\n * `items.length` to start after the last item.\n * @param direction The direction to move through the snapshot.\n * @param wrap Whether navigation should wrap around at the ends of the list.\n * @param isFocusable A predicate that decides whether an item may receive roving focus.\n * @returns The next focusable item record, or `null` when no focusable item can be reached.\n */\nfunction getNextActiveItem(items, currentIndex, direction, wrap, isFocusable) {\n const lastIndex = items.length - 1;\n if (lastIndex === -1) {\n return null;\n }\n let wrappedOnce = false;\n let nextIndex = getNextIndex(currentIndex, lastIndex, direction, wrap);\n const startIndex = nextIndex;\n while (nextIndex !== -1) {\n if (nextIndex === startIndex) {\n if (wrappedOnce) {\n return null;\n }\n wrappedOnce = true;\n }\n const nextItem = items[nextIndex];\n if (!nextItem || !isFocusable(nextItem)) {\n nextIndex = getNextIndex(nextIndex, lastIndex, direction, wrap);\n } else {\n return nextItem;\n }\n }\n return null;\n}\nfunction getFirstFocusableItemId(items, isFocusable) {\n return items.find(item => isFocusable(item))?.id ?? null;\n}\nfunction getItemById(items, itemId) {\n return itemId == null ? null : items.find(item => item.id === itemId) ?? null;\n}\nfunction findItemIndexById(items, itemId) {\n return itemId == null ? -1 : items.findIndex(item => item.id === itemId);\n}\nfunction findItemIndexByElement(items, element) {\n if (!element) {\n return -1;\n }\n return items.findIndex(item => item.element === element || item.element?.contains(element));\n}\nfunction getOrderedItems(itemMap) {\n const items = Array.from(itemMap.values());\n if (items.every(item => item.element == null)) {\n return items;\n }\n const connectedItems = items.filter(isConnectedItem).sort((itemA, itemB) => sortByDocumentPosition(itemA.element, itemB.element));\n const disconnectedItems = items.filter(item => !isConnectedItem(item));\n return [...connectedItems, ...disconnectedItems];\n}\nfunction getNavigableItemsSnapshot(itemMap) {\n return getOrderedItems(itemMap).filter(isConnectedItem);\n}\nfunction getNextIndex(currentIndex, lastIndex, direction, wrap = true) {\n if (direction === 'next') {\n if (currentIndex === lastIndex) {\n return wrap ? 0 : -1;\n }\n return currentIndex + 1;\n }\n if (currentIndex === 0) {\n return wrap ? lastIndex : -1;\n }\n return currentIndex - 1;\n}\nexport function isItemFocusable(item) {\n if (!item.element) {\n return false;\n }\n if (item.focusableWhenDisabled) {\n return true;\n }\n return !item.disabled && !item.element.hasAttribute('disabled') && item.element.getAttribute('aria-disabled') !== 'true' && item.element.hasAttribute('tabindex');\n}\nfunction isConnectedItem(item) {\n return item.element != null && item.element.isConnected;\n}\n\n/* eslint-disable no-bitwise */\nfunction sortByDocumentPosition(a, b) {\n if (a === b) {\n return 0;\n }\n const position = a.compareDocumentPosition(b);\n if (position & Node.DOCUMENT_POSITION_FOLLOWING || position & Node.DOCUMENT_POSITION_CONTAINED_BY) {\n return -1;\n }\n if (position & Node.DOCUMENT_POSITION_PRECEDING || position & Node.DOCUMENT_POSITION_CONTAINS) {\n return 1;\n }\n return 0;\n}\n/* eslint-enable no-bitwise */\n\nfunction handleRefs(...refs) {\n return node => {\n refs.forEach(ref => {\n setRef(ref ?? null, node);\n });\n };\n}","import getScrollbarSize from '@mui/utils/getScrollbarSize';\nexport default getScrollbarSize;","'use client';\n\n/**\n * If `focusSource` is present, attempt to pass `focusVisible` through `focus()` options.\n * Fall back to a plain focus call when the browser does not support it.\n */\nexport default function focusWithVisible(element, focusSource) {\n if (focusSource == null) {\n element.focus();\n return;\n }\n try {\n element.focus({\n focusVisible: focusSource === 'keyboard'\n });\n } catch (error) {\n element.focus();\n }\n}","export default function getOpenInteractionType(event) {\n if (!event) {\n return null;\n }\n if (event.type === 'mousedown' || event.type === 'pointerdown' || event.type === 'touchstart') {\n return 'pointer';\n }\n if (event.type === 'keydown' || event.type === 'click' && event.detail === 0) {\n return 'keyboard';\n }\n return null;\n}","export default function isEmpty(display) {\n return display == null || typeof display === 'string' && !display.trim();\n}","export default function areEqualValues(a, b) {\n if (typeof b === 'object' && b !== null) {\n return a === b;\n }\n\n // The value could be a number, the DOM will stringify it anyway.\n return String(a) === String(b);\n}","'use client';\n\nimport * as React from 'react';\nconst SelectFocusSourceContext = /*#__PURE__*/React.createContext(null);\nif (process.env.NODE_ENV !== 'production') {\n SelectFocusSourceContext.displayName = 'SelectFocusSourceContext';\n}\nfunction useSelectFocusSource() {\n const context = React.useContext(SelectFocusSourceContext);\n return context;\n}\nconst SelectFocusSourceProvider = SelectFocusSourceContext.Provider;\nexport { useSelectFocusSource, SelectFocusSourceProvider };","'use client';\n\nimport * as React from 'react';\n\n/**\n * @ignore - internal component.\n */\n\nexport const MenuListContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== 'production') {\n MenuListContext.displayName = 'MenuListContext';\n}\nexport function useMenuListContext() {\n const context = React.useContext(MenuListContext);\n if (context === undefined) {\n throw new Error('MUI: MenuListContext is missing. MenuItems must be placed within Menu or MenuList.');\n }\n return context;\n}","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { isItemFocusable } from '@mui/utils/useRovingTabIndex';\nimport contains from \"../utils/contains.mjs\";\nimport ownerDocument from \"../utils/ownerDocument.mjs\";\nimport getActiveElement from \"../utils/getActiveElement.mjs\";\nimport getScrollbarSize from \"../utils/getScrollbarSize.mjs\";\nimport focusWithVisible from \"../utils/focusWithVisible.mjs\";\nimport useEventCallback from \"../utils/useEventCallback.mjs\";\nimport useForkRef from \"../utils/useForkRef.mjs\";\nimport useEnhancedEffect from \"../utils/useEnhancedEffect.mjs\";\nimport { RovingTabIndexContext, useRovingTabIndexRoot } from \"../utils/useRovingTabIndex.mjs\";\nimport ownerWindow from \"../utils/ownerWindow.mjs\";\nimport List from \"../List/index.mjs\";\nimport { useSelectFocusSource } from \"../Select/utils/index.mjs\";\nimport { MenuListContext } from \"./MenuListContext.mjs\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction getItemText(itemOrElement) {\n const element = itemOrElement?.element ?? itemOrElement;\n if (!element) {\n return '';\n }\n if (itemOrElement?.textValue !== undefined) {\n return itemOrElement.textValue;\n }\n let text = element.innerText;\n if (text === undefined) {\n // jsdom doesn't support innerText\n text = element.textContent;\n }\n return text ?? '';\n}\nfunction textCriteriaMatches(itemOrElement, textCriteria) {\n if (textCriteria === undefined) {\n return true;\n }\n let text = getItemText(itemOrElement);\n text = text.trim().toLowerCase();\n if (text.length === 0) {\n return false;\n }\n if (textCriteria.repeating) {\n return text[0] === textCriteria.keys[0];\n }\n return text.startsWith(textCriteria.keys.join(''));\n}\nfunction isItemFocusableWithTextCriteria(item, criteria) {\n if (!textCriteriaMatches(item, criteria)) {\n return false;\n }\n return isItemFocusable(item);\n}\n\n// Menu auto-focus is not always keyboard-driven. On open we often move focus to the\n// active item programmatically so arrow-key navigation starts from the right place.\nfunction focusInitialItem(element, focusSource) {\n focusWithVisible(element, focusSource);\n}\n\n/**\n * A permanently displayed menu following https://www.w3.org/WAI/ARIA/apg/patterns/menu-button/.\n * It's exposed to help customization of the [`Menu`](/material-ui/api/menu/) component if you\n * use it separately you need to move focus into the component manually. Once\n * the focus is placed inside the component it is fully keyboard accessible.\n */\nconst MenuList = /*#__PURE__*/React.forwardRef(function MenuList(props, ref) {\n const {\n // private\n // eslint-disable-next-line react/prop-types\n actions,\n autoFocus: autoFocusList = false,\n autoFocusItem: autoFocusActiveItem = false,\n children,\n className,\n disabledItemsFocusable = false,\n disableListWrap = false,\n onKeyDown,\n variant = 'selectedMenu',\n ...other\n } = props;\n const listRef = React.useRef(null);\n const hasFocusedInitialTargetRef = React.useRef(false);\n // Escape hatch for <Menu variant=\"menu\"> (items have no selection state). When opened with\n // mouse/pointer, the initial focused item should still receive DOM focus, but ButtonBase\n // should suppress its focus-visible state for that one initial handoff.\n const [suppressInitialFocusVisible, setSuppressInitialFocusVisible] = React.useState(false);\n // Current anchored <Menu>s cannot receive a `openInteractionType` signal from a trigger\n // the API only receives `open` and `anchorEl`. When <MenuList> is used in <Select>, the\n // internal <SelectInput> is able to achieve this via `useSelectFocusSource`.\n const focusSource = useSelectFocusSource();\n const textCriteriaRef = React.useRef({\n keys: [],\n repeating: true,\n previousKeyMatched: true,\n lastTime: null\n });\n const getDefaultActiveItemId = React.useCallback(items => {\n if (variant === 'selectedMenu') {\n return items.find(item => item.selected && isItemFocusable(item))?.id ?? items.find(item => isItemFocusable(item))?.id ?? null;\n }\n return items.find(item => isItemFocusable(item))?.id ?? null;\n }, [variant]);\n const rovingContainer = useRovingTabIndexRoot({\n activeItemId: undefined,\n getDefaultActiveItemId,\n orientation: 'vertical',\n wrap: !disableListWrap\n });\n const {\n activeItemId,\n focusNext,\n getActiveItem,\n getContainerProps,\n getItemMap\n } = rovingContainer;\n const focusInitialTarget = useEventCallback((force = false) => {\n // `force` is used by the imperative action when `Menu` asks `MenuList` to restore its\n // initial focus target after the popover finishes entering, even if this list already\n // completed its normal one-time initial-focus path on an earlier render.\n if (!listRef.current || !force && hasFocusedInitialTargetRef.current) {\n return null;\n }\n if (autoFocusActiveItem) {\n const activeItem = getActiveItem();\n if (activeItem?.element) {\n const hasSelectedItem = Array.from(getItemMap().values()).some(item => item.selected);\n const shouldSuppressInitialFocusVisible = variant === 'menu' && hasSelectedItem && !activeItem.selected && focusSource == null;\n setSuppressInitialFocusVisible(shouldSuppressInitialFocusVisible);\n focusInitialItem(activeItem.element, focusSource);\n hasFocusedInitialTargetRef.current = true;\n return activeItem.element;\n }\n if (!autoFocusList) {\n return null;\n }\n\n // Keep the list container focusable while waiting for items to register,\n // or when there is no focusable item to move to.\n setSuppressInitialFocusVisible(false);\n listRef.current.focus();\n return listRef.current;\n }\n if (!autoFocusList) {\n setSuppressInitialFocusVisible(false);\n return null;\n }\n setSuppressInitialFocusVisible(false);\n listRef.current.focus();\n hasFocusedInitialTargetRef.current = true;\n return listRef.current;\n });\n useEnhancedEffect(() => {\n if (!autoFocusList && !autoFocusActiveItem) {\n hasFocusedInitialTargetRef.current = false;\n setSuppressInitialFocusVisible(false);\n return undefined;\n }\n focusInitialTarget();\n return undefined;\n }, [activeItemId, autoFocusActiveItem, autoFocusList, focusInitialTarget]);\n React.useImperativeHandle(actions, () => ({\n adjustStyleForScrollbar: (containerElement, {\n direction\n }) => {\n // Let's ignore that piece of logic if users are already overriding the width\n // of the menu.\n const noExplicitWidth = !listRef.current.style.width;\n if (containerElement.clientHeight < listRef.current.clientHeight && noExplicitWidth) {\n const win = ownerWindow(containerElement);\n const scrollbarSize = getScrollbarSize(win);\n // Overlay scrollbars (e.g. macOS, Windows 11) have zero width — there is\n // nothing to compensate for, and writing the inline styles anyway would\n // freeze the current padding, overriding later theme/CSS changes.\n if (scrollbarSize > 0) {\n const scrollbarSizePx = `${scrollbarSize}px`;\n const paddingKey = direction === 'rtl' ? 'paddingLeft' : 'paddingRight';\n // Preserve any existing padding (e.g. set via theme/CSS) by adding to it\n // rather than replacing it with the scrollbar width alone.\n const existingPadding = parseFloat(win.getComputedStyle(listRef.current)[paddingKey]) || 0;\n listRef.current.style[paddingKey] = `${existingPadding + scrollbarSize}px`;\n listRef.current.style.width = `calc(100% + ${scrollbarSizePx})`;\n }\n }\n return listRef.current;\n },\n focusInitialTarget: () => {\n if (!listRef.current) {\n return null;\n }\n const currentFocus = getActiveElement(ownerDocument(listRef.current));\n if (currentFocus && contains(listRef.current, currentFocus)) {\n return currentFocus;\n }\n return focusInitialTarget(true);\n }\n }), [focusInitialTarget]);\n const rovingContainerProps = getContainerProps(undefined, other.onFocus);\n const handleRef = useForkRef(listRef, rovingContainerProps.ref, ref);\n const menuListContextValue = React.useMemo(() => ({\n itemsFocusableWhenDisabled: disabledItemsFocusable,\n suppressInitialFocusVisible,\n variant\n }), [disabledItemsFocusable, suppressInitialFocusVisible, variant]);\n const handleKeyDown = useEventCallback(event => {\n if (suppressInitialFocusVisible) {\n setSuppressInitialFocusVisible(false);\n }\n const isModifierKeyPressed = event.ctrlKey || event.metaKey || event.altKey;\n if (isModifierKeyPressed && onKeyDown) {\n onKeyDown(event);\n return;\n }\n rovingContainerProps.onKeyDown(event);\n if (event.key.length === 1) {\n const criteria = textCriteriaRef.current;\n const lowerKey = event.key.toLowerCase();\n const currTime = performance.now();\n if (criteria.keys.length > 0) {\n // Reset\n if (currTime - criteria.lastTime > 500) {\n criteria.keys = [];\n criteria.repeating = true;\n criteria.previousKeyMatched = true;\n } else if (criteria.repeating && lowerKey !== criteria.keys[0]) {\n criteria.repeating = false;\n }\n }\n criteria.lastTime = currTime;\n criteria.keys.push(lowerKey);\n const currentFocus = getActiveElement(ownerDocument(listRef.current));\n const keepFocusOnCurrent = currentFocus && !criteria.repeating && textCriteriaMatches(currentFocus, criteria);\n if (criteria.previousKeyMatched && (keepFocusOnCurrent || focusNext(item => isItemFocusableWithTextCriteria(item, criteria)) != null)) {\n event.preventDefault();\n } else {\n criteria.previousKeyMatched = false;\n }\n }\n if (onKeyDown) {\n onKeyDown(event);\n }\n });\n return /*#__PURE__*/_jsx(List, {\n role: \"menu\",\n ref: handleRef,\n className: className,\n onKeyDown: handleKeyDown,\n tabIndex: -1,\n ...other,\n onFocus: rovingContainerProps.onFocus,\n children: /*#__PURE__*/_jsx(MenuListContext.Provider, {\n value: menuListContextValue,\n children: /*#__PURE__*/_jsx(RovingTabIndexContext.Provider, {\n value: rovingContainer,\n children: children\n })\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? MenuList.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * If `true`, will focus the `[role=\"menu\"]` container and move into tab order.\n * @default false\n */\n autoFocus: PropTypes.bool,\n /**\n * If `true`, will focus the first menuitem if `variant=\"menu\"` or selected item\n * if `variant=\"selectedMenu\"`.\n * @default false\n */\n autoFocusItem: PropTypes.bool,\n /**\n * MenuList contents, normally `MenuItem`s.\n */\n children: PropTypes.node,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * If `true`, will allow focus on disabled items.\n * @default false\n */\n disabledItemsFocusable: PropTypes.bool,\n /**\n * If `true`, the menu items will not wrap focus.\n * @default false\n */\n disableListWrap: PropTypes.bool,\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n /**\n * The variant to use. Use `menu` to prevent selected items from impacting the initial focus\n * and the vertical alignment relative to the anchor element.\n * @default 'selectedMenu'\n */\n variant: PropTypes.oneOf(['menu', 'selectedMenu'])\n} : void 0;\nexport default MenuList;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getPopoverUtilityClass(slot) {\n return generateUtilityClass('MuiPopover', slot);\n}\nconst popoverClasses = generateUtilityClasses('MuiPopover', ['root', 'paper']);\nexport default popoverClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport HTMLElementType from '@mui/utils/HTMLElementType';\nimport refType from '@mui/utils/refType';\nimport integerPropType from '@mui/utils/integerPropType';\nimport chainPropTypes from '@mui/utils/chainPropTypes';\nimport isHostComponent from '@mui/utils/isHostComponent';\nimport { styled } from \"../zero-styled/index.mjs\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.mjs\";\nimport isLayoutSupported from \"../utils/isLayoutSupported.mjs\";\nimport debounce from \"../utils/debounce.mjs\";\nimport ownerDocument from \"../utils/ownerDocument.mjs\";\nimport ownerWindow from \"../utils/ownerWindow.mjs\";\nimport Grow from \"../Grow/index.mjs\";\nimport Modal from \"../Modal/index.mjs\";\nimport PaperBase from \"../Paper/index.mjs\";\nimport { getPopoverUtilityClass } from \"./popoverClasses.mjs\";\nimport useSlot from \"../utils/useSlot.mjs\";\nimport mergeSlotProps from \"../utils/mergeSlotProps.mjs\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function getOffsetTop(rect, vertical) {\n let offset = 0;\n if (typeof vertical === 'number') {\n offset = vertical;\n } else if (vertical === 'center') {\n offset = rect.height / 2;\n } else if (vertical === 'bottom') {\n offset = rect.height;\n }\n return offset;\n}\nexport function getOffsetLeft(rect, horizontal) {\n let offset = 0;\n if (typeof horizontal === 'number') {\n offset = horizontal;\n } else if (horizontal === 'center') {\n offset = rect.width / 2;\n } else if (horizontal === 'right') {\n offset = rect.width;\n }\n return offset;\n}\nfunction getTransformOriginValue(transformOrigin) {\n return [transformOrigin.horizontal, transformOrigin.vertical].map(n => typeof n === 'number' ? `${n}px` : n).join(' ');\n}\nfunction resolveAnchorEl(anchorEl) {\n return typeof anchorEl === 'function' ? anchorEl() : anchorEl;\n}\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root'],\n paper: ['paper']\n };\n return composeClasses(slots, getPopoverUtilityClass, classes);\n};\nexport const PopoverRoot = styled(Modal, {\n name: 'MuiPopover',\n slot: 'Root'\n})({});\nexport const PopoverPaper = styled(PaperBase, {\n name: 'MuiPopover',\n slot: 'Paper'\n})({\n position: 'absolute',\n overflowY: 'auto',\n overflowX: 'hidden',\n // So we see the popover when it's empty.\n // It's most likely on issue on userland.\n minWidth: 16,\n minHeight: 16,\n maxWidth: 'calc(100% - 32px)',\n maxHeight: 'calc(100% - 32px)',\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0\n});\nconst Popover = /*#__PURE__*/React.forwardRef(function Popover(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiPopover'\n });\n const {\n action,\n anchorEl,\n anchorOrigin = {\n vertical: 'top',\n horizontal: 'left'\n },\n anchorPosition,\n anchorReference = 'anchorEl',\n children,\n className,\n container: containerProp,\n disableAutoFocus = false,\n elevation = 8,\n marginThreshold = 16,\n open,\n slots = {},\n slotProps = {},\n transformOrigin = {\n vertical: 'top',\n horizontal: 'left'\n },\n transitionDuration: transitionDurationProp = 'auto',\n disableScrollLock = false,\n ...other\n } = props;\n const paperRef = React.useRef();\n const ownerState = {\n ...props,\n anchorOrigin,\n anchorReference,\n elevation,\n marginThreshold,\n transformOrigin,\n transitionDuration: transitionDurationProp\n };\n const classes = useUtilityClasses(ownerState);\n\n // Returns the top/left offset of the position\n // to attach to on the anchor element (or body if none is provided)\n const getAnchorOffset = React.useCallback(() => {\n if (anchorReference === 'anchorPosition') {\n if (process.env.NODE_ENV !== 'production') {\n if (!anchorPosition) {\n console.error('MUI: You need to provide a `anchorPosition` prop when using ' + '<Popover anchorReference=\"anchorPosition\" />.');\n }\n }\n return anchorPosition;\n }\n const resolvedAnchorEl = resolveAnchorEl(anchorEl);\n\n // If an anchor element wasn't provided, just use the parent body element of this Popover\n const anchorElement = resolvedAnchorEl && resolvedAnchorEl.nodeType === 1 ? resolvedAnchorEl : ownerDocument(paperRef.current).body;\n const anchorRect = anchorElement.getBoundingClientRect();\n if (process.env.NODE_ENV !== 'production') {\n const box = anchorElement.getBoundingClientRect();\n if (isLayoutSupported() && box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {\n console.warn(['MUI: The `anchorEl` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', \"Make sure the element is present in the document or that it's not display none.\"].join('\\n'));\n }\n }\n return {\n top: anchorRect.top + getOffsetTop(anchorRect, anchorOrigin.vertical),\n left: anchorRect.left + getOffsetLeft(anchorRect, anchorOrigin.horizontal)\n };\n }, [anchorEl, anchorOrigin.horizontal, anchorOrigin.vertical, anchorPosition, anchorReference]);\n\n // Returns the base transform origin using the element\n const getTransformOrigin = React.useCallback(elemRect => {\n return {\n vertical: getOffsetTop(elemRect, transformOrigin.vertical),\n horizontal: getOffsetLeft(elemRect, transformOrigin.horizontal)\n };\n }, [transformOrigin.horizontal, transformOrigin.vertical]);\n const getPositioningStyle = React.useCallback(element => {\n const elemRect = {\n width: element.offsetWidth,\n height: element.offsetHeight\n };\n\n // Get the transform origin point on the element itself\n const elemTransformOrigin = getTransformOrigin(elemRect);\n if (anchorReference === 'none') {\n return {\n top: null,\n left: null,\n transformOrigin: getTransformOriginValue(elemTransformOrigin)\n };\n }\n\n // Get the offset of the anchoring element\n const anchorOffset = getAnchorOffset();\n\n // Calculate element positioning\n let top = anchorOffset.top - elemTransformOrigin.vertical;\n let left = anchorOffset.left - elemTransformOrigin.horizontal;\n const bottom = top + elemRect.height;\n const right = left + elemRect.width;\n\n // Use the parent window of the anchorEl if provided\n const containerWindow = ownerWindow(resolveAnchorEl(anchorEl));\n\n // Window thresholds taking required margin into account\n const heightThreshold = containerWindow.innerHeight - marginThreshold;\n const widthThreshold = containerWindow.innerWidth - marginThreshold;\n\n // Check if the vertical axis needs shifting\n if (marginThreshold != null && top < marginThreshold) {\n const diff = top - marginThreshold;\n top -= diff;\n elemTransformOrigin.vertical += diff;\n } else if (marginThreshold != null && bottom > heightThreshold) {\n const diff = bottom - heightThreshold;\n top -= diff;\n elemTransformOrigin.vertical += diff;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (elemRect.height > heightThreshold && elemRect.height && heightThreshold) {\n console.error(['MUI: The popover component is too tall.', `Some part of it can not be seen on the screen (${elemRect.height - heightThreshold}px).`, 'Please consider adding a `max-height` to improve the user-experience.'].join('\\n'));\n }\n }\n\n // Check if the horizontal axis needs shifting\n if (marginThreshold != null && left < marginThreshold) {\n const diff = left - marginThreshold;\n left -= diff;\n elemTransformOrigin.horizontal += diff;\n } else if (right > widthThreshold) {\n const diff = right - widthThreshold;\n left -= diff;\n elemTransformOrigin.horizontal += diff;\n }\n return {\n top: `${Math.round(top)}px`,\n left: `${Math.round(left)}px`,\n transformOrigin: getTransformOriginValue(elemTransformOrigin)\n };\n }, [anchorEl, anchorReference, getAnchorOffset, getTransformOrigin, marginThreshold]);\n const [isPositioned, setIsPositioned] = React.useState(open);\n const setPositioningStyles = React.useCallback(() => {\n const element = paperRef.current;\n if (!element) {\n return;\n }\n const positioning = getPositioningStyle(element);\n if (positioning.top != null) {\n element.style.setProperty('top', positioning.top);\n }\n if (positioning.left != null) {\n element.style.left = positioning.left;\n }\n element.style.transformOrigin = positioning.transformOrigin;\n setIsPositioned(true);\n }, [getPositioningStyle]);\n React.useEffect(() => {\n if (disableScrollLock) {\n window.addEventListener('scroll', setPositioningStyles);\n }\n return () => window.removeEventListener('scroll', setPositioningStyles);\n }, [anchorEl, disableScrollLock, setPositioningStyles]);\n const handleEntering = () => {\n setPositioningStyles();\n };\n const handleExited = () => {\n setIsPositioned(false);\n };\n React.useEffect(() => {\n if (open) {\n setPositioningStyles();\n }\n });\n React.useImperativeHandle(action, () => open ? {\n updatePosition: () => {\n setPositioningStyles();\n }\n } : null, [open, setPositioningStyles]);\n React.useEffect(() => {\n if (!open) {\n return undefined;\n }\n const handleResize = debounce(() => {\n setPositioningStyles();\n });\n const containerWindow = ownerWindow(resolveAnchorEl(anchorEl));\n containerWindow.addEventListener('resize', handleResize);\n return () => {\n handleResize.clear();\n containerWindow.removeEventListener('resize', handleResize);\n };\n }, [anchorEl, open, setPositioningStyles]);\n let transitionDuration = transitionDurationProp;\n const externalForwardedProps = {\n slots,\n slotProps\n };\n const [TransitionSlot, transitionSlotProps] = useSlot('transition', {\n elementType: Grow,\n externalForwardedProps,\n ownerState,\n getSlotProps: handlers => ({\n ...handlers,\n onEntering: (element, isAppearing) => {\n handlers.onEntering?.(element, isAppearing);\n handleEntering();\n },\n onExited: element => {\n handlers.onExited?.(element);\n handleExited();\n }\n }),\n additionalProps: {\n appear: true,\n in: open\n }\n });\n if (transitionDurationProp === 'auto' && !TransitionSlot.muiSupportAuto) {\n transitionDuration = undefined;\n }\n\n // If the container prop is provided, use that\n // If the anchorEl prop is provided, use its parent body element as the container\n // If neither are provided let the Modal take care of choosing the container\n const container = containerProp || (anchorEl ? ownerDocument(resolveAnchorEl(anchorEl)).body : undefined);\n const [RootSlot, {\n slots: rootSlotsProp,\n slotProps: rootSlotPropsProp,\n ...rootProps\n }] = useSlot('root', {\n ref,\n elementType: PopoverRoot,\n externalForwardedProps: {\n ...externalForwardedProps,\n ...other\n },\n shouldForwardComponentProp: true,\n additionalProps: {\n slots: {\n backdrop: slots.backdrop\n },\n slotProps: {\n backdrop: mergeSlotProps(typeof slotProps.backdrop === 'function' ? slotProps.backdrop(ownerState) : slotProps.backdrop, {\n invisible: true\n })\n },\n container,\n open\n },\n ownerState,\n className: clsx(classes.root, className)\n });\n const [PaperSlot, paperProps] = useSlot('paper', {\n ref: paperRef,\n className: classes.paper,\n elementType: PopoverPaper,\n externalForwardedProps,\n shouldForwardComponentProp: true,\n additionalProps: {\n elevation,\n style: isPositioned ? undefined : {\n opacity: 0\n }\n },\n ownerState\n });\n return /*#__PURE__*/_jsx(RootSlot, {\n ...rootProps,\n ...(!isHostComponent(RootSlot) && {\n slots: rootSlotsProp,\n slotProps: rootSlotPropsProp,\n disableAutoFocus,\n disableScrollLock\n }),\n children: /*#__PURE__*/_jsx(TransitionSlot, {\n ...transitionSlotProps,\n timeout: transitionDuration,\n children: /*#__PURE__*/_jsx(PaperSlot, {\n ...paperProps,\n children: children\n })\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Popover.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * A ref for imperative actions.\n * It currently only supports updatePosition() action.\n */\n action: refType,\n /**\n * An HTML element, [PopoverVirtualElement](https://mui.com/material-ui/react-popover/#virtual-element),\n * or a function that returns either.\n * It's used to set the position of the popover.\n */\n anchorEl: chainPropTypes(PropTypes.oneOfType([HTMLElementType, PropTypes.func]), props => {\n if (props.open && (!props.anchorReference || props.anchorReference === 'anchorEl')) {\n const resolvedAnchorEl = resolveAnchorEl(props.anchorEl);\n if (resolvedAnchorEl && resolvedAnchorEl.nodeType === 1) {\n const box = resolvedAnchorEl.getBoundingClientRect();\n if (process.env.NODE_ENV !== 'production') {\n if (isLayoutSupported() && box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {\n return new Error(['MUI: The `anchorEl` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', \"Make sure the element is present in the document or that it's not display none.\"].join('\\n'));\n }\n }\n } else {\n return new Error(['MUI: The `anchorEl` prop provided to the component is invalid.', `It should be an Element or PopoverVirtualElement instance but it's \\`${resolvedAnchorEl}\\` instead.`].join('\\n'));\n }\n }\n return null;\n }),\n /**\n * This is the point on the anchor where the popover's\n * `anchorEl` will attach to. This is not used when the\n * anchorReference is 'anchorPosition'.\n *\n * Options:\n * vertical: [top, center, bottom];\n * horizontal: [left, center, right].\n * @default {\n * vertical: 'top',\n * horizontal: 'left',\n * }\n */\n anchorOrigin: PropTypes.shape({\n horizontal: PropTypes.oneOfType([PropTypes.oneOf(['center', 'left', 'right']), PropTypes.number]).isRequired,\n vertical: PropTypes.oneOfType([PropTypes.oneOf(['bottom', 'center', 'top']), PropTypes.number]).isRequired\n }),\n /**\n * This is the position that may be used to set the position of the popover.\n * The coordinates are relative to the application's client area.\n */\n anchorPosition: PropTypes.shape({\n left: PropTypes.number.isRequired,\n top: PropTypes.number.isRequired\n }),\n /**\n * This determines which anchor prop to refer to when setting\n * the position of the popover.\n * @default 'anchorEl'\n */\n anchorReference: PropTypes.oneOf(['anchorEl', 'anchorPosition', 'none']),\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * An HTML element, component instance, or function that returns either.\n * The `container` will passed to the Modal component.\n *\n * By default, it uses the body of the anchorEl's top-level document object,\n * so it's simply `document.body` most of the time.\n */\n container: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([HTMLElementType, PropTypes.func]),\n /**\n * If `true`, the modal will not automatically shift focus to itself when it opens, and\n * replace it to the last focused element when it closes.\n * This also works correctly with any modal children that have the `disableAutoFocus` prop.\n *\n * Generally this should never be set to `true` as it makes the modal less\n * accessible to assistive technologies, like screen readers.\n * @default false\n */\n disableAutoFocus: PropTypes.bool,\n /**\n * Disable the scroll lock behavior.\n * @default false\n */\n disableScrollLock: PropTypes.bool,\n /**\n * The elevation of the popover.\n * @default 8\n */\n elevation: integerPropType,\n /**\n * Specifies how close to the edge of the window the popover can appear.\n * If null, the popover will not be constrained by the window.\n * @default 16\n */\n marginThreshold: PropTypes.number,\n /**\n * Callback fired when the component requests to be closed.\n * The `reason` parameter can optionally be used to control the response to `onClose`.\n */\n onClose: PropTypes.func,\n /**\n * If `true`, the component is shown.\n */\n open: PropTypes.bool.isRequired,\n /**\n * The props used for each slot inside.\n * @default {}\n */\n slotProps: PropTypes.shape({\n backdrop: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n paper: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n root: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n transition: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside.\n * @default {}\n */\n slots: PropTypes.shape({\n backdrop: PropTypes.elementType,\n paper: PropTypes.elementType,\n root: PropTypes.elementType,\n transition: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * This is the point on the popover which\n * will attach to the anchor's origin.\n *\n * Options:\n * vertical: [top, center, bottom, x(px)];\n * horizontal: [left, center, right, x(px)].\n * @default {\n * vertical: 'top',\n * horizontal: 'left',\n * }\n */\n transformOrigin: PropTypes.shape({\n horizontal: PropTypes.oneOfType([PropTypes.oneOf(['center', 'left', 'right']), PropTypes.number]).isRequired,\n vertical: PropTypes.oneOfType([PropTypes.oneOf(['bottom', 'center', 'top']), PropTypes.number]).isRequired\n }),\n /**\n * Set to 'auto' to automatically calculate transition time based on height.\n * @default 'auto'\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nexport default Popover;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getMenuUtilityClass(slot) {\n return generateUtilityClass('MuiMenu', slot);\n}\nconst menuClasses = generateUtilityClasses('MuiMenu', ['root', 'paper', 'list']);\nexport default menuClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport composeClasses from '@mui/utils/composeClasses';\nimport HTMLElementType from '@mui/utils/HTMLElementType';\nimport { useRtl } from '@mui/system/RtlProvider';\nimport useSlotProps from '@mui/utils/useSlotProps';\nimport MenuList from \"../MenuList/index.mjs\";\nimport Popover, { PopoverPaper } from \"../Popover/index.mjs\";\nimport rootShouldForwardProp from \"../styles/rootShouldForwardProp.mjs\";\nimport { styled } from \"../zero-styled/index.mjs\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.mjs\";\nimport { getMenuUtilityClass } from \"./menuClasses.mjs\";\nimport useSlot from \"../utils/useSlot.mjs\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst RTL_ORIGIN = {\n vertical: 'top',\n horizontal: 'right'\n};\nconst LTR_ORIGIN = {\n vertical: 'top',\n horizontal: 'left'\n};\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root'],\n paper: ['paper'],\n list: ['list']\n };\n return composeClasses(slots, getMenuUtilityClass, classes);\n};\nconst MenuRoot = styled(Popover, {\n shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',\n name: 'MuiMenu',\n slot: 'Root'\n})({});\nexport const MenuPaper = styled(PopoverPaper, {\n name: 'MuiMenu',\n slot: 'Paper'\n})({\n // specZ: The maximum height of a simple menu should be one or more rows less than the view\n // height. This ensures a tappable area outside of the simple menu with which to dismiss\n // the menu.\n maxHeight: 'calc(100% - 96px)',\n // Add iOS momentum scrolling for iOS < 13.0\n WebkitOverflowScrolling: 'touch'\n});\nconst MenuMenuList = styled(MenuList, {\n name: 'MuiMenu',\n slot: 'List'\n})({\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0\n});\nconst Menu = /*#__PURE__*/React.forwardRef(function Menu(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiMenu'\n });\n const {\n autoFocus = true,\n children,\n className,\n disableAutoFocusItem = false,\n onClose,\n open,\n PopoverClasses,\n transitionDuration = 'auto',\n variant = 'selectedMenu',\n slots = {},\n slotProps = {},\n ...other\n } = props;\n const isRtl = useRtl();\n const ownerState = {\n ...props,\n autoFocus,\n disableAutoFocusItem,\n transitionDuration,\n variant\n };\n const classes = useUtilityClasses(ownerState);\n const shouldManageInitialFocus = autoFocus && open; // `&& open` prevents a Menu with `keepMounted={true}` from accidentally stealing focus\n const shouldAutoFocusActiveItem = shouldManageInitialFocus && !disableAutoFocusItem;\n const menuListActionsRef = React.useRef(null);\n const handleEntering = (element, _isAppearing) => {\n if (menuListActionsRef.current) {\n menuListActionsRef.current.adjustStyleForScrollbar(element, {\n direction: isRtl ? 'rtl' : 'ltr'\n });\n if (shouldManageInitialFocus) {\n menuListActionsRef.current.focusInitialTarget?.();\n }\n }\n };\n const handleListKeyDown = event => {\n if (event.key === 'Tab') {\n event.preventDefault();\n if (onClose) {\n onClose(event, 'tabKeyDown');\n }\n }\n };\n const externalForwardedProps = {\n slots,\n slotProps\n };\n const rootSlotProps = useSlotProps({\n elementType: slots.root,\n externalSlotProps: slotProps.root,\n ownerState,\n className: [classes.root, className]\n });\n const [PaperSlot, paperSlotProps] = useSlot('paper', {\n className: classes.paper,\n elementType: MenuPaper,\n externalForwardedProps,\n shouldForwardComponentProp: true,\n ownerState\n });\n const [ListSlot, listSlotProps] = useSlot('list', {\n className: classes.list,\n elementType: MenuMenuList,\n shouldForwardComponentProp: true,\n externalForwardedProps,\n getSlotProps: handlers => ({\n ...handlers,\n onKeyDown: event => {\n handleListKeyDown(event);\n handlers.onKeyDown?.(event);\n }\n }),\n ownerState\n });\n const resolvedTransitionProps = typeof slotProps.transition === 'function' ? slotProps.transition(ownerState) : slotProps.transition;\n return /*#__PURE__*/_jsx(MenuRoot\n // `disableAutoFocus={autoFocus}` is NOT a mistake\n // - `autoFocus` means `Menu` will control focus and move it into `MenuList` or an active `MenuItem`\n // - `disableAutoFocus` means disable `MenuRoot`s underlying `Popover`'s autoFocus handling\n // This prevents `MenuList` and `Popover` from fighting each other to control focus.\n // (This has nothing to do with DOM `autoFocus`)\n , {\n disableAutoFocus: autoFocus,\n onClose: onClose,\n anchorOrigin: {\n vertical: 'bottom',\n horizontal: isRtl ? 'right' : 'left'\n },\n transformOrigin: isRtl ? RTL_ORIGIN : LTR_ORIGIN,\n slots: {\n root: slots.root,\n paper: PaperSlot,\n backdrop: slots.backdrop,\n transition: slots.transition\n },\n slotProps: {\n root: rootSlotProps,\n paper: paperSlotProps,\n backdrop: typeof slotProps.backdrop === 'function' ? slotProps.backdrop(ownerState) : slotProps.backdrop,\n transition: {\n ...resolvedTransitionProps,\n onEntering: (...args) => {\n handleEntering(...args);\n resolvedTransitionProps?.onEntering?.(...args);\n }\n }\n },\n open: open,\n ref: ref,\n transitionDuration: transitionDuration,\n ownerState: ownerState,\n ...other,\n classes: PopoverClasses,\n children: /*#__PURE__*/_jsx(ListSlot, {\n actions: menuListActionsRef,\n autoFocus: shouldManageInitialFocus,\n autoFocusItem: shouldAutoFocusActiveItem,\n variant: variant,\n ...listSlotProps,\n children: children\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Menu.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * An HTML element, or a function that returns one.\n * It's used to set the position of the menu.\n */\n anchorEl: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([HTMLElementType, PropTypes.func]),\n /**\n * If `true` (Default) will focus the `[role=\"menu\"]` if no focusable child is found. Disabled\n * children are not focusable. If you set this prop to `false` focus will be placed\n * on the parent modal container. This has severe accessibility implications\n * and should only be considered if you manage focus otherwise.\n * @default true\n */\n autoFocus: PropTypes.bool,\n /**\n * Menu contents, normally `MenuItem`s.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * When opening the menu will not focus the active item but the `[role=\"menu\"]`\n * unless `autoFocus` is also set to `false`. Not using the default means not\n * following WAI-ARIA authoring practices. Please be considerate about possible\n * accessibility implications.\n * @default false\n */\n disableAutoFocusItem: PropTypes.bool,\n /**\n * Callback fired when the component requests to be closed.\n *\n * @param {object} event The event source of the callback.\n * @param {string} reason Can be: `\"escapeKeyDown\"`, `\"backdropClick\"`, `\"tabKeyDown\"`.\n */\n onClose: PropTypes.func,\n /**\n * If `true`, the component is shown.\n */\n open: PropTypes.bool.isRequired,\n /**\n * `classes` prop applied to the [`Popover`](https://mui.com/material-ui/api/popover/) element.\n */\n PopoverClasses: PropTypes.object,\n /**\n * The props used for each slot inside.\n * @default {}\n */\n slotProps: PropTypes.shape({\n backdrop: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n list: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n paper: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n root: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n transition: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside.\n * @default {}\n */\n slots: PropTypes.shape({\n backdrop: PropTypes.elementType,\n list: PropTypes.elementType,\n paper: PropTypes.elementType,\n root: PropTypes.elementType,\n transition: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The length of the transition in `ms`, or 'auto'\n * @default 'auto'\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })]),\n /**\n * The variant to use. Use `menu` to prevent selected items from impacting the initial focus.\n * @default 'selectedMenu'\n */\n variant: PropTypes.oneOf(['menu', 'selectedMenu'])\n} : void 0;\nexport default Menu;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport refType from '@mui/utils/refType';\nimport composeClasses from '@mui/utils/composeClasses';\nimport capitalize from \"../utils/capitalize.mjs\";\nimport nativeSelectClasses, { getNativeSelectUtilityClasses } from \"./nativeSelectClasses.mjs\";\nimport inputBaseClasses from \"../InputBase/inputBaseClasses.mjs\";\nimport { styled } from \"../zero-styled/index.mjs\";\nimport rootShouldForwardProp from \"../styles/rootShouldForwardProp.mjs\";\nimport inputAdornmentClasses from \"../InputAdornment/inputAdornmentClasses.mjs\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n variant,\n disabled,\n multiple,\n open,\n error\n } = ownerState;\n const slots = {\n select: ['select', variant, disabled && 'disabled', multiple && 'multiple', error && 'error'],\n icon: ['icon', `icon${capitalize(variant)}`, open && 'iconOpen', disabled && 'disabled']\n };\n return composeClasses(slots, getNativeSelectUtilityClasses, classes);\n};\nexport const StyledSelectSelect = styled('select', {\n name: 'MuiNativeSelect'\n})(({\n theme\n}) => ({\n // Reset\n MozAppearance: 'none',\n // Reset\n WebkitAppearance: 'none',\n // When interacting quickly, the text can end up selected.\n // Native select can't be selected either.\n userSelect: 'none',\n // Reset\n borderRadius: 0,\n cursor: 'pointer',\n '&:focus': {\n // Reset Chrome style\n borderRadius: 0\n },\n [`&.${nativeSelectClasses.disabled}`]: {\n cursor: 'default'\n },\n '&[multiple]': {\n height: 'auto'\n },\n '&:not([multiple]) option, &:not([multiple]) optgroup': {\n backgroundColor: (theme.vars || theme).palette.background.paper\n },\n [`& ~ .${inputAdornmentClasses.root}`]: {\n position: 'absolute',\n top: '50%',\n transform: 'translateY(-50%)',\n right: 'calc(var(--_caret, 24px) + (var(--_endAdornment, 28px) - 1.5rem)/2)' // 1.5rem is the default icon size\n },\n [`.${inputBaseClasses.root}:has(> &)`]: {\n '--_endAdornment': '0px'\n },\n variants: [{\n props: ({\n ownerState\n }) => ownerState.variant !== 'filled' && ownerState.variant !== 'outlined',\n style: {\n [`.${inputBaseClasses.root}:has(> &)`]: {\n '--_caret': '24px'\n },\n [`.${inputBaseClasses.root}:has(> & ~ .${inputAdornmentClasses.root})`]: {\n '--_endAdornment': '28px'\n },\n // Bump specificity to allow extending custom inputs\n '&&&': {\n paddingRight: 'calc(var(--_caret, 24px) + var(--_endAdornment, 0px))',\n minWidth: 16 // So it doesn't collapse.\n }\n }\n }, {\n props: {\n variant: 'filled'\n },\n style: {\n [`.${inputBaseClasses.root}:has(> &)`]: {\n '--_caret': '32px'\n },\n [`.${inputBaseClasses.root}:has(> & ~ .${inputAdornmentClasses.root})`]: {\n '--_endAdornment': '28px'\n },\n '&&&': {\n paddingRight: 'calc(var(--_caret, 32px) + var(--_endAdornment, 0px))'\n }\n }\n }, {\n props: {\n variant: 'outlined'\n },\n style: {\n [`.${inputBaseClasses.root}:has(> &)`]: {\n '--_caret': '32px'\n },\n [`.${inputBaseClasses.root}:has(> & ~ .${inputAdornmentClasses.root})`]: {\n '--_endAdornment': '28px'\n },\n borderRadius: (theme.vars || theme).shape.borderRadius,\n '&:focus': {\n borderRadius: (theme.vars || theme).shape.borderRadius // Reset the reset for Chrome style\n },\n '&&&': {\n paddingRight: 'calc(var(--_caret, 32px) + var(--_endAdornment, 0px))'\n }\n }\n }]\n}));\nconst NativeSelectSelect = styled(StyledSelectSelect, {\n name: 'MuiNativeSelect',\n slot: 'Select',\n shouldForwardProp: rootShouldForwardProp,\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.select, styles[ownerState.variant], ownerState.error && styles.error, {\n [`&.${nativeSelectClasses.multiple}`]: styles.multiple\n }];\n }\n})({});\nexport const StyledSelectIcon = styled('svg', {\n name: 'MuiNativeSelect'\n})(({\n theme\n}) => ({\n // We use a position absolute over a flexbox in order to forward the pointer events\n // to the input and to support wrapping tags..\n position: 'absolute',\n right: 0,\n // Center vertically, height is 1em\n top: 'calc(50% - .5em)',\n // Don't block pointer events on the select under the icon.\n pointerEvents: 'none',\n color: (theme.vars || theme).palette.action.active,\n [`&.${nativeSelectClasses.disabled}`]: {\n color: (theme.vars || theme).palette.action.disabled\n },\n variants: [{\n props: ({\n ownerState\n }) => ownerState.open,\n style: {\n transform: 'rotate(180deg)'\n }\n }, {\n props: {\n variant: 'filled'\n },\n style: {\n right: 7\n }\n }, {\n props: {\n variant: 'outlined'\n },\n style: {\n right: 7\n }\n }]\n}));\nconst NativeSelectIcon = styled(StyledSelectIcon, {\n name: 'MuiNativeSelect',\n slot: 'Icon',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.icon, ownerState.variant && styles[`icon${capitalize(ownerState.variant)}`], ownerState.open && styles.iconOpen];\n }\n})({});\n\n/**\n * @ignore - internal component.\n */\nconst NativeSelectInput = /*#__PURE__*/React.forwardRef(function NativeSelectInput(props, ref) {\n const {\n className,\n disabled,\n error,\n IconComponent,\n inputRef,\n variant = 'standard',\n ...other\n } = props;\n const ownerState = {\n ...props,\n disabled,\n variant,\n error\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsx(NativeSelectSelect, {\n ownerState: ownerState,\n className: clsx(classes.select, className),\n disabled: disabled,\n ref: inputRef || ref,\n ...other\n }), props.multiple ? null : /*#__PURE__*/_jsx(NativeSelectIcon, {\n as: IconComponent,\n ownerState: ownerState,\n className: classes.icon\n })]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? NativeSelectInput.propTypes = {\n /**\n * The option elements to populate the select with.\n * Can be some `<option>` elements.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * The CSS class name of the select element.\n */\n className: PropTypes.string,\n /**\n * If `true`, the select is disabled.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the `select input` will indicate an error.\n */\n error: PropTypes.bool,\n /**\n * The icon that displays the arrow.\n */\n IconComponent: PropTypes.elementType.isRequired,\n /**\n * Use that prop to pass a ref to the native select element.\n * @deprecated\n */\n inputRef: refType,\n /**\n * @ignore\n */\n multiple: PropTypes.bool,\n /**\n * Name attribute of the `select` or hidden `input` element.\n */\n name: PropTypes.string,\n /**\n * Callback fired when a menu item is selected.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n /**\n * The input value.\n */\n value: PropTypes.any,\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['standard', 'outlined', 'filled'])\n} : void 0;\nexport default NativeSelectInput;","'use client';\n\nvar _span;\nimport PropTypes from 'prop-types';\nimport rootShouldForwardProp from \"../styles/rootShouldForwardProp.mjs\";\nimport { styled } from \"../zero-styled/index.mjs\";\nimport memoTheme from \"../utils/memoTheme.mjs\";\nimport { getTransitionStyles } from \"../transitions/utils.mjs\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst NotchedOutlineRoot = styled('fieldset', {\n name: 'MuiNotchedOutlined',\n shouldForwardProp: rootShouldForwardProp\n})({\n textAlign: 'left',\n position: 'absolute',\n bottom: 0,\n right: 0,\n top: -5,\n left: 0,\n margin: 0,\n padding: '0 8px',\n pointerEvents: 'none',\n borderRadius: 'inherit',\n borderStyle: 'solid',\n borderWidth: 1,\n overflow: 'hidden',\n minWidth: '0%'\n});\nconst NotchedOutlineLegend = styled('legend', {\n name: 'MuiNotchedOutlined',\n shouldForwardProp: rootShouldForwardProp\n})(memoTheme(({\n theme\n}) => ({\n float: 'unset',\n // Fix conflict with bootstrap\n width: 'auto',\n // Fix conflict with bootstrap\n overflow: 'hidden',\n // Fix Horizontal scroll when label too long\n variants: [{\n props: ({\n ownerState\n }) => !ownerState.withLabel,\n style: {\n padding: 0,\n lineHeight: '11px',\n // sync with `height` in `legend` styles\n ...getTransitionStyles(theme, 'width', {\n duration: 150,\n easing: theme.transitions.easing.easeOut\n })\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.withLabel,\n style: {\n display: 'block',\n // Fix conflict with normalize.css and sanitize.css\n padding: 0,\n height: 11,\n // sync with `lineHeight` in `legend` styles\n fontSize: '0.75em',\n visibility: 'hidden',\n maxWidth: 0.01,\n ...getTransitionStyles(theme, 'max-width', {\n duration: 50,\n easing: theme.transitions.easing.easeOut\n }),\n whiteSpace: 'nowrap',\n '& > span': {\n paddingLeft: 5,\n paddingRight: 5,\n display: 'inline-block',\n opacity: 0,\n visibility: 'visible'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.withLabel && ownerState.notched,\n style: {\n maxWidth: '100%',\n ...getTransitionStyles(theme, 'max-width', {\n duration: 100,\n easing: theme.transitions.easing.easeOut,\n delay: 50\n })\n }\n }]\n})));\n\n/**\n * @ignore - internal component.\n */\nexport default function NotchedOutline(props) {\n const {\n children,\n classes,\n className,\n label,\n notched,\n ...other\n } = props;\n const withLabel = label != null && label !== '';\n const ownerState = {\n ...props,\n notched,\n withLabel\n };\n return /*#__PURE__*/_jsx(NotchedOutlineRoot, {\n \"aria-hidden\": true,\n className: className,\n ownerState: ownerState,\n ...other,\n children: /*#__PURE__*/_jsx(NotchedOutlineLegend, {\n ownerState: ownerState,\n children: withLabel ? /*#__PURE__*/_jsx(\"span\", {\n children: label\n }) : // notranslate needed while Google Translate will not fix zero-width space issue\n _span || (_span = /*#__PURE__*/_jsx(\"span\", {\n className: \"notranslate\",\n \"aria-hidden\": true,\n children: \"\\u200B\"\n }))\n })\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? NotchedOutline.propTypes /* remove-proptypes */ = {\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The label.\n */\n label: PropTypes.node,\n /**\n * If `true`, the outline is notched to accommodate the label.\n */\n notched: PropTypes.bool.isRequired,\n /**\n * @ignore\n */\n style: PropTypes.object\n} : void 0;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport refType from '@mui/utils/refType';\nimport composeClasses from '@mui/utils/composeClasses';\nimport NotchedOutline from \"./NotchedOutline.mjs\";\nimport { useFormControlState } from \"../FormControl/useFormControl.mjs\";\nimport rootShouldForwardProp from \"../styles/rootShouldForwardProp.mjs\";\nimport { styled } from \"../zero-styled/index.mjs\";\nimport memoTheme from \"../utils/memoTheme.mjs\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.mjs\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.mjs\";\nimport outlinedInputClasses, { getOutlinedInputUtilityClass } from \"./outlinedInputClasses.mjs\";\nimport selectClasses from \"../Select/selectClasses.mjs\";\nimport InputBase, { rootOverridesResolver as inputBaseRootOverridesResolver, inputOverridesResolver as inputBaseInputOverridesResolver, InputBaseRoot, InputBaseInput } from \"../InputBase/InputBase.mjs\";\nimport useSlot from \"../utils/useSlot.mjs\";\nimport { jsxs as _jsxs, jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root'],\n notchedOutline: ['notchedOutline'],\n input: ['input']\n };\n const composedClasses = composeClasses(slots, getOutlinedInputUtilityClass, classes);\n return {\n ...classes,\n // forward classes to the InputBase\n ...composedClasses\n };\n};\nconst OutlinedInputRoot = styled(InputBaseRoot, {\n shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',\n name: 'MuiOutlinedInput',\n slot: 'Root',\n overridesResolver: inputBaseRootOverridesResolver\n})(memoTheme(({\n theme\n}) => {\n const borderColor = theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)';\n return {\n position: 'relative',\n borderRadius: (theme.vars || theme).shape.borderRadius,\n [`&:hover .${outlinedInputClasses.notchedOutline}`]: {\n borderColor: (theme.vars || theme).palette.text.primary\n },\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n [`&:hover .${outlinedInputClasses.notchedOutline}`]: {\n borderColor: theme.vars ? theme.alpha(theme.vars.palette.common.onBackground, 0.23) : borderColor\n }\n },\n [`&.${outlinedInputClasses.focused} .${outlinedInputClasses.notchedOutline}`]: {\n borderWidth: 2\n },\n variants: [...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({\n props: {\n color\n },\n style: {\n [`&.${outlinedInputClasses.focused} .${outlinedInputClasses.notchedOutline}`]: {\n borderColor: (theme.vars || theme).palette[color].main\n }\n }\n })), {\n props: {},\n // to override the above style\n style: {\n [`&.${outlinedInputClasses.error} .${outlinedInputClasses.notchedOutline}`]: {\n borderColor: (theme.vars || theme).palette.error.main\n },\n [`&.${outlinedInputClasses.disabled} .${outlinedInputClasses.notchedOutline}`]: {\n borderColor: (theme.vars || theme).palette.action.disabled\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.startAdornment,\n style: {\n paddingLeft: 14\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.endAdornment,\n style: {\n // use CSS variable to keep specificity\n '--_trailingPad': '14px',\n paddingRight: 'var(--_trailingPad)',\n [`&.${selectClasses.root}`]: {\n '--_trailingPad': '0px'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.multiline,\n style: {\n padding: '16.5px 14px'\n }\n }, {\n props: ({\n ownerState,\n size\n }) => ownerState.multiline && size === 'small',\n style: {\n padding: '8.5px 14px'\n }\n }]\n };\n}));\nconst NotchedOutlineRoot = styled(NotchedOutline, {\n name: 'MuiOutlinedInput',\n slot: 'NotchedOutline'\n})(memoTheme(({\n theme\n}) => {\n const borderColor = theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)';\n return {\n borderColor: theme.vars ? theme.alpha(theme.vars.palette.common.onBackground, 0.23) : borderColor\n };\n}));\nconst OutlinedInputInput = styled(InputBaseInput, {\n name: 'MuiOutlinedInput',\n slot: 'Input',\n overridesResolver: inputBaseInputOverridesResolver\n})(memoTheme(({\n theme\n}) => ({\n padding: '16.5px 14px',\n '&:-webkit-autofill': {\n ...(!theme.vars && {\n WebkitBoxShadow: theme.palette.mode === 'light' ? null : '0 0 0 100px #266798 inset',\n WebkitTextFillColor: theme.palette.mode === 'light' ? null : '#fff',\n caretColor: theme.palette.mode === 'light' ? null : '#fff'\n }),\n borderRadius: 'inherit',\n ...(theme.vars && theme.applyStyles('dark', {\n WebkitBoxShadow: '0 0 0 100px #266798 inset',\n WebkitTextFillColor: '#fff',\n caretColor: '#fff'\n }))\n },\n variants: [{\n props: {\n size: 'small'\n },\n style: {\n padding: '8.5px 14px'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.multiline,\n style: {\n padding: 0\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.startAdornment,\n style: {\n paddingLeft: 0\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.endAdornment,\n style: {\n paddingRight: 0\n }\n }]\n})));\nconst OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiOutlinedInput'\n });\n const {\n fullWidth = false,\n inputComponent = 'input',\n label,\n multiline = false,\n notched,\n slots = {},\n slotProps = {},\n type = 'text',\n ...other\n } = props;\n const classes = useUtilityClasses(props);\n const [fcs, muiFormControl] = useFormControlState({\n props,\n states: ['color', 'disabled', 'error', 'focused', 'hiddenLabel', 'size', 'required']\n });\n const ownerState = {\n ...props,\n color: fcs.color || 'primary',\n disabled: fcs.disabled,\n error: fcs.error,\n focused: fcs.focused,\n formControl: muiFormControl,\n fullWidth,\n hiddenLabel: fcs.hiddenLabel,\n multiline,\n size: fcs.size,\n type\n };\n const RootSlot = slots.root ?? OutlinedInputRoot;\n const InputSlot = slots.input ?? OutlinedInputInput;\n const [NotchedSlot, notchedProps] = useSlot('notchedOutline', {\n elementType: NotchedOutlineRoot,\n className: classes.notchedOutline,\n shouldForwardComponentProp: true,\n ownerState,\n externalForwardedProps: {\n slots,\n slotProps\n },\n additionalProps: {\n label: label != null && label !== '' && fcs.required ? /*#__PURE__*/_jsxs(React.Fragment, {\n children: [label, \"\\u2009\", '*']\n }) : label\n }\n });\n return /*#__PURE__*/_jsx(InputBase, {\n slots: {\n root: RootSlot,\n input: InputSlot\n },\n slotProps: slotProps,\n renderSuffix: state => /*#__PURE__*/_jsx(NotchedSlot, {\n ...notchedProps,\n notched: typeof notched !== 'undefined' ? notched : Boolean(state.startAdornment || state.filled || state.focused)\n }),\n fullWidth: fullWidth,\n inputComponent: inputComponent,\n multiline: multiline,\n ref: ref,\n type: type,\n ...other,\n classes: {\n ...classes,\n notchedOutline: null\n }\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? OutlinedInput.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n /**\n * If `true`, the `input` element is focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * If `true`, the component is disabled.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n disabled: PropTypes.bool,\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment: PropTypes.node,\n /**\n * If `true`, the `input` will indicate an error.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n error: PropTypes.bool,\n /**\n * If `true`, the `input` will take up the full width of its container.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n /**\n * The component used for the `input` element.\n * Either a string to use a HTML element or a component.\n * @default 'input'\n */\n inputComponent: PropTypes.elementType,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.\n * @default {}\n */\n inputProps: PropTypes.object,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * The label of the `input`. It is only used for layout. The actual labelling\n * is handled by `InputLabel`.\n */\n label: PropTypes.node,\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n * The prop defaults to the value (`'none'`) inherited from the parent FormControl component.\n */\n margin: PropTypes.oneOf(['dense', 'none']),\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n maxRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Minimum number of rows to display when multiline option is set to true.\n */\n minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * If `true`, a [TextareaAutosize](https://mui.com/material-ui/react-textarea-autosize/) element is rendered.\n * @default false\n */\n multiline: PropTypes.bool,\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n /**\n * If `true`, the outline is notched to accommodate the label.\n */\n notched: PropTypes.bool,\n /**\n * Callback fired when the value is changed.\n *\n * @param {React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n /**\n * The short hint displayed in the `input` before the user enters a value.\n */\n placeholder: PropTypes.string,\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n /**\n * If `true`, the `input` element is required.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n required: PropTypes.bool,\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * The props used for each slot inside.\n * @default {}\n */\n slotProps: PropTypes.shape({\n input: PropTypes.object,\n notchedOutline: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n root: PropTypes.object\n }),\n /**\n * The components used for each slot inside.\n * @default {}\n */\n slots: PropTypes.shape({\n input: PropTypes.elementType,\n notchedOutline: PropTypes.elementType,\n root: PropTypes.elementType\n }),\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment: PropTypes.node,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types).\n * @default 'text'\n */\n type: PropTypes.string,\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any\n} : void 0;\nOutlinedInput.muiName = 'Input';\nexport default OutlinedInput;","import * as React from 'react';\nimport areEqualValues from \"./areEqualValues.mjs\";\nfunction hasOwnValueProp(child) {\n return Object.prototype.hasOwnProperty.call(child.props, 'value');\n}\nfunction getTextFromReactNode(node) {\n if (typeof node === 'string' || typeof node === 'number') {\n return String(node);\n }\n let text = '';\n React.Children.forEach(node, child => {\n if (typeof child === 'string' || typeof child === 'number') {\n text += String(child);\n } else if (/*#__PURE__*/React.isValidElement(child)) {\n text += getTextFromReactNode(child.props.children);\n }\n });\n return text;\n}\nexport function getMatchingOptionIndex(options, search, startIndex = 0) {\n if (options.length === 0) {\n return -1;\n }\n const normalizedStartIndex = (startIndex % options.length + options.length) % options.length;\n for (let offset = 0; offset < options.length; offset += 1) {\n const index = (normalizedStartIndex + offset) % options.length;\n if (options[index].label.startsWith(search)) {\n return index;\n }\n }\n return -1;\n}\nexport function canCycleRepeatedCharacter(options, key) {\n return !options.some(option => option.label[0] === key && option.label[1] === key);\n}\nexport function getTypeaheadOptions(childrenArray, value) {\n const options = [];\n let selectedIndex = -1;\n for (let index = 0; index < childrenArray.length; index += 1) {\n const child = childrenArray[index];\n if (! /*#__PURE__*/React.isValidElement(child) || !hasOwnValueProp(child) || child.props.disabled) {\n continue;\n }\n\n // Closed typeahead cannot exclude CSS-hidden text because no option DOM is mounted.\n const label = getTextFromReactNode(child.props.children).trim().toLowerCase();\n if (label === '') {\n continue;\n }\n if (selectedIndex === -1 && areEqualValues(value, child.props.value)) {\n selectedIndex = options.length;\n }\n options.push({\n child,\n label,\n value: child.props.value\n });\n }\n return {\n options,\n selectedIndex\n };\n}","'use client';\n\nimport _formatErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\nvar _span;\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport useId from '@mui/utils/useId';\nimport refType from '@mui/utils/refType';\nimport useTimeout from '@mui/utils/useTimeout';\nimport ownerDocument from \"../utils/ownerDocument.mjs\";\nimport Menu from \"../Menu/Menu.mjs\";\nimport { StyledSelectSelect, StyledSelectIcon } from \"../NativeSelect/NativeSelectInput.mjs\";\nimport { isFilled } from \"../InputBase/utils.mjs\";\nimport { styled } from \"../zero-styled/index.mjs\";\nimport slotShouldForwardProp from \"../styles/slotShouldForwardProp.mjs\";\nimport useEnhancedEffect from \"../utils/useEnhancedEffect.mjs\";\nimport useEventCallback from \"../utils/useEventCallback.mjs\";\nimport useForkRef from \"../utils/useForkRef.mjs\";\nimport useControlled from \"../utils/useControlled.mjs\";\nimport selectClasses, { getSelectUtilityClasses } from \"./selectClasses.mjs\";\nimport { areEqualValues, isEmpty, getOpenInteractionType } from \"./utils/index.mjs\";\nimport { canCycleRepeatedCharacter, getMatchingOptionIndex, getTypeaheadOptions } from \"./utils/closedTypeahead.mjs\";\nimport { SelectFocusSourceProvider } from \"./utils/SelectFocusSourceContext.mjs\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst OPENING_MOUSE_UP_BOUNDARY_OFFSET = 2;\n// The initial mouseup may land on an item when the menu opens over the trigger.\nconst SELECTED_MOUSE_UP_DELAY = 400;\nconst UNSELECTED_MOUSE_UP_DELAY = 200;\nconst TYPEAHEAD_RESET_MS = 750;\nconst SPACE = ' ';\nconst ARROW_UP = 'ArrowUp';\nconst ARROW_DOWN = 'ArrowDown';\nconst ENTER = 'Enter';\n\n/**\n * Returns true when a native mouse event should be treated as happening inside\n * the element, even if a portal or backdrop retargeted the event away from it.\n *\n * Select uses this for the opening mouseup: when the menu opens over the\n * trigger, the release can target the backdrop or portaled menu even though the\n * pointer is still inside the trigger or menu bounds.\n */\nfunction isMouseEventInsideElement(event, element) {\n if (!element) {\n return false;\n }\n const eventPath = event.composedPath();\n if (eventPath.includes(element)) {\n return true;\n }\n if (event.target?.nodeType && element.contains(event.target)) {\n return true;\n }\n const rect = element.getBoundingClientRect();\n if (rect.width === 0 && rect.height === 0) {\n // Hidden or transition-mounted elements do not have useful bounds to hit-test.\n return false;\n }\n return event.clientX >= rect.left - OPENING_MOUSE_UP_BOUNDARY_OFFSET && event.clientX <= rect.right + OPENING_MOUSE_UP_BOUNDARY_OFFSET && event.clientY >= rect.top - OPENING_MOUSE_UP_BOUNDARY_OFFSET && event.clientY <= rect.bottom + OPENING_MOUSE_UP_BOUNDARY_OFFSET;\n}\nconst SelectSelect = styled(StyledSelectSelect, {\n name: 'MuiSelect',\n slot: 'Select',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [\n // Win specificity over the input base\n {\n [`&.${selectClasses.select}`]: styles.select\n }, {\n [`&.${selectClasses.select}`]: styles[ownerState.variant]\n }, {\n [`&.${selectClasses.error}`]: styles.error\n }, {\n [`&.${selectClasses.multiple}`]: styles.multiple\n }];\n }\n})({\n // Win specificity over the input base\n [`&.${selectClasses.select}`]: {\n height: 'auto',\n // Resets for multiple select with chips\n minHeight: '1.4375em',\n // Required for select\\text-field height consistency\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n overflow: 'hidden'\n }\n});\nconst SelectIcon = styled(StyledSelectIcon, {\n name: 'MuiSelect',\n slot: 'Icon',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.icon, ownerState.open && styles.iconOpen];\n }\n})({});\nconst SelectNativeInput = styled('input', {\n shouldForwardProp: prop => slotShouldForwardProp(prop) && prop !== 'classes',\n name: 'MuiSelect',\n slot: 'NativeInput'\n})({\n bottom: 0,\n left: 0,\n position: 'absolute',\n opacity: 0,\n pointerEvents: 'none',\n width: '100%',\n boxSizing: 'border-box'\n});\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n variant,\n disabled,\n multiple,\n open,\n error\n } = ownerState;\n const slots = {\n select: ['select', variant, disabled && 'disabled', multiple && 'multiple', error && 'error'],\n icon: ['icon', open && 'iconOpen', disabled && 'disabled'],\n nativeInput: ['nativeInput']\n };\n return composeClasses(slots, getSelectUtilityClasses, classes);\n};\n\n/**\n * @ignore - internal component.\n */\nconst SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, ref) {\n const {\n 'aria-describedby': ariaDescribedby,\n 'aria-label': ariaLabel,\n autoFocus,\n autoWidth,\n children,\n className,\n defaultOpen,\n defaultValue,\n disabled,\n displayEmpty,\n error = false,\n IconComponent,\n inputRef: inputRefProp,\n labelId,\n MenuProps = {},\n multiple,\n name,\n onBlur,\n onChange,\n onClose,\n onFocus,\n // eslint-disable-next-line react/prop-types\n onKeyDown,\n // eslint-disable-next-line react/prop-types\n onMouseDown,\n onOpen,\n open: openProp,\n readOnly,\n renderValue,\n required,\n SelectDisplayProps = {},\n tabIndex: tabIndexProp,\n // catching `type` from Input which makes no sense for SelectInput\n type,\n value: valueProp,\n variant = 'standard',\n ...other\n } = props;\n const [value, setValueState] = useControlled({\n controlled: valueProp,\n default: defaultValue,\n name: 'Select'\n });\n const [openState, setOpenState] = useControlled({\n controlled: openProp,\n default: defaultOpen,\n name: 'Select'\n });\n const inputRef = React.useRef(null);\n const displayRef = React.useRef(null);\n const paperRef = React.useRef(null);\n const openRef = React.useRef(false);\n const hasSelectedItemInListRef = React.useRef(false);\n const openingMouseUpListenerCleanupRef = React.useRef(null);\n const didPointerDownOnItemRef = React.useRef(false);\n const selectionRef = React.useRef({\n allowSelectedMouseUp: false,\n allowUnselectedMouseUp: false\n });\n const closedTypeaheadRef = React.useRef({\n buffer: '',\n previousSearchIndex: null,\n matchedIndex: null\n });\n const selectedMouseUpTimer = useTimeout();\n const unselectedMouseUpTimer = useTimeout();\n const typeaheadResetTimer = useTimeout();\n const [displayNode, setDisplayNode] = React.useState(null);\n const {\n current: isOpenControlled\n } = React.useRef(openProp != null);\n const [menuMinWidthState, setMenuMinWidthState] = React.useState();\n const [openInteractionType, setOpenInteractionType] = React.useState(null);\n const handleRef = useForkRef(ref, inputRefProp);\n const handleDisplayRef = React.useCallback(node => {\n displayRef.current = node;\n if (node) {\n setDisplayNode(node);\n }\n }, []);\n const anchorElement = displayNode?.parentNode;\n React.useImperativeHandle(handleRef, () => ({\n focus: () => {\n displayRef.current.focus();\n },\n node: inputRef.current,\n value\n }), [value]);\n const open = displayNode !== null && openState;\n const resetClosedTypeahead = React.useCallback(() => {\n typeaheadResetTimer.clear();\n closedTypeaheadRef.current.buffer = '';\n closedTypeaheadRef.current.previousSearchIndex = null;\n closedTypeaheadRef.current.matchedIndex = null;\n }, [typeaheadResetTimer]);\n useEnhancedEffect(() => {\n openRef.current = open;\n if (open) {\n resetClosedTypeahead();\n }\n }, [open, resetClosedTypeahead]);\n const clearSelectionTimers = React.useCallback(() => {\n selectedMouseUpTimer.clear();\n unselectedMouseUpTimer.clear();\n }, [selectedMouseUpTimer, unselectedMouseUpTimer]);\n const resetMouseUpSelection = React.useCallback(() => {\n clearSelectionTimers();\n didPointerDownOnItemRef.current = false;\n selectionRef.current = {\n allowSelectedMouseUp: false,\n allowUnselectedMouseUp: false\n };\n }, [clearSelectionTimers]);\n const clearOpeningMouseUpListener = React.useCallback(() => {\n if (openingMouseUpListenerCleanupRef.current) {\n openingMouseUpListenerCleanupRef.current();\n openingMouseUpListenerCleanupRef.current = null;\n }\n }, []);\n React.useEffect(() => {\n if (!open) {\n resetMouseUpSelection();\n clearOpeningMouseUpListener();\n }\n }, [open, resetMouseUpSelection, clearOpeningMouseUpListener]);\n\n // Keep unmount cleanup separate from the `open` effect. Effect cleanups also run\n // before the next effect, which would clear the opening mouseup listener while opening.\n React.useEffect(() => {\n return () => {\n resetMouseUpSelection();\n clearOpeningMouseUpListener();\n resetClosedTypeahead();\n };\n }, [resetMouseUpSelection, clearOpeningMouseUpListener, resetClosedTypeahead]);\n React.useEffect(() => {\n if (!open || !anchorElement || autoWidth) {\n return undefined;\n }\n if (typeof ResizeObserver === 'undefined') {\n return undefined;\n }\n const observer = new ResizeObserver(() => {\n setMenuMinWidthState(anchorElement.clientWidth);\n });\n observer.observe(anchorElement);\n return () => {\n observer.disconnect();\n };\n }, [open, anchorElement, autoWidth]);\n\n // Resize menu on `defaultOpen` automatic toggle.\n React.useEffect(() => {\n if (defaultOpen && openState && displayNode && !isOpenControlled) {\n setMenuMinWidthState(autoWidth ? null : anchorElement.clientWidth);\n displayRef.current.focus();\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/exhaustive-deps\n }, [displayNode, autoWidth]);\n // `isOpenControlled` is ignored because the component should never switch between controlled and uncontrolled modes.\n // `defaultOpen` and `openState` are ignored to avoid unnecessary callbacks.\n React.useEffect(() => {\n if (autoFocus) {\n displayRef.current.focus();\n }\n }, [autoFocus]);\n React.useEffect(() => {\n if (!labelId) {\n return undefined;\n }\n const label = ownerDocument(displayRef.current).getElementById(labelId);\n if (label) {\n const handler = () => {\n if (getSelection().isCollapsed) {\n displayRef.current.focus();\n }\n };\n label.addEventListener('click', handler);\n return () => {\n label.removeEventListener('click', handler);\n };\n }\n return undefined;\n }, [labelId]);\n const update = useEventCallback((openParam, event) => {\n if (!openParam) {\n resetMouseUpSelection();\n clearOpeningMouseUpListener();\n }\n if (openParam) {\n resetClosedTypeahead();\n setOpenInteractionType(getOpenInteractionType(event));\n if (onOpen) {\n onOpen(event);\n }\n } else {\n setOpenInteractionType(null);\n if (onClose) {\n onClose(event);\n }\n }\n if (!isOpenControlled) {\n openRef.current = openParam;\n setMenuMinWidthState(autoWidth ? null : anchorElement.clientWidth);\n setOpenState(openParam);\n }\n });\n const scheduleMouseUpSelection = () => {\n resetMouseUpSelection();\n\n // When there is no selected item in the list, a mousedown\n // on the trigger followed by a quick mouseup over the first option can accidentally select\n // within 200ms. Delay unselected mouseup to match the safer 400ms window.\n if (!hasSelectedItemInListRef.current) {\n selectedMouseUpTimer.start(SELECTED_MOUSE_UP_DELAY, () => {\n selectionRef.current.allowSelectedMouseUp = true;\n selectionRef.current.allowUnselectedMouseUp = true;\n });\n } else {\n // mousedown -> move to unselected item -> mouseup should not select within 200ms.\n unselectedMouseUpTimer.start(UNSELECTED_MOUSE_UP_DELAY, () => {\n selectionRef.current.allowUnselectedMouseUp = true;\n\n // mousedown -> mouseup on selected item should not select within 400ms.\n selectedMouseUpTimer.start(UNSELECTED_MOUSE_UP_DELAY, () => {\n selectionRef.current.allowSelectedMouseUp = true;\n });\n });\n }\n };\n const handleMouseDown = event => {\n onMouseDown?.(event);\n // Ignore everything but left-click\n if (event.button !== 0) {\n return;\n }\n // Hijack the default focus behavior.\n event.preventDefault();\n if (!displayRef.current) {\n return;\n }\n displayRef.current.focus();\n const doc = ownerDocument(event.currentTarget);\n scheduleMouseUpSelection();\n clearOpeningMouseUpListener();\n const handleMouseUp = mouseEvent => {\n openingMouseUpListenerCleanupRef.current = null;\n if (!displayRef.current) {\n return;\n }\n if (isMouseEventInsideElement(mouseEvent, displayRef.current) || isMouseEventInsideElement(mouseEvent, paperRef.current)) {\n return;\n }\n if (!openRef.current && isOpenControlled) {\n return;\n }\n update(false, mouseEvent);\n };\n doc.addEventListener('mouseup', handleMouseUp, {\n capture: true,\n once: true\n });\n openingMouseUpListenerCleanupRef.current = () => {\n doc.removeEventListener('mouseup', handleMouseUp, true);\n };\n update(true, event);\n };\n const handleClose = event => {\n update(false, event);\n };\n const childrenArray = React.Children.toArray(children);\n\n // Support autofill.\n const handleChange = event => {\n const child = childrenArray.find(childItem => childItem.props.value === event.target.value);\n if (child === undefined) {\n return;\n }\n setValueState(child.props.value);\n if (onChange) {\n onChange(event, child);\n }\n };\n const handleValueChange = (event, child, newValue) => {\n setValueState(newValue);\n if (onChange) {\n // Redefine target to allow name and value to be read.\n // This allows seamless integration with the most popular form libraries.\n // https://github.com/mui/material-ui/issues/13485#issuecomment-676048492\n // Clone the event to not override `target` of the original event.\n const nativeEvent = event.nativeEvent || event;\n const clonedEvent = new nativeEvent.constructor(nativeEvent.type, nativeEvent);\n Object.defineProperty(clonedEvent, 'target', {\n writable: true,\n value: {\n value: newValue,\n name\n }\n });\n onChange(clonedEvent, child);\n }\n };\n const handleItemClick = child => event => {\n didPointerDownOnItemRef.current = false;\n let newValue;\n\n // We use the tabindex attribute to signal the available options.\n if (!event.currentTarget.hasAttribute('tabindex')) {\n return;\n }\n if (multiple) {\n newValue = Array.isArray(value) ? value.slice() : [];\n const itemIndex = value.indexOf(child.props.value);\n if (itemIndex === -1) {\n newValue.push(child.props.value);\n } else {\n newValue.splice(itemIndex, 1);\n }\n } else {\n newValue = child.props.value;\n }\n if (child.props.onClick) {\n child.props.onClick(event);\n }\n if (value !== newValue) {\n handleValueChange(event, child, newValue);\n }\n if (!multiple) {\n update(false, event);\n }\n };\n const handleItemMouseUp = (child, selected) => event => {\n child.props.onMouseUp?.(event);\n if (didPointerDownOnItemRef.current) {\n didPointerDownOnItemRef.current = false;\n return;\n }\n const disallowSelectedMouseUp = !selectionRef.current.allowSelectedMouseUp && selected;\n const disallowUnselectedMouseUp = !selectionRef.current.allowUnselectedMouseUp && !selected;\n if (disallowSelectedMouseUp || disallowUnselectedMouseUp) {\n return;\n }\n event.currentTarget.click();\n };\n const handleClosedTypeahead = event => {\n const state = closedTypeaheadRef.current;\n const hasActiveBuffer = state.buffer !== '';\n if (open || multiple || disabled || event.defaultPrevented || event.nativeEvent?.isComposing || event.key.length !== 1 || event.ctrlKey || event.metaKey || event.altKey || event.key === SPACE && !hasActiveBuffer) {\n return false;\n }\n if (event.key === SPACE) {\n event.preventDefault();\n }\n const isNewSession = state.buffer === '';\n const {\n options: searchableOptions,\n selectedIndex\n } = getTypeaheadOptions(childrenArray, value);\n if (searchableOptions.length === 0) {\n if (event.key !== SPACE) {\n resetClosedTypeahead();\n }\n return true;\n }\n if (isNewSession) {\n state.previousSearchIndex = selectedIndex;\n }\n const key = event.key.toLowerCase();\n if (state.buffer === key && canCycleRepeatedCharacter(searchableOptions, key)) {\n state.buffer = '';\n state.previousSearchIndex = state.matchedIndex;\n }\n state.buffer += key;\n typeaheadResetTimer.start(TYPEAHEAD_RESET_MS, resetClosedTypeahead);\n const matchingIndex = getMatchingOptionIndex(searchableOptions, state.buffer, (state.previousSearchIndex ?? -1) + 1);\n if (matchingIndex !== -1) {\n const matchedOption = searchableOptions[matchingIndex];\n state.matchedIndex = matchingIndex;\n if (!areEqualValues(value, matchedOption.value)) {\n handleValueChange(event, matchedOption.child, matchedOption.value);\n }\n return true;\n }\n if (event.key !== SPACE) {\n resetClosedTypeahead();\n }\n return true;\n };\n const handleKeyDown = event => {\n if (!readOnly) {\n const isClosedTypeaheadHandled = handleClosedTypeahead(event);\n // The native select doesn't respond to Enter on macOS, but it's recommended by\n // https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/\n const isOpenKey = event.key === SPACE || event.key === ARROW_UP || event.key === ARROW_DOWN || event.key === ENTER;\n if (!isClosedTypeaheadHandled && isOpenKey) {\n event.preventDefault();\n update(true, event);\n }\n onKeyDown?.(event);\n }\n };\n const handleBlur = event => {\n resetClosedTypeahead();\n // if open event.stopImmediatePropagation\n if (!open && onBlur) {\n // Preact support, target is read only property on a native event.\n Object.defineProperty(event, 'target', {\n writable: true,\n value: {\n value,\n name\n }\n });\n onBlur(event);\n }\n };\n const handleItemKeyDown = child => event => {\n child?.props?.onKeyDown?.(event);\n if (event.key === SPACE && event.target === event.currentTarget && !event.defaultPrevented) {\n // Prevent the browser from scrolling the page\n event.preventDefault();\n // Ignore auto-repeated keydowns to avoid toggling multiple times\n if (!event.repeat) {\n // Trigger via click so that onClick receives a click event,\n // consistent with Enter and pointer interactions.\n event.currentTarget.click();\n }\n }\n };\n delete other['aria-invalid'];\n let display;\n let displaySingle;\n const displayMultiple = [];\n let computeDisplay = false;\n let foundMatch = false;\n\n // No need to display any value if the field is empty.\n if (isFilled({\n value\n }) || displayEmpty) {\n if (renderValue) {\n display = renderValue(value);\n } else {\n computeDisplay = true;\n }\n }\n const items = childrenArray.map(child => {\n if (! /*#__PURE__*/React.isValidElement(child)) {\n return null;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"MUI: The Select component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n let selected;\n if (multiple) {\n if (!Array.isArray(value)) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'MUI: The `value` prop must be an array ' + 'when using the `Select` component with `multiple`.' : _formatErrorMessage(2));\n }\n selected = value.some(v => areEqualValues(v, child.props.value));\n if (selected && computeDisplay) {\n displayMultiple.push(child.props.children);\n }\n } else {\n selected = areEqualValues(value, child.props.value);\n if (selected && computeDisplay) {\n displaySingle = child.props.children;\n }\n }\n if (selected) {\n foundMatch = true;\n }\n return /*#__PURE__*/React.cloneElement(child, {\n 'aria-selected': selected ? 'true' : 'false',\n onMouseDown: event => {\n didPointerDownOnItemRef.current = true;\n child.props.onMouseDown?.(event);\n },\n onPointerDown: event => {\n didPointerDownOnItemRef.current = true;\n child.props.onPointerDown?.(event);\n },\n onClick: handleItemClick(child),\n onMouseUp: handleItemMouseUp(child, selected),\n onKeyUp: event => {\n if (event.key === SPACE) {\n // otherwise our MenuItems dispatches a click event\n // it's not behavior of the native <option> and causes\n // the select to close immediately since we open on space keydown\n event.preventDefault();\n }\n if (child.props.onKeyUp) {\n child.props.onKeyUp(event);\n }\n },\n onKeyDown: handleItemKeyDown(child),\n role: 'option',\n selected,\n value: undefined,\n // The value is most likely not a valid HTML attribute.\n 'data-value': child.props.value // Instead, we provide it as a data attribute.\n });\n });\n\n // Keep the opening mouseup guard current without mutating refs during render.\n useEnhancedEffect(() => {\n hasSelectedItemInListRef.current = foundMatch;\n if (!open && !multiple && !foundMatch) {\n resetClosedTypeahead();\n }\n }, [foundMatch, multiple, open, resetClosedTypeahead]);\n if (process.env.NODE_ENV !== 'production') {\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\n React.useEffect(() => {\n if (!foundMatch && !multiple && value !== '') {\n const values = childrenArray.map(child => child.props.value);\n console.warn([`MUI: You have provided an out-of-range value \\`${value}\\` for the select ${name ? `(name=\"${name}\") ` : ''}component.`, \"Consider providing a value that matches one of the available options or ''.\", `The available values are ${values.filter(x => x != null).map(x => `\\`${x}\\``).join(', ') || '\"\"'}.`].join('\\n'));\n }\n }, [foundMatch, childrenArray, multiple, name, value]);\n }\n if (computeDisplay) {\n if (multiple) {\n if (displayMultiple.length === 0) {\n display = null;\n } else {\n display = displayMultiple.reduce((output, child, index) => {\n output.push(child);\n if (index < displayMultiple.length - 1) {\n output.push(', ');\n }\n return output;\n }, []);\n }\n } else {\n display = displaySingle;\n }\n }\n\n // Avoid performing a layout computation in the render method.\n let menuMinWidth = menuMinWidthState;\n if (!autoWidth && isOpenControlled && displayNode) {\n menuMinWidth = anchorElement.clientWidth;\n }\n let tabIndex;\n if (typeof tabIndexProp !== 'undefined') {\n tabIndex = tabIndexProp;\n } else {\n tabIndex = disabled ? null : 0;\n }\n const buttonId = SelectDisplayProps.id || (name ? `mui-component-select-${name}` : undefined);\n const ownerState = {\n ...props,\n variant,\n value,\n open,\n error\n };\n const classes = useUtilityClasses(ownerState);\n const menuPaperSlotProps = typeof MenuProps.slotProps?.paper === 'function' ? MenuProps.slotProps.paper(ownerState) : MenuProps.slotProps?.paper;\n const handlePaperRef = useForkRef(menuPaperSlotProps?.ref, paperRef);\n const menuListSlotProps = typeof MenuProps.slotProps?.list === 'function' ? MenuProps.slotProps.list(ownerState) : MenuProps.slotProps?.list;\n const listboxId = useId();\n const nativeInputId = useId();\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsx(SelectSelect, {\n as: \"div\",\n ref: handleDisplayRef,\n tabIndex: tabIndex,\n role: \"combobox\",\n \"aria-controls\": open ? listboxId : undefined,\n \"aria-disabled\": disabled ? 'true' : undefined,\n \"aria-expanded\": open ? 'true' : 'false',\n \"aria-haspopup\": \"listbox\",\n \"aria-readonly\": readOnly ? 'true' : undefined,\n \"aria-label\": ariaLabel,\n \"aria-labelledby\": labelId,\n \"aria-describedby\": ariaDescribedby,\n \"aria-required\": required ? 'true' : undefined,\n \"aria-invalid\": error ? 'true' : undefined,\n onKeyDown: handleKeyDown,\n onMouseDown: disabled || readOnly ? null : handleMouseDown,\n onBlur: handleBlur,\n onFocus: onFocus,\n ...SelectDisplayProps,\n ownerState: ownerState,\n className: clsx(SelectDisplayProps.className, classes.select, className)\n // The id is required for proper a11y\n ,\n id: buttonId,\n children: isEmpty(display) ? // notranslate needed while Google Translate will not fix zero-width space issue\n _span || (_span = /*#__PURE__*/_jsx(\"span\", {\n className: \"notranslate\",\n \"aria-hidden\": true,\n children: \"\\u200B\"\n })) : display\n }), /*#__PURE__*/_jsx(SelectNativeInput, {\n \"aria-invalid\": error,\n value: Array.isArray(value) ? value.join(',') : value,\n name: name,\n ref: inputRef,\n \"aria-hidden\": true,\n onChange: handleChange,\n tabIndex: -1,\n disabled: disabled,\n readOnly: readOnly,\n className: classes.nativeInput,\n autoFocus: autoFocus,\n required: required,\n ...other,\n id: other.id ?? nativeInputId,\n ownerState: ownerState\n }), /*#__PURE__*/_jsx(SelectIcon, {\n as: IconComponent,\n className: classes.icon,\n ownerState: ownerState\n }), /*#__PURE__*/_jsx(SelectFocusSourceProvider, {\n value: openInteractionType,\n children: /*#__PURE__*/_jsx(Menu, {\n id: `menu-${name || ''}`,\n anchorEl: anchorElement,\n open: open,\n onClose: handleClose,\n anchorOrigin: {\n vertical: 'bottom',\n horizontal: 'center'\n },\n transformOrigin: {\n vertical: 'top',\n horizontal: 'center'\n },\n ...MenuProps,\n slotProps: {\n ...MenuProps.slotProps,\n list: {\n 'aria-labelledby': labelId,\n role: 'listbox',\n 'aria-multiselectable': multiple ? 'true' : undefined,\n disableListWrap: true,\n id: listboxId,\n ...menuListSlotProps\n },\n paper: {\n ...menuPaperSlotProps,\n ref: handlePaperRef,\n style: {\n minWidth: menuMinWidth,\n ...menuPaperSlotProps?.style\n }\n }\n },\n children: items\n })\n })]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? SelectInput.propTypes = {\n /**\n * @ignore\n */\n 'aria-describedby': PropTypes.string,\n /**\n * @ignore\n */\n 'aria-label': PropTypes.string,\n /**\n * @ignore\n */\n autoFocus: PropTypes.bool,\n /**\n * If `true`, the width of the popover will automatically be set according to the items inside the\n * menu, otherwise it will be at least the width of the select input.\n */\n autoWidth: PropTypes.bool,\n /**\n * The option elements to populate the select with.\n * Can be some `<MenuItem>` elements.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * The CSS class name of the select element.\n */\n className: PropTypes.string,\n /**\n * If `true`, the component is toggled on mount. Use when the component open state is not controlled.\n * You can only use it when the `native` prop is `false` (default).\n */\n defaultOpen: PropTypes.bool,\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * If `true`, the select is disabled.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the selected item is displayed even if its value is empty.\n */\n displayEmpty: PropTypes.bool,\n /**\n * If `true`, the `select input` will indicate an error.\n */\n error: PropTypes.bool,\n /**\n * The icon that displays the arrow.\n */\n IconComponent: PropTypes.elementType.isRequired,\n /**\n * Imperative handle implementing `{ value: T, node: HTMLElement, focus(): void }`\n * Equivalent to `ref`\n */\n inputRef: refType,\n /**\n * The ID of an element that acts as an additional label. The Select will\n * be labelled by the additional label and the selected value.\n */\n labelId: PropTypes.string,\n /**\n * Props applied to the [`Menu`](/material-ui/api/menu/) element.\n */\n MenuProps: PropTypes.object,\n /**\n * If `true`, `value` must be an array and the menu will support multiple selections.\n */\n multiple: PropTypes.bool,\n /**\n * Name attribute of the `select` or hidden `input` element.\n */\n name: PropTypes.string,\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n /**\n * Callback fired when a menu item is selected.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (any).\n * @param {object} [child] The react element that was selected.\n */\n onChange: PropTypes.func,\n /**\n * Callback fired when the component requests to be closed.\n * Use in controlled mode (see open).\n *\n * @param {object} event The event source of the callback.\n */\n onClose: PropTypes.func,\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n /**\n * Callback fired when the component requests to be opened.\n * Use in controlled mode (see open).\n *\n * @param {object} event The event source of the callback.\n */\n onOpen: PropTypes.func,\n /**\n * If `true`, the component is shown.\n */\n open: PropTypes.bool,\n /**\n * @ignore\n */\n readOnly: PropTypes.bool,\n /**\n * Render the selected value.\n *\n * @param {any} value The `value` provided to the component.\n * @returns {ReactNode}\n */\n renderValue: PropTypes.func,\n /**\n * If `true`, the component is required.\n */\n required: PropTypes.bool,\n /**\n * Props applied to the clickable div element.\n */\n SelectDisplayProps: PropTypes.object,\n /**\n * @ignore\n */\n tabIndex: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * @ignore\n */\n type: PropTypes.any,\n /**\n * The input value.\n */\n value: PropTypes.any,\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['standard', 'outlined', 'filled'])\n} : void 0;\nexport default SelectInput;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport deepmerge from '@mui/utils/deepmerge';\nimport composeClasses from '@mui/utils/composeClasses';\nimport getReactElementRef from '@mui/utils/getReactElementRef';\nimport SelectInput from \"./SelectInput.mjs\";\nimport { useFormControlState } from \"../FormControl/useFormControl.mjs\";\nimport ArrowDropDownIcon from \"../internal/svg-icons/ArrowDropDown.mjs\";\nimport Input from \"../Input/index.mjs\";\nimport NativeSelectInput from \"../NativeSelect/NativeSelectInput.mjs\";\nimport FilledInput from \"../FilledInput/index.mjs\";\nimport OutlinedInput from \"../OutlinedInput/index.mjs\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.mjs\";\nimport useForkRef from \"../utils/useForkRef.mjs\";\nimport { styled } from \"../zero-styled/index.mjs\";\nimport rootShouldForwardProp from \"../styles/rootShouldForwardProp.mjs\";\nimport { getSelectUtilityClasses } from \"./selectClasses.mjs\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root']\n };\n const composedClasses = composeClasses(slots, getSelectUtilityClasses, classes);\n return {\n ...classes,\n ...composedClasses\n };\n};\nconst styledRootConfig = {\n name: 'MuiSelect',\n slot: 'Root',\n shouldForwardProp: prop => rootShouldForwardProp(prop) && prop !== 'variant'\n};\nconst StyledInput = styled(Input, styledRootConfig)('');\nconst StyledOutlinedInput = styled(OutlinedInput, styledRootConfig)('');\nconst StyledFilledInput = styled(FilledInput, styledRootConfig)('');\nconst Select = /*#__PURE__*/React.forwardRef(function Select(inProps, ref) {\n const props = useDefaultProps({\n name: 'MuiSelect',\n props: inProps\n });\n const {\n autoWidth = false,\n children,\n classes: classesProp = {},\n className,\n defaultOpen = false,\n displayEmpty = false,\n IconComponent = ArrowDropDownIcon,\n id,\n input,\n inputProps,\n label,\n labelId,\n MenuProps,\n multiple = false,\n native = false,\n onClose,\n onOpen,\n open,\n renderValue,\n SelectDisplayProps,\n variant: variantProp = 'outlined',\n ...other\n } = props;\n const inputComponent = native ? NativeSelectInput : SelectInput;\n const [fcs] = useFormControlState({\n props,\n states: ['variant', 'error']\n });\n const variant = fcs.variant || variantProp;\n const ownerState = {\n ...props,\n variant,\n classes: classesProp\n };\n const classes = useUtilityClasses(ownerState);\n const {\n root,\n ...restOfClasses\n } = classes;\n const InputComponent = input || {\n standard: /*#__PURE__*/_jsx(StyledInput, {\n ownerState: ownerState\n }),\n outlined: /*#__PURE__*/_jsx(StyledOutlinedInput, {\n label: label,\n ownerState: ownerState\n }),\n filled: /*#__PURE__*/_jsx(StyledFilledInput, {\n ownerState: ownerState\n })\n }[variant];\n const inputComponentRef = useForkRef(ref, getReactElementRef(InputComponent));\n return /*#__PURE__*/_jsx(React.Fragment, {\n children: /*#__PURE__*/React.cloneElement(InputComponent, {\n // Most of the logic is implemented in `SelectInput`.\n // The `Select` component is a simple API wrapper to expose something better to play with.\n inputComponent,\n inputProps: {\n children,\n error: fcs.error,\n IconComponent,\n variant,\n type: undefined,\n // We render a select. We can ignore the type provided by the `Input`.\n multiple,\n ...(native ? {\n id\n } : {\n autoWidth,\n defaultOpen,\n displayEmpty,\n labelId,\n MenuProps,\n onClose,\n onOpen,\n open,\n renderValue,\n SelectDisplayProps: {\n id,\n ...SelectDisplayProps\n }\n }),\n ...inputProps,\n classes: inputProps ? deepmerge(restOfClasses, inputProps.classes) : restOfClasses,\n ...(input ? input.props.inputProps : {})\n },\n ...((multiple && native || displayEmpty) && variant === 'outlined' ? {\n notched: true\n } : {}),\n ref: inputComponentRef,\n className: clsx(InputComponent.props.className, className, classes.root),\n // If a custom input is provided via 'input' prop, do not allow 'variant' to be propagated to it's root element. See https://github.com/mui/material-ui/issues/33894.\n ...(!input && {\n variant\n }),\n ...other\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Select.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * If `true`, the width of the popover will automatically be set according to the items inside the\n * menu, otherwise it will be at least the width of the select input.\n * @default false\n */\n autoWidth: PropTypes.bool,\n /**\n * The option elements to populate the select with.\n * Can be some `MenuItem` when `native` is false and `option` when `native` is true.\n *\n * ⚠️The `MenuItem` elements **must** be direct descendants when `native` is false.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n * @default {}\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * If `true`, the component is initially open. Use when the component open state is not controlled (i.e. the `open` prop is not defined).\n * You can only use it when the `native` prop is `false` (default).\n * @default false\n */\n defaultOpen: PropTypes.bool,\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * If `true`, a value is displayed even if no items are selected.\n *\n * In order to display a meaningful value, a function can be passed to the `renderValue` prop which\n * returns the value to be displayed when no items are selected.\n *\n * ⚠️ When using this prop, make sure the label doesn't overlap with the empty displayed value.\n * The label should either be hidden or forced to a shrunk state.\n * @default false\n */\n displayEmpty: PropTypes.bool,\n /**\n * The icon that displays the arrow.\n * @default ArrowDropDownIcon\n */\n IconComponent: PropTypes.elementType,\n /**\n * The `id` of the wrapper element or the `select` element when `native`.\n */\n id: PropTypes.string,\n /**\n * An `Input` element; does not have to be a material-ui specific `Input`.\n */\n input: PropTypes.element,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.\n * When `native` is `true`, the attributes are applied on the `select` element.\n */\n inputProps: PropTypes.object,\n /**\n * See [OutlinedInput#label](https://mui.com/material-ui/api/outlined-input/#props)\n */\n label: PropTypes.node,\n /**\n * The ID of an element that acts as an additional label. The Select will\n * be labelled by the additional label and the selected value.\n */\n labelId: PropTypes.string,\n /**\n * Props applied to the [`Menu`](https://mui.com/material-ui/api/menu/) element.\n */\n MenuProps: PropTypes.object,\n /**\n * If `true`, `value` must be an array and the menu will support multiple selections.\n * @default false\n */\n multiple: PropTypes.bool,\n /**\n * If `true`, the component uses a native `select` element.\n * @default false\n */\n native: PropTypes.bool,\n /**\n * Callback fired when a menu item is selected.\n *\n * @param {SelectChangeEvent<Value>} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (any).\n * **Warning**: This is a generic event, not a change event, unless the change event is caused by browser autofill.\n * @param {object} [child] The react element that was selected when `native` is `false` (default).\n */\n onChange: PropTypes.func,\n /**\n * Callback fired when the component requests to be closed.\n * Use it in either controlled (see the `open` prop), or uncontrolled mode (to detect when the Select collapses).\n *\n * @param {object} event The event source of the callback.\n */\n onClose: PropTypes.func,\n /**\n * Callback fired when the component requests to be opened.\n * Use it in either controlled (see the `open` prop), or uncontrolled mode (to detect when the Select expands).\n *\n * @param {object} event The event source of the callback.\n */\n onOpen: PropTypes.func,\n /**\n * If `true`, the component is shown.\n * You can only use it when the `native` prop is `false` (default).\n */\n open: PropTypes.bool,\n /**\n * Render the selected value.\n * You can only use it when the `native` prop is `false` (default).\n *\n * @param {any} value The `value` provided to the component.\n * @returns {ReactNode}\n */\n renderValue: PropTypes.func,\n /**\n * Props applied to the clickable div element.\n */\n SelectDisplayProps: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The `input` value. Providing an empty string will select no options.\n * Set to an empty string `''` if you don't want any of the available options to be selected.\n *\n * If the value is an object it must have reference equality with the option in order to be selected.\n * If the value is not an object, the string representation must match with the string representation of the option in order to be selected.\n */\n value: PropTypes.oneOfType([PropTypes.oneOf(['']), PropTypes.any]),\n /**\n * The variant to use.\n * @default 'outlined'\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nSelect.muiName = 'Select';\nexport default Select;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getTextFieldUtilityClass(slot) {\n return generateUtilityClass('MuiTextField', slot);\n}\nconst textFieldClasses = generateUtilityClasses('MuiTextField', ['root']);\nexport default textFieldClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport useId from '@mui/utils/useId';\nimport refType from '@mui/utils/refType';\nimport { styled } from \"../zero-styled/index.mjs\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.mjs\";\nimport Input from \"../Input/index.mjs\";\nimport FilledInput from \"../FilledInput/index.mjs\";\nimport OutlinedInput from \"../OutlinedInput/index.mjs\";\nimport InputLabel from \"../InputLabel/index.mjs\";\nimport FormControl from \"../FormControl/index.mjs\";\nimport FormHelperText from \"../FormHelperText/index.mjs\";\nimport Select from \"../Select/index.mjs\";\nimport { getTextFieldUtilityClass } from \"./textFieldClasses.mjs\";\nimport useSlot from \"../utils/useSlot.mjs\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst variantComponent = {\n standard: Input,\n filled: FilledInput,\n outlined: OutlinedInput\n};\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root']\n };\n return composeClasses(slots, getTextFieldUtilityClass, classes);\n};\nconst TextFieldRoot = styled(FormControl, {\n name: 'MuiTextField',\n slot: 'Root'\n})({});\n\n/**\n * The `TextField` is a convenience wrapper for the most common cases (80%).\n * It cannot be all things to all people, otherwise the API would grow out of control.\n *\n * ## Advanced Configuration\n *\n * It's important to understand that the text field is a simple abstraction\n * on top of the following components:\n *\n * - [FormControl](/material-ui/api/form-control/)\n * - [InputLabel](/material-ui/api/input-label/)\n * - [FilledInput](/material-ui/api/filled-input/)\n * - [OutlinedInput](/material-ui/api/outlined-input/)\n * - [Input](/material-ui/api/input/)\n * - [FormHelperText](/material-ui/api/form-helper-text/)\n *\n * If you wish to alter the props applied to the `input` element, you can do so as follows:\n *\n * ```jsx\n * const slotProps = {\n * htmlInput: {\n * step: 300\n * }\n * };\n *\n * return <TextField id=\"time\" type=\"time\" slotProps={slotProps} />;\n * ```\n *\n * For advanced cases, please look at the source of TextField by clicking on the\n * \"Edit this page\" button above. Consider either:\n *\n * - using the `slotProps` prop for passing values directly to the components\n * - using the underlying components directly as shown in the demos\n */\nconst TextField = /*#__PURE__*/React.forwardRef(function TextField(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiTextField'\n });\n const {\n autoComplete,\n autoFocus = false,\n children,\n className,\n color = 'primary',\n defaultValue,\n disabled = false,\n error = false,\n fullWidth = false,\n helperText,\n id: idOverride,\n inputRef,\n label,\n maxRows,\n minRows,\n multiline = false,\n name,\n onBlur,\n onChange,\n onFocus,\n placeholder,\n required = false,\n rows,\n select = false,\n slots = {},\n slotProps = {},\n type,\n value,\n variant = 'outlined',\n ...other\n } = props;\n const ownerState = {\n ...props,\n autoFocus,\n color,\n disabled,\n error,\n fullWidth,\n multiline,\n required,\n select,\n variant\n };\n const classes = useUtilityClasses(ownerState);\n if (process.env.NODE_ENV !== 'production') {\n if (select && !children) {\n console.error('MUI: `children` must be passed when using the `TextField` component with `select`.');\n }\n }\n const id = useId(idOverride);\n const helperTextId = helperText && id ? `${id}-helper-text` : undefined;\n const inputLabelId = label && id ? `${id}-label` : undefined;\n const InputComponent = variantComponent[variant];\n const externalForwardedProps = {\n slots,\n slotProps\n };\n const [SelectSlot, selectProps] = useSlot('select', {\n elementType: Select,\n externalForwardedProps,\n ownerState\n });\n const nativeSelect = select && selectProps.native;\n const inputAdditionalProps = {};\n const inputLabelSlotProps = externalForwardedProps.slotProps.inputLabel;\n if (variant === 'outlined') {\n if (inputLabelSlotProps && typeof inputLabelSlotProps.shrink !== 'undefined') {\n inputAdditionalProps.notched = inputLabelSlotProps.shrink;\n }\n inputAdditionalProps.label = label;\n }\n if (select) {\n // unset defaults from textbox inputs\n if (!nativeSelect) {\n inputAdditionalProps.id = undefined;\n }\n inputAdditionalProps['aria-describedby'] = undefined;\n }\n const [RootSlot, rootProps] = useSlot('root', {\n elementType: TextFieldRoot,\n shouldForwardComponentProp: true,\n externalForwardedProps: {\n ...externalForwardedProps,\n ...other\n },\n ownerState,\n className: clsx(classes.root, className),\n ref,\n additionalProps: {\n disabled,\n error,\n fullWidth,\n required,\n color,\n variant\n }\n });\n const [InputSlot, inputProps] = useSlot('input', {\n elementType: InputComponent,\n externalForwardedProps,\n additionalProps: inputAdditionalProps,\n ownerState\n });\n const [InputLabelSlot, inputLabelProps] = useSlot('inputLabel', {\n elementType: InputLabel,\n externalForwardedProps,\n ownerState\n });\n const [HtmlInputSlot, htmlInputProps] = useSlot('htmlInput', {\n elementType: 'input',\n externalForwardedProps,\n ownerState\n });\n const [FormHelperTextSlot, formHelperTextProps] = useSlot('formHelperText', {\n elementType: FormHelperText,\n externalForwardedProps,\n ownerState\n });\n const InputElement = /*#__PURE__*/_jsx(InputSlot, {\n \"aria-describedby\": helperTextId,\n autoComplete: autoComplete,\n autoFocus: autoFocus,\n defaultValue: defaultValue,\n fullWidth: fullWidth,\n multiline: multiline,\n name: name,\n rows: rows,\n maxRows: maxRows,\n minRows: minRows,\n type: type,\n value: value,\n id: id,\n inputRef: inputRef,\n onBlur: onBlur,\n onChange: onChange,\n onFocus: onFocus,\n placeholder: placeholder,\n inputProps: htmlInputProps,\n slots: {\n input: slots.htmlInput ? HtmlInputSlot : undefined\n },\n ...inputProps\n });\n return /*#__PURE__*/_jsxs(RootSlot, {\n ...rootProps,\n children: [label != null && label !== '' && /*#__PURE__*/_jsx(InputLabelSlot, {\n htmlFor: select && !nativeSelect ? undefined : id,\n id: inputLabelId,\n ...(select && !nativeSelect && {\n component: 'div'\n }),\n ...inputLabelProps,\n children: label\n }), select ? /*#__PURE__*/_jsx(SelectSlot, {\n \"aria-describedby\": helperTextId,\n id: id,\n labelId: inputLabelId,\n value: value,\n input: InputElement,\n ...selectProps,\n children: children\n }) : InputElement, helperText && /*#__PURE__*/_jsx(FormHelperTextSlot, {\n id: helperTextId,\n ...formHelperTextProps,\n children: helperText\n })]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? TextField.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n /**\n * If `true`, the `input` element is focused during the first mount.\n * @default false\n */\n autoFocus: PropTypes.bool,\n /**\n * @ignore\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * @default 'primary'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the label is displayed in an error state.\n * @default false\n */\n error: PropTypes.bool,\n /**\n * If `true`, the input will take up the full width of its container.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * The helper text content.\n */\n helperText: PropTypes.node,\n /**\n * The id of the `input` element.\n * Use this prop to make `label` and `helperText` accessible for screen readers.\n */\n id: PropTypes.string,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * The label content.\n */\n label: PropTypes.node,\n /**\n * If `dense` or `normal`, will adjust vertical spacing of this and contained components.\n * @default 'none'\n */\n margin: PropTypes.oneOf(['dense', 'none', 'normal']),\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n maxRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Minimum number of rows to display when multiline option is set to true.\n */\n minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * If `true`, a `textarea` element is rendered instead of an input.\n * @default false\n */\n multiline: PropTypes.bool,\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n /**\n * Callback fired when the value is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n /**\n * The short hint displayed in the `input` before the user enters a value.\n */\n placeholder: PropTypes.string,\n /**\n * If `true`, the label is displayed as required and the `input` element is required.\n * @default false\n */\n required: PropTypes.bool,\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Render a [`Select`](https://mui.com/material-ui/api/select/) element while passing the Input element to `Select` as `input` parameter.\n * If this option is set you must pass the options of the select as children.\n * @default false\n */\n select: PropTypes.bool,\n /**\n * The size of the component.\n * @default 'medium'\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.string]),\n /**\n * The props used for each slot inside.\n * @default {}\n */\n slotProps: PropTypes /* @typescript-to-proptypes-ignore */.shape({\n formHelperText: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n htmlInput: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n input: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n inputLabel: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n select: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside.\n * @default {}\n */\n slots: PropTypes.shape({\n formHelperText: PropTypes.elementType,\n htmlInput: PropTypes.elementType,\n input: PropTypes.elementType,\n inputLabel: PropTypes.elementType,\n root: PropTypes.elementType,\n select: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types).\n */\n type: PropTypes.string,\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any,\n /**\n * The variant to use.\n * @default 'outlined'\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nexport default TextField;"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"mappings":";;;;;;AACA,SAAwB,GAAa,GAAS,GAAU;CACtD,OAAoB,gBAAM,eAAe,CAAO,KAAK,EAAS,QAI9D,EAAQ,KAAK,WAAW,EAAQ,MAAM,UAAU,OAAO,OAAO,MAAM;AACtE;;;;ACLA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