"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: 'clear',
        viewCurrentPage: 'secondary',
        size: 'xs'
    },
    variations: {
        view: {
            default: (0, _emotion.css)`
                ${_emotion.paginationTokens.buttonColor}: ${_sdds_serv.inverseTextPrimary};
                ${_emotion.paginationTokens.buttonColorHover}: ${_sdds_serv.inverseTextPrimaryHover};
                ${_emotion.paginationTokens.buttonColorActive}: ${_sdds_serv.inverseTextPrimaryActive};
                ${_emotion.paginationTokens.buttonHoverColor}: ${_sdds_serv.inverseTextPrimary};
                ${_emotion.paginationTokens.buttonBackgroundColor}: ${_sdds_serv.surfaceSolidDefault};
                ${_emotion.paginationTokens.buttonBackgroundColorHover}: ${_sdds_serv.surfaceSolidDefaultHover};
                ${_emotion.paginationTokens.buttonBackgroundColorActive}: ${_sdds_serv.surfaceSolidDefaultActive};
                ${_emotion.paginationTokens.buttonActiveColor}: ${_sdds_serv.inverseTextPrimary};
                ${_emotion.paginationTokens.buttonArrowColor}: ${_sdds_serv.inverseTextSecondary};
                ${_emotion.paginationTokens.buttonArrowColorHover}: ${_sdds_serv.inverseTextSecondaryHover};
                ${_emotion.paginationTokens.buttonArrowColorActive}: ${_sdds_serv.inverseTextSecondaryHover};

                ${_emotion.paginationTokens.buttonDisabledOpacity}: 0.4;

                ${_emotion.paginationTokens.inputBackgroundColor}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_emotion.paginationTokens.inputBorderColor}:transparent;
                ${_emotion.paginationTokens.selectBackgroundColor}: color-mix(
                    in srgb,
                    ${_sdds_serv.inverseTextPrimary},
                    ${_sdds_serv.surfaceSolidDefault} 85%
                );

                ${_emotion.paginationTokens.paginationColor}: ${_sdds_serv.textPrimary};
                ${_emotion.paginationTokens.paginationHelperTextColor}: ${_sdds_serv.textSecondary};
                ${_emotion.paginationTokens.buttonFocusColor}: ${_sdds_serv.surfaceAccent};
            `,
            secondary: (0, _emotion.css)`
                ${_emotion.paginationTokens.buttonColor}: ${_sdds_serv.textPrimary};
                ${_emotion.paginationTokens.buttonColorHover}: ${_sdds_serv.textPrimaryHover};
                ${_emotion.paginationTokens.buttonColorActive}: ${_sdds_serv.textPrimaryActive};
                ${_emotion.paginationTokens.buttonBackgroundColor}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_emotion.paginationTokens.buttonBackgroundColorHover}: ${_sdds_serv.surfaceTransparentSecondaryHover};
                ${_emotion.paginationTokens.buttonBackgroundColorActive}: ${_sdds_serv.surfaceTransparentSecondaryActive};
                ${_emotion.paginationTokens.buttonHoverColor}: ${_sdds_serv.textPrimary};
                ${_emotion.paginationTokens.buttonActiveColor}: ${_sdds_serv.textPrimary};
                ${_emotion.paginationTokens.buttonArrowColor}: ${_sdds_serv.textSecondary};
                ${_emotion.paginationTokens.buttonArrowColorHover}: ${_sdds_serv.textSecondaryHover};
                ${_emotion.paginationTokens.buttonArrowColorActive}: ${_sdds_serv.textSecondaryHover};

                ${_emotion.paginationTokens.buttonDisabledOpacity}: 0.4;

                ${_emotion.paginationTokens.inputBackgroundColor}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_emotion.paginationTokens.selectBackgroundColor}: ${_sdds_serv.surfaceSolidSecondary};
                ${_emotion.paginationTokens.inputBorderColor}: transparent;

                ${_emotion.paginationTokens.paginationColor}: ${_sdds_serv.textPrimary};
                ${_emotion.paginationTokens.paginationHelperTextColor}: ${_sdds_serv.textSecondary};
                ${_emotion.paginationTokens.buttonFocusColor}: ${_sdds_serv.surfaceAccent};
            `,
            clear: (0, _emotion.css)`
                ${_emotion.paginationTokens.buttonColor}: ${_sdds_serv.textPrimary};
                ${_emotion.paginationTokens.buttonColorHover}: ${_sdds_serv.textPrimaryHover};
                ${_emotion.paginationTokens.buttonColorActive}: ${_sdds_serv.textPrimaryActive};
                ${_emotion.paginationTokens.buttonBackgroundColor}: ${_sdds_serv.surfaceClear};
                ${_emotion.paginationTokens.buttonBackgroundColorHover}: ${_sdds_serv.surfaceClear};
                ${_emotion.paginationTokens.buttonBackgroundColorActive}: ${_sdds_serv.surfaceClear};
                ${_emotion.paginationTokens.buttonHoverColor}: ${_sdds_serv.textPrimary};
                ${_emotion.paginationTokens.buttonActiveColor}: ${_sdds_serv.textPrimary};
                ${_emotion.paginationTokens.buttonArrowColor}: ${_sdds_serv.textSecondary};
                ${_emotion.paginationTokens.buttonArrowColorHover}: ${_sdds_serv.textSecondaryHover};
                ${_emotion.paginationTokens.buttonArrowColorActive}: ${_sdds_serv.textSecondaryHover};

                ${_emotion.paginationTokens.buttonDisabledOpacity}: 0.4;

                ${_emotion.paginationTokens.inputBackgroundColor}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_emotion.paginationTokens.selectBackgroundColor}: ${_sdds_serv.surfaceSolidCard};
                ${_emotion.paginationTokens.inputBorderColor}: transparent;

                ${_emotion.paginationTokens.paginationColor}: ${_sdds_serv.textPrimary};
                ${_emotion.paginationTokens.paginationHelperTextColor}: ${_sdds_serv.textSecondary};
                ${_emotion.paginationTokens.buttonFocusColor}: ${_sdds_serv.surfaceAccent};
            `
        },
        viewCurrentPage: {
            default: (0, _emotion.css)`
                ${_emotion.paginationTokens.paginationCurrentButtonColor}: ${_sdds_serv.inverseTextPrimary};
                ${_emotion.paginationTokens.paginationCurrentButtonBackgroundColor}: ${_sdds_serv.surfaceSolidDefault};
                ${_emotion.paginationTokens.paginationCurrentButtonHoverColor}: ${_sdds_serv.inverseTextPrimary};
                ${_emotion.paginationTokens.paginationCurrentButtonHoverBackgroundColor}: color-mix(
                    in srgb,
                    ${_sdds_serv.inverseTextPrimary},
                    ${_sdds_serv.surfaceSolidDefault} 85%
                );
                ${_emotion.paginationTokens.paginationCurrentButtonActiveColor}: ${_sdds_serv.inverseTextPrimary};
                ${_emotion.paginationTokens.paginationCurrentButtonActiveBackgroundColor}: color-mix(
                    in srgb,
                    ${_sdds_serv.inverseTextPrimary},
                    ${_sdds_serv.surfaceSolidDefault} 80%
                );
            `,
            secondary: (0, _emotion.css)`
                ${_emotion.paginationTokens.paginationCurrentButtonColor}: ${_sdds_serv.textPrimary};
                ${_emotion.paginationTokens.paginationCurrentButtonBackgroundColor}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_emotion.paginationTokens.paginationCurrentButtonHoverColor}: ${_sdds_serv.textPrimary};
                ${_emotion.paginationTokens.paginationCurrentButtonHoverBackgroundColor}: color-mix(
                    in srgb,
                    ${_sdds_serv.inverseTextPrimary},
                    ${_sdds_serv.surfaceTransparentSecondary} 85%
                );
                ${_emotion.paginationTokens.paginationCurrentButtonActiveColor}: ${_sdds_serv.textPrimary};
                ${_emotion.paginationTokens.paginationCurrentButtonActiveBackgroundColor}: color-mix(
                    in srgb,
                    ${_sdds_serv.inverseTextPrimary},
                    ${_sdds_serv.surfaceTransparentSecondary} 80%
                );
            `,
            clear: (0, _emotion.css)`
                ${_emotion.paginationTokens.paginationCurrentButtonColor}: ${_sdds_serv.textPrimary};
                ${_emotion.paginationTokens.paginationCurrentButtonBackgroundColor}: ${_sdds_serv.surfaceClear};
                ${_emotion.paginationTokens.paginationCurrentButtonHoverColor}: ${_sdds_serv.textPrimary};
                ${_emotion.paginationTokens.paginationCurrentButtonHoverBackgroundColor}: color-mix(in srgb, ${_sdds_serv.textPrimary}, ${_sdds_serv.surfaceClear} 95%);
                ${_emotion.paginationTokens.paginationCurrentButtonActiveColor}: ${_sdds_serv.textPrimary};
                ${_emotion.paginationTokens.paginationCurrentButtonActiveBackgroundColor}: color-mix(in srgb, ${_sdds_serv.textPrimary}, ${_sdds_serv.surfaceClear} 90%);
            `
        },
        size: {
            l: (0, _emotion.css)`
                ${_emotion.paginationTokens.paginationFontFamily}: ${_sdds_serv.bodyL.fontFamily};
                ${_emotion.paginationTokens.paginationFontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_emotion.paginationTokens.paginationFontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_emotion.paginationTokens.paginationFontWeight}: ${_sdds_serv.bodyLBold.fontWeight};
                ${_emotion.paginationTokens.paginationLetterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_emotion.paginationTokens.paginationLineHeight}: ${_sdds_serv.bodyL.lineHeight};

                ${_emotion.paginationTokens.buttonHeight}: 3.5rem;
                ${_emotion.paginationTokens.buttonWidth}: 3rem;
                ${_emotion.paginationTokens.buttonWidthShorter}: 2.25rem;
                ${_emotion.paginationTokens.paginationInputWidth}: 4rem;
                ${_emotion.paginationTokens.buttonRadius}: 0.875rem;
                ${_emotion.paginationTokens.paginationIconSize}: 1.2rem;
                ${_emotion.paginationTokens.paginationIconDoubleSize}: 1.45rem;
                ${_emotion.paginationTokens.buttonArrowMargin}: 0 -0.125rem 0 0.5rem;

                ${_emotion.paginationTokens.selectHeight}: auto;
                ${_emotion.paginationTokens.selectPaddingTop}: 0.125rem;
                ${_emotion.paginationTokens.selectPaddingRight}: 0.125rem;
                ${_emotion.paginationTokens.selectPaddingBottom}: 0.125rem;
                ${_emotion.paginationTokens.selectPaddingLeft}: 0.125rem;

                ${_emotion.paginationTokens.selectItemHeight}: 1.5rem;
                ${_emotion.paginationTokens.selectItemPadding}: 1rem 1rem 1rem 1rem;
                ${_emotion.paginationTokens.selectItemContentLeftWidth}: 1.875rem;
                ${_emotion.paginationTokens.selectItemBackground}: transparent;

                ${_emotion.paginationTokens.selectTargetArrowRight}: 1rem;
                ${_emotion.paginationTokens.selectTargetPadding}: 1.5rem 0 1.5rem;
                ${_emotion.paginationTokens.selectTargetInnerTop}: 0.5rem;
                ${_emotion.paginationTokens.selectTargetLabelInnerTop}: 0.375rem;

                ${_emotion.paginationTokens.inputBorderRadius}: 0.875rem;
                ${_emotion.paginationTokens.inputWidth}: 4rem;
                ${_emotion.paginationTokens.inputHeight}: 3.5rem;
                ${_emotion.paginationTokens.inputPadding}: 0 0.625rem;
                ${_emotion.paginationTokens.inputBorderWidth}: 0.0625rem;

                ${_emotion.paginationTokens.paginationHelperTextGap}: 0.5rem 2.5rem;
            `,
            m: (0, _emotion.css)`
                ${_emotion.paginationTokens.paginationFontFamily}: ${_sdds_serv.bodyM.fontFamily};
                ${_emotion.paginationTokens.paginationFontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_emotion.paginationTokens.paginationFontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_emotion.paginationTokens.paginationFontWeight}: ${_sdds_serv.bodyMBold.fontWeight};
                ${_emotion.paginationTokens.paginationLetterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_emotion.paginationTokens.paginationLineHeight}: ${_sdds_serv.bodyM.lineHeight};

                ${_emotion.paginationTokens.buttonHeight}: 3rem;
                ${_emotion.paginationTokens.buttonWidth}: 3rem;
                ${_emotion.paginationTokens.buttonWidthShorter}: 2rem;
                ${_emotion.paginationTokens.paginationInputWidth}: 3.5rem;
                ${_emotion.paginationTokens.buttonRadius}: 0.75rem;
                ${_emotion.paginationTokens.paginationIconSize}: 1.05rem;
                ${_emotion.paginationTokens.paginationIconDoubleSize}: 1.3rem;
                ${_emotion.paginationTokens.buttonArrowMargin}: 0 -0.125rem 0 0.375rem;

                ${_emotion.paginationTokens.selectHeight}: auto;
                ${_emotion.paginationTokens.selectPaddingTop}: 0.125rem;
                ${_emotion.paginationTokens.selectPaddingRight}: 0.125rem;
                ${_emotion.paginationTokens.selectPaddingBottom}: 0.125rem;
                ${_emotion.paginationTokens.selectPaddingLeft}: 0.125rem;

                ${_emotion.paginationTokens.selectItemHeight}: 1.5rem;
                ${_emotion.paginationTokens.selectItemPadding}: 0.75rem 0.75rem 0.75rem 0.75rem;
                ${_emotion.paginationTokens.selectItemContentLeftWidth}: 1.75rem;
                ${_emotion.paginationTokens.selectItemBackground}: transparent;

                ${_emotion.paginationTokens.selectTargetArrowRight}: 0.875rem;
                ${_emotion.paginationTokens.selectTargetPadding}: 1.25rem 0 1.25rem;
                ${_emotion.paginationTokens.selectTargetInnerTop}: 0.5rem;
                ${_emotion.paginationTokens.selectTargetLabelInnerTop}: 0.375rem;

                ${_emotion.paginationTokens.inputBorderRadius}: 0.75rem;
                ${_emotion.paginationTokens.inputWidth}: 3.5rem;
                ${_emotion.paginationTokens.inputHeight}: 3rem;
                ${_emotion.paginationTokens.inputPadding}: 0 0.625rem;
                ${_emotion.paginationTokens.inputBorderWidth}: 0.0625rem;

                ${_emotion.paginationTokens.paginationHelperTextGap}: 0.5rem 2.5rem;
            `,
            s: (0, _emotion.css)`
                ${_emotion.paginationTokens.paginationFontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_emotion.paginationTokens.paginationFontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_emotion.paginationTokens.paginationFontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_emotion.paginationTokens.paginationFontWeight}: ${_sdds_serv.bodySBold.fontWeight};
                ${_emotion.paginationTokens.paginationLetterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_emotion.paginationTokens.paginationLineHeight}: ${_sdds_serv.bodyS.lineHeight};

                ${_emotion.paginationTokens.buttonHeight}: 2.5rem;
                ${_emotion.paginationTokens.buttonWidth}: 2.5rem;
                ${_emotion.paginationTokens.buttonWidthShorter}: 1.75rem;
                ${_emotion.paginationTokens.paginationInputWidth}: 3rem;
                ${_emotion.paginationTokens.buttonRadius}: 0.625rem;
                ${_emotion.paginationTokens.paginationIconSize}: 0.9rem;
                ${_emotion.paginationTokens.paginationIconDoubleSize}: 1.15rem;
                ${_emotion.paginationTokens.buttonArrowMargin}: 0 -0.125rem 0 0.25rem;

                ${_emotion.paginationTokens.selectHeight}: auto;
                ${_emotion.paginationTokens.selectPaddingTop}: 0.125rem;
                ${_emotion.paginationTokens.selectPaddingRight}: 0.125rem;
                ${_emotion.paginationTokens.selectPaddingBottom}: 0.125rem;
                ${_emotion.paginationTokens.selectPaddingLeft}: 0.125rem;

                ${_emotion.paginationTokens.selectItemHeight}: 1.5rem;
                ${_emotion.paginationTokens.selectItemPadding}: 0.5rem 0.75rem 0.5rem 0.75rem;
                ${_emotion.paginationTokens.selectItemContentLeftWidth}: 1.75rem;
                ${_emotion.paginationTokens.selectItemBackground}: transparent;

                ${_emotion.paginationTokens.selectTargetArrowRight}: 0.75rem;
                ${_emotion.paginationTokens.selectTargetPadding}: 1rem 0 1rem;
                ${_emotion.paginationTokens.selectTargetInnerTop}: 0.5rem;
                ${_emotion.paginationTokens.selectTargetLabelInnerTop}: 0.375rem;

                ${_emotion.paginationTokens.inputBorderRadius}: 0.625rem;
                ${_emotion.paginationTokens.inputWidth}: 3rem;
                ${_emotion.paginationTokens.inputHeight}: 2.5rem;
                ${_emotion.paginationTokens.inputPadding}: 0 0.625rem;
                ${_emotion.paginationTokens.inputBorderWidth}: 0.0625rem;

                ${_emotion.paginationTokens.paginationHelperTextGap}: 0.5rem 2.5rem;
            `,
            xs: (0, _emotion.css)`
                ${_emotion.paginationTokens.paginationFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_emotion.paginationTokens.paginationFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_emotion.paginationTokens.paginationFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_emotion.paginationTokens.paginationFontWeight}: ${_sdds_serv.bodyXSBold.fontWeight};
                ${_emotion.paginationTokens.paginationLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_emotion.paginationTokens.paginationLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_emotion.paginationTokens.buttonHeight}: 2rem;
                ${_emotion.paginationTokens.paginationInputWidth}: 2.5rem;
                ${_emotion.paginationTokens.buttonRadius}: 0.5rem;
                ${_emotion.paginationTokens.buttonWidth}: 2rem;
                ${_emotion.paginationTokens.buttonWidthShorter}: 1.5rem;
                ${_emotion.paginationTokens.paginationIconSize}: 0.75rem;
                ${_emotion.paginationTokens.paginationIconDoubleSize}: 1rem;
                ${_emotion.paginationTokens.buttonArrowMargin}: 0 -0.125rem 0 0.25rem;

                ${_emotion.paginationTokens.selectHeight}: auto;
                ${_emotion.paginationTokens.selectPaddingTop}: 0.125rem;
                ${_emotion.paginationTokens.selectPaddingRight}: 0.125rem;
                ${_emotion.paginationTokens.selectPaddingBottom}: 0.125rem;
                ${_emotion.paginationTokens.selectPaddingLeft}: 0.125rem;

                ${_emotion.paginationTokens.selectItemHeight}: 1rem;
                ${_emotion.paginationTokens.selectItemPadding}: 0.5rem 0.5rem 0.5rem 0.5rem;
                ${_emotion.paginationTokens.selectItemContentLeftWidth}: 1.25rem;
                ${_emotion.paginationTokens.selectItemBackground}: transparent;

                ${_emotion.paginationTokens.selectTargetArrowRight}: 0.5rem;
                ${_emotion.paginationTokens.selectTargetPadding}: 0.75rem 0 0.75rem;
                ${_emotion.paginationTokens.selectTargetInnerTop}: 0.5rem;
                ${_emotion.paginationTokens.selectTargetLabelInnerTop}: 0.375rem;

                ${_emotion.paginationTokens.inputBorderRadius}: 0.5rem;
                ${_emotion.paginationTokens.inputWidth}: 2.5rem;
                ${_emotion.paginationTokens.inputHeight}: 2rem;
                ${_emotion.paginationTokens.inputPadding}: 0 0.625rem;
                ${_emotion.paginationTokens.inputBorderWidth}: 0.0625rem;

                ${_emotion.paginationTokens.paginationHelperTextGap}: 0.5rem 2.5rem;
            `
        },
        type: {
            compact: (0, _emotion.css)``,
            default: (0, _emotion.css)``
        }
    }
};
