"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 ActionContent () {
        return ActionContent;
    },
    get LeftContent () {
        return LeftContent;
    },
    get RightContent () {
        return RightContent;
    },
    get StyledContent () {
        return StyledContent;
    },
    get TabItemValue () {
        return TabItemValue;
    },
    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 StyledContent = _styledcomponents.default.div.withConfig({
    displayName: "VerticalTabItem.styles__StyledContent",
    componentId: "sc-276e9ba8-0"
})([
    `display:inline-block;width:fit-content;padding:0 var(`,
    `,var(`,
    `));`
], _tokens.tokens.itemContentPaddingClear, _tokens.tokens.itemContentPadding);
const TabItemValue = _styledcomponents.default.span.withConfig({
    displayName: "VerticalTabItem.styles__TabItemValue",
    componentId: "sc-276e9ba8-1"
})([
    `white-space:nowrap;color:var(`,
    `);font-family:var(`,
    `,var(`,
    `));font-size:var(`,
    `,var(`,
    `));font-style:var(`,
    `,var(`,
    `));font-weight:var(`,
    `,var(`,
    `));letter-spacing:var(`,
    `,var(`,
    `));line-height:var(`,
    `,var(`,
    `));`
], _tokens.tokens.itemValueColor, _tokens.tokens.valueFontFamily, _tokens.tokens.fontFamily, _tokens.tokens.valueFontSize, _tokens.tokens.fontSize, _tokens.tokens.valueFontStyle, _tokens.tokens.fontStyle, _tokens.tokens.valueFontWeight, _tokens.tokens.fontWeight, _tokens.tokens.valueLetterSpacing, _tokens.tokens.letterSpacing, _tokens.tokens.valueLineHeight, _tokens.tokens.lineHeight);
const RightContent = _styledcomponents.default.div.withConfig({
    displayName: "VerticalTabItem.styles__RightContent",
    componentId: "sc-276e9ba8-2"
})([
    `display:flex;color:inherit;&:hover{color:inherit;}`
]);
const LeftContent = _styledcomponents.default.div.withConfig({
    displayName: "VerticalTabItem.styles__LeftContent",
    componentId: "sc-276e9ba8-3"
})([
    `display:flex;color:inherit;&:hover{color:inherit;}`
]);
const ActionContent = _styledcomponents.default.div.withConfig({
    displayName: "VerticalTabItem.styles__ActionContent",
    componentId: "sc-276e9ba8-4"
})([
    `display:flex;margin-left:var(`,
    `);`
], _tokens.tokens.actionContentMarginLeft);
const base = (0, _styledcomponents.css)([
    `position:relative;display:flex;align-items:center;justify-content:flex-start;gap:var(`,
    `);padding:var(`,
    `);appearance:none;border:none;outline:none;cursor:var(`,
    `,var(`,
    `));white-space:nowrap;box-sizing:border-box;-webkit-tap-highlight-color:transparent;`,
    `;&.`,
    `{`,
    `{overflow:hidden;text-overflow:ellipsis;}`,
    `{overflow:hidden;text-overflow:ellipsis;}}`
], _tokens.tokens.itemContentGap, _tokens.tokens.itemPaddingOrientationVertical, _tokens.tokens.itemCursorOverNotSelected, _tokens.tokens.itemCursor, (0, _mixins.addFocus)({
    outlineSize: '0.063rem',
    outlineOffset: '-0.063rem',
    outlineColor: `var(${_tokens.tokens.outlineFocusColor})`,
    outlineRadius: 'var(--border-radius-m , calc(var(--plasma_private-outline-radius) + 0.063rem))',
    customFocusRules: `
            &.focus-visible:focus,
            &[data-focus-visible-added] {
                &::before {
                    outline-color: var(${_tokens.tokens.outlineFocusColor});
                }
            }
        `
}), _tokens.classes.tabsTruncate, StyledContent, TabItemValue);
