(()=>{"use strict";vart={927:(t,e,i)=>{vara;functions(t,e){vari=Object.keys(t);if(Object.getOwnPropertySymbols){vara=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){returnObject.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}returni}functionr(t){for(vare=1;e<arguments.length;e++){vari=null!=arguments[e]?arguments[e]:{};e%2?s(Object(i),!0).forEach((function(e){c(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}returnt}functionn(t){returnn="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft},n(t)}functiono(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}functionl(t,e){for(vari=0;i<e.length;i++){vara=e[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"ina&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}functionh(t,e,i){returne&&l(t.prototype,e),i&&l(t,i),t}functionc(t,e,i){returneint?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}functiond(t,e){if("function"!=typeofe&&null!==e)thrownewTypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}functiong(t){returng=Object.setPrototypeOf?Object.getPrototypeOf:function(t){returnt.__proto__||Object.getPrototypeOf(t)},g(t)}functionu(t,e){returnu=Object.setPrototypeOf||function(t,e){returnt.__proto__=e,t},u(t,e)}functionp(t,e){if(e&&("object"==typeofe||"function"==typeofe))returne;if(void0!==e)thrownewTypeError("Derived constructors may only return object or undefined");returnfunction(t){if(void0===t)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");returnt}(t)}functionf(t){vare=function(){if("undefined"==typeofReflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeofProxy)return!0;try{returnBoolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();returnfunction(){vari,a=g(t);if(e){vars=g(this).constructor;i=Reflect.construct(a,arguments,s)}elsei=a.apply(this,arguments);returnp(this,i)}}functionx(t){returnfunction(t){if(Array.isArray(t))returnv(t)}(t)||function(t){if("undefined"!=typeofSymbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])returnArray.from(t)}(t)||b(t)||function(){thrownewTypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}functionb(t,e){if(t){if("string"==typeoft)returnv(t,e);vari=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?v(t,e):void0}}functionv(t,e){(null==e||e>t.length)&&(e=t.length);for(vari=0,a=newArray(e);i<e;i++)a[i]=t[i];returna}varm=function(){functiont(){o(this,t)}returnh(t,[{key:"shadeRGBColor",value:function(t,e){vari=e.split(","),a=t<0?0:255,s=t<0?-1*t:t,r=parseInt(i[0].slice(4),10),n=parseInt(i[1],10),o=parseInt(i[2],10);return"rgb("+(Math.round((a-r)*s)+r)+","+(Math.round((a-n)*s)+n)+","+(Math.round((a-o)*s)+o)+")"}},{key:"shadeHexColor",value:function(t,e){vari=parseInt(e.slice(1),16),a=t<0?0:255,s=t<0?-1*t:t,r=i>>16,n=i>>8&255,o=255&i;return"#"+(16777216+65536*(Math.round((a-r)*s)+r)+256*(Math.round((a-n)*s)+n)+(Math.round((a-o)*s)+o)).toString(16).slice(1)}},{key:"shadeColor",value:function(e,i){returnt.isColorHex(i)?this.shadeHexColor(e,i):this.shadeRGBColor(e,i)}}],[{key:"bind",value:function(t,e){returnfunction(){returnt.apply(e,arguments)}}},{key:"isObject",value:function(t){returnt&&"object"===n(t)&&!Array.isArray(t)&&null!=t}},{key:"is",value:function(t,e){returnOb