(function(C,e){function pa(c,b,a){for(var n=[],d=0;d<c.length;d++){var g=tinycolor(c[d]),f=0.5>g.toHsl().l?"sp-thumb-el sp-thumb-dark":"sp-thumb-el sp-thumb-light",f=f+(tinycolor.equals(b,c[d])?" sp-thumb-active":""),e=qa?"background-color:"+g.toRgbString():"filter:"+g.toFilter();n.push('<span title="'+g.toHexString()+'" data-color="'+g.toRgbString()+'" class="'+f+'"><span class="sp-thumb-inner" style="'+e+';" /></span>')}return"<div class='sp-cf "+a+"'>"+n.join("")+"</div>"}function Ka(c,b){var a=
c.outerWidth(),n=c.outerHeight();b.outerWidth();var d=b.outerHeight(),g=c[0].ownerDocument,f=g.documentElement,i=f.clientWidth+e(g).scrollLeft(),g=f.clientHeight+e(g).scrollTop(),f=b.offset();f.top+=d;f.left-=Math.min(f.left,f.left+a>i&&i>a?Math.abs(f.left+a-i):0);f.top-=Math.min(f.top,f.top+n>g&&g>n?Math.abs(n+d-0):0);return f}function D(){}function La(c){c.stopPropagation()}function P(c,b){var a=Array.prototype.slice,d=a.call(arguments,2);return function(){return c.apply(b,d.concat(a.call(arguments)))}}
function fa(c,b,a,d){function ea(a){a.stopPropagation&&a.stopPropagation();a.preventDefault&&a.preventDefault();a.returnValue=!1}function g(a){if(h){if(R&&!(9<=document.documentMode)&&!a.button)return f();var d=a.originalEvent.touches,m=d?d[0].pageY:a.pageY,d=Math.max(0,Math.min((d?d[0].pageX:a.pageX)-t.left,l)),m=Math.max(0,Math.min(m-t.top,j));p&&ea(a);b.apply(c,[d,m,a])}}function f(){h&&(e(i).unbind(m),e(i.body).removeClass("sp-dragging"),d.apply(c,arguments));h=!1}var b=b||function(){},a=a||function(){},
d=d||function(){},i=c.ownerDocument||document,h=!1,t={},j=0,l=0,p="ontouchstart"in C,m={};m.selectstart=ea;m.dragstart=ea;m[p?"touchmove":"mousemove"]=g;m[p?"touchend":"mouseup"]=f;e(c).bind(p?"touchstart":"mousedown",function(b){if(!(b.which?3==b.which:2==b.button)&&!h&&!1!==a.apply(c,arguments))h=!0,j=e(c).height(),l=e(c).width(),t=e(c).offset(),e(i).bind(m),e(i.body).addClass("sp-dragging"),p||g(b),ea(b)})}var za={beforeShow:D,move:D,change:D,show:D,hide:D,color:!1,flat:!1,showInput:!1,showButtons:!0,
clickoutFiresChange:!1,showInitial:!1,showPalette:!1,showPaletteOnly:!1,showSelectionPalette:!0,localStorageKey:!1,maxSelectionSize:7,cancelText:"cancel",chooseText:"choose",preferredFormat:!1,className:"",showAlpha:!1,theme:"sp-light",palette:["fff","000"],selectionPalette:[]},E=[],R=!!/msie/i.exec(C.navigator.userAgent),qa,q=document.createElement("div").style;q.cssText="background-color:rgba(0,0,0,.5)";qa=!!~(""+q.backgroundColor).indexOf("rgba")||!!~(""+q.backgroundColor).indexOf("hsla");var Aa,
q="";if(R)for(var x=1;6>=x;x++)q+="<div class='sp-"+x+"'></div>";Aa=["<div class='sp-container'><div class='sp-palette-container'><div class='sp-palette sp-thumb sp-cf'></div></div><div class='sp-picker-container'><div class='sp-top sp-cf'><div class='sp-fill'></div><div class='sp-top-inner'><div class='sp-color'><div class='sp-sat'><div class='sp-val'><div class='sp-dragger'></div></div></div></div><div class='sp-hue'><div class='sp-slider'></div>",q,"</div></div><div class='sp-alpha'><div class='sp-alpha-inner'><div class='sp-alpha-handle'></div></div></div></div><div class='sp-input-container sp-cf'><input class='sp-input' type='text' spellcheck='false'  /></div><div class='sp-initial sp-thumb sp-cf'></div><div class='sp-button-container sp-cf'><a class='sp-cancel' href='#'></a><button class='sp-choose'></button></div></div></div>"].join("");
e.fn.spectrum=function(c,b){return"string"==typeof c?"get"==c?E[this.eq(0).data("spectrum.id")].get():"container"==c?E[e(this).data("spectrum.id")].container:this.each(function(){var a=E[e(this).data("spectrum.id")];a&&("show"==c&&a.show(),"hide"==c&&a.hide(),"toggle"==c&&a.toggle(),"reflow"==c&&a.reflow(),"set"==c&&a.set(b),"destroy"==c&&(a.destroy(),e(this).removeData("spectrum.id")))}):this.spectrum("destroy").each(function(){var a,b=function(a){M&&(T.push(tinycolor(a).toHexString()),B&&C.localStorage&&
(C.localStorage[B]=T.join(",")))},d=function(){var a=[],b=T,c={};if(x){for(var d=0;d<ga.length;d++)for(var m=0;m<ga[d].length;m++){var f=tinycolor(ga[d][m]).toHexString();c[f]=!0}for(d=0;d<b.length;d++)f=tinycolor(b[d]).toHexString(),c.hasOwnProperty(f)||(a.push(b[d]),c[f]=!0)}return a.reverse().slice(0,s.maxSelectionSize)},g=function(){var a=m(),b=e.map(ga,function(b,c){return pa(b,a,"sp-palette-row sp-palette-row-"+c)});T&&b.push(pa(d(),a,"sp-palette-row sp-palette-row-selection"));Ba.html(b.join(""))},
f=function(){if(z){var a=I,b=m();Ca.html(pa([a,b],b,"sp-palette-row-initial"))}};a=function(){(0===J||0===U||0===ha)&&q();k.addClass(da)};var i=function(){k.removeClass(da)},h=function(){var a=tinycolor(F.val());a.ok?p(a):F.addClass("sp-validation-error")},l=function(){V?r():j()},j=function(){if(V)q();else if(!1!==W.beforeShow(m())){for(var a=0;a<E.length;a++)E[a]&&E[a].hide();V=!0;e(ia).bind("click.spectrum",r);e(C).bind("resize.spectrum",H);O.addClass("sp-active");k.show();x&&g();q();S();I=m();
f();W.show(I)}},r=function(a){if((!a||!("click"==a.type&&2==a.button))&&V&&!u)V=!1,e(ia).unbind("click.spectrum",r),e(C).unbind("resize.spectrum",H),O.removeClass("sp-active"),k.hide(),tinycolor.equals(m(),I)||(ya&&"cancel"!==a?v(!0):p(I,!0)),W.hide(m())},p=function(a,b){if(!tinycolor.equals(a,m())){var c=tinycolor(a),d=c.toHsv();X=d.h;ja=d.s;ka=d.v;G=d.a;S();b||(la=ra||c.format)}},m=function(){return tinycolor.fromRatio({h:X,s:ja,v:ka,a:Math.round(100*G)/100})},Q=function(){S();W.move(m())},S=function(){F.removeClass("sp-validation-error");
w();var a=tinycolor({h:X,s:"1.0",v:"1.0"});ma.css("background-color",a.toHexString());a=la;if(1>G&&("hex"===a||"name"===a))a="rgb";var b=m(),c=b.toHexString(),d=b.toRgbString();qa||1===b.alpha?sa.css("background-color",d):(sa.css("background-color","transparent"),sa.css("filter",b.toFilter()));if(D){d=b.toRgb();d.a=0;var d=tinycolor(d).toRgbString(),n="linear-gradient(left, "+d+", "+c+")";R?Y.css("filter",tinycolor(d).toFilter({gradientType:1},c)):(Y.css("background","-webkit-"+n),Y.css("background",
"-moz-"+n),Y.css("background","-ms-"+n),Y.css("background",n))}if(A){if(1>G&&("hex"===a||"name"===a))a="rgb";F.val(b.toString(a))}x&&g();f()},w=function(){var a=ja*U,b=J-ka*J,a=Math.max(-K,Math.min(U-K,a-K)),b=Math.max(-K,Math.min(J-K,b-K));Da.css({top:b,left:a});Ea.css({left:G*ta-ba/2});Fa.css({top:X*ha-ca})},v=function(a){var c=m();ua&&L.val(c.toString(la)).change();var d=!tinycolor.equals(c,I);I=c;b(c);a&&d&&W.change(c)},q=function(){U=ma.width();J=ma.height();K=Da.height();va.width();ha=va.height();
ca=Fa.height();ta=Ga.width();ba=Ea.width();u||k.offset(Ka(k,wa));w()},s,y=e.extend({},za,c);y.callbacks={move:P(y.move,this),change:P(y.change,this),show:P(y.show,this),hide:P(y.hide,this),beforeShow:P(y.beforeShow,this)};s=y;var u=s.flat,y=s.showPaletteOnly,x=s.showPalette||y,z=s.showInitial&&!u,A=s.showInput,D=s.showAlpha,M=s.showSelectionPalette,B=s.localStorageKey,Z=s.theme,W=s.callbacks,H,aa=q,N;H=function(){var a=this,b=arguments;N||(N=setTimeout(function(){N=null;aa.apply(a,b)},10))};var V=
!1,U=0,J=0,K=0,ha=0,ta=0,ba=0,ca=0,X=0,ja=0,ka=0,G=1,$=s.palette.slice(0),ga=e.isArray($[0])?$:[$],T=s.selectionPalette.slice(0),da="sp-dragging",ia=this.ownerDocument,$=ia.body,L=e(this),k=e(Aa,ia).addClass(Z),ma=k.find(".sp-color"),Da=k.find(".sp-dragger"),va=k.find(".sp-hue"),Fa=k.find(".sp-slider"),Y=k.find(".sp-alpha-inner"),Ga=k.find(".sp-alpha"),Ea=k.find(".sp-alpha-handle"),F=k.find(".sp-input"),Ba=k.find(".sp-palette"),Ca=k.find(".sp-initial"),Ha=k.find(".sp-cancel"),Ia=k.find(".sp-choose"),
ua=L.is("input"),xa=ua&&!u,O=xa?e("<div class='sp-replacer'><div class='sp-preview'><div class='sp-preview-inner'></div></div><div class='sp-dd'>&#9660;</div></div>").addClass(Z):e([]),wa=xa?O:L,sa=O.find(".sp-preview-inner"),na=s.color||ua&&L.val(),I=!1,ra=s.preferredFormat,la=ra,ya=!s.showButtons||s.clickoutFiresChange;Ia.text(s.chooseText);Ha.text(s.cancelText);Z=function(a){a.data&&a.data.ignore?(p(e(this).data("color")),Q()):(p(e(this).data("color")),v(!0),Q(),r());return!1};R&&k.find("*:not(input)").attr("unselectable",
"on");k.toggleClass("sp-flat",u);k.toggleClass("sp-input-disabled",!A);k.toggleClass("sp-alpha-enabled",D);k.toggleClass("sp-buttons-disabled",!s.showButtons||u);k.toggleClass("sp-palette-disabled",!x);k.toggleClass("sp-palette-only",y);k.toggleClass("sp-initial-disabled",!z);k.addClass(s.className);xa&&L.hide().after(O);u?L.after(k).hide():e($).append(k.hide());if(B&&C.localStorage)try{T=C.localStorage[B].split(",")}catch(Ja){}wa.bind("click.spectrum touchstart.spectrum",function(a){l();a.stopPropagation();
e(a.target).is("input")||a.preventDefault()});k.click(La);F.change(h);F.bind("paste",function(){setTimeout(h,1)});F.keydown(function(a){13==a.keyCode&&h()});Ha.bind("click.spectrum",function(a){a.stopPropagation();a.preventDefault();r("cancel")});Ia.bind("click.spectrum",function(a){a.stopPropagation();a.preventDefault();F.hasClass("sp-validation-error")||(v(!0),r())});fa(Ga,function(a,b,c){G=a/ta;c.shiftKey&&(G=Math.round(10*G)/10);Q()});fa(va,function(a,b){X=b/ha;Q()},a,i);fa(ma,function(a,b){ja=
a/U;ka=(J-b)/J;Q()},a,i);na?(p(na),S(),la=ra||tinycolor(na).format,b(na)):S();u&&j();a=R?"mousedown.spectrum":"click.spectrum touchstart.spectrum";Ba.delegate(".sp-thumb-el",a,Z);Ca.delegate(".sp-thumb-el::nth-child(1)",a,{ignore:!0},Z);var oa={show:j,hide:r,toggle:l,reflow:q,set:function(a){p(a);v()},get:m,destroy:function(){L.show();wa.unbind("click.spectrum touchstart.spectrum");k.remove();O.remove();E[oa.id]=null},container:k};oa.id=E.push(oa)-1;a=oa;e(this).data("spectrum.id",a.id)})};e.fn.spectrum.load=
!0;e.fn.spectrum.loadOpts={};e.fn.spectrum.draggable=fa;e.fn.spectrum.defaults=za;e.fn.spectrum.processNativeColorInputs=function(){var c=e("<input type='color' value='!' />")[0];"color"===c.type&&"!"!=c.value||e("input[type=color]").spectrum({preferredFormat:"hex6"})};var d=function(c){var b,a,n,e,g;if("object"==typeof c&&c.hasOwnProperty("_tc_id"))return c;a=c;var f=0,i=0,h=0,c=1,t=!1,j=!1;if("string"==typeof a)a:{a=a.replace(ya,"").replace(Ja,"").toLowerCase();var q=!1;if(aa[a])a=aa[a],q=!0;else if("transparent"==
a){a={r:0,g:0,b:0,a:0};break a}a=(b=u.rgb.exec(a))?{r:b[1],g:b[2],b:b[3]}:(b=u.rgba.exec(a))?{r:b[1],g:b[2],b:b[3],a:b[4]}:(b=u.hsl.exec(a))?{h:b[1],s:b[2],l:b[3]}:(b=u.hsla.exec(a))?{h:b[1],s:b[2],l:b[3],a:b[4]}:(b=u.hsv.exec(a))?{h:b[1],s:b[2],v:b[3]}:(b=u.hex6.exec(a))?{r:parseInt(b[1],16),g:parseInt(b[2],16),b:parseInt(b[3],16),format:q?"name":"hex"}:(b=u.hex3.exec(a))?{r:parseInt(b[1]+""+b[1],16),g:parseInt(b[2]+""+b[2],16),b:parseInt(b[3]+""+b[3],16),format:q?"name":"hex"}:!1}"object"==typeof a&&
(a.hasOwnProperty("r")&&a.hasOwnProperty("g")&&a.hasOwnProperty("b")?(f=255*r(a.r,255),i=255*r(a.g,255),h=255*r(a.b,255),t=!0,j="rgb"):a.hasOwnProperty("h")&&a.hasOwnProperty("s")&&a.hasOwnProperty("v")?(j=a.h,i=a.s,h=a.v,j=6*r(j,360),i=r(i,100),h=r(h,100),f=z.floor(j),t=j-f,j=h*(1-i),b=h*(1-t*i),t=h*(1-(1-t)*i),q=f%6,f=255*[h,b,j,j,t,h][q],i=255*[t,h,h,b,j,j][q],h=255*[j,j,t,h,h,b][q],t=!0,j="hsv"):a.hasOwnProperty("h")&&(a.hasOwnProperty("s")&&a.hasOwnProperty("l"))&&(f=a.h,j=a.s,h=a.l,i=function(a,
b,c){0>c&&(c+=1);1<c&&(c-=1);return c<1/6?a+6*(b-a)*c:0.5>c?b:c<2/3?a+6*(b-a)*(2/3-c):a},f=r(f,360),j=r(j,100),h=r(h,100),0==j?j=h=b=h:(b=0.5>h?h*(1+j):h+j-h*j,t=2*h-b,j=i(t,b,f+1/3),h=i(t,b,f),b=i(t,b,f-1/3)),f=255*j,i=255*h,h=255*b,t=!0,j="hsl"),a.hasOwnProperty("a")&&(c=a.a));f=w(255,v(f,0));i=w(255,v(i,0));h=w(255,v(h,0));1>f&&(f=l(f));1>i&&(i=l(i));1>h&&(h=l(h));b=t;a=a&&a.format||j;n=f;e=i;g=h;var p=A(c);return{ok:b,format:a,_tc_id:Ma++,alpha:p,toHsv:function(){var a=ba(n,e,g);return{h:a.h,
s:a.s,v:a.v,a:p}},toHsvString:function(){var a=ba(n,e,g),b=l(360*a.h),c=l(100*a.s),a=l(100*a.v);return 1==p?"hsv("+b+", "+c+"%, "+a+"%)":"hsva("+b+", "+c+"%, "+a+"%, "+p+")"},toHsl:function(){var a=ca(n,e,g);return{h:a.h,s:a.s,l:a.l,a:p}},toHslString:function(){var a=ca(n,e,g),b=l(360*a.h),c=l(100*a.s),a=l(100*a.l);return 1==p?"hsl("+b+", "+c+"%, "+a+"%)":"hsla("+b+", "+c+"%, "+a+"%, "+p+")"},toHex:function(){return B(n,e,g)},toHexString:function(a){return"#"+B(n,e,g,a)},toRgb:function(){return{r:l(n),
g:l(e),b:l(g),a:p}},toRgbString:function(){return 1==p?"rgb("+l(n)+", "+l(e)+", "+l(g)+")":"rgba("+l(n)+", "+l(e)+", "+l(g)+", "+p+")"},toName:function(){return Na[B(n,e,g)]||!1},toFilter:function(a,b){var c=secondHex=B(n,e,g,!0),f=secondAlphaHex=Math.round(255*A(p)).toString(16),h=a&&a.gradientType?"GradientType = 1, ":"";if(b){var i=d(b);secondHex=i.toHex();secondAlphaHex=Math.round(255*A(i.alpha)).toString(16)}return"progid:DXImageTransform.Microsoft.gradient("+h+"startColorstr=#"+M(f)+c+",endColorstr=#"+
M(secondAlphaHex)+secondHex+")"},toString:function(a){var a=a||this.format,b=!1;"rgb"===a&&(b=this.toRgbString());"hex"===a&&(b=this.toHexString());"hex6"===a&&(b=this.toHexString(!0));"name"===a&&(b=this.toName());"hsl"===a&&(b=this.toHslString());"hsv"===a&&(b=this.toHsvString());return b||this.toHexString()}}},ca=function(c,b,a){var c=r(c,255),b=r(b,255),a=r(a,255),d=v(c,b,a),e=w(c,b,a),g,f=(d+e)/2;if(d==e)g=e=0;else{var i=d-e,e=0.5<f?i/(2-d-e):i/(d+e);switch(d){case c:g=(b-a)/i+(b<a?6:0);break;
case b:g=(a-c)/i+2;break;case a:g=(c-b)/i+4}g/=6}return{h:g,s:e,l:f}},ba=function(c,b,a){var c=r(c,255),b=r(b,255),a=r(a,255),d=v(c,b,a),e=w(c,b,a),g,f=d-e;if(d==e)g=0;else{switch(d){case c:g=(b-a)/f+(b<a?6:0);break;case b:g=(a-c)/f+2;break;case a:g=(c-b)/f+4}g/=6}return{h:g,s:0==d?0:f/d,v:d}},B=function(c,b,a,d){c=[M(l(c).toString(16)),M(l(b).toString(16)),M(l(a).toString(16))];return!d&&c[0].charAt(0)==c[0].charAt(1)&&c[1].charAt(0)==c[1].charAt(1)&&c[2].charAt(0)==c[2].charAt(1)?c[0].charAt(0)+
c[1].charAt(0)+c[2].charAt(0):c.join("")},r=function(c,b){"string"==typeof c&&(-1!=c.indexOf(".")&&1===A(c))&&(c="100%");var a="string"===typeof c&&-1!=c.indexOf("%"),c=w(b,v(0,A(c)));a&&(c*=b/100);return 1E-6>z.abs(c-b)?1:1<=c?c%b/A(b):c},M=function(c){return 1==c.length?"0"+c:""+c},ya=/^[\s,#]+/,Ja=/\s+$/,Ma=0,z=Math,l=z.round,w=z.min,v=z.max,N=z.random,A=this.parseFloat;d.fromRatio=function(c){if("object"==typeof c)for(var b in c)1===c[b]&&(c[b]="1.0");return d(c)};d.equals=function(c,b){return!c||
!b?!1:d(c).toRgbString()==d(b).toRgbString()};d.random=function(){return d.fromRatio({r:N(),g:N(),b:N()})};d.desaturate=function(c,b){var a=d(c).toHsl();a.s-=(b||10)/100;a.s=w(1,v(0,a.s));return d(a)};d.saturate=function(c,b){var a=d(c).toHsl();a.s+=(b||10)/100;a.s=w(1,v(0,a.s));return d(a)};d.greyscale=function(c){return d.desaturate(c,100)};d.lighten=function(c,b){var a=d(c).toHsl();a.l+=(b||10)/100;a.l=w(1,v(0,a.l));return d(a)};d.darken=function(c,b){var a=d(c).toHsl();a.l-=(b||10)/100;a.l=w(1,
v(0,a.l));return d(a)};d.complement=function(c){c=d(c).toHsl();c.h=(c.h+0.5)%1;return d(c)};d.triad=function(c){var b=d(c).toHsl(),a=360*b.h;return[d(c),d({h:(a+120)%360,s:b.s,l:b.l}),d({h:(a+240)%360,s:b.s,l:b.l})]};d.tetrad=function(c){var b=d(c).toHsl(),a=360*b.h;return[d(c),d({h:(a+90)%360,s:b.s,l:b.l}),d({h:(a+180)%360,s:b.s,l:b.l}),d({h:(a+270)%360,s:b.s,l:b.l})]};d.splitcomplement=function(c){var b=d(c).toHsl(),a=360*b.h;return[d(c),d({h:(a+72)%360,s:b.s,l:b.l}),d({h:(a+216)%360,s:b.s,l:b.l})]};
d.analogous=function(c,b,a){var b=b||6,a=a||30,e=d(c).toHsl(),a=360/a,c=[d(c)];e.h*=360;for(e.h=(e.h-(a*b>>1)+720)%360;--b;)e.h=(e.h+a)%360,c.push(d(e));return c};d.monochromatic=function(c,b){for(var b=b||6,a=d(c).toHsv(),e=a.h,l=a.s,a=a.v,g=[],f=1/b;b--;)g.push(d({h:e,s:l,v:a})),a=(a+f)%1;return g};d.readable=function(c,b){var a=d(c).toRgb(),e=d(b).toRgb();return 10404<(e.r-a.r)*(e.r-a.r)+(e.g-a.g)*(e.g-a.g)+(e.b-a.b)*(e.b-a.b)};var aa=d.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",
aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",
darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",
grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",
lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",
palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",
tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},q=d,x=aa,da={},H;for(H in x)x.hasOwnProperty(H)&&(da[x[H]]=H);var Na=q.hexNames=da,u;u={rgb:RegExp("rgb[\\s|\\(]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?"),rgba:RegExp("rgba[\\s|\\(]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?"),
hsl:RegExp("hsl[\\s|\\(]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?"),hsla:RegExp("hsla[\\s|\\(]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?"),hsv:RegExp("hsv[\\s|\\(]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?"),
hex3:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};this.tinycolor=d;e(function(){e.fn.spectrum.load&&e.fn.spectrum.processNativeColorInputs()})})(this,jQuery);