import { isHTMLElement as r, isLastTraversableNode as e, getParentNode as i } from "../../../../../../../@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js";
function n(t) {
  if (r(t) && t.hasAttribute("data-rootownerid"))
    return t.getAttribute("data-rootownerid") ?? void 0;
  if (!e(t))
    return n(i(t));
}
export {
  n as findRootOwnerId
};
