(function(){jQuery.color={};jQuery.color.make=function(E,D,B,C){var F={};F.r=E||0;F.g=D||0;F.b=B||0;F.a=C!=null?C:1;F.add=function(I,H){for(var G=0;G<I.length;++G){F+=H}return F.normalize()};F.scale=function(I,H){for(var G=0;G<I.length;++G){F*=H}return F.normalize()};F.toString=function(){if(F.a>=1){return“rgb(”+.join(“,”)+“)”}else{return“rgba(”+.join(“,”)+“)”}};F.normalize=function(){function G(I,J,H){return J<I?I:(J>H?H:J)}F.r=G(0,parseInt(F.r),255);F.g=G(0,parseInt(F.g),255);F.b=G(0,parseInt(F.b),255);F.a=G(0,F.a,1);return F};F.clone=function(){return jQuery.color.make(F.r,F.b,F.g,F.a)};return F.normalize()};jQuery.color.extract=function(C,B){var D;do{D=C.css(B).toLowerCase();if(D!=“”&&D!=“transparent”){break}C=C.parent()}while(!jQuery.nodeName(C.get(0),“body”));if(D==“rgba(0, 0, 0, 0)”){D=“transparent”}return jQuery.color.parse(D)};jQuery.color.parse=function(E){var D,B=jQuery.color.make;if(D=/rgb(s*({1,3})s*,s*([0-9]{1,3})s*,s*([0-9]{1,3})s*)/.exec(E)){return B(parseInt(D,10),parseInt(D,10),parseInt(D,10))}if(D=/rgba(s*({1,3})s*,s*([0-9]{1,3})s*,s*([0-9]{1,3})s*,s*([0-9]+(?:.[0-9]+)?)s*)/.exec(E)){return B(parseInt(D,10),parseInt(D,10),parseInt(D,10),parseFloat(D))}if(D=/rgb(s*(+(?:.[0-9]+)?)%s*,s*(+(?:.[0-9]+)?)%s*,s*(+(?:.[0-9]+)?)%s*)/.exec(E)){return B(parseFloat(D)*2.55,parseFloat(D)*2.55,parseFloat(D)*2.55)}if(D=/rgba(s*(+(?:.[0-9]+)?)%s*,s*(+(?:.[0-9]+)?)%s*,s*(+(?:.[0-9]+)?)%s*,s*(+(?:.[0-9]+)?)s*)/.exec(E)){return B(parseFloat(D)*2.55,parseFloat(D)*2.55,parseFloat(D)*2.55,parseFloat(D))}if(D=/#({2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(E)){return B(parseInt(D,16),parseInt(D,16),parseInt(D,16))}if(D=/#()([a-fA-F0-9])()/.exec(E)){return B(parseInt(D+D,16),parseInt(D+D,16),parseInt(D+D,16))}var C=jQuery.trim(E).toLowerCase();if(C==“transparent”){return B(255,255,255,0)}else{D=A;return B(D,D,D)}};var A={aqua:,azure:,beige:,black:,blue:,brown:,cyan:,darkblue:,darkcyan:,darkgrey:,darkgreen:,darkkhaki:,darkmagenta:,darkolivegreen:,darkorange:,darkorchid:,darkred:,darksalmon:,darkviolet:,fuchsia:,gold:,green:,indigo:,khaki:,lightblue:,lightcyan:,lightgreen:,lightgrey:,lightpink:,lightyellow:,lime:,magenta:,maroon:,navy:,olive:,orange:,pink:,purple:,violet:,red:,silver:,white:,yellow:}})();