"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                ",
        ": 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(--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            "
    ]);
    _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                ",
        ": 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            "
    ]);
    _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                ",
        ": 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            "
    ]);
    _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                ",
        ": 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            "
    ]);
    _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                ",
        ": 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            "
    ]);
    _templateObject5 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject6() {
    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            "
    ]);
    _templateObject6 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject7() {
    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                ",
        ": 1.25rem;\n            "
    ]);
    _templateObject7 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject8() {
    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            "
    ]);
    _templateObject8 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject9() {
    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            "
    ]);
    _templateObject9 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject10() {
    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            "
    ]);
    _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;
}
function _templateObject13() {
    var data = _tagged_template_literal([
        ""
    ]);
    _templateObject13 = function _templateObject() {
        return data;
    };
    return data;
}
var config = {
    defaults: {
        view: 'default',
        focused: 'true',
        size: 'm'
    },
    variations: {
        view: {
            default: (0, _emotion.css)(_templateObject(), _emotion.chipTokens.color, _emotion.chipTokens.background, _emotion.chipTokens.colorHover, _emotion.chipTokens.backgroundHover, _emotion.chipTokens.colorActive, _emotion.chipTokens.backgroundActive, _emotion.chipTokens.backgroundReadOnly, _emotion.chipTokens.colorReadOnly, _emotion.chipTokens.backgroundReadOnlyHover, _emotion.chipTokens.colorReadOnlyHover, _emotion.chipTokens.closeIconColor, _emotion.chipTokens.closeIconColorHover, _emotion.chipTokens.leftContentColor),
            secondary: (0, _emotion.css)(_templateObject1(), _emotion.chipTokens.color, _emotion.chipTokens.background, _emotion.chipTokens.colorHover, _emotion.chipTokens.backgroundHover, _emotion.chipTokens.colorActive, _emotion.chipTokens.backgroundActive, _emotion.chipTokens.backgroundReadOnly, _emotion.chipTokens.colorReadOnly, _emotion.chipTokens.backgroundReadOnlyHover, _emotion.chipTokens.colorReadOnlyHover, _emotion.chipTokens.closeIconColor, _emotion.chipTokens.closeIconColorHover, _emotion.chipTokens.leftContentColor),
            accent: (0, _emotion.css)(_templateObject2(), _emotion.chipTokens.color, _emotion.chipTokens.background, _emotion.chipTokens.colorHover, _emotion.chipTokens.backgroundHover, _emotion.chipTokens.colorActive, _emotion.chipTokens.backgroundActive, _emotion.chipTokens.backgroundReadOnly, _emotion.chipTokens.colorReadOnly, _emotion.chipTokens.backgroundReadOnlyHover, _emotion.chipTokens.colorReadOnlyHover, _emotion.chipTokens.closeIconColor, _emotion.chipTokens.closeIconColorHover, _emotion.chipTokens.leftContentColor),
            positive: (0, _emotion.css)(_templateObject3(), _emotion.chipTokens.color, _emotion.chipTokens.background, _emotion.chipTokens.colorHover, _emotion.chipTokens.backgroundHover, _emotion.chipTokens.colorActive, _emotion.chipTokens.backgroundActive, _emotion.chipTokens.backgroundReadOnly, _emotion.chipTokens.colorReadOnly, _emotion.chipTokens.backgroundReadOnlyHover, _emotion.chipTokens.colorReadOnlyHover, _emotion.chipTokens.closeIconColor, _emotion.chipTokens.closeIconColorHover, _emotion.chipTokens.leftContentColor),
            warning: (0, _emotion.css)(_templateObject4(), _emotion.chipTokens.color, _emotion.chipTokens.background, _emotion.chipTokens.colorHover, _emotion.chipTokens.backgroundHover, _emotion.chipTokens.colorActive, _emotion.chipTokens.backgroundActive, _emotion.chipTokens.backgroundReadOnly, _emotion.chipTokens.colorReadOnly, _emotion.chipTokens.backgroundReadOnlyHover, _emotion.chipTokens.colorReadOnlyHover, _emotion.chipTokens.closeIconColor, _emotion.chipTokens.closeIconColorHover, _emotion.chipTokens.leftContentColor),
            negative: (0, _emotion.css)(_templateObject5(), _emotion.chipTokens.color, _emotion.chipTokens.background, _emotion.chipTokens.colorHover, _emotion.chipTokens.backgroundHover, _emotion.chipTokens.colorActive, _emotion.chipTokens.backgroundActive, _emotion.chipTokens.backgroundReadOnly, _emotion.chipTokens.colorReadOnly, _emotion.chipTokens.backgroundReadOnlyHover, _emotion.chipTokens.colorReadOnlyHover, _emotion.chipTokens.closeIconColor, _emotion.chipTokens.closeIconColorHover, _emotion.chipTokens.leftContentColor)
        },
        size: {
            l: (0, _emotion.css)(_templateObject6(), _emotion.chipTokens.borderRadius, _emotion.chipTokens.pilledBorderRadius, _emotion.chipTokens.width, _emotion.chipTokens.height, _emotion.chipTokens.padding, _emotion.chipTokens.fontFamily, _emotion.chipTokens.fontSize, _emotion.chipTokens.fontStyle, _emotion.chipTokens.fontWeight, _emotion.chipTokens.letterSpacing, _emotion.chipTokens.lineHeight, _emotion.chipTokens.leftContentMarginLeft, _emotion.chipTokens.leftContentMarginRight, _emotion.chipTokens.rightContentMarginLeft, _emotion.chipTokens.rightContentMarginRight, _emotion.chipTokens.clearContentMarginLeft, _emotion.chipTokens.clearContentMarginRight, _emotion.chipTokens.closeIconSize),
            m: (0, _emotion.css)(_templateObject7(), _emotion.chipTokens.borderRadius, _emotion.chipTokens.pilledBorderRadius, _emotion.chipTokens.width, _emotion.chipTokens.height, _emotion.chipTokens.padding, _emotion.chipTokens.fontFamily, _emotion.chipTokens.fontSize, _emotion.chipTokens.fontStyle, _emotion.chipTokens.fontWeight, _emotion.chipTokens.letterSpacing, _emotion.chipTokens.lineHeight, _emotion.chipTokens.leftContentMarginLeft, _emotion.chipTokens.leftContentMarginRight, _emotion.chipTokens.rightContentMarginLeft, _emotion.chipTokens.rightContentMarginRight, _emotion.chipTokens.clearContentMarginLeft, _emotion.chipTokens.clearContentMarginRight, _emotion.chipTokens.closeIconSize),
            s: (0, _emotion.css)(_templateObject8(), _emotion.chipTokens.borderRadius, _emotion.chipTokens.pilledBorderRadius, _emotion.chipTokens.width, _emotion.chipTokens.height, _emotion.chipTokens.padding, _emotion.chipTokens.fontFamily, _emotion.chipTokens.fontSize, _emotion.chipTokens.fontStyle, _emotion.chipTokens.fontWeight, _emotion.chipTokens.letterSpacing, _emotion.chipTokens.lineHeight, _emotion.chipTokens.leftContentMarginLeft, _emotion.chipTokens.leftContentMarginRight, _emotion.chipTokens.rightContentMarginLeft, _emotion.chipTokens.rightContentMarginRight, _emotion.chipTokens.clearContentMarginLeft, _emotion.chipTokens.clearContentMarginRight, _emotion.chipTokens.closeIconSize),
            xs: (0, _emotion.css)(_templateObject9(), _emotion.chipTokens.borderRadius, _emotion.chipTokens.pilledBorderRadius, _emotion.chipTokens.width, _emotion.chipTokens.height, _emotion.chipTokens.padding, _emotion.chipTokens.fontFamily, _emotion.chipTokens.fontSize, _emotion.chipTokens.fontStyle, _emotion.chipTokens.fontWeight, _emotion.chipTokens.letterSpacing, _emotion.chipTokens.lineHeight, _emotion.chipTokens.leftContentMarginLeft, _emotion.chipTokens.leftContentMarginRight, _emotion.chipTokens.rightContentMarginLeft, _emotion.chipTokens.rightContentMarginRight, _emotion.chipTokens.clearContentMarginLeft, _emotion.chipTokens.clearContentMarginRight, _emotion.chipTokens.closeIconSize),
            xxs: (0, _emotion.css)(_templateObject10(), _emotion.chipTokens.borderRadius, _emotion.chipTokens.pilledBorderRadius, _emotion.chipTokens.width, _emotion.chipTokens.height, _emotion.chipTokens.padding, _emotion.chipTokens.fontFamily, _emotion.chipTokens.fontSize, _emotion.chipTokens.fontStyle, _emotion.chipTokens.fontWeight, _emotion.chipTokens.letterSpacing, _emotion.chipTokens.lineHeight, _emotion.chipTokens.leftContentMarginLeft, _emotion.chipTokens.leftContentMarginRight, _emotion.chipTokens.rightContentMarginLeft, _emotion.chipTokens.rightContentMarginRight, _emotion.chipTokens.clearContentMarginLeft, _emotion.chipTokens.clearContentMarginRight, _emotion.chipTokens.closeIconSize)
        },
        disabled: {
            true: (0, _emotion.css)(_templateObject11(), _emotion.chipTokens.disabledOpacity)
        },
        focused: {
            true: (0, _emotion.css)(_templateObject12(), _emotion.chipTokens.focusColor)
        },
        pilled: {
            true: (0, _emotion.css)(_templateObject13())
        }
    }
};
