"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "config", {
    enumerable: true,
    get: function() {
        return config;
    }
});
var _emotion = require("@salutejs/plasma-new-hope/emotion");
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-accent);\n                ",
        ": var(--text-negative);\n                ",
        ": var(--surface-transparent-negative);\n\n                ",
        ": var(--text-primary);\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--text-tertiary);\n                ",
        ": var(--inverse-text-tertiary);\n                ",
        ": var(--surface-transparent-secondary);\n                ",
        ": var(--inverse-surface-transparent-secondary);\n                ",
        ": var(--surface-solid-default);\n\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--surface-solid-default);\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--inverse-text-primary-hover);\n                ",
        ": var(--surface-solid-default-hover);\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--inverse-text-primary-active);\n                ",
        ": var(--surface-solid-default-active);\n\n                ",
        ": 0.4;\n\n                ",
        ": inherit;\n                ",
        ": inherit;\n            "
    ]);
    _templateObject = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject1() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-accent);\n                ",
        ": var(--text-negative);\n                ",
        ": var(--surface-transparent-negative);\n\n                ",
        ": var(--text-primary);\n                ",
        ": var(--text-primary);\n                ",
        ": var(--text-tertiary);\n                ",
        ": var(--text-tertiary);\n                ",
        ": var(--surface-transparent-secondary);\n                ",
        ": var(--surface-transparent-secondary);\n                ",
        ": var(--surface-transparent-secondary);\n\n                ",
        ": var(--text-primary);\n                ",
        ": var(--surface-transparent-secondary);\n                ",
        ": var(--text-primary);\n                ",
        ": var(--text-primary-hover);\n                ",
        ": var(--surface-transparent-secondary-hover);\n                ",
        ": var(--text-primary);\n                ",
        ": var(--text-primary-active);\n                ",
        ": var(--surface-transparent-secondary-active);\n\n                ",
        ": 0.4;\n\n                ",
        ": inherit;\n                ",
        ": inherit;\n            "
    ]);
    _templateObject1 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject2() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-accent);\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--text-negative);\n                ",
        ": var(--surface-transparent-negative);\n\n                ",
        ": var(--text-primary);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--text-tertiary);\n                ",
        ": var(--on-dark-text-tertiary);\n                ",
        ": var(--surface-transparent-secondary);\n                ",
        ": var(--on-dark-surface-transparent-secondary);\n                ",
        ": var(--surface-accent);\n\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--surface-accent);\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--on-dark-text-primary-hover);\n                ",
        ": var(--surface-accent-hover);\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--on-dark-text-primary-active);\n                ",
        ": var(--surface-accent-active);\n\n                ",
        ": 0.4;\n\n                ",
        ": inherit;\n                ",
        ": inherit;\n            "
    ]);
    _templateObject2 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject3() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-accent);\n                ",
        ": var(--text-accent);\n                ",
        ": var(--text-negative);\n                ",
        ": var(--surface-transparent-negative);\n\n                ",
        ": var(--text-primary);\n                ",
        ": var(--text-primary);\n                ",
        ": var(--text-primary-hover);\n                ",
        ": var(--text-tertiary);\n                ",
        ": var(--text-tertiary);\n                ",
        ": var(--surface-transparent-secondary);\n                ",
        ": var(--surface-transparent-secondary);\n                ",
        ": transparent;\n\n                ",
        ": var(--text-primary);\n                ",
        ": transparent;\n                ",
        ": var(--text-primary-hover);\n                ",
        ": transparent;\n                ",
        ": var(--text-primary-active);\n                ",
        ": transparent;\n\n                ",
        ": 0.4;\n\n                ",
        ": inherit;\n                ",
        ": inherit;\n            "
    ]);
    _templateObject3 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject4() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 11.75rem;\n                ",
        ": 3.5rem;\n                ",
        ": 3.5rem;\n                ",
        ": 1.5rem;\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-bold-font-weight);\n                ",
        ": var(--plasma-typo-body-l-letter-spacing);\n                ",
        ": var(--plasma-typo-body-l-line-height);\n\n                ",
        ": 0.875rem;\n                ",
        ": 0.375rem;\n\n                ",
        ": 0 0.125rem;\n                ",
        ": 0.875rem;\n                ",
        ": 3.5rem;\n                ",
        ": 1.063rem 1.125rem;\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.25rem;\n                ",
        ": 0.25rem;\n\n                ",
        ": 1.375rem;\n            "
    ]);
    _templateObject4 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject5() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 10.25rem;\n                ",
        ": 3rem;\n                ",
        ": 3rem;\n                ",
        ": 1.25rem;\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-bold-font-weight);\n                ",
        ": var(--plasma-typo-body-m-letter-spacing);\n                ",
        ": var(--plasma-typo-body-m-line-height);\n\n                ",
        ": 0.75rem;\n                ",
        ": 0.25rem;\n\n                ",
        ": 0 0.125rem;\n                ",
        ": 0.75rem;\n                ",
        ": 3rem;\n                ",
        ": 0.875rem 1rem;\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.25rem;\n                ",
        ": 0.25rem;\n\n                ",
        ": 1.375rem;\n            "
    ]);
    _templateObject5 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject6() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 8.75rem;\n                ",
        ": 2.5rem;\n                ",
        ": 2.5rem;\n                ",
        ": 1rem;\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-bold-font-weight);\n                ",
        ": var(--plasma-typo-body-s-letter-spacing);\n                ",
        ": var(--plasma-typo-body-s-line-height);\n\n                ",
        ": 0.625rem;\n                ",
        ": 0.25rem;\n\n                ",
        ": 0 0.125rem;\n                ",
        ": 0.625rem;\n                ",
        ": 2.5rem;\n                ",
        ": 0.688rem 0.875rem;\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.25rem;\n                ",
        ": 0.25rem;\n\n                ",
        ": 1.375rem;\n            "
    ]);
    _templateObject6 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject7() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 6.875rem;\n                ",
        ": 2rem;\n                ",
        ": 2rem;\n                ",
        ": 0.75rem;\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-bold-font-weight);\n                ",
        ": var(--plasma-typo-body-xs-letter-spacing);\n                ",
        ": var(--plasma-typo-body-xs-line-height);\n\n                ",
        ": 0.5rem;\n                ",
        ": 0.125rem;\n\n                ",
        ": 0 0.125rem;\n                ",
        ": 0.5rem;\n                ",
        ": 2rem;\n                ",
        ": 0.563rem 0.625rem;\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                ",
        ": 0.25rem;\n                ",
        ": 0.25rem;\n\n                ",
        ": 1rem;\n            "
    ]);
    _templateObject7 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject8() {
    var data = _tagged_template_literal([
        ""
    ]);
    _templateObject8 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject9() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 50%;\n            "
    ]);
    _templateObject9 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject10() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--surface-transparent-primary);\n                ",
        ": var(--surface-transparent-primary);\n            "
    ]);
    _templateObject10 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject11() {
    var data = _tagged_template_literal([
        "\n                ",
        ": transparent;\n                ",
        ": transparent;\n            "
    ]);
    _templateObject11 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject12() {
    var data = _tagged_template_literal([
        ""
    ]);
    _templateObject12 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject13() {
    var data = _tagged_template_literal([
        ""
    ]);
    _templateObject13 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject14() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0;\n            "
    ]);
    _templateObject14 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject15() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.4;\n            "
    ]);
    _templateObject15 = function _templateObject() {
        return data;
    };
    return data;
}
var config = {
    defaults: {
        view: 'default',
        size: 'l',
        shape: 'cornered',
        inputBackgroundType: 'fill'
    },
    variations: {
        view: {
            default: (0, _emotion.css)(_templateObject(), _emotion.numberInputTokens.caretColor, _emotion.numberInputTokens.errorColor, _emotion.numberInputTokens.backgroundErrorColor, _emotion.numberInputTokens.color, _emotion.numberInputTokens.colorSolid, _emotion.numberInputTokens.additionalTextColor, _emotion.numberInputTokens.additionalTextColorSolid, _emotion.numberInputTokens.backgroundColorFocus, _emotion.numberInputTokens.backgroundColorSolidFocus, _emotion.numberInputTokens.backgroundColorSolid, _emotion.numberInputTokens.iconButtonColor, _emotion.numberInputTokens.iconButtonBackgroundColor, _emotion.numberInputTokens.iconButtonColorHover, _emotion.numberInputTokens.iconButtonColorSolidHover, _emotion.numberInputTokens.iconButtonBackgroundColorHover, _emotion.numberInputTokens.iconButtonColorActive, _emotion.numberInputTokens.iconButtonColorSolidActive, _emotion.numberInputTokens.iconButtonBackgroundColorActive, _emotion.numberInputTokens.actionButtonDisabledOpacity, _emotion.numberInputTokens.loaderSpinnerColor, _emotion.numberInputTokens.loaderSpinnerColorSolid),
            secondary: (0, _emotion.css)(_templateObject1(), _emotion.numberInputTokens.caretColor, _emotion.numberInputTokens.errorColor, _emotion.numberInputTokens.backgroundErrorColor, _emotion.numberInputTokens.color, _emotion.numberInputTokens.colorSolid, _emotion.numberInputTokens.additionalTextColor, _emotion.numberInputTokens.additionalTextColorSolid, _emotion.numberInputTokens.backgroundColorFocus, _emotion.numberInputTokens.backgroundColorSolidFocus, _emotion.numberInputTokens.backgroundColorSolid, _emotion.numberInputTokens.iconButtonColor, _emotion.numberInputTokens.iconButtonBackgroundColor, _emotion.numberInputTokens.iconButtonColorHover, _emotion.numberInputTokens.iconButtonColorSolidHover, _emotion.numberInputTokens.iconButtonBackgroundColorHover, _emotion.numberInputTokens.iconButtonColorActive, _emotion.numberInputTokens.iconButtonColorSolidActive, _emotion.numberInputTokens.iconButtonBackgroundColorActive, _emotion.numberInputTokens.actionButtonDisabledOpacity, _emotion.numberInputTokens.loaderSpinnerColor, _emotion.numberInputTokens.loaderSpinnerColorSolid),
            accent: (0, _emotion.css)(_templateObject2(), _emotion.numberInputTokens.caretColor, _emotion.numberInputTokens.caretColorSolid, _emotion.numberInputTokens.errorColor, _emotion.numberInputTokens.backgroundErrorColor, _emotion.numberInputTokens.color, _emotion.numberInputTokens.colorSolid, _emotion.numberInputTokens.additionalTextColor, _emotion.numberInputTokens.additionalTextColorSolid, _emotion.numberInputTokens.backgroundColorFocus, _emotion.numberInputTokens.backgroundColorSolidFocus, _emotion.numberInputTokens.backgroundColorSolid, _emotion.numberInputTokens.iconButtonColor, _emotion.numberInputTokens.iconButtonBackgroundColor, _emotion.numberInputTokens.iconButtonColorHover, _emotion.numberInputTokens.iconButtonColorSolidHover, _emotion.numberInputTokens.iconButtonBackgroundColorHover, _emotion.numberInputTokens.iconButtonColorActive, _emotion.numberInputTokens.iconButtonColorSolidActive, _emotion.numberInputTokens.iconButtonBackgroundColorActive, _emotion.numberInputTokens.actionButtonDisabledOpacity, _emotion.numberInputTokens.loaderSpinnerColor, _emotion.numberInputTokens.loaderSpinnerColorSolid),
            clear: (0, _emotion.css)(_templateObject3(), _emotion.numberInputTokens.caretColor, _emotion.numberInputTokens.caretColorSolid, _emotion.numberInputTokens.errorColor, _emotion.numberInputTokens.backgroundErrorColor, _emotion.numberInputTokens.color, _emotion.numberInputTokens.colorSolid, _emotion.numberInputTokens.iconButtonColorSolidHover, _emotion.numberInputTokens.additionalTextColor, _emotion.numberInputTokens.additionalTextColorSolid, _emotion.numberInputTokens.backgroundColorFocus, _emotion.numberInputTokens.backgroundColorSolidFocus, _emotion.numberInputTokens.backgroundColorSolid, _emotion.numberInputTokens.iconButtonColor, _emotion.numberInputTokens.iconButtonBackgroundColor, _emotion.numberInputTokens.iconButtonColorHover, _emotion.numberInputTokens.iconButtonBackgroundColorHover, _emotion.numberInputTokens.iconButtonColorActive, _emotion.numberInputTokens.iconButtonBackgroundColorActive, _emotion.numberInputTokens.actionButtonDisabledOpacity, _emotion.numberInputTokens.loaderSpinnerColor, _emotion.numberInputTokens.loaderSpinnerColorSolid)
        },
        size: {
            l: (0, _emotion.css)(_templateObject4(), _emotion.numberInputTokens.rootMinWidth, _emotion.numberInputTokens.iconButtonHeight, _emotion.numberInputTokens.iconButtonWidth, _emotion.numberInputTokens.iconButtonPadding, _emotion.numberInputTokens.iconButtonFontFamily, _emotion.numberInputTokens.iconButtonFontSize, _emotion.numberInputTokens.iconButtonFontStyle, _emotion.numberInputTokens.iconButtonFontWeight, _emotion.numberInputTokens.iconButtonLetterSpacing, _emotion.numberInputTokens.iconButtonLineHeight, _emotion.numberInputTokens.iconButtonRadius, _emotion.numberInputTokens.iconButtonSegmentationRadius, _emotion.numberInputTokens.inputWrapperMargin, _emotion.numberInputTokens.inputWrapperBorderRadius, _emotion.numberInputTokens.textWrapperHeight, _emotion.numberInputTokens.textWrapperPadding, _emotion.numberInputTokens.fontFamily, _emotion.numberInputTokens.fontSize, _emotion.numberInputTokens.fontStyle, _emotion.numberInputTokens.fontWeight, _emotion.numberInputTokens.letterSpacing, _emotion.numberInputTokens.lineHeight, _emotion.numberInputTokens.textBeforeMarginRight, _emotion.numberInputTokens.textAfterMarginLeft, _emotion.numberInputTokens.loaderSpinnerSize),
            m: (0, _emotion.css)(_templateObject5(), _emotion.numberInputTokens.rootMinWidth, _emotion.numberInputTokens.iconButtonHeight, _emotion.numberInputTokens.iconButtonWidth, _emotion.numberInputTokens.iconButtonPadding, _emotion.numberInputTokens.iconButtonFontFamily, _emotion.numberInputTokens.iconButtonFontSize, _emotion.numberInputTokens.iconButtonFontStyle, _emotion.numberInputTokens.iconButtonFontWeight, _emotion.numberInputTokens.iconButtonLetterSpacing, _emotion.numberInputTokens.iconButtonLineHeight, _emotion.numberInputTokens.iconButtonRadius, _emotion.numberInputTokens.iconButtonSegmentationRadius, _emotion.numberInputTokens.inputWrapperMargin, _emotion.numberInputTokens.inputWrapperBorderRadius, _emotion.numberInputTokens.textWrapperHeight, _emotion.numberInputTokens.textWrapperPadding, _emotion.numberInputTokens.fontFamily, _emotion.numberInputTokens.fontSize, _emotion.numberInputTokens.fontStyle, _emotion.numberInputTokens.fontWeight, _emotion.numberInputTokens.letterSpacing, _emotion.numberInputTokens.lineHeight, _emotion.numberInputTokens.textBeforeMarginRight, _emotion.numberInputTokens.textAfterMarginLeft, _emotion.numberInputTokens.loaderSpinnerSize),
            s: (0, _emotion.css)(_templateObject6(), _emotion.numberInputTokens.rootMinWidth, _emotion.numberInputTokens.iconButtonHeight, _emotion.numberInputTokens.iconButtonWidth, _emotion.numberInputTokens.iconButtonPadding, _emotion.numberInputTokens.iconButtonFontFamily, _emotion.numberInputTokens.iconButtonFontSize, _emotion.numberInputTokens.iconButtonFontStyle, _emotion.numberInputTokens.iconButtonFontWeight, _emotion.numberInputTokens.iconButtonLetterSpacing, _emotion.numberInputTokens.iconButtonLineHeight, _emotion.numberInputTokens.iconButtonRadius, _emotion.numberInputTokens.iconButtonSegmentationRadius, _emotion.numberInputTokens.inputWrapperMargin, _emotion.numberInputTokens.inputWrapperBorderRadius, _emotion.numberInputTokens.textWrapperHeight, _emotion.numberInputTokens.textWrapperPadding, _emotion.numberInputTokens.fontFamily, _emotion.numberInputTokens.fontSize, _emotion.numberInputTokens.fontStyle, _emotion.numberInputTokens.fontWeight, _emotion.numberInputTokens.letterSpacing, _emotion.numberInputTokens.lineHeight, _emotion.numberInputTokens.textBeforeMarginRight, _emotion.numberInputTokens.textAfterMarginLeft, _emotion.numberInputTokens.loaderSpinnerSize),
            xs: (0, _emotion.css)(_templateObject7(), _emotion.numberInputTokens.rootMinWidth, _emotion.numberInputTokens.iconButtonHeight, _emotion.numberInputTokens.iconButtonWidth, _emotion.numberInputTokens.iconButtonPadding, _emotion.numberInputTokens.iconButtonFontFamily, _emotion.numberInputTokens.iconButtonFontSize, _emotion.numberInputTokens.iconButtonFontStyle, _emotion.numberInputTokens.iconButtonFontWeight, _emotion.numberInputTokens.iconButtonLetterSpacing, _emotion.numberInputTokens.iconButtonLineHeight, _emotion.numberInputTokens.iconButtonRadius, _emotion.numberInputTokens.iconButtonSegmentationRadius, _emotion.numberInputTokens.inputWrapperMargin, _emotion.numberInputTokens.inputWrapperBorderRadius, _emotion.numberInputTokens.textWrapperHeight, _emotion.numberInputTokens.textWrapperPadding, _emotion.numberInputTokens.fontFamily, _emotion.numberInputTokens.fontSize, _emotion.numberInputTokens.fontStyle, _emotion.numberInputTokens.fontWeight, _emotion.numberInputTokens.letterSpacing, _emotion.numberInputTokens.lineHeight, _emotion.numberInputTokens.textBeforeMarginRight, _emotion.numberInputTokens.textAfterMarginLeft, _emotion.numberInputTokens.loaderSpinnerSize)
        },
        shape: {
            cornered: (0, _emotion.css)(_templateObject8()),
            pilled: (0, _emotion.css)(_templateObject9(), _emotion.numberInputTokens.iconButtonRadius)
        },
        inputBackgroundType: {
            fill: (0, _emotion.css)(_templateObject10(), _emotion.numberInputTokens.backgroundColor, _emotion.numberInputTokens.backgroundColorHover),
            clear: (0, _emotion.css)(_templateObject11(), _emotion.numberInputTokens.backgroundColor, _emotion.numberInputTokens.backgroundColorHover)
        },
        segmentation: {
            default: (0, _emotion.css)(_templateObject12()),
            segmented: (0, _emotion.css)(_templateObject13()),
            solid: (0, _emotion.css)(_templateObject14(), _emotion.numberInputTokens.iconButtonSegmentationRadius)
        },
        disabled: {
            true: (0, _emotion.css)(_templateObject15(), _emotion.numberInputTokens.disabledOpacity)
        }
    }
};
