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(--inverse-text-primary);\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--inverse-text-secondary);\n                ",
        ": var(--surface-solid-default);\n                ",
        ": var(",
        ");\n                ",
        ": var(--inverse-text-primary-hover);\n                ",
        ": var(--inverse-text-primary-active);\n            "
    ]);
    _templateObject = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject1() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--inverse-text-secondary);\n                ",
        ": var(--surface-solid-default);\n                ",
        ": var(",
        ");\n                ",
        ": var(--inverse-text-primary-hover);\n                ",
        ": var(--inverse-text-primary-active);\n            "
    ]);
    _templateObject1 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject2() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-dark-text-secondary);\n                ",
        ": var(--surface-accent);\n                ",
        ": var(",
        ");\n                ",
        ": var(--surface-accent-hover);\n                ",
        ": var(--surface-accent-active);\n            "
    ]);
    _templateObject2 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject3() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-primary);\n                ",
        ": var(--text-primary);\n                ",
        ": var(--text-primary);\n                ",
        ": var(--text-secondary);\n                ",
        ": var(--surface-transparent-secondary);\n                ",
        ": var(",
        ");\n                ",
        ": var(--surface-transparent-secondary-hover);\n                ",
        ": var(--surface-transparent-secondary-active);\n            "
    ]);
    _templateObject3 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject4() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-primary);\n                ",
        ": var(--text-primary);\n                ",
        ": var(--text-primary);\n                ",
        ": var(--text-secondary);\n                ",
        ": var(--surface-clear);\n                ",
        ": var(",
        ");\n                ",
        ": var(--surface-transparent-secondary-hover);\n                ",
        ": var(--surface-transparent-secondary-active);\n            "
    ]);
    _templateObject4 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject5() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-dark-text-secondary);\n                ",
        ": var(--surface-positive);\n                ",
        ": var(",
        ");\n                ",
        ": var(--surface-positive-hover);\n                ",
        ": var(--surface-positive-active);\n            "
    ]);
    _templateObject5 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject6() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-dark-text-secondary);\n                ",
        ": var(--surface-warning);\n                ",
        ": var(",
        ");\n                ",
        ": var(--surface-warning-hover);\n                ",
        ": var(--surface-warning-active);\n            "
    ]);
    _templateObject6 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject7() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-dark-text-secondary);\n                ",
        ": var(--surface-negative);\n                ",
        ": var(",
        ");\n                ",
        ": var(--surface-negative-hover);\n                ",
        ": var(--surface-negative-active);\n            "
    ]);
    _templateObject7 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject8() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-dark-text-secondary);\n                ",
        ": var(--on-light-surface-transparent-deep);\n                ",
        ": var(",
        ");\n                ",
        ": var(--on-dark-text-primary-hover);\n                ",
        ": var(--on-dark-text-primary-active);\n            "
    ]);
    _templateObject8 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject9() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-dark-text-secondary);\n                ",
        ": var(--on-light-surface-solid-default);\n                ",
        ": var(",
        ");\n                ",
        ": var(--on-dark-text-primary-hover);\n                ",
        ": var(--on-dark-text-primary-active);\n            "
    ]);
    _templateObject9 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject10() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--on-light-text-primary);\n                ",
        ": var(--on-light-text-primary);\n                ",
        ": var(--on-light-text-primary);\n                ",
        ": var(--on-light-text-secondary);\n                ",
        ": var(--on-dark-surface-solid-default);\n                ",
        ": var(",
        ");\n                ",
        ": var(--on-light-text-primary-hover);\n                ",
        ": var(--on-light-text-primary-active);\n            "
    ]);
    _templateObject10 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject11() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 4rem;\n                ",
        ": 12.5rem;\n                ",
        ": 1.75rem;\n                ",
        ": 1rem;\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                ",
        ": 1.5rem;\n                ",
        ": inherit;\n\n                ",
        ": 0 0.625rem 0 -0.125rem;\n                ",
        ": 0 -0.125rem 0 0.625rem;\n                ",
        ": 0 0 0 0.25rem;\n                ",
        ": 0 0 0 0.5rem;\n                ",
        ": 0.375rem;\n            "
    ]);
    _templateObject11 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject12() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 3.5rem;\n                ",
        ": 12.5rem;\n                ",
        ": 1.5rem;\n                ",
        ": 0.875rem;\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                ",
        ": 1.375rem;\n                ",
        ": inherit;\n\n                ",
        ": 0 0.5rem 0 -0.125rem;\n                ",
        ": 0 -0.125rem 0 0.5rem;\n                ",
        ": 0 0 0 0.25rem;\n                ",
        ": 0 0 0 0.5rem;\n                ",
        ": 0.375rem;\n            "
    ]);
    _templateObject12 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject13() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 3rem;\n                ",
        ": 11.25rem;\n                ",
        ": 1.25rem;\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-bold-font-weight);\n                ",
        ": var(--plasma-typo-body-m-letter-spacing);\n                ",
        ": var(--plasma-typo-body-m-line-height);\n\n                ",
        ": 1.375rem;\n                ",
        ": inherit;\n\n                ",
        ": 0 0.375rem 0 -0.125rem;\n                ",
        ": 0 -0.125rem 0 0.375rem;\n                ",
        ": 0 0 0 0.25rem;\n                ",
        ": 0 0 0 0.375rem;\n                ",
        ": 0.25rem;\n            "
    ]);
    _templateObject13 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject14() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 2.5rem;\n                ",
        ": 11.25rem;\n                ",
        ": 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-bold-font-weight);\n                ",
        ": var(--plasma-typo-body-s-letter-spacing);\n                ",
        ": var(--plasma-typo-body-s-line-height);\n\n                ",
        ": 1.375rem;\n                ",
        ": inherit;\n\n                ",
        ": 0 0.25rem 0 -0.125rem;\n                ",
        ": 0 -0.125rem 0 0.25rem;\n                ",
        ": 0 0 0 0.25rem;\n                ",
        ": 0 0 0 0.25rem;\n                ",
        ": 0.25rem;\n            "
    ]);
    _templateObject14 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject15() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 2rem;\n                ",
        ": 10rem;\n                ",
        ": 0.75rem;\n                ",
        ": 0.5rem;\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                ",
        ": 1rem;\n                ",
        ": inherit;\n\n                ",
        ": 0 0.25rem 0 -0.125rem;\n                ",
        ": 0 -0.125rem 0 0.25rem;\n                ",
        ": 0 0 0 0.25rem;\n                ",
        ": 0 0 0 0.25rem;\n                ",
        ": 0.125rem;\n            "
    ]);
    _templateObject15 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject16() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 1.5rem;\n                ",
        ": 8.75rem;\n                ",
        ": 0.625rem;\n                ",
        ": 0.375rem;\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.75rem;\n                ",
        ": inherit;\n\n                ",
        ": 0 0.25rem 0 -0.125rem;\n                ",
        ": 0 -0.125rem 0 0.25rem;\n                ",
        ": 0 0rem 0 0.25rem;\n                ",
        ": 0 0 0 0.25rem;\n                ",
        ": 0.125rem;\n            "
    ]);
    _templateObject16 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject17() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.4;\n            "
    ]);
    _templateObject17 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject18() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--surface-accent);\n            "
    ]);
    _templateObject18 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject19() {
    var data = _tagged_template_literal([
        ""
    ]);
    _templateObject19 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject20() {
    var data = _tagged_template_literal([
        ""
    ]);
    _templateObject20 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject21() {
    var data = _tagged_template_literal([
        ""
    ]);
    _templateObject21 = function _templateObject() {
        return data;
    };
    return data;
}
import { css, buttonTokens } from '@salutejs/plasma-new-hope/styled-components';
export var config = {
    defaults: {
        view: 'default',
        focused: 'true',
        size: 'm'
    },
    variations: {
        view: {
            default: css(_templateObject(), buttonTokens.buttonColor, buttonTokens.buttonTextColor, buttonTokens.buttonIconColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonColorActive),
            /**
             * @deprecated
             * использовать `default`
             */ primary: css(_templateObject1(), buttonTokens.buttonColor, buttonTokens.buttonTextColor, buttonTokens.buttonIconColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonColorActive),
            accent: css(_templateObject2(), buttonTokens.buttonColor, buttonTokens.buttonTextColor, buttonTokens.buttonIconColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonBackgroundColorActive),
            secondary: css(_templateObject3(), buttonTokens.buttonColor, buttonTokens.buttonTextColor, buttonTokens.buttonIconColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonBackgroundColorActive),
            clear: css(_templateObject4(), buttonTokens.buttonColor, buttonTokens.buttonTextColor, buttonTokens.buttonIconColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonBackgroundColorActive),
            success: css(_templateObject5(), buttonTokens.buttonColor, buttonTokens.buttonTextColor, buttonTokens.buttonIconColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonBackgroundColorActive),
            warning: css(_templateObject6(), buttonTokens.buttonColor, buttonTokens.buttonTextColor, buttonTokens.buttonIconColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonBackgroundColorActive),
            critical: css(_templateObject7(), buttonTokens.buttonColor, buttonTokens.buttonTextColor, buttonTokens.buttonIconColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonBackgroundColorActive),
            dark: css(_templateObject8(), buttonTokens.buttonColor, buttonTokens.buttonTextColor, buttonTokens.buttonIconColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonColorActive),
            black: css(_templateObject9(), buttonTokens.buttonColor, buttonTokens.buttonTextColor, buttonTokens.buttonIconColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonColorActive),
            white: css(_templateObject10(), buttonTokens.buttonColor, buttonTokens.buttonTextColor, buttonTokens.buttonIconColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonLoadingBackgroundColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonColorActive)
        },
        size: {
            xl: css(_templateObject11(), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonPadding, buttonTokens.buttonRadius, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin, buttonTokens.buttonAdditionalContentMargin, buttonTokens.buttonAdditionalContentMarginRightWidthValue),
            l: css(_templateObject12(), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonPadding, buttonTokens.buttonRadius, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin, buttonTokens.buttonAdditionalContentMargin, buttonTokens.buttonAdditionalContentMarginRightWidthValue),
            m: css(_templateObject13(), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonPadding, buttonTokens.buttonRadius, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin, buttonTokens.buttonAdditionalContentMargin, buttonTokens.buttonAdditionalContentMarginRightWidthValue),
            s: css(_templateObject14(), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonPadding, buttonTokens.buttonRadius, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin, buttonTokens.buttonAdditionalContentMargin, buttonTokens.buttonAdditionalContentMarginRightWidthValue),
            xs: css(_templateObject15(), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonPadding, buttonTokens.buttonRadius, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonValueMargin, buttonTokens.buttonAdditionalContentMargin, buttonTokens.buttonAdditionalContentMarginRightWidthValue),
            xxs: css(_templateObject16(), buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonPadding, buttonTokens.buttonRadius, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor, buttonTokens.buttonLeftContentMargin, buttonTokens.buttonRightContentMargin, buttonTokens.buttonAdditionalContentMargin, buttonTokens.buttonValueMargin, buttonTokens.buttonAdditionalContentMarginRightWidthValue)
        },
        disabled: {
            true: css(_templateObject17(), buttonTokens.buttonDisabledOpacity)
        },
        focused: {
            true: css(_templateObject18(), buttonTokens.buttonFocusColor)
        },
        stretching: {
            auto: css(_templateObject19()),
            filled: css(_templateObject20()),
            fixed: css(_templateObject21())
        }
    }
};
