"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 StyledLeftArrow () {
        return StyledLeftArrow;
    },
    get StyledRightArrow () {
        return StyledRightArrow;
    },
    get StyledTopArrow () {
        return StyledTopArrow;
    },
    get base () {
        return base;
    }
});
const _styledcomponents = /*#__PURE__*/ _interop_require_wildcard(require("styled-components"));
const _mixins = require("../../../../mixins");
const _tokens = require("../../tokens");
function _getRequireWildcardCache(nodeInterop) {
    if (typeof WeakMap !== "function") return null;
    var cacheBabelInterop = new WeakMap();
    var cacheNodeInterop = new WeakMap();
    return (_getRequireWildcardCache = function(nodeInterop) {
        return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
    })(nodeInterop);
}
function _interop_require_wildcard(obj, nodeInterop) {
    if (!nodeInterop && obj && obj.__esModule) {
        return obj;
    }
    if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
        return {
            default: obj
        };
    }
    var cache = _getRequireWildcardCache(nodeInterop);
    if (cache && cache.has(obj)) {
        return cache.get(obj);
    }
    var newObj = {
        __proto__: null
    };
    var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
    for(var key in obj){
        if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
            var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
            if (desc && (desc.get || desc.set)) {
                Object.defineProperty(newObj, key, desc);
            } else {
                newObj[key] = obj[key];
            }
        }
    }
    newObj.default = obj;
    if (cache) {
        cache.set(obj, newObj);
    }
    return newObj;
}
const base = (0, _styledcomponents.css)([
    `display:inline-flex;align-items:center;max-width:100%;&.`,
    `{max-width:none;max-height:100%;}border-radius:var(`,
    `);`
], _tokens.classes.segmentVertical, _tokens.tokens.groupBorderRadius);
const StyledContent = _styledcomponents.default.div.withConfig({
    displayName: "SegmentGroup.styles__StyledContent",
    componentId: "sc-d173bafc-0"
})([
    `display:inline-flex;flex-direction:row;align-items:center;max-width:100%;`
]);
const StyledContentWrapper = _styledcomponents.default.div.withConfig({
    displayName: "SegmentGroup.styles__StyledContentWrapper",
    componentId: "sc-d173bafc-1"
})([
    `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;&.`,
    `{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;}`,
    `{max-width:none;}}`
], _tokens.classes.segmentGroupClipScroll, StyledContent);
const StyledArrow = _styledcomponents.default.button.withConfig({
    displayName: "SegmentGroup.styles__StyledArrow",
    componentId: "sc-d173bafc-2"
})([
    `display:flex;cursor:pointer;border:none;background-color:transparent;outline:none;`,
    `;&[disabled]{cursor:not-allowed;}`
], (0, _mixins.addFocus)({
    outlineSize: '0.063rem',
    outlineOffset: '-0.125rem',
    outlineColor: `var(${_tokens.tokens.outlineFocusColor})`,
    outlineRadius: 'calc(var(--plasma_private-outline-radius) - 0.063rem)'
}));
const StyledLeftArrow = (0, _styledcomponents.default)(StyledArrow).withConfig({
    displayName: "SegmentGroup.styles__StyledLeftArrow",
    componentId: "sc-d173bafc-3"
})([
    `padding:var(`,
    `);padding-right:0;margin-right:0.1875rem;margin-left:0.125rem;`
], _tokens.tokens.groupArrowPadding);
const StyledRightArrow = (0, _styledcomponents.default)(StyledArrow).withConfig({
    displayName: "SegmentGroup.styles__StyledRightArrow",
    componentId: "sc-d173bafc-4"
})([
    `padding:var(`,
    `);padding-left:0;margin-left:0.1875rem;margin-right:0.125rem;`
], _tokens.tokens.groupArrowPadding);
const StyledTopArrow = (0, _styledcomponents.default)(StyledArrow).withConfig({
    displayName: "SegmentGroup.styles__StyledTopArrow",
    componentId: "sc-d173bafc-5"
})([
    `padding:var(`,
    `);padding-bottom:0;margin-bottom:0.1875rem;`
], _tokens.tokens.groupVerticalArrowPadding);
const StyledBottomArrow = (0, _styledcomponents.default)(StyledArrow).withConfig({
    displayName: "SegmentGroup.styles__StyledBottomArrow",
    componentId: "sc-d173bafc-6"
})([
    `padding:var(`,
    `);padding-top:0;margin-top:0.1875rem;`
], _tokens.tokens.groupVerticalArrowPadding);
