System.register([],function(_export,_context){"use strict";function n(n,o){function t(t){var e=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,c=e.left+i.pageXOffset,u=e.top+i.pageYOffset,p=t.pageX-c,m=t.pageY-u;(o===null||o===void 0?void 0:o.onMove)&&o.onMove(p,m);}document.addEventListener("pointermove",t,{passive:!0}),document.addEventListener("pointerup",function n(){document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n),(o===null||o===void 0?void 0:o.onStop)&&o.onStop();}),(o===null||o===void 0?void 0:o.initialEvent)instanceof PointerEvent&&t(o.initialEvent);}_export("d",n);return{setters:[],execute:function execute(){}};});
//# sourceMappingURL=drag.cjs.js.map
