!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="0b33d4be-4c2c-4f6a-8e86-0d774d76a197",t._sentryDebugIdIdentifier="sentry-dbid-0b33d4be-4c2c-4f6a-8e86-0d774d76a197")}catch(t){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9584],{480:(t,e,n)=>{n.d(e,{A:()=>o});var r=n(65146);function i(t,e){var n=e-t;return n?function(e){return t+e*n}:(0,r.A)(isNaN(t)?e:t)}var a=n(95363),o=function t(e){var n,o=1==(n=+e)?i:function(t,e){var i,a,o;return e-t?(i=t,a=e,i=Math.pow(i,o=n),a=Math.pow(a,o)-i,o=1/o,function(t){return Math.pow(i+t*a,o)}):(0,r.A)(isNaN(t)?e:t)};function s(t,e){var n=o((t=(0,a.Qh)(t)).r,(e=(0,a.Qh)(e)).r),r=o(t.g,e.g),s=o(t.b,e.b),u=i(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=r(e),t.b=s(e),t.opacity=u(e),t+""}}return s.gamma=t,s}(1)},14047:(t,e,n)=>{n.d(e,{A:()=>r});function r(t,e){return t*=1,e*=1,function(n){return t*(1-n)+e*n}}},28446:(t,e,n)=>{n.d(e,{A:()=>function t(){var e=(0,i.Ay)();return e.copy=function(){return(0,i.C)(e,t())},a.C.apply(e,arguments),s(e)},C:()=>s});var r=n(68744),i=n(27599),a=n(58905),o=n(87965);function s(t){var e=t.domain;return t.ticks=function(t){var n=e();return(0,r.Ay)(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return(0,o.A)(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var i,a,o=e(),s=0,u=o.length-1,l=o[s],f=o[u],c=10;for(f0;){if((a=(0,r.lq)(l,f,n))===i)return o[s]=l,o[u]=f,e(o);if(a>0)l=Math.floor(l/a)*a,f=Math.ceil(f/a)*a;else if(a<0)l=Math.ceil(l*a)/a,f=Math.floor(f*a)/a;else break;i=a}return t},t}},28715:(t,e,n)=>{n.d(e,{A:()=>i});var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(t){var e;if(!(e=r.exec(t)))throw Error("invalid format: "+t);return new a({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function a(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}i.prototype=a.prototype,a.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},43139:(t,e,n)=>{function r(t){return+t}n.d(e,{A:()=>function t(){var e,n=(function(){var t,e,n,i,a,o,s=y,d=y,g=function t(e,n){var r,i,a=typeof n;return null==n||"boolean"===a?(0,c.A)(n):("number"===a?u.A:"string"===a?(i=(0,h.Ay)(n))?(n=i,l.A):f.A:n instanceof h.Ay?l.A:n instanceof Date?function(t,e){var n=new Date;return t*=1,e*=1,function(r){return n.setTime(t*(1-r)+e*r),n}}:!ArrayBuffer.isView(r=n)||r instanceof DataView?Array.isArray(n)?function(e,n){var r,i=n?n.length:0,a=e?Math.min(i,e.length):0,o=Array(a),s=Array(i);for(r=0;re&&(n=t,t=e,e=n),p=function(n){return Math.max(t,Math.min(e,n))}),i=r>2?N:w,a=o=null,b}function b(e){return null==e||isNaN(e*=1)?n:(a||(a=i(s.map(t),d,g)))(t(p(e)))}return b.invert=function(n){return p(e((o||(o=i(d,s.map(t),u.A)))(n)))},b.domain=function(t){return arguments.length?(s=Array.from(t,r),m()):s.slice()},b.range=function(t){return arguments.length?(d=Array.from(t),m()):d.slice()},b.rangeRound=function(t){return d=Array.from(t),g=x,m()},b.clamp=function(t){return arguments.length?(p=!!t||v,m()):p!==v},b.interpolate=function(t){return arguments.length?(g=t,m()):g},b.unknown=function(t){return arguments.length?(n=t,b):n},function(n,r){return t=n,e=r,m()}})()(v,v);return n.copy=function(){return t().domain(n.domain()).range(n.range()).interpolate(n.interpolate()).clamp(n.clamp()).unknown(n.unknown())},k.apply(n,arguments),e=n.domain,n.ticks=function(t){var n=e();return function(t,e,n){if(e*=1,t*=1,!((n*=1)>0))return[];if(t===e)return[t];let r=e=i))return[];let s=a-i+1,u=Array(s);if(r)if(o<0)for(let t=0;t0;){if((i=j(u,l,t))===r)return a[o]=u,a[s]=l,e(a);if(i>0)u=Math.floor(u/i)*i,l=Math.ceil(l/i)*i;else if(i<0)u=Math.ceil(u*i)/i,l=Math.floor(l*i)/i;else break;r=i}return n},n}});var i,a,o,s,u=n(14047),l=n(480),f=n(51559),c=n(65146),h=n(95363);function d(t,e){return null==t||null==e?NaN:te?1:t>=e?0:NaN}function g(t,e){return null==t||null==e?NaN:et?1:e>=t?0:NaN}function p(t){let e,n,r;function i(t,r,a=0,o=t.length){if(a>>1;0>n(t[e],r)?a=e+1:o=e}while(ad(t(e),n),r=(e,n)=>t(e)-n):(e=t===d||t===g?t:m,n=t,r=t),{left:i,center:function(t,e,n=0,a=t.length){let o=i(t,e,n,a-1);return o>n&&r(t[o-1],e)>-r(t[o],e)?o-1:o},right:function(t,r,i=0,a=t.length){if(i>>1;0>=n(t[e],r)?i=e+1:a=e}while(i=A?10:u>=$?5:u>=E?2:1;return(s<0?(r=Math.round(t*(a=Math.pow(10,-s)/l)),i=Math.round(e*a),r/ae&&--i,a=-a):(r=Math.round(t/(a=Math.pow(10,s)*l)),i=Math.round(e/a),r*ae&&--i),i=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function q(t){var e;if(!(e=z.exec(t)))throw Error("invalid format: "+t);return new C({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function C(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function P(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function R(t){return(t=P(Math.abs(t)))?t[1]:NaN}function H(t,e){var n=P(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+Array(i-r.length+2).join("0")}q.prototype=C.prototype,C.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var I={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>H(100*t,e),r:H,s:function(t,e){var n=P(t,e);if(!n)return t+"";var r=n[0],a=n[1],o=a-(i=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,s=r.length;return o===s?r:o>s?r+Array(o-s+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+Array(1-o).join("0")+P(t,Math.max(0,e+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function _(t){return t}var D=Array.prototype.map,F=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];o=(a=function(t){var e,n,r,a=void 0===t.grouping||void 0===t.thousands?_:(e=D.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,a=[],o=0,s=e[0],u=0;i>0&&s>0&&(u+s+1>r&&(s=Math.max(1,r-u)),a.push(t.substring(i-=s,i+s)),!((u+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(n)}),o=void 0===t.currency?"":t.currency[0]+"",s=void 0===t.currency?"":t.currency[1]+"",u=void 0===t.decimal?".":t.decimal+"",l=void 0===t.numerals?_:(r=D.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return r[+t]})}),f=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"−":t.minus+"",h=void 0===t.nan?"NaN":t.nan+"";function d(t){var e=(t=q(t)).fill,n=t.align,r=t.sign,d=t.symbol,g=t.zero,p=t.width,m=t.comma,b=t.precision,x=t.trim,y=t.type;"n"===y?(m=!0,y="g"):I[y]||(void 0===b&&(b=12),x=!0,y="g"),(g||"0"===e&&"="===n)&&(g=!0,e="0",n="=");var v="$"===d?o:"#"===d&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",M="$"===d?s:/[%p]/.test(y)?f:"",w=I[y],N=/[defgprs%]/.test(y);function k(t){var o,s,f,d=v,k=M;if("c"===y)k=w(t)+k,t="";else{var A=(t*=1)<0||1/t<0;if(t=isNaN(t)?h:w(Math.abs(t),b),x&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),A&&0==+t&&"+"!==r&&(A=!1),d=(A?"("===r?r:c:"-"===r||"("===r?"":r)+d,k=("s"===y?F[8+i/3]:"")+k+(A&&"("===r?")":""),N){for(o=-1,s=t.length;++o(f=t.charCodeAt(o))||f>57){k=(46===f?u+t.slice(o+1):t.slice(o))+k,t=t.slice(0,o);break}}}m&&!g&&(t=a(t,1/0));var $=d.length+t.length+k.length,E=$>1)+d+t+k+E.slice($);break;default:t=E+d+t+k}return l(t)}return b=void 0===b?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b)),k.toString=function(){return t+""},k}return{format:d,formatPrefix:function(t,e){var n=d(((t=q(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(R(e)/3))),i=Math.pow(10,-r),a=F[8+r/3];return function(t){return n(i*t)+a}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,s=a.formatPrefix},51559:(t,e,n)=>{n.d(e,{A:()=>o});var r=n(14047),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,a=RegExp(i.source,"g");function o(t,e){var n,o,s,u,l,f=i.lastIndex=a.lastIndex=0,c=-1,h=[],d=[];for(t+="",e+="";(s=i.exec(t))&&(u=a.exec(e));)(l=u.index)>f&&(l=e.slice(f,l),h[c]?h[c]+=l:h[++c]=l),(s=s[0])===(u=u[0])?h[c]?h[c]+=u:h[++c]=u:(h[++c]=null,d.push({i:c,x:(0,r.A)(s,u)})),f=a.lastIndex;return f{n.d(e,{GP:()=>a,s:()=>o});var r,i,a,o,s=n(80969),u=n(28715),l=n(80708);function f(t,e){var n=(0,l.f)(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+Array(i-r.length+2).join("0")}let c={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:l.A,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>f(100*t,e),r:f,s:function(t,e){var n=(0,l.f)(t,e);if(!n)return t+"";var i=n[0],a=n[1],o=a-(r=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,s=i.length;return o===s?i:o>s?i+Array(o-s+1).join("0"):o>0?i.slice(0,o)+"."+i.slice(o):"0."+Array(1-o).join("0")+(0,l.f)(t,Math.max(0,e+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function h(t){return t}var d=Array.prototype.map,g=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];a=(i=function(t){var e,n,i,a=void 0===t.grouping||void 0===t.thousands?h:(e=d.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,a=[],o=0,s=e[0],u=0;i>0&&s>0&&(u+s+1>r&&(s=Math.max(1,r-u)),a.push(t.substring(i-=s,i+s)),!((u+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(n)}),o=void 0===t.currency?"":t.currency[0]+"",l=void 0===t.currency?"":t.currency[1]+"",f=void 0===t.decimal?".":t.decimal+"",p=void 0===t.numerals?h:(i=d.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return i[+t]})}),m=void 0===t.percent?"%":t.percent+"",b=void 0===t.minus?"−":t.minus+"",x=void 0===t.nan?"NaN":t.nan+"";function y(t){var e=(t=(0,u.A)(t)).fill,n=t.align,i=t.sign,s=t.symbol,h=t.zero,d=t.width,y=t.comma,v=t.precision,M=t.trim,w=t.type;"n"===w?(y=!0,w="g"):c[w]||(void 0===v&&(v=12),M=!0,w="g"),(h||"0"===e&&"="===n)&&(h=!0,e="0",n="=");var N="$"===s?o:"#"===s&&/[boxX]/.test(w)?"0"+w.toLowerCase():"",k="$"===s?l:/[%p]/.test(w)?m:"",A=c[w],$=/[defgprs%]/.test(w);function E(t){var o,s,u,l=N,c=k;if("c"===w)c=A(t)+c,t="";else{var m=(t*=1)<0||1/t<0;if(t=isNaN(t)?x:A(Math.abs(t),v),M&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),m&&0==+t&&"+"!==i&&(m=!1),l=(m?"("===i?i:b:"-"===i||"("===i?"":i)+l,c=("s"===w?g[8+r/3]:"")+c+(m&&"("===i?")":""),$){for(o=-1,s=t.length;++o(u=t.charCodeAt(o))||u>57){c=(46===u?f+t.slice(o+1):t.slice(o))+c,t=t.slice(0,o);break}}}y&&!h&&(t=a(t,1/0));var E=l.length+t.length+c.length,S=E>1)+l+t+c+S.slice(E);break;default:t=S+l+t+c}return p(t)}return v=void 0===v?6:/[gprs]/.test(w)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),E.toString=function(){return t+""},E}return{format:y,formatPrefix:function(t,e){var n=y(((t=(0,u.A)(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor((0,s.A)(e)/3))),i=Math.pow(10,-r),a=g[8+r/3];return function(t){return n(i*t)+a}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,o=i.formatPrefix},65146:(t,e,n)=>{n.d(e,{A:()=>r});var r=t=>()=>t},80708:(t,e,n)=>{function r(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function i(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}n.d(e,{A:()=>r,f:()=>i})},80969:(t,e,n)=>{n.d(e,{A:()=>i});var r=n(80708);function i(t){return(t=(0,r.f)(Math.abs(t)))?t[1]:NaN}},87965:(t,e,n)=>{n.d(e,{A:()=>s});var r=n(68744),i=n(28715),a=n(80969),o=n(61116);function s(t,e,n,s){var u,l,f,c=(0,r.sG)(t,e,n);switch((s=(0,i.A)(null==s?",f":s)).type){case"s":var h=Math.max(Math.abs(t),Math.abs(e));return null!=s.precision||isNaN(f=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,a.A)(h)/3)))-(0,a.A)(Math.abs(c))))||(s.precision=f),(0,o.s)(s,h);case"":case"e":case"g":case"p":case"r":null!=s.precision||isNaN((u=c,l=Math.abs(l=Math.max(Math.abs(t),Math.abs(e)))-(u=Math.abs(u)),f=Math.max(0,(0,a.A)(l)-(0,a.A)(u))+1))||(s.precision=f-("e"===s.type));break;case"f":case"%":null!=s.precision||isNaN(f=Math.max(0,-(0,a.A)(Math.abs(c))))||(s.precision=f-("%"===s.type)*2)}return(0,o.GP)(s)}},95363:(t,e,n)=>{function r(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function i(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function a(){}n.d(e,{Ay:()=>y,Qh:()=>w});var o="\\s*([+-]?\\d+)\\s*",s="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",u="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,f=RegExp(`^rgb\\(${o},${o},${o}\\)$`),c=RegExp(`^rgb\\(${u},${u},${u}\\)$`),h=RegExp(`^rgba\\(${o},${o},${o},${s}\\)$`),d=RegExp(`^rgba\\(${u},${u},${u},${s}\\)$`),g=RegExp(`^hsl\\(${s},${u},${u}\\)$`),p=RegExp(`^hsla\\(${s},${u},${u},${s}\\)$`),m={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function b(){return this.rgb().formatHex()}function x(){return this.rgb().formatRgb()}function y(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=l.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?v(e):3===n?new N(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?M(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?M(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=f.exec(t))?new N(e[1],e[2],e[3],1):(e=c.exec(t))?new N(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=h.exec(t))?M(e[1],e[2],e[3],e[4]):(e=d.exec(t))?M(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=g.exec(t))?j(e[1],e[2]/100,e[3]/100,1):(e=p.exec(t))?j(e[1],e[2]/100,e[3]/100,e[4]):m.hasOwnProperty(t)?v(m[t]):"transparent"===t?new N(NaN,NaN,NaN,0):null}function v(t){return new N(t>>16&255,t>>8&255,255&t,1)}function M(t,e,n,r){return r<=0&&(t=e=n=NaN),new N(t,e,n,r)}function w(t,e,n,r){var i;return 1==arguments.length?((i=t)instanceof a||(i=y(i)),i)?new N((i=i.rgb()).r,i.g,i.b,i.opacity):new N:new N(t,e,n,null==r?1:r)}function N(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function k(){return`#${S(this.r)}${S(this.g)}${S(this.b)}`}function A(){let t=$(this.opacity);return`${1===t?"rgb(":"rgba("}${E(this.r)}, ${E(this.g)}, ${E(this.b)}${1===t?")":`, ${t})`}`}function $(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function E(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function S(t){return((t=E(t))<16?"0":"")+t.toString(16)}function j(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new q(t,e,n,r)}function z(t){if(t instanceof q)return new q(t.h,t.s,t.l,t.opacity);if(t instanceof a||(t=y(t)),!t)return new q;if(t instanceof q)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),s=NaN,u=o-i,l=(o+i)/2;return u?(s=e===o?(n-r)/u+(n0&&l<1?0:s,new q(s,u,l,t.opacity)}function q(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function C(t){return(t=(t||0)%360)<0?t+360:t}function P(t){return Math.max(0,Math.min(1,t||0))}function R(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}r(a,y,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:b,formatHex:b,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return z(this).formatHsl()},formatRgb:x,toString:x}),r(N,w,i(a,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new N(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new N(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new N(E(this.r),E(this.g),E(this.b),$(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:k,formatHex:k,formatHex8:function(){return`#${S(this.r)}${S(this.g)}${S(this.b)}${S((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:A,toString:A})),r(q,function(t,e,n,r){return 1==arguments.length?z(t):new q(t,e,n,null==r?1:r)},i(a,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new q(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new q(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new N(R(t>=240?t-240:t+120,i,r),R(t,i,r),R(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new q(C(this.h),P(this.s),P(this.l),$(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let t=$(this.opacity);return`${1===t?"hsl(":"hsla("}${C(this.h)}, ${100*P(this.s)}%, ${100*P(this.l)}%${1===t?")":`, ${t})`}`}}))}}]);