"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const createProjectionNode = require("./dist-es-projection-node-create-projection-node.cjs");
const addDomEvent = require("./dist-es-events-add-dom-event.cjs");
const DocumentProjectionNode = createProjectionNode.createProjectionNode({
  attachResizeListener: (ref, notify) => addDomEvent.addDomEvent(ref, "resize", notify),
  measureScroll: () => ({
    x: document.documentElement.scrollLeft || document.body.scrollLeft,
    y: document.documentElement.scrollTop || document.body.scrollTop
  }),
  checkIsScrollRoot: () => true
});
exports.DocumentProjectionNode = DocumentProjectionNode;
//# sourceMappingURL=dist-es-projection-node-DocumentProjectionNode.cjs.map
