(self.webpackChunkwhiteboard_bridge=self.webpackChunkwhiteboard_bridge||[]).push([[736],{41176:function(e){"use strict";e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},34397:function(e){"use strict";function t(e,t,n,r,i,o,a){try{var s=e[o](a),A=s.value}catch(e){return void n(e)}s.done?t(A):Promise.resolve(A).then(r,i)}e.exports=function(e){return function(){var n=this,r=arguments;return new Promise((function(i,o){var a=e.apply(n,r);function s(e){t(a,i,o,s,A,"next",e)}function A(e){t(a,i,o,s,A,"throw",e)}s(void 0)}))}}},57750:function(e){"use strict";e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},85037:function(e,t,n){"use strict";var r=n(69917),i=n(73028);function o(t,n,a){return i()?e.exports=o=Reflect.construct:e.exports=o=function(e,t,n){var i=[null];i.push.apply(i,t);var o=new(Function.bind.apply(e,i));return n&&r(o,n.prototype),o},o.apply(null,arguments)}e.exports=o},67338:function(e){"use strict";function t(e,t){for(var n=0;ne?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},C=function(){var e,t=0;for(D(t);n.some((function(e){return e.activeTargets.length>0}));)t=B(),D(t);return n.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:r}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=r),window.dispatchEvent(e)),t>0},E=[],N=function(e){if(!i){var t=0,n=document.createTextNode("");new MutationObserver((function(){return E.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),i=function(){n.textContent=""+(t?t--:t++)}}E.push(e),i()},_=0,O={attributes:!0,characterData:!0,childList:!0,subtree:!0},M=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],S=function(e){return void 0===e&&(e=0),Date.now()+e},U=!1,F=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!U){U=!0;var n,r=S(e);n=function(){var n=!1;try{n=C()}finally{if(U=!1,e=r-S(),!_)return;n?t.run(1e3):e>0?t.run(e):t.start()}},N((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,O)};document.body?t():l.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),M.forEach((function(t){return l.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),M.forEach((function(t){return l.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),P=function(e){!_&&e>0&&F.start(),!(_+=e)&&F.stop()},Q=function(){function e(e,n){this.target=e,this.observedBox=n||t.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=b(this.target,this.observedBox,!0);return e=this.target,A(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),T=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},I=new WeakMap,j=function(e,t){for(var n=0;n=0&&(o&&n.splice(n.indexOf(r),1),r.observationTargets.splice(i,1),P(-1))},e.disconnect=function(e){var t=this,n=I.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),R=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");k.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!c(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");k.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!c(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");k.unobserve(this,e)},e.prototype.disconnect=function(){k.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();e.ResizeObserver=R,e.ResizeObserverEntry=w,e.ResizeObserverSize=a,Object.defineProperty(e,"__esModule",{value:!0})},"object"===a(t)?o(t):(r=[t],void 0===(i="function"==typeof(n=o)?n.apply(t,r):n)||(e.exports=i))},41825:function(e){"use strict";e.exports=function(e,t){var n=new Array(arguments.length-1),r=0,i=2,o=!0;for(;i1&&"="===e.charAt(t);)++n;return Math.ceil(3*e.length)/4-n};for(var r=new Array(64),i=new Array(123),o=0;o<64;)i[r[o]=o<26?o+65:o<52?o+71:o<62?o-4:o-59|43]=o++;n.encode=function(e,t,n){for(var i,o=null,a=[],s=0,A=0;t>2],i=(3&u)<<4,A=1;break;case 1:a[s++]=r[i|u>>4],i=(15&u)<<2,A=2;break;case 2:a[s++]=r[i|u>>6],a[s++]=r[63&u],A=0}s>8191&&((o||(o=[])).push(String.fromCharCode.apply(String,a)),s=0)}return A&&(a[s++]=r[i],a[s++]=61,1===A&&(a[s++]=61)),o?(s&&o.push(String.fromCharCode.apply(String,a.slice(0,s))),o.join("")):String.fromCharCode.apply(String,a.slice(0,s))};var a="invalid encoding";n.decode=function(e,t,n){for(var r,o=n,s=0,A=0;A1)break;if(void 0===(u=i[u]))throw Error(a);switch(s){case 0:r=u,s=1;break;case 1:t[n++]=r<<2|(48&u)>>4,r=u,s=2;break;case 2:t[n++]=(15&r)<<4|(60&u)>>2,r=u,s=3;break;case 3:t[n++]=(3&r)<<6|u,s=0}}if(1===s)throw Error(a);return n-o},n.test=function(e){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e)}},90838:function(e){"use strict";function t(){this._listeners={}}e.exports=t,t.prototype.on=function(e,t,n){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:t,ctx:n||this}),this},t.prototype.off=function(e,t){if(void 0===e)this._listeners={};else if(void 0===t)this._listeners[e]=[];else for(var n=this._listeners[e],r=0;r0?0:2147483648,n,r);else if(isNaN(t))e(2143289344,n,r);else if(t>34028234663852886e22)e((i<<31|2139095040)>>>0,n,r);else if(t<11754943508222875e-54)e((i<<31|Math.round(t/1401298464324817e-60))>>>0,n,r);else{var o=Math.floor(Math.log(t)/Math.LN2);e((i<<31|o+127<<23|8388607&Math.round(t*Math.pow(2,-o)*8388608))>>>0,n,r)}}function a(e,t,n){var r=e(t,n),i=2*(r>>31)+1,o=r>>>23&255,a=8388607&r;return 255===o?a?NaN:i*(1/0):0===o?1401298464324817e-60*i*a:i*Math.pow(2,o-150)*(a+8388608)}e.writeFloatLE=t.bind(null,n),e.writeFloatBE=t.bind(null,r),e.readFloatLE=a.bind(null,i),e.readFloatBE=a.bind(null,o)}(),"undefined"!=typeof Float64Array?function(){var t=new Float64Array([-0]),n=new Uint8Array(t.buffer),r=128===n[7];function i(e,r,i){t[0]=e,r[i]=n[0],r[i+1]=n[1],r[i+2]=n[2],r[i+3]=n[3],r[i+4]=n[4],r[i+5]=n[5],r[i+6]=n[6],r[i+7]=n[7]}function o(e,r,i){t[0]=e,r[i]=n[7],r[i+1]=n[6],r[i+2]=n[5],r[i+3]=n[4],r[i+4]=n[3],r[i+5]=n[2],r[i+6]=n[1],r[i+7]=n[0]}function a(e,r){return n[0]=e[r],n[1]=e[r+1],n[2]=e[r+2],n[3]=e[r+3],n[4]=e[r+4],n[5]=e[r+5],n[6]=e[r+6],n[7]=e[r+7],t[0]}function s(e,r){return n[7]=e[r],n[6]=e[r+1],n[5]=e[r+2],n[4]=e[r+3],n[3]=e[r+4],n[2]=e[r+5],n[1]=e[r+6],n[0]=e[r+7],t[0]}e.writeDoubleLE=r?i:o,e.writeDoubleBE=r?o:i,e.readDoubleLE=r?a:s,e.readDoubleBE=r?s:a}():function(){function t(e,t,n,r,i,o){var a=r<0?1:0;if(a&&(r=-r),0===r)e(0,i,o+t),e(1/r>0?0:2147483648,i,o+n);else if(isNaN(r))e(0,i,o+t),e(2146959360,i,o+n);else if(r>17976931348623157e292)e(0,i,o+t),e((a<<31|2146435072)>>>0,i,o+n);else{var s;if(r<22250738585072014e-324)e((s=r/5e-324)>>>0,i,o+t),e((a<<31|s/4294967296)>>>0,i,o+n);else{var A=Math.floor(Math.log(r)/Math.LN2);1024===A&&(A=1023),e(4503599627370496*(s=r*Math.pow(2,-A))>>>0,i,o+t),e((a<<31|A+1023<<20|1048576*s&1048575)>>>0,i,o+n)}}}function a(e,t,n,r,i){var o=e(r,i+t),a=e(r,i+n),s=2*(a>>31)+1,A=a>>>20&2047,u=4294967296*(1048575&a)+o;return 2047===A?u?NaN:s*(1/0):0===A?5e-324*s*u:s*Math.pow(2,A-1075)*(u+4503599627370496)}e.writeDoubleLE=t.bind(null,n,0,4),e.writeDoubleBE=t.bind(null,r,4,0),e.readDoubleLE=a.bind(null,i,0,4),e.readDoubleBE=a.bind(null,o,4,0)}(),e}function n(e,t,n){t[n]=255&e,t[n+1]=e>>>8&255,t[n+2]=e>>>16&255,t[n+3]=e>>>24}function r(e,t,n){t[n]=e>>>24,t[n+1]=e>>>16&255,t[n+2]=e>>>8&255,t[n+3]=255&e}function i(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function o(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}e.exports=t(t)},21895:function(module){"use strict";function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(e){}return null}module.exports=inquire},4205:function(e){"use strict";e.exports=function(e,t,n){var r=n||8192,i=r>>>1,o=null,a=r;return function(n){if(n<1||n>i)return e(n);a+n>r&&(o=e(r),a=0);var s=t.call(o,a,a+=n);return 7&a&&(a=1+(7|a)),s}}},48967:function(e,t){"use strict";var n=t;n.length=function(e){for(var t=0,n=0,r=0;r191&&r<224?o[a++]=(31&r)<<6|63&e[t++]:r>239&&r<365?(r=((7&r)<<18|(63&e[t++])<<12|(63&e[t++])<<6|63&e[t++])-65536,o[a++]=55296+(r>>10),o[a++]=56320+(1023&r)):o[a++]=(15&r)<<12|(63&e[t++])<<6|63&e[t++],a>8191&&((i||(i=[])).push(String.fromCharCode.apply(String,o)),a=0);return i?(a&&i.push(String.fromCharCode.apply(String,o.slice(0,a))),i.join("")):String.fromCharCode.apply(String,o.slice(0,a))},n.write=function(e,t,n){for(var r,i,o=n,a=0;a>6|192,t[n++]=63&r|128):55296==(64512&r)&&56320==(64512&(i=e.charCodeAt(a+1)))?(r=65536+((1023&r)<<10)+(1023&i),++a,t[n++]=r>>18|240,t[n++]=r>>12&63|128,t[n++]=r>>6&63|128,t[n++]=63&r|128):(t[n++]=r>>12|224,t[n++]=r>>6&63|128,t[n++]=63&r|128);return n-o}},64002:function(e,t,n){"use strict"; /*! @name aes-decrypter @version 3.0.2 @license Apache-2.0 */function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e){return e&&"object"===r(e)&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var o=i(n(67338)),a=i(n(26149)),s=i(n(69419)),A=n(1058),u=null,c=function(){function e(e){var t,n,r;u||(u=function(){var e,t,n,r,i,o,a,s,A=[[[],[],[],[],[]],[[],[],[],[],[]]],u=A[0],c=A[1],l=u[4],f=c[4],p=[],d=[];for(e=0;e<256;e++)d[(p[e]=e<<1^283*(e>>7))^e]=e;for(t=n=0;!l[t];t^=r||1,n=d[n]||1)for(o=(o=n^n<<1^n<<2^n<<3^n<<4)>>8^255&o^99,l[t]=o,f[o]=t,s=16843009*p[i=p[r=p[t]]]^65537*i^257*r^16843008*t,a=257*p[o]^16843008*o,e=0;e<4;e++)u[e][t]=a=a<<24^a>>>8,c[e][o]=s=s<<24^s>>>8;for(e=0;e<5;e++)u[e]=u[e].slice(0),c[e]=c[e].slice(0);return A}()),this._tables=[[u[0][0].slice(),u[0][1].slice(),u[0][2].slice(),u[0][3].slice(),u[0][4].slice()],[u[1][0].slice(),u[1][1].slice(),u[1][2].slice(),u[1][3].slice(),u[1][4].slice()]];var i=this._tables[0][4],o=this._tables[1],a=e.length,s=1;if(4!==a&&6!==a&&8!==a)throw new Error("Invalid aes key size");var A=e.slice(0),c=[];for(this._key=[A,c],t=a;t<4*a+28;t++)r=A[t-1],(t%a==0||8===a&&t%a==4)&&(r=i[r>>>24]<<24^i[r>>16&255]<<16^i[r>>8&255]<<8^i[255&r],t%a==0&&(r=r<<8^r>>>24^s<<24,s=s<<1^283*(s>>7))),A[t]=A[t-a]^r;for(n=0;t;n++,t--)r=A[3&n?t:t-4],c[n]=t<=4||n<4?r:o[0][i[r>>>24]]^o[1][i[r>>16&255]]^o[2][i[r>>8&255]]^o[3][i[255&r]]}return e.prototype.decrypt=function(e,t,n,r,i,o){var a,s,A,u,c=this._key[1],l=e^c[0],f=r^c[1],p=n^c[2],d=t^c[3],h=c.length/4-2,m=4,g=this._tables[1],y=g[0],v=g[1],b=g[2],w=g[3],x=g[4];for(u=0;u>>24]^v[f>>16&255]^b[p>>8&255]^w[255&d]^c[m],s=y[f>>>24]^v[p>>16&255]^b[d>>8&255]^w[255&l]^c[m+1],A=y[p>>>24]^v[d>>16&255]^b[l>>8&255]^w[255&f]^c[m+2],d=y[d>>>24]^v[l>>16&255]^b[f>>8&255]^w[255&p]^c[m+3],m+=4,l=a,f=s,p=A;for(u=0;u<4;u++)i[(3&-u)+o]=x[l>>>24]<<24^x[f>>16&255]<<16^x[p>>8&255]<<8^x[255&d]^c[m++],a=l,l=f,f=p,p=d,d=a},e}(),l=function(e){function t(){var t;return(t=e.call(this,s)||this).jobs=[],t.delay=1,t.timeout_=null,t}a(t,e);var n=t.prototype;return n.processJob_=function(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null},n.push=function(e){this.jobs.push(e),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))},t}(s),f=function(e){return e<<24|(65280&e)<<8|(16711680&e)>>8|e>>>24},p=function(e,t,n){var r,i,o,a,s,A,u,l,p,d=new Int32Array(e.buffer,e.byteOffset,e.byteLength>>2),h=new c(Array.prototype.slice.call(t)),m=new Uint8Array(e.byteLength),g=new Int32Array(m.buffer);for(r=n[0],i=n[1],o=n[2],a=n[3],p=0;p0?a-4:a;for(n=0;n>16&255,u[c++]=t>>8&255,u[c++]=255&t;2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,u[c++]=255&t);1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t);return u},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=16383,s=0,A=r-i;sA?A:s+a));1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,r){for(var i,o,a=[],s=t;s>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},5522:function(e,t,n){"use strict";e.exports=n(59510)},59510:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}!function(){var t=Math.abs,i=Math.min,o=Math.max,a=Math.cos,s=Math.sin,A=Math.acos,u=Math.sqrt,c=Math.PI,l={x:0,y:0,z:0},f=n(52032),p=n(52961),d=function(e){var n=e&&e.forEach?e:[].slice.call(arguments),i=!1;if("object"===r(n[0])){i=n.length;var o=[];n.forEach((function(e){["x","y","z"].forEach((function(t){void 0!==e[t]&&o.push(e[t])}))})),n=o}var a=!1,s=n.length;if(i){if(i>4){if(1!==arguments.length)throw new Error("Only new Bezier(point[]) is accepted for 4th and higher order curves");a=!0}}else if(6!==s&&8!==s&&9!==s&&12!==s&&1!==arguments.length)throw new Error("Only new Bezier(point[]) is accepted for 4th and higher order curves");var A=!a&&(9===s||12===s)||e&&e[0]&&void 0!==e[0].z;this._3d=A;for(var u=[],c=0,l=A?3:2;c1e-4)return void(e._linear=!1);e._linear=!0}(this),this._t1=0,this._t2=1,this.update()},h=n(822);function m(e,t,n,r,i){void 0===i&&(i=.5);var o=f.projectionratio(i,e),a=1-o,s={x:o*t.x+a*r.x,y:o*t.y+a*r.y},A=f.abcratio(i,e);return{A:{x:n.x+(n.x-s.x)/A,y:n.y+(n.y-s.y)/A},B:n,C:s}}d.SVGtoBeziers=function(e){return h(d,e)},d.quadraticFromPoints=function(e,t,n,r){if(void 0===r&&(r=.5),0===r)return new d(t,t,n);if(1===r)return new d(e,t,t);var i=m(2,e,t,n,r);return new d(e,i.A,n)},d.cubicFromPoints=function(e,t,n,r,i){void 0===r&&(r=.5);var o=m(3,e,t,n,r);void 0===i&&(i=f.dist(t,o.C));var a=i*(1-r)/r,s=f.dist(e,n),A=(n.x-e.x)/s,u=(n.y-e.y)/s,c=i*A,l=i*u,p=a*A,h=a*u,g=t.x-c,y=t.y-l,v=t.x+p,b=t.y+h,w=o.A,x=w.x+(g-w.x)/(1-r),B=w.y+(y-w.y)/(1-r),D=w.x+(v-w.x)/r,C=w.y+(b-w.y)/r,E={x:e.x+(x-e.x)/r,y:e.y+(B-e.y)/r},N={x:n.x+(D-n.x)/(1-r),y:n.y+(C-n.y)/(1-r)};return new d(e,E,N,n)};var g=function(){return f};d.getUtils=g,d.PolyBezier=p,d.prototype={getUtils:g,valueOf:function(){return this.toString()},toString:function(){return f.pointsToString(this.points)},toSVG:function(e){if(this._3d)return!1;for(var t=this.points,n=["M",t[0].x,t[0].y,2===this.order?"Q":"C"],r=1,i=t.length;r0},length:function(){return f.length(this.derivative.bind(this))},_lut:[],getLUT:function(e){if(this.verify(),e=e||100,this._lut.length===e)return this._lut;this._lut=[],e--;for(var t=0;t<=e;t++)this._lut.push(this.compute(t/e));return this._lut},on:function(e,t){t=t||5;for(var n,r=this.getLUT(),i=[],o=0,a=0;a1;){for(r=[],a=0,s=n.length-1;a=0&&e<=1})),i=i.concat(r[n].sort(f.numberSort))}.bind(this)),i=i.sort(f.numberSort).filter((function(e,t){return i.indexOf(e)===t})),r.values=i,r},bbox:function(){var e=this.extrema(),t={};return this.dims.forEach(function(n){t[n]=f.getminmax(this,n,e[n])}.bind(this)),t},overlaps:function(e){var t=this.bbox(),n=e.bbox();return f.bboxoverlap(t,n)},offset:function(e,t){if(void 0!==t){var n=this.get(e),r=this.normal(e),i={c:n,n:r,x:n.x+r.x*t,y:n.y+r.y*t};return this._3d&&(i.z=n.z+r.z*t),i}if(this._linear){var o=this.normal(0),a=this.points.map((function(t){var n={x:t.x+e*o.x,y:t.y+e*o.y};return t.z&&r.z&&(n.z=t.z+e*o.z),n}));return[new d(a)]}return this.reduce().map((function(t){return t._linear?t.offset(e)[0]:t.scale(e)}))},simple:function(){if(3===this.order){var e=f.angle(this.points[0],this.points[3],this.points[1]),n=f.angle(this.points[0],this.points[3],this.points[2]);if(e>0&&n<0||e<0&&n>0)return!1}var r=this.normal(0),i=this.normal(1),o=r.x*i.x+r.y*i.y;return this._3d&&(o+=r.z*i.z),t(A(o))1,s.endcap.virtual=o0&&(i=i.concat(t))})),i},arcs:function(e){e=e||.5;return this._iterate(e,[])},_error:function(e,n,r,i){var o=(i-r)/4,a=this.get(r+o),s=this.get(i-o),A=f.dist(e,n),u=f.dist(e,a),c=f.dist(e,s);return t(u-A)+t(c-A)},_iterate:function(e,t){var n,r=0,i=1;do{n=0,i=1;var o,A,u,c,l,p=this.get(r),d=!1,h=!1,m=i,g=1;do{if(h=d,c=u,m=(r+i)/2,o=this.get(m),A=this.get(i),(u=f.getccenter(p,o,A)).interval={start:r,end:i},d=this._error(u,p,r,i)<=e,(l=h&&!d)||(g=i),d){if(i>=1){if(u.interval.end=g=1,c=u,i>1){var y={x:u.x+u.r*a(u.e),y:u.y+u.r*s(u.e)};u.e+=f.angle({x:u.x,y:u.y},y,this.get(1))}break}i+=(i-r)/2}else i=m}while(!l&&n++<100);if(n>=100)break;c=c||u,t.push(c),r=g}while(i<1);return t}},e.exports=d}()},35202:function(e){"use strict";e.exports=function(e){var t,n,r,i,o,a,s=(e=e.replace(/,/g," ").replace(/-/g," - ").replace(/-\s+/g,"-").replace(/([a-zA-Z])/g," $1 ")).replace(/([a-zA-Z])\s?/g,"|$1").split("|"),A=s.length,u=[],c=0,l=0,f=0,p=0,d=0,h=0,m=0,g=0,y="";for(t=1;t2)for(a=0;a1;){for(var d=0;d1;i--,o--){for(var a,s=[],A=0;Ao.x.min&&(t=o.x.min),n>o.y.min&&(n=o.y.min),r0&&(a.c1=t,a.c2=r,a.s1=e,a.s2=n,o.push(a))}}))})),o},makeshape:function(e,t,n){var r=t.points.length,i=e.points.length,o=g.makeline(t.points[r-1],e.points[0]),a=g.makeline(e.points[i-1],t.points[0]),s={startcap:o,forward:e,back:t,endcap:a,bbox:g.findbbox([o,e,t,a])},A=g;return s.intersections=function(e){return A.shapeintersections(s,s.bbox,e,e.bbox,n)},s},getminmax:function(e,t,n){if(!n)return{min:0,max:0};var r,i,o=d,a=h;-1===n.indexOf(0)&&(n=[0].concat(n)),-1===n.indexOf(1)&&n.push(1);for(var s=0,A=n.length;sa&&(a=i[t]);return{min:o,mid:(o+a)/2,max:a,size:a-o}},align:function(e,t){var n=t.p1.x,r=t.p1.y,a=-s(t.p2.y-r,t.p2.x-n);return e.map((function(e){return{x:(e.x-n)*i(a)-(e.y-r)*o(a),y:(e.x-n)*o(a)+(e.y-r)*i(a)}}))},roots:function(e,t){t=t||{p1:{x:0,y:0},p2:{x:1,y:0}};var n=e.length-1,r=g.align(e,t),o=function(e){return 0<=e&&e<=1};if(2===n){if(0!==(h=(m=r[0].y)-2*(y=r[1].y)+(v=r[2].y))){var s=-A(y*y-m*v),u=-m+y;return[-(s+u)/h,-(-s+u)/h].filter(o)}return y!==v&&0===h?[(2*y-v)/(2*y-2*v)].filter(o):[]}var l=r[0].y,p=r[1].y,d=r[2].y,h=3*p-l-3*d+r[3].y,m=3*l-6*p+3*d,y=-3*l+3*p,v=l;if(g.approximately(h,0)){if(g.approximately(m,0))return g.approximately(y,0)?[]:[-v/y].filter(o);var b=2*m;return[((w=A(y*y-4*m*v))-y)/b,(-y-w)/b].filter(o)}var w,x,B=(r=(3*(y/=h)-(m/=h)*m)/3)/3,D=(w=(2*m*m*m-9*m*y+27*(v/=h))/27)/2,C=D*D+B*B*B;if(C<0){var E=-r/3,N=A(E*E*E),_=-w/(2*N),O=a(_<-1?-1:_>1?1:_),M=2*c(N);return[M*i(O/3)-m/3,M*i((O+f)/3)-m/3,M*i((O+2*f)/3)-m/3].filter(o)}if(0===C)return[2*(x=D<0?c(-D):-c(D))-m/3,-x-m/3].filter(o);var S=A(C);return[(x=c(-D+S))-c(D+S)-m/3].filter(o)},droots:function(e){if(3===e.length){var t=e[0],n=e[1],r=e[2],i=t-2*n+r;if(0!==i){var o=-A(n*n-t*r),a=-t+n;return[-(o+a)/i,-(-o+a)/i]}return n!==r&&0===i?[(2*n-r)/(2*(n-r))]:[]}if(2===e.length)return(t=e[0])!==(n=e[1])?[t/(t-n)]:[]},curvature:function(e,t,n,i){var o,a,s,c,l,f,p=g.derive(t),d=p[0],h=p[1],m=g.compute(e,d),y=g.compute(e,h),v=m.x*m.x+m.y*m.y;if(n?(o=A(u(m.y*y.z-y.y*m.z,2)+u(m.z*y.x-y.z*m.x,2)+u(m.x*y.y-y.x*m.y,2)),a=u(v+m.z*m.z,1.5)):(o=m.x*y.y-m.y*y.x,a=u(v,1.5)),0===o||0===a)return{k:0,r:0};if(l=o/a,f=a/o,!i){var b=g.curvature(e-.001,t,n,!0).k,w=g.curvature(e+.001,t,n,!0).k;c=(w-l+(l-b))/2,s=(r(w-l)+r(l-b))/2}return{k:l,r:f,dk:c,adk:s}},inflections:function(e){if(e.length<4)return[];var t=g.align(e,{p1:e[0],p2:e.slice(-1)[0]}),n=t[2].x*t[1].y,r=t[3].x*t[1].y,i=t[1].x*t[2].y,o=18*(-3*n+2*r+3*i-(l=t[3].x*t[2].y)),a=18*(3*n-r-3*i),s=18*(i-n);if(g.approximately(o,0)){if(!g.approximately(a,0)){var A=-s/a;if(0<=A&&A<=1)return[A]}return[]}var u=a*a-4*o*s,c=Math.sqrt(u),l=2*o;return g.approximately(l,0)?[]:[(c-a)/l,-(a+c)/l].filter((function(e){return 0<=e&&e<=1}))},bboxoverlap:function(e,t){var n,i,o,a,s,A=["x","y"],u=A.length;for(n=0;n=s)return!1;return!0},expandbox:function(e,t){t.x.mine.x.max&&(e.x.max=t.x.max),t.y.max>e.y.max&&(e.y.max=t.y.max),t.z&&t.z.max>e.z.max&&(e.z.max=t.z.max),e.x.mid=(e.x.min+e.x.max)/2,e.y.mid=(e.y.min+e.y.max)/2,e.z&&(e.z.mid=(e.z.min+e.z.max)/2),e.x.size=e.x.max-e.x.min,e.y.size=e.y.max-e.y.min,e.z&&(e.z.size=e.z.max-e.z.min)},pairiteration:function(e,t,n){var r=e.bbox(),i=t.bbox(),o=1e5,a=n||.5;if(r.x.size+r.y.sizeO||O>M)&&(_+=f),_>M&&(r=M,M=_,_=r)):M * @license MIT */function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;nd)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,m.prototype),t}function m(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return v(e)}return g(e,t,n)}function g(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!m.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|B(e,t),r=h(n),i=r.write(e,t);i!==n&&(r=r.slice(0,i));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(re(e,Uint8Array)){var t=new Uint8Array(e);return w(t.buffer,t.byteOffset,t.byteLength)}return b(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+c(e));if(re(e,ArrayBuffer)||e&&re(e.buffer,ArrayBuffer))return w(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(re(e,SharedArrayBuffer)||e&&re(e.buffer,SharedArrayBuffer)))return w(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return m.from(r,t,n);var i=function(e){if(m.isBuffer(e)){var t=0|x(e.length),n=h(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||ie(e.length)?h(0):b(e);if("Buffer"===e.type&&Array.isArray(e.data))return b(e.data)}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return m.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+c(e))}function y(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function v(e){return y(e),h(e<0?0:0|x(e))}function b(e){for(var t=e.length<0?0:0|x(e.length),n=h(t),r=0;r=d)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+d.toString(16)+" bytes");return 0|e}function B(e,t){if(m.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||re(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+c(e));var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return ee(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return te(e).length;default:if(i)return r?-1:ee(e).length;t=(""+t).toLowerCase(),i=!0}}function D(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return j(this,t,n);case"utf8":case"utf-8":return P(this,t,n);case"ascii":return T(this,t,n);case"latin1":case"binary":return I(this,t,n);case"base64":return F(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function C(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function E(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),ie(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=m.from(t,r)),m.isBuffer(t))return 0===t.length?-1:N(e,t,n,r,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):N(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function N(e,t,n,r,i){var o,a=1,s=e.length,A=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,A/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=n;os&&(n=s-A),o=n;o>=0;o--){for(var l=!0,f=0;fi&&(r=i):r=i;var o,a=t.length;for(r>a/2&&(r=a/2),o=0;o>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function F(e,t,n){return 0===t&&n===e.length?l.fromByteArray(e):l.fromByteArray(e.slice(t,n))}function P(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:o>223?3:o>191?2:1;if(i+s<=n){var A=void 0,u=void 0,c=void 0,l=void 0;switch(s){case 1:o<128&&(a=o);break;case 2:128==(192&(A=e[i+1]))&&(l=(31&o)<<6|63&A)>127&&(a=l);break;case 3:A=e[i+1],u=e[i+2],128==(192&A)&&128==(192&u)&&(l=(15&o)<<12|(63&A)<<6|63&u)>2047&&(l<55296||l>57343)&&(a=l);break;case 4:A=e[i+1],u=e[i+2],c=e[i+3],128==(192&A)&&128==(192&u)&&128==(192&c)&&(l=(15&o)<<18|(63&A)<<12|(63&u)<<6|63&c)>65535&&l<1114112&&(a=l)}}null===a?(a=65533,s=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),i+=s}return function(e){var t=e.length;if(t<=Q)return String.fromCharCode.apply(String,e);var n="",r=0;for(;rr.length?(m.isBuffer(o)||(o=m.from(o)),o.copy(r,i)):Uint8Array.prototype.set.call(r,o,i);else{if(!m.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i)}i+=o.length}return r},m.byteLength=B,m.prototype._isBuffer=!0,m.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;tn&&(e+=" ... "),""},p&&(m.prototype[p]=m.prototype.inspect),m.prototype.compare=function(e,t,n,r,i){if(re(e,Uint8Array)&&(e=m.from(e,e.offset,e.byteLength)),!m.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+c(e));if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),A=this.slice(r,i),u=e.slice(t,n),l=0;l>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return _(this,e,t,n);case"utf8":case"utf-8":return O(this,e,t,n);case"ascii":case"latin1":case"binary":return M(this,e,t,n);case"base64":return S(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},m.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;function T(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function L(e,t,n,r,i,o){if(!m.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function H(e,t,n,r,i){J(t,r,i,e,n,7);var o=Number(t&BigInt(4294967295));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;var a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function z(e,t,n,r,i){J(t,r,i,e,n,7);var o=Number(t&BigInt(4294967295));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;var a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function q(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function K(e,t,n,r,i){return t=+t,n>>>=0,i||q(e,0,n,4),f.write(e,t,n,r,23,4),n+4}function V(e,t,n,r,i){return t=+t,n>>>=0,i||q(e,0,n,8),f.write(e,t,n,r,52,8),n+8}m.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||R(e,t,this.length);for(var r=this[e],i=1,o=0;++o>>=0,t>>>=0,n||R(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},m.prototype.readUint8=m.prototype.readUInt8=function(e,t){return e>>>=0,t||R(e,1,this.length),this[e]},m.prototype.readUint16LE=m.prototype.readUInt16LE=function(e,t){return e>>>=0,t||R(e,2,this.length),this[e]|this[e+1]<<8},m.prototype.readUint16BE=m.prototype.readUInt16BE=function(e,t){return e>>>=0,t||R(e,2,this.length),this[e]<<8|this[e+1]},m.prototype.readUint32LE=m.prototype.readUInt32LE=function(e,t){return e>>>=0,t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},m.prototype.readUint32BE=m.prototype.readUInt32BE=function(e,t){return e>>>=0,t||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},m.prototype.readBigUInt64LE=ae((function(e){Y(e>>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||Z(e,this.length-8);var r=t+this[++e]*Math.pow(2,8)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,24),i=this[++e]+this[++e]*Math.pow(2,8)+this[++e]*Math.pow(2,16)+n*Math.pow(2,24);return BigInt(r)+(BigInt(i)<>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||Z(e,this.length-8);var r=t*Math.pow(2,24)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,8)+this[++e],i=this[++e]*Math.pow(2,24)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,8)+n;return(BigInt(r)<>>=0,t>>>=0,n||R(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},m.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||R(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},m.prototype.readInt8=function(e,t){return e>>>=0,t||R(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},m.prototype.readInt16LE=function(e,t){e>>>=0,t||R(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},m.prototype.readInt16BE=function(e,t){e>>>=0,t||R(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},m.prototype.readInt32LE=function(e,t){return e>>>=0,t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},m.prototype.readInt32BE=function(e,t){return e>>>=0,t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},m.prototype.readBigInt64LE=ae((function(e){Y(e>>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||Z(e,this.length-8);var r=this[e+4]+this[e+5]*Math.pow(2,8)+this[e+6]*Math.pow(2,16)+(n<<24);return(BigInt(r)<>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||Z(e,this.length-8);var r=(t<<24)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,8)+this[++e];return(BigInt(r)<>>=0,t||R(e,4,this.length),f.read(this,e,!0,23,4)},m.prototype.readFloatBE=function(e,t){return e>>>=0,t||R(e,4,this.length),f.read(this,e,!1,23,4)},m.prototype.readDoubleLE=function(e,t){return e>>>=0,t||R(e,8,this.length),f.read(this,e,!0,52,8)},m.prototype.readDoubleBE=function(e,t){return e>>>=0,t||R(e,8,this.length),f.read(this,e,!1,52,8)},m.prototype.writeUintLE=m.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||L(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o>>=0,n>>>=0,r)||L(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},m.prototype.writeUint8=m.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,1,255,0),this[t]=255&e,t+1},m.prototype.writeUint16LE=m.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},m.prototype.writeUint16BE=m.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},m.prototype.writeUint32LE=m.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},m.prototype.writeUint32BE=m.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},m.prototype.writeBigUInt64LE=ae((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return H(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),m.prototype.writeBigUInt64BE=ae((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return z(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),m.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);L(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},m.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);L(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},m.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},m.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},m.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},m.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},m.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},m.prototype.writeBigInt64LE=ae((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return H(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),m.prototype.writeBigInt64BE=ae((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return z(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),m.prototype.writeFloatLE=function(e,t,n){return K(this,e,t,!0,n)},m.prototype.writeFloatBE=function(e,t,n){return K(this,e,t,!1,n)},m.prototype.writeDoubleLE=function(e,t,n){return V(this,e,t,!0,n)},m.prototype.writeDoubleBE=function(e,t,n){return V(this,e,t,!1,n)},m.prototype.copy=function(e,t,n,r){if(!m.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o=r+4;n-=3)t="_".concat(e.slice(n-3,n)).concat(t);return"".concat(e.slice(0,n)).concat(t)}function J(e,t,n,r,i,o){if(e>n||e3?0===t||t===BigInt(0)?">= 0".concat(s," and < 2").concat(s," ** ").concat(8*(o+1)).concat(s):">= -(2".concat(s," ** ").concat(8*(o+1)-1).concat(s,") and < 2 ** ")+"".concat(8*(o+1)-1).concat(s):">= ".concat(t).concat(s," and <= ").concat(n).concat(s),new G.ERR_OUT_OF_RANGE("value",a,e)}!function(e,t,n){Y(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||Z(t,e.length-(n+1))}(r,i,o)}function Y(e,t){if("number"!=typeof e)throw new G.ERR_INVALID_ARG_TYPE(t,"number",e)}function Z(e,t,n){if(Math.floor(e)!==e)throw Y(e,n),new G.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new G.ERR_BUFFER_OUT_OF_BOUNDS;throw new G.ERR_OUT_OF_RANGE(n||"offset",">= ".concat(n?1:0," and <= ").concat(t),e)}W("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?"".concat(e," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"}),RangeError),W("ERR_INVALID_ARG_TYPE",(function(e,t){return'The "'.concat(e,'" argument must be of type number. Received type ').concat(c(t))}),TypeError),W("ERR_OUT_OF_RANGE",(function(e,t,n){var r='The value of "'.concat(e,'" is out of range.'),i=n;return Number.isInteger(n)&&Math.abs(n)>Math.pow(2,32)?i=X(String(n)):"bigint"==typeof n&&(i=String(n),(n>Math.pow(BigInt(2),BigInt(32))||n<-Math.pow(BigInt(2),BigInt(32)))&&(i=X(i)),i+="n"),r+=" It must be ".concat(t,". Received ").concat(i)}),RangeError);var $=/[^+/0-9A-Za-z-_]/g;function ee(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function te(e){return l.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace($,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function ne(e,t,n,r){var i;for(i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function re(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function ie(e){return e!=e}var oe=function(){for(var e="0123456789abcdef",t=new Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)t[r+i]=e[n]+e[i];return t}();function ae(e){return"undefined"==typeof BigInt?se:e}function se(){throw new Error("BigInt not supported")}},4982:function(e,t,n){"use strict";var r=n(73640),i={};for(var o in r)r.hasOwnProperty(o)&&(i[r[o]]=o);var a=e.exports={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"]}};for(var s in a)if(a.hasOwnProperty(s)){if(!("channels"in a[s]))throw new Error("missing channels property: "+s);if(!("labels"in a[s]))throw new Error("missing channel labels property: "+s);if(a[s].labels.length!==a[s].channels)throw new Error("channel and label counts mismatch: "+s);var A=a[s].channels,u=a[s].labels;delete a[s].channels,delete a[s].labels,Object.defineProperty(a[s],"channels",{value:A}),Object.defineProperty(a[s],"labels",{value:u})}a.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),A=s-a;return s===a?t=0:r===s?t=(i-o)/A:i===s?t=2+(o-r)/A:o===s&&(t=4+(r-i)/A),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+s)/2,[t,100*(s===a?0:n<=.5?A/(s+a):A/(2-s-a)),100*n]},a.rgb.hsv=function(e){var t,n,r,i,o,a=e[0]/255,s=e[1]/255,A=e[2]/255,u=Math.max(a,s,A),c=u-Math.min(a,s,A),l=function(e){return(u-e)/6/c+.5};return 0===c?i=o=0:(o=c/u,t=l(a),n=l(s),r=l(A),a===u?i=r-n:s===u?i=1/3+t-r:A===u&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*u]},a.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[a.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,r))),100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},a.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},a.rgb.keyword=function(e){var t=i[e];if(t)return t;var n,o,a,s=1/0;for(var A in r)if(r.hasOwnProperty(A)){var u=r[A],c=(o=e,a=u,Math.pow(o[0]-a[0],2)+Math.pow(o[1]-a[1],2)+Math.pow(o[2]-a[2],2));c.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},a.rgb.lab=function(e){var t=a.rgb.xyz(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},a.hsl.rgb=function(e){var t,n,r,i,o,a=e[0]/360,s=e[1]/100,A=e[2]/100;if(0===s)return[o=255*A,o,o];t=2*A-(n=A<.5?A*(1+s):A+s-A*s),i=[0,0,0];for(var u=0;u<3;u++)(r=a+1/3*-(u-1))<0&&r++,r>1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[u]=255*o;return i},a.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,o=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=o<=1?o:2-o,[t,100*(0===r?2*i/(o+i):2*n/(r+n)),100*((r+n)/2)]},a.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*o),A=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,A,a];case 1:return[s,r,a];case 2:return[a,r,A];case 3:return[a,s,r];case 4:return[A,a,r];case 5:return[r,a,s]}},a.hsv.hsl=function(e){var t,n,r,i=e[0],o=e[1]/100,a=e[2]/100,s=Math.max(a,.01);return r=(2-o)*a,n=o*s,[i,100*(n=(n/=(t=(2-o)*s)<=1?t:2-t)||0),100*(r/=2)]},a.hwb.rgb=function(e){var t,n,r,i,o,a,s,A=e[0]/360,u=e[1]/100,c=e[2]/100,l=u+c;switch(l>1&&(u/=l,c/=l),r=6*A-(t=Math.floor(6*A)),0!=(1&t)&&(r=1-r),i=u+r*((n=1-c)-u),t){default:case 6:case 0:o=n,a=i,s=u;break;case 1:o=i,a=n,s=u;break;case 2:o=u,a=n,s=i;break;case 3:o=u,a=i,s=n;break;case 4:o=i,a=u,s=n;break;case 5:o=n,a=u,s=i}return[255*o,255*a,255*s]},a.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},a.xyz.rgb=function(e){var t,n,r,i=e[0]/100,o=e[1]/100,a=e[2]/100;return n=-.9689*i+1.8758*o+.0415*a,r=.0557*i+-.204*o+1.057*a,t=(t=3.2406*i+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},a.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},a.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var o=Math.pow(n,3),a=Math.pow(t,3),s=Math.pow(r,3);return n=o>.008856?o:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},a.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},a.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},a.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],i=1 in arguments?arguments[1]:a.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var o=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(o+=60),o},a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])},a.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},a.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},a.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},a.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},a.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},a.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,o=Math.max(Math.max(n,r),i),a=Math.min(Math.min(n,r),i),s=o-a;return t=s<=0?0:o===n?(r-i)/s%6:o===r?2+(i-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?a/(1-s):0)]},a.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},a.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},a.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var i,o=[0,0,0],a=t%1*6,s=a%1,A=1-s;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=A,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=A,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=A}return i=(1-n)*r,[255*(n*o[0]+i),255*(n*o[1]+i),255*(n*o[2]+i)]},a.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},a.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},a.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},a.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},a.gray.hsl=a.gray.hsv=function(e){return[0,0,e[0]]},a.gray.hwb=function(e){return[0,100,e[0]]},a.gray.cmyk=function(e){return[0,0,0,e[0]]},a.gray.lab=function(e){return[e[0],0,0]},a.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},a.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},54755:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var i=n(4982),o=n(30607),a={};Object.keys(i).forEach((function(e){a[e]={},Object.defineProperty(a[e],"channels",{value:i[e].channels}),Object.defineProperty(a[e],"labels",{value:i[e].labels});var t=o(e);Object.keys(t).forEach((function(n){var i=t[n];a[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"===r(n))for(var i=n.length,o=0;o1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(i)}))})),e.exports=a},30607:function(e,t,n){"use strict";var r=n(4982);function i(e){var t=function(){for(var e={},t=Object.keys(r),n=t.length,i=0;i=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},s.to.keyword=function(e){return o[e.slice(0,3)]}},8474:function(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]}},12809:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var i=n(34114),o=n(54755),a=[].slice,s=["keyword","gray","hex"],A={};Object.keys(o).forEach((function(e){A[a.call(o[e].labels).sort().join("")]=e}));var u={};function c(e,t){if(!(this instanceof c))return new c(e,t);if(t&&t in s&&(t=null),t&&!(t in o))throw new Error("Unknown model: "+t);var n,r;if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof c)this.model=e.model,this.color=e.color.slice(),this.valpha=e.valpha;else if("string"==typeof e){var l=i.get(e);if(null===l)throw new Error("Unable to parse color from string: "+e);this.model=l.model,r=o[this.model].channels,this.color=l.value.slice(0,r),this.valpha="number"==typeof l.value[r]?l.value[r]:1}else if(e.length){this.model=t||"rgb",r=o[this.model].channels;var f=a.call(e,0,r);this.color=d(f,r),this.valpha="number"==typeof e[r]?e[r]:1}else if("number"==typeof e)e&=16777215,this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;var p=Object.keys(e);"alpha"in e&&(p.splice(p.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);var h=p.sort().join("");if(!(h in A))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=A[h];var m=o[this.model].labels,g=[];for(n=0;nn?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},isDark:function(){var e=this.rgb().color;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var e=this.rgb(),t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten:function(e){var t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken:function(e){var t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate:function(e){var t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate:function(e){var t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten:function(e){var t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken:function(e){var t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale:function(){var e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return c.rgb(t,t,t)},fade:function(e){return this.alpha(this.valpha-this.valpha*e)},opaquer:function(e){return this.alpha(this.valpha+this.valpha*e)},rotate:function(e){var t=this.hsl(),n=t.color[0];return n=(n=(n+e)%360)<0?360+n:n,t.color[0]=n,t},mix:function(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+r(e));var n=e.rgb(),i=this.rgb(),o=void 0===t?.5:t,a=2*o-1,s=n.alpha()-i.alpha(),A=((a*s==-1?a:(a+s)/(1+a*s))+1)/2,u=1-A;return c.rgb(A*n.red()+u*i.red(),A*n.green()+u*i.green(),A*n.blue()+u*i.blue(),n.alpha()*o+i.alpha()*(1-o))}},Object.keys(o).forEach((function(e){if(-1===s.indexOf(e)){var t=o[e].channels;c.prototype[e]=function(){if(this.model===e)return new c(this);if(arguments.length)return new c(arguments,e);var n="number"==typeof arguments[t]?t:this.valpha;return new c(p(o[this.model][e].raw(this.color)).concat(n),e)},c[e]=function(n){return"number"==typeof n&&(n=d(a.call(arguments),t)),new c(n,e)}}})),e.exports=c},59279:function(e,t){"use strict";var n;function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)} /** * @license Complex.js v2.0.11 11/02/2016 * * Copyright (c) 2016, Robert Eisele (robert@xarg.org) * Dual licensed under the MIT or GPL Version 2 licenses. **/!function(i){var o=function(e){return.5*(Math.exp(e)+Math.exp(-e))},a=function(e){return.5*(Math.exp(e)-Math.exp(-e))},s=function(){throw SyntaxError("Invalid Param")};function A(e,t){var n=Math.abs(e),r=Math.abs(t);return 0===e?Math.log(r):0===t?Math.log(n):n<3e3&&r<3e3?.5*Math.log(e*e+t*t):Math.log(e/Math.cos(Math.atan2(t,e)))}function u(e,t){if(!(this instanceof u))return new u(e,t);var n=function(e,t){var n={re:0,im:0};if(null==e)n.re=n.im=0;else if(void 0!==t)n.re=e,n.im=t;else switch(r(e)){case"object":if("im"in e&&"re"in e)n.re=e.re,n.im=e.im;else if("abs"in e&&"arg"in e){if(!Number.isFinite(e.abs)&&Number.isFinite(e.arg))return u.INFINITY;n.re=e.abs*Math.cos(e.arg),n.im=e.abs*Math.sin(e.arg)}else if("r"in e&&"phi"in e){if(!Number.isFinite(e.r)&&Number.isFinite(e.phi))return u.INFINITY;n.re=e.r*Math.cos(e.phi),n.im=e.r*Math.sin(e.phi)}else 2===e.length?(n.re=e[0],n.im=e[1]):s();break;case"string":n.im=n.re=0;var i=e.match(/\d+\.?\d*e[+-]?\d+|\d+\.?\d*|\.\d+|./g),o=1,a=0;null===i&&s();for(var A=0;A0&&s();break;case"number":n.im=0,n.re=e;break;default:s()}return isNaN(n.re)||isNaN(n.im),n}(e,t);this.re=n.re,this.im=n.im}u.prototype={re:0,im:0,sign:function(){var e=this.abs();return new u(this.re/e,this.im/e)},add:function(e,t){var n=new u(e,t);return this.isInfinite()&&n.isInfinite()?u.NAN:this.isInfinite()||n.isInfinite()?u.INFINITY:new u(this.re+n.re,this.im+n.im)},sub:function(e,t){var n=new u(e,t);return this.isInfinite()&&n.isInfinite()?u.NAN:this.isInfinite()||n.isInfinite()?u.INFINITY:new u(this.re-n.re,this.im-n.im)},mul:function(e,t){var n=new u(e,t);return this.isInfinite()&&n.isZero()||this.isZero()&&n.isInfinite()?u.NAN:this.isInfinite()||n.isInfinite()?u.INFINITY:0===n.im&&0===this.im?new u(this.re*n.re,0):new u(this.re*n.re-this.im*n.im,this.re*n.im+this.im*n.re)},div:function(e,t){var n=new u(e,t);if(this.isZero()&&n.isZero()||this.isInfinite()&&n.isInfinite())return u.NAN;if(this.isInfinite()||n.isZero())return u.INFINITY;if(this.isZero()||n.isInfinite())return u.ZERO;e=this.re,t=this.im;var r,i,o=n.re,a=n.im;return 0===a?new u(e/o,t/o):Math.abs(o)=0)return new u(Math.pow(e,n.re),0);if(0===e)switch((n.re%4+4)%4){case 0:return new u(Math.pow(t,n.re),0);case 1:return new u(0,Math.pow(t,n.re));case 2:return new u(-Math.pow(t,n.re),0);case 3:return new u(0,-Math.pow(t,n.re))}}if(0===e&&0===t&&n.re>0&&n.im>=0)return u.ZERO;var r=Math.atan2(t,e),i=A(e,t);return e=Math.exp(n.re*i-n.im*r),t=n.im*i+n.re*r,new u(e*Math.cos(t),e*Math.sin(t))},sqrt:function(){var e,t,n=this.re,r=this.im,i=this.abs();if(n>=0){if(0===r)return new u(Math.sqrt(n),0);e=.5*Math.sqrt(2*(i+n))}else e=Math.abs(r)/Math.sqrt(2*(i-n));return t=n<=0?.5*Math.sqrt(2*(i-n)):Math.abs(r)/Math.sqrt(2*(i+n)),new u(e,r<0?-t:t)},exp:function(){var e=Math.exp(this.re);return this.im,new u(e*Math.cos(this.im),e*Math.sin(this.im))},expm1:function(){var e=this.re,t=this.im;return new u(Math.expm1(e)*Math.cos(t)+function(e){var t=Math.PI/4;if(e<-t||e>t)return Math.cos(e)-1;var n=e*e;return n*(n*(1/24+n*(-1/720+n*(1/40320+n*(-1/3628800+n*(1/4790014600+n*(-1/87178291200+n*(1/20922789888e3)))))))-.5)}(t),Math.exp(e)*Math.sin(t))},log:function(){var e=this.re,t=this.im;return new u(A(e,t),Math.atan2(t,e))},abs:function(){return e=this.re,t=this.im,n=Math.abs(e),r=Math.abs(t),n<3e3&&r<3e3?Math.sqrt(n*n+r*r):(n1&&0===t,r=1-e,i=1+e,o=r*r+t*t,a=0!==o?new u((i*r-t*t)/o,(t*r+i*t)/o):new u(-1!==e?e/0:0,0!==t?t/0:0),s=a.re;return a.re=A(a.re,a.im)/2,a.im=Math.atan2(a.im,s)/2,n&&(a.im=-a.im),a},acoth:function(){var e=this.re,t=this.im;if(0===e&&0===t)return new u(0,Math.PI/2);var n=e*e+t*t;return 0!==n?new u(e/n,-t/n).atanh():new u(0!==e?e/0:0,0!==t?-t/0:0).atanh()},acsch:function(){var e=this.re,t=this.im;if(0===t)return new u(0!==e?Math.log(e+Math.sqrt(e*e+1)):1/0,0);var n=e*e+t*t;return 0!==n?new u(e/n,-t/n).asinh():new u(0!==e?e/0:0,0!==t?-t/0:0).asinh()},asech:function(){var e=this.re,t=this.im;if(this.isZero())return u.INFINITY;var n=e*e+t*t;return 0!==n?new u(e/n,-t/n).acosh():new u(0!==e?e/0:0,0!==t?-t/0:0).acosh()},inverse:function(){if(this.isZero())return u.INFINITY;if(this.isInfinite())return u.ZERO;var e=this.re,t=this.im,n=e*e+t*t;return new u(e/n,-t/n)},conjugate:function(){return new u(this.re,-this.im)},neg:function(){return new u(-this.re,-this.im)},ceil:function(e){return e=Math.pow(10,e||0),new u(Math.ceil(this.re*e)/e,Math.ceil(this.im*e)/e)},floor:function(e){return e=Math.pow(10,e||0),new u(Math.floor(this.re*e)/e,Math.floor(this.im*e)/e)},round:function(e){return e=Math.pow(10,e||0),new u(Math.round(this.re*e)/e,Math.round(this.im*e)/e)},equals:function(e,t){var n=new u(e,t);return Math.abs(n.re-this.re)<=u.EPSILON&&Math.abs(n.im-this.im)<=u.EPSILON},clone:function(){return new u(this.re,this.im)},toString:function(){var e=this.re,t=this.im,n="";return this.isNaN()?"NaN":this.isZero()?"0":this.isInfinite()?"Infinity":(0!==e&&(n+=e),0!==t&&(0!==e?n+=t<0?" - ":" + ":t<0&&(n+="-"),1!==(t=Math.abs(t))&&(n+=t),n+="i"),n||"0")},toVector:function(){return[this.re,this.im]},valueOf:function(){return 0===this.im?this.re:null},isNaN:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){return isNaN(this.re)||isNaN(this.im)})),isZero:function(){return!(0!==this.re&&-0!==this.re||0!==this.im&&-0!==this.im)},isFinite:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){return isFinite(this.re)&&isFinite(this.im)})),isInfinite:function(){return!(this.isNaN()||this.isFinite())}},u.ZERO=new u(0,0),u.ONE=new u(1,0),u.I=new u(0,1),u.PI=new u(Math.PI,0),u.E=new u(Math.E,0),u.INFINITY=new u(1/0,1/0),u.NAN=new u(NaN,NaN),u.EPSILON=1e-16,void 0===(n=function(){return u}.apply(t,[]))||(e.exports=n)}()},55822:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},52960:function(e,t,n){var r=n(6986);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},39894:function(e,t,n){var r=n(51550),i=n(87046),o=n(92167),a=r("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},25050:function(e,t,n){"use strict";var r=n(63570).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},25156:function(e){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},15983:function(e,t,n){var r=n(6986);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},81857:function(e){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},37769:function(e,t,n){"use strict";var r,i,o,a=n(81857),s=n(50905),A=n(92153),u=n(6986),c=n(58925),l=n(74375),f=n(35452),p=n(84277),d=n(92167).f,h=n(57644),m=n(59712),g=n(51550),y=n(28085),v=A.Int8Array,b=v&&v.prototype,w=A.Uint8ClampedArray,x=w&&w.prototype,B=v&&h(v),D=b&&h(b),C=Object.prototype,E=C.isPrototypeOf,N=g("toStringTag"),_=y("TYPED_ARRAY_TAG"),O=y("TYPED_ARRAY_CONSTRUCTOR"),M=a&&!!m&&"Opera"!==l(A.opera),S=!1,U={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},F={BigInt64Array:8,BigUint64Array:8},P=function(e){if(!u(e))return!1;var t=l(e);return c(U,t)||c(F,t)};for(r in U)(o=(i=A[r])&&i.prototype)?f(o,O,i):M=!1;for(r in F)(o=(i=A[r])&&i.prototype)&&f(o,O,i);if((!M||"function"!=typeof B||B===Function.prototype)&&(B=function(){throw TypeError("Incorrect invocation")},M))for(r in U)A[r]&&m(A[r],B);if((!M||!D||D===C)&&(D=B.prototype,M))for(r in U)A[r]&&m(A[r].prototype,D);if(M&&h(x)!==D&&m(x,D),s&&!c(D,N))for(r in S=!0,d(D,N,{get:function(){return u(this)?this[_]:void 0}}),U)A[r]&&f(A[r],_,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:M,TYPED_ARRAY_CONSTRUCTOR:O,TYPED_ARRAY_TAG:S&&_,aTypedArray:function(e){if(P(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(m&&!E.call(B,e))throw TypeError("Target is not a typed array constructor");return e},exportTypedArrayMethod:function(e,t,n){if(s){if(n)for(var r in U){var i=A[r];if(i&&c(i.prototype,e))try{delete i.prototype[e]}catch(e){}}D[e]&&!n||p(D,e,n?t:M&&b[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var r,i;if(s){if(m){if(n)for(r in U)if((i=A[r])&&c(i,e))try{delete i[e]}catch(e){}if(B[e]&&!n)return;try{return p(B,e,n?t:M&&B[e]||t)}catch(e){}}for(r in U)!(i=A[r])||i[e]&&!n||p(i,e,t)}},isView:function(e){if(!u(e))return!1;var t=l(e);return"DataView"===t||c(U,t)||c(F,t)},isTypedArray:P,TypedArray:B,TypedArrayPrototype:D}},33858:function(e,t,n){"use strict";var r=n(92153),i=n(50905),o=n(81857),a=n(35452),s=n(13449),A=n(23441),u=n(25156),c=n(24567),l=n(32983),f=n(35712),p=n(87319),d=n(57644),h=n(59712),m=n(52716).f,g=n(92167).f,y=n(58104),v=n(18175),b=n(17414),w=b.get,x=b.set,B="ArrayBuffer",D="DataView",C="Wrong index",E=r.ArrayBuffer,N=E,_=r.DataView,O=_&&_.prototype,M=Object.prototype,S=r.RangeError,U=p.pack,F=p.unpack,P=function(e){return[255&e]},Q=function(e){return[255&e,e>>8&255]},T=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},I=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},j=function(e){return U(e,23,4)},k=function(e){return U(e,52,8)},R=function(e,t){g(e.prototype,t,{get:function(){return w(this)[t]}})},L=function(e,t,n,r){var i=f(n),o=w(e);if(i+t>o.byteLength)throw S(C);var a=w(o.buffer).bytes,s=i+o.byteOffset,A=a.slice(s,s+t);return r?A:A.reverse()},H=function(e,t,n,r,i,o){var a=f(n),s=w(e);if(a+t>s.byteLength)throw S(C);for(var A=w(s.buffer).bytes,u=a+s.byteOffset,c=r(+i),l=0;lV;)(z=K[V++])in N||a(N,z,E[z]);q.constructor=N}h&&d(O)!==M&&h(O,M);var G=new _(new N(2)),W=O.setInt8;G.setInt8(0,2147483648),G.setInt8(1,2147483649),!G.getInt8(0)&&G.getInt8(1)||s(O,{setInt8:function(e,t){W.call(this,e,t<<24>>24)},setUint8:function(e,t){W.call(this,e,t<<24>>24)}},{unsafe:!0})}else N=function(e){u(this,N,B);var t=f(e);x(this,{bytes:y.call(new Array(t),0),byteLength:t}),i||(this.byteLength=t)},_=function(e,t,n){u(this,_,D),u(e,N,D);var r=w(e).byteLength,o=c(t);if(o<0||o>r)throw S("Wrong offset");if(o+(n=void 0===n?r-o:l(n))>r)throw S("Wrong length");x(this,{buffer:e,byteLength:n,byteOffset:o}),i||(this.buffer=e,this.byteLength=n,this.byteOffset=o)},i&&(R(N,"byteLength"),R(_,"buffer"),R(_,"byteLength"),R(_,"byteOffset")),s(_.prototype,{getInt8:function(e){return L(this,1,e)[0]<<24>>24},getUint8:function(e){return L(this,1,e)[0]},getInt16:function(e){var t=L(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=L(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return I(L(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return I(L(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return F(L(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return F(L(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){H(this,1,e,P,t)},setUint8:function(e,t){H(this,1,e,P,t)},setInt16:function(e,t){H(this,2,e,Q,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){H(this,2,e,Q,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){H(this,4,e,T,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){H(this,4,e,T,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){H(this,4,e,j,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){H(this,8,e,k,t,arguments.length>2?arguments[2]:void 0)}});v(N,B),v(_,D),e.exports={ArrayBuffer:N,DataView:_}},31893:function(e,t,n){"use strict";var r=n(86964),i=n(84165),o=n(32983),a=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),s=o(n.length),A=i(e,s),u=i(t,s),c=arguments.length>2?arguments[2]:void 0,l=a((void 0===c?s:i(c,s))-u,s-A),f=1;for(u0;)u in n?n[A]=n[u]:delete n[A],A+=f,u+=f;return n}},58104:function(e,t,n){"use strict";var r=n(86964),i=n(84165),o=n(32983);e.exports=function(e){for(var t=r(this),n=o(t.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),A=a>2?arguments[2]:void 0,u=void 0===A?n:i(A,n);u>s;)t[s++]=e;return t}},3472:function(e,t,n){"use strict";var r=n(50924).forEach,i=n(25214)("forEach");e.exports=i?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},27588:function(e){e.exports=function(e,t){for(var n=0,r=t.length,i=new e(r);r>n;)i[n]=t[n++];return i}},29908:function(e,t,n){"use strict";var r=n(50038),i=n(86964),o=n(2027),a=n(46100),s=n(32983),A=n(73642),u=n(21265);e.exports=function(e){var t,n,c,l,f,p,d=i(e),h="function"==typeof this?this:Array,m=arguments.length,g=m>1?arguments[1]:void 0,y=void 0!==g,v=u(d),b=0;if(y&&(g=r(g,m>2?arguments[2]:void 0,2)),null==v||h==Array&&a(v))for(n=new h(t=s(d.length));t>b;b++)p=y?g(d[b],b):d[b],A(n,b,p);else for(f=(l=v.call(d)).next,n=new h;!(c=f.call(l)).done;b++)p=y?o(l,g,[c.value,b],!0):c.value,A(n,b,p);return n.length=b,n}},17058:function(e,t,n){var r=n(27434),i=n(32983),o=n(84165),a=function(e){return function(t,n,a){var s,A=r(t),u=i(A.length),c=o(a,u);if(e&&n!=n){for(;u>c;)if((s=A[c++])!=s)return!0}else for(;u>c;c++)if((e||c in A)&&A[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},50924:function(e,t,n){var r=n(50038),i=n(48040),o=n(86964),a=n(32983),s=n(98608),A=[].push,u=function(e){var t=1==e,n=2==e,u=3==e,c=4==e,l=6==e,f=7==e,p=5==e||l;return function(d,h,m,g){for(var y,v,b=o(d),w=i(b),x=r(h,m,3),B=a(w.length),D=0,C=g||s,E=t?C(d,B):n||f?C(d,0):void 0;B>D;D++)if((p||D in w)&&(v=x(y=w[D],D,b),e))if(t)E[D]=v;else if(v)switch(e){case 3:return!0;case 5:return y;case 6:return D;case 2:A.call(E,y)}else switch(e){case 4:return!1;case 7:A.call(E,y)}return l?-1:u||c?c:E}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},70899:function(e,t,n){"use strict";var r=n(27434),i=n(24567),o=n(32983),a=n(25214),s=Math.min,A=[].lastIndexOf,u=!!A&&1/[1].lastIndexOf(1,-0)<0,c=a("lastIndexOf"),l=u||!c;e.exports=l?function(e){if(u)return A.apply(this,arguments)||0;var t=r(this),n=o(t.length),a=n-1;for(arguments.length>1&&(a=s(a,i(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:A},76520:function(e,t,n){var r=n(23441),i=n(51550),o=n(32517),a=i("species");e.exports=function(e){return o>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},25214:function(e,t,n){"use strict";var r=n(23441);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},32577:function(e,t,n){var r=n(55822),i=n(86964),o=n(48040),a=n(32983),s=function(e){return function(t,n,s,A){r(n);var u=i(t),c=o(u),l=a(u.length),f=e?l-1:0,p=e?-1:1;if(s<2)for(;;){if(f in c){A=c[f],f+=p;break}if(f+=p,e?f<0:l<=f)throw TypeError("Reduce of empty array with no initial value")}for(;e?f>=0:l>f;f+=p)f in c&&(A=n(A,c[f],f,u));return A}};e.exports={left:s(!1),right:s(!0)}},29815:function(e){var t=Math.floor,n=function(e,o){var a=e.length,s=t(a/2);return a<8?r(e,o):i(n(e.slice(0,s),o),n(e.slice(s),o),o)},r=function(e,t){for(var n,r,i=e.length,o=1;o0;)e[r]=e[--r];r!==o++&&(e[r]=n)}return e},i=function(e,t,n){for(var r=e.length,i=t.length,o=0,a=0,s=[];o1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!g(this,e)}}),o(c.prototype,n?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return m(this,0===e?0:e,t)}}:{add:function(e){return m(this,e=0===e?0:e,e)}}),l&&r(c.prototype,"size",{get:function(){return p(this).size}}),c},setStrong:function(e,t,n){var r=t+" Iterator",i=h(t),o=h(r);u(e,t,(function(e,t){d(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),c(t)}}},61349:function(e,t,n){"use strict";var r=n(13449),i=n(19017).getWeakData,o=n(15983),a=n(6986),s=n(25156),A=n(53144),u=n(50924),c=n(58925),l=n(17414),f=l.set,p=l.getterFor,d=u.find,h=u.findIndex,m=0,g=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},v=function(e,t){return d(e.entries,(function(e){return e[0]===t}))};y.prototype={get:function(e){var t=v(this,e);if(t)return t[1]},has:function(e){return!!v(this,e)},set:function(e,t){var n=v(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=h(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,u){var l=e((function(e,r){s(e,l,t),f(e,{type:t,id:m++,frozen:void 0}),null!=r&&A(r,e[u],{that:e,AS_ENTRIES:n})})),d=p(t),h=function(e,t,n){var r=d(e),a=i(o(t),!0);return!0===a?g(r).set(t,n):a[r.id]=n,e};return r(l.prototype,{delete:function(e){var t=d(this);if(!a(e))return!1;var n=i(e);return!0===n?g(t).delete(e):n&&c(n,t.id)&&delete n[t.id]},has:function(e){var t=d(this);if(!a(e))return!1;var n=i(e);return!0===n?g(t).has(e):n&&c(n,t.id)}}),r(l.prototype,n?{get:function(e){var t=d(this);if(a(e)){var n=i(e);return!0===n?g(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return h(this,e,t)}}:{add:function(e){return h(this,e,!0)}}),l}}},62149:function(e,t,n){"use strict";var r=n(55714),i=n(92153),o=n(20551),a=n(84277),s=n(19017),A=n(53144),u=n(25156),c=n(6986),l=n(23441),f=n(50637),p=n(18175),d=n(44473);e.exports=function(e,t,n){var h=-1!==e.indexOf("Map"),m=-1!==e.indexOf("Weak"),g=h?"set":"add",y=i[e],v=y&&y.prototype,b=y,w={},x=function(e){var t=v[e];a(v,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(m&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return m&&!c(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(m&&!c(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(o(e,"function"!=typeof y||!(m||v.forEach&&!l((function(){(new y).entries().next()})))))b=n.getConstructor(t,e,h,g),s.enable();else if(o(e,!0)){var B=new b,D=B[g](m?{}:-0,1)!=B,C=l((function(){B.has(1)})),E=f((function(e){new y(e)})),N=!m&&l((function(){for(var e=new y,t=5;t--;)e[g](t,t);return!e.has(-0)}));E||((b=t((function(t,n){u(t,b,e);var r=d(new y,t,b);return null!=n&&A(n,r[g],{that:r,AS_ENTRIES:h}),r}))).prototype=v,v.constructor=b),(C||N)&&(x("delete"),x("has"),h&&x("get")),(N||D)&&x(g),m&&v.clear&&delete v.clear}return w[e]=b,r({global:!0,forced:b!=y},w),p(b,e),m||n.setStrong(b,e,h),b}},38290:function(e,t,n){var r=n(58925),i=n(99942),o=n(52859),a=n(92167);e.exports=function(e,t){for(var n=i(t),s=a.f,A=o.f,u=0;u=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=r[1]),e.exports=i&&+i},93770:function(e,t,n){var r=n(17095).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},30038:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},55714:function(e,t,n){var r=n(92153),i=n(52859).f,o=n(35452),a=n(84277),s=n(74061),A=n(38290),u=n(20551);e.exports=function(e,t){var n,c,l,f,p,d=e.target,h=e.global,m=e.stat;if(n=h?r:m?r[d]||s(d,{}):(r[d]||{}).prototype)for(c in t){if(f=t[c],l=e.noTargetGet?(p=i(n,c))&&p.value:n[c],!u(h?c:d+(m?".":"#")+c,e.forced)&&void 0!==l){if(typeof f==typeof l)continue;A(f,l)}(e.sham||l&&l.sham)&&o(f,"sham",!0),a(n,c,f,e)}}},23441:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},96016:function(e,t,n){"use strict";n(41607);var r=n(84277),i=n(9267),o=n(23441),a=n(51550),s=n(35452),A=a("species"),u=RegExp.prototype;e.exports=function(e,t,n,c){var l=a(e),f=!o((function(){var t={};return t[l]=function(){return 7},7!=""[e](t)})),p=f&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[A]=function(){return n},n.flags="",n[l]=/./[l]),n.exec=function(){return t=!0,null},n[l](""),!t}));if(!f||!p||n){var d=/./[l],h=t(l,""[e],(function(e,t,n,r,o){var a=t.exec;return a===i||a===u.exec?f&&!o?{done:!0,value:d.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}));r(String.prototype,e,h[0]),r(u,l,h[1])}c&&s(u[l],"sham",!0)}},80496:function(e,t,n){"use strict";var r=n(1930),i=n(32983),o=n(50038),a=function(e,t,n,s,A,u,c,l){for(var f,p=A,d=0,h=!!c&&o(c,l,3);d0&&r(f))p=a(e,t,f,i(f.length),p,u-1)-1;else{if(p>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[p]=f}p++}d++}return p};e.exports=a},14784:function(e,t,n){var r=n(23441);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},50038:function(e,t,n){var r=n(55822);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},11101:function(e,t,n){"use strict";var r=n(55822),i=n(6986),o=[].slice,a={},s=function(e,t,n){if(!(t in a)){for(var r=[],i=0;i]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,A,u,c){var l=n+e.length,f=A.length,p=s;return void 0!==u&&(u=r(u),p=a),o.call(c,p,(function(r,o){var a;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(l);case"<":a=u[o.slice(1,-1)];break;default:var s=+o;if(0===s)return r;if(s>f){var c=i(s/10);return 0===c?r:c<=f?void 0===A[c-1]?o.charAt(1):A[c-1]+o.charAt(1):r}a=A[s-1]}return void 0===a?"":a}))}},92153:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},58925:function(e,t,n){var r=n(86964),i={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return i.call(r(e),t)}},86361:function(e){e.exports={}},28975:function(e,t,n){var r=n(92153);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},18183:function(e,t,n){var r=n(83973);e.exports=r("document","documentElement")},9962:function(e,t,n){var r=n(50905),i=n(23441),o=n(80658);e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},87319:function(e){var t=Math.abs,n=Math.pow,r=Math.floor,i=Math.log,o=Math.LN2;e.exports={pack:function(e,a,s){var A,u,c,l=new Array(s),f=8*s-a-1,p=(1<>1,h=23===a?n(2,-24)-n(2,-77):0,m=e<0||0===e&&1/e<0?1:0,g=0;for((e=t(e))!=e||e===1/0?(u=e!=e?1:0,A=p):(A=r(i(e)/o),e*(c=n(2,-A))<1&&(A--,c*=2),(e+=A+d>=1?h/c:h*n(2,1-d))*c>=2&&(A++,c/=2),A+d>=p?(u=0,A=p):A+d>=1?(u=(e*c-1)*n(2,a),A+=d):(u=e*n(2,d-1)*n(2,a),A=0));a>=8;l[g++]=255&u,u/=256,a-=8);for(A=A<0;l[g++]=255&A,A/=256,f-=8);return l[--g]|=128*m,l},unpack:function(e,t){var r,i=e.length,o=8*i-t-1,a=(1<>1,A=o-7,u=i-1,c=e[u--],l=127&c;for(c>>=7;A>0;l=256*l+e[u],u--,A-=8);for(r=l&(1<<-A)-1,l>>=-A,A+=t;A>0;r=256*r+e[u],u--,A-=8);if(0===l)l=1-s;else{if(l===a)return r?NaN:c?-1/0:1/0;r+=n(2,t),l-=s}return(c?-1:1)*r*n(2,l-t)}}},48040:function(e,t,n){var r=n(23441),i=n(34622),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},44473:function(e,t,n){var r=n(6986),i=n(59712);e.exports=function(e,t,n){var o,a;return i&&"function"==typeof(o=t.constructor)&&o!==n&&r(a=o.prototype)&&a!==n.prototype&&i(e,a),e}},83171:function(e,t,n){var r=n(48912),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},19017:function(e,t,n){var r=n(55714),i=n(86361),o=n(6986),a=n(58925),s=n(92167).f,A=n(52716),u=n(4219),c=n(28085),l=n(14784),f=!1,p=c("meta"),d=0,h=Object.isExtensible||function(){return!0},m=function(e){s(e,p,{value:{objectID:"O"+d++,weakData:{}}})},g=e.exports={enable:function(){g.enable=function(){},f=!0;var e=A.f,t=[].splice,n={};n[p]=1,e(n).length&&(A.f=function(n){for(var r=e(n),i=0,o=r.length;if;f++)if((d=B(e[f]))&&d instanceof u)return d;return new u(!1)}c=l.call(e)}for(h=c.next;!(m=h.call(c)).done;){try{d=B(m.value)}catch(e){throw A(c),e}if("object"==typeof d&&d&&d instanceof u)return d}return new u(!1)}},74466:function(e,t,n){var r=n(15983);e.exports=function(e){var t=e.return;if(void 0!==t)return r(t.call(e)).value}},73678:function(e,t,n){"use strict";var r,i,o,a=n(23441),s=n(57644),A=n(35452),u=n(58925),c=n(51550),l=n(82509),f=c("iterator"),p=!1;[].keys&&("next"in(o=[].keys())?(i=s(s(o)))!==Object.prototype&&(r=i):p=!0);var d=null==r||a((function(){var e={};return r[f].call(e)!==e}));d&&(r={}),l&&!d||u(r,f)||A(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},6386:function(e){e.exports={}},46093:function(e){var t=Math.expm1,n=Math.exp;e.exports=!t||t(10)>22025.465794806718||t(10)<22025.465794806718||-2e-17!=t(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:n(e)-1}:t},71594:function(e,t,n){var r=n(47294),i=Math.abs,o=Math.pow,a=o(2,-52),s=o(2,-23),A=o(2,127)*(2-s),u=o(2,-126);e.exports=Math.fround||function(e){var t,n,o=i(e),c=r(e);return oA||n!=n?c*(1/0):c*n}},88540:function(e){var t=Math.log;e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:t(1+e)}},47294:function(e){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},78724:function(e,t,n){var r,i,o,a,s,A,u,c,l=n(92153),f=n(52859).f,p=n(24893).set,d=n(34540),h=n(66914),m=n(54988),g=l.MutationObserver||l.WebKitMutationObserver,y=l.document,v=l.process,b=l.Promise,w=f(l,"queueMicrotask"),x=w&&w.value;x||(r=function(){var e,t;for(m&&(e=v.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?a():o=void 0,e}}o=void 0,e&&e.enter()},d||m||h||!g||!y?b&&b.resolve?((u=b.resolve(void 0)).constructor=b,c=u.then,a=function(){c.call(u,r)}):a=m?function(){v.nextTick(r)}:function(){p.call(l,r)}:(s=!0,A=y.createTextNode(""),new g(r).observe(A,{characterData:!0}),a=function(){A.data=s=!s})),e.exports=x||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},71818:function(e,t,n){var r=n(92153);e.exports=r.Promise},9773:function(e,t,n){var r=n(32517),i=n(23441);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},34449:function(e,t,n){var r=n(23441),i=n(51550),o=n(82509),a=i("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},21967:function(e,t,n){var r=n(92153),i=n(83171),o=r.WeakMap;e.exports="function"==typeof o&&/native code/.test(i(o))},40708:function(e,t,n){"use strict";var r=n(55822),i=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new i(e)}},55922:function(e,t,n){var r=n(98189);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},76186:function(e,t,n){var r=n(92153),i=n(53294),o=n(86104).trim,a=n(7811),s=r.parseFloat,A=1/s(a+"-0")!=-1/0;e.exports=A?function(e){var t=o(i(e)),n=s(t);return 0===n&&"-"==t.charAt(0)?-0:n}:s},6529:function(e,t,n){var r=n(92153),i=n(53294),o=n(86104).trim,a=n(7811),s=r.parseInt,A=/^[+-]?0[Xx]/,u=8!==s(a+"08")||22!==s(a+"0x16");e.exports=u?function(e,t){var n=o(i(e));return s(n,t>>>0||(A.test(n)?16:10))}:s},64290:function(e,t,n){"use strict";var r=n(50905),i=n(23441),o=n(3315),a=n(43728),s=n(53434),A=n(86964),u=n(48040),c=Object.assign,l=Object.defineProperty;e.exports=!c||i((function(){if(r&&1!==c({b:1},c(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||o(c({},t)).join("")!=i}))?function(e,t){for(var n=A(e),i=arguments.length,c=1,l=a.f,f=s.f;i>c;)for(var p,d=u(arguments[c++]),h=l?o(d).concat(l(d)):o(d),m=h.length,g=0;m>g;)p=h[g++],r&&!f.call(d,p)||(n[p]=d[p]);return n}:c},87046:function(e,t,n){var r,i=n(15983),o=n(57123),a=n(30038),s=n(86361),A=n(18183),u=n(80658),c=n(44039),l=c("IE_PROTO"),f=function(){},p=function(e){return"