!function(n){function t(t,r,i){return 1==n.pointersDownCount()?(e=t.id,u=t.x,o=t.y,a=u,f=o,b=0,l=0):e=null,!1}function r(n,t,r){return n.id===e&&(b+=Math.abs(n.x-a),l+=Math.abs(n.y-f),a=n.x,f=n.y),!1}function i(t,r,i){if(t.id===e){e=null;var a=Math.abs(t.x-u),f=Math.abs(t.y-o);if(a<75)return!1;if(f/a>=.3)return!1;if(b>1.5*a)return!1;if(l>.7*a)return!1;var x="onSwipe"+(t.x>u?"Right":"Left");n.ignoreClick(t.x,t.y),n.bubble(i,x,t)}return!1}var e,u,o,a,f,b,l,x=n.addEvent;x("!PointerDown",70,t),x("!PointerMove",70,r),x("!PointerUp",70,i)}(b);