"use strict";
var __webpack_require__ = {};
(()=>{
    __webpack_require__.n = (module)=>{
        var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
        __webpack_require__.d(getter, {
            a: getter
        });
        return getter;
    };
})();
(()=>{
    __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__, {
    MuiAlert: ()=>MuiAlert
});
const apollo_core_namespaceObject = require("@uipath/apollo-core");
var apollo_core_default = /*#__PURE__*/ __webpack_require__.n(apollo_core_namespaceObject);
const MuiAlert = (palette)=>({
        root: {
            color: palette.semantic.colorForegroundInverse,
            backgroundColor: palette.semantic.colorBackgroundInverse,
            padding: '8px 8px 8px 20px',
            minWidth: '320px',
            alignItems: 'center',
            boxShadow: apollo_core_default().Shadow.ShadowDp8,
            '&.MuiAlert-standardWarning, &.MuiAlert-standardError, &.MuiAlert-standardInfo, &.MuiAlert-standardSuccess': {
                color: palette.semantic.colorForegroundInverse,
                backgroundColor: palette.semantic.colorBackgroundInverse
            },
            '&.MuiAlert-standardWarning > .MuiAlert-icon': {
                color: palette.semantic.colorWarningIconInverse
            },
            '&.MuiAlert-standardInfo > .MuiAlert-icon': {
                color: palette.semantic.colorInfoIconInverse
            },
            '&.MuiAlert-standardError > .MuiAlert-icon': {
                color: palette.semantic.colorErrorIconInverse
            },
            '&.MuiAlert-standardSuccess > .MuiAlert-icon': {
                color: palette.semantic.colorSuccessIconInverse
            },
            '& .MuiAlert-icon': {
                fontSize: '36px',
                padding: 0,
                marginRight: '20px',
                '& .MuiSvgIcon-root': {
                    fontSize: '36px'
                }
            },
            '& .MuiAlert-action': {
                alignItems: 'flex-start',
                paddingLeft: '32px',
                paddingRight: '6px',
                height: '36px',
                marginTop: '-16px',
                '& .MuiSvgIcon-root': {
                    width: '16px',
                    height: '16px',
                    color: palette.semantic.colorIconInvertedDefault
                },
                '& .MuiIconButton-root.MuiIconButton-root:hover': {
                    background: 'none'
                },
                '& .MuiIconButton-root.MuiIconButton-root:focus': {
                    background: 'none'
                },
                '& .MuiIconButton-sizeSmall': {
                    padding: '3px'
                }
            },
            '& .MuiAlert-message': {
                padding: '12px 0 12px 0',
                fontSize: apollo_core_default().FontFamily.FontMSize,
                lineHeight: apollo_core_default().FontFamily.FontMLineHeight,
                fontWeight: 'normal',
                maxWidth: '491px'
            },
            '& .alert-container': {
                display: 'flex',
                flexDirection: 'column'
            },
            '& .alert-bottom-button': {
                background: 'none',
                color: palette.semantic.colorForegroundInverse,
                fontSize: apollo_core_default().FontFamily.FontMSize,
                lineHeight: apollo_core_default().FontFamily.FontMLineHeight,
                borderRadius: 0,
                minWidth: '114px',
                '&.MuifocusVisible': {
                    border: `1px solid ${palette.semantic.colorBorder}`
                }
            },
            '& .alert-top-button': {
                background: 'none',
                color: palette.semantic.colorForegroundInverse,
                fontSize: apollo_core_default().FontFamily.FontMSize,
                lineHeight: apollo_core_default().FontFamily.FontMLineHeight,
                borderRadius: 0,
                borderBottom: `1px solid ${palette.semantic.colorBorderDeEmp}`,
                minWidth: '114px',
                '&.MuifocusVisible': {
                    border: `1px solid ${palette.semantic.colorBorder}`
                }
            },
            '&.toast-buttons': {
                '& .MuiAlert-action': {
                    display: 'flex',
                    flexDirection: 'column',
                    height: '100%',
                    borderLeft: `1px solid ${palette.semantic.colorBorderDeEmp}`,
                    marginBottom: '-8px',
                    marginRight: '-12px',
                    marginTop: '-8px',
                    paddingLeft: 0,
                    marginLeft: '32px'
                }
            }
        }
    });
exports.MuiAlert = __webpack_exports__.MuiAlert;
for(var __rspack_i in __webpack_exports__)if (-1 === [
    "MuiAlert"
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
Object.defineProperty(exports, '__esModule', {
    value: true
});
