- md5
- b03a8e39f4593e9cb8e7ff066f285924
- sha1
- 61a76db0f115b3dc51769687cfd4e5aa61481e44
- sha256
- 979e975bb448b5169426c75fded1c9acfaf1ce569aeacd0dfa4ffb257cb6ee18
/*!
* jQuery UI Effects Explode 1.11.4
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/explode-effect/
*/
!function(e){"function"==typeof define&&define.amd?define(["jquery","./effect"],e):e(jQuery)}(function(b){return b.effects.effect.explode=function(e,i){var t,o,s,f,n,d,c=e.pieces?Math.round(Math.sqrt(e.pieces)):3,a=c,h=b(this),l="show"===b.effects.setMode(h,e.mode||"hide"),p=h.show().css("visibility","hidden").offset(),r=Math.ceil(h.outerWidth()/a),u=Math.ceil(h.outerHeight()/c),v=[];function y(){v.push(this),v.length===c*a&&(h.css({visibility:"visible"}),b(v).remove(),l||h.hide(),i())}for(t=0;t<c;t++)for(f=p.top+t*u,d=t-(c-1)/2,o=0;o<a;o++)s=p.left+o*r,n=o-(a-1)/2,h.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-o*r,top:-t*u}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:r,height:u,left:s+(l?n*r:0),top:f+(l?d*u:0),opacity:l?0:1}).animate({left:s+(l?0:n*r),top:f+(l?0:d*u),opacity:l?1:0},e.duration||500,e.easing,y)}});
The same content is in 108 releases, WordPress 4.2.30 to 4.9.35. See them all, or every version of this file.