"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__, {
    MuiStepper: ()=>MuiStepper,
    MuiStep: ()=>MuiStep
});
const apollo_core_namespaceObject = require("@uipath/apollo-core");
var apollo_core_default = /*#__PURE__*/ __webpack_require__.n(apollo_core_namespaceObject);
const stepperCircle = {
    originalSize: 24,
    size: 28,
    fontSize: 12,
    scaleFactor: 1
};
stepperCircle.scaleFactor = stepperCircle.size / stepperCircle.originalSize;
const MuiStepper = (palette)=>({
        root: {
            cursor: 'default',
            userSelect: 'none',
            '.MuiStepConnector-line': {
                borderColor: palette.semantic.colorBorderDeEmp
            }
        },
        vertical: {
            '.MuiStepLabel-root': {
                padding: '0px'
            },
            '.MuiStepConnector-root': {
                marginLeft: `${stepperCircle.size / 2}px !important`
            },
            '.MuiStepConnector-line': {
                minHeight: '16px'
            }
        }
    });
const MuiStep = (palette)=>({
        root: {
            '.MuiStepIcon-root': {
                color: palette.semantic.colorForegroundDeEmp,
                fontSize: `${stepperCircle.size}px`,
                '.MuiStepIcon-text': {
                    ...apollo_core_default().Typography.fontSizeSBold,
                    fill: palette.semantic.colorBackgroundDisabled,
                    fontSize: `${stepperCircle.fontSize / stepperCircle.scaleFactor}px`
                },
                '&.Mui-active, &.Mui-completed': {
                    color: palette.semantic.colorPrimary,
                    '.MuiStepIcon-text': {
                        fill: palette.semantic.colorBackground
                    }
                }
            },
            '.MuiStepLabel-iconContainer': {
                paddingRight: '12px'
            },
            '.MuiStepLabel-label': {
                ...apollo_core_default().Typography.fontSizeM,
                color: palette.semantic.colorForegroundEmp,
                '&.Mui-active, &.Mui-completed': {
                    ...apollo_core_default().Typography.fontSizeMBold,
                    color: palette.semantic.colorForegroundEmp
                }
            },
            '.MuiStepButton-root': {
                '&.Mui-disabled': {
                    cursor: 'inherit'
                }
            }
        }
    });
exports.MuiStep = __webpack_exports__.MuiStep;
exports.MuiStepper = __webpack_exports__.MuiStepper;
for(var __rspack_i in __webpack_exports__)if (-1 === [
    "MuiStep",
    "MuiStepper"
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
Object.defineProperty(exports, '__esModule', {
    value: true
});
