jebcolors
Version:
npm module that contains colors, gradients and a class used to modify the colors or gradients
1 lines • 184 kB
JavaScript
(()=>{var e={621:function(e,a,f){"use strict";var r,n=this&&this.__extends||(r=function(e,a){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,a){e.__proto__=a}||function(e,a){for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&(e[f]=a[f])})(e,a)},function(e,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function f(){this.constructor=e}r(e,a),e.prototype=null===a?Object.create(a):(f.prototype=a.prototype,new f)}),i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:!0}),a.upgradecolor=a.megacolor=a.supercolor=a.GradientableColor=a.Color=void 0;var o=f(932),t=f(996),l=f(486),c=i(f(85)),d=f(456),b=i(f(377)),s=function(){function e(e){this._lightdarkconst=1.5,this._code=o.getFullCode(e),this._rgb=this.getRGB(),this._hsl=this.getHSL(),this._luminance=this.getLuminance(),this._jeb=this.YiqFormula(),this._dark=this._jeb<128}return e.test=function(e){return o.evaluateCode(e)},e.contrast=function(a,f){if(a instanceof e&&f instanceof e){var r=(Math.max(a.luminance,f.luminance)+.05)/(Math.min(a.luminance,f.luminance)+.05);return{passes:{normal:{minimal:r>=4.5,perfect:r>=7},bold:{minimal:r>=3,perfect:r>=4.5}}}}throw l.layer8Error("Must provide 2 instances of Color, in contrast() in Color(), providen were: "+typeof a+" and "+typeof f)},e.rgb=function(f){var r=f.map((function(a){return e.normalize(a,"RGB")})),n=r[0],i=r[1],o=r[2],t=c.default.rgb.hex([n,i,o]);return a.supercolor("#"+t)},e.hsl=function(f){var r=f[0],n=f[1],i=f[2];r=e.normalize(r,"H"),n=e.normalize(n,"SL"),i=e.normalize(i,"SL");var o=c.default.hsl.hex([r,n,i]);return a.supercolor("#"+o)},e.normalize=function(e,a){var f=function(e,a,f){return Math.min(Math.max(e,a),f)};if("RGB"===a)return~~f(e,0,255);if("H"===a)return(e%=360)<0?e+360:e;if("SL"===a)return f(e,0,100);if("JEB"===a)return f(e,0,255);throw l.layer8Error("to is different from allowed values, given was: "+a)},e.random=function(){var a=function(){return Math.floor(255*Math.random())+1},f=[a(),a(),a()],r=f[0],n=f[1],i=f[2];return e.rgb([r,n,i])},e.seed=function(a){var f=b.default(a),r=[f(),f(),f()].map((function(e){return Math.floor(255*e)+1})),n=r[0],i=r[1],o=r[2];return e.rgb([n,i,o])},e.prototype.getRGB=function(){var e=t.rrggbbREGEX.exec(this._code);if(!e)throw l.internalError("Trying to get RGBA values in Color()");var a=e[1],f=e[2],r=e[3];return[o.hex(a),o.hex(f),o.hex(r)]},e.prototype.getHSL=function(){var e=this._rgb,a=e[0],f=e[1],r=e[2],n=c.default.rgb.hsl(a,f,r);return[n[0],n[1],n[2]]},e.prototype.getLuminance=function(){var e=this._rgb.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}));return.2126*e[0]+.7152*e[1]+.0722*e[2]},e.prototype.YiqFormula=function(){var e=this._rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3},Object.defineProperty(e.prototype,"code",{get:function(){return this._code},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"red",{get:function(){return this._rgb[0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"green",{get:function(){return this._rgb[1]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"blue",{get:function(){return this._rgb[2]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rgb",{get:function(){return this._rgb},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hue",{get:function(){return this._hsl[0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"saturation",{get:function(){return this._hsl[1]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lightness",{get:function(){return this._hsl[2]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hsl",{get:function(){return this._hsl},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cmyk",{get:function(){return c.default.rgb.cmyk(this._rgb)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"luminance",{get:function(){return this._luminance},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"jeb",{get:function(){return this._jeb},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDark",{get:function(){return this._dark},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isLight",{get:function(){return!this._dark},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this.isDark?"#ffffff":"#000000"},enumerable:!1,configurable:!0}),e.prototype.alpha=function(e){var a=this.rgb;return"rgba("+a[0]+","+a[1]+","+a[2]+","+(e/=100)+")"},e.prototype.saturate=function(a){var f=this.hsl,r=f[0],n=f[1],i=f[2];return n*=a,e.hsl([r,n,i])},e.prototype.desaturate=function(a){var f=this.hsl,r=f[0],n=f[1],i=f[2];return n/=a,e.hsl([r,n,i])},e.prototype.lighten=function(a){var f=this.hsl,r=f[0],n=f[1],i=f[2];return i*=a,e.hsl([r,n,i])},e.prototype.darken=function(a){var f=this.hsl,r=f[0],n=f[1],i=f[2];return i/=a,e.hsl([r,n,i])},e.prototype.rotate=function(a){var f=this.hsl,r=f[0],n=f[1],i=f[2];return r=e.normalize(r+a,"H"),e.hsl([r,n,i])},e.prototype.next=function(e){return this.rotate(30*e)},e.prototype.previous=function(e){return this.next(-1*e)},Object.defineProperty(e.prototype,"negative",{get:function(){var a=this.rgb,f=a[0],r=a[1],n=a[2];return f=e.normalize(255-f,"RGB"),r=e.normalize(255-r,"RGB"),n=e.normalize(255-n,"RGB"),e.rgb([f,r,n])},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"complementary",{get:function(){return this.next(6)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"analogous",{get:function(){return[this.previous(1),this.next(1)]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"splitComplementary",{get:function(){return[this.previous(5),this.next(5)]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"triadic",{get:function(){return[this.previous(4),this.next(4)]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hover",{get:function(){return this.darken(this._lightdarkconst)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.lighten(this._lightdarkconst)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"monocromatic",{get:function(){return[this.disabled,this.hover]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"grayscale",{get:function(){var a=this.rgb,f=.3*a[0]+.59*a[1]+.11*a[2];return e.rgb([f,f,f])},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return this.code},e}();a.Color=s;var u=function(e){function a(a){var f=e.call(this,a)||this;return f._gradientWithAnalogous=f.gAnalogous(),f._gradientWithComplementary=f.gComplementary(),f._gradientWithDarker=f.gDarker(),f._gradientWithLighter=f.gLighter(),f._gradientWithMonocromatic=f.gMonocromatic(),f._gradientWithNegative=f.gNegative(),f._gradientWithSplitComplementary=f.gSplitComplementary(),f._gradientWithTriadic=f.gTriadic(),f}return n(a,e),a.prototype.gNegative=function(){return d.supergradient([this,this.negative])},a.prototype.gComplementary=function(){return d.supergradient([this,this.next(3),this.complementary])},a.prototype.gAnalogous=function(){var e=this.analogous,a=e[0],f=e[1];return d.supergradient([a,this,f])},a.prototype.gSplitComplementary=function(){var e=this.splitComplementary,a=e[0],f=e[1];return d.supergradient([a,this,f])},a.prototype.gTriadic=function(){var e=this.triadic,a=e[0],f=e[1];return d.supergradient([a,this,f])},a.prototype.gLighter=function(){return d.supergradient([this,this.disabled])},a.prototype.gDarker=function(){return d.supergradient([this,this.hover])},a.prototype.gMonocromatic=function(){return d.supergradient([this.disabled,this,this.hover])},Object.defineProperty(a.prototype,"gradientWithAnalogous",{get:function(){return this._gradientWithAnalogous},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"gradientWithComplementary",{get:function(){return this._gradientWithComplementary},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"gradientWithDarker",{get:function(){return this._gradientWithDarker},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"gradientWithLighter",{get:function(){return this._gradientWithLighter},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"gradientWithMonocromatic",{get:function(){return this._gradientWithMonocromatic},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"gradientWithNegative",{get:function(){return this._gradientWithNegative},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"gradientWithSplitComplementary",{get:function(){return this._gradientWithSplitComplementary},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"gradientWithTriadic",{get:function(){return this._gradientWithTriadic},enumerable:!1,configurable:!0}),a}(s);a.GradientableColor=u,a.supercolor=function(e){return new s(e)},a.megacolor=function(e){return new u(e)},a.upgradecolor=function(e){if(e instanceof s)return a.megacolor(e.code);if("string"==typeof e)return a.supercolor(e);throw l.layer8Error("Argument in upgradecolor() must be a string or a Color instance, the provided was: "+typeof e)}},456:function(e,a,f){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:!0}),a.supergradient=a.Gradient=void 0;var n=f(621),i=r(f(377)),o=function(){function e(e){this._colors=e.map((function(e){return e instanceof n.Color?e:n.supercolor(e)})),this._codes=this._colors.map((function(e){return e.code}))}return e.random=function(){var e=Math.floor(5*Math.random())+1,f=Array(e).fill(0).map((function(){return n.Color.random()}));return a.supergradient(f)},e.seed=function(e){var f=i.default(e),r=Math.floor(5*f())+1,o=Array(r).fill(0).map((function(a,f){return n.Color.seed(e+f)}));return a.supergradient(o)},Object.defineProperty(e.prototype,"colors",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"codes",{get:function(){return this._codes},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"averageColor",{get:function(){var e=this.colors,a=0,f=0,r=0;return e.forEach((function(e){a+=e.red,f+=e.green,r+=e.blue})),a/=e.length,f/=e.length,r/=e.length,n.Color.rgb([a,f,r])},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return this.codes.join()},e}();a.Gradient=o,a.supergradient=function(e){return new o(e)}},486:function(e,a){"use strict";var f,r=this&&this.__extends||(f=function(e,a){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,a){e.__proto__=a}||function(e,a){for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&(e[f]=a[f])})(e,a)},function(e,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function r(){this.constructor=e}f(e,a),e.prototype=null===a?Object.create(a):(r.prototype=a.prototype,new r)});Object.defineProperty(a,"__esModule",{value:!0}),a.layer8Error=a.internalError=a.couldntParseError=a.invalidCodeOrNameError=void 0;var n=function(e){function a(){return null!==e&&e.apply(this,arguments)||this}return r(a,e),a}(Error),i=function(e){function a(){return null!==e&&e.apply(this,arguments)||this}return r(a,e),a}(Error);a.invalidCodeOrNameError=function(e,a){return new n("The given code or name isn't a valid hexadecimal code or a valid css color name: "+e+". Module 'jebcolors' trying to do: "+a)},a.couldntParseError=function(e,a,f){return new n("Couldn't parse the hexadecimal code or css color name: "+e+", trying to parse to: "+a+". Module 'jebcolors' trying to do "+f)},a.internalError=function(e){return new n("An internal error in module 'jebcolors' happened, this is usually an error in the package code. Trying to do: "+e)},a.layer8Error=function(e){return new i("The developer made a mistake that ended in an error: "+e)}},932:(e,a,f)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.hex=a.getFullCode=a.css=a.evaluateCode=void 0;var r=f(996),n=f(119),i=f(486);a.evaluateCode=function(e){var f,i;if(r.rgbREGEX.test(e))f=!0,i="rgb";else if(r.rrggbbREGEX.test(e))f=!0,i="rrggbb";else if(Object.keys(n._webMainColorsMixedKeys_ONLY_TO_INTERN_USE).includes(e)){var o=e,t=a.css(o);t?(f=a.evaluateCode(t).valid,i="css"):(f=!1,i="invalid")}else f=!1,i="invalid";return{valid:f,type:i}},a.css=function(e){var a;return null!==(a=n._webMainColorsMixedKeys_ONLY_TO_INTERN_USE[e])&&void 0!==a?a:n._webMainColorsMixedKeys_ONLY_TO_INTERN_USE.white},a.getFullCode=function(e){e=e.split("").filter((function(e){return e})).join("");var f,n=a.evaluateCode(e);if(!n.valid)throw i.invalidCodeOrNameError(e,"Validation not passed in getFullCode()");switch(n.type){case"rgb":if(!(c=r.rgbREGEX.exec(e)))throw i.couldntParseError(e,"rgb","Parsing rgb getFullCode()");c[0];var o=c[1],t=c[2],l=c[3];f="#"+o+o+t+t+l+l;break;case"rrggbb":if(!(c=r.rrggbbREGEX.exec(e)))throw i.couldntParseError(e,"rrggbb","Parsing rrggbb getFullCode()");c[0],f="#"+c[1]+c[2]+c[3];break;case"css":var c,d=a.css(e);if(!(c=r.rrggbbREGEX.exec(d)))throw i.couldntParseError(d+" (hex of: "+e+")","css","Parsing css getFullCode()");c[0],f="#"+c[1]+c[2]+c[3];break;default:throw i.internalError("Case default in getFullCode()")}if(r.rrggbbREGEX.test(f))return f.toLowerCase();throw i.internalError("Logical error, color doesn't match in getFullCode()")},a.hex=function(e){return Math.min(Math.max(Number("0x"+e)||0,0),255)}},165:(e,a,f)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.supergradient=a.Gradient=a.upgradecolor=a.megacolor=a.GradientableColor=a.supercolor=a.Color=void 0;var r=f(621);Object.defineProperty(a,"Color",{enumerable:!0,get:function(){return r.Color}}),Object.defineProperty(a,"supercolor",{enumerable:!0,get:function(){return r.supercolor}}),Object.defineProperty(a,"GradientableColor",{enumerable:!0,get:function(){return r.GradientableColor}}),Object.defineProperty(a,"megacolor",{enumerable:!0,get:function(){return r.megacolor}}),Object.defineProperty(a,"upgradecolor",{enumerable:!0,get:function(){return r.upgradecolor}});var n=f(456);Object.defineProperty(a,"Gradient",{enumerable:!0,get:function(){return n.Gradient}}),Object.defineProperty(a,"supergradient",{enumerable:!0,get:function(){return n.supergradient}})},996:(e,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.rrggbbREGEX=a.rgbREGEX=void 0,a.rgbREGEX=/^#([0-9a-f]{1})([0-9a-f]{1})([0-9a-f]{1})$/i,a.rrggbbREGEX=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i},119:function(e,a){"use strict";var f=this&&this.__assign||function(){return(f=Object.assign||function(e){for(var a,f=1,r=arguments.length;f<r;f++)for(var n in a=arguments[f])Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);return e}).apply(this,arguments)};Object.defineProperty(a,"__esModule",{value:!0}),a._webMainColorsMixedKeys_ONLY_TO_INTERN_USE=a.webMainColors=void 0;var r="#c71585",n="#ff1493",i="#db7093",o="#ff69b4",t="#ffb6c1",l="#ffc0cb",c="#8b0000",d="#ff0000",b="#b22222",s="#dc143c",u="#cd5c5c",F="#f08080",g="#fa8072",h="#e9967a",B="#ffa07a",m="#ff4500",C="#ff6347",p="#ff8c00",D="#ff7f50",E="#ffa500",y="#bdb76b",A="#ffd700",k="#f0e68c",w="#ffdab9",v="#ffff00",G="#eee8aa",S="#ffe4b5",O="#ffefd5",P="#fafad2",T="#fffacd",M="#ffffe0",j="#800000",z="#a52a2a",L="#8b4513",x="#a0522d",R="#d2691e",q="#b8860b",W="#cd853f",_="#bc8f8f",V="#daa520",Y="#f4a460",N="#d2b48c",H="#deb887",I="#f5deb3",U="#ffdead",K="#ffe4c4",X="#ffebcd",Q="#fff8dc",J="#006400",$="#008000",Z="#556b2f",ee="#228b22",ae="#2e8b57",fe="#808000",re="#6b8e23",ne="#3cb371",ie="#32cd32",oe="#00ff00",te="#00ff7f",le="#00fa9a",ce="#8fbc8f",de="#66cdaa",be="#9acd32",se="#7cfc00",ue="#7fff00",Fe="#90ee90",ge="#adff2f",he="#98fb98",Be="#008080",me="#008b8b",Ce="#20b2aa",pe="#5f9ea0",De="#00ced1",Ee="#48d1cc",ye="#40e0d0",Ae="#00ffff",ke="#00ffff",we="#7fffd4",ve="#afeeee",Ge="#e0ffff",Se="#000080",Oe="#00008b",Pe="#0000cd",Te="#0000ff",Me="#191970",je="#4169e1",ze="#4682b4",Le="#1e90ff",xe="#00bfff",Re="#6495ed",qe="#87ceeb",We="#87cefa",_e="#b0c4de",Ve="#add8e6",Ye="#b0e0e6",Ne="#4b0082",He="#800080",Ie="#8b008b",Ue="#9400d3",Ke="#483d8b",Xe="#8a2be2",Qe="#9932cc",Je="#ff00ff",$e="#ff00ff",Ze="#6a5acd",ea="#7b68ee",aa="#ba55d3",fa="#9370db",ra="#da70d6",na="#ee82ee",ia="#dda0dd",oa="#d8bfd8",ta="#e6e6fa",la="#663399",ca="#ffe4e1",da="#faebd7",ba="#faf0e6",sa="#f5f5dc",ua="#f5f5f5",Fa="#fff0f5",ga="#fdf5e6",ha="#f0f8ff",Ba="#fff5ee",ma="#f8f8ff",Ca="#f0fff0",pa="#fffaf0",Da="#f0ffff",Ea="#f5fffa",ya="#fffafa",Aa="#fffff0",ka="#ffffff",wa="#000000",va="#2f4f4f",Ga="#696969",Sa="#708090",Oa="#808080",Pa="#778899",Ta="#a9a9a9",Ma="#c0c0c0",ja="#d3d3d3",za="#dcdcdc";a.webMainColors={mediumVioletRed:r,deepPink:n,paleVioletRed:i,hotPink:o,lightPink:t,pink:l,darkRed:c,red:d,firebrick:b,crimson:s,indianRed:u,lightCoral:F,salmon:g,darkSalmon:h,lightSalmon:B,orangeRed:m,tomato:C,darkOrange:p,coral:D,orange:E,darkKhaki:y,gold:A,khaki:k,peachPuff:w,yellow:v,paleGoldenrod:G,moccasin:S,papayaWhip:O,lightGoldenrodYellow:P,lemonChiffon:T,lightYellow:M,maroon:j,brown:z,saddleBrown:L,sienna:x,chocolate:R,darkGoldenrod:q,peru:W,rosyBrown:_,goldenrod:V,sandyBrown:Y,tan:N,burlywood:H,wheat:I,navajoWhite:U,bisque:K,blanchedAlmond:X,cornsilk:Q,darkGreen:J,green:$,darkOliveGreen:Z,forestGreen:ee,seaGreen:ae,olive:fe,oliveDrab:re,mediumSeaGreen:ne,limeGreen:ie,lime:oe,springGreen:te,mediumSpringGreen:le,darkSeaGreen:ce,mediumAquamarine:de,yellowGreen:be,lawnGreen:se,chartreuse:ue,lightGreen:Fe,greenYellow:ge,paleGreen:he,teal:Be,darkCyan:me,lightSeaGreen:Ce,cadetBlue:pe,darkTurquoise:De,mediumTurquoise:Ee,turquoise:ye,aqua:Ae,cyan:ke,aquamarine:we,paleTurquoise:ve,lightCyan:Ge,navy:Se,darkBlue:Oe,mediumBlue:Pe,blue:Te,midnightBlue:Me,royalBlue:je,steelBlue:ze,dodgerBlue:Le,deepSkyBlue:xe,cornflowerBlue:Re,skyBlue:qe,lightSkyBlue:We,lightSteelBlue:_e,lightBlue:Ve,powderBlue:Ye,indigo:Ne,purple:He,darkMagenta:Ie,darkViolet:Ue,darkSlateBlue:Ke,blueViolet:Xe,darkOrchid:Qe,fuchsia:Je,magenta:$e,slateBlue:Ze,mediumSlateBlue:ea,mediumOrchid:aa,mediumPurple:fa,orchid:ra,violet:na,plum:ia,thistle:oa,lavender:ta,rebeccaPurple:la,mistyRose:ca,antiqueWhite:da,linen:ba,beige:sa,whiteSmoke:ua,lavenderBlush:Fa,oldLace:ga,aliceBlue:ha,seashell:Ba,ghostWhite:ma,honeydew:Ca,floralWhite:pa,azure:Da,mintCream:Ea,snow:ya,ivory:Aa,white:ka,black:wa,darkSlateGray:va,dimGray:Ga,slateGray:Sa,gray:Oa,lightSlateGray:Pa,darkGray:Ta,silver:Ma,lightGray:ja,gainsboro:za};var La={mediumvioletred:r,deeppink:n,palevioletred:i,hotpink:o,lightpink:t,pink:l,darkred:c,red:d,firebrick:b,crimson:s,indianred:u,lightcoral:F,salmon:g,darksalmon:h,lightsalmon:B,orangered:m,tomato:C,darkorange:p,coral:D,orange:E,darkkhaki:y,gold:A,khaki:k,peachpuff:w,yellow:v,palegoldenrod:G,moccasin:S,papayawhip:O,lightgoldenrodyellow:P,lemonchiffon:T,lightyellow:M,maroon:j,brown:z,saddlebrown:L,sienna:x,chocolate:R,darkgoldenrod:q,peru:W,rosybrown:_,goldenrod:V,sandybrown:Y,tan:N,burlywood:H,wheat:I,navajowhite:U,bisque:K,blanchedalmond:X,cornsilk:Q,darkgreen:J,green:$,darkolivegreen:Z,forestgreen:ee,seagreen:ae,olive:fe,olivedrab:re,mediumseagreen:ne,limegreen:ie,lime:oe,springgreen:te,mediumspringgreen:le,darkseagreen:ce,mediumaquamarine:de,yellowgreen:be,lawngreen:se,chartreuse:ue,lightgreen:Fe,greenyellow:ge,palegreen:he,teal:Be,darkcyan:me,lightseagreen:Ce,cadetblue:pe,darkturquoise:De,mediumturquoise:Ee,turquoise:ye,aqua:Ae,cyan:ke,aquamarine:we,paleturquoise:ve,lightcyan:Ge,navy:Se,darkblue:Oe,mediumblue:Pe,blue:Te,midnightblue:Me,royalblue:je,steelblue:ze,dodgerblue:Le,deepskyblue:xe,cornflowerblue:Re,skyblue:qe,lightskyblue:We,lightsteelblue:_e,lightblue:Ve,powderblue:Ye,indigo:Ne,purple:He,darkmagenta:Ie,darkviolet:Ue,darkslateblue:Ke,blueviolet:Xe,darkorchid:Qe,fuchsia:Je,magenta:$e,slateblue:Ze,mediumslateblue:ea,mediumorchid:aa,mediumpurple:fa,orchid:ra,violet:na,plum:ia,thistle:oa,lavender:ta,rebeccapurple:la,mistyrose:ca,antiquewhite:da,linen:ba,beige:sa,whitesmoke:ua,lavenderblush:Fa,oldlace:ga,aliceblue:ha,seashell:Ba,ghostwhite:ma,honeydew:Ca,floralwhite:pa,azure:Da,mintcream:Ea,snow:ya,ivory:Aa,white:ka,black:wa,darkslategray:va,dimgray:Ga,slategray:Sa,gray:Oa,lightslategray:Pa,darkgray:Ta,silver:Ma,lightgray:ja,gainsboro:za};a._webMainColorsMixedKeys_ONLY_TO_INTERN_USE=f(f({},La),a.webMainColors)},168:(e,a,f)=>{const r=f(874),n={};for(const e of Object.keys(r))n[r[e]]=e;const i={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};e.exports=i;for(const e of Object.keys(i)){if(!("channels"in i[e]))throw new Error("missing channels property: "+e);if(!("labels"in i[e]))throw new Error("missing channel labels property: "+e);if(i[e].labels.length!==i[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:a,labels:f}=i[e];delete i[e].channels,delete i[e].labels,Object.defineProperty(i[e],"channels",{value:a}),Object.defineProperty(i[e],"labels",{value:f})}i.rgb.hsl=function(e){const a=e[0]/255,f=e[1]/255,r=e[2]/255,n=Math.min(a,f,r),i=Math.max(a,f,r),o=i-n;let t,l;i===n?t=0:a===i?t=(f-r)/o:f===i?t=2+(r-a)/o:r===i&&(t=4+(a-f)/o),t=Math.min(60*t,360),t<0&&(t+=360);const c=(n+i)/2;return l=i===n?0:c<=.5?o/(i+n):o/(2-i-n),[t,100*l,100*c]},i.rgb.hsv=function(e){let a,f,r,n,i;const o=e[0]/255,t=e[1]/255,l=e[2]/255,c=Math.max(o,t,l),d=c-Math.min(o,t,l),b=function(e){return(c-e)/6/d+.5};return 0===d?(n=0,i=0):(i=d/c,a=b(o),f=b(t),r=b(l),o===c?n=r-f:t===c?n=1/3+a-r:l===c&&(n=2/3+f-a),n<0?n+=1:n>1&&(n-=1)),[360*n,100*i,100*c]},i.rgb.hwb=function(e){const a=e[0],f=e[1];let r=e[2];const n=i.rgb.hsl(e)[0],o=1/255*Math.min(a,Math.min(f,r));return r=1-1/255*Math.max(a,Math.max(f,r)),[n,100*o,100*r]},i.rgb.cmyk=function(e){const a=e[0]/255,f=e[1]/255,r=e[2]/255,n=Math.min(1-a,1-f,1-r);return[100*((1-a-n)/(1-n)||0),100*((1-f-n)/(1-n)||0),100*((1-r-n)/(1-n)||0),100*n]},i.rgb.keyword=function(e){const a=n[e];if(a)return a;let f,i=1/0;for(const a of Object.keys(r)){const n=(t=r[a],((o=e)[0]-t[0])**2+(o[1]-t[1])**2+(o[2]-t[2])**2);n<i&&(i=n,f=a)}var o,t;return f},i.keyword.rgb=function(e){return r[e]},i.rgb.xyz=function(e){let a=e[0]/255,f=e[1]/255,r=e[2]/255;return a=a>.04045?((a+.055)/1.055)**2.4:a/12.92,f=f>.04045?((f+.055)/1.055)**2.4:f/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,[100*(.4124*a+.3576*f+.1805*r),100*(.2126*a+.7152*f+.0722*r),100*(.0193*a+.1192*f+.9505*r)]},i.rgb.lab=function(e){const a=i.rgb.xyz(e);let f=a[0],r=a[1],n=a[2];return f/=95.047,r/=100,n/=108.883,f=f>.008856?f**(1/3):7.787*f+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,[116*r-16,500*(f-r),200*(r-n)]},i.hsl.rgb=function(e){const a=e[0]/360,f=e[1]/100,r=e[2]/100;let n,i,o;if(0===f)return o=255*r,[o,o,o];n=r<.5?r*(1+f):r+f-r*f;const t=2*r-n,l=[0,0,0];for(let e=0;e<3;e++)i=a+1/3*-(e-1),i<0&&i++,i>1&&i--,o=6*i<1?t+6*(n-t)*i:2*i<1?n:3*i<2?t+(n-t)*(2/3-i)*6:t,l[e]=255*o;return l},i.hsl.hsv=function(e){const a=e[0];let f=e[1]/100,r=e[2]/100,n=f;const i=Math.max(r,.01);return r*=2,f*=r<=1?r:2-r,n*=i<=1?i:2-i,[a,100*(0===r?2*n/(i+n):2*f/(r+f)),(r+f)/2*100]},i.hsv.rgb=function(e){const a=e[0]/60,f=e[1]/100;let r=e[2]/100;const n=Math.floor(a)%6,i=a-Math.floor(a),o=255*r*(1-f),t=255*r*(1-f*i),l=255*r*(1-f*(1-i));switch(r*=255,n){case 0:return[r,l,o];case 1:return[t,r,o];case 2:return[o,r,l];case 3:return[o,t,r];case 4:return[l,o,r];case 5:return[r,o,t]}},i.hsv.hsl=function(e){const a=e[0],f=e[1]/100,r=e[2]/100,n=Math.max(r,.01);let i,o;o=(2-f)*r;const t=(2-f)*n;return i=f*n,i/=t<=1?t:2-t,i=i||0,o/=2,[a,100*i,100*o]},i.hwb.rgb=function(e){const a=e[0]/360;let f=e[1]/100,r=e[2]/100;const n=f+r;let i;n>1&&(f/=n,r/=n);const o=Math.floor(6*a),t=1-r;i=6*a-o,0!=(1&o)&&(i=1-i);const l=f+i*(t-f);let c,d,b;switch(o){default:case 6:case 0:c=t,d=l,b=f;break;case 1:c=l,d=t,b=f;break;case 2:c=f,d=t,b=l;break;case 3:c=f,d=l,b=t;break;case 4:c=l,d=f,b=t;break;case 5:c=t,d=f,b=l}return[255*c,255*d,255*b]},i.cmyk.rgb=function(e){const a=e[0]/100,f=e[1]/100,r=e[2]/100,n=e[3]/100;return[255*(1-Math.min(1,a*(1-n)+n)),255*(1-Math.min(1,f*(1-n)+n)),255*(1-Math.min(1,r*(1-n)+n))]},i.xyz.rgb=function(e){const a=e[0]/100,f=e[1]/100,r=e[2]/100;let n,i,o;return n=3.2406*a+-1.5372*f+-.4986*r,i=-.9689*a+1.8758*f+.0415*r,o=.0557*a+-.204*f+1.057*r,n=n>.0031308?1.055*n**(1/2.4)-.055:12.92*n,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,n=Math.min(Math.max(0,n),1),i=Math.min(Math.max(0,i),1),o=Math.min(Math.max(0,o),1),[255*n,255*i,255*o]},i.xyz.lab=function(e){let a=e[0],f=e[1],r=e[2];return a/=95.047,f/=100,r/=108.883,a=a>.008856?a**(1/3):7.787*a+16/116,f=f>.008856?f**(1/3):7.787*f+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,[116*f-16,500*(a-f),200*(f-r)]},i.lab.xyz=function(e){let a,f,r;f=(e[0]+16)/116,a=e[1]/500+f,r=f-e[2]/200;const n=f**3,i=a**3,o=r**3;return f=n>.008856?n:(f-16/116)/7.787,a=i>.008856?i:(a-16/116)/7.787,r=o>.008856?o:(r-16/116)/7.787,a*=95.047,f*=100,r*=108.883,[a,f,r]},i.lab.lch=function(e){const a=e[0],f=e[1],r=e[2];let n;return n=360*Math.atan2(r,f)/2/Math.PI,n<0&&(n+=360),[a,Math.sqrt(f*f+r*r),n]},i.lch.lab=function(e){const a=e[0],f=e[1],r=e[2]/360*2*Math.PI;return[a,f*Math.cos(r),f*Math.sin(r)]},i.rgb.ansi16=function(e,a=null){const[f,r,n]=e;let o=null===a?i.rgb.hsv(e)[2]:a;if(o=Math.round(o/50),0===o)return 30;let t=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(f/255));return 2===o&&(t+=60),t},i.hsv.ansi16=function(e){return i.rgb.ansi16(i.hsv.rgb(e),e[2])},i.rgb.ansi256=function(e){const a=e[0],f=e[1],r=e[2];return a===f&&f===r?a<8?16:a>248?231:Math.round((a-8)/247*24)+232:16+36*Math.round(a/255*5)+6*Math.round(f/255*5)+Math.round(r/255*5)},i.ansi16.rgb=function(e){let a=e%10;if(0===a||7===a)return e>50&&(a+=3.5),a=a/10.5*255,[a,a,a];const f=.5*(1+~~(e>50));return[(1&a)*f*255,(a>>1&1)*f*255,(a>>2&1)*f*255]},i.ansi256.rgb=function(e){if(e>=232){const a=10*(e-232)+8;return[a,a,a]}let a;return e-=16,[Math.floor(e/36)/5*255,Math.floor((a=e%36)/6)/5*255,a%6/5*255]},i.rgb.hex=function(e){const a=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(a.length)+a},i.hex.rgb=function(e){const a=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!a)return[0,0,0];let f=a[0];3===a[0].length&&(f=f.split("").map((e=>e+e)).join(""));const r=parseInt(f,16);return[r>>16&255,r>>8&255,255&r]},i.rgb.hcg=function(e){const a=e[0]/255,f=e[1]/255,r=e[2]/255,n=Math.max(Math.max(a,f),r),i=Math.min(Math.min(a,f),r),o=n-i;let t,l;return t=o<1?i/(1-o):0,l=o<=0?0:n===a?(f-r)/o%6:n===f?2+(r-a)/o:4+(a-f)/o,l/=6,l%=1,[360*l,100*o,100*t]},i.hsl.hcg=function(e){const a=e[1]/100,f=e[2]/100,r=f<.5?2*a*f:2*a*(1-f);let n=0;return r<1&&(n=(f-.5*r)/(1-r)),[e[0],100*r,100*n]},i.hsv.hcg=function(e){const a=e[1]/100,f=e[2]/100,r=a*f;let n=0;return r<1&&(n=(f-r)/(1-r)),[e[0],100*r,100*n]},i.hcg.rgb=function(e){const a=e[0]/360,f=e[1]/100,r=e[2]/100;if(0===f)return[255*r,255*r,255*r];const n=[0,0,0],i=a%1*6,o=i%1,t=1-o;let l=0;switch(Math.floor(i)){case 0:n[0]=1,n[1]=o,n[2]=0;break;case 1:n[0]=t,n[1]=1,n[2]=0;break;case 2:n[0]=0,n[1]=1,n[2]=o;break;case 3:n[0]=0,n[1]=t,n[2]=1;break;case 4:n[0]=o,n[1]=0,n[2]=1;break;default:n[0]=1,n[1]=0,n[2]=t}return l=(1-f)*r,[255*(f*n[0]+l),255*(f*n[1]+l),255*(f*n[2]+l)]},i.hcg.hsv=function(e){const a=e[1]/100,f=a+e[2]/100*(1-a);let r=0;return f>0&&(r=a/f),[e[0],100*r,100*f]},i.hcg.hsl=function(e){const a=e[1]/100,f=e[2]/100*(1-a)+.5*a;let r=0;return f>0&&f<.5?r=a/(2*f):f>=.5&&f<1&&(r=a/(2*(1-f))),[e[0],100*r,100*f]},i.hcg.hwb=function(e){const a=e[1]/100,f=a+e[2]/100*(1-a);return[e[0],100*(f-a),100*(1-f)]},i.hwb.hcg=function(e){const a=e[1]/100,f=1-e[2]/100,r=f-a;let n=0;return r<1&&(n=(f-r)/(1-r)),[e[0],100*r,100*n]},i.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},i.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},i.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},i.gray.hsl=function(e){return[0,0,e[0]]},i.gray.hsv=i.gray.hsl,i.gray.hwb=function(e){return[0,100,e[0]]},i.gray.cmyk=function(e){return[0,0,0,e[0]]},i.gray.lab=function(e){return[e[0],0,0]},i.gray.hex=function(e){const a=255&Math.round(e[0]/100*255),f=((a<<16)+(a<<8)+a).toString(16).toUpperCase();return"000000".substring(f.length)+f},i.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},85:(e,a,f)=>{const r=f(168),n=f(111),i={};Object.keys(r).forEach((e=>{i[e]={},Object.defineProperty(i[e],"channels",{value:r[e].channels}),Object.defineProperty(i[e],"labels",{value:r[e].labels});const a=n(e);Object.keys(a).forEach((f=>{const r=a[f];i[e][f]=function(e){const a=function(...a){const f=a[0];if(null==f)return f;f.length>1&&(a=f);const r=e(a);if("object"==typeof r)for(let e=r.length,a=0;a<e;a++)r[a]=Math.round(r[a]);return r};return"conversion"in e&&(a.conversion=e.conversion),a}(r),i[e][f].raw=function(e){const a=function(...a){const f=a[0];return null==f?f:(f.length>1&&(a=f),e(a))};return"conversion"in e&&(a.conversion=e.conversion),a}(r)}))})),e.exports=i},111:(e,a,f)=>{const r=f(168);function n(e,a){return function(f){return a(e(f))}}function i(e,a){const f=[a[e].parent,e];let i=r[a[e].parent][e],o=a[e].parent;for(;a[o].parent;)f.unshift(a[o].parent),i=n(r[a[o].parent][o],i),o=a[o].parent;return i.conversion=f,i}e.exports=function(e){const a=function(e){const a=function(){const e={},a=Object.keys(r);for(let f=a.length,r=0;r<f;r++)e[a[r]]={distance:-1,parent:null};return e}(),f=[e];for(a[e].distance=0;f.length;){const e=f.pop(),n=Object.keys(r[e]);for(let r=n.length,i=0;i<r;i++){const r=n[i],o=a[r];-1===o.distance&&(o.distance=a[e].distance+1,o.parent=e,f.unshift(r))}}return a}(e),f={},n=Object.keys(a);for(let e=n.length,r=0;r<e;r++){const e=n[r];null!==a[e].parent&&(f[e]=i(e,a))}return f}},874:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},377:(e,a,f)=>{var r=f(832),n=f(652),i=f(801),o=f(30),t=f(618),l=f(49),c=f(971);c.alea=r,c.xor128=n,c.xorwow=i,c.xorshift7=o,c.xor4096=t,c.tychei=l,e.exports=c},832:function(e,a,f){var r;!function(e,n,i){function o(e){var a,f=this,r=(a=4022871197,function(e){e=String(e);for(var f=0;f<e.length;f++){var r=.02519603282416938*(a+=e.charCodeAt(f));r-=a=r>>>0,a=(r*=a)>>>0,a+=4294967296*(r-=a)}return 2.3283064365386963e-10*(a>>>0)});f.next=function(){var e=2091639*f.s0+2.3283064365386963e-10*f.c;return f.s0=f.s1,f.s1=f.s2,f.s2=e-(f.c=0|e)},f.c=1,f.s0=r(" "),f.s1=r(" "),f.s2=r(" "),f.s0-=r(e),f.s0<0&&(f.s0+=1),f.s1-=r(e),f.s1<0&&(f.s1+=1),f.s2-=r(e),f.s2<0&&(f.s2+=1),r=null}function t(e,a){return a.c=e.c,a.s0=e.s0,a.s1=e.s1,a.s2=e.s2,a}function l(e,a){var f=new o(e),r=a&&a.state,n=f.next;return n.int32=function(){return 4294967296*f.next()|0},n.double=function(){return n()+11102230246251565e-32*(2097152*n()|0)},n.quick=n,r&&("object"==typeof r&&t(r,f),n.state=function(){return t(f,{})}),n}n&&n.exports?n.exports=l:f.amdD&&f.amdO?void 0===(r=function(){return l}.call(a,f,a,n))||(n.exports=r):this.alea=l}(0,e=f.nmd(e),f.amdD)},49:function(e,a,f){var r;!function(e,n,i){function o(e){var a=this,f="";a.next=function(){var e=a.b,f=a.c,r=a.d,n=a.a;return e=e<<25^e>>>7^f,f=f-r|0,r=r<<24^r>>>8^n,n=n-e|0,a.b=e=e<<20^e>>>12^f,a.c=f=f-r|0,a.d=r<<16^f>>>16^n,a.a=n-e|0},a.a=0,a.b=0,a.c=-1640531527,a.d=1367130551,e===Math.floor(e)?(a.a=e/4294967296|0,a.b=0|e):f+=e;for(var r=0;r<f.length+20;r++)a.b^=0|f.charCodeAt(r),a.next()}function t(e,a){return a.a=e.a,a.b=e.b,a.c=e.c,a.d=e.d,a}function l(e,a){var f=new o(e),r=a&&a.state,n=function(){return(f.next()>>>0)/4294967296};return n.double=function(){do{var e=((f.next()>>>11)+(f.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},n.int32=f.next,n.quick=n,r&&("object"==typeof r&&t(r,f),n.state=function(){return t(f,{})}),n}n&&n.exports?n.exports=l:f.amdD&&f.amdO?void 0===(r=function(){return l}.call(a,f,a,n))||(n.exports=r):this.tychei=l}(0,e=f.nmd(e),f.amdD)},652:function(e,a,f){var r;!function(e,n,i){function o(e){var a=this,f="";a.x=0,a.y=0,a.z=0,a.w=0,a.next=function(){var e=a.x^a.x<<11;return a.x=a.y,a.y=a.z,a.z=a.w,a.w^=a.w>>>19^e^e>>>8},e===(0|e)?a.x=e:f+=e;for(var r=0;r<f.length+64;r++)a.x^=0|f.charCodeAt(r),a.next()}function t(e,a){return a.x=e.x,a.y=e.y,a.z=e.z,a.w=e.w,a}function l(e,a){var f=new o(e),r=a&&a.state,n=function(){return(f.next()>>>0)/4294967296};return n.double=function(){do{var e=((f.next()>>>11)+(f.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},n.int32=f.next,n.quick=n,r&&("object"==typeof r&&t(r,f),n.state=function(){return t(f,{})}),n}n&&n.exports?n.exports=l:f.amdD&&f.amdO?void 0===(r=function(){return l}.call(a,f,a,n))||(n.exports=r):this.xor128=l}(0,e=f.nmd(e),f.amdD)},618:function(e,a,f){var r;!function(e,n,i){function o(e){var a=this;a.next=function(){var e,f,r=a.w,n=a.X,i=a.i;return a.w=r=r+1640531527|0,f=n[i+34&127],e=n[i=i+1&127],f^=f<<13,e^=e<<17,f^=f>>>15,e^=e>>>12,f=n[i]=f^e,a.i=i,f+(r^r>>>16)|0},function(e,a){var f,r,n,i,o,t=[],l=128;for(a===(0|a)?(r=a,a=null):(a+="\0",r=0,l=Math.max(l,a.length)),n=0,i=-32;i<l;++i)a&&(r^=a.charCodeAt((i+32)%a.length)),0===i&&(o=r),r^=r<<10,r^=r>>>15,r^=r<<4,r^=r>>>13,i>=0&&(o=o+1640531527|0,n=0==(f=t[127&i]^=r+o)?n+1:0);for(n>=128&&(t[127&(a&&a.length||0)]=-1),n=127,i=512;i>0;--i)r=t[n+34&127],f=t[n=n+1&127],r^=r<<13,f^=f<<17,r^=r>>>15,f^=f>>>12,t[n]=r^f;e.w=o,e.X=t,e.i=n}(a,e)}function t(e,a){return a.i=e.i,a.w=e.w,a.X=e.X.slice(),a}function l(e,a){null==e&&(e=+new Date);var f=new o(e),r=a&&a.state,n=function(){return(f.next()>>>0)/4294967296};return n.double=function(){do{var e=((f.next()>>>11)+(f.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},n.int32=f.next,n.quick=n,r&&(r.X&&t(r,f),n.state=function(){return t(f,{})}),n}n&&n.exports?n.exports=l:f.amdD&&f.amdO?void 0===(r=function(){return l}.call(a,f,a,n))||(n.exports=r):this.xor4096=l}(0,e=f.nmd(e),f.amdD)},30:function(e,a,f){var r;!function(e,n,i){function o(e){var a=this;a.next=function(){var e,f,r=a.x,n=a.i;return e=r[n],f=(e^=e>>>7)^e<<24,f^=(e=r[n+1&7])^e>>>10,f^=(e=r[n+3&7])^e>>>3,f^=(e=r[n+4&7])^e<<7,e=r[n+7&7],f^=(e^=e<<13)^e<<9,r[n]=f,a.i=n+1&7,f},function(e,a){var f,r=[];if(a===(0|a))r[0]=a;else for(a=""+a,f=0;f<a.length;++f)r[7&f]=r[7&f]<<15^a.charCodeAt(f)+r[f+1&7]<<13;for(;r.length<8;)r.push(0);for(f=0;f<8&&0===r[f];++f);for(8==f?r[7]=-1:r[f],e.x=r,e.i=0,f=256;f>0;--f)e.next()}(a,e)}function t(e,a){return a.x=e.x.slice(),a.i=e.i,a}function l(e,a){null==e&&(e=+new Date);var f=new o(e),r=a&&a.state,n=function(){return(f.next()>>>0)/4294967296};return n.double=function(){do{var e=((f.next()>>>11)+(f.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},n.int32=f.next,n.quick=n,r&&(r.x&&t(r,f),n.state=function(){return t(f,{})}),n}n&&n.exports?n.exports=l:f.amdD&&f.amdO?void 0===(r=function(){return l}.call(a,f,a,n))||(n.exports=r):this.xorshift7=l}(0,e=f.nmd(e),f.amdD)},801:function(e,a,f){var r;!function(e,n,i){function o(e){var a=this,f="";a.next=function(){var e=a.x^a.x>>>2;return a.x=a.y,a.y=a.z,a.z=a.w,a.w=a.v,(a.d=a.d+362437|0)+(a.v=a.v^a.v<<4^e^e<<1)|0},a.x=0,a.y=0,a.z=0,a.w=0,a.v=0,e===(0|e)?a.x=e:f+=e;for(var r=0;r<f.length+64;r++)a.x^=0|f.charCodeAt(r),r==f.length&&(a.d=a.x<<10^a.x>>>4),a.next()}function t(e,a){return a.x=e.x,a.y=e.y,a.z=e.z,a.w=e.w,a.v=e.v,a.d=e.d,a}function l(e,a){var f=new o(e),r=a&&a.state,n=function(){return(f.next()>>>0)/4294967296};return n.double=function(){do{var e=((f.next()>>>11)+(f.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},n.int32=f.next,n.quick=n,r&&("object"==typeof r&&t(r,f),n.state=function(){return t(f,{})}),n}n&&n.exports?n.exports=l:f.amdD&&f.amdO?void 0===(r=function(){return l}.call(a,f,a,n))||(n.exports=r):this.xorwow=l}(0,e=f.nmd(e),f.amdD)},971:function(e,a,f){var r;!function(n,i,o){var t,l=256,c=o.pow(l,6),d=o.pow(2,52),b=2*d,s=255;function u(e,a,f){var r=[],s=B(h((a=1==a?{entropy:!0}:a||{}).entropy?[e,m(i)]:null==e?function(){try{var e;return t&&(e=t.randomBytes)?e=e(l):(e=new Uint8Array(l),(n.crypto||n.msCrypto).getRandomValues(e)),m(e)}catch(e){var a=n.navigator,f=a&&a.plugins;return[+new Date,n,f,n.screen,m(i)]}}():e,3),r),u=new F(r),C=function(){for(var e=u.g(6),a=c,f=0;e<d;)e=(e+f)*l,a*=l,f=u.g(1);for(;e>=b;)e/=2,a/=2,f>>>=1;return(e+f)/a};return C.int32=function(){return 0|u.g(4)},C.quick=function(){return u.g(4)/4294967296},C.double=C,B(m(u.S),i),(a.pass||f||function(e,a,f,r){return r&&(r.S&&g(r,u),e.state=function(){return g(u,{})}),f?(o.random=e,a):e})(C,s,"global"in a?a.global:this==o,a.state)}function F(e){var a,f=e.length,r=this,n=0,i=r.i=r.j=0,o=r.S=[];for(f||(e=[f++]);n<l;)o[n]=n++;for(n=0;n<l;n++)o[n]=o[i=s&i+e[n%f]+(a=o[n])],o[i]=a;(r.g=function(e){for(var a,f=0,n=r.i,i=r.j,o=r.S;e--;)a=o[n=s&n+1],f=f*l+o[s&(o[n]=o[i=s&i+a])+(o[i]=a)];return r.i=n,r.j=i,f})(l)}function g(e,a){return a.i=e.i,a.j=e.j,a.S=e.S.slice(),a}function h(e,a){var f,r=[],n=typeof e;if(a&&"object"==n)for(f in e)try{r.push(h(e[f],a-1))}catch(e){}return r.length?r:"string"==n?e:e+"\0"}function B(e,a){for(var f,r=e+"",n=0;n<r.length;)a[s&n]=s&(f^=19*a[s&n])+r.charCodeAt(n++);return m(a)}function m(e){return String.fromCharCode.apply(0,e)}if(B(o.random(),i),e.exports){e.exports=u;try{t=f(417)}catch(e){}}else void 0===(r=function(){return u}.call(a,f,a,e))||(e.exports=r)}("undefined"!=typeof self?self:this,[],Math)},417:e=>{"use strict";if("undefined"==typeof crypto){var a=new Error("Cannot find module 'crypto'");throw a.code="MODULE_NOT_FOUND",a}e.exports=crypto},595:e=>{"use strict";e.exports=JSON.parse('{"bootstrapGrayColors":{"gray100":"#f8f9fa","gray200":"#e9ecef","gray300":"#dee2e6","gray400":"#ced4da","gray500":"#adb5bd","gray600":"#6c757d","gray700":"#495057","gray800":"#343a40","gray900":"#212529"},"bootstrapMainColors":{"primary":"#0d6efd","secondary":"#6c757d","success":"#198754","info":"#0dcaf0","warning":"#ffc107","danger":"#dc3545","light":"#f8f9fa","dark":"#212529"},"bootstrapUnusedColors":{"indigo":"#6610f2","purple":"#6f42c1","pink":"#d63384","orange":"#fd7e14","teal":"#20c997","white":"#ffffff","black":"#000000"},"consoleMainColors":{"white":"#ffffff","silver":"#c0c0c0","gray":"#808080","black":"#000000","red":"#ff0000","maroon":"#800000","yellow":"#ffff00","olive":"#808000","lime":"#00ff00","green":"#008000","aqua":"#00ffff","teal":"#008080","blue":"#0000ff","navy":"#000080","fuchsia":"#ff00ff","purple":"#800080"},"jebcMainColors":{"magic":"#ae42bd","juice":"#fd9800","ocean":"#00cca3","cake":"#ffb4bf","wine":"#800040","blood":"#cc0000","mustard":"#d69d30","militar":"#f0e68c","lapislazuli":"#002fa7","matcha":"#78d64b","emerald":"#44883e","coral":"#ff6f61","love":"#e5097f","clay":"#e8c39e","chocolate":"#8b4513","elegant":"#000000","silver":"#e9ecef","sidra":"#990033"},"jebcUnusedColors":{"midnightGreen":"#4e5851","silver2":"#ebebe3","spaceGrey":"#535150","roseGold":"#fad7bd","lightPurple":"#d1cdda","lightYellow":"#ffe681","lightGreen2":"#aee1cd","black2":"#1f2020","white":"#f9f6ef","red":"#ba0c2e","blue2":"#5eb0e5","yellow":"#f3d060","coral2":"#ee7762","gold":"#f5ddc5"},"languageMainColors":{"cBlue":"#3949aa","cDarkBlue":"#293693","cLightBlue":"#5d6cbf","cppBlue":"#3949aa","cppDarkBlue":"#293693","cppLightBlue":"#5d6cbf","csPurple":"#3a008f","csDarkPurple":"#2a0069","csLightPurple":"#a37cdd","javaRed":"#f61927","javaBlue":"#007fbd","javaOrange":"#e76f00","htmlOrange":"#f16528","htmlDarkOrange":"#e54d26","cssBlue":"#1c88c8","cssDarkBlue":"#1b73ba","jsYellow":"#f7df1e","phpLavender":"#777bb3","pyBlue":"#3770a0","pyYellow":"#ffd849","nodeGreen":"#215732","reactBlue":"#61dafb","vueGreen":"#42b883","angularRed":"#dd0531","azureBlue":"#007fff","svelteOrange":"#ff3d00"},"socialMainColors":{"githubAlt":"#000000","googlePlusOfficial":"#dd4b39","google":"#dd4b39","redditAlien":"#fc461e","stackOverflow":"#f27f33","angellist":"#1c4082","codepen":"#000000","envelope":"#000000","etsy":"#f2581e","facebook":"#4267b2","facebookMessenger":"#0084ff","flickr":"#ff0084","foursquare":"#0072b1","github":"#000000","gitlab":"#e14329","instagram":"#517fa4","linkedin":"#007bb6","medium":"#02b875","pinterest":"#cb2027","quora":"#a82400","soundcloud":"#ff5500","steam":"#c6c3c1","stumbleupon":"#eb4823","tumblr":"#32506d","twitch":"#6441a5","twitter":"#00aced","vimeo":"#aad450","vk":"#5181b8","wechat":"#7bb32e","weibo":"#e6162d","whatsapp":"#075e54","wordpress":"#21759b","youtube":"#bb0000","microsoft":"#46a4f2"},"webMainColors":{"mediumVioletRed":"#c71585","deepPink":"#ff1493","paleVioletRed":"#db7093","hotPink":"#ff69b4","lightPink":"#ffb6c1","pink":"#ffc0cb","darkRed":"#8b0000","red":"#ff0000","firebrick":"#b22222","crimson":"#dc143c","indianRed":"#cd5c5c","lightCoral":"#f08080","salmon":"#fa8072","darkSalmon":"#e9967a","lightSalmon":"#ffa07a","orangeRed":"#ff4500","tomato":"#ff6347","darkOrange":"#ff8c00","coral":"#ff7f50","orange":"#ffa500","darkKhaki":"#bdb76b","gold":"#ffd700","khaki":"#f0e68c","peachPuff":"#ffdab9","yellow":"#ffff00","paleGoldenrod":"#eee8aa","moccasin":"#ffe4b5","papayaWhip":"#ffefd5","lightGoldenrodYellow":"#fafad2","lemonChiffon":"#fffacd","lightYellow":"#ffffe0","maroon":"#800000","brown":"#a52a2a","saddleBrown":"#8b4513","sienna":"#a0522d","chocolate":"#d2691e","darkGoldenrod":"#b8860b","peru":"#cd853f","rosyBrown":"#bc8f8f","goldenrod":"#daa520","sandyBrown":"#f4a460","tan":"#d2b48c","burlywood":"#deb887","wheat":"#f5deb3","navajoWhite":"#ffdead","bisque":"#ffe4c4","blanchedAlmond":"#ffebcd","cornsilk":"#fff8dc","darkGreen":"#006400","green":"#008000","darkOliveGreen":"#556b2f","forestGreen":"#228b22","seaGreen":"#2e8b57","olive":"#808000","oliveDrab":"#6b8e23","mediumSeaGreen":"#3cb371","limeGreen":"#32cd32","lime":"#00ff00","springGreen":"#00ff7f","mediumSpringGreen":"#00fa9a","darkSeaGreen":"#8fbc8f","mediumAquamarine":"#66cdaa","yellowGreen":"#9acd32","lawnGreen":"#7cfc00","chartreuse":"#7fff00","lightGreen":"#90ee90","greenYellow":"#adff2f","paleGreen":"#98fb98","teal":"#008080","darkCyan":"#008b8b","lightSeaGreen":"#20b2aa","cadetBlue":"#5f9ea0","darkTurquoise":"#00ced1","mediumTurquoise":"#48d1cc","turquoise":"#40e0d0","aqua":"#00ffff","cyan":"#00ffff","aquamarine":"#7fffd4","paleTurquoise":"#afeeee","lightCyan":"#e0ffff","navy":"#000080","darkBlue":"#00008b","mediumBlue":"#0000cd","blue":"#0000ff","midnightBlue":"#191970","royalBlue":"#4169e1","steelBlue":"#4682b4","dodgerBlue":"#1e90ff","deepSkyBlue":"#00bfff","cornflowerBlue":"#6495ed","skyBlue":"#87ceeb","lightSkyBlue":"#87cefa","lightSteelBlue":"#b0c4de","lightBlue":"#add8e6","powderBlue":"#b0e0e6","indigo":"#4b0082","purple":"#800080","darkMagenta":"#8b008b","darkViolet":"#9400d3","darkSlateBlue":"#483d8b","blueViolet":"#8a2be2","darkOrchid":"#9932cc","fuchsia":"#ff00ff","magenta":"#ff00ff","slateBlue":"#6a5acd","mediumSlateBlue":"#7b68ee","mediumOrchid":"#ba55d3","mediumPurple":"#9370db","orchid":"#da70d6","violet":"#ee82ee","plum":"#dda0dd","thistle":"#d8bfd8","lavender":"#e6e6fa","rebeccaPurple":"#663399","mistyRose":"#ffe4e1","antiqueWhite":"#faebd7","linen":"#faf0e6","beige":"#f5f5dc","whiteSmoke":"#f5f5f5","lavenderBlush":"#fff0f5","oldLace":"#fdf5e6","aliceBlue":"#f0f8ff","seashell":"#fff5ee","ghostWhite":"#f8f8ff","honeydew":"#f0fff0","floralWhite":"#fffaf0","azure":"#f0ffff","mintCream":"#f5fffa","snow":"#fffafa","ivory":"#fffff0","white":"#ffffff","black":"#000000","darkSlateGray":"#2f4f4f","dimGray":"#696969","slateGray":"#708090","gray":"#808080","lightSlateGray":"#778899","darkGray":"#a9a9a9","silver":"#c0c0c0","lightGray":"#d3d3d3","gainsboro":"#dcdcdc"},"default":{"bootstrapGrayColors":{"gray100":"#f8f9fa","gray200":"#e9ecef","gray300":"#dee2e6","gray400":"#ced4da","gray500":"#adb5bd","gray600":"#6c757d","gray700":"#495057","gray800":"#343a40","gray900":"#212529"},"bootstrapMainColors":{"primary":"#0d6efd","secondary":"#6c757d","success":"#198754","info":"#0dcaf0","warning":"#ffc107","danger":"#dc3545","light":"#f8f9fa","dark":"#212529"},"bootstrapUnusedColors":{"indigo":"#6610f2","purple":"#6f42c1","pink":"#d63384","orange":"#fd7e14","teal":"#20c997","white":"#ffffff","black":"#000000"},"consoleMainColors":{"white":"#ffffff","silver":"#c0c0c0","gray":"#808080","black":"#000000","red":"#ff0000","maroon":"#800000","yellow":"#ffff00","olive":"#808000","lime":"#00ff00","green":"#008000","aqua":"#00ffff","teal":"#008080","blue":"#0000ff","navy":"#000080","fuchsia":"#ff00ff","purple":"#800080"},"jebcMainColors":{"magic":"#ae42bd","juice":"#fd9800","ocean":"#00cca3","cake":"#ffb4bf","wine":"#800040","blood":"#cc0000","mustard":"#d69d30","militar":"#f0e68c","lapislazuli":"#002fa7","matcha":"#78d64b","emerald":"#44883e","coral":"#ff6f61","love":"#e5097f","clay":"#e8c39e","chocolate":"#8b4513","elegant":"#000000","silver":"#e9ecef","sidra":"#990033"},"jebcUnusedColors":{"midnightGreen":"#4e5851","silver2":"#ebebe3","spaceGrey":"#535150","roseGold":"#fad7bd","lightPurple":"#d1cdda","lightYellow":"#ffe681","lightGreen2":"#aee1cd","black2":"#1f2020","white":"#f9f6ef","red":"#ba0c2e","blue2":"#5eb0e5","yellow":"#f3d060","coral2":"#ee7762","gold":"#f5ddc5"},"languageMainColors":{"cBlue":"#3949aa","cDarkBlue":"#293693","cLightBlue":"#5d6cbf","cppBlue":"#3949aa","cppDarkBlue":"#293693","cppLightBlue":"#5d6cbf","csPurple":"#3a008f","csDarkPurple":"#2a0069","csLightPurple":"#a37cdd","javaRed":"#f61927","javaBlue":"#007fbd","javaOrange":"#e76f00","htmlOrange":"#f16528","htmlDarkOrange":"#e54d26","cssBlue":"#1c88c8","cssDarkBlue":"#1b73ba","jsYellow":"#f7df1e","phpLavender":"#777bb3","pyBlue":"#3770a0","pyYellow":"#ffd849","nodeGreen":"#215732","reactBlue":"#61dafb","vueGreen":"#42b883","angularRed":"#dd0531","azureBlue":"#007fff","svelteOrange":"#ff3d00"},"socialMainColors":{"githubAlt":"#000000","googlePlusOfficial":"#dd4b39","google":"#dd4b39","redditAlien":"#fc461e","stackOverflow":"#f27f33","angellist":"#1c4082","codepen":"#000000","envelope":"#000000","etsy":"#f2581e","facebook":"#4267b2","facebookMessenger":"#0084ff","flickr":"#ff0084","foursquare":"#0072b1","github":"#000000","gitlab":"#e14329","instagram":"#517fa4","linkedin":"#007bb6","medium":"#02b875","pinterest":"#cb2027","quora":"#a82400","soundcloud":"#ff5500","steam":"#c6