"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get StyledArrow () {
        return StyledArrow;
    },
    get StyledBottomArrow () {
        return StyledBottomArrow;
    },
    get StyledContent () {
        return StyledContent;
    },
    get StyledContentWrapper () {
        return StyledContentWrapper;
    },
    get StyledDivider () {
        return StyledDivider;
    },
    get StyledLeftArrow () {
        return StyledLeftArrow;
    },
    get StyledRightArrow () {
        return StyledRightArrow;
    },
    get StyledTopArrow () {
        return StyledTopArrow;
    },
    get base () {
        return base;
    }
});
const _styled = /*#__PURE__*/ _interop_require_default(require("@emotion/styled"));
const _react = require("@emotion/react");
const _engines = require("../../../../engines");
const _mixins = require("../../../../mixins");
const _tokens = require("../../tokens");
const _Divider = require("../../../Divider");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const mergedDividerConfig = (0, _engines.mergeConfig)(_Divider.dividerConfig);
const Divider = (0, _engines.component)(mergedDividerConfig);
const StyledDivider = /*#__PURE__*/ (0, _styled.default)(Divider, {
    target: "ewb7hys0",
    label: "StyledDivider"
})(_Divider.dividerTokens.baseSideSize, ":var(", _tokens.tokens.dividerWidth, ",0.0625rem);", _Divider.dividerTokens.borderRadius, ":var(", _tokens.tokens.dividerBorderRadius, ",0.0625rem);", _Divider.dividerTokens.background, ":var(", _tokens.tokens.dividerColor, ");margin:var(", _tokens.tokens.dividerMargin, ");.", _tokens.classes.segmentVertical, " &{width:calc(100% - var(", _tokens.tokens.dividerVerticalCompensation, ",1rem));margin:var(", _tokens.tokens.dividerVerticalMargin, ");}");
const base = (0, /*#__PURE__*/ _react.css)("display:inline-flex;align-items:center;max-width:100%;&.", _tokens.classes.segmentVertical, "{max-width:none;max-height:100%;}border-radius:var(", _tokens.tokens.groupBorderRadius, ");", StyledDivider, ":first-child{display:none;}& .", _tokens.classes.selectedSegmentItem, " + ", StyledDivider, "{display:none;}& ", StyledDivider, ":has(+ .", _tokens.classes.selectedSegmentItem, "){display:none;}", "base");
const StyledContent = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "ewb7hys1",
    label: "StyledContent"
})("display:inline-flex;flex-direction:row;align-items:center;max-width:100%;");
const StyledContentWrapper = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "ewb7hys2",
    label: "StyledContentWrapper"
})("position:relative;height:100%;width:100%;display:flex;align-items:center;--plasma_private-clip-outline-offset:-0.063rem;--plasma_private-clip-outline-radius:0.063rem;&.", _tokens.classes.segmentGroupClipScroll, "{overflow:scroll;scroll-padding:0.25rem;overscroll-behavior:contain;--plasma_private-clip-outline-offset:0.063rem;--plasma_private-clip-outline-radius:-0.063rem;scrollbar-width:none;::-webkit-scrollbar{display:none;}", StyledContent, "{max-width:none;}}");
const StyledArrow = (0, /*#__PURE__*/ _styled.default)("button", {
    target: "ewb7hys3",
    label: "StyledArrow"
})("display:flex;cursor:pointer;border:none;background-color:transparent;outline:none;", (0, _mixins.addFocus)({
    outlineSize: '0.063rem',
    outlineOffset: '0',
    outlineColor: `var(${_tokens.tokens.outlineFocusColor})`,
    outlineRadius: 'calc(var(--plasma_private-outline-radius) - 0.063rem)'
}), ";&[disabled]{cursor:not-allowed;}");
const StyledLeftArrow = /*#__PURE__*/ (0, _styled.default)(StyledArrow, {
    target: "ewb7hys4",
    label: "StyledLeftArrow"
})("padding:var(", _tokens.tokens.groupArrowPadding, ");padding-right:0;margin-right:0.1875rem;margin-left:0.125rem;");
const StyledRightArrow = /*#__PURE__*/ (0, _styled.default)(StyledArrow, {
    target: "ewb7hys5",
    label: "StyledRightArrow"
})("padding:var(", _tokens.tokens.groupArrowPadding, ");padding-left:0;margin-left:0.1875rem;margin-right:0.125rem;");
const StyledTopArrow = /*#__PURE__*/ (0, _styled.default)(StyledArrow, {
    target: "ewb7hys6",
    label: "StyledTopArrow"
})("padding:var(", _tokens.tokens.groupVerticalArrowPadding, ");padding-bottom:0;margin-bottom:0.1875rem;");
const StyledBottomArrow = /*#__PURE__*/ (0, _styled.default)(StyledArrow, {
    target: "ewb7hys7",
    label: "StyledBottomArrow"
})("padding:var(", _tokens.tokens.groupVerticalArrowPadding, ");padding-top:0;margin-top:0.1875rem;");
