import r from "./getNodeName.es.js";
import t from "./getDocumentElement.es.js";
import { isShadowRoot as a } from "./instanceOf.es.js";
function u(o) {
  return r(o) === "html" ? o : o.assignedSlot || o.parentNode || (a(o) ? o.host : null) || t(o);
}
export {
  u as default
};
//# sourceMappingURL=getParentNode.es.js.map
