"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const attachEvents = (el, binding) => {
  var _a;
  const popover = (_a = binding.arg || binding.value) == null ? void 0 : _a.popperRef;
  if (popover) popover.triggerRef = el;
};
var directive_default = {
  mounted(el, binding) {
    attachEvents(el, binding);
  },
  updated(el, binding) {
    attachEvents(el, binding);
  }
};
const VPopover = "popover";
exports.VPopover = VPopover;
exports.default = directive_default;
