(window.webpackJsonpPMA=window.webpackJsonpPMA||[]).push([["elm-pep"],{pg82:function(e,t){var n=null,o=null;function i(e,t,n){e.addEventListener(t,(function(e){var i=new MouseEvent(n,e);i.pointerId=1,i.isPrimary=!0,i.pointerType="mouse",i.width=1,i.height=1,i.tiltX=0,i.tiltY=0,"buttons"in e&&0!==e.buttons?i.pressure=.5:i.pressure=0;var r=e.target;null!==o&&(r=o,"mouseup"===t&&(o=null)),r.dispatchEvent(i),i.defaultPrevented&&e.preventDefault()}))}function r(e,t,o){e.addEventListener(t,(function(e){for(var i=e.changedTouches,r=i.length,u=0;u<r;u++){var l=new CustomEvent(o,{bubbles:!0,cancelable:!0});l.ctrlKey=e.ctrlKey,l.shiftKey=e.shiftKey,l.altKey=e.altKey,l.metaKey=e.metaKey;var p=i.item(u);l.clientX=p.clientX,l.clientY=p.clientY,l.screenX=p.screenX,l.screenY=p.screenY,l.pageX=p.pageX,l.pageY=p.pageY;var a=p.target.getBoundingClientRect();l.offsetX=p.clientX-a.left,l.offsetY=p.clientY-a.top,l.pointerId=1+p.identifier,l.button=0,l.buttons=1,l.movementX=0,l.movementY=0,l.region=null,l.relatedTarget=null,l.x=l.clientX,l.y=l.clientY,l.pointerType="touch",l.width=1,l.height=1,l.tiltX=0,l.tiltY=0,l.pressure=1,"touchstart"===t&&null===n&&(n=p.identifier),l.isPrimary=p.identifier===n,"touchend"===t&&l.isPrimary&&(n=null),e.target.dispatchEvent(l),l.defaultPrevented&&e.preventDefault()}}))}"PointerEvent"in window||(Element.prototype.setPointerCapture=Element.prototype.setCapture,Element.prototype.releasePointerCapture=Element.prototype.releaseCapture,"TouchEvent"in window||(i(document,"mousedown","pointerdown"),i(document,"mousemove","pointermove"),i(document,"mouseup","pointerup")),r(document,"touchstart","pointerdown"),r(document,"touchmove","pointermove"),r(document,"touchend","pointerup"))}}]);
//# sourceMappingURL=elm-pep.js.map