function Ja(){this!=window&&this.Init()}v("AdfDragRecognizer",Ja);z.l(Ja);Ja.prototype.Vk=function(a,b,d){B.J(b,Za);B.J(d,I);if(!w.b.cj(d)||!b.lf(a,d))return n;D.i.finer("prep drag[ source:",b," event:",d,"]");return{uS:d.Kf(),j2:d.hg(),k2:d.ig()}};z.a("AdfDragRecognizer.prototype.prepDrag",{Vk:Ja.prototype.Vk});Ja.prototype.fI=function(a,b){B.J(b,I);return b.getType()==I.Xf};z.a("AdfDragRecognizer.prototype.abortPrep",{fI:Ja.prototype.fI});
Ja.prototype.QJ=function(a,b){var d=b.hg(),e=b.ig(),f=w.b.Hy();if(b.getType()==I.nT||b.getType()==ma.iw&&1==b.Gp()){D.i.finer("recognizeDrag curr:",d,",",e," ",a.j2,",",a.k2);var g=f?10:3;if(Math.abs(a.j2-d)>g||Math.abs(a.k2-e)>g)return D.i.fine("Drag recognized for:",b),a.uS;f||w.b.preventDefault(b.L())}return n};z.a("AdfDragRecognizer.prototype.recognizeDrag",{QJ:Ja.prototype.QJ});