"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 CustomScrollbar () {
        return CustomScrollbar;
    },
    get ScrollbarThumb () {
        return ScrollbarThumb;
    },
    get ScrollbarTrack () {
        return ScrollbarTrack;
    },
    get StyledEmpty () {
        return StyledEmpty;
    },
    get StyledRoot () {
        return StyledRoot;
    },
    get StyledTimeColumn () {
        return StyledTimeColumn;
    },
    get StyledTimeItem () {
        return StyledTimeItem;
    }
});
const _styled = /*#__PURE__*/ _interop_require_default(require("@emotion/styled"));
const _mixins = require("../../../../mixins");
const _TimePickerGridtokens = require("../../TimePickerGrid.tokens");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const StyledRoot = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "e1m12de80",
    label: "StyledRoot"
})("position:relative;width:100%;");
const StyledTimeItem = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "e1m12de81",
    label: "StyledTimeItem"
})("height:var(", _TimePickerGridtokens.tokens.itemHeight, ");padding:var(", _TimePickerGridtokens.tokens.itemPadding, ");box-sizing:border-box;display:flex;justify-content:center;align-items:center;transition:0.05s;border-radius:var(", _TimePickerGridtokens.tokens.itemBorderRadius, ");cursor:pointer;flex-shrink:0;outline:none;font-family:var(", _TimePickerGridtokens.tokens.itemFontFamily, ");font-size:var(", _TimePickerGridtokens.tokens.itemFontSize, ");font-style:var(", _TimePickerGridtokens.tokens.itemFontStyle, ");font-weight:var(", _TimePickerGridtokens.tokens.itemFontWeight, ");letter-spacing:var(", _TimePickerGridtokens.tokens.itemLetterSpacing, ");line-height:var(", _TimePickerGridtokens.tokens.itemLineHeight, ");&.", _TimePickerGridtokens.classes.itemDisabled, "{cursor:not-allowed;opacity:var(", _TimePickerGridtokens.tokens.disabledOpacity, ");}&:not(.", _TimePickerGridtokens.classes.itemDisabled, "):hover{background:var(", _TimePickerGridtokens.tokens.itemBackgroundHover, ");}&.", _TimePickerGridtokens.classes.timeItemActive, "{background:var(", _TimePickerGridtokens.tokens.itemBackgroundActive, ");}", (0, _mixins.addFocus)({
    outlineOffset: '-0.0625rem',
    outlineSize: '0.0625rem',
    outlineRadius: `var(${_TimePickerGridtokens.tokens.itemBorderRadius})`,
    outlineColor: `var(${_TimePickerGridtokens.tokens.itemFocusColor})`
}));
const StyledTimeColumn = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "e1m12de82",
    label: "StyledTimeColumn"
})("max-height:", ({ height })=>height || `var(${_TimePickerGridtokens.tokens.columnHeight})`, ";overflow-y:scroll;overflow-x:visible;flex:1;z-index:3;box-sizing:border-box;display:flex;flex-direction:column;gap:var(", _TimePickerGridtokens.tokens.scrollbarWidth, ");width:100%;&.", _TimePickerGridtokens.classes.timeColumnActive, "{border:0.125rem solid var(", _TimePickerGridtokens.tokens.itemBackgroundHover, ");border-radius:var(", _TimePickerGridtokens.tokens.itemBorderRadius, ");}scrollbar-width:none;-ms-overflow-style:none;&::-webkit-scrollbar{display:none;width:0;}");
const CustomScrollbar = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "e1m12de83",
    label: "CustomScrollbar"
})("position:absolute;top:var(", _TimePickerGridtokens.tokens.scrollbarMargin, ");right:0;bottom:var(", _TimePickerGridtokens.tokens.scrollbarMargin, ");width:var(", _TimePickerGridtokens.tokens.scrollbarWidth, ");opacity:0;transition:opacity 0.3s ease;pointer-events:none;z-index:10;overflow:hidden;&.", _TimePickerGridtokens.classes.scrollbarVisible, "{opacity:1;pointer-events:auto;}");
const ScrollbarTrack = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "e1m12de84",
    label: "ScrollbarTrack"
})("position:relative;width:100%;height:100%;background:var(", _TimePickerGridtokens.tokens.scrollbarTrackColor, ");border-radius:var(", _TimePickerGridtokens.tokens.scrollbarWidth, ");");
const ScrollbarThumb = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "e1m12de85",
    label: "ScrollbarThumb"
})("position:absolute;top:0;left:0;width:100%;background:var(", _TimePickerGridtokens.tokens.scrollbarColor, ");border-radius:var(", _TimePickerGridtokens.tokens.scrollbarWidth, ");cursor:pointer;transition:background-color 0.2s ease;&:hover{background:var(", _TimePickerGridtokens.tokens.scrollbarColor, ");}&:active{background:var(", _TimePickerGridtokens.tokens.scrollbarTrackColor, ");}");
const StyledEmpty = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "e1m12de86",
    label: "StyledEmpty"
})("width:100%;height:0%.125rem;");
