(function(){var e=function(e){var t=this,n=e;e.require().script("effects/core").done(function(){var e=function(){(function(e,t){e.effects.effect.slide=function(t,n){var r=e(this),i=["position","top","bottom","left","right","width","height"],s=e.effects.setMode(r,t.mode||"show"),o=s==="show",u=t.direction||"left",a=u=="up"||u=="down"?"top":"left",f=u=="up"||u=="left",l,c={},h;e.effects.save(r,i),r.show(),l=t.distance||r[a==="top"?"outerHeight":"outerWidth"]({margin:!0}),e.effects.createWrapper(r).css({overflow:"hidden"}),o&&r.css(a,f?isNaN(l)?"-"+l:-l:l),c[a]=(o?f?"+=":"-=":f?"-=":"+=")+l,r.animate(c,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){s==="hide"&&r.hide(),e.effects.restore(r,i),e.effects.removeWrapper(r),n()}})}})(n)};e(),t.resolveWith(e)})};dispatch("effects/slide").containing(e).to("Foundry/2.1 Modules")})();