"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "config", {
    enumerable: true,
    get: function() {
        return config;
    }
});
var _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
function _tagged_template_literal(strings, raw) {
    if (!raw) {
        raw = strings.slice(0);
    }
    return Object.freeze(Object.defineProperties(strings, {
        raw: {
            value: Object.freeze(raw)
        }
    }));
}
function _templateObject() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0;\n                ",
        ": 0.0625rem 0;\n                ",
        ": 1rem;\n                ",
        ": 1.125rem;\n                ",
        ": 0.125rem;\n                ",
        ": 0.5rem;\n                ",
        ": 0;\n                ",
        ": 0.5rem;\n                ",
        ": 0.125rem;\n                ",
        ": var(--plasma-typo-body-s-font-family);\n                ",
        ": var(--plasma-typo-body-s-font-size);\n                ",
        ": var(--plasma-typo-body-s-font-style);\n                ",
        ": var(--plasma-typo-body-s-font-weight);\n                ",
        ": var(--plasma-typo-body-s-letter-spacing);\n                ",
        ": var(--plasma-typo-body-s-line-height);\n                ",
        ": var(--plasma-typo-body-xs-font-family);\n                ",
        ": var(--plasma-typo-body-xs-font-size);\n                ",
        ": var(--plasma-typo-body-xs-font-style);\n                ",
        ": var(--plasma-typo-body-xs-font-weight);\n                ",
        ": var(--plasma-typo-body-xs-letter-spacing);\n                ",
        ": var(--plasma-typo-body-xs-line-height);\n            "
    ]);
    _templateObject = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject1() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0;\n                ",
        ": 0.0625rem;\n                ",
        ": 1.375rem;\n                ",
        ": 1.125rem;\n                ",
        ": 0.125rem;\n                ",
        ": 0.625rem;\n                ",
        ": 0.125rem;\n                ",
        ": 0.625rem;\n                ",
        ": 0.125rem;\n                ",
        ": var(--plasma-typo-body-m-font-family);\n                ",
        ": var(--plasma-typo-body-m-font-size);\n                ",
        ": var(--plasma-typo-body-m-font-style);\n                ",
        ": var(--plasma-typo-body-m-font-weight);\n                ",
        ": var(--plasma-typo-body-m-letter-spacing);\n                ",
        ": var(--plasma-typo-body-m-line-height);\n                ",
        ": var(--plasma-typo-body-s-font-family);\n                ",
        ": var(--plasma-typo-body-s-font-size);\n                ",
        ": var(--plasma-typo-body-s-font-style);\n                ",
        ": var(--plasma-typo-body-s-font-weight);\n                ",
        ": var(--plasma-typo-body-s-letter-spacing);\n                ",
        ": var(--plasma-typo-body-s-line-height);\n            "
    ]);
    _templateObject1 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject2() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0;\n                ",
        ": 0.0625rem;\n                ",
        ": 1.375rem;\n                ",
        ": 1.125rem;\n                ",
        ": 0.125rem;\n                ",
        ": 0.625rem;\n                ",
        ": 0.0625rem;\n                ",
        ": 0.75rem;\n                ",
        ": var(--plasma-typo-body-l-font-family);\n                ",
        ": var(--plasma-typo-body-l-font-size);\n                ",
        ": var(--plasma-typo-body-l-font-style);\n                ",
        ": var(--plasma-typo-body-l-font-weight);\n                ",
        ": var(--plasma-typo-body-l-letter-spacing);\n                ",
        ": var(--plasma-typo-body-l-line-height);\n                ",
        ": var(--plasma-typo-body-m-font-family);\n                ",
        ": 0.125rem;\n                ",
        ": var(--plasma-typo-body-m-font-size);\n                ",
        ": var(--plasma-typo-body-m-font-style);\n                ",
        ": var(--plasma-typo-body-m-font-weight);\n                ",
        ": var(--plasma-typo-body-m-letter-spacing);\n                ",
        ": var(--plasma-typo-body-m-line-height);\n            "
    ]);
    _templateObject2 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject3() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-accent);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--text-secondary);\n                ",
        ": transparent;\n                ",
        ": var(--text-secondary);\n                ",
        ": transparent;\n            "
    ]);
    _templateObject3 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject4() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-primary);\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--text-secondary);\n                ",
        ": transparent;\n                ",
        ": var(--text-secondary);\n                ",
        ": transparent;\n            "
    ]);
    _templateObject4 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject5() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-primary);\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--text-secondary);\n                ",
        ": transparent;\n                ",
        ": var(--text-secondary);\n                ",
        ": transparent;\n            "
    ]);
    _templateObject5 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject6() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-secondary);\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--text-secondary);\n                ",
        ": transparent;\n                ",
        ": var(--text-secondary);\n                ",
        ": transparent;\n            "
    ]);
    _templateObject6 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject7() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-tertiary);\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--text-secondary);\n                ",
        ": transparent;\n                ",
        ": var(--text-secondary);\n                ",
        ": transparent;\n            "
    ]);
    _templateObject7 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject8() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-paragraph);\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--text-secondary);\n                ",
        ": transparent;\n                ",
        ": var(--text-secondary);\n                ",
        ": transparent;\n            "
    ]);
    _templateObject8 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject9() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-positive);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--text-secondary);\n                ",
        ": transparent;\n                ",
        ": var(--text-secondary);\n                ",
        ": transparent;\n            "
    ]);
    _templateObject9 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject10() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-warning);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--text-secondary);\n                ",
        ": transparent;\n                ",
        ": var(--text-secondary);\n                ",
        ": transparent;\n            "
    ]);
    _templateObject10 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject11() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-negative);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--text-secondary);\n                ",
        ": transparent;\n                ",
        ": var(--text-secondary);\n                ",
        ": transparent;\n            "
    ]);
    _templateObject11 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject12() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.4;\n            "
    ]);
    _templateObject12 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject13() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-accent);\n            "
    ]);
    _templateObject13 = function _templateObject() {
        return data;
    };
    return data;
}
var config = {
    defaults: {
        view: 'accent',
        size: 'm',
        focused: 'true'
    },
    variations: {
        /**
         * Размер контрола.
         */ size: {
            s: (0, _styledcomponents.css)(_templateObject(), _styledcomponents.radioboxTokens.margin, _styledcomponents.radioboxTokens.triggerPadding, _styledcomponents.radioboxTokens.triggerSize, _styledcomponents.radioboxTokens.triggerBorderRadius, _styledcomponents.radioboxTokens.triggerBorderWidth, _styledcomponents.radioboxTokens.ellipseSize, _styledcomponents.radioboxTokens.contentTopOffset, _styledcomponents.radioboxTokens.contentLeftOffset, _styledcomponents.radioboxTokens.descriptionMarginTop, _styledcomponents.radioboxTokens.labelFontFamily, _styledcomponents.radioboxTokens.labelFontSize, _styledcomponents.radioboxTokens.labelFontStyle, _styledcomponents.radioboxTokens.labelFontWeight, _styledcomponents.radioboxTokens.labelLetterSpacing, _styledcomponents.radioboxTokens.labelLineHeight, _styledcomponents.radioboxTokens.descriptionFontFamily, _styledcomponents.radioboxTokens.descriptionFontSize, _styledcomponents.radioboxTokens.descriptionFontStyle, _styledcomponents.radioboxTokens.descriptionFontWeight, _styledcomponents.radioboxTokens.descriptionLetterSpacing, _styledcomponents.radioboxTokens.descriptionLineHeight),
            m: (0, _styledcomponents.css)(_templateObject1(), _styledcomponents.radioboxTokens.margin, _styledcomponents.radioboxTokens.triggerPadding, _styledcomponents.radioboxTokens.triggerSize, _styledcomponents.radioboxTokens.triggerBorderRadius, _styledcomponents.radioboxTokens.triggerBorderWidth, _styledcomponents.radioboxTokens.ellipseSize, _styledcomponents.radioboxTokens.contentTopOffset, _styledcomponents.radioboxTokens.contentLeftOffset, _styledcomponents.radioboxTokens.descriptionMarginTop, _styledcomponents.radioboxTokens.labelFontFamily, _styledcomponents.radioboxTokens.labelFontSize, _styledcomponents.radioboxTokens.labelFontStyle, _styledcomponents.radioboxTokens.labelFontWeight, _styledcomponents.radioboxTokens.labelLetterSpacing, _styledcomponents.radioboxTokens.labelLineHeight, _styledcomponents.radioboxTokens.descriptionFontFamily, _styledcomponents.radioboxTokens.descriptionFontSize, _styledcomponents.radioboxTokens.descriptionFontStyle, _styledcomponents.radioboxTokens.descriptionFontWeight, _styledcomponents.radioboxTokens.descriptionLetterSpacing, _styledcomponents.radioboxTokens.descriptionLineHeight),
            l: (0, _styledcomponents.css)(_templateObject2(), _styledcomponents.radioboxTokens.margin, _styledcomponents.radioboxTokens.triggerPadding, _styledcomponents.radioboxTokens.triggerSize, _styledcomponents.radioboxTokens.triggerBorderRadius, _styledcomponents.radioboxTokens.triggerBorderWidth, _styledcomponents.radioboxTokens.ellipseSize, _styledcomponents.radioboxTokens.contentTopOffset, _styledcomponents.radioboxTokens.contentLeftOffset, _styledcomponents.radioboxTokens.labelFontFamily, _styledcomponents.radioboxTokens.labelFontSize, _styledcomponents.radioboxTokens.labelFontStyle, _styledcomponents.radioboxTokens.labelFontWeight, _styledcomponents.radioboxTokens.labelLetterSpacing, _styledcomponents.radioboxTokens.labelLineHeight, _styledcomponents.radioboxTokens.descriptionFontFamily, _styledcomponents.radioboxTokens.descriptionMarginTop, _styledcomponents.radioboxTokens.descriptionFontSize, _styledcomponents.radioboxTokens.descriptionFontStyle, _styledcomponents.radioboxTokens.descriptionFontWeight, _styledcomponents.radioboxTokens.descriptionLetterSpacing, _styledcomponents.radioboxTokens.descriptionLineHeight)
        },
        /**
         * Вид контрола.
         */ view: {
            accent: (0, _styledcomponents.css)(_templateObject3(), _styledcomponents.radioboxTokens.fillColor, _styledcomponents.radioboxTokens.ellipseColor, _styledcomponents.radioboxTokens.descriptionColor, _styledcomponents.radioboxTokens.triggerBackgroundColor, _styledcomponents.radioboxTokens.triggerBorderColor, _styledcomponents.radioboxTokens.triggerBorderCheckedColor),
            // deprecated
            default: (0, _styledcomponents.css)(_templateObject4(), _styledcomponents.radioboxTokens.fillColor, _styledcomponents.radioboxTokens.ellipseColor, _styledcomponents.radioboxTokens.descriptionColor, _styledcomponents.radioboxTokens.triggerBackgroundColor, _styledcomponents.radioboxTokens.triggerBorderColor, _styledcomponents.radioboxTokens.triggerBorderCheckedColor),
            // deprecated
            primary: (0, _styledcomponents.css)(_templateObject5(), _styledcomponents.radioboxTokens.fillColor, _styledcomponents.radioboxTokens.ellipseColor, _styledcomponents.radioboxTokens.descriptionColor, _styledcomponents.radioboxTokens.triggerBackgroundColor, _styledcomponents.radioboxTokens.triggerBorderColor, _styledcomponents.radioboxTokens.triggerBorderCheckedColor),
            // deprecated
            secondary: (0, _styledcomponents.css)(_templateObject6(), _styledcomponents.radioboxTokens.fillColor, _styledcomponents.radioboxTokens.ellipseColor, _styledcomponents.radioboxTokens.descriptionColor, _styledcomponents.radioboxTokens.triggerBackgroundColor, _styledcomponents.radioboxTokens.triggerBorderColor, _styledcomponents.radioboxTokens.triggerBorderCheckedColor),
            // deprecated
            tertiary: (0, _styledcomponents.css)(_templateObject7(), _styledcomponents.radioboxTokens.fillColor, _styledcomponents.radioboxTokens.ellipseColor, _styledcomponents.radioboxTokens.descriptionColor, _styledcomponents.radioboxTokens.triggerBackgroundColor, _styledcomponents.radioboxTokens.triggerBorderColor, _styledcomponents.radioboxTokens.triggerBorderCheckedColor),
            // deprecated
            paragraph: (0, _styledcomponents.css)(_templateObject8(), _styledcomponents.radioboxTokens.fillColor, _styledcomponents.radioboxTokens.ellipseColor, _styledcomponents.radioboxTokens.descriptionColor, _styledcomponents.radioboxTokens.triggerBackgroundColor, _styledcomponents.radioboxTokens.triggerBorderColor, _styledcomponents.radioboxTokens.triggerBorderCheckedColor),
            // deprecated
            positive: (0, _styledcomponents.css)(_templateObject9(), _styledcomponents.radioboxTokens.fillColor, _styledcomponents.radioboxTokens.ellipseColor, _styledcomponents.radioboxTokens.descriptionColor, _styledcomponents.radioboxTokens.triggerBackgroundColor, _styledcomponents.radioboxTokens.triggerBorderColor, _styledcomponents.radioboxTokens.triggerBorderCheckedColor),
            // deprecated
            warning: (0, _styledcomponents.css)(_templateObject10(), _styledcomponents.radioboxTokens.fillColor, _styledcomponents.radioboxTokens.ellipseColor, _styledcomponents.radioboxTokens.descriptionColor, _styledcomponents.radioboxTokens.triggerBackgroundColor, _styledcomponents.radioboxTokens.triggerBorderColor, _styledcomponents.radioboxTokens.triggerBorderCheckedColor),
            // deprecated
            negative: (0, _styledcomponents.css)(_templateObject11(), _styledcomponents.radioboxTokens.fillColor, _styledcomponents.radioboxTokens.ellipseColor, _styledcomponents.radioboxTokens.descriptionColor, _styledcomponents.radioboxTokens.triggerBackgroundColor, _styledcomponents.radioboxTokens.triggerBorderColor, _styledcomponents.radioboxTokens.triggerBorderCheckedColor)
        },
        disabled: {
            true: (0, _styledcomponents.css)(_templateObject12(), _styledcomponents.radioboxTokens.disabledOpacity)
        },
        focused: {
            true: (0, _styledcomponents.css)(_templateObject13(), _styledcomponents.radioboxTokens.focusColor)
        }
    }
};
