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-secondary);\n                ",
        ": transparent;\n                ",
        ": var(--text-accent);\n            "
    ]);
    _templateObject = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject1() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-secondary);\n                ",
        ": transparent;\n                ",
        ": var(--text-accent);\n            "
    ]);
    _templateObject1 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject2() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.625rem;\n                ",
        ": 1.125rem;\n                ",
        ": auto;\n                ",
        ": auto;\n                ",
        ": 0.25rem 0.75rem;\n                ",
        ": 0.75rem 0;\n            "
    ]);
    _templateObject2 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject3() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.75rem;\n                ",
        ": 1.375rem;\n                ",
        ": auto;\n                ",
        ": auto;\n                ",
        ": 0.5rem 0.875rem;\n                ",
        ": 0.875rem 0;\n            "
    ]);
    _templateObject3 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject4() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.875rem;\n                ",
        ": 1.625rem;\n                ",
        ": auto;\n                ",
        ": auto;\n                ",
        ": 0.75rem 1.25rem;\n                ",
        ": 1.25rem 0;\n            "
    ]);
    _templateObject4 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject5() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 1rem;\n                ",
        ": 1.875rem;\n                ",
        ": auto;\n                ",
        ": auto;\n                ",
        ": 1rem 1.375rem;\n                ",
        ": 1.375rem 0;\n            "
    ]);
    _templateObject5 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject6() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 1.125rem;\n                // NOTE: change on token when added\n                ",
        ": 1000px;\n                ",
        ": auto;\n                ",
        ": auto;\n                ",
        ": 1.25rem 1.5rem;\n                ",
        ": 1.5rem 0;\n            "
    ]);
    _templateObject6 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject7() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.4;\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([
        ""
    ]);
    _templateObject9 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject10() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--surface-transparent-secondary);\n            "
    ]);
    _templateObject10 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject11() {
    var data = _tagged_template_literal([
        ""
    ]);
    _templateObject11 = function _templateObject() {
        return data;
    };
    return data;
}
import { css, segmentTokens } from '@salutejs/plasma-new-hope/styled-components';
export var config = {
    defaults: {
        view: 'clear',
        size: 'xs'
    },
    variations: {
        view: {
            clear: css(_templateObject(), segmentTokens.arrowColor, segmentTokens.groupBackgroundColor, segmentTokens.outlineFocusColor),
            filled: css(_templateObject1(), segmentTokens.arrowColor, segmentTokens.groupBackgroundColor, segmentTokens.outlineFocusColor)
        },
        size: {
            xs: css(_templateObject2(), segmentTokens.groupBorderRadius, segmentTokens.groupPilledBorderRadius, segmentTokens.groupWidth, segmentTokens.groupHeight, segmentTokens.groupArrowPadding, segmentTokens.groupVerticalArrowPadding),
            s: css(_templateObject3(), segmentTokens.groupBorderRadius, segmentTokens.groupPilledBorderRadius, segmentTokens.groupWidth, segmentTokens.groupHeight, segmentTokens.groupArrowPadding, segmentTokens.groupVerticalArrowPadding),
            m: css(_templateObject4(), segmentTokens.groupBorderRadius, segmentTokens.groupPilledBorderRadius, segmentTokens.groupWidth, segmentTokens.groupHeight, segmentTokens.groupArrowPadding, segmentTokens.groupVerticalArrowPadding),
            l: css(_templateObject5(), segmentTokens.groupBorderRadius, segmentTokens.groupPilledBorderRadius, segmentTokens.groupWidth, segmentTokens.groupHeight, segmentTokens.groupArrowPadding, segmentTokens.groupVerticalArrowPadding),
            xl: css(_templateObject6(), segmentTokens.groupBorderRadius, segmentTokens.groupPilledBorderRadius, segmentTokens.groupWidth, segmentTokens.groupHeight, segmentTokens.groupArrowPadding, segmentTokens.groupVerticalArrowPadding)
        },
        disabled: {
            true: css(_templateObject7(), segmentTokens.disabledOpacity)
        },
        pilled: {
            true: css(_templateObject8())
        },
        stretch: {
            true: css(_templateObject9())
        },
        filledBackground: {
            true: css(_templateObject10(), segmentTokens.groupFilledBackgroundColor)
        },
        orientation: {
            vertical: css(_templateObject11())
        }
    }
};
