This file is indexed.

/usr/share/javascript/jquery-event-drag/jquery.event.drag.min.js is in libjs-jquery-event-drag 10-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

1
2
3
4
/*! 
jquery.event.drag.js ~ v1.5 ~ Copyright (c) 2008, Three Dub Media (http://threedubmedia.com)  
Liscensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-LICENSE.txt
*/(function(e){function i(u){var f=this,l,c=u.data||{};if(c.elem)f=u.dragTarget=c.elem,u.dragProxy=r.proxy||f,u.cursorOffsetX=c.pageX-c.left,u.cursorOffsetY=c.pageY-c.top,u.offsetX=u.pageX-u.cursorOffsetX,u.offsetY=u.pageY-u.cursorOffsetY;else if(r.dragging||c.which>0&&u.which!=c.which||e(u.target).is(c.not))return;switch(u.type){case"mousedown":return e.extend(c,e(f).offset(),{elem:f,target:u.target,pageX:u.pageX,pageY:u.pageY}),t.add(document,"mousemove mouseup",i,c),a(f,!1),r.dragging=null,!1;case!r.dragging&&"mousemove":if(o(u.pageX-c.pageX)+o(u.pageY-c.pageY)<c.distance)break;u.target=c.target,l=s(u,"dragstart",f),l!==!1&&(r.dragging=f,r.proxy=u.dragProxy=e(l||f)[0]);case"mousemove":if(r.dragging){l=s(u,"drag",f),n.drop&&(n.drop.allowed=l!==!1,n.drop.handler(u));if(l!==!1)break;u.type="mouseup"};case"mouseup":t.remove(document,"mousemove mouseup",i),r.dragging&&(n.drop&&n.drop.handler(u),s(u,"dragend",f)),a(f,!0),r.dragging=r.proxy=c.elem=!1}return!0}function s(t,n,r){t.type=n;var i=e.event.handle.call(r,t);return i===!1?!1:i||t.result}function o(e){return Math.pow(e,2)}function u(){return r.dragging===!1}function a(e,t){if(!e)return;e.unselectable=t?"off":"on",e.onselectstart=function(){return t},e.style&&(e.style.MozUserSelect=t?"":"none")}e.fn.drag=function(e,t,n){return t&&this.bind("dragstart",e),n&&this.bind("dragend",n),e?this.bind("drag",t?t:e):this.trigger("drag")};var t=e.event,n=t.special,r=n.drag={not:":input",distance:0,which:1,dragging:!1,setup:function(n){n=e.extend({distance:r.distance,which:r.which,not:r.not},n||{}),n.distance=o(n.distance),t.add(this,"mousedown",i,n),this.attachEvent&&this.attachEvent("ondragstart",u)},teardown:function(){t.remove(this,"mousedown",i),this===r.dragging&&(r.dragging=r.proxy=!1),a(this,!0),this.detachEvent&&this.detachEvent("ondragstart",u)}};n.dragstart=n.dragend={setup:function(){},teardown:function(){}}})(jQuery);