(function(){!function(n){null==n.gl&&(n.gl={}),null==gl.animate&&(gl.animate={}),gl.animate.animate=function(n,t,a,i){null!=(null!=a?a.cssStart:void 0)&&n.css(a.cssStart),n.removeClass(t+" animated").addClass(t+" animated").one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){$(this).removeClass(t+" animated"),null!=i&&i(),null!=(null!=a?a.cssEnd:void 0)&&n.css(a.cssEnd)})},gl.animate.animateEach=function(n,t,a,i,e){var l;return l=$.Deferred(),n.length||l.resolve(),n.each(function(o){setTimeout(function(a){return function(){var s;return s=$(a),gl.animate.animate(s,t,i,function(){return o===n.length-1&&(l.resolve(),null!=e)?e():void 0})}}(this),a*o)}),l.promise()}}(window)}).call(this);