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