"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                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--surface-solid-default);\n\n                ",
        ": var(--text-primary);\n                ",
        ": var(--surface-transparent-secondary);\n\n                ",
        ": var(--text-primary);\n            "
    ]);
    _templateObject = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject1() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--surface-solid-default);\n\n                ",
        ": var(--text-primary);\n                ",
        ": var(--surface-transparent-secondary);\n\n                ",
        ": var(--text-primary);\n            "
    ]);
    _templateObject1 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject2() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--surface-accent);\n\n                ",
        ": var(--text-accent);\n                ",
        ": var(--surface-transparent-accent);\n\n                ",
        ": var(--text-accent);\n            "
    ]);
    _templateObject2 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject3() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--surface-positive);\n\n                ",
        ": var(--text-positive);\n                ",
        ": var(--surface-transparent-positive);\n\n                ",
        ": var(--text-positive);\n            "
    ]);
    _templateObject3 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject4() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--surface-warning);\n\n                ",
        ": var(--text-warning);\n                ",
        ": var(--surface-transparent-warning);\n\n                ",
        ": var(--text-warning);\n            "
    ]);
    _templateObject4 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject5() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--surface-negative);\n\n                ",
        ": var(--text-negative);\n                ",
        ": var(--surface-transparent-negative);\n\n                ",
        ": var(--text-negative);\n            "
    ]);
    _templateObject5 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject6() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-light-surface-solid-default);\n\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-light-surface-transparent-deep);\n\n                ",
        ": var(--on-light-text-primary);\n            "
    ]);
    _templateObject6 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject7() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--on-light-text-primary);\n                ",
        ": var(--on-dark-surface-solid-default);\n\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-dark-surface-transparent-card);\n\n                ",
        ": var(--on-dark-text-primary);\n            "
    ]);
    _templateObject7 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject8() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.5rem;\n                ",
        ": 1.75rem;\n                ",
        ": 0 0.6875rem;\n                ",
        ": 0 0.375rem;\n\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\n                ",
        ": -0.0625rem;\n                ",
        ": 0.25rem;\n\n                ",
        ": 0.25rem;\n                ",
        ": -0.0625rem;\n            "
    ]);
    _templateObject8 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject9() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.375rem;\n                ",
        ": 1.5rem;\n                ",
        ": 0 0.5625rem;\n                ",
        ": 0 0.375rem;\n\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\n                ",
        ": -0.0625rem;\n                ",
        ": 0.1875rem;\n\n                ",
        ": 0.1875rem;\n                ",
        ": -0.0625rem;\n            "
    ]);
    _templateObject9 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject10() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.375rem;\n                ",
        ": 1.25rem;\n                ",
        ": 0 0.4375rem;\n                ",
        ": 0 0.25rem;\n\n                ",
        ": var(--plasma-typo-body-xxs-font-family);\n                ",
        ": var(--plasma-typo-body-xxs-font-size);\n                ",
        ": var(--plasma-typo-body-xxs-font-style);\n                ",
        ": var(--plasma-typo-body-xxs-font-weight);\n                ",
        ": var(--plasma-typo-body-xxs-letter-spacing);\n                ",
        ": var(--plasma-typo-body-xxs-line-height);\n\n                ",
        ": -0.0625rem;\n                ",
        ": 0.125rem;\n\n                ",
        ": 0.125rem;\n                ",
        ": -0.0625rem;\n            "
    ]);
    _templateObject10 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject11() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.25rem;\n                ",
        ": 1rem;\n                ",
        ": 0 0.25rem;\n                ",
        ": 0 0.188rem;\n\n                ",
        ": var(--plasma-typo-body-xxs-font-family);\n                ",
        ": var(--plasma-typo-body-xxs-font-size);\n                ",
        ": var(--plasma-typo-body-xxs-font-style);\n                ",
        ": var(--plasma-typo-body-xxs-font-weight);\n                ",
        ": var(--plasma-typo-body-xxs-letter-spacing);\n                ",
        ": var(--plasma-typo-body-xxs-line-height);\n\n                ",
        ": -0.0625rem;\n                ",
        ": 0.125rem;\n\n                ",
        ": 0.125rem;\n                ",
        ": -0.0625rem;\n            "
    ]);
    _templateObject11 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject12() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 1.25rem;\n            "
    ]);
    _templateObject12 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject13() {
    var data = _tagged_template_literal([
        ""
    ]);
    _templateObject13 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject14() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--surface-clear);\n            "
    ]);
    _templateObject14 = function _templateObject() {
        return data;
    };
    return data;
}
var config = {
    defaults: {
        view: 'default',
        size: 'm'
    },
    variations: {
        view: {
            default: (0, _styledcomponents.css)(_templateObject(), _styledcomponents.badgeTokens.color, _styledcomponents.badgeTokens.background, _styledcomponents.badgeTokens.colorTransparent, _styledcomponents.badgeTokens.backgroundTransparent, _styledcomponents.badgeTokens.colorClear),
            /**
             * @deprecated
             * использовать `default`
             */ primary: (0, _styledcomponents.css)(_templateObject1(), _styledcomponents.badgeTokens.color, _styledcomponents.badgeTokens.background, _styledcomponents.badgeTokens.colorTransparent, _styledcomponents.badgeTokens.backgroundTransparent, _styledcomponents.badgeTokens.colorClear),
            accent: (0, _styledcomponents.css)(_templateObject2(), _styledcomponents.badgeTokens.color, _styledcomponents.badgeTokens.background, _styledcomponents.badgeTokens.colorTransparent, _styledcomponents.badgeTokens.backgroundTransparent, _styledcomponents.badgeTokens.colorClear),
            positive: (0, _styledcomponents.css)(_templateObject3(), _styledcomponents.badgeTokens.color, _styledcomponents.badgeTokens.background, _styledcomponents.badgeTokens.colorTransparent, _styledcomponents.badgeTokens.backgroundTransparent, _styledcomponents.badgeTokens.colorClear),
            warning: (0, _styledcomponents.css)(_templateObject4(), _styledcomponents.badgeTokens.color, _styledcomponents.badgeTokens.background, _styledcomponents.badgeTokens.colorTransparent, _styledcomponents.badgeTokens.backgroundTransparent, _styledcomponents.badgeTokens.colorClear),
            negative: (0, _styledcomponents.css)(_templateObject5(), _styledcomponents.badgeTokens.color, _styledcomponents.badgeTokens.background, _styledcomponents.badgeTokens.colorTransparent, _styledcomponents.badgeTokens.backgroundTransparent, _styledcomponents.badgeTokens.colorClear),
            dark: (0, _styledcomponents.css)(_templateObject6(), _styledcomponents.badgeTokens.color, _styledcomponents.badgeTokens.background, _styledcomponents.badgeTokens.colorTransparent, _styledcomponents.badgeTokens.backgroundTransparent, _styledcomponents.badgeTokens.colorClear),
            light: (0, _styledcomponents.css)(_templateObject7(), _styledcomponents.badgeTokens.color, _styledcomponents.badgeTokens.background, _styledcomponents.badgeTokens.colorTransparent, _styledcomponents.badgeTokens.backgroundTransparent, _styledcomponents.badgeTokens.colorClear)
        },
        size: {
            l: (0, _styledcomponents.css)(_templateObject8(), _styledcomponents.badgeTokens.borderRadius, _styledcomponents.badgeTokens.height, _styledcomponents.badgeTokens.padding, _styledcomponents.badgeTokens.paddingIconOnly, _styledcomponents.badgeTokens.fontFamily, _styledcomponents.badgeTokens.fontSize, _styledcomponents.badgeTokens.fontStyle, _styledcomponents.badgeTokens.fontWeight, _styledcomponents.badgeTokens.letterSpacing, _styledcomponents.badgeTokens.lineHeight, _styledcomponents.badgeTokens.leftContentMarginLeft, _styledcomponents.badgeTokens.leftContentMarginRight, _styledcomponents.badgeTokens.rightContentMarginLeft, _styledcomponents.badgeTokens.rightContentMarginRight),
            m: (0, _styledcomponents.css)(_templateObject9(), _styledcomponents.badgeTokens.borderRadius, _styledcomponents.badgeTokens.height, _styledcomponents.badgeTokens.padding, _styledcomponents.badgeTokens.paddingIconOnly, _styledcomponents.badgeTokens.fontFamily, _styledcomponents.badgeTokens.fontSize, _styledcomponents.badgeTokens.fontStyle, _styledcomponents.badgeTokens.fontWeight, _styledcomponents.badgeTokens.letterSpacing, _styledcomponents.badgeTokens.lineHeight, _styledcomponents.badgeTokens.leftContentMarginLeft, _styledcomponents.badgeTokens.leftContentMarginRight, _styledcomponents.badgeTokens.rightContentMarginLeft, _styledcomponents.badgeTokens.rightContentMarginRight),
            s: (0, _styledcomponents.css)(_templateObject10(), _styledcomponents.badgeTokens.borderRadius, _styledcomponents.badgeTokens.height, _styledcomponents.badgeTokens.padding, _styledcomponents.badgeTokens.paddingIconOnly, _styledcomponents.badgeTokens.fontFamily, _styledcomponents.badgeTokens.fontSize, _styledcomponents.badgeTokens.fontStyle, _styledcomponents.badgeTokens.fontWeight, _styledcomponents.badgeTokens.letterSpacing, _styledcomponents.badgeTokens.lineHeight, _styledcomponents.badgeTokens.leftContentMarginLeft, _styledcomponents.badgeTokens.leftContentMarginRight, _styledcomponents.badgeTokens.rightContentMarginLeft, _styledcomponents.badgeTokens.rightContentMarginRight),
            xs: (0, _styledcomponents.css)(_templateObject11(), _styledcomponents.badgeTokens.borderRadius, _styledcomponents.badgeTokens.height, _styledcomponents.badgeTokens.padding, _styledcomponents.badgeTokens.paddingIconOnly, _styledcomponents.badgeTokens.fontFamily, _styledcomponents.badgeTokens.fontSize, _styledcomponents.badgeTokens.fontStyle, _styledcomponents.badgeTokens.fontWeight, _styledcomponents.badgeTokens.letterSpacing, _styledcomponents.badgeTokens.lineHeight, _styledcomponents.badgeTokens.leftContentMarginLeft, _styledcomponents.badgeTokens.leftContentMarginRight, _styledcomponents.badgeTokens.rightContentMarginLeft, _styledcomponents.badgeTokens.rightContentMarginRight)
        },
        pilled: {
            true: (0, _styledcomponents.css)(_templateObject12(), _styledcomponents.badgeTokens.pilledBorderRadius)
        },
        transparent: {
            true: (0, _styledcomponents.css)(_templateObject13())
        },
        clear: {
            true: (0, _styledcomponents.css)(_templateObject14(), _styledcomponents.badgeTokens.backgroundClear)
        }
    }
};
