import { jsx as f } from "react/jsx-runtime";
import { useMemo as y } from "react";
import { c as d, s as u, a as T } from "../tools/tools.js";
const w = function(e) {
  const { as: a = "div", className: o, dropOldClass: s, onRef: l, style: t, variables: r, ...n } = e, i = y(() => {
    const p = d(!s && "tooltip-arrow position-absolute", o), c = u((v, m) => ({ tKey: T(m) }), r, t);
    return {
      className: p,
      style: c
    };
  }, [o, s, t, r]);
  return /* @__PURE__ */ f(a, { ...n, ...i, ref: l });
};
w.displayName = "BRL.TooltipArrow";
export {
  w as T
};
//# sourceMappingURL=tooltip-arrow.js.map
