import * as React from "react";
import y from "../../../../../../../../../_virtual/index12.js";
import { hoverCardContentPropDefs as p$1 } from "./hover-card.props.js";
import { extractProps as v } from "../helpers/extract-props.js";
import { requireReactElement as a } from "../helpers/require-react-element.js";
import { Theme as R } from "./theme.js";
import { Root as Root2, Trigger, Portal, Content as Content2 } from "../../../../../../../@radix-ui_react-hover-card@1.1.15_@types_react-dom@19.1.9_@types_react@19.1.13__@types__7ac5a144f471715f76d3ad86edae0a75/node_modules/@radix-ui/react-hover-card/dist/index.js";
const p = (e) => React.createElement(Root2, { closeDelay: 150, openDelay: 200, ...e });
p.displayName = "HoverCard.Root";
const s = React.forwardRef(({ children: e, className: t, ...n }, a$1) => React.createElement(Trigger, { ref: a$1, className: y("rt-HoverCardTrigger", t), ...n, asChild: true }, a(e)));
s.displayName = "HoverCard.Trigger";
const C = React.forwardRef((e, t) => {
  const { className: n, forceMount: a2, container: m, ...d } = v(e, p$1);
  return React.createElement(Portal, { container: m, forceMount: a2 }, React.createElement(R, { asChild: true }, React.createElement(Content2, { align: "start", sideOffset: 8, collisionPadding: 10, ...d, ref: t, className: y("rt-PopperContent", "rt-HoverCardContent", n) })));
});
C.displayName = "HoverCard.Content";
export {
  C as Content,
  p as Root,
  s as Trigger
};
//# sourceMappingURL=hover-card.js.map
