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