d.min[e]&&(c=g.panEndFriction,d.min[e],n=d.min[e]-ke[e]),(n<=0||s<0)&&1pt.x&&(o=pt.x)):d.min.x!==d.max.x&&(i=a)):(ax.currItem.fitRatio&&(v[e]+=t[e]*c)},_t=function(e){var t;"mousedown"===e.type&&0=ct&&(Ce=0x.currItem.initialZoomLevel+x.currItem.initialZoomLevel/15&&(Se=!0),t=1,n=$e(),i=je(),e=ct&&(O.x-=c[0].x-dt.x),Math.abs(O.y)>=ct&&(O.y-=c[0].y-dt.y)),k.x=E.x,k.y=E.y,0!==O.x||0!==O.y)){if("v"===Ce&&g.closeOnVerticalDrag)if(!Tt())return Oe.y+=O.y,v.y+=O.y,o=Rt(),fe=!0,C("onVerticalDrag",o),T(o),void M();kt(D(),E.x,E.y),ge=!0,d=x.currItem.bounds,zt("x",O)||(zt("y",O),Xe(v),M())}}},Ht=function(e){if(l.isOldAndroid){if(he&&"mouseup"===e.type)return;-1x.currItem.fitRatio&&Wt(me))}},Yt=function(){var t,n,i={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(e){n=(1d.min[t]?i.backAnimDestination[t]=d.min[t]:v[t]=P()&&(p=g.loop?0:P()-1,o=!0),o&&!g.loop||(I+=i,Re-=i,n=!0));var n,i,o,e=b.x*Re,a=Math.abs(e-R.x),r=n||e>R.x==0The image could not be loaded.