"use strict";
var __webpack_require__ = {};
(()=>{
    __webpack_require__.d = (exports1, definition)=>{
        for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
            enumerable: true,
            get: definition[key]
        });
    };
})();
(()=>{
    __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
})();
(()=>{
    __webpack_require__.r = (exports1)=>{
        if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
            value: 'Module'
        });
        Object.defineProperty(exports1, '__esModule', {
            value: true
        });
    };
})();
var __webpack_exports__ = {};
__webpack_require__.r(__webpack_exports__);
__webpack_require__.d(__webpack_exports__, {
    darkOverrides: ()=>darkOverrides,
    darkHighContrastOverrides: ()=>darkHighContrastOverrides,
    lightOverrides: ()=>lightOverrides,
    lightHighContrastOverrides: ()=>lightHighContrastOverrides
});
const apollo_core_namespaceObject = require("@uipath/apollo-core");
const palette_namespaceObject = require("@uipath/apollo-core/tokens/jss/palette");
const external_MuiAccordion_cjs_namespaceObject = require("./MuiAccordion.cjs");
const external_MuiAccordionDetails_cjs_namespaceObject = require("./MuiAccordionDetails.cjs");
const external_MuiAccordionSummary_cjs_namespaceObject = require("./MuiAccordionSummary.cjs");
const external_MuiAlert_cjs_namespaceObject = require("./MuiAlert.cjs");
const external_MuiAutocomplete_cjs_namespaceObject = require("./MuiAutocomplete.cjs");
const external_MuiButton_cjs_namespaceObject = require("./MuiButton.cjs");
const external_MuiButtonBase_cjs_namespaceObject = require("./MuiButtonBase.cjs");
const external_MuiCheckbox_cjs_namespaceObject = require("./MuiCheckbox.cjs");
const external_MuiChip_cjs_namespaceObject = require("./MuiChip.cjs");
const external_MuiCircularProgress_cjs_namespaceObject = require("./MuiCircularProgress.cjs");
const external_MuiDatepicker_cjs_namespaceObject = require("./MuiDatepicker.cjs");
const external_MuiDialog_cjs_namespaceObject = require("./MuiDialog.cjs");
const external_MuiDivider_cjs_namespaceObject = require("./MuiDivider.cjs");
const external_MuiFab_cjs_namespaceObject = require("./MuiFab.cjs");
const external_MuiFormControl_cjs_namespaceObject = require("./MuiFormControl.cjs");
const external_MuiFormControlLabel_cjs_namespaceObject = require("./MuiFormControlLabel.cjs");
const external_MuiFormHelperText_cjs_namespaceObject = require("./MuiFormHelperText.cjs");
const external_MuiFormLabel_cjs_namespaceObject = require("./MuiFormLabel.cjs");
const external_MuiIconButton_cjs_namespaceObject = require("./MuiIconButton.cjs");
const external_MuiInputAdornment_cjs_namespaceObject = require("./MuiInputAdornment.cjs");
const external_MuiInputBase_cjs_namespaceObject = require("./MuiInputBase.cjs");
const external_MuiInputLabel_cjs_namespaceObject = require("./MuiInputLabel.cjs");
const external_MuiLinearProgress_cjs_namespaceObject = require("./MuiLinearProgress.cjs");
const external_MuiLink_cjs_namespaceObject = require("./MuiLink.cjs");
const external_MuiList_cjs_namespaceObject = require("./MuiList.cjs");
const external_MuiListItem_cjs_namespaceObject = require("./MuiListItem.cjs");
const external_MuiListItemButton_cjs_namespaceObject = require("./MuiListItemButton.cjs");
const external_MuiListItemIcon_cjs_namespaceObject = require("./MuiListItemIcon.cjs");
const external_MuiListItemText_cjs_namespaceObject = require("./MuiListItemText.cjs");
const external_MuiMenu_cjs_namespaceObject = require("./MuiMenu.cjs");
const external_MuiMenuItem_cjs_namespaceObject = require("./MuiMenuItem.cjs");
const external_MuiOutlinedInput_cjs_namespaceObject = require("./MuiOutlinedInput.cjs");
const external_MuiRadio_cjs_namespaceObject = require("./MuiRadio.cjs");
const external_MuiSelect_cjs_namespaceObject = require("./MuiSelect.cjs");
const external_MuiSlider_cjs_namespaceObject = require("./MuiSlider.cjs");
const external_MuiSnackbar_cjs_namespaceObject = require("./MuiSnackbar.cjs");
const external_MuiStepper_cjs_namespaceObject = require("./MuiStepper.cjs");
const external_MuiSwitch_cjs_namespaceObject = require("./MuiSwitch.cjs");
const external_MuiTab_cjs_namespaceObject = require("./MuiTab.cjs");
const external_MuiTabs_cjs_namespaceObject = require("./MuiTabs.cjs");
const external_MuiTextField_cjs_namespaceObject = require("./MuiTextField.cjs");
const external_MuiTooltip_cjs_namespaceObject = require("./MuiTooltip.cjs");
const external_MuiTypography_cjs_namespaceObject = require("./MuiTypography.cjs");
const muiComponents = {
    MuiAccordion: external_MuiAccordion_cjs_namespaceObject.MuiAccordion,
    MuiAccordionDetails: external_MuiAccordionDetails_cjs_namespaceObject.MuiAccordionDetails,
    MuiAccordionSummary: external_MuiAccordionSummary_cjs_namespaceObject.MuiAccordionSummary,
    MuiAlert: external_MuiAlert_cjs_namespaceObject.MuiAlert,
    MuiButton: external_MuiButton_cjs_namespaceObject.MuiButton,
    MuiButtonBase: external_MuiButtonBase_cjs_namespaceObject.MuiButtonBase,
    MuiAutocomplete: external_MuiAutocomplete_cjs_namespaceObject.MuiAutocomplete,
    MuiCheckbox: external_MuiCheckbox_cjs_namespaceObject.MuiCheckbox,
    MuiChip: external_MuiChip_cjs_namespaceObject.MuiChip,
    MuiCircularProgress: external_MuiCircularProgress_cjs_namespaceObject.MuiCircularProgress,
    MuiDialog: external_MuiDialog_cjs_namespaceObject.MuiDialog,
    MuiDivider: external_MuiDivider_cjs_namespaceObject.MuiDivider,
    MuiFab: external_MuiFab_cjs_namespaceObject.MuiFab,
    MuiFormControl: external_MuiFormControl_cjs_namespaceObject.MuiFormControl,
    MuiFormControlLabel: external_MuiFormControlLabel_cjs_namespaceObject.MuiFormControlLabel,
    MuiFormHelperText: external_MuiFormHelperText_cjs_namespaceObject.MuiFormHelperText,
    MuiFormLabel: external_MuiFormLabel_cjs_namespaceObject.MuiFormLabel,
    MuiIconButton: external_MuiIconButton_cjs_namespaceObject.MuiIconButton,
    MuiInputAdornment: external_MuiInputAdornment_cjs_namespaceObject.MuiInputAdornment,
    MuiInputBase: external_MuiInputBase_cjs_namespaceObject.MuiInputBase,
    MuiInputLabel: external_MuiInputLabel_cjs_namespaceObject.MuiInputLabel,
    MuiLinearProgress: external_MuiLinearProgress_cjs_namespaceObject.MuiLinearProgress,
    MuiLink: external_MuiLink_cjs_namespaceObject.MuiLink,
    MuiList: external_MuiList_cjs_namespaceObject.MuiList,
    MuiListItem: external_MuiListItem_cjs_namespaceObject.MuiListItem,
    MuiListItemButton: external_MuiListItemButton_cjs_namespaceObject.MuiListItemButton,
    MuiListItemIcon: external_MuiListItemIcon_cjs_namespaceObject.MuiListItemIcon,
    MuiListItemText: external_MuiListItemText_cjs_namespaceObject.MuiListItemText,
    MuiMenu: external_MuiMenu_cjs_namespaceObject.MuiMenu,
    MuiMenuItem: external_MuiMenuItem_cjs_namespaceObject.MuiMenuItem,
    MuiOutlinedInput: external_MuiOutlinedInput_cjs_namespaceObject.MuiOutlinedInput,
    MuiRadio: external_MuiRadio_cjs_namespaceObject.MuiRadio,
    MuiSelect: external_MuiSelect_cjs_namespaceObject.MuiSelect,
    MuiSlider: external_MuiSlider_cjs_namespaceObject.MuiSlider,
    MuiSnackbar: external_MuiSnackbar_cjs_namespaceObject.MuiSnackbar,
    MuiSwitch: external_MuiSwitch_cjs_namespaceObject.MuiSwitch,
    MuiTab: external_MuiTab_cjs_namespaceObject.MuiTab,
    MuiTabs: external_MuiTabs_cjs_namespaceObject.MuiTabs,
    MuiTextField: external_MuiTextField_cjs_namespaceObject.MuiTextField,
    MuiTooltip: external_MuiTooltip_cjs_namespaceObject.MuiTooltip,
    MuiTypography: external_MuiTypography_cjs_namespaceObject.MuiTypography,
    MuiPopper: external_MuiDatepicker_cjs_namespaceObject.MuiDatepicker,
    MuiStepper: external_MuiStepper_cjs_namespaceObject.MuiStepper,
    MuiStep: external_MuiStepper_cjs_namespaceObject.MuiStep
};
const getOverrides = (palette)=>Object.entries(muiComponents).reduce((overrides, [name, muiComponent])=>{
        const componentConfig = muiComponent(palette);
        if (componentConfig && 'object' == typeof componentConfig && 'styleOverrides' in componentConfig) return {
            ...overrides,
            [name]: componentConfig
        };
        return {
            ...overrides,
            [name]: {
                styleOverrides: componentConfig
            }
        };
    }, {});
const lightOverrides = getOverrides(apollo_core_namespaceObject.lightPalette);
const lightHighContrastOverrides = getOverrides(palette_namespaceObject.lightHighContrastPalette);
const darkOverrides = getOverrides(apollo_core_namespaceObject.darkPalette);
const darkHighContrastOverrides = getOverrides(palette_namespaceObject.darkHighContrastPalette);
exports.darkHighContrastOverrides = __webpack_exports__.darkHighContrastOverrides;
exports.darkOverrides = __webpack_exports__.darkOverrides;
exports.lightHighContrastOverrides = __webpack_exports__.lightHighContrastOverrides;
exports.lightOverrides = __webpack_exports__.lightOverrides;
for(var __rspack_i in __webpack_exports__)if (-1 === [
    "darkHighContrastOverrides",
    "darkOverrides",
    "lightHighContrastOverrides",
    "lightOverrides"
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
Object.defineProperty(exports, '__esModule', {
    value: true
});
