import l from "./getScrollParent.es.js";
import m from "./getParentNode.es.js";
import d from "./getWindow.es.js";
import v from "./isScrollParent.es.js";
function u(t, o) {
  var a;
  o === void 0 && (o = []);
  var r = l(t), e = r === ((a = t.ownerDocument) == null ? void 0 : a.body), n = d(r), i = e ? [n].concat(n.visualViewport || [], v(r) ? r : []) : r, c = o.concat(i);
  return e ? c : c.concat(u(m(i)));
}
export {
  u as default
};
//# sourceMappingURL=listScrollParents.es.js.map
