import n from "classnames";
import t from "react";
import "./accelbyte-widgets555.mjs";
import "./accelbyte-widgets556.mjs";
import { exports as l } from "./accelbyte-widgets557.mjs";
const x = ({
  tooltipRef: o,
  popoverPlacement: r = "right",
  className: a,
  popoverEvent: p = "mouseenter",
  popoverEventOff: m = "mouseleave",
  children: e,
  hideMobile: s = !1,
  id: i = "tooltip"
}) => e ? /* @__PURE__ */ t.createElement(
  "div",
  {
    ref: o,
    "data-html": !0,
    "data-tip": t.isValidElement(e) ? l.renderToString(e) : e,
    "data-place": r,
    "data-type": "none",
    "data-class": n("popover popover-container", s && "hide-mobile", a),
    "data-event": p,
    "data-event-off": m,
    "data-for": i
  }
) : null;
export {
  x as Popover
};
