/*! * jQuery UI Effects Shake 1.13.3 * https://jqueryui.com * * Copyright OpenJS Foundation and other contributors * Released under the MIT license. * https://jquery.org/license */ !function(e){"function"==typeof define&&define.amd?define(["jquery","../version","../effect"],e):e(jQuery)}(function(h){return h.effects.define("shake",function(e,n){var t=1,i=h(this),a=e.direction||"left",f=e.distance||20,u=e.times||3,s=2*u+1,o=Math.round(e.duration/s),c="up"===a||"down"===a?"top":"left",a="up"===a||"left"===a,r={},d={},m={},g=i.queue().length;for(h.effects.createPlaceholder(i),r[c]=(a?"-=":"+=")+f,d[c]=(a?"+=":"-=")+2*f,m[c]=(a?"-=":"+=")+2*f,i.animate(r,o,e.easing);t