"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "config", {
    enumerable: true,
    get: function() {
        return config;
    }
});
const _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
const _sdds_serv = require("@salutejs/sdds-themes/tokens/sdds_serv");
const config = {
    defaults: {
        view: 'default',
        focused: 'true',
        size: 'm'
    },
    variations: {
        view: {
            default: (0, _styledcomponents.css)`
                ${_styledcomponents.chipTokens.color}: ${_sdds_serv.inverseTextPrimary};
                ${_styledcomponents.chipTokens.background}: ${_sdds_serv.surfaceSolidDefault};
                ${_styledcomponents.chipTokens.colorHover}: ${_sdds_serv.inverseTextPrimary};
                ${_styledcomponents.chipTokens.backgroundHover}: ${_sdds_serv.surfaceSolidDefaultHover};
                ${_styledcomponents.chipTokens.colorActive}: ${_sdds_serv.inverseTextPrimary};
                ${_styledcomponents.chipTokens.backgroundActive}: ${_sdds_serv.surfaceSolidDefaultActive};
                ${_styledcomponents.chipTokens.backgroundReadOnly}: ${_sdds_serv.surfaceSolidDefault};
                ${_styledcomponents.chipTokens.colorReadOnly}: ${_sdds_serv.inverseTextPrimary};
                ${_styledcomponents.chipTokens.backgroundReadOnlyHover}: ${_sdds_serv.surfaceSolidDefault};
                ${_styledcomponents.chipTokens.colorReadOnlyHover}: ${_sdds_serv.inverseTextPrimary};
                ${_styledcomponents.chipTokens.closeIconColor}: ${_sdds_serv.inverseTextSecondary};
                ${_styledcomponents.chipTokens.closeIconColorHover}: ${_sdds_serv.inverseTextSecondaryHover};
                ${_styledcomponents.chipTokens.leftContentColor}: ${_sdds_serv.inverseTextPrimary};
            `,
            secondary: (0, _styledcomponents.css)`
                ${_styledcomponents.chipTokens.color}: ${_sdds_serv.textPrimary};
                ${_styledcomponents.chipTokens.background}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_styledcomponents.chipTokens.colorHover}: ${_sdds_serv.textPrimary};
                ${_styledcomponents.chipTokens.backgroundHover}: ${_sdds_serv.surfaceTransparentSecondaryHover};
                ${_styledcomponents.chipTokens.colorActive}: ${_sdds_serv.textPrimary};
                ${_styledcomponents.chipTokens.backgroundActive}: ${_sdds_serv.surfaceTransparentSecondaryActive};
                ${_styledcomponents.chipTokens.backgroundReadOnly}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_styledcomponents.chipTokens.colorReadOnly}: ${_sdds_serv.textPrimary};
                ${_styledcomponents.chipTokens.backgroundReadOnlyHover}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_styledcomponents.chipTokens.colorReadOnlyHover}: ${_sdds_serv.textPrimary};
                ${_styledcomponents.chipTokens.closeIconColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.chipTokens.closeIconColorHover}: ${_sdds_serv.textSecondaryHover};
                ${_styledcomponents.chipTokens.leftContentColor}: ${_sdds_serv.textPrimary};
            `,
            accent: (0, _styledcomponents.css)`
                ${_styledcomponents.chipTokens.color}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.chipTokens.background}: ${_sdds_serv.surfaceAccent};
                ${_styledcomponents.chipTokens.colorHover}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.chipTokens.backgroundHover}: ${_sdds_serv.surfaceAccentHover};
                ${_styledcomponents.chipTokens.colorActive}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.chipTokens.backgroundActive}: ${_sdds_serv.surfaceAccentActive};
                ${_styledcomponents.chipTokens.backgroundReadOnly}: ${_sdds_serv.surfaceAccent};
                ${_styledcomponents.chipTokens.colorReadOnly}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.chipTokens.backgroundReadOnlyHover}: ${_sdds_serv.surfaceAccent};
                ${_styledcomponents.chipTokens.colorReadOnlyHover}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.chipTokens.closeIconColor}: ${_sdds_serv.onDarkTextSecondary};
                ${_styledcomponents.chipTokens.closeIconColorHover}: ${_sdds_serv.onDarkTextSecondaryHover};
                ${_styledcomponents.chipTokens.leftContentColor}: ${_sdds_serv.onDarkTextPrimary};
            `,
            positive: (0, _styledcomponents.css)`
                ${_styledcomponents.chipTokens.color}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.chipTokens.background}: ${_sdds_serv.surfacePositive};
                ${_styledcomponents.chipTokens.colorHover}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.chipTokens.backgroundHover}: ${_sdds_serv.surfacePositiveHover};
                ${_styledcomponents.chipTokens.colorActive}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.chipTokens.backgroundActive}: ${_sdds_serv.surfacePositiveActive};
                ${_styledcomponents.chipTokens.backgroundReadOnly}: ${_sdds_serv.surfacePositive};
                ${_styledcomponents.chipTokens.colorReadOnly}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.chipTokens.backgroundReadOnlyHover}: ${_sdds_serv.surfacePositive};
                ${_styledcomponents.chipTokens.colorReadOnlyHover}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.chipTokens.closeIconColor}: ${_sdds_serv.onDarkTextSecondary};
                ${_styledcomponents.chipTokens.closeIconColorHover}: ${_sdds_serv.onDarkTextSecondaryHover};
                ${_styledcomponents.chipTokens.leftContentColor}: ${_sdds_serv.onDarkTextPrimary};
            `,
            warning: (0, _styledcomponents.css)`
                ${_styledcomponents.chipTokens.color}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.chipTokens.background}: ${_sdds_serv.surfaceWarning};
                ${_styledcomponents.chipTokens.colorHover}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.chipTokens.backgroundHover}: ${_sdds_serv.surfaceWarningHover};
                ${_styledcomponents.chipTokens.colorActive}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.chipTokens.backgroundActive}: ${_sdds_serv.surfaceWarningActive};
                ${_styledcomponents.chipTokens.backgroundReadOnly}: ${_sdds_serv.surfaceWarning};
                ${_styledcomponents.chipTokens.colorReadOnly}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.chipTokens.backgroundReadOnlyHover}: ${_sdds_serv.surfaceWarning};
                ${_styledcomponents.chipTokens.colorReadOnlyHover}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.chipTokens.closeIconColor}: ${_sdds_serv.onDarkTextSecondary};
                ${_styledcomponents.chipTokens.closeIconColorHover}: ${_sdds_serv.onDarkTextSecondaryHover};
                ${_styledcomponents.chipTokens.leftContentColor}: ${_sdds_serv.onDarkTextPrimary};
            `,
            negative: (0, _styledcomponents.css)`
                ${_styledcomponents.chipTokens.color}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.chipTokens.background}: ${_sdds_serv.surfaceNegative};
                ${_styledcomponents.chipTokens.colorHover}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.chipTokens.backgroundHover}: ${_sdds_serv.surfaceNegativeHover};
                ${_styledcomponents.chipTokens.colorActive}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.chipTokens.backgroundActive}: ${_sdds_serv.surfaceNegativeActive};
                ${_styledcomponents.chipTokens.backgroundReadOnly}: ${_sdds_serv.surfaceNegative};
                ${_styledcomponents.chipTokens.colorReadOnly}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.chipTokens.backgroundReadOnlyHover}: ${_sdds_serv.surfaceNegative};
                ${_styledcomponents.chipTokens.colorReadOnlyHover}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.chipTokens.closeIconColor}: ${_sdds_serv.onDarkTextSecondary};
                ${_styledcomponents.chipTokens.closeIconColorHover}: ${_sdds_serv.onDarkTextSecondaryHover};
                ${_styledcomponents.chipTokens.leftContentColor}: ${_sdds_serv.onDarkTextPrimary};
            `
        },
        size: {
            l: (0, _styledcomponents.css)`
                ${_styledcomponents.chipTokens.borderRadius}: 0.75rem;
                ${_styledcomponents.chipTokens.pilledBorderRadius}: 1.5rem;
                ${_styledcomponents.chipTokens.width}: auto;
                ${_styledcomponents.chipTokens.height}: 3rem;
                ${_styledcomponents.chipTokens.padding}: 0 1rem;

                ${_styledcomponents.chipTokens.fontFamily}: ${_sdds_serv.bodyL.fontFamily};
                ${_styledcomponents.chipTokens.fontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_styledcomponents.chipTokens.fontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_styledcomponents.chipTokens.fontWeight}: ${_sdds_serv.bodyL.fontWeight};
                ${_styledcomponents.chipTokens.letterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_styledcomponents.chipTokens.lineHeight}: ${_sdds_serv.bodyL.lineHeight};

                ${_styledcomponents.chipTokens.leftContentMarginLeft}: -0.125rem;
                ${_styledcomponents.chipTokens.leftContentMarginRight}: 0.5rem;
                ${_styledcomponents.chipTokens.rightContentMarginLeft}: 0.5rem;
                ${_styledcomponents.chipTokens.rightContentMarginRight}: -0.125rem;
                ${_styledcomponents.chipTokens.clearContentMarginLeft}: 0.625rem;
                ${_styledcomponents.chipTokens.clearContentMarginRight}: -0.25rem;
                ${_styledcomponents.chipTokens.closeIconSize}: 1.5rem;
            `,
            m: (0, _styledcomponents.css)`
                ${_styledcomponents.chipTokens.borderRadius}: 0.625rem;
                ${_styledcomponents.chipTokens.pilledBorderRadius}: 1.25rem;
                ${_styledcomponents.chipTokens.width}: auto;
                ${_styledcomponents.chipTokens.height}: 2.5rem;
                ${_styledcomponents.chipTokens.padding}: 0 0.875rem;

                ${_styledcomponents.chipTokens.fontFamily}: ${_sdds_serv.bodyM.fontFamily};
                ${_styledcomponents.chipTokens.fontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_styledcomponents.chipTokens.fontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_styledcomponents.chipTokens.fontWeight}: ${_sdds_serv.bodyM.fontWeight};
                ${_styledcomponents.chipTokens.letterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_styledcomponents.chipTokens.lineHeight}: ${_sdds_serv.bodyM.lineHeight};

                ${_styledcomponents.chipTokens.leftContentMarginLeft}: -0.125rem;
                ${_styledcomponents.chipTokens.leftContentMarginRight}: 0.375rem;
                ${_styledcomponents.chipTokens.rightContentMarginLeft}: 0.375rem;
                ${_styledcomponents.chipTokens.rightContentMarginRight}: -0.125rem;
                ${_styledcomponents.chipTokens.clearContentMarginLeft}: 0.5rem;
                ${_styledcomponents.chipTokens.clearContentMarginRight}: -0.25rem;
                ${_styledcomponents.chipTokens.closeIconSize}: 1.25rem;
            `,
            s: (0, _styledcomponents.css)`
                ${_styledcomponents.chipTokens.borderRadius}: 0.5rem;
                ${_styledcomponents.chipTokens.pilledBorderRadius}: 1rem;
                ${_styledcomponents.chipTokens.width}: auto;
                ${_styledcomponents.chipTokens.height}: 2rem;
                ${_styledcomponents.chipTokens.padding}: 0 0.875rem;

                ${_styledcomponents.chipTokens.fontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_styledcomponents.chipTokens.fontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_styledcomponents.chipTokens.fontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_styledcomponents.chipTokens.fontWeight}: ${_sdds_serv.bodyS.fontWeight};
                ${_styledcomponents.chipTokens.letterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_styledcomponents.chipTokens.lineHeight}: ${_sdds_serv.bodyS.lineHeight};

                ${_styledcomponents.chipTokens.leftContentMarginLeft}: -0.125rem;
                ${_styledcomponents.chipTokens.leftContentMarginRight}: 0.25rem;
                ${_styledcomponents.chipTokens.rightContentMarginLeft}: 0.25rem;
                ${_styledcomponents.chipTokens.rightContentMarginRight}: -0.125rem;
                ${_styledcomponents.chipTokens.clearContentMarginLeft}: 0.375rem;
                ${_styledcomponents.chipTokens.clearContentMarginRight}: -0.25rem;
                ${_styledcomponents.chipTokens.closeIconSize}: 1rem;
            `,
            xs: (0, _styledcomponents.css)`
                ${_styledcomponents.chipTokens.borderRadius}: 0.375rem;
                ${_styledcomponents.chipTokens.pilledBorderRadius}: 0.75rem;
                ${_styledcomponents.chipTokens.width}: auto;
                ${_styledcomponents.chipTokens.height}: 1.5rem;
                ${_styledcomponents.chipTokens.padding}: 0 0.625rem;

                ${_styledcomponents.chipTokens.fontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_styledcomponents.chipTokens.fontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_styledcomponents.chipTokens.fontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_styledcomponents.chipTokens.fontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_styledcomponents.chipTokens.letterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_styledcomponents.chipTokens.lineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_styledcomponents.chipTokens.leftContentMarginLeft}: -0.125rem;
                ${_styledcomponents.chipTokens.leftContentMarginRight}: 0.25rem;
                ${_styledcomponents.chipTokens.rightContentMarginLeft}: 0.25rem;
                ${_styledcomponents.chipTokens.rightContentMarginRight}: -0.125rem;
                ${_styledcomponents.chipTokens.clearContentMarginLeft}: 0.25rem;
                ${_styledcomponents.chipTokens.clearContentMarginRight}: -0.25rem;
                ${_styledcomponents.chipTokens.closeIconSize}: 0.75rem;
            `,
            xxs: (0, _styledcomponents.css)`
                ${_styledcomponents.chipTokens.borderRadius}: 0.375rem;
                ${_styledcomponents.chipTokens.pilledBorderRadius}: 0.625rem;
                ${_styledcomponents.chipTokens.width}: auto;
                ${_styledcomponents.chipTokens.height}: 1.25rem;
                ${_styledcomponents.chipTokens.padding}: 0 0.5rem;

                ${_styledcomponents.chipTokens.fontFamily}: ${_sdds_serv.bodyXXS.fontFamily};
                ${_styledcomponents.chipTokens.fontSize}: ${_sdds_serv.bodyXXS.fontSize};
                ${_styledcomponents.chipTokens.fontStyle}: ${_sdds_serv.bodyXXS.fontStyle};
                ${_styledcomponents.chipTokens.fontWeight}: ${_sdds_serv.bodyXXS.fontWeight};
                ${_styledcomponents.chipTokens.letterSpacing}: ${_sdds_serv.bodyXXS.letterSpacing};
                ${_styledcomponents.chipTokens.lineHeight}: ${_sdds_serv.bodyXXS.lineHeight};

                ${_styledcomponents.chipTokens.leftContentMarginLeft}: -0.125rem;
                ${_styledcomponents.chipTokens.leftContentMarginRight}: 0.125rem;
                ${_styledcomponents.chipTokens.rightContentMarginLeft}: 0.125rem;
                ${_styledcomponents.chipTokens.rightContentMarginRight}: -0.125rem;
                ${_styledcomponents.chipTokens.clearContentMarginLeft}: 0.25rem;
                ${_styledcomponents.chipTokens.clearContentMarginRight}: -0.25rem;
                ${_styledcomponents.chipTokens.closeIconSize}: 0.75rem;
            `
        },
        disabled: {
            true: (0, _styledcomponents.css)`
                ${_styledcomponents.chipTokens.disabledOpacity}: 0.4;
            `
        },
        focused: {
            true: (0, _styledcomponents.css)`
                ${_styledcomponents.chipTokens.focusColor}: ${_sdds_serv.textAccent};
            `
        },
        pilled: {
            true: (0, _styledcomponents.css)``
        }
    }
};
