"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                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--surface-solid-default-hover);\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--surface-solid-default-active);\n                ",
        ": var(--surface-solid-default);\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--surface-solid-default);\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--inverse-text-secondary);\n                ",
        ": var(--inverse-text-secondary-hover);\n                ",
        ": var(--inverse-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                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--surface-solid-default-hover);\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--surface-solid-default-active);\n                ",
        ": var(--surface-solid-default);\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--surface-solid-default);\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--inverse-text-secondary);\n                ",
        ": var(--inverse-text-secondary-hover);\n            "
    ]);
    _templateObject1 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject2() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-primary);\n                ",
        ": var(--surface-transparent-secondary);\n                ",
        ": var(--text-primary);\n                ",
        ": var(--surface-transparent-secondary-hover);\n                ",
        ": var(--text-primary);\n                ",
        ": var(--surface-transparent-secondary-active);\n                ",
        ": var(--surface-transparent-secondary);\n                ",
        ": var(--text-primary);\n                ",
        ": var(--surface-transparent-secondary);\n                ",
        ": var(--text-primary);\n                ",
        ": var(--text-secondary);\n                ",
        ": var(--text-secondary-hover);\n                ",
        ": var(--text-primary);\n            "
    ]);
    _templateObject2 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject3() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--surface-accent);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--surface-accent-hover);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--surface-accent-active);\n                ",
        ": var(--surface-accent);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--surface-accent);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-dark-text-secondary);\n                ",
        ": var(--on-dark-text-secondary-hover);\n                ",
        ": var(--on-dark-text-primary);\n            "
    ]);
    _templateObject3 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject4() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--surface-positive);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--surface-positive-hover);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--surface-positive-active);\n                ",
        ": var(--surface-positive);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--surface-positive);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-dark-text-secondary);\n                ",
        ": var(--on-dark-text-secondary-hover);\n                ",
        ": var(--on-dark-text-primary);\n            "
    ]);
    _templateObject4 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject5() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--surface-warning);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--surface-warning-hover);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--surface-warning-active);\n                ",
        ": var(--surface-warning);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--surface-warning);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-dark-text-secondary);\n                ",
        ": var(--on-dark-text-secondary-hover);\n                ",
        ": var(--on-dark-text-primary);\n            "
    ]);
    _templateObject5 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject6() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--surface-negative);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--surface-negative-hover);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--surface-negative-active);\n                ",
        ": var(--surface-negative);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--surface-negative);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-dark-text-secondary);\n                ",
        ": var(--on-dark-text-secondary-hover);\n                ",
        ": var(--on-dark-text-primary);\n            "
    ]);
    _templateObject6 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject7() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.75rem;\n                ",
        ": 1.5rem;\n                ",
        ": auto;\n                ",
        ": 3rem;\n                ",
        ": 0 1rem;\n\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\n                ",
        ": -0.125rem;\n                ",
        ": 0.5rem;\n                ",
        ": 0.5rem;\n                ",
        ": -0.125rem;\n                ",
        ": 0.625rem;\n                ",
        ": -0.25rem;\n                ",
        ": 1.5rem;\n            "
    ]);
    _templateObject7 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject8() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.625rem;\n                ",
        ": 1.25rem;\n                ",
        ": auto;\n                ",
        ": 2.5rem;\n                ",
        ": 0 0.875rem;\n\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\n                ",
        ": -0.125rem;\n                ",
        ": 0.375rem;\n                ",
        ": 0.375rem;\n                ",
        ": -0.125rem;\n                ",
        ": 0.5rem;\n                ",
        ": -0.25rem;\n                ",
        ": 1rem;\n            "
    ]);
    _templateObject8 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject9() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.5rem;\n                ",
        ": 1rem;\n                ",
        ": auto;\n                ",
        ": 2rem;\n                ",
        ": 0 0.875rem;\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.125rem;\n                ",
        ": 0.25rem;\n                ",
        ": 0.25rem;\n                ",
        ": -0.125rem;\n                ",
        ": 0.375rem;\n                ",
        ": -0.25rem;\n                ",
        ": 1rem;\n            "
    ]);
    _templateObject9 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject10() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.375rem;\n                ",
        ": 0.75rem;\n                ",
        ": auto;\n                ",
        ": 1.5rem;\n                ",
        ": 0 0.625rem;\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.125rem;\n                ",
        ": 0.25rem;\n                ",
        ": 0.25rem;\n                ",
        ": -0.125rem;\n                ",
        ": 0.25rem;\n                ",
        ": -0.25rem;\n                ",
        ": 0.75rem;\n            "
    ]);
    _templateObject10 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject11() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.375rem;\n                ",
        ": 0.625rem;\n                ",
        ": auto;\n                ",
        ": 1.25rem;\n                ",
        ": 0 0.5rem;\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.125rem;\n                ",
        ": 0.125rem;\n                ",
        ": 0.125rem;\n                ",
        ": -0.125rem;\n                ",
        ": 0.25rem;\n                ",
        ": -0.25rem;\n                ",
        ": 0.75rem;\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;
}
function _templateObject14() {
    var data = _tagged_template_literal([
        ""
    ]);
    _templateObject14 = function _templateObject() {
        return data;
    };
    return data;
}
var config = {
    defaults: {
        view: 'default',
        focused: 'true',
        size: 'm'
    },
    variations: {
        view: {
            default: (0, _styledcomponents.css)(_templateObject(), _styledcomponents.chipTokens.color, _styledcomponents.chipTokens.background, _styledcomponents.chipTokens.colorHover, _styledcomponents.chipTokens.backgroundHover, _styledcomponents.chipTokens.colorActive, _styledcomponents.chipTokens.backgroundActive, _styledcomponents.chipTokens.backgroundReadOnly, _styledcomponents.chipTokens.colorReadOnly, _styledcomponents.chipTokens.backgroundReadOnlyHover, _styledcomponents.chipTokens.colorReadOnlyHover, _styledcomponents.chipTokens.closeIconColor, _styledcomponents.chipTokens.closeIconColorHover, _styledcomponents.chipTokens.leftContentColor),
            /**
             * @deprecated
             * использовать `default`
             */ primary: (0, _styledcomponents.css)(_templateObject1(), _styledcomponents.chipTokens.color, _styledcomponents.chipTokens.background, _styledcomponents.chipTokens.colorHover, _styledcomponents.chipTokens.backgroundHover, _styledcomponents.chipTokens.colorActive, _styledcomponents.chipTokens.backgroundActive, _styledcomponents.chipTokens.backgroundReadOnly, _styledcomponents.chipTokens.colorReadOnly, _styledcomponents.chipTokens.backgroundReadOnlyHover, _styledcomponents.chipTokens.colorReadOnlyHover, _styledcomponents.chipTokens.closeIconColor, _styledcomponents.chipTokens.closeIconColorHover),
            secondary: (0, _styledcomponents.css)(_templateObject2(), _styledcomponents.chipTokens.color, _styledcomponents.chipTokens.background, _styledcomponents.chipTokens.colorHover, _styledcomponents.chipTokens.backgroundHover, _styledcomponents.chipTokens.colorActive, _styledcomponents.chipTokens.backgroundActive, _styledcomponents.chipTokens.backgroundReadOnly, _styledcomponents.chipTokens.colorReadOnly, _styledcomponents.chipTokens.backgroundReadOnlyHover, _styledcomponents.chipTokens.colorReadOnlyHover, _styledcomponents.chipTokens.closeIconColor, _styledcomponents.chipTokens.closeIconColorHover, _styledcomponents.chipTokens.leftContentColor),
            accent: (0, _styledcomponents.css)(_templateObject3(), _styledcomponents.chipTokens.color, _styledcomponents.chipTokens.background, _styledcomponents.chipTokens.colorHover, _styledcomponents.chipTokens.backgroundHover, _styledcomponents.chipTokens.colorActive, _styledcomponents.chipTokens.backgroundActive, _styledcomponents.chipTokens.backgroundReadOnly, _styledcomponents.chipTokens.colorReadOnly, _styledcomponents.chipTokens.backgroundReadOnlyHover, _styledcomponents.chipTokens.colorReadOnlyHover, _styledcomponents.chipTokens.closeIconColor, _styledcomponents.chipTokens.closeIconColorHover, _styledcomponents.chipTokens.leftContentColor),
            positive: (0, _styledcomponents.css)(_templateObject4(), _styledcomponents.chipTokens.color, _styledcomponents.chipTokens.background, _styledcomponents.chipTokens.colorHover, _styledcomponents.chipTokens.backgroundHover, _styledcomponents.chipTokens.colorActive, _styledcomponents.chipTokens.backgroundActive, _styledcomponents.chipTokens.backgroundReadOnly, _styledcomponents.chipTokens.colorReadOnly, _styledcomponents.chipTokens.backgroundReadOnlyHover, _styledcomponents.chipTokens.colorReadOnlyHover, _styledcomponents.chipTokens.closeIconColor, _styledcomponents.chipTokens.closeIconColorHover, _styledcomponents.chipTokens.leftContentColor),
            warning: (0, _styledcomponents.css)(_templateObject5(), _styledcomponents.chipTokens.color, _styledcomponents.chipTokens.background, _styledcomponents.chipTokens.colorHover, _styledcomponents.chipTokens.backgroundHover, _styledcomponents.chipTokens.colorActive, _styledcomponents.chipTokens.backgroundActive, _styledcomponents.chipTokens.backgroundReadOnly, _styledcomponents.chipTokens.colorReadOnly, _styledcomponents.chipTokens.backgroundReadOnlyHover, _styledcomponents.chipTokens.colorReadOnlyHover, _styledcomponents.chipTokens.closeIconColor, _styledcomponents.chipTokens.closeIconColorHover, _styledcomponents.chipTokens.leftContentColor),
            negative: (0, _styledcomponents.css)(_templateObject6(), _styledcomponents.chipTokens.color, _styledcomponents.chipTokens.background, _styledcomponents.chipTokens.colorHover, _styledcomponents.chipTokens.backgroundHover, _styledcomponents.chipTokens.colorActive, _styledcomponents.chipTokens.backgroundActive, _styledcomponents.chipTokens.backgroundReadOnly, _styledcomponents.chipTokens.colorReadOnly, _styledcomponents.chipTokens.backgroundReadOnlyHover, _styledcomponents.chipTokens.colorReadOnlyHover, _styledcomponents.chipTokens.closeIconColor, _styledcomponents.chipTokens.closeIconColorHover, _styledcomponents.chipTokens.leftContentColor)
        },
        size: {
            l: (0, _styledcomponents.css)(_templateObject7(), _styledcomponents.chipTokens.borderRadius, _styledcomponents.chipTokens.pilledBorderRadius, _styledcomponents.chipTokens.width, _styledcomponents.chipTokens.height, _styledcomponents.chipTokens.padding, _styledcomponents.chipTokens.fontFamily, _styledcomponents.chipTokens.fontSize, _styledcomponents.chipTokens.fontStyle, _styledcomponents.chipTokens.fontWeight, _styledcomponents.chipTokens.letterSpacing, _styledcomponents.chipTokens.lineHeight, _styledcomponents.chipTokens.leftContentMarginLeft, _styledcomponents.chipTokens.leftContentMarginRight, _styledcomponents.chipTokens.rightContentMarginLeft, _styledcomponents.chipTokens.rightContentMarginRight, _styledcomponents.chipTokens.clearContentMarginLeft, _styledcomponents.chipTokens.clearContentMarginRight, _styledcomponents.chipTokens.closeIconSize),
            m: (0, _styledcomponents.css)(_templateObject8(), _styledcomponents.chipTokens.borderRadius, _styledcomponents.chipTokens.pilledBorderRadius, _styledcomponents.chipTokens.width, _styledcomponents.chipTokens.height, _styledcomponents.chipTokens.padding, _styledcomponents.chipTokens.fontFamily, _styledcomponents.chipTokens.fontSize, _styledcomponents.chipTokens.fontStyle, _styledcomponents.chipTokens.fontWeight, _styledcomponents.chipTokens.letterSpacing, _styledcomponents.chipTokens.lineHeight, _styledcomponents.chipTokens.leftContentMarginLeft, _styledcomponents.chipTokens.leftContentMarginRight, _styledcomponents.chipTokens.rightContentMarginLeft, _styledcomponents.chipTokens.rightContentMarginRight, _styledcomponents.chipTokens.clearContentMarginLeft, _styledcomponents.chipTokens.clearContentMarginRight, _styledcomponents.chipTokens.closeIconSize),
            s: (0, _styledcomponents.css)(_templateObject9(), _styledcomponents.chipTokens.borderRadius, _styledcomponents.chipTokens.pilledBorderRadius, _styledcomponents.chipTokens.width, _styledcomponents.chipTokens.height, _styledcomponents.chipTokens.padding, _styledcomponents.chipTokens.fontFamily, _styledcomponents.chipTokens.fontSize, _styledcomponents.chipTokens.fontStyle, _styledcomponents.chipTokens.fontWeight, _styledcomponents.chipTokens.letterSpacing, _styledcomponents.chipTokens.lineHeight, _styledcomponents.chipTokens.leftContentMarginLeft, _styledcomponents.chipTokens.leftContentMarginRight, _styledcomponents.chipTokens.rightContentMarginLeft, _styledcomponents.chipTokens.rightContentMarginRight, _styledcomponents.chipTokens.clearContentMarginLeft, _styledcomponents.chipTokens.clearContentMarginRight, _styledcomponents.chipTokens.closeIconSize),
            xs: (0, _styledcomponents.css)(_templateObject10(), _styledcomponents.chipTokens.borderRadius, _styledcomponents.chipTokens.pilledBorderRadius, _styledcomponents.chipTokens.width, _styledcomponents.chipTokens.height, _styledcomponents.chipTokens.padding, _styledcomponents.chipTokens.fontFamily, _styledcomponents.chipTokens.fontSize, _styledcomponents.chipTokens.fontStyle, _styledcomponents.chipTokens.fontWeight, _styledcomponents.chipTokens.letterSpacing, _styledcomponents.chipTokens.lineHeight, _styledcomponents.chipTokens.leftContentMarginLeft, _styledcomponents.chipTokens.leftContentMarginRight, _styledcomponents.chipTokens.rightContentMarginLeft, _styledcomponents.chipTokens.rightContentMarginRight, _styledcomponents.chipTokens.clearContentMarginLeft, _styledcomponents.chipTokens.clearContentMarginRight, _styledcomponents.chipTokens.closeIconSize),
            xxs: (0, _styledcomponents.css)(_templateObject11(), _styledcomponents.chipTokens.borderRadius, _styledcomponents.chipTokens.pilledBorderRadius, _styledcomponents.chipTokens.width, _styledcomponents.chipTokens.height, _styledcomponents.chipTokens.padding, _styledcomponents.chipTokens.fontFamily, _styledcomponents.chipTokens.fontSize, _styledcomponents.chipTokens.fontStyle, _styledcomponents.chipTokens.fontWeight, _styledcomponents.chipTokens.letterSpacing, _styledcomponents.chipTokens.lineHeight, _styledcomponents.chipTokens.leftContentMarginLeft, _styledcomponents.chipTokens.leftContentMarginRight, _styledcomponents.chipTokens.rightContentMarginLeft, _styledcomponents.chipTokens.rightContentMarginRight, _styledcomponents.chipTokens.clearContentMarginLeft, _styledcomponents.chipTokens.clearContentMarginRight, _styledcomponents.chipTokens.closeIconSize)
        },
        disabled: {
            true: (0, _styledcomponents.css)(_templateObject12(), _styledcomponents.chipTokens.disabledOpacity)
        },
        focused: {
            true: (0, _styledcomponents.css)(_templateObject13(), _styledcomponents.chipTokens.focusColor)
        },
        pilled: {
            true: (0, _styledcomponents.css)(_templateObject14())
        }
    }
};
