//>>built
define("dojox/widget/rotator/Wipe",["dojo/_base/lang","dojo/_base/fx","dojo/dom-style"],function(g,m,h){function n(a,b,c,e){var d=[0,b,0,0];3==a?d=[0,b,c,b]:0==a?d=[c,b,c,0]:1==a&&(d=[0,0,c,0]);null!=e&&(d[a]=2==a||1==a?e:(a%2?b:c)-e);return d}function k(a,b,c,e,d){h.set(a,"clip",null==b?"auto":"rect("+n(b,c,e,d).join("px,")+"px)")}function f(a,b){var c=b.next.node,e=b.rotatorBox.w,d=b.rotatorBox.h;h.set(c,{display:"",zIndex:(h.get(b.current.node,"zIndex")||1)+1});k(c,a,e,d);return new m.Animation(g.mixin({node:c,
curve:[0,a%2?e:d],onAnimate:function(b){k(c,a,e,d,parseInt(b))}},b))}var l={wipeDown:function(a){return f(2,a)},wipeRight:function(a){return f(3,a)},wipeUp:function(a){return f(0,a)},wipeLeft:function(a){return f(1,a)}};g.mixin(g.getObject("dojox.widget.rotator"),l);return l});