"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "mapCheckedVariants", {
    enumerable: true,
    get: function() {
        return mapCheckedVariants;
    }
});
var mapCheckedVariants = function mapCheckedVariants(checkedValue) {
    var multiple = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
    if (checkedValue === true || checkedValue === false) {
        return checkedValue;
    }
    if (!multiple && checkedValue === 'done') {
        return true;
    }
    if (!multiple && checkedValue === 'dot' || multiple && checkedValue === 'indeterminate') {
        return 'indeterminate';
    }
    return false;
};
