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

                ${_styledcomponents.paginationTokens.buttonDisabledOpacity}: 0.4;

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

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

                ${_styledcomponents.paginationTokens.buttonDisabledOpacity}: 0.4;

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

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

                ${_styledcomponents.paginationTokens.buttonDisabledOpacity}: 0.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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