"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 StyledPopover () {
        return StyledPopover;
    },
    get StyledRoot () {
        return StyledRoot;
    },
    get StyledWrapper () {
        return StyledWrapper;
    }
});
const _styled = /*#__PURE__*/ _interop_require_default(require("@emotion/styled"));
const _utils = require("../Popup/utils");
const _Popovertokens = require("./Popover.tokens");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const StyledRoot = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "e1e0c0gn0",
    label: "StyledRoot"
})("display:inline-flex;box-sizing:border-box;position:relative;");
const StyledWrapper = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "e1e0c0gn1",
    label: "StyledWrapper"
})("display:inline-flex;&.", _Popovertokens.classes.targetAsRef, "{position:absolute;top:0;left:0;width:100%;height:100%;", StyledRoot, "{width:100%;height:100%;display:block;}}");
const StyledArrow = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "e1e0c0gn2",
    label: "StyledArrow"
})("width:var(", _Popovertokens.tokens.arrowMaskWidth, ");height:var(", _Popovertokens.tokens.arrowMaskHeight, ");&::before{position:absolute;width:var(", _Popovertokens.tokens.arrowMaskWidth, ");height:var(", _Popovertokens.tokens.arrowMaskHeight, ");mask-image:var(", _Popovertokens.tokens.arrowMaskImage, ");background:var(", _Popovertokens.tokens.arrowBackground, ");content:'';transform:rotate(0deg);}");
const StyledPopover = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "e1e0c0gn3",
    label: "StyledPopover"
})("position:absolute;z-index:", ({ zIndex })=>zIndex || _utils.DEFAULT_Z_INDEX, ";opacity:0;visibility:hidden;box-shadow:var(", _Popovertokens.tokens.boxShadow, ");border-radius:inherit;&.", _Popovertokens.classes.animate, "{transition:opacity 0.3s ease-in-out,visibility 0.3s;}&.", _Popovertokens.classes.open, "{opacity:1;visibility:visible;}&:before{content:'';display:block;position:absolute;background:transparent;}&[data-popper-placement^='top'] > .", _Popovertokens.classes.arrow, "{bottom:calc(0px - var(", _Popovertokens.tokens.arrowHeight, "));}&[data-popper-placement^='bottom'] > .", _Popovertokens.classes.arrow, "{top:calc(0px - var(", _Popovertokens.tokens.arrowHeight, "));&::before{transform:rotate(180deg);}}&[data-popper-placement^='left'] > .", _Popovertokens.classes.arrow, "{right:calc(0px - var(", _Popovertokens.tokens.arrowHeight, "));&::before{transform:rotate(-90deg);}}&[data-popper-placement^='right'] > .", _Popovertokens.classes.arrow, "{left:calc(0px - var(", _Popovertokens.tokens.arrowHeight, "));&::before{transform:rotate(90deg);}}&[data-popper-placement^='top-start'] > .", _Popovertokens.classes.arrow, "{bottom:calc(0px - var(", _Popovertokens.tokens.arrowHeight, "));left:var(", _Popovertokens.tokens.arrowEdgeMargin, ") !important;transform:unset !important;}&[data-popper-placement^='top-end'] > .", _Popovertokens.classes.arrow, "{bottom:calc(0px - var(", _Popovertokens.tokens.arrowHeight, "));left:unset !important;right:var(", _Popovertokens.tokens.arrowEdgeMargin, ") !important;transform:unset !important;}&[data-popper-placement^='bottom-start'] > .", _Popovertokens.classes.arrow, "{top:calc(0px - var(", _Popovertokens.tokens.arrowHeight, "));left:var(", _Popovertokens.tokens.arrowEdgeMargin, ") !important;transform:unset !important;&::before{transform:rotate(180deg);}}&[data-popper-placement^='bottom-end'] > .", _Popovertokens.classes.arrow, "{top:calc(0px - var(", _Popovertokens.tokens.arrowHeight, "));left:unset !important;right:var(", _Popovertokens.tokens.arrowEdgeMargin, ") !important;transform:unset !important;&::before{transform:rotate(180deg);}}&[data-popper-placement^='left-start']\n        > .", _Popovertokens.classes.arrow, ",&[data-popper-placement^='right-start']\n        > .", _Popovertokens.classes.arrow, "{top:var(", _Popovertokens.tokens.arrowEdgeMargin, ") !important;transform:unset !important;}&[data-popper-placement^='left-end']\n        > .", _Popovertokens.classes.arrow, ",&[data-popper-placement^='right-end']\n        > .", _Popovertokens.classes.arrow, "{top:unset !important;bottom:var(", _Popovertokens.tokens.arrowEdgeMargin, ") !important;transform:unset !important;}&[data-popper-placement^='top'],&[data-popper-placement^='top-start'],&[data-popper-placement^='top-end']{&:before{top:unset;left:0;right:0;height:var(", _Popovertokens.tokens.arrowHeight, ");bottom:calc(-1 * var(", _Popovertokens.tokens.arrowHeight, "));}}&[data-popper-placement^='bottom'],&[data-popper-placement^='bottom-start'],&[data-popper-placement^='bottom-end']{&:before{top:calc(-1 * var(", _Popovertokens.tokens.arrowHeight, "));left:0;right:0;bottom:var(", _Popovertokens.tokens.arrowHeight, ");height:var(", _Popovertokens.tokens.arrowHeight, ");}}&[data-popper-placement^='left'],&[data-popper-placement^='left-start'],&[data-popper-placement^='left-end']{&:before{width:var(", _Popovertokens.tokens.arrowHeight, ");height:100%;top:0;right:calc(-1 * var(", _Popovertokens.tokens.arrowHeight, "));bottom:0;}}&[data-popper-placement^='right'],&[data-popper-placement^='right-start'],&[data-popper-placement^='right-end']{&:before{width:var(", _Popovertokens.tokens.arrowHeight, ");height:100%;top:0;left:calc(-1 * var(", _Popovertokens.tokens.arrowHeight, "));bottom:0;}}");
