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);\n                ",
        ": var(--surface-solid-default-hover);\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--surface-solid-default-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);\n                ",
        ": var(--surface-solid-default-hover);\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--surface-solid-default-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(--on-dark-text-primary);\n                ",
        ": var(--surface-accent-hover);\n                ",
        ": var(--on-dark-text-primary);\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(--text-primary);\n                ",
        ": var(--surface-transparent-secondary-hover);\n                ",
        ": var(--text-primary);\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(--text-primary-hover);\n                ",
        ": var(--surface-clear);\n                ",
        ": var(--text-primary-active);\n                ",
        ": var(--surface-clear);\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(--on-dark-text-primary);\n                ",
        ": var(--surface-positive-hover);\n                ",
        ": var(--on-dark-text-primary);\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(--on-dark-text-primary);\n                ",
        ": var(--surface-warning-hover);\n                ",
        ": var(--on-dark-text-primary);\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(--on-dark-text-primary);\n                ",
        ": var(--surface-negative-hover);\n                ",
        ": var(--on-dark-text-primary);\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);\n                ",
        ": var(--on-light-surface-transparent-deep-hover);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-light-surface-transparent-deep-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);\n                ",
        ": var(--on-light-surface-solid-default-hover);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-light-surface-solid-default-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);\n                ",
        ": var(--on-dark-surface-solid-default-hover);\n                ",
        ": var(--on-light-text-primary);\n                ",
        ": var(--on-dark-surface-solid-default-active);\n            "
    ]);
    _templateObject10 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject11() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 1rem;\n                ",
        ": 0.5rem;\n                ",
        ": 1rem;\n\n                ",
        ": 4rem;\n                ",
        ": 1.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-bold-font-weight);\n                ",
        ": var(--plasma-typo-body-l-letter-spacing);\n                ",
        ": var(--plasma-typo-body-l-line-height);\n            "
    ]);
    _templateObject11 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject12() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.875rem;\n                ",
        ": 0.375rem;\n                ",
        ": 0.875rem;\n\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            "
    ]);
    _templateObject12 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject13() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.25rem;\n                ",
        ": 0.75rem;\n                ",
        ": 0.75rem;\n\n                ",
        ": 3rem;\n                ",
        ": 1.25rem;\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-bold-font-weight);\n                ",
        ": var(--plasma-typo-body-m-letter-spacing);\n                ",
        ": var(--plasma-typo-body-m-line-height);\n            "
    ]);
    _templateObject13 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject14() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.25rem;\n                ",
        ": 0.625rem;\n                ",
        ": 0.625rem;\n\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            "
    ]);
    _templateObject14 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject15() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.125rem;\n                ",
        ": 0.5rem;\n                ",
        ": 0.5rem;\n\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            "
    ]);
    _templateObject15 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject16() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.125rem;\n                ",
        ": 0.375rem;\n                ",
        ": 0.375rem;\n\n                ",
        ": 1.5rem;\n                ",
        ": 0.625rem;\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            "
    ]);
    _templateObject16 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject17() {
    var data = _tagged_template_literal([
        "\n                ",
        ": row;\n            "
    ]);
    _templateObject17 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject18() {
    var data = _tagged_template_literal([
        "\n                ",
        ": column;\n            "
    ]);
    _templateObject18 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject19() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0;\n            "
    ]);
    _templateObject19 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject20() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.125rem;\n            "
    ]);
    _templateObject20 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject21() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.5rem;\n            "
    ]);
    _templateObject21 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject22() {
    var data = _tagged_template_literal([
        ""
    ]);
    _templateObject22 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject23() {
    var data = _tagged_template_literal([
        ""
    ]);
    _templateObject23 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject24() {
    var data = _tagged_template_literal([
        ""
    ]);
    _templateObject24 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject25() {
    var data = _tagged_template_literal([
        ""
    ]);
    _templateObject25 = function _templateObject() {
        return data;
    };
    return data;
}
import { css, buttonGroupTokens } from '@salutejs/plasma-new-hope/styled-components';
export var config = {
    defaults: {
        view: 'default',
        size: 'm'
    },
    variations: {
        view: {
            default: css(_templateObject(), buttonGroupTokens.buttonColor, buttonGroupTokens.buttonTextColor, buttonGroupTokens.buttonIconColor, buttonGroupTokens.buttonValueColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonLoadingBackgroundColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
            /**
             * @deprecated
             * использовать `default`
             */ primary: css(_templateObject1(), buttonGroupTokens.buttonColor, buttonGroupTokens.buttonTextColor, buttonGroupTokens.buttonIconColor, buttonGroupTokens.buttonValueColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonLoadingBackgroundColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
            accent: css(_templateObject2(), buttonGroupTokens.buttonColor, buttonGroupTokens.buttonTextColor, buttonGroupTokens.buttonIconColor, buttonGroupTokens.buttonValueColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonLoadingBackgroundColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
            secondary: css(_templateObject3(), buttonGroupTokens.buttonColor, buttonGroupTokens.buttonTextColor, buttonGroupTokens.buttonIconColor, buttonGroupTokens.buttonValueColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonLoadingBackgroundColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
            clear: css(_templateObject4(), buttonGroupTokens.buttonColor, buttonGroupTokens.buttonTextColor, buttonGroupTokens.buttonIconColor, buttonGroupTokens.buttonValueColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonLoadingBackgroundColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
            success: css(_templateObject5(), buttonGroupTokens.buttonColor, buttonGroupTokens.buttonTextColor, buttonGroupTokens.buttonIconColor, buttonGroupTokens.buttonValueColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonLoadingBackgroundColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
            warning: css(_templateObject6(), buttonGroupTokens.buttonColor, buttonGroupTokens.buttonTextColor, buttonGroupTokens.buttonIconColor, buttonGroupTokens.buttonValueColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonLoadingBackgroundColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
            critical: css(_templateObject7(), buttonGroupTokens.buttonColor, buttonGroupTokens.buttonTextColor, buttonGroupTokens.buttonIconColor, buttonGroupTokens.buttonValueColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonLoadingBackgroundColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
            dark: css(_templateObject8(), buttonGroupTokens.buttonColor, buttonGroupTokens.buttonTextColor, buttonGroupTokens.buttonIconColor, buttonGroupTokens.buttonValueColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonLoadingBackgroundColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
            black: css(_templateObject9(), buttonGroupTokens.buttonColor, buttonGroupTokens.buttonTextColor, buttonGroupTokens.buttonIconColor, buttonGroupTokens.buttonValueColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonLoadingBackgroundColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
            white: css(_templateObject10(), buttonGroupTokens.buttonColor, buttonGroupTokens.buttonTextColor, buttonGroupTokens.buttonIconColor, buttonGroupTokens.buttonValueColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonLoadingBackgroundColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive)
        },
        size: {
            xl: css(_templateObject11(), buttonGroupTokens.buttonDefaultRadius, buttonGroupTokens.buttonSegmentedRadius, buttonGroupTokens.buttonSideRadius, buttonGroupTokens.buttonHeight, buttonGroupTokens.buttonPadding, buttonGroupTokens.buttonFontFamily, buttonGroupTokens.buttonFontSize, buttonGroupTokens.buttonFontStyle, buttonGroupTokens.buttonFontWeight, buttonGroupTokens.buttonLetterSpacing, buttonGroupTokens.buttonLineHeight),
            l: css(_templateObject12(), buttonGroupTokens.buttonDefaultRadius, buttonGroupTokens.buttonSegmentedRadius, buttonGroupTokens.buttonSideRadius, buttonGroupTokens.buttonHeight, buttonGroupTokens.buttonPadding, buttonGroupTokens.buttonFontFamily, buttonGroupTokens.buttonFontSize, buttonGroupTokens.buttonFontStyle, buttonGroupTokens.buttonFontWeight, buttonGroupTokens.buttonLetterSpacing, buttonGroupTokens.buttonLineHeight),
            m: css(_templateObject13(), buttonGroupTokens.buttonSegmentedRadius, buttonGroupTokens.buttonDefaultRadius, buttonGroupTokens.buttonSideRadius, buttonGroupTokens.buttonHeight, buttonGroupTokens.buttonPadding, buttonGroupTokens.buttonFontFamily, buttonGroupTokens.buttonFontSize, buttonGroupTokens.buttonFontStyle, buttonGroupTokens.buttonFontWeight, buttonGroupTokens.buttonLetterSpacing, buttonGroupTokens.buttonLineHeight),
            s: css(_templateObject14(), buttonGroupTokens.buttonSegmentedRadius, buttonGroupTokens.buttonSideRadius, buttonGroupTokens.buttonDefaultRadius, buttonGroupTokens.buttonHeight, buttonGroupTokens.buttonPadding, buttonGroupTokens.buttonFontFamily, buttonGroupTokens.buttonFontSize, buttonGroupTokens.buttonFontStyle, buttonGroupTokens.buttonFontWeight, buttonGroupTokens.buttonLetterSpacing, buttonGroupTokens.buttonLineHeight),
            xs: css(_templateObject15(), buttonGroupTokens.buttonSegmentedRadius, buttonGroupTokens.buttonDefaultRadius, buttonGroupTokens.buttonSideRadius, buttonGroupTokens.buttonHeight, buttonGroupTokens.buttonPadding, buttonGroupTokens.buttonFontFamily, buttonGroupTokens.buttonFontSize, buttonGroupTokens.buttonFontStyle, buttonGroupTokens.buttonFontWeight, buttonGroupTokens.buttonLetterSpacing, buttonGroupTokens.buttonLineHeight),
            xxs: css(_templateObject16(), buttonGroupTokens.buttonSegmentedRadius, buttonGroupTokens.buttonDefaultRadius, buttonGroupTokens.buttonSideRadius, buttonGroupTokens.buttonHeight, buttonGroupTokens.buttonPadding, buttonGroupTokens.buttonFontFamily, buttonGroupTokens.buttonFontSize, buttonGroupTokens.buttonFontStyle, buttonGroupTokens.buttonFontWeight, buttonGroupTokens.buttonLetterSpacing, buttonGroupTokens.buttonLineHeight)
        },
        orientation: {
            horizontal: css(_templateObject17(), buttonGroupTokens.buttonGroupOrientation),
            vertical: css(_templateObject18(), buttonGroupTokens.buttonGroupOrientation)
        },
        gap: {
            none: css(_templateObject19(), buttonGroupTokens.buttonGroupItemsGap),
            dense: css(_templateObject20(), buttonGroupTokens.buttonGroupItemsGap),
            wide: css(_templateObject21(), buttonGroupTokens.buttonGroupItemsGap)
        },
        shape: {
            segmented: css(_templateObject22()),
            default: css(_templateObject23())
        },
        stretching: {
            auto: css(_templateObject24()),
            filled: css(_templateObject25())
        }
    }
};
