// Licensed Materials - Property of IBM // IBM Cognos Products: irot // (C) Copyright IBM Corp. 2003, 2022. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. function _r57(el, _rh7){this._7g9=el;this._zb7=_rh7;this._7g9.addEventListener(_kx5._wj2?"MSPointerDown":"touchstart", this, false);};_r57.prototype._1o8=function(){this._7g9.removeEventListener(_kx5._wj2?"MSPointerDown":"touchstart", this, false);this._7g9=null;this._zb7=null;};_r57.prototype.handleEvent=function(e){switch(e.type){case "MSPointerDown":case "touchstart":this._9d5(e);break;case "MSPointerMove":case "touchmove":this._606(e);break;case "MSPointerUp":case "touchend":this._cn6(e);break;case "MSPointerCancel":case "touchcancel":this._fq8=true;this._cn6(e);break;}};_r57.prototype._9d5=function(e){this._fq8=false;var _6x8=_kx5._wj2?e:e.targetTouches[0];this._cc8=_6x8.clientX;this._dc8=_6x8.clientY;this._pf5=document.elementFromPoint(this._cc8, this._dc8);this._7g9.addEventListener(_kx5._wj2?"MSPointerMove":"touchmove", this, false);this._7g9.addEventListener(_kx5._wj2?"MSPointerUp":"touchend", this, false);this._7g9.addEventListener(_kx5._wj2?"MSPointerCancel":"touchcancel", this, false);};_r57.prototype._606=function(e){var _6x8=_kx5._wj2?e:e.targetTouches[0];if((Math.abs(_6x8.clientX-this._cc8)>=50)||(Math.abs(_6x8.clientY-this._dc8)>=50)){this._fq8=true;}};_r57.prototype._cn6=function(e){if(!this._fq8){var _6x8=_kx5._wj2?e:e.changedTouches[0];if(!_fe9._0r7(this._pf5, e.target)||(this._pf5!=document.elementFromPoint(_6x8.clientX, _6x8.clientY))){this._fq8=true;}}this._7g9.removeEventListener(_kx5._wj2?"MSPointerMove":"touchmove", this, false);this._7g9.removeEventListener(_kx5._wj2?"MSPointerUp":"touchend", this, false);this._7g9.removeEventListener(_kx5._wj2?"MSPointerCancel":"touchcancel", this, false);if(!this._fq8){var _6x8=_kx5._wj2?e:e.changedTouches[0];this._zb7(this._pf5, _6x8.clientX, _6x8.clientY, e);}this._pf5=null;};