"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.useColoredItemStyles = void 0;
var styles_1 = require("@mui/styles");
exports.useColoredItemStyles = (0, styles_1.makeStyles)({
    item: function (_a) {
        var color = _a.color, opacity = _a.opacity, variant = _a.variant;
        return (__assign(__assign(__assign({}, (variant === 'standart' && { backgroundColor: color, paddingRight: '29px' })), (variant === 'disabled' && { border: "".concat(color, " solid 2px") })), { opacity: opacity, filter: opacity && opacity !== 1 ? 'saturate(20%)' : null, transition: 'opacity 0.3s', boxSizing: 'border-box' }));
    },
    endDatedCrosswalkIcon: {
        margin: '0 4px',
        width: '20px',
        height: '20px',
        color: '#ff1744'
    }
});
