"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',
        size: 'm',
        pointerSize: 'small'
    },
    variations: {
        view: {
            default: (0, _styledcomponents.css)`
                ${_styledcomponents.sliderTokens.labelColor}: ${_sdds_serv.textPrimary};

                ${_styledcomponents.sliderTokens.rangeValueColor}: ${_sdds_serv.textSecondary};

                ${_styledcomponents.sliderTokens.thumbBorderColor}: ${_sdds_serv.surfaceSolidTertiary};
                ${_styledcomponents.sliderTokens.thumbBackgroundColor}: ${_sdds_serv.onLightSurfaceSolidCard};
                ${_styledcomponents.sliderTokens.thumbFocusBorderColor}: ${_sdds_serv.surfaceSolidDefault};

                ${_styledcomponents.sliderTokens.railBackgroundColor}: ${_sdds_serv.surfaceSolidTertiary};

                ${_styledcomponents.sliderTokens.fillColor}: ${_sdds_serv.surfaceSolidDefault};

                ${_styledcomponents.sliderTokens.tickDotColor}: ${_sdds_serv.surfaceSolidTertiary};
                ${_styledcomponents.sliderTokens.tickDotFilledColor}: ${_sdds_serv.surfaceSolidDefault};

                ${_styledcomponents.sliderTokens.textFieldCaretColor}: ${_sdds_serv.textAccent};
                ${_styledcomponents.sliderTokens.textFieldColor}: ${_sdds_serv.textPrimary};
                ${_styledcomponents.sliderTokens.textFiledFocusColor}: ${_sdds_serv.textPrimary};
                ${_styledcomponents.sliderTokens.textFieldPlaceholderColor}: ${_sdds_serv.textSecondary};

                ${_styledcomponents.sliderTokens.textFieldBackgroundColor}: ${_sdds_serv.surfaceTransparentPrimary};
                ${_styledcomponents.sliderTokens.textFieldBackgroundColorHover}: ${_sdds_serv.surfaceTransparentPrimaryHover};
                ${_styledcomponents.sliderTokens.textFieldBackgroundColorFocus}: ${_sdds_serv.surfaceTransparentSecondary};
            `,
            accent: (0, _styledcomponents.css)`
                ${_styledcomponents.sliderTokens.labelColor}: ${_sdds_serv.textPrimary};

                ${_styledcomponents.sliderTokens.rangeValueColor}: ${_sdds_serv.textSecondary};

                ${_styledcomponents.sliderTokens.thumbBorderColor}: ${_sdds_serv.surfaceSolidTertiary};
                ${_styledcomponents.sliderTokens.thumbBackgroundColor}: ${_sdds_serv.onLightSurfaceSolidCard};
                ${_styledcomponents.sliderTokens.thumbFocusBorderColor}: ${_sdds_serv.surfaceAccent};

                ${_styledcomponents.sliderTokens.railBackgroundColor}: ${_sdds_serv.surfaceSolidTertiary};

                ${_styledcomponents.sliderTokens.fillColor}: ${_sdds_serv.surfaceAccent};

                ${_styledcomponents.sliderTokens.tickDotColor}: ${_sdds_serv.surfaceSolidTertiary};
                ${_styledcomponents.sliderTokens.tickDotFilledColor}: ${_sdds_serv.surfaceAccent};

                ${_styledcomponents.sliderTokens.textFieldCaretColor}: ${_sdds_serv.textAccent};
                ${_styledcomponents.sliderTokens.textFieldColor}: ${_sdds_serv.textPrimary};
                ${_styledcomponents.sliderTokens.textFiledFocusColor}: ${_sdds_serv.textPrimary};
                ${_styledcomponents.sliderTokens.textFieldPlaceholderColor}: ${_sdds_serv.textSecondary};

                ${_styledcomponents.sliderTokens.textFieldBackgroundColor}: ${_sdds_serv.surfaceTransparentPrimary};
                ${_styledcomponents.sliderTokens.textFieldBackgroundColorHover}: ${_sdds_serv.surfaceTransparentPrimaryHover};
                ${_styledcomponents.sliderTokens.textFieldBackgroundColorFocus}: ${_sdds_serv.surfaceTransparentSecondary};
            `,
            gradient: (0, _styledcomponents.css)`
                ${_styledcomponents.sliderTokens.labelColor}: ${_sdds_serv.textPrimary};

                ${_styledcomponents.sliderTokens.rangeValueColor}: ${_sdds_serv.textSecondary};

                ${_styledcomponents.sliderTokens.thumbBorderColor}: ${_sdds_serv.surfaceSolidTertiary};
                ${_styledcomponents.sliderTokens.thumbBackgroundColor}: ${_sdds_serv.onLightSurfaceSolidCard};
                ${_styledcomponents.sliderTokens.thumbFocusBorderColor}: ${_sdds_serv.surfaceAccentGradient};

                ${_styledcomponents.sliderTokens.railBackgroundColor}: ${_sdds_serv.surfaceSolidTertiary};

                ${_styledcomponents.sliderTokens.fillColor}: ${_sdds_serv.surfaceAccentGradient};

                ${_styledcomponents.sliderTokens.tickDotColor}: ${_sdds_serv.surfaceSolidTertiary};
                ${_styledcomponents.sliderTokens.tickDotFilledColor}: ${_sdds_serv.surfaceAccentGradient};

                ${_styledcomponents.sliderTokens.textFieldCaretColor}: ${_sdds_serv.textAccent};
                ${_styledcomponents.sliderTokens.textFieldColor}: ${_sdds_serv.textPrimary};
                ${_styledcomponents.sliderTokens.textFiledFocusColor}: ${_sdds_serv.textPrimary};
                ${_styledcomponents.sliderTokens.textFieldPlaceholderColor}: ${_sdds_serv.textSecondary};

                ${_styledcomponents.sliderTokens.textFieldBackgroundColor}: ${_sdds_serv.surfaceTransparentPrimary};
                ${_styledcomponents.sliderTokens.textFieldBackgroundColorHover}: ${_sdds_serv.surfaceTransparentPrimaryHover};
                ${_styledcomponents.sliderTokens.textFieldBackgroundColorFocus}: ${_sdds_serv.surfaceTransparentSecondary};
            `
        },
        size: {
            l: (0, _styledcomponents.css)`
                ${_styledcomponents.sliderTokens.size}: 1.5rem;
                ${_styledcomponents.sliderTokens.doubleWrapperGap}: 0.375rem;

                ${_styledcomponents.sliderTokens.labelWrapperGap}: 0.25rem;
                ${_styledcomponents.sliderTokens.labelWrapperMarginBottom}: 0.25rem;
                ${_styledcomponents.sliderTokens.labelWrapperMarginRight}: 1rem;
                ${_styledcomponents.sliderTokens.labelWrapperOnlyIconMarginRight}: 0.625rem;
                ${_styledcomponents.sliderTokens.labelWrapperVerticalMargin}: 1rem;

                ${_styledcomponents.sliderTokens.labelFontFamily}: ${_sdds_serv.bodyL.fontFamily};
                ${_styledcomponents.sliderTokens.labelFontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_styledcomponents.sliderTokens.labelFontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_styledcomponents.sliderTokens.labelFontWeight}: ${_sdds_serv.bodyL.fontWeight};
                ${_styledcomponents.sliderTokens.labelLetterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_styledcomponents.sliderTokens.labelLineHeight}: ${_sdds_serv.bodyL.lineHeight};

                ${_styledcomponents.sliderTokens.rangeValueHorizontalMargin}: 0.75rem;
                ${_styledcomponents.sliderTokens.rangeValueBottomOffset}: 0.875rem;
                ${_styledcomponents.sliderTokens.rangeValueHorizontalOffset}: 0.875rem;
                ${_styledcomponents.sliderTokens.rangeValueVerticalMargin}: 0.75rem;

                ${_styledcomponents.sliderTokens.valueFontFamily}: ${_sdds_serv.bodyM.fontFamily};
                ${_styledcomponents.sliderTokens.valueFontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_styledcomponents.sliderTokens.valueFontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_styledcomponents.sliderTokens.valueFontWeight}: ${_sdds_serv.bodyM.fontWeight};
                ${_styledcomponents.sliderTokens.valueLetterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_styledcomponents.sliderTokens.valueLineHeight}: ${_sdds_serv.bodyM.lineHeight};

                ${_styledcomponents.sliderTokens.tickSize}: 0.5rem;

                ${_styledcomponents.sliderTokens.currentValueTopOffset}: 1.625rem;

                ${_styledcomponents.sliderTokens.railThickness}: 0.25rem;
                ${_styledcomponents.sliderTokens.railBorderRadius}: 0.125rem;

                ${_styledcomponents.sliderTokens.textFieldWrapperGap}: 0.125rem;

                ${_styledcomponents.sliderTokens.textFieldHeight}: 3.5rem;
                ${_styledcomponents.sliderTokens.textFieldPadding}: 1.25rem 1rem 1.25rem 1rem;
                ${_styledcomponents.sliderTokens.textFieldBorderRadius}: 0.75rem;
                ${_styledcomponents.sliderTokens.textFieldFontFamily}: ${_sdds_serv.bodyL.fontFamily};
                ${_styledcomponents.sliderTokens.textFieldFontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_styledcomponents.sliderTokens.textFieldFontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_styledcomponents.sliderTokens.textFieldFontWeight}: ${_sdds_serv.bodyL.fontWeight};
                ${_styledcomponents.sliderTokens.textFieldLetterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_styledcomponents.sliderTokens.textFieldLineHeight}: ${_sdds_serv.bodyL.lineHeight};
            `,
            m: (0, _styledcomponents.css)`
                ${_styledcomponents.sliderTokens.size}: 1.5rem;
                ${_styledcomponents.sliderTokens.doubleWrapperGap}: 0.375rem;

                ${_styledcomponents.sliderTokens.labelWrapperGap}: 0.25rem;
                ${_styledcomponents.sliderTokens.labelWrapperMarginBottom}: 0.25rem;
                ${_styledcomponents.sliderTokens.labelWrapperMarginRight}: 1rem;
                ${_styledcomponents.sliderTokens.labelWrapperOnlyIconMarginRight}: 0.625rem;
                ${_styledcomponents.sliderTokens.labelWrapperVerticalMargin}: 0.75rem;

                ${_styledcomponents.sliderTokens.labelFontFamily}: ${_sdds_serv.bodyM.fontFamily};
                ${_styledcomponents.sliderTokens.labelFontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_styledcomponents.sliderTokens.labelFontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_styledcomponents.sliderTokens.labelFontWeight}: ${_sdds_serv.bodyM.fontWeight};
                ${_styledcomponents.sliderTokens.labelLetterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_styledcomponents.sliderTokens.labelLineHeight}: ${_sdds_serv.bodyM.lineHeight};

                ${_styledcomponents.sliderTokens.rangeValueHorizontalMargin}: 0.75rem;
                ${_styledcomponents.sliderTokens.rangeValueBottomOffset}: 0.75rem;
                ${_styledcomponents.sliderTokens.rangeValueHorizontalOffset}: 0.875rem;
                ${_styledcomponents.sliderTokens.rangeValueVerticalMargin}: 0.625rem;

                ${_styledcomponents.sliderTokens.valueFontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_styledcomponents.sliderTokens.valueFontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_styledcomponents.sliderTokens.valueFontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_styledcomponents.sliderTokens.valueFontWeight}: ${_sdds_serv.bodyS.fontWeight};
                ${_styledcomponents.sliderTokens.valueLetterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_styledcomponents.sliderTokens.valueLineHeight}: ${_sdds_serv.bodyS.lineHeight};

                ${_styledcomponents.sliderTokens.tickSize}: 0.5rem;

                ${_styledcomponents.sliderTokens.currentValueTopOffset}: 1.75rem;

                ${_styledcomponents.sliderTokens.railThickness}: 0.25rem;
                ${_styledcomponents.sliderTokens.railBorderRadius}: 0.125rem;

                ${_styledcomponents.sliderTokens.textFieldWrapperGap}: 0.125rem;

                ${_styledcomponents.sliderTokens.textFieldHeight}: 3rem;
                ${_styledcomponents.sliderTokens.textFieldPadding}: 0.875rem 1rem 0.875rem 1rem;
                ${_styledcomponents.sliderTokens.textFieldBorderRadius}: 0.75rem;
                ${_styledcomponents.sliderTokens.textFieldFontFamily}: ${_sdds_serv.bodyM.fontFamily};
                ${_styledcomponents.sliderTokens.textFieldFontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_styledcomponents.sliderTokens.textFieldFontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_styledcomponents.sliderTokens.textFieldFontWeight}: ${_sdds_serv.bodyM.fontWeight};
                ${_styledcomponents.sliderTokens.textFieldLetterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_styledcomponents.sliderTokens.textFieldLineHeight}: ${_sdds_serv.bodyM.lineHeight};
            `,
            s: (0, _styledcomponents.css)`
                ${_styledcomponents.sliderTokens.size}: 1rem;
                ${_styledcomponents.sliderTokens.doubleWrapperGap}: 0.375rem;

                ${_styledcomponents.sliderTokens.labelWrapperGap}: 0.25rem;
                ${_styledcomponents.sliderTokens.labelWrapperMarginBottom}: 0.25rem;
                ${_styledcomponents.sliderTokens.labelWrapperMarginRight}: 1rem;
                ${_styledcomponents.sliderTokens.labelWrapperOnlyIconMarginRight}: 0.625rem;
                ${_styledcomponents.sliderTokens.labelWrapperVerticalMargin}: 0.625rem;

                ${_styledcomponents.sliderTokens.labelFontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_styledcomponents.sliderTokens.labelFontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_styledcomponents.sliderTokens.labelFontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_styledcomponents.sliderTokens.labelFontWeight}: ${_sdds_serv.bodyS.fontWeight};
                ${_styledcomponents.sliderTokens.labelLetterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_styledcomponents.sliderTokens.labelLineHeight}: ${_sdds_serv.bodyS.lineHeight};

                ${_styledcomponents.sliderTokens.rangeValueHorizontalMargin}: 0.5rem;
                ${_styledcomponents.sliderTokens.rangeValueBottomOffset}: 0.625rem;
                ${_styledcomponents.sliderTokens.rangeValueHorizontalOffset}: 0.625rem;
                ${_styledcomponents.sliderTokens.rangeValueVerticalMargin}: 0.5rem;

                ${_styledcomponents.sliderTokens.valueFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_styledcomponents.sliderTokens.valueFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_styledcomponents.sliderTokens.valueFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_styledcomponents.sliderTokens.valueFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_styledcomponents.sliderTokens.valueLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_styledcomponents.sliderTokens.valueLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_styledcomponents.sliderTokens.tickSize}: 0.5rem;

                ${_styledcomponents.sliderTokens.currentValueTopOffset}: 1.25rem;

                ${_styledcomponents.sliderTokens.railThickness}: 0.25rem;
                ${_styledcomponents.sliderTokens.railBorderRadius}: 0.125rem;

                ${_styledcomponents.sliderTokens.textFieldWrapperGap}: 0.125rem;

                ${_styledcomponents.sliderTokens.textFieldHeight}: 2.5rem;
                ${_styledcomponents.sliderTokens.textFieldPadding}: 0.5rem 1rem 0.5rem 1rem;
                ${_styledcomponents.sliderTokens.textFieldBorderRadius}: 0.625rem;
                ${_styledcomponents.sliderTokens.textFieldFontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_styledcomponents.sliderTokens.textFieldFontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_styledcomponents.sliderTokens.textFieldFontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_styledcomponents.sliderTokens.textFieldFontWeight}: ${_sdds_serv.bodyS.fontWeight};
                ${_styledcomponents.sliderTokens.textFieldLetterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_styledcomponents.sliderTokens.textFieldLineHeight}: ${_sdds_serv.bodyS.lineHeight};
            `
        },
        pointerSize: {
            small: (0, _styledcomponents.css)`
                ${_styledcomponents.sliderTokens.thumbSize}: 1rem;
                ${_styledcomponents.sliderTokens.thumbBorderStyle}: solid;
                ${_styledcomponents.sliderTokens.thumbBorderWidth}: 0.0625rem;
            `,
            large: (0, _styledcomponents.css)`
                ${_styledcomponents.sliderTokens.thumbSize}: 1.25rem;
                ${_styledcomponents.sliderTokens.thumbBorderStyle}: solid;
                ${_styledcomponents.sliderTokens.thumbBorderWidth}: 0.0625rem;
            `,
            none: (0, _styledcomponents.css)`
                ${_styledcomponents.sliderTokens.thumbSize}: 0rem;
            `
        },
        disabled: {
            true: (0, _styledcomponents.css)`
                ${_styledcomponents.sliderTokens.disabledOpacity}: 0.4;
            `
        }
    }
};
