//>>built
define("dojox/fx/style","dojo/_base/kernel dojo/_base/lang dojo/_base/fx dojo/fx ./_base dojo/_base/array dojo/dom dojo/dom-style dojo/dom-class dojo/_base/connect".split(" "),function(l,m,r,n,h,t,p,x,q,u){l.experimental("dojox.fx.style");var v=function(a){return t.map(h._allowedProperties,function(b){return a[b]})},w=function(a,b,c){a=p.byId(a);var d=x.getComputedStyle(a),g=v(d);l[c?"addClass":"removeClass"](a,b);var f=v(d);l[c?"removeClass":"addClass"](a,b);var e={},k=0;t.forEach(h._allowedProperties,
function(y){g[k]!=f[k]&&(e[y]=parseInt(f[k]));k++});return e};n={addClass:function(a,b,c){a=p.byId(a);var d=function(e){return function(){q.add(e,b);e.style.cssText=f}}(a),g=w(a,b,!0),f=a.style.cssText;a=r.animateProperty(m.mixin({node:a,properties:g},c));u.connect(a,"onEnd",a,d);return a},removeClass:function(a,b,c){a=p.byId(a);var d=function(e){return function(){q.remove(e,b);e.style.cssText=f}}(a),g=w(a,b),f=a.style.cssText;a=r.animateProperty(m.mixin({node:a,properties:g},c));u.connect(a,"onEnd",
a,d);return a},toggleClass:function(a,b,c,d){"undefined"==typeof c&&(c=!q.contains(a,b));return h[c?"addClass":"removeClass"](a,b,d)},_allowedProperties:"width height left top backgroundColor color borderBottomWidth borderTopWidth borderLeftWidth borderRightWidth paddingLeft paddingRight paddingTop paddingBottom marginLeft marginTop marginRight marginBottom lineHeight letterSpacing fontSize".split(" ")};m.mixin(h,n);return n});