define(["require","exports"],(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTextSelectionRange=function(e){if(void 0===e){var t=window.getSelection();if(null===t)throw"Pass an explicit value for selection,\n or call it only if you are sure window.getSelection() will not return null";e=t}return e.getRangeAt(0)},t.getClientRects=function(e){return e?Array.from(e.getClientRects()):[]},t.containsNode=function(e,t){return e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY}})); //# sourceMappingURL=utilities.min.js-vflBA-Odt.map