import * as e from "react";
import T from "../../../../../../../../../_virtual/index9.js";
import { Root as u, Trigger as h, Portal as E, Content as g, Arrow as N } from "../../../../../../../@radix-ui_react-tooltip@1.1.1_@types_react-dom@18.3.6_@types_react@18.3.3__@types_react_7ac623185c9269a12c8508884ea7ba21/node_modules/@radix-ui/react-tooltip/dist/index.js";
import { Text as O } from "./text.js";
import { Theme as P } from "./theme.js";
import { extractProps as b } from "../helpers/extract-props.js";
import { tooltipPropDefs as w } from "./tooltip.props.js";
const x = e.forwardRef((t, o) => {
  const { children: r, className: a, open: n, defaultOpen: l, onOpenChange: s, delayDuration: i, disableHoverableContent: m, content: p, container: c, forceMount: f, ...d } = b(t, w), C = { open: n, defaultOpen: l, onOpenChange: s, delayDuration: i, disableHoverableContent: m };
  return e.createElement(u, { ...C }, e.createElement(h, { asChild: !0 }, r), e.createElement(E, { container: c, forceMount: f }, e.createElement(P, { asChild: !0 }, e.createElement(g, { sideOffset: 4, collisionPadding: 10, ...d, asChild: !1, ref: o, className: T("rt-TooltipContent", a) }, e.createElement(O, { as: "p", className: "rt-TooltipText", size: "1" }, p), e.createElement(N, { className: "rt-TooltipArrow" })))));
});
x.displayName = "Tooltip";
export {
  x as Tooltip
};
//# sourceMappingURL=tooltip.js.map
