function _tagged_template_literal(strings, raw) {
    if (!raw) {
        raw = strings.slice(0);
    }
    return Object.freeze(Object.defineProperties(strings, {
        raw: {
            value: Object.freeze(raw)
        }
    }));
}
function _templateObject() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-primary);\n\n                ",
        ": var(--text-secondary);\n\n                ",
        ": var(--surface-solid-tertiary);\n                ",
        ": var(--on-light-surface-solid-card);\n                ",
        ": var(--surface-solid-default);\n\n                ",
        ": var(--surface-solid-tertiary);\n\n                ",
        ": var(--surface-solid-default);\n\n                ",
        ": var(--text-accent);\n                ",
        ": var(--text-primary);\n                ",
        ": var(--text-primary);\n                ",
        ": var(--text-secondary);\n\n                ",
        ": var(--outline-transparent-primary);\n                ",
        ": var(--outline-transparent-primary-hover);\n                ",
        ": var(--surface-accent);\n            "
    ]);
    _templateObject = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject1() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-primary);\n\n                ",
        ": var(--text-secondary);\n\n                ",
        ": var(--surface-solid-tertiary);\n                ",
        ": var(--on-light-surface-solid-card);\n                ",
        ": var(--surface-accent);\n\n                ",
        ": var(--surface-solid-tertiary);\n\n                ",
        ": var(--surface-accent);\n\n                ",
        ": var(--text-accent);\n                ",
        ": var(--text-primary);\n                ",
        ": var(--text-primary);\n                ",
        ": var(--text-secondary);\n\n                ",
        ": var(--outline-transparent-primary);\n                ",
        ": var(--outline-transparent-primary-hover);\n                ",
        ": var(--surface-accent);\n            "
    ]);
    _templateObject1 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject2() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-primary);\n\n                ",
        ": var(--text-secondary);\n\n                ",
        ": var(--surface-solid-tertiary);\n                ",
        ": var(--on-light-surface-solid-card);\n                ",
        ": var(--surface-accent-gradient);\n\n                ",
        ": var(--surface-solid-tertiary);\n\n                ",
        ": var(--surface-accent-gradient);\n\n                ",
        ": var(--text-accent);\n                ",
        ": var(--text-primary);\n                ",
        ": var(--text-primary);\n                ",
        ": var(--text-secondary);\n\n                ",
        ": var(--outline-transparent-primary);\n                ",
        ": var(--outline-transparent-primary-hover);\n                ",
        ": var(--surface-accent);\n            "
    ]);
    _templateObject2 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject3() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 1.5rem;\n                ",
        ": 0.375rem;\n\n                ",
        ": 0.25rem;\n                ",
        ": 0.25rem;\n                ",
        ": 1rem;\n                ",
        ": 0.625rem;\n                ",
        ": 1rem;\n\n                ",
        ": var(--plasma-typo-body-l-font-family);\n                ",
        ": var(--plasma-typo-body-l-font-size);\n                ",
        ": var(--plasma-typo-body-l-font-style);\n                ",
        ": var(--plasma-typo-body-l-font-weight);\n                ",
        ": var(--plasma-typo-body-l-letter-spacing);\n                ",
        ": var(--plasma-typo-body-l-line-height);\n\n                ",
        ": 0.75rem;\n                ",
        ": 0.875rem;\n                ",
        ": 0.875rem;\n                ",
        ": 0.75rem;\n\n                ",
        ": var(--plasma-typo-body-m-font-family);\n                ",
        ": var(--plasma-typo-body-m-font-size);\n                ",
        ": var(--plasma-typo-body-m-font-style);\n                ",
        ": var(--plasma-typo-body-m-font-weight);\n                ",
        ": var(--plasma-typo-body-m-letter-spacing);\n                ",
        ": var(--plasma-typo-body-m-line-height);\n\n                ",
        ": 1rem;\n                ",
        ": 1.25rem;\n                ",
        ": 0.0625rem solid;\n\n                ",
        ": 1.625rem;\n\n                ",
        ": 0.25rem;\n                ",
        ": 0.125rem;\n                ",
        ": 0.75rem;\n\n                ",
        ": 0;\n                ",
        ": inset(0 0.063rem 0 0);\n                ",
        ": inset(0 0 0.063rem 0);\n                ",
        ": -0.063rem;\n\n                ",
        ": 0.063rem;\n\n                ",
        ": 3.5rem;\n                ",
        ": 1.25rem 1rem 1.25rem 1rem;\n                ",
        ": 0.75rem;\n                ",
        ": var(--plasma-typo-body-l-font-family);\n                ",
        ": var(--plasma-typo-body-l-font-size);\n                ",
        ": var(--plasma-typo-body-l-font-style);\n                ",
        ": var(--plasma-typo-body-l-font-weight);\n                ",
        ": var(--plasma-typo-body-l-letter-spacing);\n                ",
        ": var(--plasma-typo-body-l-line-height);\n            "
    ]);
    _templateObject3 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject4() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 1.5rem;\n                ",
        ": 0.375rem;\n\n                ",
        ": 0.25rem;\n                ",
        ": 0.25rem;\n                ",
        ": 1rem;\n                ",
        ": 0.625rem;\n                ",
        ": 0.75rem;\n\n                ",
        ": var(--plasma-typo-body-m-font-family);\n                ",
        ": var(--plasma-typo-body-m-font-size);\n                ",
        ": var(--plasma-typo-body-m-font-style);\n                ",
        ": var(--plasma-typo-body-m-font-weight);\n                ",
        ": var(--plasma-typo-body-m-letter-spacing);\n                ",
        ": var(--plasma-typo-body-m-line-height);\n\n                ",
        ": 0.75rem;\n                ",
        ": 0.75rem;\n                ",
        ": 0.875rem;\n                ",
        ": 0.625rem;\n\n                ",
        ": var(--plasma-typo-body-s-font-family);\n                ",
        ": var(--plasma-typo-body-s-font-size);\n                ",
        ": var(--plasma-typo-body-s-font-style);\n                ",
        ": var(--plasma-typo-body-s-font-weight);\n                ",
        ": var(--plasma-typo-body-s-letter-spacing);\n                ",
        ": var(--plasma-typo-body-s-line-height);\n\n                ",
        ": 1rem;\n                ",
        ": 1.25rem;\n                ",
        ": 0.0625rem solid;\n\n                ",
        ": 1.75rem;\n\n                ",
        ": 0.25rem;\n                ",
        ": 0.125rem;\n                ",
        ": 0.75rem;\n\n                ",
        ": 0;\n                ",
        ": inset(0 0.063rem 0 0);\n                ",
        ": -0.063rem;\n\n                ",
        ": 0.063rem;\n\n                ",
        ": 3rem;\n                ",
        ": 0.875rem 1rem 0.875rem 1rem;\n                ",
        ": 0.75rem;\n                ",
        ": var(--plasma-typo-body-m-font-family);\n                ",
        ": var(--plasma-typo-body-m-font-size);\n                ",
        ": var(--plasma-typo-body-m-font-style);\n                ",
        ": var(--plasma-typo-body-m-font-weight);\n                ",
        ": var(--plasma-typo-body-m-letter-spacing);\n                ",
        ": var(--plasma-typo-body-m-line-height);\n            "
    ]);
    _templateObject4 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject5() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 1rem;\n                ",
        ": 0.375rem;\n\n                ",
        ": 0.25rem;\n                ",
        ": 0.25rem;\n                ",
        ": 1rem;\n                ",
        ": 0.625rem;\n                ",
        ": 0.625rem;\n\n                ",
        ": var(--plasma-typo-body-s-font-family);\n                ",
        ": var(--plasma-typo-body-s-font-size);\n                ",
        ": var(--plasma-typo-body-s-font-style);\n                ",
        ": var(--plasma-typo-body-s-font-weight);\n                ",
        ": var(--plasma-typo-body-s-letter-spacing);\n                ",
        ": var(--plasma-typo-body-s-line-height);\n\n                ",
        ": 0.5rem;\n                ",
        ": 0.625rem;\n                ",
        ": 0.625rem;\n                ",
        ": 0.5rem;\n\n                ",
        ": var(--plasma-typo-body-xs-font-family);\n                ",
        ": var(--plasma-typo-body-xs-font-size);\n                ",
        ": var(--plasma-typo-body-xs-font-style);\n                ",
        ": var(--plasma-typo-body-xs-font-weight);\n                ",
        ": var(--plasma-typo-body-xs-letter-spacing);\n                ",
        ": var(--plasma-typo-body-xs-line-height);\n\n                ",
        ": 1rem;\n                ",
        ": 1.25rem;\n                ",
        ": 0.0625rem solid;\n\n                ",
        ": 1.25rem;\n\n                ",
        ": 0.25rem;\n                ",
        ": 0.125rem;\n                ",
        ": 0.75rem;\n\n                ",
        ": 0;\n                ",
        ": inset(0 0.063rem 0 0);\n                ",
        ": -0.063rem;\n\n                ",
        ": 0.063rem;\n\n                ",
        ": 2.5rem;\n                ",
        ": 0.5rem 1rem 0.5rem 1rem;\n                ",
        ": 0.625rem;\n                ",
        ": var(--plasma-typo-body-s-font-family);\n                ",
        ": var(--plasma-typo-body-s-font-size);\n                ",
        ": var(--plasma-typo-body-s-font-style);\n                ",
        ": var(--plasma-typo-body-s-font-weight);\n                ",
        ": var(--plasma-typo-body-s-letter-spacing);\n                ",
        ": var(--plasma-typo-body-s-line-height);\n            "
    ]);
    _templateObject5 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject6() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.4;\n            "
    ]);
    _templateObject6 = function _templateObject() {
        return data;
    };
    return data;
}
import { css, sliderTokens } from '@salutejs/plasma-new-hope/styled-components';
export var config = {
    defaults: {
        view: 'default',
        size: 'm'
    },
    variations: {
        view: {
            default: css(_templateObject(), sliderTokens.labelColor, sliderTokens.rangeValueColor, sliderTokens.thumbBorderColor, sliderTokens.thumbBackgroundColor, sliderTokens.thumbFocusBorderColor, sliderTokens.railBackgroundColor, sliderTokens.fillColor, sliderTokens.textFieldCaretColor, sliderTokens.textFieldColor, sliderTokens.textFiledFocusColor, sliderTokens.textFieldPlaceholderColor, sliderTokens.textFieldBorderColor, sliderTokens.textFieldBorderColorHover, sliderTokens.textFieldBorderColorFocus),
            accent: css(_templateObject1(), sliderTokens.labelColor, sliderTokens.rangeValueColor, sliderTokens.thumbBorderColor, sliderTokens.thumbBackgroundColor, sliderTokens.thumbFocusBorderColor, sliderTokens.railBackgroundColor, sliderTokens.fillColor, sliderTokens.textFieldCaretColor, sliderTokens.textFieldColor, sliderTokens.textFiledFocusColor, sliderTokens.textFieldPlaceholderColor, sliderTokens.textFieldBorderColor, sliderTokens.textFieldBorderColorHover, sliderTokens.textFieldBorderColorFocus),
            gradient: css(_templateObject2(), sliderTokens.labelColor, sliderTokens.rangeValueColor, sliderTokens.thumbBorderColor, sliderTokens.thumbBackgroundColor, sliderTokens.thumbFocusBorderColor, sliderTokens.railBackgroundColor, sliderTokens.fillColor, sliderTokens.textFieldCaretColor, sliderTokens.textFieldColor, sliderTokens.textFiledFocusColor, sliderTokens.textFieldPlaceholderColor, sliderTokens.textFieldBorderColor, sliderTokens.textFieldBorderColorHover, sliderTokens.textFieldBorderColorFocus)
        },
        size: {
            l: css(_templateObject3(), sliderTokens.size, sliderTokens.doubleWrapperGap, sliderTokens.labelWrapperGap, sliderTokens.labelWrapperMarginBottom, sliderTokens.labelWrapperMarginRight, sliderTokens.labelWrapperOnlyIconMarginRight, sliderTokens.labelWrapperVerticalMargin, sliderTokens.labelFontFamily, sliderTokens.labelFontSize, sliderTokens.labelFontStyle, sliderTokens.labelFontWeight, sliderTokens.labelLetterSpacing, sliderTokens.labelLineHeight, sliderTokens.rangeValueHorizontalMargin, sliderTokens.rangeValueBottomOffset, sliderTokens.rangeValueHorizontalOffset, sliderTokens.rangeValueVerticalMargin, sliderTokens.valueFontFamily, sliderTokens.valueFontSize, sliderTokens.valueFontStyle, sliderTokens.valueFontWeight, sliderTokens.valueLetterSpacing, sliderTokens.valueLineHeight, sliderTokens.thumbSize, sliderTokens.thumbSizeLarge, sliderTokens.thumbBorder, sliderTokens.currentValueTopOffset, sliderTokens.railThickness, sliderTokens.railBorderRadius, sliderTokens.railIndent, sliderTokens.textFieldWrapperGap, sliderTokens.textFieldWebClipPath, sliderTokens.textFieldWebReversedClipPath, sliderTokens.textFieldWebMarginRight, sliderTokens.textFieldBorderWidth, sliderTokens.textFieldHeight, sliderTokens.textFieldPadding, sliderTokens.textFieldBorderRadius, sliderTokens.textFieldFontFamily, sliderTokens.textFieldFontSize, sliderTokens.textFieldFontStyle, sliderTokens.textFieldFontWeight, sliderTokens.textFieldLetterSpacing, sliderTokens.textFieldLineHeight),
            m: css(_templateObject4(), sliderTokens.size, sliderTokens.doubleWrapperGap, sliderTokens.labelWrapperGap, sliderTokens.labelWrapperMarginBottom, sliderTokens.labelWrapperMarginRight, sliderTokens.labelWrapperOnlyIconMarginRight, sliderTokens.labelWrapperVerticalMargin, sliderTokens.labelFontFamily, sliderTokens.labelFontSize, sliderTokens.labelFontStyle, sliderTokens.labelFontWeight, sliderTokens.labelLetterSpacing, sliderTokens.labelLineHeight, sliderTokens.rangeValueHorizontalMargin, sliderTokens.rangeValueBottomOffset, sliderTokens.rangeValueHorizontalOffset, sliderTokens.rangeValueVerticalMargin, sliderTokens.valueFontFamily, sliderTokens.valueFontSize, sliderTokens.valueFontStyle, sliderTokens.valueFontWeight, sliderTokens.valueLetterSpacing, sliderTokens.valueLineHeight, sliderTokens.thumbSize, sliderTokens.thumbSizeLarge, sliderTokens.thumbBorder, sliderTokens.currentValueTopOffset, sliderTokens.railThickness, sliderTokens.railBorderRadius, sliderTokens.railIndent, sliderTokens.textFieldWrapperGap, sliderTokens.textFieldWebClipPath, sliderTokens.textFieldWebMarginRight, sliderTokens.textFieldBorderWidth, sliderTokens.textFieldHeight, sliderTokens.textFieldPadding, sliderTokens.textFieldBorderRadius, sliderTokens.textFieldFontFamily, sliderTokens.textFieldFontSize, sliderTokens.textFieldFontStyle, sliderTokens.textFieldFontWeight, sliderTokens.textFieldLetterSpacing, sliderTokens.textFieldLineHeight),
            s: css(_templateObject5(), sliderTokens.size, sliderTokens.doubleWrapperGap, sliderTokens.labelWrapperGap, sliderTokens.labelWrapperMarginBottom, sliderTokens.labelWrapperMarginRight, sliderTokens.labelWrapperOnlyIconMarginRight, sliderTokens.labelWrapperVerticalMargin, sliderTokens.labelFontFamily, sliderTokens.labelFontSize, sliderTokens.labelFontStyle, sliderTokens.labelFontWeight, sliderTokens.labelLetterSpacing, sliderTokens.labelLineHeight, sliderTokens.rangeValueHorizontalMargin, sliderTokens.rangeValueBottomOffset, sliderTokens.rangeValueHorizontalOffset, sliderTokens.rangeValueVerticalMargin, sliderTokens.valueFontFamily, sliderTokens.valueFontSize, sliderTokens.valueFontStyle, sliderTokens.valueFontWeight, sliderTokens.valueLetterSpacing, sliderTokens.valueLineHeight, sliderTokens.thumbSize, sliderTokens.thumbSizeLarge, sliderTokens.thumbBorder, sliderTokens.currentValueTopOffset, sliderTokens.railThickness, sliderTokens.railBorderRadius, sliderTokens.railIndent, sliderTokens.textFieldWrapperGap, sliderTokens.textFieldWebClipPath, sliderTokens.textFieldWebMarginRight, sliderTokens.textFieldBorderWidth, sliderTokens.textFieldHeight, sliderTokens.textFieldPadding, sliderTokens.textFieldBorderRadius, sliderTokens.textFieldFontFamily, sliderTokens.textFieldFontSize, sliderTokens.textFieldFontStyle, sliderTokens.textFieldFontWeight, sliderTokens.textFieldLetterSpacing, sliderTokens.textFieldLineHeight)
        },
        disabled: {
            true: css(_templateObject6(), sliderTokens.disabledOpacity)
        }
    }
};
