{"ast":null,"code":"'use client';\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"disabled\", \"slotProps\", \"slots\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { unstable_composeClasses as composeClasses } from '../composeClasses';\nimport { getOptionGroupUtilityClass } from './optionGroupClasses';\nimport { useSlotProps } from '../utils';\nimport { useClassNamesOverride } from '../utils/ClassNameConfigurator';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nfunction useUtilityClasses(disabled) {\n const slots = {\n root: ['root', disabled && 'disabled'],\n label: ['label'],\n list: ['list']\n };\n return composeClasses(slots, useClassNamesOverride(getOptionGroupUtilityClass));\n}\n\n/**\n * An unstyled option group to be used within a Select.\n *\n * Demos:\n *\n * - [Select](https://mui.com/base-ui/react-select/)\n *\n * API:\n *\n * - [OptionGroup API](https://mui.com/base-ui/react-select/components-api/#option-group)\n */\nconst OptionGroup = /*#__PURE__*/React.forwardRef(function OptionGroup(props, forwardedRef) {\n const {\n disabled = false,\n slotProps = {},\n slots = {}\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const Root = (slots == null ? void 0 : slots.root) || 'li';\n const Label = (slots == null ? void 0 : slots.label) || 'span';\n const List = (slots == null ? void 0 : slots.list) || 'ul';\n const classes = useUtilityClasses(disabled);\n const rootProps = useSlotProps({\n elementType: Root,\n externalSlotProps: slotProps.root,\n externalForwardedProps: other,\n additionalProps: {\n ref: forwardedRef\n },\n ownerState: props,\n className: classes.root\n });\n const labelProps = useSlotProps({\n elementType: Label,\n externalSlotProps: slotProps.label,\n ownerState: props,\n className: classes.label\n });\n const listProps = useSlotProps({\n elementType: List,\n externalSlotProps: slotProps.list,\n ownerState: props,\n className: classes.list\n });\n return /*#__PURE__*/_jsxs(Root, _extends({}, rootProps, {\n children: [/*#__PURE__*/_jsx(Label, _extends({}, labelProps, {\n children: props.label\n })), /*#__PURE__*/_jsx(List, _extends({}, listProps, {\n children: props.children\n }))]\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? OptionGroup.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n children: PropTypes.node,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * If `true` all the options in the group will be disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * The human-readable description of the group.\n */\n label: PropTypes.node,\n /**\n * The props used for each slot inside the Input.\n * @default {}\n */\n slotProps: PropTypes.shape({\n label: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n list: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside the OptionGroup.\n * Either a string to use a HTML element or a component.\n * @default {}\n */\n slots: PropTypes.shape({\n label: PropTypes.elementType,\n list: PropTypes.elementType,\n root: PropTypes.elementType\n })\n} : void 0;\nexport { OptionGroup };","map":{"version":3,"names":["_extends","_objectWithoutPropertiesLoose","_excluded","React","PropTypes","unstable_composeClasses","composeClasses","getOptionGroupUtilityClass","useSlotProps","useClassNamesOverride","jsx","_jsx","jsxs","_jsxs","useUtilityClasses","disabled","slots","root","label","list","OptionGroup","forwardRef","props","forwardedRef","slotProps","other","Root","Label","List","classes","rootProps","elementType","externalSlotProps","externalForwardedProps","additionalProps","ref","ownerState","className","labelProps","listProps","children","process","env","NODE_ENV","propTypes","node","string","bool","shape","oneOfType","func","object"],"sources":["/home/gnx/Desktop/ETB/ETB-FrontEnd/node_modules/@mui/base/OptionGroup/OptionGroup.js"],"sourcesContent":["'use client';\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"disabled\", \"slotProps\", \"slots\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { unstable_composeClasses as composeClasses } from '../composeClasses';\nimport { getOptionGroupUtilityClass } from './optionGroupClasses';\nimport { useSlotProps } from '../utils';\nimport { useClassNamesOverride } from '../utils/ClassNameConfigurator';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nfunction useUtilityClasses(disabled) {\n const slots = {\n root: ['root', disabled && 'disabled'],\n label: ['label'],\n list: ['list']\n };\n return composeClasses(slots, useClassNamesOverride(getOptionGroupUtilityClass));\n}\n\n/**\n * An unstyled option group to be used within a Select.\n *\n * Demos:\n *\n * - [Select](https://mui.com/base-ui/react-select/)\n *\n * API:\n *\n * - [OptionGroup API](https://mui.com/base-ui/react-select/components-api/#option-group)\n */\nconst OptionGroup = /*#__PURE__*/React.forwardRef(function OptionGroup(props, forwardedRef) {\n const {\n disabled = false,\n slotProps = {},\n slots = {}\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const Root = (slots == null ? void 0 : slots.root) || 'li';\n const Label = (slots == null ? void 0 : slots.label) || 'span';\n const List = (slots == null ? void 0 : slots.list) || 'ul';\n const classes = useUtilityClasses(disabled);\n const rootProps = useSlotProps({\n elementType: Root,\n externalSlotProps: slotProps.root,\n externalForwardedProps: other,\n additionalProps: {\n ref: forwardedRef\n },\n ownerState: props,\n className: classes.root\n });\n const labelProps = useSlotProps({\n elementType: Label,\n externalSlotProps: slotProps.label,\n ownerState: props,\n className: classes.label\n });\n const listProps = useSlotProps({\n elementType: List,\n externalSlotProps: slotProps.list,\n ownerState: props,\n className: classes.list\n });\n return /*#__PURE__*/_jsxs(Root, _extends({}, rootProps, {\n children: [/*#__PURE__*/_jsx(Label, _extends({}, labelProps, {\n children: props.label\n })), /*#__PURE__*/_jsx(List, _extends({}, listProps, {\n children: props.children\n }))]\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? OptionGroup.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n children: PropTypes.node,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * If `true` all the options in the group will be disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * The human-readable description of the group.\n */\n label: PropTypes.node,\n /**\n * The props used for each slot inside the Input.\n * @default {}\n */\n slotProps: PropTypes.shape({\n label: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n list: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside the OptionGroup.\n * Either a string to use a HTML element or a component.\n * @default {}\n */\n slots: PropTypes.shape({\n label: PropTypes.elementType,\n list: PropTypes.elementType,\n root: PropTypes.elementType\n })\n} : void 0;\nexport { OptionGroup };"],"mappings":"AAAA,YAAY;;AAEZ,OAAOA,QAAQ,MAAM,oCAAoC;AACzD,OAAOC,6BAA6B,MAAM,yDAAyD;AACnG,MAAMC,SAAS,GAAG,CAAC,UAAU,EAAE,WAAW,EAAE,OAAO,CAAC;AACpD,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,OAAOC,SAAS,MAAM,YAAY;AAClC,SAASC,uBAAuB,IAAIC,cAAc,QAAQ,mBAAmB;AAC7E,SAASC,0BAA0B,QAAQ,sBAAsB;AACjE,SAASC,YAAY,QAAQ,UAAU;AACvC,SAASC,qBAAqB,QAAQ,gCAAgC;AACtE,SAASC,GAAG,IAAIC,IAAI,QAAQ,mBAAmB;AAC/C,SAASC,IAAI,IAAIC,KAAK,QAAQ,mBAAmB;AACjD,SAASC,iBAAiBA,CAACC,QAAQ,EAAE;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