/*! jQuery Color v2.2.0 with SVG Color Names http://github.com/jquery/jquery-color | jquery.org/license */ !function(e,r){"function"==typeof define&&define.amd?define(["jquery"],r):"object"==typeof exports?module.exports=r(require("jquery")):r(e.jQuery)}(this,function(d,s){var u,a={},r=a.toString,c=/^([\-+])=\s*(\d+\.?\d*)/,e=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16),e[4]?(parseInt(e[4],16)/255).toFixed(2):1]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16),e[4]?(parseInt(e[4]+e[4],16)/255).toFixed(2):1]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],b=d.Color=function(e,r,a,n){return new d.Color.fn.parse(e,r,a,n)},p={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},h={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},o=b.support={},n=d("
")[0],g=d.each;function m(e){return null==e?e+"":"object"==typeof e?a[r.call(e)]||"object":typeof e}function y(e,r,a){var n=h[r.type]||{};return null==e?a||!r.def?null:r.def:(e=n.floor?~~e:parseFloat(e),isNaN(e)?r.def:n.mod?(e+n.mod)%n.mod:Math.min(n.max,Math.max(0,e)))}function i(o){var i=b(),l=i._rgba=[];return o=o.toLowerCase(),g(e,function(e,r){var a,n=r.re.exec(o),t=n&&r.parse(n),f=r.space||"rgba";if(t)return a=i[f](t),i[p[f].cache]=a[p[f].cache],l=i._rgba=a._rgba,!1}),l.length?("0,0,0,0"===l.join()&&d.extend(l,u.transparent),i):u[o]}function l(e,r,a){return 6*(a=(a+1)%1)<1?e+(r-e)*a*6:2*a<1?r:3*a<2?e+(r-e)*(2/3-a)*6:e}n.style.cssText="background-color:rgba(1,1,1,.5)",o.rgba=-1