1var _;(function(l){var u=(function(){function i(){this._dropEffect="move",this._effectAllowed="all",this._data={}}return Object.defineProperty(i.prototype,"dropEffect",{get:function(){return this._dropEffect},set:function(t){this._dropEffect=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"effectAllowed",{get:function(){return this._effectAllowed},set:function(t){this._effectAllowed=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"types",{get:function(){return Object.keys(this._data)},enumerable:!0,configurable:!0}),i.prototype.clearData=function(t){t!=null?delete this._data[t]:this._data=null},i.prototype.getData=function(t){return this._data[t]||""},i.prototype.setData=function(t,e){this._data[t]=e},i.prototype.setDragImage=function(t,e,s){var n=o._instance;n._imgCustom=t,n._imgOffset={x:e,y:s}},i})();l.DataTransfer=u;var o=(function(){function i(){if(this._lastClick=0,i._instance)throw"DragDropTouch instance already created.";var t=!1;if(document.addEventListener("test",function(){},{get passive(){return t=!0,!0}}),"ontouchstart"in document){var e=document,s=this._touchstart.bind(this),n=this._touchmove.bind(this),r=this._touchend.bind(this),a=t?{passive:!1,capture:!1}:!1;e.addEventListener("touchstart",s,a),e.addEventListener("touchmove",n,a),e.addEventListener("touchend",r),e.addEventListener("touchcancel",r)}}return i.getInstance=function(){return i._instance},i.prototype._touchstart=function(t){var e=this;if(this._shouldHandle(t)){if(Date.now()-this._lastClick<i._DBLCLICK&&this._dispatchEvent(t,"dblclick",t.target)){t.cancelable&&t.preventDefault(),this._reset();return}this._reset();var s=this._closestDraggable(t.target);s&&!this._dispatchEvent(t,"mousemove",t.target)&&!this._dispatchEvent(t,"mousedown",t.target)&&(this._dragSource=s,this._ptDown=this._getPoint(t),this._lastTouch=t,t.cancelable&&t.preventDefault(),setTimeout(function(){e._dragSource==s&&e._img==null&&e._dispatchEvent(t,"contextmenu",s)&&e._reset()},i._CTXMENU),i._ISPRESSHOLDMODE&&(this._pressHoldInterval=setTimeout(function(){e._isDragEnabled=!0,e._touchmove(t)},i._PRESSHOLDAWAIT)))}},i.prototype._touchmove=function(t){if(this._shouldCancelPressHoldMove(t)){this._reset();return}if(this._shouldHandleMove(t)||this._shouldHandlePressHoldMove(t)){var e=this._getTarget(t);if(this._dispatchEvent(t,"mousemove",e)){this._lastTouch=t,t.cancelable&&t.preventDefault();return}this._dragSource&&!this._img&&this._shouldStartDragging(t)&&(this._dispatchEvent(t,"dragstart",this._dragSource),this._createImage(t),this._dispatchEvent(t,"dragenter",e)),this._img&&(this._lastTouch=t,t.cancelable&&t.preventDefault(),e!=this._lastTarget&&(this._dispatchEvent(this._lastTouch,"dragleave",this._lastTarget),this._dispatchEvent(t,"dragenter",e),this._lastTarget=e),this._moveImage(t),this._isDropZone=this._dispatchEvent(t,"dragover",e))}},i.prototype._touchend=function(t){if(this._shouldHandle(t)){if(this._dispatchEvent(this._lastTouch,"mouseup",t.target)){t.cancelable&&t.preventDefault();return}this._img||(this._dragSource=null,this._dispatchEvent(this._lastTouch,"click",t.target),this._lastClick=Date.now()),this._destroyImage(),this._dragSource&&(t.type.indexOf("cancel")<0&&this._isDropZone&&this._dispatchEvent(this._lastTouch,"drop",this._lastTarget),this._dispatchEvent(this._lastTouch,"dragend",this._dragSource),this._reset())}},i.prototype._shouldHandle=function(t){return t&&!t.defaultPrevented&&t.touches&&t.touches.length<2},i.prototype._shouldHandleMove=function(t){return!i._ISPRESSHOLDMODE&&this._shouldHandle(t)},i.prototype._shouldHandlePressHoldMove=function(t){return i._ISPRESSHOLDMODE&&this._isDragEnabled&&t&&t.touches&&t.touches.length},i.prototype._shouldCancelPressHoldMove=function(t){return i._ISPRESSHOLDMODE&&!this._isDragEnabled&&this._getDelta(t)>i._PRESSHOLDMARGIN},i.prototype._shouldStartDragging=function(t){var e=this._getDelta(t);return e>i._THRESHOLD||i._ISPRESSHOLDMODE&&e>=i._PRESSHOLDTHRESHOLD},i.prototype._reset=function(){this._destroyImage(),this._dragSource=null,this._lastTouch=null,this._lastTarget=null,this._ptDown=null,this._isDragEnabled=!1,this._isDropZone=!1,this._dataTransfer=new u,clearInterval(this._pressHoldInterval)},i.prototype._getPoint=function(t,e){return t&&t.touches&&(t=t.touches[0]),{x:e?t.pageX:t.clientX,y:e?t.pageY:t.clientY}},i.prototype._getDelta=function(t){if(i._ISPRESSHOLDMODE&&!this._ptDown)return 0;var e=this._getPoint(t);return Math.abs(e.x-this._ptDown.x)+Math.abs(e.y-this._ptDown.y)},i.prototype._getTarget=function(t){for(var e=this._getPoint(t),s=document.elementFromPoint(e.x,e.y);s&&getComputedStyle(s).pointerEvents=="none";)s=s.parentElement;return s},i.prototype._createImage=function(t){this._img&&this._destroyImage();var e=this._imgCustom||this._dragSource;if(this._img=e.cloneNode(!0),this._copyStyle(e,this._img),this._img.style.top=this._img.style.left="-9999px",!this._imgCustom){var s=e.getBoundingClientRect(),n=this._getPoint(t);this._imgOffset={x:n.x-s.left,y:n.y-s.top},this._img.style.opacity=i._OPACITY.toString()}this._moveImage(t),document.body.appendChild(this._img)},i.prototype._destroyImage=function(){this._img&&this._img.parentElement&&this._img.parentElement.removeChild(this._img),this._img=null,this._imgCustom=null},i.prototype._moveImage=function(t){var e=this;requestAnimationFrame(function(){if(e._img){var s=e._getPoint(t,!0),n=e._img.style;n.position="absolute",n.pointerEvents="none",n.zIndex="999999",n.left=Math.round(s.x-e._imgOffset.x)+"px",n.top=Math.round(s.y-e._imgOffset.y)+"px"}})},i.prototype._copyProps=function(t,e,s){for(var n=0;n<s.length;n++){var r=s[n];t[r]=e[r]}}
1,i.prototype._copyStyle=function(t,e){if(i._rmvAtts.forEach(function(c){e.removeAttribute(c)}),t instanceof HTMLCanvasElement){var s=t,n=e;n.width=s.width,n.height=s.height,n.getContext("2d").drawImage(s,0,0)}for(var r=getComputedStyle(t),a=0;a<r.length;a++){var h=r[a];h.indexOf("transition")<0&&(e.style[h]=r[h])}e.style.pointerEvents="none";for(var a=0;a<t.children.length;a++)this._copyStyle(t.children[a],e.children[a])},i.prototype._dispatchEvent=function(t,e,s){if(t&&s){var n=document.createEvent("Event"),r=t.touches?t.touches[0]:t;return n.initEvent(e,!0,!0),n.button=0,n.which=n.buttons=1,this._copyProps(n,t,i._kbdProps),this._copyProps(n,r,i._ptProps),n.dataTransfer=this._dataTransfer,s.dispatchEvent(n),n.defaultPrevented}return!1},i.prototype._closestDraggable=function(t){for(;t;t=t.parentElement)if(t.hasAttribute("draggable")&&t.draggable)return t;return null},i})();o._instance=new o,o._THRESHOLD=5,o._OPACITY=.5,o._DBLCLICK=500,o._CTXMENU=900,o._ISPRESSHOLDMODE=!1,o._PRESSHOLDAWAIT=400,o._PRESSHOLDMARGIN=25,o._PRESSHOLDTHRESHOLD=0,o._rmvAtts="id,class,style,draggable".split(","),o._kbdProps="altKey,ctrlKey,metaKey,shiftKey".split(","),o._ptProps="pageX,pageY,clientX,clientY,screenX,screenY".split(","),l.DragDropTouch=o})(_||(_={}));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.