"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "config", {
    enumerable: true,
    get: function() {
        return config;
    }
});
var _emotion = require("@salutejs/plasma-new-hope/emotion");
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-secondary);\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-tertiary);\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-paragraph);\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-positive);\n                ",
        ": var(--on-dark-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-warning);\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-negative);\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                ",
        ": 0.4;\n            "
    ]);
    _templateObject11 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject12() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-accent);\n            "
    ]);
    _templateObject12 = function _templateObject() {
        return data;
    };
    return data;
}
var config = {
    defaults: {
        view: 'accent',
        size: 'm',
        focused: 'true'
    },
    variations: {
        /**
         * Размер контрола.
         */ size: {
            s: (0, _emotion.css)(_templateObject(), _emotion.radioboxTokens.margin, _emotion.radioboxTokens.triggerPadding, _emotion.radioboxTokens.triggerSize, _emotion.radioboxTokens.triggerBorderRadius, _emotion.radioboxTokens.triggerBorderWidth, _emotion.radioboxTokens.ellipseSize, _emotion.radioboxTokens.contentTopOffset, _emotion.radioboxTokens.contentLeftOffset, _emotion.radioboxTokens.descriptionMarginTop, _emotion.radioboxTokens.labelFontFamily, _emotion.radioboxTokens.labelFontSize, _emotion.radioboxTokens.labelFontStyle, _emotion.radioboxTokens.labelFontWeight, _emotion.radioboxTokens.labelLetterSpacing, _emotion.radioboxTokens.labelLineHeight, _emotion.radioboxTokens.descriptionFontFamily, _emotion.radioboxTokens.descriptionFontSize, _emotion.radioboxTokens.descriptionFontStyle, _emotion.radioboxTokens.descriptionFontWeight, _emotion.radioboxTokens.descriptionLetterSpacing, _emotion.radioboxTokens.descriptionLineHeight),
            m: (0, _emotion.css)(_templateObject1(), _emotion.radioboxTokens.margin, _emotion.radioboxTokens.triggerPadding, _emotion.radioboxTokens.triggerSize, _emotion.radioboxTokens.triggerBorderRadius, _emotion.radioboxTokens.triggerBorderWidth, _emotion.radioboxTokens.ellipseSize, _emotion.radioboxTokens.contentTopOffset, _emotion.radioboxTokens.contentLeftOffset, _emotion.radioboxTokens.descriptionMarginTop, _emotion.radioboxTokens.labelFontFamily, _emotion.radioboxTokens.labelFontSize, _emotion.radioboxTokens.labelFontStyle, _emotion.radioboxTokens.labelFontWeight, _emotion.radioboxTokens.labelLetterSpacing, _emotion.radioboxTokens.labelLineHeight, _emotion.radioboxTokens.descriptionFontFamily, _emotion.radioboxTokens.descriptionFontSize, _emotion.radioboxTokens.descriptionFontStyle, _emotion.radioboxTokens.descriptionFontWeight, _emotion.radioboxTokens.descriptionLetterSpacing, _emotion.radioboxTokens.descriptionLineHeight),
            l: (0, _emotion.css)(_templateObject2(), _emotion.radioboxTokens.margin, _emotion.radioboxTokens.triggerPadding, _emotion.radioboxTokens.triggerSize, _emotion.radioboxTokens.triggerBorderRadius, _emotion.radioboxTokens.triggerBorderWidth, _emotion.radioboxTokens.ellipseSize, _emotion.radioboxTokens.contentTopOffset, _emotion.radioboxTokens.contentLeftOffset, _emotion.radioboxTokens.labelFontFamily, _emotion.radioboxTokens.labelFontSize, _emotion.radioboxTokens.labelFontStyle, _emotion.radioboxTokens.labelFontWeight, _emotion.radioboxTokens.labelLetterSpacing, _emotion.radioboxTokens.labelLineHeight, _emotion.radioboxTokens.descriptionFontFamily, _emotion.radioboxTokens.descriptionMarginTop, _emotion.radioboxTokens.descriptionFontSize, _emotion.radioboxTokens.descriptionFontStyle, _emotion.radioboxTokens.descriptionFontWeight, _emotion.radioboxTokens.descriptionLetterSpacing, _emotion.radioboxTokens.descriptionLineHeight)
        },
        /**
         * Вид контрола.
         */ view: {
            accent: (0, _emotion.css)(_templateObject3(), _emotion.radioboxTokens.fillColor, _emotion.radioboxTokens.ellipseColor, _emotion.radioboxTokens.descriptionColor, _emotion.radioboxTokens.triggerBackgroundColor, _emotion.radioboxTokens.triggerBorderColor, _emotion.radioboxTokens.triggerBorderCheckedColor),
            // deprecated
            default: (0, _emotion.css)(_templateObject4(), _emotion.radioboxTokens.fillColor, _emotion.radioboxTokens.ellipseColor, _emotion.radioboxTokens.descriptionColor, _emotion.radioboxTokens.triggerBackgroundColor, _emotion.radioboxTokens.triggerBorderColor, _emotion.radioboxTokens.triggerBorderCheckedColor),
            // deprecated
            secondary: (0, _emotion.css)(_templateObject5(), _emotion.radioboxTokens.fillColor, _emotion.radioboxTokens.ellipseColor, _emotion.radioboxTokens.descriptionColor, _emotion.radioboxTokens.triggerBackgroundColor, _emotion.radioboxTokens.triggerBorderColor, _emotion.radioboxTokens.triggerBorderCheckedColor),
            // deprecated
            tertiary: (0, _emotion.css)(_templateObject6(), _emotion.radioboxTokens.fillColor, _emotion.radioboxTokens.ellipseColor, _emotion.radioboxTokens.descriptionColor, _emotion.radioboxTokens.triggerBackgroundColor, _emotion.radioboxTokens.triggerBorderColor, _emotion.radioboxTokens.triggerBorderCheckedColor),
            // deprecated
            paragraph: (0, _emotion.css)(_templateObject7(), _emotion.radioboxTokens.fillColor, _emotion.radioboxTokens.ellipseColor, _emotion.radioboxTokens.descriptionColor, _emotion.radioboxTokens.triggerBackgroundColor, _emotion.radioboxTokens.triggerBorderColor, _emotion.radioboxTokens.triggerBorderCheckedColor),
            // deprecated
            positive: (0, _emotion.css)(_templateObject8(), _emotion.radioboxTokens.fillColor, _emotion.radioboxTokens.ellipseColor, _emotion.radioboxTokens.descriptionColor, _emotion.radioboxTokens.triggerBackgroundColor, _emotion.radioboxTokens.triggerBorderColor, _emotion.radioboxTokens.triggerBorderCheckedColor),
            // deprecated
            warning: (0, _emotion.css)(_templateObject9(), _emotion.radioboxTokens.fillColor, _emotion.radioboxTokens.ellipseColor, _emotion.radioboxTokens.descriptionColor, _emotion.radioboxTokens.triggerBackgroundColor, _emotion.radioboxTokens.triggerBorderColor, _emotion.radioboxTokens.triggerBorderCheckedColor),
            // deprecated
            negative: (0, _emotion.css)(_templateObject10(), _emotion.radioboxTokens.fillColor, _emotion.radioboxTokens.ellipseColor, _emotion.radioboxTokens.descriptionColor, _emotion.radioboxTokens.triggerBackgroundColor, _emotion.radioboxTokens.triggerBorderColor, _emotion.radioboxTokens.triggerBorderCheckedColor)
        },
        disabled: {
            true: (0, _emotion.css)(_templateObject11(), _emotion.radioboxTokens.disabledOpacity)
        },
        focused: {
            true: (0, _emotion.css)(_templateObject12(), _emotion.radioboxTokens.focusColor)
        }
    }
};
