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