"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "config", {
    enumerable: true,
    get: function() {
        return config;
    }
});
const _emotion = require("@salutejs/plasma-new-hope/emotion");
const _sdds_serv = require("@salutejs/sdds-themes/tokens/sdds_serv");
const config = {
    defaults: {
        view: 'default',
        size: 'm'
    },
    variations: {
        view: {
            default: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonIconColor}: ${_sdds_serv.textPrimary};
                ${_emotion.linkButtonTokens.linkButtonTextColor}: ${_sdds_serv.textPrimary};
                ${_emotion.linkButtonTokens.linkButtonBackgroundColor}: ${_sdds_serv.surfaceClear};
                ${_emotion.linkButtonTokens.linkButtonIconColorHover}: ${_sdds_serv.textPrimaryHover};
                ${_emotion.linkButtonTokens.linkButtonIconColorActive}: ${_sdds_serv.textPrimaryActive};
                ${_emotion.linkButtonTokens.linkButtonFocusColor}: ${_sdds_serv.surfaceAccent};
                ${_emotion.linkButtonTokens.linkButtonTextColorHover}: ${_sdds_serv.textPrimaryHover};
                ${_emotion.linkButtonTokens.linkButtonTextColorActive}: ${_sdds_serv.textPrimaryActive};
            `,
            accent: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonIconColor}: ${_sdds_serv.textAccent};
                ${_emotion.linkButtonTokens.linkButtonTextColor}: ${_sdds_serv.textAccent};
                ${_emotion.linkButtonTokens.linkButtonBackgroundColor}: ${_sdds_serv.surfaceClear};
                ${_emotion.linkButtonTokens.linkButtonIconColorHover}: ${_sdds_serv.textAccentHover};
                ${_emotion.linkButtonTokens.linkButtonIconColorActive}: ${_sdds_serv.textAccentActive};
                ${_emotion.linkButtonTokens.linkButtonFocusColor}: ${_sdds_serv.surfaceAccent};
                ${_emotion.linkButtonTokens.linkButtonTextColorHover}: ${_sdds_serv.textAccentHover};
                ${_emotion.linkButtonTokens.linkButtonTextColorActive}: ${_sdds_serv.textAccentActive};
            `,
            secondary: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonIconColor}: ${_sdds_serv.textSecondary};
                ${_emotion.linkButtonTokens.linkButtonTextColor}: ${_sdds_serv.textSecondary};
                ${_emotion.linkButtonTokens.linkButtonBackgroundColor}: ${_sdds_serv.surfaceClear};
                ${_emotion.linkButtonTokens.linkButtonIconColorHover}: ${_sdds_serv.textSecondaryHover};
                ${_emotion.linkButtonTokens.linkButtonIconColorActive}: ${_sdds_serv.textSecondaryActive};
                ${_emotion.linkButtonTokens.linkButtonFocusColor}: ${_sdds_serv.surfaceAccent};
                ${_emotion.linkButtonTokens.linkButtonTextColorHover}: ${_sdds_serv.textSecondaryHover};
                ${_emotion.linkButtonTokens.linkButtonTextColorActive}: ${_sdds_serv.textSecondaryActive};
            `,
            positive: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonIconColor}: ${_sdds_serv.textPositive};
                ${_emotion.linkButtonTokens.linkButtonTextColor}: ${_sdds_serv.textPositive};
                ${_emotion.linkButtonTokens.linkButtonBackgroundColor}: ${_sdds_serv.surfaceClear};
                ${_emotion.linkButtonTokens.linkButtonIconColorHover}: ${_sdds_serv.textPositiveHover};
                ${_emotion.linkButtonTokens.linkButtonIconColorActive}: ${_sdds_serv.textPositiveActive};
                ${_emotion.linkButtonTokens.linkButtonFocusColor}: ${_sdds_serv.surfaceAccent};
                ${_emotion.linkButtonTokens.linkButtonTextColorHover}: ${_sdds_serv.textPositiveHover};
                ${_emotion.linkButtonTokens.linkButtonTextColorActive}: ${_sdds_serv.textPositiveActive};
            `,
            warning: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonIconColor}: ${_sdds_serv.textWarning};
                ${_emotion.linkButtonTokens.linkButtonTextColor}: ${_sdds_serv.textWarning};
                ${_emotion.linkButtonTokens.linkButtonBackgroundColor}: ${_sdds_serv.surfaceClear};
                ${_emotion.linkButtonTokens.linkButtonIconColorHover}: ${_sdds_serv.textWarningHover};
                ${_emotion.linkButtonTokens.linkButtonIconColorActive}: ${_sdds_serv.textWarningActive};
                ${_emotion.linkButtonTokens.linkButtonFocusColor}: ${_sdds_serv.surfaceAccent};
                ${_emotion.linkButtonTokens.linkButtonTextColorHover}: ${_sdds_serv.textWarningHover};
                ${_emotion.linkButtonTokens.linkButtonTextColorActive}: ${_sdds_serv.textWarningActive};
            `,
            negative: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonIconColor}: ${_sdds_serv.textNegative};
                ${_emotion.linkButtonTokens.linkButtonTextColor}: ${_sdds_serv.textNegative};
                ${_emotion.linkButtonTokens.linkButtonBackgroundColor}: ${_sdds_serv.surfaceClear};
                ${_emotion.linkButtonTokens.linkButtonIconColorHover}: ${_sdds_serv.textNegativeHover};
                ${_emotion.linkButtonTokens.linkButtonIconColorActive}: ${_sdds_serv.textNegativeActive};
                ${_emotion.linkButtonTokens.linkButtonFocusColor}: ${_sdds_serv.surfaceAccent};
                ${_emotion.linkButtonTokens.linkButtonTextColorHover}: ${_sdds_serv.textNegativeHover};
                ${_emotion.linkButtonTokens.linkButtonTextColorActive}: ${_sdds_serv.textNegativeActive};
            `,
            info: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonIconColor}: ${_sdds_serv.textInfo};
                ${_emotion.linkButtonTokens.linkButtonTextColor}: ${_sdds_serv.textInfo};
                ${_emotion.linkButtonTokens.linkButtonBackgroundColor}: ${_sdds_serv.surfaceClear};
                ${_emotion.linkButtonTokens.linkButtonIconColorHover}: ${_sdds_serv.textInfoHover};
                ${_emotion.linkButtonTokens.linkButtonIconColorActive}: ${_sdds_serv.textInfoActive};
                ${_emotion.linkButtonTokens.linkButtonFocusColor}: ${_sdds_serv.surfaceAccent};
                ${_emotion.linkButtonTokens.linkButtonTextColorHover}: ${_sdds_serv.textInfoHover};
                ${_emotion.linkButtonTokens.linkButtonTextColorActive}: ${_sdds_serv.textInfoActive};
            `
        },
        size: {
            xl: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonHeight}: 4rem;
                ${_emotion.linkButtonTokens.linkButtonPadding}: 1.25rem 0;
                ${_emotion.linkButtonTokens.linkButtonRadius}: 1rem;
                ${_emotion.linkButtonTokens.linkButtonFontFamily}: ${_sdds_serv.bodyL.fontFamily};
                ${_emotion.linkButtonTokens.linkButtonFontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_emotion.linkButtonTokens.linkButtonFontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_emotion.linkButtonTokens.linkButtonFontWeight}: ${_sdds_serv.bodyLBold.fontWeight};
                ${_emotion.linkButtonTokens.linkButtonLetterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_emotion.linkButtonTokens.linkButtonLineHeight}: ${_sdds_serv.bodyL.lineHeight};

                ${_emotion.linkButtonTokens.linkButtonSpinnerSize}: 1.5rem;
                ${_emotion.linkButtonTokens.linkButtonSpinnerColor}: inherit;

                ${_emotion.linkButtonTokens.linkButtonTextPadding}: 0.063rem 0;
                ${_emotion.linkButtonTokens.linkButtonLeftContentMargin}: 0 0.5rem 0 0;
                ${_emotion.linkButtonTokens.linkButtonRightContentMargin}: 0 0 0 0.5rem;
                ${_emotion.linkButtonTokens.linkButtonAdditionalContentMargin}: 0 0 0 0.5rem;
            `,
            l: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonHeight}: 3.5rem;
                ${_emotion.linkButtonTokens.linkButtonPadding}: 1rem 0;
                ${_emotion.linkButtonTokens.linkButtonRadius}: 0.875rem;
                ${_emotion.linkButtonTokens.linkButtonFontFamily}: ${_sdds_serv.bodyL.fontFamily};
                ${_emotion.linkButtonTokens.linkButtonFontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_emotion.linkButtonTokens.linkButtonFontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_emotion.linkButtonTokens.linkButtonFontWeight}: ${_sdds_serv.bodyLBold.fontWeight};
                ${_emotion.linkButtonTokens.linkButtonLetterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_emotion.linkButtonTokens.linkButtonLineHeight}: ${_sdds_serv.bodyL.lineHeight};

                ${_emotion.linkButtonTokens.linkButtonSpinnerSize}: 1.375rem;
                ${_emotion.linkButtonTokens.linkButtonSpinnerColor}: inherit;

                ${_emotion.linkButtonTokens.linkButtonTextPadding}: 0.063rem 0;
                ${_emotion.linkButtonTokens.linkButtonLeftContentMargin}: 0 0.5rem 0 0;
                ${_emotion.linkButtonTokens.linkButtonRightContentMargin}: 0 0 0 0.5rem;
                ${_emotion.linkButtonTokens.linkButtonAdditionalContentMargin}: 0 0 0 0.5rem;
            `,
            m: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonHeight}: 3rem;
                ${_emotion.linkButtonTokens.linkButtonPadding}: 0.75rem 0;
                ${_emotion.linkButtonTokens.linkButtonRadius}: 0.75rem;
                ${_emotion.linkButtonTokens.linkButtonFontFamily}: ${_sdds_serv.bodyM.fontFamily};
                ${_emotion.linkButtonTokens.linkButtonFontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_emotion.linkButtonTokens.linkButtonFontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_emotion.linkButtonTokens.linkButtonFontWeight}: ${_sdds_serv.bodyMBold.fontWeight};
                ${_emotion.linkButtonTokens.linkButtonLetterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_emotion.linkButtonTokens.linkButtonLineHeight}: ${_sdds_serv.bodyM.lineHeight};

                ${_emotion.linkButtonTokens.linkButtonSpinnerSize}: 1.375rem;
                ${_emotion.linkButtonTokens.linkButtonSpinnerColor}: inherit;

                ${_emotion.linkButtonTokens.linkButtonTextPadding}: 0.125rem 0;
                ${_emotion.linkButtonTokens.linkButtonLeftContentMargin}: 0 0.375rem 0 0;
                ${_emotion.linkButtonTokens.linkButtonRightContentMargin}: 0 0 0 0.375rem;
                ${_emotion.linkButtonTokens.linkButtonAdditionalContentMargin}: 0 0 0 0.375rem;
            `,
            s: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonHeight}: 2.5rem;
                ${_emotion.linkButtonTokens.linkButtonPadding}: 0.5rem 0;
                ${_emotion.linkButtonTokens.linkButtonRadius}: 0.625rem;
                ${_emotion.linkButtonTokens.linkButtonFontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_emotion.linkButtonTokens.linkButtonFontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_emotion.linkButtonTokens.linkButtonFontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_emotion.linkButtonTokens.linkButtonFontWeight}: ${_sdds_serv.bodySBold.fontWeight};
                ${_emotion.linkButtonTokens.linkButtonLetterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_emotion.linkButtonTokens.linkButtonLineHeight}: ${_sdds_serv.bodyS.lineHeight};

                ${_emotion.linkButtonTokens.linkButtonSpinnerSize}: 1.375rem;
                ${_emotion.linkButtonTokens.linkButtonSpinnerColor}: inherit;

                ${_emotion.linkButtonTokens.linkButtonTextPadding}: 0.063rem 0;
                ${_emotion.linkButtonTokens.linkButtonLeftContentMargin}: 0 0.25rem 0 0;
                ${_emotion.linkButtonTokens.linkButtonRightContentMargin}: 0 0 0 0.25rem;
                ${_emotion.linkButtonTokens.linkButtonAdditionalContentMargin}: 0 0 0 0.25rem;
            `,
            xs: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonHeight}: 2rem;
                ${_emotion.linkButtonTokens.linkButtonPadding}: 0.5rem 0;
                ${_emotion.linkButtonTokens.linkButtonRadius}: 0.5rem;
                ${_emotion.linkButtonTokens.linkButtonFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_emotion.linkButtonTokens.linkButtonFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_emotion.linkButtonTokens.linkButtonFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_emotion.linkButtonTokens.linkButtonFontWeight}: ${_sdds_serv.bodyXSBold.fontWeight};
                ${_emotion.linkButtonTokens.linkButtonLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_emotion.linkButtonTokens.linkButtonLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_emotion.linkButtonTokens.linkButtonSpinnerSize}: 1rem;
                ${_emotion.linkButtonTokens.linkButtonSpinnerColor}: inherit;

                ${_emotion.linkButtonTokens.linkButtonTextPadding}: 0.063rem 0;
                ${_emotion.linkButtonTokens.linkButtonLeftContentMargin}: 0 0.25rem 0 0;
                ${_emotion.linkButtonTokens.linkButtonRightContentMargin}: 0 0 0 0.25rem;
                ${_emotion.linkButtonTokens.linkButtonAdditionalContentMargin}: 0 0 0 0.25rem;
            `,
            xxs: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonHeight}: 1.5rem;
                ${_emotion.linkButtonTokens.linkButtonPadding}: 0.375rem 0;
                ${_emotion.linkButtonTokens.linkButtonRadius}: 0.375rem;
                ${_emotion.linkButtonTokens.linkButtonFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_emotion.linkButtonTokens.linkButtonFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_emotion.linkButtonTokens.linkButtonFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_emotion.linkButtonTokens.linkButtonFontWeight}: ${_sdds_serv.bodyXSBold.fontWeight};
                ${_emotion.linkButtonTokens.linkButtonLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_emotion.linkButtonTokens.linkButtonLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_emotion.linkButtonTokens.linkButtonSpinnerSize}: 0.75rem;
                ${_emotion.linkButtonTokens.linkButtonSpinnerColor}: inherit;

                ${_emotion.linkButtonTokens.linkButtonLeftContentMargin}: 0.063rem 0.25rem 0.063rem 0;
                ${_emotion.linkButtonTokens.linkButtonRightContentMargin}: 0.063rem 0 0.063rem 0.25rem;
                ${_emotion.linkButtonTokens.linkButtonAdditionalContentMargin}: 0 0 0 0.25rem;
            `
        },
        disabled: {
            true: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonDisabledOpacity}: 0.4;
            `
        }
    }
};
