import { createVNode as s, h as n, render as c } from "vue";
import o from "./Modals.js";
const m = "stash-modals-mount-node", r = {
  install(l, e) {
    const t = (e == null ? void 0 : e.mountNodeId) || m;
    let d = document.getElementById(t);
    d || (d = document.createElement("div"), d.id = t, d.dataset.test = m, document.body.appendChild(d)), e != null && e.mountNodeClass && !d.classList.contains(e.mountNodeClass) && d.classList.add(e.mountNodeClass);
    const a = s(n(o));
    a.appContext = l._context, c(a, d);
  }
};
export {
  m as DEFAULT_MODALS_PLUGIN_NODE_ID,
  r as default
};
//# sourceMappingURL=ModalsPlugin.js.map
