import { defineComponent, ref, computed, renderSlot, provide } from "vue";
import { POPPER_INJECTION_KEY as o } from "./constants.mjs";
import { popperProps as r } from "./popper2.mjs";
import c from "../../../_virtual/plugin-vue_export-helper.mjs";
const v = defineComponent({
  name: "ElPopper",
  inheritAttrs: false
}), E = /* @__PURE__ */ defineComponent({
  ...v,
  props: r,
  setup(t, { expose: p }) {
    const n = t, s = ref(), f = ref(), c2 = ref(), _ = ref(), i = computed(() => n.role), o$1 = {
      triggerRef: s,
      popperInstanceRef: f,
      contentRef: c2,
      referenceRef: _,
      role: i
    };
    return p(o$1), provide(o, o$1), (m, I) => renderSlot(m.$slots, "default");
  }
});
var N = /* @__PURE__ */ c(E, [["__file", "popper.vue"]]);
export {
  N as default
};
